@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,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const zonosStore = require('./zonosStore-
|
|
3
|
+
const zonosStore = require('./zonosStore-56401fdb.js');
|
|
4
4
|
const logError = require('./logError-4e2f2020.js');
|
|
5
|
-
const isDarkColor = require('./isDarkColor-
|
|
6
|
-
const getBorderRadius = require('./getBorderRadius-
|
|
5
|
+
const isDarkColor = require('./isDarkColor-4eb96a1e.js');
|
|
6
|
+
const getBorderRadius = require('./getBorderRadius-4413e191.js');
|
|
7
7
|
|
|
8
8
|
const stringsArabic = {
|
|
9
9
|
'Above de minimis threshold for': {
|
|
@@ -18,6 +18,9 @@ const stringsArabic = {
|
|
|
18
18
|
'Address line 2': {
|
|
19
19
|
value: 'سطر العنوان 2',
|
|
20
20
|
},
|
|
21
|
+
'An unexpected error occurred when processing PayPal order.': {
|
|
22
|
+
value: 'حدث خطأ غير متوقع عند معالجة طلب PayPal.',
|
|
23
|
+
},
|
|
21
24
|
'Are you sure?': {
|
|
22
25
|
value: 'هل أنت متأكد؟',
|
|
23
26
|
},
|
|
@@ -99,6 +102,9 @@ const stringsArabic = {
|
|
|
99
102
|
'Expected delivery': {
|
|
100
103
|
value: 'التوصيل المتوقع',
|
|
101
104
|
},
|
|
105
|
+
'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
|
|
106
|
+
value: 'فشل في إنشاء طلب PayPal. يرجى المحاولة مرة أخرى، أو النظر في استخدام طريقة بديلة.',
|
|
107
|
+
},
|
|
102
108
|
Failure: {
|
|
103
109
|
value: 'فشل',
|
|
104
110
|
},
|
|
@@ -132,6 +138,9 @@ const stringsArabic = {
|
|
|
132
138
|
Name: {
|
|
133
139
|
value: 'اسم',
|
|
134
140
|
},
|
|
141
|
+
'No countries found': {
|
|
142
|
+
value: 'لم يتم العثور على دول',
|
|
143
|
+
},
|
|
135
144
|
'No shipping method selected': {
|
|
136
145
|
value: 'لم يتم تحديد طريقة الشحن',
|
|
137
146
|
},
|
|
@@ -324,6 +333,9 @@ const stringsArabic = {
|
|
|
324
333
|
'click to learn more': {
|
|
325
334
|
value: 'انقر لمعرفة المزيد',
|
|
326
335
|
},
|
|
336
|
+
or: {
|
|
337
|
+
value: 'أو',
|
|
338
|
+
},
|
|
327
339
|
'restricted items': {
|
|
328
340
|
value: 'عناصر مقيدة',
|
|
329
341
|
},
|
|
@@ -342,6 +354,9 @@ const stringsBase = {
|
|
|
342
354
|
'Address line 2': {
|
|
343
355
|
value: 'Address line 2',
|
|
344
356
|
},
|
|
357
|
+
'An unexpected error occurred when processing PayPal order.': {
|
|
358
|
+
value: 'An unexpected error occurred when processing PayPal order.',
|
|
359
|
+
},
|
|
345
360
|
'Are you sure?': {
|
|
346
361
|
value: 'Are you sure?',
|
|
347
362
|
},
|
|
@@ -423,6 +438,9 @@ const stringsBase = {
|
|
|
423
438
|
'Expected delivery': {
|
|
424
439
|
value: 'Expected delivery',
|
|
425
440
|
},
|
|
441
|
+
'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
|
|
442
|
+
value: 'Failed to create PayPal order. Please try again, or consider using an alternative method.',
|
|
443
|
+
},
|
|
426
444
|
Failure: {
|
|
427
445
|
value: 'Failure',
|
|
428
446
|
},
|
|
@@ -456,6 +474,9 @@ const stringsBase = {
|
|
|
456
474
|
Name: {
|
|
457
475
|
value: 'Name',
|
|
458
476
|
},
|
|
477
|
+
'No countries found': {
|
|
478
|
+
value: 'No countries found',
|
|
479
|
+
},
|
|
459
480
|
'No shipping method selected': {
|
|
460
481
|
value: 'No shipping method selected',
|
|
461
482
|
},
|
|
@@ -648,6 +669,9 @@ const stringsBase = {
|
|
|
648
669
|
'click to learn more': {
|
|
649
670
|
value: 'click to learn more',
|
|
650
671
|
},
|
|
672
|
+
or: {
|
|
673
|
+
value: 'or',
|
|
674
|
+
},
|
|
651
675
|
'restricted items': {
|
|
652
676
|
value: 'restricted items',
|
|
653
677
|
},
|
|
@@ -666,6 +690,9 @@ const stringsChinese = {
|
|
|
666
690
|
'Address line 2': {
|
|
667
691
|
value: '地址行2',
|
|
668
692
|
},
|
|
693
|
+
'An unexpected error occurred when processing PayPal order.': {
|
|
694
|
+
value: '处理PayPal订单时发生意外错误。',
|
|
695
|
+
},
|
|
669
696
|
'Are you sure?': {
|
|
670
697
|
value: '你确定吗?',
|
|
671
698
|
},
|
|
@@ -747,6 +774,9 @@ const stringsChinese = {
|
|
|
747
774
|
'Expected delivery': {
|
|
748
775
|
value: '预计送达',
|
|
749
776
|
},
|
|
777
|
+
'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
|
|
778
|
+
value: '创建PayPal订单失败。请重试,或考虑使用其他方法。',
|
|
779
|
+
},
|
|
750
780
|
Failure: {
|
|
751
781
|
value: '失败',
|
|
752
782
|
},
|
|
@@ -780,6 +810,9 @@ const stringsChinese = {
|
|
|
780
810
|
Name: {
|
|
781
811
|
value: '名称',
|
|
782
812
|
},
|
|
813
|
+
'No countries found': {
|
|
814
|
+
value: '未找到国家',
|
|
815
|
+
},
|
|
783
816
|
'No shipping method selected': {
|
|
784
817
|
value: '未选择运输方式',
|
|
785
818
|
},
|
|
@@ -972,6 +1005,9 @@ const stringsChinese = {
|
|
|
972
1005
|
'click to learn more': {
|
|
973
1006
|
value: '点击了解更多',
|
|
974
1007
|
},
|
|
1008
|
+
or: {
|
|
1009
|
+
value: '或',
|
|
1010
|
+
},
|
|
975
1011
|
'restricted items': {
|
|
976
1012
|
value: '限制物品',
|
|
977
1013
|
},
|
|
@@ -990,6 +1026,9 @@ const stringsDanish = {
|
|
|
990
1026
|
'Address line 2': {
|
|
991
1027
|
value: 'Adresse linje 2',
|
|
992
1028
|
},
|
|
1029
|
+
'An unexpected error occurred when processing PayPal order.': {
|
|
1030
|
+
value: 'Der opstod en uventet fejl ved behandling af PayPal-ordren.',
|
|
1031
|
+
},
|
|
993
1032
|
'Are you sure?': {
|
|
994
1033
|
value: 'Er du sikker?',
|
|
995
1034
|
},
|
|
@@ -1071,6 +1110,9 @@ const stringsDanish = {
|
|
|
1071
1110
|
'Expected delivery': {
|
|
1072
1111
|
value: 'Forventet levering',
|
|
1073
1112
|
},
|
|
1113
|
+
'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
|
|
1114
|
+
value: 'Kunne ikke oprette PayPal-ordre. Prøv venligst igen, eller overvej at bruge en alternativ metode.',
|
|
1115
|
+
},
|
|
1074
1116
|
Failure: {
|
|
1075
1117
|
value: 'Fiasko',
|
|
1076
1118
|
},
|
|
@@ -1104,6 +1146,9 @@ const stringsDanish = {
|
|
|
1104
1146
|
Name: {
|
|
1105
1147
|
value: 'Navn',
|
|
1106
1148
|
},
|
|
1149
|
+
'No countries found': {
|
|
1150
|
+
value: 'Ingen lande fundet',
|
|
1151
|
+
},
|
|
1107
1152
|
'No shipping method selected': {
|
|
1108
1153
|
value: 'Ingen leveringsmetode valgt',
|
|
1109
1154
|
},
|
|
@@ -1296,6 +1341,9 @@ const stringsDanish = {
|
|
|
1296
1341
|
'click to learn more': {
|
|
1297
1342
|
value: 'klik for at lære mere',
|
|
1298
1343
|
},
|
|
1344
|
+
or: {
|
|
1345
|
+
value: 'eller',
|
|
1346
|
+
},
|
|
1299
1347
|
'restricted items': {
|
|
1300
1348
|
value: 'begrænsede genstande',
|
|
1301
1349
|
},
|
|
@@ -1314,6 +1362,9 @@ const stringsDutch = {
|
|
|
1314
1362
|
'Address line 2': {
|
|
1315
1363
|
value: 'Adreslijn 2',
|
|
1316
1364
|
},
|
|
1365
|
+
'An unexpected error occurred when processing PayPal order.': {
|
|
1366
|
+
value: 'Er is een onverwachte fout opgetreden bij het verwerken van de PayPal-bestelling.',
|
|
1367
|
+
},
|
|
1317
1368
|
'Are you sure?': {
|
|
1318
1369
|
value: 'Weet je het zeker?',
|
|
1319
1370
|
},
|
|
@@ -1395,6 +1446,9 @@ const stringsDutch = {
|
|
|
1395
1446
|
'Expected delivery': {
|
|
1396
1447
|
value: 'Verwachte levering',
|
|
1397
1448
|
},
|
|
1449
|
+
'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
|
|
1450
|
+
value: 'Het aanmaken van de PayPal-bestelling is mislukt. Probeer het opnieuw of overweeg een alternatieve methode te gebruiken.',
|
|
1451
|
+
},
|
|
1398
1452
|
Failure: {
|
|
1399
1453
|
value: 'Mislukking',
|
|
1400
1454
|
},
|
|
@@ -1428,6 +1482,9 @@ const stringsDutch = {
|
|
|
1428
1482
|
Name: {
|
|
1429
1483
|
value: 'Naam',
|
|
1430
1484
|
},
|
|
1485
|
+
'No countries found': {
|
|
1486
|
+
value: 'Geen landen gevonden',
|
|
1487
|
+
},
|
|
1431
1488
|
'No shipping method selected': {
|
|
1432
1489
|
value: 'Geen verzendmethode geselecteerd',
|
|
1433
1490
|
},
|
|
@@ -1620,6 +1677,9 @@ const stringsDutch = {
|
|
|
1620
1677
|
'click to learn more': {
|
|
1621
1678
|
value: 'klik om meer te leren',
|
|
1622
1679
|
},
|
|
1680
|
+
or: {
|
|
1681
|
+
value: 'of',
|
|
1682
|
+
},
|
|
1623
1683
|
'restricted items': {
|
|
1624
1684
|
value: 'beperkte items',
|
|
1625
1685
|
},
|
|
@@ -1638,6 +1698,9 @@ const stringsFrench = {
|
|
|
1638
1698
|
'Address line 2': {
|
|
1639
1699
|
value: 'Adresse ligne 2',
|
|
1640
1700
|
},
|
|
1701
|
+
'An unexpected error occurred when processing PayPal order.': {
|
|
1702
|
+
value: "Une erreur inattendue s'est produite lors du traitement de la commande PayPal.",
|
|
1703
|
+
},
|
|
1641
1704
|
'Are you sure?': {
|
|
1642
1705
|
value: 'Es-tu sûr?',
|
|
1643
1706
|
},
|
|
@@ -1719,6 +1782,9 @@ const stringsFrench = {
|
|
|
1719
1782
|
'Expected delivery': {
|
|
1720
1783
|
value: 'Livraison prévue',
|
|
1721
1784
|
},
|
|
1785
|
+
'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
|
|
1786
|
+
value: "Échec de la création de la commande PayPal. Veuillez réessayer ou envisager d'utiliser une méthode alternative.",
|
|
1787
|
+
},
|
|
1722
1788
|
Failure: {
|
|
1723
1789
|
value: 'Échec',
|
|
1724
1790
|
},
|
|
@@ -1752,6 +1818,9 @@ const stringsFrench = {
|
|
|
1752
1818
|
Name: {
|
|
1753
1819
|
value: 'Nom',
|
|
1754
1820
|
},
|
|
1821
|
+
'No countries found': {
|
|
1822
|
+
value: 'Aucun pays trouvé',
|
|
1823
|
+
},
|
|
1755
1824
|
'No shipping method selected': {
|
|
1756
1825
|
value: 'Aucune méthode de livraison sélectionnée',
|
|
1757
1826
|
},
|
|
@@ -1944,6 +2013,9 @@ const stringsFrench = {
|
|
|
1944
2013
|
'click to learn more': {
|
|
1945
2014
|
value: 'cliquez pour en savoir plus',
|
|
1946
2015
|
},
|
|
2016
|
+
or: {
|
|
2017
|
+
value: 'ou',
|
|
2018
|
+
},
|
|
1947
2019
|
'restricted items': {
|
|
1948
2020
|
value: 'articles restreints',
|
|
1949
2021
|
},
|
|
@@ -1962,6 +2034,9 @@ const stringsGerman = {
|
|
|
1962
2034
|
'Address line 2': {
|
|
1963
2035
|
value: 'Adresszeile 2',
|
|
1964
2036
|
},
|
|
2037
|
+
'An unexpected error occurred when processing PayPal order.': {
|
|
2038
|
+
value: 'Beim Verarbeiten der PayPal-Bestellung ist ein unerwarteter Fehler aufgetreten.',
|
|
2039
|
+
},
|
|
1965
2040
|
'Are you sure?': {
|
|
1966
2041
|
value: 'Bist du sicher?',
|
|
1967
2042
|
},
|
|
@@ -2043,6 +2118,9 @@ const stringsGerman = {
|
|
|
2043
2118
|
'Expected delivery': {
|
|
2044
2119
|
value: 'Voraussichtliche Lieferung',
|
|
2045
2120
|
},
|
|
2121
|
+
'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
|
|
2122
|
+
value: 'Fehler beim Erstellen der PayPal-Bestellung. Bitte versuchen Sie es erneut oder erwägen Sie die Verwendung einer alternativen Methode.',
|
|
2123
|
+
},
|
|
2046
2124
|
Failure: {
|
|
2047
2125
|
value: 'Misserfolg',
|
|
2048
2126
|
},
|
|
@@ -2076,6 +2154,9 @@ const stringsGerman = {
|
|
|
2076
2154
|
Name: {
|
|
2077
2155
|
value: 'Name',
|
|
2078
2156
|
},
|
|
2157
|
+
'No countries found': {
|
|
2158
|
+
value: 'Keine Länder gefunden',
|
|
2159
|
+
},
|
|
2079
2160
|
'No shipping method selected': {
|
|
2080
2161
|
value: 'Keine Versandart ausgewählt',
|
|
2081
2162
|
},
|
|
@@ -2268,6 +2349,9 @@ const stringsGerman = {
|
|
|
2268
2349
|
'click to learn more': {
|
|
2269
2350
|
value: 'Klicken, um mehr zu erfahren',
|
|
2270
2351
|
},
|
|
2352
|
+
or: {
|
|
2353
|
+
value: 'oder',
|
|
2354
|
+
},
|
|
2271
2355
|
'restricted items': {
|
|
2272
2356
|
value: 'eingeschränkte Artikel',
|
|
2273
2357
|
},
|
|
@@ -2286,6 +2370,9 @@ const stringsHebrew = {
|
|
|
2286
2370
|
'Address line 2': {
|
|
2287
2371
|
value: 'כתובת שורה 2',
|
|
2288
2372
|
},
|
|
2373
|
+
'An unexpected error occurred when processing PayPal order.': {
|
|
2374
|
+
value: 'אירעה שגיאה בלתי צפויה בעת עיבוד הזמנת PayPal.',
|
|
2375
|
+
},
|
|
2289
2376
|
'Are you sure?': {
|
|
2290
2377
|
value: 'אתה בטוח?',
|
|
2291
2378
|
},
|
|
@@ -2367,6 +2454,9 @@ const stringsHebrew = {
|
|
|
2367
2454
|
'Expected delivery': {
|
|
2368
2455
|
value: 'אספקה צפויה',
|
|
2369
2456
|
},
|
|
2457
|
+
'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
|
|
2458
|
+
value: 'נכשל ביצירת הזמנת PayPal. אנא נסה שוב, או שקול להשתמש בשיטה חלופית.',
|
|
2459
|
+
},
|
|
2370
2460
|
Failure: {
|
|
2371
2461
|
value: 'כישלון',
|
|
2372
2462
|
},
|
|
@@ -2400,6 +2490,9 @@ const stringsHebrew = {
|
|
|
2400
2490
|
Name: {
|
|
2401
2491
|
value: 'שם',
|
|
2402
2492
|
},
|
|
2493
|
+
'No countries found': {
|
|
2494
|
+
value: 'לא נמצאו מדינות',
|
|
2495
|
+
},
|
|
2403
2496
|
'No shipping method selected': {
|
|
2404
2497
|
value: 'לא נבחרה שיטת משלוח',
|
|
2405
2498
|
},
|
|
@@ -2592,6 +2685,9 @@ const stringsHebrew = {
|
|
|
2592
2685
|
'click to learn more': {
|
|
2593
2686
|
value: 'לחץ למידע נוסף',
|
|
2594
2687
|
},
|
|
2688
|
+
or: {
|
|
2689
|
+
value: 'או',
|
|
2690
|
+
},
|
|
2595
2691
|
'restricted items': {
|
|
2596
2692
|
value: 'פריטים מוגבלים',
|
|
2597
2693
|
},
|
|
@@ -2610,6 +2706,9 @@ const stringsIndonesian = {
|
|
|
2610
2706
|
'Address line 2': {
|
|
2611
2707
|
value: 'Baris alamat 2',
|
|
2612
2708
|
},
|
|
2709
|
+
'An unexpected error occurred when processing PayPal order.': {
|
|
2710
|
+
value: 'Terjadi kesalahan tak terduga saat memproses pesanan PayPal.',
|
|
2711
|
+
},
|
|
2613
2712
|
'Are you sure?': {
|
|
2614
2713
|
value: 'Apakah Anda yakin?',
|
|
2615
2714
|
},
|
|
@@ -2691,6 +2790,9 @@ const stringsIndonesian = {
|
|
|
2691
2790
|
'Expected delivery': {
|
|
2692
2791
|
value: 'Perkiraan pengiriman',
|
|
2693
2792
|
},
|
|
2793
|
+
'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
|
|
2794
|
+
value: 'Gagal membuat pesanan PayPal. Silakan coba lagi, atau pertimbangkan menggunakan metode alternatif.',
|
|
2795
|
+
},
|
|
2694
2796
|
Failure: {
|
|
2695
2797
|
value: 'Kegagalan',
|
|
2696
2798
|
},
|
|
@@ -2724,6 +2826,9 @@ const stringsIndonesian = {
|
|
|
2724
2826
|
Name: {
|
|
2725
2827
|
value: 'Nama',
|
|
2726
2828
|
},
|
|
2829
|
+
'No countries found': {
|
|
2830
|
+
value: 'Tidak ada negara yang ditemukan',
|
|
2831
|
+
},
|
|
2727
2832
|
'No shipping method selected': {
|
|
2728
2833
|
value: 'Tidak ada metode pengiriman yang dipilih',
|
|
2729
2834
|
},
|
|
@@ -2916,6 +3021,9 @@ const stringsIndonesian = {
|
|
|
2916
3021
|
'click to learn more': {
|
|
2917
3022
|
value: 'klik untuk belajar lebih lanjut',
|
|
2918
3023
|
},
|
|
3024
|
+
or: {
|
|
3025
|
+
value: 'atau',
|
|
3026
|
+
},
|
|
2919
3027
|
'restricted items': {
|
|
2920
3028
|
value: 'barang terbatas',
|
|
2921
3029
|
},
|
|
@@ -2934,6 +3042,9 @@ const stringsItalian = {
|
|
|
2934
3042
|
'Address line 2': {
|
|
2935
3043
|
value: 'Indirizzo linea 2',
|
|
2936
3044
|
},
|
|
3045
|
+
'An unexpected error occurred when processing PayPal order.': {
|
|
3046
|
+
value: "Si è verificato un errore imprevisto durante l'elaborazione dell'ordine PayPal.",
|
|
3047
|
+
},
|
|
2937
3048
|
'Are you sure?': {
|
|
2938
3049
|
value: 'Sei sicuro?',
|
|
2939
3050
|
},
|
|
@@ -3015,6 +3126,9 @@ const stringsItalian = {
|
|
|
3015
3126
|
'Expected delivery': {
|
|
3016
3127
|
value: 'Consegna prevista',
|
|
3017
3128
|
},
|
|
3129
|
+
'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
|
|
3130
|
+
value: "Impossibile creare l'ordine PayPal. Per favore, riprova o considera l'uso di un metodo alternativo.",
|
|
3131
|
+
},
|
|
3018
3132
|
Failure: {
|
|
3019
3133
|
value: 'Fallimento',
|
|
3020
3134
|
},
|
|
@@ -3048,6 +3162,9 @@ const stringsItalian = {
|
|
|
3048
3162
|
Name: {
|
|
3049
3163
|
value: 'Nome',
|
|
3050
3164
|
},
|
|
3165
|
+
'No countries found': {
|
|
3166
|
+
value: 'Nessun paese trovato',
|
|
3167
|
+
},
|
|
3051
3168
|
'No shipping method selected': {
|
|
3052
3169
|
value: 'Nessun metodo di spedizione selezionato',
|
|
3053
3170
|
},
|
|
@@ -3240,6 +3357,9 @@ const stringsItalian = {
|
|
|
3240
3357
|
'click to learn more': {
|
|
3241
3358
|
value: 'clicca per saperne di più',
|
|
3242
3359
|
},
|
|
3360
|
+
or: {
|
|
3361
|
+
value: 'o',
|
|
3362
|
+
},
|
|
3243
3363
|
'restricted items': {
|
|
3244
3364
|
value: 'articoli limitati',
|
|
3245
3365
|
},
|
|
@@ -3258,6 +3378,9 @@ const stringsJapanese = {
|
|
|
3258
3378
|
'Address line 2': {
|
|
3259
3379
|
value: '住所2',
|
|
3260
3380
|
},
|
|
3381
|
+
'An unexpected error occurred when processing PayPal order.': {
|
|
3382
|
+
value: 'PayPal注文の処理中に予期しないエラーが発生しました。',
|
|
3383
|
+
},
|
|
3261
3384
|
'Are you sure?': {
|
|
3262
3385
|
value: '本気ですか?',
|
|
3263
3386
|
},
|
|
@@ -3339,6 +3462,9 @@ const stringsJapanese = {
|
|
|
3339
3462
|
'Expected delivery': {
|
|
3340
3463
|
value: '配送予定日',
|
|
3341
3464
|
},
|
|
3465
|
+
'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
|
|
3466
|
+
value: 'PayPal注文の作成に失敗しました。もう一度お試しになるか、別の方法を検討してください。',
|
|
3467
|
+
},
|
|
3342
3468
|
Failure: {
|
|
3343
3469
|
value: '失敗',
|
|
3344
3470
|
},
|
|
@@ -3372,6 +3498,9 @@ const stringsJapanese = {
|
|
|
3372
3498
|
Name: {
|
|
3373
3499
|
value: '名前',
|
|
3374
3500
|
},
|
|
3501
|
+
'No countries found': {
|
|
3502
|
+
value: '国が見つかりません',
|
|
3503
|
+
},
|
|
3375
3504
|
'No shipping method selected': {
|
|
3376
3505
|
value: '配送方法が選択されていません',
|
|
3377
3506
|
},
|
|
@@ -3564,6 +3693,9 @@ const stringsJapanese = {
|
|
|
3564
3693
|
'click to learn more': {
|
|
3565
3694
|
value: '詳細を知るにはクリック',
|
|
3566
3695
|
},
|
|
3696
|
+
or: {
|
|
3697
|
+
value: 'または',
|
|
3698
|
+
},
|
|
3567
3699
|
'restricted items': {
|
|
3568
3700
|
value: '制限された項目',
|
|
3569
3701
|
},
|
|
@@ -3582,6 +3714,9 @@ const stringsKorean = {
|
|
|
3582
3714
|
'Address line 2': {
|
|
3583
3715
|
value: '주소 2',
|
|
3584
3716
|
},
|
|
3717
|
+
'An unexpected error occurred when processing PayPal order.': {
|
|
3718
|
+
value: 'PayPal 주문을 처리하는 중에 예기치 않은 오류가 발생했습니다.',
|
|
3719
|
+
},
|
|
3585
3720
|
'Are you sure?': {
|
|
3586
3721
|
value: '확실합니까?',
|
|
3587
3722
|
},
|
|
@@ -3663,6 +3798,9 @@ const stringsKorean = {
|
|
|
3663
3798
|
'Expected delivery': {
|
|
3664
3799
|
value: '예상 배송일',
|
|
3665
3800
|
},
|
|
3801
|
+
'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
|
|
3802
|
+
value: 'PayPal 주문 생성에 실패했습니다. 다시 시도하거나 대체 방법을 고려하십시오.',
|
|
3803
|
+
},
|
|
3666
3804
|
Failure: {
|
|
3667
3805
|
value: '실패',
|
|
3668
3806
|
},
|
|
@@ -3696,6 +3834,9 @@ const stringsKorean = {
|
|
|
3696
3834
|
Name: {
|
|
3697
3835
|
value: '이름',
|
|
3698
3836
|
},
|
|
3837
|
+
'No countries found': {
|
|
3838
|
+
value: '국가를 찾을 수 없습니다',
|
|
3839
|
+
},
|
|
3699
3840
|
'No shipping method selected': {
|
|
3700
3841
|
value: '선택된 배송 방법이 없습니다',
|
|
3701
3842
|
},
|
|
@@ -3888,6 +4029,9 @@ const stringsKorean = {
|
|
|
3888
4029
|
'click to learn more': {
|
|
3889
4030
|
value: '자세히 알아보려면 클릭',
|
|
3890
4031
|
},
|
|
4032
|
+
or: {
|
|
4033
|
+
value: '또는',
|
|
4034
|
+
},
|
|
3891
4035
|
'restricted items': {
|
|
3892
4036
|
value: '제한된 항목',
|
|
3893
4037
|
},
|
|
@@ -3906,6 +4050,9 @@ const stringsNorwegian = {
|
|
|
3906
4050
|
'Address line 2': {
|
|
3907
4051
|
value: 'Adresselinje 2',
|
|
3908
4052
|
},
|
|
4053
|
+
'An unexpected error occurred when processing PayPal order.': {
|
|
4054
|
+
value: 'En uventet feil oppstod ved behandling av PayPal-bestillingen.',
|
|
4055
|
+
},
|
|
3909
4056
|
'Are you sure?': {
|
|
3910
4057
|
value: 'Er du sikker?',
|
|
3911
4058
|
},
|
|
@@ -3987,6 +4134,9 @@ const stringsNorwegian = {
|
|
|
3987
4134
|
'Expected delivery': {
|
|
3988
4135
|
value: 'Forventet levering',
|
|
3989
4136
|
},
|
|
4137
|
+
'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
|
|
4138
|
+
value: 'Kunne ikke opprette PayPal-bestilling. Vennligst prøv igjen, eller vurder å bruke en alternativ metode.',
|
|
4139
|
+
},
|
|
3990
4140
|
Failure: {
|
|
3991
4141
|
value: 'Feil',
|
|
3992
4142
|
},
|
|
@@ -4020,6 +4170,9 @@ const stringsNorwegian = {
|
|
|
4020
4170
|
Name: {
|
|
4021
4171
|
value: 'Navn',
|
|
4022
4172
|
},
|
|
4173
|
+
'No countries found': {
|
|
4174
|
+
value: 'Ingen land funnet',
|
|
4175
|
+
},
|
|
4023
4176
|
'No shipping method selected': {
|
|
4024
4177
|
value: 'Ingen fraktmetode valgt',
|
|
4025
4178
|
},
|
|
@@ -4212,6 +4365,9 @@ const stringsNorwegian = {
|
|
|
4212
4365
|
'click to learn more': {
|
|
4213
4366
|
value: 'klikk for å lære mer',
|
|
4214
4367
|
},
|
|
4368
|
+
or: {
|
|
4369
|
+
value: 'eller',
|
|
4370
|
+
},
|
|
4215
4371
|
'restricted items': {
|
|
4216
4372
|
value: 'begrensede elementer',
|
|
4217
4373
|
},
|
|
@@ -4230,6 +4386,9 @@ const stringsPolish = {
|
|
|
4230
4386
|
'Address line 2': {
|
|
4231
4387
|
value: 'Linia adresowa 2',
|
|
4232
4388
|
},
|
|
4389
|
+
'An unexpected error occurred when processing PayPal order.': {
|
|
4390
|
+
value: 'Wystąpił nieoczekiwany błąd podczas przetwarzania zamówienia PayPal.',
|
|
4391
|
+
},
|
|
4233
4392
|
'Are you sure?': {
|
|
4234
4393
|
value: 'Jesteś pewien?',
|
|
4235
4394
|
},
|
|
@@ -4311,6 +4470,9 @@ const stringsPolish = {
|
|
|
4311
4470
|
'Expected delivery': {
|
|
4312
4471
|
value: 'Przewidywana dostawa',
|
|
4313
4472
|
},
|
|
4473
|
+
'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
|
|
4474
|
+
value: 'Nie udało się utworzyć zamówienia PayPal. Proszę spróbować ponownie lub rozważyć użycie innej metody.',
|
|
4475
|
+
},
|
|
4314
4476
|
Failure: {
|
|
4315
4477
|
value: 'Niepowodzenie',
|
|
4316
4478
|
},
|
|
@@ -4344,6 +4506,9 @@ const stringsPolish = {
|
|
|
4344
4506
|
Name: {
|
|
4345
4507
|
value: 'Nazwa',
|
|
4346
4508
|
},
|
|
4509
|
+
'No countries found': {
|
|
4510
|
+
value: 'Nie znaleziono krajów',
|
|
4511
|
+
},
|
|
4347
4512
|
'No shipping method selected': {
|
|
4348
4513
|
value: 'Nie wybrano metody wysyłki',
|
|
4349
4514
|
},
|
|
@@ -4536,6 +4701,9 @@ const stringsPolish = {
|
|
|
4536
4701
|
'click to learn more': {
|
|
4537
4702
|
value: 'kliknij, aby dowiedzieć się więcej',
|
|
4538
4703
|
},
|
|
4704
|
+
or: {
|
|
4705
|
+
value: 'lub',
|
|
4706
|
+
},
|
|
4539
4707
|
'restricted items': {
|
|
4540
4708
|
value: 'przedmioty ograniczone',
|
|
4541
4709
|
},
|
|
@@ -4554,6 +4722,9 @@ const stringsPortuguese = {
|
|
|
4554
4722
|
'Address line 2': {
|
|
4555
4723
|
value: 'Endereço linha 2',
|
|
4556
4724
|
},
|
|
4725
|
+
'An unexpected error occurred when processing PayPal order.': {
|
|
4726
|
+
value: 'Ocorreu um erro inesperado ao processar o pedido do PayPal.',
|
|
4727
|
+
},
|
|
4557
4728
|
'Are you sure?': {
|
|
4558
4729
|
value: 'Você tem certeza?',
|
|
4559
4730
|
},
|
|
@@ -4635,6 +4806,9 @@ const stringsPortuguese = {
|
|
|
4635
4806
|
'Expected delivery': {
|
|
4636
4807
|
value: 'Entrega prevista',
|
|
4637
4808
|
},
|
|
4809
|
+
'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
|
|
4810
|
+
value: 'Falha ao criar o pedido do PayPal. Por favor, tente novamente ou considere usar um método alternativo.',
|
|
4811
|
+
},
|
|
4638
4812
|
Failure: {
|
|
4639
4813
|
value: 'Falha',
|
|
4640
4814
|
},
|
|
@@ -4668,6 +4842,9 @@ const stringsPortuguese = {
|
|
|
4668
4842
|
Name: {
|
|
4669
4843
|
value: 'Nome',
|
|
4670
4844
|
},
|
|
4845
|
+
'No countries found': {
|
|
4846
|
+
value: 'Nenhum país encontrado',
|
|
4847
|
+
},
|
|
4671
4848
|
'No shipping method selected': {
|
|
4672
4849
|
value: 'Nenhum método de envio selecionado',
|
|
4673
4850
|
},
|
|
@@ -4860,6 +5037,9 @@ const stringsPortuguese = {
|
|
|
4860
5037
|
'click to learn more': {
|
|
4861
5038
|
value: 'clique para saber mais',
|
|
4862
5039
|
},
|
|
5040
|
+
or: {
|
|
5041
|
+
value: 'ou',
|
|
5042
|
+
},
|
|
4863
5043
|
'restricted items': {
|
|
4864
5044
|
value: 'itens restritos',
|
|
4865
5045
|
},
|
|
@@ -4878,6 +5058,9 @@ const stringsRussian = {
|
|
|
4878
5058
|
'Address line 2': {
|
|
4879
5059
|
value: 'Адресная строка 2',
|
|
4880
5060
|
},
|
|
5061
|
+
'An unexpected error occurred when processing PayPal order.': {
|
|
5062
|
+
value: 'Произошла непредвиденная ошибка при обработке заказа PayPal.',
|
|
5063
|
+
},
|
|
4881
5064
|
'Are you sure?': {
|
|
4882
5065
|
value: 'Вы уверены?',
|
|
4883
5066
|
},
|
|
@@ -4959,6 +5142,9 @@ const stringsRussian = {
|
|
|
4959
5142
|
'Expected delivery': {
|
|
4960
5143
|
value: 'Ожидаемая доставка',
|
|
4961
5144
|
},
|
|
5145
|
+
'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
|
|
5146
|
+
value: 'Не удалось создать заказ PayPal. Пожалуйста, попробуйте снова или рассмотрите возможность использования альтернативного метода.',
|
|
5147
|
+
},
|
|
4962
5148
|
Failure: {
|
|
4963
5149
|
value: 'Неудача',
|
|
4964
5150
|
},
|
|
@@ -4992,6 +5178,9 @@ const stringsRussian = {
|
|
|
4992
5178
|
Name: {
|
|
4993
5179
|
value: 'Имя',
|
|
4994
5180
|
},
|
|
5181
|
+
'No countries found': {
|
|
5182
|
+
value: 'Страны не найдены',
|
|
5183
|
+
},
|
|
4995
5184
|
'No shipping method selected': {
|
|
4996
5185
|
value: 'Метод доставки не выбран',
|
|
4997
5186
|
},
|
|
@@ -5184,6 +5373,9 @@ const stringsRussian = {
|
|
|
5184
5373
|
'click to learn more': {
|
|
5185
5374
|
value: 'нажмите, чтобы узнать больше',
|
|
5186
5375
|
},
|
|
5376
|
+
or: {
|
|
5377
|
+
value: 'или',
|
|
5378
|
+
},
|
|
5187
5379
|
'restricted items': {
|
|
5188
5380
|
value: 'ограниченные предметы',
|
|
5189
5381
|
},
|
|
@@ -5202,6 +5394,9 @@ const stringsSpanish = {
|
|
|
5202
5394
|
'Address line 2': {
|
|
5203
5395
|
value: 'Línea de dirección 2',
|
|
5204
5396
|
},
|
|
5397
|
+
'An unexpected error occurred when processing PayPal order.': {
|
|
5398
|
+
value: 'Se produjo un error inesperado al procesar el pedido de PayPal.',
|
|
5399
|
+
},
|
|
5205
5400
|
'Are you sure?': {
|
|
5206
5401
|
value: '¿Estás seguro?',
|
|
5207
5402
|
},
|
|
@@ -5283,6 +5478,9 @@ const stringsSpanish = {
|
|
|
5283
5478
|
'Expected delivery': {
|
|
5284
5479
|
value: 'Entrega esperada',
|
|
5285
5480
|
},
|
|
5481
|
+
'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
|
|
5482
|
+
value: 'No se pudo crear el pedido de PayPal. Por favor, inténtelo de nuevo o considere usar un método alternativo.',
|
|
5483
|
+
},
|
|
5286
5484
|
Failure: {
|
|
5287
5485
|
value: 'Fracaso',
|
|
5288
5486
|
},
|
|
@@ -5316,6 +5514,9 @@ const stringsSpanish = {
|
|
|
5316
5514
|
Name: {
|
|
5317
5515
|
value: 'Nombre',
|
|
5318
5516
|
},
|
|
5517
|
+
'No countries found': {
|
|
5518
|
+
value: 'No se encontraron países',
|
|
5519
|
+
},
|
|
5319
5520
|
'No shipping method selected': {
|
|
5320
5521
|
value: 'No se ha seleccionado un método de envío',
|
|
5321
5522
|
},
|
|
@@ -5508,6 +5709,9 @@ const stringsSpanish = {
|
|
|
5508
5709
|
'click to learn more': {
|
|
5509
5710
|
value: 'haga clic para obtener más información',
|
|
5510
5711
|
},
|
|
5712
|
+
or: {
|
|
5713
|
+
value: 'o',
|
|
5714
|
+
},
|
|
5511
5715
|
'restricted items': {
|
|
5512
5716
|
value: 'artículos restringidos',
|
|
5513
5717
|
},
|
|
@@ -5526,6 +5730,9 @@ const stringsSwedish = {
|
|
|
5526
5730
|
'Address line 2': {
|
|
5527
5731
|
value: 'Adressrad 2',
|
|
5528
5732
|
},
|
|
5733
|
+
'An unexpected error occurred when processing PayPal order.': {
|
|
5734
|
+
value: 'Ett oväntat fel inträffade vid bearbetning av PayPal-beställningen.',
|
|
5735
|
+
},
|
|
5529
5736
|
'Are you sure?': {
|
|
5530
5737
|
value: 'Är du säker?',
|
|
5531
5738
|
},
|
|
@@ -5607,6 +5814,9 @@ const stringsSwedish = {
|
|
|
5607
5814
|
'Expected delivery': {
|
|
5608
5815
|
value: 'Beräknad leverans',
|
|
5609
5816
|
},
|
|
5817
|
+
'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
|
|
5818
|
+
value: 'Misslyckades med att skapa PayPal-beställning. Försök igen, eller överväg att använda en alternativ metod.',
|
|
5819
|
+
},
|
|
5610
5820
|
Failure: {
|
|
5611
5821
|
value: 'Misslyckande',
|
|
5612
5822
|
},
|
|
@@ -5640,6 +5850,9 @@ const stringsSwedish = {
|
|
|
5640
5850
|
Name: {
|
|
5641
5851
|
value: 'Namn',
|
|
5642
5852
|
},
|
|
5853
|
+
'No countries found': {
|
|
5854
|
+
value: 'Inga länder hittades',
|
|
5855
|
+
},
|
|
5643
5856
|
'No shipping method selected': {
|
|
5644
5857
|
value: 'Ingen fraktmetod vald',
|
|
5645
5858
|
},
|
|
@@ -5832,6 +6045,9 @@ const stringsSwedish = {
|
|
|
5832
6045
|
'click to learn more': {
|
|
5833
6046
|
value: 'klicka för att lära dig mer',
|
|
5834
6047
|
},
|
|
6048
|
+
or: {
|
|
6049
|
+
value: 'eller',
|
|
6050
|
+
},
|
|
5835
6051
|
'restricted items': {
|
|
5836
6052
|
value: 'begränsade föremål',
|
|
5837
6053
|
},
|
|
@@ -5850,6 +6066,9 @@ const stringsTurkish = {
|
|
|
5850
6066
|
'Address line 2': {
|
|
5851
6067
|
value: 'Adres satırı 2',
|
|
5852
6068
|
},
|
|
6069
|
+
'An unexpected error occurred when processing PayPal order.': {
|
|
6070
|
+
value: 'PayPal siparişi işlenirken beklenmedik bir hata oluştu.',
|
|
6071
|
+
},
|
|
5853
6072
|
'Are you sure?': {
|
|
5854
6073
|
value: 'Emin misiniz?',
|
|
5855
6074
|
},
|
|
@@ -5931,6 +6150,9 @@ const stringsTurkish = {
|
|
|
5931
6150
|
'Expected delivery': {
|
|
5932
6151
|
value: 'Beklenen teslimat',
|
|
5933
6152
|
},
|
|
6153
|
+
'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
|
|
6154
|
+
value: 'PayPal siparişi oluşturulamadı. Lütfen tekrar deneyin veya alternatif bir yöntem kullanmayı düşünün.',
|
|
6155
|
+
},
|
|
5934
6156
|
Failure: {
|
|
5935
6157
|
value: 'Başarısızlık',
|
|
5936
6158
|
},
|
|
@@ -5964,6 +6186,9 @@ const stringsTurkish = {
|
|
|
5964
6186
|
Name: {
|
|
5965
6187
|
value: 'Ad',
|
|
5966
6188
|
},
|
|
6189
|
+
'No countries found': {
|
|
6190
|
+
value: 'Ülke bulunamadı',
|
|
6191
|
+
},
|
|
5967
6192
|
'No shipping method selected': {
|
|
5968
6193
|
value: 'Kargo yöntemi seçilmedi',
|
|
5969
6194
|
},
|
|
@@ -6156,6 +6381,9 @@ const stringsTurkish = {
|
|
|
6156
6381
|
'click to learn more': {
|
|
6157
6382
|
value: 'daha fazla bilgi için tıklayın',
|
|
6158
6383
|
},
|
|
6384
|
+
or: {
|
|
6385
|
+
value: 'veya',
|
|
6386
|
+
},
|
|
6159
6387
|
'restricted items': {
|
|
6160
6388
|
value: 'kısıtlı öğeler',
|
|
6161
6389
|
},
|
|
@@ -6174,6 +6402,9 @@ const stringsVietnamese = {
|
|
|
6174
6402
|
'Address line 2': {
|
|
6175
6403
|
value: 'Dòng địa chỉ 2',
|
|
6176
6404
|
},
|
|
6405
|
+
'An unexpected error occurred when processing PayPal order.': {
|
|
6406
|
+
value: 'Đã xảy ra lỗi bất ngờ khi xử lý đơn hàng PayPal.',
|
|
6407
|
+
},
|
|
6177
6408
|
'Are you sure?': {
|
|
6178
6409
|
value: 'Bạn có chắc không?',
|
|
6179
6410
|
},
|
|
@@ -6255,6 +6486,9 @@ const stringsVietnamese = {
|
|
|
6255
6486
|
'Expected delivery': {
|
|
6256
6487
|
value: 'Dự kiến giao hàng',
|
|
6257
6488
|
},
|
|
6489
|
+
'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
|
|
6490
|
+
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ế.',
|
|
6491
|
+
},
|
|
6258
6492
|
Failure: {
|
|
6259
6493
|
value: 'Thất bại',
|
|
6260
6494
|
},
|
|
@@ -6288,6 +6522,9 @@ const stringsVietnamese = {
|
|
|
6288
6522
|
Name: {
|
|
6289
6523
|
value: 'Tên',
|
|
6290
6524
|
},
|
|
6525
|
+
'No countries found': {
|
|
6526
|
+
value: 'Không tìm thấy quốc gia nào',
|
|
6527
|
+
},
|
|
6291
6528
|
'No shipping method selected': {
|
|
6292
6529
|
value: 'Chưa chọn phương thức vận chuyển',
|
|
6293
6530
|
},
|
|
@@ -6480,6 +6717,9 @@ const stringsVietnamese = {
|
|
|
6480
6717
|
'click to learn more': {
|
|
6481
6718
|
value: 'nhấp để tìm hiểu thêm',
|
|
6482
6719
|
},
|
|
6720
|
+
or: {
|
|
6721
|
+
value: 'hoặc',
|
|
6722
|
+
},
|
|
6483
6723
|
'restricted items': {
|
|
6484
6724
|
value: 'mặt hàng bị hạn chế',
|
|
6485
6725
|
},
|
|
@@ -6611,6 +6851,7 @@ const handleRequest = async (url, options) => {
|
|
|
6611
6851
|
errors: [{ message: e.message, type: 'unknown' }],
|
|
6612
6852
|
json: null,
|
|
6613
6853
|
response: null,
|
|
6854
|
+
zonosMode: null,
|
|
6614
6855
|
};
|
|
6615
6856
|
}
|
|
6616
6857
|
const message = 'Fail to fetch';
|
|
@@ -6618,6 +6859,7 @@ const handleRequest = async (url, options) => {
|
|
|
6618
6859
|
errors: [{ message, type: 'unknown' }],
|
|
6619
6860
|
json: null,
|
|
6620
6861
|
response: null,
|
|
6862
|
+
zonosMode: null,
|
|
6621
6863
|
};
|
|
6622
6864
|
}
|
|
6623
6865
|
const zonosMode = response.headers.get('Zonos-Mode');
|
|
@@ -6638,6 +6880,7 @@ const handleRequest = async (url, options) => {
|
|
|
6638
6880
|
errors: [],
|
|
6639
6881
|
json: data,
|
|
6640
6882
|
response,
|
|
6883
|
+
zonosMode,
|
|
6641
6884
|
};
|
|
6642
6885
|
}
|
|
6643
6886
|
const status = response.status.toString();
|
|
@@ -6648,9 +6891,10 @@ const handleRequest = async (url, options) => {
|
|
|
6648
6891
|
});
|
|
6649
6892
|
const message = JSON.stringify(data);
|
|
6650
6893
|
return {
|
|
6651
|
-
errors: [{ message
|
|
6894
|
+
errors: [{ message, type: status }],
|
|
6652
6895
|
json: null,
|
|
6653
6896
|
response,
|
|
6897
|
+
zonosMode,
|
|
6654
6898
|
};
|
|
6655
6899
|
}
|
|
6656
6900
|
catch (e) {
|
|
@@ -6659,6 +6903,7 @@ const handleRequest = async (url, options) => {
|
|
|
6659
6903
|
errors: [{ message: `${status}: ${message}`, type: status }],
|
|
6660
6904
|
json: null,
|
|
6661
6905
|
response: null,
|
|
6906
|
+
zonosMode,
|
|
6662
6907
|
};
|
|
6663
6908
|
}
|
|
6664
6909
|
};
|
|
@@ -7499,6 +7744,12 @@ const jsonParse = (_data) => {
|
|
|
7499
7744
|
|
|
7500
7745
|
const addressRuleStyle = ({ theme, }) => {
|
|
7501
7746
|
const defaultStyle = {
|
|
7747
|
+
'.AccordionItem': {
|
|
7748
|
+
color: 'var(--colorText)',
|
|
7749
|
+
},
|
|
7750
|
+
'.AccordionItem--selected': {
|
|
7751
|
+
color: 'var(--colorText)',
|
|
7752
|
+
},
|
|
7502
7753
|
'.Action': {
|
|
7503
7754
|
color: 'var(--colorText)',
|
|
7504
7755
|
},
|
|
@@ -7552,6 +7803,7 @@ const defaultVariable = ({ borderStyle, theme, }) => {
|
|
|
7552
7803
|
const { onChange: onChange$1, reset: reset$1, state: stripeStore, } = zonosStore.createStore(() => ({
|
|
7553
7804
|
clientSecret: sessionStorage.getItem('zonos--client-secret') || null,
|
|
7554
7805
|
fetchingLandedCostAbordController: null,
|
|
7806
|
+
hasPaymentError: false,
|
|
7555
7807
|
isFetchingLandedCost: false,
|
|
7556
7808
|
isFetchingSession: false,
|
|
7557
7809
|
stripe: null,
|
|
@@ -7773,7 +8025,7 @@ const stripeStorePrefetchLandedCost = async () => {
|
|
|
7773
8025
|
stripeStore.isFetchingLandedCost = false;
|
|
7774
8026
|
}
|
|
7775
8027
|
};
|
|
7776
|
-
const
|
|
8028
|
+
const stripeStoreMessageBasedOnStatus = (status) => {
|
|
7777
8029
|
let messages = [];
|
|
7778
8030
|
let isError = true;
|
|
7779
8031
|
// Inspect the PaymentIntent `status` to indicate the status of the payment
|
|
@@ -7817,10 +8069,21 @@ const getStripeMessageBasedOnStatus = (status) => {
|
|
|
7817
8069
|
messages,
|
|
7818
8070
|
};
|
|
7819
8071
|
};
|
|
8072
|
+
/**
|
|
8073
|
+
* Handle inventory check and returns error message if the callback provided.
|
|
8074
|
+
*/
|
|
8075
|
+
const stripeStoreHandleInventoryCheck = async () => {
|
|
8076
|
+
const { onInventoryCheck } = zonosStore.zonosStore.checkoutSettings;
|
|
8077
|
+
if (typeof onInventoryCheck !== 'function') {
|
|
8078
|
+
return null;
|
|
8079
|
+
}
|
|
8080
|
+
const message = await onInventoryCheck({ items: cartStore.items });
|
|
8081
|
+
return message;
|
|
8082
|
+
};
|
|
7820
8083
|
const stripeStoreRetrievePayment = async ({ clientSecret: _clientSecret, storybookForceStatus, }) => {
|
|
7821
8084
|
if (storybookForceStatus) {
|
|
7822
8085
|
// return status right away if we are in storybook mode
|
|
7823
|
-
const { isError, messages } =
|
|
8086
|
+
const { isError, messages } = stripeStoreMessageBasedOnStatus(storybookForceStatus);
|
|
7824
8087
|
return { error: isError, messages };
|
|
7825
8088
|
}
|
|
7826
8089
|
const clientSecret = _clientSecret || stripeStore.clientSecret;
|
|
@@ -7830,7 +8093,7 @@ const stripeStoreRetrievePayment = async ({ clientSecret: _clientSecret, storybo
|
|
|
7830
8093
|
}
|
|
7831
8094
|
const { paymentIntent } = await stripeStore.stripe.retrievePaymentIntent(clientSecret);
|
|
7832
8095
|
const status = paymentIntent === null || paymentIntent === void 0 ? void 0 : paymentIntent.status;
|
|
7833
|
-
const { isError, messages } =
|
|
8096
|
+
const { isError, messages } = stripeStoreMessageBasedOnStatus(status);
|
|
7834
8097
|
return {
|
|
7835
8098
|
error: isError,
|
|
7836
8099
|
messages,
|
|
@@ -8077,11 +8340,14 @@ const getDaysDifference = (targetDate) => {
|
|
|
8077
8340
|
|
|
8078
8341
|
const { onChange, reset, state: cartStore, } = zonosStore.createStore(() => ({
|
|
8079
8342
|
checkoutSessionId: sessionStorage.getItem('zonos--checkout-session-id') || null,
|
|
8343
|
+
checkoutSessionTimeoutShow: false,
|
|
8344
|
+
checkoutTimeoutInterval: null,
|
|
8080
8345
|
currency: 'USD',
|
|
8081
8346
|
doneSteps: [],
|
|
8082
8347
|
dutiesTaxFees: 0,
|
|
8083
8348
|
error: null,
|
|
8084
8349
|
exchangeRate: null,
|
|
8350
|
+
inventoryCheckErrorMessage: null,
|
|
8085
8351
|
isSelectedShippingAboveDeminimis: false,
|
|
8086
8352
|
isSelectedShippingGuarantee: false,
|
|
8087
8353
|
items: [],
|
|
@@ -8288,6 +8554,28 @@ onChange('checkoutSessionId', () => {
|
|
|
8288
8554
|
}
|
|
8289
8555
|
sessionStorage.setItem('zonos--checkout-session-id', cartStore.checkoutSessionId);
|
|
8290
8556
|
});
|
|
8557
|
+
const cartStoreStartCheckoutInterval = ({ isPreview, sessionTimeout, }) => {
|
|
8558
|
+
// do nothing if in preview mode
|
|
8559
|
+
if (isPreview) {
|
|
8560
|
+
return;
|
|
8561
|
+
}
|
|
8562
|
+
const timeoutQuery = new URLSearchParams(window.location.search).get('zonosCheckoutTimeout');
|
|
8563
|
+
const timeout =
|
|
8564
|
+
// timeout query is mainly for testing purpose
|
|
8565
|
+
timeoutQuery && !isNaN(parseInt(timeoutQuery, 10))
|
|
8566
|
+
? parseInt(timeoutQuery, 10)
|
|
8567
|
+
: sessionTimeout;
|
|
8568
|
+
logError.log(`==START CHECKOUT TIMEOUT - ${timeout}==`);
|
|
8569
|
+
cartStore.checkoutTimeoutInterval = setTimeout(() => {
|
|
8570
|
+
cartStore.checkoutSessionTimeoutShow = true;
|
|
8571
|
+
}, timeout);
|
|
8572
|
+
};
|
|
8573
|
+
const cartStoreClearCheckoutInterval = () => {
|
|
8574
|
+
if (cartStore.checkoutTimeoutInterval) {
|
|
8575
|
+
clearTimeout(cartStore.checkoutTimeoutInterval);
|
|
8576
|
+
cartStore.checkoutTimeoutInterval = null;
|
|
8577
|
+
}
|
|
8578
|
+
};
|
|
8291
8579
|
const getCartItemToUse = (items) => items.map(item => (Object.assign(Object.assign({}, item), { isRestricted: false })));
|
|
8292
8580
|
const cartStoreResetCartItems = () => {
|
|
8293
8581
|
// mark all items as not restricted
|
|
@@ -8347,11 +8635,13 @@ const cartStoreResetTabItems = () => {
|
|
|
8347
8635
|
};
|
|
8348
8636
|
|
|
8349
8637
|
exports.cartStore = cartStore;
|
|
8638
|
+
exports.cartStoreClearCheckoutInterval = cartStoreClearCheckoutInterval;
|
|
8350
8639
|
exports.cartStoreGetShippingTransitInfo = cartStoreGetShippingTransitInfo;
|
|
8351
8640
|
exports.cartStoreHasOneEligibleItem = cartStoreHasOneEligibleItem;
|
|
8352
8641
|
exports.cartStoreNextStep = cartStoreNextStep;
|
|
8353
8642
|
exports.cartStoreReset = cartStoreReset;
|
|
8354
8643
|
exports.cartStoreResetTabItems = cartStoreResetTabItems;
|
|
8644
|
+
exports.cartStoreStartCheckoutInterval = cartStoreStartCheckoutInterval;
|
|
8355
8645
|
exports.cartStoreUpdateItems = cartStoreUpdateItems;
|
|
8356
8646
|
exports.cartStoreUpdateSelectedShippingOption = cartStoreUpdateSelectedShippingOption;
|
|
8357
8647
|
exports.cartStoreUpdateToErrorState = cartStoreUpdateToErrorState;
|
|
@@ -8364,6 +8654,7 @@ exports.handleFetch = handleFetch;
|
|
|
8364
8654
|
exports.initLocalizationStore = initLocalizationStore;
|
|
8365
8655
|
exports.initStripeElements = initStripeElements;
|
|
8366
8656
|
exports.isValidSelector = isValidSelector;
|
|
8657
|
+
exports.jsonParse = jsonParse;
|
|
8367
8658
|
exports.localizationStore = localizationStore;
|
|
8368
8659
|
exports.localizationStoreOnUpdate = localizationStoreOnUpdate;
|
|
8369
8660
|
exports.localizationStoreUpdateSelectedCountryCode = localizationStoreUpdateSelectedCountryCode;
|
|
@@ -8373,7 +8664,9 @@ exports.stripeStore = stripeStore;
|
|
|
8373
8664
|
exports.stripeStoreCleanupDomesticShippingSession = stripeStoreCleanupDomesticShippingSession;
|
|
8374
8665
|
exports.stripeStoreConfirmPayment = stripeStoreConfirmPayment;
|
|
8375
8666
|
exports.stripeStoreGetDomesticShippingSession = stripeStoreGetDomesticShippingSession;
|
|
8667
|
+
exports.stripeStoreHandleInventoryCheck = stripeStoreHandleInventoryCheck;
|
|
8376
8668
|
exports.stripeStoreInitCheckoutSession = stripeStoreInitCheckoutSession;
|
|
8669
|
+
exports.stripeStoreMessageBasedOnStatus = stripeStoreMessageBasedOnStatus;
|
|
8377
8670
|
exports.stripeStorePrefetchLandedCost = stripeStorePrefetchLandedCost;
|
|
8378
8671
|
exports.stripeStoreReset = stripeStoreReset;
|
|
8379
8672
|
exports.stripeStoreRetrievePayment = stripeStoreRetrievePayment;
|