@zonos/elements 1.3.143 → 1.3.144

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 (340) hide show
  1. package/dist/cjs/{CheckoutConfig-eaaf62a1.js → CheckoutConfig-d25d548d.js} +13 -3
  2. package/dist/cjs/{cart-6ac8dc06.js → cart-2398abd4.js} +296 -41
  3. package/dist/cjs/{createCustomEvent-3e982e57.js → createCustomEvent-7b6fad95.js} +0 -3
  4. package/dist/cjs/{getBorderRadius-f97c99ad.js → getBorderRadius-7d0772bf.js} +1 -1
  5. package/dist/cjs/{handleFetch-864d3c53.js → handleFetch-3673a0c2.js} +30 -1
  6. package/dist/cjs/{index-b678ce0c.js → index-2f90486e.js} +209 -157
  7. package/dist/cjs/index.cjs.js +12 -11
  8. package/dist/cjs/{isDarkColor-434d71dd.js → isDarkColor-2acf30d1.js} +1 -1
  9. package/dist/cjs/loader.cjs.js +2 -2
  10. package/dist/cjs/{paypal-ea8b4ca0.js → paypal-7ed9dfb7.js} +4 -4
  11. package/dist/cjs/zonos-address_8.cjs.entry.js +96 -18
  12. package/dist/cjs/zonos-badge.cjs.entry.js +2 -2
  13. package/dist/cjs/zonos-banner.cjs.entry.js +2 -2
  14. package/dist/cjs/zonos-button_3.cjs.entry.js +4 -4
  15. package/dist/cjs/zonos-card.cjs.entry.js +3 -3
  16. package/dist/cjs/zonos-cart-items_13.cjs.entry.js +128 -30
  17. package/dist/cjs/zonos-checkout.cjs.entry.js +36 -16
  18. package/dist/cjs/zonos-collapse.cjs.entry.js +2 -2
  19. package/dist/cjs/zonos-component.cjs.entry.js +1 -1
  20. package/dist/cjs/zonos-controller.cjs.entry.js +8 -8
  21. package/dist/cjs/zonos-country-flag.cjs.entry.js +6 -6
  22. package/dist/cjs/zonos-country-select_4.cjs.entry.js +6 -6
  23. package/dist/cjs/zonos-elements.cjs.js +3 -3
  24. package/dist/cjs/{zonos-notification_3.cjs.entry.js → zonos-empty-state-payment_4.cjs.entry.js} +86 -8
  25. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +7 -7
  26. package/dist/cjs/zonos-hello.cjs.entry.js +6 -6
  27. package/dist/cjs/zonos-input.cjs.entry.js +3 -3
  28. package/dist/cjs/zonos-language-select_2.cjs.entry.js +6 -6
  29. package/dist/cjs/zonos-link.cjs.entry.js +1 -1
  30. package/dist/cjs/zonos-logo.cjs.entry.js +2 -2
  31. package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +3 -3
  32. package/dist/cjs/zonos-text.cjs.entry.js +2 -2
  33. package/dist/cjs/zonos-toggle.cjs.entry.js +2 -2
  34. package/dist/cjs/zonos-tooltip.cjs.entry.js +1 -1
  35. package/dist/cjs/zonos-v-stack.cjs.entry.js +2 -2
  36. package/dist/cjs/{zonosStore-8971eb65.js → zonosStore-46809186.js} +1 -1
  37. package/dist/collection/collection-manifest.json +2 -1
  38. package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-display/zonos-address-display.js +5 -1
  39. package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-form/zonos-address-form.js +8 -2
  40. package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-update-dialog.js +24 -4
  41. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-restricted-items/zonos-cart-restricted-items.js +2 -0
  42. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.js +4 -0
  43. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +34 -6
  44. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.js +4 -0
  45. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.js +109 -18
  46. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-empty-state-payment/assets/PaymentEmptyStateDarkIcon.svg +22 -0
  47. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-empty-state-payment/assets/PaymentEmptyStateLightIcon.svg +22 -0
  48. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-empty-state-payment/zonos-empty-state-payment.css +51 -0
  49. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-empty-state-payment/zonos-empty-state-payment.js +90 -0
  50. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +62 -7
  51. package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.js +10 -0
  52. package/dist/collection/components/checkout/zonos-checkout/zonos-review/zonos-review.js +4 -0
  53. package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.js +6 -0
  54. package/dist/collection/components/common/zonos-badge/zonos-badge.js +18 -2
  55. package/dist/collection/components/common/zonos-banner/zonos-banner.js +4 -0
  56. package/dist/collection/components/common/zonos-button/zonos-button.js +30 -0
  57. package/dist/collection/components/common/zonos-card/zonos-card.js +20 -4
  58. package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.js +14 -0
  59. package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js +4 -0
  60. package/dist/collection/components/common/zonos-collapse/zonos-collapse.js +4 -0
  61. package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.js +22 -0
  62. package/dist/collection/components/common/zonos-country-flag/zonos-country-flag.js +4 -0
  63. package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +2 -0
  64. package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +4 -0
  65. package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +26 -0
  66. package/dist/collection/components/common/zonos-icon/zonos-icon.js +8 -0
  67. package/dist/collection/components/common/zonos-input/zonos-input.js +12 -0
  68. package/dist/collection/components/common/zonos-language-select/zonos-language-select.js +2 -0
  69. package/dist/collection/components/common/zonos-link/zonos-link.js +8 -0
  70. package/dist/collection/components/common/zonos-logo/zonos-logo.js +4 -0
  71. package/dist/collection/components/common/zonos-rest-state/zonos-rest-state.js +6 -0
  72. package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +4 -0
  73. package/dist/collection/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.js +11 -1
  74. package/dist/collection/components/common/zonos-spinner/zonos-spinner.js +4 -0
  75. package/dist/collection/components/common/zonos-stripe-input/zonos-stripe-input.css +3 -3
  76. package/dist/collection/components/common/zonos-stripe-input/zonos-stripe-input.js +52 -8
  77. package/dist/collection/components/common/zonos-text/zonos-text.js +8 -0
  78. package/dist/collection/components/common/zonos-toggle/zonos-toggle.js +4 -0
  79. package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.js +4 -0
  80. package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +2 -0
  81. package/dist/collection/components/common/zonos-virtual-scroll/zonos-virtual-scroll.js +10 -2
  82. package/dist/collection/components/component-template/zonos-component/zonos-component.js +6 -0
  83. package/dist/collection/components/hello/zonos-hello/zonos-hello.js +7 -1
  84. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +7 -1
  85. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +14 -2
  86. package/dist/collection/components/main/zonos-controller.js +7 -3
  87. package/dist/collection/components/store/checkout/cart.js +3 -0
  88. package/dist/collection/components/store/checkout/stripe.js +112 -39
  89. package/dist/collection/components/store/translationStore/strings.arabic.js +9 -0
  90. package/dist/collection/components/store/translationStore/strings.base.js +9 -0
  91. package/dist/collection/components/store/translationStore/strings.chinese.js +9 -0
  92. package/dist/collection/components/store/translationStore/strings.danish.js +9 -0
  93. package/dist/collection/components/store/translationStore/strings.dutch.js +9 -0
  94. package/dist/collection/components/store/translationStore/strings.french.js +9 -0
  95. package/dist/collection/components/store/translationStore/strings.german.js +9 -0
  96. package/dist/collection/components/store/translationStore/strings.hebrew.js +9 -0
  97. package/dist/collection/components/store/translationStore/strings.indonesian.js +9 -0
  98. package/dist/collection/components/store/translationStore/strings.italian.js +9 -0
  99. package/dist/collection/components/store/translationStore/strings.japanese.js +9 -0
  100. package/dist/collection/components/store/translationStore/strings.korean.js +9 -0
  101. package/dist/collection/components/store/translationStore/strings.norwegian.js +9 -0
  102. package/dist/collection/components/store/translationStore/strings.polish.js +9 -0
  103. package/dist/collection/components/store/translationStore/strings.portuguese.js +9 -0
  104. package/dist/collection/components/store/translationStore/strings.russian.js +9 -0
  105. package/dist/collection/components/store/translationStore/strings.spanish.js +9 -0
  106. package/dist/collection/components/store/translationStore/strings.swedish.js +9 -0
  107. package/dist/collection/components/store/translationStore/strings.turkish.js +9 -0
  108. package/dist/collection/components/store/translationStore/strings.vietnamese.js +9 -0
  109. package/dist/collection/components/stripe/zonos-address/zonos-address.js +6 -0
  110. package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +84 -3
  111. package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +3 -1
  112. package/dist/collection/components/utils/api/getCheckoutSession.js +1 -1
  113. package/dist/collection/components/utils/api/placeTestOrder.js +40 -0
  114. package/dist/collection/components/utils/checkout/getIsStagingMode.js +1 -0
  115. package/dist/collection/components/utils/checkout/getIsTestMode.js +5 -1
  116. package/dist/collection/components/utils/handleFetch.js +22 -1
  117. package/dist/collection/components/utils/validateEmailValue.js +4 -0
  118. package/dist/collection/scripts/_getTempCartById.js +2 -2
  119. package/dist/collection/scripts/_getWithTestPublicCredential.js +5 -2
  120. package/dist/collection/scripts/cart/_getIsValidCartId.js +11 -0
  121. package/dist/collection/types/checkout/api/PlaceTestOrder.js +1 -0
  122. package/dist/collection/types/generated/graphql.internal.types.js +13 -1
  123. package/dist/collection/types/index.js +1 -0
  124. package/dist/esm/{CheckoutConfig-262008fe.js → CheckoutConfig-573bd959.js} +13 -3
  125. package/dist/esm/{cart-acba54d0.js → cart-3427ee25.js} +296 -41
  126. package/dist/esm/{createCustomEvent-31a792d3.js → createCustomEvent-58159025.js} +1 -3
  127. package/dist/esm/{getBorderRadius-4aca63d4.js → getBorderRadius-b32d4218.js} +1 -1
  128. package/dist/esm/{handleFetch-badf4543.js → handleFetch-b4633675.js} +29 -2
  129. package/dist/esm/{index-986b5ff2.js → index-d82f06f2.js} +209 -157
  130. package/dist/esm/index.js +13 -12
  131. package/dist/esm/{isDarkColor-4915739f.js → isDarkColor-10f38df6.js} +1 -1
  132. package/dist/esm/loader.js +3 -3
  133. package/dist/esm/{paypal-3401f757.js → paypal-4e2f9753.js} +4 -4
  134. package/dist/esm/zonos-address_8.entry.js +96 -18
  135. package/dist/esm/zonos-badge.entry.js +2 -2
  136. package/dist/esm/zonos-banner.entry.js +2 -2
  137. package/dist/esm/zonos-button_3.entry.js +4 -4
  138. package/dist/esm/zonos-card.entry.js +3 -3
  139. package/dist/esm/zonos-cart-items_13.entry.js +126 -28
  140. package/dist/esm/zonos-checkout.entry.js +34 -14
  141. package/dist/esm/zonos-collapse.entry.js +2 -2
  142. package/dist/esm/zonos-component.entry.js +1 -1
  143. package/dist/esm/zonos-controller.entry.js +8 -8
  144. package/dist/esm/zonos-country-flag.entry.js +6 -6
  145. package/dist/esm/zonos-country-select_4.entry.js +6 -6
  146. package/dist/esm/zonos-elements.js +4 -4
  147. package/dist/esm/{zonos-notification_3.entry.js → zonos-empty-state-payment_4.entry.js} +86 -9
  148. package/dist/esm/zonos-hello-dialog.entry.js +7 -7
  149. package/dist/esm/zonos-hello.entry.js +6 -6
  150. package/dist/esm/zonos-input.entry.js +3 -3
  151. package/dist/esm/zonos-language-select_2.entry.js +6 -6
  152. package/dist/esm/zonos-link.entry.js +1 -1
  153. package/dist/esm/zonos-logo.entry.js +2 -2
  154. package/dist/esm/zonos-shipping-rich-radio.entry.js +3 -3
  155. package/dist/esm/zonos-text.entry.js +2 -2
  156. package/dist/esm/zonos-toggle.entry.js +2 -2
  157. package/dist/esm/zonos-tooltip.entry.js +1 -1
  158. package/dist/esm/zonos-v-stack.entry.js +2 -2
  159. package/dist/esm/{zonosStore-708637e7.js → zonosStore-44efd080.js} +1 -1
  160. package/dist/esm-es5/CheckoutConfig-573bd959.js +1 -0
  161. package/dist/esm-es5/cart-3427ee25.js +1 -0
  162. package/dist/esm-es5/createCustomEvent-58159025.js +1 -0
  163. package/dist/esm-es5/{getBorderRadius-4aca63d4.js → getBorderRadius-b32d4218.js} +1 -1
  164. package/dist/esm-es5/handleFetch-b4633675.js +1 -0
  165. package/dist/esm-es5/index-d82f06f2.js +2 -0
  166. package/dist/esm-es5/index.js +1 -1
  167. package/dist/esm-es5/{isDarkColor-4915739f.js → isDarkColor-10f38df6.js} +1 -1
  168. package/dist/esm-es5/loader.js +1 -1
  169. package/dist/esm-es5/{paypal-3401f757.js → paypal-4e2f9753.js} +1 -1
  170. package/dist/esm-es5/zonos-address_8.entry.js +1 -1
  171. package/dist/esm-es5/zonos-badge.entry.js +1 -1
  172. package/dist/esm-es5/zonos-banner.entry.js +1 -1
  173. package/dist/esm-es5/zonos-button_3.entry.js +1 -1
  174. package/dist/esm-es5/zonos-card.entry.js +1 -1
  175. package/dist/esm-es5/zonos-cart-items_13.entry.js +1 -1
  176. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  177. package/dist/esm-es5/zonos-collapse.entry.js +1 -1
  178. package/dist/esm-es5/zonos-component.entry.js +1 -1
  179. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  180. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  181. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
  182. package/dist/esm-es5/zonos-elements.js +1 -1
  183. package/dist/esm-es5/zonos-empty-state-payment_4.entry.js +1 -0
  184. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  185. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  186. package/dist/esm-es5/zonos-input.entry.js +1 -1
  187. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  188. package/dist/esm-es5/zonos-link.entry.js +1 -1
  189. package/dist/esm-es5/zonos-logo.entry.js +1 -1
  190. package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
  191. package/dist/esm-es5/zonos-text.entry.js +1 -1
  192. package/dist/esm-es5/zonos-toggle.entry.js +1 -1
  193. package/dist/esm-es5/zonos-tooltip.entry.js +1 -1
  194. package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
  195. package/dist/esm-es5/{zonosStore-708637e7.js → zonosStore-44efd080.js} +1 -1
  196. package/dist/scripts/index.d.ts +61 -0
  197. package/dist/scripts/index.js +1 -1
  198. package/dist/scripts/loadZonos.js +1 -1
  199. package/dist/scripts/zonos.js +1 -1
  200. package/dist/types/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.d.ts +1 -0
  201. package/dist/types/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.d.ts +18 -0
  202. package/dist/types/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-empty-state-payment/zonos-empty-state-payment.d.ts +13 -0
  203. package/dist/types/components/checkout/zonos-checkout/zonos-checkout.d.ts +10 -0
  204. package/dist/types/components/common/zonos-stripe-input/zonos-stripe-input.d.ts +7 -3
  205. package/dist/types/components/store/checkout/cart.d.ts +5 -0
  206. package/dist/types/components/store/checkout/stripe.d.ts +8 -2
  207. package/dist/types/components/store/translationStore/strings.arabic.d.ts +9 -0
  208. package/dist/types/components/store/translationStore/strings.base.d.ts +9 -0
  209. package/dist/types/components/store/translationStore/strings.chinese.d.ts +9 -0
  210. package/dist/types/components/store/translationStore/strings.danish.d.ts +9 -0
  211. package/dist/types/components/store/translationStore/strings.dutch.d.ts +9 -0
  212. package/dist/types/components/store/translationStore/strings.french.d.ts +9 -0
  213. package/dist/types/components/store/translationStore/strings.german.d.ts +9 -0
  214. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +9 -0
  215. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +9 -0
  216. package/dist/types/components/store/translationStore/strings.italian.d.ts +9 -0
  217. package/dist/types/components/store/translationStore/strings.japanese.d.ts +9 -0
  218. package/dist/types/components/store/translationStore/strings.korean.d.ts +9 -0
  219. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +9 -0
  220. package/dist/types/components/store/translationStore/strings.polish.d.ts +9 -0
  221. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +9 -0
  222. package/dist/types/components/store/translationStore/strings.russian.d.ts +9 -0
  223. package/dist/types/components/store/translationStore/strings.spanish.d.ts +9 -0
  224. package/dist/types/components/store/translationStore/strings.swedish.d.ts +9 -0
  225. package/dist/types/components/store/translationStore/strings.turkish.d.ts +9 -0
  226. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +9 -0
  227. package/dist/types/components/stripe/zonos-link-authentication/zonos-link-authentication.d.ts +6 -0
  228. package/dist/types/components/utils/api/getLocaleMessages.d.ts +1 -1
  229. package/dist/types/components/utils/api/placeTestOrder.d.ts +7 -0
  230. package/dist/types/components/utils/checkout/getIsStagingMode.d.ts +1 -0
  231. package/dist/types/components/utils/checkout/getIsTestMode.d.ts +1 -1
  232. package/dist/types/components/utils/validateEmailValue.d.ts +1 -0
  233. package/dist/types/components.d.ts +61 -0
  234. package/dist/types/types/checkout/api/CheckoutSession.d.ts +8 -2
  235. package/dist/types/types/checkout/api/PlaceTestOrder.d.ts +7 -0
  236. package/dist/types/types/generated/graphql.frontend.types.d.ts +1 -1
  237. package/dist/types/types/generated/graphql.frontend.types.ts +1 -1
  238. package/dist/types/types/generated/graphql.internal.types.d.ts +75 -2
  239. package/dist/types/types/generated/graphql.internal.types.ts +92 -4
  240. package/dist/types/types/index.d.ts +1 -0
  241. package/dist/zonos-elements/assets/RemoveIcon.svg +1 -1
  242. package/dist/zonos-elements/index.esm.js +1 -1
  243. package/dist/zonos-elements/{p-ab6973a5.entry.js → p-00136c20.entry.js} +1 -1
  244. package/dist/zonos-elements/{p-d3867033.entry.js → p-0028d158.entry.js} +1 -1
  245. package/dist/zonos-elements/{p-54058b57.entry.js → p-05013308.entry.js} +1 -1
  246. package/dist/zonos-elements/{p-0b5c9f89.system.js → p-0e6a3cd2.system.js} +1 -1
  247. package/dist/zonos-elements/{p-c0164a3c.system.js → p-12546668.system.js} +1 -1
  248. package/dist/zonos-elements/p-1423ebbe.js +1 -0
  249. package/dist/zonos-elements/p-18e5b741.system.js +1 -0
  250. package/dist/zonos-elements/p-2deae669.entry.js +1 -0
  251. package/dist/zonos-elements/{p-36dfc7ac.system.js → p-32912caf.system.js} +1 -1
  252. package/dist/zonos-elements/{p-fc4658a6.entry.js → p-36f97fd9.entry.js} +1 -1
  253. package/dist/zonos-elements/{p-8ac02349.system.entry.js → p-3a213429.system.entry.js} +1 -1
  254. package/dist/zonos-elements/{p-e6554a6f.system.entry.js → p-3aa4841a.system.entry.js} +1 -1
  255. package/dist/zonos-elements/{p-a13d5957.system.entry.js → p-3d221556.system.entry.js} +1 -1
  256. package/dist/zonos-elements/{p-381874b0.system.entry.js → p-41e26cc4.system.entry.js} +1 -1
  257. package/dist/zonos-elements/{p-0db28495.system.entry.js → p-463e44b6.system.entry.js} +1 -1
  258. package/dist/zonos-elements/p-46f6e5e9.system.js +1 -0
  259. package/dist/zonos-elements/p-485d89a4.js +17 -0
  260. package/dist/zonos-elements/p-48bca3d4.system.entry.js +1 -0
  261. package/dist/zonos-elements/p-4caffd96.system.js +2 -0
  262. package/dist/zonos-elements/{p-d9511c4a.entry.js → p-50896f89.entry.js} +1 -1
  263. package/dist/zonos-elements/{p-38d0c496.system.entry.js → p-515e3606.system.entry.js} +1 -1
  264. package/dist/zonos-elements/p-5834c218.system.js +1 -0
  265. package/dist/zonos-elements/p-595f5dd2.js +1 -0
  266. package/dist/zonos-elements/{p-2761ad55.system.entry.js → p-619c07c6.system.entry.js} +1 -1
  267. package/dist/zonos-elements/{p-9d7a860c.entry.js → p-69f84611.entry.js} +1 -1
  268. package/dist/zonos-elements/{p-766dd01f.js → p-6c578d26.js} +1 -1
  269. package/dist/zonos-elements/{p-28295342.entry.js → p-709c7e9e.entry.js} +1 -1
  270. package/dist/zonos-elements/{p-0197a9bf.system.entry.js → p-7140439f.system.entry.js} +1 -1
  271. package/dist/zonos-elements/p-7302a081.system.entry.js +1 -0
  272. package/dist/zonos-elements/p-7e47f6cf.entry.js +1 -0
  273. package/dist/zonos-elements/{p-44dd4269.entry.js → p-7f288336.entry.js} +1 -1
  274. package/dist/zonos-elements/{p-78e4f877.system.entry.js → p-81084be5.system.entry.js} +1 -1
  275. package/dist/zonos-elements/p-81a5dd5c.js +1 -0
  276. package/dist/zonos-elements/p-84e5fc0b.entry.js +1 -0
  277. package/dist/zonos-elements/{p-33e1d25e.system.entry.js → p-86e825f0.system.entry.js} +1 -1
  278. package/dist/zonos-elements/{p-0b5f4ca7.system.entry.js → p-91fc6c24.system.entry.js} +1 -1
  279. package/dist/zonos-elements/p-9951462e.entry.js +1 -0
  280. package/dist/zonos-elements/{p-a2bce31d.system.entry.js → p-9cf018c8.system.entry.js} +1 -1
  281. package/dist/zonos-elements/{p-2ab5e362.system.entry.js → p-9e05e259.system.entry.js} +1 -1
  282. package/dist/zonos-elements/{p-df9c0bfa.system.entry.js → p-a8cf3542.system.entry.js} +1 -1
  283. package/dist/zonos-elements/p-ab68ad11.js +2 -0
  284. package/dist/zonos-elements/{p-4b685549.js → p-b0616716.js} +1 -1
  285. package/dist/zonos-elements/{p-1e3ea4ae.entry.js → p-b12fbc07.entry.js} +1 -1
  286. package/dist/zonos-elements/{p-dba6147b.system.entry.js → p-b2292b70.system.entry.js} +1 -1
  287. package/dist/zonos-elements/{p-b2ea7adb.entry.js → p-b262b93e.entry.js} +1 -1
  288. package/dist/zonos-elements/{p-545c05ce.entry.js → p-b288c2ed.entry.js} +1 -1
  289. package/dist/zonos-elements/p-b3882a73.system.js +1 -0
  290. package/dist/zonos-elements/{p-9306a835.entry.js → p-b5c360af.entry.js} +1 -1
  291. package/dist/zonos-elements/{p-2cfc00b8.system.entry.js → p-b6bbdb59.system.entry.js} +1 -1
  292. package/dist/zonos-elements/{p-654fc23d.system.entry.js → p-bb92882d.system.entry.js} +1 -1
  293. package/dist/zonos-elements/p-bf37ccc7.system.js +1 -0
  294. package/dist/zonos-elements/{p-21b538ea.system.js → p-c015be06.system.js} +1 -1
  295. package/dist/zonos-elements/p-c8b0bc02.system.entry.js +1 -0
  296. package/dist/zonos-elements/{p-39cac2c1.entry.js → p-cbd5d932.entry.js} +1 -1
  297. package/dist/zonos-elements/{p-7c5c0a85.entry.js → p-cdfca133.entry.js} +1 -1
  298. package/dist/zonos-elements/{p-675f60b4.entry.js → p-d2f2c685.entry.js} +1 -1
  299. package/dist/zonos-elements/{p-4c7f0417.entry.js → p-d6061c79.entry.js} +1 -1
  300. package/dist/zonos-elements/p-da6a29e4.system.entry.js +1 -0
  301. package/dist/zonos-elements/{p-3f991022.entry.js → p-db3f381d.entry.js} +1 -1
  302. package/dist/zonos-elements/{p-9dec2b74.entry.js → p-de221545.entry.js} +1 -1
  303. package/dist/zonos-elements/{p-0ab29580.entry.js → p-e01ccb27.entry.js} +1 -1
  304. package/dist/zonos-elements/{p-b0174a8f.js → p-e02fd9ae.js} +1 -1
  305. package/dist/zonos-elements/{p-f2d07062.entry.js → p-e2f1fa53.entry.js} +1 -1
  306. package/dist/zonos-elements/{p-6a8862a6.system.entry.js → p-e8c70c7d.system.entry.js} +1 -1
  307. package/dist/zonos-elements/{p-9e84f647.system.entry.js → p-ea35b237.system.entry.js} +1 -1
  308. package/dist/zonos-elements/p-f0c8150e.js +1 -0
  309. package/dist/zonos-elements/p-f3b0a097.system.js +1 -0
  310. package/dist/zonos-elements/{p-d5a3851d.system.entry.js → p-fc4ebe6b.system.entry.js} +1 -1
  311. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  312. package/dist/zonos-elements/zonos-elements.js +1 -1
  313. package/package.json +9 -8
  314. package/dist/esm-es5/CheckoutConfig-262008fe.js +0 -1
  315. package/dist/esm-es5/cart-acba54d0.js +0 -1
  316. package/dist/esm-es5/createCustomEvent-31a792d3.js +0 -1
  317. package/dist/esm-es5/handleFetch-badf4543.js +0 -1
  318. package/dist/esm-es5/index-986b5ff2.js +0 -2
  319. package/dist/esm-es5/zonos-notification_3.entry.js +0 -1
  320. package/dist/zonos-elements/p-1198c874.entry.js +0 -1
  321. package/dist/zonos-elements/p-1460f917.js +0 -1
  322. package/dist/zonos-elements/p-302f5d25.entry.js +0 -1
  323. package/dist/zonos-elements/p-386325ae.system.js +0 -1
  324. package/dist/zonos-elements/p-64372f93.system.js +0 -1
  325. package/dist/zonos-elements/p-680d3694.js +0 -2
  326. package/dist/zonos-elements/p-7b999a40.js +0 -1
  327. package/dist/zonos-elements/p-7c643376.system.js +0 -1
  328. package/dist/zonos-elements/p-8e30228d.system.entry.js +0 -1
  329. package/dist/zonos-elements/p-8f26cc7e.entry.js +0 -1
  330. package/dist/zonos-elements/p-9da2d116.entry.js +0 -1
  331. package/dist/zonos-elements/p-a08ea336.js +0 -1
  332. package/dist/zonos-elements/p-a4f045d4.js +0 -17
  333. package/dist/zonos-elements/p-a5b294d7.js +0 -1
  334. package/dist/zonos-elements/p-b50667b6.system.js +0 -2
  335. package/dist/zonos-elements/p-bfcfd29b.system.js +0 -1
  336. package/dist/zonos-elements/p-c437d76c.system.js +0 -1
  337. package/dist/zonos-elements/p-d1afd314.system.entry.js +0 -1
  338. package/dist/zonos-elements/p-e9964a5a.system.js +0 -1
  339. package/dist/zonos-elements/p-f9aef1fc.system.entry.js +0 -1
  340. package/dist/zonos-elements/p-fa538a74.system.entry.js +0 -1
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- const zonosStore = require('./zonosStore-8971eb65.js');
4
- const handleFetch = require('./handleFetch-864d3c53.js');
5
- const isDarkColor = require('./isDarkColor-434d71dd.js');
6
- const getBorderRadius = require('./getBorderRadius-f97c99ad.js');
3
+ const zonosStore = require('./zonosStore-46809186.js');
4
+ const handleFetch = require('./handleFetch-3673a0c2.js');
5
+ const isDarkColor = require('./isDarkColor-2acf30d1.js');
6
+ const getBorderRadius = require('./getBorderRadius-7d0772bf.js');
7
7
 
8
8
  const stringsArabic = {
9
9
  ' (Duties due at door)': {
@@ -180,6 +180,9 @@ const stringsArabic = {
180
180
  'No countries found': {
181
181
  value: 'لم يتم العثور على دول',
182
182
  },
183
+ 'No payment method needed for staging': {
184
+ value: 'لا حاجة لطريقة دفع للتجهيز',
185
+ },
183
186
  'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
184
187
  value: 'لم يتم اختيار تقييم الشحنة. يرجى العودة إلى خطوة "الشحن" واختيار تقييم الشحنة للمتابعة.',
185
188
  },
@@ -237,6 +240,9 @@ const stringsArabic = {
237
240
  'Phone number': {
238
241
  value: 'رقم الهاتف',
239
242
  },
243
+ 'Place test order': {
244
+ value: 'إجراء طلب اختبار',
245
+ },
240
246
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
241
247
  value: 'يرجى التأكد من أن نصك يستخدم الأبجدية اللاتينية فقط (A-Z, a-z).',
242
248
  },
@@ -339,6 +345,9 @@ const stringsArabic = {
339
345
  'Spend [threshold] tax free.': {
340
346
  value: 'أنفق [threshold] بدون ضرائب.',
341
347
  },
348
+ 'Staging mode': {
349
+ value: 'وضع التدريج',
350
+ },
342
351
  State: {
343
352
  value: 'ولاية',
344
353
  },
@@ -636,6 +645,9 @@ const stringsBase = {
636
645
  'No countries found': {
637
646
  value: 'No countries found',
638
647
  },
648
+ 'No payment method needed for staging': {
649
+ value: 'No payment method needed for staging',
650
+ },
639
651
  'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
640
652
  value: 'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.',
641
653
  },
@@ -693,6 +705,9 @@ const stringsBase = {
693
705
  'Phone number': {
694
706
  value: 'Phone number',
695
707
  },
708
+ 'Place test order': {
709
+ value: 'Place test order',
710
+ },
696
711
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
697
712
  value: 'Please ensure your text uses the Latin alphabet only (A-Z, a-z).',
698
713
  },
@@ -795,6 +810,9 @@ const stringsBase = {
795
810
  'Spend [threshold] tax free.': {
796
811
  value: 'Spend [threshold] tax free.',
797
812
  },
813
+ 'Staging mode': {
814
+ value: 'Staging mode',
815
+ },
798
816
  State: {
799
817
  value: 'State',
800
818
  },
@@ -1092,6 +1110,9 @@ const stringsChinese = {
1092
1110
  'No countries found': {
1093
1111
  value: '未找到国家',
1094
1112
  },
1113
+ 'No payment method needed for staging': {
1114
+ value: '不需要支付方式用于演示',
1115
+ },
1095
1116
  'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
1096
1117
  value: '未选择运费评级。请返回到"运输"步骤并选择运费评级以继续。',
1097
1118
  },
@@ -1149,6 +1170,9 @@ const stringsChinese = {
1149
1170
  'Phone number': {
1150
1171
  value: '电话号码',
1151
1172
  },
1173
+ 'Place test order': {
1174
+ value: '下测试订单',
1175
+ },
1152
1176
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
1153
1177
  value: '请确保您的文本仅使用拉丁字母表(A-Z, a-z)。',
1154
1178
  },
@@ -1251,6 +1275,9 @@ const stringsChinese = {
1251
1275
  'Spend [threshold] tax free.': {
1252
1276
  value: '花费 [threshold] 免税。',
1253
1277
  },
1278
+ 'Staging mode': {
1279
+ value: '演示模式',
1280
+ },
1254
1281
  State: {
1255
1282
  value: '州',
1256
1283
  },
@@ -1548,6 +1575,9 @@ const stringsDanish = {
1548
1575
  'No countries found': {
1549
1576
  value: 'Ingen lande fundet',
1550
1577
  },
1578
+ 'No payment method needed for staging': {
1579
+ value: 'Ingen betalingsmetode nødvendig for iscenesættelse',
1580
+ },
1551
1581
  'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
1552
1582
  value: 'Ingen forsendelsesvurdering valgt. Gå venligst tilbage til "Forsendelse"-trinnet og vælg en forsendelsesvurdering for at fortsætte.',
1553
1583
  },
@@ -1605,6 +1635,9 @@ const stringsDanish = {
1605
1635
  'Phone number': {
1606
1636
  value: 'Telefonnummer',
1607
1637
  },
1638
+ 'Place test order': {
1639
+ value: 'Afgiv testordre',
1640
+ },
1608
1641
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
1609
1642
  value: 'Sørg venligst for, at din tekst kun bruger det latinske alfabet (A-Z, a-z).',
1610
1643
  },
@@ -1707,6 +1740,9 @@ const stringsDanish = {
1707
1740
  'Spend [threshold] tax free.': {
1708
1741
  value: 'Brug [threshold] skattefrit.',
1709
1742
  },
1743
+ 'Staging mode': {
1744
+ value: 'Iscenesættelsesmodus',
1745
+ },
1710
1746
  State: {
1711
1747
  value: 'Stat',
1712
1748
  },
@@ -2004,6 +2040,9 @@ const stringsDutch = {
2004
2040
  'No countries found': {
2005
2041
  value: 'Geen landen gevonden',
2006
2042
  },
2043
+ 'No payment method needed for staging': {
2044
+ value: 'Geen betaalmethode nodig voor enscenering',
2045
+ },
2007
2046
  'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
2008
2047
  value: 'Geen verzendbeoordeling geselecteerd. Ga alstublieft terug naar de stap "Verzending" en selecteer een verzendbeoordeling om door te gaan.',
2009
2048
  },
@@ -2061,6 +2100,9 @@ const stringsDutch = {
2061
2100
  'Phone number': {
2062
2101
  value: 'Telefoonnummer',
2063
2102
  },
2103
+ 'Place test order': {
2104
+ value: 'Plaats een testbestelling',
2105
+ },
2064
2106
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
2065
2107
  value: 'Zorg ervoor dat uw tekst alleen het Latijnse alfabet gebruikt (A-Z, a-z).',
2066
2108
  },
@@ -2163,6 +2205,9 @@ const stringsDutch = {
2163
2205
  'Spend [threshold] tax free.': {
2164
2206
  value: 'Besteed [threshold] belastingvrij.',
2165
2207
  },
2208
+ 'Staging mode': {
2209
+ value: 'Stagingmodus',
2210
+ },
2166
2211
  State: {
2167
2212
  value: 'Staat',
2168
2213
  },
@@ -2460,6 +2505,9 @@ const stringsFrench = {
2460
2505
  'No countries found': {
2461
2506
  value: 'Aucun pays trouvé',
2462
2507
  },
2508
+ 'No payment method needed for staging': {
2509
+ value: 'Aucun moyen de paiement nécessaire pour la mise en scène',
2510
+ },
2463
2511
  'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
2464
2512
  value: `Aucune évaluation d'expédition sélectionnée. Veuillez revenir à l'étape "Expédition" et sélectionner une évaluation d'expédition pour continuer.`,
2465
2513
  },
@@ -2517,6 +2565,9 @@ const stringsFrench = {
2517
2565
  'Phone number': {
2518
2566
  value: 'Numéro de téléphone',
2519
2567
  },
2568
+ 'Place test order': {
2569
+ value: 'Passer une commande de test',
2570
+ },
2520
2571
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
2521
2572
  value: "Veuillez vous assurer que votre texte utilise uniquement l'alphabet latin (A-Z, a-z).",
2522
2573
  },
@@ -2619,6 +2670,9 @@ const stringsFrench = {
2619
2670
  'Spend [threshold] tax free.': {
2620
2671
  value: 'Dépensez [threshold] hors taxes.',
2621
2672
  },
2673
+ 'Staging mode': {
2674
+ value: 'Mode de mise en scène',
2675
+ },
2622
2676
  State: {
2623
2677
  value: 'État',
2624
2678
  },
@@ -2916,6 +2970,9 @@ const stringsGerman = {
2916
2970
  'No countries found': {
2917
2971
  value: 'Keine Länder gefunden',
2918
2972
  },
2973
+ 'No payment method needed for staging': {
2974
+ value: 'Keine Zahlungsmethode für die Inszenierung erforderlich',
2975
+ },
2919
2976
  'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
2920
2977
  value: 'Keine Versandbewertung ausgewählt. Bitte gehen Sie zurück zum Schritt "Versand" und wählen Sie eine Versandbewertung aus, um fortzufahren.',
2921
2978
  },
@@ -2973,6 +3030,9 @@ const stringsGerman = {
2973
3030
  'Phone number': {
2974
3031
  value: 'Telefonnummer',
2975
3032
  },
3033
+ 'Place test order': {
3034
+ value: 'Testbestellung aufgeben',
3035
+ },
2976
3036
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
2977
3037
  value: 'Bitte stellen Sie sicher, dass Ihr Text nur das lateinische Alphabet verwendet (A-Z, a-z).',
2978
3038
  },
@@ -3075,6 +3135,9 @@ const stringsGerman = {
3075
3135
  'Spend [threshold] tax free.': {
3076
3136
  value: 'Geben Sie [threshold] steuerfrei aus.',
3077
3137
  },
3138
+ 'Staging mode': {
3139
+ value: 'Staging-Modus',
3140
+ },
3078
3141
  State: {
3079
3142
  value: 'Bundesland',
3080
3143
  },
@@ -3372,6 +3435,9 @@ const stringsHebrew = {
3372
3435
  'No countries found': {
3373
3436
  value: 'לא נמצאו מדינות',
3374
3437
  },
3438
+ 'No payment method needed for staging': {
3439
+ value: 'אין צורך בשיטת תשלום לבימוי',
3440
+ },
3375
3441
  'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
3376
3442
  value: 'לא נבחר דירוג משלוח. אנא חזור לשלב "משלוח" ובחר דירוג משלוח כדי להמשיך.',
3377
3443
  },
@@ -3429,6 +3495,9 @@ const stringsHebrew = {
3429
3495
  'Phone number': {
3430
3496
  value: 'מספר טלפון',
3431
3497
  },
3498
+ 'Place test order': {
3499
+ value: 'בצע הזמנת בדיקה',
3500
+ },
3432
3501
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
3433
3502
  value: 'אנא ודא שהטקסט שלך משתמש באלפבית הלטיני בלבד (A-Z, a-z).',
3434
3503
  },
@@ -3531,6 +3600,9 @@ const stringsHebrew = {
3531
3600
  'Spend [threshold] tax free.': {
3532
3601
  value: 'הוצא [threshold] ללא מס.',
3533
3602
  },
3603
+ 'Staging mode': {
3604
+ value: 'מצב בימוי',
3605
+ },
3534
3606
  State: {
3535
3607
  value: 'מדינה',
3536
3608
  },
@@ -3828,6 +3900,9 @@ const stringsIndonesian = {
3828
3900
  'No countries found': {
3829
3901
  value: 'Tidak ada negara yang ditemukan',
3830
3902
  },
3903
+ 'No payment method needed for staging': {
3904
+ value: 'Tidak perlu metode pembayaran untuk pementasan',
3905
+ },
3831
3906
  'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
3832
3907
  value: 'Tidak ada penilaian pengiriman yang dipilih. Silakan kembali ke langkah "Pengiriman" dan pilih penilaian pengiriman untuk melanjutkan.',
3833
3908
  },
@@ -3885,6 +3960,9 @@ const stringsIndonesian = {
3885
3960
  'Phone number': {
3886
3961
  value: 'Nomor telepon',
3887
3962
  },
3963
+ 'Place test order': {
3964
+ value: 'Lakukan pesanan uji coba',
3965
+ },
3888
3966
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
3889
3967
  value: 'Harap pastikan teks Anda hanya menggunakan alfabet Latin (A-Z, a-z).',
3890
3968
  },
@@ -3987,6 +4065,9 @@ const stringsIndonesian = {
3987
4065
  'Spend [threshold] tax free.': {
3988
4066
  value: 'Habiskan [threshold] bebas pajak.',
3989
4067
  },
4068
+ 'Staging mode': {
4069
+ value: 'Mode pementasan',
4070
+ },
3990
4071
  State: {
3991
4072
  value: 'Negara Bagian',
3992
4073
  },
@@ -4284,6 +4365,9 @@ const stringsItalian = {
4284
4365
  'No countries found': {
4285
4366
  value: 'Nessun paese trovato',
4286
4367
  },
4368
+ 'No payment method needed for staging': {
4369
+ value: 'Nessun metodo di pagamento necessario per la messa in scena',
4370
+ },
4287
4371
  'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
4288
4372
  value: 'Nessuna valutazione di spedizione selezionata. Si prega di tornare al passaggio "Spedizione" e selezionare una valutazione di spedizione per procedere.',
4289
4373
  },
@@ -4341,6 +4425,9 @@ const stringsItalian = {
4341
4425
  'Phone number': {
4342
4426
  value: 'Numero di telefono',
4343
4427
  },
4428
+ 'Place test order': {
4429
+ value: 'Effettuare un ordine di prova',
4430
+ },
4344
4431
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
4345
4432
  value: "Si prega di assicurarsi che il testo utilizzi solo l'alfabeto latino (A-Z, a-z).",
4346
4433
  },
@@ -4443,6 +4530,9 @@ const stringsItalian = {
4443
4530
  'Spend [threshold] tax free.': {
4444
4531
  value: 'Spendi [threshold] senza tasse.',
4445
4532
  },
4533
+ 'Staging mode': {
4534
+ value: 'Modalità di staging',
4535
+ },
4446
4536
  State: {
4447
4537
  value: 'Stato',
4448
4538
  },
@@ -4740,6 +4830,9 @@ const stringsJapanese = {
4740
4830
  'No countries found': {
4741
4831
  value: '国が見つかりません',
4742
4832
  },
4833
+ 'No payment method needed for staging': {
4834
+ value: 'ステージングには支払い方法は不要です',
4835
+ },
4743
4836
  'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
4744
4837
  value: '配送評価が選択されていません。「配送」ステップに戻り、配送評価を選択して続行してください。',
4745
4838
  },
@@ -4797,6 +4890,9 @@ const stringsJapanese = {
4797
4890
  'Phone number': {
4798
4891
  value: '電話番号',
4799
4892
  },
4893
+ 'Place test order': {
4894
+ value: 'テスト注文を出す',
4895
+ },
4800
4896
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
4801
4897
  value: 'テキストがラテンアルファベットのみを使用していることを確認してください(A-Z、a-z)。',
4802
4898
  },
@@ -4899,6 +4995,9 @@ const stringsJapanese = {
4899
4995
  'Spend [threshold] tax free.': {
4900
4996
  value: '[threshold]を税金なしで使う。',
4901
4997
  },
4998
+ 'Staging mode': {
4999
+ value: 'ステージングモード',
5000
+ },
4902
5001
  State: {
4903
5002
  value: '州',
4904
5003
  },
@@ -5196,6 +5295,9 @@ const stringsKorean = {
5196
5295
  'No countries found': {
5197
5296
  value: '국가를 찾을 수 없습니다',
5198
5297
  },
5298
+ 'No payment method needed for staging': {
5299
+ value: '스테이징에 결제 방법이 필요하지 않습니다',
5300
+ },
5199
5301
  'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
5200
5302
  value: '배송 등급이 선택되지 않았습니다. "배송" 단계로 돌아가서 배송 등급을 선택하여 진행하세요.',
5201
5303
  },
@@ -5253,6 +5355,9 @@ const stringsKorean = {
5253
5355
  'Phone number': {
5254
5356
  value: '전화번호',
5255
5357
  },
5358
+ 'Place test order': {
5359
+ value: '테스트 주문하기',
5360
+ },
5256
5361
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
5257
5362
  value: '텍스트가 라틴 알파벳만 사용하는지 확인해 주세요 (A-Z, a-z).',
5258
5363
  },
@@ -5355,6 +5460,9 @@ const stringsKorean = {
5355
5460
  'Spend [threshold] tax free.': {
5356
5461
  value: '[threshold]를 세금 없이 사용하세요.',
5357
5462
  },
5463
+ 'Staging mode': {
5464
+ value: '스테이징 모드',
5465
+ },
5358
5466
  State: {
5359
5467
  value: '주',
5360
5468
  },
@@ -5652,6 +5760,9 @@ const stringsNorwegian = {
5652
5760
  'No countries found': {
5653
5761
  value: 'Ingen land funnet',
5654
5762
  },
5763
+ 'No payment method needed for staging': {
5764
+ value: 'Ingen betalingsmetode nødvendig for iscenesettelse',
5765
+ },
5655
5766
  'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
5656
5767
  value: 'Ingen forsendelsesvurdering valgt. Vennligst gå tilbake til "Frakt"-trinnet og velg en forsendelsesvurdering for å fortsette.',
5657
5768
  },
@@ -5709,6 +5820,9 @@ const stringsNorwegian = {
5709
5820
  'Phone number': {
5710
5821
  value: 'Telefonnummer',
5711
5822
  },
5823
+ 'Place test order': {
5824
+ value: 'Legg inn testbestilling',
5825
+ },
5712
5826
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
5713
5827
  value: 'Vennligst sørg for at teksten din kun bruker det latinske alfabetet (A-Z, a-z).',
5714
5828
  },
@@ -5811,6 +5925,9 @@ const stringsNorwegian = {
5811
5925
  'Spend [threshold] tax free.': {
5812
5926
  value: 'Bruk [threshold] skattefritt.',
5813
5927
  },
5928
+ 'Staging mode': {
5929
+ value: 'Iscenesettelsesmodus',
5930
+ },
5814
5931
  State: {
5815
5932
  value: 'Stat',
5816
5933
  },
@@ -6108,6 +6225,9 @@ const stringsPolish = {
6108
6225
  'No countries found': {
6109
6226
  value: 'Nie znaleziono krajów',
6110
6227
  },
6228
+ 'No payment method needed for staging': {
6229
+ value: 'Nie jest potrzebna metoda płatności do inscenizacji',
6230
+ },
6111
6231
  'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
6112
6232
  value: 'Nie wybrano oceny przesyłki. Proszę wrócić do kroku "Wysyłka" i wybrać ocenę przesyłki, aby kontynuować.',
6113
6233
  },
@@ -6165,6 +6285,9 @@ const stringsPolish = {
6165
6285
  'Phone number': {
6166
6286
  value: 'Numer telefonu',
6167
6287
  },
6288
+ 'Place test order': {
6289
+ value: 'Złóż zamówienie testowe',
6290
+ },
6168
6291
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
6169
6292
  value: 'Proszę upewnić się, że tekst używa tylko alfabetu łacińskiego (A-Z, a-z).',
6170
6293
  },
@@ -6267,6 +6390,9 @@ const stringsPolish = {
6267
6390
  'Spend [threshold] tax free.': {
6268
6391
  value: 'Wydaj [threshold] bez podatku.',
6269
6392
  },
6393
+ 'Staging mode': {
6394
+ value: 'Tryb inscenizacji',
6395
+ },
6270
6396
  State: {
6271
6397
  value: 'Stan',
6272
6398
  },
@@ -6564,6 +6690,9 @@ const stringsPortuguese = {
6564
6690
  'No countries found': {
6565
6691
  value: 'Nenhum país encontrado',
6566
6692
  },
6693
+ 'No payment method needed for staging': {
6694
+ value: 'Nenhum método de pagamento necessário para encenação',
6695
+ },
6567
6696
  'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
6568
6697
  value: 'Nenhuma classificação de envio selecionada. Por favor, volte para a etapa de "Envio" e selecione uma classificação de envio para prosseguir.',
6569
6698
  },
@@ -6621,6 +6750,9 @@ const stringsPortuguese = {
6621
6750
  'Phone number': {
6622
6751
  value: 'Número de telefone',
6623
6752
  },
6753
+ 'Place test order': {
6754
+ value: 'Fazer pedido de teste',
6755
+ },
6624
6756
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
6625
6757
  value: 'Por favor, certifique-se de que seu texto utilize apenas o alfabeto latino (A-Z, a-z).',
6626
6758
  },
@@ -6723,6 +6855,9 @@ const stringsPortuguese = {
6723
6855
  'Spend [threshold] tax free.': {
6724
6856
  value: 'Gaste [threshold] livre de impostos.',
6725
6857
  },
6858
+ 'Staging mode': {
6859
+ value: 'Modo de encenação',
6860
+ },
6726
6861
  State: {
6727
6862
  value: 'Estado',
6728
6863
  },
@@ -7020,6 +7155,9 @@ const stringsRussian = {
7020
7155
  'No countries found': {
7021
7156
  value: 'Страны не найдены',
7022
7157
  },
7158
+ 'No payment method needed for staging': {
7159
+ value: 'Способ оплаты не требуется для постановки',
7160
+ },
7023
7161
  'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
7024
7162
  value: 'Не выбран рейтинг доставки. Пожалуйста, вернитесь к шагу "Доставка" и выберите рейтинг доставки, чтобы продолжить.',
7025
7163
  },
@@ -7077,6 +7215,9 @@ const stringsRussian = {
7077
7215
  'Phone number': {
7078
7216
  value: 'Номер телефона',
7079
7217
  },
7218
+ 'Place test order': {
7219
+ value: 'Разместить тестовый заказ',
7220
+ },
7080
7221
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
7081
7222
  value: 'Пожалуйста, убедитесь, что ваш текст использует только латинский алфавит (A-Z, a-z).',
7082
7223
  },
@@ -7179,6 +7320,9 @@ const stringsRussian = {
7179
7320
  'Spend [threshold] tax free.': {
7180
7321
  value: 'Тратьте [threshold] без налогов.',
7181
7322
  },
7323
+ 'Staging mode': {
7324
+ value: 'Режим постановки',
7325
+ },
7182
7326
  State: {
7183
7327
  value: 'Штат',
7184
7328
  },
@@ -7476,6 +7620,9 @@ const stringsSpanish = {
7476
7620
  'No countries found': {
7477
7621
  value: 'No se encontraron países',
7478
7622
  },
7623
+ 'No payment method needed for staging': {
7624
+ value: 'No se necesita método de pago para la puesta en escena',
7625
+ },
7479
7626
  'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
7480
7627
  value: 'No se ha seleccionado una calificación de envío. Por favor, regrese al paso de "Envío" y seleccione una calificación de envío para continuar.',
7481
7628
  },
@@ -7533,6 +7680,9 @@ const stringsSpanish = {
7533
7680
  'Phone number': {
7534
7681
  value: 'Número de teléfono',
7535
7682
  },
7683
+ 'Place test order': {
7684
+ value: 'Realizar pedido de prueba',
7685
+ },
7536
7686
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
7537
7687
  value: 'Por favor, asegúrese de que su texto use solo el alfabeto latino (A-Z, a-z).',
7538
7688
  },
@@ -7635,6 +7785,9 @@ const stringsSpanish = {
7635
7785
  'Spend [threshold] tax free.': {
7636
7786
  value: 'Gasta [threshold] libre de impuestos.',
7637
7787
  },
7788
+ 'Staging mode': {
7789
+ value: 'Modo de ensayo',
7790
+ },
7638
7791
  State: {
7639
7792
  value: 'Estado',
7640
7793
  },
@@ -7932,6 +8085,9 @@ const stringsSwedish = {
7932
8085
  'No countries found': {
7933
8086
  value: 'Inga länder hittades',
7934
8087
  },
8088
+ 'No payment method needed for staging': {
8089
+ value: 'Ingen betalningsmetod behövs för iscensättning',
8090
+ },
7935
8091
  'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
7936
8092
  value: 'Ingen fraktbedömning vald. Gå tillbaka till steget "Frakt" och välj en fraktbedömning för att fortsätta.',
7937
8093
  },
@@ -7989,6 +8145,9 @@ const stringsSwedish = {
7989
8145
  'Phone number': {
7990
8146
  value: 'Telefonnummer',
7991
8147
  },
8148
+ 'Place test order': {
8149
+ value: 'Lägg testorder',
8150
+ },
7992
8151
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
7993
8152
  value: 'Vänligen se till att din text endast använder det latinska alfabetet (A-Z, a-z).',
7994
8153
  },
@@ -8091,6 +8250,9 @@ const stringsSwedish = {
8091
8250
  'Spend [threshold] tax free.': {
8092
8251
  value: 'Spendera [threshold] skattefritt.',
8093
8252
  },
8253
+ 'Staging mode': {
8254
+ value: 'Staging-läge',
8255
+ },
8094
8256
  State: {
8095
8257
  value: 'Stat',
8096
8258
  },
@@ -8388,6 +8550,9 @@ const stringsTurkish = {
8388
8550
  'No countries found': {
8389
8551
  value: 'Ülke bulunamadı',
8390
8552
  },
8553
+ 'No payment method needed for staging': {
8554
+ value: 'Sahneleme için ödeme yöntemi gerekmez',
8555
+ },
8391
8556
  'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
8392
8557
  value: 'Gönderi derecelendirmesi seçilmedi. Lütfen "Kargo" adımına geri dönün ve devam etmek için bir gönderi derecelendirmesi seçin.',
8393
8558
  },
@@ -8445,6 +8610,9 @@ const stringsTurkish = {
8445
8610
  'Phone number': {
8446
8611
  value: 'Telefon numarası',
8447
8612
  },
8613
+ 'Place test order': {
8614
+ value: 'Test siparişi ver',
8615
+ },
8448
8616
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
8449
8617
  value: 'Lütfen metninizin sadece Latin alfabesini kullandığından emin olun (A-Z, a-z).',
8450
8618
  },
@@ -8547,6 +8715,9 @@ const stringsTurkish = {
8547
8715
  'Spend [threshold] tax free.': {
8548
8716
  value: '[threshold] vergi ödemeden harcayın.',
8549
8717
  },
8718
+ 'Staging mode': {
8719
+ value: 'Sahneleme modu',
8720
+ },
8550
8721
  State: {
8551
8722
  value: 'Eyalet',
8552
8723
  },
@@ -8844,6 +9015,9 @@ const stringsVietnamese = {
8844
9015
  'No countries found': {
8845
9016
  value: 'Không tìm thấy quốc gia nào',
8846
9017
  },
9018
+ 'No payment method needed for staging': {
9019
+ value: 'Không cần phương thức thanh toán cho dàn dựng',
9020
+ },
8847
9021
  'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
8848
9022
  value: 'Chưa chọn đánh giá vận chuyển. Vui lòng quay lại bước "Vận chuyển" và chọn đánh giá vận chuyển để tiếp tục.',
8849
9023
  },
@@ -8901,6 +9075,9 @@ const stringsVietnamese = {
8901
9075
  'Phone number': {
8902
9076
  value: 'Số điện thoại',
8903
9077
  },
9078
+ 'Place test order': {
9079
+ value: 'Đặt hàng thử',
9080
+ },
8904
9081
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
8905
9082
  value: 'Vui lòng đảm bảo rằng văn bản của bạn chỉ sử dụng bảng chữ cái Latinh (A-Z, a-z).',
8906
9083
  },
@@ -9003,6 +9180,9 @@ const stringsVietnamese = {
9003
9180
  'Spend [threshold] tax free.': {
9004
9181
  value: 'Chi tiêu [threshold] miễn thuế.',
9005
9182
  },
9183
+ 'Staging mode': {
9184
+ value: 'Chế độ dàn dựng',
9185
+ },
9006
9186
  State: {
9007
9187
  value: 'Bang',
9008
9188
  },
@@ -10285,7 +10465,7 @@ const getCheckoutSession = async () => {
10285
10465
  json: null,
10286
10466
  };
10287
10467
  }
10288
- const searchParams = new URLSearchParams(window.location.search);
10468
+ const searchParams = new URLSearchParams();
10289
10469
  searchParams.set('checkoutSessionId', cartStore.checkoutSessionId);
10290
10470
  const { errors, json } = await handleFetch.handleFetch(`/api/zonos-elements/get-checkout-session?${searchParams.toString()}`);
10291
10471
  return { errors, json };
@@ -10397,13 +10577,20 @@ const defaultVariable = ({ borderStyle, theme, }) => {
10397
10577
  };
10398
10578
 
10399
10579
  const { onChange: onChange$1, reset: reset$1, state: stripeStore, } = zonosStore.createStore(() => ({
10400
- clientSecret: sessionStorage.getItem('zonos--client-secret') || null,
10580
+ clientSecret: sessionStorage.getItem('zonos--client-secret') || '',
10401
10581
  customErrorMessage: null,
10402
10582
  fetchingLandedCostAbortController: null,
10403
10583
  hasPaymentError: false,
10404
10584
  isFetchingLandedCost: false,
10405
10585
  isFetchingSession: false,
10406
10586
  shouldInventoryRefund: false,
10587
+ /**
10588
+ * Default to skip payment intent, only create payment intent when "skipPaymentIntent" in url's query params is set "0"
10589
+ * @default true
10590
+ */
10591
+ skipPaymentIntent: new URLSearchParams(window.location.search).get('skipPaymentIntent') === '0'
10592
+ ? false
10593
+ : true,
10407
10594
  stripe: null,
10408
10595
  stripeAddressElement: null,
10409
10596
  stripeAddressEventData: null,
@@ -10452,7 +10639,8 @@ const getStripeOptions = ({ clientSecret, overrideBorderRadius, overridePrimaryC
10452
10639
  // use the button background color for input glow color
10453
10640
  colorPrimary: secondaryColor }),
10454
10641
  },
10455
- clientSecret,
10642
+ // Client secret can be undefined since we will load other elements that doesn't require client secret first, then load client secret and render one that requires it later
10643
+ clientSecret: clientSecret || undefined,
10456
10644
  externalPaymentMethodTypes: [...paypalPaymentType],
10457
10645
  locale: localizationStore.selectedLocale,
10458
10646
  };
@@ -10475,41 +10663,39 @@ const initStripeElements = async (props) => {
10475
10663
  handleFetch.log('Skip. Stripe is not initialized');
10476
10664
  return;
10477
10665
  }
10478
- if (clientSecret) {
10479
- const stripeOptions = getStripeOptions({
10480
- clientSecret,
10481
- overrideBorderRadius: props === null || props === void 0 ? void 0 : props.overrideBorderRadius,
10482
- overridePrimaryColor: props === null || props === void 0 ? void 0 : props.overridePrimaryColor,
10483
- overrideSecondaryColor: props === null || props === void 0 ? void 0 : props.overrideSecondaryColor,
10484
- overrideTheme: props === null || props === void 0 ? void 0 : props.overrideTheme,
10485
- paypalEnabled: props === null || props === void 0 ? void 0 : props.paypalEnabled,
10486
- });
10487
- // compare with the previous options to see if we need to update
10488
- const isSameOptions = JSON.stringify(stripeOptions) ===
10489
- JSON.stringify(stripeStore.stripeElementsOptions);
10490
- if (!stripeStore.stripeElements ||
10491
- !stripeStore.stripeElementsForBillingAddress) {
10492
- // init stripe elements if it doesn't exist
10493
- stripeStore.stripeElements = (_a = stripeStore.stripe) === null || _a === void 0 ? void 0 : _a.elements(stripeOptions);
10494
- // save stripe elements options for later comparison
10495
- stripeStore.stripeElementsOptions = stripeOptions;
10496
- handleFetch.log('Stripe elements initialized');
10497
- // init stripe elements for billing address
10498
- stripeStore.stripeElementsForBillingAddress =
10499
- (_b = stripeStore.stripe) === null || _b === void 0 ? void 0 : _b.elements(stripeOptions);
10500
- handleFetch.log('Stripe elements for billing address initialized');
10501
- return;
10502
- }
10503
- if (!isSameOptions) {
10504
- // update elements with new option if it already exists
10505
- stripeStore.stripeElements.update(stripeOptions);
10506
- // update elements for stripe billing address
10507
- stripeStore.stripeElementsForBillingAddress.update(stripeOptions);
10508
- // save stripe elements options for later comparison
10509
- stripeStore.stripeElementsOptions = stripeOptions;
10510
- }
10666
+ const stripeOptions = getStripeOptions({
10667
+ clientSecret,
10668
+ overrideBorderRadius: props === null || props === void 0 ? void 0 : props.overrideBorderRadius,
10669
+ overridePrimaryColor: props === null || props === void 0 ? void 0 : props.overridePrimaryColor,
10670
+ overrideSecondaryColor: props === null || props === void 0 ? void 0 : props.overrideSecondaryColor,
10671
+ overrideTheme: props === null || props === void 0 ? void 0 : props.overrideTheme,
10672
+ paypalEnabled: props === null || props === void 0 ? void 0 : props.paypalEnabled,
10673
+ });
10674
+ // compare with the previous options to see if we need to update
10675
+ const isSameOptions = JSON.stringify(stripeOptions) ===
10676
+ JSON.stringify(stripeStore.stripeElementsOptions);
10677
+ if (!stripeStore.stripeElements ||
10678
+ !stripeStore.stripeElementsForBillingAddress) {
10679
+ // init stripe elements if it doesn't exist
10680
+ stripeStore.stripeElements = (_a = stripeStore.stripe) === null || _a === void 0 ? void 0 : _a.elements(stripeOptions);
10681
+ // save stripe elements options for later comparison
10682
+ stripeStore.stripeElementsOptions = stripeOptions;
10511
10683
  handleFetch.log('Stripe elements initialized');
10684
+ // init stripe elements for billing address
10685
+ stripeStore.stripeElementsForBillingAddress =
10686
+ (_b = stripeStore.stripe) === null || _b === void 0 ? void 0 : _b.elements(stripeOptions);
10687
+ handleFetch.log('Stripe elements for billing address initialized');
10688
+ return;
10689
+ }
10690
+ if (!isSameOptions) {
10691
+ // update elements with new option if it already exists
10692
+ stripeStore.stripeElements.update(stripeOptions);
10693
+ // update elements for stripe billing address
10694
+ stripeStore.stripeElementsForBillingAddress.update(stripeOptions);
10695
+ // save stripe elements options for later comparison
10696
+ stripeStore.stripeElementsOptions = stripeOptions;
10512
10697
  }
10698
+ handleFetch.log('Stripe elements initialized');
10513
10699
  };
10514
10700
  const stripeStoreReset = () => {
10515
10701
  // clean clientSecret so that we can start the new one.
@@ -10564,7 +10750,7 @@ const stripeCalculateLandedCost = async () => {
10564
10750
  stripeStore.fetchingLandedCostAbortController = abortController;
10565
10751
  // Reset cart items to non-restricted state and restricted item list
10566
10752
  cartStoreResetCartItems();
10567
- const { checkoutSessionWorkflow, errors, itemCreateWorkflow, landedCostCalculateWorkflow, shipmentRatingCalculateWorkflow, } = await calculateLandedCostNormalized(abortController);
10753
+ const { checkoutSessionWorkflow, errors, itemCreateWorkflow, landedCostCalculateWorkflow, partyCreateWorkflow, shipmentRatingCalculateWorkflow, } = await calculateLandedCostNormalized(abortController);
10568
10754
  // update the error message with customized error message that rule is applying to and disabled shippment rating if there is any
10569
10755
  cartStore.customQuotingError =
10570
10756
  ((_a = errors === null || errors === void 0 ? void 0 : errors.find(error => { var _a; return ((_a = error.extensions) === null || _a === void 0 ? void 0 : _a.ruleMessageType) === 'CUSTOM'; })) === null || _a === void 0 ? void 0 : _a.message) || null;
@@ -10573,6 +10759,7 @@ const stripeCalculateLandedCost = async () => {
10573
10759
  cartStoreCheckItemRestrictions(itemCreateWorkflow);
10574
10760
  // reset abort controller after we are done
10575
10761
  stripeStore.fetchingLandedCostAbortController = null;
10762
+ cartStore.partiesData = (partyCreateWorkflow === null || partyCreateWorkflow === void 0 ? void 0 : partyCreateWorkflow.filter(Boolean)) || [];
10576
10763
  // update cart store with landed cost info
10577
10764
  cartStore.landedCostData =
10578
10765
  (checkoutSessionWorkflow === null || checkoutSessionWorkflow === void 0 ? void 0 : checkoutSessionWorkflow.map(checkoutSession => {
@@ -10928,9 +11115,66 @@ const getCheckoutSessionBody = () => {
10928
11115
  },
10929
11116
  ],
10930
11117
  presentmentCountryCode: localizationStore.selectedCountryCode,
11118
+ skipPaymentIntent: stripeStore.skipPaymentIntent,
10931
11119
  };
10932
11120
  return body;
10933
11121
  };
11122
+ const stripeStoreGetPaymentIntent = async () => {
11123
+ var _a;
11124
+ if (stripeStore.clientSecret) {
11125
+ handleFetch.log('Payment intent already exists, skipping fetching payment intent');
11126
+ return;
11127
+ }
11128
+ if (!cartStore.checkoutSessionId) {
11129
+ // We want to log the error anytime we fail to create a checkout session
11130
+ void handleFetch.sendErrorLog({
11131
+ endpoint: 'Error creating payment intent',
11132
+ errors: ['No checkout session id found when retrieving payment intent'],
11133
+ metadata: {
11134
+ allLogs: handleFetch.allLogs,
11135
+ cartId: window.Zonos.cartId,
11136
+ },
11137
+ });
11138
+ cartStoreUpdateToErrorState({
11139
+ messages: [
11140
+ translate("There's been an error creating your checkout session. Please reload and try again or contact support if the error persists"),
11141
+ ],
11142
+ title: translate('Error creating Checkout'),
11143
+ });
11144
+ return;
11145
+ }
11146
+ const { errors, json } = await handleFetch.handleFetch('/api/zonos-elements/create-payment-intent', {
11147
+ body: {
11148
+ checkoutSessionId: cartStore.checkoutSessionId,
11149
+ },
11150
+ method: 'POST',
11151
+ });
11152
+ const clientSecret = (_a = json === null || json === void 0 ? void 0 : json.checkoutSessionPaymentIntentCreate) === null || _a === void 0 ? void 0 : _a.clientSecret;
11153
+ if (errors.length || !clientSecret) {
11154
+ handleFetch.logError('Error occurs when getting payment intent', JSON.stringify(errors, null, 2));
11155
+ // We want to log the error anytime we fail to create a payment intent
11156
+ void handleFetch.sendErrorLog({
11157
+ endpoint: 'Error creating payment intent',
11158
+ errors: errors.map(error => error.message),
11159
+ metadata: {
11160
+ allLogs: handleFetch.allLogs,
11161
+ cartId: window.Zonos.cartId,
11162
+ checkoutSessionId: cartStore.checkoutSessionId,
11163
+ clientSecret,
11164
+ },
11165
+ });
11166
+ cartStoreUpdateToErrorState({
11167
+ messages: [
11168
+ translate("There's been an error creating your checkout session. Please reload and try again or contact support if the error persists"),
11169
+ ],
11170
+ title: translate('Error creating Checkout'),
11171
+ });
11172
+ return;
11173
+ }
11174
+ // update stripe store with updated information
11175
+ stripeStore.clientSecret =
11176
+ json.checkoutSessionPaymentIntentCreate.clientSecret;
11177
+ };
10934
11178
  /**
10935
11179
  * Init checkout session
10936
11180
  * @returns {boolean} whether or not the checkout session is successfully created
@@ -10963,6 +11207,10 @@ const stripeStoreInitCheckoutSession = async () => {
10963
11207
  });
10964
11208
  handleFetch.log('Exchange rate updated for cart items (checkout session create)', 'info', cartStore.exchangeRate);
10965
11209
  handleFetch.log('done-init-checkout-session');
11210
+ // get and set payment intent async except for staging mode
11211
+ if (!cartStore.isStagingMode) {
11212
+ void stripeStoreGetPaymentIntent();
11213
+ }
10966
11214
  return true;
10967
11215
  };
10968
11216
  /**
@@ -10998,6 +11246,7 @@ const stripeStoreUpdateCheckoutSession = async ({ adjustmentsAmount, cartId, cur
10998
11246
  },
10999
11247
  ],
11000
11248
  presentmentCountryCode,
11249
+ skipPaymentIntent: stripeStore.skipPaymentIntent,
11001
11250
  },
11002
11251
  method: 'POST',
11003
11252
  });
@@ -11005,6 +11254,10 @@ const stripeStoreUpdateCheckoutSession = async ({ adjustmentsAmount, cartId, cur
11005
11254
  handleFetch.logError('Error occurs when updating checkout session', JSON.stringify(errors, null, 2));
11006
11255
  return { errors, json };
11007
11256
  }
11257
+ // get and set payment intent async except for staging mode
11258
+ if (!cartStore.isStagingMode) {
11259
+ void stripeStoreGetPaymentIntent();
11260
+ }
11008
11261
  return { errors: [], json };
11009
11262
  };
11010
11263
  /**
@@ -11154,9 +11407,11 @@ const { onChange, reset, state: cartStore, } = zonosStore.createStore(() => ({
11154
11407
  inventoryCheckErrorMessage: null,
11155
11408
  isSelectedShippingAboveDeminimis: false,
11156
11409
  isSelectedShippingGuarantee: false,
11410
+ isStagingMode: handleFetch.getIsStagingMode(),
11157
11411
  items: [],
11158
11412
  landedCostData: null,
11159
11413
  landedCostMethod: 'DDP',
11414
+ partiesData: [],
11160
11415
  promoCode: sessionStorage.getItem('promoCode') || '',
11161
11416
  // When user clicked applied button, save promocode into session storage for later use. So if session has promocode, applied button is clicked
11162
11417
  promoCodeApplied: !!sessionStorage.getItem('promoCode'),