@zonos/elements 1.3.241 → 1.3.242

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 (277) hide show
  1. package/dist/cjs/{cart-376f0f29.js → cart-4246c004.js} +1 -1
  2. package/dist/cjs/{hasInclusivePrice-2e306ea5.js → hasInclusivePrice-ac0440e7.js} +1 -1
  3. package/dist/cjs/index.cjs.js +7 -7
  4. package/dist/cjs/{invoice-856220a7.js → invoice-d9655e9e.js} +2 -2
  5. package/dist/cjs/{isCollectMobileTablet-72ea7338.js → isCollectMobileTablet-65da8408.js} +2 -2
  6. package/dist/cjs/loader.cjs.js +1 -1
  7. package/dist/cjs/{localization-08aa03da.js → localization-ec5a6780.js} +120 -0
  8. package/dist/cjs/{paypal-ef7e2610.js → paypal-a3921278.js} +2 -2
  9. package/dist/cjs/{placeTestOrder-427786ae.js → placeTestOrder-907b981d.js} +2 -2
  10. package/dist/cjs/{renderCheckoutCurrency-9057dec8.js → renderCheckoutCurrency-5fe59d60.js} +2 -2
  11. package/dist/cjs/zonos-address-display_9.cjs.entry.js +20 -20
  12. package/dist/cjs/zonos-address_4.cjs.entry.js +5 -5
  13. package/dist/cjs/zonos-card_5.cjs.entry.js +5 -5
  14. package/dist/cjs/zonos-cart-items_12.cjs.entry.js +9 -9
  15. package/dist/cjs/zonos-checkout.cjs.entry.js +119 -79
  16. package/dist/cjs/zonos-collect-cart-items_3.cjs.entry.js +5 -5
  17. package/dist/cjs/zonos-collect-finish_6.cjs.entry.js +6 -6
  18. package/dist/cjs/zonos-collect.cjs.entry.js +4 -4
  19. package/dist/cjs/zonos-component.cjs.entry.js +1 -1
  20. package/dist/cjs/zonos-controller.cjs.entry.js +3 -3
  21. package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -1
  22. package/dist/cjs/zonos-country-select_4.cjs.entry.js +5 -5
  23. package/dist/cjs/zonos-elements.cjs.js +1 -1
  24. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +6 -6
  25. package/dist/cjs/zonos-hello.cjs.entry.js +1 -1
  26. package/dist/cjs/zonos-input.cjs.entry.js +4 -4
  27. package/dist/cjs/zonos-invoice-cart-items_2.cjs.entry.js +4 -4
  28. package/dist/cjs/zonos-invoice-finish_5.cjs.entry.js +6 -6
  29. package/dist/cjs/zonos-invoice.cjs.entry.js +4 -4
  30. package/dist/cjs/zonos-language-select_2.cjs.entry.js +5 -5
  31. package/dist/cjs/zonos-link.cjs.entry.js +1 -1
  32. package/dist/cjs/zonos-logo.cjs.entry.js +2 -2
  33. package/dist/cjs/zonos-stripe-input.cjs.entry.js +4 -4
  34. package/dist/cjs/zonos-toggle.cjs.entry.js +2 -2
  35. package/dist/cjs/zonos-tooltip.cjs.entry.js +2 -2
  36. package/dist/cjs/zonos-v-stack.cjs.entry.js +2 -2
  37. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +13 -3
  38. package/dist/collection/components/common/zonos-dialog/zonos-dialog.css +8 -0
  39. package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +41 -3
  40. package/dist/collection/components/common/zonos-h-stack/zonos-h-stack.js +2 -2
  41. package/dist/collection/components/common/zonos-input/zonos-input.js +4 -4
  42. package/dist/collection/components/common/zonos-language-select/zonos-language-select.js +2 -2
  43. package/dist/collection/components/common/zonos-link/zonos-link.js +1 -1
  44. package/dist/collection/components/common/zonos-loading-overlay/zonos-loading-overlay.js +1 -1
  45. package/dist/collection/components/common/zonos-logo/zonos-logo.js +2 -2
  46. package/dist/collection/components/common/zonos-rest-state/zonos-rest-state.js +3 -3
  47. package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +2 -2
  48. package/dist/collection/components/common/zonos-skeleton/zonos-skeleton.js +1 -1
  49. package/dist/collection/components/common/zonos-stripe-input/zonos-stripe-input.js +4 -4
  50. package/dist/collection/components/common/zonos-stripe-phone-input/zonos-stripe-phone-input.js +5 -5
  51. package/dist/collection/components/common/zonos-stripe-select/zonos-stripe-select.js +5 -5
  52. package/dist/collection/components/common/zonos-toggle/zonos-toggle.js +2 -2
  53. package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.js +2 -2
  54. package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +2 -2
  55. package/dist/collection/components/common/zonos-virtual-scroll/zonos-virtual-scroll.js +2 -2
  56. package/dist/collection/components/component-template/zonos-component/zonos-component.js +1 -1
  57. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +2 -2
  58. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +4 -4
  59. package/dist/collection/components/main/zonos-controller.js +1 -1
  60. package/dist/collection/components/paypal/zonos-paypal-payment.js +1 -1
  61. package/dist/collection/components/store/translationStore/strings.arabic.js +6 -0
  62. package/dist/collection/components/store/translationStore/strings.base.js +6 -0
  63. package/dist/collection/components/store/translationStore/strings.chinese.js +6 -0
  64. package/dist/collection/components/store/translationStore/strings.danish.js +6 -0
  65. package/dist/collection/components/store/translationStore/strings.dutch.js +6 -0
  66. package/dist/collection/components/store/translationStore/strings.french.js +6 -0
  67. package/dist/collection/components/store/translationStore/strings.german.js +6 -0
  68. package/dist/collection/components/store/translationStore/strings.hebrew.js +6 -0
  69. package/dist/collection/components/store/translationStore/strings.indonesian.js +6 -0
  70. package/dist/collection/components/store/translationStore/strings.italian.js +6 -0
  71. package/dist/collection/components/store/translationStore/strings.japanese.js +6 -0
  72. package/dist/collection/components/store/translationStore/strings.korean.js +6 -0
  73. package/dist/collection/components/store/translationStore/strings.norwegian.js +6 -0
  74. package/dist/collection/components/store/translationStore/strings.polish.js +6 -0
  75. package/dist/collection/components/store/translationStore/strings.portuguese.js +6 -0
  76. package/dist/collection/components/store/translationStore/strings.russian.js +6 -0
  77. package/dist/collection/components/store/translationStore/strings.spanish.js +6 -0
  78. package/dist/collection/components/store/translationStore/strings.swedish.js +6 -0
  79. package/dist/collection/components/store/translationStore/strings.turkish.js +6 -0
  80. package/dist/collection/components/store/translationStore/strings.vietnamese.js +6 -0
  81. package/dist/collection/components/stripe/zonos-address/zonos-address.js +2 -2
  82. package/dist/collection/components/stripe/zonos-custom-address/zonos-address-suggestions/zonos-address-suggestions.js +2 -2
  83. package/dist/collection/components/stripe/zonos-custom-address/zonos-custom-address.js +2 -2
  84. package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
  85. package/dist/collection/components/utils/checkout/isShippableCountry.js +15 -1
  86. package/dist/collection/components/utils/checkout/watchImmediateBigcommerceDomesticCheckoutRedirect.js +129 -0
  87. package/dist/collection/types/generated/graphql.internal.types.js +2 -0
  88. package/dist/esm/{cart-60532eb4.js → cart-697f78dc.js} +2 -2
  89. package/dist/esm/{hasInclusivePrice-736c9eec.js → hasInclusivePrice-f41e52b8.js} +1 -1
  90. package/dist/esm/index.js +7 -7
  91. package/dist/esm/{invoice-cbb44b0b.js → invoice-50918381.js} +2 -2
  92. package/dist/esm/{isCollectMobileTablet-e5503ab8.js → isCollectMobileTablet-2e7b4f01.js} +2 -2
  93. package/dist/esm/loader.js +1 -1
  94. package/dist/esm/{localization-285da14c.js → localization-ee8bb238.js} +120 -0
  95. package/dist/esm/{paypal-ac12eedb.js → paypal-b3299b37.js} +2 -2
  96. package/dist/esm/{placeTestOrder-bba48f55.js → placeTestOrder-245f2030.js} +2 -2
  97. package/dist/esm/{renderCheckoutCurrency-0176e66f.js → renderCheckoutCurrency-9404ed70.js} +2 -2
  98. package/dist/esm/zonos-address-display_9.entry.js +20 -20
  99. package/dist/esm/zonos-address_4.entry.js +5 -5
  100. package/dist/esm/zonos-card_5.entry.js +5 -5
  101. package/dist/esm/zonos-cart-items_12.entry.js +9 -9
  102. package/dist/esm/zonos-checkout.entry.js +120 -80
  103. package/dist/esm/zonos-collect-cart-items_3.entry.js +5 -5
  104. package/dist/esm/zonos-collect-finish_6.entry.js +6 -6
  105. package/dist/esm/zonos-collect.entry.js +4 -4
  106. package/dist/esm/zonos-component.entry.js +1 -1
  107. package/dist/esm/zonos-controller.entry.js +3 -3
  108. package/dist/esm/zonos-country-flag.entry.js +1 -1
  109. package/dist/esm/zonos-country-select_4.entry.js +5 -5
  110. package/dist/esm/zonos-elements.js +1 -1
  111. package/dist/esm/zonos-hello-dialog.entry.js +6 -6
  112. package/dist/esm/zonos-hello.entry.js +1 -1
  113. package/dist/esm/zonos-input.entry.js +4 -4
  114. package/dist/esm/zonos-invoice-cart-items_2.entry.js +4 -4
  115. package/dist/esm/zonos-invoice-finish_5.entry.js +6 -6
  116. package/dist/esm/zonos-invoice.entry.js +4 -4
  117. package/dist/esm/zonos-language-select_2.entry.js +5 -5
  118. package/dist/esm/zonos-link.entry.js +1 -1
  119. package/dist/esm/zonos-logo.entry.js +2 -2
  120. package/dist/esm/zonos-stripe-input.entry.js +4 -4
  121. package/dist/esm/zonos-toggle.entry.js +2 -2
  122. package/dist/esm/zonos-tooltip.entry.js +2 -2
  123. package/dist/esm/zonos-v-stack.entry.js +2 -2
  124. package/dist/esm-es5/{cart-60532eb4.js → cart-697f78dc.js} +1 -1
  125. package/dist/esm-es5/{hasInclusivePrice-736c9eec.js → hasInclusivePrice-f41e52b8.js} +1 -1
  126. package/dist/esm-es5/index.js +1 -1
  127. package/dist/esm-es5/{invoice-cbb44b0b.js → invoice-50918381.js} +1 -1
  128. package/dist/esm-es5/{isCollectMobileTablet-e5503ab8.js → isCollectMobileTablet-2e7b4f01.js} +1 -1
  129. package/dist/esm-es5/loader.js +1 -1
  130. package/dist/esm-es5/localization-ee8bb238.js +1 -0
  131. package/dist/esm-es5/{paypal-ac12eedb.js → paypal-b3299b37.js} +1 -1
  132. package/dist/esm-es5/{placeTestOrder-bba48f55.js → placeTestOrder-245f2030.js} +1 -1
  133. package/dist/esm-es5/{renderCheckoutCurrency-0176e66f.js → renderCheckoutCurrency-9404ed70.js} +1 -1
  134. package/dist/esm-es5/zonos-address-display_9.entry.js +1 -1
  135. package/dist/esm-es5/zonos-address_4.entry.js +1 -1
  136. package/dist/esm-es5/zonos-card_5.entry.js +1 -1
  137. package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
  138. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  139. package/dist/esm-es5/zonos-collect-cart-items_3.entry.js +1 -1
  140. package/dist/esm-es5/zonos-collect-finish_6.entry.js +1 -1
  141. package/dist/esm-es5/zonos-collect.entry.js +1 -1
  142. package/dist/esm-es5/zonos-component.entry.js +1 -1
  143. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  144. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  145. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
  146. package/dist/esm-es5/zonos-elements.js +1 -1
  147. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  148. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  149. package/dist/esm-es5/zonos-input.entry.js +1 -1
  150. package/dist/esm-es5/zonos-invoice-cart-items_2.entry.js +1 -1
  151. package/dist/esm-es5/zonos-invoice-finish_5.entry.js +1 -1
  152. package/dist/esm-es5/zonos-invoice.entry.js +1 -1
  153. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  154. package/dist/esm-es5/zonos-link.entry.js +1 -1
  155. package/dist/esm-es5/zonos-logo.entry.js +1 -1
  156. package/dist/esm-es5/zonos-stripe-input.entry.js +1 -1
  157. package/dist/esm-es5/zonos-toggle.entry.js +1 -1
  158. package/dist/esm-es5/zonos-tooltip.entry.js +1 -1
  159. package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
  160. package/dist/scripts/index.d.ts +34 -2
  161. package/dist/scripts/index.js +1 -1
  162. package/dist/scripts/loadZonos.js +1 -1
  163. package/dist/scripts/zonos.js +1 -1
  164. package/dist/types/components/checkout/zonos-checkout/zonos-checkout.d.ts +4 -0
  165. package/dist/types/components/common/zonos-dialog/zonos-dialog.d.ts +8 -0
  166. package/dist/types/components/store/translationStore/strings.arabic.d.ts +6 -0
  167. package/dist/types/components/store/translationStore/strings.base.d.ts +6 -0
  168. package/dist/types/components/store/translationStore/strings.chinese.d.ts +6 -0
  169. package/dist/types/components/store/translationStore/strings.danish.d.ts +6 -0
  170. package/dist/types/components/store/translationStore/strings.dutch.d.ts +6 -0
  171. package/dist/types/components/store/translationStore/strings.french.d.ts +6 -0
  172. package/dist/types/components/store/translationStore/strings.german.d.ts +6 -0
  173. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +6 -0
  174. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +6 -0
  175. package/dist/types/components/store/translationStore/strings.italian.d.ts +6 -0
  176. package/dist/types/components/store/translationStore/strings.japanese.d.ts +6 -0
  177. package/dist/types/components/store/translationStore/strings.korean.d.ts +6 -0
  178. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +6 -0
  179. package/dist/types/components/store/translationStore/strings.polish.d.ts +6 -0
  180. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +6 -0
  181. package/dist/types/components/store/translationStore/strings.russian.d.ts +6 -0
  182. package/dist/types/components/store/translationStore/strings.spanish.d.ts +6 -0
  183. package/dist/types/components/store/translationStore/strings.swedish.d.ts +6 -0
  184. package/dist/types/components/store/translationStore/strings.turkish.d.ts +6 -0
  185. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +6 -0
  186. package/dist/types/components/utils/api/getLocaleMessages.d.ts +1 -1
  187. package/dist/types/components/utils/checkout/isShippableCountry.d.ts +2 -1
  188. package/dist/types/components/utils/checkout/watchImmediateBigcommerceDomesticCheckoutRedirect.d.ts +24 -0
  189. package/dist/types/components.d.ts +16 -0
  190. package/dist/types/types/generated/graphql.frontend.types.d.ts +1 -1
  191. package/dist/types/types/generated/graphql.frontend.types.ts +1 -1
  192. package/dist/types/types/generated/graphql.internal.types.d.ts +14 -2
  193. package/dist/types/types/generated/graphql.internal.types.ts +15 -3
  194. package/dist/zonos-elements/index.esm.js +1 -1
  195. package/dist/zonos-elements/{p-3a19ae6e.system.js → p-036e6a72.system.js} +1 -1
  196. package/dist/zonos-elements/{p-328990f0.js → p-1023a77d.js} +1 -1
  197. package/dist/zonos-elements/p-13b3a9bd.entry.js +1 -0
  198. package/dist/zonos-elements/{p-5afb9260.system.entry.js → p-14c920b2.system.entry.js} +1 -1
  199. package/dist/zonos-elements/{p-22e26d61.entry.js → p-1864fc4e.entry.js} +1 -1
  200. package/dist/zonos-elements/{p-f2614438.js → p-1af042d1.js} +1 -1
  201. package/dist/zonos-elements/{p-4954a927.system.entry.js → p-1c54c3db.system.entry.js} +1 -1
  202. package/dist/zonos-elements/{p-32fddb6d.system.entry.js → p-1db4ae37.system.entry.js} +1 -1
  203. package/dist/zonos-elements/{p-59a76f73.entry.js → p-231baaf8.entry.js} +1 -1
  204. package/dist/zonos-elements/{p-8dc025c7.system.entry.js → p-232b0fb5.system.entry.js} +1 -1
  205. package/dist/zonos-elements/p-258407c6.js +1 -0
  206. package/dist/zonos-elements/{p-de517648.entry.js → p-28077dd4.entry.js} +1 -1
  207. package/dist/zonos-elements/{p-c5195813.entry.js → p-29bb70e0.entry.js} +1 -1
  208. package/dist/zonos-elements/{p-1a5a23ed.js → p-2aa284e6.js} +1 -1
  209. package/dist/zonos-elements/{p-8792fef2.system.entry.js → p-2c2a1339.system.entry.js} +1 -1
  210. package/dist/zonos-elements/p-2dd9b3e0.entry.js +1 -0
  211. package/dist/zonos-elements/{p-60397a04.system.entry.js → p-3318ba9e.system.entry.js} +1 -1
  212. package/dist/zonos-elements/p-343dee8b.system.js +1 -0
  213. package/dist/zonos-elements/{p-bd603c1a.entry.js → p-3e67ca05.entry.js} +1 -1
  214. package/dist/zonos-elements/{p-2ed81f5d.system.js → p-457a2957.system.js} +1 -1
  215. package/dist/zonos-elements/{p-85205ac8.system.js → p-5216584e.system.js} +1 -1
  216. package/dist/zonos-elements/{p-2ab3f86c.system.entry.js → p-5aff8a31.system.entry.js} +1 -1
  217. package/dist/zonos-elements/p-5feb3750.system.entry.js +1 -0
  218. package/dist/zonos-elements/{p-61aa9365.system.entry.js → p-633017f0.system.entry.js} +1 -1
  219. package/dist/zonos-elements/{p-8fd37163.entry.js → p-635b8da9.entry.js} +1 -1
  220. package/dist/zonos-elements/{p-cd12c86c.system.js → p-67414f66.system.js} +1 -1
  221. package/dist/zonos-elements/{p-d9007f2e.system.entry.js → p-689ce3eb.system.entry.js} +1 -1
  222. package/dist/zonos-elements/p-6dc9b9e5.js +1 -0
  223. package/dist/zonos-elements/p-752dae00.system.js +1 -0
  224. package/dist/zonos-elements/{p-fc43442d.system.entry.js → p-75813a38.system.entry.js} +1 -1
  225. package/dist/zonos-elements/p-7e51fe84.system.entry.js +1 -0
  226. package/dist/zonos-elements/{p-f04c208e.js → p-8159d0f8.js} +2 -2
  227. package/dist/zonos-elements/{p-149365e3.system.entry.js → p-8432de4c.system.entry.js} +1 -1
  228. package/dist/zonos-elements/{p-2f869f2c.system.entry.js → p-84cf1a90.system.entry.js} +1 -1
  229. package/dist/zonos-elements/{p-944d00da.entry.js → p-8f0f6449.entry.js} +1 -1
  230. package/dist/zonos-elements/{p-90f58466.system.entry.js → p-90e10b7e.system.entry.js} +1 -1
  231. package/dist/zonos-elements/{p-ba456282.system.entry.js → p-917f714c.system.entry.js} +1 -1
  232. package/dist/zonos-elements/p-949c9d2a.entry.js +1 -0
  233. package/dist/zonos-elements/{p-e0227f2c.entry.js → p-9a67d4f2.entry.js} +1 -1
  234. package/dist/zonos-elements/{p-4dfd33d9.entry.js → p-9ab32f9b.entry.js} +1 -1
  235. package/dist/zonos-elements/{p-14314ad3.entry.js → p-9c49daa4.entry.js} +1 -1
  236. package/dist/zonos-elements/{p-b5c31ca4.system.entry.js → p-9fa90292.system.entry.js} +1 -1
  237. package/dist/zonos-elements/{p-9e29a4a3.entry.js → p-a04c7b1e.entry.js} +1 -1
  238. package/dist/zonos-elements/{p-121c60c1.system.entry.js → p-a359e0a2.system.entry.js} +1 -1
  239. package/dist/zonos-elements/{p-fa322dc1.entry.js → p-aa028d91.entry.js} +1 -1
  240. package/dist/zonos-elements/p-b34553d8.entry.js +1 -0
  241. package/dist/zonos-elements/{p-3e30e203.system.js → p-b526a41e.system.js} +1 -1
  242. package/dist/zonos-elements/{p-79b9aee4.system.entry.js → p-b90f346f.system.entry.js} +1 -1
  243. package/dist/zonos-elements/{p-62cfcd21.system.entry.js → p-b9974182.system.entry.js} +1 -1
  244. package/dist/zonos-elements/{p-e8f4da3a.js → p-bcdf1cba.js} +1 -1
  245. package/dist/zonos-elements/p-bdf49bed.entry.js +1 -0
  246. package/dist/zonos-elements/{p-fc64f69d.entry.js → p-bfc09897.entry.js} +1 -1
  247. package/dist/zonos-elements/{p-264690d7.entry.js → p-c01f86b4.entry.js} +1 -1
  248. package/dist/zonos-elements/{p-865536f0.entry.js → p-c1fb3a2d.entry.js} +1 -1
  249. package/dist/zonos-elements/p-c2442878.system.js +1 -1
  250. package/dist/zonos-elements/{p-de5a68c3.system.entry.js → p-ce48f579.system.entry.js} +1 -1
  251. package/dist/zonos-elements/{p-094f9c5a.entry.js → p-cfb2b5c7.entry.js} +1 -1
  252. package/dist/zonos-elements/{p-89a5e936.system.entry.js → p-cfb9b847.system.entry.js} +1 -1
  253. package/dist/zonos-elements/{p-87bed9ec.system.js → p-d9b96ce6.system.js} +1 -1
  254. package/dist/zonos-elements/{p-9f1bd9b8.entry.js → p-dcf999d8.entry.js} +1 -1
  255. package/dist/zonos-elements/{p-13927760.system.entry.js → p-e1ed7c4a.system.entry.js} +1 -1
  256. package/dist/zonos-elements/{p-3a8a6092.system.js → p-ea0289e8.system.js} +1 -1
  257. package/dist/zonos-elements/{p-7eae7c62.entry.js → p-ea1d5802.entry.js} +1 -1
  258. package/dist/zonos-elements/{p-9c7edad5.system.entry.js → p-ee5d5203.system.entry.js} +1 -1
  259. package/dist/zonos-elements/{p-dfb429d7.system.entry.js → p-f7e6c1b5.system.entry.js} +1 -1
  260. package/dist/zonos-elements/p-fab5f272.js +1 -0
  261. package/dist/zonos-elements/{p-df69f036.entry.js → p-fc783723.entry.js} +1 -1
  262. package/dist/zonos-elements/{p-706d1537.entry.js → p-fecf66da.entry.js} +1 -1
  263. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  264. package/package.json +1 -1
  265. package/dist/esm-es5/localization-285da14c.js +0 -1
  266. package/dist/zonos-elements/p-0307e4ac.entry.js +0 -1
  267. package/dist/zonos-elements/p-0c977c47.system.js +0 -1
  268. package/dist/zonos-elements/p-3ef06605.js +0 -1
  269. package/dist/zonos-elements/p-5a5c06ad.entry.js +0 -1
  270. package/dist/zonos-elements/p-664da916.entry.js +0 -1
  271. package/dist/zonos-elements/p-83bf52d6.js +0 -1
  272. package/dist/zonos-elements/p-ab195686.system.js +0 -1
  273. package/dist/zonos-elements/p-b152859d.system.entry.js +0 -1
  274. package/dist/zonos-elements/p-b408debb.system.entry.js +0 -1
  275. package/dist/zonos-elements/p-c3533444.entry.js +0 -1
  276. package/dist/zonos-elements/p-e5ee64c0.entry.js +0 -1
  277. package/dist/zonos-elements/p-f73d243a.js +0 -1
@@ -20,9 +20,9 @@ const VStack = class {
20
20
  this.spacing = 24;
21
21
  }
22
22
  render() {
23
- return (index.h(index.Host, { key: '2046d921010e03f983caf7abbe167e97910e932c', style: {
23
+ return (index.h(index.Host, { key: 'fc34e62d3d9712120d2356f1bdc8ad42b26d122a', style: {
24
24
  '--zonos--font-family': zonosStore.zonosStoreFontFamily(),
25
- } }, index.h("div", { key: 'a3d2a596527254b44be7841bf3d1c8a8c0f85af4', class: classes.classes(['vstack']), style: { 'grid-row-gap': `${this.spacing}px` } }, index.h("slot", { key: '3b56e670f953ce24f7d4a96789ffdf51ede94b85' }))));
25
+ } }, index.h("div", { key: 'd246b49b618860f01c3f1b8c439c1be361ca656f', class: classes.classes(['vstack']), style: { 'grid-row-gap': `${this.spacing}px` } }, index.h("slot", { key: '043fde36321157373196c9120a774c78a0fc46ce' }))));
26
26
  }
27
27
  };
28
28
  VStack.style = ZonosVStackStyle0;
@@ -18,7 +18,7 @@ import { getIsTestMode } from "../../utils/checkout/getIsTestMode";
18
18
  import { isCheckoutMobile } from "../../utils/checkout/isCheckoutMobile";
19
19
  import { isDisabledCountry } from "../../utils/checkout/isDisabledCountry";
20
20
  import { isShippableCountry } from "../../utils/checkout/isShippableCountry";
21
- import { watchBigcommerceDomesticCheckout } from "../../utils/checkout/watchBigcommerceDomesticCheckout";
21
+ import { watchImmediateBigcommerceDomesticCheckoutRedirect } from "../../utils/checkout/watchImmediateBigcommerceDomesticCheckoutRedirect";
22
22
  import { classes } from "../../utils/classes";
23
23
  import { createCustomEvent } from "../../utils/createCustomEvent";
24
24
  import { getBorderRadius } from "../../utils/getBorderRadius";
@@ -134,6 +134,10 @@ export class ZonosCheckout {
134
134
  * Whether or not the fedex shipping dialog should be shown
135
135
  */
136
136
  this.shouldShowFedexShippingConsentDialog = false;
137
+ /**
138
+ * Whether or not the domestic checkout dialog should be shown
139
+ */
140
+ this.detectedDomesticCheckoutDialogOpen = false;
137
141
  /**
138
142
  * Client secret value
139
143
  */
@@ -987,8 +991,13 @@ export class ZonosCheckout {
987
991
  cartStore.isStagingMode = this.overrideStagingMode;
988
992
  }
989
993
  // check if bigcommerce, if user enters the shipping address that's in the shipping zone at bigcommerce checkout
990
- watchBigcommerceDomesticCheckout({
994
+ watchImmediateBigcommerceDomesticCheckoutRedirect({
991
995
  domesticRedirectedBtnSelector: domesticRedirectedBtnSelector,
996
+ onInternationalCheckoutSelected: async () => {
997
+ this.detectedDomesticCheckoutDialogOpen = true;
998
+ // wait for 2 secs
999
+ await new Promise(resolve => setTimeout(resolve, 2000));
1000
+ },
992
1001
  onShippingAddressSessionFound: shippingAddressSession => {
993
1002
  // prefilled the default address if shipping address session is found for checkout on open
994
1003
  this.defaultAddress = [
@@ -1501,7 +1510,7 @@ export class ZonosCheckout {
1501
1510
  this.isMobile && 'mobile',
1502
1511
  this.isIframed && 'iframed',
1503
1512
  this.hiddenMode && 'hidden-mode',
1504
- ]) }, this.preview ? (renderContent()) : (h("zonos-dialog", { borderStyle: style, "data-theme": rightSideTheme, height: "980px", isLoading: dialogLoading, mobile: this.isMobile, noBodyPadding: true, noBorder: true, noClickOutside: true, noCloseButton: true, onCloseDialog: () => this.closeDialogHandler(), open: this.open, width: "1200px" }, renderContent())), h("zonos-confirm-dialog", { class: "zonos--close-confirm-dialog", dialogCancelBtnText: translate("Don't close"), dialogConfirmBtnText: translate('Close'), dialogIntent: "warn", dialogOpen: this.confirmDialogOpen, dialogSubtitle: translate('Would you like to close checkout and return to the site?'), dialogTitle: translate('Are you sure?'), onCancelClicked: () => {
1513
+ ]) }, this.preview ? (renderContent()) : (h("zonos-dialog", { borderStyle: style, "data-theme": rightSideTheme, height: "980px", isLoading: dialogLoading, mobile: this.isMobile, noBodyPadding: true, noBorder: true, noClickOutside: true, noCloseButton: true, onCloseDialog: () => this.closeDialogHandler(), open: this.open, width: "1200px" }, renderContent())), h("zonos-dialog", { isLoading: true, loadingText: translate('You will be redirected to international checkout shortly.'), loadingTitle: translate('We detected that you are shipping to an international address.'), noClickOutside: true, noCloseButton: true, open: this.detectedDomesticCheckoutDialogOpen, width: "450px" }), h("zonos-confirm-dialog", { class: "zonos--close-confirm-dialog", dialogCancelBtnText: translate("Don't close"), dialogConfirmBtnText: translate('Close'), dialogIntent: "warn", dialogOpen: this.confirmDialogOpen, dialogSubtitle: translate('Would you like to close checkout and return to the site?'), dialogTitle: translate('Are you sure?'), onCancelClicked: () => {
1505
1514
  this.confirmDialogOpen = false;
1506
1515
  },
1507
1516
  // Mark user selected confirm to close the dialog
@@ -1737,6 +1746,7 @@ export class ZonosCheckout {
1737
1746
  "inventoryCheckErrorMessage": {},
1738
1747
  "placedOrderInfo": {},
1739
1748
  "shouldShowFedexShippingConsentDialog": {},
1749
+ "detectedDomesticCheckoutDialogOpen": {},
1740
1750
  "clientSecret": {},
1741
1751
  "stripeCustomerSessionClientSecret": {}
1742
1752
  };
@@ -55,10 +55,18 @@
55
55
  display: flex;
56
56
  align-items: center;
57
57
  justify-content: center;
58
+ flex-direction: column;
59
+ gap: 4px;
58
60
  z-index: 2147483009;
59
61
  background: var(--zonos-elements-gray-0);
60
62
  border-radius: var(--zonos--border-radius, var(--zonos-elements-radius-10));
61
63
  }
64
+ :host .zonos--loading-text,
65
+ :host .zonos--loading-title {
66
+ max-width: 100%;
67
+ padding: 0 32px;
68
+ text-align: center;
69
+ }
62
70
  :host .zonos--dialog-layout {
63
71
  width: 100vw;
64
72
  height: 100vh;
@@ -86,7 +86,7 @@ export class ZonosDialog {
86
86
  const borderStyle = getBorderRadius({
87
87
  overrideBorderStyle: this.borderStyle,
88
88
  });
89
- return (h(Host, { key: '1b53109e3598536674ab0a2cac4c5fa52c2e501d', class: classes([
89
+ return (h(Host, { key: '3764ddd25cf29e7b5ebc420c2fc47de213d2bcd6', 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: '3fcaf891d98fad2a7bb0b0eb7285c991a9df7610', class: "zonos--backdrop" }), h("div", { key: '16fe5c3ad017d19c52e85cf18eec31fe3960f61d', class: "zonos--dialog-layout", inert: !this.open, onClick: this.clickOutsideDialogHandler }, h("div", { key: '1fae701967b41b2d96e709078f6958867a7ef1c0', class: "zonos--dialog" }, this.isLoading && (h("div", { key: 'ba0bc9a7bf0f8fd097e874b371fc563ee9fab255', class: "zonos--loading" }, h("zonos-spinner", { key: 'c4599e9093de3e0ee56f094fc9bbe33d474cf966', size: 30 }))), (this.headerText || !this.noCloseButton) && (h("div", { key: '827ff1f3a08f9efe7e1cb10315e62b68ed634087', class: "zonos--header" }, this.headerText && (h("h3", { key: 'd6e000b787d758080aa9283f59a3b577ef9d9bde', class: "zonos--header-text" }, this.headerText)), !this.noCloseButton && (h("zonos-button", { key: '8efcb22ad294f4feab8f1a89e893a4f3d8a48d05', 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: '2bf643dcdcd2fdffdaccba0169386cd0a5a4ccd6', class: classes([
101
+ } }, h("div", { key: 'aded0d33e4605a40b107e89fcbc95ef024b187f7', class: "zonos--backdrop" }), h("div", { key: '55500b0bb118be90d474fc758f979ac3f317d52e', class: "zonos--dialog-layout", inert: !this.open, onClick: this.clickOutsideDialogHandler }, h("div", { key: 'a21fa7808c16df11cab8800279774abb38828f1b', class: "zonos--dialog" }, this.isLoading && (h("div", { key: 'b8e9229591ad83446400deafdf5bee284091f1d9', class: "zonos--loading" }, h("zonos-spinner", { key: 'f284c8604d8710be60a725fa8c23c04f32e44b1f', size: 30 }), this.loadingTitle && (h("zonos-text", { key: '16d605c9272d9bdbb2d8b7f2d5685978cc2cf6eb', class: "zonos--loading-title", size: "l", weight: 700 }, this.loadingTitle)), this.loadingText && (h("zonos-text", { key: '0e9acec26d8502781ad8c853959740ece8fd2907', class: "zonos--loading-text" }, this.loadingText)))), (this.headerText || !this.noCloseButton) && (h("div", { key: '77d2dac98791ddea7e3bc3ab0e740c0b170072d8', class: "zonos--header" }, this.headerText && (h("h3", { key: 'f8b07366a4a9d5cd1686d7e3663ce0f6ba401ec7', class: "zonos--header-text" }, this.headerText)), !this.noCloseButton && (h("zonos-button", { key: '8c82dbf7d636715f3a391fe13ced4e3bc0ee079c', 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: 'd44cbf2cbb551043502e5e0c80048adeffaaf303', class: classes([
102
102
  'zonos--body',
103
103
  this.noBodyPadding && 'zonos--no-body-padding',
104
- ]) }, h("slot", { key: '1b8886abbfac00704f004c6ca14d96fdbe87e751' })), h("slot", { key: '85c94e23f5686e4f91af598bffb14e38a09855a4', name: "dialog-footer" })))));
104
+ ]) }, h("slot", { key: '508a3fcc6fbfdec55033a584e235ba9fd9e7448f' })), h("slot", { key: '1f24ec0974cd1def288b744d6aa68399367aefd8', name: "dialog-footer" })))));
105
105
  }
106
106
  static get is() { return "zonos-dialog"; }
107
107
  static get encapsulation() { return "shadow"; }
@@ -245,6 +245,44 @@ export class ZonosDialog {
245
245
  "reflect": false,
246
246
  "defaultValue": "false"
247
247
  },
248
+ "loadingTitle": {
249
+ "type": "string",
250
+ "mutable": false,
251
+ "complexType": {
252
+ "original": "string",
253
+ "resolved": "string | undefined",
254
+ "references": {}
255
+ },
256
+ "required": false,
257
+ "optional": true,
258
+ "docs": {
259
+ "tags": [],
260
+ "text": "The title of the loading text"
261
+ },
262
+ "getter": false,
263
+ "setter": false,
264
+ "attribute": "loading-title",
265
+ "reflect": false
266
+ },
267
+ "loadingText": {
268
+ "type": "string",
269
+ "mutable": false,
270
+ "complexType": {
271
+ "original": "string",
272
+ "resolved": "string | undefined",
273
+ "references": {}
274
+ },
275
+ "required": false,
276
+ "optional": true,
277
+ "docs": {
278
+ "tags": [],
279
+ "text": "The text that will be shown while loading"
280
+ },
281
+ "getter": false,
282
+ "setter": false,
283
+ "attribute": "loading-text",
284
+ "reflect": false
285
+ },
248
286
  "noBodyPadding": {
249
287
  "type": "boolean",
250
288
  "mutable": false,
@@ -10,10 +10,10 @@ export class HStack {
10
10
  this.spacing = 24;
11
11
  }
12
12
  render() {
13
- return (h(Host, { key: '8c80b04f02ebafcc0529bbc8a30fb71dae591a81', style: {
13
+ return (h(Host, { key: '443aa77bfbf4c0c84c33d0ef7652caec001968c3', style: {
14
14
  '--spacing': `${this.spacing}px`,
15
15
  '--zonos--font-family': zonosStoreFontFamily(),
16
- } }, h("slot", { key: '9840c220581a016349627a61efdf9a4dc3f68bc9' })));
16
+ } }, h("slot", { key: '3366df34b9f0f3549e556cff1e47878c2f6cd124' })));
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: 'c0e1dfd6cf7f7f3021d373f72a477317518a1f32', class: classes([
34
+ return (h(Host, { key: '2058e48c7754e4e1eb0d9e380e332c90eed29ab8', 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: '632868fc469c71f74696f2817e91b8293dc825a6', class: classes([
41
+ } }, h("div", { key: '192f4c0397125951a4bad39d844cd62237c56ce7', class: classes([
42
42
  'zonos--label-wrapper',
43
43
  this.isDisabled && 'disabled',
44
- ]) }, h("input", { key: 'af801641f363523c1e32ae96a5d5ddf410f1ef9c', class: classes([
44
+ ]) }, h("input", { key: 'bde7df1a30edf835435f742770e21b4d594143bf', 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: '419c140e987039cda4191f5b1bc8393c41b4a680', class: "zonos--floated-label", "data-label": this.inputLabel }))));
52
+ }, placeholder: this.inputPlaceholder, type: "text", value: this.value }), h("label", { key: 'd611183e95d828086adac38dc493512f46d22e23', 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: '04271d51489c89ffa0e4fda90ed28392ae725ebe', class: "zonos--elements", style: {
23
+ return (h(Host, { key: '748efbe1de696c0e1f52cef03d86f211c1e5f505', class: "zonos--elements", style: {
24
24
  '--zonos--font-family': zonosStoreFontFamily(),
25
- } }, h("div", { key: 'cebffa5e46a4403f6aa4753648ee8097c7b4375d', class: "zonos--language-select" }, h("zonos-select-dialog-header", { key: '9aa75712883c069a0dc21f0cdd91484211f688d1', handleOnClose: () => this.handleOnClose(), label: translate('Select a language') }), h("div", { key: '637cff9d4a5ff4ebac0e42ef4db6b49006e4f77e', 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: '97dd3f26dd5aff625b26a08125737f915bfbd112', class: "zonos--language-select" }, h("zonos-select-dialog-header", { key: '8c00e1cf6d7addf5b817e07c1fb1b492cfb5775f', handleOnClose: () => this.handleOnClose(), label: translate('Select a language') }), h("div", { key: '0260631e4303d5cee5035f31667203e4e3417a76', 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: '999242ee8fc2e78a52fac1251a2cd554ed2e20ea', class: "zonos--elements" }, h("a", { key: '9ebee9ad8262ebd42f511dda6afadb54a2e7c813', href: this.href, rel: this.rel, target: this.target, title: this.linkTitle }, h("slot", { key: '1c460154708dfc89d1b5132d3905c107ce333fd8' }))));
10
+ return (h(Host, { key: 'a6077a6f0105ec4be45de0cb548ef1e32a28deb6', class: "zonos--elements" }, h("a", { key: '7f3ec0258909c2da08f758165a93abd3ab497a42', href: this.href, rel: this.rel, target: this.target, title: this.linkTitle }, h("slot", { key: '774e15fa5c093041ac06a0a9bcac0446d7ce54fc' }))));
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: 'eee6eb4eb40c18ccdd24d57d98be8b90eadccf23', class: classes(['zonos--elements', this.open && 'zonos--open']) }, h("div", { key: '4bca110e058cb5cbf4c86351aa56d251792ab325', class: "zonos--loading-overlay" }, h("zonos-spinner", { key: '513b8d669ab13896442c0b1048609a3f3e0ed6f5', size: this.size, spinnerColor: this.spinnerColor }))));
16
+ return (h(Host, { key: '13154a3c9250f15d8dca292f0673c6465bfb15e0', class: classes(['zonos--elements', this.open && 'zonos--open']) }, h("div", { key: '4470fccd21e58bd7959ef3e20c8775ac637cace0', class: "zonos--loading-overlay" }, h("zonos-spinner", { key: '5b32b821cea982866da56176eeaafd5d8958f25d', 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: '2277b893624a5e87fcda0f86e96a50d0bc309bac', class: classes(['zonos--elements zonos--logo']), style: {
19
+ return (h(Host, { key: 'f7a7ecb8ea16dfec9df297e35a9618ad56d5e60a', 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: '3406330adec18a2faea63a91e0113d30d70deff5', alt: "Zonos Logo", src: getAssetPath('./assets/ZonosLogo.png') })));
23
+ } }, h("img", { key: '70ea211dfc9973b17dd4b63763913190e70ca980', 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: '333c158c20af14bcfc310b7fae19cadb9ffaea01', class: classes(['zonos--elements zonos--restState']), style: {
17
+ return (h(Host, { key: '2d9be86849c6ff2f039ca21676cbdf912538eb1d', class: classes(['zonos--elements zonos--restState']), style: {
18
18
  '--zonos--font-family': zonosStoreFontFamily(),
19
- } }, h("div", { key: '0076afaff9200094d45bd4321ea7b1d0a4954a81', class: "zonos--restState-image" }, h("img", { key: '4ef3b7ee4f62175e06da9a7d2453603ba6cf9fb8', alt: this.restStateType, onError: () => {
19
+ } }, h("div", { key: 'f538f05fe92eca4ee05daf72ee3387bea337c20c', class: "zonos--restState-image" }, h("img", { key: 'cc752b1ed3e9e656810c901df9f8b19462efc978', alt: this.restStateType, onError: () => {
20
20
  this.isErrorImageLoad = true;
21
- }, src: imageUrl })), h("div", { key: 'b5033ee1f4618732f14a9dd3c05d0271329083df', class: "content" }, h("zonos-text", { key: '2f21d52a7bb0b410590cb0768102155843e21038', class: "title", type: "boldSubheader" }, this.restStateTitle), h("zonos-text", { key: '48222ff00921961e770d20b817563d9a903a9e98', class: "subtitle" }, this.restStateSubtitle)), h("div", { key: 'ac6c100c85bd166945d8394cf61ab6baaa19cb3f', class: "action" }, h("slot", { key: 'cec63c8cbac43d402333c7ab6aba0ac3bd9bab36' }))));
21
+ }, src: imageUrl })), h("div", { key: '4729c415dbac98876fcd907437b8df21b925dec5', class: "content" }, h("zonos-text", { key: '39313c8c71d228cd1076e809146ad7ac3d877a9a', class: "title", type: "boldSubheader" }, this.restStateTitle), h("zonos-text", { key: '69813bd32ae3867ebebcc511655f2052b1175945', class: "subtitle" }, this.restStateSubtitle)), h("div", { key: '98b085930fd76e2ff095cc971ae4699041c1a550', class: "action" }, h("slot", { key: '188318643319081914ed30aad91de5f15b014953' }))));
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: 'f962d21f191040edf5b6e9fe2c4276bca67fde67', class: "zonos--elements", style: {
18
+ return (h(Host, { key: 'a1b9179c608e89ae29416a7c1cb93a5e15c9b029', class: "zonos--elements", style: {
19
19
  '--zonos--font-family': zonosStoreFontFamily(),
20
- } }, h("zonos-v-stack", { key: '1d55415843a60fe2dfccc5fe4c51cf3024f0de2c', class: "zonos--select-dialog-header-wrapper", spacing: 8 }, h("div", { key: '0f9e6aad9194160e171b70e835e100ddcda264a5', class: "zonos--select-dialog-header" }, h("zonos-text", { key: '15680cb57b7f8fe3b0f8bb763f437c85ab100d1c', type: "boldLabel" }, this.label), h("zonos-button", { key: '8baa1075d7138c14306dc7a1c666f577bba2d128', 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: '96384e5eb53e731e2061339fd24bcec4194b1274' }))));
20
+ } }, h("zonos-v-stack", { key: '736354e40352c79c5b1d27207c424fc6ee82f7f4', class: "zonos--select-dialog-header-wrapper", spacing: 8 }, h("div", { key: '700c0321bb2ea565ff861b833f51f3418ad61e4f', class: "zonos--select-dialog-header" }, h("zonos-text", { key: 'a45fb7507453949a1f3c687ae73635bb8b3f9282', type: "boldLabel" }, this.label), h("zonos-button", { key: 'a6b210caedc6248d8ab112bb10d888455d6fc6da', 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: '3bfbcd7c5bab9f11e4ed936dcd3b99da553709a0' }))));
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: 'dc65462865ede6e9cb5a02f5c4f6bf43c550d0c7', class: classes(['zonos--elements zonos--skeleton']), style: styles({
18
+ return (h(Host, { key: '096e505180d901c1523567f89cdbcca7869a0895', 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: '8beb2c15857313a9b2709a7c51e82c25c1d1ba47', class: classes([
72
+ return (h(Host, { key: 'c97d6030d8c9c3ca051a9eb0dce85676245abeeb', 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: '01ca3ae37198c97c33c7af3c9aca688c697d24ad', class: classes([
81
+ } }, h("div", { key: '2517b55aa12ed4dd4772be3dbd48edf28e393697', class: classes([
82
82
  'zonos--label-wrapper',
83
83
  this.isDisabled && 'disabled',
84
- ]) }, h("input", Object.assign({ key: '2f5ec49912242a06372045abb157524d8e28b2bf' }, this.inheritedAttributes, { autoComplete: this.autoComplete, class: classes([
84
+ ]) }, h("input", Object.assign({ key: '7853f3eafc7a926f88b21abfa8f59995b5c35cf3' }, 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: '2af905542b374f49eec85a9e626ee44f5818664f', class: "zonos--floated-label" }, h("label", { key: 'c8822e3610c25ec2135a28b9ce655cada68691dc', htmlFor: this.inputId }, this.inputLabel))), this.error && (h("zonos-text", { key: '4915281aa2ec9e3cb58fd159e647f1ee16fb16c6', textColor: "red-600", type: "caption" }, this.error))));
94
+ }, placeholder: this.inputPlaceholder || '', required: this.required, type: "text", value: this.internalValue })), h("div", { key: '56c6339f420fd38d0c850a6ad10f2349bfe99d21', class: "zonos--floated-label" }, h("label", { key: '7cdd19ca39f09d105786a751fbd3434779c8958b', htmlFor: this.inputId }, this.inputLabel))), this.error && (h("zonos-text", { key: '784a4aca2d02d59c7a59e8579c88cdaba24f64af', 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"; }
@@ -201,24 +201,24 @@ export class ZonosStripePhoneInput {
201
201
  .filter(Boolean)
202
202
  .sort((a, b) => a.displayName.localeCompare(b.displayName))
203
203
  : [];
204
- return (h(Host, { key: '93c761af05a92758af8d5b76c3c9630a8c45c46a', class: classes([
204
+ return (h(Host, { key: '3f073620fb9250208be54ffd6d0dfbc8c5da7d6f', class: classes([
205
205
  'zonos--phone-input zonos--elements',
206
206
  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: '0c814da4f10b83027d2a91429c44aae0b2ae851f', class: classes([
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: 'bdaf73f9a51fa2a39dd9684584ec4f032ea39d00', class: classes([
208
208
  'zonos--label-wrapper',
209
209
  this.disabled && 'disabled',
210
210
  this.isFocused && 'focused',
211
211
  hasContent && 'has-content',
212
212
  this.error && 'has-error',
213
213
  this.inputLabel && 'has-label',
214
- ]) }, h("select", { key: 'f18e02540fc979f090ec9e8445a9c24a726bd3c5', class: "zonos--select", disabled: this.disabled, onBlur: this.handleBlur, onChange: this.handleCountryChange, onFocus: this.handleFocus }, countryOptionsList.map(option => {
214
+ ]) }, h("select", { key: 'ad4477bfc5e1971a5e7a34a5e06b699c6115b3d3', class: "zonos--select", disabled: this.disabled, onBlur: this.handleBlur, onChange: this.handleCountryChange, onFocus: this.handleFocus }, countryOptionsList.map(option => {
215
215
  var _a;
216
216
  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: 'c0bc6f60fede12a27057b64c699701dc311a3c2b', class: "zonos--input-group" }, h("div", { key: '3329b43c5ff8b267d01dfc6611736f8fda70d30e', class: "zonos--select-wrapper" }, h("div", { key: 'f43b2ba959ef2f7e616b3930df5eba5bf73ab0c6', class: "zonos--country-select" }, h("div", { key: '357bcd7ec8d96df1e115820f26444422ef683a86', class: "zonos--country-select-content" }, this.selectedCountry && (h("div", { key: '050444251b375b60ab7de9cf8220b6270a1e7681', class: "zonos--country-select-selected" }, h("div", { key: '37653be1e802cf065827bde91b46a4a650ab153e', class: "zonos--country-flag-wrapper" }, h("zonos-country-flag", { key: '2d1cde80d3b5a8248a2b824e5cacb438026d3d6f', class: "zonos--country-flag", countryCode: this.selectedCountry.countryCode })), h("div", { key: 'c75d6600d1ba864b7e8e8b3ae60faaa459d7578f', class: "zonos--country-code" }, "+", this.selectedCountry.phoneCode))), h("div", { key: 'da61185205072f591ab0f21e1f09e6ba87f3b49d', class: "zonos--select-chevron-wrapper" }, h("zonos-icon", { key: '6f9fd827cba11e442ec96d9706efb939aa3164e3', "aria-label": "Expand collapsed section", class: "zonos--select-chevron", content: ChevronDownIcon, iconColor: "gray-800" }))))), h("div", { key: '795d59db0eb10fa4ab31b9939a9f0522004c71b1', class: classes([
217
+ })), h("div", { key: '39d6ae20a62bfa7d21a3d4a1143a4b42a87bbc41', class: "zonos--input-group" }, h("div", { key: 'dba0974115ce5e4f3f22689f406c3defe2989b29', class: "zonos--select-wrapper" }, h("div", { key: '3231072a3dba2d61a5567ad8ceacd871b3b7657c', class: "zonos--country-select" }, h("div", { key: '3fd9224b1ef63a6e2e1c11c19a1dddbaa1337ad1', class: "zonos--country-select-content" }, this.selectedCountry && (h("div", { key: 'ba2d811521d84bbe3c0a2749307cce90e9347457', class: "zonos--country-select-selected" }, h("div", { key: '4b21bf8d586b51f3d0ef9ba881e5a73d4742d440', class: "zonos--country-flag-wrapper" }, h("zonos-country-flag", { key: 'ed2fca152a8f1064051758bf624bb02d0af61379', class: "zonos--country-flag", countryCode: this.selectedCountry.countryCode })), h("div", { key: 'ee43fea008cfde320a15a151a07f1295dd0d77dd', class: "zonos--country-code" }, "+", this.selectedCountry.phoneCode))), h("div", { key: '28961fccf5ad433b3a81fab91773d8d8d4e17b30', class: "zonos--select-chevron-wrapper" }, h("zonos-icon", { key: '8233c34fdbf221f2289506b57b3fd429ec048df3', "aria-label": "Expand collapsed section", class: "zonos--select-chevron", content: ChevronDownIcon, iconColor: "gray-800" }))))), h("div", { key: '0d947d929218bac9929f411c5989a18ab36054fe', class: classes([
218
218
  'zonos--input-container',
219
219
  this.inputLabel && 'has-label',
220
220
  hasContent && 'has-content',
221
- ]) }, h("input", Object.assign({ key: '64aa071d2e28691bf12493703b32657c45d9d9ae' }, 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: 'd543673e6cbc526ffcebf6eca0cf8ab2edda644b', class: "zonos--floated-label" }, h("label", { key: '432a710de6b9af0c97bc6c50f57079e12806f62d', htmlFor: this.inputId }, this.inputLabel || translate('Phone number'))))))), this.error && (h("zonos-text", { key: '719f193ea85683b50d1fa7a7855bae22241b0693', textColor: "red-600" }, this.error))));
221
+ ]) }, h("input", Object.assign({ key: '16956304c84642b82039e0180aea6ce96269799a' }, 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: '57f3d9ad16aee89271c134d409abb6383b225f55', class: "zonos--floated-label" }, h("label", { key: 'd2af8c75f82df1b3176f708bea86a18b7ee4840d', htmlFor: this.inputId }, this.inputLabel || translate('Phone number'))))))), this.error && (h("zonos-text", { key: '3bb993c5e780f4394d141d7c62bd1f8ea4d1fc70', textColor: "red-600" }, this.error))));
222
222
  }
223
223
  static get is() { return "zonos-stripe-phone-input"; }
224
224
  static get encapsulation() { return "scoped"; }
@@ -105,14 +105,14 @@ export class ZonosStripeSelect {
105
105
  const fontSize = zonosStore.appearance.fontSizeInputValue || 16;
106
106
  const hasContent = this.internalValue || this.selectPlaceholder;
107
107
  const showClearButton = this.isClearable && this.internalValue && !this.isDisabled;
108
- return (h(Host, { key: 'c43f75cfc3d57e8d31f7ec06fb66eff71a5c87b9', class: classes([
108
+ return (h(Host, { key: '61d5f0b2c7fafd2df4ea6beacc8500bad9b64da7', class: classes([
109
109
  'zonos--select zonos--elements',
110
110
  isDark && 'dark',
111
111
  this.isError && 'has-error',
112
- ]), "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: '818e99e207482930dcccc26e55fcda5a283e366f', class: classes([
112
+ ]), "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: '63198cbb818342d8deecbe1e0c5d9978a51df064', class: classes([
113
113
  'zonos--label-wrapper',
114
114
  this.isDisabled && 'disabled',
115
- ]) }, h("select", Object.assign({ key: 'c67ba73746f8cfd05801033a6620b25c82b86069' }, this.inheritedAttributes, { autoComplete: this.autoComplete, class: classes([
115
+ ]) }, h("select", Object.assign({ key: '8bbe869f708d9f87f9dc6d66a8f573a795399e23' }, this.inheritedAttributes, { autoComplete: this.autoComplete, class: classes([
116
116
  'zonos--floated-select',
117
117
  !!this.selectLabel && 'has-label',
118
118
  hasContent && 'has-content',
@@ -122,9 +122,9 @@ export class ZonosStripeSelect {
122
122
  this.selectChange.emit(select.value);
123
123
  this.selectedValue = select.value;
124
124
  this.el.dispatchEvent(new Event('change'));
125
- }, required: this.required }), h("option", { key: 'f7969953300914c34ad3d76c69586e30e12c3117', disabled: true, selected: !this.internalValue, value: "" }, this.selectPlaceholder || translate('Select')), this.internalOptions.map(option => (h("option", { key: option.value, selected: this.internalValue === option.value ||
125
+ }, required: this.required }), h("option", { key: '6ae19c6b12976cd32e6efc9771a000b29945ee71', disabled: true, selected: !this.internalValue, value: "" }, this.selectPlaceholder || translate('Select')), this.internalOptions.map(option => (h("option", { key: option.value, selected: this.internalValue === option.value ||
126
126
  // Sometimes google returns the label not the code for some countries
127
- this.internalValue === option.label, value: option.value }, option.label)))), h("div", { key: 'c093e68c826469ec22e69f154d5edfb342047d94', class: "zonos--floated-label" }, h("label", { key: 'b04836cba30a354efaf1a367cd7f5c629bc5ddc2', htmlFor: this.selectId }, this.selectLabel)), h("div", { key: '0a1bf1ce6b64f3a0c37495d8ad716078bceb757b', class: "zonos--actions-wrapper" }, showClearButton && (h("button", { key: '3e690372f4df9d21754a2903819b17186d26654f', "aria-label": "Clear selection", class: "zonos--clear-button", onClick: this.handleClear, tabIndex: 0, type: "button" }, h("zonos-icon", { key: '9f761f5e9b416356ec7c4681d144adcf01fb8149', class: "zonos--clear-icon", content: RemoveLineIcon, iconColor: "gray-1200" }))), h("zonos-icon", { key: 'f5594d827dcb7f9812df7479bb8d199e2fcc4a1a', "aria-label": "Expand collapsed section", class: "zonos--select-chevron", content: ChevronDownIcon, iconColor: "gray-800" }))), this.error && (h("zonos-text", { key: '79dce6ac5a8183ad68eaf1a6e60b15864df65d25', textColor: "red-600" }, this.error))));
127
+ this.internalValue === option.label, value: option.value }, option.label)))), h("div", { key: 'a21b56d32839669a95c3d36f215f85bb94f6bb1a', class: "zonos--floated-label" }, h("label", { key: 'fb710c149659ece3d433f57d8d27562395bb2a52', htmlFor: this.selectId }, this.selectLabel)), h("div", { key: '0f57b78a3fdafc0ff7bd1a5a2ead9e37be7ee915', class: "zonos--actions-wrapper" }, showClearButton && (h("button", { key: 'ffc562b96195b1990a26d4091971ddb2293b6ac7', "aria-label": "Clear selection", class: "zonos--clear-button", onClick: this.handleClear, tabIndex: 0, type: "button" }, h("zonos-icon", { key: 'c3eb42b95f57df3187772d1502e07a7052a72913', class: "zonos--clear-icon", content: RemoveLineIcon, iconColor: "gray-1200" }))), h("zonos-icon", { key: '7a6581602aa531d5d9bdea82c3f50952d901bad4', "aria-label": "Expand collapsed section", class: "zonos--select-chevron", content: ChevronDownIcon, iconColor: "gray-800" }))), this.error && (h("zonos-text", { key: 'b1a3819c075d5e8f70020274145675c8d19b143a', textColor: "red-600" }, this.error))));
128
128
  }
129
129
  static get is() { return "zonos-stripe-select"; }
130
130
  static get encapsulation() { return "shadow"; }
@@ -9,9 +9,9 @@ export class ZonosToggle {
9
9
  this.options = [];
10
10
  }
11
11
  render() {
12
- return (h(Host, { key: '12d0931ba2738021291cd7a00e7c12df502409cd', class: classes(['zonos--elements zonos--toggle']), style: {
12
+ return (h(Host, { key: 'e6be1b38ea1fd978a231a1c3dc85a92c1d86a24b', class: classes(['zonos--elements zonos--toggle']), style: {
13
13
  '--zonos--font-family': zonosStoreFontFamily(),
14
- } }, h("div", { key: '6455e748d3547273d3c8cb7517ee512912d31644', class: "wrapper" }, this.options.map(option => {
14
+ } }, h("div", { key: 'e9ccac29c3f653e3e9d81d336089d6aaea6bbf6c', 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: '17ef3ac476981f5b63e5c4f70ef0491220f4b489', class: "zonos--elements" }, h("div", { key: 'd5b1eba844f5bd69077d6f5ba5b01acd7420e8a3', class: "zonos--tooltip", onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, h("slot", { key: '332d8fc00f4b949e93b4152e9f77c1c6eb273539' }), h("div", { key: '1248c9a6f49765b1f780daa8548dcc6a76e896d5', class: classes([
16
+ return (h(Host, { key: '4cadca2c888b6729447e216785957ab580d29831', class: "zonos--elements" }, h("div", { key: '0d5045faa3a01d8fc5fb5c56328bfa68eb4ffab2', class: "zonos--tooltip", onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, h("slot", { key: 'a2610a5b6405067eb50d6ad11385544fd740399a' }), h("div", { key: 'd319ec9d87d7b4b395d0256b3ecfdb3043927d00', class: classes([
17
17
  this.showTooltip && 'zonos--show-tooltip',
18
18
  'zonos--tooltip-content',
19
- ]) }, h("zonos-text", { key: '8f34324ee7d70e06813be72d58b198d50808e9b2', size: "s", textColor: "gray-0", type: "boldLabel" }, this.label), h("zonos-text", { key: 'ae1a3642318b7d562b58559573592e9aacc50e86', size: "xs", textColor: "gray-0" }, this.subtitle)))));
19
+ ]) }, h("zonos-text", { key: '769dbf51121fd82d870824d22a15e0f8ba0c4c5f', size: "s", textColor: "gray-0", type: "boldLabel" }, this.label), h("zonos-text", { key: 'e80b2eab8f30e542ecbc87aac24a256fcd0c8cc0', 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: '2046d921010e03f983caf7abbe167e97910e932c', style: {
14
+ return (h(Host, { key: 'fc34e62d3d9712120d2356f1bdc8ad42b26d122a', style: {
15
15
  '--zonos--font-family': zonosStoreFontFamily(),
16
- } }, h("div", { key: 'a3d2a596527254b44be7841bf3d1c8a8c0f85af4', class: classes(['vstack']), style: { 'grid-row-gap': `${this.spacing}px` } }, h("slot", { key: '3b56e670f953ce24f7d4a96789ffdf51ede94b85' }))));
16
+ } }, h("div", { key: 'd246b49b618860f01c3f1b8c439c1be361ca656f', class: classes(['vstack']), style: { 'grid-row-gap': `${this.spacing}px` } }, h("slot", { key: '043fde36321157373196c9120a774c78a0fc46ce' }))));
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: 'ff339af0ad6c41cbae2f867d2898a909804a06e7', class: classes(['zonos--virtual-scroll']) }, h("div", { key: 'c9088d67f32f2350e06814aefac55a275d9351b6', class: classes(['scroller']), style: {
109
+ return (h(Host, { key: 'a5083227ddbd44f3f94f0e4ecd7ebee309526fce', class: classes(['zonos--virtual-scroll']) }, h("div", { key: '45dd1bb2f501ca6a2091c06a68c5f96652bd2976', class: classes(['scroller']), style: {
110
110
  height: `${this.totalHeight}px`,
111
111
  width: `${containerWidth}px`,
112
- } }), h("div", { key: '85f6afa13c4c8d9fbe1e688ce5a60d9c540c232f', class: classes(['item-container']), style: {
112
+ } }), h("div", { key: 'e8c90e99bdc3301c5430a098d4b9f57ec0bc020b', 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: 'a4ab64de2aa643b21c019857749b944a01d83ab8' }, "Hello, World! I'm ", this.getText());
22
+ return h("div", { key: 'c15c75e21319fb4723d1062aa89c6e08cc2129b3' }, "Hello, World! I'm ", this.getText());
23
23
  }
24
24
  static get is() { return "zonos-component"; }
25
25
  static get encapsulation() { return "shadow"; }
@@ -27,9 +27,9 @@ export class ZonosHelloDialogFooter {
27
27
  const language = (_b = languages.find(x => x.code === localizationStore.selectedLocale)) === null || _b === void 0 ? void 0 : _b.translatedLabel;
28
28
  // Only use gray-0 (white) when the background color is dark (apply inverted color if the element is using dark theme variable)
29
29
  const mainColor = primaryColor && isDarkColor(primaryColor) ? 'white' : 'black';
30
- return (h(Host, { key: 'be1344c05db8a46f066a046369e46823a58385b4', class: "zonos--elements" }, h("div", { key: '3d4a17439fef92f563b5417e6db9561a9797e684', class: "zonos--hello-dialog-footer", style: {
30
+ return (h(Host, { key: '7480572c4e05bfc177458ab00adb774069f28d52', class: "zonos--elements" }, h("div", { key: 'bd27466c0d82be3c5cde2f89dcc48749e2313090', class: "zonos--hello-dialog-footer", style: {
31
31
  '--zonos--primary-color': primaryColor,
32
- } }, h("a", { key: 'b6bc680ca615dbb05239a099e3aff67004296a01', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, h("zonos-icon", { key: 'e093c21439a68c811ea6fd110e76921f4948870d', "aria-label": "Zonos Logo", autoHeight: true, content: mainColor === 'black' ? ZonosIconLight : ZonosIconDark, iconColor: mainColor, size: 108 })), h("div", { key: '8fd953e369a24c0b8f2b0a063ba8e16cfd733a74', class: "zonos--hello-locale-wrapper" }, h("zonos-button", { key: 'c7bb2c5685e225990c67975a6fa191b4d6f4bd14', buttonColor: mainColor, icon: h("zonos-icon", { "aria-label": "Open language select", content: Globe, iconColor: mainColor }), onClick: () => this.setShowLanguageSelect(true), variant: "subtle" }, language), h("zonos-button", { key: 'aa89b4bbfd86de52413ff9d3cd74121d210d4f8e', 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" }, localizationStore.selectedCountryCode)))));
32
+ } }, h("a", { key: 'f6ca08c3c4f8eef3f4b81a77ba0d5a2e6cea8f62', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, h("zonos-icon", { key: 'a54d33d548145f0eb542041d3903ea4a257c39bb', "aria-label": "Zonos Logo", autoHeight: true, content: mainColor === 'black' ? ZonosIconLight : ZonosIconDark, iconColor: mainColor, size: 108 })), h("div", { key: '52e06b22daaac439d5ebdcdcf44bd8f85fed4564', class: "zonos--hello-locale-wrapper" }, h("zonos-button", { key: '30b994c3340467a62e72f62bde853b24e3f9e4f1', buttonColor: mainColor, icon: h("zonos-icon", { "aria-label": "Open language select", content: Globe, iconColor: mainColor }), onClick: () => this.setShowLanguageSelect(true), variant: "subtle" }, language), h("zonos-button", { key: '26e2b5d8525d57841e2b7c1fefc69c96b21ad199', 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" }, localizationStore.selectedCountryCode)))));
33
33
  }
34
34
  static get is() { return "zonos-hello-dialog-footer"; }
35
35
  static get encapsulation() { return "shadow"; }
@@ -319,18 +319,18 @@ export class ZonosHelloDialog {
319
319
  const defaultMessage = formatStringWithLinks(defaultMessageStr);
320
320
  const currentPage = this.getCurrentPageEnum();
321
321
  const filteredMessages = customMessages.filter(x => x.pageName === currentPage);
322
- return (h(Host, { key: '11ed48bbde2bad56be9789726660115cca4c3855', class: "zonos--elements" }, h("div", { key: 'ecd279d309005b8f222e119725f9c60167891021', class: classes([
322
+ return (h(Host, { key: '9012938ffc3ab002bac78479cbcf4063526cf562', class: "zonos--elements" }, h("div", { key: 'ec6c5429694e4d18abf240c5de950b0da33ca846', class: classes([
323
323
  'zonos--hello-dialog',
324
324
  animateLeft && 'zonos--hello-dialog-animate-from-left',
325
325
  animateFromBottom && 'zonos--hello-dialog-animate-from-bottom',
326
326
  !!this.mobileLocationOverride &&
327
327
  'zonos--hello-dialog-mobile-override',
328
328
  this.isOpen && 'zonos--hello-dialog-open',
329
- ]), inert: !this.isOpen, ref: el => el && (this.dialogRef = el) }, !this.showCountrySelect && !this.showLanguageSelect && (h("div", { key: '94d205fc69b6121b1267433c5781408665285be5' }, h("div", { key: '342cafb1e634043b1f6d5f663d4ff7af4c70f8d9', class: "zonos--hello-dialog-content" }, h("zonos-button", { key: 'cbdb975b86b1ff4268d9fb4d266d2efb389deed7', 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: 'f3247b193b881f12acce10d0dbc05b06d1267921', spacing: 24 }, h("zonos-country-flag", { key: '719c94e322c6b4ec30e3c2aeb1874816dd5052e9', class: "zonos--hello-country-flag", countryCode: selectedCountryCode }), h("zonos-v-stack", { key: '45bad14718218a4e89e13cf50cc6c4cf04fb30e1', class: "zonos--hello-dialog-header", spacing: 4 }, h("zonos-text", { key: 'e17e42f358d7dd3e85b872e25bfd8429c71cccf6', type: "boldSubheader" }, welcomeMessage), h("zonos-text", { key: 'f7dc626a99daa381a029398b0654591a6a7ef4e4', innerHTML: defaultMessage, textColor: "gray-800" })), h("zonos-v-stack", { key: 'd3c64e56e515290db8778badf7bbfc575093c3ad', spacing: 8 }, this.restrictedItems.map(item => {
329
+ ]), inert: !this.isOpen, ref: el => el && (this.dialogRef = el) }, !this.showCountrySelect && !this.showLanguageSelect && (h("div", { key: 'cb64ca4f4474e06f728eec751f3c7c7fae578d26' }, h("div", { key: 'c062c2482ef59df6ef60e7ccfb1716cc0cf2a19d', class: "zonos--hello-dialog-content" }, h("zonos-button", { key: 'c36de505068bd2c4b520a20ca7110a7bd46e749d', 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: '85d246bab229099324507799eb8f771795ea92e0', spacing: 24 }, h("zonos-country-flag", { key: '602b68614bdee4120900ed184941adc4ffa40619', class: "zonos--hello-country-flag", countryCode: selectedCountryCode }), h("zonos-v-stack", { key: '3994f7ec81cfe691f6b5f8ce83391922966a7700', class: "zonos--hello-dialog-header", spacing: 4 }, h("zonos-text", { key: '48c7e9bf22dd30eb089b7b25a99d908dbed5966f', type: "boldSubheader" }, welcomeMessage), h("zonos-text", { key: 'd590b3ed499b456134720ef73a965a5a552da80f', innerHTML: defaultMessage, textColor: "gray-800" })), h("zonos-v-stack", { key: '8bce397c8522031d46b8e6efc38986af5645c3ee', spacing: 8 }, this.restrictedItems.map(item => {
330
330
  var _a;
331
331
  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)))));
332
- }), h("zonos-card", { key: 'f1c9f532220a65b080581b1dcf70507e7ef3159c', spacing: "12px" }, h("zonos-v-stack", { key: '39b12d0cafeb884771c900d25b48338522ebeceb', spacing: 12 }, this.renderHelloMessage(), additionalInformation === null || additionalInformation === void 0 ? void 0 :
333
- 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: 'be2f1edf9a1f1220c0e6c138cafe65eae0fc7ec9', appearanceSettings: this.appearanceSettings, setShowCountrySelect: value => this.setShowCountrySelect(value), setShowLanguageSelect: value => this.setShowLanguageSelect(value) }))), this.showCountrySelect && (h("div", { key: '37ca201defd370a60a127dc9fc6058d2724d8473' }, h("zonos-country-select", { key: 'f3c004eb15c75566ab133d4742a70b4191925ede', handleOnClose: () => this.setShowCountrySelect(false) }))), this.showLanguageSelect && (h("div", { key: 'b9b0ac6125fc30f935e3675a8903044e69d5f5c7' }, h("zonos-language-select", { key: 'c4cb6f926840f69cb8e7dd8e10c6435940c4e8c5', handleOnClose: () => this.setShowLanguageSelect(false) }))))));
332
+ }), h("zonos-card", { key: '0772e7dc4499423f3a379a2cfc0b28dd23ec137e', spacing: "12px" }, h("zonos-v-stack", { key: 'ea421af6bc847eaece471f557d2d0ee1815d14bf', spacing: 12 }, this.renderHelloMessage(), additionalInformation === null || additionalInformation === void 0 ? void 0 :
333
+ 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: '6eed9e71407e1351053abd4a2e1b4aae75b12044', appearanceSettings: this.appearanceSettings, setShowCountrySelect: value => this.setShowCountrySelect(value), setShowLanguageSelect: value => this.setShowLanguageSelect(value) }))), this.showCountrySelect && (h("div", { key: 'cb9d77a61c481100fe21714bec8d062ffaa8f974' }, h("zonos-country-select", { key: 'd76ad3cdc005561e19d64502d4c2f02173929c22', handleOnClose: () => this.setShowCountrySelect(false) }))), this.showLanguageSelect && (h("div", { key: 'f9bbf877aba822b04676039d07ebb752d07fd362' }, h("zonos-language-select", { key: '3d96dd6902003adf96a2ce73f0405e112a04b380', handleOnClose: () => this.setShowLanguageSelect(false) }))))));
334
334
  }
335
335
  static get is() { return "zonos-hello-dialog"; }
336
336
  static get encapsulation() { return "shadow"; }
@@ -328,7 +328,7 @@ export class ZonosController {
328
328
  zonosStore.organizationName = organizationName;
329
329
  }
330
330
  render() {
331
- return h(Host, { key: '8ac43cd7dc03d654f554022653f3e852876b954b', class: "zonos--elements" });
331
+ return h(Host, { key: 'fe248e1e38cd3d98c56f55d39b704f7337c74c29', class: "zonos--elements" });
332
332
  }
333
333
  static get is() { return "zonos-controller"; }
334
334
  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: '503c2a2f4d6dd0d6c10468f4bbe915610cf7008e', class: "zonos--paypal-payment zonos--elements" }, h("div", { key: 'c1d2c15bf6f096c3666f9d4e8085c5fbe2c637a7', class: "zonos--payment-paypal-container" })));
55
+ return (h(Host, { key: '35387382aaa81e3f8e025e8f3503be41b86e2355', class: "zonos--paypal-payment zonos--elements" }, h("div", { key: '34fad15dee67d8b913071a59d35b1c2317d4d3a0', class: "zonos--payment-paypal-container" })));
56
56
  }
57
57
  static get is() { return "zonos-paypal-payment"; }
58
58
  static get encapsulation() { return "scoped"; }
@@ -674,6 +674,9 @@ export const stringsArabic = {
674
674
  "We couldn't complete your payment. Please verify the payment details and try again.": {
675
675
  value: 'تعذر علينا اكمال الدفع. يرجى التحقق من تفاصيل الدفع وإعادة المحاولة.',
676
676
  },
677
+ 'We detected that you are shipping to an international address.': {
678
+ value: 'لقد اكتشفنا أنك تقوم بالشحن إلى عنوان دولي.',
679
+ },
677
680
  "We've sent an email confirmation of the order details for your review. And our team is carefully preparing your order so it arrives on time.": {
678
681
  value: 'لقد أرسلنا إليك تأكيدًا بالبريد الإلكتروني لتفاصيل الطلبية لمراجعتك. ويقوم فريقنا بإعداد طلبيتك بعناية حتى تصل في الوقت المحدد.',
679
682
  },
@@ -698,6 +701,9 @@ export const stringsArabic = {
698
701
  "You will be redirected back to the merchant's site in a few seconds.": {
699
702
  value: 'سيتم إعادة توجيهك إلى موقع التاجر في غضون ثوانٍ قليلة.',
700
703
  },
704
+ 'You will be redirected to international checkout shortly.': {
705
+ value: 'سيتم إعادة توجيهك إلى الخروج الدولي قريبًا.',
706
+ },
701
707
  "You're all set!": {
702
708
  value: 'أنت جاهز!',
703
709
  },