@zonos/elements 1.3.143 → 1.3.145
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/{CheckoutConfig-eaaf62a1.js → CheckoutConfig-d25d548d.js} +13 -3
- package/dist/cjs/{cart-6ac8dc06.js → cart-9d5e2816.js} +296 -41
- package/dist/cjs/{createCustomEvent-3e982e57.js → createCustomEvent-7b6fad95.js} +0 -3
- package/dist/cjs/{getBorderRadius-f97c99ad.js → getBorderRadius-7d0772bf.js} +1 -1
- package/dist/cjs/{handleFetch-864d3c53.js → handleFetch-3673a0c2.js} +30 -1
- package/dist/cjs/{index-b678ce0c.js → index-2f90486e.js} +209 -157
- package/dist/cjs/index.cjs.js +12 -11
- package/dist/cjs/{isDarkColor-434d71dd.js → isDarkColor-2acf30d1.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{paypal-ea8b4ca0.js → paypal-f9015045.js} +4 -4
- package/dist/cjs/zonos-address_8.cjs.entry.js +96 -18
- package/dist/cjs/zonos-badge.cjs.entry.js +2 -2
- 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_13.cjs.entry.js +128 -30
- package/dist/cjs/zonos-checkout.cjs.entry.js +47 -27
- package/dist/cjs/zonos-collapse.cjs.entry.js +2 -2
- package/dist/cjs/zonos-component.cjs.entry.js +1 -1
- package/dist/cjs/zonos-controller.cjs.entry.js +31 -10
- package/dist/cjs/zonos-country-flag.cjs.entry.js +6 -6
- package/dist/cjs/zonos-country-select_4.cjs.entry.js +6 -6
- package/dist/cjs/zonos-elements.cjs.js +3 -3
- package/dist/cjs/{zonos-notification_3.cjs.entry.js → zonos-empty-state-payment_4.cjs.entry.js} +86 -8
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +7 -7
- package/dist/cjs/zonos-hello.cjs.entry.js +6 -6
- package/dist/cjs/zonos-input.cjs.entry.js +3 -3
- package/dist/cjs/zonos-language-select_2.cjs.entry.js +6 -6
- package/dist/cjs/zonos-link.cjs.entry.js +1 -1
- package/dist/cjs/zonos-logo.cjs.entry.js +2 -2
- 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-toggle.cjs.entry.js +2 -2
- package/dist/cjs/zonos-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/zonos-v-stack.cjs.entry.js +2 -2
- package/dist/cjs/{zonosStore-8971eb65.js → zonosStore-46809186.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-display/zonos-address-display.js +5 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-form/zonos-address-form.js +8 -2
- package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-update-dialog.js +24 -4
- package/dist/collection/components/checkout/zonos-checkout/zonos-cart-restricted-items/zonos-cart-restricted-items.js +2 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.js +4 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +34 -6
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.js +4 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.js +109 -18
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-empty-state-payment/assets/PaymentEmptyStateDarkIcon.svg +22 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-empty-state-payment/assets/PaymentEmptyStateLightIcon.svg +22 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-empty-state-payment/zonos-empty-state-payment.css +51 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-empty-state-payment/zonos-empty-state-payment.js +90 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +73 -18
- package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.js +10 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-review/zonos-review.js +4 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.js +6 -0
- package/dist/collection/components/common/zonos-badge/zonos-badge.js +18 -2
- package/dist/collection/components/common/zonos-banner/zonos-banner.js +4 -0
- package/dist/collection/components/common/zonos-button/zonos-button.js +30 -0
- package/dist/collection/components/common/zonos-card/zonos-card.js +20 -4
- package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.js +14 -0
- package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js +4 -0
- package/dist/collection/components/common/zonos-collapse/zonos-collapse.js +4 -0
- package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.js +22 -0
- package/dist/collection/components/common/zonos-country-flag/zonos-country-flag.js +4 -0
- package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +2 -0
- package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +4 -0
- package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +26 -0
- package/dist/collection/components/common/zonos-icon/zonos-icon.js +8 -0
- package/dist/collection/components/common/zonos-input/zonos-input.js +12 -0
- package/dist/collection/components/common/zonos-language-select/zonos-language-select.js +2 -0
- package/dist/collection/components/common/zonos-link/zonos-link.js +8 -0
- package/dist/collection/components/common/zonos-logo/zonos-logo.js +4 -0
- package/dist/collection/components/common/zonos-rest-state/zonos-rest-state.js +6 -0
- package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +4 -0
- package/dist/collection/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.js +11 -1
- package/dist/collection/components/common/zonos-spinner/zonos-spinner.js +4 -0
- package/dist/collection/components/common/zonos-stripe-input/zonos-stripe-input.css +3 -3
- package/dist/collection/components/common/zonos-stripe-input/zonos-stripe-input.js +52 -8
- package/dist/collection/components/common/zonos-text/zonos-text.js +8 -0
- package/dist/collection/components/common/zonos-toggle/zonos-toggle.js +4 -0
- package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.js +4 -0
- package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +2 -0
- package/dist/collection/components/common/zonos-virtual-scroll/zonos-virtual-scroll.js +10 -2
- package/dist/collection/components/component-template/zonos-component/zonos-component.js +6 -0
- package/dist/collection/components/hello/zonos-hello/zonos-hello.js +7 -1
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +7 -1
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +14 -2
- package/dist/collection/components/main/zonos-controller.js +30 -5
- package/dist/collection/components/store/checkout/cart.js +3 -0
- package/dist/collection/components/store/checkout/stripe.js +112 -39
- package/dist/collection/components/store/translationStore/strings.arabic.js +9 -0
- package/dist/collection/components/store/translationStore/strings.base.js +9 -0
- package/dist/collection/components/store/translationStore/strings.chinese.js +9 -0
- package/dist/collection/components/store/translationStore/strings.danish.js +9 -0
- package/dist/collection/components/store/translationStore/strings.dutch.js +9 -0
- package/dist/collection/components/store/translationStore/strings.french.js +9 -0
- package/dist/collection/components/store/translationStore/strings.german.js +9 -0
- package/dist/collection/components/store/translationStore/strings.hebrew.js +9 -0
- package/dist/collection/components/store/translationStore/strings.indonesian.js +9 -0
- package/dist/collection/components/store/translationStore/strings.italian.js +9 -0
- package/dist/collection/components/store/translationStore/strings.japanese.js +9 -0
- package/dist/collection/components/store/translationStore/strings.korean.js +9 -0
- package/dist/collection/components/store/translationStore/strings.norwegian.js +9 -0
- package/dist/collection/components/store/translationStore/strings.polish.js +9 -0
- package/dist/collection/components/store/translationStore/strings.portuguese.js +9 -0
- package/dist/collection/components/store/translationStore/strings.russian.js +9 -0
- package/dist/collection/components/store/translationStore/strings.spanish.js +9 -0
- package/dist/collection/components/store/translationStore/strings.swedish.js +9 -0
- package/dist/collection/components/store/translationStore/strings.turkish.js +9 -0
- package/dist/collection/components/store/translationStore/strings.vietnamese.js +9 -0
- package/dist/collection/components/stripe/zonos-address/zonos-address.js +6 -0
- package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +84 -3
- package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +3 -1
- package/dist/collection/components/utils/api/getCheckoutSession.js +1 -1
- package/dist/collection/components/utils/api/placeTestOrder.js +40 -0
- package/dist/collection/components/utils/checkout/getIsStagingMode.js +1 -0
- package/dist/collection/components/utils/checkout/getIsTestMode.js +5 -1
- package/dist/collection/components/utils/handleFetch.js +22 -1
- package/dist/collection/components/utils/validateEmailValue.js +4 -0
- package/dist/collection/scripts/_getTempCartById.js +2 -2
- package/dist/collection/scripts/_getWithTestPublicCredential.js +5 -2
- package/dist/collection/scripts/cart/_getIsValidCartId.js +11 -0
- package/dist/collection/types/checkout/api/PlaceTestOrder.js +1 -0
- package/dist/collection/types/generated/graphql.internal.types.js +13 -1
- package/dist/collection/types/index.js +1 -0
- package/dist/esm/{CheckoutConfig-262008fe.js → CheckoutConfig-573bd959.js} +13 -3
- package/dist/esm/{cart-acba54d0.js → cart-887f7d66.js} +296 -41
- package/dist/esm/{createCustomEvent-31a792d3.js → createCustomEvent-58159025.js} +1 -3
- package/dist/esm/{getBorderRadius-4aca63d4.js → getBorderRadius-b32d4218.js} +1 -1
- package/dist/esm/{handleFetch-badf4543.js → handleFetch-b4633675.js} +29 -2
- package/dist/esm/{index-986b5ff2.js → index-d82f06f2.js} +209 -157
- package/dist/esm/index.js +13 -12
- package/dist/esm/{isDarkColor-4915739f.js → isDarkColor-10f38df6.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{paypal-3401f757.js → paypal-6fd5749b.js} +4 -4
- package/dist/esm/zonos-address_8.entry.js +96 -18
- package/dist/esm/zonos-badge.entry.js +2 -2
- 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_13.entry.js +126 -28
- package/dist/esm/zonos-checkout.entry.js +45 -25
- package/dist/esm/zonos-collapse.entry.js +2 -2
- package/dist/esm/zonos-component.entry.js +1 -1
- package/dist/esm/zonos-controller.entry.js +31 -10
- package/dist/esm/zonos-country-flag.entry.js +6 -6
- package/dist/esm/zonos-country-select_4.entry.js +6 -6
- package/dist/esm/zonos-elements.js +4 -4
- package/dist/esm/{zonos-notification_3.entry.js → zonos-empty-state-payment_4.entry.js} +86 -9
- package/dist/esm/zonos-hello-dialog.entry.js +7 -7
- package/dist/esm/zonos-hello.entry.js +6 -6
- package/dist/esm/zonos-input.entry.js +3 -3
- package/dist/esm/zonos-language-select_2.entry.js +6 -6
- package/dist/esm/zonos-link.entry.js +1 -1
- package/dist/esm/zonos-logo.entry.js +2 -2
- package/dist/esm/zonos-shipping-rich-radio.entry.js +3 -3
- package/dist/esm/zonos-text.entry.js +2 -2
- package/dist/esm/zonos-toggle.entry.js +2 -2
- package/dist/esm/zonos-tooltip.entry.js +1 -1
- package/dist/esm/zonos-v-stack.entry.js +2 -2
- package/dist/esm/{zonosStore-708637e7.js → zonosStore-44efd080.js} +1 -1
- package/dist/esm-es5/CheckoutConfig-573bd959.js +1 -0
- package/dist/esm-es5/cart-887f7d66.js +1 -0
- package/dist/esm-es5/createCustomEvent-58159025.js +1 -0
- package/dist/esm-es5/{getBorderRadius-4aca63d4.js → getBorderRadius-b32d4218.js} +1 -1
- package/dist/esm-es5/handleFetch-b4633675.js +1 -0
- package/dist/esm-es5/index-d82f06f2.js +2 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{isDarkColor-4915739f.js → isDarkColor-10f38df6.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{paypal-3401f757.js → paypal-6fd5749b.js} +1 -1
- package/dist/esm-es5/zonos-address_8.entry.js +1 -1
- package/dist/esm-es5/zonos-badge.entry.js +1 -1
- package/dist/esm-es5/zonos-banner.entry.js +1 -1
- package/dist/esm-es5/zonos-button_3.entry.js +1 -1
- package/dist/esm-es5/zonos-card.entry.js +1 -1
- package/dist/esm-es5/zonos-cart-items_13.entry.js +1 -1
- package/dist/esm-es5/zonos-checkout.entry.js +1 -1
- package/dist/esm-es5/zonos-collapse.entry.js +1 -1
- package/dist/esm-es5/zonos-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 -1
- package/dist/esm-es5/zonos-elements.js +1 -1
- package/dist/esm-es5/zonos-empty-state-payment_4.entry.js +1 -0
- 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-shipping-rich-radio.entry.js +1 -1
- package/dist/esm-es5/zonos-text.entry.js +1 -1
- package/dist/esm-es5/zonos-toggle.entry.js +1 -1
- package/dist/esm-es5/zonos-tooltip.entry.js +1 -1
- package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
- package/dist/esm-es5/{zonosStore-708637e7.js → zonosStore-44efd080.js} +1 -1
- package/dist/scripts/index.d.ts +61 -0
- package/dist/scripts/index.js +1 -1
- package/dist/scripts/loadZonos.js +1 -1
- package/dist/scripts/zonos.js +1 -1
- package/dist/types/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.d.ts +1 -0
- package/dist/types/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.d.ts +18 -0
- package/dist/types/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-empty-state-payment/zonos-empty-state-payment.d.ts +13 -0
- package/dist/types/components/checkout/zonos-checkout/zonos-checkout.d.ts +10 -0
- package/dist/types/components/common/zonos-stripe-input/zonos-stripe-input.d.ts +7 -3
- package/dist/types/components/main/zonos-controller.d.ts +1 -0
- package/dist/types/components/store/checkout/cart.d.ts +5 -0
- package/dist/types/components/store/checkout/stripe.d.ts +8 -2
- package/dist/types/components/store/translationStore/strings.arabic.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.base.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.chinese.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.danish.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.dutch.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.french.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.german.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.hebrew.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.indonesian.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.italian.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.japanese.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.korean.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.norwegian.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.polish.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.portuguese.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.russian.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.spanish.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.swedish.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.turkish.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +9 -0
- package/dist/types/components/stripe/zonos-link-authentication/zonos-link-authentication.d.ts +6 -0
- package/dist/types/components/utils/api/getLocaleMessages.d.ts +1 -1
- package/dist/types/components/utils/api/placeTestOrder.d.ts +7 -0
- package/dist/types/components/utils/checkout/getIsStagingMode.d.ts +1 -0
- package/dist/types/components/utils/checkout/getIsTestMode.d.ts +1 -1
- package/dist/types/components/utils/validateEmailValue.d.ts +1 -0
- package/dist/types/components.d.ts +61 -0
- package/dist/types/types/checkout/api/CheckoutSession.d.ts +8 -2
- package/dist/types/types/checkout/api/PlaceTestOrder.d.ts +7 -0
- package/dist/types/types/generated/graphql.frontend.types.d.ts +1 -1
- package/dist/types/types/generated/graphql.frontend.types.ts +1 -1
- package/dist/types/types/generated/graphql.internal.types.d.ts +87 -12
- package/dist/types/types/generated/graphql.internal.types.ts +104 -14
- package/dist/types/types/index.d.ts +1 -0
- package/dist/zonos-elements/assets/RemoveIcon.svg +1 -1
- package/dist/zonos-elements/index.esm.js +1 -1
- package/dist/zonos-elements/{p-d3867033.entry.js → p-0028d158.entry.js} +1 -1
- package/dist/zonos-elements/{p-54058b57.entry.js → p-05013308.entry.js} +1 -1
- package/dist/zonos-elements/{p-9e84f647.system.entry.js → p-0e9826d2.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-c0164a3c.system.js → p-12546668.system.js} +1 -1
- package/dist/zonos-elements/p-18e5b741.system.js +1 -0
- package/dist/zonos-elements/{p-f2d07062.entry.js → p-1d466ac6.entry.js} +1 -1
- package/dist/zonos-elements/{p-654fc23d.system.entry.js → p-2e6265cc.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-36dfc7ac.system.js → p-32912caf.system.js} +1 -1
- package/dist/zonos-elements/{p-fc4658a6.entry.js → p-36f97fd9.entry.js} +1 -1
- package/dist/zonos-elements/{p-8ac02349.system.entry.js → p-3a213429.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-e6554a6f.system.entry.js → p-3aa4841a.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-2ab5e362.system.entry.js → p-3bd17598.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-a13d5957.system.entry.js → p-3d221556.system.entry.js} +1 -1
- package/dist/zonos-elements/p-3f282167.system.entry.js +1 -0
- package/dist/zonos-elements/{p-381874b0.system.entry.js → p-41e26cc4.system.entry.js} +1 -1
- package/dist/zonos-elements/p-46f6e5e9.system.js +1 -0
- package/dist/zonos-elements/p-49b8760c.system.entry.js +1 -0
- package/dist/zonos-elements/p-4caffd96.system.js +2 -0
- package/dist/zonos-elements/{p-0ab29580.entry.js → p-4d353108.entry.js} +1 -1
- package/dist/zonos-elements/p-595f5dd2.js +1 -0
- package/dist/zonos-elements/{p-a4f045d4.js → p-5e4b6b77.js} +1 -1
- package/dist/zonos-elements/{p-4c7f0417.entry.js → p-5e76c269.entry.js} +1 -1
- package/dist/zonos-elements/{p-2761ad55.system.entry.js → p-619c07c6.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-9d7a860c.entry.js → p-69f84611.entry.js} +1 -1
- package/dist/zonos-elements/{p-766dd01f.js → p-6c578d26.js} +1 -1
- package/dist/zonos-elements/{p-28295342.entry.js → p-709c7e9e.entry.js} +1 -1
- package/dist/zonos-elements/{p-0197a9bf.system.entry.js → p-7140439f.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-df9c0bfa.system.entry.js → p-794b2d24.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-44dd4269.entry.js → p-7f288336.entry.js} +1 -1
- package/dist/zonos-elements/{p-78e4f877.system.entry.js → p-81084be5.system.entry.js} +1 -1
- package/dist/zonos-elements/p-81a5dd5c.js +1 -0
- package/dist/zonos-elements/{p-0b5c9f89.system.js → p-826b5d0c.system.js} +1 -1
- package/dist/zonos-elements/{p-33e1d25e.system.entry.js → p-86e825f0.system.entry.js} +1 -1
- package/dist/zonos-elements/p-896dca32.entry.js +1 -0
- package/dist/zonos-elements/{p-d9511c4a.entry.js → p-9024f5a1.entry.js} +1 -1
- package/dist/zonos-elements/{p-0b5f4ca7.system.entry.js → p-91fc6c24.system.entry.js} +1 -1
- package/dist/zonos-elements/p-98db517b.entry.js +1 -0
- package/dist/zonos-elements/p-9ae29c27.system.entry.js +1 -0
- package/dist/zonos-elements/{p-a2bce31d.system.entry.js → p-9cf018c8.system.entry.js} +1 -1
- package/dist/zonos-elements/p-ab68ad11.js +2 -0
- package/dist/zonos-elements/{p-4b685549.js → p-b0616716.js} +1 -1
- package/dist/zonos-elements/p-b0ced00a.system.js +1 -0
- package/dist/zonos-elements/{p-1e3ea4ae.entry.js → p-b12fbc07.entry.js} +1 -1
- package/dist/zonos-elements/p-b18c4d1d.js +1 -0
- package/dist/zonos-elements/{p-dba6147b.system.entry.js → p-b2292b70.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-545c05ce.entry.js → p-b288c2ed.entry.js} +1 -1
- package/dist/zonos-elements/p-b3882a73.system.js +1 -0
- package/dist/zonos-elements/p-b4823b13.entry.js +1 -0
- package/dist/zonos-elements/{p-9306a835.entry.js → p-b5c360af.entry.js} +1 -1
- package/dist/zonos-elements/{p-2cfc00b8.system.entry.js → p-b6bbdb59.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-0db28495.system.entry.js → p-b7a40db9.system.entry.js} +1 -1
- package/dist/zonos-elements/p-bf37ccc7.system.js +1 -0
- package/dist/zonos-elements/{p-21b538ea.system.js → p-c015be06.system.js} +1 -1
- package/dist/zonos-elements/{p-39cac2c1.entry.js → p-cbd5d932.entry.js} +1 -1
- package/dist/zonos-elements/{p-7c5c0a85.entry.js → p-cdfca133.entry.js} +1 -1
- package/dist/zonos-elements/{p-675f60b4.entry.js → p-d2f2c685.entry.js} +1 -1
- package/dist/zonos-elements/{p-3f991022.entry.js → p-db3f381d.entry.js} +1 -1
- package/dist/zonos-elements/{p-9dec2b74.entry.js → p-de221545.entry.js} +1 -1
- package/dist/zonos-elements/{p-b0174a8f.js → p-e02fd9ae.js} +1 -1
- package/dist/zonos-elements/p-e3abf96c.system.entry.js +1 -0
- package/dist/zonos-elements/p-e4d509be.entry.js +1 -0
- package/dist/zonos-elements/{p-ab6973a5.entry.js → p-e8926f59.entry.js} +1 -1
- package/dist/zonos-elements/{p-6a8862a6.system.entry.js → p-e8c70c7d.system.entry.js} +1 -1
- package/dist/zonos-elements/p-f0c8150e.js +1 -0
- package/dist/zonos-elements/p-f824a75f.entry.js +1 -0
- package/dist/zonos-elements/{p-d5a3851d.system.entry.js → p-fc4ebe6b.system.entry.js} +1 -1
- package/dist/zonos-elements/p-fdb592a8.system.js +1 -0
- package/dist/zonos-elements/p-fec7bdd4.system.entry.js +1 -0
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/dist/zonos-elements/zonos-elements.js +1 -1
- package/package.json +9 -8
- package/dist/esm-es5/CheckoutConfig-262008fe.js +0 -1
- package/dist/esm-es5/cart-acba54d0.js +0 -1
- package/dist/esm-es5/createCustomEvent-31a792d3.js +0 -1
- package/dist/esm-es5/handleFetch-badf4543.js +0 -1
- package/dist/esm-es5/index-986b5ff2.js +0 -2
- package/dist/esm-es5/zonos-notification_3.entry.js +0 -1
- package/dist/zonos-elements/p-1198c874.entry.js +0 -1
- package/dist/zonos-elements/p-1460f917.js +0 -1
- package/dist/zonos-elements/p-302f5d25.entry.js +0 -1
- package/dist/zonos-elements/p-386325ae.system.js +0 -1
- package/dist/zonos-elements/p-38d0c496.system.entry.js +0 -1
- package/dist/zonos-elements/p-64372f93.system.js +0 -1
- package/dist/zonos-elements/p-680d3694.js +0 -2
- package/dist/zonos-elements/p-7b999a40.js +0 -1
- package/dist/zonos-elements/p-7c643376.system.js +0 -1
- package/dist/zonos-elements/p-8e30228d.system.entry.js +0 -1
- package/dist/zonos-elements/p-8f26cc7e.entry.js +0 -1
- package/dist/zonos-elements/p-9da2d116.entry.js +0 -1
- package/dist/zonos-elements/p-a08ea336.js +0 -1
- package/dist/zonos-elements/p-a5b294d7.js +0 -1
- package/dist/zonos-elements/p-b2ea7adb.entry.js +0 -1
- package/dist/zonos-elements/p-b50667b6.system.js +0 -2
- package/dist/zonos-elements/p-bfcfd29b.system.js +0 -1
- package/dist/zonos-elements/p-c437d76c.system.js +0 -1
- package/dist/zonos-elements/p-d1afd314.system.entry.js +0 -1
- package/dist/zonos-elements/p-e9964a5a.system.js +0 -1
- package/dist/zonos-elements/p-f9aef1fc.system.entry.js +0 -1
- package/dist/zonos-elements/p-fa538a74.system.entry.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createStore } from "@stencil/store";
|
|
2
|
-
import { cartStore, cartStoreApplySubtotals, cartStoreCheckItemRestrictions, cartStorePreviousStep, cartStoreResetCartItems, cartStoreSetCheckoutSession, cartStoreUpdateSelectedShippingOption, } from "./cart";
|
|
2
|
+
import { cartStore, cartStoreApplySubtotals, cartStoreCheckItemRestrictions, cartStorePreviousStep, cartStoreResetCartItems, cartStoreSetCheckoutSession, cartStoreUpdateSelectedShippingOption, cartStoreUpdateToErrorState, } from "./cart";
|
|
3
3
|
import { localizationStore } from "../hello/localization";
|
|
4
4
|
import { translate } from "../translationStore";
|
|
5
5
|
import { zonosStore } from "../zonosStore";
|
|
@@ -10,20 +10,27 @@ import { sortServiceLevelOptionsByAmount } from "../../utils/checkout/sortServic
|
|
|
10
10
|
import { handleFetch } from "../../utils/handleFetch";
|
|
11
11
|
import { isDarkColor } from "../../utils/isDarkColor";
|
|
12
12
|
import { jsonParse } from "../../utils/jsonParse";
|
|
13
|
-
import { log } from "../../utils/logging/log";
|
|
13
|
+
import { allLogs, log } from "../../utils/logging/log";
|
|
14
14
|
import { logError } from "../../utils/logging/logError";
|
|
15
15
|
import { sendErrorLog } from "../../utils/logging/sendErrorLog";
|
|
16
16
|
import { validateCheckoutSession } from "../../utils/validateCheckoutSession";
|
|
17
17
|
import { addressRuleStyle } from "../../../styles/stripe/addressRuleStyle";
|
|
18
18
|
import { defaultVariable } from "../../../styles/stripe/defaultVariable";
|
|
19
19
|
const { onChange, reset, state: stripeStore, } = createStore(() => ({
|
|
20
|
-
clientSecret: sessionStorage.getItem('zonos--client-secret') ||
|
|
20
|
+
clientSecret: sessionStorage.getItem('zonos--client-secret') || '',
|
|
21
21
|
customErrorMessage: null,
|
|
22
22
|
fetchingLandedCostAbortController: null,
|
|
23
23
|
hasPaymentError: false,
|
|
24
24
|
isFetchingLandedCost: false,
|
|
25
25
|
isFetchingSession: false,
|
|
26
26
|
shouldInventoryRefund: false,
|
|
27
|
+
/**
|
|
28
|
+
* Default to skip payment intent, only create payment intent when "skipPaymentIntent" in url's query params is set "0"
|
|
29
|
+
* @default true
|
|
30
|
+
*/
|
|
31
|
+
skipPaymentIntent: new URLSearchParams(window.location.search).get('skipPaymentIntent') === '0'
|
|
32
|
+
? false
|
|
33
|
+
: true,
|
|
27
34
|
stripe: null,
|
|
28
35
|
stripeAddressElement: null,
|
|
29
36
|
stripeAddressEventData: null,
|
|
@@ -73,7 +80,8 @@ const getStripeOptions = ({ clientSecret, overrideBorderRadius, overridePrimaryC
|
|
|
73
80
|
colorPrimary: secondaryColor
|
|
74
81
|
}),
|
|
75
82
|
},
|
|
76
|
-
|
|
83
|
+
// Client secret can be undefined since we will load other elements that doesn't require client secret first, then load client secret and render one that requires it later
|
|
84
|
+
clientSecret: clientSecret || undefined,
|
|
77
85
|
externalPaymentMethodTypes: [...paypalPaymentType],
|
|
78
86
|
locale: localizationStore.selectedLocale,
|
|
79
87
|
};
|
|
@@ -96,41 +104,39 @@ const initStripeElements = async (props) => {
|
|
|
96
104
|
log('Skip. Stripe is not initialized');
|
|
97
105
|
return;
|
|
98
106
|
}
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
stripeStore.stripeElementsOptions = stripeOptions;
|
|
117
|
-
log('Stripe elements initialized');
|
|
118
|
-
// init stripe elements for billing address
|
|
119
|
-
stripeStore.stripeElementsForBillingAddress =
|
|
120
|
-
(_b = stripeStore.stripe) === null || _b === void 0 ? void 0 : _b.elements(stripeOptions);
|
|
121
|
-
log('Stripe elements for billing address initialized');
|
|
122
|
-
return;
|
|
123
|
-
}
|
|
124
|
-
if (!isSameOptions) {
|
|
125
|
-
// update elements with new option if it already exists
|
|
126
|
-
stripeStore.stripeElements.update(stripeOptions);
|
|
127
|
-
// update elements for stripe billing address
|
|
128
|
-
stripeStore.stripeElementsForBillingAddress.update(stripeOptions);
|
|
129
|
-
// save stripe elements options for later comparison
|
|
130
|
-
stripeStore.stripeElementsOptions = stripeOptions;
|
|
131
|
-
}
|
|
107
|
+
const stripeOptions = getStripeOptions({
|
|
108
|
+
clientSecret,
|
|
109
|
+
overrideBorderRadius: props === null || props === void 0 ? void 0 : props.overrideBorderRadius,
|
|
110
|
+
overridePrimaryColor: props === null || props === void 0 ? void 0 : props.overridePrimaryColor,
|
|
111
|
+
overrideSecondaryColor: props === null || props === void 0 ? void 0 : props.overrideSecondaryColor,
|
|
112
|
+
overrideTheme: props === null || props === void 0 ? void 0 : props.overrideTheme,
|
|
113
|
+
paypalEnabled: props === null || props === void 0 ? void 0 : props.paypalEnabled,
|
|
114
|
+
});
|
|
115
|
+
// compare with the previous options to see if we need to update
|
|
116
|
+
const isSameOptions = JSON.stringify(stripeOptions) ===
|
|
117
|
+
JSON.stringify(stripeStore.stripeElementsOptions);
|
|
118
|
+
if (!stripeStore.stripeElements ||
|
|
119
|
+
!stripeStore.stripeElementsForBillingAddress) {
|
|
120
|
+
// init stripe elements if it doesn't exist
|
|
121
|
+
stripeStore.stripeElements = (_a = stripeStore.stripe) === null || _a === void 0 ? void 0 : _a.elements(stripeOptions);
|
|
122
|
+
// save stripe elements options for later comparison
|
|
123
|
+
stripeStore.stripeElementsOptions = stripeOptions;
|
|
132
124
|
log('Stripe elements initialized');
|
|
125
|
+
// init stripe elements for billing address
|
|
126
|
+
stripeStore.stripeElementsForBillingAddress =
|
|
127
|
+
(_b = stripeStore.stripe) === null || _b === void 0 ? void 0 : _b.elements(stripeOptions);
|
|
128
|
+
log('Stripe elements for billing address initialized');
|
|
129
|
+
return;
|
|
130
|
+
}
|
|
131
|
+
if (!isSameOptions) {
|
|
132
|
+
// update elements with new option if it already exists
|
|
133
|
+
stripeStore.stripeElements.update(stripeOptions);
|
|
134
|
+
// update elements for stripe billing address
|
|
135
|
+
stripeStore.stripeElementsForBillingAddress.update(stripeOptions);
|
|
136
|
+
// save stripe elements options for later comparison
|
|
137
|
+
stripeStore.stripeElementsOptions = stripeOptions;
|
|
133
138
|
}
|
|
139
|
+
log('Stripe elements initialized');
|
|
134
140
|
};
|
|
135
141
|
const stripeStoreReset = () => {
|
|
136
142
|
// clean clientSecret so that we can start the new one.
|
|
@@ -185,7 +191,7 @@ const stripeCalculateLandedCost = async () => {
|
|
|
185
191
|
stripeStore.fetchingLandedCostAbortController = abortController;
|
|
186
192
|
// Reset cart items to non-restricted state and restricted item list
|
|
187
193
|
cartStoreResetCartItems();
|
|
188
|
-
const { checkoutSessionWorkflow, errors, itemCreateWorkflow, landedCostCalculateWorkflow, shipmentRatingCalculateWorkflow, } = await calculateLandedCostNormalized(abortController);
|
|
194
|
+
const { checkoutSessionWorkflow, errors, itemCreateWorkflow, landedCostCalculateWorkflow, partyCreateWorkflow, shipmentRatingCalculateWorkflow, } = await calculateLandedCostNormalized(abortController);
|
|
189
195
|
// update the error message with customized error message that rule is applying to and disabled shippment rating if there is any
|
|
190
196
|
cartStore.customQuotingError =
|
|
191
197
|
((_a = errors === null || errors === void 0 ? void 0 : errors.find(error => { var _a; return ((_a = error.extensions) === null || _a === void 0 ? void 0 : _a.ruleMessageType) === 'CUSTOM'; })) === null || _a === void 0 ? void 0 : _a.message) || null;
|
|
@@ -194,6 +200,7 @@ const stripeCalculateLandedCost = async () => {
|
|
|
194
200
|
cartStoreCheckItemRestrictions(itemCreateWorkflow);
|
|
195
201
|
// reset abort controller after we are done
|
|
196
202
|
stripeStore.fetchingLandedCostAbortController = null;
|
|
203
|
+
cartStore.partiesData = (partyCreateWorkflow === null || partyCreateWorkflow === void 0 ? void 0 : partyCreateWorkflow.filter(Boolean)) || [];
|
|
197
204
|
// update cart store with landed cost info
|
|
198
205
|
cartStore.landedCostData =
|
|
199
206
|
(checkoutSessionWorkflow === null || checkoutSessionWorkflow === void 0 ? void 0 : checkoutSessionWorkflow.map(checkoutSession => {
|
|
@@ -549,9 +556,66 @@ export const getCheckoutSessionBody = () => {
|
|
|
549
556
|
},
|
|
550
557
|
],
|
|
551
558
|
presentmentCountryCode: localizationStore.selectedCountryCode,
|
|
559
|
+
skipPaymentIntent: stripeStore.skipPaymentIntent,
|
|
552
560
|
};
|
|
553
561
|
return body;
|
|
554
562
|
};
|
|
563
|
+
const stripeStoreGetPaymentIntent = async () => {
|
|
564
|
+
var _a;
|
|
565
|
+
if (stripeStore.clientSecret) {
|
|
566
|
+
log('Payment intent already exists, skipping fetching payment intent');
|
|
567
|
+
return;
|
|
568
|
+
}
|
|
569
|
+
if (!cartStore.checkoutSessionId) {
|
|
570
|
+
// We want to log the error anytime we fail to create a checkout session
|
|
571
|
+
void sendErrorLog({
|
|
572
|
+
endpoint: 'Error creating payment intent',
|
|
573
|
+
errors: ['No checkout session id found when retrieving payment intent'],
|
|
574
|
+
metadata: {
|
|
575
|
+
allLogs,
|
|
576
|
+
cartId: window.Zonos.cartId,
|
|
577
|
+
},
|
|
578
|
+
});
|
|
579
|
+
cartStoreUpdateToErrorState({
|
|
580
|
+
messages: [
|
|
581
|
+
translate("There's been an error creating your checkout session. Please reload and try again or contact support if the error persists"),
|
|
582
|
+
],
|
|
583
|
+
title: translate('Error creating Checkout'),
|
|
584
|
+
});
|
|
585
|
+
return;
|
|
586
|
+
}
|
|
587
|
+
const { errors, json } = await handleFetch('/api/zonos-elements/create-payment-intent', {
|
|
588
|
+
body: {
|
|
589
|
+
checkoutSessionId: cartStore.checkoutSessionId,
|
|
590
|
+
},
|
|
591
|
+
method: 'POST',
|
|
592
|
+
});
|
|
593
|
+
const clientSecret = (_a = json === null || json === void 0 ? void 0 : json.checkoutSessionPaymentIntentCreate) === null || _a === void 0 ? void 0 : _a.clientSecret;
|
|
594
|
+
if (errors.length || !clientSecret) {
|
|
595
|
+
logError('Error occurs when getting payment intent', JSON.stringify(errors, null, 2));
|
|
596
|
+
// We want to log the error anytime we fail to create a payment intent
|
|
597
|
+
void sendErrorLog({
|
|
598
|
+
endpoint: 'Error creating payment intent',
|
|
599
|
+
errors: errors.map(error => error.message),
|
|
600
|
+
metadata: {
|
|
601
|
+
allLogs,
|
|
602
|
+
cartId: window.Zonos.cartId,
|
|
603
|
+
checkoutSessionId: cartStore.checkoutSessionId,
|
|
604
|
+
clientSecret,
|
|
605
|
+
},
|
|
606
|
+
});
|
|
607
|
+
cartStoreUpdateToErrorState({
|
|
608
|
+
messages: [
|
|
609
|
+
translate("There's been an error creating your checkout session. Please reload and try again or contact support if the error persists"),
|
|
610
|
+
],
|
|
611
|
+
title: translate('Error creating Checkout'),
|
|
612
|
+
});
|
|
613
|
+
return;
|
|
614
|
+
}
|
|
615
|
+
// update stripe store with updated information
|
|
616
|
+
stripeStore.clientSecret =
|
|
617
|
+
json.checkoutSessionPaymentIntentCreate.clientSecret;
|
|
618
|
+
};
|
|
555
619
|
/**
|
|
556
620
|
* Init checkout session
|
|
557
621
|
* @returns {boolean} whether or not the checkout session is successfully created
|
|
@@ -584,6 +648,10 @@ const stripeStoreInitCheckoutSession = async () => {
|
|
|
584
648
|
});
|
|
585
649
|
log('Exchange rate updated for cart items (checkout session create)', 'info', cartStore.exchangeRate);
|
|
586
650
|
log('done-init-checkout-session');
|
|
651
|
+
// get and set payment intent async except for staging mode
|
|
652
|
+
if (!cartStore.isStagingMode) {
|
|
653
|
+
void stripeStoreGetPaymentIntent();
|
|
654
|
+
}
|
|
587
655
|
return true;
|
|
588
656
|
};
|
|
589
657
|
/**
|
|
@@ -619,6 +687,7 @@ const stripeStoreUpdateCheckoutSession = async ({ adjustmentsAmount, cartId, cur
|
|
|
619
687
|
},
|
|
620
688
|
],
|
|
621
689
|
presentmentCountryCode,
|
|
690
|
+
skipPaymentIntent: stripeStore.skipPaymentIntent,
|
|
622
691
|
},
|
|
623
692
|
method: 'POST',
|
|
624
693
|
});
|
|
@@ -626,6 +695,10 @@ const stripeStoreUpdateCheckoutSession = async ({ adjustmentsAmount, cartId, cur
|
|
|
626
695
|
logError('Error occurs when updating checkout session', JSON.stringify(errors, null, 2));
|
|
627
696
|
return { errors, json };
|
|
628
697
|
}
|
|
698
|
+
// get and set payment intent async except for staging mode
|
|
699
|
+
if (!cartStore.isStagingMode) {
|
|
700
|
+
void stripeStoreGetPaymentIntent();
|
|
701
|
+
}
|
|
629
702
|
return { errors: [], json };
|
|
630
703
|
};
|
|
631
704
|
/**
|
|
@@ -756,4 +829,4 @@ onChange('clientSecret', clientSecret => {
|
|
|
756
829
|
sessionStorage.removeItem('zonos--client-secret');
|
|
757
830
|
}
|
|
758
831
|
});
|
|
759
|
-
export { initStripeElements, stripeCalculateLandedCost, stripeStore, stripeStoreApplyPromoCode, stripeStoreCleanupDomesticShippingSession, stripeStoreConfirmPayment, stripeStoreGetDomesticShippingSession, stripeStoreHandleInventoryCheck, stripeStoreHandleInventoryRefund, stripeStoreInitCheckoutSession, stripeStoreMessageBasedOnStatus, stripeStorePrefetchLandedCost, stripeStoreRemovePromoCode, stripeStoreReset, stripeStoreResetPromoCode, stripeStoreRetrievePayment, stripeStoreSaveDomesticShippingSession, stripeStoreTranslateAddressToLatin, stripeStoreUpdateCheckoutSession, };
|
|
832
|
+
export { initStripeElements, stripeCalculateLandedCost, stripeStore, stripeStoreApplyPromoCode, stripeStoreCleanupDomesticShippingSession, stripeStoreConfirmPayment, stripeStoreGetDomesticShippingSession, stripeStoreGetPaymentIntent, stripeStoreHandleInventoryCheck, stripeStoreHandleInventoryRefund, stripeStoreInitCheckoutSession, stripeStoreMessageBasedOnStatus, stripeStorePrefetchLandedCost, stripeStoreRemovePromoCode, stripeStoreReset, stripeStoreResetPromoCode, stripeStoreRetrievePayment, stripeStoreSaveDomesticShippingSession, stripeStoreTranslateAddressToLatin, stripeStoreUpdateCheckoutSession, };
|
|
@@ -173,6 +173,9 @@ export const stringsArabic = {
|
|
|
173
173
|
'No countries found': {
|
|
174
174
|
value: 'لم يتم العثور على دول',
|
|
175
175
|
},
|
|
176
|
+
'No payment method needed for staging': {
|
|
177
|
+
value: 'لا حاجة لطريقة دفع للتجهيز',
|
|
178
|
+
},
|
|
176
179
|
'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
|
|
177
180
|
value: 'لم يتم اختيار تقييم الشحنة. يرجى العودة إلى خطوة "الشحن" واختيار تقييم الشحنة للمتابعة.',
|
|
178
181
|
},
|
|
@@ -230,6 +233,9 @@ export const stringsArabic = {
|
|
|
230
233
|
'Phone number': {
|
|
231
234
|
value: 'رقم الهاتف',
|
|
232
235
|
},
|
|
236
|
+
'Place test order': {
|
|
237
|
+
value: 'إجراء طلب اختبار',
|
|
238
|
+
},
|
|
233
239
|
'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
|
|
234
240
|
value: 'يرجى التأكد من أن نصك يستخدم الأبجدية اللاتينية فقط (A-Z, a-z).',
|
|
235
241
|
},
|
|
@@ -332,6 +338,9 @@ export const stringsArabic = {
|
|
|
332
338
|
'Spend [threshold] tax free.': {
|
|
333
339
|
value: 'أنفق [threshold] بدون ضرائب.',
|
|
334
340
|
},
|
|
341
|
+
'Staging mode': {
|
|
342
|
+
value: 'وضع التدريج',
|
|
343
|
+
},
|
|
335
344
|
State: {
|
|
336
345
|
value: 'ولاية',
|
|
337
346
|
},
|
|
@@ -173,6 +173,9 @@ export const stringsBase = {
|
|
|
173
173
|
'No countries found': {
|
|
174
174
|
value: 'No countries found',
|
|
175
175
|
},
|
|
176
|
+
'No payment method needed for staging': {
|
|
177
|
+
value: 'No payment method needed for staging',
|
|
178
|
+
},
|
|
176
179
|
'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
|
|
177
180
|
value: 'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.',
|
|
178
181
|
},
|
|
@@ -230,6 +233,9 @@ export const stringsBase = {
|
|
|
230
233
|
'Phone number': {
|
|
231
234
|
value: 'Phone number',
|
|
232
235
|
},
|
|
236
|
+
'Place test order': {
|
|
237
|
+
value: 'Place test order',
|
|
238
|
+
},
|
|
233
239
|
'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
|
|
234
240
|
value: 'Please ensure your text uses the Latin alphabet only (A-Z, a-z).',
|
|
235
241
|
},
|
|
@@ -332,6 +338,9 @@ export const stringsBase = {
|
|
|
332
338
|
'Spend [threshold] tax free.': {
|
|
333
339
|
value: 'Spend [threshold] tax free.',
|
|
334
340
|
},
|
|
341
|
+
'Staging mode': {
|
|
342
|
+
value: 'Staging mode',
|
|
343
|
+
},
|
|
335
344
|
State: {
|
|
336
345
|
value: 'State',
|
|
337
346
|
},
|
|
@@ -173,6 +173,9 @@ export const stringsChinese = {
|
|
|
173
173
|
'No countries found': {
|
|
174
174
|
value: '未找到国家',
|
|
175
175
|
},
|
|
176
|
+
'No payment method needed for staging': {
|
|
177
|
+
value: '不需要支付方式用于演示',
|
|
178
|
+
},
|
|
176
179
|
'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
|
|
177
180
|
value: '未选择运费评级。请返回到"运输"步骤并选择运费评级以继续。',
|
|
178
181
|
},
|
|
@@ -230,6 +233,9 @@ export const stringsChinese = {
|
|
|
230
233
|
'Phone number': {
|
|
231
234
|
value: '电话号码',
|
|
232
235
|
},
|
|
236
|
+
'Place test order': {
|
|
237
|
+
value: '下测试订单',
|
|
238
|
+
},
|
|
233
239
|
'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
|
|
234
240
|
value: '请确保您的文本仅使用拉丁字母表(A-Z, a-z)。',
|
|
235
241
|
},
|
|
@@ -332,6 +338,9 @@ export const stringsChinese = {
|
|
|
332
338
|
'Spend [threshold] tax free.': {
|
|
333
339
|
value: '花费 [threshold] 免税。',
|
|
334
340
|
},
|
|
341
|
+
'Staging mode': {
|
|
342
|
+
value: '演示模式',
|
|
343
|
+
},
|
|
335
344
|
State: {
|
|
336
345
|
value: '州',
|
|
337
346
|
},
|
|
@@ -173,6 +173,9 @@ export const stringsDanish = {
|
|
|
173
173
|
'No countries found': {
|
|
174
174
|
value: 'Ingen lande fundet',
|
|
175
175
|
},
|
|
176
|
+
'No payment method needed for staging': {
|
|
177
|
+
value: 'Ingen betalingsmetode nødvendig til iscenesættelse',
|
|
178
|
+
},
|
|
176
179
|
'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
|
|
177
180
|
value: 'Ingen forsendelsesvurdering valgt. Gå venligst tilbage til "Forsendelse"-trinnet og vælg en forsendelsesvurdering for at fortsætte.',
|
|
178
181
|
},
|
|
@@ -230,6 +233,9 @@ export const stringsDanish = {
|
|
|
230
233
|
'Phone number': {
|
|
231
234
|
value: 'Telefonnummer',
|
|
232
235
|
},
|
|
236
|
+
'Place test order': {
|
|
237
|
+
value: 'Afgiv testordre',
|
|
238
|
+
},
|
|
233
239
|
'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
|
|
234
240
|
value: 'Sørg venligst for, at din tekst kun bruger det latinske alfabet (A-Z, a-z).',
|
|
235
241
|
},
|
|
@@ -332,6 +338,9 @@ export const stringsDanish = {
|
|
|
332
338
|
'Spend [threshold] tax free.': {
|
|
333
339
|
value: 'Brug [threshold] skattefrit.',
|
|
334
340
|
},
|
|
341
|
+
'Staging mode': {
|
|
342
|
+
value: 'Iscenesættelsesmodus',
|
|
343
|
+
},
|
|
335
344
|
State: {
|
|
336
345
|
value: 'Stat',
|
|
337
346
|
},
|
|
@@ -173,6 +173,9 @@ export const stringsDutch = {
|
|
|
173
173
|
'No countries found': {
|
|
174
174
|
value: 'Geen landen gevonden',
|
|
175
175
|
},
|
|
176
|
+
'No payment method needed for staging': {
|
|
177
|
+
value: 'Geen betaalmethode nodig voor enscenering',
|
|
178
|
+
},
|
|
176
179
|
'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
|
|
177
180
|
value: 'Geen verzendbeoordeling geselecteerd. Ga alstublieft terug naar de stap "Verzending" en selecteer een verzendbeoordeling om door te gaan.',
|
|
178
181
|
},
|
|
@@ -230,6 +233,9 @@ export const stringsDutch = {
|
|
|
230
233
|
'Phone number': {
|
|
231
234
|
value: 'Telefoonnummer',
|
|
232
235
|
},
|
|
236
|
+
'Place test order': {
|
|
237
|
+
value: 'Plaats een testbestelling',
|
|
238
|
+
},
|
|
233
239
|
'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
|
|
234
240
|
value: 'Zorg ervoor dat uw tekst alleen het Latijnse alfabet gebruikt (A-Z, a-z).',
|
|
235
241
|
},
|
|
@@ -332,6 +338,9 @@ export const stringsDutch = {
|
|
|
332
338
|
'Spend [threshold] tax free.': {
|
|
333
339
|
value: 'Besteed [threshold] belastingvrij.',
|
|
334
340
|
},
|
|
341
|
+
'Staging mode': {
|
|
342
|
+
value: 'Stagingmodus',
|
|
343
|
+
},
|
|
335
344
|
State: {
|
|
336
345
|
value: 'Staat',
|
|
337
346
|
},
|
|
@@ -173,6 +173,9 @@ export const stringsFrench = {
|
|
|
173
173
|
'No countries found': {
|
|
174
174
|
value: 'Aucun pays trouvé',
|
|
175
175
|
},
|
|
176
|
+
'No payment method needed for staging': {
|
|
177
|
+
value: 'Aucun moyen de paiement nécessaire pour la mise en scène',
|
|
178
|
+
},
|
|
176
179
|
'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
|
|
177
180
|
value: `Aucune évaluation d'expédition sélectionnée. Veuillez revenir à l'étape "Expédition" et sélectionner une évaluation d'expédition pour continuer.`,
|
|
178
181
|
},
|
|
@@ -230,6 +233,9 @@ export const stringsFrench = {
|
|
|
230
233
|
'Phone number': {
|
|
231
234
|
value: 'Numéro de téléphone',
|
|
232
235
|
},
|
|
236
|
+
'Place test order': {
|
|
237
|
+
value: 'Passer une commande de test',
|
|
238
|
+
},
|
|
233
239
|
'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
|
|
234
240
|
value: "Veuillez vous assurer que votre texte utilise uniquement l'alphabet latin (A-Z, a-z).",
|
|
235
241
|
},
|
|
@@ -332,6 +338,9 @@ export const stringsFrench = {
|
|
|
332
338
|
'Spend [threshold] tax free.': {
|
|
333
339
|
value: 'Dépensez [threshold] hors taxes.',
|
|
334
340
|
},
|
|
341
|
+
'Staging mode': {
|
|
342
|
+
value: 'Mode de mise en scène',
|
|
343
|
+
},
|
|
335
344
|
State: {
|
|
336
345
|
value: 'État',
|
|
337
346
|
},
|
|
@@ -173,6 +173,9 @@ export const stringsGerman = {
|
|
|
173
173
|
'No countries found': {
|
|
174
174
|
value: 'Keine Länder gefunden',
|
|
175
175
|
},
|
|
176
|
+
'No payment method needed for staging': {
|
|
177
|
+
value: 'Keine Zahlungsmethode für die Inszenierung erforderlich',
|
|
178
|
+
},
|
|
176
179
|
'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
|
|
177
180
|
value: 'Keine Versandbewertung ausgewählt. Bitte gehen Sie zurück zum Schritt "Versand" und wählen Sie eine Versandbewertung aus, um fortzufahren.',
|
|
178
181
|
},
|
|
@@ -230,6 +233,9 @@ export const stringsGerman = {
|
|
|
230
233
|
'Phone number': {
|
|
231
234
|
value: 'Telefonnummer',
|
|
232
235
|
},
|
|
236
|
+
'Place test order': {
|
|
237
|
+
value: 'Testbestellung aufgeben',
|
|
238
|
+
},
|
|
233
239
|
'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
|
|
234
240
|
value: 'Bitte stellen Sie sicher, dass Ihr Text nur das lateinische Alphabet verwendet (A-Z, a-z).',
|
|
235
241
|
},
|
|
@@ -332,6 +338,9 @@ export const stringsGerman = {
|
|
|
332
338
|
'Spend [threshold] tax free.': {
|
|
333
339
|
value: 'Geben Sie [threshold] steuerfrei aus.',
|
|
334
340
|
},
|
|
341
|
+
'Staging mode': {
|
|
342
|
+
value: 'Staging-Modus',
|
|
343
|
+
},
|
|
335
344
|
State: {
|
|
336
345
|
value: 'Bundesland',
|
|
337
346
|
},
|
|
@@ -173,6 +173,9 @@ export const stringsHebrew = {
|
|
|
173
173
|
'No countries found': {
|
|
174
174
|
value: 'לא נמצאו מדינות',
|
|
175
175
|
},
|
|
176
|
+
'No payment method needed for staging': {
|
|
177
|
+
value: 'אין צורך בשיטת תשלום לבימוי',
|
|
178
|
+
},
|
|
176
179
|
'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
|
|
177
180
|
value: 'לא נבחר דירוג משלוח. אנא חזור לשלב "משלוח" ובחר דירוג משלוח כדי להמשיך.',
|
|
178
181
|
},
|
|
@@ -230,6 +233,9 @@ export const stringsHebrew = {
|
|
|
230
233
|
'Phone number': {
|
|
231
234
|
value: 'מספר טלפון',
|
|
232
235
|
},
|
|
236
|
+
'Place test order': {
|
|
237
|
+
value: 'בצע הזמנת בדיקה',
|
|
238
|
+
},
|
|
233
239
|
'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
|
|
234
240
|
value: 'אנא ודא שהטקסט שלך משתמש באלפבית הלטיני בלבד (A-Z, a-z).',
|
|
235
241
|
},
|
|
@@ -332,6 +338,9 @@ export const stringsHebrew = {
|
|
|
332
338
|
'Spend [threshold] tax free.': {
|
|
333
339
|
value: 'הוצא [threshold] ללא מס.',
|
|
334
340
|
},
|
|
341
|
+
'Staging mode': {
|
|
342
|
+
value: 'מצב בימוי',
|
|
343
|
+
},
|
|
335
344
|
State: {
|
|
336
345
|
value: 'מדינה',
|
|
337
346
|
},
|
|
@@ -173,6 +173,9 @@ export const stringsIndonesian = {
|
|
|
173
173
|
'No countries found': {
|
|
174
174
|
value: 'Tidak ada negara yang ditemukan',
|
|
175
175
|
},
|
|
176
|
+
'No payment method needed for staging': {
|
|
177
|
+
value: 'Tidak perlu metode pembayaran untuk pementasan',
|
|
178
|
+
},
|
|
176
179
|
'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
|
|
177
180
|
value: 'Tidak ada penilaian pengiriman yang dipilih. Silakan kembali ke langkah "Pengiriman" dan pilih penilaian pengiriman untuk melanjutkan.',
|
|
178
181
|
},
|
|
@@ -230,6 +233,9 @@ export const stringsIndonesian = {
|
|
|
230
233
|
'Phone number': {
|
|
231
234
|
value: 'Nomor telepon',
|
|
232
235
|
},
|
|
236
|
+
'Place test order': {
|
|
237
|
+
value: 'Lakukan pesanan uji coba',
|
|
238
|
+
},
|
|
233
239
|
'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
|
|
234
240
|
value: 'Harap pastikan teks Anda hanya menggunakan alfabet Latin (A-Z, a-z).',
|
|
235
241
|
},
|
|
@@ -332,6 +338,9 @@ export const stringsIndonesian = {
|
|
|
332
338
|
'Spend [threshold] tax free.': {
|
|
333
339
|
value: 'Habiskan [threshold] bebas pajak.',
|
|
334
340
|
},
|
|
341
|
+
'Staging mode': {
|
|
342
|
+
value: 'Mode pementasan',
|
|
343
|
+
},
|
|
335
344
|
State: {
|
|
336
345
|
value: 'Negara Bagian',
|
|
337
346
|
},
|
|
@@ -173,6 +173,9 @@ export const stringsItalian = {
|
|
|
173
173
|
'No countries found': {
|
|
174
174
|
value: 'Nessun paese trovato',
|
|
175
175
|
},
|
|
176
|
+
'No payment method needed for staging': {
|
|
177
|
+
value: 'Nessun metodo di pagamento necessario per la messa in scena',
|
|
178
|
+
},
|
|
176
179
|
'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
|
|
177
180
|
value: 'Nessuna valutazione di spedizione selezionata. Si prega di tornare al passaggio "Spedizione" e selezionare una valutazione di spedizione per procedere.',
|
|
178
181
|
},
|
|
@@ -230,6 +233,9 @@ export const stringsItalian = {
|
|
|
230
233
|
'Phone number': {
|
|
231
234
|
value: 'Numero di telefono',
|
|
232
235
|
},
|
|
236
|
+
'Place test order': {
|
|
237
|
+
value: 'Effettuare un ordine di prova',
|
|
238
|
+
},
|
|
233
239
|
'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
|
|
234
240
|
value: "Si prega di assicurarsi che il testo utilizzi solo l'alfabeto latino (A-Z, a-z).",
|
|
235
241
|
},
|
|
@@ -332,6 +338,9 @@ export const stringsItalian = {
|
|
|
332
338
|
'Spend [threshold] tax free.': {
|
|
333
339
|
value: 'Spendi [threshold] senza tasse.',
|
|
334
340
|
},
|
|
341
|
+
'Staging mode': {
|
|
342
|
+
value: 'Modalità di staging',
|
|
343
|
+
},
|
|
335
344
|
State: {
|
|
336
345
|
value: 'Stato',
|
|
337
346
|
},
|
|
@@ -173,6 +173,9 @@ export const stringsJapanese = {
|
|
|
173
173
|
'No countries found': {
|
|
174
174
|
value: '国が見つかりません',
|
|
175
175
|
},
|
|
176
|
+
'No payment method needed for staging': {
|
|
177
|
+
value: 'ステージングには支払い方法は不要です',
|
|
178
|
+
},
|
|
176
179
|
'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
|
|
177
180
|
value: '配送評価が選択されていません。「配送」ステップに戻り、配送評価を選択して続行してください。',
|
|
178
181
|
},
|
|
@@ -230,6 +233,9 @@ export const stringsJapanese = {
|
|
|
230
233
|
'Phone number': {
|
|
231
234
|
value: '電話番号',
|
|
232
235
|
},
|
|
236
|
+
'Place test order': {
|
|
237
|
+
value: 'テスト注文を出す',
|
|
238
|
+
},
|
|
233
239
|
'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
|
|
234
240
|
value: 'テキストがラテンアルファベットのみを使用していることを確認してください(A-Z、a-z)。',
|
|
235
241
|
},
|
|
@@ -332,6 +338,9 @@ export const stringsJapanese = {
|
|
|
332
338
|
'Spend [threshold] tax free.': {
|
|
333
339
|
value: '[threshold]を税金なしで使う。',
|
|
334
340
|
},
|
|
341
|
+
'Staging mode': {
|
|
342
|
+
value: 'ステージングモード',
|
|
343
|
+
},
|
|
335
344
|
State: {
|
|
336
345
|
value: '州',
|
|
337
346
|
},
|
|
@@ -173,6 +173,9 @@ export const stringsKorean = {
|
|
|
173
173
|
'No countries found': {
|
|
174
174
|
value: '국가를 찾을 수 없습니다',
|
|
175
175
|
},
|
|
176
|
+
'No payment method needed for staging': {
|
|
177
|
+
value: '스테이징에 결제 수단이 필요하지 않습니다',
|
|
178
|
+
},
|
|
176
179
|
'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
|
|
177
180
|
value: '배송 등급이 선택되지 않았습니다. "배송" 단계로 돌아가서 배송 등급을 선택하여 진행하세요.',
|
|
178
181
|
},
|
|
@@ -230,6 +233,9 @@ export const stringsKorean = {
|
|
|
230
233
|
'Phone number': {
|
|
231
234
|
value: '전화번호',
|
|
232
235
|
},
|
|
236
|
+
'Place test order': {
|
|
237
|
+
value: '테스트 주문하기',
|
|
238
|
+
},
|
|
233
239
|
'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
|
|
234
240
|
value: '텍스트가 라틴 알파벳만 사용하는지 확인해 주세요 (A-Z, a-z).',
|
|
235
241
|
},
|
|
@@ -332,6 +338,9 @@ export const stringsKorean = {
|
|
|
332
338
|
'Spend [threshold] tax free.': {
|
|
333
339
|
value: '[threshold]를 세금 없이 사용하세요.',
|
|
334
340
|
},
|
|
341
|
+
'Staging mode': {
|
|
342
|
+
value: '스테이징 모드',
|
|
343
|
+
},
|
|
335
344
|
State: {
|
|
336
345
|
value: '주',
|
|
337
346
|
},
|
|
@@ -173,6 +173,9 @@ export const stringsNorwegian = {
|
|
|
173
173
|
'No countries found': {
|
|
174
174
|
value: 'Ingen land funnet',
|
|
175
175
|
},
|
|
176
|
+
'No payment method needed for staging': {
|
|
177
|
+
value: 'Ingen betalingsmetode nødvendig for iscenesettelse',
|
|
178
|
+
},
|
|
176
179
|
'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
|
|
177
180
|
value: 'Ingen forsendelsesvurdering valgt. Vennligst gå tilbake til "Frakt"-trinnet og velg en forsendelsesvurdering for å fortsette.',
|
|
178
181
|
},
|
|
@@ -230,6 +233,9 @@ export const stringsNorwegian = {
|
|
|
230
233
|
'Phone number': {
|
|
231
234
|
value: 'Telefonnummer',
|
|
232
235
|
},
|
|
236
|
+
'Place test order': {
|
|
237
|
+
value: 'Legg inn testbestilling',
|
|
238
|
+
},
|
|
233
239
|
'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
|
|
234
240
|
value: 'Vennligst sørg for at teksten din kun bruker det latinske alfabetet (A-Z, a-z).',
|
|
235
241
|
},
|
|
@@ -332,6 +338,9 @@ export const stringsNorwegian = {
|
|
|
332
338
|
'Spend [threshold] tax free.': {
|
|
333
339
|
value: 'Bruk [threshold] skattefritt.',
|
|
334
340
|
},
|
|
341
|
+
'Staging mode': {
|
|
342
|
+
value: 'Iscenesettelsesmodus',
|
|
343
|
+
},
|
|
335
344
|
State: {
|
|
336
345
|
value: 'Stat',
|
|
337
346
|
},
|
|
@@ -173,6 +173,9 @@ export const stringsPolish = {
|
|
|
173
173
|
'No countries found': {
|
|
174
174
|
value: 'Nie znaleziono krajów',
|
|
175
175
|
},
|
|
176
|
+
'No payment method needed for staging': {
|
|
177
|
+
value: 'Nie jest potrzebna metoda płatności do inscenizacji',
|
|
178
|
+
},
|
|
176
179
|
'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
|
|
177
180
|
value: 'Nie wybrano oceny przesyłki. Proszę wrócić do kroku "Wysyłka" i wybrać ocenę przesyłki, aby kontynuować.',
|
|
178
181
|
},
|
|
@@ -230,6 +233,9 @@ export const stringsPolish = {
|
|
|
230
233
|
'Phone number': {
|
|
231
234
|
value: 'Numer telefonu',
|
|
232
235
|
},
|
|
236
|
+
'Place test order': {
|
|
237
|
+
value: 'Złóż zamówienie testowe',
|
|
238
|
+
},
|
|
233
239
|
'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
|
|
234
240
|
value: 'Proszę upewnić się, że tekst używa tylko alfabetu łacińskiego (A-Z, a-z).',
|
|
235
241
|
},
|
|
@@ -332,6 +338,9 @@ export const stringsPolish = {
|
|
|
332
338
|
'Spend [threshold] tax free.': {
|
|
333
339
|
value: 'Wydaj [threshold] bez podatku.',
|
|
334
340
|
},
|
|
341
|
+
'Staging mode': {
|
|
342
|
+
value: 'Tryb inscenizacji',
|
|
343
|
+
},
|
|
335
344
|
State: {
|
|
336
345
|
value: 'Stan',
|
|
337
346
|
},
|