@zonos/elements 1.3.275 → 1.3.276
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 +7 -7
- 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 +3 -2
- 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 +1 -1
- 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/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 +7 -7
- 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 +3 -2
- 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 +11 -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/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-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-67dac4e5.system.entry.js +1 -0
- 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-e562d953.system.js → p-6f324051.system.js} +1 -1
- package/dist/zonos-elements/p-77ac8bfe.entry.js +1 -0
- package/dist/zonos-elements/p-82341c15.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-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-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-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,9 +1,10 @@
|
|
|
1
1
|
import { c as createStore, z as zonosStore } from './zonosStore-b7d3f9b0.js';
|
|
2
|
-
import { s as storageStore, t as translate, l as localizationStore, j as getOverridenZCountry, f as filterValidTests, d as storageStoreSetEnabledVariantTestKeys } from './localization-
|
|
2
|
+
import { s as storageStore, t as translate, l as localizationStore, j as getOverridenZCountry, f as filterValidTests, d as storageStoreSetEnabledVariantTestKeys } from './localization-d49867ed.js';
|
|
3
3
|
import { l as log, b as allLogs } from './VarianceTest-572cecf5.js';
|
|
4
4
|
import { h as handleFetch, l as logError, f as fallbackApiList, g as getIsTestMode, a as getIsStagingMode, s as sendErrorLog, j as jsonParse } from './handleFetch-a844cac1.js';
|
|
5
5
|
import { i as isDarkColor } from './isDarkColor-039ef212.js';
|
|
6
6
|
import { g as getBorderRadius } from './getBorderRadius-dc982fe6.js';
|
|
7
|
+
import { e as euCountryCodes } from './TaxId-50d72254.js';
|
|
7
8
|
|
|
8
9
|
const getCheckoutSession = async () => {
|
|
9
10
|
if (!storageStore.checkoutSessionId) {
|
|
@@ -2179,6 +2180,21 @@ stripeStoreOnChange('clientSecret', clientSecret => {
|
|
|
2179
2180
|
}
|
|
2180
2181
|
});
|
|
2181
2182
|
|
|
2183
|
+
/**
|
|
2184
|
+
* EU 3-EUR cutover (05CHECK-893): when shipping to an EU country with a POSTAL
|
|
2185
|
+
* service level whose DAP landed cost has remittance available, we keep treating
|
|
2186
|
+
* the quote as DAP (duties paid upon delivery) instead of converting it to DDP.
|
|
2187
|
+
* The cart subtotals then show taxes and fees as collected while duties are
|
|
2188
|
+
* estimated and paid on delivery.
|
|
2189
|
+
*
|
|
2190
|
+
* @see [[cartStoreGetMethod]] for the DAP/DDP conversion this guards.
|
|
2191
|
+
*/
|
|
2192
|
+
const isEuDapRemittance = ({ deliveryType, landedCost, shipToCountry, }) => landedCost.method === 'DAP' &&
|
|
2193
|
+
deliveryType === 'POSTAL' &&
|
|
2194
|
+
landedCost.remittance.length > 0 &&
|
|
2195
|
+
!!shipToCountry &&
|
|
2196
|
+
euCountryCodes.includes(shipToCountry);
|
|
2197
|
+
|
|
2182
2198
|
const { onChange: cartStoreOnChange, reset, state: cartStore, } = createStore(() => ({
|
|
2183
2199
|
addressFormRenderType: 'stripe',
|
|
2184
2200
|
adjustmentTotal: 0,
|
|
@@ -2453,13 +2469,22 @@ const cartStoreReCalculateTotal = async ({ adjustmentsAmount, cartId, currency,
|
|
|
2453
2469
|
/**
|
|
2454
2470
|
* 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
|
|
2455
2471
|
*/
|
|
2456
|
-
const cartStoreGetMethod = (landedCost) => {
|
|
2457
|
-
var _a, _b, _c;
|
|
2472
|
+
const cartStoreGetMethod = (landedCost, deliveryType) => {
|
|
2473
|
+
var _a, _b, _c, _d;
|
|
2458
2474
|
// 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
|
|
2459
2475
|
if (landedCost.method === 'DAP' &&
|
|
2460
2476
|
((_b = (_a = 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'))) {
|
|
2461
2477
|
return 'DDP';
|
|
2462
2478
|
}
|
|
2479
|
+
// EU 3-EUR cutover (05CHECK-893): keep EU POSTAL remittance quotes as DAP so
|
|
2480
|
+
// the shopper is told duties are paid upon delivery, even though we remit.
|
|
2481
|
+
if (isEuDapRemittance({
|
|
2482
|
+
deliveryType,
|
|
2483
|
+
landedCost,
|
|
2484
|
+
shipToCountry: (_d = stripeStore.stripeAddressEventData) === null || _d === void 0 ? void 0 : _d.value.address.country,
|
|
2485
|
+
})) {
|
|
2486
|
+
return 'DAP';
|
|
2487
|
+
}
|
|
2463
2488
|
if (landedCost.method === 'DAP' &&
|
|
2464
2489
|
landedCost.remittance.length &&
|
|
2465
2490
|
landedCost.landedCostGuaranteeCode === 'ZONOS') {
|
|
@@ -2468,7 +2493,7 @@ const cartStoreGetMethod = (landedCost) => {
|
|
|
2468
2493
|
return landedCost.method;
|
|
2469
2494
|
};
|
|
2470
2495
|
const cartStoreUpdateSelectedShippingOption = async ({ applySubtotalsOnly, landedCostId, selectedShippingOption, }) => {
|
|
2471
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
2496
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
2472
2497
|
log('Updating selected shipping option', 'info', {
|
|
2473
2498
|
landedCostId,
|
|
2474
2499
|
selectedShippingOption,
|
|
@@ -2498,13 +2523,13 @@ const cartStoreUpdateSelectedShippingOption = async ({ applySubtotalsOnly, lande
|
|
|
2498
2523
|
if (dutiesTaxesFeesEstimate) {
|
|
2499
2524
|
log(`DAP quote, using estimate: ${dutiesTaxesFeesEstimate}`, 'info');
|
|
2500
2525
|
}
|
|
2501
|
-
cartStore.landedCostMethod = cartStoreGetMethod(selectedLandedCost.landedCost);
|
|
2526
|
+
cartStore.landedCostMethod = cartStoreGetMethod(selectedLandedCost.landedCost, (_c = selectedShippingOption.shippingProfile) === null || _c === void 0 ? void 0 : _c.serviceLevel.deliveryType);
|
|
2502
2527
|
// update shipping value and dutiesTaxFees on selectedShippingOption change
|
|
2503
2528
|
cartStore.shipping = selectedLandedCost.subtotals.shipping;
|
|
2504
2529
|
// update deminimis status
|
|
2505
|
-
const isGuarantee = ((
|
|
2530
|
+
const isGuarantee = ((_d = selectedLandedCost === null || selectedLandedCost === void 0 ? void 0 : selectedLandedCost.landedCost) === null || _d === void 0 ? void 0 : _d.landedCostGuaranteeCode) === 'ZONOS';
|
|
2506
2531
|
// one item in deminimis with type of duty and tax has threshold value is "ABOVE"
|
|
2507
|
-
const isAboveDeminimis = !!((
|
|
2532
|
+
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'));
|
|
2508
2533
|
cartStore.isSelectedShippingAboveDeminimis = isAboveDeminimis;
|
|
2509
2534
|
cartStore.isSelectedShippingGuarantee = isGuarantee;
|
|
2510
2535
|
let updateCalculateStatus = false;
|
|
@@ -2529,22 +2554,22 @@ const cartStoreUpdateSelectedShippingOption = async ({ applySubtotalsOnly, lande
|
|
|
2529
2554
|
billToPartyId: stripeStore.partyBillingId,
|
|
2530
2555
|
cartId: window.Zonos.cartId,
|
|
2531
2556
|
dutiesTaxesFeesEstimate: dutiesTaxesFeesEstimate,
|
|
2532
|
-
landedCostId: (
|
|
2557
|
+
landedCostId: (_g = selectedLandedCost.landedCost) === null || _g === void 0 ? void 0 : _g.id,
|
|
2533
2558
|
shipToPartyId: stripeStore.partyShippingId,
|
|
2534
2559
|
varianceTestInput: storageStore.enabledVariantTestKeys || [],
|
|
2535
2560
|
});
|
|
2536
2561
|
}
|
|
2537
2562
|
// update conditionally render pay in USD button
|
|
2538
|
-
const firstItem = (
|
|
2563
|
+
const firstItem = (_h = cartStore.items.find(Boolean)) === null || _h === void 0 ? void 0 : _h.currencyCode;
|
|
2539
2564
|
// Stripe address event data should be available at this point
|
|
2540
|
-
const shipToCountry = ((
|
|
2565
|
+
const shipToCountry = ((_j = stripeStore.stripeAddressEventData) === null || _j === void 0 ? void 0 : _j.value.address.country) || 'US';
|
|
2541
2566
|
// 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
|
|
2542
2567
|
stripeStore.shouldRenderPayInUsdButton =
|
|
2543
2568
|
firstItem === 'USD' &&
|
|
2544
2569
|
zonosStore.checkoutSettings.allowedSettlementCurrencies ===
|
|
2545
2570
|
'LOCAL_AND_USD' &&
|
|
2546
|
-
((
|
|
2547
|
-
!!((
|
|
2571
|
+
((_k = cartStore.checkoutSession) === null || _k === void 0 ? void 0 : _k.subtotals.presentmentCurrencyCode) !== 'USD' &&
|
|
2572
|
+
!!((_m = (_l = zonosStore.genericSettings) === null || _l === void 0 ? void 0 : _l.usdSettlementCountryEnabled) === null || _m === void 0 ? void 0 : _m.includes(shipToCountry));
|
|
2548
2573
|
return updateCalculateStatus;
|
|
2549
2574
|
};
|
|
2550
2575
|
const cartStoreStartCheckoutInterval = ({ isPreview, sessionTimeout, }) => {
|
|
@@ -2699,4 +2724,4 @@ const cartStoreUpdateStoreCredit = () => {
|
|
|
2699
2724
|
}, 300);
|
|
2700
2725
|
};
|
|
2701
2726
|
|
|
2702
|
-
export {
|
|
2727
|
+
export { storeCreditStoreSetEnabled as $, validateCheckoutSession as A, storeCreditStoreCreateOrder as B, stripeStoreConfirmPayment as C, stripeStoreHandleInventoryRefund as D, policyConsentStore as E, stripeStoreReset as F, cartStoreOnChange as G, stripeStoreOnChange as H, storeCreditStoreGetEffectiveAmount as I, stripeStoreRecordPolicyConsent as J, stripeStoreBuildAddressForPartyCreate as K, cartStoreUpdateSelectedShippingOption as L, cartStoreHasOneEligibleItem as M, isEuDapRemittance as N, stripeStoreApplyPromoCode as O, stripeStoreRemovePromoCode as P, stripeStoreResetPromoCode as Q, stripeStoreMessageBasedOnStatus as R, storeCreditStore as S, storeCreditStoreReset as T, stripeStoreTranslateAddressToLatin as U, extractName as V, stripeStoreAsyncAddressUpdate as W, cartStoreGetShippingTransitInfo as X, cartStoreGetMethod as Y, sortServiceLevelOptionsByAmount as Z, getEnabledPolicies as _, stripeStoreSaveDomesticShippingSession as a, storeCreditStoreSetUseFullBalance as a0, cartStoreUpdateStoreCredit as a1, storeCreditStoreSetAmount as a2, storeCreditStoreRefreshBalance as a3, stripeStore as b, stripeStoreRetrievePayment as c, cartStore as d, cartStoreUpdateItems as e, cartStoreReset as f, cartStoreResetTabItems as g, cartStoreClearCheckoutInterval as h, initStripeElements as i, stripeStoreInitCheckoutSession as j, stripeStoreGetPaymentIntent as k, cartStoreStartCheckoutInterval as l, getCheckoutSessionBody as m, cartStoreUpdateToErrorState as n, stripeStoreCleanupDomesticShippingSession as o, policyConsentStoreReset as p, cartStoreSetCheckoutSession as q, stripeStorePrefetchLandedCost as r, stripeStoreGetDomesticShippingSession as s, trackConversionEvent as t, cartStoreNextStep as u, isPolicyConsentRequired as v, stripeStoreUpdateCheckoutSessionBaseCurrency as w, stripeStoreHandleInventoryCheck as x, storeCreditStoreApplyCredit as y, storeCreditStoreCoversFullAmount as z };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { c as createStore, z as zonosStore } from './zonosStore-b7d3f9b0.js';
|
|
2
|
-
import { t as translate, l as localizationStore, s as storageStore } from './localization-
|
|
2
|
+
import { t as translate, l as localizationStore, s as storageStore } from './localization-d49867ed.js';
|
|
3
3
|
import { l as logError$1, h as handleFetch, s as sendErrorLog } from './handleFetch-a844cac1.js';
|
|
4
4
|
import { l as log, b as allLogs } from './VarianceTest-572cecf5.js';
|
|
5
|
-
import { b as stripeStore, K as stripeStoreBuildAddressForPartyCreate, d as cartStore, L as cartStoreUpdateSelectedShippingOption } from './cart-
|
|
5
|
+
import { b as stripeStore, K as stripeStoreBuildAddressForPartyCreate, d as cartStore, L as cartStoreUpdateSelectedShippingOption } from './cart-402dcde5.js';
|
|
6
6
|
|
|
7
7
|
// src/constant/common.ts
|
|
8
8
|
function _array_like_to_array(arr, len) {
|
package/dist/esm/index.js
CHANGED
|
@@ -131,7 +131,7 @@ const getZonosQaUrl = () => {
|
|
|
131
131
|
return null;
|
|
132
132
|
}
|
|
133
133
|
const qaUrl = extractZonosQaUrl(window.location.href);
|
|
134
|
-
const cdnUrl = "https://v1.3.
|
|
134
|
+
const cdnUrl = "https://v1.3.276.js.zonos.com";
|
|
135
135
|
// when the qaUrl is not set and the built URL is from the test domain, use the test domain for testing
|
|
136
136
|
if (!qaUrl &&
|
|
137
137
|
(cdnUrl.includes('test.') ||
|
|
@@ -379,10 +379,10 @@ const zonosLoadUrl = (() => {
|
|
|
379
379
|
return null;
|
|
380
380
|
})();
|
|
381
381
|
const startLoadTime = Date.now();
|
|
382
|
-
const ZONOS_URL = "https://v1.3.
|
|
383
|
-
const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.
|
|
384
|
-
const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.
|
|
385
|
-
const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.
|
|
382
|
+
const ZONOS_URL = "https://v1.3.276.js.zonos.com";
|
|
383
|
+
const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.276";
|
|
384
|
+
const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.276";
|
|
385
|
+
const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.276";
|
|
386
386
|
const GOOGLE_FONT_URL = 'https://fonts.googleapis.com';
|
|
387
387
|
const GOOGLE_FONT_REGEX = /^https:\/\/fonts\.googleapis\.com/;
|
|
388
388
|
class Zonos {
|
|
@@ -400,7 +400,7 @@ Zonos.iframeLogType = typeof window !== 'undefined'
|
|
|
400
400
|
? new URLSearchParams(window.location.search).get('iframeLogType')
|
|
401
401
|
: null;
|
|
402
402
|
Zonos.isBigCommerce = false;
|
|
403
|
-
Zonos.releaseDate = "
|
|
403
|
+
Zonos.releaseDate = "1782615830331";
|
|
404
404
|
Zonos.isLegacyCheckout = false;
|
|
405
405
|
Zonos.googleAnalyticId = null;
|
|
406
406
|
Zonos.googleAnalyticReady = false;
|
|
@@ -425,7 +425,7 @@ Zonos.isNpm = true;
|
|
|
425
425
|
Zonos.zonosQaUrl = null;
|
|
426
426
|
Zonos.zonosQaUrlApi = null;
|
|
427
427
|
Zonos.trackEventLogs = [];
|
|
428
|
-
Zonos.version = `v${"1.3.
|
|
428
|
+
Zonos.version = `v${"1.3.276"}`;
|
|
429
429
|
Zonos.modeAlerted = false;
|
|
430
430
|
Zonos.cartData = null;
|
|
431
431
|
Zonos.paypal = null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as createStore, z as zonosStore } from './zonosStore-b7d3f9b0.js';
|
|
2
|
-
import { b as stripeStore, K as stripeStoreBuildAddressForPartyCreate, d as cartStore, L as cartStoreUpdateSelectedShippingOption } from './cart-
|
|
3
|
-
import { s as storageStore } from './localization-
|
|
2
|
+
import { b as stripeStore, K as stripeStoreBuildAddressForPartyCreate, d as cartStore, L as cartStoreUpdateSelectedShippingOption } from './cart-402dcde5.js';
|
|
3
|
+
import { s as storageStore } from './localization-d49867ed.js';
|
|
4
4
|
import { h as handleFetch, s as sendErrorLog, l as logError } from './handleFetch-a844cac1.js';
|
|
5
5
|
import { b as allLogs } from './VarianceTest-572cecf5.js';
|
|
6
6
|
|
|
@@ -291,6 +291,9 @@ const stringsArabic = {
|
|
|
291
291
|
'Duties will apply to all orders.': {
|
|
292
292
|
value: 'ستنطبق الرسوم على جميع الطلبات.',
|
|
293
293
|
},
|
|
294
|
+
'Duties will be charged upon delivery.': {
|
|
295
|
+
value: 'سيتم فرض الرسوم عند التسليم.',
|
|
296
|
+
},
|
|
294
297
|
'Duties, taxes, and fees': {
|
|
295
298
|
value: 'الرسوم والضرائب والرسوم',
|
|
296
299
|
},
|
|
@@ -1147,6 +1150,9 @@ const stringsBase = {
|
|
|
1147
1150
|
'Duties will apply to all orders.': {
|
|
1148
1151
|
value: 'Duties will apply to all orders.',
|
|
1149
1152
|
},
|
|
1153
|
+
'Duties will be charged upon delivery.': {
|
|
1154
|
+
value: 'Duties will be charged upon delivery.',
|
|
1155
|
+
},
|
|
1150
1156
|
'Duties, taxes, and fees': {
|
|
1151
1157
|
value: 'Duties, taxes, and fees',
|
|
1152
1158
|
},
|
|
@@ -2002,6 +2008,9 @@ const stringsChinese = {
|
|
|
2002
2008
|
'Duties will apply to all orders.': {
|
|
2003
2009
|
value: '所有订单都将适用关税。',
|
|
2004
2010
|
},
|
|
2011
|
+
'Duties will be charged upon delivery.': {
|
|
2012
|
+
value: '关税将在交货时收取。',
|
|
2013
|
+
},
|
|
2005
2014
|
'Duties, taxes, and fees': {
|
|
2006
2015
|
value: '关税、税款和费用',
|
|
2007
2016
|
},
|
|
@@ -2857,6 +2866,9 @@ const stringsDanish = {
|
|
|
2857
2866
|
'Duties will apply to all orders.': {
|
|
2858
2867
|
value: 'Told vil gælde for alle ordrer.',
|
|
2859
2868
|
},
|
|
2869
|
+
'Duties will be charged upon delivery.': {
|
|
2870
|
+
value: 'Told vil blive opkrævet ved levering.',
|
|
2871
|
+
},
|
|
2860
2872
|
'Duties, taxes, and fees': {
|
|
2861
2873
|
value: 'Told, skatter og gebyrer',
|
|
2862
2874
|
},
|
|
@@ -3712,6 +3724,9 @@ const stringsDutch = {
|
|
|
3712
3724
|
'Duties will apply to all orders.': {
|
|
3713
3725
|
value: 'Invoerrechten zullen van toepassing zijn op alle bestellingen.',
|
|
3714
3726
|
},
|
|
3727
|
+
'Duties will be charged upon delivery.': {
|
|
3728
|
+
value: 'Invoerrechten worden bij levering in rekening gebracht.',
|
|
3729
|
+
},
|
|
3715
3730
|
'Duties, taxes, and fees': {
|
|
3716
3731
|
value: 'Heffingen, belastingen en kosten',
|
|
3717
3732
|
},
|
|
@@ -4567,6 +4582,9 @@ const stringsFrench = {
|
|
|
4567
4582
|
'Duties will apply to all orders.': {
|
|
4568
4583
|
value: "Des droits de douane s'appliqueront à toutes les commandes.",
|
|
4569
4584
|
},
|
|
4585
|
+
'Duties will be charged upon delivery.': {
|
|
4586
|
+
value: 'Les droits seront facturés à la livraison.',
|
|
4587
|
+
},
|
|
4570
4588
|
'Duties, taxes, and fees': {
|
|
4571
4589
|
value: 'Droits, taxes et frais',
|
|
4572
4590
|
},
|
|
@@ -5422,6 +5440,9 @@ const stringsGerman = {
|
|
|
5422
5440
|
'Duties will apply to all orders.': {
|
|
5423
5441
|
value: 'Zölle werden auf alle Bestellungen angewendet.',
|
|
5424
5442
|
},
|
|
5443
|
+
'Duties will be charged upon delivery.': {
|
|
5444
|
+
value: 'Zölle werden bei Lieferung berechnet.',
|
|
5445
|
+
},
|
|
5425
5446
|
'Duties, taxes, and fees': {
|
|
5426
5447
|
value: 'Zölle, Steuern und Gebühren',
|
|
5427
5448
|
},
|
|
@@ -6277,6 +6298,9 @@ const stringsHebrew = {
|
|
|
6277
6298
|
'Duties will apply to all orders.': {
|
|
6278
6299
|
value: 'חובות יחולו על כל ההזמנות.',
|
|
6279
6300
|
},
|
|
6301
|
+
'Duties will be charged upon delivery.': {
|
|
6302
|
+
value: 'מכס ייגבה בעת המסירה.',
|
|
6303
|
+
},
|
|
6280
6304
|
'Duties, taxes, and fees': {
|
|
6281
6305
|
value: 'מכס, מסים ועמלות',
|
|
6282
6306
|
},
|
|
@@ -7132,6 +7156,9 @@ const stringsIndonesian = {
|
|
|
7132
7156
|
'Duties will apply to all orders.': {
|
|
7133
7157
|
value: 'Bea akan berlaku untuk semua pesanan.',
|
|
7134
7158
|
},
|
|
7159
|
+
'Duties will be charged upon delivery.': {
|
|
7160
|
+
value: 'Bea akan dikenakan saat pengiriman.',
|
|
7161
|
+
},
|
|
7135
7162
|
'Duties, taxes, and fees': {
|
|
7136
7163
|
value: 'Bea masuk, pajak, dan biaya',
|
|
7137
7164
|
},
|
|
@@ -7987,6 +8014,9 @@ const stringsItalian = {
|
|
|
7987
8014
|
'Duties will apply to all orders.': {
|
|
7988
8015
|
value: 'I dazi si applicheranno a tutti gli ordini.',
|
|
7989
8016
|
},
|
|
8017
|
+
'Duties will be charged upon delivery.': {
|
|
8018
|
+
value: 'I dazi saranno addebitati alla consegna.',
|
|
8019
|
+
},
|
|
7990
8020
|
'Duties, taxes, and fees': {
|
|
7991
8021
|
value: 'Dazi, tasse e spese',
|
|
7992
8022
|
},
|
|
@@ -8842,6 +8872,9 @@ const stringsJapanese = {
|
|
|
8842
8872
|
'Duties will apply to all orders.': {
|
|
8843
8873
|
value: 'すべての注文に関税が適用されます。',
|
|
8844
8874
|
},
|
|
8875
|
+
'Duties will be charged upon delivery.': {
|
|
8876
|
+
value: '配達時に関税が請求されます。',
|
|
8877
|
+
},
|
|
8845
8878
|
'Duties, taxes, and fees': {
|
|
8846
8879
|
value: '関税、税金、手数料',
|
|
8847
8880
|
},
|
|
@@ -9697,6 +9730,9 @@ const stringsKorean = {
|
|
|
9697
9730
|
'Duties will apply to all orders.': {
|
|
9698
9731
|
value: '모든 주문에 관세가 적용됩니다.',
|
|
9699
9732
|
},
|
|
9733
|
+
'Duties will be charged upon delivery.': {
|
|
9734
|
+
value: '관세는 배송 시 부과됩니다.',
|
|
9735
|
+
},
|
|
9700
9736
|
'Duties, taxes, and fees': {
|
|
9701
9737
|
value: '관세, 세금 및 수수료',
|
|
9702
9738
|
},
|
|
@@ -10552,6 +10588,9 @@ const stringsNorwegian = {
|
|
|
10552
10588
|
'Duties will apply to all orders.': {
|
|
10553
10589
|
value: 'Avgifter vil gjelde for alle bestillinger.',
|
|
10554
10590
|
},
|
|
10591
|
+
'Duties will be charged upon delivery.': {
|
|
10592
|
+
value: 'Avgifter vil bli belastet ved levering.',
|
|
10593
|
+
},
|
|
10555
10594
|
'Duties, taxes, and fees': {
|
|
10556
10595
|
value: 'Avgifter, skatter og gebyrer',
|
|
10557
10596
|
},
|
|
@@ -11407,6 +11446,9 @@ const stringsPolish = {
|
|
|
11407
11446
|
'Duties will apply to all orders.': {
|
|
11408
11447
|
value: 'Cła będą miały zastosowanie do wszystkich zamówień.',
|
|
11409
11448
|
},
|
|
11449
|
+
'Duties will be charged upon delivery.': {
|
|
11450
|
+
value: 'Cła zostaną naliczone przy dostawie.',
|
|
11451
|
+
},
|
|
11410
11452
|
'Duties, taxes, and fees': {
|
|
11411
11453
|
value: 'Cła, podatki i opłaty',
|
|
11412
11454
|
},
|
|
@@ -12262,6 +12304,9 @@ const stringsPortuguese = {
|
|
|
12262
12304
|
'Duties will apply to all orders.': {
|
|
12263
12305
|
value: 'Impostos serão aplicados a todos os pedidos.',
|
|
12264
12306
|
},
|
|
12307
|
+
'Duties will be charged upon delivery.': {
|
|
12308
|
+
value: 'As taxas serão cobradas na entrega.',
|
|
12309
|
+
},
|
|
12265
12310
|
'Duties, taxes, and fees': {
|
|
12266
12311
|
value: 'Impostos, taxas e emolumentos',
|
|
12267
12312
|
},
|
|
@@ -13117,6 +13162,9 @@ const stringsRussian = {
|
|
|
13117
13162
|
'Duties will apply to all orders.': {
|
|
13118
13163
|
value: 'Пошлины будут применяться ко всем заказам.',
|
|
13119
13164
|
},
|
|
13165
|
+
'Duties will be charged upon delivery.': {
|
|
13166
|
+
value: 'Пошлины будут взиматься при доставке.',
|
|
13167
|
+
},
|
|
13120
13168
|
'Duties, taxes, and fees': {
|
|
13121
13169
|
value: 'Пошлины, налоги и сборы',
|
|
13122
13170
|
},
|
|
@@ -13972,6 +14020,9 @@ const stringsSpanish = {
|
|
|
13972
14020
|
'Duties will apply to all orders.': {
|
|
13973
14021
|
value: 'Se aplicarán aranceles a todos los pedidos.',
|
|
13974
14022
|
},
|
|
14023
|
+
'Duties will be charged upon delivery.': {
|
|
14024
|
+
value: 'Los aranceles se cobrarán al momento de la entrega.',
|
|
14025
|
+
},
|
|
13975
14026
|
'Duties, taxes, and fees': {
|
|
13976
14027
|
value: 'Aranceles, impuestos y cuotas',
|
|
13977
14028
|
},
|
|
@@ -14827,6 +14878,9 @@ const stringsSwedish = {
|
|
|
14827
14878
|
'Duties will apply to all orders.': {
|
|
14828
14879
|
value: 'Tullar kommer att gälla för alla beställningar.',
|
|
14829
14880
|
},
|
|
14881
|
+
'Duties will be charged upon delivery.': {
|
|
14882
|
+
value: 'Tullar debiteras vid leverans.',
|
|
14883
|
+
},
|
|
14830
14884
|
'Duties, taxes, and fees': {
|
|
14831
14885
|
value: 'Tull, skatter och avgifter',
|
|
14832
14886
|
},
|
|
@@ -15682,6 +15736,9 @@ const stringsTurkish = {
|
|
|
15682
15736
|
'Duties will apply to all orders.': {
|
|
15683
15737
|
value: 'Tüm siparişlere gümrük vergisi uygulanacaktır.',
|
|
15684
15738
|
},
|
|
15739
|
+
'Duties will be charged upon delivery.': {
|
|
15740
|
+
value: 'Harçlar teslimatta tahsil edilecektir.',
|
|
15741
|
+
},
|
|
15685
15742
|
'Duties, taxes, and fees': {
|
|
15686
15743
|
value: 'Gümrük vergisi, vergiler ve ücretler',
|
|
15687
15744
|
},
|
|
@@ -16537,6 +16594,9 @@ const stringsVietnamese = {
|
|
|
16537
16594
|
'Duties will apply to all orders.': {
|
|
16538
16595
|
value: 'Thuế sẽ áp dụng cho tất cả các đơn hàng.',
|
|
16539
16596
|
},
|
|
16597
|
+
'Duties will be charged upon delivery.': {
|
|
16598
|
+
value: 'Thuế sẽ được tính khi giao hàng.',
|
|
16599
|
+
},
|
|
16540
16600
|
'Duties, taxes, and fees': {
|
|
16541
16601
|
value: 'Thuế, phí và lệ phí',
|
|
16542
16602
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z as zonosStore, c as createStore } from './zonosStore-b7d3f9b0.js';
|
|
2
|
-
import { t as trackConversionEvent, v as isPolicyConsentRequired, E as policyConsentStore, A as validateCheckoutSession, b as stripeStore, d as cartStore, x as stripeStoreHandleInventoryCheck, y as storeCreditStoreApplyCredit, J as stripeStoreRecordPolicyConsent, z as storeCreditStoreCoversFullAmount, B as storeCreditStoreCreateOrder, u as cartStoreNextStep, h as cartStoreClearCheckoutInterval, I as storeCreditStoreGetEffectiveAmount } from './cart-
|
|
3
|
-
import { t as translate, s as storageStore } from './localization-
|
|
2
|
+
import { t as trackConversionEvent, v as isPolicyConsentRequired, E as policyConsentStore, A as validateCheckoutSession, b as stripeStore, d as cartStore, x as stripeStoreHandleInventoryCheck, y as storeCreditStoreApplyCredit, J as stripeStoreRecordPolicyConsent, z as storeCreditStoreCoversFullAmount, B as storeCreditStoreCreateOrder, u as cartStoreNextStep, h as cartStoreClearCheckoutInterval, I as storeCreditStoreGetEffectiveAmount } from './cart-402dcde5.js';
|
|
3
|
+
import { t as translate, s as storageStore } from './localization-d49867ed.js';
|
|
4
4
|
import { h as handleFetch, g as getIsTestMode, l as logError, j as jsonParse } from './handleFetch-a844cac1.js';
|
|
5
5
|
import { i as isContrastColor } from './isContrastColor-089de6ac.js';
|
|
6
6
|
import { l as log } from './VarianceTest-572cecf5.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as cartStore } from './cart-
|
|
2
|
-
import { s as storageStore } from './localization-
|
|
1
|
+
import { d as cartStore } from './cart-402dcde5.js';
|
|
2
|
+
import { s as storageStore } from './localization-d49867ed.js';
|
|
3
3
|
import { l as logError, h as handleFetch } from './handleFetch-a844cac1.js';
|
|
4
4
|
|
|
5
5
|
const placeTestOrder = async () => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as cartStore } from './cart-
|
|
2
|
-
import { w as applyInclusiveEffectiveRate, h as currencyFormat } from './localization-
|
|
1
|
+
import { d as cartStore } from './cart-402dcde5.js';
|
|
2
|
+
import { w as applyInclusiveEffectiveRate, h as currencyFormat } from './localization-d49867ed.js';
|
|
3
3
|
|
|
4
4
|
const getDisplayCurrency = () => {
|
|
5
5
|
var _a, _b;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h, a as Host, d as createEvent, g as getElement } from './index-cfd394c8.js';
|
|
2
|
-
import { t as translate, l as localizationStore, s as storageStore, y as storageStoreOnChange } from './localization-
|
|
2
|
+
import { t as translate, l as localizationStore, s as storageStore, y as storageStoreOnChange } from './localization-d49867ed.js';
|
|
3
3
|
import { i as isTextContainsNonLatinChars, c as containsNonLatinChars } from './containsNonLatinChars-2d8810c3.js';
|
|
4
|
-
import {
|
|
4
|
+
import { V as extractName, b as stripeStore, r as stripeStorePrefetchLandedCost, t as trackConversionEvent } from './cart-402dcde5.js';
|
|
5
5
|
import { c as classes } from './classes-0d95c529.js';
|
|
6
6
|
import { g as getBorderRadius } from './getBorderRadius-dc982fe6.js';
|
|
7
7
|
import { z as zonosStore, f as zonosStoreFontFamily } from './zonosStore-b7d3f9b0.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, d as createEvent, h, a as Host, g as getElement } from './index-cfd394c8.js';
|
|
2
2
|
import { t as throttle_1 } from './throttle-44bfb6b5.js';
|
|
3
|
-
import { b as stripeStore, t as trackConversionEvent,
|
|
4
|
-
import { s as storageStore, z as getFallbackDefaultCountryCode, t as translate, y as storageStoreOnChange, l as localizationStore } from './localization-
|
|
3
|
+
import { b as stripeStore, t as trackConversionEvent, V as extractName, H as stripeStoreOnChange, r as stripeStorePrefetchLandedCost, d as cartStore } from './cart-402dcde5.js';
|
|
4
|
+
import { s as storageStore, z as getFallbackDefaultCountryCode, t as translate, y as storageStoreOnChange, l as localizationStore } from './localization-d49867ed.js';
|
|
5
5
|
import { z as zonosStore, g as getZonosStoreTheme, f as zonosStoreFontFamily } from './zonosStore-b7d3f9b0.js';
|
|
6
6
|
import { l as logError, i as isCheckoutMobile, s as sendErrorLog } from './handleFetch-a844cac1.js';
|
|
7
7
|
import { a as shouldRenderTaxIdInput, s as shouldRenderShortAddressCodeInput } from './shouldRenderTaxIdInput-2572bf77.js';
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { r as registerInstance, d as createEvent, h, a as Host, g as getElement } from './index-cfd394c8.js';
|
|
2
|
-
import { b as airwallexStore, c as collectStore, f as airwallexStoreInitSdk, l as createElement, m as airwallexStoreGetLocale, n as airwallexStoreOnChange } from './collect-
|
|
3
|
-
import { d as cartStore } from './cart-
|
|
4
|
-
import { e as localizationStoreOnChange, t as translate, l as localizationStore } from './localization-
|
|
2
|
+
import { b as airwallexStore, c as collectStore, f as airwallexStoreInitSdk, l as createElement, m as airwallexStoreGetLocale, n as airwallexStoreOnChange } from './collect-b88fe4ca.js';
|
|
3
|
+
import { d as cartStore } from './cart-402dcde5.js';
|
|
4
|
+
import { e as localizationStoreOnChange, t as translate, l as localizationStore } from './localization-d49867ed.js';
|
|
5
5
|
import { z as zonosStore } from './zonosStore-b7d3f9b0.js';
|
|
6
6
|
import { l as log } from './VarianceTest-572cecf5.js';
|
|
7
7
|
import { l as logError } from './handleFetch-a844cac1.js';
|
|
8
8
|
import './isDarkColor-039ef212.js';
|
|
9
9
|
import './getBorderRadius-dc982fe6.js';
|
|
10
|
+
import './TaxId-50d72254.js';
|
|
10
11
|
|
|
11
12
|
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}";
|
|
12
13
|
const ZonosAirwallexPaymentStyle0 = zonosAirwallexPaymentCss;
|
|
@@ -2,12 +2,13 @@ import { r as registerInstance, h, a as Host, g as getElement, d as createEvent
|
|
|
2
2
|
import { f as zonosStoreFontFamily } from './zonosStore-b7d3f9b0.js';
|
|
3
3
|
import { c as classes } from './classes-0d95c529.js';
|
|
4
4
|
import { g as getBorderRadius } from './getBorderRadius-dc982fe6.js';
|
|
5
|
-
import { b as stripeStore, t as trackConversionEvent } from './cart-
|
|
6
|
-
import { s as storageStore } from './localization-
|
|
5
|
+
import { b as stripeStore, t as trackConversionEvent } from './cart-402dcde5.js';
|
|
6
|
+
import { s as storageStore } from './localization-d49867ed.js';
|
|
7
7
|
import { l as logError } from './handleFetch-a844cac1.js';
|
|
8
|
-
import { d as paypalStoreInitButtons, e as paypalStoreOnChange } from './paypal-
|
|
8
|
+
import { d as paypalStoreInitButtons, e as paypalStoreOnChange } from './paypal-2d4c9d01.js';
|
|
9
9
|
import { l as log } from './VarianceTest-572cecf5.js';
|
|
10
10
|
import './isDarkColor-039ef212.js';
|
|
11
|
+
import './TaxId-50d72254.js';
|
|
11
12
|
import './isContrastColor-089de6ac.js';
|
|
12
13
|
import './submitGtag-dc54f5b9.js';
|
|
13
14
|
|