@progress/kendo-vue-treelist 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.
- package/README.md +26 -34
- package/TreeList.js +8 -0
- package/TreeList.mjs +722 -0
- package/TreeListNav.js +8 -0
- package/TreeListNav.mjs +98 -0
- package/cells/EditCells/TreeListBooleanEditor.js +8 -0
- package/cells/EditCells/TreeListBooleanEditor.mjs +154 -0
- package/cells/EditCells/TreeListDateEditor.js +8 -0
- package/cells/EditCells/TreeListDateEditor.mjs +140 -0
- package/cells/EditCells/TreeListNumericEditor.js +8 -0
- package/cells/EditCells/TreeListNumericEditor.mjs +140 -0
- package/cells/EditCells/TreeListTextEditor.js +8 -0
- package/cells/EditCells/TreeListTextEditor.mjs +157 -0
- package/cells/FilterCells/TreeListBooleanFilter.js +8 -0
- package/cells/FilterCells/TreeListBooleanFilter.mjs +54 -0
- package/cells/FilterCells/TreeListDateFilter.js +8 -0
- package/cells/FilterCells/TreeListDateFilter.mjs +54 -0
- package/cells/FilterCells/TreeListNumericFilter.js +8 -0
- package/cells/FilterCells/TreeListNumericFilter.mjs +54 -0
- package/cells/FilterCells/TreeListTextFilter.js +8 -0
- package/cells/FilterCells/TreeListTextFilter.mjs +54 -0
- package/cells/FilterCells/utils.js +8 -0
- package/cells/FilterCells/utils.mjs +59 -0
- package/cells/TreeListCell.js +8 -0
- package/cells/TreeListCell.mjs +184 -0
- package/cells/TreeListSelectionCell.js +8 -0
- package/cells/TreeListSelectionCell.mjs +146 -0
- package/constants/main.js +8 -0
- package/constants/main.mjs +14 -0
- package/dist/cdn/js/kendo-vue-treelist.js +8 -1
- package/index.d.mts +1814 -0
- package/index.d.ts +1814 -0
- package/index.js +8 -0
- package/index.mjs +58 -0
- package/messages/main.js +8 -0
- package/messages/main.mjs +112 -0
- package/package-metadata.js +8 -0
- package/package-metadata.mjs +18 -0
- package/package.json +24 -61
- package/rows/RowDragClue.js +8 -0
- package/rows/RowDragClue.mjs +56 -0
- package/rows/TreeListDraggableRow.js +8 -0
- package/rows/TreeListDraggableRow.mjs +113 -0
- package/rows/TreeListRow.js +8 -0
- package/rows/TreeListRow.mjs +124 -0
- package/utils/data-operations.js +8 -0
- package/utils/data-operations.mjs +103 -0
- package/utils/main.js +8 -0
- package/utils/main.mjs +53 -0
- package/dist/es/ScrollMode.d.ts +0 -1
- package/dist/es/ScrollMode.js +0 -1
- package/dist/es/TreeList.d.ts +0 -56
- package/dist/es/TreeList.js +0 -1289
- package/dist/es/TreeListNav.d.ts +0 -46
- package/dist/es/TreeListNav.js +0 -123
- package/dist/es/additionalTypes.ts +0 -21
- package/dist/es/cells/EditCells/TreeListBooleanEditor.d.ts +0 -49
- package/dist/es/cells/EditCells/TreeListBooleanEditor.js +0 -194
- package/dist/es/cells/EditCells/TreeListDateEditor.d.ts +0 -49
- package/dist/es/cells/EditCells/TreeListDateEditor.js +0 -174
- package/dist/es/cells/EditCells/TreeListNumericEditor.d.ts +0 -49
- package/dist/es/cells/EditCells/TreeListNumericEditor.js +0 -174
- package/dist/es/cells/EditCells/TreeListTextEditor.d.ts +0 -50
- package/dist/es/cells/EditCells/TreeListTextEditor.js +0 -190
- package/dist/es/cells/FilterCells/TreeListBooleanFilter.d.ts +0 -22
- package/dist/es/cells/FilterCells/TreeListBooleanFilter.js +0 -89
- package/dist/es/cells/FilterCells/TreeListDateFilter.d.ts +0 -22
- package/dist/es/cells/FilterCells/TreeListDateFilter.js +0 -89
- package/dist/es/cells/FilterCells/TreeListNumericFilter.d.ts +0 -22
- package/dist/es/cells/FilterCells/TreeListNumericFilter.js +0 -89
- package/dist/es/cells/FilterCells/TreeListTextFilter.d.ts +0 -25
- package/dist/es/cells/FilterCells/TreeListTextFilter.js +0 -89
- package/dist/es/cells/FilterCells/utils.d.ts +0 -38
- package/dist/es/cells/FilterCells/utils.js +0 -66
- package/dist/es/cells/TreeListCell.d.ts +0 -41
- package/dist/es/cells/TreeListCell.js +0 -256
- package/dist/es/cells/TreeListSelectionCell.d.ts +0 -41
- package/dist/es/cells/TreeListSelectionCell.js +0 -181
- package/dist/es/constants/main.d.ts +0 -6
- package/dist/es/constants/main.js +0 -7
- package/dist/es/interfaces/DataItemWrapper.d.ts +0 -10
- package/dist/es/interfaces/DataItemWrapper.js +0 -1
- package/dist/es/interfaces/TreeListCellProps.d.ts +0 -35
- package/dist/es/interfaces/TreeListCellProps.js +0 -1
- package/dist/es/interfaces/TreeListColumnProps.d.ts +0 -33
- package/dist/es/interfaces/TreeListColumnProps.js +0 -1
- package/dist/es/interfaces/TreeListFilterCellProps.d.ts +0 -6
- package/dist/es/interfaces/TreeListFilterCellProps.js +0 -1
- package/dist/es/interfaces/TreeListFilterOperator.d.ts +0 -6
- package/dist/es/interfaces/TreeListFilterOperator.js +0 -1
- package/dist/es/interfaces/TreeListHeaderCellProps.d.ts +0 -6
- package/dist/es/interfaces/TreeListHeaderCellProps.js +0 -1
- package/dist/es/interfaces/TreeListProps.d.ts +0 -345
- package/dist/es/interfaces/TreeListProps.js +0 -1
- package/dist/es/interfaces/TreeListRowProps.d.ts +0 -92
- package/dist/es/interfaces/TreeListRowProps.js +0 -1
- package/dist/es/interfaces/TreeListSelectableSettings.d.ts +0 -18
- package/dist/es/interfaces/TreeListSelectableSettings.js +0 -1
- package/dist/es/interfaces/TreeListSortSettings.d.ts +0 -9
- package/dist/es/interfaces/TreeListSortSettings.js +0 -1
- package/dist/es/interfaces/TreeListToolbarProps.d.ts +0 -5
- package/dist/es/interfaces/TreeListToolbarProps.js +0 -1
- package/dist/es/interfaces/events.d.ts +0 -286
- package/dist/es/interfaces/events.js +0 -1
- package/dist/es/main.d.ts +0 -27
- package/dist/es/main.js +0 -17
- package/dist/es/messages/main.d.ts +0 -239
- package/dist/es/messages/main.js +0 -240
- package/dist/es/package-metadata.d.ts +0 -5
- package/dist/es/package-metadata.js +0 -11
- package/dist/es/rows/RowDragClue.d.ts +0 -40
- package/dist/es/rows/RowDragClue.js +0 -76
- package/dist/es/rows/TreeListDraggableRow.d.ts +0 -38
- package/dist/es/rows/TreeListDraggableRow.js +0 -175
- package/dist/es/rows/TreeListRow.d.ts +0 -36
- package/dist/es/rows/TreeListRow.js +0 -154
- package/dist/es/utils/data-operations.d.ts +0 -115
- package/dist/es/utils/data-operations.js +0 -250
- package/dist/es/utils/main.d.ts +0 -17
- package/dist/es/utils/main.js +0 -68
- package/dist/esm/ScrollMode.d.ts +0 -1
- package/dist/esm/ScrollMode.js +0 -1
- package/dist/esm/TreeList.d.ts +0 -56
- package/dist/esm/TreeList.js +0 -1289
- package/dist/esm/TreeListNav.d.ts +0 -46
- package/dist/esm/TreeListNav.js +0 -123
- package/dist/esm/additionalTypes.ts +0 -21
- package/dist/esm/cells/EditCells/TreeListBooleanEditor.d.ts +0 -49
- package/dist/esm/cells/EditCells/TreeListBooleanEditor.js +0 -194
- package/dist/esm/cells/EditCells/TreeListDateEditor.d.ts +0 -49
- package/dist/esm/cells/EditCells/TreeListDateEditor.js +0 -174
- package/dist/esm/cells/EditCells/TreeListNumericEditor.d.ts +0 -49
- package/dist/esm/cells/EditCells/TreeListNumericEditor.js +0 -174
- package/dist/esm/cells/EditCells/TreeListTextEditor.d.ts +0 -50
- package/dist/esm/cells/EditCells/TreeListTextEditor.js +0 -190
- package/dist/esm/cells/FilterCells/TreeListBooleanFilter.d.ts +0 -22
- package/dist/esm/cells/FilterCells/TreeListBooleanFilter.js +0 -89
- package/dist/esm/cells/FilterCells/TreeListDateFilter.d.ts +0 -22
- package/dist/esm/cells/FilterCells/TreeListDateFilter.js +0 -89
- package/dist/esm/cells/FilterCells/TreeListNumericFilter.d.ts +0 -22
- package/dist/esm/cells/FilterCells/TreeListNumericFilter.js +0 -89
- package/dist/esm/cells/FilterCells/TreeListTextFilter.d.ts +0 -25
- package/dist/esm/cells/FilterCells/TreeListTextFilter.js +0 -89
- package/dist/esm/cells/FilterCells/utils.d.ts +0 -38
- package/dist/esm/cells/FilterCells/utils.js +0 -66
- package/dist/esm/cells/TreeListCell.d.ts +0 -41
- package/dist/esm/cells/TreeListCell.js +0 -256
- package/dist/esm/cells/TreeListSelectionCell.d.ts +0 -41
- package/dist/esm/cells/TreeListSelectionCell.js +0 -181
- package/dist/esm/constants/main.d.ts +0 -6
- package/dist/esm/constants/main.js +0 -7
- package/dist/esm/interfaces/DataItemWrapper.d.ts +0 -10
- package/dist/esm/interfaces/DataItemWrapper.js +0 -1
- package/dist/esm/interfaces/TreeListCellProps.d.ts +0 -35
- package/dist/esm/interfaces/TreeListCellProps.js +0 -1
- package/dist/esm/interfaces/TreeListColumnProps.d.ts +0 -33
- package/dist/esm/interfaces/TreeListColumnProps.js +0 -1
- package/dist/esm/interfaces/TreeListFilterCellProps.d.ts +0 -6
- package/dist/esm/interfaces/TreeListFilterCellProps.js +0 -1
- package/dist/esm/interfaces/TreeListFilterOperator.d.ts +0 -6
- package/dist/esm/interfaces/TreeListFilterOperator.js +0 -1
- package/dist/esm/interfaces/TreeListHeaderCellProps.d.ts +0 -6
- package/dist/esm/interfaces/TreeListHeaderCellProps.js +0 -1
- package/dist/esm/interfaces/TreeListProps.d.ts +0 -345
- package/dist/esm/interfaces/TreeListProps.js +0 -1
- package/dist/esm/interfaces/TreeListRowProps.d.ts +0 -92
- package/dist/esm/interfaces/TreeListRowProps.js +0 -1
- package/dist/esm/interfaces/TreeListSelectableSettings.d.ts +0 -18
- package/dist/esm/interfaces/TreeListSelectableSettings.js +0 -1
- package/dist/esm/interfaces/TreeListSortSettings.d.ts +0 -9
- package/dist/esm/interfaces/TreeListSortSettings.js +0 -1
- package/dist/esm/interfaces/TreeListToolbarProps.d.ts +0 -5
- package/dist/esm/interfaces/TreeListToolbarProps.js +0 -1
- package/dist/esm/interfaces/events.d.ts +0 -286
- package/dist/esm/interfaces/events.js +0 -1
- package/dist/esm/main.d.ts +0 -27
- package/dist/esm/main.js +0 -17
- package/dist/esm/messages/main.d.ts +0 -239
- package/dist/esm/messages/main.js +0 -240
- package/dist/esm/package-metadata.d.ts +0 -5
- package/dist/esm/package-metadata.js +0 -11
- package/dist/esm/package.json +0 -3
- package/dist/esm/rows/RowDragClue.d.ts +0 -40
- package/dist/esm/rows/RowDragClue.js +0 -76
- package/dist/esm/rows/TreeListDraggableRow.d.ts +0 -38
- package/dist/esm/rows/TreeListDraggableRow.js +0 -175
- package/dist/esm/rows/TreeListRow.d.ts +0 -36
- package/dist/esm/rows/TreeListRow.js +0 -154
- package/dist/esm/utils/data-operations.d.ts +0 -115
- package/dist/esm/utils/data-operations.js +0 -250
- package/dist/esm/utils/main.d.ts +0 -17
- package/dist/esm/utils/main.js +0 -68
- package/dist/npm/ScrollMode.d.ts +0 -1
- package/dist/npm/ScrollMode.js +0 -2
- package/dist/npm/TreeList.d.ts +0 -56
- package/dist/npm/TreeList.js +0 -1296
- package/dist/npm/TreeListNav.d.ts +0 -46
- package/dist/npm/TreeListNav.js +0 -130
- package/dist/npm/additionalTypes.ts +0 -21
- package/dist/npm/cells/EditCells/TreeListBooleanEditor.d.ts +0 -49
- package/dist/npm/cells/EditCells/TreeListBooleanEditor.js +0 -201
- package/dist/npm/cells/EditCells/TreeListDateEditor.d.ts +0 -49
- package/dist/npm/cells/EditCells/TreeListDateEditor.js +0 -181
- package/dist/npm/cells/EditCells/TreeListNumericEditor.d.ts +0 -49
- package/dist/npm/cells/EditCells/TreeListNumericEditor.js +0 -181
- package/dist/npm/cells/EditCells/TreeListTextEditor.d.ts +0 -50
- package/dist/npm/cells/EditCells/TreeListTextEditor.js +0 -197
- package/dist/npm/cells/FilterCells/TreeListBooleanFilter.d.ts +0 -22
- package/dist/npm/cells/FilterCells/TreeListBooleanFilter.js +0 -96
- package/dist/npm/cells/FilterCells/TreeListDateFilter.d.ts +0 -22
- package/dist/npm/cells/FilterCells/TreeListDateFilter.js +0 -96
- package/dist/npm/cells/FilterCells/TreeListNumericFilter.d.ts +0 -22
- package/dist/npm/cells/FilterCells/TreeListNumericFilter.js +0 -96
- package/dist/npm/cells/FilterCells/TreeListTextFilter.d.ts +0 -25
- package/dist/npm/cells/FilterCells/TreeListTextFilter.js +0 -96
- package/dist/npm/cells/FilterCells/utils.d.ts +0 -38
- package/dist/npm/cells/FilterCells/utils.js +0 -70
- package/dist/npm/cells/TreeListCell.d.ts +0 -41
- package/dist/npm/cells/TreeListCell.js +0 -263
- package/dist/npm/cells/TreeListSelectionCell.d.ts +0 -41
- package/dist/npm/cells/TreeListSelectionCell.js +0 -188
- package/dist/npm/constants/main.d.ts +0 -6
- package/dist/npm/constants/main.js +0 -10
- package/dist/npm/interfaces/DataItemWrapper.d.ts +0 -10
- package/dist/npm/interfaces/DataItemWrapper.js +0 -2
- package/dist/npm/interfaces/TreeListCellProps.d.ts +0 -35
- package/dist/npm/interfaces/TreeListCellProps.js +0 -2
- package/dist/npm/interfaces/TreeListColumnProps.d.ts +0 -33
- package/dist/npm/interfaces/TreeListColumnProps.js +0 -2
- package/dist/npm/interfaces/TreeListFilterCellProps.d.ts +0 -6
- package/dist/npm/interfaces/TreeListFilterCellProps.js +0 -2
- package/dist/npm/interfaces/TreeListFilterOperator.d.ts +0 -6
- package/dist/npm/interfaces/TreeListFilterOperator.js +0 -2
- package/dist/npm/interfaces/TreeListHeaderCellProps.d.ts +0 -6
- package/dist/npm/interfaces/TreeListHeaderCellProps.js +0 -2
- package/dist/npm/interfaces/TreeListProps.d.ts +0 -345
- package/dist/npm/interfaces/TreeListProps.js +0 -2
- package/dist/npm/interfaces/TreeListRowProps.d.ts +0 -92
- package/dist/npm/interfaces/TreeListRowProps.js +0 -2
- package/dist/npm/interfaces/TreeListSelectableSettings.d.ts +0 -18
- package/dist/npm/interfaces/TreeListSelectableSettings.js +0 -2
- package/dist/npm/interfaces/TreeListSortSettings.d.ts +0 -9
- package/dist/npm/interfaces/TreeListSortSettings.js +0 -2
- package/dist/npm/interfaces/TreeListToolbarProps.d.ts +0 -5
- package/dist/npm/interfaces/TreeListToolbarProps.js +0 -5
- package/dist/npm/interfaces/events.d.ts +0 -286
- package/dist/npm/interfaces/events.js +0 -2
- package/dist/npm/main.d.ts +0 -27
- package/dist/npm/main.js +0 -52
- package/dist/npm/messages/main.d.ts +0 -239
- package/dist/npm/messages/main.js +0 -244
- package/dist/npm/package-metadata.d.ts +0 -5
- package/dist/npm/package-metadata.js +0 -14
- package/dist/npm/rows/RowDragClue.d.ts +0 -40
- package/dist/npm/rows/RowDragClue.js +0 -83
- package/dist/npm/rows/TreeListDraggableRow.d.ts +0 -38
- package/dist/npm/rows/TreeListDraggableRow.js +0 -182
- package/dist/npm/rows/TreeListRow.d.ts +0 -36
- package/dist/npm/rows/TreeListRow.js +0 -161
- package/dist/npm/utils/data-operations.d.ts +0 -115
- package/dist/npm/utils/data-operations.js +0 -265
- package/dist/npm/utils/main.d.ts +0 -17
- package/dist/npm/utils/main.js +0 -74
|
@@ -1,181 +0,0 @@
|
|
|
1
|
-
// @ts-ignore
|
|
2
|
-
import * as Vue from 'vue';
|
|
3
|
-
var allVue = Vue;
|
|
4
|
-
var gh = allVue.h;
|
|
5
|
-
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
6
|
-
var inject = allVue.inject;
|
|
7
|
-
import { getTemplate, noop, getNestedValue, guid } from '@progress/kendo-vue-common';
|
|
8
|
-
import { KEYBOARD_NAV_DATA_ID, KEYBOARD_NAV_DATA_LEVEL } from '@progress/kendo-vue-data-tools';
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
var TreeListSelectionCellVue2 = {
|
|
13
|
-
name: 'TreeListSelectionCell',
|
|
14
|
-
inheritAttrs: false,
|
|
15
|
-
// @ts-ignore
|
|
16
|
-
emits: {
|
|
17
|
-
cellclick: null,
|
|
18
|
-
cellkeydown: null,
|
|
19
|
-
expandchange: null,
|
|
20
|
-
selectionchange: null,
|
|
21
|
-
edit: null,
|
|
22
|
-
add: null,
|
|
23
|
-
cancel: null,
|
|
24
|
-
save: null,
|
|
25
|
-
remove: null
|
|
26
|
-
},
|
|
27
|
-
props: {
|
|
28
|
-
id: String,
|
|
29
|
-
field: String,
|
|
30
|
-
dataItem: Object,
|
|
31
|
-
format: String,
|
|
32
|
-
colSpan: Number,
|
|
33
|
-
colIndex: Number,
|
|
34
|
-
level: Array,
|
|
35
|
-
expanded: Boolean,
|
|
36
|
-
expandable: Boolean,
|
|
37
|
-
hasChildren: Boolean,
|
|
38
|
-
isSelected: Boolean,
|
|
39
|
-
ariaColumnIndex: Number,
|
|
40
|
-
render: [String, Function, Object]
|
|
41
|
-
},
|
|
42
|
-
created: function created() {
|
|
43
|
-
this.inputId = guid();
|
|
44
|
-
},
|
|
45
|
-
inject: {
|
|
46
|
-
kendoIntlService: {
|
|
47
|
-
default: null
|
|
48
|
-
},
|
|
49
|
-
getKeyboardNavigationAttributes: {
|
|
50
|
-
default: noop
|
|
51
|
-
}
|
|
52
|
-
},
|
|
53
|
-
methods: {
|
|
54
|
-
triggerClick: function triggerClick(e) {
|
|
55
|
-
this.$emit('cellclick', {
|
|
56
|
-
event: e,
|
|
57
|
-
dataItem: this.$props.dataItem,
|
|
58
|
-
field: this.$props.field
|
|
59
|
-
});
|
|
60
|
-
},
|
|
61
|
-
triggerKeydown: function triggerKeydown(e) {
|
|
62
|
-
this.$emit('cellkeydown', {
|
|
63
|
-
event: e,
|
|
64
|
-
dataItem: this.$props.dataItem,
|
|
65
|
-
field: this.$props.field
|
|
66
|
-
});
|
|
67
|
-
},
|
|
68
|
-
triggerEdit: function triggerEdit(dataItem) {
|
|
69
|
-
this.$emit('edit', dataItem);
|
|
70
|
-
},
|
|
71
|
-
triggerAdd: function triggerAdd(dataItem) {
|
|
72
|
-
this.$emit('add', dataItem);
|
|
73
|
-
},
|
|
74
|
-
triggerCancel: function triggerCancel(dataItem) {
|
|
75
|
-
this.$emit('cancel', dataItem);
|
|
76
|
-
},
|
|
77
|
-
triggerSave: function triggerSave(dataItem) {
|
|
78
|
-
this.$emit('save', dataItem);
|
|
79
|
-
},
|
|
80
|
-
triggerRemove: function triggerRemove(dataItem) {
|
|
81
|
-
this.$emit('remove', dataItem);
|
|
82
|
-
},
|
|
83
|
-
handleOnChange: function handleOnChange(event) {
|
|
84
|
-
this.$emit('selectionchange', {
|
|
85
|
-
event: event,
|
|
86
|
-
item: {
|
|
87
|
-
dataItem: this.dataItem,
|
|
88
|
-
level: this.level
|
|
89
|
-
},
|
|
90
|
-
field: this.field,
|
|
91
|
-
colIndex: this.colIndex
|
|
92
|
-
});
|
|
93
|
-
}
|
|
94
|
-
},
|
|
95
|
-
// @ts-ignore
|
|
96
|
-
setup: !isV3 ? undefined : function () {
|
|
97
|
-
var v3 = !!isV3;
|
|
98
|
-
var kendoIntlService = inject('kendoIntlService', {});
|
|
99
|
-
return {
|
|
100
|
-
v3: v3,
|
|
101
|
-
kendoIntlService: kendoIntlService
|
|
102
|
-
};
|
|
103
|
-
},
|
|
104
|
-
// @ts-ignore
|
|
105
|
-
render: function render(createElement) {
|
|
106
|
-
var h = gh || createElement;
|
|
107
|
-
var _a = this.$props,
|
|
108
|
-
dataItem = _a.dataItem,
|
|
109
|
-
colSpan = _a.colSpan,
|
|
110
|
-
ariaColumnIndex = _a.ariaColumnIndex,
|
|
111
|
-
isSelected = _a.isSelected,
|
|
112
|
-
field = _a.field;
|
|
113
|
-
var selectedValue = getNestedValue(field, dataItem);
|
|
114
|
-
var navAttrs = this.getKeyboardNavigationAttributes(this.$props.id);
|
|
115
|
-
// const intl = provideIntlService(this);
|
|
116
|
-
var defaultRendering = h("td", {
|
|
117
|
-
style: this.$attrs.style,
|
|
118
|
-
role: 'gridcell',
|
|
119
|
-
attrs: this.v3 ? undefined : {
|
|
120
|
-
role: 'gridcell',
|
|
121
|
-
colSpan: colSpan,
|
|
122
|
-
"aria-selected": isSelected,
|
|
123
|
-
"aria-colindex": ariaColumnIndex,
|
|
124
|
-
"data-grid-col-index": this.$props.colIndex,
|
|
125
|
-
tabindex: navAttrs.tabIndex,
|
|
126
|
-
"data-keyboardnavlevel": navAttrs[KEYBOARD_NAV_DATA_LEVEL],
|
|
127
|
-
"data-keyboardnavid": navAttrs[KEYBOARD_NAV_DATA_ID]
|
|
128
|
-
},
|
|
129
|
-
"class": 'k-table-td',
|
|
130
|
-
colSpan: colSpan,
|
|
131
|
-
"aria-selected": isSelected,
|
|
132
|
-
"aria-colindex": ariaColumnIndex,
|
|
133
|
-
"data-grid-col-index": this.$props.colIndex,
|
|
134
|
-
tabindex: navAttrs.tabIndex,
|
|
135
|
-
"data-keyboardnavlevel": navAttrs[KEYBOARD_NAV_DATA_LEVEL],
|
|
136
|
-
"data-keyboardnavid": navAttrs[KEYBOARD_NAV_DATA_ID]
|
|
137
|
-
}, [h("input", {
|
|
138
|
-
checked: this.v3 ? typeof selectedValue === 'boolean' && selectedValue : null,
|
|
139
|
-
domProps: this.v3 ? undefined : {
|
|
140
|
-
"checked": typeof selectedValue === 'boolean' && selectedValue
|
|
141
|
-
},
|
|
142
|
-
id: this.inputId,
|
|
143
|
-
attrs: this.v3 ? undefined : {
|
|
144
|
-
id: this.inputId,
|
|
145
|
-
type: "checkbox"
|
|
146
|
-
},
|
|
147
|
-
type: "checkbox",
|
|
148
|
-
"class": "k-checkbox k-checkbox-md k-rounded-md",
|
|
149
|
-
onChange: this.handleOnChange,
|
|
150
|
-
on: this.v3 ? undefined : {
|
|
151
|
-
"change": this.handleOnChange
|
|
152
|
-
}
|
|
153
|
-
}), h("label", {
|
|
154
|
-
"class": "k-checkbox-label",
|
|
155
|
-
"for": this.inputId,
|
|
156
|
-
attrs: this.v3 ? undefined : {
|
|
157
|
-
"for": this.inputId
|
|
158
|
-
}
|
|
159
|
-
})]);
|
|
160
|
-
return getTemplate.call(this, {
|
|
161
|
-
h: h,
|
|
162
|
-
template: this.$props.render,
|
|
163
|
-
defaultRendering: defaultRendering,
|
|
164
|
-
additionalProps: this.$props,
|
|
165
|
-
additionalListeners: {
|
|
166
|
-
click: this.triggerClick,
|
|
167
|
-
keydown: this.triggerKeydown,
|
|
168
|
-
edit: this.triggerEdit,
|
|
169
|
-
add: this.triggerAdd,
|
|
170
|
-
cancel: this.triggerCancel,
|
|
171
|
-
save: this.triggerSave,
|
|
172
|
-
remove: this.triggerRemove
|
|
173
|
-
}
|
|
174
|
-
});
|
|
175
|
-
}
|
|
176
|
-
};
|
|
177
|
-
/**
|
|
178
|
-
* @hidden
|
|
179
|
-
*/
|
|
180
|
-
var TreeListSelectionCell = TreeListSelectionCellVue2;
|
|
181
|
-
export { TreeListSelectionCell, TreeListSelectionCellVue2 };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/** The attribute required by the TreeList selection on TreeList `tr` elements. */
|
|
2
|
-
export declare const TREELIST_ROW_INDEX_ATTRIBUTE = "data-grid-row-index";
|
|
3
|
-
/** The attribute required by the TreeList selection on TreeList `td` elements. */
|
|
4
|
-
export declare const TREELIST_COL_INDEX_ATTRIBUTE = "data-grid-col-index";
|
|
5
|
-
/** Attribute which disable selection start from this element. */
|
|
6
|
-
export declare const TREELIST_PREVENT_SELECTION_ELEMENT = "data-prevent-selection";
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { TABLE_COL_INDEX_ATTRIBUTE, TABLE_ROW_INDEX_ATTRIBUTE, TABLE_PREVENT_SELECTION_ELEMENT } from '@progress/kendo-vue-data-tools';
|
|
2
|
-
/** The attribute required by the TreeList selection on TreeList `tr` elements. */
|
|
3
|
-
export var TREELIST_ROW_INDEX_ATTRIBUTE = TABLE_ROW_INDEX_ATTRIBUTE;
|
|
4
|
-
/** The attribute required by the TreeList selection on TreeList `td` elements. */
|
|
5
|
-
export var TREELIST_COL_INDEX_ATTRIBUTE = TABLE_COL_INDEX_ATTRIBUTE;
|
|
6
|
-
/** Attribute which disable selection start from this element. */
|
|
7
|
-
export var TREELIST_PREVENT_SELECTION_ELEMENT = TABLE_PREVENT_SELECTION_ELEMENT;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { CellProps } from '@progress/kendo-vue-data-tools';
|
|
2
|
-
/**
|
|
3
|
-
* Represents the props of the TreeListCell component.
|
|
4
|
-
*/
|
|
5
|
-
export interface TreeListCellProps extends CellProps {
|
|
6
|
-
/**
|
|
7
|
-
* An array of indexes of each parent and current item in the data tree.
|
|
8
|
-
*/
|
|
9
|
-
level: number[];
|
|
10
|
-
/**
|
|
11
|
-
* Indicates that the data item of the cell has subitems.
|
|
12
|
-
*/
|
|
13
|
-
hasChildren?: boolean;
|
|
14
|
-
/**
|
|
15
|
-
* If set to `true`, the cell will render indentation based on its level prop and
|
|
16
|
-
* the icons that are used for expanding and collapsing child rows.
|
|
17
|
-
*/
|
|
18
|
-
expandable?: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* The index of the column. Useful for applying `aria-colindex` accessibility attribute.
|
|
21
|
-
*/
|
|
22
|
-
colIndex: number;
|
|
23
|
-
/**
|
|
24
|
-
* The event that is fired when the expand or collapse icon of the cell is clicked.
|
|
25
|
-
*/
|
|
26
|
-
onExpandchange?: (event: any, dataItem: any, level: number[]) => void;
|
|
27
|
-
/**
|
|
28
|
-
* A function for overriding the default rendering of the cell.
|
|
29
|
-
*/
|
|
30
|
-
render?: any;
|
|
31
|
-
/**
|
|
32
|
-
* If set to true will focus the first input inside the cell.
|
|
33
|
-
*/
|
|
34
|
-
focusInputOnMount?: boolean;
|
|
35
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { TreeColumnBaseProps } from '@progress/kendo-vue-data-tools';
|
|
2
|
-
/**
|
|
3
|
-
* The props of the columns of the TreeList component.
|
|
4
|
-
*/
|
|
5
|
-
export interface TreeListColumnProps extends TreeColumnBaseProps {
|
|
6
|
-
/**
|
|
7
|
-
* Defines the component that will be rendered as a cell. If not set, a `TreeListCell` will be rendered by default.
|
|
8
|
-
*/
|
|
9
|
-
cell?: any;
|
|
10
|
-
/**
|
|
11
|
-
* Defines the component that will be rendered as an edit cell.
|
|
12
|
-
*/
|
|
13
|
-
editCell?: any;
|
|
14
|
-
/**
|
|
15
|
-
* Defines the component that will be rendered as a header cell.
|
|
16
|
-
* If not set, a `TreeListHeaderCell` will be rendered by default.
|
|
17
|
-
*/
|
|
18
|
-
headerCell?: any;
|
|
19
|
-
/**
|
|
20
|
-
* Defines the component that will be rendered as a filter cell.
|
|
21
|
-
*/
|
|
22
|
-
filterCell?: any;
|
|
23
|
-
/**
|
|
24
|
-
* A collection of child columns.
|
|
25
|
-
*/
|
|
26
|
-
children?: TreeListColumnProps[];
|
|
27
|
-
/**
|
|
28
|
-
* Defines if the column is locked (frozen or sticky).
|
|
29
|
-
* Locked columns are the columns that are visible at all times while the user scrolls the component horizontally.
|
|
30
|
-
* Defaults to `false`.
|
|
31
|
-
*/
|
|
32
|
-
locked?: boolean;
|
|
33
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -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>`—Shows a menu for selecting the page size.
|
|
242
|
-
* - `previousNext: Boolean`—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 +0,0 @@
|
|
|
1
|
-
export {};
|