@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
@@ -1,277 +0,0 @@
1
- import { FilterChangeEvent, ChangeEvent, OpenEvent, CloseEvent, FocusEvent, BlurEvent, PageChangeEvent } from './../common/events';
2
- import { FormComponentProps } from '@progress/kendo-vue-common';
3
- import { VirtualizationSettings, DropDownsPopupSettings } from '../common/settings';
4
- import { SVGIcon } from '@progress/kendo-svg-icons';
5
- /**
6
- * Represents the object of the `FilterChange` ComboBox event.
7
- */
8
- export interface ComboBoxFilterChangeEvent extends FilterChangeEvent {
9
- }
10
- /**
11
- * Represents the object of the `change` ComboBox event.
12
- */
13
- export interface ComboBoxChangeEvent extends ChangeEvent {
14
- }
15
- /**
16
- * Represents the object of the `open` ComboBox event.
17
- */
18
- export interface ComboBoxOpenEvent extends OpenEvent {
19
- }
20
- /**
21
- * Represents the object of the `close` ComboBox event.
22
- */
23
- export interface ComboBoxCloseEvent extends CloseEvent {
24
- }
25
- /**
26
- * Represents the object of the `focus` ComboBox event.
27
- */
28
- export interface ComboBoxFocusEvent extends FocusEvent {
29
- }
30
- /**
31
- * Represents the object of the `blur` ComboBox event.
32
- */
33
- export interface ComboBoxBlurEvent extends BlurEvent {
34
- }
35
- /**
36
- * Represents the object of the `PageChange` ComboBox event.
37
- */
38
- export interface ComboBoxPageChangeEvent extends PageChangeEvent {
39
- }
40
- /**
41
- * Represents the props of the [Kendo UI for Vue ComboBox component]({% slug overview_combobox %}).
42
- */
43
- export interface ComboBoxProps extends FormComponentProps {
44
- /**
45
- * Sets the dataItems of the ComboBox ([more information and examples]({% slug binding_combobox %})).
46
- */
47
- dataItems?: any[];
48
- /**
49
- * Sets the opened and closed state of the ComboBox.
50
- */
51
- opened?: boolean;
52
- /**
53
- * 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.
54
- */
55
- value?: any;
56
- /**
57
- * Sets the default value of the ComboBox. Similar to the native `select` HTML element.
58
- */
59
- defaultValue?: any;
60
- /**
61
- * Defines the name for an existing arrow icon.
62
- */
63
- icon?: string;
64
- /**
65
- * Defines the svg icon in a Kendo UI for Vue theme.
66
- */
67
- svgIcon?: SVGIcon;
68
- /**
69
- * Sets CSS classes to the expand `icon` DOM element.
70
- */
71
- iconClassName?: string;
72
- /**
73
- * 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.
74
- */
75
- clearButton?: boolean;
76
- /**
77
- * The hint that is displayed when the ComboBox is empty.
78
- */
79
- placeholder?: string;
80
- /**
81
- * Enables the auto-completion of the text based on the first data item ([see example]({% slug suggestions_combobox %})).
82
- */
83
- suggest?: boolean;
84
- /**
85
- * Specifies whether the ComboBox allows user-defined values that are not present in the dataset ([see example]({% slug custom_values_combobox %})). Defaults to `false`.
86
- */
87
- allowCustom?: boolean;
88
- /**
89
- * Sets the disabled state of the ComboBox.
90
- */
91
- disabled?: boolean;
92
- /**
93
- * Sets additional classes to the DropDownList.
94
- */
95
- className?: string;
96
- /**
97
- * @hidden
98
- */
99
- modelValue?: any;
100
- /**
101
- * Represents the `dir` HTML attribute.
102
- */
103
- dir?: string;
104
- /**
105
- * Enables the filtering functionality of the ComboBox ([more information and examples]({% slug filtering_combobox %})).
106
- */
107
- filterable?: boolean;
108
- /**
109
- * Sets the value of ComboBox input. Useful for making the ComboBox input a controlled component.
110
- */
111
- filter?: string | null;
112
- /**
113
- * Sets the loading state of the ComboBox ([see example]({% slug filtering_combobox %}#toc-basic-configuration)).
114
- */
115
- loading?: boolean;
116
- /**
117
- * Specifies the `tabIndex` of the ComboBox.
118
- */
119
- tabIndex?: number;
120
- /**
121
- * Specifies the `accessKey` of the ComboBox.
122
- */
123
- accessKey?: string;
124
- /**
125
- * Sets the data item field that represents the item text. If the data contains only primitive values, do not define it.
126
- */
127
- textField?: string;
128
- /**
129
- * Sets the data item field that represents the item value.
130
- */
131
- valueField?: string;
132
- /**
133
- * Specifies the type of the selected value. If set to true, the selected value has to be of a primitive value.
134
- */
135
- valuePrimitive?: boolean;
136
- /**
137
- * 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)).
138
- */
139
- dataItemKey?: string;
140
- /**
141
- * Renders a floating label for the ComboBox.
142
- */
143
- label?: string;
144
- /**
145
- * Configures the popup of the ComboBox.
146
- */
147
- popupSettings?: DropDownsPopupSettings;
148
- /**
149
- * Configures the virtual scrolling of the ComboBox ([more information and examples]({% slug virtualization_combobox %})).
150
- */
151
- virtual?: VirtualizationSettings;
152
- /**
153
- * Specifies the id of the component.
154
- */
155
- id?: string;
156
- /**
157
- * 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).
158
- * For example these elements could contain error or hint message.
159
- */
160
- ariaDescribedBy?: string;
161
- /**
162
- * Identifies the element(s) which will label the component.
163
- */
164
- ariaLabelledBy?: string;
165
- /**
166
- * Defines the [aria-label](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-label) attribute of the component.
167
- */
168
- ariaLabel?: string;
169
- /**
170
- * If set, the ComboBox will use it to get the focused item index.
171
- *
172
- * Default functionality returns the first item which starts with the input text.
173
- */
174
- focusedItemIndex?: (data: any, inputText: string, textField?: string) => number;
175
- /**
176
- * Fires each time the popup of the ComboBox is about to open.
177
- */
178
- onOpen?: (event: ComboBoxOpenEvent) => void;
179
- /**
180
- * Fires each time the popup of the ComboBox is about to close.
181
- */
182
- onClose?: (event: ComboBoxCloseEvent) => void;
183
- /**
184
- * Fires each time the user focuses the ComboBox.
185
- */
186
- onFocus?: (event: ComboBoxFocusEvent) => void;
187
- /**
188
- * Fires each time the ComboBox gets blurred.
189
- */
190
- onBlur?: (event: ComboBoxBlurEvent) => void;
191
- /**
192
- * Fires each time the value of the ComboBox is about to change ([see examples]({% slug binding_combobox %})).
193
- */
194
- onChange?: (event: ComboBoxChangeEvent) => void;
195
- /**
196
- * 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.
197
- */
198
- onFilterchange?: (event: ComboBoxFilterChangeEvent) => void;
199
- /**
200
- * 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 %})).
201
- */
202
- onPagechange?: (event: ComboBoxPageChangeEvent) => void;
203
- /**
204
- * 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.
205
- */
206
- itemRender?: any;
207
- /**
208
- * 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.
209
- */
210
- listNoDataRender?: any;
211
- /**
212
- * Sets the header component of the ComboBox ([see example]({% slug customrendering_combobox %}#toc-headers-and-footers)).
213
- */
214
- header?: any;
215
- /**
216
- * Sets the footer component of the ComboBox ([see example]({% slug customrendering_combobox %}#toc-headers-and-footers)).
217
- */
218
- footer?: any;
219
- /**
220
- * Configures the `size` of the ComboBox.
221
- *
222
- * The available options are:
223
- * - small
224
- * - medium
225
- * - large
226
- * - null—Does not set a size `class`.
227
- *
228
- * @default `medium`
229
- */
230
- size?: null | 'small' | 'medium' | 'large' | string;
231
- /**
232
- * Configures the `roundness` of the ComboBox.
233
- *
234
- * The available options are:
235
- * - small
236
- * - medium
237
- * - large
238
- * - full
239
- * - null—Does not set a rounded `class`.
240
- *
241
- * @default `medium`
242
- */
243
- rounded?: null | 'small' | 'medium' | 'large' | 'full' | string;
244
- /**
245
- * Configures the `fillMode` of the ComboBox.
246
- *
247
- * The available options are:
248
- * - solid
249
- * - outline
250
- * - flat
251
- * - link
252
- * - null—Does not set a fillMode `class`.
253
- *
254
- * @default `solid`
255
- */
256
- fillMode?: null | 'solid' | 'outline' | 'flat' | string;
257
- /**
258
- * Sets the data item field that represents the start of a group. Applicable to objects data.
259
- */
260
- groupField?: string;
261
- /**
262
- * Fires when a ComboBox group header item is about to be rendered. Used to override the default appearance of the group's headers.
263
- */
264
- groupHeaderItemRender?: any;
265
- /**
266
- * 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.
267
- */
268
- groupStickyHeaderItemRender?: any;
269
- /**
270
- * Provides different rendering of the popup element based on the screen dimensions ([see example]({% slug adaptive_rendering_combobox %})).
271
- */
272
- adaptive?: boolean;
273
- /**
274
- * Specifies the text that is rendered as title in the adaptive popup ([see example]({% slug adaptive_rendering_combobox %})).
275
- */
276
- adaptiveTitle?: string;
277
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- // tslint:enable:max-line-length
@@ -1,103 +0,0 @@
1
- declare type DefaultData<V> = object | ((this: V) => DropDownListData);
2
- declare type DefaultMethods<V> = {
3
- [key: string]: (this: V, ...args: any[]) => any;
4
- };
5
- import { FormComponentValidity } from '@progress/kendo-vue-common';
6
- import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../additionalTypes';
7
- import { DropDownListProps } from './DropDownListProps';
8
- import { DropDownStateBase, InternalState } from './../common/settings';
9
- /**
10
- * @hidden
11
- */
12
- export interface DropDownListState extends DropDownStateBase {
13
- }
14
- /**
15
- * @hidden
16
- */
17
- export interface DropDownListMethods {
18
- [key: string]: any;
19
- focus: (e: any) => void;
20
- computedValue: () => any;
21
- validity: () => FormComponentValidity;
22
- handleItemSelect: (index: number, state: InternalState) => void;
23
- onNavigate: (state: InternalState, keyCode: number) => void;
24
- search: (event: any) => void;
25
- selectNext: (event: any) => void;
26
- handleKeyDown: (event: any) => void;
27
- handleItemClick: (index: number, event: any) => void;
28
- handleFocus: (event: any) => void;
29
- handleBlur: (event: any) => void;
30
- handleDefaultItemClick: (event: any) => void;
31
- handleWrapperClick: (event: any) => void;
32
- handleKeyPress: (event: any) => void;
33
- handleListFilterChange: (event: any) => void;
34
- onPopupOpened: () => void;
35
- onPopupClosed: () => void;
36
- focusedIndex: () => number;
37
- focusElement: (element: HTMLElement) => void;
38
- setValidity: () => void;
39
- triggerOnChange: (item: any, state: InternalState) => void;
40
- applyState: (state: InternalState) => void;
41
- }
42
- /**
43
- * @hidden
44
- */
45
- export interface DropDownListState {
46
- anchor: string;
47
- typingTimeout: any;
48
- base: any;
49
- select: any;
50
- filterInput: any;
51
- virtualHasChanged: any;
52
- inputId: string;
53
- prevOpened: any;
54
- prevCurrentOpened: any;
55
- prevCurrentValue: any;
56
- selectRef: any;
57
- baseWrapperRef: any;
58
- listRef: any;
59
- filterInputRef: any;
60
- scrollElementRef: any;
61
- scrollerRef: any;
62
- kendoAnchorRef: any;
63
- v3: boolean;
64
- }
65
- /**
66
- * @hidden
67
- */
68
- export interface DropDownListData {
69
- hasMounted: boolean;
70
- currentText?: string;
71
- currentValue?: any;
72
- currentFocused?: boolean;
73
- currentOpened?: boolean;
74
- searchState?: any;
75
- _skipFocusEvent: boolean;
76
- valueDuringOnChange: any;
77
- _navigated: boolean;
78
- }
79
- /**
80
- * @hidden
81
- */
82
- export interface DropDownListComputed {
83
- [key: string]: any;
84
- spanClassNames: any;
85
- index: number;
86
- isOpen: boolean;
87
- classNameAdaptive: string;
88
- animationStyles: object | undefined;
89
- }
90
- /**
91
- * @hidden
92
- */
93
- export interface DropDownListAll extends DropDownListMethods, DropDownListState, DropDownListData, DropDownListComputed, Vue2type {
94
- }
95
- /**
96
- * @hidden
97
- */
98
- declare let DropDownListVue2: ComponentOptions<Vue2type, DefaultData<DropDownListData>, DefaultMethods<DropDownListAll>, DropDownListComputed, RecordPropsDefinition<DropDownListProps>>;
99
- /**
100
- * @hidden
101
- */
102
- declare let DropDownList: DefineComponent<DropDownListProps, any, DropDownListData, DropDownListComputed, DropDownListMethods, {}, {}, {}, string, DropDownListProps, DropDownListProps, {}>;
103
- export { DropDownList, DropDownListVue2 };