@beeq/core 1.8.0-beta.3 → 1.8.0-beta.5

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 (644) hide show
  1. package/dist/beeq/beeq.css +1 -1
  2. package/dist/beeq/beeq.esm.js +43 -1
  3. package/dist/beeq/beeq.esm.js.map +1 -1
  4. package/dist/beeq/index.esm.js +64 -1
  5. package/dist/beeq/index.esm.js.map +1 -1
  6. package/dist/beeq/p-01df4baa.js +1826 -0
  7. package/dist/beeq/p-01df4baa.js.map +1 -0
  8. package/dist/beeq/p-01fe8efb.entry.js +182 -0
  9. package/dist/beeq/p-01fe8efb.entry.js.map +1 -0
  10. package/dist/beeq/p-03373320.entry.js +318 -0
  11. package/dist/beeq/p-03373320.entry.js.map +1 -0
  12. package/dist/beeq/{p-b7f02fb6.entry.js → p-03c586df.entry.js} +288 -2
  13. package/dist/beeq/p-03c586df.entry.js.map +1 -0
  14. package/dist/beeq/{p-b994054a.entry.js → p-0a981080.entry.js} +150 -2
  15. package/dist/beeq/{p-6823479d.entry.js.map → p-0a981080.entry.js.map} +1 -1
  16. package/dist/beeq/{p-010fb578.entry.js → p-0ce76c54.entry.js} +99 -2
  17. package/dist/beeq/{p-45b7b5cf.entry.js.map → p-0ce76c54.entry.js.map} +1 -1
  18. package/dist/beeq/p-115ed5b2.js +25 -1
  19. package/dist/beeq/p-115ed5b2.js.map +1 -1
  20. package/dist/beeq/p-1c8b6eb4.js +12 -1
  21. package/dist/beeq/p-1c8b6eb4.js.map +1 -1
  22. package/dist/beeq/p-1defeea3.js +69 -0
  23. package/dist/beeq/{p-951ba558.js.map → p-1defeea3.js.map} +1 -1
  24. package/dist/beeq/p-1f3a4359.js +11 -1
  25. package/dist/beeq/p-1f3a4359.js.map +1 -1
  26. package/dist/beeq/p-2bb049ae.entry.js +334 -0
  27. package/dist/beeq/p-2bb049ae.entry.js.map +1 -0
  28. package/dist/beeq/p-3043c826.entry.js +133 -0
  29. package/dist/beeq/p-3043c826.entry.js.map +1 -0
  30. package/dist/beeq/p-38e70f78.entry.js +133 -0
  31. package/dist/beeq/p-38e70f78.entry.js.map +1 -0
  32. package/dist/beeq/p-398bfb48.entry.js +242 -0
  33. package/dist/beeq/{p-7871f3f0.entry.js.map → p-398bfb48.entry.js.map} +1 -1
  34. package/dist/beeq/p-3f9a348a.entry.js +272 -0
  35. package/dist/beeq/{p-2e61db84.entry.js.map → p-3f9a348a.entry.js.map} +1 -1
  36. package/dist/beeq/p-3fd0d92d.js +1228 -1
  37. package/dist/beeq/p-3fd0d92d.js.map +1 -1
  38. package/dist/beeq/p-41ac1d84.entry.js +195 -0
  39. package/dist/beeq/p-41ac1d84.entry.js.map +1 -0
  40. package/dist/beeq/p-4eabcd51.entry.js +82 -0
  41. package/dist/beeq/{p-d5992d3d.entry.js.map → p-4eabcd51.entry.js.map} +1 -1
  42. package/dist/beeq/p-544deac1.entry.js +528 -0
  43. package/dist/beeq/p-544deac1.entry.js.map +1 -0
  44. package/dist/beeq/p-57621be1.js +9 -1
  45. package/dist/beeq/p-57621be1.js.map +1 -1
  46. package/dist/beeq/p-5ff6621d.entry.js +134 -0
  47. package/dist/beeq/p-5ff6621d.entry.js.map +1 -0
  48. package/dist/beeq/p-60cbc966.entry.js +85 -0
  49. package/dist/beeq/{p-95d0abdc.entry.js.map → p-60cbc966.entry.js.map} +1 -1
  50. package/dist/beeq/p-687da041.js +20 -1
  51. package/dist/beeq/p-687da041.js.map +1 -1
  52. package/dist/beeq/p-68ff188d.entry.js +144 -0
  53. package/dist/beeq/p-68ff188d.entry.js.map +1 -0
  54. package/dist/beeq/p-69c766a3.entry.js +213 -0
  55. package/dist/beeq/p-69c766a3.entry.js.map +1 -0
  56. package/dist/beeq/p-76486949.entry.js +347 -0
  57. package/dist/beeq/p-76486949.entry.js.map +1 -0
  58. package/dist/beeq/p-83d6d9ad.js +14 -0
  59. package/dist/beeq/{p-513bab02.js.map → p-83d6d9ad.js.map} +1 -1
  60. package/dist/beeq/p-8b16f130.entry.js +210 -0
  61. package/dist/beeq/{p-010fb578.entry.js.map → p-8b16f130.entry.js.map} +1 -1
  62. package/dist/beeq/p-8e1c6978.entry.js +443 -0
  63. package/dist/beeq/p-8e1c6978.entry.js.map +1 -0
  64. package/dist/beeq/p-8f1c68c0.js +71 -0
  65. package/dist/beeq/p-8f1c68c0.js.map +1 -0
  66. package/dist/beeq/p-99829fc7.js +8 -1
  67. package/dist/beeq/p-99829fc7.js.map +1 -1
  68. package/dist/beeq/p-9cab14ee.entry.js +119 -0
  69. package/dist/beeq/{p-f7a0a316.entry.js.map → p-9cab14ee.entry.js.map} +1 -1
  70. package/dist/beeq/p-a23b23c4.entry.js +213 -0
  71. package/dist/beeq/p-a23b23c4.entry.js.map +1 -0
  72. package/dist/beeq/p-a5dc1c94.js +118 -1
  73. package/dist/beeq/p-a5dc1c94.js.map +1 -1
  74. package/dist/beeq/p-a608a4fb.entry.js +112 -0
  75. package/dist/beeq/{p-9da0e8d7.entry.js.map → p-a608a4fb.entry.js.map} +1 -1
  76. package/dist/beeq/p-a8cad5ab.js +5 -1
  77. package/dist/beeq/p-a8cad5ab.js.map +1 -1
  78. package/dist/beeq/p-aacaaa35.entry.js +209 -0
  79. package/dist/beeq/{p-ded1aed2.entry.js.map → p-aacaaa35.entry.js.map} +1 -1
  80. package/dist/beeq/p-af062402.js +7 -1
  81. package/dist/beeq/p-af062402.js.map +1 -1
  82. package/dist/beeq/p-b2df1479.entry.js +270 -0
  83. package/dist/beeq/p-b2df1479.entry.js.map +1 -0
  84. package/dist/beeq/p-b77b52f2.entry.js +188 -0
  85. package/dist/beeq/{p-0cbec77b.entry.js.map → p-b77b52f2.entry.js.map} +1 -1
  86. package/dist/beeq/p-c78ae3c2.js +1983 -0
  87. package/dist/beeq/p-c78ae3c2.js.map +1 -0
  88. package/dist/beeq/p-c83bc7fd.entry.js +157 -0
  89. package/dist/beeq/p-c83bc7fd.entry.js.map +1 -0
  90. package/dist/beeq/p-cb2b0014.entry.js +363 -0
  91. package/dist/beeq/p-cb2b0014.entry.js.map +1 -0
  92. package/dist/beeq/p-cb917e68.entry.js +177 -0
  93. package/dist/beeq/p-cb917e68.entry.js.map +1 -0
  94. package/dist/beeq/p-cfb8829b.entry.js +100 -0
  95. package/dist/beeq/{p-b2acd8f3.entry.js.map → p-cfb8829b.entry.js.map} +1 -1
  96. package/dist/beeq/p-d7067dae.entry.js +151 -0
  97. package/dist/beeq/{p-1202161d.entry.js.map → p-d7067dae.entry.js.map} +1 -1
  98. package/dist/beeq/p-d7ce7165.js +91 -0
  99. package/dist/beeq/p-d7ce7165.js.map +1 -0
  100. package/dist/beeq/p-d7dc7086.entry.js +267 -0
  101. package/dist/beeq/p-d7dc7086.entry.js.map +1 -0
  102. package/dist/beeq/p-ecd27cf2.js +11 -1
  103. package/dist/beeq/p-ecd27cf2.js.map +1 -1
  104. package/dist/beeq/p-edfd9767.js +31 -0
  105. package/dist/beeq/p-edfd9767.js.map +1 -0
  106. package/dist/beeq/p-f11a3beb.entry.js +90 -0
  107. package/dist/beeq/{p-fbf6b04b.entry.js.map → p-f11a3beb.entry.js.map} +1 -1
  108. package/dist/beeq/p-f1d6a960.entry.js +271 -0
  109. package/dist/beeq/p-f1d6a960.entry.js.map +1 -0
  110. package/dist/beeq/p-f350516b.entry.js +154 -0
  111. package/dist/beeq/p-f350516b.entry.js.map +1 -0
  112. package/dist/beeq/p-f979d79a.entry.js +120 -0
  113. package/dist/beeq/{p-83207939.entry.js.map → p-f979d79a.entry.js.map} +1 -1
  114. package/dist/beeq/{p-d5992d3d.entry.js → p-faa3be41.entry.js} +155 -2
  115. package/dist/beeq/{p-e7ede06e.entry.js.map → p-faa3be41.entry.js.map} +1 -1
  116. package/dist/beeq/p-fb20c6eb.entry.js +458 -0
  117. package/dist/beeq/p-fb20c6eb.entry.js.map +1 -0
  118. package/dist/beeq/p-fe278ecc.entry.js +267 -0
  119. package/dist/beeq/p-fe278ecc.entry.js.map +1 -0
  120. package/dist/cjs/assetsPath-8bd8d221.js +77 -0
  121. package/dist/cjs/assetsPath-8bd8d221.js.map +1 -0
  122. package/dist/cjs/beeq.cjs.js +3 -3
  123. package/dist/cjs/beeq.cjs.js.map +1 -1
  124. package/dist/cjs/bq-accordion-group.cjs.entry.js +3 -4
  125. package/dist/cjs/bq-accordion-group.cjs.entry.js.map +1 -1
  126. package/dist/cjs/bq-accordion.cjs.entry.js +83 -48
  127. package/dist/cjs/bq-accordion.cjs.entry.js.map +1 -1
  128. package/dist/cjs/bq-alert.cjs.entry.js +57 -43
  129. package/dist/cjs/bq-alert.cjs.entry.js.map +1 -1
  130. package/dist/cjs/bq-avatar.cjs.entry.js +40 -40
  131. package/dist/cjs/bq-avatar.cjs.entry.js.map +1 -1
  132. package/dist/cjs/bq-badge.cjs.entry.js +42 -42
  133. package/dist/cjs/bq-badge.cjs.entry.js.map +1 -1
  134. package/dist/cjs/bq-breadcrumb-item.cjs.entry.js +39 -29
  135. package/dist/cjs/bq-breadcrumb-item.cjs.entry.js.map +1 -1
  136. package/dist/cjs/bq-breadcrumb.cjs.entry.js +45 -30
  137. package/dist/cjs/bq-breadcrumb.cjs.entry.js.map +1 -1
  138. package/dist/cjs/bq-button_2.cjs.entry.js +138 -90
  139. package/dist/cjs/bq-button_2.cjs.entry.js.map +1 -1
  140. package/dist/cjs/bq-card.cjs.entry.js +3 -4
  141. package/dist/cjs/bq-card.cjs.entry.js.map +1 -1
  142. package/dist/cjs/bq-checkbox.cjs.entry.js +63 -54
  143. package/dist/cjs/bq-checkbox.cjs.entry.js.map +1 -1
  144. package/dist/cjs/bq-date-picker.cjs.entry.js +160 -140
  145. package/dist/cjs/bq-date-picker.cjs.entry.js.map +1 -1
  146. package/dist/cjs/bq-dialog.cjs.entry.js +71 -50
  147. package/dist/cjs/bq-dialog.cjs.entry.js.map +1 -1
  148. package/dist/cjs/bq-divider.cjs.entry.js +23 -21
  149. package/dist/cjs/bq-divider.cjs.entry.js.map +1 -1
  150. package/dist/cjs/bq-drawer.cjs.entry.js +48 -34
  151. package/dist/cjs/bq-drawer.cjs.entry.js.map +1 -1
  152. package/dist/cjs/bq-dropdown_2.cjs.entry.js +44 -34
  153. package/dist/cjs/bq-dropdown_2.cjs.entry.js.map +1 -1
  154. package/dist/cjs/bq-empty-state.cjs.entry.js +25 -22
  155. package/dist/cjs/bq-empty-state.cjs.entry.js.map +1 -1
  156. package/dist/cjs/bq-input.cjs.entry.js +116 -90
  157. package/dist/cjs/bq-input.cjs.entry.js.map +1 -1
  158. package/dist/cjs/bq-notification.cjs.entry.js +63 -49
  159. package/dist/cjs/bq-notification.cjs.entry.js.map +1 -1
  160. package/dist/cjs/bq-option-group.cjs.entry.js +3 -3
  161. package/dist/cjs/bq-option-group.cjs.entry.js.map +1 -1
  162. package/dist/cjs/bq-option-list_2.cjs.entry.js +73 -54
  163. package/dist/cjs/bq-option-list_2.cjs.entry.js.map +1 -1
  164. package/dist/cjs/bq-option.cjs.entry.js +61 -45
  165. package/dist/cjs/bq-option.cjs.entry.js.map +1 -1
  166. package/dist/cjs/bq-page-title.cjs.entry.js +36 -32
  167. package/dist/cjs/bq-page-title.cjs.entry.js.map +1 -1
  168. package/dist/cjs/bq-progress.cjs.entry.js +3 -4
  169. package/dist/cjs/bq-progress.cjs.entry.js.map +1 -1
  170. package/dist/cjs/bq-radio-group.cjs.entry.js +12 -7
  171. package/dist/cjs/bq-radio-group.cjs.entry.js.map +1 -1
  172. package/dist/cjs/bq-radio.cjs.entry.js +43 -37
  173. package/dist/cjs/bq-radio.cjs.entry.js.map +1 -1
  174. package/dist/cjs/bq-select.cjs.entry.js +185 -168
  175. package/dist/cjs/bq-select.cjs.entry.js.map +1 -1
  176. package/dist/cjs/bq-side-menu-item.cjs.entry.js +68 -55
  177. package/dist/cjs/bq-side-menu-item.cjs.entry.js.map +1 -1
  178. package/dist/cjs/bq-side-menu.cjs.entry.js +47 -32
  179. package/dist/cjs/bq-side-menu.cjs.entry.js.map +1 -1
  180. package/dist/cjs/bq-slider.cjs.entry.js +160 -145
  181. package/dist/cjs/bq-slider.cjs.entry.js.map +1 -1
  182. package/dist/cjs/bq-spinner.cjs.entry.js +52 -51
  183. package/dist/cjs/bq-spinner.cjs.entry.js.map +1 -1
  184. package/dist/cjs/bq-status.cjs.entry.js +3 -4
  185. package/dist/cjs/bq-status.cjs.entry.js.map +1 -1
  186. package/dist/cjs/bq-step-item.cjs.entry.js +15 -11
  187. package/dist/cjs/bq-step-item.cjs.entry.js.map +1 -1
  188. package/dist/cjs/bq-steps.cjs.entry.js +12 -10
  189. package/dist/cjs/bq-steps.cjs.entry.js.map +1 -1
  190. package/dist/cjs/bq-switch.cjs.entry.js +43 -32
  191. package/dist/cjs/bq-switch.cjs.entry.js.map +1 -1
  192. package/dist/cjs/bq-tab-group.cjs.entry.js +64 -57
  193. package/dist/cjs/bq-tab-group.cjs.entry.js.map +1 -1
  194. package/dist/cjs/bq-tab.cjs.entry.js +43 -33
  195. package/dist/cjs/bq-tab.cjs.entry.js.map +1 -1
  196. package/dist/cjs/bq-textarea.cjs.entry.js +80 -58
  197. package/dist/cjs/bq-textarea.cjs.entry.js.map +1 -1
  198. package/dist/cjs/bq-toast.cjs.entry.js +44 -38
  199. package/dist/cjs/bq-toast.cjs.entry.js.map +1 -1
  200. package/dist/cjs/bq-tooltip.cjs.entry.js +46 -42
  201. package/dist/cjs/bq-tooltip.cjs.entry.js.map +1 -1
  202. package/dist/cjs/{cssVariables-a0e1e906.js → cssVariables-dd190bc2.js} +2 -2
  203. package/dist/cjs/cssVariables-dd190bc2.js.map +1 -0
  204. package/dist/cjs/{debounce-f94a239b.js → debounce-1f7e1176.js} +3 -3
  205. package/dist/cjs/debounce-1f7e1176.js.map +1 -0
  206. package/dist/cjs/{index-e6d59dbb.js → index-34edf639.js} +48 -15
  207. package/dist/cjs/index-34edf639.js.map +1 -0
  208. package/dist/cjs/{index-e4c116b6.js → index-fc7876d6.js} +63 -19
  209. package/dist/cjs/index-fc7876d6.js.map +1 -0
  210. package/dist/cjs/index.cjs.js +5 -5
  211. package/dist/cjs/{isDefined-a9dd6d5b.js → isDefined-f3968296.js} +1 -2
  212. package/dist/cjs/isDefined-f3968296.js.map +1 -0
  213. package/dist/cjs/loader.cjs.js +2 -2
  214. package/dist/cjs/{slot-dd6f7db9.js → slot-2fee189a.js} +3 -4
  215. package/dist/{beeq/p-d7a88b16.js.map → cjs/slot-2fee189a.js.map} +1 -1
  216. package/dist/collection/_storybook/foundation/helper/index.js +3 -3
  217. package/dist/collection/_storybook/foundation/helper/index.js.map +1 -1
  218. package/dist/collection/collection-manifest.json +2 -2
  219. package/dist/collection/components/accordion/bq-accordion.js +72 -39
  220. package/dist/collection/components/accordion/bq-accordion.js.map +1 -1
  221. package/dist/collection/components/accordion/helper/index.js +10 -4
  222. package/dist/collection/components/accordion/helper/index.js.map +1 -1
  223. package/dist/collection/components/accordion/scss/bq-accordion.css +1 -1
  224. package/dist/collection/components/accordion-group/bq-accordion-group.js +5 -0
  225. package/dist/collection/components/accordion-group/bq-accordion-group.js.map +1 -1
  226. package/dist/collection/components/accordion-group/scss/bq-accordion-group.css +1 -1
  227. package/dist/collection/components/alert/bq-alert.js +55 -37
  228. package/dist/collection/components/alert/bq-alert.js.map +1 -1
  229. package/dist/collection/components/alert/scss/bq-alert.css +1 -1
  230. package/dist/collection/components/avatar/bq-avatar.js +40 -36
  231. package/dist/collection/components/avatar/bq-avatar.js.map +1 -1
  232. package/dist/collection/components/avatar/scss/bq-avatar.css +1 -1
  233. package/dist/collection/components/badge/bq-badge.js +40 -36
  234. package/dist/collection/components/badge/bq-badge.js.map +1 -1
  235. package/dist/collection/components/badge/scss/bq-badge.css +1 -1
  236. package/dist/collection/components/breadcrumb/bq-breadcrumb.js +45 -26
  237. package/dist/collection/components/breadcrumb/bq-breadcrumb.js.map +1 -1
  238. package/dist/collection/components/breadcrumb/scss/bq-breadcrumb.css +1 -1
  239. package/dist/collection/components/breadcrumb-item/bq-breadcrumb-item.js +40 -24
  240. package/dist/collection/components/breadcrumb-item/bq-breadcrumb-item.js.map +1 -1
  241. package/dist/collection/components/breadcrumb-item/scss/bq-breadcrumb-item.css +1 -1
  242. package/dist/collection/components/button/bq-button.js +84 -43
  243. package/dist/collection/components/button/bq-button.js.map +1 -1
  244. package/dist/collection/components/button/scss/bq-button.css +1 -1
  245. package/dist/collection/components/card/bq-card.js +5 -0
  246. package/dist/collection/components/card/bq-card.js.map +1 -1
  247. package/dist/collection/components/card/scss/bq-card.css +1 -1
  248. package/dist/collection/components/checkbox/bq-checkbox.js +63 -50
  249. package/dist/collection/components/checkbox/bq-checkbox.js.map +1 -1
  250. package/dist/collection/components/checkbox/scss/bq-checkbox.css +1 -1
  251. package/dist/collection/components/date-picker/bq-date-picker.js +158 -134
  252. package/dist/collection/components/date-picker/bq-date-picker.js.map +1 -1
  253. package/dist/collection/components/date-picker/scss/bq-date-picker.css +1 -1
  254. package/dist/collection/components/dialog/bq-dialog.js +70 -45
  255. package/dist/collection/components/dialog/bq-dialog.js.map +1 -1
  256. package/dist/collection/components/dialog/scss/bq-dialog.css +1 -1
  257. package/dist/collection/components/divider/bq-divider.js +21 -15
  258. package/dist/collection/components/divider/bq-divider.js.map +1 -1
  259. package/dist/collection/components/divider/scss/bq-divider.css +1 -1
  260. package/dist/collection/components/drawer/bq-drawer.js +47 -29
  261. package/dist/collection/components/drawer/bq-drawer.js.map +1 -1
  262. package/dist/collection/components/drawer/scss/bq-drawer.css +1 -1
  263. package/dist/collection/components/dropdown/bq-dropdown.js +34 -23
  264. package/dist/collection/components/dropdown/bq-dropdown.js.map +1 -1
  265. package/dist/collection/components/empty-state/bq-empty-state.js +25 -18
  266. package/dist/collection/components/empty-state/bq-empty-state.js.map +1 -1
  267. package/dist/collection/components/icon/bq-icon.js +41 -37
  268. package/dist/collection/components/icon/bq-icon.js.map +1 -1
  269. package/dist/collection/components/icon/helper/request.js +2 -2
  270. package/dist/collection/components/icon/helper/request.js.map +1 -1
  271. package/dist/collection/components/icon/scss/bq-icon.css +1 -1
  272. package/dist/collection/components/input/bq-input.js +113 -83
  273. package/dist/collection/components/input/bq-input.js.map +1 -1
  274. package/dist/collection/components/input/scss/bq-input.css +1 -1
  275. package/dist/collection/components/notification/bq-notification.js +61 -43
  276. package/dist/collection/components/notification/bq-notification.js.map +1 -1
  277. package/dist/collection/components/notification/scss/bq-notification.css +1 -1
  278. package/dist/collection/components/option/bq-option.js +60 -40
  279. package/dist/collection/components/option/bq-option.js.map +1 -1
  280. package/dist/collection/components/option/scss/bq-option.css +1 -1
  281. package/dist/collection/components/option-group/bq-option-group.js +5 -0
  282. package/dist/collection/components/option-group/bq-option-group.js.map +1 -1
  283. package/dist/collection/components/option-group/scss/bq-option-group.css +1 -1
  284. package/dist/collection/components/option-list/bq-option-list.js +10 -0
  285. package/dist/collection/components/option-list/bq-option-list.js.map +1 -1
  286. package/dist/collection/components/option-list/scss/bq-option-list.css +1 -1
  287. package/dist/collection/components/page-title/bq-page-title.js +35 -27
  288. package/dist/collection/components/page-title/bq-page-title.js.map +1 -1
  289. package/dist/collection/components/page-title/scss/bq-page-title.css +1 -1
  290. package/dist/collection/components/panel/bq-panel.js +11 -6
  291. package/dist/collection/components/panel/bq-panel.js.map +1 -1
  292. package/dist/collection/components/panel/scss/bq-panel.css +1 -1
  293. package/dist/collection/components/progress/bq-progress.js +5 -0
  294. package/dist/collection/components/progress/bq-progress.js.map +1 -1
  295. package/dist/collection/components/progress/scss/bq-progress.css +1 -1
  296. package/dist/collection/components/radio/bq-radio.js +43 -34
  297. package/dist/collection/components/radio/bq-radio.js.map +1 -1
  298. package/dist/collection/components/radio/scss/bq-radio.css +1 -1
  299. package/dist/collection/components/radio-group/bq-radio-group.js +12 -3
  300. package/dist/collection/components/radio-group/bq-radio-group.js.map +1 -1
  301. package/dist/collection/components/select/bq-select.js +182 -161
  302. package/dist/collection/components/select/bq-select.js.map +1 -1
  303. package/dist/collection/components/select/scss/bq-select.css +1 -1
  304. package/dist/collection/components/side-menu/bq-side-menu.js +50 -29
  305. package/dist/collection/components/side-menu/bq-side-menu.js.map +1 -1
  306. package/dist/collection/components/side-menu/scss/bq-side-menu.css +1 -1
  307. package/dist/collection/components/side-menu-item/bq-side-menu-item.js +68 -51
  308. package/dist/collection/components/side-menu-item/bq-side-menu-item.js.map +1 -1
  309. package/dist/collection/components/side-menu-item/scss/bq-side-menu-item.css +1 -1
  310. package/dist/collection/components/slider/bq-slider.js +159 -140
  311. package/dist/collection/components/slider/bq-slider.js.map +1 -1
  312. package/dist/collection/components/slider/scss/bq-slider.css +1 -1
  313. package/dist/collection/components/spinner/bq-spinner.js +51 -46
  314. package/dist/collection/components/spinner/bq-spinner.js.map +1 -1
  315. package/dist/collection/components/spinner/scss/bq-spinner.css +1 -1
  316. package/dist/collection/components/status/bq-status.js +5 -0
  317. package/dist/collection/components/status/bq-status.js.map +1 -1
  318. package/dist/collection/components/status/scss/bq-status.css +1 -1
  319. package/dist/collection/components/step-item/bq-step-item.js +17 -7
  320. package/dist/collection/components/step-item/bq-step-item.js.map +1 -1
  321. package/dist/collection/components/step-item/scss/bq-step-item.css +1 -1
  322. package/dist/collection/components/steps/bq-steps.js +12 -6
  323. package/dist/collection/components/steps/bq-steps.js.map +1 -1
  324. package/dist/collection/components/steps/scss/bq-steps.css +1 -1
  325. package/dist/collection/components/switch/bq-switch.js +42 -27
  326. package/dist/collection/components/switch/bq-switch.js.map +1 -1
  327. package/dist/collection/components/switch/scss/bq-switch.css +1 -1
  328. package/dist/collection/components/tab/bq-tab.js +42 -28
  329. package/dist/collection/components/tab/bq-tab.js.map +1 -1
  330. package/dist/collection/components/tab/scss/bq-tab.css +1 -1
  331. package/dist/collection/components/tab-group/bq-tab-group.js +64 -53
  332. package/dist/collection/components/tab-group/bq-tab-group.js.map +1 -1
  333. package/dist/collection/components/tag/bq-tag.js +64 -46
  334. package/dist/collection/components/tag/bq-tag.js.map +1 -1
  335. package/dist/collection/components/tag/scss/bq-tag.css +1 -1
  336. package/dist/collection/components/textarea/bq-textarea.js +78 -52
  337. package/dist/collection/components/textarea/bq-textarea.js.map +1 -1
  338. package/dist/collection/components/textarea/scss/bq-textarea.css +1 -1
  339. package/dist/collection/components/toast/bq-toast.js +43 -33
  340. package/dist/collection/components/toast/bq-toast.js.map +1 -1
  341. package/dist/collection/components/toast/scss/bq-toast.css +1 -1
  342. package/dist/collection/components/tooltip/bq-tooltip.js +45 -38
  343. package/dist/collection/components/tooltip/bq-tooltip.js.map +1 -1
  344. package/dist/collection/components/tooltip/scss/bq-tooltip.css +1 -1
  345. package/dist/collection/index.js +0 -1
  346. package/dist/collection/index.js.map +1 -1
  347. package/dist/collection/services/libraries/floating-ui/index.js +4 -0
  348. package/dist/collection/services/libraries/floating-ui/index.js.map +1 -1
  349. package/dist/collection/shared/utils/assetsPath.js +45 -57
  350. package/dist/collection/shared/utils/assetsPath.js.map +1 -1
  351. package/dist/collection/shared/utils/cssVariables.js +1 -1
  352. package/dist/collection/shared/utils/cssVariables.js.map +1 -1
  353. package/dist/collection/shared/utils/debounce.js +2 -2
  354. package/dist/collection/shared/utils/debounce.js.map +1 -1
  355. package/dist/collection/shared/utils/slot.js +2 -3
  356. package/dist/collection/shared/utils/slot.js.map +1 -1
  357. package/dist/components/bq-accordion-group.js +2 -3
  358. package/dist/components/bq-accordion-group.js.map +1 -1
  359. package/dist/components/bq-accordion.js +81 -46
  360. package/dist/components/bq-accordion.js.map +1 -1
  361. package/dist/components/bq-alert.js +54 -40
  362. package/dist/components/bq-alert.js.map +1 -1
  363. package/dist/components/bq-avatar.js +39 -39
  364. package/dist/components/bq-avatar.js.map +1 -1
  365. package/dist/components/bq-badge2.js +39 -39
  366. package/dist/components/bq-badge2.js.map +1 -1
  367. package/dist/components/bq-breadcrumb-item.js +37 -27
  368. package/dist/components/bq-breadcrumb-item.js.map +1 -1
  369. package/dist/components/bq-breadcrumb.js +44 -29
  370. package/dist/components/bq-breadcrumb.js.map +1 -1
  371. package/dist/components/bq-button2.js +84 -47
  372. package/dist/components/bq-button2.js.map +1 -1
  373. package/dist/components/bq-card.js +2 -3
  374. package/dist/components/bq-card.js.map +1 -1
  375. package/dist/components/bq-checkbox.js +62 -53
  376. package/dist/components/bq-checkbox.js.map +1 -1
  377. package/dist/components/bq-date-picker.js +157 -137
  378. package/dist/components/bq-date-picker.js.map +1 -1
  379. package/dist/components/bq-dialog.js +69 -48
  380. package/dist/components/bq-dialog.js.map +1 -1
  381. package/dist/components/bq-divider2.js +20 -18
  382. package/dist/components/bq-divider2.js.map +1 -1
  383. package/dist/components/bq-drawer.js +46 -32
  384. package/dist/components/bq-drawer.js.map +1 -1
  385. package/dist/components/bq-dropdown2.js +32 -24
  386. package/dist/components/bq-dropdown2.js.map +1 -1
  387. package/dist/components/bq-empty-state.js +23 -20
  388. package/dist/components/bq-empty-state.js.map +1 -1
  389. package/dist/components/bq-icon2.js +112 -42
  390. package/dist/components/bq-icon2.js.map +1 -1
  391. package/dist/components/bq-input.js +112 -86
  392. package/dist/components/bq-input.js.map +1 -1
  393. package/dist/components/bq-notification.js +60 -46
  394. package/dist/components/bq-notification.js.map +1 -1
  395. package/dist/components/bq-option-group.js +2 -2
  396. package/dist/components/bq-option-group.js.map +1 -1
  397. package/dist/components/bq-option-list2.js +7 -3
  398. package/dist/components/bq-option-list2.js.map +1 -1
  399. package/dist/components/bq-option.js +59 -43
  400. package/dist/components/bq-option.js.map +1 -1
  401. package/dist/components/bq-page-title.js +34 -30
  402. package/dist/components/bq-page-title.js.map +1 -1
  403. package/dist/components/bq-panel2.js +10 -8
  404. package/dist/components/bq-panel2.js.map +1 -1
  405. package/dist/components/bq-progress.js +2 -3
  406. package/dist/components/bq-progress.js.map +1 -1
  407. package/dist/components/bq-radio-group.js +10 -5
  408. package/dist/components/bq-radio-group.js.map +1 -1
  409. package/dist/components/bq-radio.js +43 -37
  410. package/dist/components/bq-radio.js.map +1 -1
  411. package/dist/components/bq-select.js +181 -164
  412. package/dist/components/bq-select.js.map +1 -1
  413. package/dist/components/bq-side-menu-item.js +67 -54
  414. package/dist/components/bq-side-menu-item.js.map +1 -1
  415. package/dist/components/bq-side-menu.js +47 -31
  416. package/dist/components/bq-side-menu.js.map +1 -1
  417. package/dist/components/bq-slider.js +158 -143
  418. package/dist/components/bq-slider.js.map +1 -1
  419. package/dist/components/bq-spinner.js +49 -48
  420. package/dist/components/bq-spinner.js.map +1 -1
  421. package/dist/components/bq-status.js +2 -3
  422. package/dist/components/bq-status.js.map +1 -1
  423. package/dist/components/bq-step-item.js +14 -10
  424. package/dist/components/bq-step-item.js.map +1 -1
  425. package/dist/components/bq-steps.js +11 -9
  426. package/dist/components/bq-steps.js.map +1 -1
  427. package/dist/components/bq-switch.js +41 -30
  428. package/dist/components/bq-switch.js.map +1 -1
  429. package/dist/components/bq-tab-group.js +62 -55
  430. package/dist/components/bq-tab-group.js.map +1 -1
  431. package/dist/components/bq-tab.js +41 -31
  432. package/dist/components/bq-tab.js.map +1 -1
  433. package/dist/components/bq-tag2.js +63 -49
  434. package/dist/components/bq-tag2.js.map +1 -1
  435. package/dist/components/bq-textarea.js +77 -55
  436. package/dist/components/bq-textarea.js.map +1 -1
  437. package/dist/components/bq-toast.js +42 -36
  438. package/dist/components/bq-toast.js.map +1 -1
  439. package/dist/components/bq-tooltip2.js +44 -40
  440. package/dist/components/bq-tooltip2.js.map +1 -1
  441. package/dist/components/cssVariables.js +1 -1
  442. package/dist/components/cssVariables.js.map +1 -1
  443. package/dist/components/debounce.js +2 -2
  444. package/dist/components/debounce.js.map +1 -1
  445. package/dist/components/index.js +1 -1
  446. package/dist/components/index2.js +62 -18
  447. package/dist/components/index2.js.map +1 -1
  448. package/dist/components/isDefined.js +0 -1
  449. package/dist/components/isDefined.js.map +1 -1
  450. package/dist/components/slot.js +2 -3
  451. package/dist/components/slot.js.map +1 -1
  452. package/dist/esm/assetsPath-beeee241.js +74 -0
  453. package/dist/esm/assetsPath-beeee241.js.map +1 -0
  454. package/dist/esm/beeq.js +4 -4
  455. package/dist/esm/beeq.js.map +1 -1
  456. package/dist/esm/bq-accordion-group.entry.js +3 -4
  457. package/dist/esm/bq-accordion-group.entry.js.map +1 -1
  458. package/dist/esm/bq-accordion.entry.js +83 -48
  459. package/dist/esm/bq-accordion.entry.js.map +1 -1
  460. package/dist/esm/bq-alert.entry.js +57 -43
  461. package/dist/esm/bq-alert.entry.js.map +1 -1
  462. package/dist/esm/bq-avatar.entry.js +40 -40
  463. package/dist/esm/bq-avatar.entry.js.map +1 -1
  464. package/dist/esm/bq-badge.entry.js +42 -42
  465. package/dist/esm/bq-badge.entry.js.map +1 -1
  466. package/dist/esm/bq-breadcrumb-item.entry.js +39 -29
  467. package/dist/esm/bq-breadcrumb-item.entry.js.map +1 -1
  468. package/dist/esm/bq-breadcrumb.entry.js +45 -30
  469. package/dist/esm/bq-breadcrumb.entry.js.map +1 -1
  470. package/dist/esm/bq-button_2.entry.js +138 -90
  471. package/dist/esm/bq-button_2.entry.js.map +1 -1
  472. package/dist/esm/bq-card.entry.js +3 -4
  473. package/dist/esm/bq-card.entry.js.map +1 -1
  474. package/dist/esm/bq-checkbox.entry.js +63 -54
  475. package/dist/esm/bq-checkbox.entry.js.map +1 -1
  476. package/dist/esm/bq-date-picker.entry.js +160 -140
  477. package/dist/esm/bq-date-picker.entry.js.map +1 -1
  478. package/dist/esm/bq-dialog.entry.js +71 -50
  479. package/dist/esm/bq-dialog.entry.js.map +1 -1
  480. package/dist/esm/bq-divider.entry.js +23 -21
  481. package/dist/esm/bq-divider.entry.js.map +1 -1
  482. package/dist/esm/bq-drawer.entry.js +48 -34
  483. package/dist/esm/bq-drawer.entry.js.map +1 -1
  484. package/dist/esm/bq-dropdown_2.entry.js +44 -34
  485. package/dist/esm/bq-dropdown_2.entry.js.map +1 -1
  486. package/dist/esm/bq-empty-state.entry.js +25 -22
  487. package/dist/esm/bq-empty-state.entry.js.map +1 -1
  488. package/dist/esm/bq-input.entry.js +116 -90
  489. package/dist/esm/bq-input.entry.js.map +1 -1
  490. package/dist/esm/bq-notification.entry.js +63 -49
  491. package/dist/esm/bq-notification.entry.js.map +1 -1
  492. package/dist/esm/bq-option-group.entry.js +3 -3
  493. package/dist/esm/bq-option-group.entry.js.map +1 -1
  494. package/dist/esm/bq-option-list_2.entry.js +73 -54
  495. package/dist/esm/bq-option-list_2.entry.js.map +1 -1
  496. package/dist/esm/bq-option.entry.js +61 -45
  497. package/dist/esm/bq-option.entry.js.map +1 -1
  498. package/dist/esm/bq-page-title.entry.js +36 -32
  499. package/dist/esm/bq-page-title.entry.js.map +1 -1
  500. package/dist/esm/bq-progress.entry.js +3 -4
  501. package/dist/esm/bq-progress.entry.js.map +1 -1
  502. package/dist/esm/bq-radio-group.entry.js +12 -7
  503. package/dist/esm/bq-radio-group.entry.js.map +1 -1
  504. package/dist/esm/bq-radio.entry.js +43 -37
  505. package/dist/esm/bq-radio.entry.js.map +1 -1
  506. package/dist/esm/bq-select.entry.js +185 -168
  507. package/dist/esm/bq-select.entry.js.map +1 -1
  508. package/dist/esm/bq-side-menu-item.entry.js +68 -55
  509. package/dist/esm/bq-side-menu-item.entry.js.map +1 -1
  510. package/dist/esm/bq-side-menu.entry.js +47 -32
  511. package/dist/esm/bq-side-menu.entry.js.map +1 -1
  512. package/dist/esm/bq-slider.entry.js +160 -145
  513. package/dist/esm/bq-slider.entry.js.map +1 -1
  514. package/dist/esm/bq-spinner.entry.js +52 -51
  515. package/dist/esm/bq-spinner.entry.js.map +1 -1
  516. package/dist/esm/bq-status.entry.js +3 -4
  517. package/dist/esm/bq-status.entry.js.map +1 -1
  518. package/dist/esm/bq-step-item.entry.js +15 -11
  519. package/dist/esm/bq-step-item.entry.js.map +1 -1
  520. package/dist/esm/bq-steps.entry.js +12 -10
  521. package/dist/esm/bq-steps.entry.js.map +1 -1
  522. package/dist/esm/bq-switch.entry.js +43 -32
  523. package/dist/esm/bq-switch.entry.js.map +1 -1
  524. package/dist/esm/bq-tab-group.entry.js +64 -57
  525. package/dist/esm/bq-tab-group.entry.js.map +1 -1
  526. package/dist/esm/bq-tab.entry.js +43 -33
  527. package/dist/esm/bq-tab.entry.js.map +1 -1
  528. package/dist/esm/bq-textarea.entry.js +80 -58
  529. package/dist/esm/bq-textarea.entry.js.map +1 -1
  530. package/dist/esm/bq-toast.entry.js +44 -38
  531. package/dist/esm/bq-toast.entry.js.map +1 -1
  532. package/dist/esm/bq-tooltip.entry.js +46 -42
  533. package/dist/esm/bq-tooltip.entry.js.map +1 -1
  534. package/dist/esm/{cssVariables-23e3ca0d.js → cssVariables-000c23ad.js} +2 -2
  535. package/dist/esm/cssVariables-000c23ad.js.map +1 -0
  536. package/dist/esm/{debounce-c82e3da1.js → debounce-3e72f418.js} +3 -3
  537. package/dist/esm/debounce-3e72f418.js.map +1 -0
  538. package/dist/esm/{index-efc1c2ef.js → index-033f1efb.js} +48 -16
  539. package/dist/esm/index-033f1efb.js.map +1 -0
  540. package/dist/esm/{index-136429a6.js → index-1618c78b.js} +63 -19
  541. package/dist/esm/index-1618c78b.js.map +1 -0
  542. package/dist/esm/index.js +6 -6
  543. package/dist/esm/{isDefined-1e676215.js → isDefined-0cb07ee6.js} +1 -2
  544. package/dist/esm/isDefined-0cb07ee6.js.map +1 -0
  545. package/dist/esm/loader.js +3 -3
  546. package/dist/esm/{slot-179d109d.js → slot-58bfedb5.js} +3 -4
  547. package/dist/esm/slot-58bfedb5.js.map +1 -0
  548. package/dist/hydrate/index.d.ts +10 -4
  549. package/dist/hydrate/index.js +3857 -1984
  550. package/dist/hydrate/index.mjs +3857 -1984
  551. package/dist/types/_storybook/foundation/helper/index.d.ts +1 -3
  552. package/dist/types/components/button/bq-button.d.ts +5 -0
  553. package/dist/types/components/radio/bq-radio.d.ts +0 -5
  554. package/dist/types/index.d.ts +1 -1
  555. package/dist/types/shared/utils/assetsPath.d.ts +6 -19
  556. package/dist/types/stencil-public-runtime.d.ts +4 -0
  557. package/package.json +4 -4
  558. package/dist/beeq/p-05b44bb7.entry.js +0 -6
  559. package/dist/beeq/p-05b44bb7.entry.js.map +0 -1
  560. package/dist/beeq/p-0cbec77b.entry.js +0 -6
  561. package/dist/beeq/p-1202161d.entry.js +0 -6
  562. package/dist/beeq/p-17b341dd.entry.js +0 -6
  563. package/dist/beeq/p-17b341dd.entry.js.map +0 -1
  564. package/dist/beeq/p-1d81f9e5.entry.js +0 -6
  565. package/dist/beeq/p-1d81f9e5.entry.js.map +0 -1
  566. package/dist/beeq/p-2714ce21.entry.js +0 -6
  567. package/dist/beeq/p-2714ce21.entry.js.map +0 -1
  568. package/dist/beeq/p-2e61db84.entry.js +0 -6
  569. package/dist/beeq/p-32f74048.entry.js +0 -6
  570. package/dist/beeq/p-32f74048.entry.js.map +0 -1
  571. package/dist/beeq/p-339d14c8.entry.js +0 -6
  572. package/dist/beeq/p-339d14c8.entry.js.map +0 -1
  573. package/dist/beeq/p-35ec6cac.entry.js +0 -6
  574. package/dist/beeq/p-35ec6cac.entry.js.map +0 -1
  575. package/dist/beeq/p-38d4bd8a.js +0 -6
  576. package/dist/beeq/p-38d4bd8a.js.map +0 -1
  577. package/dist/beeq/p-3ea228d3.entry.js +0 -6
  578. package/dist/beeq/p-3ea228d3.entry.js.map +0 -1
  579. package/dist/beeq/p-45b7b5cf.entry.js +0 -6
  580. package/dist/beeq/p-45e674b4.entry.js +0 -6
  581. package/dist/beeq/p-45e674b4.entry.js.map +0 -1
  582. package/dist/beeq/p-4954154f.entry.js +0 -6
  583. package/dist/beeq/p-4954154f.entry.js.map +0 -1
  584. package/dist/beeq/p-513bab02.js +0 -6
  585. package/dist/beeq/p-5a9a73a0.js +0 -6
  586. package/dist/beeq/p-5a9a73a0.js.map +0 -1
  587. package/dist/beeq/p-5f3ce05a.entry.js +0 -6
  588. package/dist/beeq/p-5f3ce05a.entry.js.map +0 -1
  589. package/dist/beeq/p-6823479d.entry.js +0 -6
  590. package/dist/beeq/p-76e714c6.js +0 -7
  591. package/dist/beeq/p-76e714c6.js.map +0 -1
  592. package/dist/beeq/p-7871f3f0.entry.js +0 -6
  593. package/dist/beeq/p-7a049750.entry.js +0 -6
  594. package/dist/beeq/p-7a049750.entry.js.map +0 -1
  595. package/dist/beeq/p-83207939.entry.js +0 -6
  596. package/dist/beeq/p-8d8993ba.entry.js +0 -6
  597. package/dist/beeq/p-8d8993ba.entry.js.map +0 -1
  598. package/dist/beeq/p-9406afc0.entry.js +0 -6
  599. package/dist/beeq/p-9406afc0.entry.js.map +0 -1
  600. package/dist/beeq/p-94899104.entry.js +0 -6
  601. package/dist/beeq/p-94899104.entry.js.map +0 -1
  602. package/dist/beeq/p-951ba558.js +0 -6
  603. package/dist/beeq/p-95d0abdc.entry.js +0 -6
  604. package/dist/beeq/p-9da0e8d7.entry.js +0 -6
  605. package/dist/beeq/p-a535a72f.entry.js +0 -6
  606. package/dist/beeq/p-a535a72f.entry.js.map +0 -1
  607. package/dist/beeq/p-a5a17e6e.entry.js +0 -6
  608. package/dist/beeq/p-a5a17e6e.entry.js.map +0 -1
  609. package/dist/beeq/p-b2acd8f3.entry.js +0 -6
  610. package/dist/beeq/p-b7f02fb6.entry.js.map +0 -1
  611. package/dist/beeq/p-b994054a.entry.js.map +0 -1
  612. package/dist/beeq/p-be4941d0.entry.js +0 -6
  613. package/dist/beeq/p-be4941d0.entry.js.map +0 -1
  614. package/dist/beeq/p-d7a88b16.js +0 -6
  615. package/dist/beeq/p-dd206dba.entry.js +0 -6
  616. package/dist/beeq/p-dd206dba.entry.js.map +0 -1
  617. package/dist/beeq/p-ded1aed2.entry.js +0 -6
  618. package/dist/beeq/p-e08d9b52.entry.js +0 -6
  619. package/dist/beeq/p-e08d9b52.entry.js.map +0 -1
  620. package/dist/beeq/p-e572b038.entry.js +0 -6
  621. package/dist/beeq/p-e572b038.entry.js.map +0 -1
  622. package/dist/beeq/p-e5afdf8c.js +0 -6
  623. package/dist/beeq/p-e5afdf8c.js.map +0 -1
  624. package/dist/beeq/p-e7ede06e.entry.js +0 -6
  625. package/dist/beeq/p-f7a0a316.entry.js +0 -6
  626. package/dist/beeq/p-fbf6b04b.entry.js +0 -6
  627. package/dist/cjs/assetsPath-7ead23b7.js +0 -89
  628. package/dist/cjs/assetsPath-7ead23b7.js.map +0 -1
  629. package/dist/cjs/cssVariables-a0e1e906.js.map +0 -1
  630. package/dist/cjs/debounce-f94a239b.js.map +0 -1
  631. package/dist/cjs/index-e4c116b6.js.map +0 -1
  632. package/dist/cjs/index-e6d59dbb.js.map +0 -1
  633. package/dist/cjs/isDefined-a9dd6d5b.js.map +0 -1
  634. package/dist/cjs/slot-dd6f7db9.js.map +0 -1
  635. package/dist/components/assetsPath.js +0 -86
  636. package/dist/components/assetsPath.js.map +0 -1
  637. package/dist/esm/assetsPath-c02b0e16.js +0 -86
  638. package/dist/esm/assetsPath-c02b0e16.js.map +0 -1
  639. package/dist/esm/cssVariables-23e3ca0d.js.map +0 -1
  640. package/dist/esm/debounce-c82e3da1.js.map +0 -1
  641. package/dist/esm/index-136429a6.js.map +0 -1
  642. package/dist/esm/index-efc1c2ef.js.map +0 -1
  643. package/dist/esm/isDefined-1e676215.js.map +0 -1
  644. package/dist/esm/slot-179d109d.js.map +0 -1
@@ -2,5 +2,1232 @@
2
2
  * Built by Endavans
3
3
  * © https://beeq.design - Apache 2 License.
4
4
  */
5
- class t{#t;#e=new Set;constructor(t){this.#t=t}get current(){return this.#t}set current(t){this.#t!=t&&(this.#t=t,this.#e.forEach((e=>e(t))))}on(t){return this.#e.add(t),()=>this.#e.delete(t)}}const e=e=>new t(e),n=Symbol.for("atomico.hooks");globalThis[n]=globalThis[n]||{};let o=globalThis[n];const s=Symbol.for("Atomico.suspense"),r=Symbol.for("Atomico.effect"),i=Symbol.for("Atomico.layoutEffect"),c=Symbol.for("Atomico.insertionEffect"),a=(t,e,n)=>{const{i:s,hooks:r}=o.c,i=r[s]=r[s]||{};return i.value=t(i.value),i.effect=e,i.tag=n,o.c.i++,r[s].value},l=t=>a(((n=e(t))=>n)),u=()=>a(((t=e(o.c.host))=>t)),d=()=>o.c.update,h=(t,e,n=0)=>{let a={},l=!1;const u=()=>l,d=(t,e)=>{for(const n in a){const o=a[n];o.effect&&o.tag===t&&(o.value=o.effect(o.value,e))}};return{load:r=>{o.c={host:e,hooks:a,update:t,i:0,id:n};let i;try{l=!1,i=r()}catch(t){if(t!==s)throw t;l=!0}finally{o.c=null}return i},cleanEffects:t=>(d(c,t),()=>(d(i,t),()=>{d(r,t)})),isSuspense:u}},f=Symbol.for;function p(t,e){const n=t.length;if(n!==e.length)return!1;for(let o=0;o<n;o++){let n=t[o],s=e[o];if(n!==s)return!1}return!0}const m=t=>typeof t=="function",y=t=>typeof t=="object",{isArray:b}=Array,g=(t,e)=>(e?t instanceof HTMLStyleElement:!0)&&"hydrate"in(t?.dataset||{});function v(t,e){let n;const o=t=>{let{length:s}=t;for(let r=0;r<s;r++){const s=t[r];if(s&&Array.isArray(s))o(s);else{const t=typeof s;if(s==null||t==="function"||t==="boolean")continue;t==="string"||t==="number"?(n==null&&(n=""),n+=s):(n!=null&&(e(n),n=null),e(s))}}};o(t),n!=null&&e(n)}const w=(t,e,n)=>(t.addEventListener(e,n),()=>t.removeEventListener(e,n));class k{constructor(t,e,n){this.message=e,this.target=t,this.value=n}}class x extends k{}class D extends k{}const S="Custom",$=null,E={true:1,"":1,1:1};function N(t,e,n,o,s){const{type:r,reflect:i,event:c,value:a,attr:l=A(e)}=n?.name!=S&&y(n)&&n!=$?n:{type:n},u=r?.name===S&&r.map,d=a!=null?r==Function||!m(a)?()=>a:a:null;Object.defineProperty(t,e,{configurable:!0,set(t){const n=this[e];d&&r!=Boolean&&t==null&&(t=d());const{error:o,value:s}=(u?j:P)(r,t);if(o&&s!=null)throw new x(this,`The value defined for prop '${e}' must be of type '${r.name}'`,s);n!=s&&(this._props[e]=s??void 0,this.update(),c&&T(this,c),this.updated.then((()=>{i&&(this._ignoreAttr=l,O(this,r,l,this[e]),this._ignoreAttr=null)})))},get(){return this._props[e]}}),d&&(s[e]=d()),o[l]={prop:e,type:r}}const T=(t,{type:e,base:n=CustomEvent,...o})=>t.dispatchEvent(new n(e,o)),A=t=>t.replace(/([A-Z])/g,"-$1").toLowerCase(),O=(t,e,n,o)=>o==null||e==Boolean&&!o?t.removeAttribute(n):t.setAttribute(n,e?.name===S&&e?.serialize?e?.serialize(o):y(o)?JSON.stringify(o):e==Boolean?"":o),C=(t,e)=>t==Boolean?!!E[e]:t==Number?Number(e):t==String?e:t==Array||t==Object?JSON.parse(e):t.name==S?e:new t(e),j=({map:t},e)=>{try{return{value:t(e),error:!1}}catch{return{value:e,error:!0}}},P=(t,e)=>t==null||e==null?{value:e,error:!1}:t!=String&&e===""?{value:void 0,error:!1}:t==Object||t==Array||t==Symbol?{value:e,error:{}.toString.call(e)!==`[object ${t.name}]`}:e instanceof t?{value:e,error:t==Number&&Number.isNaN(e.valueOf())}:t==String||t==Number||t==Boolean?{value:e,error:t==Number?typeof e!="number"?!0:Number.isNaN(e):t==String?typeof e!="string":typeof e!="boolean"}:{value:e,error:!0};let z=0;const B=t=>{const e=(t?.dataset||{})?.hydrate||"";return e||"c"+z++},F=(t,e=HTMLElement)=>{const n={},o={},s="prototype"in e&&e.prototype instanceof Element,r=s?e:"base"in e?e.base:HTMLElement,{props:i,styles:c}=s?t:e;class a extends r{constructor(){super(),this._setup(),this._render=()=>t({...this._props});for(const t in o)this[t]=o[t]}static get styles(){return[super.styles,c]}async _setup(){if(this._props)return;this._props={};let t,e;this.mounted=new Promise((n=>this.mount=()=>{n(),t!=this.parentNode&&(e!=t?this.unmounted.then(this.update):this.update()),t=this.parentNode})),this.unmounted=new Promise((o=>this.unmount=()=>{o(),(t!=this.parentNode||!this.isConnected)&&(n.cleanEffects(!0)()(),e=this.parentNode,t=null)})),this.symbolId=this.symbolId||Symbol(),this.symbolIdParent=Symbol();const n=h((()=>this.update()),this,B(this));let o,s=!0;const r=g(this);this.update=()=>(o||(o=!0,this.updated=(this.updated||this.mounted).then((()=>{try{const t=n.load(this._render),e=n.cleanEffects();return t&&t.render(this,this.symbolId,r),o=!1,s&&!n.isSuspense()&&(s=!1,!r&&M(this)),e()}finally{o=!1}})).then((t=>{t&&t()}))),this.updated),this.update()}connectedCallback(){this.mount(),super.connectedCallback&&super.connectedCallback()}disconnectedCallback(){super.disconnectedCallback&&super.disconnectedCallback(),this.unmount()}attributeChangedCallback(t,e,o){if(n[t]){if(t===this._ignoreAttr||e===o)return;const{prop:s,type:r}=n[t];try{this[s]=C(r,o)}catch{throw new D(this,`The value defined as attr '${t}' cannot be parsed by type '${r.name}'`,o)}}else super.attributeChangedCallback(t,e,o)}static get props(){return{...super.props,...i}}static get observedAttributes(){const t=super.observedAttributes||[];for(const t in i)N(this.prototype,t,i[t],n,o);return Object.keys(n).concat(t)}}return a};function M(t){const{styles:e}=t.constructor,{shadowRoot:n}=t;if(n&&e.length){const t=[];v(e,(e=>{e&&(e instanceof Element?n.appendChild(e.cloneNode(!0)):t.push(e))})),t.length&&(n.adoptedStyleSheets=t)}}const H=t=>(e,n)=>{a((([t,e]=[])=>((e||!e)&&(e&&p(e,n)?t=t||!0:(m(t)&&t(),t=null)),[t,n])),(([t,n],o)=>o?(m(t)&&t(),[]):[t||e(),n]),t)},L=H(r),U=H(c);class I extends Array{constructor(t,e){let n=!0;const o=t=>{try{e(t,this,n)}finally{n=!1}};super(void 0,o,e),o(t)}}const J=t=>{const e=d();return a(((n=new I(t,((t,n,o)=>{t=m(t)?t(n[0]):t,t!==n[0]&&(n[0]=t,o||e())})))=>n))},V=(t,e)=>{const[n]=a((([n,o,s=0]=[])=>((!o||o&&!p(o,e))&&(n=t()),[n,e,s])));return n},W=t=>{const{current:e}=u();if(!(t in e))throw new x(e,`For useProp("${t}"), the prop does not exist on the host.`,t);return a(((n=new I(e[t],((n,o)=>{n=m(n)?n(e[t]):n,e[t]=n})))=>(n[0]=e[t],n)))},q=(t,e={})=>{const n=u();return n[t]||(n[t]=(o=e.detail)=>T(n.current,{type:t,...e,detail:o})),n[t]},R=f("atomico/options");globalThis[R]=globalThis[R]||{sheet:!!document.adoptedStyleSheets};const Z=globalThis[R],_={checked:1,value:1,selected:1},Y={list:1,type:1,size:1,form:1,width:1,height:1,src:1,href:1,slot:1},G={shadowDom:1,staticNode:1,cloneNode:1,children:1,key:1},K={},Q=[];class X extends Text{}const tt=f("atomico/id"),et=f("atomico/type"),nt=f("atomico/ref"),ot=f("atomico/vnode"),st=()=>{};function rt(t,e,n){return ct(this,t,e,n)}const it=(t,e,...n)=>{const o=e||K;let{children:s}=o;if(s=s??(n.length?n:Q),t===st)return s;const r=t?t instanceof Node?1:t.prototype instanceof HTMLElement&&2:0;if(r===!1&&t instanceof Function)return t(s!=Q?{children:s,...o}:o);const i=Z.render||rt;return{[et]:ot,type:t,props:o,children:s,key:o.key,shadow:o.shadowDom,static:o.staticNode,raw:r,is:o.is,clone:o.cloneNode,render:i}};function ct(t,e,n=tt,o,s){let r;if(e&&e[n]&&e[n].vnode==t||t[et]!=ot)return e;(t||!e)&&(s=s||t.type=="svg",r=t.type!="host"&&(t.raw==1?(e&&t.clone?e[nt]:e)!=t.type:t.raw==2?!(e instanceof t.type):e?e[nt]||e.localName!=t.type:!e),r&&t.type!=null&&(t.raw==1&&t.clone?(o=!0,e=t.type.cloneNode(!0),e[nt]=t.type):e=t.raw==1?t.type:t.raw==2?new t.type:s?document.createElementNS("http://www.w3.org/2000/svg",t.type):document.createElement(t.type,t.is?{is:t.is}:void 0)));const i=e[n]?e[n]:K,{vnode:c=K,cycle:a=0}=i;let{fragment:l,handlers:u}=i;const{children:d=Q,props:h=K}=c;if(u=r?{}:u||{},t.static&&!r)return e;if(t.shadow&&!e.shadowRoot&&e.attachShadow({mode:"open",...t.shadow}),t.props!=h&&ut(e,h,t.props,u,s),t.children!==d){const r=t.shadow?e.shadowRoot:e;l=lt(t.children,l,r,n,!a&&o,s&&t.type=="foreignObject"?!1:s)}return e[n]={vnode:t,handlers:u,fragment:l,cycle:a+1},e}function at(t,e){const n=new X(""),o=new X("");let s;if(t[e?"prepend":"append"](n),e){let{lastElementChild:e}=t;for(;e;){const{previousElementSibling:t}=e;if(g(e,!0)&&!g(t,!0)){s=e;break}e=t}}return s?s.before(o):t.append(o),{markStart:n,markEnd:o}}function lt(t,e,n,o,s,r){t=t==null?null:b(t)?t:[t];const i=e||at(n,s),{markStart:c,markEnd:a,keyes:l}=i;let u;const d=l&&new Set;let h=c;if(t&&v(t,(t=>{if(typeof t=="object"&&!t[et])return;const e=t[et]&&t.key,i=l&&e!=null&&l.get(e);h!=a&&h===i?d.delete(h):h=h==a?a:h.nextSibling;const c=l?i:h;let f=c;if(t[et])f=ct(t,c,o,s,r);else{const e=t+"";!(f instanceof Text)||f instanceof X?f=new Text(e):f.data!=e&&(f.data=e)}f!=h&&(l&&d.delete(f),!c||l?(n.insertBefore(f,h),l&&h!=a&&d.add(h)):c==a?n.insertBefore(f,a):(n.replaceChild(f,c),h=f)),e!=null&&(u=u||new Map,u.set(e,f))})),h=h==a?a:h.nextSibling,e&&h!=a)for(;h!=a;){const t=h;h=h.nextSibling,t.remove()}return d&&d.forEach((t=>t.remove())),i.keyes=u,i}function ut(t,e,n,o,s){for(const r in e)!(r in n)&&dt(t,r,e[r],null,s,o);for(const r in n)dt(t,r,e[r],n[r],s,o)}function dt(t,e,n,o,s,r){if(e=e=="class"&&!s?"className":e,n=n??null,o=o??null,e in t&&_[e]&&(n=t[e]),!(o===n||G[e]||e[0]=="_"))if(e[0]=="o"&&e[1]=="n"&&(m(o)||m(n)))ht(t,e.slice(2),o,r);else if(e=="ref")o&&(m(o)?o(t):o.current=t);else if(e=="style"){const{style:e}=t;n=n||"",o=o||"";const s=y(n),r=y(o);if(s)for(const t in n)if(r)!(t in o)&&ft(e,t,null);else break;if(r)for(const t in o){const r=o[t];s&&n[t]===r||ft(e,t,r)}else e.cssText=o}else{const r=e[0]=="$"?e.slice(1):e;r===e&&(!s&&!Y[e]&&e in t||m(o)||m(n))?t[e]=o??"":o==null?t.removeAttribute(r):t.setAttribute(r,y(o)?JSON.stringify(o):o)}}function ht(t,e,n,o){if(o.handleEvent||(o.handleEvent=e=>o[e.type].call(t,e)),n){if(!o[e]){const s=n.capture||n.once||n.passive?Object.assign({},n):null;t.addEventListener(e,o,s)}o[e]=n}else o[e]&&(t.removeEventListener(e,o),delete o[e])}function ft(t,e,n){let o="setProperty";n==null&&(o="removeProperty",n=null),~e.indexOf("-")?t[o](e,n):t[e]=n}const pt={};function mt(t,...e){const n=(t.raw||t).reduce(((t,n,o)=>t+n+(e[o]||"")),"");return pt[n]=pt[n]||yt(n)}function yt(t){if(Z.sheet){const e=new CSSStyleSheet;return e.replaceSync(t),e}else{const e=document.createElement("style");return e.textContent=t,e}}const bt=it("host",{style:"display: contents"}),gt=f("atomico/context"),vt=(t,e)=>{const n=u();U((()=>w(n.current,"ConnectContext",(n=>{t===n.detail.id&&(n.stopPropagation(),n.detail.connect(e))}))),[t])},wt=t=>{const e=q("ConnectContext",{bubbles:!0,composed:!0}),n=()=>{let n;return e({id:t,connect(t){n=t}}),n},[o,s]=J(n);return L((()=>{o||(t[gt]||(t[gt]=customElements.whenDefined((new t).localName)),t[gt].then((()=>s(n))))}),[t]),o},kt=t=>{const e=wt(t),n=d();return L((()=>{if(e)return w(e,"UpdatedValue",n)}),[e]),(e||t).value},xt=t=>{const e=F((()=>(vt(e,u().current),bt)),{props:{value:{type:Object,event:{type:"UpdatedValue"},value:()=>t}}});return e.value=t,e},Dt=(t,e,n)=>(e==null?e={key:n}:e.key=n,it(t,e)),St=Dt,$t=mt`*,*:before,*:after{box-sizing:border-box}button{padding:0;touch-action:manipulation;cursor:pointer;user-select:none}`,Et=mt`.vh{position:absolute;transform:scale(0)}`;function Nt(){return Mt.from(new Date)}function Tt(t,e=0){const n=zt(t),o=n.getUTCDay(),s=(o<e?7:0)+o-e;return n.setUTCDate(n.getUTCDate()-s),Mt.from(n)}function At(t,e=0){return Tt(t,e).add({days:6})}function Ot(t){return Mt.from(new Date(Date.UTC(t.year,t.month,0)))}function Ct(t,e,n){return e&&Mt.compare(t,e)<0?e:n&&Mt.compare(t,n)>0?n:t}const jt={days:1};function Pt(t,e=0){let n=Tt(t.toPlainDate(),e);const o=At(Ot(t),e),s=[];for(;Mt.compare(n,o)<0;){const t=[];for(let e=0;e<7;e++)t.push(n),n=n.add(jt);s.push(t)}return s}function zt(t){return new Date(Date.UTC(t.year,t.month-1,t.day??1))}const Bt=/^(\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[0-1])$/,Ft=(t,e)=>t.toString().padStart(e,"0");class Mt{constructor(t,e,n){this.year=t,this.month=e,this.day=n}add(t){const e=zt(this);if("days"in t)return e.setUTCDate(this.day+t.days),Mt.from(e);let{year:n,month:o}=this;"months"in t?(o=this.month+t.months,e.setUTCMonth(o-1)):(n=this.year+t.years,e.setUTCFullYear(n));const s=Mt.from(zt({year:n,month:o,day:1}));return Ct(Mt.from(e),s,Ot(s))}toString(){return`${Ft(this.year,4)}-${Ft(this.month,2)}-${Ft(this.day,2)}`}toPlainYearMonth(){return new Ht(this.year,this.month)}equals(t){return Mt.compare(this,t)===0}static compare(t,e){return t.year<e.year?-1:t.year>e.year?1:t.month<e.month?-1:t.month>e.month?1:t.day<e.day?-1:t.day>e.day?1:0}static from(t){if(typeof t=="string"){const e=t.match(Bt);if(!e)throw new TypeError(t);const[,n,o,s]=e;return new Mt(parseInt(n,10),parseInt(o,10),parseInt(s,10))}return new Mt(t.getUTCFullYear(),t.getUTCMonth()+1,t.getUTCDate())}}class Ht{constructor(t,e){this.year=t,this.month=e}add(t){const e=zt(this),n=(t.months??0)+(t.years??0)*12;return e.setUTCMonth(e.getUTCMonth()+n),new Ht(e.getUTCFullYear(),e.getUTCMonth()+1)}equals(t){return this.year===t.year&&this.month===t.month}toPlainDate(){return new Mt(this.year,this.month,1)}}function Lt(t,e){if(e)try{return t.from(e)}catch{}}function Ut(t){const[e,n]=W(t);return[V((()=>Lt(Mt,e)),[e]),t=>n(t?.toString())]}function It(t){const[e="",n]=W(t);return[V((()=>{const[t,n]=e.split("/"),o=Lt(Mt,t),s=Lt(Mt,n);return o&&s?[o,s]:[]}),[e]),t=>n(`${t[0]}/${t[1]}`)]}function Jt(t){const[e="",n]=W(t);return[V((()=>{const t=[];for(const n of e.trim().split(/\s+/)){const e=Lt(Mt,n);e&&t.push(e)}return t}),[e]),t=>n(t.join(" "))]}function Vt(t,e){return V((()=>new Intl.DateTimeFormat(e,{timeZone:"UTC",...t})),[e,t])}function Wt(t,e,n){const o=Vt(t,n);return V((()=>{const t=[],n=new Date;for(var s=0;s<7;s++){const s=(n.getUTCDay()-e+7)%7;t[s]=o.format(n),n.setUTCDate(n.getUTCDate()+1)}return t}),[e,o])}const qt=(t,e,n)=>Ct(t,e,n)===t,Rt=t=>t.target.matches(":dir(ltr)"),Zt={month:"long",day:"numeric"},_t={month:"long"},Yt={weekday:"narrow"},Gt={weekday:"long"},Kt={bubbles:!0};function Qt({props:t,context:e}){const{offset:n}=t,{firstDayOfWeek:o,isDateDisallowed:s,min:r,max:i,page:c,locale:a,focusedDate:l}=e,u=Nt(),d=Wt(Gt,o,a),h=Wt(Yt,o,a),f=Vt(Zt,a),p=Vt(_t,a),m=V((()=>c.start.add({months:n})),[c,n]),y=V((()=>Pt(m,o)),[m,o]),b=q("focusday",Kt),g=q("selectday",Kt),v=q("hoverday",Kt);function w(t){b(Ct(t,r,i))}function k(t){let e;switch(t.key){case"ArrowRight":e=l.add({days:Rt(t)?1:-1});break;case"ArrowLeft":e=l.add({days:Rt(t)?-1:1});break;case"ArrowDown":e=l.add({days:7});break;case"ArrowUp":e=l.add({days:-7});break;case"PageUp":e=l.add(t.shiftKey?{years:-1}:{months:-1});break;case"PageDown":e=l.add(t.shiftKey?{years:1}:{months:1});break;case"Home":e=Tt(l,o);break;case"End":e=At(l,o);break;default:return}w(e),t.preventDefault()}function x(t){const n=m.equals(t);if(!e.showOutsideDays&&!n)return;const o=t.equals(l),c=t.equals(u),a=zt(t),d=s?.(a),h=!qt(t,r,i);let p="",y;if(e.type==="range"){const[n,o]=e.value,s=n?.equals(t),r=o?.equals(t);y=n&&o&&qt(t,n,o),p=`${s?"range-start":""} ${r?"range-end":""} ${y&&!s&&!r?"range-inner":""}`}else e.type==="multi"?y=e.value.some((e=>e.equals(t))):y=e.value?.equals(t);return{part:`${`button day ${n?y?"selected":"":"outside"} ${d?"disallowed":""} ${c?"today":""}`} ${p}`,tabindex:n&&o?0:-1,disabled:h,"aria-disabled":d?"true":void 0,"aria-pressed":n&&y,"aria-current":c?"date":void 0,"aria-label":f.format(a),onkeydown:k,onclick(){d||g(t),w(t)},onmouseover(){!d&&!h&&v(t)}}}return{weeks:y,yearMonth:m,daysLong:d,daysShort:h,formatter:p,getDayProps:x}}const Xt=Nt(),te=xt({type:"date",firstDayOfWeek:1,isDateDisallowed:()=>!1,focusedDate:Xt,page:{start:Xt.toPlainYearMonth(),end:Xt.toPlainYearMonth()}});customElements.define("calendar-month-ctx",te);const ee=F((t=>{const e=kt(te),n=l(),o=Qt({props:t,context:e});function s(){n.current.querySelector("button[tabindex='0']")?.focus()}return St("host",{shadowDom:!0,focus:s,children:[Dt("div",{id:"h",part:"heading",children:o.formatter.format(zt(o.yearMonth))}),St("table",{ref:n,"aria-labelledby":"h",part:"table",children:[Dt("thead",{children:Dt("tr",{part:"tr head",children:o.daysLong.map(((t,e)=>St("th",{part:"th",scope:"col",children:[Dt("span",{class:"vh",children:t}),Dt("span",{"aria-hidden":"true",children:o.daysShort[e]})]})))})}),Dt("tbody",{children:o.weeks.map(((t,e)=>Dt("tr",{part:"tr week",children:t.map(((t,e)=>{const n=o.getDayProps(t);return Dt("td",{part:"td",children:n&&Dt("button",{...n,children:t.day})},e)}))},e)))})]})]})}),{props:{offset:{type:Number,value:0}},styles:[$t,Et,mt`:host{--color-accent: black;--color-text-on-accent: white;display:flex;flex-direction:column;gap:.25rem;text-align:center;inline-size:fit-content}table{border-collapse:collapse;font-size:.875rem}th{font-weight:700;block-size:2.25rem}td{padding-inline:0}button{color:inherit;font-size:inherit;background:transparent;border:0;font-variant-numeric:tabular-nums;block-size:2.25rem;inline-size:2.25rem}button:hover:where(:not(:disabled,[aria-disabled])){background:#0000000d}button:is([aria-pressed=true],:focus-visible){background:var(--color-accent);color:var(--color-text-on-accent)}button:focus-visible{outline:1px solid var(--color-text-on-accent);outline-offset:-2px}button:disabled,:host::part(outside),:host::part(disallowed){cursor:default;opacity:.5}`]});customElements.define("calendar-month",ee);function ne(t){return Dt("button",{part:`button ${t.name} ${t.onclick?"":"disabled"}`,onclick:t.onclick,"aria-disabled":t.onclick?null:"true",children:Dt("slot",{name:t.name,children:t.children})})}function oe(t){const e=zt(t.page.start),n=zt(t.page.end);return St("div",{role:"group","aria-labelledby":"h",part:"container",children:[Dt("div",{id:"h",class:"vh","aria-live":"polite","aria-atomic":"true",children:t.formatVerbose.formatRange(e,n)}),St("div",{part:"header",children:[Dt(ne,{name:"previous",onclick:t.previous,children:"Previous"}),Dt("slot",{part:"heading",name:"heading",children:Dt("div",{"aria-hidden":"true",children:t.format.formatRange(e,n)})}),Dt(ne,{name:"next",onclick:t.next,children:"Next"})]}),Dt(te,{value:t,onselectday:t.onSelect,onfocusday:t.onFocus,onhoverday:t.onHover,children:Dt("slot",{})})]})}const se={value:{type:String,value:""},min:{type:String,value:""},max:{type:String,value:""},isDateDisallowed:{type:Function,value:t=>!1},firstDayOfWeek:{type:Number,value:()=>1},showOutsideDays:{type:Boolean,value:!1},locale:{type:String,value:()=>{}},months:{type:Number,value:1},focusedDate:{type:String,value:()=>{}},pageBy:{type:String,value:()=>"months"}},re=[$t,Et,mt`:host{display:block;inline-size:fit-content}[role=group]{display:flex;flex-direction:column;gap:1em}:host::part(header){display:flex;align-items:center;justify-content:space-between}:host::part(heading){font-weight:700;font-size:1.25em}button{display:flex;align-items:center;justify-content:center}button[aria-disabled]{cursor:default;opacity:.5}`],ie={year:"numeric"},ce={year:"numeric",month:"long"};function ae(t,e){return(e.year-t.year)*12+e.month-t.month}const le=(t,e)=>(t=e===12?new Ht(t.year,1):t,{start:t,end:t.add({months:e-1})});function ue({pageBy:t,focusedDate:e,months:n,max:o,min:s,goto:r}){const i=t==="single"?1:n,[c,a]=J((()=>le(e.toPlainYearMonth(),n))),l=t=>a(le(c.start.add({months:t}),n)),u=t=>{const e=ae(c.start,t.toPlainYearMonth());return e>=0&&e<n};return L((()=>{if(u(e))return;const t=ae(e.toPlainYearMonth(),c.start);r(e.add({months:t}))}),[c.start]),L((()=>{if(u(e))return;const t=ae(c.start,e.toPlainYearMonth());l(t===-1?-i:t===n?i:Math.floor(t/n)*n)}),[e,i,n]),{page:c,previous:!s||!u(s)?()=>l(-i):void 0,next:!o||!u(o)?()=>l(i):void 0}}function de({months:t,pageBy:e,locale:n,focusedDate:o,setFocusedDate:s}){const[r]=Ut("min"),[i]=Ut("max"),c=q("focusday"),a=q("change"),l=V((()=>Ct(o??Nt(),r,i)),[o,r,i]);function d(t){s(t),c(zt(t))}const{next:h,previous:f,page:p}=ue({pageBy:e,focusedDate:l,months:t,min:r,max:i,goto:d}),m=u();function y(){m.current.querySelectorAll("calendar-month").forEach((t=>t.focus()))}return{format:Vt(ie,n),formatVerbose:Vt(ce,n),page:p,focusedDate:l,dispatch:a,onFocus(t){t.stopPropagation(),d(t.detail),setTimeout(y)},min:r,max:i,next:h,previous:f,focus:y}}const he=F((t=>{const[e,n]=Ut("value"),[o=e,s]=Ut("focusedDate"),r=de({...t,focusedDate:o,setFocusedDate:s});function i(t){n(t.detail),r.dispatch()}return Dt("host",{shadowDom:!0,focus:r.focus,children:Dt(oe,{...t,...r,type:"date",value:e,onSelect:i})})}),{props:se,styles:re});customElements.define("calendar-date",he);const fe=(t,e)=>Mt.compare(t,e)<0?[t,e]:[e,t],pe=F((t=>{const[e,n]=It("value"),[o=e[0],s]=Ut("focusedDate"),r=de({...t,focusedDate:o,setFocusedDate:s}),i=q("rangestart"),c=q("rangeend"),[a,l]=Ut("tentative"),[u,d]=J();L((()=>d(void 0)),[a]);function h(t){r.onFocus(t),f(t)}function f(t){t.stopPropagation(),a&&d(t.detail)}function p(t){const e=t.detail;t.stopPropagation(),a?(n(fe(a,e)),l(void 0),c(zt(e)),r.dispatch()):(l(e),i(zt(e)))}const m=a?fe(a,u??a):e;return Dt("host",{shadowDom:!0,focus:r.focus,children:Dt(oe,{...t,...r,type:"range",value:m,onFocus:h,onHover:f,onSelect:p})})}),{props:{...se,tentative:{type:String,value:""}},styles:re});customElements.define("calendar-range",pe);const me=F((t=>{const[e,n]=Jt("value"),[o=e[0],s]=Ut("focusedDate"),r=de({...t,focusedDate:o,setFocusedDate:s});function i(t){const o=[...e],s=e.findIndex((e=>e.equals(t.detail)));s<0?o.push(t.detail):o.splice(s,1),n(o),r.dispatch()}return Dt("host",{shadowDom:!0,focus:r.focus,children:Dt(oe,{...t,...r,type:"multi",value:e,onSelect:i})})}),{props:se,styles:re});customElements.define("calendar-multi",me);const ye=()=>{};const be=ye;export{be as g};
5
+ class t {
6
+ /**
7
+ * @type {T}
8
+ */
9
+ #t;
10
+ #e= new Set;
11
+ /**
12
+ * @param {T} current
13
+ */
14
+ constructor(t) {
15
+ this.#t = t;
16
+ }
17
+ /**
18
+ * @return {T}
19
+ */ get current() {
20
+ return this.#t;
21
+ }
22
+ /**
23
+ * @param {T} value
24
+ */ set current(t) {
25
+ this.#t != t && (this.#t = t, this.#e.forEach((e => e(t)))
26
+ /**
27
+ * @type {import("hooks").Ref["on"]}
28
+ */);
29
+ }
30
+ on(t) {
31
+ return this.#e.add(t), () => this.#e.delete(t);
32
+ }
33
+ }
34
+
35
+ const Mt = e => new t(e), e = Symbol.for("atomico.hooks");
36
+
37
+ globalThis[e] = globalThis[e] || {};
38
+
39
+ let a = globalThis[e];
40
+
41
+ const u = Symbol.for("Atomico.suspense"), d = Symbol.for("Atomico.effect"), h = Symbol.for("Atomico.layoutEffect"), b = Symbol.for("Atomico.insertionEffect"), O = (t, e, u) => {
42
+ const {i: d, hooks: h} = a.c, b = h[d] = h[d] || {};
43
+ return b.value = t(b.value), b.effect = e, b.tag = u, a.c.i++, h[d].value;
44
+ }, se = t => O(((e = Mt(t)) => e)), _ = () => O(((t = Mt(a.c.host)) => t)), Rt = () => a.c.update, oe = (t, e, g = 0) => {
45
+ let k = {}, D = !1;
46
+ const o = () => D, c = (t, e) => {
47
+ for (const a in k) {
48
+ const u = k[a];
49
+ u.effect && u.tag === t && (u.value = u.effect(u.value, e));
50
+ }
51
+ };
52
+ return {
53
+ load: d => {
54
+ a.c = {
55
+ host: e,
56
+ hooks: k,
57
+ update: t,
58
+ i: 0,
59
+ id: g
60
+ };
61
+ let h;
62
+ try {
63
+ D = !1, h = d();
64
+ } catch (t) {
65
+ if (t !== u) throw t;
66
+ D = !0;
67
+ } finally {
68
+ a.c = null;
69
+ }
70
+ return h;
71
+ },
72
+ cleanEffects: t => (c(b, t), () => (c(h, t), () => {
73
+ c(d, t);
74
+ })),
75
+ isSuspense: o
76
+ };
77
+ }, g = Symbol.for;
78
+
79
+ function It(t, e) {
80
+ const a = t.length;
81
+ if (a !== e.length) return !1;
82
+ for (let u = 0; u < a; u++) {
83
+ let a = t[u], d = e[u];
84
+ if (a !== d) return !1;
85
+ }
86
+ return !0;
87
+ }
88
+
89
+ const w = t => typeof t == "function", R = t => typeof t == "object", {isArray: k} = Array, et = (t, e) => (e ? t instanceof HTMLStyleElement : !0) && "hydrate" in (t?.dataset || {});
90
+
91
+ function Ut(t, e) {
92
+ let a;
93
+ const s = t => {
94
+ let {length: u} = t;
95
+ for (let d = 0; d < u; d++) {
96
+ const u = t[d];
97
+ if (u && Array.isArray(u)) s(u); else {
98
+ const t = typeof u;
99
+ if (u == null || t === "function" || t === "boolean") continue;
100
+ t === "string" || t === "number" ? (a == null && (a = ""), a += u) : (a != null && (e(a),
101
+ a = null), e(u));
102
+ }
103
+ }
104
+ };
105
+ s(t), a != null && e(a);
106
+ }
107
+
108
+ const $t = (t, e, a) => (t.addEventListener(e, a), () => t.removeEventListener(e, a));
109
+
110
+ class D {
111
+ /**
112
+ *
113
+ * @param {HTMLElement} target
114
+ * @param {string} message
115
+ * @param {string} value
116
+ */
117
+ constructor(t, e, a) {
118
+ this.message = e, this.target = t, this.value = a;
119
+ }
120
+ }
121
+
122
+ class $ extends D {}
123
+
124
+ class N extends D {}
125
+
126
+ const E = "Custom", A = null, B = {
127
+ true: 1,
128
+ "": 1,
129
+ 1: 1
130
+ };
131
+
132
+ function le(t, e, a, u, d) {
133
+ const {type: h, reflect: b, event: g, value: k, attr: D = ue(e)} = a?.name != E && R(a) && a != A ? a : {
134
+ type: a
135
+ }, N = h?.name === E && h.map, B = k != null ? h == Function || !w(k) ? () => k : k : null;
136
+ Object.defineProperty(t, e, {
137
+ configurable: !0,
138
+ /**
139
+ * @this {import("dom").AtomicoThisInternal}
140
+ * @param {any} newValue
141
+ */
142
+ set(t) {
143
+ const a = this[e];
144
+ B && h != Boolean && t == null && (t = B());
145
+ const {error: u, value: d} = (N ? he : me)(h, t);
146
+ if (u && d != null) throw new $(this, `The value defined for prop '${e}' must be of type '${h.name}'`, d);
147
+ a != d && (this._props[e] = d ?? void 0, this.update(), g && jt(this, g), this.updated.then((() => {
148
+ b && (this._ignoreAttr = D, fe(this, h, D, this[e]), this._ignoreAttr = null);
149
+ })));
150
+ },
151
+ /**
152
+ * @this {import("dom").AtomicoThisInternal}
153
+ */
154
+ get() {
155
+ return this._props[e];
156
+ }
157
+ }), B && (d[e] = B()), u[D] = {
158
+ prop: e,
159
+ type: h
160
+ };
161
+ }
162
+
163
+ const jt = (t, {type: e, base: a = CustomEvent, ...u}) => t.dispatchEvent(new a(e, u)), ue = t => t.replace(/([A-Z])/g, "-$1").toLowerCase(), fe = (t, e, a, u) => u == null || e == Boolean && !u ? t.removeAttribute(a) : t.setAttribute(a, e?.name === E && e?.serialize ? e?.serialize(u) : R(u) ? JSON.stringify(u) : e == Boolean ? "" : u), de = (t, e) => t == Boolean ? !!B[e] : t == Number ? Number(e) : t == String ? e : t == Array || t == Object ? JSON.parse(e) : t.name == E ? e :
164
+ // TODO: If when defining reflect the prop can also be of type string?
165
+ new t(e), he = ({map: t}, e) => {
166
+ try {
167
+ return {
168
+ value: t(e),
169
+ error: !1
170
+ };
171
+ } catch {
172
+ return {
173
+ value: e,
174
+ error: !0
175
+ };
176
+ }
177
+ }, me = (t, e) => t == null || e == null ? {
178
+ value: e,
179
+ error: !1
180
+ } : t != String && e === "" ? {
181
+ value: void 0,
182
+ error: !1
183
+ } : t == Object || t == Array || t == Symbol ? {
184
+ value: e,
185
+ error: {}.toString.call(e) !== `[object ${t.name}]`
186
+ } : e instanceof t ? {
187
+ value: e,
188
+ error: t == Number && Number.isNaN(e.valueOf())
189
+ } : t == String || t == Number || t == Boolean ? {
190
+ value: e,
191
+ error: t == Number ? typeof e != "number" ? !0 : Number.isNaN(e) : t == String ? typeof e != "string" : typeof e != "boolean"
192
+ } : {
193
+ value: e,
194
+ error: !0
195
+ };
196
+
197
+ let F = 0;
198
+
199
+ const pe = t => {
200
+ const e = (t?.dataset || {})?.hydrate || "";
201
+ return e || "c" + F++;
202
+ }, j = (t, e = HTMLElement) => {
203
+ const a = {}, u = {}, d = "prototype" in e && e.prototype instanceof Element, h = d ? e : "base" in e ? e.base : HTMLElement, {props: b, styles: g} = d ? t : e;
204
+ class k extends h {
205
+ constructor() {
206
+ super(), this._setup(), this._render = () => t({
207
+ ...this._props
208
+ });
209
+ for (const t in u) this[t] = u[t];
210
+ }
211
+ /**
212
+ * @returns {import("core").Sheets[]}
213
+ */ static get styles() {
214
+ return [ super.styles, g ];
215
+ }
216
+ async _setup() {
217
+ if (this._props) return;
218
+ this._props = {};
219
+ let t, e;
220
+ this.mounted = new Promise((a => this.mount = () => {
221
+ a(), t != this.parentNode && (e != t ? this.unmounted.then(this.update) : this.update()),
222
+ t = this.parentNode;
223
+ })), this.unmounted = new Promise((u => this.unmount = () => {
224
+ u(), (t != this.parentNode || !this.isConnected) && (a.cleanEffects(!0)()(), e = this.parentNode,
225
+ t = null);
226
+ })), this.symbolId = this.symbolId || Symbol(), this.symbolIdParent = Symbol();
227
+ const a = oe((() => this.update()), this, pe(this));
228
+ let u, d = !0;
229
+ const h = et(this);
230
+ this.update = () => (u || (u = !0, this.updated = (this.updated || this.mounted).then((() => {
231
+ try {
232
+ const t = a.load(this._render), e = a.cleanEffects();
233
+ return t && //@ts-ignore
234
+ t.render(this, this.symbolId, h), u = !1, d && !a.isSuspense() && (d = !1, !h && be(this)),
235
+ e();
236
+ } finally {
237
+ u = !1;
238
+ }
239
+ })).then((
240
+ /**
241
+ * @param {import("internal/hooks.js").CleanUseEffects} [cleanUseEffect]
242
+ */
243
+ t => {
244
+ t && t();
245
+ }))), this.updated), this.update();
246
+ }
247
+ connectedCallback() {
248
+ this.mount(), super.connectedCallback && super.connectedCallback();
249
+ }
250
+ disconnectedCallback() {
251
+ super.disconnectedCallback && super.disconnectedCallback(), this.unmount()
252
+ /**
253
+ * @this {import("dom").AtomicoThisInternal}
254
+ * @param {string} attr
255
+ * @param {(string|null)} oldValue
256
+ * @param {(string|null)} value
257
+ */;
258
+ }
259
+ attributeChangedCallback(t, e, u) {
260
+ if (a[t]) {
261
+ if (t === this._ignoreAttr || e === u) return;
262
+ const {prop: d, type: h} = a[t];
263
+ try {
264
+ this[d] = de(h, u);
265
+ } catch {
266
+ throw new N(this, `The value defined as attr '${t}' cannot be parsed by type '${h.name}'`, u);
267
+ }
268
+ } else super.attributeChangedCallback(t, e, u);
269
+ }
270
+ static get props() {
271
+ return {
272
+ ...super.props,
273
+ ...b
274
+ };
275
+ }
276
+ static get observedAttributes() {
277
+ const t = super.observedAttributes || [];
278
+ for (const t in b) le(this.prototype, t, b[t], a, u);
279
+ return Object.keys(a).concat(t);
280
+ }
281
+ }
282
+ return k;
283
+ };
284
+
285
+ function be(t) {
286
+ const {styles: e} = t.constructor, {shadowRoot: a} = t;
287
+ if (a && e.length) {
288
+ const t = [];
289
+ Ut(e, (e => {
290
+ e && (e instanceof Element ? a.appendChild(e.cloneNode(!0)) : t.push(e));
291
+ })), t.length && (a.adoptedStyleSheets = t);
292
+ }
293
+ }
294
+
295
+ const Yt = t => (e, a) => {
296
+ O((
297
+ /**
298
+ * Clean the effect hook
299
+ * @type {import("internal/hooks.js").CollectorEffect}
300
+ */
301
+ ([t, e] = []) => ((e || !e) && (e && It(e, a) ? t = t || !0 : (w(t) && t(), t = null)),
302
+ [ t, a ])
303
+ /**
304
+ * @returns {any}
305
+ */), (([t, a], u) => u ? (w(t) && t(), []) : [ t || e(), a ]), t);
306
+ }, M = Yt(d), U = Yt(b);
307
+
308
+ class I extends Array {
309
+ /**
310
+ *
311
+ * @param {any} initialState
312
+ * @param {(nextState: any, state:any[], mount: boolean )=>void} mapState
313
+ */
314
+ constructor(t, e) {
315
+ let a = !0;
316
+ const r = t => {
317
+ try {
318
+ e(t, this, a);
319
+ } finally {
320
+ a = !1;
321
+ }
322
+ };
323
+ super(void 0, r, e), r(t);
324
+ }
325
+ }
326
+
327
+ const rt = t => {
328
+ const e = Rt();
329
+ return O(((a = new I(t, ((t, a, u) => {
330
+ t = w(t) ? t(a[0]) : t, t !== a[0] && (a[0] = t, u || e());
331
+ }))) => a));
332
+ }, T = (t, e) => {
333
+ const [a] = O((([a, u, d = 0] = []) => ((!u || u && !It(u, e)) && (a = t()), [ a, e, d ])));
334
+ return a;
335
+ }, ct = t => {
336
+ const {current: e} = _();
337
+ if (!(t in e)) throw new $(e, `For useProp("${t}"), the prop does not exist on the host.`, t);
338
+ return O(((a = new I(e[t], ((a, u) => {
339
+ a = w(a) ? a(e[t]) : a, e[t] = a;
340
+ }))) => (a[0] = e[t], a)));
341
+ }, C = (t, e = {}) => {
342
+ const a = _();
343
+ return a[t] || (a[t] = (u = e.detail) => jt(a.current, {
344
+ type: t,
345
+ ...e,
346
+ detail: u
347
+ })), a[t];
348
+ }, Z = g("atomico/options");
349
+
350
+ globalThis[Z] = globalThis[Z] || {
351
+ sheet: !!document.adoptedStyleSheets
352
+ };
353
+
354
+ const W = globalThis[Z], J = {
355
+ checked: 1,
356
+ value: 1,
357
+ selected: 1
358
+ }, q = {
359
+ list: 1,
360
+ type: 1,
361
+ size: 1,
362
+ form: 1,
363
+ width: 1,
364
+ height: 1,
365
+ src: 1,
366
+ href: 1,
367
+ slot: 1
368
+ }, G = {
369
+ shadowDom: 1,
370
+ staticNode: 1,
371
+ cloneNode: 1,
372
+ children: 1,
373
+ key: 1
374
+ }, Q = {}, Y = [];
375
+
376
+ class K extends Text {}
377
+
378
+ const tt = g("atomico/id"), nt = g("atomico/type"), ot = g("atomico/ref"), st = g("atomico/vnode"), we = () => {};
379
+
380
+ function Ce(t, e, a) {
381
+ return Ht(this, t, e, a);
382
+ }
383
+
384
+ const zt = (t, e, ...a) => {
385
+ const u = e || Q;
386
+ let {children: d} = u;
387
+ if (d = d ?? (a.length ? a : Y), t === we) return d;
388
+ const h = t ? t instanceof Node ? 1 :
389
+ //@ts-ignore
390
+ t.prototype instanceof HTMLElement && 2 : 0;
391
+ if (h === !1 && t instanceof Function) return t(d != Y ? {
392
+ children: d,
393
+ ...u
394
+ } : u);
395
+ const b = W.render || Ce;
396
+ return {
397
+ [nt]: st,
398
+ type: t,
399
+ props: u,
400
+ children: d,
401
+ key: u.key,
402
+ // key for lists by keys
403
+ // define if the node declares its shadowDom
404
+ shadow: u.shadowDom,
405
+ // allows renderings to run only once
406
+ static: u.staticNode,
407
+ // defines whether the type is a childNode `1` or a constructor `2`
408
+ raw: h,
409
+ // defines whether to use the second parameter for document.createElement
410
+ is: u.is,
411
+ // clone the node if it comes from a reference
412
+ clone: u.cloneNode,
413
+ render: b
414
+ };
415
+ };
416
+
417
+ function Ht(t, e, a = tt, u, d) {
418
+ let h;
419
+ if (e && e[a] && e[a].vnode == t || t[nt] != st) return e;
420
+ (t || !e) && (d = d || t.type == "svg", h = t.type != "host" && (t.raw == 1 ? (e && t.clone ? e[ot] : e) != t.type : t.raw == 2 ? !(e instanceof t.type) : e ? e[ot] || e.localName != t.type : !e),
421
+ h && t.type != null && (t.raw == 1 && t.clone ? (u = !0, e = t.type.cloneNode(!0),
422
+ e[ot] = t.type) : e = t.raw == 1 ? t.type : t.raw == 2 ? new t.type : d ? document.createElementNS("http://www.w3.org/2000/svg", t.type) : document.createElement(t.type, t.is ? {
423
+ is: t.is
424
+ } : void 0)));
425
+ const b = e[a] ? e[a] : Q, {vnode: g = Q, cycle: k = 0} = b;
426
+ let {fragment: D, handlers: $} = b;
427
+ const {children: N = Y, props: E = Q} = g;
428
+ if ($ = h ? {} : $ || {}, t.static && !h) return e;
429
+ if (t.shadow && !e.shadowRoot && // @ts-ignore
430
+ e.attachShadow({
431
+ mode: "open",
432
+ ...t.shadow
433
+ }), t.props != E && Ne(e, E, t.props, $, d), t.children !== N) {
434
+ const h = t.shadow ? e.shadowRoot : e;
435
+ D = Pe(t.children,
436
+ /**
437
+ * @todo for hydration use attribute and send childNodes
438
+ */
439
+ D, h, a,
440
+ // add support to foreignObject, children will escape from svg
441
+ !k && u, d && t.type == "foreignObject" ? !1 : d);
442
+ }
443
+ return e[a] = {
444
+ vnode: t,
445
+ handlers: $,
446
+ fragment: D,
447
+ cycle: k + 1
448
+ }, e;
449
+ }
450
+
451
+ function Te(t, e) {
452
+ const a = new K(""), u = new K("");
453
+ let d;
454
+ if (t[e ? "prepend" : "append"](a), e) {
455
+ let {lastElementChild: e} = t;
456
+ for (;e; ) {
457
+ const {previousElementSibling: t} = e;
458
+ if (et(e, !0) && !et(t, !0)) {
459
+ d = e;
460
+ break;
461
+ }
462
+ e = t;
463
+ }
464
+ }
465
+ return d ? d.before(u) : t.append(u), {
466
+ markStart: a,
467
+ markEnd: u
468
+ };
469
+ }
470
+
471
+ function Pe(t, e, a, u, d, h) {
472
+ t = t == null ? null : k(t) ? t : [ t ];
473
+ const b = e || Te(a, d), {markStart: g, markEnd: D, keyes: $} = b;
474
+ let N;
475
+ const E = $ && new Set;
476
+ let A = g;
477
+ if (t && Ut(t, (t => {
478
+ if (typeof t == "object" && !t[nt]) return;
479
+ const e = t[nt] && t.key, b = $ && e != null && $.get(e);
480
+ A != D && A === b ? E.delete(A) : A = A == D ? D : A.nextSibling;
481
+ const g = $ ? b : A;
482
+ let k = g;
483
+ if (t[nt]) k = Ht(t, g, u, d, h); else {
484
+ const e = t + "";
485
+ !(k instanceof Text) || k instanceof K ? k = new Text(e) : k.data != e && (k.data = e);
486
+ }
487
+ k != A && ($ && E.delete(k), !g || $ ? (a.insertBefore(k, A), $ && A != D && E.add(A)) : g == D ? a.insertBefore(k, D) : (a.replaceChild(k, g),
488
+ A = k)), e != null && (N = N || new Map, N.set(e, k));
489
+ })), A = A == D ? D : A.nextSibling, e && A != D) for (;A != D; ) {
490
+ const t = A;
491
+ A = A.nextSibling, t.remove();
492
+ }
493
+ return E && E.forEach((t => t.remove())), b.keyes = N, b;
494
+ }
495
+
496
+ function Ne(t, e, a, u, d) {
497
+ for (const h in e) !(h in a) && Dt(t, h, e[h], null, d, u);
498
+ for (const h in a) Dt(t, h, e[h], a[h], d, u);
499
+ }
500
+
501
+ function Dt(t, e, a, u, d, h) {
502
+ if (e = e == "class" && !d ? "className" : e, a = a ?? null, u = u ?? null, e in t && J[e] && (a = t[e]),
503
+ !(u === a || G[e] || e[0] == "_")) if (e[0] == "o" && e[1] == "n" && (w(u) || w(a))) ke(t, e.slice(2), u, h); else if (e == "ref") u && (w(u) ? u(t) : u.current = t); else if (e == "style") {
504
+ const {style: e} = t;
505
+ a = a || "", u = u || "";
506
+ const d = R(a), h = R(u);
507
+ if (d) for (const t in a) if (h) !(t in u) && St(e, t, null); else break;
508
+ if (h) for (const t in u) {
509
+ const h = u[t];
510
+ d && a[t] === h || St(e, t, h);
511
+ } else e.cssText = u;
512
+ } else {
513
+ const h = e[0] == "$" ? e.slice(1) : e;
514
+ h === e && (!d && !q[e] && e in t || w(u) || w(a)) ? t[e] = u ?? "" : u == null ? t.removeAttribute(h) : t.setAttribute(h, R(u) ? JSON.stringify(u) : u);
515
+ }
516
+ }
517
+
518
+ function ke(t, e, a, u) {
519
+ if (u.handleEvent || (u.handleEvent = e => u[e.type].call(t, e)), a) {
520
+ if (!u[e]) {
521
+ const d = a.capture || a.once || a.passive ? Object.assign({}, a) : null;
522
+ t.addEventListener(e, u, d);
523
+ }
524
+ u[e] = a;
525
+ } else u[e] && (t.removeEventListener(e, u), delete u[e]);
526
+ }
527
+
528
+ function St(t, e, a) {
529
+ let u = "setProperty";
530
+ a == null && (u = "removeProperty", a = null), ~e.indexOf("-") ? t[u](e, a) : t[e] = a;
531
+ }
532
+
533
+ const lt = {};
534
+
535
+ function z(t, ...e) {
536
+ const a = (t.raw || t).reduce(((t, a, u) => t + a + (e[u] || "")), "");
537
+ return lt[a] = lt[a] || Oe(a);
538
+ }
539
+
540
+ function Oe(t) {
541
+ if (W.sheet) {
542
+ const e = new CSSStyleSheet;
543
+ return e.replaceSync(t), e;
544
+ } else {
545
+ const e = document.createElement("style");
546
+ return e.textContent = t, e;
547
+ }
548
+ }
549
+
550
+ const dt = zt("host", {
551
+ style: "display: contents"
552
+ }), ft = g("atomico/context"), Ae = (t, e) => {
553
+ const a = _();
554
+ U((() => $t(a.current, "ConnectContext", (
555
+ /**
556
+ * @param {CustomEvent<import("context").DetailConnectContext>} event
557
+ */
558
+ a => {
559
+ t === a.detail.id && (a.stopPropagation(), a.detail.connect(e));
560
+ }))), [ t ]);
561
+ }, Fe = t => {
562
+ const e = C("ConnectContext", {
563
+ bubbles: !0,
564
+ composed: !0
565
+ }), n = () => {
566
+ let a;
567
+ return e({
568
+ id: t,
569
+ connect(t) {
570
+ a = t;
571
+ }
572
+ }), a;
573
+ }, [a, u] = rt(n);
574
+ return M((() => {
575
+ a || (t[ft] || (t[ft] = customElements.whenDefined((new t).localName)), t[ft].then((() => u(n))));
576
+ }), [ t ]), a;
577
+ }, Re = t => {
578
+ const e = Fe(t), a = Rt();
579
+ return M((() => {
580
+ if (e) return $t(e, "UpdatedValue", a);
581
+ }), [ e ]), (e || t).value;
582
+ }, Ie = t => {
583
+ const e = j((() => (Ae(e, _().current), dt)), {
584
+ props: {
585
+ value: {
586
+ type: Object,
587
+ event: {
588
+ type: "UpdatedValue"
589
+ },
590
+ value: () => t
591
+ }
592
+ }
593
+ });
594
+ return e.value = t, e;
595
+ }, y = (t, e, a) => (e == null ? e = {
596
+ key: a
597
+ } : e.key = a, zt(t, e)), pt = y, yt = z`*,*:before,*:after{box-sizing:border-box}button{padding:0;touch-action:manipulation;cursor:pointer;user-select:none}`, bt = z`.vh{position:absolute;transform:scale(0)}`;
598
+
599
+ function it() {
600
+ return wt.from( new Date);
601
+ }
602
+
603
+ function at(t, e = 0) {
604
+ const a = S(t), u = a.getUTCDay(), d = (u < e ? 7 : 0) + u - e;
605
+ return a.setUTCDate(a.getUTCDate() - d), wt.from(a);
606
+ }
607
+
608
+ function Zt(t, e = 0) {
609
+ return at(t, e).add({
610
+ days: 6
611
+ });
612
+ }
613
+
614
+ function Wt(t) {
615
+ return wt.from(new Date(Date.UTC(t.year, t.month, 0)));
616
+ }
617
+
618
+ function H(t, e, a) {
619
+ return e && wt.compare(t, e) < 0 ? e : a && wt.compare(t, a) > 0 ? a : t;
620
+ }
621
+
622
+ const gt = {
623
+ days: 1
624
+ };
625
+
626
+ function $e(t, e = 0) {
627
+ let a = at(t.toPlainDate(), e);
628
+ const u = Zt(Wt(t), e), d = [];
629
+ for (;wt.compare(a, u) < 0; ) {
630
+ const t = [];
631
+ for (let e = 0; e < 7; e++) t.push(a), a = a.add(gt);
632
+ d.push(t);
633
+ }
634
+ return d;
635
+ }
636
+
637
+ function S(t) {
638
+ return new Date(Date.UTC(t.year, t.month - 1, t.day ?? 1));
639
+ }
640
+
641
+ const vt = /^(\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[0-1])$/, X = (t, e) => t.toString().padStart(e, "0");
642
+
643
+ class wt {
644
+ constructor(t, e, a) {
645
+ this.year = t, this.month = e, this.day = a;
646
+ }
647
+ // this is an incomplete implementation that only handles arithmetic on a single unit at a time.
648
+ // i didn't want to get into more complex arithmetic since it get tricky fast
649
+ // this is enough to serve my needs and will still be a drop-in replacement when actual Temporal API lands
650
+ add(t) {
651
+ const e = S(this);
652
+ if ("days" in t) return e.setUTCDate(this.day + t.days), wt.from(e);
653
+ let {year: a, month: u} = this;
654
+ "months" in t ? (u = this.month + t.months, e.setUTCMonth(u - 1)) : (a = this.year + t.years,
655
+ e.setUTCFullYear(a));
656
+ const d = wt.from(S({
657
+ year: a,
658
+ month: u,
659
+ day: 1
660
+ }));
661
+ return H(wt.from(e), d, Wt(d));
662
+ }
663
+ toString() {
664
+ return `${X(this.year, 4)}-${X(this.month, 2)}-${X(this.day, 2)}`;
665
+ }
666
+ toPlainYearMonth() {
667
+ return new xt(this.year, this.month);
668
+ }
669
+ equals(t) {
670
+ return wt.compare(this, t) === 0;
671
+ }
672
+ static compare(t, e) {
673
+ return t.year < e.year ? -1 : t.year > e.year ? 1 : t.month < e.month ? -1 : t.month > e.month ? 1 : t.day < e.day ? -1 : t.day > e.day ? 1 : 0;
674
+ }
675
+ static from(t) {
676
+ if (typeof t == "string") {
677
+ const e = t.match(vt);
678
+ if (!e) throw new TypeError(t);
679
+ const [, a, u, d] = e;
680
+ return new wt(parseInt(a, 10), parseInt(u, 10), parseInt(d, 10));
681
+ }
682
+ return new wt(t.getUTCFullYear(), t.getUTCMonth() + 1, t.getUTCDate());
683
+ }
684
+ }
685
+
686
+ class xt {
687
+ constructor(t, e) {
688
+ this.year = t, this.month = e;
689
+ }
690
+ add(t) {
691
+ const e = S(this), a = (t.months ?? 0) + (t.years ?? 0) * 12;
692
+ return e.setUTCMonth(e.getUTCMonth() + a), new xt(e.getUTCFullYear(), e.getUTCMonth() + 1);
693
+ }
694
+ equals(t) {
695
+ return this.year === t.year && this.month === t.month;
696
+ }
697
+ toPlainDate() {
698
+ return new wt(this.year, this.month, 1);
699
+ }
700
+ }
701
+
702
+ function x(t, e) {
703
+ if (e) try {
704
+ return t.from(e);
705
+ } catch {}
706
+ }
707
+
708
+ function P(t) {
709
+ const [e, a] = ct(t);
710
+ return [ T((() => x(wt, e)), [ e ]), t => a(t?.toString()) ];
711
+ }
712
+
713
+ function _e(t) {
714
+ const [e = "", a] = ct(t);
715
+ return [ T((() => {
716
+ const [t, a] = e.split("/"), u = x(wt, t), d = x(wt, a);
717
+ return u && d ? [ u, d ] : [];
718
+ }), [ e ]), t => a(`${t[0]}/${t[1]}`) ];
719
+ }
720
+
721
+ function je(t) {
722
+ const [e = "", a] = ct(t);
723
+ return [ T((() => {
724
+ const t = [];
725
+ for (const a of e.trim().split(/\s+/)) {
726
+ const e = x(wt, a);
727
+ e && t.push(e);
728
+ }
729
+ return t;
730
+ }), [ e ]), t => a(t.join(" ")) ];
731
+ }
732
+
733
+ function L(t, e) {
734
+ return T((() => new Intl.DateTimeFormat(e, {
735
+ timeZone: "UTC",
736
+ ...t
737
+ })), [ e, t ]);
738
+ }
739
+
740
+ function Ct(t, e, a) {
741
+ const u = L(t, a);
742
+ return T((() => {
743
+ const t = [], a = new Date;
744
+ for (var d = 0; d < 7; d++) {
745
+ const d = (a.getUTCDay() - e + 7) % 7;
746
+ t[d] = u.format(a), a.setUTCDate(a.getUTCDate() + 1);
747
+ }
748
+ return t;
749
+ }), [ e, u ]);
750
+ }
751
+
752
+ const Tt = (t, e, a) => H(t, e, a) === t, Pt = t => t.target.matches(":dir(ltr)"), Et = {
753
+ month: "long",
754
+ day: "numeric"
755
+ }, At = {
756
+ month: "long"
757
+ }, Lt = {
758
+ weekday: "narrow"
759
+ }, Bt = {
760
+ weekday: "long"
761
+ }, Ft = {
762
+ bubbles: !0
763
+ };
764
+
765
+ function ze({props: t, context: e}) {
766
+ const {offset: a} = t, {firstDayOfWeek: u, isDateDisallowed: d, min: h, max: b, page: g, locale: k, focusedDate: D} = e, $ = it(), N = Ct(Bt, u, k), E = Ct(Lt, u, k), A = L(Et, k), B = L(At, k), F = T((() => g.start.add({
767
+ months: a
768
+ })), [ g, a ]), M = T((() => $e(F, u)), [ F, u ]), U = C("focusday", Ft), I = C("selectday", Ft), Z = C("hoverday", Ft);
769
+ function mt(t) {
770
+ U(H(t, h, b));
771
+ }
772
+ function Gt(t) {
773
+ let e;
774
+ switch (t.key) {
775
+ case "ArrowRight":
776
+ e = D.add({
777
+ days: Pt(t) ? 1 : -1
778
+ });
779
+ break;
780
+
781
+ case "ArrowLeft":
782
+ e = D.add({
783
+ days: Pt(t) ? -1 : 1
784
+ });
785
+ break;
786
+
787
+ case "ArrowDown":
788
+ e = D.add({
789
+ days: 7
790
+ });
791
+ break;
792
+
793
+ case "ArrowUp":
794
+ e = D.add({
795
+ days: -7
796
+ });
797
+ break;
798
+
799
+ case "PageUp":
800
+ e = D.add(t.shiftKey ? {
801
+ years: -1
802
+ } : {
803
+ months: -1
804
+ });
805
+ break;
806
+
807
+ case "PageDown":
808
+ e = D.add(t.shiftKey ? {
809
+ years: 1
810
+ } : {
811
+ months: 1
812
+ });
813
+ break;
814
+
815
+ case "Home":
816
+ e = at(D, u);
817
+ break;
818
+
819
+ case "End":
820
+ e = Zt(D, u);
821
+ break;
822
+
823
+ default:
824
+ return;
825
+ }
826
+ mt(e), t.preventDefault();
827
+ }
828
+ function Qt(t) {
829
+ const a = F.equals(t);
830
+ if (!e.showOutsideDays && !a) return;
831
+ const u = t.equals(D), g = t.equals($), k = S(t), N = d?.(k), E = !Tt(t, h, b);
832
+ let B = "", M;
833
+ if (e.type === "range") {
834
+ const [a, u] = e.value, d = a?.equals(t), h = u?.equals(t);
835
+ M = a && u && Tt(t, a, u), B = `${d ? "range-start" : ""} ${h ? "range-end" : ""} ${M && !d && !h ? "range-inner" : ""}`;
836
+ } else e.type === "multi" ? M = e.value.some((e => e.equals(t))) : M = e.value?.equals(t);
837
+ return {
838
+ part: `${`button day ${// we don't want outside days to ever be shown as selected
839
+ a ? M ? "selected" : "" : "outside"} ${N ? "disallowed" : ""} ${g ? "today" : ""}`} ${B}`,
840
+ tabindex: a && u ? 0 : -1,
841
+ disabled: E,
842
+ "aria-disabled": N ? "true" : void 0,
843
+ "aria-pressed": a && M,
844
+ "aria-current": g ? "date" : void 0,
845
+ "aria-label": A.format(k),
846
+ onkeydown: Gt,
847
+ onclick() {
848
+ N || I(t), mt(t);
849
+ },
850
+ onmouseover() {
851
+ !N && !E && Z(t);
852
+ }
853
+ };
854
+ }
855
+ return {
856
+ weeks: M,
857
+ yearMonth: F,
858
+ daysLong: N,
859
+ daysShort: E,
860
+ formatter: B,
861
+ getDayProps: Qt
862
+ };
863
+ }
864
+
865
+ const Vt = it(), _t = Ie({
866
+ type: "date",
867
+ firstDayOfWeek: 1,
868
+ isDateDisallowed: () => !1,
869
+ focusedDate: Vt,
870
+ page: {
871
+ start: Vt.toPlainYearMonth(),
872
+ end: Vt.toPlainYearMonth()
873
+ }
874
+ });
875
+
876
+ customElements.define("calendar-month-ctx", _t);
877
+
878
+ const Jt = j((t => {
879
+ const e = Re(_t), a = se(), u = ze({
880
+ props: t,
881
+ context: e
882
+ });
883
+ function r() {
884
+ a.current.querySelector("button[tabindex='0']")?.focus();
885
+ }
886
+
887
+ return pt("host", {
888
+ shadowDom: !0,
889
+ focus: r,
890
+ children: [
891
+ y("div", {
892
+ id: "h",
893
+ part: "heading",
894
+ children: u.formatter.format(S(u.yearMonth))
895
+ }),
896
+ pt("table", {
897
+ ref: a,
898
+ "aria-labelledby": "h",
899
+ part: "table",
900
+ children: [
901
+ y("thead", {
902
+ children: y("tr", {
903
+ part: "tr head",
904
+ children: u.daysLong.map(((t, e) => pt("th", {
905
+ part: "th",
906
+ scope: "col",
907
+ children: [
908
+ y("span", {
909
+ class: "vh",
910
+ children: t
911
+ }),
912
+ y("span", {
913
+ "aria-hidden": "true",
914
+ children: u.daysShort[e]
915
+ }) ]
916
+ })))
917
+ })
918
+ }),
919
+ y("tbody", {
920
+ children: u.weeks.map(((t, e) => y("tr", {
921
+ part: "tr week",
922
+ children: t.map(((t, e) => {
923
+ const a = u.getDayProps(t);
924
+
925
+ return y("td", {
926
+ part: "td",
927
+ children: a && y("button", {
928
+ ...a,
929
+ children: t.day
930
+ })
931
+ }, e);
932
+ }))
933
+ }, e)))
934
+ }) ]
935
+ }) ]
936
+ });
937
+ }), {
938
+ props: {
939
+ offset: {
940
+ type: Number,
941
+ value: 0
942
+ }
943
+ },
944
+ styles: [ yt, bt, z`:host{--color-accent: black;--color-text-on-accent: white;display:flex;flex-direction:column;gap:.25rem;text-align:center;inline-size:fit-content}table{border-collapse:collapse;font-size:.875rem}th{font-weight:700;block-size:2.25rem}td{padding-inline:0}button{color:inherit;font-size:inherit;background:transparent;border:0;font-variant-numeric:tabular-nums;block-size:2.25rem;inline-size:2.25rem}button:hover:where(:not(:disabled,[aria-disabled])){background:#0000000d}button:is([aria-pressed=true],:focus-visible){background:var(--color-accent);color:var(--color-text-on-accent)}button:focus-visible{outline:1px solid var(--color-text-on-accent);outline-offset:-2px}button:disabled,:host::part(outside),:host::part(disallowed){cursor:default;opacity:.5}` ]
945
+ });
946
+
947
+ customElements.define("calendar-month", Jt);
948
+
949
+ function Nt(t) {
950
+
951
+ return y("button", {
952
+ part: `button ${t.name} ${t.onclick ? "" : "disabled"}`,
953
+ onclick: t.onclick,
954
+ "aria-disabled": t.onclick ? null : "true",
955
+ children: y("slot", {
956
+ name: t.name,
957
+ children: t.children
958
+ })
959
+ });
960
+ }
961
+
962
+ function ut(t) {
963
+ const e = S(t.page.start), a = S(t.page.end);
964
+
965
+ return pt("div", {
966
+ role: "group",
967
+ "aria-labelledby": "h",
968
+ part: "container",
969
+ children: [
970
+ y("div", {
971
+ id: "h",
972
+ class: "vh",
973
+ "aria-live": "polite",
974
+ "aria-atomic": "true",
975
+ children: t.formatVerbose.formatRange(e, a)
976
+ }),
977
+ pt("div", {
978
+ part: "header",
979
+ children: [
980
+ y(Nt, {
981
+ name: "previous",
982
+ onclick: t.previous,
983
+ children: "Previous"
984
+ }),
985
+ y("slot", {
986
+ part: "heading",
987
+ name: "heading",
988
+ children: y("div", {
989
+ "aria-hidden": "true",
990
+ children: t.format.formatRange(e, a)
991
+ })
992
+ }),
993
+ y(Nt, {
994
+ name: "next",
995
+ onclick: t.next,
996
+ children: "Next"
997
+ }) ]
998
+ }),
999
+ y(_t, {
1000
+ value: t,
1001
+ onselectday: t.onSelect,
1002
+ onfocusday: t.onFocus,
1003
+ onhoverday: t.onHover,
1004
+ children: y("slot", {})
1005
+ }) ]
1006
+ });
1007
+ }
1008
+
1009
+ const qt = {
1010
+ value: {
1011
+ type: String,
1012
+ value: ""
1013
+ },
1014
+ min: {
1015
+ type: String,
1016
+ value: ""
1017
+ },
1018
+ max: {
1019
+ type: String,
1020
+ value: ""
1021
+ },
1022
+ isDateDisallowed: {
1023
+ type: Function,
1024
+ value: t => !1
1025
+ },
1026
+ firstDayOfWeek: {
1027
+ type: Number,
1028
+ value: () => 1
1029
+ },
1030
+ showOutsideDays: {
1031
+ type: Boolean,
1032
+ value: !1
1033
+ },
1034
+ locale: {
1035
+ type: String,
1036
+ value: () => {}
1037
+ },
1038
+ months: {
1039
+ type: Number,
1040
+ value: 1
1041
+ },
1042
+ focusedDate: {
1043
+ type: String,
1044
+ value: () => {}
1045
+ },
1046
+ pageBy: {
1047
+ type: String,
1048
+ value: () => "months"
1049
+ }
1050
+ }, Kt = [ yt, bt, z`:host{display:block;inline-size:fit-content}[role=group]{display:flex;flex-direction:column;gap:1em}:host::part(header){display:flex;align-items:center;justify-content:space-between}:host::part(heading){font-weight:700;font-size:1.25em}button{display:flex;align-items:center;justify-content:center}button[aria-disabled]{cursor:default;opacity:.5}` ], Xt = {
1051
+ year: "numeric"
1052
+ }, te = {
1053
+ year: "numeric",
1054
+ month: "long"
1055
+ };
1056
+
1057
+ function V(t, e) {
1058
+ return (e.year - t.year) * 12 + e.month - t.month;
1059
+ }
1060
+
1061
+ const kt = (t, e) => (t = e === 12 ? new xt(t.year, 1) : t, {
1062
+ start: t,
1063
+ end: t.add({
1064
+ months: e - 1
1065
+ })
1066
+ });
1067
+
1068
+ function Ze({pageBy: t, focusedDate: e, months: a, max: u, min: d, goto: h}) {
1069
+ const b = t === "single" ? 1 : a, [g, k] = rt((() => kt(e.toPlainYearMonth(), a))), i = t => k(kt(g.start.add({
1070
+ months: t
1071
+ }), a)), f = t => {
1072
+ const e = V(g.start, t.toPlainYearMonth());
1073
+ return e >= 0 && e < a;
1074
+ };
1075
+ return M((() => {
1076
+ if (f(e)) return;
1077
+ const t = V(e.toPlainYearMonth(), g.start);
1078
+ h(e.add({
1079
+ months: t
1080
+ }));
1081
+ }), [ g.start ]), M((() => {
1082
+ if (f(e)) return;
1083
+ const t = V(g.start, e.toPlainYearMonth());
1084
+ i(t === -1 ? -b : t === a ? b : Math.floor(t / a) * a);
1085
+ }), [ e, b, a ]), {
1086
+ page: g,
1087
+ previous: !d || !f(d) ? () => i(-b) : void 0,
1088
+ next: !u || !f(u) ? () => i(b) : void 0
1089
+ };
1090
+ }
1091
+
1092
+ function ht({months: t, pageBy: e, locale: a, focusedDate: u, setFocusedDate: d}) {
1093
+ const [h] = P("min"), [b] = P("max"), g = C("focusday"), k = C("change"), D = T((() => H(u ?? it(), h, b)), [ u, h, b ]);
1094
+ function f(t) {
1095
+ d(t), g(S(t));
1096
+ }
1097
+ const {next: $, previous: N, page: E} = Ze({
1098
+ pageBy: e,
1099
+ focusedDate: D,
1100
+ months: t,
1101
+ min: h,
1102
+ max: b,
1103
+ goto: f
1104
+ }), A = _();
1105
+ function p() {
1106
+ A.current.querySelectorAll("calendar-month").forEach((t => t.focus()));
1107
+ }
1108
+ return {
1109
+ format: L(Xt, a),
1110
+ formatVerbose: L(te, a),
1111
+ page: E,
1112
+ focusedDate: D,
1113
+ dispatch: k,
1114
+ onFocus(t) {
1115
+ t.stopPropagation(), f(t.detail), setTimeout(p);
1116
+ },
1117
+ min: h,
1118
+ max: b,
1119
+ next: $,
1120
+ previous: N,
1121
+ focus: p
1122
+ };
1123
+ }
1124
+
1125
+ const ee = j((t => {
1126
+ const [e, a] = P("value"), [u = e, d] = P("focusedDate"), h = ht({
1127
+ ...t,
1128
+ focusedDate: u,
1129
+ setFocusedDate: d
1130
+ });
1131
+ function c(t) {
1132
+ a(t.detail), h.dispatch();
1133
+ }
1134
+
1135
+ return y("host", {
1136
+ shadowDom: !0,
1137
+ focus: h.focus,
1138
+ children: y(ut, {
1139
+ ...t,
1140
+ ...h,
1141
+ type: "date",
1142
+ value: e,
1143
+ onSelect: c
1144
+ })
1145
+ });
1146
+ }), {
1147
+ props: qt,
1148
+ styles: Kt
1149
+ });
1150
+
1151
+ customElements.define("calendar-date", ee);
1152
+
1153
+ const Ot = (t, e) => wt.compare(t, e) < 0 ? [ t, e ] : [ e, t ], ne = j((t => {
1154
+ const [e, a] = _e("value"), [u = e[0], d] = P("focusedDate"), h = ht({
1155
+ ...t,
1156
+ focusedDate: u,
1157
+ setFocusedDate: d
1158
+ }), b = C("rangestart"), g = C("rangeend"), [k, D] = P("tentative"), [$, N] = rt();
1159
+ M((() => N(void 0)), [ k ]);
1160
+ function l(t) {
1161
+ h.onFocus(t), m(t);
1162
+ }
1163
+ function m(t) {
1164
+ t.stopPropagation(), k && N(t.detail);
1165
+ }
1166
+ function v(t) {
1167
+ const e = t.detail;
1168
+ t.stopPropagation(), k ? (a(Ot(k, e)), D(void 0), g(S(e)), h.dispatch()) : (D(e),
1169
+ b(S(e)));
1170
+ }
1171
+ const E = k ? Ot(k, $ ?? k) : e;
1172
+
1173
+ return y("host", {
1174
+ shadowDom: !0,
1175
+ focus: h.focus,
1176
+ children: y(ut, {
1177
+ ...t,
1178
+ ...h,
1179
+ type: "range",
1180
+ value: E,
1181
+ onFocus: l,
1182
+ onHover: m,
1183
+ onSelect: v
1184
+ })
1185
+ });
1186
+ }), {
1187
+ props: {
1188
+ ...qt,
1189
+ tentative: {
1190
+ type: String,
1191
+ value: ""
1192
+ }
1193
+ },
1194
+ styles: Kt
1195
+ });
1196
+
1197
+ customElements.define("calendar-range", ne);
1198
+
1199
+ const re = j((t => {
1200
+ const [e, a] = je("value"), [u = e[0], d] = P("focusedDate"), h = ht({
1201
+ ...t,
1202
+ focusedDate: u,
1203
+ setFocusedDate: d
1204
+ });
1205
+ function c(t) {
1206
+ const u = [ ...e ], d = e.findIndex((e => e.equals(t.detail)));
1207
+ d < 0 ? u.push(t.detail) : u.splice(d, 1), a(u), h.dispatch();
1208
+ }
1209
+
1210
+ return y("host", {
1211
+ shadowDom: !0,
1212
+ focus: h.focus,
1213
+ children: y(ut, {
1214
+ ...t,
1215
+ ...h,
1216
+ type: "multi",
1217
+ value: e,
1218
+ onSelect: c
1219
+ })
1220
+ });
1221
+ }), {
1222
+ props: qt,
1223
+ styles: Kt
1224
+ });
1225
+
1226
+ customElements.define("calendar-multi", re);
1227
+
1228
+ const globalFn = () => {};
1229
+
1230
+ const ie = globalFn;
1231
+
1232
+ export { ie as g };
6
1233
  //# sourceMappingURL=p-3fd0d92d.js.map