@zonos/elements 1.5.0 → 1.5.1
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/{TaxId-Q6aDqqWv.js → TaxId-ChhNwG04.js} +36 -0
- package/dist/cjs/{cart-B6Aty-21.js → cart-CiXlehwQ.js} +88 -52
- package/dist/cjs/{collect-DnrvaXUI.js → collect-Drr8fY-q.js} +3 -3
- package/dist/cjs/{debounce-Cd2emZPn.js → debounce-BhgA8_3W.js} +2 -2
- package/dist/cjs/{debounce-vY0QYT6o.js → debounce-DRPMxNew.js} +1 -1
- package/dist/cjs/{getBorderRadius-CyYZw4qq.js → getBorderRadius-CJ_95w3o.js} +1 -1
- package/dist/cjs/{getMissingRequiredShippingFields-D03ICqss.js → getMissingRequiredShippingFields-DI6qF1z3.js} +1 -1
- package/dist/cjs/{hasInclusivePrice-CPCoVeU3.js → hasInclusivePrice-84KS94yH.js} +1 -1
- package/dist/cjs/index.cjs.js +19 -8
- package/dist/cjs/{invoice-Cj8W7NW0.js → invoice-5hVfSXpb.js} +3 -3
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{localization-BzNeXeDe.js → localization-B2mjW0Xa.js} +701 -41
- package/dist/cjs/{paypal-CuKshRmZ.js → paypal-pd8Nz_R_.js} +4 -4
- package/dist/cjs/{placeTestOrder-7czjwkjm.js → placeTestOrder-DrI8rD9o.js} +2 -2
- package/dist/cjs/{renderCheckoutCurrency-BH8t2b2x.js → renderCheckoutCurrency-u5q8YdUb.js} +2 -2
- package/dist/cjs/shouldRenderShortAddressCodeInput-gpu_bMfp.js +21 -0
- package/dist/cjs/{shouldShowLanguageSelect-yAbtCmd8.js → shouldShowLanguageSelect-gBg4KeTQ.js} +1 -1
- package/dist/cjs/{submitGtag-D79e8u6s.js → submitGtag-Rc-S3PnH.js} +1 -1
- package/dist/cjs/{throttle-zSVRQLC0.js → taxIdFields-BrIaPTcd.js} +57 -2
- package/dist/cjs/taxIdRules-BBj8kQxJ.js +58 -0
- package/dist/cjs/{updateCheckoutSessionAttributes-jMtfOL2m.js → updateCheckoutSessionAttributes-d0IKpwW8.js} +1 -1
- package/dist/cjs/zonos-address-completion-dialog_7.cjs.entry.js +25 -30
- package/dist/cjs/zonos-address-display_2.cjs.entry.js +3 -3
- package/dist/cjs/zonos-address_4.cjs.entry.js +27 -30
- package/dist/cjs/zonos-airwallex-payment.cjs.entry.js +7 -6
- package/dist/cjs/zonos-badge.cjs.entry.js +1 -1
- package/dist/cjs/zonos-banner.cjs.entry.js +1 -1
- package/dist/cjs/zonos-button_3.cjs.entry.js +2 -2
- package/dist/cjs/zonos-card_5.cjs.entry.js +8 -7
- package/dist/cjs/zonos-cart-items_12.cjs.entry.js +83 -78
- package/dist/cjs/zonos-checkbox_2.cjs.entry.js +2 -2
- package/dist/cjs/zonos-checkout.cjs.entry.js +11 -10
- package/dist/cjs/zonos-collapse.cjs.entry.js +1 -1
- package/dist/cjs/zonos-collect-cart-items_3.cjs.entry.js +6 -5
- package/dist/cjs/zonos-collect-finish_6.cjs.entry.js +12 -11
- package/dist/cjs/zonos-collect.cjs.entry.js +9 -8
- package/dist/cjs/zonos-controller.cjs.entry.js +7 -6
- package/dist/cjs/zonos-country-flag.cjs.entry.js +2 -2
- package/dist/cjs/zonos-country-select_4.cjs.entry.js +3 -3
- package/dist/cjs/zonos-elements.cjs.js +1 -1
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +4 -4
- package/dist/cjs/zonos-hello.cjs.entry.js +4 -4
- package/dist/cjs/zonos-input.cjs.entry.js +2 -2
- package/dist/cjs/zonos-invoice-cart-items_2.cjs.entry.js +8 -7
- package/dist/cjs/zonos-invoice-finish_5.cjs.entry.js +12 -11
- package/dist/cjs/zonos-invoice.cjs.entry.js +9 -8
- package/dist/cjs/zonos-language-select_2.cjs.entry.js +2 -2
- package/dist/cjs/zonos-logo.cjs.entry.js +1 -1
- package/dist/cjs/zonos-policy-consent_2.cjs.entry.js +7 -6
- package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +2 -2
- package/dist/cjs/zonos-stripe-input.cjs.entry.js +2 -2
- package/dist/cjs/zonos-text.cjs.entry.js +1 -1
- package/dist/cjs/zonos-v-stack.cjs.entry.js +1 -1
- package/dist/cjs/{zonosStore-Bx9jK82G.js → zonosStore-CDV83QyK.js} +2 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.js +12 -4
- package/dist/collection/components/store/checkout/stripe.js +10 -12
- package/dist/collection/components/store/translationStore/strings.arabic.js +35 -2
- package/dist/collection/components/store/translationStore/strings.base.js +35 -2
- package/dist/collection/components/store/translationStore/strings.chinese.js +35 -2
- package/dist/collection/components/store/translationStore/strings.danish.js +35 -2
- package/dist/collection/components/store/translationStore/strings.dutch.js +35 -2
- package/dist/collection/components/store/translationStore/strings.french.js +35 -2
- package/dist/collection/components/store/translationStore/strings.german.js +35 -2
- package/dist/collection/components/store/translationStore/strings.hebrew.js +35 -2
- package/dist/collection/components/store/translationStore/strings.indonesian.js +35 -2
- package/dist/collection/components/store/translationStore/strings.italian.js +35 -2
- package/dist/collection/components/store/translationStore/strings.japanese.js +35 -2
- package/dist/collection/components/store/translationStore/strings.korean.js +35 -2
- package/dist/collection/components/store/translationStore/strings.norwegian.js +35 -2
- package/dist/collection/components/store/translationStore/strings.polish.js +35 -2
- package/dist/collection/components/store/translationStore/strings.portuguese.js +35 -2
- package/dist/collection/components/store/translationStore/strings.russian.js +35 -2
- package/dist/collection/components/store/translationStore/strings.spanish.js +35 -2
- package/dist/collection/components/store/translationStore/strings.swedish.js +35 -2
- package/dist/collection/components/store/translationStore/strings.turkish.js +35 -2
- package/dist/collection/components/store/translationStore/strings.vietnamese.js +35 -2
- package/dist/collection/components/store/zonosStore.js +2 -1
- package/dist/collection/components/stripe/zonos-address/zonos-address.css +5 -0
- package/dist/collection/components/stripe/zonos-address/zonos-address.js +37 -22
- package/dist/collection/components/stripe/zonos-custom-address/zonos-custom-address.css +5 -0
- package/dist/collection/components/stripe/zonos-custom-address/zonos-custom-address.js +34 -21
- package/dist/collection/components/utils/api/prepCalculateLandedCost.js +24 -35
- package/dist/collection/components/utils/checkout/getCheckoutTaxIdPayload.js +16 -0
- package/dist/collection/components/utils/checkout/getTaxIdFieldState.js +26 -0
- package/dist/collection/components/utils/checkout/resolveTaxIdSelection.js +23 -0
- package/dist/collection/components/utils/checkout/shouldRenderTaxIdInput.js +7 -11
- package/dist/collection/components/utils/checkout/taxIdFields.js +29 -0
- package/dist/collection/components/utils/taxId/taxIdRules.js +44 -0
- package/dist/collection/components/utils/taxIdValidationResult.js +57 -58
- package/dist/collection/index.js +1 -0
- package/dist/collection/types/checkout/TaxId.js +31 -0
- package/dist/esm/{TaxId-Cye-evFK.js → TaxId-DMIgN_sT.js} +32 -1
- package/dist/esm/{cart-BoQp8Ema.js → cart-DmJkjiDE.js} +88 -53
- package/dist/esm/{collect-Eo4gtyql.js → collect-BV5GTPmh.js} +3 -3
- package/dist/esm/{debounce-BR3PaG8X.js → debounce-DHj2iHA1.js} +1 -1
- package/dist/esm/{debounce-CrmpwbEE.js → debounce-DWqMT4lo.js} +2 -2
- package/dist/esm/{getBorderRadius-DYfkeXdx.js → getBorderRadius-BiGd45jw.js} +1 -1
- package/dist/esm/{getMissingRequiredShippingFields-Ks6_tpjn.js → getMissingRequiredShippingFields-DljgpDZe.js} +1 -1
- package/dist/esm/{hasInclusivePrice-CbEfIhI5.js → hasInclusivePrice-DhGXpH2D.js} +1 -1
- package/dist/esm/index.js +9 -8
- package/dist/esm/{invoice-S1KahJ_Z.js → invoice-CO-iqlni.js} +3 -3
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{localization-BIh-4pc_.js → localization-DHM91diu.js} +701 -41
- package/dist/esm/{paypal-DNfvnuUU.js → paypal-BfW5aLJw.js} +4 -4
- package/dist/esm/{placeTestOrder-CQaMKFOg.js → placeTestOrder-CyWUFhxD.js} +2 -2
- package/dist/esm/{renderCheckoutCurrency-C2Tw73uR.js → renderCheckoutCurrency-B31ZNkUv.js} +2 -2
- package/dist/esm/shouldRenderShortAddressCodeInput-Bc8k2vN0.js +19 -0
- package/dist/esm/{shouldShowLanguageSelect-CCD7gpSY.js → shouldShowLanguageSelect-DwSfSHar.js} +1 -1
- package/dist/esm/{submitGtag-df9AQ2zL.js → submitGtag-BEFrutel.js} +1 -1
- package/dist/esm/taxIdFields-ByEYfsO5.js +139 -0
- package/dist/esm/taxIdRules-xYlx7ZXW.js +47 -0
- package/dist/esm/{updateCheckoutSessionAttributes-4Jq6V4pO.js → updateCheckoutSessionAttributes-B0bQH0uw.js} +1 -1
- package/dist/esm/zonos-address-completion-dialog_7.entry.js +23 -28
- package/dist/esm/zonos-address-display_2.entry.js +3 -3
- package/dist/esm/zonos-address_4.entry.js +25 -28
- package/dist/esm/zonos-airwallex-payment.entry.js +7 -6
- package/dist/esm/zonos-badge.entry.js +1 -1
- package/dist/esm/zonos-banner.entry.js +1 -1
- package/dist/esm/zonos-button_3.entry.js +2 -2
- package/dist/esm/zonos-card_5.entry.js +8 -7
- package/dist/esm/zonos-cart-items_12.entry.js +82 -77
- package/dist/esm/zonos-checkbox_2.entry.js +2 -2
- package/dist/esm/zonos-checkout.entry.js +11 -10
- package/dist/esm/zonos-collapse.entry.js +1 -1
- package/dist/esm/zonos-collect-cart-items_3.entry.js +6 -5
- package/dist/esm/zonos-collect-finish_6.entry.js +12 -11
- package/dist/esm/zonos-collect.entry.js +9 -8
- package/dist/esm/zonos-controller.entry.js +7 -6
- package/dist/esm/zonos-country-flag.entry.js +2 -2
- package/dist/esm/zonos-country-select_4.entry.js +3 -3
- package/dist/esm/zonos-elements.js +1 -1
- package/dist/esm/zonos-hello-dialog.entry.js +4 -4
- package/dist/esm/zonos-hello.entry.js +4 -4
- package/dist/esm/zonos-input.entry.js +2 -2
- package/dist/esm/zonos-invoice-cart-items_2.entry.js +8 -7
- package/dist/esm/zonos-invoice-finish_5.entry.js +12 -11
- package/dist/esm/zonos-invoice.entry.js +9 -8
- package/dist/esm/zonos-language-select_2.entry.js +2 -2
- package/dist/esm/zonos-logo.entry.js +1 -1
- package/dist/esm/zonos-policy-consent_2.entry.js +7 -6
- package/dist/esm/zonos-shipping-rich-radio.entry.js +2 -2
- package/dist/esm/zonos-stripe-input.entry.js +2 -2
- package/dist/esm/zonos-text.entry.js +1 -1
- package/dist/esm/zonos-v-stack.entry.js +1 -1
- package/dist/esm/{zonosStore-msUlqmSD.js → zonosStore-BXP9FvIt.js} +2 -1
- package/dist/esm-es5/{TaxId-Cye-evFK.js → TaxId-DMIgN_sT.js} +2 -1
- package/dist/esm-es5/{cart-BoQp8Ema.js → cart-DmJkjiDE.js} +64 -53
- package/dist/esm-es5/{collect-Eo4gtyql.js → collect-BV5GTPmh.js} +1 -1
- package/dist/esm-es5/{debounce-BR3PaG8X.js → debounce-DHj2iHA1.js} +7 -7
- package/dist/esm-es5/debounce-DWqMT4lo.js +1 -0
- package/dist/esm-es5/getBorderRadius-BiGd45jw.js +8 -0
- package/dist/esm-es5/{getMissingRequiredShippingFields-Ks6_tpjn.js → getMissingRequiredShippingFields-DljgpDZe.js} +3 -3
- package/dist/esm-es5/{hasInclusivePrice-CbEfIhI5.js → hasInclusivePrice-DhGXpH2D.js} +1 -1
- package/dist/esm-es5/index.js +11 -11
- package/dist/esm-es5/{invoice-S1KahJ_Z.js → invoice-CO-iqlni.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/localization-DHM91diu.js +348 -0
- package/dist/esm-es5/{paypal-DNfvnuUU.js → paypal-BfW5aLJw.js} +1 -1
- package/dist/esm-es5/{placeTestOrder-CQaMKFOg.js → placeTestOrder-CyWUFhxD.js} +1 -1
- package/dist/esm-es5/{renderCheckoutCurrency-C2Tw73uR.js → renderCheckoutCurrency-B31ZNkUv.js} +2 -2
- package/dist/esm-es5/shouldRenderShortAddressCodeInput-Bc8k2vN0.js +8 -0
- package/dist/esm-es5/{shouldShowLanguageSelect-CCD7gpSY.js → shouldShowLanguageSelect-DwSfSHar.js} +1 -1
- package/dist/esm-es5/{submitGtag-df9AQ2zL.js → submitGtag-BEFrutel.js} +1 -1
- package/dist/esm-es5/taxIdFields-ByEYfsO5.js +46 -0
- package/dist/esm-es5/taxIdRules-xYlx7ZXW.js +6 -0
- package/dist/esm-es5/{updateCheckoutSessionAttributes-4Jq6V4pO.js → updateCheckoutSessionAttributes-B0bQH0uw.js} +1 -1
- package/dist/esm-es5/zonos-address-completion-dialog_7.entry.js +253 -254
- package/dist/esm-es5/zonos-address-display_2.entry.js +1 -1
- package/dist/esm-es5/zonos-address_4.entry.js +8 -9
- 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-banner.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 +19 -18
- 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-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 +2 -2
- 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 +2 -2
- 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-logo.entry.js +1 -1
- package/dist/esm-es5/zonos-policy-consent_2.entry.js +1 -1
- package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
- package/dist/esm-es5/zonos-stripe-input.entry.js +1 -1
- package/dist/esm-es5/zonos-text.entry.js +1 -1
- package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
- package/dist/esm-es5/{zonosStore-msUlqmSD.js → zonosStore-BXP9FvIt.js} +1 -1
- package/dist/scripts/index.d.ts +97 -1
- 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/store/checkout/stripe.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.arabic.d.ts +34 -1
- package/dist/types/components/store/translationStore/strings.base.d.ts +34 -1
- package/dist/types/components/store/translationStore/strings.chinese.d.ts +34 -1
- package/dist/types/components/store/translationStore/strings.danish.d.ts +34 -1
- package/dist/types/components/store/translationStore/strings.dutch.d.ts +34 -1
- package/dist/types/components/store/translationStore/strings.french.d.ts +34 -1
- package/dist/types/components/store/translationStore/strings.german.d.ts +34 -1
- package/dist/types/components/store/translationStore/strings.hebrew.d.ts +34 -1
- package/dist/types/components/store/translationStore/strings.indonesian.d.ts +34 -1
- package/dist/types/components/store/translationStore/strings.italian.d.ts +34 -1
- package/dist/types/components/store/translationStore/strings.japanese.d.ts +34 -1
- package/dist/types/components/store/translationStore/strings.korean.d.ts +34 -1
- package/dist/types/components/store/translationStore/strings.norwegian.d.ts +34 -1
- package/dist/types/components/store/translationStore/strings.polish.d.ts +34 -1
- package/dist/types/components/store/translationStore/strings.portuguese.d.ts +34 -1
- package/dist/types/components/store/translationStore/strings.russian.d.ts +34 -1
- package/dist/types/components/store/translationStore/strings.spanish.d.ts +34 -1
- package/dist/types/components/store/translationStore/strings.swedish.d.ts +34 -1
- package/dist/types/components/store/translationStore/strings.turkish.d.ts +34 -1
- package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +34 -1
- package/dist/types/components/store/zonosStore.d.ts +2 -1
- package/dist/types/components/stripe/zonos-address/zonos-address.d.ts +4 -1
- package/dist/types/components/stripe/zonos-custom-address/zonos-custom-address.d.ts +4 -1
- package/dist/types/components/utils/checkout/getCheckoutTaxIdPayload.d.ts +6 -0
- package/dist/types/components/utils/checkout/getTaxIdFieldState.d.ts +18 -0
- package/dist/types/components/utils/checkout/resolveTaxIdSelection.d.ts +12 -0
- package/dist/types/components/utils/checkout/shouldRenderTaxIdInput.d.ts +2 -1
- package/dist/types/components/utils/checkout/taxIdFields.d.ts +11 -0
- package/dist/types/components/utils/taxId/taxIdRules.d.ts +37 -0
- package/dist/types/components/utils/taxIdValidationResult.d.ts +8 -2
- package/dist/types/components.d.ts +22 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/types/checkout/TaxId.d.ts +45 -0
- package/dist/types/types/checkout/api/CalculateLandedCost.d.ts +11 -0
- package/dist/types/types/checkout/api/CreateParty.d.ts +2 -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-7bd99479.system.entry.js → p-064d8829.system.entry.js} +26 -26
- package/dist/zonos-elements/p-107f287b.entry.js +1 -0
- package/dist/zonos-elements/{p-51400242.system.entry.js → p-1199baef.system.entry.js} +3 -3
- package/dist/zonos-elements/p-12b24ebb.entry.js +1 -0
- package/dist/zonos-elements/{p-9c33f7ed.system.entry.js → p-189cc594.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-d3d0656a.entry.js → p-1a5acbcd.entry.js} +1 -1
- package/dist/zonos-elements/{p-11defdca.system.entry.js → p-1cc42a98.system.entry.js} +18 -18
- package/dist/zonos-elements/p-1e6db427.entry.js +1 -0
- package/dist/zonos-elements/{p-d82fd8a9.system.entry.js → p-1fda4aec.system.entry.js} +116 -115
- package/dist/zonos-elements/{p-756d303f.system.entry.js → p-20eb00de.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-5967a1c1.system.entry.js → p-216a908d.system.entry.js} +5 -5
- package/dist/zonos-elements/p-25eb99d4.entry.js +1 -0
- package/dist/zonos-elements/{p-23352709.system.entry.js → p-2b63865a.system.entry.js} +4 -4
- package/dist/zonos-elements/{p-6db7c0b1.system.entry.js → p-2ca826b9.system.entry.js} +2 -2
- package/dist/zonos-elements/{p-6c41b00c.entry.js → p-2d513aa3.entry.js} +1 -1
- package/dist/zonos-elements/{p-c961caaf.entry.js → p-3e705c9b.entry.js} +1 -1
- package/dist/zonos-elements/{p-acd50b0b.entry.js → p-4612facd.entry.js} +1 -1
- package/dist/zonos-elements/{p-5b80aff2.system.entry.js → p-46a839d2.system.entry.js} +24 -24
- package/dist/zonos-elements/p-46b9f0cf.entry.js +1 -0
- package/dist/zonos-elements/{p-244e0302.system.entry.js → p-4715045c.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-d168023b.entry.js → p-4917b74d.entry.js} +1 -1
- package/dist/zonos-elements/{p-0b81f8b9.system.entry.js → p-53eac12f.system.entry.js} +14 -14
- package/dist/zonos-elements/{p-17c7ea4a.system.entry.js → p-55813e9f.system.entry.js} +3 -3
- package/dist/zonos-elements/{p-06030d3b.system.entry.js → p-5585db86.system.entry.js} +45 -45
- package/dist/zonos-elements/p-59fc32af.entry.js +1 -0
- package/dist/zonos-elements/{p-193d9722.entry.js → p-61312d5b.entry.js} +1 -1
- package/dist/zonos-elements/p-636b71d4.entry.js +1 -0
- package/dist/zonos-elements/{p-155ed3d3.system.entry.js → p-6410fa11.system.entry.js} +24 -24
- package/dist/zonos-elements/{p-0fca452b.entry.js → p-65817880.entry.js} +1 -1
- package/dist/zonos-elements/p-678b9214.entry.js +1 -0
- package/dist/zonos-elements/p-6e691736.entry.js +1 -0
- package/dist/zonos-elements/p-6vSUiBfr.system.js +348 -0
- package/dist/zonos-elements/p-74659d88.entry.js +1 -0
- package/dist/zonos-elements/p-7dc7f328.entry.js +1 -0
- package/dist/zonos-elements/{p-55916c90.entry.js → p-7f1bea9b.entry.js} +1 -1
- package/dist/zonos-elements/{p-1c150f26.entry.js → p-821e413a.entry.js} +1 -1
- package/dist/zonos-elements/{p-c403f004.system.entry.js → p-82e45d0c.system.entry.js} +1 -1
- package/dist/zonos-elements/p-84e76348.entry.js +1 -0
- package/dist/zonos-elements/{p-1409de3b.system.entry.js → p-88e20e99.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-195f6e38.system.entry.js → p-89a3c4db.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-4679f0ec.entry.js → p-8f9d8795.entry.js} +1 -1
- package/dist/zonos-elements/p-8fa6cfff.entry.js +1 -0
- package/dist/zonos-elements/{p-92fe9a1f.system.entry.js → p-902cca23.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-0a4a7742.system.entry.js → p-93860183.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-69c3e367.system.entry.js → p-941a95a1.system.entry.js} +10 -10
- package/dist/zonos-elements/{p-b5882fbb.system.entry.js → p-9449b4f4.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-6abec43f.system.entry.js → p-960070d0.system.entry.js} +3 -3
- package/dist/zonos-elements/{p-1bac5ac1.system.entry.js → p-990fcf81.system.entry.js} +1 -1
- package/dist/zonos-elements/p-BD-9rD53.js +1 -0
- package/dist/zonos-elements/p-BMPYH-LT.js +1 -0
- package/dist/zonos-elements/{p-DI2vXnXc.system.js → p-BrQ8n8NS.system.js} +3 -3
- package/dist/zonos-elements/p-Bu9WCfUC.system.js +2 -2
- package/dist/zonos-elements/{p-CUaf1cEg.js → p-C70h5mKA.js} +1 -1
- package/dist/zonos-elements/{p-B4Ufchqh.system.js → p-C9XLkmmb.system.js} +3 -3
- package/dist/zonos-elements/{p-CZD8WvyY.system.js → p-CBUz18kA.system.js} +1 -1
- package/dist/zonos-elements/{p-kaOxUR9u.system.js → p-CGNVm52g.system.js} +6 -6
- package/dist/zonos-elements/p-CHKKvuiz.js +1 -0
- package/dist/zonos-elements/{p-0mGRBGcf.js → p-CMo3ZweU.js} +1 -1
- package/dist/zonos-elements/p-CTiqplrr.js +1 -0
- package/dist/zonos-elements/p-CYxMfUL7.system.js +1 -0
- package/dist/zonos-elements/{p-D4MevhAL.system.js → p-CbhN65lj.system.js} +3 -3
- package/dist/zonos-elements/p-Ch1w0Lr7.js +1 -0
- package/dist/zonos-elements/{p-W82paT5F.js → p-CqB9AfBf.js} +1 -1
- package/dist/zonos-elements/p-CzKlS3E-.system.js +6 -0
- package/dist/zonos-elements/p-D1SmY_fZ.js +1 -0
- package/dist/zonos-elements/{p-sz4L-ZnB.js → p-D1e9zNDA.js} +1 -1
- package/dist/zonos-elements/{p-c9QtIdJX.js → p-D6xXnsM_.js} +1 -1
- package/dist/zonos-elements/{p-8PPEbm_0.system.js → p-DIab60nK.system.js} +12 -12
- package/dist/zonos-elements/{p-Cye-evFK.js → p-DMIgN_sT.js} +1 -1
- package/dist/zonos-elements/{p-CXxvn4GX.system.js → p-DQrMfUzi.system.js} +41 -41
- package/dist/zonos-elements/{p-BuU_p5DP.system.js → p-DTgUqgwV.system.js} +2 -2
- package/dist/zonos-elements/p-DW7I0zOF.js +1 -0
- package/dist/zonos-elements/p-DZdkJHK9.system.js +7 -0
- package/dist/zonos-elements/{p-XqkqjeNV.system.js → p-DgUrB-1a.system.js} +1 -1
- package/dist/zonos-elements/p-DiMEP3mh.js +1 -0
- package/dist/zonos-elements/p-DprOoI2W.system.js +528 -0
- package/dist/zonos-elements/{p-7abqRc9V.js → p-DpwmHU8R.js} +2 -2
- package/dist/zonos-elements/p-DqVePqqx.system.js +8 -0
- package/dist/zonos-elements/{p-Cby4EkFu.system.js → p-DsBuZ6ob.system.js} +2 -1
- package/dist/zonos-elements/{p-XDxdMlQl.system.js → p-Dtu_Japy.system.js} +39 -39
- package/dist/zonos-elements/p-Dwg61Ft_.js +1 -0
- package/dist/zonos-elements/p-U33isUJG.js +1 -0
- package/dist/zonos-elements/{p-Be3Hpms1.system.js → p-XoQH3S7Z.system.js} +1 -1
- package/dist/zonos-elements/{p-474e8a92.system.entry.js → p-a1022808.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-83aa1c8c.entry.js → p-ad04bba2.entry.js} +1 -1
- package/dist/zonos-elements/{p-a938c174.entry.js → p-b51010b9.entry.js} +1 -1
- package/dist/zonos-elements/{p-dfc87b10.system.entry.js → p-c33b8f6a.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-a40fd99b.system.entry.js → p-cccaad60.system.entry.js} +39 -40
- package/dist/zonos-elements/p-d3345b2c.entry.js +1 -0
- package/dist/zonos-elements/{p-249c1ee1.system.entry.js → p-d8f375da.system.entry.js} +3 -3
- package/dist/zonos-elements/{p-2603dce0.entry.js → p-e216cc8c.entry.js} +1 -1
- package/dist/zonos-elements/{p-b79036fc.entry.js → p-e7fdb2c9.entry.js} +1 -1
- package/dist/zonos-elements/p-ebe157b5.entry.js +1 -0
- package/dist/zonos-elements/p-ef5344ea.entry.js +1 -0
- package/dist/zonos-elements/{p-7f031592.system.entry.js → p-f3d9a380.system.entry.js} +73 -73
- package/dist/zonos-elements/{p-31043c2e.system.entry.js → p-f5f95990.system.entry.js} +296 -297
- package/dist/zonos-elements/p-fda89981.system.entry.js +13 -0
- package/dist/zonos-elements/{p-d4d2b39e.entry.js → p-fddf3556.entry.js} +1 -1
- package/dist/zonos-elements/p-iAIzUA4k.js +1 -0
- package/dist/zonos-elements/{p-BpDCLBwW.js → p-n5PZKz1k.js} +1 -1
- package/dist/zonos-elements/{p-DoEHepOc.system.js → p-ojtNq-r5.system.js} +1 -1
- package/dist/zonos-elements/{p-C_z9WL8a.js → p-r-YGHhLa.js} +1 -1
- package/dist/zonos-elements/{p-CBx5nYet.system.js → p-vTIygnHq.system.js} +1 -1
- package/dist/zonos-elements/{p-DQZncB2d.system.js → p-zsTASoh2.system.js} +3 -3
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/shouldRenderTaxIdInput-TxekHCp7.js +0 -43
- package/dist/esm/shouldRenderTaxIdInput-CKyZ6Zni.js +0 -40
- package/dist/esm/throttle-Cvlvb-dm.js +0 -85
- package/dist/esm-es5/debounce-CrmpwbEE.js +0 -1
- package/dist/esm-es5/getBorderRadius-DYfkeXdx.js +0 -8
- package/dist/esm-es5/localization-BIh-4pc_.js +0 -348
- package/dist/esm-es5/shouldRenderTaxIdInput-CKyZ6Zni.js +0 -17
- package/dist/esm-es5/throttle-Cvlvb-dm.js +0 -46
- package/dist/zonos-elements/p-06fe2939.entry.js +0 -1
- package/dist/zonos-elements/p-24f3c547.entry.js +0 -1
- package/dist/zonos-elements/p-30b3c9d3.entry.js +0 -1
- package/dist/zonos-elements/p-39ee1558.entry.js +0 -1
- package/dist/zonos-elements/p-3a2da031.entry.js +0 -1
- package/dist/zonos-elements/p-4806b264.system.entry.js +0 -13
- package/dist/zonos-elements/p-5873ab8e.entry.js +0 -1
- package/dist/zonos-elements/p-725e29bb.entry.js +0 -1
- package/dist/zonos-elements/p-BGktDPwA.system.js +0 -1
- package/dist/zonos-elements/p-Bi-s0fp_.system.js +0 -17
- package/dist/zonos-elements/p-CEK_Wk6v.system.js +0 -7
- package/dist/zonos-elements/p-CFbfEmjN.js +0 -1
- package/dist/zonos-elements/p-CcJF6xhQ.js +0 -1
- package/dist/zonos-elements/p-Cxuiqv1I.js +0 -1
- package/dist/zonos-elements/p-D-bZg-Pc.js +0 -1
- package/dist/zonos-elements/p-DOD2I44l.system.js +0 -348
- package/dist/zonos-elements/p-DS-qw_qc.system.js +0 -517
- package/dist/zonos-elements/p-DZ2mevDK.js +0 -1
- package/dist/zonos-elements/p-DnjGkbEy.js +0 -1
- package/dist/zonos-elements/p-FRWZayxL.js +0 -1
- package/dist/zonos-elements/p-Mrz_lnC1.js +0 -1
- package/dist/zonos-elements/p-ad9ff14c.entry.js +0 -1
- package/dist/zonos-elements/p-bb3546c0.entry.js +0 -1
- package/dist/zonos-elements/p-c1cbfdba.entry.js +0 -1
- package/dist/zonos-elements/p-c47ce656.entry.js +0 -1
- package/dist/zonos-elements/p-c9d5d8f1.entry.js +0 -1
- package/dist/zonos-elements/p-clDfq9AL.js +0 -1
- package/dist/zonos-elements/p-d74bc3e8.entry.js +0 -1
- package/dist/zonos-elements/p-d8b312e5.entry.js +0 -1
- package/dist/zonos-elements/p-db87b0dd.entry.js +0 -1
- package/dist/zonos-elements/p-defc2d18.entry.js +0 -1
- package/dist/zonos-elements/p-rVp8hgWw.js +0 -1
|
@@ -86,12 +86,21 @@ export declare const stringsRussian: {
|
|
|
86
86
|
'CPF/CNPJ number': {
|
|
87
87
|
value: string;
|
|
88
88
|
};
|
|
89
|
+
CURP: {
|
|
90
|
+
value: string;
|
|
91
|
+
};
|
|
89
92
|
Cancel: {
|
|
90
93
|
value: string;
|
|
91
94
|
};
|
|
92
95
|
'Card number copied to clipboard': {
|
|
93
96
|
value: string;
|
|
94
97
|
};
|
|
98
|
+
'Carn\u00E9 de extranjer\u00EDa': {
|
|
99
|
+
value: string;
|
|
100
|
+
};
|
|
101
|
+
'Carn\u00E9 de extranjer\u00EDa must be 9 digits.': {
|
|
102
|
+
value: string;
|
|
103
|
+
};
|
|
95
104
|
'Cart subtotal': {
|
|
96
105
|
value: string;
|
|
97
106
|
};
|
|
@@ -164,6 +173,12 @@ export declare const stringsRussian: {
|
|
|
164
173
|
'Customs fees total': {
|
|
165
174
|
value: string;
|
|
166
175
|
};
|
|
176
|
+
DNI: {
|
|
177
|
+
value: string;
|
|
178
|
+
};
|
|
179
|
+
'DNI must be 8 digits.': {
|
|
180
|
+
value: string;
|
|
181
|
+
};
|
|
167
182
|
Delivery: {
|
|
168
183
|
value: string;
|
|
169
184
|
};
|
|
@@ -311,7 +326,10 @@ export declare const stringsRussian: {
|
|
|
311
326
|
'Invalid CUIT/CUIL format. Must contain 11 digits, with or without dashes (XX-XXXXXXXX-X).': {
|
|
312
327
|
value: string;
|
|
313
328
|
};
|
|
314
|
-
'Invalid
|
|
329
|
+
'Invalid CURP format. Must be 18 uppercase letters and numbers.': {
|
|
330
|
+
value: string;
|
|
331
|
+
};
|
|
332
|
+
'Invalid RFC format. Must be 12\u201313 uppercase letters and numbers.': {
|
|
315
333
|
value: string;
|
|
316
334
|
};
|
|
317
335
|
'Invalid promo code': {
|
|
@@ -515,9 +533,18 @@ export declare const stringsRussian: {
|
|
|
515
533
|
Quantity: {
|
|
516
534
|
value: string;
|
|
517
535
|
};
|
|
536
|
+
RFC: {
|
|
537
|
+
value: string;
|
|
538
|
+
};
|
|
518
539
|
'RFC or CURP number': {
|
|
519
540
|
value: string;
|
|
520
541
|
};
|
|
542
|
+
RUC: {
|
|
543
|
+
value: string;
|
|
544
|
+
};
|
|
545
|
+
'RUC must be 11 digits.': {
|
|
546
|
+
value: string;
|
|
547
|
+
};
|
|
521
548
|
'Refund policy': {
|
|
522
549
|
value: string;
|
|
523
550
|
};
|
|
@@ -659,6 +686,12 @@ export declare const stringsRussian: {
|
|
|
659
686
|
'Tax id is required': {
|
|
660
687
|
value: string;
|
|
661
688
|
};
|
|
689
|
+
'Tax id type': {
|
|
690
|
+
value: string;
|
|
691
|
+
};
|
|
692
|
+
'Tax id type is required': {
|
|
693
|
+
value: string;
|
|
694
|
+
};
|
|
662
695
|
Taxes: {
|
|
663
696
|
value: string;
|
|
664
697
|
};
|
|
@@ -86,12 +86,21 @@ export declare const stringsSpanish: {
|
|
|
86
86
|
'CPF/CNPJ number': {
|
|
87
87
|
value: string;
|
|
88
88
|
};
|
|
89
|
+
CURP: {
|
|
90
|
+
value: string;
|
|
91
|
+
};
|
|
89
92
|
Cancel: {
|
|
90
93
|
value: string;
|
|
91
94
|
};
|
|
92
95
|
'Card number copied to clipboard': {
|
|
93
96
|
value: string;
|
|
94
97
|
};
|
|
98
|
+
'Carn\u00E9 de extranjer\u00EDa': {
|
|
99
|
+
value: string;
|
|
100
|
+
};
|
|
101
|
+
'Carn\u00E9 de extranjer\u00EDa must be 9 digits.': {
|
|
102
|
+
value: string;
|
|
103
|
+
};
|
|
95
104
|
'Cart subtotal': {
|
|
96
105
|
value: string;
|
|
97
106
|
};
|
|
@@ -164,6 +173,12 @@ export declare const stringsSpanish: {
|
|
|
164
173
|
'Customs fees total': {
|
|
165
174
|
value: string;
|
|
166
175
|
};
|
|
176
|
+
DNI: {
|
|
177
|
+
value: string;
|
|
178
|
+
};
|
|
179
|
+
'DNI must be 8 digits.': {
|
|
180
|
+
value: string;
|
|
181
|
+
};
|
|
167
182
|
Delivery: {
|
|
168
183
|
value: string;
|
|
169
184
|
};
|
|
@@ -311,7 +326,10 @@ export declare const stringsSpanish: {
|
|
|
311
326
|
'Invalid CUIT/CUIL format. Must contain 11 digits, with or without dashes (XX-XXXXXXXX-X).': {
|
|
312
327
|
value: string;
|
|
313
328
|
};
|
|
314
|
-
'Invalid
|
|
329
|
+
'Invalid CURP format. Must be 18 uppercase letters and numbers.': {
|
|
330
|
+
value: string;
|
|
331
|
+
};
|
|
332
|
+
'Invalid RFC format. Must be 12\u201313 uppercase letters and numbers.': {
|
|
315
333
|
value: string;
|
|
316
334
|
};
|
|
317
335
|
'Invalid promo code': {
|
|
@@ -515,9 +533,18 @@ export declare const stringsSpanish: {
|
|
|
515
533
|
Quantity: {
|
|
516
534
|
value: string;
|
|
517
535
|
};
|
|
536
|
+
RFC: {
|
|
537
|
+
value: string;
|
|
538
|
+
};
|
|
518
539
|
'RFC or CURP number': {
|
|
519
540
|
value: string;
|
|
520
541
|
};
|
|
542
|
+
RUC: {
|
|
543
|
+
value: string;
|
|
544
|
+
};
|
|
545
|
+
'RUC must be 11 digits.': {
|
|
546
|
+
value: string;
|
|
547
|
+
};
|
|
521
548
|
'Refund policy': {
|
|
522
549
|
value: string;
|
|
523
550
|
};
|
|
@@ -659,6 +686,12 @@ export declare const stringsSpanish: {
|
|
|
659
686
|
'Tax id is required': {
|
|
660
687
|
value: string;
|
|
661
688
|
};
|
|
689
|
+
'Tax id type': {
|
|
690
|
+
value: string;
|
|
691
|
+
};
|
|
692
|
+
'Tax id type is required': {
|
|
693
|
+
value: string;
|
|
694
|
+
};
|
|
662
695
|
Taxes: {
|
|
663
696
|
value: string;
|
|
664
697
|
};
|
|
@@ -86,12 +86,21 @@ export declare const stringsSwedish: {
|
|
|
86
86
|
'CPF/CNPJ number': {
|
|
87
87
|
value: string;
|
|
88
88
|
};
|
|
89
|
+
CURP: {
|
|
90
|
+
value: string;
|
|
91
|
+
};
|
|
89
92
|
Cancel: {
|
|
90
93
|
value: string;
|
|
91
94
|
};
|
|
92
95
|
'Card number copied to clipboard': {
|
|
93
96
|
value: string;
|
|
94
97
|
};
|
|
98
|
+
'Carn\u00E9 de extranjer\u00EDa': {
|
|
99
|
+
value: string;
|
|
100
|
+
};
|
|
101
|
+
'Carn\u00E9 de extranjer\u00EDa must be 9 digits.': {
|
|
102
|
+
value: string;
|
|
103
|
+
};
|
|
95
104
|
'Cart subtotal': {
|
|
96
105
|
value: string;
|
|
97
106
|
};
|
|
@@ -164,6 +173,12 @@ export declare const stringsSwedish: {
|
|
|
164
173
|
'Customs fees total': {
|
|
165
174
|
value: string;
|
|
166
175
|
};
|
|
176
|
+
DNI: {
|
|
177
|
+
value: string;
|
|
178
|
+
};
|
|
179
|
+
'DNI must be 8 digits.': {
|
|
180
|
+
value: string;
|
|
181
|
+
};
|
|
167
182
|
Delivery: {
|
|
168
183
|
value: string;
|
|
169
184
|
};
|
|
@@ -311,7 +326,10 @@ export declare const stringsSwedish: {
|
|
|
311
326
|
'Invalid CUIT/CUIL format. Must contain 11 digits, with or without dashes (XX-XXXXXXXX-X).': {
|
|
312
327
|
value: string;
|
|
313
328
|
};
|
|
314
|
-
'Invalid
|
|
329
|
+
'Invalid CURP format. Must be 18 uppercase letters and numbers.': {
|
|
330
|
+
value: string;
|
|
331
|
+
};
|
|
332
|
+
'Invalid RFC format. Must be 12\u201313 uppercase letters and numbers.': {
|
|
315
333
|
value: string;
|
|
316
334
|
};
|
|
317
335
|
'Invalid promo code': {
|
|
@@ -515,9 +533,18 @@ export declare const stringsSwedish: {
|
|
|
515
533
|
Quantity: {
|
|
516
534
|
value: string;
|
|
517
535
|
};
|
|
536
|
+
RFC: {
|
|
537
|
+
value: string;
|
|
538
|
+
};
|
|
518
539
|
'RFC or CURP number': {
|
|
519
540
|
value: string;
|
|
520
541
|
};
|
|
542
|
+
RUC: {
|
|
543
|
+
value: string;
|
|
544
|
+
};
|
|
545
|
+
'RUC must be 11 digits.': {
|
|
546
|
+
value: string;
|
|
547
|
+
};
|
|
521
548
|
'Refund policy': {
|
|
522
549
|
value: string;
|
|
523
550
|
};
|
|
@@ -659,6 +686,12 @@ export declare const stringsSwedish: {
|
|
|
659
686
|
'Tax id is required': {
|
|
660
687
|
value: string;
|
|
661
688
|
};
|
|
689
|
+
'Tax id type': {
|
|
690
|
+
value: string;
|
|
691
|
+
};
|
|
692
|
+
'Tax id type is required': {
|
|
693
|
+
value: string;
|
|
694
|
+
};
|
|
662
695
|
Taxes: {
|
|
663
696
|
value: string;
|
|
664
697
|
};
|
|
@@ -86,12 +86,21 @@ export declare const stringsTurkish: {
|
|
|
86
86
|
'CPF/CNPJ number': {
|
|
87
87
|
value: string;
|
|
88
88
|
};
|
|
89
|
+
CURP: {
|
|
90
|
+
value: string;
|
|
91
|
+
};
|
|
89
92
|
Cancel: {
|
|
90
93
|
value: string;
|
|
91
94
|
};
|
|
92
95
|
'Card number copied to clipboard': {
|
|
93
96
|
value: string;
|
|
94
97
|
};
|
|
98
|
+
'Carn\u00E9 de extranjer\u00EDa': {
|
|
99
|
+
value: string;
|
|
100
|
+
};
|
|
101
|
+
'Carn\u00E9 de extranjer\u00EDa must be 9 digits.': {
|
|
102
|
+
value: string;
|
|
103
|
+
};
|
|
95
104
|
'Cart subtotal': {
|
|
96
105
|
value: string;
|
|
97
106
|
};
|
|
@@ -164,6 +173,12 @@ export declare const stringsTurkish: {
|
|
|
164
173
|
'Customs fees total': {
|
|
165
174
|
value: string;
|
|
166
175
|
};
|
|
176
|
+
DNI: {
|
|
177
|
+
value: string;
|
|
178
|
+
};
|
|
179
|
+
'DNI must be 8 digits.': {
|
|
180
|
+
value: string;
|
|
181
|
+
};
|
|
167
182
|
Delivery: {
|
|
168
183
|
value: string;
|
|
169
184
|
};
|
|
@@ -311,7 +326,10 @@ export declare const stringsTurkish: {
|
|
|
311
326
|
'Invalid CUIT/CUIL format. Must contain 11 digits, with or without dashes (XX-XXXXXXXX-X).': {
|
|
312
327
|
value: string;
|
|
313
328
|
};
|
|
314
|
-
'Invalid
|
|
329
|
+
'Invalid CURP format. Must be 18 uppercase letters and numbers.': {
|
|
330
|
+
value: string;
|
|
331
|
+
};
|
|
332
|
+
'Invalid RFC format. Must be 12\u201313 uppercase letters and numbers.': {
|
|
315
333
|
value: string;
|
|
316
334
|
};
|
|
317
335
|
'Invalid promo code': {
|
|
@@ -515,9 +533,18 @@ export declare const stringsTurkish: {
|
|
|
515
533
|
Quantity: {
|
|
516
534
|
value: string;
|
|
517
535
|
};
|
|
536
|
+
RFC: {
|
|
537
|
+
value: string;
|
|
538
|
+
};
|
|
518
539
|
'RFC or CURP number': {
|
|
519
540
|
value: string;
|
|
520
541
|
};
|
|
542
|
+
RUC: {
|
|
543
|
+
value: string;
|
|
544
|
+
};
|
|
545
|
+
'RUC must be 11 digits.': {
|
|
546
|
+
value: string;
|
|
547
|
+
};
|
|
521
548
|
'Refund policy': {
|
|
522
549
|
value: string;
|
|
523
550
|
};
|
|
@@ -659,6 +686,12 @@ export declare const stringsTurkish: {
|
|
|
659
686
|
'Tax id is required': {
|
|
660
687
|
value: string;
|
|
661
688
|
};
|
|
689
|
+
'Tax id type': {
|
|
690
|
+
value: string;
|
|
691
|
+
};
|
|
692
|
+
'Tax id type is required': {
|
|
693
|
+
value: string;
|
|
694
|
+
};
|
|
662
695
|
Taxes: {
|
|
663
696
|
value: string;
|
|
664
697
|
};
|
|
@@ -86,12 +86,21 @@ export declare const stringsVietnamese: {
|
|
|
86
86
|
'CPF/CNPJ number': {
|
|
87
87
|
value: string;
|
|
88
88
|
};
|
|
89
|
+
CURP: {
|
|
90
|
+
value: string;
|
|
91
|
+
};
|
|
89
92
|
Cancel: {
|
|
90
93
|
value: string;
|
|
91
94
|
};
|
|
92
95
|
'Card number copied to clipboard': {
|
|
93
96
|
value: string;
|
|
94
97
|
};
|
|
98
|
+
'Carn\u00E9 de extranjer\u00EDa': {
|
|
99
|
+
value: string;
|
|
100
|
+
};
|
|
101
|
+
'Carn\u00E9 de extranjer\u00EDa must be 9 digits.': {
|
|
102
|
+
value: string;
|
|
103
|
+
};
|
|
95
104
|
'Cart subtotal': {
|
|
96
105
|
value: string;
|
|
97
106
|
};
|
|
@@ -164,6 +173,12 @@ export declare const stringsVietnamese: {
|
|
|
164
173
|
'Customs fees total': {
|
|
165
174
|
value: string;
|
|
166
175
|
};
|
|
176
|
+
DNI: {
|
|
177
|
+
value: string;
|
|
178
|
+
};
|
|
179
|
+
'DNI must be 8 digits.': {
|
|
180
|
+
value: string;
|
|
181
|
+
};
|
|
167
182
|
Delivery: {
|
|
168
183
|
value: string;
|
|
169
184
|
};
|
|
@@ -311,7 +326,10 @@ export declare const stringsVietnamese: {
|
|
|
311
326
|
'Invalid CUIT/CUIL format. Must contain 11 digits, with or without dashes (XX-XXXXXXXX-X).': {
|
|
312
327
|
value: string;
|
|
313
328
|
};
|
|
314
|
-
'Invalid
|
|
329
|
+
'Invalid CURP format. Must be 18 uppercase letters and numbers.': {
|
|
330
|
+
value: string;
|
|
331
|
+
};
|
|
332
|
+
'Invalid RFC format. Must be 12\u201313 uppercase letters and numbers.': {
|
|
315
333
|
value: string;
|
|
316
334
|
};
|
|
317
335
|
'Invalid promo code': {
|
|
@@ -515,9 +533,18 @@ export declare const stringsVietnamese: {
|
|
|
515
533
|
Quantity: {
|
|
516
534
|
value: string;
|
|
517
535
|
};
|
|
536
|
+
RFC: {
|
|
537
|
+
value: string;
|
|
538
|
+
};
|
|
518
539
|
'RFC or CURP number': {
|
|
519
540
|
value: string;
|
|
520
541
|
};
|
|
542
|
+
RUC: {
|
|
543
|
+
value: string;
|
|
544
|
+
};
|
|
545
|
+
'RUC must be 11 digits.': {
|
|
546
|
+
value: string;
|
|
547
|
+
};
|
|
521
548
|
'Refund policy': {
|
|
522
549
|
value: string;
|
|
523
550
|
};
|
|
@@ -659,6 +686,12 @@ export declare const stringsVietnamese: {
|
|
|
659
686
|
'Tax id is required': {
|
|
660
687
|
value: string;
|
|
661
688
|
};
|
|
689
|
+
'Tax id type': {
|
|
690
|
+
value: string;
|
|
691
|
+
};
|
|
692
|
+
'Tax id type is required': {
|
|
693
|
+
value: string;
|
|
694
|
+
};
|
|
662
695
|
Taxes: {
|
|
663
696
|
value: string;
|
|
664
697
|
};
|
|
@@ -93,4 +93,5 @@ declare const zonosStoreInitSetting: ({ overrideSettings, zonosSettings, }: {
|
|
|
93
93
|
zonosSettings: ZonosSettings | null;
|
|
94
94
|
}) => void;
|
|
95
95
|
declare const zonosStoreFontFamily: () => string;
|
|
96
|
-
|
|
96
|
+
declare const getShouldRequirePeruTaxId: () => boolean;
|
|
97
|
+
export { getShouldRequirePeruTaxId, getZonosStoreTheme, zonosStore, zonosStoreDispose, zonosStoreFontFamily, zonosStoreInitSetting, zonosStoreOnChange, };
|
|
@@ -18,6 +18,10 @@ export declare class ZonosAddress {
|
|
|
18
18
|
* Default address for stripe
|
|
19
19
|
*/
|
|
20
20
|
defaultAddress: ContactOption[];
|
|
21
|
+
/**
|
|
22
|
+
* Which tax id control the error belongs on. Empty when there is no error.
|
|
23
|
+
*/
|
|
24
|
+
taxIdErrorField: 'type' | 'value' | '';
|
|
21
25
|
/**
|
|
22
26
|
* Error message for tax id input
|
|
23
27
|
*/
|
|
@@ -64,7 +68,6 @@ export declare class ZonosAddress {
|
|
|
64
68
|
private updateAddressElement;
|
|
65
69
|
watchInitStripe(): Promise<void>;
|
|
66
70
|
defaultAddressChanged(newAddress: ContactOption[], oldAddress: ContactOption[]): void;
|
|
67
|
-
private isInTaxIdCountry;
|
|
68
71
|
/**
|
|
69
72
|
* Render tax id input based on ship to country code
|
|
70
73
|
*/
|
|
@@ -18,6 +18,10 @@ export declare class ZonosAddress {
|
|
|
18
18
|
* Default address for stripe
|
|
19
19
|
*/
|
|
20
20
|
defaultAddress: ContactOption[];
|
|
21
|
+
/**
|
|
22
|
+
* Which tax id control the error belongs on. Empty when there is no error.
|
|
23
|
+
*/
|
|
24
|
+
taxIdErrorField: 'type' | 'value' | '';
|
|
21
25
|
/**
|
|
22
26
|
* Error message for tax id input
|
|
23
27
|
*/
|
|
@@ -133,7 +137,6 @@ export declare class ZonosAddress {
|
|
|
133
137
|
private getIsComplete;
|
|
134
138
|
private throttledGetAddressSuggestions;
|
|
135
139
|
private setCustomAddressFormToStripeAddressEventData;
|
|
136
|
-
private isInTaxIdCountry;
|
|
137
140
|
/**
|
|
138
141
|
* Render tax id input based on ship to country code
|
|
139
142
|
*/
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { CheckoutTaxIdTypeValue } from "../../../types/checkout/TaxId";
|
|
2
|
+
/** Tax id to send for the destination, or null while the field is hidden. */
|
|
3
|
+
export declare const getCheckoutTaxIdPayload: (countryCode: string) => {
|
|
4
|
+
taxId: string;
|
|
5
|
+
taxIdType?: CheckoutTaxIdTypeValue;
|
|
6
|
+
} | null;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { TaxIdErrorField } from "../../../types/checkout/TaxId";
|
|
2
|
+
export type { TaxIdErrorField };
|
|
3
|
+
export declare const getTaxIdFieldState: ({ companyName, countryCode, errorField, errorMessage, shouldRequirePeruTaxId, taxIdType, }: {
|
|
4
|
+
companyName: string;
|
|
5
|
+
countryCode: string;
|
|
6
|
+
errorField: TaxIdErrorField | "";
|
|
7
|
+
errorMessage: string;
|
|
8
|
+
shouldRequirePeruTaxId: boolean;
|
|
9
|
+
taxIdType: string;
|
|
10
|
+
}) => {
|
|
11
|
+
inputLabel: "CURP" | "DNI" | "RFC" | "CPF/CNPJ number" | "Carné de extranjería" | "EORI number" | "Personal Customers Clearance Code" | "RFC or CURP number" | "RUC" | "Unique Labor Identification Code" | undefined;
|
|
12
|
+
inputPlaceholder: "00-00000000-0" | "DE123456789" | "000.000.000-00" | "000-00-00000" | "XAXX010101000" | "AAAA800101HDFRRR09" | "12345678" | "20123456789" | "001234567" | undefined;
|
|
13
|
+
selectedValue: string;
|
|
14
|
+
showValueInput: boolean;
|
|
15
|
+
typeError: string;
|
|
16
|
+
typeOptions: readonly import("src/types/checkout/TaxId").TaxIdTypeOption[] | null;
|
|
17
|
+
valueError: string;
|
|
18
|
+
} | null;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/** Whether the field is showing, and which of this country's types is selected. */
|
|
2
|
+
export declare const resolveTaxIdSelection: ({ companyName, countryCode, shouldRequirePeruTaxId, taxIdType, }: {
|
|
3
|
+
companyName: string;
|
|
4
|
+
countryCode: string;
|
|
5
|
+
shouldRequirePeruTaxId: boolean;
|
|
6
|
+
taxIdType: string;
|
|
7
|
+
}) => {
|
|
8
|
+
rendered: boolean;
|
|
9
|
+
selectedType: import("../../..").TaxIdTypeOption | null;
|
|
10
|
+
send: boolean;
|
|
11
|
+
typeOptions: readonly import("../../..").TaxIdTypeOption[] | null;
|
|
12
|
+
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Checks if the tax ID input should be rendered based on the company name and country code.
|
|
3
3
|
*/
|
|
4
|
-
export declare const shouldRenderTaxIdInput: ({ companyName, countryCode, }: {
|
|
4
|
+
export declare const shouldRenderTaxIdInput: ({ companyName, countryCode, shouldRequirePeruTaxId, }: {
|
|
5
5
|
companyName: string;
|
|
6
6
|
countryCode: string;
|
|
7
|
+
shouldRequirePeruTaxId: boolean;
|
|
7
8
|
}) => boolean;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { TaxIdErrorField } from "../../../types/checkout/TaxId";
|
|
2
|
+
export declare const renderTaxIdFields: ({ companyName, countryCode, errorField, errorMessage, onTaxIdChange, shouldRequirePeruTaxId, taxId, taxIdType, }: {
|
|
3
|
+
companyName: string;
|
|
4
|
+
countryCode: string;
|
|
5
|
+
errorField: TaxIdErrorField | "";
|
|
6
|
+
errorMessage: string;
|
|
7
|
+
onTaxIdChange?: (value: string) => void;
|
|
8
|
+
shouldRequirePeruTaxId: boolean;
|
|
9
|
+
taxId: string;
|
|
10
|
+
taxIdType: string;
|
|
11
|
+
}) => any;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { type CheckoutTaxIdTypeValue, type MexicoTaxIdType, type PeruTaxIdType, type TaxIdTypeOption } from "../../../types/checkout/TaxId";
|
|
2
|
+
export declare const stripTaxIdSeparators: (taxId: string) => string;
|
|
3
|
+
export declare const rfcRegex: RegExp;
|
|
4
|
+
export declare const curpRegex: RegExp;
|
|
5
|
+
export declare const isMexicoTaxIdType: (taxIdType: string) => taxIdType is MexicoTaxIdType;
|
|
6
|
+
export declare const isPeruTaxIdType: (taxIdType: string) => taxIdType is PeruTaxIdType;
|
|
7
|
+
export declare const isCheckoutTaxIdTypeValue: (taxIdType: string) => taxIdType is CheckoutTaxIdTypeValue;
|
|
8
|
+
/** 8 digits are a DNI, 9 a carné, 11 an RUC. Anything else is not a Peru tax id. */
|
|
9
|
+
export declare const peruTaxIdTypeFromValue: (taxId: string) => PeruTaxIdType | null;
|
|
10
|
+
export declare const isPeruTaxIdActive: ({ countryCode, shouldRequirePeruTaxId, }: {
|
|
11
|
+
countryCode: string;
|
|
12
|
+
shouldRequirePeruTaxId: boolean;
|
|
13
|
+
}) => boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Peru stays off `countryRequireTaxId`. The API flag decides which stores see it.
|
|
16
|
+
* Mexico and Peru pick the kind from a dropdown instead of a regex.
|
|
17
|
+
*/
|
|
18
|
+
export declare const taxIdTypeOptionsForCheckout: ({ countryCode, shouldRequirePeruTaxId, }: {
|
|
19
|
+
countryCode: string;
|
|
20
|
+
shouldRequirePeruTaxId: boolean;
|
|
21
|
+
}) => readonly TaxIdTypeOption[] | null;
|
|
22
|
+
export declare const taxIdLabelForCheckout: (countryCode: string) => {
|
|
23
|
+
readonly friendlyName: "Unique Labor Identification Code";
|
|
24
|
+
readonly placeholder: "00-00000000-0";
|
|
25
|
+
} | {
|
|
26
|
+
readonly friendlyName: "EORI number";
|
|
27
|
+
readonly placeholder: "DE123456789";
|
|
28
|
+
} | {
|
|
29
|
+
readonly friendlyName: "CPF/CNPJ number";
|
|
30
|
+
readonly placeholder: "000.000.000-00";
|
|
31
|
+
} | {
|
|
32
|
+
readonly friendlyName: "Personal Customers Clearance Code";
|
|
33
|
+
readonly placeholder: "000-00-00000";
|
|
34
|
+
} | {
|
|
35
|
+
readonly friendlyName: "RFC or CURP number";
|
|
36
|
+
readonly placeholder: "XAXX010101000";
|
|
37
|
+
} | null;
|
|
@@ -1,13 +1,19 @@
|
|
|
1
|
+
import { type PeruTaxIdType, type TaxIdErrorField, peruTaxIdFormatError } from "../../types/checkout/TaxId";
|
|
2
|
+
type TaxIdValidationError = 'Tax id is required' | 'Tax id type is required' | 'Invalid CURP format. Must be 18 uppercase letters and numbers.' | 'Invalid RFC format. Must be 12–13 uppercase letters and numbers.' | 'Invalid CUIT/CUIL format. Must contain 11 digits, with or without dashes (XX-XXXXXXXX-X).' | (typeof peruTaxIdFormatError)[PeruTaxIdType];
|
|
1
3
|
type TaxIdValidationResult = {
|
|
2
|
-
error:
|
|
4
|
+
error: TaxIdValidationError;
|
|
5
|
+
field: TaxIdErrorField;
|
|
3
6
|
valid: false;
|
|
4
7
|
} | {
|
|
5
8
|
error: null;
|
|
9
|
+
field: null;
|
|
6
10
|
valid: true;
|
|
7
11
|
};
|
|
8
|
-
export declare const taxIdValidationResult: ({ companyName, shippingCountry, taxId, }: {
|
|
12
|
+
export declare const taxIdValidationResult: ({ companyName, shippingCountry, shouldRequirePeruTaxId, taxId, taxIdType, }: {
|
|
9
13
|
companyName: string;
|
|
10
14
|
shippingCountry: string;
|
|
15
|
+
shouldRequirePeruTaxId: boolean;
|
|
11
16
|
taxId: string;
|
|
17
|
+
taxIdType: string;
|
|
12
18
|
}) => TaxIdValidationResult;
|
|
13
19
|
export {};
|
|
@@ -73,6 +73,11 @@ export namespace Components {
|
|
|
73
73
|
* @default ''
|
|
74
74
|
*/
|
|
75
75
|
"shortAddressCodeErrorMessage": string;
|
|
76
|
+
/**
|
|
77
|
+
* Which tax id control the error belongs on. Empty when there is no error.
|
|
78
|
+
* @default ''
|
|
79
|
+
*/
|
|
80
|
+
"taxIdErrorField": 'type' | 'value' | '';
|
|
76
81
|
/**
|
|
77
82
|
* Error message for tax id input
|
|
78
83
|
* @default ''
|
|
@@ -839,6 +844,11 @@ export namespace Components {
|
|
|
839
844
|
* @default ''
|
|
840
845
|
*/
|
|
841
846
|
"shortAddressCodeErrorMessage": string;
|
|
847
|
+
/**
|
|
848
|
+
* Which tax id control the error belongs on. Empty when there is no error.
|
|
849
|
+
* @default ''
|
|
850
|
+
*/
|
|
851
|
+
"taxIdErrorField": 'type' | 'value' | '';
|
|
842
852
|
/**
|
|
843
853
|
* Error message for tax id input
|
|
844
854
|
* @default ''
|
|
@@ -2792,6 +2802,11 @@ declare namespace LocalJSX {
|
|
|
2792
2802
|
* @default ''
|
|
2793
2803
|
*/
|
|
2794
2804
|
"shortAddressCodeErrorMessage"?: string;
|
|
2805
|
+
/**
|
|
2806
|
+
* Which tax id control the error belongs on. Empty when there is no error.
|
|
2807
|
+
* @default ''
|
|
2808
|
+
*/
|
|
2809
|
+
"taxIdErrorField"?: 'type' | 'value' | '';
|
|
2795
2810
|
/**
|
|
2796
2811
|
* Error message for tax id input
|
|
2797
2812
|
* @default ''
|
|
@@ -3593,6 +3608,11 @@ declare namespace LocalJSX {
|
|
|
3593
3608
|
* @default ''
|
|
3594
3609
|
*/
|
|
3595
3610
|
"shortAddressCodeErrorMessage"?: string;
|
|
3611
|
+
/**
|
|
3612
|
+
* Which tax id control the error belongs on. Empty when there is no error.
|
|
3613
|
+
* @default ''
|
|
3614
|
+
*/
|
|
3615
|
+
"taxIdErrorField"?: 'type' | 'value' | '';
|
|
3596
3616
|
/**
|
|
3597
3617
|
* Error message for tax id input
|
|
3598
3618
|
* @default ''
|
|
@@ -4534,6 +4554,7 @@ declare namespace LocalJSX {
|
|
|
4534
4554
|
interface ZonosAddressAttributes {
|
|
4535
4555
|
"type": 'billing' | 'shipping';
|
|
4536
4556
|
"titleText": string;
|
|
4557
|
+
"taxIdErrorField": 'type' | 'value' | '';
|
|
4537
4558
|
"taxIdErrorMessage": string;
|
|
4538
4559
|
"shortAddressCodeErrorMessage": string;
|
|
4539
4560
|
}
|
|
@@ -4707,6 +4728,7 @@ declare namespace LocalJSX {
|
|
|
4707
4728
|
interface ZonosCustomAddressAttributes {
|
|
4708
4729
|
"type": 'billing' | 'shipping';
|
|
4709
4730
|
"titleText": string;
|
|
4731
|
+
"taxIdErrorField": 'type' | 'value' | '';
|
|
4710
4732
|
"taxIdErrorMessage": string;
|
|
4711
4733
|
"shortAddressCodeErrorMessage": string;
|
|
4712
4734
|
}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -140,3 +140,48 @@ export declare const shipToTaxIdLabels: {
|
|
|
140
140
|
readonly placeholder: "DE123456789";
|
|
141
141
|
};
|
|
142
142
|
};
|
|
143
|
+
export declare const isCountryRequireTaxId: (countryCode: string) => countryCode is CountryRequireTaxId;
|
|
144
|
+
export type TaxIdErrorField = 'type' | 'value';
|
|
145
|
+
export declare const taxIdTypeOptions: {
|
|
146
|
+
readonly MX: readonly [{
|
|
147
|
+
readonly label: "RFC";
|
|
148
|
+
readonly placeholder: "XAXX010101000";
|
|
149
|
+
readonly value: "RFC";
|
|
150
|
+
}, {
|
|
151
|
+
readonly label: "CURP";
|
|
152
|
+
readonly placeholder: "AAAA800101HDFRRR09";
|
|
153
|
+
readonly value: "CURP";
|
|
154
|
+
}];
|
|
155
|
+
readonly PE: readonly [{
|
|
156
|
+
readonly label: "DNI";
|
|
157
|
+
readonly placeholder: "12345678";
|
|
158
|
+
readonly value: "DNI";
|
|
159
|
+
}, {
|
|
160
|
+
readonly label: "RUC";
|
|
161
|
+
readonly placeholder: "20123456789";
|
|
162
|
+
readonly value: "RUC";
|
|
163
|
+
}, {
|
|
164
|
+
readonly label: "Carné de extranjería";
|
|
165
|
+
readonly placeholder: "001234567";
|
|
166
|
+
readonly value: "CE";
|
|
167
|
+
}];
|
|
168
|
+
};
|
|
169
|
+
export type TaxIdTypeOption = (typeof taxIdTypeOptions.MX)[number] | (typeof taxIdTypeOptions.PE)[number];
|
|
170
|
+
export type MexicoTaxIdType = (typeof taxIdTypeOptions.MX)[number]['value'];
|
|
171
|
+
export type PeruTaxIdType = (typeof taxIdTypeOptions.PE)[number]['value'];
|
|
172
|
+
declare const checkoutTaxIdTypeValueList: readonly ["CE", "CURP", "DNI", "RFC", "RUC"];
|
|
173
|
+
type AssertEveryCheckoutTaxIdType<T extends readonly TaxIdTypeOption['value'][]> = Exclude<TaxIdTypeOption['value'], T[number]> extends never ? T : never;
|
|
174
|
+
/** Every document kind checkout can send. Older clients omit the field. */
|
|
175
|
+
export declare const checkoutTaxIdTypeValues: AssertEveryCheckoutTaxIdType<typeof checkoutTaxIdTypeValueList>;
|
|
176
|
+
export type CheckoutTaxIdTypeValue = (typeof checkoutTaxIdTypeValues)[number];
|
|
177
|
+
export declare const peruTaxIdDigitLength: {
|
|
178
|
+
readonly CE: 9;
|
|
179
|
+
readonly DNI: 8;
|
|
180
|
+
readonly RUC: 11;
|
|
181
|
+
};
|
|
182
|
+
export declare const peruTaxIdFormatError: {
|
|
183
|
+
readonly CE: "Carné de extranjería must be 9 digits.";
|
|
184
|
+
readonly DNI: "DNI must be 8 digits.";
|
|
185
|
+
readonly RUC: "RUC must be 11 digits.";
|
|
186
|
+
};
|
|
187
|
+
export {};
|