@zonos/elements 1.3.11-alpha.1 → 1.3.11-alpha.2

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 (263) hide show
  1. package/dist/cjs/{cart-d9e9ecfc.js → cart-b34c001b.js} +66 -6
  2. package/dist/cjs/{getBorderRadius-9d619bf6.js → getBorderRadius-4fa738c3.js} +1 -1
  3. package/dist/cjs/{getContrastColor-af2386af.js → getContrastColor-c72796c6.js} +1 -1
  4. package/dist/cjs/{isDarkColor-a68274cf.js → isDarkColor-7faf0a82.js} +1 -1
  5. package/dist/cjs/loader.cjs.js +1 -1
  6. package/dist/cjs/{submitGtag-b7ef5d5b.js → submitGtag-1f1fbe1c.js} +15 -2
  7. package/dist/cjs/zonos-address_4.cjs.entry.js +12 -9
  8. package/dist/cjs/zonos-badge_2.cjs.entry.js +1 -1
  9. package/dist/cjs/zonos-banner.cjs.entry.js +1 -1
  10. package/dist/cjs/zonos-button_2.cjs.entry.js +4 -4
  11. package/dist/cjs/zonos-card_2.cjs.entry.js +4 -4
  12. package/dist/cjs/zonos-cart-items_10.cjs.entry.js +19 -21
  13. package/dist/cjs/zonos-checkout.cjs.entry.js +238 -13
  14. package/dist/cjs/zonos-controller.cjs.entry.js +4 -4
  15. package/dist/cjs/zonos-country-flag.cjs.entry.js +4 -4
  16. package/dist/cjs/zonos-country-select_3.cjs.entry.js +4 -4
  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 +16 -4
  20. package/dist/cjs/zonos-icon.cjs.entry.js +1 -1
  21. package/dist/cjs/zonos-logo.cjs.entry.js +1 -1
  22. package/dist/cjs/zonos-notification.cjs.entry.js +1 -1
  23. package/dist/cjs/zonos-payment.cjs.entry.js +4 -4
  24. package/dist/cjs/zonos-select-dialog-header_2.cjs.entry.js +1 -1
  25. package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +3 -3
  26. package/dist/cjs/zonos-text.cjs.entry.js +1 -1
  27. package/dist/cjs/{zonosStore-21334303.js → zonosStore-bd2a0c59.js} +19 -1
  28. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +4 -5
  29. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +91 -9
  30. package/dist/collection/components/checkout/zonos-checkout/zonos-review/zonos-review.css +1 -1
  31. package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.js +1 -1
  32. package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.js +5 -5
  33. package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.css +1 -0
  34. package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js +5 -4
  35. package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +5 -5
  36. package/dist/collection/components/common/zonos-icon/zonos-icon.js +2 -2
  37. package/dist/collection/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.js +7 -7
  38. package/dist/collection/components/hello/zonos-hello/zonos-hello.js +17 -2
  39. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +5 -5
  40. package/dist/collection/components/store/checkout/stripe.js +3 -0
  41. package/dist/collection/components/store/translationStore/strings.arabic.js +3 -0
  42. package/dist/collection/components/store/translationStore/strings.base.js +3 -0
  43. package/dist/collection/components/store/translationStore/strings.chinese.js +3 -0
  44. package/dist/collection/components/store/translationStore/strings.danish.js +3 -0
  45. package/dist/collection/components/store/translationStore/strings.dutch.js +3 -0
  46. package/dist/collection/components/store/translationStore/strings.french.js +3 -0
  47. package/dist/collection/components/store/translationStore/strings.german.js +3 -0
  48. package/dist/collection/components/store/translationStore/strings.hebrew.js +3 -0
  49. package/dist/collection/components/store/translationStore/strings.indonesian.js +3 -0
  50. package/dist/collection/components/store/translationStore/strings.italian.js +3 -0
  51. package/dist/collection/components/store/translationStore/strings.japanese.js +3 -0
  52. package/dist/collection/components/store/translationStore/strings.korean.js +3 -0
  53. package/dist/collection/components/store/translationStore/strings.norwegian.js +3 -0
  54. package/dist/collection/components/store/translationStore/strings.polish.js +3 -0
  55. package/dist/collection/components/store/translationStore/strings.portuguese.js +3 -0
  56. package/dist/collection/components/store/translationStore/strings.russian.js +3 -0
  57. package/dist/collection/components/store/translationStore/strings.spanish.js +3 -0
  58. package/dist/collection/components/store/translationStore/strings.swedish.js +3 -0
  59. package/dist/collection/components/store/translationStore/strings.turkish.js +3 -0
  60. package/dist/collection/components/store/translationStore/strings.vietnamese.js +3 -0
  61. package/dist/collection/components/store/zonosStore.js +19 -2
  62. package/dist/collection/components/stripe/zonos-address/zonos-address.js +5 -2
  63. package/dist/collection/components/utils/api/buildCartItemsByTempCart.js +24 -0
  64. package/dist/collection/components/utils/api/tempCartItem/getAttributes.js +66 -0
  65. package/dist/collection/components/utils/api/tempCartItem/getMeasurements.js +58 -0
  66. package/dist/collection/components/utils/api/trackConversionEvent.js +2 -0
  67. package/dist/collection/components/utils/checkout/isShippableCountry.js +2 -0
  68. package/dist/collection/components/utils/createCustomEvent.js +9 -0
  69. package/dist/collection/scripts/zonosBase.js +1 -0
  70. package/dist/collection/styles/stripe/addressRuleStyle.js +0 -3
  71. package/dist/collection/types/checkout/api/TempCart.js +1 -0
  72. package/dist/collection/types/generated/graphql.customer.types.js +73 -0
  73. package/dist/components/stripe.js +63 -3
  74. package/dist/components/trackConversionEvent.js +2 -0
  75. package/dist/components/zonos-address2.js +5 -2
  76. package/dist/components/zonos-checkbox2.js +3 -3
  77. package/dist/components/zonos-checkout-finish2.js +14 -6
  78. package/dist/components/zonos-checkout-progress-tabs2.js +6 -6
  79. package/dist/components/zonos-checkout.js +238 -11
  80. package/dist/components/zonos-dialog2.js +3 -3
  81. package/dist/components/zonos-hello-dialog2.js +1 -1
  82. package/dist/components/zonos-hello.js +16 -2
  83. package/dist/components/zonos-review2.js +1 -1
  84. package/dist/components/zonos-shipping-rich-radio2.js +1 -1
  85. package/dist/components/zonos-shipping2.js +1 -1
  86. package/dist/components/zonosStore.js +19 -2
  87. package/dist/esm/{cart-6cfd7560.js → cart-cc09eaef.js} +66 -6
  88. package/dist/esm/{getBorderRadius-c5fb7746.js → getBorderRadius-a89e45fb.js} +1 -1
  89. package/dist/esm/{getContrastColor-a1a6f6aa.js → getContrastColor-5fbc4746.js} +1 -1
  90. package/dist/esm/{isDarkColor-810fcaa5.js → isDarkColor-6bf71e51.js} +1 -1
  91. package/dist/esm/loader.js +1 -1
  92. package/dist/esm/{submitGtag-acca574d.js → submitGtag-2eedb117.js} +15 -3
  93. package/dist/esm/zonos-address_4.entry.js +12 -9
  94. package/dist/esm/zonos-badge_2.entry.js +1 -1
  95. package/dist/esm/zonos-banner.entry.js +1 -1
  96. package/dist/esm/zonos-button_2.entry.js +4 -4
  97. package/dist/esm/zonos-card_2.entry.js +4 -4
  98. package/dist/esm/zonos-cart-items_10.entry.js +19 -21
  99. package/dist/esm/zonos-checkout.entry.js +238 -13
  100. package/dist/esm/zonos-controller.entry.js +4 -4
  101. package/dist/esm/zonos-country-flag.entry.js +4 -4
  102. package/dist/esm/zonos-country-select_3.entry.js +4 -4
  103. package/dist/esm/zonos-elements.js +1 -1
  104. package/dist/esm/zonos-hello-dialog.entry.js +5 -5
  105. package/dist/esm/zonos-hello.entry.js +16 -4
  106. package/dist/esm/zonos-icon.entry.js +1 -1
  107. package/dist/esm/zonos-logo.entry.js +1 -1
  108. package/dist/esm/zonos-notification.entry.js +1 -1
  109. package/dist/esm/zonos-payment.entry.js +4 -4
  110. package/dist/esm/zonos-select-dialog-header_2.entry.js +1 -1
  111. package/dist/esm/zonos-shipping-rich-radio.entry.js +3 -3
  112. package/dist/esm/zonos-text.entry.js +1 -1
  113. package/dist/esm/{zonosStore-e5f3d4da.js → zonosStore-c4c45591.js} +19 -2
  114. package/dist/esm-es5/cart-cc09eaef.js +1 -0
  115. package/dist/esm-es5/{getBorderRadius-c5fb7746.js → getBorderRadius-a89e45fb.js} +1 -1
  116. package/dist/esm-es5/getContrastColor-5fbc4746.js +1 -0
  117. package/dist/esm-es5/{isDarkColor-810fcaa5.js → isDarkColor-6bf71e51.js} +1 -1
  118. package/dist/esm-es5/loader.js +1 -1
  119. package/dist/esm-es5/submitGtag-2eedb117.js +1 -0
  120. package/dist/esm-es5/zonos-address_4.entry.js +1 -1
  121. package/dist/esm-es5/zonos-badge_2.entry.js +1 -1
  122. package/dist/esm-es5/zonos-banner.entry.js +1 -1
  123. package/dist/esm-es5/zonos-button_2.entry.js +1 -1
  124. package/dist/esm-es5/zonos-card_2.entry.js +1 -1
  125. package/dist/esm-es5/zonos-cart-items_10.entry.js +1 -1
  126. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  127. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  128. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  129. package/dist/esm-es5/zonos-country-select_3.entry.js +1 -1
  130. package/dist/esm-es5/zonos-elements.js +1 -1
  131. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  132. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  133. package/dist/esm-es5/zonos-icon.entry.js +1 -1
  134. package/dist/esm-es5/zonos-logo.entry.js +1 -1
  135. package/dist/esm-es5/zonos-notification.entry.js +1 -1
  136. package/dist/esm-es5/zonos-payment.entry.js +1 -1
  137. package/dist/esm-es5/zonos-select-dialog-header_2.entry.js +1 -1
  138. package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
  139. package/dist/esm-es5/zonos-text.entry.js +1 -1
  140. package/dist/esm-es5/{zonosStore-e5f3d4da.js → zonosStore-c4c45591.js} +1 -1
  141. package/dist/scripts/getTempCartById.js +1 -0
  142. package/dist/scripts/loadZonos.js +1 -1
  143. package/dist/scripts/zonos.js +1 -1
  144. package/dist/scripts/zonosBase.js +1 -1
  145. package/dist/types/components/checkout/zonos-checkout/zonos-checkout.d.ts +7 -0
  146. package/dist/types/components/common/zonos-checkbox/zonos-checkbox.d.ts +1 -1
  147. package/dist/types/components/common/zonos-dialog/zonos-dialog.d.ts +1 -1
  148. package/dist/types/components/common/zonos-icon/zonos-icon.d.ts +1 -1
  149. package/dist/types/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.d.ts +2 -1
  150. package/dist/types/components/hello/zonos-hello/zonos-hello.d.ts +1 -0
  151. package/dist/types/components/hello/zonos-hello-dialog/zonos-hello-dialog.d.ts +2 -1
  152. package/dist/types/components/store/checkout/cart.d.ts +9 -3
  153. package/dist/types/components/store/translationStore/strings.arabic.d.ts +3 -0
  154. package/dist/types/components/store/translationStore/strings.base.d.ts +3 -0
  155. package/dist/types/components/store/translationStore/strings.chinese.d.ts +3 -0
  156. package/dist/types/components/store/translationStore/strings.danish.d.ts +3 -0
  157. package/dist/types/components/store/translationStore/strings.dutch.d.ts +3 -0
  158. package/dist/types/components/store/translationStore/strings.french.d.ts +3 -0
  159. package/dist/types/components/store/translationStore/strings.german.d.ts +3 -0
  160. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +3 -0
  161. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +3 -0
  162. package/dist/types/components/store/translationStore/strings.italian.d.ts +3 -0
  163. package/dist/types/components/store/translationStore/strings.japanese.d.ts +3 -0
  164. package/dist/types/components/store/translationStore/strings.korean.d.ts +3 -0
  165. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +3 -0
  166. package/dist/types/components/store/translationStore/strings.polish.d.ts +3 -0
  167. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +3 -0
  168. package/dist/types/components/store/translationStore/strings.russian.d.ts +3 -0
  169. package/dist/types/components/store/translationStore/strings.spanish.d.ts +3 -0
  170. package/dist/types/components/store/translationStore/strings.swedish.d.ts +3 -0
  171. package/dist/types/components/store/translationStore/strings.turkish.d.ts +3 -0
  172. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +3 -0
  173. package/dist/types/components/store/zonosStore.d.ts +11 -2
  174. package/dist/types/components/utils/api/buildCartItemsByTempCart.d.ts +7 -0
  175. package/dist/types/components/utils/api/getLocaleMessages.d.ts +1 -1
  176. package/dist/types/components/utils/api/tempCartItem/getAttributes.d.ts +11 -0
  177. package/dist/types/components/utils/api/tempCartItem/getMeasurements.d.ts +7 -0
  178. package/dist/types/components/utils/changeDeepProperty.d.ts +1 -1
  179. package/dist/types/components/utils/changeDeepPropertyAtIndex.d.ts +1 -1
  180. package/dist/types/components/utils/createCustomEvent.d.ts +12 -0
  181. package/dist/types/components/utils/getBorderRadius.d.ts +1 -1
  182. package/dist/types/components/utils/handleFetch.d.ts +2 -1
  183. package/dist/types/components.d.ts +2 -4
  184. package/dist/types/scripts/zonosBase.d.ts +10 -1
  185. package/dist/types/styles/stripe/addressRuleStyle.d.ts +2 -1
  186. package/dist/types/types/checkout/CheckoutConfig.d.ts +6 -1
  187. package/dist/types/types/checkout/api/TempCart.d.ts +80 -0
  188. package/dist/types/types/generated/graphql.customer.types.d.ts +97 -0
  189. package/dist/types/types/generated/graphql.customer.types.ts +135 -1
  190. package/dist/types/types/generated/graphql.frontend.types.d.ts +1 -1
  191. package/dist/types/types/generated/graphql.frontend.types.ts +1 -1
  192. package/dist/types/types/global.d.ts +10 -0
  193. package/dist/types/types/utils/deep/IDeepKeyofAtIndex.d.ts +1 -1
  194. package/dist/zonos-elements/{p-7e00a5dc.system.entry.js → p-001518eb.system.entry.js} +1 -1
  195. package/dist/zonos-elements/p-07022f11.js +1 -0
  196. package/dist/zonos-elements/p-0fe52bae.system.entry.js +1 -0
  197. package/dist/zonos-elements/{p-26aee7a0.entry.js → p-105a2e51.entry.js} +1 -1
  198. package/dist/zonos-elements/{p-f8b03017.system.entry.js → p-15cd4a76.system.entry.js} +1 -1
  199. package/dist/zonos-elements/{p-c4862aab.system.entry.js → p-160cdf4e.system.entry.js} +1 -1
  200. package/dist/zonos-elements/{p-b1ee44c6.system.js → p-167b3369.system.js} +1 -1
  201. package/dist/zonos-elements/{p-59595553.entry.js → p-171eb334.entry.js} +1 -1
  202. package/dist/zonos-elements/{p-e74f27da.js → p-1bbdfae5.js} +1 -1
  203. package/dist/zonos-elements/{p-22db99c9.system.entry.js → p-1d833f22.system.entry.js} +1 -1
  204. package/dist/zonos-elements/{p-824b8708.system.entry.js → p-1df9ab6a.system.entry.js} +1 -1
  205. package/dist/zonos-elements/p-1f54c83e.entry.js +1 -0
  206. package/dist/zonos-elements/{p-b9cde0c3.entry.js → p-215cd7ec.entry.js} +1 -1
  207. package/dist/zonos-elements/p-26e8f37a.entry.js +1 -0
  208. package/dist/zonos-elements/{p-6db032ee.system.js → p-41c2b1c5.system.js} +1 -1
  209. package/dist/zonos-elements/p-425865fd.system.entry.js +1 -0
  210. package/dist/zonos-elements/{p-6daa64bf.entry.js → p-43022147.entry.js} +1 -1
  211. package/dist/zonos-elements/{p-6dc606c6.entry.js → p-4515ec7b.entry.js} +1 -1
  212. package/dist/zonos-elements/{p-ac7155d7.entry.js → p-470284a3.entry.js} +1 -1
  213. package/dist/zonos-elements/{p-b76909ab.entry.js → p-4c9367f1.entry.js} +1 -1
  214. package/dist/zonos-elements/{p-9a2c3874.system.entry.js → p-4d7b27af.system.entry.js} +1 -1
  215. package/dist/zonos-elements/p-55519ef5.system.js +1 -0
  216. package/dist/zonos-elements/{p-fac20c60.system.entry.js → p-5ba91f13.system.entry.js} +1 -1
  217. package/dist/zonos-elements/p-6484bf31.system.js +1 -0
  218. package/dist/zonos-elements/p-6a1b934d.system.entry.js +1 -0
  219. package/dist/zonos-elements/{p-817e7f8e.entry.js → p-6bd4b5e6.entry.js} +1 -1
  220. package/dist/zonos-elements/{p-212992ec.system.entry.js → p-6c5c5377.system.entry.js} +1 -1
  221. package/dist/zonos-elements/p-6e81adba.system.js +1 -1
  222. package/dist/zonos-elements/{p-ff962844.entry.js → p-72c6bf0f.entry.js} +1 -1
  223. package/dist/zonos-elements/p-7575a42a.js +1 -0
  224. package/dist/zonos-elements/{p-0b51de7b.system.entry.js → p-7f9889bd.system.entry.js} +1 -1
  225. package/dist/zonos-elements/{p-0f414d6a.system.js → p-86034f1e.system.js} +1 -1
  226. package/dist/zonos-elements/p-9a1db995.entry.js +1 -0
  227. package/dist/zonos-elements/{p-a1a477c9.js → p-9a90fb56.js} +1 -1
  228. package/dist/zonos-elements/{p-ff17c03b.entry.js → p-9bdcd7b6.entry.js} +1 -1
  229. package/dist/zonos-elements/{p-d96f8d89.system.entry.js → p-a144d26a.system.entry.js} +1 -1
  230. package/dist/zonos-elements/{p-a398bc59.system.entry.js → p-a2f71e4f.system.entry.js} +1 -1
  231. package/dist/zonos-elements/{p-fd8c50e8.system.entry.js → p-b4c23bb5.system.entry.js} +1 -1
  232. package/dist/zonos-elements/{p-65a877e2.entry.js → p-b8718429.entry.js} +1 -1
  233. package/dist/zonos-elements/{p-60ac5342.system.entry.js → p-ba5596ae.system.entry.js} +1 -1
  234. package/dist/zonos-elements/p-beba218e.js +1 -0
  235. package/dist/zonos-elements/p-c7f11c60.entry.js +1 -0
  236. package/dist/zonos-elements/{p-a641dfcd.entry.js → p-d4222f1f.entry.js} +1 -1
  237. package/dist/zonos-elements/p-dde4c859.system.entry.js +1 -0
  238. package/dist/zonos-elements/{p-6a80f7f5.entry.js → p-e3a3e376.entry.js} +1 -1
  239. package/dist/zonos-elements/{p-b0e9226a.entry.js → p-e3de496a.entry.js} +1 -1
  240. package/dist/zonos-elements/{p-ed4d8d71.system.js → p-ed23a5df.system.js} +1 -1
  241. package/dist/zonos-elements/{p-b2c48954.system.entry.js → p-ed597cc9.system.entry.js} +1 -1
  242. package/dist/zonos-elements/{p-51c32b3d.entry.js → p-f1037168.entry.js} +1 -1
  243. package/dist/zonos-elements/{p-2d5a6a7f.system.entry.js → p-f42bffad.system.entry.js} +1 -1
  244. package/dist/zonos-elements/p-fa3d0aea.js +1 -0
  245. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  246. package/package.json +1 -1
  247. package/dist/esm-es5/cart-6cfd7560.js +0 -1
  248. package/dist/esm-es5/getContrastColor-a1a6f6aa.js +0 -1
  249. package/dist/esm-es5/submitGtag-acca574d.js +0 -1
  250. package/dist/zonos-elements/p-0dfd549e.system.entry.js +0 -1
  251. package/dist/zonos-elements/p-0f8acb62.js +0 -1
  252. package/dist/zonos-elements/p-2fdec8bc.system.entry.js +0 -1
  253. package/dist/zonos-elements/p-352ba771.system.js +0 -1
  254. package/dist/zonos-elements/p-4051a42d.js +0 -1
  255. package/dist/zonos-elements/p-5162f4cc.system.entry.js +0 -1
  256. package/dist/zonos-elements/p-55b8b98b.js +0 -1
  257. package/dist/zonos-elements/p-5a40684c.entry.js +0 -1
  258. package/dist/zonos-elements/p-61e08de7.system.entry.js +0 -1
  259. package/dist/zonos-elements/p-66cc1554.system.js +0 -1
  260. package/dist/zonos-elements/p-a7bfe188.entry.js +0 -1
  261. package/dist/zonos-elements/p-c6e44a9b.entry.js +0 -1
  262. package/dist/zonos-elements/p-cde25873.js +0 -1
  263. package/dist/zonos-elements/p-e2131057.entry.js +0 -1
@@ -203,6 +203,11 @@ export const classificationCalculateSource = {
203
203
  Internal: 'INTERNAL',
204
204
  Legacy: 'LEGACY',
205
205
  };
206
+ export const classificationRequestField = {
207
+ Category: 'CATEGORY',
208
+ Description: 'DESCRIPTION',
209
+ Name: 'NAME',
210
+ };
206
211
  export const clearanceType = {
207
212
  Commercial: 'COMMERCIAL',
208
213
  Postal: 'POSTAL',
@@ -1516,6 +1521,28 @@ export const lcgBillingMethod = {
1516
1521
  BillingDgs: 'BILLING_DGS',
1517
1522
  Legacy: 'LEGACY',
1518
1523
  };
1524
+ export const manualClassificationRequestCreateStatus = {
1525
+ Created: 'CREATED',
1526
+ Existing: 'EXISTING',
1527
+ };
1528
+ export const manualClassificationRequestStatus = {
1529
+ Completed: 'COMPLETED',
1530
+ Invalidated: 'INVALIDATED',
1531
+ Pending: 'PENDING',
1532
+ Reserved: 'RESERVED',
1533
+ };
1534
+ export const manualClassificationRequestsSorting = {
1535
+ HsCode: 'HS_CODE',
1536
+ Priority: 'PRIORITY',
1537
+ };
1538
+ export const manualClassificationSettingStatus = {
1539
+ Disabled: 'DISABLED',
1540
+ Enabled: 'ENABLED',
1541
+ };
1542
+ export const manualClassificationStatus = {
1543
+ Active: 'ACTIVE',
1544
+ Archived: 'ARCHIVED',
1545
+ };
1519
1546
  export const matchType = {
1520
1547
  ExactMatch: 'EXACT_MATCH',
1521
1548
  NoMatch: 'NO_MATCH',
@@ -1653,6 +1680,15 @@ export const propertyType = {
1653
1680
  Residental: 'RESIDENTAL',
1654
1681
  Residential: 'RESIDENTIAL',
1655
1682
  };
1683
+ export const providedHsCodeVisibilityStatus = {
1684
+ NotVisible: 'NOT_VISIBLE',
1685
+ Visible: 'VISIBLE',
1686
+ };
1687
+ export const restrictedItemAction = {
1688
+ Block: 'BLOCK',
1689
+ BlockAll: 'BLOCK_ALL',
1690
+ Warn: 'WARN',
1691
+ };
1656
1692
  export const result = {
1657
1693
  Failure: 'FAILURE',
1658
1694
  Success: 'SUCCESS',
@@ -1689,6 +1725,31 @@ export const shipmentConsolidationStatus = {
1689
1725
  Closed: 'CLOSED',
1690
1726
  Open: 'OPEN',
1691
1727
  };
1728
+ export const shipmentRatingBatteryMaterialType = {
1729
+ LithiumIon: 'LITHIUM_ION',
1730
+ LithiumMetal: 'LITHIUM_METAL',
1731
+ };
1732
+ export const shipmentRatingBatteryPackingType = {
1733
+ BatteryInsideEquipment: 'BATTERY_INSIDE_EQUIPMENT',
1734
+ BatteryOnly: 'BATTERY_ONLY',
1735
+ BatteryPackagedWithEquipment: 'BATTERY_PACKAGED_WITH_EQUIPMENT',
1736
+ };
1737
+ export const shipmentRatingSignatureOptionType = {
1738
+ Adult: 'ADULT',
1739
+ Default: 'DEFAULT',
1740
+ Direct: 'DIRECT',
1741
+ Indirect: 'INDIRECT',
1742
+ };
1743
+ export const shipmentRatingSpecialServiceType = {
1744
+ Alcohol: 'ALCOHOL',
1745
+ Battery: 'BATTERY',
1746
+ CutFlowers: 'CUT_FLOWERS',
1747
+ DangerousGoods: 'DANGEROUS_GOODS',
1748
+ DryIce: 'DRY_ICE',
1749
+ SaturdayDelivery: 'SATURDAY_DELIVERY',
1750
+ SignatureOption: 'SIGNATURE_OPTION',
1751
+ SundayDelivery: 'SUNDAY_DELIVERY',
1752
+ };
1692
1753
  export const shipmentSpecialService = {
1693
1754
  Consolidation: 'CONSOLIDATION',
1694
1755
  CutFlowers: 'CUT_FLOWERS',
@@ -1810,6 +1871,7 @@ export const taxIdType = {
1810
1871
  export const taxMethodType = {
1811
1872
  Consignment: 'CONSIGNMENT',
1812
1873
  Default: 'DEFAULT',
1874
+ Domestic: 'DOMESTIC',
1813
1875
  };
1814
1876
  export const tokenTypeCategory = {
1815
1877
  Auxiliary: 'AUXILIARY',
@@ -1897,6 +1959,17 @@ export const wcoVersion = {
1897
1959
  Wco_2067: 'WCO_2067',
1898
1960
  Wco_2072: 'WCO_2072',
1899
1961
  };
1962
+ export const webhookStatus = {
1963
+ Disabled: 'DISABLED',
1964
+ Enabled: 'ENABLED',
1965
+ };
1966
+ export const webhookType = {
1967
+ OrderCanceled: 'ORDER_CANCELED',
1968
+ OrderCreated: 'ORDER_CREATED',
1969
+ OrderStatusChanged: 'ORDER_STATUS_CHANGED',
1970
+ ShipmentCanceled: 'SHIPMENT_CANCELED',
1971
+ ShipmentCreated: 'SHIPMENT_CREATED',
1972
+ };
1900
1973
  export const weightUnitCode = {
1901
1974
  Gram: 'GRAM',
1902
1975
  Kilogram: 'KILOGRAM',
@@ -66,6 +66,9 @@ const stringsArabic = {
66
66
  'No shipping method selected': {
67
67
  value: 'لم يتم تحديد طريقة الشحن',
68
68
  },
69
+ '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.': {
70
+ value: 'لم يتم العثور على طرق شحن - يرجى مراجعة وتحديث تفاصيل عنوانك بتحديد علامة التبويب "العميل" أعلاه. إذا واصلت مواجهة مشكلات، اتصل بفريق الدعم لدينا للحصول على المساعدة.',
71
+ },
69
72
  'No shipping methods found - try editing your address or contacting support if the error persists': {
70
73
  value: 'لم يتم العثور على طرق شحن - جرب تحرير عنوانك أو الاتصال بالدعم إذا استمر الخطأ',
71
74
  },
@@ -246,6 +249,9 @@ const stringsBase = {
246
249
  'No shipping method selected': {
247
250
  value: 'No shipping method selected',
248
251
  },
252
+ '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.': {
253
+ value: '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.',
254
+ },
249
255
  'No shipping methods found - try editing your address or contacting support if the error persists': {
250
256
  value: 'No shipping methods found - try editing your address or contacting support if the error persists',
251
257
  },
@@ -426,6 +432,9 @@ const stringsChinese = {
426
432
  'No shipping method selected': {
427
433
  value: '未选择运输方式',
428
434
  },
435
+ '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.': {
436
+ value: '未找到配送方式 - 请通过选择上方的"客户"标签,检查并更新您的地址详情。如果您继续遇到问题,请联系我们的支持团队寻求帮助。',
437
+ },
429
438
  'No shipping methods found - try editing your address or contacting support if the error persists': {
430
439
  value: '未找到运输方法 - 如果错误仍然存在,请尝试编辑您的地址或联系支持',
431
440
  },
@@ -606,6 +615,9 @@ const stringsDanish = {
606
615
  'No shipping method selected': {
607
616
  value: 'Ingen leveringsmetode valgt',
608
617
  },
618
+ '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.': {
619
+ value: 'Ingen leveringsmetoder fundet - venligst gennemgå og opdater dine adresseoplysninger ved at vælge "Kunde" fanen ovenfor. Hvis du fortsætter med at opleve problemer, kontakt da vores supportteam for assistance.',
620
+ },
609
621
  'No shipping methods found - try editing your address or contacting support if the error persists': {
610
622
  value: 'Ingen forsendelsesmetoder fundet - prøv at redigere din adresse eller kontakte support, hvis fejlen fortsætter',
611
623
  },
@@ -786,6 +798,9 @@ const stringsDutch = {
786
798
  'No shipping method selected': {
787
799
  value: 'Geen verzendmethode geselecteerd',
788
800
  },
801
+ '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.': {
802
+ value: 'Geen verzendmethoden gevonden - gelieve uw adresgegevens te controleren en bij te werken door het tabblad "Klant" hierboven te selecteren. Als u problemen blijft ondervinden, neem dan contact op met ons ondersteuningsteam voor hulp.',
803
+ },
789
804
  'No shipping methods found - try editing your address or contacting support if the error persists': {
790
805
  value: 'Geen verzendmethoden gevonden - probeer uw adres te bewerken of neem contact op met de ondersteuning als de fout aanhoudt',
791
806
  },
@@ -966,6 +981,9 @@ const stringsFrench = {
966
981
  'No shipping method selected': {
967
982
  value: 'Aucune méthode de livraison sélectionnée',
968
983
  },
984
+ '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.': {
985
+ value: "Aucune méthode d'expédition trouvée - veuillez vérifier et mettre à jour vos détails d'adresse en sélectionnant l'onglet 'Client' ci-dessus. Si vous continuez à rencontrer des problèmes, contactez notre équipe de support pour assistance.",
986
+ },
969
987
  'No shipping methods found - try editing your address or contacting support if the error persists': {
970
988
  value: "Aucune méthode d'expédition trouvée - essayez de modifier votre adresse ou de contacter le support si l'erreur persiste",
971
989
  },
@@ -1146,6 +1164,9 @@ const stringsGerman = {
1146
1164
  'No shipping method selected': {
1147
1165
  value: 'Keine Versandart ausgewählt',
1148
1166
  },
1167
+ '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.': {
1168
+ value: 'Keine Versandmethoden gefunden - bitte überprüfen und aktualisieren Sie Ihre Adressangaben, indem Sie den Reiter "Kunde" oben auswählen. Wenn Sie weiterhin Probleme haben, kontaktieren Sie unser Support-Team zur Unterstützung.',
1169
+ },
1149
1170
  'No shipping methods found - try editing your address or contacting support if the error persists': {
1150
1171
  value: 'Keine Versandmethoden gefunden - versuchen Sie, Ihre Adresse zu bearbeiten, oder kontaktieren Sie den Support, wenn der Fehler weiterhin besteht',
1151
1172
  },
@@ -1326,6 +1347,9 @@ const stringsHebrew = {
1326
1347
  'No shipping method selected': {
1327
1348
  value: 'לא נבחרה שיטת משלוח',
1328
1349
  },
1350
+ '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.': {
1351
+ value: 'לא נמצאו שיטות משלוח - אנא בדוק ועדכן את פרטי הכתובת שלך על ידי בחירת הכרטיסייה "לקוח" למעלה. אם אתה ממשיך להיתקל בבעיות, צור קשר עם צוות התמיכה שלנו לעזרה.',
1352
+ },
1329
1353
  'No shipping methods found - try editing your address or contacting support if the error persists': {
1330
1354
  value: 'לא נמצאו שיטות משלוח - נסו לערוך את הכתובת שלך או ליצור קשר עם התמיכה אם השגיאה ממשיכה',
1331
1355
  },
@@ -1506,6 +1530,9 @@ const stringsIndonesian = {
1506
1530
  'No shipping method selected': {
1507
1531
  value: 'Tidak ada metode pengiriman yang dipilih',
1508
1532
  },
1533
+ '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.': {
1534
+ value: 'Tidak ditemukan metode pengiriman - silakan tinjau dan perbarui detail alamat Anda dengan memilih tab "Pelanggan" di atas. Jika Anda terus mengalami masalah, hubungi tim dukungan kami untuk bantuan.',
1535
+ },
1509
1536
  'No shipping methods found - try editing your address or contacting support if the error persists': {
1510
1537
  value: 'Tidak ditemukan metode pengiriman - coba edit alamat Anda atau hubungi dukungan jika kesalahan masih berlanjut',
1511
1538
  },
@@ -1686,6 +1713,9 @@ const stringsItalian = {
1686
1713
  'No shipping method selected': {
1687
1714
  value: 'Nessun metodo di spedizione selezionato',
1688
1715
  },
1716
+ '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.': {
1717
+ value: 'Nessun metodo di spedizione trovato - si prega di rivedere e aggiornare i dettagli del vostro indirizzo selezionando la scheda "Cliente" sopra. Se continuate a incontrare problemi, contattate il nostro team di supporto per assistenza.',
1718
+ },
1689
1719
  'No shipping methods found - try editing your address or contacting support if the error persists': {
1690
1720
  value: "Nessun metodo di spedizione trovato - prova a modificare il tuo indirizzo o contatta il supporto se l'errore persiste",
1691
1721
  },
@@ -1866,6 +1896,9 @@ const stringsJapanese = {
1866
1896
  'No shipping method selected': {
1867
1897
  value: '配送方法が選択されていません',
1868
1898
  },
1899
+ '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.': {
1900
+ value: '配送方法が見つかりませんでした - 上の「顧客」タブを選択して住所の詳細を確認し、更新してください。引き続き問題が発生する場合は、サポートチームに連絡して支援を受けてください。',
1901
+ },
1869
1902
  'No shipping methods found - try editing your address or contacting support if the error persists': {
1870
1903
  value: '配送方法が見つかりません - 住所を編集するか、エラーが続く場合はサポートにお問い合わせください',
1871
1904
  },
@@ -2046,6 +2079,9 @@ const stringsKorean = {
2046
2079
  'No shipping method selected': {
2047
2080
  value: '선택된 배송 방법이 없습니다',
2048
2081
  },
2082
+ '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.': {
2083
+ value: '배송 방법을 찾을 수 없습니다 - 위의 "고객" 탭을 선택하여 주소 세부 정보를 검토하고 업데이트하십시오. 문제가 계속 발생하는 경우, 지원 팀에 연락하여 도움을 받으십시오.',
2084
+ },
2049
2085
  'No shipping methods found - try editing your address or contacting support if the error persists': {
2050
2086
  value: '배송 방법을 찾을 수 없습니다 - 주소를 편집하거나 오류가 계속되는 경우 지원팀에 문의하세요',
2051
2087
  },
@@ -2226,6 +2262,9 @@ const stringsNorwegian = {
2226
2262
  'No shipping method selected': {
2227
2263
  value: 'Ingen fraktmetode valgt',
2228
2264
  },
2265
+ '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.': {
2266
+ value: 'Ingen fraktmetoder funnet - vennligst se over og oppdater dine adresseopplysninger ved å velge "Kunde"-fanen ovenfor. Hvis du fortsetter å oppleve problemer, kontakt vårt støtteteam for assistanse.',
2267
+ },
2229
2268
  'No shipping methods found - try editing your address or contacting support if the error persists': {
2230
2269
  value: 'Ingen fraktmetoder funnet - prøv å redigere adressen din eller kontakte støtte hvis feilen fortsetter',
2231
2270
  },
@@ -2406,6 +2445,9 @@ const stringsPolish = {
2406
2445
  'No shipping method selected': {
2407
2446
  value: 'Nie wybrano metody wysyłki',
2408
2447
  },
2448
+ '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.': {
2449
+ value: 'Nie znaleziono metod wysyłki - proszę przejrzeć i zaktualizować szczegóły adresu, wybierając zakładkę "Klient" powyżej. Jeśli nadal napotykasz problemy, skontaktuj się z naszym zespołem wsparcia w celu uzyskania pomocy.',
2450
+ },
2409
2451
  'No shipping methods found - try editing your address or contacting support if the error persists': {
2410
2452
  value: 'Nie znaleziono metod dostawy - spróbuj edytować swój adres lub skontaktować się z obsługą, jeśli błąd będzie się utrzymywać',
2411
2453
  },
@@ -2586,6 +2628,9 @@ const stringsPortuguese = {
2586
2628
  'No shipping method selected': {
2587
2629
  value: 'Nenhum método de envio selecionado',
2588
2630
  },
2631
+ '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.': {
2632
+ value: 'Nenhum método de envio encontrado - por favor, revise e atualize os detalhes do seu endereço selecionando a aba "Cliente" acima. Se você continuar encontrando problemas, entre em contato com nossa equipe de suporte para assistência.',
2633
+ },
2589
2634
  'No shipping methods found - try editing your address or contacting support if the error persists': {
2590
2635
  value: 'Nenhum método de envio encontrado - tente editar seu endereço ou entrar em contato com o suporte se o erro persistir',
2591
2636
  },
@@ -2766,6 +2811,9 @@ const stringsRussian = {
2766
2811
  'No shipping method selected': {
2767
2812
  value: 'Метод доставки не выбран',
2768
2813
  },
2814
+ '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.': {
2815
+ value: 'Способы доставки не найдены - пожалуйста, проверьте и обновите детали вашего адреса, выбрав вкладку "Клиент" выше. Если вы продолжаете сталкиваться с проблемами, свяжитесь с нашей службой поддержки за помощью.',
2816
+ },
2769
2817
  'No shipping methods found - try editing your address or contacting support if the error persists': {
2770
2818
  value: 'Не найдено методов доставки - попробуйте отредактировать ваш адрес или свяжитесь с поддержкой, если ошибка сохраняется',
2771
2819
  },
@@ -2946,6 +2994,9 @@ const stringsSpanish = {
2946
2994
  'No shipping method selected': {
2947
2995
  value: 'No se ha seleccionado un método de envío',
2948
2996
  },
2997
+ '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.': {
2998
+ value: 'No se encontraron métodos de envío - por favor revise y actualice los detalles de su dirección seleccionando la pestaña "Cliente" arriba. Si continúa encontrando problemas, contacte a nuestro equipo de soporte para obtener ayuda.',
2999
+ },
2949
3000
  'No shipping methods found - try editing your address or contacting support if the error persists': {
2950
3001
  value: 'No se encontraron métodos de envío: intenta editar tu dirección o contactar al soporte si el error persiste',
2951
3002
  },
@@ -3126,6 +3177,9 @@ const stringsSwedish = {
3126
3177
  'No shipping method selected': {
3127
3178
  value: 'Ingen fraktmetod vald',
3128
3179
  },
3180
+ '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.': {
3181
+ value: 'Inga leveransmetoder hittades - vänligen granska och uppdatera dina adressuppgifter genom att välja "Kund"-fliken ovan. Om du fortsätter att stöta på problem, kontakta vårt supportteam för hjälp.',
3182
+ },
3129
3183
  'No shipping methods found - try editing your address or contacting support if the error persists': {
3130
3184
  value: 'Inga leveransmetoder hittades - försök redigera din adress eller kontakta supporten om felet kvarstår',
3131
3185
  },
@@ -3306,6 +3360,9 @@ const stringsTurkish = {
3306
3360
  'No shipping method selected': {
3307
3361
  value: 'Kargo yöntemi seçilmedi',
3308
3362
  },
3363
+ '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.': {
3364
+ value: 'Gönderim yöntemleri bulunamadı - lütfen "Müşteri" sekmesini yukarıdan seçerek adres detaylarınızı gözden geçirin ve güncelleyin. Sorunlarla karşılaşmaya devam ederseniz, yardım için destek ekibimizle iletişime geçin.',
3365
+ },
3309
3366
  'No shipping methods found - try editing your address or contacting support if the error persists': {
3310
3367
  value: 'Hiçbir gönderi yöntemi bulunamadı - eğer hata devam ediyorsa adresinizi düzenlemeyi deneyin veya destekle iletişime geçin',
3311
3368
  },
@@ -3486,6 +3543,9 @@ const stringsVietnamese = {
3486
3543
  'No shipping method selected': {
3487
3544
  value: 'Chưa chọn phương thức vận chuyển',
3488
3545
  },
3546
+ '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.': {
3547
+ value: 'Không tìm thấy phương thức vận chuyển - vui lòng xem lại và cập nhật chi tiết địa chỉ của bạn bằng cách chọn tab "Khách hàng" phía trên. Nếu bạn tiếp tục gặp sự cố, hãy liên hệ với đội ngũ hỗ trợ của chúng tôi để được hỗ trợ.',
3548
+ },
3489
3549
  'No shipping methods found - try editing your address or contacting support if the error persists': {
3490
3550
  value: 'Không tìm thấy phương thức vận chuyển - hãy thử chỉnh sửa địa chỉ của bạn hoặc liên hệ hỗ trợ nếu lỗi vẫn tiếp tục',
3491
3551
  },
@@ -4626,9 +4686,6 @@ const addressRuleStyle = ({ theme, }) => {
4626
4686
  // any value here will be add up to the default paddingTop (20px).
4627
4687
  paddingTop: '6px',
4628
4688
  },
4629
- '.Input:focus': {
4630
- boxShadow: 'none',
4631
- },
4632
4689
  '.PickerItem--highlight': {
4633
4690
  boxShadow: '0 0 0 2px var(--colorBackground)',
4634
4691
  },
@@ -4850,6 +4907,9 @@ const stripeStorePrefetchLandedCost = async () => {
4850
4907
  }
4851
4908
  }
4852
4909
  catch (err) {
4910
+ // default to empty array if we fail to fetch landed cost, so we can show the error message
4911
+ cartStore.landedCostData = [];
4912
+ cartStore.shippingData = [];
4853
4913
  logError(err);
4854
4914
  }
4855
4915
  stripeStore.isFetchingLandedCost = false;
@@ -5,6 +5,8 @@ const trackConversionEvent = async (eventName, metadata) => {
5
5
  var _a, _b;
6
6
  // If a Zonos domain, or in qa mode with zonosQaUrl, or debug mode is on, we don't want analytics to be tracked
7
7
  if (window.location.href.includes('zonos.com') ||
8
+ // legacy mock checkout, no need to track analytics for this
9
+ window.location.href.includes('checkout.iglobalstores.com') ||
8
10
  !!((_a = window.Zonos) === null || _a === void 0 ? void 0 : _a.zonosQaUrl) ||
9
11
  !!((_b = window.Zonos) === null || _b === void 0 ? void 0 : _b.debug)) {
10
12
  return;
@@ -115,7 +115,10 @@ const ZonosAddress = /*@__PURE__*/ proxyCustomElement(class ZonosAddress extends
115
115
  : [];
116
116
  const addressElement = stripeElements.create('address', {
117
117
  allowedCountries: this.type === 'shipping' ? shippingZone : [],
118
- contacts: this.defaultAddress ? [this.defaultAddress] : [],
118
+ // only show the default address if stripeAddressEventData is not provided
119
+ contacts: this.defaultAddress && !stripeAddressEventData
120
+ ? [this.defaultAddress]
121
+ : [],
119
122
  defaultValues: {
120
123
  address: Object.assign(Object.assign({}, stripeAddressEventData === null || stripeAddressEventData === void 0 ? void 0 : stripeAddressEventData.value.address), { country: (stripeAddressEventData === null || stripeAddressEventData === void 0 ? void 0 : stripeAddressEventData.value.address.country) ||
121
124
  localizationStore.selectedCountryCode ||
@@ -189,7 +192,7 @@ const ZonosAddress = /*@__PURE__*/ proxyCustomElement(class ZonosAddress extends
189
192
  }
190
193
  render() {
191
194
  // this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
192
- return (h(Host, { key: '94a81dc71b5425ac0ab7868bc55072fdd695fa7d', class: "zonos--address zonos--elements" }, h("zonos-text", { key: '5bddb83ba17b50b779820fd9bdf0630ce03274b5', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: '0f076c843b1997b8e1290caf2b8fe18b78114f65', class: "zonos--address-component" }), this.hasInvalidCharacters && (h("zonos-banner", { bannerTitle: translate('Please ensure your text uses the Latin alphabet only (A-Z, a-z).'), intent: "error" }))));
195
+ return (h(Host, { key: '81b9d2e822eea4eb85a3d7d21ff645c9f0841f30', class: "zonos--address zonos--elements" }, h("zonos-text", { key: 'cd180e130f161233fd05365f9250913214846ced', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: 'b4d15f56e1215305367c071c4d9be985b09245b8', class: "zonos--address-component" }), this.hasInvalidCharacters && (h("zonos-banner", { bannerTitle: translate('Please ensure your text uses the Latin alphabet only (A-Z, a-z).'), intent: "error" }))));
193
196
  }
194
197
  get el() { return this; }
195
198
  static get watchers() { return {
@@ -46,14 +46,14 @@ const ZonosCheckbox = /*@__PURE__*/ proxyCustomElement(class ZonosCheckbox exten
46
46
  ? 'var(--amino-gray-800)'
47
47
  : 'var(--amino-gray-0)';
48
48
  const borderStyle = getBorderRadius(this.borderStyle, '4px');
49
- return (h(Host, { key: '20c925f03d3659edde22d4e075aab5ac7323efc1', class: classes(['zonos--elements zonos--checkbox']), style: {
49
+ return (h(Host, { key: '2ae2a0d33d34aafe96cc91e1cd7c7ee530dede4b', class: classes(['zonos--elements zonos--checkbox']), style: {
50
50
  '--background-color': backgroundColor,
51
51
  '--border-radius': borderStyle,
52
52
  '--font-family': zonosStoreFontFamily(),
53
53
  '--size': `${this.size}px`,
54
- } }, h("label", { key: 'c2a0fd9fa8f3aebed3bc996647bfb88299822257', class: classes([this.isDisabled && 'disabled']) }, h("input", { key: 'c3293e1ac102b874eccd2ef9494f94c5da3e28e1', checked: this.isChecked, disabled: this.isDisabled, hidden: true, onChange: e => {
54
+ } }, h("label", { key: 'b9630027581a9f20374c2dfe88faa94cb50203c9', class: classes([this.isDisabled && 'disabled']) }, h("input", { key: 'd1b2411d9f906692f18514a15df1bb290f662164', checked: this.isChecked, disabled: this.isDisabled, hidden: true, onChange: e => {
55
55
  this.checkboxSelected.emit(e.target.checked);
56
- }, type: "checkbox" }), h("span", { key: '8d0a39007516ee7f9700f40f3fab20f21161a045', class: "checkmark-container" }, h("svg", { key: 'ee310e0aa1d06f7c81272cac5991dc5c34e19655', class: "checkmark", color: checkmarkColor, fill: "none", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '44611f270e104bc421f50aaccbce1b059e8aa15f', "clip-rule": "evenodd", d: "M17.456 7.404a.75.75 0 0 1 .14 1.052l-6.5 8.5a.75.75 0 0 1-1.126.074l-4-4a.75.75 0 0 1 1.06-1.06l3.395 3.394 5.98-7.82a.75.75 0 0 1 1.05-.14Z", fill: "currentColor", "fill-rule": "evenodd" }))), this.label && (h("zonos-text", { size: this.fontSize }, this.label)))));
56
+ }, type: "checkbox" }), h("span", { key: '8fc3cda232615f446aff5db71cd992de5327b8e7', class: "checkmark-container" }, h("svg", { key: '5b91a7a26abfd80850eb3c2bb2e045ef73abfd7a', class: "checkmark", color: checkmarkColor, fill: "none", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '2046a40a75da63ac288c5def90d82ab0d0e0523c', "clip-rule": "evenodd", d: "M17.456 7.404a.75.75 0 0 1 .14 1.052l-6.5 8.5a.75.75 0 0 1-1.126.074l-4-4a.75.75 0 0 1 1.06-1.06l3.395 3.394 5.98-7.82a.75.75 0 0 1 1.05-.14Z", fill: "currentColor", "fill-rule": "evenodd" }))), this.label && (h("zonos-text", { size: this.fontSize }, this.label)))));
57
57
  }
58
58
  static get style() { return ZonosCheckboxStyle0; }
59
59
  }, [1, "zonos-checkbox", {
@@ -9,6 +9,16 @@ import { d as defineCustomElement$3 } from './zonos-icon2.js';
9
9
  import { d as defineCustomElement$2 } from './zonos-spinner2.js';
10
10
  import { d as defineCustomElement$1 } from './zonos-text2.js';
11
11
 
12
+ /**
13
+ * Strongly typed custom event creation for all available events in zonos-checkout project
14
+ */
15
+ const createCustomEvent = (eventName, detail) => {
16
+ // eslint-disable-next-line no-restricted-syntax
17
+ return new CustomEvent(eventName, {
18
+ detail,
19
+ });
20
+ };
21
+
12
22
  const sendErrorLog = async ({ endpoint, errors, metadata }) => {
13
23
  const userAgentData = 'userAgentData' in window.navigator
14
24
  ? // userAgentData is not yet supported in all browsers
@@ -126,10 +136,8 @@ const ZonosCheckoutFinish = /*@__PURE__*/ proxyCustomElement(class ZonosCheckout
126
136
  void trackConversionEvent('checkout_paymentInfoCompleted', {
127
137
  paymentMethod,
128
138
  });
129
- const successEvent = new CustomEvent('zonos-checkout-success', {
130
- detail: {
131
- message: 'Zonos Checkout successfully processed order',
132
- },
139
+ const successEvent = createCustomEvent('zonos-checkout-success', {
140
+ message: 'Zonos Checkout successfully processed order',
133
141
  });
134
142
  document.dispatchEvent(successEvent);
135
143
  }
@@ -179,7 +187,7 @@ const ZonosCheckoutFinish = /*@__PURE__*/ proxyCustomElement(class ZonosCheckout
179
187
  // const totalItems = this.order?.items?.reduce((acc, item) => {
180
188
  // return acc + item.quantity;
181
189
  // }, 0);
182
- return (h(Host, { key: 'd3e8a30ddfffe0cee18ff29edf839775f7a9d8ec', class: "zonos--checkout-finish zonos--elements", style: {
190
+ return (h(Host, { key: '8c2087b3a0578cbbd7979fff5e6b696a4325e548', class: "zonos--checkout-finish zonos--elements", style: {
183
191
  '--border-radius': getBorderRadius(this.borderRadius),
184
192
  } }, this.isLoading && (h("div", { class: "loading-wrapper" }, h("zonos-spinner", null))), !this.isLoading && (h(Fragment, null, h("div", { 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", { class: "zonos--title", type: "semiBoldSubheader" }, this.notificationTitle), h("zonos-text", null, this.notificationMessages.map(message => (h(Fragment, null, message, h("br", null))))), h("zonos-button", { onClick: () => this.closeClickHandler(), size: "md", variant: "primary" }, translate('Keep shopping')))))));
185
193
  }
@@ -229,4 +237,4 @@ function defineCustomElement() {
229
237
  } });
230
238
  }
231
239
 
232
- export { ZonosCheckoutFinish as Z, defineCustomElement as d, sendErrorLog as s };
240
+ export { ZonosCheckoutFinish as Z, createCustomEvent as c, defineCustomElement as d, sendErrorLog as s };
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
- import { c as cartStore } from './stripe.js';
2
+ import { c as cartStore, t as translate } from './stripe.js';
3
3
  import { z as zonosStore } from './zonosStore.js';
4
4
  import { c as classes } from './classes.js';
5
5
  import { g as getContrastColor } from './getContrastColor.js';
@@ -12,7 +12,7 @@ const TabCheckmark = `<svg width="25" height="24" viewBox="0 0 25 24" fill="none
12
12
  </svg>
13
13
  `;
14
14
 
15
- const zonosCheckoutProgressTabsCss = ":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{margin-bottom:var(--amino-space-32)}:host .zonos--tab-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:distribute;justify-content:space-around}:host .zonos--tab-index{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;font-size:13px;width:24px;height:24px;font-weight:bold}:host .zonos--tab-index .zonos--tab-index-label,:host .zonos--tab-index .zonos--tab-index-done-icon{position:absolute;top:0;width:24px;height:24px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-webkit-transition:top 0.5s ease-in-out, opacity 0.5s ease-in-out;transition:top 0.5s ease-in-out, opacity 0.5s ease-in-out}:host .zonos--tab-index .zonos--tab-index-done-icon{top:-50%;opacity:0}:host .zonos--tab-item{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;background:transparent;border:0}:host .zonos--tab-item.done .zonos--tab-index-done-icon{top:0;opacity:1}:host .zonos--tab-item.done .zonos--tab-index-label{opacity:0;top:50%}:host .zonos--tab-item.selected zonos-text{color:var(--color)}:host .zonos--tab-progress{width:100%;background-color:transparent;border-radius:10px;-webkit-box-shadow:inset 0 0 5px rgba(0, 0, 0, 0.4);box-shadow:inset 0 0 5px rgba(0, 0, 0, 0.4);overflow:hidden;position:relative;padding:1px;height:8px}:host .zonos--tab-progress .zonos--progress-bar-fill{border-radius:10px;background-color:var(--color);height:100%;width:var(--progress-percent);-webkit-transition:width 0.5s ease-in-out;transition:width 0.5s ease-in-out}";
15
+ const zonosCheckoutProgressTabsCss = ":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{margin-bottom:var(--amino-space-32)}:host .zonos--tab-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:distribute;justify-content:space-around}:host .zonos--tab-index{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;font-size:13px;width:24px;height:24px;font-weight:bold}:host .zonos--tab-index .zonos--tab-index-label,:host .zonos--tab-index .zonos--tab-index-done-icon{position:absolute;top:0;width:24px;height:24px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-webkit-transition:top 0.5s ease-in-out, opacity 0.5s ease-in-out;transition:top 0.5s ease-in-out, opacity 0.5s ease-in-out}:host .zonos--tab-index .zonos--tab-index-done-icon{top:-50%;opacity:0}:host .zonos--tab-item{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;background:transparent;border:0;cursor:pointer}:host .zonos--tab-item.done .zonos--tab-index-done-icon{top:0;opacity:1}:host .zonos--tab-item.done .zonos--tab-index-label{opacity:0;top:50%}:host .zonos--tab-item.selected zonos-text{color:var(--color)}:host .zonos--tab-progress{width:100%;background-color:transparent;border-radius:10px;-webkit-box-shadow:inset 0 0 5px rgba(0, 0, 0, 0.4);box-shadow:inset 0 0 5px rgba(0, 0, 0, 0.4);overflow:hidden;position:relative;padding:1px;height:8px}:host .zonos--tab-progress .zonos--progress-bar-fill{border-radius:10px;background-color:var(--color);height:100%;width:var(--progress-percent);-webkit-transition:width 0.5s ease-in-out;transition:width 0.5s ease-in-out}";
16
16
  const ZonosCheckoutProgressTabsStyle0 = zonosCheckoutProgressTabsCss;
17
17
 
18
18
  const ZonosCheckoutProgressTabs = /*@__PURE__*/ proxyCustomElement(class ZonosCheckoutProgressTabs extends HTMLElement {
@@ -74,17 +74,17 @@ const ZonosCheckoutProgressTabs = /*@__PURE__*/ proxyCustomElement(class ZonosCh
74
74
  color: labelSelectedColor,
75
75
  })
76
76
  : labelSelectedColor;
77
- return (h(Host, { key: '1fd6d6cb0f4e819f7e0a204fdc1bccbd2753154c', class: "zonos--elements", "data-theme": zonosStore.appearance.theme, style: {
77
+ return (h(Host, { key: 'e79dc4967096d3b6f0ac25d58f02e77f773c8e95', class: "zonos--elements", style: {
78
78
  '--color': contrastLabelColor,
79
79
  '--progress-percent': this.getTotalSuccessStep(),
80
- } }, h("div", { key: 'e7b0c9e9376461461286856553381d20bdd50bb6', class: "zonos--tab-wrapper" }, Object.values(cartStore.tabItems).map((tab, index) => {
80
+ } }, h("div", { key: '20e500d31c28ee0705c1999e0f258b679af9d73a', class: "zonos--tab-wrapper" }, Object.values(cartStore.tabItems).map((tab, index) => {
81
81
  const isSelected = tab.value === selectedStep;
82
82
  return (h("button", { class: classes([
83
83
  'zonos--tab-item',
84
84
  tab.value === selectedStep && 'selected',
85
85
  tab.isDone && 'done',
86
- ]), 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" }, tab.label)));
87
- })), h("div", { key: 'e924379e523d61952e3db826daeb080917c5b468', class: "zonos--tab-progress" }, h("div", { key: '80d193a8f2099a6eb552c1c016be545b9120c6d1', class: "zonos--progress-bar-fill" }))));
86
+ ]), 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))));
87
+ })), h("div", { key: '129502b873f339192ef5f4c67ac8c06d533ccfca', class: "zonos--tab-progress" }, h("div", { key: '728a074d6a411b400be30929bf9a5fdc8431745d', class: "zonos--progress-bar-fill" }))));
88
88
  }
89
89
  static get assetsDirs() { return ["assets"]; }
90
90
  get ele() { return this; }