@beeq/core 1.3.2 → 1.4.0

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 (320) hide show
  1. package/dist/beeq/beeq.esm.js +1 -1
  2. package/dist/beeq/beeq.esm.js.map +1 -1
  3. package/dist/beeq/{p-28a9a23d.entry.js → p-02c15c4b.entry.js} +2 -2
  4. package/dist/beeq/{p-2f7137e0.entry.js → p-0628de9f.entry.js} +2 -2
  5. package/dist/beeq/{p-cbca544b.entry.js → p-1a7d3fbe.entry.js} +2 -2
  6. package/dist/beeq/p-299455bd.js +7 -0
  7. package/dist/beeq/p-299455bd.js.map +1 -0
  8. package/dist/beeq/{p-32134085.entry.js → p-3c4fbdd7.entry.js} +2 -2
  9. package/dist/beeq/p-3ddd1c36.entry.js +6 -0
  10. package/dist/beeq/p-3ddd1c36.entry.js.map +1 -0
  11. package/dist/beeq/{p-c14e94e0.entry.js → p-3e4c9374.entry.js} +2 -2
  12. package/dist/beeq/{p-7d3c9c9a.entry.js → p-4ba46a90.entry.js} +2 -2
  13. package/dist/beeq/{p-7d3c9c9a.entry.js.map → p-4ba46a90.entry.js.map} +1 -1
  14. package/dist/beeq/{p-d58a7c27.entry.js → p-54c58ae3.entry.js} +2 -2
  15. package/dist/beeq/{p-ada3ca0a.entry.js → p-5ca47d1e.entry.js} +2 -2
  16. package/dist/beeq/{p-c6dd73ea.js → p-60cfdd95.js} +2 -2
  17. package/dist/beeq/p-60cfdd95.js.map +1 -0
  18. package/dist/beeq/{p-c893951f.entry.js → p-61ada51d.entry.js} +2 -2
  19. package/dist/beeq/{p-6c1ddc44.entry.js → p-64f8af01.entry.js} +2 -2
  20. package/dist/beeq/{p-354f52d1.entry.js → p-68aaabee.entry.js} +2 -2
  21. package/dist/beeq/p-6a9bb294.entry.js +6 -0
  22. package/dist/beeq/p-6a9bb294.entry.js.map +1 -0
  23. package/dist/beeq/{p-ab632829.entry.js → p-741c4780.entry.js} +2 -2
  24. package/dist/beeq/{p-6d5d2460.entry.js → p-7b5e46cb.entry.js} +2 -2
  25. package/dist/beeq/{p-8593ad98.entry.js → p-7bf832f5.entry.js} +2 -2
  26. package/dist/beeq/{p-981797b1.entry.js → p-7fbceff7.entry.js} +2 -2
  27. package/dist/beeq/p-8343145d.entry.js +6 -0
  28. package/dist/beeq/p-8343145d.entry.js.map +1 -0
  29. package/dist/beeq/{p-1f370b12.entry.js → p-8cd96f23.entry.js} +2 -2
  30. package/dist/beeq/{p-e2b64861.entry.js → p-900b24fc.entry.js} +2 -2
  31. package/dist/beeq/{p-1c789890.entry.js → p-93e38159.entry.js} +2 -2
  32. package/dist/beeq/{p-51603d69.entry.js → p-9d4b982c.entry.js} +2 -2
  33. package/dist/beeq/{p-d27ad8a0.entry.js → p-bd15cc60.entry.js} +2 -2
  34. package/dist/beeq/p-c0692037.entry.js +6 -0
  35. package/dist/beeq/p-c0692037.entry.js.map +1 -0
  36. package/dist/beeq/{p-852c54d8.entry.js → p-c09305af.entry.js} +2 -2
  37. package/dist/beeq/{p-81a34a07.entry.js → p-c435eb9d.entry.js} +2 -2
  38. package/dist/beeq/{p-de827971.entry.js → p-c63164ef.entry.js} +2 -2
  39. package/dist/beeq/{p-a30ba2bd.entry.js → p-c6c2ce93.entry.js} +2 -2
  40. package/dist/beeq/{p-bb8f8b78.entry.js → p-c98276b3.entry.js} +2 -2
  41. package/dist/beeq/{p-31472c1f.entry.js → p-d29eef16.entry.js} +2 -2
  42. package/dist/beeq/{p-0af526fc.entry.js → p-d5dcd933.entry.js} +2 -2
  43. package/dist/beeq/p-d871936d.entry.js +6 -0
  44. package/dist/beeq/p-d871936d.entry.js.map +1 -0
  45. package/dist/beeq/{p-0b6e3137.entry.js → p-d969800e.entry.js} +2 -2
  46. package/dist/beeq/{p-3c37a62d.entry.js → p-d97d4712.entry.js} +2 -2
  47. package/dist/beeq/{p-d11fafe0.entry.js → p-dafa2581.entry.js} +2 -2
  48. package/dist/beeq/{p-8b57cd5e.entry.js → p-e068ede6.entry.js} +2 -2
  49. package/dist/beeq/{p-42c5530c.entry.js → p-e1162d1c.entry.js} +2 -2
  50. package/dist/beeq/p-e2c645ae.js +6 -0
  51. package/dist/beeq/p-e2c645ae.js.map +1 -0
  52. package/dist/beeq/{p-36eb59f9.entry.js → p-f4b40086.entry.js} +2 -2
  53. package/dist/cjs/app-globals-eca46908.js +1122 -0
  54. package/dist/cjs/app-globals-eca46908.js.map +1 -0
  55. package/dist/cjs/beeq.cjs.js +4 -4
  56. package/dist/cjs/beeq.cjs.js.map +1 -1
  57. package/dist/cjs/bq-accordion-group.cjs.entry.js +1 -1
  58. package/dist/cjs/bq-accordion.cjs.entry.js +1 -1
  59. package/dist/cjs/bq-alert.cjs.entry.js +1 -1
  60. package/dist/cjs/bq-avatar.cjs.entry.js +1 -1
  61. package/dist/cjs/bq-badge.cjs.entry.js +1 -1
  62. package/dist/cjs/bq-breadcrumb-item.cjs.entry.js +1 -1
  63. package/dist/cjs/bq-breadcrumb.cjs.entry.js +1 -1
  64. package/dist/cjs/bq-button_2.cjs.entry.js +307 -0
  65. package/dist/cjs/bq-button_2.cjs.entry.js.map +1 -0
  66. package/dist/cjs/bq-card.cjs.entry.js +1 -1
  67. package/dist/cjs/bq-checkbox.cjs.entry.js +1 -1
  68. package/dist/cjs/bq-date-picker.cjs.entry.js +260 -0
  69. package/dist/cjs/bq-date-picker.cjs.entry.js.map +1 -0
  70. package/dist/cjs/bq-dialog.cjs.entry.js +4 -4
  71. package/dist/cjs/bq-divider.cjs.entry.js +3 -3
  72. package/dist/cjs/bq-drawer.cjs.entry.js +6 -6
  73. package/dist/cjs/bq-drawer.cjs.entry.js.map +1 -1
  74. package/dist/cjs/{bq-panel.cjs.entry.js → bq-dropdown_2.cjs.entry.js} +109 -4
  75. package/dist/cjs/bq-dropdown_2.cjs.entry.js.map +1 -0
  76. package/dist/cjs/bq-empty-state.cjs.entry.js +5 -5
  77. package/dist/cjs/bq-input.cjs.entry.js +5 -5
  78. package/dist/cjs/bq-notification.cjs.entry.js +3 -3
  79. package/dist/cjs/bq-option-group.cjs.entry.js +2 -2
  80. package/dist/cjs/{bq-dropdown_3.cjs.entry.js → bq-option-list_2.cjs.entry.js} +6 -111
  81. package/dist/cjs/bq-option-list_2.cjs.entry.js.map +1 -0
  82. package/dist/cjs/bq-option.cjs.entry.js +5 -5
  83. package/dist/cjs/bq-progress.cjs.entry.js +5 -5
  84. package/dist/cjs/bq-radio-group.cjs.entry.js +2 -2
  85. package/dist/cjs/bq-radio.cjs.entry.js +3 -3
  86. package/dist/cjs/bq-select.cjs.entry.js +2 -2
  87. package/dist/cjs/bq-select.cjs.entry.js.map +1 -1
  88. package/dist/cjs/bq-side-menu-item.cjs.entry.js +1 -1
  89. package/dist/cjs/bq-side-menu.cjs.entry.js +2 -2
  90. package/dist/cjs/bq-slider.cjs.entry.js +2 -2
  91. package/dist/cjs/bq-spinner.cjs.entry.js +5 -5
  92. package/dist/cjs/bq-status.cjs.entry.js +2 -2
  93. package/dist/cjs/bq-step-item.cjs.entry.js +5 -5
  94. package/dist/cjs/bq-steps.cjs.entry.js +2 -2
  95. package/dist/cjs/bq-switch.cjs.entry.js +3 -3
  96. package/dist/cjs/bq-tab-group.cjs.entry.js +2 -2
  97. package/dist/cjs/bq-tab.cjs.entry.js +3 -3
  98. package/dist/cjs/bq-textarea.cjs.entry.js +4 -4
  99. package/dist/cjs/bq-toast.cjs.entry.js +2 -2
  100. package/dist/cjs/bq-tooltip.cjs.entry.js +3 -3
  101. package/dist/cjs/{index-d55cdb65.js → index-58b1a597.js} +34 -18
  102. package/dist/cjs/index-58b1a597.js.map +1 -0
  103. package/dist/cjs/{index-32f757ed.js → index-a08b6938.js} +5 -5
  104. package/dist/cjs/index-a08b6938.js.map +1 -0
  105. package/dist/cjs/loader.cjs.js +3 -3
  106. package/dist/collection/collection-manifest.json +4 -2
  107. package/dist/collection/components/button/scss/bq-button.css +1 -1
  108. package/dist/collection/components/date-picker/__tests__/bq-date-picker.e2e.js +67 -0
  109. package/dist/collection/components/date-picker/__tests__/bq-date-picker.e2e.js.map +1 -0
  110. package/dist/collection/components/date-picker/bq-date-picker.js +920 -0
  111. package/dist/collection/components/date-picker/bq-date-picker.js.map +1 -0
  112. package/dist/collection/components/date-picker/bq-date-picker.types.js +6 -0
  113. package/dist/collection/components/date-picker/bq-date-picker.types.js.map +1 -0
  114. package/dist/collection/components/date-picker/scss/bq-date-picker.css +1 -0
  115. package/dist/collection/components/dialog/bq-dialog.js +3 -3
  116. package/dist/collection/components/divider/bq-divider.js +2 -2
  117. package/dist/collection/components/drawer/bq-drawer.js +4 -4
  118. package/dist/collection/components/drawer/bq-drawer.js.map +1 -1
  119. package/dist/collection/components/drawer/scss/bq-drawer.css +1 -1
  120. package/dist/collection/components/dropdown/bq-dropdown.js +1 -1
  121. package/dist/collection/components/empty-state/bq-empty-state.js +4 -4
  122. package/dist/collection/components/icon/bq-icon.js +1 -1
  123. package/dist/collection/components/input/bq-input.js +4 -4
  124. package/dist/collection/components/notification/bq-notification.js +2 -2
  125. package/dist/collection/components/option/bq-option.js +4 -4
  126. package/dist/collection/components/option-group/bq-option-group.js +1 -1
  127. package/dist/collection/components/option-list/bq-option-list.js +1 -1
  128. package/dist/collection/components/panel/bq-panel.js +1 -1
  129. package/dist/collection/components/progress/bq-progress.js +4 -4
  130. package/dist/collection/components/radio/bq-radio.js +2 -2
  131. package/dist/collection/components/radio-group/bq-radio-group.js +1 -1
  132. package/dist/collection/components/select/scss/bq-select.css +1 -1
  133. package/dist/collection/components/side-menu/bq-side-menu.js +1 -1
  134. package/dist/collection/components/slider/bq-slider.js +1 -1
  135. package/dist/collection/components/spinner/bq-spinner.js +4 -4
  136. package/dist/collection/components/status/bq-status.js +1 -1
  137. package/dist/collection/components/step-item/bq-step-item.js +4 -4
  138. package/dist/collection/components/steps/bq-steps.js +1 -1
  139. package/dist/collection/components/switch/bq-switch.js +2 -2
  140. package/dist/collection/components/tab/bq-tab.js +2 -2
  141. package/dist/collection/components/tab-group/bq-tab-group.js +1 -1
  142. package/dist/collection/components/tag/bq-tag.js +3 -3
  143. package/dist/collection/components/textarea/bq-textarea.js +3 -3
  144. package/dist/collection/components/toast/bq-toast.js +1 -1
  145. package/dist/collection/components/tooltip/bq-tooltip.js +1 -1
  146. package/dist/{beeq/p-45800965.js → collection/global/scripts/global.js} +2 -2
  147. package/dist/collection/global/scripts/global.js.map +1 -0
  148. package/dist/collection/index.js +0 -3
  149. package/dist/collection/index.js.map +1 -1
  150. package/dist/components/bq-button2.js +1 -1
  151. package/dist/components/bq-button2.js.map +1 -1
  152. package/dist/components/bq-date-picker.d.ts +11 -0
  153. package/dist/components/bq-date-picker.js +333 -0
  154. package/dist/components/bq-date-picker.js.map +1 -0
  155. package/dist/components/bq-dialog.js +3 -3
  156. package/dist/components/bq-divider2.js +2 -2
  157. package/dist/components/bq-drawer.js +5 -5
  158. package/dist/components/bq-drawer.js.map +1 -1
  159. package/dist/components/bq-dropdown2.js +1 -1
  160. package/dist/components/bq-empty-state.js +4 -4
  161. package/dist/components/bq-icon2.js +1 -1
  162. package/dist/components/bq-input.js +4 -4
  163. package/dist/components/bq-notification.js +2 -2
  164. package/dist/components/bq-option-group.js +1 -1
  165. package/dist/components/bq-option-list2.js +1 -1
  166. package/dist/components/bq-option.js +4 -4
  167. package/dist/components/bq-panel2.js +1 -1
  168. package/dist/components/bq-progress.js +4 -4
  169. package/dist/components/bq-radio-group.js +1 -1
  170. package/dist/components/bq-radio.js +2 -2
  171. package/dist/components/bq-select.js +1 -1
  172. package/dist/components/bq-select.js.map +1 -1
  173. package/dist/components/bq-side-menu.js +1 -1
  174. package/dist/components/bq-slider.js +1 -1
  175. package/dist/components/bq-spinner.js +4 -4
  176. package/dist/components/bq-status.js +1 -1
  177. package/dist/components/bq-step-item.js +4 -4
  178. package/dist/components/bq-steps.js +1 -1
  179. package/dist/components/bq-switch.js +2 -2
  180. package/dist/components/bq-tab-group.js +1 -1
  181. package/dist/components/bq-tab.js +2 -2
  182. package/dist/components/bq-tag2.js +3 -3
  183. package/dist/components/bq-textarea.js +3 -3
  184. package/dist/components/bq-toast.js +1 -1
  185. package/dist/components/bq-tooltip2.js +1 -1
  186. package/dist/components/index.d.ts +2 -0
  187. package/dist/components/index.js +1110 -0
  188. package/dist/components/index.js.map +1 -1
  189. package/dist/components/index2.js +4 -4
  190. package/dist/components/index2.js.map +1 -1
  191. package/dist/esm/app-globals-059f0651.js +1120 -0
  192. package/dist/esm/app-globals-059f0651.js.map +1 -0
  193. package/dist/esm/beeq.js +5 -5
  194. package/dist/esm/beeq.js.map +1 -1
  195. package/dist/esm/bq-accordion-group.entry.js +1 -1
  196. package/dist/esm/bq-accordion.entry.js +1 -1
  197. package/dist/esm/bq-alert.entry.js +1 -1
  198. package/dist/esm/bq-avatar.entry.js +1 -1
  199. package/dist/esm/bq-badge.entry.js +1 -1
  200. package/dist/esm/bq-breadcrumb-item.entry.js +1 -1
  201. package/dist/esm/bq-breadcrumb.entry.js +1 -1
  202. package/dist/esm/bq-button_2.entry.js +302 -0
  203. package/dist/esm/bq-button_2.entry.js.map +1 -0
  204. package/dist/esm/bq-card.entry.js +1 -1
  205. package/dist/esm/bq-checkbox.entry.js +1 -1
  206. package/dist/esm/bq-date-picker.entry.js +256 -0
  207. package/dist/esm/bq-date-picker.entry.js.map +1 -0
  208. package/dist/esm/bq-dialog.entry.js +4 -4
  209. package/dist/esm/bq-divider.entry.js +3 -3
  210. package/dist/esm/bq-drawer.entry.js +6 -6
  211. package/dist/esm/bq-drawer.entry.js.map +1 -1
  212. package/dist/esm/{bq-panel.entry.js → bq-dropdown_2.entry.js} +109 -5
  213. package/dist/esm/bq-dropdown_2.entry.js.map +1 -0
  214. package/dist/esm/bq-empty-state.entry.js +5 -5
  215. package/dist/esm/bq-input.entry.js +5 -5
  216. package/dist/esm/bq-notification.entry.js +3 -3
  217. package/dist/esm/bq-option-group.entry.js +2 -2
  218. package/dist/esm/{bq-dropdown_3.entry.js → bq-option-list_2.entry.js} +7 -111
  219. package/dist/esm/bq-option-list_2.entry.js.map +1 -0
  220. package/dist/esm/bq-option.entry.js +5 -5
  221. package/dist/esm/bq-progress.entry.js +5 -5
  222. package/dist/esm/bq-radio-group.entry.js +2 -2
  223. package/dist/esm/bq-radio.entry.js +3 -3
  224. package/dist/esm/bq-select.entry.js +2 -2
  225. package/dist/esm/bq-select.entry.js.map +1 -1
  226. package/dist/esm/bq-side-menu-item.entry.js +1 -1
  227. package/dist/esm/bq-side-menu.entry.js +2 -2
  228. package/dist/esm/bq-slider.entry.js +2 -2
  229. package/dist/esm/bq-spinner.entry.js +5 -5
  230. package/dist/esm/bq-status.entry.js +2 -2
  231. package/dist/esm/bq-step-item.entry.js +5 -5
  232. package/dist/esm/bq-steps.entry.js +2 -2
  233. package/dist/esm/bq-switch.entry.js +3 -3
  234. package/dist/esm/bq-tab-group.entry.js +2 -2
  235. package/dist/esm/bq-tab.entry.js +3 -3
  236. package/dist/esm/bq-textarea.entry.js +4 -4
  237. package/dist/esm/bq-toast.entry.js +2 -2
  238. package/dist/esm/bq-tooltip.entry.js +3 -3
  239. package/dist/esm/{index-d71ec085.js → index-179da433.js} +34 -18
  240. package/dist/esm/index-179da433.js.map +1 -0
  241. package/dist/esm/{index-5aabdd11.js → index-359de4ba.js} +5 -5
  242. package/dist/esm/index-359de4ba.js.map +1 -0
  243. package/dist/esm/loader.js +4 -4
  244. package/dist/hydrate/index.js +412 -76
  245. package/dist/stencil.config.js +1 -0
  246. package/dist/stencil.config.js.map +1 -1
  247. package/dist/types/components/date-picker/bq-date-picker.d.ts +188 -0
  248. package/dist/types/components/date-picker/bq-date-picker.types.d.ts +3 -0
  249. package/dist/types/components.d.ts +269 -4
  250. package/dist/types/global/scripts/global.d.ts +13 -0
  251. package/dist/types/index.d.ts +1 -2
  252. package/dist/types/shared/test-utils/setProperties.d.ts +1 -1
  253. package/dist/types/stencil-public-runtime.d.ts +2 -8
  254. package/package.json +16 -6
  255. package/dist/beeq/p-250b8476.entry.js +0 -6
  256. package/dist/beeq/p-250b8476.entry.js.map +0 -1
  257. package/dist/beeq/p-29f90224.entry.js +0 -6
  258. package/dist/beeq/p-29f90224.entry.js.map +0 -1
  259. package/dist/beeq/p-45800965.js.map +0 -1
  260. package/dist/beeq/p-47d89d61.entry.js +0 -6
  261. package/dist/beeq/p-47d89d61.entry.js.map +0 -1
  262. package/dist/beeq/p-70d07837.entry.js +0 -6
  263. package/dist/beeq/p-70d07837.entry.js.map +0 -1
  264. package/dist/beeq/p-c6dd73ea.js.map +0 -1
  265. package/dist/beeq/p-d5c5b299.entry.js +0 -6
  266. package/dist/beeq/p-d5c5b299.entry.js.map +0 -1
  267. package/dist/beeq/p-fbd8dd21.js +0 -7
  268. package/dist/beeq/p-fbd8dd21.js.map +0 -1
  269. package/dist/cjs/app-globals-42eaedec.js +0 -11
  270. package/dist/cjs/app-globals-42eaedec.js.map +0 -1
  271. package/dist/cjs/bq-button.cjs.entry.js +0 -135
  272. package/dist/cjs/bq-button.cjs.entry.js.map +0 -1
  273. package/dist/cjs/bq-dropdown_3.cjs.entry.js.map +0 -1
  274. package/dist/cjs/bq-icon.cjs.entry.js +0 -186
  275. package/dist/cjs/bq-icon.cjs.entry.js.map +0 -1
  276. package/dist/cjs/bq-panel.cjs.entry.js.map +0 -1
  277. package/dist/cjs/index-32f757ed.js.map +0 -1
  278. package/dist/cjs/index-d55cdb65.js.map +0 -1
  279. package/dist/esm/app-globals-7655df21.js +0 -9
  280. package/dist/esm/app-globals-7655df21.js.map +0 -1
  281. package/dist/esm/bq-button.entry.js +0 -131
  282. package/dist/esm/bq-button.entry.js.map +0 -1
  283. package/dist/esm/bq-dropdown_3.entry.js.map +0 -1
  284. package/dist/esm/bq-icon.entry.js +0 -182
  285. package/dist/esm/bq-icon.entry.js.map +0 -1
  286. package/dist/esm/bq-panel.entry.js.map +0 -1
  287. package/dist/esm/index-5aabdd11.js.map +0 -1
  288. package/dist/esm/index-d71ec085.js.map +0 -1
  289. /package/dist/beeq/{p-28a9a23d.entry.js.map → p-02c15c4b.entry.js.map} +0 -0
  290. /package/dist/beeq/{p-2f7137e0.entry.js.map → p-0628de9f.entry.js.map} +0 -0
  291. /package/dist/beeq/{p-cbca544b.entry.js.map → p-1a7d3fbe.entry.js.map} +0 -0
  292. /package/dist/beeq/{p-32134085.entry.js.map → p-3c4fbdd7.entry.js.map} +0 -0
  293. /package/dist/beeq/{p-c14e94e0.entry.js.map → p-3e4c9374.entry.js.map} +0 -0
  294. /package/dist/beeq/{p-d58a7c27.entry.js.map → p-54c58ae3.entry.js.map} +0 -0
  295. /package/dist/beeq/{p-ada3ca0a.entry.js.map → p-5ca47d1e.entry.js.map} +0 -0
  296. /package/dist/beeq/{p-c893951f.entry.js.map → p-61ada51d.entry.js.map} +0 -0
  297. /package/dist/beeq/{p-6c1ddc44.entry.js.map → p-64f8af01.entry.js.map} +0 -0
  298. /package/dist/beeq/{p-354f52d1.entry.js.map → p-68aaabee.entry.js.map} +0 -0
  299. /package/dist/beeq/{p-ab632829.entry.js.map → p-741c4780.entry.js.map} +0 -0
  300. /package/dist/beeq/{p-6d5d2460.entry.js.map → p-7b5e46cb.entry.js.map} +0 -0
  301. /package/dist/beeq/{p-8593ad98.entry.js.map → p-7bf832f5.entry.js.map} +0 -0
  302. /package/dist/beeq/{p-981797b1.entry.js.map → p-7fbceff7.entry.js.map} +0 -0
  303. /package/dist/beeq/{p-1f370b12.entry.js.map → p-8cd96f23.entry.js.map} +0 -0
  304. /package/dist/beeq/{p-e2b64861.entry.js.map → p-900b24fc.entry.js.map} +0 -0
  305. /package/dist/beeq/{p-1c789890.entry.js.map → p-93e38159.entry.js.map} +0 -0
  306. /package/dist/beeq/{p-51603d69.entry.js.map → p-9d4b982c.entry.js.map} +0 -0
  307. /package/dist/beeq/{p-d27ad8a0.entry.js.map → p-bd15cc60.entry.js.map} +0 -0
  308. /package/dist/beeq/{p-852c54d8.entry.js.map → p-c09305af.entry.js.map} +0 -0
  309. /package/dist/beeq/{p-81a34a07.entry.js.map → p-c435eb9d.entry.js.map} +0 -0
  310. /package/dist/beeq/{p-de827971.entry.js.map → p-c63164ef.entry.js.map} +0 -0
  311. /package/dist/beeq/{p-a30ba2bd.entry.js.map → p-c6c2ce93.entry.js.map} +0 -0
  312. /package/dist/beeq/{p-bb8f8b78.entry.js.map → p-c98276b3.entry.js.map} +0 -0
  313. /package/dist/beeq/{p-31472c1f.entry.js.map → p-d29eef16.entry.js.map} +0 -0
  314. /package/dist/beeq/{p-0af526fc.entry.js.map → p-d5dcd933.entry.js.map} +0 -0
  315. /package/dist/beeq/{p-0b6e3137.entry.js.map → p-d969800e.entry.js.map} +0 -0
  316. /package/dist/beeq/{p-3c37a62d.entry.js.map → p-d97d4712.entry.js.map} +0 -0
  317. /package/dist/beeq/{p-d11fafe0.entry.js.map → p-dafa2581.entry.js.map} +0 -0
  318. /package/dist/beeq/{p-8b57cd5e.entry.js.map → p-e068ede6.entry.js.map} +0 -0
  319. /package/dist/beeq/{p-42c5530c.entry.js.map → p-e1162d1c.entry.js.map} +0 -0
  320. /package/dist/beeq/{p-36eb59f9.entry.js.map → p-f4b40086.entry.js.map} +0 -0
@@ -0,0 +1,1122 @@
1
+ /*!
2
+ * Built by Endavans
3
+ * © https://beeq.design - Apache 2 License.
4
+ */
5
+ 'use strict';
6
+
7
+ class te {
8
+ /**
9
+ * @type {T}
10
+ */
11
+ #t;
12
+ #e = /* @__PURE__ */ new Set();
13
+ /**
14
+ * @param {T} current
15
+ */
16
+ constructor(t) {
17
+ this.#t = t;
18
+ }
19
+ /**
20
+ * @return {T}
21
+ */
22
+ get current() {
23
+ return this.#t;
24
+ }
25
+ /**
26
+ * @param {T} value
27
+ */
28
+ set current(t) {
29
+ this.#t != t && (this.#t = t, this.#e.forEach((n) => n(t)));
30
+ }
31
+ /**
32
+ * @type {import("hooks").Ref["on"]}
33
+ */
34
+ on(t) {
35
+ return this.#e.add(t), () => this.#e.delete(t);
36
+ }
37
+ }
38
+ const At = (e) => new te(e), V = Symbol.for("atomico.hooks");
39
+ globalThis[V] = globalThis[V] || {};
40
+ let k = globalThis[V];
41
+ const ee = Symbol.for("Atomico.suspense"), Ft = Symbol.for("Atomico.effect"), ne = Symbol.for("Atomico.layoutEffect"), Rt = Symbol.for("Atomico.insertionEffect"), M = (e, t, n) => {
42
+ const { i: s, hooks: o } = k.c, r = o[s] = o[s] || {};
43
+ return r.value = e(r.value), r.effect = t, r.tag = n, k.c.i++, o[s].value;
44
+ }, se = (e) => M((t = At(e)) => t), L = () => M((e = At(k.c.host)) => e), It = () => k.c.update, oe = (e, t, n = 0) => {
45
+ let s = {}, o = !1;
46
+ const r = () => o, c = (i, f) => {
47
+ for (const d in s) {
48
+ const l = s[d];
49
+ l.effect && l.tag === i && (l.value = l.effect(l.value, f));
50
+ }
51
+ };
52
+ return { load: (i) => {
53
+ k.c = { host: t, hooks: s, update: e, i: 0, id: n };
54
+ let f;
55
+ try {
56
+ o = !1, f = i();
57
+ } catch (d) {
58
+ if (d !== ee)
59
+ throw d;
60
+ o = !0;
61
+ } finally {
62
+ k.c = null;
63
+ }
64
+ return f;
65
+ }, cleanEffects: (i) => (c(Rt, i), () => (c(ne, i), () => {
66
+ c(Ft, i);
67
+ })), isSuspense: r };
68
+ }, A = Symbol.for;
69
+ function $t(e, t) {
70
+ const n = e.length;
71
+ if (n !== t.length)
72
+ return !1;
73
+ for (let s = 0; s < n; s++) {
74
+ let o = e[s], r = t[s];
75
+ if (o !== r)
76
+ return !1;
77
+ }
78
+ return !0;
79
+ }
80
+ const C = (e) => typeof e == "function", R = (e) => typeof e == "object", { isArray: re } = Array, tt = (e, t) => (t ? e instanceof HTMLStyleElement : !0) && "hydrate" in (e?.dataset || {});
81
+ function Ut(e, t) {
82
+ let n;
83
+ const s = (o) => {
84
+ let { length: r } = o;
85
+ for (let c = 0; c < r; c++) {
86
+ const u = o[c];
87
+ if (u && Array.isArray(u))
88
+ s(u);
89
+ else {
90
+ const a = typeof u;
91
+ if (u == null || a === "function" || a === "boolean")
92
+ continue;
93
+ a === "string" || a === "number" ? (n == null && (n = ""), n += u) : (n != null && (t(n), n = null), t(u));
94
+ }
95
+ }
96
+ };
97
+ s(e), n != null && t(n);
98
+ }
99
+ const Lt = (e, t, n) => (e.addEventListener(t, n), () => e.removeEventListener(t, n));
100
+ class _t {
101
+ /**
102
+ *
103
+ * @param {HTMLElement} target
104
+ * @param {string} message
105
+ * @param {string} value
106
+ */
107
+ constructor(t, n, s) {
108
+ this.message = n, this.target = t, this.value = s;
109
+ }
110
+ }
111
+ class jt extends _t {
112
+ }
113
+ class ce extends _t {
114
+ }
115
+ const q = "Custom", ae = null, ie = { true: 1, "": 1, 1: 1 };
116
+ function le(e, t, n, s, o) {
117
+ const {
118
+ type: r,
119
+ reflect: c,
120
+ event: u,
121
+ value: a,
122
+ attr: i = ue(t)
123
+ } = n?.name != q && R(n) && n != ae ? n : { type: n }, f = r?.name === q && r.map, d = a != null ? r == Function || !C(a) ? () => a : a : null;
124
+ Object.defineProperty(e, t, {
125
+ configurable: !0,
126
+ /**
127
+ * @this {import("dom").AtomicoThisInternal}
128
+ * @param {any} newValue
129
+ */
130
+ set(l) {
131
+ const m = this[t];
132
+ d && r != Boolean && l == null && (l = d());
133
+ const { error: p, value: y } = (f ? he : me)(
134
+ r,
135
+ l
136
+ );
137
+ if (p && y != null)
138
+ throw new jt(
139
+ this,
140
+ `The value defined for prop '${t}' must be of type '${r.name}'`,
141
+ y
142
+ );
143
+ m != y && (this._props[t] = y ?? void 0, this.update(), u && Yt(this, u), this.updated.then(() => {
144
+ c && (this._ignoreAttr = i, fe(this, r, i, this[t]), this._ignoreAttr = null);
145
+ }));
146
+ },
147
+ /**
148
+ * @this {import("dom").AtomicoThisInternal}
149
+ */
150
+ get() {
151
+ return this._props[t];
152
+ }
153
+ }), d && (o[t] = d()), s[i] = { prop: t, type: r };
154
+ }
155
+ const Yt = (e, { type: t, base: n = CustomEvent, ...s }) => e.dispatchEvent(new n(t, s)), ue = (e) => e.replace(/([A-Z])/g, "-$1").toLowerCase(), fe = (e, t, n, s) => s == null || t == Boolean && !s ? e.removeAttribute(n) : e.setAttribute(
156
+ n,
157
+ t?.name === q && t?.serialize ? t?.serialize(s) : R(s) ? JSON.stringify(s) : t == Boolean ? "" : s
158
+ ), de = (e, t) => e == Boolean ? !!ie[t] : e == Number ? Number(t) : e == String ? t : e == Array || e == Object ? JSON.parse(t) : e.name == q ? t : (
159
+ // TODO: If when defining reflect the prop can also be of type string?
160
+ new e(t)
161
+ ), he = ({ map: e }, t) => {
162
+ try {
163
+ return { value: e(t), error: !1 };
164
+ } catch {
165
+ return { value: t, error: !0 };
166
+ }
167
+ }, me = (e, t) => e == null || t == null ? { value: t, error: !1 } : e != String && t === "" ? { value: void 0, error: !1 } : e == Object || e == Array || e == Symbol ? {
168
+ value: t,
169
+ error: {}.toString.call(t) !== `[object ${e.name}]`
170
+ } : t instanceof e ? {
171
+ value: t,
172
+ error: e == Number && Number.isNaN(t.valueOf())
173
+ } : e == String || e == Number || e == Boolean ? {
174
+ value: t,
175
+ error: e == Number ? typeof t != "number" ? !0 : Number.isNaN(t) : e == String ? typeof t != "string" : typeof t != "boolean"
176
+ } : { value: t, error: !0 };
177
+ let ye = 0;
178
+ const pe = (e) => {
179
+ const t = (e?.dataset || {})?.hydrate || "";
180
+ return t || "c" + ye++;
181
+ }, _ = (e, t = HTMLElement) => {
182
+ const n = {}, s = {}, o = "prototype" in t && t.prototype instanceof Element, r = o ? t : "base" in t ? t.base : HTMLElement, { props: c, styles: u } = o ? e : t;
183
+ class a extends r {
184
+ constructor() {
185
+ super(), this._setup(), this._render = () => e({ ...this._props });
186
+ for (const f in s)
187
+ this[f] = s[f];
188
+ }
189
+ /**
190
+ * @returns {import("core").Sheets[]}
191
+ */
192
+ static get styles() {
193
+ return [super.styles, u];
194
+ }
195
+ async _setup() {
196
+ if (this._props)
197
+ return;
198
+ this._props = {};
199
+ let f, d;
200
+ this.mounted = new Promise(
201
+ (E) => this.mount = () => {
202
+ E(), f != this.parentNode && (d != f ? this.unmounted.then(this.update) : this.update()), f = this.parentNode;
203
+ }
204
+ ), this.unmounted = new Promise(
205
+ (E) => this.unmount = () => {
206
+ E(), (f != this.parentNode || !this.isConnected) && (l.cleanEffects(!0)()(), d = this.parentNode, f = null);
207
+ }
208
+ ), this.symbolId = this.symbolId || Symbol(), this.symbolIdParent = Symbol();
209
+ const l = oe(
210
+ () => this.update(),
211
+ this,
212
+ pe(this)
213
+ );
214
+ let m, p = !0;
215
+ const y = tt(this);
216
+ this.update = () => (m || (m = !0, this.updated = (this.updated || this.mounted).then(() => {
217
+ try {
218
+ const E = l.load(this._render), h = l.cleanEffects();
219
+ return E && //@ts-ignore
220
+ E.render(this, this.symbolId, y), m = !1, p && !l.isSuspense() && (p = !1, !y && be(this)), h();
221
+ } finally {
222
+ m = !1;
223
+ }
224
+ }).then(
225
+ /**
226
+ * @param {import("internal/hooks.js").CleanUseEffects} [cleanUseEffect]
227
+ */
228
+ (E) => {
229
+ E && E();
230
+ }
231
+ )), this.updated), this.update();
232
+ }
233
+ connectedCallback() {
234
+ this.mount(), super.connectedCallback && super.connectedCallback();
235
+ }
236
+ disconnectedCallback() {
237
+ super.disconnectedCallback && super.disconnectedCallback(), this.unmount();
238
+ }
239
+ /**
240
+ * @this {import("dom").AtomicoThisInternal}
241
+ * @param {string} attr
242
+ * @param {(string|null)} oldValue
243
+ * @param {(string|null)} value
244
+ */
245
+ attributeChangedCallback(f, d, l) {
246
+ if (n[f]) {
247
+ if (f === this._ignoreAttr || d === l)
248
+ return;
249
+ const { prop: m, type: p } = n[f];
250
+ try {
251
+ this[m] = de(p, l);
252
+ } catch {
253
+ throw new ce(
254
+ this,
255
+ `The value defined as attr '${f}' cannot be parsed by type '${p.name}'`,
256
+ l
257
+ );
258
+ }
259
+ } else
260
+ super.attributeChangedCallback(f, d, l);
261
+ }
262
+ static get props() {
263
+ return { ...super.props, ...c };
264
+ }
265
+ static get observedAttributes() {
266
+ const f = super.observedAttributes || [];
267
+ for (const d in c)
268
+ le(this.prototype, d, c[d], n, s);
269
+ return Object.keys(n).concat(f);
270
+ }
271
+ }
272
+ return a;
273
+ };
274
+ function be(e) {
275
+ const { styles: t } = e.constructor, { shadowRoot: n } = e;
276
+ if (n && t.length) {
277
+ const s = [];
278
+ Ut(t, (o) => {
279
+ o && (o instanceof Element ? n.appendChild(o.cloneNode(!0)) : s.push(o));
280
+ }), s.length && (n.adoptedStyleSheets = s);
281
+ }
282
+ }
283
+ const qt = (e) => (t, n) => {
284
+ M(
285
+ /**
286
+ * Clean the effect hook
287
+ * @type {import("internal/hooks.js").CollectorEffect}
288
+ */
289
+ ([s, o] = []) => ((o || !o) && (o && $t(o, n) ? s = s || !0 : (C(s) && s(), s = null)), [s, n]),
290
+ /**
291
+ * @returns {any}
292
+ */
293
+ ([s, o], r) => r ? (C(s) && s(), []) : [s || t(), o],
294
+ e
295
+ );
296
+ }, ot = qt(Ft), ge = qt(Rt);
297
+ class xt extends Array {
298
+ /**
299
+ *
300
+ * @param {any} initialState
301
+ * @param {(nextState: any, state:any[], mount: boolean )=>void} mapState
302
+ */
303
+ constructor(t, n) {
304
+ let s = !0;
305
+ const o = (r) => {
306
+ try {
307
+ n(r, this, s);
308
+ } finally {
309
+ s = !1;
310
+ }
311
+ };
312
+ super(void 0, o, n), o(t);
313
+ }
314
+ /**
315
+ * The following code allows a mutable approach to useState
316
+ * and useProp this with the idea of allowing an alternative
317
+ * approach similar to Vue or Qwik of state management
318
+ * @todo pending review with the community
319
+ */
320
+ // get value() {
321
+ // return this[0];
322
+ // }
323
+ // set value(nextState) {
324
+ // this[2](nextState, this);
325
+ // }
326
+ }
327
+ const rt = (e) => {
328
+ const t = It();
329
+ return M(
330
+ (n = new xt(e, (s, o, r) => {
331
+ s = C(s) ? s(o[0]) : s, s !== o[0] && (o[0] = s, r || t());
332
+ })) => n
333
+ );
334
+ }, P = (e, t) => {
335
+ const [n] = M(([s, o, r = 0] = []) => ((!o || o && !$t(o, t)) && (s = e()), [s, t, r]));
336
+ return n;
337
+ }, ct = (e) => {
338
+ const { current: t } = L();
339
+ if (!(e in t))
340
+ throw new jt(
341
+ t,
342
+ `For useProp("${e}"), the prop does not exist on the host.`,
343
+ e
344
+ );
345
+ return M(
346
+ (n = new xt(t[e], (s, o) => {
347
+ s = C(s) ? s(t[e]) : s, t[e] = s;
348
+ })) => (n[0] = t[e], n)
349
+ );
350
+ }, T = (e, t = {}) => {
351
+ const n = L();
352
+ return n[e] || (n[e] = (s = t.detail) => Yt(n.current, {
353
+ type: e,
354
+ ...t,
355
+ detail: s
356
+ })), n[e];
357
+ }, et = A("atomico/options");
358
+ globalThis[et] = globalThis[et] || {
359
+ sheet: !!document.adoptedStyleSheets
360
+ };
361
+ const Bt = globalThis[et], Ee = {
362
+ checked: 1,
363
+ value: 1,
364
+ selected: 1
365
+ }, De = {
366
+ list: 1,
367
+ type: 1,
368
+ size: 1,
369
+ form: 1,
370
+ width: 1,
371
+ height: 1,
372
+ src: 1,
373
+ href: 1,
374
+ slot: 1
375
+ }, Se = {
376
+ shadowDom: 1,
377
+ staticNode: 1,
378
+ cloneNode: 1,
379
+ children: 1,
380
+ key: 1
381
+ }, Y = {}, nt = [];
382
+ class st extends Text {
383
+ }
384
+ const ve = A("atomico/id"), I = A("atomico/type"), Z = A("atomico/ref"), zt = A("atomico/vnode"), we = () => {
385
+ };
386
+ function Ce(e, t, n) {
387
+ return Kt(this, e, t, n);
388
+ }
389
+ const Ht = (e, t, ...n) => {
390
+ const s = t || Y;
391
+ let { children: o } = s;
392
+ if (o = o ?? (n.length ? n : nt), e === we)
393
+ return o;
394
+ const r = e ? e instanceof Node ? 1 : (
395
+ //@ts-ignore
396
+ e.prototype instanceof HTMLElement && 2
397
+ ) : 0;
398
+ if (r === !1 && e instanceof Function)
399
+ return e(
400
+ o != nt ? { children: o, ...s } : s
401
+ );
402
+ const c = Bt.render || Ce;
403
+ return {
404
+ [I]: zt,
405
+ type: e,
406
+ props: s,
407
+ children: o,
408
+ key: s.key,
409
+ // key for lists by keys
410
+ // define if the node declares its shadowDom
411
+ shadow: s.shadowDom,
412
+ // allows renderings to run only once
413
+ static: s.staticNode,
414
+ // defines whether the type is a childNode `1` or a constructor `2`
415
+ raw: r,
416
+ // defines whether to use the second parameter for document.createElement
417
+ is: s.is,
418
+ // clone the node if it comes from a reference
419
+ clone: s.cloneNode,
420
+ render: c
421
+ };
422
+ };
423
+ function Kt(e, t, n = ve, s, o) {
424
+ let r;
425
+ if (t && t[n] && t[n].vnode == e || e[I] != zt)
426
+ return t;
427
+ (e || !t) && (o = o || e.type == "svg", r = e.type != "host" && (e.raw == 1 ? (t && e.clone ? t[Z] : t) != e.type : e.raw == 2 ? !(t instanceof e.type) : t ? t[Z] || t.localName != e.type : !t), r && e.type != null && (e.raw == 1 && e.clone ? (s = !0, t = e.type.cloneNode(!0), t[Z] = e.type) : t = e.raw == 1 ? e.type : e.raw == 2 ? new e.type() : o ? document.createElementNS(
428
+ "http://www.w3.org/2000/svg",
429
+ e.type
430
+ ) : document.createElement(
431
+ e.type,
432
+ e.is ? { is: e.is } : void 0
433
+ )));
434
+ const c = t[n] ? t[n] : Y, { vnode: u = Y, cycle: a = 0 } = c;
435
+ let { fragment: i, handlers: f } = c;
436
+ const { children: d = nt, props: l = Y } = u;
437
+ if (f = r ? {} : f || {}, e.static && !r)
438
+ return t;
439
+ if (e.shadow && !t.shadowRoot && // @ts-ignore
440
+ t.attachShadow({ mode: "open", ...e.shadow }), e.props != l && Ne(t, l, e.props, f, o), e.children !== d) {
441
+ const m = e.shadow ? t.shadowRoot : t;
442
+ i = Pe(
443
+ e.children,
444
+ /**
445
+ * @todo for hydration use attribute and send childNodes
446
+ */
447
+ i,
448
+ m,
449
+ n,
450
+ // add support to foreignObject, children will escape from svg
451
+ !a && s,
452
+ o && e.type == "foreignObject" ? !1 : o
453
+ );
454
+ }
455
+ return t[n] = { vnode: e, handlers: f, fragment: i, cycle: a + 1 }, t;
456
+ }
457
+ function Te(e, t) {
458
+ const n = new st(""), s = new st("");
459
+ let o;
460
+ if (e[t ? "prepend" : "append"](n), t) {
461
+ let { lastElementChild: r } = e;
462
+ for (; r; ) {
463
+ const { previousElementSibling: c } = r;
464
+ if (tt(r, !0) && !tt(c, !0)) {
465
+ o = r;
466
+ break;
467
+ }
468
+ r = c;
469
+ }
470
+ }
471
+ return o ? o.before(s) : e.append(s), {
472
+ markStart: n,
473
+ markEnd: s
474
+ };
475
+ }
476
+ function Pe(e, t, n, s, o, r) {
477
+ e = e == null ? null : re(e) ? e : [e];
478
+ const c = t || Te(n, o), { markStart: u, markEnd: a, keyes: i } = c;
479
+ let f;
480
+ const d = i && /* @__PURE__ */ new Set();
481
+ let l = u;
482
+ if (e && Ut(e, (m) => {
483
+ if (typeof m == "object" && !m[I])
484
+ return;
485
+ const p = m[I] && m.key, y = i && p != null && i.get(p);
486
+ l != a && l === y ? d.delete(l) : l = l == a ? a : l.nextSibling;
487
+ const E = i ? y : l;
488
+ let h = E;
489
+ if (m[I])
490
+ h = Kt(m, E, s, o, r);
491
+ else {
492
+ const w = m + "";
493
+ !(h instanceof Text) || h instanceof st ? h = new Text(w) : h.data != w && (h.data = w);
494
+ }
495
+ h != l && (i && d.delete(h), !E || i ? (n.insertBefore(h, l), i && l != a && d.add(l)) : E == a ? n.insertBefore(h, a) : (n.replaceChild(h, E), l = h)), p != null && (f = f || /* @__PURE__ */ new Map(), f.set(p, h));
496
+ }), l = l == a ? a : l.nextSibling, t && l != a)
497
+ for (; l != a; ) {
498
+ const m = l;
499
+ l = l.nextSibling, m.remove();
500
+ }
501
+ return d && d.forEach((m) => m.remove()), c.keyes = f, c;
502
+ }
503
+ function Ne(e, t, n, s, o) {
504
+ for (const r in t)
505
+ !(r in n) && St(e, r, t[r], null, o, s);
506
+ for (const r in n)
507
+ St(e, r, t[r], n[r], o, s);
508
+ }
509
+ function St(e, t, n, s, o, r) {
510
+ if (t = t == "class" && !o ? "className" : t, n = n ?? null, s = s ?? null, t in e && Ee[t] && (n = e[t]), !(s === n || Se[t] || t[0] == "_"))
511
+ if (t[0] == "o" && t[1] == "n" && (C(s) || C(n)))
512
+ ke(e, t.slice(2), s, r);
513
+ else if (t == "ref")
514
+ s && (C(s) ? s(e) : s.current = e);
515
+ else if (t == "style") {
516
+ const { style: c } = e;
517
+ n = n || "", s = s || "";
518
+ const u = R(n), a = R(s);
519
+ if (u)
520
+ for (const i in n)
521
+ if (a)
522
+ !(i in s) && vt(c, i, null);
523
+ else
524
+ break;
525
+ if (a)
526
+ for (const i in s) {
527
+ const f = s[i];
528
+ u && n[i] === f || vt(c, i, f);
529
+ }
530
+ else
531
+ c.cssText = s;
532
+ } else {
533
+ const c = t[0] == "$" ? t.slice(1) : t;
534
+ c === t && (!o && !De[t] && t in e || C(s) || C(n)) ? e[t] = s ?? "" : s == null ? e.removeAttribute(c) : e.setAttribute(
535
+ c,
536
+ R(s) ? JSON.stringify(s) : s
537
+ );
538
+ }
539
+ }
540
+ function ke(e, t, n, s) {
541
+ if (s.handleEvent || (s.handleEvent = (o) => s[o.type].call(e, o)), n) {
542
+ if (!s[t]) {
543
+ const o = n.capture || n.once || n.passive ? Object.assign({}, n) : null;
544
+ e.addEventListener(t, s, o);
545
+ }
546
+ s[t] = n;
547
+ } else
548
+ s[t] && (e.removeEventListener(t, s), delete s[t]);
549
+ }
550
+ function vt(e, t, n) {
551
+ let s = "setProperty";
552
+ n == null && (s = "removeProperty", n = null), ~t.indexOf("-") ? e[s](t, n) : e[t] = n;
553
+ }
554
+ const wt = {};
555
+ function B(e, ...t) {
556
+ const n = (e.raw || e).reduce(
557
+ (s, o, r) => s + o + (t[r] || ""),
558
+ ""
559
+ );
560
+ return wt[n] = wt[n] || Oe(n);
561
+ }
562
+ function Oe(e) {
563
+ if (Bt.sheet) {
564
+ const t = new CSSStyleSheet();
565
+ return t.replaceSync(e), t;
566
+ } else {
567
+ const t = document.createElement("style");
568
+ return t.textContent = e, t;
569
+ }
570
+ }
571
+ const Me = Ht("host", { style: "display: contents" }), W = A("atomico/context"), Ae = (e, t) => {
572
+ const n = L();
573
+ ge(
574
+ () => Lt(
575
+ n.current,
576
+ "ConnectContext",
577
+ /**
578
+ * @param {CustomEvent<import("context").DetailConnectContext>} event
579
+ */
580
+ (s) => {
581
+ e === s.detail.id && (s.stopPropagation(), s.detail.connect(t));
582
+ }
583
+ ),
584
+ [e]
585
+ );
586
+ }, Fe = (e) => {
587
+ const t = T("ConnectContext", {
588
+ bubbles: !0,
589
+ composed: !0
590
+ }), n = () => {
591
+ let r;
592
+ return t({
593
+ id: e,
594
+ connect(c) {
595
+ r = c;
596
+ }
597
+ }), r;
598
+ }, [s, o] = rt(
599
+ n
600
+ );
601
+ return ot(() => {
602
+ s || (e[W] || (e[W] = customElements.whenDefined(
603
+ new e().localName
604
+ )), e[W].then(
605
+ () => o(n)
606
+ ));
607
+ }, [e]), s;
608
+ }, Re = (e) => {
609
+ const t = Fe(e), n = It();
610
+ return ot(() => {
611
+ if (t)
612
+ return Lt(t, "UpdatedValue", n);
613
+ }, [t]), (t || e).value;
614
+ }, Ie = (e) => {
615
+ const t = _(
616
+ () => (Ae(t, L().current), Me),
617
+ {
618
+ props: {
619
+ value: {
620
+ type: Object,
621
+ event: { type: "UpdatedValue" },
622
+ value: () => e
623
+ }
624
+ }
625
+ }
626
+ );
627
+ return t.value = e, t;
628
+ }, b = (e, t, n) => (t == null ? t = { key: n } : t.key = n, Ht(e, t)), $ = b, Jt = B`*,*:before,*:after{box-sizing:border-box}button{padding:0;touch-action:manipulation;cursor:pointer;user-select:none}`, Zt = B`.vh{position:absolute;transform:scale(0)}`;
629
+ function at() {
630
+ return D.from(/* @__PURE__ */ new Date());
631
+ }
632
+ function it(e, t = 0) {
633
+ const n = v(e), s = n.getUTCDay(), o = (s < t ? 7 : 0) + s - t;
634
+ return n.setUTCDate(n.getUTCDate() - o), D.from(n);
635
+ }
636
+ function Wt(e, t = 0) {
637
+ return it(e, t).add({ days: 6 });
638
+ }
639
+ function Xt(e) {
640
+ return D.from(new Date(Date.UTC(e.year, e.month, 0)));
641
+ }
642
+ function z(e, t, n) {
643
+ return t && D.compare(e, t) < 0 ? t : n && D.compare(e, n) > 0 ? n : e;
644
+ }
645
+ const $e = { days: 1 };
646
+ function Ue(e, t = 0) {
647
+ let n = it(e.toPlainDate(), t);
648
+ const s = Wt(Xt(e), t), o = [];
649
+ for (; D.compare(n, s) < 0; ) {
650
+ const r = [];
651
+ for (let c = 0; c < 7; c++)
652
+ r.push(n), n = n.add($e);
653
+ o.push(r);
654
+ }
655
+ return o;
656
+ }
657
+ function v(e) {
658
+ return new Date(Date.UTC(e.year, e.month - 1, e.day ?? 1));
659
+ }
660
+ const Le = /^(\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[0-1])$/, X = (e, t) => e.toString().padStart(t, "0");
661
+ class D {
662
+ constructor(t, n, s) {
663
+ this.year = t, this.month = n, this.day = s;
664
+ }
665
+ // this is an incomplete implementation that only handles arithmetic on a single unit at a time.
666
+ // i didn't want to get into more complex arithmetic since it get tricky fast
667
+ // this is enough to serve my needs and will still be a drop-in replacement when actual Temporal API lands
668
+ add(t) {
669
+ const n = v(this);
670
+ if ("days" in t)
671
+ return n.setUTCDate(this.day + t.days), D.from(n);
672
+ let { year: s, month: o } = this;
673
+ "months" in t ? (o = this.month + t.months, n.setUTCMonth(o - 1)) : (s = this.year + t.years, n.setUTCFullYear(s));
674
+ const r = D.from(v({ year: s, month: o, day: 1 }));
675
+ return z(D.from(n), r, Xt(r));
676
+ }
677
+ toString() {
678
+ return `${X(this.year, 4)}-${X(this.month, 2)}-${X(this.day, 2)}`;
679
+ }
680
+ toPlainYearMonth() {
681
+ return new H(this.year, this.month);
682
+ }
683
+ equals(t) {
684
+ return D.compare(this, t) === 0;
685
+ }
686
+ static compare(t, n) {
687
+ return t.year < n.year ? -1 : t.year > n.year ? 1 : t.month < n.month ? -1 : t.month > n.month ? 1 : t.day < n.day ? -1 : t.day > n.day ? 1 : 0;
688
+ }
689
+ static from(t) {
690
+ if (typeof t == "string") {
691
+ const n = t.match(Le);
692
+ if (!n)
693
+ throw new TypeError(t);
694
+ const [, s, o, r] = n;
695
+ return new D(
696
+ parseInt(s, 10),
697
+ parseInt(o, 10),
698
+ parseInt(r, 10)
699
+ );
700
+ }
701
+ return new D(
702
+ t.getUTCFullYear(),
703
+ t.getUTCMonth() + 1,
704
+ t.getUTCDate()
705
+ );
706
+ }
707
+ }
708
+ class H {
709
+ constructor(t, n) {
710
+ this.year = t, this.month = n;
711
+ }
712
+ add(t) {
713
+ const n = v(this), s = (t.months ?? 0) + (t.years ?? 0) * 12;
714
+ return n.setUTCMonth(n.getUTCMonth() + s), new H(n.getUTCFullYear(), n.getUTCMonth() + 1);
715
+ }
716
+ equals(t) {
717
+ return this.year === t.year && this.month === t.month;
718
+ }
719
+ toPlainDate() {
720
+ return new D(this.year, this.month, 1);
721
+ }
722
+ }
723
+ function x(e, t) {
724
+ if (t)
725
+ try {
726
+ return e.from(t);
727
+ } catch {
728
+ }
729
+ }
730
+ function O(e) {
731
+ const [t, n] = ct(e);
732
+ return [P(() => x(D, t), [t]), (r) => n(r.toString())];
733
+ }
734
+ function _e(e) {
735
+ const [t = "", n] = ct(e);
736
+ return [P(() => {
737
+ const [r, c] = t.split("/"), u = x(D, r), a = x(D, c);
738
+ return u && a ? [u, a] : [];
739
+ }, [t]), (r) => n(`${r[0]}/${r[1]}`)];
740
+ }
741
+ function je(e) {
742
+ const [t = "", n] = ct(e);
743
+ return [P(() => {
744
+ const r = [];
745
+ for (const c of t.trim().split(/\s+/)) {
746
+ const u = x(D, c);
747
+ u && r.push(u);
748
+ }
749
+ return r;
750
+ }, [t]), (r) => n(r.join(" "))];
751
+ }
752
+ function U(e, t) {
753
+ return P(
754
+ () => new Intl.DateTimeFormat(t, { timeZone: "UTC", ...e }),
755
+ [t, e]
756
+ );
757
+ }
758
+ function Ct(e, t, n) {
759
+ const s = U(e, n);
760
+ return P(() => {
761
+ const o = [], r = /* @__PURE__ */ new Date();
762
+ for (var c = 0; c < 7; c++) {
763
+ const u = (r.getDay() - t + 7) % 7;
764
+ o[u] = s.format(r), r.setDate(r.getDate() + 1);
765
+ }
766
+ return o;
767
+ }, [t, s]);
768
+ }
769
+ const Tt = (e, t, n) => z(e, t, n) === e, Pt = (e) => e.target.matches(":dir(ltr)"), Ye = { month: "long", day: "numeric" }, qe = { month: "long" }, xe = { weekday: "narrow" }, Be = { weekday: "long" }, G = { bubbles: !0 };
770
+ function ze({ props: e, context: t }) {
771
+ const { offset: n } = e, {
772
+ firstDayOfWeek: s,
773
+ isDateDisallowed: o,
774
+ min: r,
775
+ max: c,
776
+ page: u,
777
+ locale: a,
778
+ focusedDate: i
779
+ } = t, f = at(), d = Ct(Be, s, a), l = Ct(xe, s, a), m = U(Ye, a), p = U(qe, a), y = P(
780
+ () => u.start.add({ months: n }),
781
+ [u, n]
782
+ ), E = P(
783
+ () => Ue(y, s),
784
+ [y, s]
785
+ ), h = T("focusday", G), w = T("selectday", G), K = T("hoverday", G);
786
+ function mt(g) {
787
+ h(z(g, r, c));
788
+ }
789
+ function Gt(g) {
790
+ let S;
791
+ switch (g.key) {
792
+ case "ArrowRight":
793
+ S = i.add({ days: Pt(g) ? 1 : -1 });
794
+ break;
795
+ case "ArrowLeft":
796
+ S = i.add({ days: Pt(g) ? -1 : 1 });
797
+ break;
798
+ case "ArrowDown":
799
+ S = i.add({ days: 7 });
800
+ break;
801
+ case "ArrowUp":
802
+ S = i.add({ days: -7 });
803
+ break;
804
+ case "PageUp":
805
+ S = i.add(g.shiftKey ? { years: -1 } : { months: -1 });
806
+ break;
807
+ case "PageDown":
808
+ S = i.add(g.shiftKey ? { years: 1 } : { months: 1 });
809
+ break;
810
+ case "Home":
811
+ S = it(i, s);
812
+ break;
813
+ case "End":
814
+ S = Wt(i, s);
815
+ break;
816
+ default:
817
+ return;
818
+ }
819
+ mt(S), g.preventDefault();
820
+ }
821
+ function Qt(g) {
822
+ const S = y.equals(g);
823
+ if (!t.showOutsideDays && !S)
824
+ return;
825
+ const Vt = g.equals(i), yt = g.equals(f), pt = v(g), j = o?.(pt), bt = !Tt(g, r, c);
826
+ let gt = "", N;
827
+ if (t.type === "range") {
828
+ const [F, J] = t.value, Et = F?.equals(g), Dt = J?.equals(g);
829
+ N = F && J && Tt(g, F, J), gt = `${Et ? "range-start" : ""} ${Dt ? "range-end" : ""} ${N && !Et && !Dt ? "range-inner" : ""}`;
830
+ } else
831
+ t.type === "multi" ? N = t.value.some((F) => F.equals(g)) : N = t.value?.equals(g);
832
+ return {
833
+ part: `${`button day ${// we don't want outside days to ever be shown as selected
834
+ S ? N ? "selected" : "" : "outside"} ${j ? "disallowed" : ""} ${yt ? "today" : ""}`} ${gt}`,
835
+ tabindex: S && Vt ? 0 : -1,
836
+ disabled: bt,
837
+ "aria-disabled": j ? "true" : void 0,
838
+ "aria-pressed": S && N,
839
+ "aria-current": yt ? "date" : void 0,
840
+ "aria-label": m.format(pt),
841
+ onkeydown: Gt,
842
+ onclick() {
843
+ j || w(g), mt(g);
844
+ },
845
+ onmouseover() {
846
+ !j && !bt && K(g);
847
+ }
848
+ };
849
+ }
850
+ return {
851
+ weeks: E,
852
+ yearMonth: y,
853
+ daysLong: d,
854
+ daysShort: l,
855
+ formatter: p,
856
+ getDayProps: Qt
857
+ };
858
+ }
859
+ const Q = at(), lt = Ie({
860
+ type: "date",
861
+ firstDayOfWeek: 1,
862
+ isDateDisallowed: () => !1,
863
+ focusedDate: Q,
864
+ page: { start: Q.toPlainYearMonth(), end: Q.toPlainYearMonth() }
865
+ });
866
+ customElements.define("calendar-month-ctx", lt);
867
+ const He = _(
868
+ (e) => {
869
+ const t = Re(lt), n = se(), s = ze({ props: e, context: t });
870
+ function o() {
871
+ n.current.querySelector("button[tabindex='0']")?.focus();
872
+ }
873
+ return /* @__PURE__ */ $("host", { shadowDom: !0, focus: o, children: [
874
+ /* @__PURE__ */ b("div", { id: "h", part: "heading", children: s.formatter.format(v(s.yearMonth)) }),
875
+ /* @__PURE__ */ $("table", { ref: n, "aria-labelledby": "h", part: "table", children: [
876
+ /* @__PURE__ */ b("thead", { children: /* @__PURE__ */ b("tr", { part: "tr head", children: s.daysLong.map((r, c) => /* @__PURE__ */ $("th", { part: "th", scope: "col", children: [
877
+ /* @__PURE__ */ b("span", { class: "vh", children: r }),
878
+ /* @__PURE__ */ b("span", { "aria-hidden": "true", children: s.daysShort[c] })
879
+ ] })) }) }),
880
+ /* @__PURE__ */ b("tbody", { children: s.weeks.map((r, c) => /* @__PURE__ */ b("tr", { part: "tr week", children: r.map((u, a) => {
881
+ const i = s.getDayProps(u);
882
+ return /* @__PURE__ */ b("td", { part: "td", children: i && /* @__PURE__ */ b("button", { ...i, children: u.day }) }, a);
883
+ }) }, c)) })
884
+ ] })
885
+ ] });
886
+ },
887
+ {
888
+ props: {
889
+ offset: {
890
+ type: Number,
891
+ value: 0
892
+ }
893
+ },
894
+ styles: [
895
+ Jt,
896
+ Zt,
897
+ B`: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}`
898
+ ]
899
+ }
900
+ );
901
+ customElements.define("calendar-month", He);
902
+ function Nt(e) {
903
+ return /* @__PURE__ */ b(
904
+ "button",
905
+ {
906
+ part: `button ${e.name} ${e.onclick ? "" : "disabled"}`,
907
+ onclick: e.onclick,
908
+ "aria-disabled": e.onclick ? null : "true",
909
+ children: /* @__PURE__ */ b("slot", { name: e.name, children: e.children })
910
+ }
911
+ );
912
+ }
913
+ function ut(e) {
914
+ const t = v(e.page.start), n = v(e.page.end);
915
+ return /* @__PURE__ */ $("div", { role: "group", "aria-labelledby": "h", part: "container", children: [
916
+ /* @__PURE__ */ b("div", { id: "h", class: "vh", "aria-live": "polite", "aria-atomic": "true", children: e.formatVerbose.formatRange(t, n) }),
917
+ /* @__PURE__ */ $("div", { part: "header", children: [
918
+ /* @__PURE__ */ b(Nt, { name: "previous", onclick: e.previous, children: "Previous" }),
919
+ /* @__PURE__ */ b("slot", { part: "heading", name: "heading", children: /* @__PURE__ */ b("div", { "aria-hidden": "true", children: e.format.formatRange(t, n) }) }),
920
+ /* @__PURE__ */ b(Nt, { name: "next", onclick: e.next, children: "Next" })
921
+ ] }),
922
+ /* @__PURE__ */ b(
923
+ lt,
924
+ {
925
+ value: e,
926
+ onselectday: e.onSelect,
927
+ onfocusday: e.onFocus,
928
+ onhoverday: e.onHover,
929
+ children: /* @__PURE__ */ b("slot", {})
930
+ }
931
+ )
932
+ ] });
933
+ }
934
+ const ft = {
935
+ value: {
936
+ type: String,
937
+ value: ""
938
+ },
939
+ min: {
940
+ type: String,
941
+ value: ""
942
+ },
943
+ max: {
944
+ type: String,
945
+ value: ""
946
+ },
947
+ isDateDisallowed: {
948
+ type: Function,
949
+ value: (e) => !1
950
+ },
951
+ firstDayOfWeek: {
952
+ type: Number,
953
+ value: () => 1
954
+ },
955
+ showOutsideDays: {
956
+ type: Boolean,
957
+ value: !1
958
+ },
959
+ locale: {
960
+ type: String,
961
+ value: () => {
962
+ }
963
+ },
964
+ months: {
965
+ type: Number,
966
+ value: 1
967
+ },
968
+ focusedDate: {
969
+ type: String,
970
+ value: () => {
971
+ }
972
+ }
973
+ }, dt = [
974
+ Jt,
975
+ Zt,
976
+ B`: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}`
977
+ ], Ke = { year: "numeric" }, Je = { year: "numeric", month: "long" };
978
+ function kt(e, t) {
979
+ return (t.year - e.year) * 12 + t.month - e.month;
980
+ }
981
+ const Ot = (e, t) => (e = t === 12 ? new H(e.year, 1) : e, {
982
+ start: e,
983
+ end: e.add({ months: t - 1 })
984
+ });
985
+ function ht({
986
+ months: e,
987
+ locale: t,
988
+ focusedDate: n,
989
+ setFocusedDate: s
990
+ }) {
991
+ const [o] = O("min"), [r] = O("max"), c = T("focusday"), u = T("change"), a = P(
992
+ () => z(n ?? at(), o, r),
993
+ [n, o, r]
994
+ ), [i, f] = rt(
995
+ () => Ot(a.toPlainYearMonth(), e)
996
+ ), d = (h) => {
997
+ const w = kt(i.start, h.toPlainYearMonth());
998
+ return w >= 0 && w < e;
999
+ };
1000
+ ot(() => {
1001
+ let h = i.start;
1002
+ if (!d(a)) {
1003
+ const w = kt(h, a.toPlainYearMonth()), K = Math.floor(w / e);
1004
+ h = h.add({ months: K * e });
1005
+ }
1006
+ f(Ot(h, e));
1007
+ }, [a, e]);
1008
+ const l = L();
1009
+ function m() {
1010
+ l.current.querySelectorAll("calendar-month").forEach((h) => h.focus());
1011
+ }
1012
+ function p(h) {
1013
+ s(h), c(v(h));
1014
+ }
1015
+ const y = U(Ke, t), E = U(Je, t);
1016
+ return {
1017
+ format: y,
1018
+ formatVerbose: E,
1019
+ page: i,
1020
+ focusedDate: a,
1021
+ dispatch: u,
1022
+ onFocus(h) {
1023
+ h.stopPropagation(), p(h.detail), setTimeout(m);
1024
+ },
1025
+ min: o,
1026
+ max: r,
1027
+ next: r == null || !d(r) ? () => p(a.add({ months: e })) : void 0,
1028
+ previous: o == null || !d(o) ? () => p(a.add({ months: -e })) : void 0,
1029
+ focus: m
1030
+ };
1031
+ }
1032
+ const Ze = _(
1033
+ (e) => {
1034
+ const [t, n] = O("value"), [s = t, o] = O("focusedDate"), r = ht({
1035
+ ...e,
1036
+ focusedDate: s,
1037
+ setFocusedDate: o
1038
+ });
1039
+ function c(u) {
1040
+ n(u.detail), r.dispatch();
1041
+ }
1042
+ return /* @__PURE__ */ b("host", { shadowDom: !0, focus: r.focus, children: /* @__PURE__ */ b(
1043
+ ut,
1044
+ {
1045
+ ...e,
1046
+ ...r,
1047
+ type: "date",
1048
+ value: t,
1049
+ onSelect: c
1050
+ }
1051
+ ) });
1052
+ },
1053
+ { props: ft, styles: dt }
1054
+ );
1055
+ customElements.define("calendar-date", Ze);
1056
+ const Mt = (e, t) => D.compare(e, t) < 0 ? [e, t] : [t, e], We = _(
1057
+ (e) => {
1058
+ const [t, n] = _e("value"), [s = t[0], o] = O("focusedDate"), r = ht({
1059
+ ...e,
1060
+ focusedDate: s,
1061
+ setFocusedDate: o
1062
+ }), c = T("rangestart"), u = T("rangeend"), [a, i] = rt();
1063
+ function f(p) {
1064
+ r.onFocus(p), d(p);
1065
+ }
1066
+ function d(p) {
1067
+ p.stopPropagation(), i((y) => y && { ...y, b: p.detail });
1068
+ }
1069
+ function l(p) {
1070
+ const y = p.detail;
1071
+ p.stopPropagation(), a ? (n(Mt(a.a, y)), i(void 0), u(v(y)), r.dispatch()) : (i({ a: y, b: y }), c(v(y)));
1072
+ }
1073
+ const m = a ? Mt(a.a, a.b) : t;
1074
+ return /* @__PURE__ */ b("host", { shadowDom: !0, focus: r.focus, children: /* @__PURE__ */ b(
1075
+ ut,
1076
+ {
1077
+ ...e,
1078
+ ...r,
1079
+ type: "range",
1080
+ value: m,
1081
+ onFocus: f,
1082
+ onHover: d,
1083
+ onSelect: l
1084
+ }
1085
+ ) });
1086
+ },
1087
+ { props: ft, styles: dt }
1088
+ );
1089
+ customElements.define("calendar-range", We);
1090
+ const Xe = _(
1091
+ (e) => {
1092
+ const [t, n] = je("value"), [s = t[0], o] = O("focusedDate"), r = ht({
1093
+ ...e,
1094
+ focusedDate: s,
1095
+ setFocusedDate: o
1096
+ });
1097
+ function c(u) {
1098
+ const a = [...t], i = t.findIndex((f) => f.equals(u.detail));
1099
+ i < 0 ? a.push(u.detail) : a.splice(i, 1), n(a), r.dispatch();
1100
+ }
1101
+ return /* @__PURE__ */ b("host", { shadowDom: !0, focus: r.focus, children: /* @__PURE__ */ b(
1102
+ ut,
1103
+ {
1104
+ ...e,
1105
+ ...r,
1106
+ type: "multi",
1107
+ value: t,
1108
+ onSelect: c
1109
+ }
1110
+ ) });
1111
+ },
1112
+ { props: ft, styles: dt }
1113
+ );
1114
+ customElements.define("calendar-multi", Xe);
1115
+
1116
+ const globalFn = () => { };
1117
+
1118
+ const globalScripts = globalFn;
1119
+
1120
+ exports.globalScripts = globalScripts;
1121
+
1122
+ //# sourceMappingURL=app-globals-eca46908.js.map