@beeq/core 1.8.3-beta.1 → 1.8.4-beta.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 (420) 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/index.esm.js +1 -1
  4. package/dist/beeq/{p-959c3d05.entry.js → p-01b3d2a5.entry.js} +2 -2
  5. package/dist/beeq/p-01b3d2a5.entry.js.map +1 -0
  6. package/dist/beeq/{p-e655938a.entry.js → p-0ac37ff8.entry.js} +2 -2
  7. package/dist/beeq/{p-803269b3.entry.js → p-1a8f376a.entry.js} +2 -2
  8. package/dist/beeq/{p-a941b0bb.entry.js → p-22188233.entry.js} +2 -2
  9. package/dist/beeq/p-22188233.entry.js.map +1 -0
  10. package/dist/beeq/{p-3806d9e3.entry.js → p-24135e46.entry.js} +2 -2
  11. package/dist/beeq/{p-90165aef.entry.js → p-260877e5.entry.js} +2 -2
  12. package/dist/beeq/{p-90165aef.entry.js.map → p-260877e5.entry.js.map} +1 -1
  13. package/dist/beeq/{p-d7ce7165.js → p-260d4ca0.js} +2 -2
  14. package/dist/beeq/{p-d7ce7165.js.map → p-260d4ca0.js.map} +1 -1
  15. package/dist/beeq/{p-dafa4162.entry.js → p-28adda86.entry.js} +2 -2
  16. package/dist/beeq/{p-dafa4162.entry.js.map → p-28adda86.entry.js.map} +1 -1
  17. package/dist/beeq/{p-e4dd6ff4.js → p-2b530ad4.js} +2 -2
  18. package/dist/beeq/{p-cb9fa154.entry.js → p-2f9fc4d4.entry.js} +2 -2
  19. package/dist/beeq/p-2f9fc4d4.entry.js.map +1 -0
  20. package/dist/beeq/{p-b067c558.entry.js → p-34f25f24.entry.js} +2 -2
  21. package/dist/beeq/p-34f25f24.entry.js.map +1 -0
  22. package/dist/beeq/{p-c42f9ac5.entry.js → p-38ee4c02.entry.js} +2 -2
  23. package/dist/beeq/{p-b7b3f7c6.entry.js → p-3f5865c0.entry.js} +2 -2
  24. package/dist/beeq/{p-9a7af424.entry.js → p-45bfda93.entry.js} +2 -2
  25. package/dist/beeq/p-4a5c07f9.js +7 -0
  26. package/dist/beeq/p-4a5c07f9.js.map +1 -0
  27. package/dist/beeq/{p-a4e11bbc.entry.js → p-4ddb6bdb.entry.js} +2 -2
  28. package/dist/beeq/p-4ddb6bdb.entry.js.map +1 -0
  29. package/dist/beeq/{p-19f5a833.entry.js → p-6195e6e5.entry.js} +2 -2
  30. package/dist/beeq/p-6195e6e5.entry.js.map +1 -0
  31. package/dist/beeq/{p-a8075be3.entry.js → p-63b4f8f9.entry.js} +2 -2
  32. package/dist/beeq/{p-4d21a49d.entry.js → p-648da701.entry.js} +2 -2
  33. package/dist/beeq/{p-3fe626f1.entry.js → p-6764f11f.entry.js} +2 -2
  34. package/dist/beeq/p-6764f11f.entry.js.map +1 -0
  35. package/dist/beeq/{p-b69f347d.entry.js → p-7478cf0a.entry.js} +2 -2
  36. package/dist/beeq/p-7478cf0a.entry.js.map +1 -0
  37. package/dist/beeq/{p-a8d64d1b.entry.js → p-7bb8664c.entry.js} +2 -2
  38. package/dist/beeq/{p-7585f825.entry.js → p-7ff775a3.entry.js} +2 -2
  39. package/dist/beeq/{p-5546f242.entry.js → p-801f7b25.entry.js} +2 -2
  40. package/dist/beeq/p-852225bc.js +6 -0
  41. package/dist/beeq/{p-ba1f9637.entry.js → p-8b63d8fc.entry.js} +2 -2
  42. package/dist/beeq/p-8b63d8fc.entry.js.map +1 -0
  43. package/dist/beeq/{p-e8f147c2.entry.js → p-8c011151.entry.js} +2 -2
  44. package/dist/beeq/p-8c011151.entry.js.map +1 -0
  45. package/dist/beeq/{p-70310ac8.entry.js → p-8d9f797d.entry.js} +2 -2
  46. package/dist/beeq/p-8d9f797d.entry.js.map +1 -0
  47. package/dist/beeq/{p-7efff703.entry.js → p-9a803ecf.entry.js} +2 -2
  48. package/dist/beeq/{p-b129db1a.entry.js → p-9eea4f4f.entry.js} +2 -2
  49. package/dist/beeq/{p-ed569a61.entry.js → p-a3c36d6c.entry.js} +2 -2
  50. package/dist/beeq/{p-bbaad491.entry.js → p-a620392e.entry.js} +2 -2
  51. package/dist/beeq/{p-66b6d69a.entry.js → p-a661454e.entry.js} +2 -2
  52. package/dist/beeq/{p-4500ffe5.entry.js → p-a7c4f022.entry.js} +2 -2
  53. package/dist/beeq/p-abda6f6c.entry.js +6 -0
  54. package/dist/beeq/p-abda6f6c.entry.js.map +1 -0
  55. package/dist/beeq/{p-65d67b85.entry.js → p-abf83b5c.entry.js} +2 -2
  56. package/dist/beeq/p-abf83b5c.entry.js.map +1 -0
  57. package/dist/beeq/{p-39a80765.entry.js → p-b044c5f6.entry.js} +2 -2
  58. package/dist/beeq/p-b044c5f6.entry.js.map +1 -0
  59. package/dist/beeq/{p-3f654a12.entry.js → p-b1ab6b7f.entry.js} +2 -2
  60. package/dist/beeq/{p-dbac0368.entry.js → p-b89dcf37.entry.js} +2 -2
  61. package/dist/beeq/p-b89dcf37.entry.js.map +1 -0
  62. package/dist/beeq/{p-f4e8ebd3.entry.js → p-ba8b92f1.entry.js} +2 -2
  63. package/dist/beeq/{p-8ed41b69.entry.js → p-bc1980d8.entry.js} +2 -2
  64. package/dist/beeq/{p-59a1b546.entry.js → p-c63ee3df.entry.js} +2 -2
  65. package/dist/beeq/p-c63ee3df.entry.js.map +1 -0
  66. package/dist/beeq/{p-ee1ecb6e.entry.js → p-f48c3ca7.entry.js} +2 -2
  67. package/dist/beeq.html-custom-data.json +311 -311
  68. package/dist/cjs/{assetsPath-32c4030b.js → assetsPath-95e7f5ab.js} +2 -2
  69. package/dist/cjs/{assetsPath-32c4030b.js.map → assetsPath-95e7f5ab.js.map} +1 -1
  70. package/dist/cjs/beeq.cjs.js +3 -3
  71. package/dist/cjs/beeq.cjs.js.map +1 -1
  72. package/dist/cjs/bq-accordion-group.cjs.entry.js +1 -1
  73. package/dist/cjs/bq-accordion.cjs.entry.js +7 -8
  74. package/dist/cjs/bq-accordion.cjs.entry.js.map +1 -1
  75. package/dist/cjs/bq-alert.cjs.entry.js +9 -10
  76. package/dist/cjs/bq-alert.cjs.entry.js.map +1 -1
  77. package/dist/cjs/bq-avatar.cjs.entry.js +1 -1
  78. package/dist/cjs/bq-badge.cjs.entry.js +8 -5
  79. package/dist/cjs/bq-badge.cjs.entry.js.map +1 -1
  80. package/dist/cjs/bq-breadcrumb-item.cjs.entry.js +2 -2
  81. package/dist/cjs/bq-breadcrumb.cjs.entry.js +5 -2
  82. package/dist/cjs/bq-breadcrumb.cjs.entry.js.map +1 -1
  83. package/dist/cjs/bq-button_2.cjs.entry.js +9 -6
  84. package/dist/cjs/bq-button_2.cjs.entry.js.map +1 -1
  85. package/dist/cjs/bq-card.cjs.entry.js +1 -1
  86. package/dist/cjs/bq-checkbox.cjs.entry.js +1 -1
  87. package/dist/cjs/bq-date-picker.cjs.entry.js +97 -17
  88. package/dist/cjs/bq-date-picker.cjs.entry.js.map +1 -1
  89. package/dist/cjs/bq-dialog.cjs.entry.js +8 -9
  90. package/dist/cjs/bq-dialog.cjs.entry.js.map +1 -1
  91. package/dist/cjs/bq-divider.cjs.entry.js +2 -2
  92. package/dist/cjs/bq-drawer.cjs.entry.js +10 -7
  93. package/dist/cjs/bq-drawer.cjs.entry.js.map +1 -1
  94. package/dist/cjs/bq-dropdown_2.cjs.entry.js +1 -1
  95. package/dist/cjs/bq-empty-state.cjs.entry.js +10 -9
  96. package/dist/cjs/bq-empty-state.cjs.entry.js.map +1 -1
  97. package/dist/cjs/bq-input.cjs.entry.js +11 -14
  98. package/dist/cjs/bq-input.cjs.entry.js.map +1 -1
  99. package/dist/cjs/bq-notification.cjs.entry.js +8 -7
  100. package/dist/cjs/bq-notification.cjs.entry.js.map +1 -1
  101. package/dist/cjs/bq-option-group.cjs.entry.js +1 -1
  102. package/dist/cjs/bq-option-list_2.cjs.entry.js +8 -5
  103. package/dist/cjs/bq-option-list_2.cjs.entry.js.map +1 -1
  104. package/dist/cjs/bq-option.cjs.entry.js +10 -9
  105. package/dist/cjs/bq-option.cjs.entry.js.map +1 -1
  106. package/dist/cjs/bq-page-title.cjs.entry.js +7 -4
  107. package/dist/cjs/bq-page-title.cjs.entry.js.map +1 -1
  108. package/dist/cjs/bq-progress.cjs.entry.js +1 -1
  109. package/dist/cjs/bq-radio-group.cjs.entry.js +1 -1
  110. package/dist/cjs/bq-radio.cjs.entry.js +1 -1
  111. package/dist/cjs/bq-select.cjs.entry.js +10 -15
  112. package/dist/cjs/bq-select.cjs.entry.js.map +1 -1
  113. package/dist/cjs/bq-side-menu-item.cjs.entry.js +2 -2
  114. package/dist/cjs/bq-side-menu.cjs.entry.js +1 -1
  115. package/dist/cjs/bq-slider.cjs.entry.js +1 -1
  116. package/dist/cjs/bq-spinner.cjs.entry.js +8 -6
  117. package/dist/cjs/bq-spinner.cjs.entry.js.map +1 -1
  118. package/dist/cjs/bq-status.cjs.entry.js +1 -1
  119. package/dist/cjs/bq-step-item.cjs.entry.js +1 -1
  120. package/dist/cjs/bq-steps.cjs.entry.js +1 -1
  121. package/dist/cjs/bq-switch.cjs.entry.js +2 -2
  122. package/dist/cjs/bq-tab-group.cjs.entry.js +1 -1
  123. package/dist/cjs/bq-tab.cjs.entry.js +7 -4
  124. package/dist/cjs/bq-tab.cjs.entry.js.map +1 -1
  125. package/dist/cjs/bq-textarea.cjs.entry.js +7 -8
  126. package/dist/cjs/bq-textarea.cjs.entry.js.map +1 -1
  127. package/dist/cjs/bq-toast.cjs.entry.js +1 -1
  128. package/dist/cjs/bq-tooltip.cjs.entry.js +1 -1
  129. package/dist/cjs/{index-0c8d249a.js → index-d734f710.js} +13 -11
  130. package/dist/cjs/index-d734f710.js.map +1 -0
  131. package/dist/cjs/index.cjs.js +4 -4
  132. package/dist/cjs/{isDefined-5e8aae9d.js → isDefined-642f676a.js} +2 -2
  133. package/dist/cjs/{isDefined-5e8aae9d.js.map → isDefined-642f676a.js.map} +1 -1
  134. package/dist/cjs/loader.cjs.js +2 -2
  135. package/dist/cjs/{slot-2fee189a.js → slot-c3eeb29f.js} +3 -1
  136. package/dist/cjs/slot-c3eeb29f.js.map +1 -0
  137. package/dist/collection/collection-manifest.json +1 -1
  138. package/dist/collection/components/accordion/bq-accordion.js +5 -6
  139. package/dist/collection/components/accordion/bq-accordion.js.map +1 -1
  140. package/dist/collection/components/alert/bq-alert.js +6 -7
  141. package/dist/collection/components/alert/bq-alert.js.map +1 -1
  142. package/dist/collection/components/alert/scss/bq-alert.css +1 -1
  143. package/dist/collection/components/badge/bq-badge.js +6 -3
  144. package/dist/collection/components/badge/bq-badge.js.map +1 -1
  145. package/dist/collection/components/breadcrumb/bq-breadcrumb.js +4 -1
  146. package/dist/collection/components/breadcrumb/bq-breadcrumb.js.map +1 -1
  147. package/dist/collection/components/button/bq-button.js +5 -2
  148. package/dist/collection/components/button/bq-button.js.map +1 -1
  149. package/dist/collection/components/date-picker/bq-date-picker.js +27 -14
  150. package/dist/collection/components/date-picker/bq-date-picker.js.map +1 -1
  151. package/dist/collection/components/date-picker/bq-date-picker.types.js.map +1 -1
  152. package/dist/collection/components/date-picker/helper/callyLibrary.js +73 -0
  153. package/dist/collection/components/date-picker/helper/callyLibrary.js.map +1 -0
  154. package/dist/collection/components/dialog/bq-dialog.js +6 -7
  155. package/dist/collection/components/dialog/bq-dialog.js.map +1 -1
  156. package/dist/collection/components/drawer/bq-drawer.js +7 -4
  157. package/dist/collection/components/drawer/bq-drawer.js.map +1 -1
  158. package/dist/collection/components/drawer/scss/bq-drawer.css +1 -1
  159. package/dist/collection/components/empty-state/bq-empty-state.js +8 -7
  160. package/dist/collection/components/empty-state/bq-empty-state.js.map +1 -1
  161. package/dist/collection/components/input/bq-input.js +8 -11
  162. package/dist/collection/components/input/bq-input.js.map +1 -1
  163. package/dist/collection/components/notification/bq-notification.js +6 -5
  164. package/dist/collection/components/notification/bq-notification.js.map +1 -1
  165. package/dist/collection/components/option/bq-option.js +8 -7
  166. package/dist/collection/components/option/bq-option.js.map +1 -1
  167. package/dist/collection/components/page-title/bq-page-title.js +5 -2
  168. package/dist/collection/components/page-title/bq-page-title.js.map +1 -1
  169. package/dist/collection/components/select/bq-select.js +6 -11
  170. package/dist/collection/components/select/bq-select.js.map +1 -1
  171. package/dist/collection/components/select/scss/bq-select.css +1 -1
  172. package/dist/collection/components/spinner/bq-spinner.js +6 -4
  173. package/dist/collection/components/spinner/bq-spinner.js.map +1 -1
  174. package/dist/collection/components/tab/bq-tab.js +5 -2
  175. package/dist/collection/components/tab/bq-tab.js.map +1 -1
  176. package/dist/collection/components/tag/bq-tag.js +6 -3
  177. package/dist/collection/components/tag/bq-tag.js.map +1 -1
  178. package/dist/collection/components/textarea/bq-textarea.js +5 -6
  179. package/dist/collection/components/textarea/bq-textarea.js.map +1 -1
  180. package/dist/collection/shared/utils/slot.js +2 -0
  181. package/dist/collection/shared/utils/slot.js.map +1 -1
  182. package/dist/components/bq-accordion-group.js +1 -1
  183. package/dist/components/bq-accordion.js +1 -1
  184. package/dist/components/bq-accordion.js.map +1 -1
  185. package/dist/components/bq-alert.js +1 -1
  186. package/dist/components/bq-alert.js.map +1 -1
  187. package/dist/components/bq-avatar.js +1 -1
  188. package/dist/components/bq-badge.js +1 -1
  189. package/dist/components/bq-breadcrumb-item.js +1 -1
  190. package/dist/components/bq-breadcrumb.js +1 -1
  191. package/dist/components/bq-breadcrumb.js.map +1 -1
  192. package/dist/components/bq-button.js +1 -1
  193. package/dist/components/bq-card.js +1 -1
  194. package/dist/components/bq-checkbox.js +1 -1
  195. package/dist/components/bq-date-picker.js +1 -1
  196. package/dist/components/bq-date-picker.js.map +1 -1
  197. package/dist/components/bq-dialog.js +1 -1
  198. package/dist/components/bq-dialog.js.map +1 -1
  199. package/dist/components/bq-divider.js +1 -1
  200. package/dist/components/bq-drawer.js +1 -1
  201. package/dist/components/bq-drawer.js.map +1 -1
  202. package/dist/components/bq-dropdown.js +1 -1
  203. package/dist/components/bq-empty-state.js +1 -1
  204. package/dist/components/bq-empty-state.js.map +1 -1
  205. package/dist/components/bq-icon.js +1 -1
  206. package/dist/components/bq-input.js +1 -1
  207. package/dist/components/bq-input.js.map +1 -1
  208. package/dist/components/bq-notification.js +1 -1
  209. package/dist/components/bq-notification.js.map +1 -1
  210. package/dist/components/bq-option-group.js +1 -1
  211. package/dist/components/bq-option-list.js +1 -1
  212. package/dist/components/bq-option.js +1 -1
  213. package/dist/components/bq-option.js.map +1 -1
  214. package/dist/components/bq-page-title.js +1 -1
  215. package/dist/components/bq-page-title.js.map +1 -1
  216. package/dist/components/bq-panel.js +1 -1
  217. package/dist/components/bq-progress.js +1 -1
  218. package/dist/components/bq-radio-group.js +1 -1
  219. package/dist/components/bq-radio.js +1 -1
  220. package/dist/components/bq-select.js +1 -1
  221. package/dist/components/bq-select.js.map +1 -1
  222. package/dist/components/bq-side-menu-item.js +1 -1
  223. package/dist/components/bq-side-menu.js +1 -1
  224. package/dist/components/bq-slider.js +1 -1
  225. package/dist/components/bq-spinner.js +1 -1
  226. package/dist/components/bq-spinner.js.map +1 -1
  227. package/dist/components/bq-status.js +1 -1
  228. package/dist/components/bq-step-item.js +1 -1
  229. package/dist/components/bq-steps.js +1 -1
  230. package/dist/components/bq-switch.js +1 -1
  231. package/dist/components/bq-tab-group.js +1 -1
  232. package/dist/components/bq-tab.js +1 -1
  233. package/dist/components/bq-tab.js.map +1 -1
  234. package/dist/components/bq-tag.js +1 -1
  235. package/dist/components/bq-textarea.js +1 -1
  236. package/dist/components/bq-textarea.js.map +1 -1
  237. package/dist/components/bq-toast.js +1 -1
  238. package/dist/components/bq-tooltip.js +1 -1
  239. package/dist/components/index.js +1 -1
  240. package/dist/components/{p-d7ce7165.js → p-260d4ca0.js} +2 -2
  241. package/dist/components/{p-d7ce7165.js.map → p-260d4ca0.js.map} +1 -1
  242. package/dist/components/{p-9a115ee5.js → p-263a1cc6.js} +2 -2
  243. package/dist/components/{p-5b34bd04.js → p-33faef06.js} +2 -2
  244. package/dist/components/p-46f7e0e3.js +6 -0
  245. package/dist/components/p-46f7e0e3.js.map +1 -0
  246. package/dist/components/{p-ac26ffcd.js → p-5c61f1f5.js} +2 -2
  247. package/dist/components/p-6078fd87.js +6 -0
  248. package/dist/components/{p-8d8eeb62.js → p-6478d24c.js} +2 -2
  249. package/dist/components/{p-f5588ccd.js → p-6c1e486c.js} +2 -2
  250. package/dist/components/p-6c1e486c.js.map +1 -0
  251. package/dist/components/{p-a02c6b73.js → p-71751caa.js} +2 -2
  252. package/dist/components/p-71751caa.js.map +1 -0
  253. package/dist/components/{p-b50adb19.js → p-8d04a487.js} +2 -2
  254. package/dist/components/p-a731ba87.js +6 -0
  255. package/dist/components/p-a731ba87.js.map +1 -0
  256. package/dist/components/{p-c58e0d87.js → p-f7c2d883.js} +2 -2
  257. package/dist/custom-elements.json +5881 -5948
  258. package/dist/esm/{assetsPath-57848212.js → assetsPath-060da522.js} +2 -2
  259. package/dist/esm/{assetsPath-57848212.js.map → assetsPath-060da522.js.map} +1 -1
  260. package/dist/esm/beeq.js +4 -4
  261. package/dist/esm/beeq.js.map +1 -1
  262. package/dist/esm/bq-accordion-group.entry.js +1 -1
  263. package/dist/esm/bq-accordion.entry.js +7 -8
  264. package/dist/esm/bq-accordion.entry.js.map +1 -1
  265. package/dist/esm/bq-alert.entry.js +9 -10
  266. package/dist/esm/bq-alert.entry.js.map +1 -1
  267. package/dist/esm/bq-avatar.entry.js +1 -1
  268. package/dist/esm/bq-badge.entry.js +8 -5
  269. package/dist/esm/bq-badge.entry.js.map +1 -1
  270. package/dist/esm/bq-breadcrumb-item.entry.js +2 -2
  271. package/dist/esm/bq-breadcrumb.entry.js +5 -2
  272. package/dist/esm/bq-breadcrumb.entry.js.map +1 -1
  273. package/dist/esm/bq-button_2.entry.js +9 -6
  274. package/dist/esm/bq-button_2.entry.js.map +1 -1
  275. package/dist/esm/bq-card.entry.js +1 -1
  276. package/dist/esm/bq-checkbox.entry.js +1 -1
  277. package/dist/esm/bq-date-picker.entry.js +97 -17
  278. package/dist/esm/bq-date-picker.entry.js.map +1 -1
  279. package/dist/esm/bq-dialog.entry.js +8 -9
  280. package/dist/esm/bq-dialog.entry.js.map +1 -1
  281. package/dist/esm/bq-divider.entry.js +2 -2
  282. package/dist/esm/bq-drawer.entry.js +10 -7
  283. package/dist/esm/bq-drawer.entry.js.map +1 -1
  284. package/dist/esm/bq-dropdown_2.entry.js +1 -1
  285. package/dist/esm/bq-empty-state.entry.js +10 -9
  286. package/dist/esm/bq-empty-state.entry.js.map +1 -1
  287. package/dist/esm/bq-input.entry.js +11 -14
  288. package/dist/esm/bq-input.entry.js.map +1 -1
  289. package/dist/esm/bq-notification.entry.js +8 -7
  290. package/dist/esm/bq-notification.entry.js.map +1 -1
  291. package/dist/esm/bq-option-group.entry.js +1 -1
  292. package/dist/esm/bq-option-list_2.entry.js +8 -5
  293. package/dist/esm/bq-option-list_2.entry.js.map +1 -1
  294. package/dist/esm/bq-option.entry.js +10 -9
  295. package/dist/esm/bq-option.entry.js.map +1 -1
  296. package/dist/esm/bq-page-title.entry.js +7 -4
  297. package/dist/esm/bq-page-title.entry.js.map +1 -1
  298. package/dist/esm/bq-progress.entry.js +1 -1
  299. package/dist/esm/bq-radio-group.entry.js +1 -1
  300. package/dist/esm/bq-radio.entry.js +1 -1
  301. package/dist/esm/bq-select.entry.js +10 -15
  302. package/dist/esm/bq-select.entry.js.map +1 -1
  303. package/dist/esm/bq-side-menu-item.entry.js +2 -2
  304. package/dist/esm/bq-side-menu.entry.js +1 -1
  305. package/dist/esm/bq-slider.entry.js +1 -1
  306. package/dist/esm/bq-spinner.entry.js +8 -6
  307. package/dist/esm/bq-spinner.entry.js.map +1 -1
  308. package/dist/esm/bq-status.entry.js +1 -1
  309. package/dist/esm/bq-step-item.entry.js +1 -1
  310. package/dist/esm/bq-steps.entry.js +1 -1
  311. package/dist/esm/bq-switch.entry.js +2 -2
  312. package/dist/esm/bq-tab-group.entry.js +1 -1
  313. package/dist/esm/bq-tab.entry.js +7 -4
  314. package/dist/esm/bq-tab.entry.js.map +1 -1
  315. package/dist/esm/bq-textarea.entry.js +7 -8
  316. package/dist/esm/bq-textarea.entry.js.map +1 -1
  317. package/dist/esm/bq-toast.entry.js +1 -1
  318. package/dist/esm/bq-tooltip.entry.js +1 -1
  319. package/dist/esm/{index-59610291.js → index-46823bdb.js} +13 -11
  320. package/dist/esm/index-46823bdb.js.map +1 -0
  321. package/dist/esm/index.js +5 -5
  322. package/dist/esm/{isDefined-30b8b652.js → isDefined-8bdbf6b8.js} +2 -2
  323. package/dist/esm/{isDefined-30b8b652.js.map → isDefined-8bdbf6b8.js.map} +1 -1
  324. package/dist/esm/loader.js +3 -3
  325. package/dist/esm/{slot-58bfedb5.js → slot-be230a01.js} +3 -1
  326. package/dist/esm/slot-be230a01.js.map +1 -0
  327. package/dist/hydrate/index.js +227 -1284
  328. package/dist/hydrate/index.mjs +227 -1284
  329. package/dist/stencil.config.js +20 -17
  330. package/dist/stencil.config.js.map +1 -1
  331. package/dist/types/components/accordion/bq-accordion.d.ts +1 -2
  332. package/dist/types/components/alert/bq-alert.d.ts +1 -2
  333. package/dist/types/components/badge/bq-badge.d.ts +2 -1
  334. package/dist/types/components/breadcrumb/bq-breadcrumb.d.ts +1 -0
  335. package/dist/types/components/button/bq-button.d.ts +1 -0
  336. package/dist/types/components/date-picker/bq-date-picker.d.ts +3 -4
  337. package/dist/types/components/date-picker/bq-date-picker.types.d.ts +16 -0
  338. package/dist/types/components/date-picker/helper/callyLibrary.d.ts +11 -0
  339. package/dist/types/components/dialog/bq-dialog.d.ts +1 -2
  340. package/dist/types/components/drawer/bq-drawer.d.ts +1 -0
  341. package/dist/types/components/empty-state/bq-empty-state.d.ts +2 -2
  342. package/dist/types/components/input/bq-input.d.ts +2 -4
  343. package/dist/types/components/notification/bq-notification.d.ts +2 -2
  344. package/dist/types/components/option/bq-option.d.ts +2 -2
  345. package/dist/types/components/page-title/bq-page-title.d.ts +1 -0
  346. package/dist/types/components/select/bq-select.d.ts +1 -4
  347. package/dist/types/components/tab/bq-tab.d.ts +1 -0
  348. package/dist/types/components/tag/bq-tag.d.ts +1 -0
  349. package/dist/types/components/textarea/bq-textarea.d.ts +1 -2
  350. package/dist/types/global.d.ts +0 -10
  351. package/package.json +2 -3
  352. package/dist/beeq/p-19f5a833.entry.js.map +0 -1
  353. package/dist/beeq/p-34611c2f.js +0 -6
  354. package/dist/beeq/p-34611c2f.js.map +0 -1
  355. package/dist/beeq/p-39a80765.entry.js.map +0 -1
  356. package/dist/beeq/p-3fe626f1.entry.js.map +0 -1
  357. package/dist/beeq/p-4a3784e1.js +0 -7
  358. package/dist/beeq/p-4a3784e1.js.map +0 -1
  359. package/dist/beeq/p-59a1b546.entry.js.map +0 -1
  360. package/dist/beeq/p-65d67b85.entry.js.map +0 -1
  361. package/dist/beeq/p-6bea33f4.entry.js +0 -6
  362. package/dist/beeq/p-6bea33f4.entry.js.map +0 -1
  363. package/dist/beeq/p-70310ac8.entry.js.map +0 -1
  364. package/dist/beeq/p-959c3d05.entry.js.map +0 -1
  365. package/dist/beeq/p-a4e11bbc.entry.js.map +0 -1
  366. package/dist/beeq/p-a941b0bb.entry.js.map +0 -1
  367. package/dist/beeq/p-b067c558.entry.js.map +0 -1
  368. package/dist/beeq/p-b69f347d.entry.js.map +0 -1
  369. package/dist/beeq/p-ba1f9637.entry.js.map +0 -1
  370. package/dist/beeq/p-cb9fa154.entry.js.map +0 -1
  371. package/dist/beeq/p-cf923c68.js +0 -6
  372. package/dist/beeq/p-dbac0368.entry.js.map +0 -1
  373. package/dist/beeq/p-e8f147c2.entry.js.map +0 -1
  374. package/dist/cjs/cally-1bde2e82.js +0 -1162
  375. package/dist/cjs/cally-1bde2e82.js.map +0 -1
  376. package/dist/cjs/index-0c8d249a.js.map +0 -1
  377. package/dist/cjs/slot-2fee189a.js.map +0 -1
  378. package/dist/components/p-34611c2f.js +0 -6
  379. package/dist/components/p-34611c2f.js.map +0 -1
  380. package/dist/components/p-37483f1c.js +0 -6
  381. package/dist/components/p-37483f1c.js.map +0 -1
  382. package/dist/components/p-6e0c7ab4.js +0 -6
  383. package/dist/components/p-a02c6b73.js.map +0 -1
  384. package/dist/components/p-d16482dc.js +0 -6
  385. package/dist/components/p-d16482dc.js.map +0 -1
  386. package/dist/components/p-f5588ccd.js.map +0 -1
  387. package/dist/esm/cally-49a83be1.js +0 -1157
  388. package/dist/esm/cally-49a83be1.js.map +0 -1
  389. package/dist/esm/index-59610291.js.map +0 -1
  390. package/dist/esm/slot-58bfedb5.js.map +0 -1
  391. /package/dist/beeq/{p-e655938a.entry.js.map → p-0ac37ff8.entry.js.map} +0 -0
  392. /package/dist/beeq/{p-803269b3.entry.js.map → p-1a8f376a.entry.js.map} +0 -0
  393. /package/dist/beeq/{p-3806d9e3.entry.js.map → p-24135e46.entry.js.map} +0 -0
  394. /package/dist/beeq/{p-e4dd6ff4.js.map → p-2b530ad4.js.map} +0 -0
  395. /package/dist/beeq/{p-c42f9ac5.entry.js.map → p-38ee4c02.entry.js.map} +0 -0
  396. /package/dist/beeq/{p-b7b3f7c6.entry.js.map → p-3f5865c0.entry.js.map} +0 -0
  397. /package/dist/beeq/{p-9a7af424.entry.js.map → p-45bfda93.entry.js.map} +0 -0
  398. /package/dist/beeq/{p-a8075be3.entry.js.map → p-63b4f8f9.entry.js.map} +0 -0
  399. /package/dist/beeq/{p-4d21a49d.entry.js.map → p-648da701.entry.js.map} +0 -0
  400. /package/dist/beeq/{p-a8d64d1b.entry.js.map → p-7bb8664c.entry.js.map} +0 -0
  401. /package/dist/beeq/{p-7585f825.entry.js.map → p-7ff775a3.entry.js.map} +0 -0
  402. /package/dist/beeq/{p-5546f242.entry.js.map → p-801f7b25.entry.js.map} +0 -0
  403. /package/dist/beeq/{p-cf923c68.js.map → p-852225bc.js.map} +0 -0
  404. /package/dist/beeq/{p-7efff703.entry.js.map → p-9a803ecf.entry.js.map} +0 -0
  405. /package/dist/beeq/{p-b129db1a.entry.js.map → p-9eea4f4f.entry.js.map} +0 -0
  406. /package/dist/beeq/{p-ed569a61.entry.js.map → p-a3c36d6c.entry.js.map} +0 -0
  407. /package/dist/beeq/{p-bbaad491.entry.js.map → p-a620392e.entry.js.map} +0 -0
  408. /package/dist/beeq/{p-66b6d69a.entry.js.map → p-a661454e.entry.js.map} +0 -0
  409. /package/dist/beeq/{p-4500ffe5.entry.js.map → p-a7c4f022.entry.js.map} +0 -0
  410. /package/dist/beeq/{p-3f654a12.entry.js.map → p-b1ab6b7f.entry.js.map} +0 -0
  411. /package/dist/beeq/{p-f4e8ebd3.entry.js.map → p-ba8b92f1.entry.js.map} +0 -0
  412. /package/dist/beeq/{p-8ed41b69.entry.js.map → p-bc1980d8.entry.js.map} +0 -0
  413. /package/dist/beeq/{p-ee1ecb6e.entry.js.map → p-f48c3ca7.entry.js.map} +0 -0
  414. /package/dist/components/{p-9a115ee5.js.map → p-263a1cc6.js.map} +0 -0
  415. /package/dist/components/{p-5b34bd04.js.map → p-33faef06.js.map} +0 -0
  416. /package/dist/components/{p-ac26ffcd.js.map → p-5c61f1f5.js.map} +0 -0
  417. /package/dist/components/{p-6e0c7ab4.js.map → p-6078fd87.js.map} +0 -0
  418. /package/dist/components/{p-8d8eeb62.js.map → p-6478d24c.js.map} +0 -0
  419. /package/dist/components/{p-b50adb19.js.map → p-8d04a487.js.map} +0 -0
  420. /package/dist/components/{p-c58e0d87.js.map → p-f7c2d883.js.map} +0 -0
@@ -10,14 +10,15 @@ import { vueOutputTarget as vue } from "@stencil/vue-output-target";
10
10
  import tailwind, { tailwindHMR } from "stencil-tailwind-plugin";
11
11
  import { angularValueAccessorBindings, generateCustomElementsJson, vueComponentModels } from "./src/tools";
12
12
  import tailwindConf from "../../tailwind.config";
13
+ const namespace = 'beeq';
14
+ const componentCorePackage = `@${namespace}/core`;
15
+ const customElementsDir = 'dist/components';
16
+ const resolvePath = (path) => resolve(__dirname, path).replace(/\\/g, '/');
13
17
  const tailwindOpts = {
14
- postcss: resolve(__dirname, '../../postcss.config.js').replace(/\\/g, '/'),
18
+ postcss: resolvePath('../../postcss.config.js'),
15
19
  tailwindConf: tailwindConf,
16
20
  stripComments: true,
17
21
  };
18
- const namespace = 'beeq';
19
- const componentCorePackage = `@${namespace}/core`;
20
- const customElementsDir = 'dist/components';
21
22
  export const config = {
22
23
  namespace,
23
24
  taskQueue: 'async',
@@ -26,14 +27,11 @@ export const config = {
26
27
  env: {
27
28
  BEEQ_ASSETS_BASE_PATH: process.env.BEEQ_ASSETS_BASE_PATH,
28
29
  },
29
- globalStyle: resolve(__dirname, './src/global/styles/default.scss').replace(/\\/g, '/'),
30
+ globalStyle: resolvePath('./src/global/styles/default.scss'),
30
31
  plugins: [
31
32
  sass({
32
- includePaths: [
33
- resolve(__dirname, '../../node_modules').replace(/\\/g, '/'),
34
- resolve(__dirname, 'src/global/styles').replace(/\\/g, '/'),
35
- ],
36
- injectGlobalPaths: [resolve(__dirname, 'src/global/styles/mixins/index.scss').replace(/\\/g, '/')],
33
+ includePaths: [resolvePath('../../node_modules'), resolvePath('src/global/styles')],
34
+ injectGlobalPaths: [resolvePath('src/global/styles/mixins/index.scss')],
37
35
  outputStyle: 'compressed',
38
36
  sourceMap: true,
39
37
  sourceMapEmbed: true,
@@ -73,34 +71,39 @@ export const config = {
73
71
  serviceWorker: null, // disable service workers
74
72
  },
75
73
  angular({
74
+ /* --------------------------- Angular output target -------------------------- */
76
75
  componentCorePackage,
77
76
  outputType: 'component', // Generate many component wrappers tied to a single Angular module (lazy/hydrated approach)
78
- directivesProxyFile: resolve(__dirname, '../beeq-angular/src/directives/components.ts').replace(/\\/g, '/'),
79
- directivesArrayFile: resolve(__dirname, '../beeq-angular/src/directives/index.ts').replace(/\\/g, '/'),
77
+ directivesProxyFile: resolvePath('../beeq-angular/src/directives/components.ts'),
78
+ directivesArrayFile: resolvePath('../beeq-angular/src/directives/index.ts'),
80
79
  valueAccessorConfigs: angularValueAccessorBindings,
81
80
  inlineProperties: true,
82
81
  customElementsDir,
83
82
  }),
84
83
  angular({
84
+ /* -------------------- Angular Standalone output target -------------------- */
85
85
  componentCorePackage,
86
86
  outputType: 'standalone', // Generate a component with the standalone flag set to true.
87
- directivesProxyFile: resolve(__dirname, '../beeq-angular/standalone/src/directives/components.ts').replace(/\\/g, '/'),
88
- directivesArrayFile: resolve(__dirname, '../beeq-angular/standalone/src/directives/index.ts').replace(/\\/g, '/'),
87
+ directivesProxyFile: resolvePath('../beeq-angular/standalone/src/directives/components.ts'),
88
+ directivesArrayFile: resolvePath('../beeq-angular/standalone/src/directives/index.ts'),
89
89
  valueAccessorConfigs: angularValueAccessorBindings,
90
90
  customElementsDir,
91
91
  }),
92
92
  react({
93
- outDir: resolve(__dirname, '../beeq-react/src/').replace(/\\/g, '/'),
93
+ /* --------------------------- React output target -------------------------- */
94
+ outDir: resolvePath('../beeq-react/src/'),
94
95
  customElementsDir,
95
96
  }),
96
97
  react({
97
- outDir: resolve(__dirname, '../beeq-react/ssr').replace(/\\/g, '/'),
98
+ /* ------------------------- React SSR output target ------------------------ */
99
+ outDir: resolvePath('../beeq-react/ssr'),
98
100
  hydrateModule: '@beeq/core/dist/hydrate',
99
101
  customElementsDir,
100
102
  }),
101
103
  vue({
104
+ /* ---------------------------- Vue output target --------------------------- */
102
105
  componentCorePackage,
103
- proxiesFile: resolve(__dirname, '../beeq-vue/src/components.ts').replace(/\\/g, '/'),
106
+ proxiesFile: resolvePath('../beeq-vue/src/components.ts'),
104
107
  includeImportCustomElements: true,
105
108
  includePolyfills: false,
106
109
  includeDefineCustomElements: false,
@@ -1 +1 @@
1
- {"version":3,"file":"stencil.config.js","sourceRoot":"","sources":["../../../stencil.config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAE/B,OAAO,EAAE,mBAAmB,IAAI,OAAO,EAAE,MAAM,gCAAgC,CAAC;AAEhF,OAAO,EAAE,iBAAiB,IAAI,KAAK,EAAE,MAAM,8BAA8B,CAAC;AAC1E,OAAO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AAuC;IAC1D,SAAS,EAAE;QACT,WAAW,EAAE,KAAK;QAClB,IAAI,EAAE,IAAI;QACV,cAAc,EAAE,YAAY;KAC7B;CACF,CAAC","sourcesContent":["import { resolve } from 'path';\n\nimport { angularOutputTarget as angular } from '@stencil/angular-output-target';\nimport { Config } from '@stencil/core';\nimport { reactOutputTarget as react } from '@stencil/react-output-target';\nimport { sass } from '@stencil/sass';\nimport { vueOutputTarget as vue } from '@stencil/vue-output-target';\nimport tailwind, { PluginConfigOpts, tailwindHMR } from 'stencil-tailwind-plugin';\n\nimport { angularValueAccessorBindings, generateCustomElementsJson, vueComponentModels } from './src/tools';\nimport tailwindConf from '../../tailwind.config';\n\nconst tailwindOpts: PluginConfigOpts = {\n postcss: resolve(__dirname, '../../postcss.config.js').replace(/\\\\/g, '/'),\n tailwindConf: tailwindConf,\n stripComments: true,\n};\n\nconst namespace = 'beeq';\nconst componentCorePackage = `@${namespace}/core`;\nconst customElementsDir = 'dist/components';\n\nexport const config: Config = {\n namespace,\n taskQueue: 'async',\n buildDist: true,\n enableCache: true,\n env: {\n BEEQ_ASSETS_BASE_PATH: process.env.BEEQ_ASSETS_BASE_PATH,\n },\n globalStyle: resolve(__dirname, './src/global/styles/default.scss').replace(/\\\\/g, '/'),\n plugins: [\n sass({\n includePaths: [\n resolve(__dirname, '../../node_modules').replace(/\\\\/g, '/'),\n resolve(__dirname, 'src/global/styles').replace(/\\\\/g, '/'),\n ],\n injectGlobalPaths: [resolve(__dirname, 'src/global/styles/mixins/index.scss').replace(/\\\\/g, '/')],\n outputStyle: 'compressed',\n sourceMap: true,\n sourceMapEmbed: true,\n sourceMapContents: true,\n }),\n tailwind(tailwindOpts),\n tailwindHMR({ tailwindConf }),\n ],\n outputTargets: [\n { type: 'docs-readme' },\n /**\n * The output custom-elements.json file is used by Storybook to generate the documentation.\n * @see packages/beeq/.storybook/custom-elements.json\n */\n { type: 'docs-custom', generator: generateCustomElementsJson },\n {\n type: 'dist',\n copy: [\n { src: '../README.md', dest: '../../README.md', warn: true },\n { src: '../cem/*.*', dest: '../', warn: true },\n ],\n },\n { type: 'dist-hydrate-script', dir: 'dist/hydrate' },\n {\n type: 'dist-custom-elements',\n customElementsExportBehavior: 'single-export-module',\n externalRuntime: false,\n dir: customElementsDir,\n minify: true,\n },\n {\n type: 'www',\n copy: [\n { src: 'global/assets', dest: 'assets' },\n { src: 'global/scripts', dest: 'scripts' },\n ],\n serviceWorker: null, // disable service workers\n },\n angular({\n componentCorePackage,\n outputType: 'component', // Generate many component wrappers tied to a single Angular module (lazy/hydrated approach)\n directivesProxyFile: resolve(__dirname, '../beeq-angular/src/directives/components.ts').replace(/\\\\/g, '/'),\n directivesArrayFile: resolve(__dirname, '../beeq-angular/src/directives/index.ts').replace(/\\\\/g, '/'),\n valueAccessorConfigs: angularValueAccessorBindings,\n inlineProperties: true,\n customElementsDir,\n }),\n angular({\n componentCorePackage,\n outputType: 'standalone', // Generate a component with the standalone flag set to true.\n directivesProxyFile: resolve(__dirname, '../beeq-angular/standalone/src/directives/components.ts').replace(\n /\\\\/g,\n '/',\n ),\n directivesArrayFile: resolve(__dirname, '../beeq-angular/standalone/src/directives/index.ts').replace(/\\\\/g, '/'),\n valueAccessorConfigs: angularValueAccessorBindings,\n customElementsDir,\n }),\n react({\n outDir: resolve(__dirname, '../beeq-react/src/').replace(/\\\\/g, '/'),\n customElementsDir,\n }),\n react({\n outDir: resolve(__dirname, '../beeq-react/ssr').replace(/\\\\/g, '/'),\n hydrateModule: '@beeq/core/dist/hydrate',\n customElementsDir,\n }),\n vue({\n componentCorePackage,\n proxiesFile: resolve(__dirname, '../beeq-vue/src/components.ts').replace(/\\\\/g, '/'),\n includeImportCustomElements: true,\n includePolyfills: false,\n includeDefineCustomElements: false,\n componentModels: vueComponentModels,\n // hydrateModule: '@beeq/core/dist/hydrate',\n customElementsDir,\n }),\n ],\n extras: {\n /**\n * Details:\n * https://stenciljs.com/docs/config-extras\n */\n enableImportInjection: true,\n experimentalScopedSlotChanges: true,\n experimentalSlotFixes: true,\n },\n testing: {\n browserHeadless: 'shell',\n },\n preamble: 'Built by Endavans\\n© https://beeq.design - Apache 2 License.',\n watchIgnoredRegex: /(custom-elements\\.)((d\\.ts)|(json))$/g,\n devServer: {\n openBrowser: false,\n port: 8001,\n reloadStrategy: 'pageReload',\n },\n};\n"]}
1
+ {"version":3,"file":"stencil.config.js","sourceRoot":"","sources":["../../../stencil.config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAE/B,OAAO,EAAE,mBAAmB,IAAI,OAAO,EAAE,MAAM,gCAAgC,CAAC;AAEhF,OAAO,EAAE,iBAAiB,IAAI,KAAK,EAAE,MAAM,8BAA8B,CAAC;AAC1E,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACrC,OAAO,EAAE,eAAe,IAAI,GAAG,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,QAAQ,EAAE,EAAoB,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAElF,OAAO,EAAE,4BAA4B,EAAE,0BAA0B,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAC3G,OAAO,YAAY,MAAM,uBAAuB,CAAC;AAEjD,MAAM,SAAS,GAAG,MAAM,CAAC;AACzB,MAAM,oBAAoB,GAAG,IAAI,SAAS,OAAO,CAAC;AAClD,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;AAC5C,MAAM,WAAW,GAAG,CAAC,IAAY,EAAE,EAAE,CAAC,OAAO,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;AAEnF,MAAM,YAAY,GAAqB;IACrC,OAAO,EAAE,WAAW,CAAC,yBAAyB,CAAC;IAC/C,YAAY,EAAE,YAAY;IAC1B,aAAa,EAAE,IAAI;CACpB,CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GAAW;IAC5B,SAAS;IACT,SAAS,EAAE,OAA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,EAAE,8DAA8D;IACxE,iBAAiB,EAAE,uCAAuC;IAC1D,SAAS,EAAE;QACT,WAAW,EAAE,KAAK;QAClB,IAAI,EAAE,IAAI;QACV,cAAc,EAAE,YAAY;KAC7B;CACF,CAAC","sourcesContent":["import { resolve } from 'path';\n\nimport { angularOutputTarget as angular } from '@stencil/angular-output-target';\nimport { Config } from '@stencil/core';\nimport { reactOutputTarget as react } from '@stencil/react-output-target';\nimport { sass } from '@stencil/sass';\nimport { vueOutputTarget as vue } from '@stencil/vue-output-target';\nimport tailwind, { PluginConfigOpts, tailwindHMR } from 'stencil-tailwind-plugin';\n\nimport { angularValueAccessorBindings, generateCustomElementsJson, vueComponentModels } from './src/tools';\nimport tailwindConf from '../../tailwind.config';\n\nconst namespace = 'beeq';\nconst componentCorePackage = `@${namespace}/core`;\nconst customElementsDir = 'dist/components';\nconst resolvePath = (path: string) => resolve(__dirname, path).replace(/\\\\/g, '/');\n\nconst tailwindOpts: PluginConfigOpts = {\n postcss: resolvePath('../../postcss.config.js'),\n tailwindConf: tailwindConf,\n stripComments: true,\n};\n\nexport const config: Config = {\n namespace,\n taskQueue: 'async',\n buildDist: true,\n enableCache: true,\n env: {\n BEEQ_ASSETS_BASE_PATH: process.env.BEEQ_ASSETS_BASE_PATH,\n },\n globalStyle: resolvePath('./src/global/styles/default.scss'),\n plugins: [\n sass({\n includePaths: [resolvePath('../../node_modules'), resolvePath('src/global/styles')],\n injectGlobalPaths: [resolvePath('src/global/styles/mixins/index.scss')],\n outputStyle: 'compressed',\n sourceMap: true,\n sourceMapEmbed: true,\n sourceMapContents: true,\n }),\n tailwind(tailwindOpts),\n tailwindHMR({ tailwindConf }),\n ],\n outputTargets: [\n { type: 'docs-readme' },\n /**\n * The output custom-elements.json file is used by Storybook to generate the documentation.\n * @see packages/beeq/.storybook/custom-elements.json\n */\n { type: 'docs-custom', generator: generateCustomElementsJson },\n {\n type: 'dist',\n copy: [\n { src: '../README.md', dest: '../../README.md', warn: true },\n { src: '../cem/*.*', dest: '../', warn: true },\n ],\n },\n { type: 'dist-hydrate-script', dir: 'dist/hydrate' },\n {\n type: 'dist-custom-elements',\n customElementsExportBehavior: 'single-export-module',\n externalRuntime: false,\n dir: customElementsDir,\n minify: true,\n },\n {\n type: 'www',\n copy: [\n { src: 'global/assets', dest: 'assets' },\n { src: 'global/scripts', dest: 'scripts' },\n ],\n serviceWorker: null, // disable service workers\n },\n angular({\n /* --------------------------- Angular output target -------------------------- */\n componentCorePackage,\n outputType: 'component', // Generate many component wrappers tied to a single Angular module (lazy/hydrated approach)\n directivesProxyFile: resolvePath('../beeq-angular/src/directives/components.ts'),\n directivesArrayFile: resolvePath('../beeq-angular/src/directives/index.ts'),\n valueAccessorConfigs: angularValueAccessorBindings,\n inlineProperties: true,\n customElementsDir,\n }),\n angular({\n /* -------------------- Angular Standalone output target -------------------- */\n componentCorePackage,\n outputType: 'standalone', // Generate a component with the standalone flag set to true.\n directivesProxyFile: resolvePath('../beeq-angular/standalone/src/directives/components.ts'),\n directivesArrayFile: resolvePath('../beeq-angular/standalone/src/directives/index.ts'),\n valueAccessorConfigs: angularValueAccessorBindings,\n customElementsDir,\n }),\n react({\n /* --------------------------- React output target -------------------------- */\n outDir: resolvePath('../beeq-react/src/'),\n customElementsDir,\n }),\n react({\n /* ------------------------- React SSR output target ------------------------ */\n outDir: resolvePath('../beeq-react/ssr'),\n hydrateModule: '@beeq/core/dist/hydrate',\n customElementsDir,\n }),\n vue({\n /* ---------------------------- Vue output target --------------------------- */\n componentCorePackage,\n proxiesFile: resolvePath('../beeq-vue/src/components.ts'),\n includeImportCustomElements: true,\n includePolyfills: false,\n includeDefineCustomElements: false,\n componentModels: vueComponentModels,\n // hydrateModule: '@beeq/core/dist/hydrate',\n customElementsDir,\n }),\n ],\n extras: {\n /**\n * Details:\n * https://stenciljs.com/docs/config-extras\n */\n enableImportInjection: true,\n experimentalScopedSlotChanges: true,\n experimentalSlotFixes: true,\n },\n testing: {\n browserHeadless: 'shell',\n },\n preamble: 'Built by Endavans\\n© https://beeq.design - Apache 2 License.',\n watchIgnoredRegex: /(custom-elements\\.)((d\\.ts)|(json))$/g,\n devServer: {\n openBrowser: false,\n port: 8001,\n reloadStrategy: 'pageReload',\n },\n};\n"]}
@@ -145,8 +145,7 @@ export declare class BqAccordion {
145
145
  private handleClick;
146
146
  private handleFocus;
147
147
  private handleBlur;
148
- private handlePrefixSlotChange;
149
- private handleSuffixSlotChange;
148
+ private handleSlotChange;
150
149
  private get open();
151
150
  private get isCssInterpolateSizeSupported();
152
151
  render(): any;
@@ -129,8 +129,7 @@ export declare class BqAlert {
129
129
  private handleHide;
130
130
  private handleShow;
131
131
  private handleTransitionEnd;
132
- private handleContentSlotChange;
133
- private handleFooterSlotChange;
132
+ private handleSlotChange;
134
133
  private get iconName();
135
134
  render(): any;
136
135
  }
@@ -44,8 +44,9 @@ export declare class BqBadge {
44
44
  size?: TBadgeSize;
45
45
  handleSizePropChange(): void;
46
46
  componentWillLoad(): void;
47
+ componentDidLoad(): void;
47
48
  disconnectedCallback(): void;
48
- private onSlotChange;
49
+ private handleSlotChange;
49
50
  private get slot();
50
51
  render(): any;
51
52
  }
@@ -28,6 +28,7 @@ export declare class BqBreadcrumb {
28
28
  el: HTMLBqBreadcrumbElement;
29
29
  /** The `aria-label` attribute to describe the type of navigation */
30
30
  label: string;
31
+ componentDidLoad(): void;
31
32
  private handleSlotChange;
32
33
  private getSeparatorElem;
33
34
  private get separatorFromSlot();
@@ -104,6 +104,7 @@ export declare class BqButton {
104
104
  /** Handler to be called when button gets focus */
105
105
  bqClick: EventEmitter<HTMLBqButtonElement>;
106
106
  componentWillLoad(): void;
107
+ componentDidLoad(): void;
107
108
  private handleBlur;
108
109
  private handleFocus;
109
110
  private handleClick;
@@ -135,6 +135,7 @@ export declare class BqDatePicker {
135
135
  private readonly BUTTON_EXPORT_PARTS;
136
136
  internals: ElementInternals;
137
137
  el: HTMLBqDatePickerElement;
138
+ isCallyLoaded: boolean;
138
139
  focusedDate: string;
139
140
  displayDate: string;
140
141
  hasLabel: boolean;
@@ -236,7 +237,7 @@ export declare class BqDatePicker {
236
237
  /** Callback handler emitted when the input has received focus */
237
238
  bqFocus: EventEmitter<HTMLBqDatePickerElement>;
238
239
  connectedCallback(): Promise<void>;
239
- componentWillLoad(): void;
240
+ componentDidLoad(): Promise<void>;
240
241
  formAssociatedCallback(): void;
241
242
  formResetCallback(): void;
242
243
  handleOpenChange(ev: CustomEvent<{
@@ -258,9 +259,7 @@ export declare class BqDatePicker {
258
259
  private handleCalendarRangeStart;
259
260
  private handleCalendarRangeEnd;
260
261
  private handleClearClick;
261
- private handleLabelSlotChange;
262
- private handlePrefixSlotChange;
263
- private handleSuffixSlotChange;
262
+ private handleSlotChange;
264
263
  private generateCalendarMonth;
265
264
  /**
266
265
  * Generates an array of Elements representing the calendar months.
@@ -1,3 +1,19 @@
1
1
  export type DaysOfWeek = 0 | 1 | 2 | 3 | 4 | 5 | 6;
2
2
  export declare const DATE_PICKER_TYPE: readonly ["single", "multi", "range"];
3
3
  export type TDatePickerType = (typeof DATE_PICKER_TYPE)[number];
4
+ export type TCalendarDate = {
5
+ focusedDate: string;
6
+ value: string;
7
+ min?: string;
8
+ max?: string;
9
+ months?: number;
10
+ tentative?: string;
11
+ pageBy?: 'single' | 'months';
12
+ firstDayOfWeek?: number;
13
+ showOutsideDays?: boolean;
14
+ isDateDisallowed?: (date: Date) => boolean;
15
+ locale?: string;
16
+ onChange?: (ev: Event) => void;
17
+ onRangestart?: (ev: CustomEvent) => void;
18
+ onRangeend?: (ev: CustomEvent) => void;
19
+ };
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Checks if the Cally library is already loaded in the document
3
+ * @returns {boolean} True if the library is loaded
4
+ */
5
+ export declare const isCallyLibraryLoaded: () => boolean;
6
+ /**
7
+ * Loads the Cally library for the date picker component
8
+ * @throws {Error} If the library fails to load
9
+ * @return {Promise<void>}
10
+ */
11
+ export declare const loadCallyLibrary: () => Promise<void>;
@@ -128,7 +128,6 @@ export declare class BqDialog {
128
128
  private handleClose;
129
129
  private handleOpen;
130
130
  private handleTransitionEnd;
131
- private handleContentSlotChange;
132
- private handleFooterSlotChange;
131
+ private handleSlotChange;
133
132
  render(): any;
134
133
  }
@@ -96,6 +96,7 @@ export declare class BqDrawer {
96
96
  /** Callback handler to be called after the drawer has been closed */
97
97
  bqAfterClose: EventEmitter;
98
98
  componentWillLoad(): void;
99
+ componentDidLoad(): void;
99
100
  handleMouseClick(event: MouseEvent): Promise<void>;
100
101
  handleKeyDown(event: KeyboardEvent): Promise<void>;
101
102
  /** Method to be called to hide the drawer component */
@@ -35,8 +35,8 @@ export declare class BqEmptyState {
35
35
  size: TEmptyStateSize;
36
36
  checkPropValues(): void;
37
37
  componentWillLoad(): void;
38
- private handleContentSlotChange;
39
- private handleFooterSlotChange;
38
+ componentDidLoad(): void;
39
+ private handleSlotChange;
40
40
  private get iconSize();
41
41
  render(): any;
42
42
  }
@@ -216,6 +216,7 @@ export declare class BqInput {
216
216
  el: HTMLBqInputElement;
217
217
  }>;
218
218
  componentWillLoad(): void;
219
+ componentDidLoad(): void;
219
220
  formAssociatedCallback(): void;
220
221
  formResetCallback(): void;
221
222
  private handleBlur;
@@ -226,9 +227,6 @@ export declare class BqInput {
226
227
  private handleClearClick;
227
228
  private setFormValue;
228
229
  private updateFormValidity;
229
- private handleLabelSlotChange;
230
- private handlePrefixSlotChange;
231
- private handleSuffixSlotChange;
232
- private handleHelperTextSlotChange;
230
+ private handleSlotChange;
233
231
  render(): any;
234
232
  }
@@ -107,6 +107,7 @@ export declare class BqNotification {
107
107
  bqAfterClose: EventEmitter;
108
108
  connectedCallback(): void;
109
109
  componentWillLoad(): void;
110
+ componentDidLoad(): void;
110
111
  afterNotificationClose(): void;
111
112
  /** Method to be called to hide the notification component */
112
113
  hide(): Promise<void>;
@@ -117,8 +118,7 @@ export declare class BqNotification {
117
118
  private handleHide;
118
119
  private handleShow;
119
120
  private handleTransitionEnd;
120
- private handleContentSlotChange;
121
- private handleFooterSlotChange;
121
+ private handleSlotChange;
122
122
  private get iconName();
123
123
  render(): any;
124
124
  }
@@ -67,12 +67,12 @@ export declare class BqOption {
67
67
  bqClick: EventEmitter<HTMLBqOptionElement>;
68
68
  /** Handler to be called on enter key press */
69
69
  bqEnter: EventEmitter<HTMLBqOptionElement>;
70
+ componentDidLoad(): void;
70
71
  onKeyDown(event: KeyboardEvent): void;
71
72
  private onBlur;
72
73
  private onFocus;
73
74
  private onClick;
74
- private onSlotChange;
75
- private handleSuffixSlotChange;
75
+ private handleSlotChange;
76
76
  private get isDisabledOrHidden();
77
77
  render(): any;
78
78
  }
@@ -52,6 +52,7 @@ export declare class BqPageTitle {
52
52
  private haveBackNavigation;
53
53
  private hasSuffix;
54
54
  private hasSubTitle;
55
+ componentDidLoad(): void;
55
56
  private handleSlotChange;
56
57
  render(): any;
57
58
  }
@@ -219,10 +219,7 @@ export declare class BqSelect {
219
219
  private handleSearchFilter;
220
220
  private handleClearClick;
221
221
  private handleTagRemove;
222
- private handleLabelSlotChange;
223
- private handlePrefixSlotChange;
224
- private handleSuffixSlotChange;
225
- private handleHelperTextSlotChange;
222
+ private handleSlotChange;
226
223
  private resetOptionsVisibility;
227
224
  private syncItemsFromValue;
228
225
  /**
@@ -79,6 +79,7 @@ export declare class BqTab {
79
79
  /** Handler to be called when the tab key is pressed */
80
80
  bqKeyDown: EventEmitter<KeyboardEvent>;
81
81
  componentWillLoad(): void;
82
+ componentDidLoad(): void;
82
83
  /**
83
84
  * Simulate a click event on the native `<button>` HTML element used under the hood.
84
85
  * Use this method instead of the global `element.click()`.
@@ -89,6 +89,7 @@ export declare class BqTag {
89
89
  /** Handler to be called when tag is focused */
90
90
  bqFocus: EventEmitter<HTMLBqTagElement>;
91
91
  componentWillLoad(): void;
92
+ componentDidLoad(): void;
92
93
  /** Method to be called to remove the tag component */
93
94
  hide(): Promise<void>;
94
95
  /** Method to be called to show the tag component */
@@ -185,8 +185,7 @@ export declare class BqTextarea {
185
185
  private handleChange;
186
186
  private handleInput;
187
187
  private autoResize;
188
- private handleLabelSlotChange;
189
- private handleHelperTextSlotChange;
188
+ private handleSlotChange;
190
189
  private setFormValue;
191
190
  private updateFormValidity;
192
191
  private clearSelection;
@@ -1,24 +1,14 @@
1
1
  import type { JSXBase } from './stencil-public-runtime';
2
- import type { CalendarDateProps, CalendarMonthProps, CalendarMultiProps, CalendarRangeProps } from 'cally';
3
2
 
4
3
  /* eslint-disable @typescript-eslint/ban-ts-comment */
5
4
  // @ts-ignore: this imported file declaration is generated by the build process
6
5
  // eslint-disable-next-line import-x/no-unresolved
7
6
  import type { CustomElements } from '../cem/beeq';
8
7
 
9
- type EventName<T> = T extends `on${infer Rest}` ? `on${Capitalize<Lowercase<Rest>>}` : T;
10
- type MapEvents<T> = {
11
- [K in keyof T as EventName<K>]: T[K];
12
- };
13
-
14
8
  declare module '@stencil/core' {
15
9
  // eslint-disable-next-line @typescript-eslint/no-namespace
16
10
  export namespace JSX {
17
11
  interface IntrinsicElements extends CustomElements {
18
- 'calendar-multi': CalendarMultiProps & JSXBase.HTMLAttributes<CalendarMultiProps>;
19
- 'calendar-range': MapEvents<CalendarRangeProps> & JSXBase.HTMLAttributes<CalendarDateProps>;
20
- 'calendar-date': CalendarDateProps & JSXBase.HTMLAttributes<CalendarDateProps>;
21
- 'calendar-month': CalendarMonthProps & JSXBase.HTMLAttributes<CalendarMonthProps>;
22
12
  // Extend the global slot HTML element to include the id and class attributes
23
13
  slot: JSXBase.SlotAttributes & { id?: string; class?: string };
24
14
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@beeq/core",
3
- "version": "1.8.3-beta.1",
3
+ "version": "1.8.4-beta.0",
4
4
  "license": "Apache-2.0",
5
5
  "description": "BEEQ, a Design System components ruled by Endavan developers :)",
6
6
  "main": "./dist/index.cjs.js",
@@ -15,8 +15,7 @@
15
15
  "dependencies": {
16
16
  "@floating-ui/core": "^1.6.9",
17
17
  "@floating-ui/dom": "^1.6.13",
18
- "@stencil/core": "^4.25.1",
19
- "cally": "^0.7.2"
18
+ "@stencil/core": "^4.25.1"
20
19
  },
21
20
  "repository": {
22
21
  "type": "git",
@@ -1 +0,0 @@
1
- {"version":3,"names":["BUTTON_SIZE","BUTTON_TYPE","BUTTON_APPEARANCE","BUTTON_VARIANT","bqButtonCss","BqButtonStyle0","BqButton","prefixElem","suffixElem","internals","hasPrefix","hasSuffix","appearance","block","border","disabled","download","href","justifyContent","loading","size","target","type","variant","checkPropValues","validatePropValue","this","el","bqBlur","bqFocus","bqClick","componentWillLoad","handleBlur","emit","handleFocus","handleClick","ev","preventEvent","bqClickEvent","defaultPrevented","handleFormAction","form","isNil","formAction","formActions","submit","submitAssociatedForm","reset","isClient","btn","document","createElement","hidden","append","click","remove","handleSlotChange","hasSlotContent","preventDefault","stopPropagation","render","isLink","isDefined","TagElem","style","h","Host","key","class","undefined","part","rel","tabIndex","onBlur","onFocus","onClick","ref","spanElem","name","onSlotchange","requests","Map","iconContent","fetchSvg","async","url","sanitize","fetch","window","has","get","response","ok","set","svgContent","text","validateContent","error","console","getSvgContent","req","svgTag","iconCssClass","div","innerHTML","svgElm","querySelector","existingClasses","getAttribute","setAttribute","trim","removeAttribute","isValid","elm","nodeType","Node","ELEMENT_NODE","nodeName","toLowerCase","attribute","Array","from","attributes","isString","value","startsWith","childNode","children","bqIconCss","BqIconStyle0","BqIcon","_svgContent","label","color","src","weight","handlePropsChange","loadIcon","handleWeightChange","includes","warn","REGULAR","isWeightedIcon","weightSuffix","iconName","svgLoaded","connectedCallback","setupIconComponent","getIconSource","SVG_EXTENSION","iconFileName","getBasePath","then","styles","getColorCSSVariable","role"],"sources":["../../packages/beeq/src/components/button/bq-button.types.ts","../../packages/beeq/src/components/button/scss/bq-button.scss?tag=bq-button&encapsulation=shadow","../../packages/beeq/src/components/button/bq-button.tsx","../../packages/beeq/src/components/icon/helper/request.ts","../../packages/beeq/src/components/icon/scss/bq-icon.scss?tag=bq-icon&encapsulation=shadow","../../packages/beeq/src/components/icon/bq-icon.tsx"],"sourcesContent":["export const BUTTON_SIZE = ['small', 'medium', 'large'] as const;\nexport type TButtonSize = (typeof BUTTON_SIZE)[number];\n\nexport const BUTTON_TYPE = ['button', 'submit', 'reset'] as const;\nexport type TButtonType = (typeof BUTTON_TYPE)[number];\n\nexport const BUTTON_APPEARANCE = ['primary', 'secondary', 'link', 'text'] as const;\nexport type TButtonAppearance = (typeof BUTTON_APPEARANCE)[number];\n\nexport const BUTTON_VARIANT = ['standard', 'ghost', 'danger'] as const;\nexport type TButtonVariant = (typeof BUTTON_VARIANT)[number];\n\nexport const BUTTON_BORDER_RADIUS = ['none', 'xs2', 'xs', 's', 'm', 'l', 'full'] as const;\nexport type TButtonBorderRadius = (typeof BUTTON_BORDER_RADIUS)[number];\n","/* -------------------------------------------------------------------------- */\n/* Button styles */\n/* -------------------------------------------------------------------------- */\n\n@import './bq-button.variables';\n\n@layer components {\n // Common button base style\n .bq-button {\n @apply box-border flex cursor-[inherit] items-center justify-center font-medium leading-regular;\n @apply rounded-[--bq-button--border-radius] border-[length:--bq-button--border-width] border-[color:--bq-button--border-color];\n @apply transition-[background-color,border-color,color] duration-300 ease-in-out;\n // `DISABLED` state\n @apply disabled:cursor-not-allowed disabled:opacity-60;\n // `FOCUS` state\n @apply focus-visible:focus;\n }\n}\n\n:host {\n @apply relative inline-block cursor-pointer is-auto;\n}\n\n:host([block]),\n.block {\n @apply is-full;\n}\n\n/* -------------------------------------------------------------------------- */\n/* Appearance */\n/* -------------------------------------------------------------------------- */\n\n.bq-button--primary {\n @apply bg-ui-brand text-alt;\n // Primary `HOVER` state\n @apply hover:enabled:bg-hover-ui-brand;\n // Primary `ACTIVE` state\n @apply active:enabled:bg-active-ui-brand active:enabled:hover:bg-active-ui-brand;\n}\n\n.bq-button--primary.ghost {\n @apply border-m border-solid border-brand bg-transparent text-brand;\n // Primary `HOVER` state\n @apply hover:enabled:bg-hover-ui-primary;\n // Primary `ACTIVE` state\n @apply active:enabled:bg-active-ui-primary active:enabled:hover:bg-active-ui-primary;\n}\n\n.bq-button--primary.danger {\n @apply bg-ui-danger text-alt;\n // Primary `HOVER` state\n @apply hover:enabled:bg-hover-ui-danger;\n // Primary `ACTIVE` state\n @apply active:enabled:bg-active-ui-danger active:enabled:hover:bg-active-ui-danger;\n}\n\n.bq-button--secondary {\n @apply bg-ui-secondary text-primary;\n // Secondary `HOVER` state\n @apply hover:enabled:bg-hover-ui-secondary;\n // Secondary `ACTIVE` state\n @apply active:enabled:bg-active-ui-secondary active:enabled:hover:bg-active-ui-secondary;\n}\n\n.bq-button--secondary.ghost {\n @apply border-m border-solid border-tertiary bg-transparent text-primary;\n // Secondary `HOVER` state\n @apply hover:enabled:bg-hover-ui-secondary;\n // Secondary `ACTIVE` state\n @apply active:enabled:bg-active-ui-secondary active:enabled:hover:bg-active-ui-secondary;\n}\n\n.bq-button--link {\n @apply bg-transparent text-brand no-underline;\n // Primary `HOVER` state\n @apply [&:not(.disabled)]:hover:bg-hover-ui-primary;\n // Primary `ACTIVE` state\n @apply [&:not(.disabled)]:active:bg-active-ui-secondary [&:not(.disabled)]:active:hover:bg-active-ui-secondary;\n // HTML `<a>` elements does not have a `disabled` state so we need to handle it manually\n &.disabled {\n @apply cursor-not-allowed opacity-60;\n }\n}\n\n.bq-button--text {\n @apply bg-transparent text-primary;\n // Primary `HOVER` state\n @apply hover:enabled:bg-hover-ui-primary;\n // Primary `ACTIVE` state\n @apply active:enabled:bg-active-ui-secondary active:enabled:hover:bg-active-ui-secondary;\n}\n\n/* -------------------------------------------------------------------------- */\n/* Size */\n/* -------------------------------------------------------------------------- */\n\n.small {\n @apply text-[length:--bq-button--small-font-size] bs-[--bq-button--small-height] p-b-[--bq-button--small-paddingY] p-i-[--bq-button--small-paddingX];\n}\n\n.medium {\n @apply text-[length:--bq-button--medium-font-size] bs-[--bq-button--medium-height] p-b-[--bq-button--medium-paddingY] p-i-[--bq-button--medium-paddingX];\n}\n\n.large {\n @apply text-[length:--bq-button--large-font-size] bs-[--bq-button--large-height] p-b-[--bq-button--large-paddingY] p-i-[--bq-button--large-paddingX];\n}\n\n/* -------------------------------------------------------------------------- */\n/* Label */\n/* -------------------------------------------------------------------------- */\n\n.bq-button__label ::slotted(bq-icon) {\n @apply flex;\n}\n\n.content-left {\n @apply justify-start;\n}\n\n.content-right {\n @apply justify-end;\n}\n\n/* -------------------------------------------------------------------------- */\n/* Prefix and Suffix slots */\n/* -------------------------------------------------------------------------- */\n\n.bq-button__prefix,\n.bq-button__suffix {\n @apply pointer-events-none flex shrink-0 grow-0 basis-auto items-center;\n}\n\n.bq-button.has-prefix .bq-button__label {\n @apply ps-xs2;\n}\n\n.bq-button.has-suffix .bq-button__label {\n @apply pe-xs2;\n}\n\n/* -------------------------------------------------------------------------- */\n/* Loading */\n/* -------------------------------------------------------------------------- */\n\n.bq-button.loading {\n @apply relative cursor-wait;\n}\n\n.bq-button.loading .bq-button__prefix,\n.bq-button.loading .bq-button__label,\n.bq-button.loading .bq-button__suffix {\n @apply invisible;\n}\n\n/* -------------------------------------------------------------------------- */\n/* Spinner icon */\n/* -------------------------------------------------------------------------- */\n\n.bq-button__loader {\n @include animation-spin;\n @apply absolute;\n}\n","import { AttachInternals, Component, Element, Event, EventEmitter, h, Host, Prop, State, Watch } from '@stencil/core';\n\nimport {\n BUTTON_APPEARANCE,\n BUTTON_SIZE,\n BUTTON_TYPE,\n BUTTON_VARIANT,\n TButtonAppearance,\n TButtonBorderRadius,\n TButtonSize,\n TButtonType,\n TButtonVariant,\n} from './bq-button.types';\nimport { hasSlotContent, isClient, isDefined, isNil, validatePropValue } from '../../shared/utils';\n\n/**\n * Buttons are designed for users to take action on a page or a screen.\n *\n * @example How to use it\n * ```html\n * <bq-button appearance=\"primary\" border=\"m\" size=\"medium\">\n * <bq-icon name=\"arrow-circle-left\" slot=\"prefix\"></bq-icon>\n * Go back\n * </bq-button>\n * ```\n *\n * @documentation https://www.beeq.design/3d466e231/p/286b43-buttons\n * @status stable\n *\n * @dependency bq-icon\n *\n * @attr {\"primary\" | \"secondary\" | \"link\" | \"text\"} appearance - The appearance style to apply to the button\n * @attr {boolean} block - If `true`, it will make the button fit to its parent width.\n * @attr {string} border - The corner radius of the button\n * @attr {boolean} disabled - If `true`, the button will be disabled (no interaction allowed)\n * @attr {string} download - Tells the browser to treat the linked URL as a download. Only used when `href` is set.\n * @attr {string} href - When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`\n * @attr {\"left\" | \"center\" | \"right\"} justify-content - It determinate how the content should be aligned\n * @attr {boolean} loading - If `true` it will display the button in a loading state\n * @attr {\"small\" | \"medium\" | \"large\"} size - The size of the button\n * @attr {\"_blank\" | \"_parent\" | \"_self\" | \"_top\"} target - Where to display the linked URL, as the name for a browsing context (a `tab`, `window`, or `<iframe>`)\n * @attr {\"button\" | \"submit\" | \"reset\"} type - The default behavior of the button\n * @attr {\"standard\" | \"ghost\" | \"danger\"} variant - The variant of button to apply on top of the appearance (applicable only to `appearance=\"primary\"`)\n *\n * @event bqBlur - Handler to be called when the button loses focus\n * @event bqFocus - Handler to be called when button gets focus\n * @event bqClick - Handler to be called when the button is clicked\n *\n * @slot prefix - The prefix content to be displayed before the button label\n * @slot - The button label content\n * @slot suffix - The suffix content to be displayed after the button label\n *\n * @part button - The `<a>` or `<button>` HTML element used under the hood.\n * @part prefix - The `<span>` tag element that acts as prefix container.\n * @part label - The `<span>` tag element that renders the text of the button.\n * @part suffix - The `<span>` tag element that acts as suffix container.\n *\n * @cssprop --bq-button--border-color - Button border color\n * @cssprop --bq-button--border-radius - Button border radius\n * @cssprop --bq-button--border-style - Button border style\n * @cssprop --bq-button--border-width - Button border width\n * @cssprop --bq-button--small-height - Button small height\n * @cssprop --bq-button--small-paddingX - Button small padding block (top and bottom)\n * @cssprop --bq-button--small-paddingY - Button small padding inline (left and right)\n * @cssprop --bq-button--small-font-size - Button small font size\n * @cssprop --bq-button--medium-height - Button medium height\n * @cssprop --bq-button--medium-paddingX - Button medium padding block (top and bottom)\n * @cssprop --bq-button--medium-paddingY - Button medium padding inline (left and right)\n * @cssprop --bq-button--medium-font-size - Button medium font size\n * @cssprop --bq-button--large-height - Button large height\n * @cssprop --bq-button--large-paddingX - Button large padding block (top and bottom)\n * @cssprop --bq-button--large-paddingY - Button large padding inline (left and right)\n * @cssprop --bq-button--large-font-size - Button large font size\n */\n@Component({\n tag: 'bq-button',\n styleUrl: './scss/bq-button.scss',\n formAssociated: true,\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class BqButton {\n // Own Properties\n // ====================\n\n private prefixElem: HTMLElement;\n private suffixElem: HTMLElement;\n\n // Reference to host HTML element\n // ===================================\n\n @Element() el!: HTMLBqButtonElement;\n @AttachInternals() internals!: ElementInternals;\n\n // State() variables\n // Inlined decorator, alphabetical order\n // =======================================\n\n @State() private hasPrefix = false;\n @State() private hasSuffix = false;\n\n // Public Property API\n // ========================\n\n /** The appearance style to apply to the button */\n @Prop({ reflect: true }) appearance: TButtonAppearance = 'primary';\n\n /** If `true`, it will make the button fit to its parent width. */\n @Prop({ reflect: true }) block: boolean = false;\n\n /** The corner radius of the button */\n @Prop({ reflect: true }) border: TButtonBorderRadius = 'm';\n\n /** If true, the button will be disabled (no interaction allowed) */\n @Prop() disabled = false;\n\n /**\n * Tells the browser to treat the linked URL as a download. Only used when `href` is set.\n * Details: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-download\n */\n @Prop() download?: string;\n\n /** When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>` */\n @Prop({ reflect: true }) href: string;\n\n /** It determinate how the content should be aligned */\n @Prop({ reflect: true }) justifyContent: 'left' | 'center' | 'right' = 'center';\n\n /** If `true` it will display the button in a loading state */\n @Prop() loading = false;\n\n /** The size of the button */\n @Prop({ reflect: true }) size: TButtonSize = 'medium';\n\n /**\n * Where to display the linked URL, as the name for a browsing context (a `tab`, `window`, or `<iframe>`)\n * Details: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target\n */\n @Prop({ reflect: true }) target: '_blank' | '_parent' | '_self' | '_top';\n\n /** The default behavior of the button */\n @Prop({ reflect: true }) type: TButtonType = 'button';\n\n /** The variant of button to apply on top of the appearance (applicable only to `appearance=\"primary\"`) */\n @Prop({ reflect: true }) variant: TButtonVariant = 'standard';\n\n // Prop lifecycle events\n // =======================\n\n @Watch('appearance')\n @Watch('type')\n @Watch('size')\n @Watch('variant')\n checkPropValues() {\n validatePropValue(BUTTON_APPEARANCE, 'primary', this.el, 'appearance');\n validatePropValue(BUTTON_TYPE, 'button', this.el, 'type');\n validatePropValue(BUTTON_SIZE, 'medium', this.el, 'size');\n validatePropValue(BUTTON_VARIANT, 'standard', this.el, 'variant');\n }\n\n // Events section\n // Requires JSDocs for public API documentation\n // ==============================================\n\n /** Handler to be called when the button loses focus */\n @Event() bqBlur: EventEmitter<HTMLBqButtonElement>;\n\n /** Handler to be called when the button is clicked */\n @Event() bqFocus: EventEmitter<HTMLBqButtonElement>;\n\n /** Handler to be called when button gets focus */\n @Event() bqClick: EventEmitter<HTMLBqButtonElement>;\n\n // Component lifecycle events\n // Ordered by their natural call order\n // =====================================\n\n componentWillLoad() {\n this.checkPropValues();\n }\n\n // Listeners\n // ==============\n\n // Public methods API\n // These methods are exposed on the host element.\n // Always use two lines.\n // Public Methods must be async.\n // Requires JSDocs for public API documentation.\n // ===============================================\n\n // Local methods\n // Internal business logic.\n // These methods cannot be called from the host element.\n // =======================================================\n\n private handleBlur = () => {\n this.bqBlur.emit(this.el);\n };\n\n private handleFocus = () => {\n this.bqFocus.emit(this.el);\n };\n\n private handleClick = (ev: Event) => {\n const { disabled, loading, bqClick, el } = this;\n\n if (disabled || loading) {\n this.preventEvent(ev);\n return;\n }\n\n const bqClickEvent = bqClick.emit(el);\n if (bqClickEvent.defaultPrevented) {\n this.preventEvent(ev);\n return;\n }\n\n this.handleFormAction();\n };\n\n private handleFormAction() {\n const {\n type,\n internals: { form },\n } = this;\n if (isNil(form)) return;\n\n const formAction = this.formActions(form)[type];\n if (isNil(formAction)) return;\n\n formAction();\n }\n\n private formActions = (form: HTMLFormElement) => ({\n submit: () => this.submitAssociatedForm(form),\n reset: () => form.reset(),\n });\n\n private submitAssociatedForm = (form: HTMLFormElement) => {\n if (!isClient() || isNil(form)) return;\n\n const btn = document.createElement('button');\n btn.type = this.type;\n btn.hidden = true;\n form.append(btn);\n\n btn.click();\n btn.remove();\n };\n\n private handleSlotChange = () => {\n this.hasPrefix = hasSlotContent(this.prefixElem, 'prefix');\n this.hasSuffix = hasSlotContent(this.suffixElem, 'suffix');\n };\n\n private preventEvent(ev: Event) {\n ev.preventDefault();\n ev.stopPropagation();\n }\n\n // render() function\n // Always the last one in the class.\n // ===================================\n\n render() {\n const isLink = isDefined(this.href);\n const TagElem = isLink ? 'a' : 'button';\n const style = {\n ...(this.border && { '--bq-button--border-radius': `var(--bq-radius--${this.border})` }),\n };\n\n return (\n <Host style={style}>\n <TagElem\n class={{\n 'bq-button': true,\n [`bq-button--${this.appearance}`]: true,\n [`content-${this.justifyContent}`]: true,\n [`${this.variant}`]: true,\n [`${this.size}`]: true,\n block: this.block,\n disabled: this.disabled,\n 'has-prefix': this.hasPrefix,\n 'has-suffix': this.hasSuffix,\n loading: this.loading,\n }}\n aria-disabled={this.disabled ? 'true' : 'false'}\n disabled={this.disabled}\n download={isLink ? this.download : undefined}\n href={isLink ? this.href : undefined}\n part=\"button\"\n rel={isLink && this.target ? 'noreferrer noopener' : undefined}\n target={isLink ? this.target : undefined}\n type={this.type}\n tabIndex={this.disabled ? -1 : 0}\n onBlur={this.handleBlur}\n onFocus={this.handleFocus}\n onClick={this.handleClick}\n >\n <span class=\"bq-button__prefix\" ref={(spanElem) => (this.prefixElem = spanElem)} part=\"prefix\">\n <slot name=\"prefix\" onSlotchange={this.handleSlotChange} />\n </span>\n <span class=\"bq-button__label\" part=\"label\">\n <slot />\n </span>\n <span class=\"bq-button__suffix\" ref={(spanElem) => (this.suffixElem = spanElem)} part=\"suffix\">\n <slot name=\"suffix\" onSlotchange={this.handleSlotChange} />\n </span>\n {this.loading && <bq-icon class=\"bq-button__loader\" name=\"spinner-gap\" />}\n </TagElem>\n </Host>\n );\n }\n}\n","/* -------------------------------------------------------------------------- */\n/* Icon request helper */\n/* -------------------------------------------------------------------------- */\n\nimport { isNil, isString } from '../../../shared/utils';\n\nconst requests = new Map<string, Promise<unknown>>();\nexport const iconContent = new Map<string, string>();\n\n/**\n * Fetches SVG content from a given URL and optionally sanitizes it.\n * @param {string} url - The URL to fetch the SVG from.\n * @param {boolean} sanitize - Whether to sanitize the SVG content.\n * @returns {Promise<unknown>} - A promise that resolves to the SVG content.\n */\nconst fetchSvg = async (url: string, sanitize: boolean): Promise<unknown> => {\n if (isNil(url) || typeof fetch === 'undefined' || typeof window === 'undefined') {\n return;\n }\n\n if (requests.has(url)) return requests.get(url);\n\n try {\n const response = await fetch(url);\n\n if (!response.ok) {\n iconContent.set(url, '');\n return;\n }\n\n let svgContent = await response.text();\n\n if (sanitize !== false) {\n svgContent = validateContent(svgContent);\n }\n\n iconContent.set(url, svgContent);\n return svgContent;\n } catch (error) {\n console.error(`[BqIcon] Failed to fetch SVG from ${url}:`, error);\n iconContent.set(url, '');\n }\n};\n\n/**\n * Retrieves the SVG content for a given URL, fetching and caching it if necessary.\n * @param {string} url - The URL to fetch the SVG from.\n * @param {boolean} sanitize - Whether to sanitize the SVG content.\n * @returns {Promise<unknown>} - A promise that resolves to the SVG content.\n */\nexport const getSvgContent = async (url: string, sanitize: boolean): Promise<unknown> => {\n if (isNil(url)) return;\n\n let req = requests.get(url);\n\n if (isNil(req)) {\n req = fetchSvg(url, sanitize);\n requests.set(url, req);\n }\n return req;\n};\n\n/**\n * Validates and sanitizes the SVG content.\n * @param {string} svgContent - The SVG content to validate.\n * @returns {string} - The sanitized SVG content.\n */\nexport const validateContent = (svgContent: string): string => {\n if (typeof window === 'undefined' || isNil(svgContent)) return '';\n\n const svgTag = 'svg';\n const iconCssClass = 'bq-icon__svg';\n const div = document.createElement('div');\n div.innerHTML = svgContent;\n\n const svgElm = div.querySelector(svgTag);\n\n if (svgElm) {\n const existingClasses = svgElm.getAttribute('class') || '';\n svgElm.setAttribute('class', `${existingClasses} ${iconCssClass}`.trim());\n svgElm.setAttribute('part', svgTag);\n svgElm.removeAttribute('height');\n svgElm.removeAttribute('width');\n\n if (isValid(svgElm)) {\n return div.innerHTML;\n }\n }\n\n return '';\n};\n\n/**\n * Checks if an HTML element is valid (i.e., does not contain scripts or event handlers).\n * @param {HTMLElement} elm - The element to check.\n * @returns {boolean} - True if the element is valid, false otherwise.\n */\nexport const isValid = (elm: Element): boolean => {\n if (!elm) return false;\n if (elm.nodeType !== Node.ELEMENT_NODE) return false;\n if (elm.nodeName.toLowerCase() === 'script') return false;\n\n for (const attribute of Array.from(elm.attributes)) {\n if (isString(attribute.value) && attribute.value.toLowerCase().startsWith('on')) {\n return false;\n }\n }\n\n for (const childNode of Array.from(elm.children) as HTMLElement[]) {\n if (!isValid(childNode)) return false;\n }\n\n return true;\n};\n","/* -------------------------------------------------------------------------- */\n/* Icon styles */\n/* -------------------------------------------------------------------------- */\n\n@import './bq-icon.variables';\n\n:host {\n @apply inline-block;\n}\n\n/**\n * This class is added on packages/beeq/src/components/icon/helper/request.ts\n * See lines 42 and 58 for details.\n */\n.bq-icon__svg {\n @apply scale-x-[--bq-icon--direction];\n}\n","import { Component, Event, EventEmitter, h, Host, Prop, State, Watch } from '@stencil/core';\n\nimport { TIconWeight } from './bq-icon.types';\nimport { getSvgContent, iconContent } from './helper/request';\nimport { getBasePath, getColorCSSVariable, isNil } from '../../shared/utils';\n\n/**\n * The Icon component is an image that provides a visual representation of an object, action, or concept displayed on the screen.\n * It is a small graphical element that is used to enhance the user interface and improve user experience.\n *\n * @example How to use it\n * ```html\n * <bq-icon color=\"text--brand\" name=\"bell-ringing\" size=\"24\"></bq-icon>\n * ```\n *\n * @documentation https://www.beeq.design/3d466e231/p/675fad-icon\n * @status stable\n *\n * @attr {string} color - Set the stroke color of the SVG. The value should be a valid value of the palette color.\n * @attr {string} label - Label for the icon, used for accessibility.\n * @attr {string} name - Icon name to load. Please check all available icons [here](https://phosphoricons.com/).\n * @attr {string | number} size - Set the size of the SVG.\n * @attr {string} src - Set the source of the SVG. If the source is set, the name property will be ignored.\n *\n * @event svgLoaded - Callback handler to be called when the SVG has loaded.\n *\n * @part base - The component's internal wrapper that holds the icon SVG content.\n * @part svg - The `<svg>` tag element inside the component.\n *\n * @cssprop --bq-icon--color - The stroke color of the SVG.\n * @cssprop --bq-icon--size - The size of the SVG.\n */\n@Component({\n assetsDirs: ['svg'],\n tag: 'bq-icon',\n styleUrl: './scss/bq-icon.scss',\n shadow: true,\n})\nexport class BqIcon {\n // Own Properties\n // ====================\n\n // Reference to host HTML element\n // ===================================\n\n // State() variables\n // Inlined decorator, alphabetical order\n // =======================================\n\n @State() private _svgContent: string;\n\n // Public Property API\n // ========================\n\n /** Label for the icon, used for accessibility */\n @Prop({ reflect: true }) label?: string;\n\n /** Set the stroke color of the SVG. The value should be a valid value of the palette color */\n @Prop({ reflect: true }) color?: string;\n\n /** Icon name to load. Please check all available icons [here](https://phosphoricons.com/) */\n @Prop({ reflect: true }) name?: string;\n\n /** Set the size of the SVG */\n @Prop({ reflect: true }) size?: string | number = 24;\n\n /** Set the source of the SVG. If the source is set, the name property will be ignored */\n @Prop({ reflect: true }) src?: string;\n\n /** @deprecated It set the icon weight/style */\n @Prop({ reflect: true }) weight?: TIconWeight = undefined;\n\n // Prop lifecycle events\n // =======================\n\n @Watch('color')\n @Watch('name')\n @Watch('size')\n handlePropsChange() {\n this.loadIcon(this.name);\n }\n\n /**\n * !TO BE REMOVED: Delete this `@Watch()` once the deprecated `weight` property is removed\n * We need to maintain retro-compatibility until the next major release\n */\n @Watch('weight')\n handleWeightChange() {\n if (this.name.includes(this.weight)) return;\n\n console.warn(\n `❗️ [bq-icon]: the 'weight' property is deprecated, you should add the weight to the icon name.\\n\n For example, '<bq-icon name=\"bell-fill\"></bq-icon>' instead of '<bq-icon name=\"bell\" weight=\"fill\"></bq-icon>'`,\n );\n // Check if the icon is weighted. An icon is considered weighted if its weight is not 'regular' and ENV_SVG_PATH is not set.\n // Eg: if the weight is 'bold' and ENV_SVG_PATH is not set, isWeightedIcon will be true.\n const REGULAR = 'regular';\n const isWeightedIcon = !isNil(this.weight) && this.weight !== REGULAR;\n // If the icon is weighted, append the weight to the icon name. Otherwise, append nothing.\n // Eg: if isWeightedIcon is true and the weight is 'bold', weightSuffix will be '-bold'.\n const weightSuffix = isWeightedIcon ? `-${this.weight}` : '';\n // Construct the icon name by appending the weight suffix (if any) and the file extension.\n // Eg: if the name is 'my-icon' and weightSuffix is '-bold', iconName will be 'my-icon-bold.svg'.\n const iconName = `${this.name}${weightSuffix}`;\n this.loadIcon(iconName);\n }\n\n // Events section\n // Requires JSDocs for public API documentation\n // ==============================================\n\n /** Callback handler to be called when the SVG has loaded */\n @Event() svgLoaded: EventEmitter;\n\n // Component lifecycle events\n // Ordered by their natural call order\n // =====================================\n\n connectedCallback() {\n this.setupIconComponent();\n }\n\n componentWillLoad() {\n this.setupIconComponent();\n }\n\n // Listeners\n // ==============\n\n // Public methods API\n // These methods are exposed on the host element.\n // Always use two lines.\n // Public Methods must be async.\n // Requires JSDocs for public API documentation.\n // ===============================================\n\n // Local methods\n // Internal business logic.\n // These methods cannot be called from the host element.\n // =======================================================\n\n private setupIconComponent = () => {\n this.loadIcon(this.name);\n // !TO BE REMOVED: Delete this once the deprecated `weight` property is removed\n if (!isNil(this.weight)) this.handleWeightChange();\n };\n\n private getIconSource = (name: string) => {\n if (!this.name && !this.src) return;\n // Return the src if it is set\n if (this.src) return this.src;\n\n const SVG_EXTENSION = '.svg';\n const iconFileName = `${name}${SVG_EXTENSION}`;\n\n return getBasePath(iconFileName);\n };\n\n private loadIcon = (name: string) => {\n const url = this.getIconSource(name);\n getSvgContent(url, true).then(() => {\n this._svgContent = iconContent.get(url);\n this.svgLoaded.emit(this._svgContent);\n });\n };\n\n // render() function\n // Always the last one in the class.\n // ===================================\n\n render() {\n const styles = {\n ...(this.color && { '--bq-icon--color': getColorCSSVariable(this.color) }),\n ...(this.size && { '--bq-icon--size': `${this.size}px` }),\n };\n\n return (\n <Host style={styles}>\n <div\n aria-label={this.label ?? `${this.name} icon`}\n class=\"flex text-[color:--bq-icon--color] bs-[--bq-icon--size] is-[--bq-icon--size]\"\n innerHTML={this._svgContent}\n part=\"base\"\n role=\"img\"\n />\n </Host>\n );\n }\n}\n"],"mappings":";;;;2VAAO,MAAMA,EAAc,CAAC,QAAS,SAAU,SAGxC,MAAMC,EAAc,CAAC,SAAU,SAAU,SAGzC,MAAMC,EAAoB,CAAC,UAAW,YAAa,OAAQ,QAG3D,MAAMC,EAAiB,CAAC,WAAY,QAAS,UCTpD,MAAMC,EAAc,y85BACpB,MAAAC,EAAeD,E,MCiFFE,EAAQ,M,2RAIXC,WACAC,W,wBAMWC,UAMFC,UAAY,MACZC,UAAY,MAMJC,WAAgC,UAGhCC,MAAiB,MAGjBC,OAA8B,IAG/CC,SAAW,MAMXC,SAGiBC,KAGAC,eAA8C,SAG/DC,QAAU,MAGOC,KAAoB,SAMpBC,OAGAC,KAAoB,SAGpBC,QAA0B,WASnD,eAAAC,GACEC,EAAkBvB,EAAmB,UAAWwB,KAAKC,GAAI,cACzDF,EAAkBxB,EAAa,SAAUyB,KAAKC,GAAI,QAClDF,EAAkBzB,EAAa,SAAU0B,KAAKC,GAAI,QAClDF,EAAkBtB,EAAgB,WAAYuB,KAAKC,GAAI,U,CAQhDC,OAGAC,QAGAC,QAMT,iBAAAC,GACEL,KAAKF,iB,CAkBCQ,WAAa,KACnBN,KAAKE,OAAOK,KAAKP,KAAKC,GAAG,EAGnBO,YAAc,KACpBR,KAAKG,QAAQI,KAAKP,KAAKC,GAAG,EAGpBQ,YAAeC,IACrB,MAAMrB,SAAEA,EAAQI,QAAEA,EAAOW,QAAEA,EAAOH,GA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AGM,KAAKN,WAGhD,OACE6C,EAACC,EAAI,CAAAC,IAAA,2CAACH,MAAOyF,GACXxF,EAAA,OAAAE,IAAA,wDACczC,KAAK0G,OAAS,GAAG1G,KAAKoD,YAClCV,MAAM,+EACNoC,UAAW9E,KAAKyG,YAChB7D,KAAK,OACLqF,KAAK,Q","ignoreList":[]}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Built by Endavans
3
- * © https://beeq.design - Apache 2 License.
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=C(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,A(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)),C=t=>t.replace(/([A-Z])/g,"-$1").toLowerCase(),A=(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),O=(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]=O(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))},R=(t,e)=>{const[n]=a((([n,o,s=0]=[])=>((!o||o&&!p(o,e))&&(n=t()),[n,e,s])));return n},V=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)))},W=(t,e={})=>{const n=u();return n[t]||(n[t]=(o=e.detail)=>T(n.current,{type:t,...e,detail:o})),n[t]},q=f("atomico/options");globalThis[q]=globalThis[q]||{sheet:!!document.adoptedStyleSheets};const Z=globalThis[q],_={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=W("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(){const t=new Date;return new Mt(t.getFullYear(),t.getMonth()+1,t.getDate())}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 Ct(t,e=0){return Tt(t,e).add({days:6})}function At(t){return Mt.from(new Date(Date.UTC(t.year,t.month,0)))}function Ot(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=Ct(At(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 Ot(Mt.from(e),s,At(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]=V(t);return[R((()=>Lt(Mt,e)),[e]),t=>n(t?.toString())]}function It(t){const[e="",n]=V(t);return[R((()=>{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]=V(t);return[R((()=>{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 Rt(t,e){return R((()=>new Intl.DateTimeFormat(e,{timeZone:"UTC",...t})),[e,t])}function Vt(t,e,n){const o=Rt(t,n);return R((()=>{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 Wt=(t,e,n)=>Ot(t,e,n)===t,qt=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=Vt(Gt,o,a),h=Vt(Yt,o,a),f=Rt(Zt,a),p=Rt(_t,a),m=R((()=>c.start.add({months:n})),[c,n]),y=R((()=>Pt(m,o)),[m,o]),b=W("focusday",Kt),g=W("selectday",Kt),v=W("hoverday",Kt);function w(t){b(Ot(t,r,i))}function k(t){let e;switch(t.key){case"ArrowRight":e=l.add({days:qt(t)?1:-1});break;case"ArrowLeft":e=l.add({days:qt(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=Ct(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=!Wt(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&&Wt(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=W("focusday"),a=W("change"),l=R((()=>Ot(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:Rt(ie,n),formatVerbose:Rt(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=W("rangestart"),c=W("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);export{he as CalendarDate,ee as CalendarMonth,me as CalendarMulti,pe as CalendarRange};
6
- //# sourceMappingURL=p-34611c2f.js.map