@zonos/elements 1.3.275 → 1.3.277
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{cart-73d7ecdc.js → cart-65e8da66.js} +38 -12
- package/dist/cjs/{collect-32ea7a37.js → collect-37c177ab.js} +2 -2
- package/dist/cjs/{hasInclusivePrice-38ebedfb.js → hasInclusivePrice-798ce42d.js} +1 -1
- package/dist/cjs/index.cjs.js +32 -9
- package/dist/cjs/{invoice-df662cd1.js → invoice-96f5c802.js} +2 -2
- package/dist/cjs/{localization-09e91031.js → localization-90650d7d.js} +60 -0
- package/dist/cjs/{paypal-11acb15f.js → paypal-1952f6ec.js} +2 -2
- package/dist/cjs/{placeTestOrder-e0f80338.js → placeTestOrder-30191a8f.js} +2 -2
- package/dist/cjs/{renderCheckoutCurrency-d902f973.js → renderCheckoutCurrency-fd35b4ef.js} +2 -2
- package/dist/cjs/zonos-address-display_8.cjs.entry.js +2 -2
- package/dist/cjs/zonos-address_4.cjs.entry.js +2 -2
- package/dist/cjs/zonos-airwallex-payment.cjs.entry.js +4 -3
- package/dist/cjs/zonos-card_5.cjs.entry.js +4 -3
- package/dist/cjs/zonos-cart-items_12.cjs.entry.js +74 -9
- package/dist/cjs/zonos-checkout.cjs.entry.js +4 -3
- package/dist/cjs/zonos-collect-cart-items_3.cjs.entry.js +3 -2
- package/dist/cjs/zonos-collect-finish_6.cjs.entry.js +7 -6
- package/dist/cjs/zonos-collect.cjs.entry.js +5 -4
- package/dist/cjs/zonos-controller.cjs.entry.js +18 -4
- package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -1
- package/dist/cjs/zonos-country-select_4.cjs.entry.js +1 -1
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +2 -2
- package/dist/cjs/zonos-hello.cjs.entry.js +1 -1
- package/dist/cjs/zonos-invoice-cart-items_2.cjs.entry.js +5 -4
- package/dist/cjs/zonos-invoice-finish_5.cjs.entry.js +7 -6
- package/dist/cjs/zonos-invoice.cjs.entry.js +5 -4
- package/dist/cjs/zonos-language-select_2.cjs.entry.js +1 -1
- package/dist/cjs/zonos-policy-consent_2.cjs.entry.js +4 -3
- package/dist/collection/components/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.js +52 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +1 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.js +18 -2
- package/dist/collection/components/common/zonos-stripe-phone-input/zonos-stripe-phone-input.js +1 -1
- package/dist/collection/components/main/zonos-controller.js +16 -3
- package/dist/collection/components/store/checkout/cart.js +21 -11
- package/dist/collection/components/store/translationStore/strings.arabic.js +3 -0
- package/dist/collection/components/store/translationStore/strings.base.js +3 -0
- package/dist/collection/components/store/translationStore/strings.chinese.js +3 -0
- package/dist/collection/components/store/translationStore/strings.danish.js +3 -0
- package/dist/collection/components/store/translationStore/strings.dutch.js +3 -0
- package/dist/collection/components/store/translationStore/strings.french.js +3 -0
- package/dist/collection/components/store/translationStore/strings.german.js +3 -0
- package/dist/collection/components/store/translationStore/strings.hebrew.js +3 -0
- package/dist/collection/components/store/translationStore/strings.indonesian.js +3 -0
- package/dist/collection/components/store/translationStore/strings.italian.js +3 -0
- package/dist/collection/components/store/translationStore/strings.japanese.js +3 -0
- package/dist/collection/components/store/translationStore/strings.korean.js +3 -0
- package/dist/collection/components/store/translationStore/strings.norwegian.js +3 -0
- package/dist/collection/components/store/translationStore/strings.polish.js +3 -0
- package/dist/collection/components/store/translationStore/strings.portuguese.js +3 -0
- package/dist/collection/components/store/translationStore/strings.russian.js +3 -0
- package/dist/collection/components/store/translationStore/strings.spanish.js +3 -0
- package/dist/collection/components/store/translationStore/strings.swedish.js +3 -0
- package/dist/collection/components/store/translationStore/strings.turkish.js +3 -0
- package/dist/collection/components/store/translationStore/strings.vietnamese.js +3 -0
- package/dist/collection/components/utils/checkout/isEuDapRemittance.js +15 -0
- package/dist/collection/scripts/_loadStripe.js +20 -2
- package/dist/collection/scripts/_zonosBase.js +5 -0
- package/dist/collection/types/generated/graphql.internal.types.js +78 -0
- package/dist/esm/{cart-c3cd0036.js → cart-402dcde5.js} +38 -13
- package/dist/esm/{collect-a7a4696c.js → collect-b88fe4ca.js} +2 -2
- package/dist/esm/{hasInclusivePrice-93a88196.js → hasInclusivePrice-1589fef9.js} +1 -1
- package/dist/esm/index.js +32 -9
- package/dist/esm/{invoice-5a07bb03.js → invoice-5eb27944.js} +2 -2
- package/dist/esm/{localization-a185c345.js → localization-d49867ed.js} +60 -0
- package/dist/esm/{paypal-cc558697.js → paypal-2d4c9d01.js} +2 -2
- package/dist/esm/{placeTestOrder-92847316.js → placeTestOrder-2ba7c3f2.js} +2 -2
- package/dist/esm/{renderCheckoutCurrency-34aaa81e.js → renderCheckoutCurrency-ef71083e.js} +2 -2
- package/dist/esm/zonos-address-display_8.entry.js +2 -2
- package/dist/esm/zonos-address_4.entry.js +2 -2
- package/dist/esm/zonos-airwallex-payment.entry.js +4 -3
- package/dist/esm/zonos-card_5.entry.js +4 -3
- package/dist/esm/zonos-cart-items_12.entry.js +74 -9
- package/dist/esm/zonos-checkout.entry.js +4 -3
- package/dist/esm/zonos-collect-cart-items_3.entry.js +3 -2
- package/dist/esm/zonos-collect-finish_6.entry.js +7 -6
- package/dist/esm/zonos-collect.entry.js +5 -4
- package/dist/esm/zonos-controller.entry.js +18 -4
- package/dist/esm/zonos-country-flag.entry.js +1 -1
- package/dist/esm/zonos-country-select_4.entry.js +1 -1
- package/dist/esm/zonos-hello-dialog.entry.js +2 -2
- package/dist/esm/zonos-hello.entry.js +1 -1
- package/dist/esm/zonos-invoice-cart-items_2.entry.js +5 -4
- package/dist/esm/zonos-invoice-finish_5.entry.js +7 -6
- package/dist/esm/zonos-invoice.entry.js +5 -4
- package/dist/esm/zonos-language-select_2.entry.js +1 -1
- package/dist/esm/zonos-policy-consent_2.entry.js +4 -3
- package/dist/esm-es5/cart-402dcde5.js +1 -0
- package/dist/esm-es5/{collect-a7a4696c.js → collect-b88fe4ca.js} +1 -1
- package/dist/esm-es5/{hasInclusivePrice-93a88196.js → hasInclusivePrice-1589fef9.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{invoice-5a07bb03.js → invoice-5eb27944.js} +1 -1
- package/dist/esm-es5/localization-d49867ed.js +1 -0
- package/dist/esm-es5/{paypal-cc558697.js → paypal-2d4c9d01.js} +1 -1
- package/dist/esm-es5/{placeTestOrder-92847316.js → placeTestOrder-2ba7c3f2.js} +1 -1
- package/dist/esm-es5/{renderCheckoutCurrency-34aaa81e.js → renderCheckoutCurrency-ef71083e.js} +1 -1
- package/dist/esm-es5/zonos-address-display_8.entry.js +1 -1
- package/dist/esm-es5/zonos-address_4.entry.js +1 -1
- package/dist/esm-es5/zonos-airwallex-payment.entry.js +1 -1
- package/dist/esm-es5/zonos-card_5.entry.js +1 -1
- package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
- package/dist/esm-es5/zonos-checkout.entry.js +1 -1
- package/dist/esm-es5/zonos-collect-cart-items_3.entry.js +1 -1
- package/dist/esm-es5/zonos-collect-finish_6.entry.js +1 -1
- package/dist/esm-es5/zonos-collect.entry.js +1 -1
- package/dist/esm-es5/zonos-controller.entry.js +1 -1
- package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
- package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
- package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
- package/dist/esm-es5/zonos-hello.entry.js +1 -1
- package/dist/esm-es5/zonos-invoice-cart-items_2.entry.js +1 -1
- package/dist/esm-es5/zonos-invoice-finish_5.entry.js +1 -1
- package/dist/esm-es5/zonos-invoice.entry.js +1 -1
- package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
- package/dist/esm-es5/zonos-policy-consent_2.entry.js +1 -1
- package/dist/scripts/index.d.ts +23 -0
- package/dist/scripts/index.js +1 -1
- package/dist/scripts/loadZonos.js +1 -1
- package/dist/scripts/zonos.js +1 -1
- package/dist/types/components/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.d.ts +8 -0
- package/dist/types/components/store/checkout/cart.d.ts +2 -2
- package/dist/types/components/store/translationStore/strings.arabic.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.base.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.chinese.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.danish.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.dutch.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.french.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.german.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.hebrew.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.indonesian.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.italian.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.japanese.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.korean.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.norwegian.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.polish.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.portuguese.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.russian.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.spanish.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.swedish.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.turkish.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +3 -0
- package/dist/types/components/utils/checkout/isEuDapRemittance.d.ts +15 -0
- package/dist/types/scripts/_zonosBase.d.ts +12 -0
- package/dist/types/types/generated/graphql.internal.types.d.ts +94 -0
- package/dist/types/types/generated/graphql.internal.types.ts +114 -7
- package/dist/zonos-elements/index.esm.js +1 -1
- package/dist/zonos-elements/{p-ac762358.entry.js → p-0745e440.entry.js} +1 -1
- package/dist/zonos-elements/p-0b321037.system.entry.js +1 -0
- package/dist/zonos-elements/p-10715fee.system.entry.js +1 -0
- package/dist/zonos-elements/p-144a380d.entry.js +1 -0
- package/dist/zonos-elements/p-18135660.entry.js +1 -0
- package/dist/zonos-elements/{p-38d2da0d.entry.js → p-1e4dcd29.entry.js} +1 -1
- package/dist/zonos-elements/{p-3fa307d1.system.entry.js → p-293183c1.system.entry.js} +1 -1
- package/dist/zonos-elements/p-29b60bf3.system.js +1 -1
- package/dist/zonos-elements/p-2e0d813f.system.js +1 -0
- package/dist/zonos-elements/{p-03c357f5.system.js → p-2ea73ca2.system.js} +1 -1
- package/dist/zonos-elements/{p-96972001.entry.js → p-3cf22558.entry.js} +1 -1
- package/dist/zonos-elements/p-3cfa4880.js +1 -0
- package/dist/zonos-elements/p-3feff726.entry.js +1 -0
- package/dist/zonos-elements/p-42ba4da5.system.entry.js +1 -0
- package/dist/zonos-elements/p-45535a81.js +1 -0
- package/dist/zonos-elements/p-4596bdca.system.entry.js +1 -0
- package/dist/zonos-elements/p-48627415.system.entry.js +1 -0
- package/dist/zonos-elements/p-4a1c9fa1.entry.js +1 -0
- package/dist/zonos-elements/{p-3e914f69.system.entry.js → p-4a6f9c5e.system.entry.js} +1 -1
- package/dist/zonos-elements/p-4b06044f.js +1 -0
- package/dist/zonos-elements/p-4d29dcc8.entry.js +1 -0
- package/dist/zonos-elements/{p-79f58524.system.entry.js → p-4e6e9a3c.system.entry.js} +1 -1
- package/dist/zonos-elements/p-521cbeea.entry.js +1 -0
- package/dist/zonos-elements/p-534057ad.system.entry.js +1 -0
- package/dist/zonos-elements/p-55195dab.entry.js +1 -0
- package/dist/zonos-elements/p-58b56c69.entry.js +1 -0
- package/dist/zonos-elements/p-5ce88ef3.system.entry.js +1 -0
- package/dist/zonos-elements/{p-d6d18115.system.entry.js → p-5d3ea491.system.entry.js} +1 -1
- package/dist/zonos-elements/p-5e3b0ef4.entry.js +1 -0
- package/dist/zonos-elements/p-628fe742.system.entry.js +1 -0
- package/dist/zonos-elements/{p-be233925.system.js → p-647438d6.system.js} +1 -1
- package/dist/zonos-elements/p-684e27da.system.js +1 -0
- package/dist/zonos-elements/{p-863cfab2.system.js → p-6ad0f720.system.js} +2 -2
- package/dist/zonos-elements/p-77ac8bfe.entry.js +1 -0
- package/dist/zonos-elements/p-864525b4.system.entry.js +1 -0
- package/dist/zonos-elements/p-89befc63.system.entry.js +1 -0
- package/dist/zonos-elements/{p-12396d79.system.entry.js → p-998f9df5.system.entry.js} +1 -1
- package/dist/zonos-elements/p-9fab45aa.system.js +1 -0
- package/dist/zonos-elements/{p-9cb80484.js → p-a02ff788.js} +1 -1
- package/dist/zonos-elements/{p-e3376f43.js → p-a3bc7e97.js} +1 -1
- package/dist/zonos-elements/{p-a1f59d6d.system.entry.js → p-a7050d1e.system.entry.js} +1 -1
- package/dist/zonos-elements/p-ac1b60c8.system.entry.js +1 -0
- package/dist/zonos-elements/{p-819f182e.entry.js → p-ac9b9f7d.entry.js} +1 -1
- package/dist/zonos-elements/{p-a7028453.js → p-b1c86a5b.js} +1 -1
- package/dist/zonos-elements/p-b79989a6.entry.js +1 -0
- package/dist/zonos-elements/p-b7e4f1f5.entry.js +1 -0
- package/dist/zonos-elements/p-c209e36d.js +1 -0
- package/dist/zonos-elements/p-c750a2e0.system.entry.js +1 -0
- package/dist/zonos-elements/{p-f97da77c.entry.js → p-d5945ddc.entry.js} +1 -1
- package/dist/zonos-elements/p-d7bda14d.js +1 -0
- package/dist/zonos-elements/p-d90e79e4.system.js +1 -0
- package/dist/zonos-elements/{p-216d31ca.entry.js → p-ee434a71.entry.js} +1 -1
- package/dist/zonos-elements/{p-3ea7643b.system.js → p-f2768c92.system.js} +1 -1
- package/dist/zonos-elements/{p-3980e553.system.js → p-f2d50796.system.js} +1 -1
- package/dist/zonos-elements/{p-a9d01bfa.entry.js → p-f3a73132.entry.js} +1 -1
- package/dist/zonos-elements/{p-4900096c.system.entry.js → p-ffbf87c8.system.entry.js} +1 -1
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/package.json +1 -1
- package/dist/esm-es5/cart-c3cd0036.js +0 -1
- package/dist/esm-es5/localization-a185c345.js +0 -1
- package/dist/zonos-elements/p-043e9a84.js +0 -1
- package/dist/zonos-elements/p-1906c8f7.js +0 -1
- package/dist/zonos-elements/p-1de258c3.js +0 -1
- package/dist/zonos-elements/p-2b2122bc.system.entry.js +0 -1
- package/dist/zonos-elements/p-2bdfa429.system.js +0 -1
- package/dist/zonos-elements/p-2c0a627d.js +0 -1
- package/dist/zonos-elements/p-387f33ae.js +0 -1
- package/dist/zonos-elements/p-391ea5c2.entry.js +0 -1
- package/dist/zonos-elements/p-3f8050ab.entry.js +0 -1
- package/dist/zonos-elements/p-51b537a6.system.entry.js +0 -1
- package/dist/zonos-elements/p-5427bf51.entry.js +0 -1
- package/dist/zonos-elements/p-577b543c.entry.js +0 -1
- package/dist/zonos-elements/p-5ce8b3c3.system.entry.js +0 -1
- package/dist/zonos-elements/p-70fd21c4.system.entry.js +0 -1
- package/dist/zonos-elements/p-785d6f43.entry.js +0 -1
- package/dist/zonos-elements/p-8873d332.system.entry.js +0 -1
- package/dist/zonos-elements/p-9295b932.entry.js +0 -1
- package/dist/zonos-elements/p-93c6c2df.system.entry.js +0 -1
- package/dist/zonos-elements/p-9d80357b.entry.js +0 -1
- package/dist/zonos-elements/p-a2353242.system.entry.js +0 -1
- package/dist/zonos-elements/p-a33e1549.system.entry.js +0 -1
- package/dist/zonos-elements/p-b376aba7.system.entry.js +0 -1
- package/dist/zonos-elements/p-b9034a75.system.entry.js +0 -1
- package/dist/zonos-elements/p-b9359002.system.entry.js +0 -1
- package/dist/zonos-elements/p-c68a7f3e.entry.js +0 -1
- package/dist/zonos-elements/p-d1f2e532.system.js +0 -1
- package/dist/zonos-elements/p-d62dab88.system.js +0 -1
- package/dist/zonos-elements/p-e562d953.system.js +0 -1
- package/dist/zonos-elements/p-e5f25b27.entry.js +0 -1
- package/dist/zonos-elements/p-e9e3c951.system.entry.js +0 -1
- package/dist/zonos-elements/p-ee70bd2e.entry.js +0 -1
- package/dist/zonos-elements/p-ee920b9b.entry.js +0 -1
- package/dist/zonos-elements/p-fb830355.entry.js +0 -1
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { r as registerInstance, d as createEvent, h, a as Host, g as getElement } from './index-cfd394c8.js';
|
|
2
|
-
import { b as airwallexStore, c as collectStore, f as airwallexStoreInitSdk, l as createElement, m as airwallexStoreGetLocale, n as airwallexStoreOnChange } from './collect-
|
|
3
|
-
import { d as cartStore } from './cart-
|
|
4
|
-
import { e as localizationStoreOnChange, t as translate, l as localizationStore } from './localization-
|
|
2
|
+
import { b as airwallexStore, c as collectStore, f as airwallexStoreInitSdk, l as createElement, m as airwallexStoreGetLocale, n as airwallexStoreOnChange } from './collect-b88fe4ca.js';
|
|
3
|
+
import { d as cartStore } from './cart-402dcde5.js';
|
|
4
|
+
import { e as localizationStoreOnChange, t as translate, l as localizationStore } from './localization-d49867ed.js';
|
|
5
5
|
import { z as zonosStore } from './zonosStore-b7d3f9b0.js';
|
|
6
6
|
import { l as log } from './VarianceTest-572cecf5.js';
|
|
7
7
|
import { l as logError } from './handleFetch-a844cac1.js';
|
|
8
8
|
import './isDarkColor-039ef212.js';
|
|
9
9
|
import './getBorderRadius-dc982fe6.js';
|
|
10
|
+
import './TaxId-50d72254.js';
|
|
10
11
|
|
|
11
12
|
const zonosAirwallexPaymentCss = ".sc-zonos-airwallex-payment-h{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}.sc-zonos-airwallex-payment-h *.sc-zonos-airwallex-payment{font-family:var(--zonos--font-family, Inter), Inter}.sc-zonos-airwallex-payment-h img.sc-zonos-airwallex-payment{max-width:100%}.sc-zonos-airwallex-payment-h dl.sc-zonos-airwallex-payment,.sc-zonos-airwallex-payment-h dd.sc-zonos-airwallex-payment,.sc-zonos-airwallex-payment-h h1.sc-zonos-airwallex-payment,.sc-zonos-airwallex-payment-h h2.sc-zonos-airwallex-payment,.sc-zonos-airwallex-payment-h h3.sc-zonos-airwallex-payment,.sc-zonos-airwallex-payment-h h4.sc-zonos-airwallex-payment,.sc-zonos-airwallex-payment-h h5.sc-zonos-airwallex-payment,.sc-zonos-airwallex-payment-h h6.sc-zonos-airwallex-payment,.sc-zonos-airwallex-payment-h hr.sc-zonos-airwallex-payment,.sc-zonos-airwallex-payment-h figure.sc-zonos-airwallex-payment,.sc-zonos-airwallex-payment-h p.sc-zonos-airwallex-payment,.sc-zonos-airwallex-payment-h pre.sc-zonos-airwallex-payment{margin:0}.sc-zonos-airwallex-payment-h{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.sc-zonos-airwallex-payment-h{display:block}.sc-zonos-airwallex-payment-h .zonos--payment-error-banner.sc-zonos-airwallex-payment{margin-bottom:16px}.sc-zonos-airwallex-payment-h .zonos--airwallex-payment-component.sc-zonos-airwallex-payment{margin-bottom:4px;min-height:40px}";
|
|
12
13
|
const ZonosAirwallexPaymentStyle0 = zonosAirwallexPaymentCss;
|
|
@@ -2,12 +2,13 @@ import { r as registerInstance, h, a as Host, g as getElement, d as createEvent
|
|
|
2
2
|
import { f as zonosStoreFontFamily } from './zonosStore-b7d3f9b0.js';
|
|
3
3
|
import { c as classes } from './classes-0d95c529.js';
|
|
4
4
|
import { g as getBorderRadius } from './getBorderRadius-dc982fe6.js';
|
|
5
|
-
import { b as stripeStore, t as trackConversionEvent } from './cart-
|
|
6
|
-
import { s as storageStore } from './localization-
|
|
5
|
+
import { b as stripeStore, t as trackConversionEvent } from './cart-402dcde5.js';
|
|
6
|
+
import { s as storageStore } from './localization-d49867ed.js';
|
|
7
7
|
import { l as logError } from './handleFetch-a844cac1.js';
|
|
8
|
-
import { d as paypalStoreInitButtons, e as paypalStoreOnChange } from './paypal-
|
|
8
|
+
import { d as paypalStoreInitButtons, e as paypalStoreOnChange } from './paypal-2d4c9d01.js';
|
|
9
9
|
import { l as log } from './VarianceTest-572cecf5.js';
|
|
10
10
|
import './isDarkColor-039ef212.js';
|
|
11
|
+
import './TaxId-50d72254.js';
|
|
11
12
|
import './isContrastColor-089de6ac.js';
|
|
12
13
|
import './submitGtag-dc54f5b9.js';
|
|
13
14
|
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { r as registerInstance, e as getAssetPath, h, a as Host, F as Fragment, d as createEvent, g as getElement } from './index-cfd394c8.js';
|
|
2
|
-
import { d as cartStore, M as cartStoreHasOneEligibleItem, N as
|
|
3
|
-
import { t as translate, l as localizationStore, s as storageStore, u as getExchangeRate, v as numberFormat, e as localizationStoreOnChange } from './localization-
|
|
4
|
-
import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-
|
|
2
|
+
import { d as cartStore, M as cartStoreHasOneEligibleItem, N as isEuDapRemittance, b as stripeStore, O as stripeStoreApplyPromoCode, P as stripeStoreRemovePromoCode, F as stripeStoreReset, c as stripeStoreRetrievePayment, t as trackConversionEvent, Q as stripeStoreResetPromoCode, R as stripeStoreMessageBasedOnStatus, S as storeCreditStore, T as storeCreditStoreReset, z as storeCreditStoreCoversFullAmount, v as isPolicyConsentRequired, E as policyConsentStore, J as stripeStoreRecordPolicyConsent, u as cartStoreNextStep, U as stripeStoreTranslateAddressToLatin, V as extractName, G as cartStoreOnChange, W as stripeStoreAsyncAddressUpdate, L as cartStoreUpdateSelectedShippingOption, X as cartStoreGetShippingTransitInfo, Y as cartStoreGetMethod, Z as sortServiceLevelOptionsByAmount } from './cart-402dcde5.js';
|
|
3
|
+
import { t as translate, l as localizationStore, s as storageStore, u as getExchangeRate, v as numberFormat, e as localizationStoreOnChange } from './localization-d49867ed.js';
|
|
4
|
+
import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-ef71083e.js';
|
|
5
5
|
import { c as cleanHtmlMarkdown } from './cleanHtmlMarkdown-87d195f6.js';
|
|
6
6
|
import { c as classes } from './classes-0d95c529.js';
|
|
7
7
|
import { z as zonosStore, c as createStore, h as zonosStoreOnChange, g as getZonosStoreTheme, f as zonosStoreFontFamily } from './zonosStore-b7d3f9b0.js';
|
|
8
|
-
import { D as DUTY_KEY, T as TAXES_KEY, h as hasInclusivePrice } from './hasInclusivePrice-
|
|
9
|
-
import { s as submitAnalytics, c as paypalStoreReset, a as paypalStore } from './paypal-
|
|
8
|
+
import { D as DUTY_KEY, T as TAXES_KEY, h as hasInclusivePrice } from './hasInclusivePrice-1589fef9.js';
|
|
9
|
+
import { s as submitAnalytics, c as paypalStoreReset, a as paypalStore } from './paypal-2d4c9d01.js';
|
|
10
10
|
import { h as handleFetch, s as sendErrorLog, j as jsonParse, g as getIsTestMode, i as isCheckoutMobile, a as getIsStagingMode } from './handleFetch-a844cac1.js';
|
|
11
11
|
import { c as createCustomEvent } from './createCustomEvent-58159025.js';
|
|
12
12
|
import { g as getBorderRadius } from './getBorderRadius-dc982fe6.js';
|
|
13
13
|
import { l as log, b as allLogs } from './VarianceTest-572cecf5.js';
|
|
14
14
|
import { l as languages } from './ILanguage-cd6acb72.js';
|
|
15
|
-
import { p as placeTestOrder } from './placeTestOrder-
|
|
15
|
+
import { p as placeTestOrder } from './placeTestOrder-2ba7c3f2.js';
|
|
16
16
|
import { i as isDarkColor } from './isDarkColor-039ef212.js';
|
|
17
17
|
import { g as getContrastColor } from './getContrastColor-af895b60.js';
|
|
18
18
|
import { i as isColorVariable } from './isColorVariable-0a94004f.js';
|
|
@@ -262,6 +262,41 @@ const ZonosCartSubtotal = class {
|
|
|
262
262
|
}
|
|
263
263
|
return null;
|
|
264
264
|
};
|
|
265
|
+
/**
|
|
266
|
+
* EU 3-EUR cutover (05CHECK-893): for EU remittance quotes that we keep as DAP
|
|
267
|
+
* (see [[isEuDapRemittance]]), taxes and fees are included in the checkout
|
|
268
|
+
* total while duties are paid upon delivery. Returns the foreign (presentment)
|
|
269
|
+
* estimates needed for the dedicated message, or `null` when the selected
|
|
270
|
+
* quote isn't this case.
|
|
271
|
+
*/
|
|
272
|
+
this.getEuDapDetails = () => {
|
|
273
|
+
var _a, _b, _c, _d, _e, _f;
|
|
274
|
+
const selectedLandedCost = cartStore.selectedLandedCost;
|
|
275
|
+
const landedCost = selectedLandedCost === null || selectedLandedCost === void 0 ? void 0 : selectedLandedCost.landedCost;
|
|
276
|
+
if (!landedCost) {
|
|
277
|
+
return null;
|
|
278
|
+
}
|
|
279
|
+
const isEuDap = isEuDapRemittance({
|
|
280
|
+
deliveryType: (_b = (_a = cartStore.selectedShippingOption) === null || _a === void 0 ? void 0 : _a.shippingProfile) === null || _b === void 0 ? void 0 : _b.serviceLevel.deliveryType,
|
|
281
|
+
landedCost,
|
|
282
|
+
shipToCountry: (_c = stripeStore.stripeAddressEventData) === null || _c === void 0 ? void 0 : _c.value.address.country,
|
|
283
|
+
});
|
|
284
|
+
if (!isEuDap) {
|
|
285
|
+
return null;
|
|
286
|
+
}
|
|
287
|
+
// Landed cost amounts are in the source currency; convert to presentment.
|
|
288
|
+
const exchangeRate = selectedLandedCost.subtotals.exchangeRate.rate;
|
|
289
|
+
const sumAmounts = (amounts) => amounts.reduce((total, { amount }) => total + amount, 0);
|
|
290
|
+
// Taxes and fees are collected at checkout, so use the checkout session
|
|
291
|
+
// subtotals (already in presentment currency) — this is what the shopper
|
|
292
|
+
// actually pays. Duties are not collected (paid on delivery), so they come
|
|
293
|
+
// from the landed cost estimate converted to presentment.
|
|
294
|
+
const checkoutSubtotals = (_d = cartStore.checkoutSession) === null || _d === void 0 ? void 0 : _d.subtotals;
|
|
295
|
+
return {
|
|
296
|
+
dutiesEstimate: sumAmounts(landedCost.duties) * exchangeRate,
|
|
297
|
+
taxesAndFeesEstimate: ((_e = checkoutSubtotals === null || checkoutSubtotals === void 0 ? void 0 : checkoutSubtotals.taxes) !== null && _e !== void 0 ? _e : 0) + ((_f = checkoutSubtotals === null || checkoutSubtotals === void 0 ? void 0 : checkoutSubtotals.fees) !== null && _f !== void 0 ? _f : 0),
|
|
298
|
+
};
|
|
299
|
+
};
|
|
265
300
|
}
|
|
266
301
|
render() {
|
|
267
302
|
var _a, _b, _c, _d, _e;
|
|
@@ -270,6 +305,9 @@ const ZonosCartSubtotal = class {
|
|
|
270
305
|
? cartStore.subtotal + cartStore.adjustmentTotal
|
|
271
306
|
: cartStore.total;
|
|
272
307
|
const showDutyTaxesInfo = cartStore.step === 'payment' || cartStore.step === 'shipping';
|
|
308
|
+
// EU 3-EUR cutover (05CHECK-893): when we collect and remit taxes for an EU
|
|
309
|
+
// DAP quote, taxes and fees are included while duties are paid on delivery.
|
|
310
|
+
const euDapDetails = this.getEuDapDetails();
|
|
273
311
|
// Show 0 for subtotal and total when all items are restricted
|
|
274
312
|
const total = cartStoreHasOneEligibleItem() ? cartTotal : 0;
|
|
275
313
|
// Total is in target currency, devide by target rate to get base currency
|
|
@@ -368,7 +406,19 @@ const ZonosCartSubtotal = class {
|
|
|
368
406
|
amount: cartStore.shipping,
|
|
369
407
|
isForeign: true,
|
|
370
408
|
})
|
|
371
|
-
: '-')), showDutyTaxesInfo &&
|
|
409
|
+
: '-')), showDutyTaxesInfo &&
|
|
410
|
+
(euDapDetails ? (
|
|
411
|
+
// EU DAP remittance: taxes and fees are collected/included, duties
|
|
412
|
+
// are estimated and paid upon delivery — show them on two lines.
|
|
413
|
+
h(Fragment, null, h("tr", { class: "zonos--row zonos--cart-duties" }, h("td", { class: "zonos--column" }), h("td", { class: "zonos--column zonos--cart-subtotal-title zonos--landed-cost" }, h("zonos-text", { class: "zonos--title", type: "semiBoldLabel" }, translate('Taxes and fees'))), h("td", { class: "zonos--column zonos--cart-subtotal-price zonos--landed-cost" }, h("div", { class: "zonos--cart-duty-tax-price" }, renderCheckoutCurrency({
|
|
414
|
+
amount: euDapDetails.taxesAndFeesEstimate,
|
|
415
|
+
isForeign: true,
|
|
416
|
+
})))), h("tr", { class: "zonos--row zonos--cart-duties" }, h("td", { class: "zonos--column" }), h("td", { class: "zonos--column zonos--cart-subtotal-title zonos--landed-cost" }, h("zonos-text", { class: "zonos--title", type: "semiBoldLabel" }, translate('Duties')), translate('Estimated [amount]', {
|
|
417
|
+
amount: renderCheckoutCurrency({
|
|
418
|
+
amount: euDapDetails.dutiesEstimate,
|
|
419
|
+
isForeign: true,
|
|
420
|
+
}),
|
|
421
|
+
})), h("td", { class: "zonos--column zonos--cart-subtotal-price zonos--landed-cost" }, h("div", { class: "zonos--cart-duty-tax-price" }, translate('Due at delivery')))))) : (h("tr", { class: "zonos--row zonos--cart-duties" }, h("td", { class: "zonos--column" }), renderLandedCost()))), shouldRenderPromoInput && (h("tr", { class: "zonos--row zonos--cart-promo-code" }, h("td", { class: "zonos--column" }), !!appliedPromoCode ? (h(Fragment, null, h("td", { class: "zonos--column zonos--cart-promo-code-col" }, this.loading ? (h("zonos-spinner", { size: 16 })) : (h("zonos-badge", { dismissHandler: () => removePromoCode() }, cartStore.promoCode))), h("td", { class: "zonos--column zonos--cart-promo-code-col" }))) : (h("td", { class: "zonos--column zonos--cart-promo-code-col", colSpan: 2 }, h("div", { class: "zonos--cart-promo-code-input-wrapper" }, h("zonos-input", { class: "zonos--cart-promo-code-input", inputLabel: translate('Add promotional code'), inputValue: cartStore.promoCode, isError: cartStore.promoCodeError, onInputChange: e => (cartStore.promoCode = e.detail.trim()), onKeyDown: e => {
|
|
372
422
|
if (e.key === 'Enter') {
|
|
373
423
|
void applyPromoCode();
|
|
374
424
|
}
|
|
@@ -2462,11 +2512,12 @@ const ZonosShipping = class {
|
|
|
2462
2512
|
: '';
|
|
2463
2513
|
const matchedLandedCosts = (_a = cartStore.landedCostData) === null || _a === void 0 ? void 0 : _a.filter(landedCostItem => { var _a; return ((_a = landedCostItem.landedCost) === null || _a === void 0 ? void 0 : _a.shipmentRating.id) === item.id; });
|
|
2464
2514
|
return ((matchedLandedCosts === null || matchedLandedCosts === void 0 ? void 0 : matchedLandedCosts.map(landedCost => {
|
|
2515
|
+
var _a;
|
|
2465
2516
|
const shippingAmount = landedCost.subtotals.shipping;
|
|
2466
2517
|
/**
|
|
2467
2518
|
* For some service levels, the landed cost that's DAP and we do remittance on behalf of the merchant, these landed cost should be treated as DDP
|
|
2468
2519
|
*/
|
|
2469
|
-
const method = cartStoreGetMethod(landedCost.landedCost);
|
|
2520
|
+
const method = cartStoreGetMethod(landedCost.landedCost, (_a = item.shippingProfile) === null || _a === void 0 ? void 0 : _a.serviceLevel.deliveryType);
|
|
2470
2521
|
const option = {
|
|
2471
2522
|
amount: shippingAmount,
|
|
2472
2523
|
label: `${item.displayName}${this.getLandedCostMethodLabelSuffix(method)}`,
|
|
@@ -2552,6 +2603,7 @@ const ZonosShipping = class {
|
|
|
2552
2603
|
void this.preselectFirstShippingMethod();
|
|
2553
2604
|
}
|
|
2554
2605
|
render() {
|
|
2606
|
+
var _a;
|
|
2555
2607
|
// re-init service levels if the currency is toggled
|
|
2556
2608
|
if (this.isCurrencyToggled()) {
|
|
2557
2609
|
this.initServiceLevels();
|
|
@@ -2560,6 +2612,17 @@ const ZonosShipping = class {
|
|
|
2560
2612
|
...this.serviceLevelsDDP,
|
|
2561
2613
|
...this.serviceLevelsOther,
|
|
2562
2614
|
];
|
|
2615
|
+
// EU 3-EUR cutover (05CHECK-893): when we collect and remit taxes for an EU
|
|
2616
|
+
// POSTAL DAP quote, only duties (not taxes) are charged upon delivery. The
|
|
2617
|
+
// delivery type lives on the shipment rating, so match it by id.
|
|
2618
|
+
const isEuDapRemittanceQuote = !!((_a = cartStore.landedCostData) === null || _a === void 0 ? void 0 : _a.some(landedCostData => {
|
|
2619
|
+
var _a, _b, _c, _d;
|
|
2620
|
+
return isEuDapRemittance({
|
|
2621
|
+
deliveryType: (_c = (_b = (_a = cartStore.shippingData) === null || _a === void 0 ? void 0 : _a.find(shipmentRating => shipmentRating.id === landedCostData.landedCost.shipmentRating.id)) === null || _b === void 0 ? void 0 : _b.shippingProfile) === null || _c === void 0 ? void 0 : _c.serviceLevel.deliveryType,
|
|
2622
|
+
landedCost: landedCostData.landedCost,
|
|
2623
|
+
shipToCountry: (_d = stripeStore.stripeAddressEventData) === null || _d === void 0 ? void 0 : _d.value.address.country,
|
|
2624
|
+
});
|
|
2625
|
+
}));
|
|
2563
2626
|
// start validate on typing after error banner is shown, and hide it if the form is complete
|
|
2564
2627
|
if (this.showErrorBanner) {
|
|
2565
2628
|
this.showErrorBanner = !this.handleValidate();
|
|
@@ -2576,7 +2639,9 @@ const ZonosShipping = class {
|
|
|
2576
2639
|
this.collapsedDAPOptions && 'collapsed',
|
|
2577
2640
|
]), onClick: () => {
|
|
2578
2641
|
this.collapsedDAPOptions = !this.collapsedDAPOptions;
|
|
2579
|
-
} }, h("div", { class: "zonos--title-wrapper" }, h("zonos-text", { type: "label" }, `${translate(this.collapsedDAPOptions ? 'Show non-prepaid options' : 'Hide non-prepaid options')} `), h("zonos-icon", { content: ChevronUpIcon })))), h("zonos-collapse", { collapsed: this.collapsedDAPOptions }, h("div", { class: "zonos--dap-wrapper" }, h("zonos-banner", { bannerTitle: translate(
|
|
2642
|
+
} }, h("div", { class: "zonos--title-wrapper" }, h("zonos-text", { type: "label" }, `${translate(this.collapsedDAPOptions ? 'Show non-prepaid options' : 'Hide non-prepaid options')} `), h("zonos-icon", { content: ChevronUpIcon })))), h("zonos-collapse", { collapsed: this.collapsedDAPOptions }, h("div", { class: "zonos--dap-wrapper" }, h("zonos-banner", { bannerTitle: translate(isEuDapRemittanceQuote
|
|
2643
|
+
? 'Duties will be charged upon delivery.'
|
|
2644
|
+
: 'Duties and taxes will be charged upon delivery.'), intent: "warning" }, translate('You may incur additional fees from the shipping carrier by not prepaying.')), h("zonos-shipping-rich-radio", { isMobile: this.isMobile, items: this.serviceLevelsDAP, onRadioSelected: e => this.handleRadioSelected(e), selectedItem: this.selectedShippingMethod })))));
|
|
2580
2645
|
};
|
|
2581
2646
|
return (h(Host, { class: classes([
|
|
2582
2647
|
'zonos--shipping zonos--elements',
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h, F as Fragment, a as Host } from './index-cfd394c8.js';
|
|
2
|
-
import { s as stripeStoreGetDomesticShippingSession, a as stripeStoreSaveDomesticShippingSession, b as stripeStore, i as initStripeElements, c as stripeStoreRetrievePayment, d as cartStore, e as cartStoreUpdateItems, f as cartStoreReset, p as policyConsentStoreReset, g as cartStoreResetTabItems, h as cartStoreClearCheckoutInterval, j as stripeStoreInitCheckoutSession, k as stripeStoreGetPaymentIntent, l as cartStoreStartCheckoutInterval, t as trackConversionEvent, m as getCheckoutSessionBody, n as cartStoreUpdateToErrorState, o as stripeStoreCleanupDomesticShippingSession, q as cartStoreSetCheckoutSession, r as stripeStorePrefetchLandedCost, u as cartStoreNextStep, v as isPolicyConsentRequired, w as stripeStoreUpdateCheckoutSessionBaseCurrency, x as stripeStoreHandleInventoryCheck, y as storeCreditStoreApplyCredit, z as storeCreditStoreCoversFullAmount, A as validateCheckoutSession, B as storeCreditStoreCreateOrder, C as stripeStoreConfirmPayment, D as stripeStoreHandleInventoryRefund, E as policyConsentStore, F as stripeStoreReset, G as cartStoreOnChange, H as stripeStoreOnChange, I as storeCreditStoreGetEffectiveAmount } from './cart-
|
|
3
|
-
import { p as paypalStoreHasPaypalEnabled, s as submitAnalytics, a as paypalStore, b as paypalInitScript } from './paypal-
|
|
4
|
-
import { f as filterValidTests, a as fetchCheckoutId, b as fetchBigCommerceCheckout, i as isBigCommerceCustomerLoggedIn, l as localizationStore, c as localizationStoreUpdateSelectedCountryCode, g as getZCountryUrlParam, s as storageStore, V as VARIANT_TEST_KEY_EXPIRATION, d as storageStoreSetEnabledVariantTestKeys, t as translate, e as localizationStoreOnChange, h as currencyFormat } from './localization-
|
|
2
|
+
import { s as stripeStoreGetDomesticShippingSession, a as stripeStoreSaveDomesticShippingSession, b as stripeStore, i as initStripeElements, c as stripeStoreRetrievePayment, d as cartStore, e as cartStoreUpdateItems, f as cartStoreReset, p as policyConsentStoreReset, g as cartStoreResetTabItems, h as cartStoreClearCheckoutInterval, j as stripeStoreInitCheckoutSession, k as stripeStoreGetPaymentIntent, l as cartStoreStartCheckoutInterval, t as trackConversionEvent, m as getCheckoutSessionBody, n as cartStoreUpdateToErrorState, o as stripeStoreCleanupDomesticShippingSession, q as cartStoreSetCheckoutSession, r as stripeStorePrefetchLandedCost, u as cartStoreNextStep, v as isPolicyConsentRequired, w as stripeStoreUpdateCheckoutSessionBaseCurrency, x as stripeStoreHandleInventoryCheck, y as storeCreditStoreApplyCredit, z as storeCreditStoreCoversFullAmount, A as validateCheckoutSession, B as storeCreditStoreCreateOrder, C as stripeStoreConfirmPayment, D as stripeStoreHandleInventoryRefund, E as policyConsentStore, F as stripeStoreReset, G as cartStoreOnChange, H as stripeStoreOnChange, I as storeCreditStoreGetEffectiveAmount } from './cart-402dcde5.js';
|
|
3
|
+
import { p as paypalStoreHasPaypalEnabled, s as submitAnalytics, a as paypalStore, b as paypalInitScript } from './paypal-2d4c9d01.js';
|
|
4
|
+
import { f as filterValidTests, a as fetchCheckoutId, b as fetchBigCommerceCheckout, i as isBigCommerceCustomerLoggedIn, l as localizationStore, c as localizationStoreUpdateSelectedCountryCode, g as getZCountryUrlParam, s as storageStore, V as VARIANT_TEST_KEY_EXPIRATION, d as storageStoreSetEnabledVariantTestKeys, t as translate, e as localizationStoreOnChange, h as currencyFormat } from './localization-d49867ed.js';
|
|
5
5
|
import { z as zonosStore, g as getZonosStoreTheme, m as mergeConfig } from './zonosStore-b7d3f9b0.js';
|
|
6
6
|
import { b as buildCartItemsByTempCart } from './buildCartItemsByTempCart-a117f75d.js';
|
|
7
7
|
import { h as handleFetch, g as getIsTestMode, j as jsonParse, l as logError, b as getAdditionalLogMetadata, s as sendErrorLog, a as getIsStagingMode, i as isCheckoutMobile } from './handleFetch-a844cac1.js';
|
|
@@ -14,6 +14,7 @@ import { g as getBorderRadius } from './getBorderRadius-dc982fe6.js';
|
|
|
14
14
|
import { i as isDarkColor } from './isDarkColor-039ef212.js';
|
|
15
15
|
import { s as styles } from './styles-6fc2fad9.js';
|
|
16
16
|
import { R as RemoveIcon } from './RemoveIcon-9dc5dd1a.js';
|
|
17
|
+
import './TaxId-50d72254.js';
|
|
17
18
|
import './isContrastColor-089de6ac.js';
|
|
18
19
|
import './submitGtag-dc54f5b9.js';
|
|
19
20
|
import './debounce-c8d67b17.js';
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { r as registerInstance, e as getAssetPath, h, a as Host } from './index-cfd394c8.js';
|
|
2
|
-
import { d as cartStore } from './cart-
|
|
2
|
+
import { d as cartStore } from './cart-402dcde5.js';
|
|
3
3
|
import { c as cleanHtmlMarkdown } from './cleanHtmlMarkdown-87d195f6.js';
|
|
4
4
|
import { f as zonosStoreFontFamily } from './zonosStore-b7d3f9b0.js';
|
|
5
5
|
import { c as classes } from './classes-0d95c529.js';
|
|
6
6
|
import { s as styles } from './styles-6fc2fad9.js';
|
|
7
|
-
import './localization-
|
|
7
|
+
import './localization-d49867ed.js';
|
|
8
8
|
import './handleFetch-a844cac1.js';
|
|
9
9
|
import './VarianceTest-572cecf5.js';
|
|
10
10
|
import './isDarkColor-039ef212.js';
|
|
11
11
|
import './getBorderRadius-dc982fe6.js';
|
|
12
|
+
import './TaxId-50d72254.js';
|
|
12
13
|
|
|
13
14
|
const zonosCollectCartItemsCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host .zonos--cart-table{width:100%;border:none;border-collapse:collapse;overflow:auto;font-size:var(--zonos-elements-font-size-base)}:host .zonos--cart-table .zonos--column{padding:8px;padding-left:0;font-size:var(--zonos-elements-font-size-base)}:host .zonos--cart-table .zonos--column:first-child{width:48px}:host .zonos--cart-table td{vertical-align:middle}:host .zonos--cart-item-price zonos-text{white-space:nowrap}:host img{min-width:40px;margin-top:6px;-webkit-box-shadow:0 0 0 1px rgba(110, 110, 120, 0.1), 0 1px 2px 0 rgba(10, 10, 11, 0.06), 0 1px 3px 0 rgba(10, 10, 11, 0.1);box-shadow:0 0 0 1px rgba(110, 110, 120, 0.1), 0 1px 2px 0 rgba(10, 10, 11, 0.06), 0 1px 3px 0 rgba(10, 10, 11, 0.1);border-radius:10px}";
|
|
14
15
|
const ZonosCollectCartItemsStyle0 = zonosCollectCartItemsCss;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, d as createEvent, h, F as Fragment, a as Host, g as getElement } from './index-cfd394c8.js';
|
|
2
|
-
import { b as airwallexStore, d as airwallexStoreRetrievePaymentIntent, j as airwallexStoreMessageBasedOnStatus, k as airwallexStoreReset, c as collectStore, e as airwallexStoreIsPaidStatus } from './collect-
|
|
3
|
-
import { b as stripeStore, c as stripeStoreRetrievePayment, t as trackConversionEvent,
|
|
4
|
-
import { s as submitAnalytics, c as paypalStoreReset, a as paypalStore, b as paypalInitScript } from './paypal-
|
|
5
|
-
import { t as translate, s as storageStore, l as localizationStore, x as translationStoreOnChange } from './localization-
|
|
2
|
+
import { b as airwallexStore, d as airwallexStoreRetrievePaymentIntent, j as airwallexStoreMessageBasedOnStatus, k as airwallexStoreReset, c as collectStore, e as airwallexStoreIsPaidStatus } from './collect-b88fe4ca.js';
|
|
3
|
+
import { b as stripeStore, c as stripeStoreRetrievePayment, t as trackConversionEvent, Q as stripeStoreResetPromoCode, F as stripeStoreReset, R as stripeStoreMessageBasedOnStatus, d as cartStore, u as cartStoreNextStep, G as cartStoreOnChange } from './cart-402dcde5.js';
|
|
4
|
+
import { s as submitAnalytics, c as paypalStoreReset, a as paypalStore, b as paypalInitScript } from './paypal-2d4c9d01.js';
|
|
5
|
+
import { t as translate, s as storageStore, l as localizationStore, x as translationStoreOnChange } from './localization-d49867ed.js';
|
|
6
6
|
import { z as zonosStore } from './zonosStore-b7d3f9b0.js';
|
|
7
7
|
import { h as handleFetch, s as sendErrorLog, g as getIsTestMode, i as isCheckoutMobile, a as getIsStagingMode } from './handleFetch-a844cac1.js';
|
|
8
8
|
import { c as createCustomEvent } from './createCustomEvent-58159025.js';
|
|
@@ -11,10 +11,11 @@ import { l as log, b as allLogs } from './VarianceTest-572cecf5.js';
|
|
|
11
11
|
import { i as isCollectMobile, a as isCollectTablet } from './isCollectMobileTablet-111b0dd7.js';
|
|
12
12
|
import { c as classes } from './classes-0d95c529.js';
|
|
13
13
|
import { l as languages } from './ILanguage-cd6acb72.js';
|
|
14
|
-
import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-
|
|
15
|
-
import { p as placeTestOrder } from './placeTestOrder-
|
|
14
|
+
import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-ef71083e.js';
|
|
15
|
+
import { p as placeTestOrder } from './placeTestOrder-2ba7c3f2.js';
|
|
16
16
|
import { r as renderFallback } from './renderFallback-b250f4e9.js';
|
|
17
17
|
import './isDarkColor-039ef212.js';
|
|
18
|
+
import './TaxId-50d72254.js';
|
|
18
19
|
import './isContrastColor-089de6ac.js';
|
|
19
20
|
import './submitGtag-dc54f5b9.js';
|
|
20
21
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, h, a as Host, F as Fragment } from './index-cfd394c8.js';
|
|
2
|
-
import { c as collectStore, a as airwallexStoreSetFromSession, b as airwallexStore, d as airwallexStoreRetrievePaymentIntent, e as airwallexStoreIsPaidStatus, f as airwallexStoreInitSdk, g as collectStoreUpdateSelectedShippingOption, h as collectStoreInitShippingInfo, i as collectStoreAsyncAddressUpdate } from './collect-
|
|
3
|
-
import { b as stripeStore, i as initStripeElements, d as cartStore, c as stripeStoreRetrievePayment, n as cartStoreUpdateToErrorState, e as cartStoreUpdateItems, j as stripeStoreInitCheckoutSession, k as stripeStoreGetPaymentIntent, w as stripeStoreUpdateCheckoutSessionBaseCurrency, C as stripeStoreConfirmPayment, H as stripeStoreOnChange, F as stripeStoreReset, f as cartStoreReset } from './cart-
|
|
4
|
-
import { p as paypalStoreHasPaypalEnabled, a as paypalStore } from './paypal-
|
|
5
|
-
import { s as storageStore, t as translate, e as localizationStoreOnChange, h as currencyFormat, l as localizationStore } from './localization-
|
|
2
|
+
import { c as collectStore, a as airwallexStoreSetFromSession, b as airwallexStore, d as airwallexStoreRetrievePaymentIntent, e as airwallexStoreIsPaidStatus, f as airwallexStoreInitSdk, g as collectStoreUpdateSelectedShippingOption, h as collectStoreInitShippingInfo, i as collectStoreAsyncAddressUpdate } from './collect-b88fe4ca.js';
|
|
3
|
+
import { b as stripeStore, i as initStripeElements, d as cartStore, c as stripeStoreRetrievePayment, n as cartStoreUpdateToErrorState, e as cartStoreUpdateItems, j as stripeStoreInitCheckoutSession, k as stripeStoreGetPaymentIntent, w as stripeStoreUpdateCheckoutSessionBaseCurrency, C as stripeStoreConfirmPayment, H as stripeStoreOnChange, F as stripeStoreReset, f as cartStoreReset } from './cart-402dcde5.js';
|
|
4
|
+
import { p as paypalStoreHasPaypalEnabled, a as paypalStore } from './paypal-2d4c9d01.js';
|
|
5
|
+
import { s as storageStore, t as translate, e as localizationStoreOnChange, h as currencyFormat, l as localizationStore } from './localization-d49867ed.js';
|
|
6
6
|
import { z as zonosStore } from './zonosStore-b7d3f9b0.js';
|
|
7
7
|
import { b as buildCartItemsByTempCart } from './buildCartItemsByTempCart-a117f75d.js';
|
|
8
8
|
import { h as handleFetch, s as sendErrorLog, l as logError, g as getIsTestMode } from './handleFetch-a844cac1.js';
|
|
@@ -13,6 +13,7 @@ import { r as renderFallback } from './renderFallback-b250f4e9.js';
|
|
|
13
13
|
import { l as languages } from './ILanguage-cd6acb72.js';
|
|
14
14
|
import './isDarkColor-039ef212.js';
|
|
15
15
|
import './getBorderRadius-dc982fe6.js';
|
|
16
|
+
import './TaxId-50d72254.js';
|
|
16
17
|
import './isContrastColor-089de6ac.js';
|
|
17
18
|
import './submitGtag-dc54f5b9.js';
|
|
18
19
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, d as createEvent, h, a as Host } from './index-cfd394c8.js';
|
|
2
|
-
import { b as stripeStore } from './cart-
|
|
3
|
-
import { j as getOverridenZCountry, k as isValidSelector, m as initLocalizationStore, s as storageStore, c as localizationStoreUpdateSelectedCountryCode } from './localization-
|
|
2
|
+
import { b as stripeStore } from './cart-402dcde5.js';
|
|
3
|
+
import { j as getOverridenZCountry, k as isValidSelector, m as initLocalizationStore, s as storageStore, c as localizationStoreUpdateSelectedCountryCode } from './localization-d49867ed.js';
|
|
4
4
|
import { z as zonosStore, e as zonosStoreInitSetting, f as zonosStoreFontFamily } from './zonosStore-b7d3f9b0.js';
|
|
5
5
|
import { g as getGenericSettingsOverride, i as iframeServices, a as injectPrivateIframe } from './getGenericSettingsOverride-0bc3e118.js';
|
|
6
6
|
import { h as handleFetch, l as logError } from './handleFetch-a844cac1.js';
|
|
@@ -8,6 +8,7 @@ import { l as log } from './VarianceTest-572cecf5.js';
|
|
|
8
8
|
import { a as ensureAnalyticsRelayPing } from './submitGtag-dc54f5b9.js';
|
|
9
9
|
import './isDarkColor-039ef212.js';
|
|
10
10
|
import './getBorderRadius-dc982fe6.js';
|
|
11
|
+
import './TaxId-50d72254.js';
|
|
11
12
|
|
|
12
13
|
const getZonosSettings = async () => {
|
|
13
14
|
if (window.Zonos.cartSettings) {
|
|
@@ -717,7 +718,7 @@ const ZonosController = class {
|
|
|
717
718
|
zonosStore.zonosApiKey = this.zonosApiKey;
|
|
718
719
|
// running with scope async function to avoid blocking the main thread
|
|
719
720
|
(async () => {
|
|
720
|
-
var _a, _b, _c, _d;
|
|
721
|
+
var _a, _b, _c, _d, _e, _f;
|
|
721
722
|
const { errors, json, zonosMode } = await getZonosSettings();
|
|
722
723
|
if (((_b = (_a = errors[0]) === null || _a === void 0 ? void 0 : _a.type) === null || _b === void 0 ? void 0 : _b.toString()) === '403') {
|
|
723
724
|
log('Failed to load zonos settings. This domain may not have access', 'warn');
|
|
@@ -786,6 +787,19 @@ const ZonosController = class {
|
|
|
786
787
|
log('zonos controller loaded');
|
|
787
788
|
return;
|
|
788
789
|
}
|
|
790
|
+
const hasCartCallback =
|
|
791
|
+
// eslint-disable-next-line deprecation/deprecation -- gating Stripe load also honors the legacy callback
|
|
792
|
+
typeof ((_e = zonosStore.checkoutSettings) === null || _e === void 0 ? void 0 : _e.buildCartDetail) === 'function' ||
|
|
793
|
+
typeof ((_f = zonosStore.checkoutSettings) === null || _f === void 0 ? void 0 : _f.createCartId) === 'function';
|
|
794
|
+
// Checkout also runs without merchant cart callbacks when a cart is
|
|
795
|
+
// prefetched (e.g. `tempCartUUID` -> `cartData`) or when resuming a
|
|
796
|
+
// payment via the Stripe client secret. Stripe must still load for those.
|
|
797
|
+
const clientSecret = new URL(window.location.href).searchParams.get('payment_intent_client_secret') || sessionStorage.getItem('zonos--client-secret');
|
|
798
|
+
const hasPrefetchedCheckoutContext = !!(window.Zonos.cartId && window.Zonos.cartData) || !!clientSecret;
|
|
799
|
+
if (!hasCartCallback && !hasPrefetchedCheckoutContext) {
|
|
800
|
+
log(`Skip loading Stripe because no cart callback (buildCartDetail/createCartId), prefetched cart, or payment client secret is present`, 'warn');
|
|
801
|
+
return;
|
|
802
|
+
}
|
|
789
803
|
// send publishable key out to load stripe
|
|
790
804
|
this.stripeInitEvent.emit({
|
|
791
805
|
publishableKey: publishableKey.token,
|
|
@@ -845,7 +859,7 @@ const ZonosController = class {
|
|
|
845
859
|
zonosStore.organizationName = organizationName;
|
|
846
860
|
}
|
|
847
861
|
render() {
|
|
848
|
-
return h(Host, { key: '
|
|
862
|
+
return h(Host, { key: '925af89a63419b44e6372de48c66e0898d039ae0', class: "zonos--elements" });
|
|
849
863
|
}
|
|
850
864
|
};
|
|
851
865
|
ZonosController.style = ZonosControllerStyle0;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, a as Host, g as getElement } from './index-cfd394c8.js';
|
|
2
|
-
import { l as localizationStore } from './localization-
|
|
2
|
+
import { l as localizationStore } from './localization-d49867ed.js';
|
|
3
3
|
import { f as zonosStoreFontFamily } from './zonosStore-b7d3f9b0.js';
|
|
4
4
|
import { c as classes } from './classes-0d95c529.js';
|
|
5
5
|
import './handleFetch-a844cac1.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, a as Host, g as getElement } from './index-cfd394c8.js';
|
|
2
|
-
import { c as localizationStoreUpdateSelectedCountryCode, t as translate, l as localizationStore } from './localization-
|
|
2
|
+
import { c as localizationStoreUpdateSelectedCountryCode, t as translate, l as localizationStore } from './localization-d49867ed.js';
|
|
3
3
|
import { f as zonosStoreFontFamily } from './zonosStore-b7d3f9b0.js';
|
|
4
4
|
import { f as formatStringWithLinks } from './formatStringWithLinks-9e819405.js';
|
|
5
5
|
import { i as isDarkColor } from './isDarkColor-039ef212.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as registerInstance, d as createEvent, h, F as Fragment, a as Host } from './index-cfd394c8.js';
|
|
2
|
-
import { l as localizationStore, t as translate, h as currencyFormat } from './localization-
|
|
2
|
+
import { l as localizationStore, t as translate, h as currencyFormat } from './localization-d49867ed.js';
|
|
3
3
|
import { z as zonosStore } from './zonosStore-b7d3f9b0.js';
|
|
4
4
|
import { c as classes } from './classes-0d95c529.js';
|
|
5
5
|
import { f as formatStringWithLinks } from './formatStringWithLinks-9e819405.js';
|
|
6
|
-
import { h as hasInclusivePrice, T as TAXES_KEY, D as DUTY_KEY } from './hasInclusivePrice-
|
|
6
|
+
import { h as hasInclusivePrice, T as TAXES_KEY, D as DUTY_KEY } from './hasInclusivePrice-1589fef9.js';
|
|
7
7
|
import { g as getHasMoreSpaceOnRight } from './getHasMoreSpaceOnRight-70eb913a.js';
|
|
8
8
|
import { e as euCountryCodes } from './TaxId-50d72254.js';
|
|
9
9
|
import './handleFetch-a844cac1.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h, a as Host, g as getElement } from './index-cfd394c8.js';
|
|
2
2
|
import { d as debounce_1 } from './debounce-c8d67b17.js';
|
|
3
|
-
import { l as localizationStore, k as isValidSelector, t as translate, g as getZCountryUrlParam, n as setZCountryUrlParam, o as currencyDisplay, p as currencyConvertAndFormat, q as currencyConvert, h as currencyFormat, r as shouldShowHelloWidget } from './localization-
|
|
3
|
+
import { l as localizationStore, k as isValidSelector, t as translate, g as getZCountryUrlParam, n as setZCountryUrlParam, o as currencyDisplay, p as currencyConvertAndFormat, q as currencyConvert, h as currencyFormat, r as shouldShowHelloWidget } from './localization-d49867ed.js';
|
|
4
4
|
import { z as zonosStore, g as getZonosStoreTheme, m as mergeConfig } from './zonosStore-b7d3f9b0.js';
|
|
5
5
|
import { c as classes } from './classes-0d95c529.js';
|
|
6
6
|
import { h as handleFetch, l as logError } from './handleFetch-a844cac1.js';
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { r as registerInstance, h, a as Host } from './index-cfd394c8.js';
|
|
2
|
-
import { d as cartStore } from './cart-
|
|
3
|
-
import { t as translate } from './localization-
|
|
4
|
-
import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-
|
|
2
|
+
import { d as cartStore } from './cart-402dcde5.js';
|
|
3
|
+
import { t as translate } from './localization-d49867ed.js';
|
|
4
|
+
import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-ef71083e.js';
|
|
5
5
|
import { c as classes } from './classes-0d95c529.js';
|
|
6
|
-
import { c as invoiceStore } from './invoice-
|
|
6
|
+
import { c as invoiceStore } from './invoice-5eb27944.js';
|
|
7
7
|
import { r as renderFallback } from './renderFallback-b250f4e9.js';
|
|
8
8
|
import './zonosStore-b7d3f9b0.js';
|
|
9
9
|
import './VarianceTest-572cecf5.js';
|
|
10
10
|
import './handleFetch-a844cac1.js';
|
|
11
11
|
import './isDarkColor-039ef212.js';
|
|
12
12
|
import './getBorderRadius-dc982fe6.js';
|
|
13
|
+
import './TaxId-50d72254.js';
|
|
13
14
|
|
|
14
15
|
const zonosInvoiceCartItemsCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host .zonos--cart-table{width:100%;border:none;border-collapse:collapse;overflow:auto;font-size:var(--zonos-elements-font-size-base)}:host .zonos--cart-table .zonos--column{padding:8px;padding-left:0;font-size:var(--zonos-elements-font-size-base)}:host .zonos--cart-table .zonos--column:last-child{text-align:right;padding-right:0}:host .zonos--cart-table .zonos--column:first-child{padding-left:0;width:50px}:host .zonos--cart-table .zonos--cart-item-link{text-align:left}:host .zonos--cart-table .zonos--cart-item-created-at{text-align:right}:host .zonos--cart-table td{vertical-align:middle}:host .zonos--cart-item-price zonos-text{white-space:nowrap}:host(.mobile) table{margin-top:16px}:host(.mobile) table td{vertical-align:top}";
|
|
15
16
|
const ZonosInvoiceCartItemsStyle0 = zonosInvoiceCartItemsCss;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, d as createEvent, h, F as Fragment, a as Host, g as getElement } from './index-cfd394c8.js';
|
|
2
|
-
import { b as stripeStore, c as stripeStoreRetrievePayment, t as trackConversionEvent,
|
|
3
|
-
import { s as submitAnalytics, c as paypalStoreReset, a as paypalStore, b as paypalInitScript } from './paypal-
|
|
4
|
-
import { t as translate, s as storageStore, l as localizationStore } from './localization-
|
|
2
|
+
import { b as stripeStore, c as stripeStoreRetrievePayment, t as trackConversionEvent, Q as stripeStoreResetPromoCode, F as stripeStoreReset, R as stripeStoreMessageBasedOnStatus, d as cartStore, u as cartStoreNextStep, G as cartStoreOnChange } from './cart-402dcde5.js';
|
|
3
|
+
import { s as submitAnalytics, c as paypalStoreReset, a as paypalStore, b as paypalInitScript } from './paypal-2d4c9d01.js';
|
|
4
|
+
import { t as translate, s as storageStore, l as localizationStore } from './localization-d49867ed.js';
|
|
5
5
|
import { z as zonosStore } from './zonosStore-b7d3f9b0.js';
|
|
6
6
|
import { h as handleFetch, s as sendErrorLog, g as getIsTestMode, i as isCheckoutMobile, a as getIsStagingMode } from './handleFetch-a844cac1.js';
|
|
7
7
|
import { c as createCustomEvent } from './createCustomEvent-58159025.js';
|
|
@@ -10,11 +10,12 @@ import { l as log, b as allLogs } from './VarianceTest-572cecf5.js';
|
|
|
10
10
|
import { i as isInvoiceMobile, a as isInvoiceTablet } from './isInvoiceMobileTablet-1f7b614e.js';
|
|
11
11
|
import { c as classes } from './classes-0d95c529.js';
|
|
12
12
|
import { l as languages } from './ILanguage-cd6acb72.js';
|
|
13
|
-
import { c as invoiceStore } from './invoice-
|
|
14
|
-
import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-
|
|
15
|
-
import { p as placeTestOrder } from './placeTestOrder-
|
|
13
|
+
import { c as invoiceStore } from './invoice-5eb27944.js';
|
|
14
|
+
import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-ef71083e.js';
|
|
15
|
+
import { p as placeTestOrder } from './placeTestOrder-2ba7c3f2.js';
|
|
16
16
|
import { r as renderFallback } from './renderFallback-b250f4e9.js';
|
|
17
17
|
import './isDarkColor-039ef212.js';
|
|
18
|
+
import './TaxId-50d72254.js';
|
|
18
19
|
import './isContrastColor-089de6ac.js';
|
|
19
20
|
import './submitGtag-dc54f5b9.js';
|
|
20
21
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, h, a as Host, F as Fragment } from './index-cfd394c8.js';
|
|
2
|
-
import { b as stripeStore, i as initStripeElements, c as stripeStoreRetrievePayment, d as cartStore, n as cartStoreUpdateToErrorState, e as cartStoreUpdateItems, j as stripeStoreInitCheckoutSession, k as stripeStoreGetPaymentIntent, w as stripeStoreUpdateCheckoutSessionBaseCurrency, C as stripeStoreConfirmPayment, H as stripeStoreOnChange, F as stripeStoreReset, f as cartStoreReset } from './cart-
|
|
3
|
-
import { i as invoiceStoreUpdateSelectedShippingOption, a as invoiceStoreInitShippingInfo, b as invoiceStoreAsyncAddressUpdate, c as invoiceStore } from './invoice-
|
|
4
|
-
import { p as paypalStoreHasPaypalEnabled, a as paypalStore } from './paypal-
|
|
5
|
-
import { s as storageStore, t as translate, e as localizationStoreOnChange, h as currencyFormat, l as localizationStore } from './localization-
|
|
2
|
+
import { b as stripeStore, i as initStripeElements, c as stripeStoreRetrievePayment, d as cartStore, n as cartStoreUpdateToErrorState, e as cartStoreUpdateItems, j as stripeStoreInitCheckoutSession, k as stripeStoreGetPaymentIntent, w as stripeStoreUpdateCheckoutSessionBaseCurrency, C as stripeStoreConfirmPayment, H as stripeStoreOnChange, F as stripeStoreReset, f as cartStoreReset } from './cart-402dcde5.js';
|
|
3
|
+
import { i as invoiceStoreUpdateSelectedShippingOption, a as invoiceStoreInitShippingInfo, b as invoiceStoreAsyncAddressUpdate, c as invoiceStore } from './invoice-5eb27944.js';
|
|
4
|
+
import { p as paypalStoreHasPaypalEnabled, a as paypalStore } from './paypal-2d4c9d01.js';
|
|
5
|
+
import { s as storageStore, t as translate, e as localizationStoreOnChange, h as currencyFormat, l as localizationStore } from './localization-d49867ed.js';
|
|
6
6
|
import { z as zonosStore } from './zonosStore-b7d3f9b0.js';
|
|
7
7
|
import { b as buildCartItemsByTempCart } from './buildCartItemsByTempCart-a117f75d.js';
|
|
8
8
|
import { h as handleFetch, s as sendErrorLog, l as logError, g as getIsTestMode } from './handleFetch-a844cac1.js';
|
|
@@ -12,6 +12,7 @@ import { l as log } from './VarianceTest-572cecf5.js';
|
|
|
12
12
|
import { l as languages } from './ILanguage-cd6acb72.js';
|
|
13
13
|
import './isDarkColor-039ef212.js';
|
|
14
14
|
import './getBorderRadius-dc982fe6.js';
|
|
15
|
+
import './TaxId-50d72254.js';
|
|
15
16
|
import './isContrastColor-089de6ac.js';
|
|
16
17
|
import './submitGtag-dc54f5b9.js';
|
|
17
18
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, a as Host } from './index-cfd394c8.js';
|
|
2
|
-
import { A as localizationStoreUpdateSelectedLocale, t as translate, l as localizationStore } from './localization-
|
|
2
|
+
import { A as localizationStoreUpdateSelectedLocale, t as translate, l as localizationStore } from './localization-d49867ed.js';
|
|
3
3
|
import { f as zonosStoreFontFamily } from './zonosStore-b7d3f9b0.js';
|
|
4
4
|
import { l as languages } from './ILanguage-cd6acb72.js';
|
|
5
5
|
import './handleFetch-a844cac1.js';
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { r as registerInstance, h, F as Fragment, a as Host, g as getElement } from './index-cfd394c8.js';
|
|
2
|
-
import {
|
|
3
|
-
import { l as localizationStore, t as translate } from './localization-
|
|
2
|
+
import { _ as getEnabledPolicies, E as policyConsentStore, $ as storeCreditStoreSetEnabled, a0 as storeCreditStoreSetUseFullBalance, a1 as cartStoreUpdateStoreCredit, S as storeCreditStore, a2 as storeCreditStoreSetAmount, a3 as storeCreditStoreRefreshBalance, I as storeCreditStoreGetEffectiveAmount } from './cart-402dcde5.js';
|
|
3
|
+
import { l as localizationStore, t as translate } from './localization-d49867ed.js';
|
|
4
4
|
import { z as zonosStore, f as zonosStoreFontFamily } from './zonosStore-b7d3f9b0.js';
|
|
5
|
-
import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-
|
|
5
|
+
import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-ef71083e.js';
|
|
6
6
|
import { g as getBorderRadius } from './getBorderRadius-dc982fe6.js';
|
|
7
7
|
import './VarianceTest-572cecf5.js';
|
|
8
8
|
import './handleFetch-a844cac1.js';
|
|
9
9
|
import './isDarkColor-039ef212.js';
|
|
10
|
+
import './TaxId-50d72254.js';
|
|
10
11
|
|
|
11
12
|
const zonosPolicyConsentCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:block;margin-top:20px}.zonos--policy-consent{background-color:var(--zonos-elements-gray-50);border:1px solid var(--zonos-elements-gray-200);border-radius:8px;padding:12px 14px;-webkit-transition:border-color 0.15s ease, background-color 0.15s ease;transition:border-color 0.15s ease, background-color 0.15s ease}.zonos--policy-consent:hover{border-color:var(--zonos-elements-gray-300)}.zonos--policy-consent--error{background-color:var(--zonos-elements-red-50);border-color:var(--zonos-elements-red-400)}.zonos--policy-consent-label{-ms-flex-align:center;align-items:center;cursor:pointer;display:-ms-flexbox;display:flex;gap:10px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.zonos--policy-consent-checkbox{accent-color:var(--zonos-elements-blue-600);cursor:pointer;-ms-flex-negative:0;flex-shrink:0;height:18px;margin:0;width:18px}.zonos--policy-consent-text{color:var(--zonos-elements-gray-800);font-size:14px;line-height:1.45}.zonos--policy-consent-text a{color:var(--zonos-elements-blue-600);text-decoration:underline;text-underline-offset:2px}.zonos--policy-consent-text a:hover{color:var(--zonos-elements-blue-700)}.zonos--policy-consent-error{color:var(--zonos-elements-red-600);font-size:13px;line-height:1.4;margin-top:8px;padding:0 4px}";
|
|
12
13
|
const ZonosPolicyConsentStyle0 = zonosPolicyConsentCss;
|