@progress/kendo-vue-treelist 3.5.2 → 3.5.3-dev.202209051408
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/dist/cdn/js/kendo-vue-treelist.js +1 -1
- package/dist/es/TreeList.js +43 -43
- package/dist/es/cells/TreeListCell.js +1 -1
- package/dist/es/main.js +1 -4
- package/dist/es/package-metadata.js +1 -1
- package/dist/esm/TreeList.js +43 -43
- package/dist/esm/cells/TreeListCell.js +1 -1
- package/dist/esm/main.js +1 -4
- package/dist/esm/package-metadata.js +1 -1
- package/dist/npm/TreeList.js +42 -42
- package/dist/npm/cells/TreeListCell.js +1 -1
- package/dist/npm/main.js +0 -1
- package/dist/npm/package-metadata.js +1 -1
- package/package.json +11 -11
package/dist/es/TreeList.js
CHANGED
|
@@ -44,7 +44,7 @@ var gh = allVue.h;
|
|
|
44
44
|
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
45
45
|
var ref = allVue.ref;
|
|
46
46
|
var markRaw = allVue.markRaw;
|
|
47
|
-
import { classNames, noop, getter, guid, getDefaultSlots, templateRendering, getListeners, getTemplate, isRtl } from '@progress/kendo-vue-common';
|
|
47
|
+
import { classNames, noop, getter, guid, getDefaultSlots, templateRendering, getListeners, getTemplate, isRtl, getRef } from '@progress/kendo-vue-common';
|
|
48
48
|
import { Header, HeaderRow, FilterRow as TreeListFilterRow, ColumnResize, CommonDragLogic, DragClue, DropClue, tableColumnsVirtualization, readColumns, mapColumns, // tableKeyboardNavigation,
|
|
49
49
|
// TableKeyboardNavigationContext,
|
|
50
50
|
TableKeyboardNavigationProvider, tableKeyboardNavigationTools as navigationTools, operators, getSelectionOptions, normalize, Pager } from '@progress/kendo-vue-data-tools';
|
|
@@ -115,7 +115,8 @@ var TreeListVue2 = {
|
|
|
115
115
|
wrapperScrollTop: 0,
|
|
116
116
|
updateOnScroll: false,
|
|
117
117
|
tbodyOffsetTop: 0,
|
|
118
|
-
isRtl: false
|
|
118
|
+
isRtl: false,
|
|
119
|
+
navigation: undefined
|
|
119
120
|
};
|
|
120
121
|
},
|
|
121
122
|
// private get document(): Document | undefined {
|
|
@@ -132,11 +133,18 @@ var TreeListVue2 = {
|
|
|
132
133
|
mounted: function mounted() {
|
|
133
134
|
this.calculateSizes(this.$el);
|
|
134
135
|
var rtl = isRtl(this.$el);
|
|
135
|
-
this.isRtl = rtl;
|
|
136
|
+
this.isRtl = rtl;
|
|
137
|
+
var elementString = '$el';
|
|
138
|
+
var element = getRef(this, 'gridNav');
|
|
139
|
+
|
|
140
|
+
if (element) {
|
|
141
|
+
this.element = element[elementString];
|
|
142
|
+
} // tableKeyboardNavigation.onComponentDidMount({
|
|
136
143
|
// scope: this.element || undefined,
|
|
137
144
|
// contextStateRef: this.contextStateRef,
|
|
138
145
|
// navigationStateRef: this.navigationStateRef
|
|
139
146
|
// });
|
|
147
|
+
|
|
140
148
|
},
|
|
141
149
|
// /**
|
|
142
150
|
// * @hidden
|
|
@@ -206,7 +214,7 @@ var TreeListVue2 = {
|
|
|
206
214
|
return Boolean(c.filter) || Boolean(c.filterCell);
|
|
207
215
|
}) || filterRow !== undefined;
|
|
208
216
|
var FilterRow = filterRow || TreeListFilterRow;
|
|
209
|
-
var idPrefix = navigationTools.getIdPrefix(
|
|
217
|
+
var idPrefix = navigationTools.getIdPrefix(this.navigation);
|
|
210
218
|
|
|
211
219
|
if (this.prevColumns !== columns) {
|
|
212
220
|
this.extendedColumn = readColumns(columns, {
|
|
@@ -680,9 +688,6 @@ var TreeListVue2 = {
|
|
|
680
688
|
"class": classNames('k-widget k-grid', _this2.$props.className, {
|
|
681
689
|
'k-treelist-scrollable': scrollable !== 'none'
|
|
682
690
|
}),
|
|
683
|
-
ref: function ref(e) {
|
|
684
|
-
return _this.element = e;
|
|
685
|
-
},
|
|
686
691
|
currentData: flattedData,
|
|
687
692
|
attrs: _this2.v3 ? undefined : {
|
|
688
693
|
currentData: flattedData,
|
|
@@ -693,14 +698,17 @@ var TreeListVue2 = {
|
|
|
693
698
|
onScroll: virtualScroll ? _this2.handleOnScroll : noop,
|
|
694
699
|
on: _this2.v3 ? undefined : {
|
|
695
700
|
"scroll": virtualScroll ? _this2.handleOnScroll : noop,
|
|
696
|
-
"
|
|
701
|
+
"keydown": _this2.onKeyDown,
|
|
697
702
|
"focus": _this2.onFocus
|
|
698
703
|
},
|
|
699
|
-
|
|
704
|
+
onKeydown: _this2.onKeyDown,
|
|
700
705
|
onFocus: _this2.onFocus,
|
|
701
706
|
"aria-rowcount": total,
|
|
702
707
|
"aria-colcount": leafColumns.length,
|
|
703
|
-
role: 'treegrid'
|
|
708
|
+
role: 'treegrid',
|
|
709
|
+
ref: _this2.v3 ? function (el) {
|
|
710
|
+
_this.treeListNavRef = el;
|
|
711
|
+
} : 'treeListNav'
|
|
704
712
|
}, _this2.v3 ? function () {
|
|
705
713
|
return [_this2.$props.toolbar, // // @ts-ignore
|
|
706
714
|
// <TableSelection
|
|
@@ -717,11 +725,12 @@ var TreeListVue2 = {
|
|
|
717
725
|
role: 'presentation'
|
|
718
726
|
}
|
|
719
727
|
}, [colGroups, header, h("tbody", {
|
|
720
|
-
|
|
721
|
-
role: 'presentation',
|
|
728
|
+
"data-keyboardnavbody": true,
|
|
722
729
|
attrs: _this2.v3 ? undefined : {
|
|
730
|
+
"data-keyboardnavbody": true,
|
|
723
731
|
role: 'presentation'
|
|
724
|
-
}
|
|
732
|
+
},
|
|
733
|
+
role: 'presentation'
|
|
725
734
|
}, [body])]) // </TableSelection>
|
|
726
735
|
, pager, reorderable && h(DropClue, {
|
|
727
736
|
ref: _this2.dragLogic.refDropElementClue
|
|
@@ -737,10 +746,12 @@ var TreeListVue2 = {
|
|
|
737
746
|
role: 'presentation'
|
|
738
747
|
}
|
|
739
748
|
}, [colGroups, header, h("tbody", {
|
|
740
|
-
|
|
749
|
+
"data-keyboardnavbody": true,
|
|
741
750
|
attrs: _this2.v3 ? undefined : {
|
|
751
|
+
"data-keyboardnavbody": true,
|
|
742
752
|
role: 'presentation'
|
|
743
|
-
}
|
|
753
|
+
},
|
|
754
|
+
role: 'presentation'
|
|
744
755
|
}, [body])]), pager, reorderable && h(DropClue, {
|
|
745
756
|
ref: _this2.dragLogic.refDropElementClue
|
|
746
757
|
}), reorderable && h(DragClue, {
|
|
@@ -751,9 +762,6 @@ var TreeListVue2 = {
|
|
|
751
762
|
"class": classNames('k-widget k-grid', _this2.$props.className, {
|
|
752
763
|
'k-treelist-scrollable': scrollable !== 'none'
|
|
753
764
|
}),
|
|
754
|
-
ref: function ref(e) {
|
|
755
|
-
return _this.element = e;
|
|
756
|
-
},
|
|
757
765
|
currentData: flattedData,
|
|
758
766
|
attrs: _this2.v3 ? undefined : {
|
|
759
767
|
currentData: flattedData,
|
|
@@ -764,14 +772,17 @@ var TreeListVue2 = {
|
|
|
764
772
|
onScroll: virtualScroll ? _this2.handleOnScroll : noop,
|
|
765
773
|
on: _this2.v3 ? undefined : {
|
|
766
774
|
"scroll": virtualScroll ? _this2.handleOnScroll : noop,
|
|
767
|
-
"
|
|
775
|
+
"keydown": _this2.onKeyDown,
|
|
768
776
|
"focus": _this2.onFocus
|
|
769
777
|
},
|
|
770
|
-
|
|
778
|
+
onKeydown: _this2.onKeyDown,
|
|
771
779
|
onFocus: _this2.onFocus,
|
|
772
780
|
"aria-rowcount": total,
|
|
773
781
|
"aria-colcount": leafColumns.length,
|
|
774
|
-
role: 'treegrid'
|
|
782
|
+
role: 'treegrid',
|
|
783
|
+
ref: _this2.v3 ? function (el) {
|
|
784
|
+
_this.treeListNavRef = el;
|
|
785
|
+
} : 'treeListNav'
|
|
775
786
|
}, _this2.v3 ? function () {
|
|
776
787
|
return [_this2.$props.toolbar, h("table", {
|
|
777
788
|
style: __assign(__assign({}, tableProps.style || {}), {
|
|
@@ -782,10 +793,12 @@ var TreeListVue2 = {
|
|
|
782
793
|
role: 'presentation'
|
|
783
794
|
}
|
|
784
795
|
}, [colGroups, header, h("tbody", {
|
|
785
|
-
|
|
796
|
+
"data-keyboardnavbody": true,
|
|
786
797
|
attrs: _this2.v3 ? undefined : {
|
|
798
|
+
"data-keyboardnavbody": true,
|
|
787
799
|
role: 'presentation'
|
|
788
|
-
}
|
|
800
|
+
},
|
|
801
|
+
role: 'presentation'
|
|
789
802
|
}, [body])]), pager, reorderable && h(DropClue, {
|
|
790
803
|
ref: _this2.dragLogic.refDropElementClue
|
|
791
804
|
}), reorderable && h(DragClue, {
|
|
@@ -800,10 +813,12 @@ var TreeListVue2 = {
|
|
|
800
813
|
role: 'presentation'
|
|
801
814
|
}
|
|
802
815
|
}, [colGroups, header, h("tbody", {
|
|
803
|
-
|
|
816
|
+
"data-keyboardnavbody": true,
|
|
804
817
|
attrs: _this2.v3 ? undefined : {
|
|
818
|
+
"data-keyboardnavbody": true,
|
|
805
819
|
role: 'presentation'
|
|
806
|
-
}
|
|
820
|
+
},
|
|
821
|
+
role: 'presentation'
|
|
807
822
|
}, [body])]), pager, reorderable && h(DropClue, {
|
|
808
823
|
ref: _this2.dragLogic.refDropElementClue
|
|
809
824
|
}), reorderable && h(DragClue, {
|
|
@@ -894,21 +909,7 @@ var TreeListVue2 = {
|
|
|
894
909
|
return flattedData;
|
|
895
910
|
},
|
|
896
911
|
onKeyDown: function onKeyDown(event) {
|
|
897
|
-
|
|
898
|
-
// contextStateRef: this.contextStateRef,
|
|
899
|
-
// navigationStateRef: this.navigationStateRef
|
|
900
|
-
// });
|
|
901
|
-
var _a = getSelectionOptions(this.$props.selectable),
|
|
902
|
-
mode = _a.mode,
|
|
903
|
-
cell = _a.cell;
|
|
904
|
-
|
|
905
|
-
this.$emit('keydown', __assign({
|
|
906
|
-
dataItems: this.getLeafDataItems(),
|
|
907
|
-
mode: mode,
|
|
908
|
-
cell: cell,
|
|
909
|
-
componentId: this._treeListId,
|
|
910
|
-
selectedField: this.$props.selectedField
|
|
911
|
-
}, this.getArguments(event)));
|
|
912
|
+
this.$emit('keydown', event);
|
|
912
913
|
},
|
|
913
914
|
onFocus: function onFocus(_event) {// tableKeyboardNavigation.onFocus(event, {
|
|
914
915
|
// contextStateRef: this.contextStateRef
|
|
@@ -1227,7 +1228,7 @@ var TreeListVue2 = {
|
|
|
1227
1228
|
this.$emit(handler, __assign(__assign({}, this.getArguments(event)), data));
|
|
1228
1229
|
} else if (hasListener.call(this, 'datastatechange')) {
|
|
1229
1230
|
this.$emit('datastatechange', __assign(__assign({}, this.getArguments(event)), {
|
|
1230
|
-
data: __assign(__assign({}, this.getDataState()), moreData)
|
|
1231
|
+
data: __assign(__assign(__assign({}, this.getDataState()), data), moreData)
|
|
1231
1232
|
}));
|
|
1232
1233
|
}
|
|
1233
1234
|
},
|
|
@@ -1239,9 +1240,8 @@ var TreeListVue2 = {
|
|
|
1239
1240
|
},
|
|
1240
1241
|
getArguments: function getArguments(event) {
|
|
1241
1242
|
return {
|
|
1242
|
-
nativeEvent: event && event.nativeEvent,
|
|
1243
1243
|
event: event,
|
|
1244
|
-
|
|
1244
|
+
component: this
|
|
1245
1245
|
};
|
|
1246
1246
|
},
|
|
1247
1247
|
expandedSubItems: function expandedSubItems(dataItem) {
|
package/dist/es/main.js
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import { TreeList } from './TreeList';
|
|
2
2
|
import { TreeListCell } from './cells/TreeListCell';
|
|
3
|
-
import { TreeListSelectionCell
|
|
4
|
-
// TreeListSelectionCellProps
|
|
5
|
-
} from './cells/TreeListSelectionCell';
|
|
6
|
-
// import { TreeListHeaderSelectionCell, TreeListHeaderSelectionCellProps } from './header/TreeListHeaderSelectionCell';
|
|
3
|
+
import { TreeListSelectionCell } from './cells/TreeListSelectionCell';
|
|
7
4
|
import { TreeListRow } from './rows/TreeListRow';
|
|
8
5
|
import { TreeListToolbar } from './TreeListToolbar';
|
|
9
6
|
import { TreeListNoRecords } from './TreeListNoRecords';
|
|
@@ -5,7 +5,7 @@ export var packageMetadata = {
|
|
|
5
5
|
name: '@progress/kendo-vue-treelist',
|
|
6
6
|
productName: 'Kendo UI for Vue',
|
|
7
7
|
productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
|
|
8
|
-
publishDate:
|
|
8
|
+
publishDate: 1662386727,
|
|
9
9
|
version: '',
|
|
10
10
|
licensingDocsUrl: 'https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning'
|
|
11
11
|
};
|
package/dist/esm/TreeList.js
CHANGED
|
@@ -44,7 +44,7 @@ var gh = allVue.h;
|
|
|
44
44
|
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
45
45
|
var ref = allVue.ref;
|
|
46
46
|
var markRaw = allVue.markRaw;
|
|
47
|
-
import { classNames, noop, getter, guid, getDefaultSlots, templateRendering, getListeners, getTemplate, isRtl } from '@progress/kendo-vue-common';
|
|
47
|
+
import { classNames, noop, getter, guid, getDefaultSlots, templateRendering, getListeners, getTemplate, isRtl, getRef } from '@progress/kendo-vue-common';
|
|
48
48
|
import { Header, HeaderRow, FilterRow as TreeListFilterRow, ColumnResize, CommonDragLogic, DragClue, DropClue, tableColumnsVirtualization, readColumns, mapColumns, // tableKeyboardNavigation,
|
|
49
49
|
// TableKeyboardNavigationContext,
|
|
50
50
|
TableKeyboardNavigationProvider, tableKeyboardNavigationTools as navigationTools, operators, getSelectionOptions, normalize, Pager } from '@progress/kendo-vue-data-tools';
|
|
@@ -115,7 +115,8 @@ var TreeListVue2 = {
|
|
|
115
115
|
wrapperScrollTop: 0,
|
|
116
116
|
updateOnScroll: false,
|
|
117
117
|
tbodyOffsetTop: 0,
|
|
118
|
-
isRtl: false
|
|
118
|
+
isRtl: false,
|
|
119
|
+
navigation: undefined
|
|
119
120
|
};
|
|
120
121
|
},
|
|
121
122
|
// private get document(): Document | undefined {
|
|
@@ -132,11 +133,18 @@ var TreeListVue2 = {
|
|
|
132
133
|
mounted: function mounted() {
|
|
133
134
|
this.calculateSizes(this.$el);
|
|
134
135
|
var rtl = isRtl(this.$el);
|
|
135
|
-
this.isRtl = rtl;
|
|
136
|
+
this.isRtl = rtl;
|
|
137
|
+
var elementString = '$el';
|
|
138
|
+
var element = getRef(this, 'gridNav');
|
|
139
|
+
|
|
140
|
+
if (element) {
|
|
141
|
+
this.element = element[elementString];
|
|
142
|
+
} // tableKeyboardNavigation.onComponentDidMount({
|
|
136
143
|
// scope: this.element || undefined,
|
|
137
144
|
// contextStateRef: this.contextStateRef,
|
|
138
145
|
// navigationStateRef: this.navigationStateRef
|
|
139
146
|
// });
|
|
147
|
+
|
|
140
148
|
},
|
|
141
149
|
// /**
|
|
142
150
|
// * @hidden
|
|
@@ -206,7 +214,7 @@ var TreeListVue2 = {
|
|
|
206
214
|
return Boolean(c.filter) || Boolean(c.filterCell);
|
|
207
215
|
}) || filterRow !== undefined;
|
|
208
216
|
var FilterRow = filterRow || TreeListFilterRow;
|
|
209
|
-
var idPrefix = navigationTools.getIdPrefix(
|
|
217
|
+
var idPrefix = navigationTools.getIdPrefix(this.navigation);
|
|
210
218
|
|
|
211
219
|
if (this.prevColumns !== columns) {
|
|
212
220
|
this.extendedColumn = readColumns(columns, {
|
|
@@ -680,9 +688,6 @@ var TreeListVue2 = {
|
|
|
680
688
|
"class": classNames('k-widget k-grid', _this2.$props.className, {
|
|
681
689
|
'k-treelist-scrollable': scrollable !== 'none'
|
|
682
690
|
}),
|
|
683
|
-
ref: function ref(e) {
|
|
684
|
-
return _this.element = e;
|
|
685
|
-
},
|
|
686
691
|
currentData: flattedData,
|
|
687
692
|
attrs: _this2.v3 ? undefined : {
|
|
688
693
|
currentData: flattedData,
|
|
@@ -693,14 +698,17 @@ var TreeListVue2 = {
|
|
|
693
698
|
onScroll: virtualScroll ? _this2.handleOnScroll : noop,
|
|
694
699
|
on: _this2.v3 ? undefined : {
|
|
695
700
|
"scroll": virtualScroll ? _this2.handleOnScroll : noop,
|
|
696
|
-
"
|
|
701
|
+
"keydown": _this2.onKeyDown,
|
|
697
702
|
"focus": _this2.onFocus
|
|
698
703
|
},
|
|
699
|
-
|
|
704
|
+
onKeydown: _this2.onKeyDown,
|
|
700
705
|
onFocus: _this2.onFocus,
|
|
701
706
|
"aria-rowcount": total,
|
|
702
707
|
"aria-colcount": leafColumns.length,
|
|
703
|
-
role: 'treegrid'
|
|
708
|
+
role: 'treegrid',
|
|
709
|
+
ref: _this2.v3 ? function (el) {
|
|
710
|
+
_this.treeListNavRef = el;
|
|
711
|
+
} : 'treeListNav'
|
|
704
712
|
}, _this2.v3 ? function () {
|
|
705
713
|
return [_this2.$props.toolbar, // // @ts-ignore
|
|
706
714
|
// <TableSelection
|
|
@@ -717,11 +725,12 @@ var TreeListVue2 = {
|
|
|
717
725
|
role: 'presentation'
|
|
718
726
|
}
|
|
719
727
|
}, [colGroups, header, h("tbody", {
|
|
720
|
-
|
|
721
|
-
role: 'presentation',
|
|
728
|
+
"data-keyboardnavbody": true,
|
|
722
729
|
attrs: _this2.v3 ? undefined : {
|
|
730
|
+
"data-keyboardnavbody": true,
|
|
723
731
|
role: 'presentation'
|
|
724
|
-
}
|
|
732
|
+
},
|
|
733
|
+
role: 'presentation'
|
|
725
734
|
}, [body])]) // </TableSelection>
|
|
726
735
|
, pager, reorderable && h(DropClue, {
|
|
727
736
|
ref: _this2.dragLogic.refDropElementClue
|
|
@@ -737,10 +746,12 @@ var TreeListVue2 = {
|
|
|
737
746
|
role: 'presentation'
|
|
738
747
|
}
|
|
739
748
|
}, [colGroups, header, h("tbody", {
|
|
740
|
-
|
|
749
|
+
"data-keyboardnavbody": true,
|
|
741
750
|
attrs: _this2.v3 ? undefined : {
|
|
751
|
+
"data-keyboardnavbody": true,
|
|
742
752
|
role: 'presentation'
|
|
743
|
-
}
|
|
753
|
+
},
|
|
754
|
+
role: 'presentation'
|
|
744
755
|
}, [body])]), pager, reorderable && h(DropClue, {
|
|
745
756
|
ref: _this2.dragLogic.refDropElementClue
|
|
746
757
|
}), reorderable && h(DragClue, {
|
|
@@ -751,9 +762,6 @@ var TreeListVue2 = {
|
|
|
751
762
|
"class": classNames('k-widget k-grid', _this2.$props.className, {
|
|
752
763
|
'k-treelist-scrollable': scrollable !== 'none'
|
|
753
764
|
}),
|
|
754
|
-
ref: function ref(e) {
|
|
755
|
-
return _this.element = e;
|
|
756
|
-
},
|
|
757
765
|
currentData: flattedData,
|
|
758
766
|
attrs: _this2.v3 ? undefined : {
|
|
759
767
|
currentData: flattedData,
|
|
@@ -764,14 +772,17 @@ var TreeListVue2 = {
|
|
|
764
772
|
onScroll: virtualScroll ? _this2.handleOnScroll : noop,
|
|
765
773
|
on: _this2.v3 ? undefined : {
|
|
766
774
|
"scroll": virtualScroll ? _this2.handleOnScroll : noop,
|
|
767
|
-
"
|
|
775
|
+
"keydown": _this2.onKeyDown,
|
|
768
776
|
"focus": _this2.onFocus
|
|
769
777
|
},
|
|
770
|
-
|
|
778
|
+
onKeydown: _this2.onKeyDown,
|
|
771
779
|
onFocus: _this2.onFocus,
|
|
772
780
|
"aria-rowcount": total,
|
|
773
781
|
"aria-colcount": leafColumns.length,
|
|
774
|
-
role: 'treegrid'
|
|
782
|
+
role: 'treegrid',
|
|
783
|
+
ref: _this2.v3 ? function (el) {
|
|
784
|
+
_this.treeListNavRef = el;
|
|
785
|
+
} : 'treeListNav'
|
|
775
786
|
}, _this2.v3 ? function () {
|
|
776
787
|
return [_this2.$props.toolbar, h("table", {
|
|
777
788
|
style: __assign(__assign({}, tableProps.style || {}), {
|
|
@@ -782,10 +793,12 @@ var TreeListVue2 = {
|
|
|
782
793
|
role: 'presentation'
|
|
783
794
|
}
|
|
784
795
|
}, [colGroups, header, h("tbody", {
|
|
785
|
-
|
|
796
|
+
"data-keyboardnavbody": true,
|
|
786
797
|
attrs: _this2.v3 ? undefined : {
|
|
798
|
+
"data-keyboardnavbody": true,
|
|
787
799
|
role: 'presentation'
|
|
788
|
-
}
|
|
800
|
+
},
|
|
801
|
+
role: 'presentation'
|
|
789
802
|
}, [body])]), pager, reorderable && h(DropClue, {
|
|
790
803
|
ref: _this2.dragLogic.refDropElementClue
|
|
791
804
|
}), reorderable && h(DragClue, {
|
|
@@ -800,10 +813,12 @@ var TreeListVue2 = {
|
|
|
800
813
|
role: 'presentation'
|
|
801
814
|
}
|
|
802
815
|
}, [colGroups, header, h("tbody", {
|
|
803
|
-
|
|
816
|
+
"data-keyboardnavbody": true,
|
|
804
817
|
attrs: _this2.v3 ? undefined : {
|
|
818
|
+
"data-keyboardnavbody": true,
|
|
805
819
|
role: 'presentation'
|
|
806
|
-
}
|
|
820
|
+
},
|
|
821
|
+
role: 'presentation'
|
|
807
822
|
}, [body])]), pager, reorderable && h(DropClue, {
|
|
808
823
|
ref: _this2.dragLogic.refDropElementClue
|
|
809
824
|
}), reorderable && h(DragClue, {
|
|
@@ -894,21 +909,7 @@ var TreeListVue2 = {
|
|
|
894
909
|
return flattedData;
|
|
895
910
|
},
|
|
896
911
|
onKeyDown: function onKeyDown(event) {
|
|
897
|
-
|
|
898
|
-
// contextStateRef: this.contextStateRef,
|
|
899
|
-
// navigationStateRef: this.navigationStateRef
|
|
900
|
-
// });
|
|
901
|
-
var _a = getSelectionOptions(this.$props.selectable),
|
|
902
|
-
mode = _a.mode,
|
|
903
|
-
cell = _a.cell;
|
|
904
|
-
|
|
905
|
-
this.$emit('keydown', __assign({
|
|
906
|
-
dataItems: this.getLeafDataItems(),
|
|
907
|
-
mode: mode,
|
|
908
|
-
cell: cell,
|
|
909
|
-
componentId: this._treeListId,
|
|
910
|
-
selectedField: this.$props.selectedField
|
|
911
|
-
}, this.getArguments(event)));
|
|
912
|
+
this.$emit('keydown', event);
|
|
912
913
|
},
|
|
913
914
|
onFocus: function onFocus(_event) {// tableKeyboardNavigation.onFocus(event, {
|
|
914
915
|
// contextStateRef: this.contextStateRef
|
|
@@ -1227,7 +1228,7 @@ var TreeListVue2 = {
|
|
|
1227
1228
|
this.$emit(handler, __assign(__assign({}, this.getArguments(event)), data));
|
|
1228
1229
|
} else if (hasListener.call(this, 'datastatechange')) {
|
|
1229
1230
|
this.$emit('datastatechange', __assign(__assign({}, this.getArguments(event)), {
|
|
1230
|
-
data: __assign(__assign({}, this.getDataState()), moreData)
|
|
1231
|
+
data: __assign(__assign(__assign({}, this.getDataState()), data), moreData)
|
|
1231
1232
|
}));
|
|
1232
1233
|
}
|
|
1233
1234
|
},
|
|
@@ -1239,9 +1240,8 @@ var TreeListVue2 = {
|
|
|
1239
1240
|
},
|
|
1240
1241
|
getArguments: function getArguments(event) {
|
|
1241
1242
|
return {
|
|
1242
|
-
nativeEvent: event && event.nativeEvent,
|
|
1243
1243
|
event: event,
|
|
1244
|
-
|
|
1244
|
+
component: this
|
|
1245
1245
|
};
|
|
1246
1246
|
},
|
|
1247
1247
|
expandedSubItems: function expandedSubItems(dataItem) {
|
package/dist/esm/main.js
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import { TreeList } from './TreeList.js';
|
|
2
2
|
import { TreeListCell } from './cells/TreeListCell.js';
|
|
3
|
-
import { TreeListSelectionCell
|
|
4
|
-
// TreeListSelectionCellProps
|
|
5
|
-
} from './cells/TreeListSelectionCell.js';
|
|
6
|
-
// import { TreeListHeaderSelectionCell, TreeListHeaderSelectionCellProps } from './header/TreeListHeaderSelectionCell.js';
|
|
3
|
+
import { TreeListSelectionCell } from './cells/TreeListSelectionCell.js';
|
|
7
4
|
import { TreeListRow } from './rows/TreeListRow.js';
|
|
8
5
|
import { TreeListToolbar } from './TreeListToolbar.js';
|
|
9
6
|
import { TreeListNoRecords } from './TreeListNoRecords.js';
|
|
@@ -5,7 +5,7 @@ export var packageMetadata = {
|
|
|
5
5
|
name: '@progress/kendo-vue-treelist',
|
|
6
6
|
productName: 'Kendo UI for Vue',
|
|
7
7
|
productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
|
|
8
|
-
publishDate:
|
|
8
|
+
publishDate: 1662386727,
|
|
9
9
|
version: '',
|
|
10
10
|
licensingDocsUrl: 'https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning'
|
|
11
11
|
};
|