@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.
- package/docs/api/auto-complete.md +67 -0
- package/docs/api/avatar.md +31 -0
- package/docs/api/breadcrumb.md +74 -0
- package/docs/api/button-group.md +71 -0
- package/docs/api/button.md +84 -0
- package/docs/api/calendar.md +123 -0
- package/docs/api/card.md +97 -0
- package/docs/api/chart.md +4380 -0
- package/docs/api/check-box.md +70 -0
- package/docs/api/chip.md +55 -0
- package/docs/api/circular-progress-bar.md +71 -0
- package/docs/api/collapsible.md +71 -0
- package/docs/api/color-gradient.md +54 -0
- package/docs/api/color-palette.md +52 -0
- package/docs/api/color-picker.md +89 -0
- package/docs/api/combo-box.md +69 -0
- package/docs/api/command.md +282 -0
- package/docs/api/common.md +599 -0
- package/docs/api/contextmenu.md +239 -0
- package/docs/api/date-input.md +119 -0
- package/docs/api/date-picker.md +67 -0
- package/docs/api/datetime-picker.md +72 -0
- package/docs/api/dialog.md +291 -0
- package/docs/api/dropdown-button.md +248 -0
- package/docs/api/dropdown-list.md +72 -0
- package/docs/api/dropdowns.md +172 -0
- package/docs/api/editor.md +117 -0
- package/docs/api/expansion-panel.md +85 -0
- package/docs/api/fieldset.md +33 -0
- package/docs/api/filter.md +116 -0
- package/docs/api/grid.md +1445 -0
- package/docs/api/i18n.md +1699 -0
- package/docs/api/label.md +58 -0
- package/docs/api/list-box.md +301 -0
- package/docs/api/list-view.md +294 -0
- package/docs/api/list.md +119 -0
- package/docs/api/locales.md +134 -0
- package/docs/api/menubar.md +275 -0
- package/docs/api/multi-select.md +92 -0
- package/docs/api/notification.md +164 -0
- package/docs/api/numeric-text-box.md +130 -0
- package/docs/api/otp-input.md +100 -0
- package/docs/api/pager.md +371 -0
- package/docs/api/placeholder.md +18 -0
- package/docs/api/popover.md +170 -0
- package/docs/api/popup-menu.md +328 -0
- package/docs/api/popup.md +299 -0
- package/docs/api/progress-bar.md +79 -0
- package/docs/api/query.md +367 -0
- package/docs/api/radio-button.md +113 -0
- package/docs/api/rating.md +187 -0
- package/docs/api/scroll-view.md +93 -0
- package/docs/api/segmented.md +114 -0
- package/docs/api/sheet.md +65 -0
- package/docs/api/sidebar.md +583 -0
- package/docs/api/skeleton.md +26 -0
- package/docs/api/slider.md +173 -0
- package/docs/api/spinner.md +132 -0
- package/docs/api/split-button.md +261 -0
- package/docs/api/splitter.md +57 -0
- package/docs/api/stepper.md +148 -0
- package/docs/api/switch.md +78 -0
- package/docs/api/tabs.md +139 -0
- package/docs/api/text-area.md +20 -0
- package/docs/api/text-box.md +106 -0
- package/docs/api/theme.md +627 -0
- package/docs/api/time-picker.md +69 -0
- package/docs/api/time-selector.md +54 -0
- package/docs/api/tooltip.md +112 -0
- package/docs/api/tree-view.md +631 -0
- package/docs/api/window.md +245 -0
- package/docs/auto-complete.md +28 -329
- package/docs/avatar.md +4 -24
- package/docs/breadcrumb.md +10 -65
- package/docs/button-group.md +7 -60
- package/docs/button.md +8 -67
- package/docs/calendar.md +16 -121
- package/docs/card.md +16 -79
- package/docs/chart-bar.md +16 -234
- package/docs/chart-financial.md +10 -121
- package/docs/chart-funnel.md +13 -176
- package/docs/chart-heatmap.md +15 -131
- package/docs/chart-line-area.md +12 -137
- package/docs/chart-pie.md +17 -221
- package/docs/chart-radar.md +13 -129
- package/docs/chart-radial.md +13 -211
- package/docs/chart-scatter.md +6 -74
- package/docs/chart-treemap.md +14 -196
- package/docs/chart.md +168 -1892
- package/docs/checkbox.md +5 -61
- package/docs/chip.md +7 -42
- package/docs/circular-progress-bar.md +9 -61
- package/docs/collapsible.md +5 -87
- package/docs/color-gradient.md +8 -81
- package/docs/color-palette.md +7 -69
- package/docs/color-picker.md +9 -105
- package/docs/combo-box.md +28 -331
- package/docs/command.md +25 -236
- package/docs/contextmenu.md +15 -140
- package/docs/date-picker.md +7 -110
- package/docs/datetime-picker.md +7 -129
- package/docs/decimal-textbox.md +6 -69
- package/docs/dialog.md +23 -263
- package/docs/dropdown-button.md +15 -146
- package/docs/dropdown-list.md +29 -332
- package/docs/editor.md +10 -164
- package/docs/expansion-panel.md +7 -69
- package/docs/fieldset.md +5 -24
- package/docs/grid-columns.md +12 -92
- package/docs/grid-editing.md +29 -291
- package/docs/grid-grouping.md +11 -50
- package/docs/grid-rows.md +10 -74
- package/docs/grid-selection.md +7 -36
- package/docs/grid-server.md +8 -293
- package/docs/grid-sorting-filtering.md +10 -333
- package/docs/grid-state-export.md +17 -228
- package/docs/grid.md +23 -216
- package/docs/input.md +7 -19
- package/docs/installation.md +147 -15
- package/docs/introduction.md +37 -15
- package/docs/label.md +8 -39
- package/docs/list-box.md +21 -253
- package/docs/list-view.md +25 -232
- package/docs/menubar.md +21 -167
- package/docs/multi-select.md +31 -350
- package/docs/notification.md +17 -116
- package/docs/numeric-textbox.md +9 -78
- package/docs/otp-input.md +9 -95
- package/docs/pager.md +19 -239
- package/docs/placeholder.md +5 -18
- package/docs/popover.md +13 -123
- package/docs/popup-menu.md +22 -243
- package/docs/popup.md +24 -248
- package/docs/progress-bar.md +10 -75
- package/docs/radio-button.md +8 -96
- package/docs/range-slider.md +9 -82
- package/docs/rating.md +15 -163
- package/docs/scroll-view.md +9 -86
- package/docs/segmented.md +8 -90
- package/docs/sheet.md +10 -74
- package/docs/sidebar-menus.md +20 -155
- package/docs/sidebar-state.md +16 -134
- package/docs/sidebar.md +18 -218
- package/docs/skeleton.md +5 -26
- package/docs/slider.md +9 -97
- package/docs/spinner.md +15 -95
- package/docs/split-button.md +21 -166
- package/docs/splitter.md +9 -56
- package/docs/stepper.md +13 -127
- package/docs/switch.md +8 -58
- package/docs/tabs.md +13 -111
- package/docs/textarea.md +4 -13
- package/docs/textbox.md +10 -77
- package/docs/theming-built-in-themes.md +67 -0
- package/docs/theming-custom-colors.md +274 -0
- package/docs/theming-custom-themes.md +168 -0
- package/docs/theming.md +164 -248
- package/docs/time-picker.md +7 -112
- package/docs/tooltip-directive.md +12 -96
- package/docs/tooltip.md +12 -96
- package/docs/tree-view.md +42 -495
- package/docs/window.md +19 -230
- package/fesm2022/nanahoshi-mona-ui-auto-complete.mjs +1089 -603
- package/fesm2022/nanahoshi-mona-ui-avatar.mjs +369 -184
- package/fesm2022/nanahoshi-mona-ui-breadcrumb.mjs +658 -371
- package/fesm2022/nanahoshi-mona-ui-button-group.mjs +513 -359
- package/fesm2022/nanahoshi-mona-ui-button.mjs +622 -517
- package/fesm2022/nanahoshi-mona-ui-calendar.mjs +2070 -1573
- package/fesm2022/nanahoshi-mona-ui-card.mjs +620 -316
- package/fesm2022/nanahoshi-mona-ui-chart.mjs +61151 -64921
- package/fesm2022/nanahoshi-mona-ui-check-box.mjs +646 -317
- package/fesm2022/nanahoshi-mona-ui-chip.mjs +737 -516
- package/fesm2022/nanahoshi-mona-ui-circular-progress-bar.mjs +441 -242
- package/fesm2022/nanahoshi-mona-ui-collapsible.mjs +443 -389
- package/fesm2022/nanahoshi-mona-ui-color-gradient.mjs +1138 -814
- package/fesm2022/nanahoshi-mona-ui-color-palette.mjs +1114 -959
- package/fesm2022/nanahoshi-mona-ui-color-picker.mjs +858 -504
- package/fesm2022/nanahoshi-mona-ui-combo-box.mjs +1181 -742
- package/fesm2022/nanahoshi-mona-ui-command.mjs +1454 -853
- package/fesm2022/nanahoshi-mona-ui-common.mjs +569 -740
- package/fesm2022/nanahoshi-mona-ui-contextmenu.mjs +978 -532
- package/fesm2022/nanahoshi-mona-ui-date-input.mjs +283 -254
- package/fesm2022/nanahoshi-mona-ui-date-picker.mjs +973 -451
- package/fesm2022/nanahoshi-mona-ui-datetime-picker.mjs +1203 -658
- package/fesm2022/nanahoshi-mona-ui-dialog.mjs +1415 -936
- package/fesm2022/nanahoshi-mona-ui-dropdown-button.mjs +1165 -568
- package/fesm2022/nanahoshi-mona-ui-dropdown-list.mjs +1142 -677
- package/fesm2022/nanahoshi-mona-ui-dropdowns.mjs +1018 -729
- package/fesm2022/nanahoshi-mona-ui-editor.mjs +3589 -2122
- package/fesm2022/nanahoshi-mona-ui-expansion-panel.mjs +577 -359
- package/fesm2022/nanahoshi-mona-ui-fieldset.mjs +311 -151
- package/fesm2022/nanahoshi-mona-ui-filter.mjs +1086 -718
- package/fesm2022/nanahoshi-mona-ui-grid-grid-colgroup.component-NhONCVIX.mjs +77 -0
- package/fesm2022/nanahoshi-mona-ui-grid-grid-footer-row.component-Djv8ZnT5.mjs +480 -0
- package/fesm2022/nanahoshi-mona-ui-grid-grid-list.component-WbXAzGCa.mjs +470 -0
- package/fesm2022/nanahoshi-mona-ui-grid-grid-row.component-DkWTD3pN.mjs +2115 -0
- package/fesm2022/nanahoshi-mona-ui-grid-grid-virtual-list.component-DAHqTwBJ.mjs +330 -0
- package/fesm2022/nanahoshi-mona-ui-grid-grid.styles-BmLU-3zP.mjs +3766 -0
- package/fesm2022/nanahoshi-mona-ui-grid.mjs +5418 -2
- package/fesm2022/nanahoshi-mona-ui-i18n-icu.mjs +1379 -1079
- package/fesm2022/nanahoshi-mona-ui-i18n.mjs +4451 -5068
- package/fesm2022/nanahoshi-mona-ui-internal-filter-input.mjs +344 -143
- package/fesm2022/nanahoshi-mona-ui-internal-indicator-icon.mjs +257 -127
- package/fesm2022/nanahoshi-mona-ui-internal-list.mjs +2080 -1829
- package/fesm2022/nanahoshi-mona-ui-internal-popup-menu.mjs +103 -141
- package/fesm2022/nanahoshi-mona-ui-internal-tree.mjs +2498 -2706
- package/fesm2022/nanahoshi-mona-ui-internal.mjs +722 -1007
- package/fesm2022/nanahoshi-mona-ui-label.mjs +313 -202
- package/fesm2022/nanahoshi-mona-ui-list-box.mjs +1308 -1009
- package/fesm2022/nanahoshi-mona-ui-list-view.mjs +1411 -677
- package/fesm2022/nanahoshi-mona-ui-list.mjs +1 -6
- package/fesm2022/nanahoshi-mona-ui-locales-ar-sa.mjs +556 -577
- package/fesm2022/nanahoshi-mona-ui-locales-de-de.mjs +530 -573
- package/fesm2022/nanahoshi-mona-ui-locales-es-es.mjs +530 -573
- package/fesm2022/nanahoshi-mona-ui-locales-fr-fr.mjs +533 -576
- package/fesm2022/nanahoshi-mona-ui-locales-id-id.mjs +520 -555
- package/fesm2022/nanahoshi-mona-ui-locales-it-it.mjs +530 -571
- package/fesm2022/nanahoshi-mona-ui-locales-ja-jp.mjs +520 -555
- package/fesm2022/nanahoshi-mona-ui-locales-ko-kr.mjs +520 -555
- package/fesm2022/nanahoshi-mona-ui-locales-pt-br.mjs +530 -571
- package/fesm2022/nanahoshi-mona-ui-locales-ru-ru.mjs +576 -591
- package/fesm2022/nanahoshi-mona-ui-locales-tr-tr.mjs +530 -565
- package/fesm2022/nanahoshi-mona-ui-locales-zh-cn.mjs +520 -555
- package/fesm2022/nanahoshi-mona-ui-locales-zh-tw.mjs +520 -555
- package/fesm2022/nanahoshi-mona-ui-locales.mjs +59 -77
- package/fesm2022/nanahoshi-mona-ui-menubar.mjs +1411 -829
- package/fesm2022/nanahoshi-mona-ui-multi-select.mjs +1326 -702
- package/fesm2022/nanahoshi-mona-ui-notification.mjs +763 -675
- package/fesm2022/nanahoshi-mona-ui-numeric-text-box.mjs +1306 -826
- package/fesm2022/nanahoshi-mona-ui-otp-input.mjs +1122 -897
- package/fesm2022/nanahoshi-mona-ui-pager.mjs +1110 -651
- package/fesm2022/nanahoshi-mona-ui-placeholder.mjs +95 -53
- package/fesm2022/nanahoshi-mona-ui-popover.mjs +559 -397
- package/fesm2022/nanahoshi-mona-ui-popup-menu.mjs +2323 -1694
- package/fesm2022/nanahoshi-mona-ui-popup.mjs +1657 -1455
- package/fesm2022/nanahoshi-mona-ui-progress-bar.mjs +441 -267
- package/fesm2022/nanahoshi-mona-ui-query.mjs +211 -340
- package/fesm2022/nanahoshi-mona-ui-radio-button.mjs +1017 -548
- package/fesm2022/nanahoshi-mona-ui-rating.mjs +874 -624
- package/fesm2022/nanahoshi-mona-ui-scroll-view.mjs +1130 -917
- package/fesm2022/nanahoshi-mona-ui-segmented.mjs +705 -455
- package/fesm2022/nanahoshi-mona-ui-sheet.mjs +461 -283
- package/fesm2022/nanahoshi-mona-ui-sidebar.mjs +2791 -2449
- package/fesm2022/nanahoshi-mona-ui-skeleton.mjs +145 -90
- package/fesm2022/nanahoshi-mona-ui-slider.mjs +1563 -1103
- package/fesm2022/nanahoshi-mona-ui-spinner.mjs +738 -673
- package/fesm2022/nanahoshi-mona-ui-split-button.mjs +1287 -647
- package/fesm2022/nanahoshi-mona-ui-splitter.mjs +1313 -909
- package/fesm2022/nanahoshi-mona-ui-stepper.mjs +761 -540
- package/fesm2022/nanahoshi-mona-ui-switch.mjs +611 -280
- package/fesm2022/nanahoshi-mona-ui-tabs.mjs +1393 -841
- package/fesm2022/nanahoshi-mona-ui-text-area.mjs +142 -73
- package/fesm2022/nanahoshi-mona-ui-text-box.mjs +876 -374
- package/fesm2022/nanahoshi-mona-ui-theme.mjs +1465 -1449
- package/fesm2022/nanahoshi-mona-ui-time-picker.mjs +897 -443
- package/fesm2022/nanahoshi-mona-ui-time-selector.mjs +1100 -703
- package/fesm2022/nanahoshi-mona-ui-tooltip.mjs +789 -538
- package/fesm2022/nanahoshi-mona-ui-tree-view.mjs +1361 -805
- package/fesm2022/nanahoshi-mona-ui-window.mjs +2145 -1531
- package/fesm2022/nanahoshi-mona-ui.mjs +1 -8
- package/llms.txt +80 -2
- package/package.json +62 -23
- package/types/nanahoshi-mona-ui-auto-complete.d.ts +367 -233
- package/types/nanahoshi-mona-ui-avatar.d.ts +722 -649
- package/types/nanahoshi-mona-ui-breadcrumb.d.ts +134 -103
- package/types/nanahoshi-mona-ui-button-group.d.ts +213 -152
- package/types/nanahoshi-mona-ui-button.d.ts +227 -166
- package/types/nanahoshi-mona-ui-calendar.d.ts +324 -259
- package/types/nanahoshi-mona-ui-card.d.ts +125 -111
- package/types/nanahoshi-mona-ui-chart.d.ts +10483 -7326
- package/types/nanahoshi-mona-ui-check-box.d.ts +293 -180
- package/types/nanahoshi-mona-ui-chip.d.ts +208 -141
- package/types/nanahoshi-mona-ui-circular-progress-bar.d.ts +194 -133
- package/types/nanahoshi-mona-ui-collapsible.d.ts +105 -87
- package/types/nanahoshi-mona-ui-color-gradient.d.ts +281 -213
- package/types/nanahoshi-mona-ui-color-palette.d.ts +201 -138
- package/types/nanahoshi-mona-ui-color-picker.d.ts +283 -194
- package/types/nanahoshi-mona-ui-combo-box.d.ts +401 -262
- package/types/nanahoshi-mona-ui-command.d.ts +279 -191
- package/types/nanahoshi-mona-ui-common.d.ts +360 -385
- package/types/nanahoshi-mona-ui-contextmenu.d.ts +142 -117
- package/types/nanahoshi-mona-ui-date-input.d.ts +97 -97
- package/types/nanahoshi-mona-ui-date-picker.d.ts +338 -208
- package/types/nanahoshi-mona-ui-datetime-picker.d.ts +413 -259
- package/types/nanahoshi-mona-ui-dialog.d.ts +470 -381
- package/types/nanahoshi-mona-ui-dropdown-button.d.ts +216 -168
- package/types/nanahoshi-mona-ui-dropdown-list.d.ts +369 -243
- package/types/nanahoshi-mona-ui-dropdowns.d.ts +255 -235
- package/types/nanahoshi-mona-ui-editor.d.ts +302 -235
- package/types/nanahoshi-mona-ui-expansion-panel.d.ts +140 -109
- package/types/nanahoshi-mona-ui-fieldset.d.ts +98 -68
- package/types/nanahoshi-mona-ui-filter.d.ts +150 -124
- package/types/nanahoshi-mona-ui-grid.d.ts +1956 -1678
- package/types/nanahoshi-mona-ui-i18n-icu.d.ts +25 -34
- package/types/nanahoshi-mona-ui-i18n.d.ts +999 -1052
- package/types/nanahoshi-mona-ui-internal-filter-input.d.ts +118 -71
- package/types/nanahoshi-mona-ui-internal-indicator-icon.d.ts +56 -27
- package/types/nanahoshi-mona-ui-internal-list.d.ts +474 -408
- package/types/nanahoshi-mona-ui-internal-popup-menu.d.ts +143 -150
- package/types/nanahoshi-mona-ui-internal-tree.d.ts +493 -506
- package/types/nanahoshi-mona-ui-internal.d.ts +195 -213
- package/types/nanahoshi-mona-ui-label.d.ts +108 -78
- package/types/nanahoshi-mona-ui-list-box.d.ts +392 -322
- package/types/nanahoshi-mona-ui-list-view.d.ts +423 -282
- package/types/nanahoshi-mona-ui-list.d.ts +2 -1
- package/types/nanahoshi-mona-ui-locales-ar-sa.d.ts +540 -542
- package/types/nanahoshi-mona-ui-locales-de-de.d.ts +540 -542
- package/types/nanahoshi-mona-ui-locales-es-es.d.ts +540 -542
- package/types/nanahoshi-mona-ui-locales-fr-fr.d.ts +540 -542
- package/types/nanahoshi-mona-ui-locales-id-id.d.ts +540 -542
- package/types/nanahoshi-mona-ui-locales-it-it.d.ts +540 -542
- package/types/nanahoshi-mona-ui-locales-ja-jp.d.ts +540 -542
- package/types/nanahoshi-mona-ui-locales-ko-kr.d.ts +540 -542
- package/types/nanahoshi-mona-ui-locales-pt-br.d.ts +540 -542
- package/types/nanahoshi-mona-ui-locales-ru-ru.d.ts +540 -542
- package/types/nanahoshi-mona-ui-locales-tr-tr.d.ts +540 -542
- package/types/nanahoshi-mona-ui-locales-zh-cn.d.ts +540 -542
- package/types/nanahoshi-mona-ui-locales-zh-tw.d.ts +540 -542
- package/types/nanahoshi-mona-ui-locales.d.ts +17 -19
- package/types/nanahoshi-mona-ui-menubar.d.ts +210 -181
- package/types/nanahoshi-mona-ui-multi-select.d.ts +416 -276
- package/types/nanahoshi-mona-ui-notification.d.ts +140 -151
- package/types/nanahoshi-mona-ui-numeric-text-box.d.ts +407 -270
- package/types/nanahoshi-mona-ui-otp-input.d.ts +364 -241
- package/types/nanahoshi-mona-ui-pager.d.ts +379 -301
- package/types/nanahoshi-mona-ui-placeholder.d.ts +35 -28
- package/types/nanahoshi-mona-ui-popover.d.ts +176 -134
- package/types/nanahoshi-mona-ui-popup-menu.d.ts +488 -344
- package/types/nanahoshi-mona-ui-popup.d.ts +698 -560
- package/types/nanahoshi-mona-ui-progress-bar.d.ts +197 -137
- package/types/nanahoshi-mona-ui-query.d.ts +82 -88
- package/types/nanahoshi-mona-ui-radio-button.d.ts +434 -269
- package/types/nanahoshi-mona-ui-rating.d.ts +348 -254
- package/types/nanahoshi-mona-ui-scroll-view.d.ts +244 -172
- package/types/nanahoshi-mona-ui-segmented.d.ts +250 -175
- package/types/nanahoshi-mona-ui-sheet.d.ts +115 -63
- package/types/nanahoshi-mona-ui-sidebar.d.ts +653 -493
- package/types/nanahoshi-mona-ui-skeleton.d.ts +55 -39
- package/types/nanahoshi-mona-ui-slider.d.ts +503 -354
- package/types/nanahoshi-mona-ui-spinner.d.ts +125 -112
- package/types/nanahoshi-mona-ui-split-button.d.ts +241 -196
- package/types/nanahoshi-mona-ui-splitter.d.ts +124 -78
- package/types/nanahoshi-mona-ui-stepper.d.ts +206 -181
- package/types/nanahoshi-mona-ui-switch.d.ts +197 -131
- package/types/nanahoshi-mona-ui-tabs.d.ts +349 -248
- package/types/nanahoshi-mona-ui-text-area.d.ts +52 -36
- package/types/nanahoshi-mona-ui-text-box.d.ts +349 -218
- package/types/nanahoshi-mona-ui-theme.d.ts +415 -408
- package/types/nanahoshi-mona-ui-time-picker.d.ts +357 -217
- package/types/nanahoshi-mona-ui-time-selector.d.ts +255 -170
- package/types/nanahoshi-mona-ui-tooltip.d.ts +222 -144
- package/types/nanahoshi-mona-ui-tree-view.d.ts +466 -308
- package/types/nanahoshi-mona-ui-window.d.ts +494 -399
- package/types/nanahoshi-mona-ui.d.ts +1 -2
- package/fesm2022/nanahoshi-mona-ui-grid-grid-footer-row.component-DjNnVxHE.mjs +0 -181
- package/fesm2022/nanahoshi-mona-ui-grid-grid-list.component-ihQIKeP-.mjs +0 -208
- package/fesm2022/nanahoshi-mona-ui-grid-grid-row.component-BpnybNcs.mjs +0 -1082
- package/fesm2022/nanahoshi-mona-ui-grid-grid-virtual-list.component-CYlgfc7c.mjs +0 -186
- package/fesm2022/nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-LCzfCYd3.mjs +0 -7568
package/docs/api/i18n.md
ADDED
|
@@ -0,0 +1,1699 @@
|
|
|
1
|
+
# `@nanahoshi/mona-ui/i18n`
|
|
2
|
+
|
|
3
|
+
Everything `@nanahoshi/mona-ui/i18n` exports.
|
|
4
|
+
|
|
5
|
+
## `MonaI18nService`
|
|
6
|
+
|
|
7
|
+
Service.
|
|
8
|
+
|
|
9
|
+
### Properties
|
|
10
|
+
|
|
11
|
+
| Name | Type | Description |
|
|
12
|
+
| --- | --- | --- |
|
|
13
|
+
| `direction` (read-only) | `Signal<MonaTextDirection>` | |
|
|
14
|
+
| `loadError` (read-only) | `Signal<unknown>` | The error of the latest `load()` when it failed, otherwise `null`. |
|
|
15
|
+
| `loading` (read-only) | `Signal<boolean>` | Whether a `load()` is in progress and has not been superseded. |
|
|
16
|
+
| `locale` (read-only) | `Signal<MonaLocale>` | |
|
|
17
|
+
| `localeId` (read-only) | `Signal<string>` | Canonical BCP 47 id of the active locale. POSIX ids such as `en_US` are converted to `en-US`, and invalid ids resolve to `MONA_FALLBACK_LOCALE_ID` so formatters always receive a valid tag. |
|
|
18
|
+
|
|
19
|
+
### Methods
|
|
20
|
+
|
|
21
|
+
| Signature | Description |
|
|
22
|
+
| --- | --- |
|
|
23
|
+
| `clearMessages(options?: MonaMessageOverrideOptions): void` | Removes overrides. With `options.locale`, only that locale's overrides are removed; without it, every override is removed, global and per locale. |
|
|
24
|
+
| `componentMessages<K extends keyof MonaLocaleMessages>(namespace: K, fallback: MonaLocaleMessages[K]): Signal<MonaLocaleMessages[K]>` | |
|
|
25
|
+
| `load(localeId: string): Promise<void>` | Loads a locale with the `loadLocale` function configured in `provideMonaI18n` and switches to it. - Ids are canonicalized, and each locale is loaded once: later calls reuse it, and concurrent calls for the same id share one request. - The latest `load()` or `use()` wins. When a newer one starts before this one finishes, this one resolves without switching. - When loading fails, the current locale stays, `loadError` is set and the promise rejects. The failed locale is not cached, so a later call retries it. |
|
|
26
|
+
| `patchMessages(messages: DeepPartial<MonaLocaleMessages>, options?: MonaMessageOverrideOptions): void` | Merges overrides into the existing ones. With `options.locale`, they apply only while that locale is active, so overrides patched for German do not show after switching to English. |
|
|
27
|
+
| `setMessages(messages: DeepPartial<MonaLocaleMessages>, options?: MonaMessageOverrideOptions): void` | Replaces the existing overrides. With `options.locale`, only that locale's overrides are replaced. |
|
|
28
|
+
| `use(locale: MonaLocale): void` | Switches to a locale that is already loaded. It supersedes a `load()` still in progress. |
|
|
29
|
+
|
|
30
|
+
## `MonaDirectionService`
|
|
31
|
+
|
|
32
|
+
Service.
|
|
33
|
+
|
|
34
|
+
### Methods
|
|
35
|
+
|
|
36
|
+
| Signature |
|
|
37
|
+
| --- |
|
|
38
|
+
| `getDirection(element?: ElementRef<HTMLElement> \| HTMLElement \| null): MonaTextDirection` |
|
|
39
|
+
| `isRtl(element?: ElementRef<HTMLElement> \| HTMLElement \| null): boolean` |
|
|
40
|
+
| `observeDirection(element: ElementRef<HTMLElement> \| HTMLElement \| null \| undefined, onChange: (dir: MonaTextDirection) => void): () => void` |
|
|
41
|
+
|
|
42
|
+
## `canonicalizeLocaleId`
|
|
43
|
+
|
|
44
|
+
Function.
|
|
45
|
+
|
|
46
|
+
Converts a locale id to a canonical BCP 47 tag. Ids that are empty or not valid tags resolve to
|
|
47
|
+
`MONA_FALLBACK_LOCALE_ID`, so every formatter receives the same, valid locale.
|
|
48
|
+
|
|
49
|
+
```typescript
|
|
50
|
+
function canonicalizeLocaleId(localeId: string | null | undefined): string;
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
## `formatGregorianDateToLocaleString`
|
|
54
|
+
|
|
55
|
+
Function.
|
|
56
|
+
|
|
57
|
+
Formats a date using locale-native token ordering and explicit Gregorian calendar.
|
|
58
|
+
|
|
59
|
+
```typescript
|
|
60
|
+
function formatGregorianDateToLocaleString(date: Date, localeId: string, options: Intl.DateTimeFormatOptions): string;
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
## `formatNumber`
|
|
64
|
+
|
|
65
|
+
Function.
|
|
66
|
+
|
|
67
|
+
Formats a number for the locale. A decimal string, such as one returned by `parseLocalizedDecimal`, is
|
|
68
|
+
formatted exactly, without converting it to a `number` first.
|
|
69
|
+
|
|
70
|
+
```typescript
|
|
71
|
+
function formatNumber(value: number | string, locale: string, options?: Intl.NumberFormatOptions): string;
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
## `generatePseudoLocale`
|
|
75
|
+
|
|
76
|
+
Function.
|
|
77
|
+
|
|
78
|
+
Generates a full pseudo-localized MonaLocale (e.g. en-XA) from a dictionary of message catalogs.
|
|
79
|
+
|
|
80
|
+
```typescript
|
|
81
|
+
function generatePseudoLocale(catalogs: DeepPartial<MonaLocaleMessages>, options?: GeneratePseudoLocaleOptions): MonaLocale;
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
## `getEditDecimalSeparators`
|
|
85
|
+
|
|
86
|
+
Function.
|
|
87
|
+
|
|
88
|
+
Decimal separators accepted while editing: the locale's own, plus "." and "," so a separator typed on a
|
|
89
|
+
keyboard layout that does not match the locale still works. An alternate is dropped when it is the locale's
|
|
90
|
+
group separator; otherwise "1,234" typed in en-US (or "1.234" in de-DE) would be read as 1.234.
|
|
91
|
+
|
|
92
|
+
```typescript
|
|
93
|
+
function getEditDecimalSeparators(symbols: NumberSymbols): ReadonlySet<string>;
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
## `getLocaleDateInputFormat`
|
|
97
|
+
|
|
98
|
+
Function.
|
|
99
|
+
|
|
100
|
+
Derives a localized numeric date format (e.g. "yyyy/MM/dd" or "dd/MM/yyyy") for the given locale.
|
|
101
|
+
|
|
102
|
+
```typescript
|
|
103
|
+
function getLocaleDateInputFormat(localeId: string): string;
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
## `getLocaleDateTimeInputFormat`
|
|
107
|
+
|
|
108
|
+
Function.
|
|
109
|
+
|
|
110
|
+
Derives a localized date-time format for the given locale.
|
|
111
|
+
|
|
112
|
+
```typescript
|
|
113
|
+
function getLocaleDateTimeInputFormat(localeId: string, options?: LocaleTimeFormatOptions): string;
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
## `getLocaleFirstDayOfWeek`
|
|
117
|
+
|
|
118
|
+
Function.
|
|
119
|
+
|
|
120
|
+
Resolves the first day of the week for the given locale using Intl.Locale.weekInfo,
|
|
121
|
+
Intl.Locale.getWeekInfo(), or CLDR fallbacks.
|
|
122
|
+
|
|
123
|
+
```typescript
|
|
124
|
+
function getLocaleFirstDayOfWeek(localeId: string): LocaleFirstDayOfWeek;
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
## `getLocaleTimeInputFormat`
|
|
128
|
+
|
|
129
|
+
Function.
|
|
130
|
+
|
|
131
|
+
Derives a localized time format (e.g. "HH:mm", "ahh:mm", "hh:mm a") for the given locale.
|
|
132
|
+
|
|
133
|
+
```typescript
|
|
134
|
+
function getLocaleTimeInputFormat(localeId: string, options?: LocaleTimeFormatOptions): string;
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
## `getNumberGroupingPattern`
|
|
138
|
+
|
|
139
|
+
Function.
|
|
140
|
+
|
|
141
|
+
```typescript
|
|
142
|
+
function getNumberGroupingPattern(locale: string): NumberGroupingPattern;
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
## `injectComponentDirection`
|
|
146
|
+
|
|
147
|
+
Function.
|
|
148
|
+
|
|
149
|
+
```typescript
|
|
150
|
+
function injectComponentDirection(hostElementRef?: ElementRef<HTMLElement>): Signal<MonaTextDirection>;
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
## `mergeTwo`
|
|
154
|
+
|
|
155
|
+
Function.
|
|
156
|
+
|
|
157
|
+
```typescript
|
|
158
|
+
function mergeTwo<T extends object>(base: T, source?: DeepPartial<T>): T;
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
## `normalizeGregorianLocale`
|
|
162
|
+
|
|
163
|
+
Function.
|
|
164
|
+
|
|
165
|
+
Normalizes a locale string to ensure it uses the Gregorian calendar system
|
|
166
|
+
and doesn't contain a conflicting -u-ca-* extension.
|
|
167
|
+
Empty or malformed ids resolve to `MONA_FALLBACK_LOCALE_ID` (en-US).
|
|
168
|
+
|
|
169
|
+
```typescript
|
|
170
|
+
function normalizeGregorianLocale(localeId: string): string;
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
## `normalizeLocalizedDigits`
|
|
174
|
+
|
|
175
|
+
Function.
|
|
176
|
+
|
|
177
|
+
Converts digits of any script to ASCII digits. Full-width forms typed by CJK input methods
|
|
178
|
+
("12.5", "-3", "1,000") are folded to ASCII first.
|
|
179
|
+
|
|
180
|
+
```typescript
|
|
181
|
+
function normalizeLocalizedDigits(text: string, localeId?: string): string;
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
## `normalizeLocalizedInput`
|
|
185
|
+
|
|
186
|
+
Function.
|
|
187
|
+
|
|
188
|
+
```typescript
|
|
189
|
+
function normalizeLocalizedInput(text: string, localeId: string): string;
|
|
190
|
+
```
|
|
191
|
+
|
|
192
|
+
## `normalizeLocalizedMinus`
|
|
193
|
+
|
|
194
|
+
Function.
|
|
195
|
+
|
|
196
|
+
```typescript
|
|
197
|
+
function normalizeLocalizedMinus(text: string, symbols?: NumberSymbols): string;
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
## `parseGregorianDate`
|
|
201
|
+
|
|
202
|
+
Function.
|
|
203
|
+
|
|
204
|
+
Parses a date string using the specified format and locale, forcing Gregorian calendar.
|
|
205
|
+
Localized digits are normalized first to support locales that use native numbering systems.
|
|
206
|
+
|
|
207
|
+
```typescript
|
|
208
|
+
function parseGregorianDate(text: string, format: string, localeId: string): DateTime;
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
## `parseLocalizedDecimal`
|
|
212
|
+
|
|
213
|
+
Function.
|
|
214
|
+
|
|
215
|
+
Parses localized text with the same rules as `parseLocalizedNumber`, but returns a canonical decimal string
|
|
216
|
+
(`"-1234.5"`: ASCII digits, `.` as the decimal separator, no grouping, exponent, leading zeros or trailing
|
|
217
|
+
fraction zeros) and has no precision limit. Returns `null` when the text is not a number in the locale.
|
|
218
|
+
|
|
219
|
+
```typescript
|
|
220
|
+
function parseLocalizedDecimal(text: string | null | undefined, localeId: string, options?: ParseLocalizedNumberOptions): string | null;
|
|
221
|
+
```
|
|
222
|
+
|
|
223
|
+
## `parseLocalizedNumber`
|
|
224
|
+
|
|
225
|
+
Function.
|
|
226
|
+
|
|
227
|
+
Parses localized text to a number. Returns `null` when the text is not a number in the locale, or when a
|
|
228
|
+
`number` cannot hold it exactly (see `LocalizedNumberInvalidReason`); it never rounds silently.
|
|
229
|
+
Use `parseLocalizedDecimal` for values that need more precision.
|
|
230
|
+
|
|
231
|
+
```typescript
|
|
232
|
+
function parseLocalizedNumber(text: string | null | undefined, localeId: string, options?: ParseLocalizedNumberOptions): number | null;
|
|
233
|
+
```
|
|
234
|
+
|
|
235
|
+
## `provideMonaI18n`
|
|
236
|
+
|
|
237
|
+
Function.
|
|
238
|
+
|
|
239
|
+
```typescript
|
|
240
|
+
function provideMonaI18n(config: MonaI18nConfig = {}): EnvironmentProviders;
|
|
241
|
+
```
|
|
242
|
+
|
|
243
|
+
## `pseudoLocalize`
|
|
244
|
+
|
|
245
|
+
Function.
|
|
246
|
+
|
|
247
|
+
Transforms a text string into pseudo-localized text (e.g. "Apply" -> "[!! Åþþļÿ~~ !!]").
|
|
248
|
+
Tokens enclosed in single braces {placeholder}, double braces {{placeholder}}, or HTML tags \<tag>
|
|
249
|
+
are preserved verbatim so formatting / parameter substitution continues to function.
|
|
250
|
+
|
|
251
|
+
```typescript
|
|
252
|
+
function pseudoLocalize(text: string, options: PseudoLocalizationOptions = {}): string;
|
|
253
|
+
```
|
|
254
|
+
|
|
255
|
+
## `pseudoLocalizeCatalog`
|
|
256
|
+
|
|
257
|
+
Function.
|
|
258
|
+
|
|
259
|
+
Recursively pseudo-localizes a message catalog or nested object of message catalogs.
|
|
260
|
+
Plain strings are pseudo-localized, and message functions (e.g. (page: number) => string)
|
|
261
|
+
are wrapped so their string outputs are pseudo-localized when invoked.
|
|
262
|
+
|
|
263
|
+
```typescript
|
|
264
|
+
function pseudoLocalizeCatalog<T extends object>(catalog: T, options?: PseudoLocalizationOptions): T;
|
|
265
|
+
```
|
|
266
|
+
|
|
267
|
+
## `sanitizeDateText`
|
|
268
|
+
|
|
269
|
+
Function.
|
|
270
|
+
|
|
271
|
+
Sanitizes date/time text by stripping invisible bidi controls and
|
|
272
|
+
normalizing typographic/non-breaking spaces to standard ASCII spaces.
|
|
273
|
+
|
|
274
|
+
```typescript
|
|
275
|
+
function sanitizeDateText(value: string): string;
|
|
276
|
+
```
|
|
277
|
+
|
|
278
|
+
## `stripBidiControls`
|
|
279
|
+
|
|
280
|
+
Function.
|
|
281
|
+
|
|
282
|
+
Strips Unicode bidirectional formatting controls from a string.
|
|
283
|
+
|
|
284
|
+
```typescript
|
|
285
|
+
function stripBidiControls(value: string): string;
|
|
286
|
+
```
|
|
287
|
+
|
|
288
|
+
## `tryCanonicalizeLocaleId`
|
|
289
|
+
|
|
290
|
+
Function.
|
|
291
|
+
|
|
292
|
+
Converts a locale id to a canonical BCP 47 tag, or returns `null` when it is not a valid tag.
|
|
293
|
+
|
|
294
|
+
POSIX/Java style ids are accepted: `en_US` becomes `en-US`, and an encoding or modifier suffix
|
|
295
|
+
(`de_DE.UTF-8`, `de_DE@euro`) is dropped.
|
|
296
|
+
|
|
297
|
+
```typescript
|
|
298
|
+
function tryCanonicalizeLocaleId(localeId: string | null | undefined): string | null;
|
|
299
|
+
```
|
|
300
|
+
|
|
301
|
+
## `validateLocalizedDecimal`
|
|
302
|
+
|
|
303
|
+
Function.
|
|
304
|
+
|
|
305
|
+
Validates localized text like `validateLocalizedNumber`, but returns a canonical decimal string and has no
|
|
306
|
+
precision limit, so `reason` is never `"precision"`.
|
|
307
|
+
|
|
308
|
+
```typescript
|
|
309
|
+
function validateLocalizedDecimal(text: string | null | undefined, localeId: string, options?: { mode?: LocalizedNumberParseMode; decimals?: number; }): LocalizedDecimalValidationResult;
|
|
310
|
+
```
|
|
311
|
+
|
|
312
|
+
## `validateLocalizedDecimalEdit`
|
|
313
|
+
|
|
314
|
+
Function.
|
|
315
|
+
|
|
316
|
+
Validates text while it is typed, like `validateLocalizedNumberEdit`, but returns a canonical decimal string
|
|
317
|
+
and has no precision limit.
|
|
318
|
+
|
|
319
|
+
```typescript
|
|
320
|
+
function validateLocalizedDecimalEdit(text: string | null | undefined, localeId: string, options?: ValidateLocalizedNumberEditOptions): LocalizedDecimalEditValidationResult;
|
|
321
|
+
```
|
|
322
|
+
|
|
323
|
+
## `BIDI_CONTROL_REGEX`
|
|
324
|
+
|
|
325
|
+
Constant.
|
|
326
|
+
|
|
327
|
+
Regular expression matching Unicode bidirectional formatting controls
|
|
328
|
+
(such as LRM, RLM, ALM, embeddings, overrides, and isolates).
|
|
329
|
+
|
|
330
|
+
```typescript
|
|
331
|
+
const BIDI_CONTROL_REGEX: RegExp;
|
|
332
|
+
```
|
|
333
|
+
|
|
334
|
+
## `MONA_DEFAULT_LOCALE`
|
|
335
|
+
|
|
336
|
+
Constant.
|
|
337
|
+
|
|
338
|
+
```typescript
|
|
339
|
+
const MONA_DEFAULT_LOCALE: MonaLocale;
|
|
340
|
+
```
|
|
341
|
+
|
|
342
|
+
## `MONA_FALLBACK_LOCALE_ID`
|
|
343
|
+
|
|
344
|
+
Constant.
|
|
345
|
+
|
|
346
|
+
Locale id used whenever a supplied id cannot be turned into a valid BCP 47 tag.
|
|
347
|
+
Matches the id of `MONA_DEFAULT_LOCALE`.
|
|
348
|
+
|
|
349
|
+
```typescript
|
|
350
|
+
const MONA_FALLBACK_LOCALE_ID: "en-US";
|
|
351
|
+
```
|
|
352
|
+
|
|
353
|
+
## `MONA_I18N_CONFIG`
|
|
354
|
+
|
|
355
|
+
Constant.
|
|
356
|
+
|
|
357
|
+
```typescript
|
|
358
|
+
const MONA_I18N_CONFIG: InjectionToken<MonaI18nConfig>;
|
|
359
|
+
```
|
|
360
|
+
|
|
361
|
+
## `MonaGridMessages`
|
|
362
|
+
|
|
363
|
+
Interface.
|
|
364
|
+
|
|
365
|
+
### Properties
|
|
366
|
+
|
|
367
|
+
| Name | Type | Description |
|
|
368
|
+
| --- | --- | --- |
|
|
369
|
+
| `all` (read-only) | `string` | |
|
|
370
|
+
| `apply` (read-only) | `string` | |
|
|
371
|
+
| `cancel` (read-only) | `string` | |
|
|
372
|
+
| `cancelNewRow` (read-only) | `string` | |
|
|
373
|
+
| `columns` (read-only) | `string` | |
|
|
374
|
+
| `commandColumnTitle` (read-only) | `string` | |
|
|
375
|
+
| `delete` (read-only) | `string` | |
|
|
376
|
+
| `deleteRowTitle` (read-only) | `string` | |
|
|
377
|
+
| `details` (read-only) | `string` | The name of the detail-toggle column's header. |
|
|
378
|
+
| `dragColumnHeaderToGroup` (read-only) | `string` | |
|
|
379
|
+
| `edit` (read-only) | `string` | |
|
|
380
|
+
| `fieldValidationError?` (read-only) | `string` | |
|
|
381
|
+
| `filterPlaceholder` (read-only) | `string` | |
|
|
382
|
+
| `group` (read-only) | `string` | The name of a group indent column's header. |
|
|
383
|
+
| `loading` (read-only) | `string` | Shown while the grid body loads. |
|
|
384
|
+
| `modified` (read-only) | `string` | |
|
|
385
|
+
| `moveAsNext` (read-only) | `string` | |
|
|
386
|
+
| `moveAsPrevious` (read-only) | `string` | |
|
|
387
|
+
| `moveRow` (read-only) | `string` | |
|
|
388
|
+
| `noData` (read-only) | `string` | |
|
|
389
|
+
| `remove` (read-only) | `string` | |
|
|
390
|
+
| `rowReorder` (read-only) | `string` | |
|
|
391
|
+
| `rowReorderDisabled` (read-only) | `string` | |
|
|
392
|
+
| `rowReorderDisabledEditing` (read-only) | `string` | |
|
|
393
|
+
| `rowReorderDisabledFiltered` (read-only) | `string` | |
|
|
394
|
+
| `rowReorderDisabledGrouped` (read-only) | `string` | |
|
|
395
|
+
| `rowReorderDisabledServerBinding` (read-only) | `string` | |
|
|
396
|
+
| `rowReorderDisabledSingleRow` (read-only) | `string` | |
|
|
397
|
+
| `rowReorderDisabledSorted` (read-only) | `string` | |
|
|
398
|
+
| `rowReorderDisabledVirtualScroll` (read-only) | `string` | |
|
|
399
|
+
| `rowReorderKeyboardHint` (read-only) | `string` | |
|
|
400
|
+
| `rowValidationError` (read-only) | `string` | |
|
|
401
|
+
| `save` (read-only) | `string` | |
|
|
402
|
+
| `saveNewRow` (read-only) | `string` | |
|
|
403
|
+
| `selectAllRows` (read-only) | `string` | |
|
|
404
|
+
| `toolbar` (read-only) | `string` | The accessible name of the toolbar above the grid. |
|
|
405
|
+
|
|
406
|
+
### Methods
|
|
407
|
+
|
|
408
|
+
| Signature | Description |
|
|
409
|
+
| --- | --- |
|
|
410
|
+
| `cancelRowEdit(rowNumber: number): string` | |
|
|
411
|
+
| `clearFilter(column: string): string` | |
|
|
412
|
+
| `collapseDetail(rowNumber: number): string` | The name of the button that closes a row's detail row. |
|
|
413
|
+
| `columnGrouped(column: string): string` | Announced when the keyboard groups the grid by a column. |
|
|
414
|
+
| `columnMoved(column: string, position: number): string` | Announced when the keyboard moves a column; the position counts visible columns from 1. |
|
|
415
|
+
| `columnsSelected(count: number): string` | |
|
|
416
|
+
| `deleteRowConfirmation(rowNumber: number): string` | |
|
|
417
|
+
| `editRow(rowNumber: number): string` | |
|
|
418
|
+
| `expandDetail(rowNumber: number): string` | The name of the button that opens a row's detail row. |
|
|
419
|
+
| `filterByColumn(column: string): string` | |
|
|
420
|
+
| `filterByColumnFiltered(column: string): string` | |
|
|
421
|
+
| `filterOperator(column: string, operator: string): string` | |
|
|
422
|
+
| `groupOptions(column: string): string` | The name of the button on a group chip that opens its menu. |
|
|
423
|
+
| `removeRow(rowNumber: number): string` | |
|
|
424
|
+
| `reorderRow(rowNumber: number): string` | |
|
|
425
|
+
| `resizeColumn(column: string): string` | |
|
|
426
|
+
| `rowReorderHandleAriaLabel(rowLabel: string, keyboardHint: string, disabledReason?: string): string` | |
|
|
427
|
+
| `rowReorderMoved(fromRowNumber: number, toPosition: number): string` | |
|
|
428
|
+
| `saveRow(rowNumber: number): string` | |
|
|
429
|
+
| `selectRow(rowNumber: number): string` | |
|
|
430
|
+
| `sortOrder(position: number): string` | Describes a header's place in a multi-column sort, from 1. |
|
|
431
|
+
|
|
432
|
+
**Used by:** [`MonaLocaleMessages`](i18n.md#monalocalemessages)
|
|
433
|
+
|
|
434
|
+
## `MonaListBoxMessages`
|
|
435
|
+
|
|
436
|
+
Interface.
|
|
437
|
+
|
|
438
|
+
### Properties
|
|
439
|
+
|
|
440
|
+
| Name | Type | Description |
|
|
441
|
+
| --- | --- | --- |
|
|
442
|
+
| `clearSelection` (read-only) | `string` | Label of the Clear Selection toolbar button. |
|
|
443
|
+
| `moveDown` (read-only) | `string` | Label of the Move Down toolbar button. |
|
|
444
|
+
| `moveUp` (read-only) | `string` | Label of the Move Up toolbar button. |
|
|
445
|
+
| `remove` (read-only) | `string` | Label of the Remove toolbar button. |
|
|
446
|
+
| `selectionCleared` (read-only) | `string` | Announced after Clear Selection. |
|
|
447
|
+
| `transferAllFrom` (read-only) | `string` | Label of Transfer All From when the connected list box has no accessible name. |
|
|
448
|
+
| `transferAllTo` (read-only) | `string` | Label of Transfer All To when the connected list box has no accessible name. |
|
|
449
|
+
| `transferFrom` (read-only) | `string` | Label of Transfer From when the connected list box has no accessible name. |
|
|
450
|
+
| `transferTo` (read-only) | `string` | Label of Transfer To when the connected list box has no accessible name. |
|
|
451
|
+
|
|
452
|
+
### Methods
|
|
453
|
+
|
|
454
|
+
| Signature | Description |
|
|
455
|
+
| --- | --- |
|
|
456
|
+
| `itemsMoved(position: number, total: number): string` | Announced after Move Up or Move Down, with the new position of the first moved item ("Moved to position 2 of 5"). |
|
|
457
|
+
| `itemsRemoved(count: number): string` | Announced after Remove, with the number of items removed. |
|
|
458
|
+
| `itemsTransferred(count: number, list: string): string` | Announced after a transfer, with the number of items moved and the name of the list they moved to. |
|
|
459
|
+
| `itemsTransferredToOtherList(count: number): string` | Announced after a transfer to a list box that has no accessible name. |
|
|
460
|
+
| `toolbarLabel(list: string): string` | Accessible name of the toolbar, from the list box's name ("Available foods actions"). |
|
|
461
|
+
| `transferAllFromList(list: string): string` | Label of Transfer All From, naming the connected list box. |
|
|
462
|
+
| `transferAllToList(list: string): string` | Label of Transfer All To, naming the connected list box. |
|
|
463
|
+
| `transferFromList(list: string): string` | Label of Transfer From, naming the connected list box. |
|
|
464
|
+
| `transferToList(list: string): string` | Label of Transfer To, naming the connected list box. |
|
|
465
|
+
|
|
466
|
+
**Used by:** [`LIST_BOX_DEFAULT_MESSAGES`](list-box.md#list-box-default-messages), [`MonaLocaleMessages`](i18n.md#monalocalemessages)
|
|
467
|
+
|
|
468
|
+
## `MonaCalendarMessages`
|
|
469
|
+
|
|
470
|
+
Interface.
|
|
471
|
+
|
|
472
|
+
### Properties
|
|
473
|
+
|
|
474
|
+
| Name | Type |
|
|
475
|
+
| --- | --- |
|
|
476
|
+
| `nextDecade` (read-only) | `string` |
|
|
477
|
+
| `nextMonth` (read-only) | `string` |
|
|
478
|
+
| `nextYear` (read-only) | `string` |
|
|
479
|
+
| `previousDecade` (read-only) | `string` |
|
|
480
|
+
| `previousMonth` (read-only) | `string` |
|
|
481
|
+
| `previousYear` (read-only) | `string` |
|
|
482
|
+
| `today` (read-only) | `string` |
|
|
483
|
+
|
|
484
|
+
### Methods
|
|
485
|
+
|
|
486
|
+
| Signature |
|
|
487
|
+
| --- |
|
|
488
|
+
| `calendarLabel(formattedMonthAndYear: string): string` |
|
|
489
|
+
| `decadeRange(start: number, end: number): string` |
|
|
490
|
+
| `decadeViewLabel(start: number, end: number): string` |
|
|
491
|
+
| `goToToday(formattedDate: string): string` |
|
|
492
|
+
| `switchToDecadeView(currentYear: string): string` |
|
|
493
|
+
| `switchToYearView(currentMonthAndYear: string): string` |
|
|
494
|
+
| `yearCellLabel(year: number): string` |
|
|
495
|
+
| `yearViewLabel(year: string): string` |
|
|
496
|
+
|
|
497
|
+
**Used by:** [`CALENDAR_DEFAULT_MESSAGES`](calendar.md#calendar-default-messages), [`CalendarMessages`](i18n.md#calendarmessages), [`MonaLocaleMessages`](i18n.md#monalocalemessages)
|
|
498
|
+
|
|
499
|
+
## `MonaPagerMessages`
|
|
500
|
+
|
|
501
|
+
Interface.
|
|
502
|
+
|
|
503
|
+
### Properties
|
|
504
|
+
|
|
505
|
+
| Name | Type | Description |
|
|
506
|
+
| --- | --- | --- |
|
|
507
|
+
| `firstPageLabel` (read-only) | `string` | |
|
|
508
|
+
| `itemsPerPageLabel` (read-only) | `string` | Accessible name of the page-size dropdown. |
|
|
509
|
+
| `lastPageLabel` (read-only) | `string` | |
|
|
510
|
+
| `nextPageLabel` (read-only) | `string` | |
|
|
511
|
+
| `ofText` (read-only) | `string` | **Deprecated.** No longer rendered; input mode uses `pageInputPrefix` and `pageInputSuffix`. |
|
|
512
|
+
| `pagerLabel` (read-only) | `string` | Accessible name of the pager's navigation landmark. |
|
|
513
|
+
| `pageSelectLabel` (read-only) | `string` | Accessible name of the page input and of the page dropdown shown on narrow pagers. |
|
|
514
|
+
| `pageText` (read-only) | `string` | **Deprecated.** No longer rendered; input mode uses `pageInputPrefix` and `pageInputSuffix`. |
|
|
515
|
+
| `previousPageLabel` (read-only) | `string` | |
|
|
516
|
+
|
|
517
|
+
### Methods
|
|
518
|
+
|
|
519
|
+
| Signature | Description |
|
|
520
|
+
| --- | --- |
|
|
521
|
+
| `jumpBackwardLabel(pages: number): string` | |
|
|
522
|
+
| `jumpForwardLabel(pages: number): string` | |
|
|
523
|
+
| `pageInputPrefix(totalPages: number): string` | Text before the page input in input mode ("Page" in "Page [3] of 10"). |
|
|
524
|
+
| `pageInputSuffix(totalPages: number): string` | Text after the page input in input mode ("of 10" in "Page [3] of 10"). |
|
|
525
|
+
| `pageLabel(page: number): string` | |
|
|
526
|
+
| `pageSizeLabel(pageSize: number): string` | |
|
|
527
|
+
| `pageStatus(page: number, totalPages: number): string` | |
|
|
528
|
+
| `rangeStatus(start: number, end: number, total: number): string` | |
|
|
529
|
+
|
|
530
|
+
**Used by:** [`MonaLocaleMessages`](i18n.md#monalocalemessages)
|
|
531
|
+
|
|
532
|
+
## `MonaTreeViewMessages`
|
|
533
|
+
|
|
534
|
+
Interface.
|
|
535
|
+
|
|
536
|
+
### Properties
|
|
537
|
+
|
|
538
|
+
| Name | Type | Description |
|
|
539
|
+
| --- | --- | --- |
|
|
540
|
+
| `collapse` (read-only) | `string` | Start of an expanded node's expander name, followed by the node's text ("Collapse Documents"). |
|
|
541
|
+
| `expand` (read-only) | `string` | Start of a collapsed node's expander name, followed by the node's text ("Expand Documents"). |
|
|
542
|
+
| `filter` (read-only) | `string` | **Deprecated.** No longer rendered; the filter input's name comes from `filterLabel`. |
|
|
543
|
+
| `filterTree` (read-only) | `string` | Accessible name of the filter input when the tree view has no `aria-label`. |
|
|
544
|
+
| `noData` (read-only) | `string` | Shown, and describes the tree, when the tree view has no data. |
|
|
545
|
+
| `noMatches` (read-only) | `string` | Shown, describes the tree and is announced, when no node matches the filter. |
|
|
546
|
+
|
|
547
|
+
### Methods
|
|
548
|
+
|
|
549
|
+
| Signature | Description |
|
|
550
|
+
| --- | --- |
|
|
551
|
+
| `filterLabel(tree: string): string` | Accessible name of the filter input, from the tree view's name ("Filter Files"). |
|
|
552
|
+
| `loadError(node: string): string` | Announced, and read with the node, when a node's children couldn't be loaded. |
|
|
553
|
+
| `loadingNode(node: string): string` | Announced while a node's children take a while to load, and the expander's name meanwhile. |
|
|
554
|
+
| `movedAfter(node: string, target: string): string` | Announced when a keyboard move (Ctrl+Shift+Arrow) put a node after another node. |
|
|
555
|
+
| `movedBefore(node: string, target: string): string` | Announced when a keyboard move put a node before another node. |
|
|
556
|
+
| `movedInto(node: string, target: string): string` | Announced when a keyboard move put a node inside another node, as its last child. |
|
|
557
|
+
| `results(count: number): string` | Announced after the user filters, with the number of nodes that match. |
|
|
558
|
+
| `retryLoading(node: string): string` | Name of the expander of a node whose children couldn't be loaded. |
|
|
559
|
+
|
|
560
|
+
**Used by:** [`MonaLocaleMessages`](i18n.md#monalocalemessages), [`TREE_VIEW_DEFAULT_MESSAGES`](tree-view.md#tree-view-default-messages)
|
|
561
|
+
|
|
562
|
+
## `MonaChipMessages`
|
|
563
|
+
|
|
564
|
+
Interface.
|
|
565
|
+
|
|
566
|
+
### Methods
|
|
567
|
+
|
|
568
|
+
| Signature |
|
|
569
|
+
| --- |
|
|
570
|
+
| `removeLabel(label?: string): string` |
|
|
571
|
+
|
|
572
|
+
**Used by:** [`MonaLocaleMessages`](i18n.md#monalocalemessages)
|
|
573
|
+
|
|
574
|
+
## `MonaListMessages`
|
|
575
|
+
|
|
576
|
+
Interface.
|
|
577
|
+
|
|
578
|
+
### Properties
|
|
579
|
+
|
|
580
|
+
| Name | Type | Description |
|
|
581
|
+
| --- | --- | --- |
|
|
582
|
+
| `filterList` (read-only) | `string` | |
|
|
583
|
+
| `loading` (read-only) | `string` | Status text while a list view is loading. |
|
|
584
|
+
| `noData` (read-only) | `string` | |
|
|
585
|
+
|
|
586
|
+
### Methods
|
|
587
|
+
|
|
588
|
+
| Signature | Description |
|
|
589
|
+
| --- | --- |
|
|
590
|
+
| `pagerLabel(list: string): string` | Accessible name of a list view's pager, from the list's name ("People pagination"). |
|
|
591
|
+
|
|
592
|
+
**Used by:** [`LIST_DEFAULT_MESSAGES`](list.md#list-default-messages), [`MonaLocaleMessages`](i18n.md#monalocalemessages)
|
|
593
|
+
|
|
594
|
+
## `MonaRatingMessages`
|
|
595
|
+
|
|
596
|
+
Interface.
|
|
597
|
+
|
|
598
|
+
### Properties
|
|
599
|
+
|
|
600
|
+
| Name | Type |
|
|
601
|
+
| --- | --- |
|
|
602
|
+
| `notRated` (read-only) | `string` |
|
|
603
|
+
|
|
604
|
+
### Methods
|
|
605
|
+
|
|
606
|
+
| Signature |
|
|
607
|
+
| --- |
|
|
608
|
+
| `valueText(value: number, max: number): string` |
|
|
609
|
+
|
|
610
|
+
**Used by:** [`MonaLocaleMessages`](i18n.md#monalocalemessages), [`RATING_DEFAULT_MESSAGES`](rating.md#rating-default-messages)
|
|
611
|
+
|
|
612
|
+
## `GeneratePseudoLocaleOptions`
|
|
613
|
+
|
|
614
|
+
Interface.
|
|
615
|
+
|
|
616
|
+
### Properties
|
|
617
|
+
|
|
618
|
+
| Name | Type |
|
|
619
|
+
| --- | --- |
|
|
620
|
+
| `direction?` (read-only) | `MonaTextDirection` |
|
|
621
|
+
| `id?` (read-only) | `string` |
|
|
622
|
+
| `pseudoOptions?` (read-only) | `PseudoLocalizationOptions` |
|
|
623
|
+
|
|
624
|
+
**Used by:** [`generatePseudoLocale`](i18n.md#generatepseudolocale)
|
|
625
|
+
|
|
626
|
+
## `LocaleTimeFormatOptions`
|
|
627
|
+
|
|
628
|
+
Interface.
|
|
629
|
+
|
|
630
|
+
### Properties
|
|
631
|
+
|
|
632
|
+
| Name | Type |
|
|
633
|
+
| --- | --- |
|
|
634
|
+
| `hourFormat?` (read-only) | `"12" \| "24"` |
|
|
635
|
+
| `showSeconds?` (read-only) | `boolean` |
|
|
636
|
+
|
|
637
|
+
**Used by:** [`getLocaleDateTimeInputFormat`](i18n.md#getlocaledatetimeinputformat), [`getLocaleTimeInputFormat`](i18n.md#getlocaletimeinputformat)
|
|
638
|
+
|
|
639
|
+
## `LocalizedDecimalEditValidationResult`
|
|
640
|
+
|
|
641
|
+
Interface.
|
|
642
|
+
|
|
643
|
+
### Properties
|
|
644
|
+
|
|
645
|
+
| Name | Type | Description |
|
|
646
|
+
| --- | --- | --- |
|
|
647
|
+
| `complete` (read-only) | `boolean` | |
|
|
648
|
+
| `reason?` (read-only) | `LocalizedNumberInvalidReason` | Set when `valid` is false. |
|
|
649
|
+
| `valid` (read-only) | `boolean` | |
|
|
650
|
+
| `value` (read-only) | `string \| null` | A canonical decimal string, see `parseLocalizedDecimal`. |
|
|
651
|
+
|
|
652
|
+
**Used by:** [`validateLocalizedDecimalEdit`](i18n.md#validatelocalizeddecimaledit)
|
|
653
|
+
|
|
654
|
+
## `LocalizedDecimalValidationResult`
|
|
655
|
+
|
|
656
|
+
Interface.
|
|
657
|
+
|
|
658
|
+
### Properties
|
|
659
|
+
|
|
660
|
+
| Name | Type | Description |
|
|
661
|
+
| --- | --- | --- |
|
|
662
|
+
| `fractionDigits` | `number` | |
|
|
663
|
+
| `reason?` | `LocalizedNumberInvalidReason` | Set when `valid` is false. |
|
|
664
|
+
| `valid` | `boolean` | |
|
|
665
|
+
| `value` | `string \| null` | A canonical decimal string, see `parseLocalizedDecimal`. |
|
|
666
|
+
|
|
667
|
+
**Used by:** [`validateLocalizedDecimal`](i18n.md#validatelocalizeddecimal)
|
|
668
|
+
|
|
669
|
+
## `MonaAutoCompleteMessages`
|
|
670
|
+
|
|
671
|
+
Interface.
|
|
672
|
+
|
|
673
|
+
### Properties
|
|
674
|
+
|
|
675
|
+
| Name | Type |
|
|
676
|
+
| --- | --- |
|
|
677
|
+
| `clear` (read-only) | `string` |
|
|
678
|
+
|
|
679
|
+
**Used by:** [`AUTO_COMPLETE_DEFAULT_MESSAGES`](auto-complete.md#auto-complete-default-messages), [`MonaLocaleMessages`](i18n.md#monalocalemessages)
|
|
680
|
+
|
|
681
|
+
## `MonaBreadcrumbMessages`
|
|
682
|
+
|
|
683
|
+
Interface.
|
|
684
|
+
|
|
685
|
+
### Properties
|
|
686
|
+
|
|
687
|
+
| Name | Type |
|
|
688
|
+
| --- | --- |
|
|
689
|
+
| `breadcrumb` (read-only) | `string` |
|
|
690
|
+
| `showFullPath` (read-only) | `string` |
|
|
691
|
+
|
|
692
|
+
**Used by:** [`BREADCRUMB_DEFAULT_MESSAGES`](breadcrumb.md#breadcrumb-default-messages), [`MonaLocaleMessages`](i18n.md#monalocalemessages)
|
|
693
|
+
|
|
694
|
+
## `MonaButtonGroupMessages`
|
|
695
|
+
|
|
696
|
+
Interface.
|
|
697
|
+
|
|
698
|
+
### Properties
|
|
699
|
+
|
|
700
|
+
| Name | Type |
|
|
701
|
+
| --- | --- |
|
|
702
|
+
| `buttonGroup` (read-only) | `string` |
|
|
703
|
+
|
|
704
|
+
**Used by:** [`MonaLocaleMessages`](i18n.md#monalocalemessages)
|
|
705
|
+
|
|
706
|
+
## `MonaCardMessages`
|
|
707
|
+
|
|
708
|
+
Interface.
|
|
709
|
+
|
|
710
|
+
### Properties
|
|
711
|
+
|
|
712
|
+
| Name | Type |
|
|
713
|
+
| --- | --- |
|
|
714
|
+
| `actionsLabel` (read-only) | `string` |
|
|
715
|
+
|
|
716
|
+
**Used by:** [`MonaLocaleMessages`](i18n.md#monalocalemessages)
|
|
717
|
+
|
|
718
|
+
## `MonaChartMessages`
|
|
719
|
+
|
|
720
|
+
Interface.
|
|
721
|
+
|
|
722
|
+
### Properties
|
|
723
|
+
|
|
724
|
+
| Name | Type | Description |
|
|
725
|
+
| --- | --- | --- |
|
|
726
|
+
| `announcementSeparator` (read-only) | `string` | Joins the parts of a screen reader announcement (", " in English). |
|
|
727
|
+
| `brushApplied` (read-only) | `(count: number) => string` | Announced when a keyboard brush is committed. |
|
|
728
|
+
| `brushCleared` (read-only) | `string` | Announced when a keyboard brush is canceled. |
|
|
729
|
+
| `brushRange` (read-only) | `(from: string, to: string) => string` | Announced while a keyboard brush is extended. |
|
|
730
|
+
| `category` (read-only) | `string` | The data table's first column header when the X axis has no title. |
|
|
731
|
+
| `categoryFallbackName` (read-only) | `(index: number) => string` | The name of a radar category without a value. |
|
|
732
|
+
| `categoryRange` (read-only) | `(from: string, to: string) => string` | The category range of a Cartesian chart, in its description. |
|
|
733
|
+
| `change` (read-only) | `string` | The tooltip label for a waterfall change step or a financial point's price change. |
|
|
734
|
+
| `changeValue` (read-only) | `(change: string) => string` | The price change in a financial announcement. |
|
|
735
|
+
| `chart` (read-only) | `string` | The chart's accessible name when it has neither an `ariaLabel` nor a title. |
|
|
736
|
+
| `chartLegend` (read-only) | `string` | The accessible name of the legend. |
|
|
737
|
+
| `chartRoleDescription` (read-only) | `string` | What screen readers call the chart (`aria-roledescription`). |
|
|
738
|
+
| `close` (read-only) | `string` | The tooltip label for a candlestick or OHLC point's closing price. |
|
|
739
|
+
| `closeAbbreviation` (read-only) | `string` | The short closing price label in a tooltip that lists several financial series ("C" in English). |
|
|
740
|
+
| `colorScale` (read-only) | `string` | The name of a heatmap color legend whose scale has no title, in its accessible name. |
|
|
741
|
+
| `conversion` (read-only) | `string` | The tooltip label for a funnel stage's conversion rate. |
|
|
742
|
+
| `conversionOfPrevious` (read-only) | `(rate: string) => string` | A funnel stage's conversion from the previous stage, in an announcement. |
|
|
743
|
+
| `dataTableTruncated` (read-only) | `(shown: number, total: number) => string` | Below the data table when it shows only the first rows. |
|
|
744
|
+
| `decrease` (read-only) | `string` | The waterfall legend's name for falling steps. |
|
|
745
|
+
| `decreaseAnnouncement` (read-only) | `(delta: string, from: string, to: string) => string` | Announced for a waterfall step that lowers the running total. |
|
|
746
|
+
| `divergingRangeDescription` (read-only) | `( title: string, minimum: string, midpoint: string, maximum: string ) => string` | The accessible name of a diverging heatmap color legend, with its minimum, midpoint and maximum. |
|
|
747
|
+
| `dropOff` (read-only) | `string` | The tooltip label for a funnel stage's drop-off from the previous stage. |
|
|
748
|
+
| `dropOffValue` (read-only) | `(value: string) => string` | A funnel stage's drop-off from the previous stage, in an announcement. |
|
|
749
|
+
| `falling` (read-only) | `string` | Names a falling candlestick or OHLC point, in the tooltip and in announcements. |
|
|
750
|
+
| `gaugeRange` (read-only) | `(minimum: string, maximum: string) => string` | A gauge's scale, in an announcement. |
|
|
751
|
+
| `high` (read-only) | `string` | The tooltip label for a candlestick or OHLC point's high price. |
|
|
752
|
+
| `highAbbreviation` (read-only) | `string` | The short high price label in a tooltip that lists several financial series ("H" in English). |
|
|
753
|
+
| `increase` (read-only) | `string` | The waterfall legend's name for rising steps. |
|
|
754
|
+
| `increaseAnnouncement` (read-only) | `(delta: string, from: string, to: string) => string` | Announced for a waterfall step that raises the running total. |
|
|
755
|
+
| `itemDeselected` (read-only) | `(item: string) => string` | Announced when the keyboard deselects a point. |
|
|
756
|
+
| `itemFallbackName` (read-only) | `(index: number) => string` | The name of a pie, donut, rose or radial bar item without a category. |
|
|
757
|
+
| `itemSelected` (read-only) | `(item: string) => string` | Announced when the keyboard selects a point. |
|
|
758
|
+
| `keyboardHelp` (read-only) | `string` | The keyboard instructions at the end of the chart's description. |
|
|
759
|
+
| `labeledValue` (read-only) | `(label: string, value: string) => string` | Pairs a label with a value in an announcement, such as a series name with the point's values. |
|
|
760
|
+
| `labelValueSeparator` (read-only) | `string` | Separates a label from its value in the tooltip (":" in English). |
|
|
761
|
+
| `low` (read-only) | `string` | The tooltip label for a candlestick or OHLC point's low price. |
|
|
762
|
+
| `lowAbbreviation` (read-only) | `string` | The short low price label in a tooltip that lists several financial series ("L" in English). |
|
|
763
|
+
| `noChange` (read-only) | `string` | The waterfall legend's name for unchanged steps. |
|
|
764
|
+
| `noChangeAnnouncement` (read-only) | `(value: string) => string` | Announced for a waterfall step that leaves the running total unchanged. |
|
|
765
|
+
| `noData` (read-only) | `string` | Shown and included in the chart's description when it has no data and no `noData` template. |
|
|
766
|
+
| `ohlcValues` (read-only) | `(open: string, high: string, low: string, close: string) => string` | A candlestick or OHLC point's prices, in an announcement. |
|
|
767
|
+
| `open` (read-only) | `string` | The tooltip label for a candlestick or OHLC point's opening price. |
|
|
768
|
+
| `openAbbreviation` (read-only) | `string` | The short opening price label in a tooltip that lists several financial series ("O" in English). |
|
|
769
|
+
| `overall` (read-only) | `string` | The tooltip label for a funnel stage's conversion from the first stage. |
|
|
770
|
+
| `overallConversion` (read-only) | `(rate: string) => string` | A funnel stage's conversion from the first stage, in an announcement. |
|
|
771
|
+
| `pannedDown` (read-only) | `string` | Announced when the keyboard pans the viewport down. |
|
|
772
|
+
| `pannedLeft` (read-only) | `string` | Announced when the keyboard pans the viewport left. |
|
|
773
|
+
| `pannedRight` (read-only) | `string` | Announced when the keyboard pans the viewport right. |
|
|
774
|
+
| `pannedUp` (read-only) | `string` | Announced when the keyboard pans the viewport up. |
|
|
775
|
+
| `pathSeparator` (read-only) | `string` | Joins a treemap node's path (" / " in English). |
|
|
776
|
+
| `pointPosition` (read-only) | `(position: number, total: number) => string` | A point's position among the points it is navigated with, in an announcement. |
|
|
777
|
+
| `range` (read-only) | `string` | The tooltip label for a radial point's minimum-to-maximum range. |
|
|
778
|
+
| `rangeDescription` (read-only) | `( title: string, minimum: string, maximum: string ) => string` | Describes a range with its title, minimum and maximum: a range point in an announcement, or a heatmap color legend in its accessible name. |
|
|
779
|
+
| `rangeValue` (read-only) | `(from: string, to: string) => string` | A range value, in an announcement. |
|
|
780
|
+
| `rising` (read-only) | `string` | Names a rising candlestick or OHLC point, in the tooltip and in announcements. |
|
|
781
|
+
| `runningTotal` (read-only) | `string` | The tooltip label for a waterfall step's running total. |
|
|
782
|
+
| `seriesFallbackName` (read-only) | `(index: number) => string` | The name of a series without a name. |
|
|
783
|
+
| `seriesHidden` (read-only) | `(series: string) => string` | Announced when a legend item hides a series or item. |
|
|
784
|
+
| `seriesShown` (read-only) | `(series: string) => string` | Announced when a legend item shows a series or item. |
|
|
785
|
+
| `seriesSummary` (read-only) | `(count: number, names: string) => string` | The series of the chart, in its description. |
|
|
786
|
+
| `seriesValueRange` (read-only) | `(series: string, minimum: string, maximum: string) => string` | A series' lowest and highest value, in the chart's description. |
|
|
787
|
+
| `shareOfTotal` (read-only) | `(share: string) => string` | A treemap node's share of the whole, in an announcement. |
|
|
788
|
+
| `size` (read-only) | `string` | The tooltip label for a bubble's size. |
|
|
789
|
+
| `sizeValue` (read-only) | `(size: string) => string` | A bubble's size, in an announcement. |
|
|
790
|
+
| `stackShare` (read-only) | `(share: string) => string` | A point's share of its 100% stack, in an announcement. |
|
|
791
|
+
| `stageFallbackName` (read-only) | `(index: number) => string` | The name of a funnel stage without a category. |
|
|
792
|
+
| `stagePosition` (read-only) | `(position: number, total: number) => string` | A funnel stage's position among the stages, in an announcement. |
|
|
793
|
+
| `stepFallbackName` (read-only) | `(index: number) => string` | The name of a waterfall step without a category. |
|
|
794
|
+
| `stepPosition` (read-only) | `(position: number, total: number) => string` | A waterfall step's position among the steps, in an announcement. |
|
|
795
|
+
| `subtotal` (read-only) | `string` | The waterfall legend's name for subtotal steps. |
|
|
796
|
+
| `subtotalAnnouncement` (read-only) | `(value: string) => string` | Announced for a waterfall subtotal step. |
|
|
797
|
+
| `total` (read-only) | `string` | The waterfall legend's name for total steps. |
|
|
798
|
+
| `totalAnnouncement` (read-only) | `(value: string) => string` | Announced for a waterfall total step. |
|
|
799
|
+
| `treemapGroup` (read-only) | `(count: number) => string` | A treemap group, in an announcement. |
|
|
800
|
+
| `treemapLeaf` (read-only) | `string` | A treemap leaf, in an announcement. |
|
|
801
|
+
| `unchanged` (read-only) | `string` | Names a candlestick or OHLC point that closed at its opening price, in the tooltip and in announcements. |
|
|
802
|
+
| `value` (read-only) | `string` | The tooltip label for a point's value. |
|
|
803
|
+
| `valueRange` (read-only) | `(from: string, to: string) => string` | A range value in the tooltip ("10 – 20" in English). |
|
|
804
|
+
| `viewportResetToDefault` (read-only) | `string` | Announced when the keyboard resets the viewport to its configured default range. |
|
|
805
|
+
| `viewportResetToFull` (read-only) | `string` | Announced when the keyboard resets the viewport to the full data range, when no default range is configured. |
|
|
806
|
+
| `visualIndicatorClamped` (read-only) | `string` | Shown and announced when a gauge value lies outside the gauge's scale and its indicator stops at the edge. |
|
|
807
|
+
| `zoomedIn` (read-only) | `string` | Announced when the keyboard zooms the viewport in. |
|
|
808
|
+
| `zoomedOut` (read-only) | `string` | Announced when the keyboard zooms the viewport out. |
|
|
809
|
+
|
|
810
|
+
**Used by:** [`CHART_DEFAULT_MESSAGES`](chart.md#chart-default-messages), [`MonaLocaleMessages`](i18n.md#monalocalemessages)
|
|
811
|
+
|
|
812
|
+
## `MonaColorGradientMessages`
|
|
813
|
+
|
|
814
|
+
Interface.
|
|
815
|
+
|
|
816
|
+
### Properties
|
|
817
|
+
|
|
818
|
+
| Name | Type |
|
|
819
|
+
| --- | --- |
|
|
820
|
+
| `alpha` (read-only) | `string` |
|
|
821
|
+
| `alphaText` (read-only) | `(opacity: number) => string` |
|
|
822
|
+
| `apply` (read-only) | `string` |
|
|
823
|
+
| `blue` (read-only) | `string` |
|
|
824
|
+
| `cancel` (read-only) | `string` |
|
|
825
|
+
| `clearColor` (read-only) | `string` |
|
|
826
|
+
| `colorCopied` (read-only) | `string` |
|
|
827
|
+
| `colorGradient` (read-only) | `string` |
|
|
828
|
+
| `copyAsHex` (read-only) | `string` |
|
|
829
|
+
| `copyAsRgb` (read-only) | `string` |
|
|
830
|
+
| `copyColor` (read-only) | `string` |
|
|
831
|
+
| `copyFailed` (read-only) | `string` |
|
|
832
|
+
| `currentColor` (read-only) | `string` |
|
|
833
|
+
| `green` (read-only) | `string` |
|
|
834
|
+
| `hexColor` (read-only) | `string` |
|
|
835
|
+
| `hue` (read-only) | `string` |
|
|
836
|
+
| `previousColor` (read-only) | `string` |
|
|
837
|
+
| `red` (read-only) | `string` |
|
|
838
|
+
| `saturation` (read-only) | `string` |
|
|
839
|
+
| `saturationAndValue` (read-only) | `string` |
|
|
840
|
+
| `saturationAndValueText` (read-only) | `(saturation: number, value: number) => string` |
|
|
841
|
+
| `switchColorMode` (read-only) | `string` |
|
|
842
|
+
| `value` (read-only) | `string` |
|
|
843
|
+
|
|
844
|
+
**Used by:** [`COLOR_GRADIENT_DEFAULT_MESSAGES`](color-gradient.md#color-gradient-default-messages), [`MonaLocaleMessages`](i18n.md#monalocalemessages)
|
|
845
|
+
|
|
846
|
+
## `MonaColorPaletteMessages`
|
|
847
|
+
|
|
848
|
+
Interface.
|
|
849
|
+
|
|
850
|
+
### Properties
|
|
851
|
+
|
|
852
|
+
| Name | Type |
|
|
853
|
+
| --- | --- |
|
|
854
|
+
| `color` (read-only) | `(color: string) => string` |
|
|
855
|
+
| `colorPalette` (read-only) | `string` |
|
|
856
|
+
| `namedColor` (read-only) | `(name: string, color: string) => string` |
|
|
857
|
+
|
|
858
|
+
**Used by:** [`COLOR_PALETTE_DEFAULT_MESSAGES`](color-palette.md#color-palette-default-messages), [`MonaLocaleMessages`](i18n.md#monalocalemessages)
|
|
859
|
+
|
|
860
|
+
## `MonaColorPickerMessages`
|
|
861
|
+
|
|
862
|
+
Interface.
|
|
863
|
+
|
|
864
|
+
### Properties
|
|
865
|
+
|
|
866
|
+
| Name | Type |
|
|
867
|
+
| --- | --- |
|
|
868
|
+
| `clearColor` (read-only) | `string` |
|
|
869
|
+
| `colorGradientPicker` (read-only) | `string` |
|
|
870
|
+
| `colorPalettePicker` (read-only) | `string` |
|
|
871
|
+
| `colorPicker` (read-only) | `string` |
|
|
872
|
+
| `noColor` (read-only) | `string` |
|
|
873
|
+
|
|
874
|
+
**Used by:** [`COLOR_PICKER_DEFAULT_MESSAGES`](color-picker.md#color-picker-default-messages), [`MonaLocaleMessages`](i18n.md#monalocalemessages)
|
|
875
|
+
|
|
876
|
+
## `MonaComboBoxMessages`
|
|
877
|
+
|
|
878
|
+
Interface.
|
|
879
|
+
|
|
880
|
+
### Properties
|
|
881
|
+
|
|
882
|
+
| Name | Type |
|
|
883
|
+
| --- | --- |
|
|
884
|
+
| `clear` (read-only) | `string` |
|
|
885
|
+
|
|
886
|
+
**Used by:** [`COMBO_BOX_DEFAULT_MESSAGES`](combo-box.md#combo-box-default-messages), [`MonaLocaleMessages`](i18n.md#monalocalemessages)
|
|
887
|
+
|
|
888
|
+
## `MonaCommandMessages`
|
|
889
|
+
|
|
890
|
+
Interface.
|
|
891
|
+
|
|
892
|
+
### Properties
|
|
893
|
+
|
|
894
|
+
| Name | Type |
|
|
895
|
+
| --- | --- |
|
|
896
|
+
| `dialogLabel` (read-only) | `string` |
|
|
897
|
+
| `inputLabel` (read-only) | `string` |
|
|
898
|
+
| `listLabel` (read-only) | `string` |
|
|
899
|
+
| `loading` (read-only) | `string` |
|
|
900
|
+
| `noResults` (read-only) | `string` |
|
|
901
|
+
| `placeholder` (read-only) | `string` |
|
|
902
|
+
| `resultsAvailable` (read-only) | `(count: number) => string` |
|
|
903
|
+
|
|
904
|
+
**Used by:** [`COMMAND_DEFAULT_MESSAGES`](command.md#command-default-messages), [`MonaLocaleMessages`](i18n.md#monalocalemessages)
|
|
905
|
+
|
|
906
|
+
## `MonaDatePickerMessages`
|
|
907
|
+
|
|
908
|
+
Interface.
|
|
909
|
+
|
|
910
|
+
### Properties
|
|
911
|
+
|
|
912
|
+
| Name | Type |
|
|
913
|
+
| --- | --- |
|
|
914
|
+
| `datePicker` (read-only) | `string` |
|
|
915
|
+
| `openCalendar` (read-only) | `string` |
|
|
916
|
+
|
|
917
|
+
**Used by:** [`DATE_PICKER_DEFAULT_MESSAGES`](date-picker.md#date-picker-default-messages), [`DatePickerMessages`](i18n.md#datepickermessages), [`MonaLocaleMessages`](i18n.md#monalocalemessages)
|
|
918
|
+
|
|
919
|
+
## `MonaDateTimePickerMessages`
|
|
920
|
+
|
|
921
|
+
Interface.
|
|
922
|
+
|
|
923
|
+
### Properties
|
|
924
|
+
|
|
925
|
+
| Name | Type |
|
|
926
|
+
| --- | --- |
|
|
927
|
+
| `calendar` (read-only) | `string` |
|
|
928
|
+
| `cancel` (read-only) | `string` |
|
|
929
|
+
| `date` (read-only) | `string` |
|
|
930
|
+
| `dateTimePicker` (read-only) | `string` |
|
|
931
|
+
| `openDateTimePicker` (read-only) | `string` |
|
|
932
|
+
| `set` (read-only) | `string` |
|
|
933
|
+
| `time` (read-only) | `string` |
|
|
934
|
+
| `timePicker` (read-only) | `string` |
|
|
935
|
+
|
|
936
|
+
**Used by:** [`DATETIME_PICKER_DEFAULT_MESSAGES`](datetime-picker.md#datetime-picker-default-messages), [`DateTimePickerMessages`](i18n.md#datetimepickermessages), [`MonaLocaleMessages`](i18n.md#monalocalemessages)
|
|
937
|
+
|
|
938
|
+
## `MonaDialogMessages`
|
|
939
|
+
|
|
940
|
+
Interface.
|
|
941
|
+
|
|
942
|
+
### Properties
|
|
943
|
+
|
|
944
|
+
| Name | Type | Description |
|
|
945
|
+
| --- | --- | --- |
|
|
946
|
+
| `cancel` (read-only) | `string` | The label of the Cancel button that `confirm()` and a `"confirm"` dialog without `actions` add. |
|
|
947
|
+
| `closeDialog` (read-only) | `string` | The accessible name of the close button in the dialog header. |
|
|
948
|
+
| `ok` (read-only) | `string` | The label of the OK button that `alert()`, `confirm()` and a dialog without `actions` add. |
|
|
949
|
+
|
|
950
|
+
**Used by:** [`DIALOG_DEFAULT_MESSAGES`](dialog.md#dialog-default-messages), [`DialogMessages`](i18n.md#dialogmessages), [`MonaLocaleMessages`](i18n.md#monalocalemessages)
|
|
951
|
+
|
|
952
|
+
## `MonaDropdownListMessages`
|
|
953
|
+
|
|
954
|
+
Interface.
|
|
955
|
+
|
|
956
|
+
### Properties
|
|
957
|
+
|
|
958
|
+
| Name | Type |
|
|
959
|
+
| --- | --- |
|
|
960
|
+
| `clear` (read-only) | `string` |
|
|
961
|
+
|
|
962
|
+
**Used by:** [`DROPDOWN_LIST_DEFAULT_MESSAGES`](dropdown-list.md#dropdown-list-default-messages), [`MonaLocaleMessages`](i18n.md#monalocalemessages)
|
|
963
|
+
|
|
964
|
+
## `MonaDropdownsMessages`
|
|
965
|
+
|
|
966
|
+
Interface.
|
|
967
|
+
|
|
968
|
+
### Properties
|
|
969
|
+
|
|
970
|
+
| Name | Type |
|
|
971
|
+
| --- | --- |
|
|
972
|
+
| `itemPosition` (read-only) | `(text: string, position: number, total: number) => string` |
|
|
973
|
+
| `noResultsFound` (read-only) | `string` |
|
|
974
|
+
| `resultsAvailable` (read-only) | `(count: number) => string` |
|
|
975
|
+
|
|
976
|
+
**Used by:** [`DROPDOWNS_DEFAULT_MESSAGES`](dropdowns.md#dropdowns-default-messages), [`MonaLocaleMessages`](i18n.md#monalocalemessages)
|
|
977
|
+
|
|
978
|
+
## `MonaEditorMessages`
|
|
979
|
+
|
|
980
|
+
Interface.
|
|
981
|
+
|
|
982
|
+
### Properties
|
|
983
|
+
|
|
984
|
+
| Name | Type | Description |
|
|
985
|
+
| --- | --- | --- |
|
|
986
|
+
| `addColumnAfter` (read-only) | `string` | The label of the toolbar button that adds a column after the current one. |
|
|
987
|
+
| `addColumnBefore` (read-only) | `string` | The label of the toolbar button that adds a column before the current one. |
|
|
988
|
+
| `addHorizontalLine` (read-only) | `string` | The label of the toolbar button that inserts a horizontal line. |
|
|
989
|
+
| `addRowAfter` (read-only) | `string` | The label of the toolbar button that adds a row after the current one. |
|
|
990
|
+
| `addRowBefore` (read-only) | `string` | The label of the toolbar button that adds a row before the current one. |
|
|
991
|
+
| `alignCenter` (read-only) | `string` | The label of the toolbar button that centers the text. |
|
|
992
|
+
| `alignEnd` (read-only) | `string` | The label of the toolbar button that aligns the text to the end of the line. |
|
|
993
|
+
| `alignLeft` (read-only) | `string` | **Deprecated.** No longer rendered: the toolbar aligns to the start and end with `alignStart` and `alignEnd`. |
|
|
994
|
+
| `alignmentGroup` (read-only) | `string` | The accessible name of the toolbar's text alignment button group. |
|
|
995
|
+
| `alignRight` (read-only) | `string` | **Deprecated.** No longer rendered: the toolbar aligns to the start and end with `alignStart` and `alignEnd`. |
|
|
996
|
+
| `alignStart` (read-only) | `string` | The label of the toolbar button that aligns the text to the start of the line. |
|
|
997
|
+
| `altText` (read-only) | `string` | The label of the alternative text field in the insert image form. |
|
|
998
|
+
| `apply` (read-only) | `string` | The label of the link dialog's button that sets the link. |
|
|
999
|
+
| `backgroundColor` (read-only) | `string` | The label of the toolbar color picker that sets the text's highlight color. |
|
|
1000
|
+
| `bold` (read-only) | `string` | The label of the toolbar button that toggles bold. |
|
|
1001
|
+
| `cancel` (read-only) | `string` | The label of the Cancel button in the link dialog and the insert image form. |
|
|
1002
|
+
| `codeBlock` (read-only) | `string` | The label of the toolbar button that toggles a code block. |
|
|
1003
|
+
| `color` (read-only) | `string` | The label of the toolbar color picker that sets the text color. |
|
|
1004
|
+
| `contentLabel` (read-only) | `string` | The accessible name of the editable content when the editor has no `aria-label` or `aria-labelledby`. |
|
|
1005
|
+
| `defaultFontFamily` (read-only) | `string` | The placeholder of the font family dropdown when the text uses no specific font. |
|
|
1006
|
+
| `deleteColumn` (read-only) | `string` | The label of the toolbar button that deletes the current column. |
|
|
1007
|
+
| `deleteRow` (read-only) | `string` | The label of the toolbar button that deletes the current row. |
|
|
1008
|
+
| `deleteTable` (read-only) | `string` | The label of the toolbar button that deletes the table. |
|
|
1009
|
+
| `editLink` (read-only) | `string` | The title of the link dialog when the selection is already in a link. |
|
|
1010
|
+
| `enterUrl` (read-only) | `string` | The label of the URL field in the link dialog. |
|
|
1011
|
+
| `fontSize` (read-only) | `string` | The placeholder of the font size dropdown when the text has no specific size. |
|
|
1012
|
+
| `format` (read-only) | `string` | The label of the toolbar dropdown that switches between paragraph and heading levels. |
|
|
1013
|
+
| `heading` (read-only) | `(level: number) => string` | The text of a heading level in the format dropdown, given the level number. |
|
|
1014
|
+
| `heightPx` (read-only) | `string` | The label of the height field in the insert image form. |
|
|
1015
|
+
| `historyGroup` (read-only) | `string` | The accessible name of the toolbar's undo and redo button group. |
|
|
1016
|
+
| `imageUrl` (read-only) | `string` | The label of the image URL field in the insert image form. |
|
|
1017
|
+
| `indent` (read-only) | `string` | The label of the toolbar button that increases the indentation. |
|
|
1018
|
+
| `indentGroup` (read-only) | `string` | The accessible name of the toolbar's indent and outdent button group. |
|
|
1019
|
+
| `insert` (read-only) | `string` | The label of the insert image form's button that inserts the image. |
|
|
1020
|
+
| `insertImage` (read-only) | `string` | The label of the toolbar button that opens the insert image form, and the title of that form's window. |
|
|
1021
|
+
| `insertLink` (read-only) | `string` | The label of the toolbar button that opens the link dialog, and the dialog's title for a new link. |
|
|
1022
|
+
| `insertOrderedList` (read-only) | `string` | The label of the toolbar button that toggles a numbered list. |
|
|
1023
|
+
| `insertTable` (read-only) | `string` | The label of the toolbar button that opens the table size grid, and the accessible name of that grid. |
|
|
1024
|
+
| `insertTaskList` (read-only) | `string` | The label of the toolbar button that toggles a task list. |
|
|
1025
|
+
| `insertUnorderedList` (read-only) | `string` | The label of the toolbar button that toggles a bulleted list. |
|
|
1026
|
+
| `invalidUrl` (read-only) | `string` | The error shown in the link dialog when the URL isn't a valid link. |
|
|
1027
|
+
| `italic` (read-only) | `string` | The label of the toolbar button that toggles italic. |
|
|
1028
|
+
| `justify` (read-only) | `string` | The label of the toolbar button that justifies the text. |
|
|
1029
|
+
| `linkGroup` (read-only) | `string` | The accessible name of the toolbar's link button group. |
|
|
1030
|
+
| `listGroup` (read-only) | `string` | The accessible name of the toolbar's list button group. |
|
|
1031
|
+
| `mergeCells` (read-only) | `string` | The label of the toolbar button that merges the selected cells. |
|
|
1032
|
+
| `outdent` (read-only) | `string` | The label of the toolbar button that decreases the indentation. |
|
|
1033
|
+
| `paragraph` (read-only) | `string` | The text of the plain paragraph option in the format dropdown. |
|
|
1034
|
+
| `quotation` (read-only) | `string` | The label of the toolbar button that toggles a block quote. |
|
|
1035
|
+
| `redo` (read-only) | `string` | The label of the toolbar button that redoes the last undone change. |
|
|
1036
|
+
| `removeLink` (read-only) | `string` | The label of the toolbar button and the link dialog button that remove the link. |
|
|
1037
|
+
| `selectFontFamily` (read-only) | `string` | The label of the toolbar's font family dropdown. |
|
|
1038
|
+
| `selectFontSize` (read-only) | `string` | The label of the toolbar's font size dropdown. |
|
|
1039
|
+
| `splitCell` (read-only) | `string` | The label of the toolbar button that splits a merged cell. |
|
|
1040
|
+
| `strikethrough` (read-only) | `string` | The label of the toolbar button that toggles strikethrough. |
|
|
1041
|
+
| `subscript` (read-only) | `string` | The label of the toolbar button that toggles subscript. |
|
|
1042
|
+
| `superscript` (read-only) | `string` | The label of the toolbar button that toggles superscript. |
|
|
1043
|
+
| `tableGroup` (read-only) | `string` | The accessible name of the toolbar's table button group. |
|
|
1044
|
+
| `tableSize` (read-only) | `(rows: number, columns: number) => string` | Describes a table size in the table size grid, given the number of rows and columns. It names each grid cell and announces the highlighted size. |
|
|
1045
|
+
| `textStyleGroup` (read-only) | `string` | The accessible name of the toolbar's bold, italic and other text style button group. |
|
|
1046
|
+
| `toggleHeaderRow` (read-only) | `string` | The label of the toolbar button that turns the header row on or off. |
|
|
1047
|
+
| `toolbar` (read-only) | `string` | The accessible name of the editor's toolbar. |
|
|
1048
|
+
| `underline` (read-only) | `string` | The label of the toolbar button that toggles underline. |
|
|
1049
|
+
| `undo` (read-only) | `string` | The label of the toolbar button that undoes the last change. |
|
|
1050
|
+
| `widthPx` (read-only) | `string` | The label of the width field in the insert image form. |
|
|
1051
|
+
|
|
1052
|
+
**Used by:** [`EDITOR_DEFAULT_MESSAGES`](editor.md#editor-default-messages), [`MonaLocaleMessages`](i18n.md#monalocalemessages)
|
|
1053
|
+
|
|
1054
|
+
## `MonaFilterMessages`
|
|
1055
|
+
|
|
1056
|
+
Interface.
|
|
1057
|
+
|
|
1058
|
+
### Properties
|
|
1059
|
+
|
|
1060
|
+
| Name | Type |
|
|
1061
|
+
| --- | --- |
|
|
1062
|
+
| `and` (read-only) | `string` |
|
|
1063
|
+
| `apply` (read-only) | `string` |
|
|
1064
|
+
| `clear` (read-only) | `string` |
|
|
1065
|
+
| `contains` (read-only) | `string` |
|
|
1066
|
+
| `doesNotContain` (read-only) | `string` |
|
|
1067
|
+
| `endsWith` (read-only) | `string` |
|
|
1068
|
+
| `isAfter` (read-only) | `string` |
|
|
1069
|
+
| `isAfterOrEqualTo` (read-only) | `string` |
|
|
1070
|
+
| `isBefore` (read-only) | `string` |
|
|
1071
|
+
| `isBeforeOrEqualTo` (read-only) | `string` |
|
|
1072
|
+
| `isEmpty` (read-only) | `string` |
|
|
1073
|
+
| `isEqualTo` (read-only) | `string` |
|
|
1074
|
+
| `isFalse` (read-only) | `string` |
|
|
1075
|
+
| `isGreaterThan` (read-only) | `string` |
|
|
1076
|
+
| `isGreaterThanOrEqualTo` (read-only) | `string` |
|
|
1077
|
+
| `isLessThan` (read-only) | `string` |
|
|
1078
|
+
| `isLessThanOrEqualTo` (read-only) | `string` |
|
|
1079
|
+
| `isNotEmpty` (read-only) | `string` |
|
|
1080
|
+
| `isNotEqualTo` (read-only) | `string` |
|
|
1081
|
+
| `isNotNull` (read-only) | `string` |
|
|
1082
|
+
| `isNotNullOrEmpty` (read-only) | `string` |
|
|
1083
|
+
| `isNull` (read-only) | `string` |
|
|
1084
|
+
| `isNullOrEmpty` (read-only) | `string` |
|
|
1085
|
+
| `isTrue` (read-only) | `string` |
|
|
1086
|
+
| `logic` (read-only) | `string` |
|
|
1087
|
+
| `operator` (read-only) | `string` |
|
|
1088
|
+
| `or` (read-only) | `string` |
|
|
1089
|
+
| `secondOperator` (read-only) | `string` |
|
|
1090
|
+
| `secondValue` (read-only) | `string` |
|
|
1091
|
+
| `startsWith` (read-only) | `string` |
|
|
1092
|
+
| `value` (read-only) | `string` |
|
|
1093
|
+
|
|
1094
|
+
**Used by:** [`FILTER_DEFAULT_MESSAGES`](filter.md#filter-default-messages), [`FilterMessages`](i18n.md#filtermessages), [`MonaLocaleMessages`](i18n.md#monalocalemessages)
|
|
1095
|
+
|
|
1096
|
+
## `MonaI18nConfig`
|
|
1097
|
+
|
|
1098
|
+
Interface.
|
|
1099
|
+
|
|
1100
|
+
### Properties
|
|
1101
|
+
|
|
1102
|
+
| Name | Type | Description |
|
|
1103
|
+
| --- | --- | --- |
|
|
1104
|
+
| `initialLocale?` (read-only) | `string` | Locale id loaded with `MonaI18nConfig.loadLocale` before the application starts, so the first render is already localized. When loading fails, the application starts with `MonaI18nConfig.locale` (or English) and the error is logged. |
|
|
1105
|
+
| `loadLocale?` (read-only) | `(localeId: string) => Promise<MonaLocale>` | Loads a locale by id for `MonaI18nService.load()` and `MonaI18nConfig.initialLocale`. Use `loadMonaLocale` from `@nanahoshi/mona-ui/locales` for the official locales, or any function that resolves to a `MonaLocale`, such as one that fetches a catalog over HTTP. |
|
|
1106
|
+
| `locale?` (read-only) | `MonaLocale` | |
|
|
1107
|
+
| `localeMessages?` (read-only) | `Readonly<Record<string, DeepPartial<MonaLocaleMessages>>>` | Overrides applied only while the locale with that id is active, keyed by locale id such as "de-DE". They take precedence over `MonaI18nConfig.messages`. |
|
|
1108
|
+
| `messages?` (read-only) | `DeepPartial<MonaLocaleMessages>` | Overrides applied whatever the active locale is. |
|
|
1109
|
+
|
|
1110
|
+
**Used by:** [`MONA_I18N_CONFIG`](i18n.md#mona-i18n-config), [`provideMonaI18n`](i18n.md#providemonai18n)
|
|
1111
|
+
|
|
1112
|
+
## `MonaLabelMessages`
|
|
1113
|
+
|
|
1114
|
+
Interface.
|
|
1115
|
+
|
|
1116
|
+
### Properties
|
|
1117
|
+
|
|
1118
|
+
| Name | Type |
|
|
1119
|
+
| --- | --- |
|
|
1120
|
+
| `optional` (read-only) | `string` |
|
|
1121
|
+
|
|
1122
|
+
**Used by:** [`MonaLocaleMessages`](i18n.md#monalocalemessages)
|
|
1123
|
+
|
|
1124
|
+
## `MonaLocale`
|
|
1125
|
+
|
|
1126
|
+
Interface.
|
|
1127
|
+
|
|
1128
|
+
### Properties
|
|
1129
|
+
|
|
1130
|
+
| Name | Type |
|
|
1131
|
+
| --- | --- |
|
|
1132
|
+
| `direction` (read-only) | `MonaTextDirection` |
|
|
1133
|
+
| `id` (read-only) | `string` |
|
|
1134
|
+
| `messages` (read-only) | `DeepPartial<MonaLocaleMessages>` |
|
|
1135
|
+
|
|
1136
|
+
**Used by:** [`generatePseudoLocale`](i18n.md#generatepseudolocale), [`loadMonaLocale`](locales.md#loadmonalocale), [`MONA_DEFAULT_LOCALE`](i18n.md#mona-default-locale), [`MonaI18nConfig`](i18n.md#monai18nconfig), [`MonaI18nService`](i18n.md#monai18nservice)
|
|
1137
|
+
|
|
1138
|
+
## `MonaLocaleMessages`
|
|
1139
|
+
|
|
1140
|
+
Interface.
|
|
1141
|
+
|
|
1142
|
+
### Properties
|
|
1143
|
+
|
|
1144
|
+
| Name | Type |
|
|
1145
|
+
| --- | --- |
|
|
1146
|
+
| `autoComplete` | `MonaAutoCompleteMessages` |
|
|
1147
|
+
| `breadcrumb` | `MonaBreadcrumbMessages` |
|
|
1148
|
+
| `buttonGroup` | `MonaButtonGroupMessages` |
|
|
1149
|
+
| `calendar` | `MonaCalendarMessages` |
|
|
1150
|
+
| `card` | `MonaCardMessages` |
|
|
1151
|
+
| `chart` | `MonaChartMessages` |
|
|
1152
|
+
| `chip` | `MonaChipMessages` |
|
|
1153
|
+
| `colorGradient` | `MonaColorGradientMessages` |
|
|
1154
|
+
| `colorPalette` | `MonaColorPaletteMessages` |
|
|
1155
|
+
| `colorPicker` | `MonaColorPickerMessages` |
|
|
1156
|
+
| `comboBox` | `MonaComboBoxMessages` |
|
|
1157
|
+
| `command` | `MonaCommandMessages` |
|
|
1158
|
+
| `datePicker` | `MonaDatePickerMessages` |
|
|
1159
|
+
| `dateTimePicker` | `MonaDateTimePickerMessages` |
|
|
1160
|
+
| `dialog` | `MonaDialogMessages` |
|
|
1161
|
+
| `dropdownList` | `MonaDropdownListMessages` |
|
|
1162
|
+
| `dropdowns` | `MonaDropdownsMessages` |
|
|
1163
|
+
| `editor` | `MonaEditorMessages` |
|
|
1164
|
+
| `filter` | `MonaFilterMessages` |
|
|
1165
|
+
| `grid` | `MonaGridMessages` |
|
|
1166
|
+
| `label` | `MonaLabelMessages` |
|
|
1167
|
+
| `list` | `MonaListMessages` |
|
|
1168
|
+
| `listBox` | `MonaListBoxMessages` |
|
|
1169
|
+
| `multiSelect` | `MonaMultiSelectMessages` |
|
|
1170
|
+
| `notification` | `MonaNotificationMessages` |
|
|
1171
|
+
| `numericTextBox` | `MonaNumericTextBoxMessages` |
|
|
1172
|
+
| `otpInput` | `MonaOtpInputMessages` |
|
|
1173
|
+
| `pager` | `MonaPagerMessages` |
|
|
1174
|
+
| `progressBar` | `MonaProgressBarMessages` |
|
|
1175
|
+
| `rating` | `MonaRatingMessages` |
|
|
1176
|
+
| `scrollView` | `MonaScrollViewMessages` |
|
|
1177
|
+
| `sheet` | `MonaSheetMessages` |
|
|
1178
|
+
| `sidebar` | `MonaSidebarMessages` |
|
|
1179
|
+
| `slider` | `MonaSliderMessages` |
|
|
1180
|
+
| `spinner` | `MonaSpinnerMessages` |
|
|
1181
|
+
| `splitButton` | `MonaSplitButtonMessages` |
|
|
1182
|
+
| `splitter` | `MonaSplitterMessages` |
|
|
1183
|
+
| `stepper` | `MonaStepperMessages` |
|
|
1184
|
+
| `tabs` | `MonaTabsMessages` |
|
|
1185
|
+
| `textBox` | `MonaTextBoxMessages` |
|
|
1186
|
+
| `timePicker` | `MonaTimePickerMessages` |
|
|
1187
|
+
| `timeSelector` | `MonaTimeSelectorMessages` |
|
|
1188
|
+
| `treeView` | `MonaTreeViewMessages` |
|
|
1189
|
+
| `window` | `MonaWindowMessages` |
|
|
1190
|
+
|
|
1191
|
+
**Used by:** [`generatePseudoLocale`](i18n.md#generatepseudolocale), [`MonaI18nConfig`](i18n.md#monai18nconfig), [`MonaI18nService`](i18n.md#monai18nservice), [`MonaLocale`](i18n.md#monalocale), [`MonaMessageNamespace`](i18n.md#monamessagenamespace)
|
|
1192
|
+
|
|
1193
|
+
## `MonaMessageOverrideOptions`
|
|
1194
|
+
|
|
1195
|
+
Interface.
|
|
1196
|
+
|
|
1197
|
+
### Properties
|
|
1198
|
+
|
|
1199
|
+
| Name | Type | Description |
|
|
1200
|
+
| --- | --- | --- |
|
|
1201
|
+
| `locale?` (read-only) | `string` | Locale id the overrides apply to. When omitted, the overrides apply to every locale. Ids are canonicalized, so `de_DE` and `de-DE` address the same overrides. |
|
|
1202
|
+
|
|
1203
|
+
**Used by:** [`MonaI18nService`](i18n.md#monai18nservice)
|
|
1204
|
+
|
|
1205
|
+
## `MonaMultiSelectMessages`
|
|
1206
|
+
|
|
1207
|
+
Interface.
|
|
1208
|
+
|
|
1209
|
+
### Properties
|
|
1210
|
+
|
|
1211
|
+
| Name | Type |
|
|
1212
|
+
| --- | --- |
|
|
1213
|
+
| `clear` (read-only) | `string` |
|
|
1214
|
+
| `itemsCount` (read-only) | `(count: number) => string` |
|
|
1215
|
+
| `removeMoreItems` (read-only) | `(count: number) => string` |
|
|
1216
|
+
|
|
1217
|
+
**Used by:** [`MonaLocaleMessages`](i18n.md#monalocalemessages), [`MULTI_SELECT_DEFAULT_MESSAGES`](multi-select.md#multi-select-default-messages)
|
|
1218
|
+
|
|
1219
|
+
## `MonaNotificationMessages`
|
|
1220
|
+
|
|
1221
|
+
Interface.
|
|
1222
|
+
|
|
1223
|
+
### Properties
|
|
1224
|
+
|
|
1225
|
+
| Name | Type | Description |
|
|
1226
|
+
| --- | --- | --- |
|
|
1227
|
+
| `close` (read-only) | `string` | |
|
|
1228
|
+
| `error` (read-only) | `string` | |
|
|
1229
|
+
| `info` (read-only) | `string` | |
|
|
1230
|
+
| `region` (read-only) | `string` | The name of the region that holds the notifications at one position. |
|
|
1231
|
+
| `success` (read-only) | `string` | |
|
|
1232
|
+
| `warning` (read-only) | `string` | |
|
|
1233
|
+
|
|
1234
|
+
**Used by:** [`MonaLocaleMessages`](i18n.md#monalocalemessages), [`NotificationMessages`](i18n.md#notificationmessages)
|
|
1235
|
+
|
|
1236
|
+
## `MonaNumericTextBoxMessages`
|
|
1237
|
+
|
|
1238
|
+
Interface.
|
|
1239
|
+
|
|
1240
|
+
### Properties
|
|
1241
|
+
|
|
1242
|
+
| Name | Type |
|
|
1243
|
+
| --- | --- |
|
|
1244
|
+
| `decrease` (read-only) | `string` |
|
|
1245
|
+
| `increase` (read-only) | `string` |
|
|
1246
|
+
|
|
1247
|
+
**Used by:** [`MonaLocaleMessages`](i18n.md#monalocalemessages), [`NUMERIC_TEXT_BOX_DEFAULT_MESSAGES`](numeric-text-box.md#numeric-text-box-default-messages)
|
|
1248
|
+
|
|
1249
|
+
## `MonaOtpInputMessages`
|
|
1250
|
+
|
|
1251
|
+
Interface.
|
|
1252
|
+
|
|
1253
|
+
### Properties
|
|
1254
|
+
|
|
1255
|
+
| Name | Type |
|
|
1256
|
+
| --- | --- |
|
|
1257
|
+
| `verificationCode` (read-only) | `string` |
|
|
1258
|
+
|
|
1259
|
+
**Used by:** [`MonaLocaleMessages`](i18n.md#monalocalemessages), [`OTP_INPUT_DEFAULT_MESSAGES`](otp-input.md#otp-input-default-messages)
|
|
1260
|
+
|
|
1261
|
+
## `MonaProgressBarMessages`
|
|
1262
|
+
|
|
1263
|
+
Interface.
|
|
1264
|
+
|
|
1265
|
+
### Properties
|
|
1266
|
+
|
|
1267
|
+
| Name | Type |
|
|
1268
|
+
| --- | --- |
|
|
1269
|
+
| `label` (read-only) | `string` |
|
|
1270
|
+
|
|
1271
|
+
**Used by:** [`MonaLocaleMessages`](i18n.md#monalocalemessages), [`PROGRESS_BAR_DEFAULT_MESSAGES`](progress-bar.md#progress-bar-default-messages)
|
|
1272
|
+
|
|
1273
|
+
## `MonaScrollViewMessages`
|
|
1274
|
+
|
|
1275
|
+
Interface.
|
|
1276
|
+
|
|
1277
|
+
### Properties
|
|
1278
|
+
|
|
1279
|
+
| Name | Type |
|
|
1280
|
+
| --- | --- |
|
|
1281
|
+
| `carousel` (read-only) | `string` |
|
|
1282
|
+
| `nextPage` (read-only) | `string` |
|
|
1283
|
+
| `page` (read-only) | `(current: number) => string` |
|
|
1284
|
+
| `pageOf` (read-only) | `(current: number, total: number) => string` |
|
|
1285
|
+
| `pages` (read-only) | `string` |
|
|
1286
|
+
| `previousPage` (read-only) | `string` |
|
|
1287
|
+
| `scrollPagerNext` (read-only) | `string` |
|
|
1288
|
+
| `scrollPagerPrevious` (read-only) | `string` |
|
|
1289
|
+
| `slide` (read-only) | `string` |
|
|
1290
|
+
|
|
1291
|
+
**Used by:** [`MonaLocaleMessages`](i18n.md#monalocalemessages), [`SCROLL_VIEW_DEFAULT_MESSAGES`](scroll-view.md#scroll-view-default-messages)
|
|
1292
|
+
|
|
1293
|
+
## `MonaSheetMessages`
|
|
1294
|
+
|
|
1295
|
+
Interface.
|
|
1296
|
+
|
|
1297
|
+
### Properties
|
|
1298
|
+
|
|
1299
|
+
| Name | Type |
|
|
1300
|
+
| --- | --- |
|
|
1301
|
+
| `closeSheet` (read-only) | `string` |
|
|
1302
|
+
|
|
1303
|
+
**Used by:** [`MonaLocaleMessages`](i18n.md#monalocalemessages), [`SHEET_DEFAULT_MESSAGES`](sheet.md#sheet-default-messages), [`SheetMessages`](i18n.md#sheetmessages)
|
|
1304
|
+
|
|
1305
|
+
## `MonaSidebarMessages`
|
|
1306
|
+
|
|
1307
|
+
Interface.
|
|
1308
|
+
|
|
1309
|
+
### Properties
|
|
1310
|
+
|
|
1311
|
+
| Name | Type |
|
|
1312
|
+
| --- | --- |
|
|
1313
|
+
| `drawerLabel` (read-only) | `string` |
|
|
1314
|
+
| `rail` (read-only) | `string` |
|
|
1315
|
+
|
|
1316
|
+
**Used by:** [`MonaLocaleMessages`](i18n.md#monalocalemessages), [`SIDEBAR_DEFAULT_MESSAGES`](sidebar.md#sidebar-default-messages)
|
|
1317
|
+
|
|
1318
|
+
## `MonaSliderMessages`
|
|
1319
|
+
|
|
1320
|
+
Interface.
|
|
1321
|
+
|
|
1322
|
+
### Properties
|
|
1323
|
+
|
|
1324
|
+
| Name | Type |
|
|
1325
|
+
| --- | --- |
|
|
1326
|
+
| `maximumValue` (read-only) | `string` |
|
|
1327
|
+
| `minimumValue` (read-only) | `string` |
|
|
1328
|
+
| `sliderValue` (read-only) | `string` |
|
|
1329
|
+
|
|
1330
|
+
**Used by:** [`MonaLocaleMessages`](i18n.md#monalocalemessages), [`SLIDER_DEFAULT_MESSAGES`](slider.md#slider-default-messages)
|
|
1331
|
+
|
|
1332
|
+
## `MonaSpinnerMessages`
|
|
1333
|
+
|
|
1334
|
+
Interface.
|
|
1335
|
+
|
|
1336
|
+
### Properties
|
|
1337
|
+
|
|
1338
|
+
| Name | Type |
|
|
1339
|
+
| --- | --- |
|
|
1340
|
+
| `cancel` (read-only) | `string` |
|
|
1341
|
+
| `loading` (read-only) | `string` |
|
|
1342
|
+
|
|
1343
|
+
**Used by:** [`MonaLocaleMessages`](i18n.md#monalocalemessages)
|
|
1344
|
+
|
|
1345
|
+
## `MonaSplitButtonMessages`
|
|
1346
|
+
|
|
1347
|
+
Interface.
|
|
1348
|
+
|
|
1349
|
+
### Properties
|
|
1350
|
+
|
|
1351
|
+
| Name | Type | Description |
|
|
1352
|
+
| --- | --- | --- |
|
|
1353
|
+
| `menuButtonAriaLabel` (read-only) | `string` | The arrow button's name when the main button has no `text` (it shows a template instead). |
|
|
1354
|
+
| `menuButtonWithText` (read-only) | `(text: string) => string` | The arrow button's name, from the main button's `text`. |
|
|
1355
|
+
| `splitButton` (read-only) | `(text: string) => string` | **Deprecated.** No longer rendered; the main button is named by its content or by `aria-label`. |
|
|
1356
|
+
|
|
1357
|
+
**Used by:** [`MonaLocaleMessages`](i18n.md#monalocalemessages), [`SPLIT_BUTTON_DEFAULT_MESSAGES`](split-button.md#split-button-default-messages)
|
|
1358
|
+
|
|
1359
|
+
## `MonaSplitterMessages`
|
|
1360
|
+
|
|
1361
|
+
Interface.
|
|
1362
|
+
|
|
1363
|
+
### Properties
|
|
1364
|
+
|
|
1365
|
+
| Name | Type |
|
|
1366
|
+
| --- | --- |
|
|
1367
|
+
| `collapseDown` (read-only) | `string` |
|
|
1368
|
+
| `collapseNext` (read-only) | `string` |
|
|
1369
|
+
| `collapsePrevious` (read-only) | `string` |
|
|
1370
|
+
| `collapseUp` (read-only) | `string` |
|
|
1371
|
+
| `resizer` (read-only) | `string` |
|
|
1372
|
+
|
|
1373
|
+
**Used by:** [`MonaLocaleMessages`](i18n.md#monalocalemessages), [`SPLITTER_DEFAULT_MESSAGES`](splitter.md#splitter-default-messages)
|
|
1374
|
+
|
|
1375
|
+
## `MonaStepperMessages`
|
|
1376
|
+
|
|
1377
|
+
Interface.
|
|
1378
|
+
|
|
1379
|
+
### Properties
|
|
1380
|
+
|
|
1381
|
+
| Name | Type |
|
|
1382
|
+
| --- | --- |
|
|
1383
|
+
| `stepCompleted` (read-only) | `string` |
|
|
1384
|
+
| `stepInvalid` (read-only) | `string` |
|
|
1385
|
+
| `stepper` (read-only) | `string` |
|
|
1386
|
+
| `stepPosition` (read-only) | `(current: number, total: number) => string` |
|
|
1387
|
+
| `stepProgress` (read-only) | `string` |
|
|
1388
|
+
|
|
1389
|
+
**Used by:** [`MonaLocaleMessages`](i18n.md#monalocalemessages), [`STEPPER_DEFAULT_MESSAGES`](stepper.md#stepper-default-messages)
|
|
1390
|
+
|
|
1391
|
+
## `MonaTabsMessages`
|
|
1392
|
+
|
|
1393
|
+
Interface.
|
|
1394
|
+
|
|
1395
|
+
### Properties
|
|
1396
|
+
|
|
1397
|
+
| Name | Type |
|
|
1398
|
+
| --- | --- |
|
|
1399
|
+
| `closeTab` (read-only) | `string` |
|
|
1400
|
+
| `scrollNext` (read-only) | `string` |
|
|
1401
|
+
| `scrollPrevious` (read-only) | `string` |
|
|
1402
|
+
|
|
1403
|
+
**Used by:** [`MonaLocaleMessages`](i18n.md#monalocalemessages), [`TABS_DEFAULT_MESSAGES`](tabs.md#tabs-default-messages)
|
|
1404
|
+
|
|
1405
|
+
## `MonaTextBoxMessages`
|
|
1406
|
+
|
|
1407
|
+
Interface.
|
|
1408
|
+
|
|
1409
|
+
### Properties
|
|
1410
|
+
|
|
1411
|
+
| Name | Type |
|
|
1412
|
+
| --- | --- |
|
|
1413
|
+
| `clear` (read-only) | `string` |
|
|
1414
|
+
|
|
1415
|
+
**Used by:** [`MonaLocaleMessages`](i18n.md#monalocalemessages)
|
|
1416
|
+
|
|
1417
|
+
## `MonaTimePickerMessages`
|
|
1418
|
+
|
|
1419
|
+
Interface.
|
|
1420
|
+
|
|
1421
|
+
### Properties
|
|
1422
|
+
|
|
1423
|
+
| Name | Type |
|
|
1424
|
+
| --- | --- |
|
|
1425
|
+
| `openTimePicker` (read-only) | `string` |
|
|
1426
|
+
| `timePicker` (read-only) | `string` |
|
|
1427
|
+
|
|
1428
|
+
**Used by:** [`MonaLocaleMessages`](i18n.md#monalocalemessages), [`TIME_PICKER_DEFAULT_MESSAGES`](time-picker.md#time-picker-default-messages), [`TimePickerMessages`](i18n.md#timepickermessages)
|
|
1429
|
+
|
|
1430
|
+
## `MonaTimeSelectorMessages`
|
|
1431
|
+
|
|
1432
|
+
Interface.
|
|
1433
|
+
|
|
1434
|
+
### Properties
|
|
1435
|
+
|
|
1436
|
+
| Name | Type |
|
|
1437
|
+
| --- | --- |
|
|
1438
|
+
| `am` (read-only) | `string` |
|
|
1439
|
+
| `amPm` (read-only) | `string` |
|
|
1440
|
+
| `headerHours` (read-only) | `string` |
|
|
1441
|
+
| `headerMinutes` (read-only) | `string` |
|
|
1442
|
+
| `headerSeconds` (read-only) | `string` |
|
|
1443
|
+
| `hours` (read-only) | `string` |
|
|
1444
|
+
| `minutes` (read-only) | `string` |
|
|
1445
|
+
| `now` (read-only) | `string` |
|
|
1446
|
+
| `pm` (read-only) | `string` |
|
|
1447
|
+
| `seconds` (read-only) | `string` |
|
|
1448
|
+
| `set` (read-only) | `string` |
|
|
1449
|
+
| `timeSelector` (read-only) | `string` |
|
|
1450
|
+
|
|
1451
|
+
**Used by:** [`MonaLocaleMessages`](i18n.md#monalocalemessages), [`TIME_SELECTOR_DEFAULT_MESSAGES`](time-selector.md#time-selector-default-messages), [`TimeSelectorMessages`](i18n.md#timeselectormessages)
|
|
1452
|
+
|
|
1453
|
+
## `MonaWindowMessages`
|
|
1454
|
+
|
|
1455
|
+
Interface.
|
|
1456
|
+
|
|
1457
|
+
### Properties
|
|
1458
|
+
|
|
1459
|
+
| Name | Type | Description |
|
|
1460
|
+
| --- | --- | --- |
|
|
1461
|
+
| `close` (read-only) | `string` | The close button's tooltip. |
|
|
1462
|
+
| `closeWindow` (read-only) | `string` | The close button's accessible name. |
|
|
1463
|
+
| `maximize` (read-only) | `string` | The maximize button's tooltip and accessible name while the window isn't maximized. |
|
|
1464
|
+
| `minimize` (read-only) | `string` | The minimize button's tooltip and accessible name while the window isn't minimized. |
|
|
1465
|
+
| `moveOrResizeWindow` (read-only) | `string` | The title bar's name when the window can be both dragged and resized; it says which keys do each. |
|
|
1466
|
+
| `moveWindow` (read-only) | `string` | The title bar's name when the window can be dragged but not resized. |
|
|
1467
|
+
| `resizeBottom` (read-only) | `string` | **Deprecated.** No longer rendered; resize handles are for the pointer, and the title bar resizes with the keyboard. |
|
|
1468
|
+
| `resizeBottomLeft` (read-only) | `string` | **Deprecated.** No longer rendered; resize handles are for the pointer, and the title bar resizes with the keyboard. |
|
|
1469
|
+
| `resizeBottomRight` (read-only) | `string` | **Deprecated.** No longer rendered; resize handles are for the pointer, and the title bar resizes with the keyboard. |
|
|
1470
|
+
| `resizeLeft` (read-only) | `string` | **Deprecated.** No longer rendered; resize handles are for the pointer, and the title bar resizes with the keyboard. |
|
|
1471
|
+
| `resizeRight` (read-only) | `string` | **Deprecated.** No longer rendered; resize handles are for the pointer, and the title bar resizes with the keyboard. |
|
|
1472
|
+
| `resizeTop` (read-only) | `string` | **Deprecated.** No longer rendered; resize handles are for the pointer, and the title bar resizes with the keyboard. |
|
|
1473
|
+
| `resizeTopLeft` (read-only) | `string` | **Deprecated.** No longer rendered; resize handles are for the pointer, and the title bar resizes with the keyboard. |
|
|
1474
|
+
| `resizeTopRight` (read-only) | `string` | **Deprecated.** No longer rendered; resize handles are for the pointer, and the title bar resizes with the keyboard. |
|
|
1475
|
+
| `resizeWindow` (read-only) | `string` | The title bar's name when the window can be resized but not dragged. |
|
|
1476
|
+
| `restore` (read-only) | `string` | The tooltip and accessible name of the minimize or maximize button while it would restore the window. |
|
|
1477
|
+
|
|
1478
|
+
**Used by:** [`MonaLocaleMessages`](i18n.md#monalocalemessages), [`WINDOW_DEFAULT_MESSAGES`](window.md#window-default-messages), [`WindowMessages`](i18n.md#windowmessages)
|
|
1479
|
+
|
|
1480
|
+
## `NumberGroupingPattern`
|
|
1481
|
+
|
|
1482
|
+
Interface.
|
|
1483
|
+
|
|
1484
|
+
### Properties
|
|
1485
|
+
|
|
1486
|
+
| Name | Type | Description |
|
|
1487
|
+
| --- | --- | --- |
|
|
1488
|
+
| `groupSeparator` (read-only) | `string` | |
|
|
1489
|
+
| `minimumGroupedIntegerDigits` (read-only) | `number` | Fewest integer digits the locale groups when formatting (5 in es-ES, which formats 1000 but 10.000). Parsing does not enforce it: "1.000" is still read as 1000 in es-ES. |
|
|
1490
|
+
| `primaryGroupSize` (read-only) | `number` | |
|
|
1491
|
+
| `secondaryGroupSize` (read-only) | `number` | |
|
|
1492
|
+
|
|
1493
|
+
**Used by:** [`getNumberGroupingPattern`](i18n.md#getnumbergroupingpattern)
|
|
1494
|
+
|
|
1495
|
+
## `NumberSymbols`
|
|
1496
|
+
|
|
1497
|
+
Interface.
|
|
1498
|
+
|
|
1499
|
+
### Properties
|
|
1500
|
+
|
|
1501
|
+
| Name | Type |
|
|
1502
|
+
| --- | --- |
|
|
1503
|
+
| `decimal` (read-only) | `string` |
|
|
1504
|
+
| `digits` (read-only) | `ReadonlyMap<string, string>` |
|
|
1505
|
+
| `group` (read-only) | `string` |
|
|
1506
|
+
| `minus` (read-only) | `string` |
|
|
1507
|
+
|
|
1508
|
+
**Used by:** [`getEditDecimalSeparators`](i18n.md#geteditdecimalseparators), [`normalizeLocalizedMinus`](i18n.md#normalizelocalizedminus)
|
|
1509
|
+
|
|
1510
|
+
## `ParseLocalizedNumberOptions`
|
|
1511
|
+
|
|
1512
|
+
Interface.
|
|
1513
|
+
|
|
1514
|
+
### Properties
|
|
1515
|
+
|
|
1516
|
+
| Name | Type | Description |
|
|
1517
|
+
| --- | --- | --- |
|
|
1518
|
+
| `alternateDecimal?` | `boolean` | Legacy convenience flag equivalent to `mode: "edit"`. |
|
|
1519
|
+
| `mode?` | `LocalizedNumberParseMode` | When "locale" (default), parses strictly according to canonical locale rules. Only the locale's canonical decimal separator is treated as decimal, and only canonical grouping separators are treated as grouping. When "edit", allows alternate decimal separators (such as '.' in comma-decimal locales) during interactive input entry, unless the alternate is the locale's group separator. |
|
|
1520
|
+
|
|
1521
|
+
**Used by:** [`parseLocalizedDecimal`](i18n.md#parselocalizeddecimal), [`parseLocalizedNumber`](i18n.md#parselocalizednumber)
|
|
1522
|
+
|
|
1523
|
+
## `PseudoLocalizationOptions`
|
|
1524
|
+
|
|
1525
|
+
Interface.
|
|
1526
|
+
|
|
1527
|
+
### Properties
|
|
1528
|
+
|
|
1529
|
+
| Name | Type |
|
|
1530
|
+
| --- | --- |
|
|
1531
|
+
| `expand?` (read-only) | `boolean` |
|
|
1532
|
+
| `expansionFactor?` (read-only) | `number` |
|
|
1533
|
+
| `prefix?` (read-only) | `string` |
|
|
1534
|
+
| `suffix?` (read-only) | `string` |
|
|
1535
|
+
|
|
1536
|
+
**Used by:** [`GeneratePseudoLocaleOptions`](i18n.md#generatepseudolocaleoptions), [`pseudoLocalize`](i18n.md#pseudolocalize), [`pseudoLocalizeCatalog`](i18n.md#pseudolocalizecatalog)
|
|
1537
|
+
|
|
1538
|
+
## `ValidateLocalizedNumberEditOptions`
|
|
1539
|
+
|
|
1540
|
+
Interface.
|
|
1541
|
+
|
|
1542
|
+
### Properties
|
|
1543
|
+
|
|
1544
|
+
| Name | Type |
|
|
1545
|
+
| --- | --- |
|
|
1546
|
+
| `allowSign?` (read-only) | `boolean` |
|
|
1547
|
+
| `decimals?` (read-only) | `number` |
|
|
1548
|
+
|
|
1549
|
+
**Used by:** [`validateLocalizedDecimalEdit`](i18n.md#validatelocalizeddecimaledit)
|
|
1550
|
+
|
|
1551
|
+
## `CalendarMessages`
|
|
1552
|
+
|
|
1553
|
+
Type alias.
|
|
1554
|
+
|
|
1555
|
+
```typescript
|
|
1556
|
+
type CalendarMessages = MonaCalendarMessages;
|
|
1557
|
+
```
|
|
1558
|
+
|
|
1559
|
+
## `DatePickerMessages`
|
|
1560
|
+
|
|
1561
|
+
Type alias.
|
|
1562
|
+
|
|
1563
|
+
```typescript
|
|
1564
|
+
type DatePickerMessages = MonaDatePickerMessages;
|
|
1565
|
+
```
|
|
1566
|
+
|
|
1567
|
+
## `DateTimePickerMessages`
|
|
1568
|
+
|
|
1569
|
+
Type alias.
|
|
1570
|
+
|
|
1571
|
+
```typescript
|
|
1572
|
+
type DateTimePickerMessages = MonaDateTimePickerMessages;
|
|
1573
|
+
```
|
|
1574
|
+
|
|
1575
|
+
## `DeepPartial`
|
|
1576
|
+
|
|
1577
|
+
Type alias.
|
|
1578
|
+
|
|
1579
|
+
```typescript
|
|
1580
|
+
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;
|
|
1581
|
+
```
|
|
1582
|
+
|
|
1583
|
+
**Used by:** [`deepMerge`](common.md#deepmerge), [`generatePseudoLocale`](i18n.md#generatepseudolocale), [`IIterablePatchStore`](common.md#iiterablepatchstore), [`IObjectPatchStore`](common.md#iobjectpatchstore), [`IterablePatchStore`](common.md#iterablepatchstore), [`IterablePatchStoreOptions`](common.md#iterablepatchstoreoptions), [`mergeInto`](common.md#mergeinto), [`mergePatchInto`](common.md#mergepatchinto), [`mergeTwo`](i18n.md#mergetwo), [`MonaI18nConfig`](i18n.md#monai18nconfig), [`MonaI18nService`](i18n.md#monai18nservice), [`MonaLocale`](i18n.md#monalocale), [`ObjectPatchStore`](common.md#objectpatchstore), [`ObjectPatchStoreOptions`](common.md#objectpatchstoreoptions), [`patchAt`](common.md#patchat), [`prunePatch`](common.md#prunepatch)
|
|
1584
|
+
|
|
1585
|
+
## `DialogMessages`
|
|
1586
|
+
|
|
1587
|
+
Type alias.
|
|
1588
|
+
|
|
1589
|
+
```typescript
|
|
1590
|
+
type DialogMessages = MonaDialogMessages;
|
|
1591
|
+
```
|
|
1592
|
+
|
|
1593
|
+
**Used by:** [`DialogComponent`](dialog.md#dialogcomponent), [`DialogSettings`](dialog.md#dialogsettings)
|
|
1594
|
+
|
|
1595
|
+
## `FilterMessages`
|
|
1596
|
+
|
|
1597
|
+
Type alias.
|
|
1598
|
+
|
|
1599
|
+
```typescript
|
|
1600
|
+
type FilterMessages = MonaFilterMessages;
|
|
1601
|
+
```
|
|
1602
|
+
|
|
1603
|
+
## `LocaleFirstDayOfWeek`
|
|
1604
|
+
|
|
1605
|
+
Type alias.
|
|
1606
|
+
|
|
1607
|
+
```typescript
|
|
1608
|
+
type LocaleFirstDayOfWeek = | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
|
|
1609
|
+
```
|
|
1610
|
+
|
|
1611
|
+
**Used by:** [`getLocaleFirstDayOfWeek`](i18n.md#getlocalefirstdayofweek)
|
|
1612
|
+
|
|
1613
|
+
## `LocalizedNumberInvalidReason`
|
|
1614
|
+
|
|
1615
|
+
Type alias.
|
|
1616
|
+
|
|
1617
|
+
Why a value was refused:
|
|
1618
|
+
- `"syntax"`: the text is not a number in the locale.
|
|
1619
|
+
- `"decimals"`: it has more fraction digits than allowed.
|
|
1620
|
+
- `"precision"`: a JavaScript `number` cannot hold it exactly (an integer beyond
|
|
1621
|
+
`Number.MAX_SAFE_INTEGER`, or more than 15 significant digits), so accepting it would silently change it.
|
|
1622
|
+
|
|
1623
|
+
```typescript
|
|
1624
|
+
type LocalizedNumberInvalidReason = "decimals" | "precision" | "syntax";
|
|
1625
|
+
```
|
|
1626
|
+
|
|
1627
|
+
**Used by:** [`LocalizedDecimalEditValidationResult`](i18n.md#localizeddecimaleditvalidationresult), [`LocalizedDecimalValidationResult`](i18n.md#localizeddecimalvalidationresult)
|
|
1628
|
+
|
|
1629
|
+
## `LocalizedNumberParseMode`
|
|
1630
|
+
|
|
1631
|
+
Type alias.
|
|
1632
|
+
|
|
1633
|
+
```typescript
|
|
1634
|
+
type LocalizedNumberParseMode = "edit" | "locale";
|
|
1635
|
+
```
|
|
1636
|
+
|
|
1637
|
+
**Used by:** [`ParseLocalizedNumberOptions`](i18n.md#parselocalizednumberoptions), [`validateLocalizedDecimal`](i18n.md#validatelocalizeddecimal)
|
|
1638
|
+
|
|
1639
|
+
## `MonaMessageNamespace`
|
|
1640
|
+
|
|
1641
|
+
Type alias.
|
|
1642
|
+
|
|
1643
|
+
```typescript
|
|
1644
|
+
type MonaMessageNamespace = keyof MonaLocaleMessages;
|
|
1645
|
+
```
|
|
1646
|
+
|
|
1647
|
+
## `MonaTextDirection`
|
|
1648
|
+
|
|
1649
|
+
Type alias.
|
|
1650
|
+
|
|
1651
|
+
```typescript
|
|
1652
|
+
type MonaTextDirection = "ltr" | "rtl";
|
|
1653
|
+
```
|
|
1654
|
+
|
|
1655
|
+
**Used by:** [`GeneratePseudoLocaleOptions`](i18n.md#generatepseudolocaleoptions), [`injectComponentDirection`](i18n.md#injectcomponentdirection), [`MonaDirectionService`](i18n.md#monadirectionservice), [`MonaI18nService`](i18n.md#monai18nservice), [`MonaLocale`](i18n.md#monalocale)
|
|
1656
|
+
|
|
1657
|
+
## `NotificationMessages`
|
|
1658
|
+
|
|
1659
|
+
Type alias.
|
|
1660
|
+
|
|
1661
|
+
```typescript
|
|
1662
|
+
type NotificationMessages = MonaNotificationMessages;
|
|
1663
|
+
```
|
|
1664
|
+
|
|
1665
|
+
## `SheetMessages`
|
|
1666
|
+
|
|
1667
|
+
Type alias.
|
|
1668
|
+
|
|
1669
|
+
```typescript
|
|
1670
|
+
type SheetMessages = MonaSheetMessages;
|
|
1671
|
+
```
|
|
1672
|
+
|
|
1673
|
+
**Used by:** [`SheetComponent`](sheet.md#sheetcomponent)
|
|
1674
|
+
|
|
1675
|
+
## `TimePickerMessages`
|
|
1676
|
+
|
|
1677
|
+
Type alias.
|
|
1678
|
+
|
|
1679
|
+
```typescript
|
|
1680
|
+
type TimePickerMessages = MonaTimePickerMessages;
|
|
1681
|
+
```
|
|
1682
|
+
|
|
1683
|
+
## `TimeSelectorMessages`
|
|
1684
|
+
|
|
1685
|
+
Type alias.
|
|
1686
|
+
|
|
1687
|
+
```typescript
|
|
1688
|
+
type TimeSelectorMessages = MonaTimeSelectorMessages;
|
|
1689
|
+
```
|
|
1690
|
+
|
|
1691
|
+
## `WindowMessages`
|
|
1692
|
+
|
|
1693
|
+
Type alias.
|
|
1694
|
+
|
|
1695
|
+
```typescript
|
|
1696
|
+
type WindowMessages = MonaWindowMessages;
|
|
1697
|
+
```
|
|
1698
|
+
|
|
1699
|
+
**Used by:** [`WindowComponent`](window.md#windowcomponent), [`WindowSettings`](window.md#windowsettings)
|