@nanahoshi/mona-ui 0.25.0 → 0.26.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/README.md +2 -0
- package/command/package.json +4 -0
- package/docs/auto-complete.md +733 -0
- package/docs/avatar.md +220 -0
- package/docs/breadcrumb.md +320 -0
- package/docs/button-group.md +392 -0
- package/docs/button.md +256 -0
- package/docs/calendar.md +515 -0
- package/docs/card.md +292 -0
- package/docs/chart.md +4058 -0
- package/docs/checkbox.md +374 -0
- package/docs/chip.md +339 -0
- package/docs/circular-progress-bar.md +287 -0
- package/docs/collapsible.md +308 -0
- package/docs/color-gradient.md +336 -0
- package/docs/color-palette.md +317 -0
- package/docs/color-picker.md +387 -0
- package/docs/combo-box.md +764 -0
- package/docs/command.md +582 -0
- package/docs/contextmenu.md +530 -0
- package/docs/date-picker.md +251 -0
- package/docs/datetime-picker.md +284 -0
- package/docs/decimal-textbox.md +260 -0
- package/docs/dialog.md +822 -0
- package/docs/dropdown-button.md +507 -0
- package/docs/dropdown-list.md +779 -0
- package/docs/editor.md +374 -0
- package/docs/expansion-panel.md +348 -0
- package/docs/fieldset.md +217 -0
- package/docs/forms.md +162 -0
- package/docs/grid.md +2053 -0
- package/docs/input.md +197 -0
- package/docs/installation.md +54 -0
- package/docs/introduction.md +46 -0
- package/docs/label.md +340 -0
- package/docs/list-box.md +637 -0
- package/docs/list-view.md +584 -0
- package/docs/menubar.md +559 -0
- package/docs/multi-select.md +765 -0
- package/docs/notification.md +460 -0
- package/docs/numeric-textbox.md +301 -0
- package/docs/otp-input.md +539 -0
- package/docs/pager.md +513 -0
- package/docs/placeholder.md +176 -0
- package/docs/popover.md +423 -0
- package/docs/popup-menu.md +658 -0
- package/docs/popup.md +617 -0
- package/docs/progress-bar.md +368 -0
- package/docs/radio-button.md +451 -0
- package/docs/range-slider.md +367 -0
- package/docs/rating.md +518 -0
- package/docs/scroll-view.md +375 -0
- package/docs/segmented.md +434 -0
- package/docs/sheet.md +348 -0
- package/docs/sidebar.md +1126 -0
- package/docs/skeleton.md +181 -0
- package/docs/slider.md +423 -0
- package/docs/spinner.md +370 -0
- package/docs/split-button.md +522 -0
- package/docs/splitter.md +342 -0
- package/docs/stepper.md +539 -0
- package/docs/switch.md +340 -0
- package/docs/tabs.md +542 -0
- package/docs/textarea.md +196 -0
- package/docs/textbox.md +332 -0
- package/docs/theming.md +403 -0
- package/docs/time-picker.md +254 -0
- package/docs/tooltip-directive.md +340 -0
- package/docs/tooltip.md +321 -0
- package/docs/tree-view.md +1018 -0
- package/docs/window.md +663 -0
- package/fesm2022/nanahoshi-mona-ui-auto-complete.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-breadcrumb.mjs +8 -0
- package/fesm2022/nanahoshi-mona-ui-button-group.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-button.mjs +14 -2
- package/fesm2022/nanahoshi-mona-ui-calendar.mjs +5 -2
- package/fesm2022/nanahoshi-mona-ui-chart.mjs +108 -22
- package/fesm2022/nanahoshi-mona-ui-check-box.mjs +4 -0
- package/fesm2022/nanahoshi-mona-ui-chip.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-circular-progress-bar.mjs +4 -0
- package/fesm2022/nanahoshi-mona-ui-collapsible.mjs +16 -2
- package/fesm2022/nanahoshi-mona-ui-combo-box.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-command.mjs +924 -0
- package/fesm2022/nanahoshi-mona-ui-common.mjs +4 -0
- package/fesm2022/nanahoshi-mona-ui-contextmenu.mjs +10 -6
- package/fesm2022/nanahoshi-mona-ui-date-picker.mjs +2 -1
- package/fesm2022/nanahoshi-mona-ui-datetime-picker.mjs +2 -1
- package/fesm2022/nanahoshi-mona-ui-dialog.mjs +9 -5
- package/fesm2022/nanahoshi-mona-ui-dropdown-button.mjs +9 -5
- package/fesm2022/nanahoshi-mona-ui-dropdowns.mjs +55 -1
- package/fesm2022/nanahoshi-mona-ui-editor.mjs +3 -2
- package/fesm2022/nanahoshi-mona-ui-expansion-panel.mjs +13 -0
- package/fesm2022/nanahoshi-mona-ui-fieldset.mjs +5 -0
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-footer-row.component-2tVhD2hK.mjs → nanahoshi-mona-ui-grid-grid-footer-row.component-DjNnVxHE.mjs} +2 -2
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-list.component-BAN70Wcn.mjs → nanahoshi-mona-ui-grid-grid-list.component-ihQIKeP-.mjs} +5 -5
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-row.component-C_kCaA5b.mjs → nanahoshi-mona-ui-grid-grid-row.component-BpnybNcs.mjs} +18 -35
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-virtual-list.component-BsNfrAHz.mjs → nanahoshi-mona-ui-grid-grid-virtual-list.component-CYlgfc7c.mjs} +5 -5
- package/fesm2022/{nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-CEfVa7eo.mjs → nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-LCzfCYd3.mjs} +4653 -4529
- package/fesm2022/nanahoshi-mona-ui-grid.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-i18n-icu.mjs +10 -0
- package/fesm2022/nanahoshi-mona-ui-internal-list.mjs +1 -0
- package/fesm2022/nanahoshi-mona-ui-internal-popup-menu.mjs +168 -0
- package/fesm2022/nanahoshi-mona-ui-internal-tree.mjs +19 -1
- package/fesm2022/nanahoshi-mona-ui-list-box.mjs +14 -0
- package/fesm2022/nanahoshi-mona-ui-list-view.mjs +32 -0
- package/fesm2022/nanahoshi-mona-ui-locales-ar-sa.mjs +10 -0
- package/fesm2022/nanahoshi-mona-ui-locales-de-de.mjs +10 -0
- package/fesm2022/nanahoshi-mona-ui-locales-es-es.mjs +10 -0
- package/fesm2022/nanahoshi-mona-ui-locales-fr-fr.mjs +10 -0
- package/fesm2022/nanahoshi-mona-ui-locales-id-id.mjs +10 -0
- package/fesm2022/nanahoshi-mona-ui-locales-it-it.mjs +10 -0
- package/fesm2022/nanahoshi-mona-ui-locales-ja-jp.mjs +10 -0
- package/fesm2022/nanahoshi-mona-ui-locales-ko-kr.mjs +10 -0
- package/fesm2022/nanahoshi-mona-ui-locales-pt-br.mjs +10 -0
- package/fesm2022/nanahoshi-mona-ui-locales-ru-ru.mjs +10 -0
- package/fesm2022/nanahoshi-mona-ui-locales-tr-tr.mjs +10 -0
- package/fesm2022/nanahoshi-mona-ui-locales-zh-cn.mjs +10 -0
- package/fesm2022/nanahoshi-mona-ui-locales-zh-tw.mjs +10 -0
- package/fesm2022/nanahoshi-mona-ui-menubar.mjs +15 -8
- package/fesm2022/nanahoshi-mona-ui-multi-select.mjs +8 -5
- package/fesm2022/nanahoshi-mona-ui-notification.mjs +9 -0
- package/fesm2022/nanahoshi-mona-ui-numeric-text-box.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-otp-input.mjs +5 -0
- package/fesm2022/nanahoshi-mona-ui-pager.mjs +2 -1
- package/fesm2022/nanahoshi-mona-ui-popover.mjs +14 -6
- package/fesm2022/nanahoshi-mona-ui-popup-menu.mjs +48 -183
- package/fesm2022/nanahoshi-mona-ui-popup.mjs +16 -0
- package/fesm2022/nanahoshi-mona-ui-progress-bar.mjs +4 -0
- package/fesm2022/nanahoshi-mona-ui-rating.mjs +2 -0
- package/fesm2022/nanahoshi-mona-ui-scroll-view.mjs +7 -3
- package/fesm2022/nanahoshi-mona-ui-segmented.mjs +2 -1
- package/fesm2022/nanahoshi-mona-ui-sheet.mjs +5 -5
- package/fesm2022/nanahoshi-mona-ui-sidebar.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-slider.mjs +8 -3
- package/fesm2022/nanahoshi-mona-ui-split-button.mjs +10 -7
- package/fesm2022/nanahoshi-mona-ui-stepper.mjs +18 -21
- package/fesm2022/nanahoshi-mona-ui-tabs.mjs +11 -8
- package/fesm2022/nanahoshi-mona-ui-text-box.mjs +9 -1
- package/fesm2022/nanahoshi-mona-ui-theme.mjs +53 -21
- package/fesm2022/nanahoshi-mona-ui-time-picker.mjs +2 -1
- package/fesm2022/nanahoshi-mona-ui-tooltip.mjs +16 -5
- package/fesm2022/nanahoshi-mona-ui-tree-view.mjs +13 -11
- package/fesm2022/nanahoshi-mona-ui-window.mjs +12 -5
- package/i18n/catalogs/en-US.messages.json +10 -0
- package/internal/popup-menu/package.json +4 -0
- package/llms.txt +123 -0
- package/locales/ar-sa/ar-sa.messages.json +10 -0
- package/locales/de-de/de-de.messages.json +10 -0
- package/locales/es-es/es-es.messages.json +10 -0
- package/locales/fr-fr/fr-fr.messages.json +10 -0
- package/locales/id-id/id-id.messages.json +10 -0
- package/locales/it-it/it-it.messages.json +10 -0
- package/locales/ja-jp/ja-jp.messages.json +10 -0
- package/locales/ko-kr/ko-kr.messages.json +10 -0
- package/locales/pt-br/pt-br.messages.json +10 -0
- package/locales/ru-ru/ru-ru.messages.json +10 -0
- package/locales/tr-tr/tr-tr.messages.json +10 -0
- package/locales/zh-cn/zh-cn.messages.json +10 -0
- package/locales/zh-tw/zh-tw.messages.json +10 -0
- package/package.json +9 -1
- package/styles.css +12 -2
- package/types/nanahoshi-mona-ui-auto-complete.d.ts +1 -1
- package/types/nanahoshi-mona-ui-breadcrumb.d.ts +8 -0
- package/types/nanahoshi-mona-ui-button.d.ts +12 -0
- package/types/nanahoshi-mona-ui-calendar.d.ts +3 -0
- package/types/nanahoshi-mona-ui-chart.d.ts +200 -0
- package/types/nanahoshi-mona-ui-check-box.d.ts +4 -0
- package/types/nanahoshi-mona-ui-circular-progress-bar.d.ts +4 -0
- package/types/nanahoshi-mona-ui-collapsible.d.ts +10 -0
- package/types/nanahoshi-mona-ui-combo-box.d.ts +1 -1
- package/types/nanahoshi-mona-ui-command.d.ts +253 -0
- package/types/nanahoshi-mona-ui-common.d.ts +17 -1
- package/types/nanahoshi-mona-ui-contextmenu.d.ts +5 -2
- package/types/nanahoshi-mona-ui-date-picker.d.ts +2 -1
- package/types/nanahoshi-mona-ui-datetime-picker.d.ts +2 -1
- package/types/nanahoshi-mona-ui-dialog.d.ts +58 -1
- package/types/nanahoshi-mona-ui-dropdown-button.d.ts +7 -3
- package/types/nanahoshi-mona-ui-dropdowns.d.ts +55 -1
- package/types/nanahoshi-mona-ui-editor.d.ts +31 -0
- package/types/nanahoshi-mona-ui-expansion-panel.d.ts +13 -0
- package/types/nanahoshi-mona-ui-fieldset.d.ts +5 -0
- package/types/nanahoshi-mona-ui-grid.d.ts +162 -35
- package/types/nanahoshi-mona-ui-i18n.d.ts +144 -1
- package/types/nanahoshi-mona-ui-internal-list.d.ts +16 -1
- package/types/nanahoshi-mona-ui-internal-popup-menu.d.ts +165 -0
- package/types/nanahoshi-mona-ui-internal-tree.d.ts +21 -2
- package/types/nanahoshi-mona-ui-internal.d.ts +4 -5
- package/types/nanahoshi-mona-ui-label.d.ts +1 -0
- package/types/nanahoshi-mona-ui-list-box.d.ts +27 -4
- package/types/nanahoshi-mona-ui-list-view.d.ts +34 -1
- package/types/nanahoshi-mona-ui-list.d.ts +1 -1
- package/types/nanahoshi-mona-ui-locales-ar-sa.d.ts +10 -0
- package/types/nanahoshi-mona-ui-locales-de-de.d.ts +10 -0
- package/types/nanahoshi-mona-ui-locales-es-es.d.ts +10 -0
- package/types/nanahoshi-mona-ui-locales-fr-fr.d.ts +10 -0
- package/types/nanahoshi-mona-ui-locales-id-id.d.ts +10 -0
- package/types/nanahoshi-mona-ui-locales-it-it.d.ts +10 -0
- package/types/nanahoshi-mona-ui-locales-ja-jp.d.ts +10 -0
- package/types/nanahoshi-mona-ui-locales-ko-kr.d.ts +10 -0
- package/types/nanahoshi-mona-ui-locales-pt-br.d.ts +10 -0
- package/types/nanahoshi-mona-ui-locales-ru-ru.d.ts +10 -0
- package/types/nanahoshi-mona-ui-locales-tr-tr.d.ts +10 -0
- package/types/nanahoshi-mona-ui-locales-zh-cn.d.ts +10 -0
- package/types/nanahoshi-mona-ui-locales-zh-tw.d.ts +10 -0
- package/types/nanahoshi-mona-ui-menubar.d.ts +10 -3
- package/types/nanahoshi-mona-ui-multi-select.d.ts +3 -3
- package/types/nanahoshi-mona-ui-notification.d.ts +9 -0
- package/types/nanahoshi-mona-ui-numeric-text-box.d.ts +1 -1
- package/types/nanahoshi-mona-ui-otp-input.d.ts +1 -0
- package/types/nanahoshi-mona-ui-pager.d.ts +5 -1
- package/types/nanahoshi-mona-ui-popover.d.ts +9 -1
- package/types/nanahoshi-mona-ui-popup-menu.d.ts +48 -161
- package/types/nanahoshi-mona-ui-popup.d.ts +16 -0
- package/types/nanahoshi-mona-ui-progress-bar.d.ts +4 -0
- package/types/nanahoshi-mona-ui-rating.d.ts +2 -0
- package/types/nanahoshi-mona-ui-segmented.d.ts +1 -0
- package/types/nanahoshi-mona-ui-sheet.d.ts +1 -1
- package/types/nanahoshi-mona-ui-slider.d.ts +2 -0
- package/types/nanahoshi-mona-ui-spinner.d.ts +7 -0
- package/types/nanahoshi-mona-ui-split-button.d.ts +7 -4
- package/types/nanahoshi-mona-ui-stepper.d.ts +11 -2
- package/types/nanahoshi-mona-ui-tabs.d.ts +4 -1
- package/types/nanahoshi-mona-ui-text-box.d.ts +9 -1
- package/types/nanahoshi-mona-ui-time-picker.d.ts +2 -1
- package/types/nanahoshi-mona-ui-tooltip.d.ts +10 -2
- package/types/nanahoshi-mona-ui-tree-view.d.ts +6 -5
- package/types/nanahoshi-mona-ui-window.d.ts +66 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { C as CellEditEvent,
|
|
1
|
+
export { C as CellEditEvent, z as GRID_DEFAULT_MESSAGES, A as GridAddCommandDirective, B as GridAddEvent, D as GridCancelCommandDirective, E as GridCancelEvent, F as GridCellTemplateDirective, H as GridColumnComponent, I as GridColumnTitleTemplateDirective, J as GridCommandColumnComponent, K as GridComponent, L as GridContextMenuDirective, M as GridDetailTemplateDirective, N as GridEditCommandDirective, O as GridEditEvent, P as GridEditTemplateDirective, Q as GridEditableDirective, R as GridExportDirective, S as GridFilterableDirective, T as GridFooterTemplateDirective, U as GridGroupFooterTemplateDirective, V as GridGroupableDirective, W as GridHeaderTemplateDirective, X as GridNoDataTemplateDirective, Y as GridRemoveCommandDirective, Z as GridRemoveEvent, _ as GridReorderableDirective, $ as GridResizableDirective, a0 as GridRowReorderableDirective, a1 as GridSaveCommandDirective, a2 as GridSaveEvent, a3 as GridSelectableDirective, a4 as GridServerBindingDirective, a5 as GridSortableDirective, a6 as GridStatePersistenceDirective, a7 as GridToolbarTemplateDirective, a8 as GridVirtualScrollDirective, a9 as RowEditEvent, aa as RowReorderEvent } from './nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-LCzfCYd3.mjs';
|
|
2
2
|
//# sourceMappingURL=nanahoshi-mona-ui-grid.mjs.map
|
|
@@ -237,6 +237,15 @@ const MONA_MESSAGE_PARAMETERS = {
|
|
|
237
237
|
comboBox: {
|
|
238
238
|
clear: null
|
|
239
239
|
},
|
|
240
|
+
command: {
|
|
241
|
+
dialogLabel: null,
|
|
242
|
+
inputLabel: null,
|
|
243
|
+
listLabel: null,
|
|
244
|
+
loading: null,
|
|
245
|
+
noResults: null,
|
|
246
|
+
placeholder: null,
|
|
247
|
+
resultsAvailable: [{ name: "count", type: "number" }]
|
|
248
|
+
},
|
|
240
249
|
datePicker: {
|
|
241
250
|
datePicker: null,
|
|
242
251
|
openCalendar: null
|
|
@@ -404,6 +413,7 @@ const MONA_MESSAGE_PARAMETERS = {
|
|
|
404
413
|
],
|
|
405
414
|
filterPlaceholder: null,
|
|
406
415
|
group: null,
|
|
416
|
+
groupOptions: [{ name: "column", type: "string" }],
|
|
407
417
|
loading: null,
|
|
408
418
|
modified: null,
|
|
409
419
|
moveAsNext: null,
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
import { InjectionToken, signal } from '@angular/core';
|
|
2
|
+
import { PreventableEvent } from '@nanahoshi/mona-ui/common';
|
|
3
|
+
import { forEach, select } from '@mirei/ts-collections';
|
|
4
|
+
import { createElementControlId } from '@nanahoshi/mona-ui/internal';
|
|
5
|
+
import { Subject } from 'rxjs';
|
|
6
|
+
|
|
7
|
+
/* eslint-disable @typescript-eslint/naming-convention -- exported token names; renaming them would break consumers. */
|
|
8
|
+
const PopupMenuToken = new InjectionToken("MONA_POPUP_MENU");
|
|
9
|
+
const PopupMenuRadioItemToken = new InjectionToken("MONA_POPUP_MENU_RADIO_ITEM");
|
|
10
|
+
const PopupMenuGroupTemplateToken = new InjectionToken("MONA_POPUP_MENU_GROUP_TEMPLATE");
|
|
11
|
+
const PopupMenuIconTemplateToken = new InjectionToken("MONA_POPUP_MENU_ICON_TEMPLATE");
|
|
12
|
+
const PopupMenuShortcutTemplateToken = new InjectionToken("MONA_POPUP_MENU_SHORTCUT_TEMPLATE");
|
|
13
|
+
const PopupMenuTextTemplateToken = new InjectionToken("MONA_POPUP_MENU_TEXT_TEMPLATE");
|
|
14
|
+
var PopupMenuOrigin;
|
|
15
|
+
(function (PopupMenuOrigin) {
|
|
16
|
+
PopupMenuOrigin[PopupMenuOrigin["Popup"] = 1] = "Popup";
|
|
17
|
+
PopupMenuOrigin[PopupMenuOrigin["ContextMenu"] = 2] = "ContextMenu";
|
|
18
|
+
PopupMenuOrigin[PopupMenuOrigin["DropdownButton"] = 3] = "DropdownButton";
|
|
19
|
+
PopupMenuOrigin[PopupMenuOrigin["SplitButton"] = 4] = "SplitButton";
|
|
20
|
+
PopupMenuOrigin[PopupMenuOrigin["MenubarMenu"] = 5] = "MenubarMenu";
|
|
21
|
+
})(PopupMenuOrigin || (PopupMenuOrigin = {}));
|
|
22
|
+
var PopupMenuItemType;
|
|
23
|
+
(function (PopupMenuItemType) {
|
|
24
|
+
PopupMenuItemType[PopupMenuItemType["CheckboxMenuItem"] = 1] = "CheckboxMenuItem";
|
|
25
|
+
PopupMenuItemType[PopupMenuItemType["MenuItem"] = 2] = "MenuItem";
|
|
26
|
+
PopupMenuItemType[PopupMenuItemType["MenuGroup"] = 3] = "MenuGroup";
|
|
27
|
+
PopupMenuItemType[PopupMenuItemType["RadioGroup"] = 4] = "RadioGroup";
|
|
28
|
+
PopupMenuItemType[PopupMenuItemType["RadioItem"] = 5] = "RadioItem";
|
|
29
|
+
PopupMenuItemType[PopupMenuItemType["Separator"] = 6] = "Separator";
|
|
30
|
+
})(PopupMenuItemType || (PopupMenuItemType = {}));
|
|
31
|
+
var PopupMenuTemplateOrigin;
|
|
32
|
+
(function (PopupMenuTemplateOrigin) {
|
|
33
|
+
PopupMenuTemplateOrigin[PopupMenuTemplateOrigin["Popup"] = 1] = "Popup";
|
|
34
|
+
PopupMenuTemplateOrigin[PopupMenuTemplateOrigin["ContextMenu"] = 2] = "ContextMenu";
|
|
35
|
+
PopupMenuTemplateOrigin[PopupMenuTemplateOrigin["DropdownButton"] = 3] = "DropdownButton";
|
|
36
|
+
PopupMenuTemplateOrigin[PopupMenuTemplateOrigin["SplitButton"] = 4] = "SplitButton";
|
|
37
|
+
PopupMenuTemplateOrigin[PopupMenuTemplateOrigin["MenubarMenu"] = 5] = "MenubarMenu";
|
|
38
|
+
})(PopupMenuTemplateOrigin || (PopupMenuTemplateOrigin = {}));
|
|
39
|
+
var PopupMenuTemplateType;
|
|
40
|
+
(function (PopupMenuTemplateType) {
|
|
41
|
+
PopupMenuTemplateType[PopupMenuTemplateType["Group"] = 1] = "Group";
|
|
42
|
+
PopupMenuTemplateType[PopupMenuTemplateType["Icon"] = 2] = "Icon";
|
|
43
|
+
PopupMenuTemplateType[PopupMenuTemplateType["Shortcut"] = 3] = "Shortcut";
|
|
44
|
+
PopupMenuTemplateType[PopupMenuTemplateType["Text"] = 4] = "Text";
|
|
45
|
+
})(PopupMenuTemplateType || (PopupMenuTemplateType = {}));
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Emitted when a menu item is activated by a click, Enter or Space. Preventing it keeps the menu open and leaves a
|
|
49
|
+
* checkbox or radio item's state unchanged.
|
|
50
|
+
*/
|
|
51
|
+
class PopupMenuItemClickEvent extends PreventableEvent {
|
|
52
|
+
#checked;
|
|
53
|
+
#item;
|
|
54
|
+
constructor(item, originalEvent) {
|
|
55
|
+
super("popupMenuItemClick", originalEvent);
|
|
56
|
+
this.#item = item;
|
|
57
|
+
if (item.checkable) {
|
|
58
|
+
this.#checked = !(item.checked?.() ?? false);
|
|
59
|
+
}
|
|
60
|
+
else if (item.radio) {
|
|
61
|
+
this.#checked = true;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* For a checkbox or radio item, the state the item has once the click is applied (if it isn't prevented).
|
|
66
|
+
* `undefined` for other items.
|
|
67
|
+
*/
|
|
68
|
+
get checked() {
|
|
69
|
+
return this.#checked;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* The activated item, as the menu holds it. The event's `label` and `value` read from it.
|
|
73
|
+
* @hidden
|
|
74
|
+
*/
|
|
75
|
+
get item() {
|
|
76
|
+
return this.#item;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* The item's label.
|
|
80
|
+
*/
|
|
81
|
+
get label() {
|
|
82
|
+
return this.#item.label;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* The item's `value`: the `value` input of the item component, or the `value` of a `MenuItem`.
|
|
86
|
+
*/
|
|
87
|
+
get value() {
|
|
88
|
+
return this.#item.value?.();
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
const itemTypeMap = {
|
|
93
|
+
[PopupMenuItemType.CheckboxMenuItem]: "checkbox",
|
|
94
|
+
[PopupMenuItemType.MenuGroup]: "group",
|
|
95
|
+
[PopupMenuItemType.MenuItem]: "item",
|
|
96
|
+
[PopupMenuItemType.RadioGroup]: "radio-group",
|
|
97
|
+
[PopupMenuItemType.RadioItem]: "radio",
|
|
98
|
+
[PopupMenuItemType.Separator]: "separator"
|
|
99
|
+
};
|
|
100
|
+
const templateItemTypeMap = {
|
|
101
|
+
[PopupMenuTemplateType.Group]: "group",
|
|
102
|
+
[PopupMenuTemplateType.Icon]: "icon",
|
|
103
|
+
[PopupMenuTemplateType.Shortcut]: "shortcut",
|
|
104
|
+
[PopupMenuTemplateType.Text]: "text"
|
|
105
|
+
};
|
|
106
|
+
const ensurePopupComponentTypes = (params) => {
|
|
107
|
+
forEach(params.components, item => {
|
|
108
|
+
if (item.origin !== params.origin) {
|
|
109
|
+
const type = item.type;
|
|
110
|
+
const expectedItemType = itemTypeMap[type];
|
|
111
|
+
const expectedComponentType = params.componentTypeMap[type];
|
|
112
|
+
throw new Error(`${params.prefix}: The ${expectedItemType} must be defined with ${expectedComponentType}.`);
|
|
113
|
+
}
|
|
114
|
+
});
|
|
115
|
+
};
|
|
116
|
+
const ensurePopupTemplateTypes = (params) => {
|
|
117
|
+
forEach(params.templates, item => {
|
|
118
|
+
if (item.origin !== params.origin) {
|
|
119
|
+
const type = item.type;
|
|
120
|
+
const expectedTemplateType = params.templateTypeMap[type];
|
|
121
|
+
throw new Error(`${params.prefix}: The ${templateItemTypeMap[type]} template must be defined with ${expectedTemplateType}.`);
|
|
122
|
+
}
|
|
123
|
+
});
|
|
124
|
+
};
|
|
125
|
+
// One id per `MenuItem` object, so a menu rebuilt from the same objects keeps track of its items.
|
|
126
|
+
const menuItemUids = new WeakMap();
|
|
127
|
+
const menuItemUid = (item) => {
|
|
128
|
+
let uid = menuItemUids.get(item);
|
|
129
|
+
if (!uid) {
|
|
130
|
+
uid = createElementControlId();
|
|
131
|
+
menuItemUids.set(item, uid);
|
|
132
|
+
}
|
|
133
|
+
return uid;
|
|
134
|
+
};
|
|
135
|
+
const preparePopupMenuItems = (items) => {
|
|
136
|
+
return select(items, item => {
|
|
137
|
+
const popupItem = {
|
|
138
|
+
checkable: item.checkable ?? false,
|
|
139
|
+
checked: signal(item.checked ?? false),
|
|
140
|
+
click$: new Subject(),
|
|
141
|
+
disabled: item.disabled ?? false,
|
|
142
|
+
// An ungrouped item gets a key of its own, so it never joins another item's group.
|
|
143
|
+
group: item.group ?? Symbol(),
|
|
144
|
+
groupTemplate: null,
|
|
145
|
+
iconTemplate: null,
|
|
146
|
+
items: preparePopupMenuItems(item.items ?? []),
|
|
147
|
+
label: item.label ?? "",
|
|
148
|
+
separator: item.separator ?? false,
|
|
149
|
+
shortcutTemplate: null,
|
|
150
|
+
textTemplate: null,
|
|
151
|
+
uid: menuItemUid(item),
|
|
152
|
+
value: signal(item.value)
|
|
153
|
+
};
|
|
154
|
+
return popupItem;
|
|
155
|
+
}).toArray();
|
|
156
|
+
};
|
|
157
|
+
|
|
158
|
+
/*
|
|
159
|
+
* Not public API. The engine the menu components build on: their tokens, origins and item checks.
|
|
160
|
+
* `@nanahoshi/mona-ui/popup-menu` re-exports the types here that consumers need.
|
|
161
|
+
*/
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* Generated bundle index. Do not edit.
|
|
165
|
+
*/
|
|
166
|
+
|
|
167
|
+
export { PopupMenuGroupTemplateToken, PopupMenuIconTemplateToken, PopupMenuItemClickEvent, PopupMenuItemType, PopupMenuOrigin, PopupMenuRadioItemToken, PopupMenuShortcutTemplateToken, PopupMenuTemplateOrigin, PopupMenuTemplateType, PopupMenuTextTemplateToken, PopupMenuToken, ensurePopupComponentTypes, ensurePopupTemplateTypes, preparePopupMenuItems };
|
|
168
|
+
//# sourceMappingURL=nanahoshi-mona-ui-internal-popup-menu.mjs.map
|
|
@@ -137,27 +137,43 @@ class NodeSelectEvent extends PreventableEvent {
|
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
+
/**
|
|
141
|
+
* A node of a tree, wrapping its data item. Read `data`, `uid` and `nodeItem`; the tree keeps the rest, and writing to it
|
|
142
|
+
* would put the node out of step with the tree.
|
|
143
|
+
*/
|
|
140
144
|
class TreeNode {
|
|
141
145
|
constructor(data) {
|
|
146
|
+
/** @hidden Whether the node is checked. The tree keeps it in step with the checked keys. */
|
|
142
147
|
this.checked = signal(false, /* @ts-ignore */
|
|
143
148
|
...(ngDevMode ? [{ debugName: "checked" }] : /* istanbul ignore next */ []));
|
|
149
|
+
/** @hidden The node's child nodes, in display order. */
|
|
144
150
|
this.children = signal(ImmutableSet.create(), /* @ts-ignore */
|
|
145
151
|
...(ngDevMode ? [{ debugName: "children" }] : /* istanbul ignore next */ []));
|
|
146
|
-
/** Whether the last load of this node's children from an asynchronous children selector failed. */
|
|
152
|
+
/** @hidden Whether the last load of this node's children from an asynchronous children selector failed. */
|
|
147
153
|
this.loadFailed = signal(false, /* @ts-ignore */
|
|
148
154
|
...(ngDevMode ? [{ debugName: "loadFailed" }] : /* istanbul ignore next */ []));
|
|
155
|
+
/** @hidden Whether the node's children are being loaded from an asynchronous children selector. */
|
|
149
156
|
this.loading = signal(false, /* @ts-ignore */
|
|
150
157
|
...(ngDevMode ? [{ debugName: "loading" }] : /* istanbul ignore next */ []));
|
|
158
|
+
/** A unique id generated for the node when it is created. */
|
|
151
159
|
this.uid = v4();
|
|
152
160
|
/**
|
|
153
161
|
* Whether children from an asynchronous children selector have been loaded. Loaded children are cached,
|
|
154
162
|
* so collapsing and re-expanding the node does not request them again.
|
|
163
|
+
* @hidden
|
|
155
164
|
*/
|
|
156
165
|
this.childrenLoaded = false;
|
|
166
|
+
/**
|
|
167
|
+
* The node's position in the tree as dot-separated zero-based indices from the root, such as `"0.2.1"` for
|
|
168
|
+
* the second child of the third child of the first root node.
|
|
169
|
+
* @hidden
|
|
170
|
+
*/
|
|
157
171
|
this.index = "";
|
|
172
|
+
/** @hidden The node's parent node, or `null` for a root node. */
|
|
158
173
|
this.parent = null;
|
|
159
174
|
this.data = data;
|
|
160
175
|
}
|
|
176
|
+
/** @hidden Copies the node and its children. */
|
|
161
177
|
clone() {
|
|
162
178
|
const node = new TreeNode(this.data);
|
|
163
179
|
node.index = this.index;
|
|
@@ -165,6 +181,7 @@ class TreeNode {
|
|
|
165
181
|
node.parent = this.parent;
|
|
166
182
|
return node;
|
|
167
183
|
}
|
|
184
|
+
/** @hidden Whether the node sits anywhere below `node`. */
|
|
168
185
|
isDescendantOf(node) {
|
|
169
186
|
let parent = this.parent;
|
|
170
187
|
while (parent != null) {
|
|
@@ -175,6 +192,7 @@ class TreeNode {
|
|
|
175
192
|
}
|
|
176
193
|
return false;
|
|
177
194
|
}
|
|
195
|
+
/** A plain snapshot of the node (its data, uid and whether it has children), as the tree view's events carry it. */
|
|
178
196
|
get nodeItem() {
|
|
179
197
|
return {
|
|
180
198
|
data: this.data,
|
|
@@ -113,9 +113,11 @@ class ListBoxClearEvent extends PreventableEvent {
|
|
|
113
113
|
super("listBoxClear", originalEvent);
|
|
114
114
|
this.#selectedItems = [...selectedItems];
|
|
115
115
|
}
|
|
116
|
+
/** Discriminant matching the `ListBoxActionEvent` union. */
|
|
116
117
|
get action() {
|
|
117
118
|
return this.#action;
|
|
118
119
|
}
|
|
120
|
+
/** The items that were selected when Clear Selection was clicked. */
|
|
119
121
|
get selectedItems() {
|
|
120
122
|
return this.#selectedItems;
|
|
121
123
|
}
|
|
@@ -137,18 +139,23 @@ class ListBoxMoveEvent extends PreventableEvent {
|
|
|
137
139
|
this.#selectedIndices = Array.from(selectedIndices);
|
|
138
140
|
this.#selectedItems = Array.from(selectedItems);
|
|
139
141
|
}
|
|
142
|
+
/** Discriminant matching the `ListBoxActionEvent` union. */
|
|
140
143
|
get action() {
|
|
141
144
|
return this.#action;
|
|
142
145
|
}
|
|
146
|
+
/** For Move Up, the index above the first selected item; for Move Down, the index below the last one. */
|
|
143
147
|
get newIndex() {
|
|
144
148
|
return this.#newIndex;
|
|
145
149
|
}
|
|
150
|
+
/** The index of the first selected item (in list order) before the move. */
|
|
146
151
|
get oldIndex() {
|
|
147
152
|
return this.#oldIndex;
|
|
148
153
|
}
|
|
154
|
+
/** Indices of all selected items before the move, ascending. */
|
|
149
155
|
get selectedIndices() {
|
|
150
156
|
return this.#selectedIndices;
|
|
151
157
|
}
|
|
158
|
+
/** The items that were selected when the move was requested. */
|
|
152
159
|
get selectedItems() {
|
|
153
160
|
return this.#selectedItems;
|
|
154
161
|
}
|
|
@@ -163,9 +170,11 @@ class ListBoxRemoveEvent extends PreventableEvent {
|
|
|
163
170
|
super("listBoxRemove", originalEvent);
|
|
164
171
|
this.#selectedItems = [...selectedItems];
|
|
165
172
|
}
|
|
173
|
+
/** Discriminant matching the `ListBoxActionEvent` union. */
|
|
166
174
|
get action() {
|
|
167
175
|
return this.#action;
|
|
168
176
|
}
|
|
177
|
+
/** The items that were selected when Remove was clicked. */
|
|
169
178
|
get selectedItems() {
|
|
170
179
|
return this.#selectedItems;
|
|
171
180
|
}
|
|
@@ -181,9 +190,14 @@ class ListBoxTransferEvent extends PreventableEvent {
|
|
|
181
190
|
this.#action = action;
|
|
182
191
|
this.#selectedItems = Array.from(selectedItems);
|
|
183
192
|
}
|
|
193
|
+
/** Discriminant matching the `ListBoxActionEvent` union. */
|
|
184
194
|
get action() {
|
|
185
195
|
return this.#action;
|
|
186
196
|
}
|
|
197
|
+
/**
|
|
198
|
+
* The items to transfer, in list order: the source's selection, or all of the source's items for the "All"
|
|
199
|
+
* variants. See Which list box's `actionClick` fires.
|
|
200
|
+
*/
|
|
187
201
|
get selectedItems() {
|
|
188
202
|
return this.#selectedItems;
|
|
189
203
|
}
|
|
@@ -392,8 +392,13 @@ class ListViewGroupableDirective {
|
|
|
392
392
|
enabled: true
|
|
393
393
|
};
|
|
394
394
|
this.#listService = inject((ListService));
|
|
395
|
+
/** @description Property name or accessor used to derive the group key from a data item. */
|
|
395
396
|
this.groupBy = input("", /* @ts-ignore */
|
|
396
397
|
...(ngDevMode ? [{ debugName: "groupBy" }] : /* istanbul ignore next */ []));
|
|
398
|
+
/**
|
|
399
|
+
* @description Enables grouping. An empty string enables grouping with default settings; pass an object to
|
|
400
|
+
* configure `headerOrder`, `headerText`, `orderBy`, and `orderByDirection`.
|
|
401
|
+
*/
|
|
397
402
|
this.options = input("", { ...(ngDevMode ? { debugName: "options" } : /* istanbul ignore next */ {}), alias: "monaListViewGroupable" });
|
|
398
403
|
effect(() => {
|
|
399
404
|
const groupBy = this.groupBy();
|
|
@@ -437,6 +442,10 @@ class ListViewNavigableDirective {
|
|
|
437
442
|
wrap: false
|
|
438
443
|
};
|
|
439
444
|
this.#listService = inject(ListService);
|
|
445
|
+
/**
|
|
446
|
+
* @description Configures keyboard navigation, which is on without the directive. An empty string keeps the
|
|
447
|
+
* defaults (`enabled: true`, `mode: "select"`, `wrap: false`); pass an object to override any field.
|
|
448
|
+
*/
|
|
440
449
|
this.options = input("", { ...(ngDevMode ? { debugName: "options" } : /* istanbul ignore next */ {}), alias: "monaListViewNavigable" });
|
|
441
450
|
effect(() => {
|
|
442
451
|
const options = this.options();
|
|
@@ -478,6 +487,12 @@ class ListViewPageableDirective {
|
|
|
478
487
|
visiblePages: 5
|
|
479
488
|
};
|
|
480
489
|
this.#listService = inject(ListService);
|
|
490
|
+
/**
|
|
491
|
+
* @description Enables pagination. An empty string enables pagination with default settings (`type: "numeric"`,
|
|
492
|
+
* `previousNext: true`, `pageSize: 10`, `pageSizeValues: [5, 10, 20, 25, 50, 100]`, `visiblePages: 5`); pass an
|
|
493
|
+
* object to override any field. Has no visible effect while `monaListViewVirtualScroll` is enabled — see Pagination
|
|
494
|
+
* and virtualization don't combine.
|
|
495
|
+
*/
|
|
481
496
|
this.options = input("", { ...(ngDevMode ? { debugName: "options" } : /* istanbul ignore next */ {}), alias: "monaListViewPageable" });
|
|
482
497
|
/**
|
|
483
498
|
* @description The current page. Supports two-way binding via `[(page)]`; updates when the user navigates the pager and can be set to navigate programmatically.
|
|
@@ -574,11 +589,24 @@ class ListViewSelectableDirective {
|
|
|
574
589
|
toggleable: false
|
|
575
590
|
};
|
|
576
591
|
this.#listService = inject(ListService);
|
|
592
|
+
/**
|
|
593
|
+
* @description Enables selection. An empty string enables single selection with default settings; pass an object to
|
|
594
|
+
* configure `mode` (`"single"` or `"multiple"`), `toggleable`, and `checkboxes`.
|
|
595
|
+
*/
|
|
577
596
|
this.options = input("", { ...(ngDevMode ? { debugName: "options" } : /* istanbul ignore next */ {}), alias: "monaListViewSelectable" });
|
|
597
|
+
/**
|
|
598
|
+
* @description Property name or accessor used to derive the selection key from a data item. When omitted, the data
|
|
599
|
+
* item itself is used as the key.
|
|
600
|
+
*/
|
|
578
601
|
this.selectBy = input("", /* @ts-ignore */
|
|
579
602
|
...(ngDevMode ? [{ debugName: "selectBy" }] : /* istanbul ignore next */ []));
|
|
603
|
+
/** @description The selection, expressed as keys rather than items. Bind `[(selectedKeys)]` to keep it in sync. */
|
|
580
604
|
this.selectedKeys = input([], /* @ts-ignore */
|
|
581
605
|
...(ngDevMode ? [{ debugName: "selectedKeys" }] : /* istanbul ignore next */ []));
|
|
606
|
+
/**
|
|
607
|
+
* @description Emitted with the selected keys when the user selects or deselects an item. Not emitted for keys set
|
|
608
|
+
* through `selectedKeys`.
|
|
609
|
+
*/
|
|
582
610
|
this.selectedKeysChange = output();
|
|
583
611
|
effect(() => {
|
|
584
612
|
const selectBy = this.selectBy();
|
|
@@ -624,6 +652,10 @@ class ListViewVirtualScrollDirective {
|
|
|
624
652
|
#listService;
|
|
625
653
|
constructor() {
|
|
626
654
|
this.#listService = inject((ListService));
|
|
655
|
+
/**
|
|
656
|
+
* @description Enables virtual scrolling. `height` is the fixed row height, in pixels, used to measure the
|
|
657
|
+
* viewport; when omitted, a `28`px row height is assumed.
|
|
658
|
+
*/
|
|
627
659
|
this.options = input.required({ ...(ngDevMode ? { debugName: "options" } : /* istanbul ignore next */ {}), alias: "monaListViewVirtualScroll" });
|
|
628
660
|
effect(() => {
|
|
629
661
|
const options = this.options();
|
|
@@ -189,6 +189,15 @@ const AR_SA_MESSAGES = {
|
|
|
189
189
|
comboBox: {
|
|
190
190
|
clear: "مسح"
|
|
191
191
|
},
|
|
192
|
+
command: {
|
|
193
|
+
dialogLabel: "قائمة الأوامر",
|
|
194
|
+
inputLabel: "البحث في الأوامر",
|
|
195
|
+
listLabel: "النتائج",
|
|
196
|
+
loading: "جارٍ التحميل",
|
|
197
|
+
noResults: "لم يتم العثور على نتائج",
|
|
198
|
+
placeholder: "اكتب أمرًا أو ابحث…",
|
|
199
|
+
resultsAvailable: (count) => `عدد النتائج المتاحة: ${localizeNumber(count)}`
|
|
200
|
+
},
|
|
192
201
|
datePicker: {
|
|
193
202
|
datePicker: "منتقي التاريخ",
|
|
194
203
|
openCalendar: "فتح التقويم"
|
|
@@ -343,6 +352,7 @@ const AR_SA_MESSAGES = {
|
|
|
343
352
|
filterOperator: (column, operator) => `عامل تصفية ${column}: ${operator}`,
|
|
344
353
|
filterPlaceholder: "تصفية…",
|
|
345
354
|
group: "مجموعة",
|
|
355
|
+
groupOptions: (column) => `خيارات مجموعة ${column}`,
|
|
346
356
|
loading: "جارٍ التحميل",
|
|
347
357
|
modified: "تم التعديل",
|
|
348
358
|
moveAsNext: "نقل كعنصر تالٍ",
|
|
@@ -177,6 +177,15 @@ const DE_DE_MESSAGES = {
|
|
|
177
177
|
comboBox: {
|
|
178
178
|
clear: "Leeren"
|
|
179
179
|
},
|
|
180
|
+
command: {
|
|
181
|
+
dialogLabel: "Befehlsmenü",
|
|
182
|
+
inputLabel: "Befehle suchen",
|
|
183
|
+
listLabel: "Ergebnisse",
|
|
184
|
+
loading: "Wird geladen",
|
|
185
|
+
noResults: "Keine Ergebnisse gefunden",
|
|
186
|
+
placeholder: "Befehl eingeben oder suchen…",
|
|
187
|
+
resultsAvailable: (count) => count === 1 ? "1 Ergebnis verfügbar" : `${localizeNumber(count)} Ergebnisse verfügbar`
|
|
188
|
+
},
|
|
180
189
|
datePicker: {
|
|
181
190
|
datePicker: "Datumsauswahl",
|
|
182
191
|
openCalendar: "Kalender öffnen"
|
|
@@ -331,6 +340,7 @@ const DE_DE_MESSAGES = {
|
|
|
331
340
|
filterOperator: (column, operator) => `Filteroperator für ${column}: ${operator}`,
|
|
332
341
|
filterPlaceholder: "Filtern...",
|
|
333
342
|
group: "Gruppe",
|
|
343
|
+
groupOptions: (column) => `Gruppenoptionen für ${column}`,
|
|
334
344
|
loading: "Wird geladen",
|
|
335
345
|
modified: "Geändert",
|
|
336
346
|
moveAsNext: "Als Nächstes verschieben",
|
|
@@ -177,6 +177,15 @@ const ES_ES_MESSAGES = {
|
|
|
177
177
|
comboBox: {
|
|
178
178
|
clear: "Limpiar"
|
|
179
179
|
},
|
|
180
|
+
command: {
|
|
181
|
+
dialogLabel: "Menú de comandos",
|
|
182
|
+
inputLabel: "Buscar comandos",
|
|
183
|
+
listLabel: "Resultados",
|
|
184
|
+
loading: "Cargando",
|
|
185
|
+
noResults: "No se han encontrado resultados",
|
|
186
|
+
placeholder: "Escribe un comando o busca…",
|
|
187
|
+
resultsAvailable: (count) => count === 1 ? "1 resultado disponible" : `${localizeNumber(count)} resultados disponibles`
|
|
188
|
+
},
|
|
180
189
|
datePicker: {
|
|
181
190
|
datePicker: "Selector de fecha",
|
|
182
191
|
openCalendar: "Abrir calendario"
|
|
@@ -331,6 +340,7 @@ const ES_ES_MESSAGES = {
|
|
|
331
340
|
filterOperator: (column, operator) => `Operador de filtro de ${column}: ${operator}`,
|
|
332
341
|
filterPlaceholder: "Filtrar...",
|
|
333
342
|
group: "Grupo",
|
|
343
|
+
groupOptions: (column) => `Opciones de grupo de ${column}`,
|
|
334
344
|
loading: "Cargando",
|
|
335
345
|
modified: "Modificado",
|
|
336
346
|
moveAsNext: "Mover como siguiente",
|
|
@@ -177,6 +177,15 @@ const FR_FR_MESSAGES = {
|
|
|
177
177
|
comboBox: {
|
|
178
178
|
clear: "Effacer"
|
|
179
179
|
},
|
|
180
|
+
command: {
|
|
181
|
+
dialogLabel: "Menu de commandes",
|
|
182
|
+
inputLabel: "Rechercher des commandes",
|
|
183
|
+
listLabel: "Résultats",
|
|
184
|
+
loading: "Chargement",
|
|
185
|
+
noResults: "Aucun résultat trouvé",
|
|
186
|
+
placeholder: "Saisissez une commande ou recherchez…",
|
|
187
|
+
resultsAvailable: (count) => count === 1 ? "1 résultat disponible" : `${localizeNumber(count)} résultats disponibles`
|
|
188
|
+
},
|
|
180
189
|
datePicker: {
|
|
181
190
|
datePicker: "Sélecteur de date",
|
|
182
191
|
openCalendar: "Ouvrir le calendrier"
|
|
@@ -331,6 +340,7 @@ const FR_FR_MESSAGES = {
|
|
|
331
340
|
filterOperator: (column, operator) => `Opérateur de filtre de ${column} : ${operator}`,
|
|
332
341
|
filterPlaceholder: "Filtrer...",
|
|
333
342
|
group: "Groupe",
|
|
343
|
+
groupOptions: (column) => `Options du groupe ${column}`,
|
|
334
344
|
loading: "Chargement",
|
|
335
345
|
modified: "Modifié",
|
|
336
346
|
moveAsNext: "Déplacer à la position suivante",
|
|
@@ -164,6 +164,15 @@ const ID_ID_MESSAGES = {
|
|
|
164
164
|
comboBox: {
|
|
165
165
|
clear: "Bersihkan"
|
|
166
166
|
},
|
|
167
|
+
command: {
|
|
168
|
+
dialogLabel: "Menu perintah",
|
|
169
|
+
inputLabel: "Cari perintah",
|
|
170
|
+
listLabel: "Hasil",
|
|
171
|
+
loading: "Memuat",
|
|
172
|
+
noResults: "Tidak ada hasil",
|
|
173
|
+
placeholder: "Ketik perintah atau cari…",
|
|
174
|
+
resultsAvailable: (count) => `${localizeNumber(count)} hasil tersedia`
|
|
175
|
+
},
|
|
167
176
|
datePicker: {
|
|
168
177
|
datePicker: "Pemilih tanggal",
|
|
169
178
|
openCalendar: "Buka kalender"
|
|
@@ -318,6 +327,7 @@ const ID_ID_MESSAGES = {
|
|
|
318
327
|
filterOperator: (column, operator) => `Operator saringan kolom ${column}: ${operator}`,
|
|
319
328
|
filterPlaceholder: "Saring...",
|
|
320
329
|
group: "Grup",
|
|
330
|
+
groupOptions: (column) => `Opsi grup ${column}`,
|
|
321
331
|
loading: "Memuat",
|
|
322
332
|
modified: "Diubah",
|
|
323
333
|
moveAsNext: "Pindahkan setelahnya",
|
|
@@ -177,6 +177,15 @@ const IT_IT_MESSAGES = {
|
|
|
177
177
|
comboBox: {
|
|
178
178
|
clear: "Cancella"
|
|
179
179
|
},
|
|
180
|
+
command: {
|
|
181
|
+
dialogLabel: "Menu dei comandi",
|
|
182
|
+
inputLabel: "Cerca comandi",
|
|
183
|
+
listLabel: "Risultati",
|
|
184
|
+
loading: "Caricamento",
|
|
185
|
+
noResults: "Nessun risultato trovato",
|
|
186
|
+
placeholder: "Digita un comando o cerca…",
|
|
187
|
+
resultsAvailable: (count) => count === 1 ? "1 risultato disponibile" : `${localizeNumber(count)} risultati disponibili`
|
|
188
|
+
},
|
|
180
189
|
datePicker: {
|
|
181
190
|
datePicker: "Selettore data",
|
|
182
191
|
openCalendar: "Apri calendario"
|
|
@@ -331,6 +340,7 @@ const IT_IT_MESSAGES = {
|
|
|
331
340
|
filterOperator: (column, operator) => `Operatore di filtro di ${column}: ${operator}`,
|
|
332
341
|
filterPlaceholder: "Filtra...",
|
|
333
342
|
group: "Gruppo",
|
|
343
|
+
groupOptions: (column) => `Opzioni del gruppo ${column}`,
|
|
334
344
|
loading: "Caricamento",
|
|
335
345
|
modified: "Modificato",
|
|
336
346
|
moveAsNext: "Sposta dopo",
|
|
@@ -164,6 +164,15 @@ const JA_JP_MESSAGES = {
|
|
|
164
164
|
comboBox: {
|
|
165
165
|
clear: "クリア"
|
|
166
166
|
},
|
|
167
|
+
command: {
|
|
168
|
+
dialogLabel: "コマンドメニュー",
|
|
169
|
+
inputLabel: "コマンドを検索",
|
|
170
|
+
listLabel: "結果",
|
|
171
|
+
loading: "読み込み中",
|
|
172
|
+
noResults: "結果が見つかりません",
|
|
173
|
+
placeholder: "コマンドを入力または検索…",
|
|
174
|
+
resultsAvailable: (count) => `${localizeNumber(count)}件の結果があります`
|
|
175
|
+
},
|
|
167
176
|
datePicker: {
|
|
168
177
|
datePicker: "日付選択",
|
|
169
178
|
openCalendar: "カレンダーを開く"
|
|
@@ -318,6 +327,7 @@ const JA_JP_MESSAGES = {
|
|
|
318
327
|
filterOperator: (column, operator) => `${column}のフィルター演算子: ${operator}`,
|
|
319
328
|
filterPlaceholder: "フィルター...",
|
|
320
329
|
group: "グループ",
|
|
330
|
+
groupOptions: (column) => `${column} のグループオプション`,
|
|
321
331
|
loading: "読み込み中",
|
|
322
332
|
modified: "変更済み",
|
|
323
333
|
moveAsNext: "次へ移動",
|
|
@@ -164,6 +164,15 @@ const KO_KR_MESSAGES = {
|
|
|
164
164
|
comboBox: {
|
|
165
165
|
clear: "지우기"
|
|
166
166
|
},
|
|
167
|
+
command: {
|
|
168
|
+
dialogLabel: "명령 메뉴",
|
|
169
|
+
inputLabel: "명령 검색",
|
|
170
|
+
listLabel: "결과",
|
|
171
|
+
loading: "로드 중",
|
|
172
|
+
noResults: "결과를 찾을 수 없습니다",
|
|
173
|
+
placeholder: "명령을 입력하거나 검색하세요…",
|
|
174
|
+
resultsAvailable: (count) => `사용 가능한 결과 ${localizeNumber(count)}개`
|
|
175
|
+
},
|
|
167
176
|
datePicker: {
|
|
168
177
|
datePicker: "날짜 선택기",
|
|
169
178
|
openCalendar: "달력 열기"
|
|
@@ -318,6 +327,7 @@ const KO_KR_MESSAGES = {
|
|
|
318
327
|
filterOperator: (column, operator) => `${column} 필터 연산자: ${operator}`,
|
|
319
328
|
filterPlaceholder: "필터…",
|
|
320
329
|
group: "그룹",
|
|
330
|
+
groupOptions: (column) => `${column} 그룹 옵션`,
|
|
321
331
|
loading: "로드 중",
|
|
322
332
|
modified: "수정됨",
|
|
323
333
|
moveAsNext: "다음 항목으로 이동",
|
|
@@ -177,6 +177,15 @@ const PT_BR_MESSAGES = {
|
|
|
177
177
|
comboBox: {
|
|
178
178
|
clear: "Limpar"
|
|
179
179
|
},
|
|
180
|
+
command: {
|
|
181
|
+
dialogLabel: "Menu de comandos",
|
|
182
|
+
inputLabel: "Pesquisar comandos",
|
|
183
|
+
listLabel: "Resultados",
|
|
184
|
+
loading: "Carregando",
|
|
185
|
+
noResults: "Nenhum resultado encontrado",
|
|
186
|
+
placeholder: "Digite um comando ou pesquise…",
|
|
187
|
+
resultsAvailable: (count) => count === 1 ? "1 resultado disponível" : `${localizeNumber(count)} resultados disponíveis`
|
|
188
|
+
},
|
|
180
189
|
datePicker: {
|
|
181
190
|
datePicker: "Seletor de data",
|
|
182
191
|
openCalendar: "Abrir calendário"
|
|
@@ -331,6 +340,7 @@ const PT_BR_MESSAGES = {
|
|
|
331
340
|
filterOperator: (column, operator) => `Operador de filtro de ${column}: ${operator}`,
|
|
332
341
|
filterPlaceholder: "Filtrar...",
|
|
333
342
|
group: "Grupo",
|
|
343
|
+
groupOptions: (column) => `Opções do grupo ${column}`,
|
|
334
344
|
loading: "Carregando",
|
|
335
345
|
modified: "Modificado",
|
|
336
346
|
moveAsNext: "Mover como próximo",
|
|
@@ -183,6 +183,15 @@ const RU_RU_MESSAGES = {
|
|
|
183
183
|
comboBox: {
|
|
184
184
|
clear: "Очистить"
|
|
185
185
|
},
|
|
186
|
+
command: {
|
|
187
|
+
dialogLabel: "Меню команд",
|
|
188
|
+
inputLabel: "Поиск команд",
|
|
189
|
+
listLabel: "Результаты",
|
|
190
|
+
loading: "Загрузка",
|
|
191
|
+
noResults: "Результаты не найдены",
|
|
192
|
+
placeholder: "Введите команду или выполните поиск…",
|
|
193
|
+
resultsAvailable: (count) => `Доступно результатов: ${localizeNumber(count)}`
|
|
194
|
+
},
|
|
186
195
|
datePicker: {
|
|
187
196
|
datePicker: "Выбор даты",
|
|
188
197
|
openCalendar: "Открыть календарь"
|
|
@@ -337,6 +346,7 @@ const RU_RU_MESSAGES = {
|
|
|
337
346
|
filterOperator: (column, operator) => `Оператор фильтра столбца ${column}: ${operator}`,
|
|
338
347
|
filterPlaceholder: "Фильтр…",
|
|
339
348
|
group: "Группа",
|
|
349
|
+
groupOptions: (column) => `Параметры группы ${column}`,
|
|
340
350
|
loading: "Загрузка",
|
|
341
351
|
modified: "Изменено",
|
|
342
352
|
moveAsNext: "Переместить после",
|