@zonos/elements 1.3.281 → 1.3.282
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-3313cb0c.js → cart-dc31b242.js} +2 -1
- package/dist/cjs/{collect-2659c5af.js → collect-463ab3d7.js} +2 -2
- package/dist/cjs/getMissingRequiredShippingFields-7cd21100.js +50 -0
- package/dist/cjs/{hasInclusivePrice-d132daaa.js → hasInclusivePrice-d14b9d71.js} +1 -1
- package/dist/cjs/index.cjs.js +7 -7
- package/dist/cjs/{invoice-26f52c07.js → invoice-8c995041.js} +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{localization-6189080f.js → localization-491121ad.js} +240 -0
- package/dist/cjs/{paypal-f6a256b5.js → paypal-2a4c374c.js} +2 -2
- package/dist/cjs/{placeTestOrder-695f2b32.js → placeTestOrder-a940a2e9.js} +2 -2
- package/dist/cjs/{renderCheckoutCurrency-fe56094f.js → renderCheckoutCurrency-ab39875a.js} +2 -2
- package/dist/cjs/{zonos-address-display_8.cjs.entry.js → zonos-address-completion-dialog_7.cjs.entry.js} +141 -149
- package/dist/cjs/zonos-address-display_2.cjs.entry.js +150 -0
- package/dist/cjs/zonos-address_4.cjs.entry.js +73 -12
- package/dist/cjs/zonos-airwallex-payment.cjs.entry.js +3 -3
- package/dist/cjs/zonos-badge.cjs.entry.js +3 -3
- package/dist/cjs/zonos-button_3.cjs.entry.js +3 -3
- package/dist/cjs/zonos-card_5.cjs.entry.js +9 -9
- package/dist/cjs/zonos-cart-items_12.cjs.entry.js +89 -20
- package/dist/cjs/zonos-checkbox_2.cjs.entry.js +5 -5
- package/dist/cjs/zonos-checkout.cjs.entry.js +3 -3
- package/dist/cjs/zonos-collapse.cjs.entry.js +2 -2
- package/dist/cjs/zonos-collect-cart-items_3.cjs.entry.js +6 -6
- package/dist/cjs/zonos-collect-finish_6.cjs.entry.js +19 -19
- package/dist/cjs/zonos-collect.cjs.entry.js +4 -4
- package/dist/cjs/zonos-component.cjs.entry.js +1 -1
- package/dist/cjs/zonos-controller.cjs.entry.js +3 -3
- package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -1
- package/dist/cjs/zonos-country-select_4.cjs.entry.js +10 -10
- package/dist/cjs/zonos-elements.cjs.js +1 -1
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +6 -6
- package/dist/cjs/zonos-hello.cjs.entry.js +1 -1
- package/dist/cjs/zonos-input.cjs.entry.js +4 -4
- package/dist/cjs/zonos-invoice-cart-items_2.cjs.entry.js +8 -8
- package/dist/cjs/zonos-invoice-finish_5.cjs.entry.js +14 -14
- package/dist/cjs/zonos-invoice.cjs.entry.js +4 -4
- package/dist/cjs/zonos-language-select_2.cjs.entry.js +5 -5
- package/dist/cjs/zonos-link.cjs.entry.js +1 -1
- package/dist/cjs/zonos-logo.cjs.entry.js +2 -2
- package/dist/cjs/zonos-policy-consent_2.cjs.entry.js +3 -3
- package/dist/cjs/zonos-stripe-input.cjs.entry.js +4 -4
- package/dist/cjs/zonos-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/zonos-v-stack.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-address-completion-dialog/zonos-address-completion-dialog.css +105 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-address-completion-dialog/zonos-address-completion-dialog.js +341 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-form/zonos-address-form.js +5 -5
- package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-update-dialog.js +3 -3
- package/dist/collection/components/checkout/zonos-checkout/zonos-cart-items/zonos-cart-items.js +1 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +4 -4
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.js +2 -2
- package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.js +52 -2
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-cart-items/zonos-collect-cart-items.js +1 -1
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-finish/zonos-collect-finish.js +2 -2
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-footer/zonos-collect-footer.js +3 -3
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-review/zonos-collect-review.js +3 -3
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-subtotal/zonos-collect-subtotal.js +5 -5
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-cart-items/zonos-invoice-cart-items.js +2 -2
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-finish/zonos-invoice-finish.js +2 -2
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-footer/zonos-invoice-footer.js +3 -3
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-review/zonos-invoice-review.js +3 -3
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-subtotal/zonos-invoice-subtotal.js +2 -2
- package/dist/collection/components/common/zonos-badge/zonos-badge.js +3 -3
- package/dist/collection/components/common/zonos-button/zonos-button.js +3 -3
- package/dist/collection/components/common/zonos-card/zonos-card.js +4 -4
- package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.js +3 -3
- package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js +3 -3
- package/dist/collection/components/common/zonos-collapse/zonos-collapse.js +2 -2
- package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.js +3 -3
- package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +3 -3
- 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-h-stack/zonos-h-stack.js +2 -2
- 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-loading-overlay/zonos-loading-overlay.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-skeleton/zonos-skeleton.js +1 -1
- package/dist/collection/components/common/zonos-stripe-input/zonos-stripe-input.js +4 -4
- package/dist/collection/components/common/zonos-stripe-phone-input/zonos-stripe-phone-input.js +5 -5
- package/dist/collection/components/common/zonos-toggle/zonos-toggle.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.js +2 -2
- 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 +1 -1
- package/dist/collection/components/paypal/zonos-paypal-payment.js +1 -1
- package/dist/collection/components/store/checkout/stripe.js +1 -1
- 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/stripe/zonos-address/zonos-address.js +11 -6
- package/dist/collection/components/stripe/zonos-custom-address/zonos-address-suggestions/zonos-address-suggestions.js +2 -2
- package/dist/collection/components/stripe/zonos-custom-address/zonos-custom-address.js +2 -2
- package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
- package/dist/collection/components/utils/checkout/applyAddressCompletion.js +23 -0
- package/dist/collection/components/utils/checkout/buildAddressContacts.js +57 -0
- package/dist/collection/components/utils/checkout/getMissingRequiredShippingFields.js +44 -0
- package/dist/esm/{cart-c66ec17e.js → cart-5282f6c1.js} +2 -2
- package/dist/esm/{collect-915fd59d.js → collect-fdbab973.js} +2 -2
- package/dist/esm/getMissingRequiredShippingFields-bdeecbff.js +47 -0
- package/dist/esm/{hasInclusivePrice-6fd935f3.js → hasInclusivePrice-161e203f.js} +1 -1
- package/dist/esm/index.js +7 -7
- package/dist/esm/{invoice-2a17c93c.js → invoice-cf6ad79e.js} +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{localization-6d36209f.js → localization-0953a048.js} +240 -0
- package/dist/esm/{paypal-cae1d404.js → paypal-7c82eac4.js} +2 -2
- package/dist/esm/{placeTestOrder-955269d2.js → placeTestOrder-6a746207.js} +2 -2
- package/dist/esm/{renderCheckoutCurrency-951386a5.js → renderCheckoutCurrency-44f897a1.js} +2 -2
- package/dist/esm/{zonos-address-display_8.entry.js → zonos-address-completion-dialog_7.entry.js} +142 -149
- package/dist/esm/zonos-address-display_2.entry.js +145 -0
- package/dist/esm/zonos-address_4.entry.js +73 -12
- package/dist/esm/zonos-airwallex-payment.entry.js +3 -3
- package/dist/esm/zonos-badge.entry.js +3 -3
- package/dist/esm/zonos-button_3.entry.js +3 -3
- package/dist/esm/zonos-card_5.entry.js +9 -9
- package/dist/esm/zonos-cart-items_12.entry.js +90 -21
- package/dist/esm/zonos-checkbox_2.entry.js +5 -5
- package/dist/esm/zonos-checkout.entry.js +3 -3
- package/dist/esm/zonos-collapse.entry.js +2 -2
- package/dist/esm/zonos-collect-cart-items_3.entry.js +6 -6
- package/dist/esm/zonos-collect-finish_6.entry.js +19 -19
- package/dist/esm/zonos-collect.entry.js +4 -4
- package/dist/esm/zonos-component.entry.js +1 -1
- package/dist/esm/zonos-controller.entry.js +3 -3
- package/dist/esm/zonos-country-flag.entry.js +1 -1
- package/dist/esm/zonos-country-select_4.entry.js +10 -10
- package/dist/esm/zonos-elements.js +1 -1
- package/dist/esm/zonos-hello-dialog.entry.js +6 -6
- package/dist/esm/zonos-hello.entry.js +1 -1
- package/dist/esm/zonos-input.entry.js +4 -4
- package/dist/esm/zonos-invoice-cart-items_2.entry.js +8 -8
- package/dist/esm/zonos-invoice-finish_5.entry.js +14 -14
- package/dist/esm/zonos-invoice.entry.js +4 -4
- package/dist/esm/zonos-language-select_2.entry.js +5 -5
- package/dist/esm/zonos-link.entry.js +1 -1
- package/dist/esm/zonos-logo.entry.js +2 -2
- package/dist/esm/zonos-policy-consent_2.entry.js +3 -3
- package/dist/esm/zonos-stripe-input.entry.js +4 -4
- package/dist/esm/zonos-tooltip.entry.js +2 -2
- package/dist/esm/zonos-v-stack.entry.js +2 -2
- package/dist/esm-es5/{cart-c66ec17e.js → cart-5282f6c1.js} +1 -1
- package/dist/esm-es5/{collect-915fd59d.js → collect-fdbab973.js} +1 -1
- package/dist/esm-es5/getMissingRequiredShippingFields-bdeecbff.js +1 -0
- package/dist/esm-es5/{hasInclusivePrice-6fd935f3.js → hasInclusivePrice-161e203f.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{invoice-2a17c93c.js → invoice-cf6ad79e.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/localization-0953a048.js +1 -0
- package/dist/esm-es5/{paypal-cae1d404.js → paypal-7c82eac4.js} +1 -1
- package/dist/esm-es5/{placeTestOrder-955269d2.js → placeTestOrder-6a746207.js} +1 -1
- package/dist/esm-es5/{renderCheckoutCurrency-951386a5.js → renderCheckoutCurrency-44f897a1.js} +1 -1
- package/dist/esm-es5/zonos-address-completion-dialog_7.entry.js +1 -0
- package/dist/esm-es5/zonos-address-display_2.entry.js +1 -0
- package/dist/esm-es5/zonos-address_4.entry.js +1 -1
- package/dist/esm-es5/zonos-airwallex-payment.entry.js +1 -1
- package/dist/esm-es5/zonos-badge.entry.js +1 -1
- package/dist/esm-es5/zonos-button_3.entry.js +1 -1
- package/dist/esm-es5/zonos-card_5.entry.js +1 -1
- package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
- package/dist/esm-es5/zonos-checkbox_2.entry.js +1 -1
- package/dist/esm-es5/zonos-checkout.entry.js +1 -1
- package/dist/esm-es5/zonos-collapse.entry.js +1 -1
- package/dist/esm-es5/zonos-collect-cart-items_3.entry.js +1 -1
- package/dist/esm-es5/zonos-collect-finish_6.entry.js +1 -1
- package/dist/esm-es5/zonos-collect.entry.js +1 -1
- package/dist/esm-es5/zonos-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-hello-dialog.entry.js +1 -1
- package/dist/esm-es5/zonos-hello.entry.js +1 -1
- package/dist/esm-es5/zonos-input.entry.js +1 -1
- package/dist/esm-es5/zonos-invoice-cart-items_2.entry.js +1 -1
- package/dist/esm-es5/zonos-invoice-finish_5.entry.js +1 -1
- package/dist/esm-es5/zonos-invoice.entry.js +1 -1
- package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
- package/dist/esm-es5/zonos-link.entry.js +1 -1
- package/dist/esm-es5/zonos-logo.entry.js +1 -1
- package/dist/esm-es5/zonos-policy-consent_2.entry.js +1 -1
- package/dist/esm-es5/zonos-stripe-input.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/scripts/index.d.ts +123 -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-address-completion-dialog/zonos-address-completion-dialog.d.ts +75 -0
- package/dist/types/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.d.ts +16 -0
- package/dist/types/components/store/checkout/stripe.d.ts +4 -0
- 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/utils/checkout/applyAddressCompletion.d.ts +25 -0
- package/dist/types/components/utils/checkout/buildAddressContacts.d.ts +21 -0
- package/dist/types/components/utils/checkout/getMissingRequiredShippingFields.d.ts +35 -0
- package/dist/types/components.d.ts +97 -0
- package/dist/zonos-elements/index.esm.js +1 -1
- package/dist/zonos-elements/p-0287f9cd.system.js +1 -0
- package/dist/zonos-elements/{p-5aee5de5.system.entry.js → p-05cb0a0d.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-03fda4a8.entry.js → p-0fb4e032.entry.js} +1 -1
- package/dist/zonos-elements/{p-727387ed.entry.js → p-10584546.entry.js} +1 -1
- package/dist/zonos-elements/p-193fc2da.entry.js +1 -0
- package/dist/zonos-elements/p-1977f4b5.js +1 -0
- package/dist/zonos-elements/p-1cf5e2ce.system.entry.js +1 -0
- package/dist/zonos-elements/p-1cf76dd3.entry.js +1 -0
- package/dist/zonos-elements/p-1d31b966.system.js +1 -0
- package/dist/zonos-elements/{p-0ad6a92b.system.entry.js → p-21489ff1.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-734d646b.entry.js → p-21f7d57b.entry.js} +1 -1
- package/dist/zonos-elements/p-2394b186.system.js +1 -0
- package/dist/zonos-elements/{p-edf613ea.entry.js → p-23eee868.entry.js} +1 -1
- package/dist/zonos-elements/{p-b5f67807.entry.js → p-26bf0c31.entry.js} +1 -1
- package/dist/zonos-elements/{p-ddf68916.system.js → p-28ee0860.system.js} +1 -1
- package/dist/zonos-elements/p-29b60bf3.system.js +1 -1
- package/dist/zonos-elements/{p-6df6cb8a.entry.js → p-30cfc9f4.entry.js} +1 -1
- package/dist/zonos-elements/{p-5677d31f.entry.js → p-323279b8.entry.js} +1 -1
- package/dist/zonos-elements/{p-8c54aaec.entry.js → p-32b53999.entry.js} +1 -1
- package/dist/zonos-elements/{p-c15476a1.system.entry.js → p-333f6018.system.entry.js} +1 -1
- package/dist/zonos-elements/p-3642dd99.entry.js +1 -0
- package/dist/zonos-elements/p-3c62acbd.js +1 -0
- package/dist/zonos-elements/{p-4441c451.entry.js → p-4417475f.entry.js} +1 -1
- package/dist/zonos-elements/p-543b25f9.entry.js +1 -0
- package/dist/zonos-elements/{p-1992fd91.entry.js → p-55c5977b.entry.js} +1 -1
- package/dist/zonos-elements/{p-b406bb39.entry.js → p-56e9a29e.entry.js} +1 -1
- package/dist/zonos-elements/{p-5e1aad7d.entry.js → p-59518657.entry.js} +1 -1
- package/dist/zonos-elements/p-5953208b.js +1 -0
- package/dist/zonos-elements/p-5987dea1.js +1 -0
- package/dist/zonos-elements/{p-a44591f6.system.entry.js → p-5a37683b.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-36b311f9.system.entry.js → p-5b11bbca.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-a34269b1.system.entry.js → p-5d6b018c.system.entry.js} +1 -1
- package/dist/zonos-elements/p-63b462dd.system.entry.js +1 -0
- package/dist/zonos-elements/p-646e6b47.system.entry.js +1 -0
- package/dist/zonos-elements/{p-060c521b.system.entry.js → p-68631285.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-683ec0bf.entry.js → p-6f874ed9.entry.js} +1 -1
- package/dist/zonos-elements/p-71fc8a22.js +1 -0
- package/dist/zonos-elements/{p-a6773627.entry.js → p-76e36d6d.entry.js} +1 -1
- package/dist/zonos-elements/{p-a3d3ce5d.system.entry.js → p-781b3345.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-156891c5.js → p-7ab15d20.js} +1 -1
- package/dist/zonos-elements/{p-3246d120.js → p-7c70e0c7.js} +1 -1
- package/dist/zonos-elements/p-8418aa07.entry.js +1 -0
- package/dist/zonos-elements/{p-99e8743e.system.entry.js → p-8fa3a8f8.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-5a61c301.system.entry.js → p-8fb15a6b.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-30067eed.entry.js → p-95042e71.entry.js} +1 -1
- package/dist/zonos-elements/p-987b5d8f.js +1 -0
- package/dist/zonos-elements/{p-39695a8b.system.js → p-a4eddf6c.system.js} +1 -1
- package/dist/zonos-elements/{p-3e6bbf0b.system.entry.js → p-aa1f3060.system.entry.js} +1 -1
- package/dist/zonos-elements/p-aa37f436.system.entry.js +1 -0
- package/dist/zonos-elements/{p-f314217a.system.js → p-ab61ef19.system.js} +1 -1
- package/dist/zonos-elements/{p-4c3f5fda.system.entry.js → p-b91a8f31.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-15097876.system.entry.js → p-b93013f7.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-746bdebe.entry.js → p-c121b2b8.entry.js} +1 -1
- package/dist/zonos-elements/{p-54a8d4cf.system.entry.js → p-c12ca8fe.system.entry.js} +1 -1
- package/dist/zonos-elements/p-c5bfe522.system.js +1 -0
- package/dist/zonos-elements/{p-732e7373.system.entry.js → p-c634546a.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-a5f8dc19.js → p-c8bc4ede.js} +1 -1
- package/dist/zonos-elements/{p-f156e2e5.system.entry.js → p-c8df5eee.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-e0ec0aa3.system.entry.js → p-c9e44c77.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-179caaea.system.entry.js → p-ca9231a0.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-3e058b4e.entry.js → p-cb376f03.entry.js} +1 -1
- package/dist/zonos-elements/{p-717cbe90.system.js → p-cd3f7fd7.system.js} +1 -1
- package/dist/zonos-elements/{p-ee3c7b11.system.entry.js → p-d06486ba.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-e7a45f6c.entry.js → p-d0767f88.entry.js} +1 -1
- package/dist/zonos-elements/{p-8308f7d6.system.entry.js → p-d2cb99ee.system.entry.js} +1 -1
- package/dist/zonos-elements/p-ddd0e703.system.entry.js +1 -0
- package/dist/zonos-elements/{p-09da3c76.entry.js → p-dfd83cff.entry.js} +1 -1
- package/dist/zonos-elements/{p-4efd7178.entry.js → p-e0cbc7c7.entry.js} +1 -1
- package/dist/zonos-elements/{p-3f6fe80a.system.entry.js → p-e101b0de.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-dd6da3de.entry.js → p-e3d0d8ff.entry.js} +1 -1
- package/dist/zonos-elements/{p-8005e102.system.js → p-e57f862d.system.js} +1 -1
- package/dist/zonos-elements/{p-38879af9.entry.js → p-e6e3a303.entry.js} +1 -1
- package/dist/zonos-elements/{p-5d4201d5.entry.js → p-ef2c264c.entry.js} +1 -1
- package/dist/zonos-elements/{p-40b96482.system.entry.js → p-f1298203.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-86d6961c.system.entry.js → p-f1aa60fd.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-429ab545.system.entry.js → p-f1dbeb85.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-2825431d.entry.js → p-f2431e47.entry.js} +1 -1
- package/dist/zonos-elements/{p-29c1703c.system.entry.js → p-f2511b86.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-08e78d79.entry.js → p-fa80a973.entry.js} +1 -1
- package/dist/zonos-elements/p-fb8dc23f.system.js +1 -0
- package/dist/zonos-elements/{p-f59514e9.entry.js → p-fc45b3a5.entry.js} +1 -1
- package/dist/zonos-elements/{p-a23d3b3f.system.entry.js → p-fdd7ec44.system.entry.js} +1 -1
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/package.json +1 -1
- package/dist/esm-es5/localization-6d36209f.js +0 -1
- package/dist/esm-es5/zonos-address-display_8.entry.js +0 -1
- package/dist/zonos-elements/p-0ac1aa87.system.js +0 -1
- package/dist/zonos-elements/p-1577a739.js +0 -1
- package/dist/zonos-elements/p-1ee5f392.entry.js +0 -1
- package/dist/zonos-elements/p-26ca8ce7.js +0 -1
- package/dist/zonos-elements/p-56fc3210.js +0 -1
- package/dist/zonos-elements/p-6df034d6.entry.js +0 -1
- package/dist/zonos-elements/p-71cb16da.system.entry.js +0 -1
- package/dist/zonos-elements/p-8051403a.js +0 -1
- package/dist/zonos-elements/p-9448d960.js +0 -1
- package/dist/zonos-elements/p-a6535773.system.entry.js +0 -1
- package/dist/zonos-elements/p-ae30e6c0.system.entry.js +0 -1
- package/dist/zonos-elements/p-bf942ef0.system.js +0 -1
- package/dist/zonos-elements/p-c345d1f5.system.js +0 -1
- package/dist/zonos-elements/p-d4337686.entry.js +0 -1
- package/dist/zonos-elements/p-df8b8827.entry.js +0 -1
- package/dist/zonos-elements/p-e210edd9.system.js +0 -1
- package/dist/zonos-elements/p-f3e1a6a7.system.entry.js +0 -1
|
@@ -119,6 +119,9 @@ export declare const stringsJapanese: {
|
|
|
119
119
|
'Company name (optional)': {
|
|
120
120
|
value: string;
|
|
121
121
|
};
|
|
122
|
+
'Complete your shipping address': {
|
|
123
|
+
value: string;
|
|
124
|
+
};
|
|
122
125
|
Confirm: {
|
|
123
126
|
value: string;
|
|
124
127
|
};
|
|
@@ -536,6 +539,9 @@ export declare const stringsJapanese: {
|
|
|
536
539
|
'Return to merchant site': {
|
|
537
540
|
value: string;
|
|
538
541
|
};
|
|
542
|
+
'Save and continue': {
|
|
543
|
+
value: string;
|
|
544
|
+
};
|
|
539
545
|
'Search countries': {
|
|
540
546
|
value: string;
|
|
541
547
|
};
|
|
@@ -554,6 +560,9 @@ export declare const stringsJapanese: {
|
|
|
554
560
|
'Select a language': {
|
|
555
561
|
value: string;
|
|
556
562
|
};
|
|
563
|
+
'Selected address': {
|
|
564
|
+
value: string;
|
|
565
|
+
};
|
|
557
566
|
'Session does not have valid landed cost. Please contact [organizationName] for assistance.': {
|
|
558
567
|
value: string;
|
|
559
568
|
};
|
|
@@ -698,6 +707,9 @@ export declare const stringsJapanese: {
|
|
|
698
707
|
"There's been an error updating your checkout session. Please reload and try again or contact support if the error persists": {
|
|
699
708
|
value: string;
|
|
700
709
|
};
|
|
710
|
+
'This saved address is missing information required to ship internationally. Please add the details below.': {
|
|
711
|
+
value: string;
|
|
712
|
+
};
|
|
701
713
|
'To ensure delivery all address details must be in Latin characters.': {
|
|
702
714
|
value: string;
|
|
703
715
|
};
|
|
@@ -119,6 +119,9 @@ export declare const stringsKorean: {
|
|
|
119
119
|
'Company name (optional)': {
|
|
120
120
|
value: string;
|
|
121
121
|
};
|
|
122
|
+
'Complete your shipping address': {
|
|
123
|
+
value: string;
|
|
124
|
+
};
|
|
122
125
|
Confirm: {
|
|
123
126
|
value: string;
|
|
124
127
|
};
|
|
@@ -536,6 +539,9 @@ export declare const stringsKorean: {
|
|
|
536
539
|
'Return to merchant site': {
|
|
537
540
|
value: string;
|
|
538
541
|
};
|
|
542
|
+
'Save and continue': {
|
|
543
|
+
value: string;
|
|
544
|
+
};
|
|
539
545
|
'Search countries': {
|
|
540
546
|
value: string;
|
|
541
547
|
};
|
|
@@ -554,6 +560,9 @@ export declare const stringsKorean: {
|
|
|
554
560
|
'Select a language': {
|
|
555
561
|
value: string;
|
|
556
562
|
};
|
|
563
|
+
'Selected address': {
|
|
564
|
+
value: string;
|
|
565
|
+
};
|
|
557
566
|
'Session does not have valid landed cost. Please contact [organizationName] for assistance.': {
|
|
558
567
|
value: string;
|
|
559
568
|
};
|
|
@@ -698,6 +707,9 @@ export declare const stringsKorean: {
|
|
|
698
707
|
"There's been an error updating your checkout session. Please reload and try again or contact support if the error persists": {
|
|
699
708
|
value: string;
|
|
700
709
|
};
|
|
710
|
+
'This saved address is missing information required to ship internationally. Please add the details below.': {
|
|
711
|
+
value: string;
|
|
712
|
+
};
|
|
701
713
|
'To ensure delivery all address details must be in Latin characters.': {
|
|
702
714
|
value: string;
|
|
703
715
|
};
|
|
@@ -119,6 +119,9 @@ export declare const stringsNorwegian: {
|
|
|
119
119
|
'Company name (optional)': {
|
|
120
120
|
value: string;
|
|
121
121
|
};
|
|
122
|
+
'Complete your shipping address': {
|
|
123
|
+
value: string;
|
|
124
|
+
};
|
|
122
125
|
Confirm: {
|
|
123
126
|
value: string;
|
|
124
127
|
};
|
|
@@ -536,6 +539,9 @@ export declare const stringsNorwegian: {
|
|
|
536
539
|
'Return to merchant site': {
|
|
537
540
|
value: string;
|
|
538
541
|
};
|
|
542
|
+
'Save and continue': {
|
|
543
|
+
value: string;
|
|
544
|
+
};
|
|
539
545
|
'Search countries': {
|
|
540
546
|
value: string;
|
|
541
547
|
};
|
|
@@ -554,6 +560,9 @@ export declare const stringsNorwegian: {
|
|
|
554
560
|
'Select a language': {
|
|
555
561
|
value: string;
|
|
556
562
|
};
|
|
563
|
+
'Selected address': {
|
|
564
|
+
value: string;
|
|
565
|
+
};
|
|
557
566
|
'Session does not have valid landed cost. Please contact [organizationName] for assistance.': {
|
|
558
567
|
value: string;
|
|
559
568
|
};
|
|
@@ -698,6 +707,9 @@ export declare const stringsNorwegian: {
|
|
|
698
707
|
"There's been an error updating your checkout session. Please reload and try again or contact support if the error persists": {
|
|
699
708
|
value: string;
|
|
700
709
|
};
|
|
710
|
+
'This saved address is missing information required to ship internationally. Please add the details below.': {
|
|
711
|
+
value: string;
|
|
712
|
+
};
|
|
701
713
|
'To ensure delivery all address details must be in Latin characters.': {
|
|
702
714
|
value: string;
|
|
703
715
|
};
|
|
@@ -119,6 +119,9 @@ export declare const stringsPolish: {
|
|
|
119
119
|
'Company name (optional)': {
|
|
120
120
|
value: string;
|
|
121
121
|
};
|
|
122
|
+
'Complete your shipping address': {
|
|
123
|
+
value: string;
|
|
124
|
+
};
|
|
122
125
|
Confirm: {
|
|
123
126
|
value: string;
|
|
124
127
|
};
|
|
@@ -536,6 +539,9 @@ export declare const stringsPolish: {
|
|
|
536
539
|
'Return to merchant site': {
|
|
537
540
|
value: string;
|
|
538
541
|
};
|
|
542
|
+
'Save and continue': {
|
|
543
|
+
value: string;
|
|
544
|
+
};
|
|
539
545
|
'Search countries': {
|
|
540
546
|
value: string;
|
|
541
547
|
};
|
|
@@ -554,6 +560,9 @@ export declare const stringsPolish: {
|
|
|
554
560
|
'Select a language': {
|
|
555
561
|
value: string;
|
|
556
562
|
};
|
|
563
|
+
'Selected address': {
|
|
564
|
+
value: string;
|
|
565
|
+
};
|
|
557
566
|
'Session does not have valid landed cost. Please contact [organizationName] for assistance.': {
|
|
558
567
|
value: string;
|
|
559
568
|
};
|
|
@@ -698,6 +707,9 @@ export declare const stringsPolish: {
|
|
|
698
707
|
"There's been an error updating your checkout session. Please reload and try again or contact support if the error persists": {
|
|
699
708
|
value: string;
|
|
700
709
|
};
|
|
710
|
+
'This saved address is missing information required to ship internationally. Please add the details below.': {
|
|
711
|
+
value: string;
|
|
712
|
+
};
|
|
701
713
|
'To ensure delivery all address details must be in Latin characters.': {
|
|
702
714
|
value: string;
|
|
703
715
|
};
|
|
@@ -119,6 +119,9 @@ export declare const stringsPortuguese: {
|
|
|
119
119
|
'Company name (optional)': {
|
|
120
120
|
value: string;
|
|
121
121
|
};
|
|
122
|
+
'Complete your shipping address': {
|
|
123
|
+
value: string;
|
|
124
|
+
};
|
|
122
125
|
Confirm: {
|
|
123
126
|
value: string;
|
|
124
127
|
};
|
|
@@ -536,6 +539,9 @@ export declare const stringsPortuguese: {
|
|
|
536
539
|
'Return to merchant site': {
|
|
537
540
|
value: string;
|
|
538
541
|
};
|
|
542
|
+
'Save and continue': {
|
|
543
|
+
value: string;
|
|
544
|
+
};
|
|
539
545
|
'Search countries': {
|
|
540
546
|
value: string;
|
|
541
547
|
};
|
|
@@ -554,6 +560,9 @@ export declare const stringsPortuguese: {
|
|
|
554
560
|
'Select a language': {
|
|
555
561
|
value: string;
|
|
556
562
|
};
|
|
563
|
+
'Selected address': {
|
|
564
|
+
value: string;
|
|
565
|
+
};
|
|
557
566
|
'Session does not have valid landed cost. Please contact [organizationName] for assistance.': {
|
|
558
567
|
value: string;
|
|
559
568
|
};
|
|
@@ -698,6 +707,9 @@ export declare const stringsPortuguese: {
|
|
|
698
707
|
"There's been an error updating your checkout session. Please reload and try again or contact support if the error persists": {
|
|
699
708
|
value: string;
|
|
700
709
|
};
|
|
710
|
+
'This saved address is missing information required to ship internationally. Please add the details below.': {
|
|
711
|
+
value: string;
|
|
712
|
+
};
|
|
701
713
|
'To ensure delivery all address details must be in Latin characters.': {
|
|
702
714
|
value: string;
|
|
703
715
|
};
|
|
@@ -119,6 +119,9 @@ export declare const stringsRussian: {
|
|
|
119
119
|
'Company name (optional)': {
|
|
120
120
|
value: string;
|
|
121
121
|
};
|
|
122
|
+
'Complete your shipping address': {
|
|
123
|
+
value: string;
|
|
124
|
+
};
|
|
122
125
|
Confirm: {
|
|
123
126
|
value: string;
|
|
124
127
|
};
|
|
@@ -536,6 +539,9 @@ export declare const stringsRussian: {
|
|
|
536
539
|
'Return to merchant site': {
|
|
537
540
|
value: string;
|
|
538
541
|
};
|
|
542
|
+
'Save and continue': {
|
|
543
|
+
value: string;
|
|
544
|
+
};
|
|
539
545
|
'Search countries': {
|
|
540
546
|
value: string;
|
|
541
547
|
};
|
|
@@ -554,6 +560,9 @@ export declare const stringsRussian: {
|
|
|
554
560
|
'Select a language': {
|
|
555
561
|
value: string;
|
|
556
562
|
};
|
|
563
|
+
'Selected address': {
|
|
564
|
+
value: string;
|
|
565
|
+
};
|
|
557
566
|
'Session does not have valid landed cost. Please contact [organizationName] for assistance.': {
|
|
558
567
|
value: string;
|
|
559
568
|
};
|
|
@@ -698,6 +707,9 @@ export declare const stringsRussian: {
|
|
|
698
707
|
"There's been an error updating your checkout session. Please reload and try again or contact support if the error persists": {
|
|
699
708
|
value: string;
|
|
700
709
|
};
|
|
710
|
+
'This saved address is missing information required to ship internationally. Please add the details below.': {
|
|
711
|
+
value: string;
|
|
712
|
+
};
|
|
701
713
|
'To ensure delivery all address details must be in Latin characters.': {
|
|
702
714
|
value: string;
|
|
703
715
|
};
|
|
@@ -119,6 +119,9 @@ export declare const stringsSpanish: {
|
|
|
119
119
|
'Company name (optional)': {
|
|
120
120
|
value: string;
|
|
121
121
|
};
|
|
122
|
+
'Complete your shipping address': {
|
|
123
|
+
value: string;
|
|
124
|
+
};
|
|
122
125
|
Confirm: {
|
|
123
126
|
value: string;
|
|
124
127
|
};
|
|
@@ -536,6 +539,9 @@ export declare const stringsSpanish: {
|
|
|
536
539
|
'Return to merchant site': {
|
|
537
540
|
value: string;
|
|
538
541
|
};
|
|
542
|
+
'Save and continue': {
|
|
543
|
+
value: string;
|
|
544
|
+
};
|
|
539
545
|
'Search countries': {
|
|
540
546
|
value: string;
|
|
541
547
|
};
|
|
@@ -554,6 +560,9 @@ export declare const stringsSpanish: {
|
|
|
554
560
|
'Select a language': {
|
|
555
561
|
value: string;
|
|
556
562
|
};
|
|
563
|
+
'Selected address': {
|
|
564
|
+
value: string;
|
|
565
|
+
};
|
|
557
566
|
'Session does not have valid landed cost. Please contact [organizationName] for assistance.': {
|
|
558
567
|
value: string;
|
|
559
568
|
};
|
|
@@ -698,6 +707,9 @@ export declare const stringsSpanish: {
|
|
|
698
707
|
"There's been an error updating your checkout session. Please reload and try again or contact support if the error persists": {
|
|
699
708
|
value: string;
|
|
700
709
|
};
|
|
710
|
+
'This saved address is missing information required to ship internationally. Please add the details below.': {
|
|
711
|
+
value: string;
|
|
712
|
+
};
|
|
701
713
|
'To ensure delivery all address details must be in Latin characters.': {
|
|
702
714
|
value: string;
|
|
703
715
|
};
|
|
@@ -119,6 +119,9 @@ export declare const stringsSwedish: {
|
|
|
119
119
|
'Company name (optional)': {
|
|
120
120
|
value: string;
|
|
121
121
|
};
|
|
122
|
+
'Complete your shipping address': {
|
|
123
|
+
value: string;
|
|
124
|
+
};
|
|
122
125
|
Confirm: {
|
|
123
126
|
value: string;
|
|
124
127
|
};
|
|
@@ -536,6 +539,9 @@ export declare const stringsSwedish: {
|
|
|
536
539
|
'Return to merchant site': {
|
|
537
540
|
value: string;
|
|
538
541
|
};
|
|
542
|
+
'Save and continue': {
|
|
543
|
+
value: string;
|
|
544
|
+
};
|
|
539
545
|
'Search countries': {
|
|
540
546
|
value: string;
|
|
541
547
|
};
|
|
@@ -554,6 +560,9 @@ export declare const stringsSwedish: {
|
|
|
554
560
|
'Select a language': {
|
|
555
561
|
value: string;
|
|
556
562
|
};
|
|
563
|
+
'Selected address': {
|
|
564
|
+
value: string;
|
|
565
|
+
};
|
|
557
566
|
'Session does not have valid landed cost. Please contact [organizationName] for assistance.': {
|
|
558
567
|
value: string;
|
|
559
568
|
};
|
|
@@ -698,6 +707,9 @@ export declare const stringsSwedish: {
|
|
|
698
707
|
"There's been an error updating your checkout session. Please reload and try again or contact support if the error persists": {
|
|
699
708
|
value: string;
|
|
700
709
|
};
|
|
710
|
+
'This saved address is missing information required to ship internationally. Please add the details below.': {
|
|
711
|
+
value: string;
|
|
712
|
+
};
|
|
701
713
|
'To ensure delivery all address details must be in Latin characters.': {
|
|
702
714
|
value: string;
|
|
703
715
|
};
|
|
@@ -119,6 +119,9 @@ export declare const stringsTurkish: {
|
|
|
119
119
|
'Company name (optional)': {
|
|
120
120
|
value: string;
|
|
121
121
|
};
|
|
122
|
+
'Complete your shipping address': {
|
|
123
|
+
value: string;
|
|
124
|
+
};
|
|
122
125
|
Confirm: {
|
|
123
126
|
value: string;
|
|
124
127
|
};
|
|
@@ -536,6 +539,9 @@ export declare const stringsTurkish: {
|
|
|
536
539
|
'Return to merchant site': {
|
|
537
540
|
value: string;
|
|
538
541
|
};
|
|
542
|
+
'Save and continue': {
|
|
543
|
+
value: string;
|
|
544
|
+
};
|
|
539
545
|
'Search countries': {
|
|
540
546
|
value: string;
|
|
541
547
|
};
|
|
@@ -554,6 +560,9 @@ export declare const stringsTurkish: {
|
|
|
554
560
|
'Select a language': {
|
|
555
561
|
value: string;
|
|
556
562
|
};
|
|
563
|
+
'Selected address': {
|
|
564
|
+
value: string;
|
|
565
|
+
};
|
|
557
566
|
'Session does not have valid landed cost. Please contact [organizationName] for assistance.': {
|
|
558
567
|
value: string;
|
|
559
568
|
};
|
|
@@ -698,6 +707,9 @@ export declare const stringsTurkish: {
|
|
|
698
707
|
"There's been an error updating your checkout session. Please reload and try again or contact support if the error persists": {
|
|
699
708
|
value: string;
|
|
700
709
|
};
|
|
710
|
+
'This saved address is missing information required to ship internationally. Please add the details below.': {
|
|
711
|
+
value: string;
|
|
712
|
+
};
|
|
701
713
|
'To ensure delivery all address details must be in Latin characters.': {
|
|
702
714
|
value: string;
|
|
703
715
|
};
|
|
@@ -119,6 +119,9 @@ export declare const stringsVietnamese: {
|
|
|
119
119
|
'Company name (optional)': {
|
|
120
120
|
value: string;
|
|
121
121
|
};
|
|
122
|
+
'Complete your shipping address': {
|
|
123
|
+
value: string;
|
|
124
|
+
};
|
|
122
125
|
Confirm: {
|
|
123
126
|
value: string;
|
|
124
127
|
};
|
|
@@ -536,6 +539,9 @@ export declare const stringsVietnamese: {
|
|
|
536
539
|
'Return to merchant site': {
|
|
537
540
|
value: string;
|
|
538
541
|
};
|
|
542
|
+
'Save and continue': {
|
|
543
|
+
value: string;
|
|
544
|
+
};
|
|
539
545
|
'Search countries': {
|
|
540
546
|
value: string;
|
|
541
547
|
};
|
|
@@ -554,6 +560,9 @@ export declare const stringsVietnamese: {
|
|
|
554
560
|
'Select a language': {
|
|
555
561
|
value: string;
|
|
556
562
|
};
|
|
563
|
+
'Selected address': {
|
|
564
|
+
value: string;
|
|
565
|
+
};
|
|
557
566
|
'Session does not have valid landed cost. Please contact [organizationName] for assistance.': {
|
|
558
567
|
value: string;
|
|
559
568
|
};
|
|
@@ -698,6 +707,9 @@ export declare const stringsVietnamese: {
|
|
|
698
707
|
"There's been an error updating your checkout session. Please reload and try again or contact support if the error persists": {
|
|
699
708
|
value: string;
|
|
700
709
|
};
|
|
710
|
+
'This saved address is missing information required to ship internationally. Please add the details below.': {
|
|
711
|
+
value: string;
|
|
712
|
+
};
|
|
701
713
|
'To ensure delivery all address details must be in Latin characters.': {
|
|
702
714
|
value: string;
|
|
703
715
|
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { StripeAddressElementChangeEvent } from '@stripe/stripe-js';
|
|
2
|
+
/**
|
|
3
|
+
* Values captured in the completion dialog for the fields that were missing from the Stripe
|
|
4
|
+
* Link address. Only the keys that were actually requested (and therefore provided) are present.
|
|
5
|
+
* When the last name is missing we also capture the first name, so the customer can correct the
|
|
6
|
+
* whole name at once (Link often stores just a first name in its single name input).
|
|
7
|
+
*/
|
|
8
|
+
export type AddressCompletionSubmit = {
|
|
9
|
+
firstName?: string;
|
|
10
|
+
lastName?: string;
|
|
11
|
+
postal_code?: string;
|
|
12
|
+
state?: string;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Merge the fields captured in the completion dialog back into a Stripe shipping address event,
|
|
16
|
+
* rebuilding the full name from the extracted first name and the provided/known last name and
|
|
17
|
+
* marking the address complete. Fields the customer wasn't asked for are left untouched.
|
|
18
|
+
*
|
|
19
|
+
* Pure: returns a new event object rather than mutating the input, so it can be unit-tested and
|
|
20
|
+
* assigned straight to the store.
|
|
21
|
+
*/
|
|
22
|
+
export declare const applyAddressCompletion: ({ data, event, }: {
|
|
23
|
+
data: AddressCompletionSubmit;
|
|
24
|
+
event: StripeAddressElementChangeEvent;
|
|
25
|
+
}) => StripeAddressElementChangeEvent;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { ContactOption, StripeAddressElementChangeEvent } from '@stripe/stripe-js';
|
|
2
|
+
/**
|
|
3
|
+
* Map a Stripe address change event value into a Stripe `ContactOption`, used to
|
|
4
|
+
* pre-seed the address element's saved-address (contacts) list on remount.
|
|
5
|
+
*/
|
|
6
|
+
export declare const mapAddressEventToContact: (value: StripeAddressElementChangeEvent["value"]) => ContactOption;
|
|
7
|
+
/**
|
|
8
|
+
* Build a dedupe key for a contact so we don't add a duplicate saved address. Compared
|
|
9
|
+
* case- and whitespace-insensitively on the distinguishing fields.
|
|
10
|
+
*/
|
|
11
|
+
export declare const getContactDedupKey: (contact: ContactOption) => string;
|
|
12
|
+
/**
|
|
13
|
+
* Prepend the currently selected address (from the latest Stripe address event) to the
|
|
14
|
+
* list of default saved addresses so it stays selected when the address element is
|
|
15
|
+
* remounted (e.g. navigating between the customer and shipping steps). Avoids adding a
|
|
16
|
+
* duplicate contact when the current address already exists in the list.
|
|
17
|
+
*/
|
|
18
|
+
export declare const buildAddressContacts: ({ currentEvent, defaultAddress, }: {
|
|
19
|
+
currentEvent: StripeAddressElementChangeEvent | null;
|
|
20
|
+
defaultAddress: ContactOption[];
|
|
21
|
+
}) => ContactOption[];
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { StripeAddressElementChangeEvent } from '@stripe/stripe-js';
|
|
2
|
+
/**
|
|
3
|
+
* Minimum number of characters we treat as a valid postal code. Mirrors the
|
|
4
|
+
* landed-cost readiness check in `stripe.ts` (`isAddressReadyToRequestLandedCost`).
|
|
5
|
+
*/
|
|
6
|
+
export declare const MIN_POSTAL_CODE_LENGTH = 3;
|
|
7
|
+
export type MissingShippingFieldKey = 'lastName' | 'postal_code' | 'state';
|
|
8
|
+
export type MissingShippingField = {
|
|
9
|
+
key: MissingShippingFieldKey;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* The subset of per-country field requirements this check needs. Both the Zonos
|
|
13
|
+
* `CountryFields` config and the Stripe-derived country field list satisfy this shape,
|
|
14
|
+
* so callers can pass whatever `getCountryField` (in `stripe.ts`) returns.
|
|
15
|
+
*/
|
|
16
|
+
export type RequiredFieldConfig = {
|
|
17
|
+
stateRequired: boolean;
|
|
18
|
+
zipRequired: boolean;
|
|
19
|
+
} | null;
|
|
20
|
+
/**
|
|
21
|
+
* Determine which Zonos-required shipping fields are still missing even though Stripe
|
|
22
|
+
* reports the address as complete.
|
|
23
|
+
*
|
|
24
|
+
* Stripe Link autofills a saved address from a single name input, so it may return only a
|
|
25
|
+
* first name and, for some countries, omit the state / postal code while still reporting
|
|
26
|
+
* `complete: true`. This surfaces the fields Zonos needs for international shipping so the
|
|
27
|
+
* customer can supply just those, without duplicating fields Stripe already captures.
|
|
28
|
+
*
|
|
29
|
+
* Pure: the caller resolves `countryField` (via `getCountryField`) and passes it in, so
|
|
30
|
+
* this can be unit-tested without the stores.
|
|
31
|
+
*/
|
|
32
|
+
export declare const getMissingRequiredShippingFields: ({ countryField, event, }: {
|
|
33
|
+
countryField: RequiredFieldConfig;
|
|
34
|
+
event: StripeAddressElementChangeEvent | null;
|
|
35
|
+
}) => MissingShippingField[];
|
|
@@ -6,7 +6,9 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
8
|
import { ContactOption, PaymentIntent, Stripe, StripeAddressElementChangeEvent } from "@stripe/stripe-js";
|
|
9
|
+
import { MissingShippingField } from "./components/utils/checkout/getMissingRequiredShippingFields";
|
|
9
10
|
import { EnteredInfo, TranslatedAddressObject } from "./types/checkout/TranslatedText";
|
|
11
|
+
import { AddressCompletionSubmit } from "./components/utils/checkout/applyAddressCompletion";
|
|
10
12
|
import { EventPayloadMap, IframeSuggestionsResponsePayload } from "./components/utils/iframe/IframeHelpers";
|
|
11
13
|
import { SubmitEventData } from "./components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-update-dialog";
|
|
12
14
|
import { CheckboxColorPrefix, Color, ColorPrefix } from "./types/styles/Color";
|
|
@@ -32,7 +34,9 @@ import { SelectOption } from "./components/common/zonos-stripe-select/zonos-stri
|
|
|
32
34
|
import { ToggleItem } from "./types/common-ui/Toggle";
|
|
33
35
|
import { VirtualScrollRenderItem } from "./types/common-ui/VirtualScroll";
|
|
34
36
|
export { ContactOption, PaymentIntent, Stripe, StripeAddressElementChangeEvent } from "@stripe/stripe-js";
|
|
37
|
+
export { MissingShippingField } from "./components/utils/checkout/getMissingRequiredShippingFields";
|
|
35
38
|
export { EnteredInfo, TranslatedAddressObject } from "./types/checkout/TranslatedText";
|
|
39
|
+
export { AddressCompletionSubmit } from "./components/utils/checkout/applyAddressCompletion";
|
|
36
40
|
export { EventPayloadMap, IframeSuggestionsResponsePayload } from "./components/utils/iframe/IframeHelpers";
|
|
37
41
|
export { SubmitEventData } from "./components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-update-dialog";
|
|
38
42
|
export { CheckboxColorPrefix, Color, ColorPrefix } from "./types/styles/Color";
|
|
@@ -80,6 +84,36 @@ export namespace Components {
|
|
|
80
84
|
*/
|
|
81
85
|
"type": 'billing' | 'shipping';
|
|
82
86
|
}
|
|
87
|
+
interface ZonosAddressCompletionDialog {
|
|
88
|
+
/**
|
|
89
|
+
* Whether or not the continue button is loading
|
|
90
|
+
*/
|
|
91
|
+
"continueLoading": boolean;
|
|
92
|
+
/**
|
|
93
|
+
* Whether or not the dialog is open
|
|
94
|
+
*/
|
|
95
|
+
"dialogOpen": boolean;
|
|
96
|
+
/**
|
|
97
|
+
* Whether or not the dialog is rendered in mobile mode
|
|
98
|
+
*/
|
|
99
|
+
"isMobile": boolean;
|
|
100
|
+
/**
|
|
101
|
+
* The Zonos-required fields still missing from the selected address
|
|
102
|
+
*/
|
|
103
|
+
"missingFields": MissingShippingField[];
|
|
104
|
+
/**
|
|
105
|
+
* The shipping address selected from Stripe, shown read-only for context
|
|
106
|
+
*/
|
|
107
|
+
"shippingAddress": EnteredInfo;
|
|
108
|
+
/**
|
|
109
|
+
* Button color of the submit button
|
|
110
|
+
*/
|
|
111
|
+
"submitBtnColor"?: string;
|
|
112
|
+
/**
|
|
113
|
+
* Button type of the submit button
|
|
114
|
+
*/
|
|
115
|
+
"submitBtnType"?: HTMLZonosButtonElement['variant'];
|
|
116
|
+
}
|
|
83
117
|
interface ZonosAddressDisplay {
|
|
84
118
|
/**
|
|
85
119
|
* Title for the address display
|
|
@@ -1568,6 +1602,10 @@ export interface ZonosAddressCustomEvent<T> extends CustomEvent<T> {
|
|
|
1568
1602
|
detail: T;
|
|
1569
1603
|
target: HTMLZonosAddressElement;
|
|
1570
1604
|
}
|
|
1605
|
+
export interface ZonosAddressCompletionDialogCustomEvent<T> extends CustomEvent<T> {
|
|
1606
|
+
detail: T;
|
|
1607
|
+
target: HTMLZonosAddressCompletionDialogElement;
|
|
1608
|
+
}
|
|
1571
1609
|
export interface ZonosAddressFormCustomEvent<T> extends CustomEvent<T> {
|
|
1572
1610
|
detail: T;
|
|
1573
1611
|
target: HTMLZonosAddressFormElement;
|
|
@@ -1699,6 +1737,24 @@ declare global {
|
|
|
1699
1737
|
prototype: HTMLZonosAddressElement;
|
|
1700
1738
|
new (): HTMLZonosAddressElement;
|
|
1701
1739
|
};
|
|
1740
|
+
interface HTMLZonosAddressCompletionDialogElementEventMap {
|
|
1741
|
+
"closeCompletionDialog": void;
|
|
1742
|
+
"completionSubmit": AddressCompletionSubmit;
|
|
1743
|
+
}
|
|
1744
|
+
interface HTMLZonosAddressCompletionDialogElement extends Components.ZonosAddressCompletionDialog, HTMLStencilElement {
|
|
1745
|
+
addEventListener<K extends keyof HTMLZonosAddressCompletionDialogElementEventMap>(type: K, listener: (this: HTMLZonosAddressCompletionDialogElement, ev: ZonosAddressCompletionDialogCustomEvent<HTMLZonosAddressCompletionDialogElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1746
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1747
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1748
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1749
|
+
removeEventListener<K extends keyof HTMLZonosAddressCompletionDialogElementEventMap>(type: K, listener: (this: HTMLZonosAddressCompletionDialogElement, ev: ZonosAddressCompletionDialogCustomEvent<HTMLZonosAddressCompletionDialogElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1750
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1751
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1752
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1753
|
+
}
|
|
1754
|
+
var HTMLZonosAddressCompletionDialogElement: {
|
|
1755
|
+
prototype: HTMLZonosAddressCompletionDialogElement;
|
|
1756
|
+
new (): HTMLZonosAddressCompletionDialogElement;
|
|
1757
|
+
};
|
|
1702
1758
|
interface HTMLZonosAddressDisplayElement extends Components.ZonosAddressDisplay, HTMLStencilElement {
|
|
1703
1759
|
}
|
|
1704
1760
|
var HTMLZonosAddressDisplayElement: {
|
|
@@ -2512,6 +2568,7 @@ declare global {
|
|
|
2512
2568
|
};
|
|
2513
2569
|
interface HTMLElementTagNameMap {
|
|
2514
2570
|
"zonos-address": HTMLZonosAddressElement;
|
|
2571
|
+
"zonos-address-completion-dialog": HTMLZonosAddressCompletionDialogElement;
|
|
2515
2572
|
"zonos-address-display": HTMLZonosAddressDisplayElement;
|
|
2516
2573
|
"zonos-address-form": HTMLZonosAddressFormElement;
|
|
2517
2574
|
"zonos-address-suggestions": HTMLZonosAddressSuggestionsElement;
|
|
@@ -2622,6 +2679,44 @@ declare namespace LocalJSX {
|
|
|
2622
2679
|
*/
|
|
2623
2680
|
"type": 'billing' | 'shipping';
|
|
2624
2681
|
}
|
|
2682
|
+
interface ZonosAddressCompletionDialog {
|
|
2683
|
+
/**
|
|
2684
|
+
* Whether or not the continue button is loading
|
|
2685
|
+
*/
|
|
2686
|
+
"continueLoading"?: boolean;
|
|
2687
|
+
/**
|
|
2688
|
+
* Whether or not the dialog is open
|
|
2689
|
+
*/
|
|
2690
|
+
"dialogOpen"?: boolean;
|
|
2691
|
+
/**
|
|
2692
|
+
* Whether or not the dialog is rendered in mobile mode
|
|
2693
|
+
*/
|
|
2694
|
+
"isMobile"?: boolean;
|
|
2695
|
+
/**
|
|
2696
|
+
* The Zonos-required fields still missing from the selected address
|
|
2697
|
+
*/
|
|
2698
|
+
"missingFields"?: MissingShippingField[];
|
|
2699
|
+
/**
|
|
2700
|
+
* Close dialog button click
|
|
2701
|
+
*/
|
|
2702
|
+
"onCloseCompletionDialog"?: (event: ZonosAddressCompletionDialogCustomEvent<void>) => void;
|
|
2703
|
+
/**
|
|
2704
|
+
* Emitted with the captured values when the customer completes the missing fields
|
|
2705
|
+
*/
|
|
2706
|
+
"onCompletionSubmit"?: (event: ZonosAddressCompletionDialogCustomEvent<AddressCompletionSubmit>) => void;
|
|
2707
|
+
/**
|
|
2708
|
+
* The shipping address selected from Stripe, shown read-only for context
|
|
2709
|
+
*/
|
|
2710
|
+
"shippingAddress": EnteredInfo;
|
|
2711
|
+
/**
|
|
2712
|
+
* Button color of the submit button
|
|
2713
|
+
*/
|
|
2714
|
+
"submitBtnColor"?: string;
|
|
2715
|
+
/**
|
|
2716
|
+
* Button type of the submit button
|
|
2717
|
+
*/
|
|
2718
|
+
"submitBtnType"?: HTMLZonosButtonElement['variant'];
|
|
2719
|
+
}
|
|
2625
2720
|
interface ZonosAddressDisplay {
|
|
2626
2721
|
/**
|
|
2627
2722
|
* Title for the address display
|
|
@@ -4191,6 +4286,7 @@ declare namespace LocalJSX {
|
|
|
4191
4286
|
}
|
|
4192
4287
|
interface IntrinsicElements {
|
|
4193
4288
|
"zonos-address": ZonosAddress;
|
|
4289
|
+
"zonos-address-completion-dialog": ZonosAddressCompletionDialog;
|
|
4194
4290
|
"zonos-address-display": ZonosAddressDisplay;
|
|
4195
4291
|
"zonos-address-form": ZonosAddressForm;
|
|
4196
4292
|
"zonos-address-suggestions": ZonosAddressSuggestions;
|
|
@@ -4275,6 +4371,7 @@ declare module "@stencil/core" {
|
|
|
4275
4371
|
export namespace JSX {
|
|
4276
4372
|
interface IntrinsicElements {
|
|
4277
4373
|
"zonos-address": LocalJSX.ZonosAddress & JSXBase.HTMLAttributes<HTMLZonosAddressElement>;
|
|
4374
|
+
"zonos-address-completion-dialog": LocalJSX.ZonosAddressCompletionDialog & JSXBase.HTMLAttributes<HTMLZonosAddressCompletionDialogElement>;
|
|
4278
4375
|
"zonos-address-display": LocalJSX.ZonosAddressDisplay & JSXBase.HTMLAttributes<HTMLZonosAddressDisplayElement>;
|
|
4279
4376
|
"zonos-address-form": LocalJSX.ZonosAddressForm & JSXBase.HTMLAttributes<HTMLZonosAddressFormElement>;
|
|
4280
4377
|
"zonos-address-suggestions": LocalJSX.ZonosAddressSuggestions & JSXBase.HTMLAttributes<HTMLZonosAddressSuggestionsElement>;
|