@zonos/elements 1.3.150 → 1.3.152
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/{CheckoutConfig-d25d548d.js → CheckoutConfig-626b48e5.js} +7 -1
- package/dist/cjs/{cart-a19315fd.js → cart-0ce9e90b.js} +80 -80
- package/dist/cjs/index.cjs.js +8 -8
- package/dist/cjs/{paypal-5d326579.js → paypal-d4d0bb3c.js} +1 -1
- package/dist/cjs/zonos-address_8.cjs.entry.js +5 -3
- package/dist/cjs/zonos-cart-items_13.cjs.entry.js +2 -2
- package/dist/cjs/zonos-checkout.cjs.entry.js +20 -16
- package/dist/cjs/zonos-controller.cjs.entry.js +15 -5
- 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-empty-state-payment_4.cjs.entry.js +2 -2
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +1 -1
- package/dist/cjs/zonos-hello.cjs.entry.js +1 -1
- package/dist/cjs/zonos-language-select_2.cjs.entry.js +1 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.css +0 -4
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +16 -12
- package/dist/collection/components/main/zonos-controller.js +14 -4
- package/dist/collection/components/store/translationStore/strings.arabic.js +4 -4
- package/dist/collection/components/store/translationStore/strings.base.js +4 -4
- package/dist/collection/components/store/translationStore/strings.chinese.js +4 -4
- package/dist/collection/components/store/translationStore/strings.danish.js +4 -4
- package/dist/collection/components/store/translationStore/strings.dutch.js +4 -4
- package/dist/collection/components/store/translationStore/strings.french.js +4 -4
- package/dist/collection/components/store/translationStore/strings.german.js +4 -4
- package/dist/collection/components/store/translationStore/strings.hebrew.js +4 -4
- package/dist/collection/components/store/translationStore/strings.indonesian.js +4 -4
- package/dist/collection/components/store/translationStore/strings.italian.js +4 -4
- package/dist/collection/components/store/translationStore/strings.japanese.js +4 -4
- package/dist/collection/components/store/translationStore/strings.korean.js +4 -4
- package/dist/collection/components/store/translationStore/strings.norwegian.js +4 -4
- package/dist/collection/components/store/translationStore/strings.polish.js +4 -4
- package/dist/collection/components/store/translationStore/strings.portuguese.js +4 -4
- package/dist/collection/components/store/translationStore/strings.russian.js +4 -4
- package/dist/collection/components/store/translationStore/strings.spanish.js +4 -4
- package/dist/collection/components/store/translationStore/strings.swedish.js +4 -4
- package/dist/collection/components/store/translationStore/strings.turkish.js +4 -4
- package/dist/collection/components/store/translationStore/strings.vietnamese.js +4 -4
- package/dist/collection/components/stripe/zonos-address/zonos-address.js +4 -2
- package/dist/collection/scripts/_getTempCartById.js +7 -1
- package/dist/esm/{CheckoutConfig-573bd959.js → CheckoutConfig-646aae20.js} +7 -1
- package/dist/esm/{cart-260f8518.js → cart-eadc7067.js} +80 -80
- package/dist/esm/index.js +9 -9
- package/dist/esm/{paypal-5453a7db.js → paypal-897e2b5c.js} +1 -1
- package/dist/esm/zonos-address_8.entry.js +5 -3
- package/dist/esm/zonos-cart-items_13.entry.js +2 -2
- package/dist/esm/zonos-checkout.entry.js +20 -16
- package/dist/esm/zonos-controller.entry.js +15 -5
- 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-empty-state-payment_4.entry.js +2 -2
- package/dist/esm/zonos-hello-dialog.entry.js +1 -1
- package/dist/esm/zonos-hello.entry.js +1 -1
- package/dist/esm/zonos-language-select_2.entry.js +1 -1
- package/dist/esm-es5/CheckoutConfig-646aae20.js +1 -0
- package/dist/esm-es5/cart-eadc7067.js +1 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{paypal-5453a7db.js → paypal-897e2b5c.js} +1 -1
- package/dist/esm-es5/zonos-address_8.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-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-empty-state-payment_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-language-select_2.entry.js +1 -1
- 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/store/translationStore/strings.arabic.d.ts +2 -2
- package/dist/types/components/store/translationStore/strings.base.d.ts +2 -2
- package/dist/types/components/store/translationStore/strings.chinese.d.ts +2 -2
- package/dist/types/components/store/translationStore/strings.danish.d.ts +2 -2
- package/dist/types/components/store/translationStore/strings.dutch.d.ts +2 -2
- package/dist/types/components/store/translationStore/strings.french.d.ts +2 -2
- package/dist/types/components/store/translationStore/strings.german.d.ts +2 -2
- package/dist/types/components/store/translationStore/strings.hebrew.d.ts +2 -2
- package/dist/types/components/store/translationStore/strings.indonesian.d.ts +2 -2
- package/dist/types/components/store/translationStore/strings.italian.d.ts +2 -2
- package/dist/types/components/store/translationStore/strings.japanese.d.ts +2 -2
- package/dist/types/components/store/translationStore/strings.korean.d.ts +2 -2
- package/dist/types/components/store/translationStore/strings.norwegian.d.ts +2 -2
- package/dist/types/components/store/translationStore/strings.polish.d.ts +2 -2
- package/dist/types/components/store/translationStore/strings.portuguese.d.ts +2 -2
- package/dist/types/components/store/translationStore/strings.russian.d.ts +2 -2
- package/dist/types/components/store/translationStore/strings.spanish.d.ts +2 -2
- package/dist/types/components/store/translationStore/strings.swedish.d.ts +2 -2
- package/dist/types/components/store/translationStore/strings.turkish.d.ts +2 -2
- package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +2 -2
- package/dist/types/types/checkout/api/NormalizedTempCart.d.ts +8 -0
- package/dist/zonos-elements/index.esm.js +1 -1
- package/dist/zonos-elements/{p-08be2f4d.entry.js → p-04e53a0f.entry.js} +1 -1
- package/dist/zonos-elements/p-11063d30.system.entry.js +1 -0
- package/dist/zonos-elements/{p-a5a1a1d9.system.js → p-28a516f8.system.js} +1 -1
- package/dist/zonos-elements/{p-0728843a.entry.js → p-3e20fb8f.entry.js} +1 -1
- package/dist/zonos-elements/{p-cb4500cc.entry.js → p-3e3e7800.entry.js} +1 -1
- package/dist/zonos-elements/{p-7cad853b.entry.js → p-3ea350e8.entry.js} +1 -1
- package/dist/zonos-elements/p-46f6e5e9.system.js +1 -1
- package/dist/zonos-elements/{p-84bcd390.system.entry.js → p-5784a0fc.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-ebe1a0bb.system.entry.js → p-57d31762.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-50bbb2f5.entry.js → p-5d9c5413.entry.js} +1 -1
- package/dist/zonos-elements/{p-7ccbd8cb.system.entry.js → p-65dda2b5.system.entry.js} +1 -1
- package/dist/zonos-elements/p-73a3e5bb.system.js +1 -0
- package/dist/zonos-elements/p-764e5c78.entry.js +1 -0
- package/dist/zonos-elements/{p-c1859837.entry.js → p-7c7f0c32.entry.js} +1 -1
- package/dist/zonos-elements/p-8a4c6a42.js +1 -0
- package/dist/zonos-elements/{p-caf27d12.entry.js → p-8cb90d9e.entry.js} +1 -1
- package/dist/zonos-elements/{p-a50c36b5.system.entry.js → p-8fe71612.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-2ae03baf.system.js → p-92c36f24.system.js} +1 -1
- package/dist/zonos-elements/{p-1cace07e.system.entry.js → p-949f1418.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-dca47550.system.entry.js → p-aaecde60.system.entry.js} +1 -1
- package/dist/zonos-elements/p-b1d2f586.system.entry.js +1 -0
- package/dist/zonos-elements/{p-ea5b3c72.js → p-c36f823b.js} +1 -1
- package/dist/zonos-elements/p-c9035262.js +1 -0
- package/dist/zonos-elements/{p-fbf89adf.entry.js → p-c94d82fb.entry.js} +1 -1
- package/dist/zonos-elements/{p-85e7f592.system.entry.js → p-d642f149.system.entry.js} +1 -1
- package/dist/zonos-elements/p-dec30fa4.entry.js +1 -0
- package/dist/zonos-elements/p-eb192fa3.system.js +1 -0
- package/dist/zonos-elements/{p-526d2758.system.entry.js → p-ee871492.system.entry.js} +1 -1
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/package.json +1 -1
- package/dist/esm-es5/CheckoutConfig-573bd959.js +0 -1
- package/dist/esm-es5/cart-260f8518.js +0 -1
- package/dist/zonos-elements/p-366be853.system.entry.js +0 -1
- package/dist/zonos-elements/p-6d2cd324.system.entry.js +0 -1
- package/dist/zonos-elements/p-81a5dd5c.js +0 -1
- package/dist/zonos-elements/p-92d5df16.js +0 -1
- package/dist/zonos-elements/p-b3882a73.system.js +0 -1
- package/dist/zonos-elements/p-d512afcf.system.js +0 -1
- package/dist/zonos-elements/p-ea866dd3.entry.js +0 -1
- package/dist/zonos-elements/p-f946289f.entry.js +0 -1
|
@@ -146,11 +146,11 @@ export const stringsVietnamese = {
|
|
|
146
146
|
'Invalid promo code': {
|
|
147
147
|
value: 'Mã khuyến mãi không hợp lệ',
|
|
148
148
|
},
|
|
149
|
-
'It looks like you placed an order
|
|
150
|
-
value: 'Có vẻ như bạn đã đặt hàng
|
|
149
|
+
'It looks like you placed an order recently ([date] at [time]) under order number #[orderNumber]. Check your email for the order confirmation. Are you sure you want to place another order?': {
|
|
150
|
+
value: 'Có vẻ như bạn đã đặt hàng gần đây ([date] lúc [time]) với số đơn hàng #[orderNumber]. Kiểm tra email của bạn để xác nhận đơn hàng. Bạn có chắc chắn muốn đặt hàng khác không?',
|
|
151
151
|
},
|
|
152
|
-
'It looks like you placed an order
|
|
153
|
-
value: 'Có vẻ như bạn đã đặt hàng
|
|
152
|
+
'It looks like you placed an order recently ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?': {
|
|
153
|
+
value: 'Có vẻ như bạn đã đặt hàng gần đây ([date] lúc [time]). Kiểm tra email của bạn để xác nhận đơn hàng. Bạn có chắc chắn muốn đặt thêm một cái nữa không?',
|
|
154
154
|
},
|
|
155
155
|
'Keep shopping': {
|
|
156
156
|
value: 'Tiếp tục mua sắm',
|
|
@@ -68,12 +68,14 @@ export class ZonosAddress {
|
|
|
68
68
|
const shippingZone = shippableCountries
|
|
69
69
|
? Object.values(shippableCountries).map(country => country.code)
|
|
70
70
|
: [];
|
|
71
|
+
// Show all countries in checkout if the query param is present
|
|
72
|
+
const checkoutAllCountries = new URLSearchParams(window.location.search).has('zonosCheckoutAllCountries');
|
|
71
73
|
const allowedCountries = this.type === 'shipping' ? shippingZone : [];
|
|
72
74
|
const defaultAddressCountry = (stripeAddressEventData === null || stripeAddressEventData === void 0 ? void 0 : stripeAddressEventData.value.address.country) ||
|
|
73
75
|
getFallbackDefaultCountryCode(allowedCountries);
|
|
74
76
|
log(`Stripe country code: ${defaultAddressCountry}`, 'info');
|
|
75
77
|
const addressElement = stripeElements.create('address', {
|
|
76
|
-
allowedCountries,
|
|
78
|
+
allowedCountries: checkoutAllCountries ? [] : allowedCountries,
|
|
77
79
|
// only show the default address if stripeAddressEventData is not provided
|
|
78
80
|
contacts: this.defaultAddress && !stripeAddressEventData
|
|
79
81
|
? [this.defaultAddress]
|
|
@@ -149,7 +151,7 @@ export class ZonosAddress {
|
|
|
149
151
|
}
|
|
150
152
|
render() {
|
|
151
153
|
// this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
|
|
152
|
-
return (h(Host, { key: '
|
|
154
|
+
return (h(Host, { key: '2bc89330a07e2f14f21805d8d38a5455b85cf295', class: "zonos--address zonos--elements" }, h("zonos-text", { key: '17f156c41379d68822f605e7fd4a8329d32b7dee', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: '5f032eab47ca5751ee38ea644d00255d9d12a588', class: "zonos--address-component" })));
|
|
153
155
|
}
|
|
154
156
|
static get is() { return "zonos-address"; }
|
|
155
157
|
static get encapsulation() { return "scoped"; }
|
|
@@ -4,7 +4,13 @@ import { log } from "../components/utils/logging/log";
|
|
|
4
4
|
export const getTempCartById = async ({ cartId, retries, }) => {
|
|
5
5
|
const isTestMode = getIsTestMode();
|
|
6
6
|
const { errors, json } = await handleFetch('/api/zonos-elements/get-temp-cart', {
|
|
7
|
-
body: {
|
|
7
|
+
body: {
|
|
8
|
+
isTestMode,
|
|
9
|
+
options: {
|
|
10
|
+
noOnlineStoreSettings: true,
|
|
11
|
+
},
|
|
12
|
+
tempCartUUID: cartId,
|
|
13
|
+
},
|
|
8
14
|
headers: {
|
|
9
15
|
'Content-Type': 'application/json',
|
|
10
16
|
},
|
|
@@ -3,7 +3,13 @@ import { g as getIsTestMode, h as handleFetch, l as log, b as logError } from '.
|
|
|
3
3
|
const getTempCartById = async ({ cartId, retries, }) => {
|
|
4
4
|
const isTestMode = getIsTestMode();
|
|
5
5
|
const { errors, json } = await handleFetch('/api/zonos-elements/get-temp-cart', {
|
|
6
|
-
body: {
|
|
6
|
+
body: {
|
|
7
|
+
isTestMode,
|
|
8
|
+
options: {
|
|
9
|
+
noOnlineStoreSettings: true,
|
|
10
|
+
},
|
|
11
|
+
tempCartUUID: cartId,
|
|
12
|
+
},
|
|
7
13
|
headers: {
|
|
8
14
|
'Content-Type': 'application/json',
|
|
9
15
|
},
|
|
@@ -151,11 +151,11 @@ const stringsArabic = {
|
|
|
151
151
|
'Invalid promo code': {
|
|
152
152
|
value: 'رمز ترويجي غير صالح',
|
|
153
153
|
},
|
|
154
|
-
'It looks like you placed an order
|
|
155
|
-
value: 'يبدو أنك
|
|
154
|
+
'It looks like you placed an order recently ([date] at [time]) under order number #[orderNumber]. Check your email for the order confirmation. Are you sure you want to place another order?': {
|
|
155
|
+
value: 'يبدو أنك قمت بتقديم طلب مؤخرًا ([date] في [time]) تحت رقم الطلب #[orderNumber]. تحقق من بريدك الإلكتروني لتأكيد الطلب. هل أنت متأكد أنك تريد تقديم طلب آخر؟',
|
|
156
156
|
},
|
|
157
|
-
'It looks like you placed an order
|
|
158
|
-
value: 'يبدو أنك قدمت طلبًا
|
|
157
|
+
'It looks like you placed an order recently ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?': {
|
|
158
|
+
value: 'يبدو أنك قدمت طلبًا مؤخرًا ([date] في [time]). تحقق من بريدك الإلكتروني لتأكيد الطلب. هل أنت متأكد أنك تريد تقديم طلب آخر؟',
|
|
159
159
|
},
|
|
160
160
|
'Keep shopping': {
|
|
161
161
|
value: 'استمر في التسوق',
|
|
@@ -619,11 +619,11 @@ const stringsBase = {
|
|
|
619
619
|
'Invalid promo code': {
|
|
620
620
|
value: 'Invalid promo code',
|
|
621
621
|
},
|
|
622
|
-
'It looks like you placed an order
|
|
623
|
-
value: 'It looks like you placed an order
|
|
622
|
+
'It looks like you placed an order recently ([date] at [time]) under order number #[orderNumber]. Check your email for the order confirmation. Are you sure you want to place another order?': {
|
|
623
|
+
value: 'It looks like you placed an order recently ([date] at [time]) under order number #[orderNumber]. Check your email for the order confirmation. Are you sure you want to place another order?',
|
|
624
624
|
},
|
|
625
|
-
'It looks like you placed an order
|
|
626
|
-
value: 'It looks like you placed an order
|
|
625
|
+
'It looks like you placed an order recently ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?': {
|
|
626
|
+
value: 'It looks like you placed an order recently ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?',
|
|
627
627
|
},
|
|
628
628
|
'Keep shopping': {
|
|
629
629
|
value: 'Keep shopping',
|
|
@@ -1087,11 +1087,11 @@ const stringsChinese = {
|
|
|
1087
1087
|
'Invalid promo code': {
|
|
1088
1088
|
value: '无效的促销代码',
|
|
1089
1089
|
},
|
|
1090
|
-
'It looks like you placed an order
|
|
1091
|
-
value: '
|
|
1090
|
+
'It looks like you placed an order recently ([date] at [time]) under order number #[orderNumber]. Check your email for the order confirmation. Are you sure you want to place another order?': {
|
|
1091
|
+
value: '您似乎最近下了一个订单([date] [time]),订单号为 #[orderNumber]。请检查您的电子邮件以获取订单确认。您确定要下另一个订单吗?',
|
|
1092
1092
|
},
|
|
1093
|
-
'It looks like you placed an order
|
|
1094
|
-
value: '
|
|
1093
|
+
'It looks like you placed an order recently ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?': {
|
|
1094
|
+
value: '您似乎最近下了订单([date] [time])。请检查您的电子邮件以获取订单确认。您确定要再下一个订单吗?',
|
|
1095
1095
|
},
|
|
1096
1096
|
'Keep shopping': {
|
|
1097
1097
|
value: '继续购物',
|
|
@@ -1555,11 +1555,11 @@ const stringsDanish = {
|
|
|
1555
1555
|
'Invalid promo code': {
|
|
1556
1556
|
value: 'Ugyldig kampagnekode',
|
|
1557
1557
|
},
|
|
1558
|
-
'It looks like you placed an order
|
|
1559
|
-
value: 'Det ser ud til, at du
|
|
1558
|
+
'It looks like you placed an order recently ([date] at [time]) under order number #[orderNumber]. Check your email for the order confirmation. Are you sure you want to place another order?': {
|
|
1559
|
+
value: 'Det ser ud til, at du for nylig har afgivet en ordre ([date] kl. [time]) under ordrenummer #[orderNumber]. Tjek din e-mail for ordrebekræftelsen. Er du sikker på, at du vil afgive en ny ordre?',
|
|
1560
1560
|
},
|
|
1561
|
-
'It looks like you placed an order
|
|
1562
|
-
value: 'Det ser ud til, at du har afgivet en ordre for
|
|
1561
|
+
'It looks like you placed an order recently ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?': {
|
|
1562
|
+
value: 'Det ser ud til, at du har afgivet en ordre for nylig ([date] kl. [time]). Tjek din e-mail for ordrebekræftelsen. Er du sikker på, at du vil afgive en til?',
|
|
1563
1563
|
},
|
|
1564
1564
|
'Keep shopping': {
|
|
1565
1565
|
value: 'Fortsæt med at handle',
|
|
@@ -2023,11 +2023,11 @@ const stringsDutch = {
|
|
|
2023
2023
|
'Invalid promo code': {
|
|
2024
2024
|
value: 'Ongeldige promotiecode',
|
|
2025
2025
|
},
|
|
2026
|
-
'It looks like you placed an order
|
|
2027
|
-
value: 'Het lijkt erop dat je
|
|
2026
|
+
'It looks like you placed an order recently ([date] at [time]) under order number #[orderNumber]. Check your email for the order confirmation. Are you sure you want to place another order?': {
|
|
2027
|
+
value: 'Het lijkt erop dat je onlangs een bestelling hebt geplaatst ([date] om [time]) onder bestelnummer #[orderNumber]. Controleer je e-mail voor de orderbevestiging. Weet je zeker dat je nog een bestelling wilt plaatsen?',
|
|
2028
2028
|
},
|
|
2029
|
-
'It looks like you placed an order
|
|
2030
|
-
value: 'Het lijkt erop dat je
|
|
2029
|
+
'It looks like you placed an order recently ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?': {
|
|
2030
|
+
value: 'Het lijkt erop dat je onlangs een bestelling hebt geplaatst ([date] om [time]). Controleer je e-mail voor de orderbevestiging. Weet je zeker dat je er nog een wilt plaatsen?',
|
|
2031
2031
|
},
|
|
2032
2032
|
'Keep shopping': {
|
|
2033
2033
|
value: 'Blijf winkelen',
|
|
@@ -2491,11 +2491,11 @@ const stringsFrench = {
|
|
|
2491
2491
|
'Invalid promo code': {
|
|
2492
2492
|
value: 'Code promo invalide',
|
|
2493
2493
|
},
|
|
2494
|
-
'It looks like you placed an order
|
|
2495
|
-
value: 'Il semble que vous ayez passé une commande
|
|
2494
|
+
'It looks like you placed an order recently ([date] at [time]) under order number #[orderNumber]. Check your email for the order confirmation. Are you sure you want to place another order?': {
|
|
2495
|
+
value: 'Il semble que vous ayez passé une commande récemment ([date] à [time]) sous le numéro de commande #[orderNumber]. Vérifiez votre e-mail pour la confirmation de commande. Êtes-vous sûr de vouloir passer une autre commande?',
|
|
2496
2496
|
},
|
|
2497
|
-
'It looks like you placed an order
|
|
2498
|
-
value: 'Il semble que vous ayez passé une commande
|
|
2497
|
+
'It looks like you placed an order recently ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?': {
|
|
2498
|
+
value: 'Il semble que vous ayez passé une commande récemment ([date] à [time]). Vérifiez votre e-mail pour la confirmation de commande. Êtes-vous sûr de vouloir en passer une autre?',
|
|
2499
2499
|
},
|
|
2500
2500
|
'Keep shopping': {
|
|
2501
2501
|
value: 'Continuez vos achats',
|
|
@@ -2959,11 +2959,11 @@ const stringsGerman = {
|
|
|
2959
2959
|
'Invalid promo code': {
|
|
2960
2960
|
value: 'Ungültiger Aktionscode',
|
|
2961
2961
|
},
|
|
2962
|
-
'It looks like you placed an order
|
|
2963
|
-
value: 'Es sieht so aus, als hätten Sie
|
|
2962
|
+
'It looks like you placed an order recently ([date] at [time]) under order number #[orderNumber]. Check your email for the order confirmation. Are you sure you want to place another order?': {
|
|
2963
|
+
value: 'Es sieht so aus, als hätten Sie kürzlich eine Bestellung aufgegeben ([date] um [time]) unter der Bestellnummer #[orderNumber]. Überprüfen Sie Ihre E-Mails auf die Bestellbestätigung. Sind Sie sicher, dass Sie eine weitere Bestellung aufgeben möchten?',
|
|
2964
2964
|
},
|
|
2965
|
-
'It looks like you placed an order
|
|
2966
|
-
value: 'Es sieht so aus, als hätten Sie
|
|
2965
|
+
'It looks like you placed an order recently ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?': {
|
|
2966
|
+
value: 'Es sieht so aus, als hätten Sie kürzlich eine Bestellung aufgegeben ([date] um [time]). Überprüfen Sie Ihre E-Mails auf die Bestellbestätigung. Sind Sie sicher, dass Sie eine weitere aufgeben möchten?',
|
|
2967
2967
|
},
|
|
2968
2968
|
'Keep shopping': {
|
|
2969
2969
|
value: 'Weiter einkaufen',
|
|
@@ -3427,11 +3427,11 @@ const stringsHebrew = {
|
|
|
3427
3427
|
'Invalid promo code': {
|
|
3428
3428
|
value: 'קוד קידום מכירות לא חוקי',
|
|
3429
3429
|
},
|
|
3430
|
-
'It looks like you placed an order
|
|
3431
|
-
value: 'נראה כי ביצעת הזמנה
|
|
3430
|
+
'It looks like you placed an order recently ([date] at [time]) under order number #[orderNumber]. Check your email for the order confirmation. Are you sure you want to place another order?': {
|
|
3431
|
+
value: 'נראה כי ביצעת הזמנה לאחרונה ([date] ב-[time]) תחת מספר הזמנה #[orderNumber]. בדוק את הדוא"ל שלך לאישור ההזמנה. האם אתה בטוח שברצונך לבצע הזמנה נוספת?',
|
|
3432
3432
|
},
|
|
3433
|
-
'It looks like you placed an order
|
|
3434
|
-
value: 'נראה
|
|
3433
|
+
'It looks like you placed an order recently ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?': {
|
|
3434
|
+
value: 'נראה כי ביצעת הזמנה לאחרונה ([date] ב-[time]). בדוק את הדוא"ל שלך לאישור ההזמנה. האם אתה בטוח שברצונך לבצע הזמנה נוספת?',
|
|
3435
3435
|
},
|
|
3436
3436
|
'Keep shopping': {
|
|
3437
3437
|
value: 'המשך לקנות',
|
|
@@ -3895,11 +3895,11 @@ const stringsIndonesian = {
|
|
|
3895
3895
|
'Invalid promo code': {
|
|
3896
3896
|
value: 'Kode promo tidak valid',
|
|
3897
3897
|
},
|
|
3898
|
-
'It looks like you placed an order
|
|
3899
|
-
value: 'Sepertinya Anda baru saja melakukan pemesanan
|
|
3898
|
+
'It looks like you placed an order recently ([date] at [time]) under order number #[orderNumber]. Check your email for the order confirmation. Are you sure you want to place another order?': {
|
|
3899
|
+
value: 'Sepertinya Anda baru saja melakukan pemesanan ([date] pada [time]) dengan nomor pesanan #[orderNumber]. Periksa email Anda untuk konfirmasi pesanan. Apakah Anda yakin ingin melakukan pemesanan lain?',
|
|
3900
3900
|
},
|
|
3901
|
-
'It looks like you placed an order
|
|
3902
|
-
value: 'Sepertinya Anda baru saja melakukan pemesanan
|
|
3901
|
+
'It looks like you placed an order recently ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?': {
|
|
3902
|
+
value: 'Sepertinya Anda baru saja melakukan pemesanan ([date] pada [time]). Periksa email Anda untuk konfirmasi pesanan. Apakah Anda yakin ingin melakukan pemesanan lagi?',
|
|
3903
3903
|
},
|
|
3904
3904
|
'Keep shopping': {
|
|
3905
3905
|
value: 'Lanjutkan berbelanja',
|
|
@@ -4363,11 +4363,11 @@ const stringsItalian = {
|
|
|
4363
4363
|
'Invalid promo code': {
|
|
4364
4364
|
value: 'Codice promozionale non valido',
|
|
4365
4365
|
},
|
|
4366
|
-
'It looks like you placed an order
|
|
4367
|
-
value: "Sembra che tu abbia effettuato un ordine
|
|
4366
|
+
'It looks like you placed an order recently ([date] at [time]) under order number #[orderNumber]. Check your email for the order confirmation. Are you sure you want to place another order?': {
|
|
4367
|
+
value: "Sembra che tu abbia effettuato un ordine di recente ([date] alle [time]) con il numero d'ordine #[orderNumber]. Controlla la tua email per la conferma dell'ordine. Sei sicuro di voler effettuare un altro ordine?",
|
|
4368
4368
|
},
|
|
4369
|
-
'It looks like you placed an order
|
|
4370
|
-
value: "Sembra che tu abbia effettuato un ordine
|
|
4369
|
+
'It looks like you placed an order recently ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?': {
|
|
4370
|
+
value: "Sembra che tu abbia effettuato un ordine di recente ([date] alle [time]). Controlla la tua email per la conferma dell'ordine. Sei sicuro di volerne fare un altro?",
|
|
4371
4371
|
},
|
|
4372
4372
|
'Keep shopping': {
|
|
4373
4373
|
value: 'Continua a fare acquisti',
|
|
@@ -4831,11 +4831,11 @@ const stringsJapanese = {
|
|
|
4831
4831
|
'Invalid promo code': {
|
|
4832
4832
|
value: '無効なプロモーションコード',
|
|
4833
4833
|
},
|
|
4834
|
-
'It looks like you placed an order
|
|
4835
|
-
value: '
|
|
4834
|
+
'It looks like you placed an order recently ([date] at [time]) under order number #[orderNumber]. Check your email for the order confirmation. Are you sure you want to place another order?': {
|
|
4835
|
+
value: '最近注文をしたようです([date] [time])注文番号 #[orderNumber] で。注文確認のメールをチェックしてください。別の注文を確定してもよろしいですか?',
|
|
4836
4836
|
},
|
|
4837
|
-
'It looks like you placed an order
|
|
4838
|
-
value: '
|
|
4837
|
+
'It looks like you placed an order recently ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?': {
|
|
4838
|
+
value: '最近注文をしたようです([date] [time])。注文確認のメールを確認してください。もう一つ注文してもよろしいですか?',
|
|
4839
4839
|
},
|
|
4840
4840
|
'Keep shopping': {
|
|
4841
4841
|
value: '買い物を続ける',
|
|
@@ -5299,11 +5299,11 @@ const stringsKorean = {
|
|
|
5299
5299
|
'Invalid promo code': {
|
|
5300
5300
|
value: '유효하지 않은 프로모션 코드',
|
|
5301
5301
|
},
|
|
5302
|
-
'It looks like you placed an order
|
|
5303
|
-
value: '
|
|
5302
|
+
'It looks like you placed an order recently ([date] at [time]) under order number #[orderNumber]. Check your email for the order confirmation. Are you sure you want to place another order?': {
|
|
5303
|
+
value: '최근에 주문하신 것 같습니다 ([date] [time]) 주문 번호 #[orderNumber]로. 주문 확인 이메일을 확인하세요. 다른 주문을 하시겠습니까?',
|
|
5304
5304
|
},
|
|
5305
|
-
'It looks like you placed an order
|
|
5306
|
-
value: '
|
|
5305
|
+
'It looks like you placed an order recently ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?': {
|
|
5306
|
+
value: '최근에 주문을 하신 것 같습니다 ([date] [time]). 주문 확인 이메일을 확인하세요. 또 다른 주문을 하시겠습니까?',
|
|
5307
5307
|
},
|
|
5308
5308
|
'Keep shopping': {
|
|
5309
5309
|
value: '쇼핑 계속하기',
|
|
@@ -5767,11 +5767,11 @@ const stringsNorwegian = {
|
|
|
5767
5767
|
'Invalid promo code': {
|
|
5768
5768
|
value: 'Ugyldig kampanjekode',
|
|
5769
5769
|
},
|
|
5770
|
-
'It looks like you placed an order
|
|
5771
|
-
value: 'Det ser ut som du
|
|
5770
|
+
'It looks like you placed an order recently ([date] at [time]) under order number #[orderNumber]. Check your email for the order confirmation. Are you sure you want to place another order?': {
|
|
5771
|
+
value: 'Det ser ut som du nylig har lagt inn en bestilling ([date] kl. [time]) under ordrenummer #[orderNumber]. Sjekk e-posten din for ordrebekreftelsen. Er du sikker på at du vil legge inn en ny bestilling?',
|
|
5772
5772
|
},
|
|
5773
|
-
'It looks like you placed an order
|
|
5774
|
-
value: 'Det ser ut som du la inn en bestilling
|
|
5773
|
+
'It looks like you placed an order recently ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?': {
|
|
5774
|
+
value: 'Det ser ut som du la inn en bestilling nylig ([date] kl. [time]). Sjekk e-posten din for ordrebekreftelsen. Er du sikker på at du vil legge inn en til?',
|
|
5775
5775
|
},
|
|
5776
5776
|
'Keep shopping': {
|
|
5777
5777
|
value: 'Fortsett å handle',
|
|
@@ -6235,11 +6235,11 @@ const stringsPolish = {
|
|
|
6235
6235
|
'Invalid promo code': {
|
|
6236
6236
|
value: 'Nieprawidłowy kod promocyjny',
|
|
6237
6237
|
},
|
|
6238
|
-
'It looks like you placed an order
|
|
6239
|
-
value: 'Wygląda na to, że złożyłeś zamówienie
|
|
6238
|
+
'It looks like you placed an order recently ([date] at [time]) under order number #[orderNumber]. Check your email for the order confirmation. Are you sure you want to place another order?': {
|
|
6239
|
+
value: 'Wygląda na to, że niedawno złożyłeś zamówienie ([date] o [time]) pod numerem zamówienia #[orderNumber]. Sprawdź swoją skrzynkę e-mail, aby potwierdzić zamówienie. Czy na pewno chcesz złożyć kolejne zamówienie?',
|
|
6240
6240
|
},
|
|
6241
|
-
'It looks like you placed an order
|
|
6242
|
-
value: 'Wygląda na to, że złożyłeś zamówienie
|
|
6241
|
+
'It looks like you placed an order recently ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?': {
|
|
6242
|
+
value: 'Wygląda na to, że niedawno złożyłeś zamówienie ([date] o [time]). Sprawdź swoją pocztę e-mail, aby potwierdzić zamówienie. Czy na pewno chcesz złożyć kolejne?',
|
|
6243
6243
|
},
|
|
6244
6244
|
'Keep shopping': {
|
|
6245
6245
|
value: 'Kontynuuj zakupy',
|
|
@@ -6703,11 +6703,11 @@ const stringsPortuguese = {
|
|
|
6703
6703
|
'Invalid promo code': {
|
|
6704
6704
|
value: 'Código promocional inválido',
|
|
6705
6705
|
},
|
|
6706
|
-
'It looks like you placed an order
|
|
6707
|
-
value: 'Parece que você fez um pedido
|
|
6706
|
+
'It looks like you placed an order recently ([date] at [time]) under order number #[orderNumber]. Check your email for the order confirmation. Are you sure you want to place another order?': {
|
|
6707
|
+
value: 'Parece que você fez um pedido recentemente ([date] às [time]) sob o número de pedido #[orderNumber]. Verifique seu e-mail para a confirmação do pedido. Tem certeza de que deseja fazer outro pedido?',
|
|
6708
6708
|
},
|
|
6709
|
-
'It looks like you placed an order
|
|
6710
|
-
value: 'Parece que você fez um pedido
|
|
6709
|
+
'It looks like you placed an order recently ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?': {
|
|
6710
|
+
value: 'Parece que você fez um pedido recentemente ([date] às [time]). Verifique seu e-mail para a confirmação do pedido. Tem certeza de que deseja fazer outro?',
|
|
6711
6711
|
},
|
|
6712
6712
|
'Keep shopping': {
|
|
6713
6713
|
value: 'Continue comprando',
|
|
@@ -7171,11 +7171,11 @@ const stringsRussian = {
|
|
|
7171
7171
|
'Invalid promo code': {
|
|
7172
7172
|
value: 'Недействительный промо-код',
|
|
7173
7173
|
},
|
|
7174
|
-
'It looks like you placed an order
|
|
7175
|
-
value: 'Похоже, вы сделали заказ
|
|
7174
|
+
'It looks like you placed an order recently ([date] at [time]) under order number #[orderNumber]. Check your email for the order confirmation. Are you sure you want to place another order?': {
|
|
7175
|
+
value: 'Похоже, вы недавно сделали заказ ([date] в [time]) под номером заказа #[orderNumber]. Проверьте свою электронную почту для подтверждения заказа. Вы уверены, что хотите сделать еще один заказ?',
|
|
7176
7176
|
},
|
|
7177
|
-
'It looks like you placed an order
|
|
7178
|
-
value: 'Похоже, вы сделали заказ
|
|
7177
|
+
'It looks like you placed an order recently ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?': {
|
|
7178
|
+
value: 'Похоже, вы недавно сделали заказ ([date] в [time]). Проверьте свою электронную почту для подтверждения заказа. Вы уверены, что хотите сделать еще один?',
|
|
7179
7179
|
},
|
|
7180
7180
|
'Keep shopping': {
|
|
7181
7181
|
value: 'Продолжайте покупки',
|
|
@@ -7639,11 +7639,11 @@ const stringsSpanish = {
|
|
|
7639
7639
|
'Invalid promo code': {
|
|
7640
7640
|
value: 'Código promocional no válido',
|
|
7641
7641
|
},
|
|
7642
|
-
'It looks like you placed an order
|
|
7643
|
-
value: 'Parece que realizaste un pedido
|
|
7642
|
+
'It looks like you placed an order recently ([date] at [time]) under order number #[orderNumber]. Check your email for the order confirmation. Are you sure you want to place another order?': {
|
|
7643
|
+
value: 'Parece que realizaste un pedido recientemente ([date] a las [time]) bajo el número de pedido #[orderNumber]. Revisa tu correo electrónico para la confirmación del pedido. ¿Estás seguro de que quieres hacer otro pedido?',
|
|
7644
7644
|
},
|
|
7645
|
-
'It looks like you placed an order
|
|
7646
|
-
value: 'Parece que
|
|
7645
|
+
'It looks like you placed an order recently ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?': {
|
|
7646
|
+
value: 'Parece que hiciste un pedido recientemente ([date] a las [time]). Revisa tu correo electrónico para la confirmación del pedido. ¿Estás seguro de que quieres hacer otro?',
|
|
7647
7647
|
},
|
|
7648
7648
|
'Keep shopping': {
|
|
7649
7649
|
value: 'Sigue comprando',
|
|
@@ -8107,11 +8107,11 @@ const stringsSwedish = {
|
|
|
8107
8107
|
'Invalid promo code': {
|
|
8108
8108
|
value: 'Ogiltig kampanjkod',
|
|
8109
8109
|
},
|
|
8110
|
-
'It looks like you placed an order
|
|
8111
|
-
value: 'Det verkar som att du
|
|
8110
|
+
'It looks like you placed an order recently ([date] at [time]) under order number #[orderNumber]. Check your email for the order confirmation. Are you sure you want to place another order?': {
|
|
8111
|
+
value: 'Det verkar som att du nyligen har gjort en beställning ([date] kl. [time]) under ordernummer #[orderNumber]. Kontrollera din e-post för orderbekräftelsen. Är du säker på att du vill göra en ny beställning?',
|
|
8112
8112
|
},
|
|
8113
|
-
'It looks like you placed an order
|
|
8114
|
-
value: 'Det verkar som att du
|
|
8113
|
+
'It looks like you placed an order recently ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?': {
|
|
8114
|
+
value: 'Det verkar som att du nyligen har gjort en beställning ([date] kl. [time]). Kontrollera din e-post för orderbekräftelsen. Är du säker på att du vill göra en till?',
|
|
8115
8115
|
},
|
|
8116
8116
|
'Keep shopping': {
|
|
8117
8117
|
value: 'Fortsätt handla',
|
|
@@ -8575,11 +8575,11 @@ const stringsTurkish = {
|
|
|
8575
8575
|
'Invalid promo code': {
|
|
8576
8576
|
value: 'Geçersiz promosyon kodu',
|
|
8577
8577
|
},
|
|
8578
|
-
'It looks like you placed an order
|
|
8579
|
-
value: 'Görünüşe göre
|
|
8578
|
+
'It looks like you placed an order recently ([date] at [time]) under order number #[orderNumber]. Check your email for the order confirmation. Are you sure you want to place another order?': {
|
|
8579
|
+
value: 'Görünüşe göre yakın zamanda bir sipariş verdiniz ([date] tarihinde [time] saatinde) #[orderNumber] sipariş numarasıyla. Sipariş onayı için e-postanızı kontrol edin. Başka bir sipariş vermek istediğinizden emin misiniz?',
|
|
8580
8580
|
},
|
|
8581
|
-
'It looks like you placed an order
|
|
8582
|
-
value: 'Görünüşe göre
|
|
8581
|
+
'It looks like you placed an order recently ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?': {
|
|
8582
|
+
value: 'Görünüşe göre yakın zamanda bir sipariş verdiniz ([date] saat [time]). Sipariş onayı için e-postanızı kontrol edin. Başka bir sipariş vermek istediğinizden emin misiniz?',
|
|
8583
8583
|
},
|
|
8584
8584
|
'Keep shopping': {
|
|
8585
8585
|
value: 'Alışverişe devam et',
|
|
@@ -9043,11 +9043,11 @@ const stringsVietnamese = {
|
|
|
9043
9043
|
'Invalid promo code': {
|
|
9044
9044
|
value: 'Mã khuyến mãi không hợp lệ',
|
|
9045
9045
|
},
|
|
9046
|
-
'It looks like you placed an order
|
|
9047
|
-
value: 'Có vẻ như bạn đã đặt hàng
|
|
9046
|
+
'It looks like you placed an order recently ([date] at [time]) under order number #[orderNumber]. Check your email for the order confirmation. Are you sure you want to place another order?': {
|
|
9047
|
+
value: 'Có vẻ như bạn đã đặt hàng gần đây ([date] lúc [time]) với số đơn hàng #[orderNumber]. Kiểm tra email của bạn để xác nhận đơn hàng. Bạn có chắc chắn muốn đặt hàng khác không?',
|
|
9048
9048
|
},
|
|
9049
|
-
'It looks like you placed an order
|
|
9050
|
-
value: 'Có vẻ như bạn đã đặt hàng
|
|
9049
|
+
'It looks like you placed an order recently ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?': {
|
|
9050
|
+
value: 'Có vẻ như bạn đã đặt hàng gần đây ([date] lúc [time]). Kiểm tra email của bạn để xác nhận đơn hàng. Bạn có chắc chắn muốn đặt thêm một cái nữa không?',
|
|
9051
9051
|
},
|
|
9052
9052
|
'Keep shopping': {
|
|
9053
9053
|
value: 'Tiếp tục mua sắm',
|
package/dist/esm/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { g as getIsTestMode, a as getIsStagingMode, l as log, h as handleFetch, b as logError } from './handleFetch-b4633675.js';
|
|
2
|
-
import { s as setupCartData, c as checkoutHiddenBtnSelector } from './CheckoutConfig-
|
|
3
|
-
export { c as checkoutHiddenBtnSelector, d as domesticRedirectedBtnSelector } from './CheckoutConfig-
|
|
2
|
+
import { s as setupCartData, c as checkoutHiddenBtnSelector } from './CheckoutConfig-646aae20.js';
|
|
3
|
+
export { c as checkoutHiddenBtnSelector, d as domesticRedirectedBtnSelector } from './CheckoutConfig-646aae20.js';
|
|
4
4
|
export { c as countryRequireTaxId, s as shipToTaxIdLabels } from './TaxId-915ef042.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -126,7 +126,7 @@ const getZonosQaUrl = () => {
|
|
|
126
126
|
return null;
|
|
127
127
|
}
|
|
128
128
|
const qaUrl = extractZonosQaUrl(window.location.href);
|
|
129
|
-
const cdnUrl = "https://v1.3.
|
|
129
|
+
const cdnUrl = "https://v1.3.152.js.zonos.com";
|
|
130
130
|
// when the qaUrl is not set and the built URL is from the test domain, use the test domain for testing
|
|
131
131
|
if (!qaUrl &&
|
|
132
132
|
(cdnUrl.includes('test.') ||
|
|
@@ -310,10 +310,10 @@ const zonosLoadUrl = (() => {
|
|
|
310
310
|
}
|
|
311
311
|
return null;
|
|
312
312
|
})();
|
|
313
|
-
const ZONOS_URL = "https://v1.3.
|
|
314
|
-
const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.
|
|
315
|
-
const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.
|
|
316
|
-
const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.
|
|
313
|
+
const ZONOS_URL = "https://v1.3.152.js.zonos.com";
|
|
314
|
+
const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.152";
|
|
315
|
+
const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.152";
|
|
316
|
+
const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.152";
|
|
317
317
|
const GOOGLE_FONT_URL = 'https://fonts.googleapis.com';
|
|
318
318
|
const GOOGLE_FONT_REGEX = /^https:\/\/fonts\.googleapis\.com/;
|
|
319
319
|
class Zonos {
|
|
@@ -327,7 +327,7 @@ Zonos.zonosConversionTest = typeof window !== 'undefined' &&
|
|
|
327
327
|
!!window.location.search.match(/\?.*(&*)zonosConversionTest/);
|
|
328
328
|
Zonos._paypalMockResponse = null;
|
|
329
329
|
Zonos.isBigCommerce = false;
|
|
330
|
-
Zonos.releaseDate = "
|
|
330
|
+
Zonos.releaseDate = "1737742301571";
|
|
331
331
|
Zonos.isLegacyCheckout = false;
|
|
332
332
|
Zonos.domain = typeof window !== 'undefined'
|
|
333
333
|
? // domain that embeds the iframe
|
|
@@ -343,7 +343,7 @@ Zonos.showBaseForeign = typeof window !== 'undefined' &&
|
|
|
343
343
|
Zonos.isNpm = true;
|
|
344
344
|
Zonos.zonosQaUrl = null;
|
|
345
345
|
Zonos.zonosQaUrlApi = null;
|
|
346
|
-
Zonos.version = `v${"1.3.
|
|
346
|
+
Zonos.version = `v${"1.3.152"}`;
|
|
347
347
|
Zonos.modeAlerted = false;
|
|
348
348
|
Zonos.cartData = null;
|
|
349
349
|
Zonos.paypal = null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z as zonosStore, c as createStore } from './zonosStore-44efd080.js';
|
|
2
|
-
import { D as validateCheckoutSession, f as stripeStore, e as cartStore, y as stripeStoreHandleInventoryCheck, r as translate, x as cartStoreNextStep, k as cartStoreClearCheckoutInterval } from './cart-
|
|
2
|
+
import { D as validateCheckoutSession, f as stripeStore, e as cartStore, y as stripeStoreHandleInventoryCheck, r as translate, x as cartStoreNextStep, k as cartStoreClearCheckoutInterval } from './cart-eadc7067.js';
|
|
3
3
|
import { h as handleFetch, l as log, b as logError, j as jsonParse } from './handleFetch-b4633675.js';
|
|
4
4
|
import { t as tinycolor } from './isDarkColor-10f38df6.js';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, d as getElement } from './index-d82f06f2.js';
|
|
2
|
-
import { f as stripeStore, U as getFallbackDefaultCountryCode, l as localizationStore, r as translate, e as cartStore } from './cart-
|
|
2
|
+
import { f as stripeStore, U as getFallbackDefaultCountryCode, l as localizationStore, r as translate, e as cartStore } from './cart-eadc7067.js';
|
|
3
3
|
import { i as isCheckoutMobile } from './isCheckoutMobile-8846dccb.js';
|
|
4
4
|
import { b as logError, l as log } from './handleFetch-b4633675.js';
|
|
5
5
|
import { i as isTextContainsNonLatinChars, c as containsNonLatinChars } from './containsNonLatinChars-2d8810c3.js';
|
|
@@ -75,12 +75,14 @@ const ZonosAddress = class {
|
|
|
75
75
|
const shippingZone = shippableCountries
|
|
76
76
|
? Object.values(shippableCountries).map(country => country.code)
|
|
77
77
|
: [];
|
|
78
|
+
// Show all countries in checkout if the query param is present
|
|
79
|
+
const checkoutAllCountries = new URLSearchParams(window.location.search).has('zonosCheckoutAllCountries');
|
|
78
80
|
const allowedCountries = this.type === 'shipping' ? shippingZone : [];
|
|
79
81
|
const defaultAddressCountry = (stripeAddressEventData === null || stripeAddressEventData === void 0 ? void 0 : stripeAddressEventData.value.address.country) ||
|
|
80
82
|
getFallbackDefaultCountryCode(allowedCountries);
|
|
81
83
|
log(`Stripe country code: ${defaultAddressCountry}`, 'info');
|
|
82
84
|
const addressElement = stripeElements.create('address', {
|
|
83
|
-
allowedCountries,
|
|
85
|
+
allowedCountries: checkoutAllCountries ? [] : allowedCountries,
|
|
84
86
|
// only show the default address if stripeAddressEventData is not provided
|
|
85
87
|
contacts: this.defaultAddress && !stripeAddressEventData
|
|
86
88
|
? [this.defaultAddress]
|
|
@@ -156,7 +158,7 @@ const ZonosAddress = class {
|
|
|
156
158
|
}
|
|
157
159
|
render() {
|
|
158
160
|
// this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
|
|
159
|
-
return (h(Host, { key: '
|
|
161
|
+
return (h(Host, { key: '2bc89330a07e2f14f21805d8d38a5455b85cf295', class: "zonos--address zonos--elements" }, h("zonos-text", { key: '17f156c41379d68822f605e7fd4a8329d32b7dee', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: '5f032eab47ca5751ee38ea644d00255d9d12a588', class: "zonos--address-component" })));
|
|
160
162
|
}
|
|
161
163
|
get el() { return getElement(this); }
|
|
162
164
|
static get watchers() { return {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, a as getAssetPath, h, H as Host, F as Fragment, c as createEvent, d as getElement } from './index-d82f06f2.js';
|
|
2
|
-
import { e as cartStore, K as currencyFormat, r as translate, L as cartStoreHasOneEligibleItem, M as stripeStoreApplyPromoCode, N as stripeStoreRemovePromoCode, f as stripeStore, B as stripeStoreReset, d as stripeStoreRetrievePayment, t as trackConversionEvent, O as stripeStoreResetPromoCode, P as stripeStoreMessageBasedOnStatus, l as localizationStore, x as cartStoreNextStep, Q as stripeStoreTranslateAddressToLatin, R as cartStoreUpdateSelectedShippingOption, S as cartStoreGetShippingTransitInfo, T as sortServiceLevelOptionsByAmount } from './cart-
|
|
2
|
+
import { e as cartStore, K as currencyFormat, r as translate, L as cartStoreHasOneEligibleItem, M as stripeStoreApplyPromoCode, N as stripeStoreRemovePromoCode, f as stripeStore, B as stripeStoreReset, d as stripeStoreRetrievePayment, t as trackConversionEvent, O as stripeStoreResetPromoCode, P as stripeStoreMessageBasedOnStatus, l as localizationStore, x as cartStoreNextStep, Q as stripeStoreTranslateAddressToLatin, R as cartStoreUpdateSelectedShippingOption, S as cartStoreGetShippingTransitInfo, T as sortServiceLevelOptionsByAmount } from './cart-eadc7067.js';
|
|
3
3
|
import { c as classes } from './classes-0d95c529.js';
|
|
4
|
-
import { s as submitGtag, c as paypalStoreReset, b as paypalStore, i as isContrastColor } from './paypal-
|
|
4
|
+
import { s as submitGtag, c as paypalStoreReset, b as paypalStore, i as isContrastColor } from './paypal-897e2b5c.js';
|
|
5
5
|
import { z as zonosStore, g as getZonosStoreTheme, d as zonosStoreFontFamily } from './zonosStore-44efd080.js';
|
|
6
6
|
import { h as handleFetch, l as log, s as sendErrorLog, j as jsonParse, g as getIsTestMode, d as allLogs, b as logError, a as getIsStagingMode } from './handleFetch-b4633675.js';
|
|
7
7
|
import { c as createCustomEvent } from './createCustomEvent-58159025.js';
|