@zonos/elements 1.3.281 → 1.3.283

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 (345) hide show
  1. package/dist/cjs/{cart-3313cb0c.js → cart-a1c00090.js} +2 -1
  2. package/dist/cjs/{collect-2659c5af.js → collect-e61eafca.js} +2 -2
  3. package/dist/cjs/getMissingRequiredShippingFields-a6c4f625.js +50 -0
  4. package/dist/cjs/{hasInclusivePrice-d132daaa.js → hasInclusivePrice-e7b57e02.js} +1 -1
  5. package/dist/cjs/index.cjs.js +7 -7
  6. package/dist/cjs/{invoice-26f52c07.js → invoice-ead45797.js} +2 -2
  7. package/dist/cjs/loader.cjs.js +1 -1
  8. package/dist/cjs/{localization-6189080f.js → localization-783849c8.js} +242 -0
  9. package/dist/cjs/{paypal-f6a256b5.js → paypal-e1548f40.js} +2 -2
  10. package/dist/cjs/{placeTestOrder-695f2b32.js → placeTestOrder-d99b1fe2.js} +2 -2
  11. package/dist/cjs/{renderCheckoutCurrency-fe56094f.js → renderCheckoutCurrency-c942fcba.js} +2 -2
  12. package/dist/cjs/{zonos-address-display_8.cjs.entry.js → zonos-address-completion-dialog_7.cjs.entry.js} +225 -192
  13. package/dist/cjs/zonos-address-display_2.cjs.entry.js +157 -0
  14. package/dist/cjs/zonos-address_4.cjs.entry.js +73 -12
  15. package/dist/cjs/zonos-airwallex-payment.cjs.entry.js +3 -3
  16. package/dist/cjs/zonos-badge.cjs.entry.js +3 -3
  17. package/dist/cjs/zonos-button_3.cjs.entry.js +3 -3
  18. package/dist/cjs/zonos-card_5.cjs.entry.js +9 -9
  19. package/dist/cjs/zonos-cart-items_12.cjs.entry.js +89 -20
  20. package/dist/cjs/zonos-checkbox_2.cjs.entry.js +5 -5
  21. package/dist/cjs/zonos-checkout.cjs.entry.js +3 -3
  22. package/dist/cjs/zonos-collapse.cjs.entry.js +2 -2
  23. package/dist/cjs/zonos-collect-cart-items_3.cjs.entry.js +6 -6
  24. package/dist/cjs/zonos-collect-finish_6.cjs.entry.js +19 -19
  25. package/dist/cjs/zonos-collect.cjs.entry.js +4 -4
  26. package/dist/cjs/zonos-component.cjs.entry.js +1 -1
  27. package/dist/cjs/zonos-controller.cjs.entry.js +3 -3
  28. package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -1
  29. package/dist/cjs/zonos-country-select_4.cjs.entry.js +10 -10
  30. package/dist/cjs/zonos-elements.cjs.js +1 -1
  31. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +6 -6
  32. package/dist/cjs/zonos-hello.cjs.entry.js +1 -1
  33. package/dist/cjs/zonos-input.cjs.entry.js +4 -4
  34. package/dist/cjs/zonos-invoice-cart-items_2.cjs.entry.js +8 -8
  35. package/dist/cjs/zonos-invoice-finish_5.cjs.entry.js +14 -14
  36. package/dist/cjs/zonos-invoice.cjs.entry.js +4 -4
  37. package/dist/cjs/zonos-language-select_2.cjs.entry.js +5 -5
  38. package/dist/cjs/zonos-link.cjs.entry.js +1 -1
  39. package/dist/cjs/zonos-logo.cjs.entry.js +2 -2
  40. package/dist/cjs/zonos-policy-consent_2.cjs.entry.js +3 -3
  41. package/dist/cjs/zonos-stripe-input.cjs.entry.js +4 -4
  42. package/dist/cjs/zonos-tooltip.cjs.entry.js +2 -2
  43. package/dist/cjs/zonos-v-stack.cjs.entry.js +2 -2
  44. package/dist/collection/collection-manifest.json +1 -0
  45. package/dist/collection/components/checkout/zonos-checkout/zonos-address-completion-dialog/zonos-address-completion-dialog.css +105 -0
  46. package/dist/collection/components/checkout/zonos-checkout/zonos-address-completion-dialog/zonos-address-completion-dialog.js +341 -0
  47. package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-display/zonos-address-display.js +11 -4
  48. package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-form/zonos-address-form.js +5 -5
  49. package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-update-dialog.js +3 -3
  50. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-items/zonos-cart-items.js +1 -1
  51. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +4 -4
  52. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.js +2 -2
  53. package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.js +52 -2
  54. package/dist/collection/components/checkout/zonos-collect/zonos-collect-cart-items/zonos-collect-cart-items.js +1 -1
  55. package/dist/collection/components/checkout/zonos-collect/zonos-collect-finish/zonos-collect-finish.js +2 -2
  56. package/dist/collection/components/checkout/zonos-collect/zonos-collect-footer/zonos-collect-footer.js +3 -3
  57. package/dist/collection/components/checkout/zonos-collect/zonos-collect-review/zonos-collect-review.js +3 -3
  58. package/dist/collection/components/checkout/zonos-collect/zonos-collect-subtotal/zonos-collect-subtotal.js +5 -5
  59. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-cart-items/zonos-invoice-cart-items.js +2 -2
  60. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-finish/zonos-invoice-finish.js +2 -2
  61. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-footer/zonos-invoice-footer.js +3 -3
  62. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-review/zonos-invoice-review.js +3 -3
  63. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-subtotal/zonos-invoice-subtotal.js +2 -2
  64. package/dist/collection/components/common/zonos-badge/zonos-badge.js +3 -3
  65. package/dist/collection/components/common/zonos-button/zonos-button.js +3 -3
  66. package/dist/collection/components/common/zonos-card/zonos-card.js +4 -4
  67. package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.js +3 -3
  68. package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js +3 -3
  69. package/dist/collection/components/common/zonos-collapse/zonos-collapse.js +2 -2
  70. package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.js +3 -3
  71. package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +3 -3
  72. package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +2 -2
  73. package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +3 -3
  74. package/dist/collection/components/common/zonos-h-stack/zonos-h-stack.js +2 -2
  75. package/dist/collection/components/common/zonos-input/zonos-input.js +4 -4
  76. package/dist/collection/components/common/zonos-language-select/zonos-language-select.js +2 -2
  77. package/dist/collection/components/common/zonos-link/zonos-link.js +1 -1
  78. package/dist/collection/components/common/zonos-loading-overlay/zonos-loading-overlay.js +1 -1
  79. package/dist/collection/components/common/zonos-logo/zonos-logo.js +2 -2
  80. package/dist/collection/components/common/zonos-rest-state/zonos-rest-state.js +3 -3
  81. package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +2 -2
  82. package/dist/collection/components/common/zonos-skeleton/zonos-skeleton.js +1 -1
  83. package/dist/collection/components/common/zonos-stripe-input/zonos-stripe-input.js +4 -4
  84. package/dist/collection/components/common/zonos-stripe-phone-input/zonos-stripe-phone-input.js +17 -5
  85. package/dist/collection/components/common/zonos-toggle/zonos-toggle.js +2 -2
  86. package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.js +2 -2
  87. package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +2 -2
  88. package/dist/collection/components/common/zonos-virtual-scroll/zonos-virtual-scroll.js +2 -2
  89. package/dist/collection/components/component-template/zonos-component/zonos-component.js +1 -1
  90. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +2 -2
  91. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +4 -4
  92. package/dist/collection/components/main/zonos-controller.js +1 -1
  93. package/dist/collection/components/paypal/zonos-paypal-payment.js +1 -1
  94. package/dist/collection/components/store/checkout/stripe.js +1 -1
  95. package/dist/collection/components/store/hello/localization.js +2 -0
  96. package/dist/collection/components/store/translationStore/strings.arabic.js +12 -0
  97. package/dist/collection/components/store/translationStore/strings.base.js +12 -0
  98. package/dist/collection/components/store/translationStore/strings.chinese.js +12 -0
  99. package/dist/collection/components/store/translationStore/strings.danish.js +12 -0
  100. package/dist/collection/components/store/translationStore/strings.dutch.js +12 -0
  101. package/dist/collection/components/store/translationStore/strings.french.js +12 -0
  102. package/dist/collection/components/store/translationStore/strings.german.js +12 -0
  103. package/dist/collection/components/store/translationStore/strings.hebrew.js +12 -0
  104. package/dist/collection/components/store/translationStore/strings.indonesian.js +12 -0
  105. package/dist/collection/components/store/translationStore/strings.italian.js +12 -0
  106. package/dist/collection/components/store/translationStore/strings.japanese.js +12 -0
  107. package/dist/collection/components/store/translationStore/strings.korean.js +12 -0
  108. package/dist/collection/components/store/translationStore/strings.norwegian.js +12 -0
  109. package/dist/collection/components/store/translationStore/strings.polish.js +12 -0
  110. package/dist/collection/components/store/translationStore/strings.portuguese.js +12 -0
  111. package/dist/collection/components/store/translationStore/strings.russian.js +12 -0
  112. package/dist/collection/components/store/translationStore/strings.spanish.js +12 -0
  113. package/dist/collection/components/store/translationStore/strings.swedish.js +12 -0
  114. package/dist/collection/components/store/translationStore/strings.turkish.js +12 -0
  115. package/dist/collection/components/store/translationStore/strings.vietnamese.js +12 -0
  116. package/dist/collection/components/stripe/zonos-address/zonos-address.js +11 -6
  117. package/dist/collection/components/stripe/zonos-custom-address/zonos-address-suggestions/zonos-address-suggestions.js +2 -2
  118. package/dist/collection/components/stripe/zonos-custom-address/zonos-custom-address.js +52 -48
  119. package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
  120. package/dist/collection/components/utils/checkout/applyAddressCompletion.js +23 -0
  121. package/dist/collection/components/utils/checkout/buildAddressContacts.js +57 -0
  122. package/dist/collection/components/utils/checkout/getAddressCountryOptions.js +23 -0
  123. package/dist/collection/components/utils/checkout/getMissingRequiredShippingFields.js +44 -0
  124. package/dist/esm/{cart-c66ec17e.js → cart-93c36159.js} +2 -2
  125. package/dist/esm/{collect-915fd59d.js → collect-42d4757a.js} +2 -2
  126. package/dist/esm/getMissingRequiredShippingFields-ebdccdcf.js +47 -0
  127. package/dist/esm/{hasInclusivePrice-6fd935f3.js → hasInclusivePrice-4c12548f.js} +1 -1
  128. package/dist/esm/index.js +7 -7
  129. package/dist/esm/{invoice-2a17c93c.js → invoice-71471339.js} +2 -2
  130. package/dist/esm/loader.js +1 -1
  131. package/dist/esm/{localization-6d36209f.js → localization-754e7e8b.js} +242 -0
  132. package/dist/esm/{paypal-cae1d404.js → paypal-b1410e02.js} +2 -2
  133. package/dist/esm/{placeTestOrder-955269d2.js → placeTestOrder-4267cafd.js} +2 -2
  134. package/dist/esm/{renderCheckoutCurrency-951386a5.js → renderCheckoutCurrency-9a81e41c.js} +2 -2
  135. package/dist/esm/{zonos-address-display_8.entry.js → zonos-address-completion-dialog_7.entry.js} +226 -192
  136. package/dist/esm/zonos-address-display_2.entry.js +152 -0
  137. package/dist/esm/zonos-address_4.entry.js +73 -12
  138. package/dist/esm/zonos-airwallex-payment.entry.js +3 -3
  139. package/dist/esm/zonos-badge.entry.js +3 -3
  140. package/dist/esm/zonos-button_3.entry.js +3 -3
  141. package/dist/esm/zonos-card_5.entry.js +9 -9
  142. package/dist/esm/zonos-cart-items_12.entry.js +90 -21
  143. package/dist/esm/zonos-checkbox_2.entry.js +5 -5
  144. package/dist/esm/zonos-checkout.entry.js +3 -3
  145. package/dist/esm/zonos-collapse.entry.js +2 -2
  146. package/dist/esm/zonos-collect-cart-items_3.entry.js +6 -6
  147. package/dist/esm/zonos-collect-finish_6.entry.js +19 -19
  148. package/dist/esm/zonos-collect.entry.js +4 -4
  149. package/dist/esm/zonos-component.entry.js +1 -1
  150. package/dist/esm/zonos-controller.entry.js +3 -3
  151. package/dist/esm/zonos-country-flag.entry.js +1 -1
  152. package/dist/esm/zonos-country-select_4.entry.js +10 -10
  153. package/dist/esm/zonos-elements.js +1 -1
  154. package/dist/esm/zonos-hello-dialog.entry.js +6 -6
  155. package/dist/esm/zonos-hello.entry.js +1 -1
  156. package/dist/esm/zonos-input.entry.js +4 -4
  157. package/dist/esm/zonos-invoice-cart-items_2.entry.js +8 -8
  158. package/dist/esm/zonos-invoice-finish_5.entry.js +14 -14
  159. package/dist/esm/zonos-invoice.entry.js +4 -4
  160. package/dist/esm/zonos-language-select_2.entry.js +5 -5
  161. package/dist/esm/zonos-link.entry.js +1 -1
  162. package/dist/esm/zonos-logo.entry.js +2 -2
  163. package/dist/esm/zonos-policy-consent_2.entry.js +3 -3
  164. package/dist/esm/zonos-stripe-input.entry.js +4 -4
  165. package/dist/esm/zonos-tooltip.entry.js +2 -2
  166. package/dist/esm/zonos-v-stack.entry.js +2 -2
  167. package/dist/esm-es5/{cart-c66ec17e.js → cart-93c36159.js} +1 -1
  168. package/dist/esm-es5/{collect-915fd59d.js → collect-42d4757a.js} +1 -1
  169. package/dist/esm-es5/getMissingRequiredShippingFields-ebdccdcf.js +1 -0
  170. package/dist/esm-es5/{hasInclusivePrice-6fd935f3.js → hasInclusivePrice-4c12548f.js} +1 -1
  171. package/dist/esm-es5/index.js +1 -1
  172. package/dist/esm-es5/{invoice-2a17c93c.js → invoice-71471339.js} +1 -1
  173. package/dist/esm-es5/loader.js +1 -1
  174. package/dist/esm-es5/localization-754e7e8b.js +1 -0
  175. package/dist/esm-es5/{paypal-cae1d404.js → paypal-b1410e02.js} +1 -1
  176. package/dist/esm-es5/{placeTestOrder-955269d2.js → placeTestOrder-4267cafd.js} +1 -1
  177. package/dist/esm-es5/{renderCheckoutCurrency-951386a5.js → renderCheckoutCurrency-9a81e41c.js} +1 -1
  178. package/dist/esm-es5/zonos-address-completion-dialog_7.entry.js +1 -0
  179. package/dist/esm-es5/zonos-address-display_2.entry.js +1 -0
  180. package/dist/esm-es5/zonos-address_4.entry.js +1 -1
  181. package/dist/esm-es5/zonos-airwallex-payment.entry.js +1 -1
  182. package/dist/esm-es5/zonos-badge.entry.js +1 -1
  183. package/dist/esm-es5/zonos-button_3.entry.js +1 -1
  184. package/dist/esm-es5/zonos-card_5.entry.js +1 -1
  185. package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
  186. package/dist/esm-es5/zonos-checkbox_2.entry.js +1 -1
  187. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  188. package/dist/esm-es5/zonos-collapse.entry.js +1 -1
  189. package/dist/esm-es5/zonos-collect-cart-items_3.entry.js +1 -1
  190. package/dist/esm-es5/zonos-collect-finish_6.entry.js +1 -1
  191. package/dist/esm-es5/zonos-collect.entry.js +1 -1
  192. package/dist/esm-es5/zonos-component.entry.js +1 -1
  193. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  194. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  195. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
  196. package/dist/esm-es5/zonos-elements.js +1 -1
  197. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  198. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  199. package/dist/esm-es5/zonos-input.entry.js +1 -1
  200. package/dist/esm-es5/zonos-invoice-cart-items_2.entry.js +1 -1
  201. package/dist/esm-es5/zonos-invoice-finish_5.entry.js +1 -1
  202. package/dist/esm-es5/zonos-invoice.entry.js +1 -1
  203. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  204. package/dist/esm-es5/zonos-link.entry.js +1 -1
  205. package/dist/esm-es5/zonos-logo.entry.js +1 -1
  206. package/dist/esm-es5/zonos-policy-consent_2.entry.js +1 -1
  207. package/dist/esm-es5/zonos-stripe-input.entry.js +1 -1
  208. package/dist/esm-es5/zonos-tooltip.entry.js +1 -1
  209. package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
  210. package/dist/scripts/index.d.ts +123 -0
  211. package/dist/scripts/index.js +1 -1
  212. package/dist/scripts/loadZonos.js +1 -1
  213. package/dist/scripts/zonos.js +1 -1
  214. package/dist/types/components/checkout/zonos-checkout/zonos-address-completion-dialog/zonos-address-completion-dialog.d.ts +75 -0
  215. package/dist/types/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.d.ts +16 -0
  216. package/dist/types/components/common/zonos-stripe-phone-input/zonos-stripe-phone-input.d.ts +1 -0
  217. package/dist/types/components/store/checkout/stripe.d.ts +4 -0
  218. package/dist/types/components/store/hello/localization.d.ts +7 -0
  219. package/dist/types/components/store/translationStore/strings.arabic.d.ts +12 -0
  220. package/dist/types/components/store/translationStore/strings.base.d.ts +12 -0
  221. package/dist/types/components/store/translationStore/strings.chinese.d.ts +12 -0
  222. package/dist/types/components/store/translationStore/strings.danish.d.ts +12 -0
  223. package/dist/types/components/store/translationStore/strings.dutch.d.ts +12 -0
  224. package/dist/types/components/store/translationStore/strings.french.d.ts +12 -0
  225. package/dist/types/components/store/translationStore/strings.german.d.ts +12 -0
  226. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +12 -0
  227. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +12 -0
  228. package/dist/types/components/store/translationStore/strings.italian.d.ts +12 -0
  229. package/dist/types/components/store/translationStore/strings.japanese.d.ts +12 -0
  230. package/dist/types/components/store/translationStore/strings.korean.d.ts +12 -0
  231. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +12 -0
  232. package/dist/types/components/store/translationStore/strings.polish.d.ts +12 -0
  233. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +12 -0
  234. package/dist/types/components/store/translationStore/strings.russian.d.ts +12 -0
  235. package/dist/types/components/store/translationStore/strings.spanish.d.ts +12 -0
  236. package/dist/types/components/store/translationStore/strings.swedish.d.ts +12 -0
  237. package/dist/types/components/store/translationStore/strings.turkish.d.ts +12 -0
  238. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +12 -0
  239. package/dist/types/components/stripe/zonos-custom-address/zonos-custom-address.d.ts +9 -13
  240. package/dist/types/components/utils/checkout/applyAddressCompletion.d.ts +25 -0
  241. package/dist/types/components/utils/checkout/buildAddressContacts.d.ts +21 -0
  242. package/dist/types/components/utils/checkout/getAddressCountryOptions.d.ts +29 -0
  243. package/dist/types/components/utils/checkout/getMissingRequiredShippingFields.d.ts +35 -0
  244. package/dist/types/components.d.ts +97 -0
  245. package/dist/zonos-elements/index.esm.js +1 -1
  246. package/dist/zonos-elements/{p-09da3c76.entry.js → p-007ff76a.entry.js} +1 -1
  247. package/dist/zonos-elements/{p-5aee5de5.system.entry.js → p-05cb0a0d.system.entry.js} +1 -1
  248. package/dist/zonos-elements/p-065f3f66.system.entry.js +1 -0
  249. package/dist/zonos-elements/p-07c21940.entry.js +1 -0
  250. package/dist/zonos-elements/p-0d183f19.system.js +1 -0
  251. package/dist/zonos-elements/p-1180a97c.system.entry.js +1 -0
  252. package/dist/zonos-elements/p-19bbf4b3.js +1 -0
  253. package/dist/zonos-elements/{p-ee3c7b11.system.entry.js → p-1af510ea.system.entry.js} +1 -1
  254. package/dist/zonos-elements/p-1cff471a.system.entry.js +1 -0
  255. package/dist/zonos-elements/{p-0ad6a92b.system.entry.js → p-21489ff1.system.entry.js} +1 -1
  256. package/dist/zonos-elements/{p-734d646b.entry.js → p-21f7d57b.entry.js} +1 -1
  257. package/dist/zonos-elements/p-22f7120a.system.js +1 -0
  258. package/dist/zonos-elements/{p-b5f67807.entry.js → p-26bf0c31.entry.js} +1 -1
  259. package/dist/zonos-elements/p-2837bfd2.js +1 -0
  260. package/dist/zonos-elements/p-29b60bf3.system.js +1 -1
  261. package/dist/zonos-elements/{p-86d6961c.system.entry.js → p-29ca1415.system.entry.js} +1 -1
  262. package/dist/zonos-elements/p-2aebcfa8.system.entry.js +1 -0
  263. package/dist/zonos-elements/{p-8c54aaec.entry.js → p-32b53999.entry.js} +1 -1
  264. package/dist/zonos-elements/{p-c15476a1.system.entry.js → p-333f6018.system.entry.js} +1 -1
  265. package/dist/zonos-elements/p-33dd7dab.entry.js +1 -0
  266. package/dist/zonos-elements/{p-060c521b.system.entry.js → p-342b062d.system.entry.js} +1 -1
  267. package/dist/zonos-elements/{p-a5f8dc19.js → p-38881097.js} +1 -1
  268. package/dist/zonos-elements/{p-38879af9.entry.js → p-39399f67.entry.js} +1 -1
  269. package/dist/zonos-elements/{p-683ec0bf.entry.js → p-3d902845.entry.js} +1 -1
  270. package/dist/zonos-elements/{p-a6773627.entry.js → p-3dcb3794.entry.js} +1 -1
  271. package/dist/zonos-elements/p-4a5fa892.system.entry.js +1 -0
  272. package/dist/zonos-elements/{p-a34269b1.system.entry.js → p-4a73906a.system.entry.js} +1 -1
  273. package/dist/zonos-elements/{p-5677d31f.entry.js → p-4b9c7803.entry.js} +1 -1
  274. package/dist/zonos-elements/{p-54a8d4cf.system.entry.js → p-4dba0e9b.system.entry.js} +1 -1
  275. package/dist/zonos-elements/{p-1992fd91.entry.js → p-55c5977b.entry.js} +1 -1
  276. package/dist/zonos-elements/{p-179caaea.system.entry.js → p-58da55e6.system.entry.js} +1 -1
  277. package/dist/zonos-elements/p-59824ac6.entry.js +1 -0
  278. package/dist/zonos-elements/{p-f156e2e5.system.entry.js → p-59e4e0b6.system.entry.js} +1 -1
  279. package/dist/zonos-elements/{p-a44591f6.system.entry.js → p-5a37683b.system.entry.js} +1 -1
  280. package/dist/zonos-elements/{p-36b311f9.system.entry.js → p-5b11bbca.system.entry.js} +1 -1
  281. package/dist/zonos-elements/{p-717cbe90.system.js → p-5fceef56.system.js} +1 -1
  282. package/dist/zonos-elements/{p-8005e102.system.js → p-602de72d.system.js} +1 -1
  283. package/dist/zonos-elements/{p-39695a8b.system.js → p-6325ee77.system.js} +1 -1
  284. package/dist/zonos-elements/p-67251274.system.js +1 -0
  285. package/dist/zonos-elements/{p-4441c451.entry.js → p-69871ab6.entry.js} +1 -1
  286. package/dist/zonos-elements/p-6be4c473.entry.js +1 -0
  287. package/dist/zonos-elements/p-72280783.system.js +1 -0
  288. package/dist/zonos-elements/{p-746bdebe.entry.js → p-73d1a554.entry.js} +1 -1
  289. package/dist/zonos-elements/{p-e0ec0aa3.system.entry.js → p-76a75da9.system.entry.js} +1 -1
  290. package/dist/zonos-elements/{p-26ca8ce7.js → p-76cdf517.js} +1 -1
  291. package/dist/zonos-elements/{p-a3d3ce5d.system.entry.js → p-781b3345.system.entry.js} +1 -1
  292. package/dist/zonos-elements/{p-1577a739.js → p-8eaf1316.js} +1 -1
  293. package/dist/zonos-elements/{p-99e8743e.system.entry.js → p-8fa3a8f8.system.entry.js} +1 -1
  294. package/dist/zonos-elements/{p-b406bb39.entry.js → p-944282af.entry.js} +1 -1
  295. package/dist/zonos-elements/{p-3e6bbf0b.system.entry.js → p-97f15546.system.entry.js} +1 -1
  296. package/dist/zonos-elements/{p-727387ed.entry.js → p-9ceb3d1c.entry.js} +1 -1
  297. package/dist/zonos-elements/{p-3246d120.js → p-a2fe995b.js} +1 -1
  298. package/dist/zonos-elements/{p-4c3f5fda.system.entry.js → p-aa7589de.system.entry.js} +1 -1
  299. package/dist/zonos-elements/p-b0482924.entry.js +1 -0
  300. package/dist/zonos-elements/{p-ddf68916.system.js → p-b567448d.system.js} +1 -1
  301. package/dist/zonos-elements/{p-edf613ea.entry.js → p-b7a03b08.entry.js} +1 -1
  302. package/dist/zonos-elements/{p-15097876.system.entry.js → p-b93013f7.system.entry.js} +1 -1
  303. package/dist/zonos-elements/{p-3f6fe80a.system.entry.js → p-c43130a7.system.entry.js} +1 -1
  304. package/dist/zonos-elements/p-c515bc23.system.js +1 -0
  305. package/dist/zonos-elements/{p-732e7373.system.entry.js → p-c634546a.system.entry.js} +1 -1
  306. package/dist/zonos-elements/{p-6df6cb8a.entry.js → p-c8a48cce.entry.js} +1 -1
  307. package/dist/zonos-elements/{p-3e058b4e.entry.js → p-cb376f03.entry.js} +1 -1
  308. package/dist/zonos-elements/{p-8308f7d6.system.entry.js → p-cc35d5f8.system.entry.js} +1 -1
  309. package/dist/zonos-elements/{p-f314217a.system.js → p-cd5638b2.system.js} +2 -2
  310. package/dist/zonos-elements/{p-56fc3210.js → p-d68425ad.js} +1 -1
  311. package/dist/zonos-elements/{p-03fda4a8.entry.js → p-d74eda59.entry.js} +1 -1
  312. package/dist/zonos-elements/{p-30067eed.entry.js → p-d93f4837.entry.js} +1 -1
  313. package/dist/zonos-elements/{p-e7a45f6c.entry.js → p-dcf8ab79.entry.js} +1 -1
  314. package/dist/zonos-elements/{p-4efd7178.entry.js → p-e0cbc7c7.entry.js} +1 -1
  315. package/dist/zonos-elements/{p-40b96482.system.entry.js → p-e2057ab0.system.entry.js} +1 -1
  316. package/dist/zonos-elements/p-e2b8936a.js +1 -0
  317. package/dist/zonos-elements/{p-dd6da3de.entry.js → p-e3d0d8ff.entry.js} +1 -1
  318. package/dist/zonos-elements/{p-5a61c301.system.entry.js → p-e8159288.system.entry.js} +1 -1
  319. package/dist/zonos-elements/{p-5e1aad7d.entry.js → p-e8bb4f3b.entry.js} +1 -1
  320. package/dist/zonos-elements/{p-a23d3b3f.system.entry.js → p-e99654c1.system.entry.js} +1 -1
  321. package/dist/zonos-elements/{p-5d4201d5.entry.js → p-ef2c264c.entry.js} +1 -1
  322. package/dist/zonos-elements/{p-429ab545.system.entry.js → p-f1dbeb85.system.entry.js} +1 -1
  323. package/dist/zonos-elements/{p-2825431d.entry.js → p-f2431e47.entry.js} +1 -1
  324. package/dist/zonos-elements/{p-29c1703c.system.entry.js → p-f2511b86.system.entry.js} +1 -1
  325. package/dist/zonos-elements/{p-156891c5.js → p-f9f3155b.js} +1 -1
  326. package/dist/zonos-elements/{p-08e78d79.entry.js → p-fa80a973.entry.js} +1 -1
  327. package/dist/zonos-elements/{p-f59514e9.entry.js → p-fc45b3a5.entry.js} +1 -1
  328. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  329. package/package.json +1 -1
  330. package/dist/esm-es5/localization-6d36209f.js +0 -1
  331. package/dist/esm-es5/zonos-address-display_8.entry.js +0 -1
  332. package/dist/zonos-elements/p-0ac1aa87.system.js +0 -1
  333. package/dist/zonos-elements/p-1ee5f392.entry.js +0 -1
  334. package/dist/zonos-elements/p-6df034d6.entry.js +0 -1
  335. package/dist/zonos-elements/p-71cb16da.system.entry.js +0 -1
  336. package/dist/zonos-elements/p-8051403a.js +0 -1
  337. package/dist/zonos-elements/p-9448d960.js +0 -1
  338. package/dist/zonos-elements/p-a6535773.system.entry.js +0 -1
  339. package/dist/zonos-elements/p-ae30e6c0.system.entry.js +0 -1
  340. package/dist/zonos-elements/p-bf942ef0.system.js +0 -1
  341. package/dist/zonos-elements/p-c345d1f5.system.js +0 -1
  342. package/dist/zonos-elements/p-d4337686.entry.js +0 -1
  343. package/dist/zonos-elements/p-df8b8827.entry.js +0 -1
  344. package/dist/zonos-elements/p-e210edd9.system.js +0 -1
  345. package/dist/zonos-elements/p-f3e1a6a7.system.entry.js +0 -1
@@ -119,6 +119,9 @@ export declare const stringsItalian: {
119
119
  'Company name (optional)': {
120
120
  value: string;
121
121
  };
122
+ 'Complete your shipping address': {
123
+ value: string;
124
+ };
122
125
  Confirm: {
123
126
  value: string;
124
127
  };
@@ -536,6 +539,9 @@ export declare const stringsItalian: {
536
539
  'Return to merchant site': {
537
540
  value: string;
538
541
  };
542
+ 'Save and continue': {
543
+ value: string;
544
+ };
539
545
  'Search countries': {
540
546
  value: string;
541
547
  };
@@ -554,6 +560,9 @@ export declare const stringsItalian: {
554
560
  'Select a language': {
555
561
  value: string;
556
562
  };
563
+ 'Selected address': {
564
+ value: string;
565
+ };
557
566
  'Session does not have valid landed cost. Please contact [organizationName] for assistance.': {
558
567
  value: string;
559
568
  };
@@ -698,6 +707,9 @@ export declare const stringsItalian: {
698
707
  "There's been an error updating your checkout session. Please reload and try again or contact support if the error persists": {
699
708
  value: string;
700
709
  };
710
+ 'This saved address is missing information required to ship internationally. Please add the details below.': {
711
+ value: string;
712
+ };
701
713
  'To ensure delivery all address details must be in Latin characters.': {
702
714
  value: string;
703
715
  };
@@ -119,6 +119,9 @@ export declare const stringsJapanese: {
119
119
  'Company name (optional)': {
120
120
  value: string;
121
121
  };
122
+ 'Complete your shipping address': {
123
+ value: string;
124
+ };
122
125
  Confirm: {
123
126
  value: string;
124
127
  };
@@ -536,6 +539,9 @@ export declare const stringsJapanese: {
536
539
  'Return to merchant site': {
537
540
  value: string;
538
541
  };
542
+ 'Save and continue': {
543
+ value: string;
544
+ };
539
545
  'Search countries': {
540
546
  value: string;
541
547
  };
@@ -554,6 +560,9 @@ export declare const stringsJapanese: {
554
560
  'Select a language': {
555
561
  value: string;
556
562
  };
563
+ 'Selected address': {
564
+ value: string;
565
+ };
557
566
  'Session does not have valid landed cost. Please contact [organizationName] for assistance.': {
558
567
  value: string;
559
568
  };
@@ -698,6 +707,9 @@ export declare const stringsJapanese: {
698
707
  "There's been an error updating your checkout session. Please reload and try again or contact support if the error persists": {
699
708
  value: string;
700
709
  };
710
+ 'This saved address is missing information required to ship internationally. Please add the details below.': {
711
+ value: string;
712
+ };
701
713
  'To ensure delivery all address details must be in Latin characters.': {
702
714
  value: string;
703
715
  };
@@ -119,6 +119,9 @@ export declare const stringsKorean: {
119
119
  'Company name (optional)': {
120
120
  value: string;
121
121
  };
122
+ 'Complete your shipping address': {
123
+ value: string;
124
+ };
122
125
  Confirm: {
123
126
  value: string;
124
127
  };
@@ -536,6 +539,9 @@ export declare const stringsKorean: {
536
539
  'Return to merchant site': {
537
540
  value: string;
538
541
  };
542
+ 'Save and continue': {
543
+ value: string;
544
+ };
539
545
  'Search countries': {
540
546
  value: string;
541
547
  };
@@ -554,6 +560,9 @@ export declare const stringsKorean: {
554
560
  'Select a language': {
555
561
  value: string;
556
562
  };
563
+ 'Selected address': {
564
+ value: string;
565
+ };
557
566
  'Session does not have valid landed cost. Please contact [organizationName] for assistance.': {
558
567
  value: string;
559
568
  };
@@ -698,6 +707,9 @@ export declare const stringsKorean: {
698
707
  "There's been an error updating your checkout session. Please reload and try again or contact support if the error persists": {
699
708
  value: string;
700
709
  };
710
+ 'This saved address is missing information required to ship internationally. Please add the details below.': {
711
+ value: string;
712
+ };
701
713
  'To ensure delivery all address details must be in Latin characters.': {
702
714
  value: string;
703
715
  };
@@ -119,6 +119,9 @@ export declare const stringsNorwegian: {
119
119
  'Company name (optional)': {
120
120
  value: string;
121
121
  };
122
+ 'Complete your shipping address': {
123
+ value: string;
124
+ };
122
125
  Confirm: {
123
126
  value: string;
124
127
  };
@@ -536,6 +539,9 @@ export declare const stringsNorwegian: {
536
539
  'Return to merchant site': {
537
540
  value: string;
538
541
  };
542
+ 'Save and continue': {
543
+ value: string;
544
+ };
539
545
  'Search countries': {
540
546
  value: string;
541
547
  };
@@ -554,6 +560,9 @@ export declare const stringsNorwegian: {
554
560
  'Select a language': {
555
561
  value: string;
556
562
  };
563
+ 'Selected address': {
564
+ value: string;
565
+ };
557
566
  'Session does not have valid landed cost. Please contact [organizationName] for assistance.': {
558
567
  value: string;
559
568
  };
@@ -698,6 +707,9 @@ export declare const stringsNorwegian: {
698
707
  "There's been an error updating your checkout session. Please reload and try again or contact support if the error persists": {
699
708
  value: string;
700
709
  };
710
+ 'This saved address is missing information required to ship internationally. Please add the details below.': {
711
+ value: string;
712
+ };
701
713
  'To ensure delivery all address details must be in Latin characters.': {
702
714
  value: string;
703
715
  };
@@ -119,6 +119,9 @@ export declare const stringsPolish: {
119
119
  'Company name (optional)': {
120
120
  value: string;
121
121
  };
122
+ 'Complete your shipping address': {
123
+ value: string;
124
+ };
122
125
  Confirm: {
123
126
  value: string;
124
127
  };
@@ -536,6 +539,9 @@ export declare const stringsPolish: {
536
539
  'Return to merchant site': {
537
540
  value: string;
538
541
  };
542
+ 'Save and continue': {
543
+ value: string;
544
+ };
539
545
  'Search countries': {
540
546
  value: string;
541
547
  };
@@ -554,6 +560,9 @@ export declare const stringsPolish: {
554
560
  'Select a language': {
555
561
  value: string;
556
562
  };
563
+ 'Selected address': {
564
+ value: string;
565
+ };
557
566
  'Session does not have valid landed cost. Please contact [organizationName] for assistance.': {
558
567
  value: string;
559
568
  };
@@ -698,6 +707,9 @@ export declare const stringsPolish: {
698
707
  "There's been an error updating your checkout session. Please reload and try again or contact support if the error persists": {
699
708
  value: string;
700
709
  };
710
+ 'This saved address is missing information required to ship internationally. Please add the details below.': {
711
+ value: string;
712
+ };
701
713
  'To ensure delivery all address details must be in Latin characters.': {
702
714
  value: string;
703
715
  };
@@ -119,6 +119,9 @@ export declare const stringsPortuguese: {
119
119
  'Company name (optional)': {
120
120
  value: string;
121
121
  };
122
+ 'Complete your shipping address': {
123
+ value: string;
124
+ };
122
125
  Confirm: {
123
126
  value: string;
124
127
  };
@@ -536,6 +539,9 @@ export declare const stringsPortuguese: {
536
539
  'Return to merchant site': {
537
540
  value: string;
538
541
  };
542
+ 'Save and continue': {
543
+ value: string;
544
+ };
539
545
  'Search countries': {
540
546
  value: string;
541
547
  };
@@ -554,6 +560,9 @@ export declare const stringsPortuguese: {
554
560
  'Select a language': {
555
561
  value: string;
556
562
  };
563
+ 'Selected address': {
564
+ value: string;
565
+ };
557
566
  'Session does not have valid landed cost. Please contact [organizationName] for assistance.': {
558
567
  value: string;
559
568
  };
@@ -698,6 +707,9 @@ export declare const stringsPortuguese: {
698
707
  "There's been an error updating your checkout session. Please reload and try again or contact support if the error persists": {
699
708
  value: string;
700
709
  };
710
+ 'This saved address is missing information required to ship internationally. Please add the details below.': {
711
+ value: string;
712
+ };
701
713
  'To ensure delivery all address details must be in Latin characters.': {
702
714
  value: string;
703
715
  };
@@ -119,6 +119,9 @@ export declare const stringsRussian: {
119
119
  'Company name (optional)': {
120
120
  value: string;
121
121
  };
122
+ 'Complete your shipping address': {
123
+ value: string;
124
+ };
122
125
  Confirm: {
123
126
  value: string;
124
127
  };
@@ -536,6 +539,9 @@ export declare const stringsRussian: {
536
539
  'Return to merchant site': {
537
540
  value: string;
538
541
  };
542
+ 'Save and continue': {
543
+ value: string;
544
+ };
539
545
  'Search countries': {
540
546
  value: string;
541
547
  };
@@ -554,6 +560,9 @@ export declare const stringsRussian: {
554
560
  'Select a language': {
555
561
  value: string;
556
562
  };
563
+ 'Selected address': {
564
+ value: string;
565
+ };
557
566
  'Session does not have valid landed cost. Please contact [organizationName] for assistance.': {
558
567
  value: string;
559
568
  };
@@ -698,6 +707,9 @@ export declare const stringsRussian: {
698
707
  "There's been an error updating your checkout session. Please reload and try again or contact support if the error persists": {
699
708
  value: string;
700
709
  };
710
+ 'This saved address is missing information required to ship internationally. Please add the details below.': {
711
+ value: string;
712
+ };
701
713
  'To ensure delivery all address details must be in Latin characters.': {
702
714
  value: string;
703
715
  };
@@ -119,6 +119,9 @@ export declare const stringsSpanish: {
119
119
  'Company name (optional)': {
120
120
  value: string;
121
121
  };
122
+ 'Complete your shipping address': {
123
+ value: string;
124
+ };
122
125
  Confirm: {
123
126
  value: string;
124
127
  };
@@ -536,6 +539,9 @@ export declare const stringsSpanish: {
536
539
  'Return to merchant site': {
537
540
  value: string;
538
541
  };
542
+ 'Save and continue': {
543
+ value: string;
544
+ };
539
545
  'Search countries': {
540
546
  value: string;
541
547
  };
@@ -554,6 +560,9 @@ export declare const stringsSpanish: {
554
560
  'Select a language': {
555
561
  value: string;
556
562
  };
563
+ 'Selected address': {
564
+ value: string;
565
+ };
557
566
  'Session does not have valid landed cost. Please contact [organizationName] for assistance.': {
558
567
  value: string;
559
568
  };
@@ -698,6 +707,9 @@ export declare const stringsSpanish: {
698
707
  "There's been an error updating your checkout session. Please reload and try again or contact support if the error persists": {
699
708
  value: string;
700
709
  };
710
+ 'This saved address is missing information required to ship internationally. Please add the details below.': {
711
+ value: string;
712
+ };
701
713
  'To ensure delivery all address details must be in Latin characters.': {
702
714
  value: string;
703
715
  };
@@ -119,6 +119,9 @@ export declare const stringsSwedish: {
119
119
  'Company name (optional)': {
120
120
  value: string;
121
121
  };
122
+ 'Complete your shipping address': {
123
+ value: string;
124
+ };
122
125
  Confirm: {
123
126
  value: string;
124
127
  };
@@ -536,6 +539,9 @@ export declare const stringsSwedish: {
536
539
  'Return to merchant site': {
537
540
  value: string;
538
541
  };
542
+ 'Save and continue': {
543
+ value: string;
544
+ };
539
545
  'Search countries': {
540
546
  value: string;
541
547
  };
@@ -554,6 +560,9 @@ export declare const stringsSwedish: {
554
560
  'Select a language': {
555
561
  value: string;
556
562
  };
563
+ 'Selected address': {
564
+ value: string;
565
+ };
557
566
  'Session does not have valid landed cost. Please contact [organizationName] for assistance.': {
558
567
  value: string;
559
568
  };
@@ -698,6 +707,9 @@ export declare const stringsSwedish: {
698
707
  "There's been an error updating your checkout session. Please reload and try again or contact support if the error persists": {
699
708
  value: string;
700
709
  };
710
+ 'This saved address is missing information required to ship internationally. Please add the details below.': {
711
+ value: string;
712
+ };
701
713
  'To ensure delivery all address details must be in Latin characters.': {
702
714
  value: string;
703
715
  };
@@ -119,6 +119,9 @@ export declare const stringsTurkish: {
119
119
  'Company name (optional)': {
120
120
  value: string;
121
121
  };
122
+ 'Complete your shipping address': {
123
+ value: string;
124
+ };
122
125
  Confirm: {
123
126
  value: string;
124
127
  };
@@ -536,6 +539,9 @@ export declare const stringsTurkish: {
536
539
  'Return to merchant site': {
537
540
  value: string;
538
541
  };
542
+ 'Save and continue': {
543
+ value: string;
544
+ };
539
545
  'Search countries': {
540
546
  value: string;
541
547
  };
@@ -554,6 +560,9 @@ export declare const stringsTurkish: {
554
560
  'Select a language': {
555
561
  value: string;
556
562
  };
563
+ 'Selected address': {
564
+ value: string;
565
+ };
557
566
  'Session does not have valid landed cost. Please contact [organizationName] for assistance.': {
558
567
  value: string;
559
568
  };
@@ -698,6 +707,9 @@ export declare const stringsTurkish: {
698
707
  "There's been an error updating your checkout session. Please reload and try again or contact support if the error persists": {
699
708
  value: string;
700
709
  };
710
+ 'This saved address is missing information required to ship internationally. Please add the details below.': {
711
+ value: string;
712
+ };
701
713
  'To ensure delivery all address details must be in Latin characters.': {
702
714
  value: string;
703
715
  };
@@ -119,6 +119,9 @@ export declare const stringsVietnamese: {
119
119
  'Company name (optional)': {
120
120
  value: string;
121
121
  };
122
+ 'Complete your shipping address': {
123
+ value: string;
124
+ };
122
125
  Confirm: {
123
126
  value: string;
124
127
  };
@@ -536,6 +539,9 @@ export declare const stringsVietnamese: {
536
539
  'Return to merchant site': {
537
540
  value: string;
538
541
  };
542
+ 'Save and continue': {
543
+ value: string;
544
+ };
539
545
  'Search countries': {
540
546
  value: string;
541
547
  };
@@ -554,6 +560,9 @@ export declare const stringsVietnamese: {
554
560
  'Select a language': {
555
561
  value: string;
556
562
  };
563
+ 'Selected address': {
564
+ value: string;
565
+ };
557
566
  'Session does not have valid landed cost. Please contact [organizationName] for assistance.': {
558
567
  value: string;
559
568
  };
@@ -698,6 +707,9 @@ export declare const stringsVietnamese: {
698
707
  "There's been an error updating your checkout session. Please reload and try again or contact support if the error persists": {
699
708
  value: string;
700
709
  };
710
+ 'This saved address is missing information required to ship internationally. Please add the details below.': {
711
+ value: string;
712
+ };
701
713
  'To ensure delivery all address details must be in Latin characters.': {
702
714
  value: string;
703
715
  };
@@ -1,6 +1,5 @@
1
1
  import type { EventEmitter } from '../../../stencil-public-runtime';
2
2
  import type { ContactOption, Stripe, StripeAddressElementChangeEvent } from '@stripe/stripe-js';
3
- import type { ICountryJson } from "../../../components";
4
3
  import type { CheckoutAddressService } from "../../utils/iframe/CheckoutAddressService";
5
4
  import type { CustomAddressErrors } from "../../../types/checkout/form/CustomAddressErrors";
6
5
  import type { CountryFields } from "../../../types/CountryFields";
@@ -71,17 +70,6 @@ export declare class ZonosAddress {
71
70
  * Whether to start google place suggestions
72
71
  */
73
72
  startGooglePlaceSuggestions: boolean;
74
- /**
75
- * List of countries to show in the address element
76
- */
77
- shipToCountries: {
78
- label: string;
79
- value: string;
80
- }[] | null;
81
- /**
82
- * Shipping zones from localization
83
- */
84
- shippingZones: ICountryJson | null;
85
73
  city: string;
86
74
  country: string;
87
75
  firstName: string;
@@ -129,6 +117,15 @@ export declare class ZonosAddress {
129
117
  * Unsubscribe function for address selected listener
130
118
  */
131
119
  private onAddressSelectedUnsubscribe?;
120
+ /**
121
+ * Memoized country options, keyed on the store references they derive from.
122
+ * `render()` runs on every keystroke, and rebuilding the list each time would
123
+ * re-sort ~244 countries and hand `zonos-stripe-select` a new array identity,
124
+ * re-rendering it needlessly. `@stencil/store` replaces these references
125
+ * wholesale rather than mutating them, so reference equality is a safe key.
126
+ */
127
+ private countryOptionsCache;
128
+ private getCountryOptions;
132
129
  private getStripeAddressInstance;
133
130
  private updateAddressEventData;
134
131
  isAddressFilledChanged(): void;
@@ -160,7 +157,6 @@ export declare class ZonosAddress {
160
157
  private initAddressSuggestions;
161
158
  countryChanged(countryCode: string): void;
162
159
  shouldEnabledCustomAddressChanged(): void;
163
- shippingZonesChanged(): void;
164
160
  private renderCustomAddressForm;
165
161
  private onStoreCheckoutSessionIdChanged;
166
162
  disconnectedCallback(): void;
@@ -0,0 +1,25 @@
1
+ import type { StripeAddressElementChangeEvent } from '@stripe/stripe-js';
2
+ /**
3
+ * Values captured in the completion dialog for the fields that were missing from the Stripe
4
+ * Link address. Only the keys that were actually requested (and therefore provided) are present.
5
+ * When the last name is missing we also capture the first name, so the customer can correct the
6
+ * whole name at once (Link often stores just a first name in its single name input).
7
+ */
8
+ export type AddressCompletionSubmit = {
9
+ firstName?: string;
10
+ lastName?: string;
11
+ postal_code?: string;
12
+ state?: string;
13
+ };
14
+ /**
15
+ * Merge the fields captured in the completion dialog back into a Stripe shipping address event,
16
+ * rebuilding the full name from the extracted first name and the provided/known last name and
17
+ * marking the address complete. Fields the customer wasn't asked for are left untouched.
18
+ *
19
+ * Pure: returns a new event object rather than mutating the input, so it can be unit-tested and
20
+ * assigned straight to the store.
21
+ */
22
+ export declare const applyAddressCompletion: ({ data, event, }: {
23
+ data: AddressCompletionSubmit;
24
+ event: StripeAddressElementChangeEvent;
25
+ }) => StripeAddressElementChangeEvent;
@@ -0,0 +1,21 @@
1
+ import type { ContactOption, StripeAddressElementChangeEvent } from '@stripe/stripe-js';
2
+ /**
3
+ * Map a Stripe address change event value into a Stripe `ContactOption`, used to
4
+ * pre-seed the address element's saved-address (contacts) list on remount.
5
+ */
6
+ export declare const mapAddressEventToContact: (value: StripeAddressElementChangeEvent["value"]) => ContactOption;
7
+ /**
8
+ * Build a dedupe key for a contact so we don't add a duplicate saved address. Compared
9
+ * case- and whitespace-insensitively on the distinguishing fields.
10
+ */
11
+ export declare const getContactDedupKey: (contact: ContactOption) => string;
12
+ /**
13
+ * Prepend the currently selected address (from the latest Stripe address event) to the
14
+ * list of default saved addresses so it stays selected when the address element is
15
+ * remounted (e.g. navigating between the customer and shipping steps). Avoids adding a
16
+ * duplicate contact when the current address already exists in the list.
17
+ */
18
+ export declare const buildAddressContacts: ({ currentEvent, defaultAddress, }: {
19
+ currentEvent: StripeAddressElementChangeEvent | null;
20
+ defaultAddress: ContactOption[];
21
+ }) => ContactOption[];
@@ -0,0 +1,29 @@
1
+ import type { ICountryJson } from "../../../types/ICountryJson";
2
+ export type ICountryOption = {
3
+ label: string;
4
+ value: string;
5
+ };
6
+ /**
7
+ * Builds the country options for an address form's country dropdown.
8
+ *
9
+ * Shipping addresses are restricted to the merchant's shipping zone, since we
10
+ * can only fulfill orders to those countries. Billing addresses are not — a
11
+ * shopper's card can be billed to any country, so restricting the billing
12
+ * country prevents them from checking out at all (05CHECK-915).
13
+ *
14
+ * When the full country list is unavailable we fall back to the shipping zone
15
+ * so the dropdown is never empty.
16
+ */
17
+ export declare const getAddressCountryOptions: ({ allCountries, shippingZoneCountries, type, }: {
18
+ /**
19
+ * All countries, regardless of shipping zone. `null` until localization has
20
+ * initialized or when the countries request failed.
21
+ */
22
+ allCountries: ICountryJson | null;
23
+ /**
24
+ * Countries in the merchant's shipping zone. `null` until localization has
25
+ * initialized.
26
+ */
27
+ shippingZoneCountries: ICountryJson | null;
28
+ type: "billing" | "shipping";
29
+ }) => ICountryOption[];
@@ -0,0 +1,35 @@
1
+ import type { StripeAddressElementChangeEvent } from '@stripe/stripe-js';
2
+ /**
3
+ * Minimum number of characters we treat as a valid postal code. Mirrors the
4
+ * landed-cost readiness check in `stripe.ts` (`isAddressReadyToRequestLandedCost`).
5
+ */
6
+ export declare const MIN_POSTAL_CODE_LENGTH = 3;
7
+ export type MissingShippingFieldKey = 'lastName' | 'postal_code' | 'state';
8
+ export type MissingShippingField = {
9
+ key: MissingShippingFieldKey;
10
+ };
11
+ /**
12
+ * The subset of per-country field requirements this check needs. Both the Zonos
13
+ * `CountryFields` config and the Stripe-derived country field list satisfy this shape,
14
+ * so callers can pass whatever `getCountryField` (in `stripe.ts`) returns.
15
+ */
16
+ export type RequiredFieldConfig = {
17
+ stateRequired: boolean;
18
+ zipRequired: boolean;
19
+ } | null;
20
+ /**
21
+ * Determine which Zonos-required shipping fields are still missing even though Stripe
22
+ * reports the address as complete.
23
+ *
24
+ * Stripe Link autofills a saved address from a single name input, so it may return only a
25
+ * first name and, for some countries, omit the state / postal code while still reporting
26
+ * `complete: true`. This surfaces the fields Zonos needs for international shipping so the
27
+ * customer can supply just those, without duplicating fields Stripe already captures.
28
+ *
29
+ * Pure: the caller resolves `countryField` (via `getCountryField`) and passes it in, so
30
+ * this can be unit-tested without the stores.
31
+ */
32
+ export declare const getMissingRequiredShippingFields: ({ countryField, event, }: {
33
+ countryField: RequiredFieldConfig;
34
+ event: StripeAddressElementChangeEvent | null;
35
+ }) => MissingShippingField[];