@zonos/elements 1.3.59 → 1.3.60
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-edf1ddc0.js → cart-9318a592.js} +6 -4
- package/dist/cjs/{createCustomEvent-512ed4a5.js → createCustomEvent-22ab3823.js} +2 -2
- package/dist/cjs/{getBorderRadius-a6a3b35e.js → getBorderRadius-5a64574c.js} +1 -1
- package/dist/cjs/index.cjs.js +7 -7
- package/dist/cjs/{isDarkColor-7a056d05.js → isDarkColor-5efc8367.js} +1 -1
- package/dist/cjs/{paypal-570085f3.js → paypal-c4c5c59c.js} +3 -3
- package/dist/cjs/zonos-address_8.cjs.entry.js +4 -4
- package/dist/cjs/zonos-badge_13.cjs.entry.js +6 -6
- package/dist/cjs/zonos-banner.cjs.entry.js +1 -1
- package/dist/cjs/zonos-button_3.cjs.entry.js +3 -3
- package/dist/cjs/zonos-card.cjs.entry.js +2 -2
- package/dist/cjs/zonos-checkout.cjs.entry.js +6 -6
- package/dist/cjs/zonos-controller.cjs.entry.js +4 -4
- package/dist/cjs/zonos-country-flag.cjs.entry.js +4 -4
- package/dist/cjs/zonos-country-select_4.cjs.entry.js +4 -4
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +4 -4
- package/dist/cjs/zonos-hello.cjs.entry.js +4 -4
- package/dist/cjs/zonos-input.cjs.entry.js +2 -2
- package/dist/cjs/zonos-language-select_2.cjs.entry.js +4 -4
- package/dist/cjs/zonos-logo.cjs.entry.js +1 -1
- package/dist/cjs/zonos-notification_3.cjs.entry.js +5 -5
- package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +2 -2
- package/dist/cjs/zonos-text.cjs.entry.js +1 -1
- package/dist/cjs/zonos-v-stack.cjs.entry.js +1 -1
- package/dist/cjs/{zonosStore-67139f0e.js → zonosStore-a4395972.js} +7 -4
- package/dist/collection/components/store/hello/localization.js +3 -1
- package/dist/collection/components/store/zonosStore.js +7 -4
- package/dist/collection/types/generated/graphql.customer.types.js +16 -0
- package/dist/esm/{cart-70f3af44.js → cart-9e089cda.js} +6 -4
- package/dist/esm/{createCustomEvent-887a44ea.js → createCustomEvent-a7cec0a2.js} +2 -2
- package/dist/esm/{getBorderRadius-23398fc6.js → getBorderRadius-cff1e39b.js} +1 -1
- package/dist/esm/index.js +7 -7
- package/dist/esm/{isDarkColor-c927f77d.js → isDarkColor-b3afa948.js} +1 -1
- package/dist/esm/{paypal-86eba67d.js → paypal-34af4a06.js} +3 -3
- package/dist/esm/zonos-address_8.entry.js +4 -4
- package/dist/esm/zonos-badge_13.entry.js +6 -6
- package/dist/esm/zonos-banner.entry.js +1 -1
- package/dist/esm/zonos-button_3.entry.js +3 -3
- package/dist/esm/zonos-card.entry.js +2 -2
- package/dist/esm/zonos-checkout.entry.js +6 -6
- package/dist/esm/zonos-controller.entry.js +4 -4
- package/dist/esm/zonos-country-flag.entry.js +4 -4
- package/dist/esm/zonos-country-select_4.entry.js +4 -4
- package/dist/esm/zonos-hello-dialog.entry.js +4 -4
- package/dist/esm/zonos-hello.entry.js +4 -4
- package/dist/esm/zonos-input.entry.js +2 -2
- package/dist/esm/zonos-language-select_2.entry.js +4 -4
- package/dist/esm/zonos-logo.entry.js +1 -1
- package/dist/esm/zonos-notification_3.entry.js +5 -5
- package/dist/esm/zonos-shipping-rich-radio.entry.js +2 -2
- package/dist/esm/zonos-text.entry.js +1 -1
- package/dist/esm/zonos-v-stack.entry.js +1 -1
- package/dist/esm/{zonosStore-473f4654.js → zonosStore-0dc7a947.js} +7 -4
- package/dist/esm-es5/{cart-70f3af44.js → cart-9e089cda.js} +1 -1
- package/dist/esm-es5/{createCustomEvent-887a44ea.js → createCustomEvent-a7cec0a2.js} +1 -1
- package/dist/esm-es5/{getBorderRadius-23398fc6.js → getBorderRadius-cff1e39b.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{isDarkColor-c927f77d.js → isDarkColor-b3afa948.js} +1 -1
- package/dist/esm-es5/{paypal-86eba67d.js → paypal-34af4a06.js} +1 -1
- package/dist/esm-es5/zonos-address_8.entry.js +1 -1
- package/dist/esm-es5/zonos-badge_13.entry.js +1 -1
- package/dist/esm-es5/zonos-banner.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-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-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-logo.entry.js +1 -1
- package/dist/esm-es5/zonos-notification_3.entry.js +1 -1
- package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
- package/dist/esm-es5/zonos-text.entry.js +1 -1
- package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
- package/dist/esm-es5/{zonosStore-473f4654.js → zonosStore-0dc7a947.js} +1 -1
- package/dist/scripts/index.d.ts +1 -0
- package/dist/scripts/index.js +1 -1
- package/dist/scripts/loadZonos.js +1 -1
- package/dist/scripts/zonos.js +1 -1
- package/dist/types/components/store/zonosStore.d.ts +5 -1
- package/dist/types/types/generated/graphql.customer.types.d.ts +25 -5
- package/dist/types/types/generated/graphql.customer.types.ts +29 -5
- package/dist/zonos-elements/assets/RemoveIcon.svg +1 -1
- package/dist/zonos-elements/index.esm.js +1 -1
- package/dist/zonos-elements/{p-7ef2737b.system.entry.js → p-04553c97.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-9dd6b00d.js → p-1086aac3.js} +1 -1
- package/dist/zonos-elements/{p-1c72e53f.system.entry.js → p-19fc5e11.system.entry.js} +1 -1
- package/dist/zonos-elements/p-1ca5696d.js +1 -0
- package/dist/zonos-elements/{p-b0d02c6d.entry.js → p-1dcccfc4.entry.js} +1 -1
- package/dist/zonos-elements/{p-d16e0d7a.system.js → p-1ea34c87.system.js} +2 -2
- package/dist/zonos-elements/{p-c95a8b8f.entry.js → p-2c81d7c0.entry.js} +1 -1
- package/dist/zonos-elements/{p-c27e9d00.entry.js → p-2cd7b878.entry.js} +1 -1
- package/dist/zonos-elements/{p-9c07322c.system.entry.js → p-2eeb7fc4.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-5f7f51bd.entry.js → p-30470eb7.entry.js} +1 -1
- package/dist/zonos-elements/{p-77c2dd5c.entry.js → p-3924ca23.entry.js} +1 -1
- package/dist/zonos-elements/{p-a4309beb.entry.js → p-41f42a5c.entry.js} +1 -1
- package/dist/zonos-elements/p-455b7545.system.js +1 -0
- package/dist/zonos-elements/{p-02e2d953.js → p-5aeab723.js} +1 -1
- package/dist/zonos-elements/{p-75ad3056.entry.js → p-5eb27803.entry.js} +1 -1
- package/dist/zonos-elements/{p-5e32f30b.entry.js → p-61bf769f.entry.js} +1 -1
- package/dist/zonos-elements/{p-89d8c1ad.system.entry.js → p-698f7fd8.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-09b19142.system.entry.js → p-722bcca3.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-f619cb3b.entry.js → p-73e01294.entry.js} +1 -1
- package/dist/zonos-elements/{p-4b59ada6.system.entry.js → p-76faa16f.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-cf9a46e8.entry.js → p-7a4fc640.entry.js} +1 -1
- package/dist/zonos-elements/{p-70bb4a25.entry.js → p-7be7bd28.entry.js} +1 -1
- package/dist/zonos-elements/{p-6dcef5ce.entry.js → p-8894c902.entry.js} +1 -1
- package/dist/zonos-elements/p-8d4e78b1.js +1 -0
- package/dist/zonos-elements/{p-e7870ba2.system.entry.js → p-8edfcbf0.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-29814fd7.system.js → p-91462d96.system.js} +1 -1
- package/dist/zonos-elements/{p-0ac98033.system.js → p-97a99ee5.system.js} +1 -1
- package/dist/zonos-elements/{p-cb912299.system.entry.js → p-9b951ff8.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-0a8e0498.system.js → p-9b9a4320.system.js} +1 -1
- package/dist/zonos-elements/{p-a3547b34.system.entry.js → p-a033685e.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-23a84835.js → p-a1b755bf.js} +1 -1
- package/dist/zonos-elements/{p-cee1293a.system.entry.js → p-a3c1c14c.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-c328aa74.system.entry.js → p-a86d5244.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-a4d627b8.system.entry.js → p-aa8fd7d9.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-2fa0644e.entry.js → p-acae065f.entry.js} +1 -1
- package/dist/zonos-elements/{p-d740b7d1.entry.js → p-b227910d.entry.js} +1 -1
- package/dist/zonos-elements/{p-0b8e2e60.system.entry.js → p-b3ab9695.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-8e8defdc.system.js → p-b74ff880.system.js} +1 -1
- package/dist/zonos-elements/{p-f3811c4c.system.entry.js → p-ba05f1d6.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-4402dc5f.system.entry.js → p-bcb129de.system.entry.js} +1 -1
- package/dist/zonos-elements/p-c78dd680.system.js +1 -1
- package/dist/zonos-elements/{p-ecd6a58a.system.entry.js → p-d56f87ab.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-71c23712.system.entry.js → p-d5bd2da0.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-5a59ed7f.system.entry.js → p-de93cc65.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-6ee0286a.system.js → p-e7e0755f.system.js} +1 -1
- package/dist/zonos-elements/{p-20db26fd.entry.js → p-e9390710.entry.js} +1 -1
- package/dist/zonos-elements/{p-54f66cd1.entry.js → p-f3fc05a8.entry.js} +1 -1
- package/dist/zonos-elements/{p-eb3520e7.entry.js → p-f4765417.entry.js} +1 -1
- package/dist/zonos-elements/{p-8e9dcaa3.entry.js → p-fca6f444.entry.js} +1 -1
- package/dist/zonos-elements/{p-7f0cea76.js → p-fe943837.js} +1 -1
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/package.json +1 -1
- package/dist/zonos-elements/p-a75f5d63.js +0 -1
- package/dist/zonos-elements/p-e97793ce.system.js +0 -1
- package/dist/zonos-elements/p-f05f3e27.js +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const zonosStore = require('./zonosStore-
|
|
3
|
+
const zonosStore = require('./zonosStore-a4395972.js');
|
|
4
4
|
const handleFetch = require('./handleFetch-c0e07666.js');
|
|
5
|
-
const isDarkColor = require('./isDarkColor-
|
|
6
|
-
const getBorderRadius = require('./getBorderRadius-
|
|
5
|
+
const isDarkColor = require('./isDarkColor-5efc8367.js');
|
|
6
|
+
const getBorderRadius = require('./getBorderRadius-5a64574c.js');
|
|
7
7
|
|
|
8
8
|
const stringsArabic = {
|
|
9
9
|
'Above de minimis threshold for': {
|
|
@@ -7655,7 +7655,9 @@ const localizationStoreUpdateSelectedCountryCode = (newSelectedCountryCode) => {
|
|
|
7655
7655
|
const { selectedCountryCode, shippingZoneCountries } = localizationStore;
|
|
7656
7656
|
const isShippableCountry = shippingZoneCountries &&
|
|
7657
7657
|
selectedCountryCode &&
|
|
7658
|
-
!!shippingZoneCountries[selectedCountryCode]
|
|
7658
|
+
!!shippingZoneCountries[selectedCountryCode] &&
|
|
7659
|
+
// Make sure the country is not in the disabled countries list
|
|
7660
|
+
!zonosStore.zonosStore.disabledCountries.includes(selectedCountryCode);
|
|
7659
7661
|
// update shippable country
|
|
7660
7662
|
localizationStore.isShippableCountry = !!isShippableCountry;
|
|
7661
7663
|
handleFetch.log(`${localizationStore.selectedCountryCode} is shippable country: ${localizationStore.isShippableCountry}`);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const cart = require('./cart-
|
|
4
|
-
const zonosStore = require('./zonosStore-
|
|
3
|
+
const cart = require('./cart-9318a592.js');
|
|
4
|
+
const zonosStore = require('./zonosStore-a4395972.js');
|
|
5
5
|
const handleFetch = require('./handleFetch-c0e07666.js');
|
|
6
6
|
|
|
7
7
|
const trackConversionEvent = async (eventName, metadata) => {
|
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -96,7 +96,7 @@ const getZonosQaUrl = () => {
|
|
|
96
96
|
return null;
|
|
97
97
|
}
|
|
98
98
|
const qaUrl = extractZonosQaUrl(window.location.href);
|
|
99
|
-
const cdnUrl = "https://v1.3.
|
|
99
|
+
const cdnUrl = "https://v1.3.60.js.zonos.com";
|
|
100
100
|
// when the qaUrl is not set and the built URL is from the test domain, use the test domain for testing
|
|
101
101
|
if (!qaUrl &&
|
|
102
102
|
(cdnUrl.includes('test.') ||
|
|
@@ -280,10 +280,10 @@ const zonosLoadUrl = (() => {
|
|
|
280
280
|
}
|
|
281
281
|
return null;
|
|
282
282
|
})();
|
|
283
|
-
const ZONOS_URL = "https://v1.3.
|
|
284
|
-
const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.
|
|
285
|
-
const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.
|
|
286
|
-
const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.
|
|
283
|
+
const ZONOS_URL = "https://v1.3.60.js.zonos.com";
|
|
284
|
+
const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.60";
|
|
285
|
+
const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.60";
|
|
286
|
+
const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.60";
|
|
287
287
|
const INTER_FONT_URL = 'https://rsms.me';
|
|
288
288
|
const GOOGLE_FONT_URL = 'https://fonts.googleapis.com';
|
|
289
289
|
const INTER_FONT_REGEX = /^https:\/\/rsms\.me\/inter\/inter\.css(.*)$/;
|
|
@@ -298,14 +298,14 @@ Zonos.zonosConversionTest = typeof window !== 'undefined' &&
|
|
|
298
298
|
!!window.location.search.match(/\?.*(&*)zonosConversionTest/);
|
|
299
299
|
Zonos._paypalMockResponse = null;
|
|
300
300
|
Zonos.isBigCommerce = false;
|
|
301
|
-
Zonos.releaseDate = "
|
|
301
|
+
Zonos.releaseDate = "1727800174950";
|
|
302
302
|
Zonos.isLegacyCheckout = false;
|
|
303
303
|
/**
|
|
304
304
|
* By default, the package will load from npm
|
|
305
305
|
*/
|
|
306
306
|
Zonos.isNpm = true;
|
|
307
307
|
Zonos.zonosQaUrl = null;
|
|
308
|
-
Zonos.version = `v${"1.3.
|
|
308
|
+
Zonos.version = `v${"1.3.60"}`;
|
|
309
309
|
Zonos.modeAlerted = false;
|
|
310
310
|
Zonos.cartData = null;
|
|
311
311
|
Zonos.paypal = null;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const zonosStore = require('./zonosStore-
|
|
4
|
-
const cart = require('./cart-
|
|
3
|
+
const zonosStore = require('./zonosStore-a4395972.js');
|
|
4
|
+
const cart = require('./cart-9318a592.js');
|
|
5
5
|
const handleFetch = require('./handleFetch-c0e07666.js');
|
|
6
|
-
const isDarkColor = require('./isDarkColor-
|
|
6
|
+
const isDarkColor = require('./isDarkColor-5efc8367.js');
|
|
7
7
|
|
|
8
8
|
/*!
|
|
9
9
|
* paypal-js v8.1.0 (2024-06-07T16:55:00.122Z)
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-d56e0a8b.js');
|
|
6
|
-
const cart = require('./cart-
|
|
6
|
+
const cart = require('./cart-9318a592.js');
|
|
7
7
|
const isCheckoutMobile = require('./isCheckoutMobile-f491ca7c.js');
|
|
8
8
|
const handleFetch = require('./handleFetch-c0e07666.js');
|
|
9
9
|
const containsNonLatinChars = require('./containsNonLatinChars-2be5129b.js');
|
|
10
|
-
const zonosStore = require('./zonosStore-
|
|
10
|
+
const zonosStore = require('./zonosStore-a4395972.js');
|
|
11
11
|
const classes = require('./classes-b7918f56.js');
|
|
12
12
|
const RemoveIcon$1 = require('./RemoveIcon-081ac073.js');
|
|
13
|
-
const getBorderRadius = require('./getBorderRadius-
|
|
14
|
-
const isDarkColor = require('./isDarkColor-
|
|
13
|
+
const getBorderRadius = require('./getBorderRadius-5a64574c.js');
|
|
14
|
+
const isDarkColor = require('./isDarkColor-5efc8367.js');
|
|
15
15
|
|
|
16
16
|
const zonosAddressCss = ".sc-zonos-address-h{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}.sc-zonos-address-h *.sc-zonos-address{font-family:var(--font-family, Inter), Inter}.sc-zonos-address-h img.sc-zonos-address{max-width:100%}.sc-zonos-address-h dl.sc-zonos-address,.sc-zonos-address-h dd.sc-zonos-address,.sc-zonos-address-h h1.sc-zonos-address,.sc-zonos-address-h h2.sc-zonos-address,.sc-zonos-address-h h3.sc-zonos-address,.sc-zonos-address-h h4.sc-zonos-address,.sc-zonos-address-h h5.sc-zonos-address,.sc-zonos-address-h h6.sc-zonos-address,.sc-zonos-address-h hr.sc-zonos-address,.sc-zonos-address-h figure.sc-zonos-address,.sc-zonos-address-h p.sc-zonos-address,.sc-zonos-address-h pre.sc-zonos-address{margin:0}.sc-zonos-address-h{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.sc-zonos-address-h .zonos--title.sc-zonos-address{margin-bottom:16px}.sc-zonos-address-h zonos-banner.sc-zonos-address{margin-top:8px}";
|
|
17
17
|
const ZonosAddressStyle0 = zonosAddressCss;
|
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-d56e0a8b.js');
|
|
6
|
-
const zonosStore = require('./zonosStore-
|
|
6
|
+
const zonosStore = require('./zonosStore-a4395972.js');
|
|
7
7
|
const classes = require('./classes-b7918f56.js');
|
|
8
|
-
const cart = require('./cart-
|
|
9
|
-
const paypal = require('./paypal-
|
|
10
|
-
const createCustomEvent = require('./createCustomEvent-
|
|
11
|
-
const getBorderRadius = require('./getBorderRadius-
|
|
8
|
+
const cart = require('./cart-9318a592.js');
|
|
9
|
+
const paypal = require('./paypal-c4c5c59c.js');
|
|
10
|
+
const createCustomEvent = require('./createCustomEvent-22ab3823.js');
|
|
11
|
+
const getBorderRadius = require('./getBorderRadius-5a64574c.js');
|
|
12
12
|
const handleFetch = require('./handleFetch-c0e07666.js');
|
|
13
13
|
const isCheckoutMobile = require('./isCheckoutMobile-f491ca7c.js');
|
|
14
14
|
const ILanguage = require('./ILanguage-98b04442.js');
|
|
15
|
-
const isDarkColor = require('./isDarkColor-
|
|
15
|
+
const isDarkColor = require('./isDarkColor-5efc8367.js');
|
|
16
16
|
const isColorVariable = require('./isColorVariable-6f5a9608.js');
|
|
17
17
|
const containsNonLatinChars = require('./containsNonLatinChars-2be5129b.js');
|
|
18
18
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-d56e0a8b.js');
|
|
6
|
-
const zonosStore = require('./zonosStore-
|
|
6
|
+
const zonosStore = require('./zonosStore-a4395972.js');
|
|
7
7
|
const classes = require('./classes-b7918f56.js');
|
|
8
8
|
|
|
9
9
|
const zonosBannerCss = ":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{border-radius:var(--zonos-elements-radius-10);padding:16px;background:var(--zonos-elements-gray-100)}:host .zonos--container{display:grid;-ms-flex-align:center;align-items:center;grid-template-areas:\"icon header\" \". content\";grid-template-columns:32px auto 0}:host .zonos--icon-wrapper{grid-area:icon;display:-ms-flexbox;display:flex;justify-self:start}:host .zonos--header-wrapper{margin-top:0px;grid-area:header}:host .zonos--content-wrapper{grid-area:content;margin-top:4px}:host(.info){background-color:var(--zonos-elements-blue-100);border:1px solid var(--zonos-elements-blue-200)}:host(.success){background-color:var(--zonos-elements-green-100);border:1px solid var(--zonos-elements-green-200)}:host(.error){background-color:var(--zonos-elements-red-100);border:1px solid var(--zonos-elements-red-200)}:host(.warning){background-color:var(--zonos-elements-orange-100);border:1px solid var(--zonos-elements-orange-200)}";
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-d56e0a8b.js');
|
|
6
|
-
const zonosStore = require('./zonosStore-
|
|
6
|
+
const zonosStore = require('./zonosStore-a4395972.js');
|
|
7
7
|
const classes = require('./classes-b7918f56.js');
|
|
8
|
-
const getBorderRadius = require('./getBorderRadius-
|
|
8
|
+
const getBorderRadius = require('./getBorderRadius-5a64574c.js');
|
|
9
9
|
const isColorVariable = require('./isColorVariable-6f5a9608.js');
|
|
10
|
-
const isDarkColor = require('./isDarkColor-
|
|
10
|
+
const isDarkColor = require('./isDarkColor-5efc8367.js');
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* Get theme for button text based on background color
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-d56e0a8b.js');
|
|
6
|
-
const zonosStore = require('./zonosStore-
|
|
6
|
+
const zonosStore = require('./zonosStore-a4395972.js');
|
|
7
7
|
const classes = require('./classes-b7918f56.js');
|
|
8
|
-
const getBorderRadius = require('./getBorderRadius-
|
|
8
|
+
const getBorderRadius = require('./getBorderRadius-5a64574c.js');
|
|
9
9
|
|
|
10
10
|
const zonosCardCss = ":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 .styled-card{border:var(--zonos-elements-border);border-radius:var(--border-radius, var(--zonos-elements-radius-6));padding:var(--spacing, 24px);text-align:left;background-color:var(--background-color);overflow:hidden}:host .styled-card hr{margin-left:calc(var(--spacing, 24px) * -1);margin-right:calc(var(--spacing, 24px) * -1)}:host .styled-card .card-header{margin:calc(var(--spacing, 24px) * -1);padding:var(--spacing, 24px);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-bottom:var(--spacing, 24px);border-bottom:var(--zonos-elements-border);height:65px;line-height:65px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host .styled-card .card-header h5{margin-bottom:0;-ms-flex:1;flex:1}:host .styled-card .card-footer{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;margin:calc(var(--spacing, 24px) * -1);padding:var(--spacing, 24px);border-top:var(--zonos-elements-border);background:var(--zonos-elements-surface-color-secondary);margin-top:var(--spacing, 24px);border-bottom-left-radius:var(--zonos-elements-radius-8);border-bottom-right-radius:var(--zonos-elements-radius-8);height:var(--footerHeight)}";
|
|
11
11
|
const ZonosCardStyle0 = zonosCardCss;
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-d56e0a8b.js');
|
|
6
|
-
const cart = require('./cart-
|
|
7
|
-
const paypal = require('./paypal-
|
|
8
|
-
const zonosStore = require('./zonosStore-
|
|
9
|
-
const createCustomEvent = require('./createCustomEvent-
|
|
6
|
+
const cart = require('./cart-9318a592.js');
|
|
7
|
+
const paypal = require('./paypal-c4c5c59c.js');
|
|
8
|
+
const zonosStore = require('./zonosStore-a4395972.js');
|
|
9
|
+
const createCustomEvent = require('./createCustomEvent-22ab3823.js');
|
|
10
10
|
const isCheckoutMobile = require('./isCheckoutMobile-f491ca7c.js');
|
|
11
11
|
const handleFetch = require('./handleFetch-c0e07666.js');
|
|
12
12
|
const classes = require('./classes-b7918f56.js');
|
|
13
|
-
const getBorderRadius = require('./getBorderRadius-
|
|
14
|
-
const isDarkColor = require('./isDarkColor-
|
|
13
|
+
const getBorderRadius = require('./getBorderRadius-5a64574c.js');
|
|
14
|
+
const isDarkColor = require('./isDarkColor-5efc8367.js');
|
|
15
15
|
const CheckoutConfig = require('./CheckoutConfig-4d03e084.js');
|
|
16
16
|
const RemoveIcon = require('./RemoveIcon-081ac073.js');
|
|
17
17
|
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-d56e0a8b.js');
|
|
6
|
-
const cart = require('./cart-
|
|
7
|
-
const zonosStore = require('./zonosStore-
|
|
6
|
+
const cart = require('./cart-9318a592.js');
|
|
7
|
+
const zonosStore = require('./zonosStore-a4395972.js');
|
|
8
8
|
const handleFetch = require('./handleFetch-c0e07666.js');
|
|
9
|
-
require('./isDarkColor-
|
|
10
|
-
require('./getBorderRadius-
|
|
9
|
+
require('./isDarkColor-5efc8367.js');
|
|
10
|
+
require('./getBorderRadius-5a64574c.js');
|
|
11
11
|
|
|
12
12
|
const getZonosSettings = async () => {
|
|
13
13
|
const { errors, json, zonosMode } = await handleFetch.handleFetch('/api/zonos-elements/zonos-settings');
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-d56e0a8b.js');
|
|
6
|
-
const cart = require('./cart-
|
|
7
|
-
const zonosStore = require('./zonosStore-
|
|
6
|
+
const cart = require('./cart-9318a592.js');
|
|
7
|
+
const zonosStore = require('./zonosStore-a4395972.js');
|
|
8
8
|
const classes = require('./classes-b7918f56.js');
|
|
9
9
|
require('./handleFetch-c0e07666.js');
|
|
10
|
-
require('./isDarkColor-
|
|
11
|
-
require('./getBorderRadius-
|
|
10
|
+
require('./isDarkColor-5efc8367.js');
|
|
11
|
+
require('./getBorderRadius-5a64574c.js');
|
|
12
12
|
|
|
13
13
|
const zonosCountryFlagCss = ":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:-ms-inline-flexbox;display:inline-flex}:host .flag-container{position:relative;overflow:hidden;width:100%;height:100%}:host .flag-icon{position:absolute;top:0;left:0;width:100%;height:100%;background-position:center;background-repeat:no-repeat;background-size:cover}";
|
|
14
14
|
const ZonosCountryFlagStyle0 = zonosCountryFlagCss;
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-d56e0a8b.js');
|
|
6
|
-
const cart = require('./cart-
|
|
7
|
-
const zonosStore = require('./zonosStore-
|
|
6
|
+
const cart = require('./cart-9318a592.js');
|
|
7
|
+
const zonosStore = require('./zonosStore-a4395972.js');
|
|
8
8
|
const formatStringWithLinks = require('./formatStringWithLinks-52341fc7.js');
|
|
9
|
-
const isDarkColor = require('./isDarkColor-
|
|
9
|
+
const isDarkColor = require('./isDarkColor-5efc8367.js');
|
|
10
10
|
const ILanguage = require('./ILanguage-98b04442.js');
|
|
11
11
|
require('./handleFetch-c0e07666.js');
|
|
12
|
-
require('./getBorderRadius-
|
|
12
|
+
require('./getBorderRadius-5a64574c.js');
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* Fuse.js v7.0.0 - Lightweight fuzzy-search (http://fusejs.io)
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-d56e0a8b.js');
|
|
6
|
-
const cart = require('./cart-
|
|
7
|
-
const zonosStore = require('./zonosStore-
|
|
6
|
+
const cart = require('./cart-9318a592.js');
|
|
7
|
+
const zonosStore = require('./zonosStore-a4395972.js');
|
|
8
8
|
const classes = require('./classes-b7918f56.js');
|
|
9
9
|
const formatStringWithLinks = require('./formatStringWithLinks-52341fc7.js');
|
|
10
10
|
const getHasMoreSpaceOnRight = require('./getHasMoreSpaceOnRight-4c94667f.js');
|
|
11
11
|
require('./handleFetch-c0e07666.js');
|
|
12
|
-
require('./isDarkColor-
|
|
13
|
-
require('./getBorderRadius-
|
|
12
|
+
require('./isDarkColor-5efc8367.js');
|
|
13
|
+
require('./getBorderRadius-5a64574c.js');
|
|
14
14
|
|
|
15
15
|
const getHasMoreSpaceAbove = (ref) => {
|
|
16
16
|
const componentRect = ref.getBoundingClientRect();
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-d56e0a8b.js');
|
|
6
|
-
const zonosStore = require('./zonosStore-
|
|
7
|
-
const cart = require('./cart-
|
|
6
|
+
const zonosStore = require('./zonosStore-a4395972.js');
|
|
7
|
+
const cart = require('./cart-9318a592.js');
|
|
8
8
|
const classes = require('./classes-b7918f56.js');
|
|
9
9
|
const handleFetch = require('./handleFetch-c0e07666.js');
|
|
10
10
|
const getHasMoreSpaceOnRight = require('./getHasMoreSpaceOnRight-4c94667f.js');
|
|
11
|
-
require('./isDarkColor-
|
|
12
|
-
require('./getBorderRadius-
|
|
11
|
+
require('./isDarkColor-5efc8367.js');
|
|
12
|
+
require('./getBorderRadius-5a64574c.js');
|
|
13
13
|
|
|
14
14
|
var root = zonosStore._root;
|
|
15
15
|
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-d56e0a8b.js');
|
|
6
|
-
const zonosStore = require('./zonosStore-
|
|
6
|
+
const zonosStore = require('./zonosStore-a4395972.js');
|
|
7
7
|
const classes = require('./classes-b7918f56.js');
|
|
8
|
-
const getBorderRadius = require('./getBorderRadius-
|
|
8
|
+
const getBorderRadius = require('./getBorderRadius-5a64574c.js');
|
|
9
9
|
|
|
10
10
|
const zonosInputCss = ":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{margin:1px;}:host .zonos--label-wrapper{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;height:100%;width:100%;background:var(--zonos-elements-input-background);border-radius:var(--border-radius);border:var(--zonos-elements-border)}:host .zonos--label-wrapper:hover{border:1px solid var(--zonos-elements-gray-300)}:host .zonos--floated-input{-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;padding:0 16px;outline:none;-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);width:100%;border-radius:var(--border-radius);background:var(--zonos-elements-input-background);border:0;-ms-flex-order:2;order:2;font-weight:500}:host .zonos--floated-input :-internal-autofill-selected{border-radius:var(--zonos-elements-radius-6) 0 0 var(--zonos-elements-radius-6)}:host .zonos--floated-input :-internal-autofill-selected+label+div{background-color:#e8f0fe}:host .zonos--floated-input.has-label{padding:16px 4px 8px 16px}:host .zonos--floated-input.has-label.has-input-prefix{padding-left:0}:host .zonos--floated-input.has-label.has-input-prefix+.zonos--floated-label::before{margin-left:0}:host .zonos--floated-input:not(.has-label)::-webkit-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input:not(.has-label)::-moz-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input:not(.has-label):-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input:not(.has-label)::-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input:not(.has-label)::placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input::-webkit-input-placeholder{-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}:host .zonos--floated-input::-moz-placeholder{-moz-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}:host .zonos--floated-input:-ms-input-placeholder{-ms-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}:host .zonos--floated-input::-ms-input-placeholder{-ms-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}:host .zonos--floated-input::placeholder{-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}:host .zonos--floated-input:focus{outline:none}:host .zonos--floated-input:focus+.zonos--floated-label::after{-webkit-box-shadow:var(--zonos-elements-glow-blue);box-shadow:var(--zonos-elements-glow-blue)}:host .zonos--floated-input.has-error+.zonos--floated-label::after{-webkit-box-shadow:var(--zonos-elements-glow-error);box-shadow:var(--zonos-elements-glow-error)}:host .zonos--floated-input.has-content::-webkit-input-placeholder,:host .zonos--floated-input:focus::-webkit-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input.has-content::-moz-placeholder,:host .zonos--floated-input:focus::-moz-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input.has-content:-ms-input-placeholder,:host .zonos--floated-input:focus:-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input.has-content::-ms-input-placeholder,:host .zonos--floated-input:focus::-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input.has-content::placeholder,:host .zonos--floated-input:focus::placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input.has-content+.zonos--floated-label::before,:host .zonos--floated-input:focus+.zonos--floated-label::before{top:11px;-webkit-transform:scale(0.8);transform:scale(0.8)}:host .zonos--floated-input:-webkit-autofill,:host .zonos--floated-input:-moz-autofill{background-color:var(--zonos-elements-input-background);color:var(--zonos-elements-text-color)}:host .zonos--floated-label{display:block;max-height:0;pointer-events:none;-ms-flex-order:1;order:1}:host .zonos--floated-label::before{content:attr(data-label);color:var(--zonos-elements-gray-800);position:absolute;font-size:var(--zonos-elements-font-size-base);line-height:var(--zonos-elements-font-size-base);display:inline-block;-webkit-filter:blur(0);filter:blur(0);-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);margin-left:16px;top:calc(50% - var(--zonos-elements-font-size-base) / 2);z-index:1}:host .zonos--floated-label::after{content:\"\";position:absolute;left:0;right:0;top:0;bottom:0;border-radius:var(--border-radius)}:host .disabled .zonos--floated-label{pointer-events:inherit}:host .disabled .zonos--floated-label::after{cursor:not-allowed;z-index:1}:host(.sm){height:calc(var(--zonos-elements-size-sm) - 2px)}:host(.sm) .zonos--floated-input.has-label{padding-top:13px;padding-bottom:0}:host(.sm) .zonos--floated-input.has-label:focus+.zonos--floated-label::before,:host(.sm) .zonos--floated-input.has-label.has-content+.zonos--floated-label::before{top:2px}:host(.md){height:calc(var(--zonos-elements-size-md) - 2px)}:host(.md) .zonos--floated-input.has-label{padding-top:20px}:host(.md) .zonos--floated-input.has-label:focus+.zonos--floated-label::before,:host(.md) .zonos--floated-input.has-label.has-content+.zonos--floated-label::before{top:6px}:host(.lg){height:calc(var(--zonos-elements-size-lg) - 2px)}:host(.lg) .zonos--floated-input.has-label:focus+.zonos--floated-label::before,:host(.lg) .zonos--floated-input.has-label.has-content+.zonos--floated-label::before{top:10px}:host(.xl){height:calc(var(--zonos-elements-size-xl) - 2px)}:host(.xl) .zonos--floated-input.has-label{padding-bottom:2px}";
|
|
11
11
|
const ZonosInputStyle0 = zonosInputCss;
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-d56e0a8b.js');
|
|
6
|
-
const cart = require('./cart-
|
|
7
|
-
const zonosStore = require('./zonosStore-
|
|
6
|
+
const cart = require('./cart-9318a592.js');
|
|
7
|
+
const zonosStore = require('./zonosStore-a4395972.js');
|
|
8
8
|
const ILanguage = require('./ILanguage-98b04442.js');
|
|
9
9
|
require('./handleFetch-c0e07666.js');
|
|
10
|
-
require('./isDarkColor-
|
|
11
|
-
require('./getBorderRadius-
|
|
10
|
+
require('./isDarkColor-5efc8367.js');
|
|
11
|
+
require('./getBorderRadius-5a64574c.js');
|
|
12
12
|
|
|
13
13
|
const GreenCheckDuotoneIcon = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
14
14
|
<path d="M7.99996 2.6665C5.05444 2.6665 2.66663 5.05432 2.66663 7.99984C2.66663 10.9454 5.05444 13.3332 7.99996 13.3332C10.9455 13.3332 13.3333 10.9454 13.3333 7.99984C13.3333 5.05432 10.9455 2.6665 7.99996 2.6665Z" fill="#AFF8C3"/>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-d56e0a8b.js');
|
|
6
|
-
const zonosStore = require('./zonosStore-
|
|
6
|
+
const zonosStore = require('./zonosStore-a4395972.js');
|
|
7
7
|
const classes = require('./classes-b7918f56.js');
|
|
8
8
|
|
|
9
9
|
const zonosLogoCss = ":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:-ms-inline-flexbox;display:inline-flex}:host img{-webkit-filter:var(--filter-color);filter:var(--filter-color);width:var(--width)}";
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-d56e0a8b.js');
|
|
6
|
-
const zonosStore = require('./zonosStore-
|
|
6
|
+
const zonosStore = require('./zonosStore-a4395972.js');
|
|
7
7
|
const classes = require('./classes-b7918f56.js');
|
|
8
|
-
const cart = require('./cart-
|
|
8
|
+
const cart = require('./cart-9318a592.js');
|
|
9
9
|
const handleFetch = require('./handleFetch-c0e07666.js');
|
|
10
|
-
const paypal = require('./paypal-
|
|
11
|
-
require('./isDarkColor-
|
|
12
|
-
require('./getBorderRadius-
|
|
10
|
+
const paypal = require('./paypal-c4c5c59c.js');
|
|
11
|
+
require('./isDarkColor-5efc8367.js');
|
|
12
|
+
require('./getBorderRadius-5a64574c.js');
|
|
13
13
|
|
|
14
14
|
const zonosNotificationCss = ":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:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}:host .zonos--notification-items{position:fixed;z-index:9999999999;bottom:24px;gap:8px;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column}:host .zonos--notification-item{cursor:pointer;-webkit-transition:all 0.3s ease;transition:all 0.3s ease;padding:8px;border-radius:var(--border-radius, var(--zonos-elements-radius-6));opacity:0;-ms-flex-negative:0.0001;flex-shrink:0.0001;-webkit-transform:translateY(100%);transform:translateY(100%)}:host .zonos--notification-item+:host .zonos--notification-item{margin-top:8px}:host .zonos--notification-item.show{opacity:1;-webkit-transform:translateY(0);transform:translateY(0);-ms-flex-positive:1000;flex-grow:1000}:host .zonos--notification-item.success{background-color:var(--zonos-elements-green-700)}:host .zonos--notification-item.error{background-color:var(--zonos-elements-red-700)}:host .zonos--notification-item.warning{background-color:var(--zonos-elements-orange-700)}";
|
|
15
15
|
const ZonosNotificationStyle0 = zonosNotificationCss;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-d56e0a8b.js');
|
|
6
|
-
const zonosStore = require('./zonosStore-
|
|
6
|
+
const zonosStore = require('./zonosStore-a4395972.js');
|
|
7
7
|
const classes = require('./classes-b7918f56.js');
|
|
8
|
-
const getBorderRadius = require('./getBorderRadius-
|
|
8
|
+
const getBorderRadius = require('./getBorderRadius-5a64574c.js');
|
|
9
9
|
const isColorVariable = require('./isColorVariable-6f5a9608.js');
|
|
10
10
|
|
|
11
11
|
const zonosShippingRichRadioCss = ":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:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host input{margin:0;accent-color:var(--selected-border-color, var(--zonos-elements-blue-600))}:host .zonos--shipping-rich-radio-item{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;padding:16px;-ms-flex-align:center;align-items:center;gap:16px;cursor:pointer;border:1px solid var(--zonos-elements-gray-200)}:host .zonos--shipping-rich-radio-item:first-child{border-top-left-radius:var(--border-radius, var(--zonos-elements-radius-10));border-top-right-radius:var(--border-radius, var(--zonos-elements-radius-10))}:host .zonos--shipping-rich-radio-item:last-child{border-bottom-right-radius:var(--border-radius, var(--zonos-elements-radius-10));border-bottom-left-radius:var(--border-radius, var(--zonos-elements-radius-10))}:host .zonos--shipping-rich-radio-item:not(:last-child){border-bottom:none}:host .zonos--shipping-rich-radio-item.selected{outline:1px solid var(--selected-border-color, var(--zonos-elements-blue-600));outline-offset:-1px}:host .zonos--shipping-info{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex:1;flex:1}:host .zonos--shipping-detail{-ms-flex:1;flex:1}:host .zonos--sub-detail{display:-ms-inline-flexbox;display:inline-flex;gap:8px;-ms-flex-wrap:wrap;flex-wrap:wrap}";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-d56e0a8b.js');
|
|
6
|
-
const zonosStore = require('./zonosStore-
|
|
6
|
+
const zonosStore = require('./zonosStore-a4395972.js');
|
|
7
7
|
const classes = require('./classes-b7918f56.js');
|
|
8
8
|
const isColorVariable = require('./isColorVariable-6f5a9608.js');
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-d56e0a8b.js');
|
|
6
|
-
const zonosStore = require('./zonosStore-
|
|
6
|
+
const zonosStore = require('./zonosStore-a4395972.js');
|
|
7
7
|
const classes = require('./classes-b7918f56.js');
|
|
8
8
|
|
|
9
9
|
const zonosVStackCss = ":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}";
|
|
@@ -2805,6 +2805,7 @@ const { dispose: zonosStoreDispose, reset, state: zonosStore, } = createStore(()
|
|
|
2805
2805
|
visibilityStatus: 'ENABLED',
|
|
2806
2806
|
},
|
|
2807
2807
|
currentHelloPage: '',
|
|
2808
|
+
disabledCountries: [],
|
|
2808
2809
|
helloSettings: {
|
|
2809
2810
|
anchorElementSelector: '',
|
|
2810
2811
|
cartUrlPattern: '',
|
|
@@ -2860,7 +2861,7 @@ const getZonosStoreTheme = (theme) => {
|
|
|
2860
2861
|
* Init setting from zonos setting
|
|
2861
2862
|
*/
|
|
2862
2863
|
const zonosStoreInitSetting = ({ overrideSettings, zonosSettings, }) => {
|
|
2863
|
-
var _a, _b, _c, _d;
|
|
2864
|
+
var _a, _b, _c, _d, _e;
|
|
2864
2865
|
reset();
|
|
2865
2866
|
if (zonosSettings) {
|
|
2866
2867
|
// save zonos settings to be used later
|
|
@@ -2874,6 +2875,8 @@ const zonosStoreInitSetting = ({ overrideSettings, zonosSettings, }) => {
|
|
|
2874
2875
|
// update theme to user browser preferences
|
|
2875
2876
|
mergedAppearanceConfig.theme = getZonosStoreTheme(mergedAppearanceConfig.theme);
|
|
2876
2877
|
}
|
|
2878
|
+
// CHORE: might not be necessary to default to this
|
|
2879
|
+
zonosStore.disabledCountries = ((_a = zonosSettings === null || zonosSettings === void 0 ? void 0 : zonosSettings.checkoutSettings) === null || _a === void 0 ? void 0 : _a.disabledCountries) || ['US'];
|
|
2877
2880
|
zonosStore.appearance = mergedAppearanceConfig;
|
|
2878
2881
|
zonosStore.checkoutSettings = mergeConfig(zonosStore.checkoutSettings, (savedZonosSettings === null || savedZonosSettings === void 0 ? void 0 : savedZonosSettings.checkoutSettings) ||
|
|
2879
2882
|
(zonosSettings === null || zonosSettings === void 0 ? void 0 : zonosSettings.checkoutSettings) ||
|
|
@@ -2881,9 +2884,9 @@ const zonosStoreInitSetting = ({ overrideSettings, zonosSettings, }) => {
|
|
|
2881
2884
|
zonosStore.helloSettings = mergeConfig(zonosStore.helloSettings, (savedZonosSettings === null || savedZonosSettings === void 0 ? void 0 : savedZonosSettings.helloSettings) || (zonosSettings === null || zonosSettings === void 0 ? void 0 : zonosSettings.helloSettings) || null, overrideSettings === null || overrideSettings === void 0 ? void 0 : overrideSettings.helloSettings);
|
|
2882
2885
|
// set flag to true to indicate that config is ready
|
|
2883
2886
|
zonosStore.loadedConfig = true;
|
|
2884
|
-
zonosStore.organizationId = ((
|
|
2885
|
-
zonosStore.organizationName = ((
|
|
2886
|
-
zonosStore.storeId = ((
|
|
2887
|
+
zonosStore.organizationId = ((_b = zonosSettings === null || zonosSettings === void 0 ? void 0 : zonosSettings.organization) === null || _b === void 0 ? void 0 : _b.id) || '';
|
|
2888
|
+
zonosStore.organizationName = ((_c = zonosSettings === null || zonosSettings === void 0 ? void 0 : zonosSettings.organization) === null || _c === void 0 ? void 0 : _c.name) || '';
|
|
2889
|
+
zonosStore.storeId = ((_e = (_d = zonosSettings === null || zonosSettings === void 0 ? void 0 : zonosSettings.organization) === null || _d === void 0 ? void 0 : _d.references) === null || _e === void 0 ? void 0 : _e.storeId) || null;
|
|
2887
2890
|
zonosStore.currencyConverter = overrideSettings === null || overrideSettings === void 0 ? void 0 : overrideSettings.currencyConverter;
|
|
2888
2891
|
zonosStore.onCountryChange = overrideSettings === null || overrideSettings === void 0 ? void 0 : overrideSettings.onCountryChange;
|
|
2889
2892
|
zonosStore.overrideCurrencyFormat = overrideSettings === null || overrideSettings === void 0 ? void 0 : overrideSettings.overrideCurrencyFormat;
|
|
@@ -114,7 +114,9 @@ const localizationStoreUpdateSelectedCountryCode = (newSelectedCountryCode) => {
|
|
|
114
114
|
const { selectedCountryCode, shippingZoneCountries } = localizationStore;
|
|
115
115
|
const isShippableCountry = shippingZoneCountries &&
|
|
116
116
|
selectedCountryCode &&
|
|
117
|
-
!!shippingZoneCountries[selectedCountryCode]
|
|
117
|
+
!!shippingZoneCountries[selectedCountryCode] &&
|
|
118
|
+
// Make sure the country is not in the disabled countries list
|
|
119
|
+
!zonosStore.disabledCountries.includes(selectedCountryCode);
|
|
118
120
|
// update shippable country
|
|
119
121
|
localizationStore.isShippableCountry = !!isShippableCountry;
|
|
120
122
|
log(`${localizationStore.selectedCountryCode} is shippable country: ${localizationStore.isShippableCountry}`);
|
|
@@ -46,6 +46,7 @@ const { dispose: zonosStoreDispose, reset, state: zonosStore, } = createStore(()
|
|
|
46
46
|
visibilityStatus: 'ENABLED',
|
|
47
47
|
},
|
|
48
48
|
currentHelloPage: '',
|
|
49
|
+
disabledCountries: [],
|
|
49
50
|
helloSettings: {
|
|
50
51
|
anchorElementSelector: '',
|
|
51
52
|
cartUrlPattern: '',
|
|
@@ -101,7 +102,7 @@ const getZonosStoreTheme = (theme) => {
|
|
|
101
102
|
* Init setting from zonos setting
|
|
102
103
|
*/
|
|
103
104
|
const zonosStoreInitSetting = ({ overrideSettings, zonosSettings, }) => {
|
|
104
|
-
var _a, _b, _c, _d;
|
|
105
|
+
var _a, _b, _c, _d, _e;
|
|
105
106
|
reset();
|
|
106
107
|
if (zonosSettings) {
|
|
107
108
|
// save zonos settings to be used later
|
|
@@ -115,6 +116,8 @@ const zonosStoreInitSetting = ({ overrideSettings, zonosSettings, }) => {
|
|
|
115
116
|
// update theme to user browser preferences
|
|
116
117
|
mergedAppearanceConfig.theme = getZonosStoreTheme(mergedAppearanceConfig.theme);
|
|
117
118
|
}
|
|
119
|
+
// CHORE: might not be necessary to default to this
|
|
120
|
+
zonosStore.disabledCountries = ((_a = zonosSettings === null || zonosSettings === void 0 ? void 0 : zonosSettings.checkoutSettings) === null || _a === void 0 ? void 0 : _a.disabledCountries) || ['US'];
|
|
118
121
|
zonosStore.appearance = mergedAppearanceConfig;
|
|
119
122
|
zonosStore.checkoutSettings = mergeConfig(zonosStore.checkoutSettings, (savedZonosSettings === null || savedZonosSettings === void 0 ? void 0 : savedZonosSettings.checkoutSettings) ||
|
|
120
123
|
(zonosSettings === null || zonosSettings === void 0 ? void 0 : zonosSettings.checkoutSettings) ||
|
|
@@ -122,9 +125,9 @@ const zonosStoreInitSetting = ({ overrideSettings, zonosSettings, }) => {
|
|
|
122
125
|
zonosStore.helloSettings = mergeConfig(zonosStore.helloSettings, (savedZonosSettings === null || savedZonosSettings === void 0 ? void 0 : savedZonosSettings.helloSettings) || (zonosSettings === null || zonosSettings === void 0 ? void 0 : zonosSettings.helloSettings) || null, overrideSettings === null || overrideSettings === void 0 ? void 0 : overrideSettings.helloSettings);
|
|
123
126
|
// set flag to true to indicate that config is ready
|
|
124
127
|
zonosStore.loadedConfig = true;
|
|
125
|
-
zonosStore.organizationId = ((
|
|
126
|
-
zonosStore.organizationName = ((
|
|
127
|
-
zonosStore.storeId = ((
|
|
128
|
+
zonosStore.organizationId = ((_b = zonosSettings === null || zonosSettings === void 0 ? void 0 : zonosSettings.organization) === null || _b === void 0 ? void 0 : _b.id) || '';
|
|
129
|
+
zonosStore.organizationName = ((_c = zonosSettings === null || zonosSettings === void 0 ? void 0 : zonosSettings.organization) === null || _c === void 0 ? void 0 : _c.name) || '';
|
|
130
|
+
zonosStore.storeId = ((_e = (_d = zonosSettings === null || zonosSettings === void 0 ? void 0 : zonosSettings.organization) === null || _d === void 0 ? void 0 : _d.references) === null || _e === void 0 ? void 0 : _e.storeId) || null;
|
|
128
131
|
zonosStore.currencyConverter = overrideSettings === null || overrideSettings === void 0 ? void 0 : overrideSettings.currencyConverter;
|
|
129
132
|
zonosStore.onCountryChange = overrideSettings === null || overrideSettings === void 0 ? void 0 : overrideSettings.onCountryChange;
|
|
130
133
|
zonosStore.overrideCurrencyFormat = overrideSettings === null || overrideSettings === void 0 ? void 0 : overrideSettings.overrideCurrencyFormat;
|
|
@@ -59,6 +59,20 @@ export const analyticsProviderType = {
|
|
|
59
59
|
FacebookPixel: 'FACEBOOK_PIXEL',
|
|
60
60
|
GoogleAnalytics: 'GOOGLE_ANALYTICS',
|
|
61
61
|
};
|
|
62
|
+
export const apiUsageRecordStatus = {
|
|
63
|
+
Failed: 'FAILED',
|
|
64
|
+
ManualIntervention: 'MANUAL_INTERVENTION',
|
|
65
|
+
Pending: 'PENDING',
|
|
66
|
+
Processed: 'PROCESSED',
|
|
67
|
+
};
|
|
68
|
+
export const apiUsageRecordType = {
|
|
69
|
+
Classify: 'CLASSIFY',
|
|
70
|
+
DeniedParty: 'DENIED_PARTY',
|
|
71
|
+
LandedCost: 'LANDED_COST',
|
|
72
|
+
OrderComplete: 'ORDER_COMPLETE',
|
|
73
|
+
RestrictedItem: 'RESTRICTED_ITEM',
|
|
74
|
+
ShipmentRating: 'SHIPMENT_RATING',
|
|
75
|
+
};
|
|
62
76
|
export const bankAccountType = {
|
|
63
77
|
Checking: 'CHECKING',
|
|
64
78
|
Savings: 'SAVINGS',
|
|
@@ -1499,6 +1513,7 @@ export const labelStatusType = {
|
|
|
1499
1513
|
export const landedCostAdjustmentType = {
|
|
1500
1514
|
CartTotal: 'CART_TOTAL',
|
|
1501
1515
|
Item: 'ITEM',
|
|
1516
|
+
PromoCode: 'PROMO_CODE',
|
|
1502
1517
|
Shipping: 'SHIPPING',
|
|
1503
1518
|
};
|
|
1504
1519
|
export const landedCostBillingPartyType = {
|
|
@@ -2184,6 +2199,7 @@ export const transitTypeCode = {
|
|
|
2184
2199
|
export const usageRecordTypeCode = {
|
|
2185
2200
|
ApiUsage: 'API_USAGE',
|
|
2186
2201
|
LcgInvoicing: 'LCG_INVOICING',
|
|
2202
|
+
MeterUsage: 'METER_USAGE',
|
|
2187
2203
|
OrderComplete: 'ORDER_COMPLETE',
|
|
2188
2204
|
OrderTransactionInvoicing: 'ORDER_TRANSACTION_INVOICING',
|
|
2189
2205
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as createStore, z as zonosStore } from './zonosStore-
|
|
1
|
+
import { c as createStore, z as zonosStore } from './zonosStore-0dc7a947.js';
|
|
2
2
|
import { h as handleFetch, a as logError, l as log, f as fallbackApiList, j as jsonParse } from './handleFetch-613fbc00.js';
|
|
3
|
-
import { i as isDarkColor } from './isDarkColor-
|
|
4
|
-
import { g as getBorderRadius } from './getBorderRadius-
|
|
3
|
+
import { i as isDarkColor } from './isDarkColor-b3afa948.js';
|
|
4
|
+
import { g as getBorderRadius } from './getBorderRadius-cff1e39b.js';
|
|
5
5
|
|
|
6
6
|
const stringsArabic = {
|
|
7
7
|
'Above de minimis threshold for': {
|
|
@@ -7653,7 +7653,9 @@ const localizationStoreUpdateSelectedCountryCode = (newSelectedCountryCode) => {
|
|
|
7653
7653
|
const { selectedCountryCode, shippingZoneCountries } = localizationStore;
|
|
7654
7654
|
const isShippableCountry = shippingZoneCountries &&
|
|
7655
7655
|
selectedCountryCode &&
|
|
7656
|
-
!!shippingZoneCountries[selectedCountryCode]
|
|
7656
|
+
!!shippingZoneCountries[selectedCountryCode] &&
|
|
7657
|
+
// Make sure the country is not in the disabled countries list
|
|
7658
|
+
!zonosStore.disabledCountries.includes(selectedCountryCode);
|
|
7657
7659
|
// update shippable country
|
|
7658
7660
|
localizationStore.isShippableCountry = !!isShippableCountry;
|
|
7659
7661
|
log(`${localizationStore.selectedCountryCode} is shippable country: ${localizationStore.isShippableCountry}`);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as cartStore, l as localizationStore } from './cart-
|
|
2
|
-
import { z as zonosStore } from './zonosStore-
|
|
1
|
+
import { d as cartStore, l as localizationStore } from './cart-9e089cda.js';
|
|
2
|
+
import { z as zonosStore } from './zonosStore-0dc7a947.js';
|
|
3
3
|
import { h as handleFetch } from './handleFetch-613fbc00.js';
|
|
4
4
|
|
|
5
5
|
const trackConversionEvent = async (eventName, metadata) => {
|