@zonos/elements 1.3.87 → 1.3.89
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-120d68f9.js → cart-e15290ab.js} +15 -7
- package/dist/cjs/{createCustomEvent-ed9156dc.js → createCustomEvent-3da45800.js} +1 -1
- package/dist/cjs/index.cjs.js +7 -7
- package/dist/cjs/{paypal-875cfaf1.js → paypal-47b71e3b.js} +1 -1
- package/dist/cjs/zonos-address_7.cjs.entry.js +8 -6
- package/dist/cjs/zonos-cart-items_12.cjs.entry.js +1022 -11
- package/dist/cjs/zonos-checkout.cjs.entry.js +4 -6
- 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_4.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-language-select_2.cjs.entry.js +1 -1
- package/dist/cjs/zonos-notification_3.cjs.entry.js +2 -2
- package/dist/collection/components/checkout/zonos-checkout/zonos-cart-items/zonos-cart-items.js +4 -4
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +20 -4
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +2 -4
- package/dist/collection/components/store/checkout/stripe.js +2 -3
- package/dist/collection/components/store/hello/localization.js +13 -4
- package/dist/collection/components/stripe/zonos-address/zonos-address.js +9 -6
- package/dist/collection/components/utils/cleanHtmlMarkdown.js +28 -0
- package/dist/esm/{cart-9f1caabf.js → cart-08c2a740.js} +15 -7
- package/dist/esm/{createCustomEvent-464c49c0.js → createCustomEvent-a8a9fe09.js} +1 -1
- package/dist/esm/index.js +7 -7
- package/dist/esm/{paypal-fb449438.js → paypal-4a21792c.js} +1 -1
- package/dist/esm/zonos-address_7.entry.js +9 -7
- package/dist/esm/zonos-cart-items_12.entry.js +1022 -11
- package/dist/esm/zonos-checkout.entry.js +4 -6
- 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_4.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-language-select_2.entry.js +1 -1
- package/dist/esm/zonos-notification_3.entry.js +2 -2
- package/dist/esm-es5/{cart-9f1caabf.js → cart-08c2a740.js} +1 -1
- package/dist/esm-es5/{createCustomEvent-464c49c0.js → createCustomEvent-a8a9fe09.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{paypal-fb449438.js → paypal-4a21792c.js} +1 -1
- package/dist/esm-es5/zonos-address_7.entry.js +1 -1
- package/dist/esm-es5/zonos-cart-items_12.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-language-select_2.entry.js +1 -1
- package/dist/esm-es5/zonos-notification_3.entry.js +1 -1
- package/dist/scripts/index.d.ts +1 -1
- package/dist/scripts/index.js +1 -1
- package/dist/scripts/loadZonos.js +1 -1
- package/dist/scripts/zonos.js +1 -1
- package/dist/types/components/store/hello/localization.d.ts +1 -4
- package/dist/types/components/utils/cleanHtmlMarkdown.d.ts +16 -0
- package/dist/types/types/checkout/CheckoutConfig.d.ts +1 -1
- package/dist/zonos-elements/assets/RemoveIcon.svg +1 -1
- package/dist/zonos-elements/index.esm.js +1 -1
- package/dist/zonos-elements/p-0033c20b.system.entry.js +1 -0
- package/dist/zonos-elements/{p-89d2a27b.system.js → p-00706ef7.system.js} +1 -1
- package/dist/zonos-elements/{p-d7cf2a25.system.js → p-05b75d37.system.js} +1 -1
- package/dist/zonos-elements/{p-3d521899.system.entry.js → p-12f25739.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-9f36076f.entry.js → p-2aeb1f26.entry.js} +1 -1
- package/dist/zonos-elements/{p-cb9ff4df.js → p-3214b2df.js} +1 -1
- package/dist/zonos-elements/{p-7fce2a19.entry.js → p-3951ac01.entry.js} +1 -1
- package/dist/zonos-elements/{p-e6129027.entry.js → p-3ac3a8be.entry.js} +1 -1
- package/dist/zonos-elements/p-48b151ae.entry.js +1 -0
- package/dist/zonos-elements/{p-5bef550e.system.entry.js → p-49010cea.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-35577bd8.system.entry.js → p-4a417566.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-72513d54.entry.js → p-4f13a851.entry.js} +1 -1
- package/dist/zonos-elements/{p-d33a87fc.entry.js → p-531973ca.entry.js} +1 -1
- package/dist/zonos-elements/{p-294026a0.system.js → p-5f0c4397.system.js} +1 -1
- package/dist/zonos-elements/{p-92f1cf70.entry.js → p-6d5d31ac.entry.js} +1 -1
- package/dist/zonos-elements/{p-0b01b9b1.system.entry.js → p-76015899.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-f7ec6999.js → p-7c8ad901.js} +1 -1
- package/dist/zonos-elements/p-8bbe007f.system.entry.js +1 -0
- package/dist/zonos-elements/p-9773abc9.entry.js +1 -0
- package/dist/zonos-elements/{p-253cbdae.entry.js → p-aab5ccde.entry.js} +1 -1
- package/dist/zonos-elements/{p-6c380fa8.system.js → p-c1f0aeb4.system.js} +1 -1
- package/dist/zonos-elements/p-c28824a0.system.entry.js +1 -0
- package/dist/zonos-elements/p-c78dd680.system.js +1 -1
- package/dist/zonos-elements/{p-d81f35bf.js → p-db4c833d.js} +2 -2
- package/dist/zonos-elements/{p-c0a7750c.system.entry.js → p-dbd51a62.system.entry.js} +1 -1
- package/dist/zonos-elements/p-f49ca64f.entry.js +1 -0
- package/dist/zonos-elements/{p-69bb9b53.system.entry.js → p-f5e29ed6.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-94589f18.system.entry.js → p-fc2191b7.system.entry.js} +1 -1
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/package.json +5 -4
- package/dist/zonos-elements/p-4412b94b.system.entry.js +0 -1
- package/dist/zonos-elements/p-49a3a2a5.system.entry.js +0 -1
- package/dist/zonos-elements/p-7f21c1c4.entry.js +0 -1
- package/dist/zonos-elements/p-a7b6fd9c.entry.js +0 -1
- package/dist/zonos-elements/p-b58f4433.entry.js +0 -1
- package/dist/zonos-elements/p-e05eed8e.system.entry.js +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, F as Fragment } from './index-86b8247e.js';
|
|
2
|
-
import { l as localizationStore, s as stripeStoreGetDomesticShippingSession, a as localizationStoreUpdateSelectedCountryCode, b as stripeStoreCleanupDomesticShippingSession, c as stripeStoreSaveDomesticShippingSession, i as initStripeElements, d as cartStore, e as cartStoreUpdateItems, f as cartStoreReset, g as cartStoreResetTabItems, h as cartStoreClearCheckoutInterval, j as stripeStore, k as stripeStoreInitCheckoutSession, m as cartStoreStartCheckoutInterval, n as cartStoreUpdateToErrorState, t as translate,
|
|
3
|
-
import { s as submitGtag, p as paypalInitScript } from './paypal-
|
|
2
|
+
import { l as localizationStore, s as stripeStoreGetDomesticShippingSession, a as localizationStoreUpdateSelectedCountryCode, b as stripeStoreCleanupDomesticShippingSession, c as stripeStoreSaveDomesticShippingSession, i as initStripeElements, d as cartStore, e as cartStoreUpdateItems, f as cartStoreReset, g as cartStoreResetTabItems, h as cartStoreClearCheckoutInterval, j as stripeStore, k as stripeStoreInitCheckoutSession, m as cartStoreStartCheckoutInterval, n as cartStoreUpdateToErrorState, t as translate, o as cartStoreSetCheckoutSession, p as stripeStorePrefetchLandedCost, q as cartStoreNextStep, r as stripeStoreHandleInventoryCheck, u as stripeStoreConfirmPayment, v as stripeStoreReset, w as localizationStoreOnUpdate } from './cart-08c2a740.js';
|
|
3
|
+
import { s as submitGtag, p as paypalInitScript } from './paypal-4a21792c.js';
|
|
4
4
|
import { z as zonosStore, g as getZonosStoreTheme, m as mergeConfig } from './zonosStore-0dc7a947.js';
|
|
5
|
-
import { t as trackConversionEvent, c as createCustomEvent, g as getIsTestMode } from './createCustomEvent-
|
|
5
|
+
import { t as trackConversionEvent, c as createCustomEvent, g as getIsTestMode } from './createCustomEvent-a8a9fe09.js';
|
|
6
6
|
import { i as isCheckoutMobile } from './isCheckoutMobile-8846dccb.js';
|
|
7
7
|
import { l as log, a as logError, s as sendErrorLog, b as allLogs } from './handleFetch-0133265e.js';
|
|
8
8
|
import { c as classes } from './classes-0d95c529.js';
|
|
@@ -434,9 +434,7 @@ const ZonosCheckout = class {
|
|
|
434
434
|
const legacyShippingInfo = {
|
|
435
435
|
country:
|
|
436
436
|
// fallback to selected country code if country is not provided
|
|
437
|
-
urlParams.get('country') ||
|
|
438
|
-
localizationStore.selectedCountryCode ||
|
|
439
|
-
DEFAULT_COUNTRY_CODE_LEGACY_CHECKOUT,
|
|
437
|
+
urlParams.get('country') || localizationStore.selectedCountryCode,
|
|
440
438
|
customerAddress1: urlParams.get('customerAddress1'),
|
|
441
439
|
customerAddress2: urlParams.get('customerAddress2'),
|
|
442
440
|
customerCity: urlParams.get('customerCity'),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-86b8247e.js';
|
|
2
|
-
import { x as isValidSelector, j as stripeStore, y as initLocalizationStore, d as cartStore, a as localizationStoreUpdateSelectedCountryCode } from './cart-
|
|
2
|
+
import { x as isValidSelector, j as stripeStore, y as initLocalizationStore, d as cartStore, a as localizationStoreUpdateSelectedCountryCode } from './cart-08c2a740.js';
|
|
3
3
|
import { z as zonosStore, b as zonosStoreInitSetting, d as zonosStoreFontFamily } from './zonosStore-0dc7a947.js';
|
|
4
4
|
import { h as handleFetch, a as logError, l as log } from './handleFetch-0133265e.js';
|
|
5
5
|
import './isDarkColor-b3afa948.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, d as getElement } from './index-86b8247e.js';
|
|
2
|
-
import { l as localizationStore } from './cart-
|
|
2
|
+
import { l as localizationStore } from './cart-08c2a740.js';
|
|
3
3
|
import { d as zonosStoreFontFamily } from './zonosStore-0dc7a947.js';
|
|
4
4
|
import { c as classes } from './classes-0d95c529.js';
|
|
5
5
|
import './handleFetch-0133265e.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, d as getElement } from './index-86b8247e.js';
|
|
2
|
-
import { a as localizationStoreUpdateSelectedCountryCode, t as translate, l as localizationStore } from './cart-
|
|
2
|
+
import { a as localizationStoreUpdateSelectedCountryCode, t as translate, l as localizationStore } from './cart-08c2a740.js';
|
|
3
3
|
import { d as zonosStoreFontFamily } from './zonosStore-0dc7a947.js';
|
|
4
4
|
import { f as formatStringWithLinks } from './formatStringWithLinks-9e819405.js';
|
|
5
5
|
import { i as isDarkColor } from './isDarkColor-b3afa948.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host } from './index-86b8247e.js';
|
|
2
|
-
import { t as translate, l as localizationStore,
|
|
2
|
+
import { t as translate, l as localizationStore, E as currencyFormat } from './cart-08c2a740.js';
|
|
3
3
|
import { z as zonosStore } from './zonosStore-0dc7a947.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-86b8247e.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-0dc7a947.js';
|
|
3
|
-
import { l as localizationStore, x as isValidSelector, t as translate, z as getZCountryUrlParam, A as setZCountryUrlParam, B as currencyDisplay, C as currencyConvertAndFormat,
|
|
3
|
+
import { l as localizationStore, x as isValidSelector, t as translate, z as getZCountryUrlParam, A as setZCountryUrlParam, B as currencyDisplay, C as currencyConvertAndFormat, D as currencyConvert, E as currencyFormat } from './cart-08c2a740.js';
|
|
4
4
|
import { c as classes } from './classes-0d95c529.js';
|
|
5
5
|
import { h as handleFetch, a as logError, l as log } from './handleFetch-0133265e.js';
|
|
6
6
|
import { g as getHasMoreSpaceOnRight } from './getHasMoreSpaceOnRight-70eb913a.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host } from './index-86b8247e.js';
|
|
2
|
-
import { Q as localizationStoreUpdateSelectedLocale, t as translate, l as localizationStore } from './cart-
|
|
2
|
+
import { Q as localizationStoreUpdateSelectedLocale, t as translate, l as localizationStore } from './cart-08c2a740.js';
|
|
3
3
|
import { d as zonosStoreFontFamily } from './zonosStore-0dc7a947.js';
|
|
4
4
|
import { l as languages } from './ILanguage-cd6acb72.js';
|
|
5
5
|
import './handleFetch-0133265e.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, d as getElement, c as createEvent } from './index-86b8247e.js';
|
|
2
2
|
import { d as zonosStoreFontFamily } from './zonosStore-0dc7a947.js';
|
|
3
3
|
import { c as classes } from './classes-0d95c529.js';
|
|
4
|
-
import { j as stripeStore } from './cart-
|
|
4
|
+
import { j as stripeStore } from './cart-08c2a740.js';
|
|
5
5
|
import { a as logError, l as log } from './handleFetch-0133265e.js';
|
|
6
|
-
import { d as paypalStoreInitButtons } from './paypal-
|
|
6
|
+
import { d as paypalStoreInitButtons } from './paypal-4a21792c.js';
|
|
7
7
|
import './isDarkColor-b3afa948.js';
|
|
8
8
|
import './getBorderRadius-cff1e39b.js';
|
|
9
9
|
|