@zonos/elements 1.3.113 → 1.3.115
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-6d966eea.js → cart-95119cd0.js} +19 -25
- package/dist/cjs/{getBorderRadius-53c35cd1.js → getBorderRadius-61ed5601.js} +1 -1
- package/dist/cjs/index.cjs.js +7 -7
- package/dist/cjs/{isDarkColor-87ee1eb7.js → isDarkColor-d206c6fa.js} +1 -1
- package/dist/cjs/{paypal-ae7bd9f2.js → paypal-eb9670e2.js} +3 -3
- package/dist/cjs/zonos-address_7.cjs.entry.js +5 -5
- package/dist/cjs/zonos-badge.cjs.entry.js +1 -1
- 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-cart-items_13.cjs.entry.js +9 -12
- package/dist/cjs/zonos-checkout.cjs.entry.js +19 -7
- package/dist/cjs/zonos-collapse.cjs.entry.js +1 -1
- package/dist/cjs/zonos-controller.cjs.entry.js +27 -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 +5 -5
- 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-toggle.cjs.entry.js +1 -1
- package/dist/cjs/zonos-v-stack.cjs.entry.js +1 -1
- package/dist/cjs/{zonosStore-b18fe6b6.js → zonosStore-e12d459c.js} +1 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +14 -2
- package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.js +3 -6
- package/dist/collection/components/common/zonos-dialog/zonos-dialog.css +1 -1
- package/dist/collection/components/hello/zonos-hello/zonos-hello.js +1 -1
- package/dist/collection/components/store/checkout/stripe.js +2 -10
- package/dist/collection/components/store/zonosStore.js +1 -0
- package/dist/collection/components/utils/api/prepCalculateLandedCost.js +14 -12
- package/dist/collection/components/utils/cleanHtmlMarkdown.js +1 -1
- package/dist/collection/components/utils/hello/initHello.js +23 -0
- package/dist/esm/{cart-89bc298d.js → cart-6f978504.js} +19 -25
- package/dist/esm/{getBorderRadius-e55a9df1.js → getBorderRadius-008516a4.js} +1 -1
- package/dist/esm/index.js +7 -7
- package/dist/esm/{isDarkColor-4261bc3c.js → isDarkColor-dc08fa26.js} +1 -1
- package/dist/esm/{paypal-804a4bcb.js → paypal-ce731a62.js} +3 -3
- package/dist/esm/zonos-address_7.entry.js +5 -5
- package/dist/esm/zonos-badge.entry.js +1 -1
- 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-cart-items_13.entry.js +9 -12
- package/dist/esm/zonos-checkout.entry.js +19 -7
- package/dist/esm/zonos-collapse.entry.js +1 -1
- package/dist/esm/zonos-controller.entry.js +27 -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 +5 -5
- 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-toggle.entry.js +1 -1
- package/dist/esm/zonos-v-stack.entry.js +1 -1
- package/dist/esm/{zonosStore-7798ac16.js → zonosStore-6b5bd87c.js} +1 -0
- package/dist/esm-es5/{cart-89bc298d.js → cart-6f978504.js} +1 -1
- package/dist/esm-es5/{getBorderRadius-e55a9df1.js → getBorderRadius-008516a4.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{isDarkColor-4261bc3c.js → isDarkColor-dc08fa26.js} +1 -1
- package/dist/esm-es5/{paypal-804a4bcb.js → paypal-ce731a62.js} +1 -1
- package/dist/esm-es5/zonos-address_7.entry.js +1 -1
- package/dist/esm-es5/zonos-badge.entry.js +1 -1
- package/dist/esm-es5/zonos-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-cart-items_13.entry.js +1 -1
- package/dist/esm-es5/zonos-checkout.entry.js +1 -1
- package/dist/esm-es5/zonos-collapse.entry.js +1 -1
- package/dist/esm-es5/zonos-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-toggle.entry.js +1 -1
- package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
- package/dist/esm-es5/{zonosStore-7798ac16.js → zonosStore-6b5bd87c.js} +1 -1
- package/dist/scripts/index.d.ts +15 -11
- 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/utils/api/prepCalculateLandedCost.d.ts +1 -1
- package/dist/types/components/utils/cleanHtmlMarkdown.d.ts +1 -1
- package/dist/types/components/utils/hello/initHello.d.ts +1 -0
- package/dist/types/components/utils/mergeConfig.d.ts +1 -1
- package/dist/types/types/checkout/CheckoutConfig.d.ts +7 -11
- package/dist/types/types/hello/HelloConfig.d.ts +8 -0
- package/dist/zonos-elements/assets/RemoveIcon.svg +1 -1
- package/dist/zonos-elements/index.esm.js +1 -1
- package/dist/zonos-elements/{p-15750a04.system.js → p-00dc1507.system.js} +1 -1
- package/dist/zonos-elements/{p-9d7a79e3.entry.js → p-0651fcb2.entry.js} +1 -1
- package/dist/zonos-elements/{p-ad733913.entry.js → p-069a1891.entry.js} +1 -1
- package/dist/zonos-elements/{p-d49cdf77.system.entry.js → p-15d4dccb.system.entry.js} +1 -1
- package/dist/zonos-elements/p-196258ad.system.entry.js +1 -0
- package/dist/zonos-elements/{p-02b1e030.system.entry.js → p-1c6ab0ff.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-e5e63927.system.entry.js → p-20c72ca4.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-0a8b6b4a.system.entry.js → p-2578b7b7.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-7cb4523f.system.entry.js → p-28b79606.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-97114032.js → p-2db740f1.js} +1 -1
- package/dist/zonos-elements/{p-1a0e138c.entry.js → p-352d1b18.entry.js} +1 -1
- package/dist/zonos-elements/{p-1deb01e3.entry.js → p-3e2aa5e2.entry.js} +1 -1
- package/dist/zonos-elements/{p-b34ccbfd.entry.js → p-3e50ba67.entry.js} +1 -1
- package/dist/zonos-elements/{p-d1f334d8.system.entry.js → p-41109a49.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-1605dd48.entry.js → p-434cab4e.entry.js} +1 -1
- package/dist/zonos-elements/{p-31acf417.entry.js → p-438f65db.entry.js} +1 -1
- package/dist/zonos-elements/{p-2aa5575f.entry.js → p-44991bcf.entry.js} +1 -1
- package/dist/zonos-elements/{p-8f9198f2.system.js → p-46395a15.system.js} +1 -1
- package/dist/zonos-elements/{p-007c64dc.system.js → p-491f7d74.system.js} +1 -1
- package/dist/zonos-elements/{p-d0ccf2af.system.entry.js → p-4be91172.system.entry.js} +1 -1
- package/dist/zonos-elements/p-4de83ee5.entry.js +1 -0
- package/dist/zonos-elements/{p-d01cfb8b.system.entry.js → p-4f3a0185.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-55735806.system.entry.js → p-51a6f7b9.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-05d558c2.entry.js → p-5ba975aa.entry.js} +1 -1
- package/dist/zonos-elements/{p-e4a69ce9.system.entry.js → p-5c30289f.system.entry.js} +1 -1
- package/dist/zonos-elements/p-5cbddbe5.entry.js +1 -0
- package/dist/zonos-elements/{p-1769c0d2.entry.js → p-61219278.entry.js} +1 -1
- package/dist/zonos-elements/{p-e559d12d.js → p-67a32cc5.js} +1 -1
- package/dist/zonos-elements/{p-b35e67f7.system.entry.js → p-6951f071.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-fe781493.entry.js → p-793a5064.entry.js} +1 -1
- package/dist/zonos-elements/p-804eaa0a.entry.js +1 -0
- package/dist/zonos-elements/{p-ac97f26c.system.entry.js → p-80733970.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-3c326d01.system.entry.js → p-8a4cf7ec.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-c598b3c5.entry.js → p-909017d9.entry.js} +1 -1
- package/dist/zonos-elements/{p-f20b3656.entry.js → p-910b7ea8.entry.js} +1 -1
- package/dist/zonos-elements/{p-a24da794.js → p-91cfbf46.js} +1 -1
- package/dist/zonos-elements/{p-42d9d3af.system.entry.js → p-92cc93c2.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-f26c4392.entry.js → p-99b3759b.entry.js} +1 -1
- package/dist/zonos-elements/{p-42b0fca8.system.entry.js → p-a1d7f205.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-d3c1ad61.system.entry.js → p-a287f192.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-8e6bbf2c.entry.js → p-a84cca94.entry.js} +1 -1
- package/dist/zonos-elements/{p-0c7d7aec.entry.js → p-b25964f0.entry.js} +1 -1
- package/dist/zonos-elements/p-bd787506.system.entry.js +1 -0
- package/dist/zonos-elements/{p-45214b34.system.entry.js → p-c0343f7e.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-daab619c.system.js → p-c3e98be6.system.js} +1 -1
- package/dist/zonos-elements/{p-ab9af87d.system.entry.js → p-c5a67d85.system.entry.js} +1 -1
- package/dist/zonos-elements/p-c78dd680.system.js +1 -1
- package/dist/zonos-elements/{p-2cce0f21.system.js → p-c85b4e43.system.js} +1 -1
- package/dist/zonos-elements/{p-ed222a50.entry.js → p-ccd96dca.entry.js} +1 -1
- package/dist/zonos-elements/{p-514b42a4.system.entry.js → p-d1a3fa94.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-ead95c3b.entry.js → p-e0a3dc73.entry.js} +1 -1
- package/dist/zonos-elements/{p-032159ed.js → p-e1ce04b1.js} +1 -1
- package/dist/zonos-elements/{p-e132bc3d.js → p-f18ce1da.js} +1 -1
- package/dist/zonos-elements/{p-a7db7ad2.system.js → p-fdffc1ce.system.js} +1 -1
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/package.json +2 -2
- package/dist/zonos-elements/p-1195f857.system.entry.js +0 -1
- package/dist/zonos-elements/p-347c0756.entry.js +0 -1
- package/dist/zonos-elements/p-3cfa837c.entry.js +0 -1
- package/dist/zonos-elements/p-ece0b7ab.system.entry.js +0 -1
- package/dist/zonos-elements/p-ef13397c.entry.js +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const zonosStore = require('./zonosStore-
|
|
3
|
+
const zonosStore = require('./zonosStore-e12d459c.js');
|
|
4
4
|
const handleFetch = require('./handleFetch-aa729c61.js');
|
|
5
|
-
const isDarkColor = require('./isDarkColor-
|
|
6
|
-
const getBorderRadius = require('./getBorderRadius-
|
|
5
|
+
const isDarkColor = require('./isDarkColor-d206c6fa.js');
|
|
6
|
+
const getBorderRadius = require('./getBorderRadius-61ed5601.js');
|
|
7
7
|
|
|
8
8
|
const stringsArabic = {
|
|
9
9
|
' (Duties due at door)': {
|
|
@@ -9087,7 +9087,7 @@ const getTranslatedAddress = ({ currentAddress, translatedAddress, }) => {
|
|
|
9087
9087
|
};
|
|
9088
9088
|
};
|
|
9089
9089
|
/**
|
|
9090
|
-
* Similar to prepCalculateLandedCost except it only uses
|
|
9090
|
+
* Similar to prepCalculateLandedCost except it only uses cart ID
|
|
9091
9091
|
*/
|
|
9092
9092
|
const prepCartCalculateLandedCost = (cartId) => {
|
|
9093
9093
|
var _a;
|
|
@@ -9186,6 +9186,18 @@ const prepCalculateLandedCost = () => {
|
|
|
9186
9186
|
});
|
|
9187
9187
|
const billingFirstName = translatedBillingAddress.name.split(' ')[0] || '';
|
|
9188
9188
|
const billingLastName = translatedBillingAddress.name.split(' ').splice(1).join(' ') || '';
|
|
9189
|
+
const adjustments = cartStore.promoCode
|
|
9190
|
+
? [
|
|
9191
|
+
{
|
|
9192
|
+
amount: 0,
|
|
9193
|
+
productId: null,
|
|
9194
|
+
promoCode: cartStore.promoCode,
|
|
9195
|
+
sku: null,
|
|
9196
|
+
type: 'PROMO_CODE',
|
|
9197
|
+
},
|
|
9198
|
+
...cartStore.adjustments,
|
|
9199
|
+
]
|
|
9200
|
+
: cartStore.adjustments;
|
|
9189
9201
|
return {
|
|
9190
9202
|
billingAddress: {
|
|
9191
9203
|
addressLine1: translatedBillingAddress.line1,
|
|
@@ -9212,17 +9224,7 @@ const prepCalculateLandedCost = () => {
|
|
|
9212
9224
|
phone: translatedShippingAddress.phone,
|
|
9213
9225
|
},
|
|
9214
9226
|
items: cartStore.items,
|
|
9215
|
-
landedCostAdjustments:
|
|
9216
|
-
? [
|
|
9217
|
-
{
|
|
9218
|
-
amount: 0,
|
|
9219
|
-
productId: null,
|
|
9220
|
-
promoCode: cartStore.promoCode,
|
|
9221
|
-
sku: null,
|
|
9222
|
-
type: 'PROMO_CODE',
|
|
9223
|
-
},
|
|
9224
|
-
]
|
|
9225
|
-
: [],
|
|
9227
|
+
landedCostAdjustments: adjustments,
|
|
9226
9228
|
shippingAddress: {
|
|
9227
9229
|
addressLine1: translatedShippingAddress.line1,
|
|
9228
9230
|
addressLine2: translatedShippingAddress.line2,
|
|
@@ -9773,15 +9775,7 @@ const stripeStorePrefetchLandedCost = async (params) => {
|
|
|
9773
9775
|
// prefetch landed cost will not update shipping and taxes since we haven't selected shipping method yet
|
|
9774
9776
|
cartStoreApplySubtotals({
|
|
9775
9777
|
method: (matchLandedCost === null || matchLandedCost === void 0 ? void 0 : matchLandedCost.landedCost.method) || 'DDP',
|
|
9776
|
-
subtotals
|
|
9777
|
-
adjustments: subtotals.adjustments,
|
|
9778
|
-
exchangeRate: subtotals.exchangeRate,
|
|
9779
|
-
items: subtotals.items,
|
|
9780
|
-
landedCostTotal: subtotals.landedCostTotal,
|
|
9781
|
-
presentmentCurrencyCode: subtotals.presentmentCurrencyCode,
|
|
9782
|
-
shipping: subtotals.shipping,
|
|
9783
|
-
total: subtotals.total,
|
|
9784
|
-
},
|
|
9778
|
+
subtotals,
|
|
9785
9779
|
});
|
|
9786
9780
|
}
|
|
9787
9781
|
}
|
|
@@ -10028,7 +10022,7 @@ const stripeStoreInitCheckoutSession = async () => {
|
|
|
10028
10022
|
stripeStore.clientSecret = result.clientSecret;
|
|
10029
10023
|
cartStoreApplySubtotals({
|
|
10030
10024
|
method: ((_b = result.landedCost) === null || _b === void 0 ? void 0 : _b.method) || 'DDP',
|
|
10031
|
-
subtotals:
|
|
10025
|
+
subtotals: result.subtotals,
|
|
10032
10026
|
});
|
|
10033
10027
|
handleFetch.log('Exchange rate updated for cart items (checkout session create)', 'info', cartStore.exchangeRate);
|
|
10034
10028
|
handleFetch.log('done-init-checkout-session');
|
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -97,7 +97,7 @@ const getZonosQaUrl = () => {
|
|
|
97
97
|
return null;
|
|
98
98
|
}
|
|
99
99
|
const qaUrl = extractZonosQaUrl(window.location.href);
|
|
100
|
-
const cdnUrl = "https://v1.3.
|
|
100
|
+
const cdnUrl = "https://v1.3.115.js.zonos.com";
|
|
101
101
|
// when the qaUrl is not set and the built URL is from the test domain, use the test domain for testing
|
|
102
102
|
if (!qaUrl &&
|
|
103
103
|
(cdnUrl.includes('test.') ||
|
|
@@ -281,10 +281,10 @@ const zonosLoadUrl = (() => {
|
|
|
281
281
|
}
|
|
282
282
|
return null;
|
|
283
283
|
})();
|
|
284
|
-
const ZONOS_URL = "https://v1.3.
|
|
285
|
-
const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.
|
|
286
|
-
const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.
|
|
287
|
-
const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.
|
|
284
|
+
const ZONOS_URL = "https://v1.3.115.js.zonos.com";
|
|
285
|
+
const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.115";
|
|
286
|
+
const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.115";
|
|
287
|
+
const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.115";
|
|
288
288
|
const INTER_FONT_URL = 'https://rsms.me';
|
|
289
289
|
const GOOGLE_FONT_URL = 'https://fonts.googleapis.com';
|
|
290
290
|
const INTER_FONT_REGEX = /^https:\/\/rsms\.me\/inter\/inter\.css(.*)$/;
|
|
@@ -299,7 +299,7 @@ Zonos.zonosConversionTest = typeof window !== 'undefined' &&
|
|
|
299
299
|
!!window.location.search.match(/\?.*(&*)zonosConversionTest/);
|
|
300
300
|
Zonos._paypalMockResponse = null;
|
|
301
301
|
Zonos.isBigCommerce = false;
|
|
302
|
-
Zonos.releaseDate = "
|
|
302
|
+
Zonos.releaseDate = "1730743971311";
|
|
303
303
|
Zonos.isLegacyCheckout = false;
|
|
304
304
|
Zonos.showBaseForeign = typeof window !== 'undefined' &&
|
|
305
305
|
window.location.search.includes('zonosShowBaseForeign');
|
|
@@ -309,7 +309,7 @@ Zonos.showBaseForeign = typeof window !== 'undefined' &&
|
|
|
309
309
|
Zonos.isNpm = true;
|
|
310
310
|
Zonos.zonosQaUrl = null;
|
|
311
311
|
Zonos.zonosQaUrlApi = null;
|
|
312
|
-
Zonos.version = `v${"1.3.
|
|
312
|
+
Zonos.version = `v${"1.3.115"}`;
|
|
313
313
|
Zonos.modeAlerted = false;
|
|
314
314
|
Zonos.cartData = null;
|
|
315
315
|
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-e12d459c.js');
|
|
4
|
+
const cart = require('./cart-95119cd0.js');
|
|
5
5
|
const handleFetch = require('./handleFetch-aa729c61.js');
|
|
6
|
-
const isDarkColor = require('./isDarkColor-
|
|
6
|
+
const isDarkColor = require('./isDarkColor-d206c6fa.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-95119cd0.js');
|
|
7
7
|
const isCheckoutMobile = require('./isCheckoutMobile-f491ca7c.js');
|
|
8
8
|
const handleFetch = require('./handleFetch-aa729c61.js');
|
|
9
9
|
const containsNonLatinChars = require('./containsNonLatinChars-2be5129b.js');
|
|
10
|
-
const zonosStore = require('./zonosStore-
|
|
10
|
+
const zonosStore = require('./zonosStore-e12d459c.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-61ed5601.js');
|
|
14
|
+
const isDarkColor = require('./isDarkColor-d206c6fa.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;
|
|
@@ -463,7 +463,7 @@ ZonosCheckbox.style = ZonosCheckboxStyle0;
|
|
|
463
463
|
|
|
464
464
|
const RemoveIcon = `<svg xmlns="https://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path fill="#C5C6CA" fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z" clip-rule="evenodd"/><path fill="#4D505A" fill-rule="evenodd" d="M8.293 8.293a1 1 0 0 1 1.414 0L12 10.586l2.293-2.293a1 1 0 1 1 1.414 1.414L13.414 12l2.293 2.293a1 1 0 0 1-1.414 1.414L12 13.414l-2.293 2.293a1 1 0 0 1-1.414-1.414L10.586 12 8.293 9.707a1 1 0 0 1 0-1.414Z" clip-rule="evenodd"/></svg>`;
|
|
465
465
|
|
|
466
|
-
const zonosDialogCss = ":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 .zonos--backdrop,:host .zonos--dialog-layout{opacity:0;z-index:-999;visibility:hidden;-webkit-transition:0.3s all ease;transition:0.3s all ease}:host .zonos--backdrop{width:100vw;height:100vh;left:0;top:0;background:var(--zonos-elements-backdrop-color);position:fixed}:host .zonos--loading{position:absolute;left:0;right:0;bottom:0;top:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;z-index:2147483009;background:var(--zonos-elements-gray-0);border-radius:var(--border-radius, var(--zonos-elements-radius-10))}:host .zonos--dialog-layout{width:100vw;height:100vh;left:0;top:0;position:
|
|
466
|
+
const zonosDialogCss = ":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 .zonos--backdrop,:host .zonos--dialog-layout{opacity:0;z-index:-999;visibility:hidden;-webkit-transition:0.3s all ease;transition:0.3s all ease}:host .zonos--backdrop{width:100vw;height:100vh;left:0;top:0;background:var(--zonos-elements-backdrop-color);position:fixed}:host .zonos--loading{position:absolute;left:0;right:0;bottom:0;top:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;z-index:2147483009;background:var(--zonos-elements-gray-0);border-radius:var(--border-radius, var(--zonos-elements-radius-10))}:host .zonos--dialog-layout{width:100vw;height:100vh;left:0;top:0;position:absolute;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;color:var(--zonos-elements-text-color);visibility:hidden}:host .zonos--dialog{position:relative;z-index:2147483008;background:var(--zonos-elements-gray-0);max-width:90vw;max-height:90vh;min-height:var(--min-height, auto);height:var(--height, auto);width:var(--width, auto);border-radius:var(--border-radius, var(--zonos-elements-radius-10));outline:none;-webkit-box-shadow:var(--zonos-elements-v3-shadow-xxl);box-shadow:var(--zonos-elements-v3-shadow-xxl);border:var(--zonos-elements-border);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host .zonos--header{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;padding:16px 24px}:host .zonos--header .-zonos-stencil-library--header-text{-ms-flex-positive:1;flex-grow:1}:host .zonos--header .zonos--close-button{width:var(--zonos-elements-size-md);height:var(--zonos-elements-size-md);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;cursor:pointer;border-radius:var(--zonos-elements-radius-10);-ms-flex-item-align:start;align-self:flex-start}:host .zonos--header .zonos--close-button:hover{background:var(--zonos-elements-hover-color)}:host .zonos--body{padding:8px 24px;max-height:100%;height:100%;overflow:auto}:host .zonos--body.zonos--no-body-padding{padding:0}:host .zonos--footer{padding:16px 24px}:host(.open) .zonos--dialog-layout,:host(.open) .zonos--backdrop{visibility:visible}:host(.open) .zonos--backdrop{z-index:2147483008;opacity:0.65}:host(.open) .zonos--dialog-layout{opacity:1;z-index:2147483009;-webkit-transform:scale(1);transform:scale(1)}:host(.no-border) .zonos--dialog{border:none}:host(.mobile) .zonos--dialog{max-width:100vw;max-height:100vh;height:100%;width:100%;border-radius:0;-webkit-box-shadow:none;box-shadow:none;border:none}";
|
|
467
467
|
const ZonosDialogStyle0 = zonosDialogCss;
|
|
468
468
|
|
|
469
469
|
const ZonosDialog = class {
|
|
@@ -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-e12d459c.js');
|
|
7
7
|
const classes = require('./classes-b7918f56.js');
|
|
8
8
|
|
|
9
9
|
const RemoveLineIcon = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
@@ -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-e12d459c.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-e12d459c.js');
|
|
7
7
|
const classes = require('./classes-b7918f56.js');
|
|
8
|
-
const getBorderRadius = require('./getBorderRadius-
|
|
8
|
+
const getBorderRadius = require('./getBorderRadius-61ed5601.js');
|
|
9
9
|
const isColorVariable = require('./isColorVariable-6f5a9608.js');
|
|
10
|
-
const isDarkColor = require('./isDarkColor-
|
|
10
|
+
const isDarkColor = require('./isDarkColor-d206c6fa.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-e12d459c.js');
|
|
7
7
|
const classes = require('./classes-b7918f56.js');
|
|
8
|
-
const getBorderRadius = require('./getBorderRadius-
|
|
8
|
+
const getBorderRadius = require('./getBorderRadius-61ed5601.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,16 +3,16 @@
|
|
|
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-95119cd0.js');
|
|
7
7
|
const classes = require('./classes-b7918f56.js');
|
|
8
|
-
const paypal = require('./paypal-
|
|
9
|
-
const zonosStore = require('./zonosStore-
|
|
8
|
+
const paypal = require('./paypal-eb9670e2.js');
|
|
9
|
+
const zonosStore = require('./zonosStore-e12d459c.js');
|
|
10
10
|
const createCustomEvent = require('./createCustomEvent-3e982e57.js');
|
|
11
|
-
const getBorderRadius = require('./getBorderRadius-
|
|
11
|
+
const getBorderRadius = require('./getBorderRadius-61ed5601.js');
|
|
12
12
|
const handleFetch = require('./handleFetch-aa729c61.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-d206c6fa.js');
|
|
16
16
|
const isColorVariable = require('./isColorVariable-6f5a9608.js');
|
|
17
17
|
const containsNonLatinChars = require('./containsNonLatinChars-2be5129b.js');
|
|
18
18
|
|
|
@@ -1036,7 +1036,7 @@ const turndownService = new TurndownService();
|
|
|
1036
1036
|
* @example
|
|
1037
1037
|
* const htmlInput = "<h1>Hello World</h1><p>This is a paragraph.</p>";
|
|
1038
1038
|
* const result = cleanHtmlMarkdown(htmlInput);
|
|
1039
|
-
* console.
|
|
1039
|
+
* console.info(result); // Outputs cleaned HTML after conversion and processing
|
|
1040
1040
|
*/
|
|
1041
1041
|
const cleanHtmlMarkdown = (htmlString) => {
|
|
1042
1042
|
const mdString = turndownService.turndown(htmlString);
|
|
@@ -2252,10 +2252,7 @@ const ZonosShipping = class {
|
|
|
2252
2252
|
}
|
|
2253
2253
|
this.isSelecting = true;
|
|
2254
2254
|
// save selected shipping option to store
|
|
2255
|
-
|
|
2256
|
-
if (!updateStatus) {
|
|
2257
|
-
return;
|
|
2258
|
-
}
|
|
2255
|
+
await cart.cartStoreUpdateSelectedShippingOption(selectedShippingOption, e.detail.landedCostId);
|
|
2259
2256
|
this.isSelecting = false;
|
|
2260
2257
|
};
|
|
2261
2258
|
this.handleValidate = () => {
|
|
@@ -2402,13 +2399,13 @@ const ZonosShipping = class {
|
|
|
2402
2399
|
if (this.showErrorBanner) {
|
|
2403
2400
|
this.showErrorBanner = !this.handleValidate();
|
|
2404
2401
|
}
|
|
2405
|
-
return (index.h(index.Host, { key: '
|
|
2402
|
+
return (index.h(index.Host, { key: '70176e5f30fc095476ee8ece7032ec0008a17642', class: "zonos--shipping zonos--elements" }, index.h("div", { key: 'a63647ce745b5201237d493d98bfc8f5c7be1eb2', class: "zonos--group" }, index.h("zonos-text", { key: '8e910c5b2f998870edd9716cd6e6b103b8b617ad', class: "zonos--title", type: "semiBoldSubheader" }, cart.translate('Delivery options')), this.showErrorBanner && !!this.serviceLevelsAll.length && (index.h("zonos-banner", { key: 'bb6991ac0beb5f57de5c00fde916936c6d36eb0b', class: "zonos--error-banner", intent: "error" }, cart.translate('No shipping method selected'))), index.h("zonos-text", { key: 'd3635b8079fe184404c48e0e4cfb5f640567d1a0', class: "zonos--shipping-method-title", type: "semiBoldLabel" }, cart.translate('Shipping method')), !this.serviceLevelsAll.length ? (index.h("zonos-banner", { bannerTitle: cart.translate('No shipping methods found - please review and update your address details by selecting the "Customer" tab above. If you continue to encounter issues, contact our support team for assistance.'), class: "zonos--shipping-method-error", intent: "error" })) : (index.h("div", { class: "zonos--shipping-options-wrapper" }, index.h("zonos-shipping-rich-radio", { items: defaultShownServiceLevels, onRadioSelected: e => this.handleRadioSelected(e), selectedItem: this.selectedShippingMethod }), !!defaultShownServiceLevels.length &&
|
|
2406
2403
|
!!this.serviceLevelsDAP.length && (index.h("button", { class: classes.classes([
|
|
2407
2404
|
'zonos--shipping-options-collapse-trigger',
|
|
2408
2405
|
this.collapsedDAPOptions && 'collapsed',
|
|
2409
2406
|
]), onClick: () => {
|
|
2410
2407
|
this.collapsedDAPOptions = !this.collapsedDAPOptions;
|
|
2411
|
-
} }, index.h("div", { class: "zonos--title-wrapper" }, index.h("zonos-text", { type: "label" }, `${cart.translate(this.collapsedDAPOptions ? 'Show non-prepaid options' : 'Hide non-prepaid options')} `), index.h("zonos-icon", { content: ChevronUpIcon })))), index.h("zonos-collapse", { collapsed: this.collapsedDAPOptions }, index.h("div", { class: "zonos--dap-wrapper" }, index.h("zonos-banner", { bannerTitle: cart.translate('Duties and taxes will be charged upon delivery.'), intent: "warning" }, cart.translate('You may incur additional fees from the shipping carrier by not prepaying.')), index.h("zonos-shipping-rich-radio", { items: this.serviceLevelsDAP, onRadioSelected: e => this.handleRadioSelected(e), selectedItem: this.selectedShippingMethod }))))), index.h("div", { key: '
|
|
2408
|
+
} }, index.h("div", { class: "zonos--title-wrapper" }, index.h("zonos-text", { type: "label" }, `${cart.translate(this.collapsedDAPOptions ? 'Show non-prepaid options' : 'Hide non-prepaid options')} `), index.h("zonos-icon", { content: ChevronUpIcon })))), index.h("zonos-collapse", { collapsed: this.collapsedDAPOptions }, index.h("div", { class: "zonos--dap-wrapper" }, index.h("zonos-banner", { bannerTitle: cart.translate('Duties and taxes will be charged upon delivery.'), intent: "warning" }, cart.translate('You may incur additional fees from the shipping carrier by not prepaying.')), index.h("zonos-shipping-rich-radio", { items: this.serviceLevelsDAP, onRadioSelected: e => this.handleRadioSelected(e), selectedItem: this.selectedShippingMethod }))))), index.h("div", { key: '5fdef6f67c68d211220b96dc1ff802fa6159711d', class: "zonos--group-btn" }, index.h("zonos-button", { key: '1d4627bff782561ed545a46a54ef46494b4b2bd6', backgroundColor: this.submitBtnColor, loading: this.continueLoading || this.isSelecting, onClick: () => this.continueClickHandler(), size: "lg",
|
|
2412
2409
|
// use primary type when on mobile mode
|
|
2413
2410
|
variant: this.submitBtnType }, cart.translate('Go to payment'))))));
|
|
2414
2411
|
}
|
|
@@ -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-
|
|
6
|
+
const cart = require('./cart-95119cd0.js');
|
|
7
|
+
const paypal = require('./paypal-eb9670e2.js');
|
|
8
|
+
const zonosStore = require('./zonosStore-e12d459c.js');
|
|
9
9
|
const handleFetch = require('./handleFetch-aa729c61.js');
|
|
10
10
|
const createCustomEvent = require('./createCustomEvent-3e982e57.js');
|
|
11
11
|
const isCheckoutMobile = require('./isCheckoutMobile-f491ca7c.js');
|
|
12
12
|
const classes = require('./classes-b7918f56.js');
|
|
13
|
-
const getBorderRadius = require('./getBorderRadius-
|
|
14
|
-
const isDarkColor = require('./isDarkColor-
|
|
13
|
+
const getBorderRadius = require('./getBorderRadius-61ed5601.js');
|
|
14
|
+
const isDarkColor = require('./isDarkColor-d206c6fa.js');
|
|
15
15
|
const CheckoutConfig = require('./CheckoutConfig-5d7cf0c0.js');
|
|
16
16
|
const RemoveIcon = require('./RemoveIcon-081ac073.js');
|
|
17
17
|
|
|
@@ -390,7 +390,18 @@ const ZonosCheckout = class {
|
|
|
390
390
|
countryCode: cart.localizationStore.selectedCountryCode,
|
|
391
391
|
currencyCode: cart.localizationStore.targetCurrency,
|
|
392
392
|
});
|
|
393
|
-
|
|
393
|
+
// Remove negative line items and move them to adjustments here, this is only for the deprecated `buildCartDetail` where negative line items are just treated as global discount amounts. It is up to the caller to create the right discount line items.
|
|
394
|
+
const cartItemsFiltered = cartItems.filter(item => item.amount >= 0);
|
|
395
|
+
const negativeItems = cartItems.filter(item => item.amount < 0);
|
|
396
|
+
const adjustments = negativeItems.map(item => ({
|
|
397
|
+
amount: item.amount,
|
|
398
|
+
currencyCode: item.currencyCode,
|
|
399
|
+
description: item.name || item.description || '',
|
|
400
|
+
productId: item.productId || null,
|
|
401
|
+
sku: item.sku || null,
|
|
402
|
+
type: 'CART_TOTAL',
|
|
403
|
+
}));
|
|
404
|
+
await cart.cartStoreUpdateItems({ adjustments, cartItems: cartItemsFiltered });
|
|
394
405
|
}
|
|
395
406
|
// if client secret doesn't exist, request a new one.
|
|
396
407
|
if (!cart.stripeStore.clientSecret) {
|
|
@@ -835,6 +846,7 @@ const ZonosCheckout = class {
|
|
|
835
846
|
void this.init();
|
|
836
847
|
this.isMobile = isCheckoutMobile.isCheckoutMobile(this.mobile);
|
|
837
848
|
this.isIframed = window.self !== window.top;
|
|
849
|
+
handleFetch.log(`iframed: ${this.isIframed}`);
|
|
838
850
|
// update theme to browser preference theme if appearance theme is system
|
|
839
851
|
this.handleAppearanceSettingsOverrideChange();
|
|
840
852
|
// listen to selected locale code change
|
|
@@ -861,7 +873,7 @@ const ZonosCheckout = class {
|
|
|
861
873
|
cart.cartStore.step !== 'error' &&
|
|
862
874
|
!cart.stripeStore.stripeElements) ||
|
|
863
875
|
cart.stripeStore.isFetchingSession;
|
|
864
|
-
const { colorPrimary, colorSecondary, logoUrl, style } = zonosStore.mergeConfig(zonosStore.zonosStore.appearance, this.appearanceSettingsOverride);
|
|
876
|
+
const { colorPrimary, colorSecondary, logoUrl, style } = zonosStore.mergeConfig(zonosStore.zonosStore.appearance, this.appearanceSettingsOverride || null);
|
|
865
877
|
const hasFooter = zonosStore.zonosStore.appearance.zonosAttribution === 'ENABLED';
|
|
866
878
|
const rightSideTheme = zonosStore.zonosStore.appearance.theme;
|
|
867
879
|
const themePrimaryColorBased = colorPrimary && isDarkColor.isDarkColor(colorPrimary) ? 'DARK' : 'LIGHT';
|
|
@@ -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-e12d459c.js');
|
|
7
7
|
|
|
8
8
|
const zonosCollapseCss = ":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{-webkit-transition:all 0.3s ease-in-out;transition:all 0.3s ease-in-out;overflow:hidden}:host div{position:relative}:host iframe{width:0;height:100%;position:absolute;top:0;border:0}";
|
|
9
9
|
const ZonosCollapseStyle0 = zonosCollapseCss;
|
|
@@ -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-95119cd0.js');
|
|
7
|
+
const zonosStore = require('./zonosStore-e12d459c.js');
|
|
8
8
|
const handleFetch = require('./handleFetch-aa729c61.js');
|
|
9
|
-
require('./isDarkColor-
|
|
10
|
-
require('./getBorderRadius-
|
|
9
|
+
require('./isDarkColor-d206c6fa.js');
|
|
10
|
+
require('./getBorderRadius-61ed5601.js');
|
|
11
11
|
|
|
12
12
|
const getZonosSettings = async () => {
|
|
13
13
|
const { errors, json, zonosMode } = await handleFetch.handleFetch('/api/zonos-elements/zonos-settings');
|
|
@@ -52,6 +52,20 @@ const injectHelloComponent = (anchorElementSelector) => {
|
|
|
52
52
|
}
|
|
53
53
|
return false;
|
|
54
54
|
};
|
|
55
|
+
const convertPosition = (position) => {
|
|
56
|
+
switch (position) {
|
|
57
|
+
case 'BOTTOM_RIGHT':
|
|
58
|
+
return 'bottom-right';
|
|
59
|
+
case 'BOTTOM_LEFT':
|
|
60
|
+
return 'bottom-left';
|
|
61
|
+
case 'TOP_LEFT':
|
|
62
|
+
return 'top-left';
|
|
63
|
+
case 'TOP_RIGHT':
|
|
64
|
+
return 'top-right';
|
|
65
|
+
default:
|
|
66
|
+
return 'bottom-right';
|
|
67
|
+
}
|
|
68
|
+
};
|
|
55
69
|
/**
|
|
56
70
|
* Injects the hello mobile wrapper to the DOM and returns the anchor element selector
|
|
57
71
|
* @returns anchor element selector
|
|
@@ -127,6 +141,15 @@ const initHello = async (helloSettings) => {
|
|
|
127
141
|
// inject hello to mobile anchor if hello is still not found
|
|
128
142
|
injectHelloComponent(helloAnchor);
|
|
129
143
|
}, 1000);
|
|
144
|
+
setTimeout(() => {
|
|
145
|
+
if (helloSettings.notFoundElementFallback) {
|
|
146
|
+
handleFetch.log(`Hello anchor selector ${helloSettings.anchorElementSelector} not found after 3 seconds, falling back to 'notFoundElementFallback': ${helloSettings.notFoundElementFallback}`, 'info');
|
|
147
|
+
const defaultAnchor = injectDefaultWrapper({
|
|
148
|
+
position: convertPosition(helloSettings.notFoundElementFallback),
|
|
149
|
+
});
|
|
150
|
+
injectHelloComponent(defaultAnchor);
|
|
151
|
+
}
|
|
152
|
+
}, 3000);
|
|
130
153
|
}
|
|
131
154
|
};
|
|
132
155
|
|
|
@@ -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-95119cd0.js');
|
|
7
|
+
const zonosStore = require('./zonosStore-e12d459c.js');
|
|
8
8
|
const classes = require('./classes-b7918f56.js');
|
|
9
9
|
require('./handleFetch-aa729c61.js');
|
|
10
|
-
require('./isDarkColor-
|
|
11
|
-
require('./getBorderRadius-
|
|
10
|
+
require('./isDarkColor-d206c6fa.js');
|
|
11
|
+
require('./getBorderRadius-61ed5601.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-95119cd0.js');
|
|
7
|
+
const zonosStore = require('./zonosStore-e12d459c.js');
|
|
8
8
|
const formatStringWithLinks = require('./formatStringWithLinks-52341fc7.js');
|
|
9
|
-
const isDarkColor = require('./isDarkColor-
|
|
9
|
+
const isDarkColor = require('./isDarkColor-d206c6fa.js');
|
|
10
10
|
const ILanguage = require('./ILanguage-98b04442.js');
|
|
11
11
|
require('./handleFetch-aa729c61.js');
|
|
12
|
-
require('./getBorderRadius-
|
|
12
|
+
require('./getBorderRadius-61ed5601.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-95119cd0.js');
|
|
7
|
+
const zonosStore = require('./zonosStore-e12d459c.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-aa729c61.js');
|
|
12
|
-
require('./isDarkColor-
|
|
13
|
-
require('./getBorderRadius-
|
|
12
|
+
require('./isDarkColor-d206c6fa.js');
|
|
13
|
+
require('./getBorderRadius-61ed5601.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-e12d459c.js');
|
|
7
|
+
const cart = require('./cart-95119cd0.js');
|
|
8
8
|
const classes = require('./classes-b7918f56.js');
|
|
9
9
|
const handleFetch = require('./handleFetch-aa729c61.js');
|
|
10
10
|
const getHasMoreSpaceOnRight = require('./getHasMoreSpaceOnRight-4c94667f.js');
|
|
11
|
-
require('./isDarkColor-
|
|
12
|
-
require('./getBorderRadius-
|
|
11
|
+
require('./isDarkColor-d206c6fa.js');
|
|
12
|
+
require('./getBorderRadius-61ed5601.js');
|
|
13
13
|
|
|
14
14
|
var root = zonosStore._root;
|
|
15
15
|
|
|
@@ -810,7 +810,7 @@ const ZonosHello = class {
|
|
|
810
810
|
}
|
|
811
811
|
const { selectedCountryCode, targetCurrency } = cart.localizationStore;
|
|
812
812
|
const { isOnLeft, isOnTop, shouldFloat } = this.getHelloLocation();
|
|
813
|
-
const appearanceSettings = zonosStore.mergeConfig(zonosStore.zonosStore.appearance, this.appearanceSettingsOverride);
|
|
813
|
+
const appearanceSettings = zonosStore.mergeConfig(zonosStore.zonosStore.appearance, this.appearanceSettingsOverride || null);
|
|
814
814
|
const { theme } = appearanceSettings;
|
|
815
815
|
const restrictedItemsOnPage = (_b = this.allRestrictedItems) === null || _b === void 0 ? void 0 : _b.filter(product => this.productsOnPage.some(restriction => restriction.description === product.itemDescription));
|
|
816
816
|
// The organization name can be changed after init with the updateOrganizationName method.
|
|
@@ -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-e12d459c.js');
|
|
7
7
|
const classes = require('./classes-b7918f56.js');
|
|
8
|
-
const getBorderRadius = require('./getBorderRadius-
|
|
8
|
+
const getBorderRadius = require('./getBorderRadius-61ed5601.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-95119cd0.js');
|
|
7
|
+
const zonosStore = require('./zonosStore-e12d459c.js');
|
|
8
8
|
const ILanguage = require('./ILanguage-98b04442.js');
|
|
9
9
|
require('./handleFetch-aa729c61.js');
|
|
10
|
-
require('./isDarkColor-
|
|
11
|
-
require('./getBorderRadius-
|
|
10
|
+
require('./isDarkColor-d206c6fa.js');
|
|
11
|
+
require('./getBorderRadius-61ed5601.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-e12d459c.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-e12d459c.js');
|
|
7
7
|
const classes = require('./classes-b7918f56.js');
|
|
8
|
-
const cart = require('./cart-
|
|
8
|
+
const cart = require('./cart-95119cd0.js');
|
|
9
9
|
const handleFetch = require('./handleFetch-aa729c61.js');
|
|
10
|
-
const paypal = require('./paypal-
|
|
11
|
-
require('./isDarkColor-
|
|
12
|
-
require('./getBorderRadius-
|
|
10
|
+
const paypal = require('./paypal-eb9670e2.js');
|
|
11
|
+
require('./isDarkColor-d206c6fa.js');
|
|
12
|
+
require('./getBorderRadius-61ed5601.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;
|