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iBtC,EAAAA,EAAAA,IAAA,EAAvDmC,EAAAA,EAAAA,IAAK,CAAEC,KAAM6E,OAAQ3E,UAAU,EAAO4E,QAAS,QAAO,gCAFtCvE,GAAiB3C,EAAAA,EAAAA,IAAA,EAHrCyC,EAAAA,EAAAA,IAAU,CACPlC,KAAM,uBAEWoC,G,UCV+c,I,wBCQheC,GAAY,OACd,EACAlC,EACAkB,GACA,EACA,KACA,KACA,MAIF,QAAegB,EAAiB,O,kBChBhC,IAAIuE,EAAU,EAAQ,MACnBA,EAAQC,aAAYD,EAAUA,EAAQD,SACnB,kBAAZC,IAAsBA,EAAU,CAAC,CAACjN,EAAOC,GAAIgN,EAAS,MAC7DA,EAAQE,SAAQnN,EAAOoN,QAAUH,EAAQE,QAE5C,IAAIE,EAAM,WACGA,EAAI,WAAYJ,GAAS,EAAM,CAAC,WAAY,EAAM,YAAa,G,kBCN5E,IAAIA,EAAU,EAAQ,OACnBA,EAAQC,aAAYD,EAAUA,EAAQD,SACnB,kBAAZC,IAAsBA,EAAU,CAAC,CAACjN,EAAOC,GAAIgN,EAAS,MAC7DA,EAAQE,SAAQnN,EAAOoN,QAAUH,EAAQE,QAE5C,IAAIE,EAAM,WACGA,EAAI,WAAYJ,GAAS,EAAM,CAAC,WAAY,EAAM,YAAa,G","sources":["webpack://website-js/./src/components/ProductListCustom.vue?7cb1","webpack://website-js/./src/components/utils/ProductCardCustom.vue?4169","webpack://website-js/./src/services/ProductListFilterService.ts","webpack://website-js/./src/store/modules/ProductListFilterModule.ts","webpack://website-js/./src/components/ProductListCustom.vue","webpack://website-js/./src/components/ProductListCustom.vue?e437","webpack://website-js/./src/components/ProductListCustom.vue?b5c1","webpack://website-js/./src/components/ProductListCustom.vue?aaee","webpack://website-js/./src/components/utils/ProductCardCustom.vue","webpack://website-js/./src/components/utils/ProductCardCustom.vue?5e1c","webpack://website-js/./src/components/utils/ProductCardCustom.vue?39f0","webpack://website-js/./src/components/utils/ProductCardCustom.vue?3bc3","webpack://website-js/./src/components/ProductListCustom.vue?04da","webpack://website-js/./src/components/utils/ProductCardCustom.vue?258f"],"sourcesContent":["// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.spinner-container{padding:2rem;display:flex;flex-direction:column;align-items:center;justify-content:center}.product-list-grid{display:grid;grid-template-columns:1fr;gap:15px;padding:15px 0}`, \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.product-preview-transition-container{position:absolute;inset:0;border:0!important;background:#f8f8f8;background:linear-gradient(#f8f8f8,#fff 400px);outline:10px solid #fff;pointer-events:none;opacity:1;transition:opacity .5s ease-in;z-index:1}.product-preview-transition-container.rdy{opacity:0}.product-preview{background:#fff}.product-preview-texts{padding:15px 0}`, \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","import { CustomIndexConfig, FilterModel, IndexInfoModel } from '@/models/Filter';\r\nimport axios, { AxiosResponse } from 'axios';\r\n\r\nexport default class ProductListFilterService {\r\n private profileId: string = (window as any).CbxApiContextKey;\r\n private endpoint: string;\r\n private workerEndpoint: string;\r\n private productSearchEndpoint: string;\r\n\r\n constructor(args: any = {}) {\r\n if (args.profileId) this.profileId = args.profileId;\r\n this.endpoint = `/contextapi/${this.profileId}/v1/facets`;\r\n this.workerEndpoint = `/api/workers`;\r\n this.productSearchEndpoint = `/contextapi/${this.profileId}/v1/product/productsearch`;\r\n }\r\n\r\n public async getFilterResult(payload: FilterModel, includePreviewSpecs = false): Promise {\r\n // remove unnecessary properties from the payload before sending\r\n const p: FilterModel = {\r\n categories: payload.categories,\r\n rootcategory: payload.rootcategory,\r\n count: payload.count,\r\n offset: payload.offset,\r\n searchphrase: payload.searchphrase,\r\n selections: payload.selections,\r\n sortoptions: payload.sortoptions,\r\n restrictdoctypes: payload.restrictdoctypes,\r\n includedescendantcategories: payload.includedescendantcategories,\r\n fields: payload.fields,\r\n usefuzzymatch: false,\r\n };\r\n\r\n if (payload.usecontentrelationsasselection) {\r\n p.usecontentrelationsasselection = true;\r\n p.contentrelationnodeid = payload.contentrelationnodeid;\r\n }\r\n\r\n try {\r\n const res: AxiosResponse = await axios.post(`${this.productSearchEndpoint}?includepreviewspecs=${includePreviewSpecs}`, p);\r\n return res.data;\r\n } catch (e) {\r\n return {};\r\n }\r\n }\r\n\r\n public async getIndexInfo(): Promise {\r\n try {\r\n const res: AxiosResponse = await axios.get(`${this.endpoint}/getindexinfo`);\r\n return res.data;\r\n } catch (e) {\r\n return {};\r\n }\r\n }\r\n\r\n public async rebuildIndex(): Promise {\r\n try {\r\n await axios.get(`${this.workerEndpoint}/startjob?job=consolidate-index`);\r\n return true;\r\n } catch (e) {\r\n return false;\r\n }\r\n }\r\n\r\n public async updateCustomConfig(payload: CustomIndexConfig): Promise {\r\n try {\r\n await axios.post(`${this.endpoint}/updatecustomconfig`, payload);\r\n return true;\r\n } catch (e) {\r\n return false;\r\n }\r\n }\r\n\r\n public async nukeIndex(): Promise {\r\n try {\r\n await axios.get(`${this.workerEndpoint}/startjob?job=nuke-index`);\r\n return true;\r\n } catch (e) {\r\n return false;\r\n }\r\n }\r\n}\r\n","import { Module, VuexModule, Mutation, getModule, Action } from 'vuex-module-decorators';\r\nimport store from '@/store';\r\nimport ProductListFilterService from '@/services/ProductListFilterService';\r\nimport MobileNavigationService from '@/services/MobileNavigationService';\r\nimport { FilterModel, FilterModelField, FilterRequestSelection, ProductListOptions, SortOption } from '@/models/Filter';\r\nimport { CbxVariablesModule } from './CbxVariablesModule';\r\nimport ProductService from '@/services/ProductService';\r\n\r\n@Module({\r\n store,\r\n dynamic: true,\r\n name: 'productListFilter',\r\n namespaced: true,\r\n})\r\nclass ProductListFilterModule extends VuexModule {\r\n private svc: ProductListFilterService = new ProductListFilterService();\r\n private mns: MobileNavigationService = new MobileNavigationService();\r\n private productService: ProductService = new ProductService();\r\n // @ts-ignore\r\n private filterModel: FilterModel = {\r\n rootcategory: null,\r\n categories: CbxVariablesModule.VARIABLES.currentCategoryId.length\r\n ? [CbxVariablesModule.VARIABLES.currentCategoryId]\r\n : [],\r\n fields: [],\r\n hits: [],\r\n selections: [],\r\n searchphrase: '',\r\n count: 20,\r\n offset: 0,\r\n hitcount: 0,\r\n sortoptions: [],\r\n restrictdoctypes: ['PRODUCT'],\r\n includedescendantcategories: false,\r\n usecontentrelationsasselection: false,\r\n contentrelationnodeid: '',\r\n };\r\n private displayMobile: boolean = false;\r\n private expandedField: FilterModelField = null;\r\n private productListOptions: ProductListOptions = {\r\n sortoptions: [],\r\n selectedsortoption: '',\r\n pagelimitoptions: [],\r\n selectedpagelimitoption: 0,\r\n };\r\n\r\n private isLoading: boolean = false;\r\n\r\n get IS_LOADING(): boolean {\r\n return this.isLoading;\r\n }\r\n get FILTER_MODEL(): FilterModel {\r\n return this.filterModel;\r\n }\r\n\r\n get DISPLAY_MOBILE(): boolean {\r\n return this.displayMobile;\r\n }\r\n\r\n get EXPANDED_FIELD(): FilterModelField {\r\n return this.expandedField;\r\n }\r\n\r\n get PRODUCT_LIST_OPTIONS(): ProductListOptions {\r\n return CbxVariablesModule.VARIABLES.productListOptions;\r\n }\r\n\r\n @Action({ commit: 'SET_FILTER_RESULT' })\r\n public async GET_FILTER_RESULT(includePreviewSpecs = false) {\r\n this.setLoading(true);\r\n return await this.svc.getFilterResult({ ...this.filterModel }, includePreviewSpecs);\r\n }\r\n\r\n @Mutation\r\n public SET_FILTER_RESULT(payload: FilterModel) {\r\n this.filterModel.fields = payload.fields;\r\n this.filterModel.totalcount = payload.totalcount;\r\n this.filterModel.hitcount = payload.hitcount;\r\n this.filterModel.hits = payload.hits;\r\n this.filterModel.translations = payload.translations;\r\n this.isLoading = false;\r\n }\r\n\r\n @Mutation\r\n public SET_FILTER_SELECTION(payload: FilterRequestSelection[]) {\r\n this.filterModel.selections = payload;\r\n }\r\n\r\n @Mutation\r\n public SET_FILTER_FIELDS(payload: FilterModelField[]) {\r\n this.filterModel.fields = payload;\r\n }\r\n\r\n @Mutation\r\n public SET_FILTER_CATEGORIES(payload: string[]) {\r\n this.filterModel.categories = payload;\r\n }\r\n\r\n @Mutation\r\n public SET_FILTER_ROOT_CATEGORY(payload: string) {\r\n this.filterModel.rootcategory = payload;\r\n }\r\n\r\n @Mutation\r\n public SET_FILTER_INCLUDE_DESCENDANT_CATEGORIES(payload: boolean) {\r\n this.filterModel.includedescendantcategories = payload;\r\n }\r\n\r\n @Mutation\r\n public SET_FILTER_USE_CONTENT_RELATIONS(nodeid: string) {\r\n this.filterModel.usecontentrelationsasselection = true;\r\n this.filterModel.contentrelationnodeid = nodeid;\r\n }\r\n\r\n @Mutation\r\n public SET_FILTER_SEARCH_PHRASE(payload: string) {\r\n this.filterModel.searchphrase = payload;\r\n }\r\n\r\n @Mutation\r\n public SET_FILTER_OFFSET(payload: number) {\r\n this.filterModel.offset = payload;\r\n }\r\n @Mutation\r\n public SET_FILTER_COUNT(payload: number) {\r\n this.filterModel.count = payload;\r\n }\r\n @Mutation\r\n public SET_FILTER_SORT_OPTIONS(payload: SortOption[]) {\r\n this.filterModel.sortoptions = payload;\r\n }\r\n\r\n @Mutation\r\n public REMOVE_SELECTION_VALUE(payload: any) {\r\n const { fieldPath, fieldValue } = payload;\r\n const existingFieldSelection = this.filterModel.selections.find(field => field.path === fieldPath);\r\n const values = existingFieldSelection.values.filter(val => val !== fieldValue);\r\n if (values.length === 0) {\r\n this.filterModel = {\r\n ...this.filterModel,\r\n selections: this.filterModel.selections.filter(field => field.path !== fieldPath),\r\n };\r\n } else {\r\n this.filterModel = {\r\n ...this.filterModel,\r\n selections: this.filterModel.selections.map(field => {\r\n if (field.path === fieldPath) {\r\n field.values = values;\r\n }\r\n return field;\r\n }),\r\n };\r\n }\r\n }\r\n\r\n @Mutation\r\n public REMOVE_SELECTION_GROUP(payload: any) {\r\n this.filterModel.selections = this.filterModel.selections.filter(field => field.path !== payload);\r\n }\r\n\r\n @Action({ commit: 'SET_MOBILE_FILTER_DISPLAY' })\r\n public TOGGLE_MOBILE_FILTER_DISPLAY() {\r\n this.mns.handleBodyOverflow(this.displayMobile);\r\n return this.displayMobile;\r\n }\r\n\r\n @Mutation\r\n private SET_MOBILE_FILTER_DISPLAY(payload: boolean) {\r\n this.displayMobile = !payload;\r\n }\r\n\r\n @Action({ commit: 'SET_CLEAR_FILTERS' })\r\n public async CLEAR_FILTERS(includeSearchPhrase: boolean = true) {\r\n return includeSearchPhrase;\r\n }\r\n\r\n @Mutation\r\n private SET_CLEAR_FILTERS(includeSearchPhrase: boolean = true) {\r\n this.filterModel.selections = [];\r\n if (includeSearchPhrase)\r\n this.filterModel.searchphrase = '';\r\n }\r\n\r\n @Action({ commit: 'SET_EXPANDED_FIELD' })\r\n public async EXPAND_FIELD(payload: FilterModelField) {\r\n return payload;\r\n }\r\n\r\n @Mutation\r\n private SET_EXPANDED_FIELD(payload: FilterModelField) {\r\n this.expandedField = payload;\r\n }\r\n\r\n @Action({ commit: 'SET_LOADING' })\r\n private async setLoading(payload: boolean) {\r\n return payload;\r\n }\r\n @Mutation\r\n private SET_LOADING(payload: boolean) {\r\n this.isLoading = payload;\r\n }\r\n}\r\n\r\nexport default getModule(ProductListFilterModule);\r\n","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"uk-width-expand uk-margin-medium-bottom\"},[_c('div',{staticStyle:{\"min-height\":\"72px\",\"position\":\"relative\"},attrs:{\"id\":\"product-filter-container\"}},[_c('div',{staticClass:\"progress-linear\",attrs:{\"id\":\"product-filter-spinner\"}}),_c('ProductListFilter',{attrs:{\"filterPreset\":_vm.filterPreset,\"includePreviewSpecs\":true},on:{\"sortingOptionUpdated\":_vm.handleListUpdate,\"pagingUpdated\":_vm.handleListUpdate,\"filterSearchPhraseUpdated\":_vm.handleListUpdate,\"filterSelectionsUpdated\":_vm.handleListUpdate}}),_c('ProductListFilterMobile',{attrs:{\"filterPreset\":_vm.filterPreset}})],1),_c('Transition',{attrs:{\"enter-active-class\":\"animate__animated animate__fadeIn\",\"leave-active-class\":\"animate__animated animate__fadeOut\"}},[(_vm.hits.length > 0 && !_vm.debouncedIsLoading)?_c('div',{staticClass:\"uk-container uk-container-large uk-margin\"},[(_vm.hits.length > 0 && !_vm.debouncedIsLoading)?_c('div',{staticClass:\"uk-padding-remove uk-margin-top\",attrs:{\"id\":\"product-list-container\"}},_vm._l((_vm.hits),function(hit){return _c('ProductCardCustom',{key:hit.id,attrs:{\"product\":hit.metadata.product}})}),1):_vm._e()]):_vm._e()]),_c('Transition',{attrs:{\"enter-active-class\":\"animate__animated animate__fadeIn\",\"leave-active-class\":\"animate__animated animate__fadeOut\"}},[(_vm.debouncedIsLoading)?_c('div',{staticClass:\"spinner-container\"},[_c('div',{attrs:{\"uk-spinner\":\"ratio: 1\"}})]):_vm._e()]),_c('ProductListFilterPagination')],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator';\r\nimport { FilterModel, FilterModelHit } from '@/models/Filter';\r\nimport ProductListFilterModule from '@/store/modules/ProductListFilterModule';\r\nimport ProductCardCustom from './utils/ProductCardCustom.vue';\r\nimport { Debounce } from 'vue-debounce-decorator';\r\n\r\n@Component({\r\n name: 'ProductListCustom',\r\n components: {\r\n ProductCardCustom,\r\n }\r\n})\r\nexport default class ProductListCustom extends Vue {\r\n @Prop({ type: Object, required: false }) private query: any;\r\n\r\n private filterPreset: FilterModel = null;\r\n\r\n private debouncedIsLoading: boolean = true;\r\n\r\n get isLoading(): boolean {\r\n return ProductListFilterModule.IS_LOADING;\r\n }\r\n\r\n get hits(): FilterModelHit[] {\r\n return ProductListFilterModule.FILTER_MODEL.hits;\r\n }\r\n\r\n @Watch('isLoading')\r\n @Debounce(200)\r\n private onLoadingChange() {\r\n this.debouncedIsLoading = this.isLoading;\r\n }\r\n\r\n private handleListUpdate() {\r\n ProductListFilterModule.GET_FILTER_RESULT(true);\r\n }\r\n\r\n private created() {\r\n this.filterPreset = {\r\n fields: this.query.fields,\r\n selections: this.query.selections,\r\n includedescendantcategories: true,\r\n usecontentrelationsasselection: this.query.usecontentrelationsasselection,\r\n contentrelationnodeid: this.query.contentrelationnodeid,\r\n };\r\n }\r\n}\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??clonedRuleSet-41.use[0]!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[3]!../../node_modules/cache-loader/dist/cjs.js??ruleSet[0].use[0]!../../node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./ProductListCustom.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??clonedRuleSet-41.use[0]!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[3]!../../node_modules/cache-loader/dist/cjs.js??ruleSet[0].use[0]!../../node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./ProductListCustom.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ProductListCustom.vue?vue&type=template&id=551e7101&\"\nimport script from \"./ProductListCustom.vue?vue&type=script&lang=ts&\"\nexport * from \"./ProductListCustom.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./ProductListCustom.vue?vue&type=style&index=0&id=551e7101&prod&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"product-preview product-row-preview product-row-preview-custom uk-flex uk-width-1 uk-margin-remove-top\"},[(_vm.rdy)?_c('div',{staticClass:\"uk-flex uk-margin-large-top\"},[_c('div',{staticClass:\"uk-flex uk-flex-1 uk-position-relative\"},[_c('a',{staticClass:\"product-image uk-flex uk-flex-middle\",attrs:{\"href\":_vm.url}},[_c('img',{attrs:{\"alt\":_vm.product.name,\"uk-img\":_vm.asLazyImage(_vm.product.image)}}),(_vm.product.badges.length)?_c('div',{staticClass:\"badges-overlay uk-position-absolute uk-position-bottom-left\"},_vm._l((_vm.product.badges),function(badge){return _c('span',{key:badge,staticClass:\"uk-label\",class:_vm.getCssClassName('badge', badge)},[_vm._v(_vm._s(_vm.$t('product.badge-' + badge.toLowerCase(), [badge])))])}),0):_vm._e()]),(_vm.product.showprices && _vm.product.iscampaignproduct)?_c('div',{staticClass:\"discount-overlay uk-position-absolute uk-position-top-right uk-position-medium uk-text-bold uk-padding-small\"},[_vm._v(\" \"+_vm._s(_vm.$t('pricing.campaign-notice', ['Campaign price']))+\" \")]):_vm._e(),_c('div',{staticClass:\"uk-flex-1\"},[_c('div',{staticClass:\"itemnumber uk-text-xsmall uk-text-muted uk-text-normal\"},[_vm._v(_vm._s(_vm.product.id))]),_c('div',{staticClass:\"product-name uk-text-bold\"},[_c('a',{staticClass:\"uk-text-inherit\",attrs:{\"href\":_vm.url}},[_vm._v(_vm._s(_vm.product.name))])]),(_vm.brandPage)?_c('div',{staticClass:\"brand\"},[_c('span',{staticClass:\"uk-text-uppercase uk-text-xsmall uk-margin-small-right\"},[_vm._v(\" \"+_vm._s(_vm.$t('product.brand', ['Brand'])))]),(_vm.brandPage.url)?_c('a',{attrs:{\"href\":_vm.brandPage.url}},[_c('span',{staticClass:\"uk-text-bold\"},[_vm._v(_vm._s(_vm.brandPage.name))])]):_c('span',{staticClass:\"uk-text-bold\"},[_vm._v(_vm._s(_vm.brandPage.name))])]):_vm._e(),_c('div',{staticClass:\"preview-specs uk-visible@m uk-flex uk-flex-column uk-text-xsmall\",class:{'bg-white': Object.keys(_vm.previewSpecs).length <= 0}},_vm._l((_vm.previewSpecs),function(item,index){return _c('div',{key:index,staticClass:\"uk-flex uk-flex-between\"},[_c('span',{staticClass:\"uk-text-uppercase\"},[_vm._v(_vm._s(index))]),_c('span',{staticClass:\"uk-text-bold uk-text-emphasis\"},[_vm._v(_vm._s(item))])])}),0)])]),_c('div',{staticClass:\"preview-specs uk-hidden@m uk-flex uk-flex-column uk-text-xsmall\",class:{'bg-white': Object.keys(_vm.previewSpecs).length <= 0}},_vm._l((_vm.previewSpecs),function(item,index){return _c('div',{key:index,staticClass:\"uk-flex uk-flex-between\"},[_c('span',{staticClass:\"uk-text-uppercase\"},[_vm._v(_vm._s(index))]),_c('span',{staticClass:\"uk-text-bold uk-text-emphasis\"},[_vm._v(_vm._s(item))])])}),0),(_vm.product.showprices && _vm.product.price != null)?_c('hr'):_vm._e(),_c('div',{staticClass:\"product-price uk-flex uk-flex-column\",class:{'price-hidden': !_vm.product.showprices || _vm.product.price == null, 'uk-flex-center': _vm.product.showprices || !_vm.product.hasvariants}},[(_vm.product.showprices)?_c('div',[(_vm.product.price.showpricesincvat && _vm.product.price != null)?_c('div',[_c('div',{staticClass:\"standard-sales-price uk-text-small uk-text-muted\"},[(_vm.onDiscount)?_c('span',[_vm._v(_vm._s(_vm.$t('pricing.standard-sales-price', ['Standard sales price']))+\" \"+_vm._s(_vm.price.currency)+\" \"+_vm._s(_vm.price.standardsalesprice))]):_c('span',{staticClass:\"uk-invisible\"},[_vm._v(\".\")])]),_c('div',[(_vm.showBulkInfo || _vm.hasVariants)?_c('span',{staticClass:\"bulk-info uk-text-small\"},[_vm._v(_vm._s(_vm.$t('pricing.from', ['From']))+\" \")]):_vm._e(),_c('span',{staticClass:\"price\"},[_vm._v(_vm._s(_vm.price.currency)+\" \"+_vm._s(_vm.price.priceincvat))]),(_vm.product.unit)?_c('span',{staticClass:\"unit\"},[_vm._v(\" / \"+_vm._s(_vm.product.unit))]):_vm._e(),_c('span',{staticClass:\"vat-desc uk-hidden\"},[_vm._v(_vm._s(_vm.$t('pricing.inc-vat', ['inc. VAT'])))])]),_c('div',{staticClass:\"price-small uk-text-small uk-text-muted\"},[_vm._v(\" \"+_vm._s(_vm.price.currency)+\" \"+_vm._s(_vm.price.priceexvat)+\" \"+_vm._s(_vm.$t('pricing.ex-vat', ['ex. VAT']))+\" \")])]):(_vm.product.price != null)?_c('div',[_c('div',{staticClass:\"standard-sales-price uk-text-small uk-text-muted\"},[(_vm.price.ondiscount)?_c('span',[_vm._v(_vm._s(_vm.$t('pricing.standard-sales-price', ['Standard sales price']))+\" \"+_vm._s(_vm.price.currency)+\" \"+_vm._s(_vm.price.standardsalesprice))]):_c('span',{staticClass:\"uk-invisible\"},[_vm._v(\".\")])]),_c('div',[(_vm.showBulkInfo || _vm.hasVariants)?_c('span',{staticClass:\"bulk-info uk-text-small\"},[_vm._v(_vm._s(_vm.$t('pricing.from', ['From']))+\" \")]):_vm._e(),_c('span',{staticClass:\"price\"},[_vm._v(_vm._s(_vm.price.currency)+\" \"+_vm._s(_vm.price.priceexvat))]),(_vm.product.unit)?_c('span',{staticClass:\"unit\"},[_vm._v(\" / \"+_vm._s(_vm.product.unit))]):_vm._e(),_c('span',{staticClass:\"vat-desc uk-hidden\"},[_vm._v(_vm._s(_vm.$t('pricing.ex-vat', ['ex. VAT'])))])]),_c('div',{staticClass:\"price-small uk-text-small uk-text-muted\"},[_vm._v(\" \"+_vm._s(_vm.price.currency)+\" \"+_vm._s(_vm.price.priceincvat)+\" \"+_vm._s(_vm.$t('pricing.inc-vat', ['inc. VAT']))+\" \")])]):_vm._e(),(_vm.product.price == null)?_c('div',{staticClass:\"price-unavailable uk-alert\"},[_vm._v(\" \"+_vm._s(_vm.$t('product.price-unavailable', ['Contact customerservice for more information on this product.']))+\" \")]):_vm._e(),_c('add-to-cart-stock',{attrs:{\"stock-message\":_vm.product.stockmessage}})],1):_vm._e()]),(_vm.allowPurchase && _vm.enablePurchaseFromLists && _vm.product.hasvariants)?_c('div',{staticClass:\"list-item-actions uk-flex uk-flex-column uk-flex-between uk-padding uk-padding-remove-horizontal uk-margin-right@m\"},[_c('div',{staticClass:\"add-to-cart uk-margin-small-top uk-display-inline-block uk-width-1\"},[_c('a',{staticClass:\"uk-button uk-button-primary uk-width-1\",attrs:{\"href\":_vm.url}},[_c('span',{attrs:{\"uk-icon\":\"icon: thumbnails\"}}),_c('span',[_vm._v(_vm._s(_vm.$t('product.show-variants', ['Show variants'])))])]),(!_vm.isLoggedIn)?_c('a',{staticClass:\"remember-to-login uk-text-small\",attrs:{\"href\":_vm.loginPageUrl}},[_vm._v(\" \"+_vm._s(_vm.$t('login.remember-to-login', ['Erhvervskunde? Husk at login!']))+\" \")]):_vm._e()])]):(_vm.allowPurchase && _vm.enablePurchaseFromLists && _vm.product.allowpurchase)?_c('div',{staticClass:\"list-item-actions uk-flex uk-flex-column uk-flex-between uk-padding uk-padding-remove-horizontal uk-margin-right@m\"},[_c('add-to-cart-button',{staticClass:\"list-item-actions\",attrs:{\"quantity\":_vm.product.colli,\"colli\":_vm.product.colli,\"unit\":_vm.product.unit,\"sku\":_vm.product.id}})],1):(_vm.product.showstock)?_c('div',{staticClass:\"add-to-cart add-to-cart-stock-only uk-margin-small-top uk-flex uk-flex-1 uk-flex-bottom uk-width-1\"},[_c('add-to-cart-stock',{attrs:{\"stock-message\":_vm.product.stockmessage}})],1):_vm._e()]):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\nimport { Component, Vue, Prop } from 'vue-property-decorator';\r\nimport { DisplayPriceInfo, ProductSearchResultProduct, ProductBrand } from '../../models/Product';\r\nimport { toCssClassName } from '../../utils/StringUtils';\r\nimport { CbxVariablesModule } from '../../store/modules/CbxVariablesModule';\r\nimport UserModule from '@/store/modules/UserModule';\r\n\r\n@Component({\r\n name: 'ProductCardCustom',\r\n})\r\nexport default class ProductCardCustom extends Vue {\r\n @Prop({ type: Object, required: true }) private product: ProductSearchResultProduct;\r\n @Prop({ type: String, required: false, default: null }) private variantId: string;\r\n\r\n // add intro animation\r\n private rdy = false;\r\n private mounted() {\r\n this.$nextTick(() => {\r\n setTimeout(() => {\r\n this.rdy = true;\r\n }, 500);\r\n });\r\n }\r\n\r\n get imageWidth(): number {\r\n return this.product.imagewidth || 400;\r\n }\r\n get imageHeight(): number {\r\n return this.product.imageheight || 300;\r\n }\r\n\r\n get translationsReady(): boolean {\r\n return this.$root.$data.translationsLoaded === true;\r\n }\r\n\r\n get enablePurchaseFromLists(): boolean {\r\n return CbxVariablesModule.VARIABLES?.enablePurchaseFromLists;\r\n }\r\n\r\n get isLoggedIn(): boolean {\r\n return UserModule.IS_SIGNED_IN;\r\n }\r\n\r\n get loginPageUrl(): string {\r\n return CbxVariablesModule.VARIABLES.loginpage;\r\n }\r\n\r\n get allowPurchase(): boolean {\r\n return CbxVariablesModule.VARIABLES?.allowPurchase;\r\n }\r\n\r\n get secondaryImage(): string {\r\n if (!CbxVariablesModule.VARIABLES?.enableSecondaryImage || this.product.images.length <= 1) return null;\r\n\r\n return this.product?.images[1]?.url;\r\n }\r\n\r\n get price(): DisplayPriceInfo {\r\n if (this.product.bulkdiscounts?.length)\r\n return this.product.bulkdiscounts.sort((a, b) => {\r\n return a.priceexvatasnumeric - b.priceexvatasnumeric;\r\n })[0];\r\n\r\n return this.product?.price;\r\n }\r\n\r\n get onDiscount(): boolean {\r\n\t\tif (this.product?.bulkdiscounts?.filter((a) => a.ondiscount)?.length) return true;\r\n\r\n return this.product?.price?.ondiscount;\r\n }\r\n\r\n get showBulkInfo(): boolean {\r\n if (this.product?.bulkdiscounts?.length) return true;\r\n\r\n return false;\r\n }\r\n\r\n get hasVariants(): boolean {\r\n if (this.product?.hasvariants)\r\n return true;\r\n \r\n return false;\r\n }\r\n\r\n get url(): string {\r\n if (this.variantId?.length > 0)\r\n return `${this.product?.url}?variant=${this.variantId}`;\r\n\r\n return this.product?.url\r\n }\r\n\r\n get previewSpecs(): { [key: string]: string[] } {\r\n return this.product.productpreviewspecs ?? null;\r\n }\r\n\r\n get brandPage(): ProductBrand | null {\r\n return this.product.brandpage;\r\n }\r\n\r\n private asLazyImage(img: string) {\r\n return 'data-src:' + img;\r\n }\r\n\r\n private getCssClassName(prefix: string, input: string) {\r\n return toCssClassName(prefix, input);\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??clonedRuleSet-41.use[0]!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[3]!../../../node_modules/cache-loader/dist/cjs.js??ruleSet[0].use[0]!../../../node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./ProductCardCustom.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??clonedRuleSet-41.use[0]!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[3]!../../../node_modules/cache-loader/dist/cjs.js??ruleSet[0].use[0]!../../../node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./ProductCardCustom.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ProductCardCustom.vue?vue&type=template&id=38cd60b8&\"\nimport script from \"./ProductCardCustom.vue?vue&type=script&lang=ts&\"\nexport * from \"./ProductCardCustom.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./ProductCardCustom.vue?vue&type=style&index=0&id=38cd60b8&prod&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","// style-loader: Adds some css to the DOM by adding a