@zonos/elements 1.3.39 → 1.3.41
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-c7212410.js → cart-497bb434.js} +300 -7
- package/dist/cjs/{getBorderRadius-074b46ef.js → getBorderRadius-4413e191.js} +1 -1
- package/dist/cjs/{index-b071017b.js → index-d56e0a8b.js} +242 -169
- package/dist/cjs/index.cjs.js +10 -4
- package/dist/cjs/{isDarkColor-371a3b1a.js → isDarkColor-4eb96a1e.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/paypal-e65a287a.js +461 -0
- package/dist/cjs/{submitGtag-7a679d92.js → sendErrorLog-c3c315a9.js} +2 -19
- package/dist/cjs/zonos-address_8.cjs.entry.js +11 -11
- package/dist/cjs/zonos-badge_2.cjs.entry.js +4 -4
- package/dist/cjs/zonos-banner.cjs.entry.js +2 -2
- package/dist/cjs/zonos-button_3.cjs.entry.js +4 -4
- package/dist/cjs/zonos-card.cjs.entry.js +3 -3
- package/dist/cjs/zonos-cart-items_12.cjs.entry.js +76 -38
- package/dist/cjs/zonos-checkout.cjs.entry.js +43 -70
- package/dist/cjs/zonos-component.cjs.entry.js +2 -2
- package/dist/cjs/zonos-controller.cjs.entry.js +15 -15
- package/dist/cjs/zonos-country-flag.cjs.entry.js +5 -5
- package/dist/cjs/{zonos-country-select_3.cjs.entry.js → zonos-country-select_4.cjs.entry.js} +100 -14
- package/dist/cjs/zonos-elements.cjs.js +3 -3
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +9 -9
- package/dist/cjs/zonos-hello.cjs.entry.js +5 -5
- package/dist/cjs/zonos-input.cjs.entry.js +7 -7
- package/dist/cjs/zonos-language-select_2.cjs.entry.js +9 -9
- package/dist/cjs/zonos-link.cjs.entry.js +2 -2
- package/dist/cjs/zonos-logo.cjs.entry.js +4 -4
- package/dist/cjs/{zonos-notification_2.cjs.entry.js → zonos-notification_3.cjs.entry.js} +59 -7
- package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +3 -3
- package/dist/cjs/zonos-text.cjs.entry.js +2 -2
- package/dist/cjs/zonos-v-stack.cjs.entry.js +4 -4
- package/dist/cjs/{zonosStore-4c6c85da.js → zonosStore-56401fdb.js} +5 -1
- package/dist/collection/__tests__/build-utils/urlCheckOne.js +3 -1
- package/dist/collection/collection-manifest.json +3 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-update-dialog.css +1 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +39 -8
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.css +1 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.css +7 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.js +37 -22
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.css +3 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +30 -60
- package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.css +1 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.css +1 -0
- package/dist/collection/components/common/zonos-country-select/zonos-country-select.css +8 -0
- package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +14 -4
- package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +2 -2
- package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +3 -3
- package/dist/collection/components/common/zonos-input/zonos-input.js +4 -4
- package/dist/collection/components/common/zonos-language-select/zonos-language-select.js +2 -2
- package/dist/collection/components/common/zonos-link/zonos-link.js +1 -1
- package/dist/collection/components/common/zonos-logo/zonos-logo.js +2 -2
- package/dist/collection/components/common/zonos-rest-state/zonos-rest-state.js +3 -3
- package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +2 -2
- package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.js +2 -2
- package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +2 -2
- package/dist/collection/components/common/zonos-virtual-scroll/zonos-virtual-scroll.css +46 -0
- package/dist/collection/components/common/zonos-virtual-scroll/zonos-virtual-scroll.js +177 -0
- package/dist/collection/components/component-template/zonos-component/zonos-component.js +1 -1
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +2 -2
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +4 -4
- package/dist/collection/components/main/zonos-controller.js +22 -8
- package/dist/collection/components/paypal/zonos-paypal-payment.css +37 -0
- package/dist/collection/components/paypal/zonos-paypal-payment.js +92 -0
- package/dist/collection/components/store/checkout/cart.js +26 -1
- package/dist/collection/components/store/checkout/paypal.js +219 -0
- package/dist/collection/components/store/checkout/stripe.js +16 -4
- package/dist/collection/components/store/translationStore/strings.arabic.js +12 -0
- package/dist/collection/components/store/translationStore/strings.base.js +12 -0
- package/dist/collection/components/store/translationStore/strings.chinese.js +12 -0
- package/dist/collection/components/store/translationStore/strings.danish.js +12 -0
- package/dist/collection/components/store/translationStore/strings.dutch.js +12 -0
- package/dist/collection/components/store/translationStore/strings.french.js +12 -0
- package/dist/collection/components/store/translationStore/strings.german.js +12 -0
- package/dist/collection/components/store/translationStore/strings.hebrew.js +12 -0
- package/dist/collection/components/store/translationStore/strings.indonesian.js +12 -0
- package/dist/collection/components/store/translationStore/strings.italian.js +12 -0
- package/dist/collection/components/store/translationStore/strings.japanese.js +12 -0
- package/dist/collection/components/store/translationStore/strings.korean.js +12 -0
- package/dist/collection/components/store/translationStore/strings.norwegian.js +12 -0
- package/dist/collection/components/store/translationStore/strings.polish.js +12 -0
- package/dist/collection/components/store/translationStore/strings.portuguese.js +12 -0
- package/dist/collection/components/store/translationStore/strings.russian.js +12 -0
- package/dist/collection/components/store/translationStore/strings.spanish.js +12 -0
- package/dist/collection/components/store/translationStore/strings.swedish.js +12 -0
- package/dist/collection/components/store/translationStore/strings.turkish.js +12 -0
- package/dist/collection/components/store/translationStore/strings.vietnamese.js +12 -0
- package/dist/collection/components/store/zonosStore.js +4 -0
- package/dist/collection/components/stripe/zonos-address/zonos-address.js +2 -2
- package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +1 -1
- package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +2 -3
- package/dist/collection/components/utils/api/getZonosSettings.js +3 -3
- package/dist/collection/components/utils/api/paypalCaptureOrder.js +8 -0
- package/dist/collection/components/utils/api/paypalCreateOrder.js +8 -0
- package/dist/collection/components/utils/getContrastColor.js +6 -2
- package/dist/collection/components/utils/handleFetch.js +6 -1
- package/dist/collection/components/utils/isContrastColor.js +7 -0
- package/dist/collection/environment.js +4 -5
- package/dist/collection/scripts/_getZonosQaUrl.js +4 -0
- package/dist/collection/scripts/_zonosBase.js +2 -0
- package/dist/collection/styles/stripe/addressRuleStyle.js +6 -0
- package/dist/collection/types/generated/graphql.customer.types.js +35 -0
- package/dist/esm/{cart-eb75b113.js → cart-f53c9f90.js} +296 -8
- package/dist/esm/{getBorderRadius-947c24de.js → getBorderRadius-3ba98361.js} +1 -1
- package/dist/esm/{index-3b46f3c3.js → index-86b8247e.js} +242 -169
- package/dist/esm/index.js +10 -4
- package/dist/esm/{isDarkColor-f8324c10.js → isDarkColor-3119e351.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/paypal-72296ae6.js +453 -0
- package/dist/esm/{submitGtag-0bc0baa0.js → sendErrorLog-f8d3ec4b.js} +3 -19
- package/dist/esm/zonos-address_8.entry.js +11 -11
- package/dist/esm/zonos-badge_2.entry.js +4 -4
- package/dist/esm/zonos-banner.entry.js +2 -2
- package/dist/esm/zonos-button_3.entry.js +4 -4
- package/dist/esm/zonos-card.entry.js +3 -3
- package/dist/esm/zonos-cart-items_12.entry.js +63 -25
- package/dist/esm/zonos-checkout.entry.js +34 -61
- package/dist/esm/zonos-component.entry.js +2 -2
- package/dist/esm/zonos-controller.entry.js +15 -15
- package/dist/esm/zonos-country-flag.entry.js +5 -5
- package/dist/esm/{zonos-country-select_3.entry.js → zonos-country-select_4.entry.js} +100 -15
- package/dist/esm/zonos-elements.js +4 -4
- package/dist/esm/zonos-hello-dialog.entry.js +9 -9
- package/dist/esm/zonos-hello.entry.js +5 -5
- package/dist/esm/zonos-input.entry.js +7 -7
- package/dist/esm/zonos-language-select_2.entry.js +9 -9
- package/dist/esm/zonos-link.entry.js +2 -2
- package/dist/esm/zonos-logo.entry.js +4 -4
- package/dist/esm/{zonos-notification_2.entry.js → zonos-notification_3.entry.js} +60 -9
- package/dist/esm/zonos-shipping-rich-radio.entry.js +3 -3
- package/dist/esm/zonos-text.entry.js +2 -2
- package/dist/esm/zonos-v-stack.entry.js +4 -4
- package/dist/esm/{zonosStore-ba9e541e.js → zonosStore-8fc9ceb2.js} +5 -1
- package/dist/esm-es5/cart-f53c9f90.js +1 -0
- package/dist/esm-es5/{getBorderRadius-947c24de.js → getBorderRadius-3ba98361.js} +1 -1
- package/dist/esm-es5/index-86b8247e.js +2 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{isDarkColor-f8324c10.js → isDarkColor-3119e351.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/paypal-72296ae6.js +17 -0
- package/dist/esm-es5/sendErrorLog-f8d3ec4b.js +1 -0
- package/dist/esm-es5/zonos-address_8.entry.js +1 -1
- package/dist/esm-es5/zonos-badge_2.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.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-component.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 -0
- package/dist/esm-es5/zonos-elements.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-language-select_2.entry.js +1 -1
- package/dist/esm-es5/zonos-link.entry.js +1 -1
- package/dist/esm-es5/zonos-logo.entry.js +1 -1
- package/dist/esm-es5/zonos-notification_3.entry.js +1 -0
- package/dist/esm-es5/zonos-shipping-rich-radio.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/esm-es5/{zonosStore-ba9e541e.js → zonosStore-8fc9ceb2.js} +1 -1
- package/dist/scripts/index.d.ts +170 -6
- 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-checkout-finish/zonos-checkout-finish.d.ts +2 -1
- package/dist/types/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.d.ts +8 -4
- package/dist/types/components/checkout/zonos-checkout/zonos-checkout.d.ts +1 -20
- package/dist/types/components/common/zonos-virtual-scroll/zonos-virtual-scroll.d.ts +32 -0
- package/dist/types/components/main/zonos-controller.d.ts +6 -0
- package/dist/types/components/paypal/zonos-paypal-payment.d.ts +17 -0
- package/dist/types/components/store/checkout/cart.d.ts +19 -1
- package/dist/types/components/store/checkout/paypal.d.ts +28 -0
- package/dist/types/components/store/checkout/stripe.d.ts +10 -1
- package/dist/types/components/store/translationStore/strings.arabic.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.base.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.chinese.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.danish.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.dutch.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.french.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.german.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.hebrew.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.indonesian.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.italian.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.japanese.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.korean.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.norwegian.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.polish.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.portuguese.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.russian.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.spanish.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.swedish.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.turkish.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +12 -0
- package/dist/types/components/store/translationStore.d.ts +1 -1
- package/dist/types/components/store/zonosStore.d.ts +4 -0
- package/dist/types/components/utils/api/getZonosSettings.d.ts +2 -0
- package/dist/types/components/utils/api/paypalCaptureOrder.d.ts +10 -0
- package/dist/types/components/utils/api/paypalCreateOrder.d.ts +9 -0
- package/dist/types/components/utils/handleFetch.d.ts +4 -0
- package/dist/types/components/utils/isContrastColor.d.ts +4 -0
- package/dist/types/components.d.ts +129 -6
- package/dist/types/scripts/_zonosBase.d.ts +9 -1
- package/dist/types/stencil-public-runtime.d.ts +3 -10
- package/dist/types/types/checkout/CheckoutConfig.d.ts +14 -1
- package/dist/types/types/generated/graphql.customer.types.d.ts +71 -11
- package/dist/types/types/generated/graphql.customer.types.ts +103 -11
- package/dist/zonos-elements/index.esm.js +1 -1
- package/dist/zonos-elements/{p-71882ac9.system.entry.js → p-0229282c.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-5821856c.js → p-04054425.js} +1 -1
- package/dist/zonos-elements/p-05cdd3b4.js +17 -0
- package/dist/zonos-elements/{p-a8b934c2.entry.js → p-0f9804e3.entry.js} +1 -1
- package/dist/zonos-elements/p-12266c9e.js +1 -0
- package/dist/zonos-elements/{p-01304a58.system.entry.js → p-14067782.system.entry.js} +1 -1
- package/dist/zonos-elements/p-1a89c54a.js +1 -0
- package/dist/zonos-elements/{p-d2992457.system.entry.js → p-1e4f7997.system.entry.js} +1 -1
- package/dist/zonos-elements/p-1ee2fa70.system.entry.js +1 -0
- package/dist/zonos-elements/{p-63a27875.entry.js → p-25633055.entry.js} +1 -1
- package/dist/zonos-elements/{p-e37440ad.system.js → p-40c21634.system.js} +1 -1
- package/dist/zonos-elements/p-4db5be24.system.entry.js +1 -0
- package/dist/zonos-elements/{p-da2e5289.system.entry.js → p-4f454a91.system.entry.js} +1 -1
- package/dist/zonos-elements/p-52947dab.system.entry.js +1 -0
- package/dist/zonos-elements/{p-62ed4236.entry.js → p-52fa9aab.entry.js} +1 -1
- package/dist/zonos-elements/{p-31b3d26b.js → p-52fb6876.js} +1 -1
- package/dist/zonos-elements/p-539974db.system.js +1 -0
- package/dist/zonos-elements/p-5922c099.entry.js +1 -0
- package/dist/zonos-elements/p-5b7da777.js +2 -0
- package/dist/zonos-elements/p-5fe10991.system.entry.js +1 -0
- package/dist/zonos-elements/p-678f1888.entry.js +1 -0
- package/dist/zonos-elements/p-67f22fbf.system.entry.js +1 -0
- package/dist/zonos-elements/{p-9a1c0d02.js → p-6ac72711.js} +1 -1
- package/dist/zonos-elements/{p-ed333de6.system.entry.js → p-6bb0b7d2.system.entry.js} +1 -1
- package/dist/zonos-elements/p-6de1c78a.entry.js +1 -0
- package/dist/zonos-elements/{p-d8c1eb99.entry.js → p-6de38759.entry.js} +1 -1
- package/dist/zonos-elements/{p-a21ec316.system.entry.js → p-6fbb4565.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-6c3390b7.entry.js → p-706d2bad.entry.js} +1 -1
- package/dist/zonos-elements/{p-73ba4398.system.entry.js → p-717028a2.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-8acdf43b.system.entry.js → p-7833fa53.system.entry.js} +1 -1
- package/dist/zonos-elements/p-79fd4f3c.system.js +1 -0
- package/dist/zonos-elements/p-8809964a.system.js +1 -0
- package/dist/zonos-elements/{p-3541e6dd.entry.js → p-8b01aafb.entry.js} +1 -1
- package/dist/zonos-elements/{p-2aa72606.entry.js → p-9220f63d.entry.js} +1 -1
- package/dist/zonos-elements/{p-699a5376.entry.js → p-9420f9db.entry.js} +1 -1
- package/dist/zonos-elements/p-9525cc44.system.js +1 -0
- package/dist/zonos-elements/{p-c21802e9.entry.js → p-9a319774.entry.js} +1 -1
- package/dist/zonos-elements/{p-3523c3b4.entry.js → p-9d1f13c2.entry.js} +1 -1
- package/dist/zonos-elements/{p-c0fcc0fa.system.entry.js → p-9eadd9a7.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-966ab4e7.system.entry.js → p-a3e2592b.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-f06bb776.system.entry.js → p-ab11cca6.system.entry.js} +1 -1
- package/dist/zonos-elements/p-b3e825dc.system.js +17 -0
- package/dist/zonos-elements/{p-9d29f3f4.system.entry.js → p-b689309d.system.entry.js} +1 -1
- package/dist/zonos-elements/p-c460665d.system.js +1 -0
- package/dist/zonos-elements/p-c4617501.entry.js +1 -0
- package/dist/zonos-elements/{p-b903af96.system.entry.js → p-c4bb2949.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-c3619b3d.entry.js → p-c7301a88.entry.js} +1 -1
- package/dist/zonos-elements/p-c78dd680.system.js +1 -0
- package/dist/zonos-elements/p-d86c89e3.entry.js +1 -0
- package/dist/zonos-elements/{p-e3c014ae.entry.js → p-dc368ad5.entry.js} +1 -1
- package/dist/zonos-elements/{p-18b28104.entry.js → p-de53d9c3.entry.js} +1 -1
- package/dist/zonos-elements/p-df69fa38.system.entry.js +1 -0
- package/dist/zonos-elements/{p-22882fd6.entry.js → p-e07bf9ea.entry.js} +1 -1
- package/dist/zonos-elements/{p-9de374a7.system.entry.js → p-e8f7fb29.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-59f37de3.entry.js → p-f35ee203.entry.js} +1 -1
- package/dist/zonos-elements/p-fd061229.system.js +2 -0
- package/dist/zonos-elements/p-fd54fbb9.system.entry.js +1 -0
- package/dist/zonos-elements/p-fdb4347f.entry.js +1 -0
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/dist/zonos-elements/zonos-elements.js +1 -1
- package/loader/cdn.js +1 -2
- package/loader/index.cjs.js +1 -2
- package/loader/index.d.ts +3 -0
- package/loader/index.es2017.js +1 -2
- package/loader/index.js +1 -2
- package/package.json +12 -11
- package/dist/esm-es5/cart-eb75b113.js +0 -1
- package/dist/esm-es5/index-3b46f3c3.js +0 -2
- package/dist/esm-es5/submitGtag-0bc0baa0.js +0 -1
- package/dist/esm-es5/zonos-country-select_3.entry.js +0 -1
- package/dist/esm-es5/zonos-notification_2.entry.js +0 -1
- package/dist/zonos-elements/p-02405211.system.entry.js +0 -1
- package/dist/zonos-elements/p-085548f2.entry.js +0 -1
- package/dist/zonos-elements/p-0b538ed4.system.js +0 -1
- package/dist/zonos-elements/p-2a45c837.system.entry.js +0 -1
- package/dist/zonos-elements/p-357322ea.system.entry.js +0 -1
- package/dist/zonos-elements/p-3f5e2e5c.system.entry.js +0 -1
- package/dist/zonos-elements/p-53acc999.js +0 -1
- package/dist/zonos-elements/p-548ac127.entry.js +0 -1
- package/dist/zonos-elements/p-5609876a.system.entry.js +0 -1
- package/dist/zonos-elements/p-6f9448bb.entry.js +0 -1
- package/dist/zonos-elements/p-70262120.system.js +0 -1
- package/dist/zonos-elements/p-878293fe.js +0 -1
- package/dist/zonos-elements/p-97d74f84.system.js +0 -1
- package/dist/zonos-elements/p-a393c1db.system.entry.js +0 -1
- package/dist/zonos-elements/p-a8cb25de.system.js +0 -1
- package/dist/zonos-elements/p-abe8ea12.system.js +0 -1
- package/dist/zonos-elements/p-ae04d3ff.entry.js +0 -1
- package/dist/zonos-elements/p-b684f8aa.system.entry.js +0 -1
- package/dist/zonos-elements/p-ce347974.js +0 -2
- package/dist/zonos-elements/p-d99232c5.system.js +0 -2
- package/dist/zonos-elements/p-e0bf9666.system.js +0 -1
- package/dist/zonos-elements/p-e1db1bc9.entry.js +0 -1
- package/dist/zonos-elements/p-e74ca4bc.entry.js +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as createStore, z as zonosStore } from './zonosStore-
|
|
1
|
+
import { c as createStore, z as zonosStore } from './zonosStore-8fc9ceb2.js';
|
|
2
2
|
import { a as logError, l as log } from './logError-c456c092.js';
|
|
3
|
-
import { i as isDarkColor } from './isDarkColor-
|
|
4
|
-
import { g as getBorderRadius } from './getBorderRadius-
|
|
3
|
+
import { i as isDarkColor } from './isDarkColor-3119e351.js';
|
|
4
|
+
import { g as getBorderRadius } from './getBorderRadius-3ba98361.js';
|
|
5
5
|
|
|
6
6
|
const stringsArabic = {
|
|
7
7
|
'Above de minimis threshold for': {
|
|
@@ -16,6 +16,9 @@ const stringsArabic = {
|
|
|
16
16
|
'Address line 2': {
|
|
17
17
|
value: 'سطر العنوان 2',
|
|
18
18
|
},
|
|
19
|
+
'An unexpected error occurred when processing PayPal order.': {
|
|
20
|
+
value: 'حدث خطأ غير متوقع عند معالجة طلب PayPal.',
|
|
21
|
+
},
|
|
19
22
|
'Are you sure?': {
|
|
20
23
|
value: 'هل أنت متأكد؟',
|
|
21
24
|
},
|
|
@@ -97,6 +100,9 @@ const stringsArabic = {
|
|
|
97
100
|
'Expected delivery': {
|
|
98
101
|
value: 'التوصيل المتوقع',
|
|
99
102
|
},
|
|
103
|
+
'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
|
|
104
|
+
value: 'فشل في إنشاء طلب PayPal. يرجى المحاولة مرة أخرى، أو النظر في استخدام طريقة بديلة.',
|
|
105
|
+
},
|
|
100
106
|
Failure: {
|
|
101
107
|
value: 'فشل',
|
|
102
108
|
},
|
|
@@ -130,6 +136,9 @@ const stringsArabic = {
|
|
|
130
136
|
Name: {
|
|
131
137
|
value: 'اسم',
|
|
132
138
|
},
|
|
139
|
+
'No countries found': {
|
|
140
|
+
value: 'لم يتم العثور على دول',
|
|
141
|
+
},
|
|
133
142
|
'No shipping method selected': {
|
|
134
143
|
value: 'لم يتم تحديد طريقة الشحن',
|
|
135
144
|
},
|
|
@@ -322,6 +331,9 @@ const stringsArabic = {
|
|
|
322
331
|
'click to learn more': {
|
|
323
332
|
value: 'انقر لمعرفة المزيد',
|
|
324
333
|
},
|
|
334
|
+
or: {
|
|
335
|
+
value: 'أو',
|
|
336
|
+
},
|
|
325
337
|
'restricted items': {
|
|
326
338
|
value: 'عناصر مقيدة',
|
|
327
339
|
},
|
|
@@ -340,6 +352,9 @@ const stringsBase = {
|
|
|
340
352
|
'Address line 2': {
|
|
341
353
|
value: 'Address line 2',
|
|
342
354
|
},
|
|
355
|
+
'An unexpected error occurred when processing PayPal order.': {
|
|
356
|
+
value: 'An unexpected error occurred when processing PayPal order.',
|
|
357
|
+
},
|
|
343
358
|
'Are you sure?': {
|
|
344
359
|
value: 'Are you sure?',
|
|
345
360
|
},
|
|
@@ -421,6 +436,9 @@ const stringsBase = {
|
|
|
421
436
|
'Expected delivery': {
|
|
422
437
|
value: 'Expected delivery',
|
|
423
438
|
},
|
|
439
|
+
'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
|
|
440
|
+
value: 'Failed to create PayPal order. Please try again, or consider using an alternative method.',
|
|
441
|
+
},
|
|
424
442
|
Failure: {
|
|
425
443
|
value: 'Failure',
|
|
426
444
|
},
|
|
@@ -454,6 +472,9 @@ const stringsBase = {
|
|
|
454
472
|
Name: {
|
|
455
473
|
value: 'Name',
|
|
456
474
|
},
|
|
475
|
+
'No countries found': {
|
|
476
|
+
value: 'No countries found',
|
|
477
|
+
},
|
|
457
478
|
'No shipping method selected': {
|
|
458
479
|
value: 'No shipping method selected',
|
|
459
480
|
},
|
|
@@ -646,6 +667,9 @@ const stringsBase = {
|
|
|
646
667
|
'click to learn more': {
|
|
647
668
|
value: 'click to learn more',
|
|
648
669
|
},
|
|
670
|
+
or: {
|
|
671
|
+
value: 'or',
|
|
672
|
+
},
|
|
649
673
|
'restricted items': {
|
|
650
674
|
value: 'restricted items',
|
|
651
675
|
},
|
|
@@ -664,6 +688,9 @@ const stringsChinese = {
|
|
|
664
688
|
'Address line 2': {
|
|
665
689
|
value: '地址行2',
|
|
666
690
|
},
|
|
691
|
+
'An unexpected error occurred when processing PayPal order.': {
|
|
692
|
+
value: '处理PayPal订单时发生意外错误。',
|
|
693
|
+
},
|
|
667
694
|
'Are you sure?': {
|
|
668
695
|
value: '你确定吗?',
|
|
669
696
|
},
|
|
@@ -745,6 +772,9 @@ const stringsChinese = {
|
|
|
745
772
|
'Expected delivery': {
|
|
746
773
|
value: '预计送达',
|
|
747
774
|
},
|
|
775
|
+
'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
|
|
776
|
+
value: '创建PayPal订单失败。请重试,或考虑使用其他方法。',
|
|
777
|
+
},
|
|
748
778
|
Failure: {
|
|
749
779
|
value: '失败',
|
|
750
780
|
},
|
|
@@ -778,6 +808,9 @@ const stringsChinese = {
|
|
|
778
808
|
Name: {
|
|
779
809
|
value: '名称',
|
|
780
810
|
},
|
|
811
|
+
'No countries found': {
|
|
812
|
+
value: '未找到国家',
|
|
813
|
+
},
|
|
781
814
|
'No shipping method selected': {
|
|
782
815
|
value: '未选择运输方式',
|
|
783
816
|
},
|
|
@@ -970,6 +1003,9 @@ const stringsChinese = {
|
|
|
970
1003
|
'click to learn more': {
|
|
971
1004
|
value: '点击了解更多',
|
|
972
1005
|
},
|
|
1006
|
+
or: {
|
|
1007
|
+
value: '或',
|
|
1008
|
+
},
|
|
973
1009
|
'restricted items': {
|
|
974
1010
|
value: '限制物品',
|
|
975
1011
|
},
|
|
@@ -988,6 +1024,9 @@ const stringsDanish = {
|
|
|
988
1024
|
'Address line 2': {
|
|
989
1025
|
value: 'Adresse linje 2',
|
|
990
1026
|
},
|
|
1027
|
+
'An unexpected error occurred when processing PayPal order.': {
|
|
1028
|
+
value: 'Der opstod en uventet fejl ved behandling af PayPal-ordren.',
|
|
1029
|
+
},
|
|
991
1030
|
'Are you sure?': {
|
|
992
1031
|
value: 'Er du sikker?',
|
|
993
1032
|
},
|
|
@@ -1069,6 +1108,9 @@ const stringsDanish = {
|
|
|
1069
1108
|
'Expected delivery': {
|
|
1070
1109
|
value: 'Forventet levering',
|
|
1071
1110
|
},
|
|
1111
|
+
'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
|
|
1112
|
+
value: 'Kunne ikke oprette PayPal-ordre. Prøv venligst igen, eller overvej at bruge en alternativ metode.',
|
|
1113
|
+
},
|
|
1072
1114
|
Failure: {
|
|
1073
1115
|
value: 'Fiasko',
|
|
1074
1116
|
},
|
|
@@ -1102,6 +1144,9 @@ const stringsDanish = {
|
|
|
1102
1144
|
Name: {
|
|
1103
1145
|
value: 'Navn',
|
|
1104
1146
|
},
|
|
1147
|
+
'No countries found': {
|
|
1148
|
+
value: 'Ingen lande fundet',
|
|
1149
|
+
},
|
|
1105
1150
|
'No shipping method selected': {
|
|
1106
1151
|
value: 'Ingen leveringsmetode valgt',
|
|
1107
1152
|
},
|
|
@@ -1294,6 +1339,9 @@ const stringsDanish = {
|
|
|
1294
1339
|
'click to learn more': {
|
|
1295
1340
|
value: 'klik for at lære mere',
|
|
1296
1341
|
},
|
|
1342
|
+
or: {
|
|
1343
|
+
value: 'eller',
|
|
1344
|
+
},
|
|
1297
1345
|
'restricted items': {
|
|
1298
1346
|
value: 'begrænsede genstande',
|
|
1299
1347
|
},
|
|
@@ -1312,6 +1360,9 @@ const stringsDutch = {
|
|
|
1312
1360
|
'Address line 2': {
|
|
1313
1361
|
value: 'Adreslijn 2',
|
|
1314
1362
|
},
|
|
1363
|
+
'An unexpected error occurred when processing PayPal order.': {
|
|
1364
|
+
value: 'Er is een onverwachte fout opgetreden bij het verwerken van de PayPal-bestelling.',
|
|
1365
|
+
},
|
|
1315
1366
|
'Are you sure?': {
|
|
1316
1367
|
value: 'Weet je het zeker?',
|
|
1317
1368
|
},
|
|
@@ -1393,6 +1444,9 @@ const stringsDutch = {
|
|
|
1393
1444
|
'Expected delivery': {
|
|
1394
1445
|
value: 'Verwachte levering',
|
|
1395
1446
|
},
|
|
1447
|
+
'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
|
|
1448
|
+
value: 'Het aanmaken van de PayPal-bestelling is mislukt. Probeer het opnieuw of overweeg een alternatieve methode te gebruiken.',
|
|
1449
|
+
},
|
|
1396
1450
|
Failure: {
|
|
1397
1451
|
value: 'Mislukking',
|
|
1398
1452
|
},
|
|
@@ -1426,6 +1480,9 @@ const stringsDutch = {
|
|
|
1426
1480
|
Name: {
|
|
1427
1481
|
value: 'Naam',
|
|
1428
1482
|
},
|
|
1483
|
+
'No countries found': {
|
|
1484
|
+
value: 'Geen landen gevonden',
|
|
1485
|
+
},
|
|
1429
1486
|
'No shipping method selected': {
|
|
1430
1487
|
value: 'Geen verzendmethode geselecteerd',
|
|
1431
1488
|
},
|
|
@@ -1618,6 +1675,9 @@ const stringsDutch = {
|
|
|
1618
1675
|
'click to learn more': {
|
|
1619
1676
|
value: 'klik om meer te leren',
|
|
1620
1677
|
},
|
|
1678
|
+
or: {
|
|
1679
|
+
value: 'of',
|
|
1680
|
+
},
|
|
1621
1681
|
'restricted items': {
|
|
1622
1682
|
value: 'beperkte items',
|
|
1623
1683
|
},
|
|
@@ -1636,6 +1696,9 @@ const stringsFrench = {
|
|
|
1636
1696
|
'Address line 2': {
|
|
1637
1697
|
value: 'Adresse ligne 2',
|
|
1638
1698
|
},
|
|
1699
|
+
'An unexpected error occurred when processing PayPal order.': {
|
|
1700
|
+
value: "Une erreur inattendue s'est produite lors du traitement de la commande PayPal.",
|
|
1701
|
+
},
|
|
1639
1702
|
'Are you sure?': {
|
|
1640
1703
|
value: 'Es-tu sûr?',
|
|
1641
1704
|
},
|
|
@@ -1717,6 +1780,9 @@ const stringsFrench = {
|
|
|
1717
1780
|
'Expected delivery': {
|
|
1718
1781
|
value: 'Livraison prévue',
|
|
1719
1782
|
},
|
|
1783
|
+
'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
|
|
1784
|
+
value: "Échec de la création de la commande PayPal. Veuillez réessayer ou envisager d'utiliser une méthode alternative.",
|
|
1785
|
+
},
|
|
1720
1786
|
Failure: {
|
|
1721
1787
|
value: 'Échec',
|
|
1722
1788
|
},
|
|
@@ -1750,6 +1816,9 @@ const stringsFrench = {
|
|
|
1750
1816
|
Name: {
|
|
1751
1817
|
value: 'Nom',
|
|
1752
1818
|
},
|
|
1819
|
+
'No countries found': {
|
|
1820
|
+
value: 'Aucun pays trouvé',
|
|
1821
|
+
},
|
|
1753
1822
|
'No shipping method selected': {
|
|
1754
1823
|
value: 'Aucune méthode de livraison sélectionnée',
|
|
1755
1824
|
},
|
|
@@ -1942,6 +2011,9 @@ const stringsFrench = {
|
|
|
1942
2011
|
'click to learn more': {
|
|
1943
2012
|
value: 'cliquez pour en savoir plus',
|
|
1944
2013
|
},
|
|
2014
|
+
or: {
|
|
2015
|
+
value: 'ou',
|
|
2016
|
+
},
|
|
1945
2017
|
'restricted items': {
|
|
1946
2018
|
value: 'articles restreints',
|
|
1947
2019
|
},
|
|
@@ -1960,6 +2032,9 @@ const stringsGerman = {
|
|
|
1960
2032
|
'Address line 2': {
|
|
1961
2033
|
value: 'Adresszeile 2',
|
|
1962
2034
|
},
|
|
2035
|
+
'An unexpected error occurred when processing PayPal order.': {
|
|
2036
|
+
value: 'Beim Verarbeiten der PayPal-Bestellung ist ein unerwarteter Fehler aufgetreten.',
|
|
2037
|
+
},
|
|
1963
2038
|
'Are you sure?': {
|
|
1964
2039
|
value: 'Bist du sicher?',
|
|
1965
2040
|
},
|
|
@@ -2041,6 +2116,9 @@ const stringsGerman = {
|
|
|
2041
2116
|
'Expected delivery': {
|
|
2042
2117
|
value: 'Voraussichtliche Lieferung',
|
|
2043
2118
|
},
|
|
2119
|
+
'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
|
|
2120
|
+
value: 'Fehler beim Erstellen der PayPal-Bestellung. Bitte versuchen Sie es erneut oder erwägen Sie die Verwendung einer alternativen Methode.',
|
|
2121
|
+
},
|
|
2044
2122
|
Failure: {
|
|
2045
2123
|
value: 'Misserfolg',
|
|
2046
2124
|
},
|
|
@@ -2074,6 +2152,9 @@ const stringsGerman = {
|
|
|
2074
2152
|
Name: {
|
|
2075
2153
|
value: 'Name',
|
|
2076
2154
|
},
|
|
2155
|
+
'No countries found': {
|
|
2156
|
+
value: 'Keine Länder gefunden',
|
|
2157
|
+
},
|
|
2077
2158
|
'No shipping method selected': {
|
|
2078
2159
|
value: 'Keine Versandart ausgewählt',
|
|
2079
2160
|
},
|
|
@@ -2266,6 +2347,9 @@ const stringsGerman = {
|
|
|
2266
2347
|
'click to learn more': {
|
|
2267
2348
|
value: 'Klicken, um mehr zu erfahren',
|
|
2268
2349
|
},
|
|
2350
|
+
or: {
|
|
2351
|
+
value: 'oder',
|
|
2352
|
+
},
|
|
2269
2353
|
'restricted items': {
|
|
2270
2354
|
value: 'eingeschränkte Artikel',
|
|
2271
2355
|
},
|
|
@@ -2284,6 +2368,9 @@ const stringsHebrew = {
|
|
|
2284
2368
|
'Address line 2': {
|
|
2285
2369
|
value: 'כתובת שורה 2',
|
|
2286
2370
|
},
|
|
2371
|
+
'An unexpected error occurred when processing PayPal order.': {
|
|
2372
|
+
value: 'אירעה שגיאה בלתי צפויה בעת עיבוד הזמנת PayPal.',
|
|
2373
|
+
},
|
|
2287
2374
|
'Are you sure?': {
|
|
2288
2375
|
value: 'אתה בטוח?',
|
|
2289
2376
|
},
|
|
@@ -2365,6 +2452,9 @@ const stringsHebrew = {
|
|
|
2365
2452
|
'Expected delivery': {
|
|
2366
2453
|
value: 'אספקה צפויה',
|
|
2367
2454
|
},
|
|
2455
|
+
'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
|
|
2456
|
+
value: 'נכשל ביצירת הזמנת PayPal. אנא נסה שוב, או שקול להשתמש בשיטה חלופית.',
|
|
2457
|
+
},
|
|
2368
2458
|
Failure: {
|
|
2369
2459
|
value: 'כישלון',
|
|
2370
2460
|
},
|
|
@@ -2398,6 +2488,9 @@ const stringsHebrew = {
|
|
|
2398
2488
|
Name: {
|
|
2399
2489
|
value: 'שם',
|
|
2400
2490
|
},
|
|
2491
|
+
'No countries found': {
|
|
2492
|
+
value: 'לא נמצאו מדינות',
|
|
2493
|
+
},
|
|
2401
2494
|
'No shipping method selected': {
|
|
2402
2495
|
value: 'לא נבחרה שיטת משלוח',
|
|
2403
2496
|
},
|
|
@@ -2590,6 +2683,9 @@ const stringsHebrew = {
|
|
|
2590
2683
|
'click to learn more': {
|
|
2591
2684
|
value: 'לחץ למידע נוסף',
|
|
2592
2685
|
},
|
|
2686
|
+
or: {
|
|
2687
|
+
value: 'או',
|
|
2688
|
+
},
|
|
2593
2689
|
'restricted items': {
|
|
2594
2690
|
value: 'פריטים מוגבלים',
|
|
2595
2691
|
},
|
|
@@ -2608,6 +2704,9 @@ const stringsIndonesian = {
|
|
|
2608
2704
|
'Address line 2': {
|
|
2609
2705
|
value: 'Baris alamat 2',
|
|
2610
2706
|
},
|
|
2707
|
+
'An unexpected error occurred when processing PayPal order.': {
|
|
2708
|
+
value: 'Terjadi kesalahan tak terduga saat memproses pesanan PayPal.',
|
|
2709
|
+
},
|
|
2611
2710
|
'Are you sure?': {
|
|
2612
2711
|
value: 'Apakah Anda yakin?',
|
|
2613
2712
|
},
|
|
@@ -2689,6 +2788,9 @@ const stringsIndonesian = {
|
|
|
2689
2788
|
'Expected delivery': {
|
|
2690
2789
|
value: 'Perkiraan pengiriman',
|
|
2691
2790
|
},
|
|
2791
|
+
'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
|
|
2792
|
+
value: 'Gagal membuat pesanan PayPal. Silakan coba lagi, atau pertimbangkan menggunakan metode alternatif.',
|
|
2793
|
+
},
|
|
2692
2794
|
Failure: {
|
|
2693
2795
|
value: 'Kegagalan',
|
|
2694
2796
|
},
|
|
@@ -2722,6 +2824,9 @@ const stringsIndonesian = {
|
|
|
2722
2824
|
Name: {
|
|
2723
2825
|
value: 'Nama',
|
|
2724
2826
|
},
|
|
2827
|
+
'No countries found': {
|
|
2828
|
+
value: 'Tidak ada negara yang ditemukan',
|
|
2829
|
+
},
|
|
2725
2830
|
'No shipping method selected': {
|
|
2726
2831
|
value: 'Tidak ada metode pengiriman yang dipilih',
|
|
2727
2832
|
},
|
|
@@ -2914,6 +3019,9 @@ const stringsIndonesian = {
|
|
|
2914
3019
|
'click to learn more': {
|
|
2915
3020
|
value: 'klik untuk belajar lebih lanjut',
|
|
2916
3021
|
},
|
|
3022
|
+
or: {
|
|
3023
|
+
value: 'atau',
|
|
3024
|
+
},
|
|
2917
3025
|
'restricted items': {
|
|
2918
3026
|
value: 'barang terbatas',
|
|
2919
3027
|
},
|
|
@@ -2932,6 +3040,9 @@ const stringsItalian = {
|
|
|
2932
3040
|
'Address line 2': {
|
|
2933
3041
|
value: 'Indirizzo linea 2',
|
|
2934
3042
|
},
|
|
3043
|
+
'An unexpected error occurred when processing PayPal order.': {
|
|
3044
|
+
value: "Si è verificato un errore imprevisto durante l'elaborazione dell'ordine PayPal.",
|
|
3045
|
+
},
|
|
2935
3046
|
'Are you sure?': {
|
|
2936
3047
|
value: 'Sei sicuro?',
|
|
2937
3048
|
},
|
|
@@ -3013,6 +3124,9 @@ const stringsItalian = {
|
|
|
3013
3124
|
'Expected delivery': {
|
|
3014
3125
|
value: 'Consegna prevista',
|
|
3015
3126
|
},
|
|
3127
|
+
'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
|
|
3128
|
+
value: "Impossibile creare l'ordine PayPal. Per favore, riprova o considera l'uso di un metodo alternativo.",
|
|
3129
|
+
},
|
|
3016
3130
|
Failure: {
|
|
3017
3131
|
value: 'Fallimento',
|
|
3018
3132
|
},
|
|
@@ -3046,6 +3160,9 @@ const stringsItalian = {
|
|
|
3046
3160
|
Name: {
|
|
3047
3161
|
value: 'Nome',
|
|
3048
3162
|
},
|
|
3163
|
+
'No countries found': {
|
|
3164
|
+
value: 'Nessun paese trovato',
|
|
3165
|
+
},
|
|
3049
3166
|
'No shipping method selected': {
|
|
3050
3167
|
value: 'Nessun metodo di spedizione selezionato',
|
|
3051
3168
|
},
|
|
@@ -3238,6 +3355,9 @@ const stringsItalian = {
|
|
|
3238
3355
|
'click to learn more': {
|
|
3239
3356
|
value: 'clicca per saperne di più',
|
|
3240
3357
|
},
|
|
3358
|
+
or: {
|
|
3359
|
+
value: 'o',
|
|
3360
|
+
},
|
|
3241
3361
|
'restricted items': {
|
|
3242
3362
|
value: 'articoli limitati',
|
|
3243
3363
|
},
|
|
@@ -3256,6 +3376,9 @@ const stringsJapanese = {
|
|
|
3256
3376
|
'Address line 2': {
|
|
3257
3377
|
value: '住所2',
|
|
3258
3378
|
},
|
|
3379
|
+
'An unexpected error occurred when processing PayPal order.': {
|
|
3380
|
+
value: 'PayPal注文の処理中に予期しないエラーが発生しました。',
|
|
3381
|
+
},
|
|
3259
3382
|
'Are you sure?': {
|
|
3260
3383
|
value: '本気ですか?',
|
|
3261
3384
|
},
|
|
@@ -3337,6 +3460,9 @@ const stringsJapanese = {
|
|
|
3337
3460
|
'Expected delivery': {
|
|
3338
3461
|
value: '配送予定日',
|
|
3339
3462
|
},
|
|
3463
|
+
'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
|
|
3464
|
+
value: 'PayPal注文の作成に失敗しました。もう一度お試しになるか、別の方法を検討してください。',
|
|
3465
|
+
},
|
|
3340
3466
|
Failure: {
|
|
3341
3467
|
value: '失敗',
|
|
3342
3468
|
},
|
|
@@ -3370,6 +3496,9 @@ const stringsJapanese = {
|
|
|
3370
3496
|
Name: {
|
|
3371
3497
|
value: '名前',
|
|
3372
3498
|
},
|
|
3499
|
+
'No countries found': {
|
|
3500
|
+
value: '国が見つかりません',
|
|
3501
|
+
},
|
|
3373
3502
|
'No shipping method selected': {
|
|
3374
3503
|
value: '配送方法が選択されていません',
|
|
3375
3504
|
},
|
|
@@ -3562,6 +3691,9 @@ const stringsJapanese = {
|
|
|
3562
3691
|
'click to learn more': {
|
|
3563
3692
|
value: '詳細を知るにはクリック',
|
|
3564
3693
|
},
|
|
3694
|
+
or: {
|
|
3695
|
+
value: 'または',
|
|
3696
|
+
},
|
|
3565
3697
|
'restricted items': {
|
|
3566
3698
|
value: '制限された項目',
|
|
3567
3699
|
},
|
|
@@ -3580,6 +3712,9 @@ const stringsKorean = {
|
|
|
3580
3712
|
'Address line 2': {
|
|
3581
3713
|
value: '주소 2',
|
|
3582
3714
|
},
|
|
3715
|
+
'An unexpected error occurred when processing PayPal order.': {
|
|
3716
|
+
value: 'PayPal 주문을 처리하는 중에 예기치 않은 오류가 발생했습니다.',
|
|
3717
|
+
},
|
|
3583
3718
|
'Are you sure?': {
|
|
3584
3719
|
value: '확실합니까?',
|
|
3585
3720
|
},
|
|
@@ -3661,6 +3796,9 @@ const stringsKorean = {
|
|
|
3661
3796
|
'Expected delivery': {
|
|
3662
3797
|
value: '예상 배송일',
|
|
3663
3798
|
},
|
|
3799
|
+
'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
|
|
3800
|
+
value: 'PayPal 주문 생성에 실패했습니다. 다시 시도하거나 대체 방법을 고려하십시오.',
|
|
3801
|
+
},
|
|
3664
3802
|
Failure: {
|
|
3665
3803
|
value: '실패',
|
|
3666
3804
|
},
|
|
@@ -3694,6 +3832,9 @@ const stringsKorean = {
|
|
|
3694
3832
|
Name: {
|
|
3695
3833
|
value: '이름',
|
|
3696
3834
|
},
|
|
3835
|
+
'No countries found': {
|
|
3836
|
+
value: '국가를 찾을 수 없습니다',
|
|
3837
|
+
},
|
|
3697
3838
|
'No shipping method selected': {
|
|
3698
3839
|
value: '선택된 배송 방법이 없습니다',
|
|
3699
3840
|
},
|
|
@@ -3886,6 +4027,9 @@ const stringsKorean = {
|
|
|
3886
4027
|
'click to learn more': {
|
|
3887
4028
|
value: '자세히 알아보려면 클릭',
|
|
3888
4029
|
},
|
|
4030
|
+
or: {
|
|
4031
|
+
value: '또는',
|
|
4032
|
+
},
|
|
3889
4033
|
'restricted items': {
|
|
3890
4034
|
value: '제한된 항목',
|
|
3891
4035
|
},
|
|
@@ -3904,6 +4048,9 @@ const stringsNorwegian = {
|
|
|
3904
4048
|
'Address line 2': {
|
|
3905
4049
|
value: 'Adresselinje 2',
|
|
3906
4050
|
},
|
|
4051
|
+
'An unexpected error occurred when processing PayPal order.': {
|
|
4052
|
+
value: 'En uventet feil oppstod ved behandling av PayPal-bestillingen.',
|
|
4053
|
+
},
|
|
3907
4054
|
'Are you sure?': {
|
|
3908
4055
|
value: 'Er du sikker?',
|
|
3909
4056
|
},
|
|
@@ -3985,6 +4132,9 @@ const stringsNorwegian = {
|
|
|
3985
4132
|
'Expected delivery': {
|
|
3986
4133
|
value: 'Forventet levering',
|
|
3987
4134
|
},
|
|
4135
|
+
'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
|
|
4136
|
+
value: 'Kunne ikke opprette PayPal-bestilling. Vennligst prøv igjen, eller vurder å bruke en alternativ metode.',
|
|
4137
|
+
},
|
|
3988
4138
|
Failure: {
|
|
3989
4139
|
value: 'Feil',
|
|
3990
4140
|
},
|
|
@@ -4018,6 +4168,9 @@ const stringsNorwegian = {
|
|
|
4018
4168
|
Name: {
|
|
4019
4169
|
value: 'Navn',
|
|
4020
4170
|
},
|
|
4171
|
+
'No countries found': {
|
|
4172
|
+
value: 'Ingen land funnet',
|
|
4173
|
+
},
|
|
4021
4174
|
'No shipping method selected': {
|
|
4022
4175
|
value: 'Ingen fraktmetode valgt',
|
|
4023
4176
|
},
|
|
@@ -4210,6 +4363,9 @@ const stringsNorwegian = {
|
|
|
4210
4363
|
'click to learn more': {
|
|
4211
4364
|
value: 'klikk for å lære mer',
|
|
4212
4365
|
},
|
|
4366
|
+
or: {
|
|
4367
|
+
value: 'eller',
|
|
4368
|
+
},
|
|
4213
4369
|
'restricted items': {
|
|
4214
4370
|
value: 'begrensede elementer',
|
|
4215
4371
|
},
|
|
@@ -4228,6 +4384,9 @@ const stringsPolish = {
|
|
|
4228
4384
|
'Address line 2': {
|
|
4229
4385
|
value: 'Linia adresowa 2',
|
|
4230
4386
|
},
|
|
4387
|
+
'An unexpected error occurred when processing PayPal order.': {
|
|
4388
|
+
value: 'Wystąpił nieoczekiwany błąd podczas przetwarzania zamówienia PayPal.',
|
|
4389
|
+
},
|
|
4231
4390
|
'Are you sure?': {
|
|
4232
4391
|
value: 'Jesteś pewien?',
|
|
4233
4392
|
},
|
|
@@ -4309,6 +4468,9 @@ const stringsPolish = {
|
|
|
4309
4468
|
'Expected delivery': {
|
|
4310
4469
|
value: 'Przewidywana dostawa',
|
|
4311
4470
|
},
|
|
4471
|
+
'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
|
|
4472
|
+
value: 'Nie udało się utworzyć zamówienia PayPal. Proszę spróbować ponownie lub rozważyć użycie innej metody.',
|
|
4473
|
+
},
|
|
4312
4474
|
Failure: {
|
|
4313
4475
|
value: 'Niepowodzenie',
|
|
4314
4476
|
},
|
|
@@ -4342,6 +4504,9 @@ const stringsPolish = {
|
|
|
4342
4504
|
Name: {
|
|
4343
4505
|
value: 'Nazwa',
|
|
4344
4506
|
},
|
|
4507
|
+
'No countries found': {
|
|
4508
|
+
value: 'Nie znaleziono krajów',
|
|
4509
|
+
},
|
|
4345
4510
|
'No shipping method selected': {
|
|
4346
4511
|
value: 'Nie wybrano metody wysyłki',
|
|
4347
4512
|
},
|
|
@@ -4534,6 +4699,9 @@ const stringsPolish = {
|
|
|
4534
4699
|
'click to learn more': {
|
|
4535
4700
|
value: 'kliknij, aby dowiedzieć się więcej',
|
|
4536
4701
|
},
|
|
4702
|
+
or: {
|
|
4703
|
+
value: 'lub',
|
|
4704
|
+
},
|
|
4537
4705
|
'restricted items': {
|
|
4538
4706
|
value: 'przedmioty ograniczone',
|
|
4539
4707
|
},
|
|
@@ -4552,6 +4720,9 @@ const stringsPortuguese = {
|
|
|
4552
4720
|
'Address line 2': {
|
|
4553
4721
|
value: 'Endereço linha 2',
|
|
4554
4722
|
},
|
|
4723
|
+
'An unexpected error occurred when processing PayPal order.': {
|
|
4724
|
+
value: 'Ocorreu um erro inesperado ao processar o pedido do PayPal.',
|
|
4725
|
+
},
|
|
4555
4726
|
'Are you sure?': {
|
|
4556
4727
|
value: 'Você tem certeza?',
|
|
4557
4728
|
},
|
|
@@ -4633,6 +4804,9 @@ const stringsPortuguese = {
|
|
|
4633
4804
|
'Expected delivery': {
|
|
4634
4805
|
value: 'Entrega prevista',
|
|
4635
4806
|
},
|
|
4807
|
+
'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
|
|
4808
|
+
value: 'Falha ao criar o pedido do PayPal. Por favor, tente novamente ou considere usar um método alternativo.',
|
|
4809
|
+
},
|
|
4636
4810
|
Failure: {
|
|
4637
4811
|
value: 'Falha',
|
|
4638
4812
|
},
|
|
@@ -4666,6 +4840,9 @@ const stringsPortuguese = {
|
|
|
4666
4840
|
Name: {
|
|
4667
4841
|
value: 'Nome',
|
|
4668
4842
|
},
|
|
4843
|
+
'No countries found': {
|
|
4844
|
+
value: 'Nenhum país encontrado',
|
|
4845
|
+
},
|
|
4669
4846
|
'No shipping method selected': {
|
|
4670
4847
|
value: 'Nenhum método de envio selecionado',
|
|
4671
4848
|
},
|
|
@@ -4858,6 +5035,9 @@ const stringsPortuguese = {
|
|
|
4858
5035
|
'click to learn more': {
|
|
4859
5036
|
value: 'clique para saber mais',
|
|
4860
5037
|
},
|
|
5038
|
+
or: {
|
|
5039
|
+
value: 'ou',
|
|
5040
|
+
},
|
|
4861
5041
|
'restricted items': {
|
|
4862
5042
|
value: 'itens restritos',
|
|
4863
5043
|
},
|
|
@@ -4876,6 +5056,9 @@ const stringsRussian = {
|
|
|
4876
5056
|
'Address line 2': {
|
|
4877
5057
|
value: 'Адресная строка 2',
|
|
4878
5058
|
},
|
|
5059
|
+
'An unexpected error occurred when processing PayPal order.': {
|
|
5060
|
+
value: 'Произошла непредвиденная ошибка при обработке заказа PayPal.',
|
|
5061
|
+
},
|
|
4879
5062
|
'Are you sure?': {
|
|
4880
5063
|
value: 'Вы уверены?',
|
|
4881
5064
|
},
|
|
@@ -4957,6 +5140,9 @@ const stringsRussian = {
|
|
|
4957
5140
|
'Expected delivery': {
|
|
4958
5141
|
value: 'Ожидаемая доставка',
|
|
4959
5142
|
},
|
|
5143
|
+
'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
|
|
5144
|
+
value: 'Не удалось создать заказ PayPal. Пожалуйста, попробуйте снова или рассмотрите возможность использования альтернативного метода.',
|
|
5145
|
+
},
|
|
4960
5146
|
Failure: {
|
|
4961
5147
|
value: 'Неудача',
|
|
4962
5148
|
},
|
|
@@ -4990,6 +5176,9 @@ const stringsRussian = {
|
|
|
4990
5176
|
Name: {
|
|
4991
5177
|
value: 'Имя',
|
|
4992
5178
|
},
|
|
5179
|
+
'No countries found': {
|
|
5180
|
+
value: 'Страны не найдены',
|
|
5181
|
+
},
|
|
4993
5182
|
'No shipping method selected': {
|
|
4994
5183
|
value: 'Метод доставки не выбран',
|
|
4995
5184
|
},
|
|
@@ -5182,6 +5371,9 @@ const stringsRussian = {
|
|
|
5182
5371
|
'click to learn more': {
|
|
5183
5372
|
value: 'нажмите, чтобы узнать больше',
|
|
5184
5373
|
},
|
|
5374
|
+
or: {
|
|
5375
|
+
value: 'или',
|
|
5376
|
+
},
|
|
5185
5377
|
'restricted items': {
|
|
5186
5378
|
value: 'ограниченные предметы',
|
|
5187
5379
|
},
|
|
@@ -5200,6 +5392,9 @@ const stringsSpanish = {
|
|
|
5200
5392
|
'Address line 2': {
|
|
5201
5393
|
value: 'Línea de dirección 2',
|
|
5202
5394
|
},
|
|
5395
|
+
'An unexpected error occurred when processing PayPal order.': {
|
|
5396
|
+
value: 'Se produjo un error inesperado al procesar el pedido de PayPal.',
|
|
5397
|
+
},
|
|
5203
5398
|
'Are you sure?': {
|
|
5204
5399
|
value: '¿Estás seguro?',
|
|
5205
5400
|
},
|
|
@@ -5281,6 +5476,9 @@ const stringsSpanish = {
|
|
|
5281
5476
|
'Expected delivery': {
|
|
5282
5477
|
value: 'Entrega esperada',
|
|
5283
5478
|
},
|
|
5479
|
+
'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
|
|
5480
|
+
value: 'No se pudo crear el pedido de PayPal. Por favor, inténtelo de nuevo o considere usar un método alternativo.',
|
|
5481
|
+
},
|
|
5284
5482
|
Failure: {
|
|
5285
5483
|
value: 'Fracaso',
|
|
5286
5484
|
},
|
|
@@ -5314,6 +5512,9 @@ const stringsSpanish = {
|
|
|
5314
5512
|
Name: {
|
|
5315
5513
|
value: 'Nombre',
|
|
5316
5514
|
},
|
|
5515
|
+
'No countries found': {
|
|
5516
|
+
value: 'No se encontraron países',
|
|
5517
|
+
},
|
|
5317
5518
|
'No shipping method selected': {
|
|
5318
5519
|
value: 'No se ha seleccionado un método de envío',
|
|
5319
5520
|
},
|
|
@@ -5506,6 +5707,9 @@ const stringsSpanish = {
|
|
|
5506
5707
|
'click to learn more': {
|
|
5507
5708
|
value: 'haga clic para obtener más información',
|
|
5508
5709
|
},
|
|
5710
|
+
or: {
|
|
5711
|
+
value: 'o',
|
|
5712
|
+
},
|
|
5509
5713
|
'restricted items': {
|
|
5510
5714
|
value: 'artículos restringidos',
|
|
5511
5715
|
},
|
|
@@ -5524,6 +5728,9 @@ const stringsSwedish = {
|
|
|
5524
5728
|
'Address line 2': {
|
|
5525
5729
|
value: 'Adressrad 2',
|
|
5526
5730
|
},
|
|
5731
|
+
'An unexpected error occurred when processing PayPal order.': {
|
|
5732
|
+
value: 'Ett oväntat fel inträffade vid bearbetning av PayPal-beställningen.',
|
|
5733
|
+
},
|
|
5527
5734
|
'Are you sure?': {
|
|
5528
5735
|
value: 'Är du säker?',
|
|
5529
5736
|
},
|
|
@@ -5605,6 +5812,9 @@ const stringsSwedish = {
|
|
|
5605
5812
|
'Expected delivery': {
|
|
5606
5813
|
value: 'Beräknad leverans',
|
|
5607
5814
|
},
|
|
5815
|
+
'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
|
|
5816
|
+
value: 'Misslyckades med att skapa PayPal-beställning. Försök igen, eller överväg att använda en alternativ metod.',
|
|
5817
|
+
},
|
|
5608
5818
|
Failure: {
|
|
5609
5819
|
value: 'Misslyckande',
|
|
5610
5820
|
},
|
|
@@ -5638,6 +5848,9 @@ const stringsSwedish = {
|
|
|
5638
5848
|
Name: {
|
|
5639
5849
|
value: 'Namn',
|
|
5640
5850
|
},
|
|
5851
|
+
'No countries found': {
|
|
5852
|
+
value: 'Inga länder hittades',
|
|
5853
|
+
},
|
|
5641
5854
|
'No shipping method selected': {
|
|
5642
5855
|
value: 'Ingen fraktmetod vald',
|
|
5643
5856
|
},
|
|
@@ -5830,6 +6043,9 @@ const stringsSwedish = {
|
|
|
5830
6043
|
'click to learn more': {
|
|
5831
6044
|
value: 'klicka för att lära dig mer',
|
|
5832
6045
|
},
|
|
6046
|
+
or: {
|
|
6047
|
+
value: 'eller',
|
|
6048
|
+
},
|
|
5833
6049
|
'restricted items': {
|
|
5834
6050
|
value: 'begränsade föremål',
|
|
5835
6051
|
},
|
|
@@ -5848,6 +6064,9 @@ const stringsTurkish = {
|
|
|
5848
6064
|
'Address line 2': {
|
|
5849
6065
|
value: 'Adres satırı 2',
|
|
5850
6066
|
},
|
|
6067
|
+
'An unexpected error occurred when processing PayPal order.': {
|
|
6068
|
+
value: 'PayPal siparişi işlenirken beklenmedik bir hata oluştu.',
|
|
6069
|
+
},
|
|
5851
6070
|
'Are you sure?': {
|
|
5852
6071
|
value: 'Emin misiniz?',
|
|
5853
6072
|
},
|
|
@@ -5929,6 +6148,9 @@ const stringsTurkish = {
|
|
|
5929
6148
|
'Expected delivery': {
|
|
5930
6149
|
value: 'Beklenen teslimat',
|
|
5931
6150
|
},
|
|
6151
|
+
'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
|
|
6152
|
+
value: 'PayPal siparişi oluşturulamadı. Lütfen tekrar deneyin veya alternatif bir yöntem kullanmayı düşünün.',
|
|
6153
|
+
},
|
|
5932
6154
|
Failure: {
|
|
5933
6155
|
value: 'Başarısızlık',
|
|
5934
6156
|
},
|
|
@@ -5962,6 +6184,9 @@ const stringsTurkish = {
|
|
|
5962
6184
|
Name: {
|
|
5963
6185
|
value: 'Ad',
|
|
5964
6186
|
},
|
|
6187
|
+
'No countries found': {
|
|
6188
|
+
value: 'Ülke bulunamadı',
|
|
6189
|
+
},
|
|
5965
6190
|
'No shipping method selected': {
|
|
5966
6191
|
value: 'Kargo yöntemi seçilmedi',
|
|
5967
6192
|
},
|
|
@@ -6154,6 +6379,9 @@ const stringsTurkish = {
|
|
|
6154
6379
|
'click to learn more': {
|
|
6155
6380
|
value: 'daha fazla bilgi için tıklayın',
|
|
6156
6381
|
},
|
|
6382
|
+
or: {
|
|
6383
|
+
value: 'veya',
|
|
6384
|
+
},
|
|
6157
6385
|
'restricted items': {
|
|
6158
6386
|
value: 'kısıtlı öğeler',
|
|
6159
6387
|
},
|
|
@@ -6172,6 +6400,9 @@ const stringsVietnamese = {
|
|
|
6172
6400
|
'Address line 2': {
|
|
6173
6401
|
value: 'Dòng địa chỉ 2',
|
|
6174
6402
|
},
|
|
6403
|
+
'An unexpected error occurred when processing PayPal order.': {
|
|
6404
|
+
value: 'Đã xảy ra lỗi bất ngờ khi xử lý đơn hàng PayPal.',
|
|
6405
|
+
},
|
|
6175
6406
|
'Are you sure?': {
|
|
6176
6407
|
value: 'Bạn có chắc không?',
|
|
6177
6408
|
},
|
|
@@ -6253,6 +6484,9 @@ const stringsVietnamese = {
|
|
|
6253
6484
|
'Expected delivery': {
|
|
6254
6485
|
value: 'Dự kiến giao hàng',
|
|
6255
6486
|
},
|
|
6487
|
+
'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
|
|
6488
|
+
value: 'Không thể tạo đơn hàng PayPal. Vui lòng thử lại hoặc cân nhắc sử dụng phương pháp thay thế.',
|
|
6489
|
+
},
|
|
6256
6490
|
Failure: {
|
|
6257
6491
|
value: 'Thất bại',
|
|
6258
6492
|
},
|
|
@@ -6286,6 +6520,9 @@ const stringsVietnamese = {
|
|
|
6286
6520
|
Name: {
|
|
6287
6521
|
value: 'Tên',
|
|
6288
6522
|
},
|
|
6523
|
+
'No countries found': {
|
|
6524
|
+
value: 'Không tìm thấy quốc gia nào',
|
|
6525
|
+
},
|
|
6289
6526
|
'No shipping method selected': {
|
|
6290
6527
|
value: 'Chưa chọn phương thức vận chuyển',
|
|
6291
6528
|
},
|
|
@@ -6478,6 +6715,9 @@ const stringsVietnamese = {
|
|
|
6478
6715
|
'click to learn more': {
|
|
6479
6716
|
value: 'nhấp để tìm hiểu thêm',
|
|
6480
6717
|
},
|
|
6718
|
+
or: {
|
|
6719
|
+
value: 'hoặc',
|
|
6720
|
+
},
|
|
6481
6721
|
'restricted items': {
|
|
6482
6722
|
value: 'mặt hàng bị hạn chế',
|
|
6483
6723
|
},
|
|
@@ -6609,6 +6849,7 @@ const handleRequest = async (url, options) => {
|
|
|
6609
6849
|
errors: [{ message: e.message, type: 'unknown' }],
|
|
6610
6850
|
json: null,
|
|
6611
6851
|
response: null,
|
|
6852
|
+
zonosMode: null,
|
|
6612
6853
|
};
|
|
6613
6854
|
}
|
|
6614
6855
|
const message = 'Fail to fetch';
|
|
@@ -6616,6 +6857,7 @@ const handleRequest = async (url, options) => {
|
|
|
6616
6857
|
errors: [{ message, type: 'unknown' }],
|
|
6617
6858
|
json: null,
|
|
6618
6859
|
response: null,
|
|
6860
|
+
zonosMode: null,
|
|
6619
6861
|
};
|
|
6620
6862
|
}
|
|
6621
6863
|
const zonosMode = response.headers.get('Zonos-Mode');
|
|
@@ -6636,6 +6878,7 @@ const handleRequest = async (url, options) => {
|
|
|
6636
6878
|
errors: [],
|
|
6637
6879
|
json: data,
|
|
6638
6880
|
response,
|
|
6881
|
+
zonosMode,
|
|
6639
6882
|
};
|
|
6640
6883
|
}
|
|
6641
6884
|
const status = response.status.toString();
|
|
@@ -6646,9 +6889,10 @@ const handleRequest = async (url, options) => {
|
|
|
6646
6889
|
});
|
|
6647
6890
|
const message = JSON.stringify(data);
|
|
6648
6891
|
return {
|
|
6649
|
-
errors: [{ message
|
|
6892
|
+
errors: [{ message, type: status }],
|
|
6650
6893
|
json: null,
|
|
6651
6894
|
response,
|
|
6895
|
+
zonosMode,
|
|
6652
6896
|
};
|
|
6653
6897
|
}
|
|
6654
6898
|
catch (e) {
|
|
@@ -6657,6 +6901,7 @@ const handleRequest = async (url, options) => {
|
|
|
6657
6901
|
errors: [{ message: `${status}: ${message}`, type: status }],
|
|
6658
6902
|
json: null,
|
|
6659
6903
|
response: null,
|
|
6904
|
+
zonosMode,
|
|
6660
6905
|
};
|
|
6661
6906
|
}
|
|
6662
6907
|
};
|
|
@@ -7497,6 +7742,12 @@ const jsonParse = (_data) => {
|
|
|
7497
7742
|
|
|
7498
7743
|
const addressRuleStyle = ({ theme, }) => {
|
|
7499
7744
|
const defaultStyle = {
|
|
7745
|
+
'.AccordionItem': {
|
|
7746
|
+
color: 'var(--colorText)',
|
|
7747
|
+
},
|
|
7748
|
+
'.AccordionItem--selected': {
|
|
7749
|
+
color: 'var(--colorText)',
|
|
7750
|
+
},
|
|
7500
7751
|
'.Action': {
|
|
7501
7752
|
color: 'var(--colorText)',
|
|
7502
7753
|
},
|
|
@@ -7550,6 +7801,7 @@ const defaultVariable = ({ borderStyle, theme, }) => {
|
|
|
7550
7801
|
const { onChange: onChange$1, reset: reset$1, state: stripeStore, } = createStore(() => ({
|
|
7551
7802
|
clientSecret: sessionStorage.getItem('zonos--client-secret') || null,
|
|
7552
7803
|
fetchingLandedCostAbordController: null,
|
|
7804
|
+
hasPaymentError: false,
|
|
7553
7805
|
isFetchingLandedCost: false,
|
|
7554
7806
|
isFetchingSession: false,
|
|
7555
7807
|
stripe: null,
|
|
@@ -7771,7 +8023,7 @@ const stripeStorePrefetchLandedCost = async () => {
|
|
|
7771
8023
|
stripeStore.isFetchingLandedCost = false;
|
|
7772
8024
|
}
|
|
7773
8025
|
};
|
|
7774
|
-
const
|
|
8026
|
+
const stripeStoreMessageBasedOnStatus = (status) => {
|
|
7775
8027
|
let messages = [];
|
|
7776
8028
|
let isError = true;
|
|
7777
8029
|
// Inspect the PaymentIntent `status` to indicate the status of the payment
|
|
@@ -7815,10 +8067,21 @@ const getStripeMessageBasedOnStatus = (status) => {
|
|
|
7815
8067
|
messages,
|
|
7816
8068
|
};
|
|
7817
8069
|
};
|
|
8070
|
+
/**
|
|
8071
|
+
* Handle inventory check and returns error message if the callback provided.
|
|
8072
|
+
*/
|
|
8073
|
+
const stripeStoreHandleInventoryCheck = async () => {
|
|
8074
|
+
const { onInventoryCheck } = zonosStore.checkoutSettings;
|
|
8075
|
+
if (typeof onInventoryCheck !== 'function') {
|
|
8076
|
+
return null;
|
|
8077
|
+
}
|
|
8078
|
+
const message = await onInventoryCheck({ items: cartStore.items });
|
|
8079
|
+
return message;
|
|
8080
|
+
};
|
|
7818
8081
|
const stripeStoreRetrievePayment = async ({ clientSecret: _clientSecret, storybookForceStatus, }) => {
|
|
7819
8082
|
if (storybookForceStatus) {
|
|
7820
8083
|
// return status right away if we are in storybook mode
|
|
7821
|
-
const { isError, messages } =
|
|
8084
|
+
const { isError, messages } = stripeStoreMessageBasedOnStatus(storybookForceStatus);
|
|
7822
8085
|
return { error: isError, messages };
|
|
7823
8086
|
}
|
|
7824
8087
|
const clientSecret = _clientSecret || stripeStore.clientSecret;
|
|
@@ -7828,7 +8091,7 @@ const stripeStoreRetrievePayment = async ({ clientSecret: _clientSecret, storybo
|
|
|
7828
8091
|
}
|
|
7829
8092
|
const { paymentIntent } = await stripeStore.stripe.retrievePaymentIntent(clientSecret);
|
|
7830
8093
|
const status = paymentIntent === null || paymentIntent === void 0 ? void 0 : paymentIntent.status;
|
|
7831
|
-
const { isError, messages } =
|
|
8094
|
+
const { isError, messages } = stripeStoreMessageBasedOnStatus(status);
|
|
7832
8095
|
return {
|
|
7833
8096
|
error: isError,
|
|
7834
8097
|
messages,
|
|
@@ -8075,11 +8338,14 @@ const getDaysDifference = (targetDate) => {
|
|
|
8075
8338
|
|
|
8076
8339
|
const { onChange, reset, state: cartStore, } = createStore(() => ({
|
|
8077
8340
|
checkoutSessionId: sessionStorage.getItem('zonos--checkout-session-id') || null,
|
|
8341
|
+
checkoutSessionTimeoutShow: false,
|
|
8342
|
+
checkoutTimeoutInterval: null,
|
|
8078
8343
|
currency: 'USD',
|
|
8079
8344
|
doneSteps: [],
|
|
8080
8345
|
dutiesTaxFees: 0,
|
|
8081
8346
|
error: null,
|
|
8082
8347
|
exchangeRate: null,
|
|
8348
|
+
inventoryCheckErrorMessage: null,
|
|
8083
8349
|
isSelectedShippingAboveDeminimis: false,
|
|
8084
8350
|
isSelectedShippingGuarantee: false,
|
|
8085
8351
|
items: [],
|
|
@@ -8286,6 +8552,28 @@ onChange('checkoutSessionId', () => {
|
|
|
8286
8552
|
}
|
|
8287
8553
|
sessionStorage.setItem('zonos--checkout-session-id', cartStore.checkoutSessionId);
|
|
8288
8554
|
});
|
|
8555
|
+
const cartStoreStartCheckoutInterval = ({ isPreview, sessionTimeout, }) => {
|
|
8556
|
+
// do nothing if in preview mode
|
|
8557
|
+
if (isPreview) {
|
|
8558
|
+
return;
|
|
8559
|
+
}
|
|
8560
|
+
const timeoutQuery = new URLSearchParams(window.location.search).get('zonosCheckoutTimeout');
|
|
8561
|
+
const timeout =
|
|
8562
|
+
// timeout query is mainly for testing purpose
|
|
8563
|
+
timeoutQuery && !isNaN(parseInt(timeoutQuery, 10))
|
|
8564
|
+
? parseInt(timeoutQuery, 10)
|
|
8565
|
+
: sessionTimeout;
|
|
8566
|
+
log(`==START CHECKOUT TIMEOUT - ${timeout}==`);
|
|
8567
|
+
cartStore.checkoutTimeoutInterval = setTimeout(() => {
|
|
8568
|
+
cartStore.checkoutSessionTimeoutShow = true;
|
|
8569
|
+
}, timeout);
|
|
8570
|
+
};
|
|
8571
|
+
const cartStoreClearCheckoutInterval = () => {
|
|
8572
|
+
if (cartStore.checkoutTimeoutInterval) {
|
|
8573
|
+
clearTimeout(cartStore.checkoutTimeoutInterval);
|
|
8574
|
+
cartStore.checkoutTimeoutInterval = null;
|
|
8575
|
+
}
|
|
8576
|
+
};
|
|
8289
8577
|
const getCartItemToUse = (items) => items.map(item => (Object.assign(Object.assign({}, item), { isRestricted: false })));
|
|
8290
8578
|
const cartStoreResetCartItems = () => {
|
|
8291
8579
|
// mark all items as not restricted
|
|
@@ -8344,4 +8632,4 @@ const cartStoreResetTabItems = () => {
|
|
|
8344
8632
|
cartStoreResetSelectedShippingOption();
|
|
8345
8633
|
};
|
|
8346
8634
|
|
|
8347
|
-
export {
|
|
8635
|
+
export { getZCountryUrlParam as A, setZCountryUrlParam as B, currencyDisplay as C, currencyConvertAndFormat as D, currencyConvert as E, currencyFormat as F, cartStoreHasOneEligibleItem as G, stripeStoreRetrievePayment as H, stripeStoreMessageBasedOnStatus as I, stripeStoreTranslateAddressToLatin as J, cartStoreUpdateSelectedShippingOption as K, cartStoreGetShippingTransitInfo as L, localizationStoreUpdateSelectedLocale as M, localizationStoreUpdateSelectedCountryCode as a, stripeStoreCleanupDomesticShippingSession as b, stripeStoreSaveDomesticShippingSession as c, cartStore as d, cartStoreUpdateItems as e, cartStoreReset as f, cartStoreResetTabItems as g, cartStoreClearCheckoutInterval as h, initStripeElements as i, stripeStore as j, stripeStoreInitCheckoutSession as k, localizationStore as l, cartStoreStartCheckoutInterval as m, cartStoreUpdateToErrorState as n, stripeStorePrefetchLandedCost as o, cartStoreNextStep as p, stripeStoreHandleInventoryCheck as q, stripeStoreConfirmPayment as r, stripeStoreGetDomesticShippingSession as s, translate as t, stripeStoreReset as u, localizationStoreOnUpdate as v, handleFetch as w, jsonParse as x, isValidSelector as y, initLocalizationStore as z };
|