@progress/kendo-angular-dropdowns 24.2.2 → 25.0.0-develop.2
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,564 +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 { Renderer2, ElementRef, EventEmitter, ViewContainerRef, OnDestroy, OnChanges, NgZone, TemplateRef, ChangeDetectorRef, OnInit, SimpleChanges, AfterContentChecked, Injector, AfterViewInit } from '@angular/core';
|
|
6
|
-
import { ControlValueAccessor, FormControl } from '@angular/forms';
|
|
7
|
-
import { AdaptiveSize, AdaptiveService } from '@progress/kendo-angular-utils';
|
|
8
|
-
import { PopupSettings } from '../common/models/popup-settings';
|
|
9
|
-
import { AdaptiveMode } from '../common/util';
|
|
10
|
-
import { SelectionService } from '../common/selection/selection.service';
|
|
11
|
-
import { NavigationService } from '../common/navigation/navigation.service';
|
|
12
|
-
import { ItemTemplateDirective } from '../common/templates/item-template.directive';
|
|
13
|
-
import { GroupTemplateDirective } from '../common/templates/group-template.directive';
|
|
14
|
-
import { FixedGroupTemplateDirective } from '../common/templates/fixed-group-template.directive';
|
|
15
|
-
import { ValueTemplateDirective } from '../common/templates/value-template.directive';
|
|
16
|
-
import { HeaderTemplateDirective } from '../common/templates/header-template.directive';
|
|
17
|
-
import { FooterTemplateDirective } from '../common/templates/footer-template.directive';
|
|
18
|
-
import { NoDataTemplateDirective } from '../common/templates/no-data-template.directive';
|
|
19
|
-
import { Direction } from '../common/models/direction';
|
|
20
|
-
import { PreventableEvent } from '../common/models/preventable-event';
|
|
21
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
22
|
-
import { PopupService, PopupRef } from '@progress/kendo-angular-popup';
|
|
23
|
-
import { ItemDisabledFn } from '../common/disabled-items/item-disabled';
|
|
24
|
-
import { DisabledItemsService } from '../common/disabled-items/disabled-items.service';
|
|
25
|
-
import { DataService } from '../common/data.service';
|
|
26
|
-
import { FilterableComponent } from '../common/filtering/filterable-component';
|
|
27
|
-
import { ListComponent } from '../common/list.component';
|
|
28
|
-
import { VirtualizationSettings } from '../common/models/virtualization-settings';
|
|
29
|
-
import { PageChangeEvent } from '../common/models/page-change-event';
|
|
30
|
-
import { DropDownSize } from '../common/models/size';
|
|
31
|
-
import { DropDownRounded } from '../common/models/rounded';
|
|
32
|
-
import { DropDownFillMode } from '../common/models/fillmode';
|
|
33
|
-
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
34
|
-
import { ActionSheetComponent } from '@progress/kendo-angular-navigation';
|
|
35
|
-
import { TextBoxComponent } from '@progress/kendo-angular-inputs';
|
|
36
|
-
import { AdaptiveRendererComponent } from '../common/adaptive-renderer.component';
|
|
37
|
-
import * as i0 from "@angular/core";
|
|
38
|
-
/**
|
|
39
|
-
* @hidden
|
|
40
|
-
*/
|
|
41
|
-
export declare const DROPDOWNLIST_VALUE_ACCESSOR: any;
|
|
42
|
-
/**
|
|
43
|
-
* Represents the Kendo UI for Angular [DropDownList](https://www.telerik.com/kendo-angular-ui/components/dropdowns/dropdownlist) component.
|
|
44
|
-
*
|
|
45
|
-
* @example
|
|
46
|
-
* ```html
|
|
47
|
-
* <kendo-dropdownlist [data]="["Item 1", "Item 2", "Item 3"]"></kendo-dropdownlist>
|
|
48
|
-
* ```
|
|
49
|
-
* @remarks
|
|
50
|
-
* Supported children components are: {@link CustomMessagesComponent}.
|
|
51
|
-
*/
|
|
52
|
-
export declare class DropDownListComponent implements ControlValueAccessor, AfterViewInit, OnDestroy, OnChanges, AfterContentChecked, OnInit, FilterableComponent {
|
|
53
|
-
wrapper: ElementRef;
|
|
54
|
-
private localization;
|
|
55
|
-
private popupService;
|
|
56
|
-
private selectionService;
|
|
57
|
-
private navigationService;
|
|
58
|
-
private disabledItemsService;
|
|
59
|
-
private dataService;
|
|
60
|
-
private _zone;
|
|
61
|
-
private renderer;
|
|
62
|
-
private cdr;
|
|
63
|
-
private injector;
|
|
64
|
-
private adaptiveService;
|
|
65
|
-
/**
|
|
66
|
-
* @hidden
|
|
67
|
-
*/
|
|
68
|
-
touchEnabled: any;
|
|
69
|
-
/**
|
|
70
|
-
* @hidden
|
|
71
|
-
*/
|
|
72
|
-
animationDuration: number;
|
|
73
|
-
/**
|
|
74
|
-
* @hidden
|
|
75
|
-
*/
|
|
76
|
-
xIcon: SVGIcon;
|
|
77
|
-
/**
|
|
78
|
-
* @hidden
|
|
79
|
-
*/
|
|
80
|
-
searchIcon: SVGIcon;
|
|
81
|
-
/**
|
|
82
|
-
* @hidden
|
|
83
|
-
*/
|
|
84
|
-
chevronDownSVGIcon: SVGIcon;
|
|
85
|
-
/**
|
|
86
|
-
* @hidden
|
|
87
|
-
*/
|
|
88
|
-
customIconClass: string;
|
|
89
|
-
/**
|
|
90
|
-
* @hidden
|
|
91
|
-
*/
|
|
92
|
-
adaptiveRenderer: AdaptiveRendererComponent;
|
|
93
|
-
/**
|
|
94
|
-
* @hidden
|
|
95
|
-
*/
|
|
96
|
-
searchInput: ElementRef<HTMLInputElement>;
|
|
97
|
-
/**
|
|
98
|
-
* @hidden
|
|
99
|
-
*/
|
|
100
|
-
get actionSheet(): ActionSheetComponent;
|
|
101
|
-
/**
|
|
102
|
-
* @hidden
|
|
103
|
-
*/
|
|
104
|
-
get actionSheetSearchBar(): TextBoxComponent;
|
|
105
|
-
get width(): any;
|
|
106
|
-
get height(): any;
|
|
107
|
-
get widgetTabIndex(): number;
|
|
108
|
-
get ariaActivedescendant(): string;
|
|
109
|
-
get appendTo(): ViewContainerRef;
|
|
110
|
-
/**
|
|
111
|
-
* @hidden
|
|
112
|
-
*/
|
|
113
|
-
onFilterChange(text: string): void;
|
|
114
|
-
/**
|
|
115
|
-
* @hidden
|
|
116
|
-
*/
|
|
117
|
-
get ariaLive(): string;
|
|
118
|
-
/**
|
|
119
|
-
* Shows or hides the current group sticky header when using grouped data.
|
|
120
|
-
* The sticky header displays by default. [see example.](https://www.telerik.com/kendo-angular-ui/components/dropdowns/autocomplete/grouping#sticky-header)
|
|
121
|
-
*/
|
|
122
|
-
showStickyHeader: boolean;
|
|
123
|
-
/**
|
|
124
|
-
* @hidden
|
|
125
|
-
*/
|
|
126
|
-
icon: string;
|
|
127
|
-
/**
|
|
128
|
-
* @hidden
|
|
129
|
-
*/
|
|
130
|
-
svgIcon: SVGIcon;
|
|
131
|
-
/**
|
|
132
|
-
* Sets and gets the loading state of the `DropDownListComponent`.
|
|
133
|
-
*/
|
|
134
|
-
loading: boolean;
|
|
135
|
-
/**
|
|
136
|
-
* Sets the data of the `DropDownListComponent`.
|
|
137
|
-
*
|
|
138
|
-
* The data must be an array-like list.
|
|
139
|
-
*/
|
|
140
|
-
set data(data: any);
|
|
141
|
-
get data(): any;
|
|
142
|
-
/**
|
|
143
|
-
* Sets the value of the `DropDownListComponent`.
|
|
144
|
-
* The value can be a primitive (string, number) or a complex object.
|
|
145
|
-
* Use the `valuePrimitive` option to define the type.
|
|
146
|
-
*
|
|
147
|
-
* All selected values not present in the source are ignored.
|
|
148
|
-
*/
|
|
149
|
-
set value(newValue: any);
|
|
150
|
-
get value(): any;
|
|
151
|
-
/**
|
|
152
|
-
* Sets the data item field that represents the item text.
|
|
153
|
-
* If the data contains only primitive values, do not define this property.
|
|
154
|
-
*
|
|
155
|
-
* The `textField` property can point to a nested property value, for example, `category.name`.
|
|
156
|
-
*/
|
|
157
|
-
textField: string;
|
|
158
|
-
/**
|
|
159
|
-
* Sets the data item field that represents the item value.
|
|
160
|
-
* If the data contains only primitive values, do not define this property.
|
|
161
|
-
*
|
|
162
|
-
* The `valueField` property can point to a nested property value, for example, `category.id`.
|
|
163
|
-
*/
|
|
164
|
-
valueField: string;
|
|
165
|
-
/**
|
|
166
|
-
* Enables or disables the adaptive mode. The adaptive rendering is disabled by default.
|
|
167
|
-
*/
|
|
168
|
-
adaptiveMode: AdaptiveMode;
|
|
169
|
-
/**
|
|
170
|
-
* Sets the title of the ActionSheet rendered instead of the Popup on small screens.
|
|
171
|
-
* By default, the ActionSheet title uses the label text of the `DropDownListComponent`.
|
|
172
|
-
*/
|
|
173
|
-
adaptiveTitle: string;
|
|
174
|
-
/**
|
|
175
|
-
* Sets the subtitle of the ActionSheet rendered instead of the Popup on small screens.
|
|
176
|
-
* By default, the ActionSheet does not render a subtitle.
|
|
177
|
-
*/
|
|
178
|
-
adaptiveSubtitle: string;
|
|
179
|
-
/**
|
|
180
|
-
* @hidden
|
|
181
|
-
*/
|
|
182
|
-
get isAdaptiveModeEnabled(): boolean;
|
|
183
|
-
/**
|
|
184
|
-
* @hidden
|
|
185
|
-
*/
|
|
186
|
-
windowSize: AdaptiveSize;
|
|
187
|
-
/**
|
|
188
|
-
* @hidden
|
|
189
|
-
*/
|
|
190
|
-
get isActionSheetExpanded(): boolean;
|
|
191
|
-
/**
|
|
192
|
-
* @hidden
|
|
193
|
-
*/
|
|
194
|
-
get isAdaptive(): boolean;
|
|
195
|
-
/**
|
|
196
|
-
* Configures the popup of the `DropDownListComponent`.
|
|
197
|
-
*
|
|
198
|
-
* The available options are:
|
|
199
|
-
* - `animate: Boolean`—Controls the popup animation. The open and close animations are enabled by default.
|
|
200
|
-
* - `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. The `auto` mode is not supported when virtual scrolling is enabled.
|
|
201
|
-
* - `height: Number`—Sets the height of the popup container.
|
|
202
|
-
* - `popupClass: String`—Specifies a list of CSS classes used to style the popup.
|
|
203
|
-
* - `appendTo: "root" | "component" | ViewContainerRef`—Specifies the component to which the popup will be appended.
|
|
204
|
-
*/
|
|
205
|
-
set popupSettings(settings: PopupSettings);
|
|
206
|
-
get popupSettings(): PopupSettings;
|
|
207
|
-
/**
|
|
208
|
-
* Sets the height of the options list in the popup.
|
|
209
|
-
*
|
|
210
|
-
* The `listHeight` property affects only the list of options, not the whole popup container.
|
|
211
|
-
* To set the height of the popup container, use `popupSettings.height`.
|
|
212
|
-
*
|
|
213
|
-
* When using `adaptiveMode` and the screen size is `small` or `medium`, the `listHeight` property is set to null.
|
|
214
|
-
*
|
|
215
|
-
* @default 200
|
|
216
|
-
*/
|
|
217
|
-
set listHeight(_listHeight: number);
|
|
218
|
-
get listHeight(): number;
|
|
219
|
-
private _listHeight;
|
|
220
|
-
/**
|
|
221
|
-
* Sets the text of the default empty item. The value type must match the data type.
|
|
222
|
-
*/
|
|
223
|
-
defaultItem: any;
|
|
224
|
-
/**
|
|
225
|
-
* Sets the disabled state of the component. To disable the component in reactive forms, see [Forms Support](https://www.telerik.com/kendo-angular-ui/components/dropdowns/dropdownlist/forms#managing-the-dropdownlist-disabled-state-in-reactive-forms).
|
|
226
|
-
*/
|
|
227
|
-
disabled: boolean;
|
|
228
|
-
/**
|
|
229
|
-
* Defines a Boolean function executed for each data item in the component. Determines whether the item is disabled. [See examples.](https://www.telerik.com/kendo-angular-ui/components/dropdowns/dropdownlist/disabled-items)
|
|
230
|
-
*/
|
|
231
|
-
set itemDisabled(fn: ItemDisabledFn);
|
|
232
|
-
/**
|
|
233
|
-
* Sets the read-only state of the component.
|
|
234
|
-
*
|
|
235
|
-
* @default false
|
|
236
|
-
*/
|
|
237
|
-
readonly: boolean;
|
|
238
|
-
/**
|
|
239
|
-
* Enables the [filtering](https://www.telerik.com/kendo-angular-ui/components/dropdowns/dropdownlist/filtering) functionality of the `DropDownListComponent`.
|
|
240
|
-
*/
|
|
241
|
-
filterable: boolean;
|
|
242
|
-
/**
|
|
243
|
-
* Enables the [virtualization](https://www.telerik.com/kendo-angular-ui/components/dropdowns/dropdownlist/virtualization) functionality.
|
|
244
|
-
*/
|
|
245
|
-
set virtual(settings: boolean | VirtualizationSettings);
|
|
246
|
-
get virtual(): VirtualizationSettings;
|
|
247
|
-
/**
|
|
248
|
-
* Enables a case-insensitive search. Use this option when filtration is disabled.
|
|
249
|
-
*/
|
|
250
|
-
ignoreCase: boolean;
|
|
251
|
-
/**
|
|
252
|
-
* Sets the delay before an item search is performed. Use this option when filtration is disabled.
|
|
253
|
-
*/
|
|
254
|
-
delay: number;
|
|
255
|
-
/**
|
|
256
|
-
* Specifies the type of the selected value. If set to `true`, the selected value must be a primitive value.
|
|
257
|
-
* * [More information and example.](https://www.telerik.com/kendo-angular-ui/components/dropdowns/dropdownlist/value-binding#primitive-values-from-object-fields)
|
|
258
|
-
*/
|
|
259
|
-
set valuePrimitive(isPrimitive: boolean);
|
|
260
|
-
get valuePrimitive(): boolean;
|
|
261
|
-
/**
|
|
262
|
-
* Specifies the [`tabindex`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) of the component.
|
|
263
|
-
*
|
|
264
|
-
* @default 0
|
|
265
|
-
*/
|
|
266
|
-
tabindex: number;
|
|
267
|
-
/**
|
|
268
|
-
* @hidden
|
|
269
|
-
*/
|
|
270
|
-
set tabIndex(tabIndex: number);
|
|
271
|
-
get tabIndex(): number;
|
|
272
|
-
/**
|
|
273
|
-
* Sets the size of the component. The default value is set by the Kendo theme.
|
|
274
|
-
*/
|
|
275
|
-
set size(size: DropDownSize);
|
|
276
|
-
get size(): DropDownSize;
|
|
277
|
-
/**
|
|
278
|
-
* Sets the border radius of the component. The default value is set by the Kendo theme.
|
|
279
|
-
*/
|
|
280
|
-
set rounded(rounded: DropDownRounded);
|
|
281
|
-
get rounded(): DropDownRounded;
|
|
282
|
-
/**
|
|
283
|
-
* Sets the fillMode of the component. The default value is set by the Kendo theme.
|
|
284
|
-
*/
|
|
285
|
-
set fillMode(fillMode: DropDownFillMode);
|
|
286
|
-
get fillMode(): DropDownFillMode;
|
|
287
|
-
/**
|
|
288
|
-
* Toggles the left and right arrow keys navigation functionality.
|
|
289
|
-
* @hidden
|
|
290
|
-
*/
|
|
291
|
-
leftRightArrowsNavigation: boolean;
|
|
292
|
-
/**
|
|
293
|
-
* Fires each time the value changes. [See example.](https://www.telerik.com/kendo-angular-ui/components/dropdowns/dropdownlist/events).
|
|
294
|
-
*/
|
|
295
|
-
valueChange: EventEmitter<any>;
|
|
296
|
-
/**
|
|
297
|
-
** Fires each time the user types in the input field. You can filter the source based on the filtration value. When the value is programmatically changed, the `valueChange` event is not triggered. [See example.](https://www.telerik.com/kendo-angular-ui/components/dropdowns/dropdownlist/events).
|
|
298
|
-
*/
|
|
299
|
-
filterChange: EventEmitter<any>;
|
|
300
|
-
/**
|
|
301
|
-
* Fires each time the item selection changes. [see example.](https://www.telerik.com/kendo-angular-ui/components/dropdowns/dropdownlist/events).
|
|
302
|
-
*/
|
|
303
|
-
selectionChange: EventEmitter<any>;
|
|
304
|
-
/**
|
|
305
|
-
* Fires each time the popup is about to open. This event is preventable. If you cancel it, the popup remains closed. [see example.](https://www.telerik.com/kendo-angular-ui/components/dropdowns/dropdownlist/open-state#preventing-opening-and-closing)
|
|
306
|
-
*/
|
|
307
|
-
open: EventEmitter<PreventableEvent>;
|
|
308
|
-
/**
|
|
309
|
-
* Fires after the popup has been opened.
|
|
310
|
-
*/
|
|
311
|
-
opened: EventEmitter<any>;
|
|
312
|
-
/**
|
|
313
|
-
* Fires each time the popup is about to close. This event is preventable. If you cancel it, the popup remains open. [see example.](https://www.telerik.com/kendo-angular-ui/components/dropdowns/dropdownlist/open-state#preventing-opening-and-closing)
|
|
314
|
-
*/
|
|
315
|
-
close: EventEmitter<PreventableEvent>;
|
|
316
|
-
/**
|
|
317
|
-
* Fires after the popup has been closed.
|
|
318
|
-
*/
|
|
319
|
-
closed: EventEmitter<any>;
|
|
320
|
-
/**
|
|
321
|
-
* Fires each time the user focuses the `DropDownListComponent`.
|
|
322
|
-
*/
|
|
323
|
-
onFocus: EventEmitter<any>;
|
|
324
|
-
/**
|
|
325
|
-
* Fires each time the `DropDownListComponent` gets blurred.
|
|
326
|
-
*/
|
|
327
|
-
onBlur: EventEmitter<any>;
|
|
328
|
-
itemTemplate: ItemTemplateDirective;
|
|
329
|
-
groupTemplate: GroupTemplateDirective;
|
|
330
|
-
fixedGroupTemplate: FixedGroupTemplateDirective;
|
|
331
|
-
valueTemplate: ValueTemplateDirective;
|
|
332
|
-
headerTemplate: HeaderTemplateDirective;
|
|
333
|
-
footerTemplate: FooterTemplateDirective;
|
|
334
|
-
noDataTemplate: NoDataTemplateDirective;
|
|
335
|
-
container: ViewContainerRef;
|
|
336
|
-
popupTemplate: TemplateRef<any>;
|
|
337
|
-
optionsList: ListComponent;
|
|
338
|
-
/**
|
|
339
|
-
* @hidden
|
|
340
|
-
*/
|
|
341
|
-
blurComponent(event: FocusEvent): void;
|
|
342
|
-
/**
|
|
343
|
-
* @hidden
|
|
344
|
-
*/
|
|
345
|
-
blurFilterInput(): void;
|
|
346
|
-
/**
|
|
347
|
-
* @hidden
|
|
348
|
-
*/
|
|
349
|
-
focusComponent(event: FocusEvent): void;
|
|
350
|
-
/**
|
|
351
|
-
* @hidden
|
|
352
|
-
*/
|
|
353
|
-
onResize(): void;
|
|
354
|
-
hostClasses: boolean;
|
|
355
|
-
get isDisabledClass(): boolean | null;
|
|
356
|
-
get isLoading(): boolean;
|
|
357
|
-
/**
|
|
358
|
-
* @hidden
|
|
359
|
-
*/
|
|
360
|
-
focusableId: string;
|
|
361
|
-
get dir(): string;
|
|
362
|
-
get hostTabIndex(): number;
|
|
363
|
-
get readonlyClass(): boolean;
|
|
364
|
-
get readonlyAttr(): string;
|
|
365
|
-
get isBusy(): boolean;
|
|
366
|
-
role: string;
|
|
367
|
-
haspopup: string;
|
|
368
|
-
get hostAriaInvalid(): boolean | null;
|
|
369
|
-
/**
|
|
370
|
-
* @hidden
|
|
371
|
-
*/
|
|
372
|
-
keydown(event: KeyboardEvent, input?: HTMLInputElement): void;
|
|
373
|
-
/**
|
|
374
|
-
* @hidden
|
|
375
|
-
*/
|
|
376
|
-
keypress(event: any): void;
|
|
377
|
-
/**
|
|
378
|
-
* @hidden
|
|
379
|
-
*/
|
|
380
|
-
click(): void;
|
|
381
|
-
groupIndices: any[];
|
|
382
|
-
optionPrefix: string;
|
|
383
|
-
valueLabelId: string;
|
|
384
|
-
filterText: string;
|
|
385
|
-
listBoxId: string;
|
|
386
|
-
private subs;
|
|
387
|
-
private _isFocused;
|
|
388
|
-
set isFocused(isFocused: boolean);
|
|
389
|
-
get isFocused(): boolean;
|
|
390
|
-
direction: Direction;
|
|
391
|
-
dataItem: any;
|
|
392
|
-
popupRef: PopupRef;
|
|
393
|
-
protected onTouchedCallback: Function;
|
|
394
|
-
protected onChangeCallback: Function;
|
|
395
|
-
private popupMouseDownHandler;
|
|
396
|
-
private word;
|
|
397
|
-
private last;
|
|
398
|
-
private typingTimeout;
|
|
399
|
-
private filterFocused;
|
|
400
|
-
private filterBlurred;
|
|
401
|
-
private hostElementFocused;
|
|
402
|
-
private hostElementBlurred;
|
|
403
|
-
private touchstartDisposeHandler;
|
|
404
|
-
private _value;
|
|
405
|
-
private _open;
|
|
406
|
-
private _previousDataItem;
|
|
407
|
-
private _valuePrimitive;
|
|
408
|
-
private text;
|
|
409
|
-
private _popupSettings;
|
|
410
|
-
private _virtualSettings;
|
|
411
|
-
private _size;
|
|
412
|
-
private _rounded;
|
|
413
|
-
private _fillMode;
|
|
414
|
-
constructor(wrapper: ElementRef, localization: LocalizationService, popupService: PopupService, selectionService: SelectionService, navigationService: NavigationService, disabledItemsService: DisabledItemsService, dataService: DataService, _zone: NgZone, renderer: Renderer2, cdr: ChangeDetectorRef, injector: Injector, adaptiveService: AdaptiveService);
|
|
415
|
-
ngOnInit(): void;
|
|
416
|
-
ngAfterViewInit(): void;
|
|
417
|
-
/**
|
|
418
|
-
* @hidden
|
|
419
|
-
* Used by the TextBoxContainer to determine if the component is empty.
|
|
420
|
-
*/
|
|
421
|
-
isEmpty(): boolean;
|
|
422
|
-
/**
|
|
423
|
-
* @hidden
|
|
424
|
-
*/
|
|
425
|
-
onFilterFocus(): void;
|
|
426
|
-
/**
|
|
427
|
-
* @hidden
|
|
428
|
-
*/
|
|
429
|
-
ngOnDestroy(): void;
|
|
430
|
-
/**
|
|
431
|
-
* @hidden
|
|
432
|
-
*/
|
|
433
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
434
|
-
/**
|
|
435
|
-
* @hidden
|
|
436
|
-
*/
|
|
437
|
-
ngAfterContentChecked(): void;
|
|
438
|
-
/**
|
|
439
|
-
* @hidden
|
|
440
|
-
*/
|
|
441
|
-
get formControl(): FormControl;
|
|
442
|
-
/**
|
|
443
|
-
* Focuses a specific item of the `DropDownListComponent` based on the provided index. If there is a default item, it is positioned at index `-1`. If `null` or an invalid index is provided, the focus is removed.
|
|
444
|
-
*/
|
|
445
|
-
focusItemAt(index: number): void;
|
|
446
|
-
/**
|
|
447
|
-
* Focuses the `DropDownListComponent`.
|
|
448
|
-
*/
|
|
449
|
-
focus(): void;
|
|
450
|
-
/**
|
|
451
|
-
* Blurs the `DropDownListComponent`.
|
|
452
|
-
*/
|
|
453
|
-
blur(): void;
|
|
454
|
-
/**
|
|
455
|
-
* Toggles the visibility of the Popup or ActionSheet. If you use the `toggle` method to open or close the Popup, the `open` and `close` events are not fired.
|
|
456
|
-
*
|
|
457
|
-
* @param open - The state of the popup.
|
|
458
|
-
*/
|
|
459
|
-
toggle(open?: boolean): void;
|
|
460
|
-
private _toggle;
|
|
461
|
-
private triggerPopupEvents;
|
|
462
|
-
/**
|
|
463
|
-
* @hidden
|
|
464
|
-
*/
|
|
465
|
-
togglePopup(open: boolean): void;
|
|
466
|
-
/**
|
|
467
|
-
* Returns the current open state. Returns `true` if the popup or actionSheet is open.
|
|
468
|
-
*/
|
|
469
|
-
get isOpen(): boolean;
|
|
470
|
-
/**
|
|
471
|
-
* Resets the value of the `DropDownListComponent`. If you use the `reset` method to clear the value, the model does not update automatically and the `selectionChange` and `valueChange` events are not fired.
|
|
472
|
-
*/
|
|
473
|
-
reset(): void;
|
|
474
|
-
/**
|
|
475
|
-
* @hidden
|
|
476
|
-
*/
|
|
477
|
-
messageFor(key: string): string;
|
|
478
|
-
/**
|
|
479
|
-
* @hidden
|
|
480
|
-
*/
|
|
481
|
-
writeValue(value: any): void;
|
|
482
|
-
/**
|
|
483
|
-
* @hidden
|
|
484
|
-
*/
|
|
485
|
-
registerOnChange(fn: any): void;
|
|
486
|
-
/**
|
|
487
|
-
* @hidden
|
|
488
|
-
*/
|
|
489
|
-
registerOnTouched(fn: any): void;
|
|
490
|
-
/**
|
|
491
|
-
* @hidden
|
|
492
|
-
*/
|
|
493
|
-
setDisabledState(isDisabled: boolean): void;
|
|
494
|
-
/**
|
|
495
|
-
* @hidden
|
|
496
|
-
*/
|
|
497
|
-
get selectButtonClasses(): any;
|
|
498
|
-
/**
|
|
499
|
-
* @hidden
|
|
500
|
-
*/
|
|
501
|
-
get filterInputClasses(): any;
|
|
502
|
-
/**
|
|
503
|
-
* @hidden
|
|
504
|
-
*/
|
|
505
|
-
get listContainerClasses(): object;
|
|
506
|
-
/**
|
|
507
|
-
* @hidden
|
|
508
|
-
*/
|
|
509
|
-
getText(): any;
|
|
510
|
-
private createPopup;
|
|
511
|
-
private destroyPopup;
|
|
512
|
-
private updateState;
|
|
513
|
-
private clearState;
|
|
514
|
-
private resetSelection;
|
|
515
|
-
private onSelectionChange;
|
|
516
|
-
private subscribeEvents;
|
|
517
|
-
private setAriaactivedescendant;
|
|
518
|
-
private subscribeTouchEvents;
|
|
519
|
-
private subscribeFocusEvents;
|
|
520
|
-
private unSubscribeFocusEvents;
|
|
521
|
-
private itemFromEvent;
|
|
522
|
-
private currentOrDefault;
|
|
523
|
-
private firstFocusableIndex;
|
|
524
|
-
private handleEnter;
|
|
525
|
-
private handleEscape;
|
|
526
|
-
private clearFilter;
|
|
527
|
-
protected verifySettings(): void;
|
|
528
|
-
protected componentBlur(): void;
|
|
529
|
-
/**
|
|
530
|
-
* @hidden
|
|
531
|
-
*/
|
|
532
|
-
onMouseDown(event: any): void;
|
|
533
|
-
protected onKeyPress(event: any): void;
|
|
534
|
-
protected search(): void;
|
|
535
|
-
protected selectNext(): void;
|
|
536
|
-
private emitChange;
|
|
537
|
-
protected navigate(index: number): void;
|
|
538
|
-
protected findDataItem({ valueField, value }: {
|
|
539
|
-
valueField: string;
|
|
540
|
-
value: any;
|
|
541
|
-
}): {
|
|
542
|
-
dataItem: any;
|
|
543
|
-
index: number;
|
|
544
|
-
};
|
|
545
|
-
protected setState(): void;
|
|
546
|
-
/**
|
|
547
|
-
* @hidden
|
|
548
|
-
*/
|
|
549
|
-
handleFilter(event: any): void;
|
|
550
|
-
/**
|
|
551
|
-
* @hidden
|
|
552
|
-
*/
|
|
553
|
-
handleClick(): void;
|
|
554
|
-
/**
|
|
555
|
-
* @hidden
|
|
556
|
-
*/
|
|
557
|
-
pageChange(event: PageChangeEvent): void;
|
|
558
|
-
private assignAriaDescribedBy;
|
|
559
|
-
private setComponentClasses;
|
|
560
|
-
private closeActionSheet;
|
|
561
|
-
private openActionSheet;
|
|
562
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DropDownListComponent, never>;
|
|
563
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DropDownListComponent, "kendo-dropdownlist", ["kendoDropDownList"], { "customIconClass": { "alias": "customIconClass"; "required": false; }; "showStickyHeader": { "alias": "showStickyHeader"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "svgIcon": { "alias": "svgIcon"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "data": { "alias": "data"; "required": false; }; "value": { "alias": "value"; "required": false; }; "textField": { "alias": "textField"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; "adaptiveMode": { "alias": "adaptiveMode"; "required": false; }; "adaptiveTitle": { "alias": "adaptiveTitle"; "required": false; }; "adaptiveSubtitle": { "alias": "adaptiveSubtitle"; "required": false; }; "popupSettings": { "alias": "popupSettings"; "required": false; }; "listHeight": { "alias": "listHeight"; "required": false; }; "defaultItem": { "alias": "defaultItem"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "itemDisabled": { "alias": "itemDisabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "filterable": { "alias": "filterable"; "required": false; }; "virtual": { "alias": "virtual"; "required": false; }; "ignoreCase": { "alias": "ignoreCase"; "required": false; }; "delay": { "alias": "delay"; "required": false; }; "valuePrimitive": { "alias": "valuePrimitive"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "size": { "alias": "size"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; "fillMode": { "alias": "fillMode"; "required": false; }; "leftRightArrowsNavigation": { "alias": "leftRightArrowsNavigation"; "required": false; }; "focusableId": { "alias": "id"; "required": false; }; }, { "valueChange": "valueChange"; "filterChange": "filterChange"; "selectionChange": "selectionChange"; "open": "open"; "opened": "opened"; "close": "close"; "closed": "closed"; "onFocus": "focus"; "onBlur": "blur"; }, ["itemTemplate", "groupTemplate", "fixedGroupTemplate", "valueTemplate", "headerTemplate", "footerTemplate", "noDataTemplate"], never, true, never>;
|
|
564
|
-
}
|
|
@@ -1,54 +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 "./dropdownlist.component";
|
|
7
|
-
import * as i2 from "../common/templates/fixed-group-template.directive";
|
|
8
|
-
import * as i3 from "../common/templates/footer-template.directive";
|
|
9
|
-
import * as i4 from "../common/templates/group-template.directive";
|
|
10
|
-
import * as i5 from "../common/templates/header-template.directive";
|
|
11
|
-
import * as i6 from "../common/templates/item-template.directive";
|
|
12
|
-
import * as i7 from "../common/templates/value-template.directive";
|
|
13
|
-
import * as i8 from "../common/templates/no-data-template.directive";
|
|
14
|
-
import * as i9 from "../common/filtering/filter.directive";
|
|
15
|
-
import * as i10 from "../common/localization/custom-messages.component";
|
|
16
|
-
/**
|
|
17
|
-
* Required for adding all DropDownList features in NgModule-based Angular applications.
|
|
18
|
-
*
|
|
19
|
-
* ```typescript
|
|
20
|
-
* import { DropDownListModule } from '@progress/kendo-angular-dropdowns';
|
|
21
|
-
* @NgModule({
|
|
22
|
-
* imports: [DropDownListModule],
|
|
23
|
-
* declarations: [AppComponent],
|
|
24
|
-
* bootstrap: [AppComponent]
|
|
25
|
-
* })
|
|
26
|
-
* ```
|
|
27
|
-
*
|
|
28
|
-
* The package exports:
|
|
29
|
-
* - `DropDownListComponent`—The `DropDownListComponent` class.
|
|
30
|
-
* - `ItemTemplateDirective`—The `ItemTemplateDirective` directive.
|
|
31
|
-
* - `ValueTemplateDirective`—The `ValueTemplateDirective` directive.
|
|
32
|
-
* - `HeaderTemplateDirective`—The `HeaderTemplateDirective` directive.
|
|
33
|
-
* - `FooterTemplateDirective`—The `FooterTemplateDirective` directive.
|
|
34
|
-
* - `NoDataTemplateDirective`—The `NoDataTemplateDirective` directive.
|
|
35
|
-
* - `GroupTemplateDirective`—The `GroupTemplateDirective` directive.
|
|
36
|
-
* - `FixedGroupTemplateDirective`—The `FixedGroupTemplateDirective` directive.
|
|
37
|
-
* - `FilterDirective`—The `FilterDirective` directive.
|
|
38
|
-
* - `CustomMessagesComponent`—The `CustomMessagesComponent` component.
|
|
39
|
-
*
|
|
40
|
-
* @example
|
|
41
|
-
* ```typescript
|
|
42
|
-
* import { DropDownListModule } from '@progress/kendo-angular-dropdowns';
|
|
43
|
-
*
|
|
44
|
-
* @NgModule({
|
|
45
|
-
* imports: [DropDownListModule],
|
|
46
|
-
* })
|
|
47
|
-
* export class AppModule {}
|
|
48
|
-
* ```
|
|
49
|
-
*/
|
|
50
|
-
export declare class DropDownListModule {
|
|
51
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DropDownListModule, never>;
|
|
52
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DropDownListModule, never, [typeof i1.DropDownListComponent, typeof i2.FixedGroupTemplateDirective, typeof i3.FooterTemplateDirective, typeof i4.GroupTemplateDirective, typeof i5.HeaderTemplateDirective, typeof i6.ItemTemplateDirective, typeof i7.ValueTemplateDirective, typeof i8.NoDataTemplateDirective, typeof i9.FilterDirective, typeof i10.CustomMessagesComponent], [typeof i1.DropDownListComponent, typeof i2.FixedGroupTemplateDirective, typeof i3.FooterTemplateDirective, typeof i4.GroupTemplateDirective, typeof i5.HeaderTemplateDirective, typeof i6.ItemTemplateDirective, typeof i7.ValueTemplateDirective, typeof i8.NoDataTemplateDirective, typeof i9.FilterDirective, typeof i10.CustomMessagesComponent]>;
|
|
53
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<DropDownListModule>;
|
|
54
|
-
}
|