{"version":3,"sources":["webpack://dmq/./src/components/DmqProductSortSelect.ts","webpack://dmq/./src/components/DmqFilters.vue?376a","webpack://dmq/./src/components/DmqFilterTag.vue?d7c1","webpack://dmq/./src/components/DmqFilterTag.vue?946f","webpack://dmq/./src/components/DmqFilterTag.vue?0662","webpack://dmq/./src/components/DmqFilterTag.vue","webpack://dmq/./src/components/DmqFilter.vue?3f6d","webpack://dmq/./src/components/DmqFilter.vue?fe67","webpack://dmq/./src/components/DmqFilter.vue?f902","webpack://dmq/./src/components/DmqFilter.vue","webpack://dmq/./src/components/DmqCategoryFilter.vue?16e3","webpack://dmq/./src/components/DmqCategoryFilter.vue?32fb","webpack://dmq/./src/components/DmqCategoryFilter.vue?4414","webpack://dmq/./src/components/DmqCategoryFilter.vue","webpack://dmq/./src/components/DmqAttributeFilter.vue?2e22","webpack://dmq/./src/components/DmqAttributeFilter.vue?8bac","webpack://dmq/./src/components/DmqAttributeFilter.vue?aef2","webpack://dmq/./src/components/DmqAttributeFilter.vue","webpack://dmq/./src/components/DmqPriceFilter.vue?801c","webpack://dmq/./src/components/DmqPriceFilter.vue?f043","webpack://dmq/./src/components/DmqPriceFilter.vue?546c","webpack://dmq/./src/components/DmqPriceFilter.vue","webpack://dmq/./src/components/DmqFilters.vue?9e43","webpack://dmq/./src/components/DmqFilters.vue?4de4","webpack://dmq/./src/components/DmqFilters.vue","webpack://dmq/./src/store/modules/search-module.ts","webpack://dmq/./src/store/index.ts","webpack://dmq/./src/components/DmqRegionsModal.vue?da56","webpack://dmq/./src/components/DmqMyRegions.vue?f7e1","webpack://dmq/./src/store/modules/my-data-module.ts","webpack://dmq/./src/store/filters.ts","webpack://dmq/./src/components/DmqAccordion.ts","webpack://dmq/./src/components/DmqCheckoutAddressRadios.vue?3610","webpack://dmq/./src/models/category.ts","webpack://dmq/./src/models/attribute-value.ts","webpack://dmq/./src/models/attribute.ts","webpack://dmq/./src/utils/set.ts","webpack://dmq/./src/store/modules/filter-module.ts","webpack://dmq/./src/components/DmqToggler.ts","webpack://dmq/./src/components/DmqRemainingTime.ts","webpack://dmq/./src/components/DmqPriceFilter.vue?d0da","webpack://dmq/./src/api.ts","webpack://dmq/./src/components/DmqCheckoutAddresses.vue?aa0f","webpack://dmq/./src/components/DmqCheckoutAddressRadios.vue?ec5c","webpack://dmq/./src/components/DmqCheckoutAddressRadios.vue?b217","webpack://dmq/./src/components/DmqCheckoutAddressRadios.vue?7740","webpack://dmq/./src/components/DmqCheckoutAddressRadios.vue","webpack://dmq/./src/components/DmqAddressForm.vue?bcba","webpack://dmq/./src/components/DmqAddressForm.vue?48f4","webpack://dmq/./src/components/DmqAddressForm.vue?2291","webpack://dmq/./src/components/DmqAddressForm.vue","webpack://dmq/./src/components/DmqCheckoutAddresses.vue?1a18","webpack://dmq/./src/components/DmqCheckoutAddresses.vue?0b8f","webpack://dmq/./src/components/DmqCheckoutAddresses.vue","webpack://dmq/./src/pollyfills/web/closest.js","webpack://dmq/./src/components/DmqMyRegions.vue?29ab","webpack://dmq/./src/components/DmqMyRegions.vue?c460","webpack://dmq/./src/components/DmqMyRegions.vue?881b","webpack://dmq/./src/components/DmqMyRegions.vue","webpack://dmq/./src/swiper.ts","webpack://dmq/./src/store/modules/cart-module.ts","webpack://dmq/./src/store/modules/sales-regions-module.ts","webpack://dmq/./src/components/DmqMap.ts","webpack://dmq/./src/components/DmqModal.vue?2127","webpack://dmq/./src/components/DmqModal.vue?e560","webpack://dmq/./src/components/DmqModal.vue?5e40","webpack://dmq/./src/components/DmqModal.vue","webpack://dmq/./src/components/DmqSearch.vue?1a80","webpack://dmq/./src/components/DmqSearch.vue?8f27","webpack://dmq/./src/components/DmqSearch.vue?537d","webpack://dmq/./src/components/DmqSearch.vue","webpack://dmq/./src/components/DmqUserIcon.vue?e080","webpack://dmq/./src/components/DmqUserIcon.vue?0874","webpack://dmq/./src/components/DmqUserIcon.vue?bba5","webpack://dmq/./src/components/DmqUserIcon.vue","webpack://dmq/./src/components/DmqCartIcon.vue?7fb6","webpack://dmq/./src/components/DmqCartIcon.vue?ce9d","webpack://dmq/./src/components/DmqCartIcon.vue?ff13","webpack://dmq/./src/components/DmqCartIcon.vue","webpack://dmq/./src/components/DmqNavItem.ts","webpack://dmq/./src/components/DmqNav.ts","webpack://dmq/./src/components/DmqRegionsModal.vue?b598","webpack://dmq/./src/components/DmqRegionsModal.vue?19ce","webpack://dmq/./src/components/DmqRegionsModal.vue?698a","webpack://dmq/./src/components/DmqRegionsModal.vue","webpack://dmq/./src/components/DmqNewsletterSubscribe.vue?d170","webpack://dmq/./src/components/DmqNewsletterSubscribe.vue?4860","webpack://dmq/./src/components/DmqNewsletterSubscribe.vue?30a7","webpack://dmq/./src/components/DmqNewsletterSubscribe.vue","webpack://dmq/./src/components/DmqNewsletterUnsubscribe.vue?94f4","webpack://dmq/./src/components/DmqNewsletterUnsubscribe.vue?041f","webpack://dmq/./src/components/DmqNewsletterUnsubscribe.vue?3dfc","webpack://dmq/./src/components/DmqNewsletterUnsubscribe.vue","webpack://dmq/./src/common-code.ts","webpack://dmq/./src/store/modules/addresses-module.ts","webpack://dmq/./src/store/modules/wishlist-module.ts","webpack://dmq/./src/components/DmqSearch.vue?7e34","webpack://dmq/./src/components/DmqNewsletterUnsubscribe.vue?b081","webpack://dmq/./src/components/DmqNewsletterSubscribe.vue?3c74","webpack://dmq/./src/common-styles.ts"],"names":["filterModule","DmqProductSortSelect","el","onchange","changeSortValue","options","selectedIndex","value","render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","hasAppliedFilters","on","clearAll","_v","ref","hasFilterToApply","apply","appliedCategories","$event","clearCategory","_s","map","c","name","join","_e","_l","a","key","attribute","id","clearAttribute","values","av","minPrice","appliedMinPriceFilter","clearMinPrice","maxPrice","appliedMaxPriceFilter","clearMaxPrice","categories","categoryFilterTitle","categoryExpanded","applyFilters","att","hasApply","v","priceFilterTitle","priceFilterExpanded","staticRenderFns","$emit","_t","component","toggle","title","class","expanded","isExpanded","required","type","String","Boolean","default","directives","rawName","expression","domProps","Array","isArray","_i","$$a","$$el","target","$$c","checked","$$v","$$i","concat","slice","category","children","preventDefault","length","checkCategory","selected","checkAttributeValue","Object","min","max","marks","formatTooltip","scopedSlots","_u","fn","active","pos","label","model","callback","prices","minPriceFilter","maxPriceFilter","changePricesFilter","components","VueSlider","autoApply","clearFilters","attributes","appliedAttributes","hasFiltersToApply","getComputedStyle","$refs","display","DmqFilterTag","DmqFilter","DmqCategoryFilter","DmqAttributeFilter","DmqPriceFilter","query","results","isSearching","context","commit","data","namespaced","use","config","devtools","store","Store","state","modules","search","cart","wishlist","addresses","myData","salesRegions","MyDataModule","put","then","r","filter","document","querySelectorAll","forEach","accEl","headEL","querySelector","addEventListener","lel","curAccEl","classList","remove","appliedCategoryIds","isApplied","isApply","CategoryFilter","indexOf","applied","appliedValueIds","intersection","setA","setB","i","Set","elem","has","add","sortValue","filters","sp","URLSearchParams","applyCategories","append","toString","applyAttributes","filterQuery","window","location","buildSc","cts","push","applyCategoriesIds","applyValuesIds","ics","size","ivs","DmqToggler","togglerEls","toggledEl","togglerToggledClass","toggledToggledClass","toggled","onclick","t","toggleOff","toggleOn","DmqRemainingTime","remainingSeconds","parseInt","dataset","dayEl","hourEl","minuteEl","secondEl","intHandle","setInterval","day","hour","minute","second","Math","floor","format","innerText","hidden","clearInterval","api","create","baseURL","interceptors","request","headers","error","Promise","reject","customClasses","deliveryAddresses","editDeliveryAddress","deleteDeliveryAddress","selectDeliveryAddress","selectedDeliveryAddress","deliveryFormShown","addDeliveryAddress","deliveryAddress","loading","saveDeliveryAddress","invoiceAddresses","editInvoiceAddress","deleteInvoiceAddress","selectInvoiceAddress","selectedInvoiceAddress","invoiceFormShown","addInvoiceAddress","invoiceAddress","saveInvoiceAddress","csrfToken","deliveryId","invoiceId","_q","selectedAddress","emptyRadioLabel","address","index","street","street2","zip","city","countryName","val","submit","formTitle","$v","modifiers","disabled","$touch","$forceUpdate","composing","$set","trim","$error","notBlank","_m","countryId","$$selectedVal","prototype","call","o","_value","multiple","country","phone","typeAddress","email","validForm","$invalid","addressesModule","notBlankInt","countries","invName","invStreet","invZip","invCity","invCountryId","invPhone","invEmail","invalid","getCountries","code","updateAddress","getValues","mixins","validations","sd","deliveryPartnerId","invoicePartnerId","deleteAddress","editAddress","oldAddress","newAddress","addAddress","setDefaultShipping","setDefaultInvoice","DmqCheckoutAddressRadios","DmqAddressForm","Element","matches","msMatchesSelector","webkitMatchesSelector","closest","s","documentElement","contains","parentElement","parentNode","nodeType","zone","zoneExpanded","zoneCollapsed","toggleZone","selectAll","saveDisabled","save","salesRegionsModule","expandedZoneIds","zones","z","regions","sr","saveRegions","reload","splice","hasNoSelection","salesZones","CartModule","isFetching","isShown","promoCode","retCode","message","reduction","typeReduction","retailerSections","amountTotal","amountSubtotalTotal","intendedDeliveryFees","deliveryFeesTotal","paymentMethod","cartQuantity","promocode","updated","embed","hasPromocode","codePromo","codePromoRetCode","codePromoMessage","codePromoReduction","codePromoTypeReduction","billingAddressId","shippingAddressId","item","post","console","log","productId","quantity","retailerSection","retailerId","paymentMode","deliveryMode","SalesRegionsModule","set","e","response","sz","Icon","Default","_getIconUrl","mergeOptions","iconRetinaUrl","iconUrl","shadowUrl","DmqMap","retailerCoords","Number","latitude","longitude","scrollWheelZoom","setView","tileLayer","attribution","addTo","marker","shown","onpenModalSearch","_k","keyCode","clear","input","focus","enter","allRegions","changeRegions","haveResults","retailers","d","selectedRetailer","url","productsSelectionRetailer","nbProducts","level","selectedCategory","staticStyle","productsSelectionCategory","brands","b","products","nbProductByCategory","showAllCategories","p","imageUrl","cancelRequest","makeRequest","cancel","axiosSource","CancelToken","source","axiosAPI","cancelToken","token","get","params","cat","find","x","retailer","catch","err","isCancel","sendRequest","assign","categoryId","DmqModal","linkCart","cartModule","link","isIn","element","subElement","parent","navItemEl","navLevel","clsName","startsWith","replace","contentEl","linkEl","listEl","ie","ev","isSelected","le","isMenu","isTab","hasSelected","nie","cls","elForLevel","navEl","dni","close","selectAllAndSave","DmqMyRegions","description","subscribe","placeholder","emailModel","subscribeActionLabel","sendActionLabel","contacts","comeBack","showReason","unsubscribeReason","reason","otherReason","showUnsubscribing","mailingId","productionTip","$mount","cartIconEl","getElementById","cartData","JSON","parse","fetched","hamburgerEl","saleRegionsModalEl","saleZones","newsLetterSubscribeEl","propsData","newsLetterUnubscribeEl","AddressesModule","delete","WishlistModule","items"],"mappings":"4MAIMA,EAAe,eAAU,OAAc,QAExBC,EACnB,WAAoBC,GAAqB,uBAArB,KAAAA,KAClBA,EAAGC,SAAW,WACZH,EAAaI,gBAAgBF,EAAGG,QAAQH,EAAGI,eAAeC,U,oCCThE,IAAIC,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,eAAe,CAACF,EAAG,MAAM,CAACE,YAAY,sBAAsB,CAACF,EAAG,SAAS,CAACE,YAAY,aAAaC,MAAM,CAAC,UAAYP,EAAIQ,mBAAmBC,GAAG,CAAC,MAAQT,EAAIU,WAAW,CAACV,EAAIW,GAAG,kBAAkBP,EAAG,SAAS,CAACQ,IAAI,eAAeN,YAAY,qCAAqCC,MAAM,CAAC,UAAYP,EAAIa,kBAAkBJ,GAAG,CAAC,MAAQT,EAAIc,QAAQ,CAACd,EAAIW,GAAG,iBAAkBX,EAAqB,kBAAEI,EAAG,MAAM,CAACE,YAAY,mBAAmB,CAAEN,EAAIe,kBAAwB,OAAEX,EAAG,iBAAiB,CAACK,GAAG,CAAC,MAAQ,SAASO,GAAQ,OAAOhB,EAAIiB,mBAAmB,CAACjB,EAAIW,GAAG,cAAcX,EAAIkB,GAAGlB,EAAIe,kBAAkBI,KAAI,SAAUC,GAAK,OAAOA,EAAEC,QAASC,KAAK,OAAO,OAAOtB,EAAIuB,KAAKvB,EAAIwB,GAAIxB,EAAqB,mBAAE,SAASyB,GAAG,OAAOrB,EAAG,iBAAiB,CAACsB,IAAID,EA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EAAS6X,OAAS,IAE3BhgB,KAAKuV,YAAa,IArCtB,wFAyCsByB,GAzCtB,8FA0CIhX,KAAKsH,QAAQC,OAAO,YA1CxB,kBA4CsB,OAAI0P,KAAJ,mBAAqBD,EAAKI,WAAaJ,GA5C7D,OA4CYtO,EA5CZ,OA6CM1I,KAAKsH,QAAQC,OAAO,UAAWmB,EAAElB,MA7CvC,mDAgDMxH,KAAKsH,QAAQC,OAAO,UAAWvH,KAAKmI,UAhD1C,wHAA4C,QAQ1C,gBADC,Q,oBAGA,MAGD,gBADC,Q,qBAGA,MAGD,gBADC,Q,mBAGA,MAGD,gBADC,Q,mBAGA,MAGD,gBADC,Q,uBAGA,MAGD,gBADC,Q,sBAMA,MAGD,gBADC,Q,qBAUA,MAlDkB4X,EAAc,gBADlC,eAAO,CAAEtY,YAAY,EAAMrG,KAAM,cACb2e,GAAA,U,qJCNrB,yBAA8gB,EAAG,G,yDCAjhB,yBAA6hB,EAAG,G,kCCAhiB,yBAA2hB,EAAG,G,yDCA9hB","file":"js/chunk-common.3f66eb58.js","sourcesContent":["import { getModule } from 'vuex-module-decorators';\nimport store from '@/store/filters';\nimport FilterModule from '@/store/modules/filter-module';\n\nconst filterModule = getModule(FilterModule, store);\n\nexport default class DmqProductSortSelect {\n constructor(private el: HTMLSelectElement) {\n el.onchange = () => {\n filterModule.changeSortValue(el.options[el.selectedIndex].value);\n };\n }\n\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"dmq-filters\"},[_c('div',{staticClass:\"dmq-filter-buttons\"},[_c('button',{staticClass:\"dmq-button\",attrs:{\"disabled\":!_vm.hasAppliedFilters},on:{\"click\":_vm.clearAll}},[_vm._v(\"TOUT EFFACER\")]),_c('button',{ref:\"apply-button\",staticClass:\"dmq-button dmq-filter-apply-button\",attrs:{\"disabled\":!_vm.hasFilterToApply},on:{\"click\":_vm.apply}},[_vm._v(\"APPLIQUER\")])]),(_vm.hasAppliedFilters)?_c('div',{staticClass:\"dmq-filter-tags\"},[(_vm.appliedCategories.length)?_c('dmq-filter-tag',{on:{\"clear\":function($event){return _vm.clearCategory()}}},[_vm._v(\" Produits: \"+_vm._s(_vm.appliedCategories.map(function (c) { return c.name; }).join(', '))+\" \")]):_vm._e(),_vm._l((_vm.appliedAttributes),function(a){return _c('dmq-filter-tag',{key:a.attribute.id,on:{\"clear\":function($event){return _vm.clearAttribute(a.attribute)}}},[_vm._v(\" \"+_vm._s(a.attribute.name)+\": \"+_vm._s(a.values.map(function (av) { return av.name; }).join(', '))+\" \")])}),(_vm.filterModule.minPrice !== _vm.filterModule.appliedMinPriceFilter)?_c('dmq-filter-tag',{on:{\"clear\":_vm.clearMinPrice}},[_vm._v(\" > CHF \"+_vm._s(_vm.filterModule.appliedMinPriceFilter)+\" \")]):_vm._e(),(_vm.filterModule.maxPrice !== _vm.filterModule.appliedMaxPriceFilter)?_c('dmq-filter-tag',{on:{\"clear\":_vm.clearMaxPrice}},[_vm._v(\" < CHF \"+_vm._s(_vm.filterModule.appliedMaxPriceFilter)+\" \")]):_vm._e()],2):_vm._e(),(_vm.categories.length)?_c('dmq-filter',{attrs:{\"title\":_vm.categoryFilterTitle,\"is-expanded\":_vm.categoryExpanded}},[_c('ul',{staticClass:\"dmq-filter-items dmq-filter-items--root\"},_vm._l((_vm.categories),function(c){return _c('dmq-category-filter',{key:c.id,attrs:{\"category\":c},on:{\"apply\":_vm.applyFilters}})}),1)]):_vm._e(),_vm._l((_vm.attributes),function(att){return _c('dmq-filter',{key:att.id,attrs:{\"title\":att.name,\"is-expanded\":att.hasApply}},[_c('ul',{staticClass:\"dmq-filter-items dmq-filter-items--root\"},_vm._l((att.values),function(v){return _c('dmq-attribute-filter',{key:v.id,attrs:{\"value\":v},on:{\"apply\":_vm.applyFilters}})}),1)])}),_c('dmq-filter',{attrs:{\"title\":_vm.priceFilterTitle,\"is-expanded\":_vm.priceFilterExpanded}},[_c('dmq-price-filter',{on:{\"apply\":_vm.applyFilters}})],1)],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"dmq-filter-tag\",on:{\"click\":function($event){return _vm.$emit('clear')}}},[_c('span',{staticClass:\"dmq-filter-tag__label\"},[_vm._t(\"default\")],2),_c('span',{staticClass:\"dmq-filter-tag__clear\"},[_vm._v(\" x \")])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue} from 'vue-property-decorator';\n\n@Component\nexport default class DmqFilterTag extends Vue {}\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DmqFilterTag.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DmqFilterTag.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DmqFilterTag.vue?vue&type=template&id=3a26ed8c&\"\nimport script from \"./DmqFilterTag.vue?vue&type=script&lang=ts&\"\nexport * from \"./DmqFilterTag.vue?vue&type=script&lang=ts&\"\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\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{staticClass:\"dmq-filter\"},[_c('header',{staticClass:\"dmq-filter__header\",on:{\"click\":function($event){return _vm.toggle()}}},[_vm._v(\" \"+_vm._s(_vm.title || 'No title')+\" \"),_c('i',{staticClass:\"dmq-filter__caret dmq-icon-caret\",class:{ 'dmq-filter__caret--expanded': _vm.expanded }})]),(_vm.expanded)?_vm._t(\"default\"):_vm._e()],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue } from 'vue-property-decorator';\n\n@Component\nexport default class DmqFilter extends Vue {\n\n @Prop({\n required: true,\n type: String,\n })\n public title?: string;\n\n @Prop({\n required: false,\n type: Boolean,\n default: false,\n })\n public isExpanded?: boolean;\n\n private expanded: boolean = false;\n\n protected mounted() {\n this.expanded = this.isExpanded || false;\n }\n\n private toggle() {\n this.expanded = !this.expanded;\n }\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DmqFilter.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DmqFilter.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DmqFilter.vue?vue&type=template&id=4b52ba58&\"\nimport script from \"./DmqFilter.vue?vue&type=script&lang=ts&\"\nexport * from \"./DmqFilter.vue?vue&type=script&lang=ts&\"\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\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{staticClass:\"dmq-filter-item\"},[_c('label',{staticClass:\"dmq-filter-item__label\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.apply),expression:\"apply\"}],staticClass:\"dmq-filter-item__checkbox\",attrs:{\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.apply)?_vm._i(_vm.apply,null)>-1:(_vm.apply)},on:{\"change\":function($event){var $$a=_vm.apply,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.apply=$$a.concat([$$v]))}else{$$i>-1&&(_vm.apply=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.apply=$$c}}}}),_vm._v(\" \"+_vm._s(_vm.category.name)+\" \"),(_vm.category.children.length)?_c('i',{staticClass:\"dmq-filter-item__caret dmq-icon-caret\",class:{ 'dmq-filter-item__caret--expanded': _vm.expanded },on:{\"click\":function($event){$event.preventDefault();return _vm.toggle()}}}):_vm._e()]),(_vm.expanded && _vm.category.children.length)?_c('ul',{staticClass:\"dmq-filter-items\"},_vm._l((_vm.category.children),function(c){return _c('dmq-category-filter',{key:c.id,attrs:{\"category\":c},on:{\"apply\":function($event){return _vm.$emit('apply')}}})}),1):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport { getModule } from 'vuex-module-decorators';\nimport { Category, CategoryFilter } from '@/models/category';\nimport store from '@/store/filters';\nimport FilterModule from '@/store/modules/filter-module';\n\nconst filterModule = getModule(FilterModule, store);\n\n@Component({\n name: 'dmq-category-filter',\n})\nexport default class DmqCategoryFilter extends Vue {\n @Prop({\n required: true,\n })\n public category?: CategoryFilter;\n\n private expanded: boolean = false;\n\n public get apply() {\n return !!this.category && this.category!.apply;\n }\n\n public set apply(v: boolean) {\n if (this.category) {\n filterModule.checkCategory({\n category: this.category,\n selected: v,\n });\n this.$emit('apply');\n }\n }\n\n protected mounted() {\n this.expanded = this.category ? this.category.hasApply : false;\n }\n\n private toggle() {\n this.expanded = !this.expanded;\n }\n\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DmqCategoryFilter.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DmqCategoryFilter.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DmqCategoryFilter.vue?vue&type=template&id=732910d6&\"\nimport script from \"./DmqCategoryFilter.vue?vue&type=script&lang=ts&\"\nexport * from \"./DmqCategoryFilter.vue?vue&type=script&lang=ts&\"\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\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('label',{staticClass:\"dmq-filter-item__label\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.apply),expression:\"apply\"}],staticClass:\"dmq-filter-item__checkbox\",attrs:{\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.apply)?_vm._i(_vm.apply,null)>-1:(_vm.apply)},on:{\"change\":function($event){var $$a=_vm.apply,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.apply=$$a.concat([$$v]))}else{$$i>-1&&(_vm.apply=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.apply=$$c}}}}),_vm._v(\" \"+_vm._s(_vm.value.name)+\" \")])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport { AttributeValueFilter } from '@/models/attribute-value';\nimport { getModule } from 'vuex-module-decorators';\nimport FilterModule from '@/store/modules/filter-module';\nimport store from '@/store/filters';\n\nconst filterModule = getModule(FilterModule, store);\n\n@Component\nexport default class DmqAttributeFilter extends Vue {\n\n @Prop({\n required: true,\n type: Object,\n })\n public value?: AttributeValueFilter;\n\n public get apply() {\n return !!this.value && this.value!.apply;\n }\n\n public set apply(v: boolean) {\n if (this.value) {\n filterModule.checkAttributeValue({\n value: this.value,\n selected: v,\n });\n this.$emit('apply');\n }\n }\n\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DmqAttributeFilter.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DmqAttributeFilter.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DmqAttributeFilter.vue?vue&type=template&id=aad4ca54&\"\nimport script from \"./DmqAttributeFilter.vue?vue&type=script&lang=ts&\"\nexport * from \"./DmqAttributeFilter.vue?vue&type=script&lang=ts&\"\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\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"dmq-price-filter\"},[_c('vue-slider',{ref:\"slider\",attrs:{\"lazy\":true,\"min\":_vm.min,\"max\":_vm.max,\"drag-on-click\":true,\"contained\":true,\"marks\":_vm.marks,\"enableCross\":false,\"tooltip\":\"always\",\"tooltipFormatter\":_vm.formatTooltip},scopedSlots:_vm._u([{key:\"label\",fn:function(ref){\nvar active = ref.active;\nvar value = ref.value;\nvar pos = ref.pos;\nvar label = ref.label;\nreturn [_c('div',{class:[\n 'dmq-slider-mark-label',\n { 'dmq-slider-mark-label--right': value === _vm.min,\n 'dmq-slider-mark-label--left': value === _vm.max,\n }]},[_vm._v(\"CHF \"+_vm._s(value))])]}}]),model:{value:(_vm.prices),callback:function ($$v) {_vm.prices=$$v},expression:\"prices\"}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue } from 'vue-property-decorator';\nimport VueSlider from 'vue-slider-component';\nimport '@/styles/vue-slider.scss';\nimport { getModule } from 'vuex-module-decorators';\nimport store from '@/store/filters';\nimport FilterModule from '@/store/modules/filter-module';\n\nconst filterModule = getModule(FilterModule, store);\n\n@Component({\n components: {\n VueSlider,\n },\n})\nexport default class DmqPriceFilter extends Vue {\n\n public get min() {\n return filterModule.minPrice;\n }\n\n public get max() {\n return filterModule.maxPrice;\n }\n\n public get marks() {\n return [filterModule.minPrice, filterModule.maxPrice];\n }\n\n public get prices() {\n return [filterModule.minPriceFilter, filterModule.maxPriceFilter];\n }\n\n public set prices(prices: number[]) {\n filterModule.changePricesFilter({\n minPriceFilter: prices[0],\n maxPriceFilter: prices[1],\n });\n this.$emit('apply');\n }\n\n public formatTooltip(v: string): string {\n return `CHF ${v}`;\n }\n\n}\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DmqPriceFilter.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DmqPriceFilter.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DmqPriceFilter.vue?vue&type=template&id=0509588a&\"\nimport script from \"./DmqPriceFilter.vue?vue&type=script&lang=ts&\"\nexport * from \"./DmqPriceFilter.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./DmqPriceFilter.vue?vue&type=style&index=0&lang=scss&\"\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\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport { getModule } from 'vuex-module-decorators';\nimport store from '@/store/filters';\nimport FilterModule from '@/store/modules/filter-module';\nimport DmqFilterTag from '@/components/DmqFilterTag.vue';\nimport DmqFilter from '@/components/DmqFilter.vue';\nimport DmqCategoryFilter from '@/components/DmqCategoryFilter.vue';\nimport DmqAttributeFilter from '@/components/DmqAttributeFilter.vue';\nimport DmqPriceFilter from '@/components/DmqPriceFilter.vue';\nimport { CategoryFilter } from '@/models/category';\nimport { AttributeValueFilter } from '@/models/attribute-value';\nimport { AttributeFilter } from '@/models/attribute';\n\nconst filterModule = getModule(FilterModule, store);\n\n@Component({\n components: {\n DmqFilterTag,\n DmqFilter,\n DmqCategoryFilter,\n DmqAttributeFilter,\n DmqPriceFilter,\n },\n})\nexport default class DmqFilters extends Vue {\n\n @Prop({\n required: true,\n type: String,\n })\n public categoryFilterTitle?: string;\n\n @Prop({\n required: true,\n type: String,\n })\n public priceFilterTitle?: string;\n\n public get filterModule() {\n return filterModule;\n }\n\n public get categoryExpanded() {\n return true;\n }\n\n public get categories() {\n return filterModule.categories;\n }\n\n public get appliedCategories() {\n return filterModule.appliedCategories;\n }\n\n public get attributes() {\n return filterModule.attributes;\n }\n\n public get appliedAttributes() {\n return filterModule.appliedAttributes;\n }\n\n public get hasAppliedFilters() {\n return filterModule.hasAppliedFilters;\n }\n\n public get hasFilterToApply() {\n return filterModule.hasFiltersToApply;\n }\n\n private get autoApply(): boolean {\n return getComputedStyle(this.$refs['apply-button'] as HTMLElement).display === 'none';\n }\n\n private get priceFilterExpanded() {\n return filterModule.minPrice !== filterModule.appliedMinPriceFilter ||\n filterModule.maxPrice !== filterModule.appliedMaxPriceFilter;\n }\n\n private applyFilters() {\n if (this.autoApply) {\n filterModule.applyFilters();\n }\n }\n\n private clearCategory() {\n for (const c of this.appliedCategories) {\n filterModule.checkCategory({\n category: c,\n selected: false,\n });\n }\n filterModule.applyFilters();\n }\n\n private clearAttribute(attribute: AttributeFilter) {\n for (const av of attribute.values) {\n filterModule.checkAttributeValue({\n value: av,\n selected: false,\n });\n }\n filterModule.applyFilters();\n }\n\n private clearMinPrice() {\n filterModule.changePricesFilter({\n minPriceFilter: filterModule.minPrice,\n maxPriceFilter: filterModule.maxPriceFilter,\n });\n filterModule.applyFilters();\n }\n\n private clearMaxPrice() {\n filterModule.changePricesFilter({\n minPriceFilter: filterModule.minPriceFilter,\n maxPriceFilter: filterModule.maxPrice,\n });\n filterModule.applyFilters();\n }\n\n private clearAll() {\n filterModule.clearFilters();\n filterModule.applyFilters();\n }\n\n private apply() {\n filterModule.applyFilters();\n }\n\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DmqFilters.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DmqFilters.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DmqFilters.vue?vue&type=template&id=022c5e4c&\"\nimport script from \"./DmqFilters.vue?vue&type=script&lang=ts&\"\nexport * from \"./DmqFilters.vue?vue&type=script&lang=ts&\"\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\nexport default component.exports","import { Module, VuexModule, Mutation, Action } from 'vuex-module-decorators';\nimport {SearchResults} from '@/models/search';\n\n@Module({ namespaced: true, name: 'search' })\nexport default class SearchModule extends VuexModule {\n public query: string = '';\n public results: SearchResults | null = null;\n public isSearching: boolean = false;\n\n @Action\n public setSearching(query: string) {\n this.context.commit('searching', query);\n }\n\n @Action\n public setSearched(data: SearchResults) {\n this.context.commit('searched', data);\n }\n\n @Mutation\n private searching(query: string) {\n this.query = query;\n this.isSearching = true;\n }\n\n @Mutation\n private searched(data: SearchResults) {\n this.results = data;\n this.isSearching = false;\n }\n}\n","import Vue from 'vue';\nimport Vuex from 'vuex';\nimport SearchModule from './modules/search-module';\nimport CartModule from '@/store/modules/cart-module';\nimport AddressesModule from '@/store/modules/addresses-module';\nimport WishlistModule from '@/store/modules/wishlist-module';\nimport MyDataModule from '@/store/modules/my-data-module';\nimport SalesRegionsModule from '@/store/modules/sales-regions-module';\n\nVue.use(Vuex);\nVue.config.devtools = true\n\nconst store = new Vuex.Store({\n state: {},\n modules: {\n search: SearchModule,\n cart: CartModule,\n wishlist: WishlistModule,\n addresses: AddressesModule,\n myData: MyDataModule,\n salesRegions: SalesRegionsModule,\n },\n});\n\nexport default store;\n","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DmqRegionsModal.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DmqRegionsModal.vue?vue&type=style&index=0&lang=scss&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DmqMyRegions.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DmqMyRegions.vue?vue&type=style&index=0&lang=scss&\"","import { Module, VuexModule, Mutation, Action } from 'vuex-module-decorators';\nimport { MyData } from '@/models/my-data';\nimport api from '@/api';\n\n\n@Module({ namespaced: true, name: 'myData' })\nexport default class MyDataModule extends VuexModule {\n\n public myData: MyData | null = null;\n\n @Mutation\n public myDataFetched(myData: MyData) {\n this.myData = myData;\n }\n\n @Action\n public async editMyData(myData: MyData) {\n return await api.put(`mydata/`, myData).then((r) => {\n this.context.commit('myDataFetched', r.data);\n });\n }\n\n}\n","import Vue from 'vue';\nimport Vuex from 'vuex';\nimport FilterModule from '@/store/modules/filter-module';\n\nVue.use(Vuex);\n\nconst store = new Vuex.Store({\n state: {},\n modules: {\n filter: FilterModule,\n },\n});\n\nexport default store;\n","document.querySelectorAll('.dmq-accordion').forEach((el) => {\n\n const accEl = el as HTMLElement;\n const headEL = accEl.querySelector('.dmq-accordion__head') as HTMLElement;\n headEL.addEventListener('click', () => {\n\n document.querySelectorAll('.dmq-accordion').forEach((lel) => {\n const curAccEl = lel as HTMLElement;\n if (curAccEl === accEl) {\n curAccEl.classList.toggle('dmq-accordion--expanded');\n } else {\n curAccEl.classList.remove('dmq-accordion--expanded');\n }\n });\n\n });\n});\n","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DmqCheckoutAddressRadios.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DmqCheckoutAddressRadios.vue?vue&type=style&index=0&lang=scss&\"","export interface Category {\n id: number;\n name: string;\n children: Category[];\n}\n\nexport class CategoryFilter {\n public id: number;\n public name: string;\n public children: CategoryFilter[];\n private isApplied: boolean = false;\n private isApply: boolean = false;\n\n public get applied() {\n if (this.children.length > 0) {\n for (const c of this.children) {\n if (!c.applied) {\n return false;\n }\n }\n return true;\n }\n\n return this.isApplied;\n }\n\n public set applied(v: boolean) {\n if (this.children.length > 0) {\n for (const c of this.children) {\n c.applied = v;\n }\n } else {\n this.isApplied = v;\n }\n }\n\n public get apply() {\n if (this.children.length > 0) {\n for (const c of this.children) {\n if (!c.apply) {\n return false;\n }\n }\n return true;\n }\n\n return this.isApply;\n }\n\n public set apply(v: boolean) {\n if (this.children.length > 0) {\n for (const c of this.children) {\n c.apply = v;\n }\n } else {\n this.isApply = v;\n }\n }\n\n public get hasApply() {\n if (this.children.length > 0) {\n for (const c of this.children) {\n if (c.hasApply) {\n return true;\n }\n }\n return false;\n }\n\n return this.isApply;\n }\n\n public constructor(category: Category, appliedCategoryIds: number[]) {\n this.id = category.id;\n this.name = category.name;\n this.children = category.children.map((c) => new CategoryFilter(c, appliedCategoryIds));\n if (this.children.length === 0) {\n this.isApplied = appliedCategoryIds.indexOf(category.id) > -1;\n this.isApply = this.isApplied;\n }\n }\n}\n","export interface AttributeValue {\n id: number;\n name: string;\n}\n\nexport class AttributeValueFilter {\n public id: number;\n public name: string;\n public apply: boolean;\n public applied: boolean;\n\n constructor(value: AttributeValue, appliedValueIds: number[]) {\n this.id = value.id;\n this.name = value.name;\n this.applied = appliedValueIds.indexOf(value.id) > -1;\n this.apply = this.applied;\n }\n}\n","import { AttributeValue, AttributeValueFilter } from '@/models/attribute-value';\n\nexport interface Attribute {\n id: number;\n name: string;\n values: AttributeValue[];\n}\n\nexport class AttributeFilter {\n public id: number;\n public name: string;\n public values: AttributeValueFilter[];\n\n public get hasApply() {\n for (const av of this.values) {\n if (av.apply) {\n return true;\n }\n }\n return false;\n }\n\n constructor(attribute: Attribute, appliedValueIds: number[]) {\n this.id = attribute.id;\n this.name = attribute.name;\n this.values = attribute.values.map((v) => new AttributeValueFilter(v, appliedValueIds));\n }\n}\n","export function isSuperset(set: Set, subset: Set) {\n for (const elem of subset) {\n if (!set.has(elem)) {\n return false;\n }\n }\n return true;\n}\n\nexport function union(setA: Set, setB: Set) {\n const u = new Set(setA);\n for (const elem of setB) {\n u.add(elem);\n }\n return u;\n}\n\nexport function intersection(setA: Set, setB: Set) {\n const i = new Set();\n for (const elem of setB) {\n if (setA.has(elem)) {\n i.add(elem);\n }\n }\n return i;\n}\n\nexport function difference(setA: Set, setB: Set) {\n const d = new Set(setA);\n for (const elem of setB) {\n d.delete(elem);\n }\n return d;\n}\n","import { Module, VuexModule, Mutation, Action } from 'vuex-module-decorators';\nimport { Category, CategoryFilter } from '@/models/category';\nimport { Attribute, AttributeFilter } from '@/models/attribute';\nimport { AttributeValueFilter } from '@/models/attribute-value';\nimport { difference, intersection } from '@/utils/set';\n\n\n@Module({ namespaced: true, name: 'filter' })\nexport default class FilterModule extends VuexModule {\n\n public categories: CategoryFilter[] = [];\n public attributes: AttributeFilter[] = [];\n public minPrice: number = 0;\n public maxPrice: number = 0;\n public minPriceFilter: number = 0;\n public maxPriceFilter: number = 0;\n public appliedMinPriceFilter: number = 0;\n public appliedMaxPriceFilter: number = 0;\n public sortValue: string = '';\n public search: string = '';\n\n private appliedCategoryIds: Set = new Set();\n private appliedValueIds: Set = new Set();\n\n\n public get appliedCategories() {\n const appliedCategories: CategoryFilter[] = [];\n const buildSc = (cts: CategoryFilter[]) => {\n for (const c of cts) {\n if (c.applied) {\n appliedCategories.push(c);\n } else {\n buildSc(c.children);\n }\n }\n };\n buildSc(this.categories);\n return appliedCategories;\n }\n\n public get applyCategories() {\n const applyCategories: CategoryFilter[] = [];\n const buildSc = (cts: CategoryFilter[]) => {\n for (const c of cts) {\n if (c.children.length === 0 && c.apply) {\n applyCategories.push(c);\n }\n buildSc(c.children);\n }\n };\n buildSc(this.categories);\n return applyCategories;\n }\n\n public get appliedAttributes() {\n const appliedAttributes: Array<{attribute: AttributeFilter, values: AttributeValueFilter[]}> = [];\n for (const attribute of this.attributes) {\n const values: AttributeValueFilter[] = [];\n for (const value of attribute.values) {\n if (value.applied) {\n values.push(value);\n }\n }\n if (values.length) {\n appliedAttributes.push({attribute, values});\n }\n }\n return appliedAttributes;\n }\n\n public get applyAttributes() {\n const applyAttributes: Array<{attribute: AttributeFilter, value: AttributeValueFilter}> = [];\n for (const attribute of this.attributes) {\n for (const value of attribute.values) {\n if (value.apply) {\n applyAttributes.push({attribute, value});\n }\n }\n }\n return applyAttributes;\n }\n\n public get hasAppliedFilters() {\n return this.appliedCategories.length || this.appliedAttributes.length ||\n this.minPrice !== this.appliedMinPriceFilter || this.maxPrice !== this.appliedMaxPriceFilter;\n }\n\n public get hasFiltersToApply() {\n const applyCategoriesIds = new Set(this.applyCategories.map((c) => c.id));\n const applyValuesIds = new Set(this.applyAttributes.map((c) => c.value.id));\n const ics = intersection(this.appliedCategoryIds, applyCategoriesIds).size;\n const ivs = intersection(this.appliedValueIds, applyValuesIds).size;\n return !(ics === this.appliedCategoryIds.size && ics === applyCategoriesIds.size) ||\n !(ivs === this.appliedValueIds.size && ivs === applyValuesIds.size) ||\n this.minPriceFilter !== this.appliedMinPriceFilter || this.maxPriceFilter !== this.appliedMaxPriceFilter;\n }\n\n @Mutation\n public filtersFetched(filters: any) {\n this.search = filters.search;\n this.categories = filters.categories.map((c: Category) => new CategoryFilter(c, filters.appliedCategoryIds));\n this.appliedCategoryIds = new Set(filters.appliedCategoryIds);\n this.attributes = filters.attributes.map((a: Attribute) => new AttributeFilter(a, filters.appliedValueIds));\n this.appliedValueIds = new Set(filters.appliedValueIds);\n this.minPrice = filters.prices.minPrice;\n this.maxPrice = filters.prices.maxPrice;\n this.appliedMinPriceFilter = filters.prices.minPriceFilter;\n this.appliedMaxPriceFilter = filters.prices.maxPriceFilter;\n this.minPriceFilter = filters.prices.minPriceFilter;\n this.maxPriceFilter = filters.prices.maxPriceFilter;\n }\n\n @Mutation\n public categoryChecked({category, selected}: { category: CategoryFilter, selected: boolean }) {\n category.apply = selected;\n }\n\n @Mutation\n public valueChecked({value, selected}: { value: AttributeValueFilter, selected: boolean }) {\n value.apply = selected;\n }\n\n @Mutation\n public pricesFilterChanged({minPriceFilter, maxPriceFilter}: {minPriceFilter: number, maxPriceFilter: number}) {\n this.minPriceFilter = minPriceFilter;\n this.maxPriceFilter = maxPriceFilter;\n }\n\n @Mutation\n public sortValueChanged(v: string) {\n this.sortValue = v;\n }\n\n @Mutation\n public filtersCleared() {\n for (const c of this.categories) {\n c.apply = false;\n }\n for (const a of this.attributes) {\n for (const av of a.values) {\n av.apply = false;\n }\n }\n this.minPriceFilter = this.minPrice;\n this.maxPriceFilter = this.maxPrice;\n }\n\n @Action\n public checkCategory(data: {category: CategoryFilter, selected: boolean}) {\n this.context.commit('categoryChecked', data);\n }\n\n @Action\n public checkAttributeValue(data: {value: AttributeValueFilter, selected: boolean}) {\n this.context.commit('valueChecked', data);\n }\n\n @Action\n public changePricesFilter(v: {minPriceFilter: number, maxPriceFilter: number}) {\n this.context.commit('pricesFilterChanged', v);\n }\n\n @Action\n public clearFilters() {\n this.context.commit('filtersCleared');\n }\n\n @Action\n public changeSortValue(v: string) {\n this.context.commit('sortValueChanged', v);\n this.applyFilters();\n }\n\n @Action\n public applyFilters() {\n const sp = new URLSearchParams();\n\n for (const c of this.applyCategories) {\n sp.append('fcategory', c.id.toString());\n }\n\n for (const a of this.applyAttributes) {\n sp.append('fattribute', `${a.attribute.id}_${a.value.id}`);\n }\n if (this.minPriceFilter !== this.minPrice) {\n sp.append('fminprice', this.minPriceFilter.toString());\n }\n if (this.maxPriceFilter !== this.maxPrice) {\n sp.append('fmaxprice', this.maxPriceFilter.toString());\n }\n\n if (this.sortValue) {\n sp.append('sort', this.sortValue);\n }\n\n if (this.search) {\n sp.append('search', this.search);\n }\n\n const filterQuery = sp.toString();\n window.location.search = filterQuery.length > 0 ? '?' + filterQuery : '';\n }\n\n}\n","export default class DmqToggler {\n\n private toggled = false;\n\n constructor(\n private readonly togglerEls: HTMLElement[],\n private readonly toggledEl: HTMLElement,\n private readonly togglerToggledClass: string | null,\n private readonly toggledToggledClass: string | null,\n ) {\n togglerEls.forEach((el: HTMLElement) => {\n el.onclick = () => {\n this.toggle();\n };\n });\n }\n\n private toggleOn() {\n this.toggled = true;\n if (this.togglerToggledClass) {\n const t = this.togglerToggledClass;\n this.togglerEls.forEach((el: HTMLElement) => {\n el.classList.add(t);\n });\n }\n if (this.toggledToggledClass) {\n this.toggledEl.classList.add(this.toggledToggledClass);\n }\n }\n\n private toggleOff() {\n this.toggled = false;\n if (this.togglerToggledClass) {\n const t = this.togglerToggledClass;\n this.togglerEls.forEach((el: HTMLElement) => {\n el.classList.remove(t);\n });\n }\n if (this.toggledToggledClass) {\n this.toggledEl.classList.remove(this.toggledToggledClass);\n }\n }\n\n private toggle() {\n if (!this.toggled) {\n this.toggleOn();\n } else {\n this.toggleOff();\n }\n }\n\n}\n","import numeral from 'numeral';\n\nexport default class DmqRemainingTime {\n constructor(private el: HTMLElement) {\n let remainingSeconds = parseInt(el.dataset.remainingSeconds || '0', 10);\n const dayEl = el.querySelector(el.dataset.dayEl || '');\n const hourEl = el.querySelector(el.dataset.hourEl || '');\n const minuteEl = el.querySelector(el.dataset.minuteEl || '');\n const secondEl = el.querySelector(el.dataset.secondEl || '');\n\n if (hourEl && minuteEl && secondEl && dayEl) {\n if (remainingSeconds > 0) {\n const intHandle = setInterval(() => {\n let day = '';\n let hour = '';\n let minute = '';\n let second = '';\n\n second = numeral(Math.floor(remainingSeconds % 60)).format('00');\n minute = numeral(Math.floor((remainingSeconds / 60) % 60)).format('00');\n hour = numeral(Math.floor((remainingSeconds / (60 * 60) % 24))).format('00');\n day = numeral(Math.floor(remainingSeconds / (3600 * 24) )).format('0');\n\n secondEl.innerText = second;\n minuteEl.innerText = minute;\n hourEl.innerText = hour;\n dayEl.innerText = day;\n\n if (day === '0') {\n secondEl.hidden = false;\n minuteEl.hidden = false;\n hourEl.hidden = false;\n dayEl.hidden = true;\n\n } else {\n secondEl.hidden = true;\n minuteEl.hidden = true;\n hourEl.hidden = true;\n dayEl.hidden = false;\n }\n\n if (remainingSeconds <= 0) {\n clearInterval(intHandle);\n }\n remainingSeconds -= 1;\n }, 1000);\n } else {\n secondEl.innerText = '0';\n minuteEl.innerText = '0';\n hourEl.innerText = '0';\n dayEl.innerText = '0';\n }\n\n }\n\n\n }\n}\n","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DmqPriceFilter.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DmqPriceFilter.vue?vue&type=style&index=0&lang=scss&\"","import axios, { AxiosRequestConfig } from 'axios';\n\nconst api = axios.create({\n baseURL: process.env.VUE_APP_DMQ_API_URL,\n});\n\napi.interceptors.request.use((config: AxiosRequestConfig): AxiosRequestConfig => {\n config.headers['Content-Type'] = 'application/dmq+json';\n // tslint:disable-next-line:no-string-literal\n config.headers['Accept'] = 'application/dmq+json';\n config.headers['X-Requested-With'] = 'XMLHttpRequest';\n return config;\n}, (error: any): any => Promise.reject(error));\n\nexport interface ApiError {\n message?: string;\n}\n\nexport default api;\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.customClasses},[_c('div',{staticClass:\"dmq-form-col\"},[(_vm.deliveryAddresses.length)?_c('h1',{staticClass:\"dmq-form-head\"},[_vm._v(\" Adresse de livraison \")]):_vm._e(),(_vm.deliveryAddresses.length)?_c('dmq-checkout-address-radios',{attrs:{\"addresses\":_vm.deliveryAddresses,\"name\":\"delivery_address\"},on:{\"edit\":_vm.editDeliveryAddress,\"delete\":_vm.deleteDeliveryAddress,\"select\":_vm.selectDeliveryAddress},model:{value:(_vm.selectedDeliveryAddress),callback:function ($$v) {_vm.selectedDeliveryAddress=$$v},expression:\"selectedDeliveryAddress\"}}):_vm._e(),(_vm.deliveryAddresses.length)?_c('div',{staticClass:\"dmq-form-separator\"},[_vm._v(\"ou\")]):_vm._e(),(!_vm.deliveryFormShown && _vm.deliveryAddresses.length)?_c('div',{staticClass:\"dmq-field\"},[_c('div',{staticClass:\"dmq-control\"},[_c('button',{staticClass:\"dmq-form-button-inverse\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.addDeliveryAddress}},[_vm._v(\" Ajouter une nouvelle adresse \")])])]):_vm._e(),(_vm.deliveryFormShown || _vm.deliveryAddresses.length === 0)?_c('dmq-address-form',{attrs:{\"form-title\":\"Nouvelle adresse de livraison\",\"cancel-enabled\":_vm.deliveryAddresses.length > 0,\"type-address\":\"delivery\",\"address\":_vm.deliveryAddress,\"disabled\":_vm.loading},on:{\"submit\":_vm.saveDeliveryAddress,\"cancel\":function($event){_vm.deliveryFormShown = false}}}):_vm._e()],1),_c('div',{staticClass:\"dmq-form-col\"},[_c('h1',{staticClass:\"dmq-form-head\"},[_vm._v(\" Adresse de facturation \")]),_c('dmq-checkout-address-radios',{attrs:{\"addresses\":_vm.invoiceAddresses,\"show-empty-radio\":true,\"empty-radio-label\":\"Identique à l'adresse de livraison\",\"name\":\"invoice_address\"},on:{\"edit\":_vm.editInvoiceAddress,\"delete\":_vm.deleteInvoiceAddress,\"select\":_vm.selectInvoiceAddress},model:{value:(_vm.selectedInvoiceAddress),callback:function ($$v) {_vm.selectedInvoiceAddress=$$v},expression:\"selectedInvoiceAddress\"}}),_c('div',{staticClass:\"dmq-form-separator\"},[_vm._v(\"ou\")]),(!_vm.invoiceFormShown)?_c('div',{staticClass:\"dmq-field\"},[_c('div',{staticClass:\"dmq-control\"},[_c('button',{staticClass:\"dmq-form-button-inverse\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.addInvoiceAddress}},[_vm._v(\" Ajouter une nouvelle adresse \")])])]):_vm._e(),(_vm.invoiceFormShown)?_c('dmq-address-form',{attrs:{\"form-title\":\"Nouvelle adresse de facturation\",\"cancel-enabled\":true,\"type-address\":\"invoice\",\"address\":_vm.invoiceAddress,\"disabled\":_vm.loading},on:{\"submit\":_vm.saveInvoiceAddress,\"cancel\":function($event){_vm.invoiceFormShown = false}}}):_vm._e(),(_vm.csrfToken)?_c('form',{staticClass:\"dmq-form\",attrs:{\"method\":\"post\",\"action\":\"/shop/address\"}},[_c('input',{attrs:{\"type\":\"hidden\",\"name\":\"csrf_token\"},domProps:{\"value\":_vm.csrfToken}}),_c('input',{attrs:{\"type\":\"hidden\",\"name\":\"delivery_partner_id\"},domProps:{\"value\":_vm.deliveryId}}),_c('input',{attrs:{\"type\":\"hidden\",\"name\":\"invoice_partner_id\"},domProps:{\"value\":_vm.invoiceId}}),_c('div',{staticClass:\"dmq-field\"},[_c('button',{staticClass:\"dmq-form-button\",attrs:{\"type\":\"submit\",\"disabled\":!_vm.deliveryId || !_vm.invoiceId || _vm.deliveryFormShown || _vm.invoiceFormShown}},[_vm._v(\" Continuer vers le paiement \")])])]):_vm._e()],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"dmq-checkout-address-radios\"},[(_vm.showEmptyRadio)?_c('label',{class:{'dmq-radio-label ': true, 'dmq-radio-label--has-separator': _vm.addresses.length > 0}},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selectedAddress),expression:\"selectedAddress\"}],staticClass:\"dmq-radio\",attrs:{\"type\":\"radio\",\"name\":_vm.name},domProps:{\"value\":null,\"checked\":_vm._q(_vm.selectedAddress,null)},on:{\"click\":function($event){return _vm.$emit('select', null)},\"change\":function($event){_vm.selectedAddress=null}}}),_c('div',{staticClass:\"dmq-checkout-address-radios__address\"},[_vm._v(\" \"+_vm._s(_vm.emptyRadioLabel)+\" \")])]):_vm._e(),_vm._l((_vm.addresses),function(address,index){return _c('label',{key:address.id,class:{'dmq-radio-label ': true, 'dmq-radio-label--has-separator': index !== _vm.addresses.length - 1}},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selectedAddress),expression:\"selectedAddress\"}],staticClass:\"dmq-radio\",attrs:{\"type\":\"radio\",\"name\":_vm.name},domProps:{\"value\":address,\"checked\":_vm._q(_vm.selectedAddress,address)},on:{\"click\":function($event){return _vm.$emit('select', address)},\"change\":function($event){_vm.selectedAddress=address}}}),_c('div',{staticClass:\"dmq-checkout-address-radios__address\"},[_vm._v(\" \"+_vm._s(address.name ? address.name : '')+\" \"),_c('br'),_vm._v(\" \"+_vm._s(address.street ? address.street : '')+\" \"),_c('br'),_vm._v(\" \"+_vm._s(address.street2 ? address.street2 : '')+\" \"),(address.street2)?_c('br'):_vm._e(),_vm._v(\" \"+_vm._s(address.zip ? address.zip : '')+\" \"+_vm._s(address.city ? address.city : '')),_c('br'),_vm._v(\" \"+_vm._s(address.countryName ? address.countryName : '')),_c('br')]),_c('div',{staticClass:\"dmq-checkout-address-radios__actions\"},[_c('a',{staticClass:\"dmq-checkout-address-radios__action\",on:{\"click\":function($event){$event.preventDefault();return _vm.$emit('edit', address)}}},[_c('i',{staticClass:\"dmq-icon-edit\"}),_c('span',{staticClass:\"dmq-checkout-address-radios__action-label\"},[_vm._v(\"Modifier\")])]),_c('a',{staticClass:\"dmq-checkout-address-radios__action\",on:{\"click\":function($event){$event.preventDefault();return _vm.$emit('delete', address)}}},[_c('i',{staticClass:\"dmq-icon-trash\"}),_c('span',{staticClass:\"dmq-checkout-address-radios__action-label\"},[_vm._v(\"Supprimer\")])])])])})],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Vue, Component, Prop } from 'vue-property-decorator';\nimport { Address } from '@/models/address';\n\n@Component\nexport default class DmqCheckoutAddressRadios extends Vue {\n\n @Prop()\n private readonly addresses!: Address[];\n\n @Prop()\n private readonly name!: string;\n\n @Prop()\n private readonly value!: Address;\n\n @Prop({\n required: false,\n type: Boolean,\n default: false,\n })\n private readonly showEmptyRadio!: boolean;\n\n @Prop({\n required: false,\n type: String,\n default: '',\n })\n private readonly emptyRadioLabel!: string;\n\n private get selectedAddress() {\n return this.value;\n }\n\n private set selectedAddress(val: Address) {\n this.$emit('input', val);\n }\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DmqCheckoutAddressRadios.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DmqCheckoutAddressRadios.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DmqCheckoutAddressRadios.vue?vue&type=template&id=0832c94a&\"\nimport script from \"./DmqCheckoutAddressRadios.vue?vue&type=script&lang=ts&\"\nexport * from \"./DmqCheckoutAddressRadios.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./DmqCheckoutAddressRadios.vue?vue&type=style&index=0&lang=scss&\"\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\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('form',{staticClass:\"dma-address-form dmq-form\",attrs:{\"novalidate\":\"\"},on:{\"submit\":function($event){$event.preventDefault();return _vm.submit($event)}}},[_c('h1',{staticClass:\"dmq-form-head\"},[_vm._v(\" \"+_vm._s(_vm.formTitle)+\" \")]),_c('div',{staticClass:\"dmq-field\"},[_c('label',{staticClass:\"dmq-label\",attrs:{\"for\":\"name\"}},[_vm._v(\" Nom et prénom * \")]),_c('div',{staticClass:\"dmq-control\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.$v.name.$model),expression:\"$v.name.$model\",modifiers:{\"trim\":true}}],staticClass:\"dmq-input\",attrs:{\"id\":\"name\",\"type\":\"text\",\"name\":\"name\",\"disabled\":_vm.disabled},domProps:{\"value\":(_vm.$v.name.$model)},on:{\"blur\":[function($event){return _vm.$v.name.$touch()},function($event){return _vm.$forceUpdate()}],\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.$v.name, \"$model\", $event.target.value.trim())}}})]),(_vm.$v.name.$error && !_vm.$v.name.notBlank)?_c('div',{staticClass:\"dmq-help dmq-help--error\"},[_vm._v(\" Le nom et prénom doivent être définis. \")]):_vm._e()]),_c('div',{staticClass:\"dmq-field\"},[_c('label',{staticClass:\"dmq-label\",attrs:{\"for\":\"street\"}},[_vm._v(\" Adresse (rue et numéro) * \")]),_c('div',{staticClass:\"dmq-control\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.$v.street.$model),expression:\"$v.street.$model\",modifiers:{\"trim\":true}}],staticClass:\"dmq-input\",attrs:{\"id\":\"street\",\"type\":\"text\",\"name\":\"street\",\"disabled\":_vm.disabled},domProps:{\"value\":(_vm.$v.street.$model)},on:{\"blur\":[function($event){return _vm.$v.street.$touch()},function($event){return _vm.$forceUpdate()}],\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.$v.street, \"$model\", $event.target.value.trim())}}})]),(_vm.$v.street.$error && !_vm.$v.street.notBlank)?_c('div',{staticClass:\"dmq-help dmq-help--error\"},[_vm._v(\" L'adresse doit être définie. \")]):_vm._e()]),_c('div',{staticClass:\"dmq-field\"},[_vm._m(0),_c('div',{staticClass:\"dmq-control\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.street2),expression:\"street2\",modifiers:{\"trim\":true}}],staticClass:\"dmq-input\",attrs:{\"id\":\"street2\",\"type\":\"text\",\"name\":\"street2\",\"disabled\":_vm.disabled},domProps:{\"value\":(_vm.street2)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.street2=$event.target.value.trim()},\"blur\":function($event){return _vm.$forceUpdate()}}})])]),_c('div',{staticClass:\"dmq-field\"},[_c('label',{staticClass:\"dmq-label\",attrs:{\"for\":\"zip\"}},[_vm._v(\" Code postal * \")]),_c('div',{staticClass:\"dmq-control\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.$v.zip.$model),expression:\"$v.zip.$model\",modifiers:{\"trim\":true}}],staticClass:\"dmq-input\",attrs:{\"id\":\"zip\",\"type\":\"text\",\"name\":\"zip\",\"disabled\":_vm.disabled},domProps:{\"value\":(_vm.$v.zip.$model)},on:{\"blur\":[function($event){return _vm.$v.zip.$touch()},function($event){return _vm.$forceUpdate()}],\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.$v.zip, \"$model\", $event.target.value.trim())}}})]),(_vm.$v.zip.$error && !_vm.$v.zip.notBlank)?_c('div',{staticClass:\"dmq-help dmq-help--error\"},[_vm._v(\" Le numéro postal doit être défini. \")]):_vm._e()]),_c('div',{staticClass:\"dmq-field\"},[_c('label',{staticClass:\"dmq-label\",attrs:{\"for\":\"city\"}},[_vm._v(\" Lieu * \")]),_c('div',{staticClass:\"dmq-control\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.$v.city.$model),expression:\"$v.city.$model\",modifiers:{\"trim\":true}}],staticClass:\"dmq-input\",attrs:{\"id\":\"city\",\"type\":\"text\",\"name\":\"city\",\"disabled\":_vm.disabled},domProps:{\"value\":(_vm.$v.city.$model)},on:{\"blur\":[function($event){return _vm.$v.city.$touch()},function($event){return _vm.$forceUpdate()}],\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.$v.city, \"$model\", $event.target.value.trim())}}})]),(_vm.$v.city.$error && !_vm.$v.city.notBlank)?_c('div',{staticClass:\"dmq-help dmq-help--error\"},[_vm._v(\" Le lieu doit être défini. \")]):_vm._e()]),_c('div',{staticClass:\"dmq-field\"},[_c('label',{staticClass:\"dmq-label\",attrs:{\"for\":\"countryId\"}},[_vm._v(\" Pays * \")]),_c('div',{staticClass:\"dmq-control\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.$v.countryId.$model),expression:\"$v.countryId.$model\",modifiers:{\"trim\":true}}],staticClass:\"dmq-select2\",attrs:{\"id\":\"countryId\",\"name\":\"countryId\",\"disabled\":_vm.disabled},on:{\"blur\":function($event){return _vm.$v.countryId.$touch()},\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(_vm.$v.countryId, \"$model\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},_vm._l((_vm.countries),function(country){return _c('option',{domProps:{\"value\":country.id}},[_vm._v(_vm._s(country.name))])}),0)]),(_vm.$v.countryId.$error && !_vm.$v.countryId.notBlank)?_c('div',{staticClass:\"dmq-help dmq-help--error\"},[_vm._v(\" Le pays doit être défini. \")]):_vm._e()]),_c('div',{staticClass:\"dmq-field\"},[_c('label',{staticClass:\"dmq-label\",attrs:{\"for\":\"phone\"}},[_vm._v(\" Téléphone * \")]),_c('div',{staticClass:\"dmq-control\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.$v.phone.$model),expression:\"$v.phone.$model\",modifiers:{\"trim\":true}}],staticClass:\"dmq-input\",attrs:{\"id\":\"phone\",\"type\":\"text\",\"name\":\"phone\",\"disabled\":_vm.disabled},domProps:{\"value\":(_vm.$v.phone.$model)},on:{\"blur\":[function($event){return _vm.$v.phone.$touch()},function($event){return _vm.$forceUpdate()}],\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.$v.phone, \"$model\", $event.target.value.trim())}}})]),(_vm.$v.phone.$error && !_vm.$v.phone.notBlank)?_c('div',{staticClass:\"dmq-help dmq-help--error\"},[_vm._v(\" Le numéro de téléphone doit être défini. \")]):_vm._e()]),(_vm.typeAddress === 'invoice')?_c('div',{staticClass:\"dmq-field\"},[_c('label',{staticClass:\"dmq-label\",attrs:{\"for\":\"email\"}},[_vm._v(\" Email * \")]),_c('div',{staticClass:\"dmq-control\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.$v.email.$model),expression:\"$v.email.$model\",modifiers:{\"trim\":true}}],staticClass:\"dmq-input\",attrs:{\"id\":\"email\",\"type\":\"text\",\"name\":\"email\",\"disabled\":_vm.disabled},domProps:{\"value\":(_vm.$v.email.$model)},on:{\"blur\":[function($event){return _vm.$v.email.$touch()},function($event){return _vm.$forceUpdate()}],\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.$v.email, \"$model\", $event.target.value.trim())}}})]),(_vm.$v.email.$error && !_vm.$v.email.notBlank)?_c('div',{staticClass:\"dmq-help dmq-help--error\"},[_vm._v(\" L'adresse email doit être définie. \")]):_vm._e()]):_vm._e(),_c('div',{staticClass:\"dmq-field\"},[_c('button',{staticClass:\"dmq-form-button-inverse\",attrs:{\"type\":\"submit\",\"disabled\":_vm.validForm(\n _vm.$v.name.$invalid,\n _vm.$v.street.$invalid,\n _vm.$v.zip.$invalid,\n _vm.$v.city.$invalid,\n _vm.$v.countryId.$invalid,\n _vm.$v.phone.$invalid,\n _vm.$v.email.$invalid\n ) || _vm.disabled}},[_vm._v(\" Enregistrer l'adresse \")])]),(_vm.cancelEnabled)?_c('div',{staticClass:\"dmq-field\"},[_c('button',{staticClass:\"dmq-form-button-inverse\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.$emit('cancel')}}},[_vm._v(\" Annuler \")])]):_vm._e(),_vm._m(1)])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('label',{staticClass:\"dmq-label\",attrs:{\"for\":\"street2\"}},[_vm._v(\" Complément d'adresse \"),_c('span',{staticClass:\"dmq-form-optional\"},[_vm._v(\"(facultatif)\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"dmq-field\"},[_c('span',{staticClass:\"dmq-form-optional\"},[_vm._v(\" * Champs obligatoires \")])])}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator';\nimport { validationMixin } from 'vuelidate';\nimport { Address } from '@/models/address';\nimport { Country } from '@/models/country';\nimport AddressesModule from '@/store/modules/addresses-module';\nimport {getModule} from \"vuex-module-decorators\";\nimport store from \"@/store\";\nimport { email } from 'vuelidate/lib/validators';\n\nconst addressesModule = getModule(AddressesModule, store);\n\nfunction notBlank(value: any): boolean {\n return (value || '').trim().length > 0;\n}\n\nfunction notBlankInt(value: any): boolean {\n return (value || 0) > 0;\n}\n\n@Component({\n mixins: [validationMixin],\n validations: {\n name: {\n notBlank,\n },\n street: {\n notBlank,\n },\n zip: {\n notBlank,\n },\n city: {\n notBlank,\n },\n countryId: {\n notBlankInt,\n },\n phone: {\n notBlank,\n },\n email: {\n notBlank,\n email\n },\n },\n})\n\n\nexport default class DmqAddressForm extends Vue {\n\n @Prop()\n private readonly formTitle!: string;\n\n @Prop()\n private readonly disabled!: boolean;\n\n @Prop()\n private readonly cancelEnabled!: boolean;\n\n @Prop()\n private readonly address!: Address | null;\n\n @Prop()\n private readonly typeAddress!: string;\n\n private id: number | null = null;\n private name: string = '';\n private street: string = '';\n private street2: string = '';\n private zip: string = '';\n private city: string = '';\n private countryId: number | null = null;\n private phone: string = '';\n private email: string = '';\n\n private countries: Country[] = [];\n\n private validForm(invName:boolean,\n invStreet:boolean,\n invZip:boolean,\n invCity:boolean,\n invCountryId:boolean,\n invPhone:boolean,\n invEmail:boolean) {\n const invalid: boolean = invName || invStreet || invZip || invCity || invCountryId || invPhone;\n return this.typeAddress === 'delivery' ? invalid : invalid || invEmail;\n }\n\n @Watch('address')\n private updateAddress(val: Address | null) {\n if (val) {\n this.id = val.id ? val.id : null;\n this.name = val.name ? val.name : '';\n this.street = val.street ? val.street : '';\n this.street2 = val.street2 ? val.street2 : '';\n this.zip = val.zip ? val.zip : '';\n this.city = val.city ? val.city : '';\n this.countryId = val.countryId ? val.countryId : null;\n this.phone = val.phone ? val.phone : '';\n this.email = val.email ? val.email : '';\n } else {\n this.id = null;\n this.name = '';\n this.street = '';\n this.street2 = '';\n this.zip = '';\n this.city = '';\n this.countryId = null;\n this.phone = '';\n this.email = '';\n }\n }\n\n private getValues() {\n addressesModule.getCountries().then(() => {\n const countries = addressesModule.countries;\n if(this.typeAddress === 'delivery') {\n this.countries = countries.filter(c => c.code === 'CH' || c.code === 'LI');\n } else {\n this.countries = countries;\n }\n\n this.updateAddress(this.address);\n });\n }\n\n private mounted() {\n this.getValues();\n }\n\n private submit() {\n this.$emit('submit', {\n id: this.id,\n name: this.name,\n street: this.street,\n street2: this.street2,\n zip: this.zip,\n city: this.city,\n countryId: this.countryId,\n phone: this.phone,\n email: this.email,\n });\n }\n}\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DmqAddressForm.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DmqAddressForm.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DmqAddressForm.vue?vue&type=template&id=0f5c493f&\"\nimport script from \"./DmqAddressForm.vue?vue&type=script&lang=ts&\"\nexport * from \"./DmqAddressForm.vue?vue&type=script&lang=ts&\"\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\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport DmqCheckoutAddressRadios from '@/components/DmqCheckoutAddressRadios.vue';\nimport DmqAddressForm from '@/components/DmqAddressForm.vue';\nimport { getModule } from 'vuex-module-decorators';\nimport store from '@/store';\nimport AddressesModule from '@/store/modules/addresses-module';\nimport CartModule from '@/store/modules/cart-module';\nimport { Address } from '@/models/address';\n\nconst addressesModule = getModule(AddressesModule, store);\nconst cartModule = getModule(CartModule, store);\n\n@Component({\n components: {\n DmqCheckoutAddressRadios,\n DmqAddressForm,\n },\n})\nexport default class DmqCheckoutAddresses extends Vue {\n\n private deliveryFormShown = false;\n private loading = false;\n private invoiceFormShown = false;\n\n private deliveryAddress: Address | null = null;\n private selectedDeliveryAddress: Address | null = null;\n\n private invoiceAddress: Address | null = null;\n private selectedInvoiceAddress: Address | null = null;\n\n @Prop()\n private readonly customClasses!: string;\n\n @Prop()\n private readonly deliveryPartnerId!: number;\n\n @Prop()\n private readonly invoicePartnerId!: number;\n\n @Prop()\n private readonly csrfToken!: string;\n\n private get deliveryAddresses() {\n return addressesModule.addresses.filter((a: Address) => {\n return a.type === 'delivery';\n });\n }\n\n private get invoiceAddresses() {\n return addressesModule.addresses.filter((a: Address) => {\n return a.type === 'invoice';\n });\n }\n\n private get deliveryId() {\n return this.selectedDeliveryAddress ? this.selectedDeliveryAddress.id : null;\n }\n\n private get invoiceId() {\n const invoiceId = (this.selectedInvoiceAddress ? this.selectedInvoiceAddress.id : null);\n return invoiceId ? invoiceId : this.deliveryId;\n }\n\n private mounted() {\n const sd = this.deliveryAddresses.filter((a) => {\n return a.id === this.deliveryPartnerId;\n });\n this.selectedDeliveryAddress = sd.length > 0 ? sd[0] : null;\n const id = this.invoiceAddresses.filter((a) => {\n return a.id === this.invoicePartnerId;\n });\n this.selectedInvoiceAddress = id.length > 0 ? id[0] : null;\n }\n\n private addDeliveryAddress() {\n this.deliveryAddress = null;\n this.deliveryFormShown = true;\n }\n\n private editDeliveryAddress(address: Address) {\n this.deliveryAddress = address;\n this.deliveryFormShown = true;\n }\n\n private deleteDeliveryAddress(address: Address) {\n this.loading = true;\n if (this.deliveryId === address.id) {\n this.selectedDeliveryAddress = null;\n }\n addressesModule.deleteAddress(address).then(() => {\n this.loading = false;\n });\n }\n\n private saveDeliveryAddress(address: Address) {\n address.type = 'delivery';\n this.loading = true;\n if (address.id != null) {\n addressesModule.editAddress({\n oldAddress: this.deliveryAddress!,\n newAddress: address,\n }).then(() => {\n this.deliveryFormShown = false;\n this.loading = false;\n this.deliveryAddress = null;\n if (this.selectedDeliveryAddress && this.selectedDeliveryAddress.id === address.id) {\n this.selectedDeliveryAddress = this.deliveryAddresses.filter((a) => {\n return a.id === address.id;\n })[0];\n }\n });\n } else {\n addressesModule.addAddress(address).then(() => {\n this.deliveryFormShown = false;\n this.loading = false;\n if (!this.selectedDeliveryAddress && this.deliveryAddresses.length) {\n this.selectedDeliveryAddress = this.deliveryAddresses[this.deliveryAddresses.length - 1];\n }\n });\n }\n\n }\n\n private addInvoiceAddress() {\n this.invoiceAddress = null;\n this.invoiceFormShown = true;\n }\n\n private editInvoiceAddress(address: Address) {\n this.invoiceAddress = address;\n this.invoiceFormShown = true;\n }\n\n private deleteInvoiceAddress(address: Address) {\n this.loading = true;\n if (this.invoiceId === address.id) {\n this.selectedInvoiceAddress = null;\n }\n addressesModule.deleteAddress(address).then(() => {\n this.loading = false;\n });\n }\n\n private saveInvoiceAddress(address: Address) {\n address.type = 'invoice';\n this.loading = true;\n if (address.id != null) {\n addressesModule.editAddress({\n oldAddress: this.invoiceAddress!,\n newAddress: address,\n }).then(() => {\n this.invoiceFormShown = false;\n this.loading = false;\n this.invoiceAddress = null;\n if (this.selectedInvoiceAddress && this.selectedInvoiceAddress.id === address.id) {\n this.selectedInvoiceAddress = this.invoiceAddresses.filter((a) => {\n return a.id === address.id;\n })[0];\n }\n });\n } else {\n addressesModule.addAddress(address).then(() => {\n this.invoiceFormShown = false;\n this.loading = false;\n if (!this.selectedInvoiceAddress && this.invoiceAddresses.length) {\n this.selectedInvoiceAddress = this.invoiceAddresses[this.invoiceAddresses.length - 1];\n }\n });\n }\n }\n\n private selectDeliveryAddress(address: Address) {\n if (!this.csrfToken && address) {\n addressesModule.setDefaultShipping(address.id!);\n }\n }\n\n private selectInvoiceAddress(address: Address) {\n let id = null;\n if (address) {\n id = address.id!;\n } else {\n id = this.deliveryId;\n }\n if (!this.csrfToken && id) {\n addressesModule.setDefaultInvoice(id);\n }\n }\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DmqCheckoutAddresses.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DmqCheckoutAddresses.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DmqCheckoutAddresses.vue?vue&type=template&id=6b95f6c8&\"\nimport script from \"./DmqCheckoutAddresses.vue?vue&type=script&lang=ts&\"\nexport * from \"./DmqCheckoutAddresses.vue?vue&type=script&lang=ts&\"\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\nexport default component.exports","if (!Element.prototype.matches)\n Element.prototype.matches = Element.prototype.msMatchesSelector ||\n Element.prototype.webkitMatchesSelector;\n\nif (!Element.prototype.closest)\n Element.prototype.closest = function (s) {\n var el = this;\n if (!document.documentElement.contains(el)) return null;\n do {\n if (el.matches(s)) return el;\n el = el.parentElement || el.parentNode;\n } while (el !== null && el.nodeType == 1);\n return null;\n };\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"dmq-my-regions\"},[(_vm.loading)?_c('div',{staticClass:\"dmq-spinner\"}):_vm._e(),(!_vm.loading)?[(_vm.error)?_c('p',{staticClass:\"dmq-my-regions-error\"},[_vm._v(\" \"+_vm._s(_vm.error)+\" \")]):_vm._e(),_vm._l((_vm.zones),function(zone){return _c('div',{class:{\n 'dmq-my-regions-zone': true,\n 'dmq-my-regions-zone--expanded': _vm.zoneExpanded(zone),\n 'dmq-my-regions-zone--collapsed': _vm.zoneCollapsed(zone),\n }},[_c('h2',{staticClass:\"dmq-my-regions-zone-head\",on:{\"click\":function($event){return _vm.toggleZone(zone)}}},[_vm._v(_vm._s(zone.name))]),_vm._l((zone.regions),function(r){return _c('label',{staticClass:\"dmq-my-regions-label\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(r.checked),expression:\"r.checked\"}],staticClass:\"dmq-my-regions-checkbox\",attrs:{\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(r.checked)?_vm._i(r.checked,null)>-1:(r.checked)},on:{\"change\":function($event){var $$a=r.checked,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.$set(r, \"checked\", $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(r, \"checked\", $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(r, \"checked\", $$c)}}}}),_vm._v(\" \"+_vm._s(r.name)+\" \")])})],2)}),_c('div',{staticClass:\"dmq-my-regions-actions\"},[_c('button',{staticClass:\"dmq-form-button\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.selectAll}},[_vm._v(\" Tout séléctionner \")]),_c('button',{staticClass:\"dmq-form-button\",attrs:{\"type\":\"button\",\"disabled\":_vm.saveDisabled},on:{\"click\":_vm.save}},[_vm._v(\" Enregistrer \")])])]:_vm._e()],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Prop } from 'vue-property-decorator';\nimport SalesRegionsModule from '@/store/modules/sales-regions-module';\nimport { getModule } from 'vuex-module-decorators';\nimport store from '@/store';\nimport { SaleZone } from '@/models/sale-region';\n\nconst salesRegionsModule = getModule(SalesRegionsModule, store);\n\n@Component\nexport default class DmqMyRegions extends Vue {\n\n private error: string = '';\n private loading: boolean = false;\n private expandedZoneIds: number[] = [];\n\n private get saveDisabled() {\n return salesRegionsModule.hasNoSelection;\n }\n\n public get zones() {\n return salesRegionsModule.salesZones;\n }\n\n private mounted() {\n for (const z of this.zones) {\n if (z.regions.filter((sr) => sr.checked).length > 0) {\n this.expandedZoneIds.push(z.id);\n }\n }\n if (this.expandedZoneIds.length === 0 && this.zones.length > 0) {\n this.expandedZoneIds.push(this.zones[0].id);\n }\n }\n\n private selectAll() {\n salesRegionsModule.selectAll();\n this.save();\n }\n\n private save() {\n this.loading = true;\n salesRegionsModule.saveRegions().then(() => {\n window.location.reload();\n }, () => {\n this.loading = false;\n this.error = 'Quelque chose s\\'est mal passé lors de l\\'enregistrement, veuillez rééssayer.';\n });\n }\n\n private toggleZone(zone: SaleZone) {\n if (this.zoneCollapsed(zone)) {\n this.expandedZoneIds.push(zone.id);\n } else {\n this.expandedZoneIds.splice(this.expandedZoneIds.indexOf(zone.id));\n }\n }\n\n private zoneExpanded(zone: SaleZone) {\n return this.expandedZoneIds.indexOf(zone.id) !== -1;\n }\n\n private zoneCollapsed(zone: SaleZone) {\n return !this.zoneExpanded(zone);\n }\n\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DmqMyRegions.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DmqMyRegions.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DmqMyRegions.vue?vue&type=template&id=7718e12e&\"\nimport script from \"./DmqMyRegions.vue?vue&type=script&lang=ts&\"\nexport * from \"./DmqMyRegions.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./DmqMyRegions.vue?vue&type=style&index=0&lang=scss&\"\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\nexport default component.exports","import { Swiper, Navigation, Pagination, Autoplay, Lazy } from 'swiper';\n\n// Install modules\nSwiper.use([Navigation, Pagination, Autoplay, Lazy]);\n\nexport default Swiper;\n","import { Module, VuexModule, Mutation, Action } from 'vuex-module-decorators';\nimport {Cart, CartItemToUpdate, CartPaymentMedthod, CartRetailerSectionToUpdate} from '@/models/cart';\nimport PromoCode from '@/models/promo-code';\nimport api from '@/api';\n\n@Module({ namespaced: true, name: 'cart' })\nexport default class CartModule extends VuexModule {\n public isFetching: boolean = false;\n public isShown: boolean = false;\n public promoCode: PromoCode = {\n code: \"\",\n retCode: -1,\n message: \"\",\n reduction: 0.00,\n typeReduction: \"\"\n };\n public cart: Cart = {\n retailerSections: [],\n amountTotal: 0,\n amountSubtotalTotal: 0,\n intendedDeliveryFees: 0,\n deliveryFeesTotal: 0,\n paymentMethod: '',\n cartQuantity: 0,\n promocode: this.promoCode,\n updated: false,\n reduction: 0,\n embed: false,\n hasPromocode: false,\n codePromo: '',\n codePromoRetCode: 0,\n codePromoMessage: '',\n codePromoReduction: 0,\n codePromoTypeReduction: ''\n };\n\n @Mutation\n public shown() {\n this.isShown = true;\n }\n\n @Mutation\n public hidden() {\n this.isShown = false;\n }\n\n @Action\n public show() {\n this.context.commit('shown');\n }\n\n @Action\n public hide() {\n this.context.commit('hidden');\n }\n\n @Mutation\n public fetching() {\n this.isFetching = true;\n }\n\n @Mutation\n public fetched(cart: Cart) {\n this.cart = {\n id: cart.id,\n retailerSections: cart.retailerSections || [],\n amountTotal: cart.amountTotal || 0,\n amountSubtotalTotal: cart.amountSubtotalTotal || 0,\n intendedDeliveryFees: cart.intendedDeliveryFees || 0,\n deliveryFeesTotal: cart.deliveryFeesTotal || 0,\n paymentMethod: cart.paymentMethod,\n cartQuantity: cart.cartQuantity || 0,\n billingAddressId: cart.billingAddressId,\n shippingAddressId: cart.shippingAddressId,\n updated: cart.updated,\n promocode: cart.promocode,\n reduction: cart.reduction,\n embed: cart.embed,\n hasPromocode: cart.hasPromocode,\n codePromo: cart.codePromo,\n codePromoRetCode: cart.codePromoRetCode,\n codePromoTypeReduction: cart.codePromoTypeReduction,\n codePromoReduction: cart.codePromoReduction,\n codePromoMessage: cart.codePromoMessage\n };\n this.isFetching = false;\n }\n\n @Action\n public async add(item: CartItemToUpdate) {\n this.context.commit('fetching');\n try {\n const r = await api.post('cart', item);\n this.context.commit('fetched', r.data);\n } catch (e) {\n // TODO: Store error for display!\n this.context.commit('fetched', this.cart);\n }\n }\n\n @Action\n public async add_promocode_line(item: CartItemToUpdate) {\n this.context.commit('fetching');\n try {\n const r = await api.post(`cart/add_promocode_line`, item);\n this.context.commit('fetched', r.data);\n } catch (e) {\n this.context.commit('fetched', this.cart);\n }\n }\n\n @Action\n public async set_used_promocode() {\n const r = await api.post(`cart/set_used_promocode`, {});\n console.log(r);\n }\n\n @Action\n public async update(item: CartItemToUpdate) {\n this.context.commit('fetching');\n try {\n const r = await api.post(`cart/${ item.productId }`, {\n quantity: item.quantity,\n });\n this.context.commit('fetched', r.data);\n } catch (e) {\n // TODO: Store error for display!\n this.context.commit('fetched', this.cart);\n }\n }\n\n @Action\n public async method_payment(item: CartPaymentMedthod) {\n this.context.commit('fetching');\n try {\n const r = await api.post(`cart/method_payment`, {\n paymentMethod: item.paymentMethod,\n });\n this.context.commit('fetched', r.data);\n } catch (e) {\n // TODO: Store error for display!\n this.context.commit('fetched', this.cart);\n }\n }\n\n @Action\n public async updateRetailerSection(retailerSection: CartRetailerSectionToUpdate) {\n this.context.commit('fetching');\n try {\n const r = await api.post(`cart/retailer/${ retailerSection.retailerId }`, {\n paymentMode: retailerSection.paymentMode,\n deliveryMode: retailerSection.deliveryMode,\n });\n this.context.commit('fetched', r.data);\n } catch (e) {\n // TODO: Store error for display!\n this.context.commit('fetched', this.cart);\n }\n }\n\n @Action\n public async setPromotialCode(code: string) {\n if(code) {\n this.context.commit('fetching');\n\n try {\n const r = await api.post(`cart/promotionalcode`, {\n code: code,\n });\n\n if(r.data) {\n this.cart.promocode = {\n code: r.data.code,\n retCode: r.data.retCode,\n message: r.data.message,\n reduction: r.data.reduction,\n typeReduction: r.data.typeReduction\n }\n this.context.commit('fetched', this.cart);\n return r.data;\n }\n } catch (e) {\n console.log(e)\n }\n\n this.context.commit('fetched', this.cart);\n }\n }\n\n @Action\n public async getPromotialCodeProductId() {\n const r = await api.post(`cart/promotionalcode_productid`, {});\n console.log(\"ProductId: \" + r.data);\n return r.data;\n }\n\n @Action\n public async check() {\n const r = await api.post('cart/check/', {});\n console.log(r);\n this.context.commit('fetched', r.data);\n return r;\n }\n}\n","import Vue from 'vue';\nimport { Module, VuexModule, Mutation, Action } from 'vuex-module-decorators';\nimport { SaleRegion, SaleZone } from '@/models/sale-region';\nimport api from '@/api';\n\n\n@Module({ namespaced: true, name: 'salesRegions' })\nexport default class SalesRegionsModule extends VuexModule {\n\n public salesZones: SaleZone[] = [];\n\n public get hasNoSelection() {\n return this.salesZones.filter((sz) => {\n return sz.regions.filter((sr) => sr.checked).length > 0;\n }).length === 0;\n }\n\n @Mutation\n public fetched(salesZones: SaleZone[]) {\n this.salesZones = salesZones;\n }\n\n @Action\n public selectAll() {\n for (const zone of this.salesZones) {\n for (let i = 0; i < zone.regions.length; i++) {\n const r = zone.regions[i];\n r.checked = true;\n Vue.set(zone.regions, i, r);\n }\n }\n }\n\n @Action\n public async saveRegions() {\n let data: Array<{id: number}> = [];\n for (const z of this.salesZones) {\n data = data.concat(\n z.regions.filter((r: SaleRegion) => {\n return r.checked;\n }).map((r: SaleRegion) => {\n return {id: r.id};\n }),\n );\n }\n const response = await api.post('my/regions', data);\n this.context.commit('fetched', response.data);\n return response;\n }\n\n @Action\n public async selectAllAndSave() {\n let data: Array<{id: number}> = [];\n for (const z of this.salesZones) {\n data = data.concat(\n z.regions.map((r: SaleRegion) => {\n return {id: r.id};\n }),\n );\n }\n const response = await api.post('my/regions', data);\n this.context.commit('fetched', response.data);\n return response;\n }\n\n}\n","import L, { LatLngTuple, Map } from 'leaflet';\n\n// FIX leaflet's default icon path problems with webpack\ndelete (L.Icon.Default.prototype as any)._getIconUrl;\nL.Icon.Default.mergeOptions({\n iconRetinaUrl: require('leaflet/dist/images/marker-icon-2x.png'),\n iconUrl: require('leaflet/dist/images/marker-icon.png'),\n shadowUrl: require('leaflet/dist/images/marker-shadow.png'),\n});\n\nexport default class DmqMap {\n\n public readonly map: Map;\n\n constructor(private el: HTMLElement) {\n const retailerCoords: LatLngTuple = [\n Number(this.el.dataset.latitude || '0'),\n Number(this.el.dataset.longitude || '0'),\n ];\n this.map = L.map(this.el, {\n scrollWheelZoom: false,\n }).setView(retailerCoords, 20);\n L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {\n attribution: '© OpenStreetMap contributors',\n }).addTo(this.map);\n L.marker(retailerCoords).addTo(this.map);\n }\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"dmq-modal\"},[_c('section',{staticClass:\"dmq-modal-content\"},[_c('button',{staticClass:\"dmq-modal-close\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.$emit('close')}}},[_c('i',{staticClass:\"dmq-icon-cross\"})]),_vm._t(\"default\")],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\nimport '@/styles/dmq-modal.scss';\nimport { Vue, Component } from 'vue-property-decorator';\n\n@Component\nexport default class DmqModal extends Vue {\n\n protected mounted() {\n this.$emit('mounted');\n }\n\n protected destroyed() {\n this.$emit('destroyed');\n }\n}\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DmqModal.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DmqModal.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DmqModal.vue?vue&type=template&id=63564bda&\"\nimport script from \"./DmqModal.vue?vue&type=script&lang=ts&\"\nexport * from \"./DmqModal.vue?vue&type=script&lang=ts&\"\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\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"dmq-search dmq-app-bar-icon\"},[_c('i',{staticClass:\"dmq-app-bar-icon__icon dmq-icon-search dmq-icon-search-mobile\",on:{\"click\":function($event){_vm.shown = true}}}),_c('div',{staticClass:\"dmq-form-col dmq-form-col-input-text-header\"},[_c('i',{staticClass:\"dmq-search-field__search-icon-header\",on:{\"click\":_vm.onpenModalSearch}}),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.query),expression:\"query\"}],ref:\"input\",staticClass:\"dmq-search-field__input-header\",attrs:{\"type\":\"search\"},domProps:{\"value\":(_vm.query)},on:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.onpenModalSearch($event)},\"input\":function($event){if($event.target.composing){ return; }_vm.query=$event.target.value}}})]),(_vm.shown)?_c('dmq-modal',{on:{\"close\":_vm.clear,\"mounted\":function($event){return _vm.$refs.input.focus()}}},[_c('div',{staticClass:\"dmq-search-field dmq-search-field-search\"},[_c('div',{staticClass:\"dmq-form-col dmq-form-col-input-text\"},[_c('i',{staticClass:\"dmq-search-field__search-icon\"}),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.query),expression:\"query\"}],ref:\"input\",staticClass:\"dmq-search-field__input\",attrs:{\"type\":\"search\"},domProps:{\"value\":(_vm.query)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.query=$event.target.value},_vm.search],\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.enter($event)}}})]),_c('div',{staticClass:\"dmq-form-col dmq-form-col-input-select\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.allRegions),expression:\"allRegions\"}],staticClass:\"dmq-select dmq-select-regions-search\",on:{\"change\":[function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.allRegions=$event.target.multiple ? $$selectedVal : $$selectedVal[0]},_vm.changeRegions]}},[_c('option',{domProps:{\"value\":true,\"selected\":_vm.allRegions}},[_vm._v(\"Toutes les régions\")]),_c('option',{domProps:{\"value\":false,\"selected\":!_vm.allRegions}},[_vm._v(\"Dans mes régions\")])])])]),_c('div',{staticClass:\"dmq-search-results\"},[(!_vm.loading)?_c('div',{staticClass:\"dmq-display-results\"},[_c('div',{staticClass:\"dmq-form-col col-left\"},[(_vm.haveResults && _vm.retailers.length)?_c('section',{staticClass:\"dmq-search-results__section\"},[_c('h3',{staticClass:\"dmq-search-title\"},[_vm._v(\"Commerçants\")]),_c('ul',{staticClass:\"dmq-search-items\"},_vm._l((_vm.retailers),function(d){return _c('li',{staticClass:\"dmq-search-item\"},[_c('a',{class:[{'dmq-search-category-level__selected': d.id === _vm.selectedRetailer}],attrs:{\"href\":d.url},on:{\"mouseover\":function($event){return _vm.productsSelectionRetailer(d.id, d.nbProducts, d.url)}}},[_vm._v(\" \"+_vm._s(d.name)+\" \"),_c('span',{staticClass:\"dmq-numbers-products-search\"},[_vm._v(\"(\"+_vm._s(d.nbProducts)+\")\")])])])}),0)]):_vm._e(),(_vm.haveResults)?_c('section',{staticClass:\"dmq-search-results__section\"},[_c('h3',{staticClass:\"dmq-search-title\"},[_vm._v(\"Catégories\")]),(_vm.categories.length)?_c('ul',{staticClass:\"dmq-search-items\"},_vm._l((_vm.categories),function(c){return _c('li',{staticClass:\"dmq-search-item\"},[_c('div',{class:[{\n 'dmq-search-category-level__zero': c.level === 0,\n 'dmq-search-category-level__one': c.level === 1,\n 'dmq-search-category-level__two': c.level === 2,\n 'dmq-search-category-level__three': c.level === 3,\n 'dmq-search-category-level__four': c.level === 4,\n 'dmq-search-category-level__five': c.level === 5,\n 'dmq-search-category-level__six': c.level === 6,\n 'dmq-search-category-level__seven': c.level === 7,\n }]},[(c.url !== '')?_c('a',{class:[{'dmq-search-category-level__selected': c.id === _vm.selectedCategory}],staticStyle:{\"padding-bottom\":\"10px\"},attrs:{\"href\":c.url},on:{\"mouseover\":function($event){return _vm.productsSelectionCategory(c.id, c.nbProducts, c.url)}}},[_vm._v(\" \"+_vm._s(c.name)+\" \"),_c('span',{staticClass:\"dmq-numbers-products-search\"},[_vm._v(\"(\"+_vm._s(c.nbProducts)+\")\")])]):_c('div',[_c('span',{staticClass:\"dmq-numbers-products-search\"},[_vm._v(_vm._s(c.name))])])])])}),0):_vm._e(),(_vm.haveResults && !_vm.categories.length)?_c('span',{staticClass:\"dmq-numbers-products-search\"},[_vm._v(\"Aucune catégorie trouvée pour \\\"\"+_vm._s(this.query)+\"\\\"\")]):_vm._e()]):_vm._e(),(_vm.haveResults && _vm.brands.length)?_c('section',{staticClass:\"dmq-search-results__section\"},[_c('h3',{staticClass:\"dmq-search-title\"},[_vm._v(\"Marques\")]),_c('ul',{staticClass:\"dmq-search-items\"},_vm._l((_vm.brands),function(b){return _c('li',{staticClass:\"dmq-search-item\"},[_vm._v(\" \"+_vm._s(b.name)+\" \")])}),0)]):_vm._e()]),_c('div',{staticClass:\"dmq-form-col col-right\"},[(_vm.haveResults && _vm.products.length)?_c('section',{staticClass:\"dmq-search-results__section\"},[_c('h3',{staticClass:\"dmq-search-title\"},[_vm._v(\" suggestion de produits \"),(this.nbProductByCategory > 0)?_c('span',{staticClass:\"dmq-numbers-products-search\"},[_vm._v(\"(\"+_vm._s(this.nbProductByCategory)+\")\")]):_vm._e(),_c('a',{staticClass:\"dmq-form-button dmq-search-button-show-all\",attrs:{\"href\":_vm.showAllCategories}},[_vm._v(\" Tout voir \")])]),_c('ul',{staticClass:\"dmq-search-items\"},_vm._l((_vm.products),function(p){return _c('li',{staticClass:\"dmq-search-item\"},[_c('div',{staticClass:\"dmq-search-product-section\"},[_c('div',{staticClass:\"dmq-search-product-section-row\"},[_c('label',{staticClass:\"dmq-search-product-label\"},[_c('img',{staticClass:\"dmq-product-thumbnail-img__img\",attrs:{\"src\":p.imageUrl}}),_c('a',{staticStyle:{\"padding-left\":\"20px\"},attrs:{\"href\":p.url}},[_vm._v(_vm._s(p.name))])])])])])}),0)]):_vm._e()])]):_vm._e(),(_vm.loading)?_c('section',{staticClass:\"dmq-search-results__section\",staticStyle:{\"margin-top\":\"145px\"}},[_c('div',{staticClass:\"dmq-spinner\"})]):_vm._e(),(!_vm.haveResults && !_vm.loading)?_c('section',{staticClass:\"dmq-search-results__section\"},[_c('h3',{staticClass:\"dmq-search-title\"},[_vm._v(\"Aucun résultats.\")])]):_vm._e()])]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport DmqModal from '@/components/DmqModal.vue';\nimport axios, { AxiosRequestConfig } from 'axios';\nimport { SearchResults, ProductSearchResult } from \"@/models/search\";\n\n@Component({\n components: {\n DmqModal,\n },\n})\n\nexport default class DmqSearch extends Vue {\n\n private shown: boolean = false;\n private query: string = '';\n private request:any = null;\n public results: SearchResults | null = null;\n public selectedCategory: number = -1;\n public selectedRetailer: number = -1;\n public nbProductByCategory: number = -1;\n public showAllCategories: string = '';\n private loading: boolean = false;\n private allRegions: boolean = true;\n\n private sendRequest() {\n this.cancelRequest();\n this.makeRequest(this.query);\n }\n\n private cancelRequest() {\n if (this.request) {\n this.request.cancel();\n this.request = null;\n }\n }\n\n private makeRequest(query: string) {\n this.loading = true;\n const axiosSource = axios.CancelToken.source();\n this.request = { cancel: axiosSource.cancel };\n\n const axiosAPI = axios.create({\n cancelToken: axiosSource.token,\n baseURL: process.env.VUE_APP_DMQ_API_URL,\n });\n\n axiosAPI.interceptors.request.use((config: AxiosRequestConfig): AxiosRequestConfig => {\n config.headers['Content-Type'] = 'application/dmq+json';\n config.headers['Accept'] = 'application/dmq+json';\n config.headers['X-Requested-With'] = 'XMLHttpRequest';\n return config;\n });\n\n axiosAPI.get('search/', {\n params: {\n 'query': query,\n 'allRegions': this.allRegions\n }\n }).then((response) => {\n this.request = null;\n this.results = response.data;\n this.selectedRetailer = -1;\n this.selectedCategory = -1;\n this.showAllCategories = '/shop?search=' + this.query;\n\n if (this.results && this.results.categories) {\n const cat = this.results.categories.find(x => {\n return x.url !== ''\n });\n if (cat) {\n this.selectedCategory = cat.id;\n this.nbProductByCategory = cat.nbProducts;\n this.showAllCategories = cat.url;\n }\n }\n\n if (this.results && this.results.retailers && this.selectedCategory === -1) {\n const retailer = this.results.retailers[0];\n if (retailer) {\n this.selectedRetailer = retailer.id;\n this.nbProductByCategory = retailer.nbProducts;\n this.showAllCategories = retailer.url;\n }\n }\n\n if (this.selectedRetailer === -1 && this.selectedCategory === -1) {\n this.nbProductByCategory = this.results && this.results.nbProducts ? this.results.nbProducts : 0;\n }\n\n this.loading = false;\n\n }).catch((err) => {\n if (axios.isCancel(err)) {\n console.log(\"Request cancelled\", err.message);\n }\n });\n }\n\n private productsSelectionCategory(id: number, nbProducts: number, url: string) {\n this.selectedRetailer = -1;\n if (this.selectedCategory !== id) {\n this.selectedCategory = id;\n this.nbProductByCategory = nbProducts;\n this.showAllCategories = url;\n }\n }\n\n private productsSelectionRetailer(id: number, nbProducts: number, url: string) {\n this.selectedCategory = -1;\n if (this.selectedRetailer !== id) {\n this.selectedRetailer = id;\n this.nbProductByCategory = nbProducts;\n this.showAllCategories = url;\n }\n }\n\n private get haveResults() {\n return this.results && (\n this.results.products.length ||\n this.results.categories.length ||\n this.results.brands.length ||\n this.results.retailers.length\n );\n }\n\n private get categories() {\n if (this.results) {\n return this.results.categories;\n }\n return [];\n }\n\n private get products() {\n if (this.results && this.results.products) {\n if (this.selectedCategory !== -1) {\n return this.results.products.filter(x => {\n return x.categoryId === this.selectedCategory\n });\n\n } else if (this.selectedRetailer !== -1) {\n return this.results.products.filter(x => {\n return x.retailerId === this.selectedRetailer\n });\n } else {\n return this.results.products\n }\n }\n return [];\n }\n\n private get brands() {\n if (this.results) {\n return this.results.brands;\n }\n return [];\n }\n\n private get retailers() {\n if (this.results) {\n return this.results.retailers;\n }\n return [];\n }\n\n private search() {\n if(this.query.length >= 3) {\n this.sendRequest();\n }\n }\n\n private enter() {\n if (this.query) {\n window.location.assign(this.showAllCategories);\n }\n }\n\n private onpenModalSearch() {\n if (this.query) {\n this.shown = true;\n this.sendRequest();\n }\n }\n\n private clear() {\n this.shown = false;\n this.query = '';\n this.allRegions = true;\n this.sendRequest();\n }\n\n private changeRegions() {\n this.search();\n }\n\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DmqSearch.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DmqSearch.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DmqSearch.vue?vue&type=template&id=1dd90fd5&\"\nimport script from \"./DmqSearch.vue?vue&type=script&lang=ts&\"\nexport * from \"./DmqSearch.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./DmqSearch.vue?vue&type=style&index=0&lang=scss&\"\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\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _vm._m(0)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a',{staticClass:\"dmq-app-bar-icon\",attrs:{\"href\":\"/my\"}},[_c('i',{staticClass:\"dmq-app-bar-icon__icon dmq-icon-user\"}),_c('div',{staticClass:\"dmq-app-bar-icon__label\"},[_vm._v(\"Mon compte\")])])}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\nimport { Component, Vue } from 'vue-property-decorator';\n\n@Component({})\nexport default class DmqUserIcon extends Vue {\n\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DmqUserIcon.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DmqUserIcon.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DmqUserIcon.vue?vue&type=template&id=3de44cee&\"\nimport script from \"./DmqUserIcon.vue?vue&type=script&lang=ts&\"\nexport * from \"./DmqUserIcon.vue?vue&type=script&lang=ts&\"\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\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a',{staticClass:\"dmq-app-bar-icon\",attrs:{\"href\":_vm.linkCart}},[_c('i',{staticClass:\"dmq-app-bar-icon__icon dmq-icon-cart\",class:{'dmq-app-bar-icon__icon--badge': _vm.cartQuantity > 0},attrs:{\"data-badge\":_vm.cartQuantity}}),_c('div',{staticClass:\"dmq-app-bar-icon__label\"},[_vm._v(\"Panier\")])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport { getModule } from 'vuex-module-decorators';\nimport CartModule from '@/store/modules/cart-module';\nimport store from '@/store';\nconst cartModule = getModule(CartModule, store);\n\n@Component({})\nexport default class DmqCartIcon extends Vue {\n protected get cartQuantity() {\n return cartModule.cart.cartQuantity;\n }\n\n private get embed() {\n return cartModule.cart.embed ? cartModule.cart.embed : false;\n }\n\n protected get linkCart() {\n let link = \"/shop/cart\";\n if (this.embed) {\n link = \"/shop/cart_embed/\" + cartModule.cart.id;\n }\n\n return link;\n }\n\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DmqCartIcon.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DmqCartIcon.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DmqCartIcon.vue?vue&type=template&id=617a3f4a&\"\nimport script from \"./DmqCartIcon.vue?vue&type=script&lang=ts&\"\nexport * from \"./DmqCartIcon.vue?vue&type=script&lang=ts&\"\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\nexport default component.exports","function isIn(element: HTMLElement, subElement: HTMLElement): boolean {\n\n let parent: HTMLElement | null = element;\n while (parent) {\n if (parent === subElement) {\n return true;\n }\n parent = parent.parentElement;\n }\n return false;\n}\n\nexport default class DmqNavItem {\n\n private readonly navLevel: string | null = null;\n\n constructor(private navItemEl: HTMLElement) {\n\n for (const clsName of navItemEl.classList) {\n if (clsName.startsWith('dmq-nav-item--l')) {\n this.navLevel = clsName.replace('dmq-nav-item--', '');\n }\n }\n\n // const toggleEl = this.toggleEl;\n const contentEl = this.contentEl;\n const linkEl = this.linkEl;\n const listEl = this.listEl;\n\n if (listEl && listEl.classList.contains('dmq-nav-list--menu')) {\n document.addEventListener('click', (e) => {\n if (!isIn(e.target as HTMLElement, listEl)) {\n listEl.querySelectorAll(`.dmq-nav-item.dmq-nav-item--${this.navLevel}`).forEach((ie) => {\n (ie as HTMLElement).classList.add('dmq-nav-item--deselecting');\n (ie as HTMLElement).classList.remove('dmq-nav-item--selected');\n });\n }\n });\n }\n\n /* if (toggleEl && contentEl) {\n toggleEl.onclick = (ev) => {\n if (getComputedStyle(toggleEl).display !== 'none') {\n ev.preventDefault();\n if (this.isExpanded) {\n this.navItemEl.classList.remove('dmq-nav-item--expanded');\n this.navItemEl.classList.add('dmq-nav-item--collapsed');\n } else {\n this.navItemEl.classList.add('dmq-nav-item--expanded');\n this.navItemEl.classList.remove('dmq-nav-item--collapsed');\n }\n }\n };\n } */\n\n if (linkEl && contentEl) {\n linkEl.onclick = (ev) => {\n\n ev.preventDefault();\n\n // For mobile\n if (this.isExpanded) {\n this.navItemEl.classList.remove('dmq-nav-item--expanded');\n this.navItemEl.classList.add('dmq-nav-item--collapsed');\n } else {\n this.navItemEl.classList.add('dmq-nav-item--expanded');\n this.navItemEl.classList.remove('dmq-nav-item--collapsed');\n }\n\n const isSelected = this.isSelected;\n const le = this.listEl;\n const isMenu = le ? le.classList.contains('dmq-nav-list--menu') : false;\n const isTab = le ? le.classList.contains('dmq-nav-list--tab') : false;\n if (le && (isMenu || isTab)) {\n\n const hasSelected = le.querySelectorAll(\n `.dmq-nav-item.dmq-nav-item--${this.navLevel}.dmq-nav-item--selected`).length > 0;\n\n le.querySelectorAll(`.dmq-nav-item.dmq-nav-item--${this.navLevel}`).forEach((ie) => {\n const nie = ie as HTMLElement;\n\n if (nie === this.navItemEl) {\n if (isSelected && isMenu) {\n nie.classList.add('dmq-nav-item--deselecting');\n nie.classList.remove('dmq-nav-item--selecting', 'dmq-nav-item--selected');\n } else if (hasSelected) {\n nie.classList.remove('dmq-nav-item--selecting', 'dmq-nav-item--deselecting');\n nie.classList.add('dmq-nav-item--selected');\n } else {\n nie.classList.remove('dmq-nav-item--deselecting');\n nie.classList.add('dmq-nav-item--selecting');\n nie.classList.add('dmq-nav-item--selected');\n }\n } else {\n nie.classList.remove('dmq-nav-item--selecting', 'dmq-nav-item--deselecting');\n nie.classList.remove('dmq-nav-item--selected');\n }\n\n });\n }\n };\n }\n }\n\n private elForLevel(cls: string): HTMLElement | null {\n if (this.navLevel) {\n return this.navItemEl.querySelector(`.${cls}.${cls}--${this.navLevel}`) as HTMLElement | null;\n }\n return null;\n }\n\n private get linkEl() {\n return this.elForLevel('dmq-nav-link');\n }\n\n private get contentEl() {\n return this.elForLevel('dmq-nav-content');\n }\n\n private get toggleEl() {\n return this.elForLevel('dmq-nav-toggle');\n }\n\n private get listEl() {\n return this.navItemEl.closest(`.dmq-nav-list.dmq-nav-list--${this.navLevel}`) as HTMLElement | null;\n }\n\n private get isExpanded() {\n return this.navItemEl.classList.contains('dmq-nav-item--expanded');\n }\n\n private get isSelected() {\n return this.navItemEl.classList.contains('dmq-nav-item--selected');\n }\n\n}\n","import DmqNavItem from '@/components/DmqNavItem';\n\nexport default class DmqNav {\n\n constructor(private navEl: HTMLElement) {\n navEl.querySelectorAll('.dmq-nav-item').forEach((dni) => {\n const _ = new DmqNavItem(dni as HTMLElement);\n });\n }\n\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"dmq-regions-modal\"},[(_vm.shown)?_c('dmq-modal',{on:{\"close\":_vm.close}},[_c('div',{staticClass:\"dmq-regions-modal-content\"},[(_vm.loading)?_c('div',{staticClass:\"dmq-spinner\"}):_vm._e(),(!_vm.loading)?[_c('h1',{staticClass:\"dmq-regions-head\"},[_vm._v(\"Bienvenue sur dansmonquartier.ch !\")]),_c('p',{staticClass:\"dmq-regions-p\"},[_vm._v(\" Votre plateforme e-commerce qui regroupe les commerçants de votre région ! \")]),_c('p',{staticClass:\"dmq-regions-p\"},[_vm._v(\" Ci-dessous, vous pouvez choisir la ou les régions qui vous intéressent. \")]),_c('p',{staticClass:\"dmq-regions-p\"},[_vm._v(\" Bonne visite dans les boutiques régionales ! \")]),_c('dmq-my-regions')]:_vm._e()],2)]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport DmqModal from '@/components/DmqModal.vue';\nimport DmqMyRegions from '@/components/DmqMyRegions.vue';\nimport { getModule } from 'vuex-module-decorators';\nimport store from '@/store';\nimport SalesRegionsModule from '@/store/modules/sales-regions-module';\nimport { SaleRegion } from '@/models/sale-region';\n\nconst salesRegionsModule = getModule(SalesRegionsModule, store);\n\n@Component({\n components: {\n DmqModal,\n DmqMyRegions,\n },\n})\nexport default class DmqRegionsModal extends Vue {\n\n private shown: boolean = false;\n private loading: boolean = false;\n\n private mounted() {\n this.shown = salesRegionsModule.hasNoSelection;\n }\n\n private close() {\n this.loading = true;\n salesRegionsModule.selectAllAndSave().then(() => {\n window.location.reload();\n }, () => {\n window.location.reload();\n });\n }\n\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DmqRegionsModal.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DmqRegionsModal.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DmqRegionsModal.vue?vue&type=template&id=d46611c6&\"\nimport script from \"./DmqRegionsModal.vue?vue&type=script&lang=ts&\"\nexport * from \"./DmqRegionsModal.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./DmqRegionsModal.vue?vue&type=style&index=0&lang=scss&\"\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\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"dmq-newsletter-subscribe\"},[(_vm.loading)?_c('div',{staticClass:\"dmq-spinner\"}):_vm._e(),(!_vm.loading)?[(_vm.message && !_vm.error)?_c('h3',{staticClass:\"dmq-newsletter-title\"},[_vm._v(\"Inscription effectuée !\")]):_vm._e(),(!_vm.message || _vm.error)?_c('h3',{staticClass:\"dmq-newsletter-title\"},[_vm._v(_vm._s(_vm.title))]):_vm._e(),(!_vm.message || _vm.error)?_c('p',{staticClass:\"dmq-newsletter-description\"},[_vm._v(_vm._s(_vm.description))]):_vm._e(),(!_vm.message || _vm.error)?_c('form',{staticClass:\"dmq-newsletter-form\",on:{\"submit\":function($event){$event.preventDefault();return _vm.subscribe()}}},[(!_vm.email)?_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.emailModel),expression:\"emailModel\"}],staticClass:\"dmq-newsletter-input\",attrs:{\"type\":\"email\",\"placeholder\":_vm.placeholder},domProps:{\"value\":(_vm.emailModel)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.emailModel=$event.target.value}}}):_vm._e(),_c('button',{class:{'dmq-newsletter-button': true, 'dmq-newsletter-button--full': _vm.email},attrs:{\"type\":\"submit\",\"disabled\":!_vm.emailModel && !_vm.email}},[_vm._v(_vm._s(_vm.email ? _vm.subscribeActionLabel : _vm.sendActionLabel))])]):_vm._e(),(_vm.message && _vm.error)?_c('div',{class:{'dmq-newsletter-message': true, 'dmq-newsletter-message--error': _vm.error}},[_vm._v(_vm._s(_vm.message))]):_vm._e()]:_vm._e()],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Vue, Component, Prop } from 'vue-property-decorator';\nimport api from '@/api';\n\n@Component\nexport default class DmqNewsletterSubscribe extends Vue {\n\n @Prop({\n type: String,\n })\n private readonly email?: string;\n\n @Prop({\n type: String,\n })\n private readonly title?: string;\n\n @Prop({\n type: String,\n })\n private readonly description?: string;\n\n @Prop({\n type: String,\n })\n private readonly placeholder?: string;\n\n @Prop({\n type: String,\n })\n private readonly sendActionLabel?: string;\n\n @Prop({\n type: String,\n })\n private readonly subscribeActionLabel?: string;\n\n private emailModel: string = '';\n private error: boolean = false;\n private message: string = '';\n private loading: boolean = false;\n\n private subscribe() {\n this.loading = true;\n api.post('newsletter/subscribe', {\n email: this.email || this.emailModel,\n }).then(() => {\n this.error = false;\n this.message = 'Inscription effectuée !';\n this.loading = false;\n }, () => {\n this.error = true;\n this.message = 'Echec de l\\'inscription, veuillez vérifier l\\'adresse e-mail.';\n this.loading = false;\n });\n }\n}\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DmqNewsletterSubscribe.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DmqNewsletterSubscribe.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DmqNewsletterSubscribe.vue?vue&type=template&id=6eb189da&\"\nimport script from \"./DmqNewsletterSubscribe.vue?vue&type=script&lang=ts&\"\nexport * from \"./DmqNewsletterSubscribe.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./DmqNewsletterSubscribe.vue?vue&type=style&index=0&lang=scss&\"\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\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"dmq-newsletter-unsubscribe\"},[(_vm.contacts.length > 0 && this.message === '')?_c('div',[_c('div',{staticClass:\"dmq-newsletter-unsubscribe-header\"},[_c('h1',{staticClass:\"dmq-newsletter-unsubscribe-title\"},[_vm._v(\"Tu nous quittes déjà ?\")]),_c('button',{staticClass:\"dmq-form-button-inverse dmq-newsletter-unsubscribe-button\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.comeBack}},[_vm._v(\"non, je rigole\")]),_c('button',{staticClass:\"dmq-form-button-inverse dmq-newsletter-unsubscribe-button dmq-newsletter-padding\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.showReason}},[_vm._v(\"oui, c'est fini entre nous\")])]),(_vm.showUnsubscribing)?_c('form',{staticClass:\"dmq-newsletter-unsubscribe-form\",staticStyle:{\"padding-top\":\"20px\"},on:{\"submit\":function($event){$event.preventDefault();return _vm.unsubscribeReason()}}},[_c('h1',{staticClass:\"dmq-newsletter-unsubscribe-title\"},[_vm._v(\"Ça ne sera pas la même chose sans toi...\")]),_c('h3',[_vm._v(\"Aide nous à comprendre pourquoi, que l'on puisse s'améliorer :\")]),_c('div',{staticClass:\"dmq-form-why\"},[_c('div',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.reason),expression:\"reason\"}],attrs:{\"type\":\"radio\",\"id\":\"too_many_emails\",\"name\":\"reason\",\"value\":\"too_many_emails\"},domProps:{\"checked\":_vm._q(_vm.reason,\"too_many_emails\")},on:{\"change\":function($event){_vm.reason=\"too_many_emails\"}}}),_c('label',{attrs:{\"for\":\"too_many_emails\"}},[_vm._v(\"Trop de mails, je préfère les relations moins intrusives.\")])]),_c('div',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.reason),expression:\"reason\"}],attrs:{\"type\":\"radio\",\"id\":\"not_interesting\",\"name\":\"reason\",\"value\":\"not_interesting\"},domProps:{\"checked\":_vm._q(_vm.reason,\"not_interesting\")},on:{\"change\":function($event){_vm.reason=\"not_interesting\"}}}),_c('label',{attrs:{\"for\":\"not_interesting\"}},[_vm._v(\"Pas intéressant pour moi.\")])]),_c('div',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.reason),expression:\"reason\"}],attrs:{\"type\":\"radio\",\"id\":\"30_day_break\",\"name\":\"reason\",\"value\":\"30_day_break\"},domProps:{\"checked\":_vm._q(_vm.reason,\"30_day_break\")},on:{\"change\":function($event){_vm.reason=\"30_day_break\"}}}),_c('label',{attrs:{\"for\":\"30_day_break\"}},[_vm._v(\"Ce n'est pas vous, c'est moi. J'ai besoin d'une pause de 30 jours.\")])]),_c('div',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.reason),expression:\"reason\"}],attrs:{\"type\":\"radio\",\"id\":\"remember_not_to_register\",\"name\":\"reason\",\"value\":\"remember_not_to_register\"},domProps:{\"checked\":_vm._q(_vm.reason,\"remember_not_to_register\")},on:{\"change\":function($event){_vm.reason=\"remember_not_to_register\"}}}),_c('label',{attrs:{\"for\":\"remember_not_to_register\"}},[_vm._v(\"Je ne me rappelle pas m'être inscrit-e à cette newsletter.\")])]),_c('div',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.reason),expression:\"reason\"}],attrs:{\"type\":\"radio\",\"id\":\"other\",\"name\":\"reason\",\"value\":\"other\"},domProps:{\"checked\":_vm._q(_vm.reason,\"other\")},on:{\"change\":function($event){_vm.reason=\"other\"}}}),_c('label',{attrs:{\"for\":\"other\"}},[_vm._v(\"Autre :\")]),_c('br'),_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.otherReason),expression:\"otherReason\"}],attrs:{\"name\":\"other-reason\",\"rows\":\"4\",\"cols\":\"35\",\"disabled\":_vm.reason !== 'other'},domProps:{\"value\":(_vm.otherReason)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.otherReason=$event.target.value}}})])]),_c('div',{staticClass:\"dmq-newsletter-unsubscibe-button-bloc\"},[_c('button',{staticClass:\"dmq-form-button-inverse dmq-newsletter-unsubscribe-button\",attrs:{\"id\":\"btn_validation_unsubscribe\",\"type\":\"submit\",\"disabled\":_vm.reason === ''}},[_vm._v(\"je valide mon choix\")])]),_vm._m(0),_vm._m(1)]):_vm._e()]):_vm._e(),(_vm.contacts.length === 0 && this.message === '')?_c('div',[_c('h1',[_vm._v(\"Vous n'êtes pas inscrit à la newsletter !\")])]):_vm._e(),(_vm.message !== '')?_c('div',[_c('h1',[_vm._v(_vm._s(this.message))])]):_vm._e()])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"dmq-form-newsletter-social\"},[_c('h3',[_vm._v(\"Si les newsletters ce n'est pas ton truc, tu peux toujours nous suivre sur les réseaux sociaux :\")]),_c('div',{staticClass:\"dmq-form-newsletter-social-icons\"},[_c('a',{staticClass:\"dmq-footer-social-icon dmq-footer-social-icon--facebook\",attrs:{\"href\":\"https://www.facebook.com/dansmonquartier.ch/\",\"target\":\"_blank\"}}),_c('a',{staticClass:\"dmq-footer-social-icon dmq-footer-social-icon--instagram\",attrs:{\"href\":\"https://www.instagram.com/dansmonquartier.ch/\",\"target\":\"_blank\"}})])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"dmq-newsletter-good-by\"},[_c('h1',[_vm._v(\"On espère te revoir bientôt et n'oublie pas :\")]),_c('h2',[_vm._v(\"Consommer local, c'est primordial !\")])])}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Vue, Component, Prop } from 'vue-property-decorator';\nimport api from '@/api';\n\n@Component\nexport default class DmqNewsletterUnubscribe extends Vue {\n\n @Prop({\n type: Array,\n })\n private readonly contacts?: [];\n\n @Prop({\n type: Number,\n })\n private readonly mailingId?: number;\n\n @Prop({\n type: String,\n })\n private readonly email?: string;\n\n private showUnsubscribing: boolean = false;\n private reason: string = '';\n private otherReason: string = '';\n private loading: boolean = false;\n private message: string = '';\n private error: boolean = false;\n\n private showReason() {\n this.showUnsubscribing = !this.showUnsubscribing;\n }\n\n private unsubscribeReason() {\n this.loading = true;\n\n if(this.reason !== 'other') {\n this.otherReason = '';\n }\n\n api.post('newsletter/unsubscribe_reason', {\n reason: this.reason,\n otherReason: this.otherReason,\n mailingId: this.mailingId,\n email: this.email\n }).then(() => {\n this.error = false;\n this.message = 'Votre désinscription s\\'est effectuée avec succès !';\n this.loading = false;\n }, () => {\n this.error = true;\n this.message = 'Un problème est survenu lors de votre désinscription. Merci de prendre contact avec nous.';\n this.loading = false;\n });\n }\n\n private comeBack() {\n window.location.assign('/');\n }\n}\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DmqNewsletterUnsubscribe.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DmqNewsletterUnsubscribe.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DmqNewsletterUnsubscribe.vue?vue&type=template&id=470085b2&\"\nimport script from \"./DmqNewsletterUnsubscribe.vue?vue&type=script&lang=ts&\"\nexport * from \"./DmqNewsletterUnsubscribe.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./DmqNewsletterUnsubscribe.vue?vue&type=style&index=0&lang=scss&\"\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\nexport default component.exports","import '@/pollyfills/web/closest';\nimport Vue from 'vue';\nimport store from './store';\n\nimport DmqSearch from '@/components/DmqSearch.vue';\nimport DmqUserIcon from '@/components/DmqUserIcon.vue';\nimport DmqCartIcon from '@/components/DmqCartIcon.vue';\nimport DmqToggler from '@/components/DmqToggler';\nimport DmqNav from '@/components/DmqNav';\nimport DmqRegionsModal from '@/components/DmqRegionsModal.vue';\nimport CartModule from '@/store/modules/cart-module';\nimport SalesRegionsModule from '@/store/modules/sales-regions-module';\nimport { getModule } from 'vuex-module-decorators';\nimport DmqNewsletterSubscribe from '@/components/DmqNewsletterSubscribe.vue';\nimport DmqNewsletterUnubscribe from '@/components/DmqNewsletterUnsubscribe.vue';\nimport DmqCheckoutAddresses from \"@/components/DmqCheckoutAddresses.vue\";\n\nVue.config.productionTip = false;\n\nnew DmqSearch({\n store,\n}).$mount('#dmq-search');\n\nnew DmqUserIcon({\n store,\n}).$mount('#dmq-user-icon');\n\nconst cartIconEl = document.getElementById('dmq-cart-icon') as HTMLElement;\nconst cartData = JSON.parse(cartIconEl.dataset.cart || '');\ngetModule(CartModule, store).fetched(cartData);\nnew DmqCartIcon({\n store,\n}).$mount(cartIconEl);\n\nconst hamburgerEl = document.querySelector('.dmq-main-hamburger') as HTMLElement;\nconst navEl = document.getElementById(hamburgerEl.dataset.toggle || '') as HTMLElement;\n\nif (hamburgerEl && navEl) {\n const _ = new DmqToggler([hamburgerEl], navEl, 'is-active', 'dmq-nav--fullscreen');\n}\n\ndocument.querySelectorAll('.dmq-nav').forEach((e) => {\n const _ = new DmqNav(e as HTMLElement);\n});\n\nconst saleRegionsModalEl = document.getElementById('dmq-regions-modal') as HTMLElement;\nif (saleRegionsModalEl) {\n getModule(SalesRegionsModule, store).fetched(JSON.parse(saleRegionsModalEl.dataset.saleZones || ''));\n new DmqRegionsModal({\n store,\n }).$mount(saleRegionsModalEl);\n}\n\nconst newsLetterSubscribeEl = document.getElementById('dmq-newsletter-subscribe') as HTMLElement;\nif (newsLetterSubscribeEl) {\n new DmqNewsletterSubscribe({\n propsData: newsLetterSubscribeEl.dataset,\n }).$mount(newsLetterSubscribeEl);\n}\n\nconst newsLetterUnubscribeEl = document.getElementById('dmq-newsletter-unsubscribe') as HTMLElement;\nif (newsLetterUnubscribeEl) {\n new DmqNewsletterUnubscribe({\n propsData: {\n contacts: newsLetterUnubscribeEl.dataset.contacts || [],\n mailingId: parseInt(newsLetterUnubscribeEl.dataset.mailingId || '', 10),\n email: newsLetterUnubscribeEl.dataset.email || ''\n },\n }).$mount(newsLetterUnubscribeEl);\n}\n\n/* document.querySelectorAll('.dmq-whishlist-button').forEach((e) => {\n const btEl = e as HTMLElement;\n const productId = btEl.dataset.productId ? parseInt(btEl.dataset.productId, 10) : null;\n if (productId) {\n new DmqWishlistButton({\n store,\n propsData: {\n productId,\n },\n }).$mount(btEl);\n }\n}); */\n","import { Module, VuexModule, Mutation, Action } from 'vuex-module-decorators';\nimport { Address } from '@/models/address';\nimport { Country } from '@/models/country';\nimport api from '@/api';\n\n\n@Module({ namespaced: true, name: 'addresses' })\nexport default class AddressesModule extends VuexModule {\n\n public addresses: Address[] = [];\n public countries: Country[] = [];\n public error: any = null;\n\n @Mutation\n public countriesFetched(countries: Country[]) {\n this.countries = countries;\n }\n\n @Mutation\n public addressesFetched(addresses: Address[]) {\n this.addresses = addresses;\n }\n\n @Mutation\n public addressAdded(address: Address) {\n this.addresses.push(address);\n }\n\n @Mutation\n public addressEdited({oldAddress, newAddress}: {oldAddress: Address, newAddress: Address}) {\n const index = this.addresses.indexOf(oldAddress);\n if (index > -1) {\n this.addresses.splice(index, 1, newAddress);\n }\n }\n\n @Mutation\n public hadError(error: any) {\n console.log(error);\n this.error = error;\n }\n\n @Action\n public async getCountries() {\n try {\n const r = await api.get('country/', {});\n this.context.commit('countriesFetched', r.data);\n } catch (e) {\n // Nothing to do\n }\n }\n\n @Action\n public async deleteAddress(address: Address) {\n try {\n const r = await api.delete(`address/${address.id}`);\n this.context.commit('addressesFetched', r.data);\n } catch (e) {\n this.context.commit('hadError', e.response);\n }\n }\n\n @Action\n public async addAddress(address: Address) {\n try {\n const r = await api.post('address', address);\n this.context.commit('addressesFetched', r.data);\n } catch (e) {\n this.context.commit('hadError', e.response);\n }\n }\n\n @Action\n public async editAddress({oldAddress, newAddress}: {oldAddress: Address, newAddress: Address}) {\n try {\n const r = await api.put(`address/${newAddress.id}`, newAddress);\n this.context.commit('addressesFetched', r.data);\n } catch (e) {\n this.context.commit('hadError', e.response);\n }\n }\n\n @Action\n public async setDefaultInvoice(id: number) {\n await api.put('address/default_invoice', {\n id,\n });\n }\n\n @Action\n public async setDefaultShipping(id: number) {\n await api.put('address/default_shipping', {\n id,\n });\n }\n\n}\n","import { Module, VuexModule, Mutation, Action } from 'vuex-module-decorators';\nimport Wishlist from '@/models/wishlist';\nimport { WishlistItemToggle } from '@/models/wishlist-item';\nimport api from '@/api';\n\n@Module({ namespaced: true, name: 'wishlist' })\nexport default class WishlistModule extends VuexModule {\n public isFetching: boolean = false;\n public isShown: boolean = false;\n public wishlist: Wishlist = {\n items: [],\n };\n\n @Mutation\n public shown() {\n this.isShown = true;\n }\n\n @Mutation\n public hidden() {\n this.isShown = false;\n }\n\n @Action\n public show() {\n this.context.commit('shown');\n }\n\n @Action\n public hide() {\n this.context.commit('hidden');\n }\n\n @Mutation\n public fetching() {\n this.isFetching = true;\n }\n\n @Mutation\n public fetched(wishlist: Wishlist) {\n this.wishlist = {\n items: wishlist.items || [],\n };\n this.isFetching = false;\n }\n\n @Action\n public async toggle(item: WishlistItemToggle) {\n this.context.commit('fetching');\n try {\n const r = await api.post(`wishlist/${item.productId}`, item);\n this.context.commit('fetched', r.data);\n } catch (e) {\n // TODO: Store error for display!\n this.context.commit('fetched', this.wishlist);\n }\n }\n\n}\n","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DmqSearch.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DmqSearch.vue?vue&type=style&index=0&lang=scss&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DmqNewsletterUnsubscribe.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DmqNewsletterUnsubscribe.vue?vue&type=style&index=0&lang=scss&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DmqNewsletterSubscribe.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DmqNewsletterSubscribe.vue?vue&type=style&index=0&lang=scss&\"","import 'normalize.css';\nimport '@/styles/dmq-icon.scss';\nimport '@/styles/dmq-reset.scss';\nimport '@/styles/dmq-app-headband.scss';\nimport '@/styles/dmq-app-header.scss';\nimport '@/styles/dmq-main-hamburger.scss';\nimport '@/styles/dmq-app-bar.scss';\nimport '@/styles/dmq-app-logo.scss';\nimport '@/styles/dmq-nav.scss';\nimport '@/styles/dmq-main.scss';\nimport '@/styles/dmq-button.scss';\nimport '@/styles/dmq-forms.scss';\nimport '@/styles/dmq-footer.scss';\n"],"sourceRoot":""}