@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
@@ -2,14 +2,91 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-b678ce0c.js');
6
- const zonosStore = require('./zonosStore-8971eb65.js');
5
+ const index = require('./index-2f90486e.js');
6
+ const zonosStore = require('./zonosStore-46809186.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
- const getBorderRadius = require('./getBorderRadius-f97c99ad.js');
9
- const cart = require('./cart-6ac8dc06.js');
10
- const handleFetch = require('./handleFetch-864d3c53.js');
11
- const paypal = require('./paypal-ea8b4ca0.js');
12
- require('./isDarkColor-434d71dd.js');
8
+ const getBorderRadius = require('./getBorderRadius-7d0772bf.js');
9
+ const cart = require('./cart-2398abd4.js');
10
+ const handleFetch = require('./handleFetch-3673a0c2.js');
11
+ const paypal = require('./paypal-7ed9dfb7.js');
12
+ require('./isDarkColor-2acf30d1.js');
13
+
14
+ const PaymentEmptyStateDarkIcon = `<svg width="536" height="200" viewBox="0 0 536 200" fill="none" xmlns="http://www.w3.org/2000/svg">
15
+ <mask id="mask0_3739_19124" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="536" height="200">
16
+ <rect width="536" height="200" fill="url(#paint0_radial_3739_19124)"/>
17
+ </mask>
18
+ <g mask="url(#mask0_3739_19124)">
19
+ <rect x="0.5" y="0.5" width="117" height="63" rx="9.5" stroke="white" stroke-opacity="0.08"/>
20
+ <rect x="126.5" y="0.5" width="117" height="63" rx="9.5" stroke="white" stroke-opacity="0.08"/>
21
+ <rect x="252.5" y="0.5" width="117" height="63" rx="9.5" stroke="white" stroke-opacity="0.08"/>
22
+ <rect x="378.5" y="0.5" width="117" height="63" rx="9.5" stroke="white" stroke-opacity="0.08"/>
23
+ <rect x="504.5" y="0.5" width="31" height="63" rx="9.5" stroke="white" stroke-opacity="0.08"/>
24
+ <rect y="96" width="124" height="8" rx="4" fill="white" fill-opacity="0.08"/>
25
+ <rect x="0.5" y="112.5" width="535" height="39" rx="7.5" stroke="white" stroke-opacity="0.08"/>
26
+ <rect x="0.5" y="160.5" width="263" height="39" rx="7.5" stroke="white" stroke-opacity="0.08"/>
27
+ <rect x="272.5" y="160.5" width="263" height="39" rx="7.5" stroke="white" stroke-opacity="0.08"/>
28
+ </g>
29
+ <defs>
30
+ <radialGradient id="paint0_radial_3739_19124" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(268 100) rotate(90) scale(100 268)">
31
+ <stop offset="0.25" stop-color="white" stop-opacity="0"/>
32
+ <stop offset="0.75" stop-color="white"/>
33
+ </radialGradient>
34
+ </defs>
35
+ </svg>
36
+ `;
37
+
38
+ const PaymentEmptyStateLightIcon = `<svg width="536" height="200" viewBox="0 0 536 200" fill="none" xmlns="http://www.w3.org/2000/svg">
39
+ <mask id="mask0_3739_19125" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="536" height="200">
40
+ <rect width="536" height="200" fill="url(#paint0_radial_3739_19125)"/>
41
+ </mask>
42
+ <g mask="url(#mask0_3739_19125)">
43
+ <rect x="0.5" y="0.5" width="117" height="63" rx="9.5" stroke="black" stroke-opacity="0.08"/>
44
+ <rect x="126.5" y="0.5" width="117" height="63" rx="9.5" stroke="black" stroke-opacity="0.08"/>
45
+ <rect x="252.5" y="0.5" width="117" height="63" rx="9.5" stroke="black" stroke-opacity="0.08"/>
46
+ <rect x="378.5" y="0.5" width="117" height="63" rx="9.5" stroke="black" stroke-opacity="0.08"/>
47
+ <rect x="504.5" y="0.5" width="31" height="63" rx="9.5" stroke="black" stroke-opacity="0.08"/>
48
+ <rect y="96" width="124" height="8" rx="4" fill="black" fill-opacity="0.08"/>
49
+ <rect x="0.5" y="112.5" width="535" height="39" rx="7.5" stroke="black" stroke-opacity="0.08"/>
50
+ <rect x="0.5" y="160.5" width="263" height="39" rx="7.5" stroke="black" stroke-opacity="0.08"/>
51
+ <rect x="272.5" y="160.5" width="263" height="39" rx="7.5" stroke="black" stroke-opacity="0.08"/>
52
+ </g>
53
+ <defs>
54
+ <radialGradient id="paint0_radial_3739_19125" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(268 100) rotate(90) scale(100 268)">
55
+ <stop offset="0.25" stop-color="white" stop-opacity="0"/>
56
+ <stop offset="0.75" stop-color="white"/>
57
+ </radialGradient>
58
+ </defs>
59
+ </svg>
60
+ `;
61
+
62
+ const zonosEmptyStatePaymentCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:-ms-inline-flexbox;display:inline-flex;position:relative}:host zonos-text{position:absolute;left:0;right:0;bottom:0;top:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}:host svg{width:var(--zonos--width);height:var(--zonos--height)}";
63
+ const ZonosEmptyStatePaymentStyle0 = zonosEmptyStatePaymentCss;
64
+
65
+ const ZonosEmptyStatePayment = class {
66
+ constructor(hostRef) {
67
+ index.registerInstance(this, hostRef);
68
+ this.emptyStateText = undefined;
69
+ this.theme = 'LIGHT';
70
+ }
71
+ render() {
72
+ if (!this.el.shadowRoot) {
73
+ return null;
74
+ }
75
+ if (this.theme === 'DARK') {
76
+ this.el.shadowRoot.innerHTML = PaymentEmptyStateDarkIcon;
77
+ }
78
+ else {
79
+ this.el.shadowRoot.innerHTML = PaymentEmptyStateLightIcon;
80
+ }
81
+ return (index.h(index.Host, { class: "zonos--elements", style: {
82
+ '--zonos--font-family': zonosStore.zonosStoreFontFamily(),
83
+ '--zonos--height': `100%`,
84
+ '--zonos--width': `100%`,
85
+ } }, index.h("zonos-text", { type: "semiBoldLabel" }, this.emptyStateText)));
86
+ }
87
+ get el() { return index.getElement(this); }
88
+ };
89
+ ZonosEmptyStatePayment.style = ZonosEmptyStatePaymentStyle0;
13
90
 
14
91
  const zonosNotificationCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}:host .zonos--notification-items{position:fixed;z-index:9999999999;bottom:24px;gap:8px;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column}:host .zonos--notification-item{cursor:pointer;-webkit-transition:all 0.3s ease;transition:all 0.3s ease;padding:8px;border-radius:var(--zonos--border-radius, var(--zonos-elements-radius-6));opacity:0;-ms-flex-negative:0.0001;flex-shrink:0.0001;-webkit-transform:translateY(100%);transform:translateY(100%)}:host .zonos--notification-item+:host .zonos--notification-item{margin-top:8px}:host .zonos--notification-item.show{opacity:1;-webkit-transform:translateY(0);transform:translateY(0);-ms-flex-positive:1000;flex-grow:1000}:host .zonos--notification-item.success{background-color:var(--zonos-elements-green-700)}:host .zonos--notification-item.error{background-color:var(--zonos-elements-red-700)}:host .zonos--notification-item.warning{background-color:var(--zonos-elements-orange-700)}";
15
92
  const ZonosNotificationStyle0 = zonosNotificationCss;
@@ -111,7 +188,7 @@ const ZonosPayment = class {
111
188
  }
112
189
  render() {
113
190
  // this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
114
- return (index.h(index.Host, { key: 'adcbeae4dadcaff59781ae47f779032e9fe43f5c', class: "zonos--payment zonos--elements" }, this.titleText && (index.h("zonos-text", { key: 'c83017ca67410a6715cacf6c0e524ed7b4304837', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), index.h("div", { key: '55c6d6dde8efaffec4411a838c62b7ede3efe30a', class: "zonos--payment-component" }), index.h("div", { key: 'd27b440253222daf94e4a6ad862c901efa54bfe5', class: "zonos--payment-paypal-container" })));
191
+ return (index.h(index.Host, { key: '2d664521944c4f02f34fe3130f8ebb853e562476', class: "zonos--payment zonos--elements" }, this.titleText && (index.h("zonos-text", { key: '11f683a0f6094d801103a9f04054d038b405718f', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), index.h("div", { key: '0c962441697499b3a7eb279175ce025d76d4c0fa', class: "zonos--payment-component" }), index.h("div", { key: 'a96af74f05521fcccc1912c0ec1dcbe64cfc1ae7', class: "zonos--payment-paypal-container" })));
115
192
  }
116
193
  get el() { return index.getElement(this); }
117
194
  static get watchers() { return {
@@ -171,6 +248,7 @@ const ZonosPaypalPayment = class {
171
248
  };
172
249
  ZonosPaypalPayment.style = ZonosPaypalPaymentStyle0;
173
250
 
251
+ exports.zonos_empty_state_payment = ZonosEmptyStatePayment;
174
252
  exports.zonos_notification = ZonosNotification;
175
253
  exports.zonos_payment = ZonosPayment;
176
254
  exports.zonos_paypal_payment = ZonosPaypalPayment;
@@ -2,15 +2,15 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-b678ce0c.js');
6
- const cart = require('./cart-6ac8dc06.js');
7
- const zonosStore = require('./zonosStore-8971eb65.js');
5
+ const index = require('./index-2f90486e.js');
6
+ const cart = require('./cart-2398abd4.js');
7
+ const zonosStore = require('./zonosStore-46809186.js');
8
8
  const classes = require('./classes-b7918f56.js');
9
9
  const formatStringWithLinks = require('./formatStringWithLinks-52341fc7.js');
10
10
  const getHasMoreSpaceOnRight = require('./getHasMoreSpaceOnRight-4c94667f.js');
11
- require('./handleFetch-864d3c53.js');
12
- require('./isDarkColor-434d71dd.js');
13
- require('./getBorderRadius-f97c99ad.js');
11
+ require('./handleFetch-3673a0c2.js');
12
+ require('./isDarkColor-2acf30d1.js');
13
+ require('./getBorderRadius-7d0772bf.js');
14
14
 
15
15
  const getHasMoreSpaceAbove = (ref) => {
16
16
  const componentRect = ref.getBoundingClientRect();
@@ -283,7 +283,7 @@ const ZonosHelloDialog = class {
283
283
  var _a;
284
284
  return item && (index.h("zonos-banner", { bannerTitle: item.name, intent: "error" }, (_a = item.itemRestrictions) === null || _a === void 0 ? void 0 : _a.map(x => (index.h("zonos-text", { textColor: "red-800" }, x === null || x === void 0 ? void 0 : x.note)))));
285
285
  }), index.h("zonos-card", { key: 'fbd14cc231da833e4930a52483f40c32b1e24e2d', spacing: "12px" }, index.h("zonos-v-stack", { key: '75da2be8ba28555258e8ff50e78c5b1ffa2403ac', spacing: 12 }, hasInclusivePrices ? (index.h("div", { class: "zonos--flex-message" }, index.h("zonos-icon", { "aria-label": "Duty de minimis", content: InclusivePricingIcon }), index.h("zonos-text", null, inclusivePriceMessage))) : (index.h(index.Fragment, null, index.h("div", { class: "zonos--flex-message" }, index.h("zonos-icon", { "aria-label": "Duty de minimis", content: ImportIcon }), index.h("zonos-text", null, dutyDeMinimisMessage)), index.h("div", { class: "zonos--flex-message" }, index.h("zonos-icon", { "aria-label": "Tax de minimis", content: MoneyIcon }), index.h("zonos-text", null, taxDeMinimisMessage)))), additionalInformation === null || additionalInformation === void 0 ? void 0 :
286
- additionalInformation.map(info => (index.h("div", { class: "zonos--flex-message" }, index.h("zonos-icon", { "aria-label": "Additional information for buying goods from selected country", content: BagIcon }), index.h("zonos-text", { innerHTML: info })))))), filteredMessages.map(x => (index.h("zonos-custom-message", { icon: MessageIcon, message: x.message })))))), index.h("zonos-hello-dialog-footer", { key: 'd64c5d36959ba4e9c7fc5e0b6bad47f70bc3ffd1', appearanceSettings: this.appearanceSettings, setShowCountrySelect: value => this.setShowCountrySelect(value), setShowLanguageSelect: value => this.setShowLanguageSelect(value) }))), this.showCountrySelect && (index.h("div", { key: 'e06c3c075fee8b77be0bdc69f9f51d918705e819' }, index.h("zonos-country-select", { key: 'ee0dd837b537bf500e89f50a8bbcfee75cbb0dfd', handleOnClose: () => this.setShowCountrySelect(false) }))), this.showLanguageSelect && (index.h("div", { key: '10fadfe2b095dfb3b1b25d6a5d6fea03cb6d8776' }, index.h("zonos-language-select", { key: 'aa25dea53fce8460953f8abf3889d51da3023034', handleOnClose: () => this.setShowLanguageSelect(false) }))))));
286
+ additionalInformation.map(info => (index.h("div", { class: "zonos--flex-message" }, index.h("zonos-icon", { "aria-label": "Additional information for buying goods from selected country", content: BagIcon }), index.h("zonos-text", { innerHTML: info })))))), filteredMessages.map(x => (index.h("zonos-custom-message", { icon: MessageIcon, message: x.message })))))), index.h("zonos-hello-dialog-footer", { key: '6c15ad7d36590e1b93007e3786c0e0db191b4b8d', appearanceSettings: this.appearanceSettings, setShowCountrySelect: value => this.setShowCountrySelect(value), setShowLanguageSelect: value => this.setShowLanguageSelect(value) }))), this.showCountrySelect && (index.h("div", { key: 'fae16c45b01ed1345d439c77267d1c80ce908598' }, index.h("zonos-country-select", { key: 'a6abe0661ee91ad227877ebbb5ee21253b110ea0', handleOnClose: () => this.setShowCountrySelect(false) }))), this.showLanguageSelect && (index.h("div", { key: '7550bec8646301a4bd5afb94b79b18b62698891b' }, index.h("zonos-language-select", { key: 'da2e8007ebf7e33723baaf3bdd2818334090c81c', handleOnClose: () => this.setShowLanguageSelect(false) }))))));
287
287
  }
288
288
  static get assetsDirs() { return ["assets"]; }
289
289
  static get watchers() { return {
@@ -2,14 +2,14 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-b678ce0c.js');
6
- const zonosStore = require('./zonosStore-8971eb65.js');
7
- const cart = require('./cart-6ac8dc06.js');
5
+ const index = require('./index-2f90486e.js');
6
+ const zonosStore = require('./zonosStore-46809186.js');
7
+ const cart = require('./cart-2398abd4.js');
8
8
  const classes = require('./classes-b7918f56.js');
9
- const handleFetch = require('./handleFetch-864d3c53.js');
9
+ const handleFetch = require('./handleFetch-3673a0c2.js');
10
10
  const getHasMoreSpaceOnRight = require('./getHasMoreSpaceOnRight-4c94667f.js');
11
- require('./isDarkColor-434d71dd.js');
12
- require('./getBorderRadius-f97c99ad.js');
11
+ require('./isDarkColor-2acf30d1.js');
12
+ require('./getBorderRadius-7d0772bf.js');
13
13
 
14
14
  var root = zonosStore._root;
15
15
 
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-b678ce0c.js');
6
- const zonosStore = require('./zonosStore-8971eb65.js');
5
+ const index = require('./index-2f90486e.js');
6
+ const zonosStore = require('./zonosStore-46809186.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
- const getBorderRadius = require('./getBorderRadius-f97c99ad.js');
8
+ const getBorderRadius = require('./getBorderRadius-7d0772bf.js');
9
9
 
10
10
  const zonosInputCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{margin:1px;}:host .zonos--label-wrapper{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;height:100%;width:100%;background:var(--zonos-elements-input-background);border-radius:var(--zonos--border-radius);border:var(--zonos-elements-border)}:host .zonos--label-wrapper:hover{border:1px solid var(--zonos-elements-gray-300)}:host .zonos--floated-input{-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;padding:0 16px;outline:none;-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);width:100%;border-radius:var(--zonos--border-radius);background:var(--zonos-elements-input-background);border:0;-ms-flex-order:2;order:2;font-weight:500}:host .zonos--floated-input :-internal-autofill-selected{border-radius:var(--zonos-elements-radius-6) 0 0 var(--zonos-elements-radius-6)}:host .zonos--floated-input :-internal-autofill-selected+label+div{background-color:#e8f0fe}:host .zonos--floated-input.has-label{padding:16px 4px 8px 16px}:host .zonos--floated-input.has-label.has-input-prefix{padding-left:0}:host .zonos--floated-input.has-label.has-input-prefix+.zonos--floated-label::before{margin-left:0}:host .zonos--floated-input:not(.has-label)::-webkit-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input:not(.has-label)::-moz-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input:not(.has-label):-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input:not(.has-label)::-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input:not(.has-label)::placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input::-webkit-input-placeholder{-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}:host .zonos--floated-input::-moz-placeholder{-moz-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}:host .zonos--floated-input:-ms-input-placeholder{-ms-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}:host .zonos--floated-input::-ms-input-placeholder{-ms-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}:host .zonos--floated-input::placeholder{-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}:host .zonos--floated-input:focus{outline:none}:host .zonos--floated-input:focus+.zonos--floated-label::after{-webkit-box-shadow:var(--zonos-elements-glow-blue);box-shadow:var(--zonos-elements-glow-blue)}:host .zonos--floated-input.has-error+.zonos--floated-label::after{-webkit-box-shadow:var(--zonos-elements-glow-error);box-shadow:var(--zonos-elements-glow-error)}:host .zonos--floated-input.has-content::-webkit-input-placeholder,:host .zonos--floated-input:focus::-webkit-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input.has-content::-moz-placeholder,:host .zonos--floated-input:focus::-moz-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input.has-content:-ms-input-placeholder,:host .zonos--floated-input:focus:-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input.has-content::-ms-input-placeholder,:host .zonos--floated-input:focus::-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input.has-content::placeholder,:host .zonos--floated-input:focus::placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input.has-content+.zonos--floated-label::before,:host .zonos--floated-input:focus+.zonos--floated-label::before{top:11px;-webkit-transform:scale(0.8);transform:scale(0.8)}:host .zonos--floated-input:-webkit-autofill,:host .zonos--floated-input:-moz-autofill{background-color:var(--zonos-elements-input-background);color:var(--zonos-elements-text-color)}:host .zonos--floated-label{display:block;max-height:0;pointer-events:none;-ms-flex-order:1;order:1}:host .zonos--floated-label::before{content:attr(data-label);color:var(--zonos-elements-gray-800);position:absolute;font-size:var(--zonos-elements-font-size-base);line-height:var(--zonos-elements-font-size-base);display:inline-block;-webkit-filter:blur(0);filter:blur(0);-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);margin-left:16px;top:calc(50% - var(--zonos-elements-font-size-base) / 2);z-index:1}:host .zonos--floated-label::after{content:\"\";position:absolute;left:0;right:0;top:0;bottom:0;border-radius:var(--zonos--border-radius)}:host .disabled .zonos--floated-label{pointer-events:inherit}:host .disabled .zonos--floated-label::after{cursor:not-allowed;z-index:1}:host(.sm){height:calc(var(--zonos-elements-size-sm) - 2px)}:host(.sm) .zonos--floated-input.has-label{padding-top:13px;padding-bottom:0}:host(.sm) .zonos--floated-input.has-label:focus+.zonos--floated-label::before,:host(.sm) .zonos--floated-input.has-label.has-content+.zonos--floated-label::before{top:2px}:host(.md){height:calc(var(--zonos-elements-size-md) - 2px)}:host(.md) .zonos--floated-input.has-label{padding-top:20px}:host(.md) .zonos--floated-input.has-label:focus+.zonos--floated-label::before,:host(.md) .zonos--floated-input.has-label.has-content+.zonos--floated-label::before{top:6px}:host(.lg){height:calc(var(--zonos-elements-size-lg) - 2px)}:host(.lg) .zonos--floated-input.has-label:focus+.zonos--floated-label::before,:host(.lg) .zonos--floated-input.has-label.has-content+.zonos--floated-label::before{top:10px}:host(.xl){height:calc(var(--zonos-elements-size-xl) - 2px)}:host(.xl) .zonos--floated-input.has-label{padding-bottom:2px}";
11
11
  const ZonosInputStyle0 = zonosInputCss;
@@ -2,13 +2,13 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-b678ce0c.js');
6
- const cart = require('./cart-6ac8dc06.js');
7
- const zonosStore = require('./zonosStore-8971eb65.js');
5
+ const index = require('./index-2f90486e.js');
6
+ const cart = require('./cart-2398abd4.js');
7
+ const zonosStore = require('./zonosStore-46809186.js');
8
8
  const ILanguage = require('./ILanguage-98b04442.js');
9
- require('./handleFetch-864d3c53.js');
10
- require('./isDarkColor-434d71dd.js');
11
- require('./getBorderRadius-f97c99ad.js');
9
+ require('./handleFetch-3673a0c2.js');
10
+ require('./isDarkColor-2acf30d1.js');
11
+ require('./getBorderRadius-7d0772bf.js');
12
12
 
13
13
  const GreenCheckDuotoneIcon = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
14
14
  <path d="M7.99996 2.6665C5.05444 2.6665 2.66663 5.05432 2.66663 7.99984C2.66663 10.9454 5.05444 13.3332 7.99996 13.3332C10.9455 13.3332 13.3333 10.9454 13.3333 7.99984C13.3333 5.05432 10.9455 2.6665 7.99996 2.6665Z" fill="#AFF8C3"/>
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-b678ce0c.js');
5
+ const index = require('./index-2f90486e.js');
6
6
 
7
7
  const zonosLinkCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:inline-block}:host a{padding-bottom:2px;color:var(--zonos-elements-primary);-webkit-box-shadow:none;box-shadow:none;text-decoration:none;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;overflow-wrap:break-word}:host a:link,:host a:visited{color:var(--zonos-elements-primary);-webkit-transition:all 150ms ease-in-out;transition:all 150ms ease-in-out}:host a:hover,:host a:active{color:var(--zonos-elements-primary);-webkit-box-shadow:0 1px 0 var(--zonos-elements-primary);box-shadow:0 1px 0 var(--zonos-elements-primary)}";
8
8
  const ZonosLinkStyle0 = zonosLinkCss;
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-b678ce0c.js');
6
- const zonosStore = require('./zonosStore-8971eb65.js');
5
+ const index = require('./index-2f90486e.js');
6
+ const zonosStore = require('./zonosStore-46809186.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
8
 
9
9
  const zonosLogoCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:-ms-inline-flexbox;display:inline-flex}:host img{-webkit-filter:var(--zonos--filter-color);filter:var(--zonos--filter-color);width:var(--zonos--width)}";
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-b678ce0c.js');
6
- const zonosStore = require('./zonosStore-8971eb65.js');
5
+ const index = require('./index-2f90486e.js');
6
+ const zonosStore = require('./zonosStore-46809186.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
- const getBorderRadius = require('./getBorderRadius-f97c99ad.js');
8
+ const getBorderRadius = require('./getBorderRadius-7d0772bf.js');
9
9
  const isColorVariable = require('./isColorVariable-525dbfa7.js');
10
10
 
11
11
  const zonosShippingRichRadioCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host input{margin:0;accent-color:var(--zonos--selected-border-color, var(--zonos-elements-blue-600))}:host .zonos--shipping-rich-radio-item{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;padding:16px;-ms-flex-align:center;align-items:center;gap:16px;cursor:pointer;border:1px solid var(--zonos-elements-gray-200)}:host .zonos--shipping-rich-radio-item:first-child{border-top-left-radius:var(--zonos--border-radius, var(--zonos-elements-radius-10));border-top-right-radius:var(--zonos--border-radius, var(--zonos-elements-radius-10))}:host .zonos--shipping-rich-radio-item:last-child{border-bottom-right-radius:var(--zonos--border-radius, var(--zonos-elements-radius-10));border-bottom-left-radius:var(--zonos--border-radius, var(--zonos-elements-radius-10))}:host .zonos--shipping-rich-radio-item:not(:last-child){border-bottom:none}:host .zonos--shipping-rich-radio-item.selected{outline:1px solid var(--zonos--selected-border-color, var(--zonos-elements-blue-600));outline-offset:-1px}:host .zonos--shipping-info{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex:1;flex:1}:host .zonos--shipping-detail{-ms-flex:1;flex:1}:host .zonos--sub-detail{display:-ms-inline-flexbox;display:inline-flex;gap:8px;-ms-flex-wrap:wrap;flex-wrap:wrap}";
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-b678ce0c.js');
6
- const zonosStore = require('./zonosStore-8971eb65.js');
5
+ const index = require('./index-2f90486e.js');
6
+ const zonosStore = require('./zonosStore-46809186.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
8
  const isColorVariable = require('./isColorVariable-525dbfa7.js');
9
9
  const styles = require('./styles-d1e64fb9.js');
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-b678ce0c.js');
6
- const zonosStore = require('./zonosStore-8971eb65.js');
5
+ const index = require('./index-2f90486e.js');
6
+ const zonosStore = require('./zonosStore-46809186.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
8
 
9
9
  const zonosToggleCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:-ms-inline-flexbox;display:inline-flex}:host .wrapper{position:relative;border-radius:6px;background-color:var(--zonos-elements-gray-50);display:-ms-flexbox;display:flex}:host .zonos--toggle-selected-slider{z-index:1;position:absolute;background-color:var(--zonos-elements-raised-surface-color);height:100%;-webkit-box-shadow:var(--zonos-elements-shadow-button-standard);box-shadow:var(--zonos-elements-shadow-button-standard);border-radius:6px;-webkit-animation:translate 0.3s ease-in-out;animation:translate 0.3s ease-in-out}:host .zonos--option{background:transparent;border:0;z-index:2;cursor:pointer;padding:4px 12px;border-radius:6px;-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);font-size:var(--zonos-elements-font-size-base);font-weight:500;color:var(--zonos-elements-text-color-secondary)}:host .zonos--option:focus{outline:none}:host .zonos--option:hover:not(.selected){color:var(--zonos-elements-text-color)}:host .zonos--option.selected{color:var(--zonos-elements-text-color);background-color:var(--zonos-elements-raised-surface-color);height:100%;-webkit-box-shadow:var(--zonos-elements-shadow-button-standard);box-shadow:var(--zonos-elements-shadow-button-standard);border-radius:6px;-webkit-animation:translate 0.3s ease-in-out;animation:translate 0.3s ease-in-out}";
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-b678ce0c.js');
5
+ const index = require('./index-2f90486e.js');
6
6
  const classes = require('./classes-b7918f56.js');
7
7
 
8
8
  const zonosTooltipCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host .zonos--tooltip{position:relative}:host .zonos--tooltip .zonos--tooltip-content{position:absolute;bottom:100%;left:0;width:-webkit-max-content;width:-moz-max-content;width:max-content;padding:12px;background-color:var(--zonos-elements-gray-1000);opacity:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out;-webkit-transform-origin:bottom left;transform-origin:bottom left;border-radius:var(--zonos-elements-radius-4);z-index:100;-webkit-box-shadow:var(--zonos-elements-v3-shadow-large);box-shadow:var(--zonos-elements-v3-shadow-large)}:host .zonos--tooltip .zonos--tooltip-content.zonos--show-tooltip{opacity:1;-webkit-transform:scale(1);transform:scale(1)}";
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-b678ce0c.js');
6
- const zonosStore = require('./zonosStore-8971eb65.js');
5
+ const index = require('./index-2f90486e.js');
6
+ const zonosStore = require('./zonosStore-46809186.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
8
 
9
9
  const zonosVStackCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host .vstack{display:grid;grid-auto-columns:minmax(0, 1fr);grid-row-gap:var(--spacing, 24px);grid-auto-flow:row}";
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const index = require('./index-b678ce0c.js');
3
+ const index = require('./index-2f90486e.js');
4
4
 
5
5
  const appendToMap = (map, propName, value) => {
6
6
  const items = map.get(propName);
@@ -14,6 +14,7 @@
14
14
  "components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js",
15
15
  "components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.js",
16
16
  "components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.js",
17
+ "components/checkout/zonos-checkout/zonos-checkout-payment/zonos-empty-state-payment/zonos-empty-state-payment.js",
17
18
  "components/checkout/zonos-checkout/zonos-currency-toggle/zonos-currency-toggle.js",
18
19
  "components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.js",
19
20
  "components/checkout/zonos-checkout/zonos-review/zonos-review.js",
@@ -54,7 +55,7 @@
54
55
  ],
55
56
  "compiler": {
56
57
  "name": "@stencil/core",
57
- "version": "4.22.3",
58
+ "version": "4.23.0",
58
59
  "typescriptVersion": "5.5.4"
59
60
  },
60
61
  "collections": [],
@@ -56,7 +56,9 @@ export class ZonosAddressDisplay {
56
56
  "docs": {
57
57
  "tags": [],
58
58
  "text": "Address to show up"
59
- }
59
+ },
60
+ "getter": false,
61
+ "setter": false
60
62
  },
61
63
  "addressType": {
62
64
  "type": "string",
@@ -72,6 +74,8 @@ export class ZonosAddressDisplay {
72
74
  "tags": [],
73
75
  "text": "Title for the address display"
74
76
  },
77
+ "getter": false,
78
+ "setter": false,
75
79
  "attribute": "address-type",
76
80
  "reflect": false
77
81
  }
@@ -69,7 +69,9 @@ export class ZonosAddressForm {
69
69
  "docs": {
70
70
  "tags": [],
71
71
  "text": "Address to show up"
72
- }
72
+ },
73
+ "getter": false,
74
+ "setter": false
73
75
  },
74
76
  "translatedAddress": {
75
77
  "type": "unknown",
@@ -90,7 +92,9 @@ export class ZonosAddressForm {
90
92
  "docs": {
91
93
  "tags": [],
92
94
  "text": "Translated address"
93
- }
95
+ },
96
+ "getter": false,
97
+ "setter": false
94
98
  },
95
99
  "addressType": {
96
100
  "type": "string",
@@ -106,6 +110,8 @@ export class ZonosAddressForm {
106
110
  "tags": [],
107
111
  "text": "Title for the address form"
108
112
  },
113
+ "getter": false,
114
+ "setter": false,
109
115
  "attribute": "address-type",
110
116
  "reflect": false
111
117
  }
@@ -188,6 +188,8 @@ export class ZonosAddressUpdateDialog {
188
188
  "tags": [],
189
189
  "text": "Whether or not the continue button is loading"
190
190
  },
191
+ "getter": false,
192
+ "setter": false,
191
193
  "attribute": "continue-loading",
192
194
  "reflect": false,
193
195
  "defaultValue": "false"
@@ -206,6 +208,8 @@ export class ZonosAddressUpdateDialog {
206
208
  "tags": [],
207
209
  "text": "Whether or not the dialog is loading"
208
210
  },
211
+ "getter": false,
212
+ "setter": false,
209
213
  "attribute": "dialog-loading",
210
214
  "reflect": false
211
215
  },
@@ -223,6 +227,8 @@ export class ZonosAddressUpdateDialog {
223
227
  "tags": [],
224
228
  "text": "Whether or not the dialog is open"
225
229
  },
230
+ "getter": false,
231
+ "setter": false,
226
232
  "attribute": "dialog-open",
227
233
  "reflect": false,
228
234
  "defaultValue": "false"
@@ -246,6 +252,8 @@ export class ZonosAddressUpdateDialog {
246
252
  "tags": [],
247
253
  "text": "Button type of the submit button"
248
254
  },
255
+ "getter": false,
256
+ "setter": false,
249
257
  "attribute": "submit-btn-type",
250
258
  "reflect": false
251
259
  },
@@ -263,6 +271,8 @@ export class ZonosAddressUpdateDialog {
263
271
  "tags": [],
264
272
  "text": "Button color of the submit button"
265
273
  },
274
+ "getter": false,
275
+ "setter": false,
266
276
  "attribute": "submit-btn-color",
267
277
  "reflect": false
268
278
  },
@@ -280,6 +290,8 @@ export class ZonosAddressUpdateDialog {
280
290
  "tags": [],
281
291
  "text": "Whether or not the dialog is open"
282
292
  },
293
+ "getter": false,
294
+ "setter": false,
283
295
  "attribute": "is-mobile",
284
296
  "reflect": false,
285
297
  "defaultValue": "false"
@@ -303,7 +315,9 @@ export class ZonosAddressUpdateDialog {
303
315
  "docs": {
304
316
  "tags": [],
305
317
  "text": "Shipping address that user has entered"
306
- }
318
+ },
319
+ "getter": false,
320
+ "setter": false
307
321
  },
308
322
  "billingAddress": {
309
323
  "type": "unknown",
@@ -324,7 +338,9 @@ export class ZonosAddressUpdateDialog {
324
338
  "docs": {
325
339
  "tags": [],
326
340
  "text": "Billing address that user has entered (optional if billing is the same as shipping)"
327
- }
341
+ },
342
+ "getter": false,
343
+ "setter": false
328
344
  },
329
345
  "translatedShippingAddress": {
330
346
  "type": "unknown",
@@ -345,7 +361,9 @@ export class ZonosAddressUpdateDialog {
345
361
  "docs": {
346
362
  "tags": [],
347
363
  "text": "Translated address fields that GPT has translated"
348
- }
364
+ },
365
+ "getter": false,
366
+ "setter": false
349
367
  },
350
368
  "translatedBillingAddress": {
351
369
  "type": "unknown",
@@ -366,7 +384,9 @@ export class ZonosAddressUpdateDialog {
366
384
  "docs": {
367
385
  "tags": [],
368
386
  "text": "Translated address fields that GPT has translated"
369
- }
387
+ },
388
+ "getter": false,
389
+ "setter": false
370
390
  }
371
391
  };
372
392
  }
@@ -85,6 +85,8 @@ export class ZonosCartRestrictedItems {
85
85
  "tags": [],
86
86
  "text": "This is to hide the section when the parent collapse on mobile"
87
87
  },
88
+ "getter": false,
89
+ "setter": false,
88
90
  "attribute": "hide",
89
91
  "reflect": false,
90
92
  "defaultValue": "false"
@@ -129,6 +129,8 @@ export class ZonosCartSubtotal {
129
129
  "tags": [],
130
130
  "text": "Button type of the submit button"
131
131
  },
132
+ "getter": false,
133
+ "setter": false,
132
134
  "attribute": "submit-btn-type",
133
135
  "reflect": false
134
136
  },
@@ -146,6 +148,8 @@ export class ZonosCartSubtotal {
146
148
  "tags": [],
147
149
  "text": "Button color of the submit button"
148
150
  },
151
+ "getter": false,
152
+ "setter": false,
149
153
  "attribute": "submit-btn-color",
150
154
  "reflect": false
151
155
  }
@@ -274,6 +274,20 @@ export class ZonosCheckoutFinish {
274
274
  stripeStoreReset();
275
275
  cartStore.checkoutSessionId = null;
276
276
  };
277
+ this.checkStagingOrderStatus = async () => {
278
+ this.notificationType = 'success';
279
+ this.notificationTitle = translate("You're all set!");
280
+ this.notificationMessages =
281
+ stripeStoreMessageBasedOnStatus('succeeded').messages;
282
+ // override title if notification type is success
283
+ this.useOverrideSuccessNotification();
284
+ await this.handleSuccessBehavior();
285
+ // reset promo when checkout is finished
286
+ stripeStoreResetPromoCode();
287
+ stripeStoreReset();
288
+ paypalStoreReset();
289
+ cartStore.checkoutSessionId = null;
290
+ };
277
291
  this.checkPaypalPaymentStatus = async () => {
278
292
  // render error message if there's an error
279
293
  if (paypalStore.paypalErrorMessage) {
@@ -340,7 +354,10 @@ export class ZonosCheckoutFinish {
340
354
  this.isLoading = false;
341
355
  return;
342
356
  }
343
- if (paypalStore.orderIdCreated) {
357
+ if (cartStore.isStagingMode) {
358
+ void this.checkStagingOrderStatus();
359
+ }
360
+ else if (paypalStore.orderIdCreated) {
344
361
  void this.checkPaypalPaymentStatus();
345
362
  }
346
363
  else {
@@ -349,17 +366,22 @@ export class ZonosCheckoutFinish {
349
366
  }
350
367
  render() {
351
368
  const isTestMode = getIsTestMode();
352
- return (h(Host, { key: '7e1b8c53a085ae60d8189aef087a9c458c3dccd0', class: "zonos--checkout-finish zonos--elements", style: {
369
+ return (h(Host, { key: '6ad050e91df2b56c55e142cc69d0b582c0c8469a', class: "zonos--checkout-finish zonos--elements", style: {
353
370
  '--zonos--border-radius': getBorderRadius({
354
371
  overrideBorderStyle: this.borderRadius,
355
372
  }),
356
- } }, !this.isLoading && (h("div", { key: 'b31bed34ca67255cdc6ef6b546f5d6a880e4b309', class: "zonos--finish-details" }, h("div", { key: 'e3cb21607b8f1256b3096fe4f21a806a74174f66', class: "zonos--group" }, this.notificationType === 'success' ? (h("zonos-icon", { "aria-label": "Order success", content: SuccessIcon, iconColor: 'blue-800', size: 50 })) : (h("zonos-icon", { "aria-label": "Order failed", content: RemoveIcon, iconColor: 'red-800', size: 50 })), h("zonos-text", { key: 'fac1d2134f1c032cefeb9d36c5c4677767ed0972', class: "zonos--title", type: "semiBoldSubheader" }, this.notificationTitle), h("zonos-text", { key: '94b8da1ca6a391295c22d285e65530f5dfe97a41', class: "zonos--subtitle", textColor: "gray-600" }, this.notificationMessages.map(message => (h(Fragment, null, message, h("br", null))))), this.shouldRenderCloseButtonForRedirectBehavior() && (h("zonos-button", { key: '4ebf2bb81ceb0d27b4fd582400606b238a3dfbae',
373
+ } }, !this.isLoading && (h("div", { key: '8e47016dc83cbe1af79f384285c606fcb737e475', class: "zonos--finish-details" }, h("div", { key: 'd1c14e8db7aa70d04b77b10bb0d8b1e3de5529e3', class: "zonos--group" }, this.notificationType === 'success' ? (h("zonos-icon", { "aria-label": "Order success", content: SuccessIcon, iconColor: 'blue-800', size: 50 })) : (h("zonos-icon", { "aria-label": "Order failed", content: RemoveIcon, iconColor: 'red-800', size: 50 })), h("zonos-text", { key: 'd26717fe5d844f2fe6a87b05a566ef0da2d740f7', class: "zonos--title", type: "semiBoldSubheader" }, this.notificationTitle), h("zonos-text", { key: '7845c4ff7872884d8e5b8b275eb8a76efa855e52', class: "zonos--subtitle", textColor: "gray-600" }, this.notificationMessages.map(message => (h(Fragment, null, message, h("br", null))))), this.shouldRenderCloseButtonForRedirectBehavior() && (h("zonos-button", { key: '891901ad2c4fb7c2025ad47417425cd239e36cf1',
357
374
  // Only show loading spinner if it's not an error notification
358
375
  loading: this.isWaitingToRedirect &&
359
376
  this.notificationType !== 'error', onClick: () => this.closeClickHandler(), size: "md", variant: "primary" }, translate('Close'))), !window.Zonos.isLegacyCheckout &&
360
- this.shouldRenderKeepShoppingButton() && (h("zonos-button", { key: '6548724f163ad59fc3cb502c24d82ae7585c6b7f', onClick: () => this.closeClickHandler(), size: "md", variant: "primary" }, this.notificationActionText))), isTestMode &&
377
+ this.shouldRenderKeepShoppingButton() && (h("zonos-button", { key: '550bd94f93b842d71c23bd158362b711797dd4a1', onClick: () => this.closeClickHandler(), size: "md", variant: "primary" }, this.notificationActionText))), isTestMode &&
361
378
  cartStore.step === 'finish' &&
362
- this.notificationType === 'success' && (h("div", { key: 'f9aeb5d59dc4b0f163868e5a2358a69a0884bb56', class: "zonos--finish-button-wrapper" }, h("zonos-button", { key: '98ae907d33624e54f84f88519abacd1ea178554c', backgroundColor: "gray-0", buttonColor: "gray-1000", onClick: () => this.closeClickHandler(), size: "lg", variant: "outline" }, "New test cart"), h("zonos-button", { key: '506eeb9eabe16fed59b98b9eef49552542272233', onClick: () => this.redirectToUrl(`/orders/all`), size: "lg", variant: "primary" }, "View order in Dashboard")))))));
379
+ this.notificationType === 'success' && (h("div", { key: '8fdaa205f4517e0a9a6c5482e80d6dbccba6a585', class: "zonos--finish-button-wrapper" }, h("zonos-button", { key: '41b524fc8dea752a6f4745191970ac665e7b9fa8', backgroundColor: "gray-0", buttonColor: "gray-1000", onClick: () => this.closeClickHandler(), size: "lg", variant: "outline" }, "New test cart"), h("zonos-button", { key: '70297a07cc8d3c11545776d600d8a1a2a3c2a744', onClick: () => {
380
+ const isZonosDashboard = window.location.hostname.includes('dashboard.zonos.com');
381
+ this.redirectToUrl(isZonosDashboard
382
+ ? '/orders/all'
383
+ : 'https://dashboard.zonos.com/orders/all');
384
+ }, size: "lg", variant: "primary" }, "View order in Dashboard")))))));
363
385
  }
364
386
  static get is() { return "zonos-checkout-finish"; }
365
387
  static get encapsulation() { return "shadow"; }
@@ -396,6 +418,8 @@ export class ZonosCheckoutFinish {
396
418
  "tags": [],
397
419
  "text": "The border radius style of the dialog"
398
420
  },
421
+ "getter": false,
422
+ "setter": false,
399
423
  "attribute": "border-radius",
400
424
  "reflect": false,
401
425
  "defaultValue": "'ROUNDED'"
@@ -420,6 +444,8 @@ export class ZonosCheckoutFinish {
420
444
  "tags": [],
421
445
  "text": "Force status to test the UI for storybook"
422
446
  },
447
+ "getter": false,
448
+ "setter": false,
423
449
  "attribute": "storybook-force-status",
424
450
  "reflect": false
425
451
  },
@@ -436,7 +462,9 @@ export class ZonosCheckoutFinish {
436
462
  "docs": {
437
463
  "tags": [],
438
464
  "text": "Override the notification message and title, bypass checking stripe payment status"
439
- }
465
+ },
466
+ "getter": false,
467
+ "setter": false
440
468
  }
441
469
  };
442
470
  }