@nanahoshi/mona-ui 0.27.1 → 0.28.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 (359) hide show
  1. package/docs/api/auto-complete.md +67 -0
  2. package/docs/api/avatar.md +31 -0
  3. package/docs/api/breadcrumb.md +74 -0
  4. package/docs/api/button-group.md +71 -0
  5. package/docs/api/button.md +84 -0
  6. package/docs/api/calendar.md +123 -0
  7. package/docs/api/card.md +97 -0
  8. package/docs/api/chart.md +4380 -0
  9. package/docs/api/check-box.md +70 -0
  10. package/docs/api/chip.md +55 -0
  11. package/docs/api/circular-progress-bar.md +71 -0
  12. package/docs/api/collapsible.md +71 -0
  13. package/docs/api/color-gradient.md +54 -0
  14. package/docs/api/color-palette.md +52 -0
  15. package/docs/api/color-picker.md +89 -0
  16. package/docs/api/combo-box.md +69 -0
  17. package/docs/api/command.md +282 -0
  18. package/docs/api/common.md +599 -0
  19. package/docs/api/contextmenu.md +239 -0
  20. package/docs/api/date-input.md +119 -0
  21. package/docs/api/date-picker.md +67 -0
  22. package/docs/api/datetime-picker.md +72 -0
  23. package/docs/api/dialog.md +291 -0
  24. package/docs/api/dropdown-button.md +248 -0
  25. package/docs/api/dropdown-list.md +72 -0
  26. package/docs/api/dropdowns.md +172 -0
  27. package/docs/api/editor.md +117 -0
  28. package/docs/api/expansion-panel.md +85 -0
  29. package/docs/api/fieldset.md +33 -0
  30. package/docs/api/filter.md +116 -0
  31. package/docs/api/grid.md +1445 -0
  32. package/docs/api/i18n.md +1699 -0
  33. package/docs/api/label.md +58 -0
  34. package/docs/api/list-box.md +301 -0
  35. package/docs/api/list-view.md +294 -0
  36. package/docs/api/list.md +119 -0
  37. package/docs/api/locales.md +134 -0
  38. package/docs/api/menubar.md +275 -0
  39. package/docs/api/multi-select.md +92 -0
  40. package/docs/api/notification.md +164 -0
  41. package/docs/api/numeric-text-box.md +130 -0
  42. package/docs/api/otp-input.md +100 -0
  43. package/docs/api/pager.md +371 -0
  44. package/docs/api/placeholder.md +18 -0
  45. package/docs/api/popover.md +170 -0
  46. package/docs/api/popup-menu.md +328 -0
  47. package/docs/api/popup.md +299 -0
  48. package/docs/api/progress-bar.md +79 -0
  49. package/docs/api/query.md +367 -0
  50. package/docs/api/radio-button.md +113 -0
  51. package/docs/api/rating.md +187 -0
  52. package/docs/api/scroll-view.md +93 -0
  53. package/docs/api/segmented.md +114 -0
  54. package/docs/api/sheet.md +65 -0
  55. package/docs/api/sidebar.md +583 -0
  56. package/docs/api/skeleton.md +26 -0
  57. package/docs/api/slider.md +173 -0
  58. package/docs/api/spinner.md +132 -0
  59. package/docs/api/split-button.md +261 -0
  60. package/docs/api/splitter.md +57 -0
  61. package/docs/api/stepper.md +148 -0
  62. package/docs/api/switch.md +78 -0
  63. package/docs/api/tabs.md +139 -0
  64. package/docs/api/text-area.md +20 -0
  65. package/docs/api/text-box.md +106 -0
  66. package/docs/api/theme.md +627 -0
  67. package/docs/api/time-picker.md +69 -0
  68. package/docs/api/time-selector.md +54 -0
  69. package/docs/api/tooltip.md +112 -0
  70. package/docs/api/tree-view.md +631 -0
  71. package/docs/api/window.md +245 -0
  72. package/docs/auto-complete.md +28 -329
  73. package/docs/avatar.md +4 -24
  74. package/docs/breadcrumb.md +10 -65
  75. package/docs/button-group.md +7 -60
  76. package/docs/button.md +8 -67
  77. package/docs/calendar.md +16 -121
  78. package/docs/card.md +16 -79
  79. package/docs/chart-bar.md +16 -234
  80. package/docs/chart-financial.md +10 -121
  81. package/docs/chart-funnel.md +13 -176
  82. package/docs/chart-heatmap.md +15 -131
  83. package/docs/chart-line-area.md +12 -137
  84. package/docs/chart-pie.md +17 -221
  85. package/docs/chart-radar.md +13 -129
  86. package/docs/chart-radial.md +13 -211
  87. package/docs/chart-scatter.md +6 -74
  88. package/docs/chart-treemap.md +14 -196
  89. package/docs/chart.md +168 -1892
  90. package/docs/checkbox.md +5 -61
  91. package/docs/chip.md +7 -42
  92. package/docs/circular-progress-bar.md +9 -61
  93. package/docs/collapsible.md +5 -87
  94. package/docs/color-gradient.md +8 -81
  95. package/docs/color-palette.md +7 -69
  96. package/docs/color-picker.md +9 -105
  97. package/docs/combo-box.md +28 -331
  98. package/docs/command.md +25 -236
  99. package/docs/contextmenu.md +15 -140
  100. package/docs/date-picker.md +7 -110
  101. package/docs/datetime-picker.md +7 -129
  102. package/docs/decimal-textbox.md +6 -69
  103. package/docs/dialog.md +23 -263
  104. package/docs/dropdown-button.md +15 -146
  105. package/docs/dropdown-list.md +29 -332
  106. package/docs/editor.md +10 -164
  107. package/docs/expansion-panel.md +7 -69
  108. package/docs/fieldset.md +5 -24
  109. package/docs/grid-columns.md +12 -92
  110. package/docs/grid-editing.md +29 -291
  111. package/docs/grid-grouping.md +11 -50
  112. package/docs/grid-rows.md +10 -74
  113. package/docs/grid-selection.md +7 -36
  114. package/docs/grid-server.md +8 -293
  115. package/docs/grid-sorting-filtering.md +10 -333
  116. package/docs/grid-state-export.md +17 -228
  117. package/docs/grid.md +23 -216
  118. package/docs/input.md +7 -19
  119. package/docs/installation.md +147 -15
  120. package/docs/introduction.md +37 -15
  121. package/docs/label.md +8 -39
  122. package/docs/list-box.md +21 -253
  123. package/docs/list-view.md +25 -232
  124. package/docs/menubar.md +21 -167
  125. package/docs/multi-select.md +31 -350
  126. package/docs/notification.md +17 -116
  127. package/docs/numeric-textbox.md +9 -78
  128. package/docs/otp-input.md +9 -95
  129. package/docs/pager.md +19 -239
  130. package/docs/placeholder.md +5 -18
  131. package/docs/popover.md +13 -123
  132. package/docs/popup-menu.md +22 -243
  133. package/docs/popup.md +24 -248
  134. package/docs/progress-bar.md +10 -75
  135. package/docs/radio-button.md +8 -96
  136. package/docs/range-slider.md +9 -82
  137. package/docs/rating.md +15 -163
  138. package/docs/scroll-view.md +9 -86
  139. package/docs/segmented.md +8 -90
  140. package/docs/sheet.md +10 -74
  141. package/docs/sidebar-menus.md +20 -155
  142. package/docs/sidebar-state.md +16 -134
  143. package/docs/sidebar.md +18 -218
  144. package/docs/skeleton.md +5 -26
  145. package/docs/slider.md +9 -97
  146. package/docs/spinner.md +15 -95
  147. package/docs/split-button.md +21 -166
  148. package/docs/splitter.md +9 -56
  149. package/docs/stepper.md +13 -127
  150. package/docs/switch.md +8 -58
  151. package/docs/tabs.md +13 -111
  152. package/docs/textarea.md +4 -13
  153. package/docs/textbox.md +10 -77
  154. package/docs/theming-built-in-themes.md +67 -0
  155. package/docs/theming-custom-colors.md +274 -0
  156. package/docs/theming-custom-themes.md +168 -0
  157. package/docs/theming.md +164 -248
  158. package/docs/time-picker.md +7 -112
  159. package/docs/tooltip-directive.md +12 -96
  160. package/docs/tooltip.md +12 -96
  161. package/docs/tree-view.md +42 -495
  162. package/docs/window.md +19 -230
  163. package/fesm2022/nanahoshi-mona-ui-auto-complete.mjs +1089 -603
  164. package/fesm2022/nanahoshi-mona-ui-avatar.mjs +369 -184
  165. package/fesm2022/nanahoshi-mona-ui-breadcrumb.mjs +658 -371
  166. package/fesm2022/nanahoshi-mona-ui-button-group.mjs +513 -359
  167. package/fesm2022/nanahoshi-mona-ui-button.mjs +622 -517
  168. package/fesm2022/nanahoshi-mona-ui-calendar.mjs +2070 -1573
  169. package/fesm2022/nanahoshi-mona-ui-card.mjs +620 -316
  170. package/fesm2022/nanahoshi-mona-ui-chart.mjs +61151 -64921
  171. package/fesm2022/nanahoshi-mona-ui-check-box.mjs +646 -317
  172. package/fesm2022/nanahoshi-mona-ui-chip.mjs +737 -516
  173. package/fesm2022/nanahoshi-mona-ui-circular-progress-bar.mjs +441 -242
  174. package/fesm2022/nanahoshi-mona-ui-collapsible.mjs +443 -389
  175. package/fesm2022/nanahoshi-mona-ui-color-gradient.mjs +1138 -814
  176. package/fesm2022/nanahoshi-mona-ui-color-palette.mjs +1114 -959
  177. package/fesm2022/nanahoshi-mona-ui-color-picker.mjs +858 -504
  178. package/fesm2022/nanahoshi-mona-ui-combo-box.mjs +1181 -742
  179. package/fesm2022/nanahoshi-mona-ui-command.mjs +1454 -853
  180. package/fesm2022/nanahoshi-mona-ui-common.mjs +569 -740
  181. package/fesm2022/nanahoshi-mona-ui-contextmenu.mjs +978 -532
  182. package/fesm2022/nanahoshi-mona-ui-date-input.mjs +283 -254
  183. package/fesm2022/nanahoshi-mona-ui-date-picker.mjs +973 -451
  184. package/fesm2022/nanahoshi-mona-ui-datetime-picker.mjs +1203 -658
  185. package/fesm2022/nanahoshi-mona-ui-dialog.mjs +1415 -936
  186. package/fesm2022/nanahoshi-mona-ui-dropdown-button.mjs +1165 -568
  187. package/fesm2022/nanahoshi-mona-ui-dropdown-list.mjs +1142 -677
  188. package/fesm2022/nanahoshi-mona-ui-dropdowns.mjs +1018 -729
  189. package/fesm2022/nanahoshi-mona-ui-editor.mjs +3589 -2122
  190. package/fesm2022/nanahoshi-mona-ui-expansion-panel.mjs +577 -359
  191. package/fesm2022/nanahoshi-mona-ui-fieldset.mjs +311 -151
  192. package/fesm2022/nanahoshi-mona-ui-filter.mjs +1086 -718
  193. package/fesm2022/nanahoshi-mona-ui-grid-grid-colgroup.component-NhONCVIX.mjs +77 -0
  194. package/fesm2022/nanahoshi-mona-ui-grid-grid-footer-row.component-Djv8ZnT5.mjs +480 -0
  195. package/fesm2022/nanahoshi-mona-ui-grid-grid-list.component-WbXAzGCa.mjs +470 -0
  196. package/fesm2022/nanahoshi-mona-ui-grid-grid-row.component-DkWTD3pN.mjs +2115 -0
  197. package/fesm2022/nanahoshi-mona-ui-grid-grid-virtual-list.component-DAHqTwBJ.mjs +330 -0
  198. package/fesm2022/nanahoshi-mona-ui-grid-grid.styles-BmLU-3zP.mjs +3766 -0
  199. package/fesm2022/nanahoshi-mona-ui-grid.mjs +5418 -2
  200. package/fesm2022/nanahoshi-mona-ui-i18n-icu.mjs +1379 -1079
  201. package/fesm2022/nanahoshi-mona-ui-i18n.mjs +4451 -5068
  202. package/fesm2022/nanahoshi-mona-ui-internal-filter-input.mjs +344 -143
  203. package/fesm2022/nanahoshi-mona-ui-internal-indicator-icon.mjs +257 -127
  204. package/fesm2022/nanahoshi-mona-ui-internal-list.mjs +2080 -1829
  205. package/fesm2022/nanahoshi-mona-ui-internal-popup-menu.mjs +103 -141
  206. package/fesm2022/nanahoshi-mona-ui-internal-tree.mjs +2498 -2706
  207. package/fesm2022/nanahoshi-mona-ui-internal.mjs +722 -1007
  208. package/fesm2022/nanahoshi-mona-ui-label.mjs +313 -202
  209. package/fesm2022/nanahoshi-mona-ui-list-box.mjs +1308 -1009
  210. package/fesm2022/nanahoshi-mona-ui-list-view.mjs +1411 -677
  211. package/fesm2022/nanahoshi-mona-ui-list.mjs +1 -6
  212. package/fesm2022/nanahoshi-mona-ui-locales-ar-sa.mjs +556 -577
  213. package/fesm2022/nanahoshi-mona-ui-locales-de-de.mjs +530 -573
  214. package/fesm2022/nanahoshi-mona-ui-locales-es-es.mjs +530 -573
  215. package/fesm2022/nanahoshi-mona-ui-locales-fr-fr.mjs +533 -576
  216. package/fesm2022/nanahoshi-mona-ui-locales-id-id.mjs +520 -555
  217. package/fesm2022/nanahoshi-mona-ui-locales-it-it.mjs +530 -571
  218. package/fesm2022/nanahoshi-mona-ui-locales-ja-jp.mjs +520 -555
  219. package/fesm2022/nanahoshi-mona-ui-locales-ko-kr.mjs +520 -555
  220. package/fesm2022/nanahoshi-mona-ui-locales-pt-br.mjs +530 -571
  221. package/fesm2022/nanahoshi-mona-ui-locales-ru-ru.mjs +576 -591
  222. package/fesm2022/nanahoshi-mona-ui-locales-tr-tr.mjs +530 -565
  223. package/fesm2022/nanahoshi-mona-ui-locales-zh-cn.mjs +520 -555
  224. package/fesm2022/nanahoshi-mona-ui-locales-zh-tw.mjs +520 -555
  225. package/fesm2022/nanahoshi-mona-ui-locales.mjs +59 -77
  226. package/fesm2022/nanahoshi-mona-ui-menubar.mjs +1411 -829
  227. package/fesm2022/nanahoshi-mona-ui-multi-select.mjs +1326 -702
  228. package/fesm2022/nanahoshi-mona-ui-notification.mjs +763 -675
  229. package/fesm2022/nanahoshi-mona-ui-numeric-text-box.mjs +1306 -826
  230. package/fesm2022/nanahoshi-mona-ui-otp-input.mjs +1122 -897
  231. package/fesm2022/nanahoshi-mona-ui-pager.mjs +1110 -651
  232. package/fesm2022/nanahoshi-mona-ui-placeholder.mjs +95 -53
  233. package/fesm2022/nanahoshi-mona-ui-popover.mjs +559 -397
  234. package/fesm2022/nanahoshi-mona-ui-popup-menu.mjs +2323 -1694
  235. package/fesm2022/nanahoshi-mona-ui-popup.mjs +1657 -1455
  236. package/fesm2022/nanahoshi-mona-ui-progress-bar.mjs +441 -267
  237. package/fesm2022/nanahoshi-mona-ui-query.mjs +211 -340
  238. package/fesm2022/nanahoshi-mona-ui-radio-button.mjs +1017 -548
  239. package/fesm2022/nanahoshi-mona-ui-rating.mjs +874 -624
  240. package/fesm2022/nanahoshi-mona-ui-scroll-view.mjs +1130 -917
  241. package/fesm2022/nanahoshi-mona-ui-segmented.mjs +705 -455
  242. package/fesm2022/nanahoshi-mona-ui-sheet.mjs +461 -283
  243. package/fesm2022/nanahoshi-mona-ui-sidebar.mjs +2791 -2449
  244. package/fesm2022/nanahoshi-mona-ui-skeleton.mjs +145 -90
  245. package/fesm2022/nanahoshi-mona-ui-slider.mjs +1563 -1103
  246. package/fesm2022/nanahoshi-mona-ui-spinner.mjs +738 -673
  247. package/fesm2022/nanahoshi-mona-ui-split-button.mjs +1287 -647
  248. package/fesm2022/nanahoshi-mona-ui-splitter.mjs +1313 -909
  249. package/fesm2022/nanahoshi-mona-ui-stepper.mjs +761 -540
  250. package/fesm2022/nanahoshi-mona-ui-switch.mjs +611 -280
  251. package/fesm2022/nanahoshi-mona-ui-tabs.mjs +1393 -841
  252. package/fesm2022/nanahoshi-mona-ui-text-area.mjs +142 -73
  253. package/fesm2022/nanahoshi-mona-ui-text-box.mjs +876 -374
  254. package/fesm2022/nanahoshi-mona-ui-theme.mjs +1465 -1449
  255. package/fesm2022/nanahoshi-mona-ui-time-picker.mjs +897 -443
  256. package/fesm2022/nanahoshi-mona-ui-time-selector.mjs +1100 -703
  257. package/fesm2022/nanahoshi-mona-ui-tooltip.mjs +789 -538
  258. package/fesm2022/nanahoshi-mona-ui-tree-view.mjs +1361 -805
  259. package/fesm2022/nanahoshi-mona-ui-window.mjs +2145 -1531
  260. package/fesm2022/nanahoshi-mona-ui.mjs +1 -8
  261. package/llms.txt +80 -2
  262. package/package.json +62 -23
  263. package/types/nanahoshi-mona-ui-auto-complete.d.ts +367 -233
  264. package/types/nanahoshi-mona-ui-avatar.d.ts +722 -649
  265. package/types/nanahoshi-mona-ui-breadcrumb.d.ts +134 -103
  266. package/types/nanahoshi-mona-ui-button-group.d.ts +213 -152
  267. package/types/nanahoshi-mona-ui-button.d.ts +227 -166
  268. package/types/nanahoshi-mona-ui-calendar.d.ts +324 -259
  269. package/types/nanahoshi-mona-ui-card.d.ts +125 -111
  270. package/types/nanahoshi-mona-ui-chart.d.ts +10483 -7326
  271. package/types/nanahoshi-mona-ui-check-box.d.ts +293 -180
  272. package/types/nanahoshi-mona-ui-chip.d.ts +208 -141
  273. package/types/nanahoshi-mona-ui-circular-progress-bar.d.ts +194 -133
  274. package/types/nanahoshi-mona-ui-collapsible.d.ts +105 -87
  275. package/types/nanahoshi-mona-ui-color-gradient.d.ts +281 -213
  276. package/types/nanahoshi-mona-ui-color-palette.d.ts +201 -138
  277. package/types/nanahoshi-mona-ui-color-picker.d.ts +283 -194
  278. package/types/nanahoshi-mona-ui-combo-box.d.ts +401 -262
  279. package/types/nanahoshi-mona-ui-command.d.ts +279 -191
  280. package/types/nanahoshi-mona-ui-common.d.ts +360 -385
  281. package/types/nanahoshi-mona-ui-contextmenu.d.ts +142 -117
  282. package/types/nanahoshi-mona-ui-date-input.d.ts +97 -97
  283. package/types/nanahoshi-mona-ui-date-picker.d.ts +338 -208
  284. package/types/nanahoshi-mona-ui-datetime-picker.d.ts +413 -259
  285. package/types/nanahoshi-mona-ui-dialog.d.ts +470 -381
  286. package/types/nanahoshi-mona-ui-dropdown-button.d.ts +216 -168
  287. package/types/nanahoshi-mona-ui-dropdown-list.d.ts +369 -243
  288. package/types/nanahoshi-mona-ui-dropdowns.d.ts +255 -235
  289. package/types/nanahoshi-mona-ui-editor.d.ts +302 -235
  290. package/types/nanahoshi-mona-ui-expansion-panel.d.ts +140 -109
  291. package/types/nanahoshi-mona-ui-fieldset.d.ts +98 -68
  292. package/types/nanahoshi-mona-ui-filter.d.ts +150 -124
  293. package/types/nanahoshi-mona-ui-grid.d.ts +1956 -1678
  294. package/types/nanahoshi-mona-ui-i18n-icu.d.ts +25 -34
  295. package/types/nanahoshi-mona-ui-i18n.d.ts +999 -1052
  296. package/types/nanahoshi-mona-ui-internal-filter-input.d.ts +118 -71
  297. package/types/nanahoshi-mona-ui-internal-indicator-icon.d.ts +56 -27
  298. package/types/nanahoshi-mona-ui-internal-list.d.ts +474 -408
  299. package/types/nanahoshi-mona-ui-internal-popup-menu.d.ts +143 -150
  300. package/types/nanahoshi-mona-ui-internal-tree.d.ts +493 -506
  301. package/types/nanahoshi-mona-ui-internal.d.ts +195 -213
  302. package/types/nanahoshi-mona-ui-label.d.ts +108 -78
  303. package/types/nanahoshi-mona-ui-list-box.d.ts +392 -322
  304. package/types/nanahoshi-mona-ui-list-view.d.ts +423 -282
  305. package/types/nanahoshi-mona-ui-list.d.ts +2 -1
  306. package/types/nanahoshi-mona-ui-locales-ar-sa.d.ts +540 -542
  307. package/types/nanahoshi-mona-ui-locales-de-de.d.ts +540 -542
  308. package/types/nanahoshi-mona-ui-locales-es-es.d.ts +540 -542
  309. package/types/nanahoshi-mona-ui-locales-fr-fr.d.ts +540 -542
  310. package/types/nanahoshi-mona-ui-locales-id-id.d.ts +540 -542
  311. package/types/nanahoshi-mona-ui-locales-it-it.d.ts +540 -542
  312. package/types/nanahoshi-mona-ui-locales-ja-jp.d.ts +540 -542
  313. package/types/nanahoshi-mona-ui-locales-ko-kr.d.ts +540 -542
  314. package/types/nanahoshi-mona-ui-locales-pt-br.d.ts +540 -542
  315. package/types/nanahoshi-mona-ui-locales-ru-ru.d.ts +540 -542
  316. package/types/nanahoshi-mona-ui-locales-tr-tr.d.ts +540 -542
  317. package/types/nanahoshi-mona-ui-locales-zh-cn.d.ts +540 -542
  318. package/types/nanahoshi-mona-ui-locales-zh-tw.d.ts +540 -542
  319. package/types/nanahoshi-mona-ui-locales.d.ts +17 -19
  320. package/types/nanahoshi-mona-ui-menubar.d.ts +210 -181
  321. package/types/nanahoshi-mona-ui-multi-select.d.ts +416 -276
  322. package/types/nanahoshi-mona-ui-notification.d.ts +140 -151
  323. package/types/nanahoshi-mona-ui-numeric-text-box.d.ts +407 -270
  324. package/types/nanahoshi-mona-ui-otp-input.d.ts +364 -241
  325. package/types/nanahoshi-mona-ui-pager.d.ts +379 -301
  326. package/types/nanahoshi-mona-ui-placeholder.d.ts +35 -28
  327. package/types/nanahoshi-mona-ui-popover.d.ts +176 -134
  328. package/types/nanahoshi-mona-ui-popup-menu.d.ts +488 -344
  329. package/types/nanahoshi-mona-ui-popup.d.ts +698 -560
  330. package/types/nanahoshi-mona-ui-progress-bar.d.ts +197 -137
  331. package/types/nanahoshi-mona-ui-query.d.ts +82 -88
  332. package/types/nanahoshi-mona-ui-radio-button.d.ts +434 -269
  333. package/types/nanahoshi-mona-ui-rating.d.ts +348 -254
  334. package/types/nanahoshi-mona-ui-scroll-view.d.ts +244 -172
  335. package/types/nanahoshi-mona-ui-segmented.d.ts +250 -175
  336. package/types/nanahoshi-mona-ui-sheet.d.ts +115 -63
  337. package/types/nanahoshi-mona-ui-sidebar.d.ts +653 -493
  338. package/types/nanahoshi-mona-ui-skeleton.d.ts +55 -39
  339. package/types/nanahoshi-mona-ui-slider.d.ts +503 -354
  340. package/types/nanahoshi-mona-ui-spinner.d.ts +125 -112
  341. package/types/nanahoshi-mona-ui-split-button.d.ts +241 -196
  342. package/types/nanahoshi-mona-ui-splitter.d.ts +124 -78
  343. package/types/nanahoshi-mona-ui-stepper.d.ts +206 -181
  344. package/types/nanahoshi-mona-ui-switch.d.ts +197 -131
  345. package/types/nanahoshi-mona-ui-tabs.d.ts +349 -248
  346. package/types/nanahoshi-mona-ui-text-area.d.ts +52 -36
  347. package/types/nanahoshi-mona-ui-text-box.d.ts +349 -218
  348. package/types/nanahoshi-mona-ui-theme.d.ts +415 -408
  349. package/types/nanahoshi-mona-ui-time-picker.d.ts +357 -217
  350. package/types/nanahoshi-mona-ui-time-selector.d.ts +255 -170
  351. package/types/nanahoshi-mona-ui-tooltip.d.ts +222 -144
  352. package/types/nanahoshi-mona-ui-tree-view.d.ts +466 -308
  353. package/types/nanahoshi-mona-ui-window.d.ts +494 -399
  354. package/types/nanahoshi-mona-ui.d.ts +1 -2
  355. package/fesm2022/nanahoshi-mona-ui-grid-grid-footer-row.component-DjNnVxHE.mjs +0 -181
  356. package/fesm2022/nanahoshi-mona-ui-grid-grid-list.component-ihQIKeP-.mjs +0 -208
  357. package/fesm2022/nanahoshi-mona-ui-grid-grid-row.component-BpnybNcs.mjs +0 -1082
  358. package/fesm2022/nanahoshi-mona-ui-grid-grid-virtual-list.component-CYlgfc7c.mjs +0 -186
  359. package/fesm2022/nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-LCzfCYd3.mjs +0 -7568
@@ -1,26 +1,22 @@
1
- import { CdkTrapFocus } from '@angular/cdk/a11y';
2
- import * as i0 from '@angular/core';
3
- import { inject, DestroyRef, ElementRef, computed, viewChild, input, output, booleanAttribute, model, afterNextRender, effect, untracked, forwardRef, Component } from '@angular/core';
4
- import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
5
- import { LucideClock } from '@lucide/angular';
6
- import { ButtonDirective } from '@nanahoshi/mona-ui/button';
7
- import { getLocaleHourFormat, createTypedDateInput } from '@nanahoshi/mona-ui/date-input';
8
- import * as i1 from '@nanahoshi/mona-ui/dropdowns';
9
- import { DropdownService, dropdownPopupThemeVariants, DROPDOWN_POPUP_INPUT_TOKEN, DropdownPopupHandlerDirective } from '@nanahoshi/mona-ui/dropdowns';
10
- import { MonaI18nService, getLocaleTimeInputFormat } from '@nanahoshi/mona-ui/i18n';
11
- import { themeControlSurfaceClasses, injectEffectiveDisabled, createElementControlId } from '@nanahoshi/mona-ui/internal';
12
- import { TextBoxComponent, TextBoxSuffixTemplateDirective } from '@nanahoshi/mona-ui/text-box';
13
- import { TimeSelectorComponent } from '@nanahoshi/mona-ui/time-selector';
14
- import { twMerge } from 'tailwind-merge';
15
- import { cva } from 'class-variance-authority';
16
-
17
- // Generated from i18n/catalogs/en-US.messages.json by scripts/generate-locale-catalogs.ts. Do not edit.
18
- // Edit the JSON file and run `npm run generate:locale-catalogs`.
1
+ import { CdkTrapFocus } from "@angular/cdk/a11y";
2
+ import * as i0 from "@angular/core";
3
+ import { Component, DestroyRef, ElementRef, afterNextRender, booleanAttribute, computed, effect, forwardRef, inject, input, model, output, untracked, viewChild } from "@angular/core";
4
+ import { takeUntilDestroyed } from "@angular/core/rxjs-interop";
5
+ import { LucideClock } from "@lucide/angular";
6
+ import { ButtonDirective } from "@nanahoshi/mona-ui/button";
7
+ import { createTypedDateInput, getLocaleHourFormat } from "@nanahoshi/mona-ui/date-input";
8
+ import * as i1 from "@nanahoshi/mona-ui/dropdowns";
9
+ import { DROPDOWN_POPUP_INPUT_TOKEN, DropdownPopupHandlerDirective, DropdownService, dropdownPopupThemeVariants } from "@nanahoshi/mona-ui/dropdowns";
10
+ import { MonaI18nService, getLocaleTimeInputFormat } from "@nanahoshi/mona-ui/i18n";
11
+ import { createElementControlId, injectEffectiveDisabled, themeControlSurfaceClasses } from "@nanahoshi/mona-ui/internal";
12
+ import { TextBoxComponent, TextBoxSuffixTemplateDirective } from "@nanahoshi/mona-ui/text-box";
13
+ import { TimeSelectorComponent } from "@nanahoshi/mona-ui/time-selector";
14
+ import { twMerge } from "tailwind-merge";
15
+ import { cva } from "class-variance-authority";
19
16
  const TIME_PICKER_DEFAULT_MESSAGES = {
20
- openTimePicker: "Open time picker",
21
- timePicker: "Time picker"
17
+ openTimePicker: "Open time picker",
18
+ timePicker: "Time picker"
22
19
  };
23
-
24
20
  const timePickerBaseThemeVariants = cva(`
25
21
  flex w-full items-center
26
22
  ${themeControlSurfaceClasses} text-foreground
@@ -49,427 +45,885 @@ const timePickerBaseThemeVariants = cva(`
49
45
  [&_mona-text-box]:focus-within:ring-0
50
46
  [&_mona-text-box[data-invalid='true']]:ring-0
51
47
  `, {
52
- variants: {
53
- focused: {
54
- true: "border-focus-indicator ring-2 ring-focus-indicator/35",
55
- false: ""
56
- },
57
- rounded: {
58
- full: "rounded-full",
59
- large: "rounded-lg",
60
- medium: "rounded-md",
61
- none: "rounded-none",
62
- small: "rounded-sm"
63
- },
64
- size: {
65
- large: "h-10 text-base",
66
- medium: "h-9 text-sm",
67
- small: "h-8 text-xs"
68
- }
69
- },
70
- compoundVariants: [
71
- {
72
- focused: true,
73
- class: "data-[invalid='true']:border-error data-[invalid='true']:ring-error/35"
74
- }
75
- ]
48
+ variants: {
49
+ focused: {
50
+ true: "border-focus-indicator ring-2 ring-focus-indicator/35",
51
+ false: ""
52
+ },
53
+ rounded: {
54
+ full: "rounded-full",
55
+ large: "rounded-lg",
56
+ medium: "rounded-md",
57
+ none: "rounded-none",
58
+ small: "rounded-sm"
59
+ },
60
+ size: {
61
+ large: "h-10 text-base",
62
+ medium: "h-9 text-sm",
63
+ small: "h-8 text-xs"
64
+ }
65
+ },
66
+ compoundVariants: [{
67
+ focused: true,
68
+ class: "data-[invalid='true']:border-error data-[invalid='true']:ring-error/35"
69
+ }]
70
+ });
71
+ var TimePickerComponent = class TimePickerComponent {
72
+ #destroyRef;
73
+ #dropdownService;
74
+ #hostElementRef;
75
+ #i18n;
76
+ constructor() {
77
+ this.#destroyRef = inject(DestroyRef);
78
+ this.#dropdownService = inject(DropdownService);
79
+ this.#hostElementRef = inject(ElementRef);
80
+ this.#i18n = inject(MonaI18nService);
81
+ this.baseClass = computed(() => {
82
+ const focused = this.#dropdownService.popupRef() != null;
83
+ const rounded = this.rounded();
84
+ const size = this.size();
85
+ const variantClass = timePickerBaseThemeVariants({
86
+ focused,
87
+ rounded,
88
+ size
89
+ });
90
+ const userClass = this.userClass();
91
+ return twMerge(variantClass, userClass);
92
+ }, ...ngDevMode ? [{ debugName: "baseClass" }] : /* istanbul ignore next */ []);
93
+ this.effectiveDisabled = injectEffectiveDisabled(() => this.disabled());
94
+ this.effectiveFormat = computed(() => {
95
+ return this.format() ?? getLocaleTimeInputFormat(this.#i18n.localeId(), {
96
+ hourFormat: this.effectiveHourFormat(),
97
+ showSeconds: this.showSeconds()
98
+ });
99
+ }, ...ngDevMode ? [{ debugName: "effectiveFormat" }] : /* istanbul ignore next */ []);
100
+ this.effectiveHourFormat = computed(() => this.hourFormat() ?? getLocaleHourFormat(this.#i18n.localeId()), ...ngDevMode ? [{ debugName: "effectiveHourFormat" }] : /* istanbul ignore next */ []);
101
+ this.expanded = computed(() => this.#dropdownService.popupRef() != null, ...ngDevMode ? [{ debugName: "expanded" }] : /* istanbul ignore next */ []);
102
+ this.inputAttributes = computed(() => {
103
+ return {
104
+ "aria-autocomplete": "none",
105
+ "aria-controls": this.popupId,
106
+ "aria-expanded": this.expanded() ? "true" : "false",
107
+ "aria-haspopup": "dialog",
108
+ readonly: this.readonly() || this.readonlyInput(),
109
+ role: "combobox"
110
+ };
111
+ }, ...ngDevMode ? [{ debugName: "inputAttributes" }] : /* istanbul ignore next */ []);
112
+ this.invalidState = computed(() => this.typedInput.errors().length > 0 || this.touched() && (this.invalid() || this.required() && !this.value()), ...ngDevMode ? [{ debugName: "invalidState" }] : /* istanbul ignore next */ []);
113
+ this.messages = this.#i18n.componentMessages("timePicker", TIME_PICKER_DEFAULT_MESSAGES);
114
+ this.pickerPopupClass = computed(() => {
115
+ const rounded = this.rounded();
116
+ const size = this.size();
117
+ const userClass = this.popupClass();
118
+ const variantClass = dropdownPopupThemeVariants({
119
+ rounded,
120
+ size
121
+ });
122
+ return twMerge(variantClass, userClass);
123
+ }, ...ngDevMode ? [{ debugName: "pickerPopupClass" }] : /* istanbul ignore next */ []);
124
+ this.popupId = createElementControlId();
125
+ this.timePopupTemplateRef = viewChild.required("timePopupTemplate", ...ngDevMode ? [{ debugName: "timePopupTemplateRef" }] : /* istanbul ignore next */ []);
126
+ this.ariaDescribedBy = input("", {
127
+ ...ngDevMode ? { debugName: "ariaDescribedBy" } : /* istanbul ignore next */ {},
128
+ alias: "aria-describedby"
129
+ });
130
+ this.ariaLabel = input("", {
131
+ ...ngDevMode ? { debugName: "ariaLabel" } : /* istanbul ignore next */ {},
132
+ alias: "aria-label"
133
+ });
134
+ this.ariaLabelledBy = input("", {
135
+ ...ngDevMode ? { debugName: "ariaLabelledBy" } : /* istanbul ignore next */ {},
136
+ alias: "aria-labelledby"
137
+ });
138
+ this.close = output();
139
+ this.closed = output();
140
+ this.disabled = input(false, {
141
+ ...ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {},
142
+ transform: booleanAttribute
143
+ });
144
+ this.format = input(null, ...ngDevMode ? [{ debugName: "format" }] : /* istanbul ignore next */ []);
145
+ this.hourFormat = input(null, ...ngDevMode ? [{ debugName: "hourFormat" }] : /* istanbul ignore next */ []);
146
+ this.hourStep = input(1, ...ngDevMode ? [{ debugName: "hourStep" }] : /* istanbul ignore next */ []);
147
+ this.inputId = input(createElementControlId(), ...ngDevMode ? [{ debugName: "inputId" }] : /* istanbul ignore next */ []);
148
+ this.invalid = input(false, {
149
+ ...ngDevMode ? { debugName: "invalid" } : /* istanbul ignore next */ {},
150
+ transform: booleanAttribute
151
+ });
152
+ this.max = input(void 0, {
153
+ ...ngDevMode ? { debugName: "max" } : /* istanbul ignore next */ {},
154
+ transform: (value) => value instanceof Date ? value : void 0
155
+ });
156
+ this.min = input(void 0, {
157
+ ...ngDevMode ? { debugName: "min" } : /* istanbul ignore next */ {},
158
+ transform: (value) => value instanceof Date ? value : void 0
159
+ });
160
+ this.minuteStep = input(1, ...ngDevMode ? [{ debugName: "minuteStep" }] : /* istanbul ignore next */ []);
161
+ this.open = output();
162
+ this.opened = output();
163
+ this.placeholder = input("", ...ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []);
164
+ this.popupClass = input("", ...ngDevMode ? [{ debugName: "popupClass" }] : /* istanbul ignore next */ []);
165
+ this.popupHeight = input(...ngDevMode ? [void 0, { debugName: "popupHeight" }] : /* istanbul ignore next */ []);
166
+ this.popupWidth = input(...ngDevMode ? [void 0, { debugName: "popupWidth" }] : /* istanbul ignore next */ []);
167
+ this.readonly = input(false, {
168
+ ...ngDevMode ? { debugName: "readonly" } : /* istanbul ignore next */ {},
169
+ transform: booleanAttribute
170
+ });
171
+ this.readonlyInput = input(false, {
172
+ ...ngDevMode ? { debugName: "readonlyInput" } : /* istanbul ignore next */ {},
173
+ transform: booleanAttribute
174
+ });
175
+ this.required = input(false, {
176
+ ...ngDevMode ? { debugName: "required" } : /* istanbul ignore next */ {},
177
+ transform: booleanAttribute
178
+ });
179
+ this.rounded = input("medium", ...ngDevMode ? [{ debugName: "rounded" }] : /* istanbul ignore next */ []);
180
+ this.secondStep = input(1, ...ngDevMode ? [{ debugName: "secondStep" }] : /* istanbul ignore next */ []);
181
+ this.showClearButton = input(false, {
182
+ ...ngDevMode ? { debugName: "showClearButton" } : /* istanbul ignore next */ {},
183
+ transform: booleanAttribute
184
+ });
185
+ this.showSeconds = input(false, {
186
+ ...ngDevMode ? { debugName: "showSeconds" } : /* istanbul ignore next */ {},
187
+ transform: booleanAttribute
188
+ });
189
+ this.size = input("medium", ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
190
+ this.touch = output();
191
+ this.touched = input(false, {
192
+ ...ngDevMode ? { debugName: "touched" } : /* istanbul ignore next */ {},
193
+ transform: booleanAttribute
194
+ });
195
+ this.userClass = input("", {
196
+ ...ngDevMode ? { debugName: "userClass" } : /* istanbul ignore next */ {},
197
+ alias: "class"
198
+ });
199
+ this.value = model(null, ...ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []);
200
+ this.typedInput = createTypedDateInput({
201
+ constraints: () => ({
202
+ max: this.max(),
203
+ min: this.min(),
204
+ unit: "time"
205
+ }),
206
+ format: () => this.effectiveFormat(),
207
+ localeId: () => this.#i18n.localeId(),
208
+ resolve: (parsed, current) => {
209
+ const day = current ?? /* @__PURE__ */ new Date();
210
+ return parsed.set({
211
+ year: day.getFullYear(),
212
+ month: day.getMonth() + 1,
213
+ day: day.getDate()
214
+ }).toJSDate();
215
+ },
216
+ value: this.value
217
+ });
218
+ afterNextRender({ read: () => this.setPopupCloseSubscription() });
219
+ effect(() => {
220
+ const popupTemplate = this.timePopupTemplateRef();
221
+ untracked(() => this.#dropdownService.popupTemplate.set(popupTemplate));
222
+ });
223
+ }
224
+ focus(options) {
225
+ const input = this.#hostElementRef.nativeElement.querySelector("input");
226
+ if (input) {
227
+ input.focus(options);
228
+ input.setSelectionRange(input.value.length, input.value.length);
229
+ }
230
+ }
231
+ onFocusIn(event) {
232
+ if (event.target === this.#hostElementRef.nativeElement) this.focus();
233
+ }
234
+ onFocusOut(event) {
235
+ if (this.#destroyRef.destroyed) return;
236
+ const nextTarget = event.relatedTarget;
237
+ if (nextTarget instanceof Node) {
238
+ const popupElement = this.#dropdownService.popupRef()?.overlayRef.overlayElement;
239
+ if (this.#hostElementRef.nativeElement.contains(nextTarget) || popupElement?.contains(nextTarget)) return;
240
+ }
241
+ this.touch.emit();
242
+ }
243
+ onInputBlur() {
244
+ this.typedInput.commit();
245
+ }
246
+ onKeydown(event) {
247
+ if (this.effectiveDisabled() || this.readonly()) return;
248
+ if (event.altKey && event.key === "ArrowDown") {
249
+ event.preventDefault();
250
+ this.openPopup();
251
+ } else if (event.altKey && event.key === "ArrowUp" || event.key === "Escape") {
252
+ if (this.expanded()) {
253
+ event.preventDefault();
254
+ this.#dropdownService.popupRef()?.close();
255
+ }
256
+ } else if (event.key === "Enter" && event.target instanceof HTMLInputElement) {
257
+ if (!event.isComposing && event.keyCode !== 229) this.typedInput.commit();
258
+ }
259
+ }
260
+ onTimeInputButtonClick() {
261
+ if (this.effectiveDisabled() || this.readonly()) return;
262
+ if (this.#dropdownService.popupRef()) {
263
+ this.#dropdownService.popupRef()?.close();
264
+ return;
265
+ }
266
+ this.openPopup();
267
+ }
268
+ onTimeSelectorValueChange(date) {
269
+ this.value.set(date);
270
+ this.#dropdownService.popupRef()?.close();
271
+ }
272
+ openPopup() {
273
+ if (this.#dropdownService.popupRef()) return;
274
+ this.#dropdownService.triggerPopupOpen$.next({
275
+ height: this.popupHeight() || "fit-content",
276
+ width: this.popupWidth() || "auto"
277
+ });
278
+ }
279
+ setPopupCloseSubscription() {
280
+ this.#dropdownService.popupCloseComplete$.pipe(takeUntilDestroyed(this.#destroyRef)).subscribe(() => {
281
+ if (this.#dropdownService.focusCanReturn()) this.focus();
282
+ else if (!this.#destroyRef.destroyed) this.touch.emit();
283
+ });
284
+ }
285
+ static {
286
+ this.ɵfac = i0.ɵɵngDeclareFactory({
287
+ minVersion: "12.0.0",
288
+ version: "22.2.6",
289
+ ngImport: i0,
290
+ type: TimePickerComponent,
291
+ deps: [],
292
+ target: i0.ɵɵFactoryTarget.Component
293
+ });
294
+ }
295
+ static {
296
+ this.ɵcmp = i0.ɵɵngDeclareComponent({
297
+ minVersion: "17.2.0",
298
+ version: "22.2.6",
299
+ type: TimePickerComponent,
300
+ isStandalone: true,
301
+ selector: "mona-time-picker",
302
+ inputs: {
303
+ ariaDescribedBy: {
304
+ classPropertyName: "ariaDescribedBy",
305
+ publicName: "aria-describedby",
306
+ isSignal: true,
307
+ isRequired: false,
308
+ transformFunction: null
309
+ },
310
+ ariaLabel: {
311
+ classPropertyName: "ariaLabel",
312
+ publicName: "aria-label",
313
+ isSignal: true,
314
+ isRequired: false,
315
+ transformFunction: null
316
+ },
317
+ ariaLabelledBy: {
318
+ classPropertyName: "ariaLabelledBy",
319
+ publicName: "aria-labelledby",
320
+ isSignal: true,
321
+ isRequired: false,
322
+ transformFunction: null
323
+ },
324
+ disabled: {
325
+ classPropertyName: "disabled",
326
+ publicName: "disabled",
327
+ isSignal: true,
328
+ isRequired: false,
329
+ transformFunction: null
330
+ },
331
+ format: {
332
+ classPropertyName: "format",
333
+ publicName: "format",
334
+ isSignal: true,
335
+ isRequired: false,
336
+ transformFunction: null
337
+ },
338
+ hourFormat: {
339
+ classPropertyName: "hourFormat",
340
+ publicName: "hourFormat",
341
+ isSignal: true,
342
+ isRequired: false,
343
+ transformFunction: null
344
+ },
345
+ hourStep: {
346
+ classPropertyName: "hourStep",
347
+ publicName: "hourStep",
348
+ isSignal: true,
349
+ isRequired: false,
350
+ transformFunction: null
351
+ },
352
+ inputId: {
353
+ classPropertyName: "inputId",
354
+ publicName: "inputId",
355
+ isSignal: true,
356
+ isRequired: false,
357
+ transformFunction: null
358
+ },
359
+ invalid: {
360
+ classPropertyName: "invalid",
361
+ publicName: "invalid",
362
+ isSignal: true,
363
+ isRequired: false,
364
+ transformFunction: null
365
+ },
366
+ max: {
367
+ classPropertyName: "max",
368
+ publicName: "max",
369
+ isSignal: true,
370
+ isRequired: false,
371
+ transformFunction: null
372
+ },
373
+ min: {
374
+ classPropertyName: "min",
375
+ publicName: "min",
376
+ isSignal: true,
377
+ isRequired: false,
378
+ transformFunction: null
379
+ },
380
+ minuteStep: {
381
+ classPropertyName: "minuteStep",
382
+ publicName: "minuteStep",
383
+ isSignal: true,
384
+ isRequired: false,
385
+ transformFunction: null
386
+ },
387
+ placeholder: {
388
+ classPropertyName: "placeholder",
389
+ publicName: "placeholder",
390
+ isSignal: true,
391
+ isRequired: false,
392
+ transformFunction: null
393
+ },
394
+ popupClass: {
395
+ classPropertyName: "popupClass",
396
+ publicName: "popupClass",
397
+ isSignal: true,
398
+ isRequired: false,
399
+ transformFunction: null
400
+ },
401
+ popupHeight: {
402
+ classPropertyName: "popupHeight",
403
+ publicName: "popupHeight",
404
+ isSignal: true,
405
+ isRequired: false,
406
+ transformFunction: null
407
+ },
408
+ popupWidth: {
409
+ classPropertyName: "popupWidth",
410
+ publicName: "popupWidth",
411
+ isSignal: true,
412
+ isRequired: false,
413
+ transformFunction: null
414
+ },
415
+ readonly: {
416
+ classPropertyName: "readonly",
417
+ publicName: "readonly",
418
+ isSignal: true,
419
+ isRequired: false,
420
+ transformFunction: null
421
+ },
422
+ readonlyInput: {
423
+ classPropertyName: "readonlyInput",
424
+ publicName: "readonlyInput",
425
+ isSignal: true,
426
+ isRequired: false,
427
+ transformFunction: null
428
+ },
429
+ required: {
430
+ classPropertyName: "required",
431
+ publicName: "required",
432
+ isSignal: true,
433
+ isRequired: false,
434
+ transformFunction: null
435
+ },
436
+ rounded: {
437
+ classPropertyName: "rounded",
438
+ publicName: "rounded",
439
+ isSignal: true,
440
+ isRequired: false,
441
+ transformFunction: null
442
+ },
443
+ secondStep: {
444
+ classPropertyName: "secondStep",
445
+ publicName: "secondStep",
446
+ isSignal: true,
447
+ isRequired: false,
448
+ transformFunction: null
449
+ },
450
+ showClearButton: {
451
+ classPropertyName: "showClearButton",
452
+ publicName: "showClearButton",
453
+ isSignal: true,
454
+ isRequired: false,
455
+ transformFunction: null
456
+ },
457
+ showSeconds: {
458
+ classPropertyName: "showSeconds",
459
+ publicName: "showSeconds",
460
+ isSignal: true,
461
+ isRequired: false,
462
+ transformFunction: null
463
+ },
464
+ size: {
465
+ classPropertyName: "size",
466
+ publicName: "size",
467
+ isSignal: true,
468
+ isRequired: false,
469
+ transformFunction: null
470
+ },
471
+ touched: {
472
+ classPropertyName: "touched",
473
+ publicName: "touched",
474
+ isSignal: true,
475
+ isRequired: false,
476
+ transformFunction: null
477
+ },
478
+ userClass: {
479
+ classPropertyName: "userClass",
480
+ publicName: "class",
481
+ isSignal: true,
482
+ isRequired: false,
483
+ transformFunction: null
484
+ },
485
+ value: {
486
+ classPropertyName: "value",
487
+ publicName: "value",
488
+ isSignal: true,
489
+ isRequired: false,
490
+ transformFunction: null
491
+ }
492
+ },
493
+ outputs: {
494
+ close: "close",
495
+ closed: "closed",
496
+ open: "open",
497
+ opened: "opened",
498
+ touch: "touch",
499
+ value: "valueChange"
500
+ },
501
+ host: {
502
+ listeners: {
503
+ "focusin": "onFocusIn($event)",
504
+ "focusout": "onFocusOut($event)",
505
+ "keydown": "onKeydown($event)"
506
+ },
507
+ properties: {
508
+ "attr.aria-describedby": "null",
509
+ "attr.aria-label": "null",
510
+ "attr.aria-labelledby": "null",
511
+ "attr.tabindex": "effectiveDisabled() ? null : -1",
512
+ "attr.aria-invalid": "invalidState() ? 'true' : null",
513
+ "attr.data-disabled": "effectiveDisabled() || null",
514
+ "attr.data-expanded": "expanded()",
515
+ "attr.data-invalid": "invalidState() || null",
516
+ "attr.data-readonly": "readonly() || null",
517
+ "class": "baseClass()"
518
+ }
519
+ },
520
+ providers: [DropdownService, {
521
+ provide: DROPDOWN_POPUP_INPUT_TOKEN,
522
+ useExisting: forwardRef(() => TimePickerComponent),
523
+ multi: false
524
+ }],
525
+ viewQueries: [{
526
+ propertyName: "timePopupTemplateRef",
527
+ first: true,
528
+ predicate: ["timePopupTemplate"],
529
+ descendants: true,
530
+ isSignal: true
531
+ }],
532
+ hostDirectives: [{ directive: i1.DropdownPopupHandlerDirective }],
533
+ ngImport: i0,
534
+ template: "<mona-text-box\n [aria-describedby]=\"ariaDescribedBy()\"\n [aria-label]=\"ariaLabel()\"\n [aria-labelledby]=\"ariaLabelledBy()\"\n [disabled]=\"effectiveDisabled()\"\n [inputId]=\"inputId()\"\n [readonly]=\"readonly()\"\n [required]=\"required()\"\n [value]=\"typedInput.text()\"\n [inputAttributes]=\"inputAttributes()\"\n [invalid]=\"invalidState()\"\n [placeholder]=\"placeholder()\"\n [rounded]=\"rounded()\"\n [size]=\"size()\"\n [touched]=\"invalidState() || touched()\"\n [clearButton]=\"showClearButton()\"\n (valueChange)=\"typedInput.edit($event)\"\n (inputBlur)=\"onInputBlur()\">\n <ng-template monaTextBoxSuffixTemplate>\n <button\n monaButton\n look=\"ghost\"\n [iconOnly]=\"true\"\n [size]=\"size()\"\n [rounded]=\"'none'\"\n (click)=\"onTimeInputButtonClick()\"\n class=\"aspect-square h-full w-auto\"\n [attr.aria-label]=\"messages().openTimePicker\"\n [attr.aria-expanded]=\"expanded()\"\n [attr.aria-controls]=\"popupId\"\n [disabled]=\"effectiveDisabled() || readonly()\"\n [tabindex]=\"-1\">\n <svg lucideClock [size]=\"16\" aria-hidden=\"true\"></svg>\n </button>\n </ng-template>\n</mona-text-box>\n\n<ng-template #timePopupTemplate>\n <div\n [class]=\"pickerPopupClass()\"\n [id]=\"popupId\"\n aria-modal=\"true\"\n role=\"dialog\"\n [attr.aria-label]=\"messages().timePicker\"\n cdkTrapFocus>\n <mona-time-selector\n focusOnMount\n [value]=\"value()\"\n (valueChange)=\"onTimeSelectorValueChange($event)\"\n [max]=\"max()\"\n [min]=\"min()\"\n [disabled]=\"effectiveDisabled()\"\n [readonly]=\"readonly()\"\n [hourFormat]=\"effectiveHourFormat()\"\n [hourStep]=\"hourStep()\"\n [minuteStep]=\"minuteStep()\"\n [secondStep]=\"secondStep()\"\n [size]=\"size()\"\n [rounded]=\"rounded()\"\n [showSeconds]=\"showSeconds()\"></mona-time-selector>\n </div>\n</ng-template>\n",
535
+ dependencies: [
536
+ {
537
+ kind: "component",
538
+ type: LucideClock,
539
+ selector: "svg[lucideClock]"
540
+ },
541
+ {
542
+ kind: "directive",
543
+ type: ButtonDirective,
544
+ selector: "button[monaButton]",
545
+ inputs: [
546
+ "aria-haspopup",
547
+ "disabled",
548
+ "iconOnly",
549
+ "loading",
550
+ "look",
551
+ "rounded",
552
+ "selected",
553
+ "size",
554
+ "tabindex",
555
+ "toggleable",
556
+ "type",
557
+ "class",
558
+ "value"
559
+ ],
560
+ outputs: ["lookChange", "selectedChange"]
561
+ },
562
+ {
563
+ kind: "component",
564
+ type: TimeSelectorComponent,
565
+ selector: "mona-time-selector",
566
+ inputs: [
567
+ "aria-label",
568
+ "disabled",
569
+ "focusOnMount",
570
+ "footer",
571
+ "hourFormat",
572
+ "hourStep",
573
+ "invalid",
574
+ "max",
575
+ "min",
576
+ "minuteStep",
577
+ "readonly",
578
+ "required",
579
+ "rounded",
580
+ "secondStep",
581
+ "showSeconds",
582
+ "size",
583
+ "touched",
584
+ "value"
585
+ ],
586
+ outputs: ["touch", "valueChange"]
587
+ },
588
+ {
589
+ kind: "component",
590
+ type: TextBoxComponent,
591
+ selector: "mona-text-box",
592
+ inputs: [
593
+ "aria-describedby",
594
+ "aria-label",
595
+ "aria-labelledby",
596
+ "clearButton",
597
+ "disabled",
598
+ "inputAttributes",
599
+ "inputClass",
600
+ "inputId",
601
+ "inputStyle",
602
+ "invalid",
603
+ "maxLength",
604
+ "minLength",
605
+ "name",
606
+ "placeholder",
607
+ "readonly",
608
+ "required",
609
+ "rounded",
610
+ "size",
611
+ "touched",
612
+ "type",
613
+ "class",
614
+ "value"
615
+ ],
616
+ outputs: [
617
+ "inputBlur",
618
+ "inputFocus",
619
+ "touch",
620
+ "valueChange"
621
+ ]
622
+ },
623
+ {
624
+ kind: "directive",
625
+ type: TextBoxSuffixTemplateDirective,
626
+ selector: "ng-template[monaTextBoxSuffixTemplate]"
627
+ },
628
+ {
629
+ kind: "directive",
630
+ type: CdkTrapFocus,
631
+ selector: "[cdkTrapFocus]",
632
+ inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"],
633
+ exportAs: ["cdkTrapFocus"]
634
+ }
635
+ ]
636
+ });
637
+ }
638
+ };
639
+ i0.ɵɵngDeclareClassMetadata({
640
+ minVersion: "12.0.0",
641
+ version: "22.2.6",
642
+ ngImport: i0,
643
+ type: TimePickerComponent,
644
+ decorators: [{
645
+ type: Component,
646
+ args: [{
647
+ selector: "mona-time-picker",
648
+ providers: [DropdownService, {
649
+ provide: DROPDOWN_POPUP_INPUT_TOKEN,
650
+ useExisting: forwardRef(() => TimePickerComponent),
651
+ multi: false
652
+ }],
653
+ imports: [
654
+ LucideClock,
655
+ ButtonDirective,
656
+ TimeSelectorComponent,
657
+ TextBoxComponent,
658
+ TextBoxSuffixTemplateDirective,
659
+ CdkTrapFocus
660
+ ],
661
+ hostDirectives: [DropdownPopupHandlerDirective],
662
+ host: {
663
+ "[attr.aria-describedby]": "null",
664
+ "[attr.aria-label]": "null",
665
+ "[attr.aria-labelledby]": "null",
666
+ "[attr.tabindex]": "effectiveDisabled() ? null : -1",
667
+ "[attr.aria-invalid]": "invalidState() ? 'true' : null",
668
+ "[attr.data-disabled]": "effectiveDisabled() || null",
669
+ "[attr.data-expanded]": "expanded()",
670
+ "[attr.data-invalid]": "invalidState() || null",
671
+ "[attr.data-readonly]": "readonly() || null",
672
+ "[class]": "baseClass()",
673
+ "(focusin)": "onFocusIn($event)",
674
+ "(focusout)": "onFocusOut($event)",
675
+ "(keydown)": "onKeydown($event)"
676
+ },
677
+ template: "<mona-text-box\n [aria-describedby]=\"ariaDescribedBy()\"\n [aria-label]=\"ariaLabel()\"\n [aria-labelledby]=\"ariaLabelledBy()\"\n [disabled]=\"effectiveDisabled()\"\n [inputId]=\"inputId()\"\n [readonly]=\"readonly()\"\n [required]=\"required()\"\n [value]=\"typedInput.text()\"\n [inputAttributes]=\"inputAttributes()\"\n [invalid]=\"invalidState()\"\n [placeholder]=\"placeholder()\"\n [rounded]=\"rounded()\"\n [size]=\"size()\"\n [touched]=\"invalidState() || touched()\"\n [clearButton]=\"showClearButton()\"\n (valueChange)=\"typedInput.edit($event)\"\n (inputBlur)=\"onInputBlur()\">\n <ng-template monaTextBoxSuffixTemplate>\n <button\n monaButton\n look=\"ghost\"\n [iconOnly]=\"true\"\n [size]=\"size()\"\n [rounded]=\"'none'\"\n (click)=\"onTimeInputButtonClick()\"\n class=\"aspect-square h-full w-auto\"\n [attr.aria-label]=\"messages().openTimePicker\"\n [attr.aria-expanded]=\"expanded()\"\n [attr.aria-controls]=\"popupId\"\n [disabled]=\"effectiveDisabled() || readonly()\"\n [tabindex]=\"-1\">\n <svg lucideClock [size]=\"16\" aria-hidden=\"true\"></svg>\n </button>\n </ng-template>\n</mona-text-box>\n\n<ng-template #timePopupTemplate>\n <div\n [class]=\"pickerPopupClass()\"\n [id]=\"popupId\"\n aria-modal=\"true\"\n role=\"dialog\"\n [attr.aria-label]=\"messages().timePicker\"\n cdkTrapFocus>\n <mona-time-selector\n focusOnMount\n [value]=\"value()\"\n (valueChange)=\"onTimeSelectorValueChange($event)\"\n [max]=\"max()\"\n [min]=\"min()\"\n [disabled]=\"effectiveDisabled()\"\n [readonly]=\"readonly()\"\n [hourFormat]=\"effectiveHourFormat()\"\n [hourStep]=\"hourStep()\"\n [minuteStep]=\"minuteStep()\"\n [secondStep]=\"secondStep()\"\n [size]=\"size()\"\n [rounded]=\"rounded()\"\n [showSeconds]=\"showSeconds()\"></mona-time-selector>\n </div>\n</ng-template>\n"
678
+ }]
679
+ }],
680
+ ctorParameters: () => [],
681
+ propDecorators: {
682
+ timePopupTemplateRef: [{
683
+ type: i0.ViewChild,
684
+ args: ["timePopupTemplate", { isSignal: true }]
685
+ }],
686
+ ariaDescribedBy: [{
687
+ type: i0.Input,
688
+ args: [{
689
+ isSignal: true,
690
+ alias: "aria-describedby",
691
+ required: false
692
+ }]
693
+ }],
694
+ ariaLabel: [{
695
+ type: i0.Input,
696
+ args: [{
697
+ isSignal: true,
698
+ alias: "aria-label",
699
+ required: false
700
+ }]
701
+ }],
702
+ ariaLabelledBy: [{
703
+ type: i0.Input,
704
+ args: [{
705
+ isSignal: true,
706
+ alias: "aria-labelledby",
707
+ required: false
708
+ }]
709
+ }],
710
+ close: [{
711
+ type: i0.Output,
712
+ args: ["close"]
713
+ }],
714
+ closed: [{
715
+ type: i0.Output,
716
+ args: ["closed"]
717
+ }],
718
+ disabled: [{
719
+ type: i0.Input,
720
+ args: [{
721
+ isSignal: true,
722
+ alias: "disabled",
723
+ required: false
724
+ }]
725
+ }],
726
+ format: [{
727
+ type: i0.Input,
728
+ args: [{
729
+ isSignal: true,
730
+ alias: "format",
731
+ required: false
732
+ }]
733
+ }],
734
+ hourFormat: [{
735
+ type: i0.Input,
736
+ args: [{
737
+ isSignal: true,
738
+ alias: "hourFormat",
739
+ required: false
740
+ }]
741
+ }],
742
+ hourStep: [{
743
+ type: i0.Input,
744
+ args: [{
745
+ isSignal: true,
746
+ alias: "hourStep",
747
+ required: false
748
+ }]
749
+ }],
750
+ inputId: [{
751
+ type: i0.Input,
752
+ args: [{
753
+ isSignal: true,
754
+ alias: "inputId",
755
+ required: false
756
+ }]
757
+ }],
758
+ invalid: [{
759
+ type: i0.Input,
760
+ args: [{
761
+ isSignal: true,
762
+ alias: "invalid",
763
+ required: false
764
+ }]
765
+ }],
766
+ max: [{
767
+ type: i0.Input,
768
+ args: [{
769
+ isSignal: true,
770
+ alias: "max",
771
+ required: false
772
+ }]
773
+ }],
774
+ min: [{
775
+ type: i0.Input,
776
+ args: [{
777
+ isSignal: true,
778
+ alias: "min",
779
+ required: false
780
+ }]
781
+ }],
782
+ minuteStep: [{
783
+ type: i0.Input,
784
+ args: [{
785
+ isSignal: true,
786
+ alias: "minuteStep",
787
+ required: false
788
+ }]
789
+ }],
790
+ open: [{
791
+ type: i0.Output,
792
+ args: ["open"]
793
+ }],
794
+ opened: [{
795
+ type: i0.Output,
796
+ args: ["opened"]
797
+ }],
798
+ placeholder: [{
799
+ type: i0.Input,
800
+ args: [{
801
+ isSignal: true,
802
+ alias: "placeholder",
803
+ required: false
804
+ }]
805
+ }],
806
+ popupClass: [{
807
+ type: i0.Input,
808
+ args: [{
809
+ isSignal: true,
810
+ alias: "popupClass",
811
+ required: false
812
+ }]
813
+ }],
814
+ popupHeight: [{
815
+ type: i0.Input,
816
+ args: [{
817
+ isSignal: true,
818
+ alias: "popupHeight",
819
+ required: false
820
+ }]
821
+ }],
822
+ popupWidth: [{
823
+ type: i0.Input,
824
+ args: [{
825
+ isSignal: true,
826
+ alias: "popupWidth",
827
+ required: false
828
+ }]
829
+ }],
830
+ readonly: [{
831
+ type: i0.Input,
832
+ args: [{
833
+ isSignal: true,
834
+ alias: "readonly",
835
+ required: false
836
+ }]
837
+ }],
838
+ readonlyInput: [{
839
+ type: i0.Input,
840
+ args: [{
841
+ isSignal: true,
842
+ alias: "readonlyInput",
843
+ required: false
844
+ }]
845
+ }],
846
+ required: [{
847
+ type: i0.Input,
848
+ args: [{
849
+ isSignal: true,
850
+ alias: "required",
851
+ required: false
852
+ }]
853
+ }],
854
+ rounded: [{
855
+ type: i0.Input,
856
+ args: [{
857
+ isSignal: true,
858
+ alias: "rounded",
859
+ required: false
860
+ }]
861
+ }],
862
+ secondStep: [{
863
+ type: i0.Input,
864
+ args: [{
865
+ isSignal: true,
866
+ alias: "secondStep",
867
+ required: false
868
+ }]
869
+ }],
870
+ showClearButton: [{
871
+ type: i0.Input,
872
+ args: [{
873
+ isSignal: true,
874
+ alias: "showClearButton",
875
+ required: false
876
+ }]
877
+ }],
878
+ showSeconds: [{
879
+ type: i0.Input,
880
+ args: [{
881
+ isSignal: true,
882
+ alias: "showSeconds",
883
+ required: false
884
+ }]
885
+ }],
886
+ size: [{
887
+ type: i0.Input,
888
+ args: [{
889
+ isSignal: true,
890
+ alias: "size",
891
+ required: false
892
+ }]
893
+ }],
894
+ touch: [{
895
+ type: i0.Output,
896
+ args: ["touch"]
897
+ }],
898
+ touched: [{
899
+ type: i0.Input,
900
+ args: [{
901
+ isSignal: true,
902
+ alias: "touched",
903
+ required: false
904
+ }]
905
+ }],
906
+ userClass: [{
907
+ type: i0.Input,
908
+ args: [{
909
+ isSignal: true,
910
+ alias: "class",
911
+ required: false
912
+ }]
913
+ }],
914
+ value: [{
915
+ type: i0.Input,
916
+ args: [{
917
+ isSignal: true,
918
+ alias: "value",
919
+ required: false
920
+ }]
921
+ }, {
922
+ type: i0.Output,
923
+ args: ["valueChange"]
924
+ }]
925
+ }
76
926
  });
77
-
78
- class TimePickerComponent {
79
- #destroyRef;
80
- #dropdownService;
81
- #hostElementRef;
82
- #i18n;
83
- constructor() {
84
- this.#destroyRef = inject(DestroyRef);
85
- this.#dropdownService = inject(DropdownService);
86
- this.#hostElementRef = inject(ElementRef);
87
- this.#i18n = inject(MonaI18nService);
88
- this.baseClass = computed(() => {
89
- const focused = this.#dropdownService.popupRef() != null;
90
- const rounded = this.rounded();
91
- const size = this.size();
92
- const variantClass = timePickerBaseThemeVariants({ focused, rounded, size });
93
- const userClass = this.userClass();
94
- return twMerge(variantClass, userClass);
95
- }, /* @ts-ignore */
96
- ...(ngDevMode ? [{ debugName: "baseClass" }] : /* istanbul ignore next */ []));
97
- this.effectiveDisabled = injectEffectiveDisabled(() => this.disabled());
98
- this.effectiveFormat = computed(() => {
99
- return (this.format() ??
100
- getLocaleTimeInputFormat(this.#i18n.localeId(), {
101
- hourFormat: this.effectiveHourFormat(),
102
- showSeconds: this.showSeconds()
103
- }));
104
- }, /* @ts-ignore */
105
- ...(ngDevMode ? [{ debugName: "effectiveFormat" }] : /* istanbul ignore next */ []));
106
- this.effectiveHourFormat = computed(() => this.hourFormat() ?? getLocaleHourFormat(this.#i18n.localeId()), /* @ts-ignore */
107
- ...(ngDevMode ? [{ debugName: "effectiveHourFormat" }] : /* istanbul ignore next */ []));
108
- this.expanded = computed(() => this.#dropdownService.popupRef() != null, /* @ts-ignore */
109
- ...(ngDevMode ? [{ debugName: "expanded" }] : /* istanbul ignore next */ []));
110
- this.inputAttributes = computed(() => {
111
- return {
112
- "aria-autocomplete": "none",
113
- "aria-controls": this.popupId,
114
- // The binder drops `false`, and a combobox must always say whether it's expanded.
115
- "aria-expanded": this.expanded() ? "true" : "false",
116
- "aria-haspopup": "dialog",
117
- // The text box hides its clear button when read-only, so typing is blocked here instead.
118
- readonly: this.readonly() || this.readonlyInput(),
119
- role: "combobox"
120
- };
121
- }, /* @ts-ignore */
122
- ...(ngDevMode ? [{ debugName: "inputAttributes" }] : /* istanbul ignore next */ []));
123
- this.invalidState = computed(() => this.typedInput.errors().length > 0 ||
124
- (this.touched() && (this.invalid() || (this.required() && !this.value()))), /* @ts-ignore */
125
- ...(ngDevMode ? [{ debugName: "invalidState" }] : /* istanbul ignore next */ []));
126
- this.messages = this.#i18n.componentMessages("timePicker", TIME_PICKER_DEFAULT_MESSAGES);
127
- this.pickerPopupClass = computed(() => {
128
- const rounded = this.rounded();
129
- const size = this.size();
130
- const userClass = this.popupClass();
131
- const variantClass = dropdownPopupThemeVariants({ rounded, size });
132
- return twMerge(variantClass, userClass);
133
- }, /* @ts-ignore */
134
- ...(ngDevMode ? [{ debugName: "pickerPopupClass" }] : /* istanbul ignore next */ []));
135
- this.popupId = createElementControlId();
136
- this.timePopupTemplateRef = viewChild.required("timePopupTemplate", /* @ts-ignore */
137
- ...(ngDevMode ? [{ debugName: "timePopupTemplateRef" }] : /* istanbul ignore next */ []));
138
- /**
139
- * @description Id of an element that describes the input, such as a hint or an error message.
140
- * @default ""
141
- */
142
- this.ariaDescribedBy = input("", { ...(ngDevMode ? { debugName: "ariaDescribedBy" } : /* istanbul ignore next */ {}), alias: "aria-describedby" });
143
- /**
144
- * @description Accessible name of the input. Prefer a visible label, linked through {@link inputId} or
145
- * `aria-labelledby`; the placeholder is not a label.
146
- * @default ""
147
- */
148
- this.ariaLabel = input("", { ...(ngDevMode ? { debugName: "ariaLabel" } : /* istanbul ignore next */ {}), alias: "aria-label" });
149
- /**
150
- * @description Id of the element that labels the input.
151
- * @default ""
152
- */
153
- this.ariaLabelledBy = input("", { ...(ngDevMode ? { debugName: "ariaLabelledBy" } : /* istanbul ignore next */ {}), alias: "aria-labelledby" });
154
- /**
155
- * @description Emits when the popup is about to close. This event is preventable.
156
- */
157
- // eslint-disable-next-line @angular-eslint/no-output-native
158
- this.close = output();
159
- /**
160
- * @description Emits after the popup is closed.
161
- */
162
- this.closed = output();
163
- /**
164
- * @description Sets the disabled state of the time picker.
165
- * @default false
166
- */
167
- this.disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
168
- /**
169
- * @description Sets the format of the time picker. If not specified, derives from the active locale, hourFormat,
170
- * and showSeconds. Typed text is also accepted with one-digit hours, minutes and seconds.
171
- * @default null
172
- */
173
- this.format = input(null, /* @ts-ignore */
174
- ...(ngDevMode ? [{ debugName: "format" }] : /* istanbul ignore next */ []));
175
- /**
176
- * @description Sets the hour format of the time picker. When null, the active locale's clock is used: 12-hour for
177
- * en-US, 24-hour for de-DE.
178
- * @default null
179
- */
180
- this.hourFormat = input(null, /* @ts-ignore */
181
- ...(ngDevMode ? [{ debugName: "hourFormat" }] : /* istanbul ignore next */ []));
182
- /**
183
- * @description Sets the hour step of the time picker.
184
- * @default 1
185
- */
186
- this.hourStep = input(1, /* @ts-ignore */
187
- ...(ngDevMode ? [{ debugName: "hourStep" }] : /* istanbul ignore next */ []));
188
- /**
189
- * @description Id of the inner `<input>` element. Point a `<label for>` or `<mona-label for>` at it to label the
190
- * time picker. A unique id is generated when it isn't set.
191
- * @default generated
192
- */
193
- this.inputId = input(createElementControlId(), /* @ts-ignore */
194
- ...(ngDevMode ? [{ debugName: "inputId" }] : /* istanbul ignore next */ []));
195
- /**
196
- * @description Marks the time picker as invalid. When bound to a signal form field via `[formField]`,
197
- * this is written by the `FormField` directive.
198
- * @default false
199
- */
200
- this.invalid = input(false, { ...(ngDevMode ? { debugName: "invalid" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
201
- /**
202
- * @description Sets the latest time of the time picker. Only the time of day is compared; a later typed time is
203
- * reported as a `maxDate` error.
204
- * @default undefined
205
- */
206
- this.max = input(undefined, { ...(ngDevMode ? { debugName: "max" } : /* istanbul ignore next */ {}), transform: value => (value instanceof Date ? value : undefined) });
207
- /**
208
- * @description Sets the earliest time of the time picker. Only the time of day is compared; an earlier typed time
209
- * is reported as a `minDate` error.
210
- * @default undefined
211
- */
212
- this.min = input(undefined, { ...(ngDevMode ? { debugName: "min" } : /* istanbul ignore next */ {}), transform: value => (value instanceof Date ? value : undefined) });
213
- /**
214
- * @description Sets the minute step of the time picker.
215
- * @default 1
216
- */
217
- this.minuteStep = input(1, /* @ts-ignore */
218
- ...(ngDevMode ? [{ debugName: "minuteStep" }] : /* istanbul ignore next */ []));
219
- /**
220
- * @description Emits when the popup is about to open. This event is preventable.
221
- */
222
- this.open = output();
223
- /**
224
- * @description Emits after the popup is opened.
225
- */
226
- this.opened = output();
227
- /**
228
- * @description Sets the placeholder of the time picker.
229
- */
230
- this.placeholder = input("", /* @ts-ignore */
231
- ...(ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []));
232
- /**
233
- * @description Sets the class of the popup element.
234
- * @default ""
235
- */
236
- this.popupClass = input("", /* @ts-ignore */
237
- ...(ngDevMode ? [{ debugName: "popupClass" }] : /* istanbul ignore next */ []));
238
- /**
239
- * @description Sets the height of the popup element. When not set, the popup fits the time selector.
240
- * @default undefined
241
- */
242
- this.popupHeight = input(/* @ts-ignore */
243
- ...(ngDevMode ? [undefined, { debugName: "popupHeight" }] : /* istanbul ignore next */ []));
244
- /**
245
- * @description Sets the width of the popup element. When not set, the popup fits the time selector.
246
- * @default undefined
247
- */
248
- this.popupWidth = input(/* @ts-ignore */
249
- ...(ngDevMode ? [undefined, { debugName: "popupWidth" }] : /* istanbul ignore next */ []));
250
- /**
251
- * @description Sets the readonly state of the time picker.
252
- * @default false
253
- */
254
- this.readonly = input(false, { ...(ngDevMode ? { debugName: "readonly" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
255
- /**
256
- * @description When true, the input is readonly but the popup button remains enabled.
257
- * @default false
258
- */
259
- this.readonlyInput = input(false, { ...(ngDevMode ? { debugName: "readonlyInput" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
260
- /**
261
- * @description Sets the required state of the time picker.
262
- * When bound to a signal form field via `[formField]`, this is written by the `FormField` directive.
263
- * @default false
264
- */
265
- this.required = input(false, { ...(ngDevMode ? { debugName: "required" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
266
- /**
267
- * @description Sets the border radius of the time picker.
268
- */
269
- this.rounded = input("medium", /* @ts-ignore */
270
- ...(ngDevMode ? [{ debugName: "rounded" }] : /* istanbul ignore next */ []));
271
- /**
272
- * @description Sets the second step of the time picker.
273
- * @default 1
274
- */
275
- this.secondStep = input(1, /* @ts-ignore */
276
- ...(ngDevMode ? [{ debugName: "secondStep" }] : /* istanbul ignore next */ []));
277
- /**
278
- * @description Sets the visibility of the clear button. Clearing empties the value at once.
279
- * @default false
280
- */
281
- this.showClearButton = input(false, { ...(ngDevMode ? { debugName: "showClearButton" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
282
- /**
283
- * @description Sets the visibility of the second selector.
284
- * @default false
285
- */
286
- this.showSeconds = input(false, { ...(ngDevMode ? { debugName: "showSeconds" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
287
- /**
288
- * @description Sets the size of the time picker.
289
- */
290
- this.size = input("medium", /* @ts-ignore */
291
- ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
292
- /**
293
- * @description Emitted when focus leaves the time picker and its popup.
294
- * The `FormField` directive listens to this to mark the field as touched.
295
- */
296
- this.touch = output();
297
- /**
298
- * @description Sets the touched state of the time picker. When bound to a signal form field via `[formField]`,
299
- * this is written by the `FormField` directive.
300
- * @default false
301
- */
302
- this.touched = input(false, { ...(ngDevMode ? { debugName: "touched" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
303
- /** @description Extra classes for the input's container. */
304
- this.userClass = input("", { ...(ngDevMode ? { debugName: "userClass" } : /* istanbul ignore next */ {}), alias: "class" });
305
- /**
306
- * @description Two-way bindable current time value. Typed text is written on Enter and when the input loses
307
- * focus, on the current value's day (today when empty); text that isn't a valid time keeps the previous value
308
- * and marks the field invalid.
309
- * @default null
310
- */
311
- this.value = model(null, /* @ts-ignore */
312
- ...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
313
- this.typedInput = createTypedDateInput({
314
- constraints: () => ({ max: this.max(), min: this.min(), unit: "time" }),
315
- format: () => this.effectiveFormat(),
316
- localeId: () => this.#i18n.localeId(),
317
- resolve: (parsed, current) => {
318
- const day = current ?? new Date();
319
- return parsed
320
- .set({ year: day.getFullYear(), month: day.getMonth() + 1, day: day.getDate() })
321
- .toJSDate();
322
- },
323
- value: this.value
324
- });
325
- afterNextRender({
326
- read: () => this.setPopupCloseSubscription()
327
- });
328
- effect(() => {
329
- const popupTemplate = this.timePopupTemplateRef();
330
- untracked(() => this.#dropdownService.popupTemplate.set(popupTemplate));
331
- });
332
- }
333
- /**
334
- * Focuses the input and places the caret after the text. Read-only pickers take focus too.
335
- * @param options Options passed to the native `focus()` call, such as `preventScroll`.
336
- */
337
- focus(options) {
338
- const input = this.#hostElementRef.nativeElement.querySelector("input");
339
- if (input) {
340
- input.focus(options);
341
- input.setSelectionRange(input.value.length, input.value.length);
342
- }
343
- }
344
- onFocusIn(event) {
345
- // The host is focusable only to pass focus on; focus inside it, such as a click in the text, stays put.
346
- if (event.target === this.#hostElementRef.nativeElement) {
347
- this.focus();
348
- }
349
- }
350
- onFocusOut(event) {
351
- // Removing a focused picker from the page fires focusout after it is destroyed.
352
- if (this.#destroyRef.destroyed) {
353
- return;
354
- }
355
- const nextTarget = event.relatedTarget;
356
- if (nextTarget instanceof Node) {
357
- const popupElement = this.#dropdownService.popupRef()?.overlayRef.overlayElement;
358
- if (this.#hostElementRef.nativeElement.contains(nextTarget) || popupElement?.contains(nextTarget)) {
359
- return;
360
- }
361
- }
362
- this.touch.emit();
363
- }
364
- onInputBlur() {
365
- this.typedInput.commit();
366
- }
367
- onKeydown(event) {
368
- if (this.effectiveDisabled() || this.readonly()) {
369
- return;
370
- }
371
- if (event.altKey && event.key === "ArrowDown") {
372
- event.preventDefault();
373
- this.openPopup();
374
- }
375
- else if ((event.altKey && event.key === "ArrowUp") || event.key === "Escape") {
376
- if (this.expanded()) {
377
- event.preventDefault();
378
- this.#dropdownService.popupRef()?.close();
379
- }
380
- }
381
- else if (event.key === "Enter" && event.target instanceof HTMLInputElement) {
382
- // Committed before a surrounding form submits; an IME uses Enter to confirm its text.
383
- if (!event.isComposing && event.keyCode !== 229) {
384
- this.typedInput.commit();
385
- }
386
- }
387
- }
388
- onTimeInputButtonClick() {
389
- if (this.effectiveDisabled() || this.readonly()) {
390
- return;
391
- }
392
- if (this.#dropdownService.popupRef()) {
393
- this.#dropdownService.popupRef()?.close();
394
- return;
395
- }
396
- this.openPopup();
397
- }
398
- onTimeSelectorValueChange(date) {
399
- this.value.set(date);
400
- this.#dropdownService.popupRef()?.close();
401
- }
402
- openPopup() {
403
- if (this.#dropdownService.popupRef()) {
404
- return;
405
- }
406
- this.#dropdownService.triggerPopupOpen$.next({
407
- height: this.popupHeight() || "fit-content",
408
- width: this.popupWidth() || "auto"
409
- });
410
- }
411
- setPopupCloseSubscription() {
412
- this.#dropdownService.popupCloseComplete$.pipe(takeUntilDestroyed(this.#destroyRef)).subscribe(() => {
413
- if (this.#dropdownService.focusCanReturn()) {
414
- this.focus();
415
- }
416
- else if (!this.#destroyRef.destroyed) {
417
- // Focus left from inside the popup, which the host's focusout doesn't see.
418
- this.touch.emit();
419
- }
420
- });
421
- }
422
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: TimePickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
423
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.0.6", type: TimePickerComponent, isStandalone: true, selector: "mona-time-picker", inputs: { ariaDescribedBy: { classPropertyName: "ariaDescribedBy", publicName: "aria-describedby", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "aria-label", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "aria-labelledby", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, format: { classPropertyName: "format", publicName: "format", isSignal: true, isRequired: false, transformFunction: null }, hourFormat: { classPropertyName: "hourFormat", publicName: "hourFormat", isSignal: true, isRequired: false, transformFunction: null }, hourStep: { classPropertyName: "hourStep", publicName: "hourStep", isSignal: true, isRequired: false, transformFunction: null }, inputId: { classPropertyName: "inputId", publicName: "inputId", isSignal: true, isRequired: false, transformFunction: null }, invalid: { classPropertyName: "invalid", publicName: "invalid", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, minuteStep: { classPropertyName: "minuteStep", publicName: "minuteStep", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, popupClass: { classPropertyName: "popupClass", publicName: "popupClass", isSignal: true, isRequired: false, transformFunction: null }, popupHeight: { classPropertyName: "popupHeight", publicName: "popupHeight", isSignal: true, isRequired: false, transformFunction: null }, popupWidth: { classPropertyName: "popupWidth", publicName: "popupWidth", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, readonlyInput: { classPropertyName: "readonlyInput", publicName: "readonlyInput", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, rounded: { classPropertyName: "rounded", publicName: "rounded", isSignal: true, isRequired: false, transformFunction: null }, secondStep: { classPropertyName: "secondStep", publicName: "secondStep", isSignal: true, isRequired: false, transformFunction: null }, showClearButton: { classPropertyName: "showClearButton", publicName: "showClearButton", isSignal: true, isRequired: false, transformFunction: null }, showSeconds: { classPropertyName: "showSeconds", publicName: "showSeconds", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, touched: { classPropertyName: "touched", publicName: "touched", isSignal: true, isRequired: false, transformFunction: null }, userClass: { classPropertyName: "userClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { close: "close", closed: "closed", open: "open", opened: "opened", touch: "touch", value: "valueChange" }, host: { listeners: { "focusin": "onFocusIn($event)", "focusout": "onFocusOut($event)", "keydown": "onKeydown($event)" }, properties: { "attr.aria-describedby": "null", "attr.aria-label": "null", "attr.aria-labelledby": "null", "attr.tabindex": "effectiveDisabled() ? null : -1", "attr.aria-invalid": "invalidState() ? 'true' : null", "attr.data-disabled": "effectiveDisabled() || null", "attr.data-expanded": "expanded()", "attr.data-invalid": "invalidState() || null", "attr.data-readonly": "readonly() || null", "class": "baseClass()" } }, providers: [
424
- DropdownService,
425
- {
426
- provide: DROPDOWN_POPUP_INPUT_TOKEN,
427
- useExisting: forwardRef(() => TimePickerComponent),
428
- multi: false
429
- }
430
- ], viewQueries: [{ propertyName: "timePopupTemplateRef", first: true, predicate: ["timePopupTemplate"], descendants: true, isSignal: true }], hostDirectives: [{ directive: i1.DropdownPopupHandlerDirective }], ngImport: i0, template: "<mona-text-box\n [aria-describedby]=\"ariaDescribedBy()\"\n [aria-label]=\"ariaLabel()\"\n [aria-labelledby]=\"ariaLabelledBy()\"\n [disabled]=\"effectiveDisabled()\"\n [inputId]=\"inputId()\"\n [readonly]=\"readonly()\"\n [required]=\"required()\"\n [value]=\"typedInput.text()\"\n [inputAttributes]=\"inputAttributes()\"\n [invalid]=\"invalidState()\"\n [placeholder]=\"placeholder()\"\n [rounded]=\"rounded()\"\n [size]=\"size()\"\n [touched]=\"invalidState() || touched()\"\n [clearButton]=\"showClearButton()\"\n (valueChange)=\"typedInput.edit($event)\"\n (inputBlur)=\"onInputBlur()\">\n <ng-template monaTextBoxSuffixTemplate>\n <button\n monaButton\n look=\"ghost\"\n [iconOnly]=\"true\"\n [size]=\"size()\"\n [rounded]=\"'none'\"\n (click)=\"onTimeInputButtonClick()\"\n class=\"aspect-square h-full w-auto\"\n [attr.aria-label]=\"messages().openTimePicker\"\n [attr.aria-expanded]=\"expanded()\"\n [attr.aria-controls]=\"popupId\"\n [disabled]=\"effectiveDisabled() || readonly()\"\n [tabindex]=\"-1\">\n <svg lucideClock [size]=\"16\" aria-hidden=\"true\"></svg>\n </button>\n </ng-template>\n</mona-text-box>\n\n<ng-template #timePopupTemplate>\n <div\n [class]=\"pickerPopupClass()\"\n [id]=\"popupId\"\n aria-modal=\"true\"\n role=\"dialog\"\n [attr.aria-label]=\"messages().timePicker\"\n cdkTrapFocus>\n <mona-time-selector\n focusOnMount\n [value]=\"value()\"\n (valueChange)=\"onTimeSelectorValueChange($event)\"\n [max]=\"max()\"\n [min]=\"min()\"\n [disabled]=\"effectiveDisabled()\"\n [readonly]=\"readonly()\"\n [hourFormat]=\"effectiveHourFormat()\"\n [hourStep]=\"hourStep()\"\n [minuteStep]=\"minuteStep()\"\n [secondStep]=\"secondStep()\"\n [size]=\"size()\"\n [rounded]=\"rounded()\"\n [showSeconds]=\"showSeconds()\"></mona-time-selector>\n </div>\n</ng-template>\n", dependencies: [{ kind: "component", type: LucideClock, selector: "svg[lucideClock]" }, { kind: "directive", type: ButtonDirective, selector: "button[monaButton]", inputs: ["aria-haspopup", "disabled", "iconOnly", "loading", "look", "rounded", "selected", "size", "tabindex", "toggleable", "type", "class", "value"], outputs: ["lookChange", "selectedChange"] }, { kind: "component", type: TimeSelectorComponent, selector: "mona-time-selector", inputs: ["aria-label", "disabled", "focusOnMount", "footer", "hourFormat", "hourStep", "invalid", "max", "min", "minuteStep", "readonly", "required", "rounded", "secondStep", "showSeconds", "size", "touched", "value"], outputs: ["touch", "valueChange"] }, { kind: "component", type: TextBoxComponent, selector: "mona-text-box", inputs: ["aria-describedby", "aria-label", "aria-labelledby", "clearButton", "disabled", "inputAttributes", "inputClass", "inputId", "inputStyle", "invalid", "maxLength", "minLength", "name", "placeholder", "readonly", "required", "rounded", "size", "touched", "type", "class", "value"], outputs: ["inputBlur", "inputFocus", "touch", "valueChange"] }, { kind: "directive", type: TextBoxSuffixTemplateDirective, selector: "ng-template[monaTextBoxSuffixTemplate]" }, { kind: "directive", type: CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }] }); }
431
- }
432
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: TimePickerComponent, decorators: [{
433
- type: Component,
434
- args: [{ selector: "mona-time-picker", providers: [
435
- DropdownService,
436
- {
437
- provide: DROPDOWN_POPUP_INPUT_TOKEN,
438
- useExisting: forwardRef(() => TimePickerComponent),
439
- multi: false
440
- }
441
- ], imports: [
442
- LucideClock,
443
- ButtonDirective,
444
- TimeSelectorComponent,
445
- TextBoxComponent,
446
- TextBoxSuffixTemplateDirective,
447
- CdkTrapFocus
448
- ], hostDirectives: [DropdownPopupHandlerDirective], host: {
449
- // The ARIA inputs below are applied to the inner input, so the host must not keep the static attributes.
450
- "[attr.aria-describedby]": "null",
451
- "[attr.aria-label]": "null",
452
- "[attr.aria-labelledby]": "null",
453
- "[attr.tabindex]": "effectiveDisabled() ? null : -1",
454
- "[attr.aria-invalid]": "invalidState() ? 'true' : null",
455
- "[attr.data-disabled]": "effectiveDisabled() || null",
456
- "[attr.data-expanded]": "expanded()",
457
- "[attr.data-invalid]": "invalidState() || null",
458
- "[attr.data-readonly]": "readonly() || null",
459
- "[class]": "baseClass()",
460
- "(focusin)": "onFocusIn($event)",
461
- "(focusout)": "onFocusOut($event)",
462
- "(keydown)": "onKeydown($event)"
463
- }, template: "<mona-text-box\n [aria-describedby]=\"ariaDescribedBy()\"\n [aria-label]=\"ariaLabel()\"\n [aria-labelledby]=\"ariaLabelledBy()\"\n [disabled]=\"effectiveDisabled()\"\n [inputId]=\"inputId()\"\n [readonly]=\"readonly()\"\n [required]=\"required()\"\n [value]=\"typedInput.text()\"\n [inputAttributes]=\"inputAttributes()\"\n [invalid]=\"invalidState()\"\n [placeholder]=\"placeholder()\"\n [rounded]=\"rounded()\"\n [size]=\"size()\"\n [touched]=\"invalidState() || touched()\"\n [clearButton]=\"showClearButton()\"\n (valueChange)=\"typedInput.edit($event)\"\n (inputBlur)=\"onInputBlur()\">\n <ng-template monaTextBoxSuffixTemplate>\n <button\n monaButton\n look=\"ghost\"\n [iconOnly]=\"true\"\n [size]=\"size()\"\n [rounded]=\"'none'\"\n (click)=\"onTimeInputButtonClick()\"\n class=\"aspect-square h-full w-auto\"\n [attr.aria-label]=\"messages().openTimePicker\"\n [attr.aria-expanded]=\"expanded()\"\n [attr.aria-controls]=\"popupId\"\n [disabled]=\"effectiveDisabled() || readonly()\"\n [tabindex]=\"-1\">\n <svg lucideClock [size]=\"16\" aria-hidden=\"true\"></svg>\n </button>\n </ng-template>\n</mona-text-box>\n\n<ng-template #timePopupTemplate>\n <div\n [class]=\"pickerPopupClass()\"\n [id]=\"popupId\"\n aria-modal=\"true\"\n role=\"dialog\"\n [attr.aria-label]=\"messages().timePicker\"\n cdkTrapFocus>\n <mona-time-selector\n focusOnMount\n [value]=\"value()\"\n (valueChange)=\"onTimeSelectorValueChange($event)\"\n [max]=\"max()\"\n [min]=\"min()\"\n [disabled]=\"effectiveDisabled()\"\n [readonly]=\"readonly()\"\n [hourFormat]=\"effectiveHourFormat()\"\n [hourStep]=\"hourStep()\"\n [minuteStep]=\"minuteStep()\"\n [secondStep]=\"secondStep()\"\n [size]=\"size()\"\n [rounded]=\"rounded()\"\n [showSeconds]=\"showSeconds()\"></mona-time-selector>\n </div>\n</ng-template>\n" }]
464
- }], ctorParameters: () => [], propDecorators: { timePopupTemplateRef: [{ type: i0.ViewChild, args: ["timePopupTemplate", { isSignal: true }] }], ariaDescribedBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "aria-describedby", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "aria-label", required: false }] }], ariaLabelledBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "aria-labelledby", required: false }] }], close: [{ type: i0.Output, args: ["close"] }], closed: [{ type: i0.Output, args: ["closed"] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], format: [{ type: i0.Input, args: [{ isSignal: true, alias: "format", required: false }] }], hourFormat: [{ type: i0.Input, args: [{ isSignal: true, alias: "hourFormat", required: false }] }], hourStep: [{ type: i0.Input, args: [{ isSignal: true, alias: "hourStep", required: false }] }], inputId: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputId", required: false }] }], invalid: [{ type: i0.Input, args: [{ isSignal: true, alias: "invalid", required: false }] }], max: [{ type: i0.Input, args: [{ isSignal: true, alias: "max", required: false }] }], min: [{ type: i0.Input, args: [{ isSignal: true, alias: "min", required: false }] }], minuteStep: [{ type: i0.Input, args: [{ isSignal: true, alias: "minuteStep", required: false }] }], open: [{ type: i0.Output, args: ["open"] }], opened: [{ type: i0.Output, args: ["opened"] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], popupClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "popupClass", required: false }] }], popupHeight: [{ type: i0.Input, args: [{ isSignal: true, alias: "popupHeight", required: false }] }], popupWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "popupWidth", required: false }] }], readonly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readonly", required: false }] }], readonlyInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "readonlyInput", required: false }] }], required: [{ type: i0.Input, args: [{ isSignal: true, alias: "required", required: false }] }], rounded: [{ type: i0.Input, args: [{ isSignal: true, alias: "rounded", required: false }] }], secondStep: [{ type: i0.Input, args: [{ isSignal: true, alias: "secondStep", required: false }] }], showClearButton: [{ type: i0.Input, args: [{ isSignal: true, alias: "showClearButton", required: false }] }], showSeconds: [{ type: i0.Input, args: [{ isSignal: true, alias: "showSeconds", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], touch: [{ type: i0.Output, args: ["touch"] }], touched: [{ type: i0.Input, args: [{ isSignal: true, alias: "touched", required: false }] }], userClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }, { type: i0.Output, args: ["valueChange"] }] } });
465
-
466
- /*
467
- * Public API Surface of @nanahoshi/mona-ui/time-picker
468
- */
469
-
470
- /**
471
- * Generated bundle index. Do not edit.
472
- */
473
-
474
927
  export { TIME_PICKER_DEFAULT_MESSAGES, TimePickerComponent };
475
- //# sourceMappingURL=nanahoshi-mona-ui-time-picker.mjs.map
928
+
929
+ //# sourceMappingURL=nanahoshi-mona-ui-time-picker.mjs.map