@progress/kendo-vue-dropdowns 5.3.0-dev.202410141143 → 5.3.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.
Files changed (273) hide show
  1. package/AutoComplete/AutoComplete.js +8 -0
  2. package/AutoComplete/AutoComplete.mjs +526 -0
  3. package/ComboBox/ComboBox.js +8 -0
  4. package/ComboBox/ComboBox.mjs +776 -0
  5. package/DropDownList/DropDownList.js +8 -0
  6. package/DropDownList/DropDownList.mjs +781 -0
  7. package/DropDownTree/DropDownTree.js +8 -0
  8. package/DropDownTree/DropDownTree.mjs +709 -0
  9. package/DropDownTree/ListNoData.js +8 -0
  10. package/DropDownTree/ListNoData.mjs +21 -0
  11. package/MultiSelect/MultiSelect.js +8 -0
  12. package/MultiSelect/MultiSelect.mjs +872 -0
  13. package/MultiSelect/TagList.js +8 -0
  14. package/MultiSelect/TagList.mjs +119 -0
  15. package/MultiSelectTree/MultiSelectTree.js +8 -0
  16. package/MultiSelectTree/MultiSelectTree.mjs +759 -0
  17. package/MultiSelectTree/utils.js +8 -0
  18. package/MultiSelectTree/utils.mjs +73 -0
  19. package/README.md +28 -43
  20. package/common/ClearButton.js +8 -0
  21. package/common/ClearButton.mjs +54 -0
  22. package/common/DropDownBase.js +8 -0
  23. package/common/DropDownBase.mjs +193 -0
  24. package/common/GroupStickyHeader.js +8 -0
  25. package/common/GroupStickyHeader.mjs +38 -0
  26. package/common/List.js +8 -0
  27. package/common/List.mjs +139 -0
  28. package/common/ListContainer.js +8 -0
  29. package/common/ListContainer.mjs +103 -0
  30. package/common/ListDefaultItem.js +8 -0
  31. package/common/ListDefaultItem.mjs +47 -0
  32. package/common/ListFilter.js +8 -0
  33. package/common/ListFilter.mjs +147 -0
  34. package/common/ListGroupItem.js +8 -0
  35. package/common/ListGroupItem.mjs +46 -0
  36. package/common/ListItem.js +8 -0
  37. package/common/ListItem.mjs +73 -0
  38. package/common/Navigation.js +8 -0
  39. package/common/Navigation.mjs +28 -0
  40. package/common/SearchBar.js +8 -0
  41. package/common/SearchBar.mjs +129 -0
  42. package/common/VirtualScroll.js +8 -0
  43. package/common/VirtualScroll.mjs +95 -0
  44. package/common/constants.js +8 -0
  45. package/common/constants.mjs +12 -0
  46. package/common/settings.js +8 -0
  47. package/common/settings.mjs +11 -0
  48. package/common/utils.js +8 -0
  49. package/common/utils.mjs +104 -0
  50. package/dist/cdn/js/kendo-vue-dropdowns.js +8 -1
  51. package/index.d.mts +4037 -0
  52. package/index.d.ts +4037 -0
  53. package/index.js +8 -0
  54. package/index.mjs +25 -0
  55. package/messages/main.js +8 -0
  56. package/messages/main.mjs +26 -0
  57. package/package-metadata.js +8 -0
  58. package/package-metadata.mjs +18 -0
  59. package/package.json +24 -58
  60. package/dist/es/AutoComplete/AutoComplete.d.ts +0 -107
  61. package/dist/es/AutoComplete/AutoComplete.js +0 -825
  62. package/dist/es/AutoComplete/AutoCompleteProps.d.ts +0 -234
  63. package/dist/es/AutoComplete/AutoCompleteProps.js +0 -2
  64. package/dist/es/ComboBox/ComboBox.d.ts +0 -99
  65. package/dist/es/ComboBox/ComboBox.js +0 -1315
  66. package/dist/es/ComboBox/ComboBoxProps.d.ts +0 -277
  67. package/dist/es/ComboBox/ComboBoxProps.js +0 -2
  68. package/dist/es/DropDownList/DropDownList.d.ts +0 -103
  69. package/dist/es/DropDownList/DropDownList.js +0 -1314
  70. package/dist/es/DropDownList/DropDownListProps.d.ts +0 -307
  71. package/dist/es/DropDownList/DropDownListProps.js +0 -2
  72. package/dist/es/DropDownTree/DropDownTree.d.ts +0 -49
  73. package/dist/es/DropDownTree/DropDownTree.js +0 -1090
  74. package/dist/es/DropDownTree/DropDownTreeProps.d.ts +0 -301
  75. package/dist/es/DropDownTree/DropDownTreeProps.js +0 -2
  76. package/dist/es/DropDownTree/ListNoData.d.ts +0 -42
  77. package/dist/es/DropDownTree/ListNoData.js +0 -32
  78. package/dist/es/MultiSelect/MultiSelect.d.ts +0 -115
  79. package/dist/es/MultiSelect/MultiSelect.js +0 -1515
  80. package/dist/es/MultiSelect/MultiSelectProps.d.ts +0 -290
  81. package/dist/es/MultiSelect/MultiSelectProps.js +0 -2
  82. package/dist/es/MultiSelect/TagList.d.ts +0 -54
  83. package/dist/es/MultiSelect/TagList.js +0 -176
  84. package/dist/es/MultiSelectTree/MultiSelectTree.d.ts +0 -48
  85. package/dist/es/MultiSelectTree/MultiSelectTree.js +0 -1220
  86. package/dist/es/MultiSelectTree/MultiSelectTreeProps.d.ts +0 -322
  87. package/dist/es/MultiSelectTree/MultiSelectTreeProps.js +0 -2
  88. package/dist/es/MultiSelectTree/utils.d.ts +0 -17
  89. package/dist/es/MultiSelectTree/utils.js +0 -109
  90. package/dist/es/additionalTypes.ts +0 -21
  91. package/dist/es/common/ClearButton.d.ts +0 -21
  92. package/dist/es/common/ClearButton.js +0 -73
  93. package/dist/es/common/DropDownBase.d.ts +0 -95
  94. package/dist/es/common/DropDownBase.js +0 -298
  95. package/dist/es/common/GroupStickyHeader.d.ts +0 -32
  96. package/dist/es/common/GroupStickyHeader.js +0 -60
  97. package/dist/es/common/List.d.ts +0 -60
  98. package/dist/es/common/List.js +0 -201
  99. package/dist/es/common/ListContainer.d.ts +0 -40
  100. package/dist/es/common/ListContainer.js +0 -161
  101. package/dist/es/common/ListDefaultItem.d.ts +0 -29
  102. package/dist/es/common/ListDefaultItem.js +0 -60
  103. package/dist/es/common/ListFilter.d.ts +0 -49
  104. package/dist/es/common/ListFilter.js +0 -175
  105. package/dist/es/common/ListGroupItem.d.ts +0 -41
  106. package/dist/es/common/ListGroupItem.js +0 -71
  107. package/dist/es/common/ListItem.d.ts +0 -71
  108. package/dist/es/common/ListItem.js +0 -101
  109. package/dist/es/common/Navigation.d.ts +0 -12
  110. package/dist/es/common/Navigation.js +0 -34
  111. package/dist/es/common/SearchBar.d.ts +0 -66
  112. package/dist/es/common/SearchBar.js +0 -177
  113. package/dist/es/common/VirtualScroll.d.ts +0 -42
  114. package/dist/es/common/VirtualScroll.js +0 -163
  115. package/dist/es/common/constants.d.ts +0 -4
  116. package/dist/es/common/constants.js +0 -4
  117. package/dist/es/common/events.d.ts +0 -63
  118. package/dist/es/common/events.js +0 -1
  119. package/dist/es/common/filterDescriptor.d.ts +0 -41
  120. package/dist/es/common/filterDescriptor.js +0 -2
  121. package/dist/es/common/settings.d.ts +0 -107
  122. package/dist/es/common/settings.js +0 -8
  123. package/dist/es/common/utils.d.ts +0 -70
  124. package/dist/es/common/utils.js +0 -202
  125. package/dist/es/main.d.ts +0 -18
  126. package/dist/es/main.js +0 -10
  127. package/dist/es/messages/main.d.ts +0 -40
  128. package/dist/es/messages/main.js +0 -41
  129. package/dist/es/package-metadata.d.ts +0 -5
  130. package/dist/es/package-metadata.js +0 -11
  131. package/dist/esm/AutoComplete/AutoComplete.d.ts +0 -107
  132. package/dist/esm/AutoComplete/AutoComplete.js +0 -825
  133. package/dist/esm/AutoComplete/AutoCompleteProps.d.ts +0 -234
  134. package/dist/esm/AutoComplete/AutoCompleteProps.js +0 -2
  135. package/dist/esm/ComboBox/ComboBox.d.ts +0 -99
  136. package/dist/esm/ComboBox/ComboBox.js +0 -1315
  137. package/dist/esm/ComboBox/ComboBoxProps.d.ts +0 -277
  138. package/dist/esm/ComboBox/ComboBoxProps.js +0 -2
  139. package/dist/esm/DropDownList/DropDownList.d.ts +0 -103
  140. package/dist/esm/DropDownList/DropDownList.js +0 -1314
  141. package/dist/esm/DropDownList/DropDownListProps.d.ts +0 -307
  142. package/dist/esm/DropDownList/DropDownListProps.js +0 -2
  143. package/dist/esm/DropDownTree/DropDownTree.d.ts +0 -49
  144. package/dist/esm/DropDownTree/DropDownTree.js +0 -1090
  145. package/dist/esm/DropDownTree/DropDownTreeProps.d.ts +0 -301
  146. package/dist/esm/DropDownTree/DropDownTreeProps.js +0 -2
  147. package/dist/esm/DropDownTree/ListNoData.d.ts +0 -42
  148. package/dist/esm/DropDownTree/ListNoData.js +0 -32
  149. package/dist/esm/MultiSelect/MultiSelect.d.ts +0 -115
  150. package/dist/esm/MultiSelect/MultiSelect.js +0 -1515
  151. package/dist/esm/MultiSelect/MultiSelectProps.d.ts +0 -290
  152. package/dist/esm/MultiSelect/MultiSelectProps.js +0 -2
  153. package/dist/esm/MultiSelect/TagList.d.ts +0 -54
  154. package/dist/esm/MultiSelect/TagList.js +0 -176
  155. package/dist/esm/MultiSelectTree/MultiSelectTree.d.ts +0 -48
  156. package/dist/esm/MultiSelectTree/MultiSelectTree.js +0 -1220
  157. package/dist/esm/MultiSelectTree/MultiSelectTreeProps.d.ts +0 -322
  158. package/dist/esm/MultiSelectTree/MultiSelectTreeProps.js +0 -2
  159. package/dist/esm/MultiSelectTree/utils.d.ts +0 -17
  160. package/dist/esm/MultiSelectTree/utils.js +0 -109
  161. package/dist/esm/additionalTypes.ts +0 -21
  162. package/dist/esm/common/ClearButton.d.ts +0 -21
  163. package/dist/esm/common/ClearButton.js +0 -73
  164. package/dist/esm/common/DropDownBase.d.ts +0 -95
  165. package/dist/esm/common/DropDownBase.js +0 -298
  166. package/dist/esm/common/GroupStickyHeader.d.ts +0 -32
  167. package/dist/esm/common/GroupStickyHeader.js +0 -60
  168. package/dist/esm/common/List.d.ts +0 -60
  169. package/dist/esm/common/List.js +0 -201
  170. package/dist/esm/common/ListContainer.d.ts +0 -40
  171. package/dist/esm/common/ListContainer.js +0 -161
  172. package/dist/esm/common/ListDefaultItem.d.ts +0 -29
  173. package/dist/esm/common/ListDefaultItem.js +0 -60
  174. package/dist/esm/common/ListFilter.d.ts +0 -49
  175. package/dist/esm/common/ListFilter.js +0 -175
  176. package/dist/esm/common/ListGroupItem.d.ts +0 -41
  177. package/dist/esm/common/ListGroupItem.js +0 -71
  178. package/dist/esm/common/ListItem.d.ts +0 -71
  179. package/dist/esm/common/ListItem.js +0 -101
  180. package/dist/esm/common/Navigation.d.ts +0 -12
  181. package/dist/esm/common/Navigation.js +0 -34
  182. package/dist/esm/common/SearchBar.d.ts +0 -66
  183. package/dist/esm/common/SearchBar.js +0 -177
  184. package/dist/esm/common/VirtualScroll.d.ts +0 -42
  185. package/dist/esm/common/VirtualScroll.js +0 -163
  186. package/dist/esm/common/constants.d.ts +0 -4
  187. package/dist/esm/common/constants.js +0 -4
  188. package/dist/esm/common/events.d.ts +0 -63
  189. package/dist/esm/common/events.js +0 -1
  190. package/dist/esm/common/filterDescriptor.d.ts +0 -41
  191. package/dist/esm/common/filterDescriptor.js +0 -2
  192. package/dist/esm/common/settings.d.ts +0 -107
  193. package/dist/esm/common/settings.js +0 -8
  194. package/dist/esm/common/utils.d.ts +0 -70
  195. package/dist/esm/common/utils.js +0 -202
  196. package/dist/esm/main.d.ts +0 -18
  197. package/dist/esm/main.js +0 -10
  198. package/dist/esm/messages/main.d.ts +0 -40
  199. package/dist/esm/messages/main.js +0 -41
  200. package/dist/esm/package-metadata.d.ts +0 -5
  201. package/dist/esm/package-metadata.js +0 -11
  202. package/dist/esm/package.json +0 -3
  203. package/dist/npm/AutoComplete/AutoComplete.d.ts +0 -107
  204. package/dist/npm/AutoComplete/AutoComplete.js +0 -832
  205. package/dist/npm/AutoComplete/AutoCompleteProps.d.ts +0 -234
  206. package/dist/npm/AutoComplete/AutoCompleteProps.js +0 -3
  207. package/dist/npm/ComboBox/ComboBox.d.ts +0 -99
  208. package/dist/npm/ComboBox/ComboBox.js +0 -1322
  209. package/dist/npm/ComboBox/ComboBoxProps.d.ts +0 -277
  210. package/dist/npm/ComboBox/ComboBoxProps.js +0 -3
  211. package/dist/npm/DropDownList/DropDownList.d.ts +0 -103
  212. package/dist/npm/DropDownList/DropDownList.js +0 -1321
  213. package/dist/npm/DropDownList/DropDownListProps.d.ts +0 -307
  214. package/dist/npm/DropDownList/DropDownListProps.js +0 -3
  215. package/dist/npm/DropDownTree/DropDownTree.d.ts +0 -49
  216. package/dist/npm/DropDownTree/DropDownTree.js +0 -1095
  217. package/dist/npm/DropDownTree/DropDownTreeProps.d.ts +0 -301
  218. package/dist/npm/DropDownTree/DropDownTreeProps.js +0 -3
  219. package/dist/npm/DropDownTree/ListNoData.d.ts +0 -42
  220. package/dist/npm/DropDownTree/ListNoData.js +0 -39
  221. package/dist/npm/MultiSelect/MultiSelect.d.ts +0 -115
  222. package/dist/npm/MultiSelect/MultiSelect.js +0 -1522
  223. package/dist/npm/MultiSelect/MultiSelectProps.d.ts +0 -290
  224. package/dist/npm/MultiSelect/MultiSelectProps.js +0 -3
  225. package/dist/npm/MultiSelect/TagList.d.ts +0 -54
  226. package/dist/npm/MultiSelect/TagList.js +0 -183
  227. package/dist/npm/MultiSelectTree/MultiSelectTree.d.ts +0 -48
  228. package/dist/npm/MultiSelectTree/MultiSelectTree.js +0 -1227
  229. package/dist/npm/MultiSelectTree/MultiSelectTreeProps.d.ts +0 -322
  230. package/dist/npm/MultiSelectTree/MultiSelectTreeProps.js +0 -3
  231. package/dist/npm/MultiSelectTree/utils.d.ts +0 -17
  232. package/dist/npm/MultiSelectTree/utils.js +0 -114
  233. package/dist/npm/additionalTypes.ts +0 -21
  234. package/dist/npm/common/ClearButton.d.ts +0 -21
  235. package/dist/npm/common/ClearButton.js +0 -80
  236. package/dist/npm/common/DropDownBase.d.ts +0 -95
  237. package/dist/npm/common/DropDownBase.js +0 -303
  238. package/dist/npm/common/GroupStickyHeader.d.ts +0 -32
  239. package/dist/npm/common/GroupStickyHeader.js +0 -67
  240. package/dist/npm/common/List.d.ts +0 -60
  241. package/dist/npm/common/List.js +0 -208
  242. package/dist/npm/common/ListContainer.d.ts +0 -40
  243. package/dist/npm/common/ListContainer.js +0 -168
  244. package/dist/npm/common/ListDefaultItem.d.ts +0 -29
  245. package/dist/npm/common/ListDefaultItem.js +0 -67
  246. package/dist/npm/common/ListFilter.d.ts +0 -49
  247. package/dist/npm/common/ListFilter.js +0 -182
  248. package/dist/npm/common/ListGroupItem.d.ts +0 -41
  249. package/dist/npm/common/ListGroupItem.js +0 -78
  250. package/dist/npm/common/ListItem.d.ts +0 -71
  251. package/dist/npm/common/ListItem.js +0 -108
  252. package/dist/npm/common/Navigation.d.ts +0 -12
  253. package/dist/npm/common/Navigation.js +0 -37
  254. package/dist/npm/common/SearchBar.d.ts +0 -66
  255. package/dist/npm/common/SearchBar.js +0 -184
  256. package/dist/npm/common/VirtualScroll.d.ts +0 -42
  257. package/dist/npm/common/VirtualScroll.js +0 -168
  258. package/dist/npm/common/constants.d.ts +0 -4
  259. package/dist/npm/common/constants.js +0 -10
  260. package/dist/npm/common/events.d.ts +0 -63
  261. package/dist/npm/common/events.js +0 -2
  262. package/dist/npm/common/filterDescriptor.d.ts +0 -41
  263. package/dist/npm/common/filterDescriptor.js +0 -3
  264. package/dist/npm/common/settings.d.ts +0 -107
  265. package/dist/npm/common/settings.js +0 -11
  266. package/dist/npm/common/utils.d.ts +0 -70
  267. package/dist/npm/common/utils.js +0 -221
  268. package/dist/npm/main.d.ts +0 -18
  269. package/dist/npm/main.js +0 -36
  270. package/dist/npm/messages/main.d.ts +0 -40
  271. package/dist/npm/messages/main.js +0 -44
  272. package/dist/npm/package-metadata.d.ts +0 -5
  273. package/dist/npm/package-metadata.js +0 -14
package/index.d.ts ADDED
@@ -0,0 +1,4037 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2024 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 { ComponentOptionsMixin } from 'vue';
9
+ import { ComponentProvideOptions } from 'vue';
10
+ import { DefineComponent } from 'vue';
11
+ import { ExtractPropTypes } from 'vue';
12
+ import { FormComponentProps } from '@progress/kendo-vue-common';
13
+ import { FormComponentValidity } from '@progress/kendo-vue-common';
14
+ import { ItemRenderProps } from '@progress/kendo-vue-treeview';
15
+ import { PopupAnimation } from '@progress/kendo-vue-popup';
16
+ import { PopupSettings } from '@progress/kendo-vue-popup';
17
+ import { PropType } from 'vue';
18
+ import { PublicProps } from 'vue';
19
+ import { Ref } from 'vue';
20
+ import { SVGIcon } from '@progress/kendo-svg-icons';
21
+ import { TreeViewExpandChangeEvent } from '@progress/kendo-vue-treeview';
22
+ import { TreeViewItemClickEvent } from '@progress/kendo-vue-treeview';
23
+
24
+ /**
25
+ * @hidden
26
+ */
27
+ declare enum ActiveDescendant {
28
+ PopupList = 0,
29
+ TagsList = 1
30
+ }
31
+
32
+ /**
33
+ * @hidden
34
+ */
35
+ export declare const AutoComplete: DefineComponent<ExtractPropTypes< {
36
+ id: PropType<string>;
37
+ defaultValue: {
38
+ type: PropType<string>;
39
+ default: any;
40
+ };
41
+ name: PropType<string>;
42
+ modelValue: {
43
+ type: PropType<string>;
44
+ default: any;
45
+ };
46
+ value: {
47
+ type: PropType<string>;
48
+ default: any;
49
+ };
50
+ label: {
51
+ type: PropType<string>;
52
+ };
53
+ placeholder: PropType<string>;
54
+ required: {
55
+ type: PropType<boolean>;
56
+ default: boolean;
57
+ };
58
+ valid: {
59
+ type: PropType<boolean>;
60
+ default: any;
61
+ };
62
+ validationMessage: {
63
+ type: PropType<string>;
64
+ default: any;
65
+ };
66
+ validityStyles: {
67
+ type: PropType<boolean>;
68
+ default: boolean;
69
+ };
70
+ opened: {
71
+ type: PropType<boolean>;
72
+ default: any;
73
+ };
74
+ disabled: PropType<boolean>;
75
+ dir: {
76
+ type: PropType<string>;
77
+ default: any;
78
+ };
79
+ tabIndex: {
80
+ type: PropType<number>;
81
+ default: any;
82
+ };
83
+ readonly: PropType<boolean>;
84
+ accessKey: PropType<string>;
85
+ dataItems: PropType<any[]>;
86
+ textField: PropType<string>;
87
+ loading: PropType<boolean>;
88
+ popupSettings: {
89
+ type: PropType<DropDownsPopupSettings>;
90
+ default: () => {
91
+ animate: boolean;
92
+ height: string;
93
+ anchor: string;
94
+ };
95
+ };
96
+ itemRender: PropType<any>;
97
+ groupHeaderItemRender: PropType<any>;
98
+ groupStickyHeaderItemRender: (ObjectConstructor | StringConstructor | FunctionConstructor)[];
99
+ listNoDataRender: PropType<any>;
100
+ focusedItemIndex: PropType<(data: any, inputText: string, textField?: string) => number>;
101
+ header: PropType<any>;
102
+ footer: PropType<any>;
103
+ suggest: {
104
+ type: PropType<string | boolean>;
105
+ default: boolean;
106
+ };
107
+ ariaLabel: {
108
+ type: PropType<string>;
109
+ default: any;
110
+ };
111
+ ariaLabelledBy: PropType<string>;
112
+ ariaDescribedBy: PropType<string>;
113
+ rounded: {
114
+ type: PropType<string>;
115
+ default: string;
116
+ validator: (value: string) => any;
117
+ };
118
+ fillMode: {
119
+ type: PropType<string>;
120
+ default: string;
121
+ validator: (value: string) => any;
122
+ };
123
+ size: {
124
+ type: PropType<string>;
125
+ default: string;
126
+ validator: (value: string) => any;
127
+ };
128
+ groupField: {
129
+ type: PropType<string>;
130
+ };
131
+ }>, {
132
+ inputRef: Ref<any, any>;
133
+ kendoAnchorRef: Ref<any, any>;
134
+ }, {
135
+ hasMounted: boolean;
136
+ currentText: string;
137
+ currentValue: string;
138
+ currentFocused: boolean;
139
+ currentOpened: boolean;
140
+ focusedItem: any;
141
+ searchState: {
142
+ word: string;
143
+ last: string;
144
+ };
145
+ valueDuringOnChange: {};
146
+ suggested: string;
147
+ group: any;
148
+ isScrolling: boolean;
149
+ popupWidth: any;
150
+ itemHeight: number;
151
+ }, {
152
+ spanClassNames(): {
153
+ 'k-floating-label-container': boolean;
154
+ 'k-focus': any;
155
+ 'k-empty': boolean;
156
+ 'k-invalid': boolean;
157
+ 'k-rtl': boolean;
158
+ };
159
+ }, {
160
+ focus(): void;
161
+ computedValue(): any;
162
+ primitiveValue(): any;
163
+ validity(): FormComponentValidity;
164
+ handleItemSelect(index: number, state: AutoCompleteInternalState): void;
165
+ itemFocus(index: number, state: AutoCompleteInternalState): void;
166
+ togglePopup(state: InternalState): void;
167
+ onNavigate(state: AutoCompleteInternalState, keyCode: number): void;
168
+ /**
169
+ * @hidden
170
+ */
171
+ applyInputValue(value: string, state: AutoCompleteInternalState, eventKey?: number): void;
172
+ setValidity(): void;
173
+ handleItemClick(index: number, event: any): void;
174
+ onChangeHandler(event: any): void;
175
+ clearButtonClick(event: any): void;
176
+ onInputKeyDown(event: any): void;
177
+ handleBlur(event: any): void;
178
+ triggerOnChange(newValue: string, state: AutoCompleteInternalState, eventArgs?: any): void;
179
+ triggerOnSelect(state: AutoCompleteInternalState, eventArgs?: any): void;
180
+ applyState(state: AutoCompleteInternalState): void;
181
+ suggestValue(value: string): void;
182
+ focusedIndex(value?: string): any;
183
+ repositionPopup(): void;
184
+ onScroll(event: any): void;
185
+ }, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
186
+ id: PropType<string>;
187
+ defaultValue: {
188
+ type: PropType<string>;
189
+ default: any;
190
+ };
191
+ name: PropType<string>;
192
+ modelValue: {
193
+ type: PropType<string>;
194
+ default: any;
195
+ };
196
+ value: {
197
+ type: PropType<string>;
198
+ default: any;
199
+ };
200
+ label: {
201
+ type: PropType<string>;
202
+ };
203
+ placeholder: PropType<string>;
204
+ required: {
205
+ type: PropType<boolean>;
206
+ default: boolean;
207
+ };
208
+ valid: {
209
+ type: PropType<boolean>;
210
+ default: any;
211
+ };
212
+ validationMessage: {
213
+ type: PropType<string>;
214
+ default: any;
215
+ };
216
+ validityStyles: {
217
+ type: PropType<boolean>;
218
+ default: boolean;
219
+ };
220
+ opened: {
221
+ type: PropType<boolean>;
222
+ default: any;
223
+ };
224
+ disabled: PropType<boolean>;
225
+ dir: {
226
+ type: PropType<string>;
227
+ default: any;
228
+ };
229
+ tabIndex: {
230
+ type: PropType<number>;
231
+ default: any;
232
+ };
233
+ readonly: PropType<boolean>;
234
+ accessKey: PropType<string>;
235
+ dataItems: PropType<any[]>;
236
+ textField: PropType<string>;
237
+ loading: PropType<boolean>;
238
+ popupSettings: {
239
+ type: PropType<DropDownsPopupSettings>;
240
+ default: () => {
241
+ animate: boolean;
242
+ height: string;
243
+ anchor: string;
244
+ };
245
+ };
246
+ itemRender: PropType<any>;
247
+ groupHeaderItemRender: PropType<any>;
248
+ groupStickyHeaderItemRender: (ObjectConstructor | StringConstructor | FunctionConstructor)[];
249
+ listNoDataRender: PropType<any>;
250
+ focusedItemIndex: PropType<(data: any, inputText: string, textField?: string) => number>;
251
+ header: PropType<any>;
252
+ footer: PropType<any>;
253
+ suggest: {
254
+ type: PropType<string | boolean>;
255
+ default: boolean;
256
+ };
257
+ ariaLabel: {
258
+ type: PropType<string>;
259
+ default: any;
260
+ };
261
+ ariaLabelledBy: PropType<string>;
262
+ ariaDescribedBy: PropType<string>;
263
+ rounded: {
264
+ type: PropType<string>;
265
+ default: string;
266
+ validator: (value: string) => any;
267
+ };
268
+ fillMode: {
269
+ type: PropType<string>;
270
+ default: string;
271
+ validator: (value: string) => any;
272
+ };
273
+ size: {
274
+ type: PropType<string>;
275
+ default: string;
276
+ validator: (value: string) => any;
277
+ };
278
+ groupField: {
279
+ type: PropType<string>;
280
+ };
281
+ }>> & Readonly<{}>, {
282
+ required: boolean;
283
+ value: string;
284
+ ariaLabel: string;
285
+ tabIndex: number;
286
+ size: string;
287
+ rounded: string;
288
+ fillMode: string;
289
+ dir: string;
290
+ defaultValue: string;
291
+ opened: boolean;
292
+ popupSettings: DropDownsPopupSettings;
293
+ modelValue: string;
294
+ valid: boolean;
295
+ validationMessage: string;
296
+ validityStyles: boolean;
297
+ suggest: string | boolean;
298
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
299
+
300
+ /**
301
+ * Represents the object of the `blur` AutoComplete event.
302
+ */
303
+ export declare interface AutoCompleteBlurEvent extends BlurEvent {
304
+ }
305
+
306
+ /**
307
+ * Represents the object of the `change` AutoComplete event.
308
+ */
309
+ export declare interface AutoCompleteChangeEvent extends ChangeEvent {
310
+ /**
311
+ * The selected Suggestion object.
312
+ */
313
+ suggestion?: Suggestion;
314
+ /**
315
+ * Represents the selected item.
316
+ */
317
+ item?: any;
318
+ }
319
+
320
+ /**
321
+ * Represents the object of the `select` AutoComplete event.
322
+ */
323
+ export declare interface AutoCompleteChangeEvent extends ChangeEvent {
324
+ /**
325
+ * Represents the selected item.
326
+ */
327
+ item?: any;
328
+ }
329
+
330
+ /**
331
+ * Represents the object of the `close` AutoComplete event.
332
+ */
333
+ export declare interface AutoCompleteCloseEvent extends CloseEvent_2 {
334
+ }
335
+
336
+ /**
337
+ * Represents the object of the `focus` AutoComplete event.
338
+ */
339
+ export declare interface AutoCompleteFocusEvent extends FocusEvent_2 {
340
+ }
341
+
342
+ /**
343
+ * @hidden
344
+ */
345
+ declare interface AutoCompleteInternalState extends InternalState {
346
+ data: AutoCompleteState;
347
+ }
348
+
349
+ /**
350
+ * Represents the object of the `open` AutoComplete event.
351
+ */
352
+ export declare interface AutoCompleteOpenEvent extends OpenEvent {
353
+ }
354
+
355
+ /**
356
+ * Represents the props of the [Kendo UI for Vue AutoComplete component]({% slug overview_autocomplete %}).
357
+ */
358
+ export declare interface AutoCompleteProps extends FormComponentProps {
359
+ /**
360
+ * Sets the data of the AutoComplete ([more information and example]({% slug binding_autocomplete %})).
361
+ */
362
+ dataItems?: any[];
363
+ /**
364
+ * Sets the opened and closed state of the AutoComplete.
365
+ */
366
+ opened?: boolean;
367
+ /**
368
+ * Sets the v-model value of the AutoComplete ([more information and example]({% slug binding_autocomplete %})).
369
+ */
370
+ modelValue?: string;
371
+ /**
372
+ * Sets the value of the AutoComplete ([more information and example]({% slug binding_autocomplete %})).
373
+ */
374
+ value?: string;
375
+ /**
376
+ * Sets the default value of the AutoComplete. Similar to the native `input` HTML element.
377
+ */
378
+ defaultValue?: string;
379
+ /**
380
+ * The hint that is displayed when the AutoComplete is empty.
381
+ */
382
+ placeholder?: string;
383
+ /**
384
+ * Sets the read-only state of the AutoComplete.
385
+ */
386
+ readonly?: boolean;
387
+ /**
388
+ * Enables the auto-completion of the text based on the first data item ([see example]({% slug suggestions_autocomplete %})).
389
+ */
390
+ suggest?: boolean | string;
391
+ /**
392
+ * Sets the disabled state of the AutoComplete.
393
+ */
394
+ disabled?: boolean;
395
+ /**
396
+ * Represents the `dir` HTML attribute.
397
+ */
398
+ dir?: string;
399
+ /**
400
+ * Sets the loading state of the AutoComplete ([see example]({% slug filtering_autocomplete %}#toc-basic-configuration)).
401
+ */
402
+ loading?: boolean;
403
+ /**
404
+ * Specifies the `tabIndex` of the AutoComplete.
405
+ */
406
+ tabIndex?: number;
407
+ /**
408
+ * Specifies the `accessKey` of the AutoComplete.
409
+ */
410
+ accessKey?: string;
411
+ /**
412
+ * 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.
413
+ */
414
+ textField?: string;
415
+ /**
416
+ * Renders a floating label for the AutoComplete.
417
+ */
418
+ label?: string;
419
+ /**
420
+ * Configures the popup of the AutoComplete.
421
+ */
422
+ popupSettings?: DropDownsPopupSettings;
423
+ /**
424
+ * Specifies the id of the component.
425
+ */
426
+ id?: string;
427
+ /**
428
+ * 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).
429
+ * For example these elements could contain error or hint message.
430
+ */
431
+ ariaDescribedBy?: string;
432
+ /**
433
+ * Identifies the element(s) which will label the component.
434
+ */
435
+ ariaLabelledBy?: string;
436
+ /**
437
+ * Defines the [aria-label](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-label) attribute of the component.
438
+ */
439
+ ariaLabel?: string;
440
+ /**
441
+ * If set, the AutoComplete will use it to get the focused item index.
442
+ *
443
+ * Default functionality returns the first item which starts with the input text.
444
+ *
445
+ * @example
446
+ * ```jsx-no-run
447
+ * const focusedItemIndex = (data, inputText, textField) => {
448
+ * let text = inputText.toLowerCase();
449
+ * return data.findIndex(item =>
450
+ * String(textField ? item[textField] : item).toLowerCase().includes(text));
451
+ * };
452
+ *
453
+ * <AutoComplete focusedItemIndex={focusedItemIndex} />
454
+ * ```
455
+ */
456
+ focusedItemIndex?: (data: any, inputText: string, textField?: string) => number;
457
+ /**
458
+ * Fires each time the popup of the AutoComplete is about to open.
459
+ */
460
+ onOpen?: (event: AutoCompleteOpenEvent) => void;
461
+ /**
462
+ * Fires each time the popup of the AutoComplete is about to close.
463
+ */
464
+ onClose?: (event: AutoCompleteCloseEvent) => void;
465
+ /**
466
+ * Fires each time the user focuses the AutoComplete.
467
+ */
468
+ onFocus?: (event: AutoCompleteFocusEvent) => void;
469
+ /**
470
+ * Fires each time the AutoComplete gets blurred.
471
+ */
472
+ onBlur?: (event: AutoCompleteBlurEvent) => void;
473
+ /**
474
+ * Fires each time the value of the AutoComplete is about to change ([more information and example]({% slug binding_autocomplete %})).
475
+ */
476
+ onChange?: (event: AutoCompleteChangeEvent) => void;
477
+ /**
478
+ * 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.
479
+ */
480
+ itemRender?: any;
481
+ /**
482
+ * 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.
483
+ */
484
+ listNoDataRender?: any;
485
+ /**
486
+ * Sets the header component of the AutoComplete ([see example]({% slug customrendering_autocomplete %}#toc-headers-and-footers)).
487
+ */
488
+ header?: any;
489
+ /**
490
+ * Sets the footer component of the AutoComplete ([see example]({% slug customrendering_autocomplete %}#toc-headers-and-footers)).
491
+ */
492
+ footer?: any;
493
+ /**
494
+ * Configures the `size` of the AutoComnplete.
495
+ *
496
+ * The available options are:
497
+ * - small
498
+ * - medium
499
+ * - large
500
+ * - null&mdash;Does not set a size `class`.
501
+ *
502
+ * @default `medium`
503
+ */
504
+ size?: null | 'small' | 'medium' | 'large' | string;
505
+ /**
506
+ * Configures the `roundness` of the AutoComnplete.
507
+ *
508
+ * The available options are:
509
+ * - small
510
+ * - medium
511
+ * - large
512
+ * - full
513
+ * - null&mdash;Does not set a rounded `class`.
514
+ *
515
+ * @default `medium`
516
+ */
517
+ rounded?: null | 'small' | 'medium' | 'large' | 'full' | string;
518
+ /**
519
+ * Configures the `fillMode` of the AutoComnplete.
520
+ *
521
+ * The available options are:
522
+ * - solid
523
+ * - outline
524
+ * - flat
525
+ * - link
526
+ * - null&mdash;Does not set a fillMode `class`.
527
+ *
528
+ * @default `solid`
529
+ */
530
+ fillMode?: null | 'solid' | 'outline' | 'flat' | string;
531
+ /**
532
+ * Sets the data item field that represents the start of a group. Applicable to objects data.
533
+ */
534
+ groupField?: string;
535
+ /**
536
+ * Fires when a AutoComplete group header item is about to be rendered. Used to override the default appearance of the group's headers.
537
+ */
538
+ groupHeaderItemRender?: any;
539
+ /**
540
+ * 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.
541
+ */
542
+ groupStickyHeaderItemRender?: any;
543
+ }
544
+
545
+ /**
546
+ * @hidden
547
+ */
548
+ declare interface AutoCompleteState extends DropDownStateBase {
549
+ focusedItem?: any;
550
+ value?: string;
551
+ currentValue?: string;
552
+ }
553
+
554
+ /**
555
+ * @hidden
556
+ */
557
+ declare interface AutoCompleteState extends DropDownStateBase {
558
+ anchor: string;
559
+ typingTimeout: any;
560
+ base: any;
561
+ input: any;
562
+ element: any;
563
+ inputId: string;
564
+ virtualHasChanged: any;
565
+ prevOpened: any;
566
+ prevCurrentOpened: any;
567
+ prevData: any;
568
+ prevFocusedItem: any;
569
+ inputRef: any;
570
+ listRef: any;
571
+ filterInputRef: any;
572
+ scrollElementRef: any;
573
+ scrollerRef: any;
574
+ kendoAnchorRef: any;
575
+ }
576
+
577
+ /**
578
+ * @hidden
579
+ */
580
+ declare interface BlurEvent extends DropdownEvent {
581
+ }
582
+
583
+ /**
584
+ * @hidden
585
+ */
586
+ declare interface ChangeEvent extends DropdownEvent {
587
+ /**
588
+ * The current value of the component.
589
+ */
590
+ value: any;
591
+ }
592
+
593
+ /**
594
+ * @hidden
595
+ */
596
+ declare interface CloseEvent_2 extends DropdownEvent {
597
+ }
598
+
599
+ /**
600
+ * @hidden
601
+ */
602
+ export declare const ComboBox: DefineComponent<ExtractPropTypes< {
603
+ id: PropType<string>;
604
+ dataItemKey: {
605
+ type: PropType<string>;
606
+ };
607
+ defaultValue: {
608
+ type: PropType<any>;
609
+ default: any;
610
+ };
611
+ name: StringConstructor;
612
+ modelValue: {
613
+ type: PropType<any>;
614
+ default: any;
615
+ };
616
+ value: {
617
+ type: PropType<any>;
618
+ default: any;
619
+ };
620
+ label: {
621
+ type: PropType<string>;
622
+ };
623
+ placeholder: PropType<string>;
624
+ required: {
625
+ type: PropType<boolean>;
626
+ default: boolean;
627
+ };
628
+ valid: {
629
+ type: PropType<boolean>;
630
+ default: any;
631
+ };
632
+ validationMessage: {
633
+ type: PropType<string>;
634
+ default: any;
635
+ };
636
+ validityStyles: {
637
+ type: PropType<boolean>;
638
+ default: boolean;
639
+ };
640
+ iconClassName: PropType<string>;
641
+ opened: {
642
+ type: PropType<boolean>;
643
+ default: any;
644
+ };
645
+ disabled: PropType<boolean>;
646
+ dir: {
647
+ type: PropType<string>;
648
+ default: any;
649
+ };
650
+ tabIndex: {
651
+ type: PropType<number>;
652
+ default: number;
653
+ };
654
+ accessKey: PropType<string>;
655
+ dataItems: PropType<any[]>;
656
+ textField: PropType<string>;
657
+ className: PropType<string>;
658
+ loading: PropType<boolean>;
659
+ popupSettings: {
660
+ type: PropType<DropDownsPopupSettings>;
661
+ default: () => {
662
+ animate: boolean;
663
+ height: string;
664
+ anchor: string;
665
+ };
666
+ };
667
+ itemRender: PropType<any>;
668
+ groupHeaderItemRender: PropType<any>;
669
+ groupStickyHeaderItemRender: PropType<any>;
670
+ listNoDataRender: PropType<any>;
671
+ focusedItemIndex: PropType<(data: any, inputText: string, textField?: string) => number>;
672
+ header: PropType<any>;
673
+ footer: PropType<any>;
674
+ filterable: PropType<boolean>;
675
+ filter: {
676
+ type: PropType<string>;
677
+ default: any;
678
+ };
679
+ virtual: {
680
+ type: PropType<VirtualizationSettings>;
681
+ default: any;
682
+ };
683
+ suggest: {
684
+ type: PropType<boolean>;
685
+ default: boolean;
686
+ };
687
+ allowCustom: {
688
+ type: PropType<boolean>;
689
+ default: boolean;
690
+ };
691
+ clearButton: {
692
+ type: PropType<boolean>;
693
+ default: boolean;
694
+ };
695
+ ariaLabel: {
696
+ type: PropType<string>;
697
+ default: any;
698
+ };
699
+ ariaLabelledBy: PropType<string>;
700
+ ariaDescribedBy: PropType<string>;
701
+ valueField: PropType<string>;
702
+ valuePrimitive: PropType<boolean>;
703
+ rounded: {
704
+ type: PropType<string>;
705
+ default: string;
706
+ validator: (value: string) => any;
707
+ };
708
+ fillMode: {
709
+ type: PropType<string>;
710
+ default: string;
711
+ validator: (value: string) => any;
712
+ };
713
+ size: {
714
+ type: PropType<string>;
715
+ default: string;
716
+ validator: (value: string) => any;
717
+ };
718
+ groupField: {
719
+ type: PropType<string>;
720
+ };
721
+ adaptive: {
722
+ type: PropType<boolean>;
723
+ default: any;
724
+ };
725
+ adaptiveTitle: {
726
+ type: PropType<string>;
727
+ default: any;
728
+ };
729
+ onFilterchange: PropType<(event: ComboBoxFilterChangeEvent) => void>;
730
+ }>, {
731
+ inputRef: Ref<any, any>;
732
+ elementRef: Ref<any, any>;
733
+ kendoAnchorRef: Ref<any, any>;
734
+ kendoLocalizationService: {};
735
+ }, {
736
+ hasMounted: boolean;
737
+ currentText: string;
738
+ currentValue: string;
739
+ currentFocused: boolean;
740
+ currentOpened: boolean;
741
+ searchState: {
742
+ word: string;
743
+ last: string;
744
+ };
745
+ _skipFocusEvent: boolean;
746
+ valueDuringOnChange: {};
747
+ _navigated: boolean;
748
+ suggested: string;
749
+ group: any;
750
+ isScrolling: boolean;
751
+ itemHeight: number;
752
+ state: any;
753
+ popupWidth: any;
754
+ windowWidth: number;
755
+ }, {
756
+ index(): number;
757
+ spanClassNames(): object;
758
+ isOpen(): boolean;
759
+ animationStyles(): object | undefined;
760
+ classNameAdaptive(): string;
761
+ adaptiveState(): any;
762
+ }, {
763
+ focus(): void;
764
+ computedValue(): any;
765
+ findByFieldValue(field: string, value: string): any;
766
+ primitiveValue(): any;
767
+ validity(): FormComponentValidity;
768
+ handleItemSelect(index: number, state: InternalState): void;
769
+ onNavigate(state: InternalState, keyCode: number): void;
770
+ toggleBtnClick(event: MouseEvent): void;
771
+ applyValueOnEnter(value: string, state: InternalState): any;
772
+ applyValueOnRejectSuggestions(text: string, state: InternalState): any;
773
+ selectFocusedItem(text: string, state: InternalState): any;
774
+ handleItemClick(index: number, event: any): void;
775
+ handleFocus(event: any): void;
776
+ handleBlur(event: any): void;
777
+ onInputKeyDown(event: any): void;
778
+ inputOnChange(event: any): void;
779
+ clearButtonClick(event: any): void;
780
+ getFocusedIndex(): number;
781
+ suggestValue(value?: string): void;
782
+ setValidity(): void;
783
+ triggerOnChange(item: any, state: InternalState): void;
784
+ applyState(state: InternalState): void;
785
+ calculateMedia(entries: ResizeObserverEntry[]): void;
786
+ repositionPopup(): void;
787
+ onScroll(event: any): void;
788
+ }, ComponentOptionsMixin, ComponentOptionsMixin, {
789
+ changemodel: any;
790
+ 'update:modelValue': any;
791
+ filterchange: any;
792
+ pagechange: any;
793
+ change: any;
794
+ focus: any;
795
+ blur: any;
796
+ open: any;
797
+ close: any;
798
+ scroll: any;
799
+ }, string, PublicProps, Readonly<ExtractPropTypes< {
800
+ id: PropType<string>;
801
+ dataItemKey: {
802
+ type: PropType<string>;
803
+ };
804
+ defaultValue: {
805
+ type: PropType<any>;
806
+ default: any;
807
+ };
808
+ name: StringConstructor;
809
+ modelValue: {
810
+ type: PropType<any>;
811
+ default: any;
812
+ };
813
+ value: {
814
+ type: PropType<any>;
815
+ default: any;
816
+ };
817
+ label: {
818
+ type: PropType<string>;
819
+ };
820
+ placeholder: PropType<string>;
821
+ required: {
822
+ type: PropType<boolean>;
823
+ default: boolean;
824
+ };
825
+ valid: {
826
+ type: PropType<boolean>;
827
+ default: any;
828
+ };
829
+ validationMessage: {
830
+ type: PropType<string>;
831
+ default: any;
832
+ };
833
+ validityStyles: {
834
+ type: PropType<boolean>;
835
+ default: boolean;
836
+ };
837
+ iconClassName: PropType<string>;
838
+ opened: {
839
+ type: PropType<boolean>;
840
+ default: any;
841
+ };
842
+ disabled: PropType<boolean>;
843
+ dir: {
844
+ type: PropType<string>;
845
+ default: any;
846
+ };
847
+ tabIndex: {
848
+ type: PropType<number>;
849
+ default: number;
850
+ };
851
+ accessKey: PropType<string>;
852
+ dataItems: PropType<any[]>;
853
+ textField: PropType<string>;
854
+ className: PropType<string>;
855
+ loading: PropType<boolean>;
856
+ popupSettings: {
857
+ type: PropType<DropDownsPopupSettings>;
858
+ default: () => {
859
+ animate: boolean;
860
+ height: string;
861
+ anchor: string;
862
+ };
863
+ };
864
+ itemRender: PropType<any>;
865
+ groupHeaderItemRender: PropType<any>;
866
+ groupStickyHeaderItemRender: PropType<any>;
867
+ listNoDataRender: PropType<any>;
868
+ focusedItemIndex: PropType<(data: any, inputText: string, textField?: string) => number>;
869
+ header: PropType<any>;
870
+ footer: PropType<any>;
871
+ filterable: PropType<boolean>;
872
+ filter: {
873
+ type: PropType<string>;
874
+ default: any;
875
+ };
876
+ virtual: {
877
+ type: PropType<VirtualizationSettings>;
878
+ default: any;
879
+ };
880
+ suggest: {
881
+ type: PropType<boolean>;
882
+ default: boolean;
883
+ };
884
+ allowCustom: {
885
+ type: PropType<boolean>;
886
+ default: boolean;
887
+ };
888
+ clearButton: {
889
+ type: PropType<boolean>;
890
+ default: boolean;
891
+ };
892
+ ariaLabel: {
893
+ type: PropType<string>;
894
+ default: any;
895
+ };
896
+ ariaLabelledBy: PropType<string>;
897
+ ariaDescribedBy: PropType<string>;
898
+ valueField: PropType<string>;
899
+ valuePrimitive: PropType<boolean>;
900
+ rounded: {
901
+ type: PropType<string>;
902
+ default: string;
903
+ validator: (value: string) => any;
904
+ };
905
+ fillMode: {
906
+ type: PropType<string>;
907
+ default: string;
908
+ validator: (value: string) => any;
909
+ };
910
+ size: {
911
+ type: PropType<string>;
912
+ default: string;
913
+ validator: (value: string) => any;
914
+ };
915
+ groupField: {
916
+ type: PropType<string>;
917
+ };
918
+ adaptive: {
919
+ type: PropType<boolean>;
920
+ default: any;
921
+ };
922
+ adaptiveTitle: {
923
+ type: PropType<string>;
924
+ default: any;
925
+ };
926
+ onFilterchange: PropType<(event: ComboBoxFilterChangeEvent) => void>;
927
+ }>> & Readonly<{
928
+ onBlur?: (...args: any[] | unknown[]) => any;
929
+ onChange?: (...args: any[] | unknown[]) => any;
930
+ onClose?: (...args: any[] | unknown[]) => any;
931
+ onFocus?: (...args: any[] | unknown[]) => any;
932
+ onScroll?: (...args: any[] | unknown[]) => any;
933
+ onOpen?: (...args: any[] | unknown[]) => any;
934
+ onChangemodel?: (...args: any[] | unknown[]) => any;
935
+ "onUpdate:modelValue"?: (...args: any[] | unknown[]) => any;
936
+ onPagechange?: (...args: any[] | unknown[]) => any;
937
+ onFilterchange?: (...args: any[] | unknown[]) => any;
938
+ }>, {
939
+ filter: string;
940
+ required: boolean;
941
+ value: any;
942
+ ariaLabel: string;
943
+ tabIndex: number;
944
+ size: string;
945
+ rounded: string;
946
+ fillMode: string;
947
+ dir: string;
948
+ defaultValue: any;
949
+ opened: boolean;
950
+ popupSettings: DropDownsPopupSettings;
951
+ modelValue: any;
952
+ valid: boolean;
953
+ validationMessage: string;
954
+ validityStyles: boolean;
955
+ virtual: VirtualizationSettings;
956
+ adaptive: boolean;
957
+ adaptiveTitle: string;
958
+ clearButton: boolean;
959
+ suggest: boolean;
960
+ allowCustom: boolean;
961
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
962
+
963
+ /**
964
+ * Represents the object of the `blur` ComboBox event.
965
+ */
966
+ export declare interface ComboBoxBlurEvent extends BlurEvent {
967
+ }
968
+
969
+ /**
970
+ * Represents the object of the `change` ComboBox event.
971
+ */
972
+ export declare interface ComboBoxChangeEvent extends ChangeEvent {
973
+ }
974
+
975
+ /**
976
+ * Represents the object of the `close` ComboBox event.
977
+ */
978
+ export declare interface ComboBoxCloseEvent extends CloseEvent_2 {
979
+ }
980
+
981
+ /**
982
+ * Represents the object of the `FilterChange` ComboBox event.
983
+ */
984
+ export declare interface ComboBoxFilterChangeEvent extends FilterChangeEvent {
985
+ }
986
+
987
+ /**
988
+ * Represents the object of the `focus` ComboBox event.
989
+ */
990
+ export declare interface ComboBoxFocusEvent extends FocusEvent_2 {
991
+ }
992
+
993
+ /**
994
+ * Represents the object of the `open` ComboBox event.
995
+ */
996
+ export declare interface ComboBoxOpenEvent extends OpenEvent {
997
+ }
998
+
999
+ /**
1000
+ * Represents the object of the `PageChange` ComboBox event.
1001
+ */
1002
+ export declare interface ComboBoxPageChangeEvent extends PageChangeEvent {
1003
+ }
1004
+
1005
+ /**
1006
+ * Represents the props of the [Kendo UI for Vue ComboBox component]({% slug overview_combobox %}).
1007
+ */
1008
+ export declare interface ComboBoxProps extends FormComponentProps {
1009
+ /**
1010
+ * Sets the dataItems of the ComboBox ([more information and examples]({% slug binding_combobox %})).
1011
+ */
1012
+ dataItems?: any[];
1013
+ /**
1014
+ * Sets the opened and closed state of the ComboBox.
1015
+ */
1016
+ opened?: boolean;
1017
+ /**
1018
+ * Sets the value of the ComboBox ([more information and examples]({% slug binding_combobox %})). It can either be of the primitive (string, numbers) or of the complex (objects) type.
1019
+ */
1020
+ value?: any;
1021
+ /**
1022
+ * Sets the default value of the ComboBox. Similar to the native `select` HTML element.
1023
+ */
1024
+ defaultValue?: any;
1025
+ /**
1026
+ * Defines the name for an existing arrow icon.
1027
+ */
1028
+ icon?: string;
1029
+ /**
1030
+ * Defines the svg icon in a Kendo UI for Vue theme.
1031
+ */
1032
+ svgIcon?: SVGIcon;
1033
+ /**
1034
+ * Sets CSS classes to the expand `icon` DOM element.
1035
+ */
1036
+ iconClassName?: string;
1037
+ /**
1038
+ * If `clearButton` is set to `true`, the ComboBox renders a button on hovering over the component. Clicking this button resets the value of the ComboBox to `undefined` and triggers the `change` event.
1039
+ */
1040
+ clearButton?: boolean;
1041
+ /**
1042
+ * The hint that is displayed when the ComboBox is empty.
1043
+ */
1044
+ placeholder?: string;
1045
+ /**
1046
+ * Enables the auto-completion of the text based on the first data item ([see example]({% slug suggestions_combobox %})).
1047
+ */
1048
+ suggest?: boolean;
1049
+ /**
1050
+ * Specifies whether the ComboBox allows user-defined values that are not present in the dataset ([see example]({% slug custom_values_combobox %})). Defaults to `false`.
1051
+ */
1052
+ allowCustom?: boolean;
1053
+ /**
1054
+ * Sets the disabled state of the ComboBox.
1055
+ */
1056
+ disabled?: boolean;
1057
+ /**
1058
+ * Sets additional classes to the DropDownList.
1059
+ */
1060
+ className?: string;
1061
+ /**
1062
+ * @hidden
1063
+ */
1064
+ modelValue?: any;
1065
+ /**
1066
+ * Represents the `dir` HTML attribute.
1067
+ */
1068
+ dir?: string;
1069
+ /**
1070
+ * Enables the filtering functionality of the ComboBox ([more information and examples]({% slug filtering_combobox %})).
1071
+ */
1072
+ filterable?: boolean;
1073
+ /**
1074
+ * Sets the value of ComboBox input. Useful for making the ComboBox input a controlled component.
1075
+ */
1076
+ filter?: string | null;
1077
+ /**
1078
+ * Sets the loading state of the ComboBox ([see example]({% slug filtering_combobox %}#toc-basic-configuration)).
1079
+ */
1080
+ loading?: boolean;
1081
+ /**
1082
+ * Specifies the `tabIndex` of the ComboBox.
1083
+ */
1084
+ tabIndex?: number;
1085
+ /**
1086
+ * Specifies the `accessKey` of the ComboBox.
1087
+ */
1088
+ accessKey?: string;
1089
+ /**
1090
+ * Sets the data item field that represents the item text. If the data contains only primitive values, do not define it.
1091
+ */
1092
+ textField?: string;
1093
+ /**
1094
+ * Sets the data item field that represents the item value.
1095
+ */
1096
+ valueField?: string;
1097
+ /**
1098
+ * Specifies the type of the selected value. If set to true, the selected value has to be of a primitive value.
1099
+ */
1100
+ valuePrimitive?: boolean;
1101
+ /**
1102
+ * Sets the key for comparing the data items of the ComboBox. If `dataItemKey` is not set, the ComboBox compares the items by reference ([see example]({% slug binding_combobox %}#toc-datasets-of-objects)).
1103
+ */
1104
+ dataItemKey?: string;
1105
+ /**
1106
+ * Renders a floating label for the ComboBox.
1107
+ */
1108
+ label?: string;
1109
+ /**
1110
+ * Configures the popup of the ComboBox.
1111
+ */
1112
+ popupSettings?: DropDownsPopupSettings;
1113
+ /**
1114
+ * Configures the virtual scrolling of the ComboBox ([more information and examples]({% slug virtualization_combobox %})).
1115
+ */
1116
+ virtual?: VirtualizationSettings;
1117
+ /**
1118
+ * Specifies the id of the component.
1119
+ */
1120
+ id?: string;
1121
+ /**
1122
+ * 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).
1123
+ * For example these elements could contain error or hint message.
1124
+ */
1125
+ ariaDescribedBy?: string;
1126
+ /**
1127
+ * Identifies the element(s) which will label the component.
1128
+ */
1129
+ ariaLabelledBy?: string;
1130
+ /**
1131
+ * Defines the [aria-label](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-label) attribute of the component.
1132
+ */
1133
+ ariaLabel?: string;
1134
+ /**
1135
+ * If set, the ComboBox will use it to get the focused item index.
1136
+ *
1137
+ * Default functionality returns the first item which starts with the input text.
1138
+ */
1139
+ focusedItemIndex?: (data: any, inputText: string, textField?: string) => number;
1140
+ /**
1141
+ * Fires each time the popup of the ComboBox is about to open.
1142
+ */
1143
+ onOpen?: (event: ComboBoxOpenEvent) => void;
1144
+ /**
1145
+ * Fires each time the popup of the ComboBox is about to close.
1146
+ */
1147
+ onClose?: (event: ComboBoxCloseEvent) => void;
1148
+ /**
1149
+ * Fires each time the user focuses the ComboBox.
1150
+ */
1151
+ onFocus?: (event: ComboBoxFocusEvent) => void;
1152
+ /**
1153
+ * Fires each time the ComboBox gets blurred.
1154
+ */
1155
+ onBlur?: (event: ComboBoxBlurEvent) => void;
1156
+ /**
1157
+ * Fires each time the value of the ComboBox is about to change ([see examples]({% slug binding_combobox %})).
1158
+ */
1159
+ onChange?: (event: ComboBoxChangeEvent) => void;
1160
+ /**
1161
+ * Fires each time the user types in the filter input ([see examples]({% slug filtering_combobox %}#toc-basic-configuration)). You can filter the source based on the passed filtration value.
1162
+ */
1163
+ onFilterchange?: (event: ComboBoxFilterChangeEvent) => void;
1164
+ /**
1165
+ * Fires when both the virtual scrolling of the ComboBox is enabled and the component requires data for another page ([more information and examples]({% slug virtualization_combobox %})).
1166
+ */
1167
+ onPagechange?: (event: ComboBoxPageChangeEvent) => void;
1168
+ /**
1169
+ * Fires when a ComboBox list item is about to be rendered ([see example]({% slug customrendering_combobox %}#toc-items)). Used to override the default appearance of the list items.
1170
+ */
1171
+ itemRender?: any;
1172
+ /**
1173
+ * Fires when the element which indicates no data in the popup is about to be rendered. Used to override the default appearance of the element.
1174
+ */
1175
+ listNoDataRender?: any;
1176
+ /**
1177
+ * Sets the header component of the ComboBox ([see example]({% slug customrendering_combobox %}#toc-headers-and-footers)).
1178
+ */
1179
+ header?: any;
1180
+ /**
1181
+ * Sets the footer component of the ComboBox ([see example]({% slug customrendering_combobox %}#toc-headers-and-footers)).
1182
+ */
1183
+ footer?: any;
1184
+ /**
1185
+ * Configures the `size` of the ComboBox.
1186
+ *
1187
+ * The available options are:
1188
+ * - small
1189
+ * - medium
1190
+ * - large
1191
+ * - null&mdash;Does not set a size `class`.
1192
+ *
1193
+ * @default `medium`
1194
+ */
1195
+ size?: null | 'small' | 'medium' | 'large' | string;
1196
+ /**
1197
+ * Configures the `roundness` of the ComboBox.
1198
+ *
1199
+ * The available options are:
1200
+ * - small
1201
+ * - medium
1202
+ * - large
1203
+ * - full
1204
+ * - null&mdash;Does not set a rounded `class`.
1205
+ *
1206
+ * @default `medium`
1207
+ */
1208
+ rounded?: null | 'small' | 'medium' | 'large' | 'full' | string;
1209
+ /**
1210
+ * Configures the `fillMode` of the ComboBox.
1211
+ *
1212
+ * The available options are:
1213
+ * - solid
1214
+ * - outline
1215
+ * - flat
1216
+ * - link
1217
+ * - null&mdash;Does not set a fillMode `class`.
1218
+ *
1219
+ * @default `solid`
1220
+ */
1221
+ fillMode?: null | 'solid' | 'outline' | 'flat' | string;
1222
+ /**
1223
+ * Sets the data item field that represents the start of a group. Applicable to objects data.
1224
+ */
1225
+ groupField?: string;
1226
+ /**
1227
+ * Fires when a ComboBox group header item is about to be rendered. Used to override the default appearance of the group's headers.
1228
+ */
1229
+ groupHeaderItemRender?: any;
1230
+ /**
1231
+ * Fires when a ComboBox sticky group header item is about to be rendered. Used to override the default appearance of the sticky group header of the component.
1232
+ */
1233
+ groupStickyHeaderItemRender?: any;
1234
+ /**
1235
+ * Provides different rendering of the popup element based on the screen dimensions ([see example]({% slug adaptive_rendering_combobox %})).
1236
+ */
1237
+ adaptive?: boolean;
1238
+ /**
1239
+ * Specifies the text that is rendered as title in the adaptive popup ([see example]({% slug adaptive_rendering_combobox %})).
1240
+ */
1241
+ adaptiveTitle?: string;
1242
+ }
1243
+
1244
+ /**
1245
+ * @hidden
1246
+ */
1247
+ declare interface DropdownEvent {
1248
+ /**
1249
+ * A native event.
1250
+ */
1251
+ event: any;
1252
+ /**
1253
+ * An event target.
1254
+ */
1255
+ target: any;
1256
+ }
1257
+
1258
+ /**
1259
+ * @hidden
1260
+ */
1261
+ export declare const DropDownList: DefineComponent<ExtractPropTypes< {
1262
+ id: PropType<string>;
1263
+ title: PropType<string>;
1264
+ dataItemKey: {
1265
+ type: PropType<string>;
1266
+ };
1267
+ defaultValue: {
1268
+ type: PropType<any>;
1269
+ default: any;
1270
+ };
1271
+ name: PropType<string>;
1272
+ modelValue: {
1273
+ type: PropType<any>;
1274
+ default: any;
1275
+ };
1276
+ value: {
1277
+ type: PropType<any>;
1278
+ default: any;
1279
+ };
1280
+ label: {
1281
+ type: PropType<string>;
1282
+ };
1283
+ required: {
1284
+ type: PropType<boolean>;
1285
+ default: boolean;
1286
+ };
1287
+ leftRightKeysNavigation: {
1288
+ type: PropType<boolean>;
1289
+ default: boolean;
1290
+ };
1291
+ valid: {
1292
+ type: PropType<boolean>;
1293
+ default: any;
1294
+ };
1295
+ validate: {
1296
+ type: PropType<boolean>;
1297
+ };
1298
+ validationMessage: {
1299
+ type: PropType<string>;
1300
+ default: any;
1301
+ };
1302
+ validityStyles: {
1303
+ type: PropType<boolean>;
1304
+ default: boolean;
1305
+ };
1306
+ delay: {
1307
+ type: PropType<number>;
1308
+ default: number;
1309
+ };
1310
+ ignoreCase: {
1311
+ type: PropType<boolean>;
1312
+ default: boolean;
1313
+ };
1314
+ icon: PropType<string>;
1315
+ svgIcon: PropType<SVGIcon>;
1316
+ iconClassName: PropType<string>;
1317
+ defaultItem: PropType<any>;
1318
+ valueRender: PropType<any>;
1319
+ valueMap: PropType<(value: any) => any>;
1320
+ opened: {
1321
+ type: PropType<boolean>;
1322
+ default: any;
1323
+ };
1324
+ disabled: PropType<boolean>;
1325
+ dir: {
1326
+ type: PropType<string>;
1327
+ default: any;
1328
+ };
1329
+ tabIndex: {
1330
+ type: PropType<number>;
1331
+ default: number;
1332
+ };
1333
+ accessKey: PropType<string>;
1334
+ dataItems: PropType<any[]>;
1335
+ textField: PropType<string>;
1336
+ valueField: PropType<string>;
1337
+ valuePrimitive: PropType<boolean>;
1338
+ className: PropType<string>;
1339
+ loading: PropType<boolean>;
1340
+ popupSettings: {
1341
+ type: PropType<DropDownsPopupSettings>;
1342
+ default: {
1343
+ animate: boolean;
1344
+ height: string;
1345
+ anchor: string;
1346
+ };
1347
+ };
1348
+ itemRender: PropType<any>;
1349
+ groupHeaderItemRender: PropType<any>;
1350
+ groupStickyHeaderItemRender: PropType<any>;
1351
+ listNoDataRender: PropType<any>;
1352
+ focusedItemIndex: PropType<(data: any, inputText: string, textField?: string) => number>;
1353
+ header: PropType<any>;
1354
+ footer: PropType<any>;
1355
+ filterable: PropType<boolean>;
1356
+ filter: {
1357
+ type: PropType<string>;
1358
+ default: any;
1359
+ };
1360
+ virtual: {
1361
+ type: PropType<VirtualizationSettings>;
1362
+ default: any;
1363
+ };
1364
+ ariaLabelledBy: PropType<string>;
1365
+ ariaLabel: PropType<string>;
1366
+ ariaDescribedBy: PropType<string>;
1367
+ rounded: {
1368
+ type: PropType<string>;
1369
+ default: string;
1370
+ validator: (value: string) => any;
1371
+ };
1372
+ fillMode: {
1373
+ type: PropType<string>;
1374
+ default: string;
1375
+ validator: (value: string) => any;
1376
+ };
1377
+ size: {
1378
+ type: PropType<string>;
1379
+ default: string;
1380
+ validator: (value: string) => any;
1381
+ };
1382
+ groupField: {
1383
+ type: PropType<string>;
1384
+ };
1385
+ adaptive: {
1386
+ type: PropType<boolean>;
1387
+ default: any;
1388
+ };
1389
+ adaptiveTitle: {
1390
+ type: PropType<string>;
1391
+ default: any;
1392
+ };
1393
+ onChange: PropType<(event: DropDownListChangeEvent) => void>;
1394
+ }>, {
1395
+ selectRef: Ref<any, any>;
1396
+ baseWrapperRef: Ref<any, any>;
1397
+ kendoAnchorRef: Ref<any, any>;
1398
+ }, {
1399
+ hasMounted: boolean;
1400
+ currentText: string;
1401
+ currentValue: string;
1402
+ currentFocused: boolean;
1403
+ currentOpened: boolean;
1404
+ searchState: {
1405
+ word: string;
1406
+ last: string;
1407
+ };
1408
+ _skipFocusEvent: boolean;
1409
+ valueDuringOnChange: {};
1410
+ _navigated: boolean;
1411
+ group: any;
1412
+ isScrolling: boolean;
1413
+ itemHeight: number;
1414
+ state: any;
1415
+ popupWidth: any;
1416
+ windowWidth: number;
1417
+ }, {
1418
+ index(): number;
1419
+ spanClassNames(): object;
1420
+ dropDownListId(): string;
1421
+ isOpen(): boolean;
1422
+ animationStyles(): object | undefined;
1423
+ classNameAdaptiv(): string;
1424
+ adaptiveState(): boolean;
1425
+ }, {
1426
+ focus(): void;
1427
+ computedValue(): any;
1428
+ findByFieldValue(field: string, value: string): any;
1429
+ primitiveValue(): any;
1430
+ validity(): FormComponentValidity;
1431
+ handleItemSelect(index: number, state: InternalState): void;
1432
+ onNavigate(state: InternalState, keyCode: number): void;
1433
+ search(event: any): void;
1434
+ selectNext(event: any): void;
1435
+ handleKeyDown(event: any): void;
1436
+ handleItemClick(index: number, event: any): void;
1437
+ handleFocus(event: any): void;
1438
+ handleBlur(event: any): void;
1439
+ handleDefaultItemClick(event: any): void;
1440
+ handleWrapperClick(event: MouseEvent): void;
1441
+ handleKeyPress(event: any): void;
1442
+ handleListFilterChange(event: any): void;
1443
+ onPopupOpened(): void;
1444
+ onPopupClosed(): void;
1445
+ focusedIndex(): any;
1446
+ focusElement(element: HTMLElement): void;
1447
+ setValidity(): void;
1448
+ triggerOnChange(item: any, state: InternalState): void;
1449
+ applyState(state: InternalState): void;
1450
+ calculateMedia(entries: ResizeObserverEntry[]): void;
1451
+ repositionPopup(): void;
1452
+ onScroll(event: any): void;
1453
+ }, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
1454
+ id: PropType<string>;
1455
+ title: PropType<string>;
1456
+ dataItemKey: {
1457
+ type: PropType<string>;
1458
+ };
1459
+ defaultValue: {
1460
+ type: PropType<any>;
1461
+ default: any;
1462
+ };
1463
+ name: PropType<string>;
1464
+ modelValue: {
1465
+ type: PropType<any>;
1466
+ default: any;
1467
+ };
1468
+ value: {
1469
+ type: PropType<any>;
1470
+ default: any;
1471
+ };
1472
+ label: {
1473
+ type: PropType<string>;
1474
+ };
1475
+ required: {
1476
+ type: PropType<boolean>;
1477
+ default: boolean;
1478
+ };
1479
+ leftRightKeysNavigation: {
1480
+ type: PropType<boolean>;
1481
+ default: boolean;
1482
+ };
1483
+ valid: {
1484
+ type: PropType<boolean>;
1485
+ default: any;
1486
+ };
1487
+ validate: {
1488
+ type: PropType<boolean>;
1489
+ };
1490
+ validationMessage: {
1491
+ type: PropType<string>;
1492
+ default: any;
1493
+ };
1494
+ validityStyles: {
1495
+ type: PropType<boolean>;
1496
+ default: boolean;
1497
+ };
1498
+ delay: {
1499
+ type: PropType<number>;
1500
+ default: number;
1501
+ };
1502
+ ignoreCase: {
1503
+ type: PropType<boolean>;
1504
+ default: boolean;
1505
+ };
1506
+ icon: PropType<string>;
1507
+ svgIcon: PropType<SVGIcon>;
1508
+ iconClassName: PropType<string>;
1509
+ defaultItem: PropType<any>;
1510
+ valueRender: PropType<any>;
1511
+ valueMap: PropType<(value: any) => any>;
1512
+ opened: {
1513
+ type: PropType<boolean>;
1514
+ default: any;
1515
+ };
1516
+ disabled: PropType<boolean>;
1517
+ dir: {
1518
+ type: PropType<string>;
1519
+ default: any;
1520
+ };
1521
+ tabIndex: {
1522
+ type: PropType<number>;
1523
+ default: number;
1524
+ };
1525
+ accessKey: PropType<string>;
1526
+ dataItems: PropType<any[]>;
1527
+ textField: PropType<string>;
1528
+ valueField: PropType<string>;
1529
+ valuePrimitive: PropType<boolean>;
1530
+ className: PropType<string>;
1531
+ loading: PropType<boolean>;
1532
+ popupSettings: {
1533
+ type: PropType<DropDownsPopupSettings>;
1534
+ default: {
1535
+ animate: boolean;
1536
+ height: string;
1537
+ anchor: string;
1538
+ };
1539
+ };
1540
+ itemRender: PropType<any>;
1541
+ groupHeaderItemRender: PropType<any>;
1542
+ groupStickyHeaderItemRender: PropType<any>;
1543
+ listNoDataRender: PropType<any>;
1544
+ focusedItemIndex: PropType<(data: any, inputText: string, textField?: string) => number>;
1545
+ header: PropType<any>;
1546
+ footer: PropType<any>;
1547
+ filterable: PropType<boolean>;
1548
+ filter: {
1549
+ type: PropType<string>;
1550
+ default: any;
1551
+ };
1552
+ virtual: {
1553
+ type: PropType<VirtualizationSettings>;
1554
+ default: any;
1555
+ };
1556
+ ariaLabelledBy: PropType<string>;
1557
+ ariaLabel: PropType<string>;
1558
+ ariaDescribedBy: PropType<string>;
1559
+ rounded: {
1560
+ type: PropType<string>;
1561
+ default: string;
1562
+ validator: (value: string) => any;
1563
+ };
1564
+ fillMode: {
1565
+ type: PropType<string>;
1566
+ default: string;
1567
+ validator: (value: string) => any;
1568
+ };
1569
+ size: {
1570
+ type: PropType<string>;
1571
+ default: string;
1572
+ validator: (value: string) => any;
1573
+ };
1574
+ groupField: {
1575
+ type: PropType<string>;
1576
+ };
1577
+ adaptive: {
1578
+ type: PropType<boolean>;
1579
+ default: any;
1580
+ };
1581
+ adaptiveTitle: {
1582
+ type: PropType<string>;
1583
+ default: any;
1584
+ };
1585
+ onChange: PropType<(event: DropDownListChangeEvent) => void>;
1586
+ }>> & Readonly<{}>, {
1587
+ filter: string;
1588
+ required: boolean;
1589
+ value: any;
1590
+ tabIndex: number;
1591
+ size: string;
1592
+ rounded: string;
1593
+ fillMode: string;
1594
+ dir: string;
1595
+ defaultValue: any;
1596
+ opened: boolean;
1597
+ popupSettings: DropDownsPopupSettings;
1598
+ modelValue: any;
1599
+ valid: boolean;
1600
+ validationMessage: string;
1601
+ validityStyles: boolean;
1602
+ virtual: VirtualizationSettings;
1603
+ delay: number;
1604
+ ignoreCase: boolean;
1605
+ leftRightKeysNavigation: boolean;
1606
+ adaptive: boolean;
1607
+ adaptiveTitle: string;
1608
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1609
+
1610
+ /**
1611
+ * Represents the object of the `blur` DropDownList event.
1612
+ */
1613
+ export declare interface DropDownListBlurEvent extends BlurEvent {
1614
+ }
1615
+
1616
+ /**
1617
+ * Represents the object of the `change` DropDownList event.
1618
+ */
1619
+ export declare interface DropDownListChangeEvent extends ChangeEvent {
1620
+ }
1621
+
1622
+ /**
1623
+ * Represents the object of the `close` DropDownList event.
1624
+ */
1625
+ export declare interface DropDownListCloseEvent extends CloseEvent_2 {
1626
+ }
1627
+
1628
+ /**
1629
+ * Represents the object of the `filterChange` DropDownList event.
1630
+ */
1631
+ export declare interface DropDownListFilterChangeEvent extends FilterChangeEvent {
1632
+ }
1633
+
1634
+ /**
1635
+ * Represents the object of the `focus` DropDownList event.
1636
+ */
1637
+ export declare interface DropDownListFocusEvent extends FocusEvent_2 {
1638
+ }
1639
+
1640
+ /**
1641
+ * Represents the object of the `open` DropDownList event.
1642
+ */
1643
+ export declare interface DropDownListOpenEvent extends OpenEvent {
1644
+ }
1645
+
1646
+ /**
1647
+ * Represents the object of the `pageChange` DropDownList event.
1648
+ */
1649
+ export declare interface DropDownListPageChangeEvent extends PageChangeEvent {
1650
+ }
1651
+
1652
+ /**
1653
+ * Represents the props of the [KendoVue DropDownList component]({% slug overview_dropdownlist %}).
1654
+ */
1655
+ export declare interface DropDownListProps extends FormComponentProps {
1656
+ /**
1657
+ * Specifies the id of the component.
1658
+ */
1659
+ id?: string;
1660
+ /**
1661
+ * Specifies the title of the component.
1662
+ */
1663
+ title?: string;
1664
+ /**
1665
+ * 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).
1666
+ * For example these elements could contain error or hint message.
1667
+ */
1668
+ ariaDescribedBy?: string;
1669
+ /**
1670
+ * Identifies the element(s) which will label the component.
1671
+ */
1672
+ ariaLabelledBy?: string;
1673
+ /**
1674
+ * Defines the [aria-label](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-label) attribute of the component.
1675
+ */
1676
+ ariaLabel?: string;
1677
+ /**
1678
+ * There is no placeholder concept when it comes to DropDownList/HTML select element. The approach
1679
+ * that we recommend in such cases is to use the default Item as it is shown here ([see example]({% slug defaultitem_dropdownlist %})).
1680
+ */
1681
+ placeholder?: string;
1682
+ /**
1683
+ * Sets the validate of the input.
1684
+ */
1685
+ validate?: boolean;
1686
+ /**
1687
+ * Sets the data of the DropDownList ([see example]({% slug binding_dropdownlist %})).
1688
+ */
1689
+ dataItems?: any[];
1690
+ /**
1691
+ * Sets the text of the default empty item. The type of the defined value has to match the data type.
1692
+ */
1693
+ defaultItem?: any;
1694
+ /**
1695
+ * Sets the delay before an item search is performed. When filtration is disabled, use this option.
1696
+ */
1697
+ delay?: number;
1698
+ /**
1699
+ * Enables a case-insensitive search. When filtering is disabled, use this option.
1700
+ */
1701
+ ignoreCase?: boolean;
1702
+ /**
1703
+ * Sets the opened and closed state of the DropDownList.
1704
+ */
1705
+ opened?: boolean;
1706
+ /**
1707
+ * The styles that are applied to the DropDownList.
1708
+ */
1709
+ style?: any;
1710
+ /**
1711
+ * @hidden
1712
+ */
1713
+ modelValue?: any;
1714
+ /**
1715
+ * 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.
1716
+ */
1717
+ value?: any;
1718
+ /**
1719
+ * Sets the default value of the DropDownList ([see example]({% slug defaultitem_dropdownlist %})). Similar to the native `select` HTML element.
1720
+ */
1721
+ defaultValue?: any;
1722
+ /**
1723
+ * Sets additional classes to the DropDownList.
1724
+ */
1725
+ className?: string;
1726
+ /**
1727
+ * Defines the name for an existing arrow icon.
1728
+ */
1729
+ icon?: string;
1730
+ /**
1731
+ * Defines the svg icon in a Kendo UI for Vue theme.
1732
+ */
1733
+ svgIcon?: SVGIcon;
1734
+ /**
1735
+ * Sets CSS classes to the expand `icon` DOM element.
1736
+ */
1737
+ iconClassName?: string;
1738
+ /**
1739
+ * Sets the disabled state of the DropDownList.
1740
+ */
1741
+ disabled?: boolean;
1742
+ /**
1743
+ * Represents the `dir` HTML attribute.
1744
+ */
1745
+ dir?: string;
1746
+ /**
1747
+ * Enables the filtering functionality of the DropDownList ([more information and examples]({% slug filtering_dropdownlist %})).
1748
+ */
1749
+ filterable?: boolean;
1750
+ /**
1751
+ * Sets the value of filtering input.
1752
+ */
1753
+ filter?: string;
1754
+ /**
1755
+ * Sets the loading state of the DropDownList.
1756
+ */
1757
+ loading?: boolean;
1758
+ /**
1759
+ * Specifies the `tabIndex` of the DropDownList.
1760
+ */
1761
+ tabIndex?: number;
1762
+ /**
1763
+ * Specifies the `accessKey` of the DropDownList.
1764
+ */
1765
+ accessKey?: string;
1766
+ /**
1767
+ * 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.
1768
+ */
1769
+ textField?: string;
1770
+ /**
1771
+ * Sets the data item field that represents the item value.
1772
+ */
1773
+ valueField?: string;
1774
+ /**
1775
+ * Specifies the type of the selected value. If set to true, the selected value has to be of a primitive value.
1776
+ */
1777
+ valuePrimitive?: boolean;
1778
+ /**
1779
+ * 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)).
1780
+ */
1781
+ dataItemKey?: string;
1782
+ /**
1783
+ * Represents a callback function, which returns the value for submitting. The returned value will be rendered in an `option` of a hidden `select` element.
1784
+ */
1785
+ valueMap?: (value: any) => any;
1786
+ /**
1787
+ * Renders a floating label for the DropDownList.
1788
+ */
1789
+ label?: string;
1790
+ /**
1791
+ * Configures the popup of the DropDownList.
1792
+ */
1793
+ popupSettings?: DropDownsPopupSettings;
1794
+ /**
1795
+ * Configures the virtual scrolling of the DropDownList ([see example]({% slug virtualization_dropdownlist %})).
1796
+ */
1797
+ virtual?: VirtualizationSettings;
1798
+ /**
1799
+ * If set, the DropDownList will use it to get the focused item index.
1800
+ *
1801
+ * Default functionality returns the first item which starts with the input text.
1802
+ *
1803
+ */
1804
+ focusedItemIndex?: (data: any, inputText: string, textField?: string) => number;
1805
+ /**
1806
+ * Fires each time the popup of the DropDownList is about to open.
1807
+ */
1808
+ onOpen?: (event: DropDownListOpenEvent) => void;
1809
+ /**
1810
+ * Fires each time the popup of the DropDownList is about to close.
1811
+ */
1812
+ onClose?: (event: DropDownListCloseEvent) => void;
1813
+ /**
1814
+ * Fires each time the user focuses the DropDownList.
1815
+ */
1816
+ onFocus?: (event: DropDownListFocusEvent) => void;
1817
+ /**
1818
+ * Fires each time the DropDownList gets blurred.
1819
+ */
1820
+ onBlur?: (event: DropDownListBlurEvent) => void;
1821
+ /**
1822
+ * Fires each time the value of the DropDownList is about to change ([see examples]({% slug binding_dropdownlist %})).
1823
+ */
1824
+ onChange?: (event: DropDownListChangeEvent) => void;
1825
+ /**
1826
+ * Fires each time the user types in the filter input. You can filter the source based on the passed filtration value.
1827
+ */
1828
+ onFilterchange?: (event: DropDownListFilterChangeEvent) => void;
1829
+ /**
1830
+ * Fires when both the virtual scrolling of the DropDownList is enabled and the component requires data for another page ([see example]({% slug virtualization_dropdownlist %})).
1831
+ */
1832
+ onPagechange?: (event: DropDownListPageChangeEvent) => void;
1833
+ /**
1834
+ * 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.
1835
+ */
1836
+ itemRender?: any;
1837
+ /**
1838
+ * 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.
1839
+ */
1840
+ valueRender?: any;
1841
+ /**
1842
+ * 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.
1843
+ */
1844
+ listNoDataRender?: any;
1845
+ /**
1846
+ * Sets the header component of the DropDownList ([see example]({% slug customrendering_dropdownlist %}#toc-headers-and-footers)).
1847
+ */
1848
+ header?: any;
1849
+ /**
1850
+ * Sets the footer component of the DropDownList ([see example]({% slug customrendering_dropdownlist %}#toc-headers-and-footers)).
1851
+ */
1852
+ footer?: any;
1853
+ /**
1854
+ * Specifies the `name` property of the `select` DOM element.
1855
+ */
1856
+ name?: string;
1857
+ /**
1858
+ * If set to `false`, the DropDownList will not navigate over its data through left and right keys.
1859
+ * Useful when the DropDownList is placed inside a toolbar which needs to handle left and right keys.
1860
+ */
1861
+ leftRightKeysNavigation?: boolean;
1862
+ /**
1863
+ * Configures the `size` of the DropDownList.
1864
+ *
1865
+ * The available options are:
1866
+ * - small
1867
+ * - medium
1868
+ * - large
1869
+ * - null&mdash;Does not set a size `class`.
1870
+ *
1871
+ * @default `medium`
1872
+ */
1873
+ size?: null | 'small' | 'medium' | 'large' | string;
1874
+ /**
1875
+ * Configures the `roundness` of the DropDownList.
1876
+ *
1877
+ * The available options are:
1878
+ * - small
1879
+ * - medium
1880
+ * - large
1881
+ * - full
1882
+ * - null&mdash;Does not set a rounded `class`.
1883
+ *
1884
+ * @default `medium`
1885
+ */
1886
+ rounded?: null | 'small' | 'medium' | 'large' | 'full' | string;
1887
+ /**
1888
+ * Configures the `fillMode` of the DropDownList.
1889
+ *
1890
+ * The available options are:
1891
+ * - solid
1892
+ * - outline
1893
+ * - flat
1894
+ * - null&mdash;Does not set a fillMode `class`.
1895
+ *
1896
+ * @default `solid`
1897
+ */
1898
+ fillMode?: null | 'solid' | 'outline' | 'flat' | string;
1899
+ /**
1900
+ * Sets the data item field that represents the start of a group. Applicable to objects data.
1901
+ */
1902
+ groupField?: string;
1903
+ /**
1904
+ * Fires when a DropDownList group header item is about to be rendered. Used to override the default appearance of the group's headers.
1905
+ */
1906
+ groupHeaderItemRender?: any;
1907
+ /**
1908
+ * 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.
1909
+ */
1910
+ groupStickyHeaderItemRender?: any;
1911
+ /**
1912
+ * Provides different rendering of the popup element based on the screen dimensions ([see example]({% slug adaptive_rendering_dropdownlist %})).
1913
+ */
1914
+ adaptive?: boolean;
1915
+ /**
1916
+ * Specifies the text that is rendered as title in the adaptive popup ([see example]({% slug adaptive_rendering_dropdownlist %})).
1917
+ */
1918
+ adaptiveTitle?: string;
1919
+ }
1920
+
1921
+ /**
1922
+ * The settings of the popup container.
1923
+ */
1924
+ export declare interface DropDownsPopupSettings extends PopupSettings {
1925
+ /**
1926
+ * Controls the popup animation. By default, the open and close animations are enabled.
1927
+ */
1928
+ animate?: boolean | PopupAnimation;
1929
+ /**
1930
+ * Specifies a list of CSS classes that will be added to the Popup element.
1931
+ */
1932
+ className?: string | Array<string>;
1933
+ /**
1934
+ * Sets the width of the popup container. By default, the width of the host element is used.
1935
+ */
1936
+ width?: string;
1937
+ /**
1938
+ * Sets the height of the popup container. By default, the height is 200px.
1939
+ */
1940
+ height?: string;
1941
+ /**
1942
+ * Sets the styles that will be added to the popup element.
1943
+ */
1944
+ popupStyle?: string;
1945
+ }
1946
+
1947
+ /**
1948
+ * @hidden
1949
+ */
1950
+ declare interface DropDownStateBase {
1951
+ /**
1952
+ * Input element text of the Component.
1953
+ */
1954
+ text?: string;
1955
+ value?: any;
1956
+ focused?: boolean;
1957
+ opened?: boolean;
1958
+ group?: string;
1959
+ currentText?: string;
1960
+ currentFocused?: boolean;
1961
+ currentOpened?: boolean;
1962
+ focusedItem?: any;
1963
+ }
1964
+
1965
+ /**
1966
+ * @hidden
1967
+ */
1968
+ export declare const DropDownTree: DefineComponent<ExtractPropTypes< {
1969
+ opened: {
1970
+ type: PropType<boolean>;
1971
+ default: any;
1972
+ };
1973
+ disabled: PropType<boolean>;
1974
+ dir: PropType<string>;
1975
+ tabIndex: PropType<number>;
1976
+ accessKey: PropType<string>;
1977
+ dataItems: {
1978
+ type: PropType<any[]>;
1979
+ default: () => any[];
1980
+ };
1981
+ value: {
1982
+ type: PropType<any>;
1983
+ default: () => any;
1984
+ };
1985
+ modelValue: {
1986
+ type: PropType<any>;
1987
+ default: () => any;
1988
+ };
1989
+ valueMap: PropType<(value: any) => any>;
1990
+ placeholder: PropType<string>;
1991
+ dataItemKey: {
1992
+ type: PropType<string>;
1993
+ required: true;
1994
+ };
1995
+ textField: {
1996
+ type: PropType<string>;
1997
+ required: true;
1998
+ };
1999
+ selectField: {
2000
+ type: PropType<string>;
2001
+ default: string;
2002
+ };
2003
+ expandField: PropType<string>;
2004
+ subItemsField: {
2005
+ type: PropType<string>;
2006
+ default: string;
2007
+ };
2008
+ className: PropType<string>;
2009
+ label: PropType<string>;
2010
+ validationMessage: PropType<string>;
2011
+ validityStyles: {
2012
+ type: PropType<boolean>;
2013
+ default: boolean;
2014
+ };
2015
+ valid: {
2016
+ type: PropType<boolean>;
2017
+ default: any;
2018
+ };
2019
+ required: PropType<boolean>;
2020
+ name: PropType<string>;
2021
+ id: PropType<string>;
2022
+ ariaLabel: {
2023
+ type: PropType<string>;
2024
+ default: any;
2025
+ };
2026
+ ariaLabelledBy: PropType<string>;
2027
+ ariaDescribedBy: PropType<string>;
2028
+ filterable: PropType<boolean>;
2029
+ filter: PropType<string>;
2030
+ loading: PropType<boolean>;
2031
+ popupSettings: {
2032
+ type: PropType<DropDownsPopupSettings>;
2033
+ default: () => {
2034
+ animate: boolean;
2035
+ height: string;
2036
+ anchor: string;
2037
+ };
2038
+ };
2039
+ size: {
2040
+ type: PropType<string>;
2041
+ default: string;
2042
+ validator: (value: any) => any;
2043
+ };
2044
+ rounded: {
2045
+ type: PropType<string>;
2046
+ default: string;
2047
+ validator: (value: any) => any;
2048
+ };
2049
+ fillMode: {
2050
+ type: PropType<string>;
2051
+ default: string;
2052
+ validator: (value: any) => any;
2053
+ };
2054
+ item: PropType<any>;
2055
+ header: PropType<any>;
2056
+ footer: PropType<any>;
2057
+ valueRender: PropType<any>;
2058
+ listNoData: PropType<any>;
2059
+ adaptive: {
2060
+ type: PropType<boolean>;
2061
+ default: any;
2062
+ };
2063
+ adaptiveTitle: {
2064
+ type: PropType<string>;
2065
+ default: any;
2066
+ };
2067
+ }>, {}, {
2068
+ currentOpened: boolean;
2069
+ focused: boolean;
2070
+ filterState: string;
2071
+ currentValue: any;
2072
+ popupWidth: string;
2073
+ windowWidth: number;
2074
+ initialAdaptiveRenderingValues: any;
2075
+ }, {
2076
+ wrapperClass(): {
2077
+ [x: string]: any;
2078
+ [x: number]: any;
2079
+ 'k-dropdowntree': boolean;
2080
+ 'k-picker': boolean;
2081
+ 'k-focus': any;
2082
+ 'k-invalid': boolean;
2083
+ 'k-loading': any;
2084
+ 'k-required': any;
2085
+ 'k-disabled': any;
2086
+ };
2087
+ animationStyles(): object | undefined;
2088
+ classNameAdaptive(): string;
2089
+ adaptiveState(): any;
2090
+ isOpen(): any;
2091
+ computedValue(): any;
2092
+ hasValue(): boolean;
2093
+ currentValueText(): any;
2094
+ }, {
2095
+ calculateMedia(entries: ResizeObserverEntry[]): void;
2096
+ calculatePopupWidth(): void;
2097
+ focus(): void;
2098
+ setValidity(): void;
2099
+ openPopup(event: DropdownEvent): void;
2100
+ closePopup(event: DropdownEvent): void;
2101
+ onWrapperClick(event: any): void;
2102
+ switchFocus(focusFn: () => void): void;
2103
+ onWrapperKeyDown(event: any): any;
2104
+ onInputKeyDown(event: KeyboardEvent): void;
2105
+ focusElement(element: HTMLElement | null): void;
2106
+ onPopupOpened(): void;
2107
+ onPopupClosed(): void;
2108
+ onFocus(event: any): void;
2109
+ onBlur(event: any): void;
2110
+ onWrapperMouseDown(): void;
2111
+ changeValue(event: DropdownEvent, newValue: any, hierarchicalIndex?: string): void;
2112
+ onChange(e: TreeViewItemClickEvent): void;
2113
+ onClear(event: any): void;
2114
+ onExpand(e: TreeViewExpandChangeEvent): void;
2115
+ onFilterChange(event: any): void;
2116
+ }, ComponentOptionsMixin, ComponentOptionsMixin, {
2117
+ open: any;
2118
+ close: any;
2119
+ focus: any;
2120
+ blur: any;
2121
+ change: any;
2122
+ filterchange: any;
2123
+ expandchange: any;
2124
+ changemodel: any;
2125
+ 'update:modelValue': any;
2126
+ }, string, PublicProps, Readonly<ExtractPropTypes< {
2127
+ opened: {
2128
+ type: PropType<boolean>;
2129
+ default: any;
2130
+ };
2131
+ disabled: PropType<boolean>;
2132
+ dir: PropType<string>;
2133
+ tabIndex: PropType<number>;
2134
+ accessKey: PropType<string>;
2135
+ dataItems: {
2136
+ type: PropType<any[]>;
2137
+ default: () => any[];
2138
+ };
2139
+ value: {
2140
+ type: PropType<any>;
2141
+ default: () => any;
2142
+ };
2143
+ modelValue: {
2144
+ type: PropType<any>;
2145
+ default: () => any;
2146
+ };
2147
+ valueMap: PropType<(value: any) => any>;
2148
+ placeholder: PropType<string>;
2149
+ dataItemKey: {
2150
+ type: PropType<string>;
2151
+ required: true;
2152
+ };
2153
+ textField: {
2154
+ type: PropType<string>;
2155
+ required: true;
2156
+ };
2157
+ selectField: {
2158
+ type: PropType<string>;
2159
+ default: string;
2160
+ };
2161
+ expandField: PropType<string>;
2162
+ subItemsField: {
2163
+ type: PropType<string>;
2164
+ default: string;
2165
+ };
2166
+ className: PropType<string>;
2167
+ label: PropType<string>;
2168
+ validationMessage: PropType<string>;
2169
+ validityStyles: {
2170
+ type: PropType<boolean>;
2171
+ default: boolean;
2172
+ };
2173
+ valid: {
2174
+ type: PropType<boolean>;
2175
+ default: any;
2176
+ };
2177
+ required: PropType<boolean>;
2178
+ name: PropType<string>;
2179
+ id: PropType<string>;
2180
+ ariaLabel: {
2181
+ type: PropType<string>;
2182
+ default: any;
2183
+ };
2184
+ ariaLabelledBy: PropType<string>;
2185
+ ariaDescribedBy: PropType<string>;
2186
+ filterable: PropType<boolean>;
2187
+ filter: PropType<string>;
2188
+ loading: PropType<boolean>;
2189
+ popupSettings: {
2190
+ type: PropType<DropDownsPopupSettings>;
2191
+ default: () => {
2192
+ animate: boolean;
2193
+ height: string;
2194
+ anchor: string;
2195
+ };
2196
+ };
2197
+ size: {
2198
+ type: PropType<string>;
2199
+ default: string;
2200
+ validator: (value: any) => any;
2201
+ };
2202
+ rounded: {
2203
+ type: PropType<string>;
2204
+ default: string;
2205
+ validator: (value: any) => any;
2206
+ };
2207
+ fillMode: {
2208
+ type: PropType<string>;
2209
+ default: string;
2210
+ validator: (value: any) => any;
2211
+ };
2212
+ item: PropType<any>;
2213
+ header: PropType<any>;
2214
+ footer: PropType<any>;
2215
+ valueRender: PropType<any>;
2216
+ listNoData: PropType<any>;
2217
+ adaptive: {
2218
+ type: PropType<boolean>;
2219
+ default: any;
2220
+ };
2221
+ adaptiveTitle: {
2222
+ type: PropType<string>;
2223
+ default: any;
2224
+ };
2225
+ }>> & Readonly<{
2226
+ onBlur?: (...args: any[] | unknown[]) => any;
2227
+ onChange?: (...args: any[] | unknown[]) => any;
2228
+ onClose?: (...args: any[] | unknown[]) => any;
2229
+ onFocus?: (...args: any[] | unknown[]) => any;
2230
+ onOpen?: (...args: any[] | unknown[]) => any;
2231
+ onChangemodel?: (...args: any[] | unknown[]) => any;
2232
+ "onUpdate:modelValue"?: (...args: any[] | unknown[]) => any;
2233
+ onFilterchange?: (...args: any[] | unknown[]) => any;
2234
+ onExpandchange?: (...args: any[] | unknown[]) => any;
2235
+ }>, {
2236
+ value: any;
2237
+ ariaLabel: string;
2238
+ size: string;
2239
+ rounded: string;
2240
+ fillMode: string;
2241
+ dataItems: any[];
2242
+ opened: boolean;
2243
+ popupSettings: DropDownsPopupSettings;
2244
+ modelValue: any;
2245
+ valid: boolean;
2246
+ validityStyles: boolean;
2247
+ adaptive: boolean;
2248
+ adaptiveTitle: string;
2249
+ selectField: string;
2250
+ subItemsField: string;
2251
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2252
+
2253
+ /**
2254
+ * Represents the object of the `onBlur` DropDownTree event.
2255
+ */
2256
+ export declare interface DropDownTreeBlurEvent extends BlurEvent {
2257
+ }
2258
+
2259
+ /**
2260
+ * Represents the object of the `onChange` DropDownTree event.
2261
+ */
2262
+ export declare interface DropDownTreeChangeEvent extends ChangeEvent {
2263
+ level: number[];
2264
+ }
2265
+
2266
+ /**
2267
+ * Represents the object of the `onClose` DropDownTree event.
2268
+ */
2269
+ export declare interface DropDownTreeCloseEvent extends CloseEvent_2 {
2270
+ }
2271
+
2272
+ /**
2273
+ * Represents the object of the `onExpandChange` DropDownTree event.
2274
+ */
2275
+ export declare interface DropDownTreeExpandEvent extends DropdownEvent {
2276
+ item: any;
2277
+ level: number[];
2278
+ }
2279
+
2280
+ /**
2281
+ * Represents the object of the `onFilterChange` DropDownTree event.
2282
+ */
2283
+ export declare interface DropDownTreeFilterChangeEvent extends FilterChangeEvent {
2284
+ }
2285
+
2286
+ /**
2287
+ * Represents the object of the `onFocus` DropDownTree event.
2288
+ */
2289
+ export declare interface DropDownTreeFocusEvent extends FocusEvent_2 {
2290
+ }
2291
+
2292
+ /**
2293
+ * Represents the Object which is passed to the
2294
+ */
2295
+ export declare interface DropDownTreeHandle {
2296
+ /**
2297
+ * The current element or `null` if there is no one.
2298
+ */
2299
+ element: HTMLElement | null;
2300
+ /**
2301
+ * The props of the DropDownTree component.
2302
+ */
2303
+ props: DropDownTreeProps;
2304
+ /**
2305
+ * The focus function.
2306
+ */
2307
+ focus: () => void;
2308
+ }
2309
+
2310
+ /**
2311
+ * Represents the object of the `onOpen` DropDownTree event.
2312
+ */
2313
+ export declare interface DropDownTreeOpenEvent extends OpenEvent {
2314
+ }
2315
+
2316
+ /**
2317
+ * Represents the props of the [KendoReact DropDownTree component]({% slug overview_dropdowntree %}).
2318
+ */
2319
+ export declare interface DropDownTreeProps extends FormComponentProps {
2320
+ /**
2321
+ * Sets the data of the DropDownTree ([see example]({% slug overview_dropdowntree %})).
2322
+ */
2323
+ dataItems?: any[];
2324
+ /**
2325
+ * Sets the opened state of the DropDownTree.
2326
+ */
2327
+ opened?: boolean;
2328
+ /**
2329
+ * Sets the value of the DropDownTree ([see example]({% slug overview_dropdowntree %})).
2330
+ * It can be an object from the data-tree.
2331
+ */
2332
+ value?: any;
2333
+ modelValue?: any;
2334
+ /**
2335
+ * The hint that is displayed when the DropDownTree is empty.
2336
+ */
2337
+ placeholder?: string;
2338
+ /**
2339
+ * Sets the key for comparing the data items of the DropDownTree ([see example]({% slug overview_dropdowntree %})).
2340
+ * If `dataItemKey` is not set, the DropDownTree compares the items by reference.
2341
+ */
2342
+ dataItemKey: string;
2343
+ /**
2344
+ * Sets additional classes to the DropDownTree.
2345
+ */
2346
+ className?: string;
2347
+ /**
2348
+ * Sets the disabled state of the DropDownTree.
2349
+ */
2350
+ disabled?: boolean;
2351
+ /**
2352
+ * Represents the `dir` HTML attribute.
2353
+ */
2354
+ dir?: string;
2355
+ /**
2356
+ * Renders a floating label for the DropDownTree.
2357
+ */
2358
+ label?: string;
2359
+ /**
2360
+ * Specifies the id of the component.
2361
+ */
2362
+ id?: string;
2363
+ /**
2364
+ * 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).
2365
+ * For example these elements could contain error or hint message.
2366
+ */
2367
+ ariaDescribedBy?: string;
2368
+ /**
2369
+ * Identifies the element(s) which will label the component.
2370
+ */
2371
+ ariaLabelledBy?: string;
2372
+ /**
2373
+ * Defines the [aria-label](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-label) attribute of the component.
2374
+ */
2375
+ ariaLabel?: string;
2376
+ /**
2377
+ * Enables the filtering functionality of the DropDownTree ([more information and examples]({% slug filtering_dropdowntree %})).
2378
+ */
2379
+ filterable?: boolean;
2380
+ /**
2381
+ * Sets the value of filtering input.
2382
+ * Useful for making the filtering input a controlled component.
2383
+ */
2384
+ filter?: string;
2385
+ /**
2386
+ * Sets the loading state of the DropDownTree ([see example]({% slug filtering_dropdowntree %}#toc-visualize-filtering)).
2387
+ */
2388
+ loading?: boolean;
2389
+ /**
2390
+ * Specifies the `tabIndex` of the DropDownTree.
2391
+ */
2392
+ tabIndex?: number;
2393
+ /**
2394
+ * Specifies the `accessKey` of the DropDownTree.
2395
+ */
2396
+ accessKey?: string;
2397
+ /**
2398
+ * Sets the data item field that represents the item text ([see example]({% slug overview_dropdowntree %})).
2399
+ */
2400
+ textField: string;
2401
+ /**
2402
+ * Specifies the name of the field which will provide a Boolean representation of the selected state of the item.
2403
+ */
2404
+ selectField?: string;
2405
+ /**
2406
+ * Specifies the name of the field which will provide a Boolean representation of the expanded state of the item.
2407
+ */
2408
+ expandField?: string;
2409
+ /**
2410
+ * Specifies the name of the field which will provide an array representation of the item subitems.
2411
+ * Defaults to 'items'.
2412
+ */
2413
+ subItemsField?: string;
2414
+ /**
2415
+ * Configures the popup of the DropDownTree.
2416
+ */
2417
+ popupSettings?: DropDownsPopupSettings;
2418
+ /**
2419
+ * Represents a callback function, which returns the value for submitting. The returned value will be rendered in an `option` of a hidden `select`.
2420
+ *
2421
+ * @example
2422
+ * ```jsx-no-run
2423
+ * class App extends React.Component {
2424
+ * render() {
2425
+ * return (
2426
+ * <form>
2427
+ * <DropDownTree
2428
+ * data={[ { text: "Austria", id: 1 } , { text: "Belarus", id: 2 } ]}
2429
+ * valueMap={value => value && value.id}
2430
+ * />
2431
+ * <button type="submit">Submit</button>
2432
+ * </form>
2433
+ * );
2434
+ * }
2435
+ * }
2436
+ * ReactDOM.render(<App />, document.querySelector('my-app'));
2437
+ * ```
2438
+ */
2439
+ valueMap?: (value: any) => any;
2440
+ /**
2441
+ * Fires each time the popup of the DropDownTree is about to open.
2442
+ */
2443
+ onOpen?: (event: DropDownTreeOpenEvent) => void;
2444
+ /**
2445
+ * Fires each time the popup of the DropDownTree is about to close.
2446
+ */
2447
+ onClose?: (event: DropDownTreeCloseEvent) => void;
2448
+ /**
2449
+ * Fires each time the user focuses the DropDownTree.
2450
+ */
2451
+ onFocus?: (event: DropDownTreeFocusEvent) => void;
2452
+ /**
2453
+ * Fires each time the DropDownTree gets blurred.
2454
+ */
2455
+ onBlur?: (event: DropDownTreeBlurEvent) => void;
2456
+ /**
2457
+ * Fires each time the value of the DropDownTree is about to change ([see examples]({% slug overview_dropdowntree %})).
2458
+ */
2459
+ onChange?: (event: DropDownTreeChangeEvent) => void;
2460
+ /**
2461
+ * Fires each time the user types in the filter input
2462
+ * ([see example]({% slug filtering_dropdowntree %}#toc-basic-configuration)).
2463
+ * You can filter the source based on the passed filtration value.
2464
+ */
2465
+ onFilterChange?: (event: DropDownTreeFilterChangeEvent) => void;
2466
+ /**
2467
+ * Fires when the expanding or collapsing of an item is requested ([see examples]({% slug overview_dropdowntree %})).
2468
+ */
2469
+ onExpandChange?: (event: any) => void;
2470
+ /**
2471
+ * Defines the slot that will be used for rendering each of the DropDownTree items
2472
+ * ([see example]({% slug customrendering_dropdowntree %}#toc-items-and-value-element)).
2473
+ */
2474
+ item?: any;
2475
+ /**
2476
+ * Defines the slot that will be used for rendering the selected value
2477
+ * ([see example]({% slug customrendering_dropdowntree %}#toc-items-and-value-element)).
2478
+ */
2479
+ valueRender?: any;
2480
+ /**
2481
+ * Defines the slot that will be used for header
2482
+ * ([see example]({% slug customrendering_dropdowntree %}#toc-items-and-value-element)).
2483
+ */
2484
+ header?: any;
2485
+ /**
2486
+ * Defines the slot that will be used for footer
2487
+ * ([see example]({% slug customrendering_dropdowntree %}#toc-items-and-value-element)).
2488
+ */
2489
+ footer?: any;
2490
+ /**
2491
+ * Defines the slot that will be rendered in the DropDownTree popup when no data is available
2492
+ * ([see example]({% slug customrendering_dropdowntree %}#toc-no-data)).
2493
+ */
2494
+ listNoData?: any;
2495
+ /**
2496
+ * Configures the `size` of the DropDownTree.
2497
+ *
2498
+ * The available options are:
2499
+ * - small
2500
+ * - medium
2501
+ * - large
2502
+ * - null&mdash;Does not set a size `className`.
2503
+ *
2504
+ * @default `medium`
2505
+ */
2506
+ size?: null | 'small' | 'medium' | 'large' | string;
2507
+ /**
2508
+ * Configures the `roundness` of the DropDownTree.
2509
+ *
2510
+ * The available options are:
2511
+ * - small
2512
+ * - medium
2513
+ * - large
2514
+ * - full
2515
+ * - null&mdash;Does not set a rounded `className`.
2516
+ *
2517
+ * @default `medium`
2518
+ */
2519
+ rounded?: null | 'small' | 'medium' | 'large' | 'full' | string;
2520
+ /**
2521
+ * Configures the `fillMode` of the DropDownTree.
2522
+ *
2523
+ * The available options are:
2524
+ * - solid
2525
+ * - flat
2526
+ * - outline
2527
+ * - null&mdash;Does not set a fillMode `className`.
2528
+ *
2529
+ * @default `solid`
2530
+ */
2531
+ fillMode?: null | 'solid' | 'flat' | 'outline' | string;
2532
+ /**
2533
+ * Provides different rendering of the popup element based on the screen dimensions.
2534
+ */
2535
+ adaptive?: boolean;
2536
+ /**
2537
+ * Specifies the text that is rendered as title in the adaptive popup.
2538
+ */
2539
+ adaptiveTitle?: string;
2540
+ }
2541
+
2542
+ /**
2543
+ * @hidden
2544
+ */
2545
+ declare interface EventData {
2546
+ type?: string;
2547
+ filter?: FilterDescriptor;
2548
+ page?: Page;
2549
+ suggestion?: Suggestion;
2550
+ }
2551
+
2552
+ /**
2553
+ * @hidden
2554
+ */
2555
+ declare interface FilterChangeEvent extends DropdownEvent {
2556
+ /**
2557
+ * A native event.
2558
+ */
2559
+ event: any;
2560
+ /**
2561
+ * The default `FilterDescriptor` object.
2562
+ */
2563
+ filter: FilterDescriptor;
2564
+ }
2565
+
2566
+ /**
2567
+ * A basic filter expression. Usually a part of [`CompositeFilterDescriptor`]({% slug api_kendo-data-query_compositefilterdescriptor %}).
2568
+ *
2569
+ * For more information, refer to the [`filterBy`]({% slug api_kendo-data-query_filterby %}) method.
2570
+ */
2571
+ declare interface FilterDescriptor {
2572
+ /**
2573
+ * The field of the data item to which the filter operator is applied.
2574
+ */
2575
+ field?: string | Function;
2576
+ /**
2577
+ * The filter operator (comparison).
2578
+ *
2579
+ * The supported operators are:
2580
+ * * `"eq"` (equal to)
2581
+ * * `"neq"` (not equal to)
2582
+ * * `"isnull"` (is equal to null)
2583
+ * * `"isnotnull"` (is not equal to null)
2584
+ * * `"lt"` (less than)
2585
+ * * `"lte"` (less than or equal to)
2586
+ * * `"gt"` (greater than)
2587
+ * * `"gte"` (greater than or equal to)
2588
+ *
2589
+ * The following operators are supported for string fields only:
2590
+ * * `"startswith"`
2591
+ * * `"endswith"`
2592
+ * * `"contains"`
2593
+ * * `"doesnotcontain"`
2594
+ * * `"isempty"`
2595
+ * * `"isnotempty"`
2596
+ */
2597
+ operator: string | Function;
2598
+ /**
2599
+ * The value to which the field is compared. Has to be of the same type as the field.
2600
+ */
2601
+ value?: any;
2602
+ /**
2603
+ * Determines if the string comparison is case-insensitive.
2604
+ */
2605
+ ignoreCase?: boolean;
2606
+ }
2607
+
2608
+ declare enum FocusedItemType {
2609
+ None = 0,
2610
+ ListItem = 1,
2611
+ CustomItem = 2
2612
+ }
2613
+
2614
+ /**
2615
+ * @hidden
2616
+ */
2617
+ declare interface FocusEvent_2 extends DropdownEvent {
2618
+ }
2619
+
2620
+ export { FormComponentValidity }
2621
+
2622
+ /**
2623
+ * Get MultiSelectTree new value from the component `onChange` event.
2624
+ *
2625
+ * @param {any[]} data
2626
+ * @param {object} options
2627
+ * @returns {any[]}
2628
+ */
2629
+ export declare const getMultiSelectTreeValue: (data: any[], options: {
2630
+ subItemsField?: string;
2631
+ dataItemKey: string;
2632
+ items: any;
2633
+ value: Array<any>;
2634
+ operation: MultiSelectTreeChangeEventOperation;
2635
+ }) => any[];
2636
+
2637
+ /** @hidden */
2638
+ export declare const getValueMap: (value: any[], idGetter: any) => any;
2639
+
2640
+ /**
2641
+ * @hidden
2642
+ */
2643
+ declare interface InternalState {
2644
+ data: DropDownStateBase;
2645
+ events: Array<EventData>;
2646
+ event: any;
2647
+ }
2648
+
2649
+ /**
2650
+ * The props of component that will be used for rendering each of the DropDownTree items
2651
+ * ([see example]({% slug customrendering_dropdowntree %}#toc-items-and-value-element)).
2652
+ */
2653
+ export declare interface ItemProps extends ItemRenderProps {
2654
+ }
2655
+
2656
+ declare interface ListFocusedState {
2657
+ focusedItem?: any;
2658
+ focusedIndex: number;
2659
+ focusedType: FocusedItemType;
2660
+ }
2661
+
2662
+ /**
2663
+ * Represents the props of the ListItem component.
2664
+ */
2665
+ export declare interface ListItemProps {
2666
+ /**
2667
+ * Specifies the id that will be added to the list item element.
2668
+ */
2669
+ id?: string;
2670
+ /**
2671
+ * Represents the index of the list item element.
2672
+ */
2673
+ index: number;
2674
+ /**
2675
+ * Represents the data item of the list item element.
2676
+ */
2677
+ dataItem: any;
2678
+ /**
2679
+ * Sets the data item field that represents the item text. If the data contains only primitive values, do not define it.
2680
+ */
2681
+ textField?: string;
2682
+ /**
2683
+ * Indicates the focused state of the list item element.
2684
+ */
2685
+ focused: boolean;
2686
+ /**
2687
+ * Indicates the selected state of the list item element.
2688
+ */
2689
+ selected: boolean;
2690
+ /**
2691
+ * Fires when the list item is about to be rendered. Used to override the default appearance of the list item.
2692
+ */
2693
+ render?: any;
2694
+ /**
2695
+ * The `onClick` event handler of the list item element.
2696
+ */
2697
+ onItemClick?: (index: number, event: any) => void;
2698
+ }
2699
+
2700
+ /**
2701
+ * The props of the `ListNoData` component ([see example]({% slug customrendering_dropdowntree %}#toc-no-data)).
2702
+ */
2703
+ export declare interface ListNoDataProps {
2704
+ }
2705
+
2706
+ /**
2707
+ * @hidden
2708
+ */
2709
+ export declare const MultiSelect: DefineComponent<ExtractPropTypes< {
2710
+ autoClose: {
2711
+ type: PropType<boolean>;
2712
+ default: boolean;
2713
+ };
2714
+ removeTagIcon: PropType<string>;
2715
+ allowCustom: PropType<boolean>;
2716
+ modelValue: PropType<any>;
2717
+ opened: {
2718
+ type: PropType<boolean>;
2719
+ default: any;
2720
+ };
2721
+ disabled: PropType<boolean>;
2722
+ dir: PropType<string>;
2723
+ tabIndex: {
2724
+ type: PropType<number>;
2725
+ default: number;
2726
+ };
2727
+ accessKey: PropType<string>;
2728
+ dataItems: PropType<any[]>;
2729
+ textField: PropType<string>;
2730
+ label: PropType<string>;
2731
+ loading: PropType<boolean>;
2732
+ name: PropType<string>;
2733
+ value: PropType<any[]>;
2734
+ defaultValue: PropType<any[]>;
2735
+ valueField: PropType<string>;
2736
+ valuePrimitive: PropType<boolean>;
2737
+ dataItemKey: PropType<string>;
2738
+ placeholder: PropType<string>;
2739
+ tags: PropType<MultiSelectTagData[]>;
2740
+ required: {
2741
+ type: PropType<boolean>;
2742
+ default: boolean;
2743
+ };
2744
+ valid: {
2745
+ type: PropType<boolean>;
2746
+ default: any;
2747
+ };
2748
+ validate: {
2749
+ type: PropType<boolean>;
2750
+ };
2751
+ validationMessage: {
2752
+ type: PropType<string>;
2753
+ default: any;
2754
+ };
2755
+ validityStyles: {
2756
+ type: PropType<boolean>;
2757
+ default: boolean;
2758
+ };
2759
+ tagRender: PropType<any>;
2760
+ id: PropType<string>;
2761
+ popupSettings: {
2762
+ type: PropType<DropDownsPopupSettings>;
2763
+ default: () => {
2764
+ animate: boolean;
2765
+ height: string;
2766
+ anchor: string;
2767
+ };
2768
+ };
2769
+ itemRender: PropType<any>;
2770
+ groupHeaderItemRender: PropType<any>;
2771
+ groupStickyHeaderItemRender: PropType<any>;
2772
+ listNoDataRender: PropType<any>;
2773
+ focusedItemIndex: PropType<(data: any, inputText: string, textField?: string) => number>;
2774
+ virtual: {
2775
+ type: PropType<VirtualizationSettings>;
2776
+ default: any;
2777
+ };
2778
+ header: PropType<any>;
2779
+ footer: PropType<any>;
2780
+ filterable: PropType<boolean>;
2781
+ filter: {
2782
+ type: PropType<string>;
2783
+ default: any;
2784
+ };
2785
+ ariaLabel: {
2786
+ type: PropType<string>;
2787
+ default: any;
2788
+ };
2789
+ ariaLabelledBy: PropType<string>;
2790
+ ariaDescribedBy: PropType<string>;
2791
+ rounded: {
2792
+ type: PropType<string>;
2793
+ default: string;
2794
+ validator: (value: string) => any;
2795
+ };
2796
+ tagsRounded: {
2797
+ type: PropType<string>;
2798
+ default: string;
2799
+ validator: (value: string) => any;
2800
+ };
2801
+ fillMode: {
2802
+ type: PropType<string>;
2803
+ default: string;
2804
+ validator: (value: string) => any;
2805
+ };
2806
+ size: {
2807
+ type: PropType<string>;
2808
+ default: string;
2809
+ validator: (value: string) => any;
2810
+ };
2811
+ groupField: {
2812
+ type: PropType<string>;
2813
+ };
2814
+ adaptive: {
2815
+ type: PropType<boolean>;
2816
+ default: any;
2817
+ };
2818
+ adaptiveTitle: {
2819
+ type: PropType<string>;
2820
+ default: any;
2821
+ };
2822
+ }>, {
2823
+ inputRef: Ref<any, any>;
2824
+ kendoAnchorRef: Ref<any, any>;
2825
+ kendoLocalizationService: {};
2826
+ }, {
2827
+ hasMounted: boolean;
2828
+ currentText: string;
2829
+ currentValue: string;
2830
+ currentFocused: boolean;
2831
+ currentOpened: boolean;
2832
+ currentFocusedIndex: any;
2833
+ currentFocusedTag: any;
2834
+ searchState: {
2835
+ word: string;
2836
+ last: string;
2837
+ };
2838
+ suggested: string;
2839
+ activedescendant: ActiveDescendant;
2840
+ group: any;
2841
+ isScrolling: boolean;
2842
+ itemHeight: number;
2843
+ windowWidth: number;
2844
+ popupWidth: any;
2845
+ initialAdaptiveRenderingValues: any;
2846
+ }, {
2847
+ spanClassNames(): object;
2848
+ isOpen(): boolean;
2849
+ animationStyles(): object | undefined;
2850
+ classNameAdaptive(): string;
2851
+ adaptiveState(): any;
2852
+ }, {
2853
+ clearFilter(state: MultiSelectInternalState): void;
2854
+ computedValue(): any;
2855
+ findByFieldValue(field: string, result: Array<any>): any[];
2856
+ primitiveValue(): any;
2857
+ validity(): FormComponentValidity;
2858
+ handleItemSelect(index: number, state: MultiSelectInternalState): void;
2859
+ onTagDelete(itemsToRemove: Array<any>, event: any): void;
2860
+ onNavigate(state: MultiSelectInternalState, keyCode: number): void;
2861
+ itemFocus(index: number, state: MultiSelectInternalState): void;
2862
+ searchBarRef(): void;
2863
+ onChangeHandler(event: any): void;
2864
+ clearButtonClick(event: any): void;
2865
+ onInputKeyDown(event: any): any;
2866
+ onTagsNavigate(event: any, state: MultiSelectInternalState): void;
2867
+ triggerOnChange(items: Array<any>, state: MultiSelectInternalState): void;
2868
+ selectFocusedItem(event: any): void;
2869
+ setItems(srcItems: Array<any>, destItems: Array<any>): void;
2870
+ getFocusedState(): ListFocusedState;
2871
+ customItemSelect(event: any): void;
2872
+ handleWrapperClick(event: MouseEvent): void;
2873
+ onCancel(event: MouseEvent): void;
2874
+ handleItemClick(index: number, event: any): void;
2875
+ handleBlur(event: any): void;
2876
+ handleFocus(event: any): void;
2877
+ onPopupOpened(): void;
2878
+ onPopupClosed(): void;
2879
+ focusElement(element: any): void;
2880
+ applyState(state: MultiSelectInternalState): void;
2881
+ setValidity(): void;
2882
+ focus(): void;
2883
+ calculateMedia(entries: ResizeObserverEntry[]): void;
2884
+ repositionPopup(): void;
2885
+ onScroll(event: any): void;
2886
+ }, ComponentOptionsMixin, ComponentOptionsMixin, {
2887
+ changemodel: any;
2888
+ 'update:modelValue': any;
2889
+ filterchange: any;
2890
+ change: any;
2891
+ pagechange: any;
2892
+ focus: any;
2893
+ blur: any;
2894
+ open: any;
2895
+ close: any;
2896
+ scroll: any;
2897
+ }, string, PublicProps, Readonly<ExtractPropTypes< {
2898
+ autoClose: {
2899
+ type: PropType<boolean>;
2900
+ default: boolean;
2901
+ };
2902
+ removeTagIcon: PropType<string>;
2903
+ allowCustom: PropType<boolean>;
2904
+ modelValue: PropType<any>;
2905
+ opened: {
2906
+ type: PropType<boolean>;
2907
+ default: any;
2908
+ };
2909
+ disabled: PropType<boolean>;
2910
+ dir: PropType<string>;
2911
+ tabIndex: {
2912
+ type: PropType<number>;
2913
+ default: number;
2914
+ };
2915
+ accessKey: PropType<string>;
2916
+ dataItems: PropType<any[]>;
2917
+ textField: PropType<string>;
2918
+ label: PropType<string>;
2919
+ loading: PropType<boolean>;
2920
+ name: PropType<string>;
2921
+ value: PropType<any[]>;
2922
+ defaultValue: PropType<any[]>;
2923
+ valueField: PropType<string>;
2924
+ valuePrimitive: PropType<boolean>;
2925
+ dataItemKey: PropType<string>;
2926
+ placeholder: PropType<string>;
2927
+ tags: PropType<MultiSelectTagData[]>;
2928
+ required: {
2929
+ type: PropType<boolean>;
2930
+ default: boolean;
2931
+ };
2932
+ valid: {
2933
+ type: PropType<boolean>;
2934
+ default: any;
2935
+ };
2936
+ validate: {
2937
+ type: PropType<boolean>;
2938
+ };
2939
+ validationMessage: {
2940
+ type: PropType<string>;
2941
+ default: any;
2942
+ };
2943
+ validityStyles: {
2944
+ type: PropType<boolean>;
2945
+ default: boolean;
2946
+ };
2947
+ tagRender: PropType<any>;
2948
+ id: PropType<string>;
2949
+ popupSettings: {
2950
+ type: PropType<DropDownsPopupSettings>;
2951
+ default: () => {
2952
+ animate: boolean;
2953
+ height: string;
2954
+ anchor: string;
2955
+ };
2956
+ };
2957
+ itemRender: PropType<any>;
2958
+ groupHeaderItemRender: PropType<any>;
2959
+ groupStickyHeaderItemRender: PropType<any>;
2960
+ listNoDataRender: PropType<any>;
2961
+ focusedItemIndex: PropType<(data: any, inputText: string, textField?: string) => number>;
2962
+ virtual: {
2963
+ type: PropType<VirtualizationSettings>;
2964
+ default: any;
2965
+ };
2966
+ header: PropType<any>;
2967
+ footer: PropType<any>;
2968
+ filterable: PropType<boolean>;
2969
+ filter: {
2970
+ type: PropType<string>;
2971
+ default: any;
2972
+ };
2973
+ ariaLabel: {
2974
+ type: PropType<string>;
2975
+ default: any;
2976
+ };
2977
+ ariaLabelledBy: PropType<string>;
2978
+ ariaDescribedBy: PropType<string>;
2979
+ rounded: {
2980
+ type: PropType<string>;
2981
+ default: string;
2982
+ validator: (value: string) => any;
2983
+ };
2984
+ tagsRounded: {
2985
+ type: PropType<string>;
2986
+ default: string;
2987
+ validator: (value: string) => any;
2988
+ };
2989
+ fillMode: {
2990
+ type: PropType<string>;
2991
+ default: string;
2992
+ validator: (value: string) => any;
2993
+ };
2994
+ size: {
2995
+ type: PropType<string>;
2996
+ default: string;
2997
+ validator: (value: string) => any;
2998
+ };
2999
+ groupField: {
3000
+ type: PropType<string>;
3001
+ };
3002
+ adaptive: {
3003
+ type: PropType<boolean>;
3004
+ default: any;
3005
+ };
3006
+ adaptiveTitle: {
3007
+ type: PropType<string>;
3008
+ default: any;
3009
+ };
3010
+ }>> & Readonly<{
3011
+ onBlur?: (...args: any[] | unknown[]) => any;
3012
+ onChange?: (...args: any[] | unknown[]) => any;
3013
+ onClose?: (...args: any[] | unknown[]) => any;
3014
+ onFocus?: (...args: any[] | unknown[]) => any;
3015
+ onScroll?: (...args: any[] | unknown[]) => any;
3016
+ onOpen?: (...args: any[] | unknown[]) => any;
3017
+ onChangemodel?: (...args: any[] | unknown[]) => any;
3018
+ "onUpdate:modelValue"?: (...args: any[] | unknown[]) => any;
3019
+ onPagechange?: (...args: any[] | unknown[]) => any;
3020
+ onFilterchange?: (...args: any[] | unknown[]) => any;
3021
+ }>, {
3022
+ filter: string;
3023
+ required: boolean;
3024
+ ariaLabel: string;
3025
+ tabIndex: number;
3026
+ size: string;
3027
+ rounded: string;
3028
+ fillMode: string;
3029
+ opened: boolean;
3030
+ popupSettings: DropDownsPopupSettings;
3031
+ valid: boolean;
3032
+ validationMessage: string;
3033
+ validityStyles: boolean;
3034
+ tagsRounded: string;
3035
+ virtual: VirtualizationSettings;
3036
+ adaptive: boolean;
3037
+ adaptiveTitle: string;
3038
+ autoClose: boolean;
3039
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
3040
+
3041
+ /**
3042
+ * Represents the object of the `blur` MultiSelect event.
3043
+ */
3044
+ export declare interface MultiSelectBlurEvent extends BlurEvent {
3045
+ }
3046
+
3047
+ /**
3048
+ * Represents the object of the `change` MultiSelect event.
3049
+ */
3050
+ export declare interface MultiSelectChangeEvent extends ChangeEvent {
3051
+ }
3052
+
3053
+ /**
3054
+ * Represents the object of the `close` MultiSelect event.
3055
+ */
3056
+ export declare interface MultiSelectCloseEvent extends CloseEvent_2 {
3057
+ }
3058
+
3059
+ /**
3060
+ * @hidden
3061
+ */
3062
+ declare interface MultiSelectData extends DropDownStateBase {
3063
+ hasMounted: boolean;
3064
+ selectedItems?: Array<any>;
3065
+ valuesItemsDuringOnChange?: Array<any> | null;
3066
+ currentText?: string;
3067
+ currentFocusedIndex?: number;
3068
+ currentFocused?: boolean;
3069
+ currentOpened?: boolean;
3070
+ currentFocusedTag?: any;
3071
+ currentValue?: Array<any>;
3072
+ activedescendant?: ActiveDescendant;
3073
+ _skipFocusEvent: boolean;
3074
+ }
3075
+
3076
+ /**
3077
+ * Represents the object of the `filterChange` MultiSelect event.
3078
+ */
3079
+ export declare interface MultiSelectFilterChangeEvent extends FilterChangeEvent {
3080
+ }
3081
+
3082
+ /**
3083
+ * Represents the object of the `focus` MultiSelect event.
3084
+ */
3085
+ export declare interface MultiSelectFocusEvent extends FocusEvent_2 {
3086
+ }
3087
+
3088
+ /**
3089
+ * @hidden
3090
+ */
3091
+ declare interface MultiSelectInternalState extends InternalState {
3092
+ data: MultiSelectData;
3093
+ }
3094
+
3095
+ /**
3096
+ * Represents the object of the `open` MultiSelect event.
3097
+ */
3098
+ export declare interface MultiSelectOpenEvent extends OpenEvent {
3099
+ }
3100
+
3101
+ /**
3102
+ * Represents the object of the `pageChange` MultiSelect event.
3103
+ */
3104
+ export declare interface MultiSelectPageChangeEvent extends PageChangeEvent {
3105
+ }
3106
+
3107
+ /**
3108
+ * Represents the props of the [Kendo UI for Vue MultiSelect component]({% slug overview_multiselect %}).
3109
+ */
3110
+ export declare interface MultiSelectProps extends FormComponentProps {
3111
+ /**
3112
+ * Specifies whether the MultiSelect allows user-defined values that are not present in the dataset ([see example]({% slug custom_values_multiselect %})). Defaults to `false`.
3113
+ */
3114
+ allowCustom?: boolean;
3115
+ /**
3116
+ * Sets the data of the MultiSelect ([see example]({% slug binding_multiselect %})).
3117
+ */
3118
+ dataItems?: any[];
3119
+ /**
3120
+ * Sets the opened and closed state of the MultiSelect.
3121
+ */
3122
+ opened?: boolean;
3123
+ /**
3124
+ * Determines whether to close the options list of the MultiSelect after the item selection is finished.
3125
+ *
3126
+ * @default true
3127
+ */
3128
+ autoClose?: boolean;
3129
+ /**
3130
+ * @hidden
3131
+ */
3132
+ modelValue?: any;
3133
+ /**
3134
+ * Sets the value of the MultiSelect ([see example]({% slug binding_multiselect %})). It can either be of the primitive (string, numbers) or of the complex (objects) type.
3135
+ */
3136
+ value?: Array<any>;
3137
+ /**
3138
+ * Sets the validate of the input.
3139
+ */
3140
+ validate?: boolean;
3141
+ /**
3142
+ * The hint that is displayed when the MultiSelect is empty.
3143
+ */
3144
+ placeholder?: string;
3145
+ /**
3146
+ * Sets the close icon of the tag items.
3147
+ */
3148
+ removeTagIcon?: string;
3149
+ /**
3150
+ * Sets the tags of the MultiSelect ([see example]({% slug customtags_multiselect %})).
3151
+ */
3152
+ tags?: Array<MultiSelectTagData>;
3153
+ /**
3154
+ * Sets the data item field that represents the item value.
3155
+ */
3156
+ valueField?: string;
3157
+ /**
3158
+ * Specifies the type of the selected value. If set to true, the selected value has to be of a primitive value.
3159
+ */
3160
+ valuePrimitive?: boolean;
3161
+ /**
3162
+ * Sets the key for comparing the data items of the MultiSelect ([see example]({% slug binding_multiselect %}#toc-datasets-of-objects)). If `dataItemKey` is not set, the MultiSelect compares the items by reference.
3163
+ */
3164
+ dataItemKey?: string;
3165
+ /**
3166
+ * Sets the default value of the MultiSelect. Similar to the native `select` HTML element.
3167
+ */
3168
+ defaultValue?: Array<any>;
3169
+ /**
3170
+ * Sets the disabled state of the MultiSelect.
3171
+ */
3172
+ disabled?: boolean;
3173
+ /**
3174
+ * Represents the `dir` HTML attribute.
3175
+ */
3176
+ dir?: string;
3177
+ /**
3178
+ * Enables the filtering functionality of the MultiSelect ([more information and examples]({% slug filtering_multiselect %})).
3179
+ */
3180
+ filterable?: boolean;
3181
+ /**
3182
+ * Specifies the id of the component.
3183
+ */
3184
+ id?: string;
3185
+ /**
3186
+ * 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).
3187
+ * For example these elements could contain error or hint message.
3188
+ */
3189
+ ariaDescribedBy?: string;
3190
+ /**
3191
+ * Identifies the element(s) which will label the component.
3192
+ */
3193
+ ariaLabelledBy?: string;
3194
+ /**
3195
+ * Defines the [aria-label](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-label) attribute of the component.
3196
+ */
3197
+ ariaLabel?: string;
3198
+ /**
3199
+ * If set, the MultiSelect will use it to get the focused item index.
3200
+ *
3201
+ * Default functionality returns the first item which starts with the input text.
3202
+ *
3203
+ */
3204
+ focusedItemIndex?: (data: any, inputText: string, textField?: string) => number;
3205
+ /**
3206
+ * Sets the value of filtering input. Useful for making the filtering input a controlled component.
3207
+ */
3208
+ filter?: string;
3209
+ /**
3210
+ * Sets the loading state of the MultiSelect ([see example]({% slug filtering_multiselect %}#toc-basic-configuration)).
3211
+ */
3212
+ loading?: boolean;
3213
+ /**
3214
+ * Specifies the `tabIndex` of the MultiSelect.
3215
+ */
3216
+ tabIndex?: number;
3217
+ /**
3218
+ * Specifies the `accessKey` of the MultiSelect.
3219
+ */
3220
+ accessKey?: string;
3221
+ /**
3222
+ * Sets the data item field that represents the item text ([see example]({% slug binding_multiselect %}#toc-datasets-of-objects)). If the data contains only primitive values, do not define it.
3223
+ */
3224
+ textField?: string;
3225
+ /**
3226
+ * Renders a floating label for the MultiSelect.
3227
+ */
3228
+ label?: string;
3229
+ /**
3230
+ * Configures the popup of the MultiSelect.
3231
+ */
3232
+ popupSettings?: DropDownsPopupSettings;
3233
+ /**
3234
+ * Configures the virtual scrolling of the MultiSelect ([see example]({% slug virtualization_multiselect %})).
3235
+ */
3236
+ virtual?: VirtualizationSettings;
3237
+ /**
3238
+ * Fires each time the popup of the MultiSelect is about to open.
3239
+ */
3240
+ onOpen?: (event: MultiSelectOpenEvent) => void;
3241
+ /**
3242
+ * Fires each time the popup of the MultiSelect is about to close.
3243
+ */
3244
+ onClose?: (event: MultiSelectCloseEvent) => void;
3245
+ /**
3246
+ * Fires each time the user focuses the MultiSelect.
3247
+ */
3248
+ onFocus?: (event: MultiSelectFocusEvent) => void;
3249
+ /**
3250
+ * Fires each time the MultiSelect gets blurred.
3251
+ */
3252
+ onBlur?: (event: MultiSelectBlurEvent) => void;
3253
+ /**
3254
+ * Fires each time the value of the MultiSelect is about to change ([see examples]({% slug binding_multiselect %})).
3255
+ */
3256
+ onChange?: (event: MultiSelectChangeEvent) => void;
3257
+ /**
3258
+ * Fires each time the user types in the filter input ([see example]({% slug filtering_multiselect %}#toc-basic-configuration)). You can filter the source based on the passed filtration value.
3259
+ */
3260
+ onFilterchange?: (event: MultiSelectFilterChangeEvent) => void;
3261
+ /**
3262
+ * Fires when both the virtual scrolling of the MultiSelect is enabled and when the component requires data for another page ([see example]({% slug virtualization_multiselect %})).
3263
+ */
3264
+ onPagechange?: (event: MultiSelectPageChangeEvent) => void;
3265
+ /**
3266
+ * Fires when a MultiSelect item is about to be rendered ([see example]({% slug customrendering_multiselect %}#toc-items)). Used to override the default appearance of the list items.
3267
+ */
3268
+ itemRender?: any;
3269
+ /**
3270
+ * Fires when the element which indicates no data in the popup is about to be rendered ([see example]({% slug customrendering_multiselect %}#toc-no-data)). Used to override the default appearance of the element.
3271
+ */
3272
+ listNoDataRender?: any;
3273
+ /**
3274
+ * Fires when a tag element is about to be rendered ([see example]({% slug customrendering_multiselect %}#toc-tags)). Used to override the default appearance of the element.
3275
+ */
3276
+ tagRender?: any;
3277
+ /**
3278
+ * Sets the header component of the MultiSelect ([see example]({% slug customrendering_multiselect %}#toc-headers-and-footers)).
3279
+ */
3280
+ header?: any;
3281
+ /**
3282
+ * Sets the footer component of the MultiSelect ([see example]({% slug customrendering_multiselect %}#toc-headers-and-footers)).
3283
+ */
3284
+ footer?: any;
3285
+ /**
3286
+ * Configures the `size` of the MultiSelect.
3287
+ *
3288
+ * The available options are:
3289
+ * - small
3290
+ * - medium
3291
+ * - large
3292
+ * - null&mdash;Does not set a size `class`.
3293
+ *
3294
+ * @default `medium`
3295
+ */
3296
+ size?: null | 'small' | 'medium' | 'large' | string;
3297
+ /**
3298
+ * Configures the `roundness` of the MultiSelect.
3299
+ *
3300
+ * The available options are:
3301
+ * - small
3302
+ * - medium
3303
+ * - large
3304
+ * - full
3305
+ * - null&mdash;Does not set a rounded `class`.
3306
+ *
3307
+ * @default `medium`
3308
+ */
3309
+ rounded?: null | 'small' | 'medium' | 'large' | 'full' | string;
3310
+ /**
3311
+ * Configures the `roundness` of the tags in MultiSelect.
3312
+ *
3313
+ * The available options are:
3314
+ * - small
3315
+ * - medium
3316
+ * - large
3317
+ * - circle
3318
+ * - full
3319
+ * - null&mdash;Does not set a rounded `class`.
3320
+ *
3321
+ * @default `medium`
3322
+ */
3323
+ tagsRounded?: null | 'small' | 'medium' | 'large' | 'full' | string;
3324
+ /**
3325
+ * Configures the `fillMode` of the MultiSelect.
3326
+ *
3327
+ * The available options are:
3328
+ * - solid
3329
+ * - outline
3330
+ * - flat
3331
+ * - link
3332
+ * - null&mdash;Does not set a fillMode `class`.
3333
+ *
3334
+ * @default `solid`
3335
+ */
3336
+ fillMode?: null | 'solid' | 'outline' | 'flat' | string;
3337
+ /**
3338
+ * Sets the data item field that represents the start of a group. Applicable to objects data.
3339
+ */
3340
+ groupField?: string;
3341
+ /**
3342
+ * Fires when a MultiSelect group header item is about to be rendered. Used to override the default appearance of the group's headers.
3343
+ */
3344
+ groupHeaderItemRender?: any;
3345
+ /**
3346
+ * Fires when a MultiSelect sticky group header item is about to be rendered. Used to override the default appearance of the sticky group header of the component.
3347
+ */
3348
+ groupStickyHeaderItemRender?: any;
3349
+ /**
3350
+ * Provides different rendering of the popup element based on the screen dimensions.
3351
+ */
3352
+ adaptive?: boolean;
3353
+ /**
3354
+ * Specifies the text that is rendered as title in the adaptive popup.
3355
+ */
3356
+ adaptiveTitle?: string;
3357
+ }
3358
+
3359
+ /**
3360
+ * Represents the tag data.
3361
+ */
3362
+ export declare interface MultiSelectTagData {
3363
+ /**
3364
+ * Represents the text of the tag.
3365
+ */
3366
+ text: string;
3367
+ /**
3368
+ * Represents the data items which correspond to the tag.
3369
+ */
3370
+ data: Array<any>;
3371
+ }
3372
+
3373
+ /**
3374
+ * @hidden
3375
+ */
3376
+ export declare const MultiSelectTree: DefineComponent<ExtractPropTypes< {
3377
+ opened: {
3378
+ type: PropType<boolean>;
3379
+ default: any;
3380
+ };
3381
+ disabled: PropType<boolean>;
3382
+ dir: PropType<string>;
3383
+ tabIndex: PropType<number>;
3384
+ accessKey: PropType<string>;
3385
+ dataItems: {
3386
+ type: PropType<any[]>;
3387
+ default: () => any[];
3388
+ };
3389
+ value: PropType<any[]>;
3390
+ modelValue: PropType<any[]>;
3391
+ valueMap: PropType<(value: any[]) => any>;
3392
+ placeholder: PropType<string>;
3393
+ dataItemKey: {
3394
+ type: PropType<string>;
3395
+ required: true;
3396
+ };
3397
+ textField: {
3398
+ type: PropType<string>;
3399
+ required: true;
3400
+ };
3401
+ checkField: {
3402
+ type: PropType<string>;
3403
+ default: string;
3404
+ };
3405
+ checkIndeterminateField: {
3406
+ type: PropType<string>;
3407
+ default: string;
3408
+ };
3409
+ expandField: PropType<string>;
3410
+ subItemsField: {
3411
+ type: PropType<string>;
3412
+ default: string;
3413
+ };
3414
+ className: PropType<string>;
3415
+ label: PropType<string>;
3416
+ validationMessage: PropType<string>;
3417
+ validityStyles: {
3418
+ type: PropType<boolean>;
3419
+ default: boolean;
3420
+ };
3421
+ valid: {
3422
+ type: PropType<boolean>;
3423
+ default: any;
3424
+ };
3425
+ required: PropType<boolean>;
3426
+ name: PropType<string>;
3427
+ id: PropType<string>;
3428
+ ariaLabelledBy: PropType<string>;
3429
+ ariaDescribedBy: PropType<string>;
3430
+ filterable: PropType<boolean>;
3431
+ filter: PropType<string>;
3432
+ loading: PropType<boolean>;
3433
+ tags: PropType<MultiSelectTagData[]>;
3434
+ popupSettings: {
3435
+ type: PropType<DropDownsPopupSettings>;
3436
+ default: () => {
3437
+ animate: boolean;
3438
+ height: string;
3439
+ anchor: string;
3440
+ };
3441
+ };
3442
+ size: {
3443
+ type: PropType<string>;
3444
+ default: string;
3445
+ validator: (value: any) => any;
3446
+ };
3447
+ rounded: {
3448
+ type: PropType<string>;
3449
+ default: string;
3450
+ validator: (value: any) => any;
3451
+ };
3452
+ fillMode: {
3453
+ type: PropType<string>;
3454
+ default: string;
3455
+ validator: (value: any) => any;
3456
+ };
3457
+ item: PropType<any>;
3458
+ tag: PropType<any>;
3459
+ header: PropType<any>;
3460
+ footer: PropType<any>;
3461
+ listNoData: PropType<any>;
3462
+ adaptive: {
3463
+ type: PropType<boolean>;
3464
+ default: any;
3465
+ };
3466
+ adaptiveTitle: {
3467
+ type: PropType<string>;
3468
+ default: any;
3469
+ };
3470
+ }>, {}, {
3471
+ focusedTagState: any;
3472
+ openState: boolean;
3473
+ focusedState: boolean;
3474
+ filterState: string;
3475
+ currentValue: any[];
3476
+ popupWidth: string;
3477
+ windowWidth: number;
3478
+ initialAdaptiveRenderingValues: any;
3479
+ }, {
3480
+ animationStyles(): object | undefined;
3481
+ classNameAdaptive(): string;
3482
+ adaptiveState(): any;
3483
+ isOpen(): any;
3484
+ computedValue(): any;
3485
+ hasValue(): boolean;
3486
+ tagsToRenderRef(): any;
3487
+ }, {
3488
+ clearFilter(event: MultiSelectTreeCloseEvent): void;
3489
+ onCancel(event: MouseEvent): void;
3490
+ calculateMedia(entries: ResizeObserverEntry[]): void;
3491
+ calculatePopupWidth(): void;
3492
+ focus(): void;
3493
+ setValidity(): void;
3494
+ changeValue(event: DropdownEvent, items: any[], operation: MultiSelectTreeChangeEventOperation): void;
3495
+ onChange(e: TreeViewItemClickEvent): void;
3496
+ openPopup(event: MultiSelectTreeCloseEvent): void;
3497
+ closePopup(event: MultiSelectTreeCloseEvent): void;
3498
+ switchFocus(focusFn: () => void): void;
3499
+ focusElement(element: HTMLElement | null): void;
3500
+ onPopupOpened(): void;
3501
+ onPopupClosed(): void;
3502
+ onFocus(event: any): void;
3503
+ onBlur(event: any): void;
3504
+ onWrapperMouseDown(): void;
3505
+ onWrapperClick(event: any): void;
3506
+ onWrapperKeyDown(event: any): any;
3507
+ onInputKeyDown(event: any): void;
3508
+ onClear(event: any): void;
3509
+ onTagDelete(itemsToRemove: Array<any>, event: any): void;
3510
+ onExpand(e: TreeViewExpandChangeEvent): void;
3511
+ onFilterChange(event: any, emptyValue?: boolean): void;
3512
+ }, ComponentOptionsMixin, ComponentOptionsMixin, {
3513
+ open: any;
3514
+ close: any;
3515
+ focus: any;
3516
+ blur: any;
3517
+ change: any;
3518
+ filterchange: any;
3519
+ expandchange: any;
3520
+ changemodel: any;
3521
+ 'update:modelValue': any;
3522
+ }, string, PublicProps, Readonly<ExtractPropTypes< {
3523
+ opened: {
3524
+ type: PropType<boolean>;
3525
+ default: any;
3526
+ };
3527
+ disabled: PropType<boolean>;
3528
+ dir: PropType<string>;
3529
+ tabIndex: PropType<number>;
3530
+ accessKey: PropType<string>;
3531
+ dataItems: {
3532
+ type: PropType<any[]>;
3533
+ default: () => any[];
3534
+ };
3535
+ value: PropType<any[]>;
3536
+ modelValue: PropType<any[]>;
3537
+ valueMap: PropType<(value: any[]) => any>;
3538
+ placeholder: PropType<string>;
3539
+ dataItemKey: {
3540
+ type: PropType<string>;
3541
+ required: true;
3542
+ };
3543
+ textField: {
3544
+ type: PropType<string>;
3545
+ required: true;
3546
+ };
3547
+ checkField: {
3548
+ type: PropType<string>;
3549
+ default: string;
3550
+ };
3551
+ checkIndeterminateField: {
3552
+ type: PropType<string>;
3553
+ default: string;
3554
+ };
3555
+ expandField: PropType<string>;
3556
+ subItemsField: {
3557
+ type: PropType<string>;
3558
+ default: string;
3559
+ };
3560
+ className: PropType<string>;
3561
+ label: PropType<string>;
3562
+ validationMessage: PropType<string>;
3563
+ validityStyles: {
3564
+ type: PropType<boolean>;
3565
+ default: boolean;
3566
+ };
3567
+ valid: {
3568
+ type: PropType<boolean>;
3569
+ default: any;
3570
+ };
3571
+ required: PropType<boolean>;
3572
+ name: PropType<string>;
3573
+ id: PropType<string>;
3574
+ ariaLabelledBy: PropType<string>;
3575
+ ariaDescribedBy: PropType<string>;
3576
+ filterable: PropType<boolean>;
3577
+ filter: PropType<string>;
3578
+ loading: PropType<boolean>;
3579
+ tags: PropType<MultiSelectTagData[]>;
3580
+ popupSettings: {
3581
+ type: PropType<DropDownsPopupSettings>;
3582
+ default: () => {
3583
+ animate: boolean;
3584
+ height: string;
3585
+ anchor: string;
3586
+ };
3587
+ };
3588
+ size: {
3589
+ type: PropType<string>;
3590
+ default: string;
3591
+ validator: (value: any) => any;
3592
+ };
3593
+ rounded: {
3594
+ type: PropType<string>;
3595
+ default: string;
3596
+ validator: (value: any) => any;
3597
+ };
3598
+ fillMode: {
3599
+ type: PropType<string>;
3600
+ default: string;
3601
+ validator: (value: any) => any;
3602
+ };
3603
+ item: PropType<any>;
3604
+ tag: PropType<any>;
3605
+ header: PropType<any>;
3606
+ footer: PropType<any>;
3607
+ listNoData: PropType<any>;
3608
+ adaptive: {
3609
+ type: PropType<boolean>;
3610
+ default: any;
3611
+ };
3612
+ adaptiveTitle: {
3613
+ type: PropType<string>;
3614
+ default: any;
3615
+ };
3616
+ }>> & Readonly<{
3617
+ onBlur?: (...args: any[] | unknown[]) => any;
3618
+ onChange?: (...args: any[] | unknown[]) => any;
3619
+ onClose?: (...args: any[] | unknown[]) => any;
3620
+ onFocus?: (...args: any[] | unknown[]) => any;
3621
+ onOpen?: (...args: any[] | unknown[]) => any;
3622
+ onChangemodel?: (...args: any[] | unknown[]) => any;
3623
+ "onUpdate:modelValue"?: (...args: any[] | unknown[]) => any;
3624
+ onFilterchange?: (...args: any[] | unknown[]) => any;
3625
+ onExpandchange?: (...args: any[] | unknown[]) => any;
3626
+ }>, {
3627
+ size: string;
3628
+ rounded: string;
3629
+ fillMode: string;
3630
+ dataItems: any[];
3631
+ opened: boolean;
3632
+ popupSettings: DropDownsPopupSettings;
3633
+ valid: boolean;
3634
+ validityStyles: boolean;
3635
+ adaptive: boolean;
3636
+ adaptiveTitle: string;
3637
+ checkIndeterminateField: string;
3638
+ checkField: string;
3639
+ subItemsField: string;
3640
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
3641
+
3642
+ /**
3643
+ * Represents the object of the `onBlur` MultiSelectTree event.
3644
+ */
3645
+ export declare interface MultiSelectTreeBlurEvent extends BlurEvent {
3646
+ }
3647
+
3648
+ /**
3649
+ * Represents the object of the `onChange` MultiSelectTree event.
3650
+ */
3651
+ export declare interface MultiSelectTreeChangeEvent extends DropdownEvent {
3652
+ /**
3653
+ * The items related to current operation.
3654
+ */
3655
+ items: any[];
3656
+ /**
3657
+ * The new value.
3658
+ */
3659
+ value: any[];
3660
+ /**
3661
+ * Describes the current operation:
3662
+ * * `clear` - clear button is clicked and value is cleared. Null value is returned.
3663
+ * * `delete` - tag is deleted using keyboard or mouse. The items contained in current tag are returned.
3664
+ * * `toggle` - item in TreeView is toggled. Single item is returned.
3665
+ */
3666
+ operation: MultiSelectTreeChangeEventOperation;
3667
+ }
3668
+
3669
+ export declare type MultiSelectTreeChangeEventOperation = 'clear' | 'delete' | 'toggle';
3670
+
3671
+ /**
3672
+ * Represents the object of the `onClose` MultiSelectTree event.
3673
+ */
3674
+ export declare interface MultiSelectTreeCloseEvent extends CloseEvent_2 {
3675
+ }
3676
+
3677
+ /**
3678
+ * Represents the object of the `onExpandChange` MultiSelectTree event.
3679
+ */
3680
+ export declare interface MultiSelectTreeExpandEvent extends DropdownEvent {
3681
+ item: any;
3682
+ level: number[];
3683
+ }
3684
+
3685
+ /**
3686
+ * Represents the object of the `onFilterChange` MultiSelectTree event.
3687
+ */
3688
+ export declare interface MultiSelectTreeFilterChangeEvent extends FilterChangeEvent {
3689
+ }
3690
+
3691
+ /**
3692
+ * Represents the object of the `onFocus` MultiSelectTree event.
3693
+ */
3694
+ export declare interface MultiSelectTreeFocusEvent extends FocusEvent_2 {
3695
+ }
3696
+
3697
+ /**
3698
+ * The props of component that will be used for rendering each of the MultiSelectTree items
3699
+ * ([see example]({% slug customrendering_multiselecttree %}#toc-items-and-value-element)).
3700
+ */
3701
+ export declare interface MultiSelectTreeItemProps extends ItemRenderProps {
3702
+ }
3703
+
3704
+ /**
3705
+ * The props of the `ListNoData` component ([see example]({% slug customrendering_multiselecttree %}#toc-no-data)).
3706
+ */
3707
+ export declare interface MultiSelectTreeListNoDataProps {
3708
+ }
3709
+
3710
+ /**
3711
+ * Represents the object of the `onOpen` MultiSelectTree event.
3712
+ */
3713
+ export declare interface MultiSelectTreeOpenEvent extends OpenEvent {
3714
+ }
3715
+
3716
+ /**
3717
+ * Represents the props of the [Kendo UI for Vue MultiSelectTree component]({% slug overview_multiselecttree %}).
3718
+ */
3719
+ export declare interface MultiSelectTreeProps extends FormComponentProps {
3720
+ /**
3721
+ * Sets the data of the MultiSelectTree ([see example]({% slug overview_multiselecttree %})).
3722
+ */
3723
+ dataItems?: any[];
3724
+ /**
3725
+ * Sets the opened state of the MultiSelectTree.
3726
+ */
3727
+ opened?: boolean;
3728
+ /**
3729
+ * Sets the value of the MultiSelectTree. It can either be an array of the primitive (string, numbers) or of the complex (objects) type.
3730
+ */
3731
+ value?: Array<any>;
3732
+ /**
3733
+ * Sets the modelValue of the MultiSelectTree. It can either be an array of the primitive (string, numbers) or of the complex (objects) type.
3734
+ */
3735
+ modelValue?: Array<any>;
3736
+ /**
3737
+ * The hint that is displayed when the MultiSelectTree is empty.
3738
+ */
3739
+ placeholder?: string;
3740
+ /**
3741
+ * Sets the key for comparing the data items of the MultiSelectTree ([see example]({% slug overview_multiselecttree %})).
3742
+ * If `dataItemKey` is not set, the MultiSelectTree compares the items by reference.
3743
+ */
3744
+ dataItemKey: string;
3745
+ /**
3746
+ * Sets additional classes to the MultiSelectTree.
3747
+ */
3748
+ className?: string;
3749
+ /**
3750
+ * Sets the disabled state of the MultiSelectTree.
3751
+ */
3752
+ disabled?: boolean;
3753
+ /**
3754
+ * Represents the `dir` HTML attribute.
3755
+ */
3756
+ dir?: string;
3757
+ /**
3758
+ * Renders a floating label for the MultiSelectTree.
3759
+ */
3760
+ label?: string;
3761
+ /**
3762
+ * Specifies the id of the component.
3763
+ */
3764
+ id?: string;
3765
+ /**
3766
+ * Specifies the validationMessage of the component.
3767
+ */
3768
+ validationMessage?: string;
3769
+ /**
3770
+ * If set to `false`, no visual representation of the invalid state of the component will be applied.
3771
+ *
3772
+ */
3773
+ validityStyles?: boolean;
3774
+ /**
3775
+ * Overrides the validity state of the component.
3776
+ * If `valid` is set, the `required` property will be ignored.
3777
+ *
3778
+ */
3779
+ valid?: boolean;
3780
+ /**
3781
+ * Specifies the `name` property of the `input` DOM element.
3782
+ *
3783
+ */
3784
+ name?: string;
3785
+ /**
3786
+ * Specifies if `null` is a valid value for the component.
3787
+ *
3788
+ */
3789
+ required?: boolean;
3790
+ /**
3791
+ * Sets the tags of the MultiSelect ([see example]({% slug customtags_multiselect %})).
3792
+ */
3793
+ tags?: Array<MultiSelectTagData>;
3794
+ /**
3795
+ * 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).
3796
+ * For example these elements could contain error or hint message.
3797
+ */
3798
+ ariaDescribedBy?: string;
3799
+ /**
3800
+ * Identifies the element(s) which will label the component.
3801
+ */
3802
+ ariaLabelledBy?: string;
3803
+ /**
3804
+ * Enables the filtering functionality of the MultiSelectTree ([more information and examples]({% slug filtering_multiselecttree %})).
3805
+ */
3806
+ filterable?: boolean;
3807
+ /**
3808
+ * Sets the value of filtering input.
3809
+ * Useful for making the filtering input a controlled component.
3810
+ */
3811
+ filter?: string;
3812
+ /**
3813
+ * Sets the loading state of the MultiSelectTree ([see example]({% slug filtering_multiselecttree %}#toc-visualize-filtering)).
3814
+ */
3815
+ loading?: boolean;
3816
+ /**
3817
+ * Specifies the `tabIndex` of the MultiSelectTree.
3818
+ */
3819
+ tabIndex?: number;
3820
+ /**
3821
+ * Specifies the `accessKey` of the MultiSelectTree.
3822
+ */
3823
+ accessKey?: string;
3824
+ /**
3825
+ * Sets the data item field that represents the item text ([see example]({% slug overview_multiselecttree %})).
3826
+ */
3827
+ textField: string;
3828
+ /**
3829
+ * Specifies the name of the field which will provide a Boolean representation of the checked state of the item.
3830
+ */
3831
+ checkField?: string;
3832
+ /**
3833
+ * Specifies the name of the field which will provide a Boolean representation of the checked indeterminaet state of the item.
3834
+ */
3835
+ checkIndeterminateField?: string;
3836
+ /**
3837
+ * Specifies the name of the field which will provide a Boolean representation of the expanded state of the item.
3838
+ */
3839
+ expandField?: string;
3840
+ /**
3841
+ * Specifies the name of the field which will provide an array representation of the item subitems.
3842
+ * Defaults to 'items'.
3843
+ */
3844
+ subItemsField?: string;
3845
+ /**
3846
+ * Configures the popup of the MultiSelectTree.
3847
+ */
3848
+ popupSettings?: DropDownsPopupSettings;
3849
+ /**
3850
+ * Represents a callback function, which returns the value for submitting. The returned value will be rendered in an `option` of a hidden `select` element.
3851
+ *
3852
+ * @example
3853
+ * ```jsx-no-run
3854
+ * class App extends React.Component {
3855
+ * render() {
3856
+ * return (
3857
+ * <form>
3858
+ * <MultiSelectTree
3859
+ * data={[ { text: "Austria", id: 1 } , { text: "Belarus", id: 2 } ]}
3860
+ * valueMap={value => value && value.id}
3861
+ * />
3862
+ * <button type="submit">Submit</button>
3863
+ * </form>
3864
+ * );
3865
+ * }
3866
+ * }
3867
+ * ReactDOM.render(<App />, document.querySelector('my-app'));
3868
+ * ```
3869
+ */
3870
+ valueMap?: (value: Array<any>) => any;
3871
+ /**
3872
+ * Fires each time the popup of the MultiSelectTree is about to open.
3873
+ */
3874
+ onOpen?: (event: MultiSelectTreeOpenEvent) => void;
3875
+ /**
3876
+ * Fires each time the popup of the MultiSelectTree is about to close.
3877
+ */
3878
+ onClose?: (event: MultiSelectTreeCloseEvent) => void;
3879
+ /**
3880
+ * Fires each time the user focuses the MultiSelectTree.
3881
+ */
3882
+ onFocus?: (event: MultiSelectTreeFocusEvent) => void;
3883
+ /**
3884
+ * Fires each time the MultiSelectTree gets blurred.
3885
+ */
3886
+ onBlur?: (event: MultiSelectTreeBlurEvent) => void;
3887
+ /**
3888
+ * Fires each time the value of the MultiSelectTree is about to change ([see examples]({% slug overview_multiselecttree %})).
3889
+ */
3890
+ onChange?: (event: MultiSelectTreeChangeEvent) => void;
3891
+ /**
3892
+ * Fires each time the user types in the filter input
3893
+ * ([see example]({% slug filtering_multiselecttree %}#toc-basic-configuration)).
3894
+ * You can filter the source based on the passed filtration value.
3895
+ */
3896
+ onFilterChange?: (event: MultiSelectTreeFilterChangeEvent) => void;
3897
+ /**
3898
+ * Fires when the expanding or collapsing of an item is requested ([see examples]({% slug overview_multiselecttree %})).
3899
+ */
3900
+ onExpandChange?: (event: any) => void;
3901
+ /**
3902
+ * Defines the component that will be used for rendering each of the MultiSelectTree items
3903
+ * ([see example]({% slug customrendering_multiselecttree %}#toc-items-and-value-element)).
3904
+ */
3905
+ item?: any;
3906
+ /**
3907
+ * Defines the component that will be rendered in the MultiSelectTree popup when no data is available
3908
+ * ([see example]({% slug customrendering_multiselecttree %}#toc-no-data)).
3909
+ */
3910
+ listNoData?: any;
3911
+ tag?: any;
3912
+ header?: any;
3913
+ footer?: any;
3914
+ /**
3915
+ * Configures the `size` of the MultiSelectTree.
3916
+ *
3917
+ * The available options are:
3918
+ * - small
3919
+ * - medium
3920
+ * - large
3921
+ * - null&mdash;Does not set a size `className`.
3922
+ *
3923
+ * @default `medium`
3924
+ */
3925
+ size?: null | 'small' | 'medium' | 'large' | string;
3926
+ /**
3927
+ * Configures the `roundness` of the MultiSelectTree.
3928
+ *
3929
+ * The available options are:
3930
+ * - small
3931
+ * - medium
3932
+ * - large
3933
+ * - full
3934
+ * - null&mdash;Does not set a rounded `className`.
3935
+ *
3936
+ * @default `medium`
3937
+ */
3938
+ rounded?: null | 'small' | 'medium' | 'large' | 'full' | string;
3939
+ /**
3940
+ * Configures the `fillMode` of the MultiSelectTree.
3941
+ *
3942
+ * The available options are:
3943
+ * - solid
3944
+ * - flat
3945
+ * - outline
3946
+ * - null&mdash;Does not set a fillMode `className`.
3947
+ *
3948
+ * @default `solid`
3949
+ */
3950
+ fillMode?: null | 'solid' | 'flat' | 'outline' | string;
3951
+ /**
3952
+ * Provides different rendering of the popup element based on the screen dimensions.
3953
+ */
3954
+ adaptive?: boolean;
3955
+ /**
3956
+ * Specifies the text that is rendered as title in the adaptive popup.
3957
+ */
3958
+ adaptiveTitle?: string;
3959
+ }
3960
+
3961
+ /**
3962
+ * The props of component that will be used for rendering each of the MultiSelectTree tags
3963
+ */
3964
+ export declare interface MultiSelectTreeTagProps {
3965
+ tagData: MultiSelectTagData;
3966
+ guid: string;
3967
+ focusedTag?: MultiSelectTagData;
3968
+ onTagDelete: (items: Array<any>, event: any) => void;
3969
+ }
3970
+
3971
+ /**
3972
+ * @hidden
3973
+ */
3974
+ declare interface OpenEvent extends DropdownEvent {
3975
+ }
3976
+
3977
+ /**
3978
+ * Represents the `skip` and `take` configurations which are wrapped in the `page` object.
3979
+ */
3980
+ export declare interface Page {
3981
+ /**
3982
+ * The number of records to skip.
3983
+ */
3984
+ skip: number;
3985
+ /**
3986
+ * The number of records to take.
3987
+ */
3988
+ take: number;
3989
+ }
3990
+
3991
+ /**
3992
+ * @hidden
3993
+ */
3994
+ declare interface PageChangeEvent extends DropdownEvent {
3995
+ page: Page;
3996
+ }
3997
+
3998
+ /**
3999
+ * Represents the `Suggestion` object of the AutoComplete.
4000
+ */
4001
+ export declare interface Suggestion {
4002
+ /**
4003
+ * Represents the typed text of the user.
4004
+ */
4005
+ readonly userInput: string;
4006
+ /**
4007
+ * Represents the suggested text without the user input.
4008
+ */
4009
+ readonly value: string;
4010
+ }
4011
+
4012
+ /**
4013
+ * The props of the `ValueHolder` component ([see example]({% slug customrendering_dropdowntree %}#toc-items-and-value-element)).
4014
+ */
4015
+ export declare interface ValueHolderProps {
4016
+ item?: any;
4017
+ }
4018
+
4019
+ /**
4020
+ * The virtualization settings.
4021
+ */
4022
+ export declare interface VirtualizationSettings {
4023
+ /**
4024
+ * The number of the requested records.
4025
+ */
4026
+ pageSize: number;
4027
+ /**
4028
+ * The number of records to skip.
4029
+ */
4030
+ skip: number;
4031
+ /**
4032
+ * The number of all records.
4033
+ */
4034
+ total: number;
4035
+ }
4036
+
4037
+ export { }