@zonos/elements 1.3.25-alpha.0 → 1.3.26

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 (210) hide show
  1. package/dist/cjs/{cart-ab3b679e.js → cart-7e817cad.js} +192 -8
  2. package/dist/cjs/{getBorderRadius-ea0984bb.js → getBorderRadius-074b46ef.js} +1 -1
  3. package/dist/cjs/index.cjs.js +3 -3
  4. package/dist/cjs/{isDarkColor-b14d5752.js → isDarkColor-371a3b1a.js} +1 -1
  5. package/dist/cjs/loader.cjs.js +1 -1
  6. package/dist/cjs/{submitGtag-1471da9f.js → submitGtag-7e0065da.js} +2 -2
  7. package/dist/cjs/zonos-address_8.cjs.entry.js +4 -4
  8. package/dist/cjs/zonos-badge_2.cjs.entry.js +1 -1
  9. package/dist/cjs/zonos-banner.cjs.entry.js +1 -1
  10. package/dist/cjs/zonos-button_3.cjs.entry.js +3 -3
  11. package/dist/cjs/zonos-card_2.cjs.entry.js +4 -4
  12. package/dist/cjs/zonos-cart-items_12.cjs.entry.js +29 -12
  13. package/dist/cjs/zonos-checkout.cjs.entry.js +52 -6
  14. package/dist/cjs/zonos-controller.cjs.entry.js +4 -4
  15. package/dist/cjs/zonos-country-flag.cjs.entry.js +4 -4
  16. package/dist/cjs/zonos-country-select_3.cjs.entry.js +4 -4
  17. package/dist/cjs/zonos-elements.cjs.js +1 -1
  18. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +4 -4
  19. package/dist/cjs/zonos-hello.cjs.entry.js +19 -12
  20. package/dist/cjs/zonos-input.cjs.entry.js +2 -2
  21. package/dist/cjs/zonos-logo.cjs.entry.js +1 -1
  22. package/dist/cjs/zonos-notification.cjs.entry.js +1 -1
  23. package/dist/cjs/zonos-payment.cjs.entry.js +4 -4
  24. package/dist/cjs/zonos-select-dialog-header_2.cjs.entry.js +1 -1
  25. package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +2 -2
  26. package/dist/cjs/zonos-text.cjs.entry.js +1 -1
  27. package/dist/cjs/{zonosStore-3958bbeb.js → zonosStore-4c6c85da.js} +1 -0
  28. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.css +1 -0
  29. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +20 -2
  30. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +49 -2
  31. package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.js +8 -8
  32. package/dist/collection/components/hello/zonos-hello/zonos-hello.js +15 -8
  33. package/dist/collection/components/store/hello/localization.js +9 -5
  34. package/dist/collection/components/store/translationStore/strings.arabic.js +9 -0
  35. package/dist/collection/components/store/translationStore/strings.base.js +9 -0
  36. package/dist/collection/components/store/translationStore/strings.chinese.js +9 -0
  37. package/dist/collection/components/store/translationStore/strings.danish.js +9 -0
  38. package/dist/collection/components/store/translationStore/strings.dutch.js +9 -0
  39. package/dist/collection/components/store/translationStore/strings.french.js +9 -0
  40. package/dist/collection/components/store/translationStore/strings.german.js +9 -0
  41. package/dist/collection/components/store/translationStore/strings.hebrew.js +9 -0
  42. package/dist/collection/components/store/translationStore/strings.indonesian.js +9 -0
  43. package/dist/collection/components/store/translationStore/strings.italian.js +9 -0
  44. package/dist/collection/components/store/translationStore/strings.japanese.js +9 -0
  45. package/dist/collection/components/store/translationStore/strings.korean.js +9 -0
  46. package/dist/collection/components/store/translationStore/strings.norwegian.js +9 -0
  47. package/dist/collection/components/store/translationStore/strings.polish.js +9 -0
  48. package/dist/collection/components/store/translationStore/strings.portuguese.js +9 -0
  49. package/dist/collection/components/store/translationStore/strings.russian.js +9 -0
  50. package/dist/collection/components/store/translationStore/strings.spanish.js +9 -0
  51. package/dist/collection/components/store/translationStore/strings.swedish.js +9 -0
  52. package/dist/collection/components/store/translationStore/strings.turkish.js +9 -0
  53. package/dist/collection/components/store/translationStore/strings.vietnamese.js +9 -0
  54. package/dist/collection/components/store/zonosStore.js +1 -0
  55. package/dist/collection/types/generated/graphql.customer.types.js +45 -0
  56. package/dist/collection/types/generated/graphql.frontend.types.js +6 -0
  57. package/dist/esm/{cart-564ab33a.js → cart-13e6a811.js} +192 -8
  58. package/dist/esm/{getBorderRadius-5e5a5800.js → getBorderRadius-947c24de.js} +1 -1
  59. package/dist/esm/index.js +3 -3
  60. package/dist/esm/{isDarkColor-5185b62c.js → isDarkColor-f8324c10.js} +1 -1
  61. package/dist/esm/loader.js +1 -1
  62. package/dist/esm/{submitGtag-90ebe7d0.js → submitGtag-c8bb6f2e.js} +2 -2
  63. package/dist/esm/zonos-address_8.entry.js +4 -4
  64. package/dist/esm/zonos-badge_2.entry.js +1 -1
  65. package/dist/esm/zonos-banner.entry.js +1 -1
  66. package/dist/esm/zonos-button_3.entry.js +3 -3
  67. package/dist/esm/zonos-card_2.entry.js +4 -4
  68. package/dist/esm/zonos-cart-items_12.entry.js +29 -12
  69. package/dist/esm/zonos-checkout.entry.js +52 -6
  70. package/dist/esm/zonos-controller.entry.js +4 -4
  71. package/dist/esm/zonos-country-flag.entry.js +4 -4
  72. package/dist/esm/zonos-country-select_3.entry.js +4 -4
  73. package/dist/esm/zonos-elements.js +1 -1
  74. package/dist/esm/zonos-hello-dialog.entry.js +4 -4
  75. package/dist/esm/zonos-hello.entry.js +19 -12
  76. package/dist/esm/zonos-input.entry.js +2 -2
  77. package/dist/esm/zonos-logo.entry.js +1 -1
  78. package/dist/esm/zonos-notification.entry.js +1 -1
  79. package/dist/esm/zonos-payment.entry.js +4 -4
  80. package/dist/esm/zonos-select-dialog-header_2.entry.js +1 -1
  81. package/dist/esm/zonos-shipping-rich-radio.entry.js +2 -2
  82. package/dist/esm/zonos-text.entry.js +1 -1
  83. package/dist/esm/{zonosStore-8b9ea19c.js → zonosStore-ba9e541e.js} +1 -0
  84. package/dist/esm-es5/cart-13e6a811.js +1 -0
  85. package/dist/esm-es5/{getBorderRadius-5e5a5800.js → getBorderRadius-947c24de.js} +1 -1
  86. package/dist/esm-es5/index.js +1 -1
  87. package/dist/esm-es5/{isDarkColor-5185b62c.js → isDarkColor-f8324c10.js} +1 -1
  88. package/dist/esm-es5/loader.js +1 -1
  89. package/dist/esm-es5/{submitGtag-90ebe7d0.js → submitGtag-c8bb6f2e.js} +1 -1
  90. package/dist/esm-es5/zonos-address_8.entry.js +1 -1
  91. package/dist/esm-es5/zonos-badge_2.entry.js +1 -1
  92. package/dist/esm-es5/zonos-banner.entry.js +1 -1
  93. package/dist/esm-es5/zonos-button_3.entry.js +1 -1
  94. package/dist/esm-es5/zonos-card_2.entry.js +1 -1
  95. package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
  96. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  97. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  98. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  99. package/dist/esm-es5/zonos-country-select_3.entry.js +1 -1
  100. package/dist/esm-es5/zonos-elements.js +1 -1
  101. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  102. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  103. package/dist/esm-es5/zonos-input.entry.js +1 -1
  104. package/dist/esm-es5/zonos-logo.entry.js +1 -1
  105. package/dist/esm-es5/zonos-notification.entry.js +1 -1
  106. package/dist/esm-es5/zonos-payment.entry.js +1 -1
  107. package/dist/esm-es5/zonos-select-dialog-header_2.entry.js +1 -1
  108. package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
  109. package/dist/esm-es5/zonos-text.entry.js +1 -1
  110. package/dist/esm-es5/{zonosStore-8b9ea19c.js → zonosStore-ba9e541e.js} +1 -1
  111. package/dist/scripts/index.d.ts +60 -5
  112. package/dist/scripts/index.js +1 -1
  113. package/dist/scripts/loadZonos.js +1 -1
  114. package/dist/scripts/zonos.js +1 -1
  115. package/dist/types/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.d.ts +2 -0
  116. package/dist/types/components/checkout/zonos-checkout/zonos-checkout.d.ts +10 -0
  117. package/dist/types/components/common/zonos-confirm-dialog/zonos-confirm-dialog.d.ts +2 -2
  118. package/dist/types/components/hello/zonos-hello/zonos-hello.d.ts +1 -1
  119. package/dist/types/components/store/checkout/cart.d.ts +4 -0
  120. package/dist/types/components/store/translationStore/strings.arabic.d.ts +9 -0
  121. package/dist/types/components/store/translationStore/strings.base.d.ts +9 -0
  122. package/dist/types/components/store/translationStore/strings.chinese.d.ts +9 -0
  123. package/dist/types/components/store/translationStore/strings.danish.d.ts +9 -0
  124. package/dist/types/components/store/translationStore/strings.dutch.d.ts +9 -0
  125. package/dist/types/components/store/translationStore/strings.french.d.ts +9 -0
  126. package/dist/types/components/store/translationStore/strings.german.d.ts +9 -0
  127. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +9 -0
  128. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +9 -0
  129. package/dist/types/components/store/translationStore/strings.italian.d.ts +9 -0
  130. package/dist/types/components/store/translationStore/strings.japanese.d.ts +9 -0
  131. package/dist/types/components/store/translationStore/strings.korean.d.ts +9 -0
  132. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +9 -0
  133. package/dist/types/components/store/translationStore/strings.polish.d.ts +9 -0
  134. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +9 -0
  135. package/dist/types/components/store/translationStore/strings.russian.d.ts +9 -0
  136. package/dist/types/components/store/translationStore/strings.spanish.d.ts +9 -0
  137. package/dist/types/components/store/translationStore/strings.swedish.d.ts +9 -0
  138. package/dist/types/components/store/translationStore/strings.turkish.d.ts +9 -0
  139. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +9 -0
  140. package/dist/types/components/store/translationStore.d.ts +1 -1
  141. package/dist/types/components/utils/api/getLocaleMessages.d.ts +1 -1
  142. package/dist/types/components.d.ts +4 -4
  143. package/dist/types/types/checkout/CheckoutConfig.d.ts +40 -0
  144. package/dist/types/types/generated/graphql.customer.types.d.ts +61 -1
  145. package/dist/types/types/generated/graphql.customer.types.ts +83 -1
  146. package/dist/types/types/generated/graphql.frontend.types.d.ts +7 -1
  147. package/dist/types/types/generated/graphql.frontend.types.ts +7 -1
  148. package/dist/types/types/hello/HelloConfig.d.ts +9 -2
  149. package/dist/zonos-elements/index.esm.js +1 -1
  150. package/dist/zonos-elements/{p-088d6460.system.entry.js → p-01304a58.system.entry.js} +1 -1
  151. package/dist/zonos-elements/{p-e2301200.system.entry.js → p-089c3737.system.entry.js} +1 -1
  152. package/dist/zonos-elements/{p-07fe47f2.system.entry.js → p-094c7343.system.entry.js} +1 -1
  153. package/dist/zonos-elements/{p-be14323b.system.js → p-0b538ed4.system.js} +1 -1
  154. package/dist/zonos-elements/p-121be462.system.js +1 -0
  155. package/dist/zonos-elements/{p-1e2fbb1d.system.entry.js → p-13454044.system.entry.js} +1 -1
  156. package/dist/zonos-elements/{p-e815af26.entry.js → p-1f2077df.entry.js} +1 -1
  157. package/dist/zonos-elements/{p-6b2a2f68.entry.js → p-2011cb03.entry.js} +1 -1
  158. package/dist/zonos-elements/{p-b79753bb.system.entry.js → p-27d648c3.system.entry.js} +1 -1
  159. package/dist/zonos-elements/{p-9c0859b5.entry.js → p-2aa72606.entry.js} +1 -1
  160. package/dist/zonos-elements/{p-bf9dca26.js → p-31b3d26b.js} +1 -1
  161. package/dist/zonos-elements/{p-c0ddef11.entry.js → p-3541e6dd.entry.js} +1 -1
  162. package/dist/zonos-elements/p-3baf7a18.entry.js +1 -0
  163. package/dist/zonos-elements/{p-d6796b73.system.entry.js → p-3dc59d89.system.entry.js} +1 -1
  164. package/dist/zonos-elements/{p-aaba6f75.entry.js → p-3e488bff.entry.js} +1 -1
  165. package/dist/zonos-elements/p-43c1dd27.system.entry.js +1 -0
  166. package/dist/zonos-elements/p-452ed1a7.entry.js +1 -0
  167. package/dist/zonos-elements/{p-87c4a2af.entry.js → p-492b8e12.entry.js} +1 -1
  168. package/dist/zonos-elements/{p-f3feed11.entry.js → p-5441b729.entry.js} +1 -1
  169. package/dist/zonos-elements/{p-c53cef11.js → p-5821856c.js} +1 -1
  170. package/dist/zonos-elements/{p-0ea19a4d.entry.js → p-5857ad65.entry.js} +1 -1
  171. package/dist/zonos-elements/{p-4d36edfd.system.entry.js → p-58edaab6.system.entry.js} +1 -1
  172. package/dist/zonos-elements/{p-474719c5.entry.js → p-60621085.entry.js} +1 -1
  173. package/dist/zonos-elements/{p-1752853e.entry.js → p-699a5376.entry.js} +1 -1
  174. package/dist/zonos-elements/{p-5992c6fb.system.entry.js → p-73ba4398.system.entry.js} +1 -1
  175. package/dist/zonos-elements/{p-e2bdba42.system.js → p-74488e31.system.js} +1 -1
  176. package/dist/zonos-elements/{p-84791c5c.entry.js → p-75ba695c.entry.js} +1 -1
  177. package/dist/zonos-elements/p-875a311d.js +1 -0
  178. package/dist/zonos-elements/{p-b45db572.system.entry.js → p-8f8baabf.system.entry.js} +1 -1
  179. package/dist/zonos-elements/p-99da2348.entry.js +1 -0
  180. package/dist/zonos-elements/{p-a5e9d372.js → p-9a1c0d02.js} +1 -1
  181. package/dist/zonos-elements/p-a5d823d3.system.entry.js +1 -0
  182. package/dist/zonos-elements/{p-33b054d9.system.js → p-a8cb25de.system.js} +1 -1
  183. package/dist/zonos-elements/{p-02a01106.system.entry.js → p-a90393e0.system.entry.js} +1 -1
  184. package/dist/zonos-elements/{p-c8e83577.system.entry.js → p-acfb9be6.system.entry.js} +1 -1
  185. package/dist/zonos-elements/{p-ba066673.entry.js → p-b88e52b5.entry.js} +1 -1
  186. package/dist/zonos-elements/{p-bfc30599.entry.js → p-bb5a9eaa.entry.js} +1 -1
  187. package/dist/zonos-elements/{p-d7e6cad0.system.entry.js → p-c0fcc0fa.system.entry.js} +1 -1
  188. package/dist/zonos-elements/{p-7fa5a6ea.entry.js → p-c4e38b85.entry.js} +1 -1
  189. package/dist/zonos-elements/{p-a164ea90.system.entry.js → p-cab01f64.system.entry.js} +1 -1
  190. package/dist/zonos-elements/p-d1771035.system.js +1 -0
  191. package/dist/zonos-elements/{p-1b76a929.system.entry.js → p-d3e61deb.system.entry.js} +1 -1
  192. package/dist/zonos-elements/{p-9c8705ac.entry.js → p-d4724ac8.entry.js} +1 -1
  193. package/dist/zonos-elements/p-e0bf9666.system.js +1 -1
  194. package/dist/zonos-elements/{p-8853e051.system.js → p-e37440ad.system.js} +1 -1
  195. package/dist/zonos-elements/{p-233c2599.system.entry.js → p-e80a5ed7.system.entry.js} +1 -1
  196. package/dist/zonos-elements/{p-b7e4a6b0.entry.js → p-e975b187.entry.js} +1 -1
  197. package/dist/zonos-elements/{p-9912a954.js → p-eabe2abc.js} +1 -1
  198. package/dist/zonos-elements/{p-f1223c14.system.entry.js → p-eea8111c.system.entry.js} +1 -1
  199. package/dist/zonos-elements/{p-f8b58cf8.system.entry.js → p-f7e2d33b.system.entry.js} +1 -1
  200. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  201. package/package.json +1 -1
  202. package/dist/esm-es5/cart-564ab33a.js +0 -1
  203. package/dist/zonos-elements/p-63b0aef9.system.entry.js +0 -1
  204. package/dist/zonos-elements/p-6ed78fba.entry.js +0 -1
  205. package/dist/zonos-elements/p-6f154d66.system.js +0 -1
  206. package/dist/zonos-elements/p-9a0c5589.system.entry.js +0 -1
  207. package/dist/zonos-elements/p-b44de1c3.entry.js +0 -1
  208. package/dist/zonos-elements/p-c2688c49.system.js +0 -1
  209. package/dist/zonos-elements/p-d170253b.entry.js +0 -1
  210. package/dist/zonos-elements/p-fc4f1e0c.js +0 -1
@@ -1 +1 @@
1
- System.register(["./p-d99232c5.system.js","./p-be14323b.system.js","./p-23e7c655.system.js","./p-33b054d9.system.js","./p-4a107b6f.system.js"],(function(o){"use strict";var s,i,e,t,n,r,a,l,d;return{setters:[function(o){s=o.r;i=o.c;e=o.h;t=o.H},function(o){n=o.d;r=o.z},function(o){a=o.c},function(o){l=o.g},function(o){d=o.i}],execute:function(){var h=":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host input{margin:0;accent-color:var(--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(--border-radius, var(--zonos-elements-radius-10));border-top-right-radius:var(--border-radius, var(--zonos-elements-radius-10))}:host .zonos--shipping-rich-radio-item:last-child{border-bottom-right-radius:var(--border-radius, var(--zonos-elements-radius-10));border-bottom-left-radius:var(--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(--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}";var c=h;var p=o("zonos_shipping_rich_radio",function(){function o(o){var e=this;s(this,o);this.radioSelected=i(this,"radioSelected",7);this.handleRichRadioSelect=function(o){var s;e.selectedItem=o;(s=e.radioSelected)===null||s===void 0?void 0:s.emit(o)};this.getRadioItemStyleVariables=function(){var o=e.borderColor||r.appearance.colorSecondary;var s=d(o)?"var(--zonos-elements-".concat(o,")"):o;return{"--border-radius":l({overrideBorderStyle:e.borderStyle}),"--selected-border-color":s||"unset"}};this.items=undefined;this.borderColor=undefined;this.borderStyle=undefined;this.theme=undefined;this.initialSelectedValue=undefined;this.selectedItem=null}o.prototype.componentWillLoad=function(){var o=this;if(this.initialSelectedValue){this.selectedItem=this.items.find((function(s){return s.value===o.initialSelectedValue}))||null}};o.prototype.render=function(){var o=this;var s;return e(t,{key:"48381df130f6021b73c543c7244a71e7b1e8cd05",class:"zonos--shipping-rich-radio zonos--elements","data-theme":this.theme,style:Object.assign(Object.assign({},this.getRadioItemStyleVariables()),{"--font-family":n()})},(s=this.items)===null||s===void 0?void 0:s.map((function(s){var i;var t=((i=o.selectedItem)===null||i===void 0?void 0:i.value)===s.value;return e("div",{"aria-hidden":"true",class:a(["zonos--shipping-rich-radio-item",t&&"selected"]),onClick:function(){return o.handleRichRadioSelect(s)}},e("input",{checked:t,class:"zonos--shipping-rich-radio-input",name:"zonos--shipping-rich-radio",type:"radio",value:s.value}),e("div",{class:"zonos--shipping-info"},e("div",{class:"zonos--shipping-detail"},e("zonos-text",{class:"zonos--shipping-label",type:"label"},s.label),(s.sublabel||s.caption)&&e("div",{class:"zonos--sub-detail"},s.sublabel&&e("zonos-text",{textColor:"gray-800"},s.sublabel),s.caption&&e("zonos-text",{textColor:"gray-600"},s.caption))),e("zonos-text",{type:"semiBoldLabel"},s.price)))})))};return o}());p.style=c}}}));
1
+ System.register(["./p-d99232c5.system.js","./p-0b538ed4.system.js","./p-23e7c655.system.js","./p-a8cb25de.system.js","./p-4a107b6f.system.js"],(function(o){"use strict";var s,i,e,t,n,r,a,l,d;return{setters:[function(o){s=o.r;i=o.c;e=o.h;t=o.H},function(o){n=o.d;r=o.z},function(o){a=o.c},function(o){l=o.g},function(o){d=o.i}],execute:function(){var h=":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host input{margin:0;accent-color:var(--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(--border-radius, var(--zonos-elements-radius-10));border-top-right-radius:var(--border-radius, var(--zonos-elements-radius-10))}:host .zonos--shipping-rich-radio-item:last-child{border-bottom-right-radius:var(--border-radius, var(--zonos-elements-radius-10));border-bottom-left-radius:var(--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(--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}";var c=h;var p=o("zonos_shipping_rich_radio",function(){function o(o){var e=this;s(this,o);this.radioSelected=i(this,"radioSelected",7);this.handleRichRadioSelect=function(o){var s;e.selectedItem=o;(s=e.radioSelected)===null||s===void 0?void 0:s.emit(o)};this.getRadioItemStyleVariables=function(){var o=e.borderColor||r.appearance.colorSecondary;var s=d(o)?"var(--zonos-elements-".concat(o,")"):o;return{"--border-radius":l({overrideBorderStyle:e.borderStyle}),"--selected-border-color":s||"unset"}};this.items=undefined;this.borderColor=undefined;this.borderStyle=undefined;this.theme=undefined;this.initialSelectedValue=undefined;this.selectedItem=null}o.prototype.componentWillLoad=function(){var o=this;if(this.initialSelectedValue){this.selectedItem=this.items.find((function(s){return s.value===o.initialSelectedValue}))||null}};o.prototype.render=function(){var o=this;var s;return e(t,{key:"48381df130f6021b73c543c7244a71e7b1e8cd05",class:"zonos--shipping-rich-radio zonos--elements","data-theme":this.theme,style:Object.assign(Object.assign({},this.getRadioItemStyleVariables()),{"--font-family":n()})},(s=this.items)===null||s===void 0?void 0:s.map((function(s){var i;var t=((i=o.selectedItem)===null||i===void 0?void 0:i.value)===s.value;return e("div",{"aria-hidden":"true",class:a(["zonos--shipping-rich-radio-item",t&&"selected"]),onClick:function(){return o.handleRichRadioSelect(s)}},e("input",{checked:t,class:"zonos--shipping-rich-radio-input",name:"zonos--shipping-rich-radio",type:"radio",value:s.value}),e("div",{class:"zonos--shipping-info"},e("div",{class:"zonos--shipping-detail"},e("zonos-text",{class:"zonos--shipping-label",type:"label"},s.label),(s.sublabel||s.caption)&&e("div",{class:"zonos--sub-detail"},s.sublabel&&e("zonos-text",{textColor:"gray-800"},s.sublabel),s.caption&&e("zonos-text",{textColor:"gray-600"},s.caption))),e("zonos-text",{type:"semiBoldLabel"},s.price)))})))};return o}());p.style=c}}}));
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(n,t,e,o){function r(n){return n instanceof e?n:new e((function(t){t(n)}))}return new(e||(e=Promise))((function(e,i){function u(n){try{a(o.next(n))}catch(n){i(n)}}function c(n){try{a(o["throw"](n))}catch(n){i(n)}}function a(n){n.done?e(n.value):r(n.value).then(u,c)}a((o=o.apply(n,t||[])).next())}))};var __generator=this&&this.__generator||function(n,t){var e={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},o,r,i,u;return u={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function c(n){return function(t){return a([n,t])}}function a(c){if(o)throw new TypeError("Generator is already executing.");while(u&&(u=0,c[0]&&(e=0)),e)try{if(o=1,r&&(i=c[0]&2?r["return"]:c[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,c[1])).done)return i;if(r=0,i)c=[c[0]&2,i.value];switch(c[0]){case 0:case 1:i=c;break;case 4:e.label++;return{value:c[1],done:false};case 5:e.label++;r=c[1];c=[0];continue;case 7:c=e.ops.pop();e.trys.pop();continue;default:if(!(i=e.trys,i=i.length>0&&i[i.length-1])&&(c[0]===6||c[0]===2)){e=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]<i[3])){e.label=c[1];break}if(c[0]===6&&e.label<i[1]){e.label=i[1];i=c;break}if(i&&e.label<i[2]){e.label=i[2];e.ops.push(c);break}if(i[2])e.ops.pop();e.trys.pop();continue}c=t.call(n,e)}catch(n){c=[6,n];r=0}finally{o=i=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:true}}};System.register(["./p-c2688c49.system.js","./p-be14323b.system.js","./p-63db40b9.system.js"],(function(n){"use strict";var t,e,o,r,i;return{setters:[function(n){t=n.r;e=n.d;o=n.l},function(n){r=n.z},function(n){i=n.l}],execute:function(){var u=this;var c=n("t",(function(n,i){return __awaiter(u,void 0,void 0,(function(){var u,c,a,s,f,d,w,v;return __generator(this,(function(l){switch(l.label){case 0:a=window.location.href.includes("zonos.com")||window.location.href.includes("checkout.iglobalstores.com")||!!((u=window.Zonos)===null||u===void 0?void 0:u.zonosQaUrl)||!!((c=window.Zonos)===null||c===void 0?void 0:c.debug);if(a&&!window.Zonos.zonosConversionTest){return[2]}s="".concat("https://v1.route.js.zonos.com","/api/zonos-elements/track-conversion-event");f=o.selectedCountryCode;d=r.organizationId;w=e.checkoutSessionId;if(!w){return[2]}v={checkoutSessionId:w,countryCode:f,eventName:n,metadata:i,organizationId:d};return[4,t(s,{body:v,method:"POST"})];case 1:l.sent();return[2]}}))}))}));var a=n("c",(function(n,t){return new CustomEvent(n,{detail:t})}));var s=n("s",(function(n){return __awaiter(u,[n],void 0,(function(n){var e,o;var r=n.endpoint,i=n.errors,u=n.metadata;return __generator(this,(function(n){e="userAgentData"in window.navigator?window.navigator.userAgentData:null;o={endpoint:r,errors:i,metadata:Object.assign({href:window.location.href,userAgent:e&&e.brands.length>0?e:window.navigator.userAgent},u)};void t("".concat("https://v1.route.js.zonos.com","/api/zonos-elements/log-error"),{body:o,method:"POST"});return[2]}))}))}));var f=n("a",(function(n){var t=r.checkoutSettings.analyticsProviders.find((function(n){return n.type==="GOOGLE_ANALYTICS"}));if(!t||(t===null||t===void 0?void 0:t.status)==="DISABLED"){return}if(typeof window.gtag==="function"){i("Zonos submits gtag event","log",n);window.gtag("event",n,{})}}))}}}));
1
+ var __awaiter=this&&this.__awaiter||function(n,t,e,o){function r(n){return n instanceof e?n:new e((function(t){t(n)}))}return new(e||(e=Promise))((function(e,i){function u(n){try{a(o.next(n))}catch(n){i(n)}}function c(n){try{a(o["throw"](n))}catch(n){i(n)}}function a(n){n.done?e(n.value):r(n.value).then(u,c)}a((o=o.apply(n,t||[])).next())}))};var __generator=this&&this.__generator||function(n,t){var e={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},o,r,i,u;return u={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function c(n){return function(t){return a([n,t])}}function a(c){if(o)throw new TypeError("Generator is already executing.");while(u&&(u=0,c[0]&&(e=0)),e)try{if(o=1,r&&(i=c[0]&2?r["return"]:c[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,c[1])).done)return i;if(r=0,i)c=[c[0]&2,i.value];switch(c[0]){case 0:case 1:i=c;break;case 4:e.label++;return{value:c[1],done:false};case 5:e.label++;r=c[1];c=[0];continue;case 7:c=e.ops.pop();e.trys.pop();continue;default:if(!(i=e.trys,i=i.length>0&&i[i.length-1])&&(c[0]===6||c[0]===2)){e=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]<i[3])){e.label=c[1];break}if(c[0]===6&&e.label<i[1]){e.label=i[1];i=c;break}if(i&&e.label<i[2]){e.label=i[2];e.ops.push(c);break}if(i[2])e.ops.pop();e.trys.pop();continue}c=t.call(n,e)}catch(n){c=[6,n];r=0}finally{o=i=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:true}}};System.register(["./p-d1771035.system.js","./p-0b538ed4.system.js","./p-63db40b9.system.js"],(function(n){"use strict";var t,e,o,r,i;return{setters:[function(n){t=n.r;e=n.d;o=n.l},function(n){r=n.z},function(n){i=n.l}],execute:function(){var u=this;var c=n("t",(function(n,i){return __awaiter(u,void 0,void 0,(function(){var u,c,a,s,f,d,w,v;return __generator(this,(function(l){switch(l.label){case 0:a=window.location.href.includes("zonos.com")||window.location.href.includes("checkout.iglobalstores.com")||!!((u=window.Zonos)===null||u===void 0?void 0:u.zonosQaUrl)||!!((c=window.Zonos)===null||c===void 0?void 0:c.debug);if(a&&!window.Zonos.zonosConversionTest){return[2]}s="".concat("https://v1.route.js.zonos.com","/api/zonos-elements/track-conversion-event");f=o.selectedCountryCode;d=r.organizationId;w=e.checkoutSessionId;if(!w){return[2]}v={checkoutSessionId:w,countryCode:f,eventName:n,metadata:i,organizationId:d};return[4,t(s,{body:v,method:"POST"})];case 1:l.sent();return[2]}}))}))}));var a=n("c",(function(n,t){return new CustomEvent(n,{detail:t})}));var s=n("s",(function(n){return __awaiter(u,[n],void 0,(function(n){var e,o;var r=n.endpoint,i=n.errors,u=n.metadata;return __generator(this,(function(n){e="userAgentData"in window.navigator?window.navigator.userAgentData:null;o={endpoint:r,errors:i,metadata:Object.assign({href:window.location.href,userAgent:e&&e.brands.length>0?e:window.navigator.userAgent},u)};void t("".concat("https://v1.route.js.zonos.com","/api/zonos-elements/log-error"),{body:o,method:"POST"});return[2]}))}))}));var f=n("a",(function(n){var t=r.checkoutSettings.analyticsProviders.find((function(n){return n.type==="GOOGLE_ANALYTICS"}));if(!t||(t===null||t===void 0?void 0:t.status)==="DISABLED"){return}if(typeof window.gtag==="function"){i("Zonos submits gtag event","log",n);window.gtag("event",n,{})}}))}}}));
@@ -1 +1 @@
1
- import{r as o,h as e,H as s}from"./p-ce347974.js";import{d as t}from"./p-c53cef11.js";import{c as n}from"./p-b4b7f705.js";const r=class{constructor(e){o(this,e),this.bold=!1,this.badgeColor="gray",this.icon=void 0,this.iconRight=!1,this.size="default",this.rounded=!1}render(){return e(s,{key:"6abf1f29bb6368710b45414baca9643421de2643",class:n(["zonos--elements zonos--badge"]),style:{"--font-family":t()}},e("div",{key:"fb0b246a59f0350313673d4430ac4f2bcd9d6b80",class:n(["zonos--badge-content",this.badgeColor,this.rounded&&"rounded",this.iconRight&&"icon-right",this.size,this.bold&&"bold"])},this.icon,e("zonos-text",{key:"2d6024af48ce0e082d3a1332794978cfd42793d6"},e("slot",{key:"9cb7e771b0a949b912c6fa5946018cbf072ed018"}))))}};r.style=":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:-ms-inline-flexbox;display:inline-flex}:host .zonos--badge-content{display:-ms-flexbox;display:flex;gap:8px;font-size:var(--zonos-elements-font-size-s);padding:4px 8px;text-align:center;border-radius:var(--zonos-elements-radius-6);background-color:var(--zonos-elements-gray-100);color:var(--zonos-elements-gray-800);-ms-flex-align:center;align-items:center}:host p{font-weight:600;line-height:16px}:host .icon-right svg{-ms-flex-order:2;order:2}:host .small{padding:2px 8px}:host .rounded{border-radius:20px}:host .bold{background-color:var(--zonos-elements-gray-600);color:var(--zonos-elements-gray-100)}:host .blue{background-color:var(--zonos-elements-blue-100);color:var(--zonos-elements-blue-800)}:host .blue.bold{background-color:var(--zonos-elements-blue-600);color:var(--zonos-elements-blue-100)}:host .green{background-color:var(--zonos-elements-green-100);color:var(--zonos-elements-green-800)}:host .green.bold{background-color:var(--zonos-elements-green-600);color:var(--zonos-elements-green-100)}:host .red{background-color:var(--zonos-elements-red-100);color:var(--zonos-elements-red-800)}:host .red.bold{background-color:var(--zonos-elements-red-600);color:var(--zonos-elements-red-100)}:host .orange{background-color:var(--zonos-elements-orange-100);color:var(--zonos-elements-orange-800)}:host .orange.bold{background-color:var(--zonos-elements-orange-600);color:var(--zonos-elements-orange-100)}:host .purple{background-color:var(--zonos-elements-purple-100);color:var(--zonos-elements-purple-800)}:host .purple.bold{background-color:var(--zonos-elements-purple-600);color:var(--zonos-elements-purple-100)}:host .cyan{background-color:var(--zonos-elements-cyan-100);color:var(--zonos-elements-cyan-800)}:host .cyan.bold{background-color:var(--zonos-elements-cyan-600);color:var(--zonos-elements-cyan-100)}";const a=class{constructor(e){o(this,e),this.label="",this.subtitle="",this.showTooltip=!1}render(){return e(s,{key:"62f307eee14511a4d37aecd927a25f797e206d8f",class:"zonos--elements"},e("div",{key:"8bcdbbbd4d9fffe487c975d2f42bc0e7ecc0d7a5",class:"zonos--tooltip",onMouseEnter:()=>this.showTooltip=!0,onMouseLeave:()=>this.showTooltip=!1},e("slot",{key:"53413e70a522d44f044bf08154c933e8d2b6863e"}),e("div",{key:"b3ff18f30520346abe71df2987763d08ccc21c3c",class:n([this.showTooltip&&"zonos--show-tooltip","zonos--tooltip-content"])},e("zonos-text",{key:"72567e2ace426b1d45e46a7bb68aa17076fcf7d3",size:"s",textColor:"gray-0",type:"boldLabel"},this.label),e("zonos-text",{key:"183b70f17a065b3eb3eef65df38bee2092c91582",size:"xs",textColor:"gray-0"},this.subtitle))))}};a.style=":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host .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-1200);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)}";export{r as zonos_badge,a as zonos_tooltip}
1
+ import{r as o,h as e,H as s}from"./p-ce347974.js";import{d as t}from"./p-5821856c.js";import{c as n}from"./p-b4b7f705.js";const r=class{constructor(e){o(this,e),this.bold=!1,this.badgeColor="gray",this.icon=void 0,this.iconRight=!1,this.size="default",this.rounded=!1}render(){return e(s,{key:"6abf1f29bb6368710b45414baca9643421de2643",class:n(["zonos--elements zonos--badge"]),style:{"--font-family":t()}},e("div",{key:"fb0b246a59f0350313673d4430ac4f2bcd9d6b80",class:n(["zonos--badge-content",this.badgeColor,this.rounded&&"rounded",this.iconRight&&"icon-right",this.size,this.bold&&"bold"])},this.icon,e("zonos-text",{key:"2d6024af48ce0e082d3a1332794978cfd42793d6"},e("slot",{key:"9cb7e771b0a949b912c6fa5946018cbf072ed018"}))))}};r.style=":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:-ms-inline-flexbox;display:inline-flex}:host .zonos--badge-content{display:-ms-flexbox;display:flex;gap:8px;font-size:var(--zonos-elements-font-size-s);padding:4px 8px;text-align:center;border-radius:var(--zonos-elements-radius-6);background-color:var(--zonos-elements-gray-100);color:var(--zonos-elements-gray-800);-ms-flex-align:center;align-items:center}:host p{font-weight:600;line-height:16px}:host .icon-right svg{-ms-flex-order:2;order:2}:host .small{padding:2px 8px}:host .rounded{border-radius:20px}:host .bold{background-color:var(--zonos-elements-gray-600);color:var(--zonos-elements-gray-100)}:host .blue{background-color:var(--zonos-elements-blue-100);color:var(--zonos-elements-blue-800)}:host .blue.bold{background-color:var(--zonos-elements-blue-600);color:var(--zonos-elements-blue-100)}:host .green{background-color:var(--zonos-elements-green-100);color:var(--zonos-elements-green-800)}:host .green.bold{background-color:var(--zonos-elements-green-600);color:var(--zonos-elements-green-100)}:host .red{background-color:var(--zonos-elements-red-100);color:var(--zonos-elements-red-800)}:host .red.bold{background-color:var(--zonos-elements-red-600);color:var(--zonos-elements-red-100)}:host .orange{background-color:var(--zonos-elements-orange-100);color:var(--zonos-elements-orange-800)}:host .orange.bold{background-color:var(--zonos-elements-orange-600);color:var(--zonos-elements-orange-100)}:host .purple{background-color:var(--zonos-elements-purple-100);color:var(--zonos-elements-purple-800)}:host .purple.bold{background-color:var(--zonos-elements-purple-600);color:var(--zonos-elements-purple-100)}:host .cyan{background-color:var(--zonos-elements-cyan-100);color:var(--zonos-elements-cyan-800)}:host .cyan.bold{background-color:var(--zonos-elements-cyan-600);color:var(--zonos-elements-cyan-100)}";const a=class{constructor(e){o(this,e),this.label="",this.subtitle="",this.showTooltip=!1}render(){return e(s,{key:"62f307eee14511a4d37aecd927a25f797e206d8f",class:"zonos--elements"},e("div",{key:"8bcdbbbd4d9fffe487c975d2f42bc0e7ecc0d7a5",class:"zonos--tooltip",onMouseEnter:()=>this.showTooltip=!0,onMouseLeave:()=>this.showTooltip=!1},e("slot",{key:"53413e70a522d44f044bf08154c933e8d2b6863e"}),e("div",{key:"b3ff18f30520346abe71df2987763d08ccc21c3c",class:n([this.showTooltip&&"zonos--show-tooltip","zonos--tooltip-content"])},e("zonos-text",{key:"72567e2ace426b1d45e46a7bb68aa17076fcf7d3",size:"s",textColor:"gray-0",type:"boldLabel"},this.label),e("zonos-text",{key:"183b70f17a065b3eb3eef65df38bee2092c91582",size:"xs",textColor:"gray-0"},this.subtitle))))}};a.style=":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host .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-1200);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)}";export{r as zonos_badge,a as zonos_tooltip}