@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.
Files changed (388) hide show
  1. package/dist/cjs/{TaxId-Q6aDqqWv.js → TaxId-ChhNwG04.js} +36 -0
  2. package/dist/cjs/{cart-B6Aty-21.js → cart-CiXlehwQ.js} +88 -52
  3. package/dist/cjs/{collect-DnrvaXUI.js → collect-Drr8fY-q.js} +3 -3
  4. package/dist/cjs/{debounce-Cd2emZPn.js → debounce-BhgA8_3W.js} +2 -2
  5. package/dist/cjs/{debounce-vY0QYT6o.js → debounce-DRPMxNew.js} +1 -1
  6. package/dist/cjs/{getBorderRadius-CyYZw4qq.js → getBorderRadius-CJ_95w3o.js} +1 -1
  7. package/dist/cjs/{getMissingRequiredShippingFields-D03ICqss.js → getMissingRequiredShippingFields-DI6qF1z3.js} +1 -1
  8. package/dist/cjs/{hasInclusivePrice-CPCoVeU3.js → hasInclusivePrice-84KS94yH.js} +1 -1
  9. package/dist/cjs/index.cjs.js +19 -8
  10. package/dist/cjs/{invoice-Cj8W7NW0.js → invoice-5hVfSXpb.js} +3 -3
  11. package/dist/cjs/loader.cjs.js +1 -1
  12. package/dist/cjs/{localization-BzNeXeDe.js → localization-B2mjW0Xa.js} +701 -41
  13. package/dist/cjs/{paypal-CuKshRmZ.js → paypal-pd8Nz_R_.js} +4 -4
  14. package/dist/cjs/{placeTestOrder-7czjwkjm.js → placeTestOrder-DrI8rD9o.js} +2 -2
  15. package/dist/cjs/{renderCheckoutCurrency-BH8t2b2x.js → renderCheckoutCurrency-u5q8YdUb.js} +2 -2
  16. package/dist/cjs/shouldRenderShortAddressCodeInput-gpu_bMfp.js +21 -0
  17. package/dist/cjs/{shouldShowLanguageSelect-yAbtCmd8.js → shouldShowLanguageSelect-gBg4KeTQ.js} +1 -1
  18. package/dist/cjs/{submitGtag-D79e8u6s.js → submitGtag-Rc-S3PnH.js} +1 -1
  19. package/dist/cjs/{throttle-zSVRQLC0.js → taxIdFields-BrIaPTcd.js} +57 -2
  20. package/dist/cjs/taxIdRules-BBj8kQxJ.js +58 -0
  21. package/dist/cjs/{updateCheckoutSessionAttributes-jMtfOL2m.js → updateCheckoutSessionAttributes-d0IKpwW8.js} +1 -1
  22. package/dist/cjs/zonos-address-completion-dialog_7.cjs.entry.js +25 -30
  23. package/dist/cjs/zonos-address-display_2.cjs.entry.js +3 -3
  24. package/dist/cjs/zonos-address_4.cjs.entry.js +27 -30
  25. package/dist/cjs/zonos-airwallex-payment.cjs.entry.js +7 -6
  26. package/dist/cjs/zonos-badge.cjs.entry.js +1 -1
  27. package/dist/cjs/zonos-banner.cjs.entry.js +1 -1
  28. package/dist/cjs/zonos-button_3.cjs.entry.js +2 -2
  29. package/dist/cjs/zonos-card_5.cjs.entry.js +8 -7
  30. package/dist/cjs/zonos-cart-items_12.cjs.entry.js +83 -78
  31. package/dist/cjs/zonos-checkbox_2.cjs.entry.js +2 -2
  32. package/dist/cjs/zonos-checkout.cjs.entry.js +11 -10
  33. package/dist/cjs/zonos-collapse.cjs.entry.js +1 -1
  34. package/dist/cjs/zonos-collect-cart-items_3.cjs.entry.js +6 -5
  35. package/dist/cjs/zonos-collect-finish_6.cjs.entry.js +12 -11
  36. package/dist/cjs/zonos-collect.cjs.entry.js +9 -8
  37. package/dist/cjs/zonos-controller.cjs.entry.js +7 -6
  38. package/dist/cjs/zonos-country-flag.cjs.entry.js +2 -2
  39. package/dist/cjs/zonos-country-select_4.cjs.entry.js +3 -3
  40. package/dist/cjs/zonos-elements.cjs.js +1 -1
  41. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +4 -4
  42. package/dist/cjs/zonos-hello.cjs.entry.js +4 -4
  43. package/dist/cjs/zonos-input.cjs.entry.js +2 -2
  44. package/dist/cjs/zonos-invoice-cart-items_2.cjs.entry.js +8 -7
  45. package/dist/cjs/zonos-invoice-finish_5.cjs.entry.js +12 -11
  46. package/dist/cjs/zonos-invoice.cjs.entry.js +9 -8
  47. package/dist/cjs/zonos-language-select_2.cjs.entry.js +2 -2
  48. package/dist/cjs/zonos-logo.cjs.entry.js +1 -1
  49. package/dist/cjs/zonos-policy-consent_2.cjs.entry.js +7 -6
  50. package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +2 -2
  51. package/dist/cjs/zonos-stripe-input.cjs.entry.js +2 -2
  52. package/dist/cjs/zonos-text.cjs.entry.js +1 -1
  53. package/dist/cjs/zonos-v-stack.cjs.entry.js +1 -1
  54. package/dist/cjs/{zonosStore-Bx9jK82G.js → zonosStore-CDV83QyK.js} +2 -0
  55. package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.js +12 -4
  56. package/dist/collection/components/store/checkout/stripe.js +10 -12
  57. package/dist/collection/components/store/translationStore/strings.arabic.js +35 -2
  58. package/dist/collection/components/store/translationStore/strings.base.js +35 -2
  59. package/dist/collection/components/store/translationStore/strings.chinese.js +35 -2
  60. package/dist/collection/components/store/translationStore/strings.danish.js +35 -2
  61. package/dist/collection/components/store/translationStore/strings.dutch.js +35 -2
  62. package/dist/collection/components/store/translationStore/strings.french.js +35 -2
  63. package/dist/collection/components/store/translationStore/strings.german.js +35 -2
  64. package/dist/collection/components/store/translationStore/strings.hebrew.js +35 -2
  65. package/dist/collection/components/store/translationStore/strings.indonesian.js +35 -2
  66. package/dist/collection/components/store/translationStore/strings.italian.js +35 -2
  67. package/dist/collection/components/store/translationStore/strings.japanese.js +35 -2
  68. package/dist/collection/components/store/translationStore/strings.korean.js +35 -2
  69. package/dist/collection/components/store/translationStore/strings.norwegian.js +35 -2
  70. package/dist/collection/components/store/translationStore/strings.polish.js +35 -2
  71. package/dist/collection/components/store/translationStore/strings.portuguese.js +35 -2
  72. package/dist/collection/components/store/translationStore/strings.russian.js +35 -2
  73. package/dist/collection/components/store/translationStore/strings.spanish.js +35 -2
  74. package/dist/collection/components/store/translationStore/strings.swedish.js +35 -2
  75. package/dist/collection/components/store/translationStore/strings.turkish.js +35 -2
  76. package/dist/collection/components/store/translationStore/strings.vietnamese.js +35 -2
  77. package/dist/collection/components/store/zonosStore.js +2 -1
  78. package/dist/collection/components/stripe/zonos-address/zonos-address.css +5 -0
  79. package/dist/collection/components/stripe/zonos-address/zonos-address.js +37 -22
  80. package/dist/collection/components/stripe/zonos-custom-address/zonos-custom-address.css +5 -0
  81. package/dist/collection/components/stripe/zonos-custom-address/zonos-custom-address.js +34 -21
  82. package/dist/collection/components/utils/api/prepCalculateLandedCost.js +24 -35
  83. package/dist/collection/components/utils/checkout/getCheckoutTaxIdPayload.js +16 -0
  84. package/dist/collection/components/utils/checkout/getTaxIdFieldState.js +26 -0
  85. package/dist/collection/components/utils/checkout/resolveTaxIdSelection.js +23 -0
  86. package/dist/collection/components/utils/checkout/shouldRenderTaxIdInput.js +7 -11
  87. package/dist/collection/components/utils/checkout/taxIdFields.js +29 -0
  88. package/dist/collection/components/utils/taxId/taxIdRules.js +44 -0
  89. package/dist/collection/components/utils/taxIdValidationResult.js +57 -58
  90. package/dist/collection/index.js +1 -0
  91. package/dist/collection/types/checkout/TaxId.js +31 -0
  92. package/dist/esm/{TaxId-Cye-evFK.js → TaxId-DMIgN_sT.js} +32 -1
  93. package/dist/esm/{cart-BoQp8Ema.js → cart-DmJkjiDE.js} +88 -53
  94. package/dist/esm/{collect-Eo4gtyql.js → collect-BV5GTPmh.js} +3 -3
  95. package/dist/esm/{debounce-BR3PaG8X.js → debounce-DHj2iHA1.js} +1 -1
  96. package/dist/esm/{debounce-CrmpwbEE.js → debounce-DWqMT4lo.js} +2 -2
  97. package/dist/esm/{getBorderRadius-DYfkeXdx.js → getBorderRadius-BiGd45jw.js} +1 -1
  98. package/dist/esm/{getMissingRequiredShippingFields-Ks6_tpjn.js → getMissingRequiredShippingFields-DljgpDZe.js} +1 -1
  99. package/dist/esm/{hasInclusivePrice-CbEfIhI5.js → hasInclusivePrice-DhGXpH2D.js} +1 -1
  100. package/dist/esm/index.js +9 -8
  101. package/dist/esm/{invoice-S1KahJ_Z.js → invoice-CO-iqlni.js} +3 -3
  102. package/dist/esm/loader.js +1 -1
  103. package/dist/esm/{localization-BIh-4pc_.js → localization-DHM91diu.js} +701 -41
  104. package/dist/esm/{paypal-DNfvnuUU.js → paypal-BfW5aLJw.js} +4 -4
  105. package/dist/esm/{placeTestOrder-CQaMKFOg.js → placeTestOrder-CyWUFhxD.js} +2 -2
  106. package/dist/esm/{renderCheckoutCurrency-C2Tw73uR.js → renderCheckoutCurrency-B31ZNkUv.js} +2 -2
  107. package/dist/esm/shouldRenderShortAddressCodeInput-Bc8k2vN0.js +19 -0
  108. package/dist/esm/{shouldShowLanguageSelect-CCD7gpSY.js → shouldShowLanguageSelect-DwSfSHar.js} +1 -1
  109. package/dist/esm/{submitGtag-df9AQ2zL.js → submitGtag-BEFrutel.js} +1 -1
  110. package/dist/esm/taxIdFields-ByEYfsO5.js +139 -0
  111. package/dist/esm/taxIdRules-xYlx7ZXW.js +47 -0
  112. package/dist/esm/{updateCheckoutSessionAttributes-4Jq6V4pO.js → updateCheckoutSessionAttributes-B0bQH0uw.js} +1 -1
  113. package/dist/esm/zonos-address-completion-dialog_7.entry.js +23 -28
  114. package/dist/esm/zonos-address-display_2.entry.js +3 -3
  115. package/dist/esm/zonos-address_4.entry.js +25 -28
  116. package/dist/esm/zonos-airwallex-payment.entry.js +7 -6
  117. package/dist/esm/zonos-badge.entry.js +1 -1
  118. package/dist/esm/zonos-banner.entry.js +1 -1
  119. package/dist/esm/zonos-button_3.entry.js +2 -2
  120. package/dist/esm/zonos-card_5.entry.js +8 -7
  121. package/dist/esm/zonos-cart-items_12.entry.js +82 -77
  122. package/dist/esm/zonos-checkbox_2.entry.js +2 -2
  123. package/dist/esm/zonos-checkout.entry.js +11 -10
  124. package/dist/esm/zonos-collapse.entry.js +1 -1
  125. package/dist/esm/zonos-collect-cart-items_3.entry.js +6 -5
  126. package/dist/esm/zonos-collect-finish_6.entry.js +12 -11
  127. package/dist/esm/zonos-collect.entry.js +9 -8
  128. package/dist/esm/zonos-controller.entry.js +7 -6
  129. package/dist/esm/zonos-country-flag.entry.js +2 -2
  130. package/dist/esm/zonos-country-select_4.entry.js +3 -3
  131. package/dist/esm/zonos-elements.js +1 -1
  132. package/dist/esm/zonos-hello-dialog.entry.js +4 -4
  133. package/dist/esm/zonos-hello.entry.js +4 -4
  134. package/dist/esm/zonos-input.entry.js +2 -2
  135. package/dist/esm/zonos-invoice-cart-items_2.entry.js +8 -7
  136. package/dist/esm/zonos-invoice-finish_5.entry.js +12 -11
  137. package/dist/esm/zonos-invoice.entry.js +9 -8
  138. package/dist/esm/zonos-language-select_2.entry.js +2 -2
  139. package/dist/esm/zonos-logo.entry.js +1 -1
  140. package/dist/esm/zonos-policy-consent_2.entry.js +7 -6
  141. package/dist/esm/zonos-shipping-rich-radio.entry.js +2 -2
  142. package/dist/esm/zonos-stripe-input.entry.js +2 -2
  143. package/dist/esm/zonos-text.entry.js +1 -1
  144. package/dist/esm/zonos-v-stack.entry.js +1 -1
  145. package/dist/esm/{zonosStore-msUlqmSD.js → zonosStore-BXP9FvIt.js} +2 -1
  146. package/dist/esm-es5/{TaxId-Cye-evFK.js → TaxId-DMIgN_sT.js} +2 -1
  147. package/dist/esm-es5/{cart-BoQp8Ema.js → cart-DmJkjiDE.js} +64 -53
  148. package/dist/esm-es5/{collect-Eo4gtyql.js → collect-BV5GTPmh.js} +1 -1
  149. package/dist/esm-es5/{debounce-BR3PaG8X.js → debounce-DHj2iHA1.js} +7 -7
  150. package/dist/esm-es5/debounce-DWqMT4lo.js +1 -0
  151. package/dist/esm-es5/getBorderRadius-BiGd45jw.js +8 -0
  152. package/dist/esm-es5/{getMissingRequiredShippingFields-Ks6_tpjn.js → getMissingRequiredShippingFields-DljgpDZe.js} +3 -3
  153. package/dist/esm-es5/{hasInclusivePrice-CbEfIhI5.js → hasInclusivePrice-DhGXpH2D.js} +1 -1
  154. package/dist/esm-es5/index.js +11 -11
  155. package/dist/esm-es5/{invoice-S1KahJ_Z.js → invoice-CO-iqlni.js} +1 -1
  156. package/dist/esm-es5/loader.js +1 -1
  157. package/dist/esm-es5/localization-DHM91diu.js +348 -0
  158. package/dist/esm-es5/{paypal-DNfvnuUU.js → paypal-BfW5aLJw.js} +1 -1
  159. package/dist/esm-es5/{placeTestOrder-CQaMKFOg.js → placeTestOrder-CyWUFhxD.js} +1 -1
  160. package/dist/esm-es5/{renderCheckoutCurrency-C2Tw73uR.js → renderCheckoutCurrency-B31ZNkUv.js} +2 -2
  161. package/dist/esm-es5/shouldRenderShortAddressCodeInput-Bc8k2vN0.js +8 -0
  162. package/dist/esm-es5/{shouldShowLanguageSelect-CCD7gpSY.js → shouldShowLanguageSelect-DwSfSHar.js} +1 -1
  163. package/dist/esm-es5/{submitGtag-df9AQ2zL.js → submitGtag-BEFrutel.js} +1 -1
  164. package/dist/esm-es5/taxIdFields-ByEYfsO5.js +46 -0
  165. package/dist/esm-es5/taxIdRules-xYlx7ZXW.js +6 -0
  166. package/dist/esm-es5/{updateCheckoutSessionAttributes-4Jq6V4pO.js → updateCheckoutSessionAttributes-B0bQH0uw.js} +1 -1
  167. package/dist/esm-es5/zonos-address-completion-dialog_7.entry.js +253 -254
  168. package/dist/esm-es5/zonos-address-display_2.entry.js +1 -1
  169. package/dist/esm-es5/zonos-address_4.entry.js +8 -9
  170. package/dist/esm-es5/zonos-airwallex-payment.entry.js +1 -1
  171. package/dist/esm-es5/zonos-badge.entry.js +1 -1
  172. package/dist/esm-es5/zonos-banner.entry.js +1 -1
  173. package/dist/esm-es5/zonos-button_3.entry.js +1 -1
  174. package/dist/esm-es5/zonos-card_5.entry.js +1 -1
  175. package/dist/esm-es5/zonos-cart-items_12.entry.js +19 -18
  176. package/dist/esm-es5/zonos-checkbox_2.entry.js +1 -1
  177. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  178. package/dist/esm-es5/zonos-collapse.entry.js +1 -1
  179. package/dist/esm-es5/zonos-collect-cart-items_3.entry.js +1 -1
  180. package/dist/esm-es5/zonos-collect-finish_6.entry.js +1 -1
  181. package/dist/esm-es5/zonos-collect.entry.js +1 -1
  182. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  183. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  184. package/dist/esm-es5/zonos-country-select_4.entry.js +2 -2
  185. package/dist/esm-es5/zonos-elements.js +1 -1
  186. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  187. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  188. package/dist/esm-es5/zonos-input.entry.js +1 -1
  189. package/dist/esm-es5/zonos-invoice-cart-items_2.entry.js +2 -2
  190. package/dist/esm-es5/zonos-invoice-finish_5.entry.js +1 -1
  191. package/dist/esm-es5/zonos-invoice.entry.js +1 -1
  192. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  193. package/dist/esm-es5/zonos-logo.entry.js +1 -1
  194. package/dist/esm-es5/zonos-policy-consent_2.entry.js +1 -1
  195. package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
  196. package/dist/esm-es5/zonos-stripe-input.entry.js +1 -1
  197. package/dist/esm-es5/zonos-text.entry.js +1 -1
  198. package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
  199. package/dist/esm-es5/{zonosStore-msUlqmSD.js → zonosStore-BXP9FvIt.js} +1 -1
  200. package/dist/scripts/index.d.ts +97 -1
  201. package/dist/scripts/index.js +1 -1
  202. package/dist/scripts/loadZonos.js +1 -1
  203. package/dist/scripts/zonos.js +1 -1
  204. package/dist/types/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.d.ts +4 -0
  205. package/dist/types/components/store/checkout/stripe.d.ts +9 -0
  206. package/dist/types/components/store/translationStore/strings.arabic.d.ts +34 -1
  207. package/dist/types/components/store/translationStore/strings.base.d.ts +34 -1
  208. package/dist/types/components/store/translationStore/strings.chinese.d.ts +34 -1
  209. package/dist/types/components/store/translationStore/strings.danish.d.ts +34 -1
  210. package/dist/types/components/store/translationStore/strings.dutch.d.ts +34 -1
  211. package/dist/types/components/store/translationStore/strings.french.d.ts +34 -1
  212. package/dist/types/components/store/translationStore/strings.german.d.ts +34 -1
  213. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +34 -1
  214. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +34 -1
  215. package/dist/types/components/store/translationStore/strings.italian.d.ts +34 -1
  216. package/dist/types/components/store/translationStore/strings.japanese.d.ts +34 -1
  217. package/dist/types/components/store/translationStore/strings.korean.d.ts +34 -1
  218. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +34 -1
  219. package/dist/types/components/store/translationStore/strings.polish.d.ts +34 -1
  220. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +34 -1
  221. package/dist/types/components/store/translationStore/strings.russian.d.ts +34 -1
  222. package/dist/types/components/store/translationStore/strings.spanish.d.ts +34 -1
  223. package/dist/types/components/store/translationStore/strings.swedish.d.ts +34 -1
  224. package/dist/types/components/store/translationStore/strings.turkish.d.ts +34 -1
  225. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +34 -1
  226. package/dist/types/components/store/zonosStore.d.ts +2 -1
  227. package/dist/types/components/stripe/zonos-address/zonos-address.d.ts +4 -1
  228. package/dist/types/components/stripe/zonos-custom-address/zonos-custom-address.d.ts +4 -1
  229. package/dist/types/components/utils/checkout/getCheckoutTaxIdPayload.d.ts +6 -0
  230. package/dist/types/components/utils/checkout/getTaxIdFieldState.d.ts +18 -0
  231. package/dist/types/components/utils/checkout/resolveTaxIdSelection.d.ts +12 -0
  232. package/dist/types/components/utils/checkout/shouldRenderTaxIdInput.d.ts +2 -1
  233. package/dist/types/components/utils/checkout/taxIdFields.d.ts +11 -0
  234. package/dist/types/components/utils/taxId/taxIdRules.d.ts +37 -0
  235. package/dist/types/components/utils/taxIdValidationResult.d.ts +8 -2
  236. package/dist/types/components.d.ts +22 -0
  237. package/dist/types/index.d.ts +1 -0
  238. package/dist/types/types/checkout/TaxId.d.ts +45 -0
  239. package/dist/types/types/checkout/api/CalculateLandedCost.d.ts +11 -0
  240. package/dist/types/types/checkout/api/CreateParty.d.ts +2 -0
  241. package/dist/types/types/utils/ZonosSettings.d.ts +5 -0
  242. package/dist/zonos-elements/index.esm.js +1 -1
  243. package/dist/zonos-elements/{p-7bd99479.system.entry.js → p-064d8829.system.entry.js} +26 -26
  244. package/dist/zonos-elements/p-107f287b.entry.js +1 -0
  245. package/dist/zonos-elements/{p-51400242.system.entry.js → p-1199baef.system.entry.js} +3 -3
  246. package/dist/zonos-elements/p-12b24ebb.entry.js +1 -0
  247. package/dist/zonos-elements/{p-9c33f7ed.system.entry.js → p-189cc594.system.entry.js} +1 -1
  248. package/dist/zonos-elements/{p-d3d0656a.entry.js → p-1a5acbcd.entry.js} +1 -1
  249. package/dist/zonos-elements/{p-11defdca.system.entry.js → p-1cc42a98.system.entry.js} +18 -18
  250. package/dist/zonos-elements/p-1e6db427.entry.js +1 -0
  251. package/dist/zonos-elements/{p-d82fd8a9.system.entry.js → p-1fda4aec.system.entry.js} +116 -115
  252. package/dist/zonos-elements/{p-756d303f.system.entry.js → p-20eb00de.system.entry.js} +1 -1
  253. package/dist/zonos-elements/{p-5967a1c1.system.entry.js → p-216a908d.system.entry.js} +5 -5
  254. package/dist/zonos-elements/p-25eb99d4.entry.js +1 -0
  255. package/dist/zonos-elements/{p-23352709.system.entry.js → p-2b63865a.system.entry.js} +4 -4
  256. package/dist/zonos-elements/{p-6db7c0b1.system.entry.js → p-2ca826b9.system.entry.js} +2 -2
  257. package/dist/zonos-elements/{p-6c41b00c.entry.js → p-2d513aa3.entry.js} +1 -1
  258. package/dist/zonos-elements/{p-c961caaf.entry.js → p-3e705c9b.entry.js} +1 -1
  259. package/dist/zonos-elements/{p-acd50b0b.entry.js → p-4612facd.entry.js} +1 -1
  260. package/dist/zonos-elements/{p-5b80aff2.system.entry.js → p-46a839d2.system.entry.js} +24 -24
  261. package/dist/zonos-elements/p-46b9f0cf.entry.js +1 -0
  262. package/dist/zonos-elements/{p-244e0302.system.entry.js → p-4715045c.system.entry.js} +1 -1
  263. package/dist/zonos-elements/{p-d168023b.entry.js → p-4917b74d.entry.js} +1 -1
  264. package/dist/zonos-elements/{p-0b81f8b9.system.entry.js → p-53eac12f.system.entry.js} +14 -14
  265. package/dist/zonos-elements/{p-17c7ea4a.system.entry.js → p-55813e9f.system.entry.js} +3 -3
  266. package/dist/zonos-elements/{p-06030d3b.system.entry.js → p-5585db86.system.entry.js} +45 -45
  267. package/dist/zonos-elements/p-59fc32af.entry.js +1 -0
  268. package/dist/zonos-elements/{p-193d9722.entry.js → p-61312d5b.entry.js} +1 -1
  269. package/dist/zonos-elements/p-636b71d4.entry.js +1 -0
  270. package/dist/zonos-elements/{p-155ed3d3.system.entry.js → p-6410fa11.system.entry.js} +24 -24
  271. package/dist/zonos-elements/{p-0fca452b.entry.js → p-65817880.entry.js} +1 -1
  272. package/dist/zonos-elements/p-678b9214.entry.js +1 -0
  273. package/dist/zonos-elements/p-6e691736.entry.js +1 -0
  274. package/dist/zonos-elements/p-6vSUiBfr.system.js +348 -0
  275. package/dist/zonos-elements/p-74659d88.entry.js +1 -0
  276. package/dist/zonos-elements/p-7dc7f328.entry.js +1 -0
  277. package/dist/zonos-elements/{p-55916c90.entry.js → p-7f1bea9b.entry.js} +1 -1
  278. package/dist/zonos-elements/{p-1c150f26.entry.js → p-821e413a.entry.js} +1 -1
  279. package/dist/zonos-elements/{p-c403f004.system.entry.js → p-82e45d0c.system.entry.js} +1 -1
  280. package/dist/zonos-elements/p-84e76348.entry.js +1 -0
  281. package/dist/zonos-elements/{p-1409de3b.system.entry.js → p-88e20e99.system.entry.js} +1 -1
  282. package/dist/zonos-elements/{p-195f6e38.system.entry.js → p-89a3c4db.system.entry.js} +1 -1
  283. package/dist/zonos-elements/{p-4679f0ec.entry.js → p-8f9d8795.entry.js} +1 -1
  284. package/dist/zonos-elements/p-8fa6cfff.entry.js +1 -0
  285. package/dist/zonos-elements/{p-92fe9a1f.system.entry.js → p-902cca23.system.entry.js} +1 -1
  286. package/dist/zonos-elements/{p-0a4a7742.system.entry.js → p-93860183.system.entry.js} +1 -1
  287. package/dist/zonos-elements/{p-69c3e367.system.entry.js → p-941a95a1.system.entry.js} +10 -10
  288. package/dist/zonos-elements/{p-b5882fbb.system.entry.js → p-9449b4f4.system.entry.js} +1 -1
  289. package/dist/zonos-elements/{p-6abec43f.system.entry.js → p-960070d0.system.entry.js} +3 -3
  290. package/dist/zonos-elements/{p-1bac5ac1.system.entry.js → p-990fcf81.system.entry.js} +1 -1
  291. package/dist/zonos-elements/p-BD-9rD53.js +1 -0
  292. package/dist/zonos-elements/p-BMPYH-LT.js +1 -0
  293. package/dist/zonos-elements/{p-DI2vXnXc.system.js → p-BrQ8n8NS.system.js} +3 -3
  294. package/dist/zonos-elements/p-Bu9WCfUC.system.js +2 -2
  295. package/dist/zonos-elements/{p-CUaf1cEg.js → p-C70h5mKA.js} +1 -1
  296. package/dist/zonos-elements/{p-B4Ufchqh.system.js → p-C9XLkmmb.system.js} +3 -3
  297. package/dist/zonos-elements/{p-CZD8WvyY.system.js → p-CBUz18kA.system.js} +1 -1
  298. package/dist/zonos-elements/{p-kaOxUR9u.system.js → p-CGNVm52g.system.js} +6 -6
  299. package/dist/zonos-elements/p-CHKKvuiz.js +1 -0
  300. package/dist/zonos-elements/{p-0mGRBGcf.js → p-CMo3ZweU.js} +1 -1
  301. package/dist/zonos-elements/p-CTiqplrr.js +1 -0
  302. package/dist/zonos-elements/p-CYxMfUL7.system.js +1 -0
  303. package/dist/zonos-elements/{p-D4MevhAL.system.js → p-CbhN65lj.system.js} +3 -3
  304. package/dist/zonos-elements/p-Ch1w0Lr7.js +1 -0
  305. package/dist/zonos-elements/{p-W82paT5F.js → p-CqB9AfBf.js} +1 -1
  306. package/dist/zonos-elements/p-CzKlS3E-.system.js +6 -0
  307. package/dist/zonos-elements/p-D1SmY_fZ.js +1 -0
  308. package/dist/zonos-elements/{p-sz4L-ZnB.js → p-D1e9zNDA.js} +1 -1
  309. package/dist/zonos-elements/{p-c9QtIdJX.js → p-D6xXnsM_.js} +1 -1
  310. package/dist/zonos-elements/{p-8PPEbm_0.system.js → p-DIab60nK.system.js} +12 -12
  311. package/dist/zonos-elements/{p-Cye-evFK.js → p-DMIgN_sT.js} +1 -1
  312. package/dist/zonos-elements/{p-CXxvn4GX.system.js → p-DQrMfUzi.system.js} +41 -41
  313. package/dist/zonos-elements/{p-BuU_p5DP.system.js → p-DTgUqgwV.system.js} +2 -2
  314. package/dist/zonos-elements/p-DW7I0zOF.js +1 -0
  315. package/dist/zonos-elements/p-DZdkJHK9.system.js +7 -0
  316. package/dist/zonos-elements/{p-XqkqjeNV.system.js → p-DgUrB-1a.system.js} +1 -1
  317. package/dist/zonos-elements/p-DiMEP3mh.js +1 -0
  318. package/dist/zonos-elements/p-DprOoI2W.system.js +528 -0
  319. package/dist/zonos-elements/{p-7abqRc9V.js → p-DpwmHU8R.js} +2 -2
  320. package/dist/zonos-elements/p-DqVePqqx.system.js +8 -0
  321. package/dist/zonos-elements/{p-Cby4EkFu.system.js → p-DsBuZ6ob.system.js} +2 -1
  322. package/dist/zonos-elements/{p-XDxdMlQl.system.js → p-Dtu_Japy.system.js} +39 -39
  323. package/dist/zonos-elements/p-Dwg61Ft_.js +1 -0
  324. package/dist/zonos-elements/p-U33isUJG.js +1 -0
  325. package/dist/zonos-elements/{p-Be3Hpms1.system.js → p-XoQH3S7Z.system.js} +1 -1
  326. package/dist/zonos-elements/{p-474e8a92.system.entry.js → p-a1022808.system.entry.js} +1 -1
  327. package/dist/zonos-elements/{p-83aa1c8c.entry.js → p-ad04bba2.entry.js} +1 -1
  328. package/dist/zonos-elements/{p-a938c174.entry.js → p-b51010b9.entry.js} +1 -1
  329. package/dist/zonos-elements/{p-dfc87b10.system.entry.js → p-c33b8f6a.system.entry.js} +1 -1
  330. package/dist/zonos-elements/{p-a40fd99b.system.entry.js → p-cccaad60.system.entry.js} +39 -40
  331. package/dist/zonos-elements/p-d3345b2c.entry.js +1 -0
  332. package/dist/zonos-elements/{p-249c1ee1.system.entry.js → p-d8f375da.system.entry.js} +3 -3
  333. package/dist/zonos-elements/{p-2603dce0.entry.js → p-e216cc8c.entry.js} +1 -1
  334. package/dist/zonos-elements/{p-b79036fc.entry.js → p-e7fdb2c9.entry.js} +1 -1
  335. package/dist/zonos-elements/p-ebe157b5.entry.js +1 -0
  336. package/dist/zonos-elements/p-ef5344ea.entry.js +1 -0
  337. package/dist/zonos-elements/{p-7f031592.system.entry.js → p-f3d9a380.system.entry.js} +73 -73
  338. package/dist/zonos-elements/{p-31043c2e.system.entry.js → p-f5f95990.system.entry.js} +296 -297
  339. package/dist/zonos-elements/p-fda89981.system.entry.js +13 -0
  340. package/dist/zonos-elements/{p-d4d2b39e.entry.js → p-fddf3556.entry.js} +1 -1
  341. package/dist/zonos-elements/p-iAIzUA4k.js +1 -0
  342. package/dist/zonos-elements/{p-BpDCLBwW.js → p-n5PZKz1k.js} +1 -1
  343. package/dist/zonos-elements/{p-DoEHepOc.system.js → p-ojtNq-r5.system.js} +1 -1
  344. package/dist/zonos-elements/{p-C_z9WL8a.js → p-r-YGHhLa.js} +1 -1
  345. package/dist/zonos-elements/{p-CBx5nYet.system.js → p-vTIygnHq.system.js} +1 -1
  346. package/dist/zonos-elements/{p-DQZncB2d.system.js → p-zsTASoh2.system.js} +3 -3
  347. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  348. package/package.json +1 -1
  349. package/dist/cjs/shouldRenderTaxIdInput-TxekHCp7.js +0 -43
  350. package/dist/esm/shouldRenderTaxIdInput-CKyZ6Zni.js +0 -40
  351. package/dist/esm/throttle-Cvlvb-dm.js +0 -85
  352. package/dist/esm-es5/debounce-CrmpwbEE.js +0 -1
  353. package/dist/esm-es5/getBorderRadius-DYfkeXdx.js +0 -8
  354. package/dist/esm-es5/localization-BIh-4pc_.js +0 -348
  355. package/dist/esm-es5/shouldRenderTaxIdInput-CKyZ6Zni.js +0 -17
  356. package/dist/esm-es5/throttle-Cvlvb-dm.js +0 -46
  357. package/dist/zonos-elements/p-06fe2939.entry.js +0 -1
  358. package/dist/zonos-elements/p-24f3c547.entry.js +0 -1
  359. package/dist/zonos-elements/p-30b3c9d3.entry.js +0 -1
  360. package/dist/zonos-elements/p-39ee1558.entry.js +0 -1
  361. package/dist/zonos-elements/p-3a2da031.entry.js +0 -1
  362. package/dist/zonos-elements/p-4806b264.system.entry.js +0 -13
  363. package/dist/zonos-elements/p-5873ab8e.entry.js +0 -1
  364. package/dist/zonos-elements/p-725e29bb.entry.js +0 -1
  365. package/dist/zonos-elements/p-BGktDPwA.system.js +0 -1
  366. package/dist/zonos-elements/p-Bi-s0fp_.system.js +0 -17
  367. package/dist/zonos-elements/p-CEK_Wk6v.system.js +0 -7
  368. package/dist/zonos-elements/p-CFbfEmjN.js +0 -1
  369. package/dist/zonos-elements/p-CcJF6xhQ.js +0 -1
  370. package/dist/zonos-elements/p-Cxuiqv1I.js +0 -1
  371. package/dist/zonos-elements/p-D-bZg-Pc.js +0 -1
  372. package/dist/zonos-elements/p-DOD2I44l.system.js +0 -348
  373. package/dist/zonos-elements/p-DS-qw_qc.system.js +0 -517
  374. package/dist/zonos-elements/p-DZ2mevDK.js +0 -1
  375. package/dist/zonos-elements/p-DnjGkbEy.js +0 -1
  376. package/dist/zonos-elements/p-FRWZayxL.js +0 -1
  377. package/dist/zonos-elements/p-Mrz_lnC1.js +0 -1
  378. package/dist/zonos-elements/p-ad9ff14c.entry.js +0 -1
  379. package/dist/zonos-elements/p-bb3546c0.entry.js +0 -1
  380. package/dist/zonos-elements/p-c1cbfdba.entry.js +0 -1
  381. package/dist/zonos-elements/p-c47ce656.entry.js +0 -1
  382. package/dist/zonos-elements/p-c9d5d8f1.entry.js +0 -1
  383. package/dist/zonos-elements/p-clDfq9AL.js +0 -1
  384. package/dist/zonos-elements/p-d74bc3e8.entry.js +0 -1
  385. package/dist/zonos-elements/p-d8b312e5.entry.js +0 -1
  386. package/dist/zonos-elements/p-db87b0dd.entry.js +0 -1
  387. package/dist/zonos-elements/p-defc2d18.entry.js +0 -1
  388. package/dist/zonos-elements/p-rVp8hgWw.js +0 -1
@@ -86,12 +86,21 @@ export const stringsSpanish = {
86
86
  'CPF/CNPJ number': {
87
87
  value: 'Número de CPF/CNPJ',
88
88
  },
89
+ CURP: {
90
+ value: 'CURP',
91
+ },
89
92
  Cancel: {
90
93
  value: 'Cancelar',
91
94
  },
92
95
  'Card number copied to clipboard': {
93
96
  value: 'Número de tarjeta copiado al portapapeles',
94
97
  },
98
+ 'Carné de extranjería': {
99
+ value: 'Carné de extranjería',
100
+ },
101
+ 'Carné de extranjería must be 9 digits.': {
102
+ value: 'El carné de extranjería debe tener 9 dígitos.',
103
+ },
95
104
  'Cart subtotal': {
96
105
  value: 'Subtotal del carrito',
97
106
  },
@@ -164,6 +173,12 @@ export const stringsSpanish = {
164
173
  'Customs fees total': {
165
174
  value: 'Total de tarifas aduaneras',
166
175
  },
176
+ DNI: {
177
+ value: 'DNI',
178
+ },
179
+ 'DNI must be 8 digits.': {
180
+ value: 'El DNI debe tener 8 dígitos.',
181
+ },
167
182
  Delivery: {
168
183
  value: 'Entrega',
169
184
  },
@@ -311,8 +326,11 @@ export const stringsSpanish = {
311
326
  'Invalid CUIT/CUIL format. Must contain 11 digits, with or without dashes (XX-XXXXXXXX-X).': {
312
327
  value: 'Formato de CUIT/CUIL inválido. Debe contener 11 dígitos, con o sin guiones (XX-XXXXXXXX-X).',
313
328
  },
314
- 'Invalid RFC or CURP format. Must be a 12–13 character RFC or an 18 character CURP, uppercase letters and numbers only.': {
315
- value: 'Formato de RFC o CURP inválido. Debe ser un RFC de 12–13 caracteres o una CURP de 18 caracteres, solo letras mayúsculas y números.',
329
+ 'Invalid CURP format. Must be 18 uppercase letters and numbers.': {
330
+ value: 'Formato de CURP inválido. Debe ser una CURP de 18 caracteres, solo letras mayúsculas y números.',
331
+ },
332
+ 'Invalid RFC format. Must be 12–13 uppercase letters and numbers.': {
333
+ value: 'Formato de RFC inválido. Debe ser un RFC de 12–13 caracteres, solo letras mayúsculas y números.',
316
334
  },
317
335
  'Invalid promo code': {
318
336
  value: 'Código promocional no válido',
@@ -515,9 +533,18 @@ export const stringsSpanish = {
515
533
  Quantity: {
516
534
  value: 'Cantidad',
517
535
  },
536
+ RFC: {
537
+ value: 'RFC',
538
+ },
518
539
  'RFC or CURP number': {
519
540
  value: 'Número RFC o CURP',
520
541
  },
542
+ RUC: {
543
+ value: 'RUC',
544
+ },
545
+ 'RUC must be 11 digits.': {
546
+ value: 'El RUC debe tener 11 dígitos.',
547
+ },
521
548
  'Refund policy': {
522
549
  value: 'Política de reembolso',
523
550
  },
@@ -659,6 +686,12 @@ export const stringsSpanish = {
659
686
  'Tax id is required': {
660
687
  value: 'Se requiere identificación fiscal',
661
688
  },
689
+ 'Tax id type': {
690
+ value: 'Tipo de identificación fiscal',
691
+ },
692
+ 'Tax id type is required': {
693
+ value: 'Se requiere el tipo de identificación fiscal',
694
+ },
662
695
  Taxes: {
663
696
  value: 'Impuestos',
664
697
  },
@@ -86,12 +86,21 @@ export const stringsSwedish = {
86
86
  'CPF/CNPJ number': {
87
87
  value: 'CPF/CNPJ-nummer',
88
88
  },
89
+ CURP: {
90
+ value: 'CURP',
91
+ },
89
92
  Cancel: {
90
93
  value: 'Avbryt',
91
94
  },
92
95
  'Card number copied to clipboard': {
93
96
  value: 'Kortnummer kopierat till urklipp',
94
97
  },
98
+ 'Carné de extranjería': {
99
+ value: 'Carné de extranjería',
100
+ },
101
+ 'Carné de extranjería must be 9 digits.': {
102
+ value: 'Carné de extranjería måste bestå av 9 siffror.',
103
+ },
95
104
  'Cart subtotal': {
96
105
  value: 'Varukorgens delsumma',
97
106
  },
@@ -164,6 +173,12 @@ export const stringsSwedish = {
164
173
  'Customs fees total': {
165
174
  value: 'Totala tullavgifter',
166
175
  },
176
+ DNI: {
177
+ value: 'DNI',
178
+ },
179
+ 'DNI must be 8 digits.': {
180
+ value: 'DNI måste bestå av 8 siffror.',
181
+ },
167
182
  Delivery: {
168
183
  value: 'Leverans',
169
184
  },
@@ -311,8 +326,11 @@ export const stringsSwedish = {
311
326
  'Invalid CUIT/CUIL format. Must contain 11 digits, with or without dashes (XX-XXXXXXXX-X).': {
312
327
  value: 'Ogiltigt CUIT/CUIL-format. Måste innehålla 11 siffror, med eller utan bindestreck (XX-XXXXXXXX-X).',
313
328
  },
314
- 'Invalid RFC or CURP format. Must be a 12–13 character RFC or an 18 character CURP, uppercase letters and numbers only.': {
315
- value: 'Ogiltigt RFC- eller CURP-format. Måste vara ett RFC på 12–13 tecken eller ett CURP på 18 tecken, endast versaler och siffror.',
329
+ 'Invalid CURP format. Must be 18 uppercase letters and numbers.': {
330
+ value: 'Ogiltigt CURP-format. Måste vara ett CURP på 18 tecken, endast versaler och siffror.',
331
+ },
332
+ 'Invalid RFC format. Must be 12–13 uppercase letters and numbers.': {
333
+ value: 'Ogiltigt RFC-format. Måste vara ett RFC på 12–13 tecken, endast versaler och siffror.',
316
334
  },
317
335
  'Invalid promo code': {
318
336
  value: 'Ogiltig kampanjkod',
@@ -515,9 +533,18 @@ export const stringsSwedish = {
515
533
  Quantity: {
516
534
  value: 'Kvantitet',
517
535
  },
536
+ RFC: {
537
+ value: 'RFC',
538
+ },
518
539
  'RFC or CURP number': {
519
540
  value: 'RFC- eller CURP-nummer',
520
541
  },
542
+ RUC: {
543
+ value: 'RUC',
544
+ },
545
+ 'RUC must be 11 digits.': {
546
+ value: 'RUC måste bestå av 11 siffror.',
547
+ },
521
548
  'Refund policy': {
522
549
  value: 'Återbetalningspolicy',
523
550
  },
@@ -659,6 +686,12 @@ export const stringsSwedish = {
659
686
  'Tax id is required': {
660
687
  value: 'Skatte-ID krävs',
661
688
  },
689
+ 'Tax id type': {
690
+ value: 'Typ av skatte-ID',
691
+ },
692
+ 'Tax id type is required': {
693
+ value: 'Typ av skatte-ID krävs',
694
+ },
662
695
  Taxes: {
663
696
  value: 'Skatter',
664
697
  },
@@ -86,12 +86,21 @@ export const stringsTurkish = {
86
86
  'CPF/CNPJ number': {
87
87
  value: 'CPF/CNPJ numarası',
88
88
  },
89
+ CURP: {
90
+ value: 'CURP',
91
+ },
89
92
  Cancel: {
90
93
  value: 'İptal',
91
94
  },
92
95
  'Card number copied to clipboard': {
93
96
  value: 'Kart numarası panoya kopyalandı',
94
97
  },
98
+ 'Carné de extranjería': {
99
+ value: 'Carné de extranjería',
100
+ },
101
+ 'Carné de extranjería must be 9 digits.': {
102
+ value: 'Carné de extranjería 9 haneli olmalıdır.',
103
+ },
95
104
  'Cart subtotal': {
96
105
  value: 'Sepet ara toplam',
97
106
  },
@@ -164,6 +173,12 @@ export const stringsTurkish = {
164
173
  'Customs fees total': {
165
174
  value: 'Gümrük ücretleri toplamı',
166
175
  },
176
+ DNI: {
177
+ value: 'DNI',
178
+ },
179
+ 'DNI must be 8 digits.': {
180
+ value: 'DNI 8 haneli olmalıdır.',
181
+ },
167
182
  Delivery: {
168
183
  value: 'Teslimat',
169
184
  },
@@ -311,8 +326,11 @@ export const stringsTurkish = {
311
326
  'Invalid CUIT/CUIL format. Must contain 11 digits, with or without dashes (XX-XXXXXXXX-X).': {
312
327
  value: 'Geçersiz CUIT/CUIL formatı. Tireli veya tiresiz 11 rakam içermelidir (XX-XXXXXXXX-X).',
313
328
  },
314
- 'Invalid RFC or CURP format. Must be a 12–13 character RFC or an 18 character CURP, uppercase letters and numbers only.': {
315
- value: 'Geçersiz RFC veya CURP formatı. 12–13 karakterlik bir RFC veya 18 karakterlik bir CURP olmalı, yalnızca büyük harf ve rakam.',
329
+ 'Invalid CURP format. Must be 18 uppercase letters and numbers.': {
330
+ value: 'Geçersiz CURP formatı. 18 karakterlik bir CURP olmalı, yalnızca büyük harf ve rakam.',
331
+ },
332
+ 'Invalid RFC format. Must be 12–13 uppercase letters and numbers.': {
333
+ value: 'Geçersiz RFC formatı. 12–13 karakterlik bir RFC olmalı, yalnızca büyük harf ve rakam.',
316
334
  },
317
335
  'Invalid promo code': {
318
336
  value: 'Geçersiz promosyon kodu',
@@ -515,9 +533,18 @@ export const stringsTurkish = {
515
533
  Quantity: {
516
534
  value: 'Miktar',
517
535
  },
536
+ RFC: {
537
+ value: 'RFC',
538
+ },
518
539
  'RFC or CURP number': {
519
540
  value: 'RFC veya CURP numarası',
520
541
  },
542
+ RUC: {
543
+ value: 'RUC',
544
+ },
545
+ 'RUC must be 11 digits.': {
546
+ value: 'RUC 11 haneli olmalıdır.',
547
+ },
521
548
  'Refund policy': {
522
549
  value: 'İade politikası',
523
550
  },
@@ -659,6 +686,12 @@ export const stringsTurkish = {
659
686
  'Tax id is required': {
660
687
  value: 'Vergi kimliği gereklidir',
661
688
  },
689
+ 'Tax id type': {
690
+ value: 'Vergi kimliği türü',
691
+ },
692
+ 'Tax id type is required': {
693
+ value: 'Vergi kimliği türü gereklidir',
694
+ },
662
695
  Taxes: {
663
696
  value: 'Vergiler',
664
697
  },
@@ -86,12 +86,21 @@ export const stringsVietnamese = {
86
86
  'CPF/CNPJ number': {
87
87
  value: 'Số CPF/CNPJ',
88
88
  },
89
+ CURP: {
90
+ value: 'CURP',
91
+ },
89
92
  Cancel: {
90
93
  value: 'Hủy bỏ',
91
94
  },
92
95
  'Card number copied to clipboard': {
93
96
  value: 'Số thẻ đã được sao chép vào bảng tạm',
94
97
  },
98
+ 'Carné de extranjería': {
99
+ value: 'Carné de extranjería',
100
+ },
101
+ 'Carné de extranjería must be 9 digits.': {
102
+ value: 'Carné de extranjería phải có 9 chữ số.',
103
+ },
95
104
  'Cart subtotal': {
96
105
  value: 'Tổng giỏ hàng',
97
106
  },
@@ -164,6 +173,12 @@ export const stringsVietnamese = {
164
173
  'Customs fees total': {
165
174
  value: 'Tổng phí hải quan',
166
175
  },
176
+ DNI: {
177
+ value: 'DNI',
178
+ },
179
+ 'DNI must be 8 digits.': {
180
+ value: 'DNI phải có 8 chữ số.',
181
+ },
167
182
  Delivery: {
168
183
  value: 'Giao hàng',
169
184
  },
@@ -311,8 +326,11 @@ export const stringsVietnamese = {
311
326
  'Invalid CUIT/CUIL format. Must contain 11 digits, with or without dashes (XX-XXXXXXXX-X).': {
312
327
  value: 'Định dạng CUIT/CUIL không hợp lệ. Phải chứa 11 chữ số, có hoặc không có dấu gạch ngang (XX-XXXXXXXX-X).',
313
328
  },
314
- 'Invalid RFC or CURP format. Must be a 12–13 character RFC or an 18 character CURP, uppercase letters and numbers only.': {
315
- value: 'Định dạng RFC hoặc CURP không hợp lệ. Phải là RFC gồm 12–13 ký tự hoặc CURP gồm 18 ký tự, chỉ gồm chữ in hoa và số.',
329
+ 'Invalid CURP format. Must be 18 uppercase letters and numbers.': {
330
+ value: 'Định dạng CURP không hợp lệ. Phải là CURP gồm 18 ký tự, chỉ gồm chữ in hoa và số.',
331
+ },
332
+ 'Invalid RFC format. Must be 12–13 uppercase letters and numbers.': {
333
+ value: 'Định dạng RFC không hợp lệ. Phải là RFC gồm 12–13 ký tự, chỉ gồm chữ in hoa và số.',
316
334
  },
317
335
  'Invalid promo code': {
318
336
  value: 'Mã khuyến mãi không hợp lệ',
@@ -515,9 +533,18 @@ export const stringsVietnamese = {
515
533
  Quantity: {
516
534
  value: 'Số lượng',
517
535
  },
536
+ RFC: {
537
+ value: 'RFC',
538
+ },
518
539
  'RFC or CURP number': {
519
540
  value: 'Số RFC hoặc CURP',
520
541
  },
542
+ RUC: {
543
+ value: 'RUC',
544
+ },
545
+ 'RUC must be 11 digits.': {
546
+ value: 'RUC phải có 11 chữ số.',
547
+ },
521
548
  'Refund policy': {
522
549
  value: 'Chính sách hoàn tiền',
523
550
  },
@@ -659,6 +686,12 @@ export const stringsVietnamese = {
659
686
  'Tax id is required': {
660
687
  value: 'Yêu cầu mã số thuế',
661
688
  },
689
+ 'Tax id type': {
690
+ value: 'Loại mã số thuế',
691
+ },
692
+ 'Tax id type is required': {
693
+ value: 'Yêu cầu loại mã số thuế',
694
+ },
662
695
  Taxes: {
663
696
  value: 'Thuế',
664
697
  },
@@ -171,4 +171,5 @@ const zonosStoreFontFamily = () => {
171
171
  const fontFamily = zonosStore.appearance.fontFamily || 'Inter';
172
172
  return fontFamily;
173
173
  };
174
- export { getZonosStoreTheme, zonosStore, zonosStoreDispose, zonosStoreFontFamily, zonosStoreInitSetting, zonosStoreOnChange, };
174
+ const getShouldRequirePeruTaxId = () => { var _a; return !!((_a = zonosStore.genericSettings) === null || _a === void 0 ? void 0 : _a.shouldRequirePeruTaxId); };
175
+ export { getShouldRequirePeruTaxId, getZonosStoreTheme, zonosStore, zonosStoreDispose, zonosStoreFontFamily, zonosStoreInitSetting, zonosStoreOnChange, };
@@ -39,6 +39,11 @@
39
39
  :host .zonos--short-address-code-input {
40
40
  margin-bottom: 16px;
41
41
  }
42
+ :host .zonos--tax-id-input {
43
+ display: flex;
44
+ flex-direction: column;
45
+ gap: 8px;
46
+ }
42
47
  :host zonos-banner {
43
48
  margin-top: 8px;
44
49
  }
@@ -4,17 +4,16 @@ import { stripeStore, stripeStoreOnChange, stripeStorePrefetchLandedCost, } from
4
4
  import { getFallbackDefaultCountryCode, localizationStore, } from "../../store/hello/localization";
5
5
  import { storageStore, storageStoreOnChange, } from "../../store/storageStore";
6
6
  import { translate } from "../../store/translationStore";
7
- import { zonosStore } from "../../store/zonosStore";
7
+ import { getShouldRequirePeruTaxId, zonosStore, } from "../../store/zonosStore";
8
8
  import { trackConversionEvent } from "../../utils/api/trackConversionEvent";
9
9
  import { buildAddressContacts } from "../../utils/checkout/buildAddressContacts";
10
10
  import { isCheckoutMobile } from "../../utils/checkout/isCheckoutMobile";
11
11
  import { shouldRenderShortAddressCodeInput } from "../../utils/checkout/shouldRenderShortAddressCodeInput";
12
- import { shouldRenderTaxIdInput } from "../../utils/checkout/shouldRenderTaxIdInput";
12
+ import { renderTaxIdFields } from "../../utils/checkout/taxIdFields";
13
13
  import { classes } from "../../utils/classes";
14
14
  import { extractName } from "../../utils/extractName";
15
15
  import { log } from "../../utils/logging/log";
16
16
  import { logError } from "../../utils/logging/logError";
17
- import { countryRequireTaxId, shipToTaxIdLabels, } from "../../../types/checkout/TaxId";
18
17
  /**
19
18
  * This component is a wrapper for the stripe address element that would render default style object
20
19
  */
@@ -29,6 +28,10 @@ export class ZonosAddress {
29
28
  * Default address for stripe
30
29
  */
31
30
  this.defaultAddress = [];
31
+ /**
32
+ * Which tax id control the error belongs on. Empty when there is no error.
33
+ */
34
+ this.taxIdErrorField = '';
32
35
  /**
33
36
  * Error message for tax id input
34
37
  */
@@ -237,9 +240,6 @@ export class ZonosAddress {
237
240
  }
238
241
  void this.watchInitStripe();
239
242
  }
240
- isInTaxIdCountry(countryCode) {
241
- return countryRequireTaxId.includes(countryCode);
242
- }
243
243
  /**
244
244
  * Render tax id input based on ship to country code
245
245
  */
@@ -254,23 +254,18 @@ export class ZonosAddress {
254
254
  if (!countryCode) {
255
255
  return null;
256
256
  }
257
- // This just to type guard the countryCode, if it's able to get to this point it should already be in country that has tax id input
258
- if (!this.isInTaxIdCountry(countryCode)) {
259
- return null;
260
- }
261
- const taxIdInputRendered = shouldRenderTaxIdInput({
257
+ return renderTaxIdFields({
262
258
  companyName: stripeStore.companyName,
263
259
  countryCode,
260
+ errorField: this.taxIdErrorField,
261
+ errorMessage: this.taxIdErrorMessage,
262
+ onTaxIdChange: value => {
263
+ this.taxIdChanged.emit(value);
264
+ },
265
+ shouldRequirePeruTaxId: getShouldRequirePeruTaxId(),
266
+ taxId: stripeStore.taxId || '',
267
+ taxIdType: stripeStore.taxIdType,
264
268
  });
265
- // Don't render tax id input if the country doesn't require tax id
266
- if (!taxIdInputRendered) {
267
- return null;
268
- }
269
- const taxIdInputInfo = shipToTaxIdLabels[countryCode];
270
- return (h("div", { class: "zonos--tax-id-input" }, h("zonos-stripe-input", { inputLabel: translate(taxIdInputInfo.friendlyName), inputPlaceholder: taxIdInputInfo.placeholder, inputValue: stripeStore.taxId || '', isError: !!this.taxIdErrorMessage, onInputChange: (event) => {
271
- stripeStore.taxId = event.detail;
272
- this.taxIdChanged.emit(event.detail);
273
- } }), this.taxIdErrorMessage && (h("zonos-text", { textColor: "red-600", type: "caption" }, this.taxIdErrorMessage))));
274
269
  }
275
270
  /**
276
271
  * Render short address code input based on ship to country code
@@ -357,11 +352,11 @@ export class ZonosAddress {
357
352
  this.isAddressFilled = true;
358
353
  }
359
354
  // this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
360
- return (h(Host, { key: '302dafde973c4bf2d847640d8f0e064d88f350f8', class: classes([
355
+ return (h(Host, { key: 'bbf12ad9213fbbbaf6c14ecb0cb7acb0679f3d6e', class: classes([
361
356
  'zonos--address',
362
357
  'zonos--elements',
363
358
  `zonos--${this.type}-address`,
364
- ]) }, this.titleText && (h("zonos-text", { key: '706204604ad32eed710e38adbe8133b3384044eb', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), h("slot", { key: '0edc4c5d6c3ff965be6edbf680acaed892c71a16', name: "below-title" }), this.renderCompanyNameInput(), this.renderTaxIdInput(), this.renderShortAddressCodeInput(), h("div", { key: '6aa6e4e86a76f1081c5af1f2b5f3282dfd91f3c5', class: "zonos--address-component" })));
359
+ ]) }, this.titleText && (h("zonos-text", { key: 'a81550755a359e1a9c46acc99eef7749959187ee', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), h("slot", { key: 'bdba9c19992622bcf0354366080b1932c0e28bb2', name: "below-title" }), this.renderCompanyNameInput(), this.renderTaxIdInput(), this.renderShortAddressCodeInput(), h("div", { key: 'b376efea8ef5d57f525be9b6eed3f98c67b2834e', class: "zonos--address-component" })));
365
360
  }
366
361
  static get is() { return "zonos-address"; }
367
362
  static get encapsulation() { return "scoped"; }
@@ -440,6 +435,26 @@ export class ZonosAddress {
440
435
  "setter": false,
441
436
  "defaultValue": "[]"
442
437
  },
438
+ "taxIdErrorField": {
439
+ "type": "string",
440
+ "mutable": false,
441
+ "complexType": {
442
+ "original": "'type' | 'value' | ''",
443
+ "resolved": "\"\" | \"type\" | \"value\"",
444
+ "references": {}
445
+ },
446
+ "required": false,
447
+ "optional": false,
448
+ "docs": {
449
+ "tags": [],
450
+ "text": "Which tax id control the error belongs on. Empty when there is no error."
451
+ },
452
+ "getter": false,
453
+ "setter": false,
454
+ "reflect": false,
455
+ "attribute": "tax-id-error-field",
456
+ "defaultValue": "''"
457
+ },
443
458
  "taxIdErrorMessage": {
444
459
  "type": "string",
445
460
  "mutable": false,
@@ -38,6 +38,11 @@
38
38
  :host .zonos--tax-id-input {
39
39
  margin-bottom: 8px;
40
40
  }
41
+ :host .zonos--tax-id-input {
42
+ display: flex;
43
+ flex-direction: column;
44
+ gap: 8px;
45
+ }
41
46
  :host zonos-banner {
42
47
  margin-top: 8px;
43
48
  }
@@ -16,18 +16,17 @@ import { stripeStore, stripeStorePrefetchLandedCost, } from "../../store/checkou
16
16
  import { localizationStore } from "../../store/hello/localization";
17
17
  import { storageStore, storageStoreOnChange, } from "../../store/storageStore";
18
18
  import { translate } from "../../store/translationStore";
19
- import { zonosStore } from "../../store/zonosStore";
19
+ import { getShouldRequirePeruTaxId, zonosStore, } from "../../store/zonosStore";
20
20
  import { trackConversionEvent } from "../../utils/api/trackConversionEvent";
21
21
  import { isValidZip } from "../../utils/checkout/form/isValidZip";
22
22
  import { getAddressCountryOptions, } from "../../utils/checkout/getAddressCountryOptions";
23
23
  import { isCheckoutMobile } from "../../utils/checkout/isCheckoutMobile";
24
24
  import { shouldRenderShortAddressCodeInput } from "../../utils/checkout/shouldRenderShortAddressCodeInput";
25
- import { shouldRenderTaxIdInput } from "../../utils/checkout/shouldRenderTaxIdInput";
25
+ import { renderTaxIdFields } from "../../utils/checkout/taxIdFields";
26
26
  import { classes } from "../../utils/classes";
27
27
  import { extractName } from "../../utils/extractName";
28
28
  import { log } from "../../utils/logging/log";
29
29
  import { mergeAddress } from "../../utils/mergeAddress";
30
- import { countryRequireTaxId, shipToTaxIdLabels, } from "../../../types/checkout/TaxId";
31
30
  /**
32
31
  * This component is a wrapper for the stripe address element that would render default style object
33
32
  */
@@ -38,6 +37,10 @@ export class ZonosAddress {
38
37
  * Default address for stripe
39
38
  */
40
39
  this.defaultAddress = [];
40
+ /**
41
+ * Which tax id control the error belongs on. Empty when there is no error.
42
+ */
43
+ this.taxIdErrorField = '';
41
44
  /**
42
45
  * Error message for tax id input
43
46
  */
@@ -364,9 +367,6 @@ export class ZonosAddress {
364
367
  const hasErrors = line1 || postalCode || state || city || firstName || lastName || phone;
365
368
  return !hasErrors;
366
369
  }
367
- isInTaxIdCountry(countryCode) {
368
- return countryRequireTaxId.includes(countryCode);
369
- }
370
370
  /**
371
371
  * Render tax id input based on ship to country code
372
372
  */
@@ -381,22 +381,15 @@ export class ZonosAddress {
381
381
  if (!countryCode) {
382
382
  return null;
383
383
  }
384
- // This just to type guard the countryCode, if it's able to get to this point it should already be in country that has tax id input
385
- if (!this.isInTaxIdCountry(countryCode)) {
386
- return null;
387
- }
388
- const taxIdInputRendered = shouldRenderTaxIdInput({
384
+ return renderTaxIdFields({
389
385
  companyName: stripeStore.companyName,
390
386
  countryCode,
387
+ errorField: this.taxIdErrorField,
388
+ errorMessage: this.taxIdErrorMessage,
389
+ shouldRequirePeruTaxId: getShouldRequirePeruTaxId(),
390
+ taxId: stripeStore.taxId || '',
391
+ taxIdType: stripeStore.taxIdType,
391
392
  });
392
- // Don't render tax id input if the country doesn't require tax id
393
- if (!taxIdInputRendered) {
394
- return null;
395
- }
396
- const taxIdInputInfo = shipToTaxIdLabels[countryCode];
397
- return (h("div", { class: "zonos--tax-id-input" }, h("zonos-stripe-input", { error: this.taxIdErrorMessage, inputLabel: translate(taxIdInputInfo.friendlyName), inputPlaceholder: taxIdInputInfo.placeholder, inputValue: stripeStore.taxId || '', isError: !!this.taxIdErrorMessage, onInputChange: (event) => {
398
- stripeStore.taxId = event.detail;
399
- } })));
400
393
  }
401
394
  /**
402
395
  * Render short address code input based on ship to country code
@@ -933,10 +926,10 @@ export class ZonosAddress {
933
926
  this.country = localizationStore.selectedCountryCode;
934
927
  }
935
928
  // this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
936
- return (h(Host, { key: '9d178094ee341623633d1e3822bd79f254a27e51', class: classes([
929
+ return (h(Host, { key: 'd3bb2635d41dd74ba52ff37034f348fc0a763366', class: classes([
937
930
  'zonos--address zonos--elements',
938
931
  `zonos--${this.type}-address`,
939
- ]) }, h("zonos-text", { key: 'c36b4ce9b63cce95664894fd8929ffe15807a22a', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("slot", { key: '661eab7074f99b6dca52d5f7f546cfbd29322fbf', name: "below-title" }), this.renderCompanyNameInput(), this.renderTaxIdInput(), this.renderShortAddressCodeInput(), this.renderCustomAddressForm()));
932
+ ]) }, h("zonos-text", { key: '7d3f67988eac13616f3470f46f05060e194c2df7', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("slot", { key: '1bd63bd015542ec3302f087bcbf3d9549f342c25', name: "below-title" }), this.renderCompanyNameInput(), this.renderTaxIdInput(), this.renderShortAddressCodeInput(), this.renderCustomAddressForm()));
940
933
  }
941
934
  static get is() { return "zonos-custom-address"; }
942
935
  static get encapsulation() { return "scoped"; }
@@ -1015,6 +1008,26 @@ export class ZonosAddress {
1015
1008
  "setter": false,
1016
1009
  "defaultValue": "[]"
1017
1010
  },
1011
+ "taxIdErrorField": {
1012
+ "type": "string",
1013
+ "mutable": false,
1014
+ "complexType": {
1015
+ "original": "'type' | 'value' | ''",
1016
+ "resolved": "\"\" | \"type\" | \"value\"",
1017
+ "references": {}
1018
+ },
1019
+ "required": false,
1020
+ "optional": false,
1021
+ "docs": {
1022
+ "tags": [],
1023
+ "text": "Which tax id control the error belongs on. Empty when there is no error."
1024
+ },
1025
+ "getter": false,
1026
+ "setter": false,
1027
+ "reflect": false,
1028
+ "attribute": "tax-id-error-field",
1029
+ "defaultValue": "''"
1030
+ },
1018
1031
  "taxIdErrorMessage": {
1019
1032
  "type": "string",
1020
1033
  "mutable": false,