@progress/kendo-vue-dropdowns 5.3.0-dev.202409130647 → 5.3.0-develop.1

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,301 +0,0 @@
1
- import { FormComponentProps } from '@progress/kendo-vue-common';
2
- import { ItemRenderProps } from '@progress/kendo-vue-treeview';
3
- import { FilterChangeEvent, ChangeEvent, OpenEvent, CloseEvent, FocusEvent, BlurEvent, DropdownEvent } from '../common/events';
4
- import { DropDownsPopupSettings } from '../common/settings';
5
- /**
6
- * Represents the Object which is passed to the
7
- */
8
- export interface DropDownTreeHandle {
9
- /**
10
- * The current element or `null` if there is no one.
11
- */
12
- element: HTMLElement | null;
13
- /**
14
- * The props of the DropDownTree component.
15
- */
16
- props: DropDownTreeProps;
17
- /**
18
- * The focus function.
19
- */
20
- focus: () => void;
21
- }
22
- /**
23
- * Represents the object of the `onFilterChange` DropDownTree event.
24
- */
25
- export interface DropDownTreeFilterChangeEvent extends FilterChangeEvent {
26
- }
27
- /**
28
- * Represents the object of the `onChange` DropDownTree event.
29
- */
30
- export interface DropDownTreeChangeEvent extends ChangeEvent {
31
- level: number[];
32
- }
33
- /**
34
- * Represents the object of the `onOpen` DropDownTree event.
35
- */
36
- export interface DropDownTreeOpenEvent extends OpenEvent {
37
- }
38
- /**
39
- * Represents the object of the `onClose` DropDownTree event.
40
- */
41
- export interface DropDownTreeCloseEvent extends CloseEvent {
42
- }
43
- /**
44
- * Represents the object of the `onFocus` DropDownTree event.
45
- */
46
- export interface DropDownTreeFocusEvent extends FocusEvent {
47
- }
48
- /**
49
- * Represents the object of the `onBlur` DropDownTree event.
50
- */
51
- export interface DropDownTreeBlurEvent extends BlurEvent {
52
- }
53
- /**
54
- * Represents the object of the `onExpandChange` DropDownTree event.
55
- */
56
- export interface DropDownTreeExpandEvent extends DropdownEvent {
57
- item: any;
58
- level: number[];
59
- }
60
- /**
61
- * The props of component that will be used for rendering each of the DropDownTree items
62
- * ([see example]({% slug customrendering_dropdowntree %}#toc-items-and-value-element)).
63
- */
64
- export interface ItemProps extends ItemRenderProps {
65
- }
66
- /**
67
- * The props of the `ListNoData` component ([see example]({% slug customrendering_dropdowntree %}#toc-no-data)).
68
- */
69
- export interface ListNoDataProps {
70
- }
71
- /**
72
- * The props of the `ValueHolder` component ([see example]({% slug customrendering_dropdowntree %}#toc-items-and-value-element)).
73
- */
74
- export interface ValueHolderProps {
75
- item?: any;
76
- }
77
- /**
78
- * Represents the props of the [KendoReact DropDownTree component]({% slug overview_dropdowntree %}).
79
- */
80
- export interface DropDownTreeProps extends FormComponentProps {
81
- /**
82
- * Sets the data of the DropDownTree ([see example]({% slug overview_dropdowntree %})).
83
- */
84
- dataItems?: any[];
85
- /**
86
- * Sets the opened state of the DropDownTree.
87
- */
88
- opened?: boolean;
89
- /**
90
- * Sets the value of the DropDownTree ([see example]({% slug overview_dropdowntree %})).
91
- * It can be an object from the data-tree.
92
- */
93
- value?: any;
94
- modelValue?: any;
95
- /**
96
- * The hint that is displayed when the DropDownTree is empty.
97
- */
98
- placeholder?: string;
99
- /**
100
- * Sets the key for comparing the data items of the DropDownTree ([see example]({% slug overview_dropdowntree %})).
101
- * If `dataItemKey` is not set, the DropDownTree compares the items by reference.
102
- */
103
- dataItemKey: string;
104
- /**
105
- * Sets additional classes to the DropDownTree.
106
- */
107
- className?: string;
108
- /**
109
- * Sets the disabled state of the DropDownTree.
110
- */
111
- disabled?: boolean;
112
- /**
113
- * Represents the `dir` HTML attribute.
114
- */
115
- dir?: string;
116
- /**
117
- * Renders a floating label for the DropDownTree.
118
- */
119
- label?: string;
120
- /**
121
- * Specifies the id of the component.
122
- */
123
- id?: string;
124
- /**
125
- * 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).
126
- * For example these elements could contain error or hint message.
127
- */
128
- ariaDescribedBy?: string;
129
- /**
130
- * Identifies the element(s) which will label the component.
131
- */
132
- ariaLabelledBy?: string;
133
- /**
134
- * Defines the [aria-label](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-label) attribute of the component.
135
- */
136
- ariaLabel?: string;
137
- /**
138
- * Enables the filtering functionality of the DropDownTree ([more information and examples]({% slug filtering_dropdowntree %})).
139
- */
140
- filterable?: boolean;
141
- /**
142
- * Sets the value of filtering input.
143
- * Useful for making the filtering input a controlled component.
144
- */
145
- filter?: string;
146
- /**
147
- * Sets the loading state of the DropDownTree ([see example]({% slug filtering_dropdowntree %}#toc-visualize-filtering)).
148
- */
149
- loading?: boolean;
150
- /**
151
- * Specifies the `tabIndex` of the DropDownTree.
152
- */
153
- tabIndex?: number;
154
- /**
155
- * Specifies the `accessKey` of the DropDownTree.
156
- */
157
- accessKey?: string;
158
- /**
159
- * Sets the data item field that represents the item text ([see example]({% slug overview_dropdowntree %})).
160
- */
161
- textField: string;
162
- /**
163
- * Specifies the name of the field which will provide a Boolean representation of the selected state of the item.
164
- */
165
- selectField?: string;
166
- /**
167
- * Specifies the name of the field which will provide a Boolean representation of the expanded state of the item.
168
- */
169
- expandField?: string;
170
- /**
171
- * Specifies the name of the field which will provide an array representation of the item subitems.
172
- * Defaults to 'items'.
173
- */
174
- subItemsField?: string;
175
- /**
176
- * Configures the popup of the DropDownTree.
177
- */
178
- popupSettings?: DropDownsPopupSettings;
179
- /**
180
- * Represents a callback function, which returns the value for submitting. The returned value will be rendered in an `option` of a hidden `select`.
181
- *
182
- * @example
183
- * ```jsx-no-run
184
- * class App extends React.Component {
185
- * render() {
186
- * return (
187
- * <form>
188
- * <DropDownTree
189
- * data={[ { text: "Austria", id: 1 } , { text: "Belarus", id: 2 } ]}
190
- * valueMap={value => value && value.id}
191
- * />
192
- * <button type="submit">Submit</button>
193
- * </form>
194
- * );
195
- * }
196
- * }
197
- * ReactDOM.render(<App />, document.querySelector('my-app'));
198
- * ```
199
- */
200
- valueMap?: (value: any) => any;
201
- /**
202
- * Fires each time the popup of the DropDownTree is about to open.
203
- */
204
- onOpen?: (event: DropDownTreeOpenEvent) => void;
205
- /**
206
- * Fires each time the popup of the DropDownTree is about to close.
207
- */
208
- onClose?: (event: DropDownTreeCloseEvent) => void;
209
- /**
210
- * Fires each time the user focuses the DropDownTree.
211
- */
212
- onFocus?: (event: DropDownTreeFocusEvent) => void;
213
- /**
214
- * Fires each time the DropDownTree gets blurred.
215
- */
216
- onBlur?: (event: DropDownTreeBlurEvent) => void;
217
- /**
218
- * Fires each time the value of the DropDownTree is about to change ([see examples]({% slug overview_dropdowntree %})).
219
- */
220
- onChange?: (event: DropDownTreeChangeEvent) => void;
221
- /**
222
- * Fires each time the user types in the filter input
223
- * ([see example]({% slug filtering_dropdowntree %}#toc-basic-configuration)).
224
- * You can filter the source based on the passed filtration value.
225
- */
226
- onFilterChange?: (event: DropDownTreeFilterChangeEvent) => void;
227
- /**
228
- * Fires when the expanding or collapsing of an item is requested ([see examples]({% slug overview_dropdowntree %})).
229
- */
230
- onExpandChange?: (event: any) => void;
231
- /**
232
- * Defines the slot that will be used for rendering each of the DropDownTree items
233
- * ([see example]({% slug customrendering_dropdowntree %}#toc-items-and-value-element)).
234
- */
235
- item?: any;
236
- /**
237
- * Defines the slot that will be used for rendering the selected value
238
- * ([see example]({% slug customrendering_dropdowntree %}#toc-items-and-value-element)).
239
- */
240
- valueRender?: any;
241
- /**
242
- * Defines the slot that will be used for header
243
- * ([see example]({% slug customrendering_dropdowntree %}#toc-items-and-value-element)).
244
- */
245
- header?: any;
246
- /**
247
- * Defines the slot that will be used for footer
248
- * ([see example]({% slug customrendering_dropdowntree %}#toc-items-and-value-element)).
249
- */
250
- footer?: any;
251
- /**
252
- * Defines the slot that will be rendered in the DropDownTree popup when no data is available
253
- * ([see example]({% slug customrendering_dropdowntree %}#toc-no-data)).
254
- */
255
- listNoData?: any;
256
- /**
257
- * Configures the `size` of the DropDownTree.
258
- *
259
- * The available options are:
260
- * - small
261
- * - medium
262
- * - large
263
- * - null&mdash;Does not set a size `className`.
264
- *
265
- * @default `medium`
266
- */
267
- size?: null | 'small' | 'medium' | 'large' | string;
268
- /**
269
- * Configures the `roundness` of the DropDownTree.
270
- *
271
- * The available options are:
272
- * - small
273
- * - medium
274
- * - large
275
- * - full
276
- * - null&mdash;Does not set a rounded `className`.
277
- *
278
- * @default `medium`
279
- */
280
- rounded?: null | 'small' | 'medium' | 'large' | 'full' | string;
281
- /**
282
- * Configures the `fillMode` of the DropDownTree.
283
- *
284
- * The available options are:
285
- * - solid
286
- * - flat
287
- * - outline
288
- * - null&mdash;Does not set a fillMode `className`.
289
- *
290
- * @default `solid`
291
- */
292
- fillMode?: null | 'solid' | 'flat' | 'outline' | string;
293
- /**
294
- * Provides different rendering of the popup element based on the screen dimensions.
295
- */
296
- adaptive?: boolean;
297
- /**
298
- * Specifies the text that is rendered as title in the adaptive popup.
299
- */
300
- adaptiveTitle?: string;
301
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- // tslint:enable:max-line-length
@@ -1,42 +0,0 @@
1
- import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../additionalTypes';
2
- declare type DefaultData<V> = object | ((this: V) => {});
3
- declare type DefaultMethods<V> = {
4
- [key: string]: (this: V, ...args: any[]) => any;
5
- };
6
- import { ListNoDataProps } from './DropDownTreeProps';
7
- /**
8
- * @hidden
9
- */
10
- export interface ListNoDataState {
11
- }
12
- /**
13
- * @hidden
14
- */
15
- export interface ListNoDataComputed {
16
- [key: string]: any;
17
- }
18
- /**
19
- * @hidden
20
- */
21
- export interface ListNoDataMethods {
22
- [key: string]: any;
23
- }
24
- /**
25
- * @hidden
26
- */
27
- export interface ListNoDataData {
28
- }
29
- /**
30
- * @hidden
31
- */
32
- export interface ListNoDataAll extends Vue2type, ListNoDataMethods, ListNoDataData, ListNoDataComputed, ListNoDataState {
33
- }
34
- /**
35
- * @hidden
36
- */
37
- declare let ListNoDataVue2: ComponentOptions<ListNoDataAll, DefaultData<ListNoDataData>, DefaultMethods<ListNoDataAll>, ListNoDataComputed, RecordPropsDefinition<ListNoDataProps>>;
38
- /**
39
- * @hidden
40
- */
41
- declare const ListNoData: DefineComponent<ListNoDataProps, any, ListNoDataData, ListNoDataComputed, ListNoDataMethods, {}, {}, {}, string, ListNoDataProps, ListNoDataProps, {}>;
42
- export { ListNoData, ListNoDataVue2 };
@@ -1,39 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.ListNoDataVue2 = exports.ListNoData = void 0;
7
- // @ts-ignore
8
- var Vue = require("vue");
9
- var allVue = Vue;
10
- var gh = allVue.h;
11
- var isV3 = allVue.version && allVue.version[0] === '3';
12
- var kendo_vue_common_1 = require("@progress/kendo-vue-common");
13
- /**
14
- * @hidden
15
- */
16
- var ListNoDataVue2 = {
17
- name: 'KendoListNoData',
18
- // @ts-ignore
19
- setup: !isV3 ? undefined : function () {
20
- var v3 = !!isV3;
21
- return {
22
- v3: v3
23
- };
24
- },
25
- // @ts-ignore
26
- render: function render(createElement) {
27
- var h = gh || createElement;
28
- var defaultSlot = (0, kendo_vue_common_1.getDefaultSlots)(this);
29
- return h("div", {
30
- "class": "k-nodata"
31
- }, [h("div", [defaultSlot])]);
32
- }
33
- };
34
- exports.ListNoDataVue2 = ListNoDataVue2;
35
- /**
36
- * @hidden
37
- */
38
- var ListNoData = ListNoDataVue2;
39
- exports.ListNoData = ListNoData;
@@ -1,115 +0,0 @@
1
- declare type DefaultData<V> = object | ((this: V) => MultiSelectData);
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 { TagData } from './TagList';
8
- import { MultiSelectProps } from './MultiSelectProps';
9
- import { DropDownStateBase, InternalState, ActiveDescendant } from './../common/settings';
10
- declare enum FocusedItemType {
11
- None = 0,
12
- ListItem = 1,
13
- CustomItem = 2
14
- }
15
- interface ListFocusedState {
16
- focusedItem?: any;
17
- focusedIndex: number;
18
- focusedType: FocusedItemType;
19
- }
20
- /**
21
- * @hidden
22
- */
23
- export interface MultiSelectInternalState extends InternalState {
24
- data: MultiSelectData;
25
- }
26
- /**
27
- * @hidden
28
- */
29
- export interface MultiSelectData extends DropDownStateBase {
30
- hasMounted: boolean;
31
- selectedItems?: Array<any>;
32
- valuesItemsDuringOnChange?: Array<any> | null;
33
- currentText?: string;
34
- currentFocusedIndex?: number;
35
- currentFocused?: boolean;
36
- currentOpened?: boolean;
37
- currentFocusedTag?: any;
38
- currentValue?: Array<any>;
39
- activedescendant?: ActiveDescendant;
40
- _skipFocusEvent: boolean;
41
- }
42
- /**
43
- * @hidden
44
- */
45
- export interface MultiSelectMethods {
46
- [key: string]: any;
47
- focus: (e: any) => void;
48
- computedValue: () => any;
49
- validity: () => FormComponentValidity;
50
- handleItemSelect: (index: number, state: InternalState) => void;
51
- onNavigate: (state: InternalState, keyCode: number) => void;
52
- handleFocus: (event: any) => void;
53
- handleBlur: (event: any) => void;
54
- handleWrapperClick: (event: any) => void;
55
- onTagDelete: (itemsToRemove: Array<any>, event: any) => void;
56
- onPopupOpened: () => void;
57
- onPopupClosed: () => void;
58
- clearButtonClick: (event: any) => void;
59
- searchBarRef: () => void;
60
- onInputKeyDown: (event: any) => void;
61
- onChangeHandler: (event: any) => void;
62
- handleItemClick: (index: number, event: any) => void;
63
- setItems: (srcItems: Array<any>, destItems: Array<any>) => void;
64
- itemFocus: (index: number, state: MultiSelectInternalState) => void;
65
- getFocusedState: () => ListFocusedState;
66
- customItemSelect: (e: any) => void;
67
- selectFocusedItem: (e: any) => void;
68
- focusElement: (element: HTMLElement) => void;
69
- onTagsNavigate: (event: any, state: MultiSelectInternalState) => void;
70
- setValidity: () => void;
71
- triggerOnChange: (item: any, state: InternalState) => void;
72
- applyState: (state: InternalState) => void;
73
- }
74
- /**
75
- * @hidden
76
- */
77
- export interface MultiSelectState {
78
- anchor: string;
79
- scrollToFocused: boolean;
80
- base: any;
81
- _tags: Array<TagData>;
82
- input: any;
83
- element: any;
84
- inputId: string;
85
- focusedIndex?: number;
86
- focusedTag?: TagData;
87
- prevOpened?: any;
88
- virtualTotalHasChanged?: any;
89
- prevCurrentOpened?: any;
90
- baseWrapperRef: any;
91
- inputRef: any;
92
- kendoAnchorRef: any;
93
- v3: boolean;
94
- }
95
- /**
96
- * @hidden
97
- */
98
- export interface MultiSelectComputed {
99
- [key: string]: any;
100
- spanClassNames: any;
101
- }
102
- /**
103
- * @hidden
104
- */
105
- export interface MultiSelectAll extends MultiSelectMethods, MultiSelectState, MultiSelectData, MultiSelectComputed, Vue2type {
106
- }
107
- /**
108
- * @hidden
109
- */
110
- declare let MultiSelectVue2: ComponentOptions<Vue2type, DefaultData<MultiSelectData>, DefaultMethods<MultiSelectAll>, MultiSelectComputed, RecordPropsDefinition<MultiSelectProps>>;
111
- /**
112
- * @hidden
113
- */
114
- declare const MultiSelect: DefineComponent<MultiSelectProps, any, MultiSelectData, MultiSelectComputed, MultiSelectMethods, {}, {}, {}, string, MultiSelectProps, MultiSelectProps, {}>;
115
- export { MultiSelect, MultiSelectVue2 };