{"version":3,"sources":["webpack:///./resources/js/src/app/components/wishList/WishList.vue?1ad0","webpack:///./resources/js/src/app/components/wishList/WishListItem.vue?6cf7","webpack:///resources/js/src/app/components/wishList/WishListItem.vue","webpack:///./resources/js/src/app/components/wishList/WishListItem.vue?3949","webpack:///./resources/js/src/app/components/wishList/WishListItem.vue","webpack:///./resources/js/src/app/components/wishList/WishListInactiveItem.vue?0147","webpack:///resources/js/src/app/components/wishList/WishListInactiveItem.vue","webpack:///./resources/js/src/app/components/wishList/WishListInactiveItem.vue?3623","webpack:///./resources/js/src/app/components/wishList/WishListInactiveItem.vue","webpack:///resources/js/src/app/components/wishList/WishList.vue","webpack:///./resources/js/src/app/components/wishList/WishList.vue?0839","webpack:///./resources/js/src/app/components/wishList/WishList.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","name","tag","_l","wishListItems","wishListItem","key","id","itemDetailsData","_v","staticClass","inactiveVariationIds","length","_s","$translate","_e","wishListInactiveItem","isLoading","showNetPrices","$ceres","config","global","shippingCostsCategoryId","href","title","_withStripped","_f","image","alt","unitPrice","unit","unitOfMeasurement","content","variation","mayShowUnitPrice","basePrice","names","attributes","attribute","index","value","variationProperties","propertyGroup","properties","property","cast","values","target","domProps","innerHTML","intervalOrderQuantity","min","minimumOrderQuantity","max","maximumOrderQuantity","timeout","interval","on","$event","quantity","click","removeItem","directives","rawName","filter","isSalable","hasActiveChildren","prop","isOderProperty","hasOrderProperties","hasRequiredOrderProperty","item","itemType","isDataFieldVisible","number","availability","class","texts","description","shortDescription","component","options","__file","removeInactiveItem","props","data","computed","created","wishListInactiveItemRaw","methods","components","wishListIds","mounted","initWishListItems"],"mappings":"kGAAA,IAAIA,EAAS,WACX,IAAIC,EAAMC,KACNC,EAAKF,EAAIG,eACTC,EAAKJ,EAAIK,MAAMD,IAAMF,EACzB,OAAOE,EACL,MACA,CACEA,EACE,mBACA,CAAEE,MAAO,CAAEC,KAAM,kBAAmBC,IAAK,QACzCR,EAAIS,GAAGT,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ACA,KACA,M,sVAuBF,EAAUR,QAAQC,OAAS,oECE3B,ICvCgN,EDuChN,CAEEjF,KAAM,YAENyF,WACF,CACI,aAAJ,EACI,qBDRW,E,SCWbN,MACF,CACI,gBACJ,CACM,KAAN,MACM,QAAN,WAAQ,MAAR,2CAIEE,SAAU,OAAZ,IAAY,CAAZ,CACIlF,cAAe,SAAnB,oCACIa,UAAW,SAAf,gCACI0E,YAAa,SAAjB,kCACIhF,qBAAsB,SAA1B,2CACIO,cAAe,SAAnB,oCAGE0E,QA3BF,WA6BIjG,KAAKkG,qBAGPJ,Q,+VAAF,IAEA,aACA,wBEnEI,EAAY,YACd,EACAhG,EX2GoB,IWzGpB,EACA,KACA,KACA,MAuBF,EAAUwF,QAAQC,OAAS,wDACZ,Y","file":"chunks/ceres-54.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    \"div\",\n    [\n      _c(\n        \"transition-group\",\n        { attrs: { name: \"list-transition\", tag: \"div\" } },\n        _vm._l(_vm.wishListItems, function(wishListItem) {\n          return _c(\"wish-list-item\", {\n            key: wishListItem.id,\n            attrs: {\n              \"wish-list-item-raw\": wishListItem,\n              \"item-details-data\": _vm.itemDetailsData\n            }\n          })\n        }),\n        1\n      ),\n      _vm._v(\" \"),\n      _c(\"div\", { staticClass: \"mt-5 mb-0\" }, [\n        _vm.inactiveVariationIds.length !== 0\n          ? _c(\"p\", { staticClass: \"h4\" }, [\n              _vm._v(\n                _vm._s(_vm.$translate(\"Ceres::Template.wishListInactiveItems\"))\n              )\n            ])\n          : _vm._e()\n      ]),\n      _vm._v(\" \"),\n      _c(\n        \"transition-group\",\n        { attrs: { name: \"list-transition\", tag: \"div\" } },\n        _vm._l(_vm.inactiveVariationIds, function(wishListInactiveItem) {\n          return _c(\"wish-list-inactive-item\", {\n            key: wishListInactiveItem,\n            attrs: {\n              \"wish-list-inactive-item-raw\": wishListInactiveItem,\n              \"item-details-data\": _vm.itemDetailsData\n            }\n          })\n        }),\n        1\n      ),\n      _vm._v(\" \"),\n      (!_vm.isLoading &&\n        (!_vm.wishListItems || _vm.wishListItems.length === 0)) ||\n      _vm.inactiveVariationIds.length !== 0\n        ? _c(\"p\", { staticClass: \"h4 text-muted text-center my-5\" }, [\n            _vm._v(_vm._s(_vm.$translate(\"Ceres::Template.wishListNoItems\")))\n          ])\n        : _vm._e(),\n      _vm._v(\" \"),\n      _vm.isLoading ? _c(\"loading-animation\") : _vm._e(),\n      _vm._v(\" \"),\n      _vm.wishListItems && _vm.wishListItems.length\n        ? _c(\"div\", { staticClass: \"vat small text-muted\" }, [\n            _vm._v(\n              \"\\n    \" +\n                _vm._s(_vm.$translate(\"Ceres::Template.itemFootnote\")) +\n                \" \"\n            ),\n            _vm.showNetPrices\n              ? _c(\"span\", [\n                  _vm._v(_vm._s(_vm.$translate(\"Ceres::Template.itemExclVAT\")))\n                ])\n              : _c(\"span\", [\n                  _vm._v(_vm._s(_vm.$translate(\"Ceres::Template.itemInclVAT\")))\n                ]),\n            _vm._v(\n              \"\\n    \" +\n                _vm._s(_vm.$translate(\"Ceres::Template.itemExclusive\")) +\n                \"\\n    \"\n            ),\n            _vm.$ceres.config.global.shippingCostsCategoryId > 0\n              ? _c(\n                  \"a\",\n                  {\n                    staticClass: \"text-appearance\",\n                    attrs: {\n                      \"data-toggle\": \"modal\",\n                      href: \"#shippingscosts\",\n                      title: _vm.$translate(\"Ceres::Template.itemShippingCosts\")\n                    }\n                  },\n                  [\n                    _vm._v(\n                      _vm._s(\n                        _vm.$translate(\"Ceres::Template.itemShippingCosts\")\n                      )\n                    )\n                  ]\n                )\n              : _c(\n                  \"a\",\n                  {\n                    attrs: {\n                      title: _vm.$translate(\"Ceres::Template.itemShippingCosts\")\n                    }\n                  },\n                  [\n                    _vm._v(\n                      _vm._s(\n                        _vm.$translate(\"Ceres::Template.itemShippingCosts\")\n                      )\n                    )\n                  ]\n                )\n          ])\n        : _vm._e()\n    ],\n    1\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(\"div\", { staticClass: \"basket-list-item py-3\" }, [\n    _c(\n      \"div\",\n      { staticClass: \"basket-item component-loading with-icon d-flex\" },\n      [\n        _c(\"div\", { staticClass: \"image-container\" }, [\n          _c(\n            \"a\",\n            { attrs: { href: _vm._f(\"itemURL\")(_vm.wishListItem) } },\n            [\n              _vm.image\n                ? _c(\"lazy-img\", {\n                    attrs: {\n                      \"image-url\": _vm.image,\n                      alt: _vm._f(\"itemName\")(_vm.wishListItem),\n                      title: _vm._f(\"itemName\")(_vm.wishListItem),\n                      \"picture-class\": \"d-block mw-100 mh-100\"\n                    }\n                  })\n                : _vm._e()\n            ],\n            1\n          )\n        ]),\n        _vm._v(\" \"),\n        _c(\"div\", { staticClass: \"meta-container-wrapper\" }, [\n          _c(\"div\", { staticClass: \"meta-container-wrapper-inner mb-2\" }, [\n            _c(\"div\", { staticClass: \"meta-container\" }, [\n              _c(\"div\", { staticClass: \"position-relative w-100\" }, [\n                _c(\n                  \"a\",\n                  {\n                    staticClass:\n                      \"item-name text-primary text-appearance small font-weight-bold text-break\",\n                    attrs: { href: _vm._f(\"itemURL\")(_vm.wishListItem) }\n                  },\n                  [\n                    _vm._v(\n                      \"\\n                            \" +\n                        _vm._s(_vm._f(\"itemName\")(_vm.wishListItem)) +\n                        \"\\n                        \"\n                    )\n                  ]\n                ),\n                _vm._v(\" \"),\n                _c(\"div\", { staticClass: \"item-base-price small\" }, [\n                  _vm._v(\n                    \"\\n                            \" +\n                      _vm._s(_vm._f(\"currency\")(_vm.unitPrice)) +\n                      \" \"\n                  ),\n                  _c(\"sup\", [_vm._v(\"*\")])\n                ]),\n                _vm._v(\" \"),\n                !(\n                  _vm.wishListItem.unit.unitOfMeasurement === \"C62\" &&\n                  _vm.wishListItem.unit.content === 1\n                ) && _vm.wishListItem.variation.mayShowUnitPrice\n                  ? _c(\n                      \"div\",\n                      { staticClass: \"item-small-prices text-muted small\" },\n                      [\n                        _c(\"div\", [\n                          _vm._v(\n                            \"\\n                                \" +\n                              _vm._s(_vm.basePrice) +\n                              \"\\n                            \"\n                          )\n                        ]),\n                        _vm._v(\" \"),\n                        _c(\"div\", [\n                          _c(\"strong\", [\n                            _vm._v(\n                              _vm._s(\n                                _vm.$translate(\n                                  \"Ceres::Template.wishListContent\"\n                                )\n                              ) + \": \"\n                            )\n                          ]),\n                          _vm._v(\n                            \"\\n                                \" +\n                              _vm._s(_vm.wishListItem.unit.content) +\n                              \" \" +\n                              _vm._s(_vm.wishListItem.unit.names.name) +\n                              \"\\n                            \"\n                          )\n                        ])\n                      ]\n                    )\n                  : _vm._e(),\n                _vm._v(\" \"),\n                _c(\n                  \"div\",\n                  { staticClass: \"item-small-prices small\" },\n                  _vm._l(_vm.wishListItem.attributes, function(\n                    attribute,\n                    index\n                  ) {\n                    return _c(\"div\", { key: index }, [\n                      _c(\"strong\", [\n                        _vm._v(_vm._s(attribute.attribute.names.name) + \": \")\n                      ]),\n                      _vm._v(\" \"),\n                      _c(\"span\", [_vm._v(_vm._s(attribute.value.names.name))])\n                    ])\n                  }),\n                  0\n                ),\n                _vm._v(\" \"),\n                _c(\n                  \"div\",\n                  { staticClass: \"item-small-prices text-muted small\" },\n                  [\n                    _vm._l(_vm.wishListItem.variationProperties, function(\n                      propertyGroup\n                    ) {\n                      return _vm._l(propertyGroup.properties, function(\n                        property,\n                        index\n                      ) {\n                        return _c(\"div\", { key: index }, [\n                          propertyGroup.name\n                            ? _c(\"strong\", [\n                                _vm._v(_vm._s(propertyGroup.name) + \": \")\n                              ])\n                            : _vm._e(),\n                          _vm._v(\" \"),\n                          _c(\"span\", [_vm._v(_vm._s(property.names.name))]),\n                          _vm._v(\" \"),\n                          property.cast === \"file\"\n                            ? _c(\"span\", [\n                                _c(\"a\", {\n                                  attrs: {\n                                    href: _vm._f(\"propertyFileUrl\")(\n                                      property.values.value\n                                    ),\n                                    target: \"_blank\"\n                                  },\n                                  domProps: {\n                                    innerHTML: _vm._s(property.values.value)\n                                  }\n                                })\n                              ])\n                            : _c(\"span\", {\n                                domProps: {\n                                  innerHTML: _vm._s(property.values.value)\n                                }\n                              })\n                        ])\n                      })\n                    })\n                  ],\n                  2\n                )\n              ])\n            ]),\n            _vm._v(\" \"),\n            _c(\"div\", { staticClass: \"basket-item-container-right\" }, [\n              _c(\n                \"div\",\n                { staticClass: \"qty-box-container ml-3\" },\n                [\n                  _c(\"quantity-input\", {\n                    attrs: {\n                      value: _vm.wishListItem.variation.intervalOrderQuantity,\n                      min: _vm.wishListItem.variation.minimumOrderQuantity,\n                      max: _vm.wishListItem.variation.maximumOrderQuantity,\n                      timeout: 0,\n                      interval:\n                        _vm.wishListItem.variation.intervalOrderQuantity,\n                      \"variation-id\": _vm.wishListItem.variation.id\n                    },\n                    on: {\n                      \"quantity-change\": function($event) {\n                        _vm.quantity = $event\n                      }\n                    }\n                  })\n                ],\n                1\n              ),\n              _vm._v(\" \"),\n              _c(\"div\", { staticClass: \"price-box text-right my-1 ml-2\" }, [\n                _c(\n                  \"div\",\n                  {\n                    staticClass:\n                      \"item-total-price font-weight-bold text-nowrap d-flex align-items-center\"\n                  },\n                  [\n                    _vm._v(\n                      \"\\n                            \" +\n                        _vm._s(\n                          _vm._f(\"currency\")(_vm.quantity * _vm.unitPrice)\n                        ) +\n                        \" \"\n                    ),\n                    _c(\"sup\", [_vm._v(\"*\")])\n                  ]\n                ),\n                _vm._v(\" \"),\n                _c(\n                  \"div\",\n                  {\n                    staticClass: \"btn btn-sm text-danger p-0\",\n                    attrs: { \"data-testing\": \"remove-wlist-item\" },\n                    on: {\n                      click: function($event) {\n                        return _vm.removeItem()\n                      }\n                    }\n                  },\n                  [\n                    _vm._v(\n                      \"\\n                            \" +\n                        _vm._s(\n                          _vm.$translate(\"Ceres::Template.wishListDelete\")\n                        ) +\n                        \"\\n                            \"\n                    ),\n                    _c(\"i\", {\n                      directives: [\n                        {\n                          name: \"waiting-animation-infinite\",\n                          rawName: \"v-waiting-animation-infinite\"\n                        }\n                      ],\n                      staticClass: \"fa fa-trash-o default-float\",\n                      attrs: { \"aria-hidden\": \"true\" }\n                    })\n                  ]\n                )\n              ])\n            ])\n          ]),\n          _vm._v(\" \"),\n          _c(\n            \"div\",\n            { staticClass: \"text-right\" },\n            [\n              _c(\"add-to-basket\", {\n                attrs: {\n                  \"variation-id\": _vm.wishListItem.variation.id,\n                  \"is-salable\":\n                    !!_vm.wishListItem.filter &&\n                    _vm.wishListItem.filter.isSalable,\n                  \"has-children\":\n                    !!_vm.wishListItem.filter &&\n                    _vm.wishListItem.filter.hasActiveChildren,\n                  \"interval-quantity\":\n                    _vm.wishListItem.variation.intervalOrderQuantity || 1,\n                  \"minimum-quantity\":\n                    _vm.wishListItem.variation.minimumOrderQuantity,\n                  \"maximum-quantity\":\n                    !!_vm.wishListItem.variation.maximumOrderQuantity &&\n                    _vm.wishListItem.variation.maximumOrderQuantity > 0\n                      ? _vm.wishListItem.variation.maximumOrderQuantity\n                      : null,\n                  \"order-properties\": _vm.wishListItem.properties.filter(\n                    function(prop) {\n                      return prop.property.isOderProperty\n                    }\n                  ),\n                  \"has-order-properties\": _vm.wishListItem.hasOrderProperties,\n                  \"has-required-order-property\":\n                    _vm.wishListItem.hasRequiredOrderProperty,\n                  \"use-large-scale\": false,\n                  \"show-quantity\": false,\n                  \"item-url\": _vm._f(\"itemURL\")(_vm.wishListItem),\n                  \"has-price\": _vm._f(\"hasItemDefaultPrice\")(_vm.wishListItem),\n                  \"is-wish-list\": true,\n                  \"prop-quantity\": _vm.quantity,\n                  \"item-type\": _vm.wishListItem.item.itemType\n                }\n              })\n            ],\n            1\n          ),\n          _vm._v(\" \"),\n          _c(\n            \"div\",\n            { staticClass: \"small\" },\n            [\n              _vm.isDataFieldVisible(\"wishListItem.item.id\")\n                ? [\n                    _c(\"div\", { staticClass: \"mt-3\" }, [\n                      _c(\"strong\", [\n                        _vm._v(\n                          _vm._s(\n                            _vm.$translate(\"Ceres::Template.wishListItemId\")\n                          ) + \":\"\n                        )\n                      ]),\n                      _vm._v(\" \"),\n                      _c(\"span\", [_vm._v(_vm._s(_vm.wishListItem.item.id))])\n                    ])\n                  ]\n                : _vm._e(),\n              _vm._v(\" \"),\n              _vm.isDataFieldVisible(\"wishListItem.variation.number\")\n                ? [\n                    _vm.wishListItem.variation.number\n                      ? _c(\"div\", [\n                          _c(\"strong\", [\n                            _vm._v(\n                              _vm._s(\n                                _vm.$translate(\n                                  \"Ceres::Template.wishListItemNumber\"\n                                )\n                              ) + \":\"\n                            )\n                          ]),\n                          _vm._v(\" \"),\n                          _c(\"span\", [\n                            _vm._v(_vm._s(_vm.wishListItem.variation.number))\n                          ])\n                        ])\n                      : _vm._e()\n                  ]\n                : _vm._e(),\n              _vm._v(\" \"),\n              _vm.isDataFieldVisible(\"wishListItem.variation.availability\")\n                ? [\n                    _vm.wishListItem.variation.availability.names.name\n                      ? _c(\"div\", [\n                          _c(\"strong\", [\n                            _vm._v(\n                              _vm._s(\n                                _vm.$translate(\n                                  \"Ceres::Template.wishListAvailability\"\n                                )\n                              ) + \":\"\n                            )\n                          ]),\n                          _vm._v(\" \"),\n                          _c(\n                            \"span\",\n                            {\n                              staticClass: \"badge\",\n                              class:\n                                \"availability-\" +\n                                _vm.wishListItem.variation.availability.id\n                            },\n                            [\n                              _vm._v(\n                                _vm._s(\n                                  _vm.wishListItem.variation.availability.names\n                                    .name\n                                )\n                              )\n                            ]\n                          )\n                        ])\n                      : _vm._e()\n                  ]\n                : _vm._e(),\n              _vm._v(\" \"),\n              _vm.isDataFieldVisible(\"wishListItem.texts.description\")\n                ? [\n                    _vm.wishListItem.texts.description\n                      ? _c(\"p\", {\n                          staticClass: \"my-3\",\n                          domProps: {\n                            innerHTML: _vm._s(\n                              _vm.wishListItem.texts.description\n                            )\n                          }\n                        })\n                      : _vm._e()\n                  ]\n                : _vm._e(),\n              _vm._v(\" \"),\n              _vm.isDataFieldVisible(\"wishListItem.texts.shortDescription\")\n                ? [\n                    _vm.wishListItem.texts.shortDescription\n                      ? _c(\"p\", {\n                          staticClass: \"my-3\",\n                          domProps: {\n                            innerHTML: _vm._s(\n                              _vm.wishListItem.texts.shortDescription\n                            )\n                          }\n                        })\n                      : _vm._e()\n                  ]\n                : _vm._e()\n            ],\n            2\n          )\n        ])\n      ]\n    )\n  ])\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","<template>\n    <div class=\"basket-list-item py-3\">\n        <div class=\"basket-item component-loading with-icon d-flex\">\n            <div class=\"image-container\">\n                <a :href=\"wishListItem | itemURL\">\n                    <lazy-img\n                        v-if=\"image\"\n                        :image-url=\"image\"\n                        :alt=\"wishListItem | itemName\"\n                        :title=\"wishListItem | itemName\"\n                        picture-class=\"d-block mw-100 mh-100\" />\n                </a>\n            </div>\n\n            <div class=\"meta-container-wrapper\">\n                <div class=\"meta-container-wrapper-inner mb-2\">\n                    <div class=\"meta-container\">\n                        <div class=\"position-relative w-100\">\n                            <a :href=\"wishListItem | itemURL\" class=\"item-name text-primary text-appearance small font-weight-bold text-break\">\n                                {{ wishListItem | itemName }}\n                            </a>\n\n                            <div class=\"item-base-price small\">\n                                {{ unitPrice | currency }}&nbsp;<sup>*</sup>\n                            </div>\n\n                            <div class=\"item-small-prices text-muted small\" v-if=\"!(wishListItem.unit.unitOfMeasurement === 'C62' && wishListItem.unit.content === 1) && wishListItem.variation.mayShowUnitPrice\">\n                                <div>\n                                    {{ basePrice }}\n                                </div>\n                                <div>\n                                    <strong>{{ $translate(\"Ceres::Template.wishListContent\") }}: </strong>\n                                    {{ wishListItem.unit.content }} {{ wishListItem.unit.names.name }}\n                                </div>\n                            </div>\n\n                            <div class=\"item-small-prices small\">\n                                <div v-for=\"(attribute, index) in wishListItem.attributes\" :key=\"index\">\n                                    <strong>{{ attribute.attribute.names.name }}: </strong>\n                                    <span>{{ attribute.value.names.name }}</span>\n                                </div>\n                            </div>\n\n                            <div class=\"item-small-prices text-muted small\">\n                                <template v-for=\"propertyGroup in wishListItem.variationProperties\">\n                                    <div v-for=\"(property, index) in propertyGroup.properties\" :key=\"index\">\n                                        <strong v-if=\"propertyGroup.name\">{{ propertyGroup.name }}: </strong>\n                                        <span>{{ property.names.name }}</span>\n                                        <span v-if=\"property.cast === 'file'\">\n                                            <a :href=\"property.values.value | propertyFileUrl\" v-html=\"property.values.value\" target=\"_blank\"></a>\n                                        </span>\n                                        <span v-else v-html=\"property.values.value\"></span>\n                                    </div>\n                                </template>\n                            </div>\n                        </div>\n                    </div>\n                    <div class=\"basket-item-container-right\">\n                        <div class=\"qty-box-container ml-3\">\n                            <quantity-input\n                                @quantity-change=\"quantity = $event\"\n                                :value=\"wishListItem.variation.intervalOrderQuantity\"\n                                :min=\"wishListItem.variation.minimumOrderQuantity\"\n                                :max=\"wishListItem.variation.maximumOrderQuantity\"\n                                :timeout=\"0\"\n                                :interval=\"wishListItem.variation.intervalOrderQuantity\"\n                                :variation-id=\"wishListItem.variation.id\">\n                            </quantity-input>\n                        </div>\n\n                        <div class=\"price-box text-right my-1 ml-2\">\n                            <div class=\"item-total-price font-weight-bold text-nowrap d-flex align-items-center\">\n                                {{ quantity * unitPrice | currency }}&nbsp;<sup>*</sup>\n                            </div>\n\n                            <div class=\"btn btn-sm text-danger p-0\" @click=\"removeItem()\" data-testing=\"remove-wlist-item\">\n                                {{ $translate(\"Ceres::Template.wishListDelete\") }}\n                                <i v-waiting-animation-infinite class=\"fa fa-trash-o default-float\" aria-hidden=\"true\"></i>\n                            </div>\n                        </div>\n                    </div>\n                </div>\n\n                <div class=\"text-right\">\n                    <add-to-basket\n                        :variation-id=\"wishListItem.variation.id\"\n                        :is-salable=\"!!wishListItem.filter && wishListItem.filter.isSalable\"\n                        :has-children=\"!!wishListItem.filter && wishListItem.filter.hasActiveChildren\"\n                        :interval-quantity=\"wishListItem.variation.intervalOrderQuantity || 1\"\n                        :minimum-quantity=\"wishListItem.variation.minimumOrderQuantity\"\n                        :maximum-quantity=\"!!wishListItem.variation.maximumOrderQuantity && wishListItem.variation.maximumOrderQuantity > 0 ? wishListItem.variation.maximumOrderQuantity : null\"\n                        :order-properties=\"wishListItem.properties.filter((prop) => prop.property.isOderProperty)\"\n                        :has-order-properties=\"wishListItem.hasOrderProperties\"\n                        :has-required-order-property=\"wishListItem.hasRequiredOrderProperty\"\n                        :use-large-scale=\"false\"\n                        :show-quantity=\"false\"\n                        :item-url=\"wishListItem | itemURL\"\n                        :has-price=\"wishListItem | hasItemDefaultPrice\"\n                        :is-wish-list=\"true\"\n                        :prop-quantity=\"quantity\"\n                        :item-type=\"wishListItem.item.itemType\">\n                    </add-to-basket>\n                </div>\n\n                <div class=\"small\">\n                    <template v-if=\"isDataFieldVisible('wishListItem.item.id')\">\n                        <div class=\"mt-3\">\n                            <strong>{{ $translate(\"Ceres::Template.wishListItemId\") }}:</strong>\n                            <span>{{ wishListItem.item.id }}</span>\n                        </div>\n                    </template>\n\n                    <template v-if=\"isDataFieldVisible('wishListItem.variation.number')\">\n                        <div v-if=\"wishListItem.variation.number\">\n                            <strong>{{ $translate(\"Ceres::Template.wishListItemNumber\") }}:</strong>\n                            <span>{{ wishListItem.variation.number }}</span>\n                        </div>\n                    </template>\n\n                    <template v-if=\"isDataFieldVisible('wishListItem.variation.availability')\">\n                        <div v-if=\"wishListItem.variation.availability.names.name\">\n                            <strong>{{ $translate(\"Ceres::Template.wishListAvailability\") }}:</strong>\n                            <span class=\"badge\" :class=\"'availability-' + wishListItem.variation.availability.id\">{{ wishListItem.variation.availability.names.name }}</span>\n                        </div>\n                    </template>\n\n                    <template v-if=\"isDataFieldVisible('wishListItem.texts.description')\">\n                        <p class=\"my-3\" v-if=\"wishListItem.texts.description\" v-html=\"wishListItem.texts.description\"></p>\n                    </template>\n\n                    <template v-if=\"isDataFieldVisible('wishListItem.texts.shortDescription')\">\n                        <p class=\"my-3\" v-if=\"wishListItem.texts.shortDescription\" v-html=\"wishListItem.texts.shortDescription\"></p>\n                    </template>\n                </div>\n            </div>\n        </div>\n    </div>\n</template>\n\n<script>\nimport NotificationService from \"../../services/NotificationService\";\nimport { mapState, mapActions } from \"vuex\";\nimport { isNullOrUndefined } from \"../../helper/utils\";\n\nexport default {\n\n    name: \"wish-list-item\",\n\n    props:\n    {\n        imageAccessor:\n        {\n            type: String,\n            default: \"urlPreview\"\n        },\n        itemDetailsData:\n        {\n            type: Array,\n            default: () => [\"wishListItem.variation.availability\"]\n        },\n        wishListItemRaw: Object\n    },\n\n    data()\n    {\n        return {\n            wishListItem: null,\n            quantity: 1\n        };\n    },\n\n    computed:\n    {\n        image()\n        {\n            const itemImages = this.$options.filters.itemImages(this.wishListItem.images, this.imageAccessor);\n\n            return this.$options.filters.itemImage(itemImages);\n        },\n\n        unitPrice()\n        {\n            if (!isNullOrUndefined(this.wishListItem.prices.specialOffer))\n            {\n                return this.wishListItem.prices.specialOffer.unitPrice.value;\n            }\n\n            return this.wishListItem.prices.default.unitPrice.value;\n        },\n\n        basePrice()\n        {\n            if (!isNullOrUndefined(this.wishListItem.prices.specialOffer))\n            {\n                return this.wishListItem.prices.specialOffer.basePrice;\n            }\n\n            return this.wishListItem.prices.default.basePrice;\n        },\n\n        ...mapState({\n            wishListItems: state => state.wishList.wishListItems\n        })\n    },\n\n    created()\n    {\n        this.wishListItem = this.wishListItemRaw.data;\n    },\n\n    methods:\n    {\n        isDataFieldVisible(value)\n        {\n            return this.itemDetailsData.includes(value);\n        },\n\n        removeItem()\n        {\n            const item =\n            {\n                id: this.wishListItem.variation.id,\n                wishListItem: this.wishListItemRaw,\n                index: this.wishListItems.findIndex(item => item.id === this.wishListItemRaw.id)\n            };\n\n            this.removeWishListItem(item)\n                .then(() => NotificationService.success(\n                    this.$translate(\"Ceres::Template.wishListRemoved\")\n                ).closeAfter(3000));\n        },\n\n        ...mapActions([\n            \"removeWishListItem\"\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!./WishListItem.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!./WishListItem.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./WishListItem.vue?vue&type=template&id=adce5d40&\"\nimport script from \"./WishListItem.vue?vue&type=script&lang=js&\"\nexport * from \"./WishListItem.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('adce5d40')) {\n      api.createRecord('adce5d40', component.options)\n    } else {\n      api.reload('adce5d40', component.options)\n    }\n    module.hot.accept(\"./WishListItem.vue?vue&type=template&id=adce5d40&\", function () {\n      api.rerender('adce5d40', {\n        render: render,\n        staticRenderFns: staticRenderFns\n      })\n    })\n  }\n}\ncomponent.options.__file = \"resources/js/src/app/components/wishList/WishListItem.vue\"\nexport default component.exports","var render = function() {\n  var _vm = this\n  var _h = _vm.$createElement\n  var _c = _vm._self._c || _h\n  return _c(\"div\", { staticClass: \"basket-list-item py-3\" }, [\n    _c(\n      \"div\",\n      { staticClass: \"basket-item component-loading with-icon d-flex\" },\n      [\n        _c(\"div\", { staticClass: \"meta-container-wrapper\" }, [\n          _c(\"div\", { staticClass: \"meta-container-wrapper-inner mb-2 ml-1\" }, [\n            _c(\"div\", { staticClass: \"position-relative w-75\" }, [\n              _c(\"div\", { staticClass: \"small\" }, [\n                _c(\"strong\", [\n                  _vm._v(\n                    _vm._s(\n                      _vm.$translate(\"Ceres::Template.wishListInactiveItemId\")\n                    ) + \":\"\n                  )\n                ]),\n                _vm._v(\" \"),\n                _c(\"span\", [_vm._v(_vm._s(_vm.wishListInactiveItem))])\n              ]),\n              _vm._v(\" \"),\n              _c(\"div\", { staticClass: \"small\" }, [\n                _c(\"strong\", [\n                  _vm._v(\n                    _vm._s(\n                      _vm.$translate(\"Ceres::Template.wishListAvailability\")\n                    ) + \":\"\n                  )\n                ]),\n                _vm._v(\" \"),\n                _c(\"span\", { staticClass: \"badge badge-danger\" }, [\n                  _vm._v(\n                    _vm._s(\n                      _vm.$translate(\n                        \"Ceres::Template.wishListInactiveItemAvailability\"\n                      )\n                    )\n                  )\n                ])\n              ])\n            ])\n          ])\n        ]),\n        _vm._v(\" \"),\n        _c(\"div\", { staticClass: \"basket-item-container-right w-25\" }, [\n          _c(\n            \"div\",\n            {\n              staticClass: \"btn btn-sm text-danger p-0 float-right\",\n              attrs: { \"data-testing\": \"remove-wlist-item\" },\n              on: {\n                click: function($event) {\n                  return _vm.removeInactiveItem()\n                }\n              }\n            },\n            [\n              _vm._v(\n                \"\\n          \" +\n                  _vm._s(_vm.$translate(\"Ceres::Template.wishListDelete\")) +\n                  \"\\n          \"\n              ),\n              _c(\"i\", {\n                directives: [\n                  {\n                    name: \"waiting-animation-infinite\",\n                    rawName: \"v-waiting-animation-infinite\"\n                  }\n                ],\n                staticClass: \"fa fa-trash-o default-float\",\n                attrs: { \"aria-hidden\": \"true\" }\n              })\n            ]\n          )\n        ])\n      ]\n    )\n  ])\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","<template>\n  <div class=\"basket-list-item py-3\">\n    <div class=\"basket-item component-loading with-icon d-flex\">\n      <div class=\"meta-container-wrapper\">\n        <div class=\"meta-container-wrapper-inner mb-2 ml-1\">\n          <div class=\"position-relative w-75\">\n            <div class=\"small\">\n              <strong>{{ $translate(\"Ceres::Template.wishListInactiveItemId\")}}:</strong>\n              <span>{{ wishListInactiveItem }}</span>\n            </div>\n            <div class=\"small\">\n              <strong>{{ $translate(\"Ceres::Template.wishListAvailability\") }}:</strong>\n              <span\n                  class=\"badge badge-danger\">{{ $translate(\"Ceres::Template.wishListInactiveItemAvailability\")}}</span>\n            </div>\n          </div>\n        </div>\n      </div>\n      <div class=\"basket-item-container-right w-25\">\n          <div class=\"btn btn-sm text-danger p-0 float-right\" @click=\"removeInactiveItem()\" data-testing=\"remove-wlist-item\">\n            {{ $translate(\"Ceres::Template.wishListDelete\") }}\n            <i v-waiting-animation-infinite class=\"fa fa-trash-o default-float\" aria-hidden=\"true\"></i>\n          </div>\n      </div>\n    </div>\n  </div>\n</template>\n\n<script>\nimport NotificationService from \"../../services/NotificationService\";\nimport {mapState, mapActions} from \"vuex\";\nimport {isNullOrUndefined} from \"../../helper/utils\";\n\nexport default {\n\n  name: \"wish-list-inactive-item\",\n\n  props:\n      {\n        itemDetailsData:\n            {\n              type: Array,\n              default: () => [\"wishListItem.variation.availability\"]\n            },\n\n        wishListInactiveItemRaw: Number,\n      },\n\n  data() {\n    return {\n      wishListItem: null,\n      quantity: 1\n    };\n  },\n\n  computed:\n      {\n        ...mapState({\n          wishListItems: state => state.wishList.wishListItems,\n          wishListIds: state => state.wishListIds\n        })\n      },\n\n  created()\n  {\n    this.wishListInactiveItem = this.wishListInactiveItemRaw;\n  },\n\n  methods:\n      {\n        removeInactiveItem()\n        {\n          this.removeInactiveWishListItem({ id: this.wishListInactiveItem})\n              .then(() => NotificationService.success(\n                  this.$translate(\"Ceres::Template.wishListRemoved\")\n              ).closeAfter(3000));\n        },\n\n        ...mapActions([\n          \"removeInactiveWishListItem\"\n        ])\n      }\n}\n</script>","import mod from \"-!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WishListInactiveItem.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!./WishListInactiveItem.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./WishListInactiveItem.vue?vue&type=template&id=5edff1eb&\"\nimport script from \"./WishListInactiveItem.vue?vue&type=script&lang=js&\"\nexport * from \"./WishListInactiveItem.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('5edff1eb')) {\n      api.createRecord('5edff1eb', component.options)\n    } else {\n      api.reload('5edff1eb', component.options)\n    }\n    module.hot.accept(\"./WishListInactiveItem.vue?vue&type=template&id=5edff1eb&\", function () {\n      api.rerender('5edff1eb', {\n        render: render,\n        staticRenderFns: staticRenderFns\n      })\n    })\n  }\n}\ncomponent.options.__file = \"resources/js/src/app/components/wishList/WishListInactiveItem.vue\"\nexport default component.exports","<template>\n  <div>\n    <transition-group name=\"list-transition\" tag=\"div\">\n      <wish-list-item\n          v-for=\"wishListItem in wishListItems\"\n          :key=\"wishListItem.id\"\n          :wish-list-item-raw=\"wishListItem\"\n          :item-details-data=\"itemDetailsData\">\n      </wish-list-item>\n    </transition-group>\n    <div class=\"mt-5 mb-0\">\n      <p class=\"h4\" v-if=\"inactiveVariationIds.length !== 0\">{{ $translate(\"Ceres::Template.wishListInactiveItems\") }}</p>\n    </div>\n    <transition-group name=\"list-transition\" tag=\"div\">\n      <wish-list-inactive-item\n          v-for=\"wishListInactiveItem in inactiveVariationIds\"\n          :key=\"wishListInactiveItem\"\n          :wish-list-inactive-item-raw=\"wishListInactiveItem\"\n          :item-details-data=\"itemDetailsData\">\n      </wish-list-inactive-item>\n    </transition-group>\n    <p class=\"h4 text-muted text-center my-5\" v-if=\"!isLoading && (!wishListItems || wishListItems.length === 0) || inactiveVariationIds.length !== 0\">{{ $translate(\"Ceres::Template.wishListNoItems\") }}</p>\n    <loading-animation v-if=\"isLoading\"></loading-animation>\n\n    <div v-if=\"wishListItems && wishListItems.length\" class=\"vat small text-muted\">\n      {{ $translate(\"Ceres::Template.itemFootnote\") }} <span v-if=\"showNetPrices\">{{ $translate(\"Ceres::Template.itemExclVAT\") }}</span>\n      <span v-else>{{ $translate(\"Ceres::Template.itemInclVAT\") }}</span>\n      {{ $translate(\"Ceres::Template.itemExclusive\") }}\n      <a v-if=\"$ceres.config.global.shippingCostsCategoryId > 0\" data-toggle=\"modal\" href=\"#shippingscosts\" class=\"text-appearance\" :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  </div>\n</template>\n\n<script>\nimport { mapState, mapActions } from \"vuex\";\nimport WishListItem from \"./WishListItem.vue\";\nimport WishListInactiveItem from \"./WishListInactiveItem.vue\";\n\nexport default {\n\n  name: \"wish-list\",\n\n  components:\n      {\n        WishListItem,\n        WishListInactiveItem\n      },\n\n  props:\n      {\n        itemDetailsData:\n            {\n              type: Array,\n              default: () => [\"wishListItem.variation.availability\"]\n            }\n      },\n\n  computed: mapState({\n    wishListItems: state => state.wishList.wishListItems,\n    isLoading: state => state.wishList.isLoading,\n    wishListIds: state => state.wishList.wishListIds,\n    inactiveVariationIds: state => state.wishList.inactiveVariationIds,\n    showNetPrices: state => state.basket.showNetPrices\n  }),\n\n  mounted()\n  {\n    this.initWishListItems();\n  },\n\n  methods:\n      {\n        ...mapActions([\n          \"initWishListItems\"\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!./WishList.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!./WishList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./WishList.vue?vue&type=template&id=efb6f3a6&\"\nimport script from \"./WishList.vue?vue&type=script&lang=js&\"\nexport * from \"./WishList.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('efb6f3a6')) {\n      api.createRecord('efb6f3a6', component.options)\n    } else {\n      api.reload('efb6f3a6', component.options)\n    }\n    module.hot.accept(\"./WishList.vue?vue&type=template&id=efb6f3a6&\", function () {\n      api.rerender('efb6f3a6', {\n        render: render,\n        staticRenderFns: staticRenderFns\n      })\n    })\n  }\n}\ncomponent.options.__file = \"resources/js/src/app/components/wishList/WishList.vue\"\nexport default component.exports"],"sourceRoot":""}