@nanahoshi/mona-ui 0.37.0 → 0.38.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/common.md +1 -1
- package/docs/api/dropdown-list.md +2 -0
- package/docs/api/dropdown-tree.md +81 -0
- package/docs/api/dropdowns.md +34 -8
- package/docs/api/i18n.md +33 -4
- package/docs/api/list.md +1 -1
- package/docs/api/locales.md +14 -14
- package/docs/api/multi-select-tree.md +75 -0
- package/docs/api/multi-select.md +3 -1
- package/docs/api/popup.md +1 -1
- package/docs/api/tree-view.md +2 -2
- package/docs/auto-complete.md +2 -0
- package/docs/combo-box.md +2 -0
- package/docs/dropdown-list.md +52 -0
- package/docs/dropdown-tree.md +427 -0
- package/docs/multi-select-tree.md +353 -0
- package/docs/multi-select.md +6 -0
- package/dropdown-tree/package.json +4 -0
- package/fesm2022/nanahoshi-mona-ui-dropdown-list.mjs +40 -5
- package/fesm2022/nanahoshi-mona-ui-dropdown-tree.mjs +1061 -0
- package/fesm2022/nanahoshi-mona-ui-dropdowns.mjs +701 -60
- package/fesm2022/nanahoshi-mona-ui-editor.mjs +8 -2
- package/fesm2022/nanahoshi-mona-ui-filter.mjs +2 -0
- package/fesm2022/nanahoshi-mona-ui-grid.mjs +2 -0
- package/fesm2022/nanahoshi-mona-ui-i18n-icu.mjs +13 -0
- package/fesm2022/nanahoshi-mona-ui-internal-tree.mjs +80 -37
- package/fesm2022/nanahoshi-mona-ui-locales-ar-sa.mjs +7 -0
- package/fesm2022/nanahoshi-mona-ui-locales-de-de.mjs +7 -0
- package/fesm2022/nanahoshi-mona-ui-locales-es-es.mjs +7 -0
- package/fesm2022/nanahoshi-mona-ui-locales-fr-fr.mjs +7 -0
- package/fesm2022/nanahoshi-mona-ui-locales-id-id.mjs +7 -0
- package/fesm2022/nanahoshi-mona-ui-locales-it-it.mjs +7 -0
- package/fesm2022/nanahoshi-mona-ui-locales-ja-jp.mjs +7 -0
- package/fesm2022/nanahoshi-mona-ui-locales-ko-kr.mjs +7 -0
- package/fesm2022/nanahoshi-mona-ui-locales-pl-pl.mjs +17 -0
- package/fesm2022/nanahoshi-mona-ui-locales-pt-br.mjs +7 -0
- package/fesm2022/nanahoshi-mona-ui-locales-ru-ru.mjs +17 -0
- package/fesm2022/nanahoshi-mona-ui-locales-tr-tr.mjs +7 -0
- package/fesm2022/nanahoshi-mona-ui-locales-zh-cn.mjs +7 -0
- package/fesm2022/nanahoshi-mona-ui-locales-zh-tw.mjs +7 -0
- package/fesm2022/nanahoshi-mona-ui-multi-select-tree.mjs +1179 -0
- package/fesm2022/nanahoshi-mona-ui-multi-select.mjs +42 -7
- package/fesm2022/nanahoshi-mona-ui-pager.mjs +3 -1
- package/fesm2022/nanahoshi-mona-ui-tree-view.mjs +2 -1
- package/i18n/catalogs/en-US.messages.json +9 -0
- package/llms.txt +6 -2
- package/locales/ar-sa/ar-sa.messages.json +9 -0
- package/locales/de-de/de-de.messages.json +9 -0
- package/locales/es-es/es-es.messages.json +9 -0
- package/locales/fr-fr/fr-fr.messages.json +9 -0
- package/locales/id-id/id-id.messages.json +9 -0
- package/locales/it-it/it-it.messages.json +9 -0
- package/locales/ja-jp/ja-jp.messages.json +9 -0
- package/locales/ko-kr/ko-kr.messages.json +9 -0
- package/locales/pl-pl/pl-pl.messages.json +9 -0
- package/locales/pt-br/pt-br.messages.json +9 -0
- package/locales/ru-ru/ru-ru.messages.json +9 -0
- package/locales/tr-tr/tr-tr.messages.json +9 -0
- package/locales/zh-cn/zh-cn.messages.json +9 -0
- package/locales/zh-tw/zh-tw.messages.json +9 -0
- package/multi-select-tree/package.json +4 -0
- package/package.json +9 -1
- package/types/nanahoshi-mona-ui-dropdown-list.d.ts +33 -5
- package/types/nanahoshi-mona-ui-dropdown-tree.d.ts +414 -0
- package/types/nanahoshi-mona-ui-dropdowns.d.ts +198 -8
- package/types/nanahoshi-mona-ui-i18n.d.ts +12 -0
- package/types/nanahoshi-mona-ui-internal-tree.d.ts +36 -0
- package/types/nanahoshi-mona-ui-locales-ar-sa.d.ts +9 -0
- package/types/nanahoshi-mona-ui-locales-de-de.d.ts +9 -0
- package/types/nanahoshi-mona-ui-locales-es-es.d.ts +9 -0
- package/types/nanahoshi-mona-ui-locales-fr-fr.d.ts +9 -0
- package/types/nanahoshi-mona-ui-locales-id-id.d.ts +9 -0
- package/types/nanahoshi-mona-ui-locales-it-it.d.ts +9 -0
- package/types/nanahoshi-mona-ui-locales-ja-jp.d.ts +9 -0
- package/types/nanahoshi-mona-ui-locales-ko-kr.d.ts +9 -0
- package/types/nanahoshi-mona-ui-locales-pl-pl.d.ts +9 -0
- package/types/nanahoshi-mona-ui-locales-pt-br.d.ts +9 -0
- package/types/nanahoshi-mona-ui-locales-ru-ru.d.ts +9 -0
- package/types/nanahoshi-mona-ui-locales-tr-tr.d.ts +9 -0
- package/types/nanahoshi-mona-ui-locales-zh-cn.d.ts +9 -0
- package/types/nanahoshi-mona-ui-locales-zh-tw.d.ts +9 -0
- package/types/nanahoshi-mona-ui-multi-select-tree.d.ts +456 -0
- package/types/nanahoshi-mona-ui-multi-select.d.ts +43 -7
|
@@ -4,11 +4,17 @@ import { Predicate, Selector } from "@mirei/ts-collections";
|
|
|
4
4
|
import { GroupableOptions, ListItem, ListSizeInputType } from "@nanahoshi/mona-ui/internal/list";
|
|
5
5
|
import { PopupCloseEvent, PopupRef, PopupSettings } from "@nanahoshi/mona-ui/popup";
|
|
6
6
|
import { FilterChangeEvent, FilterableOptions, PreventableEvent, VirtualScrollOptions } from "@nanahoshi/mona-ui/common";
|
|
7
|
+
import { TreeService } from "@nanahoshi/mona-ui/internal/tree";
|
|
7
8
|
import { ConnectionPositionPair } from "@angular/cdk/overlay";
|
|
8
9
|
import { Subject } from "rxjs";
|
|
9
10
|
import { VariantInputs } from "@nanahoshi/mona-ui/internal";
|
|
10
11
|
import { VariantProps } from "class-variance-authority";
|
|
11
12
|
import { MonaDropdownsMessages } from "@nanahoshi/mona-ui/i18n";
|
|
13
|
+
/**
|
|
14
|
+
* How a dropdown's popup adapts to a small screen: `"auto"` opens it as a sheet along the bottom of the screen when
|
|
15
|
+
* the screen is narrower than 640 pixels, and `"none"` always opens it under the field.
|
|
16
|
+
*/
|
|
17
|
+
type AdaptiveMode = "auto" | "none";
|
|
12
18
|
export type DropdownFieldSelectorType<TData, TResult = unknown> = string | Selector<TData, TResult> | null | undefined;
|
|
13
19
|
export type DropdownFieldPredicateType<TData> = string | Predicate<TData> | null | undefined;
|
|
14
20
|
export interface DropdownDataInput<TData> {
|
|
@@ -25,6 +31,10 @@ export declare const DROPDOWN_DATA_INPUT_TOKEN: InjectionToken<DropdownDataInput
|
|
|
25
31
|
export declare const DropdownDataInputToken: InjectionToken<DropdownDataInput<unknown>>;
|
|
26
32
|
/** @hidden Exported for Mona UI's other entry points; applications don't need it. */
|
|
27
33
|
export interface DropdownPopupInput {
|
|
34
|
+
/** Whether the popup opens as a bottom sheet on a small screen. Dropdowns without the input never do. */
|
|
35
|
+
readonly adaptiveMode?: InputSignal<AdaptiveMode>;
|
|
36
|
+
/** The bottom sheet's title; the field's name when empty. */
|
|
37
|
+
readonly adaptiveTitle?: InputSignal<string>;
|
|
28
38
|
readonly close: OutputEmitterRef<PopupCloseEvent>;
|
|
29
39
|
readonly closed: OutputEmitterRef<void>;
|
|
30
40
|
readonly disabled: Signal<boolean>;
|
|
@@ -37,6 +47,113 @@ export interface DropdownPopupInput {
|
|
|
37
47
|
}
|
|
38
48
|
/** @hidden Exported for Mona UI's other entry points; applications don't need it. */
|
|
39
49
|
export declare const DROPDOWN_POPUP_INPUT_TOKEN: InjectionToken<DropdownPopupInput>;
|
|
50
|
+
/** What a dropdown passes to the bottom sheet its popup opens as. */
|
|
51
|
+
export interface DropdownSheetData {
|
|
52
|
+
/** The dropdown's popup template, shown below the sheet's header. */
|
|
53
|
+
readonly content: TemplateRef<unknown>;
|
|
54
|
+
/** The sheet's title: the dropdown's `adaptiveTitle`, or else its name. */
|
|
55
|
+
readonly title: Signal<string>;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* The bottom sheet a dropdown's popup opens as on a small screen (`adaptiveMode="auto"`): a header with the field's
|
|
59
|
+
* name and a close button, over the dropdown's own popup.
|
|
60
|
+
*
|
|
61
|
+
* Focus stays on the field, or in the popup's filter box, as it does in the popup under the field. So the sheet isn't a
|
|
62
|
+
* dialog, and its close button is for pointers; the keyboard closes it with Escape or Tab.
|
|
63
|
+
* @hidden Exported for Mona UI's other entry points; applications don't need it.
|
|
64
|
+
*/
|
|
65
|
+
export declare class DropdownSheetComponent {
|
|
66
|
+
#private;
|
|
67
|
+
protected readonly data: DropdownSheetData;
|
|
68
|
+
protected readonly messages: Signal<import("@nanahoshi/mona-ui/i18n").MonaDropdownsMessages>;
|
|
69
|
+
protected readonly sheetClass: string;
|
|
70
|
+
protected closeSheet(): void;
|
|
71
|
+
/** Keeps focus on the field (or in the filter box) when the sheet is pressed. */
|
|
72
|
+
protected onPointerDown(event: PointerEvent): void;
|
|
73
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownSheetComponent, never>;
|
|
74
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownSheetComponent, "mona-dropdown-sheet", never, {}, {}, never, never, true, never>;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* The popup of a dropdown tree and a multi-select tree: an optional filter box, the tree, and the header, footer and
|
|
78
|
+
* "no data" templates. The tree doesn't take focus. Its field keeps it (or the filter box does), and points
|
|
79
|
+
* `aria-activedescendant` at the active node.
|
|
80
|
+
* @hidden Exported for Mona UI's other entry points; applications don't need it.
|
|
81
|
+
*/
|
|
82
|
+
export declare class DropdownTreePopupComponent<T> {
|
|
83
|
+
#private;
|
|
84
|
+
protected readonly activeDescendant: import("@angular/core").Signal<string | null>;
|
|
85
|
+
protected readonly empty: import("@angular/core").Signal<boolean>;
|
|
86
|
+
protected readonly emptyText: import("@angular/core").Signal<string>;
|
|
87
|
+
protected readonly filterAriaLabel: import("@angular/core").Signal<string>;
|
|
88
|
+
protected readonly messages: import("@angular/core").Signal<import("@nanahoshi/mona-ui/i18n").MonaTreeViewMessages>;
|
|
89
|
+
protected readonly noDataId: import("@angular/core").Signal<string>;
|
|
90
|
+
protected readonly treeService: TreeService<T>;
|
|
91
|
+
/** The field's accessible name, which names the tree and its filter box. */
|
|
92
|
+
readonly ariaLabel: import("@angular/core").InputSignal<string>;
|
|
93
|
+
/** Ids of the elements that name the field, which name the tree too. */
|
|
94
|
+
readonly ariaLabelledBy: import("@angular/core").InputSignal<string>;
|
|
95
|
+
readonly footerTemplate: import("@angular/core").InputSignal<TemplateRef<unknown> | null | undefined>;
|
|
96
|
+
readonly headerTemplate: import("@angular/core").InputSignal<TemplateRef<unknown> | null | undefined>;
|
|
97
|
+
readonly itemTemplate: import("@angular/core").InputSignal<TemplateRef<unknown> | null | undefined>;
|
|
98
|
+
readonly noDataTemplate: import("@angular/core").InputSignal<TemplateRef<unknown> | null | undefined>;
|
|
99
|
+
/** Classes of the popup's surface. */
|
|
100
|
+
readonly popupClass: import("@angular/core").InputSignal<string>;
|
|
101
|
+
readonly size: import("@angular/core").InputSignal<"large" | "medium" | "small">;
|
|
102
|
+
/** The id of the tree, which the field's `aria-controls` points at. */
|
|
103
|
+
readonly treeId: import("@angular/core").InputSignal<string>;
|
|
104
|
+
constructor();
|
|
105
|
+
protected onFilterChange(event: FilterChangeEvent): void;
|
|
106
|
+
/** Keeps focus where it is (the field or the filter box) when a node or the popup's padding is pressed. */
|
|
107
|
+
protected onPointerDown(event: PointerEvent): void;
|
|
108
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownTreePopupComponent<any>, never>;
|
|
109
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownTreePopupComponent<any>, "mona-dropdown-tree-popup", never, {
|
|
110
|
+
"ariaLabel": {
|
|
111
|
+
"alias": "ariaLabel";
|
|
112
|
+
"required": false;
|
|
113
|
+
"isSignal": true;
|
|
114
|
+
};
|
|
115
|
+
"ariaLabelledBy": {
|
|
116
|
+
"alias": "ariaLabelledBy";
|
|
117
|
+
"required": false;
|
|
118
|
+
"isSignal": true;
|
|
119
|
+
};
|
|
120
|
+
"footerTemplate": {
|
|
121
|
+
"alias": "footerTemplate";
|
|
122
|
+
"required": false;
|
|
123
|
+
"isSignal": true;
|
|
124
|
+
};
|
|
125
|
+
"headerTemplate": {
|
|
126
|
+
"alias": "headerTemplate";
|
|
127
|
+
"required": false;
|
|
128
|
+
"isSignal": true;
|
|
129
|
+
};
|
|
130
|
+
"itemTemplate": {
|
|
131
|
+
"alias": "itemTemplate";
|
|
132
|
+
"required": false;
|
|
133
|
+
"isSignal": true;
|
|
134
|
+
};
|
|
135
|
+
"noDataTemplate": {
|
|
136
|
+
"alias": "noDataTemplate";
|
|
137
|
+
"required": false;
|
|
138
|
+
"isSignal": true;
|
|
139
|
+
};
|
|
140
|
+
"popupClass": {
|
|
141
|
+
"alias": "popupClass";
|
|
142
|
+
"required": false;
|
|
143
|
+
"isSignal": true;
|
|
144
|
+
};
|
|
145
|
+
"size": {
|
|
146
|
+
"alias": "size";
|
|
147
|
+
"required": false;
|
|
148
|
+
"isSignal": true;
|
|
149
|
+
};
|
|
150
|
+
"treeId": {
|
|
151
|
+
"alias": "treeId";
|
|
152
|
+
"required": true;
|
|
153
|
+
"isSignal": true;
|
|
154
|
+
};
|
|
155
|
+
}, {}, never, never, true, never>;
|
|
156
|
+
}
|
|
40
157
|
export declare class DropdownFilterableDirective {
|
|
41
158
|
#private;
|
|
42
159
|
/** @description Current filter text used to narrow the visible options. */
|
|
@@ -57,7 +174,7 @@ export declare class DropdownFilterableDirective {
|
|
|
57
174
|
readonly options: import("@angular/core").InputSignal<"" | Partial<FilterableOptions>>;
|
|
58
175
|
constructor();
|
|
59
176
|
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownFilterableDirective, never>;
|
|
60
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownFilterableDirective, " mona-auto-complete[monaDropDownFilterable], mona-dropdown-list[monaDropDownFilterable], mona-combo-box[monaDropDownFilterable], mona-multi-select[monaDropDownFilterable] ", never, {
|
|
177
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownFilterableDirective, " mona-auto-complete[monaDropDownFilterable], mona-dropdown-list[monaDropDownFilterable], mona-combo-box[monaDropDownFilterable], mona-dropdown-tree[monaDropDownFilterable], mona-multi-select[monaDropDownFilterable], mona-multi-select-tree[monaDropDownFilterable] ", never, {
|
|
61
178
|
"filter": {
|
|
62
179
|
"alias": "filter";
|
|
63
180
|
"required": false;
|
|
@@ -79,7 +196,7 @@ export declare class DropdownFilterableDirective {
|
|
|
79
196
|
}
|
|
80
197
|
export declare class DropdownFooterTemplateDirective {
|
|
81
198
|
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownFooterTemplateDirective, never>;
|
|
82
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownFooterTemplateDirective, " ng-template[monaDropDownFooterTemplate], ng-template[monaAutoCompleteFooterTemplate], ng-template[monaDropDownListFooterTemplate], ng-template[monaDropDownTreeFooterTemplate], ng-template[monaComboBoxFooterTemplate], ng-template[monaMultiSelectFooterTemplate] ", never, {}, {}, never, never, true, never>;
|
|
199
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownFooterTemplateDirective, " ng-template[monaDropDownFooterTemplate], ng-template[monaAutoCompleteFooterTemplate], ng-template[monaDropDownListFooterTemplate], ng-template[monaDropDownTreeFooterTemplate], ng-template[monaComboBoxFooterTemplate], ng-template[monaMultiSelectFooterTemplate], ng-template[monaMultiSelectTreeFooterTemplate] ", never, {}, {}, never, never, true, never>;
|
|
83
200
|
}
|
|
84
201
|
export declare class DropdownGroupHeaderTemplateDirective {
|
|
85
202
|
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownGroupHeaderTemplateDirective, never>;
|
|
@@ -111,15 +228,15 @@ export declare class DropdownGroupableDirective<TData> {
|
|
|
111
228
|
}
|
|
112
229
|
export declare class DropdownHeaderTemplateDirective {
|
|
113
230
|
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownHeaderTemplateDirective, never>;
|
|
114
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownHeaderTemplateDirective, " ng-template[monaDropDownHeaderTemplate], ng-template[monaAutoCompleteHeaderTemplate], ng-template[monaDropDownListHeaderTemplate], ng-template[monaDropDownTreeHeaderTemplate], ng-template[monaComboBoxHeaderTemplate], ng-template[monaMultiSelectHeaderTemplate]
|
|
231
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownHeaderTemplateDirective, " ng-template[monaDropDownHeaderTemplate], ng-template[monaAutoCompleteHeaderTemplate], ng-template[monaDropDownListHeaderTemplate], ng-template[monaDropDownTreeHeaderTemplate], ng-template[monaComboBoxHeaderTemplate], ng-template[monaMultiSelectHeaderTemplate], ng-template[monaMultiSelectTreeHeaderTemplate] ", never, {}, {}, never, never, true, never>;
|
|
115
232
|
}
|
|
116
233
|
export declare class DropdownItemTemplateDirective {
|
|
117
234
|
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownItemTemplateDirective, never>;
|
|
118
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownItemTemplateDirective, " ng-template[monaDropDownItemTemplate], ng-template[monaAutoCompleteItemTemplate], ng-template[monaDropDownListItemTemplate], ng-template[monaComboBoxItemTemplate], ng-template[monaMultiSelectItemTemplate] ", never, {}, {}, never, never, true, never>;
|
|
235
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownItemTemplateDirective, " ng-template[monaDropDownItemTemplate], ng-template[monaAutoCompleteItemTemplate], ng-template[monaDropDownListItemTemplate], ng-template[monaDropDownTreeItemTemplate], ng-template[monaComboBoxItemTemplate], ng-template[monaMultiSelectItemTemplate], ng-template[monaMultiSelectTreeItemTemplate] ", never, {}, {}, never, never, true, never>;
|
|
119
236
|
}
|
|
120
237
|
export declare class DropdownNoDataTemplateDirective {
|
|
121
238
|
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownNoDataTemplateDirective, never>;
|
|
122
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownNoDataTemplateDirective, " ng-template[monaDropDownNoDataTemplate], ng-template[monaAutoCompleteNoDataTemplate], ng-template[monaDropDownListNoDataTemplate], ng-template[monaDropDownTreeNoDataTemplate], ng-template[monaComboBoxNoDataTemplate], ng-template[monaMultiSelectNoDataTemplate] ", never, {}, {}, never, never, true, never>;
|
|
239
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownNoDataTemplateDirective, " ng-template[monaDropDownNoDataTemplate], ng-template[monaAutoCompleteNoDataTemplate], ng-template[monaDropDownListNoDataTemplate], ng-template[monaDropDownTreeNoDataTemplate], ng-template[monaComboBoxNoDataTemplate], ng-template[monaMultiSelectNoDataTemplate], ng-template[monaMultiSelectTreeNoDataTemplate] ", never, {}, {}, never, never, true, never>;
|
|
123
240
|
}
|
|
124
241
|
export declare class DropdownVirtualScrollDirective {
|
|
125
242
|
#private;
|
|
@@ -149,10 +266,28 @@ export declare class DropdownPopupHandlerDirective {
|
|
|
149
266
|
#private;
|
|
150
267
|
constructor();
|
|
151
268
|
private closePopup;
|
|
269
|
+
private createPopup;
|
|
270
|
+
/**
|
|
271
|
+
* Opens the popup as a sheet along the bottom of the screen, with the field's name and a close button above the
|
|
272
|
+
* dropdown's popup content. Focus stays where it is, as with the popup under the field.
|
|
273
|
+
*/
|
|
274
|
+
private createSheet;
|
|
275
|
+
/**
|
|
276
|
+
* Keeps the sheet on the bottom edge of what is visible. An on-screen keyboard (opened by the filter box) shrinks
|
|
277
|
+
* the visual viewport but not the layout viewport the overlay is placed in, so the sheet is lifted above it.
|
|
278
|
+
*/
|
|
279
|
+
private followVisualViewport;
|
|
152
280
|
private getMaxHeight;
|
|
153
281
|
private getMinWidth;
|
|
154
282
|
private openPopup;
|
|
283
|
+
/** Whether the popup opens as a bottom sheet: with `adaptiveMode="auto"`, on a small screen. */
|
|
284
|
+
private opensAsSheet;
|
|
155
285
|
private setPopupCloseSubscriptions;
|
|
286
|
+
/**
|
|
287
|
+
* The bottom sheet's title: the host's `adaptiveTitle`, or else its accessible name (`aria-labelledby` first, as
|
|
288
|
+
* assistive technology reads it, then `aria-label`).
|
|
289
|
+
*/
|
|
290
|
+
private sheetTitle;
|
|
156
291
|
private togglePopup;
|
|
157
292
|
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownPopupHandlerDirective, never>;
|
|
158
293
|
static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownPopupHandlerDirective, "[monaDropdownPopupHandler]", never, {}, {}, never, never, true, never>;
|
|
@@ -198,6 +333,36 @@ export declare class DropdownSuffixTemplateDirective {
|
|
|
198
333
|
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownSuffixTemplateDirective, never>;
|
|
199
334
|
static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownSuffixTemplateDirective, "ng-template[monaDropdownSuffixTemplate]", never, {}, {}, never, never, true, never>;
|
|
200
335
|
}
|
|
336
|
+
/**
|
|
337
|
+
* Opens and closes the popup of a dropdown tree or a multi-select tree, and moves through its tree.
|
|
338
|
+
*
|
|
339
|
+
* The field keeps focus, or the popup's filter box does, and the tree follows: the arrow keys, Home, End, `*` and
|
|
340
|
+
* typeahead move its active node the way they move a focused tree's. Enter and Space go to the component through
|
|
341
|
+
* `DropdownService.keydown$`, to select or check the active node.
|
|
342
|
+
*
|
|
343
|
+
* When the popup opens, the selected node (or the first checked one) becomes the active node, with its ancestors
|
|
344
|
+
* opened; without one, the first node does. As the filter changes, its first match does. Closing the popup clears
|
|
345
|
+
* the filter.
|
|
346
|
+
* @hidden Exported for Mona UI's other entry points; applications don't need it.
|
|
347
|
+
*/
|
|
348
|
+
export declare class DropdownTreePopupHandlerDirective<T> {
|
|
349
|
+
#private;
|
|
350
|
+
constructor();
|
|
351
|
+
/** Makes the selected node, or else the first checked one, the active node, opening its ancestors to show it. */
|
|
352
|
+
private activateCurrentNode;
|
|
353
|
+
private closePopup;
|
|
354
|
+
/** Arrow keys and Enter pressed in the popup's filter box. */
|
|
355
|
+
private handleFilterKeydown;
|
|
356
|
+
private handleHostKeydown;
|
|
357
|
+
private navigate;
|
|
358
|
+
private setHostEvents;
|
|
359
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownTreePopupHandlerDirective<any>, never>;
|
|
360
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownTreePopupHandlerDirective<any>, "[monaDropdownTreePopupHandler]", never, {}, {}, never, never, true, [{
|
|
361
|
+
directive: typeof DropdownPopupHandlerDirective;
|
|
362
|
+
inputs: {};
|
|
363
|
+
outputs: {};
|
|
364
|
+
}]>;
|
|
365
|
+
}
|
|
201
366
|
/**
|
|
202
367
|
* @hidden
|
|
203
368
|
* The state one dropdown shares with its popup handlers and live region. Each dropdown provides its own; the date and
|
|
@@ -243,6 +408,11 @@ export declare class DropdownService {
|
|
|
243
408
|
* The auto-complete sets it to `false`.
|
|
244
409
|
*/
|
|
245
410
|
readonly restoreFocus: import("@angular/core").WritableSignal<boolean | "auto">;
|
|
411
|
+
/**
|
|
412
|
+
* Whether the open popup is a bottom sheet (`adaptiveMode="auto"` on a small screen). The dropdowns style their
|
|
413
|
+
* popup content for it. `false` while the popup is closed.
|
|
414
|
+
*/
|
|
415
|
+
readonly sheet: import("@angular/core").WritableSignal<boolean>;
|
|
246
416
|
/**
|
|
247
417
|
* Opens the popup with the given settings when it is closed. Does nothing while the host is disabled or read-only,
|
|
248
418
|
* or when the `open` event is prevented.
|
|
@@ -263,9 +433,29 @@ export declare class DropdownListService<TData = unknown> {
|
|
|
263
433
|
}
|
|
264
434
|
/** @hidden Exported for Mona UI's other entry points; applications don't need it. */
|
|
265
435
|
export declare const dropdownPopupThemeVariants: (props?: ({
|
|
266
|
-
rounded?: "none" | "
|
|
267
|
-
size?: "
|
|
436
|
+
rounded?: "none" | "large" | "medium" | "small" | "full" | null | undefined;
|
|
437
|
+
size?: "large" | "medium" | "small" | null | undefined;
|
|
268
438
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
269
439
|
export type DropdownPopupVariantProps = VariantProps<typeof dropdownPopupThemeVariants>;
|
|
270
440
|
export type DropdownPopupVariantInput = VariantInputs<DropdownPopupVariantProps>;
|
|
271
|
-
|
|
441
|
+
/**
|
|
442
|
+
* The bottom sheet a dropdown's popup opens as on a small screen. Its rounded top edge faces the page; the bottom
|
|
443
|
+
* padding keeps the content above the home indicator. `overflow-clip`, not `hidden`, so content that takes focus
|
|
444
|
+
* during the slide-in can't scroll the sheet and cancel the animation.
|
|
445
|
+
* @hidden Exported for Mona UI's other entry points; applications don't need it.
|
|
446
|
+
*/
|
|
447
|
+
export declare const dropdownSheetThemeVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
448
|
+
/**
|
|
449
|
+
* A dropdown's popup surface inside the bottom sheet: the sheet draws the border, corners and shadow, and sets the
|
|
450
|
+
* height, so the surface only fills it. Options and nodes are 44 pixels tall there, to be easy to tap.
|
|
451
|
+
* @hidden Exported for Mona UI's other entry points; applications don't need it.
|
|
452
|
+
*/
|
|
453
|
+
export declare const dropdownSheetSurfaceClasses = "\n h-full max-h-none flex-1 rounded-none border-0 shadow-none text-base\n [&_[role=option]]:min-h-11 [&_mona-tree-node>div]:py-2.5\n";
|
|
454
|
+
/**
|
|
455
|
+
* Reads a dropdown field from an item: a property of it when the field is a name, or what the field returns when it
|
|
456
|
+
* is an accessor. Without a field, the item itself.
|
|
457
|
+
* @hidden Exported for Mona UI's other entry points; applications don't need it.
|
|
458
|
+
*/
|
|
459
|
+
export declare function readDropdownField<TData>(item: TData, field: DropdownFieldPredicateType<TData> | DropdownFieldSelectorType<TData>): unknown;
|
|
460
|
+
export declare const DROPDOWNS_DEFAULT_MESSAGES: MonaDropdownsMessages;
|
|
461
|
+
export type { AdaptiveMode };
|
|
@@ -323,7 +323,12 @@ export type DialogMessages = MonaDialogMessages;
|
|
|
323
323
|
export interface MonaDropdownListMessages {
|
|
324
324
|
readonly clear: string;
|
|
325
325
|
}
|
|
326
|
+
export interface MonaDropdownTreeMessages {
|
|
327
|
+
readonly clear: string;
|
|
328
|
+
}
|
|
326
329
|
export interface MonaDropdownsMessages {
|
|
330
|
+
/** The button that closes a dropdown's popup when it opens as a bottom sheet on a small screen. */
|
|
331
|
+
readonly close: string;
|
|
327
332
|
readonly itemPosition: (text: string, position: number, total: number) => string;
|
|
328
333
|
readonly noResultsFound: string;
|
|
329
334
|
readonly resultsAvailable: (count: number) => string;
|
|
@@ -758,6 +763,11 @@ export interface MonaMultiSelectMessages {
|
|
|
758
763
|
/** The option at the top of the list that selects every item shown, or clears them when they're all selected. */
|
|
759
764
|
readonly selectAll: string;
|
|
760
765
|
}
|
|
766
|
+
export interface MonaMultiSelectTreeMessages {
|
|
767
|
+
readonly clear: string;
|
|
768
|
+
readonly itemsCount: (count: number) => string;
|
|
769
|
+
readonly removeMoreItems: (count: number) => string;
|
|
770
|
+
}
|
|
761
771
|
export interface MonaNotificationMessages {
|
|
762
772
|
readonly close: string;
|
|
763
773
|
readonly error: string;
|
|
@@ -990,6 +1000,7 @@ export interface MonaLocaleMessages {
|
|
|
990
1000
|
dateTimePicker: MonaDateTimePickerMessages;
|
|
991
1001
|
dialog: MonaDialogMessages;
|
|
992
1002
|
dropdownList: MonaDropdownListMessages;
|
|
1003
|
+
dropdownTree: MonaDropdownTreeMessages;
|
|
993
1004
|
dropdowns: MonaDropdownsMessages;
|
|
994
1005
|
editor: MonaEditorMessages;
|
|
995
1006
|
fileUpload: MonaFileUploadMessages;
|
|
@@ -1001,6 +1012,7 @@ export interface MonaLocaleMessages {
|
|
|
1001
1012
|
listBox: MonaListBoxMessages;
|
|
1002
1013
|
maskedTextBox: MonaMaskedTextBoxMessages;
|
|
1003
1014
|
multiSelect: MonaMultiSelectMessages;
|
|
1015
|
+
multiSelectTree: MonaMultiSelectTreeMessages;
|
|
1004
1016
|
notification: MonaNotificationMessages;
|
|
1005
1017
|
numericTextBox: MonaNumericTextBoxMessages;
|
|
1006
1018
|
otpInput: MonaOtpInputMessages;
|
|
@@ -238,6 +238,8 @@ export declare class TreeService<T> {
|
|
|
238
238
|
readonly blur$: Subject<FocusEvent>;
|
|
239
239
|
readonly checkBy: import("@angular/core").WritableSignal<NodeKeySelector<T>>;
|
|
240
240
|
readonly checkableOptions: import("@angular/core").WritableSignal<CheckableOptions>;
|
|
241
|
+
/** The keys of the checked nodes, whether the user checked them or they were set from code. */
|
|
242
|
+
readonly checkedKeys: import("@angular/core").Signal<ImmutableSet<unknown>>;
|
|
241
243
|
/**
|
|
242
244
|
* The checked keys after the user checks or unchecks a node. Keys set from code, and keys the tree derives on its
|
|
243
245
|
* own (parents with `checkParents`, lazily loaded children of a checked node, ancestors after a move), aren't
|
|
@@ -320,6 +322,8 @@ export declare class TreeService<T> {
|
|
|
320
322
|
* nodes, the node of the same data item (or, for flat data, of the same id).
|
|
321
323
|
*/
|
|
322
324
|
findCounterpart(node: TreeNode<T>): TreeNode<T> | null;
|
|
325
|
+
/** The first node, in the tree's order, whose text matches the filter. `null` without a filter or a match. */
|
|
326
|
+
findFirstMatch(): TreeNode<T> | null;
|
|
323
327
|
/**
|
|
324
328
|
* Finds the next visible node whose text starts with `prefix` (case-insensitive), wrapping around. Used for
|
|
325
329
|
* typeahead: a first character searches after the navigated node, and each further character keeps the
|
|
@@ -467,6 +471,11 @@ export declare class TreeComponent<T> {
|
|
|
467
471
|
readonly ariaLabel: import("@angular/core").InputSignal<string>;
|
|
468
472
|
readonly ariaLabelledBy: import("@angular/core").InputSignal<string>;
|
|
469
473
|
readonly data: import("@angular/core").InputSignal<Iterable<T> | undefined>;
|
|
474
|
+
/**
|
|
475
|
+
* Whether the tree takes focus itself. A dropdown's popup tree doesn't: its field keeps focus, drives the tree
|
|
476
|
+
* through the `TreeService`, and points `aria-activedescendant` at the active node.
|
|
477
|
+
*/
|
|
478
|
+
readonly focusable: import("@angular/core").InputSignal<boolean>;
|
|
470
479
|
readonly nodeTemplate: import("@angular/core").Signal<TemplateRef<any> | undefined>;
|
|
471
480
|
readonly treeService: TreeService<T>;
|
|
472
481
|
constructor();
|
|
@@ -493,6 +502,8 @@ export declare class TreeComponent<T> {
|
|
|
493
502
|
*/
|
|
494
503
|
private moveWithKeyboard;
|
|
495
504
|
private notifyDropPositionChange;
|
|
505
|
+
/** Scrolls the node's row, not its open subtree, into view. "nearest" leaves a row that is already visible alone. */
|
|
506
|
+
private scrollNodeIntoView;
|
|
496
507
|
private setFocusSubscription;
|
|
497
508
|
private setKeydownSubscription;
|
|
498
509
|
private setNodeDragHandlerSubscription;
|
|
@@ -520,6 +531,11 @@ export declare class TreeComponent<T> {
|
|
|
520
531
|
"required": false;
|
|
521
532
|
"isSignal": true;
|
|
522
533
|
};
|
|
534
|
+
"focusable": {
|
|
535
|
+
"alias": "focusable";
|
|
536
|
+
"required": false;
|
|
537
|
+
"isSignal": true;
|
|
538
|
+
};
|
|
523
539
|
}, {}, ["nodeTemplate"], never, true, never>;
|
|
524
540
|
}
|
|
525
541
|
export declare class TreeNodeTemplateDirective {
|
|
@@ -537,6 +553,26 @@ interface ChildrenLoadErrorEvent<T> {
|
|
|
537
553
|
/** The node whose children failed to load. */
|
|
538
554
|
readonly node: NodeItem<T>;
|
|
539
555
|
}
|
|
556
|
+
export declare function getTreeNodeElementId(uid: string): string;
|
|
557
|
+
/** What {@link handleTreeNavigationKey} needs besides the key. */
|
|
558
|
+
export interface TreeNavigationKeyContext<T> {
|
|
559
|
+
/** Whether the tree is laid out right to left, which swaps the expand and collapse keys. */
|
|
560
|
+
readonly rtl: boolean;
|
|
561
|
+
readonly treeService: TreeService<T>;
|
|
562
|
+
/** Takes a typed character for typeahead. Space isn't passed: a tree uses it to check nodes. */
|
|
563
|
+
readonly typeahead: (key: string) => void;
|
|
564
|
+
}
|
|
565
|
+
/**
|
|
566
|
+
* Moves through a tree the way the WAI-ARIA tree pattern does: the arrow keys move the active node and open or close
|
|
567
|
+
* it, Home and End go to the first and last node, `*` opens the node's siblings, and printable characters go to
|
|
568
|
+
* typeahead. Space and Enter are left to the caller, which checks or selects with them. Keys with Ctrl, Alt or Meta
|
|
569
|
+
* are left alone.
|
|
570
|
+
*
|
|
571
|
+
* The tree uses it for its own keys, and a dropdown tree for the keys of its field, which keeps focus while its popup
|
|
572
|
+
* tree follows.
|
|
573
|
+
* @returns whether the key was handled, in which case its default action is prevented.
|
|
574
|
+
*/
|
|
575
|
+
export declare function handleTreeNavigationKey<T>(event: KeyboardEvent, context: TreeNavigationKeyContext<T>): boolean;
|
|
540
576
|
/**
|
|
541
577
|
* Moves a node within a generic flat tree structure that uses parentId references.
|
|
542
578
|
* @param treeData - The flat array of tree nodes.
|
|
@@ -213,7 +213,11 @@ export declare const MONA_AR_SA_LOCALE: {
|
|
|
213
213
|
dropdownList: {
|
|
214
214
|
clear: string;
|
|
215
215
|
};
|
|
216
|
+
dropdownTree: {
|
|
217
|
+
clear: string;
|
|
218
|
+
};
|
|
216
219
|
dropdowns: {
|
|
220
|
+
close: string;
|
|
217
221
|
itemPosition: (text: string, position: number, total: number) => string;
|
|
218
222
|
noResultsFound: string;
|
|
219
223
|
resultsAvailable: (count: number) => string;
|
|
@@ -478,6 +482,11 @@ export declare const MONA_AR_SA_LOCALE: {
|
|
|
478
482
|
removeMoreItems: (count: number) => string;
|
|
479
483
|
selectAll: string;
|
|
480
484
|
};
|
|
485
|
+
multiSelectTree: {
|
|
486
|
+
clear: string;
|
|
487
|
+
itemsCount: (count: number) => string;
|
|
488
|
+
removeMoreItems: (count: number) => string;
|
|
489
|
+
};
|
|
481
490
|
notification: {
|
|
482
491
|
close: string;
|
|
483
492
|
error: string;
|
|
@@ -213,7 +213,11 @@ export declare const MONA_DE_DE_LOCALE: {
|
|
|
213
213
|
dropdownList: {
|
|
214
214
|
clear: string;
|
|
215
215
|
};
|
|
216
|
+
dropdownTree: {
|
|
217
|
+
clear: string;
|
|
218
|
+
};
|
|
216
219
|
dropdowns: {
|
|
220
|
+
close: string;
|
|
217
221
|
itemPosition: (text: string, position: number, total: number) => string;
|
|
218
222
|
noResultsFound: string;
|
|
219
223
|
resultsAvailable: (count: number) => string;
|
|
@@ -478,6 +482,11 @@ export declare const MONA_DE_DE_LOCALE: {
|
|
|
478
482
|
removeMoreItems: (count: number) => string;
|
|
479
483
|
selectAll: string;
|
|
480
484
|
};
|
|
485
|
+
multiSelectTree: {
|
|
486
|
+
clear: string;
|
|
487
|
+
itemsCount: (count: number) => string;
|
|
488
|
+
removeMoreItems: (count: number) => string;
|
|
489
|
+
};
|
|
481
490
|
notification: {
|
|
482
491
|
close: string;
|
|
483
492
|
error: string;
|
|
@@ -213,7 +213,11 @@ export declare const MONA_ES_ES_LOCALE: {
|
|
|
213
213
|
dropdownList: {
|
|
214
214
|
clear: string;
|
|
215
215
|
};
|
|
216
|
+
dropdownTree: {
|
|
217
|
+
clear: string;
|
|
218
|
+
};
|
|
216
219
|
dropdowns: {
|
|
220
|
+
close: string;
|
|
217
221
|
itemPosition: (text: string, position: number, total: number) => string;
|
|
218
222
|
noResultsFound: string;
|
|
219
223
|
resultsAvailable: (count: number) => string;
|
|
@@ -478,6 +482,11 @@ export declare const MONA_ES_ES_LOCALE: {
|
|
|
478
482
|
removeMoreItems: (count: number) => string;
|
|
479
483
|
selectAll: string;
|
|
480
484
|
};
|
|
485
|
+
multiSelectTree: {
|
|
486
|
+
clear: string;
|
|
487
|
+
itemsCount: (count: number) => string;
|
|
488
|
+
removeMoreItems: (count: number) => string;
|
|
489
|
+
};
|
|
481
490
|
notification: {
|
|
482
491
|
close: string;
|
|
483
492
|
error: string;
|
|
@@ -213,7 +213,11 @@ export declare const MONA_FR_FR_LOCALE: {
|
|
|
213
213
|
dropdownList: {
|
|
214
214
|
clear: string;
|
|
215
215
|
};
|
|
216
|
+
dropdownTree: {
|
|
217
|
+
clear: string;
|
|
218
|
+
};
|
|
216
219
|
dropdowns: {
|
|
220
|
+
close: string;
|
|
217
221
|
itemPosition: (text: string, position: number, total: number) => string;
|
|
218
222
|
noResultsFound: string;
|
|
219
223
|
resultsAvailable: (count: number) => string;
|
|
@@ -478,6 +482,11 @@ export declare const MONA_FR_FR_LOCALE: {
|
|
|
478
482
|
removeMoreItems: (count: number) => string;
|
|
479
483
|
selectAll: string;
|
|
480
484
|
};
|
|
485
|
+
multiSelectTree: {
|
|
486
|
+
clear: string;
|
|
487
|
+
itemsCount: (count: number) => string;
|
|
488
|
+
removeMoreItems: (count: number) => string;
|
|
489
|
+
};
|
|
481
490
|
notification: {
|
|
482
491
|
close: string;
|
|
483
492
|
error: string;
|
|
@@ -213,7 +213,11 @@ export declare const MONA_ID_ID_LOCALE: {
|
|
|
213
213
|
dropdownList: {
|
|
214
214
|
clear: string;
|
|
215
215
|
};
|
|
216
|
+
dropdownTree: {
|
|
217
|
+
clear: string;
|
|
218
|
+
};
|
|
216
219
|
dropdowns: {
|
|
220
|
+
close: string;
|
|
217
221
|
itemPosition: (text: string, position: number, total: number) => string;
|
|
218
222
|
noResultsFound: string;
|
|
219
223
|
resultsAvailable: (count: number) => string;
|
|
@@ -478,6 +482,11 @@ export declare const MONA_ID_ID_LOCALE: {
|
|
|
478
482
|
removeMoreItems: (count: number) => string;
|
|
479
483
|
selectAll: string;
|
|
480
484
|
};
|
|
485
|
+
multiSelectTree: {
|
|
486
|
+
clear: string;
|
|
487
|
+
itemsCount: (count: number) => string;
|
|
488
|
+
removeMoreItems: (count: number) => string;
|
|
489
|
+
};
|
|
481
490
|
notification: {
|
|
482
491
|
close: string;
|
|
483
492
|
error: string;
|
|
@@ -213,7 +213,11 @@ export declare const MONA_IT_IT_LOCALE: {
|
|
|
213
213
|
dropdownList: {
|
|
214
214
|
clear: string;
|
|
215
215
|
};
|
|
216
|
+
dropdownTree: {
|
|
217
|
+
clear: string;
|
|
218
|
+
};
|
|
216
219
|
dropdowns: {
|
|
220
|
+
close: string;
|
|
217
221
|
itemPosition: (text: string, position: number, total: number) => string;
|
|
218
222
|
noResultsFound: string;
|
|
219
223
|
resultsAvailable: (count: number) => string;
|
|
@@ -478,6 +482,11 @@ export declare const MONA_IT_IT_LOCALE: {
|
|
|
478
482
|
removeMoreItems: (count: number) => string;
|
|
479
483
|
selectAll: string;
|
|
480
484
|
};
|
|
485
|
+
multiSelectTree: {
|
|
486
|
+
clear: string;
|
|
487
|
+
itemsCount: (count: number) => string;
|
|
488
|
+
removeMoreItems: (count: number) => string;
|
|
489
|
+
};
|
|
481
490
|
notification: {
|
|
482
491
|
close: string;
|
|
483
492
|
error: string;
|
|
@@ -213,7 +213,11 @@ export declare const MONA_JA_JP_LOCALE: {
|
|
|
213
213
|
dropdownList: {
|
|
214
214
|
clear: string;
|
|
215
215
|
};
|
|
216
|
+
dropdownTree: {
|
|
217
|
+
clear: string;
|
|
218
|
+
};
|
|
216
219
|
dropdowns: {
|
|
220
|
+
close: string;
|
|
217
221
|
itemPosition: (text: string, position: number, total: number) => string;
|
|
218
222
|
noResultsFound: string;
|
|
219
223
|
resultsAvailable: (count: number) => string;
|
|
@@ -478,6 +482,11 @@ export declare const MONA_JA_JP_LOCALE: {
|
|
|
478
482
|
removeMoreItems: (count: number) => string;
|
|
479
483
|
selectAll: string;
|
|
480
484
|
};
|
|
485
|
+
multiSelectTree: {
|
|
486
|
+
clear: string;
|
|
487
|
+
itemsCount: (count: number) => string;
|
|
488
|
+
removeMoreItems: (count: number) => string;
|
|
489
|
+
};
|
|
481
490
|
notification: {
|
|
482
491
|
close: string;
|
|
483
492
|
error: string;
|
|
@@ -213,7 +213,11 @@ export declare const MONA_KO_KR_LOCALE: {
|
|
|
213
213
|
dropdownList: {
|
|
214
214
|
clear: string;
|
|
215
215
|
};
|
|
216
|
+
dropdownTree: {
|
|
217
|
+
clear: string;
|
|
218
|
+
};
|
|
216
219
|
dropdowns: {
|
|
220
|
+
close: string;
|
|
217
221
|
itemPosition: (text: string, position: number, total: number) => string;
|
|
218
222
|
noResultsFound: string;
|
|
219
223
|
resultsAvailable: (count: number) => string;
|
|
@@ -478,6 +482,11 @@ export declare const MONA_KO_KR_LOCALE: {
|
|
|
478
482
|
removeMoreItems: (count: number) => string;
|
|
479
483
|
selectAll: string;
|
|
480
484
|
};
|
|
485
|
+
multiSelectTree: {
|
|
486
|
+
clear: string;
|
|
487
|
+
itemsCount: (count: number) => string;
|
|
488
|
+
removeMoreItems: (count: number) => string;
|
|
489
|
+
};
|
|
481
490
|
notification: {
|
|
482
491
|
close: string;
|
|
483
492
|
error: string;
|
|
@@ -213,7 +213,11 @@ export declare const MONA_PL_PL_LOCALE: {
|
|
|
213
213
|
dropdownList: {
|
|
214
214
|
clear: string;
|
|
215
215
|
};
|
|
216
|
+
dropdownTree: {
|
|
217
|
+
clear: string;
|
|
218
|
+
};
|
|
216
219
|
dropdowns: {
|
|
220
|
+
close: string;
|
|
217
221
|
itemPosition: (text: string, position: number, total: number) => string;
|
|
218
222
|
noResultsFound: string;
|
|
219
223
|
resultsAvailable: (count: number) => string;
|
|
@@ -478,6 +482,11 @@ export declare const MONA_PL_PL_LOCALE: {
|
|
|
478
482
|
removeMoreItems: (count: number) => string;
|
|
479
483
|
selectAll: string;
|
|
480
484
|
};
|
|
485
|
+
multiSelectTree: {
|
|
486
|
+
clear: string;
|
|
487
|
+
itemsCount: (count: number) => string;
|
|
488
|
+
removeMoreItems: (count: number) => string;
|
|
489
|
+
};
|
|
481
490
|
notification: {
|
|
482
491
|
close: string;
|
|
483
492
|
error: string;
|
|
@@ -213,7 +213,11 @@ export declare const MONA_PT_BR_LOCALE: {
|
|
|
213
213
|
dropdownList: {
|
|
214
214
|
clear: string;
|
|
215
215
|
};
|
|
216
|
+
dropdownTree: {
|
|
217
|
+
clear: string;
|
|
218
|
+
};
|
|
216
219
|
dropdowns: {
|
|
220
|
+
close: string;
|
|
217
221
|
itemPosition: (text: string, position: number, total: number) => string;
|
|
218
222
|
noResultsFound: string;
|
|
219
223
|
resultsAvailable: (count: number) => string;
|
|
@@ -478,6 +482,11 @@ export declare const MONA_PT_BR_LOCALE: {
|
|
|
478
482
|
removeMoreItems: (count: number) => string;
|
|
479
483
|
selectAll: string;
|
|
480
484
|
};
|
|
485
|
+
multiSelectTree: {
|
|
486
|
+
clear: string;
|
|
487
|
+
itemsCount: (count: number) => string;
|
|
488
|
+
removeMoreItems: (count: number) => string;
|
|
489
|
+
};
|
|
481
490
|
notification: {
|
|
482
491
|
close: string;
|
|
483
492
|
error: string;
|