@progress/kendo-vue-dropdowns 8.0.3-develop.2 → 8.0.3-develop.4
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,301 @@
|
|
|
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 { TreeViewExpandChangeEvent, TreeViewItemClickEvent } from '@progress/kendo-vue-treeview';
|
|
9
|
+
import { DropDownTreeFilterChangeEvent, DropDownTreeFocusEvent, DropDownTreeBlurEvent, DropDownTreeChangeEvent, DropDownTreeOpenEvent, DropDownTreeCloseEvent, DropDownTreeExpandEvent } from './DropDownTreeProps';
|
|
10
|
+
import { DropdownEvent } from '../common/events';
|
|
11
|
+
import { PropType } from 'vue';
|
|
12
|
+
/**
|
|
13
|
+
* @hidden
|
|
14
|
+
*/
|
|
15
|
+
export interface DropDownTreeComputed {
|
|
16
|
+
[key: string]: any;
|
|
17
|
+
isOpen: boolean;
|
|
18
|
+
computedValue: any;
|
|
19
|
+
hasValue: boolean;
|
|
20
|
+
currentValueText: string;
|
|
21
|
+
wrapperClass: object;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* @hidden
|
|
25
|
+
*/
|
|
26
|
+
declare const DropDownTree: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
27
|
+
opened: {
|
|
28
|
+
type: PropType<boolean>;
|
|
29
|
+
default: any;
|
|
30
|
+
};
|
|
31
|
+
disabled: PropType<boolean>;
|
|
32
|
+
dir: PropType<string>;
|
|
33
|
+
tabIndex: PropType<number>;
|
|
34
|
+
accessKey: PropType<string>;
|
|
35
|
+
dataItems: {
|
|
36
|
+
type: PropType<any[]>;
|
|
37
|
+
default: () => any[];
|
|
38
|
+
};
|
|
39
|
+
value: {
|
|
40
|
+
type: PropType<any>;
|
|
41
|
+
default: () => any;
|
|
42
|
+
};
|
|
43
|
+
modelValue: {
|
|
44
|
+
type: PropType<any>;
|
|
45
|
+
default: () => any;
|
|
46
|
+
};
|
|
47
|
+
valueMap: PropType<(value: any) => any>;
|
|
48
|
+
placeholder: PropType<string>;
|
|
49
|
+
dataItemKey: {
|
|
50
|
+
type: PropType<string>;
|
|
51
|
+
required: true;
|
|
52
|
+
};
|
|
53
|
+
textField: {
|
|
54
|
+
type: PropType<string>;
|
|
55
|
+
required: true;
|
|
56
|
+
};
|
|
57
|
+
selectField: {
|
|
58
|
+
type: PropType<string>;
|
|
59
|
+
default: string;
|
|
60
|
+
};
|
|
61
|
+
expandField: PropType<string>;
|
|
62
|
+
subItemsField: {
|
|
63
|
+
type: PropType<string>;
|
|
64
|
+
default: string;
|
|
65
|
+
};
|
|
66
|
+
className: PropType<string>;
|
|
67
|
+
label: PropType<string>;
|
|
68
|
+
validationMessage: PropType<string>;
|
|
69
|
+
validityStyles: {
|
|
70
|
+
type: PropType<boolean>;
|
|
71
|
+
default: boolean;
|
|
72
|
+
};
|
|
73
|
+
valid: {
|
|
74
|
+
type: PropType<boolean>;
|
|
75
|
+
default: any;
|
|
76
|
+
};
|
|
77
|
+
required: PropType<boolean>;
|
|
78
|
+
name: PropType<string>;
|
|
79
|
+
id: PropType<string>;
|
|
80
|
+
ariaLabel: {
|
|
81
|
+
type: PropType<string>;
|
|
82
|
+
default: any;
|
|
83
|
+
};
|
|
84
|
+
ariaLabelledBy: PropType<string>;
|
|
85
|
+
ariaDescribedBy: PropType<string>;
|
|
86
|
+
filterable: PropType<boolean>;
|
|
87
|
+
filter: PropType<string>;
|
|
88
|
+
loading: PropType<boolean>;
|
|
89
|
+
popupSettings: {
|
|
90
|
+
type: PropType<import('..').DropDownsPopupSettings>;
|
|
91
|
+
default: () => {
|
|
92
|
+
animate: boolean;
|
|
93
|
+
height: string;
|
|
94
|
+
anchor: string;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
size: {
|
|
98
|
+
type: PropType<"small" | "medium" | "large">;
|
|
99
|
+
validator: (value: any) => boolean;
|
|
100
|
+
};
|
|
101
|
+
rounded: {
|
|
102
|
+
type: PropType<"small" | "medium" | "large" | "full" | "none">;
|
|
103
|
+
validator: (value: any) => boolean;
|
|
104
|
+
};
|
|
105
|
+
fillMode: {
|
|
106
|
+
type: PropType<"flat" | "solid" | "outline">;
|
|
107
|
+
validator: (value: any) => boolean;
|
|
108
|
+
};
|
|
109
|
+
item: PropType<any>;
|
|
110
|
+
header: PropType<any>;
|
|
111
|
+
footer: PropType<any>;
|
|
112
|
+
valueRender: PropType<any>;
|
|
113
|
+
listNoData: PropType<any>;
|
|
114
|
+
adaptive: {
|
|
115
|
+
type: PropType<boolean>;
|
|
116
|
+
default: any;
|
|
117
|
+
};
|
|
118
|
+
adaptiveTitle: {
|
|
119
|
+
type: PropType<string>;
|
|
120
|
+
default: any;
|
|
121
|
+
};
|
|
122
|
+
}>, {}, {
|
|
123
|
+
currentOpened: boolean;
|
|
124
|
+
focused: boolean;
|
|
125
|
+
filterState: string;
|
|
126
|
+
currentValue: any;
|
|
127
|
+
popupWidth: string;
|
|
128
|
+
windowWidth: number;
|
|
129
|
+
initialAdaptiveRenderingValues: any;
|
|
130
|
+
}, {
|
|
131
|
+
wrapperClass(): {
|
|
132
|
+
[x: string]: any;
|
|
133
|
+
[x: number]: any;
|
|
134
|
+
'k-dropdowntree': boolean;
|
|
135
|
+
'k-picker': boolean;
|
|
136
|
+
'k-focus': any;
|
|
137
|
+
'k-invalid': boolean;
|
|
138
|
+
'k-loading': any;
|
|
139
|
+
'k-required': any;
|
|
140
|
+
'k-disabled': any;
|
|
141
|
+
};
|
|
142
|
+
animationStyles(): object | undefined;
|
|
143
|
+
classNameAdaptive(): string;
|
|
144
|
+
adaptiveState(): any;
|
|
145
|
+
isOpen(): any;
|
|
146
|
+
computedValue(): any;
|
|
147
|
+
hasValue(): boolean;
|
|
148
|
+
currentValueText(): any;
|
|
149
|
+
}, {
|
|
150
|
+
calculateMedia(entries: ResizeObserverEntry[]): void;
|
|
151
|
+
calculatePopupWidth(): void;
|
|
152
|
+
focus(): void;
|
|
153
|
+
setValidity(): void;
|
|
154
|
+
openPopup(event: DropdownEvent): void;
|
|
155
|
+
closePopup(event: DropdownEvent): void;
|
|
156
|
+
onWrapperClick(event: any): void;
|
|
157
|
+
switchFocus(focusFn: () => void): void;
|
|
158
|
+
onWrapperKeyDown(event: any): any;
|
|
159
|
+
onInputKeyDown(event: KeyboardEvent): void;
|
|
160
|
+
focusElement(element: HTMLElement | null): void;
|
|
161
|
+
onPopupOpened(): void;
|
|
162
|
+
onPopupClosed(): void;
|
|
163
|
+
onFocus(event: any): void;
|
|
164
|
+
onBlur(event: any): void;
|
|
165
|
+
onWrapperMouseDown(): void;
|
|
166
|
+
changeValue(event: DropdownEvent, newValue: any, hierarchicalIndex?: string): void;
|
|
167
|
+
onChange(e: TreeViewItemClickEvent): void;
|
|
168
|
+
onClear(event: any): void;
|
|
169
|
+
onExpand(e: TreeViewExpandChangeEvent): void;
|
|
170
|
+
onFilterChange(event: any): void;
|
|
171
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
172
|
+
open: (event: DropDownTreeOpenEvent) => true;
|
|
173
|
+
close: (event: DropDownTreeCloseEvent) => true;
|
|
174
|
+
focus: (event: DropDownTreeFocusEvent) => true;
|
|
175
|
+
blur: (event: DropDownTreeBlurEvent) => true;
|
|
176
|
+
change: (event: DropDownTreeChangeEvent) => true;
|
|
177
|
+
filterchange: (event: DropDownTreeFilterChangeEvent) => true;
|
|
178
|
+
expandchange: (event: DropDownTreeExpandEvent) => true;
|
|
179
|
+
changemodel: (value: any) => true;
|
|
180
|
+
'update:modelValue': (value: any) => true;
|
|
181
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
182
|
+
opened: {
|
|
183
|
+
type: PropType<boolean>;
|
|
184
|
+
default: any;
|
|
185
|
+
};
|
|
186
|
+
disabled: PropType<boolean>;
|
|
187
|
+
dir: PropType<string>;
|
|
188
|
+
tabIndex: PropType<number>;
|
|
189
|
+
accessKey: PropType<string>;
|
|
190
|
+
dataItems: {
|
|
191
|
+
type: PropType<any[]>;
|
|
192
|
+
default: () => any[];
|
|
193
|
+
};
|
|
194
|
+
value: {
|
|
195
|
+
type: PropType<any>;
|
|
196
|
+
default: () => any;
|
|
197
|
+
};
|
|
198
|
+
modelValue: {
|
|
199
|
+
type: PropType<any>;
|
|
200
|
+
default: () => any;
|
|
201
|
+
};
|
|
202
|
+
valueMap: PropType<(value: any) => any>;
|
|
203
|
+
placeholder: PropType<string>;
|
|
204
|
+
dataItemKey: {
|
|
205
|
+
type: PropType<string>;
|
|
206
|
+
required: true;
|
|
207
|
+
};
|
|
208
|
+
textField: {
|
|
209
|
+
type: PropType<string>;
|
|
210
|
+
required: true;
|
|
211
|
+
};
|
|
212
|
+
selectField: {
|
|
213
|
+
type: PropType<string>;
|
|
214
|
+
default: string;
|
|
215
|
+
};
|
|
216
|
+
expandField: PropType<string>;
|
|
217
|
+
subItemsField: {
|
|
218
|
+
type: PropType<string>;
|
|
219
|
+
default: string;
|
|
220
|
+
};
|
|
221
|
+
className: PropType<string>;
|
|
222
|
+
label: PropType<string>;
|
|
223
|
+
validationMessage: PropType<string>;
|
|
224
|
+
validityStyles: {
|
|
225
|
+
type: PropType<boolean>;
|
|
226
|
+
default: boolean;
|
|
227
|
+
};
|
|
228
|
+
valid: {
|
|
229
|
+
type: PropType<boolean>;
|
|
230
|
+
default: any;
|
|
231
|
+
};
|
|
232
|
+
required: PropType<boolean>;
|
|
233
|
+
name: PropType<string>;
|
|
234
|
+
id: PropType<string>;
|
|
235
|
+
ariaLabel: {
|
|
236
|
+
type: PropType<string>;
|
|
237
|
+
default: any;
|
|
238
|
+
};
|
|
239
|
+
ariaLabelledBy: PropType<string>;
|
|
240
|
+
ariaDescribedBy: PropType<string>;
|
|
241
|
+
filterable: PropType<boolean>;
|
|
242
|
+
filter: PropType<string>;
|
|
243
|
+
loading: PropType<boolean>;
|
|
244
|
+
popupSettings: {
|
|
245
|
+
type: PropType<import('..').DropDownsPopupSettings>;
|
|
246
|
+
default: () => {
|
|
247
|
+
animate: boolean;
|
|
248
|
+
height: string;
|
|
249
|
+
anchor: string;
|
|
250
|
+
};
|
|
251
|
+
};
|
|
252
|
+
size: {
|
|
253
|
+
type: PropType<"small" | "medium" | "large">;
|
|
254
|
+
validator: (value: any) => boolean;
|
|
255
|
+
};
|
|
256
|
+
rounded: {
|
|
257
|
+
type: PropType<"small" | "medium" | "large" | "full" | "none">;
|
|
258
|
+
validator: (value: any) => boolean;
|
|
259
|
+
};
|
|
260
|
+
fillMode: {
|
|
261
|
+
type: PropType<"flat" | "solid" | "outline">;
|
|
262
|
+
validator: (value: any) => boolean;
|
|
263
|
+
};
|
|
264
|
+
item: PropType<any>;
|
|
265
|
+
header: PropType<any>;
|
|
266
|
+
footer: PropType<any>;
|
|
267
|
+
valueRender: PropType<any>;
|
|
268
|
+
listNoData: PropType<any>;
|
|
269
|
+
adaptive: {
|
|
270
|
+
type: PropType<boolean>;
|
|
271
|
+
default: any;
|
|
272
|
+
};
|
|
273
|
+
adaptiveTitle: {
|
|
274
|
+
type: PropType<string>;
|
|
275
|
+
default: any;
|
|
276
|
+
};
|
|
277
|
+
}>> & Readonly<{
|
|
278
|
+
onBlur?: (event: DropDownTreeBlurEvent) => any;
|
|
279
|
+
onChange?: (event: DropDownTreeChangeEvent) => any;
|
|
280
|
+
onClose?: (event: DropDownTreeCloseEvent) => any;
|
|
281
|
+
onFocus?: (event: DropDownTreeFocusEvent) => any;
|
|
282
|
+
onOpen?: (event: DropDownTreeOpenEvent) => any;
|
|
283
|
+
onChangemodel?: (value: any) => any;
|
|
284
|
+
"onUpdate:modelValue"?: (value: any) => any;
|
|
285
|
+
onFilterchange?: (event: DropDownTreeFilterChangeEvent) => any;
|
|
286
|
+
onExpandchange?: (event: DropDownTreeExpandEvent) => any;
|
|
287
|
+
}>, {
|
|
288
|
+
value: any;
|
|
289
|
+
ariaLabel: string;
|
|
290
|
+
adaptive: boolean;
|
|
291
|
+
dataItems: any[];
|
|
292
|
+
opened: boolean;
|
|
293
|
+
popupSettings: import('..').DropDownsPopupSettings;
|
|
294
|
+
modelValue: any;
|
|
295
|
+
valid: boolean;
|
|
296
|
+
validityStyles: boolean;
|
|
297
|
+
adaptiveTitle: string;
|
|
298
|
+
selectField: string;
|
|
299
|
+
subItemsField: string;
|
|
300
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
301
|
+
export { DropDownTree };
|
|
@@ -0,0 +1,306 @@
|
|
|
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 { FormComponentProps } from '@progress/kendo-vue-common';
|
|
9
|
+
import { ItemRenderProps } from '@progress/kendo-vue-treeview';
|
|
10
|
+
import { FilterChangeEvent, ChangeEvent, OpenEvent, CloseEvent, FocusEvent, BlurEvent, DropdownEvent } from '../common/events';
|
|
11
|
+
import { DropDownsPopupSettings } from '../common/settings';
|
|
12
|
+
/**
|
|
13
|
+
* Represents the Object which is passed to the
|
|
14
|
+
*/
|
|
15
|
+
export interface DropDownTreeHandle {
|
|
16
|
+
/**
|
|
17
|
+
* The current element or `null` if there is no one.
|
|
18
|
+
*/
|
|
19
|
+
element: HTMLElement | null;
|
|
20
|
+
/**
|
|
21
|
+
* The props of the DropDownTree component.
|
|
22
|
+
*/
|
|
23
|
+
props: DropDownTreeProps;
|
|
24
|
+
/**
|
|
25
|
+
* The focus function.
|
|
26
|
+
*/
|
|
27
|
+
focus: () => void;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Represents the object of the `onFilterChange` DropDownTree event.
|
|
31
|
+
*/
|
|
32
|
+
export interface DropDownTreeFilterChangeEvent extends FilterChangeEvent {
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Represents the object of the `onChange` DropDownTree event.
|
|
36
|
+
*/
|
|
37
|
+
export interface DropDownTreeChangeEvent extends ChangeEvent {
|
|
38
|
+
level: number[];
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Represents the object of the `onOpen` DropDownTree event.
|
|
42
|
+
*/
|
|
43
|
+
export interface DropDownTreeOpenEvent extends OpenEvent {
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Represents the object of the `onClose` DropDownTree event.
|
|
47
|
+
*/
|
|
48
|
+
export interface DropDownTreeCloseEvent extends CloseEvent {
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Represents the object of the `onFocus` DropDownTree event.
|
|
52
|
+
*/
|
|
53
|
+
export interface DropDownTreeFocusEvent extends FocusEvent {
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Represents the object of the `onBlur` DropDownTree event.
|
|
57
|
+
*/
|
|
58
|
+
export interface DropDownTreeBlurEvent extends BlurEvent {
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Represents the object of the `onExpandChange` DropDownTree event.
|
|
62
|
+
*/
|
|
63
|
+
export interface DropDownTreeExpandEvent extends DropdownEvent {
|
|
64
|
+
item: any;
|
|
65
|
+
level: number[];
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* The props of component that will be used for rendering each of the DropDownTree items
|
|
69
|
+
* ([see example]({% slug customrendering_dropdowntree %}#toc-items-and-value-element)).
|
|
70
|
+
*/
|
|
71
|
+
export interface ItemProps extends ItemRenderProps {
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* The props of the `ListNoData` component ([see example]({% slug customrendering_dropdowntree %}#toc-no-data)).
|
|
75
|
+
*/
|
|
76
|
+
export interface ListNoDataProps {
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* The props of the `ValueHolder` component ([see example]({% slug customrendering_dropdowntree %}#toc-items-and-value-element)).
|
|
80
|
+
*/
|
|
81
|
+
export interface ValueHolderProps {
|
|
82
|
+
item?: any;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Represents the props of the [Kendo UI for Vue DropDownTree component]({% slug overview_dropdowntree %}).
|
|
86
|
+
*/
|
|
87
|
+
export interface DropDownTreeProps extends FormComponentProps {
|
|
88
|
+
/**
|
|
89
|
+
* Sets the data of the DropDownTree ([see example]({% slug overview_dropdowntree %})).
|
|
90
|
+
*/
|
|
91
|
+
dataItems?: any[];
|
|
92
|
+
/**
|
|
93
|
+
* Sets the opened state of the DropDownTree.
|
|
94
|
+
*/
|
|
95
|
+
opened?: boolean;
|
|
96
|
+
/**
|
|
97
|
+
* Sets the value of the DropDownTree ([see example]({% slug overview_dropdowntree %})).
|
|
98
|
+
* It can be an object from the data-tree.
|
|
99
|
+
*/
|
|
100
|
+
value?: any;
|
|
101
|
+
modelValue?: any;
|
|
102
|
+
/**
|
|
103
|
+
* The hint that is displayed when the DropDownTree is empty.
|
|
104
|
+
*/
|
|
105
|
+
placeholder?: string;
|
|
106
|
+
/**
|
|
107
|
+
* Sets the key for comparing the data items of the DropDownTree ([see example]({% slug overview_dropdowntree %})).
|
|
108
|
+
* If `dataItemKey` is not set, the DropDownTree compares the items by reference.
|
|
109
|
+
*/
|
|
110
|
+
dataItemKey: string;
|
|
111
|
+
/**
|
|
112
|
+
* Sets additional classes to the DropDownTree.
|
|
113
|
+
*/
|
|
114
|
+
className?: string;
|
|
115
|
+
/**
|
|
116
|
+
* Sets the disabled state of the DropDownTree.
|
|
117
|
+
*/
|
|
118
|
+
disabled?: boolean;
|
|
119
|
+
/**
|
|
120
|
+
* Represents the `dir` HTML attribute.
|
|
121
|
+
*/
|
|
122
|
+
dir?: string;
|
|
123
|
+
/**
|
|
124
|
+
* Renders a floating label for the DropDownTree.
|
|
125
|
+
*/
|
|
126
|
+
label?: string;
|
|
127
|
+
/**
|
|
128
|
+
* Specifies the id of the component.
|
|
129
|
+
*/
|
|
130
|
+
id?: string;
|
|
131
|
+
/**
|
|
132
|
+
* 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).
|
|
133
|
+
* For example these elements could contain error or hint message.
|
|
134
|
+
*/
|
|
135
|
+
ariaDescribedBy?: string;
|
|
136
|
+
/**
|
|
137
|
+
* Identifies the element(s) which will label the component.
|
|
138
|
+
*/
|
|
139
|
+
ariaLabelledBy?: string;
|
|
140
|
+
/**
|
|
141
|
+
* Defines the [aria-label](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-label) attribute of the component.
|
|
142
|
+
*/
|
|
143
|
+
ariaLabel?: string;
|
|
144
|
+
/**
|
|
145
|
+
* Enables the filtering functionality of the DropDownTree ([more information and examples]({% slug filtering_dropdowntree %})).
|
|
146
|
+
*/
|
|
147
|
+
filterable?: boolean;
|
|
148
|
+
/**
|
|
149
|
+
* Sets the value of filtering input.
|
|
150
|
+
* Useful for making the filtering input a controlled component.
|
|
151
|
+
*/
|
|
152
|
+
filter?: string;
|
|
153
|
+
/**
|
|
154
|
+
* Sets the loading state of the DropDownTree ([see example]({% slug filtering_dropdowntree %}#toc-visualize-filtering)).
|
|
155
|
+
*/
|
|
156
|
+
loading?: boolean;
|
|
157
|
+
/**
|
|
158
|
+
* Specifies the `tabIndex` of the DropDownTree.
|
|
159
|
+
*/
|
|
160
|
+
tabIndex?: number;
|
|
161
|
+
/**
|
|
162
|
+
* Specifies the `accessKey` of the DropDownTree.
|
|
163
|
+
*/
|
|
164
|
+
accessKey?: string;
|
|
165
|
+
/**
|
|
166
|
+
* Sets the data item field that represents the item text ([see example]({% slug overview_dropdowntree %})).
|
|
167
|
+
*/
|
|
168
|
+
textField: string;
|
|
169
|
+
/**
|
|
170
|
+
* Specifies the name of the field which will provide a Boolean representation of the selected state of the item.
|
|
171
|
+
*/
|
|
172
|
+
selectField?: string;
|
|
173
|
+
/**
|
|
174
|
+
* Specifies the name of the field which will provide a Boolean representation of the expanded state of the item.
|
|
175
|
+
*/
|
|
176
|
+
expandField?: string;
|
|
177
|
+
/**
|
|
178
|
+
* Specifies the name of the field which will provide an array representation of the item subitems.
|
|
179
|
+
* Defaults to 'items'.
|
|
180
|
+
*/
|
|
181
|
+
subItemsField?: string;
|
|
182
|
+
/**
|
|
183
|
+
* Configures the popup of the DropDownTree.
|
|
184
|
+
*/
|
|
185
|
+
popupSettings?: DropDownsPopupSettings;
|
|
186
|
+
/**
|
|
187
|
+
* Represents a callback function, which returns the value for submitting. The returned value will be rendered in an `option` of a hidden `select`.
|
|
188
|
+
*
|
|
189
|
+
* @example
|
|
190
|
+
* ```jsx-no-run
|
|
191
|
+
* class App extends React.Component {
|
|
192
|
+
* render() {
|
|
193
|
+
* return (
|
|
194
|
+
* <form>
|
|
195
|
+
* <DropDownTree
|
|
196
|
+
* data={[ { text: "Austria", id: 1 } , { text: "Belarus", id: 2 } ]}
|
|
197
|
+
* valueMap={value => value && value.id}
|
|
198
|
+
* />
|
|
199
|
+
* <button type="submit">Submit</button>
|
|
200
|
+
* </form>
|
|
201
|
+
* );
|
|
202
|
+
* }
|
|
203
|
+
* }
|
|
204
|
+
* ReactDOM.render(<App />, document.querySelector('my-app'));
|
|
205
|
+
* ```
|
|
206
|
+
*/
|
|
207
|
+
valueMap?: (value: any) => any;
|
|
208
|
+
/**
|
|
209
|
+
* Fires each time the popup of the DropDownTree is about to open.
|
|
210
|
+
*/
|
|
211
|
+
onOpen?: (event: DropDownTreeOpenEvent) => void;
|
|
212
|
+
/**
|
|
213
|
+
* Fires each time the popup of the DropDownTree is about to close.
|
|
214
|
+
*/
|
|
215
|
+
onClose?: (event: DropDownTreeCloseEvent) => void;
|
|
216
|
+
/**
|
|
217
|
+
* Fires each time the user focuses the DropDownTree.
|
|
218
|
+
*/
|
|
219
|
+
onFocus?: (event: DropDownTreeFocusEvent) => void;
|
|
220
|
+
/**
|
|
221
|
+
* Fires each time the DropDownTree gets blurred.
|
|
222
|
+
*/
|
|
223
|
+
onBlur?: (event: DropDownTreeBlurEvent) => void;
|
|
224
|
+
/**
|
|
225
|
+
* Fires each time the value of the DropDownTree is about to change ([see examples]({% slug overview_dropdowntree %})).
|
|
226
|
+
*/
|
|
227
|
+
onChange?: (event: DropDownTreeChangeEvent) => void;
|
|
228
|
+
/**
|
|
229
|
+
* Fires each time the user types in the filter input
|
|
230
|
+
* ([see example]({% slug filtering_dropdowntree %}#toc-basic-configuration)).
|
|
231
|
+
* You can filter the source based on the passed filtration value.
|
|
232
|
+
*/
|
|
233
|
+
onFilterChange?: (event: DropDownTreeFilterChangeEvent) => void;
|
|
234
|
+
/**
|
|
235
|
+
* Fires when the expanding or collapsing of an item is requested ([see examples]({% slug overview_dropdowntree %})).
|
|
236
|
+
*/
|
|
237
|
+
onExpandChange?: (event: any) => void;
|
|
238
|
+
/**
|
|
239
|
+
* Defines the slot that will be used for rendering each of the DropDownTree items
|
|
240
|
+
* ([see example]({% slug customrendering_dropdowntree %}#toc-items-and-value-element)).
|
|
241
|
+
*/
|
|
242
|
+
item?: any;
|
|
243
|
+
/**
|
|
244
|
+
* Defines the slot that will be used for rendering the selected value
|
|
245
|
+
* ([see example]({% slug customrendering_dropdowntree %}#toc-items-and-value-element)).
|
|
246
|
+
*/
|
|
247
|
+
valueRender?: any;
|
|
248
|
+
/**
|
|
249
|
+
* Defines the slot that will be used for header
|
|
250
|
+
* ([see example]({% slug customrendering_dropdowntree %}#toc-items-and-value-element)).
|
|
251
|
+
*/
|
|
252
|
+
header?: any;
|
|
253
|
+
/**
|
|
254
|
+
* Defines the slot that will be used for footer
|
|
255
|
+
* ([see example]({% slug customrendering_dropdowntree %}#toc-items-and-value-element)).
|
|
256
|
+
*/
|
|
257
|
+
footer?: any;
|
|
258
|
+
/**
|
|
259
|
+
* Defines the slot that will be rendered in the DropDownTree popup when no data is available
|
|
260
|
+
* ([see example]({% slug customrendering_dropdowntree %}#toc-no-data)).
|
|
261
|
+
*/
|
|
262
|
+
listNoData?: any;
|
|
263
|
+
/**
|
|
264
|
+
* Configures the `size` of the DropDownTree.
|
|
265
|
+
*
|
|
266
|
+
* The available options are:
|
|
267
|
+
* - small
|
|
268
|
+
* - medium
|
|
269
|
+
* - large
|
|
270
|
+
*
|
|
271
|
+
* @default undefined
|
|
272
|
+
*/
|
|
273
|
+
size?: 'small' | 'medium' | 'large';
|
|
274
|
+
/**
|
|
275
|
+
* Configures the `roundness` of the DropDownTree.
|
|
276
|
+
*
|
|
277
|
+
* The available options are:
|
|
278
|
+
* - none
|
|
279
|
+
* - small
|
|
280
|
+
* - medium
|
|
281
|
+
* - large
|
|
282
|
+
* - full
|
|
283
|
+
*
|
|
284
|
+
* @default undefined
|
|
285
|
+
*/
|
|
286
|
+
rounded?: 'none' | 'small' | 'medium' | 'large' | 'full';
|
|
287
|
+
/**
|
|
288
|
+
* Configures the `fillMode` of the DropDownTree.
|
|
289
|
+
*
|
|
290
|
+
* The available options are:
|
|
291
|
+
* - solid
|
|
292
|
+
* - flat
|
|
293
|
+
* - outline
|
|
294
|
+
*
|
|
295
|
+
* @default undefined
|
|
296
|
+
*/
|
|
297
|
+
fillMode?: 'solid' | 'flat' | 'outline';
|
|
298
|
+
/**
|
|
299
|
+
* Provides different rendering of the popup element based on the screen dimensions.
|
|
300
|
+
*/
|
|
301
|
+
adaptive?: boolean;
|
|
302
|
+
/**
|
|
303
|
+
* Specifies the text that is rendered as title in the adaptive popup.
|
|
304
|
+
*/
|
|
305
|
+
adaptiveTitle?: string;
|
|
306
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
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
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
declare const ListNoData: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
12
|
+
export { ListNoData };
|