@zonos/elements 1.3.139 → 1.3.141

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 (149) hide show
  1. package/dist/cjs/{cart-0070bff2.js → cart-e1b59d03.js} +180 -1
  2. package/dist/cjs/index.cjs.js +41 -13
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/{paypal-7c8a99b0.js → paypal-86cc51e4.js} +13 -1
  5. package/dist/cjs/zonos-address_7.cjs.entry.js +1 -1
  6. package/dist/cjs/zonos-cart-items_13.cjs.entry.js +49 -7
  7. package/dist/cjs/zonos-checkout.cjs.entry.js +5 -3
  8. package/dist/cjs/zonos-controller.cjs.entry.js +1 -1
  9. package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -1
  10. package/dist/cjs/zonos-country-select_4.cjs.entry.js +1 -1
  11. package/dist/cjs/zonos-elements.cjs.js +1 -1
  12. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +1 -1
  13. package/dist/cjs/zonos-hello.cjs.entry.js +2 -2
  14. package/dist/cjs/zonos-language-select_2.cjs.entry.js +1 -1
  15. package/dist/cjs/zonos-notification_3.cjs.entry.js +2 -2
  16. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.js +24 -2
  17. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +4 -2
  18. package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js +11 -4
  19. package/dist/collection/components/hello/zonos-hello/zonos-hello.js +1 -1
  20. package/dist/collection/components/store/checkout/paypal.js +14 -1
  21. package/dist/collection/components/store/checkout/stripe.js +9 -0
  22. package/dist/collection/components/store/hello/localization.js +3 -1
  23. package/dist/collection/components/store/translationStore/strings.arabic.js +6 -0
  24. package/dist/collection/components/store/translationStore/strings.base.js +6 -0
  25. package/dist/collection/components/store/translationStore/strings.chinese.js +6 -0
  26. package/dist/collection/components/store/translationStore/strings.danish.js +6 -0
  27. package/dist/collection/components/store/translationStore/strings.dutch.js +6 -0
  28. package/dist/collection/components/store/translationStore/strings.french.js +6 -0
  29. package/dist/collection/components/store/translationStore/strings.german.js +6 -0
  30. package/dist/collection/components/store/translationStore/strings.hebrew.js +6 -0
  31. package/dist/collection/components/store/translationStore/strings.indonesian.js +6 -0
  32. package/dist/collection/components/store/translationStore/strings.italian.js +6 -0
  33. package/dist/collection/components/store/translationStore/strings.japanese.js +6 -0
  34. package/dist/collection/components/store/translationStore/strings.korean.js +6 -0
  35. package/dist/collection/components/store/translationStore/strings.norwegian.js +6 -0
  36. package/dist/collection/components/store/translationStore/strings.polish.js +6 -0
  37. package/dist/collection/components/store/translationStore/strings.portuguese.js +6 -0
  38. package/dist/collection/components/store/translationStore/strings.russian.js +6 -0
  39. package/dist/collection/components/store/translationStore/strings.spanish.js +6 -0
  40. package/dist/collection/components/store/translationStore/strings.swedish.js +6 -0
  41. package/dist/collection/components/store/translationStore/strings.turkish.js +6 -0
  42. package/dist/collection/components/store/translationStore/strings.vietnamese.js +6 -0
  43. package/dist/collection/components/utils/api/getCheckoutSession.js +14 -0
  44. package/dist/collection/components/utils/resetToSelectedTab.js +17 -0
  45. package/dist/collection/components/utils/validateCheckoutSession.js +39 -0
  46. package/dist/collection/scripts/_zonosBase.js +34 -6
  47. package/dist/esm/{cart-e5fb3abe.js → cart-709f053f.js} +181 -3
  48. package/dist/esm/index.js +41 -13
  49. package/dist/esm/loader.js +1 -1
  50. package/dist/esm/{paypal-9636651e.js → paypal-77a60c44.js} +13 -1
  51. package/dist/esm/zonos-address_7.entry.js +1 -1
  52. package/dist/esm/zonos-cart-items_13.entry.js +49 -7
  53. package/dist/esm/zonos-checkout.entry.js +5 -3
  54. package/dist/esm/zonos-controller.entry.js +1 -1
  55. package/dist/esm/zonos-country-flag.entry.js +1 -1
  56. package/dist/esm/zonos-country-select_4.entry.js +1 -1
  57. package/dist/esm/zonos-elements.js +1 -1
  58. package/dist/esm/zonos-hello-dialog.entry.js +1 -1
  59. package/dist/esm/zonos-hello.entry.js +2 -2
  60. package/dist/esm/zonos-language-select_2.entry.js +1 -1
  61. package/dist/esm/zonos-notification_3.entry.js +2 -2
  62. package/dist/esm-es5/cart-709f053f.js +1 -0
  63. package/dist/esm-es5/index.js +1 -1
  64. package/dist/esm-es5/loader.js +1 -1
  65. package/dist/esm-es5/paypal-77a60c44.js +17 -0
  66. package/dist/esm-es5/zonos-address_7.entry.js +1 -1
  67. package/dist/esm-es5/zonos-cart-items_13.entry.js +1 -1
  68. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  69. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  70. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  71. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
  72. package/dist/esm-es5/zonos-elements.js +1 -1
  73. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  74. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  75. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  76. package/dist/esm-es5/zonos-notification_3.entry.js +1 -1
  77. package/dist/scripts/index.d.ts +1 -0
  78. package/dist/scripts/index.js +1 -1
  79. package/dist/scripts/loadZonos.js +1 -1
  80. package/dist/scripts/zonos.js +1 -1
  81. package/dist/types/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.d.ts +6 -0
  82. package/dist/types/components/store/checkout/stripe.d.ts +4 -0
  83. package/dist/types/components/store/translationStore/strings.arabic.d.ts +6 -0
  84. package/dist/types/components/store/translationStore/strings.base.d.ts +6 -0
  85. package/dist/types/components/store/translationStore/strings.chinese.d.ts +6 -0
  86. package/dist/types/components/store/translationStore/strings.danish.d.ts +6 -0
  87. package/dist/types/components/store/translationStore/strings.dutch.d.ts +6 -0
  88. package/dist/types/components/store/translationStore/strings.french.d.ts +6 -0
  89. package/dist/types/components/store/translationStore/strings.german.d.ts +6 -0
  90. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +6 -0
  91. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +6 -0
  92. package/dist/types/components/store/translationStore/strings.italian.d.ts +6 -0
  93. package/dist/types/components/store/translationStore/strings.japanese.d.ts +6 -0
  94. package/dist/types/components/store/translationStore/strings.korean.d.ts +6 -0
  95. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +6 -0
  96. package/dist/types/components/store/translationStore/strings.polish.d.ts +6 -0
  97. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +6 -0
  98. package/dist/types/components/store/translationStore/strings.russian.d.ts +6 -0
  99. package/dist/types/components/store/translationStore/strings.spanish.d.ts +6 -0
  100. package/dist/types/components/store/translationStore/strings.swedish.d.ts +6 -0
  101. package/dist/types/components/store/translationStore/strings.turkish.d.ts +6 -0
  102. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +6 -0
  103. package/dist/types/components/store/translationStore.d.ts +1 -1
  104. package/dist/types/components/utils/api/getCheckoutSession.d.ts +9 -0
  105. package/dist/types/components/utils/resetToSelectedTab.d.ts +12 -0
  106. package/dist/types/components/utils/validateCheckoutSession.d.ts +9 -0
  107. package/dist/types/scripts/_zonosBase.d.ts +1 -0
  108. package/dist/types/types/checkout/api/CheckoutSession.d.ts +5 -1
  109. package/dist/types/types/generated/graphql.internal.types.d.ts +112 -0
  110. package/dist/types/types/generated/graphql.internal.types.ts +102 -1
  111. package/dist/zonos-elements/index.esm.js +1 -1
  112. package/dist/zonos-elements/{p-85545d0b.system.entry.js → p-01ad5be8.system.entry.js} +1 -1
  113. package/dist/zonos-elements/p-0c027d2e.entry.js +1 -0
  114. package/dist/zonos-elements/{p-d66cbed3.system.entry.js → p-1c4ff7b2.system.entry.js} +1 -1
  115. package/dist/zonos-elements/{p-30f75fc0.system.entry.js → p-22d69480.system.entry.js} +1 -1
  116. package/dist/zonos-elements/{p-3316bcb0.system.entry.js → p-25c7e4fa.system.entry.js} +1 -1
  117. package/dist/zonos-elements/{p-456d8ac3.system.entry.js → p-289ded20.system.entry.js} +1 -1
  118. package/dist/zonos-elements/{p-f8d7bad6.entry.js → p-35b8dcde.entry.js} +1 -1
  119. package/dist/zonos-elements/{p-daf800c5.system.entry.js → p-49e4ca08.system.entry.js} +1 -1
  120. package/dist/zonos-elements/{p-d374ef35.system.entry.js → p-64a04391.system.entry.js} +1 -1
  121. package/dist/zonos-elements/p-6b0aa1bb.system.js +17 -0
  122. package/dist/zonos-elements/{p-59f7cc80.entry.js → p-8368a79e.entry.js} +1 -1
  123. package/dist/zonos-elements/{p-e176da08.system.entry.js → p-896d62a4.system.entry.js} +1 -1
  124. package/dist/zonos-elements/p-8f9affb3.system.entry.js +1 -0
  125. package/dist/zonos-elements/p-a58731ec.system.js +1 -0
  126. package/dist/zonos-elements/{p-9138a10d.entry.js → p-ad1d6ea2.entry.js} +1 -1
  127. package/dist/zonos-elements/p-afffdfc2.js +1 -0
  128. package/dist/zonos-elements/{p-3f71bac6.entry.js → p-b832ec52.entry.js} +1 -1
  129. package/dist/zonos-elements/{p-0931f518.entry.js → p-b9efc660.entry.js} +1 -1
  130. package/dist/zonos-elements/p-be2feba6.entry.js +1 -0
  131. package/dist/zonos-elements/p-c78dd680.system.js +1 -1
  132. package/dist/zonos-elements/{p-244fe3a1.system.entry.js → p-cf72603f.system.entry.js} +1 -1
  133. package/dist/zonos-elements/p-d35376d3.js +17 -0
  134. package/dist/zonos-elements/{p-035571bf.entry.js → p-e6c31531.entry.js} +1 -1
  135. package/dist/zonos-elements/{p-99190477.entry.js → p-f2867195.entry.js} +1 -1
  136. package/dist/zonos-elements/{p-d58b6247.entry.js → p-f8ca3e71.entry.js} +1 -1
  137. package/dist/zonos-elements/p-f8e8b50e.system.js +1 -0
  138. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  139. package/package.json +2 -1
  140. package/dist/esm-es5/cart-e5fb3abe.js +0 -1
  141. package/dist/esm-es5/paypal-9636651e.js +0 -17
  142. package/dist/zonos-elements/p-1037c75b.system.js +0 -1
  143. package/dist/zonos-elements/p-4e4a45cb.js +0 -17
  144. package/dist/zonos-elements/p-75048606.system.js +0 -1
  145. package/dist/zonos-elements/p-79a8c9ef.system.js +0 -17
  146. package/dist/zonos-elements/p-b7652a21.system.entry.js +0 -1
  147. package/dist/zonos-elements/p-e3112267.entry.js +0 -1
  148. package/dist/zonos-elements/p-f64e4276.js +0 -1
  149. package/dist/zonos-elements/p-f66fbfe8.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as o,h as s,H as t,d as i}from"./p-5b7da777.js";import{l as e}from"./p-f64e4276.js";import{d as n}from"./p-edc16f69.js";import{c as a}from"./p-b4b7f705.js";import"./p-860e46ab.js";import"./p-10d6fe23.js";import"./p-d10ffd69.js";const h=class{constructor(s){o(this,s),this.countryCode=e.selectedCountryCode,this.size=void 0}render(){if(!this.el.shadowRoot||!this.countryCode)return null;const o=`https://zonos-store-assets.s3.amazonaws.com/images/elements-flags/${this.countryCode}.svg`,i=n();return s(t,{class:"zonos--elements",style:this.size?{"--zonos--font-family":i,height:`${this.size}px`,width:`${this.size}px`}:{"--zonos--font-family":i}},s("div",{class:a(["flag-container"])},s("div",{class:"flag-icon",style:{backgroundImage:`url(${o})`}})))}get el(){return i(this)}};h.style=":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 .flag-container{position:relative;overflow:hidden;width:100%;height:100%}:host .flag-icon{position:absolute;top:0;left:0;width:100%;height:100%;background-position:center;background-repeat:no-repeat;background-size:cover}";export{h as zonos_country_flag}
1
+ import{r as o,h as s,H as t,d as i}from"./p-5b7da777.js";import{l as e}from"./p-afffdfc2.js";import{d as a}from"./p-edc16f69.js";import{c as n}from"./p-b4b7f705.js";import"./p-860e46ab.js";import"./p-10d6fe23.js";import"./p-d10ffd69.js";const h=class{constructor(s){o(this,s),this.countryCode=e.selectedCountryCode,this.size=void 0}render(){if(!this.el.shadowRoot||!this.countryCode)return null;const o=`https://zonos-store-assets.s3.amazonaws.com/images/elements-flags/${this.countryCode}.svg`,i=a();return s(t,{class:"zonos--elements",style:this.size?{"--zonos--font-family":i,height:`${this.size}px`,width:`${this.size}px`}:{"--zonos--font-family":i}},s("div",{class:n(["flag-container"])},s("div",{class:"flag-icon",style:{backgroundImage:`url(${o})`}})))}get el(){return i(this)}};h.style=":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 .flag-container{position:relative;overflow:hidden;width:100%;height:100%}:host .flag-icon{position:absolute;top:0;left:0;width:100%;height:100%;background-position:center;background-repeat:no-repeat;background-size:cover}";export{h as zonos_country_flag}