{"version":3,"sources":["webpack:///./node_modules/core-js/modules/es.object.values.js","webpack:///./node_modules/core-js/internals/object-to-array.js","webpack:///./resources/js/src/app/components/item/OrderPropertyList.vue?a7e5","webpack:///./resources/js/src/app/components/item/OrderPropertyListGroup.vue?380b","webpack:///./resources/js/src/app/components/item/OrderPropertyListItem.vue?5410","webpack:///resources/js/src/app/components/item/OrderPropertyListItem.vue","webpack:///./resources/js/src/app/components/item/OrderPropertyListItem.vue?4847","webpack:///./resources/js/src/app/components/item/OrderPropertyListItem.vue","webpack:///./resources/js/src/app/components/item/OrderPropertyListGroup.vue?a99d","webpack:///resources/js/src/app/components/item/OrderPropertyListGroup.vue","webpack:///./resources/js/src/app/components/item/OrderPropertyListGroup.vue","webpack:///resources/js/src/app/components/item/OrderPropertyList.vue","webpack:///./resources/js/src/app/components/item/OrderPropertyList.vue?6753","webpack:///./resources/js/src/app/components/item/OrderPropertyList.vue"],"names":["$","$values","values","target","stat","O","DESCRIPTORS","objectKeys","toIndexedObject","propertyIsEnumerable","f","createMethod","TO_ENTRIES","it","key","keys","length","i","result","call","push","module","exports","entries","render","_vm","this","_h","$createElement","_c","_self","renderOrderPropertyList","staticClass","style","transform","activeSlide","_l","sortedGroupedProperties","propertyGroup","index","class","active","id","attrs","paddingClasses","paddingInlineStyles","_v","tabindex","on","click","$event","slideTo","directives","name","rawName","highlight","touchedSlides","error","hasError","title","group","names","$translate","_e","_withStripped","isShownOnItemPageCount","_s","description","properties","property","isShownOnItemPage","inputType","value","inputValue","expression","type","maxlength","isOrderProperty","domProps","input","composing","onInputValueChanged","surcharge","inclOrPlus","_f","footnotes","requiredFootnotes","isRequired","isPreSelected","_uid","checked","change","for","selectedDescription","selectionValue","$$selectedVal","Array","prototype","filter","options","o","selected","map","_value","multiple","selectionValues","placement","scopedSlots","_u","fn","proxy","waiting","disabled","selectedFileName","selectedFile","preventDefault","clearSelectedFile","ref","size","setPropertyFile","isTouchDevice","component","__file"],"mappings":"6EAAA,IAAIA,EAAI,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I,IAAJ,OACA,iCAGM,SAAN,kDACQ,EAAR,kBAKE,SACF,CACI,wBADJ,WAGM,IADN,EACA,8DADA,IAGA,GAHM,IAGE,IAAR,uBACA,CAAU,IADV,EACA,QACU,KAAV,wBALA,SAAQ,EAAR,aAAQ,EAAR,IAQM,OAAN,yBAGI,wBAbJ,WAeM,OAAN,oCAEA,2DAAU,OAAV,yBAGA,IAGI,2BAvBJ,WAyBM,OAAN,2EAGI,wBA5BJ,WA8BM,OAAN,2DAGI,2BAjCJ,WAmCM,OAAN,2EAGI,+BAtCJ,WAuCM,OAAN,4GAIE,QACF,CACI,oBADJ,SACA,GAEM,OAAN,iCAEQ,OAAR,sBAEA,EAEA,uBAEA,EAGA,MAII,gBAlBJ,SAkBA,GACM,IAAN,MACA,GADM,IACE,IAAR,uBACA,CAAU,IADV,EACA,QACA,qCAAY,OAAZ,6BAEU,EAAV,0BAEU,IAAV,0BAEA,gFAEY,EAAZ,cAXA,SAAQ,EAAR,aAAQ,EAAR,IAeM,OAAN,sBAEQ,OAAR,kCAEA,EAEA,mCAEA,EAGA,MAII,QAjDJ,SAiDA,GAEA,8CAEQ,KAAR,cACQ,KAAR,uCE7LI,EAAY,YACd,EACAlG,EXqHoB,IWnHpB,EACA,KACA,KACA,MAuBF,EAAU2E,QAAQuB,OAAS,6DACZ,Y","file":"chunks/ceres-7.min.js","sourcesContent":["var $ = require('../internals/export');\nvar $values = require('../internals/object-to-array').values;\n\n// `Object.values` method\n// https://tc39.es/ecma262/#sec-object.values\n$({ target: 'Object', stat: true }, {\n  values: function values(O) {\n    return $values(O);\n  }\n});\n","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.es/ecma262/#sec-object.entries\n  entries: createMethod(true),\n  // `Object.values` method\n  // https://tc39.es/ecma262/#sec-object.values\n  values: createMethod(false)\n};\n","var render = function() {\n  var _vm = this\n  var _h = _vm.$createElement\n  var _c = _vm._self._c || _h\n  return _vm.renderOrderPropertyList\n    ? _c(\"div\", { staticClass: \"order-property-slider mb-3\" }, [\n        _c(\n          \"div\",\n          {\n            staticClass: \"order-property-slider-inner\",\n            style: { transform: \"translateX(-\" + _vm.activeSlide * 100 + \"%)\" }\n          },\n          _vm._l(_vm.sortedGroupedProperties, function(propertyGroup, index) {\n            return _c(\n              \"div\",\n              { key: index, class: { active: index === _vm.activeSlide } },\n              [\n                _c(\"order-property-list-group\", {\n                  key: propertyGroup.id,\n                  attrs: {\n                    \"padding-classes\": _vm.paddingClasses,\n                    \"padding-inline-styles\": _vm.paddingInlineStyles,\n                    \"property-group\": propertyGroup\n                  }\n                })\n              ],\n              1\n            )\n          }),\n          0\n        ),\n        _vm._v(\" \"),\n        _vm.sortedGroupedProperties.length > 1\n          ? _c(\n              \"div\",\n              {\n                staticClass: \"order-property-slider-controls\",\n                class: _vm.paddingClasses,\n                style: _vm.paddingInlineStyles\n              },\n              [\n                _c(\n                  \"div\",\n                  {\n                    staticClass: \"btn shadow-none\",\n                    class: {\n                      \"btn-primary\": _vm.activeSlide > 0,\n                      \"btn-secondary disabled\": _vm.activeSlide === 0\n                    },\n                    attrs: {\n                      tabindex: \"0\",\n                      \"data-testing\": \"order-property-previous-slide\"\n                    },\n                    on: {\n                      click: function($event) {\n                        return _vm.slideTo(_vm.activeSlide - 1)\n                      }\n                    }\n                  },\n                  [_c(\"span\", { staticClass: \"fa fa-chevron-left\" })]\n                ),\n                _vm._v(\" \"),\n                _c(\n                  \"div\",\n                  { staticClass: \"slider-nav\" },\n                  _vm._l(_vm.sortedGroupedProperties, function(\n                    propertyGroup,\n                    index\n                  ) {\n                    return _c(\"span\", {\n                      directives: [{ name: \"tooltip\", rawName: \"v-tooltip\" }],\n                      key: index,\n                      class: {\n                        active: index === _vm.activeSlide,\n                        highlight: !_vm.touchedSlides[index],\n                        error: propertyGroup.hasError\n                      },\n                      attrs: {\n                        \"data-toggle\": \"tooltip\",\n                        \"data-placement\": \"top\",\n                        title: propertyGroup.group\n                          ? propertyGroup.group.names.name\n                          : _vm.$translate(\n                              \"Ceres::Template.singleItemPropertiesWithoutGroup\"\n                            )\n                      },\n                      on: {\n                        click: function($event) {\n                          return _vm.slideTo(index)\n                        }\n                      }\n                    })\n                  }),\n                  0\n                ),\n                _vm._v(\" \"),\n                _c(\n                  \"div\",\n                  {\n                    staticClass: \"btn float-right shadow-none\",\n                    class: {\n                      \"btn-primary\":\n                        _vm.activeSlide <\n                        _vm.sortedGroupedProperties.length - 1,\n                      \"btn-secondary disabled\":\n                        _vm.activeSlide >=\n                        _vm.sortedGroupedProperties.length - 1\n                    },\n                    attrs: {\n                      tabindex: \"0\",\n                      \"data-testing\": \"order-property-next-slide\"\n                    },\n                    on: {\n                      click: function($event) {\n                        return _vm.slideTo(_vm.activeSlide + 1)\n                      }\n                    }\n                  },\n                  [_c(\"span\", { staticClass: \"fa fa-chevron-right\" })]\n                )\n              ]\n            )\n          : _vm._e()\n      ])\n    : _vm._e()\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","var render = function() {\n  var _vm = this\n  var _h = _vm.$createElement\n  var _c = _vm._self._c || _h\n  return _c(\"div\", [\n    _vm.isShownOnItemPageCount\n      ? _c(\n          \"div\",\n          { staticClass: \"pt-2\" },\n          [\n            _vm.propertyGroup.group\n              ? _c(\n                  \"div\",\n                  { class: _vm.paddingClasses, style: _vm.paddingInlineStyles },\n                  [\n                    _c(\"div\", { staticClass: \"h4\" }, [\n                      _vm._v(\n                        \"\\n                \" +\n                          _vm._s(_vm.propertyGroup.group.names.name) +\n                          \":\\n            \"\n                      )\n                    ]),\n                    _vm._v(\" \"),\n                    _c(\"p\", { staticClass: \"text-muted text-wrap\" }, [\n                      _vm._v(\n                        \"\\n                \" +\n                          _vm._s(_vm.propertyGroup.group.names.description) +\n                          \"\\n            \"\n                      )\n                    ])\n                  ]\n                )\n              : _vm._e(),\n            _vm._v(\" \"),\n            _vm._l(_vm.propertyGroup.properties, function(property) {\n              return _c(\n                \"div\",\n                {\n                  key: property.id,\n                  class: _vm.paddingClasses,\n                  style: _vm.paddingInlineStyles\n                },\n                [\n                  property.isShownOnItemPage\n                    ? _c(\"order-property-list-item\", {\n                        attrs: {\n                          group: _vm.propertyGroup.group,\n                          property: property\n                        }\n                      })\n                    : _vm._e()\n                ],\n                1\n              )\n            })\n          ],\n          2\n        )\n      : _vm._e()\n  ])\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","var render = function() {\n  var _vm = this\n  var _h = _vm.$createElement\n  var _c = _vm._self._c || _h\n  return _c(\n    \"div\",\n    { staticClass: \"position-relative\" },\n    [\n      _vm.inputType === \"text\" ||\n      _vm.inputType === \"float\" ||\n      _vm.inputType === \"int\"\n        ? _c(\n            \"div\",\n            {\n              staticClass: \"input-unit order-property-input\",\n              class: { active: _vm.property.value, error: _vm.hasError },\n              attrs: { \"data-validate\": \"text\" }\n            },\n            [\n              _c(\"input\", {\n                directives: [\n                  {\n                    name: \"model\",\n                    rawName: \"v-model\",\n                    value: _vm.inputValue,\n                    expression: \"inputValue\"\n                  },\n                  { name: \"tooltip\", rawName: \"v-tooltip\" }\n                ],\n                attrs: {\n                  type: \"text\",\n                  \"data-toggle\": \"tooltip\",\n                  maxlength: _vm.isOrderProperty(_vm.property) ? 128 : 65535,\n                  title: _vm.property.names.description,\n                  \"data-testing\": \"order-property-input-\" + _vm.inputType\n                },\n                domProps: { value: _vm.inputValue },\n                on: {\n                  input: [\n                    function($event) {\n                      if ($event.target.composing) {\n                        return\n                      }\n                      _vm.inputValue = $event.target.value\n                    },\n                    function($event) {\n                      return _vm.onInputValueChanged($event.target.value)\n                    }\n                  ]\n                }\n              }),\n              _vm._v(\" \"),\n              _c(\"label\", { staticClass: \"d-flex\" }, [\n                _c(\"span\", { staticClass: \"text-truncate\" }, [\n                  _vm._v(_vm._s(_vm.property.names.name))\n                ]),\n                _vm._v(\" \"),\n                _c(\n                  \"strong\",\n                  { staticClass: \"ml-1\" },\n                  [\n                    _vm.surcharge > 0\n                      ? [\n                          _vm._v(\n                            \"(\" +\n                              _vm._s(_vm.inclOrPlus) +\n                              \" \" +\n                              _vm._s(_vm._f(\"currency\")(_vm.surcharge)) +\n                              \")\"\n                          )\n                        ]\n                      : _vm._e(),\n                    _vm._v(\" \"),\n                    _c(\"span\", [\n                      _vm._v(\n                        _vm._s(_vm.footnotes) +\n                          \" \" +\n                          _vm._s(_vm.requiredFootnotes)\n                      )\n                    ])\n                  ],\n                  2\n                )\n              ])\n            ]\n          )\n        : _vm.inputType === \"checkbox\" || _vm.inputType === \"radio\"\n        ? _c(\n            \"div\",\n            { staticClass: \"form-check\", class: { error: _vm.hasError } },\n            [\n              _vm.inputType === \"checkbox\" &&\n              !(_vm.property.isRequired && _vm.property.isPreSelected)\n                ? _c(\"input\", {\n                    staticClass: \"form-check-input\",\n                    attrs: {\n                      type: \"checkbox\",\n                      name: _vm.group ? _vm.group.id : \"check\" + _vm._uid,\n                      id: \"check\" + _vm._uid,\n                      \"data-testing\": \"order-property-input-checkbox\"\n                    },\n                    domProps: {\n                      value: _vm.property.id,\n                      checked: _vm.property.value\n                    },\n                    on: {\n                      change: function($event) {\n                        return _vm.onInputValueChanged($event.target.checked)\n                      }\n                    }\n                  })\n                : _vm.inputType === \"radio\"\n                ? _c(\"input\", {\n                    staticClass: \"form-check-input\",\n                    attrs: {\n                      type: \"radio\",\n                      name: _vm.group ? _vm.group.id : \"check\" + _vm._uid,\n                      id: \"check\" + _vm._uid,\n                      \"data-testing\": \"order-property-input-radio\"\n                    },\n                    domProps: {\n                      value: _vm.property.id,\n                      checked: _vm.property.value\n                    },\n                    on: {\n                      change: function($event) {\n                        return _vm.onInputValueChanged($event.target.value)\n                      }\n                    }\n                  })\n                : _vm._e(),\n              _vm._v(\" \"),\n              _c(\n                \"label\",\n                {\n                  directives: [{ name: \"tooltip\", rawName: \"v-tooltip\" }],\n                  staticClass: \"form-check-label text-appearance d-flex\",\n                  attrs: {\n                    for: \"check\" + _vm._uid,\n                    \"data-toggle\": \"tooltip\",\n                    title: _vm.property.names.description,\n                    \"data-testing\": \"order-property-label-\" + _vm.inputType\n                  }\n                },\n                [\n                  _c(\"span\", { staticClass: \"text-wrap\" }, [\n                    _vm._v(_vm._s(_vm.property.names.name))\n                  ]),\n                  _vm._v(\" \"),\n                  _c(\n                    \"strong\",\n                    { staticClass: \"ml-1\" },\n                    [\n                      _vm.surcharge > 0\n                        ? [\n                            _vm._v(\n                              \"(\" +\n                                _vm._s(_vm.inclOrPlus) +\n                                \" \" +\n                                _vm._s(_vm._f(\"currency\")(_vm.surcharge)) +\n                                \")\"\n                            )\n                          ]\n                        : _vm._e(),\n                      _vm._v(\" \"),\n                      _c(\"span\", [\n                        _vm._v(\n                          _vm._s(_vm.footnotes) +\n                            \" \" +\n                            _vm._s(_vm.requiredFootnotes)\n                        )\n                      ])\n                    ],\n                    2\n                  )\n                ]\n              )\n            ]\n          )\n        : _vm.inputType === \"selection\"\n        ? _c(\n            \"div\",\n            { class: { \"d-flex\": _vm.selectedDescription } },\n            [\n              _c(\n                \"div\",\n                {\n                  directives: [{ name: \"tooltip\", rawName: \"v-tooltip\" }],\n                  staticClass: \"input-unit order-property-input\",\n                  class: { active: _vm.property.value, error: _vm.hasError },\n                  attrs: {\n                    \"data-toggle\": \"tooltip\",\n                    title: _vm.property.names.description\n                  }\n                },\n                [\n                  _c(\n                    \"select\",\n                    {\n                      directives: [\n                        {\n                          name: \"model\",\n                          rawName: \"v-model\",\n                          value: _vm.selectionValue,\n                          expression: \"selectionValue\"\n                        }\n                      ],\n                      staticClass: \"custom-select\",\n                      attrs: {\n                        id: \"order-property-input-select\",\n                        \"data-testing\": \"order-property-selection\"\n                      },\n                      on: {\n                        change: [\n                          function($event) {\n                            var $$selectedVal = Array.prototype.filter\n                              .call($event.target.options, function(o) {\n                                return o.selected\n                              })\n                              .map(function(o) {\n                                var val = \"_value\" in o ? o._value : o.value\n                                return val\n                              })\n                            _vm.selectionValue = $event.target.multiple\n                              ? $$selectedVal\n                              : $$selectedVal[0]\n                          },\n                          function($event) {\n                            return _vm.onInputValueChanged($event.target.value)\n                          }\n                        ]\n                      }\n                    },\n                    [\n                      _c(\n                        \"option\",\n                        { domProps: { selected: true, value: null } },\n                        [\n                          _vm._v(\n                            _vm._s(\n                              _vm.$translate(\n                                \"Ceres::Template.singleItemPleaseSelect\"\n                              )\n                            )\n                          )\n                        ]\n                      ),\n                      _vm._v(\" \"),\n                      _vm._l(_vm.property.selectionValues, function(value, id) {\n                        return _c(\n                          \"option\",\n                          {\n                            key: id,\n                            attrs: {\n                              \"data-testing\": \"order-property-selection-option\"\n                            },\n                            domProps: {\n                              selected: _vm.property.id === id,\n                              value: id\n                            }\n                          },\n                          [_vm._v(_vm._s(value.name))]\n                        )\n                      })\n                    ],\n                    2\n                  ),\n                  _vm._v(\" \"),\n                  _c(\n                    \"label\",\n                    {\n                      staticClass: \"d-flex w-100\",\n                      attrs: { for: \"order-property-input-select\" }\n                    },\n                    [\n                      _c(\"span\", { staticClass: \"text-truncate\" }, [\n                        _vm._v(_vm._s(_vm.property.names.name))\n                      ]),\n                      _vm._v(\" \"),\n                      _c(\n                        \"strong\",\n                        { staticClass: \"ml-1\" },\n                        [\n                          _vm.surcharge > 0\n                            ? [\n                                _vm._v(\n                                  \"(\" +\n                                    _vm._s(_vm.inclOrPlus) +\n                                    \" \" +\n                                    _vm._s(_vm._f(\"currency\")(_vm.surcharge)) +\n                                    \")\"\n                                )\n                              ]\n                            : _vm._e(),\n                          _vm._v(\" \"),\n                          _c(\"span\", [\n                            _vm._v(\n                              _vm._s(_vm.footnotes) +\n                                \" \" +\n                                _vm._s(_vm.requiredFootnotes)\n                            )\n                          ])\n                        ],\n                        2\n                      )\n                    ]\n                  )\n                ]\n              ),\n              _vm._v(\" \"),\n              _vm.selectedDescription\n                ? _c(\"popper\", {\n                    staticClass: \"order-property-selection-info-popper\",\n                    attrs: { placement: \"bottom\" },\n                    scopedSlots: _vm._u(\n                      [\n                        {\n                          key: \"handle\",\n                          fn: function() {\n                            return [\n                              _c(\n                                \"button\",\n                                {\n                                  staticClass:\n                                    \"btn btn-icon btn-circle btn-default btn-appearance font-weight-bold\"\n                                },\n                                [_vm._v(\"?\")]\n                              )\n                            ]\n                          },\n                          proxy: true\n                        },\n                        {\n                          key: \"content\",\n                          fn: function() {\n                            return [\n                              _vm._v(\n                                \"\\n                \" +\n                                  _vm._s(_vm.selectedDescription) +\n                                  \"\\n            \"\n                              )\n                            ]\n                          },\n                          proxy: true\n                        }\n                      ],\n                      null,\n                      false,\n                      2730731730\n                    )\n                  })\n                : _vm._e()\n            ],\n            1\n          )\n        : _vm.inputType === \"file\"\n        ? _c(\n            \"div\",\n            { staticClass: \"d-flex\" },\n            [\n              _c(\n                \"label\",\n                {\n                  directives: [{ name: \"tooltip\", rawName: \"v-tooltip\" }],\n                  staticClass:\n                    \"input-unit file-input order-property-input component-loading with-icon sending\",\n                  class: {\n                    active: _vm.property.value,\n                    \"is-loading\": _vm.waiting,\n                    error: _vm.hasError\n                  },\n                  attrs: {\n                    \"data-toggle\": \"tooltip\",\n                    title: _vm.property.names.description\n                  }\n                },\n                [\n                  _c(\n                    \"span\",\n                    {\n                      staticClass: \"input-unit-preview\",\n                      class: { disabled: _vm.waiting }\n                    },\n                    [_vm._v(_vm._s(_vm.selectedFileName))]\n                  ),\n                  _vm._v(\" \"),\n                  _c(\"span\", { staticClass: \"input-unit-label d-flex\" }, [\n                    _c(\"span\", { staticClass: \"text-truncate\" }, [\n                      _vm._v(_vm._s(_vm.property.names.name))\n                    ]),\n                    _vm._v(\" \"),\n                    _c(\n                      \"strong\",\n                      { staticClass: \"ml-1\" },\n                      [\n                        _vm.surcharge > 0\n                          ? [\n                              _vm._v(\n                                \"(\" +\n                                  _vm._s(_vm.inclOrPlus) +\n                                  \" \" +\n                                  _vm._s(_vm._f(\"currency\")(_vm.surcharge)) +\n                                  \")\"\n                              )\n                            ]\n                          : _vm._e(),\n                        _vm._v(\" \"),\n                        _c(\"span\", [\n                          _vm._v(\n                            _vm._s(_vm.footnotes) +\n                              \" \" +\n                              _vm._s(_vm.requiredFootnotes)\n                          )\n                        ])\n                      ],\n                      2\n                    )\n                  ]),\n                  _vm._v(\" \"),\n                  !_vm.selectedFile\n                    ? _c(\"span\", { staticClass: \"input-unit-btn\" }, [\n                        _c(\"i\", { staticClass: \"fa fa-ellipsis-h\" })\n                      ])\n                    : _c(\n                        \"span\",\n                        {\n                          staticClass: \"input-unit-btn\",\n                          attrs: { disabled: _vm.waiting },\n                          on: {\n                            click: function($event) {\n                              $event.preventDefault()\n                              return _vm.clearSelectedFile()\n                            }\n                          }\n                        },\n                        [_c(\"i\", { staticClass: \"fa fa-times\" })]\n                      ),\n                  _vm._v(\" \"),\n                  _c(\"input\", {\n                    ref: \"fileInput\",\n                    attrs: {\n                      disabled: _vm.waiting,\n                      type: \"file\",\n                      size: \"50\",\n                      \"data-testing\": \"order-property-input-file\"\n                    },\n                    on: {\n                      change: function($event) {\n                        return _vm.setPropertyFile($event)\n                      }\n                    }\n                  })\n                ]\n              ),\n              _vm._v(\" \"),\n              _c(\n                \"client-only\",\n                [\n                  _vm.isTouchDevice && _vm.property.names.description\n                    ? _c(\"popper\", {\n                        staticClass: \"order-property-selection-info-popper\",\n                        attrs: { placement: \"bottom\" },\n                        scopedSlots: _vm._u(\n                          [\n                            {\n                              key: \"handle\",\n                              fn: function() {\n                                return [\n                                  _c(\n                                    \"button\",\n                                    {\n                                      staticClass:\n                                        \"btn btn-icon btn-circle btn-default btn-appearance font-weight-bold\"\n                                    },\n                                    [_vm._v(\"?\")]\n                                  )\n                                ]\n                              },\n                              proxy: true\n                            },\n                            {\n                              key: \"content\",\n                              fn: function() {\n                                return [\n                                  _vm._v(\n                                    \"\\n                    \" +\n                                      _vm._s(_vm.property.names.description) +\n                                      \"\\n                \"\n                                  )\n                                ]\n                              },\n                              proxy: true\n                            }\n                          ],\n                          null,\n                          false,\n                          1618376136\n                        )\n                      })\n                    : _vm._e()\n                ],\n                1\n              )\n            ],\n            1\n          )\n        : _vm._e(),\n      _vm._v(\" \"),\n      _c(\n        \"client-only\",\n        [\n          _vm.isTouchDevice &&\n          _vm.inputType !== \"selection\" &&\n          _vm.inputType !== \"file\" &&\n          _vm.property.names.description\n            ? _c(\"popper\", {\n                staticClass:\n                  \"order-property-selection-info-popper position-absolute\",\n                class: {\n                  \"checkbox-or-radio\":\n                    _vm.inputType === \"checkbox\" || _vm.inputType === \"radio\"\n                },\n                attrs: { placement: \"bottom\" },\n                scopedSlots: _vm._u(\n                  [\n                    {\n                      key: \"handle\",\n                      fn: function() {\n                        return [\n                          _c(\n                            \"button\",\n                            {\n                              staticClass:\n                                \"btn btn-icon btn-circle btn-default btn-appearance font-weight-bold\"\n                            },\n                            [_vm._v(\"?\")]\n                          )\n                        ]\n                      },\n                      proxy: true\n                    },\n                    {\n                      key: \"content\",\n                      fn: function() {\n                        return [\n                          _vm._v(\n                            \"\\n                \" +\n                              _vm._s(_vm.property.names.description) +\n                              \"\\n            \"\n                          )\n                        ]\n                      },\n                      proxy: true\n                    }\n                  ],\n                  null,\n                  false,\n                  1214237640\n                )\n              })\n            : _vm._e()\n        ],\n        1\n      )\n    ],\n    1\n  )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","<template>\n    <div class=\"position-relative\">\n        <div v-if=\"inputType === 'text' || inputType === 'float' || inputType === 'int'\" class=\"input-unit order-property-input\" :class=\"{ 'active': property.value, 'error': hasError }\" data-validate=\"text\">\n            <input\n                type=\"text\"\n                @input=\"onInputValueChanged($event.target.value)\"\n                v-model=\"inputValue\"\n                v-tooltip\n                data-toggle=\"tooltip\"\n                :maxlength=\"isOrderProperty(property) ? 128 : 65535\"\n                :title=\"property.names.description\"\n                :data-testing=\"'order-property-input-' + inputType\">\n            <label class=\"d-flex\">\n                <span class=\"text-truncate\">{{ property.names.name }}</span>\n                <strong class=\"ml-1\">\n                    <template v-if=\"surcharge > 0\">({{ inclOrPlus }} {{ surcharge | currency }})</template>\n                    <span>{{ footnotes }} {{ requiredFootnotes }}</span>\n                </strong>\n            </label>\n        </div>\n\n        <div v-else-if=\"inputType === 'checkbox' || inputType === 'radio'\" class=\"form-check\" :class=\"{ 'error': hasError }\">\n            <input v-if=\"inputType === 'checkbox' && !(property.isRequired && property.isPreSelected)\"\n                   type=\"checkbox\"\n                   :name=\"group ? group.id : 'check' + _uid\"\n                   :id=\"'check' + _uid\"\n                   :value=\"property.id\"\n                   :checked=\"property.value\"\n                   @change=\"onInputValueChanged($event.target.checked)\"\n                   class=\"form-check-input\"\n                   data-testing=\"order-property-input-checkbox\">\n            <input v-else-if=\"inputType === 'radio'\"\n                   type=\"radio\"\n                   :name=\"group ? group.id : 'check' + _uid\"\n                   :id=\"'check' + _uid\"\n                   :value=\"property.id\"\n                   @change=\"onInputValueChanged($event.target.value)\"\n                   class=\"form-check-input\"\n                   :checked=\"property.value\"\n                   data-testing=\"order-property-input-radio\">\n\n            <label class=\"form-check-label text-appearance d-flex\"\n                   :for=\"'check' + _uid\"\n                   v-tooltip data-toggle=\"tooltip\"\n                   :title=\"property.names.description\"\n                    :data-testing=\"'order-property-label-' + inputType\">\n                <span class=\"text-wrap\">{{ property.names.name }}</span>\n                <strong class=\"ml-1\">\n                    <template v-if=\"surcharge > 0\">({{ inclOrPlus }} {{ surcharge | currency }})</template>\n                    <span>{{ footnotes }} {{ requiredFootnotes }}</span>\n                </strong>\n            </label>\n        </div>\n\n        <div v-else-if=\"inputType === 'selection'\" :class=\"{ 'd-flex': selectedDescription }\">\n            <div\n                class=\"input-unit order-property-input\"\n                :class=\"{ 'active': property.value, 'error': hasError }\"\n                v-tooltip\n                data-toggle=\"tooltip\"\n                :title=\"property.names.description\">\n                <select id=\"order-property-input-select\" v-model=\"selectionValue\" @change=\"onInputValueChanged($event.target.value)\" class=\"custom-select\" data-testing=\"order-property-selection\">\n                    <option :selected=\"true\" :value=\"null\">{{ $translate(\"Ceres::Template.singleItemPleaseSelect\") }}</option>\n                    <option :selected=\"property.id === id\" :value=\"id\" v-for=\"(value, id) in property.selectionValues\" :key=\"id\" data-testing=\"order-property-selection-option\">{{ value.name }}</option>\n                </select>\n                <label class=\"d-flex w-100\" for=\"order-property-input-select\">\n                    <span class=\"text-truncate\">{{ property.names.name }}</span>\n                    <strong class=\"ml-1\">\n                        <template v-if=\"surcharge > 0\">({{ inclOrPlus }} {{ surcharge | currency }})</template>\n                        <span>{{ footnotes }} {{ requiredFootnotes }}</span>\n                    </strong>\n                </label>\n            </div>\n\n            <popper class=\"order-property-selection-info-popper\" v-cloak v-if=\"selectedDescription\" placement=\"bottom\">\n                <template #handle>\n                    <button class=\"btn btn-icon btn-circle btn-default btn-appearance font-weight-bold\">?</button>\n                </template>\n                <template #content>\n                    {{ selectedDescription }}\n                </template>\n            </popper>\n        </div>\n\n        <div v-else-if=\"inputType === 'file'\" class=\"d-flex\">\n            <label class=\"input-unit file-input order-property-input component-loading with-icon sending\" :class=\"{ 'active': property.value, 'is-loading': waiting, 'error': hasError }\" v-tooltip data-toggle=\"tooltip\" :title=\"property.names.description\">\n                <span class=\"input-unit-preview\" :class=\"{ 'disabled': waiting }\">{{selectedFileName}}</span>\n                <span class=\"input-unit-label d-flex\">\n                    <span class=\"text-truncate\">{{ property.names.name }}</span>\n                    <strong class=\"ml-1\">\n                        <template v-if=\"surcharge > 0\">({{ inclOrPlus }} {{ surcharge | currency }})</template>\n                        <span>{{ footnotes }} {{ requiredFootnotes }}</span>\n                    </strong>\n                </span>\n                <span class=\"input-unit-btn\" v-if=\"!selectedFile\">\n                    <i class=\"fa fa-ellipsis-h\"></i>\n                </span>\n                <span class=\"input-unit-btn\" v-else :disabled=\"waiting\" @click.prevent=\"clearSelectedFile()\">\n                    <i class=\"fa fa-times\"></i>\n                </span>\n                <input :disabled=\"waiting\" ref=\"fileInput\" type=\"file\" size=\"50\" @change=\"setPropertyFile($event)\" data-testing=\"order-property-input-file\">\n            </label>\n\n            <client-only>\n                <popper class=\"order-property-selection-info-popper\" v-cloak v-if=\"isTouchDevice && property.names.description\" placement=\"bottom\">\n                    <template #handle>\n                        <button class=\"btn btn-icon btn-circle btn-default btn-appearance font-weight-bold\">?</button>\n                    </template>\n                    <template #content>\n                        {{ property.names.description }}\n                    </template>\n                </popper>\n            </client-only>\n        </div>\n\n        <client-only>\n            <popper class=\"order-property-selection-info-popper position-absolute\" :class=\"{ 'checkbox-or-radio': inputType === 'checkbox' || inputType === 'radio'}\" v-cloak v-if=\"isTouchDevice && inputType !== 'selection' && inputType !== 'file' && property.names.description\" placement=\"bottom\">\n                <template #handle>\n                    <button class=\"btn btn-icon btn-circle btn-default btn-appearance font-weight-bold\">?</button>\n                </template>\n                <template #content>\n                    {{ property.names.description }}\n                </template>\n            </popper>\n        </client-only>\n    </div>\n</template>\n\n<script>\nconst ApiService = require(\"../../services/ApiService\");\nconst NotificationService = require(\"../../services/NotificationService\");\n\nimport { isNullOrUndefined } from \"../../helper/utils\";\nimport { mapState, mapMutations } from \"vuex\";\nimport TranslationService from '../../services/TranslationService';\n\nexport default {\n\n    name: \"order-property-list-item\",\n\n    props:\n    {\n        group: Object,\n        property: Object\n    },\n\n    inject: {\n        itemId: {\n            default: null\n        }\n    },\n\n    data()\n    {\n        return {\n            inputValue: \"\",\n            selectedFile: null,\n            waiting: false,\n            selectionValue: null\n        };\n    },\n\n    mounted()\n    {\n        document.addEventListener(\"onVariationChanged\", event =>\n        {\n            if (event.detail.itemId === this.itemId)\n            {\n                // clear type specific bindings\n                if (this.property.valueType === \"selection\")\n                {\n                    this.selectionValue = this.property.value || null;\n                }\n                else if (this.property.valueType === \"file\")\n                {\n                    if (this.property.value && this.property.value.length)\n                    {\n                        NotificationService.warn(\n                            TranslationService.translate(\"Ceres::Template.singleItemOrderPropertyFileHasReset\",\n                                { propertyName: this.property.names.name })\n                        ).closeAfter(5000);\n                    }\n\n                    this.clearSelectedFile();\n                }\n                else\n                {\n                    this.inputValue = this.property.value || \"\";\n                }\n            }\n        });\n    },\n\n    computed:\n    {\n        inputType()\n        {\n            const orderPropertyGroupingType = this.group ? this.group.orderPropertyGroupingType : null;\n            const valueType = this.property.valueType;\n\n            if (valueType === \"empty\")\n            {\n                if (!orderPropertyGroupingType || orderPropertyGroupingType === \"none\" || orderPropertyGroupingType === \"multi\")\n                {\n                    return \"checkbox\";\n                }\n\n                return \"radio\";\n            }\n\n            return valueType;\n        },\n\n        selectedFileName()\n        {\n            if (this.selectedFile)\n            {\n                return this.selectedFile.name;\n            }\n\n            return \"\";\n        },\n\n        hasError()\n        {\n            const isRequired = this.property.isRequired || App.config.item.requireOrderProperties;\n\n            if (isRequired && this.variationMarkInvalidProperties && this.inputType === \"radio\")\n            {\n                return this.variationMissingProperties.find(property => property.property.id === this.property.id);\n            }\n\n            return isRequired && this.variationMarkInvalidProperties && !this.property.value;\n        },\n\n        surcharge()\n        {\n            return this.property.itemSurcharge || this.property.surcharge;\n        },\n\n        hasTax()\n        {\n            return this.property.vatId !== \"none\" && this.property.vatId !== null;\n        },\n\n        inclOrPlus()\n        {\n            if(this.property.isShownAsAdditionalCosts || !this.hasTax)\n            {\n                return this.$translate(\"Ceres::Template.basketPlusAbbr\")\n            }\n            return this.$translate(\"Ceres::Template.basketIncludeAbbr\");\n        },\n\n        footnotes()\n        {\n            if (this.surcharge > 0)\n            {\n                if (this.property.isRequired && !this.property.isPreSelected && this.hasTax)\n                {\n                    return this.$translate(\"Ceres::Template.singleItemFootnote12\");\n                }\n                else if(this.hasTax)\n                {\n                    return this.$translate(\"Ceres::Template.singleItemFootnote1\");\n                }\n            }\n        },\n\n        requiredFootnotes()\n        {\n            if (this.property.isRequired && !this.property.isPreSelected && !this.footnotes)\n            {\n                return this.$translate(\"Ceres::Template.singleItemFootnote2\");\n            }\n        },\n\n        selectedDescription()\n        {\n            if (this.inputType !== \"selection\" || isNullOrUndefined(this.selectionValue))\n            {\n                return null;\n            }\n\n            const selectedProperty = this.property.selectionValues[this.selectionValue];\n\n            return selectedProperty.description;\n        },\n\n        variationMissingProperties()\n        {\n            return this.$store.getters[`${this.itemId}/variationMissingProperties`];\n        },\n\n        variationMarkInvalidProperties() {\n            return this.$store.state.items[this.itemId] && this.$store.state.items[this.itemId].variationMarkInvalidProperties;\n        },\n\n        isTouchDevice() {\n            return !App.isSSR ? document.body.classList.contains(\"touch\"): false;\n        },\n\n        ...mapState({\n            isBasketLoading: state => state.basket.isBasketLoading,\n        })\n    },\n\n    methods:\n    {\n        isOrderProperty(property){\n           return property.isOderProperty && App.useVariationOrderProperties\n        },\n        onInputValueChanged(value)\n        {\n            if (this.inputType === \"int\")\n            {\n                value = this.validateInt(value);\n            }\n            else if (this.inputType === \"float\")\n            {\n                value = this.validateFloat(value);\n            }\n            else if (this.inputType === \"checkbox\")\n            {\n                if (!value)\n                {\n                    value = null;\n                }\n            }\n            else if (this.inputType === \"selection\")\n            {\n                if (isNullOrUndefined(value) || value.length <= 0)\n                {\n                    value = null;\n                }\n            }\n            else if (this.inputType === \"text\")\n            {\n                if(value === \"\")\n                {\n                    value = null;\n                }\n            }\n\n            this.$store.commit(`${this.itemId}/setVariationPropertySurcharges`, this.$store.getters[`${this.itemId}/variationBasePrice`]);\n            this.setVariationOrderProperty({ propertyId: this.property.id, value: value });\n        },\n\n        validateInt(value)\n        {\n            value = parseInt(value);\n\n            if (isNaN(value))\n            {\n                value = null;\n            }\n\n            this.inputValue = value;\n\n            return value;\n        },\n\n        validateFloat(value)\n        {\n            const lastChar = value.slice(-1);\n\n            const str = value.replace(App.decimalSeparator, \".\");\n            const arr = str.split(\".\");\n            let toFixedLength = 0;\n\n            if (arr.length === 2)\n            {\n                toFixedLength = arr[1].length;\n            }\n\n            value = parseFloat(str).toFixed(toFixedLength);\n\n            if (isNaN(value))\n            {\n                value = null;\n            }\n            else\n            {\n                if (lastChar === \".\" || lastChar === App.decimalSeparator)\n                {\n                    value += lastChar;\n                }\n\n                value = value.toString().replace(\".\", App.decimalSeparator);\n            }\n\n            this.inputValue = value;\n\n            return value;\n        },\n\n        setVariationOrderProperty(orderProperty) {\n            return this.$store.commit(`${this.itemId}/setVariationOrderProperty`, orderProperty);\n        },\n\n        setPropertyFile(event)\n        {\n            if (event.target && event.target.files && event.target.files.length > 0)\n            {\n                this.selectedFile = event.target.files[0];\n                this.uploadPropertyFile(this.selectedFile);\n            }\n        },\n\n        uploadPropertyFile(file)\n        {\n            this.setIsBasketLoading(true);\n            this.waiting = true;\n\n            const fileData = new FormData();\n\n            fileData.append(\"fileData\", file);\n\n            ApiService.post(\"/rest/io/order/property/file\", fileData, { processData: false, contentType: false, cache: false, async: true, timeout: 60000, supressNotifications: true })\n                .done(response =>\n                {\n                    this.setVariationOrderProperty({ propertyId: this.property.id, value: response });\n                })\n                .fail(error =>\n                {\n                    this.clearSelectedFile();\n                    this._handleValidationErrors(error);\n                })\n                .always(response =>\n                {\n                    this.setIsBasketLoading(false);\n                    this.waiting = false;\n                });\n        },\n\n        clearSelectedFile()\n        {\n            this.selectedFile = null;\n            this.setVariationOrderProperty({ propertyId: this.property.id, value: null });\n            this.$refs.fileInput.value = \"\";\n        },\n\n        _handleValidationErrors(error)\n        {\n            if (error.hasOwnProperty(\"validation_errors\"))\n            {\n                for (const err of Object.values(error.validation_errors))\n                {\n                    NotificationService.error(err[0]);\n                }\n            }\n\n            if (error.error.message && error.error.message === \"Post too large\")\n            {\n                NotificationService.error(\n                    this.$translate(\"Ceres::Template.errorPostTooLarge\" , { maxSize: error.error.maxSize })\n                );\n            }\n        },\n\n        ...mapMutations([\n            \"setIsBasketLoading\"\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!./OrderPropertyListItem.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!./OrderPropertyListItem.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./OrderPropertyListItem.vue?vue&type=template&id=6fc17f6c&\"\nimport script from \"./OrderPropertyListItem.vue?vue&type=script&lang=js&\"\nexport * from \"./OrderPropertyListItem.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(\"/home/runner/work/plugin-ceres/plugin-ceres/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('6fc17f6c')) {\n      api.createRecord('6fc17f6c', component.options)\n    } else {\n      api.reload('6fc17f6c', component.options)\n    }\n    module.hot.accept(\"./OrderPropertyListItem.vue?vue&type=template&id=6fc17f6c&\", function () {\n      api.rerender('6fc17f6c', {\n        render: render,\n        staticRenderFns: staticRenderFns\n      })\n    })\n  }\n}\ncomponent.options.__file = \"resources/js/src/app/components/item/OrderPropertyListItem.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!./OrderPropertyListGroup.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!./OrderPropertyListGroup.vue?vue&type=script&lang=js&\"","<template>\n    <div>\n        <div v-if=\"isShownOnItemPageCount\" class=\"pt-2\">\n            <div v-if=\"propertyGroup.group\" :class=\"paddingClasses\" :style=\"paddingInlineStyles\">\n                <div class=\"h4\">\n                    {{ propertyGroup.group.names.name }}:\n                </div>\n                <p class=\"text-muted text-wrap\">\n                    {{ propertyGroup.group.names.description }}\n                </p>\n            </div>\n\n            <div v-for=\"property in propertyGroup.properties\" :key=\"property.id\" :class=\"paddingClasses\" :style=\"paddingInlineStyles\">\n                <order-property-list-item v-if=\"property.isShownOnItemPage\" :group=\"propertyGroup.group\" :property=\"property\"></order-property-list-item>\n            </div>\n        </div>\n    </div>\n</template>\n\n<script>\nimport OrderPropertyListItem from \"./OrderPropertyListItem.vue\";\n\nexport default {\n    name: \"order-property-list-group\",\n\n    components:\n    {\n        OrderPropertyListItem\n    },\n\n    props:\n    {\n        paddingClasses:\n        {\n            type: String,\n            default: null\n        },\n        paddingInlineStyles:\n        {\n            type: String,\n            default: null\n        },\n        propertyGroup: Object\n    },\n\n    computed:\n    {\n        isShownOnItemPageCount()\n        {\n            const properties = this.propertyGroup.properties.filter(property => property.isShownOnItemPage);\n\n            return properties.length;\n        }\n    }\n}\n</script>\n","import { render, staticRenderFns } from \"./OrderPropertyListGroup.vue?vue&type=template&id=65a40158&\"\nimport script from \"./OrderPropertyListGroup.vue?vue&type=script&lang=js&\"\nexport * from \"./OrderPropertyListGroup.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(\"/home/runner/work/plugin-ceres/plugin-ceres/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('65a40158')) {\n      api.createRecord('65a40158', component.options)\n    } else {\n      api.reload('65a40158', component.options)\n    }\n    module.hot.accept(\"./OrderPropertyListGroup.vue?vue&type=template&id=65a40158&\", function () {\n      api.rerender('65a40158', {\n        render: render,\n        staticRenderFns: staticRenderFns\n      })\n    })\n  }\n}\ncomponent.options.__file = \"resources/js/src/app/components/item/OrderPropertyListGroup.vue\"\nexport default component.exports","<template>\n    <div class=\"order-property-slider mb-3\" v-if=\"renderOrderPropertyList\">\n        <div class=\"order-property-slider-inner\" :style=\"{transform: 'translateX(-' + (activeSlide * 100) + '%)'}\">\n            <div v-for=\"(propertyGroup, index) in sortedGroupedProperties\" :class=\"{'active': index === activeSlide}\" :key=\"index\">\n                <order-property-list-group\n                    :padding-classes=\"paddingClasses\"\n                    :padding-inline-styles=\"paddingInlineStyles\"\n                    :key=\"propertyGroup.id\"\n                    :property-group=\"propertyGroup\">\n                </order-property-list-group>\n            </div>\n        </div>\n\n        <div class=\"order-property-slider-controls\" :class=\"paddingClasses\" :style=\"paddingInlineStyles\" v-if=\"sortedGroupedProperties.length > 1\">\n            <div\n                class=\"btn shadow-none\"\n                @click=\"slideTo(activeSlide - 1)\"\n                :class=\"{'btn-primary': activeSlide > 0, 'btn-secondary disabled': activeSlide === 0}\"\n                tabindex=\"0\"\n                data-testing=\"order-property-previous-slide\">\n                <span class=\"fa fa-chevron-left\"></span>\n            </div>\n\n            <div class=\"slider-nav\">\n                <span v-for=\"(propertyGroup, index) in sortedGroupedProperties\"\n                      :class=\"{ 'active': index === activeSlide, 'highlight': !touchedSlides[index], 'error': propertyGroup.hasError }\"\n                      @click=\"slideTo(index)\"\n                      :key=\"index\"\n                      v-tooltip\n                      data-toggle=\"tooltip\"\n                      data-placement=\"top\"\n                      :title=\"propertyGroup.group ? propertyGroup.group.names.name : $translate('Ceres::Template.singleItemPropertiesWithoutGroup')\">\n                </span>\n            </div>\n\n            <div\n                class=\"btn float-right shadow-none\"\n                @click=\"slideTo(activeSlide + 1)\"\n                :class=\"{'btn-primary': activeSlide < sortedGroupedProperties.length - 1, 'btn-secondary disabled': activeSlide >= sortedGroupedProperties.length - 1 }\"\n                tabindex=\"0\"\n                data-testing=\"order-property-next-slide\">\n                <span class=\"fa fa-chevron-right\"></span>\n            </div>\n        </div>\n    </div>\n</template>\n\n<script>\nimport OrderPropertyListGroup from \"./OrderPropertyListGroup.vue\";\n\nexport default {\n    name: \"order-property-list\",\n\n    components:\n    {\n        \"order-property-list-group\": OrderPropertyListGroup\n    },\n\n    props:\n    {\n        paddingClasses:\n        {\n            type: String,\n            default: null\n        },\n        paddingInlineStyles:\n        {\n            type: String,\n            default: null\n        },\n    },\n\n    inject: {\n        itemId: {\n            default: null\n        }\n    },\n\n    data()\n    {\n        return {\n            activeSlide: 0,\n            touchedSlides: { 0: true }\n        };\n    },\n\n    mounted()\n    {\n        if (App.useVariationOrderProperties)\n        {\n            // go to first side, because variation order properties could differ between variations\n            document.addEventListener(\"onVariationChanged\", () => {\n                this.activeSlide = 0;\n            });\n        }\n    },\n\n    computed:\n    {\n        sortedGroupedProperties()\n        {\n            const groupedProperties = JSON.parse(JSON.stringify(this.variationGroupedProperties));\n\n            for (const group of groupedProperties)\n            {\n                this.sortGroupProperties(group);\n            }\n\n            return this.getSortedGroups(groupedProperties);\n        },\n\n        missingPropertyGroupIds()\n        {\n            if (this.variationMarkInvalidProperties)\n            {\n                return [...new Set(this.variationMissingProperties.map(property => property.group && property.group.id))];\n            }\n\n            return [];\n        },\n\n        variationGroupedProperties()\n        {\n            return this.$store.getters[`${this.itemId}/variationGroupedProperties`];\n        },\n\n        renderOrderPropertyList()\n        {\n            return this.variationGroupedProperties.length || App.isShopBuilder;\n        },\n\n        variationMissingProperties()\n        {\n            return this.$store.getters[`${this.itemId}/variationMissingProperties`];\n        },\n\n        variationMarkInvalidProperties() {\n            return this.$store.state.items[this.itemId] && this.$store.state.items[this.itemId].variationMarkInvalidProperties;\n        }\n    },\n\n    methods:\n    {\n        sortGroupProperties(group)\n        {\n            return group.properties.sort((prev, current) =>\n            {\n                if (prev.position > current.position)\n                {\n                    return 1;\n                }\n                if (prev.position < current.position)\n                {\n                    return -1;\n                }\n\n                return 0;\n            });\n        },\n\n        getSortedGroups(groups)\n        {\n            for (const group of groups)\n            {\n                const lowestPosition = group.properties.reduce((prev, current) => (prev.position < current.position) ? prev : current);\n\n                group.lowestPosition = lowestPosition.position;\n\n                const groupId = group.group ? group.group.id : null;\n\n                if (this.variationMarkInvalidProperties && this.missingPropertyGroupIds.includes(groupId))\n                {\n                    group.hasError = true;\n                }\n            }\n\n            return groups.sort((prev, current) =>\n            {\n                if (prev.lowestPosition > current.lowestPosition)\n                {\n                    return 1;\n                }\n                if (prev.lowestPosition < current.lowestPosition)\n                {\n                    return -1;\n                }\n\n                return 0;\n            });\n        },\n\n        slideTo(position)\n        {\n            if (position >= 0 && position < this.sortedGroupedProperties.length)\n            {\n                this.activeSlide = position;\n                this.touchedSlides[this.activeSlide] = true;\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!./OrderPropertyList.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!./OrderPropertyList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./OrderPropertyList.vue?vue&type=template&id=fe8a0bd2&\"\nimport script from \"./OrderPropertyList.vue?vue&type=script&lang=js&\"\nexport * from \"./OrderPropertyList.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(\"/home/runner/work/plugin-ceres/plugin-ceres/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('fe8a0bd2')) {\n      api.createRecord('fe8a0bd2', component.options)\n    } else {\n      api.reload('fe8a0bd2', component.options)\n    }\n    module.hot.accept(\"./OrderPropertyList.vue?vue&type=template&id=fe8a0bd2&\", function () {\n      api.rerender('fe8a0bd2', {\n        render: render,\n        staticRenderFns: staticRenderFns\n      })\n    })\n  }\n}\ncomponent.options.__file = \"resources/js/src/app/components/item/OrderPropertyList.vue\"\nexport default component.exports"],"sourceRoot":""}