@progress/kendo-vue-treelist 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 (263) hide show
  1. package/README.md +26 -34
  2. package/TreeList.js +8 -0
  3. package/TreeList.mjs +722 -0
  4. package/TreeListNav.js +8 -0
  5. package/TreeListNav.mjs +98 -0
  6. package/cells/EditCells/TreeListBooleanEditor.js +8 -0
  7. package/cells/EditCells/TreeListBooleanEditor.mjs +154 -0
  8. package/cells/EditCells/TreeListDateEditor.js +8 -0
  9. package/cells/EditCells/TreeListDateEditor.mjs +140 -0
  10. package/cells/EditCells/TreeListNumericEditor.js +8 -0
  11. package/cells/EditCells/TreeListNumericEditor.mjs +140 -0
  12. package/cells/EditCells/TreeListTextEditor.js +8 -0
  13. package/cells/EditCells/TreeListTextEditor.mjs +157 -0
  14. package/cells/FilterCells/TreeListBooleanFilter.js +8 -0
  15. package/cells/FilterCells/TreeListBooleanFilter.mjs +54 -0
  16. package/cells/FilterCells/TreeListDateFilter.js +8 -0
  17. package/cells/FilterCells/TreeListDateFilter.mjs +54 -0
  18. package/cells/FilterCells/TreeListNumericFilter.js +8 -0
  19. package/cells/FilterCells/TreeListNumericFilter.mjs +54 -0
  20. package/cells/FilterCells/TreeListTextFilter.js +8 -0
  21. package/cells/FilterCells/TreeListTextFilter.mjs +54 -0
  22. package/cells/FilterCells/utils.js +8 -0
  23. package/cells/FilterCells/utils.mjs +59 -0
  24. package/cells/TreeListCell.js +8 -0
  25. package/cells/TreeListCell.mjs +184 -0
  26. package/cells/TreeListSelectionCell.js +8 -0
  27. package/cells/TreeListSelectionCell.mjs +146 -0
  28. package/constants/main.js +8 -0
  29. package/constants/main.mjs +14 -0
  30. package/dist/cdn/js/kendo-vue-treelist.js +8 -1
  31. package/index.d.mts +1814 -0
  32. package/index.d.ts +1814 -0
  33. package/index.js +8 -0
  34. package/index.mjs +58 -0
  35. package/messages/main.js +8 -0
  36. package/messages/main.mjs +112 -0
  37. package/package-metadata.js +8 -0
  38. package/package-metadata.mjs +18 -0
  39. package/package.json +24 -61
  40. package/rows/RowDragClue.js +8 -0
  41. package/rows/RowDragClue.mjs +56 -0
  42. package/rows/TreeListDraggableRow.js +8 -0
  43. package/rows/TreeListDraggableRow.mjs +113 -0
  44. package/rows/TreeListRow.js +8 -0
  45. package/rows/TreeListRow.mjs +124 -0
  46. package/utils/data-operations.js +8 -0
  47. package/utils/data-operations.mjs +103 -0
  48. package/utils/main.js +8 -0
  49. package/utils/main.mjs +53 -0
  50. package/dist/es/ScrollMode.d.ts +0 -1
  51. package/dist/es/ScrollMode.js +0 -1
  52. package/dist/es/TreeList.d.ts +0 -56
  53. package/dist/es/TreeList.js +0 -1289
  54. package/dist/es/TreeListNav.d.ts +0 -46
  55. package/dist/es/TreeListNav.js +0 -123
  56. package/dist/es/additionalTypes.ts +0 -21
  57. package/dist/es/cells/EditCells/TreeListBooleanEditor.d.ts +0 -49
  58. package/dist/es/cells/EditCells/TreeListBooleanEditor.js +0 -194
  59. package/dist/es/cells/EditCells/TreeListDateEditor.d.ts +0 -49
  60. package/dist/es/cells/EditCells/TreeListDateEditor.js +0 -174
  61. package/dist/es/cells/EditCells/TreeListNumericEditor.d.ts +0 -49
  62. package/dist/es/cells/EditCells/TreeListNumericEditor.js +0 -174
  63. package/dist/es/cells/EditCells/TreeListTextEditor.d.ts +0 -50
  64. package/dist/es/cells/EditCells/TreeListTextEditor.js +0 -190
  65. package/dist/es/cells/FilterCells/TreeListBooleanFilter.d.ts +0 -22
  66. package/dist/es/cells/FilterCells/TreeListBooleanFilter.js +0 -89
  67. package/dist/es/cells/FilterCells/TreeListDateFilter.d.ts +0 -22
  68. package/dist/es/cells/FilterCells/TreeListDateFilter.js +0 -89
  69. package/dist/es/cells/FilterCells/TreeListNumericFilter.d.ts +0 -22
  70. package/dist/es/cells/FilterCells/TreeListNumericFilter.js +0 -89
  71. package/dist/es/cells/FilterCells/TreeListTextFilter.d.ts +0 -25
  72. package/dist/es/cells/FilterCells/TreeListTextFilter.js +0 -89
  73. package/dist/es/cells/FilterCells/utils.d.ts +0 -38
  74. package/dist/es/cells/FilterCells/utils.js +0 -66
  75. package/dist/es/cells/TreeListCell.d.ts +0 -41
  76. package/dist/es/cells/TreeListCell.js +0 -256
  77. package/dist/es/cells/TreeListSelectionCell.d.ts +0 -41
  78. package/dist/es/cells/TreeListSelectionCell.js +0 -181
  79. package/dist/es/constants/main.d.ts +0 -6
  80. package/dist/es/constants/main.js +0 -7
  81. package/dist/es/interfaces/DataItemWrapper.d.ts +0 -10
  82. package/dist/es/interfaces/DataItemWrapper.js +0 -1
  83. package/dist/es/interfaces/TreeListCellProps.d.ts +0 -35
  84. package/dist/es/interfaces/TreeListCellProps.js +0 -1
  85. package/dist/es/interfaces/TreeListColumnProps.d.ts +0 -33
  86. package/dist/es/interfaces/TreeListColumnProps.js +0 -1
  87. package/dist/es/interfaces/TreeListFilterCellProps.d.ts +0 -6
  88. package/dist/es/interfaces/TreeListFilterCellProps.js +0 -1
  89. package/dist/es/interfaces/TreeListFilterOperator.d.ts +0 -6
  90. package/dist/es/interfaces/TreeListFilterOperator.js +0 -1
  91. package/dist/es/interfaces/TreeListHeaderCellProps.d.ts +0 -6
  92. package/dist/es/interfaces/TreeListHeaderCellProps.js +0 -1
  93. package/dist/es/interfaces/TreeListProps.d.ts +0 -345
  94. package/dist/es/interfaces/TreeListProps.js +0 -1
  95. package/dist/es/interfaces/TreeListRowProps.d.ts +0 -92
  96. package/dist/es/interfaces/TreeListRowProps.js +0 -1
  97. package/dist/es/interfaces/TreeListSelectableSettings.d.ts +0 -18
  98. package/dist/es/interfaces/TreeListSelectableSettings.js +0 -1
  99. package/dist/es/interfaces/TreeListSortSettings.d.ts +0 -9
  100. package/dist/es/interfaces/TreeListSortSettings.js +0 -1
  101. package/dist/es/interfaces/TreeListToolbarProps.d.ts +0 -5
  102. package/dist/es/interfaces/TreeListToolbarProps.js +0 -1
  103. package/dist/es/interfaces/events.d.ts +0 -286
  104. package/dist/es/interfaces/events.js +0 -1
  105. package/dist/es/main.d.ts +0 -27
  106. package/dist/es/main.js +0 -17
  107. package/dist/es/messages/main.d.ts +0 -239
  108. package/dist/es/messages/main.js +0 -240
  109. package/dist/es/package-metadata.d.ts +0 -5
  110. package/dist/es/package-metadata.js +0 -11
  111. package/dist/es/rows/RowDragClue.d.ts +0 -40
  112. package/dist/es/rows/RowDragClue.js +0 -76
  113. package/dist/es/rows/TreeListDraggableRow.d.ts +0 -38
  114. package/dist/es/rows/TreeListDraggableRow.js +0 -175
  115. package/dist/es/rows/TreeListRow.d.ts +0 -36
  116. package/dist/es/rows/TreeListRow.js +0 -154
  117. package/dist/es/utils/data-operations.d.ts +0 -115
  118. package/dist/es/utils/data-operations.js +0 -250
  119. package/dist/es/utils/main.d.ts +0 -17
  120. package/dist/es/utils/main.js +0 -68
  121. package/dist/esm/ScrollMode.d.ts +0 -1
  122. package/dist/esm/ScrollMode.js +0 -1
  123. package/dist/esm/TreeList.d.ts +0 -56
  124. package/dist/esm/TreeList.js +0 -1289
  125. package/dist/esm/TreeListNav.d.ts +0 -46
  126. package/dist/esm/TreeListNav.js +0 -123
  127. package/dist/esm/additionalTypes.ts +0 -21
  128. package/dist/esm/cells/EditCells/TreeListBooleanEditor.d.ts +0 -49
  129. package/dist/esm/cells/EditCells/TreeListBooleanEditor.js +0 -194
  130. package/dist/esm/cells/EditCells/TreeListDateEditor.d.ts +0 -49
  131. package/dist/esm/cells/EditCells/TreeListDateEditor.js +0 -174
  132. package/dist/esm/cells/EditCells/TreeListNumericEditor.d.ts +0 -49
  133. package/dist/esm/cells/EditCells/TreeListNumericEditor.js +0 -174
  134. package/dist/esm/cells/EditCells/TreeListTextEditor.d.ts +0 -50
  135. package/dist/esm/cells/EditCells/TreeListTextEditor.js +0 -190
  136. package/dist/esm/cells/FilterCells/TreeListBooleanFilter.d.ts +0 -22
  137. package/dist/esm/cells/FilterCells/TreeListBooleanFilter.js +0 -89
  138. package/dist/esm/cells/FilterCells/TreeListDateFilter.d.ts +0 -22
  139. package/dist/esm/cells/FilterCells/TreeListDateFilter.js +0 -89
  140. package/dist/esm/cells/FilterCells/TreeListNumericFilter.d.ts +0 -22
  141. package/dist/esm/cells/FilterCells/TreeListNumericFilter.js +0 -89
  142. package/dist/esm/cells/FilterCells/TreeListTextFilter.d.ts +0 -25
  143. package/dist/esm/cells/FilterCells/TreeListTextFilter.js +0 -89
  144. package/dist/esm/cells/FilterCells/utils.d.ts +0 -38
  145. package/dist/esm/cells/FilterCells/utils.js +0 -66
  146. package/dist/esm/cells/TreeListCell.d.ts +0 -41
  147. package/dist/esm/cells/TreeListCell.js +0 -256
  148. package/dist/esm/cells/TreeListSelectionCell.d.ts +0 -41
  149. package/dist/esm/cells/TreeListSelectionCell.js +0 -181
  150. package/dist/esm/constants/main.d.ts +0 -6
  151. package/dist/esm/constants/main.js +0 -7
  152. package/dist/esm/interfaces/DataItemWrapper.d.ts +0 -10
  153. package/dist/esm/interfaces/DataItemWrapper.js +0 -1
  154. package/dist/esm/interfaces/TreeListCellProps.d.ts +0 -35
  155. package/dist/esm/interfaces/TreeListCellProps.js +0 -1
  156. package/dist/esm/interfaces/TreeListColumnProps.d.ts +0 -33
  157. package/dist/esm/interfaces/TreeListColumnProps.js +0 -1
  158. package/dist/esm/interfaces/TreeListFilterCellProps.d.ts +0 -6
  159. package/dist/esm/interfaces/TreeListFilterCellProps.js +0 -1
  160. package/dist/esm/interfaces/TreeListFilterOperator.d.ts +0 -6
  161. package/dist/esm/interfaces/TreeListFilterOperator.js +0 -1
  162. package/dist/esm/interfaces/TreeListHeaderCellProps.d.ts +0 -6
  163. package/dist/esm/interfaces/TreeListHeaderCellProps.js +0 -1
  164. package/dist/esm/interfaces/TreeListProps.d.ts +0 -345
  165. package/dist/esm/interfaces/TreeListProps.js +0 -1
  166. package/dist/esm/interfaces/TreeListRowProps.d.ts +0 -92
  167. package/dist/esm/interfaces/TreeListRowProps.js +0 -1
  168. package/dist/esm/interfaces/TreeListSelectableSettings.d.ts +0 -18
  169. package/dist/esm/interfaces/TreeListSelectableSettings.js +0 -1
  170. package/dist/esm/interfaces/TreeListSortSettings.d.ts +0 -9
  171. package/dist/esm/interfaces/TreeListSortSettings.js +0 -1
  172. package/dist/esm/interfaces/TreeListToolbarProps.d.ts +0 -5
  173. package/dist/esm/interfaces/TreeListToolbarProps.js +0 -1
  174. package/dist/esm/interfaces/events.d.ts +0 -286
  175. package/dist/esm/interfaces/events.js +0 -1
  176. package/dist/esm/main.d.ts +0 -27
  177. package/dist/esm/main.js +0 -17
  178. package/dist/esm/messages/main.d.ts +0 -239
  179. package/dist/esm/messages/main.js +0 -240
  180. package/dist/esm/package-metadata.d.ts +0 -5
  181. package/dist/esm/package-metadata.js +0 -11
  182. package/dist/esm/package.json +0 -3
  183. package/dist/esm/rows/RowDragClue.d.ts +0 -40
  184. package/dist/esm/rows/RowDragClue.js +0 -76
  185. package/dist/esm/rows/TreeListDraggableRow.d.ts +0 -38
  186. package/dist/esm/rows/TreeListDraggableRow.js +0 -175
  187. package/dist/esm/rows/TreeListRow.d.ts +0 -36
  188. package/dist/esm/rows/TreeListRow.js +0 -154
  189. package/dist/esm/utils/data-operations.d.ts +0 -115
  190. package/dist/esm/utils/data-operations.js +0 -250
  191. package/dist/esm/utils/main.d.ts +0 -17
  192. package/dist/esm/utils/main.js +0 -68
  193. package/dist/npm/ScrollMode.d.ts +0 -1
  194. package/dist/npm/ScrollMode.js +0 -2
  195. package/dist/npm/TreeList.d.ts +0 -56
  196. package/dist/npm/TreeList.js +0 -1296
  197. package/dist/npm/TreeListNav.d.ts +0 -46
  198. package/dist/npm/TreeListNav.js +0 -130
  199. package/dist/npm/additionalTypes.ts +0 -21
  200. package/dist/npm/cells/EditCells/TreeListBooleanEditor.d.ts +0 -49
  201. package/dist/npm/cells/EditCells/TreeListBooleanEditor.js +0 -201
  202. package/dist/npm/cells/EditCells/TreeListDateEditor.d.ts +0 -49
  203. package/dist/npm/cells/EditCells/TreeListDateEditor.js +0 -181
  204. package/dist/npm/cells/EditCells/TreeListNumericEditor.d.ts +0 -49
  205. package/dist/npm/cells/EditCells/TreeListNumericEditor.js +0 -181
  206. package/dist/npm/cells/EditCells/TreeListTextEditor.d.ts +0 -50
  207. package/dist/npm/cells/EditCells/TreeListTextEditor.js +0 -197
  208. package/dist/npm/cells/FilterCells/TreeListBooleanFilter.d.ts +0 -22
  209. package/dist/npm/cells/FilterCells/TreeListBooleanFilter.js +0 -96
  210. package/dist/npm/cells/FilterCells/TreeListDateFilter.d.ts +0 -22
  211. package/dist/npm/cells/FilterCells/TreeListDateFilter.js +0 -96
  212. package/dist/npm/cells/FilterCells/TreeListNumericFilter.d.ts +0 -22
  213. package/dist/npm/cells/FilterCells/TreeListNumericFilter.js +0 -96
  214. package/dist/npm/cells/FilterCells/TreeListTextFilter.d.ts +0 -25
  215. package/dist/npm/cells/FilterCells/TreeListTextFilter.js +0 -96
  216. package/dist/npm/cells/FilterCells/utils.d.ts +0 -38
  217. package/dist/npm/cells/FilterCells/utils.js +0 -70
  218. package/dist/npm/cells/TreeListCell.d.ts +0 -41
  219. package/dist/npm/cells/TreeListCell.js +0 -263
  220. package/dist/npm/cells/TreeListSelectionCell.d.ts +0 -41
  221. package/dist/npm/cells/TreeListSelectionCell.js +0 -188
  222. package/dist/npm/constants/main.d.ts +0 -6
  223. package/dist/npm/constants/main.js +0 -10
  224. package/dist/npm/interfaces/DataItemWrapper.d.ts +0 -10
  225. package/dist/npm/interfaces/DataItemWrapper.js +0 -2
  226. package/dist/npm/interfaces/TreeListCellProps.d.ts +0 -35
  227. package/dist/npm/interfaces/TreeListCellProps.js +0 -2
  228. package/dist/npm/interfaces/TreeListColumnProps.d.ts +0 -33
  229. package/dist/npm/interfaces/TreeListColumnProps.js +0 -2
  230. package/dist/npm/interfaces/TreeListFilterCellProps.d.ts +0 -6
  231. package/dist/npm/interfaces/TreeListFilterCellProps.js +0 -2
  232. package/dist/npm/interfaces/TreeListFilterOperator.d.ts +0 -6
  233. package/dist/npm/interfaces/TreeListFilterOperator.js +0 -2
  234. package/dist/npm/interfaces/TreeListHeaderCellProps.d.ts +0 -6
  235. package/dist/npm/interfaces/TreeListHeaderCellProps.js +0 -2
  236. package/dist/npm/interfaces/TreeListProps.d.ts +0 -345
  237. package/dist/npm/interfaces/TreeListProps.js +0 -2
  238. package/dist/npm/interfaces/TreeListRowProps.d.ts +0 -92
  239. package/dist/npm/interfaces/TreeListRowProps.js +0 -2
  240. package/dist/npm/interfaces/TreeListSelectableSettings.d.ts +0 -18
  241. package/dist/npm/interfaces/TreeListSelectableSettings.js +0 -2
  242. package/dist/npm/interfaces/TreeListSortSettings.d.ts +0 -9
  243. package/dist/npm/interfaces/TreeListSortSettings.js +0 -2
  244. package/dist/npm/interfaces/TreeListToolbarProps.d.ts +0 -5
  245. package/dist/npm/interfaces/TreeListToolbarProps.js +0 -5
  246. package/dist/npm/interfaces/events.d.ts +0 -286
  247. package/dist/npm/interfaces/events.js +0 -2
  248. package/dist/npm/main.d.ts +0 -27
  249. package/dist/npm/main.js +0 -52
  250. package/dist/npm/messages/main.d.ts +0 -239
  251. package/dist/npm/messages/main.js +0 -244
  252. package/dist/npm/package-metadata.d.ts +0 -5
  253. package/dist/npm/package-metadata.js +0 -14
  254. package/dist/npm/rows/RowDragClue.d.ts +0 -40
  255. package/dist/npm/rows/RowDragClue.js +0 -83
  256. package/dist/npm/rows/TreeListDraggableRow.d.ts +0 -38
  257. package/dist/npm/rows/TreeListDraggableRow.js +0 -182
  258. package/dist/npm/rows/TreeListRow.d.ts +0 -36
  259. package/dist/npm/rows/TreeListRow.js +0 -161
  260. package/dist/npm/utils/data-operations.d.ts +0 -115
  261. package/dist/npm/utils/data-operations.js +0 -265
  262. package/dist/npm/utils/main.d.ts +0 -17
  263. package/dist/npm/utils/main.js +0 -74
@@ -1,345 +0,0 @@
1
- import { SortDescriptor, FilterDescriptor, CompositeFilterDescriptor } from '@progress/kendo-data-query';
2
- import { TreeListSortChangeEvent, TreeListFilterChangeEvent, TreeListExpandChangeEvent, TreeListSelectionChangeEvent, TreeListHeaderSelectionChangeEvent, TreeListItemChangeEvent, TreeListDataStateChangeEvent, TreeListRowClickEvent, TreeListColumnResizeEvent, TreeListColumnReorderEvent, TreeListPageChangeEvent, TreeListRowDragEvent, TreeListColumnMenuFilterChangeEvent, TreeListRowDoubleClickEvent, TreeListRowContextMenuEvent, TreeListKeyDownEvent, TreeListRowEvent } from './events';
3
- import { ScrollMode } from '../ScrollMode';
4
- import { SortSettings as TreeListSortSettings, FilterOperators } from '@progress/kendo-vue-data-tools';
5
- import { TreeListColumnProps } from './TreeListColumnProps';
6
- import { TreeListSelectableSettings } from './TreeListSelectableSettings';
7
- /**
8
- * Represents the props of the [Kendo UI for Vue TreeList component]({% slug get_started_treelist %}).
9
- */
10
- export interface TreeListProps {
11
- /**
12
- * Sets the TreeList row key prop to the value of this field in the dataItem.
13
- * If not set, the dataItem index will be used for the row key, which might lead to row not updated during paging or scrolling.
14
- */
15
- dataItemKey?: string;
16
- /**
17
- * A collection of `TreeListColumnProps` for creating columns.
18
- */
19
- columns?: TreeListColumnProps[];
20
- /**
21
- * Enables the virtualization of the columns
22
- * ([see example]({% slug virtual_columns_treelist %})).
23
- * If enabled, the columns outside the viewport are not rendered.
24
- */
25
- columnVirtualization?: boolean;
26
- /**
27
- * Sets the data of the TreeList.
28
- */
29
- dataItems?: any[];
30
- /**
31
- * Enables sorting ([see example]({% slug sorting_treelist %})).
32
- */
33
- sortable?: TreeListSortSettings;
34
- /**
35
- * Fires when the sorting of the TreeList is changed ([see example]({% slug sorting_treelist %})).
36
- * You have to handle the event yourself and sort the data.
37
- */
38
- onSortchange?: (event: TreeListSortChangeEvent) => void;
39
- /**
40
- * The descriptors by which the data is sorted. Applies the sorting styles and buttons to the affected columns.
41
- */
42
- sort?: SortDescriptor[];
43
- /**
44
- * If set, it will be rendered instead of the default `FilterRow` TreeList component.
45
- */
46
- filterRow?: any;
47
- /**
48
- * If set and when the data item is in edit mode, the `editRow` value will be rendered.
49
- */
50
- /**
51
- * @hidden
52
- */
53
- editRow?: any;
54
- /**
55
- * Configures the `size` of the TreeList.
56
- *
57
- * The available options are:
58
- * - small
59
- * - medium
60
- *
61
- * @default `medium`
62
- */
63
- size?: 'small' | 'medium' | string;
64
- /**
65
- * Represents the TreeList toolbar component.
66
- */
67
- toolbar?: any;
68
- /**
69
- * Represents the component that will be rendered when the `data` property of the TreeList is empty or undefined.
70
- */
71
- noRecords?: any;
72
- /**
73
- * The descriptors by which the data is filtered ([more information and examples]({% slug filtering_treelist %})).
74
- * This affects the values and buttons in the `FilterRow` of the TreeList.
75
- */
76
- filter?: FilterDescriptor[];
77
- /**
78
- * Enables the filtering of the columns with their `field` option set
79
- */
80
- filterable?: boolean;
81
- /**
82
- * The filter operators for the filters.
83
- */
84
- filterOperators?: FilterOperators;
85
- /**
86
- * Fires when the TreeList filter is modified through the UI
87
- * ([more information and examples]({% slug filtering_treelist %})).
88
- * You have to handle the event yourself and filter the data.
89
- */
90
- onFilterchange?: (event: TreeListFilterChangeEvent) => void;
91
- /**
92
- * Fires when the user clicks on the expand or collapse icon of a row.
93
- */
94
- onExpandchange?: (event: TreeListExpandChangeEvent) => void;
95
- /**
96
- * Specifies the name of the field which will provide a Boolean representation of the expanded state of the item.
97
- */
98
- expandField?: string;
99
- /**
100
- * Specifies the name of the field which will provide an array representation of the item subitems.
101
- */
102
- subItemsField?: string;
103
- /**
104
- * The TreeList selectable settings.
105
- */
106
- /**
107
- * @hidden
108
- */
109
- selectable?: TreeListSelectableSettings;
110
- /**
111
- * Specifies the name of the field which will provide a Boolean representation of the selected state of the item
112
- * ([see example]({% slug selection_treelist %})).
113
- */
114
- /**
115
- * @hidden
116
- */
117
- selectedField?: string;
118
- /**
119
- * Fires when the user tries to select or deselect a row or cell.
120
- * ([more information and example]({% slug selection_treelist %})).
121
- */
122
- /**
123
- * @hidden
124
- */
125
- onSelectionchange?: (event: TreeListSelectionChangeEvent) => void;
126
- /**
127
- * Fires when the user press keyboard key.
128
- */
129
- onKeyDown?: (event: TreeListKeyDownEvent) => void;
130
- /**
131
- * Fires when the user clicks the checkbox of a column header whose `field` matches `selectedField`
132
- * ([more information and example]({% slug selection_treelist %})).
133
- */
134
- /**
135
- * @hidden
136
- */
137
- onHeaderselectionchange?: (event: TreeListHeaderSelectionChangeEvent) => void;
138
- /**
139
- * Fires when the user changes the values of the item.
140
- * The event is not debounced and fires on every `onChange` event of the input in the current `EditCell`
141
- * ([more information and examples]({% slug editing_inline_treelist %})).
142
- */
143
- /**
144
- * @hidden
145
- */
146
- onItemchange?: (event: TreeListItemChangeEvent) => void;
147
- /**
148
- * Fires when the user clicks a row.
149
- */
150
- onRowclick?: (event: TreeListRowClickEvent) => void;
151
- /**
152
- * Fires when the user double clicks a row.
153
- */
154
- /**
155
- * @hidden
156
- */
157
- onRowdoubleclick?: (event: TreeListRowDoubleClickEvent) => void;
158
- /**
159
- * Fires when the user trigger the context menu of row.
160
- */
161
- onRowcontextmenu?: (event: TreeListRowContextMenuEvent) => void;
162
- /**
163
- * Fires when the mouse down is triggered on a row.
164
- */
165
- /**
166
- * @hidden
167
- */
168
- onRowmousedown?: (event: TreeListRowEvent) => void;
169
- /**
170
- * Fires when the mouse up is triggered on a row.
171
- */
172
- /**
173
- * @hidden
174
- */
175
- onRowmouseup?: (event: TreeListRowEvent) => void;
176
- /**
177
- * Fires when focus event is triggered on a row.
178
- */
179
- onRowfocus?: (event: TreeListRowEvent) => void;
180
- /**
181
- * Fires when blur event is triggered on a row.
182
- */
183
- onRowblur?: (event: TreeListRowEvent) => void;
184
- /**
185
- * Specifies the name of the field which will provide a Boolean representation of the edit state of the current item
186
- * ([more information and examples]({% slug editing_inline_treelist %})).
187
- */
188
- /**
189
- * @hidden
190
- */
191
- editField?: string;
192
- /**
193
- * Defines the scroll mode of the TreeList.
194
- *
195
- * The available options are:
196
- * - `none`—Renders no scrollbar.
197
- * - `scrollable`—Represents the default scroll mode of the TreeList.
198
- * Requires you to set the `overflow` and `height` (for vertical scrolling),
199
- * or `width` (for horizontal scrolling) styles.
200
- * - `virtual`—Enables the vertical virtual scrolling of the TreeList.
201
- * Requires you to set the `overflow` and `height` styles and `rowHeight` prop of the TreeList.
202
- */
203
- scrollable?: ScrollMode | string;
204
- /**
205
- * If set to `true`, the user can resize columns by dragging the edges (resize handles) of their header cells.
206
- */
207
- /**
208
- * @hidden
209
- */
210
- resizable?: boolean;
211
- /**
212
- * If set to `true`, the user can reorder columns by dragging their header cells.
213
- */
214
- /**
215
- * @hidden
216
- */
217
- reorderable?: boolean;
218
- /**
219
- * If set to `true`, the user can drag and drop rows.
220
- */
221
- /**
222
- * @hidden
223
- */
224
- rowDraggable?: boolean;
225
- /**
226
- * Defines the row height and implements equal heights for all rows.
227
- */
228
- rowHeight?: number;
229
- /**
230
- * A props object that will be passed to the underlying HTML table.
231
- */
232
- tableProps?: any;
233
- /**
234
- * Configures the pager of the TreeList.
235
- *
236
- * The available options are:
237
- * - `buttonCount: Number`—Sets the maximum numeric buttons count before the buttons are collapsed.
238
- * - `info: Boolean`—Toggles the information about the current page and the total number of records.
239
- * - `type: PagerType`—Accepts the `numeric` (buttons with numbers)
240
- * and `input` (input for typing the page number) values.
241
- * - `pageSizes: Boolean` or `Array<number>`&mdash;Shows a menu for selecting the page size.
242
- * - `previousNext: Boolean`&mdash;Toggles the **Previous** and **Next** buttons.
243
- */
244
- pageable?: any;
245
- /**
246
- * A function that returns a custom class applied to the row.
247
- * @param item - the item for the row.
248
- */
249
- rowClass?: Function;
250
- /**
251
- * @hidden
252
- */
253
- columnMenu?: any;
254
- /**
255
- * @hidden
256
- */
257
- columnMenuFilter?: CompositeFilterDescriptor[];
258
- /**
259
- * @hidden
260
- */
261
- onColumnmenufilterchange?: (event: TreeListColumnMenuFilterChangeEvent) => void;
262
- /**
263
- * The pager component that the TreeList will render.
264
- */
265
- pager?: any;
266
- /**
267
- * The number of records that will be skipped.
268
- */
269
- skip?: number;
270
- /**
271
- * The number of records that will be taken.
272
- */
273
- take?: number;
274
- /**
275
- * The styles of the wrapper component.
276
- */
277
- wrapperStyle?: Object;
278
- /**
279
- * The TreeList row component.
280
- */
281
- /**
282
- * @hidden
283
- */
284
- row?: any;
285
- /**
286
- * If set to `true`, the rows of the TreeList can be reordered.
287
- */
288
- reordableRows?: boolean;
289
- /**
290
- * If set to `true`, the user can use dedicated shortcuts to interact with the TreeList.
291
- * By default, navigation is disabled and the TreeList content is accessible in the normal tab sequence.
292
- */
293
- navigatable?: boolean;
294
- /**
295
- * Fires when the page of the TreeList is changed.
296
- */
297
- onPagechange?: (event: TreeListPageChangeEvent) => void;
298
- /**
299
- * Fires when the data state of the TreeList is changed.
300
- */
301
- onDatastatechange?: (event: TreeListDataStateChangeEvent) => void;
302
- /**
303
- * Fires when a column is resized.
304
- */
305
- /**
306
- * @hidden
307
- */
308
- onColumnresize?: (event: TreeListColumnResizeEvent) => void;
309
- /**
310
- * Fires when the columns are reordered.
311
- */
312
- /**
313
- * @hidden
314
- */
315
- onColumnreorder?: (event: TreeListColumnReorderEvent) => void;
316
- /**
317
- * Fires when a row is dragged.
318
- */
319
- /**
320
- * @hidden
321
- */
322
- onRowdrag?: (event: TreeListRowDragEvent) => void;
323
- /**
324
- * Fires when a row is dragged and dropped.
325
- */
326
- /**
327
- * @hidden
328
- */
329
- onRowdrop?: (event: TreeListRowDragEvent) => void;
330
- /**
331
- * Fires when a row is about to be rendered. Useful for overriding the default rendering of the row.
332
- */
333
- /**
334
- * @hidden
335
- */
336
- rowRender?: any;
337
- /**
338
- * Fires when a cell is about to be rendered. Useful for overriding the default rendering of the cell.
339
- */
340
- cellRender?: any;
341
- /**
342
- * Fires when a header cell is about to be rendered. Useful for overriding the default rendering of the header cell.
343
- */
344
- headerCellRender?: any;
345
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,92 +0,0 @@
1
- /**
2
- * The props that the TreeList passes to the TreeListRow component when creating it.
3
- * Accessible during the `rowRender` callback of the TreeList.
4
- */
5
- export interface TreeListRowProps {
6
- /**
7
- * The class that is applied to the row.
8
- */
9
- className: string;
10
- /**
11
- * The `data` object that represents the current row.
12
- */
13
- dataItem: any;
14
- /**
15
- * The event that is fired when the row is clicked.
16
- */
17
- onClick?: any;
18
- /**
19
- * The event that is fired when the row is double clicked.
20
- */
21
- onDoubleClick?: any;
22
- /**
23
- * The event that is fired when the row context menu is triggered.
24
- */
25
- onContextmenu?: any;
26
- /**
27
- * The name of the field which will provide a Boolean representation of the selected state of the item.
28
- */
29
- selectedField?: string;
30
- /**
31
- * Sets the height of the row.
32
- */
33
- rowHeight?: number;
34
- /**
35
- * A function for overriding the default rendering of the row.
36
- */
37
- render?: any;
38
- /**
39
- * An array of indexes of each parent and current item in the data tree.
40
- */
41
- level: number[];
42
- /**
43
- * Fires when a row is dragged.
44
- */
45
- onDrag?: (event: {
46
- nativeEvent: any;
47
- dragged: number[];
48
- draggedOver: number[] | null;
49
- draggedItem: any;
50
- }) => void;
51
- /**
52
- * Fires when a row is dragged and dropped.
53
- */
54
- onDrop?: (event: {
55
- nativeEvent: any;
56
- dragged: number[];
57
- draggedOver: number[] | null;
58
- draggedItem: any;
59
- }) => void;
60
- /**
61
- * The expanded state of the row. Useful for applying `aria-expanded` accessibility attribute.
62
- */
63
- expanded: boolean;
64
- /**
65
- * The index of the row. Useful for applying `aria-rowindex` accessibility attribute.
66
- */
67
- rowIndex: number;
68
- /**
69
- * @hidden
70
- */
71
- levels: number[][];
72
- /**
73
- * @hidden
74
- */
75
- isAltRow?: boolean;
76
- /**
77
- * The index to be applied to the `aria-rowindex` attribute.
78
- */
79
- ariaRowIndex?: number;
80
- /**
81
- * The count of items on current level, applied to the `aria-setsize` attribute.
82
- */
83
- ariaSetSize?: number;
84
- /**
85
- * The index of the item on current level, applied to the `aria-posinset` attribute.
86
- */
87
- ariaPosInSet?: number;
88
- /**
89
- * Indicates if the row is selected.
90
- */
91
- isSelected: boolean;
92
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,18 +0,0 @@
1
- import { TableSelectableMode, TableSelectableSettings } from '@progress/kendo-vue-data-tools';
2
- /**
3
- * Represents the available selection modes.
4
- */
5
- export declare type TreeListSelectableMode = TableSelectableMode;
6
- /**
7
- * Represents the TreeList selectable settings.
8
- */
9
- export interface TreeListSelectableSettings extends TableSelectableSettings {
10
- /**
11
- * The available values are:
12
- * * `single`
13
- * * `multiple`
14
- *
15
- * @default "multiple"
16
- */
17
- mode?: TreeListSelectableMode;
18
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,9 +0,0 @@
1
- import { ColumnSortSettings, SortSettings } from '@progress/kendo-vue-data-tools';
2
- /**
3
- * The settings for sorting the TreeList columns.
4
- */
5
- export declare type TreeListColumnSortSettings = ColumnSortSettings;
6
- /**
7
- * The settings for sorting the TreeList data.
8
- */
9
- export declare type TreeListSortSettings = SortSettings;
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +0,0 @@
1
- /**
2
- * The props of the TreeListToolbar component.
3
- */
4
- export interface TreeListToolbarProps {
5
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });