@zonos/elements 1.3.11-alpha.2 → 1.3.11-alpha.3
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-b34c001b.js → cart-fcddc0e6.js} +5 -2
- package/dist/cjs/{submitGtag-1f1fbe1c.js → submitGtag-ec6ead54.js} +1 -1
- package/dist/cjs/zonos-address_4.cjs.entry.js +1 -1
- package/dist/cjs/zonos-button_2.cjs.entry.js +1 -1
- package/dist/cjs/zonos-card_2.cjs.entry.js +1 -1
- package/dist/cjs/zonos-cart-items_10.cjs.entry.js +2 -2
- package/dist/cjs/zonos-checkout.cjs.entry.js +2 -2
- package/dist/cjs/zonos-controller.cjs.entry.js +1 -1
- package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -1
- package/dist/cjs/zonos-country-select_3.cjs.entry.js +1 -1
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +1 -1
- package/dist/cjs/zonos-hello.cjs.entry.js +1 -1
- package/dist/cjs/zonos-payment.cjs.entry.js +1 -1
- package/dist/collection/components/common/zonos-button/zonos-button.js +1 -1
- package/dist/collection/components/store/checkout/stripe.js +5 -2
- package/dist/components/stripe.js +5 -2
- package/dist/components/zonos-button2.js +1 -1
- package/dist/esm/{cart-cc09eaef.js → cart-228e1ef7.js} +5 -2
- package/dist/esm/{submitGtag-2eedb117.js → submitGtag-c3727595.js} +1 -1
- package/dist/esm/zonos-address_4.entry.js +1 -1
- package/dist/esm/zonos-button_2.entry.js +1 -1
- package/dist/esm/zonos-card_2.entry.js +1 -1
- package/dist/esm/zonos-cart-items_10.entry.js +2 -2
- package/dist/esm/zonos-checkout.entry.js +2 -2
- package/dist/esm/zonos-controller.entry.js +1 -1
- package/dist/esm/zonos-country-flag.entry.js +1 -1
- package/dist/esm/zonos-country-select_3.entry.js +1 -1
- package/dist/esm/zonos-hello-dialog.entry.js +1 -1
- package/dist/esm/zonos-hello.entry.js +1 -1
- package/dist/esm/zonos-payment.entry.js +1 -1
- package/dist/esm-es5/{cart-cc09eaef.js → cart-228e1ef7.js} +1 -1
- package/dist/esm-es5/{submitGtag-2eedb117.js → submitGtag-c3727595.js} +1 -1
- package/dist/esm-es5/zonos-address_4.entry.js +1 -1
- package/dist/esm-es5/zonos-button_2.entry.js +1 -1
- package/dist/esm-es5/zonos-card_2.entry.js +1 -1
- package/dist/esm-es5/zonos-cart-items_10.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_3.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-payment.entry.js +1 -1
- package/dist/scripts/loadZonos.js +1 -1
- package/dist/scripts/zonos.js +1 -1
- package/dist/scripts/zonosBase.js +1 -1
- package/dist/zonos-elements/{p-6a1b934d.system.entry.js → p-0082c5be.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-9bdcd7b6.entry.js → p-11f1b5fb.entry.js} +1 -1
- package/dist/zonos-elements/{p-7f9889bd.system.entry.js → p-145dd34a.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-b8718429.entry.js → p-14a2824f.entry.js} +1 -1
- package/dist/zonos-elements/{p-e3a3e376.entry.js → p-223d72d8.entry.js} +1 -1
- package/dist/zonos-elements/{p-6bd4b5e6.entry.js → p-30cd191f.entry.js} +1 -1
- package/dist/zonos-elements/{p-1df9ab6a.system.entry.js → p-35c328ba.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-c7f11c60.entry.js → p-397d8268.entry.js} +1 -1
- package/dist/zonos-elements/{p-b4c23bb5.system.entry.js → p-499d7f5d.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-ba5596ae.system.entry.js → p-55940b5a.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-d4222f1f.entry.js → p-5d5c0fbf.entry.js} +1 -1
- package/dist/zonos-elements/{p-5ba91f13.system.entry.js → p-5f6f0581.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-ed597cc9.system.entry.js → p-67ff446b.system.entry.js} +1 -1
- package/dist/zonos-elements/p-6e81adba.system.js +1 -1
- package/dist/zonos-elements/p-770e5b9e.js +1 -0
- package/dist/zonos-elements/{p-a2f71e4f.system.entry.js → p-7ff3a533.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-43022147.entry.js → p-925ae524.entry.js} +1 -1
- package/dist/zonos-elements/{p-0fe52bae.system.entry.js → p-93dafeea.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-ed23a5df.system.js → p-94bbf247.system.js} +1 -1
- package/dist/zonos-elements/{p-55519ef5.system.js → p-960e4021.system.js} +1 -1
- package/dist/zonos-elements/{p-26e8f37a.entry.js → p-ac5aecca.entry.js} +1 -1
- package/dist/zonos-elements/{p-dde4c859.system.entry.js → p-c815e8b4.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-fa3d0aea.js → p-d11b2449.js} +1 -1
- package/dist/zonos-elements/{p-105a2e51.entry.js → p-d31e5fcc.entry.js} +1 -1
- package/dist/zonos-elements/{p-1f54c83e.entry.js → p-db1adc42.entry.js} +1 -1
- package/dist/zonos-elements/{p-425865fd.system.entry.js → p-e5b5cbfd.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-9a1db995.entry.js → p-fe8de89b.entry.js} +1 -1
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/package.json +1 -1
- package/dist/zonos-elements/p-beba218e.js +0 -1
|
@@ -4766,15 +4766,18 @@ const stripeStoreRetrievePayment = async ({ clientSecret: _clientSecret, storybo
|
|
|
4766
4766
|
};
|
|
4767
4767
|
};
|
|
4768
4768
|
const stripeStoreConfirmPayment = async () => {
|
|
4769
|
-
var _a, _b, _c;
|
|
4769
|
+
var _a, _b, _c, _d;
|
|
4770
4770
|
const stripePaymentReady = !!((_a = stripeStore.stripePaymentEventData) === null || _a === void 0 ? void 0 : _a.complete);
|
|
4771
4771
|
const stripeElements = stripeStore.stripeElements;
|
|
4772
4772
|
const stripe = stripeStore.stripe;
|
|
4773
4773
|
const stripeClientSecret = stripeStore.clientSecret;
|
|
4774
|
+
if (!((_b = cartStore.selectedLandedCost) === null || _b === void 0 ? void 0 : _b.landedCost.id)) {
|
|
4775
|
+
throw new Error('Attemped to confirm the payment when no landed cost is found in store');
|
|
4776
|
+
}
|
|
4774
4777
|
if (stripe && stripeElements && stripePaymentReady && stripeClientSecret) {
|
|
4775
4778
|
const { error } = await stripe.confirmPayment({
|
|
4776
4779
|
confirmParams: {
|
|
4777
|
-
receipt_email: (
|
|
4780
|
+
receipt_email: (_d = (_c = stripeStore.stripeLinkEventData) === null || _c === void 0 ? void 0 : _c.value) === null || _d === void 0 ? void 0 : _d.email,
|
|
4778
4781
|
return_url: window.location.href,
|
|
4779
4782
|
},
|
|
4780
4783
|
elements: stripeElements,
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-564fe383.js');
|
|
6
|
-
const cart = require('./cart-
|
|
6
|
+
const cart = require('./cart-fcddc0e6.js');
|
|
7
7
|
const zonosStore = require('./zonosStore-bd2a0c59.js');
|
|
8
8
|
const isCheckoutMobile = require('./isCheckoutMobile-f491ca7c.js');
|
|
9
9
|
const classes = require('./classes-b7918f56.js');
|
|
@@ -95,7 +95,7 @@ const ZonosButton = class {
|
|
|
95
95
|
// only set theme for button to change text color if variant is standard and override background is set
|
|
96
96
|
const buttonTheme = variant === 'standard' ? getButtonTheme(overrideBackground) : undefined;
|
|
97
97
|
const borderStyle = getBorderRadius.getBorderRadius(this.borderStyle);
|
|
98
|
-
const spinnerColor = buttonTheme === 'LIGHT' ? '
|
|
98
|
+
const spinnerColor = buttonTheme === 'LIGHT' ? 'white' : 'black';
|
|
99
99
|
return (index.h(index.Host, { key: '75f5e6900c6e0eb468ea639460d55f251b580200', class: classes.classes(['zonos--elements']), "data-theme": this.theme || buttonTheme, disabled: disabled, style: styles({
|
|
100
100
|
'--background-color': overrideBackground,
|
|
101
101
|
'--border-radius': borderStyle,
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-564fe383.js');
|
|
6
6
|
const zonosStore = require('./zonosStore-bd2a0c59.js');
|
|
7
7
|
const classes = require('./classes-b7918f56.js');
|
|
8
|
-
const cart = require('./cart-
|
|
8
|
+
const cart = require('./cart-fcddc0e6.js');
|
|
9
9
|
const ILanguage = require('./ILanguage-d247b45b.js');
|
|
10
10
|
require('./isDarkColor-7faf0a82.js');
|
|
11
11
|
require('./getBorderRadius-4fa738c3.js');
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-564fe383.js');
|
|
6
|
-
const cart = require('./cart-
|
|
6
|
+
const cart = require('./cart-fcddc0e6.js');
|
|
7
7
|
const zonosStore = require('./zonosStore-bd2a0c59.js');
|
|
8
|
-
const submitGtag = require('./submitGtag-
|
|
8
|
+
const submitGtag = require('./submitGtag-ec6ead54.js');
|
|
9
9
|
const getBorderRadius = require('./getBorderRadius-4fa738c3.js');
|
|
10
10
|
const isCheckoutMobile = require('./isCheckoutMobile-f491ca7c.js');
|
|
11
11
|
const classes = require('./classes-b7918f56.js');
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-564fe383.js');
|
|
6
|
-
const cart = require('./cart-
|
|
6
|
+
const cart = require('./cart-fcddc0e6.js');
|
|
7
7
|
const zonosStore = require('./zonosStore-bd2a0c59.js');
|
|
8
|
-
const submitGtag = require('./submitGtag-
|
|
8
|
+
const submitGtag = require('./submitGtag-ec6ead54.js');
|
|
9
9
|
const isCheckoutMobile = require('./isCheckoutMobile-f491ca7c.js');
|
|
10
10
|
const classes = require('./classes-b7918f56.js');
|
|
11
11
|
const getBorderRadius = require('./getBorderRadius-4fa738c3.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-564fe383.js');
|
|
6
|
-
const cart = require('./cart-
|
|
6
|
+
const cart = require('./cart-fcddc0e6.js');
|
|
7
7
|
const zonosStore = require('./zonosStore-bd2a0c59.js');
|
|
8
8
|
require('./isDarkColor-7faf0a82.js');
|
|
9
9
|
require('./getBorderRadius-4fa738c3.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-564fe383.js');
|
|
6
|
-
const cart = require('./cart-
|
|
6
|
+
const cart = require('./cart-fcddc0e6.js');
|
|
7
7
|
const zonosStore = require('./zonosStore-bd2a0c59.js');
|
|
8
8
|
const classes = require('./classes-b7918f56.js');
|
|
9
9
|
require('./isDarkColor-7faf0a82.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-564fe383.js');
|
|
6
|
-
const cart = require('./cart-
|
|
6
|
+
const cart = require('./cart-fcddc0e6.js');
|
|
7
7
|
const zonosStore = require('./zonosStore-bd2a0c59.js');
|
|
8
8
|
const formatStringWithLinks = require('./formatStringWithLinks-52341fc7.js');
|
|
9
9
|
const isDarkColor = require('./isDarkColor-7faf0a82.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-564fe383.js');
|
|
6
|
-
const cart = require('./cart-
|
|
6
|
+
const cart = require('./cart-fcddc0e6.js');
|
|
7
7
|
const zonosStore = require('./zonosStore-bd2a0c59.js');
|
|
8
8
|
const classes = require('./classes-b7918f56.js');
|
|
9
9
|
const formatStringWithLinks = require('./formatStringWithLinks-52341fc7.js');
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-564fe383.js');
|
|
6
6
|
const zonosStore = require('./zonosStore-bd2a0c59.js');
|
|
7
|
-
const cart = require('./cart-
|
|
7
|
+
const cart = require('./cart-fcddc0e6.js');
|
|
8
8
|
const classes = require('./classes-b7918f56.js');
|
|
9
9
|
const getHasMoreSpaceOnRight = require('./getHasMoreSpaceOnRight-4c94667f.js');
|
|
10
10
|
require('./isDarkColor-7faf0a82.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-564fe383.js');
|
|
6
|
-
const cart = require('./cart-
|
|
6
|
+
const cart = require('./cart-fcddc0e6.js');
|
|
7
7
|
require('./zonosStore-bd2a0c59.js');
|
|
8
8
|
require('./isDarkColor-7faf0a82.js');
|
|
9
9
|
require('./getBorderRadius-4fa738c3.js');
|
|
@@ -60,7 +60,7 @@ export class ZonosButton {
|
|
|
60
60
|
// only set theme for button to change text color if variant is standard and override background is set
|
|
61
61
|
const buttonTheme = variant === 'standard' ? getButtonTheme(overrideBackground) : undefined;
|
|
62
62
|
const borderStyle = getBorderRadius(this.borderStyle);
|
|
63
|
-
const spinnerColor = buttonTheme === 'LIGHT' ? '
|
|
63
|
+
const spinnerColor = buttonTheme === 'LIGHT' ? 'white' : 'black';
|
|
64
64
|
return (h(Host, { key: '75f5e6900c6e0eb468ea639460d55f251b580200', class: classes(['zonos--elements']), "data-theme": this.theme || buttonTheme, disabled: disabled, style: styles({
|
|
65
65
|
'--background-color': overrideBackground,
|
|
66
66
|
'--border-radius': borderStyle,
|
|
@@ -270,15 +270,18 @@ const stripeStoreRetrievePayment = async ({ clientSecret: _clientSecret, storybo
|
|
|
270
270
|
};
|
|
271
271
|
};
|
|
272
272
|
const stripeStoreConfirmPayment = async () => {
|
|
273
|
-
var _a, _b, _c;
|
|
273
|
+
var _a, _b, _c, _d;
|
|
274
274
|
const stripePaymentReady = !!((_a = stripeStore.stripePaymentEventData) === null || _a === void 0 ? void 0 : _a.complete);
|
|
275
275
|
const stripeElements = stripeStore.stripeElements;
|
|
276
276
|
const stripe = stripeStore.stripe;
|
|
277
277
|
const stripeClientSecret = stripeStore.clientSecret;
|
|
278
|
+
if (!((_b = cartStore.selectedLandedCost) === null || _b === void 0 ? void 0 : _b.landedCost.id)) {
|
|
279
|
+
throw new Error('Attemped to confirm the payment when no landed cost is found in store');
|
|
280
|
+
}
|
|
278
281
|
if (stripe && stripeElements && stripePaymentReady && stripeClientSecret) {
|
|
279
282
|
const { error } = await stripe.confirmPayment({
|
|
280
283
|
confirmParams: {
|
|
281
|
-
receipt_email: (
|
|
284
|
+
receipt_email: (_d = (_c = stripeStore.stripeLinkEventData) === null || _c === void 0 ? void 0 : _c.value) === null || _d === void 0 ? void 0 : _d.email,
|
|
282
285
|
return_url: window.location.href,
|
|
283
286
|
},
|
|
284
287
|
elements: stripeElements,
|
|
@@ -4981,15 +4981,18 @@ const stripeStoreRetrievePayment = async ({ clientSecret: _clientSecret, storybo
|
|
|
4981
4981
|
};
|
|
4982
4982
|
};
|
|
4983
4983
|
const stripeStoreConfirmPayment = async () => {
|
|
4984
|
-
var _a, _b, _c;
|
|
4984
|
+
var _a, _b, _c, _d;
|
|
4985
4985
|
const stripePaymentReady = !!((_a = stripeStore.stripePaymentEventData) === null || _a === void 0 ? void 0 : _a.complete);
|
|
4986
4986
|
const stripeElements = stripeStore.stripeElements;
|
|
4987
4987
|
const stripe = stripeStore.stripe;
|
|
4988
4988
|
const stripeClientSecret = stripeStore.clientSecret;
|
|
4989
|
+
if (!((_b = cartStore.selectedLandedCost) === null || _b === void 0 ? void 0 : _b.landedCost.id)) {
|
|
4990
|
+
throw new Error('Attemped to confirm the payment when no landed cost is found in store');
|
|
4991
|
+
}
|
|
4989
4992
|
if (stripe && stripeElements && stripePaymentReady && stripeClientSecret) {
|
|
4990
4993
|
const { error } = await stripe.confirmPayment({
|
|
4991
4994
|
confirmParams: {
|
|
4992
|
-
receipt_email: (
|
|
4995
|
+
receipt_email: (_d = (_c = stripeStore.stripeLinkEventData) === null || _c === void 0 ? void 0 : _c.value) === null || _d === void 0 ? void 0 : _d.email,
|
|
4993
4996
|
return_url: window.location.href,
|
|
4994
4997
|
},
|
|
4995
4998
|
elements: stripeElements,
|
|
@@ -94,7 +94,7 @@ const ZonosButton = /*@__PURE__*/ proxyCustomElement(class ZonosButton extends H
|
|
|
94
94
|
// only set theme for button to change text color if variant is standard and override background is set
|
|
95
95
|
const buttonTheme = variant === 'standard' ? getButtonTheme(overrideBackground) : undefined;
|
|
96
96
|
const borderStyle = getBorderRadius(this.borderStyle);
|
|
97
|
-
const spinnerColor = buttonTheme === 'LIGHT' ? '
|
|
97
|
+
const spinnerColor = buttonTheme === 'LIGHT' ? 'white' : 'black';
|
|
98
98
|
return (h(Host, { key: '75f5e6900c6e0eb468ea639460d55f251b580200', class: classes(['zonos--elements']), "data-theme": this.theme || buttonTheme, disabled: disabled, style: styles({
|
|
99
99
|
'--background-color': overrideBackground,
|
|
100
100
|
'--border-radius': borderStyle,
|
|
@@ -4764,15 +4764,18 @@ const stripeStoreRetrievePayment = async ({ clientSecret: _clientSecret, storybo
|
|
|
4764
4764
|
};
|
|
4765
4765
|
};
|
|
4766
4766
|
const stripeStoreConfirmPayment = async () => {
|
|
4767
|
-
var _a, _b, _c;
|
|
4767
|
+
var _a, _b, _c, _d;
|
|
4768
4768
|
const stripePaymentReady = !!((_a = stripeStore.stripePaymentEventData) === null || _a === void 0 ? void 0 : _a.complete);
|
|
4769
4769
|
const stripeElements = stripeStore.stripeElements;
|
|
4770
4770
|
const stripe = stripeStore.stripe;
|
|
4771
4771
|
const stripeClientSecret = stripeStore.clientSecret;
|
|
4772
|
+
if (!((_b = cartStore.selectedLandedCost) === null || _b === void 0 ? void 0 : _b.landedCost.id)) {
|
|
4773
|
+
throw new Error('Attemped to confirm the payment when no landed cost is found in store');
|
|
4774
|
+
}
|
|
4772
4775
|
if (stripe && stripeElements && stripePaymentReady && stripeClientSecret) {
|
|
4773
4776
|
const { error } = await stripe.confirmPayment({
|
|
4774
4777
|
confirmParams: {
|
|
4775
|
-
receipt_email: (
|
|
4778
|
+
receipt_email: (_d = (_c = stripeStore.stripeLinkEventData) === null || _c === void 0 ? void 0 : _c.value) === null || _d === void 0 ? void 0 : _d.email,
|
|
4776
4779
|
return_url: window.location.href,
|
|
4777
4780
|
},
|
|
4778
4781
|
elements: stripeElements,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as handleFetch, l as localizationStore, a as log } from './cart-
|
|
1
|
+
import { r as handleFetch, l as localizationStore, a as log } from './cart-228e1ef7.js';
|
|
2
2
|
import { z as zonosStore } from './zonosStore-c4c45591.js';
|
|
3
3
|
|
|
4
4
|
const trackConversionEvent = async (eventName, metadata) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, d as getElement } from './index-dd40cc85.js';
|
|
2
|
-
import { j as stripeStore, d as logError, l as localizationStore, t as translate, n as stripeStorePrefetchLandedCost } from './cart-
|
|
2
|
+
import { j as stripeStore, d as logError, l as localizationStore, t as translate, n as stripeStorePrefetchLandedCost } from './cart-228e1ef7.js';
|
|
3
3
|
import { z as zonosStore, d as zonosStoreFontFamily } from './zonosStore-c4c45591.js';
|
|
4
4
|
import { i as isCheckoutMobile } from './isCheckoutMobile-8846dccb.js';
|
|
5
5
|
import { c as classes } from './classes-0d95c529.js';
|
|
@@ -91,7 +91,7 @@ const ZonosButton = class {
|
|
|
91
91
|
// only set theme for button to change text color if variant is standard and override background is set
|
|
92
92
|
const buttonTheme = variant === 'standard' ? getButtonTheme(overrideBackground) : undefined;
|
|
93
93
|
const borderStyle = getBorderRadius(this.borderStyle);
|
|
94
|
-
const spinnerColor = buttonTheme === 'LIGHT' ? '
|
|
94
|
+
const spinnerColor = buttonTheme === 'LIGHT' ? 'white' : 'black';
|
|
95
95
|
return (h(Host, { key: '75f5e6900c6e0eb468ea639460d55f251b580200', class: classes(['zonos--elements']), "data-theme": this.theme || buttonTheme, disabled: disabled, style: styles({
|
|
96
96
|
'--background-color': overrideBackground,
|
|
97
97
|
'--border-radius': borderStyle,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host } from './index-dd40cc85.js';
|
|
2
2
|
import { d as zonosStoreFontFamily } from './zonosStore-c4c45591.js';
|
|
3
3
|
import { c as classes } from './classes-0d95c529.js';
|
|
4
|
-
import { F as localizationStoreUpdateSelectedLocale, t as translate, l as localizationStore } from './cart-
|
|
4
|
+
import { F as localizationStoreUpdateSelectedLocale, t as translate, l as localizationStore } from './cart-228e1ef7.js';
|
|
5
5
|
import { l as languages } from './ILanguage-97790bee.js';
|
|
6
6
|
import './isDarkColor-6bf71e51.js';
|
|
7
7
|
import './getBorderRadius-a89e45fb.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, a as getAssetPath, h, H as Host, F as Fragment, c as createEvent, d as getElement } from './index-dd40cc85.js';
|
|
2
|
-
import { f as cartStore, t as translate, r as handleFetch, q as stripeStoreReset, j as stripeStore, C as stripeStoreRetrievePayment, l as localizationStore, D as cartStoreUpdateSelectedShippingOption, E as cartStoreGetShippingTransitInfo } from './cart-
|
|
2
|
+
import { f as cartStore, t as translate, r as handleFetch, q as stripeStoreReset, j as stripeStore, C as stripeStoreRetrievePayment, l as localizationStore, D as cartStoreUpdateSelectedShippingOption, E as cartStoreGetShippingTransitInfo } from './cart-228e1ef7.js';
|
|
3
3
|
import { z as zonosStore, d as zonosStoreFontFamily } from './zonosStore-c4c45591.js';
|
|
4
|
-
import { t as trackConversionEvent, s as sendErrorLog, a as submitGtag, c as createCustomEvent } from './submitGtag-
|
|
4
|
+
import { t as trackConversionEvent, s as sendErrorLog, a as submitGtag, c as createCustomEvent } from './submitGtag-c3727595.js';
|
|
5
5
|
import { g as getBorderRadius } from './getBorderRadius-a89e45fb.js';
|
|
6
6
|
import { i as isCheckoutMobile } from './isCheckoutMobile-8846dccb.js';
|
|
7
7
|
import { c as classes } from './classes-0d95c529.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h, F as Fragment, H as Host } from './index-dd40cc85.js';
|
|
2
|
-
import { l as localizationStore, a as log, s as stripeStoreGetDomesticShippingSession, b as localizationStoreUpdateSelectedCountryCode, c as stripeStoreCleanupDomesticShippingSession, d as logError, e as stripeStoreSaveDomesticShippingSession, i as initStripeElements, f as cartStore, g as cartStoreUpdateItems, h as cartStoreReset, j as stripeStore, k as stripeStoreInitCheckoutSession, m as cartStoreUpdateToErrorState, n as stripeStorePrefetchLandedCost, o as cartStoreNextStep, p as stripeStoreConfirmPayment, q as stripeStoreReset, t as translate } from './cart-
|
|
2
|
+
import { l as localizationStore, a as log, s as stripeStoreGetDomesticShippingSession, b as localizationStoreUpdateSelectedCountryCode, c as stripeStoreCleanupDomesticShippingSession, d as logError, e as stripeStoreSaveDomesticShippingSession, i as initStripeElements, f as cartStore, g as cartStoreUpdateItems, h as cartStoreReset, j as stripeStore, k as stripeStoreInitCheckoutSession, m as cartStoreUpdateToErrorState, n as stripeStorePrefetchLandedCost, o as cartStoreNextStep, p as stripeStoreConfirmPayment, q as stripeStoreReset, t as translate } from './cart-228e1ef7.js';
|
|
3
3
|
import { z as zonosStore, g as getZonosStoreTheme, m as mergeConfig } from './zonosStore-c4c45591.js';
|
|
4
|
-
import { c as createCustomEvent, s as sendErrorLog, a as submitGtag, t as trackConversionEvent } from './submitGtag-
|
|
4
|
+
import { c as createCustomEvent, s as sendErrorLog, a as submitGtag, t as trackConversionEvent } from './submitGtag-c3727595.js';
|
|
5
5
|
import { i as isCheckoutMobile } from './isCheckoutMobile-8846dccb.js';
|
|
6
6
|
import { c as classes } from './classes-0d95c529.js';
|
|
7
7
|
import { g as getBorderRadius } from './getBorderRadius-a89e45fb.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-dd40cc85.js';
|
|
2
|
-
import { r as handleFetch, d as logError, u as isValidSelector, a as log, j as stripeStore, v as initLocalizationStore, b as localizationStoreUpdateSelectedCountryCode } from './cart-
|
|
2
|
+
import { r as handleFetch, d as logError, u as isValidSelector, a as log, j as stripeStore, v as initLocalizationStore, b as localizationStoreUpdateSelectedCountryCode } from './cart-228e1ef7.js';
|
|
3
3
|
import { z as zonosStore, b as zonosStoreInitSetting, d as zonosStoreFontFamily } from './zonosStore-c4c45591.js';
|
|
4
4
|
import './isDarkColor-6bf71e51.js';
|
|
5
5
|
import './getBorderRadius-a89e45fb.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, d as getElement } from './index-dd40cc85.js';
|
|
2
|
-
import { l as localizationStore } from './cart-
|
|
2
|
+
import { l as localizationStore } from './cart-228e1ef7.js';
|
|
3
3
|
import { d as zonosStoreFontFamily } from './zonosStore-c4c45591.js';
|
|
4
4
|
import { c as classes } from './classes-0d95c529.js';
|
|
5
5
|
import './isDarkColor-6bf71e51.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, d as getElement } from './index-dd40cc85.js';
|
|
2
|
-
import { b as localizationStoreUpdateSelectedCountryCode, l as localizationStore } from './cart-
|
|
2
|
+
import { b as localizationStoreUpdateSelectedCountryCode, l as localizationStore } from './cart-228e1ef7.js';
|
|
3
3
|
import { d as zonosStoreFontFamily } from './zonosStore-c4c45591.js';
|
|
4
4
|
import { f as formatStringWithLinks } from './formatStringWithLinks-9e819405.js';
|
|
5
5
|
import { i as isDarkColor } from './isDarkColor-6bf71e51.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-dd40cc85.js';
|
|
2
|
-
import { B as currencyFormat, l as localizationStore, t as translate } from './cart-
|
|
2
|
+
import { B as currencyFormat, l as localizationStore, t as translate } from './cart-228e1ef7.js';
|
|
3
3
|
import { z as zonosStore } from './zonosStore-c4c45591.js';
|
|
4
4
|
import { c as classes } from './classes-0d95c529.js';
|
|
5
5
|
import { f as formatStringWithLinks } from './formatStringWithLinks-9e819405.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host } from './index-dd40cc85.js';
|
|
2
2
|
import { _ as _root, e as _baseGetTag, i as isObjectLike_1, f as isObject_1, z as zonosStore, g as getZonosStoreTheme, m as mergeConfig } from './zonosStore-c4c45591.js';
|
|
3
|
-
import { r as handleFetch, d as logError, l as localizationStore, u as isValidSelector, t as translate, w as getZCountryUrlParam, x as setZCountryUrlParam, a as log, y as currencyDisplay, z as currencyConvertAndFormat, A as currencyConvert, B as currencyFormat } from './cart-
|
|
3
|
+
import { r as handleFetch, d as logError, l as localizationStore, u as isValidSelector, t as translate, w as getZCountryUrlParam, x as setZCountryUrlParam, a as log, y as currencyDisplay, z as currencyConvertAndFormat, A as currencyConvert, B as currencyFormat } from './cart-228e1ef7.js';
|
|
4
4
|
import { c as classes } from './classes-0d95c529.js';
|
|
5
5
|
import { g as getHasMoreSpaceOnRight } from './getHasMoreSpaceOnRight-70eb913a.js';
|
|
6
6
|
import './isDarkColor-6bf71e51.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, d as getElement } from './index-dd40cc85.js';
|
|
2
|
-
import { j as stripeStore, d as logError } from './cart-
|
|
2
|
+
import { j as stripeStore, d as logError } from './cart-228e1ef7.js';
|
|
3
3
|
import './zonosStore-c4c45591.js';
|
|
4
4
|
import './isDarkColor-6bf71e51.js';
|
|
5
5
|
import './getBorderRadius-a89e45fb.js';
|