@progress/kendo-vue-dropdowns 8.0.3-develop.2 → 8.0.3-develop.3
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/AutoComplete/AutoComplete.d.ts +331 -0
- package/AutoComplete/AutoCompleteProps.d.ts +243 -0
- package/ComboBox/ComboBox.d.ts +371 -0
- package/ComboBox/ComboBoxProps.d.ts +286 -0
- package/DropDownList/DropDownList.d.ts +353 -0
- package/DropDownList/DropDownListProps.d.ts +312 -0
- package/DropDownTree/DropDownTree.d.ts +301 -0
- package/DropDownTree/DropDownTreeProps.d.ts +306 -0
- package/DropDownTree/ListNoData.d.ts +12 -0
- package/MultiSelect/MultiSelect.d.ts +369 -0
- package/MultiSelect/MultiSelect.js +1 -1
- package/MultiSelect/MultiSelect.mjs +2 -2
- package/MultiSelect/MultiSelectProps.d.ts +300 -0
- package/MultiSelect/TagList.d.ts +90 -0
- package/MultiSelectTree/MultiSelectTree.d.ts +272 -0
- package/MultiSelectTree/MultiSelectTreeProps.d.ts +327 -0
- package/MultiSelectTree/utils.d.ts +24 -0
- package/common/ClearButton.d.ts +22 -0
- package/common/DropDownBase.d.ts +106 -0
- package/common/GroupStickyHeader.d.ts +32 -0
- package/common/List.d.ts +111 -0
- package/common/List.mjs +1 -1
- package/common/ListContainer.d.ts +63 -0
- package/common/ListDefaultItem.d.ts +35 -0
- package/common/ListFilter.d.ts +103 -0
- package/common/ListGroupItem.d.ts +70 -0
- package/common/ListItem.d.ts +129 -0
- package/common/ListItemIcon.d.ts +33 -0
- package/common/Navigation.d.ts +19 -0
- package/common/SearchBar.d.ts +120 -0
- package/common/VirtualScroll.d.ts +49 -0
- package/common/constants.d.ts +11 -0
- package/common/events.d.ts +70 -0
- package/common/filterDescriptor.d.ts +48 -0
- package/common/settings.d.ts +118 -0
- package/common/utils.d.ts +77 -0
- package/dist/cdn/js/kendo-vue-dropdowns.js +1 -1
- package/index.d.mts +18 -4024
- package/index.d.ts +18 -4024
- package/messages/main.d.ts +47 -0
- package/package-metadata.d.ts +12 -0
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +18 -12
|
@@ -0,0 +1,353 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { FormComponentValidity } from '@progress/kendo-vue-common';
|
|
9
|
+
import { InternalState } from './../common/settings';
|
|
10
|
+
import { PropType } from 'vue';
|
|
11
|
+
/**
|
|
12
|
+
* @hidden
|
|
13
|
+
*/
|
|
14
|
+
declare const DropDownList: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
15
|
+
id: PropType<string>;
|
|
16
|
+
title: PropType<string>;
|
|
17
|
+
dataItemKey: {
|
|
18
|
+
type: PropType<string>;
|
|
19
|
+
};
|
|
20
|
+
defaultValue: {
|
|
21
|
+
type: PropType<any>;
|
|
22
|
+
default: any;
|
|
23
|
+
};
|
|
24
|
+
name: PropType<string>;
|
|
25
|
+
modelValue: {
|
|
26
|
+
type: PropType<any>;
|
|
27
|
+
default: any;
|
|
28
|
+
};
|
|
29
|
+
value: {
|
|
30
|
+
type: PropType<any>;
|
|
31
|
+
default: any;
|
|
32
|
+
};
|
|
33
|
+
label: {
|
|
34
|
+
type: PropType<string>;
|
|
35
|
+
};
|
|
36
|
+
required: {
|
|
37
|
+
type: PropType<boolean>;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
leftRightKeysNavigation: {
|
|
41
|
+
type: PropType<boolean>;
|
|
42
|
+
default: boolean;
|
|
43
|
+
};
|
|
44
|
+
valid: {
|
|
45
|
+
type: PropType<boolean>;
|
|
46
|
+
default: any;
|
|
47
|
+
};
|
|
48
|
+
validate: {
|
|
49
|
+
type: PropType<boolean>;
|
|
50
|
+
};
|
|
51
|
+
validationMessage: {
|
|
52
|
+
type: PropType<string>;
|
|
53
|
+
default: any;
|
|
54
|
+
};
|
|
55
|
+
validityStyles: {
|
|
56
|
+
type: PropType<boolean>;
|
|
57
|
+
default: boolean;
|
|
58
|
+
};
|
|
59
|
+
delay: {
|
|
60
|
+
type: PropType<number>;
|
|
61
|
+
default: number;
|
|
62
|
+
};
|
|
63
|
+
ignoreCase: {
|
|
64
|
+
type: PropType<boolean>;
|
|
65
|
+
default: boolean;
|
|
66
|
+
};
|
|
67
|
+
icon: PropType<string>;
|
|
68
|
+
svgIcon: PropType<import('@progress/kendo-svg-icons').SVGIcon>;
|
|
69
|
+
iconClassName: PropType<string>;
|
|
70
|
+
defaultItem: PropType<any>;
|
|
71
|
+
valueRender: PropType<any>;
|
|
72
|
+
valueMap: PropType<(value: any) => any>;
|
|
73
|
+
opened: {
|
|
74
|
+
type: PropType<boolean>;
|
|
75
|
+
default: any;
|
|
76
|
+
};
|
|
77
|
+
disabled: PropType<boolean>;
|
|
78
|
+
dir: {
|
|
79
|
+
type: PropType<string>;
|
|
80
|
+
default: any;
|
|
81
|
+
};
|
|
82
|
+
tabIndex: {
|
|
83
|
+
type: PropType<number>;
|
|
84
|
+
default: number;
|
|
85
|
+
};
|
|
86
|
+
accessKey: PropType<string>;
|
|
87
|
+
dataItems: PropType<any[]>;
|
|
88
|
+
textField: PropType<string>;
|
|
89
|
+
valueField: PropType<string>;
|
|
90
|
+
valuePrimitive: PropType<boolean>;
|
|
91
|
+
className: PropType<string>;
|
|
92
|
+
loading: PropType<boolean>;
|
|
93
|
+
popupSettings: {
|
|
94
|
+
type: PropType<import('./../common/settings').DropDownsPopupSettings>;
|
|
95
|
+
default: {
|
|
96
|
+
animate: boolean;
|
|
97
|
+
height: string;
|
|
98
|
+
anchor: string;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
itemRender: PropType<any>;
|
|
102
|
+
groupHeaderItemRender: PropType<any>;
|
|
103
|
+
groupStickyHeaderItemRender: PropType<any>;
|
|
104
|
+
listNoDataRender: PropType<any>;
|
|
105
|
+
focusedItemIndex: PropType<(data: any, inputText: string, textField?: string) => number>;
|
|
106
|
+
header: PropType<any>;
|
|
107
|
+
footer: PropType<any>;
|
|
108
|
+
filterable: PropType<boolean>;
|
|
109
|
+
filter: {
|
|
110
|
+
type: PropType<string>;
|
|
111
|
+
default: any;
|
|
112
|
+
};
|
|
113
|
+
virtual: {
|
|
114
|
+
type: PropType<import('./../common/settings').VirtualizationSettings>;
|
|
115
|
+
default: any;
|
|
116
|
+
};
|
|
117
|
+
ariaLabelledBy: PropType<string>;
|
|
118
|
+
ariaLabel: PropType<string>;
|
|
119
|
+
ariaDescribedBy: PropType<string>;
|
|
120
|
+
rounded: {
|
|
121
|
+
type: PropType<"small" | "medium" | "large" | "full" | "none">;
|
|
122
|
+
validator: (value: string) => boolean;
|
|
123
|
+
};
|
|
124
|
+
fillMode: {
|
|
125
|
+
type: PropType<"flat" | "solid" | "outline">;
|
|
126
|
+
validator: (value: string) => boolean;
|
|
127
|
+
};
|
|
128
|
+
size: {
|
|
129
|
+
type: PropType<"small" | "medium" | "large">;
|
|
130
|
+
validator: (value: string) => boolean;
|
|
131
|
+
};
|
|
132
|
+
groupField: {
|
|
133
|
+
type: PropType<string>;
|
|
134
|
+
};
|
|
135
|
+
adaptive: {
|
|
136
|
+
type: PropType<boolean>;
|
|
137
|
+
default: any;
|
|
138
|
+
};
|
|
139
|
+
adaptiveTitle: {
|
|
140
|
+
type: PropType<string>;
|
|
141
|
+
default: any;
|
|
142
|
+
};
|
|
143
|
+
onChange: PropType<(event: import('./DropDownListProps').DropDownListChangeEvent) => void>;
|
|
144
|
+
}>, {
|
|
145
|
+
selectRef: import('vue').Ref<any, any>;
|
|
146
|
+
baseWrapperRef: import('vue').Ref<any, any>;
|
|
147
|
+
kendoAnchorRef: import('vue').Ref<any, any>;
|
|
148
|
+
}, {
|
|
149
|
+
hasMounted: boolean;
|
|
150
|
+
currentText: string;
|
|
151
|
+
currentValue: string;
|
|
152
|
+
currentFocused: boolean;
|
|
153
|
+
currentOpened: boolean;
|
|
154
|
+
searchState: {
|
|
155
|
+
word: string;
|
|
156
|
+
last: string;
|
|
157
|
+
};
|
|
158
|
+
_skipFocusEvent: boolean;
|
|
159
|
+
valueDuringOnChange: {};
|
|
160
|
+
_navigated: boolean;
|
|
161
|
+
group: any;
|
|
162
|
+
isScrolling: boolean;
|
|
163
|
+
itemHeight: number;
|
|
164
|
+
state: any;
|
|
165
|
+
popupWidth: any;
|
|
166
|
+
windowWidth: number;
|
|
167
|
+
}, {
|
|
168
|
+
index(): number;
|
|
169
|
+
spanClassNames(): object;
|
|
170
|
+
dropDownListId(): string;
|
|
171
|
+
isOpen(): boolean;
|
|
172
|
+
animationStyles(): object | undefined;
|
|
173
|
+
classNameAdaptive(): string;
|
|
174
|
+
adaptiveState(): boolean;
|
|
175
|
+
}, {
|
|
176
|
+
focus(): void;
|
|
177
|
+
computedValue(): any;
|
|
178
|
+
findByFieldValue(field: string, value: string): any;
|
|
179
|
+
primitiveValue(): any;
|
|
180
|
+
validity(): FormComponentValidity;
|
|
181
|
+
handleItemSelect(index: number, state: InternalState): void;
|
|
182
|
+
onNavigate(state: InternalState, keyCode: number): void;
|
|
183
|
+
search(event: any): void;
|
|
184
|
+
selectNext(event: any): void;
|
|
185
|
+
handleKeyDown(event: any): void;
|
|
186
|
+
handleItemClick(index: number, event: any): void;
|
|
187
|
+
handleFocus(event: any): void;
|
|
188
|
+
handleBlur(event: any): void;
|
|
189
|
+
handleDefaultItemClick(event: any): void;
|
|
190
|
+
handleWrapperClick(event: MouseEvent): void;
|
|
191
|
+
handleKeyPress(event: any): void;
|
|
192
|
+
handleListFilterChange(event: any): void;
|
|
193
|
+
onPopupOpened(): void;
|
|
194
|
+
onPopupClosed(): void;
|
|
195
|
+
focusedIndex(): any;
|
|
196
|
+
focusElement(element: HTMLElement): void;
|
|
197
|
+
setValidity(): void;
|
|
198
|
+
triggerOnChange(item: any, state: InternalState): void;
|
|
199
|
+
applyState(state: InternalState): void;
|
|
200
|
+
calculateMedia(entries: ResizeObserverEntry[]): void;
|
|
201
|
+
repositionPopup(): void;
|
|
202
|
+
onScroll(event: any): void;
|
|
203
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
204
|
+
id: PropType<string>;
|
|
205
|
+
title: PropType<string>;
|
|
206
|
+
dataItemKey: {
|
|
207
|
+
type: PropType<string>;
|
|
208
|
+
};
|
|
209
|
+
defaultValue: {
|
|
210
|
+
type: PropType<any>;
|
|
211
|
+
default: any;
|
|
212
|
+
};
|
|
213
|
+
name: PropType<string>;
|
|
214
|
+
modelValue: {
|
|
215
|
+
type: PropType<any>;
|
|
216
|
+
default: any;
|
|
217
|
+
};
|
|
218
|
+
value: {
|
|
219
|
+
type: PropType<any>;
|
|
220
|
+
default: any;
|
|
221
|
+
};
|
|
222
|
+
label: {
|
|
223
|
+
type: PropType<string>;
|
|
224
|
+
};
|
|
225
|
+
required: {
|
|
226
|
+
type: PropType<boolean>;
|
|
227
|
+
default: boolean;
|
|
228
|
+
};
|
|
229
|
+
leftRightKeysNavigation: {
|
|
230
|
+
type: PropType<boolean>;
|
|
231
|
+
default: boolean;
|
|
232
|
+
};
|
|
233
|
+
valid: {
|
|
234
|
+
type: PropType<boolean>;
|
|
235
|
+
default: any;
|
|
236
|
+
};
|
|
237
|
+
validate: {
|
|
238
|
+
type: PropType<boolean>;
|
|
239
|
+
};
|
|
240
|
+
validationMessage: {
|
|
241
|
+
type: PropType<string>;
|
|
242
|
+
default: any;
|
|
243
|
+
};
|
|
244
|
+
validityStyles: {
|
|
245
|
+
type: PropType<boolean>;
|
|
246
|
+
default: boolean;
|
|
247
|
+
};
|
|
248
|
+
delay: {
|
|
249
|
+
type: PropType<number>;
|
|
250
|
+
default: number;
|
|
251
|
+
};
|
|
252
|
+
ignoreCase: {
|
|
253
|
+
type: PropType<boolean>;
|
|
254
|
+
default: boolean;
|
|
255
|
+
};
|
|
256
|
+
icon: PropType<string>;
|
|
257
|
+
svgIcon: PropType<import('@progress/kendo-svg-icons').SVGIcon>;
|
|
258
|
+
iconClassName: PropType<string>;
|
|
259
|
+
defaultItem: PropType<any>;
|
|
260
|
+
valueRender: PropType<any>;
|
|
261
|
+
valueMap: PropType<(value: any) => any>;
|
|
262
|
+
opened: {
|
|
263
|
+
type: PropType<boolean>;
|
|
264
|
+
default: any;
|
|
265
|
+
};
|
|
266
|
+
disabled: PropType<boolean>;
|
|
267
|
+
dir: {
|
|
268
|
+
type: PropType<string>;
|
|
269
|
+
default: any;
|
|
270
|
+
};
|
|
271
|
+
tabIndex: {
|
|
272
|
+
type: PropType<number>;
|
|
273
|
+
default: number;
|
|
274
|
+
};
|
|
275
|
+
accessKey: PropType<string>;
|
|
276
|
+
dataItems: PropType<any[]>;
|
|
277
|
+
textField: PropType<string>;
|
|
278
|
+
valueField: PropType<string>;
|
|
279
|
+
valuePrimitive: PropType<boolean>;
|
|
280
|
+
className: PropType<string>;
|
|
281
|
+
loading: PropType<boolean>;
|
|
282
|
+
popupSettings: {
|
|
283
|
+
type: PropType<import('./../common/settings').DropDownsPopupSettings>;
|
|
284
|
+
default: {
|
|
285
|
+
animate: boolean;
|
|
286
|
+
height: string;
|
|
287
|
+
anchor: string;
|
|
288
|
+
};
|
|
289
|
+
};
|
|
290
|
+
itemRender: PropType<any>;
|
|
291
|
+
groupHeaderItemRender: PropType<any>;
|
|
292
|
+
groupStickyHeaderItemRender: PropType<any>;
|
|
293
|
+
listNoDataRender: PropType<any>;
|
|
294
|
+
focusedItemIndex: PropType<(data: any, inputText: string, textField?: string) => number>;
|
|
295
|
+
header: PropType<any>;
|
|
296
|
+
footer: PropType<any>;
|
|
297
|
+
filterable: PropType<boolean>;
|
|
298
|
+
filter: {
|
|
299
|
+
type: PropType<string>;
|
|
300
|
+
default: any;
|
|
301
|
+
};
|
|
302
|
+
virtual: {
|
|
303
|
+
type: PropType<import('./../common/settings').VirtualizationSettings>;
|
|
304
|
+
default: any;
|
|
305
|
+
};
|
|
306
|
+
ariaLabelledBy: PropType<string>;
|
|
307
|
+
ariaLabel: PropType<string>;
|
|
308
|
+
ariaDescribedBy: PropType<string>;
|
|
309
|
+
rounded: {
|
|
310
|
+
type: PropType<"small" | "medium" | "large" | "full" | "none">;
|
|
311
|
+
validator: (value: string) => boolean;
|
|
312
|
+
};
|
|
313
|
+
fillMode: {
|
|
314
|
+
type: PropType<"flat" | "solid" | "outline">;
|
|
315
|
+
validator: (value: string) => boolean;
|
|
316
|
+
};
|
|
317
|
+
size: {
|
|
318
|
+
type: PropType<"small" | "medium" | "large">;
|
|
319
|
+
validator: (value: string) => boolean;
|
|
320
|
+
};
|
|
321
|
+
groupField: {
|
|
322
|
+
type: PropType<string>;
|
|
323
|
+
};
|
|
324
|
+
adaptive: {
|
|
325
|
+
type: PropType<boolean>;
|
|
326
|
+
default: any;
|
|
327
|
+
};
|
|
328
|
+
adaptiveTitle: {
|
|
329
|
+
type: PropType<string>;
|
|
330
|
+
default: any;
|
|
331
|
+
};
|
|
332
|
+
onChange: PropType<(event: import('./DropDownListProps').DropDownListChangeEvent) => void>;
|
|
333
|
+
}>> & Readonly<{}>, {
|
|
334
|
+
filter: string;
|
|
335
|
+
required: boolean;
|
|
336
|
+
value: any;
|
|
337
|
+
tabIndex: number;
|
|
338
|
+
virtual: import('./../common/settings').VirtualizationSettings;
|
|
339
|
+
adaptive: boolean;
|
|
340
|
+
dir: string;
|
|
341
|
+
defaultValue: any;
|
|
342
|
+
opened: boolean;
|
|
343
|
+
popupSettings: import('./../common/settings').DropDownsPopupSettings;
|
|
344
|
+
modelValue: any;
|
|
345
|
+
valid: boolean;
|
|
346
|
+
validationMessage: string;
|
|
347
|
+
validityStyles: boolean;
|
|
348
|
+
adaptiveTitle: string;
|
|
349
|
+
delay: number;
|
|
350
|
+
ignoreCase: boolean;
|
|
351
|
+
leftRightKeysNavigation: boolean;
|
|
352
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
353
|
+
export { DropDownList };
|
|
@@ -0,0 +1,312 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { FilterChangeEvent, ChangeEvent, OpenEvent, CloseEvent, FocusEvent, BlurEvent, PageChangeEvent } from './../common/events';
|
|
9
|
+
import { VirtualizationSettings, DropDownsPopupSettings } from '../common/settings';
|
|
10
|
+
import { FormComponentProps } from '@progress/kendo-vue-common';
|
|
11
|
+
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
12
|
+
/**
|
|
13
|
+
* Represents the object of the `filterChange` DropDownList event.
|
|
14
|
+
*/
|
|
15
|
+
export interface DropDownListFilterChangeEvent extends FilterChangeEvent {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Represents the object of the `change` DropDownList event.
|
|
19
|
+
*/
|
|
20
|
+
export interface DropDownListChangeEvent extends ChangeEvent {
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Represents the object of the `open` DropDownList event.
|
|
24
|
+
*/
|
|
25
|
+
export interface DropDownListOpenEvent extends OpenEvent {
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Represents the object of the `close` DropDownList event.
|
|
29
|
+
*/
|
|
30
|
+
export interface DropDownListCloseEvent extends CloseEvent {
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Represents the object of the `focus` DropDownList event.
|
|
34
|
+
*/
|
|
35
|
+
export interface DropDownListFocusEvent extends FocusEvent {
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Represents the object of the `blur` DropDownList event.
|
|
39
|
+
*/
|
|
40
|
+
export interface DropDownListBlurEvent extends BlurEvent {
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Represents the object of the `pageChange` DropDownList event.
|
|
44
|
+
*/
|
|
45
|
+
export interface DropDownListPageChangeEvent extends PageChangeEvent {
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Represents the props of the [KendoVue DropDownList component]({% slug overview_dropdownlist %}).
|
|
49
|
+
*/
|
|
50
|
+
export interface DropDownListProps extends FormComponentProps {
|
|
51
|
+
/**
|
|
52
|
+
* Specifies the id of the component.
|
|
53
|
+
*/
|
|
54
|
+
id?: string;
|
|
55
|
+
/**
|
|
56
|
+
* Specifies the title of the component.
|
|
57
|
+
*/
|
|
58
|
+
title?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Identifies the element(s) which will describe the component, similar to [HTML aria-describedby attribute](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_aria-describedby_attribute).
|
|
61
|
+
* For example these elements could contain error or hint message.
|
|
62
|
+
*/
|
|
63
|
+
ariaDescribedBy?: string;
|
|
64
|
+
/**
|
|
65
|
+
* Identifies the element(s) which will label the component.
|
|
66
|
+
*/
|
|
67
|
+
ariaLabelledBy?: string;
|
|
68
|
+
/**
|
|
69
|
+
* Defines the [aria-label](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-label) attribute of the component.
|
|
70
|
+
*/
|
|
71
|
+
ariaLabel?: string;
|
|
72
|
+
/**
|
|
73
|
+
* There is no placeholder concept when it comes to DropDownList/HTML select element. The approach
|
|
74
|
+
* that we recommend in such cases is to use the default Item as it is shown here ([see example]({% slug defaultitem_dropdownlist %})).
|
|
75
|
+
*/
|
|
76
|
+
placeholder?: string;
|
|
77
|
+
/**
|
|
78
|
+
* Sets the validate of the input.
|
|
79
|
+
*/
|
|
80
|
+
validate?: boolean;
|
|
81
|
+
/**
|
|
82
|
+
* Sets the data of the DropDownList ([see example]({% slug binding_dropdownlist %})).
|
|
83
|
+
*/
|
|
84
|
+
dataItems?: any[];
|
|
85
|
+
/**
|
|
86
|
+
* Sets the text of the default empty item. The type of the defined value has to match the data type.
|
|
87
|
+
*/
|
|
88
|
+
defaultItem?: any;
|
|
89
|
+
/**
|
|
90
|
+
* Sets the delay before an item search is performed. When filtration is disabled, use this option.
|
|
91
|
+
*/
|
|
92
|
+
delay?: number;
|
|
93
|
+
/**
|
|
94
|
+
* Enables a case-insensitive search. When filtering is disabled, use this option.
|
|
95
|
+
*/
|
|
96
|
+
ignoreCase?: boolean;
|
|
97
|
+
/**
|
|
98
|
+
* Sets the opened and closed state of the DropDownList.
|
|
99
|
+
*/
|
|
100
|
+
opened?: boolean;
|
|
101
|
+
/**
|
|
102
|
+
* The styles that are applied to the DropDownList.
|
|
103
|
+
*/
|
|
104
|
+
style?: any;
|
|
105
|
+
/**
|
|
106
|
+
* @hidden
|
|
107
|
+
*/
|
|
108
|
+
modelValue?: any;
|
|
109
|
+
/**
|
|
110
|
+
* Sets the value of the DropDownList ([see example]({% slug binding_dropdownlist %})). It can either be of the primitive (string, numbers) or of the complex (objects) type.
|
|
111
|
+
*/
|
|
112
|
+
value?: any;
|
|
113
|
+
/**
|
|
114
|
+
* Sets the default value of the DropDownList ([see example]({% slug defaultitem_dropdownlist %})). Similar to the native `select` HTML element.
|
|
115
|
+
*/
|
|
116
|
+
defaultValue?: any;
|
|
117
|
+
/**
|
|
118
|
+
* Sets additional classes to the DropDownList.
|
|
119
|
+
*/
|
|
120
|
+
className?: string;
|
|
121
|
+
/**
|
|
122
|
+
* Defines the name for an existing arrow icon.
|
|
123
|
+
*/
|
|
124
|
+
icon?: string;
|
|
125
|
+
/**
|
|
126
|
+
* Defines the svg icon in a Kendo UI for Vue theme.
|
|
127
|
+
*/
|
|
128
|
+
svgIcon?: SVGIcon;
|
|
129
|
+
/**
|
|
130
|
+
* Sets CSS classes to the expand `icon` DOM element.
|
|
131
|
+
*/
|
|
132
|
+
iconClassName?: string;
|
|
133
|
+
/**
|
|
134
|
+
* Sets the disabled state of the DropDownList.
|
|
135
|
+
*/
|
|
136
|
+
disabled?: boolean;
|
|
137
|
+
/**
|
|
138
|
+
* Represents the `dir` HTML attribute.
|
|
139
|
+
*/
|
|
140
|
+
dir?: string;
|
|
141
|
+
/**
|
|
142
|
+
* Enables the filtering functionality of the DropDownList ([more information and examples]({% slug filtering_dropdownlist %})).
|
|
143
|
+
*/
|
|
144
|
+
filterable?: boolean;
|
|
145
|
+
/**
|
|
146
|
+
* Sets the value of filtering input.
|
|
147
|
+
*/
|
|
148
|
+
filter?: string;
|
|
149
|
+
/**
|
|
150
|
+
* Sets the loading state of the DropDownList.
|
|
151
|
+
*/
|
|
152
|
+
loading?: boolean;
|
|
153
|
+
/**
|
|
154
|
+
* Specifies the `tabIndex` of the DropDownList.
|
|
155
|
+
*/
|
|
156
|
+
tabIndex?: number;
|
|
157
|
+
/**
|
|
158
|
+
* Specifies the `accessKey` of the DropDownList.
|
|
159
|
+
*/
|
|
160
|
+
accessKey?: string;
|
|
161
|
+
/**
|
|
162
|
+
* Sets the data item field that represents the item text ([see example]({% slug defaultitem_dropdownlist %})). If the data contains only primitive values, do not define it.
|
|
163
|
+
*/
|
|
164
|
+
textField?: string;
|
|
165
|
+
/**
|
|
166
|
+
* Sets the data item field that represents the item value.
|
|
167
|
+
*/
|
|
168
|
+
valueField?: string;
|
|
169
|
+
/**
|
|
170
|
+
* Specifies the type of the selected value. If set to true, the selected value has to be of a primitive value.
|
|
171
|
+
*/
|
|
172
|
+
valuePrimitive?: boolean;
|
|
173
|
+
/**
|
|
174
|
+
* Sets the key for comparing the data items of the DropDownList. If `dataItemKey` is not set, the DropDownList compares the items by reference ([see example]({% slug binding_dropdownlist %}#toc-datasets-of-objects)).
|
|
175
|
+
*/
|
|
176
|
+
dataItemKey?: string;
|
|
177
|
+
/**
|
|
178
|
+
* Represents a callback function, which returns the value for submitting. The returned value will be rendered in an `option` of a hidden `select` element.
|
|
179
|
+
*/
|
|
180
|
+
valueMap?: (value: any) => any;
|
|
181
|
+
/**
|
|
182
|
+
* Renders a floating label for the DropDownList.
|
|
183
|
+
*/
|
|
184
|
+
label?: string;
|
|
185
|
+
/**
|
|
186
|
+
* Configures the popup of the DropDownList.
|
|
187
|
+
*/
|
|
188
|
+
popupSettings?: DropDownsPopupSettings;
|
|
189
|
+
/**
|
|
190
|
+
* Configures the virtual scrolling of the DropDownList ([see example]({% slug virtualization_dropdownlist %})).
|
|
191
|
+
*/
|
|
192
|
+
virtual?: VirtualizationSettings;
|
|
193
|
+
/**
|
|
194
|
+
* If set, the DropDownList will use it to get the focused item index.
|
|
195
|
+
*
|
|
196
|
+
* Default functionality returns the first item which starts with the input text.
|
|
197
|
+
*
|
|
198
|
+
*/
|
|
199
|
+
focusedItemIndex?: (data: any, inputText: string, textField?: string) => number;
|
|
200
|
+
/**
|
|
201
|
+
* Fires each time the popup of the DropDownList is about to open.
|
|
202
|
+
*/
|
|
203
|
+
onOpen?: (event: DropDownListOpenEvent) => void;
|
|
204
|
+
/**
|
|
205
|
+
* Fires each time the popup of the DropDownList is about to close.
|
|
206
|
+
*/
|
|
207
|
+
onClose?: (event: DropDownListCloseEvent) => void;
|
|
208
|
+
/**
|
|
209
|
+
* Fires each time the user focuses the DropDownList.
|
|
210
|
+
*/
|
|
211
|
+
onFocus?: (event: DropDownListFocusEvent) => void;
|
|
212
|
+
/**
|
|
213
|
+
* Fires each time the DropDownList gets blurred.
|
|
214
|
+
*/
|
|
215
|
+
onBlur?: (event: DropDownListBlurEvent) => void;
|
|
216
|
+
/**
|
|
217
|
+
* Fires each time the value of the DropDownList is about to change ([see examples]({% slug binding_dropdownlist %})).
|
|
218
|
+
*/
|
|
219
|
+
onChange?: (event: DropDownListChangeEvent) => void;
|
|
220
|
+
/**
|
|
221
|
+
* Fires each time the user types in the filter input. You can filter the source based on the passed filtration value.
|
|
222
|
+
*/
|
|
223
|
+
onFilterchange?: (event: DropDownListFilterChangeEvent) => void;
|
|
224
|
+
/**
|
|
225
|
+
* Fires when both the virtual scrolling of the DropDownList is enabled and the component requires data for another page ([see example]({% slug virtualization_dropdownlist %})).
|
|
226
|
+
*/
|
|
227
|
+
onPagechange?: (event: DropDownListPageChangeEvent) => void;
|
|
228
|
+
/**
|
|
229
|
+
* Fires when a DropDownList item is about to be rendered ([see example]({% slug customrendering_dropdownlist %}#toc-items)). Used to override the default appearance of the list items.
|
|
230
|
+
*/
|
|
231
|
+
itemRender?: any;
|
|
232
|
+
/**
|
|
233
|
+
* Fires when the element which renders the value is about to be rendered ([see example]({% slug customrendering_dropdownlist %}#toc-values)). Used to override the default appearance of the element.
|
|
234
|
+
*/
|
|
235
|
+
valueRender?: any;
|
|
236
|
+
/**
|
|
237
|
+
* Fires when the element which indicates no data in the popup is about to be rendered ([see example]({% slug customrendering_dropdownlist %}#toc-no-data)). Used to override the default appearance of the element.
|
|
238
|
+
*/
|
|
239
|
+
listNoDataRender?: any;
|
|
240
|
+
/**
|
|
241
|
+
* Sets the header component of the DropDownList ([see example]({% slug customrendering_dropdownlist %}#toc-headers-and-footers)).
|
|
242
|
+
*/
|
|
243
|
+
header?: any;
|
|
244
|
+
/**
|
|
245
|
+
* Sets the footer component of the DropDownList ([see example]({% slug customrendering_dropdownlist %}#toc-headers-and-footers)).
|
|
246
|
+
*/
|
|
247
|
+
footer?: any;
|
|
248
|
+
/**
|
|
249
|
+
* Specifies the `name` property of the `select` DOM element.
|
|
250
|
+
*/
|
|
251
|
+
name?: string;
|
|
252
|
+
/**
|
|
253
|
+
* If set to `false`, the DropDownList will not navigate over its data through left and right keys.
|
|
254
|
+
* Useful when the DropDownList is placed inside a toolbar which needs to handle left and right keys.
|
|
255
|
+
*/
|
|
256
|
+
leftRightKeysNavigation?: boolean;
|
|
257
|
+
/**
|
|
258
|
+
* Configures the `size` of the DropDownList.
|
|
259
|
+
*
|
|
260
|
+
* The available options are:
|
|
261
|
+
* - small
|
|
262
|
+
* - medium
|
|
263
|
+
* - large
|
|
264
|
+
*
|
|
265
|
+
* @default undefined
|
|
266
|
+
*/
|
|
267
|
+
size?: 'small' | 'medium' | 'large';
|
|
268
|
+
/**
|
|
269
|
+
* Configures the `roundness` of the DropDownList.
|
|
270
|
+
*
|
|
271
|
+
* The available options are:
|
|
272
|
+
* - none
|
|
273
|
+
* - small
|
|
274
|
+
* - medium
|
|
275
|
+
* - large
|
|
276
|
+
* - full
|
|
277
|
+
*
|
|
278
|
+
* @default undefined
|
|
279
|
+
*/
|
|
280
|
+
rounded?: 'none' | 'small' | 'medium' | 'large' | 'full';
|
|
281
|
+
/**
|
|
282
|
+
* Configures the `fillMode` of the DropDownList.
|
|
283
|
+
*
|
|
284
|
+
* The available options are:
|
|
285
|
+
* - solid
|
|
286
|
+
* - outline
|
|
287
|
+
* - flat
|
|
288
|
+
*
|
|
289
|
+
* @default undefined
|
|
290
|
+
*/
|
|
291
|
+
fillMode?: 'solid' | 'outline' | 'flat';
|
|
292
|
+
/**
|
|
293
|
+
* Sets the data item field that represents the start of a group. Applicable to objects data.
|
|
294
|
+
*/
|
|
295
|
+
groupField?: string;
|
|
296
|
+
/**
|
|
297
|
+
* Fires when a DropDownList group header item is about to be rendered. Used to override the default appearance of the group's headers.
|
|
298
|
+
*/
|
|
299
|
+
groupHeaderItemRender?: any;
|
|
300
|
+
/**
|
|
301
|
+
* Fires when a DropDownList sticky group header item is about to be rendered. Used to override the default appearance of the sticky group header of the component.
|
|
302
|
+
*/
|
|
303
|
+
groupStickyHeaderItemRender?: any;
|
|
304
|
+
/**
|
|
305
|
+
* Provides different rendering of the popup element based on the screen dimensions ([see example]({% slug adaptive_rendering_dropdownlist %})).
|
|
306
|
+
*/
|
|
307
|
+
adaptive?: boolean;
|
|
308
|
+
/**
|
|
309
|
+
* Specifies the text that is rendered as title in the adaptive popup ([see example]({% slug adaptive_rendering_dropdownlist %})).
|
|
310
|
+
*/
|
|
311
|
+
adaptiveTitle?: string;
|
|
312
|
+
}
|