@zonos/elements 1.3.109 → 1.3.110
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-d25b699a.js → cart-a3eab220.js} +235 -75
- package/dist/cjs/createCustomEvent-3e982e57.js +16 -0
- package/dist/cjs/index.cjs.js +7 -7
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{paypal-fd423375.js → paypal-ca479c4b.js} +1 -1
- package/dist/cjs/zonos-address_7.cjs.entry.js +9 -9
- package/dist/cjs/zonos-badge.cjs.entry.js +3 -3
- package/dist/cjs/zonos-button_3.cjs.entry.js +3 -3
- package/dist/cjs/zonos-card.cjs.entry.js +4 -4
- package/dist/cjs/zonos-cart-items_13.cjs.entry.js +126 -104
- package/dist/cjs/zonos-checkout.cjs.entry.js +6 -6
- package/dist/cjs/zonos-collapse.cjs.entry.js +2 -2
- package/dist/cjs/zonos-component.cjs.entry.js +1 -1
- package/dist/cjs/zonos-controller.cjs.entry.js +2 -2
- package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -1
- package/dist/cjs/zonos-country-select_4.cjs.entry.js +9 -9
- package/dist/cjs/zonos-elements.cjs.js +1 -1
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +5 -5
- package/dist/cjs/zonos-hello.cjs.entry.js +1 -1
- package/dist/cjs/zonos-input.cjs.entry.js +4 -4
- package/dist/cjs/zonos-language-select_2.cjs.entry.js +5 -5
- package/dist/cjs/zonos-link.cjs.entry.js +1 -1
- package/dist/cjs/zonos-logo.cjs.entry.js +2 -2
- package/dist/cjs/zonos-notification_3.cjs.entry.js +5 -5
- package/dist/cjs/zonos-toggle.cjs.entry.js +2 -2
- package/dist/cjs/zonos-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/zonos-v-stack.cjs.entry.js +2 -2
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.css +3 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +108 -86
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.js +2 -2
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +2 -2
- package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.js +2 -2
- package/dist/collection/components/common/zonos-badge/zonos-badge.js +3 -3
- package/dist/collection/components/common/zonos-button/zonos-button.js +3 -3
- package/dist/collection/components/common/zonos-card/zonos-card.js +4 -4
- package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.js +3 -3
- package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js +3 -3
- package/dist/collection/components/common/zonos-collapse/zonos-collapse.js +2 -2
- package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.js +3 -3
- package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +2 -2
- package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +2 -2
- package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +3 -3
- package/dist/collection/components/common/zonos-input/zonos-input.js +4 -4
- package/dist/collection/components/common/zonos-language-select/zonos-language-select.js +2 -2
- package/dist/collection/components/common/zonos-link/zonos-link.js +1 -1
- package/dist/collection/components/common/zonos-logo/zonos-logo.js +2 -2
- package/dist/collection/components/common/zonos-rest-state/zonos-rest-state.js +3 -3
- package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +2 -2
- package/dist/collection/components/common/zonos-toggle/zonos-toggle.js +2 -2
- package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.js +2 -2
- package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +2 -2
- package/dist/collection/components/common/zonos-virtual-scroll/zonos-virtual-scroll.js +2 -2
- package/dist/collection/components/component-template/zonos-component/zonos-component.js +1 -1
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +2 -2
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +4 -4
- package/dist/collection/components/main/zonos-controller.js +1 -1
- package/dist/collection/components/paypal/zonos-paypal-payment.js +1 -1
- package/dist/collection/components/store/checkout/stripe.js +11 -1
- package/dist/collection/components/store/translationStore/strings.arabic.js +9 -3
- package/dist/collection/components/store/translationStore/strings.base.js +9 -3
- package/dist/collection/components/store/translationStore/strings.chinese.js +10 -4
- package/dist/collection/components/store/translationStore/strings.danish.js +10 -4
- package/dist/collection/components/store/translationStore/strings.dutch.js +10 -4
- package/dist/collection/components/store/translationStore/strings.french.js +9 -3
- package/dist/collection/components/store/translationStore/strings.german.js +10 -4
- package/dist/collection/components/store/translationStore/strings.hebrew.js +10 -4
- package/dist/collection/components/store/translationStore/strings.indonesian.js +10 -4
- package/dist/collection/components/store/translationStore/strings.italian.js +10 -4
- package/dist/collection/components/store/translationStore/strings.japanese.js +10 -4
- package/dist/collection/components/store/translationStore/strings.korean.js +10 -4
- package/dist/collection/components/store/translationStore/strings.norwegian.js +9 -3
- package/dist/collection/components/store/translationStore/strings.polish.js +9 -3
- package/dist/collection/components/store/translationStore/strings.portuguese.js +10 -4
- package/dist/collection/components/store/translationStore/strings.russian.js +10 -4
- package/dist/collection/components/store/translationStore/strings.spanish.js +10 -4
- package/dist/collection/components/store/translationStore/strings.swedish.js +10 -4
- package/dist/collection/components/store/translationStore/strings.turkish.js +10 -4
- package/dist/collection/components/store/translationStore/strings.vietnamese.js +9 -3
- package/dist/collection/components/stripe/zonos-address/zonos-address.js +1 -1
- package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +1 -1
- package/dist/collection/components/stripe/zonos-payment/zonos-payment.css +3 -0
- package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
- package/dist/esm/{cart-911ba5dd.js → cart-163f4dd9.js} +235 -76
- package/dist/esm/createCustomEvent-31a792d3.js +13 -0
- package/dist/esm/index.js +7 -7
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{paypal-04a10fc2.js → paypal-77e8eef2.js} +1 -1
- package/dist/esm/zonos-address_7.entry.js +9 -9
- package/dist/esm/zonos-badge.entry.js +3 -3
- package/dist/esm/zonos-button_3.entry.js +3 -3
- package/dist/esm/zonos-card.entry.js +4 -4
- package/dist/esm/zonos-cart-items_13.entry.js +125 -103
- package/dist/esm/zonos-checkout.entry.js +5 -5
- package/dist/esm/zonos-collapse.entry.js +2 -2
- package/dist/esm/zonos-component.entry.js +1 -1
- package/dist/esm/zonos-controller.entry.js +2 -2
- package/dist/esm/zonos-country-flag.entry.js +1 -1
- package/dist/esm/zonos-country-select_4.entry.js +9 -9
- package/dist/esm/zonos-elements.js +1 -1
- package/dist/esm/zonos-hello-dialog.entry.js +5 -5
- package/dist/esm/zonos-hello.entry.js +1 -1
- package/dist/esm/zonos-input.entry.js +4 -4
- package/dist/esm/zonos-language-select_2.entry.js +5 -5
- package/dist/esm/zonos-link.entry.js +1 -1
- package/dist/esm/zonos-logo.entry.js +2 -2
- package/dist/esm/zonos-notification_3.entry.js +5 -5
- package/dist/esm/zonos-toggle.entry.js +2 -2
- package/dist/esm/zonos-tooltip.entry.js +2 -2
- package/dist/esm/zonos-v-stack.entry.js +2 -2
- package/dist/esm-es5/cart-163f4dd9.js +1 -0
- package/dist/esm-es5/createCustomEvent-31a792d3.js +1 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{paypal-04a10fc2.js → paypal-77e8eef2.js} +1 -1
- package/dist/esm-es5/zonos-address_7.entry.js +1 -1
- package/dist/esm-es5/zonos-badge.entry.js +1 -1
- package/dist/esm-es5/zonos-button_3.entry.js +1 -1
- package/dist/esm-es5/zonos-card.entry.js +1 -1
- package/dist/esm-es5/zonos-cart-items_13.entry.js +1 -1
- package/dist/esm-es5/zonos-checkout.entry.js +1 -1
- package/dist/esm-es5/zonos-collapse.entry.js +1 -1
- package/dist/esm-es5/zonos-component.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-elements.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-input.entry.js +1 -1
- package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
- package/dist/esm-es5/zonos-link.entry.js +1 -1
- package/dist/esm-es5/zonos-logo.entry.js +1 -1
- package/dist/esm-es5/zonos-notification_3.entry.js +1 -1
- package/dist/esm-es5/zonos-toggle.entry.js +1 -1
- package/dist/esm-es5/zonos-tooltip.entry.js +1 -1
- package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
- package/dist/scripts/index.d.ts +0 -5
- 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-checkout-finish/zonos-checkout-finish.d.ts +0 -1
- package/dist/types/components/store/checkout/stripe.d.ts +6 -0
- package/dist/types/components/store/translationStore/strings.arabic.d.ts +9 -3
- package/dist/types/components/store/translationStore/strings.base.d.ts +9 -3
- package/dist/types/components/store/translationStore/strings.chinese.d.ts +9 -3
- package/dist/types/components/store/translationStore/strings.danish.d.ts +9 -3
- package/dist/types/components/store/translationStore/strings.dutch.d.ts +9 -3
- package/dist/types/components/store/translationStore/strings.french.d.ts +9 -3
- package/dist/types/components/store/translationStore/strings.german.d.ts +9 -3
- package/dist/types/components/store/translationStore/strings.hebrew.d.ts +9 -3
- package/dist/types/components/store/translationStore/strings.indonesian.d.ts +9 -3
- package/dist/types/components/store/translationStore/strings.italian.d.ts +9 -3
- package/dist/types/components/store/translationStore/strings.japanese.d.ts +9 -3
- package/dist/types/components/store/translationStore/strings.korean.d.ts +9 -3
- package/dist/types/components/store/translationStore/strings.norwegian.d.ts +9 -3
- package/dist/types/components/store/translationStore/strings.polish.d.ts +9 -3
- package/dist/types/components/store/translationStore/strings.portuguese.d.ts +9 -3
- package/dist/types/components/store/translationStore/strings.russian.d.ts +9 -3
- package/dist/types/components/store/translationStore/strings.spanish.d.ts +9 -3
- package/dist/types/components/store/translationStore/strings.swedish.d.ts +9 -3
- package/dist/types/components/store/translationStore/strings.turkish.d.ts +9 -3
- package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +9 -3
- package/dist/types/components/store/translationStore.d.ts +1 -1
- package/dist/types/types/checkout/CheckoutConfig.d.ts +0 -5
- package/dist/zonos-elements/assets/RemoveIcon.svg +1 -1
- package/dist/zonos-elements/index.esm.js +1 -1
- package/dist/zonos-elements/{p-58832515.entry.js → p-019028d5.entry.js} +1 -1
- package/dist/zonos-elements/{p-939d363c.system.entry.js → p-02b1e030.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-ba3d2965.entry.js → p-06e3c94f.entry.js} +1 -1
- package/dist/zonos-elements/{p-123cabaa.system.entry.js → p-0810568b.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-2a1475a4.system.entry.js → p-0a8b6b4a.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-eaf09ccb.entry.js → p-0ad85ec6.entry.js} +1 -1
- package/dist/zonos-elements/p-110ee9ab.entry.js +1 -0
- package/dist/zonos-elements/{p-1e1397fe.entry.js → p-124f5c21.entry.js} +1 -1
- package/dist/zonos-elements/{p-796dbada.entry.js → p-1605dd48.entry.js} +1 -1
- package/dist/zonos-elements/{p-ee14ba06.system.entry.js → p-189aa06e.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-b8850092.entry.js → p-1a0e138c.entry.js} +1 -1
- package/dist/zonos-elements/{p-32c29205.system.entry.js → p-1c1ab3c8.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-1a9a51bf.entry.js → p-1c7e19f7.entry.js} +1 -1
- package/dist/zonos-elements/p-1dcaf64f.js +17 -0
- package/dist/zonos-elements/{p-9d678aea.system.js → p-281e9a06.system.js} +1 -1
- package/dist/zonos-elements/{p-6927d227.system.entry.js → p-2a0c4426.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-84d38e0c.entry.js → p-31acf417.entry.js} +1 -1
- package/dist/zonos-elements/{p-bfd73737.system.entry.js → p-3c90f724.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-ff7b0d6b.system.entry.js → p-42b0fca8.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-9f89f828.system.entry.js → p-42d9d3af.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-ae7526a2.system.entry.js → p-442a308c.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-24813754.system.entry.js → p-46a71949.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-e880ab28.system.js → p-49135023.system.js} +1 -1
- package/dist/zonos-elements/p-505f92e7.entry.js +1 -0
- package/dist/zonos-elements/{p-8b0feb0e.entry.js → p-58e6386b.entry.js} +1 -1
- package/dist/zonos-elements/p-5a011a47.system.js +1 -0
- package/dist/zonos-elements/p-605473a3.entry.js +1 -0
- package/dist/zonos-elements/p-64372f93.system.js +1 -0
- package/dist/zonos-elements/p-7b999a40.js +1 -0
- package/dist/zonos-elements/{p-8632c8f1.entry.js → p-8acdac29.entry.js} +1 -1
- package/dist/zonos-elements/{p-adbcf21c.entry.js → p-8cafdbc9.entry.js} +1 -1
- package/dist/zonos-elements/{p-c4b5f123.entry.js → p-8e6bbf2c.entry.js} +1 -1
- package/dist/zonos-elements/{p-76a4a647.system.entry.js → p-8e85c28f.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-45323a2f.system.entry.js → p-932cbdd7.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-1d15c126.entry.js → p-9d7a79e3.entry.js} +1 -1
- package/dist/zonos-elements/{p-c9e8f159.system.entry.js → p-a45bd823.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-b7f627ec.system.entry.js → p-ab9af87d.system.entry.js} +1 -1
- package/dist/zonos-elements/p-abc6b881.system.entry.js +1 -0
- package/dist/zonos-elements/{p-71fe8da9.entry.js → p-b34ccbfd.entry.js} +1 -1
- package/dist/zonos-elements/{p-d6de8661.entry.js → p-bcfc229f.entry.js} +1 -1
- package/dist/zonos-elements/p-c44f27be.js +1 -0
- package/dist/zonos-elements/{p-36eaad7e.entry.js → p-c598b3c5.entry.js} +1 -1
- package/dist/zonos-elements/{p-4eb3e354.entry.js → p-c652212b.entry.js} +1 -1
- package/dist/zonos-elements/p-c78dd680.system.js +1 -1
- package/dist/zonos-elements/p-cf69d8c2.system.entry.js +1 -0
- package/dist/zonos-elements/{p-489029d9.system.entry.js → p-d3c1ad61.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-e5d1d031.system.entry.js → p-d8a45014.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-1b1f2e33.system.entry.js → p-e4a69ce9.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-0962536e.system.entry.js → p-e5e63927.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-4069df3c.entry.js → p-f20b3656.entry.js} +1 -1
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/createCustomEvent-4ea7b6dc.js +0 -51
- package/dist/esm/createCustomEvent-6ba5bcde.js +0 -47
- package/dist/esm-es5/cart-911ba5dd.js +0 -1
- package/dist/esm-es5/createCustomEvent-6ba5bcde.js +0 -1
- package/dist/zonos-elements/p-018a4b36.js +0 -1
- package/dist/zonos-elements/p-27188a22.system.entry.js +0 -1
- package/dist/zonos-elements/p-39c09f18.system.entry.js +0 -1
- package/dist/zonos-elements/p-60303c84.js +0 -1
- package/dist/zonos-elements/p-631570f0.system.js +0 -1
- package/dist/zonos-elements/p-8d98fed0.entry.js +0 -1
- package/dist/zonos-elements/p-a0af6dc1.entry.js +0 -1
- package/dist/zonos-elements/p-e2fa7600.entry.js +0 -1
- package/dist/zonos-elements/p-e9771827.system.js +0 -1
- package/dist/zonos-elements/p-ef9d6106.js +0 -17
|
@@ -149,9 +149,6 @@ export declare const stringsIndonesian: {
|
|
|
149
149
|
'It looks like you placed an order just a few minutes ago ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?': {
|
|
150
150
|
value: string;
|
|
151
151
|
};
|
|
152
|
-
'Keep shopping': {
|
|
153
|
-
value: string;
|
|
154
|
-
};
|
|
155
152
|
'Know about duties and taxes before you buy. Shop with confidence!': {
|
|
156
153
|
value: string;
|
|
157
154
|
};
|
|
@@ -185,6 +182,9 @@ export declare const stringsIndonesian: {
|
|
|
185
182
|
'Nothing due at the door': {
|
|
186
183
|
value: string;
|
|
187
184
|
};
|
|
185
|
+
'Order complete!': {
|
|
186
|
+
value: string;
|
|
187
|
+
};
|
|
188
188
|
'Order total': {
|
|
189
189
|
value: string;
|
|
190
190
|
};
|
|
@@ -374,12 +374,18 @@ export declare const stringsIndonesian: {
|
|
|
374
374
|
'You may incur additional fees from the shipping carrier by not prepaying.': {
|
|
375
375
|
value: string;
|
|
376
376
|
};
|
|
377
|
+
"You will be redirected back to the merchant's site in a few seconds.": {
|
|
378
|
+
value: string;
|
|
379
|
+
};
|
|
377
380
|
"You're all set!": {
|
|
378
381
|
value: string;
|
|
379
382
|
};
|
|
380
383
|
'Your checkout session has expired. Please reload the page to continue.': {
|
|
381
384
|
value: string;
|
|
382
385
|
};
|
|
386
|
+
'Your order has been successfully placed.': {
|
|
387
|
+
value: string;
|
|
388
|
+
};
|
|
383
389
|
'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
|
|
384
390
|
value: string;
|
|
385
391
|
};
|
|
@@ -149,9 +149,6 @@ export declare const stringsItalian: {
|
|
|
149
149
|
'It looks like you placed an order just a few minutes ago ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?': {
|
|
150
150
|
value: string;
|
|
151
151
|
};
|
|
152
|
-
'Keep shopping': {
|
|
153
|
-
value: string;
|
|
154
|
-
};
|
|
155
152
|
'Know about duties and taxes before you buy. Shop with confidence!': {
|
|
156
153
|
value: string;
|
|
157
154
|
};
|
|
@@ -185,6 +182,9 @@ export declare const stringsItalian: {
|
|
|
185
182
|
'Nothing due at the door': {
|
|
186
183
|
value: string;
|
|
187
184
|
};
|
|
185
|
+
'Order complete!': {
|
|
186
|
+
value: string;
|
|
187
|
+
};
|
|
188
188
|
'Order total': {
|
|
189
189
|
value: string;
|
|
190
190
|
};
|
|
@@ -374,12 +374,18 @@ export declare const stringsItalian: {
|
|
|
374
374
|
'You may incur additional fees from the shipping carrier by not prepaying.': {
|
|
375
375
|
value: string;
|
|
376
376
|
};
|
|
377
|
+
"You will be redirected back to the merchant's site in a few seconds.": {
|
|
378
|
+
value: string;
|
|
379
|
+
};
|
|
377
380
|
"You're all set!": {
|
|
378
381
|
value: string;
|
|
379
382
|
};
|
|
380
383
|
'Your checkout session has expired. Please reload the page to continue.': {
|
|
381
384
|
value: string;
|
|
382
385
|
};
|
|
386
|
+
'Your order has been successfully placed.': {
|
|
387
|
+
value: string;
|
|
388
|
+
};
|
|
383
389
|
'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
|
|
384
390
|
value: string;
|
|
385
391
|
};
|
|
@@ -149,9 +149,6 @@ export declare const stringsJapanese: {
|
|
|
149
149
|
'It looks like you placed an order just a few minutes ago ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?': {
|
|
150
150
|
value: string;
|
|
151
151
|
};
|
|
152
|
-
'Keep shopping': {
|
|
153
|
-
value: string;
|
|
154
|
-
};
|
|
155
152
|
'Know about duties and taxes before you buy. Shop with confidence!': {
|
|
156
153
|
value: string;
|
|
157
154
|
};
|
|
@@ -185,6 +182,9 @@ export declare const stringsJapanese: {
|
|
|
185
182
|
'Nothing due at the door': {
|
|
186
183
|
value: string;
|
|
187
184
|
};
|
|
185
|
+
'Order complete!': {
|
|
186
|
+
value: string;
|
|
187
|
+
};
|
|
188
188
|
'Order total': {
|
|
189
189
|
value: string;
|
|
190
190
|
};
|
|
@@ -374,12 +374,18 @@ export declare const stringsJapanese: {
|
|
|
374
374
|
'You may incur additional fees from the shipping carrier by not prepaying.': {
|
|
375
375
|
value: string;
|
|
376
376
|
};
|
|
377
|
+
"You will be redirected back to the merchant's site in a few seconds.": {
|
|
378
|
+
value: string;
|
|
379
|
+
};
|
|
377
380
|
"You're all set!": {
|
|
378
381
|
value: string;
|
|
379
382
|
};
|
|
380
383
|
'Your checkout session has expired. Please reload the page to continue.': {
|
|
381
384
|
value: string;
|
|
382
385
|
};
|
|
386
|
+
'Your order has been successfully placed.': {
|
|
387
|
+
value: string;
|
|
388
|
+
};
|
|
383
389
|
'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
|
|
384
390
|
value: string;
|
|
385
391
|
};
|
|
@@ -149,9 +149,6 @@ export declare const stringsKorean: {
|
|
|
149
149
|
'It looks like you placed an order just a few minutes ago ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?': {
|
|
150
150
|
value: string;
|
|
151
151
|
};
|
|
152
|
-
'Keep shopping': {
|
|
153
|
-
value: string;
|
|
154
|
-
};
|
|
155
152
|
'Know about duties and taxes before you buy. Shop with confidence!': {
|
|
156
153
|
value: string;
|
|
157
154
|
};
|
|
@@ -185,6 +182,9 @@ export declare const stringsKorean: {
|
|
|
185
182
|
'Nothing due at the door': {
|
|
186
183
|
value: string;
|
|
187
184
|
};
|
|
185
|
+
'Order complete!': {
|
|
186
|
+
value: string;
|
|
187
|
+
};
|
|
188
188
|
'Order total': {
|
|
189
189
|
value: string;
|
|
190
190
|
};
|
|
@@ -374,12 +374,18 @@ export declare const stringsKorean: {
|
|
|
374
374
|
'You may incur additional fees from the shipping carrier by not prepaying.': {
|
|
375
375
|
value: string;
|
|
376
376
|
};
|
|
377
|
+
"You will be redirected back to the merchant's site in a few seconds.": {
|
|
378
|
+
value: string;
|
|
379
|
+
};
|
|
377
380
|
"You're all set!": {
|
|
378
381
|
value: string;
|
|
379
382
|
};
|
|
380
383
|
'Your checkout session has expired. Please reload the page to continue.': {
|
|
381
384
|
value: string;
|
|
382
385
|
};
|
|
386
|
+
'Your order has been successfully placed.': {
|
|
387
|
+
value: string;
|
|
388
|
+
};
|
|
383
389
|
'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
|
|
384
390
|
value: string;
|
|
385
391
|
};
|
|
@@ -149,9 +149,6 @@ export declare const stringsNorwegian: {
|
|
|
149
149
|
'It looks like you placed an order just a few minutes ago ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?': {
|
|
150
150
|
value: string;
|
|
151
151
|
};
|
|
152
|
-
'Keep shopping': {
|
|
153
|
-
value: string;
|
|
154
|
-
};
|
|
155
152
|
'Know about duties and taxes before you buy. Shop with confidence!': {
|
|
156
153
|
value: string;
|
|
157
154
|
};
|
|
@@ -185,6 +182,9 @@ export declare const stringsNorwegian: {
|
|
|
185
182
|
'Nothing due at the door': {
|
|
186
183
|
value: string;
|
|
187
184
|
};
|
|
185
|
+
'Order complete!': {
|
|
186
|
+
value: string;
|
|
187
|
+
};
|
|
188
188
|
'Order total': {
|
|
189
189
|
value: string;
|
|
190
190
|
};
|
|
@@ -374,12 +374,18 @@ export declare const stringsNorwegian: {
|
|
|
374
374
|
'You may incur additional fees from the shipping carrier by not prepaying.': {
|
|
375
375
|
value: string;
|
|
376
376
|
};
|
|
377
|
+
"You will be redirected back to the merchant's site in a few seconds.": {
|
|
378
|
+
value: string;
|
|
379
|
+
};
|
|
377
380
|
"You're all set!": {
|
|
378
381
|
value: string;
|
|
379
382
|
};
|
|
380
383
|
'Your checkout session has expired. Please reload the page to continue.': {
|
|
381
384
|
value: string;
|
|
382
385
|
};
|
|
386
|
+
'Your order has been successfully placed.': {
|
|
387
|
+
value: string;
|
|
388
|
+
};
|
|
383
389
|
'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
|
|
384
390
|
value: string;
|
|
385
391
|
};
|
|
@@ -149,9 +149,6 @@ export declare const stringsPolish: {
|
|
|
149
149
|
'It looks like you placed an order just a few minutes ago ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?': {
|
|
150
150
|
value: string;
|
|
151
151
|
};
|
|
152
|
-
'Keep shopping': {
|
|
153
|
-
value: string;
|
|
154
|
-
};
|
|
155
152
|
'Know about duties and taxes before you buy. Shop with confidence!': {
|
|
156
153
|
value: string;
|
|
157
154
|
};
|
|
@@ -185,6 +182,9 @@ export declare const stringsPolish: {
|
|
|
185
182
|
'Nothing due at the door': {
|
|
186
183
|
value: string;
|
|
187
184
|
};
|
|
185
|
+
'Order complete!': {
|
|
186
|
+
value: string;
|
|
187
|
+
};
|
|
188
188
|
'Order total': {
|
|
189
189
|
value: string;
|
|
190
190
|
};
|
|
@@ -374,12 +374,18 @@ export declare const stringsPolish: {
|
|
|
374
374
|
'You may incur additional fees from the shipping carrier by not prepaying.': {
|
|
375
375
|
value: string;
|
|
376
376
|
};
|
|
377
|
+
"You will be redirected back to the merchant's site in a few seconds.": {
|
|
378
|
+
value: string;
|
|
379
|
+
};
|
|
377
380
|
"You're all set!": {
|
|
378
381
|
value: string;
|
|
379
382
|
};
|
|
380
383
|
'Your checkout session has expired. Please reload the page to continue.': {
|
|
381
384
|
value: string;
|
|
382
385
|
};
|
|
386
|
+
'Your order has been successfully placed.': {
|
|
387
|
+
value: string;
|
|
388
|
+
};
|
|
383
389
|
'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
|
|
384
390
|
value: string;
|
|
385
391
|
};
|
|
@@ -149,9 +149,6 @@ export declare const stringsPortuguese: {
|
|
|
149
149
|
'It looks like you placed an order just a few minutes ago ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?': {
|
|
150
150
|
value: string;
|
|
151
151
|
};
|
|
152
|
-
'Keep shopping': {
|
|
153
|
-
value: string;
|
|
154
|
-
};
|
|
155
152
|
'Know about duties and taxes before you buy. Shop with confidence!': {
|
|
156
153
|
value: string;
|
|
157
154
|
};
|
|
@@ -185,6 +182,9 @@ export declare const stringsPortuguese: {
|
|
|
185
182
|
'Nothing due at the door': {
|
|
186
183
|
value: string;
|
|
187
184
|
};
|
|
185
|
+
'Order complete!': {
|
|
186
|
+
value: string;
|
|
187
|
+
};
|
|
188
188
|
'Order total': {
|
|
189
189
|
value: string;
|
|
190
190
|
};
|
|
@@ -374,12 +374,18 @@ export declare const stringsPortuguese: {
|
|
|
374
374
|
'You may incur additional fees from the shipping carrier by not prepaying.': {
|
|
375
375
|
value: string;
|
|
376
376
|
};
|
|
377
|
+
"You will be redirected back to the merchant's site in a few seconds.": {
|
|
378
|
+
value: string;
|
|
379
|
+
};
|
|
377
380
|
"You're all set!": {
|
|
378
381
|
value: string;
|
|
379
382
|
};
|
|
380
383
|
'Your checkout session has expired. Please reload the page to continue.': {
|
|
381
384
|
value: string;
|
|
382
385
|
};
|
|
386
|
+
'Your order has been successfully placed.': {
|
|
387
|
+
value: string;
|
|
388
|
+
};
|
|
383
389
|
'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
|
|
384
390
|
value: string;
|
|
385
391
|
};
|
|
@@ -149,9 +149,6 @@ export declare const stringsRussian: {
|
|
|
149
149
|
'It looks like you placed an order just a few minutes ago ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?': {
|
|
150
150
|
value: string;
|
|
151
151
|
};
|
|
152
|
-
'Keep shopping': {
|
|
153
|
-
value: string;
|
|
154
|
-
};
|
|
155
152
|
'Know about duties and taxes before you buy. Shop with confidence!': {
|
|
156
153
|
value: string;
|
|
157
154
|
};
|
|
@@ -185,6 +182,9 @@ export declare const stringsRussian: {
|
|
|
185
182
|
'Nothing due at the door': {
|
|
186
183
|
value: string;
|
|
187
184
|
};
|
|
185
|
+
'Order complete!': {
|
|
186
|
+
value: string;
|
|
187
|
+
};
|
|
188
188
|
'Order total': {
|
|
189
189
|
value: string;
|
|
190
190
|
};
|
|
@@ -374,12 +374,18 @@ export declare const stringsRussian: {
|
|
|
374
374
|
'You may incur additional fees from the shipping carrier by not prepaying.': {
|
|
375
375
|
value: string;
|
|
376
376
|
};
|
|
377
|
+
"You will be redirected back to the merchant's site in a few seconds.": {
|
|
378
|
+
value: string;
|
|
379
|
+
};
|
|
377
380
|
"You're all set!": {
|
|
378
381
|
value: string;
|
|
379
382
|
};
|
|
380
383
|
'Your checkout session has expired. Please reload the page to continue.': {
|
|
381
384
|
value: string;
|
|
382
385
|
};
|
|
386
|
+
'Your order has been successfully placed.': {
|
|
387
|
+
value: string;
|
|
388
|
+
};
|
|
383
389
|
'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
|
|
384
390
|
value: string;
|
|
385
391
|
};
|
|
@@ -149,9 +149,6 @@ export declare const stringsSpanish: {
|
|
|
149
149
|
'It looks like you placed an order just a few minutes ago ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?': {
|
|
150
150
|
value: string;
|
|
151
151
|
};
|
|
152
|
-
'Keep shopping': {
|
|
153
|
-
value: string;
|
|
154
|
-
};
|
|
155
152
|
'Know about duties and taxes before you buy. Shop with confidence!': {
|
|
156
153
|
value: string;
|
|
157
154
|
};
|
|
@@ -185,6 +182,9 @@ export declare const stringsSpanish: {
|
|
|
185
182
|
'Nothing due at the door': {
|
|
186
183
|
value: string;
|
|
187
184
|
};
|
|
185
|
+
'Order complete!': {
|
|
186
|
+
value: string;
|
|
187
|
+
};
|
|
188
188
|
'Order total': {
|
|
189
189
|
value: string;
|
|
190
190
|
};
|
|
@@ -374,12 +374,18 @@ export declare const stringsSpanish: {
|
|
|
374
374
|
'You may incur additional fees from the shipping carrier by not prepaying.': {
|
|
375
375
|
value: string;
|
|
376
376
|
};
|
|
377
|
+
"You will be redirected back to the merchant's site in a few seconds.": {
|
|
378
|
+
value: string;
|
|
379
|
+
};
|
|
377
380
|
"You're all set!": {
|
|
378
381
|
value: string;
|
|
379
382
|
};
|
|
380
383
|
'Your checkout session has expired. Please reload the page to continue.': {
|
|
381
384
|
value: string;
|
|
382
385
|
};
|
|
386
|
+
'Your order has been successfully placed.': {
|
|
387
|
+
value: string;
|
|
388
|
+
};
|
|
383
389
|
'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
|
|
384
390
|
value: string;
|
|
385
391
|
};
|
|
@@ -149,9 +149,6 @@ export declare const stringsSwedish: {
|
|
|
149
149
|
'It looks like you placed an order just a few minutes ago ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?': {
|
|
150
150
|
value: string;
|
|
151
151
|
};
|
|
152
|
-
'Keep shopping': {
|
|
153
|
-
value: string;
|
|
154
|
-
};
|
|
155
152
|
'Know about duties and taxes before you buy. Shop with confidence!': {
|
|
156
153
|
value: string;
|
|
157
154
|
};
|
|
@@ -185,6 +182,9 @@ export declare const stringsSwedish: {
|
|
|
185
182
|
'Nothing due at the door': {
|
|
186
183
|
value: string;
|
|
187
184
|
};
|
|
185
|
+
'Order complete!': {
|
|
186
|
+
value: string;
|
|
187
|
+
};
|
|
188
188
|
'Order total': {
|
|
189
189
|
value: string;
|
|
190
190
|
};
|
|
@@ -374,12 +374,18 @@ export declare const stringsSwedish: {
|
|
|
374
374
|
'You may incur additional fees from the shipping carrier by not prepaying.': {
|
|
375
375
|
value: string;
|
|
376
376
|
};
|
|
377
|
+
"You will be redirected back to the merchant's site in a few seconds.": {
|
|
378
|
+
value: string;
|
|
379
|
+
};
|
|
377
380
|
"You're all set!": {
|
|
378
381
|
value: string;
|
|
379
382
|
};
|
|
380
383
|
'Your checkout session has expired. Please reload the page to continue.': {
|
|
381
384
|
value: string;
|
|
382
385
|
};
|
|
386
|
+
'Your order has been successfully placed.': {
|
|
387
|
+
value: string;
|
|
388
|
+
};
|
|
383
389
|
'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
|
|
384
390
|
value: string;
|
|
385
391
|
};
|
|
@@ -149,9 +149,6 @@ export declare const stringsTurkish: {
|
|
|
149
149
|
'It looks like you placed an order just a few minutes ago ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?': {
|
|
150
150
|
value: string;
|
|
151
151
|
};
|
|
152
|
-
'Keep shopping': {
|
|
153
|
-
value: string;
|
|
154
|
-
};
|
|
155
152
|
'Know about duties and taxes before you buy. Shop with confidence!': {
|
|
156
153
|
value: string;
|
|
157
154
|
};
|
|
@@ -185,6 +182,9 @@ export declare const stringsTurkish: {
|
|
|
185
182
|
'Nothing due at the door': {
|
|
186
183
|
value: string;
|
|
187
184
|
};
|
|
185
|
+
'Order complete!': {
|
|
186
|
+
value: string;
|
|
187
|
+
};
|
|
188
188
|
'Order total': {
|
|
189
189
|
value: string;
|
|
190
190
|
};
|
|
@@ -374,12 +374,18 @@ export declare const stringsTurkish: {
|
|
|
374
374
|
'You may incur additional fees from the shipping carrier by not prepaying.': {
|
|
375
375
|
value: string;
|
|
376
376
|
};
|
|
377
|
+
"You will be redirected back to the merchant's site in a few seconds.": {
|
|
378
|
+
value: string;
|
|
379
|
+
};
|
|
377
380
|
"You're all set!": {
|
|
378
381
|
value: string;
|
|
379
382
|
};
|
|
380
383
|
'Your checkout session has expired. Please reload the page to continue.': {
|
|
381
384
|
value: string;
|
|
382
385
|
};
|
|
386
|
+
'Your order has been successfully placed.': {
|
|
387
|
+
value: string;
|
|
388
|
+
};
|
|
383
389
|
'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
|
|
384
390
|
value: string;
|
|
385
391
|
};
|
|
@@ -149,9 +149,6 @@ export declare const stringsVietnamese: {
|
|
|
149
149
|
'It looks like you placed an order just a few minutes ago ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?': {
|
|
150
150
|
value: string;
|
|
151
151
|
};
|
|
152
|
-
'Keep shopping': {
|
|
153
|
-
value: string;
|
|
154
|
-
};
|
|
155
152
|
'Know about duties and taxes before you buy. Shop with confidence!': {
|
|
156
153
|
value: string;
|
|
157
154
|
};
|
|
@@ -185,6 +182,9 @@ export declare const stringsVietnamese: {
|
|
|
185
182
|
'Nothing due at the door': {
|
|
186
183
|
value: string;
|
|
187
184
|
};
|
|
185
|
+
'Order complete!': {
|
|
186
|
+
value: string;
|
|
187
|
+
};
|
|
188
188
|
'Order total': {
|
|
189
189
|
value: string;
|
|
190
190
|
};
|
|
@@ -374,12 +374,18 @@ export declare const stringsVietnamese: {
|
|
|
374
374
|
'You may incur additional fees from the shipping carrier by not prepaying.': {
|
|
375
375
|
value: string;
|
|
376
376
|
};
|
|
377
|
+
"You will be redirected back to the merchant's site in a few seconds.": {
|
|
378
|
+
value: string;
|
|
379
|
+
};
|
|
377
380
|
"You're all set!": {
|
|
378
381
|
value: string;
|
|
379
382
|
};
|
|
380
383
|
'Your checkout session has expired. Please reload the page to continue.': {
|
|
381
384
|
value: string;
|
|
382
385
|
};
|
|
386
|
+
'Your order has been successfully placed.': {
|
|
387
|
+
value: string;
|
|
388
|
+
};
|
|
383
389
|
'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
|
|
384
390
|
value: string;
|
|
385
391
|
};
|
|
@@ -32,4 +32,4 @@ export type ITranslationKey = keyof typeof stringsBase;
|
|
|
32
32
|
* // No variables:
|
|
33
33
|
* translate('Above de minimis threshold for')
|
|
34
34
|
*/
|
|
35
|
-
export declare const translate: <T extends "Shipping" | "Email" | "Name" | "Quantity" | "Guaranteed" | "Customer" | "Country" | "Failure" | "Success" | "Hide" | "Delivery" | "Payment" | " (Duties due at door)" | " (Duties prepaid)" | "Above de minimis threshold for" | "Add promotional code" | "Address" | "Address line 1" | "Address line 2" | "An unexpected error occurred when processing PayPal order." | "Apply" | "Are you sure?" | "Back" | "Billing" | "Billing address" | "Cancel" | "Card number copied to clipboard" | "Cart subtotal" | "City" | "Click to copy the card number. Use any future expiration date and three number CVC." | "Close" | "Contact" | "Continue to shipping" | "Couldn't place order" | "Customer information" | "Delivery options" | "Discounts" | "Don't close" | "Due at delivery" | "Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders." | "Duties and taxes will be applied to items and shipping." | "Duties and taxes will be charged upon delivery." | "Duties will apply to all orders." | "Duties, taxes, and fees" | "Error creating Checkout" | "Error updating Checkout" | "Estimated" | "Expected delivery" | "Failed to create PayPal order. Please try again, or consider using an alternative method." | "First name" | "Go to payment" | "Hide non-prepaid options" | "Invalid promo code" | "It looks like you placed an order just a few minutes ago ([date] at [time]) under order number #[orderNumber]. Check your email for the order confirmation. Are you sure you want to place another order?" | "It looks like you placed an order just a few minutes ago ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?" | "
|
|
35
|
+
export declare const translate: <T extends "Shipping" | "Email" | "Name" | "Quantity" | "Guaranteed" | "Customer" | "Country" | "Failure" | "Success" | "Hide" | "Delivery" | "Payment" | " (Duties due at door)" | " (Duties prepaid)" | "Above de minimis threshold for" | "Add promotional code" | "Address" | "Address line 1" | "Address line 2" | "An unexpected error occurred when processing PayPal order." | "Apply" | "Are you sure?" | "Back" | "Billing" | "Billing address" | "Cancel" | "Card number copied to clipboard" | "Cart subtotal" | "City" | "Click to copy the card number. Use any future expiration date and three number CVC." | "Close" | "Contact" | "Continue to shipping" | "Couldn't place order" | "Customer information" | "Delivery options" | "Discounts" | "Don't close" | "Due at delivery" | "Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders." | "Duties and taxes will be applied to items and shipping." | "Duties and taxes will be charged upon delivery." | "Duties will apply to all orders." | "Duties, taxes, and fees" | "Error creating Checkout" | "Error updating Checkout" | "Estimated" | "Expected delivery" | "Failed to create PayPal order. Please try again, or consider using an alternative method." | "First name" | "Go to payment" | "Hide non-prepaid options" | "Invalid promo code" | "It looks like you placed an order just a few minutes ago ([date] at [time]) under order number #[orderNumber]. Check your email for the order confirmation. Are you sure you want to place another order?" | "It looks like you placed an order just a few minutes ago ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?" | "Know about duties and taxes before you buy. Shop with confidence!" | "Last name" | "Learn more." | "Missing required fields. Make sure all fields are completed." | "No countries found" | "No shipping method selected" | "No shipping methods found - please review and update your address details by selecting the \"Customer\" tab above. If you continue to encounter issues, contact our support team for assistance." | "No shipping methods found - try editing your address or contacting support if the error persists" | "Nothing due at delivery" | "Nothing due at the door" | "Order complete!" | "Order total" | "Orders to [countryName] must be over [threshold] to ship." | "Pay [orderTotal]" | "Pay [organizationName]" | "Payment failed" | "Payment failed. Please try another payment method." | "Payment method" | "Payment processing. We'll update you when payment is received." | "Phone number" | "Please ensure your text uses the Latin alphabet only (A-Z, a-z)." | "Postal code" | "Powered by" | "Prepay duties and taxes at checkout" | "Proceed with order" | "Product prices already include duties and fees. No additional duties or fees will be added at checkout, with rare exceptions." | "Product prices already include duties and taxes. No additional duties or taxes will be added at checkout, with rare exceptions." | "Product prices already include duties, taxes, and fees. No additional duties, taxes, or fees will be added at checkout, with rare exceptions." | "Product prices already include duties. No additional duties will be added at checkout, with rare exceptions." | "Product prices already include fees. No additional fees will be added at checkout, with rare exceptions." | "Product prices already include taxes and fees. No additional taxes or fees will be added at checkout, with rare exceptions." | "Product prices already include taxes. No additional taxes will be added at checkout, with rare exceptions." | "Reload" | "Restricted item" | "Restricted items found" | "Return to cart" | "Return to merchant site" | "Search countries" | "See duty and tax thresholds" | "Select a country" | "Select a language" | "Session timed out" | "Shipping address same as billing" | "Shipping method" | "Show" | "Show non-prepaid options" | "Something went wrong." | "Spend [threshold] duty free." | "Spend [threshold] tax free." | "State" | "State/Province" | "Taxes will apply to all orders." | "Test cards" | "Test mode" | "The following items are unable to be shipped to your country and are not included in your cart total." | "The low-value GST law passed July 1st, 2018 applies to this retailer." | "There's been an error creating your checkout session. Please reload and try again or contact support if the error persists" | "There's been an error updating your checkout session. Please reload and try again or contact support if the error persists" | "To ensure delivery all address details must be in Latin characters." | "Translated address" | "Unable to check inventory. Please try again." | "Update address" | "Update your address" | "We couldn't complete your payment. Please verify the payment details and try again." | "We've sent an email confirmation of the order details for your review. And our team is carefully preparing your order so it arrives on time." | "Welcome to [storeName]" | "Welcome!" | "What you entered" | "Would you like to close checkout and return to the site?" | "You may incur additional fees from the shipping carrier by not prepaying." | "You will be redirected back to the merchant's site in a few seconds." | "You're all set!" | "Your checkout session has expired. Please reload the page to continue." | "Your order has been successfully placed." | "Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us." | "[percentage] GST due on any order above [threshold] along with an import entry transaction fee and MPI levy." | "[percentage] GST due on any order above [threshold]." | "business days" | "click to learn more" | "days" | "restricted items" | "weeks">(...[key, replacement]: TranslateParams<T>) => string;
|
|
@@ -64,11 +64,6 @@ export type CheckoutConfig = {
|
|
|
64
64
|
*/
|
|
65
65
|
subscriptionStatus: CheckoutSubscriptionStatus;
|
|
66
66
|
successBehavior: CheckoutSuccessBehavior;
|
|
67
|
-
/**
|
|
68
|
-
* The success page action text for checkout.
|
|
69
|
-
* @note Default text supports translation automatically, but any custom text will not be translated.
|
|
70
|
-
*/
|
|
71
|
-
successPageActionText?: string;
|
|
72
67
|
/**
|
|
73
68
|
* The success page subtitle text for checkout. Each item in the array will appear on a new line.
|
|
74
69
|
* @note Default text supports translation automatically, but any custom text will not be translated.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg color="var(--zonos-elements-red-800)" fill="none" height="24" viewBox="0 0 24 24" width="24" xmlns="https://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z" data-is-secondary-color="true" fill="var(--zonos-elements-red-200)" fill-rule="evenodd"></path><path clip-rule="evenodd" d="M8.293 8.293a1 1 0 0 1 1.414 0L12 10.586l2.293-2.293a1 1 0 1 1 1.414 1.414L13.414 12l2.293 2.293a1 1 0 0 1-1.414 1.414L12 13.414l-2.293 2.293a1 1 0 0 1-1.414-1.414L10.586 12 8.293 9.707a1 1 0 0 1 0-1.414Z" fill="currentColor" fill-rule="evenodd"></path></svg>
|
|
1
|
+
<svg color="var(--zonos-elements-red-800)" fill="none" height="24" viewBox="0 0 24 24" width="24" xmlns="https://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z" data-is-secondary-color="true" fill="var(--zonos-elements-red-200)" fill-rule="evenodd"></path><path clip-rule="evenodd" d="M8.293 8.293a1 1 0 0 1 1.414 0L12 10.586l2.293-2.293a1 1 0 1 1 1.414 1.414L13.414 12l2.293 2.293a1 1 0 0 1-1.414 1.414L12 13.414l-2.293 2.293a1 1 0 0 1-1.414-1.414L10.586 12 8.293 9.707a1 1 0 0 1 0-1.414Z" fill="currentColor" fill-rule="evenodd"></path></svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{l as e,a as n}from"./p-970fa103.js";import{s as t,c as o}from"./p-272121e2.js";export{c as checkoutHiddenBtnSelector,d as domesticRedirectedBtnSelector}from"./p-272121e2.js";const s=["jsdelivr","cdnjs","unpkg","vercel"],r="jsdelivr",i=e=>{const n=s.indexOf(e);return s[n+1]||null},l="https://js.stripe.com/v3",u=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,a="loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used";let m=null;const p=Promise.resolve().then((()=>{return e=null,null!==m||(m=new Promise(((t,o)=>{if("undefined"!=typeof window&&"undefined"!=typeof document)if(window.Stripe&&e&&console.warn(a),window.Stripe)t(window.Stripe);else try{let s=(()=>{const e=document.querySelectorAll(`script[src^="${l}"]`);for(let n=0;n<e.length;n++){const t=e[n];if(t&&u.test(t.src))return t}return null})();s&&e?console.warn(a):s||(s=(e=>{const t=e&&!e.advancedFraudSignals?"?advancedFraudSignals=false":"",o=document.createElement("script");o.src=`${l}${t}`;const s=document.head||document.body;return s?(s.appendChild(o),o):(n("Expected document.body not to be null. Stripe.js requires a <body> element."),null)})(e)),null==s||s.addEventListener("load",(()=>{window.Stripe?t(window.Stripe):o(new Error("Stripe.js not available"))})),null==s||s.addEventListener("error",(()=>{o(new Error("Failed to load Stripe.js"))}))}catch(e){return void o(e)}else t(null)}))),m;var e}));let w=!1;var f;p.catch((e=>{w||console.warn(e)}));const h=(()=>{if("undefined"==typeof document)return null;const e=document.querySelector('script[src*="/zonos.js"]'),{currentLoadScriptUrl:n,isWhiteListed:t}=(({loadScriptSrc:e})=>{if(!e)return{currentLoadScriptUrl:"",isForceLoadVersionDomain:!1,isWhiteListed:!1};const n=new URL(e).origin,t=["dev.elements.zonos.com","dev.assets-checkout.zonos.com",".js.zonos.com","zonos-elements-test-git","zonos-elements-git"].some((e=>n.includes(e))),o=["qa.js.zonos.com"].some((e=>n.includes(e)));return{currentLoadScriptUrl:n,isForceLoadVersionDomain:o,isWhiteListed:t}})({loadScriptSrc:null==e?void 0:e.src});return t?n:null})(),v="https://v1.3.109.js.zonos.com",y=h||"https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.109",z="https://rsms.me",j="https://fonts.googleapis.com",S=/^https:\/\/rsms\.me\/inter\/inter\.css(.*)$/;class g{}f=g,g.doneInit=!1,g.debug="undefined"!=typeof window&&!!window.location.search.match(/\?.*(&*)zonosDebug=1/),g.zonosConversionTest="undefined"!=typeof window&&!!window.location.search.match(/\?.*(&*)zonosConversionTest/),g._paypalMockResponse=null,g.isBigCommerce=!1,g.releaseDate="1729893143571",g.isLegacyCheckout=!1,g.showBaseForeign="undefined"!=typeof window&&window.location.search.includes("zonosShowBaseForeign"),g.isNpm=!0,g.zonosQaUrl=null,g.zonosQaUrlApi=null,g.version="v1.3.109",g.modeAlerted=!1,g.cartData=null,g.paypal=null,g.getCurrentTimestamp=()=>(new Date).getTime(),g.zonosController=null,g.init=async({appearance:s,checkoutSettings:r,currencyConverter:i,helloSettings:c,onCountryChange:l,overrideCurrencyFormat:d,storeId:u,zonosApiKey:a})=>{if(f.cartId=new URLSearchParams(window.location.search).get("tempCartUUID"),!f.doneInit){if(e(`====== ZONOS DEBUG MODE: on (${f.version}) ======`),f.zonosApiKey=a,f.storeId=u,f.isNpm){if(e("====== ZONOS LOADING FROM NPM ======"),!a&&!f.cartId)return void n("Zonos API key is required unless `tempCartUUID` is provided in url query params.");if(!f.cartData&&f.cartId){e("Initialize cart data");const o=await t(f.cartId);if(!o)return void n("Failed to get cart data");f.cartData=o.cartData,f.zonosApiKey=o.zonosApiKey}}if(f.cartId&&f.cartData){e("Cart data is available, inject hidden button and trigger checkout");const n=document.createElement("button");n.style.display="none",n.id=`${o}`,document.body.appendChild(n)}e("init zonos"),f.injectZonosCdn(),f.injectZonosCss(),f.injectFonts(),f.injectController({config:{appearance:s,checkoutSettings:r,currencyConverter:i,helloSettings:c,onCountryChange:l,overrideCurrencyFormat:d}}),f.doneInit=!0}},g.displayCurrency=()=>{const e=document.querySelector("zonos-hello");e&&e.displayCurrency()},g.openHelloDialog=e=>{const n=document.querySelector("zonos-hello");n&&n.openHelloDialog(null==e||e)},g.showNotification=e=>{var n;null===(n=f.zonosController)||void 0===n||n.showNotification(e)},g.updateOrganizationName=e=>{var n;null===(n=f.zonosController)||void 0===n||n.updateOrganizationName(e)},g.disablePlaceOrderButtons=({autoEnable:e=!0,config:n,disable:t,placeOrderButtonSelector:o})=>{var s;if(!(null===(s=n.checkoutSettings)||void 0===s?void 0:s.disablePlaceOrderButtonActivation)&&o){const n=document.querySelectorAll(o),s=e=>{e.target.getAttribute("disabled")&&(e.preventDefault(),e.stopPropagation())};n.forEach((e=>{e.getAttribute("data-zonos-checkout-attached")||(t?(e.setAttribute("disabled","true"),e.addEventListener("click",s)):(e.removeAttribute("disabled"),e.removeEventListener("click",s)))})),e&&t&&setTimeout((()=>{n.forEach((e=>{e.removeAttribute("disabled"),e.removeEventListener("click",s)}))}),5e3)}},g.injectController=({config:t})=>{var o;if(document.querySelector("zonos-controller"))return;if(null===(o=t.checkoutSettings)||void 0===o?void 0:o.placeOrderButtonSelector){const e=t.checkoutSettings.placeOrderButtonSelector;f.disablePlaceOrderButtons({config:t,disable:!0,placeOrderButtonSelector:e}),new MutationObserver((()=>{f.disablePlaceOrderButtons({config:t,disable:!0,placeOrderButtonSelector:e})})).observe(document.body,{childList:!0,subtree:!0})}const s=document.createElement("zonos-controller");s.config=t,s.zonosApiKey=f.zonosApiKey||"",s.addEventListener("stripeInitEvent",(async t=>{const{detail:o}=t;e("loading Stripe");const r=await(async(...e)=>{w=!0;const n=Date.now();return p.then((t=>((e,n,t)=>{if(null===e)return null;const o=e.apply(void 0,n);return((e,n)=>{e&&e._registerWrapper&&e._registerWrapper({name:"stripe-js",startTime:n})})(o,t),o})(t,e,n)))})(o.publishableKey);r?(window.Zonos.stripe=r,s.initCheckoutElement(r)):n("API seems to be invalid or missing. Failed to load Stripe")})),document.body.appendChild(s),f.zonosController=s,e("Zonos controller injected!")},g.injectScript=({cdnType:t,isModule:o,theRestUrl:s})=>{const r=`${f.getZonosUrl(t)}/${s}`;if(document.querySelector(`script[src="${r}"]`))return void e(`Zonos script "${r}" already exists in the document`,"warn");const c=document.head||document.body,l=document.createElement("script");o?l.type="module":l.noModule=!0,l.src=r,l.crossOrigin="anonymous",l.onerror=()=>{n(`Failed to load ${l.src}`);const e=i(t);e&&f.injectScript({cdnType:e,isModule:o,theRestUrl:s})},c.appendChild(l)},g.getZonosUrl=n=>{const t=()=>{switch(n){case"jsdelivr":return y;case"unpkg":return"https://unpkg.com/@zonos/elements@1.3.109";case"cdnjs":return"https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.109";case"vercel":return v}};return f.isNpm&&(()=>{const n=window&&window.location.href.includes("forceLoadCdn");if("undefined"==typeof window||n)return null;const t=(e=>{if(!e)return null;const n=new URL(e).searchParams.get("zonosQaUrl");return n?/[^a-zA-Z0-9-_]+/.test(n)?null:n:null})(window.location.href),o="https://v1.3.109.js.zonos.com";if(!t&&(o.includes("test.")||o.includes("test-")))return o;if(!t&&["dev.demo.elements.zonos.com"].includes(window.location.hostname))return"https://dev.elements.zonos.com";if(!t)return null;if("dev-elements"===t)return"https://dev.elements.zonos.com";const s=`https://${t}.preview.js.zonos.com`;return e(`[ZONOS-WARNING] using '${s}' for loading elements script`,"warn"),fetch(s).then((()=>{window.sessionStorage.removeItem("zonos--checkout-session-id"),window.sessionStorage.removeItem("zonos--client-secret")})).catch((()=>{alert(`[ZONOS-WARNING] '${s}' IS NO LONGER AVAILABLE. REMOVING zonosQaUrl PARAM AND RELOADING THE PAGE`);const e=new URLSearchParams(window.location.search);e.delete("zonosQaUrl");const{pathname:n}=window.location,t=`${n}?${e.toString()}`;return window.history.replaceState(window.history.state,"",t),window.location.reload(),null})),s})()||t()},g.injectZonosCdn=()=>{f.injectScript({cdnType:r,isModule:!0,theRestUrl:"dist/zonos-elements/zonos-elements.esm.js"}),f.injectScript({cdnType:r,isModule:!1,theRestUrl:"dist/zonos-elements/zonos-elements.js"}),e("Zonos cdn script injected!")},g.injectStylesheet=({cdnType:e,theRestUrl:t})=>{const o=f.getZonosUrl(e),s=document.head||document.body,r=document.createElement("link");r.rel="preconnect",r.href=`${v}/`,s.appendChild(r);const c=document.createElement("link");c.rel="stylesheet",c.href=`${o}/${t}`,c.onerror=()=>{n(`Failed to load ${c.href}`);const o=i(e);o&&f.injectStylesheet({cdnType:o,theRestUrl:t})},s.appendChild(c)},g.injectZonosCss=()=>{document.querySelector('link[rel="stylesheet"][href*="/dist/zonos-elements/zonos-elements.css"]')?e("Zonos style links already injected","warn"):(f.injectStylesheet({cdnType:r,theRestUrl:"dist/zonos-elements/zonos-elements.css"}),e("Zonos style css injected!"))},g.injectFonts=()=>{if((()=>{const e=document.querySelectorAll(`link[rel="stylesheet"][href^="${z}"]`);for(let n=0;n<e.length;n++){const t=e[n];if(t&&!S.test(t.href))return t}return null})())return void e("Inter font already injected","warn");const n=document.head||document.body,t=document.createElement("link");t.rel="preconnect",t.href=z,n.appendChild(t);const o=document.createElement("link");o.rel="stylesheet",o.href=`${z}/inter/inter.css`,n.appendChild(o),e("Zonos font injected!")},g.setupGoogleFont=e=>{var n;null===(n=f.zonosController)||void 0===n||n.setupGoogleFont(e)},g.injectSupportGoogleFont=n=>{var t;e(`[FONT] injecting ${n}`);const o=null===(t=n.match(/family=(.*?):/))||void 0===t?void 0:t[1],s=document.head||document.body;if(!document.querySelector(`link[rel="preconnect"][href^="${j}"]`)){const e=document.createElement("link");e.rel="preconnect",e.href=j,s.appendChild(e)}if(document.querySelector(`link[rel="stylesheet"][href="${n}"]`))return void e(`[FONT] ${o} font already injected`,"warn");const r=document.createElement("link");r.rel="stylesheet",r.href=n,s.appendChild(r),e(`[FONT] ${o} font injected!`)};export{g as Zonos}
|
|
1
|
+
import{l as e,a as n}from"./p-970fa103.js";import{s as t,c as o}from"./p-272121e2.js";export{c as checkoutHiddenBtnSelector,d as domesticRedirectedBtnSelector}from"./p-272121e2.js";const s=["jsdelivr","cdnjs","unpkg","vercel"],r="jsdelivr",i=e=>{const n=s.indexOf(e);return s[n+1]||null},l="https://js.stripe.com/v3",u=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,a="loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used";let m=null;const p=Promise.resolve().then((()=>{return e=null,null!==m||(m=new Promise(((t,o)=>{if("undefined"!=typeof window&&"undefined"!=typeof document)if(window.Stripe&&e&&console.warn(a),window.Stripe)t(window.Stripe);else try{let s=(()=>{const e=document.querySelectorAll(`script[src^="${l}"]`);for(let n=0;n<e.length;n++){const t=e[n];if(t&&u.test(t.src))return t}return null})();s&&e?console.warn(a):s||(s=(e=>{const t=e&&!e.advancedFraudSignals?"?advancedFraudSignals=false":"",o=document.createElement("script");o.src=`${l}${t}`;const s=document.head||document.body;return s?(s.appendChild(o),o):(n("Expected document.body not to be null. Stripe.js requires a <body> element."),null)})(e)),null==s||s.addEventListener("load",(()=>{window.Stripe?t(window.Stripe):o(new Error("Stripe.js not available"))})),null==s||s.addEventListener("error",(()=>{o(new Error("Failed to load Stripe.js"))}))}catch(e){return void o(e)}else t(null)}))),m;var e}));let w=!1;var f;p.catch((e=>{w||console.warn(e)}));const h=(()=>{if("undefined"==typeof document)return null;const e=document.querySelector('script[src*="/zonos.js"]'),{currentLoadScriptUrl:n,isWhiteListed:t}=(({loadScriptSrc:e})=>{if(!e)return{currentLoadScriptUrl:"",isForceLoadVersionDomain:!1,isWhiteListed:!1};const n=new URL(e).origin,t=["dev.elements.zonos.com","dev.assets-checkout.zonos.com",".js.zonos.com","zonos-elements-test-git","zonos-elements-git"].some((e=>n.includes(e))),o=["qa.js.zonos.com"].some((e=>n.includes(e)));return{currentLoadScriptUrl:n,isForceLoadVersionDomain:o,isWhiteListed:t}})({loadScriptSrc:null==e?void 0:e.src});return t?n:null})(),v="https://v1.3.110.js.zonos.com",y=h||"https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.110",z="https://rsms.me",j="https://fonts.googleapis.com",S=/^https:\/\/rsms\.me\/inter\/inter\.css(.*)$/;class g{}f=g,g.doneInit=!1,g.debug="undefined"!=typeof window&&!!window.location.search.match(/\?.*(&*)zonosDebug=1/),g.zonosConversionTest="undefined"!=typeof window&&!!window.location.search.match(/\?.*(&*)zonosConversionTest/),g._paypalMockResponse=null,g.isBigCommerce=!1,g.releaseDate="1730134751797",g.isLegacyCheckout=!1,g.showBaseForeign="undefined"!=typeof window&&window.location.search.includes("zonosShowBaseForeign"),g.isNpm=!0,g.zonosQaUrl=null,g.zonosQaUrlApi=null,g.version="v1.3.110",g.modeAlerted=!1,g.cartData=null,g.paypal=null,g.getCurrentTimestamp=()=>(new Date).getTime(),g.zonosController=null,g.init=async({appearance:s,checkoutSettings:r,currencyConverter:i,helloSettings:c,onCountryChange:l,overrideCurrencyFormat:d,storeId:u,zonosApiKey:a})=>{if(f.cartId=new URLSearchParams(window.location.search).get("tempCartUUID"),!f.doneInit){if(e(`====== ZONOS DEBUG MODE: on (${f.version}) ======`),f.zonosApiKey=a,f.storeId=u,f.isNpm){if(e("====== ZONOS LOADING FROM NPM ======"),!a&&!f.cartId)return void n("Zonos API key is required unless `tempCartUUID` is provided in url query params.");if(!f.cartData&&f.cartId){e("Initialize cart data");const o=await t(f.cartId);if(!o)return void n("Failed to get cart data");f.cartData=o.cartData,f.zonosApiKey=o.zonosApiKey}}if(f.cartId&&f.cartData){e("Cart data is available, inject hidden button and trigger checkout");const n=document.createElement("button");n.style.display="none",n.id=`${o}`,document.body.appendChild(n)}e("init zonos"),f.injectZonosCdn(),f.injectZonosCss(),f.injectFonts(),f.injectController({config:{appearance:s,checkoutSettings:r,currencyConverter:i,helloSettings:c,onCountryChange:l,overrideCurrencyFormat:d}}),f.doneInit=!0}},g.displayCurrency=()=>{const e=document.querySelector("zonos-hello");e&&e.displayCurrency()},g.openHelloDialog=e=>{const n=document.querySelector("zonos-hello");n&&n.openHelloDialog(null==e||e)},g.showNotification=e=>{var n;null===(n=f.zonosController)||void 0===n||n.showNotification(e)},g.updateOrganizationName=e=>{var n;null===(n=f.zonosController)||void 0===n||n.updateOrganizationName(e)},g.disablePlaceOrderButtons=({autoEnable:e=!0,config:n,disable:t,placeOrderButtonSelector:o})=>{var s;if(!(null===(s=n.checkoutSettings)||void 0===s?void 0:s.disablePlaceOrderButtonActivation)&&o){const n=document.querySelectorAll(o),s=e=>{e.target.getAttribute("disabled")&&(e.preventDefault(),e.stopPropagation())};n.forEach((e=>{e.getAttribute("data-zonos-checkout-attached")||(t?(e.setAttribute("disabled","true"),e.addEventListener("click",s)):(e.removeAttribute("disabled"),e.removeEventListener("click",s)))})),e&&t&&setTimeout((()=>{n.forEach((e=>{e.removeAttribute("disabled"),e.removeEventListener("click",s)}))}),5e3)}},g.injectController=({config:t})=>{var o;if(document.querySelector("zonos-controller"))return;if(null===(o=t.checkoutSettings)||void 0===o?void 0:o.placeOrderButtonSelector){const e=t.checkoutSettings.placeOrderButtonSelector;f.disablePlaceOrderButtons({config:t,disable:!0,placeOrderButtonSelector:e}),new MutationObserver((()=>{f.disablePlaceOrderButtons({config:t,disable:!0,placeOrderButtonSelector:e})})).observe(document.body,{childList:!0,subtree:!0})}const s=document.createElement("zonos-controller");s.config=t,s.zonosApiKey=f.zonosApiKey||"",s.addEventListener("stripeInitEvent",(async t=>{const{detail:o}=t;e("loading Stripe");const r=await(async(...e)=>{w=!0;const n=Date.now();return p.then((t=>((e,n,t)=>{if(null===e)return null;const o=e.apply(void 0,n);return((e,n)=>{e&&e._registerWrapper&&e._registerWrapper({name:"stripe-js",startTime:n})})(o,t),o})(t,e,n)))})(o.publishableKey);r?(window.Zonos.stripe=r,s.initCheckoutElement(r)):n("API seems to be invalid or missing. Failed to load Stripe")})),document.body.appendChild(s),f.zonosController=s,e("Zonos controller injected!")},g.injectScript=({cdnType:t,isModule:o,theRestUrl:s})=>{const r=`${f.getZonosUrl(t)}/${s}`;if(document.querySelector(`script[src="${r}"]`))return void e(`Zonos script "${r}" already exists in the document`,"warn");const c=document.head||document.body,l=document.createElement("script");o?l.type="module":l.noModule=!0,l.src=r,l.crossOrigin="anonymous",l.onerror=()=>{n(`Failed to load ${l.src}`);const e=i(t);e&&f.injectScript({cdnType:e,isModule:o,theRestUrl:s})},c.appendChild(l)},g.getZonosUrl=n=>{const t=()=>{switch(n){case"jsdelivr":return y;case"unpkg":return"https://unpkg.com/@zonos/elements@1.3.110";case"cdnjs":return"https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.110";case"vercel":return v}};return f.isNpm&&(()=>{const n=window&&window.location.href.includes("forceLoadCdn");if("undefined"==typeof window||n)return null;const t=(e=>{if(!e)return null;const n=new URL(e).searchParams.get("zonosQaUrl");return n?/[^a-zA-Z0-9-_]+/.test(n)?null:n:null})(window.location.href),o="https://v1.3.110.js.zonos.com";if(!t&&(o.includes("test.")||o.includes("test-")))return o;if(!t&&["dev.demo.elements.zonos.com"].includes(window.location.hostname))return"https://dev.elements.zonos.com";if(!t)return null;if("dev-elements"===t)return"https://dev.elements.zonos.com";const s=`https://${t}.preview.js.zonos.com`;return e(`[ZONOS-WARNING] using '${s}' for loading elements script`,"warn"),fetch(s).then((()=>{window.sessionStorage.removeItem("zonos--checkout-session-id"),window.sessionStorage.removeItem("zonos--client-secret")})).catch((()=>{alert(`[ZONOS-WARNING] '${s}' IS NO LONGER AVAILABLE. REMOVING zonosQaUrl PARAM AND RELOADING THE PAGE`);const e=new URLSearchParams(window.location.search);e.delete("zonosQaUrl");const{pathname:n}=window.location,t=`${n}?${e.toString()}`;return window.history.replaceState(window.history.state,"",t),window.location.reload(),null})),s})()||t()},g.injectZonosCdn=()=>{f.injectScript({cdnType:r,isModule:!0,theRestUrl:"dist/zonos-elements/zonos-elements.esm.js"}),f.injectScript({cdnType:r,isModule:!1,theRestUrl:"dist/zonos-elements/zonos-elements.js"}),e("Zonos cdn script injected!")},g.injectStylesheet=({cdnType:e,theRestUrl:t})=>{const o=f.getZonosUrl(e),s=document.head||document.body,r=document.createElement("link");r.rel="preconnect",r.href=`${v}/`,s.appendChild(r);const c=document.createElement("link");c.rel="stylesheet",c.href=`${o}/${t}`,c.onerror=()=>{n(`Failed to load ${c.href}`);const o=i(e);o&&f.injectStylesheet({cdnType:o,theRestUrl:t})},s.appendChild(c)},g.injectZonosCss=()=>{document.querySelector('link[rel="stylesheet"][href*="/dist/zonos-elements/zonos-elements.css"]')?e("Zonos style links already injected","warn"):(f.injectStylesheet({cdnType:r,theRestUrl:"dist/zonos-elements/zonos-elements.css"}),e("Zonos style css injected!"))},g.injectFonts=()=>{if((()=>{const e=document.querySelectorAll(`link[rel="stylesheet"][href^="${z}"]`);for(let n=0;n<e.length;n++){const t=e[n];if(t&&!S.test(t.href))return t}return null})())return void e("Inter font already injected","warn");const n=document.head||document.body,t=document.createElement("link");t.rel="preconnect",t.href=z,n.appendChild(t);const o=document.createElement("link");o.rel="stylesheet",o.href=`${z}/inter/inter.css`,n.appendChild(o),e("Zonos font injected!")},g.setupGoogleFont=e=>{var n;null===(n=f.zonosController)||void 0===n||n.setupGoogleFont(e)},g.injectSupportGoogleFont=n=>{var t;e(`[FONT] injecting ${n}`);const o=null===(t=n.match(/family=(.*?):/))||void 0===t?void 0:t[1],s=document.head||document.body;if(!document.querySelector(`link[rel="preconnect"][href^="${j}"]`)){const e=document.createElement("link");e.rel="preconnect",e.href=j,s.appendChild(e)}if(document.querySelector(`link[rel="stylesheet"][href="${n}"]`))return void e(`[FONT] ${o} font already injected`,"warn");const r=document.createElement("link");r.rel="stylesheet",r.href=n,s.appendChild(r),e(`[FONT] ${o} font injected!`)};export{g as Zonos}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,h as t,H as s}from"./p-5b7da777.js";const e=class{constructor(t){o(this,t),this.href="",this.rel=void 0,this.target=void 0,this.linkTitle=void 0}render(){return t(s,{key:"
|
|
1
|
+
import{r as o,h as t,H as s}from"./p-5b7da777.js";const e=class{constructor(t){o(this,t),this.href="",this.rel=void 0,this.target=void 0,this.linkTitle=void 0}render(){return t(s,{key:"ad8e7bb2e2893d3114a89487ed77068d62315290",class:"zonos--elements"},t("a",{key:"5d02d48ee043c195d3bb4b7c880e9b202ffc6c28",href:this.href,rel:this.rel,target:this.target,title:this.linkTitle},t("slot",{key:"bc5f41e64fd3d20a8d84a1daa831e9bb18de8992"})))}};e.style=":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--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:inline-block}:host a{padding-bottom:2px;color:var(--zonos-elements-primary);-webkit-box-shadow:none;box-shadow:none;text-decoration:none;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;overflow-wrap:break-word}:host a:link,:host a:visited{color:var(--zonos-elements-primary);-webkit-transition:all 150ms ease-in-out;transition:all 150ms ease-in-out}:host a:hover,:host a:active{color:var(--zonos-elements-primary);-webkit-box-shadow:0 1px 0 var(--zonos-elements-primary);box-shadow:0 1px 0 var(--zonos-elements-primary)}";export{e as zonos_link}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-fd061229.system.js","./p-15750a04.system.js","./p-23e7c655.system.js"],(function(t){"use strict";var s,o,a,
|
|
1
|
+
System.register(["./p-fd061229.system.js","./p-15750a04.system.js","./p-23e7c655.system.js"],(function(t){"use strict";var s,o,n,a,e;return{setters:[function(t){s=t.r;o=t.h;n=t.H},function(t){a=t.d},function(t){e=t.c}],execute:function(){var i=":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--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 .vstack{display:grid;grid-auto-columns:minmax(0, 1fr);grid-row-gap:var(--spacing, 24px);grid-auto-flow:row}";var r=i;var f=t("zonos_v_stack",function(){function t(t){s(this,t);this.spacing=24}t.prototype.render=function(){return o(n,{key:"68eab1cb4fcc28b5167d993fac6c514c9407b515",style:{"--font-family":a()}},o("div",{key:"1b177f1e423b6bca713be84ef4cb079f433fe8c4",class:e(["vstack"]),style:{"grid-row-gap":"".concat(this.spacing,"px")}},o("slot",{key:"7e0e5b409b24ba9ffd9311d7797d012606cf0b98"})))};return t}());f.style=r}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,c as t,h as n,H as e}from"./p-5b7da777.js";import{
|
|
1
|
+
import{r as o,c as t,h as n,H as e}from"./p-5b7da777.js";import{z as i,j as s,A as r,d as a,a as c}from"./p-c44f27be.js";import{z as l,b as d,d as h}from"./p-a24da794.js";import{h as u,a as m,l as f}from"./p-970fa103.js";import"./p-032159ed.js";import"./p-e559d12d.js";const p=o=>{const t=document.querySelector(o);if(!document.querySelector("zonos-hello")&&t){const o=document.createElement("zonos-hello");return t.appendChild(o),!0}return!1},w=async o=>{if(window.Zonos.isLegacyCheckout)return void f("Hello is disabled when isLegacyCheckout","info");const{anchorElementSelector:t}=o;let n=t;if(!o.anchorElementSelector&&o.desktopLocation){const o=(({position:o="bottom-right"})=>{const t=".zonos--hello-mobile-wrapper";if(document.querySelector(t))return t;const n=document.createElement("div");return n.className="zonos--hello-mobile-wrapper",n.style.position="fixed","top-right"===o&&(n.style.top="72px",n.style.right="24px"),"top-left"===o&&(n.style.top="72px",n.style.left="24px"),"bottom-right"===o&&(n.style.bottom="72px",n.style.right="24px"),"bottom-left"===o&&(n.style.bottom="72px",n.style.left="24px"),n.style.zIndex="2147483007",document.body.appendChild(n),t})({position:"bottom-right"});n=o}if(n&&i(n)){if(f("Hello init complete"),!p(n)){const o=new MutationObserver((()=>{p(n)&&o.disconnect()}));o.observe(document.body,{childList:!0,subtree:!0}),setTimeout((()=>{p(n)}),1e3)}}else m(`Selector anchorElementSelector "${o.anchorElementSelector}" is not a valid selector.`)},v=class{constructor(n){o(this,n),this.paypalInitEvent=t(this,"paypalInitEvent",7),this.stripeInitEvent=t(this,"stripeInitEvent",7),this.config=void 0,this.zonosApiKey=void 0}async initCheckoutElement(o){var t;o?(s.stripe=o,((t=l.checkoutSettings).placeOrderButtonSelector||window.Zonos.cartData)&&(!t.placeOrderButtonSelector||i(t.placeOrderButtonSelector)?(()=>{if(!document.querySelector("zonos-checkout")){const o=document.createElement("zonos-checkout");document.body.appendChild(o)}})():m(`Selector checkoutButtonAnchor "${t.placeOrderButtonSelector}" is not a valid selector`)),f("init checkout element")):f("Stripe is not loaded yet - cannot init checkout element","warn")}initZonosNotification(){if(document.querySelector("zonos-notification"))return;const o=document.createElement("zonos-notification");document.body.appendChild(o)}async setupGoogleFont(o){var t,n;const e=o||h();if("Inter"===e){if(!o)return;f("[FONT] Just applied Inter , but no need to inject since we already inject Inter on start","warn"),l.appearance=Object.assign(Object.assign({},l.appearance),{fontFamily:o})}const i=new URLSearchParams;i.set("family",e);const{errors:s,json:r}=await u(`/api/zonos-elements/get-font-detail?${i.toString()}`);if(s.length>0||!(null==r?void 0:r.fontUrl))return f(`Failed to load font ${e}`,"warn"),void(l.appearance=Object.assign(Object.assign({},l.appearance),{fontFamily:"Inter"}));null===(n=(t=window.Zonos).injectSupportGoogleFont)||void 0===n||n.call(t,r.fontUrl),o&&(f(`[FONT] ${o} font override applied`),l.appearance=Object.assign(Object.assign({},l.appearance),{fontFamily:o}))}handleLocationChange(){w(l.helloSettings)}initHistoryListener(){const o=history.pushState;history.pushState=function(){return window.dispatchEvent(new window.Event("pushstate")),window.dispatchEvent(new window.Event("locationchange")),o.apply(this,arguments)};const t=history.replaceState;history.replaceState=function(){return window.dispatchEvent(new window.Event("replacestate")),window.dispatchEvent(new window.Event("locationchange")),t.apply(this,arguments)}}async componentWillLoad(){this.initHistoryListener(),l.zonosApiKey=this.zonosApiKey,(async()=>{var o,t;const{errors:n,json:e,zonosMode:i}=await(async()=>{const{errors:o,json:t,zonosMode:n}=await u("/api/zonos-elements/zonos-settings");return o.length?(m("Error occurred when getting zonos settings. If this is not an unauthorized error, it will use user settings or default settings"),{errors:o,json:null,zonosMode:n}):{errors:[],json:t,zonosMode:n}})();if("403"===(null===(o=n[0])||void 0===o?void 0:o.type.toString()))return void f("Failed to load zonos settings. This domain may not have access","warn");this.initZonosNotification();const s=Object.assign(Object.assign({},this.config),{appearance:Object.assign(Object.assign({},this.config.appearance),{logoUrl:(()=>{var o,t,n;return window.Zonos.isLegacyCheckout?(null===(o=null==e?void 0:e.appearanceSettings)||void 0===o?void 0:o.logoUrl)||(null===(t=this.config.appearance)||void 0===t?void 0:t.logoUrl):null===(n=this.config.appearance)||void 0===n?void 0:n.logoUrl})()}),checkoutSettings:this.config.checkoutSettings?Object.assign(Object.assign({},this.config.checkoutSettings),{subscriptionStatus:void 0}):void 0});d({overrideSettings:s,zonosSettings:e}),l.zonosMode=i,this.setupGoogleFont(),"DISABLED"===l.helloSettings.visibilityStatus&&f("=== Hello is disabled by store owner ===","warn"),l.helloSettings&&"ENABLED"===l.helloSettings.visibilityStatus&&(f("Initializing hello"),w(l.helloSettings)),await r();const a=(null===(t=null==e?void 0:e.checkoutSettings)||void 0===t?void 0:t.externalServiceTokens.find((o=>"STRIPE_PUBLISHABLE_TOKEN"===o.type)))||null;if(a&&this.stripeInitEvent)return"INACTIVE"===l.checkoutSettings.subscriptionStatus?(f('=== Checkout subscription is "INACTIVE" - Cancel initializing for Checkout ===',"warn"),void f("zonos controller loaded")):"DISABLED"===l.checkoutSettings.visibilityStatus?(f("=== Checkout is disabled by store owner ===","warn"),void f("zonos controller loaded")):void this.stripeInitEvent.emit({publishableKey:a.token});f("Checkout failed to load -- missing publishable key","warn")})()}async showNotification(o){const t=document.querySelector("zonos-notification");t?t.showNotification(o):f("Failed to show notification - zonos-notification not found","warn")}async reset(){a.checkoutSessionId=null,s.clientSecret=null}async overrideConfig(o){d({overrideSettings:o,zonosSettings:null})}async overrideCountry(o){f(`Override country code to ${o}`),c(o)}async getAppearanceSetting(){return l.appearance}async updateOrganizationName(o){l.organizationName=o}render(){return n(e,{key:"f2d050c785576dde681a5df55ba24bc42436375f",class:"zonos--elements"})}};v.style=":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--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{visibility:hidden;opacity:0;height:0}";export{v as zonos_controller}
|