{"version":3,"sources":["webpack://multicontent-widget/./resources/js/src/components/ItemList/CustomCategoryItemData.vue?979a","webpack://multicontent-widget/resources/js/src/components/ItemList/CustomCategoryItemData.vue","webpack://multicontent-widget/./resources/js/src/components/ItemList/CustomCategoryItemData.vue?9c9b","webpack://multicontent-widget/./resources/js/src/components/ItemList/CustomCategoryItemData.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","class","itemClass","paddingClasses","thumbContainerClass","style","paddingInlineStyles","showBasket","attrs","selectedVariation","variation","id","filter","isSalable","item","salableVariationCount","intervalOrderQuantity","minimumOrderQuantity","maximumOrderQuantity","properties","prop","property","isOderProperty","hasOrderProperties","hasRequiredOrderProperty","_f","urlWithVariationId","itemGraduatedPriceisCheapestSorting","itemGraduatedPricesalableVariationCount","itemType","basketNotSalableIcon","basketSalableIcon","_e","_v","thumbImageClass","_t","storeSpecial","bundleType","tags","prices","rrp","default","specialOffer","decimalCount","badgeClass","badgeText","enableBadge","enableTagBadge","badgePosition","aspectRatio","ref","images","imageUrlAccessor","alt","title","$ceres","config","enableImageCarousel","disableCarouselOnMobile","enableOverlay","entries","length","thumbContentClass","_l","entry","thumbFieldSelection","titleSettings","titleTextColor","titleAlign","customClass","href","titleSelect","_s","texts","name1","name2","name3","showItemAttributes","groupedAttributes","attribute","shortDescription","descriptionSettings","descriptionTextColor","descriptionAlign","priceSettings","finalPriceAlign","showRrp","rrpPosition","price","value","unitPrice","formatted","rrpColor","$translate","itemSetPrice","itemPriceGraduated","finalPriceColor","lowestPrice","hasCrossPrice","domProps","innerHTML","showUnitPrice","unit","unitOfMeasurement","content","names","name","mayShowUnitPrice","basePrice","cartSettings","vatSettings","vatAlign","showNetPrices","vatShowPercentage","vat","global","shippingCostsCategoryId","vatToggleColor","availability","availabilitySettings","availabilityAlign","variationProperties","propertySettings","propertyAlign","isPreview","showProperty","properyGroup","values","variationsData","typeOfVariation","variationsSettings","documents","variationClass","data","attributes","on","click","$event","selectVariation","image","backendName","src","feedbackSettings","feedbackAlign","_withStripped","component","options","__file"],"mappings":"2KAAA,IAAIA,EAAS,WACX,IAAIC,EAAMC,KACNC,EAAKF,EAAIG,eACTC,EAAKJ,EAAIK,MAAMD,IAAMF,EACzB,OAAOE,EACL,UACA,CAAEE,YAAa,wBAAyBC,MAAOP,EAAIQ,WACnD,CACEJ,EACE,MACA,CACEG,MAAOP,EAAIS,eAAiB,IAAMT,EAAIU,oBACtCC,MAAOX,EAAIY,qBAEb,CACEZ,EAAIa,WACA,CACET,EAAG,uBAAwB,CACzBU,MAAO,CACL,eAAgB,qBAChB,eAAgBd,EAAIe,kBAAkBC,UAAUC,GAChD,eACIjB,EAAIe,kBAAkBG,QACxBlB,EAAIe,kBAAkBG,OAAOC,UAC/B,iBACInB,EAAIe,kBAAkBK,MACxBpB,EAAIe,kBAAkBK,KAAKC,sBAAwB,EACrD,oBACErB,EAAIe,kBAAkBC,UAAUM,uBAChC,EACF,mBACEtB,EAAIe,kBAAkBC,UAAUO,qBAClC,mBACIvB,EAAIe,kBAAkBC,UAAUQ,sBAClCxB,EAAIe,kBAAkBC,UAAUQ,qBAAuB,EACnDxB,EAAIe,kBAAkBC,UAAUQ,qBAChC,KACN,mBAAoBxB,EAAIe,kBAAkBU,WAAWP,QACnD,SAAUQ,GACR,OAAOA,EAAKC,SAASC,cACvB,IAEF,uBACE5B,EAAIe,kBAAkBc,mBACxB,8BACE7B,EAAIe,kBAAkBe,yBACxB,mBAAmB,EACnB,iBAAiB,EACjB,WAAY9B,EAAI+B,GAAG,UAAP/B,CACVA,EAAIe,kBACJf,EAAIgC,oBAEN,YAAahC,EAAI+B,GAAG,sBAAP/B,CACXA,EAAIe,mBAEN,sBACEf,EAAIiC,qCACJjC,EAAIkC,wCACN,YAAalC,EAAIe,kBAAkBK,KAAKe,SACxC,0BAA2BnC,EAAIoC,qBAC/B,sBAAuBpC,EAAIqC,sBAIjCrC,EAAIsC,KACRtC,EAAIuC,GAAG,KACPnC,EACE,MACA,CAAEE,YAAa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sC,KAEZ,KAEF,GAEFtC,EAAIsC,MAEV,IAIR,EAEAvC,EAAOuJ,eAAgB,E,ujCC72BvB,OACA,YACA,8BACA,4BAGA,OACA,SACA,CACA,aAEA,eACA,CACA,aAEA,SACA,YAEA,uBACA,aACA,YAEA,yBACA,aACA,YAEA,WACA,cAEA,YACA,aACA,YAEA,mBACA,YACA,qBAEA,sBACA,YACA,uBAEA,WACA,YACA,YAEA,YACA,YACA,YAEA,aACA,YACA,WAGA,aACA,aACA,YAEA,gBACA,aACA,YAEA,eACA,aACA,YAEA,WACA,aAEA,YACA,aAEA,eACA,aAEA,aACA,aAEA,cACA,YACA,WAEA,iBACA,CACA,YACA,qBAEA,wBACA,CACA,cAEA,eACA,CACA,YACA,YAEA,oBACA,CACA,YACA,aAGA,gBACA,eAEA,gBACA,OACA,uBACA,uBAEA,EACA,S,+VAAA,KAEA,gBACA,yDACA,EACA,kCAEA,6BACA,qCACA,mDAEA,sBAEA,EACA,+BACA,qFACA,kBAEA,EACA,EACA,6BACA,uDAGA,gBAFA,kBAGA,EACA,2BACA,uDAGA,cAFA,gBAGA,uBACA,uDAGA,+DACA,2DACA,qGACA,QACA,mGACA,MAEA,WAMA,WAEA,mCAKA,kCACA,4BAMA,sBACA,gCAGA,gIACA,gCAGA,yCACA,yCAGA,MASA,OAPA,EADA,uCACA,0CACA,8CAGA,mCAGA,wFACA,0DAGA,+FACA,8DAGA,iJACA,mCAGA,sCACA,qCACA,kCAEA,yCAGA,iHACA,oCAEA,8BACA,8EAEA,qCACA,0BACA,uFAEA,WACA,QACA,SACA,4DAGA,SACA,yCACA,yBACA,yBACA,2BAEA,8CACA,gDACA,GACA,EACA,6BACA,kCACA,SACA,8BAGA,GAFA,SAIA,IChhByM,ICOrMC,GAAY,E,QAAA,GACd,EACAxJ,EH4nCoB,IG1nCpB,EACA,KACA,KACA,MAuBFwJ,EAAUC,QAAQC,OAAS,kEAC3B,MAAeF,E","file":"chunks/multicontent-39.min.js","sourcesContent":["var render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"article\",\n { staticClass: \"cmp cmp-product-thumb\", class: _vm.itemClass },\n [\n _c(\n \"div\",\n {\n class: _vm.paddingClasses + \" \" + _vm.thumbContainerClass,\n style: _vm.paddingInlineStyles,\n },\n [\n _vm.showBasket\n ? [\n _c(\"custom-add-to-basket\", {\n attrs: {\n \"data-testing\": \"item-add-to-basket\",\n \"variation-id\": _vm.selectedVariation.variation.id,\n \"is-salable\":\n !!_vm.selectedVariation.filter &&\n _vm.selectedVariation.filter.isSalable,\n \"has-children\":\n !!_vm.selectedVariation.item &&\n _vm.selectedVariation.item.salableVariationCount > 1,\n \"interval-quantity\":\n _vm.selectedVariation.variation.intervalOrderQuantity ||\n 1,\n \"minimum-quantity\":\n _vm.selectedVariation.variation.minimumOrderQuantity,\n \"maximum-quantity\":\n !!_vm.selectedVariation.variation.maximumOrderQuantity &&\n _vm.selectedVariation.variation.maximumOrderQuantity > 0\n ? _vm.selectedVariation.variation.maximumOrderQuantity\n : null,\n \"order-properties\": _vm.selectedVariation.properties.filter(\n function (prop) {\n return prop.property.isOderProperty\n }\n ),\n \"has-order-properties\":\n _vm.selectedVariation.hasOrderProperties,\n \"has-required-order-property\":\n _vm.selectedVariation.hasRequiredOrderProperty,\n \"use-large-scale\": true,\n \"show-quantity\": false,\n \"item-url\": _vm._f(\"itemURL\")(\n _vm.selectedVariation,\n _vm.urlWithVariationId\n ),\n \"has-price\": _vm._f(\"hasItemDefaultPrice\")(\n _vm.selectedVariation\n ),\n \"has-graduated-price\":\n _vm.itemGraduatedPriceisCheapestSorting ||\n _vm.itemGraduatedPricesalableVariationCount,\n \"item-type\": _vm.selectedVariation.item.itemType,\n \"basket-not-salable-icon\": _vm.basketNotSalableIcon,\n \"basket-salable-icon\": _vm.basketSalableIcon,\n },\n }),\n ]\n : _vm._e(),\n _vm._v(\" \"),\n _c(\n \"div\",\n { staticClass: \"mb-2\", class: _vm.thumbImageClass },\n [\n _vm._t(\"store-special\", [\n _vm.storeSpecial ||\n _vm.item.variation.bundleType === \"bundle\" ||\n _vm.item.item.itemType === \"set\" ||\n !_vm.item.filter.isSalable ||\n _vm.selectedVariation.tags\n ? _c(\"custom-item-store-special\", {\n attrs: {\n \"store-special\": _vm.storeSpecial,\n \"recommended-retail-price\": _vm.item.prices.rrp,\n \"variation-retail-price\": _vm.item.prices.default,\n \"special-offer-price\": _vm.item.prices.specialOffer,\n \"decimal-count\": _vm.decimalCount,\n \"bundle-type\": _vm.item.variation.bundleType,\n \"item-type\": _vm.item.item.itemType,\n \"is-salable\":\n !!_vm.item.item &&\n _vm.item.item.salableVariationCount > 0,\n \"badge-available-class\": _vm.badgeClass,\n \"badge-available-text\": _vm.badgeText,\n \"display-av-badge\": _vm.enableBadge,\n \"enable-tag-badge\": _vm.enableTagBadge,\n \"badge-position\": _vm.badgePosition,\n \"selected-variation\": _vm.selectedVariation,\n },\n })\n : _vm._e(),\n ]),\n _vm._v(\" \"),\n _c(\n \"div\",\n { class: \"prop-\" + _vm.aspectRatio },\n [\n _vm._t(\"item-image\", [\n _c(\"custom-category-image\", {\n ref: \"CustomCategoryImage\",\n attrs: {\n \"image-urls-data\": _vm._f(\"itemImages\")(\n _vm.selectedVariation.images,\n _vm.imageUrlAccessor\n ),\n alt: _vm._f(\"itemName\")(_vm.item),\n title: _vm._f(\"itemName\")(_vm.item),\n \"item-url\": _vm._f(\"itemURL\")(\n _vm.selectedVariation,\n _vm.urlWithVariationId\n ),\n \"enable-carousel\":\n _vm.$ceres.config.item.enableImageCarousel,\n \"disable-carousel-on-mobile\":\n _vm.disableCarouselOnMobile,\n \"is-salable-item\":\n !!_vm.item.item &&\n _vm.item.item.salableVariationCount > 0,\n \"enable-av-overlay\": _vm.enableOverlay,\n \"item-identification\":\n _vm.selectedVariation.variation.id,\n },\n }),\n ]),\n ],\n 2\n ),\n ],\n 2\n ),\n _vm._v(\" \"),\n _vm.entries.length > 0\n ? _c(\n \"div\",\n { class: _vm.thumbContentClass },\n [\n _vm._l(_vm.entries, function (entry) {\n return [\n entry.thumbFieldSelection === \"title\"\n ? [\n _c(\n \"a\",\n {\n staticClass: \"title-thumb\",\n class:\n entry.titleSettings.titleTextColor +\n \" \" +\n entry.titleSettings.titleAlign +\n \" \" +\n entry.titleSettings.customClass,\n attrs: {\n href: _vm._f(\"itemURL\")(\n _vm.item,\n _vm.urlWithVariationId\n ),\n },\n },\n [\n entry.titleSettings.titleSelect === \"name1\"\n ? [\n _vm._v(\n \"\\n \" +\n _vm._s(_vm.item.texts.name1) +\n \"\\n \"\n ),\n ]\n : entry.titleSettings.titleSelect === \"name2\"\n ? [\n _vm._v(\n \"\\n \" +\n _vm._s(_vm.item.texts.name2) +\n \"\\n \"\n ),\n ]\n : [\n _vm._v(\n \"\\n \" +\n _vm._s(_vm.item.texts.name3) +\n \"\\n \"\n ),\n ],\n _vm._v(\" \"),\n entry.titleSettings.showItemAttributes\n ? [\n _vm._l(\n _vm.selectedVariation.groupedAttributes,\n function (attribute) {\n return [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm._f(\"translate\")(\n \"Ceres::Template.itemGroupedAttribute\",\n attribute\n )\n ) +\n \"\\n \"\n ),\n ]\n }\n ),\n ]\n : _vm._e(),\n ],\n 2\n ),\n ]\n : _vm._e(),\n _vm._v(\" \"),\n entry.thumbFieldSelection === \"description\" &&\n _vm.item.texts.shortDescription !== \"\"\n ? [\n _c(\n \"div\",\n {\n staticClass: \"description-thumb\",\n class:\n entry.descriptionSettings\n .descriptionTextColor +\n \" \" +\n entry.descriptionSettings.descriptionAlign +\n \" \" +\n entry.descriptionSettings.customClass,\n },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(_vm.item.texts.shortDescription) +\n \"\\n \"\n ),\n ]\n ),\n ]\n : _vm._e(),\n _vm._v(\" \"),\n entry.thumbFieldSelection === \"prices\"\n ? [\n _c(\n \"div\",\n {\n staticClass: \"prices-thumb\",\n class:\n entry.priceSettings.finalPriceAlign +\n \" \" +\n entry.priceSettings.customClass,\n },\n [\n entry.priceSettings.showRrp &&\n entry.priceSettings.rrpPosition === \"left\" &&\n _vm.selectedVariation.prices.rrp &&\n _vm.selectedVariation.prices.rrp.price.value >\n 0 &&\n _vm.selectedVariation.prices.rrp.price.value >\n _vm.selectedVariation.prices.default.price\n .value\n ? [\n _c(\n \"div\",\n { staticClass: \"before-price\" },\n [\n _vm.selectedVariation.prices\n .specialOffer\n ? _c(\n \"del\",\n { staticClass: \"crossprice\" },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm._f(\n \"itemCrossPrice\"\n )(\n _vm.selectedVariation\n .prices.default\n .unitPrice\n .formatted,\n true\n )\n ) +\n \"\\n \"\n ),\n ]\n )\n : _c(\n \"del\",\n { staticClass: \"crossprice\" },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm._f(\n \"itemCrossPrice\"\n )(\n _vm.selectedVariation\n .prices.rrp\n .unitPrice.formatted\n )\n ) +\n \"\\n \"\n ),\n ]\n ),\n ]\n ),\n _vm._v(\" \"),\n _c(\n \"div\",\n {\n staticClass: \"final-price\",\n class: entry.priceSettings.rrpColor,\n },\n [\n _vm.selectedVariation.item\n .itemType === \"set\"\n ? [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm.$translate(\n \"Ceres::Template.itemSetPrice\",\n {\n price:\n _vm.itemSetPrice,\n }\n )\n ) +\n \" \" +\n _vm._s(\n _vm.$translate(\n \"Ceres::Template.itemFootnote\"\n )\n ) +\n \"\\n \"\n ),\n ]\n : _vm.itemGraduatedPriceisCheapestSorting\n ? [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm.$translate(\n \"Ceres::Template.itemFromPrice\",\n {\n price:\n _vm.itemPriceGraduated,\n }\n )\n ) +\n \" \" +\n _vm._s(\n _vm.$translate(\n \"Ceres::Template.itemFootnote\"\n )\n ) +\n \"\\n \"\n ),\n ]\n : _vm.itemGraduatedPricesalableVariationCount\n ? [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm.$translate(\n \"Ceres::Template.itemFromPrice\",\n {\n price:\n _vm.itemPriceGraduated,\n }\n )\n ) +\n \" \" +\n _vm._s(\n _vm.$translate(\n \"Ceres::Template.itemFootnote\"\n )\n ) +\n \"\\n \"\n ),\n ]\n : [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm._f(\"specialOffer\")(\n _vm.selectedVariation\n .prices.default\n .unitPrice.formatted,\n _vm.selectedVariation\n .prices,\n \"unitPrice\",\n \"formatted\"\n )\n ) +\n \" \" +\n _vm._s(\n _vm.$translate(\n \"Ceres::Template.itemFootnote\"\n )\n ) +\n \"\\n \"\n ),\n ],\n ],\n 2\n ),\n ]\n : entry.priceSettings.showRrp &&\n entry.priceSettings.rrpPosition ===\n \"right\" &&\n _vm.selectedVariation.prices.rrp &&\n _vm.selectedVariation.prices.rrp.price\n .value > 0 &&\n _vm.selectedVariation.prices.rrp.price\n .value >\n _vm.selectedVariation.prices.default.price\n .value\n ? [\n _c(\n \"div\",\n {\n staticClass: \"final-price\",\n class: entry.priceSettings.rrpColor,\n },\n [\n _vm.selectedVariation.item\n .itemType === \"set\"\n ? [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm.$translate(\n \"Ceres::Template.itemSetPrice\",\n {\n price:\n _vm.itemSetPrice,\n }\n )\n ) +\n \" \" +\n _vm._s(\n _vm.$translate(\n \"Ceres::Template.itemFootnote\"\n )\n ) +\n \"\\n \"\n ),\n ]\n : _vm.itemGraduatedPriceisCheapestSorting\n ? [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm.$translate(\n \"Ceres::Template.itemFromPrice\",\n {\n price:\n _vm.itemPriceGraduated,\n }\n )\n ) +\n \" \" +\n _vm._s(\n _vm.$translate(\n \"Ceres::Template.itemFootnote\"\n )\n ) +\n \"\\n \"\n ),\n ]\n : _vm.itemGraduatedPricesalableVariationCount\n ? [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm.$translate(\n \"Ceres::Template.itemFromPrice\",\n {\n price:\n _vm.itemPriceGraduated,\n }\n )\n ) +\n \" \" +\n _vm._s(\n _vm.$translate(\n \"Ceres::Template.itemFootnote\"\n )\n ) +\n \"\\n \"\n ),\n ]\n : [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm._f(\"specialOffer\")(\n _vm.selectedVariation\n .prices.default\n .unitPrice.formatted,\n _vm.selectedVariation\n .prices,\n \"unitPrice\",\n \"formatted\"\n )\n ) +\n \" \" +\n _vm._s(\n _vm.$translate(\n \"Ceres::Template.itemFootnote\"\n )\n ) +\n \"\\n \"\n ),\n ],\n ],\n 2\n ),\n _vm._v(\" \"),\n _c(\n \"div\",\n { staticClass: \"before-price\" },\n [\n _vm.selectedVariation.prices\n .specialOffer\n ? _c(\n \"del\",\n { staticClass: \"crossprice\" },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm._f(\n \"itemCrossPrice\"\n )(\n _vm.selectedVariation\n .prices.default\n .unitPrice\n .formatted,\n true\n )\n ) +\n \"\\n \"\n ),\n ]\n )\n : _c(\n \"del\",\n { staticClass: \"crossprice\" },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm._f(\n \"itemCrossPrice\"\n )(\n _vm.selectedVariation\n .prices.rrp\n .unitPrice.formatted\n )\n ) +\n \"\\n \"\n ),\n ]\n ),\n ]\n ),\n ]\n : _c(\n \"div\",\n {\n staticClass: \"final-price\",\n class:\n entry.priceSettings.finalPriceColor,\n },\n [\n _vm.selectedVariation.item.itemType ===\n \"set\"\n ? [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm.$translate(\n \"Ceres::Template.itemSetPrice\",\n {\n price: _vm.itemSetPrice,\n }\n )\n ) +\n \" \" +\n _vm._s(\n _vm.$translate(\n \"Ceres::Template.itemFootnote\"\n )\n ) +\n \"\\n \"\n ),\n ]\n : _vm.itemGraduatedPriceisCheapestSorting\n ? [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm.$translate(\n \"Ceres::Template.itemFromPrice\",\n {\n price:\n _vm.itemPriceGraduated,\n }\n )\n ) +\n \" \" +\n _vm._s(\n _vm.$translate(\n \"Ceres::Template.itemFootnote\"\n )\n ) +\n \"\\n \"\n ),\n ]\n : _vm.itemGraduatedPricesalableVariationCount\n ? [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm.$translate(\n \"Ceres::Template.itemFromPrice\",\n {\n price:\n _vm.itemPriceGraduated,\n }\n )\n ) +\n \" \" +\n _vm._s(\n _vm.$translate(\n \"Ceres::Template.itemFootnote\"\n )\n ) +\n \"\\n \"\n ),\n ]\n : [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm._f(\"specialOffer\")(\n _vm.selectedVariation\n .prices.default\n .unitPrice.formatted,\n _vm.selectedVariation\n .prices,\n \"unitPrice\",\n \"formatted\"\n )\n ) +\n \" \" +\n _vm._s(\n _vm.$translate(\n \"Ceres::Template.itemFootnote\"\n )\n ) +\n \"\\n \"\n ),\n ],\n ],\n 2\n ),\n _vm._v(\" \"),\n _vm._t(\"after-prices\"),\n _vm._v(\" \"),\n _vm.selectedVariation.prices.default.lowestPrice\n .value && _vm.hasCrossPrice\n ? _c(\n \"div\",\n {\n staticClass:\n \"category-lowest-price small\",\n },\n [\n _c(\"span\", {\n domProps: {\n innerHTML: _vm._s(\n _vm.$translate(\n \"Ceres::Template.itemLowestPrice\",\n {\n price:\n _vm.selectedVariation.prices\n .default.lowestPrice\n .formatted,\n }\n )\n ),\n },\n }),\n ]\n )\n : _vm._e(),\n _vm._v(\" \"),\n entry.priceSettings.showUnitPrice\n ? [\n !(\n _vm.selectedVariation.unit\n .unitOfMeasurement === \"C62\" &&\n _vm.selectedVariation.unit.content === 1\n )\n ? _c(\n \"div\",\n { staticClass: \"unit-price small\" },\n [\n _c(\"span\", [\n _vm._v(\n _vm._s(\n _vm.selectedVariation.unit\n .content\n )\n ),\n ]),\n _vm._v(\" \"),\n _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.selectedVariation.unit\n .names.name\n )\n ),\n ]),\n _vm._v(\" \"),\n _vm.selectedVariation.variation\n .mayShowUnitPrice\n ? _c(\"span\", [\n _vm._v(\n \" | \" +\n _vm._s(_vm.basePrice)\n ),\n ])\n : _vm._e(),\n ]\n )\n : _vm._e(),\n ]\n : _vm._e(),\n ],\n 2\n ),\n ]\n : _vm._e(),\n _vm._v(\" \"),\n entry.thumbFieldSelection === \"cart\"\n ? [\n _c(\n \"div\",\n {\n staticClass: \"basket-thumb\",\n class: entry.cartSettings.customClass,\n },\n [\n _c(\"custom-add-to-basket\", {\n attrs: {\n \"variation-id\":\n _vm.selectedVariation.variation.id,\n \"is-salable\":\n !!_vm.selectedVariation.filter &&\n _vm.selectedVariation.filter.isSalable,\n \"has-children\":\n !!_vm.selectedVariation.item &&\n _vm.selectedVariation.item\n .salableVariationCount > 1,\n \"interval-quantity\":\n _vm.selectedVariation.variation\n .intervalOrderQuantity || 1,\n \"minimum-quantity\":\n _vm.selectedVariation.variation\n .minimumOrderQuantity,\n \"maximum-quantity\":\n !!_vm.selectedVariation.variation\n .maximumOrderQuantity &&\n _vm.selectedVariation.variation\n .maximumOrderQuantity > 0\n ? _vm.selectedVariation.variation\n .maximumOrderQuantity\n : null,\n \"order-properties\":\n _vm.selectedVariation.properties.filter(\n function (prop) {\n return prop.property.isOderProperty\n }\n ),\n \"has-order-properties\":\n _vm.selectedVariation.hasOrderProperties,\n \"has-required-order-property\":\n _vm.selectedVariation\n .hasRequiredOrderProperty,\n \"use-large-scale\": false,\n \"show-quantity\": false,\n \"item-url\": _vm._f(\"itemURL\")(\n _vm.item,\n _vm.urlWithVariationId\n ),\n \"has-price\": _vm._f(\"hasItemDefaultPrice\")(\n _vm.item\n ),\n \"has-graduated-price\":\n _vm.itemGraduatedPriceisCheapestSorting ||\n _vm.itemGraduatedPricesalableVariationCount,\n \"item-type\":\n _vm.selectedVariation.item.itemType,\n \"basket-not-salable-icon\":\n _vm.basketNotSalableIcon,\n \"basket-salable-icon\":\n _vm.basketSalableIcon,\n },\n }),\n ],\n 1\n ),\n ]\n : _vm._e(),\n _vm._v(\" \"),\n entry.thumbFieldSelection === \"vat\"\n ? [\n _c(\n \"div\",\n {\n staticClass: \"vat-thumb text-muted\",\n class:\n entry.vatSettings.vatAlign +\n \" \" +\n entry.vatSettings.customClass,\n },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm.$translate(\n \"Ceres::Template.itemFootnote\"\n )\n ) +\n \"\\n \"\n ),\n !_vm.showNetPrices\n ? [\n entry.vatSettings.vatShowPercentage &&\n _vm.selectedVariation.prices.default.vat\n .value > 0\n ? _c(\"span\", [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm.$translate(\n \"Ceres::Template.singleItemIncludeAbbr\"\n )\n ) +\n \"\\n \" +\n _vm._s(\n _vm.selectedVariation.prices\n .default.vat.value\n ) +\n \"%\\n \" +\n _vm._s(\n _vm.$translate(\n \"Ceres::Template.basketVAT\"\n )\n ) +\n \"\\n \"\n ),\n ])\n : _c(\"span\", [\n _vm._v(\n _vm._s(\n _vm.$translate(\n \"Ceres::Template.itemInclVAT\"\n )\n )\n ),\n ]),\n ]\n : _c(\"span\", [\n _vm._v(\n _vm._s(\n _vm.$translate(\n \"Ceres::Template.itemExclVAT\"\n )\n )\n ),\n ]),\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm.$translate(\n \"Ceres::Template.itemExclusive\"\n )\n ) +\n \"\\n \"\n ),\n _vm.$ceres.config.global\n .shippingCostsCategoryId > 0\n ? _c(\n \"a\",\n {\n class: entry.vatSettings.vatToggleColor,\n attrs: {\n \"data-toggle\": \"modal\",\n href: \"#shippingscosts\",\n title: _vm.$translate(\n \"Ceres::Template.itemShippingCosts\"\n ),\n },\n },\n [\n _vm._v(\n _vm._s(\n _vm.$translate(\n \"Ceres::Template.itemShippingCosts\"\n )\n )\n ),\n ]\n )\n : _c(\n \"a\",\n {\n attrs: {\n title: _vm.$translate(\n \"Ceres::Template.itemShippingCosts\"\n ),\n },\n },\n [\n _vm._v(\n _vm._s(\n _vm.$translate(\n \"Ceres::Template.itemShippingCosts\"\n )\n )\n ),\n ]\n ),\n ],\n 2\n ),\n ]\n : _vm._e(),\n _vm._v(\" \"),\n entry.thumbFieldSelection === \"availability\" &&\n _vm.selectedVariation.variation.availability.names.name\n ? [\n _c(\n \"div\",\n {\n staticClass: \"availability-thumb\",\n class:\n entry.availabilitySettings.availabilityAlign +\n \" \" +\n entry.availabilitySettings.customClass,\n },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm.$translate(\n \"Ceres::Template.wishListAvailability\"\n )\n ) +\n \" - \" +\n _vm._s(\n _vm.selectedVariation.variation\n .availability.names.name\n ) +\n \"\\n \"\n ),\n ]\n ),\n ]\n : _vm._e(),\n _vm._v(\" \"),\n entry.thumbFieldSelection === \"properties\" &&\n _vm.item.variationProperties\n ? [\n _c(\n \"div\",\n {\n staticClass: \"properties-thumb\",\n class:\n entry.propertySettings.propertyAlign +\n \" \" +\n entry.propertySettings.customClass,\n },\n [\n _vm.isPreview\n ? [\n entry.propertySettings.showProperty\n ? _c(\"strong\", [\n _vm._v(\"Property Name: \"),\n ])\n : _vm._e(),\n _vm._v(\"Property Value\\n \"),\n ]\n : [\n _vm._l(\n _vm.item.variationProperties,\n function (properyGroup) {\n return [\n _vm._l(\n properyGroup.properties,\n function (property) {\n return [\n property.values.value !== \"\"\n ? [\n _c(\"div\", [\n entry.propertySettings\n .showProperty\n ? _c(\"strong\", [\n _vm._v(\n _vm._s(\n property\n .names\n .name\n ) + \": \"\n ),\n ])\n : _vm._e(),\n _vm._v(\n \"\\n \" +\n _vm._s(\n property.values\n .value\n ) +\n \"\\n \"\n ),\n ]),\n ]\n : _vm._e(),\n ]\n }\n ),\n ]\n }\n ),\n ],\n ],\n 2\n ),\n ]\n : _vm._e(),\n _vm._v(\" \"),\n entry.thumbFieldSelection === \"variations\" &&\n _vm.variationsData != null &&\n _vm.typeOfVariation === \"image\"\n ? [\n _c(\n \"div\",\n {\n staticClass: \"variations-thumb\",\n class: entry.variationsSettings.customClass,\n },\n [\n _c(\n \"ul\",\n {\n staticClass:\n \"nav justify-content-center v-s-boxes images\",\n },\n _vm._l(\n _vm.variationsData.documents,\n function (variation) {\n return _c(\n \"li\",\n {\n staticClass:\n \"nav-item m-2 v-s-box bg-white\",\n class: _vm.variationClass(\n variation.data.attributes[0].value\n .id,\n variation.data.filter.isSalable\n ),\n on: {\n click: function ($event) {\n return _vm.selectVariation(\n variation.data,\n variation.data.attributes[0]\n .value.id\n )\n },\n },\n },\n [\n variation.data.attributes[0].value\n .image !== \"\"\n ? _c(\"img\", {\n staticClass: \"p-1\",\n attrs: {\n alt: variation.data\n .attributes[0].value\n .backendName,\n src:\n \"/images/produkte/grp/\" +\n variation.data.attributes[0]\n .value.image,\n },\n })\n : _c(\n \"span\",\n { staticClass: \"mx-3\" },\n [\n _vm._v(\n _vm._s(\n variation.data\n .attributes[0].value\n .names.name\n )\n ),\n ]\n ),\n ]\n )\n }\n ),\n 0\n ),\n ]\n ),\n ]\n : _vm._e(),\n _vm._v(\" \"),\n entry.thumbFieldSelection === \"feedback\"\n ? _c(\n \"div\",\n {\n staticClass: \"feedback-thumb\",\n class:\n entry.feedbackSettings.feedbackAlign +\n \" \" +\n entry.feedbackSettings.customClass,\n },\n [_vm._t(\"before-prices\")],\n 2\n )\n : _vm._e(),\n ]\n }),\n ],\n 2\n )\n : _vm._e(),\n ],\n 2\n ),\n ]\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","<template>\n <article class=\"cmp cmp-product-thumb\" :class=\"itemClass\">\n <div :class=\"paddingClasses + ' ' + thumbContainerClass\" :style=\"paddingInlineStyles\">\n <template v-if=\"showBasket\">\n <custom-add-to-basket\n data-testing=\"item-add-to-basket\"\n :variation-id=\"selectedVariation.variation.id\"\n :is-salable=\"!!selectedVariation.filter && selectedVariation.filter.isSalable\"\n :has-children=\"!!selectedVariation.item && selectedVariation.item.salableVariationCount > 1\"\n :interval-quantity=\"selectedVariation.variation.intervalOrderQuantity || 1\"\n :minimum-quantity=\"selectedVariation.variation.minimumOrderQuantity\"\n :maximum-quantity=\"!!selectedVariation.variation.maximumOrderQuantity && selectedVariation.variation.maximumOrderQuantity > 0 ? selectedVariation.variation.maximumOrderQuantity : null\"\n :order-properties=\"selectedVariation.properties.filter(function(prop) { return prop.property.isOderProperty })\"\n :has-order-properties=\"selectedVariation.hasOrderProperties\"\n :has-required-order-property=\"selectedVariation.hasRequiredOrderProperty\"\n :use-large-scale=\"true\"\n :show-quantity=\"false\"\n :item-url=\"selectedVariation | itemURL(urlWithVariationId)\"\n :has-price=\"selectedVariation | hasItemDefaultPrice\"\n :has-graduated-price=\"itemGraduatedPriceisCheapestSorting || itemGraduatedPricesalableVariationCount\"\n :item-type=\"selectedVariation.item.itemType\"\n :basket-not-salable-icon=\"basketNotSalableIcon\"\n :basket-salable-icon=\"basketSalableIcon\">\n </custom-add-to-basket>\n </template>\n\n <div class=\"mb-2\" :class=\"thumbImageClass\">\n <!-- STORE SPECIALS -->\n <slot name=\"store-special\">\n <custom-item-store-special\n v-if=\"storeSpecial || item.variation.bundleType === 'bundle' || item.item.itemType === 'set' || !item.filter.isSalable || selectedVariation.tags\"\n :store-special=\"storeSpecial\"\n :recommended-retail-price=\"item.prices.rrp\"\n :variation-retail-price=\"item.prices.default\"\n :special-offer-price=\"item.prices.specialOffer\"\n :decimal-count=\"decimalCount\"\n :bundle-type=\"item.variation.bundleType\"\n :item-type=\"item.item.itemType\"\n :is-salable=\"!!item.item && (item.item.salableVariationCount > 0)\"\n :badge-available-class=\"badgeClass\"\n :badge-available-text=\"badgeText\"\n :display-av-badge=\"enableBadge\"\n :enable-tag-badge=\"enableTagBadge\"\n :badge-position=\"badgePosition\"\n :selected-variation=\"selectedVariation\"\n />\n </slot>\n <!-- CAROUSEL -->\n <div :class=\"'prop-' + aspectRatio\">\n <slot name=\"item-image\">\n <custom-category-image\n ref=\"CustomCategoryImage\"\n :image-urls-data=\"selectedVariation.images | itemImages(imageUrlAccessor)\"\n :alt=\"item | itemName\"\n :title=\"item | itemName\"\n :item-url=\"selectedVariation | itemURL(urlWithVariationId)\"\n :enable-carousel=\"$ceres.config.item.enableImageCarousel\"\n :disable-carousel-on-mobile=\"disableCarouselOnMobile\"\n :is-salable-item=\"!!item.item && (item.item.salableVariationCount > 0)\"\n :enable-av-overlay=\"enableOverlay\"\n :item-identification=\"selectedVariation.variation.id\"\n />\n </slot>\n </div>\n </div>\n\n <!-- ITEM DETAILS -->\n <div v-if=\"entries.length > 0\" :class=\"thumbContentClass\">\n <template v-for=\"entry in entries\">\n <!-- TITLE -->\n <template v-if=\"entry.thumbFieldSelection === 'title'\">\n <a :href=\"item | itemURL(urlWithVariationId)\" class=\"title-thumb\"\n :class=\"entry.titleSettings.titleTextColor + ' ' + entry.titleSettings.titleAlign + ' ' + entry.titleSettings.customClass\">\n <template v-if=\"entry.titleSettings.titleSelect === 'name1'\">\n {{ item.texts.name1 }}\n </template>\n <template v-else-if=\"entry.titleSettings.titleSelect === 'name2'\">\n {{ item.texts.name2 }}\n </template>\n <template v-else>\n {{ item.texts.name3 }}\n </template>\n <template v-if=\"entry.titleSettings.showItemAttributes\">\n <template v-for=\"attribute in selectedVariation.groupedAttributes\">\n {{ \"Ceres::Template.itemGroupedAttribute\" | translate(attribute) }}\n </template>\n </template>\n </a>\n </template>\n <!-- DESCRIPTION -->\n <template v-if=\"entry.thumbFieldSelection === 'description' && item.texts.shortDescription !== '' \">\n <div class=\"description-thumb\"\n :class=\"entry.descriptionSettings.descriptionTextColor + ' ' + entry.descriptionSettings.descriptionAlign + ' ' + entry.descriptionSettings.customClass\">\n {{ item.texts.shortDescription }}\n </div>\n </template>\n <!-- PRICE -->\n <template v-if=\"entry.thumbFieldSelection === 'prices'\">\n <div class=\"prices-thumb\" :class=\"entry.priceSettings.finalPriceAlign + ' ' + entry.priceSettings.customClass\">\n <template v-if=\"entry.priceSettings.showRrp && entry.priceSettings.rrpPosition === 'left' &&\n selectedVariation.prices.rrp && selectedVariation.prices.rrp.price.value > 0 &&\n selectedVariation.prices.rrp.price.value > selectedVariation.prices.default.price.value\">\n <div class=\"before-price\">\n <del v-if=\"selectedVariation.prices.specialOffer\" class=\"crossprice\">\n {{ selectedVariation.prices.default.unitPrice.formatted | itemCrossPrice(true) }}\n </del>\n <del v-else class=\"crossprice\">\n {{ selectedVariation.prices.rrp.unitPrice.formatted | itemCrossPrice }}\n </del>\n </div>\n <div class=\"final-price\" :class=\"entry.priceSettings.rrpColor\">\n <template v-if=\"selectedVariation.item.itemType === 'set'\">\n {{ $translate(\"Ceres::Template.itemSetPrice\", { price: itemSetPrice }) }} {{ $translate(\"Ceres::Template.itemFootnote\") }}\n </template>\n <template v-else-if=\"itemGraduatedPriceisCheapestSorting\">\n {{ $translate(\"Ceres::Template.itemFromPrice\", { price: itemPriceGraduated }) }} {{ $translate(\"Ceres::Template.itemFootnote\") }}\n </template>\n <template v-else-if=\"itemGraduatedPricesalableVariationCount\">\n {{ $translate(\"Ceres::Template.itemFromPrice\", { price: itemPriceGraduated }) }} {{ $translate(\"Ceres::Template.itemFootnote\") }}\n </template>\n <template v-else>\n {{ selectedVariation.prices.default.unitPrice.formatted | specialOffer(selectedVariation.prices, \"unitPrice\", \"formatted\") }} {{ $translate(\"Ceres::Template.itemFootnote\") }}\n </template>\n </div>\n </template>\n\n <template v-else-if=\"entry.priceSettings.showRrp && entry.priceSettings.rrpPosition === 'right' &&\n selectedVariation.prices.rrp && selectedVariation.prices.rrp.price.value > 0 &&\n selectedVariation.prices.rrp.price.value > selectedVariation.prices.default.price.value\">\n <div class=\"final-price\" :class=\"entry.priceSettings.rrpColor\">\n <template v-if=\"selectedVariation.item.itemType === 'set'\">\n {{ $translate(\"Ceres::Template.itemSetPrice\", { price: itemSetPrice }) }} {{ $translate(\"Ceres::Template.itemFootnote\") }}\n </template>\n <template v-else-if=\"itemGraduatedPriceisCheapestSorting\">\n {{ $translate(\"Ceres::Template.itemFromPrice\", { price: itemPriceGraduated }) }} {{ $translate(\"Ceres::Template.itemFootnote\") }}\n </template>\n <template v-else-if=\"itemGraduatedPricesalableVariationCount\">\n {{ $translate(\"Ceres::Template.itemFromPrice\", { price: itemPriceGraduated }) }} {{ $translate(\"Ceres::Template.itemFootnote\") }}\n </template>\n <template v-else>\n {{ selectedVariation.prices.default.unitPrice.formatted | specialOffer(selectedVariation.prices, \"unitPrice\", \"formatted\") }} {{ $translate(\"Ceres::Template.itemFootnote\") }}\n </template>\n </div>\n <div class=\"before-price\">\n <del v-if=\"selectedVariation.prices.specialOffer\" class=\"crossprice\">\n {{ selectedVariation.prices.default.unitPrice.formatted | itemCrossPrice(true) }}\n </del>\n <del v-else class=\"crossprice\">\n {{ selectedVariation.prices.rrp.unitPrice.formatted | itemCrossPrice }}\n </del>\n </div>\n </template>\n\n <div v-else class=\"final-price\" :class=\"entry.priceSettings.finalPriceColor\">\n <template v-if=\"selectedVariation.item.itemType === 'set'\">\n {{ $translate(\"Ceres::Template.itemSetPrice\", { price: itemSetPrice }) }} {{ $translate(\"Ceres::Template.itemFootnote\") }}\n </template>\n <template v-else-if=\"itemGraduatedPriceisCheapestSorting\">\n {{ $translate(\"Ceres::Template.itemFromPrice\", { price: itemPriceGraduated }) }} {{ $translate(\"Ceres::Template.itemFootnote\") }}\n </template>\n <template v-else-if=\"itemGraduatedPricesalableVariationCount\">\n {{ $translate(\"Ceres::Template.itemFromPrice\", { price: itemPriceGraduated }) }} {{ $translate(\"Ceres::Template.itemFootnote\") }}\n </template>\n <template v-else>\n {{ selectedVariation.prices.default.unitPrice.formatted | specialOffer(selectedVariation.prices, \"unitPrice\", \"formatted\") }} {{ $translate(\"Ceres::Template.itemFootnote\") }}\n </template>\n </div>\n\n <slot name=\"after-prices\"></slot>\n\n <div class=\"category-lowest-price small\" v-if=\"selectedVariation.prices.default.lowestPrice.value && hasCrossPrice\">\n <span v-html=\"$translate('Ceres::Template.itemLowestPrice', {'price': selectedVariation.prices.default.lowestPrice.formatted})\"></span>\n </div>\n\n <template v-if=\"entry.priceSettings.showUnitPrice\">\n <div v-if=\"!(selectedVariation.unit.unitOfMeasurement === 'C62' && selectedVariation.unit.content === 1)\" class=\"unit-price small\">\n <span>{{ selectedVariation.unit.content }}</span>\n <span> {{ selectedVariation.unit.names.name }}</span>\n <span v-if=\"selectedVariation.variation.mayShowUnitPrice\"> | {{ basePrice }}</span>\n </div>\n </template>\n </div>\n </template>\n <!-- CART -->\n <template v-if=\"entry.thumbFieldSelection === 'cart'\">\n <div class=\"basket-thumb\" :class=\"entry.cartSettings.customClass\">\n <custom-add-to-basket\n :variation-id=\"selectedVariation.variation.id\"\n :is-salable=\"!!selectedVariation.filter && selectedVariation.filter.isSalable\"\n :has-children=\"!!selectedVariation.item && selectedVariation.item.salableVariationCount > 1\"\n :interval-quantity=\"selectedVariation.variation.intervalOrderQuantity || 1\"\n :minimum-quantity=\"selectedVariation.variation.minimumOrderQuantity\"\n :maximum-quantity=\"!!selectedVariation.variation.maximumOrderQuantity && selectedVariation.variation.maximumOrderQuantity > 0 ? selectedVariation.variation.maximumOrderQuantity : null\"\n :order-properties=\"selectedVariation.properties.filter(function(prop) { return prop.property.isOderProperty })\"\n :has-order-properties=\"selectedVariation.hasOrderProperties\"\n :has-required-order-property=\"selectedVariation.hasRequiredOrderProperty\"\n :use-large-scale=\"false\"\n :show-quantity=\"false\"\n :item-url=\"item | itemURL(urlWithVariationId)\"\n :has-price=\"item | hasItemDefaultPrice\"\n :has-graduated-price=\"itemGraduatedPriceisCheapestSorting || itemGraduatedPricesalableVariationCount\"\n :item-type=\"selectedVariation.item.itemType\"\n :basket-not-salable-icon=\"basketNotSalableIcon\"\n :basket-salable-icon=\"basketSalableIcon\"\n />\n </div>\n </template>\n <!-- VAT -->\n <template v-if=\"entry.thumbFieldSelection === 'vat'\">\n <div class=\"vat-thumb text-muted\" :class=\"entry.vatSettings.vatAlign + ' ' + entry.vatSettings.customClass\">\n {{ $translate(\"Ceres::Template.itemFootnote\") }}\n <template v-if=\"!showNetPrices\">\n <span v-if=\"entry.vatSettings.vatShowPercentage && selectedVariation.prices.default.vat.value > 0\">\n {{ $translate(\"Ceres::Template.singleItemIncludeAbbr\") }}\n {{ selectedVariation.prices.default.vat.value }}%\n {{ $translate(\"Ceres::Template.basketVAT\") }}\n </span>\n <span v-else>{{ $translate(\"Ceres::Template.itemInclVAT\") }}</span>\n </template>\n <span v-else>{{ $translate(\"Ceres::Template.itemExclVAT\") }}</span>\n {{ $translate(\"Ceres::Template.itemExclusive\") }}\n <a v-if=\"$ceres.config.global.shippingCostsCategoryId > 0\" data-toggle=\"modal\" href=\"#shippingscosts\" :class=\"entry.vatSettings.vatToggleColor\" :title=\"$translate('Ceres::Template.itemShippingCosts')\">{{ $translate(\"Ceres::Template.itemShippingCosts\") }}</a>\n <a v-else :title=\"$translate('Ceres::Template.itemShippingCosts')\">{{ $translate(\"Ceres::Template.itemShippingCosts\") }}</a>\n </div>\n </template>\n <!-- AVAILABILITY -->\n <template v-if=\"entry.thumbFieldSelection === 'availability' && selectedVariation.variation.availability.names.name\">\n <div class=\"availability-thumb\" :class=\"entry.availabilitySettings.availabilityAlign + ' ' + entry.availabilitySettings.customClass\">\n {{ $translate(\"Ceres::Template.wishListAvailability\") }} - {{ selectedVariation.variation.availability.names.name }}\n </div>\n </template>\n <!-- PROPERTIES -->\n <template v-if=\"entry.thumbFieldSelection === 'properties' && item.variationProperties\">\n <div class=\"properties-thumb\" :class=\"entry.propertySettings.propertyAlign + ' ' + entry.propertySettings.customClass\">\n <template v-if=\"isPreview\">\n <strong v-if=\"entry.propertySettings.showProperty\">Property Name: </strong>Property Value\n </template>\n <template v-else>\n <template v-for=\"properyGroup in item.variationProperties\">\n <template v-for=\"property in properyGroup.properties\">\n <template v-if=\"property.values.value !== ''\">\n <div>\n <strong v-if=\"entry.propertySettings.showProperty\">{{ property.names.name }}: </strong>\n {{ property.values.value }}\n </div >\n </template>\n </template>\n </template>\n </template>\n </div>\n </template>\n <!-- VARIATIONS -->\n <template v-if=\"entry.thumbFieldSelection === 'variations' && variationsData != null && typeOfVariation === 'image'\">\n <div class=\"variations-thumb\" :class=\"entry.variationsSettings.customClass\">\n <ul class=\"nav justify-content-center v-s-boxes images\">\n <li v-for=\"variation in variationsData.documents\" class=\"nav-item m-2 v-s-box bg-white\"\n @click=\"selectVariation(variation.data, variation.data.attributes[0].value.id)\"\n :class=\"variationClass(variation.data.attributes[0].value.id, variation.data.filter.isSalable)\">\n <img v-if=\"variation.data.attributes[0].value.image !== '' \" class=\"p-1\" :alt=\"variation.data.attributes[0].value.backendName\" :src=\"`/images/produkte/grp/${variation.data.attributes[0].value.image}`\">\n <span class=\"mx-3\" v-else>{{ variation.data.attributes[0].value.names.name }}</span>\n </li >\n </ul>\n </div>\n </template>\n <!-- FEEDBACK -->\n <div v-if=\"entry.thumbFieldSelection === 'feedback'\" class=\"feedback-thumb\" :class=\"entry.feedbackSettings.feedbackAlign + ' ' + entry.feedbackSettings.customClass\">\n <slot name=\"before-prices\" />\n </div>\n </template>\n </div>\n </div>\n </article>\n</template>\n\n<script>\nimport { mapState } from 'vuex'\nimport CustomCategoryImage from './CustomCategoryImage.vue'\nimport CustomItemStoreSpecial from './CustomItemStoreSpecial.vue'\n// import CustomAddToBasket from '../Item/CustomAddToBasket.vue';\nimport {getSlotData} from \"../../helper/getSlotData.js\";\n\nexport default {\n components: {\n CustomCategoryImage,\n CustomItemStoreSpecial,\n // CustomAddToBasket\n },\n props: {\n itemData:\n {\n type: Object\n },\n variationsData:\n {\n type: Object\n },\n entries: {\n type: Array\n },\n singleItemDefaultView: {\n type: Boolean,\n default: true\n },\n singleItemCenterContent: {\n type: Boolean,\n default: false\n },\n isPreview: {\n type: Boolean\n },\n showBasket: {\n type: Boolean,\n default: true\n },\n basketSalableIcon: {\n type: String,\n default: 'cart-plus'\n },\n basketNotSalableIcon: {\n type: String,\n default: 'arrow-right'\n },\n itemClass: {\n type: String,\n default: ''\n },\n datumClass: {\n type: String,\n default: ''\n },\n itemsMobile: {\n type: Number,\n default: 1\n },\n /** Original props */\n enableBadge: {\n type: Boolean,\n default: true\n },\n enableTagBadge: {\n type: Boolean,\n default: true\n },\n enableOverlay: {\n type: Boolean,\n default: true\n },\n badgeText: {\n type: String\n },\n badgeClass: {\n type: String\n },\n badgePosition: {\n type: String\n },\n aspectRatio: {\n type: String\n },\n decimalCount: {\n type: Number,\n default: 0\n },\n imageUrlAccessor:\n {\n type: String,\n default: 'urlMiddle'\n },\n disableCarouselOnMobile:\n {\n type: Boolean\n },\n paddingClasses:\n {\n type: String,\n default: ''\n },\n paddingInlineStyles:\n {\n type: String,\n default: ''\n }\n },\n jsonDataFields: [\n \"itemDataRef\"\n ],\n data(){\n return{\n attributeSelected : null,\n itemVariationData : null\n }\n },\n computed:\n {\n item () {\n return this.itemData || this.itemSlotData || this.itemDataRef;\n },\n itemSlotData: getSlotData('item-data'),\n\n selectedVariation(){\n if( (this.attributeSelected === null) ){\n return this.itemData || this.itemSlotData || this.itemDataRef;\n }else{\n return this.itemVariationData\n }\n },\n thumbContainerClass(){\n if(this.itemsMobile == 1 && this.singleItemDefaultView && this.singleItemCenterContent)\n return 'thumb-container'\n else\n return ''\n },\n thumbContentClass(){\n if(this.itemsMobile == 1 && !this.singleItemDefaultView)\n return 'thumb-content-v2'\n else\n return 'thumb-content'\n },\n thumbImageClass(){\n if(this.itemsMobile == 1 && !this.singleItemDefaultView)\n return 'thumb-image-v2'\n else\n return 'thumb-image'\n },\n itemSlotData: getSlotData('item-data'),\n\n typeOfVariation(){\n if(this.variationsData != null && this.variationsData.total > 0){\n if(this.variationsData.documents[0].data.attributes.length != 0){\n if(this.variationsData.documents[0].data.attributes[0].attribute.typeOfSelectionInOnlineStore === 'image' ){\n return 'image'\n }else if(this.variationsData.documents[0].data.attributes[0].attribute.typeOfSelectionInOnlineStore === 'box' ){\n return 'box'\n }else{\n return 'dropdown'\n }\n }else{\n return 'undefined'\n }\n }else{\n return 'undefined'\n }\n },\n /**\n * returns itemData.item.storeSpecial\n */\n storeSpecial () {\n return this.item.item.storeSpecial\n },\n /**\n * returns itemData.texts\n */\n texts()\n {\n return this.item.texts;\n },\n itemPrice()\n {\n return this.$options.filters.specialOffer(this.item.prices.default.unitPrice.formatted, this.item.prices, \"unitPrice\", \"formatted\" );\n },\n basePrice()\n {\n return this.item.prices.default.basePrice;\n },\n itemPriceGraduated()\n {\n let unitPrice;\n if (App.config.item.enableGraduatedPrices) {\n unitPrice = this.item.prices.graduatedPrices.length > 0\n ? this.item.prices.graduatedPrices[0].unitPrice\n : this.item.prices.default.unitPrice;\n } else {\n unitPrice = this.item.prices.default.unitPrice;\n }\n\n return this.$options.filters.specialOffer(unitPrice.formatted, this.item.prices, \"unitPrice\", \"formatted\" );\n },\n itemGraduatedPriceisCheapestSorting()\n {\n return !!this.item.item && this.item.item.salableVariationCount > 1 && !!this.$ceres.isCheapestSorting;\n },\n itemGraduatedPricesalableVariationCount()\n {\n return !!this.item.item && this.item.item.salableVariationCount == 1 && this.item.prices.graduatedPrices.length > 1 && App.config.item.enableGraduatedPrices;\n },\n itemSetPrice()\n {\n return this.$options.filters.currency(\n this.item.prices.default.price.value,\n this.item.prices.default.currency\n );\n },\n\n urlWithVariationId(){\n return !this.$ceres.config.item.showPleaseSelect || this.$ceres.initialPleaseSelect == 0 || this.forceUrlWithVariationId;\n },\n hasCrossPrice() {\n const hasRrpPrice = !!this.item.prices.rrp &&\n this.item.prices.rrp.unitPrice.value > this.item.prices.default.unitPrice.value;\n\n const hasBeforePrice = !!this.item.prices.specialOffer &&\n !!this.item.prices.default &&\n this.item.prices.default.unitPrice.value > this.item.prices.specialOffer.unitPrice.value;\n\n return hasRrpPrice || hasBeforePrice;\n },\n ...mapState({\n showNetPrices: state => state.basket.showNetPrices\n })\n },\n methods: {\n selectVariation(variationData, attributeId){\n this.itemVariationData = variationData\n this.attributeSelected = attributeId\n this.$nextTick(() =>\n {\n this.$refs.CustomCategoryImage.destroyCarousel()\n this.$refs.CustomCategoryImage.initializeCarousel()\n });\n },\n variationClass(attributeId, isSalable){\n if( (this.attributeSelected === attributeId) ){\n return 'active'\n }else if( !(this.attributeSelected === attributeId) && !isSalable ){\n return 'invalid'\n }else{\n return ''\n }\n }\n }\n}\n</script>\n","import mod from \"-!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomCategoryItemData.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomCategoryItemData.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CustomCategoryItemData.vue?vue&type=template&id=37ba9ccc&\"\nimport script from \"./CustomCategoryItemData.vue?vue&type=script&lang=js&\"\nexport * from \"./CustomCategoryItemData.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"/Users/nsierrar/Projects/PlentyMarkets/Repo-GitHub/MultiContentWidget/node_modules/vue-hot-reload-api/dist/index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!api.isRecorded('37ba9ccc')) {\n api.createRecord('37ba9ccc', component.options)\n } else {\n api.reload('37ba9ccc', component.options)\n }\n module.hot.accept(\"./CustomCategoryItemData.vue?vue&type=template&id=37ba9ccc&\", function () {\n api.rerender('37ba9ccc', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"resources/js/src/components/ItemList/CustomCategoryItemData.vue\"\nexport default component.exports"],"sourceRoot":""}