@progress/kendo-angular-dropdowns 24.2.2-develop.9 → 25.0.0-develop.1
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/fesm2022/progress-kendo-angular-dropdowns.mjs +170 -170
- package/index.d.ts +5796 -65
- package/package-metadata.mjs +2 -2
- package/package.json +15 -15
- package/schematics/ngAdd/index.js +2 -2
- package/autocomplete/autocomplete.component.d.ts +0 -524
- package/autocomplete/autocomplete.module.d.ts +0 -45
- package/comboboxes/combobox-column/column-cell-template.directive.d.ts +0 -33
- package/comboboxes/combobox-column/column-header-template.directive.d.ts +0 -31
- package/comboboxes/combobox-column/combobox-column.component.d.ts +0 -91
- package/comboboxes/combobox-column/util.d.ts +0 -15
- package/comboboxes/combobox.component.d.ts +0 -632
- package/comboboxes/combobox.module.d.ts +0 -52
- package/comboboxes/multicolumncombobox.component.d.ts +0 -116
- package/common/adaptive-renderer.component.d.ts +0 -44
- package/common/constants/error-messages.d.ts +0 -61
- package/common/data.service.d.ts +0 -90
- package/common/disabled-items/disabled-items.service.d.ts +0 -20
- package/common/disabled-items/item-disabled.d.ts +0 -21
- package/common/filter-input.directive.d.ts +0 -19
- package/common/filtering/filter-settings.d.ts +0 -55
- package/common/filtering/filter.directive.d.ts +0 -65
- package/common/filtering/filterable-component.d.ts +0 -35
- package/common/list-item.directive.d.ts +0 -15
- package/common/list.component.d.ts +0 -145
- package/common/localization/custom-messages.component.d.ts +0 -70
- package/common/localization/localized-messages.directive.d.ts +0 -16
- package/common/localization/messages.d.ts +0 -55
- package/common/models/checkboxes-settings.d.ts +0 -27
- package/common/models/direction.d.ts +0 -8
- package/common/models/fillmode.d.ts +0 -8
- package/common/models/list-type.d.ts +0 -8
- package/common/models/page-change-event.d.ts +0 -18
- package/common/models/popup-settings.d.ts +0 -46
- package/common/models/preventable-event.d.ts +0 -21
- package/common/models/remove-tag-event.d.ts +0 -20
- package/common/models/rounded.d.ts +0 -8
- package/common/models/size.d.ts +0 -8
- package/common/models/virtualization-settings.d.ts +0 -49
- package/common/navigation/navigation-action.d.ts +0 -30
- package/common/navigation/navigation.service.d.ts +0 -55
- package/common/searchbar.component.d.ts +0 -95
- package/common/selection/selectable.directive.d.ts +0 -24
- package/common/selection/selection.service.d.ts +0 -54
- package/common/shared-events.directive.d.ts +0 -27
- package/common/taglist.component.d.ts +0 -57
- package/common/templates/custom-item-template.directive.d.ts +0 -39
- package/common/templates/fixed-group-template.directive.d.ts +0 -46
- package/common/templates/footer-template.directive.d.ts +0 -40
- package/common/templates/group-tag-template.directive.d.ts +0 -38
- package/common/templates/group-template.directive.d.ts +0 -46
- package/common/templates/header-template.directive.d.ts +0 -40
- package/common/templates/item-template.directive.d.ts +0 -39
- package/common/templates/no-data-template.directive.d.ts +0 -40
- package/common/templates/tag-template.directive.d.ts +0 -37
- package/common/templates/value-template.directive.d.ts +0 -41
- package/common/util.d.ts +0 -204
- package/directives.d.ts +0 -67
- package/dropdownlist/dropdownlist.component.d.ts +0 -564
- package/dropdownlist/dropdownlist.module.d.ts +0 -54
- package/dropdowns.module.d.ts +0 -60
- package/dropdowntrees/checked-state/base-check.directive.d.ts +0 -46
- package/dropdowntrees/checked-state/check-all.directive.d.ts +0 -53
- package/dropdowntrees/checked-state/check.directive.d.ts +0 -53
- package/dropdowntrees/checked-state/checkable-settings.d.ts +0 -19
- package/dropdowntrees/checked-state/checked-item.d.ts +0 -28
- package/dropdowntrees/data-binding/dropdowntree/flat-binding.directive.d.ts +0 -38
- package/dropdowntrees/data-binding/dropdowntree/hierarchy-binding.directive.d.ts +0 -34
- package/dropdowntrees/data-binding/multiselecttree/flat-binding.directive.d.ts +0 -38
- package/dropdowntrees/data-binding/multiselecttree/hierarchy-binding.directive.d.ts +0 -34
- package/dropdowntrees/dropdowntree.component.d.ts +0 -622
- package/dropdowntrees/dropdowntrees.module.d.ts +0 -45
- package/dropdowntrees/expanded-state/expand.directive.d.ts +0 -33
- package/dropdowntrees/lookup/lookup.d.ts +0 -51
- package/dropdowntrees/lookup/lookup.service.d.ts +0 -32
- package/dropdowntrees/multiselecttree.component.d.ts +0 -709
- package/dropdowntrees/summary-tag/summary-tag.directive.d.ts +0 -39
- package/dropdowntrees/templates/node-template.directive.d.ts +0 -22
- package/multiselect/multiselect.component.d.ts +0 -647
- package/multiselect/multiselect.module.d.ts +0 -54
- package/multiselect/summary-tag.directive.d.ts +0 -36
- package/package-metadata.d.ts +0 -9
|
@@ -1,622 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { OnInit, OnDestroy, ElementRef, EventEmitter, NgZone, Renderer2, TemplateRef, ChangeDetectorRef, SimpleChanges, OnChanges, ViewContainerRef, AfterContentChecked, Injector } from '@angular/core';
|
|
6
|
-
import { AdaptiveSize, AdaptiveService } from '@progress/kendo-angular-utils';
|
|
7
|
-
import { PopupRef, PopupService } from '@progress/kendo-angular-popup';
|
|
8
|
-
import { TreeItem, TreeViewComponent, DataBoundComponent, ExpandableComponent } from '@progress/kendo-angular-treeview';
|
|
9
|
-
import { ControlValueAccessor, FormControl } from '@angular/forms';
|
|
10
|
-
import { NavigationService } from '../common/navigation/navigation.service';
|
|
11
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
12
|
-
import { PreventableEvent } from '../common/models/preventable-event';
|
|
13
|
-
import { AdaptiveMode } from '../common/util';
|
|
14
|
-
import { NoDataTemplateDirective } from '../common/templates/no-data-template.directive';
|
|
15
|
-
import { PopupSettings } from '../common/models/popup-settings';
|
|
16
|
-
import { Direction } from '../common/models/direction';
|
|
17
|
-
import { Observable } from 'rxjs';
|
|
18
|
-
import { HeaderTemplateDirective } from '../common/templates/header-template.directive';
|
|
19
|
-
import { FooterTemplateDirective } from '../common/templates/footer-template.directive';
|
|
20
|
-
import { NodeTemplateDirective } from './templates/node-template.directive';
|
|
21
|
-
import { ValueTemplateDirective } from '../common/templates/value-template.directive';
|
|
22
|
-
import { DropDownSize } from '../common/models/size';
|
|
23
|
-
import { DropDownRounded } from '../common/models/rounded';
|
|
24
|
-
import { DropDownFillMode } from '../common/models/fillmode';
|
|
25
|
-
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
26
|
-
import { ActionSheetComponent } from '@progress/kendo-angular-navigation';
|
|
27
|
-
import { TextBoxComponent } from '@progress/kendo-angular-inputs';
|
|
28
|
-
import { AdaptiveRendererComponent } from '../common/adaptive-renderer.component';
|
|
29
|
-
import * as i0 from "@angular/core";
|
|
30
|
-
/**
|
|
31
|
-
* Represents the [Kendo UI DropDownTree component for Angular](https://www.telerik.com/kendo-angular-ui/components/dropdowns/dropdowntree).
|
|
32
|
-
* @example
|
|
33
|
-
* ```html
|
|
34
|
-
* <kendo-dropdowntree [data]="data" textField="text" valueField="value"></kendo-dropdowntree>
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @remarks
|
|
38
|
-
* Supported children components are: {@link CustomMessagesComponent}.
|
|
39
|
-
*/
|
|
40
|
-
export declare class DropDownTreeComponent implements OnInit, OnDestroy, OnChanges, AfterContentChecked, ControlValueAccessor, DataBoundComponent, ExpandableComponent {
|
|
41
|
-
private injector;
|
|
42
|
-
wrapper: ElementRef<HTMLElement>;
|
|
43
|
-
private popupService;
|
|
44
|
-
private navigationService;
|
|
45
|
-
private renderer;
|
|
46
|
-
private _zone;
|
|
47
|
-
private cdr;
|
|
48
|
-
private localization;
|
|
49
|
-
private adaptiveService;
|
|
50
|
-
/**
|
|
51
|
-
* @hidden
|
|
52
|
-
*/
|
|
53
|
-
icon: string;
|
|
54
|
-
/**
|
|
55
|
-
* @hidden
|
|
56
|
-
*/
|
|
57
|
-
svgIcon: SVGIcon;
|
|
58
|
-
/**
|
|
59
|
-
* @hidden
|
|
60
|
-
*/
|
|
61
|
-
touchEnabled: any;
|
|
62
|
-
/**
|
|
63
|
-
* @hidden
|
|
64
|
-
*/
|
|
65
|
-
animationDuration: number;
|
|
66
|
-
/**
|
|
67
|
-
* @hidden
|
|
68
|
-
*/
|
|
69
|
-
searchIcon: SVGIcon;
|
|
70
|
-
/**
|
|
71
|
-
* @hidden
|
|
72
|
-
*/
|
|
73
|
-
chevronDownIcon: SVGIcon;
|
|
74
|
-
/**
|
|
75
|
-
* @hidden
|
|
76
|
-
*/
|
|
77
|
-
xIcon: SVGIcon;
|
|
78
|
-
/**
|
|
79
|
-
* @hidden
|
|
80
|
-
*/
|
|
81
|
-
adaptiveRendererComponent: AdaptiveRendererComponent;
|
|
82
|
-
/**
|
|
83
|
-
* @hidden
|
|
84
|
-
*/
|
|
85
|
-
get actionSheet(): ActionSheetComponent;
|
|
86
|
-
/**
|
|
87
|
-
* @hidden
|
|
88
|
-
*/
|
|
89
|
-
get actionSheetSearchBar(): TextBoxComponent;
|
|
90
|
-
hostClasses: boolean;
|
|
91
|
-
get isReadonly(): string;
|
|
92
|
-
get hostAriaInvalid(): boolean | null;
|
|
93
|
-
get isDisabled(): boolean | null;
|
|
94
|
-
get isLoading(): boolean;
|
|
95
|
-
get isBusy(): string;
|
|
96
|
-
get hostAriaControls(): string;
|
|
97
|
-
get id(): string;
|
|
98
|
-
direction: Direction;
|
|
99
|
-
get hostTabIndex(): number;
|
|
100
|
-
role: string;
|
|
101
|
-
ariaHasPopup: string;
|
|
102
|
-
get isAriaExpanded(): boolean;
|
|
103
|
-
get hostAriaAutocomplete(): string;
|
|
104
|
-
noDataTemplate: NoDataTemplateDirective;
|
|
105
|
-
headerTemplate: HeaderTemplateDirective;
|
|
106
|
-
footerTemplate: FooterTemplateDirective;
|
|
107
|
-
nodeTemplate: NodeTemplateDirective;
|
|
108
|
-
valueTemplate: ValueTemplateDirective;
|
|
109
|
-
popupTemplate: TemplateRef<any>;
|
|
110
|
-
container: ViewContainerRef;
|
|
111
|
-
set treeview(treeview: TreeViewComponent);
|
|
112
|
-
get treeview(): TreeViewComponent;
|
|
113
|
-
private filterInput;
|
|
114
|
-
/**
|
|
115
|
-
* Fires each time the popup is about to open
|
|
116
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dropdowns/dropdowntree/open-state)).
|
|
117
|
-
* This event is preventable. If you cancel it, the popup will remain closed.
|
|
118
|
-
*/
|
|
119
|
-
open: EventEmitter<PreventableEvent>;
|
|
120
|
-
/**
|
|
121
|
-
* Fires after the popup has been opened.
|
|
122
|
-
*/
|
|
123
|
-
opened: EventEmitter<any>;
|
|
124
|
-
/**
|
|
125
|
-
* Fires each time the popup is about to close
|
|
126
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dropdowns/dropdowntree/open-state)).
|
|
127
|
-
* This event is preventable. If you cancel it, the popup will remain open.
|
|
128
|
-
*/
|
|
129
|
-
close: EventEmitter<PreventableEvent>;
|
|
130
|
-
/**
|
|
131
|
-
* Fires after the popup has been closed.
|
|
132
|
-
*/
|
|
133
|
-
closed: EventEmitter<any>;
|
|
134
|
-
/**
|
|
135
|
-
* Fires when the user expands a node in the popup TreeView.
|
|
136
|
-
*/
|
|
137
|
-
nodeExpand: EventEmitter<TreeItem>;
|
|
138
|
-
/**
|
|
139
|
-
* Fires when the user collapses a node in the popup TreeView.
|
|
140
|
-
*/
|
|
141
|
-
nodeCollapse: EventEmitter<TreeItem>;
|
|
142
|
-
/**
|
|
143
|
-
* Fires each time the user focuses the DropDownTree.
|
|
144
|
-
*/
|
|
145
|
-
onFocus: EventEmitter<any>;
|
|
146
|
-
/**
|
|
147
|
-
* Fires each time the DropDownTree gets blurred.
|
|
148
|
-
*/
|
|
149
|
-
onBlur: EventEmitter<any>;
|
|
150
|
-
/**
|
|
151
|
-
* Fires each time the value is changed
|
|
152
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dropdowns/dropdowntree/events)).
|
|
153
|
-
*/
|
|
154
|
-
valueChange: EventEmitter<any>;
|
|
155
|
-
/**
|
|
156
|
-
* Fires when the value of the built-in filter input element changes.
|
|
157
|
-
*/
|
|
158
|
-
filterChange: EventEmitter<string>;
|
|
159
|
-
/**
|
|
160
|
-
* Sets and gets the loading state of the DropDownTree.
|
|
161
|
-
*/
|
|
162
|
-
loading: boolean;
|
|
163
|
-
/**
|
|
164
|
-
* If set to `true`, renders a button on hovering over the component.
|
|
165
|
-
* Clicking this button resets the value of the component to `undefined` and triggers the `change` event.
|
|
166
|
-
*/
|
|
167
|
-
clearButton: boolean;
|
|
168
|
-
/**
|
|
169
|
-
* Sets the data of the DropDownTree.
|
|
170
|
-
*
|
|
171
|
-
* > The data has to be provided in an array-like list with objects.
|
|
172
|
-
*/
|
|
173
|
-
set data(data: object[]);
|
|
174
|
-
get data(): object[];
|
|
175
|
-
/**
|
|
176
|
-
* Sets the value of the DropDownTree.
|
|
177
|
-
* It can either be of the primitive (string, numbers) or of the complex (objects) type.
|
|
178
|
-
* To define the type, use the `valuePrimitive` option.
|
|
179
|
-
*
|
|
180
|
-
*/
|
|
181
|
-
set value(newValue: any);
|
|
182
|
-
get value(): any;
|
|
183
|
-
/**
|
|
184
|
-
* The fields of the data item that provide the text content of the nodes inside the
|
|
185
|
-
* DropDownTree ([see example](https://www.telerik.com/kendo-angular-ui/components/dropdowns/dropdowntree/data-binding)). If the `textField`
|
|
186
|
-
* input is set to an array, each hierarchical level uses the field that corresponds
|
|
187
|
-
* to the same index in the array, or the last item in the array.
|
|
188
|
-
*
|
|
189
|
-
* > The `textField` property can be set to point to a nested property value - e.g. `category.name`.
|
|
190
|
-
*/
|
|
191
|
-
textField: string | string[];
|
|
192
|
-
/**
|
|
193
|
-
* The fields of the data item that provide the value of the nodes inside the
|
|
194
|
-
* DropDownTree ([see example](https://www.telerik.com/kendo-angular-ui/components/dropdowns/dropdowntree/data-binding)). If the `valueField`
|
|
195
|
-
* input is set to an array, each hierarchical level uses the field that corresponds
|
|
196
|
-
* to the same index in the array, or the last item in the array.
|
|
197
|
-
*
|
|
198
|
-
* > The `valueField` property can be set to point to a nested property value - e.g. `category.id`.
|
|
199
|
-
*/
|
|
200
|
-
valueField: string | string[];
|
|
201
|
-
/**
|
|
202
|
-
* Sets the level in the data set where the value can be found when `valueField` is an Array.
|
|
203
|
-
* The field serves to correctly allocate a data item used when the DropDownTree is initialized with a value.
|
|
204
|
-
*/
|
|
205
|
-
valueDepth: number;
|
|
206
|
-
/**
|
|
207
|
-
* A function which determines if a specific node has child nodes.
|
|
208
|
-
*/
|
|
209
|
-
hasChildren: (node: object) => boolean;
|
|
210
|
-
/**
|
|
211
|
-
* A function which provides the child nodes for a given parent node.
|
|
212
|
-
*/
|
|
213
|
-
fetchChildren: (node: object) => Observable<object[]>;
|
|
214
|
-
/**
|
|
215
|
-
* Sets the placeholder of the input element of the DropDownTree.
|
|
216
|
-
*/
|
|
217
|
-
placeholder: string;
|
|
218
|
-
/**
|
|
219
|
-
* Configures the popup of the DropDownTree.
|
|
220
|
-
*
|
|
221
|
-
* The available options are:
|
|
222
|
-
* - `animate: Boolean`—Controls the popup animation. By default, the open and close animations are enabled.
|
|
223
|
-
* - `width: Number | String`—Sets the width of the popup container. By default, the width of the host element is used. If set to `auto`, the component automatically adjusts the width of the popup and no item labels are wrapped.
|
|
224
|
-
* - `height: Number`—Sets the height of the popup container.
|
|
225
|
-
* - `popupClass: String`—Specifies a list of CSS classes that are used to style the popup.
|
|
226
|
-
* - `appendTo: "root" | "component" | ViewContainerRef`—Specifies the component to which the popup will be appended.
|
|
227
|
-
*/
|
|
228
|
-
set popupSettings(settings: PopupSettings);
|
|
229
|
-
get popupSettings(): PopupSettings;
|
|
230
|
-
/**
|
|
231
|
-
* Keeps the current `dataItem` object in order to resolve selection.
|
|
232
|
-
* Needs to be provided when `value` is bound in and `valuePrimitive` is set to true.
|
|
233
|
-
*/
|
|
234
|
-
set dataItem(item: object);
|
|
235
|
-
get dataItem(): object;
|
|
236
|
-
/**
|
|
237
|
-
* Sets the height of the options list in the popup. By default, `listHeight` is 200px.
|
|
238
|
-
*
|
|
239
|
-
* > The `listHeight` property affects only the list of options and not the whole popup container.
|
|
240
|
-
* > To set the height of the popup container, use `popupSettings.height`.
|
|
241
|
-
*
|
|
242
|
-
* When using `adaptiveMode` and the screen size is `small` or `medium` the `listHeight` property is set to null.
|
|
243
|
-
*/
|
|
244
|
-
set listHeight(_listHeight: number);
|
|
245
|
-
get listHeight(): number;
|
|
246
|
-
private _listHeight;
|
|
247
|
-
/**
|
|
248
|
-
* Sets the disabled state of the component. To learn how to disable the component in reactive forms, refer to the article on [Forms Support](https://www.telerik.com/kendo-angular-ui/components/dropdowns/dropdowntree/forms#managing-the-dropdowntree-disabled-state-in-reactive-forms).
|
|
249
|
-
*/
|
|
250
|
-
disabled: boolean;
|
|
251
|
-
/**
|
|
252
|
-
* Sets the read-only state of the component.
|
|
253
|
-
*
|
|
254
|
-
* @default false
|
|
255
|
-
*/
|
|
256
|
-
readonly: boolean;
|
|
257
|
-
/**
|
|
258
|
-
* Specifies the type of the selected value
|
|
259
|
-
* ([more information and example](https://www.telerik.com/kendo-angular-ui/components/dropdowns/dropdowntree/value-binding#primitive-values)).
|
|
260
|
-
* If set to `true`, the selected value has to be of a primitive value.
|
|
261
|
-
*/
|
|
262
|
-
valuePrimitive: boolean;
|
|
263
|
-
/**
|
|
264
|
-
* Specifies the [`tabindex`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) of the component.
|
|
265
|
-
*
|
|
266
|
-
* @default 0
|
|
267
|
-
*/
|
|
268
|
-
set tabindex(value: number);
|
|
269
|
-
get tabindex(): number;
|
|
270
|
-
/**
|
|
271
|
-
* Sets the size of the component. The default value is set by the Kendo theme.
|
|
272
|
-
*/
|
|
273
|
-
set size(size: DropDownSize);
|
|
274
|
-
get size(): DropDownSize;
|
|
275
|
-
/**
|
|
276
|
-
* Sets the border radius of the component. The default value is set by the Kendo theme.
|
|
277
|
-
*/
|
|
278
|
-
set rounded(rounded: DropDownRounded);
|
|
279
|
-
get rounded(): DropDownRounded;
|
|
280
|
-
/**
|
|
281
|
-
* Sets the fillMode of the component. The default value is set by the Kendo theme.
|
|
282
|
-
*/
|
|
283
|
-
set fillMode(fillMode: DropDownFillMode);
|
|
284
|
-
get fillMode(): DropDownFillMode;
|
|
285
|
-
/**
|
|
286
|
-
* A function that is executed for each data item and determines if a specific item is disabled.
|
|
287
|
-
*/
|
|
288
|
-
itemDisabled: (item: object, index: string) => boolean;
|
|
289
|
-
/**
|
|
290
|
-
* A function that is executed for each data item and determines if a specific node is expanded.
|
|
291
|
-
*/
|
|
292
|
-
isNodeExpanded: (item: object, index: string) => boolean;
|
|
293
|
-
/**
|
|
294
|
-
* A callback which determines whether a tree node should be rendered as hidden. The utility `.k-hidden` class is used to hide the nodes.
|
|
295
|
-
* Useful for custom filtering implementations.
|
|
296
|
-
*/
|
|
297
|
-
isNodeVisible: (item: object, index: string) => boolean;
|
|
298
|
-
/**
|
|
299
|
-
* Indicates whether the child nodes will be fetched on node expand or will be initially prefetched.
|
|
300
|
-
* @default true
|
|
301
|
-
*/
|
|
302
|
-
loadOnDemand: boolean;
|
|
303
|
-
/**
|
|
304
|
-
* Renders the built-in input element for filtering the DropDownTree.
|
|
305
|
-
* If set to `true`, the component emits the `filterChange` event, which can be used to [filter the DropDownTree manually](https://www.telerik.com/kendo-angular-ui/components/dropdowns/dropdowntree/filtering#manual-filtering).
|
|
306
|
-
* A built-in filtering implementation is available to use with the [`kendoDropDownTreeHierarchyBinding`](https://www.telerik.com/kendo-angular-ui/components/dropdowns/api/dropdowntreehierarchybindingdirective) and [`kendoDropDownTreeFlatBinding`](https://www.telerik.com/kendo-angular-ui/components/dropdowns/api/dropdowntreeflatbindingdirective) directives.
|
|
307
|
-
*/
|
|
308
|
-
filterable: boolean;
|
|
309
|
-
/**
|
|
310
|
-
* @hidden
|
|
311
|
-
*/
|
|
312
|
-
filter: string;
|
|
313
|
-
/**
|
|
314
|
-
* @hidden
|
|
315
|
-
*
|
|
316
|
-
* Used by the kendo-label and kendo-floatinglabel to access and associate the focusable element with the provided label via aria-labelledby.
|
|
317
|
-
*/
|
|
318
|
-
focusableId: string;
|
|
319
|
-
set isFocused(isFocused: boolean);
|
|
320
|
-
get isFocused(): boolean;
|
|
321
|
-
get width(): {
|
|
322
|
-
min: string;
|
|
323
|
-
max: string;
|
|
324
|
-
};
|
|
325
|
-
get height(): string;
|
|
326
|
-
/**
|
|
327
|
-
* Returns the current open state. Returns `true` if the popup or actionSheet is open.
|
|
328
|
-
*/
|
|
329
|
-
get isOpen(): boolean;
|
|
330
|
-
get clearButtonVisibility(): string;
|
|
331
|
-
private get isFilterActive();
|
|
332
|
-
popupRef: PopupRef;
|
|
333
|
-
/**
|
|
334
|
-
* @hidden
|
|
335
|
-
*/
|
|
336
|
-
selectedKeys: any[];
|
|
337
|
-
/**
|
|
338
|
-
* @hidden
|
|
339
|
-
*/
|
|
340
|
-
selectBy: string;
|
|
341
|
-
/**
|
|
342
|
-
* @hidden
|
|
343
|
-
*/
|
|
344
|
-
text: string;
|
|
345
|
-
/**
|
|
346
|
-
* @hidden
|
|
347
|
-
*/
|
|
348
|
-
onFilterChange(text: string): void;
|
|
349
|
-
/**
|
|
350
|
-
* Enables or disables the adaptive mode. By default the adaptive rendering is disabled.
|
|
351
|
-
*/
|
|
352
|
-
adaptiveMode: AdaptiveMode;
|
|
353
|
-
/**
|
|
354
|
-
* Sets the title of the ActionSheet that is rendered instead of the Popup when using small screen devices.
|
|
355
|
-
* By default the ActionSheet title uses the text provided for the label of the DropDownTree.
|
|
356
|
-
*/
|
|
357
|
-
adaptiveTitle: string;
|
|
358
|
-
/**
|
|
359
|
-
* Sets the subtitle of the ActionSheet that is rendered instead of the Popup when using small screen devices.
|
|
360
|
-
* By default the ActionSheet does not render a subtitle.
|
|
361
|
-
*/
|
|
362
|
-
adaptiveSubtitle: string;
|
|
363
|
-
/**
|
|
364
|
-
* @hidden
|
|
365
|
-
*/
|
|
366
|
-
get isAdaptiveModeEnabled(): boolean;
|
|
367
|
-
/**
|
|
368
|
-
* @hidden
|
|
369
|
-
*/
|
|
370
|
-
windowSize: AdaptiveSize;
|
|
371
|
-
/**
|
|
372
|
-
* @hidden
|
|
373
|
-
*/
|
|
374
|
-
get isActionSheetExpanded(): boolean;
|
|
375
|
-
/**
|
|
376
|
-
* @hidden
|
|
377
|
-
*/
|
|
378
|
-
get isAdaptive(): boolean;
|
|
379
|
-
/**
|
|
380
|
-
* @hidden
|
|
381
|
-
*
|
|
382
|
-
* Alias for `isNodeExpanded`. Used for compatibility with the `ExpandableComponent` interface.
|
|
383
|
-
* Required for the expand-directive.
|
|
384
|
-
*/
|
|
385
|
-
set isExpanded(callback: (item: object, index: string) => boolean);
|
|
386
|
-
get isExpanded(): (item: object, index: string) => boolean;
|
|
387
|
-
/**
|
|
388
|
-
* @hidden
|
|
389
|
-
*
|
|
390
|
-
* Alias for `nodeExpand`. Used for compatibility with the `ExpandableComponent` interface.
|
|
391
|
-
* Required for the expand-directive.
|
|
392
|
-
*/
|
|
393
|
-
get expand(): EventEmitter<TreeItem>;
|
|
394
|
-
/**
|
|
395
|
-
* @hidden
|
|
396
|
-
*
|
|
397
|
-
* Alias for `nodeCollapse`. Used for compatibility with the `ExpandableComponent` interface.
|
|
398
|
-
* Required for the expand-directive.
|
|
399
|
-
*/
|
|
400
|
-
get collapse(): EventEmitter<TreeItem>;
|
|
401
|
-
/**
|
|
402
|
-
* @hidden
|
|
403
|
-
*
|
|
404
|
-
* Alias for `data`. Used for compatibility with the `DataBoundComponent` interface.
|
|
405
|
-
* Required for the data-binding directives.
|
|
406
|
-
*/
|
|
407
|
-
set nodes(nodes: any[]);
|
|
408
|
-
get nodes(): any[];
|
|
409
|
-
/**
|
|
410
|
-
* @hidden
|
|
411
|
-
*
|
|
412
|
-
* Alias for `fetchChildren`. Used for compatibility with the `DataBoundComponent` interface.
|
|
413
|
-
* Required for the data-binding directives
|
|
414
|
-
*/
|
|
415
|
-
set children(callback: (item: object) => Observable<object[]>);
|
|
416
|
-
get children(): (item: object) => Observable<object[]>;
|
|
417
|
-
/**
|
|
418
|
-
* @hidden
|
|
419
|
-
*
|
|
420
|
-
* Alias for `isNodeVisible`. Used for compatibility with the `DataBoundComponent` interface.
|
|
421
|
-
* The `DataBoundComponent` interface is used in the data-binding directives.
|
|
422
|
-
*/
|
|
423
|
-
set isVisible(callback: (item: object, index: string) => boolean);
|
|
424
|
-
get isVisible(): (item: object, index: string) => boolean;
|
|
425
|
-
/**
|
|
426
|
-
* @hidden
|
|
427
|
-
*/
|
|
428
|
-
filterStateChange: EventEmitter<any>;
|
|
429
|
-
/**
|
|
430
|
-
* @hidden
|
|
431
|
-
*/
|
|
432
|
-
allNodesHidden: boolean;
|
|
433
|
-
/**
|
|
434
|
-
* @hidden
|
|
435
|
-
*
|
|
436
|
-
* Used to associate the value label with the wrapper via aria-describedby.
|
|
437
|
-
*/
|
|
438
|
-
valueLabelId: string;
|
|
439
|
-
/**
|
|
440
|
-
* @hidden
|
|
441
|
-
*/
|
|
442
|
-
get formControl(): FormControl;
|
|
443
|
-
treeViewId: string;
|
|
444
|
-
private _nodes;
|
|
445
|
-
private _value;
|
|
446
|
-
private _popupSettings;
|
|
447
|
-
private _tabindex;
|
|
448
|
-
private _isFocused;
|
|
449
|
-
private _dataItem;
|
|
450
|
-
private _treeview;
|
|
451
|
-
private _size;
|
|
452
|
-
private _rounded;
|
|
453
|
-
private _fillMode;
|
|
454
|
-
private _searchableNodes;
|
|
455
|
-
private _typedValue;
|
|
456
|
-
private printableCharacters;
|
|
457
|
-
private subs;
|
|
458
|
-
private touchstartDisposeHandler;
|
|
459
|
-
private lastNodeOnFocus;
|
|
460
|
-
constructor(injector: Injector, wrapper: ElementRef<HTMLElement>, popupService: PopupService, navigationService: NavigationService, renderer: Renderer2, _zone: NgZone, cdr: ChangeDetectorRef, localization: LocalizationService, adaptiveService: AdaptiveService);
|
|
461
|
-
ngOnInit(): void;
|
|
462
|
-
/**
|
|
463
|
-
* @hidden
|
|
464
|
-
*/
|
|
465
|
-
ngOnDestroy(): void;
|
|
466
|
-
/**
|
|
467
|
-
* @hidden
|
|
468
|
-
*/
|
|
469
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
470
|
-
/**
|
|
471
|
-
* @hidden
|
|
472
|
-
*/
|
|
473
|
-
ngAfterContentChecked(): void;
|
|
474
|
-
ngAfterViewInit(): void;
|
|
475
|
-
/**
|
|
476
|
-
* @hidden
|
|
477
|
-
*/
|
|
478
|
-
onResize(): void;
|
|
479
|
-
/**
|
|
480
|
-
* @hidden
|
|
481
|
-
*
|
|
482
|
-
* Used by the kendo-floatinglabel component to determine if the floating label
|
|
483
|
-
* should be rendered inside the input when the component is not focused.
|
|
484
|
-
*/
|
|
485
|
-
isEmpty(): boolean;
|
|
486
|
-
/**
|
|
487
|
-
* @hidden
|
|
488
|
-
*/
|
|
489
|
-
togglePopup(open: boolean): void;
|
|
490
|
-
/**
|
|
491
|
-
* @hidden
|
|
492
|
-
*/
|
|
493
|
-
handleFocus(event: FocusEvent): void;
|
|
494
|
-
/**
|
|
495
|
-
* @hidden
|
|
496
|
-
*/
|
|
497
|
-
handleBlur(e?: FocusEvent): void;
|
|
498
|
-
/**
|
|
499
|
-
* @hidden
|
|
500
|
-
*/
|
|
501
|
-
handleKeydown(event: any, input?: HTMLInputElement): void;
|
|
502
|
-
/**
|
|
503
|
-
* Focuses a specific item of the DropDownTree based on a provided index in the format of `1_1`.
|
|
504
|
-
* The targeted item should be expanded in order for it to be focused.
|
|
505
|
-
* If null or invalid index is provided the focus will be set on the first item.
|
|
506
|
-
*/
|
|
507
|
-
focusItemAt(index: string): void;
|
|
508
|
-
/**
|
|
509
|
-
* Focuses the DropDownTree.
|
|
510
|
-
*/
|
|
511
|
-
focus(): void;
|
|
512
|
-
/**
|
|
513
|
-
* Blurs the DropDownTree.
|
|
514
|
-
*/
|
|
515
|
-
blur(): void;
|
|
516
|
-
/**
|
|
517
|
-
* Resets the value of the DropDownTree.
|
|
518
|
-
* If you use the `reset` method to clear the value of the component,
|
|
519
|
-
* the model will not update automatically and the `valueChange` event will not be fired.
|
|
520
|
-
*/
|
|
521
|
-
reset(): void;
|
|
522
|
-
/**
|
|
523
|
-
* Toggles the visibility of the popup or actionSheet.
|
|
524
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dropdowns/dropdowntree/open-state)).
|
|
525
|
-
* If you use the `toggle` method to open or close the popup or actionSheet, the `open` and `close` events will not be fired.
|
|
526
|
-
*
|
|
527
|
-
* @param open - The state of the popup.
|
|
528
|
-
*/
|
|
529
|
-
toggle(open?: boolean): void;
|
|
530
|
-
/**
|
|
531
|
-
* @hidden
|
|
532
|
-
*/
|
|
533
|
-
get popupContainerClasses(): object;
|
|
534
|
-
/**
|
|
535
|
-
* @hidden
|
|
536
|
-
*/
|
|
537
|
-
onSelectionChange({ dataItem, index }: TreeItem): void;
|
|
538
|
-
/**
|
|
539
|
-
* @hidden
|
|
540
|
-
*/
|
|
541
|
-
messageFor(key: string): string;
|
|
542
|
-
/**
|
|
543
|
-
* @hidden
|
|
544
|
-
*/
|
|
545
|
-
clearValue(event?: MouseEvent): void;
|
|
546
|
-
get appendTo(): ViewContainerRef;
|
|
547
|
-
/**
|
|
548
|
-
* @hidden
|
|
549
|
-
*/
|
|
550
|
-
preventEventDefault(event: Event): void;
|
|
551
|
-
/**
|
|
552
|
-
* @hidden
|
|
553
|
-
*/
|
|
554
|
-
writeValue(value: any): void;
|
|
555
|
-
/**
|
|
556
|
-
* @hidden
|
|
557
|
-
*/
|
|
558
|
-
registerOnChange(fn: any): void;
|
|
559
|
-
/**
|
|
560
|
-
* @hidden
|
|
561
|
-
*/
|
|
562
|
-
registerOnTouched(fn: any): void;
|
|
563
|
-
/**
|
|
564
|
-
* @hidden
|
|
565
|
-
*/
|
|
566
|
-
setDisabledState(isDisabled: boolean): void;
|
|
567
|
-
/**
|
|
568
|
-
* @hidden
|
|
569
|
-
*/
|
|
570
|
-
handleFilterInputChange(input: Partial<HTMLInputElement> | string): void;
|
|
571
|
-
/**
|
|
572
|
-
* @hidden
|
|
573
|
-
*/
|
|
574
|
-
get selectButtonClasses(): any;
|
|
575
|
-
/**
|
|
576
|
-
* @hidden
|
|
577
|
-
*/
|
|
578
|
-
get filterInputClasses(): any;
|
|
579
|
-
protected onTouchedCallback: Function;
|
|
580
|
-
protected onChangeCallback: Function;
|
|
581
|
-
protected verifySettings(): void;
|
|
582
|
-
private emitValueChange;
|
|
583
|
-
private getText;
|
|
584
|
-
/**
|
|
585
|
-
* @hidden
|
|
586
|
-
*/
|
|
587
|
-
onChildrenLoaded(): void;
|
|
588
|
-
/**
|
|
589
|
-
* @hidden
|
|
590
|
-
*
|
|
591
|
-
* Determines the `valueField` and `textField` for a specific level in the data set
|
|
592
|
-
* @param field - the field value (string | string[])
|
|
593
|
-
* @param value - current value
|
|
594
|
-
*/
|
|
595
|
-
private getField;
|
|
596
|
-
private areNodesHidden;
|
|
597
|
-
private triggerPopupEvents;
|
|
598
|
-
private createPopup;
|
|
599
|
-
private destroyPopup;
|
|
600
|
-
private clearFilter;
|
|
601
|
-
private handleClick;
|
|
602
|
-
private handleEscape;
|
|
603
|
-
private setState;
|
|
604
|
-
private clearState;
|
|
605
|
-
private subscribeEvents;
|
|
606
|
-
private subscribeTouchEvents;
|
|
607
|
-
private subscribeFocusEvents;
|
|
608
|
-
private unSubscribeFocusEvents;
|
|
609
|
-
private unsubscribeEvents;
|
|
610
|
-
private handleDocumentBlur;
|
|
611
|
-
private assignAriaDescribedBy;
|
|
612
|
-
private setComponentClasses;
|
|
613
|
-
/**
|
|
614
|
-
* Remove the `TreeView` from the tab order, otherwise a focus loop between the page elements will occur
|
|
615
|
-
* and the user will not be able to tab to the rest of the browser elements
|
|
616
|
-
*/
|
|
617
|
-
private removeTreeViewFromTabOrder;
|
|
618
|
-
private closeActionSheet;
|
|
619
|
-
private openActionSheet;
|
|
620
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DropDownTreeComponent, never>;
|
|
621
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DropDownTreeComponent, "kendo-dropdowntree", ["kendoDropDownTree"], { "icon": { "alias": "icon"; "required": false; }; "svgIcon": { "alias": "svgIcon"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "clearButton": { "alias": "clearButton"; "required": false; }; "data": { "alias": "data"; "required": false; }; "value": { "alias": "value"; "required": false; }; "textField": { "alias": "textField"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; "valueDepth": { "alias": "valueDepth"; "required": false; }; "hasChildren": { "alias": "hasChildren"; "required": false; }; "fetchChildren": { "alias": "fetchChildren"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "popupSettings": { "alias": "popupSettings"; "required": false; }; "dataItem": { "alias": "dataItem"; "required": false; }; "listHeight": { "alias": "listHeight"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "valuePrimitive": { "alias": "valuePrimitive"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "size": { "alias": "size"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; "fillMode": { "alias": "fillMode"; "required": false; }; "itemDisabled": { "alias": "itemDisabled"; "required": false; }; "isNodeExpanded": { "alias": "isNodeExpanded"; "required": false; }; "isNodeVisible": { "alias": "isNodeVisible"; "required": false; }; "loadOnDemand": { "alias": "loadOnDemand"; "required": false; }; "filterable": { "alias": "filterable"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "focusableId": { "alias": "focusableId"; "required": false; }; "adaptiveMode": { "alias": "adaptiveMode"; "required": false; }; "adaptiveTitle": { "alias": "adaptiveTitle"; "required": false; }; "adaptiveSubtitle": { "alias": "adaptiveSubtitle"; "required": false; }; }, { "open": "open"; "opened": "opened"; "close": "close"; "closed": "closed"; "nodeExpand": "nodeExpand"; "nodeCollapse": "nodeCollapse"; "onFocus": "focus"; "onBlur": "blur"; "valueChange": "valueChange"; "filterChange": "filterChange"; }, ["noDataTemplate", "headerTemplate", "footerTemplate", "nodeTemplate", "valueTemplate"], never, true, never>;
|
|
622
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "./dropdowntree.component";
|
|
7
|
-
import * as i2 from "./data-binding/dropdowntree/flat-binding.directive";
|
|
8
|
-
import * as i3 from "./data-binding/dropdowntree/hierarchy-binding.directive";
|
|
9
|
-
import * as i4 from "./expanded-state/expand.directive";
|
|
10
|
-
import * as i5 from "./templates/node-template.directive";
|
|
11
|
-
import * as i6 from "../common/templates/header-template.directive";
|
|
12
|
-
import * as i7 from "../common/templates/footer-template.directive";
|
|
13
|
-
import * as i8 from "../common/templates/value-template.directive";
|
|
14
|
-
import * as i9 from "../common/templates/no-data-template.directive";
|
|
15
|
-
import * as i10 from "../common/localization/custom-messages.component";
|
|
16
|
-
import * as i11 from "./multiselecttree.component";
|
|
17
|
-
import * as i12 from "./data-binding/multiselecttree/flat-binding.directive";
|
|
18
|
-
import * as i13 from "./data-binding/multiselecttree/hierarchy-binding.directive";
|
|
19
|
-
import * as i14 from "./summary-tag/summary-tag.directive";
|
|
20
|
-
import * as i15 from "../common/templates/group-tag-template.directive";
|
|
21
|
-
import * as i16 from "../common/templates/tag-template.directive";
|
|
22
|
-
/**
|
|
23
|
-
* Required for adding all DropDownTree features in NgModule-based Angular applications.
|
|
24
|
-
* - `MultiSelectTreeComponent`—The MultiSelectTree component class.
|
|
25
|
-
* - `DropDownTreeComponent`—The DropDownTree component class.
|
|
26
|
-
* - `MultiSelectTreeFlatBindingDirective`—The MultiSelectTree flat binding directive.
|
|
27
|
-
* - `DropDownTreeFlatBindingDirective`—The DropDownTree flat binding directive.
|
|
28
|
-
* - `MultiSelectTreeHierarchyBindingDirective`—The MultiSelectTree hierarchy binding directive.
|
|
29
|
-
* - `DropDownTreeHierarchyBindingDirective`—The DropDownTree hierarchy binding directive.
|
|
30
|
-
* - `DropDownTreesExpandDirective`—The DropDownTreesExpand directive.
|
|
31
|
-
* - `NodeTemplateDirective`—The node template directive.
|
|
32
|
-
* - `MultiSelectTreeSummaryTagDirective`—The MultiSelectTreeSummaryTag directive.
|
|
33
|
-
* - `TagTemplateDirective`—The tag template directive.
|
|
34
|
-
* - `GroupTagTemplateDirective`—The group tag template directive.
|
|
35
|
-
* - `HeaderTemplateDirective`—The header template directive.
|
|
36
|
-
* - `FooterTemplateDirective`—The footer template directive.
|
|
37
|
-
* - `ValueTemplateDirective`—The value template directive.
|
|
38
|
-
* - `NoDataTemplateDirective`—The no-data template directive.
|
|
39
|
-
* - `CustomMessagesComponent`—The custom messages component.
|
|
40
|
-
*/
|
|
41
|
-
export declare class DropDownTreesModule {
|
|
42
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DropDownTreesModule, never>;
|
|
43
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DropDownTreesModule, never, [typeof i1.DropDownTreeComponent, typeof i2.DropDownTreeFlatBindingDirective, typeof i3.DropDownTreeHierarchyBindingDirective, typeof i4.DropDownTreesExpandDirective, typeof i5.NodeTemplateDirective, typeof i6.HeaderTemplateDirective, typeof i7.FooterTemplateDirective, typeof i8.ValueTemplateDirective, typeof i9.NoDataTemplateDirective, typeof i10.CustomMessagesComponent, typeof i11.MultiSelectTreeComponent, typeof i12.MultiSelectTreeFlatBindingDirective, typeof i13.MultiSelectTreeHierarchyBindingDirective, typeof i4.DropDownTreesExpandDirective, typeof i5.NodeTemplateDirective, typeof i14.MultiSelectTreeSummaryTagDirective, typeof i15.GroupTagTemplateDirective, typeof i16.TagTemplateDirective, typeof i6.HeaderTemplateDirective, typeof i7.FooterTemplateDirective, typeof i8.ValueTemplateDirective, typeof i9.NoDataTemplateDirective, typeof i10.CustomMessagesComponent], [typeof i1.DropDownTreeComponent, typeof i2.DropDownTreeFlatBindingDirective, typeof i3.DropDownTreeHierarchyBindingDirective, typeof i4.DropDownTreesExpandDirective, typeof i5.NodeTemplateDirective, typeof i6.HeaderTemplateDirective, typeof i7.FooterTemplateDirective, typeof i8.ValueTemplateDirective, typeof i9.NoDataTemplateDirective, typeof i10.CustomMessagesComponent, typeof i11.MultiSelectTreeComponent, typeof i12.MultiSelectTreeFlatBindingDirective, typeof i13.MultiSelectTreeHierarchyBindingDirective, typeof i4.DropDownTreesExpandDirective, typeof i5.NodeTemplateDirective, typeof i14.MultiSelectTreeSummaryTagDirective, typeof i15.GroupTagTemplateDirective, typeof i16.TagTemplateDirective, typeof i6.HeaderTemplateDirective, typeof i7.FooterTemplateDirective, typeof i8.ValueTemplateDirective, typeof i9.NoDataTemplateDirective, typeof i10.CustomMessagesComponent]>;
|
|
44
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<DropDownTreesModule>;
|
|
45
|
-
}
|