@zonos/elements 1.3.81 → 1.3.83

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 (251) hide show
  1. package/dist/cjs/{cart-97e693e4.js → cart-4de3faca.js} +798 -74
  2. package/dist/cjs/{createCustomEvent-777b3fa7.js → createCustomEvent-65331eae.js} +1 -3
  3. package/dist/cjs/index.cjs.js +7 -7
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/cjs/{paypal-16029169.js → paypal-370b3a10.js} +1 -1
  6. package/dist/cjs/{zonos-address_8.cjs.entry.js → zonos-address_7.cjs.entry.js} +9 -64
  7. package/dist/cjs/zonos-badge.cjs.entry.js +44 -0
  8. package/dist/cjs/zonos-button_3.cjs.entry.js +3 -3
  9. package/dist/cjs/zonos-card.cjs.entry.js +4 -4
  10. package/dist/cjs/{zonos-badge_13.cjs.entry.js → zonos-cart-items_12.cjs.entry.js} +135 -80
  11. package/dist/cjs/zonos-checkout.cjs.entry.js +5 -5
  12. package/dist/cjs/zonos-collapse.cjs.entry.js +62 -0
  13. package/dist/cjs/zonos-component.cjs.entry.js +1 -1
  14. package/dist/cjs/zonos-controller.cjs.entry.js +2 -2
  15. package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -1
  16. package/dist/cjs/zonos-country-select_4.cjs.entry.js +9 -9
  17. package/dist/cjs/zonos-elements.cjs.js +1 -1
  18. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +5 -5
  19. package/dist/cjs/zonos-hello.cjs.entry.js +1 -1
  20. package/dist/cjs/zonos-input.cjs.entry.js +4 -4
  21. package/dist/cjs/zonos-language-select_2.cjs.entry.js +5 -5
  22. package/dist/cjs/zonos-link.cjs.entry.js +1 -1
  23. package/dist/cjs/zonos-logo.cjs.entry.js +2 -2
  24. package/dist/cjs/zonos-notification_3.cjs.entry.js +4 -4
  25. package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +1 -11
  26. package/dist/cjs/zonos-tooltip.cjs.entry.js +2 -2
  27. package/dist/cjs/zonos-v-stack.cjs.entry.js +2 -2
  28. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-items/zonos-cart-items.js +1 -1
  29. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.css +10 -1
  30. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.js +89 -6
  31. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +5 -3
  32. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.css +3 -1
  33. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +1 -1
  34. package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/assets/ChevronUpIcon.svg +23 -0
  35. package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.css +55 -9
  36. package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.js +52 -12
  37. package/dist/collection/components/common/zonos-badge/assets/RemoveLineIcon.svg +3 -0
  38. package/dist/collection/components/common/zonos-badge/zonos-badge.css +3 -0
  39. package/dist/collection/components/common/zonos-badge/zonos-badge.js +43 -3
  40. package/dist/collection/components/common/zonos-button/zonos-button.js +3 -3
  41. package/dist/collection/components/common/zonos-card/zonos-card.js +4 -4
  42. package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.js +3 -3
  43. package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js +8 -7
  44. package/dist/collection/components/common/zonos-collapse/zonos-collapse.js +2 -2
  45. package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.js +3 -3
  46. package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +2 -2
  47. package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +2 -2
  48. package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +3 -3
  49. package/dist/collection/components/common/zonos-input/zonos-input.js +4 -4
  50. package/dist/collection/components/common/zonos-language-select/zonos-language-select.js +2 -2
  51. package/dist/collection/components/common/zonos-link/zonos-link.js +1 -1
  52. package/dist/collection/components/common/zonos-logo/zonos-logo.js +2 -2
  53. package/dist/collection/components/common/zonos-rest-state/zonos-rest-state.js +3 -3
  54. package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +2 -2
  55. package/dist/collection/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.js +20 -27
  56. package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.js +2 -2
  57. package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +2 -2
  58. package/dist/collection/components/common/zonos-virtual-scroll/zonos-virtual-scroll.js +2 -2
  59. package/dist/collection/components/component-template/zonos-component/zonos-component.js +1 -1
  60. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +2 -2
  61. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +4 -4
  62. package/dist/collection/components/main/zonos-controller.js +1 -1
  63. package/dist/collection/components/paypal/zonos-paypal-payment.js +1 -1
  64. package/dist/collection/components/store/checkout/cart.js +45 -11
  65. package/dist/collection/components/store/checkout/stripe.js +119 -65
  66. package/dist/collection/components/store/translationStore/strings.arabic.js +30 -0
  67. package/dist/collection/components/store/translationStore/strings.base.js +30 -0
  68. package/dist/collection/components/store/translationStore/strings.chinese.js +30 -0
  69. package/dist/collection/components/store/translationStore/strings.danish.js +30 -0
  70. package/dist/collection/components/store/translationStore/strings.dutch.js +30 -0
  71. package/dist/collection/components/store/translationStore/strings.french.js +30 -0
  72. package/dist/collection/components/store/translationStore/strings.german.js +30 -0
  73. package/dist/collection/components/store/translationStore/strings.hebrew.js +30 -0
  74. package/dist/collection/components/store/translationStore/strings.indonesian.js +30 -0
  75. package/dist/collection/components/store/translationStore/strings.italian.js +30 -0
  76. package/dist/collection/components/store/translationStore/strings.japanese.js +30 -0
  77. package/dist/collection/components/store/translationStore/strings.korean.js +30 -0
  78. package/dist/collection/components/store/translationStore/strings.norwegian.js +30 -0
  79. package/dist/collection/components/store/translationStore/strings.polish.js +30 -0
  80. package/dist/collection/components/store/translationStore/strings.portuguese.js +30 -0
  81. package/dist/collection/components/store/translationStore/strings.russian.js +30 -0
  82. package/dist/collection/components/store/translationStore/strings.spanish.js +30 -0
  83. package/dist/collection/components/store/translationStore/strings.swedish.js +30 -0
  84. package/dist/collection/components/store/translationStore/strings.turkish.js +30 -0
  85. package/dist/collection/components/store/translationStore/strings.vietnamese.js +30 -0
  86. package/dist/collection/components/stripe/zonos-address/zonos-address.js +1 -1
  87. package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +1 -1
  88. package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
  89. package/dist/collection/components/utils/api/prepCalculateLandedCost.js +22 -0
  90. package/dist/collection/components/utils/api/trackConversionEvent.js +0 -2
  91. package/dist/collection/components/utils/api/triggerBuildLandedCost.js +1 -0
  92. package/dist/collection/components/utils/checkout/{sortServiceLevelOptions.js → sortServiceLevelOptionsByAmount.js} +1 -1
  93. package/dist/collection/components/utils/hello/currencyConversion/currencyFormat.js +1 -1
  94. package/dist/esm/{cart-9bf6dece.js → cart-bdc45f59.js} +795 -75
  95. package/dist/esm/{createCustomEvent-a18e45a2.js → createCustomEvent-4db13122.js} +1 -3
  96. package/dist/esm/index.js +7 -7
  97. package/dist/esm/loader.js +1 -1
  98. package/dist/esm/{paypal-edab4cee.js → paypal-1b29d424.js} +1 -1
  99. package/dist/esm/{zonos-address_8.entry.js → zonos-address_7.entry.js} +10 -64
  100. package/dist/esm/zonos-badge.entry.js +40 -0
  101. package/dist/esm/zonos-button_3.entry.js +3 -3
  102. package/dist/esm/zonos-card.entry.js +4 -4
  103. package/dist/esm/{zonos-badge_13.entry.js → zonos-cart-items_12.entry.js} +137 -81
  104. package/dist/esm/zonos-checkout.entry.js +5 -5
  105. package/dist/esm/zonos-collapse.entry.js +58 -0
  106. package/dist/esm/zonos-component.entry.js +1 -1
  107. package/dist/esm/zonos-controller.entry.js +2 -2
  108. package/dist/esm/zonos-country-flag.entry.js +1 -1
  109. package/dist/esm/zonos-country-select_4.entry.js +9 -9
  110. package/dist/esm/zonos-elements.js +1 -1
  111. package/dist/esm/zonos-hello-dialog.entry.js +5 -5
  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-language-select_2.entry.js +5 -5
  115. package/dist/esm/zonos-link.entry.js +1 -1
  116. package/dist/esm/zonos-logo.entry.js +2 -2
  117. package/dist/esm/zonos-notification_3.entry.js +4 -4
  118. package/dist/esm/zonos-shipping-rich-radio.entry.js +1 -11
  119. package/dist/esm/zonos-tooltip.entry.js +2 -2
  120. package/dist/esm/zonos-v-stack.entry.js +2 -2
  121. package/dist/esm-es5/cart-bdc45f59.js +1 -0
  122. package/dist/esm-es5/{createCustomEvent-a18e45a2.js → createCustomEvent-4db13122.js} +1 -1
  123. package/dist/esm-es5/index.js +1 -1
  124. package/dist/esm-es5/loader.js +1 -1
  125. package/dist/esm-es5/{paypal-edab4cee.js → paypal-1b29d424.js} +1 -1
  126. package/dist/esm-es5/zonos-address_7.entry.js +1 -0
  127. package/dist/esm-es5/zonos-badge.entry.js +1 -0
  128. package/dist/esm-es5/zonos-button_3.entry.js +1 -1
  129. package/dist/esm-es5/zonos-card.entry.js +1 -1
  130. package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -0
  131. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  132. package/dist/esm-es5/zonos-collapse.entry.js +1 -0
  133. package/dist/esm-es5/zonos-component.entry.js +1 -1
  134. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  135. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  136. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
  137. package/dist/esm-es5/zonos-elements.js +1 -1
  138. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  139. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  140. package/dist/esm-es5/zonos-input.entry.js +1 -1
  141. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  142. package/dist/esm-es5/zonos-link.entry.js +1 -1
  143. package/dist/esm-es5/zonos-logo.entry.js +1 -1
  144. package/dist/esm-es5/zonos-notification_3.entry.js +1 -1
  145. package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
  146. package/dist/esm-es5/zonos-tooltip.entry.js +1 -1
  147. package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
  148. package/dist/scripts/index.d.ts +542 -494
  149. package/dist/scripts/index.js +1 -1
  150. package/dist/scripts/loadZonos.js +1 -1
  151. package/dist/scripts/zonos.js +1 -1
  152. package/dist/types/components/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.d.ts +12 -0
  153. package/dist/types/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.d.ts +4 -1
  154. package/dist/types/components/common/zonos-badge/zonos-badge.d.ts +9 -0
  155. package/dist/types/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.d.ts +2 -6
  156. package/dist/types/components/store/checkout/cart.d.ts +16 -7
  157. package/dist/types/components/store/checkout/stripe.d.ts +12 -2
  158. package/dist/types/components/store/translationStore/strings.arabic.d.ts +30 -0
  159. package/dist/types/components/store/translationStore/strings.base.d.ts +30 -0
  160. package/dist/types/components/store/translationStore/strings.chinese.d.ts +30 -0
  161. package/dist/types/components/store/translationStore/strings.danish.d.ts +30 -0
  162. package/dist/types/components/store/translationStore/strings.dutch.d.ts +30 -0
  163. package/dist/types/components/store/translationStore/strings.french.d.ts +30 -0
  164. package/dist/types/components/store/translationStore/strings.german.d.ts +30 -0
  165. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +30 -0
  166. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +30 -0
  167. package/dist/types/components/store/translationStore/strings.italian.d.ts +30 -0
  168. package/dist/types/components/store/translationStore/strings.japanese.d.ts +30 -0
  169. package/dist/types/components/store/translationStore/strings.korean.d.ts +30 -0
  170. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +30 -0
  171. package/dist/types/components/store/translationStore/strings.polish.d.ts +30 -0
  172. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +30 -0
  173. package/dist/types/components/store/translationStore/strings.russian.d.ts +30 -0
  174. package/dist/types/components/store/translationStore/strings.spanish.d.ts +30 -0
  175. package/dist/types/components/store/translationStore/strings.swedish.d.ts +30 -0
  176. package/dist/types/components/store/translationStore/strings.turkish.d.ts +30 -0
  177. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +30 -0
  178. package/dist/types/components/store/translationStore.d.ts +1 -1
  179. package/dist/types/components/utils/api/triggerBuildLandedCost.d.ts +1 -0
  180. package/dist/types/components/utils/checkout/sortServiceLevelOptionsByAmount.d.ts +6 -0
  181. package/dist/types/components.d.ts +44 -8
  182. package/dist/types/types/checkout/api/CalculateLandedCost.d.ts +2 -0
  183. package/dist/types/types/generated/graphql.internal.types.d.ts +12 -0
  184. package/dist/types/types/generated/graphql.internal.types.ts +9 -0
  185. package/dist/zonos-elements/assets/ChevronUpIcon.svg +23 -1
  186. package/dist/zonos-elements/assets/RemoveIcon.svg +1 -1
  187. package/dist/zonos-elements/index.esm.js +1 -1
  188. package/dist/zonos-elements/{p-8cbbdd53.system.entry.js → p-00bb8221.system.entry.js} +1 -1
  189. package/dist/zonos-elements/{p-e468f85e.entry.js → p-017bf338.entry.js} +1 -1
  190. package/dist/zonos-elements/{p-1b8c8e0c.system.entry.js → p-01d11845.system.entry.js} +1 -1
  191. package/dist/zonos-elements/p-0cc8c6a3.system.js +1 -0
  192. package/dist/zonos-elements/p-1a92ff9a.system.entry.js +1 -0
  193. package/dist/zonos-elements/{p-92ba4082.system.entry.js → p-2140ccb4.system.entry.js} +1 -1
  194. package/dist/zonos-elements/{p-8dae668f.system.entry.js → p-2183128a.system.entry.js} +1 -1
  195. package/dist/zonos-elements/{p-1e4f7997.system.entry.js → p-22e81fee.system.entry.js} +1 -1
  196. package/dist/zonos-elements/p-278d61ed.js +1 -0
  197. package/dist/zonos-elements/p-2b60faf8.entry.js +1 -0
  198. package/dist/zonos-elements/p-2d2ff962.entry.js +1 -0
  199. package/dist/zonos-elements/{p-bc4a147d.entry.js → p-3347e142.entry.js} +1 -1
  200. package/dist/zonos-elements/{p-811ed9bf.system.entry.js → p-3457c5e8.system.entry.js} +1 -1
  201. package/dist/zonos-elements/{p-2a47d2cc.system.entry.js → p-38886017.system.entry.js} +1 -1
  202. package/dist/zonos-elements/{p-41f42a5c.entry.js → p-42636c5a.entry.js} +1 -1
  203. package/dist/zonos-elements/p-4abca0e9.system.entry.js +1 -0
  204. package/dist/zonos-elements/{p-e3cb74fd.system.js → p-4ec7afc5.system.js} +1 -1
  205. package/dist/zonos-elements/{p-25633055.entry.js → p-58832515.entry.js} +1 -1
  206. package/dist/zonos-elements/{p-19fc5e11.system.entry.js → p-5d186fc7.system.entry.js} +1 -1
  207. package/dist/zonos-elements/{p-a2fedd1c.entry.js → p-5fb337a0.entry.js} +1 -1
  208. package/dist/zonos-elements/{p-f3fc05a8.entry.js → p-6a5d714a.entry.js} +1 -1
  209. package/dist/zonos-elements/{p-fca6f444.entry.js → p-6a83b682.entry.js} +1 -1
  210. package/dist/zonos-elements/{p-97f0d9d2.entry.js → p-6aa35f18.entry.js} +1 -1
  211. package/dist/zonos-elements/{p-a3200d5c.entry.js → p-771e2623.entry.js} +1 -1
  212. package/dist/zonos-elements/{p-7ca0622f.js → p-7cc5e325.js} +1 -1
  213. package/dist/zonos-elements/p-7f3aeb53.system.entry.js +1 -0
  214. package/dist/zonos-elements/p-844ec9f9.system.entry.js +1 -0
  215. package/dist/zonos-elements/p-9931bea7.system.entry.js +1 -0
  216. package/dist/zonos-elements/{p-7be7bd28.entry.js → p-997c8f07.entry.js} +1 -1
  217. package/dist/zonos-elements/{p-fac38f60.entry.js → p-9b911f6f.entry.js} +1 -1
  218. package/dist/zonos-elements/{p-95f0ffd1.system.entry.js → p-9cfa3736.system.entry.js} +1 -1
  219. package/dist/zonos-elements/{p-49478dba.system.js → p-a1fa0a1c.system.js} +1 -1
  220. package/dist/zonos-elements/{p-df4deb97.entry.js → p-a34f0674.entry.js} +1 -1
  221. package/dist/zonos-elements/{p-d26d827d.system.js → p-a6cff57f.system.js} +1 -1
  222. package/dist/zonos-elements/{p-a3e2592b.system.entry.js → p-ae7526a2.system.entry.js} +1 -1
  223. package/dist/zonos-elements/{p-6de38759.entry.js → p-afad2fae.entry.js} +1 -1
  224. package/dist/zonos-elements/{p-264fbd27.entry.js → p-b0303b0e.entry.js} +1 -1
  225. package/dist/zonos-elements/{p-a033685e.system.entry.js → p-c2b7b670.system.entry.js} +1 -1
  226. package/dist/zonos-elements/{p-d775bd42.entry.js → p-c6350880.entry.js} +1 -1
  227. package/dist/zonos-elements/p-c78dd680.system.js +1 -1
  228. package/dist/zonos-elements/p-ce41cbde.js +1 -0
  229. package/dist/zonos-elements/p-cec3e1ed.entry.js +1 -0
  230. package/dist/zonos-elements/{p-ba05f1d6.system.entry.js → p-d621f462.system.entry.js} +1 -1
  231. package/dist/zonos-elements/{p-f7b5ae86.system.entry.js → p-e3df5ff6.system.entry.js} +1 -1
  232. package/dist/zonos-elements/{p-f4765417.entry.js → p-e93b511f.entry.js} +1 -1
  233. package/dist/zonos-elements/{p-747eed39.entry.js → p-ea68ee1f.entry.js} +1 -1
  234. package/dist/zonos-elements/{p-51f8c3d5.system.entry.js → p-f1d043ad.system.entry.js} +1 -1
  235. package/dist/zonos-elements/p-f1e452e1.entry.js +1 -0
  236. package/dist/zonos-elements/{p-de93cc65.system.entry.js → p-f68c38d8.system.entry.js} +1 -1
  237. package/dist/zonos-elements/{p-d56f87ab.system.entry.js → p-f7bbdd0c.system.entry.js} +1 -1
  238. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  239. package/package.json +1 -1
  240. package/dist/esm-es5/cart-9bf6dece.js +0 -1
  241. package/dist/esm-es5/zonos-address_8.entry.js +0 -1
  242. package/dist/esm-es5/zonos-badge_13.entry.js +0 -1
  243. package/dist/types/components/utils/checkout/sortServiceLevelOptions.d.ts +0 -5
  244. package/dist/zonos-elements/p-214724f8.system.entry.js +0 -1
  245. package/dist/zonos-elements/p-23358611.js +0 -1
  246. package/dist/zonos-elements/p-62044821.system.js +0 -1
  247. package/dist/zonos-elements/p-6b4fec5a.js +0 -1
  248. package/dist/zonos-elements/p-6f821997.entry.js +0 -1
  249. package/dist/zonos-elements/p-a1c5c1a2.entry.js +0 -1
  250. package/dist/zonos-elements/p-d08ed3ea.system.entry.js +0 -1
  251. package/dist/zonos-elements/p-f4667002.system.entry.js +0 -1
@@ -52,28 +52,29 @@ export class ZonosCheckoutProgressTabs {
52
52
  render() {
53
53
  const selectedStep = cartStore.step;
54
54
  const labelSelectedColor = this.tabColor || zonosStore.appearance.colorSecondary;
55
+ const backgroundColor = this.backgroundColor || zonosStore.appearance.colorPrimary || '';
55
56
  // If the background color and the tab color are not contrat enough, increase the contrast of the label color
56
- const contrastLabelColor = this.backgroundColor && labelSelectedColor
57
+ const contrastLabelColor = backgroundColor && labelSelectedColor
57
58
  ? getContrastColor({
58
- backgroundColor: isColorVariable(this.backgroundColor)
59
+ backgroundColor: isColorVariable(backgroundColor)
59
60
  ? window
60
61
  .getComputedStyle(this.ele)
61
- .getPropertyValue(`--zonos-elements-${this.backgroundColor.replace('--zonos-elements-', '')}`)
62
- : this.backgroundColor,
62
+ .getPropertyValue(`--zonos-elements-${backgroundColor.replace('--zonos-elements-', '')}`)
63
+ : backgroundColor,
63
64
  color: labelSelectedColor,
64
65
  })
65
66
  : labelSelectedColor;
66
- return (h(Host, { key: '472a2f3201149fbc99057c8c5c39f002e792c37b', class: "zonos--elements", style: {
67
+ return (h(Host, { key: 'f7310a3631e3a1061d8f08af0fc7337fb0a6be26', class: "zonos--elements", style: {
67
68
  '--color': contrastLabelColor,
68
69
  '--progress-percent': this.getTotalSuccessStep(),
69
- } }, h("div", { key: 'bc90b6d7e6e8d9ef943473f6599588e326992814', class: "zonos--tab-wrapper" }, Object.values(cartStore.tabItems).map((tab, index) => {
70
+ } }, h("div", { key: 'fafce1662609cf7c966d9062ef55594d43e58643', class: "zonos--tab-wrapper" }, Object.values(cartStore.tabItems).map((tab, index) => {
70
71
  const isSelected = tab.value === selectedStep;
71
72
  return (h("button", { class: classes([
72
73
  'zonos--tab-item',
73
74
  tab.value === selectedStep && 'selected',
74
75
  tab.isDone && 'done',
75
76
  ]), disabled: !this.isTabClickable(tab.value), key: tab.value, onClick: () => (cartStore.step = tab.value) }, h("div", { class: "zonos--tab-index" }, h("zonos-text", { class: "zonos--tab-index-label", textColor: isSelected ? contrastLabelColor : 'gray-1200', type: "label" }, index + 1), h("zonos-icon", { class: "zonos--tab-index-done-icon", content: TabCheckmark, iconColor: isSelected ? contrastLabelColor : 'gray-1200' })), h("zonos-text", { textColor: isSelected ? contrastLabelColor : 'gray-1200', type: "label" }, translate(tab.label))));
76
- })), h("div", { key: '3e6ac1dd03568f4bebe55449742c98fee8dca57f', class: "zonos--tab-progress" }, h("div", { key: '5590853db6942aedf74542ebd76b2696df8aa99f', class: "zonos--progress-bar-fill" }))));
77
+ })), h("div", { key: '3d2a5c5289a694bf6ec8e93ba15ee4f79123d149', class: "zonos--tab-progress" }, h("div", { key: '7d6ea3e0c81cdb354ccf31748bf88d1937037c52', class: "zonos--progress-bar-fill" }))));
77
78
  }
78
79
  static get is() { return "zonos-checkout-progress-tabs"; }
79
80
  static get encapsulation() { return "shadow"; }
@@ -42,10 +42,10 @@ export class ZonosCollapse {
42
42
  // set overflow to hidden to prevent content from showing when collapsed
43
43
  this.el.style.overflow = 'hidden';
44
44
  }
45
- return (h(Host, { key: '7cc2167ab3dab1a975d141f3c58d3c5982c1645a', class: 'zonos--elements zonos--collapse', style: {
45
+ return (h(Host, { key: 'ee7ff46100d39b9baaf4eec60f9ae0a170ed793e', class: 'zonos--elements zonos--collapse', style: {
46
46
  '--font-family': zonosStoreFontFamily(),
47
47
  height: this.getElementHeight(),
48
- } }, h("div", { key: '1b791702f95066643ac82402a9fcff19b0fcc706' }, h("iframe", { key: '08f678a4ce92f5600c584e329e3039bc4588ff3a', class: "height-change-listener", tabindex: "-1", title: "collapse-height-change-listener" }), h("slot", { key: '83119f9ba9764c46fa7d1dd7b4c0b08c49033607' }))));
48
+ } }, h("div", { key: '8d59ba91560d35c13ce202370119c02f4af08431' }, h("iframe", { key: '4a7acd6d26f8ed38a405b03e987f3a011c52b94a', class: "height-change-listener", tabindex: "-1", title: "collapse-height-change-listener" }), h("slot", { key: 'dca0ec42b16a23f36724b6b8f2a730999a9b1367' }))));
49
49
  }
50
50
  static get is() { return "zonos-collapse"; }
51
51
  static get encapsulation() { return "shadow"; }
@@ -82,12 +82,12 @@ export class ZonosConfirmDialog {
82
82
  const borderStyle = getBorderRadius();
83
83
  // Get theme for the update dialog, inherit from the theme, no from this component theme
84
84
  const theme = getZonosStoreTheme(zonosStore.appearance.theme);
85
- return (h(Host, { key: 'ca8b99331f1241efe183dec928bd98cf5768e2e8', class: classes([this.dialogOpen && 'open', 'zonos--elements']), "data-dialog-type": this.dialogType, "data-theme": theme, style: {
85
+ return (h(Host, { key: '77cc26ec971a528d2f5115168c716de59440e5e3', class: classes([this.dialogOpen && 'open', 'zonos--elements']), "data-dialog-type": this.dialogType, "data-theme": theme, style: {
86
86
  '--border-radius': borderStyle,
87
87
  '--font-family': zonosStoreFontFamily(),
88
- } }, h("div", { key: '5f4e7750eeb7d86c229d0eb3880b642cf1f891f0', class: "zonos--backdrop", tabIndex: -1 }), h("div", { key: '962772361ce8d2c888db656d7c691cfcc2443040', "aria-hidden": "true", class: classes(['zonos--confirm-layout', this.dialogIntent]), onClick: e => this.clickOutsideDialogHandler(e) }, h("div", { key: '4935ea105fdfdea6c525449c4a460686347a6939', class: "zonos--confirm-dialog", onBlur: () => {
88
+ } }, h("div", { key: '6120bd47e631be5d2300a8a996fef355f6b1b269', class: "zonos--backdrop", tabIndex: -1 }), h("div", { key: '5cf784224ade84189f87059a6923ed6e31c01903', "aria-hidden": "true", class: classes(['zonos--confirm-layout', this.dialogIntent]), onClick: e => this.clickOutsideDialogHandler(e) }, h("div", { key: '506707fbae72411df534b98dd9a6d1ed4b15787b', class: "zonos--confirm-dialog", onBlur: () => {
89
89
  this.focusDialog();
90
- } }, h("div", { key: '0483bd8c2c9adba0ed521c04ab0ccfd806002a51', class: "wrapper" }, h("div", { key: 'dccd091571b48c2df046a86f4982496012951f08', class: "icon-wrapper" }, this.renderIcon()), h("div", { key: 'f6a0177b886aae16754a262326261d1a87f75dce', class: "content" }, h("div", { key: 'dc44e700a8d826d521fea7be527806faef1b1432', class: "title" }, h("zonos-text", { key: 'd42d21532cdcc276a1d1257fc6427d646003bd5d', type: "subheader" }, this.dialogTitle)), this.dialogSubtitle && (h("div", { key: '2bba84f332fce9b2a9702d9c6753e41a0120ead9', class: "subtitle" }, h("zonos-text", { key: '6840ddd1b655cf9b9fc974ada6864b9cea74f943', textColor: "gray-800" }, this.dialogSubtitle)))), h("div", { key: '3ff328db3a04418d6a1e0cb34af2ab894d4910f9', class: "footer" }, this.dialogType === 'confirm' && (h("zonos-button", { key: '7a05213b60700ee83b135309bc615168fae75a40', backgroundColor: "gray-0", class: "cancel-button", onClick: () => this.closeDialogHandler(), size: "lg", withBoxShadow: true }, this.dialogCancelBtnText || translate('Cancel'))), h("zonos-button", { key: '0fac5efc64f803d4f321ad269093119a7ffb3f20', class: "confirm-button", onClick: () => this.confirmDialogHandler(), size: "lg", variant: this.getButtonConfirmVariant() }, this.dialogConfirmBtnText)))))));
90
+ } }, h("div", { key: '0926f36a825557de771abe24369e4ec4d77a1b41', class: "wrapper" }, h("div", { key: 'dc260b08ba1635a2d3bdd3533e9ea49e042db36c', class: "icon-wrapper" }, this.renderIcon()), h("div", { key: 'abec0bf3234dc00d331bd364e28cfe47c5e0f93e', class: "content" }, h("div", { key: '58547007970d8be7b1fb5c9b4e1f3ed0d4d82420', class: "title" }, h("zonos-text", { key: '4759fe0b09f10ba8501d78a70b1e06ee55af12c0', type: "subheader" }, this.dialogTitle)), this.dialogSubtitle && (h("div", { key: 'd0144f944516b491494f0016d5ece673546ee4bf', class: "subtitle" }, h("zonos-text", { key: 'aa4b392f133c62a4f2aad40761fae713cc348c55', textColor: "gray-800" }, this.dialogSubtitle)))), h("div", { key: 'ed8bfb3286e0109c4cd3cea1635cb701d1aa5a45', class: "footer" }, this.dialogType === 'confirm' && (h("zonos-button", { key: '63a79f239cda9b934ff497d449626aa44f4c058a', backgroundColor: "gray-0", class: "cancel-button", onClick: () => this.closeDialogHandler(), size: "lg", withBoxShadow: true }, this.dialogCancelBtnText || translate('Cancel'))), h("zonos-button", { key: '70b1f265a31b1e8645ad1b386193b6785756bb09', class: "confirm-button", onClick: () => this.confirmDialogHandler(), size: "lg", variant: this.getButtonConfirmVariant() }, this.dialogConfirmBtnText)))))));
91
91
  }
92
92
  static get is() { return "zonos-confirm-dialog"; }
93
93
  static get encapsulation() { return "shadow"; }
@@ -44,9 +44,9 @@ export class ZonosCountrySelect {
44
44
  ? fuseObject.map(country => country.item)
45
45
  : countries.sort((a, b) => a.displayName.localeCompare(b.displayName));
46
46
  const isEmpty = !filteredCountries.length;
47
- return (h(Host, { key: 'd6d6a0736660d0c6e76f749f8ea78a8c95825b88', class: "zonos--elements", style: {
47
+ return (h(Host, { key: 'f3257748b306e07d0a644fc8d87870e9d5d462b4', class: "zonos--elements", style: {
48
48
  '--font-family': zonosStoreFontFamily(),
49
- } }, h("div", { key: '0bc3773965c49f0ee4da2056b6acc0ae361e227a', class: "zonos--country-select" }, h("zonos-v-stack", { key: '9e00877189dc39b789861c0425702d276cdad410', class: "zonos--country-select-header", spacing: 8 }, h("zonos-select-dialog-header", { key: '9c098afdf6db8ef8e18dc855e19ab6d45b7db8be', handleOnClose: () => this.handleOnClose(), label: translate('Select a country') }, h("input", { key: '10c59b07a42da02fb348e289dc0211ae33b96638', autocomplete: "off", autofocus: "autofocus", class: "zonos--country-select-input", onInput: this.handleInputChange, placeholder: translate('Search countries'), value: this.inputValue }))), h("div", { key: 'fec8fb874726377a3c4a03ac5d264fc7d8a94a21', class: "zonos--country-select-content" }, isEmpty && (h("zonos-text", { key: '182fb6955798519e63d63121752bc65ac6045770', class: "no-country", textColor: "gray-800" }, translate('No countries found'))), h("zonos-virtual-scroll", { key: '3ccda154b37344857595d65ce3131ca6d2610a11', class: "zonos--country-filter-content", fallbackItemHeight: 34, itemHeights: filteredCountries.map(() => 34), renderItem: index => {
49
+ } }, h("div", { key: '1704b9f79ccc13556c23f31354b7095786f21a2a', class: "zonos--country-select" }, h("zonos-v-stack", { key: '5b299d1a7dd781c3f7a09608c91941ec441018b8', class: "zonos--country-select-header", spacing: 8 }, h("zonos-select-dialog-header", { key: '10505e722658eee0cbb732fb4ee3fc2962b406df', handleOnClose: () => this.handleOnClose(), label: translate('Select a country') }, h("input", { key: 'e50fc2f2e33deb4d9147518867cc095e380df707', autocomplete: "off", autofocus: "autofocus", class: "zonos--country-select-input", onInput: this.handleInputChange, placeholder: translate('Search countries'), value: this.inputValue }))), h("div", { key: 'dba1d15adead635c53d45575d6b7bb4e10675e70', class: "zonos--country-select-content" }, isEmpty && (h("zonos-text", { key: 'cec5fcc95a1ff33f96c219afe121a4f3f92ee713', class: "no-country", textColor: "gray-800" }, translate('No countries found'))), h("zonos-virtual-scroll", { key: '6fe6e1e53327179664c1e2643a10a37edc27e1cd', class: "zonos--country-filter-content", fallbackItemHeight: 34, itemHeights: filteredCountries.map(() => 34), renderItem: index => {
50
50
  const country = filteredCountries[index];
51
51
  if (!country) {
52
52
  return null;
@@ -8,9 +8,9 @@ export class ZonosCustomMessage {
8
8
  }
9
9
  render() {
10
10
  const messageWithLinks = formatStringWithLinks(this.message);
11
- return (h(Host, { key: 'd6d31b58cf5396c136d81a5969b418c79229c930', class: "zonos--elements", style: {
11
+ return (h(Host, { key: 'f2542efde5b2180f518eb0f1a0be8ec2f3deb63d', class: "zonos--elements", style: {
12
12
  '--font-family': zonosStoreFontFamily(),
13
- } }, this.message && (h("zonos-card", { key: '4c62131117e23bbe475fb6f59a5e9bba8bc7d552', class: "zonos--custom-message", spacing: "12px" }, h("div", { key: '7ec3cbde2204fe0fa3b52844109bf0379677d567', class: "zonos--flex-message" }, h("zonos-icon", { key: 'cad94039767bd3d93fe9995aee34e8eb42fb707c', "aria-label": "Custom message icon", content: this.icon }), h("zonos-text", { key: 'f5bd77fafded83fefd99c45f0a78cf5c72459e47', innerHTML: messageWithLinks }))))));
13
+ } }, this.message && (h("zonos-card", { key: '8697b4134a09c6ed259f2570d46789833039ba0f', class: "zonos--custom-message", spacing: "12px" }, h("div", { key: 'ef707a0a88d04dd75c81eac9a27db9ac7218925a', class: "zonos--flex-message" }, h("zonos-icon", { key: 'f6e16706c1da3c01948908c24d1115d5f4ced0fa', "aria-label": "Custom message icon", content: this.icon }), h("zonos-text", { key: 'd9c3c382cce91a122bf4bd0439960fa492ac03e7', innerHTML: messageWithLinks }))))));
14
14
  }
15
15
  static get is() { return "zonos-custom-message"; }
16
16
  static get encapsulation() { return "shadow"; }
@@ -59,7 +59,7 @@ export class ZonosDialog {
59
59
  const borderStyle = getBorderRadius({
60
60
  overrideBorderStyle: this.borderStyle,
61
61
  });
62
- return (h(Host, { key: '03735385e07c7f6c8a87df42ad95f8c9d9533668', class: classes([
62
+ return (h(Host, { key: '0ba21daff1a07b91701cec30ff80c0b10a8f5344', class: classes([
63
63
  'zonos--elements',
64
64
  this.open && 'open',
65
65
  this.isLoading && 'is-loading',
@@ -71,10 +71,10 @@ export class ZonosDialog {
71
71
  '--height': this.height || 'initial',
72
72
  '--min-height': this.minHeight || '500px',
73
73
  '--width': this.width,
74
- } }, h("div", { key: 'da5d599e1a247f7e3364e6f5c9b2eae3db9539f5', class: "zonos--backdrop" }), h("div", { key: 'cda1a996d9521c2e0b307f7a03ca3ee3d4915b8d', class: "zonos--dialog-layout", inert: !this.open, onClick: this.clickOutsideDialogHandler }, h("div", { key: '471d8a069d4f580233bdb3e9e971efdb268ef57d', class: "zonos--dialog" }, this.isLoading && (h("div", { key: '57220007aabcaef133c2c0782fa238cc43d63964', class: "zonos--loading" }, h("zonos-spinner", { key: '0298b754341abd61ec07706128d05df5332f915d', size: 30 }))), (this.headerText || !this.noCloseButton) && (h("div", { key: '5103dbc1c7593a8042505f767d8290825f9d10e7', class: "zonos--header" }, this.headerText && (h("h3", { key: 'a2d9cd4c8cb359aa64cf104a172ca960068c20a0', class: "zonos--header-text" }, this.headerText)), !this.noCloseButton && (h("zonos-button", { key: 'de9bf8a949344d19fcb8bfb496719282553be194', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close dialog", content: RemoveIcon }), noBackground: true, onClick: this.closeButtonHandler, variant: "subtle" })))), h("div", { key: '1ec2cdca0f186cd0b28602580022ed0cb4b0eec9', class: classes([
74
+ } }, h("div", { key: '84c2c67ff9b89cf28cd7864a79e76daf9d0c5093', class: "zonos--backdrop" }), h("div", { key: 'c621463f2ca3721aacfdf666b0dd5a4749dd385a', class: "zonos--dialog-layout", inert: !this.open, onClick: this.clickOutsideDialogHandler }, h("div", { key: '61bf1362b55f4a7e515f3ab1b4fd9a0e1e1794b2', class: "zonos--dialog" }, this.isLoading && (h("div", { key: 'c84edec7ec322fc6a7eaf17ed54aeffd23dd4480', class: "zonos--loading" }, h("zonos-spinner", { key: '4f8e004e7286d053f195f9eea578dc416ff1d142', size: 30 }))), (this.headerText || !this.noCloseButton) && (h("div", { key: '196316fc1ec1e099b87ea36829d334c45c3a6a24', class: "zonos--header" }, this.headerText && (h("h3", { key: '452ba8e853ffe1fc278e4cb48dbdcc407d5257e6', class: "zonos--header-text" }, this.headerText)), !this.noCloseButton && (h("zonos-button", { key: '40933095b20bf1a993e142d58df10b50c0359b23', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close dialog", content: RemoveIcon }), noBackground: true, onClick: this.closeButtonHandler, variant: "subtle" })))), h("div", { key: '69a696e723483aafa595176dace2ed8bc3274836', class: classes([
75
75
  'zonos--body',
76
76
  this.noBodyPadding && 'zonos--no-body-padding',
77
- ]) }, h("slot", { key: '5071d921f48bf792a951a390d83b121e32771668' })), h("slot", { key: 'c1818ac301afc845f5b14fd0f2ac9a1fd3a27b99', name: "dialog-footer" })))));
77
+ ]) }, h("slot", { key: '53f5ea4e4bab900f4ddf720e3589862a40e3e91f' })), h("slot", { key: '1f7628b5749261e4e5ad703a78b5c9b276ad18e9', name: "dialog-footer" })))));
78
78
  }
79
79
  static get is() { return "zonos-dialog"; }
80
80
  static get encapsulation() { return "shadow"; }
@@ -17,17 +17,17 @@ export class ZonosInput {
17
17
  this.inputChange.emit(newValue);
18
18
  }
19
19
  render() {
20
- return (h(Host, { key: '66ab3a9ec4ac4f78e448008824471cecd4775e78', class: classes([
20
+ return (h(Host, { key: '1ad1bc4853aa4f4c251e1ab8ac45be8d1e3e98b6', class: classes([
21
21
  'zonos--input zonos--elements',
22
22
  this.inputSize,
23
23
  this.isError && 'has-error',
24
24
  ]), style: {
25
25
  '--border-radius': getBorderRadius(),
26
26
  '--font-family': zonosStoreFontFamily(),
27
- } }, h("div", { key: 'cef0295dea117c8bf0b8f3dc090f7c34648b9b31', class: classes([
27
+ } }, h("div", { key: 'd2fe3cd5800983913523ab6fce01b19d57c94d9c', class: classes([
28
28
  'zonos--label-wrapper',
29
29
  this.isDisabled && 'disabled',
30
- ]) }, h("input", { key: 'a5c9e0791292046e9520bf8d186f6dc76a23ba64', class: classes([
30
+ ]) }, h("input", { key: 'e0493952e9171c24164f847be23a4462572df336', class: classes([
31
31
  'zonos--floated-input',
32
32
  !!this.inputLabel && 'has-label',
33
33
  this.inputValue && 'has-content',
@@ -35,7 +35,7 @@ export class ZonosInput {
35
35
  ]), disabled: this.isDisabled, onInput: e => {
36
36
  const input = e.target;
37
37
  this.inputChange.emit(input.value);
38
- }, placeholder: this.inputPlaceholder, type: "text", value: this.value }), h("label", { key: '25f51d372fdb0819fe316bcbfce429d63ded358f', class: "zonos--floated-label", "data-label": this.inputLabel }))));
38
+ }, placeholder: this.inputPlaceholder, type: "text", value: this.value }), h("label", { key: 'f9733fa1eafc29354d3d6b045a05542927f3a5e1', class: "zonos--floated-label", "data-label": this.inputLabel }))));
39
39
  }
40
40
  static get is() { return "zonos-input"; }
41
41
  static get encapsulation() { return "shadow"; }
@@ -16,9 +16,9 @@ export class ZonosLanguageSelect {
16
16
  }
17
17
  render() {
18
18
  const { selectedLocale } = localizationStore;
19
- return (h(Host, { key: '448f89b5870956b6e9455968134b94c9409a983d', class: "zonos--elements", style: {
19
+ return (h(Host, { key: 'bea77d8916a999eade4d1201adbf37803b65901a', class: "zonos--elements", style: {
20
20
  '--font-family': zonosStoreFontFamily(),
21
- } }, h("div", { key: '23841aa801d68da4b537cfaab5ea89405ec66a9f', class: "zonos--language-select" }, h("zonos-select-dialog-header", { key: '5fc1b45aa0cb27c94163c2dace5ce4ad63215dfc', handleOnClose: () => this.handleOnClose(), label: translate('Select a language') }), h("div", { key: '7030fb276a05eea0e7333add3219b5316495662c', 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 })))))))));
21
+ } }, h("div", { key: '7c16efd7518f5952dac402c1fc2993e110d78fef', class: "zonos--language-select" }, h("zonos-select-dialog-header", { key: '52c7626a8378bd7c956a3fa9d339a263f686f80a', handleOnClose: () => this.handleOnClose(), label: translate('Select a language') }), h("div", { key: '6c00ad9b3270ae435ee32600651600a0a237ff07', 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 })))))))));
22
22
  }
23
23
  static get is() { return "zonos-language-select"; }
24
24
  static get encapsulation() { return "shadow"; }
@@ -7,7 +7,7 @@ export class ZonosLink {
7
7
  this.linkTitle = undefined;
8
8
  }
9
9
  render() {
10
- return (h(Host, { key: 'a5913bea95608f1f1a95186664d2032a4aff66ec', class: "zonos--elements" }, h("a", { key: 'dffb72ba6d1820669b1dbd9e841a242cbe58d860', href: this.href, rel: this.rel, target: this.target, title: this.linkTitle }, h("slot", { key: '774219d208dce4b32dcc715b827b1d85fc5dfe5e' }))));
10
+ return (h(Host, { key: '86fc4a9a03329f66e7f635669ca95d1372a62446', class: "zonos--elements" }, h("a", { key: 'ff257fcff1ffcc7e7c659969df96e551afb7146c', href: this.href, rel: this.rel, target: this.target, title: this.linkTitle }, h("slot", { key: 'f5906c958642d7e5f4e7bb913febf778995a7dc6' }))));
11
11
  }
12
12
  static get is() { return "zonos-link"; }
13
13
  static get encapsulation() { return "shadow"; }
@@ -10,11 +10,11 @@ export class ZonosLogo {
10
10
  const filterColor = this.theme === 'DARK'
11
11
  ? 'invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(102%) contrast(102%)'
12
12
  : 'whiteinvert(0%) sepia(100%) saturate(32%) hue-rotate(92deg) brightness(107%) contrast(107%)';
13
- return (h(Host, { key: '8737fef033ef8114ca67be72b2f598897a6929b3', class: classes(['zonos--elements zonos--logo']), style: {
13
+ return (h(Host, { key: 'f20974d5ff501108c4a52d01773ab20219c8d389', class: classes(['zonos--elements zonos--logo']), style: {
14
14
  '--filter-color': filterColor,
15
15
  '--font-family': zonosStoreFontFamily(),
16
16
  '--width': this.width,
17
- } }, h("img", { key: 'd5a15f2f8f891f865c7eb46268ae2f113ad1d3b4', alt: "Zonos Logo", src: getAssetPath('./assets/ZonosLogo.png') })));
17
+ } }, h("img", { key: 'd7acc90de67c51594abd44903c9fcb0b3e10a8bc', alt: "Zonos Logo", src: getAssetPath('./assets/ZonosLogo.png') })));
18
18
  }
19
19
  static get is() { return "zonos-logo"; }
20
20
  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: 'a87be11591bfc71ad5133ceeea1f6b396cd98055', class: classes(['zonos--elements zonos--restState']), style: {
17
+ return (h(Host, { key: '662eee60347a898a6dd94e7ca7d580932dfff7d7', class: classes(['zonos--elements zonos--restState']), style: {
18
18
  '--font-family': zonosStoreFontFamily(),
19
- } }, h("div", { key: 'c317f01e0ac745e6ef91df1247b98c72aa340ce8', class: "zonos--restState-image" }, h("img", { key: '34947c09f8bcb76b21a547d8f5e0aa88d957a760', alt: this.restStateType, onError: () => {
19
+ } }, h("div", { key: '92674dbfb60e16c68d24abc0809bfe0fad515739', class: "zonos--restState-image" }, h("img", { key: 'cafbc678396b0a1e0d6dc4781d5b43c3ea687c4b', alt: this.restStateType, onError: () => {
20
20
  this.isErrorImageLoad = true;
21
- }, src: imageUrl })), h("div", { key: '6e5ea4207cafd572ad947e10526d20c38b24764f', class: "content" }, h("zonos-text", { key: '2dcb142426419451a0543ef2a110d7e8c713879f', class: "title", type: "boldSubheader" }, this.restStateTitle), h("zonos-text", { key: '440fe0d032979b56316cc9dc58c67d2c62795f3a', class: "subtitle" }, this.restStateSubtitle)), h("div", { key: '2c9d2542bee1dc37202204529d8dd09b9c0592fa', class: "action" }, h("slot", { key: 'a50f0d183dd80a5c8509c8d3b839e342c661a33f' }))));
21
+ }, src: imageUrl })), h("div", { key: 'e05d28dd121469f81ecc962ac7d9f28b8b0764f7', class: "content" }, h("zonos-text", { key: 'b1c0d1cb51eca4357240d97f773a8359323a6024', class: "title", type: "boldSubheader" }, this.restStateTitle), h("zonos-text", { key: '4cdf80c1578fa29364fddf506c9c58e264d7fb34', class: "subtitle" }, this.restStateSubtitle)), h("div", { key: '6ed981023268438ee9ca5e3a330649d13b897156', class: "action" }, h("slot", { key: 'bfa3fa672372bfff4b3e270964431aa25dd53f25' }))));
22
22
  }
23
23
  static get is() { return "zonos-rest-state"; }
24
24
  static get encapsulation() { return "shadow"; }
@@ -8,9 +8,9 @@ export class ZonosSelectDialogHeader {
8
8
  this.label = '';
9
9
  }
10
10
  render() {
11
- return (h(Host, { key: '8ac4e1bcd64f6a2073e1161fec76c9b117345ada', class: "zonos--elements", style: {
11
+ return (h(Host, { key: 'a1b2433a81210b6a0a78be3cb027f885cd870d2c', class: "zonos--elements", style: {
12
12
  '--font-family': zonosStoreFontFamily(),
13
- } }, h("zonos-v-stack", { key: 'fe4a184a8bed7aceb4c3f8d341fed50380587c77', class: "zonos--select-dialog-header-wrapper", spacing: 8 }, h("div", { key: '2176069a11ba20c7408ef898044f2ba68eea4a80', class: "zonos--select-dialog-header" }, h("zonos-text", { key: '45b9d890484881a15c4fa7a7e4028f9887cc942e', type: "boldLabel" }, this.label), h("zonos-button", { key: '65f0d9ea7b6dee35d23aa6fca19fd686190b667f', 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: '758fce95d668ad755745687d3fcf1a6a307061bc' }))));
13
+ } }, h("zonos-v-stack", { key: 'a9e61575c6c6c34c6097dd937dea7c199130f7f0', class: "zonos--select-dialog-header-wrapper", spacing: 8 }, h("div", { key: '266b89174f64825bec793bd30d44c1f75f220b1f', class: "zonos--select-dialog-header" }, h("zonos-text", { key: '7fd1f62f22610a2601497e897e98d5f5e0437601', type: "boldLabel" }, this.label), h("zonos-button", { key: 'afa95565fae19d97e038885f5244ee292f960a69', 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: 'c28af84460321290623f17120ef1583aaf898105' }))));
14
14
  }
15
15
  static get is() { return "zonos-select-dialog-header"; }
16
16
  static get encapsulation() { return "shadow"; }
@@ -7,7 +7,6 @@ export class ZonosShippingRichRadio {
7
7
  constructor() {
8
8
  this.handleRichRadioSelect = (item) => {
9
9
  var _a;
10
- this.selectedItem = item;
11
10
  (_a = this.radioSelected) === null || _a === void 0 ? void 0 : _a.emit(item);
12
11
  };
13
12
  this.getRadioItemStyleVariables = () => {
@@ -26,20 +25,11 @@ export class ZonosShippingRichRadio {
26
25
  this.borderColor = undefined;
27
26
  this.borderStyle = undefined;
28
27
  this.theme = undefined;
29
- this.initialSelectedValue = undefined;
30
28
  this.selectedItem = null;
31
29
  }
32
- componentWillLoad() {
33
- // Set initial selected item
34
- if (this.initialSelectedValue) {
35
- this.selectedItem =
36
- this.items.find(item => item.value === this.initialSelectedValue) ||
37
- null;
38
- }
39
- }
40
30
  render() {
41
31
  var _a;
42
- return (h(Host, { key: '83ee4ddc5ad32514ca98457812207964cf452217', class: "zonos--shipping-rich-radio zonos--elements", "data-theme": this.theme, style: Object.assign(Object.assign({}, this.getRadioItemStyleVariables()), { '--font-family': zonosStoreFontFamily() }) }, (_a = this.items) === null || _a === void 0 ? void 0 : _a.map(item => {
32
+ return (h(Host, { key: '74cb16ff6cfde65b626ef902c456b967af649f6d', class: "zonos--shipping-rich-radio zonos--elements", "data-theme": this.theme, style: Object.assign(Object.assign({}, this.getRadioItemStyleVariables()), { '--font-family': zonosStoreFontFamily() }) }, (_a = this.items) === null || _a === void 0 ? void 0 : _a.map(item => {
43
33
  var _a;
44
34
  const selected = ((_a = this.selectedItem) === null || _a === void 0 ? void 0 : _a.value) === item.value;
45
35
  return (h("div", { "aria-hidden": "true", class: classes([
@@ -152,30 +142,33 @@ export class ZonosShippingRichRadio {
152
142
  "attribute": "theme",
153
143
  "reflect": false
154
144
  },
155
- "initialSelectedValue": {
156
- "type": "any",
145
+ "selectedItem": {
146
+ "type": "unknown",
157
147
  "mutable": false,
158
148
  "complexType": {
159
- "original": "string | number",
160
- "resolved": "number | string | undefined",
161
- "references": {}
149
+ "original": "ShippingRichRadioItem | null",
150
+ "resolved": "null | { amount: number; caption?: string | undefined; label: string; landedCostId: string; method: IncotermCode; price: string; shipmentRatingId: string; sublabel?: string | undefined; value: string | number; }",
151
+ "references": {
152
+ "ShippingRichRadioItem": {
153
+ "location": "local",
154
+ "path": "/home/runner/work/zonos-elements/zonos-elements/src/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.tsx",
155
+ "id": "src/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.tsx::ShippingRichRadioItem"
156
+ }
157
+ }
162
158
  },
163
159
  "required": false,
164
- "optional": true,
160
+ "optional": false,
165
161
  "docs": {
166
- "tags": [],
167
- "text": "Initial selected value"
162
+ "tags": [{
163
+ "name": "default",
164
+ "text": "{null|firstItem}"
165
+ }],
166
+ "text": "Selected item"
168
167
  },
169
- "attribute": "initial-selected-value",
170
- "reflect": false
168
+ "defaultValue": "null"
171
169
  }
172
170
  };
173
171
  }
174
- static get states() {
175
- return {
176
- "selectedItem": {}
177
- };
178
- }
179
172
  static get events() {
180
173
  return [{
181
174
  "method": "radioSelected",
@@ -189,7 +182,7 @@ export class ZonosShippingRichRadio {
189
182
  },
190
183
  "complexType": {
191
184
  "original": "ShippingRichRadioItem",
192
- "resolved": "{ amount: number; caption?: string | undefined; label: string; landedCostId: string; price: string; shipmentRatingId: string; sublabel?: string | undefined; value: string | number; }",
185
+ "resolved": "{ amount: number; caption?: string | undefined; label: string; landedCostId: string; method: IncotermCode; price: string; shipmentRatingId: string; sublabel?: string | undefined; value: string | number; }",
193
186
  "references": {
194
187
  "ShippingRichRadioItem": {
195
188
  "location": "local",
@@ -7,10 +7,10 @@ export class ZonosTooltip {
7
7
  this.showTooltip = false;
8
8
  }
9
9
  render() {
10
- return (h(Host, { key: '24f3b1f73cc320540ab3700213004c267ea04658', class: "zonos--elements" }, h("div", { key: '7f52acf90cb5b9f1fd5efdc4fedc4d61a893a646', class: "zonos--tooltip", onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, h("slot", { key: '1871529e8b75c44a71bf1f5bc9e60b81bbc598d2' }), h("div", { key: 'c0b9c9c1b3fef5f766d2bad4c5bea48f3d6bbb6f', class: classes([
10
+ return (h(Host, { key: '091516a0a68f8b4ab2580a8118900c34b39e931c', class: "zonos--elements" }, h("div", { key: '77769b18201f87d601d5bdb860a4bc8c84bb4e90', class: "zonos--tooltip", onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, h("slot", { key: '139c1de415b94e12b8d575e3662cba9faf56cb2f' }), h("div", { key: '60c38adf74e9b776001844c2205ac87a4562b525', class: classes([
11
11
  this.showTooltip && 'zonos--show-tooltip',
12
12
  'zonos--tooltip-content',
13
- ]) }, h("zonos-text", { key: '3b106cb439877dffa101f15fb01aff980a64c7cb', size: "s", textColor: "gray-0", type: "boldLabel" }, this.label), h("zonos-text", { key: 'c0005051e6e1b614b7739718e1a262f6043d56f5', size: "xs", textColor: "gray-0" }, this.subtitle)))));
13
+ ]) }, h("zonos-text", { key: 'bb87c44ee7831c24b47c43b17d2b04c79112e900', size: "s", textColor: "gray-0", type: "boldLabel" }, this.label), h("zonos-text", { key: '5d114d284a15a1661e926bfe5fae9251513c7370', size: "xs", textColor: "gray-0" }, this.subtitle)))));
14
14
  }
15
15
  static get is() { return "zonos-tooltip"; }
16
16
  static get encapsulation() { return "shadow"; }
@@ -7,9 +7,9 @@ export class VStack {
7
7
  this.spacing = 24;
8
8
  }
9
9
  render() {
10
- return (h(Host, { key: 'e542ff8bbefa3223f157ad4bd6e537af8e5d5a5d', style: {
10
+ return (h(Host, { key: 'fca41f57f80879bf7cb32fa7858777a26a36755d', style: {
11
11
  '--font-family': zonosStoreFontFamily(),
12
- } }, h("div", { key: '9bd1cc8fdf94265d7d2767d507af7ad21d77234d', class: classes(['vstack']), style: { 'grid-row-gap': `${this.spacing}px` } }, h("slot", { key: 'c8a294410e4c1348405c53283cf4dba176d5b27b' }))));
12
+ } }, h("div", { key: '8b608328327817a540c56dca58ad32ebe622d48e', class: classes(['vstack']), style: { 'grid-row-gap': `${this.spacing}px` } }, h("slot", { key: 'c29eeb4c2d0f781bdca44d355d2da75e15576d86' }))));
13
13
  }
14
14
  static get is() { return "zonos-v-stack"; }
15
15
  static get encapsulation() { return "shadow"; }
@@ -56,12 +56,12 @@ export class ZonosVirtualScroll {
56
56
  } }, this.renderItem(i)));
57
57
  accHeight += itemHeight;
58
58
  }
59
- return (h(Host, { key: '6faa73cacfefee42781f87e6f697980941139d12' }, h("div", { key: '5411c13934b8b997f68bc6678e6e1c475d6d453c',
59
+ return (h(Host, { key: '1aa49d98976b0856f960a6fc67ee7d04e1dd5317' }, h("div", { key: 'ede653037499e0b925e1cab13a632f8a6da6b9f4',
60
60
  // to capture scroll action
61
61
  class: "scroller", style: {
62
62
  height: `${this.totalHeight}px`,
63
63
  width: `${W}px`,
64
- } }), h("div", { key: '46c402a5a0df3242b9022e16b15d5e348210bc32',
64
+ } }), h("div", { key: 'da2fb9c529a96b9f31c3604235e3a6913a145743',
65
65
  // to display items
66
66
  class: "item-container", ref: el => (this.container = el), style: {
67
67
  height: `${this.totalHeight}px`,
@@ -10,7 +10,7 @@ export class ZonosComponent {
10
10
  return format(this.first, this.middle, this.last);
11
11
  }
12
12
  render() {
13
- return h("div", { key: 'ece01ba1df61d0c15e60d2cf9fffbf4c01268612' }, "Hello, World! I'm ", this.getText());
13
+ return h("div", { key: '4781e3197d34a39d600c1eebc8ed97e801791c81' }, "Hello, World! I'm ", this.getText());
14
14
  }
15
15
  static get is() { return "zonos-component"; }
16
16
  static get encapsulation() { return "shadow"; }
@@ -18,9 +18,9 @@ export class ZonosHelloDialogFooter {
18
18
  const language = (_b = languages.find(x => x.code === localizationStore.selectedLocale)) === null || _b === void 0 ? void 0 : _b.translatedLabel;
19
19
  // Only use gray-0 (white) when the background color is dark (apply inverted color if the element is using dark theme variable)
20
20
  const mainColor = primaryColor && isDarkColor(primaryColor) ? 'white' : 'black';
21
- return (h(Host, { key: 'a9b52a67a2db1967fe6fde4f19dc8d2785469f8a', class: "zonos--elements" }, h("div", { key: '1b36f45f0f00fe2b6494fb04373b12b4848b9484', class: "zonos--hello-dialog-footer", style: {
21
+ return (h(Host, { key: '3ec3d830c3818a9f3661eefe7da50520919e7800', class: "zonos--elements" }, h("div", { key: 'c67564b69ce94116285cf28b9c4d8158f1d732cc', class: "zonos--hello-dialog-footer", style: {
22
22
  '--primary-color': primaryColor,
23
- } }, h("a", { key: '7ca110d30f9266d021069af41766588ffce3d2ad', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, h("zonos-icon", { key: 'f9f4866c18bc75577e5a3961ffdd67f48977fd68', "aria-label": "Zonos Logo", autoHeight: true, content: ZonosIcon, iconColor: mainColor, size: 108 })), h("div", { key: '2bacafbd2c2d9c79935b7a2c69ae9fd3e1ede48a', class: "zonos--hello-locale-wrapper" }, h("zonos-button", { key: 'a223f6706d319da505e8f013bff6863a433effd3', 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: 'aa94f1e06b80f6bec8433c3c8a7b066f0d91df08', 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)))));
23
+ } }, h("a", { key: 'fcb17ee52dc72b107a0c43c27103bc6ebd400ee1', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, h("zonos-icon", { key: 'f73ba904c41c936d020d5c61d087deaedf9d4708', "aria-label": "Zonos Logo", autoHeight: true, content: ZonosIcon, iconColor: mainColor, size: 108 })), h("div", { key: '6b3909844a290b1a76a0f77d2371ba1aba72a536', class: "zonos--hello-locale-wrapper" }, h("zonos-button", { key: 'd1cc73adf8c92a97b656b6054613caa71d742afa', 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: 'f9497df1d84e9c18ac02b614c43449f9ffd311ed', 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)))));
24
24
  }
25
25
  static get is() { return "zonos-hello-dialog-footer"; }
26
26
  static get encapsulation() { return "shadow"; }
@@ -232,18 +232,18 @@ export class ZonosHelloDialog {
232
232
  const defaultMessage = formatStringWithLinks(defaultMessageStr);
233
233
  const currentPage = this.getCurrentPageEnum();
234
234
  const filteredMessages = customMessages.filter(x => x.pageName === currentPage);
235
- return (h(Host, { key: 'df052224c778ebfceeef7c827fa3da0e8a2f3dc9', class: "zonos--elements" }, h("div", { key: '0ecff6a07d24a72fb4f200cce82ab09e40b48baf', class: classes([
235
+ return (h(Host, { key: '7ff123654399aee05fd295c108e01d924a8964e5', class: "zonos--elements" }, h("div", { key: '316720cc18d1b9fbbf86cbfcde1f25106b1197e8', class: classes([
236
236
  'zonos--hello-dialog',
237
237
  animateLeft && 'zonos--hello-dialog-animate-from-left',
238
238
  animateFromBottom && 'zonos--hello-dialog-animate-from-bottom',
239
239
  !!this.mobileLocationOverride &&
240
240
  'zonos--hello-dialog-mobile-override',
241
241
  this.isOpen && 'zonos--hello-dialog-open',
242
- ]), inert: !this.isOpen, ref: el => el && (this.dialogRef = el) }, !this.showCountrySelect && !this.showLanguageSelect && (h("div", { key: 'b2939d49930c8a34288a884582eb849a492080ff' }, h("div", { key: 'f1a22291d7865d57d37cbcd3c8f70c4aea57ed39', class: "zonos--hello-dialog-content" }, h("zonos-button", { key: 'ee3794826efc9fed856f0a320cf6428a428b4ea4', 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: '3d2ff0b68268c97e385eb3cf7fcc34454d2ed3b5', spacing: 24 }, h("zonos-country-flag", { key: 'e09645ac583e59354d11b3c194d4d3f6d4780c55', class: "zonos--hello-country-flag", countryCode: selectedCountryCode }), h("zonos-v-stack", { key: '42017a698c1678b90c8c7bbece5d623d0800e37b', class: "zonos--hello-dialog-header", spacing: 4 }, h("zonos-text", { key: 'ac30b7683dcc65773159832eadad8542d1d1bda8', type: "boldSubheader" }, welcomeMessage), h("zonos-text", { key: '58cc0e8c51774c339b0fc735e4e98917ed614c8a', innerHTML: defaultMessage, textColor: "gray-800" })), h("zonos-v-stack", { key: '0b3a3b2bf981ed72654506cc31f07edf6268b0a4', spacing: 8 }, this.restrictedItems.map(item => {
242
+ ]), inert: !this.isOpen, ref: el => el && (this.dialogRef = el) }, !this.showCountrySelect && !this.showLanguageSelect && (h("div", { key: '29a0018c2c8eb7fdde938e432ea783517d364ea8' }, h("div", { key: 'a882452996503ddb4feb3e431eaf9cc14dc2ff34', class: "zonos--hello-dialog-content" }, h("zonos-button", { key: '2c656e792daa59c0ce5770d71a779de270a8adc8', 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: '1dd3473645c5581fee41da086a478b6eb6f3104e', spacing: 24 }, h("zonos-country-flag", { key: '57bdcb6b5e2044b65868a53e91220b7eea5c389e', class: "zonos--hello-country-flag", countryCode: selectedCountryCode }), h("zonos-v-stack", { key: '8f01898edbd5c30771a2c8d12e0919f6b41cc96c', class: "zonos--hello-dialog-header", spacing: 4 }, h("zonos-text", { key: '75728fcc40efe82ff58e767b3c3c9f60f96f37b2', type: "boldSubheader" }, welcomeMessage), h("zonos-text", { key: 'b82ebf2adacbb72637064b04957846ee79f10bd5', innerHTML: defaultMessage, textColor: "gray-800" })), h("zonos-v-stack", { key: '7a0ae96961883e1a55248d4163da3bed2e76d077', spacing: 8 }, this.restrictedItems.map(item => {
243
243
  var _a;
244
244
  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)))));
245
- }), h("zonos-card", { key: '196a593b167fc979bf0a2bef7f266ad3778f6ca0', spacing: "12px" }, h("zonos-v-stack", { key: '94925c753ddfdd1a659580f7f78f8d6626cdcdaa', spacing: 12 }, hasInclusivePrices ? (h("div", { class: "zonos--flex-message" }, h("zonos-icon", { "aria-label": "Duty de minimis", content: InclusivePricingIcon }), h("zonos-text", null, inclusivePriceMessage))) : (h(Fragment, null, h("div", { class: "zonos--flex-message" }, h("zonos-icon", { "aria-label": "Duty de minimis", content: ImportIcon }), h("zonos-text", null, dutyDeMinimisMessage)), h("div", { class: "zonos--flex-message" }, h("zonos-icon", { "aria-label": "Tax de minimis", content: MoneyIcon }), h("zonos-text", null, taxDeMinimisMessage)))), additionalInformation === null || additionalInformation === void 0 ? void 0 :
246
- additionalInformation.map(info => (h("div", { class: "zonos--flex-message" }, h("zonos-icon", { "aria-label": "Additional information for buying goods from selected country", content: BagIcon }), h("zonos-text", { innerHTML: info })))))), filteredMessages.map(x => (h("zonos-custom-message", { icon: MessageIcon, message: x.message })))))), h("zonos-hello-dialog-footer", { key: '540006185ce1d28d610052801dcf9281773c5504', appearanceSettings: this.appearanceSettings, setShowCountrySelect: value => this.setShowCountrySelect(value), setShowLanguageSelect: value => this.setShowLanguageSelect(value) }))), this.showCountrySelect && (h("div", { key: '886c371fdfa8c9c15188ef9d6cbb637162fb0d27' }, h("zonos-country-select", { key: '1365bee67831b64637e5c481f239c557f2649694', handleOnClose: () => this.setShowCountrySelect(false) }))), this.showLanguageSelect && (h("div", { key: '44929f0c23627970b1706f6e8c76e51022201379' }, h("zonos-language-select", { key: '86b9f68c84da77f9e1af51dcb7d512eb6b289a27', handleOnClose: () => this.setShowLanguageSelect(false) }))))));
245
+ }), h("zonos-card", { key: 'd6a1f8270f3b6c69febc04224e6a0fa7ada5e07a', spacing: "12px" }, h("zonos-v-stack", { key: '209eac48b847c3ac4c7e8eb9df35c95416d89536', spacing: 12 }, hasInclusivePrices ? (h("div", { class: "zonos--flex-message" }, h("zonos-icon", { "aria-label": "Duty de minimis", content: InclusivePricingIcon }), h("zonos-text", null, inclusivePriceMessage))) : (h(Fragment, null, h("div", { class: "zonos--flex-message" }, h("zonos-icon", { "aria-label": "Duty de minimis", content: ImportIcon }), h("zonos-text", null, dutyDeMinimisMessage)), h("div", { class: "zonos--flex-message" }, h("zonos-icon", { "aria-label": "Tax de minimis", content: MoneyIcon }), h("zonos-text", null, taxDeMinimisMessage)))), additionalInformation === null || additionalInformation === void 0 ? void 0 :
246
+ additionalInformation.map(info => (h("div", { class: "zonos--flex-message" }, h("zonos-icon", { "aria-label": "Additional information for buying goods from selected country", content: BagIcon }), h("zonos-text", { innerHTML: info })))))), filteredMessages.map(x => (h("zonos-custom-message", { icon: MessageIcon, message: x.message })))))), h("zonos-hello-dialog-footer", { key: 'e9444ec1c3c3616712faeba92734b4275d373da1', appearanceSettings: this.appearanceSettings, setShowCountrySelect: value => this.setShowCountrySelect(value), setShowLanguageSelect: value => this.setShowLanguageSelect(value) }))), this.showCountrySelect && (h("div", { key: 'a612e3daa6de5e5f73422ed8ebed8b3a682c3c46' }, h("zonos-country-select", { key: 'b45c18d7feaf95e74da6e0540ea28325a24d287b', handleOnClose: () => this.setShowCountrySelect(false) }))), this.showLanguageSelect && (h("div", { key: 'e50779d3c0e3c83587ae445e9ded8e108f893e31' }, h("zonos-language-select", { key: 'b502cef6095a0e9a57b3c81fa354ca3614060878', handleOnClose: () => this.setShowLanguageSelect(false) }))))));
247
247
  }
248
248
  static get is() { return "zonos-hello-dialog"; }
249
249
  static get encapsulation() { return "shadow"; }
@@ -204,7 +204,7 @@ export class ZonosController {
204
204
  zonosStore.organizationName = organizationName;
205
205
  }
206
206
  render() {
207
- return h(Host, { key: 'c168f24dcc30dffd48c604f8888b093a7a3f1525', class: "zonos--elements" });
207
+ return h(Host, { key: '133cc684aab52bfe4be6c4a318b1769928acc7a8', class: "zonos--elements" });
208
208
  }
209
209
  static get is() { return "zonos-controller"; }
210
210
  static get encapsulation() { return "shadow"; }
@@ -41,7 +41,7 @@ export class ZonosPaypalPayment {
41
41
  void this.loadPaypal();
42
42
  }
43
43
  render() {
44
- return (h(Host, { key: 'a09fe5b66b1ac971c10529ecb6213479f2870f08', class: "zonos--paypal-payment zonos--elements" }, h("div", { key: '6ba337785b8a90965e0cba05fd62681bc92633fe', class: "zonos--payment-paypal-container" })));
44
+ return (h(Host, { key: '6bfc962de500edbb105b7eb899711e48def78167', class: "zonos--paypal-payment zonos--elements" }, h("div", { key: '92d1b1c416f5e233c54e50d47129be375ef0a68b', class: "zonos--payment-paypal-container" })));
45
45
  }
46
46
  static get is() { return "zonos-paypal-payment"; }
47
47
  static get encapsulation() { return "scoped"; }