{"version":3,"sources":["webpack:///resources/js/src/app/components/item/VariationSelect.vue","webpack:///./resources/js/src/app/components/item/VariationSelect.vue","webpack:///./resources/js/src/app/components/item/VariationSelect.vue?2512","webpack:///./resources/js/src/app/components/item/VariationSelect.vue?19cf","webpack:///./resources/js/src/app/components/item/VariationSelect.vue?fd3c"],"names":["name","props","forceContent","type","default","inject","itemId","data","filteredVariationsCache","lastContentCount","mainVariationPrice","initMainVarPrice","mainVarPrice","mounted","_this","setTimeout","$","ev","minus","urlArr","valueIdArr","$cstSelSelect","$cstSelOpener","countArr","computed","currentVariation","currentVariationSelect","hasEmptyOption","addPleaseSelectOption","priceDiff","charge","symbols","maximumFractionDigits","minimumFractionDigits","currentSelection","possibleUnits","variations","_step","_iterator","possibleUnitCombinationIds","isContentVisible","hasSelection","attributes","selectedAttributes","selectedUnit","methods","selectAttribute","attributeValueId","attributeId","selectUnit","unitId","onSelectionChange","unsetInvalidSelection","getTooltip","attribute","value","getInvalidOptionTooltip","invalidSelections","invalidSelection","_step2","names","_iterator2","getQualifiedVariations","getClosestVariations","qualifiedVariations","_step3","changes","variation","_step4","_iterator4","closestSalableVariation","numberOfSalableChanges","closestNonSalableVariation","numberOfNonSalableChanges","_iterator3","getInvalidSelectionByVariation","selectedAttributeId","attributesToReset","_loop","newUnit","correctSelection","_step5","messages","_iterator5","NotificationService","filterVariations","strict","ignoreUnit","_this3","variationAttribute","v","getPriceDifference","isAttributeSelectionValid","isUnitSelectionValid","filter","length","setVariation","variationId","document","detail","documents","window","isTextCut","getSelectedAttributeValueName","transformPossibleUnits","unitA","unitB","splitUnitName","unitNameSplit","watch","render","_vm","_c","_self","staticClass","_l","key","ref","refInFor","class","attrs","id","on","change","$event","target","domProps","_v","_s","$translate","_e","selected","values","includes","imageUrl","directives","rawName","expression","for","title","unitCombinationId","parseInt","href","_t","staticRenderFns","_withStripped"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmHA;AACA;AACyC;AAEzC;AAEe;EAEfA;EAEAC;IACAC,cACA;MACAC;MACAC;IACA;EACA;EAEAC;IACAC;MACAF;IACA;EACA;EAEAG;IACA;MACAC;MACAC;MACAC;MACAC;MACAC;IACA;EACA;EAEAC;IAAA;IACA;IACA;IAEA;MACA;QACAC;QACAA;QACAA;MACA;MAEAC;QACAC;UACAC;UAEAD;UACAA;QACA;QAEA;UAEAA;YACA;YACA;YACA;YACA;YACA;;YAEA;YACA;cACAE;YACA;YAEAF;cACA;cACA;cACAA;gBACA;kBACAG;kBACAC;gBACA;cACA;cAEAJ;gBACA;AACA;AACA;;gBAEA;gBACA;gBACA;gBAEA;kBACAA;gBACA;cAEA;YACA;;YAEA;YACAK;cAEA;gBACAC;cACA;gBACAA;cACA;cAEA;cAEA;gBACAD;gBACAC;cACA;gBACAD;cACA;YACA;;YAEA;YACA;cACAL;gBACA;gBACAA;kBACA,yFACAO;gBACA;gBAEAP;kBACA;oBACAA;kBACA;gBACA;cACA;YACA;UACA;QAEA;MAEA;IAEA;EACA;EAEAQ,UACA;IACAC;MACA;IACA;IAEAC;MACA;IACA;IAEA;AACA;AACA;IACAC;MACA;QAAA;MAAA;IACA;IAEAC;MACA;IACA;IAEAC;MACA;QACA;MACA;MACA;MACA;MAEA;QACA;QACAC;MACA;MAEA;MAEA;QACAC;MACA;MAEAD;QAAAE;QAAAC;MAAA;MAEA;IACA;IAEA;AACA;AACA;AACA;IACAC;MACA;MAEA;QACA;MACA;MAEA;IACA;IAEA;AACA;AACA;AACA;IACAC;MACA;MACA;MACA;MAAA,2CAEAC;QAAAC;MAAA;QAAA;UAAA;UACAF;QACA;MAAA;QAAAG;MAAA;QAAAA;MAAA;MAEA;IACA;IAEAC;MACA;QAAA;MAAA;IACA;IAEAC;MACA;IACA;IAEAC;MACA;QAAA;MAAA;IACA;IAEAC;MACA;IACA;IAEAC;MACA;IACA;IAEAC;MACA;IACA;IAEAR;MACA;IACA;EACA;EAEAS,SACA;IACA;AACA;AACA;AACA;AACA;IACAC;MACAC;MAEA;QACA;UACAC;UACAD;QACA;QACA;MACA;MAEA/B;MACAA;MAEA;IACA;IAEA;AACA;AACA;AACA;IACAiC;MACAC;MACA;MACA;IACA;IAEAC;MACA;QACA;MACA;QACA;QACA;MACA;QACA;MACA;MAEA;IACA;IAEA;AACA;AACA;AACA;AACA;AACA;IACAC;MACA;MACA;;MAEA;MACA;MAEA;QACA;MACA;MAEA;MAEA;IACA;IAEAC;MACA;QACA;MACA;QACA;UACAC;UACAC;QACA;MACA;MAEA;IACA;IAEA;AACA;AACA;AACA;AACA;IACAC;MACA;MACA;MAEA;QACA;MACA;MAEA,yBACA,2FACA,0FACA;MAEA,8BACA,0BACAC;QACA;QACA;MACA;MAEA;MACA;MAAA,4CAEAC;QAAAC;MAAA;QAAA;UAAA;UACA;YACAC;UACA;QACA;MAAA;QAAAC;MAAA;QAAAA;MAAA;MACA;QACAD,WACA,qEACA;MACA;MAEA;QACA;MACA;MAEA;QAAA5D;MAAA;IACA;IAEA;AACA;AACA;AACA;AACA;AACA;IACA8D;MACA;QACA;UACA;YAAA,OACAR;UAAA;QACA;MACA;QACA;UAAA;QAAA;MACA;MAEA;QAAA;MAAA;IACA;IAEA;AACA;AACA;AACA;IACAS;MACA;MACA;MAAA,4CAEAC;QAAAC;MAAA;QAAA;UAAA;UACA;UAEA;YACA;YACA;YAEAC;UACA;UAAA,4CAEAC;YAAAC;UAAA;YAAA;cAAA;cACA;gBACAF;cACA;YACA;UAAA;YAAAG;UAAA;YAAAA;UAAA;UAEA;YACAC;YACAC;UACA;YACAC;YACAC;UACA;QACA;MAAA;QAAAC;MAAA;QAAAA;MAAA;MAEA;IACA;IAEA;AACA;AACA;AACA;IACAC;MAAA;MACA;MACA;MAAA,gDAEA;QACAC;QACA;UAAA;QAAA;QAEA;UACA;YACA;cAAA;YAAA;YAEAC;UACA;QACA;MACA;MAXA;QAAAC;MAAA;MAaA;QACAC;MACA;MAEA;QAAAF;QAAAE;MAAA;IACA;IAEA;AACA;AACA;AACA;IACAC;MACA;MACA;MAAA,4CAEAtB;QAAAuB;MAAA;QAAA;UAAA;UACAC,cACA;YAAAlF;UAAA,EACA;UAEA0C;QACA;MAAA;QAAAyC;MAAA;QAAAA;MAAA;MAEA;QACA;UACAD,cACA;YACAlF,MACA;UACA,EACA;QACA;QAEA;MACA;MAEA;MAEA;MAEAoF,yBACAF,qBACA;IACA;IAEA;AACA;AACA;AACA;AACA;AACA;AACA;IACAG;MAAA;MACA3C;MACAQ;MACAoC;MACAC;MAEA;MAEA;QACA;MACA;MAEA;MACA;MACA;QACA;QACA;UACA;QACA;;QAEA;QACA;QACA,wHACAC;UACA;QACA;QAAA,0CAEA;UACA;YAAA,OACAC;UAAA;;UAEA;UACA,0BACAA,oEACAH;YAAA;cAAAI,GACA;YAAA;UACA;QACA;QAVA;UAAA;UAAA;QAAA;QAYA;MACA;MAEA;MAEA;IACA;IAEAC;MAEA;MACA;MACA;MAEA;;MAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;qHArBA,CA6BA;;AAEA;AACA;AACA;IAEA;IAEA;AACA;AACA;AACA;AACA;AACA;IACAC;MACA7C;MACA;QACA;MACA;MAEA;MAEAJ;MAEA;MACA;MAEA;QACAP;UAAA;QAAA;MACA;MAEA;IACA;IAEA;AACA;AACA;AACA;IACAyD;MACA3C;MACA;QACA;MACA;MAEA,YACAmC,+BACAS;QAAA;MAAA,GACAC;IACA;IAEA;AACA;AACA;AACA;AACA;IACAC;MAAA;MACA;QACAC;MACA;MAEA;QACA;UACAC,6DACA;YACAC,QACA;cACAzD;cACA0D;cACA9F;YACA;UACA;UAEA+F;YACA;cACA;gBACA;kBAAA;gBAAA;gBAAA;gBACA;kBACA;kBAAA;kBACA;kBACA;kBACA;kBACA;kBACA;gBACA;cACA;YACA;U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AA;AAAA,wCAAsM,CAAgB,kPAAG,EAAC,C;;;;;;;;;;;;ACA1N;AAAA;AAAA;AAAA;AAAA;AAAA","file":"chunks/ceres-47.min.js","sourcesContent":["\n \n {{ $translate(\"Ceres::Template.singleItemNotSalableAttribute\", { \"name\": value.name })\n }}\n \n \n \n \n \n \n \n\n \n
1}\">\n \n \n
\n \n \n\n \n
1 && isContentVisible\">\n
\n \n \n
\n
\n \n
2\">\n {{\n $translate(\"AbfallbehaelterXXL::Template.singleItemVariationShowMore\") }} (+{{ attributes.length - 2\n }})\n
\n \n\n
\n \n
\n \n\n\n\n","var render = function render() {\n var _vm = this,\n _c = _vm._self._c\n return _c(\"div\", { staticClass: \"single-variation-select__inner\" }, [\n _vm.attributes.length ||\n (_vm.possibleUnitCombinationIds.length > 1 && _vm.isContentVisible)\n ? _c(\n \"div\",\n { staticClass: \"row\" },\n [\n _vm._l(_vm.attributes, function (attribute, key) {\n return _c(\"div\", { staticClass: \"col-12 variation-select\" }, [\n attribute.type === \"dropdown\"\n ? _c(\n \"div\",\n {\n ref: \"attributesContaner\",\n refInFor: true,\n staticClass: \"input-unit\",\n class: { \"initial-hidden-attributes\": key > 1 },\n },\n [\n _c(\n \"select\",\n {\n staticClass: \"custom-select custom-select-init\",\n attrs: {\n id: \"custom-select_\" + attribute.name,\n \"data-testing\": \"variation-select-dropdown\",\n },\n on: {\n change: function ($event) {\n return _vm.selectAttribute(\n attribute.attributeId,\n $event.target.value\n )\n },\n },\n },\n [\n _vm.addPleaseSelectOption || !_vm.hasSelection\n ? _c(\"option\", { domProps: { value: -1 } }, [\n _vm._v(\n _vm._s(\n _vm.$translate(\n \"Ceres::Template.singleItemPleaseSelect\"\n )\n ) + \"\\n \"\n ),\n ])\n : _vm._e(),\n _vm._v(\" \"),\n _vm.hasEmptyOption ||\n _vm.selectedAttributes[attribute.attributeId] ===\n null\n ? _c(\n \"option\",\n {\n domProps: {\n value: null,\n selected:\n _vm.selectedAttributes[\n attribute.attributeId\n ] === null,\n },\n },\n [\n _vm._v(\n _vm._s(\n _vm.$translate(\n \"Ceres::Template.singleItemNoSelection\"\n )\n ) + \"\\n \"\n ),\n ]\n )\n : _vm._e(),\n _vm._v(\" \"),\n _vm._l(attribute.values, function (value) {\n return _c(\n \"option\",\n {\n attrs: {\n \"data-src\": attribute.name.includes(\"Farbe\")\n ? value.imageUrl\n : \"\",\n },\n domProps: {\n value: value.attributeValueId,\n selected:\n value.attributeValueId ===\n _vm.selectedAttributes[\n attribute.attributeId\n ],\n },\n },\n [\n _vm.isAttributeSelectionValid(\n attribute.attributeId,\n value.attributeValueId,\n true\n )\n ? [\n _vm._v(\n \"\\n \" +\n _vm._s(value.name) +\n \"\\n \"\n ),\n ]\n : _vm.isAttributeSelectionValid(\n attribute.attributeId,\n value.attributeValueId,\n false\n )\n ? [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm.$translate(\n \"Ceres::Template.singleItemNotSalableAttribute\",\n { name: value.name }\n )\n ) +\n \"\\n \"\n ),\n ]\n : [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm.$translate(\n \"Ceres::Template.singleItemInvalidAttribute\",\n { name: value.name }\n )\n ) +\n \"\\n \"\n ),\n ],\n ],\n 2\n )\n }),\n ],\n 2\n ),\n _vm._v(\" \"),\n _c(\n \"label\",\n {\n directives: [\n {\n name: \"tooltip\",\n rawName: \"v-tooltip\",\n value: _vm.isTextCut(attribute.name),\n expression: \"isTextCut(attribute.name)\",\n },\n ],\n attrs: {\n for: \"custom-select_\" + attribute.name,\n \"data-toggle\": \"tooltip\",\n \"data-placement\": \"top\",\n title: attribute.name,\n \"data-testing\": \"variation-select-dropdown-label\",\n },\n },\n [_vm._v(_vm._s(attribute.name))]\n ),\n ]\n )\n : attribute.type === \"box\" || attribute.type === \"image\"\n ? _c(\n \"div\",\n {\n staticClass: \"input-unit\",\n class: { \"initial-hidden-attributes\": key > 1 },\n },\n [\n _c(\n \"label\",\n {\n directives: [\n {\n name: \"tooltip\",\n rawName: \"v-tooltip\",\n value: _vm.isTextCut(attribute.name),\n expression: \"isTextCut(attribute.name)\",\n },\n ],\n attrs: {\n \"data-toggle\": \"tooltip\",\n \"data-placement\": \"top\",\n title: attribute.name,\n },\n },\n [_vm._v(_vm._s(attribute.name))]\n ),\n _vm._v(\" \"),\n _c(\n \"select\",\n {\n ref: \"selectWithImg\",\n refInFor: true,\n staticClass: \"custom-select custom-select-init\",\n on: {\n change: function ($event) {\n return _vm.selectAttribute(\n attribute.attributeId,\n $event.target.value\n )\n },\n },\n },\n [\n _vm.addPleaseSelectOption || !_vm.hasSelection\n ? _c(\"option\", { domProps: { value: -1 } }, [\n _vm._v(\n _vm._s(\n _vm.$translate(\n \"Ceres::Template.singleItemPleaseSelect\"\n )\n ) + \"\\n \"\n ),\n ])\n : _vm._e(),\n _vm._v(\" \"),\n _vm.hasEmptyOption ||\n _vm.selectedAttributes[attribute.attributeId] ===\n null\n ? _c(\n \"option\",\n {\n domProps: {\n value: null,\n selected:\n _vm.selectedAttributes[\n attribute.attributeId\n ] === null,\n },\n },\n [\n _vm._v(\n _vm._s(\n _vm.$translate(\n \"Ceres::Template.singleItemNoSelection\"\n )\n ) + \"\\n \"\n ),\n ]\n )\n : _vm._e(),\n _vm._v(\" \"),\n _vm._l(attribute.values, function (value) {\n return _c(\n \"option\",\n {\n attrs: { \"data-src\": value.imageUrl },\n domProps: {\n value: value.attributeValueId,\n selected:\n value.attributeValueId ===\n _vm.selectedAttributes[\n attribute.attributeId\n ],\n },\n },\n [\n _vm.isAttributeSelectionValid(\n attribute.attributeId,\n value.attributeValueId\n )\n ? [\n _vm._v(\n \"\\n \" +\n _vm._s(value.name) +\n \"\\n \"\n ),\n ]\n : [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm.$translate(\n \"Ceres::Template.singleItemInvalidAttribute\",\n { name: \"${ value.name }\" }\n )\n ) +\n \"\\n \"\n ),\n ],\n ],\n 2\n )\n }),\n ],\n 2\n ),\n ]\n )\n : _vm._e(),\n ])\n }),\n _vm._v(\" \"),\n _vm.possibleUnitCombinationIds.length > 1 && _vm.isContentVisible\n ? _c(\"div\", { staticClass: \"col-12 variation-select\" }, [\n _c(\"div\", { staticClass: \"input-unit\" }, [\n _c(\n \"select\",\n {\n staticClass: \"custom-select custom-select-init\",\n attrs: {\n id: \"unit-combination-ids-select\",\n \"data-testing\": \"variation-select-unit\",\n },\n on: {\n change: function ($event) {\n return _vm.selectUnit($event.target.value)\n },\n },\n },\n _vm._l(\n _vm.possibleUnitCombinationIds,\n function (unitCombinationId) {\n return _c(\n \"option\",\n {\n domProps: {\n value: unitCombinationId,\n selected:\n parseInt(unitCombinationId) ===\n _vm.selectedUnit,\n },\n },\n [\n _vm.isUnitSelectionValid(unitCombinationId)\n ? [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm.possibleUnits[unitCombinationId]\n ) +\n \"\\n \"\n ),\n ]\n : [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm.$translate(\n \"Ceres::Template.singleItemInvalidAttribute\",\n {\n name: _vm.possibleUnits[\n unitCombinationId\n ],\n }\n )\n ) +\n \"\\n \"\n ),\n ],\n ],\n 2\n )\n }\n ),\n 0\n ),\n _vm._v(\" \"),\n _c(\n \"label\",\n {\n attrs: {\n for: \"unit-combination-ids-select\",\n \"data-testing\": \"variation-select-unit-label\",\n },\n },\n [\n _vm._v(\n _vm._s(\n _vm.$translate(\"Ceres::Template.singleItemContent\")\n )\n ),\n ]\n ),\n ]),\n ])\n : _vm._e(),\n _vm._v(\" \"),\n _vm.attributes.length > 2\n ? _c(\"div\", { staticClass: \"col-12 variation-select\" }, [\n _c(\n \"a\",\n {\n staticClass: \"single-variation-select__toggle-more\",\n attrs: { href: \"#\" },\n },\n [\n _vm._v(\n _vm._s(\n _vm.$translate(\n \"AbfallbehaelterXXL::Template.singleItemVariationShowMore\"\n )\n ) +\n \" (+\" +\n _vm._s(_vm.attributes.length - 2) +\n \")\"\n ),\n ]\n ),\n ])\n : _vm._e(),\n ],\n 2\n )\n : _c(\"div\", [_vm._t(\"default\")], 2),\n ])\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./VariationSelect.vue?vue&type=template&id=4a939d05\"\nimport script from \"./VariationSelect.vue?vue&type=script&lang=js\"\nexport * from \"./VariationSelect.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/Trollmeister/Development/KELPIO/pp-abfallbehaelter-xxl/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('4a939d05')) {\n api.createRecord('4a939d05', component.options)\n } else {\n api.reload('4a939d05', component.options)\n }\n module.hot.accept(\"./VariationSelect.vue?vue&type=template&id=4a939d05\", function () {\n api.rerender('4a939d05', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"resources/js/src/app/components/item/VariationSelect.vue\"\nexport default component.exports","import mod from \"-!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VariationSelect.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!./VariationSelect.vue?vue&type=script&lang=js\"","export * from \"-!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VariationSelect.vue?vue&type=template&id=4a939d05\""],"sourceRoot":""}