@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
@@ -51,13 +51,13 @@ export class ZonosCountrySelect {
51
51
  ? fuseObject.map(country => country.item)
52
52
  : countries.sort((a, b) => a.displayName.localeCompare(b.displayName));
53
53
  const isEmpty = !filteredCountries.length;
54
- return (h(Host, { key: 'ecf967940a24637a058097f80a96fd6edc94b9c0', class: "zonos--elements", style: {
54
+ return (h(Host, { key: '3581b885b6d8d220d4c38769658b25ccf473b012', class: "zonos--elements", style: {
55
55
  '--zonos--font-family': zonosStoreFontFamily(),
56
- } }, h("div", { key: 'e78f7272547b779ea3185900ada2522372e2d9de', class: "zonos--country-select" }, h("zonos-v-stack", { key: '41e720a4f9afba443f9ddf219342d49478cfc04e', class: "zonos--country-select-header", spacing: 8 }, h("zonos-select-dialog-header", { key: '7242a2f93d8107900d04487fbf4847427c5f1812', handleOnClose: () => this.handleOnClose(), label: translate('Select a country') }, h("input", { key: '3e2e884865f6fcfd5d7854a365159f467833960b', autoComplete: "off", class: "zonos--country-select-input", onInput: this.handleInputChange, placeholder: translate('Search countries'), ref: el => {
56
+ } }, h("div", { key: '231cd93711e1e379d196944140c44c0e77332e30', class: "zonos--country-select" }, h("zonos-v-stack", { key: '8a3768ee37ad892960104c6f04e54ed977f5ba2e', class: "zonos--country-select-header", spacing: 8 }, h("zonos-select-dialog-header", { key: '4535301af6a7fa62b101ee5913842c4d1dbec6a2', handleOnClose: () => this.handleOnClose(), label: translate('Select a country') }, h("input", { key: '9a15c15c77c7a193934a4d656f613120266e3f38', autoComplete: "off", class: "zonos--country-select-input", onInput: this.handleInputChange, placeholder: translate('Search countries'), ref: el => {
57
57
  if (el) {
58
58
  this.inputRef = el;
59
59
  }
60
- }, type: "text", value: this.inputValue }))), h("div", { key: 'edaa250ac7a379145877564bb5d6e532dd17fff1', class: "zonos--country-select-content" }, isEmpty && (h("zonos-text", { key: 'b536663c9d506c4a80f23d49451c222e3ee2817a', class: "no-country", textColor: "gray-800" }, translate('No countries found'))), h("zonos-virtual-scroll", { key: '0c3285a82391723ed1c8a0138f3de69051c6dad9', class: "zonos--country-filter-content", fallbackItemHeight: 34, itemHeights: filteredCountries.map(() => 34), renderItem: index => {
60
+ }, type: "text", value: this.inputValue }))), h("div", { key: '14e511287916d98676083c3f3118223073ce6a19', class: "zonos--country-select-content" }, isEmpty && (h("zonos-text", { key: 'd5f14c5e652938fbf9ee18a31b421f406599db7f', class: "no-country", textColor: "gray-800" }, translate('No countries found'))), h("zonos-virtual-scroll", { key: 'ee2b4d3a2feefda0be007b174b85e368292dc868', class: "zonos--country-filter-content", fallbackItemHeight: 34, itemHeights: filteredCountries.map(() => 34), renderItem: index => {
61
61
  const country = filteredCountries[index];
62
62
  if (!country) {
63
63
  return null;
@@ -14,9 +14,9 @@ export class ZonosCustomMessage {
14
14
  }
15
15
  render() {
16
16
  const messageWithLinks = formatStringWithLinks(this.message);
17
- return (h(Host, { key: '85b38bdb1a0df11df6979340596118039e145cca', class: "zonos--elements", style: {
17
+ return (h(Host, { key: '5e87669fad207a56da569c72c5b6b1e86fed0d29', class: "zonos--elements", style: {
18
18
  '--zonos--font-family': zonosStoreFontFamily(),
19
- } }, this.message && (h("zonos-card", { key: 'a14efc2f6d297c0ce83d4a4d53beaa15f4e1c35f', class: "zonos--custom-message", spacing: "12px" }, h("div", { key: '98fedfaaea8200bf785201ae9cfc7d8eda9a8379', class: "zonos--flex-message" }, h("zonos-icon", { key: '4cee7b48a7675e7fa5f106ce2ed7fbfbab7c7365', "aria-label": "Custom message icon", content: this.icon }), h("zonos-text", { key: 'd8705005a356174752c6a78581c90cd88100c66f', innerHTML: messageWithLinks }))))));
19
+ } }, this.message && (h("zonos-card", { key: '4c9216e22dd3ceb35e647a6e43fc8f1b7c9a4da1', class: "zonos--custom-message", spacing: "12px" }, h("div", { key: '36dc67b55580fbdcf668a6b16a4a1b9fa5f477b6', class: "zonos--flex-message" }, h("zonos-icon", { key: 'b4f26b0b8fd35d7593e84d9abfe69a0dacfa5c20', "aria-label": "Custom message icon", content: this.icon }), h("zonos-text", { key: '74a9b55e87a0e244dc02481112abf26851e6722d', innerHTML: messageWithLinks }))))));
20
20
  }
21
21
  static get is() { return "zonos-custom-message"; }
22
22
  static get encapsulation() { return "shadow"; }
@@ -86,7 +86,7 @@ export class ZonosDialog {
86
86
  const borderStyle = getBorderRadius({
87
87
  overrideBorderStyle: this.borderStyle,
88
88
  });
89
- return (h(Host, { key: '75ec5025b26d1c68daa95198bfe4defa9b4fccbb', class: classes([
89
+ return (h(Host, { key: '93de5ea91ebef1927a2d7dc91a00f87277755ac7', class: classes([
90
90
  'zonos--elements',
91
91
  this.open && 'open',
92
92
  this.isLoading && 'is-loading',
@@ -98,10 +98,10 @@ export class ZonosDialog {
98
98
  '--zonos--height': this.height || 'initial',
99
99
  '--zonos--min-height': this.minHeight || '500px',
100
100
  '--zonos--width': this.width,
101
- } }, h("div", { key: '5d10176ce2b772fb8fd29f43ff45eb8ec0e4f891', class: "zonos--backdrop" }), h("div", { key: '2aa211aebf328b30d69cc32030964c68d9114380', class: "zonos--dialog-layout", inert: !this.open, onClick: this.clickOutsideDialogHandler }, h("div", { key: 'ae077f398158ca708065bf3f2cc60c36730e16df', class: "zonos--dialog" }, this.isLoading && (h("div", { key: 'b11ef43cb4a663495bfd5dfe636df98fb692f2e3', class: "zonos--loading" }, h("zonos-spinner", { key: 'df7b43c923a59ab16d56c56034f19e2ebf367c68', size: 30 }), this.loadingTitle && (h("zonos-text", { key: 'c2a9c49f41272ae535a2dfc3f6c97d91552729a2', class: "zonos--loading-title", size: "l", weight: 700 }, this.loadingTitle)), this.loadingText && (h("zonos-text", { key: 'c5a4be389ec0c5c8b9e7b126d69f39b334bd9c7c', class: "zonos--loading-text" }, this.loadingText)))), (this.headerText || !this.noCloseButton) && (h("div", { key: '21884f1a119c2b1d241b746ae27f9ebe68795b94', class: "zonos--header" }, this.headerText && (h("h3", { key: '77036606a70a57f250facdd1b95726c35807c151', class: "zonos--header-text" }, this.headerText)), !this.noCloseButton && (h("zonos-button", { key: '93eafa70b68ebbc0be89b6cec54aadba9bdb91ef', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close dialog", content: RemoveIcon }), noBackground: true, onClick: this.closeButtonHandler, title: "Close dialog", variant: "subtle" })))), h("div", { key: '182ed04b1a14981aa5b679da8a1a556fcc413137', class: classes([
101
+ } }, h("div", { key: '86330a3de751f262a3f0f80fbeb436bb6e2b206f', class: "zonos--backdrop" }), h("div", { key: 'a6702c9a9b5bba9f3523503cd85ba6e6ae77fc9d', class: "zonos--dialog-layout", inert: !this.open, onClick: this.clickOutsideDialogHandler }, h("div", { key: '2c4d6e9170fbe80a2ea249d3f40cbc72e5df05d3', class: "zonos--dialog" }, this.isLoading && (h("div", { key: 'e83dcb53e9cd7504d588b124c6468535e81ce71d', class: "zonos--loading" }, h("zonos-spinner", { key: '5e8b3451b5358c76c2fdf47a0ad5eecc8394d012', size: 30 }), this.loadingTitle && (h("zonos-text", { key: '671203125d8fd7e8cb811b61b7190f826221507a', class: "zonos--loading-title", size: "l", weight: 700 }, this.loadingTitle)), this.loadingText && (h("zonos-text", { key: '791a95ed2bdad0c3bfb136c9e42d7d8e920110d9', class: "zonos--loading-text" }, this.loadingText)))), (this.headerText || !this.noCloseButton) && (h("div", { key: '8d4f7a2e12cd56d6341cf5aa17be1a7f151ca45b', class: "zonos--header" }, this.headerText && (h("h3", { key: '4bdd26b40a2209ccf44d85440cfbf173724f9aaa', class: "zonos--header-text" }, this.headerText)), !this.noCloseButton && (h("zonos-button", { key: 'c8f5d7eaff8c9ba94d60d587b5601472e80ea79a', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close dialog", content: RemoveIcon }), noBackground: true, onClick: this.closeButtonHandler, title: "Close dialog", variant: "subtle" })))), h("div", { key: 'e5d91fb3bb3546e559566f8782aa9d939d0f1d04', class: classes([
102
102
  'zonos--body',
103
103
  this.noBodyPadding && 'zonos--no-body-padding',
104
- ]) }, h("slot", { key: '65ad39c50b318b39e585301de2aeea6ef61db487' })), h("slot", { key: 'a60bb6eeee719852350584d6ff983d699f6ae84e', name: "dialog-footer" })))));
104
+ ]) }, h("slot", { key: '2da7a3c7a978bb520c255a0043f96bf15b2dd006' })), h("slot", { key: '38ec2165a11c9cc2b121122124482590f9cd31e9', name: "dialog-footer" })))));
105
105
  }
106
106
  static get is() { return "zonos-dialog"; }
107
107
  static get encapsulation() { return "shadow"; }
@@ -10,10 +10,10 @@ export class HStack {
10
10
  this.spacing = 24;
11
11
  }
12
12
  render() {
13
- return (h(Host, { key: 'f06155d19be654e8af1f3fe31d8b90c9714803a1', style: {
13
+ return (h(Host, { key: '029e16a802574614fb1d7cf1c7142425bf5a8dd2', style: {
14
14
  '--spacing': `${this.spacing}px`,
15
15
  '--zonos--font-family': zonosStoreFontFamily(),
16
- } }, h("slot", { key: '6cfa7de515d78cc8376e9c863e54e6875392bd0a' })));
16
+ } }, h("slot", { key: '9894338cb38887b8757182f8ed2a4ce1bcff0eaf' })));
17
17
  }
18
18
  static get is() { return "zonos-h-stack"; }
19
19
  static get encapsulation() { return "shadow"; }
@@ -31,17 +31,17 @@ export class ZonosInput {
31
31
  this.inputChange.emit(newValue);
32
32
  }
33
33
  render() {
34
- return (h(Host, { key: 'c4745840fd40940032af2a46f2dab9d0d3096265', class: classes([
34
+ return (h(Host, { key: 'f61a69708e8d3734111690389fce1acf14fbece8', class: classes([
35
35
  'zonos--input zonos--elements',
36
36
  this.inputSize,
37
37
  this.isError && 'has-error',
38
38
  ]), style: {
39
39
  '--zonos--border-radius': getBorderRadius(),
40
40
  '--zonos--font-family': zonosStoreFontFamily(),
41
- } }, h("div", { key: '7044d3e1877088b30016193eabf24ee36b0ad3c3', class: classes([
41
+ } }, h("div", { key: '94fb3f77fe0eb3c67a2319cd27d3ce17f4d8684b', class: classes([
42
42
  'zonos--label-wrapper',
43
43
  this.isDisabled && 'disabled',
44
- ]) }, h("input", { key: '6ec2033248f6176c9d5baab8b0a4e74201a6761c', class: classes([
44
+ ]) }, h("input", { key: 'fd878fb73ed33c6054dd9d6a75e3980c9d670877', class: classes([
45
45
  'zonos--floated-input',
46
46
  !!this.inputLabel && 'has-label',
47
47
  this.inputValue && 'has-content',
@@ -49,7 +49,7 @@ export class ZonosInput {
49
49
  ]), disabled: this.isDisabled, onInput: e => {
50
50
  const input = e.target;
51
51
  this.inputChange.emit(input.value);
52
- }, placeholder: this.inputPlaceholder, type: "text", value: this.value }), h("label", { key: '5d6eb65016ffb43f57a21520286eb9e46ef99913', class: "zonos--floated-label", "data-label": this.inputLabel }))));
52
+ }, placeholder: this.inputPlaceholder, type: "text", value: this.value }), h("label", { key: 'b59b852113bcb005acd9fd31de527cf693e162a7', class: "zonos--floated-label", "data-label": this.inputLabel }))));
53
53
  }
54
54
  static get is() { return "zonos-input"; }
55
55
  static get encapsulation() { return "shadow"; }
@@ -20,9 +20,9 @@ export class ZonosLanguageSelect {
20
20
  }
21
21
  render() {
22
22
  const { selectedLocale } = localizationStore;
23
- return (h(Host, { key: '30aab5aabd31e7353a523454dad44d76b416c7c9', class: "zonos--elements", style: {
23
+ return (h(Host, { key: 'b2f1fc3b2bf928d9ab96d0dee0f77a184e842bcb', class: "zonos--elements", style: {
24
24
  '--zonos--font-family': zonosStoreFontFamily(),
25
- } }, h("div", { key: '633e04207127715dd7765a3983fffa786ab67a35', class: "zonos--language-select" }, h("zonos-select-dialog-header", { key: 'd09f65d2df7eef7eb35d25f2e5c26103c47d9bad', handleOnClose: () => this.handleOnClose(), label: translate('Select a language') }), h("div", { key: '0f8797c1c2af191f3fcb514b5b627264a9ea9bfe', class: "zonos--language-select-content" }, languages.map(language => (h("button", { class: "zonos--language-select-button", onClick: () => this.languageSelected(language.code) }, h("zonos-text", { textColor: "gray-800" }, language.translatedLabel), language.code === selectedLocale && (h("zonos-icon", { content: GreenCheckDuotoneIcon, size: 16 })))))))));
25
+ } }, h("div", { key: 'a2c5e0ec32aef9ba6f9523777a4c75f441dcae39', class: "zonos--language-select" }, h("zonos-select-dialog-header", { key: '93cf877ed11fd1e1af04e8269f5c264f69f52762', handleOnClose: () => this.handleOnClose(), label: translate('Select a language') }), h("div", { key: '30865ea0b3d8f31d900c616b8b05882fcd083ac3', class: "zonos--language-select-content" }, languages.map(language => (h("button", { class: "zonos--language-select-button", onClick: () => this.languageSelected(language.code) }, h("zonos-text", { textColor: "gray-800" }, language.translatedLabel), language.code === selectedLocale && (h("zonos-icon", { content: GreenCheckDuotoneIcon, size: 16 })))))))));
26
26
  }
27
27
  static get is() { return "zonos-language-select"; }
28
28
  static get encapsulation() { return "shadow"; }
@@ -7,7 +7,7 @@ export class ZonosLink {
7
7
  this.href = '';
8
8
  }
9
9
  render() {
10
- return (h(Host, { key: 'c71f5631cb5447192821bf2714e0b422a2fc8aba', class: "zonos--elements" }, h("a", { key: 'acbeaf085d7651bb7f658b7dd99a0433df21c452', href: this.href, rel: this.rel, target: this.target, title: this.linkTitle }, h("slot", { key: '74e0517a6e4f6d7019a7c358845ee844978b9545' }))));
10
+ return (h(Host, { key: 'c3f532019c96bed8a9ecae34364f127e177c38f9', class: "zonos--elements" }, h("a", { key: '40a5c745b8e7e0dc497269cc7f6b55b0414aa33b', href: this.href, rel: this.rel, target: this.target, title: this.linkTitle }, h("slot", { key: '94a7470c679fd445635d39de30ffd28d498b7211' }))));
11
11
  }
12
12
  static get is() { return "zonos-link"; }
13
13
  static get encapsulation() { return "shadow"; }
@@ -13,7 +13,7 @@ export class ZonosLoadingOverlay {
13
13
  this.size = 40;
14
14
  }
15
15
  render() {
16
- return (h(Host, { key: 'e9d9db9623f268cc66c39130607819fa8abede22', class: classes(['zonos--elements', this.open && 'zonos--open']) }, h("div", { key: 'e766d339b90425e7379de4b773ae8f1da98992cb', class: "zonos--loading-overlay" }, h("zonos-spinner", { key: '32a61d38a106367bd4d54cffd8aba2e6c4b1e933', size: this.size, spinnerColor: this.spinnerColor }))));
16
+ return (h(Host, { key: 'e284a5ada0945f1895dbd9b40039e9d2ef600111', class: classes(['zonos--elements', this.open && 'zonos--open']) }, h("div", { key: 'fb68155fe133ba8cd1d923a0fbb37a382ecabc34', class: "zonos--loading-overlay" }, h("zonos-spinner", { key: '50dc3d4b1f53173240d23ffeac966f7463546fde', size: this.size, spinnerColor: this.spinnerColor }))));
17
17
  }
18
18
  static get is() { return "zonos-loading-overlay"; }
19
19
  static get encapsulation() { return "shadow"; }
@@ -16,11 +16,11 @@ export class ZonosLogo {
16
16
  const filterColor = this.theme === 'DARK'
17
17
  ? 'invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(102%) contrast(102%)'
18
18
  : 'whiteinvert(0%) sepia(100%) saturate(32%) hue-rotate(92deg) brightness(107%) contrast(107%)';
19
- return (h(Host, { key: 'f4066b17c03e2b5e2c55b2252ecf830a0dab972f', class: classes(['zonos--elements zonos--logo']), style: {
19
+ return (h(Host, { key: 'b698963f9d2d0ce2a3165d484cd8dda026e86350', class: classes(['zonos--elements zonos--logo']), style: {
20
20
  '--zonos--filter-color': filterColor,
21
21
  '--zonos--font-family': zonosStoreFontFamily(),
22
22
  '--zonos--width': this.width,
23
- } }, h("img", { key: '50e948ff4ffa77626216354880938021d68279e6', alt: "Zonos Logo", src: getAssetPath('./assets/ZonosLogo.png') })));
23
+ } }, h("img", { key: 'cc8163dc55b4d0a34bfc83eaaa618add56fb0c9a', alt: "Zonos Logo", src: getAssetPath('./assets/ZonosLogo.png') })));
24
24
  }
25
25
  static get is() { return "zonos-logo"; }
26
26
  static get encapsulation() { return "shadow"; }
@@ -14,11 +14,11 @@ export class ZonosRestState {
14
14
  }
15
15
  render() {
16
16
  const imageUrl = this.getImageRestState();
17
- return (h(Host, { key: '318c4da3d24faab9e2896923388183be1553fc39', class: classes(['zonos--elements zonos--restState']), style: {
17
+ return (h(Host, { key: '709006622bdc4ba41d622c57562d98e90d6bfbbd', class: classes(['zonos--elements zonos--restState']), style: {
18
18
  '--zonos--font-family': zonosStoreFontFamily(),
19
- } }, h("div", { key: '4a25dbfceb67d366ea68ebe0b16bd3af2f2073e6', class: "zonos--restState-image" }, h("img", { key: '5af2ffcf96d9ee70ceb14c6c16ad8607c5a734d8', alt: this.restStateType, onError: () => {
19
+ } }, h("div", { key: 'ecd47662e89cdd64c19e56f33fff5ebe929609fd', class: "zonos--restState-image" }, h("img", { key: 'c11941895f62fb7cd2dfcb34d8b5409ecbe23a3a', alt: this.restStateType, onError: () => {
20
20
  this.isErrorImageLoad = true;
21
- }, src: imageUrl })), h("div", { key: 'c3c6c28e7edabc3f127f74a1f8025cdd556c2df1', class: "content" }, h("zonos-text", { key: '8fc1b63061c1c6ed1aaf7c8bf1f6d0107ad96574', class: "title", type: "boldSubheader" }, this.restStateTitle), h("zonos-text", { key: '8410ef232d219a27bedd6fab0f2145c242c21a6d', class: "subtitle" }, this.restStateSubtitle)), h("div", { key: 'f9d8cd4653bc3918b9c2c3bf453b17999e16972f', class: "action" }, h("slot", { key: '60091e060884958d729092292ae6c34f9af85ae1' }))));
21
+ }, src: imageUrl })), h("div", { key: '40a66ae6959222fedcfd69de6f0236ac078903c3', class: "content" }, h("zonos-text", { key: 'ca7f67de9b084e16e1a5e5635a4917680fcbdfd6', class: "title", type: "boldSubheader" }, this.restStateTitle), h("zonos-text", { key: '9e6f22d9fb87b1462044a2395c32b03d9b4b59d3', class: "subtitle" }, this.restStateSubtitle)), h("div", { key: 'f93aa94983a14e5a4bc03cd339c1d53954da0f30', class: "action" }, h("slot", { key: 'b893fc9c907a97f241d6b7148636b01381f26813' }))));
22
22
  }
23
23
  static get is() { return "zonos-rest-state"; }
24
24
  static get encapsulation() { return "shadow"; }
@@ -15,9 +15,9 @@ export class ZonosSelectDialogHeader {
15
15
  this.label = '';
16
16
  }
17
17
  render() {
18
- return (h(Host, { key: 'e122c65cde136ca184224d5ccd22d5fdb369f126', class: "zonos--elements", style: {
18
+ return (h(Host, { key: 'de9b5deb0f4cee2fe4646e37ddf36f3ccfd0696c', class: "zonos--elements", style: {
19
19
  '--zonos--font-family': zonosStoreFontFamily(),
20
- } }, h("zonos-v-stack", { key: 'd6f5d0f9773adcb8fe0f782858401e1eca338b23', class: "zonos--select-dialog-header-wrapper", spacing: 8 }, h("div", { key: '6c4dd78b11c3d2bcd5b9235d1d9087b663872f98', class: "zonos--select-dialog-header" }, h("zonos-text", { key: '1dafcb49c92f82fd4342b917e808732fe5f0e553', type: "boldLabel" }, this.label), h("zonos-button", { key: 'fd9742527683709d6685348be79e0b157829927d', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close select dialog", content: RemoveIcon, size: 20 }), noBackground: true, onClick: () => this.handleOnClose() })), h("slot", { key: '4e386e0b1b11ef28fce172b21f57c313e9e9ca5d' }))));
20
+ } }, h("zonos-v-stack", { key: '8f64fbb4f6596d335d6799b3beb27deadc280017', class: "zonos--select-dialog-header-wrapper", spacing: 8 }, h("div", { key: '58ea82f407f0a9833196f91a5f7f7c1074b537d9', class: "zonos--select-dialog-header" }, h("zonos-text", { key: '78b6f980f1136910e1761a1f99facf355f892c52', type: "boldLabel" }, this.label), h("zonos-button", { key: '2ce0171ef775d275aacb3b661e0ad62d429c338e', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close select dialog", content: RemoveIcon, size: 20 }), noBackground: true, onClick: () => this.handleOnClose() })), h("slot", { key: '1686924ae0153dc76a03852f08796c29e41013e3' }))));
21
21
  }
22
22
  static get is() { return "zonos-select-dialog-header"; }
23
23
  static get encapsulation() { return "shadow"; }
@@ -15,7 +15,7 @@ export class ZonosSkeleton {
15
15
  this.skeletonHeight = '14px';
16
16
  }
17
17
  render() {
18
- return (h(Host, { key: '58a2bedd58be3710e9e769efda15097c3ba19ea8', class: classes(['zonos--elements zonos--skeleton']), style: styles({
18
+ return (h(Host, { key: 'b5450df7f385c16cc93b492ba8e3369f131db069', class: classes(['zonos--elements zonos--skeleton']), style: styles({
19
19
  '--zonos--skeleton-height': this.skeletonHeight,
20
20
  '--zonos--skeleton-width': this.skeletonWidth,
21
21
  }) }));
@@ -69,7 +69,7 @@ export class ZonosStripeInput {
69
69
  ? zonosStore.appearance.theme === 'DARK'
70
70
  : primaryColor && isDarkColor(primaryColor);
71
71
  const fontSize = zonosStore.appearance.fontSizeInputValue || 16;
72
- return (h(Host, { key: '9f7996d6012cc5daf2950c00e2cc54a7e2eb1777', class: classes([
72
+ return (h(Host, { key: 'e7559e04aafad07699bd6bebfd4cf191d0cd1b4f', class: classes([
73
73
  'zonos--input zonos--elements',
74
74
  isDark && 'dark',
75
75
  (this.isError || !!this.error) && 'has-error',
@@ -78,10 +78,10 @@ export class ZonosStripeInput {
78
78
  '--zonos--font-family': zonosStoreFontFamily(),
79
79
  '--zonos--font-size': `${fontSize}px`,
80
80
  '--zonos--primary-color': secondaryColor,
81
- } }, h("div", { key: '50fee9203e13de618686e971b49b47d4ed4dde8e', class: classes([
81
+ } }, h("div", { key: 'e7bce60978e071136b5a82bc4db8a0cf681273fc', class: classes([
82
82
  'zonos--label-wrapper',
83
83
  this.isDisabled && 'disabled',
84
- ]) }, h("input", Object.assign({ key: '517a1f4677613e7f956aa3c04cb38791b747b60b' }, this.inheritedAttributes, { autoComplete: this.autoComplete, class: classes([
84
+ ]) }, h("input", Object.assign({ key: '6bfb929ad025d1a28860002561e8ae2abbc38e40' }, this.inheritedAttributes, { autoComplete: this.autoComplete, class: classes([
85
85
  'zonos--floated-input',
86
86
  !!this.inputLabel && 'has-label',
87
87
  this.internalValue && 'has-content',
@@ -91,7 +91,7 @@ export class ZonosStripeInput {
91
91
  this.inputChange.emit(input.value);
92
92
  this.el.inputValue = input.value;
93
93
  this.el.dispatchEvent(new Event('change'));
94
- }, placeholder: this.inputPlaceholder || '', required: this.required, type: "text", value: this.internalValue })), h("div", { key: 'fe8ce71109cd1a40f47792259455bdfa480c01ac', class: "zonos--floated-label" }, h("label", { key: 'ac85c7f24d4c89b2cccc00e68d93a91b419ff235', htmlFor: this.inputId }, this.inputLabel))), this.error && (h("zonos-text", { key: '6fe980dcee5999c9cbdb9ac6b8f38f219397839c', textColor: "red-600", type: "caption" }, this.error))));
94
+ }, placeholder: this.inputPlaceholder || '', required: this.required, type: "text", value: this.internalValue })), h("div", { key: '0904c241ee73055982c7cd0ee5f9ee8559e6fa8b', class: "zonos--floated-label" }, h("label", { key: '581ac49d26e58bf0e61d1c21d13232dbc01557ee', htmlFor: this.inputId }, this.inputLabel))), this.error && (h("zonos-text", { key: '5cd20b5de0552c5a37dc22decdf9d54330d75028', textColor: "red-600", type: "caption" }, this.error))));
95
95
  }
96
96
  static get is() { return "zonos-stripe-input"; }
97
97
  static get encapsulation() { return "scoped"; }
@@ -122,6 +122,15 @@ export class ZonosStripePhoneInput {
122
122
  this.updatePhoneFormatter();
123
123
  };
124
124
  }
125
+ onCountryCodeChange() {
126
+ /**
127
+ * Re-derive the dial code when the address country changes, otherwise a
128
+ * shopper who changes country keeps the previous country's dial code — for
129
+ * example a US billing address on a Mexico shipment would send a US phone
130
+ * number prefixed with +52 (05CHECK-915).
131
+ */
132
+ this.initPhoneNumberValue();
133
+ }
125
134
  onCountryOptionsChange() {
126
135
  // Re-initialize the phone number value when the country options change
127
136
  this.initPhoneNumberValue();
@@ -201,24 +210,24 @@ export class ZonosStripePhoneInput {
201
210
  .filter(Boolean)
202
211
  .sort((a, b) => a.displayName.localeCompare(b.displayName))
203
212
  : [];
204
- return (h(Host, { key: 'e1bde9efe262f4605448b6ae6f9e18070090e6c8', class: classes([
213
+ return (h(Host, { key: '14478c1db0acc4651d9433f71fefa8bd18b28a61', class: classes([
205
214
  'zonos--phone-input zonos--elements',
206
215
  isDark && 'dark',
207
- ]), "data-theme": isDark ? 'DARK' : 'LIGHT', style: Object.assign({ '--zonos--border-radius': getBorderRadius(), '--zonos--font-family': zonosStoreFontFamily(), '--zonos--font-size': `${fontSize}px`, '--zonos--primary-color': secondaryColor }, (this.minWidth ? { '--zonos--min-width': this.minWidth } : {})) }, h("div", { key: '17b929a5e37d86964c23f2954bf1aed3ca3e0b4f', class: classes([
216
+ ]), "data-theme": isDark ? 'DARK' : 'LIGHT', style: Object.assign({ '--zonos--border-radius': getBorderRadius(), '--zonos--font-family': zonosStoreFontFamily(), '--zonos--font-size': `${fontSize}px`, '--zonos--primary-color': secondaryColor }, (this.minWidth ? { '--zonos--min-width': this.minWidth } : {})) }, h("div", { key: 'cdc9f75fa9a8fd81ab565614729d33b3b54b1ba9', class: classes([
208
217
  'zonos--label-wrapper',
209
218
  this.disabled && 'disabled',
210
219
  this.isFocused && 'focused',
211
220
  hasContent && 'has-content',
212
221
  this.error && 'has-error',
213
222
  this.inputLabel && 'has-label',
214
- ]) }, h("select", { key: '75f827c7fa3bec95a441d75b04f815736f63d075', class: "zonos--select", disabled: this.disabled, onBlur: this.handleBlur, onChange: this.handleCountryChange, onFocus: this.handleFocus }, countryOptionsList.map(option => {
223
+ ]) }, h("select", { key: 'a34d728be2b100874a2fb2a91e12b77988602b3a', class: "zonos--select", disabled: this.disabled, onBlur: this.handleBlur, onChange: this.handleCountryChange, onFocus: this.handleFocus }, countryOptionsList.map(option => {
215
224
  var _a;
216
225
  return (h("option", { key: option.countryCode, selected: option.countryCode === ((_a = this.selectedCountry) === null || _a === void 0 ? void 0 : _a.countryCode), value: option.countryCode }, option.displayName, " (+", option.phoneCode, ")"));
217
- })), h("div", { key: '7299389121bb37f5444c8feecc349fc7663fd645', class: "zonos--input-group" }, h("div", { key: 'ffd81d520f2ffeeb0473606ffe529704d0539999', class: "zonos--select-wrapper" }, h("div", { key: '66a8c7b1fc41c8ced6ebe2b5d87d93d3fb34283a', class: "zonos--country-select" }, h("div", { key: 'e938804c0e0aa9e52810b8d07cb0d7948c451eb5', class: "zonos--country-select-content" }, this.selectedCountry && (h("div", { key: '1883e18a2318bf871e061c744a095dd8e5a905cc', class: "zonos--country-select-selected" }, h("div", { key: 'ae46b163ef58d71398c317ed5ceba1844fc52edc', class: "zonos--country-flag-wrapper" }, h("zonos-country-flag", { key: 'f4d18cf60a089675852f8f0fca82055fa879a7b7', class: "zonos--country-flag", countryCode: this.selectedCountry.countryCode })), h("div", { key: '1724ccaef84c39504ee9f2fb364d38c2b979185d', class: "zonos--country-code" }, "+", this.selectedCountry.phoneCode))), h("div", { key: 'e5c45c7d4ca3fd5244803f083e6fae502e4253fa', class: "zonos--select-chevron-wrapper" }, h("zonos-icon", { key: '9cfb2da1d454c6b9e0a64b4327ce515cf6aa72da', "aria-label": "Expand collapsed section", class: "zonos--select-chevron", content: ChevronDownIcon, iconColor: "gray-800" }))))), h("div", { key: '8324ec965cf0b637d4d7151728217407307b8707', class: classes([
226
+ })), h("div", { key: 'c8d76a0a1e9ca245f03a853440a691e1bb478093', class: "zonos--input-group" }, h("div", { key: '51ccfb533bb4560061c63aaed368fb6488cf9d87', class: "zonos--select-wrapper" }, h("div", { key: 'cd50bc9c8f2fd407f47e5bfd3eba18a3f8fe721f', class: "zonos--country-select" }, h("div", { key: '05581057f31568b3d50b054e9c7fbbad5be7c27a', class: "zonos--country-select-content" }, this.selectedCountry && (h("div", { key: '04c5abdc6fdf7e71585896b426ec1ab00dc11f66', class: "zonos--country-select-selected" }, h("div", { key: '6750556068dbad185fadfba36268417974a43865', class: "zonos--country-flag-wrapper" }, h("zonos-country-flag", { key: 'a611a41490d68f2763ae43ad0fd5c0c498d16bfe', class: "zonos--country-flag", countryCode: this.selectedCountry.countryCode })), h("div", { key: 'eab8a6353cd865cffb1576f14fee6edd5dbd3383', class: "zonos--country-code" }, "+", this.selectedCountry.phoneCode))), h("div", { key: 'b3b4b8c407ed68305b467590921bc57925077acd', class: "zonos--select-chevron-wrapper" }, h("zonos-icon", { key: '7bc52fdcaf76bf6416d33442e844057b8d6e8121', "aria-label": "Expand collapsed section", class: "zonos--select-chevron", content: ChevronDownIcon, iconColor: "gray-800" }))))), h("div", { key: 'd0ad07b902ef0ff675a515c07ec6597c0d0b0aa2', class: classes([
218
227
  'zonos--input-container',
219
228
  this.inputLabel && 'has-label',
220
229
  hasContent && 'has-content',
221
- ]) }, h("input", Object.assign({ key: 'eace24d4a50271012b8bb95609842edcc7f8926f' }, this.inheritedAttributes, { autoComplete: this.autoComplete, class: "zonos--floated-input", disabled: this.disabled, id: this.inputId, onBlur: this.handleBlur, onFocus: this.handleFocus, onInput: this.handlePhoneChange, placeholder: ((_a = this.selectedCountry) === null || _a === void 0 ? void 0 : _a.phonePlaceholder) || '', ref: el => (this.inputRef = el), type: "tel" })), this.inputLabel && (h("div", { key: '9c1b5249fa2a9041e8c3ed9adbf3de8af4e1f29f', class: "zonos--floated-label" }, h("label", { key: '6535de344f98dc6148ef17ffdcb6354f1e1014e1', htmlFor: this.inputId }, this.inputLabel || translate('Phone number'))))))), this.error && (h("zonos-text", { key: '0d696d74191e3738ceb94e6adb018589fa4ad9f3', textColor: "red-600" }, this.error))));
230
+ ]) }, h("input", Object.assign({ key: '5b12c7a228bf9736856c9ebf8ff7898cf0fc1889' }, this.inheritedAttributes, { autoComplete: this.autoComplete, class: "zonos--floated-input", disabled: this.disabled, id: this.inputId, onBlur: this.handleBlur, onFocus: this.handleFocus, onInput: this.handlePhoneChange, placeholder: ((_a = this.selectedCountry) === null || _a === void 0 ? void 0 : _a.phonePlaceholder) || '', ref: el => (this.inputRef = el), type: "tel" })), this.inputLabel && (h("div", { key: '04482f4bc210fb7ee6047972043f6b1942b25142', class: "zonos--floated-label" }, h("label", { key: '345c8e9d7ebc4aa8891c86a77a51f9bbd0088044', htmlFor: this.inputId }, this.inputLabel || translate('Phone number'))))))), this.error && (h("zonos-text", { key: 'cd8805f31cc6b2c9d6052f4c11190dba1f242945', textColor: "red-600" }, this.error))));
222
231
  }
223
232
  static get is() { return "zonos-stripe-phone-input"; }
224
233
  static get encapsulation() { return "scoped"; }
@@ -475,6 +484,9 @@ export class ZonosStripePhoneInput {
475
484
  static get elementRef() { return "el"; }
476
485
  static get watchers() {
477
486
  return [{
487
+ "propName": "countryCode",
488
+ "methodName": "onCountryCodeChange"
489
+ }, {
478
490
  "propName": "countryOptions",
479
491
  "methodName": "onCountryOptionsChange"
480
492
  }, {
@@ -9,9 +9,9 @@ export class ZonosToggle {
9
9
  this.options = [];
10
10
  }
11
11
  render() {
12
- return (h(Host, { key: 'cdc4d67f72773fa460d24cfc0a24fcb5288f40ad', class: classes(['zonos--elements zonos--toggle']), style: {
12
+ return (h(Host, { key: 'e4177068eca8831790db346088acde5c24a1cb52', class: classes(['zonos--elements zonos--toggle']), style: {
13
13
  '--zonos--font-family': zonosStoreFontFamily(),
14
- } }, h("div", { key: '2eb725addb5f65b98edd5193ceb6eaaa2564952b', class: "wrapper" }, this.options.map(option => {
14
+ } }, h("div", { key: '89c8561a03f2e9c11c858b406fd8dd5cbc92a9b7', class: "wrapper" }, this.options.map(option => {
15
15
  const selected = option.value === this.value;
16
16
  return (h("button", { class: classes(['zonos--option', selected && 'selected']), key: option.value, onClick: () => {
17
17
  this.toggleChanged.emit(option.value);
@@ -13,10 +13,10 @@ export class ZonosTooltip {
13
13
  this.showTooltip = false;
14
14
  }
15
15
  render() {
16
- return (h(Host, { key: '7abbe34ad287842da57b3348f680c4988662ff44', class: "zonos--elements" }, h("div", { key: '2c65db7c6022b4ea42b13d8f56f3ddfbf26687b0', class: "zonos--tooltip", onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, h("slot", { key: 'd48945a7f67bbee583e7dc7832736cffb5310066' }), h("div", { key: '90adeacf4d365f94af1a7aafbee8a27cbd731058', class: classes([
16
+ return (h(Host, { key: '4ecaaf78a0ee54dccd5efd6ec60d201a8946f9e9', class: "zonos--elements" }, h("div", { key: '5dc14bbe9d21712a29fe62cb6ade2a1e1a1c6385', class: "zonos--tooltip", onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, h("slot", { key: '2eb58e776a1d925eff1fc8e48ce337b915dbb515' }), h("div", { key: '9975d37625398918d5a9ddf2f645a4c0a496ed2a', class: classes([
17
17
  this.showTooltip && 'zonos--show-tooltip',
18
18
  'zonos--tooltip-content',
19
- ]) }, h("zonos-text", { key: 'bf46c94eb2404e1cae261f8426c090e634d70a8b', size: "s", textColor: "gray-0", type: "boldLabel" }, this.label), h("zonos-text", { key: '499fb779cbf790ddcfa6945ffecbcb152708a851', size: "xs", textColor: "gray-0" }, this.subtitle)))));
19
+ ]) }, h("zonos-text", { key: '9f4c3070b5cc96793d18950decb2f77e608b8708', size: "s", textColor: "gray-0", type: "boldLabel" }, this.label), h("zonos-text", { key: '2273a609eb5fd33a661c88f35e7fc6777ea75ccf', size: "xs", textColor: "gray-0" }, this.subtitle)))));
20
20
  }
21
21
  static get is() { return "zonos-tooltip"; }
22
22
  static get encapsulation() { return "shadow"; }
@@ -11,9 +11,9 @@ export class VStack {
11
11
  this.spacing = 24;
12
12
  }
13
13
  render() {
14
- return (h(Host, { key: '773b6654cf2031f3db0eb24781fabb8d8da7a6d2', style: {
14
+ return (h(Host, { key: '55d608e49a9d0a95c23902c68f555d3d17e34675', style: {
15
15
  '--zonos--font-family': zonosStoreFontFamily(),
16
- } }, h("div", { key: 'd5f58fcd829b7f563f9154cc760df9c6392c2526', class: classes(['vstack']), style: { 'grid-row-gap': `${this.spacing}px` } }, h("slot", { key: 'd5c7f7f2eca26214cdc6ecbe3ad5dcf4f02d9264' }))));
16
+ } }, h("div", { key: '529887c92438dd3793d2c4737ff2ae52abe560cb', class: classes(['vstack']), style: { 'grid-row-gap': `${this.spacing}px` } }, h("slot", { key: '2a3c3c193aa74b9829dca73bddfdbd3dbed4c6c6' }))));
17
17
  }
18
18
  static get is() { return "zonos-v-stack"; }
19
19
  static get encapsulation() { return "shadow"; }
@@ -106,10 +106,10 @@ export class ZonosVirtualScroll {
106
106
  render() {
107
107
  const { width: containerWidth } = this.containerDimensions;
108
108
  const visibleItems = this.getVisibleItems();
109
- return (h(Host, { key: '2ae27838464dd54ef39c08e91bf998833d63cdee', class: classes(['zonos--virtual-scroll']) }, h("div", { key: '5557baa0e7e546484ad11f3ef04dd336b4e72aa3', class: classes(['scroller']), style: {
109
+ return (h(Host, { key: 'e979610a7ed0e4bb1dd98b50043b65282aac26bf', class: classes(['zonos--virtual-scroll']) }, h("div", { key: 'ca73da524a4289cd4142a05d81bf3de691215690', class: classes(['scroller']), style: {
110
110
  height: `${this.totalHeight}px`,
111
111
  width: `${containerWidth}px`,
112
- } }), h("div", { key: '5b30d6c980ac66dfbc3b8df1c67ba96a04ec6302', class: classes(['item-container']), style: {
112
+ } }), h("div", { key: 'dd70c5ae1d9f9481de5fc08569933932413bdde4', class: classes(['item-container']), style: {
113
113
  height: `${this.totalHeight}px`,
114
114
  } }, visibleItems.map(({ element }) => element))));
115
115
  }
@@ -19,7 +19,7 @@ export class ZonosComponent {
19
19
  return format(this.first, this.middle, this.last);
20
20
  }
21
21
  render() {
22
- return h("div", { key: '27751801e26bb6bc488e28911f5c685332b879c7' }, "Hello, World! I'm ", this.getText());
22
+ return h("div", { key: '4e29ec8d8aeafa6d194925220355d6a8a785e838' }, "Hello, World! I'm ", this.getText());
23
23
  }
24
24
  static get is() { return "zonos-component"; }
25
25
  static get encapsulation() { return "shadow"; }
@@ -29,9 +29,9 @@ export class ZonosHelloDialogFooter {
29
29
  const language = (_b = languages.find(x => x.code === localizationStore.selectedLocale)) === null || _b === void 0 ? void 0 : _b.translatedLabel;
30
30
  // Only use gray-0 (white) when the background color is dark (apply inverted color if the element is using dark theme variable)
31
31
  const mainColor = primaryColor && isDarkColor(primaryColor) ? 'white' : 'black';
32
- return (h(Host, { key: '2add76b09ac1ce215244eeebdbe80608c6ca5922', class: "zonos--elements" }, h("div", { key: '73decca3700758dfab2560ca9a3ef875c007ec00', class: "zonos--hello-dialog-footer", style: {
32
+ return (h(Host, { key: '350a056fbc8cb1caf686857a1ef9d2915d9aa746', class: "zonos--elements" }, h("div", { key: 'bd98b0bb2cae37470b7640df4337173fcec9ebe5', class: "zonos--hello-dialog-footer", style: {
33
33
  '--zonos--primary-color': primaryColor,
34
- } }, h("a", { key: 'a7e3a57e805ace11ba70d862909e852ee41f9f6d', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, h("zonos-icon", { key: 'ee1fbf60813d4c18a373bc59b9f5efa99f7c9014', "aria-label": "Zonos Logo", autoHeight: true, content: mainColor === 'black' ? ZonosIconLight : ZonosIconDark, iconColor: mainColor, size: 108 })), h("div", { key: '27613f51eccb4d15a0bd902f7e2edd11acb297c1', class: "zonos--hello-locale-wrapper" }, h("zonos-button", { key: '5529f0fa72ac438e1bed1fdaa2139e1d77cf7480', buttonColor: mainColor, icon: h("zonos-icon", { "aria-label": "Open language select", content: Globe, iconColor: mainColor }), onClick: () => this.setShowLanguageSelect(true), variant: "subtle" }, h("span", { key: '13eb27b3393fdbf9b361b6db6d4543dbde5986bb', class: "zonos--hello-locale-label" }, language, h("zonos-icon", { key: '2544481f0bbe0e5accbc3c3aad079493baf70f1c', "aria-hidden": "true", class: "zonos--hello-locale-chevron", content: ChevronDownIcon, iconColor: mainColor, size: 18 }))), h("zonos-button", { key: '86c2ede088032dfcfb4df67aa38292e5fdd2cec2', buttonColor: mainColor, icon: h("zonos-country-flag", { "aria-label": "Open country select", class: "zonos--footer-country-flag", countryCode: localizationStore.selectedCountryCode }), onClick: () => this.setShowCountrySelect(true), variant: "subtle" }, h("span", { key: '0780a503e696dbfbec92ccb355eb0865d5b4d593', class: "zonos--hello-locale-label" }, localizationStore.selectedCountryCode, h("zonos-icon", { key: '7d0aeb7471ccf7ee9f45044484cb69dba9c72d2c', "aria-hidden": "true", class: "zonos--hello-locale-chevron", content: ChevronDownIcon, iconColor: mainColor, size: 18 })))))));
34
+ } }, h("a", { key: '1aee2bb2f699d0368921bec9a2adb4a8b2a2b9ab', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, h("zonos-icon", { key: 'e5c683a859f72c3c831d41be2198214c9046093c', "aria-label": "Zonos Logo", autoHeight: true, content: mainColor === 'black' ? ZonosIconLight : ZonosIconDark, iconColor: mainColor, size: 108 })), h("div", { key: '904549591a920cfc44634b6fdb4859acf3ba8fe5', class: "zonos--hello-locale-wrapper" }, h("zonos-button", { key: '0fcfbfe2dd4e5305dbc77ff380e20f1738f5ff93', buttonColor: mainColor, icon: h("zonos-icon", { "aria-label": "Open language select", content: Globe, iconColor: mainColor }), onClick: () => this.setShowLanguageSelect(true), variant: "subtle" }, h("span", { key: 'bf2185444d946075044172c5aaf99ba3ef913839', class: "zonos--hello-locale-label" }, language, h("zonos-icon", { key: '668341e3b7a5e4c8673fc282efc4128ffbe27bf2', "aria-hidden": "true", class: "zonos--hello-locale-chevron", content: ChevronDownIcon, iconColor: mainColor, size: 18 }))), h("zonos-button", { key: '5d613310cadf679a264c6ea809474454318966af', buttonColor: mainColor, icon: h("zonos-country-flag", { "aria-label": "Open country select", class: "zonos--footer-country-flag", countryCode: localizationStore.selectedCountryCode }), onClick: () => this.setShowCountrySelect(true), variant: "subtle" }, h("span", { key: 'f258553c637ec7d7bab678500aa9062d2b3524ac', class: "zonos--hello-locale-label" }, localizationStore.selectedCountryCode, h("zonos-icon", { key: 'ebb04e7e952a7cd6c166ff3752b731d7a8b2346e', "aria-hidden": "true", class: "zonos--hello-locale-chevron", content: ChevronDownIcon, iconColor: mainColor, size: 18 })))))));
35
35
  }
36
36
  static get is() { return "zonos-hello-dialog-footer"; }
37
37
  static get encapsulation() { return "shadow"; }
@@ -347,25 +347,25 @@ export class ZonosHelloDialog {
347
347
  // If deminimis is undefined or null, assume it's $0
348
348
  const taxDeMinimisMessage = this.getTaxMessage();
349
349
  const inclusivePriceMessage = this.getInclusivePriceMessage();
350
- return (h(Host, { key: '18729a31c9a2a29e5f7a49dde7630c3899cd245c', class: "zonos--elements" }, h("div", { key: 'cedfa2485f68f41aa099bc8a88446c2aa95a9262', class: classes([
350
+ return (h(Host, { key: 'd24794b42581ff92ea7ff4fed8a7feeadd68ec87', class: "zonos--elements" }, h("div", { key: '84e539b7e7eb384ec9de8c60f26f33b7de8b4c2c', class: classes([
351
351
  'zonos--hello-dialog',
352
352
  animateLeft && 'zonos--hello-dialog-animate-from-left',
353
353
  animateFromBottom && 'zonos--hello-dialog-animate-from-bottom',
354
354
  !!this.mobileLocationOverride &&
355
355
  'zonos--hello-dialog-mobile-override',
356
356
  this.isOpen && 'zonos--hello-dialog-open',
357
- ]), inert: !this.isOpen, ref: el => el && (this.dialogRef = el) }, !this.showCountrySelect && !this.showLanguageSelect && (h("div", { key: '3dd21da6f9eab3b1597e59fc93330a6601698d7d' }, h("div", { key: '48f98dac07ec1bc299df9fe69ddf74f98cd5a51c', class: "zonos--hello-dialog-content" }, h("zonos-button", { key: '9f5a1133b3326b287d8ed62625d416b4d4e5f41c', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close Zonos Hello dialog", content: RemoveIcon }), noBackground: true, onClick: () => this.setIsOpen(false) }), h("zonos-v-stack", { key: '0eb3b34b3f0b869a8039640c7ac3ef706f1bde20', spacing: 24 }, h("zonos-country-flag", { key: '3d39e4fc432736b35bab328da59e043591891f66', class: "zonos--hello-country-flag", countryCode: selectedCountryCode }), h("zonos-v-stack", { key: '7e14d107cafcdf9c153813b486c28511c341ed5e', class: "zonos--hello-dialog-header", spacing: 4 }, h("zonos-text", { key: 'a1069a846e7e0118e4be0908f82a147b12df815e', type: "boldSubheader" }, welcomeMessage), h("zonos-text", { key: '2f238d337eeb6034c9fbccf1540e7ab981d8b269', innerHTML: defaultMessage, textColor: "gray-800" })), h("zonos-v-stack", { key: '19d806fe8fb23ac05a9c4093e90beda94fdc1388', spacing: 8 }, this.restrictedItems.map(item => {
357
+ ]), inert: !this.isOpen, ref: el => el && (this.dialogRef = el) }, !this.showCountrySelect && !this.showLanguageSelect && (h("div", { key: '50d05d3fdb5f5b2769a368c69d307f93ca162725' }, h("div", { key: 'd08c9c79fd69e1e5ab43a53bfd3d1ca5050fc336', class: "zonos--hello-dialog-content" }, h("zonos-button", { key: '7a6e76b1d891ee255b4fff4589714b67eea25dc5', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close Zonos Hello dialog", content: RemoveIcon }), noBackground: true, onClick: () => this.setIsOpen(false) }), h("zonos-v-stack", { key: 'fb3c7ad6df4608f470d3126a2791040cc6a2912c', spacing: 24 }, h("zonos-country-flag", { key: '98e8aedda730cf55a11031ef34191d7a0e92ebfa', class: "zonos--hello-country-flag", countryCode: selectedCountryCode }), h("zonos-v-stack", { key: 'eb073f09379cf41486da6a355535775e3022ff57', class: "zonos--hello-dialog-header", spacing: 4 }, h("zonos-text", { key: '23d0aed3f10ea1d5d46f841f34ae240a393fe582', type: "boldSubheader" }, welcomeMessage), h("zonos-text", { key: 'eda291fcc35c2d874ae16d35218e7d61414e0d48', innerHTML: defaultMessage, textColor: "gray-800" })), h("zonos-v-stack", { key: '14c81958db7911bca665c13e95249d8886524190', spacing: 8 }, this.restrictedItems.map(item => {
358
358
  var _a;
359
359
  return item && (h("zonos-banner", { bannerTitle: item.name, intent: "error" }, (_a = item.itemRestrictions) === null || _a === void 0 ? void 0 : _a.map(x => (h("zonos-text", { textColor: "red-800" }, x === null || x === void 0 ? void 0 : x.note)))));
360
360
  }), (dutyDeMinimisMessage ||
361
361
  taxDeMinimisMessage ||
362
362
  inclusivePriceMessage ||
363
- !!(additionalInformation === null || additionalInformation === void 0 ? void 0 : additionalInformation.length)) && (h("zonos-card", { key: 'eda99f84ee5318ed6fd4bb26d2ac66a92742a05d', spacing: "12px" }, h("zonos-v-stack", { key: '86e170fd626ee23c67e35dfad72a28355031920e', spacing: 12 }, this.renderHelloMessage({
363
+ !!(additionalInformation === null || additionalInformation === void 0 ? void 0 : additionalInformation.length)) && (h("zonos-card", { key: 'debf6a45b077b636d568a63abc1e6e628b117556', spacing: "12px" }, h("zonos-v-stack", { key: '7077e41a083eee4cd34604fa20c97f6e6e6e5ea4', spacing: 12 }, this.renderHelloMessage({
364
364
  dutyDeMinimisMessage,
365
365
  inclusivePriceMessage,
366
366
  taxDeMinimisMessage,
367
367
  }), additionalInformation === null || additionalInformation === void 0 ? void 0 :
368
- additionalInformation.map(info => (h("div", { class: "zonos--flex-message" }, h("zonos-icon", { "aria-label": "Additional information for buying goods from selected country icon", content: BagIcon }), h("zonos-text", { "aria-label": `Additional information for buying goods from selected country message`, innerHTML: info }))))))), filteredMessages.map(x => (h("zonos-custom-message", { icon: MessageIcon, message: x.message })))))), h("zonos-hello-dialog-footer", { key: '94875c94b85a19a91390862d7e8ec4c978feb583', appearanceSettings: this.appearanceSettings, setShowCountrySelect: value => this.setShowCountrySelect(value), setShowLanguageSelect: value => this.setShowLanguageSelect(value) }))), this.showCountrySelect && (h("div", { key: '3a1c43cee0f8f7fb95523e90d21b6a799bdf704c' }, h("zonos-country-select", { key: '914e3e1db72458aca439ca37b8e861c49730f332', handleOnClose: () => this.setShowCountrySelect(false) }))), this.showLanguageSelect && (h("div", { key: '26f01ac1caac824eab2a8ae73cc5a1de843b354c' }, h("zonos-language-select", { key: '6318c9bc7824e90314d036973bba1a3175a4d4a8', handleOnClose: () => this.setShowLanguageSelect(false) }))))));
368
+ additionalInformation.map(info => (h("div", { class: "zonos--flex-message" }, h("zonos-icon", { "aria-label": "Additional information for buying goods from selected country icon", content: BagIcon }), h("zonos-text", { "aria-label": `Additional information for buying goods from selected country message`, innerHTML: info }))))))), filteredMessages.map(x => (h("zonos-custom-message", { icon: MessageIcon, message: x.message })))))), h("zonos-hello-dialog-footer", { key: '6a545ced019871fb0b6254b6ad8d61d21d855127', appearanceSettings: this.appearanceSettings, setShowCountrySelect: value => this.setShowCountrySelect(value), setShowLanguageSelect: value => this.setShowLanguageSelect(value) }))), this.showCountrySelect && (h("div", { key: 'e951aa4125477220462fab0332d9badd05901875' }, h("zonos-country-select", { key: 'e949e265136e827272db29d7d09af5ea2da0a415', handleOnClose: () => this.setShowCountrySelect(false) }))), this.showLanguageSelect && (h("div", { key: 'eaebd5ba3bdaf0f3d335b99f807ae432d9330db3' }, h("zonos-language-select", { key: '2900f41ecd69c84d59505b2f2771eef709e419e3', handleOnClose: () => this.setShowLanguageSelect(false) }))))));
369
369
  }
370
370
  static get is() { return "zonos-hello-dialog"; }
371
371
  static get encapsulation() { return "shadow"; }
@@ -348,7 +348,7 @@ export class ZonosController {
348
348
  zonosStore.organizationName = organizationName;
349
349
  }
350
350
  render() {
351
- return h(Host, { key: '925af89a63419b44e6372de48c66e0898d039ae0', class: "zonos--elements" });
351
+ return h(Host, { key: '4fde0983cf8a248635f7e1d8c54c712142e9363d', class: "zonos--elements" });
352
352
  }
353
353
  static get is() { return "zonos-controller"; }
354
354
  static get encapsulation() { return "shadow"; }
@@ -52,7 +52,7 @@ export class ZonosPaypalPayment {
52
52
  this.storeUnsubscribeList.forEach(unsubscribe => unsubscribe());
53
53
  }
54
54
  render() {
55
- return (h(Host, { key: '283f26fced92fbc16064967cf6d0cf8e7a8d34d4', class: "zonos--paypal-payment zonos--elements" }, h("div", { key: '31f4639edea489f91bb43c4c00b9019f949acaa4', class: "zonos--payment-paypal-container" })));
55
+ return (h(Host, { key: 'd652adf83bc2620a8c21a7b2e6d8c0c419be8a1b', class: "zonos--paypal-payment zonos--elements" }, h("div", { key: 'd6fdb79be6b31b5a2fb5ad6cc11c6001d4ac31e9', class: "zonos--payment-paypal-container" })));
56
56
  }
57
57
  static get is() { return "zonos-paypal-payment"; }
58
58
  static get encapsulation() { return "scoped"; }
@@ -422,7 +422,7 @@ const isPrefetchInfoOutdated = () => {
422
422
  isAddressOutdated ||
423
423
  isTotalAmountChanged);
424
424
  };
425
- const getCountryField = (country) => {
425
+ export const getCountryField = (country) => {
426
426
  var _a, _b;
427
427
  const countryFieldLabels = (_a = zonosStore.genericSettings) === null || _a === void 0 ? void 0 : _a.countryFields;
428
428
  const stripeCountryFieldLabels = (_b = zonosStore.genericSettings) === null || _b === void 0 ? void 0 : _b.stripeCountryFieldLabels;
@@ -19,6 +19,7 @@ import { logError } from "../../utils/logging/logError";
19
19
  import { performBlurCurrency, removeBlurCurrency, } from "../../../utils/performBlurCurrency";
20
20
  import { toggleBigcommerceNativeCurrencySelector } from "../../../utils/toggleBigcommerceNativeCurrencySelector";
21
21
  const { dispose: localizationDispose, onChange: localizationStoreOnChange, state: localizationStore, } = createStore({
22
+ allCountries: null,
22
23
  countryLandedCost: null,
23
24
  customMessages: [],
24
25
  exchangeRate: null,
@@ -335,6 +336,7 @@ const initLocalizationStore = async () => {
335
336
  return countryInfo
336
337
  ? Object.assign(Object.assign({}, acc), { [countryCode]: countryInfo }) : acc;
337
338
  }, {});
339
+ localizationStore.allCountries = allCountries;
338
340
  localizationStore.shippingZoneCountries = filteredCountries || null;
339
341
  localizationStore.inclusivePricingConfigurations =
340
342
  ((_a = window.Zonos.cartSettings) === null || _a === void 0 ? void 0 : _a.inclusivePriceConfigurations) || [];
@@ -119,6 +119,9 @@ export const stringsArabic = {
119
119
  'Company name (optional)': {
120
120
  value: 'اسم الشركة (اختياري)',
121
121
  },
122
+ 'Complete your shipping address': {
123
+ value: 'أكمل عنوان الشحن الخاص بك',
124
+ },
122
125
  Confirm: {
123
126
  value: 'تأكيد',
124
127
  },
@@ -536,6 +539,9 @@ export const stringsArabic = {
536
539
  'Return to merchant site': {
537
540
  value: 'العودة إلى موقع التاجر',
538
541
  },
542
+ 'Save and continue': {
543
+ value: 'حفظ ومتابعة',
544
+ },
539
545
  'Search countries': {
540
546
  value: 'ابحث عن الدول',
541
547
  },
@@ -554,6 +560,9 @@ export const stringsArabic = {
554
560
  'Select a language': {
555
561
  value: 'اختر لغة',
556
562
  },
563
+ 'Selected address': {
564
+ value: 'العنوان المحدد',
565
+ },
557
566
  'Session does not have valid landed cost. Please contact [organizationName] for assistance.': {
558
567
  value: 'الجلسة لا تحتوي على تكلفة هبوط صالحة. يرجى الاتصال بـ [organizationName] للحصول على المساعدة.',
559
568
  },
@@ -698,6 +707,9 @@ export const stringsArabic = {
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: 'حدث خطأ في تحديث جلسة الخروج الخاصة بك. يرجى إعادة التحميل والمحاولة مرة أخرى أو الاتصال بالدعم إذا استمر الخطأ',
700
709
  },
710
+ 'This saved address is missing information required to ship internationally. Please add the details below.': {
711
+ value: 'هذا العنوان المحفوظ يفتقد معلومات مطلوبة للشحن الدولي. يُرجى إضافة التفاصيل أدناه.',
712
+ },
701
713
  'To ensure delivery all address details must be in Latin characters.': {
702
714
  value: 'لضمان التوصيل، يجب أن تكون جميع تفاصيل العنوان بأحرف لاتينية.',
703
715
  },
@@ -120,6 +120,9 @@ export const stringsBase = {
120
120
  'Company name (optional)': {
121
121
  value: 'Company name (optional)',
122
122
  },
123
+ 'Complete your shipping address': {
124
+ value: 'Complete your shipping address',
125
+ },
123
126
  Confirm: {
124
127
  value: 'Confirm',
125
128
  },
@@ -537,6 +540,9 @@ export const stringsBase = {
537
540
  'Return to merchant site': {
538
541
  value: 'Return to merchant site',
539
542
  },
543
+ 'Save and continue': {
544
+ value: 'Save and continue',
545
+ },
540
546
  'Search countries': {
541
547
  value: 'Search countries',
542
548
  },
@@ -555,6 +561,9 @@ export const stringsBase = {
555
561
  'Select a language': {
556
562
  value: 'Select a language',
557
563
  },
564
+ 'Selected address': {
565
+ value: 'Selected address',
566
+ },
558
567
  'Session does not have valid landed cost. Please contact [organizationName] for assistance.': {
559
568
  value: 'Session does not have valid landed cost. Please contact [organizationName] for assistance.',
560
569
  },
@@ -699,6 +708,9 @@ export const stringsBase = {
699
708
  "There's been an error updating your checkout session. Please reload and try again or contact support if the error persists": {
700
709
  value: "There's been an error updating your checkout session. Please reload and try again or contact support if the error persists",
701
710
  },
711
+ 'This saved address is missing information required to ship internationally. Please add the details below.': {
712
+ value: 'This saved address is missing information required to ship internationally. Please add the details below.',
713
+ },
702
714
  'To ensure delivery all address details must be in Latin characters.': {
703
715
  value: 'To ensure delivery all address details must be in Latin characters.',
704
716
  },