{"version":3,"sources":["webpack:///./node_modules/core-js/internals/object-to-array.js","webpack:///./node_modules/core-js/modules/es.object.values.js","webpack:///./node_modules/core-js/modules/es.object.entries.js","webpack:///./resources/js/src/app/components/item/VariationSelect.vue?ea6c","webpack:///resources/js/src/app/components/item/VariationSelect.vue","webpack:///./resources/js/src/app/components/item/VariationSelect.vue?68f5","webpack:///./resources/js/src/app/components/item/VariationSelect.vue"],"names":["DESCRIPTORS","objectKeys","toIndexedObject","propertyIsEnumerable","f","createMethod","TO_ENTRIES","it","key","O","keys","length","i","result","call","push","module","exports","entries","values","$","$values","target","stat","$entries","render","_vm","this","_h","$createElement","_c","_self","attrs","name","attributes","possibleUnitCombinationIds","isContentVisible","isConfigurator","staticClass","_l","attribute","class","attributeId","isLastSelectFull","type","ref","refInFor","id","on","change","$event","selectAttribute","value","addPleaseSelectOption","hasSelection","domProps","_v","_s","$translate","_e","hasEmptyOption","selectedAttributes","selected","attributeValueId","isAttributeSelectionValid","getSelectedAttributeValueName","images","active","invalid","click","src","imageUrl","alt","selectUnit","unitCombinationId","parseInt","selectedUnit","isUnitSelectionValid","possibleUnits","for","_t","_withStripped","component","options","__file"],"mappings":"6EAAA,IAAIA,EAAc,EAAQ,IACtBC,EAAa,EAAQ,IACrBC,EAAkB,EAAQ,IAC1BC,EAAuB,EAAQ,KAA8CC,EAG7EC,EAAe,SAAUC,GAC3B,OAAO,SAAUC,GAOf,IANA,IAKIC,EALAC,EAAIP,EAAgBK,GACpBG,EAAOT,EAAWQ,GAClBE,EAASD,EAAKC,OACdC,EAAI,EACJC,EAAS,GAENF,EAASC,GACdJ,EAAME,EAAKE,KACNZ,IAAeG,EAAqBW,KAAKL,EAAGD,IAC/CK,EAAOE,KAAKT,EAAa,CAACE,EAAKC,EAAED,IAAQC,EAAED,IAG/C,OAAOK,IAIXG,EAAOC,QAAU,CAGfC,QAASb,GAAa,GAGtBc,OAAQd,GAAa,K,oBC9BvB,IAAIe,EAAI,EAAQ,GACZC,EAAU,EA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res-client-3.min.js","sourcesContent":["var DESCRIPTORS = require('../internals/descriptors');\nvar objectKeys = require('../internals/object-keys');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar propertyIsEnumerable = require('../internals/object-property-is-enumerable').f;\n\n// `Object.{ entries, values }` methods implementation\nvar createMethod = function (TO_ENTRIES) {\n return function (it) {\n var O = toIndexedObject(it);\n var keys = objectKeys(O);\n var length = keys.length;\n var i = 0;\n var result = [];\n var key;\n while (length > i) {\n key = keys[i++];\n if (!DESCRIPTORS || propertyIsEnumerable.call(O, key)) {\n result.push(TO_ENTRIES ? [key, O[key]] : O[key]);\n }\n }\n return result;\n };\n};\n\nmodule.exports = {\n // `Object.entries` method\n // https://tc39.github.io/ecma262/#sec-object.entries\n entries: createMethod(true),\n // `Object.values` method\n // https://tc39.github.io/ecma262/#sec-object.values\n values: createMethod(false)\n};\n","var $ = require('../internals/export');\nvar $values = require('../internals/object-to-array').values;\n\n// `Object.values` method\n// https://tc39.github.io/ecma262/#sec-object.values\n$({ target: 'Object', stat: true }, {\n values: function values(O) {\n return $values(O);\n }\n});\n","var $ = require('../internals/export');\nvar $entries = require('../internals/object-to-array').entries;\n\n// `Object.entries` method\n// https://tc39.github.io/ecma262/#sec-object.entries\n$({ target: 'Object', stat: true }, {\n entries: function entries(O) {\n return $entries(O);\n }\n});\n","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"transition\", { attrs: { name: \"fade\" } }, [\n _vm.attributes.length ||\n (_vm.possibleUnitCombinationIds.length > 1 && _vm.isContentVisible) ||\n _vm.isConfigurator.length > 0\n ? _c(\n \"div\",\n { key: \"transition--variants\", staticClass: \"row\" },\n [\n _vm._l(_vm.attributes, function(attribute) {\n return _c(\n \"div\",\n {\n staticClass: \"col-6 variation-select\",\n class: [\n \"variation-select--\" + attribute.attributeId,\n { \"variation-select--last-full\": _vm.isLastSelectFull }\n ]\n },\n [\n attribute.type === \"dropdown\"\n ? _c(\n \"div\",\n {\n ref: \"attributesContaner\",\n refInFor: true,\n staticClass: \"input-unit\"\n },\n [\n _c(\n \"select\",\n {\n staticClass: \"custom-select\",\n attrs: { id: \"custom-select_\" + attribute.name },\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 \"\\n \" +\n _vm._s(\n _vm.$translate(\n \"Ceres::Template.singleItemPleaseSelect\"\n )\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 \"\\n \" +\n _vm._s(\n _vm.$translate(\n \"Ceres::Template.singleItemNoSelection\"\n )\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 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 : [\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(\"label\", [\n _vm._v(\n \"\\n \" +\n _vm._s(attribute.name) +\n \" wählen\\n \"\n )\n ])\n ]\n )\n : attribute.type === \"box\" || attribute.type === \"image\"\n ? _c(\n \"div\",\n [\n attribute.type !== \"image\"\n ? [\n _c(\"span\", { staticClass: \"text-muted\" }, [\n _vm._v(_vm._s(attribute.name) + \":\")\n ]),\n _vm._v(\" \"),\n _c(\"b\", [\n _vm._v(\n _vm._s(\n _vm.getSelectedAttributeValueName(\n attribute\n )\n )\n )\n ])\n ]\n : _vm._e(),\n _vm._v(\" \"),\n _c(\n \"div\",\n {\n staticClass: \"v-s-boxes py-3\",\n class: { images: attribute.type === \"image\" }\n },\n [\n _vm.addPleaseSelectOption\n ? _c(\n \"div\",\n {\n staticClass:\n \"v-s-box bg-white empty-option\",\n class: {\n active:\n _vm.selectedAttributes[\n attribute.attributeId\n ] === -1,\n invalid: !_vm.isAttributeSelectionValid(\n attribute.attributeId,\n -1\n )\n },\n on: {\n click: function($event) {\n return _vm.selectAttribute(\n attribute.attributeId,\n -1\n )\n }\n }\n },\n [\n _c(\"span\", { staticClass: \"mx-3\" }, [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm.$translate(\n \"Ceres::Template.singleItemPleaseSelect\"\n )\n ) +\n \"\\n \"\n )\n ])\n ]\n )\n : _vm._e(),\n _vm._v(\" \"),\n _vm.hasEmptyOption\n ? _c(\n \"div\",\n {\n staticClass:\n \"v-s-box bg-white empty-option\",\n class: {\n active:\n _vm.selectedAttributes[\n attribute.attributeId\n ] === null,\n invalid: !_vm.isAttributeSelectionValid(\n attribute.attributeId,\n null\n )\n },\n on: {\n click: function($event) {\n return _vm.selectAttribute(\n attribute.attributeId,\n null\n )\n }\n }\n },\n [\n _c(\"span\", { staticClass: \"mx-3\" }, [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm.$translate(\n \"Ceres::Template.singleItemNoSelection\"\n )\n ) +\n \"\\n \"\n )\n ])\n ]\n )\n : _vm._e(),\n _vm._v(\" \"),\n _vm._l(attribute.values, function(value) {\n return _c(\n \"div\",\n {\n staticClass: \"single-item__v-s-box-wrapper\",\n class: {\n active:\n value.attributeValueId ===\n _vm.selectedAttributes[\n attribute.attributeId\n ],\n invalid: !_vm.isAttributeSelectionValid(\n attribute.attributeId,\n value.attributeValueId,\n true\n )\n },\n on: {\n click: function($event) {\n return _vm.selectAttribute(\n attribute.attributeId,\n value.attributeValueId\n )\n }\n }\n },\n [\n _c(\n \"div\",\n { staticClass: \"v-s-box bg-white\" },\n [\n attribute.type === \"box\"\n ? _c(\n \"span\",\n { staticClass: \"mx-3\" },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(value.name) +\n \"\\n \"\n )\n ]\n )\n : _c(\"img\", {\n staticClass: \"p-1\",\n attrs: {\n src: value.imageUrl,\n alt: value.name\n }\n })\n ]\n ),\n _vm._v(\" \"),\n attribute.type === \"image\"\n ? _c(\n \"div\",\n {\n staticClass:\n \"single-item__image-attr\"\n },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(value.name) +\n \"\\n \"\n )\n ]\n )\n : _vm._e()\n ]\n )\n })\n ],\n 2\n )\n ],\n 2\n )\n : _vm._e()\n ]\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\",\n on: {\n change: function($event) {\n return _vm.selectUnit($event.target.value)\n }\n }\n },\n _vm._l(_vm.possibleUnitCombinationIds, function(\n unitCombinationId\n ) {\n return _c(\n \"option\",\n {\n key: unitCombinationId,\n domProps: {\n value: unitCombinationId,\n selected:\n parseInt(unitCombinationId) === _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:\n _vm.possibleUnits[\n unitCombinationId\n ]\n }\n )\n ) +\n \"\\n \"\n )\n ]\n ],\n 2\n )\n }),\n 0\n ),\n _vm._v(\" \"),\n _c(\n \"label\",\n { attrs: { for: \"unit-combination-ids-select\" } },\n [\n _vm._v(\n _vm._s(\n _vm.$translate(\"Ceres::Template.singleItemContent\")\n )\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 }","\n\n\n","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&\"","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/fhartwig/Sites/pp-heySilvity/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"],"sourceRoot":""}