@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,1037 +1,985 @@
1
- import * as i0 from '@angular/core';
2
- import { InjectionToken, Signal, ElementRef, EnvironmentProviders } from '@angular/core';
3
- import * as _nanahoshi_mona_ui_i18n from '@nanahoshi/mona-ui/i18n';
4
- import { Directionality } from '@angular/cdk/bidi';
5
- import { DateTime } from 'luxon';
6
-
7
- type DeepPartial<T> = T extends (...args: never[]) => unknown ? T : T extends readonly (infer U)[] ? readonly DeepPartial<U>[] : T extends object ? {
8
- [K in keyof T]?: DeepPartial<T[K]>;
9
- } : T;
10
-
11
- type MonaTextDirection = "ltr" | "rtl";
12
-
13
- interface MonaAutoCompleteMessages {
14
- readonly clear: string;
1
+ import * as i0 from "@angular/core";
2
+ import { ElementRef, EnvironmentProviders, InjectionToken, Signal } from "@angular/core";
3
+ import { Directionality } from "@angular/cdk/bidi";
4
+ import { DateTime } from "luxon";
5
+ export type DeepPartial<T> = T extends ((...args: never[]) => unknown) ? T : T extends readonly (infer U)[] ? readonly DeepPartial<U>[] : T extends object ? { [K in keyof T]?: DeepPartial<T[K]>; } : T;
6
+ export type MonaTextDirection = "ltr" | "rtl";
7
+ export interface MonaAutoCompleteMessages {
8
+ readonly clear: string;
15
9
  }
16
-
17
- interface MonaBreadcrumbMessages {
18
- readonly breadcrumb: string;
19
- readonly showFullPath: string;
10
+ export interface MonaBreadcrumbMessages {
11
+ readonly breadcrumb: string;
12
+ readonly showFullPath: string;
20
13
  }
21
-
22
- interface MonaButtonGroupMessages {
23
- readonly buttonGroup: string;
14
+ export interface MonaButtonGroupMessages {
15
+ readonly buttonGroup: string;
24
16
  }
25
-
26
- interface MonaCalendarMessages {
27
- calendarLabel(formattedMonthAndYear: string): string;
28
- decadeRange(start: number, end: number): string;
29
- decadeViewLabel(start: number, end: number): string;
30
- goToToday(formattedDate: string): string;
31
- readonly nextDecade: string;
32
- readonly nextMonth: string;
33
- readonly nextYear: string;
34
- readonly previousDecade: string;
35
- readonly previousMonth: string;
36
- readonly previousYear: string;
37
- switchToDecadeView(currentYear: string): string;
38
- switchToYearView(currentMonthAndYear: string): string;
39
- readonly today: string;
40
- yearCellLabel(year: number): string;
41
- yearViewLabel(year: string): string;
17
+ export interface MonaCalendarMessages {
18
+ calendarLabel(formattedMonthAndYear: string): string;
19
+ decadeRange(start: number, end: number): string;
20
+ decadeViewLabel(start: number, end: number): string;
21
+ goToToday(formattedDate: string): string;
22
+ readonly nextDecade: string;
23
+ readonly nextMonth: string;
24
+ readonly nextYear: string;
25
+ readonly previousDecade: string;
26
+ readonly previousMonth: string;
27
+ readonly previousYear: string;
28
+ switchToDecadeView(currentYear: string): string;
29
+ switchToYearView(currentMonthAndYear: string): string;
30
+ readonly today: string;
31
+ yearCellLabel(year: number): string;
32
+ yearViewLabel(year: string): string;
42
33
  }
43
- type CalendarMessages = MonaCalendarMessages;
44
-
45
- interface MonaCardMessages {
46
- readonly actionsLabel: string;
34
+ export type CalendarMessages = MonaCalendarMessages;
35
+ export interface MonaCardMessages {
36
+ readonly actionsLabel: string;
47
37
  }
48
-
49
- interface MonaChartMessages {
50
- /** Joins the parts of a screen reader announcement (", " in English). */
51
- readonly announcementSeparator: string;
52
- /** Announced when a keyboard brush is committed. */
53
- readonly brushApplied: (count: number) => string;
54
- /** Announced when a keyboard brush is canceled. */
55
- readonly brushCleared: string;
56
- /** Announced while a keyboard brush is extended. */
57
- readonly brushRange: (from: string, to: string) => string;
58
- /** The data table's first column header when the X axis has no title. */
59
- readonly category: string;
60
- /** The name of a radar category without a value. */
61
- readonly categoryFallbackName: (index: number) => string;
62
- /** The category range of a Cartesian chart, in its description. */
63
- readonly categoryRange: (from: string, to: string) => string;
64
- /** The tooltip label for a waterfall change step or a financial point's price change. */
65
- readonly change: string;
66
- /** The price change in a financial announcement. */
67
- readonly changeValue: (change: string) => string;
68
- /** The chart's accessible name when it has neither an `ariaLabel` nor a title. */
69
- readonly chart: string;
70
- /** The accessible name of the legend. */
71
- readonly chartLegend: string;
72
- /** What screen readers call the chart (`aria-roledescription`). */
73
- readonly chartRoleDescription: string;
74
- /** The tooltip label for a candlestick or OHLC point's closing price. */
75
- readonly close: string;
76
- /** The short closing price label in a tooltip that lists several financial series ("C" in English). */
77
- readonly closeAbbreviation: string;
78
- /** The name of a heatmap color legend whose scale has no title, in its accessible name. */
79
- readonly colorScale: string;
80
- /** The tooltip label for a funnel stage's conversion rate. */
81
- readonly conversion: string;
82
- /** A funnel stage's conversion from the previous stage, in an announcement. */
83
- readonly conversionOfPrevious: (rate: string) => string;
84
- /** Below the data table when it shows only the first rows. */
85
- readonly dataTableTruncated: (shown: number, total: number) => string;
86
- /** The waterfall legend's name for falling steps. */
87
- readonly decrease: string;
88
- /** Announced for a waterfall step that lowers the running total. */
89
- readonly decreaseAnnouncement: (delta: string, from: string, to: string) => string;
90
- /** The accessible name of a diverging heatmap color legend, with its minimum, midpoint and maximum. */
91
- readonly divergingRangeDescription: (title: string, minimum: string, midpoint: string, maximum: string) => string;
92
- /** The tooltip label for a funnel stage's drop-off from the previous stage. */
93
- readonly dropOff: string;
94
- /** A funnel stage's drop-off from the previous stage, in an announcement. */
95
- readonly dropOffValue: (value: string) => string;
96
- /** Names a falling candlestick or OHLC point, in the tooltip and in announcements. */
97
- readonly falling: string;
98
- /** A gauge's scale, in an announcement. */
99
- readonly gaugeRange: (minimum: string, maximum: string) => string;
100
- /** The tooltip label for a candlestick or OHLC point's high price. */
101
- readonly high: string;
102
- /** The short high price label in a tooltip that lists several financial series ("H" in English). */
103
- readonly highAbbreviation: string;
104
- /** The waterfall legend's name for rising steps. */
105
- readonly increase: string;
106
- /** Announced for a waterfall step that raises the running total. */
107
- readonly increaseAnnouncement: (delta: string, from: string, to: string) => string;
108
- /** Announced when the keyboard deselects a point. */
109
- readonly itemDeselected: (item: string) => string;
110
- /** The name of a pie, donut, rose or radial bar item without a category. */
111
- readonly itemFallbackName: (index: number) => string;
112
- /** Announced when the keyboard selects a point. */
113
- readonly itemSelected: (item: string) => string;
114
- /** The keyboard instructions at the end of the chart's description. */
115
- readonly keyboardHelp: string;
116
- /** Separates a label from its value in the tooltip (":" in English). */
117
- readonly labelValueSeparator: string;
118
- /** Pairs a label with a value in an announcement, such as a series name with the point's values. */
119
- readonly labeledValue: (label: string, value: string) => string;
120
- /** The tooltip label for a candlestick or OHLC point's low price. */
121
- readonly low: string;
122
- /** The short low price label in a tooltip that lists several financial series ("L" in English). */
123
- readonly lowAbbreviation: string;
124
- /** The waterfall legend's name for unchanged steps. */
125
- readonly noChange: string;
126
- /** Announced for a waterfall step that leaves the running total unchanged. */
127
- readonly noChangeAnnouncement: (value: string) => string;
128
- /** Shown and included in the chart's description when it has no data and no `noData` template. */
129
- readonly noData: string;
130
- /** A candlestick or OHLC point's prices, in an announcement. */
131
- readonly ohlcValues: (open: string, high: string, low: string, close: string) => string;
132
- /** The tooltip label for a candlestick or OHLC point's opening price. */
133
- readonly open: string;
134
- /** The short opening price label in a tooltip that lists several financial series ("O" in English). */
135
- readonly openAbbreviation: string;
136
- /** The tooltip label for a funnel stage's conversion from the first stage. */
137
- readonly overall: string;
138
- /** A funnel stage's conversion from the first stage, in an announcement. */
139
- readonly overallConversion: (rate: string) => string;
140
- /** Announced when the keyboard pans the viewport down. */
141
- readonly pannedDown: string;
142
- /** Announced when the keyboard pans the viewport left. */
143
- readonly pannedLeft: string;
144
- /** Announced when the keyboard pans the viewport right. */
145
- readonly pannedRight: string;
146
- /** Announced when the keyboard pans the viewport up. */
147
- readonly pannedUp: string;
148
- /** Joins a treemap node's path (" / " in English). */
149
- readonly pathSeparator: string;
150
- /** A point's position among the points it is navigated with, in an announcement. */
151
- readonly pointPosition: (position: number, total: number) => string;
152
- /** The tooltip label for a radial point's minimum-to-maximum range. */
153
- readonly range: string;
154
- /**
155
- * Describes a range with its title, minimum and maximum: a range point in an announcement, or a heatmap color
156
- * legend in its accessible name.
157
- */
158
- readonly rangeDescription: (title: string, minimum: string, maximum: string) => string;
159
- /** A range value, in an announcement. */
160
- readonly rangeValue: (from: string, to: string) => string;
161
- /** Names a rising candlestick or OHLC point, in the tooltip and in announcements. */
162
- readonly rising: string;
163
- /** The tooltip label for a waterfall step's running total. */
164
- readonly runningTotal: string;
165
- /** The name of a series without a name. */
166
- readonly seriesFallbackName: (index: number) => string;
167
- /** Announced when a legend item hides a series or item. */
168
- readonly seriesHidden: (series: string) => string;
169
- /** Announced when a legend item shows a series or item. */
170
- readonly seriesShown: (series: string) => string;
171
- /** The series of the chart, in its description. */
172
- readonly seriesSummary: (count: number, names: string) => string;
173
- /** A series' lowest and highest value, in the chart's description. */
174
- readonly seriesValueRange: (series: string, minimum: string, maximum: string) => string;
175
- /** A treemap node's share of the whole, in an announcement. */
176
- readonly shareOfTotal: (share: string) => string;
177
- /** The tooltip label for a bubble's size. */
178
- readonly size: string;
179
- /** A bubble's size, in an announcement. */
180
- readonly sizeValue: (size: string) => string;
181
- /** A point's share of its 100% stack, in an announcement. */
182
- readonly stackShare: (share: string) => string;
183
- /** The name of a funnel stage without a category. */
184
- readonly stageFallbackName: (index: number) => string;
185
- /** A funnel stage's position among the stages, in an announcement. */
186
- readonly stagePosition: (position: number, total: number) => string;
187
- /** The name of a waterfall step without a category. */
188
- readonly stepFallbackName: (index: number) => string;
189
- /** A waterfall step's position among the steps, in an announcement. */
190
- readonly stepPosition: (position: number, total: number) => string;
191
- /** The waterfall legend's name for subtotal steps. */
192
- readonly subtotal: string;
193
- /** Announced for a waterfall subtotal step. */
194
- readonly subtotalAnnouncement: (value: string) => string;
195
- /** The waterfall legend's name for total steps. */
196
- readonly total: string;
197
- /** Announced for a waterfall total step. */
198
- readonly totalAnnouncement: (value: string) => string;
199
- /** A treemap group, in an announcement. */
200
- readonly treemapGroup: (count: number) => string;
201
- /** A treemap leaf, in an announcement. */
202
- readonly treemapLeaf: string;
203
- /** Names a candlestick or OHLC point that closed at its opening price, in the tooltip and in announcements. */
204
- readonly unchanged: string;
205
- /** The tooltip label for a point's value. */
206
- readonly value: string;
207
- /** A range value in the tooltip ("10 – 20" in English). */
208
- readonly valueRange: (from: string, to: string) => string;
209
- /** Announced when the keyboard resets the viewport to its configured default range. */
210
- readonly viewportResetToDefault: string;
211
- /** Announced when the keyboard resets the viewport to the full data range, when no default range is configured. */
212
- readonly viewportResetToFull: string;
213
- /** Shown and announced when a gauge value lies outside the gauge's scale and its indicator stops at the edge. */
214
- readonly visualIndicatorClamped: string;
215
- /** Announced when the keyboard zooms the viewport in. */
216
- readonly zoomedIn: string;
217
- /** Announced when the keyboard zooms the viewport out. */
218
- readonly zoomedOut: string;
38
+ export interface MonaChartMessages {
39
+ /** Joins the parts of a screen reader announcement (", " in English). */
40
+ readonly announcementSeparator: string;
41
+ /** Announced when a keyboard brush is committed. */
42
+ readonly brushApplied: (count: number) => string;
43
+ /** Announced when a keyboard brush is canceled. */
44
+ readonly brushCleared: string;
45
+ /** Announced while a keyboard brush is extended. */
46
+ readonly brushRange: (from: string, to: string) => string;
47
+ /** The data table's first column header when the X axis has no title. */
48
+ readonly category: string;
49
+ /** The name of a radar category without a value. */
50
+ readonly categoryFallbackName: (index: number) => string;
51
+ /** The category range of a Cartesian chart, in its description. */
52
+ readonly categoryRange: (from: string, to: string) => string;
53
+ /** The tooltip label for a waterfall change step or a financial point's price change. */
54
+ readonly change: string;
55
+ /** The price change in a financial announcement. */
56
+ readonly changeValue: (change: string) => string;
57
+ /** The chart's accessible name when it has neither an `ariaLabel` nor a title. */
58
+ readonly chart: string;
59
+ /** The accessible name of the legend. */
60
+ readonly chartLegend: string;
61
+ /** What screen readers call the chart (`aria-roledescription`). */
62
+ readonly chartRoleDescription: string;
63
+ /** The tooltip label for a candlestick or OHLC point's closing price. */
64
+ readonly close: string;
65
+ /** The short closing price label in a tooltip that lists several financial series ("C" in English). */
66
+ readonly closeAbbreviation: string;
67
+ /** The name of a heatmap color legend whose scale has no title, in its accessible name. */
68
+ readonly colorScale: string;
69
+ /** The tooltip label for a funnel stage's conversion rate. */
70
+ readonly conversion: string;
71
+ /** A funnel stage's conversion from the previous stage, in an announcement. */
72
+ readonly conversionOfPrevious: (rate: string) => string;
73
+ /** Below the data table when it shows only the first rows. */
74
+ readonly dataTableTruncated: (shown: number, total: number) => string;
75
+ /** The waterfall legend's name for falling steps. */
76
+ readonly decrease: string;
77
+ /** Announced for a waterfall step that lowers the running total. */
78
+ readonly decreaseAnnouncement: (delta: string, from: string, to: string) => string;
79
+ /** The accessible name of a diverging heatmap color legend, with its minimum, midpoint and maximum. */
80
+ readonly divergingRangeDescription: (title: string, minimum: string, midpoint: string, maximum: string) => string;
81
+ /** The tooltip label for a funnel stage's drop-off from the previous stage. */
82
+ readonly dropOff: string;
83
+ /** A funnel stage's drop-off from the previous stage, in an announcement. */
84
+ readonly dropOffValue: (value: string) => string;
85
+ /** Names a falling candlestick or OHLC point, in the tooltip and in announcements. */
86
+ readonly falling: string;
87
+ /** A gauge's scale, in an announcement. */
88
+ readonly gaugeRange: (minimum: string, maximum: string) => string;
89
+ /** The tooltip label for a candlestick or OHLC point's high price. */
90
+ readonly high: string;
91
+ /** The short high price label in a tooltip that lists several financial series ("H" in English). */
92
+ readonly highAbbreviation: string;
93
+ /** The waterfall legend's name for rising steps. */
94
+ readonly increase: string;
95
+ /** Announced for a waterfall step that raises the running total. */
96
+ readonly increaseAnnouncement: (delta: string, from: string, to: string) => string;
97
+ /** Announced when the keyboard deselects a point. */
98
+ readonly itemDeselected: (item: string) => string;
99
+ /** The name of a pie, donut, rose or radial bar item without a category. */
100
+ readonly itemFallbackName: (index: number) => string;
101
+ /** Announced when the keyboard selects a point. */
102
+ readonly itemSelected: (item: string) => string;
103
+ /** The keyboard instructions at the end of the chart's description. */
104
+ readonly keyboardHelp: string;
105
+ /** Separates a label from its value in the tooltip (":" in English). */
106
+ readonly labelValueSeparator: string;
107
+ /** Pairs a label with a value in an announcement, such as a series name with the point's values. */
108
+ readonly labeledValue: (label: string, value: string) => string;
109
+ /** The tooltip label for a candlestick or OHLC point's low price. */
110
+ readonly low: string;
111
+ /** The short low price label in a tooltip that lists several financial series ("L" in English). */
112
+ readonly lowAbbreviation: string;
113
+ /** The waterfall legend's name for unchanged steps. */
114
+ readonly noChange: string;
115
+ /** Announced for a waterfall step that leaves the running total unchanged. */
116
+ readonly noChangeAnnouncement: (value: string) => string;
117
+ /** Shown and included in the chart's description when it has no data and no `noData` template. */
118
+ readonly noData: string;
119
+ /** A candlestick or OHLC point's prices, in an announcement. */
120
+ readonly ohlcValues: (open: string, high: string, low: string, close: string) => string;
121
+ /** The tooltip label for a candlestick or OHLC point's opening price. */
122
+ readonly open: string;
123
+ /** The short opening price label in a tooltip that lists several financial series ("O" in English). */
124
+ readonly openAbbreviation: string;
125
+ /** The tooltip label for a funnel stage's conversion from the first stage. */
126
+ readonly overall: string;
127
+ /** A funnel stage's conversion from the first stage, in an announcement. */
128
+ readonly overallConversion: (rate: string) => string;
129
+ /** Announced when the keyboard pans the viewport down. */
130
+ readonly pannedDown: string;
131
+ /** Announced when the keyboard pans the viewport left. */
132
+ readonly pannedLeft: string;
133
+ /** Announced when the keyboard pans the viewport right. */
134
+ readonly pannedRight: string;
135
+ /** Announced when the keyboard pans the viewport up. */
136
+ readonly pannedUp: string;
137
+ /** Joins a treemap node's path (" / " in English). */
138
+ readonly pathSeparator: string;
139
+ /** A point's position among the points it is navigated with, in an announcement. */
140
+ readonly pointPosition: (position: number, total: number) => string;
141
+ /** The tooltip label for a radial point's minimum-to-maximum range. */
142
+ readonly range: string;
143
+ /**
144
+ * Describes a range with its title, minimum and maximum: a range point in an announcement, or a heatmap color
145
+ * legend in its accessible name.
146
+ */
147
+ readonly rangeDescription: (title: string, minimum: string, maximum: string) => string;
148
+ /** A range value, in an announcement. */
149
+ readonly rangeValue: (from: string, to: string) => string;
150
+ /** Names a rising candlestick or OHLC point, in the tooltip and in announcements. */
151
+ readonly rising: string;
152
+ /** The tooltip label for a waterfall step's running total. */
153
+ readonly runningTotal: string;
154
+ /** The name of a series without a name. */
155
+ readonly seriesFallbackName: (index: number) => string;
156
+ /** Announced when a legend item hides a series or item. */
157
+ readonly seriesHidden: (series: string) => string;
158
+ /** Announced when a legend item shows a series or item. */
159
+ readonly seriesShown: (series: string) => string;
160
+ /** The series of the chart, in its description. */
161
+ readonly seriesSummary: (count: number, names: string) => string;
162
+ /** A series' lowest and highest value, in the chart's description. */
163
+ readonly seriesValueRange: (series: string, minimum: string, maximum: string) => string;
164
+ /** A treemap node's share of the whole, in an announcement. */
165
+ readonly shareOfTotal: (share: string) => string;
166
+ /** The tooltip label for a bubble's size. */
167
+ readonly size: string;
168
+ /** A bubble's size, in an announcement. */
169
+ readonly sizeValue: (size: string) => string;
170
+ /** A point's share of its 100% stack, in an announcement. */
171
+ readonly stackShare: (share: string) => string;
172
+ /** The name of a funnel stage without a category. */
173
+ readonly stageFallbackName: (index: number) => string;
174
+ /** A funnel stage's position among the stages, in an announcement. */
175
+ readonly stagePosition: (position: number, total: number) => string;
176
+ /** The name of a waterfall step without a category. */
177
+ readonly stepFallbackName: (index: number) => string;
178
+ /** A waterfall step's position among the steps, in an announcement. */
179
+ readonly stepPosition: (position: number, total: number) => string;
180
+ /** The waterfall legend's name for subtotal steps. */
181
+ readonly subtotal: string;
182
+ /** Announced for a waterfall subtotal step. */
183
+ readonly subtotalAnnouncement: (value: string) => string;
184
+ /** The waterfall legend's name for total steps. */
185
+ readonly total: string;
186
+ /** Announced for a waterfall total step. */
187
+ readonly totalAnnouncement: (value: string) => string;
188
+ /** A treemap group, in an announcement. */
189
+ readonly treemapGroup: (count: number) => string;
190
+ /** A treemap leaf, in an announcement. */
191
+ readonly treemapLeaf: string;
192
+ /** Names a candlestick or OHLC point that closed at its opening price, in the tooltip and in announcements. */
193
+ readonly unchanged: string;
194
+ /** The tooltip label for a point's value. */
195
+ readonly value: string;
196
+ /** A range value in the tooltip ("10 – 20" in English). */
197
+ readonly valueRange: (from: string, to: string) => string;
198
+ /** Announced when the keyboard resets the viewport to its configured default range. */
199
+ readonly viewportResetToDefault: string;
200
+ /** Announced when the keyboard resets the viewport to the full data range, when no default range is configured. */
201
+ readonly viewportResetToFull: string;
202
+ /** Shown and announced when a gauge value lies outside the gauge's scale and its indicator stops at the edge. */
203
+ readonly visualIndicatorClamped: string;
204
+ /** Announced when the keyboard zooms the viewport in. */
205
+ readonly zoomedIn: string;
206
+ /** Announced when the keyboard zooms the viewport out. */
207
+ readonly zoomedOut: string;
219
208
  }
220
-
221
- interface MonaChipMessages {
222
- removeLabel(label?: string): string;
209
+ export interface MonaChipMessages {
210
+ removeLabel(label?: string): string;
223
211
  }
224
-
225
- interface MonaColorGradientMessages {
226
- readonly alpha: string;
227
- readonly alphaText: (opacity: number) => string;
228
- readonly apply: string;
229
- readonly blue: string;
230
- readonly cancel: string;
231
- readonly clearColor: string;
232
- readonly colorCopied: string;
233
- readonly colorGradient: string;
234
- readonly copyAsHex: string;
235
- readonly copyAsRgb: string;
236
- readonly copyColor: string;
237
- readonly copyFailed: string;
238
- readonly currentColor: string;
239
- readonly green: string;
240
- readonly hexColor: string;
241
- readonly hue: string;
242
- readonly previousColor: string;
243
- readonly red: string;
244
- readonly saturation: string;
245
- readonly saturationAndValue: string;
246
- readonly saturationAndValueText: (saturation: number, value: number) => string;
247
- readonly switchColorMode: string;
248
- readonly value: string;
212
+ export interface MonaColorGradientMessages {
213
+ readonly alpha: string;
214
+ readonly alphaText: (opacity: number) => string;
215
+ readonly apply: string;
216
+ readonly blue: string;
217
+ readonly cancel: string;
218
+ readonly clearColor: string;
219
+ readonly colorCopied: string;
220
+ readonly colorGradient: string;
221
+ readonly copyAsHex: string;
222
+ readonly copyAsRgb: string;
223
+ readonly copyColor: string;
224
+ readonly copyFailed: string;
225
+ readonly currentColor: string;
226
+ readonly green: string;
227
+ readonly hexColor: string;
228
+ readonly hue: string;
229
+ readonly previousColor: string;
230
+ readonly red: string;
231
+ readonly saturation: string;
232
+ readonly saturationAndValue: string;
233
+ readonly saturationAndValueText: (saturation: number, value: number) => string;
234
+ readonly switchColorMode: string;
235
+ readonly value: string;
249
236
  }
250
-
251
- interface MonaColorPaletteMessages {
252
- readonly color: (color: string) => string;
253
- readonly colorPalette: string;
254
- readonly namedColor: (name: string, color: string) => string;
237
+ export interface MonaColorPaletteMessages {
238
+ readonly color: (color: string) => string;
239
+ readonly colorPalette: string;
240
+ readonly namedColor: (name: string, color: string) => string;
255
241
  }
256
-
257
- interface MonaColorPickerMessages {
258
- readonly clearColor: string;
259
- readonly colorGradientPicker: string;
260
- readonly colorPalettePicker: string;
261
- readonly colorPicker: string;
262
- readonly noColor: string;
242
+ export interface MonaColorPickerMessages {
243
+ readonly clearColor: string;
244
+ readonly colorGradientPicker: string;
245
+ readonly colorPalettePicker: string;
246
+ readonly colorPicker: string;
247
+ readonly noColor: string;
263
248
  }
264
-
265
- interface MonaComboBoxMessages {
266
- readonly clear: string;
249
+ export interface MonaComboBoxMessages {
250
+ readonly clear: string;
267
251
  }
268
-
269
- interface MonaDatePickerMessages {
270
- readonly datePicker: string;
271
- readonly openCalendar: string;
252
+ export interface MonaDatePickerMessages {
253
+ readonly datePicker: string;
254
+ readonly openCalendar: string;
272
255
  }
273
- type DatePickerMessages = MonaDatePickerMessages;
274
-
275
- interface MonaDateTimePickerMessages {
276
- readonly calendar: string;
277
- readonly cancel: string;
278
- readonly date: string;
279
- readonly dateTimePicker: string;
280
- readonly openDateTimePicker: string;
281
- readonly set: string;
282
- readonly time: string;
283
- readonly timePicker: string;
256
+ export type DatePickerMessages = MonaDatePickerMessages;
257
+ export interface MonaDateTimePickerMessages {
258
+ readonly calendar: string;
259
+ readonly cancel: string;
260
+ readonly date: string;
261
+ readonly dateTimePicker: string;
262
+ readonly openDateTimePicker: string;
263
+ readonly set: string;
264
+ readonly time: string;
265
+ readonly timePicker: string;
284
266
  }
285
- type DateTimePickerMessages = MonaDateTimePickerMessages;
286
-
287
- interface MonaDialogMessages {
288
- /** The label of the Cancel button that `confirm()` and a `"confirm"` dialog without `actions` add. */
289
- readonly cancel: string;
290
- /** The accessible name of the close button in the dialog header. */
291
- readonly closeDialog: string;
292
- /** The label of the OK button that `alert()`, `confirm()` and a dialog without `actions` add. */
293
- readonly ok: string;
267
+ export type DateTimePickerMessages = MonaDateTimePickerMessages;
268
+ export interface MonaDialogMessages {
269
+ /** The label of the Cancel button that `confirm()` and a `"confirm"` dialog without `actions` add. */
270
+ readonly cancel: string;
271
+ /** The accessible name of the close button in the dialog header. */
272
+ readonly closeDialog: string;
273
+ /** The label of the OK button that `alert()`, `confirm()` and a dialog without `actions` add. */
274
+ readonly ok: string;
294
275
  }
295
- type DialogMessages = MonaDialogMessages;
296
-
297
- interface MonaDropdownListMessages {
298
- readonly clear: string;
276
+ export type DialogMessages = MonaDialogMessages;
277
+ export interface MonaDropdownListMessages {
278
+ readonly clear: string;
299
279
  }
300
-
301
- interface MonaDropdownsMessages {
302
- readonly itemPosition: (text: string, position: number, total: number) => string;
303
- readonly noResultsFound: string;
304
- readonly resultsAvailable: (count: number) => string;
280
+ export interface MonaDropdownsMessages {
281
+ readonly itemPosition: (text: string, position: number, total: number) => string;
282
+ readonly noResultsFound: string;
283
+ readonly resultsAvailable: (count: number) => string;
305
284
  }
306
-
307
- interface MonaEditorMessages {
308
- /** The label of the toolbar button that adds a column after the current one. */
309
- readonly addColumnAfter: string;
310
- /** The label of the toolbar button that adds a column before the current one. */
311
- readonly addColumnBefore: string;
312
- /** The label of the toolbar button that inserts a horizontal line. */
313
- readonly addHorizontalLine: string;
314
- /** The label of the toolbar button that adds a row after the current one. */
315
- readonly addRowAfter: string;
316
- /** The label of the toolbar button that adds a row before the current one. */
317
- readonly addRowBefore: string;
318
- /** The label of the toolbar button that centers the text. */
319
- readonly alignCenter: string;
320
- /** The label of the toolbar button that aligns the text to the end of the line. */
321
- readonly alignEnd: string;
322
- /** @deprecated No longer rendered: the toolbar aligns to the start and end with `alignStart` and `alignEnd`. */
323
- readonly alignLeft: string;
324
- /** @deprecated No longer rendered: the toolbar aligns to the start and end with `alignStart` and `alignEnd`. */
325
- readonly alignRight: string;
326
- /** The label of the toolbar button that aligns the text to the start of the line. */
327
- readonly alignStart: string;
328
- /** The accessible name of the toolbar's text alignment button group. */
329
- readonly alignmentGroup: string;
330
- /** The label of the alternative text field in the insert image form. */
331
- readonly altText: string;
332
- /** The label of the link dialog's button that sets the link. */
333
- readonly apply: string;
334
- /** The label of the toolbar color picker that sets the text's highlight color. */
335
- readonly backgroundColor: string;
336
- /** The label of the toolbar button that toggles bold. */
337
- readonly bold: string;
338
- /** The label of the Cancel button in the link dialog and the insert image form. */
339
- readonly cancel: string;
340
- /** The label of the toolbar button that toggles a code block. */
341
- readonly codeBlock: string;
342
- /** The label of the toolbar color picker that sets the text color. */
343
- readonly color: string;
344
- /** The accessible name of the editable content when the editor has no `aria-label` or `aria-labelledby`. */
345
- readonly contentLabel: string;
346
- /** The placeholder of the font family dropdown when the text uses no specific font. */
347
- readonly defaultFontFamily: string;
348
- /** The label of the toolbar button that deletes the current column. */
349
- readonly deleteColumn: string;
350
- /** The label of the toolbar button that deletes the current row. */
351
- readonly deleteRow: string;
352
- /** The label of the toolbar button that deletes the table. */
353
- readonly deleteTable: string;
354
- /** The title of the link dialog when the selection is already in a link. */
355
- readonly editLink: string;
356
- /** The label of the URL field in the link dialog. */
357
- readonly enterUrl: string;
358
- /** The placeholder of the font size dropdown when the text has no specific size. */
359
- readonly fontSize: string;
360
- /** The label of the toolbar dropdown that switches between paragraph and heading levels. */
361
- readonly format: string;
362
- /** The text of a heading level in the format dropdown, given the level number. */
363
- readonly heading: (level: number) => string;
364
- /** The label of the height field in the insert image form. */
365
- readonly heightPx: string;
366
- /** The accessible name of the toolbar's undo and redo button group. */
367
- readonly historyGroup: string;
368
- /** The label of the image URL field in the insert image form. */
369
- readonly imageUrl: string;
370
- /** The label of the toolbar button that increases the indentation. */
371
- readonly indent: string;
372
- /** The accessible name of the toolbar's indent and outdent button group. */
373
- readonly indentGroup: string;
374
- /** The label of the insert image form's button that inserts the image. */
375
- readonly insert: string;
376
- /** The label of the toolbar button that opens the insert image form, and the title of that form's window. */
377
- readonly insertImage: string;
378
- /** The label of the toolbar button that opens the link dialog, and the dialog's title for a new link. */
379
- readonly insertLink: string;
380
- /** The label of the toolbar button that toggles a numbered list. */
381
- readonly insertOrderedList: string;
382
- /** The label of the toolbar button that opens the table size grid, and the accessible name of that grid. */
383
- readonly insertTable: string;
384
- /** The label of the toolbar button that toggles a task list. */
385
- readonly insertTaskList: string;
386
- /** The label of the toolbar button that toggles a bulleted list. */
387
- readonly insertUnorderedList: string;
388
- /** The error shown in the link dialog when the URL isn't a valid link. */
389
- readonly invalidUrl: string;
390
- /** The label of the toolbar button that toggles italic. */
391
- readonly italic: string;
392
- /** The label of the toolbar button that justifies the text. */
393
- readonly justify: string;
394
- /** The accessible name of the toolbar's link button group. */
395
- readonly linkGroup: string;
396
- /** The accessible name of the toolbar's list button group. */
397
- readonly listGroup: string;
398
- /** The label of the toolbar button that merges the selected cells. */
399
- readonly mergeCells: string;
400
- /** The label of the toolbar button that decreases the indentation. */
401
- readonly outdent: string;
402
- /** The text of the plain paragraph option in the format dropdown. */
403
- readonly paragraph: string;
404
- /** The label of the toolbar button that toggles a block quote. */
405
- readonly quotation: string;
406
- /** The label of the toolbar button that redoes the last undone change. */
407
- readonly redo: string;
408
- /** The label of the toolbar button and the link dialog button that remove the link. */
409
- readonly removeLink: string;
410
- /** The label of the toolbar's font family dropdown. */
411
- readonly selectFontFamily: string;
412
- /** The label of the toolbar's font size dropdown. */
413
- readonly selectFontSize: string;
414
- /** The label of the toolbar button that splits a merged cell. */
415
- readonly splitCell: string;
416
- /** The label of the toolbar button that toggles strikethrough. */
417
- readonly strikethrough: string;
418
- /** The label of the toolbar button that toggles subscript. */
419
- readonly subscript: string;
420
- /** The label of the toolbar button that toggles superscript. */
421
- readonly superscript: string;
422
- /** The accessible name of the toolbar's table button group. */
423
- readonly tableGroup: string;
424
- /**
425
- * Describes a table size in the table size grid, given the number of rows and columns. It names each grid cell and
426
- * announces the highlighted size.
427
- */
428
- readonly tableSize: (rows: number, columns: number) => string;
429
- /** The accessible name of the toolbar's bold, italic and other text style button group. */
430
- readonly textStyleGroup: string;
431
- /** The label of the toolbar button that turns the header row on or off. */
432
- readonly toggleHeaderRow: string;
433
- /** The accessible name of the editor's toolbar. */
434
- readonly toolbar: string;
435
- /** The label of the toolbar button that toggles underline. */
436
- readonly underline: string;
437
- /** The label of the toolbar button that undoes the last change. */
438
- readonly undo: string;
439
- /** The label of the width field in the insert image form. */
440
- readonly widthPx: string;
285
+ export interface MonaEditorMessages {
286
+ /** The label of the toolbar button that adds a column after the current one. */
287
+ readonly addColumnAfter: string;
288
+ /** The label of the toolbar button that adds a column before the current one. */
289
+ readonly addColumnBefore: string;
290
+ /** The label of the toolbar button that inserts a horizontal line. */
291
+ readonly addHorizontalLine: string;
292
+ /** The label of the toolbar button that adds a row after the current one. */
293
+ readonly addRowAfter: string;
294
+ /** The label of the toolbar button that adds a row before the current one. */
295
+ readonly addRowBefore: string;
296
+ /** The label of the toolbar button that centers the text. */
297
+ readonly alignCenter: string;
298
+ /** The label of the toolbar button that aligns the text to the end of the line. */
299
+ readonly alignEnd: string;
300
+ /** @deprecated No longer rendered: the toolbar aligns to the start and end with `alignStart` and `alignEnd`. */
301
+ readonly alignLeft: string;
302
+ /** @deprecated No longer rendered: the toolbar aligns to the start and end with `alignStart` and `alignEnd`. */
303
+ readonly alignRight: string;
304
+ /** The label of the toolbar button that aligns the text to the start of the line. */
305
+ readonly alignStart: string;
306
+ /** The accessible name of the toolbar's text alignment button group. */
307
+ readonly alignmentGroup: string;
308
+ /** The label of the alternative text field in the insert image form. */
309
+ readonly altText: string;
310
+ /** The label of the link dialog's button that sets the link. */
311
+ readonly apply: string;
312
+ /** The label of the toolbar color picker that sets the text's highlight color. */
313
+ readonly backgroundColor: string;
314
+ /** The label of the toolbar button that toggles bold. */
315
+ readonly bold: string;
316
+ /** The label of the Cancel button in the link dialog and the insert image form. */
317
+ readonly cancel: string;
318
+ /** The label of the toolbar button that toggles a code block. */
319
+ readonly codeBlock: string;
320
+ /** The label of the toolbar color picker that sets the text color. */
321
+ readonly color: string;
322
+ /** The accessible name of the editable content when the editor has no `aria-label` or `aria-labelledby`. */
323
+ readonly contentLabel: string;
324
+ /** The placeholder of the font family dropdown when the text uses no specific font. */
325
+ readonly defaultFontFamily: string;
326
+ /** The label of the toolbar button that deletes the current column. */
327
+ readonly deleteColumn: string;
328
+ /** The label of the toolbar button that deletes the current row. */
329
+ readonly deleteRow: string;
330
+ /** The label of the toolbar button that deletes the table. */
331
+ readonly deleteTable: string;
332
+ /** The title of the link dialog when the selection is already in a link. */
333
+ readonly editLink: string;
334
+ /** The label of the URL field in the link dialog. */
335
+ readonly enterUrl: string;
336
+ /** The placeholder of the font size dropdown when the text has no specific size. */
337
+ readonly fontSize: string;
338
+ /** The label of the toolbar dropdown that switches between paragraph and heading levels. */
339
+ readonly format: string;
340
+ /** The text of a heading level in the format dropdown, given the level number. */
341
+ readonly heading: (level: number) => string;
342
+ /** The label of the height field in the insert image form. */
343
+ readonly heightPx: string;
344
+ /** The accessible name of the toolbar's undo and redo button group. */
345
+ readonly historyGroup: string;
346
+ /** The label of the image URL field in the insert image form. */
347
+ readonly imageUrl: string;
348
+ /** The label of the toolbar button that increases the indentation. */
349
+ readonly indent: string;
350
+ /** The accessible name of the toolbar's indent and outdent button group. */
351
+ readonly indentGroup: string;
352
+ /** The label of the insert image form's button that inserts the image. */
353
+ readonly insert: string;
354
+ /** The label of the toolbar button that opens the insert image form, and the title of that form's window. */
355
+ readonly insertImage: string;
356
+ /** The label of the toolbar button that opens the link dialog, and the dialog's title for a new link. */
357
+ readonly insertLink: string;
358
+ /** The label of the toolbar button that toggles a numbered list. */
359
+ readonly insertOrderedList: string;
360
+ /** The label of the toolbar button that opens the table size grid, and the accessible name of that grid. */
361
+ readonly insertTable: string;
362
+ /** The label of the toolbar button that toggles a task list. */
363
+ readonly insertTaskList: string;
364
+ /** The label of the toolbar button that toggles a bulleted list. */
365
+ readonly insertUnorderedList: string;
366
+ /** The error shown in the link dialog when the URL isn't a valid link. */
367
+ readonly invalidUrl: string;
368
+ /** The label of the toolbar button that toggles italic. */
369
+ readonly italic: string;
370
+ /** The label of the toolbar button that justifies the text. */
371
+ readonly justify: string;
372
+ /** The accessible name of the toolbar's link button group. */
373
+ readonly linkGroup: string;
374
+ /** The accessible name of the toolbar's list button group. */
375
+ readonly listGroup: string;
376
+ /** The label of the toolbar button that merges the selected cells. */
377
+ readonly mergeCells: string;
378
+ /** The label of the toolbar button that decreases the indentation. */
379
+ readonly outdent: string;
380
+ /** The text of the plain paragraph option in the format dropdown. */
381
+ readonly paragraph: string;
382
+ /** The label of the toolbar button that toggles a block quote. */
383
+ readonly quotation: string;
384
+ /** The label of the toolbar button that redoes the last undone change. */
385
+ readonly redo: string;
386
+ /** The label of the toolbar button and the link dialog button that remove the link. */
387
+ readonly removeLink: string;
388
+ /** The label of the toolbar's font family dropdown. */
389
+ readonly selectFontFamily: string;
390
+ /** The label of the toolbar's font size dropdown. */
391
+ readonly selectFontSize: string;
392
+ /** The label of the toolbar button that splits a merged cell. */
393
+ readonly splitCell: string;
394
+ /** The label of the toolbar button that toggles strikethrough. */
395
+ readonly strikethrough: string;
396
+ /** The label of the toolbar button that toggles subscript. */
397
+ readonly subscript: string;
398
+ /** The label of the toolbar button that toggles superscript. */
399
+ readonly superscript: string;
400
+ /** The accessible name of the toolbar's table button group. */
401
+ readonly tableGroup: string;
402
+ /**
403
+ * Describes a table size in the table size grid, given the number of rows and columns. It names each grid cell and
404
+ * announces the highlighted size.
405
+ */
406
+ readonly tableSize: (rows: number, columns: number) => string;
407
+ /** The accessible name of the toolbar's bold, italic and other text style button group. */
408
+ readonly textStyleGroup: string;
409
+ /** The label of the toolbar button that turns the header row on or off. */
410
+ readonly toggleHeaderRow: string;
411
+ /** The accessible name of the editor's toolbar. */
412
+ readonly toolbar: string;
413
+ /** The label of the toolbar button that toggles underline. */
414
+ readonly underline: string;
415
+ /** The label of the toolbar button that undoes the last change. */
416
+ readonly undo: string;
417
+ /** The label of the width field in the insert image form. */
418
+ readonly widthPx: string;
441
419
  }
442
-
443
- interface MonaFilterMessages {
444
- readonly and: string;
445
- readonly apply: string;
446
- readonly clear: string;
447
- readonly contains: string;
448
- readonly doesNotContain: string;
449
- readonly endsWith: string;
450
- readonly isAfter: string;
451
- readonly isAfterOrEqualTo: string;
452
- readonly isBefore: string;
453
- readonly isBeforeOrEqualTo: string;
454
- readonly isEmpty: string;
455
- readonly isEqualTo: string;
456
- readonly isFalse: string;
457
- readonly isGreaterThan: string;
458
- readonly isGreaterThanOrEqualTo: string;
459
- readonly isLessThan: string;
460
- readonly isLessThanOrEqualTo: string;
461
- readonly isNotEmpty: string;
462
- readonly isNotEqualTo: string;
463
- readonly isNotNull: string;
464
- readonly isNotNullOrEmpty: string;
465
- readonly isNull: string;
466
- readonly isNullOrEmpty: string;
467
- readonly isTrue: string;
468
- readonly logic: string;
469
- readonly operator: string;
470
- readonly or: string;
471
- readonly secondOperator: string;
472
- readonly secondValue: string;
473
- readonly startsWith: string;
474
- readonly value: string;
420
+ export interface MonaFilterMessages {
421
+ readonly and: string;
422
+ readonly apply: string;
423
+ readonly clear: string;
424
+ readonly contains: string;
425
+ readonly doesNotContain: string;
426
+ readonly endsWith: string;
427
+ readonly isAfter: string;
428
+ readonly isAfterOrEqualTo: string;
429
+ readonly isBefore: string;
430
+ readonly isBeforeOrEqualTo: string;
431
+ readonly isEmpty: string;
432
+ readonly isEqualTo: string;
433
+ readonly isFalse: string;
434
+ readonly isGreaterThan: string;
435
+ readonly isGreaterThanOrEqualTo: string;
436
+ readonly isLessThan: string;
437
+ readonly isLessThanOrEqualTo: string;
438
+ readonly isNotEmpty: string;
439
+ readonly isNotEqualTo: string;
440
+ readonly isNotNull: string;
441
+ readonly isNotNullOrEmpty: string;
442
+ readonly isNull: string;
443
+ readonly isNullOrEmpty: string;
444
+ readonly isTrue: string;
445
+ readonly logic: string;
446
+ readonly operator: string;
447
+ readonly or: string;
448
+ readonly secondOperator: string;
449
+ readonly secondValue: string;
450
+ readonly startsWith: string;
451
+ readonly value: string;
475
452
  }
476
- type FilterMessages = MonaFilterMessages;
477
-
478
- interface MonaGridMessages {
479
- readonly all: string;
480
- readonly apply: string;
481
- readonly cancel: string;
482
- readonly cancelNewRow: string;
483
- cancelRowEdit(rowNumber: number): string;
484
- clearFilter(column: string): string;
485
- /** The name of the button that closes a row's detail row. */
486
- collapseDetail(rowNumber: number): string;
487
- /** Announced when the keyboard groups the grid by a column. */
488
- columnGrouped(column: string): string;
489
- /** Announced when the keyboard moves a column; the position counts visible columns from 1. */
490
- columnMoved(column: string, position: number): string;
491
- readonly columns: string;
492
- columnsSelected(count: number): string;
493
- readonly commandColumnTitle: string;
494
- readonly delete: string;
495
- deleteRowConfirmation(rowNumber: number): string;
496
- readonly deleteRowTitle: string;
497
- /** The name of the detail-toggle column's header. */
498
- readonly details: string;
499
- readonly dragColumnHeaderToGroup: string;
500
- readonly edit: string;
501
- editRow(rowNumber: number): string;
502
- /** The name of the button that opens a row's detail row. */
503
- expandDetail(rowNumber: number): string;
504
- readonly fieldValidationError?: string;
505
- filterByColumn(column: string): string;
506
- filterByColumnFiltered(column: string): string;
507
- filterOperator(column: string, operator: string): string;
508
- readonly filterPlaceholder: string;
509
- /** The name of a group indent column's header. */
510
- readonly group: string;
511
- /** The name of the button on a group chip that opens its menu. */
512
- groupOptions(column: string): string;
513
- /** Shown while the grid body loads. */
514
- readonly loading: string;
515
- readonly modified: string;
516
- readonly moveAsNext: string;
517
- readonly moveAsPrevious: string;
518
- readonly moveRow: string;
519
- readonly noData: string;
520
- readonly remove: string;
521
- removeRow(rowNumber: number): string;
522
- reorderRow(rowNumber: number): string;
523
- resizeColumn(column: string): string;
524
- readonly rowReorder: string;
525
- readonly rowReorderDisabled: string;
526
- readonly rowReorderDisabledEditing: string;
527
- readonly rowReorderDisabledFiltered: string;
528
- readonly rowReorderDisabledGrouped: string;
529
- readonly rowReorderDisabledServerBinding: string;
530
- readonly rowReorderDisabledSingleRow: string;
531
- readonly rowReorderDisabledSorted: string;
532
- readonly rowReorderDisabledVirtualScroll: string;
533
- rowReorderHandleAriaLabel(rowLabel: string, keyboardHint: string, disabledReason?: string): string;
534
- readonly rowReorderKeyboardHint: string;
535
- rowReorderMoved(fromRowNumber: number, toPosition: number): string;
536
- readonly rowValidationError: string;
537
- readonly save: string;
538
- readonly saveNewRow: string;
539
- saveRow(rowNumber: number): string;
540
- readonly selectAllRows: string;
541
- selectRow(rowNumber: number): string;
542
- /** Describes a header's place in a multi-column sort, from 1. */
543
- sortOrder(position: number): string;
544
- /** The accessible name of the toolbar above the grid. */
545
- readonly toolbar: string;
453
+ export type FilterMessages = MonaFilterMessages;
454
+ export interface MonaGridMessages {
455
+ readonly all: string;
456
+ readonly apply: string;
457
+ readonly cancel: string;
458
+ readonly cancelNewRow: string;
459
+ cancelRowEdit(rowNumber: number): string;
460
+ clearFilter(column: string): string;
461
+ /** The name of the button that closes a row's detail row. */
462
+ collapseDetail(rowNumber: number): string;
463
+ /** Announced when the keyboard groups the grid by a column. */
464
+ columnGrouped(column: string): string;
465
+ /** Announced when the keyboard moves a column; the position counts visible columns from 1. */
466
+ columnMoved(column: string, position: number): string;
467
+ readonly columns: string;
468
+ columnsSelected(count: number): string;
469
+ readonly commandColumnTitle: string;
470
+ readonly delete: string;
471
+ deleteRowConfirmation(rowNumber: number): string;
472
+ readonly deleteRowTitle: string;
473
+ /** The name of the detail-toggle column's header. */
474
+ readonly details: string;
475
+ readonly dragColumnHeaderToGroup: string;
476
+ readonly edit: string;
477
+ editRow(rowNumber: number): string;
478
+ /** The name of the button that opens a row's detail row. */
479
+ expandDetail(rowNumber: number): string;
480
+ readonly fieldValidationError?: string;
481
+ filterByColumn(column: string): string;
482
+ filterByColumnFiltered(column: string): string;
483
+ filterOperator(column: string, operator: string): string;
484
+ readonly filterPlaceholder: string;
485
+ /** The name of a group indent column's header. */
486
+ readonly group: string;
487
+ /** The name of the button on a group chip that opens its menu. */
488
+ groupOptions(column: string): string;
489
+ /** Shown while the grid body loads. */
490
+ readonly loading: string;
491
+ readonly modified: string;
492
+ readonly moveAsNext: string;
493
+ readonly moveAsPrevious: string;
494
+ readonly moveRow: string;
495
+ readonly noData: string;
496
+ readonly remove: string;
497
+ removeRow(rowNumber: number): string;
498
+ reorderRow(rowNumber: number): string;
499
+ resizeColumn(column: string): string;
500
+ readonly rowReorder: string;
501
+ readonly rowReorderDisabled: string;
502
+ readonly rowReorderDisabledEditing: string;
503
+ readonly rowReorderDisabledFiltered: string;
504
+ readonly rowReorderDisabledGrouped: string;
505
+ readonly rowReorderDisabledServerBinding: string;
506
+ readonly rowReorderDisabledSingleRow: string;
507
+ readonly rowReorderDisabledSorted: string;
508
+ readonly rowReorderDisabledVirtualScroll: string;
509
+ rowReorderHandleAriaLabel(rowLabel: string, keyboardHint: string, disabledReason?: string): string;
510
+ readonly rowReorderKeyboardHint: string;
511
+ rowReorderMoved(fromRowNumber: number, toPosition: number): string;
512
+ readonly rowValidationError: string;
513
+ readonly save: string;
514
+ readonly saveNewRow: string;
515
+ saveRow(rowNumber: number): string;
516
+ readonly selectAllRows: string;
517
+ selectRow(rowNumber: number): string;
518
+ /** Describes a header's place in a multi-column sort, from 1. */
519
+ sortOrder(position: number): string;
520
+ /** The accessible name of the toolbar above the grid. */
521
+ readonly toolbar: string;
546
522
  }
547
-
548
- interface MonaLabelMessages {
549
- readonly optional: string;
523
+ export interface MonaLabelMessages {
524
+ readonly optional: string;
550
525
  }
551
-
552
- interface MonaListMessages {
553
- readonly filterList: string;
554
- /** Status text while a list view is loading. */
555
- readonly loading: string;
556
- readonly noData: string;
557
- /** Accessible name of a list view's pager, from the list's name ("People pagination"). */
558
- pagerLabel(list: string): string;
526
+ export interface MonaListMessages {
527
+ readonly filterList: string;
528
+ /** Status text while a list view is loading. */
529
+ readonly loading: string;
530
+ readonly noData: string;
531
+ /** Accessible name of a list view's pager, from the list's name ("People pagination"). */
532
+ pagerLabel(list: string): string;
559
533
  }
560
-
561
- interface MonaListBoxMessages {
562
- /** Label of the Clear Selection toolbar button. */
563
- readonly clearSelection: string;
564
- /** Announced after Move Up or Move Down, with the new position of the first moved item ("Moved to position 2 of 5"). */
565
- itemsMoved(position: number, total: number): string;
566
- /** Announced after Remove, with the number of items removed. */
567
- itemsRemoved(count: number): string;
568
- /** Announced after a transfer, with the number of items moved and the name of the list they moved to. */
569
- itemsTransferred(count: number, list: string): string;
570
- /** Announced after a transfer to a list box that has no accessible name. */
571
- itemsTransferredToOtherList(count: number): string;
572
- /** Label of the Move Down toolbar button. */
573
- readonly moveDown: string;
574
- /** Label of the Move Up toolbar button. */
575
- readonly moveUp: string;
576
- /** Label of the Remove toolbar button. */
577
- readonly remove: string;
578
- /** Announced after Clear Selection. */
579
- readonly selectionCleared: string;
580
- /** Accessible name of the toolbar, from the list box's name ("Available foods actions"). */
581
- toolbarLabel(list: string): string;
582
- /** Label of Transfer All From when the connected list box has no accessible name. */
583
- readonly transferAllFrom: string;
584
- /** Label of Transfer All From, naming the connected list box. */
585
- transferAllFromList(list: string): string;
586
- /** Label of Transfer All To when the connected list box has no accessible name. */
587
- readonly transferAllTo: string;
588
- /** Label of Transfer All To, naming the connected list box. */
589
- transferAllToList(list: string): string;
590
- /** Label of Transfer From when the connected list box has no accessible name. */
591
- readonly transferFrom: string;
592
- /** Label of Transfer From, naming the connected list box. */
593
- transferFromList(list: string): string;
594
- /** Label of Transfer To when the connected list box has no accessible name. */
595
- readonly transferTo: string;
596
- /** Label of Transfer To, naming the connected list box. */
597
- transferToList(list: string): string;
534
+ export interface MonaListBoxMessages {
535
+ /** Label of the Clear Selection toolbar button. */
536
+ readonly clearSelection: string;
537
+ /** Announced after Move Up or Move Down, with the new position of the first moved item ("Moved to position 2 of 5"). */
538
+ itemsMoved(position: number, total: number): string;
539
+ /** Announced after Remove, with the number of items removed. */
540
+ itemsRemoved(count: number): string;
541
+ /** Announced after a transfer, with the number of items moved and the name of the list they moved to. */
542
+ itemsTransferred(count: number, list: string): string;
543
+ /** Announced after a transfer to a list box that has no accessible name. */
544
+ itemsTransferredToOtherList(count: number): string;
545
+ /** Label of the Move Down toolbar button. */
546
+ readonly moveDown: string;
547
+ /** Label of the Move Up toolbar button. */
548
+ readonly moveUp: string;
549
+ /** Label of the Remove toolbar button. */
550
+ readonly remove: string;
551
+ /** Announced after Clear Selection. */
552
+ readonly selectionCleared: string;
553
+ /** Accessible name of the toolbar, from the list box's name ("Available foods actions"). */
554
+ toolbarLabel(list: string): string;
555
+ /** Label of Transfer All From when the connected list box has no accessible name. */
556
+ readonly transferAllFrom: string;
557
+ /** Label of Transfer All From, naming the connected list box. */
558
+ transferAllFromList(list: string): string;
559
+ /** Label of Transfer All To when the connected list box has no accessible name. */
560
+ readonly transferAllTo: string;
561
+ /** Label of Transfer All To, naming the connected list box. */
562
+ transferAllToList(list: string): string;
563
+ /** Label of Transfer From when the connected list box has no accessible name. */
564
+ readonly transferFrom: string;
565
+ /** Label of Transfer From, naming the connected list box. */
566
+ transferFromList(list: string): string;
567
+ /** Label of Transfer To when the connected list box has no accessible name. */
568
+ readonly transferTo: string;
569
+ /** Label of Transfer To, naming the connected list box. */
570
+ transferToList(list: string): string;
598
571
  }
599
-
600
- interface MonaMultiSelectMessages {
601
- readonly clear: string;
602
- readonly itemsCount: (count: number) => string;
603
- readonly removeMoreItems: (count: number) => string;
572
+ export interface MonaMultiSelectMessages {
573
+ readonly clear: string;
574
+ readonly itemsCount: (count: number) => string;
575
+ readonly removeMoreItems: (count: number) => string;
604
576
  }
605
-
606
- interface MonaNotificationMessages {
607
- readonly close: string;
608
- readonly error: string;
609
- readonly info: string;
610
- /** The name of the region that holds the notifications at one position. */
611
- readonly region: string;
612
- readonly success: string;
613
- readonly warning: string;
577
+ export interface MonaNotificationMessages {
578
+ readonly close: string;
579
+ readonly error: string;
580
+ readonly info: string;
581
+ /** The name of the region that holds the notifications at one position. */
582
+ readonly region: string;
583
+ readonly success: string;
584
+ readonly warning: string;
614
585
  }
615
- type NotificationMessages = MonaNotificationMessages;
616
-
617
- interface MonaNumericTextBoxMessages {
618
- readonly decrease: string;
619
- readonly increase: string;
586
+ export type NotificationMessages = MonaNotificationMessages;
587
+ export interface MonaNumericTextBoxMessages {
588
+ readonly decrease: string;
589
+ readonly increase: string;
620
590
  }
621
-
622
- interface MonaOtpInputMessages {
623
- readonly verificationCode: string;
591
+ export interface MonaOtpInputMessages {
592
+ readonly verificationCode: string;
624
593
  }
625
-
626
- interface MonaPagerMessages {
627
- readonly firstPageLabel: string;
628
- /** Accessible name of the page-size dropdown. */
629
- readonly itemsPerPageLabel: string;
630
- jumpBackwardLabel(pages: number): string;
631
- jumpForwardLabel(pages: number): string;
632
- readonly lastPageLabel: string;
633
- readonly nextPageLabel: string;
634
- /** @deprecated No longer rendered; input mode uses {@link pageInputPrefix} and {@link pageInputSuffix}. */
635
- readonly ofText: string;
636
- /** Text before the page input in input mode ("Page" in "Page [3] of 10"). */
637
- pageInputPrefix(totalPages: number): string;
638
- /** Text after the page input in input mode ("of 10" in "Page [3] of 10"). */
639
- pageInputSuffix(totalPages: number): string;
640
- pageLabel(page: number): string;
641
- /** Accessible name of the page input and of the page dropdown shown on narrow pagers. */
642
- readonly pageSelectLabel: string;
643
- pageSizeLabel(pageSize: number): string;
644
- pageStatus(page: number, totalPages: number): string;
645
- /** @deprecated No longer rendered; input mode uses {@link pageInputPrefix} and {@link pageInputSuffix}. */
646
- readonly pageText: string;
647
- /** Accessible name of the pager's navigation landmark. */
648
- readonly pagerLabel: string;
649
- readonly previousPageLabel: string;
650
- rangeStatus(start: number, end: number, total: number): string;
594
+ export interface MonaPagerMessages {
595
+ readonly firstPageLabel: string;
596
+ /** Accessible name of the page-size dropdown. */
597
+ readonly itemsPerPageLabel: string;
598
+ jumpBackwardLabel(pages: number): string;
599
+ jumpForwardLabel(pages: number): string;
600
+ readonly lastPageLabel: string;
601
+ readonly nextPageLabel: string;
602
+ /** @deprecated No longer rendered; input mode uses {@link pageInputPrefix} and {@link pageInputSuffix}. */
603
+ readonly ofText: string;
604
+ /** Text before the page input in input mode ("Page" in "Page [3] of 10"). */
605
+ pageInputPrefix(totalPages: number): string;
606
+ /** Text after the page input in input mode ("of 10" in "Page [3] of 10"). */
607
+ pageInputSuffix(totalPages: number): string;
608
+ pageLabel(page: number): string;
609
+ /** Accessible name of the page input and of the page dropdown shown on narrow pagers. */
610
+ readonly pageSelectLabel: string;
611
+ pageSizeLabel(pageSize: number): string;
612
+ pageStatus(page: number, totalPages: number): string;
613
+ /** @deprecated No longer rendered; input mode uses {@link pageInputPrefix} and {@link pageInputSuffix}. */
614
+ readonly pageText: string;
615
+ /** Accessible name of the pager's navigation landmark. */
616
+ readonly pagerLabel: string;
617
+ readonly previousPageLabel: string;
618
+ rangeStatus(start: number, end: number, total: number): string;
651
619
  }
652
-
653
- interface MonaProgressBarMessages {
654
- readonly label: string;
620
+ export interface MonaProgressBarMessages {
621
+ readonly label: string;
655
622
  }
656
-
657
- interface MonaSidebarMessages {
658
- readonly drawerLabel: string;
659
- readonly rail: string;
623
+ export interface MonaSidebarMessages {
624
+ readonly drawerLabel: string;
625
+ readonly rail: string;
660
626
  }
661
-
662
- interface MonaRatingMessages {
663
- readonly notRated: string;
664
- valueText(value: number, max: number): string;
627
+ export interface MonaRatingMessages {
628
+ readonly notRated: string;
629
+ valueText(value: number, max: number): string;
665
630
  }
666
-
667
- interface MonaCommandMessages {
668
- readonly dialogLabel: string;
669
- readonly inputLabel: string;
670
- readonly listLabel: string;
671
- readonly loading: string;
672
- readonly noResults: string;
673
- readonly placeholder: string;
674
- readonly resultsAvailable: (count: number) => string;
631
+ export interface MonaCommandMessages {
632
+ readonly dialogLabel: string;
633
+ readonly inputLabel: string;
634
+ readonly listLabel: string;
635
+ readonly loading: string;
636
+ readonly noResults: string;
637
+ readonly placeholder: string;
638
+ readonly resultsAvailable: (count: number) => string;
675
639
  }
676
-
677
- interface MonaScrollViewMessages {
678
- readonly carousel: string;
679
- readonly nextPage: string;
680
- readonly page: (current: number) => string;
681
- readonly pageOf: (current: number, total: number) => string;
682
- readonly pages: string;
683
- readonly previousPage: string;
684
- readonly scrollPagerNext: string;
685
- readonly scrollPagerPrevious: string;
686
- readonly slide: string;
640
+ export interface MonaScrollViewMessages {
641
+ readonly carousel: string;
642
+ readonly nextPage: string;
643
+ readonly page: (current: number) => string;
644
+ readonly pageOf: (current: number, total: number) => string;
645
+ readonly pages: string;
646
+ readonly previousPage: string;
647
+ readonly scrollPagerNext: string;
648
+ readonly scrollPagerPrevious: string;
649
+ readonly slide: string;
687
650
  }
688
-
689
- interface MonaSheetMessages {
690
- readonly closeSheet: string;
651
+ export interface MonaSheetMessages {
652
+ readonly closeSheet: string;
691
653
  }
692
- type SheetMessages = MonaSheetMessages;
693
-
694
- interface MonaSliderMessages {
695
- readonly maximumValue: string;
696
- readonly minimumValue: string;
697
- readonly sliderValue: string;
654
+ export type SheetMessages = MonaSheetMessages;
655
+ export interface MonaSliderMessages {
656
+ readonly maximumValue: string;
657
+ readonly minimumValue: string;
658
+ readonly sliderValue: string;
698
659
  }
699
-
700
- interface MonaSpinnerMessages {
701
- readonly cancel: string;
702
- readonly loading: string;
660
+ export interface MonaSpinnerMessages {
661
+ readonly cancel: string;
662
+ readonly loading: string;
703
663
  }
704
-
705
- interface MonaSplitButtonMessages {
706
- /** The arrow button's name when the main button has no `text` (it shows a template instead). */
707
- readonly menuButtonAriaLabel: string;
708
- /** The arrow button's name, from the main button's `text`. */
709
- readonly menuButtonWithText: (text: string) => string;
710
- /** @deprecated No longer rendered; the main button is named by its content or by `aria-label`. */
711
- readonly splitButton: (text: string) => string;
664
+ export interface MonaSplitButtonMessages {
665
+ /** The arrow button's name when the main button has no `text` (it shows a template instead). */
666
+ readonly menuButtonAriaLabel: string;
667
+ /** The arrow button's name, from the main button's `text`. */
668
+ readonly menuButtonWithText: (text: string) => string;
669
+ /** @deprecated No longer rendered; the main button is named by its content or by `aria-label`. */
670
+ readonly splitButton: (text: string) => string;
712
671
  }
713
-
714
- interface MonaSplitterMessages {
715
- readonly collapseDown: string;
716
- readonly collapseNext: string;
717
- readonly collapsePrevious: string;
718
- readonly collapseUp: string;
719
- readonly resizer: string;
672
+ export interface MonaSplitterMessages {
673
+ readonly collapseDown: string;
674
+ readonly collapseNext: string;
675
+ readonly collapsePrevious: string;
676
+ readonly collapseUp: string;
677
+ readonly resizer: string;
720
678
  }
721
-
722
- interface MonaStepperMessages {
723
- readonly stepCompleted: string;
724
- readonly stepInvalid: string;
725
- readonly stepPosition: (current: number, total: number) => string;
726
- readonly stepProgress: string;
727
- readonly stepper: string;
679
+ export interface MonaStepperMessages {
680
+ readonly stepCompleted: string;
681
+ readonly stepInvalid: string;
682
+ readonly stepPosition: (current: number, total: number) => string;
683
+ readonly stepProgress: string;
684
+ readonly stepper: string;
728
685
  }
729
-
730
- interface MonaTabsMessages {
731
- readonly closeTab: string;
732
- readonly scrollNext: string;
733
- readonly scrollPrevious: string;
686
+ export interface MonaTabsMessages {
687
+ readonly closeTab: string;
688
+ readonly scrollNext: string;
689
+ readonly scrollPrevious: string;
734
690
  }
735
-
736
- interface MonaTextBoxMessages {
737
- readonly clear: string;
691
+ export interface MonaTextBoxMessages {
692
+ readonly clear: string;
738
693
  }
739
-
740
- interface MonaTimePickerMessages {
741
- readonly openTimePicker: string;
742
- readonly timePicker: string;
694
+ export interface MonaTimePickerMessages {
695
+ readonly openTimePicker: string;
696
+ readonly timePicker: string;
743
697
  }
744
- type TimePickerMessages = MonaTimePickerMessages;
745
-
746
- interface MonaTimeSelectorMessages {
747
- readonly am: string;
748
- readonly amPm: string;
749
- readonly headerHours: string;
750
- readonly headerMinutes: string;
751
- readonly headerSeconds: string;
752
- readonly hours: string;
753
- readonly minutes: string;
754
- readonly now: string;
755
- readonly pm: string;
756
- readonly seconds: string;
757
- readonly set: string;
758
- readonly timeSelector: string;
698
+ export type TimePickerMessages = MonaTimePickerMessages;
699
+ export interface MonaTimeSelectorMessages {
700
+ readonly am: string;
701
+ readonly amPm: string;
702
+ readonly headerHours: string;
703
+ readonly headerMinutes: string;
704
+ readonly headerSeconds: string;
705
+ readonly hours: string;
706
+ readonly minutes: string;
707
+ readonly now: string;
708
+ readonly pm: string;
709
+ readonly seconds: string;
710
+ readonly set: string;
711
+ readonly timeSelector: string;
759
712
  }
760
- type TimeSelectorMessages = MonaTimeSelectorMessages;
761
-
762
- interface MonaTreeViewMessages {
763
- /** Start of an expanded node's expander name, followed by the node's text ("Collapse Documents"). */
764
- readonly collapse: string;
765
- /** Start of a collapsed node's expander name, followed by the node's text ("Expand Documents"). */
766
- readonly expand: string;
767
- /** @deprecated No longer rendered; the filter input's name comes from {@link filterLabel}. */
768
- readonly filter: string;
769
- /** Accessible name of the filter input, from the tree view's name ("Filter Files"). */
770
- filterLabel(tree: string): string;
771
- /** Accessible name of the filter input when the tree view has no `aria-label`. */
772
- readonly filterTree: string;
773
- /** Announced, and read with the node, when a node's children couldn't be loaded. */
774
- loadError(node: string): string;
775
- /** Announced while a node's children take a while to load, and the expander's name meanwhile. */
776
- loadingNode(node: string): string;
777
- /** Announced when a keyboard move (Ctrl+Shift+Arrow) put a node after another node. */
778
- movedAfter(node: string, target: string): string;
779
- /** Announced when a keyboard move put a node before another node. */
780
- movedBefore(node: string, target: string): string;
781
- /** Announced when a keyboard move put a node inside another node, as its last child. */
782
- movedInto(node: string, target: string): string;
783
- /** Shown, and describes the tree, when the tree view has no data. */
784
- readonly noData: string;
785
- /** Shown, describes the tree and is announced, when no node matches the filter. */
786
- readonly noMatches: string;
787
- /** Announced after the user filters, with the number of nodes that match. */
788
- results(count: number): string;
789
- /** Name of the expander of a node whose children couldn't be loaded. */
790
- retryLoading(node: string): string;
713
+ export type TimeSelectorMessages = MonaTimeSelectorMessages;
714
+ export interface MonaTreeViewMessages {
715
+ /** Start of an expanded node's expander name, followed by the node's text ("Collapse Documents"). */
716
+ readonly collapse: string;
717
+ /** Start of a collapsed node's expander name, followed by the node's text ("Expand Documents"). */
718
+ readonly expand: string;
719
+ /** @deprecated No longer rendered; the filter input's name comes from {@link filterLabel}. */
720
+ readonly filter: string;
721
+ /** Accessible name of the filter input, from the tree view's name ("Filter Files"). */
722
+ filterLabel(tree: string): string;
723
+ /** Accessible name of the filter input when the tree view has no `aria-label`. */
724
+ readonly filterTree: string;
725
+ /** Announced, and read with the node, when a node's children couldn't be loaded. */
726
+ loadError(node: string): string;
727
+ /** Announced while a node's children take a while to load, and the expander's name meanwhile. */
728
+ loadingNode(node: string): string;
729
+ /** Announced when a keyboard move (Ctrl+Shift+Arrow) put a node after another node. */
730
+ movedAfter(node: string, target: string): string;
731
+ /** Announced when a keyboard move put a node before another node. */
732
+ movedBefore(node: string, target: string): string;
733
+ /** Announced when a keyboard move put a node inside another node, as its last child. */
734
+ movedInto(node: string, target: string): string;
735
+ /** Shown, and describes the tree, when the tree view has no data. */
736
+ readonly noData: string;
737
+ /** Shown, describes the tree and is announced, when no node matches the filter. */
738
+ readonly noMatches: string;
739
+ /** Announced after the user filters, with the number of nodes that match. */
740
+ results(count: number): string;
741
+ /** Name of the expander of a node whose children couldn't be loaded. */
742
+ retryLoading(node: string): string;
791
743
  }
792
-
793
- interface MonaWindowMessages {
794
- /** The close button's tooltip. */
795
- readonly close: string;
796
- /** The close button's accessible name. */
797
- readonly closeWindow: string;
798
- /** The maximize button's tooltip and accessible name while the window isn't maximized. */
799
- readonly maximize: string;
800
- /** The minimize button's tooltip and accessible name while the window isn't minimized. */
801
- readonly minimize: string;
802
- /** The title bar's name when the window can be both dragged and resized; it says which keys do each. */
803
- readonly moveOrResizeWindow: string;
804
- /** The title bar's name when the window can be dragged but not resized. */
805
- readonly moveWindow: string;
806
- /** @deprecated No longer rendered; resize handles are for the pointer, and the title bar resizes with the keyboard. */
807
- readonly resizeBottom: string;
808
- /** @deprecated No longer rendered; resize handles are for the pointer, and the title bar resizes with the keyboard. */
809
- readonly resizeBottomLeft: string;
810
- /** @deprecated No longer rendered; resize handles are for the pointer, and the title bar resizes with the keyboard. */
811
- readonly resizeBottomRight: string;
812
- /** @deprecated No longer rendered; resize handles are for the pointer, and the title bar resizes with the keyboard. */
813
- readonly resizeLeft: string;
814
- /** @deprecated No longer rendered; resize handles are for the pointer, and the title bar resizes with the keyboard. */
815
- readonly resizeRight: string;
816
- /** @deprecated No longer rendered; resize handles are for the pointer, and the title bar resizes with the keyboard. */
817
- readonly resizeTop: string;
818
- /** @deprecated No longer rendered; resize handles are for the pointer, and the title bar resizes with the keyboard. */
819
- readonly resizeTopLeft: string;
820
- /** @deprecated No longer rendered; resize handles are for the pointer, and the title bar resizes with the keyboard. */
821
- readonly resizeTopRight: string;
822
- /** The title bar's name when the window can be resized but not dragged. */
823
- readonly resizeWindow: string;
824
- /** The tooltip and accessible name of the minimize or maximize button while it would restore the window. */
825
- readonly restore: string;
744
+ export interface MonaWindowMessages {
745
+ /** The close button's tooltip. */
746
+ readonly close: string;
747
+ /** The close button's accessible name. */
748
+ readonly closeWindow: string;
749
+ /** The maximize button's tooltip and accessible name while the window isn't maximized. */
750
+ readonly maximize: string;
751
+ /** The minimize button's tooltip and accessible name while the window isn't minimized. */
752
+ readonly minimize: string;
753
+ /** The title bar's name when the window can be both dragged and resized; it says which keys do each. */
754
+ readonly moveOrResizeWindow: string;
755
+ /** The title bar's name when the window can be dragged but not resized. */
756
+ readonly moveWindow: string;
757
+ /** @deprecated No longer rendered; resize handles are for the pointer, and the title bar resizes with the keyboard. */
758
+ readonly resizeBottom: string;
759
+ /** @deprecated No longer rendered; resize handles are for the pointer, and the title bar resizes with the keyboard. */
760
+ readonly resizeBottomLeft: string;
761
+ /** @deprecated No longer rendered; resize handles are for the pointer, and the title bar resizes with the keyboard. */
762
+ readonly resizeBottomRight: string;
763
+ /** @deprecated No longer rendered; resize handles are for the pointer, and the title bar resizes with the keyboard. */
764
+ readonly resizeLeft: string;
765
+ /** @deprecated No longer rendered; resize handles are for the pointer, and the title bar resizes with the keyboard. */
766
+ readonly resizeRight: string;
767
+ /** @deprecated No longer rendered; resize handles are for the pointer, and the title bar resizes with the keyboard. */
768
+ readonly resizeTop: string;
769
+ /** @deprecated No longer rendered; resize handles are for the pointer, and the title bar resizes with the keyboard. */
770
+ readonly resizeTopLeft: string;
771
+ /** @deprecated No longer rendered; resize handles are for the pointer, and the title bar resizes with the keyboard. */
772
+ readonly resizeTopRight: string;
773
+ /** The title bar's name when the window can be resized but not dragged. */
774
+ readonly resizeWindow: string;
775
+ /** The tooltip and accessible name of the minimize or maximize button while it would restore the window. */
776
+ readonly restore: string;
826
777
  }
827
- type WindowMessages = MonaWindowMessages;
828
-
829
- interface MonaLocaleMessages {
830
- autoComplete: MonaAutoCompleteMessages;
831
- breadcrumb: MonaBreadcrumbMessages;
832
- buttonGroup: MonaButtonGroupMessages;
833
- calendar: MonaCalendarMessages;
834
- card: MonaCardMessages;
835
- chart: MonaChartMessages;
836
- chip: MonaChipMessages;
837
- colorGradient: MonaColorGradientMessages;
838
- colorPalette: MonaColorPaletteMessages;
839
- colorPicker: MonaColorPickerMessages;
840
- comboBox: MonaComboBoxMessages;
841
- datePicker: MonaDatePickerMessages;
842
- dateTimePicker: MonaDateTimePickerMessages;
843
- dialog: MonaDialogMessages;
844
- dropdownList: MonaDropdownListMessages;
845
- dropdowns: MonaDropdownsMessages;
846
- editor: MonaEditorMessages;
847
- filter: MonaFilterMessages;
848
- grid: MonaGridMessages;
849
- label: MonaLabelMessages;
850
- list: MonaListMessages;
851
- listBox: MonaListBoxMessages;
852
- multiSelect: MonaMultiSelectMessages;
853
- notification: MonaNotificationMessages;
854
- numericTextBox: MonaNumericTextBoxMessages;
855
- otpInput: MonaOtpInputMessages;
856
- pager: MonaPagerMessages;
857
- progressBar: MonaProgressBarMessages;
858
- sidebar: MonaSidebarMessages;
859
- rating: MonaRatingMessages;
860
- command: MonaCommandMessages;
861
- scrollView: MonaScrollViewMessages;
862
- sheet: MonaSheetMessages;
863
- slider: MonaSliderMessages;
864
- spinner: MonaSpinnerMessages;
865
- splitButton: MonaSplitButtonMessages;
866
- splitter: MonaSplitterMessages;
867
- stepper: MonaStepperMessages;
868
- tabs: MonaTabsMessages;
869
- textBox: MonaTextBoxMessages;
870
- timePicker: MonaTimePickerMessages;
871
- timeSelector: MonaTimeSelectorMessages;
872
- treeView: MonaTreeViewMessages;
873
- window: MonaWindowMessages;
778
+ export type WindowMessages = MonaWindowMessages;
779
+ export interface MonaLocaleMessages {
780
+ autoComplete: MonaAutoCompleteMessages;
781
+ breadcrumb: MonaBreadcrumbMessages;
782
+ buttonGroup: MonaButtonGroupMessages;
783
+ calendar: MonaCalendarMessages;
784
+ card: MonaCardMessages;
785
+ chart: MonaChartMessages;
786
+ chip: MonaChipMessages;
787
+ colorGradient: MonaColorGradientMessages;
788
+ colorPalette: MonaColorPaletteMessages;
789
+ colorPicker: MonaColorPickerMessages;
790
+ comboBox: MonaComboBoxMessages;
791
+ datePicker: MonaDatePickerMessages;
792
+ dateTimePicker: MonaDateTimePickerMessages;
793
+ dialog: MonaDialogMessages;
794
+ dropdownList: MonaDropdownListMessages;
795
+ dropdowns: MonaDropdownsMessages;
796
+ editor: MonaEditorMessages;
797
+ filter: MonaFilterMessages;
798
+ grid: MonaGridMessages;
799
+ label: MonaLabelMessages;
800
+ list: MonaListMessages;
801
+ listBox: MonaListBoxMessages;
802
+ multiSelect: MonaMultiSelectMessages;
803
+ notification: MonaNotificationMessages;
804
+ numericTextBox: MonaNumericTextBoxMessages;
805
+ otpInput: MonaOtpInputMessages;
806
+ pager: MonaPagerMessages;
807
+ progressBar: MonaProgressBarMessages;
808
+ sidebar: MonaSidebarMessages;
809
+ rating: MonaRatingMessages;
810
+ command: MonaCommandMessages;
811
+ scrollView: MonaScrollViewMessages;
812
+ sheet: MonaSheetMessages;
813
+ slider: MonaSliderMessages;
814
+ spinner: MonaSpinnerMessages;
815
+ splitButton: MonaSplitButtonMessages;
816
+ splitter: MonaSplitterMessages;
817
+ stepper: MonaStepperMessages;
818
+ tabs: MonaTabsMessages;
819
+ textBox: MonaTextBoxMessages;
820
+ timePicker: MonaTimePickerMessages;
821
+ timeSelector: MonaTimeSelectorMessages;
822
+ treeView: MonaTreeViewMessages;
823
+ window: MonaWindowMessages;
874
824
  }
875
- type MonaMessageNamespace = keyof MonaLocaleMessages;
876
-
877
- interface MonaLocale {
878
- readonly direction: MonaTextDirection;
879
- readonly id: string;
880
- readonly messages: DeepPartial<MonaLocaleMessages>;
825
+ export type MonaMessageNamespace = keyof MonaLocaleMessages;
826
+ export interface MonaLocale {
827
+ readonly direction: MonaTextDirection;
828
+ readonly id: string;
829
+ readonly messages: DeepPartial<MonaLocaleMessages>;
881
830
  }
882
- declare const MONA_DEFAULT_LOCALE: MonaLocale;
883
-
884
- interface MonaI18nConfig {
885
- /**
886
- * Locale id loaded with {@link MonaI18nConfig.loadLocale} before the application starts, so the first render
887
- * is already localized. When loading fails, the application starts with {@link MonaI18nConfig.locale} (or
888
- * English) and the error is logged.
889
- */
890
- readonly initialLocale?: string;
891
- /**
892
- * Loads a locale by id for `MonaI18nService.load()` and {@link MonaI18nConfig.initialLocale}. Use
893
- * `loadMonaLocale` from `@nanahoshi/mona-ui/locales` for the official locales, or any function that resolves
894
- * to a `MonaLocale`, such as one that fetches a catalog over HTTP.
895
- */
896
- readonly loadLocale?: (localeId: string) => Promise<MonaLocale>;
897
- readonly locale?: MonaLocale;
898
- /**
899
- * Overrides applied only while the locale with that id is active, keyed by locale id such as "de-DE".
900
- * They take precedence over {@link MonaI18nConfig.messages}.
901
- */
902
- readonly localeMessages?: Readonly<Record<string, DeepPartial<MonaLocaleMessages>>>;
903
- /** Overrides applied whatever the active locale is. */
904
- readonly messages?: DeepPartial<MonaLocaleMessages>;
831
+ export declare const MONA_DEFAULT_LOCALE: MonaLocale;
832
+ export interface MonaI18nConfig {
833
+ /**
834
+ * Locale id loaded with {@link MonaI18nConfig.loadLocale} before the application starts, so the first render
835
+ * is already localized. When loading fails, the application starts with {@link MonaI18nConfig.locale} (or
836
+ * English) and the error is logged.
837
+ */
838
+ readonly initialLocale?: string;
839
+ /**
840
+ * Loads a locale by id for `MonaI18nService.load()` and {@link MonaI18nConfig.initialLocale}. Use
841
+ * `loadMonaLocale` from `@nanahoshi/mona-ui/locales` for the official locales, or any function that resolves
842
+ * to a `MonaLocale`, such as one that fetches a catalog over HTTP.
843
+ */
844
+ readonly loadLocale?: (localeId: string) => Promise<MonaLocale>;
845
+ readonly locale?: MonaLocale;
846
+ /**
847
+ * Overrides applied only while the locale with that id is active, keyed by locale id such as "de-DE".
848
+ * They take precedence over {@link MonaI18nConfig.messages}.
849
+ */
850
+ readonly localeMessages?: Readonly<Record<string, DeepPartial<MonaLocaleMessages>>>;
851
+ /** Overrides applied whatever the active locale is. */
852
+ readonly messages?: DeepPartial<MonaLocaleMessages>;
905
853
  }
906
- interface MonaMessageOverrideOptions {
907
- /**
908
- * Locale id the overrides apply to. When omitted, the overrides apply to every locale.
909
- * Ids are canonicalized, so `de_DE` and `de-DE` address the same overrides.
910
- */
911
- readonly locale?: string;
854
+ export interface MonaMessageOverrideOptions {
855
+ /**
856
+ * Locale id the overrides apply to. When omitted, the overrides apply to every locale.
857
+ * Ids are canonicalized, so `de_DE` and `de-DE` address the same overrides.
858
+ */
859
+ readonly locale?: string;
912
860
  }
913
-
914
- declare const MONA_I18N_CONFIG: InjectionToken<MonaI18nConfig>;
915
-
916
- declare class MonaI18nService {
917
- #private;
918
- readonly direction: Signal<_nanahoshi_mona_ui_i18n.MonaTextDirection>;
919
- /** The error of the latest `load()` when it failed, otherwise `null`. */
920
- readonly loadError: Signal<unknown>;
921
- /** Whether a `load()` is in progress and has not been superseded. */
922
- readonly loading: Signal<boolean>;
923
- readonly locale: Signal<MonaLocale>;
924
- /**
925
- * Canonical BCP 47 id of the active locale. POSIX ids such as `en_US` are converted to `en-US`,
926
- * and invalid ids resolve to `MONA_FALLBACK_LOCALE_ID` so formatters always receive a valid tag.
927
- */
928
- readonly localeId: Signal<string>;
929
- constructor();
930
- /**
931
- * Removes overrides. With `options.locale`, only that locale's overrides are removed; without it, every
932
- * override is removed, global and per locale.
933
- */
934
- clearMessages(options?: MonaMessageOverrideOptions): void;
935
- componentMessages<K extends keyof MonaLocaleMessages>(namespace: K, fallback: MonaLocaleMessages[K]): Signal<MonaLocaleMessages[K]>;
936
- /**
937
- * Loads a locale with the `loadLocale` function configured in `provideMonaI18n` and switches to it.
938
- *
939
- * - Ids are canonicalized, and each locale is loaded once: later calls reuse it, and concurrent calls for the
940
- * same id share one request.
941
- * - The latest `load()` or `use()` wins. When a newer one starts before this one finishes, this one resolves
942
- * without switching.
943
- * - When loading fails, the current locale stays, `loadError` is set and the promise rejects. The failed
944
- * locale is not cached, so a later call retries it.
945
- */
946
- load(localeId: string): Promise<void>;
947
- /**
948
- * Merges overrides into the existing ones. With `options.locale`, they apply only while that locale is
949
- * active, so overrides patched for German do not show after switching to English.
950
- */
951
- patchMessages(messages: DeepPartial<MonaLocaleMessages>, options?: MonaMessageOverrideOptions): void;
952
- /**
953
- * Replaces the existing overrides. With `options.locale`, only that locale's overrides are replaced.
954
- */
955
- setMessages(messages: DeepPartial<MonaLocaleMessages>, options?: MonaMessageOverrideOptions): void;
956
- /** Switches to a locale that is already loaded. It supersedes a `load()` still in progress. */
957
- use(locale: MonaLocale): void;
958
- static ɵfac: i0.ɵɵFactoryDeclaration<MonaI18nService, never>;
959
- static ɵprov: i0.ɵɵInjectableDeclaration<MonaI18nService>;
861
+ export declare const MONA_I18N_CONFIG: InjectionToken<MonaI18nConfig>;
862
+ export declare class MonaI18nService {
863
+ #private;
864
+ readonly direction: Signal<import("@nanahoshi/mona-ui/i18n").MonaTextDirection>;
865
+ /** The error of the latest `load()` when it failed, otherwise `null`. */
866
+ readonly loadError: Signal<unknown>;
867
+ /** Whether a `load()` is in progress and has not been superseded. */
868
+ readonly loading: Signal<boolean>;
869
+ readonly locale: Signal<MonaLocale>;
870
+ /**
871
+ * Canonical BCP 47 id of the active locale. POSIX ids such as `en_US` are converted to `en-US`,
872
+ * and invalid ids resolve to `MONA_FALLBACK_LOCALE_ID` so formatters always receive a valid tag.
873
+ */
874
+ readonly localeId: Signal<string>;
875
+ constructor();
876
+ /**
877
+ * Removes overrides. With `options.locale`, only that locale's overrides are removed; without it, every
878
+ * override is removed, global and per locale.
879
+ */
880
+ clearMessages(options?: MonaMessageOverrideOptions): void;
881
+ componentMessages<K extends keyof MonaLocaleMessages>(namespace: K, fallback: MonaLocaleMessages[K]): Signal<MonaLocaleMessages[K]>;
882
+ /**
883
+ * Loads a locale with the `loadLocale` function configured in `provideMonaI18n` and switches to it.
884
+ *
885
+ * - Ids are canonicalized, and each locale is loaded once: later calls reuse it, and concurrent calls for the
886
+ * same id share one request.
887
+ * - The latest `load()` or `use()` wins. When a newer one starts before this one finishes, this one resolves
888
+ * without switching.
889
+ * - When loading fails, the current locale stays, `loadError` is set and the promise rejects. The failed
890
+ * locale is not cached, so a later call retries it.
891
+ */
892
+ load(localeId: string): Promise<void>;
893
+ /**
894
+ * Merges overrides into the existing ones. With `options.locale`, they apply only while that locale is
895
+ * active, so overrides patched for German do not show after switching to English.
896
+ */
897
+ patchMessages(messages: DeepPartial<MonaLocaleMessages>, options?: MonaMessageOverrideOptions): void;
898
+ /**
899
+ * Replaces the existing overrides. With `options.locale`, only that locale's overrides are replaced.
900
+ */
901
+ setMessages(messages: DeepPartial<MonaLocaleMessages>, options?: MonaMessageOverrideOptions): void;
902
+ /** Switches to a locale that is already loaded. It supersedes a `load()` still in progress. */
903
+ use(locale: MonaLocale): void;
904
+ static ɵfac: i0.ɵɵFactoryDeclaration<MonaI18nService, never>;
905
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
960
906
  }
961
-
962
- declare function resolveComponentDirection(hostElement?: ElementRef<HTMLElement> | HTMLElement | null, directionality?: Directionality | null): MonaTextDirection;
963
- interface DirectionObserverHandle {
964
- (): void;
965
- check: () => void;
966
- updateAutoObserver: () => void;
907
+ /** @hidden Exported for Mona UI's other entry points; applications don't need it. */
908
+ export declare function resolveComponentDirection(hostElement?: ElementRef<HTMLElement> | HTMLElement | null, directionality?: Directionality | null): MonaTextDirection;
909
+ /** @hidden Exported for Mona UI's other entry points; applications don't need it. */
910
+ export interface DirectionObserverHandle {
911
+ (): void;
912
+ check: () => void;
913
+ updateAutoObserver: () => void;
967
914
  }
968
- declare function observeComponentDirection(hostElement: ElementRef<HTMLElement> | HTMLElement | null | undefined, directionality: Directionality | null | undefined, onChange: (dir: MonaTextDirection) => void): DirectionObserverHandle;
969
- declare function injectComponentDirection(hostElementRef?: ElementRef<HTMLElement>): Signal<MonaTextDirection>;
970
- declare class MonaDirectionService {
971
- #private;
972
- getDirection(element?: ElementRef<HTMLElement> | HTMLElement | null): MonaTextDirection;
973
- isRtl(element?: ElementRef<HTMLElement> | HTMLElement | null): boolean;
974
- observeDirection(element: ElementRef<HTMLElement> | HTMLElement | null | undefined, onChange: (dir: MonaTextDirection) => void): () => void;
975
- static ɵfac: i0.ɵɵFactoryDeclaration<MonaDirectionService, never>;
976
- static ɵprov: i0.ɵɵInjectableDeclaration<MonaDirectionService>;
915
+ /** @hidden Exported for Mona UI's other entry points; applications don't need it. */
916
+ export declare function observeComponentDirection(hostElement: ElementRef<HTMLElement> | HTMLElement | null | undefined, directionality: Directionality | null | undefined, onChange: (dir: MonaTextDirection) => void): DirectionObserverHandle;
917
+ export declare function injectComponentDirection(hostElementRef?: ElementRef<HTMLElement>): Signal<MonaTextDirection>;
918
+ export declare class MonaDirectionService {
919
+ #private;
920
+ getDirection(element?: ElementRef<HTMLElement> | HTMLElement | null): MonaTextDirection;
921
+ isRtl(element?: ElementRef<HTMLElement> | HTMLElement | null): boolean;
922
+ observeDirection(element: ElementRef<HTMLElement> | HTMLElement | null | undefined, onChange: (dir: MonaTextDirection) => void): () => void;
923
+ static ɵfac: i0.ɵɵFactoryDeclaration<MonaDirectionService, never>;
924
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
977
925
  }
978
-
979
- declare function provideMonaI18n(config?: MonaI18nConfig): EnvironmentProviders;
980
-
981
- declare function mergeTwo<T extends object>(base: T, source?: DeepPartial<T>): T;
982
- declare function mergeMessages<T extends object>(fallback: T, localeMessages?: DeepPartial<NoInfer<T>>, overrideMessages?: DeepPartial<NoInfer<T>>): T;
983
-
984
- interface NumberSymbols {
985
- readonly decimal: string;
986
- readonly group: string;
987
- readonly minus: string;
988
- readonly digits: ReadonlyMap<string, string>;
926
+ export declare function provideMonaI18n(config?: MonaI18nConfig): EnvironmentProviders;
927
+ export declare function mergeTwo<T extends object>(base: T, source?: DeepPartial<T>): T;
928
+ /** @hidden Exported for Mona UI's other entry points; applications don't need it. */
929
+ export declare function mergeMessages<T extends object>(fallback: T, localeMessages?: DeepPartial<NoInfer<T>>, overrideMessages?: DeepPartial<NoInfer<T>>): T;
930
+ export interface NumberSymbols {
931
+ readonly decimal: string;
932
+ readonly group: string;
933
+ readonly minus: string;
934
+ readonly digits: ReadonlyMap<string, string>;
989
935
  }
990
- interface NumberGroupingPattern {
991
- readonly primaryGroupSize: number;
992
- readonly secondaryGroupSize: number;
993
- readonly groupSeparator: string;
994
- /**
995
- * Fewest integer digits the locale groups when formatting (5 in es-ES, which formats 1000 but 10.000).
996
- * Parsing does not enforce it: "1.000" is still read as 1000 in es-ES.
997
- */
998
- readonly minimumGroupedIntegerDigits: number;
936
+ export interface NumberGroupingPattern {
937
+ readonly primaryGroupSize: number;
938
+ readonly secondaryGroupSize: number;
939
+ readonly groupSeparator: string;
940
+ /**
941
+ * Fewest integer digits the locale groups when formatting (5 in es-ES, which formats 1000 but 10.000).
942
+ * Parsing does not enforce it: "1.000" is still read as 1000 in es-ES.
943
+ */
944
+ readonly minimumGroupedIntegerDigits: number;
999
945
  }
1000
- declare function getNumberGroupingPattern(locale: string): NumberGroupingPattern;
1001
- declare function getNumberSymbols(locale: string): NumberSymbols;
1002
- declare function getNumberFormatter(locale: string, options?: Intl.NumberFormatOptions): Intl.NumberFormat;
946
+ export declare function getNumberGroupingPattern(locale: string): NumberGroupingPattern;
947
+ /** @hidden Exported for Mona UI's other entry points; applications don't need it. */
948
+ export declare function getNumberSymbols(locale: string): NumberSymbols;
949
+ /** @hidden Exported for Mona UI's other entry points; applications don't need it. */
950
+ export declare function getNumberFormatter(locale: string, options?: Intl.NumberFormatOptions): Intl.NumberFormat;
1003
951
  /**
1004
952
  * Formats a number for the locale. A decimal string, such as one returned by {@link parseLocalizedDecimal}, is
1005
953
  * formatted exactly, without converting it to a `number` first.
1006
954
  */
1007
- declare function formatNumber(value: number | string, locale: string, options?: Intl.NumberFormatOptions): string;
955
+ export declare function formatNumber(value: number | string, locale: string, options?: Intl.NumberFormatOptions): string;
1008
956
  /**
1009
957
  * Converts digits of any script to ASCII digits. Full-width forms typed by CJK input methods
1010
958
  * ("12.5", "-3", "1,000") are folded to ASCII first.
1011
959
  */
1012
- declare function normalizeLocalizedDigits(text: string, localeId?: string): string;
1013
- declare function normalizeLocalizedMinus(text: string, symbols?: NumberSymbols): string;
1014
- declare function normalizeLocalizedInput(text: string, localeId: string): string;
960
+ export declare function normalizeLocalizedDigits(text: string, localeId?: string): string;
961
+ export declare function normalizeLocalizedMinus(text: string, symbols?: NumberSymbols): string;
962
+ export declare function normalizeLocalizedInput(text: string, localeId: string): string;
1015
963
  /**
1016
964
  * Decimal separators accepted while editing: the locale's own, plus "." and "," so a separator typed on a
1017
965
  * keyboard layout that does not match the locale still works. An alternate is dropped when it is the locale's
1018
966
  * group separator; otherwise "1,234" typed in en-US (or "1.234" in de-DE) would be read as 1.234.
1019
967
  */
1020
- declare function getEditDecimalSeparators(symbols: NumberSymbols): ReadonlySet<string>;
1021
- type LocalizedNumberParseMode = "edit" | "locale";
1022
- interface ParseLocalizedNumberOptions {
1023
- /**
1024
- * When "locale" (default), parses strictly according to canonical locale rules.
1025
- * Only the locale's canonical decimal separator is treated as decimal, and only
1026
- * canonical grouping separators are treated as grouping.
1027
- * When "edit", allows alternate decimal separators (such as '.' in comma-decimal locales)
1028
- * during interactive input entry, unless the alternate is the locale's group separator.
1029
- */
1030
- mode?: LocalizedNumberParseMode;
1031
- /**
1032
- * Legacy convenience flag equivalent to `mode: "edit"`.
1033
- */
1034
- alternateDecimal?: boolean;
968
+ export declare function getEditDecimalSeparators(symbols: NumberSymbols): ReadonlySet<string>;
969
+ export type LocalizedNumberParseMode = "edit" | "locale";
970
+ export interface ParseLocalizedNumberOptions {
971
+ /**
972
+ * When "locale" (default), parses strictly according to canonical locale rules.
973
+ * Only the locale's canonical decimal separator is treated as decimal, and only
974
+ * canonical grouping separators are treated as grouping.
975
+ * When "edit", allows alternate decimal separators (such as '.' in comma-decimal locales)
976
+ * during interactive input entry, unless the alternate is the locale's group separator.
977
+ */
978
+ mode?: LocalizedNumberParseMode;
979
+ /**
980
+ * Legacy convenience flag equivalent to `mode: "edit"`.
981
+ */
982
+ alternateDecimal?: boolean;
1035
983
  }
1036
984
  /**
1037
985
  * Why a value was refused:
@@ -1040,188 +988,187 @@ interface ParseLocalizedNumberOptions {
1040
988
  * - `"precision"`: a JavaScript `number` cannot hold it exactly (an integer beyond
1041
989
  * `Number.MAX_SAFE_INTEGER`, or more than 15 significant digits), so accepting it would silently change it.
1042
990
  */
1043
- type LocalizedNumberInvalidReason = "decimals" | "precision" | "syntax";
1044
- interface LocalizedNumberValidationResult {
1045
- fractionDigits: number;
1046
- /** Set when `valid` is false. */
1047
- reason?: LocalizedNumberInvalidReason;
1048
- valid: boolean;
1049
- value: number | null;
991
+ export type LocalizedNumberInvalidReason = "decimals" | "precision" | "syntax";
992
+ /** @hidden Exported for Mona UI's other entry points; applications don't need it. */
993
+ export interface LocalizedNumberValidationResult {
994
+ fractionDigits: number;
995
+ /** Set when `valid` is false. */
996
+ reason?: LocalizedNumberInvalidReason;
997
+ valid: boolean;
998
+ value: number | null;
1050
999
  }
1051
1000
  /**
1052
1001
  * Parses localized text to a number. Returns `null` when the text is not a number in the locale, or when a
1053
1002
  * `number` cannot hold it exactly (see {@link LocalizedNumberInvalidReason}); it never rounds silently.
1054
1003
  * Use {@link parseLocalizedDecimal} for values that need more precision.
1055
1004
  */
1056
- declare function parseLocalizedNumber(text: string | null | undefined, localeId: string, options?: ParseLocalizedNumberOptions): number | null;
1005
+ export declare function parseLocalizedNumber(text: string | null | undefined, localeId: string, options?: ParseLocalizedNumberOptions): number | null;
1057
1006
  /**
1058
1007
  * Parses localized text with the same rules as {@link parseLocalizedNumber}, but returns a canonical decimal string
1059
1008
  * (`"-1234.5"`: ASCII digits, `.` as the decimal separator, no grouping, exponent, leading zeros or trailing
1060
1009
  * fraction zeros) and has no precision limit. Returns `null` when the text is not a number in the locale.
1061
1010
  */
1062
- declare function parseLocalizedDecimal(text: string | null | undefined, localeId: string, options?: ParseLocalizedNumberOptions): string | null;
1063
- declare function validateLocalizedNumber(text: string | null | undefined, localeId: string, options?: {
1064
- mode?: LocalizedNumberParseMode;
1065
- decimals?: number;
1011
+ export declare function parseLocalizedDecimal(text: string | null | undefined, localeId: string, options?: ParseLocalizedNumberOptions): string | null;
1012
+ /** @hidden Exported for Mona UI's other entry points; applications don't need it. */
1013
+ export declare function validateLocalizedNumber(text: string | null | undefined, localeId: string, options?: {
1014
+ mode?: LocalizedNumberParseMode;
1015
+ decimals?: number;
1066
1016
  }): LocalizedNumberValidationResult;
1067
- interface LocalizedDecimalValidationResult {
1068
- fractionDigits: number;
1069
- /** Set when `valid` is false. */
1070
- reason?: LocalizedNumberInvalidReason;
1071
- valid: boolean;
1072
- /** A canonical decimal string, see {@link parseLocalizedDecimal}. */
1073
- value: string | null;
1017
+ export interface LocalizedDecimalValidationResult {
1018
+ fractionDigits: number;
1019
+ /** Set when `valid` is false. */
1020
+ reason?: LocalizedNumberInvalidReason;
1021
+ valid: boolean;
1022
+ /** A canonical decimal string, see {@link parseLocalizedDecimal}. */
1023
+ value: string | null;
1074
1024
  }
1075
1025
  /**
1076
1026
  * Validates localized text like {@link validateLocalizedNumber}, but returns a canonical decimal string and has no
1077
1027
  * precision limit, so `reason` is never `"precision"`.
1078
1028
  */
1079
- declare function validateLocalizedDecimal(text: string | null | undefined, localeId: string, options?: {
1080
- mode?: LocalizedNumberParseMode;
1081
- decimals?: number;
1029
+ export declare function validateLocalizedDecimal(text: string | null | undefined, localeId: string, options?: {
1030
+ mode?: LocalizedNumberParseMode;
1031
+ decimals?: number;
1082
1032
  }): LocalizedDecimalValidationResult;
1083
- interface LocalizedNumberEditValidationResult {
1084
- readonly complete: boolean;
1085
- /** Set when `valid` is false. */
1086
- readonly reason?: LocalizedNumberInvalidReason;
1087
- readonly valid: boolean;
1088
- readonly value: number | null;
1033
+ /** @hidden Exported for Mona UI's other entry points; applications don't need it. */
1034
+ export interface LocalizedNumberEditValidationResult {
1035
+ readonly complete: boolean;
1036
+ /** Set when `valid` is false. */
1037
+ readonly reason?: LocalizedNumberInvalidReason;
1038
+ readonly valid: boolean;
1039
+ readonly value: number | null;
1089
1040
  }
1090
- interface LocalizedDecimalEditValidationResult {
1091
- readonly complete: boolean;
1092
- /** Set when `valid` is false. */
1093
- readonly reason?: LocalizedNumberInvalidReason;
1094
- readonly valid: boolean;
1095
- /** A canonical decimal string, see {@link parseLocalizedDecimal}. */
1096
- readonly value: string | null;
1041
+ export interface LocalizedDecimalEditValidationResult {
1042
+ readonly complete: boolean;
1043
+ /** Set when `valid` is false. */
1044
+ readonly reason?: LocalizedNumberInvalidReason;
1045
+ readonly valid: boolean;
1046
+ /** A canonical decimal string, see {@link parseLocalizedDecimal}. */
1047
+ readonly value: string | null;
1097
1048
  }
1098
- interface ValidateLocalizedNumberEditOptions {
1099
- readonly decimals?: number;
1100
- readonly allowSign?: boolean;
1049
+ export interface ValidateLocalizedNumberEditOptions {
1050
+ readonly decimals?: number;
1051
+ readonly allowSign?: boolean;
1101
1052
  }
1102
- declare function validateLocalizedNumberEdit(text: string | null | undefined, localeId: string, options?: ValidateLocalizedNumberEditOptions): LocalizedNumberEditValidationResult;
1053
+ /** @hidden Exported for Mona UI's other entry points; applications don't need it. */
1054
+ export declare function validateLocalizedNumberEdit(text: string | null | undefined, localeId: string, options?: ValidateLocalizedNumberEditOptions): LocalizedNumberEditValidationResult;
1103
1055
  /**
1104
1056
  * Validates text while it is typed, like {@link validateLocalizedNumberEdit}, but returns a canonical decimal string
1105
1057
  * and has no precision limit.
1106
1058
  */
1107
- declare function validateLocalizedDecimalEdit(text: string | null | undefined, localeId: string, options?: ValidateLocalizedNumberEditOptions): LocalizedDecimalEditValidationResult;
1108
-
1059
+ export declare function validateLocalizedDecimalEdit(text: string | null | undefined, localeId: string, options?: ValidateLocalizedNumberEditOptions): LocalizedDecimalEditValidationResult;
1109
1060
  /**
1110
1061
  * Locale id used whenever a supplied id cannot be turned into a valid BCP 47 tag.
1111
1062
  * Matches the id of `MONA_DEFAULT_LOCALE`.
1112
1063
  */
1113
- declare const MONA_FALLBACK_LOCALE_ID = "en-US";
1064
+ export declare const MONA_FALLBACK_LOCALE_ID = "en-US";
1114
1065
  /**
1115
1066
  * Converts a locale id to a canonical BCP 47 tag, or returns `null` when it is not a valid tag.
1116
1067
  *
1117
1068
  * POSIX/Java style ids are accepted: `en_US` becomes `en-US`, and an encoding or modifier suffix
1118
1069
  * (`de_DE.UTF-8`, `de_DE@euro`) is dropped.
1119
1070
  */
1120
- declare function tryCanonicalizeLocaleId(localeId: string | null | undefined): string | null;
1071
+ export declare function tryCanonicalizeLocaleId(localeId: string | null | undefined): string | null;
1121
1072
  /**
1122
1073
  * Converts a locale id to a canonical BCP 47 tag. Ids that are empty or not valid tags resolve to
1123
1074
  * {@link MONA_FALLBACK_LOCALE_ID}, so every formatter receives the same, valid locale.
1124
1075
  */
1125
- declare function canonicalizeLocaleId(localeId: string | null | undefined): string;
1126
-
1076
+ export declare function canonicalizeLocaleId(localeId: string | null | undefined): string;
1127
1077
  /**
1128
1078
  * Normalizes a locale string to ensure it uses the Gregorian calendar system
1129
1079
  * and doesn't contain a conflicting -u-ca-* extension.
1130
1080
  * Empty or malformed ids resolve to `MONA_FALLBACK_LOCALE_ID` (en-US).
1131
1081
  */
1132
- declare function normalizeGregorianLocale(localeId: string): string;
1082
+ export declare function normalizeGregorianLocale(localeId: string): string;
1133
1083
  /**
1134
1084
  * Creates a Luxon DateTime from a Date instance, reconfigured to the specified locale
1135
1085
  * with an explicit Gregorian output calendar.
1086
+ * @hidden Exported for Mona UI's other entry points; applications don't need it.
1136
1087
  */
1137
- declare function gregorianDateTime(date: Date, localeId: string): DateTime;
1088
+ export declare function gregorianDateTime(date: Date, localeId: string): DateTime;
1138
1089
  /**
1139
1090
  * Creates a Luxon DateTime from object components (year, month, etc.), reconfigured to the
1140
1091
  * specified locale with an explicit Gregorian output calendar.
1092
+ * @hidden Exported for Mona UI's other entry points; applications don't need it.
1141
1093
  */
1142
- declare function gregorianDateTimeFromObject(obj: {
1143
- year: number;
1144
- month?: number;
1145
- day?: number;
1146
- hour?: number;
1147
- minute?: number;
1148
- second?: number;
1094
+ export declare function gregorianDateTimeFromObject(obj: {
1095
+ year: number;
1096
+ month?: number;
1097
+ day?: number;
1098
+ hour?: number;
1099
+ minute?: number;
1100
+ second?: number;
1149
1101
  }, localeId: string): DateTime;
1150
1102
  /**
1151
1103
  * Formats a date using locale-native token ordering and explicit Gregorian calendar.
1152
1104
  */
1153
- declare function formatGregorianDateToLocaleString(date: Date, localeId: string, options: Intl.DateTimeFormatOptions): string;
1105
+ export declare function formatGregorianDateToLocaleString(date: Date, localeId: string, options: Intl.DateTimeFormatOptions): string;
1154
1106
  /**
1155
1107
  * Regular expression matching Unicode bidirectional formatting controls
1156
1108
  * (such as LRM, RLM, ALM, embeddings, overrides, and isolates).
1157
1109
  */
1158
- declare const BIDI_CONTROL_REGEX: RegExp;
1110
+ export declare const BIDI_CONTROL_REGEX: RegExp;
1159
1111
  /**
1160
1112
  * Strips Unicode bidirectional formatting controls from a string.
1161
1113
  */
1162
- declare function stripBidiControls(value: string): string;
1114
+ export declare function stripBidiControls(value: string): string;
1163
1115
  /**
1164
1116
  * Sanitizes date/time text by stripping invisible bidi controls and
1165
1117
  * normalizing typographic/non-breaking spaces to standard ASCII spaces.
1166
1118
  */
1167
- declare function sanitizeDateText(value: string): string;
1119
+ export declare function sanitizeDateText(value: string): string;
1168
1120
  /**
1169
1121
  * Parses a date string using the specified format and locale, forcing Gregorian calendar.
1170
1122
  * Localized digits are normalized first to support locales that use native numbering systems.
1171
1123
  */
1172
- declare function parseGregorianDate(text: string, format: string, localeId: string): DateTime;
1173
-
1124
+ export declare function parseGregorianDate(text: string, format: string, localeId: string): DateTime;
1174
1125
  type LocaleFirstDayOfWeek = "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
1175
-
1176
- interface LocaleTimeFormatOptions {
1177
- readonly hourFormat?: "12" | "24";
1178
- readonly showSeconds?: boolean;
1126
+ export interface LocaleTimeFormatOptions {
1127
+ readonly hourFormat?: "12" | "24";
1128
+ readonly showSeconds?: boolean;
1179
1129
  }
1180
1130
  /**
1181
1131
  * Derives a localized numeric date format (e.g. "yyyy/MM/dd" or "dd/MM/yyyy") for the given locale.
1182
1132
  */
1183
- declare function getLocaleDateInputFormat(localeId: string): string;
1133
+ export declare function getLocaleDateInputFormat(localeId: string): string;
1184
1134
  /**
1185
1135
  * Derives a localized time format (e.g. "HH:mm", "ahh:mm", "hh:mm a") for the given locale.
1186
1136
  */
1187
- declare function getLocaleTimeInputFormat(localeId: string, options?: LocaleTimeFormatOptions): string;
1137
+ export declare function getLocaleTimeInputFormat(localeId: string, options?: LocaleTimeFormatOptions): string;
1188
1138
  /**
1189
1139
  * Derives a localized date-time format for the given locale.
1190
1140
  */
1191
- declare function getLocaleDateTimeInputFormat(localeId: string, options?: LocaleTimeFormatOptions): string;
1141
+ export declare function getLocaleDateTimeInputFormat(localeId: string, options?: LocaleTimeFormatOptions): string;
1192
1142
  /**
1193
1143
  * Resolves the first day of the week for the given locale using Intl.Locale.weekInfo,
1194
1144
  * Intl.Locale.getWeekInfo(), or CLDR fallbacks.
1195
1145
  */
1196
- declare function getLocaleFirstDayOfWeek(localeId: string): LocaleFirstDayOfWeek;
1197
-
1198
- interface PseudoLocalizationOptions {
1199
- readonly prefix?: string;
1200
- readonly suffix?: string;
1201
- readonly expand?: boolean;
1202
- readonly expansionFactor?: number;
1146
+ export declare function getLocaleFirstDayOfWeek(localeId: string): LocaleFirstDayOfWeek;
1147
+ export interface PseudoLocalizationOptions {
1148
+ readonly prefix?: string;
1149
+ readonly suffix?: string;
1150
+ readonly expand?: boolean;
1151
+ readonly expansionFactor?: number;
1203
1152
  }
1204
- interface GeneratePseudoLocaleOptions {
1205
- readonly id?: string;
1206
- readonly direction?: MonaTextDirection;
1207
- readonly pseudoOptions?: PseudoLocalizationOptions;
1153
+ export interface GeneratePseudoLocaleOptions {
1154
+ readonly id?: string;
1155
+ readonly direction?: MonaTextDirection;
1156
+ readonly pseudoOptions?: PseudoLocalizationOptions;
1208
1157
  }
1209
1158
  /**
1210
1159
  * Transforms a text string into pseudo-localized text (e.g. "Apply" -> "[!! Åþþļÿ~~ !!]").
1211
1160
  * Tokens enclosed in single braces {placeholder}, double braces {{placeholder}}, or HTML tags <tag>
1212
1161
  * are preserved verbatim so formatting / parameter substitution continues to function.
1213
1162
  */
1214
- declare function pseudoLocalize(text: string, options?: PseudoLocalizationOptions): string;
1163
+ export declare function pseudoLocalize(text: string, options?: PseudoLocalizationOptions): string;
1215
1164
  /**
1216
1165
  * Recursively pseudo-localizes a message catalog or nested object of message catalogs.
1217
1166
  * Plain strings are pseudo-localized, and message functions (e.g. (page: number) => string)
1218
1167
  * are wrapped so their string outputs are pseudo-localized when invoked.
1219
1168
  */
1220
- declare function pseudoLocalizeCatalog<T extends object>(catalog: T, options?: PseudoLocalizationOptions): T;
1169
+ export declare function pseudoLocalizeCatalog<T extends object>(catalog: T, options?: PseudoLocalizationOptions): T;
1221
1170
  /**
1222
1171
  * Generates a full pseudo-localized MonaLocale (e.g. en-XA) from a dictionary of message catalogs.
1223
1172
  */
1224
- declare function generatePseudoLocale(catalogs: DeepPartial<MonaLocaleMessages>, options?: GeneratePseudoLocaleOptions): MonaLocale;
1225
-
1226
- export { BIDI_CONTROL_REGEX, MONA_DEFAULT_LOCALE, MONA_FALLBACK_LOCALE_ID, MONA_I18N_CONFIG, MonaDirectionService, MonaI18nService, canonicalizeLocaleId, formatGregorianDateToLocaleString, formatNumber, generatePseudoLocale, getEditDecimalSeparators, getLocaleDateInputFormat, getLocaleDateTimeInputFormat, getLocaleFirstDayOfWeek, getLocaleTimeInputFormat, getNumberFormatter, getNumberGroupingPattern, getNumberSymbols, gregorianDateTime, gregorianDateTimeFromObject, injectComponentDirection, mergeMessages, mergeTwo, normalizeGregorianLocale, normalizeLocalizedDigits, normalizeLocalizedInput, normalizeLocalizedMinus, observeComponentDirection, parseGregorianDate, parseLocalizedDecimal, parseLocalizedNumber, provideMonaI18n, pseudoLocalize, pseudoLocalizeCatalog, resolveComponentDirection, sanitizeDateText, stripBidiControls, tryCanonicalizeLocaleId, validateLocalizedDecimal, validateLocalizedDecimalEdit, validateLocalizedNumber, validateLocalizedNumberEdit };
1227
- export type { CalendarMessages, DatePickerMessages, DateTimePickerMessages, DeepPartial, DialogMessages, DirectionObserverHandle, FilterMessages, GeneratePseudoLocaleOptions, LocaleFirstDayOfWeek, LocaleTimeFormatOptions, LocalizedDecimalEditValidationResult, LocalizedDecimalValidationResult, LocalizedNumberEditValidationResult, LocalizedNumberInvalidReason, LocalizedNumberParseMode, LocalizedNumberValidationResult, MonaAutoCompleteMessages, MonaBreadcrumbMessages, MonaButtonGroupMessages, MonaCalendarMessages, MonaCardMessages, MonaChartMessages, MonaChipMessages, MonaColorGradientMessages, MonaColorPaletteMessages, MonaColorPickerMessages, MonaComboBoxMessages, MonaCommandMessages, MonaDatePickerMessages, MonaDateTimePickerMessages, MonaDialogMessages, MonaDropdownListMessages, MonaDropdownsMessages, MonaEditorMessages, MonaFilterMessages, MonaGridMessages, MonaI18nConfig, MonaLabelMessages, MonaListBoxMessages, MonaListMessages, MonaLocale, MonaLocaleMessages, MonaMessageNamespace, MonaMessageOverrideOptions, MonaMultiSelectMessages, MonaNotificationMessages, MonaNumericTextBoxMessages, MonaOtpInputMessages, MonaPagerMessages, MonaProgressBarMessages, MonaRatingMessages, MonaScrollViewMessages, MonaSheetMessages, MonaSidebarMessages, MonaSliderMessages, MonaSpinnerMessages, MonaSplitButtonMessages, MonaSplitterMessages, MonaStepperMessages, MonaTabsMessages, MonaTextBoxMessages, MonaTextDirection, MonaTimePickerMessages, MonaTimeSelectorMessages, MonaTreeViewMessages, MonaWindowMessages, NotificationMessages, NumberGroupingPattern, NumberSymbols, ParseLocalizedNumberOptions, PseudoLocalizationOptions, SheetMessages, TimePickerMessages, TimeSelectorMessages, ValidateLocalizedNumberEditOptions, WindowMessages };
1173
+ export declare function generatePseudoLocale(catalogs: DeepPartial<MonaLocaleMessages>, options?: GeneratePseudoLocaleOptions): MonaLocale;
1174
+ export type { LocaleFirstDayOfWeek };