@zonos/elements 1.3.275 → 1.3.277
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-73d7ecdc.js → cart-65e8da66.js} +38 -12
- package/dist/cjs/{collect-32ea7a37.js → collect-37c177ab.js} +2 -2
- package/dist/cjs/{hasInclusivePrice-38ebedfb.js → hasInclusivePrice-798ce42d.js} +1 -1
- package/dist/cjs/index.cjs.js +32 -9
- package/dist/cjs/{invoice-df662cd1.js → invoice-96f5c802.js} +2 -2
- package/dist/cjs/{localization-09e91031.js → localization-90650d7d.js} +60 -0
- package/dist/cjs/{paypal-11acb15f.js → paypal-1952f6ec.js} +2 -2
- package/dist/cjs/{placeTestOrder-e0f80338.js → placeTestOrder-30191a8f.js} +2 -2
- package/dist/cjs/{renderCheckoutCurrency-d902f973.js → renderCheckoutCurrency-fd35b4ef.js} +2 -2
- package/dist/cjs/zonos-address-display_8.cjs.entry.js +2 -2
- package/dist/cjs/zonos-address_4.cjs.entry.js +2 -2
- package/dist/cjs/zonos-airwallex-payment.cjs.entry.js +4 -3
- package/dist/cjs/zonos-card_5.cjs.entry.js +4 -3
- package/dist/cjs/zonos-cart-items_12.cjs.entry.js +74 -9
- package/dist/cjs/zonos-checkout.cjs.entry.js +4 -3
- package/dist/cjs/zonos-collect-cart-items_3.cjs.entry.js +3 -2
- package/dist/cjs/zonos-collect-finish_6.cjs.entry.js +7 -6
- package/dist/cjs/zonos-collect.cjs.entry.js +5 -4
- package/dist/cjs/zonos-controller.cjs.entry.js +18 -4
- 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 +2 -2
- package/dist/cjs/zonos-hello.cjs.entry.js +1 -1
- package/dist/cjs/zonos-invoice-cart-items_2.cjs.entry.js +5 -4
- package/dist/cjs/zonos-invoice-finish_5.cjs.entry.js +7 -6
- package/dist/cjs/zonos-invoice.cjs.entry.js +5 -4
- package/dist/cjs/zonos-language-select_2.cjs.entry.js +1 -1
- package/dist/cjs/zonos-policy-consent_2.cjs.entry.js +4 -3
- package/dist/collection/components/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.js +52 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +1 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.js +18 -2
- package/dist/collection/components/common/zonos-stripe-phone-input/zonos-stripe-phone-input.js +1 -1
- package/dist/collection/components/main/zonos-controller.js +16 -3
- package/dist/collection/components/store/checkout/cart.js +21 -11
- package/dist/collection/components/store/translationStore/strings.arabic.js +3 -0
- package/dist/collection/components/store/translationStore/strings.base.js +3 -0
- package/dist/collection/components/store/translationStore/strings.chinese.js +3 -0
- package/dist/collection/components/store/translationStore/strings.danish.js +3 -0
- package/dist/collection/components/store/translationStore/strings.dutch.js +3 -0
- package/dist/collection/components/store/translationStore/strings.french.js +3 -0
- package/dist/collection/components/store/translationStore/strings.german.js +3 -0
- package/dist/collection/components/store/translationStore/strings.hebrew.js +3 -0
- package/dist/collection/components/store/translationStore/strings.indonesian.js +3 -0
- package/dist/collection/components/store/translationStore/strings.italian.js +3 -0
- package/dist/collection/components/store/translationStore/strings.japanese.js +3 -0
- package/dist/collection/components/store/translationStore/strings.korean.js +3 -0
- package/dist/collection/components/store/translationStore/strings.norwegian.js +3 -0
- package/dist/collection/components/store/translationStore/strings.polish.js +3 -0
- package/dist/collection/components/store/translationStore/strings.portuguese.js +3 -0
- package/dist/collection/components/store/translationStore/strings.russian.js +3 -0
- package/dist/collection/components/store/translationStore/strings.spanish.js +3 -0
- package/dist/collection/components/store/translationStore/strings.swedish.js +3 -0
- package/dist/collection/components/store/translationStore/strings.turkish.js +3 -0
- package/dist/collection/components/store/translationStore/strings.vietnamese.js +3 -0
- package/dist/collection/components/utils/checkout/isEuDapRemittance.js +15 -0
- package/dist/collection/scripts/_loadStripe.js +20 -2
- package/dist/collection/scripts/_zonosBase.js +5 -0
- package/dist/collection/types/generated/graphql.internal.types.js +78 -0
- package/dist/esm/{cart-c3cd0036.js → cart-402dcde5.js} +38 -13
- package/dist/esm/{collect-a7a4696c.js → collect-b88fe4ca.js} +2 -2
- package/dist/esm/{hasInclusivePrice-93a88196.js → hasInclusivePrice-1589fef9.js} +1 -1
- package/dist/esm/index.js +32 -9
- package/dist/esm/{invoice-5a07bb03.js → invoice-5eb27944.js} +2 -2
- package/dist/esm/{localization-a185c345.js → localization-d49867ed.js} +60 -0
- package/dist/esm/{paypal-cc558697.js → paypal-2d4c9d01.js} +2 -2
- package/dist/esm/{placeTestOrder-92847316.js → placeTestOrder-2ba7c3f2.js} +2 -2
- package/dist/esm/{renderCheckoutCurrency-34aaa81e.js → renderCheckoutCurrency-ef71083e.js} +2 -2
- package/dist/esm/zonos-address-display_8.entry.js +2 -2
- package/dist/esm/zonos-address_4.entry.js +2 -2
- package/dist/esm/zonos-airwallex-payment.entry.js +4 -3
- package/dist/esm/zonos-card_5.entry.js +4 -3
- package/dist/esm/zonos-cart-items_12.entry.js +74 -9
- package/dist/esm/zonos-checkout.entry.js +4 -3
- package/dist/esm/zonos-collect-cart-items_3.entry.js +3 -2
- package/dist/esm/zonos-collect-finish_6.entry.js +7 -6
- package/dist/esm/zonos-collect.entry.js +5 -4
- package/dist/esm/zonos-controller.entry.js +18 -4
- 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 +2 -2
- package/dist/esm/zonos-hello.entry.js +1 -1
- package/dist/esm/zonos-invoice-cart-items_2.entry.js +5 -4
- package/dist/esm/zonos-invoice-finish_5.entry.js +7 -6
- package/dist/esm/zonos-invoice.entry.js +5 -4
- package/dist/esm/zonos-language-select_2.entry.js +1 -1
- package/dist/esm/zonos-policy-consent_2.entry.js +4 -3
- package/dist/esm-es5/cart-402dcde5.js +1 -0
- package/dist/esm-es5/{collect-a7a4696c.js → collect-b88fe4ca.js} +1 -1
- package/dist/esm-es5/{hasInclusivePrice-93a88196.js → hasInclusivePrice-1589fef9.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{invoice-5a07bb03.js → invoice-5eb27944.js} +1 -1
- package/dist/esm-es5/localization-d49867ed.js +1 -0
- package/dist/esm-es5/{paypal-cc558697.js → paypal-2d4c9d01.js} +1 -1
- package/dist/esm-es5/{placeTestOrder-92847316.js → placeTestOrder-2ba7c3f2.js} +1 -1
- package/dist/esm-es5/{renderCheckoutCurrency-34aaa81e.js → renderCheckoutCurrency-ef71083e.js} +1 -1
- package/dist/esm-es5/zonos-address-display_8.entry.js +1 -1
- package/dist/esm-es5/zonos-address_4.entry.js +1 -1
- package/dist/esm-es5/zonos-airwallex-payment.entry.js +1 -1
- package/dist/esm-es5/zonos-card_5.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-collect-cart-items_3.entry.js +1 -1
- package/dist/esm-es5/zonos-collect-finish_6.entry.js +1 -1
- package/dist/esm-es5/zonos-collect.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-invoice-cart-items_2.entry.js +1 -1
- package/dist/esm-es5/zonos-invoice-finish_5.entry.js +1 -1
- package/dist/esm-es5/zonos-invoice.entry.js +1 -1
- package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
- package/dist/esm-es5/zonos-policy-consent_2.entry.js +1 -1
- package/dist/scripts/index.d.ts +23 -0
- package/dist/scripts/index.js +1 -1
- package/dist/scripts/loadZonos.js +1 -1
- package/dist/scripts/zonos.js +1 -1
- package/dist/types/components/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.d.ts +8 -0
- package/dist/types/components/store/checkout/cart.d.ts +2 -2
- package/dist/types/components/store/translationStore/strings.arabic.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.base.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.chinese.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.danish.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.dutch.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.french.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.german.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.hebrew.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.indonesian.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.italian.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.japanese.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.korean.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.norwegian.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.polish.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.portuguese.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.russian.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.spanish.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.swedish.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.turkish.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +3 -0
- package/dist/types/components/utils/checkout/isEuDapRemittance.d.ts +15 -0
- package/dist/types/scripts/_zonosBase.d.ts +12 -0
- package/dist/types/types/generated/graphql.internal.types.d.ts +94 -0
- package/dist/types/types/generated/graphql.internal.types.ts +114 -7
- package/dist/zonos-elements/index.esm.js +1 -1
- package/dist/zonos-elements/{p-ac762358.entry.js → p-0745e440.entry.js} +1 -1
- package/dist/zonos-elements/p-0b321037.system.entry.js +1 -0
- package/dist/zonos-elements/p-10715fee.system.entry.js +1 -0
- package/dist/zonos-elements/p-144a380d.entry.js +1 -0
- package/dist/zonos-elements/p-18135660.entry.js +1 -0
- package/dist/zonos-elements/{p-38d2da0d.entry.js → p-1e4dcd29.entry.js} +1 -1
- package/dist/zonos-elements/{p-3fa307d1.system.entry.js → p-293183c1.system.entry.js} +1 -1
- package/dist/zonos-elements/p-29b60bf3.system.js +1 -1
- package/dist/zonos-elements/p-2e0d813f.system.js +1 -0
- package/dist/zonos-elements/{p-03c357f5.system.js → p-2ea73ca2.system.js} +1 -1
- package/dist/zonos-elements/{p-96972001.entry.js → p-3cf22558.entry.js} +1 -1
- package/dist/zonos-elements/p-3cfa4880.js +1 -0
- package/dist/zonos-elements/p-3feff726.entry.js +1 -0
- package/dist/zonos-elements/p-42ba4da5.system.entry.js +1 -0
- package/dist/zonos-elements/p-45535a81.js +1 -0
- package/dist/zonos-elements/p-4596bdca.system.entry.js +1 -0
- package/dist/zonos-elements/p-48627415.system.entry.js +1 -0
- package/dist/zonos-elements/p-4a1c9fa1.entry.js +1 -0
- package/dist/zonos-elements/{p-3e914f69.system.entry.js → p-4a6f9c5e.system.entry.js} +1 -1
- package/dist/zonos-elements/p-4b06044f.js +1 -0
- package/dist/zonos-elements/p-4d29dcc8.entry.js +1 -0
- package/dist/zonos-elements/{p-79f58524.system.entry.js → p-4e6e9a3c.system.entry.js} +1 -1
- package/dist/zonos-elements/p-521cbeea.entry.js +1 -0
- package/dist/zonos-elements/p-534057ad.system.entry.js +1 -0
- package/dist/zonos-elements/p-55195dab.entry.js +1 -0
- package/dist/zonos-elements/p-58b56c69.entry.js +1 -0
- package/dist/zonos-elements/p-5ce88ef3.system.entry.js +1 -0
- package/dist/zonos-elements/{p-d6d18115.system.entry.js → p-5d3ea491.system.entry.js} +1 -1
- package/dist/zonos-elements/p-5e3b0ef4.entry.js +1 -0
- package/dist/zonos-elements/p-628fe742.system.entry.js +1 -0
- package/dist/zonos-elements/{p-be233925.system.js → p-647438d6.system.js} +1 -1
- package/dist/zonos-elements/p-684e27da.system.js +1 -0
- package/dist/zonos-elements/{p-863cfab2.system.js → p-6ad0f720.system.js} +2 -2
- package/dist/zonos-elements/p-77ac8bfe.entry.js +1 -0
- package/dist/zonos-elements/p-864525b4.system.entry.js +1 -0
- package/dist/zonos-elements/p-89befc63.system.entry.js +1 -0
- package/dist/zonos-elements/{p-12396d79.system.entry.js → p-998f9df5.system.entry.js} +1 -1
- package/dist/zonos-elements/p-9fab45aa.system.js +1 -0
- package/dist/zonos-elements/{p-9cb80484.js → p-a02ff788.js} +1 -1
- package/dist/zonos-elements/{p-e3376f43.js → p-a3bc7e97.js} +1 -1
- package/dist/zonos-elements/{p-a1f59d6d.system.entry.js → p-a7050d1e.system.entry.js} +1 -1
- package/dist/zonos-elements/p-ac1b60c8.system.entry.js +1 -0
- package/dist/zonos-elements/{p-819f182e.entry.js → p-ac9b9f7d.entry.js} +1 -1
- package/dist/zonos-elements/{p-a7028453.js → p-b1c86a5b.js} +1 -1
- package/dist/zonos-elements/p-b79989a6.entry.js +1 -0
- package/dist/zonos-elements/p-b7e4f1f5.entry.js +1 -0
- package/dist/zonos-elements/p-c209e36d.js +1 -0
- package/dist/zonos-elements/p-c750a2e0.system.entry.js +1 -0
- package/dist/zonos-elements/{p-f97da77c.entry.js → p-d5945ddc.entry.js} +1 -1
- package/dist/zonos-elements/p-d7bda14d.js +1 -0
- package/dist/zonos-elements/p-d90e79e4.system.js +1 -0
- package/dist/zonos-elements/{p-216d31ca.entry.js → p-ee434a71.entry.js} +1 -1
- package/dist/zonos-elements/{p-3ea7643b.system.js → p-f2768c92.system.js} +1 -1
- package/dist/zonos-elements/{p-3980e553.system.js → p-f2d50796.system.js} +1 -1
- package/dist/zonos-elements/{p-a9d01bfa.entry.js → p-f3a73132.entry.js} +1 -1
- package/dist/zonos-elements/{p-4900096c.system.entry.js → p-ffbf87c8.system.entry.js} +1 -1
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/package.json +1 -1
- package/dist/esm-es5/cart-c3cd0036.js +0 -1
- package/dist/esm-es5/localization-a185c345.js +0 -1
- package/dist/zonos-elements/p-043e9a84.js +0 -1
- package/dist/zonos-elements/p-1906c8f7.js +0 -1
- package/dist/zonos-elements/p-1de258c3.js +0 -1
- package/dist/zonos-elements/p-2b2122bc.system.entry.js +0 -1
- package/dist/zonos-elements/p-2bdfa429.system.js +0 -1
- package/dist/zonos-elements/p-2c0a627d.js +0 -1
- package/dist/zonos-elements/p-387f33ae.js +0 -1
- package/dist/zonos-elements/p-391ea5c2.entry.js +0 -1
- package/dist/zonos-elements/p-3f8050ab.entry.js +0 -1
- package/dist/zonos-elements/p-51b537a6.system.entry.js +0 -1
- package/dist/zonos-elements/p-5427bf51.entry.js +0 -1
- package/dist/zonos-elements/p-577b543c.entry.js +0 -1
- package/dist/zonos-elements/p-5ce8b3c3.system.entry.js +0 -1
- package/dist/zonos-elements/p-70fd21c4.system.entry.js +0 -1
- package/dist/zonos-elements/p-785d6f43.entry.js +0 -1
- package/dist/zonos-elements/p-8873d332.system.entry.js +0 -1
- package/dist/zonos-elements/p-9295b932.entry.js +0 -1
- package/dist/zonos-elements/p-93c6c2df.system.entry.js +0 -1
- package/dist/zonos-elements/p-9d80357b.entry.js +0 -1
- package/dist/zonos-elements/p-a2353242.system.entry.js +0 -1
- package/dist/zonos-elements/p-a33e1549.system.entry.js +0 -1
- package/dist/zonos-elements/p-b376aba7.system.entry.js +0 -1
- package/dist/zonos-elements/p-b9034a75.system.entry.js +0 -1
- package/dist/zonos-elements/p-b9359002.system.entry.js +0 -1
- package/dist/zonos-elements/p-c68a7f3e.entry.js +0 -1
- package/dist/zonos-elements/p-d1f2e532.system.js +0 -1
- package/dist/zonos-elements/p-d62dab88.system.js +0 -1
- package/dist/zonos-elements/p-e562d953.system.js +0 -1
- package/dist/zonos-elements/p-e5f25b27.entry.js +0 -1
- package/dist/zonos-elements/p-e9e3c951.system.entry.js +0 -1
- package/dist/zonos-elements/p-ee70bd2e.entry.js +0 -1
- package/dist/zonos-elements/p-ee920b9b.entry.js +0 -1
- package/dist/zonos-elements/p-fb830355.entry.js +0 -1
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const zonosStore = require('./zonosStore-fee716c9.js');
|
|
4
|
-
const localization = require('./localization-
|
|
4
|
+
const localization = require('./localization-90650d7d.js');
|
|
5
5
|
const VarianceTest = require('./VarianceTest-bec00ea8.js');
|
|
6
6
|
const handleFetch = require('./handleFetch-954f30e1.js');
|
|
7
7
|
const isDarkColor = require('./isDarkColor-ebc74b4d.js');
|
|
8
8
|
const getBorderRadius = require('./getBorderRadius-4da24d7c.js');
|
|
9
|
+
const TaxId = require('./TaxId-12acedde.js');
|
|
9
10
|
|
|
10
11
|
const getCheckoutSession = async () => {
|
|
11
12
|
if (!localization.storageStore.checkoutSessionId) {
|
|
@@ -2181,6 +2182,21 @@ stripeStoreOnChange('clientSecret', clientSecret => {
|
|
|
2181
2182
|
}
|
|
2182
2183
|
});
|
|
2183
2184
|
|
|
2185
|
+
/**
|
|
2186
|
+
* EU 3-EUR cutover (05CHECK-893): when shipping to an EU country with a POSTAL
|
|
2187
|
+
* service level whose DAP landed cost has remittance available, we keep treating
|
|
2188
|
+
* the quote as DAP (duties paid upon delivery) instead of converting it to DDP.
|
|
2189
|
+
* The cart subtotals then show taxes and fees as collected while duties are
|
|
2190
|
+
* estimated and paid on delivery.
|
|
2191
|
+
*
|
|
2192
|
+
* @see [[cartStoreGetMethod]] for the DAP/DDP conversion this guards.
|
|
2193
|
+
*/
|
|
2194
|
+
const isEuDapRemittance = ({ deliveryType, landedCost, shipToCountry, }) => landedCost.method === 'DAP' &&
|
|
2195
|
+
deliveryType === 'POSTAL' &&
|
|
2196
|
+
landedCost.remittance.length > 0 &&
|
|
2197
|
+
!!shipToCountry &&
|
|
2198
|
+
TaxId.euCountryCodes.includes(shipToCountry);
|
|
2199
|
+
|
|
2184
2200
|
const { onChange: cartStoreOnChange, reset, state: cartStore, } = zonosStore.createStore(() => ({
|
|
2185
2201
|
addressFormRenderType: 'stripe',
|
|
2186
2202
|
adjustmentTotal: 0,
|
|
@@ -2455,13 +2471,22 @@ const cartStoreReCalculateTotal = async ({ adjustmentsAmount, cartId, currency,
|
|
|
2455
2471
|
/**
|
|
2456
2472
|
* For some service levels, the landed cost that's DAP and we do remittance on behalf of the merchant, these landed cost should be treated as DDP
|
|
2457
2473
|
*/
|
|
2458
|
-
const cartStoreGetMethod = (landedCost) => {
|
|
2459
|
-
var _a, _b, _c;
|
|
2474
|
+
const cartStoreGetMethod = (landedCost, deliveryType) => {
|
|
2475
|
+
var _a, _b, _c, _d;
|
|
2460
2476
|
// If the landed cost is DAP and the country is domestic, then treat it as DDP since no duty or fee is due at the door
|
|
2461
2477
|
if (landedCost.method === 'DAP' &&
|
|
2462
2478
|
((_b = (_a = zonosStore.zonosStore.genericSettings) === null || _a === void 0 ? void 0 : _a.domesticCountries) === null || _b === void 0 ? void 0 : _b.includes(((_c = stripeStore.stripeAddressEventData) === null || _c === void 0 ? void 0 : _c.value.address.country) || 'US'))) {
|
|
2463
2479
|
return 'DDP';
|
|
2464
2480
|
}
|
|
2481
|
+
// EU 3-EUR cutover (05CHECK-893): keep EU POSTAL remittance quotes as DAP so
|
|
2482
|
+
// the shopper is told duties are paid upon delivery, even though we remit.
|
|
2483
|
+
if (isEuDapRemittance({
|
|
2484
|
+
deliveryType,
|
|
2485
|
+
landedCost,
|
|
2486
|
+
shipToCountry: (_d = stripeStore.stripeAddressEventData) === null || _d === void 0 ? void 0 : _d.value.address.country,
|
|
2487
|
+
})) {
|
|
2488
|
+
return 'DAP';
|
|
2489
|
+
}
|
|
2465
2490
|
if (landedCost.method === 'DAP' &&
|
|
2466
2491
|
landedCost.remittance.length &&
|
|
2467
2492
|
landedCost.landedCostGuaranteeCode === 'ZONOS') {
|
|
@@ -2470,7 +2495,7 @@ const cartStoreGetMethod = (landedCost) => {
|
|
|
2470
2495
|
return landedCost.method;
|
|
2471
2496
|
};
|
|
2472
2497
|
const cartStoreUpdateSelectedShippingOption = async ({ applySubtotalsOnly, landedCostId, selectedShippingOption, }) => {
|
|
2473
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
2498
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
2474
2499
|
VarianceTest.log('Updating selected shipping option', 'info', {
|
|
2475
2500
|
landedCostId,
|
|
2476
2501
|
selectedShippingOption,
|
|
@@ -2500,13 +2525,13 @@ const cartStoreUpdateSelectedShippingOption = async ({ applySubtotalsOnly, lande
|
|
|
2500
2525
|
if (dutiesTaxesFeesEstimate) {
|
|
2501
2526
|
VarianceTest.log(`DAP quote, using estimate: ${dutiesTaxesFeesEstimate}`, 'info');
|
|
2502
2527
|
}
|
|
2503
|
-
cartStore.landedCostMethod = cartStoreGetMethod(selectedLandedCost.landedCost);
|
|
2528
|
+
cartStore.landedCostMethod = cartStoreGetMethod(selectedLandedCost.landedCost, (_c = selectedShippingOption.shippingProfile) === null || _c === void 0 ? void 0 : _c.serviceLevel.deliveryType);
|
|
2504
2529
|
// update shipping value and dutiesTaxFees on selectedShippingOption change
|
|
2505
2530
|
cartStore.shipping = selectedLandedCost.subtotals.shipping;
|
|
2506
2531
|
// update deminimis status
|
|
2507
|
-
const isGuarantee = ((
|
|
2532
|
+
const isGuarantee = ((_d = selectedLandedCost === null || selectedLandedCost === void 0 ? void 0 : selectedLandedCost.landedCost) === null || _d === void 0 ? void 0 : _d.landedCostGuaranteeCode) === 'ZONOS';
|
|
2508
2533
|
// one item in deminimis with type of duty and tax has threshold value is "ABOVE"
|
|
2509
|
-
const isAboveDeminimis = !!((
|
|
2534
|
+
const isAboveDeminimis = !!((_f = (_e = selectedLandedCost === null || selectedLandedCost === void 0 ? void 0 : selectedLandedCost.landedCost) === null || _e === void 0 ? void 0 : _e.deMinimis) === null || _f === void 0 ? void 0 : _f.find(item => ['DUTY', 'TAX'].includes(item.type) && item.threshold === 'ABOVE'));
|
|
2510
2535
|
cartStore.isSelectedShippingAboveDeminimis = isAboveDeminimis;
|
|
2511
2536
|
cartStore.isSelectedShippingGuarantee = isGuarantee;
|
|
2512
2537
|
let updateCalculateStatus = false;
|
|
@@ -2531,22 +2556,22 @@ const cartStoreUpdateSelectedShippingOption = async ({ applySubtotalsOnly, lande
|
|
|
2531
2556
|
billToPartyId: stripeStore.partyBillingId,
|
|
2532
2557
|
cartId: window.Zonos.cartId,
|
|
2533
2558
|
dutiesTaxesFeesEstimate: dutiesTaxesFeesEstimate,
|
|
2534
|
-
landedCostId: (
|
|
2559
|
+
landedCostId: (_g = selectedLandedCost.landedCost) === null || _g === void 0 ? void 0 : _g.id,
|
|
2535
2560
|
shipToPartyId: stripeStore.partyShippingId,
|
|
2536
2561
|
varianceTestInput: localization.storageStore.enabledVariantTestKeys || [],
|
|
2537
2562
|
});
|
|
2538
2563
|
}
|
|
2539
2564
|
// update conditionally render pay in USD button
|
|
2540
|
-
const firstItem = (
|
|
2565
|
+
const firstItem = (_h = cartStore.items.find(Boolean)) === null || _h === void 0 ? void 0 : _h.currencyCode;
|
|
2541
2566
|
// Stripe address event data should be available at this point
|
|
2542
|
-
const shipToCountry = ((
|
|
2567
|
+
const shipToCountry = ((_j = stripeStore.stripeAddressEventData) === null || _j === void 0 ? void 0 : _j.value.address.country) || 'US';
|
|
2543
2568
|
// Only show pay in USD button if item's currency is in USD, the setting is enabled and the order presentment currency is not USD, also only in USD settlement ship to country list
|
|
2544
2569
|
stripeStore.shouldRenderPayInUsdButton =
|
|
2545
2570
|
firstItem === 'USD' &&
|
|
2546
2571
|
zonosStore.zonosStore.checkoutSettings.allowedSettlementCurrencies ===
|
|
2547
2572
|
'LOCAL_AND_USD' &&
|
|
2548
|
-
((
|
|
2549
|
-
!!((
|
|
2573
|
+
((_k = cartStore.checkoutSession) === null || _k === void 0 ? void 0 : _k.subtotals.presentmentCurrencyCode) !== 'USD' &&
|
|
2574
|
+
!!((_m = (_l = zonosStore.zonosStore.genericSettings) === null || _l === void 0 ? void 0 : _l.usdSettlementCountryEnabled) === null || _m === void 0 ? void 0 : _m.includes(shipToCountry));
|
|
2550
2575
|
return updateCalculateStatus;
|
|
2551
2576
|
};
|
|
2552
2577
|
const cartStoreStartCheckoutInterval = ({ isPreview, sessionTimeout, }) => {
|
|
@@ -2720,6 +2745,7 @@ exports.extractName = extractName;
|
|
|
2720
2745
|
exports.getCheckoutSessionBody = getCheckoutSessionBody;
|
|
2721
2746
|
exports.getEnabledPolicies = getEnabledPolicies;
|
|
2722
2747
|
exports.initStripeElements = initStripeElements;
|
|
2748
|
+
exports.isEuDapRemittance = isEuDapRemittance;
|
|
2723
2749
|
exports.isPolicyConsentRequired = isPolicyConsentRequired;
|
|
2724
2750
|
exports.policyConsentStore = policyConsentStore;
|
|
2725
2751
|
exports.policyConsentStoreReset = policyConsentStoreReset;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const zonosStore = require('./zonosStore-fee716c9.js');
|
|
4
|
-
const localization = require('./localization-
|
|
4
|
+
const localization = require('./localization-90650d7d.js');
|
|
5
5
|
const handleFetch = require('./handleFetch-954f30e1.js');
|
|
6
6
|
const VarianceTest = require('./VarianceTest-bec00ea8.js');
|
|
7
|
-
const cart = require('./cart-
|
|
7
|
+
const cart = require('./cart-65e8da66.js');
|
|
8
8
|
|
|
9
9
|
// src/constant/common.ts
|
|
10
10
|
function _array_like_to_array(arr, len) {
|
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -133,7 +133,7 @@ const getZonosQaUrl = () => {
|
|
|
133
133
|
return null;
|
|
134
134
|
}
|
|
135
135
|
const qaUrl = extractZonosQaUrl(window.location.href);
|
|
136
|
-
const cdnUrl = "https://v1.3.
|
|
136
|
+
const cdnUrl = "https://v1.3.277.js.zonos.com";
|
|
137
137
|
// when the qaUrl is not set and the built URL is from the test domain, use the test domain for testing
|
|
138
138
|
if (!qaUrl &&
|
|
139
139
|
(cdnUrl.includes('test.') ||
|
|
@@ -280,7 +280,20 @@ const initStripe = (maybeStripe, args, startTime) => {
|
|
|
280
280
|
|
|
281
281
|
// Execute our own script injection after a tick to give users time to do their
|
|
282
282
|
// own script injection.
|
|
283
|
-
const
|
|
283
|
+
const hasCheckoutCartCallback = () => {
|
|
284
|
+
var _a, _b;
|
|
285
|
+
return typeof window !== 'undefined' &&
|
|
286
|
+
(typeof ((_a = window.Zonos) === null || _a === void 0 ? void 0 : _a.createCartId) === 'function' ||
|
|
287
|
+
typeof ((_b = window.Zonos) === null || _b === void 0 ? void 0 : _b.buildCartDetail) === 'function');
|
|
288
|
+
};
|
|
289
|
+
const stripePromise = Promise.resolve().then(() => {
|
|
290
|
+
// Skip eagerly loading Stripe when no checkout cart callback is configured
|
|
291
|
+
// (e.g. a Hello-only integration). Stripe is loaded on demand instead.
|
|
292
|
+
if (!hasCheckoutCartCallback()) {
|
|
293
|
+
return null;
|
|
294
|
+
}
|
|
295
|
+
return zonosStripeLoadScript(null);
|
|
296
|
+
});
|
|
284
297
|
let loadCalled = false;
|
|
285
298
|
stripePromise.catch((err) => {
|
|
286
299
|
if (!loadCalled) {
|
|
@@ -289,9 +302,14 @@ stripePromise.catch((err) => {
|
|
|
289
302
|
}
|
|
290
303
|
});
|
|
291
304
|
const zonosLoadStripe = async (...args) => {
|
|
305
|
+
var _a;
|
|
292
306
|
loadCalled = true;
|
|
293
307
|
const startTime = Date.now();
|
|
294
|
-
|
|
308
|
+
// Fall back to loading Stripe on demand if the eager preload was skipped
|
|
309
|
+
// (callbacks set after the microtask, or Collect/Invoice flows that don't
|
|
310
|
+
// use cart callbacks). `zonosStripeLoadScript` is idempotent.
|
|
311
|
+
const maybeStripe = (_a = (await stripePromise)) !== null && _a !== void 0 ? _a : (await zonosStripeLoadScript(null));
|
|
312
|
+
return initStripe(maybeStripe, args, startTime);
|
|
295
313
|
};
|
|
296
314
|
|
|
297
315
|
const TEMP_CART_ID_QUERY_PARAM = 'tempCartUUID';
|
|
@@ -381,10 +399,10 @@ const zonosLoadUrl = (() => {
|
|
|
381
399
|
return null;
|
|
382
400
|
})();
|
|
383
401
|
const startLoadTime = Date.now();
|
|
384
|
-
const ZONOS_URL = "https://v1.3.
|
|
385
|
-
const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.
|
|
386
|
-
const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.
|
|
387
|
-
const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.
|
|
402
|
+
const ZONOS_URL = "https://v1.3.277.js.zonos.com";
|
|
403
|
+
const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.277";
|
|
404
|
+
const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.277";
|
|
405
|
+
const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.277";
|
|
388
406
|
const GOOGLE_FONT_URL = 'https://fonts.googleapis.com';
|
|
389
407
|
const GOOGLE_FONT_REGEX = /^https:\/\/fonts\.googleapis\.com/;
|
|
390
408
|
class Zonos {
|
|
@@ -402,7 +420,7 @@ Zonos.iframeLogType = typeof window !== 'undefined'
|
|
|
402
420
|
? new URLSearchParams(window.location.search).get('iframeLogType')
|
|
403
421
|
: null;
|
|
404
422
|
Zonos.isBigCommerce = false;
|
|
405
|
-
Zonos.releaseDate = "
|
|
423
|
+
Zonos.releaseDate = "1782835765706";
|
|
406
424
|
Zonos.isLegacyCheckout = false;
|
|
407
425
|
Zonos.googleAnalyticId = null;
|
|
408
426
|
Zonos.googleAnalyticReady = false;
|
|
@@ -427,7 +445,7 @@ Zonos.isNpm = true;
|
|
|
427
445
|
Zonos.zonosQaUrl = null;
|
|
428
446
|
Zonos.zonosQaUrlApi = null;
|
|
429
447
|
Zonos.trackEventLogs = [];
|
|
430
|
-
Zonos.version = `v${"1.3.
|
|
448
|
+
Zonos.version = `v${"1.3.277"}`;
|
|
431
449
|
Zonos.modeAlerted = false;
|
|
432
450
|
Zonos.cartData = null;
|
|
433
451
|
Zonos.paypal = null;
|
|
@@ -440,6 +458,11 @@ Zonos.logIntervalId = null;
|
|
|
440
458
|
Zonos.init = async (params) => {
|
|
441
459
|
const { appearance, checkoutSettings, currencyConverter, helloSettings, onCountryChange, overrideCurrencyFormat, storeId, zonosApiKey, } = params;
|
|
442
460
|
_a.cartId = getCartIdFromQueryParam();
|
|
461
|
+
// Expose the checkout cart callbacks on the global so Stripe loading can be
|
|
462
|
+
// gated on whether at least one of them is configured.
|
|
463
|
+
_a.createCartId = checkoutSettings === null || checkoutSettings === void 0 ? void 0 : checkoutSettings.createCartId;
|
|
464
|
+
// eslint-disable-next-line deprecation/deprecation -- intentionally mirror the (deprecated) callback so Stripe loading can be gated on it
|
|
465
|
+
_a.buildCartDetail = checkoutSettings === null || checkoutSettings === void 0 ? void 0 : checkoutSettings.buildCartDetail;
|
|
443
466
|
if (_a.doneInit) {
|
|
444
467
|
// do nothing if zonos is already initialized
|
|
445
468
|
return;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const zonosStore = require('./zonosStore-fee716c9.js');
|
|
4
|
-
const cart = require('./cart-
|
|
5
|
-
const localization = require('./localization-
|
|
4
|
+
const cart = require('./cart-65e8da66.js');
|
|
5
|
+
const localization = require('./localization-90650d7d.js');
|
|
6
6
|
const handleFetch = require('./handleFetch-954f30e1.js');
|
|
7
7
|
const VarianceTest = require('./VarianceTest-bec00ea8.js');
|
|
8
8
|
|
|
@@ -293,6 +293,9 @@ const stringsArabic = {
|
|
|
293
293
|
'Duties will apply to all orders.': {
|
|
294
294
|
value: 'ستنطبق الرسوم على جميع الطلبات.',
|
|
295
295
|
},
|
|
296
|
+
'Duties will be charged upon delivery.': {
|
|
297
|
+
value: 'سيتم فرض الرسوم عند التسليم.',
|
|
298
|
+
},
|
|
296
299
|
'Duties, taxes, and fees': {
|
|
297
300
|
value: 'الرسوم والضرائب والرسوم',
|
|
298
301
|
},
|
|
@@ -1149,6 +1152,9 @@ const stringsBase = {
|
|
|
1149
1152
|
'Duties will apply to all orders.': {
|
|
1150
1153
|
value: 'Duties will apply to all orders.',
|
|
1151
1154
|
},
|
|
1155
|
+
'Duties will be charged upon delivery.': {
|
|
1156
|
+
value: 'Duties will be charged upon delivery.',
|
|
1157
|
+
},
|
|
1152
1158
|
'Duties, taxes, and fees': {
|
|
1153
1159
|
value: 'Duties, taxes, and fees',
|
|
1154
1160
|
},
|
|
@@ -2004,6 +2010,9 @@ const stringsChinese = {
|
|
|
2004
2010
|
'Duties will apply to all orders.': {
|
|
2005
2011
|
value: '所有订单都将适用关税。',
|
|
2006
2012
|
},
|
|
2013
|
+
'Duties will be charged upon delivery.': {
|
|
2014
|
+
value: '关税将在交货时收取。',
|
|
2015
|
+
},
|
|
2007
2016
|
'Duties, taxes, and fees': {
|
|
2008
2017
|
value: '关税、税款和费用',
|
|
2009
2018
|
},
|
|
@@ -2859,6 +2868,9 @@ const stringsDanish = {
|
|
|
2859
2868
|
'Duties will apply to all orders.': {
|
|
2860
2869
|
value: 'Told vil gælde for alle ordrer.',
|
|
2861
2870
|
},
|
|
2871
|
+
'Duties will be charged upon delivery.': {
|
|
2872
|
+
value: 'Told vil blive opkrævet ved levering.',
|
|
2873
|
+
},
|
|
2862
2874
|
'Duties, taxes, and fees': {
|
|
2863
2875
|
value: 'Told, skatter og gebyrer',
|
|
2864
2876
|
},
|
|
@@ -3714,6 +3726,9 @@ const stringsDutch = {
|
|
|
3714
3726
|
'Duties will apply to all orders.': {
|
|
3715
3727
|
value: 'Invoerrechten zullen van toepassing zijn op alle bestellingen.',
|
|
3716
3728
|
},
|
|
3729
|
+
'Duties will be charged upon delivery.': {
|
|
3730
|
+
value: 'Invoerrechten worden bij levering in rekening gebracht.',
|
|
3731
|
+
},
|
|
3717
3732
|
'Duties, taxes, and fees': {
|
|
3718
3733
|
value: 'Heffingen, belastingen en kosten',
|
|
3719
3734
|
},
|
|
@@ -4569,6 +4584,9 @@ const stringsFrench = {
|
|
|
4569
4584
|
'Duties will apply to all orders.': {
|
|
4570
4585
|
value: "Des droits de douane s'appliqueront à toutes les commandes.",
|
|
4571
4586
|
},
|
|
4587
|
+
'Duties will be charged upon delivery.': {
|
|
4588
|
+
value: 'Les droits seront facturés à la livraison.',
|
|
4589
|
+
},
|
|
4572
4590
|
'Duties, taxes, and fees': {
|
|
4573
4591
|
value: 'Droits, taxes et frais',
|
|
4574
4592
|
},
|
|
@@ -5424,6 +5442,9 @@ const stringsGerman = {
|
|
|
5424
5442
|
'Duties will apply to all orders.': {
|
|
5425
5443
|
value: 'Zölle werden auf alle Bestellungen angewendet.',
|
|
5426
5444
|
},
|
|
5445
|
+
'Duties will be charged upon delivery.': {
|
|
5446
|
+
value: 'Zölle werden bei Lieferung berechnet.',
|
|
5447
|
+
},
|
|
5427
5448
|
'Duties, taxes, and fees': {
|
|
5428
5449
|
value: 'Zölle, Steuern und Gebühren',
|
|
5429
5450
|
},
|
|
@@ -6279,6 +6300,9 @@ const stringsHebrew = {
|
|
|
6279
6300
|
'Duties will apply to all orders.': {
|
|
6280
6301
|
value: 'חובות יחולו על כל ההזמנות.',
|
|
6281
6302
|
},
|
|
6303
|
+
'Duties will be charged upon delivery.': {
|
|
6304
|
+
value: 'מכס ייגבה בעת המסירה.',
|
|
6305
|
+
},
|
|
6282
6306
|
'Duties, taxes, and fees': {
|
|
6283
6307
|
value: 'מכס, מסים ועמלות',
|
|
6284
6308
|
},
|
|
@@ -7134,6 +7158,9 @@ const stringsIndonesian = {
|
|
|
7134
7158
|
'Duties will apply to all orders.': {
|
|
7135
7159
|
value: 'Bea akan berlaku untuk semua pesanan.',
|
|
7136
7160
|
},
|
|
7161
|
+
'Duties will be charged upon delivery.': {
|
|
7162
|
+
value: 'Bea akan dikenakan saat pengiriman.',
|
|
7163
|
+
},
|
|
7137
7164
|
'Duties, taxes, and fees': {
|
|
7138
7165
|
value: 'Bea masuk, pajak, dan biaya',
|
|
7139
7166
|
},
|
|
@@ -7989,6 +8016,9 @@ const stringsItalian = {
|
|
|
7989
8016
|
'Duties will apply to all orders.': {
|
|
7990
8017
|
value: 'I dazi si applicheranno a tutti gli ordini.',
|
|
7991
8018
|
},
|
|
8019
|
+
'Duties will be charged upon delivery.': {
|
|
8020
|
+
value: 'I dazi saranno addebitati alla consegna.',
|
|
8021
|
+
},
|
|
7992
8022
|
'Duties, taxes, and fees': {
|
|
7993
8023
|
value: 'Dazi, tasse e spese',
|
|
7994
8024
|
},
|
|
@@ -8844,6 +8874,9 @@ const stringsJapanese = {
|
|
|
8844
8874
|
'Duties will apply to all orders.': {
|
|
8845
8875
|
value: 'すべての注文に関税が適用されます。',
|
|
8846
8876
|
},
|
|
8877
|
+
'Duties will be charged upon delivery.': {
|
|
8878
|
+
value: '配達時に関税が請求されます。',
|
|
8879
|
+
},
|
|
8847
8880
|
'Duties, taxes, and fees': {
|
|
8848
8881
|
value: '関税、税金、手数料',
|
|
8849
8882
|
},
|
|
@@ -9699,6 +9732,9 @@ const stringsKorean = {
|
|
|
9699
9732
|
'Duties will apply to all orders.': {
|
|
9700
9733
|
value: '모든 주문에 관세가 적용됩니다.',
|
|
9701
9734
|
},
|
|
9735
|
+
'Duties will be charged upon delivery.': {
|
|
9736
|
+
value: '관세는 배송 시 부과됩니다.',
|
|
9737
|
+
},
|
|
9702
9738
|
'Duties, taxes, and fees': {
|
|
9703
9739
|
value: '관세, 세금 및 수수료',
|
|
9704
9740
|
},
|
|
@@ -10554,6 +10590,9 @@ const stringsNorwegian = {
|
|
|
10554
10590
|
'Duties will apply to all orders.': {
|
|
10555
10591
|
value: 'Avgifter vil gjelde for alle bestillinger.',
|
|
10556
10592
|
},
|
|
10593
|
+
'Duties will be charged upon delivery.': {
|
|
10594
|
+
value: 'Avgifter vil bli belastet ved levering.',
|
|
10595
|
+
},
|
|
10557
10596
|
'Duties, taxes, and fees': {
|
|
10558
10597
|
value: 'Avgifter, skatter og gebyrer',
|
|
10559
10598
|
},
|
|
@@ -11409,6 +11448,9 @@ const stringsPolish = {
|
|
|
11409
11448
|
'Duties will apply to all orders.': {
|
|
11410
11449
|
value: 'Cła będą miały zastosowanie do wszystkich zamówień.',
|
|
11411
11450
|
},
|
|
11451
|
+
'Duties will be charged upon delivery.': {
|
|
11452
|
+
value: 'Cła zostaną naliczone przy dostawie.',
|
|
11453
|
+
},
|
|
11412
11454
|
'Duties, taxes, and fees': {
|
|
11413
11455
|
value: 'Cła, podatki i opłaty',
|
|
11414
11456
|
},
|
|
@@ -12264,6 +12306,9 @@ const stringsPortuguese = {
|
|
|
12264
12306
|
'Duties will apply to all orders.': {
|
|
12265
12307
|
value: 'Impostos serão aplicados a todos os pedidos.',
|
|
12266
12308
|
},
|
|
12309
|
+
'Duties will be charged upon delivery.': {
|
|
12310
|
+
value: 'As taxas serão cobradas na entrega.',
|
|
12311
|
+
},
|
|
12267
12312
|
'Duties, taxes, and fees': {
|
|
12268
12313
|
value: 'Impostos, taxas e emolumentos',
|
|
12269
12314
|
},
|
|
@@ -13119,6 +13164,9 @@ const stringsRussian = {
|
|
|
13119
13164
|
'Duties will apply to all orders.': {
|
|
13120
13165
|
value: 'Пошлины будут применяться ко всем заказам.',
|
|
13121
13166
|
},
|
|
13167
|
+
'Duties will be charged upon delivery.': {
|
|
13168
|
+
value: 'Пошлины будут взиматься при доставке.',
|
|
13169
|
+
},
|
|
13122
13170
|
'Duties, taxes, and fees': {
|
|
13123
13171
|
value: 'Пошлины, налоги и сборы',
|
|
13124
13172
|
},
|
|
@@ -13974,6 +14022,9 @@ const stringsSpanish = {
|
|
|
13974
14022
|
'Duties will apply to all orders.': {
|
|
13975
14023
|
value: 'Se aplicarán aranceles a todos los pedidos.',
|
|
13976
14024
|
},
|
|
14025
|
+
'Duties will be charged upon delivery.': {
|
|
14026
|
+
value: 'Los aranceles se cobrarán al momento de la entrega.',
|
|
14027
|
+
},
|
|
13977
14028
|
'Duties, taxes, and fees': {
|
|
13978
14029
|
value: 'Aranceles, impuestos y cuotas',
|
|
13979
14030
|
},
|
|
@@ -14829,6 +14880,9 @@ const stringsSwedish = {
|
|
|
14829
14880
|
'Duties will apply to all orders.': {
|
|
14830
14881
|
value: 'Tullar kommer att gälla för alla beställningar.',
|
|
14831
14882
|
},
|
|
14883
|
+
'Duties will be charged upon delivery.': {
|
|
14884
|
+
value: 'Tullar debiteras vid leverans.',
|
|
14885
|
+
},
|
|
14832
14886
|
'Duties, taxes, and fees': {
|
|
14833
14887
|
value: 'Tull, skatter och avgifter',
|
|
14834
14888
|
},
|
|
@@ -15684,6 +15738,9 @@ const stringsTurkish = {
|
|
|
15684
15738
|
'Duties will apply to all orders.': {
|
|
15685
15739
|
value: 'Tüm siparişlere gümrük vergisi uygulanacaktır.',
|
|
15686
15740
|
},
|
|
15741
|
+
'Duties will be charged upon delivery.': {
|
|
15742
|
+
value: 'Harçlar teslimatta tahsil edilecektir.',
|
|
15743
|
+
},
|
|
15687
15744
|
'Duties, taxes, and fees': {
|
|
15688
15745
|
value: 'Gümrük vergisi, vergiler ve ücretler',
|
|
15689
15746
|
},
|
|
@@ -16539,6 +16596,9 @@ const stringsVietnamese = {
|
|
|
16539
16596
|
'Duties will apply to all orders.': {
|
|
16540
16597
|
value: 'Thuế sẽ áp dụng cho tất cả các đơn hàng.',
|
|
16541
16598
|
},
|
|
16599
|
+
'Duties will be charged upon delivery.': {
|
|
16600
|
+
value: 'Thuế sẽ được tính khi giao hàng.',
|
|
16601
|
+
},
|
|
16542
16602
|
'Duties, taxes, and fees': {
|
|
16543
16603
|
value: 'Thuế, phí và lệ phí',
|
|
16544
16604
|
},
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const zonosStore = require('./zonosStore-fee716c9.js');
|
|
4
|
-
const cart = require('./cart-
|
|
5
|
-
const localization = require('./localization-
|
|
4
|
+
const cart = require('./cart-65e8da66.js');
|
|
5
|
+
const localization = require('./localization-90650d7d.js');
|
|
6
6
|
const handleFetch = require('./handleFetch-954f30e1.js');
|
|
7
7
|
const isContrastColor = require('./isContrastColor-ef24b7aa.js');
|
|
8
8
|
const VarianceTest = require('./VarianceTest-bec00ea8.js');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const cart = require('./cart-
|
|
4
|
-
const localization = require('./localization-
|
|
3
|
+
const cart = require('./cart-65e8da66.js');
|
|
4
|
+
const localization = require('./localization-90650d7d.js');
|
|
5
5
|
const handleFetch = require('./handleFetch-954f30e1.js');
|
|
6
6
|
|
|
7
7
|
const placeTestOrder = async () => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const cart = require('./cart-
|
|
4
|
-
const localization = require('./localization-
|
|
3
|
+
const cart = require('./cart-65e8da66.js');
|
|
4
|
+
const localization = require('./localization-90650d7d.js');
|
|
5
5
|
|
|
6
6
|
const getDisplayCurrency = () => {
|
|
7
7
|
var _a, _b;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b1f95d96.js');
|
|
6
|
-
const localization = require('./localization-
|
|
6
|
+
const localization = require('./localization-90650d7d.js');
|
|
7
7
|
const containsNonLatinChars = require('./containsNonLatinChars-2be5129b.js');
|
|
8
|
-
const cart = require('./cart-
|
|
8
|
+
const cart = require('./cart-65e8da66.js');
|
|
9
9
|
const classes = require('./classes-b7918f56.js');
|
|
10
10
|
const getBorderRadius = require('./getBorderRadius-4da24d7c.js');
|
|
11
11
|
const zonosStore = require('./zonosStore-fee716c9.js');
|
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b1f95d96.js');
|
|
6
6
|
const throttle = require('./throttle-34f7abf1.js');
|
|
7
|
-
const cart = require('./cart-
|
|
8
|
-
const localization = require('./localization-
|
|
7
|
+
const cart = require('./cart-65e8da66.js');
|
|
8
|
+
const localization = require('./localization-90650d7d.js');
|
|
9
9
|
const zonosStore = require('./zonosStore-fee716c9.js');
|
|
10
10
|
const handleFetch = require('./handleFetch-954f30e1.js');
|
|
11
11
|
const shouldRenderTaxIdInput = require('./shouldRenderTaxIdInput-b8abf6de.js');
|
|
@@ -3,14 +3,15 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b1f95d96.js');
|
|
6
|
-
const collect = require('./collect-
|
|
7
|
-
const cart = require('./cart-
|
|
8
|
-
const localization = require('./localization-
|
|
6
|
+
const collect = require('./collect-37c177ab.js');
|
|
7
|
+
const cart = require('./cart-65e8da66.js');
|
|
8
|
+
const localization = require('./localization-90650d7d.js');
|
|
9
9
|
const zonosStore = require('./zonosStore-fee716c9.js');
|
|
10
10
|
const VarianceTest = require('./VarianceTest-bec00ea8.js');
|
|
11
11
|
const handleFetch = require('./handleFetch-954f30e1.js');
|
|
12
12
|
require('./isDarkColor-ebc74b4d.js');
|
|
13
13
|
require('./getBorderRadius-4da24d7c.js');
|
|
14
|
+
require('./TaxId-12acedde.js');
|
|
14
15
|
|
|
15
16
|
const zonosAirwallexPaymentCss = ".sc-zonos-airwallex-payment-h{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}.sc-zonos-airwallex-payment-h *.sc-zonos-airwallex-payment{font-family:var(--zonos--font-family, Inter), Inter}.sc-zonos-airwallex-payment-h img.sc-zonos-airwallex-payment{max-width:100%}.sc-zonos-airwallex-payment-h dl.sc-zonos-airwallex-payment,.sc-zonos-airwallex-payment-h dd.sc-zonos-airwallex-payment,.sc-zonos-airwallex-payment-h h1.sc-zonos-airwallex-payment,.sc-zonos-airwallex-payment-h h2.sc-zonos-airwallex-payment,.sc-zonos-airwallex-payment-h h3.sc-zonos-airwallex-payment,.sc-zonos-airwallex-payment-h h4.sc-zonos-airwallex-payment,.sc-zonos-airwallex-payment-h h5.sc-zonos-airwallex-payment,.sc-zonos-airwallex-payment-h h6.sc-zonos-airwallex-payment,.sc-zonos-airwallex-payment-h hr.sc-zonos-airwallex-payment,.sc-zonos-airwallex-payment-h figure.sc-zonos-airwallex-payment,.sc-zonos-airwallex-payment-h p.sc-zonos-airwallex-payment,.sc-zonos-airwallex-payment-h pre.sc-zonos-airwallex-payment{margin:0}.sc-zonos-airwallex-payment-h{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.sc-zonos-airwallex-payment-h{display:block}.sc-zonos-airwallex-payment-h .zonos--payment-error-banner.sc-zonos-airwallex-payment{margin-bottom:16px}.sc-zonos-airwallex-payment-h .zonos--airwallex-payment-component.sc-zonos-airwallex-payment{margin-bottom:4px;min-height:40px}";
|
|
16
17
|
const ZonosAirwallexPaymentStyle0 = zonosAirwallexPaymentCss;
|
|
@@ -6,12 +6,13 @@ const index = require('./index-b1f95d96.js');
|
|
|
6
6
|
const zonosStore = require('./zonosStore-fee716c9.js');
|
|
7
7
|
const classes = require('./classes-b7918f56.js');
|
|
8
8
|
const getBorderRadius = require('./getBorderRadius-4da24d7c.js');
|
|
9
|
-
const cart = require('./cart-
|
|
10
|
-
const localization = require('./localization-
|
|
9
|
+
const cart = require('./cart-65e8da66.js');
|
|
10
|
+
const localization = require('./localization-90650d7d.js');
|
|
11
11
|
const handleFetch = require('./handleFetch-954f30e1.js');
|
|
12
|
-
const paypal = require('./paypal-
|
|
12
|
+
const paypal = require('./paypal-1952f6ec.js');
|
|
13
13
|
const VarianceTest = require('./VarianceTest-bec00ea8.js');
|
|
14
14
|
require('./isDarkColor-ebc74b4d.js');
|
|
15
|
+
require('./TaxId-12acedde.js');
|
|
15
16
|
require('./isContrastColor-ef24b7aa.js');
|
|
16
17
|
require('./submitGtag-74762255.js');
|
|
17
18
|
|