@zonos/elements 1.3.256 → 1.3.258

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 (271) hide show
  1. package/dist/cjs/{cart-e156c1e3.js → cart-c618fd5b.js} +4 -4
  2. package/dist/cjs/{debounce-0c75ba33.js → debounce-3e17b4e9.js} +1 -1
  3. package/dist/cjs/{getBorderRadius-27a74844.js → getBorderRadius-db55a464.js} +1 -1
  4. package/dist/cjs/{getContrastColor-cc087c53.js → getContrastColor-8ed1cb48.js} +2 -2
  5. package/dist/cjs/{hasInclusivePrice-d6d274bd.js → hasInclusivePrice-58a9f15d.js} +1 -1
  6. package/dist/cjs/index.cjs.js +7 -7
  7. package/dist/cjs/{invoice-f4b5d538.js → invoice-c9cb6683.js} +3 -3
  8. package/dist/cjs/{isCollectMobileTablet-c9369cd8.js → isCollectMobileTablet-93a5194a.js} +3 -3
  9. package/dist/cjs/{isContrastColor-d1936a5c.js → isContrastColor-6a17f408.js} +1 -1
  10. package/dist/cjs/{isDarkColor-a68abf7a.js → isDarkColor-bfe6d1eb.js} +1 -1
  11. package/dist/cjs/{localization-5bb1e598.js → localization-5994d4de.js} +77 -20
  12. package/dist/cjs/{paypal-f9641595.js → paypal-091e089e.js} +5 -5
  13. package/dist/cjs/{placeTestOrder-7ac7f91a.js → placeTestOrder-b07f8edb.js} +2 -2
  14. package/dist/cjs/{renderCheckoutCurrency-6b59a718.js → renderCheckoutCurrency-7876a1d4.js} +2 -2
  15. package/dist/cjs/{submitGtag-cb4fb332.js → submitGtag-9ac5a42e.js} +1 -1
  16. package/dist/cjs/{throttle-ff483793.js → throttle-dac93461.js} +2 -2
  17. package/dist/cjs/{updateCheckoutSessionAttributes-8be63b63.js → updateCheckoutSessionAttributes-a3776bb0.js} +1 -1
  18. package/dist/cjs/zonos-address-display_8.cjs.entry.js +7 -7
  19. package/dist/cjs/zonos-address_4.cjs.entry.js +7 -7
  20. package/dist/cjs/zonos-badge.cjs.entry.js +1 -1
  21. package/dist/cjs/zonos-banner.cjs.entry.js +1 -1
  22. package/dist/cjs/zonos-button_3.cjs.entry.js +3 -3
  23. package/dist/cjs/zonos-card_5.cjs.entry.js +8 -8
  24. package/dist/cjs/zonos-cart-items_12.cjs.entry.js +14 -14
  25. package/dist/cjs/zonos-checkbox_2.cjs.entry.js +3 -3
  26. package/dist/cjs/zonos-checkout.cjs.entry.js +10 -10
  27. package/dist/cjs/zonos-collapse.cjs.entry.js +1 -1
  28. package/dist/cjs/zonos-collect-cart-items_3.cjs.entry.js +5 -5
  29. package/dist/cjs/zonos-collect-finish_6.cjs.entry.js +11 -11
  30. package/dist/cjs/zonos-collect.cjs.entry.js +9 -9
  31. package/dist/cjs/zonos-controller.cjs.entry.js +6 -6
  32. package/dist/cjs/zonos-country-flag.cjs.entry.js +2 -2
  33. package/dist/cjs/zonos-country-select_4.cjs.entry.js +3 -3
  34. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +46 -13
  35. package/dist/cjs/zonos-hello.cjs.entry.js +38 -15
  36. package/dist/cjs/zonos-input.cjs.entry.js +2 -2
  37. package/dist/cjs/zonos-invoice-cart-items_2.cjs.entry.js +7 -7
  38. package/dist/cjs/zonos-invoice-finish_5.cjs.entry.js +11 -11
  39. package/dist/cjs/zonos-invoice.cjs.entry.js +9 -9
  40. package/dist/cjs/zonos-language-select_2.cjs.entry.js +2 -2
  41. package/dist/cjs/zonos-logo.cjs.entry.js +1 -1
  42. package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +5 -5
  43. package/dist/cjs/zonos-store-credit.cjs.entry.js +6 -6
  44. package/dist/cjs/zonos-stripe-input.cjs.entry.js +3 -3
  45. package/dist/cjs/zonos-text.cjs.entry.js +1 -1
  46. package/dist/cjs/zonos-v-stack.cjs.entry.js +1 -1
  47. package/dist/cjs/{zonosStore-f5a61112.js → zonosStore-1c517e55.js} +0 -1
  48. package/dist/collection/components/hello/zonos-hello/zonos-hello.js +35 -12
  49. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +43 -10
  50. package/dist/collection/components/store/hello/localization.js +76 -19
  51. package/dist/collection/components/store/zonosStore.js +0 -1
  52. package/dist/collection/types/generated/graphql.internal.types.js +446 -0
  53. package/dist/esm/{cart-55b8dd7c.js → cart-76fb528f.js} +4 -4
  54. package/dist/esm/{debounce-efc0e473.js → debounce-8faafc9f.js} +1 -1
  55. package/dist/esm/{getBorderRadius-c21a42e5.js → getBorderRadius-66de1b16.js} +1 -1
  56. package/dist/esm/{getContrastColor-98f0d1d5.js → getContrastColor-e14f95a7.js} +2 -2
  57. package/dist/esm/{hasInclusivePrice-ddae18fd.js → hasInclusivePrice-275b1048.js} +1 -1
  58. package/dist/esm/index.js +7 -7
  59. package/dist/esm/{invoice-dbe85a18.js → invoice-9efcb941.js} +3 -3
  60. package/dist/esm/{isCollectMobileTablet-8af0d16d.js → isCollectMobileTablet-a7e5b909.js} +3 -3
  61. package/dist/esm/{isContrastColor-c17e83c9.js → isContrastColor-f9e65e70.js} +1 -1
  62. package/dist/esm/{isDarkColor-3537021b.js → isDarkColor-8092a9fb.js} +1 -1
  63. package/dist/esm/{localization-d11c973f.js → localization-76ce3e29.js} +77 -20
  64. package/dist/esm/{paypal-f87fbee0.js → paypal-75c5c66d.js} +5 -5
  65. package/dist/esm/{placeTestOrder-8e8e97be.js → placeTestOrder-22633bf2.js} +2 -2
  66. package/dist/esm/{renderCheckoutCurrency-45c74af2.js → renderCheckoutCurrency-d27b0082.js} +2 -2
  67. package/dist/esm/{submitGtag-13de9f1f.js → submitGtag-543058f9.js} +1 -1
  68. package/dist/esm/{throttle-0504ba2c.js → throttle-5a66b4fd.js} +2 -2
  69. package/dist/esm/{updateCheckoutSessionAttributes-b9f7e982.js → updateCheckoutSessionAttributes-8f3f932e.js} +1 -1
  70. package/dist/esm/zonos-address-display_8.entry.js +7 -7
  71. package/dist/esm/zonos-address_4.entry.js +7 -7
  72. package/dist/esm/zonos-badge.entry.js +1 -1
  73. package/dist/esm/zonos-banner.entry.js +1 -1
  74. package/dist/esm/zonos-button_3.entry.js +3 -3
  75. package/dist/esm/zonos-card_5.entry.js +8 -8
  76. package/dist/esm/zonos-cart-items_12.entry.js +14 -14
  77. package/dist/esm/zonos-checkbox_2.entry.js +3 -3
  78. package/dist/esm/zonos-checkout.entry.js +10 -10
  79. package/dist/esm/zonos-collapse.entry.js +1 -1
  80. package/dist/esm/zonos-collect-cart-items_3.entry.js +5 -5
  81. package/dist/esm/zonos-collect-finish_6.entry.js +11 -11
  82. package/dist/esm/zonos-collect.entry.js +9 -9
  83. package/dist/esm/zonos-controller.entry.js +6 -6
  84. package/dist/esm/zonos-country-flag.entry.js +2 -2
  85. package/dist/esm/zonos-country-select_4.entry.js +3 -3
  86. package/dist/esm/zonos-hello-dialog.entry.js +46 -13
  87. package/dist/esm/zonos-hello.entry.js +38 -15
  88. package/dist/esm/zonos-input.entry.js +2 -2
  89. package/dist/esm/zonos-invoice-cart-items_2.entry.js +7 -7
  90. package/dist/esm/zonos-invoice-finish_5.entry.js +11 -11
  91. package/dist/esm/zonos-invoice.entry.js +9 -9
  92. package/dist/esm/zonos-language-select_2.entry.js +2 -2
  93. package/dist/esm/zonos-logo.entry.js +1 -1
  94. package/dist/esm/zonos-shipping-rich-radio.entry.js +5 -5
  95. package/dist/esm/zonos-store-credit.entry.js +6 -6
  96. package/dist/esm/zonos-stripe-input.entry.js +3 -3
  97. package/dist/esm/zonos-text.entry.js +1 -1
  98. package/dist/esm/zonos-v-stack.entry.js +1 -1
  99. package/dist/esm/{zonosStore-5242a58d.js → zonosStore-f1d45eac.js} +0 -1
  100. package/dist/esm-es5/{cart-55b8dd7c.js → cart-76fb528f.js} +1 -1
  101. package/dist/esm-es5/{debounce-efc0e473.js → debounce-8faafc9f.js} +1 -1
  102. package/dist/esm-es5/{getBorderRadius-c21a42e5.js → getBorderRadius-66de1b16.js} +1 -1
  103. package/dist/esm-es5/{getContrastColor-98f0d1d5.js → getContrastColor-e14f95a7.js} +1 -1
  104. package/dist/esm-es5/{hasInclusivePrice-ddae18fd.js → hasInclusivePrice-275b1048.js} +1 -1
  105. package/dist/esm-es5/index.js +1 -1
  106. package/dist/esm-es5/{invoice-dbe85a18.js → invoice-9efcb941.js} +1 -1
  107. package/dist/esm-es5/{isCollectMobileTablet-8af0d16d.js → isCollectMobileTablet-a7e5b909.js} +1 -1
  108. package/dist/esm-es5/{isContrastColor-c17e83c9.js → isContrastColor-f9e65e70.js} +1 -1
  109. package/dist/esm-es5/{isDarkColor-3537021b.js → isDarkColor-8092a9fb.js} +1 -1
  110. package/dist/esm-es5/{localization-d11c973f.js → localization-76ce3e29.js} +1 -1
  111. package/dist/esm-es5/paypal-75c5c66d.js +17 -0
  112. package/dist/esm-es5/{placeTestOrder-8e8e97be.js → placeTestOrder-22633bf2.js} +1 -1
  113. package/dist/esm-es5/{renderCheckoutCurrency-45c74af2.js → renderCheckoutCurrency-d27b0082.js} +1 -1
  114. package/dist/esm-es5/{submitGtag-13de9f1f.js → submitGtag-543058f9.js} +1 -1
  115. package/dist/esm-es5/{throttle-0504ba2c.js → throttle-5a66b4fd.js} +1 -1
  116. package/dist/esm-es5/{updateCheckoutSessionAttributes-b9f7e982.js → updateCheckoutSessionAttributes-8f3f932e.js} +1 -1
  117. package/dist/esm-es5/zonos-address-display_8.entry.js +1 -1
  118. package/dist/esm-es5/zonos-address_4.entry.js +1 -1
  119. package/dist/esm-es5/zonos-badge.entry.js +1 -1
  120. package/dist/esm-es5/zonos-banner.entry.js +1 -1
  121. package/dist/esm-es5/zonos-button_3.entry.js +1 -1
  122. package/dist/esm-es5/zonos-card_5.entry.js +1 -1
  123. package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
  124. package/dist/esm-es5/zonos-checkbox_2.entry.js +1 -1
  125. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  126. package/dist/esm-es5/zonos-collapse.entry.js +1 -1
  127. package/dist/esm-es5/zonos-collect-cart-items_3.entry.js +1 -1
  128. package/dist/esm-es5/zonos-collect-finish_6.entry.js +1 -1
  129. package/dist/esm-es5/zonos-collect.entry.js +1 -1
  130. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  131. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  132. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
  133. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  134. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  135. package/dist/esm-es5/zonos-input.entry.js +1 -1
  136. package/dist/esm-es5/zonos-invoice-cart-items_2.entry.js +1 -1
  137. package/dist/esm-es5/zonos-invoice-finish_5.entry.js +1 -1
  138. package/dist/esm-es5/zonos-invoice.entry.js +1 -1
  139. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  140. package/dist/esm-es5/zonos-logo.entry.js +1 -1
  141. package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
  142. package/dist/esm-es5/zonos-store-credit.entry.js +1 -1
  143. package/dist/esm-es5/zonos-stripe-input.entry.js +1 -1
  144. package/dist/esm-es5/zonos-text.entry.js +1 -1
  145. package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
  146. package/dist/esm-es5/{zonosStore-5242a58d.js → zonosStore-f1d45eac.js} +1 -1
  147. package/dist/scripts/index.d.ts +88 -8
  148. package/dist/scripts/index.js +1 -1
  149. package/dist/scripts/loadZonos.js +1 -1
  150. package/dist/scripts/zonos.js +1 -1
  151. package/dist/types/components/hello/zonos-hello-dialog/zonos-hello-dialog.d.ts +6 -0
  152. package/dist/types/components/utils/api/getLocaleMessages.d.ts +1 -1
  153. package/dist/types/scripts/cart/_setupCartDataWithSettings.d.ts +18 -6
  154. package/dist/types/types/generated/graphql.frontend.types.d.ts +1 -1
  155. package/dist/types/types/generated/graphql.frontend.types.ts +1 -1
  156. package/dist/types/types/generated/graphql.internal.types.d.ts +532 -11
  157. package/dist/types/types/generated/graphql.internal.types.ts +600 -11
  158. package/dist/types/types/hello/HelloConfig.d.ts +22 -3
  159. package/dist/zonos-elements/index.esm.js +1 -1
  160. package/dist/zonos-elements/{p-6b45e9f3.system.entry.js → p-055c8d6c.system.entry.js} +1 -1
  161. package/dist/zonos-elements/p-09307a03.js +1 -0
  162. package/dist/zonos-elements/{p-f36e907e.entry.js → p-0a9741f7.entry.js} +1 -1
  163. package/dist/zonos-elements/{p-9b42f0ad.system.entry.js → p-10da499b.system.entry.js} +1 -1
  164. package/dist/zonos-elements/{p-8d5f928c.system.entry.js → p-1368dce7.system.entry.js} +1 -1
  165. package/dist/zonos-elements/{p-52b70520.system.entry.js → p-14d35979.system.entry.js} +1 -1
  166. package/dist/zonos-elements/{p-e2adf04b.system.js → p-1523f6a8.system.js} +1 -1
  167. package/dist/zonos-elements/{p-ac30b7a8.system.js → p-15ef7644.system.js} +1 -1
  168. package/dist/zonos-elements/{p-f9ffff4e.entry.js → p-1661f938.entry.js} +1 -1
  169. package/dist/zonos-elements/{p-ab25379f.system.js → p-17a8a514.system.js} +1 -1
  170. package/dist/zonos-elements/{p-72de2fdc.system.entry.js → p-1e9e284e.system.entry.js} +1 -1
  171. package/dist/zonos-elements/{p-93c64387.js → p-1ebb59a3.js} +1 -1
  172. package/dist/zonos-elements/{p-3a8925e9.js → p-24f41959.js} +1 -1
  173. package/dist/zonos-elements/p-29b60bf3.system.js +1 -1
  174. package/dist/zonos-elements/{p-89757efe.entry.js → p-29d16ad0.entry.js} +1 -1
  175. package/dist/zonos-elements/{p-b439d38f.system.entry.js → p-2b2b1c8c.system.entry.js} +1 -1
  176. package/dist/zonos-elements/{p-8a593061.entry.js → p-2d854a75.entry.js} +1 -1
  177. package/dist/zonos-elements/{p-fbd44c55.system.js → p-2ec799e4.system.js} +1 -1
  178. package/dist/zonos-elements/{p-908f13ae.js → p-2f924331.js} +1 -1
  179. package/dist/zonos-elements/{p-4aefd668.entry.js → p-2fa41e93.entry.js} +1 -1
  180. package/dist/zonos-elements/{p-dbb3db89.system.entry.js → p-313b87f3.system.entry.js} +1 -1
  181. package/dist/zonos-elements/{p-c9d4eb42.entry.js → p-3576d900.entry.js} +1 -1
  182. package/dist/zonos-elements/{p-3f141999.system.js → p-3600280d.system.js} +1 -1
  183. package/dist/zonos-elements/{p-4f7d64f6.js → p-387f6a4d.js} +1 -1
  184. package/dist/zonos-elements/p-3ee8496e.js +1 -0
  185. package/dist/zonos-elements/{p-a1c476d6.system.entry.js → p-3ff736f7.system.entry.js} +1 -1
  186. package/dist/zonos-elements/{p-8ccf97ce.entry.js → p-425f747b.entry.js} +1 -1
  187. package/dist/zonos-elements/{p-8c6624b6.system.js → p-43a6e469.system.js} +1 -1
  188. package/dist/zonos-elements/{p-fc1c7fe5.system.entry.js → p-4b138a6e.system.entry.js} +1 -1
  189. package/dist/zonos-elements/{p-ae397ff8.system.entry.js → p-50b32476.system.entry.js} +1 -1
  190. package/dist/zonos-elements/p-5182e492.entry.js +1 -0
  191. package/dist/zonos-elements/{p-dba635e6.entry.js → p-5262f6e8.entry.js} +1 -1
  192. package/dist/zonos-elements/p-53fe581b.system.js +1 -0
  193. package/dist/zonos-elements/{p-70e069d3.system.js → p-567abb43.system.js} +1 -1
  194. package/dist/zonos-elements/{p-f830f800.js → p-5beab541.js} +1 -1
  195. package/dist/zonos-elements/{p-2eeda8a9.system.entry.js → p-5fa3d1c8.system.entry.js} +1 -1
  196. package/dist/zonos-elements/{p-d18a2b2c.system.js → p-61be7d98.system.js} +1 -1
  197. package/dist/zonos-elements/{p-70c8a47d.system.entry.js → p-62dbc5f8.system.entry.js} +1 -1
  198. package/dist/zonos-elements/{p-2cb5ef7d.system.entry.js → p-6cf8fe49.system.entry.js} +1 -1
  199. package/dist/zonos-elements/{p-5343c32b.system.js → p-6d36b307.system.js} +1 -1
  200. package/dist/zonos-elements/p-6e50f6f5.entry.js +1 -0
  201. package/dist/zonos-elements/{p-b85d4286.entry.js → p-7157a5a3.entry.js} +1 -1
  202. package/dist/zonos-elements/{p-93d6e13f.entry.js → p-733f118d.entry.js} +1 -1
  203. package/dist/zonos-elements/{p-8f1ab25c.system.entry.js → p-770d414a.system.entry.js} +1 -1
  204. package/dist/zonos-elements/{p-befad3c4.entry.js → p-788c6839.entry.js} +1 -1
  205. package/dist/zonos-elements/{p-50d31f4f.entry.js → p-791e13e7.entry.js} +1 -1
  206. package/dist/zonos-elements/{p-7427dd1e.entry.js → p-7a379538.entry.js} +1 -1
  207. package/dist/zonos-elements/p-7d9bbdc8.js +1 -0
  208. package/dist/zonos-elements/{p-32365d6a.system.entry.js → p-8585c761.system.entry.js} +1 -1
  209. package/dist/zonos-elements/{p-d280e9b6.system.js → p-867d05d7.system.js} +1 -1
  210. package/dist/zonos-elements/p-868a8667.js +1 -0
  211. package/dist/zonos-elements/p-8bce79f4.system.js +1 -0
  212. package/dist/zonos-elements/{p-18d411c3.system.entry.js → p-9161f10d.system.entry.js} +1 -1
  213. package/dist/zonos-elements/p-944bf0e7.js +1 -0
  214. package/dist/zonos-elements/p-9460919d.entry.js +1 -0
  215. package/dist/zonos-elements/{p-d155b9c6.entry.js → p-99d92a84.entry.js} +1 -1
  216. package/dist/zonos-elements/{p-1c9e9692.system.entry.js → p-9a9c9441.system.entry.js} +1 -1
  217. package/dist/zonos-elements/{p-c66649fe.system.entry.js → p-9c97671b.system.entry.js} +1 -1
  218. package/dist/zonos-elements/{p-225957b9.entry.js → p-9cff66a7.entry.js} +1 -1
  219. package/dist/zonos-elements/{p-00728af1.entry.js → p-a0f6910c.entry.js} +1 -1
  220. package/dist/zonos-elements/{p-99e1734a.js → p-a18adf27.js} +1 -1
  221. package/dist/zonos-elements/{p-08830a50.system.entry.js → p-a4b6865d.system.entry.js} +1 -1
  222. package/dist/zonos-elements/{p-5d0b0126.system.entry.js → p-a89096d6.system.entry.js} +1 -1
  223. package/dist/zonos-elements/{p-53275a0d.system.entry.js → p-afca19b0.system.entry.js} +1 -1
  224. package/dist/zonos-elements/{p-aad014df.entry.js → p-afdb4445.entry.js} +1 -1
  225. package/dist/zonos-elements/{p-664aff48.system.entry.js → p-b34f1336.system.entry.js} +1 -1
  226. package/dist/zonos-elements/{p-2aa44601.entry.js → p-bb6e7e9e.entry.js} +1 -1
  227. package/dist/zonos-elements/{p-939ba2a5.entry.js → p-bb785f33.entry.js} +1 -1
  228. package/dist/zonos-elements/{p-7d4a1565.entry.js → p-bba9af4c.entry.js} +1 -1
  229. package/dist/zonos-elements/{p-5f628e57.entry.js → p-bcbbe867.entry.js} +1 -1
  230. package/dist/zonos-elements/{p-3fae811a.js → p-bd938f80.js} +1 -1
  231. package/dist/zonos-elements/{p-f6733ffb.js → p-bdb3f7a2.js} +2 -2
  232. package/dist/zonos-elements/{p-ed61dedd.system.entry.js → p-c7ecef98.system.entry.js} +1 -1
  233. package/dist/zonos-elements/p-c85e988d.system.js +1 -0
  234. package/dist/zonos-elements/{p-ee217693.entry.js → p-c908a7a3.entry.js} +1 -1
  235. package/dist/zonos-elements/p-cd563d65.system.js +1 -0
  236. package/dist/zonos-elements/{p-ddcbea81.entry.js → p-cdbb50cf.entry.js} +1 -1
  237. package/dist/zonos-elements/{p-4e4fa1fb.system.entry.js → p-d004565d.system.entry.js} +1 -1
  238. package/dist/zonos-elements/{p-fe6cc354.entry.js → p-d30e8c3a.entry.js} +1 -1
  239. package/dist/zonos-elements/{p-234f0339.system.entry.js → p-dfb4360d.system.entry.js} +1 -1
  240. package/dist/zonos-elements/{p-3fbd9cc0.system.js → p-e25e0b4b.system.js} +1 -1
  241. package/dist/zonos-elements/{p-0d18d94b.entry.js → p-e55bc187.entry.js} +1 -1
  242. package/dist/zonos-elements/{p-59025df9.system.entry.js → p-e5f48239.system.entry.js} +1 -1
  243. package/dist/zonos-elements/{p-2a28c7ac.system.js → p-e6168c82.system.js} +1 -1
  244. package/dist/zonos-elements/p-e6726a50.system.js +1 -0
  245. package/dist/zonos-elements/{p-b004146f.entry.js → p-e749fb81.entry.js} +1 -1
  246. package/dist/zonos-elements/{p-57b5d3e3.system.js → p-e8a68ce7.system.js} +1 -1
  247. package/dist/zonos-elements/p-ed03b7fd.js +1 -0
  248. package/dist/zonos-elements/{p-058f6124.js → p-ed9385f4.js} +1 -1
  249. package/dist/zonos-elements/{p-8608c123.system.entry.js → p-edb0306c.system.entry.js} +1 -1
  250. package/dist/zonos-elements/p-f68ce554.js +1 -0
  251. package/dist/zonos-elements/{p-67897a0d.js → p-f6922df5.js} +1 -1
  252. package/dist/zonos-elements/{p-f0938b51.system.entry.js → p-f7ddd288.system.entry.js} +1 -1
  253. package/dist/zonos-elements/{p-38881641.system.entry.js → p-fbc274a8.system.entry.js} +1 -1
  254. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  255. package/package.json +1 -1
  256. package/dist/esm-es5/paypal-f87fbee0.js +0 -17
  257. package/dist/zonos-elements/p-179bbeae.js +0 -1
  258. package/dist/zonos-elements/p-34d10122.js +0 -1
  259. package/dist/zonos-elements/p-399f5ad6.entry.js +0 -1
  260. package/dist/zonos-elements/p-53db5f85.system.js +0 -1
  261. package/dist/zonos-elements/p-7501c637.system.js +0 -1
  262. package/dist/zonos-elements/p-7d7ffb42.js +0 -1
  263. package/dist/zonos-elements/p-959918fe.system.js +0 -1
  264. package/dist/zonos-elements/p-9631c373.system.js +0 -1
  265. package/dist/zonos-elements/p-9d44fef6.system.js +0 -1
  266. package/dist/zonos-elements/p-d14e5c81.entry.js +0 -1
  267. package/dist/zonos-elements/p-ddde268d.entry.js +0 -1
  268. package/dist/zonos-elements/p-def2d465.js +0 -1
  269. package/dist/zonos-elements/p-e219d011.js +0 -1
  270. package/dist/zonos-elements/p-ee2c7a1e.js +0 -1
  271. package/dist/zonos-elements/p-fa0c5017.js +0 -1
@@ -1,4 +1,4 @@
1
- import{c as e,z as o}from"./p-058f6124.js";import{t as n,y as r,b as t,d as a,v as i,w as s,x as c,z as l,r as u,h as d,F as p}from"./p-3fae811a.js";import{t as f,s as y}from"./p-99e1734a.js";import{h as v,l as h,j as w}from"./p-41dd1cb8.js";import{i as b}from"./p-def2d465.js";import{l as m}from"./p-0a377722.js";import{s as P}from"./p-4f7d64f6.js";
1
+ import{c as e,z as o}from"./p-ed9385f4.js";import{t as n,y as r,b as t,d as a,v as i,w as s,x as c,z as l,r as u,h as d,F as p}from"./p-bd938f80.js";import{t as f,s as y}from"./p-a18adf27.js";import{h as v,l as h,j as b}from"./p-41dd1cb8.js";import{i as w}from"./p-7d9bbdc8.js";import{l as m}from"./p-0a377722.js";import{s as P}from"./p-387f6a4d.js";
2
2
  /*!
3
3
  * paypal-js v8.4.2 (2025-09-04T17:21:30.135Z)
4
4
  * Copyright 2020-present, PayPal, Inc. All rights reserved.
@@ -14,4 +14,4 @@ import{c as e,z as o}from"./p-058f6124.js";import{t as n,y as r,b as t,d as a,v
14
14
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
15
  * See the License for the specific language governing permissions and
16
16
  * limitations under the License.
17
- */function j(e,o){void 0===o&&(o={});var n=document.createElement("script");return n.src=e,Object.keys(o).forEach((function(e){n.setAttribute(e,o[e]),"data-csp-nonce"===e&&n.setAttribute("nonce",o["data-csp-nonce"])})),n}function k(e,o){if(void 0===o&&(o=Promise),S(e,o),"undefined"==typeof document)return o.resolve(null);var n=function(e){var o,n,r=e.sdkBaseUrl,t=e.environment,a=function(e,o){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&o.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var t=0;for(r=Object.getOwnPropertySymbols(e);t<r.length;t++)o.indexOf(r[t])<0&&Object.prototype.propertyIsEnumerable.call(e,r[t])&&(n[r[t]]=e[r[t]])}return n}(e,["sdkBaseUrl","environment"]),i=r||function(e){return"sandbox"===e?"https://www.sandbox.paypal.com/sdk/js":"https://www.paypal.com/sdk/js"}(t),s=a,c=Object.keys(s).filter((function(e){return null!=s[e]&&""!==s[e]})).reduce((function(e,o){var n=s[o].toString();return"data"===(o=o.replace(/[A-Z]+(?![a-z])|[A-Z]/g,(function(e,o){return(o?"-":"")+e.toLowerCase()}))).substring(0,4)||"crossorigin"===o?e.attributes[o]=n:e.queryParams[o]=n,e}),{queryParams:{},attributes:{}}),l=c.queryParams,u=c.attributes;return l["merchant-id"]&&-1!==l["merchant-id"].indexOf(",")&&(u["data-merchant-id"]=l["merchant-id"],l["merchant-id"]="*"),{url:"".concat(i,"?").concat((o=l,n="",Object.keys(o).forEach((function(e){0!==n.length&&(n+="&"),n+=e+"="+o[e]})),n)),attributes:u}}(e),r=n.url,t=n.attributes,a=t["data-namespace"]||"paypal",i=I(a);return t["data-js-sdk-library"]||(t["data-js-sdk-library"]="paypal-js"),function(e,o){var n=document.querySelector('script[src="'.concat(e,'"]'));if(null===n)return null;var r=j(e,o),t=n.cloneNode();if(delete t.dataset.uidAuto,Object.keys(t.dataset).length!==Object.keys(r.dataset).length)return null;var a=!0;return Object.keys(t.dataset).forEach((function(e){t.dataset[e]!==r.dataset[e]&&(a=!1)})),a?n:null}(r,t)&&i?o.resolve(i):function(e,o){void 0===o&&(o=Promise),S(e,o);var n=e.url,r=e.attributes;if("string"!=typeof n||0===n.length)throw new Error("Invalid url.");if(void 0!==r&&"object"!=typeof r)throw new Error("Expected attributes to be an object.");return new o((function(e,o){if("undefined"==typeof document)return e();!function(e){var o=e.onSuccess,n=e.onError,r=j(e.url,e.attributes);r.onerror=n,r.onload=o,document.head.insertBefore(r,document.head.firstElementChild)}({url:n,attributes:r,onSuccess:function(){return e()},onError:function(){var e=new Error('The script "'.concat(n,'" failed to load. Check the HTTP status code and response body in DevTools to learn more.'));return o(e)}})}))}({url:r,attributes:t},o).then((function(){var e=I(a);if(e)return e;throw new Error("The window.".concat(a," global variable is not available."))}))}function I(e){return window[e]}function S(e,o){if("object"!=typeof e||null===e)throw new Error("Expected an options object.");var n=e.environment;if(n&&"production"!==n&&"sandbox"!==n)throw new Error('The `environment` option must be either "production" or "sandbox".');if(void 0!==o&&"function"!=typeof o)throw new Error("Expected PromisePonyfill to be a function.")}"function"==typeof SuppressedError&&SuppressedError;const{onChange:E,reset:g,state:A}=e((()=>({intent:"capture",orderIdCreated:null,paypal:null,paypalButtons:[],paypalClientId:"",paypalErrorMessage:null}))),O=({checkoutSessionId:e,onPaypalFail:y,onPaypalSessionDone:m,overrideBorderRaidus:j,overridePrimaryColor:k})=>({createOrder:async()=>{n({checkoutSessionId:e,eventName:"checkout_paymentInfoCompleted",metadata:{paymentMethod:"paypal"}});const o=await r();if(!o.valid)return A.paypalErrorMessage=o.errorMessage,t.hasPaymentError=!1,t.customErrorMessage=null,P({event:"zonos-checkout-payment-fail",metadata:{checkoutSessionId:e}}),null==y||y(),"";try{A.paypalErrorMessage=null,a.inventoryCheckErrorMessage=null;try{a.inventoryCheckErrorMessage=await i()}catch(e){a.inventoryCheckErrorMessage=f("Unable to check inventory. Please try again.")}if(a.inventoryCheckErrorMessage)return"";if(p()>0){const e=await s();if(!e.success)return A.paypalErrorMessage=e.error||f("Unable to apply store credit. Please try again."),null==y||y(),""}if(c()){const e=await l();return e.success?(null==m||m({orderId:e.orderId||""}),u(),d(),""):(A.paypalErrorMessage=e.error||f("Unable to place order with store credit. Please try again."),null==y||y(),"")}return await(async({checkoutSessionId:e})=>{var o,n;const r=A.intent.toUpperCase(),{errors:t,json:a}=await(async({checkoutSessionId:e,intent:o})=>{const{errors:n,json:r}=await v("/api/zonos-elements/create-paypal-order",{body:{checkoutSessionId:e,intent:o},method:"POST"});return{errors:n,json:r}})({checkoutSessionId:e,intent:r}),i=null===(o=null==a?void 0:a.paypalOrderCreate)||void 0===o?void 0:o.paypalOrderId;if(t.length||!i)throw new Error((null===(n=t.find(Boolean))||void 0===n?void 0:n.message)||"An unexpected error occurred when creating paypal order.");return i})({checkoutSessionId:e})}catch(o){return h("Failed to create paypal order",o),A.paypalErrorMessage=f("Failed to create PayPal order. Please try again, or consider using an alternative method."),t.hasPaymentError=!1,t.customErrorMessage=null,P({event:"zonos-checkout-payment-fail",metadata:{checkoutSessionId:e}}),null==y||y(),""}},onApprove:async()=>{try{A.paypalErrorMessage=null,P({event:"zonos-checkout-payment-info",metadata:{checkoutSessionId:e,paymentMethod:"paypal"}});const o=await(async({checkoutSessionId:e,paypalMockResponse:o})=>{var n,r;const{errors:t,json:a}=await(async({checkoutSessionId:e,paypalMockResponse:o})=>{const{errors:n,json:r}=await v("/api/zonos-elements/capture-paypal-order",{body:{checkoutSessionId:e,paypalMockResponse:o},method:"POST"});return{errors:n,json:r}})({checkoutSessionId:e,paypalMockResponse:o}),i=null===(n=null==a?void 0:a.paypalOrderCapture.order)||void 0===n?void 0:n.id;if(t.length||!i)throw new Error((null===(r=t.find(Boolean))||void 0===r?void 0:r.message)||f("An unexpected error occurred when processing PayPal order."));return i})({checkoutSessionId:e,paypalMockResponse:window.Zonos._paypalMockResponse});A.orderIdCreated=o,null==m||m({orderId:o}),u(),d()}catch(e){if(h("==== Failed to capture paypal order",e),e instanceof Error)return(({error:e})=>{var o;const n=w(e.message),r=null===(o=null==n?void 0:n.errors.find(Boolean))||void 0===o?void 0:o.message,t=(null==r?void 0:r.match(/\[(.*?)\] (.*)/i))||[];t||(A.paypalErrorMessage=f("An unexpected error occurred when processing PayPal order."));const a=t[2]||f("An unexpected error occurred when processing PayPal order.");A.paypalErrorMessage=a})({error:e});null==y||y()}},style:{borderRadius:"SHARP"===j?0:10,color:b({backgroundColor1:"#ffc33a",backgroundColor2:k||o.appearance.colorPrimary||""})?"gold":"blue",shape:"rect"}}),x=async({currency:e})=>{var n;if(!(null===(n=o.checkoutSettings.externalPaymentMethods)||void 0===n?void 0:n.find((e=>"PAYPAL"===e.type&&"ENABLED"===e.status))))return void m("=== Paypal is disabled for this store","warn");const r=o.checkoutSettings.externalServiceTokens.find((e=>"PAYPAL_CLIENT_ID"===e.type));if(!r)return void m("Failed to load paypal -- missing paypal publishable key","warn");const t=o.zonosMode&&"production"!==o.zonosMode||"LIVE"!==o.checkoutSettings.mode?"sandbox":"production";A.intent=o.checkoutSettings.captureDelay&&o.checkoutSettings.captureDelay>0?"authorize":"capture",m("==== Paypal order intent","info",A.intent),window.Zonos.paypal=await k({clientId:r.token,currency:e,environment:t,intent:A.intent}),A.paypal=window.Zonos.paypal,m("==== Paypal script loaded")},B=e=>{var o;const n=window.Zonos.paypal;if(!n)return m("Paypal is not available"),null;const r=y.checkoutSessionId;if(!r)return m("Paypal is not available due to checkoutSessionId is not available"),null;m("==== Loading Paypal buttons"),A.paypalButtons.length&&(A.paypalButtons.forEach((async e=>{await e.close()})),A.paypalButtons=[]);const t=[null===(o=n.FUNDING)||void 0===o?void 0:o.PAYPAL].filter(Boolean);return A.paypalButtons=t.map((o=>{var t;let a=null;try{a=(null===(t=n.Buttons)||void 0===t?void 0:t.call(n,Object.assign(Object.assign({},O(Object.assign({checkoutSessionId:r,fundingSource:o},e))),{fundingSource:o})))||null}catch(e){m(`===== Failed to load paypal's "${o}" button`,"warn",e)}return(null==a?void 0:a.isEligible())?(m(`==== Paypal button ${o} loaded`),a):null})).filter(Boolean),A.paypalButtons},z=()=>{var e,n;return"ENABLED"===(null===(n=null===(e=o.checkoutSettings.externalPaymentMethods)||void 0===e?void 0:e.find((e=>"PAYPAL"===e.type)))||void 0===n?void 0:n.status)||!!A.paypalButtons.length};export{A as a,x as b,g as c,B as d,E as e,z as p}
17
+ */function j(e,o){void 0===o&&(o={});var n=document.createElement("script");return n.src=e,Object.keys(o).forEach((function(e){n.setAttribute(e,o[e]),"data-csp-nonce"===e&&n.setAttribute("nonce",o["data-csp-nonce"])})),n}function k(e,o){if(void 0===o&&(o=Promise),S(e,o),"undefined"==typeof document)return o.resolve(null);var n=function(e){var o,n,r=e.sdkBaseUrl,t=e.environment,a=function(e,o){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&o.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var t=0;for(r=Object.getOwnPropertySymbols(e);t<r.length;t++)o.indexOf(r[t])<0&&Object.prototype.propertyIsEnumerable.call(e,r[t])&&(n[r[t]]=e[r[t]])}return n}(e,["sdkBaseUrl","environment"]),i=r||function(e){return"sandbox"===e?"https://www.sandbox.paypal.com/sdk/js":"https://www.paypal.com/sdk/js"}(t),s=a,c=Object.keys(s).filter((function(e){return null!=s[e]&&""!==s[e]})).reduce((function(e,o){var n=s[o].toString();return"data"===(o=o.replace(/[A-Z]+(?![a-z])|[A-Z]/g,(function(e,o){return(o?"-":"")+e.toLowerCase()}))).substring(0,4)||"crossorigin"===o?e.attributes[o]=n:e.queryParams[o]=n,e}),{queryParams:{},attributes:{}}),l=c.queryParams,u=c.attributes;return l["merchant-id"]&&-1!==l["merchant-id"].indexOf(",")&&(u["data-merchant-id"]=l["merchant-id"],l["merchant-id"]="*"),{url:"".concat(i,"?").concat((o=l,n="",Object.keys(o).forEach((function(e){0!==n.length&&(n+="&"),n+=e+"="+o[e]})),n)),attributes:u}}(e),r=n.url,t=n.attributes,a=t["data-namespace"]||"paypal",i=I(a);return t["data-js-sdk-library"]||(t["data-js-sdk-library"]="paypal-js"),function(e,o){var n=document.querySelector('script[src="'.concat(e,'"]'));if(null===n)return null;var r=j(e,o),t=n.cloneNode();if(delete t.dataset.uidAuto,Object.keys(t.dataset).length!==Object.keys(r.dataset).length)return null;var a=!0;return Object.keys(t.dataset).forEach((function(e){t.dataset[e]!==r.dataset[e]&&(a=!1)})),a?n:null}(r,t)&&i?o.resolve(i):function(e,o){void 0===o&&(o=Promise),S(e,o);var n=e.url,r=e.attributes;if("string"!=typeof n||0===n.length)throw new Error("Invalid url.");if(void 0!==r&&"object"!=typeof r)throw new Error("Expected attributes to be an object.");return new o((function(e,o){if("undefined"==typeof document)return e();!function(e){var o=e.onSuccess,n=e.onError,r=j(e.url,e.attributes);r.onerror=n,r.onload=o,document.head.insertBefore(r,document.head.firstElementChild)}({url:n,attributes:r,onSuccess:function(){return e()},onError:function(){var e=new Error('The script "'.concat(n,'" failed to load. Check the HTTP status code and response body in DevTools to learn more.'));return o(e)}})}))}({url:r,attributes:t},o).then((function(){var e=I(a);if(e)return e;throw new Error("The window.".concat(a," global variable is not available."))}))}function I(e){return window[e]}function S(e,o){if("object"!=typeof e||null===e)throw new Error("Expected an options object.");var n=e.environment;if(n&&"production"!==n&&"sandbox"!==n)throw new Error('The `environment` option must be either "production" or "sandbox".');if(void 0!==o&&"function"!=typeof o)throw new Error("Expected PromisePonyfill to be a function.")}"function"==typeof SuppressedError&&SuppressedError;const{onChange:E,reset:g,state:A}=e((()=>({intent:"capture",orderIdCreated:null,paypal:null,paypalButtons:[],paypalClientId:"",paypalErrorMessage:null}))),O=({checkoutSessionId:e,onPaypalFail:y,onPaypalSessionDone:m,overrideBorderRaidus:j,overridePrimaryColor:k})=>({createOrder:async()=>{n({checkoutSessionId:e,eventName:"checkout_paymentInfoCompleted",metadata:{paymentMethod:"paypal"}});const o=await r();if(!o.valid)return A.paypalErrorMessage=o.errorMessage,t.hasPaymentError=!1,t.customErrorMessage=null,P({event:"zonos-checkout-payment-fail",metadata:{checkoutSessionId:e}}),null==y||y(),"";try{A.paypalErrorMessage=null,a.inventoryCheckErrorMessage=null;try{a.inventoryCheckErrorMessage=await i()}catch(e){a.inventoryCheckErrorMessage=f("Unable to check inventory. Please try again.")}if(a.inventoryCheckErrorMessage)return"";if(p()>0){const e=await s();if(!e.success)return A.paypalErrorMessage=e.error||f("Unable to apply store credit. Please try again."),null==y||y(),""}if(c()){const e=await l();return e.success?(null==m||m({orderId:e.orderId||""}),u(),d(),""):(A.paypalErrorMessage=e.error||f("Unable to place order with store credit. Please try again."),null==y||y(),"")}return await(async({checkoutSessionId:e})=>{var o,n;const r=A.intent.toUpperCase(),{errors:t,json:a}=await(async({checkoutSessionId:e,intent:o})=>{const{errors:n,json:r}=await v("/api/zonos-elements/create-paypal-order",{body:{checkoutSessionId:e,intent:o},method:"POST"});return{errors:n,json:r}})({checkoutSessionId:e,intent:r}),i=null===(o=null==a?void 0:a.paypalOrderCreate)||void 0===o?void 0:o.paypalOrderId;if(t.length||!i)throw new Error((null===(n=t.find(Boolean))||void 0===n?void 0:n.message)||"An unexpected error occurred when creating paypal order.");return i})({checkoutSessionId:e})}catch(o){return h("Failed to create paypal order",o),A.paypalErrorMessage=f("Failed to create PayPal order. Please try again, or consider using an alternative method."),t.hasPaymentError=!1,t.customErrorMessage=null,P({event:"zonos-checkout-payment-fail",metadata:{checkoutSessionId:e}}),null==y||y(),""}},onApprove:async()=>{try{A.paypalErrorMessage=null,P({event:"zonos-checkout-payment-info",metadata:{checkoutSessionId:e,paymentMethod:"paypal"}});const o=await(async({checkoutSessionId:e,paypalMockResponse:o})=>{var n,r;const{errors:t,json:a}=await(async({checkoutSessionId:e,paypalMockResponse:o})=>{const{errors:n,json:r}=await v("/api/zonos-elements/capture-paypal-order",{body:{checkoutSessionId:e,paypalMockResponse:o},method:"POST"});return{errors:n,json:r}})({checkoutSessionId:e,paypalMockResponse:o}),i=null===(n=null==a?void 0:a.paypalOrderCapture.order)||void 0===n?void 0:n.id;if(t.length||!i)throw new Error((null===(r=t.find(Boolean))||void 0===r?void 0:r.message)||f("An unexpected error occurred when processing PayPal order."));return i})({checkoutSessionId:e,paypalMockResponse:window.Zonos._paypalMockResponse});A.orderIdCreated=o,null==m||m({orderId:o}),u(),d()}catch(e){if(h("==== Failed to capture paypal order",e),e instanceof Error)return(({error:e})=>{var o;const n=b(e.message),r=null===(o=null==n?void 0:n.errors.find(Boolean))||void 0===o?void 0:o.message,t=(null==r?void 0:r.match(/\[(.*?)\] (.*)/i))||[];t||(A.paypalErrorMessage=f("An unexpected error occurred when processing PayPal order."));const a=t[2]||f("An unexpected error occurred when processing PayPal order.");A.paypalErrorMessage=a})({error:e});null==y||y()}},style:{borderRadius:"SHARP"===j?0:10,color:w({backgroundColor1:"#ffc33a",backgroundColor2:k||o.appearance.colorPrimary||""})?"gold":"blue",shape:"rect"}}),x=async({currency:e})=>{var n;if(!(null===(n=o.checkoutSettings.externalPaymentMethods)||void 0===n?void 0:n.find((e=>"PAYPAL"===e.type&&"ENABLED"===e.status))))return void m("=== Paypal is disabled for this store","warn");const r=o.checkoutSettings.externalServiceTokens.find((e=>"PAYPAL_CLIENT_ID"===e.type));if(!r)return void m("Failed to load paypal -- missing paypal publishable key","warn");const t=o.zonosMode&&"production"!==o.zonosMode||"LIVE"!==o.checkoutSettings.mode?"sandbox":"production";A.intent=o.checkoutSettings.captureDelay&&o.checkoutSettings.captureDelay>0?"authorize":"capture",m("==== Paypal order intent","info",A.intent),window.Zonos.paypal=await k({clientId:r.token,currency:e,environment:t,intent:A.intent}),A.paypal=window.Zonos.paypal,m("==== Paypal script loaded")},B=e=>{var o;const n=window.Zonos.paypal;if(!n)return m("Paypal is not available"),null;const r=y.checkoutSessionId;if(!r)return m("Paypal is not available due to checkoutSessionId is not available"),null;m("==== Loading Paypal buttons"),A.paypalButtons.length&&(A.paypalButtons.forEach((async e=>{await e.close()})),A.paypalButtons=[]);const t=[null===(o=n.FUNDING)||void 0===o?void 0:o.PAYPAL].filter(Boolean);return A.paypalButtons=t.map((o=>{var t;let a=null;try{a=(null===(t=n.Buttons)||void 0===t?void 0:t.call(n,Object.assign(Object.assign({},O(Object.assign({checkoutSessionId:r,fundingSource:o},e))),{fundingSource:o})))||null}catch(e){m(`===== Failed to load paypal's "${o}" button`,"warn",e)}return(null==a?void 0:a.isEligible())?(m(`==== Paypal button ${o} loaded`),a):null})).filter(Boolean),A.paypalButtons},z=()=>{var e,n;return"ENABLED"===(null===(n=null===(e=o.checkoutSettings.externalPaymentMethods)||void 0===e?void 0:e.find((e=>"PAYPAL"===e.type)))||void 0===n?void 0:n.status)||!!A.paypalButtons.length};export{A as a,x as b,g as c,B as d,E as e,z as p}
@@ -1 +1 @@
1
- System.register(["./p-7261e245.system.js","./p-ac30b7a8.system.js","./p-23e7c655.system.js","./p-c5d1217f.system.js","./p-1aa93d1e.system.js","./p-d938f42f.system.js"],(function(e){"use strict";var t,s,o,n,i,a,l,h;return{setters:[function(e){t=e.r;s=e.h;o=e.a},function(e){n=e.f;i=e.z},function(e){a=e.c},function(e){l=e.i},function(e){h=e.s},function(){}],execute:function(){var z={pageHeader:{label:"Page Header (3XL) · 34px (2.125rem)",size:"3xl",tag:"h2",weight:900},secondaryPageHeader:{label:'Secondary Page Header (3XL) • 34px, 500 "Medium"',size:"3xl",tag:"h2",weight:500},header:{label:"Header (2XL) · 28px (1.75rem)",size:"2xl",tag:"h3",weight:700},descriptionHeader:{label:"Description Header (2XL) · 28px (1.75rem)",size:"2xl",tag:"h3",weight:700},title:{label:"Title (XL) • 22px (1.375rem)",size:"xl",tag:"h4",weight:600},boldSubheader:{label:"Bold Subheader (L) • 18px (1.125rem)",size:"l",tag:"h5",weight:700},semiBoldSubheader:{label:"Semi Bold Subheader (L / H4) • 18px (1.125rem)",size:"l",tag:"h5",weight:600},subheader:{label:"Subheader (L) • 18px (1.125rem)",size:"l",tag:"h5",weight:500},boldLabel:{label:"Bold Label (Base) • 14px (.875rem)",size:"base",tag:"span",weight:700},semiBoldLabel:{label:"Semi Bold Label (Base) • 14px (.875rem)",size:"base",tag:"span",weight:600},label:{label:"Label (Base) • 14px (.875rem)",size:"base",tag:"span",weight:500},body:{label:"Body (Base) • 14px (.875rem)",size:"base",tag:"span",weight:400},smallHeader:{label:"Small header (S) • 12px (.75rem)",size:"s",tag:"span",weight:600},caption:{label:"Caption (S) • 12px (.75rem)",size:"s",tag:"span",weight:400},hintText:{label:"Hint text (XS) • 10px (.625rem)",size:"xs",tag:"span",weight:400}};var r=":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{color:var(--zonos--color)}:host(.zonos--text-size-3xl)>*,:host(.zonos--text-size-3xl){font-size:var(--zonos--font-size-3xl, var(--zonos-elements-font-size-3xl))}:host(.zonos--text-size-2xl)>*,:host(.zonos--text-size-2xl){font-size:var(--zonos--font-size-2xl, var(--zonos-elements-font-size-2xl));line-height:32px}:host(.zonos--text-size-xl)>*,:host(.zonos--text-size-xl){font-size:var(--zonos--font-size-xl, var(--zonos-elements-font-size-xl))}:host(.zonos--text-size-l)>*,:host(.zonos--text-size-l){font-size:var(--zonos--font-size-l, var(--zonos-elements-font-size-l))}:host(.zonos--text-size-base)>*,:host(.zonos--text-size-base){font-size:var(--zonos--font-size-base, var(--zonos-elements-font-size-base))}:host(.zonos--text-size-s)>*,:host(.zonos--text-size-s){font-size:var(--zonos--font-size-s, var(--zonos-elements-font-size-s))}:host(.zonos--text-size-xs)>*,:host(.zonos--text-size-xs){font-size:var(--zonos--font-size-xs, var(--zonos-elements-font-size-xs))}:host(.zonos--text-weight-900)>*,:host(.zonos--text-weight-900){font-weight:900}:host(.zonos--text-weight-700)>*,:host(.zonos--text-weight-700){font-weight:700}:host(.zonos--text-weight-600)>*,:host(.zonos--text-weight-600){font-weight:600}:host(.zonos--text-weight-500)>*,:host(.zonos--text-weight-500){font-weight:500}:host(.zonos--text-weight-400)>*,:host(.zonos--text-weight-400){font-weight:400}";var x=r;var f=e("zonos_text",function(){function e(e){t(this,e);this.textColor="gray-1000";this.type="body";this.ready=false}e.prototype.componentDidRender=function(){var e=this;setTimeout((function(){e.ready=true}),100)};e.prototype.render=function(){var e=z.body,t=e.size,r=e.tag,x=e.weight;var f=z[this.type],g=f.size,d=f.tag,u=f.weight;var m=this.size||g||t;var p=this.weight||u||x;var b=d||r;var c=l(this.textColor)?"var(--zonos-elements-".concat(this.textColor,")"):this.textColor;var w=function(){switch(b){case"h2":return s("h2",null,s("slot",null));case"h3":return s("h3",null,s("slot",null));case"h4":return s("h4",null,s("slot",null));case"h5":return s("h5",null,s("slot",null));case"span":default:return s("span",null,s("slot",null))}};return s(o,{class:a(["zonos--elements","zonos--text-size-".concat(m),"zonos--text-weight-".concat(p)]),style:h({"--zonos--color":c,"--zonos--font-family":n(),"--zonos--font-size-2xl":i.appearance.fontSize2XL?"".concat(i.appearance.fontSize2XL,"px"):undefined,"--zonos--font-size-3xl":i.appearance.fontSize3XL?"".concat(i.appearance.fontSize3XL,"px"):undefined,"--zonos--font-size-base":i.appearance.fontSizeBase?"".concat(i.appearance.fontSizeBase,"px"):undefined,"--zonos--font-size-l":i.appearance.fontSizeL?"".concat(i.appearance.fontSizeL,"px"):undefined,"--zonos--font-size-s":i.appearance.fontSizeS?"".concat(i.appearance.fontSizeS,"px"):undefined,"--zonos--font-size-xl":i.appearance.fontSizeXL?"".concat(i.appearance.fontSizeXL,"px"):undefined,"--zonos--font-size-xs":i.appearance.fontSizeXS?"".concat(i.appearance.fontSizeXS,"px"):undefined})},w())};return e}());f.style=x}}}));
1
+ System.register(["./p-7261e245.system.js","./p-15ef7644.system.js","./p-23e7c655.system.js","./p-c5d1217f.system.js","./p-1aa93d1e.system.js","./p-d938f42f.system.js"],(function(e){"use strict";var t,s,o,n,i,a,l,h;return{setters:[function(e){t=e.r;s=e.h;o=e.a},function(e){n=e.f;i=e.z},function(e){a=e.c},function(e){l=e.i},function(e){h=e.s},function(){}],execute:function(){var z={pageHeader:{label:"Page Header (3XL) · 34px (2.125rem)",size:"3xl",tag:"h2",weight:900},secondaryPageHeader:{label:'Secondary Page Header (3XL) • 34px, 500 "Medium"',size:"3xl",tag:"h2",weight:500},header:{label:"Header (2XL) · 28px (1.75rem)",size:"2xl",tag:"h3",weight:700},descriptionHeader:{label:"Description Header (2XL) · 28px (1.75rem)",size:"2xl",tag:"h3",weight:700},title:{label:"Title (XL) • 22px (1.375rem)",size:"xl",tag:"h4",weight:600},boldSubheader:{label:"Bold Subheader (L) • 18px (1.125rem)",size:"l",tag:"h5",weight:700},semiBoldSubheader:{label:"Semi Bold Subheader (L / H4) • 18px (1.125rem)",size:"l",tag:"h5",weight:600},subheader:{label:"Subheader (L) • 18px (1.125rem)",size:"l",tag:"h5",weight:500},boldLabel:{label:"Bold Label (Base) • 14px (.875rem)",size:"base",tag:"span",weight:700},semiBoldLabel:{label:"Semi Bold Label (Base) • 14px (.875rem)",size:"base",tag:"span",weight:600},label:{label:"Label (Base) • 14px (.875rem)",size:"base",tag:"span",weight:500},body:{label:"Body (Base) • 14px (.875rem)",size:"base",tag:"span",weight:400},smallHeader:{label:"Small header (S) • 12px (.75rem)",size:"s",tag:"span",weight:600},caption:{label:"Caption (S) • 12px (.75rem)",size:"s",tag:"span",weight:400},hintText:{label:"Hint text (XS) • 10px (.625rem)",size:"xs",tag:"span",weight:400}};var r=":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{color:var(--zonos--color)}:host(.zonos--text-size-3xl)>*,:host(.zonos--text-size-3xl){font-size:var(--zonos--font-size-3xl, var(--zonos-elements-font-size-3xl))}:host(.zonos--text-size-2xl)>*,:host(.zonos--text-size-2xl){font-size:var(--zonos--font-size-2xl, var(--zonos-elements-font-size-2xl));line-height:32px}:host(.zonos--text-size-xl)>*,:host(.zonos--text-size-xl){font-size:var(--zonos--font-size-xl, var(--zonos-elements-font-size-xl))}:host(.zonos--text-size-l)>*,:host(.zonos--text-size-l){font-size:var(--zonos--font-size-l, var(--zonos-elements-font-size-l))}:host(.zonos--text-size-base)>*,:host(.zonos--text-size-base){font-size:var(--zonos--font-size-base, var(--zonos-elements-font-size-base))}:host(.zonos--text-size-s)>*,:host(.zonos--text-size-s){font-size:var(--zonos--font-size-s, var(--zonos-elements-font-size-s))}:host(.zonos--text-size-xs)>*,:host(.zonos--text-size-xs){font-size:var(--zonos--font-size-xs, var(--zonos-elements-font-size-xs))}:host(.zonos--text-weight-900)>*,:host(.zonos--text-weight-900){font-weight:900}:host(.zonos--text-weight-700)>*,:host(.zonos--text-weight-700){font-weight:700}:host(.zonos--text-weight-600)>*,:host(.zonos--text-weight-600){font-weight:600}:host(.zonos--text-weight-500)>*,:host(.zonos--text-weight-500){font-weight:500}:host(.zonos--text-weight-400)>*,:host(.zonos--text-weight-400){font-weight:400}";var x=r;var f=e("zonos_text",function(){function e(e){t(this,e);this.textColor="gray-1000";this.type="body";this.ready=false}e.prototype.componentDidRender=function(){var e=this;setTimeout((function(){e.ready=true}),100)};e.prototype.render=function(){var e=z.body,t=e.size,r=e.tag,x=e.weight;var f=z[this.type],g=f.size,d=f.tag,u=f.weight;var m=this.size||g||t;var p=this.weight||u||x;var b=d||r;var c=l(this.textColor)?"var(--zonos-elements-".concat(this.textColor,")"):this.textColor;var w=function(){switch(b){case"h2":return s("h2",null,s("slot",null));case"h3":return s("h3",null,s("slot",null));case"h4":return s("h4",null,s("slot",null));case"h5":return s("h5",null,s("slot",null));case"span":default:return s("span",null,s("slot",null))}};return s(o,{class:a(["zonos--elements","zonos--text-size-".concat(m),"zonos--text-weight-".concat(p)]),style:h({"--zonos--color":c,"--zonos--font-family":n(),"--zonos--font-size-2xl":i.appearance.fontSize2XL?"".concat(i.appearance.fontSize2XL,"px"):undefined,"--zonos--font-size-3xl":i.appearance.fontSize3XL?"".concat(i.appearance.fontSize3XL,"px"):undefined,"--zonos--font-size-base":i.appearance.fontSizeBase?"".concat(i.appearance.fontSizeBase,"px"):undefined,"--zonos--font-size-l":i.appearance.fontSizeL?"".concat(i.appearance.fontSizeL,"px"):undefined,"--zonos--font-size-s":i.appearance.fontSizeS?"".concat(i.appearance.fontSizeS,"px"):undefined,"--zonos--font-size-xl":i.appearance.fontSizeXL?"".concat(i.appearance.fontSizeXL,"px"):undefined,"--zonos--font-size-xs":i.appearance.fontSizeXS?"".concat(i.appearance.fontSizeXS,"px"):undefined})},w())};return e}());f.style=x}}}));
@@ -0,0 +1 @@
1
+ System.register(["./p-1523f6a8.system.js"],(function(n){"use strict";var t;return{setters:[function(n){t=n.l}],execute:function(){var r=n("D","gkjqw123");var u=n("T","Kq93wqw3");var i=n("h",(function(){var n;return(n=t.inclusivePricingConfigurations)===null||n===void 0?void 0:n.some((function(n){var t,i;return((t=n.configurations[r])===null||t===void 0?void 0:t.status)==="ENABLED"||((i=n.configurations[u])===null||i===void 0?void 0:i.status)==="ENABLED"}))}))}}}));
@@ -1 +1 @@
1
- import{r as o,d as t,h as e,a as s,g as n}from"./p-ce75b047.js";import{f as a}from"./p-058f6124.js";import{c as l}from"./p-b4b7f705.js";import{g as i}from"./p-f830f800.js";import"./p-0a377722.js";const r=class{constructor(e){o(this,e),this.inputChange=t(this,"inputChange",7),this.inputValue="",this.inputSize="md",this.isDisabled=!1,this.isError=!1,this.inputPlaceholder="",this.value=this.inputValue}onInputValueChange(o){this.value=o,this.inputChange.emit(o)}render(){return e(s,{key:"2058e48c7754e4e1eb0d9e380e332c90eed29ab8",class:l(["zonos--input zonos--elements",this.inputSize,this.isError&&"has-error"]),style:{"--zonos--border-radius":i(),"--zonos--font-family":a()}},e("div",{key:"192f4c0397125951a4bad39d844cd62237c56ce7",class:l(["zonos--label-wrapper",this.isDisabled&&"disabled"])},e("input",{key:"bde7df1a30edf835435f742770e21b4d594143bf",class:l(["zonos--floated-input",!!this.inputLabel&&"has-label",this.inputValue&&"has-content",this.isError&&"has-error"]),disabled:this.isDisabled,onInput:o=>{this.inputChange.emit(o.target.value)},placeholder:this.inputPlaceholder,type:"text",value:this.value}),e("label",{key:"d611183e95d828086adac38dc493512f46d22e23",class:"zonos--floated-label","data-label":this.inputLabel})))}get el(){return n(this)}static get watchers(){return{inputValue:["onInputValueChange"]}}};r.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{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{}: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}';export{r as zonos_input}
1
+ import{r as o,d as t,h as e,a as s,g as n}from"./p-ce75b047.js";import{f as a}from"./p-ed9385f4.js";import{c as l}from"./p-b4b7f705.js";import{g as i}from"./p-5beab541.js";import"./p-0a377722.js";const r=class{constructor(e){o(this,e),this.inputChange=t(this,"inputChange",7),this.inputValue="",this.inputSize="md",this.isDisabled=!1,this.isError=!1,this.inputPlaceholder="",this.value=this.inputValue}onInputValueChange(o){this.value=o,this.inputChange.emit(o)}render(){return e(s,{key:"2058e48c7754e4e1eb0d9e380e332c90eed29ab8",class:l(["zonos--input zonos--elements",this.inputSize,this.isError&&"has-error"]),style:{"--zonos--border-radius":i(),"--zonos--font-family":a()}},e("div",{key:"192f4c0397125951a4bad39d844cd62237c56ce7",class:l(["zonos--label-wrapper",this.isDisabled&&"disabled"])},e("input",{key:"bde7df1a30edf835435f742770e21b4d594143bf",class:l(["zonos--floated-input",!!this.inputLabel&&"has-label",this.inputValue&&"has-content",this.isError&&"has-error"]),disabled:this.isDisabled,onInput:o=>{this.inputChange.emit(o.target.value)},placeholder:this.inputPlaceholder,type:"text",value:this.value}),e("label",{key:"d611183e95d828086adac38dc493512f46d22e23",class:"zonos--floated-label","data-label":this.inputLabel})))}get el(){return n(this)}static get watchers(){return{inputValue:["onInputValueChange"]}}};r.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{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{}: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}';export{r as zonos_input}
@@ -0,0 +1 @@
1
+ System.register(["./p-61be7d98.system.js","./p-43a6e469.system.js"],(function(r){"use strict";var n,t,e;return{setters:[function(r){n=r.i;t=r.t},function(r){e=r.i}],execute:function(){var o=r("g",(function(r){var o=r.backgroundColor,u=r.color;if(o===u){if(n(u)){var f=t(u).lighten(40).toHexString();return f}var a=t(u).darken(40).toHexString();return a}var c=e({backgroundColor1:o,backgroundColor2:u});if(c){return u}if(n(u)){return"#ffffff"}var s=t(u).darken(25).toHexString();var i=t(u).lighten(25).toHexString();var v=e({backgroundColor1:o,backgroundColor2:s});return v?s:i}))}}}));
@@ -1 +1 @@
1
- import{r as e,h as s,a as t}from"./p-ce75b047.js";import{f as o,z as i}from"./p-058f6124.js";import{c as n}from"./p-b4b7f705.js";import{i as a}from"./p-ae393255.js";import{s as l}from"./p-96d77739.js";import"./p-0a377722.js";const h={pageHeader:{label:"Page Header (3XL) · 34px (2.125rem)",size:"3xl",tag:"h2",weight:900},secondaryPageHeader:{label:'Secondary Page Header (3XL) • 34px, 500 "Medium"',size:"3xl",tag:"h2",weight:500},header:{label:"Header (2XL) · 28px (1.75rem)",size:"2xl",tag:"h3",weight:700},descriptionHeader:{label:"Description Header (2XL) · 28px (1.75rem)",size:"2xl",tag:"h3",weight:700},title:{label:"Title (XL) • 22px (1.375rem)",size:"xl",tag:"h4",weight:600},boldSubheader:{label:"Bold Subheader (L) • 18px (1.125rem)",size:"l",tag:"h5",weight:700},semiBoldSubheader:{label:"Semi Bold Subheader (L / H4) • 18px (1.125rem)",size:"l",tag:"h5",weight:600},subheader:{label:"Subheader (L) • 18px (1.125rem)",size:"l",tag:"h5",weight:500},boldLabel:{label:"Bold Label (Base) • 14px (.875rem)",size:"base",tag:"span",weight:700},semiBoldLabel:{label:"Semi Bold Label (Base) • 14px (.875rem)",size:"base",tag:"span",weight:600},label:{label:"Label (Base) • 14px (.875rem)",size:"base",tag:"span",weight:500},body:{label:"Body (Base) • 14px (.875rem)",size:"base",tag:"span",weight:400},smallHeader:{label:"Small header (S) • 12px (.75rem)",size:"s",tag:"span",weight:600},caption:{label:"Caption (S) • 12px (.75rem)",size:"s",tag:"span",weight:400},hintText:{label:"Hint text (XS) • 10px (.625rem)",size:"xs",tag:"span",weight:400}},z=class{constructor(s){e(this,s),this.textColor="gray-1000",this.type="body",this.ready=!1}componentDidRender(){setTimeout((()=>{this.ready=!0}),100)}render(){const{size:e,tag:z,weight:r}=h.body,{size:x,tag:g,weight:f}=h[this.type],m=this.size||x||e,p=this.weight||f||r,d=g||z,b=a(this.textColor)?`var(--zonos-elements-${this.textColor})`:this.textColor;return s(t,{class:n(["zonos--elements",`zonos--text-size-${m}`,`zonos--text-weight-${p}`]),style:l({"--zonos--color":b,"--zonos--font-family":o(),"--zonos--font-size-2xl":i.appearance.fontSize2XL?`${i.appearance.fontSize2XL}px`:void 0,"--zonos--font-size-3xl":i.appearance.fontSize3XL?`${i.appearance.fontSize3XL}px`:void 0,"--zonos--font-size-base":i.appearance.fontSizeBase?`${i.appearance.fontSizeBase}px`:void 0,"--zonos--font-size-l":i.appearance.fontSizeL?`${i.appearance.fontSizeL}px`:void 0,"--zonos--font-size-s":i.appearance.fontSizeS?`${i.appearance.fontSizeS}px`:void 0,"--zonos--font-size-xl":i.appearance.fontSizeXL?`${i.appearance.fontSizeXL}px`:void 0,"--zonos--font-size-xs":i.appearance.fontSizeXS?`${i.appearance.fontSizeXS}px`:void 0})},(()=>{switch(d){case"h2":return s("h2",null,s("slot",null));case"h3":return s("h3",null,s("slot",null));case"h4":return s("h4",null,s("slot",null));case"h5":return s("h5",null,s("slot",null));default:return s("span",null,s("slot",null))}})())}};z.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{color:var(--zonos--color)}:host(.zonos--text-size-3xl)>*,:host(.zonos--text-size-3xl){font-size:var(--zonos--font-size-3xl, var(--zonos-elements-font-size-3xl))}:host(.zonos--text-size-2xl)>*,:host(.zonos--text-size-2xl){font-size:var(--zonos--font-size-2xl, var(--zonos-elements-font-size-2xl));line-height:32px}:host(.zonos--text-size-xl)>*,:host(.zonos--text-size-xl){font-size:var(--zonos--font-size-xl, var(--zonos-elements-font-size-xl))}:host(.zonos--text-size-l)>*,:host(.zonos--text-size-l){font-size:var(--zonos--font-size-l, var(--zonos-elements-font-size-l))}:host(.zonos--text-size-base)>*,:host(.zonos--text-size-base){font-size:var(--zonos--font-size-base, var(--zonos-elements-font-size-base))}:host(.zonos--text-size-s)>*,:host(.zonos--text-size-s){font-size:var(--zonos--font-size-s, var(--zonos-elements-font-size-s))}:host(.zonos--text-size-xs)>*,:host(.zonos--text-size-xs){font-size:var(--zonos--font-size-xs, var(--zonos-elements-font-size-xs))}:host(.zonos--text-weight-900)>*,:host(.zonos--text-weight-900){font-weight:900}:host(.zonos--text-weight-700)>*,:host(.zonos--text-weight-700){font-weight:700}:host(.zonos--text-weight-600)>*,:host(.zonos--text-weight-600){font-weight:600}:host(.zonos--text-weight-500)>*,:host(.zonos--text-weight-500){font-weight:500}:host(.zonos--text-weight-400)>*,:host(.zonos--text-weight-400){font-weight:400}";export{z as zonos_text}
1
+ import{r as e,h as s,a as t}from"./p-ce75b047.js";import{f as o,z as i}from"./p-ed9385f4.js";import{c as n}from"./p-b4b7f705.js";import{i as a}from"./p-ae393255.js";import{s as l}from"./p-96d77739.js";import"./p-0a377722.js";const h={pageHeader:{label:"Page Header (3XL) · 34px (2.125rem)",size:"3xl",tag:"h2",weight:900},secondaryPageHeader:{label:'Secondary Page Header (3XL) • 34px, 500 "Medium"',size:"3xl",tag:"h2",weight:500},header:{label:"Header (2XL) · 28px (1.75rem)",size:"2xl",tag:"h3",weight:700},descriptionHeader:{label:"Description Header (2XL) · 28px (1.75rem)",size:"2xl",tag:"h3",weight:700},title:{label:"Title (XL) • 22px (1.375rem)",size:"xl",tag:"h4",weight:600},boldSubheader:{label:"Bold Subheader (L) • 18px (1.125rem)",size:"l",tag:"h5",weight:700},semiBoldSubheader:{label:"Semi Bold Subheader (L / H4) • 18px (1.125rem)",size:"l",tag:"h5",weight:600},subheader:{label:"Subheader (L) • 18px (1.125rem)",size:"l",tag:"h5",weight:500},boldLabel:{label:"Bold Label (Base) • 14px (.875rem)",size:"base",tag:"span",weight:700},semiBoldLabel:{label:"Semi Bold Label (Base) • 14px (.875rem)",size:"base",tag:"span",weight:600},label:{label:"Label (Base) • 14px (.875rem)",size:"base",tag:"span",weight:500},body:{label:"Body (Base) • 14px (.875rem)",size:"base",tag:"span",weight:400},smallHeader:{label:"Small header (S) • 12px (.75rem)",size:"s",tag:"span",weight:600},caption:{label:"Caption (S) • 12px (.75rem)",size:"s",tag:"span",weight:400},hintText:{label:"Hint text (XS) • 10px (.625rem)",size:"xs",tag:"span",weight:400}},z=class{constructor(s){e(this,s),this.textColor="gray-1000",this.type="body",this.ready=!1}componentDidRender(){setTimeout((()=>{this.ready=!0}),100)}render(){const{size:e,tag:z,weight:r}=h.body,{size:x,tag:g,weight:f}=h[this.type],m=this.size||x||e,p=this.weight||f||r,d=g||z,b=a(this.textColor)?`var(--zonos-elements-${this.textColor})`:this.textColor;return s(t,{class:n(["zonos--elements",`zonos--text-size-${m}`,`zonos--text-weight-${p}`]),style:l({"--zonos--color":b,"--zonos--font-family":o(),"--zonos--font-size-2xl":i.appearance.fontSize2XL?`${i.appearance.fontSize2XL}px`:void 0,"--zonos--font-size-3xl":i.appearance.fontSize3XL?`${i.appearance.fontSize3XL}px`:void 0,"--zonos--font-size-base":i.appearance.fontSizeBase?`${i.appearance.fontSizeBase}px`:void 0,"--zonos--font-size-l":i.appearance.fontSizeL?`${i.appearance.fontSizeL}px`:void 0,"--zonos--font-size-s":i.appearance.fontSizeS?`${i.appearance.fontSizeS}px`:void 0,"--zonos--font-size-xl":i.appearance.fontSizeXL?`${i.appearance.fontSizeXL}px`:void 0,"--zonos--font-size-xs":i.appearance.fontSizeXS?`${i.appearance.fontSizeXS}px`:void 0})},(()=>{switch(d){case"h2":return s("h2",null,s("slot",null));case"h3":return s("h3",null,s("slot",null));case"h4":return s("h4",null,s("slot",null));case"h5":return s("h5",null,s("slot",null));default:return s("span",null,s("slot",null))}})())}};z.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{color:var(--zonos--color)}:host(.zonos--text-size-3xl)>*,:host(.zonos--text-size-3xl){font-size:var(--zonos--font-size-3xl, var(--zonos-elements-font-size-3xl))}:host(.zonos--text-size-2xl)>*,:host(.zonos--text-size-2xl){font-size:var(--zonos--font-size-2xl, var(--zonos-elements-font-size-2xl));line-height:32px}:host(.zonos--text-size-xl)>*,:host(.zonos--text-size-xl){font-size:var(--zonos--font-size-xl, var(--zonos-elements-font-size-xl))}:host(.zonos--text-size-l)>*,:host(.zonos--text-size-l){font-size:var(--zonos--font-size-l, var(--zonos-elements-font-size-l))}:host(.zonos--text-size-base)>*,:host(.zonos--text-size-base){font-size:var(--zonos--font-size-base, var(--zonos-elements-font-size-base))}:host(.zonos--text-size-s)>*,:host(.zonos--text-size-s){font-size:var(--zonos--font-size-s, var(--zonos-elements-font-size-s))}:host(.zonos--text-size-xs)>*,:host(.zonos--text-size-xs){font-size:var(--zonos--font-size-xs, var(--zonos-elements-font-size-xs))}:host(.zonos--text-weight-900)>*,:host(.zonos--text-weight-900){font-weight:900}:host(.zonos--text-weight-700)>*,:host(.zonos--text-weight-700){font-weight:700}:host(.zonos--text-weight-600)>*,:host(.zonos--text-weight-600){font-weight:600}:host(.zonos--text-weight-500)>*,:host(.zonos--text-weight-500){font-weight:500}:host(.zonos--text-weight-400)>*,:host(.zonos--text-weight-400){font-weight:400}";export{z as zonos_text}
@@ -1 +1 @@
1
- System.register(["./p-7261e245.system.js","./p-ac30b7a8.system.js","./p-23e7c655.system.js","./p-d938f42f.system.js"],(function(t){"use strict";var s,o,n,a,i;return{setters:[function(t){s=t.r;o=t.h;n=t.a},function(t){a=t.f},function(t){i=t.c},function(){}],execute:function(){var e=":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}";var r=e;var f=t("zonos_v_stack",function(){function t(t){s(this,t);this.spacing=24}t.prototype.render=function(){return o(n,{key:"fc34e62d3d9712120d2356f1bdc8ad42b26d122a",style:{"--zonos--font-family":a()}},o("div",{key:"d246b49b618860f01c3f1b8c439c1be361ca656f",class:i(["vstack"]),style:{"grid-row-gap":"".concat(this.spacing,"px")}},o("slot",{key:"043fde36321157373196c9120a774c78a0fc46ce"})))};return t}());f.style=r}}}));
1
+ System.register(["./p-7261e245.system.js","./p-15ef7644.system.js","./p-23e7c655.system.js","./p-d938f42f.system.js"],(function(t){"use strict";var s,o,n,a,i;return{setters:[function(t){s=t.r;o=t.h;n=t.a},function(t){a=t.f},function(t){i=t.c},function(){}],execute:function(){var e=":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}";var f=e;var r=t("zonos_v_stack",function(){function t(t){s(this,t);this.spacing=24}t.prototype.render=function(){return o(n,{key:"fc34e62d3d9712120d2356f1bdc8ad42b26d122a",style:{"--zonos--font-family":a()}},o("div",{key:"d246b49b618860f01c3f1b8c439c1be361ca656f",class:i(["vstack"]),style:{"grid-row-gap":"".concat(this.spacing,"px")}},o("slot",{key:"043fde36321157373196c9120a774c78a0fc46ce"})))};return t}());r.style=f}}}));
@@ -1 +1 @@
1
- import{r as o,d as s,h as e,a as t}from"./p-ce75b047.js";import{f as a}from"./p-058f6124.js";import{c as n}from"./p-b4b7f705.js";import{g as i}from"./p-f830f800.js";import{i as r}from"./p-67897a0d.js";import"./p-0a377722.js";const l=["blue","cyan","green","orange","purple","red","gray","glass"];let h=0;const c=class{constructor(e){o(this,e),this.checkboxSelected=s(this,"checkboxSelected",7),this.inputId="zonos--checkbox-"+ ++h,this.backgroundColor="blue",this.isChecked=!1,this.isDisabled=!1,this.size=12,this.fontSize="base"}onClick(){this.isDisabled||this.checkboxSelected.emit(!this.isChecked)}render(){const o=l.includes(this.backgroundColor),s=o?`var(--zonos-elements-${this.backgroundColor}-600)`:this.backgroundColor,h=o?`var(--zonos-elements-${this.backgroundColor}-200)`:r(s)?"var(--zonos-elements-gray-0)":"var(--zonos-elements-gray-800)",c=i({customRoundRadius:"4px",overrideBorderStyle:this.borderStyle});return e(t,{key:"c2a9023becafd6d19ad769d449383924c85c641f",class:n(["zonos--elements zonos--checkbox"]),style:{"--zonos--background-color":s,"--zonos--border-radius":c,"--zonos--font-family":a(),"--zonos--size":`${this.size}px`}},e("label",{key:"352e8bda93f1ac9a7a55ba7038e922626c3a9594",class:n([this.isDisabled&&"disabled"]),htmlFor:this.inputId},e("input",{key:"71d664f9d83345ad4c143f71209bdb0a2cb16745",checked:this.isChecked,disabled:this.isDisabled,hidden:!0,id:this.inputId,onChange:o=>{this.checkboxSelected.emit(o.target.checked)},type:"checkbox"}),e("span",{key:"c772c4e8dbbbef8035874616a0254fb4114a97c8",class:"checkmark-container"},e("svg",{key:"d497191975edeca268cc014431535f4befdd7b2c",class:"checkmark",color:h,fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e("path",{key:"15b26fdf72a058e81d4472d0c757a725c04e3f47","clip-rule":"evenodd",d:"M17.456 7.404a.75.75 0 0 1 .14 1.052l-6.5 8.5a.75.75 0 0 1-1.126.074l-4-4a.75.75 0 0 1 1.06-1.06l3.395 3.394 5.98-7.82a.75.75 0 0 1 1.05-.14Z",fill:"currentColor","fill-rule":"evenodd"}))),this.label&&e("zonos-text",{key:"2d6015d16eda08dc39eff677f4858d2aed620891",size:this.fontSize},this.label)))}};c.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;cursor:pointer}:host label{display:-ms-inline-flexbox;display:inline-flex;position:relative;gap:8px;-ms-flex-align:center;align-items:center}:host label.disabled{cursor:not-allowed;opacity:0.6}:host input[type=checkbox]{opacity:0;position:absolute;left:0;width:0;height:0;top:0;z-index:-99999}:host svg{opacity:0}:host .checkmark-container{height:var(--zonos--size);width:var(--zonos--size);background-color:transparent;border:1.5px solid var(--zonos-elements-gray-400);position:relative;border-radius:var(--zonos--border-radius, var(--zonos-elements-radius-4))}:host .checkmark{opacity:0;position:absolute;top:-1.5px;left:-1.5px;right:-1.5px;bottom:-1.5px;width:calc(100% + 3px);-webkit-transition:0.3s all cubic-bezier(0.175, 0.885, 0.32, 1.275);transition:0.3s all cubic-bezier(0.175, 0.885, 0.32, 1.275);-webkit-transform:scale(0.4);transform:scale(0.4);background-color:var(--zonos--background-color);border-radius:var(--zonos--border-radius, var(--zonos-elements-radius-4))}:host input[type=checkbox]:checked~.checkmark-container .checkmark{opacity:1;-webkit-transform:scale(1);transform:scale(1)}";const d=class{constructor(e){o(this,e),this.toggleChanged=s(this,"toggleChanged",7),this.options=[]}render(){return e(t,{key:"e6be1b38ea1fd978a231a1c3dc85a92c1d86a24b",class:n(["zonos--elements zonos--toggle"]),style:{"--zonos--font-family":a()}},e("div",{key:"e9ccac29c3f653e3e9d81d336089d6aaea6bbf6c",class:"wrapper"},this.options.map((o=>e("button",{class:n(["zonos--option",o.value===this.value&&"selected"]),key:o.value,onClick:()=>{this.toggleChanged.emit(o.value)}},o.label)))))}};d.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 .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}";export{c as zonos_checkbox,d as zonos_toggle}
1
+ import{r as o,d as s,h as e,a as t}from"./p-ce75b047.js";import{f as a}from"./p-ed9385f4.js";import{c as n}from"./p-b4b7f705.js";import{g as i}from"./p-5beab541.js";import{i as r}from"./p-f6922df5.js";import"./p-0a377722.js";const l=["blue","cyan","green","orange","purple","red","gray","glass"];let h=0;const c=class{constructor(e){o(this,e),this.checkboxSelected=s(this,"checkboxSelected",7),this.inputId="zonos--checkbox-"+ ++h,this.backgroundColor="blue",this.isChecked=!1,this.isDisabled=!1,this.size=12,this.fontSize="base"}onClick(){this.isDisabled||this.checkboxSelected.emit(!this.isChecked)}render(){const o=l.includes(this.backgroundColor),s=o?`var(--zonos-elements-${this.backgroundColor}-600)`:this.backgroundColor,h=o?`var(--zonos-elements-${this.backgroundColor}-200)`:r(s)?"var(--zonos-elements-gray-0)":"var(--zonos-elements-gray-800)",c=i({customRoundRadius:"4px",overrideBorderStyle:this.borderStyle});return e(t,{key:"c2a9023becafd6d19ad769d449383924c85c641f",class:n(["zonos--elements zonos--checkbox"]),style:{"--zonos--background-color":s,"--zonos--border-radius":c,"--zonos--font-family":a(),"--zonos--size":`${this.size}px`}},e("label",{key:"352e8bda93f1ac9a7a55ba7038e922626c3a9594",class:n([this.isDisabled&&"disabled"]),htmlFor:this.inputId},e("input",{key:"71d664f9d83345ad4c143f71209bdb0a2cb16745",checked:this.isChecked,disabled:this.isDisabled,hidden:!0,id:this.inputId,onChange:o=>{this.checkboxSelected.emit(o.target.checked)},type:"checkbox"}),e("span",{key:"c772c4e8dbbbef8035874616a0254fb4114a97c8",class:"checkmark-container"},e("svg",{key:"d497191975edeca268cc014431535f4befdd7b2c",class:"checkmark",color:h,fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e("path",{key:"15b26fdf72a058e81d4472d0c757a725c04e3f47","clip-rule":"evenodd",d:"M17.456 7.404a.75.75 0 0 1 .14 1.052l-6.5 8.5a.75.75 0 0 1-1.126.074l-4-4a.75.75 0 0 1 1.06-1.06l3.395 3.394 5.98-7.82a.75.75 0 0 1 1.05-.14Z",fill:"currentColor","fill-rule":"evenodd"}))),this.label&&e("zonos-text",{key:"2d6015d16eda08dc39eff677f4858d2aed620891",size:this.fontSize},this.label)))}};c.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;cursor:pointer}:host label{display:-ms-inline-flexbox;display:inline-flex;position:relative;gap:8px;-ms-flex-align:center;align-items:center}:host label.disabled{cursor:not-allowed;opacity:0.6}:host input[type=checkbox]{opacity:0;position:absolute;left:0;width:0;height:0;top:0;z-index:-99999}:host svg{opacity:0}:host .checkmark-container{height:var(--zonos--size);width:var(--zonos--size);background-color:transparent;border:1.5px solid var(--zonos-elements-gray-400);position:relative;border-radius:var(--zonos--border-radius, var(--zonos-elements-radius-4))}:host .checkmark{opacity:0;position:absolute;top:-1.5px;left:-1.5px;right:-1.5px;bottom:-1.5px;width:calc(100% + 3px);-webkit-transition:0.3s all cubic-bezier(0.175, 0.885, 0.32, 1.275);transition:0.3s all cubic-bezier(0.175, 0.885, 0.32, 1.275);-webkit-transform:scale(0.4);transform:scale(0.4);background-color:var(--zonos--background-color);border-radius:var(--zonos--border-radius, var(--zonos-elements-radius-4))}:host input[type=checkbox]:checked~.checkmark-container .checkmark{opacity:1;-webkit-transform:scale(1);transform:scale(1)}";const d=class{constructor(e){o(this,e),this.toggleChanged=s(this,"toggleChanged",7),this.options=[]}render(){return e(t,{key:"e6be1b38ea1fd978a231a1c3dc85a92c1d86a24b",class:n(["zonos--elements zonos--toggle"]),style:{"--zonos--font-family":a()}},e("div",{key:"e9ccac29c3f653e3e9d81d336089d6aaea6bbf6c",class:"wrapper"},this.options.map((o=>e("button",{class:n(["zonos--option",o.value===this.value&&"selected"]),key:o.value,onClick:()=>{this.toggleChanged.emit(o.value)}},o.label)))))}};d.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 .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}";export{c as zonos_checkbox,d as zonos_toggle}
@@ -1 +1 @@
1
- System.register(["./p-7261e245.system.js","./p-ac30b7a8.system.js","./p-23e7c655.system.js","./p-d938f42f.system.js"],(function(o){"use strict";var e,s,n,r,t;return{setters:[function(o){e=o.r;s=o.h;n=o.a},function(o){r=o.f},function(o){t=o.c},function(){}],execute:function(){var a='<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path fill-rule="evenodd" clip-rule="evenodd" d="M10.8282 5.17184C11.0235 5.3671 11.0235 5.68368 10.8282 5.87894L8.70688 8.00026L10.8282 10.1216C11.0235 10.3168 11.0235 10.6334 10.8282 10.8287C10.6329 11.024 10.3164 11.024 10.1211 10.8287L7.99978 8.70737L5.87846 10.8287C5.68319 11.024 5.36661 11.024 5.17135 10.8287C4.97609 10.6334 4.97609 10.3168 5.17135 10.1216L7.29267 8.00026L5.17135 5.87894C4.97609 5.68368 4.97609 5.3671 5.17135 5.17184C5.36661 4.97658 5.68319 4.97658 5.87846 5.17184L7.99978 7.29316L10.1211 5.17184C10.3164 4.97658 10.6329 4.97658 10.8282 5.17184Z" fill="var(--zonos-elements-gray-800)"/>\n</svg>\n';var l=":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 .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);border:1px solid var(--zonos-elements-orange-200)}: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)}:host .transparent{background-color:transparent;border:1px solid var(--zonos-elements-gray-200);color:var(--zonos-elements-gray-800)}:host .transparent.bold{background-color:var(--zonos-elements-glass-600);color:var(--zonos-elements-gray-100)}:host .zonos--badge-dismiss{cursor:pointer}";var c=l;var d=o("zonos_badge",function(){function o(o){e(this,o);this.bold=false;this.badgeColor="gray";this.iconRight=false;this.size="default";this.rounded=false;this.loading=false}o.prototype.render=function(){var o=this;return s(n,{key:"2c6d37db80b369e4d287e2d7a6cb4db9b69fe6f6",class:t(["zonos--elements zonos--badge"]),style:{"--zonos--font-family":r()}},s("div",{key:"f5f2f2530c11d8c46349024f044a7b042a12a10f",class:t(["zonos--badge-content",this.badgeColor,this.rounded&&"rounded",this.iconRight&&"icon-right",this.size,this.bold&&"bold"])},this.icon,s("zonos-text",{key:"e031a216dc586d138b0d3c03781b8b362bcc25d2",textColor:"".concat(this.badgeColor,"-800")},s("slot",{key:"9757275ea8350ae8578e255bb99940697021258e"})),this.dismissHandler&&s("zonos-icon",{key:"42a08f166b237af5c7c508c257dda46ee5c3d58a","aria-label":"Remove action",class:"zonos--badge-dismiss",content:a,onClick:function(){var e;return(e=o.dismissHandler)===null||e===void 0?void 0:e.call(o)}})))};return o}());d.style=c}}}));
1
+ System.register(["./p-7261e245.system.js","./p-15ef7644.system.js","./p-23e7c655.system.js","./p-d938f42f.system.js"],(function(o){"use strict";var e,s,n,r,t;return{setters:[function(o){e=o.r;s=o.h;n=o.a},function(o){r=o.f},function(o){t=o.c},function(){}],execute:function(){var a='<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path fill-rule="evenodd" clip-rule="evenodd" d="M10.8282 5.17184C11.0235 5.3671 11.0235 5.68368 10.8282 5.87894L8.70688 8.00026L10.8282 10.1216C11.0235 10.3168 11.0235 10.6334 10.8282 10.8287C10.6329 11.024 10.3164 11.024 10.1211 10.8287L7.99978 8.70737L5.87846 10.8287C5.68319 11.024 5.36661 11.024 5.17135 10.8287C4.97609 10.6334 4.97609 10.3168 5.17135 10.1216L7.29267 8.00026L5.17135 5.87894C4.97609 5.68368 4.97609 5.3671 5.17135 5.17184C5.36661 4.97658 5.68319 4.97658 5.87846 5.17184L7.99978 7.29316L10.1211 5.17184C10.3164 4.97658 10.6329 4.97658 10.8282 5.17184Z" fill="var(--zonos-elements-gray-800)"/>\n</svg>\n';var l=":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 .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);border:1px solid var(--zonos-elements-orange-200)}: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)}:host .transparent{background-color:transparent;border:1px solid var(--zonos-elements-gray-200);color:var(--zonos-elements-gray-800)}:host .transparent.bold{background-color:var(--zonos-elements-glass-600);color:var(--zonos-elements-gray-100)}:host .zonos--badge-dismiss{cursor:pointer}";var c=l;var d=o("zonos_badge",function(){function o(o){e(this,o);this.bold=false;this.badgeColor="gray";this.iconRight=false;this.size="default";this.rounded=false;this.loading=false}o.prototype.render=function(){var o=this;return s(n,{key:"2c6d37db80b369e4d287e2d7a6cb4db9b69fe6f6",class:t(["zonos--elements zonos--badge"]),style:{"--zonos--font-family":r()}},s("div",{key:"f5f2f2530c11d8c46349024f044a7b042a12a10f",class:t(["zonos--badge-content",this.badgeColor,this.rounded&&"rounded",this.iconRight&&"icon-right",this.size,this.bold&&"bold"])},this.icon,s("zonos-text",{key:"e031a216dc586d138b0d3c03781b8b362bcc25d2",textColor:"".concat(this.badgeColor,"-800")},s("slot",{key:"9757275ea8350ae8578e255bb99940697021258e"})),this.dismissHandler&&s("zonos-icon",{key:"42a08f166b237af5c7c508c257dda46ee5c3d58a","aria-label":"Remove action",class:"zonos--badge-dismiss",content:a,onClick:function(){var e;return(e=o.dismissHandler)===null||e===void 0?void 0:e.call(o)}})))};return o}());d.style=c}}}));
@@ -1 +1 @@
1
- System.register(["./p-ac30b7a8.system.js"],(function(n){"use strict";var r,e,t,i;return{setters:[function(n){r=n._;e=n.b;t=n.i;i=n.d}],execute:function(){var u=r;var f=function(){return u.Date.now()};var a=f;var o=/\s/;function v(n){var r=n.length;while(r--&&o.test(n.charAt(r))){}return r}var c=v;var d=c;var s=/^\s+/;function m(n){return n?n.slice(0,d(n)+1).replace(s,""):n}var y=m;var p=e,l=t;var T="[object Symbol]";function b(n){return typeof n=="symbol"||l(n)&&p(n)==T}var h=b;var x=y,w=i,$=h;var g=0/0;var j=/^[-+]0x[0-9a-f]+$/i;var E=/^0b[01]+$/i;var M=/^0o[0-7]+$/i;var S=parseInt;function I(n){if(typeof n=="number"){return n}if($(n)){return g}if(w(n)){var r=typeof n.valueOf=="function"?n.valueOf():n;n=w(r)?r+"":r}if(typeof n!="string"){return n===0?n:+n}n=x(n);var e=E.test(n);return e||M.test(n)?S(n.slice(2),e?2:8):j.test(n)?g:+n}var W=I;var k=i,q=a,z=W;var A="Expected a function";var B=Math.max,C=Math.min;function D(n,r,e){var t,i,u,f,a,o,v=0,c=false,d=false,s=true;if(typeof n!="function"){throw new TypeError(A)}r=z(r)||0;if(k(e)){c=!!e.leading;d="maxWait"in e;u=d?B(z(e.maxWait)||0,r):u;s="trailing"in e?!!e.trailing:s}function m(r){var e=t,u=i;t=i=undefined;v=r;f=n.apply(u,e);return f}function y(n){v=n;a=setTimeout(T,r);return c?m(n):f}function p(n){var e=n-o,t=n-v,i=r-e;return d?C(i,u-t):i}function l(n){var e=n-o,t=n-v;return o===undefined||e>=r||e<0||d&&t>=u}function T(){var n=q();if(l(n)){return b(n)}a=setTimeout(T,p(n))}function b(n){a=undefined;if(s&&t){return m(n)}t=i=undefined;return f}function h(){if(a!==undefined){clearTimeout(a)}v=0;t=o=i=a=undefined}function x(){return a===undefined?f:b(q())}function w(){var n=q(),e=l(n);t=arguments;i=this;o=n;if(e){if(a===undefined){return y(o)}if(d){clearTimeout(a);a=setTimeout(T,r);return m(o)}}if(a===undefined){a=setTimeout(T,r)}return f}w.cancel=h;w.flush=x;return w}var F=n("d",D)}}}));
1
+ System.register(["./p-15ef7644.system.js"],(function(n){"use strict";var r,e,t,i;return{setters:[function(n){r=n._;e=n.b;t=n.i;i=n.d}],execute:function(){var u=r;var f=function(){return u.Date.now()};var a=f;var o=/\s/;function v(n){var r=n.length;while(r--&&o.test(n.charAt(r))){}return r}var c=v;var d=c;var s=/^\s+/;function m(n){return n?n.slice(0,d(n)+1).replace(s,""):n}var y=m;var p=e,l=t;var T="[object Symbol]";function b(n){return typeof n=="symbol"||l(n)&&p(n)==T}var h=b;var x=y,w=i,$=h;var g=0/0;var j=/^[-+]0x[0-9a-f]+$/i;var E=/^0b[01]+$/i;var M=/^0o[0-7]+$/i;var S=parseInt;function I(n){if(typeof n=="number"){return n}if($(n)){return g}if(w(n)){var r=typeof n.valueOf=="function"?n.valueOf():n;n=w(r)?r+"":r}if(typeof n!="string"){return n===0?n:+n}n=x(n);var e=E.test(n);return e||M.test(n)?S(n.slice(2),e?2:8):j.test(n)?g:+n}var W=I;var k=i,q=a,z=W;var A="Expected a function";var B=Math.max,C=Math.min;function D(n,r,e){var t,i,u,f,a,o,v=0,c=false,d=false,s=true;if(typeof n!="function"){throw new TypeError(A)}r=z(r)||0;if(k(e)){c=!!e.leading;d="maxWait"in e;u=d?B(z(e.maxWait)||0,r):u;s="trailing"in e?!!e.trailing:s}function m(r){var e=t,u=i;t=i=undefined;v=r;f=n.apply(u,e);return f}function y(n){v=n;a=setTimeout(T,r);return c?m(n):f}function p(n){var e=n-o,t=n-v,i=r-e;return d?C(i,u-t):i}function l(n){var e=n-o,t=n-v;return o===undefined||e>=r||e<0||d&&t>=u}function T(){var n=q();if(l(n)){return b(n)}a=setTimeout(T,p(n))}function b(n){a=undefined;if(s&&t){return m(n)}t=i=undefined;return f}function h(){if(a!==undefined){clearTimeout(a)}v=0;t=o=i=a=undefined}function x(){return a===undefined?f:b(q())}function w(){var n=q(),e=l(n);t=arguments;i=this;o=n;if(e){if(a===undefined){return y(o)}if(d){clearTimeout(a);a=setTimeout(T,r);return m(o)}}if(a===undefined){a=setTimeout(T,r)}return f}w.cancel=h;w.flush=x;return w}var F=n("d",D)}}}));
@@ -1 +1 @@
1
- import{r as o,h as e,a as s}from"./p-ce75b047.js";import{f as r}from"./p-058f6124.js";import{c as t}from"./p-b4b7f705.js";import"./p-0a377722.js";const n=class{constructor(e){o(this,e),this.hasContent=!1,this.handleSlotChange=()=>{this.hasContent=!0}}render(){const o=({color:o})=>{const s=`var(--zonos-elements-${o}-800)`,r=`var(--zonos-elements-${o}-300)`,[n,a]=[this.bannerTitle,e("slot",{onSlotchange:this.handleSlotChange})].filter(Boolean),l="gray"===o?"gray-1000":`${o}-800`;return e("div",{class:t(["zonos--container"])},e("div",{class:"zonos--icon-wrapper"},e("svg",{color:s,fill:"none",height:"20",viewBox:"0 0 24 24",width:"20",xmlns:"https://www.w3.org/2000/svg"},e("path",{"clip-rule":"evenodd",d:"M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Z","data-is-secondary-color":"true",fill:r,"fill-rule":"evenodd"}),e("path",{"clip-rule":"evenodd",d:"M12 6.99a1 1 0 0 1 1 1V8a1 1 0 1 1-2 0v-.01a1 1 0 0 1 1-1ZM12 11a1 1 0 0 1 1 1v4a1 1 0 1 1-2 0v-4a1 1 0 0 1 1-1Z",fill:"currentColor","fill-rule":"evenodd"}))),e("div",{class:"zonos--header-wrapper"},e("zonos-text",{textColor:l,type:"label",weight:600},n)),a&&e("div",{class:"zonos--content-wrapper"},e("zonos-text",{textColor:l},a)))},n=t(["zonos--elements zonos--banner",this.intent]),a=r();switch(this.intent){case"error":return e(s,{class:n,style:{"--zonos--font-family":a}},o({color:"red"}));case"info":return e(s,{class:n,style:{"--zonos--font-family":a}},o({color:"blue"}));case"success":return e(s,{class:n,style:{"--zonos--font-family":a}},o({color:"green"}));case"warning":return e(s,{class:n,style:{"--zonos--font-family":a}},o({color:"orange"}));default:return e(s,{class:n,style:{"--zonos--font-family":a}},o({color:"gray"}))}}};n.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{border-radius:var(--zonos-elements-radius-10);padding:16px;background:var(--zonos-elements-gray-100)}:host .zonos--container{display:grid;-ms-flex-align:center;align-items:center;grid-template-areas:"icon header" ". content";grid-template-columns:32px auto 0}:host .zonos--icon-wrapper{grid-area:icon;display:-ms-flexbox;display:flex;justify-self:start}:host .zonos--header-wrapper{margin-top:0px;grid-area:header}:host .zonos--content-wrapper{grid-area:content;margin-top:4px}:host(.info){background-color:var(--zonos-elements-blue-100);border:1px solid var(--zonos-elements-blue-200)}:host(.success){background-color:var(--zonos-elements-green-100);border:1px solid var(--zonos-elements-green-200)}:host(.error){background-color:var(--zonos-elements-red-100);border:1px solid var(--zonos-elements-red-200)}:host(.warning){background-color:var(--zonos-elements-orange-100);border:1px solid var(--zonos-elements-orange-200)}';export{n as zonos_banner}
1
+ import{r as o,h as e,a as s}from"./p-ce75b047.js";import{f as r}from"./p-ed9385f4.js";import{c as t}from"./p-b4b7f705.js";import"./p-0a377722.js";const n=class{constructor(e){o(this,e),this.hasContent=!1,this.handleSlotChange=()=>{this.hasContent=!0}}render(){const o=({color:o})=>{const s=`var(--zonos-elements-${o}-800)`,r=`var(--zonos-elements-${o}-300)`,[n,a]=[this.bannerTitle,e("slot",{onSlotchange:this.handleSlotChange})].filter(Boolean),l="gray"===o?"gray-1000":`${o}-800`;return e("div",{class:t(["zonos--container"])},e("div",{class:"zonos--icon-wrapper"},e("svg",{color:s,fill:"none",height:"20",viewBox:"0 0 24 24",width:"20",xmlns:"https://www.w3.org/2000/svg"},e("path",{"clip-rule":"evenodd",d:"M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Z","data-is-secondary-color":"true",fill:r,"fill-rule":"evenodd"}),e("path",{"clip-rule":"evenodd",d:"M12 6.99a1 1 0 0 1 1 1V8a1 1 0 1 1-2 0v-.01a1 1 0 0 1 1-1ZM12 11a1 1 0 0 1 1 1v4a1 1 0 1 1-2 0v-4a1 1 0 0 1 1-1Z",fill:"currentColor","fill-rule":"evenodd"}))),e("div",{class:"zonos--header-wrapper"},e("zonos-text",{textColor:l,type:"label",weight:600},n)),a&&e("div",{class:"zonos--content-wrapper"},e("zonos-text",{textColor:l},a)))},n=t(["zonos--elements zonos--banner",this.intent]),a=r();switch(this.intent){case"error":return e(s,{class:n,style:{"--zonos--font-family":a}},o({color:"red"}));case"info":return e(s,{class:n,style:{"--zonos--font-family":a}},o({color:"blue"}));case"success":return e(s,{class:n,style:{"--zonos--font-family":a}},o({color:"green"}));case"warning":return e(s,{class:n,style:{"--zonos--font-family":a}},o({color:"orange"}));default:return e(s,{class:n,style:{"--zonos--font-family":a}},o({color:"gray"}))}}};n.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{border-radius:var(--zonos-elements-radius-10);padding:16px;background:var(--zonos-elements-gray-100)}:host .zonos--container{display:grid;-ms-flex-align:center;align-items:center;grid-template-areas:"icon header" ". content";grid-template-columns:32px auto 0}:host .zonos--icon-wrapper{grid-area:icon;display:-ms-flexbox;display:flex;justify-self:start}:host .zonos--header-wrapper{margin-top:0px;grid-area:header}:host .zonos--content-wrapper{grid-area:content;margin-top:4px}:host(.info){background-color:var(--zonos-elements-blue-100);border:1px solid var(--zonos-elements-blue-200)}:host(.success){background-color:var(--zonos-elements-green-100);border:1px solid var(--zonos-elements-green-200)}:host(.error){background-color:var(--zonos-elements-red-100);border:1px solid var(--zonos-elements-red-200)}:host(.warning){background-color:var(--zonos-elements-orange-100);border:1px solid var(--zonos-elements-orange-200)}';export{n as zonos_banner}