@progress/kendo-vue-dropdowns 8.0.3-develop.1 → 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.
Files changed (44) hide show
  1. package/AutoComplete/AutoComplete.d.ts +331 -0
  2. package/AutoComplete/AutoCompleteProps.d.ts +243 -0
  3. package/ComboBox/ComboBox.d.ts +371 -0
  4. package/ComboBox/ComboBoxProps.d.ts +286 -0
  5. package/DropDownList/DropDownList.d.ts +353 -0
  6. package/DropDownList/DropDownListProps.d.ts +312 -0
  7. package/DropDownTree/DropDownTree.d.ts +301 -0
  8. package/DropDownTree/DropDownTreeProps.d.ts +306 -0
  9. package/DropDownTree/ListNoData.d.ts +12 -0
  10. package/MultiSelect/MultiSelect.d.ts +369 -0
  11. package/MultiSelect/MultiSelect.js +1 -1
  12. package/MultiSelect/MultiSelect.mjs +2 -2
  13. package/MultiSelect/MultiSelectProps.d.ts +300 -0
  14. package/MultiSelect/TagList.d.ts +90 -0
  15. package/MultiSelectTree/MultiSelectTree.d.ts +272 -0
  16. package/MultiSelectTree/MultiSelectTreeProps.d.ts +327 -0
  17. package/MultiSelectTree/utils.d.ts +24 -0
  18. package/common/ClearButton.d.ts +22 -0
  19. package/common/DropDownBase.d.ts +106 -0
  20. package/common/GroupStickyHeader.d.ts +32 -0
  21. package/common/List.d.ts +111 -0
  22. package/common/List.mjs +1 -1
  23. package/common/ListContainer.d.ts +63 -0
  24. package/common/ListDefaultItem.d.ts +35 -0
  25. package/common/ListFilter.d.ts +103 -0
  26. package/common/ListGroupItem.d.ts +70 -0
  27. package/common/ListItem.d.ts +129 -0
  28. package/common/ListItemIcon.d.ts +33 -0
  29. package/common/Navigation.d.ts +19 -0
  30. package/common/SearchBar.d.ts +120 -0
  31. package/common/VirtualScroll.d.ts +49 -0
  32. package/common/constants.d.ts +11 -0
  33. package/common/events.d.ts +70 -0
  34. package/common/filterDescriptor.d.ts +48 -0
  35. package/common/settings.d.ts +118 -0
  36. package/common/utils.d.ts +77 -0
  37. package/dist/cdn/js/kendo-vue-dropdowns.js +1 -1
  38. package/index.d.mts +18 -4024
  39. package/index.d.ts +18 -4024
  40. package/messages/main.d.ts +47 -0
  41. package/package-metadata.d.ts +12 -0
  42. package/package-metadata.js +1 -1
  43. package/package-metadata.mjs +2 -2
  44. package/package.json +18 -12
@@ -0,0 +1,331 @@
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 { DropDownStateBase, InternalState } from './../common/settings';
9
+ import { FormComponentValidity } from '@progress/kendo-vue-common';
10
+ import { PropType } from 'vue';
11
+ /**
12
+ * @hidden
13
+ */
14
+ export interface AutoCompleteState extends DropDownStateBase {
15
+ focusedItem?: any;
16
+ value?: string;
17
+ currentValue?: string;
18
+ }
19
+ /**
20
+ * @hidden
21
+ */
22
+ export interface AutoCompleteInternalState extends InternalState {
23
+ data: AutoCompleteState;
24
+ }
25
+ /**
26
+ * @hidden
27
+ */
28
+ export interface AutoCompleteMethods {
29
+ [key: string]: any;
30
+ focus: (e: any) => void;
31
+ computedValue: () => any;
32
+ validity: () => FormComponentValidity;
33
+ handleItemSelect: (index: number, state: AutoCompleteInternalState) => void;
34
+ itemFocus: (index: number, state: AutoCompleteInternalState) => void;
35
+ togglePopup: (state: InternalState) => void;
36
+ onNavigate: (state: AutoCompleteInternalState, keyCode: number) => void;
37
+ applyInputValue: (value: string, state: AutoCompleteInternalState, eventKey?: number) => void;
38
+ setValidity: () => void;
39
+ handleItemClick: (index: number, event: any) => void;
40
+ onChangeHandler: (event: any) => void;
41
+ clearButtonClick: (event: any) => void;
42
+ onInputKeyDown: (event: any) => void;
43
+ handleBlur: (event: any) => void;
44
+ triggerOnChange: (newValue: string, state: AutoCompleteInternalState, eventArgs?: any) => void;
45
+ applyState: (state: AutoCompleteInternalState) => void;
46
+ suggestValue: (value: string) => void;
47
+ focusedIndex: (value?: string) => any;
48
+ }
49
+ /**
50
+ * @hidden
51
+ */
52
+ export interface AutoCompleteState extends DropDownStateBase {
53
+ anchor: string;
54
+ typingTimeout: any;
55
+ base: any;
56
+ input: any;
57
+ element: any;
58
+ inputId: string;
59
+ virtualHasChanged: any;
60
+ prevOpened: any;
61
+ prevCurrentOpened: any;
62
+ prevData: any;
63
+ prevFocusedItem: any;
64
+ inputRef: any;
65
+ listRef: any;
66
+ filterInputRef: any;
67
+ scrollElementRef: any;
68
+ scrollerRef: any;
69
+ kendoAnchorRef: any;
70
+ }
71
+ /**
72
+ * @hidden
73
+ */
74
+ declare const AutoComplete: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
75
+ id: PropType<string>;
76
+ defaultValue: {
77
+ type: PropType<string>;
78
+ default: any;
79
+ };
80
+ name: PropType<string>;
81
+ modelValue: {
82
+ type: PropType<string>;
83
+ default: any;
84
+ };
85
+ value: {
86
+ type: PropType<string>;
87
+ default: any;
88
+ };
89
+ label: {
90
+ type: PropType<string>;
91
+ };
92
+ placeholder: PropType<string>;
93
+ required: {
94
+ type: PropType<boolean>;
95
+ default: boolean;
96
+ };
97
+ valid: {
98
+ type: PropType<boolean>;
99
+ default: any;
100
+ };
101
+ validationMessage: {
102
+ type: PropType<string>;
103
+ default: any;
104
+ };
105
+ validityStyles: {
106
+ type: PropType<boolean>;
107
+ default: boolean;
108
+ };
109
+ opened: {
110
+ type: PropType<boolean>;
111
+ default: any;
112
+ };
113
+ disabled: PropType<boolean>;
114
+ dir: {
115
+ type: PropType<string>;
116
+ default: any;
117
+ };
118
+ tabIndex: {
119
+ type: PropType<number>;
120
+ default: any;
121
+ };
122
+ readonly: PropType<boolean>;
123
+ accessKey: PropType<string>;
124
+ dataItems: PropType<any[]>;
125
+ textField: PropType<string>;
126
+ loading: PropType<boolean>;
127
+ popupSettings: {
128
+ type: PropType<import('./../common/settings').DropDownsPopupSettings>;
129
+ default: () => {
130
+ animate: boolean;
131
+ height: string;
132
+ anchor: string;
133
+ };
134
+ };
135
+ itemRender: PropType<any>;
136
+ groupHeaderItemRender: PropType<any>;
137
+ groupStickyHeaderItemRender: (ObjectConstructor | StringConstructor | FunctionConstructor)[];
138
+ listNoDataRender: PropType<any>;
139
+ focusedItemIndex: PropType<(data: any, inputText: string, textField?: string) => number>;
140
+ header: PropType<any>;
141
+ footer: PropType<any>;
142
+ suggest: {
143
+ type: PropType<string | boolean>;
144
+ default: boolean;
145
+ };
146
+ ariaLabel: {
147
+ type: PropType<string>;
148
+ default: any;
149
+ };
150
+ ariaLabelledBy: PropType<string>;
151
+ ariaDescribedBy: PropType<string>;
152
+ rounded: {
153
+ type: PropType<"small" | "medium" | "large" | "full" | "none">;
154
+ validator: (value: string) => boolean;
155
+ };
156
+ fillMode: {
157
+ type: PropType<"flat" | "solid" | "outline">;
158
+ validator: (value: string) => boolean;
159
+ };
160
+ size: {
161
+ type: PropType<"small" | "medium" | "large">;
162
+ validator: (value: string) => boolean;
163
+ };
164
+ groupField: {
165
+ type: PropType<string>;
166
+ };
167
+ inputAttributes: PropType<Object>;
168
+ }>, {
169
+ inputRef: import('vue').Ref<any, any>;
170
+ kendoAnchorRef: import('vue').Ref<any, any>;
171
+ }, {
172
+ hasMounted: boolean;
173
+ currentText: string;
174
+ currentValue: string;
175
+ currentFocused: boolean;
176
+ currentOpened: boolean;
177
+ focusedItem: any;
178
+ searchState: {
179
+ word: string;
180
+ last: string;
181
+ };
182
+ valueDuringOnChange: {};
183
+ suggested: string;
184
+ group: any;
185
+ isScrolling: boolean;
186
+ popupWidth: any;
187
+ itemHeight: number;
188
+ }, {
189
+ spanClassNames(): {
190
+ 'k-floating-label-container': boolean;
191
+ 'k-focus': any;
192
+ 'k-empty': boolean;
193
+ 'k-invalid': boolean;
194
+ 'k-rtl': boolean;
195
+ };
196
+ }, {
197
+ focus(): void;
198
+ computedValue(): any;
199
+ primitiveValue(): any;
200
+ validity(): FormComponentValidity;
201
+ handleItemSelect(index: number, state: AutoCompleteInternalState): void;
202
+ itemFocus(index: number, state: AutoCompleteInternalState): void;
203
+ togglePopup(state: InternalState): void;
204
+ onNavigate(state: AutoCompleteInternalState, keyCode: number): void;
205
+ /**
206
+ * @hidden
207
+ */
208
+ applyInputValue(value: string, state: AutoCompleteInternalState, eventKey?: number): void;
209
+ setValidity(): void;
210
+ handleItemClick(index: number, event: any): void;
211
+ onChangeHandler(event: any): void;
212
+ clearButtonClick(event: any): void;
213
+ onInputKeyDown(event: any): void;
214
+ handleBlur(event: any): void;
215
+ triggerOnChange(newValue: string, state: AutoCompleteInternalState, eventArgs?: any): void;
216
+ triggerOnSelect(state: AutoCompleteInternalState, eventArgs?: any): void;
217
+ applyState(state: AutoCompleteInternalState): void;
218
+ suggestValue(value: string): void;
219
+ focusedIndex(value?: string): any;
220
+ repositionPopup(): void;
221
+ onScroll(event: any): void;
222
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
223
+ id: PropType<string>;
224
+ defaultValue: {
225
+ type: PropType<string>;
226
+ default: any;
227
+ };
228
+ name: PropType<string>;
229
+ modelValue: {
230
+ type: PropType<string>;
231
+ default: any;
232
+ };
233
+ value: {
234
+ type: PropType<string>;
235
+ default: any;
236
+ };
237
+ label: {
238
+ type: PropType<string>;
239
+ };
240
+ placeholder: PropType<string>;
241
+ required: {
242
+ type: PropType<boolean>;
243
+ default: boolean;
244
+ };
245
+ valid: {
246
+ type: PropType<boolean>;
247
+ default: any;
248
+ };
249
+ validationMessage: {
250
+ type: PropType<string>;
251
+ default: any;
252
+ };
253
+ validityStyles: {
254
+ type: PropType<boolean>;
255
+ default: boolean;
256
+ };
257
+ opened: {
258
+ type: PropType<boolean>;
259
+ default: any;
260
+ };
261
+ disabled: PropType<boolean>;
262
+ dir: {
263
+ type: PropType<string>;
264
+ default: any;
265
+ };
266
+ tabIndex: {
267
+ type: PropType<number>;
268
+ default: any;
269
+ };
270
+ readonly: PropType<boolean>;
271
+ accessKey: PropType<string>;
272
+ dataItems: PropType<any[]>;
273
+ textField: PropType<string>;
274
+ loading: PropType<boolean>;
275
+ popupSettings: {
276
+ type: PropType<import('./../common/settings').DropDownsPopupSettings>;
277
+ default: () => {
278
+ animate: boolean;
279
+ height: string;
280
+ anchor: string;
281
+ };
282
+ };
283
+ itemRender: PropType<any>;
284
+ groupHeaderItemRender: PropType<any>;
285
+ groupStickyHeaderItemRender: (ObjectConstructor | StringConstructor | FunctionConstructor)[];
286
+ listNoDataRender: PropType<any>;
287
+ focusedItemIndex: PropType<(data: any, inputText: string, textField?: string) => number>;
288
+ header: PropType<any>;
289
+ footer: PropType<any>;
290
+ suggest: {
291
+ type: PropType<string | boolean>;
292
+ default: boolean;
293
+ };
294
+ ariaLabel: {
295
+ type: PropType<string>;
296
+ default: any;
297
+ };
298
+ ariaLabelledBy: PropType<string>;
299
+ ariaDescribedBy: PropType<string>;
300
+ rounded: {
301
+ type: PropType<"small" | "medium" | "large" | "full" | "none">;
302
+ validator: (value: string) => boolean;
303
+ };
304
+ fillMode: {
305
+ type: PropType<"flat" | "solid" | "outline">;
306
+ validator: (value: string) => boolean;
307
+ };
308
+ size: {
309
+ type: PropType<"small" | "medium" | "large">;
310
+ validator: (value: string) => boolean;
311
+ };
312
+ groupField: {
313
+ type: PropType<string>;
314
+ };
315
+ inputAttributes: PropType<Object>;
316
+ }>> & Readonly<{}>, {
317
+ required: boolean;
318
+ value: string;
319
+ ariaLabel: string;
320
+ tabIndex: number;
321
+ dir: string;
322
+ defaultValue: string;
323
+ opened: boolean;
324
+ popupSettings: import('./../common/settings').DropDownsPopupSettings;
325
+ modelValue: string;
326
+ valid: boolean;
327
+ validationMessage: string;
328
+ validityStyles: boolean;
329
+ suggest: string | boolean;
330
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
331
+ export { AutoComplete };
@@ -0,0 +1,243 @@
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 { ChangeEvent, OpenEvent, CloseEvent, FocusEvent, BlurEvent } from './../common/events';
9
+ import { DropDownsPopupSettings, Suggestion } from '../common/settings';
10
+ import { FormComponentProps } from '@progress/kendo-vue-common';
11
+ /**
12
+ * Represents the object of the `change` AutoComplete event.
13
+ */
14
+ export interface AutoCompleteChangeEvent extends ChangeEvent {
15
+ /**
16
+ * The selected Suggestion object.
17
+ */
18
+ suggestion?: Suggestion;
19
+ /**
20
+ * Represents the selected item.
21
+ */
22
+ item?: any;
23
+ }
24
+ /**
25
+ * Represents the object of the `select` AutoComplete event.
26
+ */
27
+ export interface AutoCompleteChangeEvent extends ChangeEvent {
28
+ /**
29
+ * Represents the selected item.
30
+ */
31
+ item?: any;
32
+ }
33
+ /**
34
+ * Represents the object of the `open` AutoComplete event.
35
+ */
36
+ export interface AutoCompleteOpenEvent extends OpenEvent {
37
+ }
38
+ /**
39
+ * Represents the object of the `close` AutoComplete event.
40
+ */
41
+ export interface AutoCompleteCloseEvent extends CloseEvent {
42
+ }
43
+ /**
44
+ * Represents the object of the `focus` AutoComplete event.
45
+ */
46
+ export interface AutoCompleteFocusEvent extends FocusEvent {
47
+ }
48
+ /**
49
+ * Represents the object of the `blur` AutoComplete event.
50
+ */
51
+ export interface AutoCompleteBlurEvent extends BlurEvent {
52
+ }
53
+ /**
54
+ * Represents the props of the [Kendo UI for Vue AutoComplete component]({% slug overview_autocomplete %}).
55
+ */
56
+ export interface AutoCompleteProps extends FormComponentProps {
57
+ /**
58
+ * Sets the data of the AutoComplete ([more information and example]({% slug binding_autocomplete %})).
59
+ */
60
+ dataItems?: any[];
61
+ /**
62
+ * Sets the opened and closed state of the AutoComplete.
63
+ */
64
+ opened?: boolean;
65
+ /**
66
+ * Sets the v-model value of the AutoComplete ([more information and example]({% slug binding_autocomplete %})).
67
+ */
68
+ modelValue?: string;
69
+ /**
70
+ * Sets the value of the AutoComplete ([more information and example]({% slug binding_autocomplete %})).
71
+ */
72
+ value?: string;
73
+ /**
74
+ * Sets the default value of the AutoComplete. Similar to the native `input` HTML element.
75
+ */
76
+ defaultValue?: string;
77
+ /**
78
+ * The hint that is displayed when the AutoComplete is empty.
79
+ */
80
+ placeholder?: string;
81
+ /**
82
+ * Sets the read-only state of the AutoComplete.
83
+ */
84
+ readonly?: boolean;
85
+ /**
86
+ * Enables the auto-completion of the text based on the first data item ([see example]({% slug suggestions_autocomplete %})).
87
+ */
88
+ suggest?: boolean | string;
89
+ /**
90
+ * Sets the disabled state of the AutoComplete.
91
+ */
92
+ disabled?: boolean;
93
+ /**
94
+ * Represents the `dir` HTML attribute.
95
+ */
96
+ dir?: string;
97
+ /**
98
+ * Sets the loading state of the AutoComplete ([see example]({% slug filtering_autocomplete %}#toc-basic-configuration)).
99
+ */
100
+ loading?: boolean;
101
+ /**
102
+ * Specifies the `tabIndex` of the AutoComplete.
103
+ */
104
+ tabIndex?: number;
105
+ /**
106
+ * Specifies the `accessKey` of the AutoComplete.
107
+ */
108
+ accessKey?: string;
109
+ /**
110
+ * Sets the data item field that represents the item text ([see example]({% slug binding_autocomplete %}#toc-datasets-of-objects)). If the data contains only primitive values, do not define it.
111
+ */
112
+ textField?: string;
113
+ /**
114
+ * Renders a floating label for the AutoComplete.
115
+ */
116
+ label?: string;
117
+ /**
118
+ * Configures the popup of the AutoComplete.
119
+ */
120
+ popupSettings?: DropDownsPopupSettings;
121
+ /**
122
+ * Specifies the id of the component.
123
+ */
124
+ id?: string;
125
+ /**
126
+ * 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).
127
+ * For example these elements could contain error or hint message.
128
+ */
129
+ ariaDescribedBy?: string;
130
+ /**
131
+ * Identifies the element(s) which will label the component.
132
+ */
133
+ ariaLabelledBy?: string;
134
+ /**
135
+ * Defines the [aria-label](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-label) attribute of the component.
136
+ */
137
+ ariaLabel?: string;
138
+ /**
139
+ * If set, the AutoComplete will use it to get the focused item index.
140
+ *
141
+ * Default functionality returns the first item which starts with the input text.
142
+ *
143
+ * @example
144
+ * ```jsx-no-run
145
+ * const focusedItemIndex = (data, inputText, textField) => {
146
+ * let text = inputText.toLowerCase();
147
+ * return data.findIndex(item =>
148
+ * String(textField ? item[textField] : item).toLowerCase().includes(text));
149
+ * };
150
+ *
151
+ * <AutoComplete focusedItemIndex={focusedItemIndex} />
152
+ * ```
153
+ */
154
+ focusedItemIndex?: (data: any, inputText: string, textField?: string) => number;
155
+ /**
156
+ * Fires each time the popup of the AutoComplete is about to open.
157
+ */
158
+ onOpen?: (event: AutoCompleteOpenEvent) => void;
159
+ /**
160
+ * Fires each time the popup of the AutoComplete is about to close.
161
+ */
162
+ onClose?: (event: AutoCompleteCloseEvent) => void;
163
+ /**
164
+ * Fires each time the user focuses the AutoComplete.
165
+ */
166
+ onFocus?: (event: AutoCompleteFocusEvent) => void;
167
+ /**
168
+ * Fires each time the AutoComplete gets blurred.
169
+ */
170
+ onBlur?: (event: AutoCompleteBlurEvent) => void;
171
+ /**
172
+ * Fires each time the value of the AutoComplete is about to change ([more information and example]({% slug binding_autocomplete %})).
173
+ */
174
+ onChange?: (event: AutoCompleteChangeEvent) => void;
175
+ /**
176
+ * Fires when an AutoComplete list item is about to be rendered ([see example]({% slug customrendering_autocomplete %}#toc-items)). Used to override the default appearance of the list items.
177
+ */
178
+ itemRender?: any;
179
+ /**
180
+ * Fires when the element which indicates no data in the popup is about to be rendered ([see example]({% slug customrendering_autocomplete %}#toc-no-data)). Used to override the default appearance of the element.
181
+ */
182
+ listNoDataRender?: any;
183
+ /**
184
+ * Sets the header component of the AutoComplete ([see example]({% slug customrendering_autocomplete %}#toc-headers-and-footers)).
185
+ */
186
+ header?: any;
187
+ /**
188
+ * Sets the footer component of the AutoComplete ([see example]({% slug customrendering_autocomplete %}#toc-headers-and-footers)).
189
+ */
190
+ footer?: any;
191
+ /**
192
+ * Configures the `size` of the AutoComnplete.
193
+ *
194
+ * The available options are:
195
+ * - small
196
+ * - medium
197
+ * - large
198
+ *
199
+ * @default undefined
200
+ */
201
+ size?: 'small' | 'medium' | 'large';
202
+ /**
203
+ * Configures the `roundness` of the AutoComnplete.
204
+ *
205
+ * The available options are:
206
+ * - none
207
+ * - small
208
+ * - medium
209
+ * - large
210
+ * - full
211
+ *
212
+ * @default undefined
213
+ */
214
+ rounded?: 'none' | 'small' | 'medium' | 'large' | 'full';
215
+ /**
216
+ * Configures the `fillMode` of the AutoComnplete.
217
+ *
218
+ * The available options are:
219
+ * - solid
220
+ * - outline
221
+ * - flat
222
+ *
223
+ * @default undefined
224
+ */
225
+ fillMode?: 'solid' | 'outline' | 'flat';
226
+ /**
227
+ * Sets the data item field that represents the start of a group. Applicable to objects data.
228
+ */
229
+ groupField?: string;
230
+ /**
231
+ * Fires when a AutoComplete group header item is about to be rendered. Used to override the default appearance of the group's headers.
232
+ */
233
+ groupHeaderItemRender?: any;
234
+ /**
235
+ * Fires when a AutoComplete sticky group header item is about to be rendered. Used to override the default appearance of the sticky group header of the component.
236
+ */
237
+ groupStickyHeaderItemRender?: any;
238
+ /**
239
+ * Sets the built-in HTML attributes of the inner focusable input element.
240
+ * Attributes which are essential for certain component functionalities cannot be changed.
241
+ */
242
+ inputAttributes?: Object;
243
+ }