@zonos/elements 1.3.245 → 1.3.247

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (295) hide show
  1. package/dist/cjs/ShortAddressCode-bec338b0.js +7 -0
  2. package/dist/cjs/{cart-52cf3366.js → cart-97a2d20a.js} +35 -6
  3. package/dist/cjs/getContrastColor-30848800.js +37 -0
  4. package/dist/cjs/{hasInclusivePrice-dbb82df8.js → hasInclusivePrice-134b0250.js} +1 -1
  5. package/dist/cjs/index.cjs.js +9 -7
  6. package/dist/cjs/{invoice-972f1ab3.js → invoice-05a10ee1.js} +2 -2
  7. package/dist/cjs/{isCollectMobileTablet-fd11246c.js → isCollectMobileTablet-edd4804c.js} +2 -2
  8. package/dist/cjs/isContrastColor-09f5924a.js +12 -0
  9. package/dist/cjs/loader.cjs.js +1 -1
  10. package/dist/cjs/{localization-b1075a8c.js → localization-00e73920.js} +180 -0
  11. package/dist/cjs/{paypal-e339cc8c.js → paypal-0b4b352b.js} +4 -12
  12. package/dist/cjs/{placeTestOrder-3dfbe3d6.js → placeTestOrder-07b46688.js} +2 -2
  13. package/dist/cjs/{renderCheckoutCurrency-55056c97.js → renderCheckoutCurrency-dd3b0609.js} +2 -2
  14. package/dist/cjs/{shouldRenderTaxIdInput-eda13ef8.js → shouldRenderTaxIdInput-b8abf6de.js} +18 -0
  15. package/dist/cjs/zonos-address-display_9.cjs.entry.js +35 -5
  16. package/dist/cjs/zonos-address_4.cjs.entry.js +37 -7
  17. package/dist/cjs/zonos-card_5.cjs.entry.js +4 -3
  18. package/dist/cjs/zonos-cart-items_12.cjs.entry.js +67 -38
  19. package/dist/cjs/zonos-checkout.cjs.entry.js +36 -13
  20. package/dist/cjs/zonos-collect-cart-items_3.cjs.entry.js +2 -2
  21. package/dist/cjs/zonos-collect-finish_6.cjs.entry.js +8 -7
  22. package/dist/cjs/zonos-collect.cjs.entry.js +5 -4
  23. package/dist/cjs/zonos-controller.cjs.entry.js +2 -2
  24. package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -1
  25. package/dist/cjs/zonos-country-select_4.cjs.entry.js +1 -1
  26. package/dist/cjs/zonos-elements.cjs.js +1 -1
  27. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +3 -3
  28. package/dist/cjs/zonos-hello.cjs.entry.js +5 -2
  29. package/dist/cjs/zonos-invoice-cart-items_2.cjs.entry.js +4 -4
  30. package/dist/cjs/zonos-invoice-finish_5.cjs.entry.js +8 -7
  31. package/dist/cjs/zonos-invoice.cjs.entry.js +5 -4
  32. package/dist/cjs/zonos-language-select_2.cjs.entry.js +1 -1
  33. package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +18 -4
  34. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.css +1 -1
  35. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +2 -2
  36. package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.css +1 -1
  37. package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.js +16 -2
  38. package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.js +22 -3
  39. package/dist/collection/components/checkout/zonos-collect/zonos-collect-payment/zonos-collect-payment.css +1 -1
  40. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-payment/zonos-invoice-payment.css +1 -1
  41. package/dist/collection/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.js +35 -4
  42. package/dist/collection/components/hello/zonos-hello/zonos-hello.css +18 -0
  43. package/dist/collection/components/hello/zonos-hello/zonos-hello.js +3 -0
  44. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.css +1 -1
  45. package/dist/collection/components/store/checkout/stripe.js +32 -5
  46. package/dist/collection/components/store/translationStore/strings.arabic.js +9 -0
  47. package/dist/collection/components/store/translationStore/strings.base.js +9 -0
  48. package/dist/collection/components/store/translationStore/strings.chinese.js +9 -0
  49. package/dist/collection/components/store/translationStore/strings.danish.js +9 -0
  50. package/dist/collection/components/store/translationStore/strings.dutch.js +9 -0
  51. package/dist/collection/components/store/translationStore/strings.french.js +9 -0
  52. package/dist/collection/components/store/translationStore/strings.german.js +9 -0
  53. package/dist/collection/components/store/translationStore/strings.hebrew.js +9 -0
  54. package/dist/collection/components/store/translationStore/strings.indonesian.js +9 -0
  55. package/dist/collection/components/store/translationStore/strings.italian.js +9 -0
  56. package/dist/collection/components/store/translationStore/strings.japanese.js +9 -0
  57. package/dist/collection/components/store/translationStore/strings.korean.js +9 -0
  58. package/dist/collection/components/store/translationStore/strings.norwegian.js +9 -0
  59. package/dist/collection/components/store/translationStore/strings.polish.js +9 -0
  60. package/dist/collection/components/store/translationStore/strings.portuguese.js +9 -0
  61. package/dist/collection/components/store/translationStore/strings.russian.js +9 -0
  62. package/dist/collection/components/store/translationStore/strings.spanish.js +9 -0
  63. package/dist/collection/components/store/translationStore/strings.swedish.js +9 -0
  64. package/dist/collection/components/store/translationStore/strings.turkish.js +9 -0
  65. package/dist/collection/components/store/translationStore/strings.vietnamese.js +9 -0
  66. package/dist/collection/components/stripe/zonos-address/zonos-address.css +2 -1
  67. package/dist/collection/components/stripe/zonos-address/zonos-address.js +53 -3
  68. package/dist/collection/components/stripe/zonos-custom-address/zonos-custom-address.js +52 -2
  69. package/dist/collection/components/utils/api/prepCalculateLandedCost.js +2 -0
  70. package/dist/collection/components/utils/checkout/shouldRenderShortAddressCodeInput.js +16 -0
  71. package/dist/collection/components/utils/checkout/watchImmediateBigcommerceDomesticCheckoutRedirect.js +31 -8
  72. package/dist/collection/components/utils/getContrastColor.js +8 -0
  73. package/dist/collection/components/utils/shortAddressCodeValidationResult.js +37 -0
  74. package/dist/collection/types/checkout/ShortAddressCode.js +3 -0
  75. package/dist/collection/types/generated/graphql.frontend.types.js +2 -0
  76. package/dist/collection/types/generated/graphql.internal.types.js +135 -0
  77. package/dist/collection/types/index.js +1 -0
  78. package/dist/esm/ShortAddressCode-7620e622.js +5 -0
  79. package/dist/esm/{cart-7f4704dc.js → cart-99ec4a3d.js} +35 -6
  80. package/dist/esm/getContrastColor-28c18704.js +35 -0
  81. package/dist/esm/{hasInclusivePrice-3958ed11.js → hasInclusivePrice-6fcc712f.js} +1 -1
  82. package/dist/esm/index.js +8 -7
  83. package/dist/esm/{invoice-d3d256fb.js → invoice-44e97c22.js} +2 -2
  84. package/dist/esm/{isCollectMobileTablet-27693de5.js → isCollectMobileTablet-566ff0aa.js} +2 -2
  85. package/dist/esm/isContrastColor-69778cea.js +10 -0
  86. package/dist/esm/loader.js +1 -1
  87. package/dist/esm/{localization-401ec6d4.js → localization-853b48a9.js} +180 -0
  88. package/dist/esm/{paypal-61270b79.js → paypal-56534e48.js} +4 -11
  89. package/dist/esm/{placeTestOrder-c2180600.js → placeTestOrder-9e0ab5fd.js} +2 -2
  90. package/dist/esm/{renderCheckoutCurrency-dea06d44.js → renderCheckoutCurrency-1bd40006.js} +2 -2
  91. package/dist/esm/{shouldRenderTaxIdInput-d45ceeb4.js → shouldRenderTaxIdInput-2572bf77.js} +18 -1
  92. package/dist/esm/zonos-address-display_9.entry.js +35 -5
  93. package/dist/esm/zonos-address_4.entry.js +37 -7
  94. package/dist/esm/zonos-card_5.entry.js +4 -3
  95. package/dist/esm/zonos-cart-items_12.entry.js +67 -38
  96. package/dist/esm/zonos-checkout.entry.js +36 -13
  97. package/dist/esm/zonos-collect-cart-items_3.entry.js +2 -2
  98. package/dist/esm/zonos-collect-finish_6.entry.js +8 -7
  99. package/dist/esm/zonos-collect.entry.js +5 -4
  100. package/dist/esm/zonos-controller.entry.js +2 -2
  101. package/dist/esm/zonos-country-flag.entry.js +1 -1
  102. package/dist/esm/zonos-country-select_4.entry.js +1 -1
  103. package/dist/esm/zonos-elements.js +1 -1
  104. package/dist/esm/zonos-hello-dialog.entry.js +3 -3
  105. package/dist/esm/zonos-hello.entry.js +5 -2
  106. package/dist/esm/zonos-invoice-cart-items_2.entry.js +4 -4
  107. package/dist/esm/zonos-invoice-finish_5.entry.js +8 -7
  108. package/dist/esm/zonos-invoice.entry.js +5 -4
  109. package/dist/esm/zonos-language-select_2.entry.js +1 -1
  110. package/dist/esm/zonos-shipping-rich-radio.entry.js +19 -5
  111. package/dist/esm-es5/ShortAddressCode-7620e622.js +1 -0
  112. package/dist/esm-es5/cart-99ec4a3d.js +1 -0
  113. package/dist/esm-es5/getContrastColor-28c18704.js +1 -0
  114. package/dist/esm-es5/{hasInclusivePrice-3958ed11.js → hasInclusivePrice-6fcc712f.js} +1 -1
  115. package/dist/esm-es5/index.js +1 -1
  116. package/dist/esm-es5/{invoice-d3d256fb.js → invoice-44e97c22.js} +1 -1
  117. package/dist/esm-es5/{isCollectMobileTablet-27693de5.js → isCollectMobileTablet-566ff0aa.js} +1 -1
  118. package/dist/esm-es5/isContrastColor-69778cea.js +1 -0
  119. package/dist/esm-es5/loader.js +1 -1
  120. package/dist/esm-es5/localization-853b48a9.js +1 -0
  121. package/dist/esm-es5/paypal-56534e48.js +17 -0
  122. package/dist/esm-es5/{placeTestOrder-c2180600.js → placeTestOrder-9e0ab5fd.js} +1 -1
  123. package/dist/esm-es5/{renderCheckoutCurrency-dea06d44.js → renderCheckoutCurrency-1bd40006.js} +1 -1
  124. package/dist/esm-es5/shouldRenderTaxIdInput-2572bf77.js +1 -0
  125. package/dist/esm-es5/zonos-address-display_9.entry.js +1 -1
  126. package/dist/esm-es5/zonos-address_4.entry.js +1 -1
  127. package/dist/esm-es5/zonos-card_5.entry.js +1 -1
  128. package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
  129. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  130. package/dist/esm-es5/zonos-collect-cart-items_3.entry.js +1 -1
  131. package/dist/esm-es5/zonos-collect-finish_6.entry.js +1 -1
  132. package/dist/esm-es5/zonos-collect.entry.js +1 -1
  133. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  134. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  135. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
  136. package/dist/esm-es5/zonos-elements.js +1 -1
  137. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  138. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  139. package/dist/esm-es5/zonos-invoice-cart-items_2.entry.js +1 -1
  140. package/dist/esm-es5/zonos-invoice-finish_5.entry.js +1 -1
  141. package/dist/esm-es5/zonos-invoice.entry.js +1 -1
  142. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  143. package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
  144. package/dist/scripts/index.d.ts +60 -5
  145. package/dist/scripts/index.js +1 -1
  146. package/dist/scripts/loadZonos.js +1 -1
  147. package/dist/scripts/zonos.js +1 -1
  148. package/dist/types/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.d.ts +4 -0
  149. package/dist/types/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.d.ts +4 -0
  150. package/dist/types/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.d.ts +5 -0
  151. package/dist/types/components/store/checkout/stripe.d.ts +4 -0
  152. package/dist/types/components/store/translationStore/strings.arabic.d.ts +9 -0
  153. package/dist/types/components/store/translationStore/strings.base.d.ts +9 -0
  154. package/dist/types/components/store/translationStore/strings.chinese.d.ts +9 -0
  155. package/dist/types/components/store/translationStore/strings.danish.d.ts +9 -0
  156. package/dist/types/components/store/translationStore/strings.dutch.d.ts +9 -0
  157. package/dist/types/components/store/translationStore/strings.french.d.ts +9 -0
  158. package/dist/types/components/store/translationStore/strings.german.d.ts +9 -0
  159. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +9 -0
  160. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +9 -0
  161. package/dist/types/components/store/translationStore/strings.italian.d.ts +9 -0
  162. package/dist/types/components/store/translationStore/strings.japanese.d.ts +9 -0
  163. package/dist/types/components/store/translationStore/strings.korean.d.ts +9 -0
  164. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +9 -0
  165. package/dist/types/components/store/translationStore/strings.polish.d.ts +9 -0
  166. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +9 -0
  167. package/dist/types/components/store/translationStore/strings.russian.d.ts +9 -0
  168. package/dist/types/components/store/translationStore/strings.spanish.d.ts +9 -0
  169. package/dist/types/components/store/translationStore/strings.swedish.d.ts +9 -0
  170. package/dist/types/components/store/translationStore/strings.turkish.d.ts +9 -0
  171. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +9 -0
  172. package/dist/types/components/stripe/zonos-address/zonos-address.d.ts +8 -0
  173. package/dist/types/components/stripe/zonos-custom-address/zonos-custom-address.d.ts +8 -0
  174. package/dist/types/components/utils/api/getLocaleMessages.d.ts +1 -1
  175. package/dist/types/components/utils/checkout/shouldRenderShortAddressCodeInput.d.ts +6 -0
  176. package/dist/types/components/utils/shortAddressCodeValidationResult.d.ts +12 -0
  177. package/dist/types/components.d.ts +32 -0
  178. package/dist/types/types/checkout/ShortAddressCode.d.ts +2 -0
  179. package/dist/types/types/checkout/api/CalculateLandedCost.d.ts +8 -0
  180. package/dist/types/types/checkout/api/CreateParty.d.ts +1 -0
  181. package/dist/types/types/generated/graphql.frontend.types.d.ts +3 -1
  182. package/dist/types/types/generated/graphql.frontend.types.ts +3 -1
  183. package/dist/types/types/generated/graphql.internal.types.d.ts +157 -30
  184. package/dist/types/types/generated/graphql.internal.types.ts +194 -37
  185. package/dist/types/types/global.d.ts +5 -1
  186. package/dist/types/types/index.d.ts +1 -0
  187. package/dist/types/types/utils/ZonosSettings.d.ts +5 -0
  188. package/dist/zonos-elements/index.esm.js +1 -1
  189. package/dist/zonos-elements/p-08365fdb.system.js +1 -0
  190. package/dist/zonos-elements/p-09aabce0.js +1 -0
  191. package/dist/zonos-elements/p-0c201c39.system.entry.js +1 -0
  192. package/dist/zonos-elements/p-0cb5f151.system.entry.js +1 -0
  193. package/dist/zonos-elements/{p-367c13db.system.entry.js → p-10355cf6.system.entry.js} +1 -1
  194. package/dist/zonos-elements/p-14735e9a.system.entry.js +1 -0
  195. package/dist/zonos-elements/{p-288aab46.js → p-1b86711b.js} +1 -1
  196. package/dist/zonos-elements/p-1d42cd20.js +1 -0
  197. package/dist/zonos-elements/p-1dbeeab2.entry.js +1 -0
  198. package/dist/zonos-elements/p-2c10b067.system.entry.js +1 -0
  199. package/dist/zonos-elements/p-2e8f842c.entry.js +1 -0
  200. package/dist/zonos-elements/p-2f55895c.system.entry.js +1 -0
  201. package/dist/zonos-elements/p-37bb5f2d.entry.js +1 -0
  202. package/dist/zonos-elements/{p-133e9ce7.system.entry.js → p-382601a9.system.entry.js} +1 -1
  203. package/dist/zonos-elements/{p-fe699cc5.system.entry.js → p-3908f78d.system.entry.js} +1 -1
  204. package/dist/zonos-elements/p-3e2f175c.entry.js +1 -0
  205. package/dist/zonos-elements/p-403b9fca.entry.js +1 -0
  206. package/dist/zonos-elements/p-41299ffb.js +1 -0
  207. package/dist/zonos-elements/p-443e1f30.system.js +1 -0
  208. package/dist/zonos-elements/{p-a79f3685.js → p-46ece7ae.js} +1 -1
  209. package/dist/zonos-elements/p-48d55793.system.js +1 -0
  210. package/dist/zonos-elements/p-5295d36e.entry.js +1 -0
  211. package/dist/zonos-elements/{p-4d7b82b5.entry.js → p-53a9da45.entry.js} +1 -1
  212. package/dist/zonos-elements/p-63a383f4.js +1 -0
  213. package/dist/zonos-elements/{p-a3411f20.entry.js → p-64870563.entry.js} +1 -1
  214. package/dist/zonos-elements/p-655ec440.system.js +1 -0
  215. package/dist/zonos-elements/{p-415c2a90.system.js → p-678331f0.system.js} +1 -1
  216. package/dist/zonos-elements/p-695e0803.system.entry.js +1 -0
  217. package/dist/zonos-elements/{p-4bd8a16c.entry.js → p-69b9b711.entry.js} +1 -1
  218. package/dist/zonos-elements/p-6e3cf6eb.entry.js +1 -0
  219. package/dist/zonos-elements/p-6f430d6f.system.entry.js +1 -0
  220. package/dist/zonos-elements/p-71185d24.system.js +1 -0
  221. package/dist/zonos-elements/p-786d1c24.js +1 -0
  222. package/dist/zonos-elements/p-794d29dc.entry.js +1 -0
  223. package/dist/zonos-elements/p-7b400b5f.system.entry.js +1 -0
  224. package/dist/zonos-elements/{p-6b9b7cfb.system.entry.js → p-8205ae87.system.entry.js} +1 -1
  225. package/dist/zonos-elements/{p-0aada8ab.entry.js → p-83377e23.entry.js} +1 -1
  226. package/dist/zonos-elements/p-8defdf0d.system.js +17 -0
  227. package/dist/zonos-elements/p-8e98a7c8.js +1 -0
  228. package/dist/zonos-elements/{p-2889a485.system.entry.js → p-95348ebf.system.entry.js} +1 -1
  229. package/dist/zonos-elements/p-9a066833.system.entry.js +1 -0
  230. package/dist/zonos-elements/p-aa6c2348.system.entry.js +1 -0
  231. package/dist/zonos-elements/p-ada8841a.js +1 -0
  232. package/dist/zonos-elements/p-ae26aec5.system.js +1 -0
  233. package/dist/zonos-elements/p-af85846e.system.js +1 -0
  234. package/dist/zonos-elements/{p-78c8bb58.system.entry.js → p-b54a95ea.system.entry.js} +1 -1
  235. package/dist/zonos-elements/p-c2442878.system.js +1 -1
  236. package/dist/zonos-elements/p-c75b7c47.entry.js +1 -0
  237. package/dist/zonos-elements/p-caff391d.system.entry.js +1 -0
  238. package/dist/zonos-elements/p-ce98e472.js +1 -0
  239. package/dist/zonos-elements/{p-3f46d83e.entry.js → p-d0411b2d.entry.js} +1 -1
  240. package/dist/zonos-elements/{p-faae5eca.entry.js → p-d5b7d3c3.entry.js} +1 -1
  241. package/dist/zonos-elements/p-dca14319.system.js +1 -0
  242. package/dist/zonos-elements/p-dd19d9d8.js +17 -0
  243. package/dist/zonos-elements/{p-e0809901.system.js → p-df6e62f8.system.js} +1 -1
  244. package/dist/zonos-elements/p-df90bccf.entry.js +1 -0
  245. package/dist/zonos-elements/p-e07aaf09.system.js +1 -0
  246. package/dist/zonos-elements/p-e458f737.entry.js +1 -0
  247. package/dist/zonos-elements/p-eea7ac64.js +1 -0
  248. package/dist/zonos-elements/p-f6f1d779.system.entry.js +1 -0
  249. package/dist/zonos-elements/p-f8eb618b.entry.js +1 -0
  250. package/dist/zonos-elements/p-fe96e239.system.js +1 -0
  251. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  252. package/package.json +1 -1
  253. package/dist/esm-es5/cart-7f4704dc.js +0 -1
  254. package/dist/esm-es5/localization-401ec6d4.js +0 -1
  255. package/dist/esm-es5/paypal-61270b79.js +0 -17
  256. package/dist/esm-es5/shouldRenderTaxIdInput-d45ceeb4.js +0 -1
  257. package/dist/zonos-elements/p-01b0a2e2.js +0 -1
  258. package/dist/zonos-elements/p-1216cfb3.entry.js +0 -1
  259. package/dist/zonos-elements/p-1d91e5d1.entry.js +0 -1
  260. package/dist/zonos-elements/p-21fb6b39.js +0 -1
  261. package/dist/zonos-elements/p-2601538e.entry.js +0 -1
  262. package/dist/zonos-elements/p-276faa43.js +0 -1
  263. package/dist/zonos-elements/p-27874c22.entry.js +0 -1
  264. package/dist/zonos-elements/p-291b85f7.entry.js +0 -1
  265. package/dist/zonos-elements/p-33fdde8a.system.js +0 -1
  266. package/dist/zonos-elements/p-38bdbdcc.system.entry.js +0 -1
  267. package/dist/zonos-elements/p-3b1898bc.system.entry.js +0 -1
  268. package/dist/zonos-elements/p-3f078bf5.system.entry.js +0 -1
  269. package/dist/zonos-elements/p-59ebb8c7.system.entry.js +0 -1
  270. package/dist/zonos-elements/p-5be33a13.system.entry.js +0 -1
  271. package/dist/zonos-elements/p-5f956a0d.entry.js +0 -1
  272. package/dist/zonos-elements/p-74e258ff.system.js +0 -1
  273. package/dist/zonos-elements/p-7521549c.entry.js +0 -1
  274. package/dist/zonos-elements/p-775c1122.system.js +0 -1
  275. package/dist/zonos-elements/p-85430ec1.js +0 -1
  276. package/dist/zonos-elements/p-8d2e24a4.system.entry.js +0 -1
  277. package/dist/zonos-elements/p-8dc7d82f.system.entry.js +0 -1
  278. package/dist/zonos-elements/p-95524f54.js +0 -1
  279. package/dist/zonos-elements/p-95703417.system.entry.js +0 -1
  280. package/dist/zonos-elements/p-993723c2.system.entry.js +0 -1
  281. package/dist/zonos-elements/p-a0a62b7e.js +0 -17
  282. package/dist/zonos-elements/p-a53d3d46.entry.js +0 -1
  283. package/dist/zonos-elements/p-a556ec07.system.js +0 -17
  284. package/dist/zonos-elements/p-a6489088.js +0 -1
  285. package/dist/zonos-elements/p-acc0eee3.system.js +0 -1
  286. package/dist/zonos-elements/p-ba228769.entry.js +0 -1
  287. package/dist/zonos-elements/p-c62b6741.system.entry.js +0 -1
  288. package/dist/zonos-elements/p-c708f7e9.entry.js +0 -1
  289. package/dist/zonos-elements/p-c88cd318.system.entry.js +0 -1
  290. package/dist/zonos-elements/p-d1effb76.system.js +0 -1
  291. package/dist/zonos-elements/p-e7543082.system.js +0 -1
  292. package/dist/zonos-elements/p-e90e9584.entry.js +0 -1
  293. package/dist/zonos-elements/p-eb9ee025.system.js +0 -1
  294. package/dist/zonos-elements/p-ebef34e3.entry.js +0 -1
  295. package/dist/zonos-elements/p-f6c6b6d3.system.entry.js +0 -1
@@ -61,6 +61,10 @@ export declare class ZonosCustomerInfo {
61
61
  * Whether or not the tax id input is invalid
62
62
  */
63
63
  taxIdErrorMessage: string;
64
+ /**
65
+ * Whether or not the short address code input is invalid
66
+ */
67
+ shortAddressCodeErrorMessage: string;
64
68
  /**
65
69
  * Whether or not the shipping address contains invalid characters
66
70
  */
@@ -14,6 +14,10 @@ export declare class ZonosShipping {
14
14
  * Whether or not the checkout is in mobile mode
15
15
  */
16
16
  submitBtnType?: HTMLZonosButtonElement['variant'];
17
+ /**
18
+ * Whether or not the checkout is in mobile mode
19
+ */
20
+ isMobile: boolean;
17
21
  /**
18
22
  * Event to emit when the continue button is clicked
19
23
  */
@@ -13,6 +13,7 @@ export type ShippingRichRadioItem = {
13
13
  value: string | number;
14
14
  };
15
15
  export declare class ZonosShippingRichRadio {
16
+ ele: HTMLZonosShippingRichRadioElement;
16
17
  /**
17
18
  * List of items to display
18
19
  */
@@ -31,6 +32,10 @@ export declare class ZonosShippingRichRadio {
31
32
  * Theme of the radio item
32
33
  */
33
34
  theme?: ElementsUiTheme;
35
+ /**
36
+ * Whether or not the radio item is in mobile mode
37
+ */
38
+ isMobile: boolean;
34
39
  /**
35
40
  * Selected item
36
41
  * @default {null|firstItem}
@@ -70,6 +70,10 @@ type StripeStore = {
70
70
  * Shipping party id (used for async address update)
71
71
  */
72
72
  partyShippingId: string | null;
73
+ /**
74
+ * Short address code only required for Saudi Arabia
75
+ */
76
+ shortAddressCode: string;
73
77
  /**
74
78
  * Toggle to indicate if we should refund the inventory when the payment is failed
75
79
  */
@@ -284,6 +284,9 @@ export declare const stringsArabic: {
284
284
  'Invalid session': {
285
285
  value: string;
286
286
  };
287
+ 'Invalid short address code format. Must be 4 letters and 4 numbers.': {
288
+ value: string;
289
+ };
287
290
  'Invoice:': {
288
291
  value: string;
289
292
  };
@@ -527,6 +530,12 @@ export declare const stringsArabic: {
527
530
  'Shopping cart expired': {
528
531
  value: string;
529
532
  };
533
+ 'Short address code': {
534
+ value: string;
535
+ };
536
+ 'Short address code is required.': {
537
+ value: string;
538
+ };
530
539
  Show: {
531
540
  value: string;
532
541
  };
@@ -284,6 +284,9 @@ export declare const stringsBase: {
284
284
  'Invalid session': {
285
285
  value: string;
286
286
  };
287
+ 'Invalid short address code format. Must be 4 letters and 4 numbers.': {
288
+ value: string;
289
+ };
287
290
  'Invoice:': {
288
291
  value: string;
289
292
  };
@@ -527,6 +530,12 @@ export declare const stringsBase: {
527
530
  'Shopping cart expired': {
528
531
  value: string;
529
532
  };
533
+ 'Short address code': {
534
+ value: string;
535
+ };
536
+ 'Short address code is required.': {
537
+ value: string;
538
+ };
530
539
  Show: {
531
540
  value: string;
532
541
  };
@@ -284,6 +284,9 @@ export declare const stringsChinese: {
284
284
  'Invalid session': {
285
285
  value: string;
286
286
  };
287
+ 'Invalid short address code format. Must be 4 letters and 4 numbers.': {
288
+ value: string;
289
+ };
287
290
  'Invoice:': {
288
291
  value: string;
289
292
  };
@@ -527,6 +530,12 @@ export declare const stringsChinese: {
527
530
  'Shopping cart expired': {
528
531
  value: string;
529
532
  };
533
+ 'Short address code': {
534
+ value: string;
535
+ };
536
+ 'Short address code is required.': {
537
+ value: string;
538
+ };
530
539
  Show: {
531
540
  value: string;
532
541
  };
@@ -284,6 +284,9 @@ export declare const stringsDanish: {
284
284
  'Invalid session': {
285
285
  value: string;
286
286
  };
287
+ 'Invalid short address code format. Must be 4 letters and 4 numbers.': {
288
+ value: string;
289
+ };
287
290
  'Invoice:': {
288
291
  value: string;
289
292
  };
@@ -527,6 +530,12 @@ export declare const stringsDanish: {
527
530
  'Shopping cart expired': {
528
531
  value: string;
529
532
  };
533
+ 'Short address code': {
534
+ value: string;
535
+ };
536
+ 'Short address code is required.': {
537
+ value: string;
538
+ };
530
539
  Show: {
531
540
  value: string;
532
541
  };
@@ -284,6 +284,9 @@ export declare const stringsDutch: {
284
284
  'Invalid session': {
285
285
  value: string;
286
286
  };
287
+ 'Invalid short address code format. Must be 4 letters and 4 numbers.': {
288
+ value: string;
289
+ };
287
290
  'Invoice:': {
288
291
  value: string;
289
292
  };
@@ -527,6 +530,12 @@ export declare const stringsDutch: {
527
530
  'Shopping cart expired': {
528
531
  value: string;
529
532
  };
533
+ 'Short address code': {
534
+ value: string;
535
+ };
536
+ 'Short address code is required.': {
537
+ value: string;
538
+ };
530
539
  Show: {
531
540
  value: string;
532
541
  };
@@ -284,6 +284,9 @@ export declare const stringsFrench: {
284
284
  'Invalid session': {
285
285
  value: string;
286
286
  };
287
+ 'Invalid short address code format. Must be 4 letters and 4 numbers.': {
288
+ value: string;
289
+ };
287
290
  'Invoice:': {
288
291
  value: string;
289
292
  };
@@ -527,6 +530,12 @@ export declare const stringsFrench: {
527
530
  'Shopping cart expired': {
528
531
  value: string;
529
532
  };
533
+ 'Short address code': {
534
+ value: string;
535
+ };
536
+ 'Short address code is required.': {
537
+ value: string;
538
+ };
530
539
  Show: {
531
540
  value: string;
532
541
  };
@@ -284,6 +284,9 @@ export declare const stringsGerman: {
284
284
  'Invalid session': {
285
285
  value: string;
286
286
  };
287
+ 'Invalid short address code format. Must be 4 letters and 4 numbers.': {
288
+ value: string;
289
+ };
287
290
  'Invoice:': {
288
291
  value: string;
289
292
  };
@@ -527,6 +530,12 @@ export declare const stringsGerman: {
527
530
  'Shopping cart expired': {
528
531
  value: string;
529
532
  };
533
+ 'Short address code': {
534
+ value: string;
535
+ };
536
+ 'Short address code is required.': {
537
+ value: string;
538
+ };
530
539
  Show: {
531
540
  value: string;
532
541
  };
@@ -284,6 +284,9 @@ export declare const stringsHebrew: {
284
284
  'Invalid session': {
285
285
  value: string;
286
286
  };
287
+ 'Invalid short address code format. Must be 4 letters and 4 numbers.': {
288
+ value: string;
289
+ };
287
290
  'Invoice:': {
288
291
  value: string;
289
292
  };
@@ -527,6 +530,12 @@ export declare const stringsHebrew: {
527
530
  'Shopping cart expired': {
528
531
  value: string;
529
532
  };
533
+ 'Short address code': {
534
+ value: string;
535
+ };
536
+ 'Short address code is required.': {
537
+ value: string;
538
+ };
530
539
  Show: {
531
540
  value: string;
532
541
  };
@@ -284,6 +284,9 @@ export declare const stringsIndonesian: {
284
284
  'Invalid session': {
285
285
  value: string;
286
286
  };
287
+ 'Invalid short address code format. Must be 4 letters and 4 numbers.': {
288
+ value: string;
289
+ };
287
290
  'Invoice:': {
288
291
  value: string;
289
292
  };
@@ -527,6 +530,12 @@ export declare const stringsIndonesian: {
527
530
  'Shopping cart expired': {
528
531
  value: string;
529
532
  };
533
+ 'Short address code': {
534
+ value: string;
535
+ };
536
+ 'Short address code is required.': {
537
+ value: string;
538
+ };
530
539
  Show: {
531
540
  value: string;
532
541
  };
@@ -284,6 +284,9 @@ export declare const stringsItalian: {
284
284
  'Invalid session': {
285
285
  value: string;
286
286
  };
287
+ 'Invalid short address code format. Must be 4 letters and 4 numbers.': {
288
+ value: string;
289
+ };
287
290
  'Invoice:': {
288
291
  value: string;
289
292
  };
@@ -527,6 +530,12 @@ export declare const stringsItalian: {
527
530
  'Shopping cart expired': {
528
531
  value: string;
529
532
  };
533
+ 'Short address code': {
534
+ value: string;
535
+ };
536
+ 'Short address code is required.': {
537
+ value: string;
538
+ };
530
539
  Show: {
531
540
  value: string;
532
541
  };
@@ -284,6 +284,9 @@ export declare const stringsJapanese: {
284
284
  'Invalid session': {
285
285
  value: string;
286
286
  };
287
+ 'Invalid short address code format. Must be 4 letters and 4 numbers.': {
288
+ value: string;
289
+ };
287
290
  'Invoice:': {
288
291
  value: string;
289
292
  };
@@ -527,6 +530,12 @@ export declare const stringsJapanese: {
527
530
  'Shopping cart expired': {
528
531
  value: string;
529
532
  };
533
+ 'Short address code': {
534
+ value: string;
535
+ };
536
+ 'Short address code is required.': {
537
+ value: string;
538
+ };
530
539
  Show: {
531
540
  value: string;
532
541
  };
@@ -284,6 +284,9 @@ export declare const stringsKorean: {
284
284
  'Invalid session': {
285
285
  value: string;
286
286
  };
287
+ 'Invalid short address code format. Must be 4 letters and 4 numbers.': {
288
+ value: string;
289
+ };
287
290
  'Invoice:': {
288
291
  value: string;
289
292
  };
@@ -527,6 +530,12 @@ export declare const stringsKorean: {
527
530
  'Shopping cart expired': {
528
531
  value: string;
529
532
  };
533
+ 'Short address code': {
534
+ value: string;
535
+ };
536
+ 'Short address code is required.': {
537
+ value: string;
538
+ };
530
539
  Show: {
531
540
  value: string;
532
541
  };
@@ -284,6 +284,9 @@ export declare const stringsNorwegian: {
284
284
  'Invalid session': {
285
285
  value: string;
286
286
  };
287
+ 'Invalid short address code format. Must be 4 letters and 4 numbers.': {
288
+ value: string;
289
+ };
287
290
  'Invoice:': {
288
291
  value: string;
289
292
  };
@@ -527,6 +530,12 @@ export declare const stringsNorwegian: {
527
530
  'Shopping cart expired': {
528
531
  value: string;
529
532
  };
533
+ 'Short address code': {
534
+ value: string;
535
+ };
536
+ 'Short address code is required.': {
537
+ value: string;
538
+ };
530
539
  Show: {
531
540
  value: string;
532
541
  };
@@ -284,6 +284,9 @@ export declare const stringsPolish: {
284
284
  'Invalid session': {
285
285
  value: string;
286
286
  };
287
+ 'Invalid short address code format. Must be 4 letters and 4 numbers.': {
288
+ value: string;
289
+ };
287
290
  'Invoice:': {
288
291
  value: string;
289
292
  };
@@ -527,6 +530,12 @@ export declare const stringsPolish: {
527
530
  'Shopping cart expired': {
528
531
  value: string;
529
532
  };
533
+ 'Short address code': {
534
+ value: string;
535
+ };
536
+ 'Short address code is required.': {
537
+ value: string;
538
+ };
530
539
  Show: {
531
540
  value: string;
532
541
  };
@@ -284,6 +284,9 @@ export declare const stringsPortuguese: {
284
284
  'Invalid session': {
285
285
  value: string;
286
286
  };
287
+ 'Invalid short address code format. Must be 4 letters and 4 numbers.': {
288
+ value: string;
289
+ };
287
290
  'Invoice:': {
288
291
  value: string;
289
292
  };
@@ -527,6 +530,12 @@ export declare const stringsPortuguese: {
527
530
  'Shopping cart expired': {
528
531
  value: string;
529
532
  };
533
+ 'Short address code': {
534
+ value: string;
535
+ };
536
+ 'Short address code is required.': {
537
+ value: string;
538
+ };
530
539
  Show: {
531
540
  value: string;
532
541
  };
@@ -284,6 +284,9 @@ export declare const stringsRussian: {
284
284
  'Invalid session': {
285
285
  value: string;
286
286
  };
287
+ 'Invalid short address code format. Must be 4 letters and 4 numbers.': {
288
+ value: string;
289
+ };
287
290
  'Invoice:': {
288
291
  value: string;
289
292
  };
@@ -527,6 +530,12 @@ export declare const stringsRussian: {
527
530
  'Shopping cart expired': {
528
531
  value: string;
529
532
  };
533
+ 'Short address code': {
534
+ value: string;
535
+ };
536
+ 'Short address code is required.': {
537
+ value: string;
538
+ };
530
539
  Show: {
531
540
  value: string;
532
541
  };
@@ -284,6 +284,9 @@ export declare const stringsSpanish: {
284
284
  'Invalid session': {
285
285
  value: string;
286
286
  };
287
+ 'Invalid short address code format. Must be 4 letters and 4 numbers.': {
288
+ value: string;
289
+ };
287
290
  'Invoice:': {
288
291
  value: string;
289
292
  };
@@ -527,6 +530,12 @@ export declare const stringsSpanish: {
527
530
  'Shopping cart expired': {
528
531
  value: string;
529
532
  };
533
+ 'Short address code': {
534
+ value: string;
535
+ };
536
+ 'Short address code is required.': {
537
+ value: string;
538
+ };
530
539
  Show: {
531
540
  value: string;
532
541
  };
@@ -284,6 +284,9 @@ export declare const stringsSwedish: {
284
284
  'Invalid session': {
285
285
  value: string;
286
286
  };
287
+ 'Invalid short address code format. Must be 4 letters and 4 numbers.': {
288
+ value: string;
289
+ };
287
290
  'Invoice:': {
288
291
  value: string;
289
292
  };
@@ -527,6 +530,12 @@ export declare const stringsSwedish: {
527
530
  'Shopping cart expired': {
528
531
  value: string;
529
532
  };
533
+ 'Short address code': {
534
+ value: string;
535
+ };
536
+ 'Short address code is required.': {
537
+ value: string;
538
+ };
530
539
  Show: {
531
540
  value: string;
532
541
  };
@@ -284,6 +284,9 @@ export declare const stringsTurkish: {
284
284
  'Invalid session': {
285
285
  value: string;
286
286
  };
287
+ 'Invalid short address code format. Must be 4 letters and 4 numbers.': {
288
+ value: string;
289
+ };
287
290
  'Invoice:': {
288
291
  value: string;
289
292
  };
@@ -527,6 +530,12 @@ export declare const stringsTurkish: {
527
530
  'Shopping cart expired': {
528
531
  value: string;
529
532
  };
533
+ 'Short address code': {
534
+ value: string;
535
+ };
536
+ 'Short address code is required.': {
537
+ value: string;
538
+ };
530
539
  Show: {
531
540
  value: string;
532
541
  };
@@ -284,6 +284,9 @@ export declare const stringsVietnamese: {
284
284
  'Invalid session': {
285
285
  value: string;
286
286
  };
287
+ 'Invalid short address code format. Must be 4 letters and 4 numbers.': {
288
+ value: string;
289
+ };
287
290
  'Invoice:': {
288
291
  value: string;
289
292
  };
@@ -527,6 +530,12 @@ export declare const stringsVietnamese: {
527
530
  'Shopping cart expired': {
528
531
  value: string;
529
532
  };
533
+ 'Short address code': {
534
+ value: string;
535
+ };
536
+ 'Short address code is required.': {
537
+ value: string;
538
+ };
530
539
  Show: {
531
540
  value: string;
532
541
  };
@@ -22,6 +22,10 @@ export declare class ZonosAddress {
22
22
  * Error message for tax id input
23
23
  */
24
24
  taxIdErrorMessage: string;
25
+ /**
26
+ * Error message for short address code input
27
+ */
28
+ shortAddressCodeErrorMessage: string;
25
29
  /**
26
30
  * Event to emit when address is not containing allowed character sets
27
31
  */
@@ -65,6 +69,10 @@ export declare class ZonosAddress {
65
69
  * Render tax id input based on ship to country code
66
70
  */
67
71
  private renderTaxIdInput;
72
+ /**
73
+ * Render short address code input based on ship to country code
74
+ */
75
+ private renderShortAddressCodeInput;
68
76
  private renderCompanyNameInput;
69
77
  disconnectedCallback(): void;
70
78
  componentDidLoad(): void;
@@ -23,6 +23,10 @@ export declare class ZonosAddress {
23
23
  * Error message for tax id input
24
24
  */
25
25
  taxIdErrorMessage: string;
26
+ /**
27
+ * Error message for short address code input
28
+ */
29
+ shortAddressCodeErrorMessage: string;
26
30
  /**
27
31
  * Event to emit when address is not containing allowed character sets
28
32
  */
@@ -137,6 +141,10 @@ export declare class ZonosAddress {
137
141
  * Render tax id input based on ship to country code
138
142
  */
139
143
  private renderTaxIdInput;
144
+ /**
145
+ * Render short address code input based on ship to country code
146
+ */
147
+ private renderShortAddressCodeInput;
140
148
  private renderCompanyNameInput;
141
149
  private initCountryField;
142
150
  private initDefaultCustomAddressForm;
@@ -4,7 +4,7 @@ export declare const getLocaleMessages: ({ countryCode, localeTo, storeId, }: {
4
4
  localeTo?: string;
5
5
  storeId: number;
6
6
  }) => Promise<{
7
- countryCodes: Array<string>;
7
+ countryCodes: Array<string> | null;
8
8
  countryCodesPageMessageLinks: Array<{
9
9
  id: number;
10
10
  message: {
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Checks if the short address code input should be rendered based on the country code.
3
+ */
4
+ export declare const shouldRenderShortAddressCodeInput: ({ countryCode, }: {
5
+ countryCode: string;
6
+ }) => boolean;
@@ -0,0 +1,12 @@
1
+ type ShortAddressCodeValidationResult = {
2
+ error: 'Short address code is required.' | 'Invalid short address code format. Must be 4 letters and 4 numbers.';
3
+ valid: false;
4
+ } | {
5
+ error: null;
6
+ valid: true;
7
+ };
8
+ export declare const shortAddressCodeValidationResult: ({ shippingCountry, shortAddressCode, }: {
9
+ shippingCountry: string;
10
+ shortAddressCode: string;
11
+ }) => ShortAddressCodeValidationResult;
12
+ export {};