@zonos/elements 1.3.274 → 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-660e115c.js → cart-65e8da66.js} +41 -15
- package/dist/cjs/{cleanHtmlMarkdown-31da84b7.js → cleanHtmlMarkdown-57147de7.js} +180 -356
- package/dist/cjs/{collect-286a9d04.js → collect-37c177ab.js} +3 -3
- package/dist/cjs/{debounce-7990f5ea.js → debounce-9a712c79.js} +1 -1
- package/dist/cjs/{getBorderRadius-fc683d94.js → getBorderRadius-4da24d7c.js} +1 -1
- package/dist/cjs/{getContrastColor-d5134ef3.js → getContrastColor-2fb235b8.js} +2 -2
- package/dist/cjs/{hasInclusivePrice-b35e81aa.js → hasInclusivePrice-798ce42d.js} +1 -1
- package/dist/cjs/index.cjs.js +7 -7
- package/dist/cjs/{invoice-f032089f.js → invoice-96f5c802.js} +3 -3
- package/dist/cjs/{isContrastColor-76592c92.js → isContrastColor-ef24b7aa.js} +1 -1
- package/dist/cjs/{isDarkColor-5d6ca405.js → isDarkColor-ebc74b4d.js} +1 -1
- package/dist/cjs/{localization-f4a64f6f.js → localization-90650d7d.js} +61 -1
- package/dist/cjs/{paypal-125259ab.js → paypal-1952f6ec.js} +5 -5
- package/dist/cjs/{placeTestOrder-02001a99.js → placeTestOrder-30191a8f.js} +2 -2
- package/dist/cjs/{renderCheckoutCurrency-cad156a7.js → renderCheckoutCurrency-fd35b4ef.js} +2 -2
- package/dist/cjs/{submitGtag-4906b161.js → submitGtag-74762255.js} +1 -1
- package/dist/cjs/{throttle-02c2e917.js → throttle-34f7abf1.js} +2 -2
- package/dist/cjs/{updateCheckoutSessionAttributes-47d73942.js → updateCheckoutSessionAttributes-f595319d.js} +1 -1
- package/dist/cjs/zonos-address-display_8.cjs.entry.js +444 -202
- package/dist/cjs/zonos-address_4.cjs.entry.js +7 -7
- package/dist/cjs/zonos-airwallex-payment.cjs.entry.js +7 -6
- package/dist/cjs/zonos-badge.cjs.entry.js +1 -1
- package/dist/cjs/zonos-banner.cjs.entry.js +1 -1
- package/dist/cjs/zonos-button_3.cjs.entry.js +3 -3
- package/dist/cjs/zonos-card_5.cjs.entry.js +9 -8
- package/dist/cjs/zonos-cart-items_12.cjs.entry.js +83 -18
- package/dist/cjs/zonos-checkbox_2.cjs.entry.js +3 -3
- package/dist/cjs/zonos-checkout.cjs.entry.js +11 -10
- package/dist/cjs/zonos-collapse.cjs.entry.js +1 -1
- package/dist/cjs/zonos-collect-cart-items_3.cjs.entry.js +7 -6
- package/dist/cjs/zonos-collect-finish_6.cjs.entry.js +12 -11
- package/dist/cjs/zonos-collect.cjs.entry.js +10 -9
- package/dist/cjs/zonos-controller.cjs.entry.js +7 -6
- package/dist/cjs/zonos-country-flag.cjs.entry.js +2 -2
- package/dist/cjs/zonos-country-select_4.cjs.entry.js +1514 -1692
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +3 -3
- package/dist/cjs/zonos-hello.cjs.entry.js +3 -3
- package/dist/cjs/zonos-input.cjs.entry.js +2 -2
- package/dist/cjs/zonos-invoice-cart-items_2.cjs.entry.js +8 -7
- package/dist/cjs/zonos-invoice-finish_5.cjs.entry.js +12 -11
- package/dist/cjs/zonos-invoice.cjs.entry.js +10 -9
- package/dist/cjs/zonos-language-select_2.cjs.entry.js +2 -2
- package/dist/cjs/zonos-logo.cjs.entry.js +1 -1
- package/dist/cjs/zonos-policy-consent_2.cjs.entry.js +7 -6
- package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +5 -5
- package/dist/cjs/zonos-stripe-input.cjs.entry.js +3 -3
- package/dist/cjs/zonos-text.cjs.entry.js +1 -1
- package/dist/cjs/zonos-v-stack.cjs.entry.js +1 -1
- 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-23e29950.js → cart-402dcde5.js} +41 -16
- package/dist/esm/{cleanHtmlMarkdown-5f7856f2.js → cleanHtmlMarkdown-87d195f6.js} +180 -356
- package/dist/esm/{collect-a235299d.js → collect-b88fe4ca.js} +3 -3
- package/dist/esm/{debounce-58e4ff3e.js → debounce-c8d67b17.js} +1 -1
- package/dist/esm/{getBorderRadius-d23f47a6.js → getBorderRadius-dc982fe6.js} +1 -1
- package/dist/esm/{getContrastColor-f0bd5b65.js → getContrastColor-af895b60.js} +2 -2
- package/dist/esm/{hasInclusivePrice-5e106f84.js → hasInclusivePrice-1589fef9.js} +1 -1
- package/dist/esm/index.js +7 -7
- package/dist/esm/{invoice-78f069c7.js → invoice-5eb27944.js} +3 -3
- package/dist/esm/{isContrastColor-fbddacb6.js → isContrastColor-089de6ac.js} +1 -1
- package/dist/esm/{isDarkColor-566f04c5.js → isDarkColor-039ef212.js} +1 -1
- package/dist/esm/{localization-17546792.js → localization-d49867ed.js} +61 -1
- package/dist/esm/{paypal-5bc6b0d0.js → paypal-2d4c9d01.js} +5 -5
- package/dist/esm/{placeTestOrder-e842854a.js → placeTestOrder-2ba7c3f2.js} +2 -2
- package/dist/esm/{renderCheckoutCurrency-e3953f67.js → renderCheckoutCurrency-ef71083e.js} +2 -2
- package/dist/esm/{submitGtag-c7ea1f2a.js → submitGtag-dc54f5b9.js} +1 -1
- package/dist/esm/{throttle-f09d0659.js → throttle-44bfb6b5.js} +2 -2
- package/dist/esm/{updateCheckoutSessionAttributes-40e301a4.js → updateCheckoutSessionAttributes-e0a282d9.js} +1 -1
- package/dist/esm/zonos-address-display_8.entry.js +444 -202
- package/dist/esm/zonos-address_4.entry.js +7 -7
- package/dist/esm/zonos-airwallex-payment.entry.js +7 -6
- package/dist/esm/zonos-badge.entry.js +1 -1
- package/dist/esm/zonos-banner.entry.js +1 -1
- package/dist/esm/zonos-button_3.entry.js +3 -3
- package/dist/esm/zonos-card_5.entry.js +9 -8
- package/dist/esm/zonos-cart-items_12.entry.js +83 -18
- package/dist/esm/zonos-checkbox_2.entry.js +3 -3
- package/dist/esm/zonos-checkout.entry.js +11 -10
- package/dist/esm/zonos-collapse.entry.js +1 -1
- package/dist/esm/zonos-collect-cart-items_3.entry.js +7 -6
- package/dist/esm/zonos-collect-finish_6.entry.js +12 -11
- package/dist/esm/zonos-collect.entry.js +10 -9
- package/dist/esm/zonos-controller.entry.js +7 -6
- package/dist/esm/zonos-country-flag.entry.js +2 -2
- package/dist/esm/zonos-country-select_4.entry.js +1514 -1692
- package/dist/esm/zonos-hello-dialog.entry.js +3 -3
- package/dist/esm/zonos-hello.entry.js +3 -3
- package/dist/esm/zonos-input.entry.js +2 -2
- package/dist/esm/zonos-invoice-cart-items_2.entry.js +8 -7
- package/dist/esm/zonos-invoice-finish_5.entry.js +12 -11
- package/dist/esm/zonos-invoice.entry.js +10 -9
- package/dist/esm/zonos-language-select_2.entry.js +2 -2
- package/dist/esm/zonos-logo.entry.js +1 -1
- package/dist/esm/zonos-policy-consent_2.entry.js +7 -6
- package/dist/esm/zonos-shipping-rich-radio.entry.js +5 -5
- package/dist/esm/zonos-stripe-input.entry.js +3 -3
- package/dist/esm/zonos-text.entry.js +1 -1
- package/dist/esm/zonos-v-stack.entry.js +1 -1
- package/dist/esm-es5/cart-402dcde5.js +1 -0
- package/dist/esm-es5/cleanHtmlMarkdown-87d195f6.js +1 -0
- package/dist/esm-es5/{collect-a235299d.js → collect-b88fe4ca.js} +1 -1
- package/dist/esm-es5/{debounce-58e4ff3e.js → debounce-c8d67b17.js} +1 -1
- package/dist/esm-es5/{getBorderRadius-d23f47a6.js → getBorderRadius-dc982fe6.js} +1 -1
- package/dist/esm-es5/{getContrastColor-f0bd5b65.js → getContrastColor-af895b60.js} +1 -1
- package/dist/esm-es5/{hasInclusivePrice-5e106f84.js → hasInclusivePrice-1589fef9.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{invoice-78f069c7.js → invoice-5eb27944.js} +1 -1
- package/dist/esm-es5/{isContrastColor-fbddacb6.js → isContrastColor-089de6ac.js} +1 -1
- package/dist/esm-es5/{isDarkColor-566f04c5.js → isDarkColor-039ef212.js} +1 -1
- package/dist/esm-es5/localization-d49867ed.js +1 -0
- package/dist/esm-es5/{paypal-5bc6b0d0.js → paypal-2d4c9d01.js} +1 -1
- package/dist/esm-es5/{placeTestOrder-e842854a.js → placeTestOrder-2ba7c3f2.js} +1 -1
- package/dist/esm-es5/{renderCheckoutCurrency-e3953f67.js → renderCheckoutCurrency-ef71083e.js} +1 -1
- package/dist/esm-es5/{submitGtag-c7ea1f2a.js → submitGtag-dc54f5b9.js} +1 -1
- package/dist/esm-es5/throttle-44bfb6b5.js +1 -0
- package/dist/esm-es5/{updateCheckoutSessionAttributes-40e301a4.js → updateCheckoutSessionAttributes-e0a282d9.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-badge.entry.js +1 -1
- package/dist/esm-es5/zonos-banner.entry.js +1 -1
- package/dist/esm-es5/zonos-button_3.entry.js +1 -1
- package/dist/esm-es5/zonos-card_5.entry.js +1 -1
- package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
- package/dist/esm-es5/zonos-checkbox_2.entry.js +1 -1
- package/dist/esm-es5/zonos-checkout.entry.js +1 -1
- package/dist/esm-es5/zonos-collapse.entry.js +1 -1
- package/dist/esm-es5/zonos-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-input.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-logo.entry.js +1 -1
- package/dist/esm-es5/zonos-policy-consent_2.entry.js +1 -1
- package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
- package/dist/esm-es5/zonos-stripe-input.entry.js +1 -1
- package/dist/esm-es5/zonos-text.entry.js +1 -1
- package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
- package/dist/scripts/analyticsRelayOnInit.js +1 -1
- package/dist/scripts/blurCurrencyOnInit.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-ccd14aa5.entry.js → p-0745e440.entry.js} +1 -1
- package/dist/zonos-elements/{p-59b10526.entry.js → p-08e78d79.entry.js} +1 -1
- package/dist/zonos-elements/{p-c846a5f3.system.entry.js → p-0ad6a92b.system.entry.js} +1 -1
- package/dist/zonos-elements/p-0b321037.system.entry.js +1 -0
- package/dist/zonos-elements/{p-b59fc3fa.system.entry.js → p-0e1f13ff.system.entry.js} +1 -1
- 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-c6823974.system.entry.js → p-15097876.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-9f5fb332.js → p-1735a69b.js} +1 -1
- package/dist/zonos-elements/p-18135660.entry.js +1 -0
- package/dist/zonos-elements/{p-055ef910.entry.js → p-1992fd91.entry.js} +1 -1
- package/dist/zonos-elements/p-1e4dcd29.entry.js +1 -0
- package/dist/zonos-elements/{p-daf57db3.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-a1a05de4.system.entry.js → p-29c1703c.system.entry.js} +1 -1
- package/dist/zonos-elements/p-2e0d813f.system.js +1 -0
- package/dist/zonos-elements/{p-d25759fb.system.js → p-2ea73ca2.system.js} +1 -1
- package/dist/zonos-elements/p-30e9a6d7.system.js +1 -0
- package/dist/zonos-elements/{p-33d4be28.js → p-34d6eb83.js} +1 -1
- package/dist/zonos-elements/p-35fd0fdb.js +1 -0
- package/dist/zonos-elements/p-3b479012.js +1 -0
- package/dist/zonos-elements/{p-d5e66ea6.entry.js → p-3cf22558.entry.js} +1 -1
- package/dist/zonos-elements/p-3cfa4880.js +1 -0
- package/dist/zonos-elements/{p-896fb969.js → p-3d28353a.js} +1 -1
- package/dist/zonos-elements/{p-328fd90e.entry.js → p-3e058b4e.entry.js} +1 -1
- package/dist/zonos-elements/p-3feff726.entry.js +1 -0
- package/dist/zonos-elements/{p-0a54dae6.system.entry.js → p-429ab545.system.entry.js} +1 -1
- 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-f053975e.system.js → p-496accce.system.js} +1 -1
- package/dist/zonos-elements/p-4a1c9fa1.entry.js +1 -0
- package/dist/zonos-elements/{p-86a9f048.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-1f31f5a0.system.entry.js → p-4e6e9a3c.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-12a05647.entry.js → p-4efd7178.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-10571f94.system.entry.js → p-5aee5de5.system.entry.js} +1 -1
- package/dist/zonos-elements/p-5c30d04b.js +1 -0
- package/dist/zonos-elements/p-5ce88ef3.system.entry.js +1 -0
- package/dist/zonos-elements/{p-2a1247f4.system.entry.js → p-5d3ea491.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-dcef2202.entry.js → p-5d4201d5.entry.js} +1 -1
- package/dist/zonos-elements/p-5e3b0ef4.entry.js +1 -0
- package/dist/zonos-elements/{p-80df7e0b.system.entry.js → p-6146bfaa.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-e548b8ec.entry.js → p-62609f19.entry.js} +1 -1
- package/dist/zonos-elements/p-628fe742.system.entry.js +1 -0
- package/dist/zonos-elements/{p-91b921a4.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-14018649.system.js → p-6ad0f720.system.js} +1 -1
- package/dist/zonos-elements/{p-45d74be2.system.js → p-6f324051.system.js} +1 -1
- package/dist/zonos-elements/p-77ac8bfe.entry.js +1 -0
- package/dist/zonos-elements/{p-4df08fc4.js → p-7bdce9d4.js} +1 -1
- 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-c83bc4b3.entry.js → p-8c54aaec.entry.js} +1 -1
- package/dist/zonos-elements/{p-306e5499.system.entry.js → p-998f9df5.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-3eba657b.system.entry.js → p-99e8743e.system.entry.js} +1 -1
- package/dist/zonos-elements/p-9fab45aa.system.js +1 -0
- package/dist/zonos-elements/{p-42948a52.js → p-a02ff788.js} +1 -1
- package/dist/zonos-elements/p-a1bd3a53.system.js +1 -0
- package/dist/zonos-elements/{p-e9c8a235.js → p-a3bc7e97.js} +1 -1
- package/dist/zonos-elements/p-a3c116d6.system.js +1 -0
- package/dist/zonos-elements/{p-5aa35d1c.system.entry.js → p-a3d3ce5d.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-27e50593.system.entry.js → p-a44591f6.system.entry.js} +1 -1
- package/dist/zonos-elements/p-a7050d1e.system.entry.js +1 -0
- package/dist/zonos-elements/p-ac1b60c8.system.entry.js +1 -0
- package/dist/zonos-elements/{p-e8cb382e.entry.js → p-ac9b9f7d.entry.js} +1 -1
- package/dist/zonos-elements/{p-2197d6ab.js → p-b1c86a5b.js} +1 -1
- package/dist/zonos-elements/{p-cc508de8.entry.js → p-b5f67807.entry.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-cc6ad18a.js +1 -0
- package/dist/zonos-elements/{p-c1463da7.entry.js → p-d1e84608.entry.js} +1 -1
- package/dist/zonos-elements/{p-9c3276c8.entry.js → p-d5945ddc.entry.js} +1 -1
- package/dist/zonos-elements/{p-5d65be06.system.js → p-d706852e.system.js} +1 -1
- package/dist/zonos-elements/p-d7bda14d.js +1 -0
- package/dist/zonos-elements/{p-df55536b.entry.js → p-daab3824.entry.js} +1 -1
- package/dist/zonos-elements/{p-7d9d2407.system.js → p-dab78981.system.js} +1 -1
- package/dist/zonos-elements/{p-990d1495.system.entry.js → p-db65c60b.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-bc919de1.system.js → p-e977562b.system.js} +1 -1
- package/dist/zonos-elements/{p-abd485df.entry.js → p-ee434a71.entry.js} +1 -1
- package/dist/zonos-elements/{p-3dc3596b.js → p-f1aea919.js} +1 -1
- package/dist/zonos-elements/{p-62c68aee.system.js → p-f2768c92.system.js} +1 -1
- package/dist/zonos-elements/p-f29bcf8b.system.js +1 -0
- package/dist/zonos-elements/{p-1a4083be.system.js → p-f2d50796.system.js} +1 -1
- package/dist/zonos-elements/p-f3a73132.entry.js +1 -0
- package/dist/zonos-elements/{p-f72642de.entry.js → p-f59514e9.entry.js} +1 -1
- package/dist/zonos-elements/{p-52bd7be3.system.js → p-f61c0eef.system.js} +1 -1
- package/dist/zonos-elements/p-ffbf87c8.system.entry.js +1 -0
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/package.json +12 -35
- package/dist/esm-es5/cart-23e29950.js +0 -1
- package/dist/esm-es5/cleanHtmlMarkdown-5f7856f2.js +0 -1
- package/dist/esm-es5/localization-17546792.js +0 -1
- package/dist/esm-es5/throttle-f09d0659.js +0 -1
- package/dist/zonos-elements/p-013575f2.entry.js +0 -1
- package/dist/zonos-elements/p-08b48608.entry.js +0 -1
- package/dist/zonos-elements/p-0b59076d.system.entry.js +0 -1
- package/dist/zonos-elements/p-14d6542f.system.js +0 -1
- package/dist/zonos-elements/p-1678d8b4.system.entry.js +0 -1
- package/dist/zonos-elements/p-171d0f9f.system.js +0 -1
- package/dist/zonos-elements/p-18af6aaa.system.js +0 -1
- package/dist/zonos-elements/p-1a105d6e.system.entry.js +0 -1
- package/dist/zonos-elements/p-31577ebd.entry.js +0 -1
- package/dist/zonos-elements/p-33910e8b.js +0 -1
- package/dist/zonos-elements/p-3b28fc76.js +0 -1
- package/dist/zonos-elements/p-41619f29.js +0 -1
- package/dist/zonos-elements/p-46e72a90.entry.js +0 -1
- package/dist/zonos-elements/p-49d8a10f.entry.js +0 -1
- package/dist/zonos-elements/p-4a960329.system.entry.js +0 -1
- package/dist/zonos-elements/p-4b371b65.entry.js +0 -1
- package/dist/zonos-elements/p-539bc46c.js +0 -1
- package/dist/zonos-elements/p-5dd86dd9.system.js +0 -1
- package/dist/zonos-elements/p-6c19310e.system.entry.js +0 -1
- package/dist/zonos-elements/p-7eb47eb0.entry.js +0 -1
- package/dist/zonos-elements/p-8af57c2a.js +0 -1
- package/dist/zonos-elements/p-8c4761d1.system.entry.js +0 -1
- package/dist/zonos-elements/p-8e77a3cd.system.entry.js +0 -1
- package/dist/zonos-elements/p-90d22087.system.js +0 -1
- package/dist/zonos-elements/p-919c5500.entry.js +0 -1
- package/dist/zonos-elements/p-9574695a.system.js +0 -1
- package/dist/zonos-elements/p-9581bffb.js +0 -1
- package/dist/zonos-elements/p-97917371.system.entry.js +0 -1
- package/dist/zonos-elements/p-9b003a15.system.entry.js +0 -1
- package/dist/zonos-elements/p-9cd41234.system.entry.js +0 -1
- package/dist/zonos-elements/p-a968ccba.entry.js +0 -1
- package/dist/zonos-elements/p-ac8cfdc0.js +0 -1
- package/dist/zonos-elements/p-ad961f5d.entry.js +0 -1
- package/dist/zonos-elements/p-b5c01288.system.entry.js +0 -1
- package/dist/zonos-elements/p-bf8c98ab.system.js +0 -1
- package/dist/zonos-elements/p-c13d2e3f.entry.js +0 -1
- package/dist/zonos-elements/p-cd34ecf2.js +0 -1
- package/dist/zonos-elements/p-df6fbf3f.entry.js +0 -1
- package/dist/zonos-elements/p-e643346a.entry.js +0 -1
- package/dist/zonos-elements/p-e8ec88a9.system.entry.js +0 -1
- package/dist/zonos-elements/p-e9afd736.system.entry.js +0 -1
- package/dist/zonos-elements/p-f0eb6317.system.entry.js +0 -1
- package/dist/zonos-elements/p-f1cc659c.js +0 -1
- package/dist/zonos-elements/p-f53c8a9f.entry.js +0 -1
- /package/dist/cjs/{zonosStore-45a87908.js → zonosStore-fee716c9.js} +0 -0
- /package/dist/esm/{zonosStore-8e19daff.js → zonosStore-b7d3f9b0.js} +0 -0
- /package/dist/esm-es5/{zonosStore-8e19daff.js → zonosStore-b7d3f9b0.js} +0 -0
- /package/dist/zonos-elements/{p-3e7ee89d.system.js → p-47a1d469.system.js} +0 -0
- /package/dist/zonos-elements/{p-701d9a7c.js → p-9a417eeb.js} +0 -0
|
@@ -224,6 +224,9 @@ export const stringsArabic = {
|
|
|
224
224
|
'Duties will apply to all orders.': {
|
|
225
225
|
value: 'ستنطبق الرسوم على جميع الطلبات.',
|
|
226
226
|
},
|
|
227
|
+
'Duties will be charged upon delivery.': {
|
|
228
|
+
value: 'سيتم فرض الرسوم عند التسليم.',
|
|
229
|
+
},
|
|
227
230
|
'Duties, taxes, and fees': {
|
|
228
231
|
value: 'الرسوم والضرائب والرسوم',
|
|
229
232
|
},
|
|
@@ -225,6 +225,9 @@ export const stringsBase = {
|
|
|
225
225
|
'Duties will apply to all orders.': {
|
|
226
226
|
value: 'Duties will apply to all orders.',
|
|
227
227
|
},
|
|
228
|
+
'Duties will be charged upon delivery.': {
|
|
229
|
+
value: 'Duties will be charged upon delivery.',
|
|
230
|
+
},
|
|
228
231
|
'Duties, taxes, and fees': {
|
|
229
232
|
value: 'Duties, taxes, and fees',
|
|
230
233
|
},
|
|
@@ -224,6 +224,9 @@ export const stringsDanish = {
|
|
|
224
224
|
'Duties will apply to all orders.': {
|
|
225
225
|
value: 'Told vil gælde for alle ordrer.',
|
|
226
226
|
},
|
|
227
|
+
'Duties will be charged upon delivery.': {
|
|
228
|
+
value: 'Told vil blive opkrævet ved levering.',
|
|
229
|
+
},
|
|
227
230
|
'Duties, taxes, and fees': {
|
|
228
231
|
value: 'Told, skatter og gebyrer',
|
|
229
232
|
},
|
|
@@ -224,6 +224,9 @@ export const stringsDutch = {
|
|
|
224
224
|
'Duties will apply to all orders.': {
|
|
225
225
|
value: 'Invoerrechten zullen van toepassing zijn op alle bestellingen.',
|
|
226
226
|
},
|
|
227
|
+
'Duties will be charged upon delivery.': {
|
|
228
|
+
value: 'Invoerrechten worden bij levering in rekening gebracht.',
|
|
229
|
+
},
|
|
227
230
|
'Duties, taxes, and fees': {
|
|
228
231
|
value: 'Heffingen, belastingen en kosten',
|
|
229
232
|
},
|
|
@@ -224,6 +224,9 @@ export const stringsFrench = {
|
|
|
224
224
|
'Duties will apply to all orders.': {
|
|
225
225
|
value: "Des droits de douane s'appliqueront à toutes les commandes.",
|
|
226
226
|
},
|
|
227
|
+
'Duties will be charged upon delivery.': {
|
|
228
|
+
value: 'Les droits seront facturés à la livraison.',
|
|
229
|
+
},
|
|
227
230
|
'Duties, taxes, and fees': {
|
|
228
231
|
value: 'Droits, taxes et frais',
|
|
229
232
|
},
|
|
@@ -224,6 +224,9 @@ export const stringsGerman = {
|
|
|
224
224
|
'Duties will apply to all orders.': {
|
|
225
225
|
value: 'Zölle werden auf alle Bestellungen angewendet.',
|
|
226
226
|
},
|
|
227
|
+
'Duties will be charged upon delivery.': {
|
|
228
|
+
value: 'Zölle werden bei Lieferung berechnet.',
|
|
229
|
+
},
|
|
227
230
|
'Duties, taxes, and fees': {
|
|
228
231
|
value: 'Zölle, Steuern und Gebühren',
|
|
229
232
|
},
|
|
@@ -224,6 +224,9 @@ export const stringsHebrew = {
|
|
|
224
224
|
'Duties will apply to all orders.': {
|
|
225
225
|
value: 'חובות יחולו על כל ההזמנות.',
|
|
226
226
|
},
|
|
227
|
+
'Duties will be charged upon delivery.': {
|
|
228
|
+
value: 'מכס ייגבה בעת המסירה.',
|
|
229
|
+
},
|
|
227
230
|
'Duties, taxes, and fees': {
|
|
228
231
|
value: 'מכס, מסים ועמלות',
|
|
229
232
|
},
|
|
@@ -224,6 +224,9 @@ export const stringsIndonesian = {
|
|
|
224
224
|
'Duties will apply to all orders.': {
|
|
225
225
|
value: 'Bea akan berlaku untuk semua pesanan.',
|
|
226
226
|
},
|
|
227
|
+
'Duties will be charged upon delivery.': {
|
|
228
|
+
value: 'Bea akan dikenakan saat pengiriman.',
|
|
229
|
+
},
|
|
227
230
|
'Duties, taxes, and fees': {
|
|
228
231
|
value: 'Bea masuk, pajak, dan biaya',
|
|
229
232
|
},
|
|
@@ -224,6 +224,9 @@ export const stringsItalian = {
|
|
|
224
224
|
'Duties will apply to all orders.': {
|
|
225
225
|
value: 'I dazi si applicheranno a tutti gli ordini.',
|
|
226
226
|
},
|
|
227
|
+
'Duties will be charged upon delivery.': {
|
|
228
|
+
value: 'I dazi saranno addebitati alla consegna.',
|
|
229
|
+
},
|
|
227
230
|
'Duties, taxes, and fees': {
|
|
228
231
|
value: 'Dazi, tasse e spese',
|
|
229
232
|
},
|
|
@@ -224,6 +224,9 @@ export const stringsJapanese = {
|
|
|
224
224
|
'Duties will apply to all orders.': {
|
|
225
225
|
value: 'すべての注文に関税が適用されます。',
|
|
226
226
|
},
|
|
227
|
+
'Duties will be charged upon delivery.': {
|
|
228
|
+
value: '配達時に関税が請求されます。',
|
|
229
|
+
},
|
|
227
230
|
'Duties, taxes, and fees': {
|
|
228
231
|
value: '関税、税金、手数料',
|
|
229
232
|
},
|
|
@@ -224,6 +224,9 @@ export const stringsKorean = {
|
|
|
224
224
|
'Duties will apply to all orders.': {
|
|
225
225
|
value: '모든 주문에 관세가 적용됩니다.',
|
|
226
226
|
},
|
|
227
|
+
'Duties will be charged upon delivery.': {
|
|
228
|
+
value: '관세는 배송 시 부과됩니다.',
|
|
229
|
+
},
|
|
227
230
|
'Duties, taxes, and fees': {
|
|
228
231
|
value: '관세, 세금 및 수수료',
|
|
229
232
|
},
|
|
@@ -224,6 +224,9 @@ export const stringsNorwegian = {
|
|
|
224
224
|
'Duties will apply to all orders.': {
|
|
225
225
|
value: 'Avgifter vil gjelde for alle bestillinger.',
|
|
226
226
|
},
|
|
227
|
+
'Duties will be charged upon delivery.': {
|
|
228
|
+
value: 'Avgifter vil bli belastet ved levering.',
|
|
229
|
+
},
|
|
227
230
|
'Duties, taxes, and fees': {
|
|
228
231
|
value: 'Avgifter, skatter og gebyrer',
|
|
229
232
|
},
|
|
@@ -224,6 +224,9 @@ export const stringsPolish = {
|
|
|
224
224
|
'Duties will apply to all orders.': {
|
|
225
225
|
value: 'Cła będą miały zastosowanie do wszystkich zamówień.',
|
|
226
226
|
},
|
|
227
|
+
'Duties will be charged upon delivery.': {
|
|
228
|
+
value: 'Cła zostaną naliczone przy dostawie.',
|
|
229
|
+
},
|
|
227
230
|
'Duties, taxes, and fees': {
|
|
228
231
|
value: 'Cła, podatki i opłaty',
|
|
229
232
|
},
|
|
@@ -224,6 +224,9 @@ export const stringsPortuguese = {
|
|
|
224
224
|
'Duties will apply to all orders.': {
|
|
225
225
|
value: 'Impostos serão aplicados a todos os pedidos.',
|
|
226
226
|
},
|
|
227
|
+
'Duties will be charged upon delivery.': {
|
|
228
|
+
value: 'As taxas serão cobradas na entrega.',
|
|
229
|
+
},
|
|
227
230
|
'Duties, taxes, and fees': {
|
|
228
231
|
value: 'Impostos, taxas e emolumentos',
|
|
229
232
|
},
|
|
@@ -224,6 +224,9 @@ export const stringsRussian = {
|
|
|
224
224
|
'Duties will apply to all orders.': {
|
|
225
225
|
value: 'Пошлины будут применяться ко всем заказам.',
|
|
226
226
|
},
|
|
227
|
+
'Duties will be charged upon delivery.': {
|
|
228
|
+
value: 'Пошлины будут взиматься при доставке.',
|
|
229
|
+
},
|
|
227
230
|
'Duties, taxes, and fees': {
|
|
228
231
|
value: 'Пошлины, налоги и сборы',
|
|
229
232
|
},
|
|
@@ -224,6 +224,9 @@ export const stringsSpanish = {
|
|
|
224
224
|
'Duties will apply to all orders.': {
|
|
225
225
|
value: 'Se aplicarán aranceles a todos los pedidos.',
|
|
226
226
|
},
|
|
227
|
+
'Duties will be charged upon delivery.': {
|
|
228
|
+
value: 'Los aranceles se cobrarán al momento de la entrega.',
|
|
229
|
+
},
|
|
227
230
|
'Duties, taxes, and fees': {
|
|
228
231
|
value: 'Aranceles, impuestos y cuotas',
|
|
229
232
|
},
|
|
@@ -224,6 +224,9 @@ export const stringsSwedish = {
|
|
|
224
224
|
'Duties will apply to all orders.': {
|
|
225
225
|
value: 'Tullar kommer att gälla för alla beställningar.',
|
|
226
226
|
},
|
|
227
|
+
'Duties will be charged upon delivery.': {
|
|
228
|
+
value: 'Tullar debiteras vid leverans.',
|
|
229
|
+
},
|
|
227
230
|
'Duties, taxes, and fees': {
|
|
228
231
|
value: 'Tull, skatter och avgifter',
|
|
229
232
|
},
|
|
@@ -224,6 +224,9 @@ export const stringsTurkish = {
|
|
|
224
224
|
'Duties will apply to all orders.': {
|
|
225
225
|
value: 'Tüm siparişlere gümrük vergisi uygulanacaktır.',
|
|
226
226
|
},
|
|
227
|
+
'Duties will be charged upon delivery.': {
|
|
228
|
+
value: 'Harçlar teslimatta tahsil edilecektir.',
|
|
229
|
+
},
|
|
227
230
|
'Duties, taxes, and fees': {
|
|
228
231
|
value: 'Gümrük vergisi, vergiler ve ücretler',
|
|
229
232
|
},
|
|
@@ -224,6 +224,9 @@ export const stringsVietnamese = {
|
|
|
224
224
|
'Duties will apply to all orders.': {
|
|
225
225
|
value: 'Thuế sẽ áp dụng cho tất cả các đơn hàng.',
|
|
226
226
|
},
|
|
227
|
+
'Duties will be charged upon delivery.': {
|
|
228
|
+
value: 'Thuế sẽ được tính khi giao hàng.',
|
|
229
|
+
},
|
|
227
230
|
'Duties, taxes, and fees': {
|
|
228
231
|
value: 'Thuế, phí và lệ phí',
|
|
229
232
|
},
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { euCountryCodes } from "../../../types/checkout/Tax";
|
|
2
|
+
/**
|
|
3
|
+
* EU 3-EUR cutover (05CHECK-893): when shipping to an EU country with a POSTAL
|
|
4
|
+
* service level whose DAP landed cost has remittance available, we keep treating
|
|
5
|
+
* the quote as DAP (duties paid upon delivery) instead of converting it to DDP.
|
|
6
|
+
* The cart subtotals then show taxes and fees as collected while duties are
|
|
7
|
+
* estimated and paid on delivery.
|
|
8
|
+
*
|
|
9
|
+
* @see [[cartStoreGetMethod]] for the DAP/DDP conversion this guards.
|
|
10
|
+
*/
|
|
11
|
+
export const isEuDapRemittance = ({ deliveryType, landedCost, shipToCountry, }) => landedCost.method === 'DAP' &&
|
|
12
|
+
deliveryType === 'POSTAL' &&
|
|
13
|
+
landedCost.remittance.length > 0 &&
|
|
14
|
+
!!shipToCountry &&
|
|
15
|
+
euCountryCodes.includes(shipToCountry);
|
|
@@ -401,8 +401,10 @@ export const adjustmentType = {
|
|
|
401
401
|
};
|
|
402
402
|
export const agency = {
|
|
403
403
|
Ams: 'AMS',
|
|
404
|
+
Aphis: 'APHIS',
|
|
404
405
|
Apl: 'APL',
|
|
405
406
|
Cpsc: 'CPSC',
|
|
407
|
+
Epa: 'EPA',
|
|
406
408
|
Fda: 'FDA',
|
|
407
409
|
Fws: 'FWS',
|
|
408
410
|
};
|
|
@@ -480,6 +482,7 @@ export const analyticsProviderType = {
|
|
|
480
482
|
export const answerProvenance = {
|
|
481
483
|
Inferred: 'INFERRED',
|
|
482
484
|
Manual: 'MANUAL',
|
|
485
|
+
Supplied: 'SUPPLIED',
|
|
483
486
|
};
|
|
484
487
|
export const answerType = {
|
|
485
488
|
Boolean: 'BOOLEAN',
|
|
@@ -489,6 +492,25 @@ export const answerType = {
|
|
|
489
492
|
SingleSelect: 'SINGLE_SELECT',
|
|
490
493
|
Text: 'TEXT',
|
|
491
494
|
};
|
|
495
|
+
export const aphisItemType = {
|
|
496
|
+
Component: 'COMPONENT',
|
|
497
|
+
Product: 'PRODUCT',
|
|
498
|
+
};
|
|
499
|
+
export const aphisUnitOfMeasure = {
|
|
500
|
+
Amu: 'AMU',
|
|
501
|
+
Bh: 'BH',
|
|
502
|
+
Bqt: 'BQT',
|
|
503
|
+
Bx: 'BX',
|
|
504
|
+
Ct: 'CT',
|
|
505
|
+
G: 'G',
|
|
506
|
+
Kg: 'KG',
|
|
507
|
+
L: 'L',
|
|
508
|
+
Ml: 'ML',
|
|
509
|
+
No: 'NO',
|
|
510
|
+
Ptu: 'PTU',
|
|
511
|
+
Sad: 'SAD',
|
|
512
|
+
Stm: 'STM',
|
|
513
|
+
};
|
|
492
514
|
export const apiUsageEntityType = {
|
|
493
515
|
BillingCompany: 'BILLING_COMPANY',
|
|
494
516
|
Organization: 'ORGANIZATION',
|
|
@@ -2176,6 +2198,11 @@ export const disputeType = {
|
|
|
2176
2198
|
Inquiry: 'INQUIRY',
|
|
2177
2199
|
PreArbitration: 'PRE_ARBITRATION',
|
|
2178
2200
|
};
|
|
2201
|
+
export const documentExtractionStatus = {
|
|
2202
|
+
Active: 'ACTIVE',
|
|
2203
|
+
Deleted: 'DELETED',
|
|
2204
|
+
Failed: 'FAILED',
|
|
2205
|
+
};
|
|
2179
2206
|
export const documentFilingType = {
|
|
2180
2207
|
Electronic: 'ELECTRONIC',
|
|
2181
2208
|
HardCopy: 'HARD_COPY',
|
|
@@ -2201,6 +2228,11 @@ export const documentUsage = {
|
|
|
2201
2228
|
ElectronicTradeDocuments: 'ELECTRONIC_TRADE_DOCUMENTS',
|
|
2202
2229
|
PricingDocuments: 'PRICING_DOCUMENTS',
|
|
2203
2230
|
};
|
|
2231
|
+
export const documentVerdict = {
|
|
2232
|
+
Block: 'BLOCK',
|
|
2233
|
+
NotEvaluated: 'NOT_EVALUATED',
|
|
2234
|
+
Pass: 'PASS',
|
|
2235
|
+
};
|
|
2204
2236
|
export const domesticCheckoutStatus = {
|
|
2205
2237
|
Disabled: 'DISABLED',
|
|
2206
2238
|
Enabled: 'ENABLED',
|
|
@@ -2236,6 +2268,11 @@ export const elementsUiTheme = {
|
|
|
2236
2268
|
Light: 'LIGHT',
|
|
2237
2269
|
System: 'SYSTEM',
|
|
2238
2270
|
};
|
|
2271
|
+
export const emailDomainAuthenticationStatus = {
|
|
2272
|
+
Failed: 'FAILED',
|
|
2273
|
+
Pending: 'PENDING',
|
|
2274
|
+
Verified: 'VERIFIED',
|
|
2275
|
+
};
|
|
2239
2276
|
export const emailPreferenceCategory = {
|
|
2240
2277
|
AccountAndSecurity: 'ACCOUNT_AND_SECURITY',
|
|
2241
2278
|
BetaAndResearch: 'BETA_AND_RESEARCH',
|
|
@@ -2346,6 +2383,21 @@ export const entryStatus = {
|
|
|
2346
2383
|
Rejected: 'REJECTED',
|
|
2347
2384
|
Submitted: 'SUBMITTED',
|
|
2348
2385
|
};
|
|
2386
|
+
export const epaDisclaimCode = {
|
|
2387
|
+
A: 'A',
|
|
2388
|
+
B: 'B',
|
|
2389
|
+
C: 'C',
|
|
2390
|
+
D: 'D',
|
|
2391
|
+
};
|
|
2392
|
+
export const epaProgram = {
|
|
2393
|
+
Hfc: 'HFC',
|
|
2394
|
+
Ods: 'ODS',
|
|
2395
|
+
Ps1: 'PS1',
|
|
2396
|
+
Ps2: 'PS2',
|
|
2397
|
+
Ps3: 'PS3',
|
|
2398
|
+
Ts1: 'TS1',
|
|
2399
|
+
Vne: 'VNE',
|
|
2400
|
+
};
|
|
2349
2401
|
export const errorDetail = {
|
|
2350
2402
|
DeadlineExceeded: 'DEADLINE_EXCEEDED',
|
|
2351
2403
|
EnhanceYourCalm: 'ENHANCE_YOUR_CALM',
|
|
@@ -3291,6 +3343,7 @@ export const labelBrokerType = {
|
|
|
3291
3343
|
};
|
|
3292
3344
|
export const labelCarrierCode = {
|
|
3293
3345
|
Apc: 'APC',
|
|
3346
|
+
AustraliaPost: 'AUSTRALIA_POST',
|
|
3294
3347
|
CanadaPost: 'CANADA_POST',
|
|
3295
3348
|
Dhl: 'DHL',
|
|
3296
3349
|
DirectLink: 'DIRECT_LINK',
|
|
@@ -3772,6 +3825,7 @@ export const landedCostSettingsHsCodeConsolidationType = {
|
|
|
3772
3825
|
Hs10Coo: 'HS10_COO',
|
|
3773
3826
|
Hs6: 'HS6',
|
|
3774
3827
|
Hs6Coo: 'HS6_COO',
|
|
3828
|
+
None: 'NONE',
|
|
3775
3829
|
};
|
|
3776
3830
|
export const landedCostTariffRate = {
|
|
3777
3831
|
Exact: 'EXACT',
|
|
@@ -3929,6 +3983,29 @@ export const manifestDataSource = {
|
|
|
3929
3983
|
Predes: 'PREDES',
|
|
3930
3984
|
Resdit: 'RESDIT',
|
|
3931
3985
|
};
|
|
3986
|
+
export const manifestItemMeasurementType = {
|
|
3987
|
+
AlcoholByVolume: 'ALCOHOL_BY_VOLUME',
|
|
3988
|
+
Height: 'HEIGHT',
|
|
3989
|
+
Length: 'LENGTH',
|
|
3990
|
+
Volume: 'VOLUME',
|
|
3991
|
+
Weight: 'WEIGHT',
|
|
3992
|
+
Width: 'WIDTH',
|
|
3993
|
+
};
|
|
3994
|
+
export const manifestItemUnitOfMeasure = {
|
|
3995
|
+
Centimeter: 'CENTIMETER',
|
|
3996
|
+
Foot: 'FOOT',
|
|
3997
|
+
Gram: 'GRAM',
|
|
3998
|
+
Inch: 'INCH',
|
|
3999
|
+
Kilogram: 'KILOGRAM',
|
|
4000
|
+
Liter: 'LITER',
|
|
4001
|
+
Meter: 'METER',
|
|
4002
|
+
Milliliter: 'MILLILITER',
|
|
4003
|
+
Millimeter: 'MILLIMETER',
|
|
4004
|
+
Ounce: 'OUNCE',
|
|
4005
|
+
Percentage: 'PERCENTAGE',
|
|
4006
|
+
Pound: 'POUND',
|
|
4007
|
+
Yard: 'YARD',
|
|
4008
|
+
};
|
|
3932
4009
|
export const manifestLineEndUse = {
|
|
3933
4010
|
Documents: 'DOCUMENTS',
|
|
3934
4011
|
ForResale: 'FOR_RESALE',
|
|
@@ -5125,6 +5202,7 @@ export const shipmentCartonSpecialService = {
|
|
|
5125
5202
|
SignatureOption: 'SIGNATURE_OPTION',
|
|
5126
5203
|
};
|
|
5127
5204
|
export const shipmentConsolidationCarrier = {
|
|
5205
|
+
AustraliaPost: 'AUSTRALIA_POST',
|
|
5128
5206
|
CanadaPost: 'CANADA_POST',
|
|
5129
5207
|
JapanPost: 'JAPAN_POST',
|
|
5130
5208
|
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { c as createStore, z as zonosStore } from './zonosStore-
|
|
2
|
-
import { s as storageStore, t as translate, l as localizationStore, j as getOverridenZCountry, f as filterValidTests, d as storageStoreSetEnabledVariantTestKeys } from './localization-
|
|
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-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
|
-
import { i as isDarkColor } from './isDarkColor-
|
|
6
|
-
import { g as getBorderRadius } from './getBorderRadius-
|
|
5
|
+
import { i as isDarkColor } from './isDarkColor-039ef212.js';
|
|
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 };
|