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CAAC,CAAC9R,EAAOC,GAAI6R,EAAS,MAC7DA,EAAQE,SAAQhS,EAAO6R,QAAUC,EAAQE,QAE5C,IAAIC,EAAM,WACGA,EAAI,WAAYH,GAAS,EAAM,CAAC,WAAY,EAAM,YAAa,G,kBCN5E,IAAIA,EAAU,EAAQ,OACnBA,EAAQC,aAAYD,EAAUA,EAAQxF,SACnB,kBAAZwF,IAAsBA,EAAU,CAAC,CAAC9R,EAAOC,GAAI6R,EAAS,MAC7DA,EAAQE,SAAQhS,EAAO6R,QAAUC,EAAQE,QAE5C,IAAIC,EAAM,WACGA,EAAI,WAAYH,GAAS,EAAM,CAAC,WAAY,EAAM,YAAa,G","sources":["webpack://website-js/./src/components/TopCustomerAddress.vue?46b2","webpack://website-js/./src/components/checkout/CheckoutDeliveryAddressSelect.vue?6fe8","webpack://website-js/./src/services/CustomerService.ts","webpack://website-js/./src/services/NewsletterService.ts","webpack://website-js/./src/services/CheckoutService.ts","webpack://website-js/./src/store/modules/CheckoutModule.ts","webpack://website-js/./src/components/TopCustomerAddress.vue","webpack://website-js/./src/components/TopCustomerAddress.vue?a918","webpack://website-js/./src/components/TopCustomerAddress.vue?07ee","webpack://website-js/./src/components/TopCustomerAddress.vue?4334","webpack://website-js/./src/components/checkout/CheckoutDeliveryAddressSelect.vue","webpack://website-js/./src/components/checkout/CheckoutDeliveryAddressSelect.vue?ca95","webpack://website-js/./src/components/checkout/CheckoutDeliveryAddressSelect.vue?e903","webpack://website-js/./src/components/checkout/CheckoutDeliveryAddressSelect.vue?a7a7","webpack://website-js/./node_modules/vue-clickaway/dist/vue-clickaway.common.js","webpack://website-js/./src/components/TopCustomerAddress.vue?2c06","webpack://website-js/./src/components/checkout/CheckoutDeliveryAddressSelect.vue?09c9"],"sourcesContent":["// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.top-customer-address .modal-card{overflow:visible}.top-customer-address .delivery-addresses{position:relative}.top-customer-address .uk-label{display:none!important}`, \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.delivery-addresses{width:calc(100% - 2px);position:absolute;margin-top:-1px;background:#fff;z-index:1;scrollbar-width:thin;scrollbar-color:#0003 #0000001a;border:1px solid #0000001a;box-shadow:2px 2px 0 #0000000f;border-radius:0;overflow:hidden;max-height:300px;overflow:auto;border-top:0;border-top-left-radius:0;border-top-right-radius:0;-webkit-clip-path:polygon(-150% 0,150% 0,150% 150%,-150% 150%);clip-path:polygon(-150% 0,150% 0,150% 150%,-150% 150%)}.delivery-addresses::-webkit-scrollbar{width:6px;height:6px}.delivery-addresses::-webkit-scrollbar-track{background:#0000001a}.delivery-addresses::-webkit-scrollbar-thumb{background-color:#0003}.delivery-addresses-item{display:block;padding:5px 10px;color:inherit;line-height:1.1;border-top:1px solid #0000000d}.delivery-addresses-item:focus,.delivery-addresses-item:hover{background-color:#0000000d;outline:none;text-decoration:none}`, \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","import axios, { AxiosResponse } from 'axios';\r\nimport { Customer, CustomerProfile } from '@/models/Customer';\r\n\r\nexport default class CustomerService {\r\n\r\n private profileId: string = (window as any).CbxApiContextKey;\r\n private endpoint: string;\r\n\r\n constructor(args: any = {}) {\r\n if (args.profileId)\r\n this.profileId = args.profileId;\r\n this.endpoint = `/contextapi/${this.profileId}/v1/customer`;\r\n }\r\n\r\n public async getCustomer(): Promise {\r\n try {\r\n const res: AxiosResponse = await axios.get(`${this.endpoint}`);\r\n return res.data;\r\n } catch (e) {\r\n console.log(e);\r\n }\r\n }\r\n\r\n public async search(query: string, limit: number = 15, offset: number = 0): Promise {\r\n try {\r\n const res: AxiosResponse = await axios.get(`${this.endpoint}/search/?query=${query}&limit=${limit}&offset=${offset}`);\r\n return res.data;\r\n } catch (e) {\r\n console.log(e);\r\n }\r\n } \r\n\r\n public async changeCustomer(selectedcustomer: string): Promise {\r\n try {\r\n const res: AxiosResponse = await axios.post(`${this.endpoint}/change/?selectedcustomer=${selectedcustomer}`);\r\n return res.data;\r\n } catch (e) {\r\n console.log(e);\r\n }\r\n } \r\n\r\n public async changeDeliveryCustomer(selectedcustomer: string): Promise {\r\n try {\r\n const res: AxiosResponse = await axios.post(`${this.endpoint}/change-delivery-customer/?selectedcustomer=${selectedcustomer}`);\r\n return res.data;\r\n } catch (e) {\r\n console.log(e);\r\n }\r\n }\r\n\r\n public async changeCustomerProfile(customerprofile: CustomerProfile): Promise {\r\n try {\r\n const res: AxiosResponse = await axios.get(`${this.endpoint}/changeprofile/?customerprofile=${customerprofile}`);\r\n return res.data;\r\n } catch (e) {\r\n console.log(e);\r\n }\r\n }\r\n}\r\n","import axios, { AxiosResponse } from 'axios';\r\nimport { NewsletterSubscriptionRequest } from '@/models/Content';\r\n\r\nexport default class NewsletterService {\r\n\r\n private profileId: string = (window as any).CbxApiContextKey;\r\n private endpoint: string;\r\n\r\n constructor(args: any = {}) {\r\n if (args.profileId)\r\n this.profileId = args.profileId;\r\n this.endpoint = `/contextapi/${this.profileId}/v1/newsletter`;\r\n }\r\n\r\n public async canSubscribe(): Promise {\r\n try {\r\n const res: AxiosResponse = await axios.get(`${this.endpoint}/cansubscribe`); \r\n return res.data;\r\n } catch (e) {\r\n return false;\r\n }\r\n }\r\n\r\n public async subscribe(payload: NewsletterSubscriptionRequest): Promise {\r\n try {\r\n await axios.post(`${this.endpoint}/subscribe`, payload); \r\n return true;\r\n } catch (e) {\r\n return false;\r\n }\r\n }\r\n\r\n public async unsubscribe(payload: NewsletterSubscriptionRequest): Promise {\r\n try {\r\n axios.post(`${this.endpoint}/unsubscribe`, payload);\r\n return true;\r\n } catch (e) {\r\n return false\r\n }\r\n }\r\n}\r\n","import axios, { AxiosResponse } from 'axios';\r\nimport {\r\n CheckoutPaymentEditModel,\r\n CheckoutDeliveryEditModel,\r\n CheckoutAddressEditModel,\r\n PaymentType,\r\n CheckoutCountryModel,\r\n CheckoutProcessOrderModel,\r\n DisabledDatesModel,\r\n DisabledDatesRequestModel,\r\n AddressInfoDTO,\r\n} from '@/models/Checkout';\r\nimport { DeliveryType } from '@/models/Checkout';\r\nimport { validate } from 'vee-validate';\r\n\r\nexport default class CheckoutService {\r\n private profileId: string = (window as any).CbxApiContextKey;\r\n private endpoint: string;\r\n\r\n constructor(args: any = {}) {\r\n if (args.profileId) this.profileId = args.profileId;\r\n this.endpoint = `/contextapi/${this.profileId}/v1/checkout`;\r\n }\r\n\r\n public getCheckoutAddressEditModel(args: any = {}): CheckoutAddressEditModel {\r\n return {\r\n phone: args.phone ?? '',\r\n email: args.email ?? '',\r\n reference: args.reference ?? '',\r\n comment: args.comment ?? '',\r\n name: args.name ?? '',\r\n address: args.address ?? '',\r\n alternativeaddress: args.alternativeaddress ?? '',\r\n city: args.city ?? '',\r\n zipcode: args.zipcode ?? '',\r\n region: args.region ?? '',\r\n country: args.country ?? '',\r\n invoicedetailsisdelivery: args.invoicedetailsisdelivery ?? false,\r\n deliveryname: args.deliveryname ?? '',\r\n deliveryaddress: args.deliveryaddress ?? '',\r\n deliveryalternativeaddress: args.deliveryalternativeaddress ?? '',\r\n deliverycity: args.deliverycity ?? '',\r\n deliveryzipcode: args.deliveryzipcode ?? '',\r\n deliveryregion: args.deliveryregion ?? '',\r\n deliverycountry: args.deliverycountry ?? '',\r\n customercontactname: args.customercontactname ?? '',\r\n customercontactphone: args.customercontactphone ?? '',\r\n };\r\n }\r\n\r\n public getCheckoutDeliveryEditModel(args: any = {}): CheckoutDeliveryEditModel {\r\n return {\r\n deliverytype: args.deliverytype ?? '',\r\n ispackageshop: false,\r\n ispickup: false,\r\n extrafields: args.extrafields ?? {},\r\n };\r\n }\r\n\r\n public getCheckoutPaymentEditModel(args: any = {}): CheckoutPaymentEditModel {\r\n return {\r\n paymenttype: args.paymenttype ?? '',\r\n transactionid: args.transactionid ?? '',\r\n };\r\n }\r\n\r\n public getCheckoutProcessOrderModel(args: any = {}): CheckoutProcessOrderModel {\r\n return {\r\n continueurl: args.continueurl ?? '',\r\n isreadyforpayment: args.isreadyforpayment ?? false,\r\n };\r\n }\r\n\r\n public async getAddress(): Promise {\r\n try {\r\n const res: AxiosResponse = await axios.get(`${this.endpoint}/getaddress`);\r\n return res.data;\r\n } catch (e) {\r\n console.log(e);\r\n }\r\n }\r\n\r\n public async getAddresses(): Promise {\r\n try {\r\n const res: AxiosResponse = await axios.get(`${this.endpoint}/getaddresses`);\r\n return res.data;\r\n } catch (e) {\r\n console.log(e);\r\n }\r\n }\r\n\r\n public async getSubscribedToNewsletter(): Promise {\r\n try {\r\n const res: AxiosResponse = await axios.get(`${this.endpoint}/getsubscribedtonewsletter`);\r\n return res.data;\r\n } catch (e) {\r\n console.log(e);\r\n }\r\n }\r\n\r\n public async getDelivery(): Promise {\r\n try {\r\n const res: AxiosResponse = await axios.get(`${this.endpoint}/getdelivery`);\r\n return res.data;\r\n } catch (e) {\r\n console.log(e);\r\n }\r\n }\r\n public async getPayment(): Promise {\r\n try {\r\n const res: AxiosResponse = await axios.get(`${this.endpoint}/getPayment`);\r\n return res.data;\r\n } catch (e) {\r\n console.log(e);\r\n }\r\n }\r\n\r\n public async updateAddress(args: CheckoutAddressEditModel): Promise {\r\n try {\r\n const res: AxiosResponse = await axios.post(`${this.endpoint}/updateaddress`, args);\r\n return res.data;\r\n } catch (e) {\r\n console.log(e);\r\n }\r\n }\r\n\r\n public async updateSubscribedToNewsletter(args: boolean): Promise {\r\n try {\r\n const res: AxiosResponse = await axios.post(`${this.endpoint}/updatesubscribedtonewsletter?subscribe=` + args);\r\n return res.data;\r\n } catch (e) {\r\n console.log(e);\r\n }\r\n }\r\n\r\n public async updateDelivery(args: CheckoutDeliveryEditModel): Promise {\r\n try {\r\n const res: AxiosResponse = await axios.post(`${this.endpoint}/updatedelivery`, args);\r\n return res.data;\r\n } catch (e) {\r\n console.log(e);\r\n }\r\n }\r\n\r\n public async updatePayment(args: CheckoutPaymentEditModel): Promise {\r\n try {\r\n const res: AxiosResponse = await axios.post(`${this.endpoint}/updatepayment`, args);\r\n return res.data;\r\n } catch (e) {\r\n console.log(e);\r\n }\r\n }\r\n\r\n public async processorder(): Promise {\r\n try {\r\n const res: AxiosResponse = await axios.get(`${this.endpoint}/processorder`);\r\n return res.data;\r\n } catch (e) {\r\n console.log(e);\r\n }\r\n }\r\n\r\n public async getDeliveryTypes(): Promise {\r\n try {\r\n const res: AxiosResponse = await axios.get(`${this.endpoint}/getdeliverytypes`);\r\n return res.data;\r\n } catch (e) {\r\n console.log(e);\r\n }\r\n }\r\n\r\n public async getDeliveryDate(): Promise {\r\n try {\r\n const res: AxiosResponse = await axios.get(`${this.endpoint}/getdeliverydate`);\r\n return new Date(res.data);\r\n } catch (e) {\r\n console.log(e);\r\n }\r\n }\r\n public async updateDeliveryDate(args: Date): Promise {\r\n try {\r\n const res: AxiosResponse = await axios.post(`${this.endpoint}/updatedeliverydate`, args);\r\n return res.data ? new Date(res.data) : null;\r\n } catch (e) {\r\n console.log(e);\r\n }\r\n }\r\n public async getDisabledDeliveryDates(): Promise {\r\n try {\r\n const res: AxiosResponse = await axios.get(\r\n `${this.endpoint}/getdisableddeliverydates`\r\n );\r\n return {\r\n mindate: res.data.mindate ? new Date(res.data.mindate) : null,\r\n maxdate: res.data.maxdate ? new Date(res.data.maxdate) : null,\r\n disableddates: res.data.disableddates?.map(dateString => new Date(dateString)) ?? [],\r\n disabledweekdays: res.data.disabledweekdays ?? [],\r\n };\r\n } catch (e) {\r\n console.log(e);\r\n }\r\n }\r\n\r\n public async getPaymentTypes(): Promise {\r\n try {\r\n const res: AxiosResponse = await axios.get(`${this.endpoint}/getpaymenttypes`);\r\n return res.data;\r\n } catch (e) {\r\n console.log(e);\r\n }\r\n }\r\n\r\n public async getCountries(): Promise {\r\n try {\r\n const res: AxiosResponse = await axios.get(`${this.endpoint}/getcountries`);\r\n return res.data;\r\n } catch (e) {\r\n console.log(e);\r\n }\r\n }\r\n\r\n public async addressIsValid(address: CheckoutAddressEditModel): Promise {\r\n try {\r\n if (address.name.length === 0) return false;\r\n if (address.address.length === 0) return false;\r\n if (address.zipcode.length === 0) return false;\r\n if (address.city.length === 0) return false;\r\n if (address.country.length === 0) return false;\r\n if (address.phone.length === 0) return false;\r\n if (address.email.length === 0) return false;\r\n const emailValidation = await validate(address.email, 'email');\r\n if (!emailValidation.valid) return false;\r\n if (address.invoicedetailsisdelivery === false) {\r\n if (address.deliveryname.length === 0) return false;\r\n if (address.deliveryaddress.length === 0) return false;\r\n if (address.deliveryzipcode.length === 0) return false;\r\n if (address.deliverycity.length === 0) return false;\r\n if (address.deliverycountry.length === 0) return false;\r\n }\r\n } catch (e) {\r\n return false;\r\n }\r\n return true;\r\n }\r\n\r\n public async deliveryIsValid(delivery: CheckoutDeliveryEditModel): Promise {\r\n try {\r\n if (delivery.deliverytype.length === 0) return false;\r\n if (delivery.ispackageshop) {\r\n if (delivery.extrafields?.['packageshop-shopid']?.length === 0) return false;\r\n if (delivery.extrafields?.['packageshop-name']?.length === 0) return false;\r\n if (delivery.extrafields?.['packageshop-address1']?.length === 0) return false;\r\n if (delivery.extrafields?.['packageshop-zipcode']?.length === 0) return false;\r\n if (delivery.extrafields?.['packageshop-city']?.length === 0) return false;\r\n }\r\n } catch (e) {\r\n console.log(e);\r\n\r\n return false;\r\n }\r\n return true;\r\n }\r\n\r\n public async paymentIsValid(payment: CheckoutPaymentEditModel): Promise {\r\n try {\r\n if (payment.paymenttype.length === 0) return false;\r\n } catch (e) {\r\n console.log(e);\r\n return false;\r\n }\r\n return true;\r\n }\r\n\r\n public async getTerms(): Promise {\r\n try {\r\n const res: AxiosResponse = await axios.get(`${this.endpoint}/getterms`);\r\n return res.data;\r\n } catch (e) {\r\n console.log(e);\r\n }\r\n }\r\n}\r\n","import { Module, VuexModule, Mutation, Action, getModule } from 'vuex-module-decorators';\r\nimport store from '@/store';\r\nimport CheckoutService from '@/services/CheckoutService';\r\nimport { CheckoutAddressEditModel, CheckoutDeliveryEditModel, CheckoutPaymentEditModel, DeliveryType, PaymentType, CheckoutCountryModel, CheckoutProcessOrderModel, DisabledDatesModel, AddressInfoDTO } from '@/models/Checkout';\r\nimport LoadingModule from './LoadingModule';\r\nimport { PakkeshopData } from '@/models/PackageShop';\r\nimport NewsletterService from '@/services/NewsletterService';\r\nimport { CbxVariablesModule } from './CbxVariablesModule';\r\n\r\n@Module({\r\n store,\r\n dynamic: true,\r\n name: 'checkout',\r\n namespaced: true,\r\n})\r\nclass CheckoutModule extends VuexModule {\r\n\r\n private checkoutService: CheckoutService = new CheckoutService();\r\n private newsletterService: NewsletterService = new NewsletterService();\r\n\r\n private address: CheckoutAddressEditModel = this.checkoutService.getCheckoutAddressEditModel();\r\n private addresses: AddressInfoDTO[] = [];\r\n private showNewsletterSubscription: boolean = false;\r\n private subscribedToNewsletter: boolean = false;\r\n private delivery: CheckoutDeliveryEditModel = this.checkoutService.getCheckoutDeliveryEditModel();\r\n private payment: CheckoutPaymentEditModel = this.checkoutService.getCheckoutPaymentEditModel();\r\n private process: CheckoutProcessOrderModel = this.checkoutService.getCheckoutProcessOrderModel();\r\n private deliveryTypes: DeliveryType[] = [];\r\n private deliveryDate: Date = null;\r\n private disabledDeliveryDates: DisabledDatesModel = {mindate: null, maxdate: null, disableddates: [], disabledweekdays: []};\r\n private paymentTypes: PaymentType[] = [];\r\n private countries: CheckoutCountryModel[] = [];\r\n private addressIsValid: boolean = false;\r\n private deliveryIsValid: boolean = false;\r\n private paymentIsValid: boolean = false;\r\n private terms: string = '';\r\n\r\n get ADDRESS(): CheckoutAddressEditModel {\r\n return this.address;\r\n }\r\n get ADDRESSES(): AddressInfoDTO[] {\r\n return this.addresses;\r\n }\r\n get SHOW_NEWSLETTER_SUBSCRIPTION(): boolean {\r\n return this.showNewsletterSubscription;\r\n }\r\n get SUBSCRIBED_TO_NEWSLETTER(): boolean {\r\n return this.subscribedToNewsletter;\r\n }\r\n get DELIVERY(): CheckoutDeliveryEditModel {\r\n return this.delivery;\r\n }\r\n get PAYMENT(): CheckoutPaymentEditModel {\r\n return this.payment;\r\n }\r\n get PROCESS(): CheckoutProcessOrderModel {\r\n return this.process;\r\n }\r\n get DELIVERY_TYPES(): DeliveryType[] {\r\n return this.deliveryTypes;\r\n }\r\n get DELIVERY_DATE(): Date {\r\n return this.deliveryDate;\r\n }\r\n get DISABLED_DELIVERY_DATES(): DisabledDatesModel {\r\n return this.disabledDeliveryDates;\r\n }\r\n get PAYMENT_TYPES(): PaymentType[] {\r\n return this.paymentTypes;\r\n }\r\n get COUNTRIES(): CheckoutCountryModel[] {\r\n return this.countries;\r\n }\r\n get ADDRESS_IS_VALID(): boolean {\r\n return this.addressIsValid;\r\n }\r\n get DELIVERY_IS_VALID(): boolean {\r\n return this.deliveryIsValid;\r\n }\r\n get PAYMENT_IS_VALID(): boolean {\r\n return this.paymentIsValid;\r\n }\r\n get TERMS(): string {\r\n return this.terms;\r\n }\r\n\r\n @Action({ commit: 'SET_ADDRESS' })\r\n public async GET_ADDRESS() {\r\n LoadingModule.SET_LOADING(true);\r\n return await this.checkoutService.getAddress();\r\n }\r\n @Action({ commit: 'SET_ADDRESS' })\r\n public async UPDATE_ADDRESS(args: CheckoutAddressEditModel) {\r\n LoadingModule.SET_LOADING(true);\r\n return await this.checkoutService.updateAddress(args);\r\n }\r\n @Action({ commit: 'SET_ADDRESSES' })\r\n public async GET_ADDRESSES() {\r\n LoadingModule.SET_LOADING(true);\r\n return await this.checkoutService.getAddresses();\r\n }\r\n @Action({ commit: 'SET_SHOW_NEWSLETTER_SUBSCRIPTION' })\r\n public async GET_SHOW_NEWSLETTER_SUBSCRIPTION() {\r\n LoadingModule.SET_LOADING(true);\r\n if (!CbxVariablesModule.VARIABLES.showNewsletterSubscriptionInCheckout) return false;\r\n return await this.newsletterService.canSubscribe();\r\n }\r\n @Action({ commit: 'SET_SUBSCRIBED_TO_NEWSLETTER' })\r\n public async GET_SUBSCRIBED_TO_NEWSLETTER() {\r\n LoadingModule.SET_LOADING(true);\r\n return await this.checkoutService.getSubscribedToNewsletter();\r\n }\r\n @Action({ commit: 'SET_SUBSCRIBED_TO_NEWSLETTER' })\r\n public async UPDATE_SUBSCRIBED_TO_NEWSLETTER(args: boolean) {\r\n LoadingModule.SET_LOADING(true);\r\n return await this.checkoutService.updateSubscribedToNewsletter(args);\r\n }\r\n @Action({ commit: 'SET_DELIVERY' })\r\n public async GET_DELIVERY() {\r\n LoadingModule.SET_LOADING(true);\r\n return await this.checkoutService.getDelivery();\r\n }\r\n @Action({ commit: 'SET_DELIVERY' })\r\n public async UPDATE_DELIVERY(args: CheckoutDeliveryEditModel) {\r\n LoadingModule.SET_LOADING(true);\r\n return await this.checkoutService.updateDelivery(args);\r\n }\r\n @Action({ commit: 'SET_DELIVERY_DATE' })\r\n public async UPDATE_DELIVERY_DATE(args: Date) {\r\n LoadingModule.SET_LOADING(true);\r\n return await this.checkoutService.updateDeliveryDate(args);\r\n }\r\n @Action({ commit: 'SET_PACKAGE_SHOP' })\r\n public async UPDATE_PACKAGE_SHOP(args: PakkeshopData) {\r\n LoadingModule.SET_LOADING(true);\r\n return args;\r\n }\r\n @Action({ commit: 'SET_PAYMENT' })\r\n public async GET_PAYMENT() {\r\n LoadingModule.SET_LOADING(true);\r\n return await this.checkoutService.getPayment();\r\n }\r\n @Action({ commit: 'SET_PAYMENT' })\r\n public async UPDATE_PAYMENT(args: CheckoutPaymentEditModel) {\r\n LoadingModule.SET_LOADING(true);\r\n return await this.checkoutService.updatePayment(args);\r\n }\r\n @Action({ commit: 'SET_PROCESS' })\r\n public async PROCESS_ORDER() {\r\n LoadingModule.SET_LOADING(true);\r\n return await this.checkoutService.processorder();\r\n }\r\n\r\n @Action({ commit: 'SET_DELIVERY_TYPES' })\r\n public async GET_DELIVERY_TYPES() {\r\n LoadingModule.SET_LOADING(true);\r\n return await this.checkoutService.getDeliveryTypes();\r\n }\r\n @Action({ commit: 'SET_DELIVERY_DATE' })\r\n public async GET_DELIVERY_DATE() {\r\n LoadingModule.SET_LOADING(true);\r\n return await this.checkoutService.getDeliveryDate();\r\n }\r\n @Action({ commit: 'SET_DISABLED_DELIVERY_DATES' })\r\n public async GET_DISABLED_DELIVERY_DATES() {\r\n LoadingModule.SET_LOADING(true);\r\n return await this.checkoutService.getDisabledDeliveryDates();\r\n }\r\n @Action({ commit: 'SET_PAYMENT_TYPES' })\r\n public async GET_PAYMENT_TYPES() {\r\n LoadingModule.SET_LOADING(true);\r\n return await this.checkoutService.getPaymentTypes();\r\n }\r\n @Action({ commit: 'SET_COUNTRIES' })\r\n public async GET_COUNTRIES() {\r\n LoadingModule.SET_LOADING(true);\r\n return await this.checkoutService.getCountries();\r\n }\r\n @Action({ commit: 'SET_TERMS' })\r\n public async GET_TERMS() {\r\n LoadingModule.SET_LOADING(true);\r\n return await this.checkoutService.getTerms();\r\n }\r\n\r\n @Mutation\r\n public async SET_ADDRESS(payload: CheckoutAddressEditModel) {\r\n this.address = payload;\r\n this.addressIsValid = await this.checkoutService.addressIsValid(this.address);\r\n LoadingModule.SET_LOADING(false);\r\n }\r\n @Mutation\r\n public async SET_ADDRESSES(payload: AddressInfoDTO[]) {\r\n this.addresses = payload;\r\n LoadingModule.SET_LOADING(false);\r\n }\r\n @Mutation\r\n public async SET_SHOW_NEWSLETTER_SUBSCRIPTION(payload: boolean) {\r\n this.showNewsletterSubscription = payload;\r\n LoadingModule.SET_LOADING(false);\r\n }\r\n @Mutation\r\n public async SET_SUBSCRIBED_TO_NEWSLETTER(payload: boolean) {\r\n this.subscribedToNewsletter = payload;\r\n LoadingModule.SET_LOADING(false);\r\n }\r\n @Mutation\r\n public async SET_DELIVERY(payload: CheckoutDeliveryEditModel) {\r\n this.delivery = payload;\r\n this.deliveryIsValid = await this.checkoutService.deliveryIsValid(this.delivery);\r\n LoadingModule.SET_LOADING(false);\r\n }\r\n @Mutation\r\n public SET_PACKAGE_SHOP(payload: PakkeshopData) {\r\n this.delivery.extrafields['packageshop-shopid'] = payload?.shopid ?? '';\r\n this.delivery.extrafields['packageshop-name'] = payload?.shopname ?? '';\r\n this.delivery.extrafields['packageshop-address1'] = payload?.address1 ?? '';\r\n this.delivery.extrafields['packageshop-address2'] = payload?.address2 ?? '';\r\n this.delivery.extrafields['packageshop-zipcode'] = payload?.zip ?? '';\r\n this.delivery.extrafields['packageshop-city'] = payload?.city ?? '';\r\n this.delivery.extrafields['packageshop-country'] = payload?.country ?? '';\r\n LoadingModule.SET_LOADING(false);\r\n }\r\n @Mutation\r\n public async SET_PAYMENT(payload: CheckoutPaymentEditModel) {\r\n this.payment = payload;\r\n this.paymentIsValid = await this.checkoutService.paymentIsValid(this.payment);\r\n LoadingModule.SET_LOADING(false);\r\n }\r\n @Mutation\r\n public SET_PROCESS(payload: CheckoutProcessOrderModel) {\r\n this.process = payload;\r\n LoadingModule.SET_LOADING(false);\r\n }\r\n\r\n @Mutation\r\n public SET_DELIVERY_TYPES(payload: DeliveryType[]) {\r\n this.deliveryTypes = payload;\r\n LoadingModule.SET_LOADING(false);\r\n }\r\n @Mutation\r\n public SET_DELIVERY_DATE(payload: Date) {\r\n this.deliveryDate = payload;\r\n LoadingModule.SET_LOADING(false);\r\n }\r\n @Mutation\r\n public SET_DISABLED_DELIVERY_DATES(payload: DisabledDatesModel) {\r\n this.disabledDeliveryDates = payload;\r\n LoadingModule.SET_LOADING(false);\r\n }\r\n \r\n @Mutation\r\n public SET_PAYMENT_TYPES(payload: PaymentType[]) {\r\n this.paymentTypes = payload;\r\n LoadingModule.SET_LOADING(false);\r\n }\r\n \r\n @Mutation\r\n public SET_COUNTRIES(payload: CheckoutCountryModel[]) {\r\n this.countries = payload;\r\n LoadingModule.SET_LOADING(false);\r\n }\r\n \r\n @Mutation\r\n public SET_TERMS(payload: string) {\r\n this.terms = payload;\r\n LoadingModule.SET_LOADING(false);\r\n }\r\n}\r\n\r\nexport default getModule(CheckoutModule);","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return (_vm.isSignedIn && _vm.asMobileHeaderItem)?_c('a',{staticClass:\"mobile-header-top-row-actions-item top-customer-address uk-flex uk-flex-column\",on:{\"click\":function($event){return _vm.modalShow('customeraddress')}}},[_vm._m(0),_c('span',[_vm._v(\" \"+_vm._s(_vm.$t('checkout.delivery', ['Delivery']))+\" \")]),_c('Modal',{attrs:{\"width\":\"600px\",\"auto-expand\":true},on:{\"close-modal\":function($event){return _vm.modalHide('customeraddress')}},model:{value:(_vm.modals.customeraddress),callback:function ($$v) {_vm.$set(_vm.modals, \"customeraddress\", $$v)},expression:\"modals.customeraddress\"}},[_c('ModalHeader',{attrs:{\"title\":_vm.$t('checkout.choose-delivery-address', ['Choose your delivery address']),\"icon\":\"location\",\"disableCloseButton\":_vm.disableCloseButton},on:{\"close-modal\":function($event){return _vm.modalHide('customeraddress')}}}),(_vm.loaded)?_c('div',{staticClass:\"top-customer-address-select uk-padding\"},[(_vm.address.deliveryname)?_c('div',{staticClass:\"uk-padding cbx-border\"},[_c('small',{staticClass:\"uk-text-uppercase\"},[_vm._v(_vm._s(_vm.$t('checkout.current-delivery-address', ['Current delivery address'])))]),_c('br'),_c('strong',[_vm._v(_vm._s(_vm.address.deliveryname))]),_c('br'),_vm._v(\" \"+_vm._s(_vm.address.deliveryaddress)+\", \"),(_vm.address.deliveryalternativeaddress)?[_vm._v(_vm._s(_vm.address.deliveryalternativeaddress)+\",\")]:_vm._e(),_vm._v(\" \"+_vm._s(_vm.address.deliveryzipcode)+\" \"+_vm._s(_vm.address.deliverycity)+\", \"+_vm._s(_vm.countryLabel)+\" \")],2):_vm._e(),_c('CheckoutDeliveryAddressSelect',{attrs:{\"force-search\":true,\"disable-click-away\":true},on:{\"onSelection\":_vm.handleSelection}})],1):_c('div',{staticClass:\"uk-text-center uk-padding\"},[_c('div',{attrs:{\"uk-spinner\":\"\"}})])],1)],1):(_vm.isSignedIn)?_c('li',{staticClass:\"top-customer-address\"},[_c('a',{staticClass:\"uk-flex uk-flex-column\",on:{\"click\":function($event){return _vm.modalShow('customeraddress')}}},[_c('span',{staticClass:\"uk-margin-xsmall\",attrs:{\"uk-icon\":\"icon: location; ratio: 1.2;\"}}),_c('span',{staticClass:\"uk-text-xsmall\"},[_vm._v(\" \"+_vm._s(_vm.$t('checkout.delivery', ['Delivery']))+\" \")])]),_c('div'),_c('Modal',{attrs:{\"width\":\"600px\",\"auto-expand\":true},on:{\"close-modal\":function($event){return _vm.modalHide('customeraddress')}},model:{value:(_vm.modals.customeraddress),callback:function ($$v) {_vm.$set(_vm.modals, \"customeraddress\", $$v)},expression:\"modals.customeraddress\"}},[_c('ModalHeader',{attrs:{\"title\":_vm.$t('checkout.choose-delivery-address', ['Choose your delivery address']),\"icon\":\"location\",\"disableCloseButton\":_vm.disableCloseButton},on:{\"close-modal\":function($event){return _vm.modalHide('customeraddress')}}}),(_vm.loaded)?_c('div',{staticClass:\"top-customer-address-select uk-padding\"},[(_vm.address.deliveryname)?_c('div',{staticClass:\"uk-padding cbx-border\"},[_c('small',{staticClass:\"uk-text-uppercase\"},[_vm._v(_vm._s(_vm.$t('checkout.current-delivery-address', ['Current delivery address'])))]),_c('br'),_c('strong',[_vm._v(_vm._s(_vm.address.deliveryname))]),_c('br'),_vm._v(\" \"+_vm._s(_vm.address.deliveryaddress)+\", \"),(_vm.address.deliveryalternativeaddress)?[_vm._v(_vm._s(_vm.address.deliveryalternativeaddress)+\",\")]:_vm._e(),_vm._v(\" \"+_vm._s(_vm.address.deliveryzipcode)+\" \"+_vm._s(_vm.address.deliverycity)+\", \"+_vm._s(_vm.countryLabel)+\" \")],2):_vm._e(),_c('CheckoutDeliveryAddressSelect',{attrs:{\"force-search\":true,\"disable-click-away\":true},on:{\"onSelection\":_vm.handleSelection}})],1):_c('div',{staticClass:\"uk-text-center uk-padding\"},[_c('div',{attrs:{\"uk-spinner\":\"\"}})])],1)],1):_vm._e()\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"icon-container\"},[_c('span',{attrs:{\"uk-icon\":\"icon: location; ratio: 1.2;\"}})])\n}]\n\nexport { render, staticRenderFns }","\r\nimport UserModule from '@/store/modules/UserModule';\r\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\r\nimport CheckoutDeliveryAddressSelect from '@/components/checkout/CheckoutDeliveryAddressSelect.vue';\r\nimport CheckoutModule from '../store/modules/CheckoutModule';\r\nimport { CheckoutAddressEditModel } from '../models/Checkout';\r\n\r\n@Component({\r\n name: 'TopCustomerAddress',\r\n components: {\r\n CheckoutDeliveryAddressSelect,\r\n },\r\n})\r\nexport default class TopCustomerAddress extends Vue {\r\n @Prop({ type: Boolean, required: false, default: false }) private asMobileHeaderItem: boolean;\r\n\r\n private loaded = false;\r\n private modals: any = {\r\n customeraddress: false,\r\n };\r\n\r\n get isSignedIn(): boolean {\r\n return UserModule.IS_SIGNED_IN;\r\n }\r\n\r\n get disableCloseButton(): boolean {\r\n return !this.address?.deliveryname;\r\n }\r\n\r\n get address(): CheckoutAddressEditModel {\r\n return CheckoutModule.ADDRESS;\r\n }\r\n\r\n get countryLabel(): string {\r\n return CheckoutModule.COUNTRIES?.find(country => country.code == this.address?.deliverycountry)?.label ?? this.address?.deliverycountry;\r\n }\r\n\r\n private async modalShow(section: string) {\r\n\r\n await CheckoutModule.GET_ADDRESS();\r\n await CheckoutModule.GET_ADDRESSES();\r\n await CheckoutModule.GET_COUNTRIES();\r\n\r\n this.loaded = true;\r\n this.modals[section] = true;\r\n }\r\n\r\n private modalHide(section: string) {\r\n if (this.address?.deliveryname)\r\n this.modals[section] = false;\r\n }\r\n\r\n private async handleSelection() {\r\n this.loaded = false;\r\n await CheckoutModule.GET_ADDRESS();\r\n window.location.reload();\r\n }\r\n\r\n @Watch('isSignedIn')\r\n private async onIsSignedInChange() {\r\n if (this.isSignedIn)\r\n {\r\n await CheckoutModule.GET_ADDRESS();\r\n if (!this.address?.deliveryname)\r\n this.modalShow('customeraddress');\r\n }\r\n }\r\n}\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??clonedRuleSet-41.use[0]!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[3]!../../node_modules/cache-loader/dist/cjs.js??ruleSet[0].use[0]!../../node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./TopCustomerAddress.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??clonedRuleSet-41.use[0]!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[3]!../../node_modules/cache-loader/dist/cjs.js??ruleSet[0].use[0]!../../node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./TopCustomerAddress.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TopCustomerAddress.vue?vue&type=template&id=3cbd2d6e&\"\nimport script from \"./TopCustomerAddress.vue?vue&type=script&lang=ts&\"\nexport * from \"./TopCustomerAddress.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./TopCustomerAddress.vue?vue&type=style&index=0&id=3cbd2d6e&prod&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return (_vm.deliveryAddresses.length > 0)?_c('div',{directives:[{name:\"on-clickaway\",rawName:\"v-on-clickaway\",value:(_vm.handleClickAway),expression:\"handleClickAway\"}],staticClass:\"uk-focus-placeholder checkout-text-input\",class:{'uk-margin': _vm.margin}},[_c('div',{staticClass:\"uk-position-relative\"},[_c('span',{staticClass:\"uk-form-icon uk-form-icon-flip\",attrs:{\"uk-icon\":\"icon: search\"}}),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.value),expression:\"value\"}],ref:\"addressInput\",staticClass:\"uk-input\",attrs:{\"type\":\"text\",\"id\":\"delivery-addresses\",\"placeholder\":_vm.$t('checkout.choose-address', ['Choose address']),\"autocomplete\":\"disabled\"},domProps:{\"value\":(_vm.value)},on:{\"keyup\":function($event){return _vm.search()},\"keydown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"down\",40,$event.key,[\"Down\",\"ArrowDown\"]))return null;$event.preventDefault();$event.stopPropagation();return _vm.setFocus(0)},\"focus\":function($event){return _vm.search()},\"input\":[function($event){if($event.target.composing)return;_vm.value=$event.target.value},function($event){return _vm.$emit('input', $event.target.value)}],\"change\":function($event){return _vm.$emit('change', $event.target.value)}}})]),(_vm.showList && _vm.addresses.length)?_c('div',{staticClass:\"delivery-addresses\",on:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"esc\",27,$event.key,[\"Esc\",\"Escape\"]))return null;return _vm.setFocus(-1)}}},_vm._l((_vm.addresses),function(addr,index){return _c('a',{key:index,ref:`delivery-address-${index}`,refInFor:true,staticClass:\"delivery-addresses-item\",attrs:{\"tabindex\":\"1234\"},domProps:{\"innerHTML\":_vm._s(_vm.getFullHtmlAddress(addr))},on:{\"keydown\":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"up\",38,$event.key,[\"Up\",\"ArrowUp\"]))return null;$event.preventDefault();$event.stopPropagation();return _vm.setFocus(index-1)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"down\",40,$event.key,[\"Down\",\"ArrowDown\"]))return null;$event.preventDefault();$event.stopPropagation();return _vm.setFocus(index+1)}],\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\"))return null;return _vm.useSelection(addr)},\"click\":function($event){return _vm.useSelection(addr)}}})}),0):_vm._e()]):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\nimport { Component, Vue, Prop } from 'vue-property-decorator';\r\nimport { Debounce } from 'vue-debounce-decorator';\r\nimport CheckoutModule from '../../store/modules/CheckoutModule'\r\nimport { AddressInfoDTO, CheckoutAddressEditModel, CheckoutCountryModel } from '@/models/Checkout';\r\nimport { mixin as clickaway } from 'vue-clickaway';\r\nimport CartModule from '../../store/modules/CartModule';\r\nimport CustomerService from '@/services/CustomerService';\r\nimport { CbxVariablesModule } from '@/store/modules/CbxVariablesModule';\r\n\r\nconst customerService: CustomerService = new CustomerService();\r\n\r\n@Component({\r\n name: 'CheckoutDeliveryAddressSelect',\r\n mixins: [clickaway],\r\n})\r\nexport default class CheckoutDeliveryAddressSelect extends Vue {\r\n\r\n @Prop({ type: Boolean, required: false, default: true }) private margin: boolean;\r\n @Prop({ type: Boolean, required: false, default: false }) private forceSearch: boolean;\r\n @Prop({ type: Boolean, required: false, default: false }) private disableClickAway: boolean;\r\n\r\n private addresses: AddressInfoDTO[] = [];\r\n private showList: boolean = false;\r\n private value: string = '';\r\n\r\n get deliveryAddresses(): AddressInfoDTO[] {\r\n if (!this.countries)\r\n return [];\r\n\r\n return CheckoutModule.ADDRESSES ?? []; //?.filter(address => this.countries.find(country => country.code == address.country)) ?? [];\r\n }\r\n get countries(): CheckoutCountryModel[] {\r\n return CheckoutModule.COUNTRIES;\r\n }\r\n\r\n get address(): CheckoutAddressEditModel {\r\n return CheckoutModule.ADDRESS;\r\n }\r\n\r\n private getFullAddress(addr: AddressInfoDTO) {\r\n let address = addr.name + ' - ' + addr.address;\r\n \r\n if (addr.alternativeaddress && addr.alternativeaddress.length > 0)\r\n address += ', ' + addr.alternativeaddress;\r\n\r\n let countrycode = this.countries[0].code;\r\n if (addr.country) countrycode = addr.country;\r\n\r\n address += ', ' + addr.zipcode + ' ' + addr.city + ', ' + this.countries.find(country => country.code == countrycode).label;\r\n\r\n return address;\r\n }\r\n\r\n private getFullHtmlAddress(addr: AddressInfoDTO) {\r\n let address = '' + addr.name + ' | ' + addr.customerid + '
' + addr.address;\r\n \r\n if (addr.alternativeaddress && addr.alternativeaddress.length > 0)\r\n address += ', ' + addr.alternativeaddress;\r\n\r\n let countrycode = this.countries[0].code;\r\n if (addr.country) countrycode = addr.country;\r\n\r\n address += ', ' + addr.zipcode + ' ' + addr.city + ', ' + this.countries.find(country => country.code == countrycode).label;\r\n\r\n address += '';\r\n\r\n return address;\r\n } \r\n\r\n private setFocus(index: number) {\r\n if (this.addresses?.length)\r\n {\r\n let focusTarget: any;\r\n if (index < 0 || index > this.addresses.length-1) {\r\n focusTarget = this.$refs.addressInput;\r\n } else {\r\n focusTarget = (this.$refs[`delivery-address-${index}`] as any)[0];\r\n }\r\n this.$nextTick(() => focusTarget.focus());\r\n }\r\n }\r\n\r\n private async useSelection(addr: AddressInfoDTO) {\r\n\r\n this.address.invoicedetailsisdelivery = false;\r\n this.address.deliveryname = addr.name;\r\n this.address.deliveryaddress = addr.address;\r\n this.address.deliveryalternativeaddress = addr.alternativeaddress;\r\n this.address.deliveryzipcode = addr.zipcode;\r\n this.address.deliverycity = addr.city;\r\n this.address.deliverycountry = (addr.country?.length > 0 ? addr.country : this.countries[0].code);\r\n this.address.id = addr.id;\r\n this.address.customerid = addr.customerid;\r\n this.value = this.getFullAddress(addr);\r\n\r\n await customerService.changeDeliveryCustomer(addr.customerid);\r\n await CheckoutModule.UPDATE_ADDRESS(this.address);\r\n if (CbxVariablesModule.VARIABLES.isCheckout)\r\n {\r\n //await CartModule.RECALCULATE_CART();\r\n await CartModule.GET_CART();\r\n this.reset();\r\n this.$emit('onSelection', this.address);\r\n }\r\n else\r\n {\r\n this.$nextTick(() => {\r\n location.reload();\r\n });\r\n }\r\n }\r\n\r\n private reset() {\r\n this.showList = false;\r\n this.addresses = [];\r\n this.value = '';\r\n }\r\n\r\n private async created() {\r\n if (this.forceSearch) {\r\n await this.search();\r\n }\r\n }\r\n\r\n @Debounce(250)\r\n private async search() {\r\n if (this.value?.length)\r\n this.addresses = this.deliveryAddresses.filter(addr => (this.getFullAddress(addr) + ' ' + addr.id).toLowerCase().includes(this.value.toLowerCase()));\r\n else\r\n this.addresses = this.deliveryAddresses;\r\n\r\n this.showList = true;\r\n }\r\n\r\n private handleClickAway(e: any) {\r\n if (!this.disableClickAway && !this.$el.contains(e.relatedTarget)) {\r\n this.reset();\r\n }\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??clonedRuleSet-41.use[0]!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[3]!../../../node_modules/cache-loader/dist/cjs.js??ruleSet[0].use[0]!../../../node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./CheckoutDeliveryAddressSelect.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??clonedRuleSet-41.use[0]!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[3]!../../../node_modules/cache-loader/dist/cjs.js??ruleSet[0].use[0]!../../../node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./CheckoutDeliveryAddressSelect.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./CheckoutDeliveryAddressSelect.vue?vue&type=template&id=4fde30a0&\"\nimport script from \"./CheckoutDeliveryAddressSelect.vue?vue&type=script&lang=ts&\"\nexport * from \"./CheckoutDeliveryAddressSelect.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./CheckoutDeliveryAddressSelect.vue?vue&type=style&index=0&id=4fde30a0&prod&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","'use strict';\r\n\r\nvar Vue = require('vue');\r\nVue = 'default' in Vue ? Vue['default'] : Vue;\r\n\r\nvar version = '2.2.2';\r\n\r\nvar compatible = (/^2\\./).test(Vue.version);\r\nif (!compatible) {\r\n Vue.util.warn('VueClickaway ' + version + ' only supports Vue 2.x, and does not support Vue ' + Vue.version);\r\n}\r\n\r\n\r\n\r\n// @SECTION: implementation\r\n\r\nvar HANDLER = '_vue_clickaway_handler';\r\n\r\nfunction bind(el, binding, vnode) {\r\n unbind(el);\r\n\r\n var vm = vnode.context;\r\n\r\n var callback = binding.value;\r\n if (typeof callback !== 'function') {\r\n if (process.env.NODE_ENV !== 'production') {\r\n Vue.util.warn(\r\n 'v-' + binding.name + '=\"' +\r\n binding.expression + '\" expects a function value, ' +\r\n 'got ' + callback\r\n );\r\n }\r\n return;\r\n }\r\n\r\n // @NOTE: Vue binds directives in microtasks, while UI events are dispatched\r\n // in macrotasks. This causes the listener to be set up before\r\n // the \"origin\" click event (the event that lead to the binding of\r\n // the directive) arrives at the document root. To work around that,\r\n // we ignore events until the end of the \"initial\" macrotask.\r\n // @REFERENCE: https://jakearchibald.com/2015/tasks-microtasks-queues-and-schedules/\r\n // @REFERENCE: https://github.com/simplesmiler/vue-clickaway/issues/8\r\n var initialMacrotaskEnded = false;\r\n setTimeout(function() {\r\n initialMacrotaskEnded = true;\r\n }, 0);\r\n\r\n el[HANDLER] = function(ev) {\r\n // @NOTE: this test used to be just `el.containts`, but working with path is better,\r\n // because it tests whether the element was there at the time of\r\n // the click, not whether it is there now, that the event has arrived\r\n // to the top.\r\n // @NOTE: `.path` is non-standard, the standard way is `.composedPath()`\r\n var path = ev.path || (ev.composedPath ? ev.composedPath() : undefined);\r\n if (initialMacrotaskEnded && (path ? path.indexOf(el) < 0 : !el.contains(ev.target))) {\r\n return callback.call(vm, ev);\r\n }\r\n };\r\n\r\n document.documentElement.addEventListener('click', el[HANDLER], false);\r\n}\r\n\r\nfunction unbind(el) {\r\n document.documentElement.removeEventListener('click', el[HANDLER], false);\r\n delete el[HANDLER];\r\n}\r\n\r\nvar directive = {\r\n bind: bind,\r\n update: function(el, binding) {\r\n if (binding.value === binding.oldValue) return;\r\n bind(el, binding);\r\n },\r\n unbind: unbind,\r\n};\r\n\r\nvar mixin = {\r\n directives: { onClickaway: directive },\r\n};\r\n\r\nexports.version = version;\r\nexports.directive = directive;\r\nexports.mixin = mixin;","// style-loader: Adds some css to the DOM by adding a