@zonos/elements 1.3.262 → 1.3.264

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 (356) hide show
  1. package/dist/cjs/{cart-d08c87e2.js → cart-d4486651.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-40358cb1.js} +1 -1
  6. package/dist/cjs/index.cjs.js +7 -7
  7. package/dist/cjs/{invoice-e64f97c6.js → invoice-600fa2a4.js} +3 -3
  8. package/dist/cjs/{isCollectMobileTablet-9675485f.js → isCollectMobileTablet-f56566ef.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-06cc0379.js} +16 -2
  13. package/dist/cjs/{paypal-e278f405.js → paypal-52c4a4d4.js} +5 -5
  14. package/dist/cjs/{placeTestOrder-aefd31e8.js → placeTestOrder-7c88197a.js} +2 -2
  15. package/dist/cjs/{renderCheckoutCurrency-a374741a.js → renderCheckoutCurrency-2ebeff09.js} +2 -2
  16. package/dist/cjs/{submitGtag-4241212b.js → submitGtag-07a3b09e.js} +1 -1
  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 +24 -24
  20. package/dist/cjs/zonos-address_4.cjs.entry.js +13 -13
  21. package/dist/cjs/zonos-badge.cjs.entry.js +4 -4
  22. package/dist/cjs/zonos-banner.cjs.entry.js +1 -1
  23. package/dist/cjs/zonos-button_3.cjs.entry.js +6 -6
  24. package/dist/cjs/zonos-card_5.cjs.entry.js +14 -14
  25. package/dist/cjs/zonos-cart-items_12.cjs.entry.js +25 -23
  26. package/dist/cjs/zonos-checkbox_2.cjs.entry.js +8 -8
  27. package/dist/cjs/zonos-checkout.cjs.entry.js +217 -67
  28. package/dist/cjs/zonos-collapse.cjs.entry.js +3 -3
  29. package/dist/cjs/zonos-collect-cart-items_3.cjs.entry.js +9 -9
  30. package/dist/cjs/zonos-collect-finish_6.cjs.entry.js +27 -25
  31. package/dist/cjs/zonos-collect.cjs.entry.js +9 -9
  32. package/dist/cjs/zonos-component.cjs.entry.js +1 -1
  33. package/dist/cjs/zonos-controller.cjs.entry.js +7 -7
  34. package/dist/cjs/zonos-country-flag.cjs.entry.js +2 -2
  35. package/dist/cjs/zonos-country-select_4.cjs.entry.js +15 -13
  36. package/dist/cjs/zonos-elements.cjs.js +1 -1
  37. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +13 -11
  38. package/dist/cjs/zonos-hello.cjs.entry.js +46 -14
  39. package/dist/cjs/zonos-input.cjs.entry.js +6 -6
  40. package/dist/cjs/zonos-invoice-cart-items_2.cjs.entry.js +11 -11
  41. package/dist/cjs/zonos-invoice-finish_5.cjs.entry.js +22 -20
  42. package/dist/cjs/zonos-invoice.cjs.entry.js +9 -9
  43. package/dist/cjs/zonos-language-select_2.cjs.entry.js +6 -6
  44. package/dist/cjs/zonos-link.cjs.entry.js +1 -1
  45. package/dist/cjs/zonos-logo.cjs.entry.js +3 -3
  46. package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +5 -5
  47. package/dist/cjs/zonos-store-credit.cjs.entry.js +6 -6
  48. package/dist/cjs/zonos-stripe-input.cjs.entry.js +7 -7
  49. package/dist/cjs/zonos-text.cjs.entry.js +1 -1
  50. package/dist/cjs/zonos-tooltip.cjs.entry.js +2 -2
  51. package/dist/cjs/zonos-v-stack.cjs.entry.js +3 -3
  52. package/dist/cjs/{zonosStore-1c517e55.js → zonosStore-0662b95f.js} +1 -0
  53. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.css +5 -0
  54. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.js +4 -2
  55. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +52 -0
  56. package/dist/collection/components/checkout/zonos-collect/zonos-collect-cart-items/zonos-collect-cart-items.js +1 -1
  57. package/dist/collection/components/checkout/zonos-collect/zonos-collect-finish/zonos-collect-finish.js +2 -2
  58. package/dist/collection/components/checkout/zonos-collect/zonos-collect-footer/zonos-collect-footer.css +5 -0
  59. package/dist/collection/components/checkout/zonos-collect/zonos-collect-footer/zonos-collect-footer.js +5 -3
  60. package/dist/collection/components/checkout/zonos-collect/zonos-collect-review/zonos-collect-review.js +3 -3
  61. package/dist/collection/components/checkout/zonos-collect/zonos-collect-subtotal/zonos-collect-subtotal.js +5 -5
  62. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-cart-items/zonos-invoice-cart-items.js +2 -2
  63. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-finish/zonos-invoice-finish.js +2 -2
  64. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-footer/zonos-invoice-footer.css +5 -0
  65. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-footer/zonos-invoice-footer.js +5 -3
  66. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-review/zonos-invoice-review.js +3 -3
  67. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-subtotal/zonos-invoice-subtotal.js +2 -2
  68. package/dist/collection/components/common/zonos-badge/zonos-badge.js +3 -3
  69. package/dist/collection/components/common/zonos-button/zonos-button.js +3 -3
  70. package/dist/collection/components/common/zonos-card/zonos-card.js +4 -4
  71. package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.js +3 -3
  72. package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js +3 -3
  73. package/dist/collection/components/common/zonos-collapse/zonos-collapse.js +2 -2
  74. package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.js +3 -3
  75. package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +3 -3
  76. package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +2 -2
  77. package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +3 -3
  78. package/dist/collection/components/common/zonos-h-stack/zonos-h-stack.js +2 -2
  79. package/dist/collection/components/common/zonos-input/zonos-input.js +4 -4
  80. package/dist/collection/components/common/zonos-language-select/zonos-language-select.js +2 -2
  81. package/dist/collection/components/common/zonos-link/zonos-link.js +1 -1
  82. package/dist/collection/components/common/zonos-loading-overlay/zonos-loading-overlay.js +1 -1
  83. package/dist/collection/components/common/zonos-logo/zonos-logo.js +2 -2
  84. package/dist/collection/components/common/zonos-rest-state/zonos-rest-state.js +3 -3
  85. package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +2 -2
  86. package/dist/collection/components/common/zonos-skeleton/zonos-skeleton.js +1 -1
  87. package/dist/collection/components/common/zonos-stripe-input/zonos-stripe-input.js +4 -4
  88. package/dist/collection/components/common/zonos-stripe-phone-input/zonos-stripe-phone-input.js +5 -5
  89. package/dist/collection/components/common/zonos-stripe-select/zonos-stripe-select.js +5 -5
  90. package/dist/collection/components/common/zonos-toggle/zonos-toggle.js +2 -2
  91. package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.js +2 -2
  92. package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +2 -2
  93. package/dist/collection/components/common/zonos-virtual-scroll/zonos-virtual-scroll.js +2 -2
  94. package/dist/collection/components/component-template/zonos-component/zonos-component.js +1 -1
  95. package/dist/collection/components/hello/zonos-hello/zonos-hello.css +23 -15
  96. package/dist/collection/components/hello/zonos-hello/zonos-hello.js +45 -10
  97. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.css +5 -0
  98. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +4 -2
  99. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +10 -8
  100. package/dist/collection/components/main/zonos-controller.js +1 -1
  101. package/dist/collection/components/paypal/zonos-paypal-payment.js +1 -1
  102. package/dist/collection/components/store/zonosStore.js +1 -0
  103. package/dist/collection/components/stripe/zonos-address/zonos-address.js +2 -2
  104. package/dist/collection/components/stripe/zonos-custom-address/zonos-address-suggestions/zonos-address-suggestions.js +2 -2
  105. package/dist/collection/components/stripe/zonos-custom-address/zonos-custom-address.js +2 -2
  106. package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
  107. package/dist/collection/components/utils/checkout/bigcommerceStorefrontApi.js +1 -1
  108. package/dist/collection/components/utils/checkout/getBigCommerceCustomerAddresses.js +99 -0
  109. package/dist/collection/components/utils/hello/currencyConversion/currencyDisplay.js +15 -0
  110. package/dist/collection/components/utils/hello/currencyConversion/currencyFormat.js +1 -1
  111. package/dist/collection/components/utils/hello/getHelloWidgetSize.js +22 -0
  112. package/dist/collection/types/generated/graphql.internal.types.js +67 -1
  113. package/dist/esm/{cart-c490d252.js → cart-41f41429.js} +4 -4
  114. package/dist/esm/{debounce-8faafc9f.js → debounce-ab526ca0.js} +1 -1
  115. package/dist/esm/{getBorderRadius-66de1b16.js → getBorderRadius-98c64be8.js} +1 -1
  116. package/dist/esm/{getContrastColor-e14f95a7.js → getContrastColor-2340485f.js} +2 -2
  117. package/dist/esm/{hasInclusivePrice-7a0ce66a.js → hasInclusivePrice-afc0dd6e.js} +1 -1
  118. package/dist/esm/index.js +7 -7
  119. package/dist/esm/{invoice-3ea5715b.js → invoice-e6721745.js} +3 -3
  120. package/dist/esm/{isCollectMobileTablet-0dcbd45a.js → isCollectMobileTablet-d02bb448.js} +3 -3
  121. package/dist/esm/{isContrastColor-f9e65e70.js → isContrastColor-6bad285e.js} +1 -1
  122. package/dist/esm/{isDarkColor-8092a9fb.js → isDarkColor-0a8453e7.js} +1 -1
  123. package/dist/esm/loader.js +1 -1
  124. package/dist/esm/{localization-542dbe20.js → localization-ee06df70.js} +16 -2
  125. package/dist/esm/{paypal-d8804da5.js → paypal-ac74241f.js} +5 -5
  126. package/dist/esm/{placeTestOrder-d7001709.js → placeTestOrder-0416d327.js} +2 -2
  127. package/dist/esm/{renderCheckoutCurrency-75f1bba3.js → renderCheckoutCurrency-99da51f5.js} +2 -2
  128. package/dist/esm/{submitGtag-7f5c5bb5.js → submitGtag-ae9d5d91.js} +1 -1
  129. package/dist/esm/{throttle-5a66b4fd.js → throttle-882b1f47.js} +2 -2
  130. package/dist/esm/{updateCheckoutSessionAttributes-8f3f932e.js → updateCheckoutSessionAttributes-da7fdd37.js} +1 -1
  131. package/dist/esm/zonos-address-display_8.entry.js +24 -24
  132. package/dist/esm/zonos-address_4.entry.js +13 -13
  133. package/dist/esm/zonos-badge.entry.js +4 -4
  134. package/dist/esm/zonos-banner.entry.js +1 -1
  135. package/dist/esm/zonos-button_3.entry.js +6 -6
  136. package/dist/esm/zonos-card_5.entry.js +14 -14
  137. package/dist/esm/zonos-cart-items_12.entry.js +25 -23
  138. package/dist/esm/zonos-checkbox_2.entry.js +8 -8
  139. package/dist/esm/zonos-checkout.entry.js +218 -68
  140. package/dist/esm/zonos-collapse.entry.js +3 -3
  141. package/dist/esm/zonos-collect-cart-items_3.entry.js +9 -9
  142. package/dist/esm/zonos-collect-finish_6.entry.js +27 -25
  143. package/dist/esm/zonos-collect.entry.js +9 -9
  144. package/dist/esm/zonos-component.entry.js +1 -1
  145. package/dist/esm/zonos-controller.entry.js +7 -7
  146. package/dist/esm/zonos-country-flag.entry.js +2 -2
  147. package/dist/esm/zonos-country-select_4.entry.js +15 -13
  148. package/dist/esm/zonos-elements.js +1 -1
  149. package/dist/esm/zonos-hello-dialog.entry.js +13 -11
  150. package/dist/esm/zonos-hello.entry.js +46 -14
  151. package/dist/esm/zonos-input.entry.js +6 -6
  152. package/dist/esm/zonos-invoice-cart-items_2.entry.js +11 -11
  153. package/dist/esm/zonos-invoice-finish_5.entry.js +22 -20
  154. package/dist/esm/zonos-invoice.entry.js +9 -9
  155. package/dist/esm/zonos-language-select_2.entry.js +6 -6
  156. package/dist/esm/zonos-link.entry.js +1 -1
  157. package/dist/esm/zonos-logo.entry.js +3 -3
  158. package/dist/esm/zonos-shipping-rich-radio.entry.js +5 -5
  159. package/dist/esm/zonos-store-credit.entry.js +6 -6
  160. package/dist/esm/zonos-stripe-input.entry.js +7 -7
  161. package/dist/esm/zonos-text.entry.js +1 -1
  162. package/dist/esm/zonos-tooltip.entry.js +2 -2
  163. package/dist/esm/zonos-v-stack.entry.js +3 -3
  164. package/dist/esm/{zonosStore-f1d45eac.js → zonosStore-9662b071.js} +1 -0
  165. package/dist/esm-es5/{cart-c490d252.js → cart-41f41429.js} +1 -1
  166. package/dist/esm-es5/{debounce-8faafc9f.js → debounce-ab526ca0.js} +1 -1
  167. package/dist/esm-es5/{getBorderRadius-66de1b16.js → getBorderRadius-98c64be8.js} +1 -1
  168. package/dist/esm-es5/{getContrastColor-e14f95a7.js → getContrastColor-2340485f.js} +1 -1
  169. package/dist/esm-es5/{hasInclusivePrice-7a0ce66a.js → hasInclusivePrice-afc0dd6e.js} +1 -1
  170. package/dist/esm-es5/index.js +1 -1
  171. package/dist/esm-es5/{invoice-3ea5715b.js → invoice-e6721745.js} +1 -1
  172. package/dist/esm-es5/{isCollectMobileTablet-0dcbd45a.js → isCollectMobileTablet-d02bb448.js} +1 -1
  173. package/dist/esm-es5/{isContrastColor-f9e65e70.js → isContrastColor-6bad285e.js} +1 -1
  174. package/dist/esm-es5/{isDarkColor-8092a9fb.js → isDarkColor-0a8453e7.js} +1 -1
  175. package/dist/esm-es5/loader.js +1 -1
  176. package/dist/esm-es5/{localization-542dbe20.js → localization-ee06df70.js} +1 -1
  177. package/dist/esm-es5/{paypal-d8804da5.js → paypal-ac74241f.js} +2 -2
  178. package/dist/esm-es5/{placeTestOrder-d7001709.js → placeTestOrder-0416d327.js} +1 -1
  179. package/dist/esm-es5/{renderCheckoutCurrency-75f1bba3.js → renderCheckoutCurrency-99da51f5.js} +1 -1
  180. package/dist/esm-es5/{submitGtag-7f5c5bb5.js → submitGtag-ae9d5d91.js} +1 -1
  181. package/dist/esm-es5/{throttle-5a66b4fd.js → throttle-882b1f47.js} +1 -1
  182. package/dist/esm-es5/{updateCheckoutSessionAttributes-8f3f932e.js → updateCheckoutSessionAttributes-da7fdd37.js} +1 -1
  183. package/dist/esm-es5/zonos-address-display_8.entry.js +1 -1
  184. package/dist/esm-es5/zonos-address_4.entry.js +1 -1
  185. package/dist/esm-es5/zonos-badge.entry.js +1 -1
  186. package/dist/esm-es5/zonos-banner.entry.js +1 -1
  187. package/dist/esm-es5/zonos-button_3.entry.js +1 -1
  188. package/dist/esm-es5/zonos-card_5.entry.js +1 -1
  189. package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
  190. package/dist/esm-es5/zonos-checkbox_2.entry.js +1 -1
  191. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  192. package/dist/esm-es5/zonos-collapse.entry.js +1 -1
  193. package/dist/esm-es5/zonos-collect-cart-items_3.entry.js +1 -1
  194. package/dist/esm-es5/zonos-collect-finish_6.entry.js +1 -1
  195. package/dist/esm-es5/zonos-collect.entry.js +1 -1
  196. package/dist/esm-es5/zonos-component.entry.js +1 -1
  197. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  198. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  199. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
  200. package/dist/esm-es5/zonos-elements.js +1 -1
  201. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  202. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  203. package/dist/esm-es5/zonos-input.entry.js +1 -1
  204. package/dist/esm-es5/zonos-invoice-cart-items_2.entry.js +1 -1
  205. package/dist/esm-es5/zonos-invoice-finish_5.entry.js +1 -1
  206. package/dist/esm-es5/zonos-invoice.entry.js +1 -1
  207. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  208. package/dist/esm-es5/zonos-link.entry.js +1 -1
  209. package/dist/esm-es5/zonos-logo.entry.js +1 -1
  210. package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
  211. package/dist/esm-es5/zonos-store-credit.entry.js +1 -1
  212. package/dist/esm-es5/zonos-stripe-input.entry.js +1 -1
  213. package/dist/esm-es5/zonos-text.entry.js +1 -1
  214. package/dist/esm-es5/zonos-tooltip.entry.js +1 -1
  215. package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
  216. package/dist/esm-es5/{zonosStore-f1d45eac.js → zonosStore-9662b071.js} +1 -1
  217. package/dist/scripts/index.d.ts +31 -15
  218. package/dist/scripts/index.js +1 -1
  219. package/dist/scripts/loadZonos.js +1 -1
  220. package/dist/scripts/zonos.js +1 -1
  221. package/dist/types/components/checkout/zonos-checkout/zonos-checkout.d.ts +9 -0
  222. package/dist/types/components/hello/zonos-hello/zonos-hello.d.ts +8 -1
  223. package/dist/types/components/utils/checkout/bigcommerceStorefrontApi.d.ts +22 -11
  224. package/dist/types/components/utils/checkout/getBigCommerceCustomerAddresses.d.ts +26 -0
  225. package/dist/types/components/utils/hello/getHelloWidgetSize.d.ts +15 -0
  226. package/dist/types/components.d.ts +10 -2
  227. package/dist/types/scripts/cart/_setupCartDataWithSettings.d.ts +8 -7
  228. package/dist/types/types/generated/graphql.internal.types.d.ts +100 -20
  229. package/dist/types/types/generated/graphql.internal.types.ts +118 -20
  230. package/dist/types/types/hello/HelloConfig.d.ts +5 -0
  231. package/dist/zonos-elements/index.esm.js +1 -1
  232. package/dist/zonos-elements/{p-53fe581b.system.js → p-0207c91e.system.js} +1 -1
  233. package/dist/zonos-elements/{p-9262a57c.system.entry.js → p-0529a06b.system.entry.js} +1 -1
  234. package/dist/zonos-elements/{p-d7a9be55.system.js → p-076ca381.system.js} +1 -1
  235. package/dist/zonos-elements/{p-5a79e1f4.entry.js → p-07cdff18.entry.js} +1 -1
  236. package/dist/zonos-elements/{p-5db00bfa.system.entry.js → p-0914b8a1.system.entry.js} +1 -1
  237. package/dist/zonos-elements/{p-155b4425.entry.js → p-0b4ba025.entry.js} +1 -1
  238. package/dist/zonos-elements/{p-17476a30.system.entry.js → p-0f9a04fe.system.entry.js} +1 -1
  239. package/dist/zonos-elements/{p-72adb40d.js → p-14ce8e3a.js} +1 -1
  240. package/dist/zonos-elements/{p-7df3e44b.system.entry.js → p-15f70aae.system.entry.js} +1 -1
  241. package/dist/zonos-elements/{p-b1c76c38.system.entry.js → p-16948eea.system.entry.js} +1 -1
  242. package/dist/zonos-elements/{p-43a6e469.system.js → p-1bf9a1b9.system.js} +1 -1
  243. package/dist/zonos-elements/{p-e749fb81.entry.js → p-1cc651e8.entry.js} +1 -1
  244. package/dist/zonos-elements/{p-a3020bc9.entry.js → p-1ed2827f.entry.js} +1 -1
  245. package/dist/zonos-elements/p-20e0c24e.entry.js +1 -0
  246. package/dist/zonos-elements/{p-248bdea2.system.js → p-24aae506.system.js} +1 -1
  247. package/dist/zonos-elements/{p-f7d24382.system.entry.js → p-2555ba6b.system.entry.js} +1 -1
  248. package/dist/zonos-elements/{p-3deb91cb.entry.js → p-258c0551.entry.js} +1 -1
  249. package/dist/zonos-elements/{p-f00a56be.system.entry.js → p-274a7c0e.system.entry.js} +1 -1
  250. package/dist/zonos-elements/{p-fb87172c.entry.js → p-283ffaad.entry.js} +1 -1
  251. package/dist/zonos-elements/p-29b60bf3.system.js +1 -1
  252. package/dist/zonos-elements/{p-aa74b61a.system.entry.js → p-2c027b67.system.entry.js} +1 -1
  253. package/dist/zonos-elements/p-2fc253b3.js +1 -0
  254. package/dist/zonos-elements/{p-00bd7e5d.entry.js → p-32ecece3.entry.js} +1 -1
  255. package/dist/zonos-elements/p-349bdc03.system.entry.js +1 -0
  256. package/dist/zonos-elements/{p-80e7cab5.entry.js → p-34dc7755.entry.js} +1 -1
  257. package/dist/zonos-elements/p-367a72bc.js +1 -0
  258. package/dist/zonos-elements/{p-15ef7644.system.js → p-3689821f.system.js} +1 -1
  259. package/dist/zonos-elements/{p-a75b8ad7.js → p-37f47658.js} +1 -1
  260. package/dist/zonos-elements/{p-4a227683.system.entry.js → p-3a23ec5f.system.entry.js} +1 -1
  261. package/dist/zonos-elements/p-3bc1adb7.entry.js +1 -0
  262. package/dist/zonos-elements/p-41f2e301.entry.js +1 -0
  263. package/dist/zonos-elements/{p-b5223840.js → p-4220556e.js} +1 -1
  264. package/dist/zonos-elements/{p-072c5e07.system.entry.js → p-42518502.system.entry.js} +1 -1
  265. package/dist/zonos-elements/p-4980facb.js +1 -0
  266. package/dist/zonos-elements/{p-5dd78b4b.js → p-4c89d04a.js} +1 -1
  267. package/dist/zonos-elements/{p-27f01d76.entry.js → p-52077d7c.entry.js} +1 -1
  268. package/dist/zonos-elements/p-551dd2e0.js +1 -0
  269. package/dist/zonos-elements/{p-b2cd18b4.system.entry.js → p-5678c044.system.entry.js} +1 -1
  270. package/dist/zonos-elements/{p-ed827ca3.entry.js → p-59aa5785.entry.js} +1 -1
  271. package/dist/zonos-elements/{p-e25e0b4b.system.js → p-5e6f85f0.system.js} +1 -1
  272. package/dist/zonos-elements/{p-cdbb50cf.entry.js → p-665bfd4f.entry.js} +1 -1
  273. package/dist/zonos-elements/{p-4cee62fb.entry.js → p-66edcaa4.entry.js} +1 -1
  274. package/dist/zonos-elements/{p-cab6bd98.system.js → p-6a195559.system.js} +1 -1
  275. package/dist/zonos-elements/p-6b9ad020.entry.js +1 -0
  276. package/dist/zonos-elements/p-6d81901a.js +1 -0
  277. package/dist/zonos-elements/{p-3ff736f7.system.entry.js → p-7003d093.system.entry.js} +1 -1
  278. package/dist/zonos-elements/{p-196423ad.system.js → p-721069c3.system.js} +1 -1
  279. package/dist/zonos-elements/{p-14f156c6.system.entry.js → p-72833da8.system.entry.js} +1 -1
  280. package/dist/zonos-elements/{p-f2909fb8.entry.js → p-7564d199.entry.js} +1 -1
  281. package/dist/zonos-elements/{p-e76dc266.system.entry.js → p-79f3c227.system.entry.js} +1 -1
  282. package/dist/zonos-elements/p-84c7cae6.system.entry.js +1 -0
  283. package/dist/zonos-elements/{p-e55bc187.entry.js → p-8571f3ce.entry.js} +1 -1
  284. package/dist/zonos-elements/p-86ed51fd.entry.js +1 -0
  285. package/dist/zonos-elements/{p-d50fef06.system.entry.js → p-88596f27.system.entry.js} +1 -1
  286. package/dist/zonos-elements/p-8a01157e.system.entry.js +1 -0
  287. package/dist/zonos-elements/{p-9e761130.entry.js → p-8a21ed2d.entry.js} +1 -1
  288. package/dist/zonos-elements/{p-bf4d2299.system.entry.js → p-90a19f4c.system.entry.js} +1 -1
  289. package/dist/zonos-elements/{p-947f5092.js → p-90d19cb6.js} +1 -1
  290. package/dist/zonos-elements/{p-06ef4d79.entry.js → p-9288878f.entry.js} +1 -1
  291. package/dist/zonos-elements/{p-ef12af4b.entry.js → p-92a14180.entry.js} +1 -1
  292. package/dist/zonos-elements/{p-dee6adff.system.js → p-98c53c77.system.js} +1 -1
  293. package/dist/zonos-elements/{p-8d0bca3a.system.entry.js → p-9da832b2.system.entry.js} +1 -1
  294. package/dist/zonos-elements/{p-a8bb461c.js → p-9eff0691.js} +1 -1
  295. package/dist/zonos-elements/{p-66934a78.system.entry.js → p-9f18348f.system.entry.js} +1 -1
  296. package/dist/zonos-elements/p-9f7e7148.system.js +1 -0
  297. package/dist/zonos-elements/{p-e36e724b.system.entry.js → p-a2e9b2aa.system.entry.js} +1 -1
  298. package/dist/zonos-elements/{p-a661dd45.system.entry.js → p-a5f5993f.system.entry.js} +1 -1
  299. package/dist/zonos-elements/p-a901d002.js +1 -0
  300. package/dist/zonos-elements/{p-2f924331.js → p-ab0b23f2.js} +1 -1
  301. package/dist/zonos-elements/{p-e673a4d9.entry.js → p-ab73cbed.entry.js} +1 -1
  302. package/dist/zonos-elements/p-b0526805.system.entry.js +1 -0
  303. package/dist/zonos-elements/{p-f0046c48.entry.js → p-b13d56b9.entry.js} +1 -1
  304. package/dist/zonos-elements/{p-6b7beb44.system.js → p-b32cd0c5.system.js} +1 -1
  305. package/dist/zonos-elements/{p-ade15fd2.entry.js → p-b4b23475.entry.js} +1 -1
  306. package/dist/zonos-elements/{p-0699931c.system.js → p-b65bca4b.system.js} +1 -1
  307. package/dist/zonos-elements/p-ba7cf5e8.system.entry.js +1 -0
  308. package/dist/zonos-elements/{p-c7ecef98.system.entry.js → p-ba9e2612.system.entry.js} +1 -1
  309. package/dist/zonos-elements/{p-9de27162.system.entry.js → p-c0fffa75.system.entry.js} +1 -1
  310. package/dist/zonos-elements/p-c52bc5ad.system.entry.js +1 -0
  311. package/dist/zonos-elements/p-c9a1f774.js +1 -0
  312. package/dist/zonos-elements/{p-a1142a95.entry.js → p-cc481c69.entry.js} +1 -1
  313. package/dist/zonos-elements/p-ccc4f69b.entry.js +1 -0
  314. package/dist/zonos-elements/{p-20263609.system.js → p-ce855245.system.js} +1 -1
  315. package/dist/zonos-elements/{p-4d776228.entry.js → p-d1ff24f5.entry.js} +1 -1
  316. package/dist/zonos-elements/{p-f6922df5.js → p-d28be518.js} +1 -1
  317. package/dist/zonos-elements/p-d6b49830.entry.js +1 -0
  318. package/dist/zonos-elements/{p-5beab541.js → p-db3b101a.js} +1 -1
  319. package/dist/zonos-elements/{p-0ec4e307.system.js → p-db607fc3.system.js} +1 -1
  320. package/dist/zonos-elements/{p-a98b8b68.system.js → p-dea75665.system.js} +2 -2
  321. package/dist/zonos-elements/p-e3292be8.system.js +1 -0
  322. package/dist/zonos-elements/{p-b47fcd8c.system.entry.js → p-e3bc3917.system.entry.js} +1 -1
  323. package/dist/zonos-elements/{p-d983d472.entry.js → p-e5582c35.entry.js} +1 -1
  324. package/dist/zonos-elements/p-e5dfccd8.system.js +1 -0
  325. package/dist/zonos-elements/{p-7dbac3ae.system.entry.js → p-e6cc5a25.system.entry.js} +1 -1
  326. package/dist/zonos-elements/{p-313b87f3.system.entry.js → p-e98e4c0b.system.entry.js} +1 -1
  327. package/dist/zonos-elements/{p-61be7d98.system.js → p-eb99a625.system.js} +1 -1
  328. package/dist/zonos-elements/{p-ed9385f4.js → p-f3cfd8fa.js} +1 -1
  329. package/dist/zonos-elements/{p-c263f95f.entry.js → p-f546bd7d.entry.js} +1 -1
  330. package/dist/zonos-elements/{p-55742c52.entry.js → p-f9c715ad.entry.js} +1 -1
  331. package/dist/zonos-elements/{p-50a15e3d.system.entry.js → p-fb684748.system.entry.js} +1 -1
  332. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  333. package/package.json +1 -1
  334. package/dist/zonos-elements/p-022ddd4a.system.entry.js +0 -1
  335. package/dist/zonos-elements/p-09307a03.js +0 -1
  336. package/dist/zonos-elements/p-1916c2b0.entry.js +0 -1
  337. package/dist/zonos-elements/p-34fc45e5.entry.js +0 -1
  338. package/dist/zonos-elements/p-56c11359.system.entry.js +0 -1
  339. package/dist/zonos-elements/p-7158a18b.js +0 -1
  340. package/dist/zonos-elements/p-721fadd5.js +0 -1
  341. package/dist/zonos-elements/p-7237f43b.system.entry.js +0 -1
  342. package/dist/zonos-elements/p-72a181b5.entry.js +0 -1
  343. package/dist/zonos-elements/p-75a27c68.entry.js +0 -1
  344. package/dist/zonos-elements/p-7c5c5318.js +0 -1
  345. package/dist/zonos-elements/p-7d9bbdc8.js +0 -1
  346. package/dist/zonos-elements/p-838e335c.entry.js +0 -1
  347. package/dist/zonos-elements/p-8bce79f4.system.js +0 -1
  348. package/dist/zonos-elements/p-944bf0e7.js +0 -1
  349. package/dist/zonos-elements/p-a2b3c1ef.system.entry.js +0 -1
  350. package/dist/zonos-elements/p-b21cf539.system.entry.js +0 -1
  351. package/dist/zonos-elements/p-ca411d97.entry.js +0 -1
  352. package/dist/zonos-elements/p-cd563d65.system.js +0 -1
  353. package/dist/zonos-elements/p-cdf99051.entry.js +0 -1
  354. package/dist/zonos-elements/p-dc4e867e.system.entry.js +0 -1
  355. package/dist/zonos-elements/p-e6726a50.system.js +0 -1
  356. package/dist/zonos-elements/p-f68ce554.js +0 -1
@@ -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: '4f03947b13c6e6d9f19d3d4241c427f9ef8cb07b', class: "zonos--elements" }, h("div", { key: 'c5001cd7c4c7bb0fcf2375fc211c9afbd2059f32', 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: 'cb86aadda605b075152c21009b11f57b87b1d815' }, h("div", { key: '77a7e3bd67cd2b19f2adec81f15c642d76151f74', class: "zonos--hello-dialog-content" }, h("zonos-button", { key: 'ac5d1386f34c2948ea087d64ba60d1af87e76487', 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: '50fcf820665b013090f8b22bd011b48edd23e47d', spacing: 24 }, h("zonos-country-flag", { key: 'fba9eb926c23fdad59d4262582fefd102aa9e721', class: "zonos--hello-country-flag", countryCode: selectedCountryCode }), h("zonos-v-stack", { key: '08438a0f1f7ab1ed7aa6077bd8c0c040d10a48e2', class: "zonos--hello-dialog-header", spacing: 4 }, h("zonos-text", { key: 'f3ed157753544a886c2362e48d4ff941135f69dd', type: "boldSubheader" }, welcomeMessage), h("zonos-text", { key: '989155955d1b6b50e54b38b9aedf71041a1ca57e', innerHTML: defaultMessage, textColor: "gray-800" })), h("zonos-v-stack", { key: '480acbed038550026005317e0fa41c74db4befe6', 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: 'ec95384f56843f11e7ef678363c08718ce879bea', spacing: "12px" }, h("zonos-v-stack", { key: 'e56aedf0bf3c2e698b6911ae0d96f3c46059158e', 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: '103bcee4af2a3979a7db3e86b287063bec16310b', appearanceSettings: this.appearanceSettings, setShowCountrySelect: value => this.setShowCountrySelect(value), setShowLanguageSelect: value => this.setShowLanguageSelect(value) }))), this.showCountrySelect && (h("div", { key: '900e288096edd6aa4bcfddd3b80932a11c675a6a' }, h("zonos-country-select", { key: '278e3cfe7dcd69332e6257517759ca2c8e959ae0', handleOnClose: () => this.setShowCountrySelect(false) }))), this.showLanguageSelect && (h("div", { key: '2d70d0c380fc681492b7b97b4d78677db88a78fc' }, h("zonos-language-select", { key: '7debc2fa20436565b00c7f9832b89f388a814a96', handleOnClose: () => this.setShowLanguageSelect(false) }))))));
367
369
  }
368
370
  static get is() { return "zonos-hello-dialog"; }
369
371
  static get encapsulation() { return "shadow"; }
@@ -331,7 +331,7 @@ export class ZonosController {
331
331
  zonosStore.organizationName = organizationName;
332
332
  }
333
333
  render() {
334
- return h(Host, { key: 'd500743a0ed7dc7615e696aaf958216374e7c33b', class: "zonos--elements" });
334
+ return h(Host, { key: '681a81baa59bfe91e9fe0927aee49fa720fcb35b', class: "zonos--elements" });
335
335
  }
336
336
  static get is() { return "zonos-controller"; }
337
337
  static get encapsulation() { return "shadow"; }
@@ -52,7 +52,7 @@ export class ZonosPaypalPayment {
52
52
  this.storeUnsubscribeList.forEach(unsubscribe => unsubscribe());
53
53
  }
54
54
  render() {
55
- return (h(Host, { key: '5745cd59ad8b81a41f8015438afd036621695bbb', class: "zonos--paypal-payment zonos--elements" }, h("div", { key: 'be5154e55384e2ecd42e2ec6b2be7712fb6ef31b', class: "zonos--payment-paypal-container" })));
55
+ return (h(Host, { key: 'c01e031b29e0089389be2a16e888bd0b7c24dcd8', class: "zonos--paypal-payment zonos--elements" }, h("div", { key: 'f03c880bde17291f083cfe1f0db6a918f92d720b', class: "zonos--payment-paypal-container" })));
56
56
  }
57
57
  static get is() { return "zonos-paypal-payment"; }
58
58
  static get encapsulation() { return "scoped"; }
@@ -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: {
@@ -352,11 +352,11 @@ export class ZonosAddress {
352
352
  this.isAddressFilled = true;
353
353
  }
354
354
  // this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
355
- return (h(Host, { key: '300434f0623d886693dc101b47cb5cd5f9503d3e', class: classes([
355
+ return (h(Host, { key: 'ebba5be32c456e8b71d397db63e666e5d5df1543', class: classes([
356
356
  'zonos--address',
357
357
  'zonos--elements',
358
358
  `zonos--${this.type}-address`,
359
- ]) }, this.titleText && (h("zonos-text", { key: 'eb7592c563d728af019db397f4d5e7e9f448f4d7', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), h("slot", { key: 'c9556ead2ad1bf1b462637ae44834dc4f25afa8a', name: "below-title" }), this.renderCompanyNameInput(), this.renderTaxIdInput(), this.renderShortAddressCodeInput(), h("div", { key: 'cecaa1a9b4a176607125106f55b6e4d6cab31705', class: "zonos--address-component" })));
359
+ ]) }, this.titleText && (h("zonos-text", { key: '25f15ea17b50ed055eb98b072850296312785b06', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), h("slot", { key: '631bc324d1bb96fb9e796b38a6da42ef6ca601a3', name: "below-title" }), this.renderCompanyNameInput(), this.renderTaxIdInput(), this.renderShortAddressCodeInput(), h("div", { key: '25f88c72f8fc9b788b042f2df2f1b8085132f683', class: "zonos--address-component" })));
360
360
  }
361
361
  static get is() { return "zonos-address"; }
362
362
  static get encapsulation() { return "scoped"; }
@@ -78,9 +78,9 @@ export class ZonosAddressSuggestions {
78
78
  return segments;
79
79
  }
80
80
  render() {
81
- return (h(Host, { key: 'fe92e3ac70b644dbacda2cfc56e2676ac34632cc', class: "zonos--address-suggestions", role: "group", style: {
81
+ return (h(Host, { key: '95f0fa0a1a5eb62ae2f08f305216a365f166af96', class: "zonos--address-suggestions", role: "group", style: {
82
82
  '--zonos--border-radius': getBorderRadius(),
83
- } }, h("ul", { key: 'c042e5d4f563ace9631f3a9d4ad3dd3c9e12cc35', "aria-label": "Suggestions", class: "wrapper", role: "listbox" }, !!this.localSuggestions.length && (h("li", { key: 'b68deb87d190d53b597085f7503c838e0a089227', "aria-selected": false, class: "powered-by option", role: "option" }, h("div", { key: '4dac7702de58610364ad031a181c33d135ec2b1f', class: "powered-by-container" }, h("zonos-text", { key: '74e97d754914267d43e39740ea48634ddcb87355', type: "caption" }, "Suggestions powered by"), h("zonos-text", { key: 'f2771fd3f18665eb414b653740930afe1bb42e4e', type: "semiBoldLabel" }, "Google")), h("zonos-button", { key: '657f036bec0ad31091b83be9927036362f6607a6', "aria-label": "Clear suggestions", icon: h("zonos-icon", { content: RemoveIcon }), noBackground: true, onClick: () => {
83
+ } }, h("ul", { key: 'd76493f93428da65b645b8bf16ee82b780b2eb97', "aria-label": "Suggestions", class: "wrapper", role: "listbox" }, !!this.localSuggestions.length && (h("li", { key: 'b7d4a61c717a2df1057a81ff2e6517a0b7a7869a', "aria-selected": false, class: "powered-by option", role: "option" }, h("div", { key: '0dca2094920653d6205dd79e717290536e7ae1c9', class: "powered-by-container" }, h("zonos-text", { key: 'baa29ec5e43286d4df28eb418c7b2ccc4bf7d1e7', type: "caption" }, "Suggestions powered by"), h("zonos-text", { key: '2b544408cc75a9c50750072b1efb63e4cd4f1323', type: "semiBoldLabel" }, "Google")), h("zonos-button", { key: '939ba84809ce8f113a8d13cc75cb8a3c23013847', "aria-label": "Clear suggestions", icon: h("zonos-icon", { content: RemoveIcon }), noBackground: true, onClick: () => {
84
84
  this.localSuggestions = [];
85
85
  } }))), this.localSuggestions.map(suggestion => (
86
86
  // eslint-disable-next-line jsx-a11y/click-events-have-key-events
@@ -924,10 +924,10 @@ export class ZonosAddress {
924
924
  this.country = localizationStore.selectedCountryCode;
925
925
  }
926
926
  // this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
927
- return (h(Host, { key: '4874639006b452cc6a2b5e5beabbe97fe7a0fde5', class: classes([
927
+ return (h(Host, { key: 'ce15e47889c185c72b9f79327ebbd24950da1811', class: classes([
928
928
  'zonos--address zonos--elements',
929
929
  `zonos--${this.type}-address`,
930
- ]) }, h("zonos-text", { key: 'a365f9de88a9f7602e46e1d87aa180d2b51a4079', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("slot", { key: '66146ab6e78cfce499a10aa4d117a64a49a7f886', name: "below-title" }), this.renderCompanyNameInput(), this.renderTaxIdInput(), this.renderShortAddressCodeInput(), this.renderCustomAddressForm()));
930
+ ]) }, h("zonos-text", { key: '91d1a627a89b8114075f5ecc1dff7bd8d52dd0b7', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("slot", { key: '1a69664bc17a2d59cff241bbb0917714340e006e', name: "below-title" }), this.renderCompanyNameInput(), this.renderTaxIdInput(), this.renderShortAddressCodeInput(), this.renderCustomAddressForm()));
931
931
  }
932
932
  static get is() { return "zonos-custom-address"; }
933
933
  static get encapsulation() { return "scoped"; }
@@ -67,7 +67,7 @@ export class ZonosPayment {
67
67
  }
68
68
  render() {
69
69
  // this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
70
- return (h(Host, { key: 'd6aba7a614610a64012ef6636e19b345623141ec', class: "zonos--payment zonos--elements" }, this.titleText && (h("zonos-text", { key: 'edf8c9ee8d7a9ebf87922a49d9b7420efd80b226', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), h("div", { key: '3d0d7638a309fdf4dc1ab39bb463a0c35add911d', class: "zonos--payment-component" }), h("div", { key: 'a79f98f63bad2a7c5023eeb5bb28ae39997ada27', class: "zonos--payment-paypal-container" })));
70
+ return (h(Host, { key: '6bc25553430c9e23c77a0607ad28dc4c9efa66e6', class: "zonos--payment zonos--elements" }, this.titleText && (h("zonos-text", { key: 'e4ba3f581697a799e50fe066e7cc922a206af8e5', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), h("div", { key: '0247eecadf083f09b67c5f668da845431234750d', class: "zonos--payment-component" }), h("div", { key: '7f63abd0a2c1cbc62f931e44fc44c69b57a4f8ed', class: "zonos--payment-paypal-container" })));
71
71
  }
72
72
  static get is() { return "zonos-payment"; }
73
73
  static get encapsulation() { return "scoped"; }
@@ -32,7 +32,7 @@ export const fetchCheckoutId = async () => {
32
32
  */
33
33
  export const fetchBigCommerceCheckout = async (checkoutId) => {
34
34
  try {
35
- const response = await fetch(`/api/storefront/checkouts/${checkoutId}?include=customer.customerGroup`, {
35
+ const response = await fetch(`/api/storefront/checkouts/${checkoutId}?include=customer.customerGroup,customer.addresses`, {
36
36
  credentials: 'same-origin',
37
37
  headers: {
38
38
  Accept: 'application/json',
@@ -0,0 +1,99 @@
1
+ const toContactOption = (address, email) => {
2
+ // Skip entries missing the fields the address form treats as required.
3
+ if (!address.address1 || !address.countryCode) {
4
+ return null;
5
+ }
6
+ const name = [address.firstName, address.lastName]
7
+ .filter(Boolean)
8
+ .join(' ')
9
+ .trim();
10
+ return {
11
+ address: {
12
+ city: address.city || '',
13
+ country: address.countryCode,
14
+ line1: address.address1,
15
+ line2: address.address2 || '',
16
+ postal_code: address.postalCode || '',
17
+ // Prefer the ISO subdivision code when present so it round-trips through
18
+ // Stripe; fall back to the human-readable state name.
19
+ state: address.stateOrProvinceCode || address.stateOrProvince || '',
20
+ },
21
+ email,
22
+ name,
23
+ phone: address.phone || '',
24
+ };
25
+ };
26
+ const dedupKey = (option) => [
27
+ option.address.line1,
28
+ option.address.line2 || '',
29
+ option.address.postal_code,
30
+ option.address.country,
31
+ ]
32
+ .join('|')
33
+ .toLowerCase();
34
+ /**
35
+ * Extract a logged-in BigCommerce shopper's known addresses from a Storefront
36
+ * API checkout response and convert them into the shape that `zonos-address`
37
+ * consumes (`StripeStoreContactOption[]`).
38
+ *
39
+ * Combines the saved address book (`customer.addresses`) with any address
40
+ * already attached to the active checkout's consignments, so a shopper who
41
+ * just selected a one-off shipping address on BC native checkout still sees
42
+ * that address in the international checkout's address picker. Deduplicates
43
+ * by line1 + line2 + postal code + country.
44
+ *
45
+ * Callers must supply `isShippable` so addresses outside the merchant's
46
+ * shipping zones are filtered out — international checkout can't fulfill
47
+ * them and showing them would just confuse the shopper. The optional
48
+ * `selectedCountryCode` floats addresses in that country to the top of the
49
+ * list so the shopper's current destination is the default choice.
50
+ *
51
+ * Returns an empty list for guest sessions (no `customer.id`) or when the
52
+ * checkout response is missing the relevant includes.
53
+ */
54
+ export const getBigCommerceCustomerAddresses = (checkout, options) => {
55
+ var _a, _b, _c, _d;
56
+ if (!((_a = checkout === null || checkout === void 0 ? void 0 : checkout.customer) === null || _a === void 0 ? void 0 : _a.id)) {
57
+ return [];
58
+ }
59
+ const { isShippable, selectedCountryCode } = options;
60
+ const email = checkout.customer.email || '';
61
+ const consignmentAddresses = (_c = (_b = checkout.consignments) === null || _b === void 0 ? void 0 : _b.flatMap(consignment => consignment.shippingAddress ? [consignment.shippingAddress] : [])) !== null && _c !== void 0 ? _c : [];
62
+ const savedAddresses = (_d = checkout.customer.addresses) !== null && _d !== void 0 ? _d : [];
63
+ const seen = new Set();
64
+ const result = [];
65
+ // Iterate saved addresses first so the dedup key for an address present in
66
+ // both lists keeps the saved-book version (which carries an `id` and is the
67
+ // shopper's canonical entry).
68
+ for (const address of [...savedAddresses, ...consignmentAddresses]) {
69
+ const option = toContactOption(address, email);
70
+ if (!option) {
71
+ continue;
72
+ }
73
+ if (!isShippable(option.address.country)) {
74
+ continue;
75
+ }
76
+ const key = dedupKey(option);
77
+ if (seen.has(key)) {
78
+ continue;
79
+ }
80
+ seen.add(key);
81
+ result.push(option);
82
+ }
83
+ if (!selectedCountryCode) {
84
+ return result;
85
+ }
86
+ // Stable-sort the survivors so addresses matching the currently-selected
87
+ // country come first while everything else keeps its original order.
88
+ return result
89
+ .map((option, index) => ({ index, option }))
90
+ .sort((a, b) => {
91
+ const aMatches = a.option.address.country === selectedCountryCode;
92
+ const bMatches = b.option.address.country === selectedCountryCode;
93
+ if (aMatches === bMatches) {
94
+ return a.index - b.index;
95
+ }
96
+ return aMatches ? -1 : 1;
97
+ })
98
+ .map(entry => entry.option);
99
+ };
@@ -1,5 +1,6 @@
1
1
  import { zonosStore } from "../../../store/zonosStore";
2
2
  import { defaultCurrencyConverter } from "./defaultCurrencyConverter";
3
+ import { log } from "../../logging/log";
3
4
  import { removeBlurCurrency } from "../../../../utils/performBlurCurrency";
4
5
  export const currencyDisplay = () => {
5
6
  if (zonosStore.helloSettings.currencyBehavior === 'DISABLED' ||
@@ -7,5 +8,19 @@ export const currencyDisplay = () => {
7
8
  void removeBlurCurrency();
8
9
  return;
9
10
  }
11
+ // BigCommerce renders prices server-side using its native currency selector
12
+ // (exposed via `document.body.dataset.currencyCode`). When that currency
13
+ // differs from `zonosStore.sourceCurrency`, the DOM amounts are not in the
14
+ // currency Hello would convert *from* — running conversion would double-
15
+ // convert and produce wrong prices.
16
+ if (window.Zonos.isBigCommerce) {
17
+ const bigcommerceCurrencyCode = document.body.dataset.currencyCode;
18
+ if (bigcommerceCurrencyCode &&
19
+ bigcommerceCurrencyCode !== zonosStore.sourceCurrency) {
20
+ log(`Skipping Hello currency conversion: BigCommerce native currency "${bigcommerceCurrencyCode}" does not match sourceCurrency "${zonosStore.sourceCurrency}".`, 'info');
21
+ void removeBlurCurrency();
22
+ return;
23
+ }
24
+ }
10
25
  defaultCurrencyConverter();
11
26
  };
@@ -40,7 +40,7 @@ export const currencyFormat = ({ amount, currency, }) => {
40
40
  return result;
41
41
  }
42
42
  const currencyDisplay = (overrideCurrencyFormat === null || overrideCurrencyFormat === void 0 ? void 0 : overrideCurrencyFormat.currencyDisplay) || 'symbol';
43
- const formattedNumber = new Intl.NumberFormat(window.navigator.language, {
43
+ const formattedNumber = new Intl.NumberFormat(zonosStore.sourceCurrency === 'AUD' ? 'en-AU' : window.navigator.language, {
44
44
  currency: targetCurrency,
45
45
  currencyDisplay,
46
46
  minimumFractionDigits: minimumFractionDigits,
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Default Hello widget diameter in pixels. Matches the legacy size that
3
+ * shipped before `widgetSize` became configurable, so existing merchants
4
+ * continue to render unchanged when they have not set a value.
5
+ */
6
+ export const HELLO_WIDGET_DEFAULT_SIZE = 18;
7
+ export const HELLO_WIDGET_MIN_SIZE = 18;
8
+ export const HELLO_WIDGET_MAX_SIZE = 64;
9
+ /**
10
+ * Resolve the configured Hello widget size to a safe pixel value. Falls back
11
+ * to the default when the merchant has not configured a size, and clamps
12
+ * out-of-range values so the widget always renders within the supported
13
+ * design bounds.
14
+ */
15
+ export const getHelloWidgetSize = (configuredSize) => {
16
+ if (configuredSize == null ||
17
+ !Number.isFinite(configuredSize) ||
18
+ configuredSize <= 0) {
19
+ return HELLO_WIDGET_DEFAULT_SIZE;
20
+ }
21
+ return Math.min(HELLO_WIDGET_MAX_SIZE, Math.max(HELLO_WIDGET_MIN_SIZE, configuredSize));
22
+ };
@@ -121,6 +121,7 @@ export const accountingFeeType = {
121
121
  GeneralAdjustment: 'GENERAL_ADJUSTMENT',
122
122
  GhanaRemittanceFee: 'GHANA_REMITTANCE_FEE',
123
123
  GuaranteeOrder: 'GUARANTEE_ORDER',
124
+ GuaranteeOrderDutyExempt: 'GUARANTEE_ORDER_DUTY_EXEMPT',
124
125
  GuaranteePercent: 'GUARANTEE_PERCENT',
125
126
  HaypostDisbursementFee: 'HAYPOST_DISBURSEMENT_FEE',
126
127
  HaypostRemittanceFee: 'HAYPOST_REMITTANCE_FEE',
@@ -360,6 +361,9 @@ export const adjustmentType = {
360
361
  Charge: 'CHARGE',
361
362
  Credit: 'CREDIT',
362
363
  };
364
+ export const agency = {
365
+ Cpsc: 'CPSC',
366
+ };
363
367
  export const aiModel = {
364
368
  ClaudeHaiku_3_5: 'CLAUDE_HAIKU_3_5',
365
369
  ClaudeOpus_4: 'CLAUDE_OPUS_4',
@@ -528,6 +532,28 @@ export const brokerageNatureOfTransaction = {
528
532
  NotForResale: 'NOT_FOR_RESALE',
529
533
  Return: 'RETURN',
530
534
  };
535
+ export const brokeragePgaAgency = {
536
+ Other: 'OTHER',
537
+ UsAtf: 'US_ATF',
538
+ UsCdc: 'US_CDC',
539
+ UsCpsc: 'US_CPSC',
540
+ UsDea: 'US_DEA',
541
+ UsEpa: 'US_EPA',
542
+ UsEpaTsca: 'US_EPA_TSCA',
543
+ UsFcc: 'US_FCC',
544
+ UsFda: 'US_FDA',
545
+ UsNhtsa: 'US_NHTSA',
546
+ UsOfac: 'US_OFAC',
547
+ UsTtb: 'US_TTB',
548
+ UsUsdaAms: 'US_USDA_AMS',
549
+ UsUsdaAphis: 'US_USDA_APHIS',
550
+ UsUsdaFsis: 'US_USDA_FSIS',
551
+ UsUsfws: 'US_USFWS',
552
+ };
553
+ export const brokeragePgaRequirementStrictness = {
554
+ Conditional: 'CONDITIONAL',
555
+ Required: 'REQUIRED',
556
+ };
531
557
  export const brokerageTransportationMode = {
532
558
  AirContainer: 'AIR_CONTAINER',
533
559
  AirNonContainer: 'AIR_NON_CONTAINER',
@@ -962,7 +988,9 @@ export const consignmentStatus = {
962
988
  Accepted: 'ACCEPTED',
963
989
  Archived: 'ARCHIVED',
964
990
  Candidate: 'CANDIDATE',
991
+ Draft: 'DRAFT',
965
992
  Filed: 'FILED',
993
+ Filing: 'FILING',
966
994
  Ready: 'READY',
967
995
  Rejected: 'REJECTED',
968
996
  };
@@ -1880,6 +1908,10 @@ export const dimensionalUnitCode = {
1880
1908
  Millimeter: 'MILLIMETER',
1881
1909
  Yard: 'YARD',
1882
1910
  };
1911
+ export const disclaimType = {
1912
+ A: 'A',
1913
+ B: 'B',
1914
+ };
1883
1915
  export const displayCurrency = {
1884
1916
  DestinationCountry: 'DESTINATION_COUNTRY',
1885
1917
  StoreNative: 'STORE_NATIVE',
@@ -2136,7 +2168,6 @@ export const fieldStatus = {
2136
2168
  export const frontConversationStatus = {
2137
2169
  Archived: 'ARCHIVED',
2138
2170
  Assigned: 'ASSIGNED',
2139
- Open: 'OPEN',
2140
2171
  Trashed: 'TRASHED',
2141
2172
  Unassigned: 'UNASSIGNED',
2142
2173
  };
@@ -2149,6 +2180,14 @@ export const generalAdjustmentRecordCreateType = {
2149
2180
  ConnectAccountAdjustment: 'CONNECT_ACCOUNT_ADJUSTMENT',
2150
2181
  InvoiceLineRecord: 'INVOICE_LINE_RECORD',
2151
2182
  };
2183
+ export const greenLightCheck = {
2184
+ CountryOfOriginValidation: 'COUNTRY_OF_ORIGIN_VALIDATION',
2185
+ DeniedPartyScreening: 'DENIED_PARTY_SCREENING',
2186
+ HsCodeCoherence: 'HS_CODE_COHERENCE',
2187
+ RegulationCheck: 'REGULATION_CHECK',
2188
+ RestrictionCheck: 'RESTRICTION_CHECK',
2189
+ ValueValidation: 'VALUE_VALIDATION',
2190
+ };
2152
2191
  export const helloCountryDisplayBehavior = {
2153
2192
  All: 'ALL',
2154
2193
  OnlyShippable: 'ONLY_SHIPPABLE',
@@ -2322,14 +2361,23 @@ export const integrationStatus = {
2322
2361
  Error: 'ERROR',
2323
2362
  Inactive: 'INACTIVE',
2324
2363
  };
2364
+ export const intendedAudience = {
2365
+ Adult: 'ADULT',
2366
+ Child: 'CHILD',
2367
+ };
2325
2368
  export const invoiceAmountSubtotalType = {
2369
+ Adjustment: 'ADJUSTMENT',
2326
2370
  Discount: 'DISCOUNT',
2327
2371
  Duty: 'DUTY',
2328
2372
  Fee: 'FEE',
2329
2373
  Item: 'ITEM',
2330
2374
  Other: 'OTHER',
2375
+ SetupFee: 'SETUP_FEE',
2331
2376
  Shipping: 'SHIPPING',
2377
+ Subscription: 'SUBSCRIPTION',
2332
2378
  Tax: 'TAX',
2379
+ TaxDutyCarrierCountry: 'TAX_DUTY_CARRIER_COUNTRY',
2380
+ ZonosFees: 'ZONOS_FEES',
2333
2381
  };
2334
2382
  export const invoiceCarrier = {
2335
2383
  Dhl: 'DHL',
@@ -2487,6 +2535,7 @@ export const invoiceDetailCategoryInputType = {
2487
2535
  GeneralAdjustment: 'GENERAL_ADJUSTMENT',
2488
2536
  GhanaRemittanceFee: 'GHANA_REMITTANCE_FEE',
2489
2537
  GuaranteeOrder: 'GUARANTEE_ORDER',
2538
+ GuaranteeOrderDutyExempt: 'GUARANTEE_ORDER_DUTY_EXEMPT',
2490
2539
  GuaranteePercent: 'GUARANTEE_PERCENT',
2491
2540
  HaypostDisbursementFee: 'HAYPOST_DISBURSEMENT_FEE',
2492
2541
  HaypostRemittanceFee: 'HAYPOST_REMITTANCE_FEE',
@@ -3766,6 +3815,7 @@ export const organizationType = {
3766
3815
  Broker: 'BROKER',
3767
3816
  Consolidator: 'CONSOLIDATOR',
3768
3817
  Developer: 'DEVELOPER',
3818
+ EvolveBrokerage: 'EVOLVE_BROKERAGE',
3769
3819
  Government: 'GOVERNMENT',
3770
3820
  Integrator: 'INTEGRATOR',
3771
3821
  Logistics: 'LOGISTICS',
@@ -3924,6 +3974,10 @@ export const pddpType = {
3924
3974
  export const personTaxIdentifierType = {
3925
3975
  Other: 'OTHER',
3926
3976
  };
3977
+ export const pgaRequirementStrictness = {
3978
+ Conditional: 'CONDITIONAL',
3979
+ Required: 'REQUIRED',
3980
+ };
3927
3981
  export const pickupBuildingType = {
3928
3982
  Apartment: 'APARTMENT',
3929
3983
  Building: 'BUILDING',
@@ -4864,6 +4918,7 @@ export const storeFeeRuleDetailCategoryIdCreateType = {
4864
4918
  EtsyGuaranteePercent: 'ETSY_GUARANTEE_PERCENT',
4865
4919
  EtsyMerchantFeePercent: 'ETSY_MERCHANT_FEE_PERCENT',
4866
4920
  FranceCustomsTax: 'FRANCE_CUSTOMS_TAX',
4921
+ GuaranteeOrderDutyExempt: 'GUARANTEE_ORDER_DUTY_EXEMPT',
4867
4922
  LandedCostGuaranteeBuffer: 'LANDED_COST_GUARANTEE_BUFFER',
4868
4923
  LandedCostGuaranteeSubsidy: 'LANDED_COST_GUARANTEE_SUBSIDY',
4869
4924
  MagentoCrossDockingBuffer: 'MAGENTO_CROSS_DOCKING_BUFFER',
@@ -5314,6 +5369,13 @@ export const zonosInvoiceFeatureFlagKey = {
5314
5369
  RedisInvoiceFeesEnabled: 'REDIS_INVOICE_FEES_ENABLED',
5315
5370
  RedisZonosInvoiceProcessorEnabled: 'REDIS_ZONOS_INVOICE_PROCESSOR_ENABLED',
5316
5371
  };
5372
+ export const zonosInvoiceFinalizeAndChargeOutcome = {
5373
+ AlreadyProcessed: 'ALREADY_PROCESSED',
5374
+ Charged: 'CHARGED',
5375
+ Failed: 'FAILED',
5376
+ InvoiceSent: 'INVOICE_SENT',
5377
+ VoidedZeroAmount: 'VOIDED_ZERO_AMOUNT',
5378
+ };
5317
5379
  export const zonosInvoiceInternalExclusionType = {
5318
5380
  ZeroAmount: 'ZERO_AMOUNT',
5319
5381
  };
@@ -5336,6 +5398,10 @@ export const zonosInvoiceReprocessAction = {
5336
5398
  Combine: 'COMBINE',
5337
5399
  KeepSeparate: 'KEEP_SEPARATE',
5338
5400
  };
5401
+ export const zonosInvoiceReprocessProcessingMode = {
5402
+ Process: 'PROCESS',
5403
+ Skip: 'SKIP',
5404
+ };
5339
5405
  export const zonosInvoiceStatusUpdateInputType = {
5340
5406
  Created: 'CREATED',
5341
5407
  Dispute: 'DISPUTE',
@@ -1,9 +1,9 @@
1
- import { c as createStore, z as zonosStore } from './zonosStore-f1d45eac.js';
2
- import { s as storageStore, l as localizationStore, e as getOverridenZCountry, t as translate, f as filterValidTests, b as storageStoreSetEnabledVariantTestKeys } from './localization-542dbe20.js';
1
+ import { c as createStore, z as zonosStore } from './zonosStore-9662b071.js';
2
+ import { s as storageStore, l as localizationStore, e as getOverridenZCountry, t as translate, f as filterValidTests, b as storageStoreSetEnabledVariantTestKeys } from './localization-ee06df70.js';
3
3
  import { l as log, b as allLogs } from './VarianceTest-572cecf5.js';
4
4
  import { h as handleFetch, l as logError, f as fallbackApiList, g as getIsTestMode, a as getIsStagingMode, s as sendErrorLog, j as jsonParse } from './handleFetch-a844cac1.js';
5
- import { i as isDarkColor } from './isDarkColor-8092a9fb.js';
6
- import { g as getBorderRadius } from './getBorderRadius-66de1b16.js';
5
+ import { i as isDarkColor } from './isDarkColor-0a8453e7.js';
6
+ import { g as getBorderRadius } from './getBorderRadius-98c64be8.js';
7
7
 
8
8
  const getCheckoutSession = async () => {
9
9
  if (!storageStore.checkoutSessionId) {
@@ -1,4 +1,4 @@
1
- import { _ as _root, b as _baseGetTag, i as isObjectLike_1, d as isObject_1 } from './zonosStore-f1d45eac.js';
1
+ import { _ as _root, b as _baseGetTag, i as isObjectLike_1, d as isObject_1 } from './zonosStore-9662b071.js';
2
2
 
3
3
  var root = _root;
4
4
 
@@ -1,4 +1,4 @@
1
- import { z as zonosStore } from './zonosStore-f1d45eac.js';
1
+ import { z as zonosStore } from './zonosStore-9662b071.js';
2
2
 
3
3
  /**
4
4
  * Get the border radius for the elements based on the style
@@ -1,5 +1,5 @@
1
- import { i as isDarkColor, t as tinycolor } from './isDarkColor-8092a9fb.js';
2
- import { i as isContrastColor } from './isContrastColor-f9e65e70.js';
1
+ import { i as isDarkColor, t as tinycolor } from './isDarkColor-0a8453e7.js';
2
+ import { i as isContrastColor } from './isContrastColor-6bad285e.js';
3
3
 
4
4
  const getContrastColor = ({ backgroundColor, color, }) => {
5
5
  if (backgroundColor === color) {
@@ -1,4 +1,4 @@
1
- import { l as localizationStore } from './localization-542dbe20.js';
1
+ import { l as localizationStore } from './localization-ee06df70.js';
2
2
 
3
3
  /**
4
4
  * Since the backend and the frontend are using the same keys,
package/dist/esm/index.js CHANGED
@@ -131,7 +131,7 @@ const getZonosQaUrl = () => {
131
131
  return null;
132
132
  }
133
133
  const qaUrl = extractZonosQaUrl(window.location.href);
134
- const cdnUrl = "https://v1.3.262.js.zonos.com";
134
+ const cdnUrl = "https://v1.3.264.js.zonos.com";
135
135
  // when the qaUrl is not set and the built URL is from the test domain, use the test domain for testing
136
136
  if (!qaUrl &&
137
137
  (cdnUrl.includes('test.') ||
@@ -379,10 +379,10 @@ const zonosLoadUrl = (() => {
379
379
  return null;
380
380
  })();
381
381
  const startLoadTime = Date.now();
382
- const ZONOS_URL = "https://v1.3.262.js.zonos.com";
383
- const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.262";
384
- const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.262";
385
- const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.262";
382
+ const ZONOS_URL = "https://v1.3.264.js.zonos.com";
383
+ const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.264";
384
+ const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.264";
385
+ const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.264";
386
386
  const GOOGLE_FONT_URL = 'https://fonts.googleapis.com';
387
387
  const GOOGLE_FONT_REGEX = /^https:\/\/fonts\.googleapis\.com/;
388
388
  class Zonos {
@@ -400,7 +400,7 @@ Zonos.iframeLogType = typeof window !== 'undefined'
400
400
  ? new URLSearchParams(window.location.search).get('iframeLogType')
401
401
  : null;
402
402
  Zonos.isBigCommerce = false;
403
- Zonos.releaseDate = "1777585626922";
403
+ Zonos.releaseDate = "1779124061433";
404
404
  Zonos.isLegacyCheckout = false;
405
405
  Zonos.googleAnalyticId = null;
406
406
  Zonos.googleAnalyticReady = false;
@@ -425,7 +425,7 @@ Zonos.isNpm = true;
425
425
  Zonos.zonosQaUrl = null;
426
426
  Zonos.zonosQaUrlApi = null;
427
427
  Zonos.trackEventLogs = [];
428
- Zonos.version = `v${"1.3.262"}`;
428
+ Zonos.version = `v${"1.3.264"}`;
429
429
  Zonos.modeAlerted = false;
430
430
  Zonos.cartData = null;
431
431
  Zonos.paypal = null;
@@ -1,6 +1,6 @@
1
- import { c as createStore, z as zonosStore } from './zonosStore-f1d45eac.js';
2
- import { b as stripeStore, G as stripeStoreBuildAddressForPartyCreate, d as cartStore, H as cartStoreUpdateSelectedShippingOption } from './cart-c490d252.js';
3
- import { s as storageStore } from './localization-542dbe20.js';
1
+ import { c as createStore, z as zonosStore } from './zonosStore-9662b071.js';
2
+ import { b as stripeStore, G as stripeStoreBuildAddressForPartyCreate, d as cartStore, H as cartStoreUpdateSelectedShippingOption } from './cart-41f41429.js';
3
+ import { s as storageStore } from './localization-ee06df70.js';
4
4
  import { h as handleFetch, s as sendErrorLog, l as logError } from './handleFetch-a844cac1.js';
5
5
  import { b as allLogs } from './VarianceTest-572cecf5.js';
6
6
 
@@ -1,6 +1,6 @@
1
- import { c as createStore, z as zonosStore } from './zonosStore-f1d45eac.js';
2
- import { b as stripeStore, G as stripeStoreBuildAddressForPartyCreate, d as cartStore, H as cartStoreUpdateSelectedShippingOption } from './cart-c490d252.js';
3
- import { s as storageStore } from './localization-542dbe20.js';
1
+ import { c as createStore, z as zonosStore } from './zonosStore-9662b071.js';
2
+ import { b as stripeStore, G as stripeStoreBuildAddressForPartyCreate, d as cartStore, H as cartStoreUpdateSelectedShippingOption } from './cart-41f41429.js';
3
+ import { s as storageStore } from './localization-ee06df70.js';
4
4
  import { h as handleFetch, s as sendErrorLog, l as logError } from './handleFetch-a844cac1.js';
5
5
  import { b as allLogs } from './VarianceTest-572cecf5.js';
6
6
 
@@ -1,4 +1,4 @@
1
- import { t as tinycolor } from './isDarkColor-8092a9fb.js';
1
+ import { t as tinycolor } from './isDarkColor-0a8453e7.js';
2
2
 
3
3
  const isContrastColor = ({ backgroundColor1, backgroundColor2, }) => {
4
4
  // get readibility of the color
@@ -1,4 +1,4 @@
1
- import { a as commonjsGlobal } from './zonosStore-f1d45eac.js';
1
+ import { a as commonjsGlobal } from './zonosStore-9662b071.js';
2
2
 
3
3
  var tinycolor$1 = {exports: {}};
4
4