@zonos/elements 1.3.245 → 1.3.247
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/ShortAddressCode-bec338b0.js +7 -0
- package/dist/cjs/{cart-52cf3366.js → cart-97a2d20a.js} +35 -6
- package/dist/cjs/getContrastColor-30848800.js +37 -0
- package/dist/cjs/{hasInclusivePrice-dbb82df8.js → hasInclusivePrice-134b0250.js} +1 -1
- package/dist/cjs/index.cjs.js +9 -7
- package/dist/cjs/{invoice-972f1ab3.js → invoice-05a10ee1.js} +2 -2
- package/dist/cjs/{isCollectMobileTablet-fd11246c.js → isCollectMobileTablet-edd4804c.js} +2 -2
- package/dist/cjs/isContrastColor-09f5924a.js +12 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{localization-b1075a8c.js → localization-00e73920.js} +180 -0
- package/dist/cjs/{paypal-e339cc8c.js → paypal-0b4b352b.js} +4 -12
- package/dist/cjs/{placeTestOrder-3dfbe3d6.js → placeTestOrder-07b46688.js} +2 -2
- package/dist/cjs/{renderCheckoutCurrency-55056c97.js → renderCheckoutCurrency-dd3b0609.js} +2 -2
- package/dist/cjs/{shouldRenderTaxIdInput-eda13ef8.js → shouldRenderTaxIdInput-b8abf6de.js} +18 -0
- package/dist/cjs/zonos-address-display_9.cjs.entry.js +35 -5
- package/dist/cjs/zonos-address_4.cjs.entry.js +37 -7
- package/dist/cjs/zonos-card_5.cjs.entry.js +4 -3
- package/dist/cjs/zonos-cart-items_12.cjs.entry.js +67 -38
- package/dist/cjs/zonos-checkout.cjs.entry.js +36 -13
- package/dist/cjs/zonos-collect-cart-items_3.cjs.entry.js +2 -2
- package/dist/cjs/zonos-collect-finish_6.cjs.entry.js +8 -7
- package/dist/cjs/zonos-collect.cjs.entry.js +5 -4
- package/dist/cjs/zonos-controller.cjs.entry.js +2 -2
- package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -1
- package/dist/cjs/zonos-country-select_4.cjs.entry.js +1 -1
- package/dist/cjs/zonos-elements.cjs.js +1 -1
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +3 -3
- package/dist/cjs/zonos-hello.cjs.entry.js +5 -2
- package/dist/cjs/zonos-invoice-cart-items_2.cjs.entry.js +4 -4
- package/dist/cjs/zonos-invoice-finish_5.cjs.entry.js +8 -7
- package/dist/cjs/zonos-invoice.cjs.entry.js +5 -4
- package/dist/cjs/zonos-language-select_2.cjs.entry.js +1 -1
- package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +18 -4
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.css +1 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +2 -2
- package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.css +1 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.js +16 -2
- package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.js +22 -3
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-payment/zonos-collect-payment.css +1 -1
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-payment/zonos-invoice-payment.css +1 -1
- package/dist/collection/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.js +35 -4
- package/dist/collection/components/hello/zonos-hello/zonos-hello.css +18 -0
- package/dist/collection/components/hello/zonos-hello/zonos-hello.js +3 -0
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.css +1 -1
- package/dist/collection/components/store/checkout/stripe.js +32 -5
- 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.css +2 -1
- package/dist/collection/components/stripe/zonos-address/zonos-address.js +53 -3
- package/dist/collection/components/stripe/zonos-custom-address/zonos-custom-address.js +52 -2
- package/dist/collection/components/utils/api/prepCalculateLandedCost.js +2 -0
- package/dist/collection/components/utils/checkout/shouldRenderShortAddressCodeInput.js +16 -0
- package/dist/collection/components/utils/checkout/watchImmediateBigcommerceDomesticCheckoutRedirect.js +31 -8
- package/dist/collection/components/utils/getContrastColor.js +8 -0
- package/dist/collection/components/utils/shortAddressCodeValidationResult.js +37 -0
- package/dist/collection/types/checkout/ShortAddressCode.js +3 -0
- package/dist/collection/types/generated/graphql.frontend.types.js +2 -0
- package/dist/collection/types/generated/graphql.internal.types.js +135 -0
- package/dist/collection/types/index.js +1 -0
- package/dist/esm/ShortAddressCode-7620e622.js +5 -0
- package/dist/esm/{cart-7f4704dc.js → cart-99ec4a3d.js} +35 -6
- package/dist/esm/getContrastColor-28c18704.js +35 -0
- package/dist/esm/{hasInclusivePrice-3958ed11.js → hasInclusivePrice-6fcc712f.js} +1 -1
- package/dist/esm/index.js +8 -7
- package/dist/esm/{invoice-d3d256fb.js → invoice-44e97c22.js} +2 -2
- package/dist/esm/{isCollectMobileTablet-27693de5.js → isCollectMobileTablet-566ff0aa.js} +2 -2
- package/dist/esm/isContrastColor-69778cea.js +10 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{localization-401ec6d4.js → localization-853b48a9.js} +180 -0
- package/dist/esm/{paypal-61270b79.js → paypal-56534e48.js} +4 -11
- package/dist/esm/{placeTestOrder-c2180600.js → placeTestOrder-9e0ab5fd.js} +2 -2
- package/dist/esm/{renderCheckoutCurrency-dea06d44.js → renderCheckoutCurrency-1bd40006.js} +2 -2
- package/dist/esm/{shouldRenderTaxIdInput-d45ceeb4.js → shouldRenderTaxIdInput-2572bf77.js} +18 -1
- package/dist/esm/zonos-address-display_9.entry.js +35 -5
- package/dist/esm/zonos-address_4.entry.js +37 -7
- package/dist/esm/zonos-card_5.entry.js +4 -3
- package/dist/esm/zonos-cart-items_12.entry.js +67 -38
- package/dist/esm/zonos-checkout.entry.js +36 -13
- package/dist/esm/zonos-collect-cart-items_3.entry.js +2 -2
- package/dist/esm/zonos-collect-finish_6.entry.js +8 -7
- package/dist/esm/zonos-collect.entry.js +5 -4
- package/dist/esm/zonos-controller.entry.js +2 -2
- package/dist/esm/zonos-country-flag.entry.js +1 -1
- package/dist/esm/zonos-country-select_4.entry.js +1 -1
- package/dist/esm/zonos-elements.js +1 -1
- package/dist/esm/zonos-hello-dialog.entry.js +3 -3
- package/dist/esm/zonos-hello.entry.js +5 -2
- package/dist/esm/zonos-invoice-cart-items_2.entry.js +4 -4
- package/dist/esm/zonos-invoice-finish_5.entry.js +8 -7
- package/dist/esm/zonos-invoice.entry.js +5 -4
- package/dist/esm/zonos-language-select_2.entry.js +1 -1
- package/dist/esm/zonos-shipping-rich-radio.entry.js +19 -5
- package/dist/esm-es5/ShortAddressCode-7620e622.js +1 -0
- package/dist/esm-es5/cart-99ec4a3d.js +1 -0
- package/dist/esm-es5/getContrastColor-28c18704.js +1 -0
- package/dist/esm-es5/{hasInclusivePrice-3958ed11.js → hasInclusivePrice-6fcc712f.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{invoice-d3d256fb.js → invoice-44e97c22.js} +1 -1
- package/dist/esm-es5/{isCollectMobileTablet-27693de5.js → isCollectMobileTablet-566ff0aa.js} +1 -1
- package/dist/esm-es5/isContrastColor-69778cea.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/localization-853b48a9.js +1 -0
- package/dist/esm-es5/paypal-56534e48.js +17 -0
- package/dist/esm-es5/{placeTestOrder-c2180600.js → placeTestOrder-9e0ab5fd.js} +1 -1
- package/dist/esm-es5/{renderCheckoutCurrency-dea06d44.js → renderCheckoutCurrency-1bd40006.js} +1 -1
- package/dist/esm-es5/shouldRenderTaxIdInput-2572bf77.js +1 -0
- package/dist/esm-es5/zonos-address-display_9.entry.js +1 -1
- package/dist/esm-es5/zonos-address_4.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-checkout.entry.js +1 -1
- package/dist/esm-es5/zonos-collect-cart-items_3.entry.js +1 -1
- package/dist/esm-es5/zonos-collect-finish_6.entry.js +1 -1
- package/dist/esm-es5/zonos-collect.entry.js +1 -1
- package/dist/esm-es5/zonos-controller.entry.js +1 -1
- package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
- package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
- package/dist/esm-es5/zonos-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-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-shipping-rich-radio.entry.js +1 -1
- package/dist/scripts/index.d.ts +60 -5
- 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-customer-info/zonos-customer-info.d.ts +4 -0
- package/dist/types/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.d.ts +4 -0
- package/dist/types/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.d.ts +5 -0
- package/dist/types/components/store/checkout/stripe.d.ts +4 -0
- 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-address/zonos-address.d.ts +8 -0
- package/dist/types/components/stripe/zonos-custom-address/zonos-custom-address.d.ts +8 -0
- package/dist/types/components/utils/api/getLocaleMessages.d.ts +1 -1
- package/dist/types/components/utils/checkout/shouldRenderShortAddressCodeInput.d.ts +6 -0
- package/dist/types/components/utils/shortAddressCodeValidationResult.d.ts +12 -0
- package/dist/types/components.d.ts +32 -0
- package/dist/types/types/checkout/ShortAddressCode.d.ts +2 -0
- package/dist/types/types/checkout/api/CalculateLandedCost.d.ts +8 -0
- package/dist/types/types/checkout/api/CreateParty.d.ts +1 -0
- package/dist/types/types/generated/graphql.frontend.types.d.ts +3 -1
- package/dist/types/types/generated/graphql.frontend.types.ts +3 -1
- package/dist/types/types/generated/graphql.internal.types.d.ts +157 -30
- package/dist/types/types/generated/graphql.internal.types.ts +194 -37
- package/dist/types/types/global.d.ts +5 -1
- package/dist/types/types/index.d.ts +1 -0
- package/dist/types/types/utils/ZonosSettings.d.ts +5 -0
- package/dist/zonos-elements/index.esm.js +1 -1
- package/dist/zonos-elements/p-08365fdb.system.js +1 -0
- package/dist/zonos-elements/p-09aabce0.js +1 -0
- package/dist/zonos-elements/p-0c201c39.system.entry.js +1 -0
- package/dist/zonos-elements/p-0cb5f151.system.entry.js +1 -0
- package/dist/zonos-elements/{p-367c13db.system.entry.js → p-10355cf6.system.entry.js} +1 -1
- package/dist/zonos-elements/p-14735e9a.system.entry.js +1 -0
- package/dist/zonos-elements/{p-288aab46.js → p-1b86711b.js} +1 -1
- package/dist/zonos-elements/p-1d42cd20.js +1 -0
- package/dist/zonos-elements/p-1dbeeab2.entry.js +1 -0
- package/dist/zonos-elements/p-2c10b067.system.entry.js +1 -0
- package/dist/zonos-elements/p-2e8f842c.entry.js +1 -0
- package/dist/zonos-elements/p-2f55895c.system.entry.js +1 -0
- package/dist/zonos-elements/p-37bb5f2d.entry.js +1 -0
- package/dist/zonos-elements/{p-133e9ce7.system.entry.js → p-382601a9.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-fe699cc5.system.entry.js → p-3908f78d.system.entry.js} +1 -1
- package/dist/zonos-elements/p-3e2f175c.entry.js +1 -0
- package/dist/zonos-elements/p-403b9fca.entry.js +1 -0
- package/dist/zonos-elements/p-41299ffb.js +1 -0
- package/dist/zonos-elements/p-443e1f30.system.js +1 -0
- package/dist/zonos-elements/{p-a79f3685.js → p-46ece7ae.js} +1 -1
- package/dist/zonos-elements/p-48d55793.system.js +1 -0
- package/dist/zonos-elements/p-5295d36e.entry.js +1 -0
- package/dist/zonos-elements/{p-4d7b82b5.entry.js → p-53a9da45.entry.js} +1 -1
- package/dist/zonos-elements/p-63a383f4.js +1 -0
- package/dist/zonos-elements/{p-a3411f20.entry.js → p-64870563.entry.js} +1 -1
- package/dist/zonos-elements/p-655ec440.system.js +1 -0
- package/dist/zonos-elements/{p-415c2a90.system.js → p-678331f0.system.js} +1 -1
- package/dist/zonos-elements/p-695e0803.system.entry.js +1 -0
- package/dist/zonos-elements/{p-4bd8a16c.entry.js → p-69b9b711.entry.js} +1 -1
- package/dist/zonos-elements/p-6e3cf6eb.entry.js +1 -0
- package/dist/zonos-elements/p-6f430d6f.system.entry.js +1 -0
- package/dist/zonos-elements/p-71185d24.system.js +1 -0
- package/dist/zonos-elements/p-786d1c24.js +1 -0
- package/dist/zonos-elements/p-794d29dc.entry.js +1 -0
- package/dist/zonos-elements/p-7b400b5f.system.entry.js +1 -0
- package/dist/zonos-elements/{p-6b9b7cfb.system.entry.js → p-8205ae87.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-0aada8ab.entry.js → p-83377e23.entry.js} +1 -1
- package/dist/zonos-elements/p-8defdf0d.system.js +17 -0
- package/dist/zonos-elements/p-8e98a7c8.js +1 -0
- package/dist/zonos-elements/{p-2889a485.system.entry.js → p-95348ebf.system.entry.js} +1 -1
- package/dist/zonos-elements/p-9a066833.system.entry.js +1 -0
- package/dist/zonos-elements/p-aa6c2348.system.entry.js +1 -0
- package/dist/zonos-elements/p-ada8841a.js +1 -0
- package/dist/zonos-elements/p-ae26aec5.system.js +1 -0
- package/dist/zonos-elements/p-af85846e.system.js +1 -0
- package/dist/zonos-elements/{p-78c8bb58.system.entry.js → p-b54a95ea.system.entry.js} +1 -1
- package/dist/zonos-elements/p-c2442878.system.js +1 -1
- package/dist/zonos-elements/p-c75b7c47.entry.js +1 -0
- package/dist/zonos-elements/p-caff391d.system.entry.js +1 -0
- package/dist/zonos-elements/p-ce98e472.js +1 -0
- package/dist/zonos-elements/{p-3f46d83e.entry.js → p-d0411b2d.entry.js} +1 -1
- package/dist/zonos-elements/{p-faae5eca.entry.js → p-d5b7d3c3.entry.js} +1 -1
- package/dist/zonos-elements/p-dca14319.system.js +1 -0
- package/dist/zonos-elements/p-dd19d9d8.js +17 -0
- package/dist/zonos-elements/{p-e0809901.system.js → p-df6e62f8.system.js} +1 -1
- package/dist/zonos-elements/p-df90bccf.entry.js +1 -0
- package/dist/zonos-elements/p-e07aaf09.system.js +1 -0
- package/dist/zonos-elements/p-e458f737.entry.js +1 -0
- package/dist/zonos-elements/p-eea7ac64.js +1 -0
- package/dist/zonos-elements/p-f6f1d779.system.entry.js +1 -0
- package/dist/zonos-elements/p-f8eb618b.entry.js +1 -0
- package/dist/zonos-elements/p-fe96e239.system.js +1 -0
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/package.json +1 -1
- package/dist/esm-es5/cart-7f4704dc.js +0 -1
- package/dist/esm-es5/localization-401ec6d4.js +0 -1
- package/dist/esm-es5/paypal-61270b79.js +0 -17
- package/dist/esm-es5/shouldRenderTaxIdInput-d45ceeb4.js +0 -1
- package/dist/zonos-elements/p-01b0a2e2.js +0 -1
- package/dist/zonos-elements/p-1216cfb3.entry.js +0 -1
- package/dist/zonos-elements/p-1d91e5d1.entry.js +0 -1
- package/dist/zonos-elements/p-21fb6b39.js +0 -1
- package/dist/zonos-elements/p-2601538e.entry.js +0 -1
- package/dist/zonos-elements/p-276faa43.js +0 -1
- package/dist/zonos-elements/p-27874c22.entry.js +0 -1
- package/dist/zonos-elements/p-291b85f7.entry.js +0 -1
- package/dist/zonos-elements/p-33fdde8a.system.js +0 -1
- package/dist/zonos-elements/p-38bdbdcc.system.entry.js +0 -1
- package/dist/zonos-elements/p-3b1898bc.system.entry.js +0 -1
- package/dist/zonos-elements/p-3f078bf5.system.entry.js +0 -1
- package/dist/zonos-elements/p-59ebb8c7.system.entry.js +0 -1
- package/dist/zonos-elements/p-5be33a13.system.entry.js +0 -1
- package/dist/zonos-elements/p-5f956a0d.entry.js +0 -1
- package/dist/zonos-elements/p-74e258ff.system.js +0 -1
- package/dist/zonos-elements/p-7521549c.entry.js +0 -1
- package/dist/zonos-elements/p-775c1122.system.js +0 -1
- package/dist/zonos-elements/p-85430ec1.js +0 -1
- package/dist/zonos-elements/p-8d2e24a4.system.entry.js +0 -1
- package/dist/zonos-elements/p-8dc7d82f.system.entry.js +0 -1
- package/dist/zonos-elements/p-95524f54.js +0 -1
- package/dist/zonos-elements/p-95703417.system.entry.js +0 -1
- package/dist/zonos-elements/p-993723c2.system.entry.js +0 -1
- package/dist/zonos-elements/p-a0a62b7e.js +0 -17
- package/dist/zonos-elements/p-a53d3d46.entry.js +0 -1
- package/dist/zonos-elements/p-a556ec07.system.js +0 -17
- package/dist/zonos-elements/p-a6489088.js +0 -1
- package/dist/zonos-elements/p-acc0eee3.system.js +0 -1
- package/dist/zonos-elements/p-ba228769.entry.js +0 -1
- package/dist/zonos-elements/p-c62b6741.system.entry.js +0 -1
- package/dist/zonos-elements/p-c708f7e9.entry.js +0 -1
- package/dist/zonos-elements/p-c88cd318.system.entry.js +0 -1
- package/dist/zonos-elements/p-d1effb76.system.js +0 -1
- package/dist/zonos-elements/p-e7543082.system.js +0 -1
- package/dist/zonos-elements/p-e90e9584.entry.js +0 -1
- package/dist/zonos-elements/p-eb9ee025.system.js +0 -1
- package/dist/zonos-elements/p-ebef34e3.entry.js +0 -1
- package/dist/zonos-elements/p-f6c6b6d3.system.entry.js +0 -1
package/dist/types/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.d.ts
CHANGED
|
@@ -61,6 +61,10 @@ export declare class ZonosCustomerInfo {
|
|
|
61
61
|
* Whether or not the tax id input is invalid
|
|
62
62
|
*/
|
|
63
63
|
taxIdErrorMessage: string;
|
|
64
|
+
/**
|
|
65
|
+
* Whether or not the short address code input is invalid
|
|
66
|
+
*/
|
|
67
|
+
shortAddressCodeErrorMessage: string;
|
|
64
68
|
/**
|
|
65
69
|
* Whether or not the shipping address contains invalid characters
|
|
66
70
|
*/
|
|
@@ -14,6 +14,10 @@ export declare class ZonosShipping {
|
|
|
14
14
|
* Whether or not the checkout is in mobile mode
|
|
15
15
|
*/
|
|
16
16
|
submitBtnType?: HTMLZonosButtonElement['variant'];
|
|
17
|
+
/**
|
|
18
|
+
* Whether or not the checkout is in mobile mode
|
|
19
|
+
*/
|
|
20
|
+
isMobile: boolean;
|
|
17
21
|
/**
|
|
18
22
|
* Event to emit when the continue button is clicked
|
|
19
23
|
*/
|
package/dist/types/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export type ShippingRichRadioItem = {
|
|
|
13
13
|
value: string | number;
|
|
14
14
|
};
|
|
15
15
|
export declare class ZonosShippingRichRadio {
|
|
16
|
+
ele: HTMLZonosShippingRichRadioElement;
|
|
16
17
|
/**
|
|
17
18
|
* List of items to display
|
|
18
19
|
*/
|
|
@@ -31,6 +32,10 @@ export declare class ZonosShippingRichRadio {
|
|
|
31
32
|
* Theme of the radio item
|
|
32
33
|
*/
|
|
33
34
|
theme?: ElementsUiTheme;
|
|
35
|
+
/**
|
|
36
|
+
* Whether or not the radio item is in mobile mode
|
|
37
|
+
*/
|
|
38
|
+
isMobile: boolean;
|
|
34
39
|
/**
|
|
35
40
|
* Selected item
|
|
36
41
|
* @default {null|firstItem}
|
|
@@ -70,6 +70,10 @@ type StripeStore = {
|
|
|
70
70
|
* Shipping party id (used for async address update)
|
|
71
71
|
*/
|
|
72
72
|
partyShippingId: string | null;
|
|
73
|
+
/**
|
|
74
|
+
* Short address code only required for Saudi Arabia
|
|
75
|
+
*/
|
|
76
|
+
shortAddressCode: string;
|
|
73
77
|
/**
|
|
74
78
|
* Toggle to indicate if we should refund the inventory when the payment is failed
|
|
75
79
|
*/
|
|
@@ -284,6 +284,9 @@ export declare const stringsArabic: {
|
|
|
284
284
|
'Invalid session': {
|
|
285
285
|
value: string;
|
|
286
286
|
};
|
|
287
|
+
'Invalid short address code format. Must be 4 letters and 4 numbers.': {
|
|
288
|
+
value: string;
|
|
289
|
+
};
|
|
287
290
|
'Invoice:': {
|
|
288
291
|
value: string;
|
|
289
292
|
};
|
|
@@ -527,6 +530,12 @@ export declare const stringsArabic: {
|
|
|
527
530
|
'Shopping cart expired': {
|
|
528
531
|
value: string;
|
|
529
532
|
};
|
|
533
|
+
'Short address code': {
|
|
534
|
+
value: string;
|
|
535
|
+
};
|
|
536
|
+
'Short address code is required.': {
|
|
537
|
+
value: string;
|
|
538
|
+
};
|
|
530
539
|
Show: {
|
|
531
540
|
value: string;
|
|
532
541
|
};
|
|
@@ -284,6 +284,9 @@ export declare const stringsBase: {
|
|
|
284
284
|
'Invalid session': {
|
|
285
285
|
value: string;
|
|
286
286
|
};
|
|
287
|
+
'Invalid short address code format. Must be 4 letters and 4 numbers.': {
|
|
288
|
+
value: string;
|
|
289
|
+
};
|
|
287
290
|
'Invoice:': {
|
|
288
291
|
value: string;
|
|
289
292
|
};
|
|
@@ -527,6 +530,12 @@ export declare const stringsBase: {
|
|
|
527
530
|
'Shopping cart expired': {
|
|
528
531
|
value: string;
|
|
529
532
|
};
|
|
533
|
+
'Short address code': {
|
|
534
|
+
value: string;
|
|
535
|
+
};
|
|
536
|
+
'Short address code is required.': {
|
|
537
|
+
value: string;
|
|
538
|
+
};
|
|
530
539
|
Show: {
|
|
531
540
|
value: string;
|
|
532
541
|
};
|
|
@@ -284,6 +284,9 @@ export declare const stringsChinese: {
|
|
|
284
284
|
'Invalid session': {
|
|
285
285
|
value: string;
|
|
286
286
|
};
|
|
287
|
+
'Invalid short address code format. Must be 4 letters and 4 numbers.': {
|
|
288
|
+
value: string;
|
|
289
|
+
};
|
|
287
290
|
'Invoice:': {
|
|
288
291
|
value: string;
|
|
289
292
|
};
|
|
@@ -527,6 +530,12 @@ export declare const stringsChinese: {
|
|
|
527
530
|
'Shopping cart expired': {
|
|
528
531
|
value: string;
|
|
529
532
|
};
|
|
533
|
+
'Short address code': {
|
|
534
|
+
value: string;
|
|
535
|
+
};
|
|
536
|
+
'Short address code is required.': {
|
|
537
|
+
value: string;
|
|
538
|
+
};
|
|
530
539
|
Show: {
|
|
531
540
|
value: string;
|
|
532
541
|
};
|
|
@@ -284,6 +284,9 @@ export declare const stringsDanish: {
|
|
|
284
284
|
'Invalid session': {
|
|
285
285
|
value: string;
|
|
286
286
|
};
|
|
287
|
+
'Invalid short address code format. Must be 4 letters and 4 numbers.': {
|
|
288
|
+
value: string;
|
|
289
|
+
};
|
|
287
290
|
'Invoice:': {
|
|
288
291
|
value: string;
|
|
289
292
|
};
|
|
@@ -527,6 +530,12 @@ export declare const stringsDanish: {
|
|
|
527
530
|
'Shopping cart expired': {
|
|
528
531
|
value: string;
|
|
529
532
|
};
|
|
533
|
+
'Short address code': {
|
|
534
|
+
value: string;
|
|
535
|
+
};
|
|
536
|
+
'Short address code is required.': {
|
|
537
|
+
value: string;
|
|
538
|
+
};
|
|
530
539
|
Show: {
|
|
531
540
|
value: string;
|
|
532
541
|
};
|
|
@@ -284,6 +284,9 @@ export declare const stringsDutch: {
|
|
|
284
284
|
'Invalid session': {
|
|
285
285
|
value: string;
|
|
286
286
|
};
|
|
287
|
+
'Invalid short address code format. Must be 4 letters and 4 numbers.': {
|
|
288
|
+
value: string;
|
|
289
|
+
};
|
|
287
290
|
'Invoice:': {
|
|
288
291
|
value: string;
|
|
289
292
|
};
|
|
@@ -527,6 +530,12 @@ export declare const stringsDutch: {
|
|
|
527
530
|
'Shopping cart expired': {
|
|
528
531
|
value: string;
|
|
529
532
|
};
|
|
533
|
+
'Short address code': {
|
|
534
|
+
value: string;
|
|
535
|
+
};
|
|
536
|
+
'Short address code is required.': {
|
|
537
|
+
value: string;
|
|
538
|
+
};
|
|
530
539
|
Show: {
|
|
531
540
|
value: string;
|
|
532
541
|
};
|
|
@@ -284,6 +284,9 @@ export declare const stringsFrench: {
|
|
|
284
284
|
'Invalid session': {
|
|
285
285
|
value: string;
|
|
286
286
|
};
|
|
287
|
+
'Invalid short address code format. Must be 4 letters and 4 numbers.': {
|
|
288
|
+
value: string;
|
|
289
|
+
};
|
|
287
290
|
'Invoice:': {
|
|
288
291
|
value: string;
|
|
289
292
|
};
|
|
@@ -527,6 +530,12 @@ export declare const stringsFrench: {
|
|
|
527
530
|
'Shopping cart expired': {
|
|
528
531
|
value: string;
|
|
529
532
|
};
|
|
533
|
+
'Short address code': {
|
|
534
|
+
value: string;
|
|
535
|
+
};
|
|
536
|
+
'Short address code is required.': {
|
|
537
|
+
value: string;
|
|
538
|
+
};
|
|
530
539
|
Show: {
|
|
531
540
|
value: string;
|
|
532
541
|
};
|
|
@@ -284,6 +284,9 @@ export declare const stringsGerman: {
|
|
|
284
284
|
'Invalid session': {
|
|
285
285
|
value: string;
|
|
286
286
|
};
|
|
287
|
+
'Invalid short address code format. Must be 4 letters and 4 numbers.': {
|
|
288
|
+
value: string;
|
|
289
|
+
};
|
|
287
290
|
'Invoice:': {
|
|
288
291
|
value: string;
|
|
289
292
|
};
|
|
@@ -527,6 +530,12 @@ export declare const stringsGerman: {
|
|
|
527
530
|
'Shopping cart expired': {
|
|
528
531
|
value: string;
|
|
529
532
|
};
|
|
533
|
+
'Short address code': {
|
|
534
|
+
value: string;
|
|
535
|
+
};
|
|
536
|
+
'Short address code is required.': {
|
|
537
|
+
value: string;
|
|
538
|
+
};
|
|
530
539
|
Show: {
|
|
531
540
|
value: string;
|
|
532
541
|
};
|
|
@@ -284,6 +284,9 @@ export declare const stringsHebrew: {
|
|
|
284
284
|
'Invalid session': {
|
|
285
285
|
value: string;
|
|
286
286
|
};
|
|
287
|
+
'Invalid short address code format. Must be 4 letters and 4 numbers.': {
|
|
288
|
+
value: string;
|
|
289
|
+
};
|
|
287
290
|
'Invoice:': {
|
|
288
291
|
value: string;
|
|
289
292
|
};
|
|
@@ -527,6 +530,12 @@ export declare const stringsHebrew: {
|
|
|
527
530
|
'Shopping cart expired': {
|
|
528
531
|
value: string;
|
|
529
532
|
};
|
|
533
|
+
'Short address code': {
|
|
534
|
+
value: string;
|
|
535
|
+
};
|
|
536
|
+
'Short address code is required.': {
|
|
537
|
+
value: string;
|
|
538
|
+
};
|
|
530
539
|
Show: {
|
|
531
540
|
value: string;
|
|
532
541
|
};
|
|
@@ -284,6 +284,9 @@ export declare const stringsIndonesian: {
|
|
|
284
284
|
'Invalid session': {
|
|
285
285
|
value: string;
|
|
286
286
|
};
|
|
287
|
+
'Invalid short address code format. Must be 4 letters and 4 numbers.': {
|
|
288
|
+
value: string;
|
|
289
|
+
};
|
|
287
290
|
'Invoice:': {
|
|
288
291
|
value: string;
|
|
289
292
|
};
|
|
@@ -527,6 +530,12 @@ export declare const stringsIndonesian: {
|
|
|
527
530
|
'Shopping cart expired': {
|
|
528
531
|
value: string;
|
|
529
532
|
};
|
|
533
|
+
'Short address code': {
|
|
534
|
+
value: string;
|
|
535
|
+
};
|
|
536
|
+
'Short address code is required.': {
|
|
537
|
+
value: string;
|
|
538
|
+
};
|
|
530
539
|
Show: {
|
|
531
540
|
value: string;
|
|
532
541
|
};
|
|
@@ -284,6 +284,9 @@ export declare const stringsItalian: {
|
|
|
284
284
|
'Invalid session': {
|
|
285
285
|
value: string;
|
|
286
286
|
};
|
|
287
|
+
'Invalid short address code format. Must be 4 letters and 4 numbers.': {
|
|
288
|
+
value: string;
|
|
289
|
+
};
|
|
287
290
|
'Invoice:': {
|
|
288
291
|
value: string;
|
|
289
292
|
};
|
|
@@ -527,6 +530,12 @@ export declare const stringsItalian: {
|
|
|
527
530
|
'Shopping cart expired': {
|
|
528
531
|
value: string;
|
|
529
532
|
};
|
|
533
|
+
'Short address code': {
|
|
534
|
+
value: string;
|
|
535
|
+
};
|
|
536
|
+
'Short address code is required.': {
|
|
537
|
+
value: string;
|
|
538
|
+
};
|
|
530
539
|
Show: {
|
|
531
540
|
value: string;
|
|
532
541
|
};
|
|
@@ -284,6 +284,9 @@ export declare const stringsJapanese: {
|
|
|
284
284
|
'Invalid session': {
|
|
285
285
|
value: string;
|
|
286
286
|
};
|
|
287
|
+
'Invalid short address code format. Must be 4 letters and 4 numbers.': {
|
|
288
|
+
value: string;
|
|
289
|
+
};
|
|
287
290
|
'Invoice:': {
|
|
288
291
|
value: string;
|
|
289
292
|
};
|
|
@@ -527,6 +530,12 @@ export declare const stringsJapanese: {
|
|
|
527
530
|
'Shopping cart expired': {
|
|
528
531
|
value: string;
|
|
529
532
|
};
|
|
533
|
+
'Short address code': {
|
|
534
|
+
value: string;
|
|
535
|
+
};
|
|
536
|
+
'Short address code is required.': {
|
|
537
|
+
value: string;
|
|
538
|
+
};
|
|
530
539
|
Show: {
|
|
531
540
|
value: string;
|
|
532
541
|
};
|
|
@@ -284,6 +284,9 @@ export declare const stringsKorean: {
|
|
|
284
284
|
'Invalid session': {
|
|
285
285
|
value: string;
|
|
286
286
|
};
|
|
287
|
+
'Invalid short address code format. Must be 4 letters and 4 numbers.': {
|
|
288
|
+
value: string;
|
|
289
|
+
};
|
|
287
290
|
'Invoice:': {
|
|
288
291
|
value: string;
|
|
289
292
|
};
|
|
@@ -527,6 +530,12 @@ export declare const stringsKorean: {
|
|
|
527
530
|
'Shopping cart expired': {
|
|
528
531
|
value: string;
|
|
529
532
|
};
|
|
533
|
+
'Short address code': {
|
|
534
|
+
value: string;
|
|
535
|
+
};
|
|
536
|
+
'Short address code is required.': {
|
|
537
|
+
value: string;
|
|
538
|
+
};
|
|
530
539
|
Show: {
|
|
531
540
|
value: string;
|
|
532
541
|
};
|
|
@@ -284,6 +284,9 @@ export declare const stringsNorwegian: {
|
|
|
284
284
|
'Invalid session': {
|
|
285
285
|
value: string;
|
|
286
286
|
};
|
|
287
|
+
'Invalid short address code format. Must be 4 letters and 4 numbers.': {
|
|
288
|
+
value: string;
|
|
289
|
+
};
|
|
287
290
|
'Invoice:': {
|
|
288
291
|
value: string;
|
|
289
292
|
};
|
|
@@ -527,6 +530,12 @@ export declare const stringsNorwegian: {
|
|
|
527
530
|
'Shopping cart expired': {
|
|
528
531
|
value: string;
|
|
529
532
|
};
|
|
533
|
+
'Short address code': {
|
|
534
|
+
value: string;
|
|
535
|
+
};
|
|
536
|
+
'Short address code is required.': {
|
|
537
|
+
value: string;
|
|
538
|
+
};
|
|
530
539
|
Show: {
|
|
531
540
|
value: string;
|
|
532
541
|
};
|
|
@@ -284,6 +284,9 @@ export declare const stringsPolish: {
|
|
|
284
284
|
'Invalid session': {
|
|
285
285
|
value: string;
|
|
286
286
|
};
|
|
287
|
+
'Invalid short address code format. Must be 4 letters and 4 numbers.': {
|
|
288
|
+
value: string;
|
|
289
|
+
};
|
|
287
290
|
'Invoice:': {
|
|
288
291
|
value: string;
|
|
289
292
|
};
|
|
@@ -527,6 +530,12 @@ export declare const stringsPolish: {
|
|
|
527
530
|
'Shopping cart expired': {
|
|
528
531
|
value: string;
|
|
529
532
|
};
|
|
533
|
+
'Short address code': {
|
|
534
|
+
value: string;
|
|
535
|
+
};
|
|
536
|
+
'Short address code is required.': {
|
|
537
|
+
value: string;
|
|
538
|
+
};
|
|
530
539
|
Show: {
|
|
531
540
|
value: string;
|
|
532
541
|
};
|
|
@@ -284,6 +284,9 @@ export declare const stringsPortuguese: {
|
|
|
284
284
|
'Invalid session': {
|
|
285
285
|
value: string;
|
|
286
286
|
};
|
|
287
|
+
'Invalid short address code format. Must be 4 letters and 4 numbers.': {
|
|
288
|
+
value: string;
|
|
289
|
+
};
|
|
287
290
|
'Invoice:': {
|
|
288
291
|
value: string;
|
|
289
292
|
};
|
|
@@ -527,6 +530,12 @@ export declare const stringsPortuguese: {
|
|
|
527
530
|
'Shopping cart expired': {
|
|
528
531
|
value: string;
|
|
529
532
|
};
|
|
533
|
+
'Short address code': {
|
|
534
|
+
value: string;
|
|
535
|
+
};
|
|
536
|
+
'Short address code is required.': {
|
|
537
|
+
value: string;
|
|
538
|
+
};
|
|
530
539
|
Show: {
|
|
531
540
|
value: string;
|
|
532
541
|
};
|
|
@@ -284,6 +284,9 @@ export declare const stringsRussian: {
|
|
|
284
284
|
'Invalid session': {
|
|
285
285
|
value: string;
|
|
286
286
|
};
|
|
287
|
+
'Invalid short address code format. Must be 4 letters and 4 numbers.': {
|
|
288
|
+
value: string;
|
|
289
|
+
};
|
|
287
290
|
'Invoice:': {
|
|
288
291
|
value: string;
|
|
289
292
|
};
|
|
@@ -527,6 +530,12 @@ export declare const stringsRussian: {
|
|
|
527
530
|
'Shopping cart expired': {
|
|
528
531
|
value: string;
|
|
529
532
|
};
|
|
533
|
+
'Short address code': {
|
|
534
|
+
value: string;
|
|
535
|
+
};
|
|
536
|
+
'Short address code is required.': {
|
|
537
|
+
value: string;
|
|
538
|
+
};
|
|
530
539
|
Show: {
|
|
531
540
|
value: string;
|
|
532
541
|
};
|
|
@@ -284,6 +284,9 @@ export declare const stringsSpanish: {
|
|
|
284
284
|
'Invalid session': {
|
|
285
285
|
value: string;
|
|
286
286
|
};
|
|
287
|
+
'Invalid short address code format. Must be 4 letters and 4 numbers.': {
|
|
288
|
+
value: string;
|
|
289
|
+
};
|
|
287
290
|
'Invoice:': {
|
|
288
291
|
value: string;
|
|
289
292
|
};
|
|
@@ -527,6 +530,12 @@ export declare const stringsSpanish: {
|
|
|
527
530
|
'Shopping cart expired': {
|
|
528
531
|
value: string;
|
|
529
532
|
};
|
|
533
|
+
'Short address code': {
|
|
534
|
+
value: string;
|
|
535
|
+
};
|
|
536
|
+
'Short address code is required.': {
|
|
537
|
+
value: string;
|
|
538
|
+
};
|
|
530
539
|
Show: {
|
|
531
540
|
value: string;
|
|
532
541
|
};
|
|
@@ -284,6 +284,9 @@ export declare const stringsSwedish: {
|
|
|
284
284
|
'Invalid session': {
|
|
285
285
|
value: string;
|
|
286
286
|
};
|
|
287
|
+
'Invalid short address code format. Must be 4 letters and 4 numbers.': {
|
|
288
|
+
value: string;
|
|
289
|
+
};
|
|
287
290
|
'Invoice:': {
|
|
288
291
|
value: string;
|
|
289
292
|
};
|
|
@@ -527,6 +530,12 @@ export declare const stringsSwedish: {
|
|
|
527
530
|
'Shopping cart expired': {
|
|
528
531
|
value: string;
|
|
529
532
|
};
|
|
533
|
+
'Short address code': {
|
|
534
|
+
value: string;
|
|
535
|
+
};
|
|
536
|
+
'Short address code is required.': {
|
|
537
|
+
value: string;
|
|
538
|
+
};
|
|
530
539
|
Show: {
|
|
531
540
|
value: string;
|
|
532
541
|
};
|
|
@@ -284,6 +284,9 @@ export declare const stringsTurkish: {
|
|
|
284
284
|
'Invalid session': {
|
|
285
285
|
value: string;
|
|
286
286
|
};
|
|
287
|
+
'Invalid short address code format. Must be 4 letters and 4 numbers.': {
|
|
288
|
+
value: string;
|
|
289
|
+
};
|
|
287
290
|
'Invoice:': {
|
|
288
291
|
value: string;
|
|
289
292
|
};
|
|
@@ -527,6 +530,12 @@ export declare const stringsTurkish: {
|
|
|
527
530
|
'Shopping cart expired': {
|
|
528
531
|
value: string;
|
|
529
532
|
};
|
|
533
|
+
'Short address code': {
|
|
534
|
+
value: string;
|
|
535
|
+
};
|
|
536
|
+
'Short address code is required.': {
|
|
537
|
+
value: string;
|
|
538
|
+
};
|
|
530
539
|
Show: {
|
|
531
540
|
value: string;
|
|
532
541
|
};
|
|
@@ -284,6 +284,9 @@ export declare const stringsVietnamese: {
|
|
|
284
284
|
'Invalid session': {
|
|
285
285
|
value: string;
|
|
286
286
|
};
|
|
287
|
+
'Invalid short address code format. Must be 4 letters and 4 numbers.': {
|
|
288
|
+
value: string;
|
|
289
|
+
};
|
|
287
290
|
'Invoice:': {
|
|
288
291
|
value: string;
|
|
289
292
|
};
|
|
@@ -527,6 +530,12 @@ export declare const stringsVietnamese: {
|
|
|
527
530
|
'Shopping cart expired': {
|
|
528
531
|
value: string;
|
|
529
532
|
};
|
|
533
|
+
'Short address code': {
|
|
534
|
+
value: string;
|
|
535
|
+
};
|
|
536
|
+
'Short address code is required.': {
|
|
537
|
+
value: string;
|
|
538
|
+
};
|
|
530
539
|
Show: {
|
|
531
540
|
value: string;
|
|
532
541
|
};
|
|
@@ -22,6 +22,10 @@ export declare class ZonosAddress {
|
|
|
22
22
|
* Error message for tax id input
|
|
23
23
|
*/
|
|
24
24
|
taxIdErrorMessage: string;
|
|
25
|
+
/**
|
|
26
|
+
* Error message for short address code input
|
|
27
|
+
*/
|
|
28
|
+
shortAddressCodeErrorMessage: string;
|
|
25
29
|
/**
|
|
26
30
|
* Event to emit when address is not containing allowed character sets
|
|
27
31
|
*/
|
|
@@ -65,6 +69,10 @@ export declare class ZonosAddress {
|
|
|
65
69
|
* Render tax id input based on ship to country code
|
|
66
70
|
*/
|
|
67
71
|
private renderTaxIdInput;
|
|
72
|
+
/**
|
|
73
|
+
* Render short address code input based on ship to country code
|
|
74
|
+
*/
|
|
75
|
+
private renderShortAddressCodeInput;
|
|
68
76
|
private renderCompanyNameInput;
|
|
69
77
|
disconnectedCallback(): void;
|
|
70
78
|
componentDidLoad(): void;
|
|
@@ -23,6 +23,10 @@ export declare class ZonosAddress {
|
|
|
23
23
|
* Error message for tax id input
|
|
24
24
|
*/
|
|
25
25
|
taxIdErrorMessage: string;
|
|
26
|
+
/**
|
|
27
|
+
* Error message for short address code input
|
|
28
|
+
*/
|
|
29
|
+
shortAddressCodeErrorMessage: string;
|
|
26
30
|
/**
|
|
27
31
|
* Event to emit when address is not containing allowed character sets
|
|
28
32
|
*/
|
|
@@ -137,6 +141,10 @@ export declare class ZonosAddress {
|
|
|
137
141
|
* Render tax id input based on ship to country code
|
|
138
142
|
*/
|
|
139
143
|
private renderTaxIdInput;
|
|
144
|
+
/**
|
|
145
|
+
* Render short address code input based on ship to country code
|
|
146
|
+
*/
|
|
147
|
+
private renderShortAddressCodeInput;
|
|
140
148
|
private renderCompanyNameInput;
|
|
141
149
|
private initCountryField;
|
|
142
150
|
private initDefaultCustomAddressForm;
|
|
@@ -4,7 +4,7 @@ export declare const getLocaleMessages: ({ countryCode, localeTo, storeId, }: {
|
|
|
4
4
|
localeTo?: string;
|
|
5
5
|
storeId: number;
|
|
6
6
|
}) => Promise<{
|
|
7
|
-
countryCodes: Array<string
|
|
7
|
+
countryCodes: Array<string> | null;
|
|
8
8
|
countryCodesPageMessageLinks: Array<{
|
|
9
9
|
id: number;
|
|
10
10
|
message: {
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
type ShortAddressCodeValidationResult = {
|
|
2
|
+
error: 'Short address code is required.' | 'Invalid short address code format. Must be 4 letters and 4 numbers.';
|
|
3
|
+
valid: false;
|
|
4
|
+
} | {
|
|
5
|
+
error: null;
|
|
6
|
+
valid: true;
|
|
7
|
+
};
|
|
8
|
+
export declare const shortAddressCodeValidationResult: ({ shippingCountry, shortAddressCode, }: {
|
|
9
|
+
shippingCountry: string;
|
|
10
|
+
shortAddressCode: string;
|
|
11
|
+
}) => ShortAddressCodeValidationResult;
|
|
12
|
+
export {};
|