@zonos/elements 1.3.260 → 1.3.262

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 (247) hide show
  1. package/dist/cjs/index.cjs.js +12 -9
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/{paypal-73a542cb.js → paypal-e278f405.js} +140 -6
  4. package/dist/cjs/submitGtag-4241212b.js +167 -0
  5. package/dist/cjs/zonos-address-display_8.cjs.entry.js +17 -17
  6. package/dist/cjs/zonos-address_4.cjs.entry.js +6 -6
  7. package/dist/cjs/zonos-badge.cjs.entry.js +3 -3
  8. package/dist/cjs/zonos-button_3.cjs.entry.js +3 -3
  9. package/dist/cjs/zonos-card_5.cjs.entry.js +8 -8
  10. package/dist/cjs/zonos-cart-items_12.cjs.entry.js +106 -31
  11. package/dist/cjs/zonos-checkbox_2.cjs.entry.js +5 -5
  12. package/dist/cjs/zonos-checkout.cjs.entry.js +20 -10
  13. package/dist/cjs/zonos-collapse.cjs.entry.js +2 -2
  14. package/dist/cjs/zonos-collect-cart-items_3.cjs.entry.js +4 -4
  15. package/dist/cjs/zonos-collect-finish_6.cjs.entry.js +19 -19
  16. package/dist/cjs/zonos-collect.cjs.entry.js +2 -2
  17. package/dist/cjs/zonos-component.cjs.entry.js +1 -1
  18. package/dist/cjs/zonos-controller.cjs.entry.js +3 -3
  19. package/dist/cjs/zonos-country-select_4.cjs.entry.js +9 -9
  20. package/dist/cjs/zonos-elements.cjs.js +1 -1
  21. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +4 -4
  22. package/dist/cjs/zonos-input.cjs.entry.js +4 -4
  23. package/dist/cjs/zonos-invoice-cart-items_2.cjs.entry.js +4 -4
  24. package/dist/cjs/zonos-invoice-finish_5.cjs.entry.js +14 -14
  25. package/dist/cjs/zonos-invoice.cjs.entry.js +2 -2
  26. package/dist/cjs/zonos-language-select_2.cjs.entry.js +4 -4
  27. package/dist/cjs/zonos-link.cjs.entry.js +1 -1
  28. package/dist/cjs/zonos-logo.cjs.entry.js +2 -2
  29. package/dist/cjs/zonos-stripe-input.cjs.entry.js +4 -4
  30. package/dist/cjs/zonos-tooltip.cjs.entry.js +2 -2
  31. package/dist/cjs/zonos-v-stack.cjs.entry.js +2 -2
  32. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +82 -15
  33. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.js +2 -2
  34. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.css +7 -0
  35. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.js +7 -3
  36. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +19 -9
  37. package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.css +7 -0
  38. package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.js +5 -1
  39. package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.css +7 -0
  40. package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.js +6 -3
  41. package/dist/collection/components/checkout/zonos-collect/zonos-collect-cart-items/zonos-collect-cart-items.js +1 -1
  42. package/dist/collection/components/checkout/zonos-collect/zonos-collect-finish/zonos-collect-finish.js +6 -6
  43. package/dist/collection/components/checkout/zonos-collect/zonos-collect-footer/zonos-collect-footer.js +3 -3
  44. package/dist/collection/components/checkout/zonos-collect/zonos-collect-payment/zonos-collect-payment.js +2 -2
  45. package/dist/collection/components/checkout/zonos-collect/zonos-collect-review/zonos-collect-review.js +3 -3
  46. package/dist/collection/components/checkout/zonos-collect/zonos-collect-subtotal/zonos-collect-subtotal.js +5 -5
  47. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-cart-items/zonos-invoice-cart-items.js +2 -2
  48. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-finish/zonos-invoice-finish.js +6 -6
  49. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-footer/zonos-invoice-footer.js +3 -3
  50. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-payment/zonos-invoice-payment.js +2 -2
  51. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-review/zonos-invoice-review.js +3 -3
  52. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-subtotal/zonos-invoice-subtotal.js +2 -2
  53. package/dist/collection/components/common/zonos-badge/zonos-badge.js +3 -3
  54. package/dist/collection/components/common/zonos-button/zonos-button.js +3 -3
  55. package/dist/collection/components/common/zonos-card/zonos-card.js +4 -4
  56. package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.js +3 -3
  57. package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js +3 -3
  58. package/dist/collection/components/common/zonos-collapse/zonos-collapse.js +2 -2
  59. package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.js +3 -3
  60. package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +3 -3
  61. package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +2 -2
  62. package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +3 -3
  63. package/dist/collection/components/common/zonos-h-stack/zonos-h-stack.js +2 -2
  64. package/dist/collection/components/common/zonos-input/zonos-input.js +4 -4
  65. package/dist/collection/components/common/zonos-language-select/zonos-language-select.js +2 -2
  66. package/dist/collection/components/common/zonos-link/zonos-link.js +1 -1
  67. package/dist/collection/components/common/zonos-loading-overlay/zonos-loading-overlay.js +1 -1
  68. package/dist/collection/components/common/zonos-logo/zonos-logo.js +2 -2
  69. package/dist/collection/components/common/zonos-rest-state/zonos-rest-state.js +3 -3
  70. package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +2 -2
  71. package/dist/collection/components/common/zonos-skeleton/zonos-skeleton.js +1 -1
  72. package/dist/collection/components/common/zonos-stripe-input/zonos-stripe-input.js +4 -4
  73. package/dist/collection/components/common/zonos-stripe-phone-input/zonos-stripe-phone-input.js +5 -5
  74. package/dist/collection/components/common/zonos-stripe-select/zonos-stripe-select.js +5 -5
  75. package/dist/collection/components/common/zonos-toggle/zonos-toggle.js +2 -2
  76. package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.js +2 -2
  77. package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +2 -2
  78. package/dist/collection/components/common/zonos-virtual-scroll/zonos-virtual-scroll.js +2 -2
  79. package/dist/collection/components/component-template/zonos-component/zonos-component.js +1 -1
  80. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +2 -2
  81. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +4 -4
  82. package/dist/collection/components/main/zonos-controller.js +2 -2
  83. package/dist/collection/components/paypal/zonos-paypal-payment.js +1 -1
  84. package/dist/collection/components/store/checkout/paypal.js +4 -4
  85. package/dist/collection/components/stripe/zonos-address/zonos-address.js +2 -2
  86. package/dist/collection/components/stripe/zonos-custom-address/zonos-address-suggestions/zonos-address-suggestions.js +2 -2
  87. package/dist/collection/components/stripe/zonos-custom-address/zonos-custom-address.js +2 -2
  88. package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
  89. package/dist/collection/components/utils/analytics/analyticsRelayState.js +112 -0
  90. package/dist/collection/components/utils/analytics/mapToFbEvent.js +66 -0
  91. package/dist/collection/components/utils/submitAnalytics.js +16 -0
  92. package/dist/collection/components/utils/submitFbq.js +56 -0
  93. package/dist/collection/components/utils/submitGtag.js +15 -78
  94. package/dist/collection/scripts/_zonosBase.js +5 -2
  95. package/dist/collection/types/analyticsRelay.js +2 -2
  96. package/dist/esm/index.js +12 -9
  97. package/dist/esm/loader.js +1 -1
  98. package/dist/esm/{paypal-38ca5d21.js → paypal-d8804da5.js} +142 -9
  99. package/dist/esm/submitGtag-7f5c5bb5.js +162 -0
  100. package/dist/esm/zonos-address-display_8.entry.js +17 -17
  101. package/dist/esm/zonos-address_4.entry.js +6 -6
  102. package/dist/esm/zonos-badge.entry.js +3 -3
  103. package/dist/esm/zonos-button_3.entry.js +3 -3
  104. package/dist/esm/zonos-card_5.entry.js +8 -8
  105. package/dist/esm/zonos-cart-items_12.entry.js +106 -31
  106. package/dist/esm/zonos-checkbox_2.entry.js +5 -5
  107. package/dist/esm/zonos-checkout.entry.js +20 -10
  108. package/dist/esm/zonos-collapse.entry.js +2 -2
  109. package/dist/esm/zonos-collect-cart-items_3.entry.js +4 -4
  110. package/dist/esm/zonos-collect-finish_6.entry.js +19 -19
  111. package/dist/esm/zonos-collect.entry.js +2 -2
  112. package/dist/esm/zonos-component.entry.js +1 -1
  113. package/dist/esm/zonos-controller.entry.js +3 -3
  114. package/dist/esm/zonos-country-select_4.entry.js +9 -9
  115. package/dist/esm/zonos-elements.js +1 -1
  116. package/dist/esm/zonos-hello-dialog.entry.js +4 -4
  117. package/dist/esm/zonos-input.entry.js +4 -4
  118. package/dist/esm/zonos-invoice-cart-items_2.entry.js +4 -4
  119. package/dist/esm/zonos-invoice-finish_5.entry.js +14 -14
  120. package/dist/esm/zonos-invoice.entry.js +2 -2
  121. package/dist/esm/zonos-language-select_2.entry.js +4 -4
  122. package/dist/esm/zonos-link.entry.js +1 -1
  123. package/dist/esm/zonos-logo.entry.js +2 -2
  124. package/dist/esm/zonos-stripe-input.entry.js +4 -4
  125. package/dist/esm/zonos-tooltip.entry.js +2 -2
  126. package/dist/esm/zonos-v-stack.entry.js +2 -2
  127. package/dist/esm-es5/index.js +1 -1
  128. package/dist/esm-es5/loader.js +1 -1
  129. package/dist/esm-es5/paypal-d8804da5.js +17 -0
  130. package/dist/esm-es5/submitGtag-7f5c5bb5.js +1 -0
  131. package/dist/esm-es5/zonos-address-display_8.entry.js +1 -1
  132. package/dist/esm-es5/zonos-address_4.entry.js +1 -1
  133. package/dist/esm-es5/zonos-badge.entry.js +1 -1
  134. package/dist/esm-es5/zonos-button_3.entry.js +1 -1
  135. package/dist/esm-es5/zonos-card_5.entry.js +1 -1
  136. package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
  137. package/dist/esm-es5/zonos-checkbox_2.entry.js +1 -1
  138. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  139. package/dist/esm-es5/zonos-collapse.entry.js +1 -1
  140. package/dist/esm-es5/zonos-collect-cart-items_3.entry.js +1 -1
  141. package/dist/esm-es5/zonos-collect-finish_6.entry.js +1 -1
  142. package/dist/esm-es5/zonos-collect.entry.js +1 -1
  143. package/dist/esm-es5/zonos-component.entry.js +1 -1
  144. package/dist/esm-es5/zonos-controller.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-input.entry.js +1 -1
  149. package/dist/esm-es5/zonos-invoice-cart-items_2.entry.js +1 -1
  150. package/dist/esm-es5/zonos-invoice-finish_5.entry.js +1 -1
  151. package/dist/esm-es5/zonos-invoice.entry.js +1 -1
  152. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  153. package/dist/esm-es5/zonos-link.entry.js +1 -1
  154. package/dist/esm-es5/zonos-logo.entry.js +1 -1
  155. package/dist/esm-es5/zonos-stripe-input.entry.js +1 -1
  156. package/dist/esm-es5/zonos-tooltip.entry.js +1 -1
  157. package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
  158. package/dist/scripts/analyticsRelayOnInit.js +1 -1
  159. package/dist/scripts/index.d.ts +18 -0
  160. package/dist/scripts/index.js +1 -1
  161. package/dist/scripts/loadZonos.js +1 -1
  162. package/dist/scripts/zonos.js +1 -1
  163. package/dist/types/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.d.ts +15 -0
  164. package/dist/types/components/utils/analytics/analyticsRelayState.d.ts +43 -0
  165. package/dist/types/components/utils/analytics/mapToFbEvent.d.ts +11 -0
  166. package/dist/types/components/utils/submitAnalytics.d.ts +12 -0
  167. package/dist/types/components/utils/submitFbq.d.ts +14 -0
  168. package/dist/types/components/utils/submitGtag.d.ts +4 -9
  169. package/dist/types/scripts/_zonosBase.d.ts +11 -0
  170. package/dist/types/types/analyticsRelay.d.ts +19 -3
  171. package/dist/types/types/checkout/CheckoutConfig.d.ts +7 -0
  172. package/dist/zonos-elements/index.esm.js +1 -1
  173. package/dist/zonos-elements/{p-bb6e7e9e.entry.js → p-00bd7e5d.entry.js} +1 -1
  174. package/dist/zonos-elements/p-022ddd4a.system.entry.js +1 -0
  175. package/dist/zonos-elements/{p-da5a35a6.entry.js → p-06ef4d79.entry.js} +1 -1
  176. package/dist/zonos-elements/{p-874ccf1c.system.entry.js → p-072c5e07.system.entry.js} +1 -1
  177. package/dist/zonos-elements/{p-f7ddd288.system.entry.js → p-14f156c6.system.entry.js} +1 -1
  178. package/dist/zonos-elements/{p-66d72216.entry.js → p-155b4425.entry.js} +1 -1
  179. package/dist/zonos-elements/{p-9161f10d.system.entry.js → p-17476a30.system.entry.js} +1 -1
  180. package/dist/zonos-elements/{p-9dc671f4.entry.js → p-1916c2b0.entry.js} +1 -1
  181. package/dist/zonos-elements/p-29b60bf3.system.js +1 -1
  182. package/dist/zonos-elements/{p-c09540bc.entry.js → p-34fc45e5.entry.js} +1 -1
  183. package/dist/zonos-elements/{p-e684e68f.entry.js → p-3deb91cb.entry.js} +1 -1
  184. package/dist/zonos-elements/{p-1368dce7.system.entry.js → p-4a227683.system.entry.js} +1 -1
  185. package/dist/zonos-elements/{p-bcbbe867.entry.js → p-4cee62fb.entry.js} +1 -1
  186. package/dist/zonos-elements/{p-c1ab70d2.entry.js → p-4d776228.entry.js} +1 -1
  187. package/dist/zonos-elements/{p-bdaf94a4.system.entry.js → p-50a15e3d.system.entry.js} +1 -1
  188. package/dist/zonos-elements/{p-d30e8c3a.entry.js → p-55742c52.entry.js} +1 -1
  189. package/dist/zonos-elements/{p-20842d8c.system.entry.js → p-56c11359.system.entry.js} +1 -1
  190. package/dist/zonos-elements/{p-d12fa775.entry.js → p-5a79e1f4.entry.js} +1 -1
  191. package/dist/zonos-elements/{p-df240101.system.entry.js → p-5db00bfa.system.entry.js} +1 -1
  192. package/dist/zonos-elements/p-5dd78b4b.js +1 -0
  193. package/dist/zonos-elements/{p-d2ef0416.system.entry.js → p-66934a78.system.entry.js} +1 -1
  194. package/dist/zonos-elements/p-7237f43b.system.entry.js +1 -0
  195. package/dist/zonos-elements/p-72a181b5.entry.js +1 -0
  196. package/dist/zonos-elements/p-75a27c68.entry.js +1 -0
  197. package/dist/zonos-elements/{p-6f19845a.system.entry.js → p-7dbac3ae.system.entry.js} +1 -1
  198. package/dist/zonos-elements/{p-2ac0fcb8.system.entry.js → p-7df3e44b.system.entry.js} +1 -1
  199. package/dist/zonos-elements/{p-5be87ae0.entry.js → p-80e7cab5.entry.js} +1 -1
  200. package/dist/zonos-elements/p-838e335c.entry.js +1 -0
  201. package/dist/zonos-elements/{p-dfb4360d.system.entry.js → p-9262a57c.system.entry.js} +1 -1
  202. package/dist/zonos-elements/p-947f5092.js +17 -0
  203. package/dist/zonos-elements/{p-3e7dbe9c.system.entry.js → p-9de27162.system.entry.js} +1 -1
  204. package/dist/zonos-elements/{p-bb785f33.entry.js → p-9e761130.entry.js} +1 -1
  205. package/dist/zonos-elements/{p-c908a7a3.entry.js → p-a1142a95.entry.js} +1 -1
  206. package/dist/zonos-elements/{p-d4f9e464.system.entry.js → p-a2b3c1ef.system.entry.js} +1 -1
  207. package/dist/zonos-elements/{p-8d52ac69.system.entry.js → p-a661dd45.system.entry.js} +1 -1
  208. package/dist/zonos-elements/p-a98b8b68.system.js +18 -0
  209. package/dist/zonos-elements/{p-365d4481.system.entry.js → p-aa74b61a.system.entry.js} +1 -1
  210. package/dist/zonos-elements/{p-2fa41e93.entry.js → p-ade15fd2.entry.js} +1 -1
  211. package/dist/zonos-elements/{p-87d89870.system.entry.js → p-b1c76c38.system.entry.js} +1 -1
  212. package/dist/zonos-elements/{p-770d414a.system.entry.js → p-b2cd18b4.system.entry.js} +1 -1
  213. package/dist/zonos-elements/{p-0fc5a2cc.system.entry.js → p-b47fcd8c.system.entry.js} +1 -1
  214. package/dist/zonos-elements/{p-c308c5bc.entry.js → p-c263f95f.entry.js} +1 -1
  215. package/dist/zonos-elements/p-ca411d97.entry.js +1 -0
  216. package/dist/zonos-elements/p-cab6bd98.system.js +1 -0
  217. package/dist/zonos-elements/{p-266a86d4.system.entry.js → p-d50fef06.system.entry.js} +1 -1
  218. package/dist/zonos-elements/{p-7a379538.entry.js → p-d983d472.entry.js} +1 -1
  219. package/dist/zonos-elements/{p-df578aa9.system.entry.js → p-dc4e867e.system.entry.js} +1 -1
  220. package/dist/zonos-elements/p-dee6adff.system.js +1 -0
  221. package/dist/zonos-elements/{p-2c9714e8.system.entry.js → p-e36e724b.system.entry.js} +1 -1
  222. package/dist/zonos-elements/{p-8df3c6a0.entry.js → p-e673a4d9.entry.js} +1 -1
  223. package/dist/zonos-elements/{p-d004565d.system.entry.js → p-e76dc266.system.entry.js} +1 -1
  224. package/dist/zonos-elements/{p-3576d900.entry.js → p-ed827ca3.entry.js} +1 -1
  225. package/dist/zonos-elements/{p-8dae0f0b.entry.js → p-ef12af4b.entry.js} +1 -1
  226. package/dist/zonos-elements/{p-3a198386.entry.js → p-f0046c48.entry.js} +1 -1
  227. package/dist/zonos-elements/{p-62dbc5f8.system.entry.js → p-f00a56be.system.entry.js} +1 -1
  228. package/dist/zonos-elements/{p-4416fe27.entry.js → p-f2909fb8.entry.js} +1 -1
  229. package/dist/zonos-elements/{p-fbc274a8.system.entry.js → p-f7d24382.system.entry.js} +1 -1
  230. package/dist/zonos-elements/{p-12459b59.entry.js → p-fb87172c.entry.js} +1 -1
  231. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  232. package/package.json +1 -1
  233. package/dist/cjs/submitGtag-9ac5a42e.js +0 -116
  234. package/dist/esm/submitGtag-543058f9.js +0 -113
  235. package/dist/esm-es5/paypal-38ca5d21.js +0 -17
  236. package/dist/esm-es5/submitGtag-543058f9.js +0 -1
  237. package/dist/zonos-elements/p-0ad75f38.entry.js +0 -1
  238. package/dist/zonos-elements/p-0f89fc76.system.entry.js +0 -1
  239. package/dist/zonos-elements/p-17a8a514.system.js +0 -1
  240. package/dist/zonos-elements/p-24407504.js +0 -17
  241. package/dist/zonos-elements/p-387f6a4d.js +0 -1
  242. package/dist/zonos-elements/p-47bde0ba.system.js +0 -18
  243. package/dist/zonos-elements/p-4aa5f5db.entry.js +0 -1
  244. package/dist/zonos-elements/p-70e2f9f9.system.entry.js +0 -1
  245. package/dist/zonos-elements/p-720ae42c.system.js +0 -1
  246. package/dist/zonos-elements/p-87eef44c.entry.js +0 -1
  247. package/dist/zonos-elements/p-f2a74e43.entry.js +0 -1
@@ -170,9 +170,9 @@ const ZonosAddressSuggestions = class {
170
170
  return segments;
171
171
  }
172
172
  render() {
173
- return (index.h(index.Host, { key: '00686fe9c09bb764f18548ea438f9fa39deb5413', class: "zonos--address-suggestions", role: "group", style: {
173
+ return (index.h(index.Host, { key: 'fe92e3ac70b644dbacda2cfc56e2676ac34632cc', class: "zonos--address-suggestions", role: "group", style: {
174
174
  '--zonos--border-radius': getBorderRadius.getBorderRadius(),
175
- } }, index.h("ul", { key: '89c0f50ea5bbabdf3efe3e58bd4d7a7c96f33b47', "aria-label": "Suggestions", class: "wrapper", role: "listbox" }, !!this.localSuggestions.length && (index.h("li", { key: 'ad3286076569701e1318c93b7ebc674ad85a7ae6', "aria-selected": false, class: "powered-by option", role: "option" }, index.h("div", { key: 'bdcb8cc865eb77b3a0189c8d88a7698d405c332e', class: "powered-by-container" }, index.h("zonos-text", { key: '1db905ec989aef0f8dd30835657d1dd1b1836fc2', type: "caption" }, "Suggestions powered by"), index.h("zonos-text", { key: '55c36840f1bb850ce135bd238d01b9a3055463d7', type: "semiBoldLabel" }, "Google")), index.h("zonos-button", { key: 'e89402e39549482c41b046fb534e727690e43100', "aria-label": "Clear suggestions", icon: index.h("zonos-icon", { content: RemoveIcon$1 }), noBackground: true, onClick: () => {
175
+ } }, index.h("ul", { key: 'c042e5d4f563ace9631f3a9d4ad3dd3c9e12cc35', "aria-label": "Suggestions", class: "wrapper", role: "listbox" }, !!this.localSuggestions.length && (index.h("li", { key: 'b68deb87d190d53b597085f7503c838e0a089227', "aria-selected": false, class: "powered-by option", role: "option" }, index.h("div", { key: '4dac7702de58610364ad031a181c33d135ec2b1f', class: "powered-by-container" }, index.h("zonos-text", { key: '74e97d754914267d43e39740ea48634ddcb87355', type: "caption" }, "Suggestions powered by"), index.h("zonos-text", { key: 'f2771fd3f18665eb414b653740930afe1bb42e4e', type: "semiBoldLabel" }, "Google")), index.h("zonos-button", { key: '657f036bec0ad31091b83be9927036362f6607a6', "aria-label": "Clear suggestions", icon: index.h("zonos-icon", { content: RemoveIcon$1 }), noBackground: true, onClick: () => {
176
176
  this.localSuggestions = [];
177
177
  } }))), this.localSuggestions.map(suggestion => (
178
178
  // eslint-disable-next-line jsx-a11y/click-events-have-key-events
@@ -1316,10 +1316,10 @@ const ZonosAddress = class {
1316
1316
  this.country = localization.localizationStore.selectedCountryCode;
1317
1317
  }
1318
1318
  // this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
1319
- return (index.h(index.Host, { key: '4a2a2bb06e16eb0470b827efd104c1a7a373e2b5', class: classes.classes([
1319
+ return (index.h(index.Host, { key: '4874639006b452cc6a2b5e5beabbe97fe7a0fde5', class: classes.classes([
1320
1320
  'zonos--address zonos--elements',
1321
1321
  `zonos--${this.type}-address`,
1322
- ]) }, index.h("zonos-text", { key: '74fd51761c8672e23ada3c5f1bac121cdf559ca6', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), index.h("slot", { key: 'e21b18b079f013e1bdaf2ab526c1c7826f2376f0', name: "below-title" }), this.renderCompanyNameInput(), this.renderTaxIdInput(), this.renderShortAddressCodeInput(), this.renderCustomAddressForm()));
1322
+ ]) }, index.h("zonos-text", { key: 'a365f9de88a9f7602e46e1d87aa180d2b51a4079', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), index.h("slot", { key: '66146ab6e78cfce499a10aa4d117a64a49a7f886', name: "below-title" }), this.renderCompanyNameInput(), this.renderTaxIdInput(), this.renderShortAddressCodeInput(), this.renderCustomAddressForm()));
1323
1323
  }
1324
1324
  get el() { return index.getElement(this); }
1325
1325
  static get watchers() { return {
@@ -1429,7 +1429,7 @@ const ZonosDialog = class {
1429
1429
  const borderStyle = getBorderRadius.getBorderRadius({
1430
1430
  overrideBorderStyle: this.borderStyle,
1431
1431
  });
1432
- return (index.h(index.Host, { key: '3764ddd25cf29e7b5ebc420c2fc47de213d2bcd6', class: classes.classes([
1432
+ return (index.h(index.Host, { key: 'ea5fe1fbc9cddf1937f5d3d5472e8288ca99a772', class: classes.classes([
1433
1433
  'zonos--elements',
1434
1434
  this.open && 'open',
1435
1435
  this.isLoading && 'is-loading',
@@ -1441,10 +1441,10 @@ const ZonosDialog = class {
1441
1441
  '--zonos--height': this.height || 'initial',
1442
1442
  '--zonos--min-height': this.minHeight || '500px',
1443
1443
  '--zonos--width': this.width,
1444
- } }, index.h("div", { key: 'aded0d33e4605a40b107e89fcbc95ef024b187f7', class: "zonos--backdrop" }), index.h("div", { key: '55500b0bb118be90d474fc758f979ac3f317d52e', class: "zonos--dialog-layout", inert: !this.open, onClick: this.clickOutsideDialogHandler }, index.h("div", { key: 'a21fa7808c16df11cab8800279774abb38828f1b', class: "zonos--dialog" }, this.isLoading && (index.h("div", { key: 'b8e9229591ad83446400deafdf5bee284091f1d9', class: "zonos--loading" }, index.h("zonos-spinner", { key: 'f284c8604d8710be60a725fa8c23c04f32e44b1f', size: 30 }), this.loadingTitle && (index.h("zonos-text", { key: '16d605c9272d9bdbb2d8b7f2d5685978cc2cf6eb', class: "zonos--loading-title", size: "l", weight: 700 }, this.loadingTitle)), this.loadingText && (index.h("zonos-text", { key: '0e9acec26d8502781ad8c853959740ece8fd2907', class: "zonos--loading-text" }, this.loadingText)))), (this.headerText || !this.noCloseButton) && (index.h("div", { key: '77d2dac98791ddea7e3bc3ab0e740c0b170072d8', class: "zonos--header" }, this.headerText && (index.h("h3", { key: 'f8b07366a4a9d5cd1686d7e3663ce0f6ba401ec7', class: "zonos--header-text" }, this.headerText)), !this.noCloseButton && (index.h("zonos-button", { key: '8c82dbf7d636715f3a391fe13ced4e3bc0ee079c', class: "zonos--close-button", icon: index.h("zonos-icon", { "aria-label": "Close dialog", content: RemoveIcon }), noBackground: true, onClick: this.closeButtonHandler, title: "Close dialog", variant: "subtle" })))), index.h("div", { key: 'd44cbf2cbb551043502e5e0c80048adeffaaf303', class: classes.classes([
1444
+ } }, index.h("div", { key: 'a8086837918088143287c231afc7594157657ea6', class: "zonos--backdrop" }), index.h("div", { key: '2449af1214f4b4d745993ea001b4f1147f3989a7', class: "zonos--dialog-layout", inert: !this.open, onClick: this.clickOutsideDialogHandler }, index.h("div", { key: 'f4507a332b704e09fe17c5d73b440c284d83b7d9', class: "zonos--dialog" }, this.isLoading && (index.h("div", { key: '1bcb8e243e87611474205d6ecd0490e43eb83383', class: "zonos--loading" }, index.h("zonos-spinner", { key: 'cf7ad545ef370501cf95a7e58736c90b94da7937', size: 30 }), this.loadingTitle && (index.h("zonos-text", { key: '0d9f87e7d1ce303f996c2536f863f1d125f3c040', class: "zonos--loading-title", size: "l", weight: 700 }, this.loadingTitle)), this.loadingText && (index.h("zonos-text", { key: 'e2a1d073d020b7914a1025024da0841e10bd09fb', class: "zonos--loading-text" }, this.loadingText)))), (this.headerText || !this.noCloseButton) && (index.h("div", { key: '3de5de755a28433ac8e14c0b7a1940ca6831a2fd', class: "zonos--header" }, this.headerText && (index.h("h3", { key: '89f5eb402ef75a079f6d0e0f87f986d461730727', class: "zonos--header-text" }, this.headerText)), !this.noCloseButton && (index.h("zonos-button", { key: 'fe220b8a93de46c56bebc704e68940c9f70e4cb1', class: "zonos--close-button", icon: index.h("zonos-icon", { "aria-label": "Close dialog", content: RemoveIcon }), noBackground: true, onClick: this.closeButtonHandler, title: "Close dialog", variant: "subtle" })))), index.h("div", { key: '1313249b74777b0394a7a7fca6745add56292086', class: classes.classes([
1445
1445
  'zonos--body',
1446
1446
  this.noBodyPadding && 'zonos--no-body-padding',
1447
- ]) }, index.h("slot", { key: '508a3fcc6fbfdec55033a584e235ba9fd9e7448f' })), index.h("slot", { key: '1f24ec0974cd1def288b744d6aa68399367aefd8', name: "dialog-footer" })))));
1447
+ ]) }, index.h("slot", { key: '585402b85ac8ef6cfa1b9051049e42edd645d99d' })), index.h("slot", { key: '3c0d42a12a16ce61786f1531da312403ad70affd', name: "dialog-footer" })))));
1448
1448
  }
1449
1449
  static get assetsDirs() { return ["assets"]; }
1450
1450
  };
@@ -7180,24 +7180,24 @@ const ZonosStripePhoneInput = class {
7180
7180
  .filter(Boolean)
7181
7181
  .sort((a, b) => a.displayName.localeCompare(b.displayName))
7182
7182
  : [];
7183
- return (index.h(index.Host, { key: '3f073620fb9250208be54ffd6d0dfbc8c5da7d6f', class: classes.classes([
7183
+ return (index.h(index.Host, { key: '1f200a91b6571a4c113da30e3837ece4b38bc7cb', class: classes.classes([
7184
7184
  'zonos--phone-input zonos--elements',
7185
7185
  isDark && 'dark',
7186
- ]), "data-theme": isDark ? 'DARK' : 'LIGHT', style: Object.assign({ '--zonos--border-radius': getBorderRadius.getBorderRadius(), '--zonos--font-family': zonosStore.zonosStoreFontFamily(), '--zonos--font-size': `${fontSize}px`, '--zonos--primary-color': secondaryColor }, (this.minWidth ? { '--zonos--min-width': this.minWidth } : {})) }, index.h("div", { key: 'bdaf73f9a51fa2a39dd9684584ec4f032ea39d00', class: classes.classes([
7186
+ ]), "data-theme": isDark ? 'DARK' : 'LIGHT', style: Object.assign({ '--zonos--border-radius': getBorderRadius.getBorderRadius(), '--zonos--font-family': zonosStore.zonosStoreFontFamily(), '--zonos--font-size': `${fontSize}px`, '--zonos--primary-color': secondaryColor }, (this.minWidth ? { '--zonos--min-width': this.minWidth } : {})) }, index.h("div", { key: 'c4e048ff9e4fb57598033b782f43a82db4729334', class: classes.classes([
7187
7187
  'zonos--label-wrapper',
7188
7188
  this.disabled && 'disabled',
7189
7189
  this.isFocused && 'focused',
7190
7190
  hasContent && 'has-content',
7191
7191
  this.error && 'has-error',
7192
7192
  this.inputLabel && 'has-label',
7193
- ]) }, index.h("select", { key: 'ad4477bfc5e1971a5e7a34a5e06b699c6115b3d3', class: "zonos--select", disabled: this.disabled, onBlur: this.handleBlur, onChange: this.handleCountryChange, onFocus: this.handleFocus }, countryOptionsList.map(option => {
7193
+ ]) }, index.h("select", { key: 'a4c1e90dd4490f6895e39d71233c5e05309434b4', class: "zonos--select", disabled: this.disabled, onBlur: this.handleBlur, onChange: this.handleCountryChange, onFocus: this.handleFocus }, countryOptionsList.map(option => {
7194
7194
  var _a;
7195
7195
  return (index.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, ")"));
7196
- })), index.h("div", { key: '39d6ae20a62bfa7d21a3d4a1143a4b42a87bbc41', class: "zonos--input-group" }, index.h("div", { key: 'dba0974115ce5e4f3f22689f406c3defe2989b29', class: "zonos--select-wrapper" }, index.h("div", { key: '3231072a3dba2d61a5567ad8ceacd871b3b7657c', class: "zonos--country-select" }, index.h("div", { key: '3fd9224b1ef63a6e2e1c11c19a1dddbaa1337ad1', class: "zonos--country-select-content" }, this.selectedCountry && (index.h("div", { key: 'ba2d811521d84bbe3c0a2749307cce90e9347457', class: "zonos--country-select-selected" }, index.h("div", { key: '4b21bf8d586b51f3d0ef9ba881e5a73d4742d440', class: "zonos--country-flag-wrapper" }, index.h("zonos-country-flag", { key: 'ed2fca152a8f1064051758bf624bb02d0af61379', class: "zonos--country-flag", countryCode: this.selectedCountry.countryCode })), index.h("div", { key: 'ee43fea008cfde320a15a151a07f1295dd0d77dd', class: "zonos--country-code" }, "+", this.selectedCountry.phoneCode))), index.h("div", { key: '28961fccf5ad433b3a81fab91773d8d8d4e17b30', class: "zonos--select-chevron-wrapper" }, index.h("zonos-icon", { key: '8233c34fdbf221f2289506b57b3fd429ec048df3', "aria-label": "Expand collapsed section", class: "zonos--select-chevron", content: ChevronDownIcon$1, iconColor: "gray-800" }))))), index.h("div", { key: '0d947d929218bac9929f411c5989a18ab36054fe', class: classes.classes([
7196
+ })), index.h("div", { key: 'b56bdb3b9f7acd4a32c9c833c631de2ad74c8b04', class: "zonos--input-group" }, index.h("div", { key: '4babc988f0432df5a622e3fe70be2395625fec4f', class: "zonos--select-wrapper" }, index.h("div", { key: 'afd4d0863e2e4d9c809cf74b267452d23db0db9d', class: "zonos--country-select" }, index.h("div", { key: '6b50899c82c335ea6bc00792f549b059439f80aa', class: "zonos--country-select-content" }, this.selectedCountry && (index.h("div", { key: 'b2ffde73f454dc7f37598a7992f7e48a98ebe627', class: "zonos--country-select-selected" }, index.h("div", { key: '25573e4a4409cd742aa2557726bafd9b738a250f', class: "zonos--country-flag-wrapper" }, index.h("zonos-country-flag", { key: 'b6ed256e1867d8204144676f254d30ca4535eae1', class: "zonos--country-flag", countryCode: this.selectedCountry.countryCode })), index.h("div", { key: 'd8b0f28d7aa5a0afef1c11603d15b5007e8e81e9', class: "zonos--country-code" }, "+", this.selectedCountry.phoneCode))), index.h("div", { key: 'ea4ab66f550a807ecd4182dfcb803a317fd69074', class: "zonos--select-chevron-wrapper" }, index.h("zonos-icon", { key: 'ee0818647a08ac39c6cc3594c7c361b6a79681dd', "aria-label": "Expand collapsed section", class: "zonos--select-chevron", content: ChevronDownIcon$1, iconColor: "gray-800" }))))), index.h("div", { key: 'c02c404700de1d096838449533b419b1e9f95d84', class: classes.classes([
7197
7197
  'zonos--input-container',
7198
7198
  this.inputLabel && 'has-label',
7199
7199
  hasContent && 'has-content',
7200
- ]) }, index.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 && (index.h("div", { key: '57f3d9ad16aee89271c134d409abb6383b225f55', class: "zonos--floated-label" }, index.h("label", { key: 'd2af8c75f82df1b3176f708bea86a18b7ee4840d', htmlFor: this.inputId }, this.inputLabel || localization.translate('Phone number'))))))), this.error && (index.h("zonos-text", { key: '3bb993c5e780f4394d141d7c62bd1f8ea4d1fc70', textColor: "red-600" }, this.error))));
7200
+ ]) }, index.h("input", Object.assign({ key: '88b15052fc88329cc1791e4c89e9db171b6b0569' }, 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 && (index.h("div", { key: 'bbaffd11b9d33d28dd363e9110ce884ccc1a9ebe', class: "zonos--floated-label" }, index.h("label", { key: '5cd458d801979127b26407295b95f0d15f5c383d', htmlFor: this.inputId }, this.inputLabel || localization.translate('Phone number'))))))), this.error && (index.h("zonos-text", { key: 'f0ef5a5b0762b14007c0df09fff7f7abecd9920b', textColor: "red-600" }, this.error))));
7201
7201
  }
7202
7202
  get el() { return index.getElement(this); }
7203
7203
  static get watchers() { return {
@@ -7313,14 +7313,14 @@ const ZonosStripeSelect = class {
7313
7313
  const fontSize = zonosStore.zonosStore.appearance.fontSizeInputValue || 16;
7314
7314
  const hasContent = this.internalValue || this.selectPlaceholder;
7315
7315
  const showClearButton = this.isClearable && this.internalValue && !this.isDisabled;
7316
- return (index.h(index.Host, { key: '61d5f0b2c7fafd2df4ea6beacc8500bad9b64da7', class: classes.classes([
7316
+ return (index.h(index.Host, { key: '07b9269eb9130ac91b366369d5db4c49c7fc7be2', class: classes.classes([
7317
7317
  'zonos--select zonos--elements',
7318
7318
  isDark && 'dark',
7319
7319
  this.isError && 'has-error',
7320
- ]), "data-theme": isDark ? 'DARK' : 'LIGHT', style: Object.assign({ '--zonos--border-radius': getBorderRadius.getBorderRadius(), '--zonos--font-family': zonosStore.zonosStoreFontFamily(), '--zonos--font-size': `${fontSize}px`, '--zonos--primary-color': secondaryColor }, (this.minWidth ? { '--zonos--min-width': this.minWidth } : {})) }, index.h("div", { key: '63198cbb818342d8deecbe1e0c5d9978a51df064', class: classes.classes([
7320
+ ]), "data-theme": isDark ? 'DARK' : 'LIGHT', style: Object.assign({ '--zonos--border-radius': getBorderRadius.getBorderRadius(), '--zonos--font-family': zonosStore.zonosStoreFontFamily(), '--zonos--font-size': `${fontSize}px`, '--zonos--primary-color': secondaryColor }, (this.minWidth ? { '--zonos--min-width': this.minWidth } : {})) }, index.h("div", { key: '6c82ff92d68ca8b031985af671ad47d4c47c4968', class: classes.classes([
7321
7321
  'zonos--label-wrapper',
7322
7322
  this.isDisabled && 'disabled',
7323
- ]) }, index.h("select", Object.assign({ key: '8bbe869f708d9f87f9dc6d66a8f573a795399e23' }, this.inheritedAttributes, { autoComplete: this.autoComplete, class: classes.classes([
7323
+ ]) }, index.h("select", Object.assign({ key: 'c2df2cfc855706c376a82bfe7c752c58d987aab4' }, this.inheritedAttributes, { autoComplete: this.autoComplete, class: classes.classes([
7324
7324
  'zonos--floated-select',
7325
7325
  !!this.selectLabel && 'has-label',
7326
7326
  hasContent && 'has-content',
@@ -7330,9 +7330,9 @@ const ZonosStripeSelect = class {
7330
7330
  this.selectChange.emit(select.value);
7331
7331
  this.selectedValue = select.value;
7332
7332
  this.el.dispatchEvent(new Event('change'));
7333
- }, required: this.required }), index.h("option", { key: '6ae19c6b12976cd32e6efc9771a000b29945ee71', disabled: true, selected: !this.internalValue, value: "" }, this.selectPlaceholder || localization.translate('Select')), this.internalOptions.map(option => (index.h("option", { key: option.value, selected: this.internalValue === option.value ||
7333
+ }, required: this.required }), index.h("option", { key: 'aab67935dd68de369fb67749006ec06656e2e187', disabled: true, selected: !this.internalValue, value: "" }, this.selectPlaceholder || localization.translate('Select')), this.internalOptions.map(option => (index.h("option", { key: option.value, selected: this.internalValue === option.value ||
7334
7334
  // Sometimes google returns the label not the code for some countries
7335
- this.internalValue === option.label, value: option.value }, option.label)))), index.h("div", { key: 'a21b56d32839669a95c3d36f215f85bb94f6bb1a', class: "zonos--floated-label" }, index.h("label", { key: 'fb710c149659ece3d433f57d8d27562395bb2a52', htmlFor: this.selectId }, this.selectLabel)), index.h("div", { key: '0f57b78a3fdafc0ff7bd1a5a2ead9e37be7ee915', class: "zonos--actions-wrapper" }, showClearButton && (index.h("button", { key: 'ffc562b96195b1990a26d4091971ddb2293b6ac7', "aria-label": "Clear selection", class: "zonos--clear-button", onClick: this.handleClear, tabIndex: 0, type: "button" }, index.h("zonos-icon", { key: 'c3eb42b95f57df3187772d1502e07a7052a72913', class: "zonos--clear-icon", content: RemoveLineIcon, iconColor: "gray-1200" }))), index.h("zonos-icon", { key: '7a6581602aa531d5d9bdea82c3f50952d901bad4', "aria-label": "Expand collapsed section", class: "zonos--select-chevron", content: ChevronDownIcon, iconColor: "gray-800" }))), this.error && (index.h("zonos-text", { key: 'b1a3819c075d5e8f70020274145675c8d19b143a', textColor: "red-600" }, this.error))));
7335
+ this.internalValue === option.label, value: option.value }, option.label)))), index.h("div", { key: 'a5a10b4a0b690aad09e2b8138b84623eb8a80e2e', class: "zonos--floated-label" }, index.h("label", { key: '98da29b702b07eaea01196cffa306d8c7497ce69', htmlFor: this.selectId }, this.selectLabel)), index.h("div", { key: '03b5847543e1c5a60af23cf5b5b572ed53abdcf9', class: "zonos--actions-wrapper" }, showClearButton && (index.h("button", { key: '3a078eb32e3702edd6b084e367d336c994a23284', "aria-label": "Clear selection", class: "zonos--clear-button", onClick: this.handleClear, tabIndex: 0, type: "button" }, index.h("zonos-icon", { key: '3783636799756d514fb456005615692bfb03fbe1', class: "zonos--clear-icon", content: RemoveLineIcon, iconColor: "gray-1200" }))), index.h("zonos-icon", { key: '7ba276746b986d5cea76f9c53fa4e3d8627d4d35', "aria-label": "Expand collapsed section", class: "zonos--select-chevron", content: ChevronDownIcon, iconColor: "gray-800" }))), this.error && (index.h("zonos-text", { key: 'b9e3282bd4b44d7f6c113cff1e3746c836ab29dc', textColor: "red-600" }, this.error))));
7336
7336
  }
7337
7337
  get el() { return index.getElement(this); }
7338
7338
  static get watchers() { return {
@@ -358,11 +358,11 @@ const ZonosAddress = class {
358
358
  this.isAddressFilled = true;
359
359
  }
360
360
  // this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
361
- return (index.h(index.Host, { key: '5dc571d7c5e706ae9cb90de70deee22847e5ba7e', class: classes.classes([
361
+ return (index.h(index.Host, { key: '300434f0623d886693dc101b47cb5cd5f9503d3e', class: classes.classes([
362
362
  'zonos--address',
363
363
  'zonos--elements',
364
364
  `zonos--${this.type}-address`,
365
- ]) }, this.titleText && (index.h("zonos-text", { key: 'a7c9f730bc9b64aa2c6e8cc24701e638481eac19', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), index.h("slot", { key: '3078529c201c7947ffc833485d46184bc79ab1d1', name: "below-title" }), this.renderCompanyNameInput(), this.renderTaxIdInput(), this.renderShortAddressCodeInput(), index.h("div", { key: 'b4a9850ac30ad9c483e05743ff41b7de9756d826', class: "zonos--address-component" })));
365
+ ]) }, this.titleText && (index.h("zonos-text", { key: 'eb7592c563d728af019db397f4d5e7e9f448f4d7', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), index.h("slot", { key: 'c9556ead2ad1bf1b462637ae44834dc4f25afa8a', name: "below-title" }), this.renderCompanyNameInput(), this.renderTaxIdInput(), this.renderShortAddressCodeInput(), index.h("div", { key: 'cecaa1a9b4a176607125106f55b6e4d6cab31705', class: "zonos--address-component" })));
366
366
  }
367
367
  get el() { return index.getElement(this); }
368
368
  static get watchers() { return {
@@ -494,13 +494,13 @@ const ZonosConfirmDialog = class {
494
494
  const borderStyle = getBorderRadius.getBorderRadius();
495
495
  // Get theme for the update dialog, inherit from the theme, no from this component theme
496
496
  const theme = zonosStore.getZonosStoreTheme(zonosStore.zonosStore.appearance.theme);
497
- return (index.h(index.Host, { key: 'db0bfe0b8a125e806a97c9382faa938078000349', class: classes.classes([this.dialogOpen && 'open', 'zonos--elements']), "data-dialog-type": this.dialogType, "data-theme": theme, style: {
497
+ return (index.h(index.Host, { key: '3f86259272e4aee2cb846ee15cad8e616917b020', class: classes.classes([this.dialogOpen && 'open', 'zonos--elements']), "data-dialog-type": this.dialogType, "data-theme": theme, style: {
498
498
  '--zonos--border-radius': borderStyle,
499
499
  '--zonos--dialog-width': `${this.dialogWidth}px`,
500
500
  '--zonos--font-family': zonosStore.zonosStoreFontFamily(),
501
- } }, index.h("div", { key: '1676defad54705df4e9282bda6b5734592d0fb60', class: "zonos--backdrop", tabIndex: -1 }), index.h("div", { key: '2a6ec6b5df7ea30304cfed5276e55618b40add93', class: classes.classes(['zonos--confirm-layout', this.dialogIntent]), onClick: e => this.clickOutsideDialogHandler(e) }, index.h("div", { key: 'd1c8358c3fd98c27a469fe7443d1983c1c134a7c', class: "zonos--confirm-dialog", onBlur: () => {
501
+ } }, index.h("div", { key: 'e4f146413bfb70c1d7c3629da6830482060f975a', class: "zonos--backdrop", tabIndex: -1 }), index.h("div", { key: '272c6ef86a66a5e61c7fc1753b4b60ce7bc25aee', class: classes.classes(['zonos--confirm-layout', this.dialogIntent]), onClick: e => this.clickOutsideDialogHandler(e) }, index.h("div", { key: 'e533b39f91579923dcd725edf8b602cba80b8857', class: "zonos--confirm-dialog", onBlur: () => {
502
502
  this.focusDialog();
503
- } }, index.h("div", { key: '137e9659aa7aec2e4604acf80809b35bce69ca79', class: "wrapper" }, index.h("div", { key: '9c1057857ea095e7e88c8950469add2bc4c1318e', class: "icon-wrapper" }, this.renderIcon()), index.h("div", { key: '48f0e0cd9ce62b425bae831d1387261bbd4162a1', class: "content" }, index.h("div", { key: '0d3e681f350e5db547181beadf5c6bcf49a8bbd2', class: "title" }, index.h("zonos-text", { key: 'f16a43d2b3c9504911b1e36ba573873f80093c47', type: "subheader" }, this.dialogTitle)), this.dialogSubtitle && (index.h("div", { key: 'fd570f98bc736a68c16fedee72b1417dc6906fa6', class: "subtitle" }, index.h("zonos-text", { key: '6785aa19dd44cf7f6fae7317e3924be6c6ee8af3', textColor: "gray-800" }, this.dialogSubtitle)))), index.h("div", { key: '4206cad3dcff0055fc5f3ea8e7c217ae33c63263', class: "footer" }, this.dialogType === 'confirm' && (index.h("zonos-button", { key: '72d1a216641d482bdbeae384963dcdff1cfc3f45', backgroundColor: "gray-0", class: "cancel-button", onClick: () => this.closeDialogHandler(), size: "lg", withBoxShadow: true }, this.dialogCancelBtnText || localization.translate('Cancel'))), index.h("zonos-button", { key: 'a6a206eff11d1f42c33ef9113cc393d727c60f89', class: "confirm-button", onClick: () => this.confirmDialogHandler(), size: "lg", variant: this.getButtonConfirmVariant() }, this.dialogConfirmBtnText)))))));
503
+ } }, index.h("div", { key: '16c171b80dbee7c033ea35731afa6537222c7458', class: "wrapper" }, index.h("div", { key: '7f3bd95d72a06ecadf22df0a332292050d9907f9', class: "icon-wrapper" }, this.renderIcon()), index.h("div", { key: 'e234a037041b1fc7b558c841ddc03da940213bd7', class: "content" }, index.h("div", { key: '37492c329f9bd02e199828b57a16de616800d0fc', class: "title" }, index.h("zonos-text", { key: 'd935e67d0004c8f5c925082f222cff4e95568b6a', type: "subheader" }, this.dialogTitle)), this.dialogSubtitle && (index.h("div", { key: '58acbdb5ace31ece6d900f21637dab17aa797ad8', class: "subtitle" }, index.h("zonos-text", { key: '981f15fc921e9d2ff2749fea94f21859cbf51fe3', textColor: "gray-800" }, this.dialogSubtitle)))), index.h("div", { key: '07e17ccc316ee180a72705f1d76a9c6f2927bfd7', class: "footer" }, this.dialogType === 'confirm' && (index.h("zonos-button", { key: '6b1b270b13c1a274e93d33ef4c1ca6798499c5c2', backgroundColor: "gray-0", class: "cancel-button", onClick: () => this.closeDialogHandler(), size: "lg", withBoxShadow: true }, this.dialogCancelBtnText || localization.translate('Cancel'))), index.h("zonos-button", { key: 'befd3b801cb8cf5b41c3c74e8947f2977aa77ce1', class: "confirm-button", onClick: () => this.confirmDialogHandler(), size: "lg", variant: this.getButtonConfirmVariant() }, this.dialogConfirmBtnText)))))));
504
504
  }
505
505
  static get assetsDirs() { return ["assets"]; }
506
506
  get el() { return index.getElement(this); }
@@ -734,7 +734,7 @@ const ZonosLoadingOverlay = class {
734
734
  this.size = 40;
735
735
  }
736
736
  render() {
737
- return (index.h(index.Host, { key: '13154a3c9250f15d8dca292f0673c6465bfb15e0', class: classes.classes(['zonos--elements', this.open && 'zonos--open']) }, index.h("div", { key: '4470fccd21e58bd7959ef3e20c8775ac637cace0', class: "zonos--loading-overlay" }, index.h("zonos-spinner", { key: '5b32b821cea982866da56176eeaafd5d8958f25d', size: this.size, spinnerColor: this.spinnerColor }))));
737
+ return (index.h(index.Host, { key: '2307e7f2b5db43fa4625097a96fd9182b5a1c729', class: classes.classes(['zonos--elements', this.open && 'zonos--open']) }, index.h("div", { key: '9c7aa8101410becb1341bc2d602638fbccff2dbf', class: "zonos--loading-overlay" }, index.h("zonos-spinner", { key: 'ebf5db2566052ee898d8d09aaeceb664a8e264e2', size: this.size, spinnerColor: this.spinnerColor }))));
738
738
  }
739
739
  };
740
740
  ZonosLoadingOverlay.style = ZonosLoadingOverlayStyle0;
@@ -50,16 +50,16 @@ const ZonosBadge = class {
50
50
  this.loading = false;
51
51
  }
52
52
  render() {
53
- return (index.h(index.Host, { key: '2c6d37db80b369e4d287e2d7a6cb4db9b69fe6f6', class: classes.classes(['zonos--elements zonos--badge']), style: {
53
+ return (index.h(index.Host, { key: 'dabf6b5d9c4585f9fe62b69655c3043c5d51eb6e', class: classes.classes(['zonos--elements zonos--badge']), style: {
54
54
  '--zonos--font-family': zonosStore.zonosStoreFontFamily(),
55
- } }, index.h("div", { key: 'f5f2f2530c11d8c46349024f044a7b042a12a10f', class: classes.classes([
55
+ } }, index.h("div", { key: '4603e1dbcb6760ae1a18d008cbffc9acc8b1b444', class: classes.classes([
56
56
  'zonos--badge-content',
57
57
  this.badgeColor,
58
58
  this.rounded && 'rounded',
59
59
  this.iconRight && 'icon-right',
60
60
  this.size,
61
61
  this.bold && 'bold',
62
- ]) }, this.icon, index.h("zonos-text", { key: 'e031a216dc586d138b0d3c03781b8b362bcc25d2', textColor: `${this.badgeColor}-800` }, index.h("slot", { key: '9757275ea8350ae8578e255bb99940697021258e' })), this.dismissHandler && (index.h("zonos-icon", { key: '42a08f166b237af5c7c508c257dda46ee5c3d58a', "aria-label": "Remove action", class: "zonos--badge-dismiss", content: RemoveLineIcon, onClick: () => { var _a; return (_a = this.dismissHandler) === null || _a === void 0 ? void 0 : _a.call(this); } })))));
62
+ ]) }, this.icon, index.h("zonos-text", { key: '5d70287727ff5681be1d2f4f0faf32ba39899b4b', textColor: `${this.badgeColor}-800` }, index.h("slot", { key: 'e3ea93273daccab2b37f8240b29041e485d8bcef' })), this.dismissHandler && (index.h("zonos-icon", { key: '5c09bc191f5ae6f9fe18da4ed15c9f60bab58b03', "aria-label": "Remove action", class: "zonos--badge-dismiss", content: RemoveLineIcon, onClick: () => { var _a; return (_a = this.dismissHandler) === null || _a === void 0 ? void 0 : _a.call(this); } })))));
63
63
  }
64
64
  };
65
65
  ZonosBadge.style = ZonosBadgeStyle0;
@@ -211,13 +211,13 @@ const ZonosButton = class {
211
211
  const borderStyle = getBorderRadius.getBorderRadius({
212
212
  overrideBorderStyle: this.borderStyle,
213
213
  });
214
- return (index.h(index.Host, { key: '301c0140cae22157209423d34385103d9ea1cf29', class: classes.classes(['zonos--elements']), "data-theme": this.theme || buttonTheme, disabled: disabled, style: styles.styles({
214
+ return (index.h(index.Host, { key: 'b816d7ac8f86b6256d017de9a7049c008cbfd973', class: classes.classes(['zonos--elements']), "data-theme": this.theme || buttonTheme, disabled: disabled, style: styles.styles({
215
215
  '--zonos--background-color': backgroundColor,
216
216
  '--zonos--border-radius': borderStyle,
217
217
  '--zonos--color': color,
218
218
  '--zonos--font-family': zonosStore.zonosStoreFontFamily(),
219
219
  '--zonos--font-weight': this.bold ? 'bold' : 'normal',
220
- }) }, index.h("button", Object.assign({ key: '2e3e75b8d0fd7c22c668972ad4a2f8bda363e159' }, this.inheritedAttributes, { class: classes.classes([
220
+ }) }, index.h("button", Object.assign({ key: 'ddc1bba069df9e03db22fdfb77fe1118e84d0744' }, this.inheritedAttributes, { class: classes.classes([
221
221
  this.hasIcon && 'has-icon',
222
222
  this.hasContent && 'has-content',
223
223
  this.noBackground && 'no-background',
@@ -232,7 +232,7 @@ const ZonosButton = class {
232
232
  backgroundColor && variant === 'standard' && 'override-background',
233
233
  ]), disabled: disabled, style: {
234
234
  justifyContent: this.justifyContent,
235
- } }), this.loading && (index.h("div", { key: 'f1965c769d9d1a2a7f636b09be1384cf7cd6227a', class: "zonos--spinner-wrapper" }, index.h("zonos-spinner", { key: '5bbeb95041065e247ebc2f725f751e2fb5cd93c5', size: 16, spinnerColor: spinnerColor }))), !this.loading && !this.iconRight && this.icon, index.h("slot", { key: 'b32f5bd10dc79b258545efd92ed594a2906b3292', onSlotchange: this.handleSlotChange }), !this.loading && this.iconRight && this.icon)));
235
+ } }), this.loading && (index.h("div", { key: '98c12cd886ada57ae8f571f6a5e1914024198dd5', class: "zonos--spinner-wrapper" }, index.h("zonos-spinner", { key: '22dee22121fabe21d7c6f02b8b48e83b8c1894a7', size: 16, spinnerColor: spinnerColor }))), !this.loading && !this.iconRight && this.icon, index.h("slot", { key: '27cbe56b4c77dd5678a2e6685fc05694ab36cab1', onSlotchange: this.handleSlotChange }), !this.loading && this.iconRight && this.icon)));
236
236
  }
237
237
  static get delegatesFocus() { return true; }
238
238
  get ele() { return index.getElement(this); }
@@ -9,11 +9,11 @@ const getBorderRadius = require('./getBorderRadius-db55a464.js');
9
9
  const cart = require('./cart-d08c87e2.js');
10
10
  const localization = require('./localization-a7fac4b4.js');
11
11
  const handleFetch = require('./handleFetch-954f30e1.js');
12
- const paypal = require('./paypal-73a542cb.js');
12
+ const paypal = require('./paypal-e278f405.js');
13
13
  const VarianceTest = require('./VarianceTest-bec00ea8.js');
14
14
  require('./isDarkColor-bfe6d1eb.js');
15
15
  require('./isContrastColor-6a17f408.js');
16
- require('./submitGtag-9ac5a42e.js');
16
+ require('./submitGtag-4241212b.js');
17
17
 
18
18
  const zonosCardCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host .styled-card{border:var(--zonos-elements-border);border-radius:var(--zonos--border-radius, var(--zonos-elements-radius-6));padding:var(--spacing, 24px);text-align:left;background-color:var(--zonos--background-color);overflow:hidden}:host .styled-card hr{margin-left:calc(var(--spacing, 24px) * -1);margin-right:calc(var(--spacing, 24px) * -1)}:host .styled-card .card-header{margin:calc(var(--spacing, 24px) * -1);padding:var(--spacing, 24px);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-bottom:var(--spacing, 24px);border-bottom:var(--zonos-elements-border);height:65px;line-height:65px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host .styled-card .card-header h5{margin-bottom:0;-ms-flex:1;flex:1}:host .styled-card .card-footer{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;margin:calc(var(--spacing, 24px) * -1);padding:var(--spacing, 24px);border-top:var(--zonos-elements-border);background:var(--zonos-elements-surface-color-secondary);margin-top:var(--spacing, 24px);border-bottom-left-radius:var(--zonos-elements-radius-8);border-bottom-right-radius:var(--zonos-elements-radius-8);height:var(--footerHeight)}";
19
19
  const ZonosCardStyle0 = zonosCardCss;
@@ -39,16 +39,16 @@ const ZonosCard = class {
39
39
  customRoundRadius: `${this.borderRadius}px`,
40
40
  overrideBorderStyle: 'ROUNDED',
41
41
  });
42
- return (index.h(index.Host, { key: '8832966776c626c783e771fb7f9a773d2539e07f', style: {
42
+ return (index.h(index.Host, { key: '000ef115565050082a6e73e1709e014c66b410b7', style: {
43
43
  '--zonos--font-family': zonosStore.zonosStoreFontFamily(),
44
- } }, index.h("div", { key: '89c9af9275ca5b01f658081fefb7756bfcbf6d58', class: classes.classes(['styled-card']), style: {
44
+ } }, index.h("div", { key: 'c9391737f61c4e555643ead25e927376d4e949ba', class: classes.classes(['styled-card']), style: {
45
45
  '--zonos--background-color': backgroundColor,
46
46
  '--zonos--border-radius': borderRadius,
47
47
  padding: this.spacing,
48
- } }, this.label && (index.h("header", { key: '3da688655c5a9af66397525d02224dbc431d00d0', class: "card-header", style: { padding: this.spacing } }, index.h("zonos-text", { key: '8e9524d26e5a0a7e3149b4008efd02b5a7b9ebc6', type: "subheader" }, this.label), index.h("h-stack", { key: 'f7298bbb158686b03b2a09f5d6c089c0f4d144c4', spacing: 8 }, this.actions))), index.h("slot", { key: '24888347ff25ffd21b416da4f5aae493f8044638' }), (this.footerActions || this.footerContent) && (index.h("footer", { key: 'b6792e7345b87e9407585ed4558c7327ea3eab36', class: "card-footer", style: {
48
+ } }, this.label && (index.h("header", { key: '9a23e108d3a53adf878bc50cb4c3927ebd8db4a6', class: "card-header", style: { padding: this.spacing } }, index.h("zonos-text", { key: 'ea6a44ecec753ff4ff588d2f47843cc242f55f98', type: "subheader" }, this.label), index.h("h-stack", { key: '7da7b584607867884466b311b1c9055c281e3326', spacing: 8 }, this.actions))), index.h("slot", { key: 'd3c458ee2288071bd72bbadc760fa9a0c6333219' }), (this.footerActions || this.footerContent) && (index.h("footer", { key: 'b668c38a177fd5b0d7fe7988d18afe6f40e8082c', class: "card-footer", style: {
49
49
  height: this.footerHeight ? `${this.footerHeight}px` : 'auto',
50
50
  padding: this.spacing,
51
- } }, index.h("div", { key: '70ccde8e9b1988db1ba477efea5b44e812a7514d' }, this.footerContent), index.h("h-stack", { key: '4e48425e9db7031d779da7061f0b2d92b27869a0', spacing: 8 }, this.footerActions))))));
51
+ } }, index.h("div", { key: '61b13afeac104d27d76f73c0f869104ce5295197' }, this.footerContent), index.h("h-stack", { key: '3cbdc1beb4e3b2129d9e71cb6c4ed94565a20ba9', spacing: 8 }, this.footerActions))))));
52
52
  }
53
53
  };
54
54
  ZonosCard.style = ZonosCardStyle0;
@@ -261,7 +261,7 @@ const ZonosPayment = class {
261
261
  }
262
262
  render() {
263
263
  // this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
264
- return (index.h(index.Host, { key: '1fb61e01184d3a0b2dc079ae468e96175d9f6518', class: "zonos--payment zonos--elements" }, this.titleText && (index.h("zonos-text", { key: '3860ff7fc2656ff045ce09c0de2e14aa7a22e194', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), index.h("div", { key: '3cabad9c095f2eeba8cfc464374ca9abfc2af5ee', class: "zonos--payment-component" }), index.h("div", { key: '9e2b13a0d8131a5513f99e2a6436ca3c5f03d7cf', class: "zonos--payment-paypal-container" })));
264
+ return (index.h(index.Host, { key: 'd6aba7a614610a64012ef6636e19b345623141ec', class: "zonos--payment zonos--elements" }, this.titleText && (index.h("zonos-text", { key: 'edf8c9ee8d7a9ebf87922a49d9b7420efd80b226', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), index.h("div", { key: '3d0d7638a309fdf4dc1ab39bb463a0c35add911d', class: "zonos--payment-component" }), index.h("div", { key: 'a79f98f63bad2a7c5023eeb5bb28ae39997ada27', class: "zonos--payment-paypal-container" })));
265
265
  }
266
266
  get el() { return index.getElement(this); }
267
267
  static get watchers() { return {
@@ -325,7 +325,7 @@ const ZonosPaypalPayment = class {
325
325
  this.storeUnsubscribeList.forEach(unsubscribe => unsubscribe());
326
326
  }
327
327
  render() {
328
- return (index.h(index.Host, { key: '35387382aaa81e3f8e025e8f3503be41b86e2355', class: "zonos--paypal-payment zonos--elements" }, index.h("div", { key: '34fad15dee67d8b913071a59d35b1c2317d4d3a0', class: "zonos--payment-paypal-container" })));
328
+ return (index.h(index.Host, { key: '5745cd59ad8b81a41f8015438afd036621695bbb', class: "zonos--paypal-payment zonos--elements" }, index.h("div", { key: 'be5154e55384e2ecd42e2ec6b2be7712fb6ef31b', class: "zonos--payment-paypal-container" })));
329
329
  }
330
330
  get el() { return index.getElement(this); }
331
331
  };