@zonos/elements 1.3.261 → 1.3.263

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 (318) hide show
  1. package/dist/cjs/{cart-d08c87e2.js → cart-02a93797.js} +4 -4
  2. package/dist/cjs/{debounce-3e17b4e9.js → debounce-606d1801.js} +1 -1
  3. package/dist/cjs/{getBorderRadius-db55a464.js → getBorderRadius-a91911e7.js} +1 -1
  4. package/dist/cjs/{getContrastColor-8ed1cb48.js → getContrastColor-68058615.js} +2 -2
  5. package/dist/cjs/{hasInclusivePrice-c781c336.js → hasInclusivePrice-751ef38b.js} +1 -1
  6. package/dist/cjs/index.cjs.js +12 -9
  7. package/dist/cjs/{invoice-e64f97c6.js → invoice-215b8d2b.js} +3 -3
  8. package/dist/cjs/{isCollectMobileTablet-9675485f.js → isCollectMobileTablet-0d909501.js} +3 -3
  9. package/dist/cjs/{isContrastColor-6a17f408.js → isContrastColor-a02c4889.js} +1 -1
  10. package/dist/cjs/{isDarkColor-bfe6d1eb.js → isDarkColor-e317bb06.js} +1 -1
  11. package/dist/cjs/loader.cjs.js +1 -1
  12. package/dist/cjs/{localization-a7fac4b4.js → localization-68ebf7c6.js} +1 -1
  13. package/dist/cjs/{paypal-73a542cb.js → paypal-f8a0cca3.js} +144 -10
  14. package/dist/cjs/{placeTestOrder-aefd31e8.js → placeTestOrder-ce734b60.js} +2 -2
  15. package/dist/cjs/{renderCheckoutCurrency-a374741a.js → renderCheckoutCurrency-d163c1c4.js} +2 -2
  16. package/dist/cjs/submitGtag-07a3b09e.js +167 -0
  17. package/dist/cjs/{throttle-dac93461.js → throttle-8aebac7d.js} +2 -2
  18. package/dist/cjs/{updateCheckoutSessionAttributes-a3776bb0.js → updateCheckoutSessionAttributes-a9a97194.js} +1 -1
  19. package/dist/cjs/zonos-address-display_8.cjs.entry.js +7 -7
  20. package/dist/cjs/zonos-address_4.cjs.entry.js +7 -7
  21. package/dist/cjs/zonos-badge.cjs.entry.js +1 -1
  22. package/dist/cjs/zonos-banner.cjs.entry.js +1 -1
  23. package/dist/cjs/zonos-button_3.cjs.entry.js +3 -3
  24. package/dist/cjs/zonos-card_5.cjs.entry.js +8 -8
  25. package/dist/cjs/zonos-cart-items_12.cjs.entry.js +42 -33
  26. package/dist/cjs/zonos-checkbox_2.cjs.entry.js +3 -3
  27. package/dist/cjs/zonos-checkout.cjs.entry.js +15 -15
  28. package/dist/cjs/zonos-collapse.cjs.entry.js +1 -1
  29. package/dist/cjs/zonos-collect-cart-items_3.cjs.entry.js +5 -5
  30. package/dist/cjs/zonos-collect-finish_6.cjs.entry.js +17 -17
  31. package/dist/cjs/zonos-collect.cjs.entry.js +9 -9
  32. package/dist/cjs/zonos-controller.cjs.entry.js +8 -8
  33. package/dist/cjs/zonos-country-flag.cjs.entry.js +2 -2
  34. package/dist/cjs/zonos-country-select_4.cjs.entry.js +3 -3
  35. package/dist/cjs/zonos-elements.cjs.js +1 -1
  36. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +13 -11
  37. package/dist/cjs/zonos-hello.cjs.entry.js +46 -14
  38. package/dist/cjs/zonos-input.cjs.entry.js +2 -2
  39. package/dist/cjs/zonos-invoice-cart-items_2.cjs.entry.js +7 -7
  40. package/dist/cjs/zonos-invoice-finish_5.cjs.entry.js +17 -17
  41. package/dist/cjs/zonos-invoice.cjs.entry.js +9 -9
  42. package/dist/cjs/zonos-language-select_2.cjs.entry.js +2 -2
  43. package/dist/cjs/zonos-logo.cjs.entry.js +1 -1
  44. package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +5 -5
  45. package/dist/cjs/zonos-store-credit.cjs.entry.js +6 -6
  46. package/dist/cjs/zonos-stripe-input.cjs.entry.js +3 -3
  47. package/dist/cjs/zonos-text.cjs.entry.js +1 -1
  48. package/dist/cjs/zonos-v-stack.cjs.entry.js +1 -1
  49. package/dist/cjs/{zonosStore-1c517e55.js → zonosStore-0662b95f.js} +1 -0
  50. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +12 -12
  51. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.css +7 -0
  52. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.js +7 -3
  53. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +6 -6
  54. package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.css +7 -0
  55. package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.js +5 -1
  56. package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.css +7 -0
  57. package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.js +6 -3
  58. package/dist/collection/components/checkout/zonos-collect/zonos-collect-finish/zonos-collect-finish.js +6 -6
  59. package/dist/collection/components/checkout/zonos-collect/zonos-collect-payment/zonos-collect-payment.js +2 -2
  60. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-finish/zonos-invoice-finish.js +6 -6
  61. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-payment/zonos-invoice-payment.js +2 -2
  62. package/dist/collection/components/hello/zonos-hello/zonos-hello.css +23 -15
  63. package/dist/collection/components/hello/zonos-hello/zonos-hello.js +45 -10
  64. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +10 -8
  65. package/dist/collection/components/main/zonos-controller.js +2 -2
  66. package/dist/collection/components/store/checkout/paypal.js +4 -4
  67. package/dist/collection/components/store/zonosStore.js +1 -0
  68. package/dist/collection/components/utils/analytics/analyticsRelayState.js +112 -0
  69. package/dist/collection/components/utils/analytics/mapToFbEvent.js +66 -0
  70. package/dist/collection/components/utils/hello/getHelloWidgetSize.js +22 -0
  71. package/dist/collection/components/utils/submitAnalytics.js +16 -0
  72. package/dist/collection/components/utils/submitFbq.js +56 -0
  73. package/dist/collection/components/utils/submitGtag.js +15 -78
  74. package/dist/collection/scripts/_zonosBase.js +5 -2
  75. package/dist/collection/types/analyticsRelay.js +2 -2
  76. package/dist/collection/types/generated/graphql.internal.types.js +67 -1
  77. package/dist/esm/{cart-c490d252.js → cart-34b11708.js} +4 -4
  78. package/dist/esm/{debounce-8faafc9f.js → debounce-ab526ca0.js} +1 -1
  79. package/dist/esm/{getBorderRadius-66de1b16.js → getBorderRadius-98c64be8.js} +1 -1
  80. package/dist/esm/{getContrastColor-e14f95a7.js → getContrastColor-2340485f.js} +2 -2
  81. package/dist/esm/{hasInclusivePrice-7a0ce66a.js → hasInclusivePrice-dfb21fc9.js} +1 -1
  82. package/dist/esm/index.js +12 -9
  83. package/dist/esm/{invoice-3ea5715b.js → invoice-6d8bdf21.js} +3 -3
  84. package/dist/esm/{isCollectMobileTablet-0dcbd45a.js → isCollectMobileTablet-85403c93.js} +3 -3
  85. package/dist/esm/{isContrastColor-f9e65e70.js → isContrastColor-6bad285e.js} +1 -1
  86. package/dist/esm/{isDarkColor-8092a9fb.js → isDarkColor-0a8453e7.js} +1 -1
  87. package/dist/esm/loader.js +1 -1
  88. package/dist/esm/{localization-542dbe20.js → localization-2e523b35.js} +1 -1
  89. package/dist/esm/{paypal-38ca5d21.js → paypal-d3b3d967.js} +145 -12
  90. package/dist/esm/{placeTestOrder-d7001709.js → placeTestOrder-e1d6dfcd.js} +2 -2
  91. package/dist/esm/{renderCheckoutCurrency-75f1bba3.js → renderCheckoutCurrency-cc72a6c2.js} +2 -2
  92. package/dist/esm/submitGtag-ae9d5d91.js +162 -0
  93. package/dist/esm/{throttle-5a66b4fd.js → throttle-882b1f47.js} +2 -2
  94. package/dist/esm/{updateCheckoutSessionAttributes-8f3f932e.js → updateCheckoutSessionAttributes-da7fdd37.js} +1 -1
  95. package/dist/esm/zonos-address-display_8.entry.js +7 -7
  96. package/dist/esm/zonos-address_4.entry.js +7 -7
  97. package/dist/esm/zonos-badge.entry.js +1 -1
  98. package/dist/esm/zonos-banner.entry.js +1 -1
  99. package/dist/esm/zonos-button_3.entry.js +3 -3
  100. package/dist/esm/zonos-card_5.entry.js +8 -8
  101. package/dist/esm/zonos-cart-items_12.entry.js +42 -33
  102. package/dist/esm/zonos-checkbox_2.entry.js +3 -3
  103. package/dist/esm/zonos-checkout.entry.js +15 -15
  104. package/dist/esm/zonos-collapse.entry.js +1 -1
  105. package/dist/esm/zonos-collect-cart-items_3.entry.js +5 -5
  106. package/dist/esm/zonos-collect-finish_6.entry.js +17 -17
  107. package/dist/esm/zonos-collect.entry.js +9 -9
  108. package/dist/esm/zonos-controller.entry.js +8 -8
  109. package/dist/esm/zonos-country-flag.entry.js +2 -2
  110. package/dist/esm/zonos-country-select_4.entry.js +3 -3
  111. package/dist/esm/zonos-elements.js +1 -1
  112. package/dist/esm/zonos-hello-dialog.entry.js +13 -11
  113. package/dist/esm/zonos-hello.entry.js +46 -14
  114. package/dist/esm/zonos-input.entry.js +2 -2
  115. package/dist/esm/zonos-invoice-cart-items_2.entry.js +7 -7
  116. package/dist/esm/zonos-invoice-finish_5.entry.js +17 -17
  117. package/dist/esm/zonos-invoice.entry.js +9 -9
  118. package/dist/esm/zonos-language-select_2.entry.js +2 -2
  119. package/dist/esm/zonos-logo.entry.js +1 -1
  120. package/dist/esm/zonos-shipping-rich-radio.entry.js +5 -5
  121. package/dist/esm/zonos-store-credit.entry.js +6 -6
  122. package/dist/esm/zonos-stripe-input.entry.js +3 -3
  123. package/dist/esm/zonos-text.entry.js +1 -1
  124. package/dist/esm/zonos-v-stack.entry.js +1 -1
  125. package/dist/esm/{zonosStore-f1d45eac.js → zonosStore-9662b071.js} +1 -0
  126. package/dist/esm-es5/{cart-c490d252.js → cart-34b11708.js} +1 -1
  127. package/dist/esm-es5/{debounce-8faafc9f.js → debounce-ab526ca0.js} +1 -1
  128. package/dist/esm-es5/{getBorderRadius-66de1b16.js → getBorderRadius-98c64be8.js} +1 -1
  129. package/dist/esm-es5/{getContrastColor-e14f95a7.js → getContrastColor-2340485f.js} +1 -1
  130. package/dist/esm-es5/{hasInclusivePrice-7a0ce66a.js → hasInclusivePrice-dfb21fc9.js} +1 -1
  131. package/dist/esm-es5/index.js +1 -1
  132. package/dist/esm-es5/{invoice-3ea5715b.js → invoice-6d8bdf21.js} +1 -1
  133. package/dist/esm-es5/{isCollectMobileTablet-0dcbd45a.js → isCollectMobileTablet-85403c93.js} +1 -1
  134. package/dist/esm-es5/{isContrastColor-f9e65e70.js → isContrastColor-6bad285e.js} +1 -1
  135. package/dist/esm-es5/{isDarkColor-8092a9fb.js → isDarkColor-0a8453e7.js} +1 -1
  136. package/dist/esm-es5/loader.js +1 -1
  137. package/dist/esm-es5/{localization-542dbe20.js → localization-2e523b35.js} +1 -1
  138. package/dist/esm-es5/paypal-d3b3d967.js +17 -0
  139. package/dist/esm-es5/{placeTestOrder-d7001709.js → placeTestOrder-e1d6dfcd.js} +1 -1
  140. package/dist/esm-es5/{renderCheckoutCurrency-75f1bba3.js → renderCheckoutCurrency-cc72a6c2.js} +1 -1
  141. package/dist/esm-es5/submitGtag-ae9d5d91.js +1 -0
  142. package/dist/esm-es5/{throttle-5a66b4fd.js → throttle-882b1f47.js} +1 -1
  143. package/dist/esm-es5/{updateCheckoutSessionAttributes-8f3f932e.js → updateCheckoutSessionAttributes-da7fdd37.js} +1 -1
  144. package/dist/esm-es5/zonos-address-display_8.entry.js +1 -1
  145. package/dist/esm-es5/zonos-address_4.entry.js +1 -1
  146. package/dist/esm-es5/zonos-badge.entry.js +1 -1
  147. package/dist/esm-es5/zonos-banner.entry.js +1 -1
  148. package/dist/esm-es5/zonos-button_3.entry.js +1 -1
  149. package/dist/esm-es5/zonos-card_5.entry.js +1 -1
  150. package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
  151. package/dist/esm-es5/zonos-checkbox_2.entry.js +1 -1
  152. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  153. package/dist/esm-es5/zonos-collapse.entry.js +1 -1
  154. package/dist/esm-es5/zonos-collect-cart-items_3.entry.js +1 -1
  155. package/dist/esm-es5/zonos-collect-finish_6.entry.js +1 -1
  156. package/dist/esm-es5/zonos-collect.entry.js +1 -1
  157. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  158. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  159. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
  160. package/dist/esm-es5/zonos-elements.js +1 -1
  161. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  162. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  163. package/dist/esm-es5/zonos-input.entry.js +1 -1
  164. package/dist/esm-es5/zonos-invoice-cart-items_2.entry.js +1 -1
  165. package/dist/esm-es5/zonos-invoice-finish_5.entry.js +1 -1
  166. package/dist/esm-es5/zonos-invoice.entry.js +1 -1
  167. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  168. package/dist/esm-es5/zonos-logo.entry.js +1 -1
  169. package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
  170. package/dist/esm-es5/zonos-store-credit.entry.js +1 -1
  171. package/dist/esm-es5/zonos-stripe-input.entry.js +1 -1
  172. package/dist/esm-es5/zonos-text.entry.js +1 -1
  173. package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
  174. package/dist/esm-es5/{zonosStore-f1d45eac.js → zonosStore-9662b071.js} +1 -1
  175. package/dist/scripts/analyticsRelayOnInit.js +1 -1
  176. package/dist/scripts/index.d.ts +42 -15
  177. package/dist/scripts/index.js +1 -1
  178. package/dist/scripts/loadZonos.js +1 -1
  179. package/dist/scripts/zonos.js +1 -1
  180. package/dist/types/components/hello/zonos-hello/zonos-hello.d.ts +8 -1
  181. package/dist/types/components/utils/analytics/analyticsRelayState.d.ts +43 -0
  182. package/dist/types/components/utils/analytics/mapToFbEvent.d.ts +11 -0
  183. package/dist/types/components/utils/hello/getHelloWidgetSize.d.ts +15 -0
  184. package/dist/types/components/utils/submitAnalytics.d.ts +12 -0
  185. package/dist/types/components/utils/submitFbq.d.ts +14 -0
  186. package/dist/types/components/utils/submitGtag.d.ts +4 -9
  187. package/dist/types/components.d.ts +10 -2
  188. package/dist/types/scripts/_zonosBase.d.ts +11 -0
  189. package/dist/types/scripts/cart/_setupCartDataWithSettings.d.ts +8 -7
  190. package/dist/types/types/analyticsRelay.d.ts +19 -3
  191. package/dist/types/types/generated/graphql.internal.types.d.ts +100 -20
  192. package/dist/types/types/generated/graphql.internal.types.ts +118 -20
  193. package/dist/types/types/hello/HelloConfig.d.ts +5 -0
  194. package/dist/zonos-elements/index.esm.js +1 -1
  195. package/dist/zonos-elements/{p-53fe581b.system.js → p-0207c91e.system.js} +1 -1
  196. package/dist/zonos-elements/{p-6726fee0.entry.js → p-024a4af5.entry.js} +1 -1
  197. package/dist/zonos-elements/p-06d8f294.entry.js +1 -0
  198. package/dist/zonos-elements/{p-a1142a95.entry.js → p-07c228a7.entry.js} +1 -1
  199. package/dist/zonos-elements/p-0f3b9ed7.entry.js +1 -0
  200. package/dist/zonos-elements/{p-ed827ca3.entry.js → p-15161658.entry.js} +1 -1
  201. package/dist/zonos-elements/{p-9262a57c.system.entry.js → p-17b6f9ff.system.entry.js} +1 -1
  202. package/dist/zonos-elements/{p-bf4d2299.system.entry.js → p-191661c6.system.entry.js} +1 -1
  203. package/dist/zonos-elements/{p-2c9714e8.system.entry.js → p-1b5d90ee.system.entry.js} +1 -1
  204. package/dist/zonos-elements/{p-43a6e469.system.js → p-1bf9a1b9.system.js} +1 -1
  205. package/dist/zonos-elements/{p-a8bb461c.js → p-1c1149ff.js} +1 -1
  206. package/dist/zonos-elements/{p-e749fb81.entry.js → p-1cc651e8.entry.js} +1 -1
  207. package/dist/zonos-elements/{p-e684e68f.entry.js → p-1f107c84.entry.js} +1 -1
  208. package/dist/zonos-elements/{p-34fc45e5.entry.js → p-1fb6b787.entry.js} +1 -1
  209. package/dist/zonos-elements/{p-4cee62fb.entry.js → p-20e1a5a0.entry.js} +1 -1
  210. package/dist/zonos-elements/{p-d7a9be55.system.js → p-227a1ecc.system.js} +1 -1
  211. package/dist/zonos-elements/p-22a8b44b.system.js +1 -0
  212. package/dist/zonos-elements/{p-55742c52.entry.js → p-235ee1d3.entry.js} +1 -1
  213. package/dist/zonos-elements/{p-ef12af4b.entry.js → p-2381985c.entry.js} +1 -1
  214. package/dist/zonos-elements/{p-aa74b61a.system.entry.js → p-25b5ac23.system.entry.js} +1 -1
  215. package/dist/zonos-elements/p-29b60bf3.system.js +1 -1
  216. package/dist/zonos-elements/{p-27f01d76.entry.js → p-2b40fab2.entry.js} +1 -1
  217. package/dist/zonos-elements/{p-f00a56be.system.entry.js → p-30b19a4e.system.entry.js} +1 -1
  218. package/dist/zonos-elements/{p-a75b8ad7.js → p-356b2068.js} +1 -1
  219. package/dist/zonos-elements/p-367a72bc.js +1 -0
  220. package/dist/zonos-elements/{p-15ef7644.system.js → p-3689821f.system.js} +1 -1
  221. package/dist/zonos-elements/{p-c263f95f.entry.js → p-3ae1a543.entry.js} +1 -1
  222. package/dist/zonos-elements/p-3baf98a0.system.entry.js +1 -0
  223. package/dist/zonos-elements/{p-be1032ab.system.entry.js → p-4039b72d.system.entry.js} +1 -1
  224. package/dist/zonos-elements/{p-1917202e.system.entry.js → p-45ceb26f.system.entry.js} +1 -1
  225. package/dist/zonos-elements/{p-d2ef0416.system.entry.js → p-47a58a38.system.entry.js} +1 -1
  226. package/dist/zonos-elements/p-4980facb.js +1 -0
  227. package/dist/zonos-elements/p-4c89d04a.js +1 -0
  228. package/dist/zonos-elements/p-4d0b8897.system.js +18 -0
  229. package/dist/zonos-elements/{p-14f156c6.system.entry.js → p-501d16ad.system.entry.js} +1 -1
  230. package/dist/zonos-elements/{p-a661dd45.system.entry.js → p-51c60875.system.entry.js} +1 -1
  231. package/dist/zonos-elements/{p-a3020bc9.entry.js → p-5290d104.entry.js} +1 -1
  232. package/dist/zonos-elements/{p-248bdea2.system.js → p-5496e9ae.system.js} +1 -1
  233. package/dist/zonos-elements/p-562fbdab.js +17 -0
  234. package/dist/zonos-elements/p-5834833a.entry.js +1 -0
  235. package/dist/zonos-elements/p-5aa86f9c.entry.js +1 -0
  236. package/dist/zonos-elements/{p-b2cd18b4.system.entry.js → p-5d32f10f.system.entry.js} +1 -1
  237. package/dist/zonos-elements/{p-e25e0b4b.system.js → p-5e6f85f0.system.js} +1 -1
  238. package/dist/zonos-elements/{p-20263609.system.js → p-60a391b8.system.js} +1 -1
  239. package/dist/zonos-elements/p-65ea8ae4.js +1 -0
  240. package/dist/zonos-elements/{p-cdbb50cf.entry.js → p-665bfd4f.entry.js} +1 -1
  241. package/dist/zonos-elements/{p-b47fcd8c.system.entry.js → p-6a11cccc.system.entry.js} +1 -1
  242. package/dist/zonos-elements/p-6a195559.system.js +1 -0
  243. package/dist/zonos-elements/p-6d81901a.js +1 -0
  244. package/dist/zonos-elements/{p-3ff736f7.system.entry.js → p-7003d093.system.entry.js} +1 -1
  245. package/dist/zonos-elements/p-70c485df.js +1 -0
  246. package/dist/zonos-elements/{p-8d0bca3a.system.entry.js → p-7297f6bd.system.entry.js} +1 -1
  247. package/dist/zonos-elements/{p-d50fef06.system.entry.js → p-73765370.system.entry.js} +1 -1
  248. package/dist/zonos-elements/{p-dc4e867e.system.entry.js → p-79a7998f.system.entry.js} +1 -1
  249. package/dist/zonos-elements/{p-0699931c.system.js → p-7b6e65d6.system.js} +1 -1
  250. package/dist/zonos-elements/{p-9e761130.entry.js → p-7e313e45.entry.js} +1 -1
  251. package/dist/zonos-elements/{p-e76dc266.system.entry.js → p-8331aa21.system.entry.js} +1 -1
  252. package/dist/zonos-elements/{p-e55bc187.entry.js → p-8571f3ce.entry.js} +1 -1
  253. package/dist/zonos-elements/{p-e14f421d.system.entry.js → p-8603fb37.system.entry.js} +1 -1
  254. package/dist/zonos-elements/{p-072c5e07.system.entry.js → p-926c33b1.system.entry.js} +1 -1
  255. package/dist/zonos-elements/{p-f7d24382.system.entry.js → p-92f40018.system.entry.js} +1 -1
  256. package/dist/zonos-elements/{p-7793d334.entry.js → p-96f8cea8.entry.js} +1 -1
  257. package/dist/zonos-elements/p-97f0eda6.system.js +1 -0
  258. package/dist/zonos-elements/{p-4a227683.system.entry.js → p-9c5cce08.system.entry.js} +1 -1
  259. package/dist/zonos-elements/p-9f7e7148.system.js +1 -0
  260. package/dist/zonos-elements/{p-196423ad.system.js → p-a076cf7f.system.js} +1 -1
  261. package/dist/zonos-elements/{p-3c3139d2.system.entry.js → p-a3936c44.system.entry.js} +1 -1
  262. package/dist/zonos-elements/{p-b5223840.js → p-a50d095f.js} +1 -1
  263. package/dist/zonos-elements/{p-2f924331.js → p-ab0b23f2.js} +1 -1
  264. package/dist/zonos-elements/{p-80e7cab5.entry.js → p-adeaa7cf.entry.js} +1 -1
  265. package/dist/zonos-elements/{p-0ec4e307.system.js → p-b2d462f9.system.js} +1 -1
  266. package/dist/zonos-elements/p-b8710131.entry.js +1 -0
  267. package/dist/zonos-elements/{p-c7ecef98.system.entry.js → p-ba9e2612.system.entry.js} +1 -1
  268. package/dist/zonos-elements/{p-5a79e1f4.entry.js → p-bccae0df.entry.js} +1 -1
  269. package/dist/zonos-elements/{p-f0046c48.entry.js → p-bee55d71.entry.js} +1 -1
  270. package/dist/zonos-elements/{p-72adb40d.js → p-c2b86522.js} +1 -1
  271. package/dist/zonos-elements/{p-17476a30.system.entry.js → p-c361d520.system.entry.js} +1 -1
  272. package/dist/zonos-elements/p-c4d057b0.js +1 -0
  273. package/dist/zonos-elements/p-c9a1f774.js +1 -0
  274. package/dist/zonos-elements/p-cda0b441.entry.js +1 -0
  275. package/dist/zonos-elements/{p-f6922df5.js → p-d28be518.js} +1 -1
  276. package/dist/zonos-elements/{p-5beab541.js → p-db3b101a.js} +1 -1
  277. package/dist/zonos-elements/{p-5db00bfa.system.entry.js → p-dc71be6f.system.entry.js} +1 -1
  278. package/dist/zonos-elements/p-de44cccd.system.entry.js +1 -0
  279. package/dist/zonos-elements/{p-00bd7e5d.entry.js → p-e06936f4.entry.js} +1 -1
  280. package/dist/zonos-elements/{p-d983d472.entry.js → p-e0ea6e24.entry.js} +1 -1
  281. package/dist/zonos-elements/p-e3292be8.system.js +1 -0
  282. package/dist/zonos-elements/{p-eca03303.system.entry.js → p-e4792f63.system.entry.js} +1 -1
  283. package/dist/zonos-elements/p-e5dfccd8.system.js +1 -0
  284. package/dist/zonos-elements/{p-313b87f3.system.entry.js → p-e98e4c0b.system.entry.js} +1 -1
  285. package/dist/zonos-elements/{p-61be7d98.system.js → p-eb99a625.system.js} +1 -1
  286. package/dist/zonos-elements/{p-ed9385f4.js → p-f3cfd8fa.js} +1 -1
  287. package/dist/zonos-elements/{p-ade15fd2.entry.js → p-f440cd53.entry.js} +1 -1
  288. package/dist/zonos-elements/{p-8df3c6a0.entry.js → p-fe5303d1.entry.js} +1 -1
  289. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  290. package/package.json +1 -1
  291. package/dist/cjs/submitGtag-9ac5a42e.js +0 -116
  292. package/dist/esm/submitGtag-543058f9.js +0 -113
  293. package/dist/esm-es5/paypal-38ca5d21.js +0 -17
  294. package/dist/esm-es5/submitGtag-543058f9.js +0 -1
  295. package/dist/zonos-elements/p-03e53ef5.entry.js +0 -1
  296. package/dist/zonos-elements/p-09307a03.js +0 -1
  297. package/dist/zonos-elements/p-17a8a514.system.js +0 -1
  298. package/dist/zonos-elements/p-1916c2b0.entry.js +0 -1
  299. package/dist/zonos-elements/p-24407504.js +0 -17
  300. package/dist/zonos-elements/p-31bd3851.system.js +0 -1
  301. package/dist/zonos-elements/p-387f6a4d.js +0 -1
  302. package/dist/zonos-elements/p-47bde0ba.system.js +0 -18
  303. package/dist/zonos-elements/p-5dff9d51.system.entry.js +0 -1
  304. package/dist/zonos-elements/p-6b7beb44.system.js +0 -1
  305. package/dist/zonos-elements/p-7158a18b.js +0 -1
  306. package/dist/zonos-elements/p-721fadd5.js +0 -1
  307. package/dist/zonos-elements/p-7c5c5318.js +0 -1
  308. package/dist/zonos-elements/p-7d9bbdc8.js +0 -1
  309. package/dist/zonos-elements/p-8bce79f4.system.js +0 -1
  310. package/dist/zonos-elements/p-944bf0e7.js +0 -1
  311. package/dist/zonos-elements/p-9cfd1dc3.entry.js +0 -1
  312. package/dist/zonos-elements/p-b21cf539.system.entry.js +0 -1
  313. package/dist/zonos-elements/p-cd563d65.system.js +0 -1
  314. package/dist/zonos-elements/p-cdf99051.entry.js +0 -1
  315. package/dist/zonos-elements/p-e6726a50.system.js +0 -1
  316. package/dist/zonos-elements/p-eeff2b04.entry.js +0 -1
  317. package/dist/zonos-elements/p-f4030586.entry.js +0 -1
  318. package/dist/zonos-elements/p-f68ce554.js +0 -1
@@ -41,7 +41,7 @@ import { sendLoadCheckoutFacadeLog } from "../../utils/logging/sendLoadCheckoutF
41
41
  import { sendLoadNativeCheckoutLog } from "../../utils/logging/sendLoadNativeCheckoutLog";
42
42
  import { mergeConfig } from "../../utils/mergeConfig";
43
43
  import { styles } from "../../utils/styles";
44
- import { submitGtag } from "../../utils/submitGtag";
44
+ import { submitAnalytics } from "../../utils/submitAnalytics";
45
45
  import { validateCheckoutSession } from "../../utils/validateCheckoutSession";
46
46
  import { filterExpiredTests } from "../../utils/varianceTest/filterExpiredTests";
47
47
  import { getSelectedTestVariant } from "../../utils/varianceTest/getSelectedTestVariant";
@@ -504,7 +504,7 @@ export class ZonosCheckout {
504
504
  }
505
505
  // Close the confirm dialog
506
506
  this.confirmDialogOpen = false;
507
- submitGtag({
507
+ submitAnalytics({
508
508
  event: 'zonos-checkout-close',
509
509
  metadata: {
510
510
  checkoutSessionId: storageStore.checkoutSessionId,
@@ -831,7 +831,7 @@ export class ZonosCheckout {
831
831
  isPreview: this.preview,
832
832
  sessionTimeout: CHECKOUT_SESSION_TIMEOUT,
833
833
  });
834
- submitGtag({
834
+ submitAnalytics({
835
835
  event: 'zonos-checkout-start',
836
836
  metadata: {
837
837
  checkoutSessionId: storageStore.checkoutSessionId,
@@ -1230,7 +1230,7 @@ export class ZonosCheckout {
1230
1230
  async handleCustomerInfoContinue() {
1231
1231
  var _a, _b, _c, _d;
1232
1232
  // submit google tag when the form is complete
1233
- submitGtag({
1233
+ submitAnalytics({
1234
1234
  event: 'zonos-checkout-customer-info',
1235
1235
  metadata: {
1236
1236
  checkoutSessionId: storageStore.checkoutSessionId,
@@ -1404,7 +1404,7 @@ export class ZonosCheckout {
1404
1404
  }
1405
1405
  catch (err) {
1406
1406
  logError(err);
1407
- submitGtag({
1407
+ submitAnalytics({
1408
1408
  event: 'zonos-checkout-payment-fail',
1409
1409
  metadata: {
1410
1410
  checkoutSessionId: storageStore.checkoutSessionId,
@@ -1423,7 +1423,7 @@ export class ZonosCheckout {
1423
1423
  }
1424
1424
  catch (err) {
1425
1425
  logError(err);
1426
- submitGtag({
1426
+ submitAnalytics({
1427
1427
  event: 'zonos-checkout-payment-fail',
1428
1428
  metadata: {
1429
1429
  checkoutSessionId: storageStore.checkoutSessionId,
@@ -99,4 +99,11 @@
99
99
  }
100
100
  :host .zonos--group-btn zonos-button {
101
101
  width: 100%;
102
+ }
103
+
104
+ :host(.mobile.mobile) {
105
+ overscroll-behavior: auto;
106
+ }
107
+ :host(.mobile.mobile) .zonos--group {
108
+ overscroll-behavior: auto;
102
109
  }
@@ -6,6 +6,7 @@ import { storageStore } from "../../../store/storageStore";
6
6
  import { translate } from "../../../store/translationStore";
7
7
  import { getZonosStoreTheme, zonosStore, zonosStoreOnChange, } from "../../../store/zonosStore";
8
8
  import { updateCheckoutSessionAttributes } from "../../../utils/api/updateCheckoutSessionAttributes";
9
+ import { classes } from "../../../utils/classes";
9
10
  import { containsNonLatinChars } from "../../../utils/containsNonLatinChars";
10
11
  import { extractName } from "../../../utils/extractName";
11
12
  import { log } from "../../../utils/logging/log";
@@ -503,7 +504,10 @@ export class ZonosCustomerInfo {
503
504
  const defaultEmail = ((_b = this.defaultAddress.find(Boolean)) === null || _b === void 0 ? void 0 : _b.email) ||
504
505
  ((_e = (_d = (_c = stripeStore.customerProfile) === null || _c === void 0 ? void 0 : _c.locations) === null || _d === void 0 ? void 0 : _d.find(Boolean)) === null || _e === void 0 ? void 0 : _e.email) ||
505
506
  ((_f = stripeStore.customerProfile) === null || _f === void 0 ? void 0 : _f.email);
506
- return (h(Host, { class: "zonos--customer-info zonos--elements" }, h("div", { class: "zonos--group" }, h("zonos-text", { class: "zonos--title", type: "semiBoldSubheader" }, translate('Customer information')), this.showErrorBanner && (h("zonos-banner", { class: "zonos--error-banner", intent: "error" }, translate('Missing required fields. Make sure all fields are completed.'))), h("zonos-link-authentication", { defaultEmail: defaultEmail, isEmailError: this.isEmailError, onLinkAuthenticationChange: this.handleEmailValidation, titleText: translate('Contact') }), this.renderAddressComponent('shipping'), h("zonos-checkbox", { class: "zonos--shipping-same-as-billing-cbx", isChecked: stripeStore.stripeShippingSameAsBilling, label: translate('Shipping address same as billing'), onCheckboxSelected: e => {
507
+ return (h(Host, { class: classes([
508
+ 'zonos--customer-info zonos--elements',
509
+ this.isMobile && 'mobile',
510
+ ]) }, h("div", { class: "zonos--group" }, h("zonos-text", { class: "zonos--title", type: "semiBoldSubheader" }, translate('Customer information')), this.showErrorBanner && (h("zonos-banner", { class: "zonos--error-banner", intent: "error" }, translate('Missing required fields. Make sure all fields are completed.'))), h("zonos-link-authentication", { defaultEmail: defaultEmail, isEmailError: this.isEmailError, onLinkAuthenticationChange: this.handleEmailValidation, titleText: translate('Contact') }), this.renderAddressComponent('shipping'), h("zonos-checkbox", { class: "zonos--shipping-same-as-billing-cbx", isChecked: stripeStore.stripeShippingSameAsBilling, label: translate('Shipping address same as billing'), onCheckboxSelected: e => {
507
511
  stripeStore.stripeShippingSameAsBilling = e.detail;
508
512
  } }), h("zonos-collapse", { collapsed: !showBilling }, this.renderAddressComponent('billing')), h("div", { class: "zonos--group-btn" }, h("zonos-button", { backgroundColor: this.submitBtnColor, bold: true, loading: this.continueLoading, onClick: () => this.continueClickHandler(), size: "lg",
509
513
  // use primary type when on mobile mode
@@ -132,4 +132,11 @@
132
132
  display: flex;
133
133
  flex-direction: column;
134
134
  gap: 24px;
135
+ }
136
+
137
+ :host(.mobile.mobile) {
138
+ overscroll-behavior: auto;
139
+ }
140
+ :host(.mobile.mobile) .zonos--group {
141
+ overscroll-behavior: auto;
135
142
  }
@@ -8,7 +8,7 @@ import { trackConversionEvent } from "../../../utils/api/trackConversionEvent";
8
8
  import { renderCheckoutCurrency } from "../../../utils/checkout/renderCheckoutCurrency";
9
9
  import { sortServiceLevelOptionsByAmount } from "../../../utils/checkout/sortServiceLevelOptionsByAmount";
10
10
  import { classes } from "../../../utils/classes";
11
- import { submitGtag } from "../../../utils/submitGtag";
11
+ import { submitAnalytics } from "../../../utils/submitAnalytics";
12
12
  // eslint-disable-next-line no-relative-import-paths/no-relative-import-paths
13
13
  import ChevronUpIcon from "./assets/ChevronUpIcon.svg";
14
14
  export class ZonosShipping {
@@ -81,7 +81,7 @@ export class ZonosShipping {
81
81
  return;
82
82
  }
83
83
  // submit google tag when the form is complete
84
- submitGtag({
84
+ submitAnalytics({
85
85
  event: 'zonos-checkout-shipping-info',
86
86
  metadata: {
87
87
  checkoutSessionId: storageStore.checkoutSessionId,
@@ -237,7 +237,10 @@ export class ZonosShipping {
237
237
  this.collapsedDAPOptions = !this.collapsedDAPOptions;
238
238
  } }, h("div", { class: "zonos--title-wrapper" }, h("zonos-text", { type: "label" }, `${translate(this.collapsedDAPOptions ? 'Show non-prepaid options' : 'Hide non-prepaid options')} `), h("zonos-icon", { content: ChevronUpIcon })))), h("zonos-collapse", { collapsed: this.collapsedDAPOptions }, h("div", { class: "zonos--dap-wrapper" }, h("zonos-banner", { bannerTitle: translate('Duties and taxes will be charged upon delivery.'), intent: "warning" }, translate('You may incur additional fees from the shipping carrier by not prepaying.')), h("zonos-shipping-rich-radio", { isMobile: this.isMobile, items: this.serviceLevelsDAP, onRadioSelected: e => this.handleRadioSelected(e), selectedItem: this.selectedShippingMethod })))));
239
239
  };
240
- return (h(Host, { class: "zonos--shipping zonos--elements" }, h("div", { class: "zonos--group" }, h("zonos-text", { class: "zonos--title", type: "semiBoldSubheader" }, translate('Delivery options')), this.showErrorBanner && !!this.serviceLevelsAll.length && (h("zonos-banner", { class: "zonos--error-banner", intent: "error" }, translate('No shipping method selected'))), h("zonos-text", { class: "zonos--shipping-method-title", type: "semiBoldLabel" }, translate('Shipping method')), !this.serviceLevelsAll.length ? (h("zonos-banner", { bannerTitle: cartStore.customQuotingError
240
+ return (h(Host, { class: classes([
241
+ 'zonos--shipping zonos--elements',
242
+ this.isMobile && 'mobile',
243
+ ]) }, h("div", { class: "zonos--group" }, h("zonos-text", { class: "zonos--title", type: "semiBoldSubheader" }, translate('Delivery options')), this.showErrorBanner && !!this.serviceLevelsAll.length && (h("zonos-banner", { class: "zonos--error-banner", intent: "error" }, translate('No shipping method selected'))), h("zonos-text", { class: "zonos--shipping-method-title", type: "semiBoldLabel" }, translate('Shipping method')), !this.serviceLevelsAll.length ? (h("zonos-banner", { bannerTitle: cartStore.customQuotingError
241
244
  ? cartStore.customQuotingError
242
245
  : translate('No shipping methods found - please review and update your address details by selecting the "Customer" tab above. If you continue to encounter issues, contact our support team for assistance.'), class: "zonos--shipping-method-error", intent: "error" })) : (h("div", { class: "zonos--shipping-options-wrapper" }, renderServiceLevels())), h("div", { class: "zonos--group-btn" }, h("zonos-button", { backgroundColor: this.submitBtnColor, bold: true, loading: this.continueLoading || this.isSelecting, onClick: () => this.continueClickHandler(), size: "lg",
243
246
  // use primary type when on mobile mode
@@ -12,7 +12,7 @@ import { getBorderRadius } from "../../../utils/getBorderRadius";
12
12
  import { handleFetch } from "../../../utils/handleFetch";
13
13
  import { allLogs, log } from "../../../utils/logging/log";
14
14
  import { sendErrorLog } from "../../../utils/logging/sendErrorLog";
15
- import { submitGtag } from "../../../utils/submitGtag";
15
+ import { submitAnalytics } from "../../../utils/submitAnalytics";
16
16
  // eslint-disable-next-line no-relative-import-paths/no-relative-import-paths
17
17
  import RemoveIcon from "./assets/RemoveIcon.svg";
18
18
  /* Need to use relative import because inline-svg-stencil couldn't resolve absolute path */
@@ -146,7 +146,7 @@ export class ZonosCollectFinish {
146
146
  window.history.replaceState({}, '', url.toString());
147
147
  // Payment doesn't go through
148
148
  if (error && (messages === null || messages === void 0 ? void 0 : messages.length)) {
149
- submitGtag({ event: 'zonos-checkout-payment-fail' });
149
+ submitAnalytics({ event: 'zonos-checkout-payment-fail' });
150
150
  void sendErrorLog({
151
151
  endpoint: 'Stripe payment failed',
152
152
  errors: [
@@ -159,7 +159,7 @@ export class ZonosCollectFinish {
159
159
  });
160
160
  }
161
161
  else {
162
- submitGtag({ event: 'zonos-checkout-success' });
162
+ submitAnalytics({ event: 'zonos-checkout-success' });
163
163
  const checkoutSessionId = storageStore.checkoutSessionId;
164
164
  void trackConversionEvent({
165
165
  checkoutSessionId,
@@ -204,7 +204,7 @@ export class ZonosCollectFinish {
204
204
  // show success message right away when order id is already created
205
205
  this.isLoading = false;
206
206
  if (paypalStore.orderIdCreated) {
207
- submitGtag({ event: 'zonos-checkout-success' });
207
+ submitAnalytics({ event: 'zonos-checkout-success' });
208
208
  const checkoutSessionId = storageStore.checkoutSessionId;
209
209
  void trackConversionEvent({
210
210
  checkoutSessionId,
@@ -260,11 +260,11 @@ export class ZonosCollectFinish {
260
260
  }
261
261
  render() {
262
262
  const cartId = window.Zonos.cartId;
263
- return (h(Host, { key: 'ece5aa1dae1e8e7bb99c0904adeaf6541fbf3ea6', class: "zonos--checkout-finish zonos--elements", style: {
263
+ return (h(Host, { key: '89331d23e3b6b57ce708f091fb4c9cdaae84f838', class: "zonos--checkout-finish zonos--elements", style: {
264
264
  '--zonos--border-radius': getBorderRadius({
265
265
  overrideBorderStyle: this.borderRadius,
266
266
  }),
267
- } }, !this.isLoading && (h("div", { key: 'd48c2384fb55b7b318143f933775c35e29abbe38', class: "zonos--finish-details" }, h("div", { key: '85e03a288ee29bc1f664d03b9c99a164acc51b92', class: "zonos--group" }, this.notificationType === 'success' ? (h("zonos-icon", { "aria-label": "Order success", content: SuccessIcon, iconColor: 'blue-800', size: 50 })) : (h("zonos-icon", { "aria-label": "Order failed", content: RemoveIcon, iconColor: 'red-800', size: 50 })), h("zonos-text", { key: '7fcd228d5144d4f523d15870cdf18491278f0ee6', class: "zonos--title", type: "semiBoldSubheader" }, this.notificationTitle), this.confirmationId && (h("zonos-badge", { key: '219365d86b8aef904adffb1fab5e045db174a724', badgeColor: "gray" }, this.confirmationId)), h("zonos-text", { key: '4b2b41bdf35eb2d79b32fa5f7538798e3fd028f5', class: "zonos--subtitle", textColor: "gray-600" }, this.notificationMessages.map(message => (h(Fragment, null, message, h("br", null))))), this.order && cartId && (h("div", { key: '52431496f81706a720406843309646b4fd9b2413', class: "zonos--button-container" }, h("zonos-button", { key: '4ccdbba8da9591c6207a472df29515fec8c0c56f', onClick: () => {
267
+ } }, !this.isLoading && (h("div", { key: '7539e73d3e88c6a486ded338d35ec55398a1f3f4', class: "zonos--finish-details" }, h("div", { key: '4a61f515eff3cf0ce77fc88526424c1e63e5d66a', class: "zonos--group" }, this.notificationType === 'success' ? (h("zonos-icon", { "aria-label": "Order success", content: SuccessIcon, iconColor: 'blue-800', size: 50 })) : (h("zonos-icon", { "aria-label": "Order failed", content: RemoveIcon, iconColor: 'red-800', size: 50 })), h("zonos-text", { key: '6a44ceadf42398e95b3bef73888583cca2d4d076', class: "zonos--title", type: "semiBoldSubheader" }, this.notificationTitle), this.confirmationId && (h("zonos-badge", { key: 'aa83de37eaaa4e8a349d6752f11d933584d56c81', badgeColor: "gray" }, this.confirmationId)), h("zonos-text", { key: '26ff76617b31f1726bdc3b7d024a29841692f7b9', class: "zonos--subtitle", textColor: "gray-600" }, this.notificationMessages.map(message => (h(Fragment, null, message, h("br", null))))), this.order && cartId && (h("div", { key: '721ce7b4561f9d82c2a251ac3f595e36567aaac7', class: "zonos--button-container" }, h("zonos-button", { key: '77db63afae505f5472f089e4e5ed9e9c52e48157', onClick: () => {
268
268
  window.open(this.getReceiptUrl({ cartId }), '_blank');
269
269
  }, size: "lg", variant: "primary" }, translate('View receipt')))))))));
270
270
  }
@@ -10,7 +10,7 @@ import { getIsStagingMode } from "../../../utils/checkout/getIsStagingMode";
10
10
  import { getIsTestMode } from "../../../utils/checkout/getIsTestMode";
11
11
  import { renderCheckoutCurrency } from "../../../utils/checkout/renderCheckoutCurrency";
12
12
  import { log } from "../../../utils/logging/log";
13
- import { submitGtag } from "../../../utils/submitGtag";
13
+ import { submitAnalytics } from "../../../utils/submitAnalytics";
14
14
  // eslint-disable-next-line no-relative-import-paths/no-relative-import-paths
15
15
  import CheckmarkLineIcon from "./assets/CheckmarkLineIcon.svg";
16
16
  // eslint-disable-next-line no-relative-import-paths/no-relative-import-paths
@@ -64,7 +64,7 @@ export class ZonosCollectPayment {
64
64
  }
65
65
  stripeStore.checkoutSettlementCurrency = currencyCode;
66
66
  // submit google tag when the form is complete
67
- submitGtag({ event: 'zonos-checkout-payment-info' });
67
+ submitAnalytics({ event: 'zonos-checkout-payment-info' });
68
68
  this.continueClicked.emit();
69
69
  };
70
70
  this.copyCardToClipboard = async (cardNumber) => {
@@ -12,7 +12,7 @@ import { getBorderRadius } from "../../../utils/getBorderRadius";
12
12
  import { handleFetch } from "../../../utils/handleFetch";
13
13
  import { allLogs, log } from "../../../utils/logging/log";
14
14
  import { sendErrorLog } from "../../../utils/logging/sendErrorLog";
15
- import { submitGtag } from "../../../utils/submitGtag";
15
+ import { submitAnalytics } from "../../../utils/submitAnalytics";
16
16
  // eslint-disable-next-line no-relative-import-paths/no-relative-import-paths
17
17
  import RemoveIcon from "./assets/RemoveIcon.svg";
18
18
  /* Need to use relative import because inline-svg-stencil couldn't resolve absolute path */
@@ -146,7 +146,7 @@ export class ZonosInvoiceFinish {
146
146
  window.history.replaceState({}, '', url.toString());
147
147
  // Payment doesn't go through
148
148
  if (error && (messages === null || messages === void 0 ? void 0 : messages.length)) {
149
- submitGtag({ event: 'zonos-checkout-payment-fail' });
149
+ submitAnalytics({ event: 'zonos-checkout-payment-fail' });
150
150
  void sendErrorLog({
151
151
  endpoint: 'Stripe payment failed',
152
152
  errors: [
@@ -159,7 +159,7 @@ export class ZonosInvoiceFinish {
159
159
  });
160
160
  }
161
161
  else {
162
- submitGtag({ event: 'zonos-checkout-success' });
162
+ submitAnalytics({ event: 'zonos-checkout-success' });
163
163
  const checkoutSessionId = storageStore.checkoutSessionId;
164
164
  void trackConversionEvent({
165
165
  checkoutSessionId,
@@ -204,7 +204,7 @@ export class ZonosInvoiceFinish {
204
204
  // show success message right away when order id is already created
205
205
  this.isLoading = false;
206
206
  if (paypalStore.orderIdCreated) {
207
- submitGtag({ event: 'zonos-checkout-success' });
207
+ submitAnalytics({ event: 'zonos-checkout-success' });
208
208
  const checkoutSessionId = storageStore.checkoutSessionId;
209
209
  void trackConversionEvent({
210
210
  checkoutSessionId,
@@ -260,11 +260,11 @@ export class ZonosInvoiceFinish {
260
260
  }
261
261
  render() {
262
262
  const cartId = window.Zonos.cartId;
263
- return (h(Host, { key: '4b4f83358419134c8455c4407f91adf8c1ff37ca', class: "zonos--checkout-finish zonos--elements", style: {
263
+ return (h(Host, { key: '6c0363334a9e6602b93e83a0dfeb733285db7683', class: "zonos--checkout-finish zonos--elements", style: {
264
264
  '--zonos--border-radius': getBorderRadius({
265
265
  overrideBorderStyle: this.borderRadius,
266
266
  }),
267
- } }, !this.isLoading && (h("div", { key: 'fab4606540bf759d9241432f58580b10f1c12b03', class: "zonos--finish-details" }, h("div", { key: 'b619eee9fda1e183b4d761f3576ae28cee2a9619', class: "zonos--group" }, this.notificationType === 'success' ? (h("zonos-icon", { "aria-label": "Order success", content: SuccessIcon, iconColor: 'blue-800', size: 50 })) : (h("zonos-icon", { "aria-label": "Order failed", content: RemoveIcon, iconColor: 'red-800', size: 50 })), h("zonos-text", { key: '30fa51dba81331c9aa7ff4f64c274982d36d8a23', class: "zonos--title", type: "semiBoldSubheader" }, this.notificationTitle), this.confirmationId && (h("zonos-badge", { key: 'f10389b65e7910c7b3bd1e0d576afde74bc28e27', badgeColor: "gray" }, this.confirmationId)), h("zonos-text", { key: '5033c51a90cdbccb8b0a333f7b63f3383b70c264', class: "zonos--subtitle", textColor: "gray-600" }, this.notificationMessages.map(message => (h(Fragment, null, message, h("br", null))))), this.order && cartId && (h("div", { key: '83350cb42d4165ec874a8b18dc29e851ca4ae4c8', class: "zonos--button-container" }, h("zonos-button", { key: 'fa05f016f520f65660270c906b7a5940b808cb4b', onClick: () => {
267
+ } }, !this.isLoading && (h("div", { key: '299a9afc37f5e1bbe828f2b68569a686b82baff1', class: "zonos--finish-details" }, h("div", { key: '24a827b96c4a74066b7701c70f6cdf980ff060f5', class: "zonos--group" }, this.notificationType === 'success' ? (h("zonos-icon", { "aria-label": "Order success", content: SuccessIcon, iconColor: 'blue-800', size: 50 })) : (h("zonos-icon", { "aria-label": "Order failed", content: RemoveIcon, iconColor: 'red-800', size: 50 })), h("zonos-text", { key: '74bfa9e0126ea8b0a693fdc2e034cdd6ef352dcb', class: "zonos--title", type: "semiBoldSubheader" }, this.notificationTitle), this.confirmationId && (h("zonos-badge", { key: '5cc0089225fac166cfa13cc11e72efeb34ad8567', badgeColor: "gray" }, this.confirmationId)), h("zonos-text", { key: 'fb101b1058adeafe38a03d2a915b6b7f80c44061', class: "zonos--subtitle", textColor: "gray-600" }, this.notificationMessages.map(message => (h(Fragment, null, message, h("br", null))))), this.order && cartId && (h("div", { key: '2ecc8d45967ccd720f0ec4d532aa266ac42acc14', class: "zonos--button-container" }, h("zonos-button", { key: '3f04711341f273a767d5109274f92eec424b1675', onClick: () => {
268
268
  window.open(this.getReceiptUrl({ cartId }), '_blank');
269
269
  }, size: "lg", variant: "primary" }, translate('View receipt')))))))));
270
270
  }
@@ -10,7 +10,7 @@ import { getIsStagingMode } from "../../../utils/checkout/getIsStagingMode";
10
10
  import { getIsTestMode } from "../../../utils/checkout/getIsTestMode";
11
11
  import { renderCheckoutCurrency } from "../../../utils/checkout/renderCheckoutCurrency";
12
12
  import { log } from "../../../utils/logging/log";
13
- import { submitGtag } from "../../../utils/submitGtag";
13
+ import { submitAnalytics } from "../../../utils/submitAnalytics";
14
14
  // eslint-disable-next-line no-relative-import-paths/no-relative-import-paths
15
15
  import CheckmarkLineIcon from "./assets/CheckmarkLineIcon.svg";
16
16
  // eslint-disable-next-line no-relative-import-paths/no-relative-import-paths
@@ -64,7 +64,7 @@ export class ZonosInvoicePayment {
64
64
  }
65
65
  stripeStore.checkoutSettlementCurrency = currencyCode;
66
66
  // submit google tag when the form is complete
67
- submitGtag({ event: 'zonos-checkout-payment-info' });
67
+ submitAnalytics({ event: 'zonos-checkout-payment-info' });
68
68
  this.continueClicked.emit();
69
69
  };
70
70
  this.copyCardToClipboard = async (cardNumber) => {
@@ -33,6 +33,15 @@
33
33
 
34
34
  :host {
35
35
  display: inline-block;
36
+ --zonos-elements-hello-widget-size: 18px;
37
+ --zonos-elements-hello-bubble-padding: max(
38
+ 6px,
39
+ calc(var(--zonos-elements-hello-widget-size) * 0.22)
40
+ );
41
+ --zonos-elements-hello-bubble-size: calc(
42
+ var(--zonos-elements-hello-widget-size) +
43
+ var(--zonos-elements-hello-bubble-padding) * 2 + 2px
44
+ );
36
45
  }
37
46
  :host .zonos--hello-wrapper {
38
47
  position: relative;
@@ -75,14 +84,16 @@
75
84
  }
76
85
  :host .zonos--hello-widget {
77
86
  transition: all 0.7s cubic-bezier(0.31, -0.02, 0.06, 1.53);
78
- padding: 6px;
79
- border-radius: 30px;
87
+ padding: var(--zonos-elements-hello-bubble-padding);
88
+ border-radius: 9999px;
80
89
  background: var(--zonos-elements-page-background);
81
90
  font-size: var(--zonos-elements-font-size-s);
82
91
  border: var(--zonos-elements-border);
83
92
  display: flex;
84
93
  align-items: center;
94
+ justify-content: center;
85
95
  cursor: pointer;
96
+ box-sizing: border-box;
86
97
  height: fit-content;
87
98
  width: fit-content;
88
99
  position: relative;
@@ -100,10 +111,10 @@
100
111
  background: var(--zonos-elements-page-background);
101
112
  display: flex;
102
113
  align-items: center;
103
- border-top-left-radius: 30px;
104
- border-bottom-left-radius: 30px;
114
+ border-top-left-radius: calc(var(--zonos-elements-hello-bubble-size) / 2);
115
+ border-bottom-left-radius: calc(var(--zonos-elements-hello-bubble-size) / 2);
105
116
  left: 0;
106
- transform: translateX(calc(-100% + 16px));
117
+ transform: translateX(calc(-100% + var(--zonos-elements-hello-bubble-size) / 2));
107
118
  width: fit-content;
108
119
  border-top: var(--zonos-elements-border);
109
120
  border-bottom: var(--zonos-elements-border);
@@ -126,28 +137,23 @@
126
137
  }
127
138
  :host .zonos--hello-widget.zonos--hello-show-peek-message > .zonos--hello-message {
128
139
  max-width: 100vw;
129
- padding: 0 6px;
130
- padding-right: 16px;
140
+ padding: 0 calc(var(--zonos-elements-hello-bubble-size) / 2);
131
141
  border: var(--zonos-elements-border);
132
142
  }
133
143
  :host .zonos--hello-widget.zonos--hello-show-peek-message:not(.zonos--hello-widget-animate-from-left) > .zonos--hello-message {
134
144
  border-right: none;
135
145
  }
136
146
  :host .zonos--hello-widget.zonos--hello-show-peek-message.zonos--hello-widget-animate-from-left > .zonos--hello-message {
137
- border-left: 0;
138
- }
139
- :host .zonos--hello-widget.zonos--hello-show-peek-message.zonos--hello-widget-animate-from-left > .zonos--hello-message {
140
- padding-left: 16px;
141
- padding-right: 6px;
147
+ padding-left: calc(var(--zonos-elements-hello-bubble-size) / 2);
142
148
  border-left: none;
143
149
  }
144
150
  :host .zonos--hello-widget.zonos--hello-widget-animate-from-left > .zonos--hello-message {
145
151
  order: 1;
146
- transform: translateX(calc(100% - 16px));
152
+ transform: translateX(calc(100% - var(--zonos-elements-hello-bubble-size) / 2));
147
153
  right: 0;
148
154
  left: auto;
149
- border-top-right-radius: 30px;
150
- border-bottom-right-radius: 30px;
155
+ border-top-right-radius: calc(var(--zonos-elements-hello-bubble-size) / 2);
156
+ border-bottom-right-radius: calc(var(--zonos-elements-hello-bubble-size) / 2);
151
157
  }
152
158
  :host .zonos--hello-widget .zonos--hello-country-flag-wrapper {
153
159
  display: flex;
@@ -162,6 +168,8 @@
162
168
  box-shadow: var(--zonos-elements-v3-shadow-medium);
163
169
  z-index: 10;
164
170
  justify-self: center;
171
+ height: var(--zonos-elements-hello-widget-size);
172
+ width: var(--zonos-elements-hello-widget-size);
165
173
  }
166
174
  :host .zonos--hello-widget.zonos--hello-widget-float {
167
175
  position: fixed;
@@ -11,6 +11,7 @@ import { currencyFormat } from "../../utils/hello/currencyConversion/currencyFor
11
11
  import { detectItemRestrictions } from "../../utils/hello/detectItemRestrictions";
12
12
  import { getCurrentHelloLocalePage } from "../../utils/hello/getCurrentHelloLocalePage";
13
13
  import { getHasMoreSpaceOnRight } from "../../utils/hello/getHasMoreSpaceOnRight";
14
+ import { getHelloWidgetSize } from "../../utils/hello/getHelloWidgetSize";
14
15
  import { getProductsOnPage } from "../../utils/hello/getProductsOnPage";
15
16
  import { getZCountryUrlParam } from "../../utils/hello/getZCountryUrlParam";
16
17
  import { setZCountryUrlParam } from "../../utils/hello/setZCountryUrlParam";
@@ -351,7 +352,7 @@ export class ZonosHello {
351
352
  }
352
353
  getHelloLocation() {
353
354
  const mobileLocation = this.mobileLocationOverride || zonosStore.helloSettings.mobileLocation;
354
- const desktopLocation = zonosStore.helloSettings.desktopLocation;
355
+ const desktopLocation = this.desktopLocationOverride || zonosStore.helloSettings.desktopLocation;
355
356
  const isMobileWindow = this.isMobile;
356
357
  switch (true) {
357
358
  // Mobile
@@ -369,19 +370,27 @@ export class ZonosHello {
369
370
  default:
370
371
  case !isMobileWindow: {
371
372
  /**
372
- * Only float on desktop if there is no anchor specified and desktopLocation is set
373
- * This is to keep the same behavior as it is now (display at anchor if set on desktop, float on mobile).
374
- **/
375
- const shouldFloat = !zonosStore.helloSettings.anchorElementSelector && !!desktopLocation;
373
+ * Float on desktop when `desktopLocationOverride` is set (explicit
374
+ * consumer request) OR when no anchor is specified and a
375
+ * `desktopLocation` is configured in the store. With an anchor and no
376
+ * override, the widget renders inline at the anchor.
377
+ */
378
+ const shouldFloat = !!this.desktopLocationOverride ||
379
+ (!zonosStore.helloSettings.anchorElementSelector &&
380
+ !!desktopLocation);
381
+ // When a desktopLocation is set, derive the side deterministically
382
+ // from it so RIGHT positions resolve to `false` (not `undefined`).
383
+ // Spatial detection only runs as a fallback when no location is set
384
+ // (e.g. inline / anchored placement).
376
385
  const isOnLeft = this.animateFromLeftOverride ||
377
- (desktopLocation === null || desktopLocation === void 0 ? void 0 : desktopLocation.includes('LEFT')) ||
378
- this.shouldAnimateLeftDesktop();
386
+ (desktopLocation
387
+ ? desktopLocation.includes('LEFT')
388
+ : this.shouldAnimateLeftDesktop());
379
389
  const isOnTop = desktopLocation === null || desktopLocation === void 0 ? void 0 : desktopLocation.includes('TOP');
380
390
  return {
381
391
  isMobileWindow,
382
392
  isOnLeft,
383
393
  isOnTop,
384
- // Only float if
385
394
  shouldFloat,
386
395
  };
387
396
  }
@@ -420,7 +429,8 @@ export class ZonosHello {
420
429
  currencyCode: targetCurrency,
421
430
  });
422
431
  }
423
- return (h(Host, { class: "zonos--hello zonos--elements", "data-theme": theme }, showHello && (h("div", { class: classes([
432
+ const widgetSize = getHelloWidgetSize(zonosStore.helloSettings.widgetSize);
433
+ return (h(Host, { class: "zonos--hello zonos--elements", "data-theme": theme, style: { '--zonos-elements-hello-widget-size': `${widgetSize}px` } }, showHello && (h("div", { class: classes([
424
434
  'zonos--hello-wrapper',
425
435
  shouldFloat && 'zonos--hello-widget-float',
426
436
  ]) }, h("button", { class: classes([
@@ -443,7 +453,7 @@ export class ZonosHello {
443
453
  'zonos--hello-widget-left zonos--hello-widget-animate-from-left',
444
454
  isOnTop && 'zonos--hello-widget-top',
445
455
  shouldFloat && 'zonos--hello-widget-float',
446
- ]), style: { height: this.showDialog ? 'fit-content' : '0px' } }, h("zonos-hello-dialog", { animateFromLeftOverride: this.animateFromLeftOverride, appearanceSettings: appearanceSettings, isOpen: this.showDialog, mobileLocationOverride: this.mobileLocationOverride, restrictedItems: restrictedItemsOnPage, setIsOpen: this.changeShowDialog }))))));
456
+ ]), style: { height: this.showDialog ? 'fit-content' : '0px' } }, h("zonos-hello-dialog", { animateFromLeftOverride: isOnLeft, appearanceSettings: appearanceSettings, isOpen: this.showDialog, mobileLocationOverride: this.mobileLocationOverride, restrictedItems: restrictedItemsOnPage, setIsOpen: this.changeShowDialog }))))));
447
457
  }
448
458
  static get is() { return "zonos-hello"; }
449
459
  static get encapsulation() { return "shadow"; }
@@ -487,6 +497,31 @@ export class ZonosHello {
487
497
  "attribute": "mobile-location-override",
488
498
  "reflect": false
489
499
  },
500
+ "desktopLocationOverride": {
501
+ "type": "string",
502
+ "mutable": false,
503
+ "complexType": {
504
+ "original": "HelloDesktopLocation",
505
+ "resolved": "\"BOTTOM_LEFT\" | \"BOTTOM_RIGHT\" | \"TOP_LEFT\" | \"TOP_RIGHT\" | undefined",
506
+ "references": {
507
+ "HelloDesktopLocation": {
508
+ "location": "import",
509
+ "path": "src/types/generated/graphql.internal.types",
510
+ "id": "src/types/generated/graphql.internal.types.ts::HelloDesktopLocation"
511
+ }
512
+ }
513
+ },
514
+ "required": false,
515
+ "optional": true,
516
+ "docs": {
517
+ "tags": [],
518
+ "text": "Override the configured desktop floating location. Takes precedence over\n`helloSettings.desktopLocation` and also drives the peek-message animation\ndirection, so consumers no longer need `animateFromLeftOverride` for\ndesktop positioning."
519
+ },
520
+ "getter": false,
521
+ "setter": false,
522
+ "attribute": "desktop-location-override",
523
+ "reflect": false
524
+ },
490
525
  "animateFromLeftOverride": {
491
526
  "type": "boolean",
492
527
  "mutable": false,
@@ -324,18 +324,20 @@ export class ZonosHelloDialog {
324
324
  }
325
325
  }
326
326
  render() {
327
- var _a;
327
+ var _a, _b;
328
328
  const { selectedCountryCode } = localizationStore;
329
329
  // Show additional information if selected country has tax id
330
330
  const additionalInformation = this.getAdditionalDutyTaxMessage();
331
- const animateLeft = this.animateFromLeftOverride ||
332
- (this.dialogRef && getHasMoreSpaceOnRight(this.dialogRef));
331
+ // Honor an explicit boolean from the parent (computed from
332
+ // desktop/mobile location overrides) so dialog direction always matches
333
+ // the widget button. Fall back to spatial detection only when undefined.
334
+ const animateLeft = (_a = this.animateFromLeftOverride) !== null && _a !== void 0 ? _a : (this.dialogRef && getHasMoreSpaceOnRight(this.dialogRef));
333
335
  const animateFromBottom = this.dialogRef && getHasMoreSpaceAbove(this.dialogRef);
334
336
  const { customMessages } = localizationStore;
335
337
  const welcomeMessage = translate('Welcome to [storeName]', {
336
338
  storeName: zonosStore.organizationName,
337
339
  });
338
- const defaultMessageStr = ((_a = customMessages.find(x => x.pageName === 'hello_default')) === null || _a === void 0 ? void 0 : _a.message) ||
340
+ const defaultMessageStr = ((_b = customMessages.find(x => x.pageName === 'hello_default')) === null || _b === void 0 ? void 0 : _b.message) ||
339
341
  translate('Know about duties and taxes before you buy. Shop with confidence!');
340
342
  const defaultMessage = formatStringWithLinks(defaultMessageStr);
341
343
  const currentPage = this.getCurrentPageEnum();
@@ -345,25 +347,25 @@ export class ZonosHelloDialog {
345
347
  // If deminimis is undefined or null, assume it's $0
346
348
  const taxDeMinimisMessage = this.getTaxMessage();
347
349
  const inclusivePriceMessage = this.getInclusivePriceMessage();
348
- return (h(Host, { key: 'f6e7f88e0ff05246bb9313f5a7572b74b538c513', class: "zonos--elements" }, h("div", { key: '8438913f6265d619d0e58714b3fb3c8a4ebe6201', class: classes([
350
+ return (h(Host, { key: 'af2f34c21db4c521efe77a61bb779790741effba', class: "zonos--elements" }, h("div", { key: '4544ff7c5773d8cfccd6e4d866a07ee50c912a06', class: classes([
349
351
  'zonos--hello-dialog',
350
352
  animateLeft && 'zonos--hello-dialog-animate-from-left',
351
353
  animateFromBottom && 'zonos--hello-dialog-animate-from-bottom',
352
354
  !!this.mobileLocationOverride &&
353
355
  'zonos--hello-dialog-mobile-override',
354
356
  this.isOpen && 'zonos--hello-dialog-open',
355
- ]), inert: !this.isOpen, ref: el => el && (this.dialogRef = el) }, !this.showCountrySelect && !this.showLanguageSelect && (h("div", { key: 'ac944a1672251941e3c31660172b73cc5ad8fc6e' }, h("div", { key: 'd615ab55edeb0db000166a72df09ee6f3f945d5b', class: "zonos--hello-dialog-content" }, h("zonos-button", { key: 'f2526b46a1f4a94c1b43647d8ffb35d6c247f24e', 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: '2de560ae8b81bb97602abd72112b1d4b903b0ec6', spacing: 24 }, h("zonos-country-flag", { key: '4d0ea1596b825305ffff08f1991fdc8be49b52de', class: "zonos--hello-country-flag", countryCode: selectedCountryCode }), h("zonos-v-stack", { key: '50c6b033195cffaa2b0dee4dbc4766e488237b59', class: "zonos--hello-dialog-header", spacing: 4 }, h("zonos-text", { key: '8850a76a1a6faf8c18c6a0502fa8951ea823dec9', type: "boldSubheader" }, welcomeMessage), h("zonos-text", { key: '37f9bc0c4047564d01d977871f12c40dfadee286', innerHTML: defaultMessage, textColor: "gray-800" })), h("zonos-v-stack", { key: '0d3d262b8a0e4d11112e19fcc7271e9e38c64ef4', spacing: 8 }, this.restrictedItems.map(item => {
357
+ ]), inert: !this.isOpen, ref: el => el && (this.dialogRef = el) }, !this.showCountrySelect && !this.showLanguageSelect && (h("div", { key: '4ba3dd6d5cccda0350a47b5cf2d3dc1c74853d81' }, h("div", { key: 'd5d5990a0d66d5d8b871c595f6cc08ad6077fa79', class: "zonos--hello-dialog-content" }, h("zonos-button", { key: '51a79a23bd6ea5e632e12a73591a142a341ce4a1', 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: 'a505bcd3b78b81811dcd60d16971ceeb4c1a3aa7', spacing: 24 }, h("zonos-country-flag", { key: 'b82428ef373bc174e00255e8e0491466cd0fc177', class: "zonos--hello-country-flag", countryCode: selectedCountryCode }), h("zonos-v-stack", { key: '10d8e5a46961a02e7159ad57854835f115eb0d76', class: "zonos--hello-dialog-header", spacing: 4 }, h("zonos-text", { key: '030655d2e3ae3bf770ace2b6bffe96b1423a8aee', type: "boldSubheader" }, welcomeMessage), h("zonos-text", { key: 'ce954ae42f9fe90f49980d954522a2e30be23d5b', innerHTML: defaultMessage, textColor: "gray-800" })), h("zonos-v-stack", { key: '82de2ff11aaa0505737664757f698d9ddd199af1', spacing: 8 }, this.restrictedItems.map(item => {
356
358
  var _a;
357
359
  return item && (h("zonos-banner", { bannerTitle: item.name, intent: "error" }, (_a = item.itemRestrictions) === null || _a === void 0 ? void 0 : _a.map(x => (h("zonos-text", { textColor: "red-800" }, x === null || x === void 0 ? void 0 : x.note)))));
358
360
  }), (dutyDeMinimisMessage ||
359
361
  taxDeMinimisMessage ||
360
362
  inclusivePriceMessage ||
361
- !!(additionalInformation === null || additionalInformation === void 0 ? void 0 : additionalInformation.length)) && (h("zonos-card", { key: 'cd82f35a21820876e0080c8402c93445210b45ca', spacing: "12px" }, h("zonos-v-stack", { key: 'c25d69802e048e3068c67931aed385cf95d5469c', spacing: 12 }, this.renderHelloMessage({
363
+ !!(additionalInformation === null || additionalInformation === void 0 ? void 0 : additionalInformation.length)) && (h("zonos-card", { key: 'b9134233fce6f248576b7b894b4be313aacdbf3f', spacing: "12px" }, h("zonos-v-stack", { key: 'e427aaf3dc1e4bba952511528aad5ff66a4950bb', spacing: 12 }, this.renderHelloMessage({
362
364
  dutyDeMinimisMessage,
363
365
  inclusivePriceMessage,
364
366
  taxDeMinimisMessage,
365
367
  }), additionalInformation === null || additionalInformation === void 0 ? void 0 :
366
- additionalInformation.map(info => (h("div", { class: "zonos--flex-message" }, h("zonos-icon", { "aria-label": "Additional information for buying goods from selected country icon", content: BagIcon }), h("zonos-text", { "aria-label": `Additional information for buying goods from selected country message`, innerHTML: info }))))))), filteredMessages.map(x => (h("zonos-custom-message", { icon: MessageIcon, message: x.message })))))), h("zonos-hello-dialog-footer", { key: '9ae0e6deb5e29ce37f485f19b1ac1073fc7fe19f', appearanceSettings: this.appearanceSettings, setShowCountrySelect: value => this.setShowCountrySelect(value), setShowLanguageSelect: value => this.setShowLanguageSelect(value) }))), this.showCountrySelect && (h("div", { key: '96cd8a1c6c0bb29d4c1a9fe81bd8ed4a80449253' }, h("zonos-country-select", { key: '433ec94d70db0c5405048d497fb5aab766cc18e9', handleOnClose: () => this.setShowCountrySelect(false) }))), this.showLanguageSelect && (h("div", { key: 'e32b3047ac04d4daf8adaa7238b61a7b1dbe8210' }, h("zonos-language-select", { key: '2a1ae723e0600bb3193de7d0a1438dc08269e95e', handleOnClose: () => this.setShowLanguageSelect(false) }))))));
368
+ additionalInformation.map(info => (h("div", { class: "zonos--flex-message" }, h("zonos-icon", { "aria-label": "Additional information for buying goods from selected country icon", content: BagIcon }), h("zonos-text", { "aria-label": `Additional information for buying goods from selected country message`, innerHTML: info }))))))), filteredMessages.map(x => (h("zonos-custom-message", { icon: MessageIcon, message: x.message })))))), h("zonos-hello-dialog-footer", { key: '343956e04ee86fe6f9bcaa13f7e69c47d7d68c6e', appearanceSettings: this.appearanceSettings, setShowCountrySelect: value => this.setShowCountrySelect(value), setShowLanguageSelect: value => this.setShowLanguageSelect(value) }))), this.showCountrySelect && (h("div", { key: '99cd990b4df0ea4d5a8f1e81db99d23e6ebd3475' }, h("zonos-country-select", { key: 'd29ce0c79fb371c63b8b0630fd3d99892744179a', handleOnClose: () => this.setShowCountrySelect(false) }))), this.showLanguageSelect && (h("div", { key: '6a417d593d5644939f1ffbbbef3af6546e44b712' }, h("zonos-language-select", { key: '29c17d83f162a7237e9824d9f60c0cffdbdd1ae7', handleOnClose: () => this.setShowLanguageSelect(false) }))))));
367
369
  }
368
370
  static get is() { return "zonos-hello-dialog"; }
369
371
  static get encapsulation() { return "shadow"; }
@@ -143,7 +143,7 @@ export class ZonosController {
143
143
  }
144
144
  document.body.appendChild(scriptToInject);
145
145
  });
146
- // Custom HTML may set window.Zonos.googleAnalyticId; trigger relay ping so parent configures GA
146
+ // Custom HTML may set window.Zonos.googleAnalyticId / window.Zonos.facebookPixelId; trigger relay ping so parent configures GA / FB Pixel
147
147
  ensureAnalyticsRelayPing();
148
148
  }
149
149
  async initGooglePlacesService(settings) {
@@ -331,7 +331,7 @@ export class ZonosController {
331
331
  zonosStore.organizationName = organizationName;
332
332
  }
333
333
  render() {
334
- return h(Host, { key: '4355afb5d8b739bf114a898803287d948fa4539e', class: "zonos--elements" });
334
+ return h(Host, { key: 'd500743a0ed7dc7615e696aaf958216374e7c33b', class: "zonos--elements" });
335
335
  }
336
336
  static get is() { return "zonos-controller"; }
337
337
  static get encapsulation() { return "shadow"; }
@@ -13,7 +13,7 @@ import { isContrastColor } from "../../utils/isContrastColor";
13
13
  import { jsonParse } from "../../utils/jsonParse";
14
14
  import { log } from "../../utils/logging/log";
15
15
  import { logError } from "../../utils/logging/logError";
16
- import { submitGtag } from "../../utils/submitGtag";
16
+ import { submitAnalytics } from "../../utils/submitAnalytics";
17
17
  import { validateCheckoutSession } from "../../utils/validateCheckoutSession";
18
18
  const { onChange: paypalStoreOnChange, reset: paypalStoreReset, state: paypalStore, } = createStore(() => ({
19
19
  intent: 'capture',
@@ -95,7 +95,7 @@ const paypalButtonOptions = ({ checkoutSessionId, onPaypalFail, onPaypalSessionD
95
95
  // reset stripe error message
96
96
  stripeStore.hasPaymentError = false;
97
97
  stripeStore.customErrorMessage = null;
98
- submitGtag({
98
+ submitAnalytics({
99
99
  event: 'zonos-checkout-payment-fail',
100
100
  metadata: {
101
101
  checkoutSessionId,
@@ -160,7 +160,7 @@ const paypalButtonOptions = ({ checkoutSessionId, onPaypalFail, onPaypalSessionD
160
160
  // reset stripe error message
161
161
  stripeStore.hasPaymentError = false;
162
162
  stripeStore.customErrorMessage = null;
163
- submitGtag({
163
+ submitAnalytics({
164
164
  event: 'zonos-checkout-payment-fail',
165
165
  metadata: {
166
166
  checkoutSessionId,
@@ -176,7 +176,7 @@ const paypalButtonOptions = ({ checkoutSessionId, onPaypalFail, onPaypalSessionD
176
176
  // reset paypal error banner
177
177
  paypalStore.paypalErrorMessage = null;
178
178
  // submit google tag when the form is complete
179
- submitGtag({
179
+ submitAnalytics({
180
180
  event: 'zonos-checkout-payment-info',
181
181
  metadata: {
182
182
  checkoutSessionId,
@@ -82,6 +82,7 @@ const { dispose: zonosStoreDispose, onChange: zonosStoreOnChange, reset, state:
82
82
  productTitleElementSelector: '',
83
83
  restrictionBehavior: 'DISABLED',
84
84
  visibilityStatus: 'ENABLED',
85
+ widgetSize: null,
85
86
  },
86
87
  loadedConfig: false,
87
88
  onlineStoreSettings: {