@progress/kendo-vue-grid 3.7.4-dev.202212300853 → 3.7.4-dev.202301120847
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-grid.js +1 -1
- package/dist/es/Grid.js +250 -64
- package/dist/es/GridToolbar.js +5 -1
- package/dist/es/cells/GridCell.d.ts +8 -1
- package/dist/es/cells/GridCell.js +11 -2
- package/dist/es/cells/GridDetailCell.js +1 -1
- package/dist/es/cells/GridDetailHierarchyCell.js +1 -1
- package/dist/es/cells/GridEditCell.d.ts +8 -1
- package/dist/es/cells/GridEditCell.js +13 -4
- package/dist/es/cells/GridFilterCell.js +34 -22
- package/dist/es/cells/GridGroupCell.d.ts +14 -2
- package/dist/es/cells/GridGroupCell.js +35 -5
- package/dist/es/cells/GridHierarchyCell.js +25 -6
- package/dist/es/cells/GridSelectionCell.d.ts +8 -1
- package/dist/es/cells/GridSelectionCell.js +10 -1
- package/dist/es/columnMenu/ColumnMenu.js +13 -10
- package/dist/es/columnMenu/GridColumnMenuCheckboxFilter.js +12 -5
- package/dist/es/columnMenu/GridColumnMenuFilter.js +9 -4
- package/dist/es/columnMenu/GridColumnMenuItem.d.ts +9 -0
- package/dist/es/columnMenu/GridColumnMenuItem.js +13 -2
- package/dist/es/columnMenu/GridColumnMenuSort.js +17 -8
- package/dist/es/drag/ColumnDraggable.js +15 -2
- package/dist/es/drag/CommonDragLogic.d.ts +1 -0
- package/dist/es/drag/CommonDragLogic.js +20 -9
- package/dist/es/drag/GroupingIndicator.js +25 -24
- package/dist/es/filterCommon.d.ts +4 -0
- package/dist/es/filterCommon.js +17 -1
- package/dist/es/footer/Footer.js +12 -2
- package/dist/es/footer/FooterRow.d.ts +1 -0
- package/dist/es/footer/FooterRow.js +12 -6
- package/dist/es/header/FilterRow.d.ts +1 -0
- package/dist/es/header/FilterRow.js +31 -23
- package/dist/es/header/GroupPanel.d.ts +1 -0
- package/dist/es/header/GroupPanel.js +18 -5
- package/dist/es/header/Header.js +4 -12
- package/dist/es/header/HeaderRow.d.ts +2 -0
- package/dist/es/header/HeaderRow.js +45 -15
- package/dist/es/interfaces/GridFilterCellProps.d.ts +12 -0
- package/dist/es/messages/main.d.ts +60 -0
- package/dist/es/messages/main.js +60 -0
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/rows/GridRow.js +2 -2
- package/dist/es/utils/main.js +1 -1
- package/dist/esm/Grid.js +250 -64
- package/dist/esm/GridToolbar.js +5 -1
- package/dist/esm/cells/GridCell.d.ts +8 -1
- package/dist/esm/cells/GridCell.js +11 -2
- package/dist/esm/cells/GridDetailCell.js +1 -1
- package/dist/esm/cells/GridDetailHierarchyCell.js +1 -1
- package/dist/esm/cells/GridEditCell.d.ts +8 -1
- package/dist/esm/cells/GridEditCell.js +13 -4
- package/dist/esm/cells/GridFilterCell.js +34 -22
- package/dist/esm/cells/GridGroupCell.d.ts +14 -2
- package/dist/esm/cells/GridGroupCell.js +35 -5
- package/dist/esm/cells/GridHierarchyCell.js +25 -6
- package/dist/esm/cells/GridSelectionCell.d.ts +8 -1
- package/dist/esm/cells/GridSelectionCell.js +10 -1
- package/dist/esm/columnMenu/ColumnMenu.js +13 -10
- package/dist/esm/columnMenu/GridColumnMenuCheckboxFilter.js +12 -5
- package/dist/esm/columnMenu/GridColumnMenuFilter.js +9 -4
- package/dist/esm/columnMenu/GridColumnMenuItem.d.ts +9 -0
- package/dist/esm/columnMenu/GridColumnMenuItem.js +13 -2
- package/dist/esm/columnMenu/GridColumnMenuSort.js +17 -8
- package/dist/esm/drag/ColumnDraggable.js +15 -2
- package/dist/esm/drag/CommonDragLogic.d.ts +1 -0
- package/dist/esm/drag/CommonDragLogic.js +20 -9
- package/dist/esm/drag/GroupingIndicator.js +25 -24
- package/dist/esm/filterCommon.d.ts +4 -0
- package/dist/esm/filterCommon.js +17 -1
- package/dist/esm/footer/Footer.js +12 -2
- package/dist/esm/footer/FooterRow.d.ts +1 -0
- package/dist/esm/footer/FooterRow.js +12 -6
- package/dist/esm/header/FilterRow.d.ts +1 -0
- package/dist/esm/header/FilterRow.js +31 -23
- package/dist/esm/header/GroupPanel.d.ts +1 -0
- package/dist/esm/header/GroupPanel.js +18 -5
- package/dist/esm/header/Header.js +4 -12
- package/dist/esm/header/HeaderRow.d.ts +2 -0
- package/dist/esm/header/HeaderRow.js +45 -15
- package/dist/esm/interfaces/GridFilterCellProps.d.ts +12 -0
- package/dist/esm/messages/main.d.ts +60 -0
- package/dist/esm/messages/main.js +60 -0
- package/dist/esm/package-metadata.js +1 -1
- package/dist/esm/rows/GridRow.js +2 -2
- package/dist/esm/utils/main.js +1 -1
- package/dist/npm/Grid.js +250 -64
- package/dist/npm/GridToolbar.js +5 -1
- package/dist/npm/cells/GridCell.d.ts +8 -1
- package/dist/npm/cells/GridCell.js +11 -2
- package/dist/npm/cells/GridDetailCell.js +1 -1
- package/dist/npm/cells/GridDetailHierarchyCell.js +1 -1
- package/dist/npm/cells/GridEditCell.d.ts +8 -1
- package/dist/npm/cells/GridEditCell.js +13 -4
- package/dist/npm/cells/GridFilterCell.js +33 -21
- package/dist/npm/cells/GridGroupCell.d.ts +14 -2
- package/dist/npm/cells/GridGroupCell.js +34 -4
- package/dist/npm/cells/GridHierarchyCell.js +24 -5
- package/dist/npm/cells/GridSelectionCell.d.ts +8 -1
- package/dist/npm/cells/GridSelectionCell.js +10 -1
- package/dist/npm/columnMenu/ColumnMenu.js +13 -10
- package/dist/npm/columnMenu/GridColumnMenuCheckboxFilter.js +12 -5
- package/dist/npm/columnMenu/GridColumnMenuFilter.js +9 -4
- package/dist/npm/columnMenu/GridColumnMenuItem.d.ts +9 -0
- package/dist/npm/columnMenu/GridColumnMenuItem.js +13 -2
- package/dist/npm/columnMenu/GridColumnMenuSort.js +17 -8
- package/dist/npm/drag/ColumnDraggable.js +15 -2
- package/dist/npm/drag/CommonDragLogic.d.ts +1 -0
- package/dist/npm/drag/CommonDragLogic.js +20 -9
- package/dist/npm/drag/GroupingIndicator.js +25 -24
- package/dist/npm/filterCommon.d.ts +4 -0
- package/dist/npm/filterCommon.js +18 -1
- package/dist/npm/footer/Footer.js +12 -2
- package/dist/npm/footer/FooterRow.d.ts +1 -0
- package/dist/npm/footer/FooterRow.js +12 -6
- package/dist/npm/header/FilterRow.d.ts +1 -0
- package/dist/npm/header/FilterRow.js +29 -21
- package/dist/npm/header/GroupPanel.d.ts +1 -0
- package/dist/npm/header/GroupPanel.js +17 -4
- package/dist/npm/header/Header.js +4 -12
- package/dist/npm/header/HeaderRow.d.ts +2 -0
- package/dist/npm/header/HeaderRow.js +45 -15
- package/dist/npm/interfaces/GridFilterCellProps.d.ts +12 -0
- package/dist/npm/messages/main.d.ts +60 -0
- package/dist/npm/messages/main.js +61 -1
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/rows/GridRow.js +2 -2
- package/dist/npm/utils/main.js +1 -1
- package/package.json +18 -16
package/dist/npm/Grid.js
CHANGED
|
@@ -180,7 +180,9 @@ var GridVue2 = {
|
|
|
180
180
|
this._footer = null;
|
|
181
181
|
this.forceUpdateTimeout = undefined;
|
|
182
182
|
this._gridId = (0, kendo_vue_common_1.guid)();
|
|
183
|
+
this._gridRoleElementId = (0, kendo_vue_common_1.guid)(); // Needed for aria-control accessibility attribute
|
|
183
184
|
},
|
|
185
|
+
|
|
184
186
|
mounted: function mounted() {
|
|
185
187
|
this.setRefs();
|
|
186
188
|
var rtl = (0, kendo_vue_common_1.isRtl)(this._element);
|
|
@@ -248,6 +250,38 @@ var GridVue2 = {
|
|
|
248
250
|
}
|
|
249
251
|
}
|
|
250
252
|
return newCollapsed;
|
|
253
|
+
},
|
|
254
|
+
// Calculates the value of the ariaRowcount attribute.
|
|
255
|
+
getAriaRowCount: function getAriaRowCount() {
|
|
256
|
+
var dataItems = this.$props.dataItems;
|
|
257
|
+
var totalRecords = this.$props.total !== undefined && this.$props.total || dataItems !== undefined && dataItems.total !== undefined && dataItems.total || dataItems !== undefined && dataItems.length !== undefined && dataItems.length;
|
|
258
|
+
if (this.$props.detail) {
|
|
259
|
+
return this._columnsMap.length + (this.$props.filterable ? 1 : 0) + totalRecords * 2 + (this._columns.some(function (c) {
|
|
260
|
+
return Boolean(c.footerCell);
|
|
261
|
+
}) ? 1 : 0);
|
|
262
|
+
} else if (!this.$props.pageable && this.$props.scrollable === 'scrollable') {
|
|
263
|
+
return undefined;
|
|
264
|
+
} else if (this.$props.groupable) {
|
|
265
|
+
return -1;
|
|
266
|
+
} else {
|
|
267
|
+
return this._columnsMap.length + (this.$props.filterable ? 1 : 0) + totalRecords + (this._columns.some(function (c) {
|
|
268
|
+
return Boolean(c.footerCell);
|
|
269
|
+
}) ? 1 : 0);
|
|
270
|
+
}
|
|
271
|
+
},
|
|
272
|
+
// Calculates the value of the ariaColcount attribute.
|
|
273
|
+
// Based on the result of this method the ariaColIndex is rendered or not in the HeaderRow TH elements
|
|
274
|
+
getAriaColCount: function getAriaColCount() {
|
|
275
|
+
var columns = this.$props.columns;
|
|
276
|
+
var columnVirtualization = this.$props.columnVirtualization;
|
|
277
|
+
var columnsHasHiddenProperty = columns && columns.filter(function (col) {
|
|
278
|
+
return col.hidden !== undefined;
|
|
279
|
+
}).length !== 0;
|
|
280
|
+
if (columnVirtualization || columnsHasHiddenProperty) {
|
|
281
|
+
return columns.length !== 0 ? columns.length : -1;
|
|
282
|
+
} else {
|
|
283
|
+
return undefined;
|
|
284
|
+
}
|
|
251
285
|
}
|
|
252
286
|
},
|
|
253
287
|
methods: {
|
|
@@ -664,7 +698,7 @@ var GridVue2 = {
|
|
|
664
698
|
// position: 'sticky',
|
|
665
699
|
index: 0,
|
|
666
700
|
rightBorder: false,
|
|
667
|
-
ariaColumnIndex:
|
|
701
|
+
ariaColumnIndex: 1,
|
|
668
702
|
isAccessible: true
|
|
669
703
|
};
|
|
670
704
|
var columnIndexOffset = 0;
|
|
@@ -851,8 +885,10 @@ var GridVue2 = {
|
|
|
851
885
|
group: this.$props.group || [],
|
|
852
886
|
attrs: this.v3 ? undefined : {
|
|
853
887
|
group: this.$props.group || [],
|
|
888
|
+
ariaControls: this._gridRoleElementId,
|
|
854
889
|
resolveTitle: this.resolveTitle
|
|
855
890
|
},
|
|
891
|
+
ariaControls: this._gridRoleElementId,
|
|
856
892
|
onGroupChange: this.groupChangeHandler,
|
|
857
893
|
on: this.v3 ? undefined : {
|
|
858
894
|
"groupChange": this.groupChangeHandler,
|
|
@@ -901,16 +937,19 @@ var GridVue2 = {
|
|
|
901
937
|
columnMenu: this.$props.columnMenu,
|
|
902
938
|
columnMenuAnimate: this.$props.columnMenuAnimate,
|
|
903
939
|
columns: this._columns,
|
|
940
|
+
columnsInitial: this.$props.columns,
|
|
904
941
|
columnResize: this.columnResize,
|
|
905
942
|
columnsMap: this._columnsMap,
|
|
906
943
|
cellRender: this.$props.headerCellRender,
|
|
907
944
|
isRtl: this.isRtl,
|
|
945
|
+
isColCountDefined: this.getAriaColCount !== undefined,
|
|
908
946
|
filterRow: this.$props.filterable
|
|
909
947
|
// @ts-ignore
|
|
910
948
|
&& h(FilterRow_1.FilterRow, {
|
|
911
949
|
grid: this,
|
|
912
950
|
attrs: this.v3 ? undefined : {
|
|
913
951
|
grid: this,
|
|
952
|
+
size: this.$props.size,
|
|
914
953
|
columns: this._columns,
|
|
915
954
|
filter: this.$props.filter,
|
|
916
955
|
filterOperators: this.$props.filterOperators || filterCommon_1.operators,
|
|
@@ -919,6 +958,7 @@ var GridVue2 = {
|
|
|
919
958
|
isRtl: this.isRtl,
|
|
920
959
|
ariaRowIndex: this._columnsMap.length + 1
|
|
921
960
|
},
|
|
961
|
+
size: this.$props.size,
|
|
922
962
|
columns: this._columns,
|
|
923
963
|
filter: this.$props.filter,
|
|
924
964
|
filterOperators: this.$props.filterOperators || filterCommon_1.operators,
|
|
@@ -953,6 +993,7 @@ var GridVue2 = {
|
|
|
953
993
|
columnMenuAnimate: this.$props.columnMenuAnimate,
|
|
954
994
|
onSelectionchange: this.onHeaderSelectionChangeHandler,
|
|
955
995
|
columns: this._columns,
|
|
996
|
+
columnsInitial: this.$props.columns,
|
|
956
997
|
columnResize: this.columnResize,
|
|
957
998
|
onPressHandler: this.dragLogic.pressHandler,
|
|
958
999
|
onDragHandler: this.dragLogic.dragHandler,
|
|
@@ -960,10 +1001,12 @@ var GridVue2 = {
|
|
|
960
1001
|
columnsMap: this._columnsMap,
|
|
961
1002
|
cellRender: this.$props.headerCellRender,
|
|
962
1003
|
isRtl: this.isRtl,
|
|
1004
|
+
isColCountDefined: this.getAriaColCount !== undefined,
|
|
963
1005
|
filterRow: this.$props.filterable && h(FilterRow_1.FilterRow, {
|
|
964
1006
|
grid: this,
|
|
965
1007
|
attrs: this.v3 ? undefined : {
|
|
966
1008
|
grid: this,
|
|
1009
|
+
size: this.$props.size,
|
|
967
1010
|
columns: this._columns,
|
|
968
1011
|
filter: this.$props.filter,
|
|
969
1012
|
filterOperators: this.$props.filterOperators || filterCommon_1.operators,
|
|
@@ -972,6 +1015,7 @@ var GridVue2 = {
|
|
|
972
1015
|
isRtl: this.isRtl,
|
|
973
1016
|
ariaRowIndex: this._columnsMap.length + 1
|
|
974
1017
|
},
|
|
1018
|
+
size: this.$props.size,
|
|
975
1019
|
columns: this._columns,
|
|
976
1020
|
filter: this.$props.filter,
|
|
977
1021
|
filterOperators: this.$props.filterOperators || filterCommon_1.operators,
|
|
@@ -1014,14 +1058,17 @@ var GridVue2 = {
|
|
|
1014
1058
|
columnMenu: this.$props.columnMenu,
|
|
1015
1059
|
columnMenuAnimate: this.$props.columnMenuAnimate,
|
|
1016
1060
|
columns: this._columns,
|
|
1061
|
+
columnsInitial: this.$props.columns,
|
|
1017
1062
|
columnResize: this.columnResize,
|
|
1018
1063
|
columnsMap: this._columnsMap,
|
|
1019
1064
|
cellRender: this.$props.headerCellRender,
|
|
1020
1065
|
isRtl: this.isRtl,
|
|
1066
|
+
isColCountDefined: this.getAriaColCount !== undefined,
|
|
1021
1067
|
filterRow: this.$props.filterable && h(FilterRow_1.FilterRow, {
|
|
1022
1068
|
grid: this,
|
|
1023
1069
|
attrs: this.v3 ? undefined : {
|
|
1024
1070
|
grid: this,
|
|
1071
|
+
size: this.$props.size,
|
|
1025
1072
|
columns: this._columns,
|
|
1026
1073
|
filter: this.$props.filter,
|
|
1027
1074
|
filterOperators: this.$props.filterOperators || filterCommon_1.operators,
|
|
@@ -1030,6 +1077,7 @@ var GridVue2 = {
|
|
|
1030
1077
|
isRtl: this.isRtl,
|
|
1031
1078
|
ariaRowIndex: this._columnsMap.length + 1
|
|
1032
1079
|
},
|
|
1080
|
+
size: this.$props.size,
|
|
1033
1081
|
columns: this._columns,
|
|
1034
1082
|
filter: this.$props.filter,
|
|
1035
1083
|
filterOperators: this.$props.filterOperators || filterCommon_1.operators,
|
|
@@ -1064,6 +1112,7 @@ var GridVue2 = {
|
|
|
1064
1112
|
columnMenuAnimate: this.$props.columnMenuAnimate,
|
|
1065
1113
|
onSelectionchange: this.onHeaderSelectionChangeHandler,
|
|
1066
1114
|
columns: this._columns,
|
|
1115
|
+
columnsInitial: this.$props.columns,
|
|
1067
1116
|
columnResize: this.columnResize,
|
|
1068
1117
|
onPressHandler: this.dragLogic.pressHandler,
|
|
1069
1118
|
onDragHandler: this.dragLogic.dragHandler,
|
|
@@ -1071,10 +1120,12 @@ var GridVue2 = {
|
|
|
1071
1120
|
columnsMap: this._columnsMap,
|
|
1072
1121
|
cellRender: this.$props.headerCellRender,
|
|
1073
1122
|
isRtl: this.isRtl,
|
|
1123
|
+
isColCountDefined: this.getAriaColCount !== undefined,
|
|
1074
1124
|
filterRow: this.$props.filterable && h(FilterRow_1.FilterRow, {
|
|
1075
1125
|
grid: this,
|
|
1076
1126
|
attrs: this.v3 ? undefined : {
|
|
1077
1127
|
grid: this,
|
|
1128
|
+
size: this.$props.size,
|
|
1078
1129
|
columns: this._columns,
|
|
1079
1130
|
filter: this.$props.filter,
|
|
1080
1131
|
filterOperators: this.$props.filterOperators || filterCommon_1.operators,
|
|
@@ -1083,6 +1134,7 @@ var GridVue2 = {
|
|
|
1083
1134
|
isRtl: this.isRtl,
|
|
1084
1135
|
ariaRowIndex: this._columnsMap.length + 1
|
|
1085
1136
|
},
|
|
1137
|
+
size: this.$props.size,
|
|
1086
1138
|
columns: this._columns,
|
|
1087
1139
|
filter: this.$props.filter,
|
|
1088
1140
|
filterOperators: this.$props.filterOperators || filterCommon_1.operators,
|
|
@@ -1122,12 +1174,14 @@ var GridVue2 = {
|
|
|
1122
1174
|
isRtl: this.isRtl,
|
|
1123
1175
|
attrs: this.v3 ? undefined : {
|
|
1124
1176
|
isRtl: this.isRtl,
|
|
1177
|
+
rowIndex: this.getAriaRowCount + 1,
|
|
1125
1178
|
columns: this._columns.map(function (col) {
|
|
1126
1179
|
return __assign(__assign({}, col), {
|
|
1127
1180
|
footerCell: kendo_vue_common_1.templateRendering.call(this, col.footerCell, kendo_vue_common_1.getListeners.call(this))
|
|
1128
1181
|
});
|
|
1129
1182
|
}, this)
|
|
1130
1183
|
},
|
|
1184
|
+
rowIndex: this.getAriaRowCount + 1,
|
|
1131
1185
|
columns: this._columns.map(function (col) {
|
|
1132
1186
|
return __assign(__assign({}, col), {
|
|
1133
1187
|
footerCell: kendo_vue_common_1.templateRendering.call(this, col.footerCell, kendo_vue_common_1.getListeners.call(this))
|
|
@@ -1153,12 +1207,14 @@ var GridVue2 = {
|
|
|
1153
1207
|
isRtl: this.isRtl,
|
|
1154
1208
|
attrs: this.v3 ? undefined : {
|
|
1155
1209
|
isRtl: this.isRtl,
|
|
1210
|
+
rowIndex: this.getAriaRowCount + 1,
|
|
1156
1211
|
columns: this._columns.map(function (col) {
|
|
1157
1212
|
return __assign(__assign({}, col), {
|
|
1158
1213
|
footerCell: kendo_vue_common_1.templateRendering.call(this, col.footerCell, kendo_vue_common_1.getListeners.call(this))
|
|
1159
1214
|
});
|
|
1160
1215
|
}, this)
|
|
1161
1216
|
},
|
|
1217
|
+
rowIndex: this.getAriaRowCount + 1,
|
|
1162
1218
|
columns: this._columns.map(function (col) {
|
|
1163
1219
|
return __assign(__assign({}, col), {
|
|
1164
1220
|
footerCell: kendo_vue_common_1.templateRendering.call(this, col.footerCell, kendo_vue_common_1.getListeners.call(this))
|
|
@@ -1601,6 +1657,9 @@ var GridVue2 = {
|
|
|
1601
1657
|
detailRowCount++;
|
|
1602
1658
|
currentAriaRowIndex = absoluteIndex + rowIndexStart + detailRowCount;
|
|
1603
1659
|
}
|
|
1660
|
+
// The RowIndexes when in Detail Row template
|
|
1661
|
+
var masterRowIndex = rowIndex * 2 + rowIndexStart;
|
|
1662
|
+
var detailRowIndex = rowIndex * 2 + rowIndexStart + 1;
|
|
1604
1663
|
return [
|
|
1605
1664
|
// @ts-ignore function children
|
|
1606
1665
|
h(GridRow_1.GridRow, {
|
|
@@ -1614,7 +1673,7 @@ var GridVue2 = {
|
|
|
1614
1673
|
selectedField: this.$props.selectedField,
|
|
1615
1674
|
rowHeight: this.$props.rowHeight,
|
|
1616
1675
|
render: rowRenderFunction,
|
|
1617
|
-
ariaRowIndex: currentAriaRowIndex,
|
|
1676
|
+
ariaRowIndex: this.$props.detail ? masterRowIndex : currentAriaRowIndex,
|
|
1618
1677
|
dataIndex: dataIndex
|
|
1619
1678
|
},
|
|
1620
1679
|
isAltRow: isAlt,
|
|
@@ -1637,23 +1696,23 @@ var GridVue2 = {
|
|
|
1637
1696
|
selectedField: this.$props.selectedField,
|
|
1638
1697
|
rowHeight: this.$props.rowHeight,
|
|
1639
1698
|
render: rowRenderFunction,
|
|
1640
|
-
ariaRowIndex: currentAriaRowIndex,
|
|
1699
|
+
ariaRowIndex: this.$props.detail ? masterRowIndex : currentAriaRowIndex,
|
|
1641
1700
|
dataIndex: dataIndex,
|
|
1642
1701
|
"class": this.$props.rowClass ? this.$props.rowClass(item) : ''
|
|
1643
1702
|
}, this.v3 ? function () {
|
|
1644
1703
|
return [dataRow.call(_this2, item, rowId, dataIndex).row];
|
|
1645
1704
|
} : [dataRow.call(_this2, item, rowId, dataIndex).row]), this.$props.detail && item.rowType === 'data' && item.expanded && h("tr", {
|
|
1646
1705
|
key: detailRowId,
|
|
1647
|
-
"class": isAlt ? 'k-detail-row k-alt' : 'k-detail-row',
|
|
1706
|
+
"class": isAlt ? 'k-table-row k-table-alt-row k-detail-row k-alt' : 'k-table-row k-detail-row',
|
|
1648
1707
|
style: {
|
|
1649
1708
|
visibility: hidden(rowIndex) ? 'hidden' : ''
|
|
1650
1709
|
},
|
|
1651
1710
|
role: "row",
|
|
1652
1711
|
attrs: this.v3 ? undefined : {
|
|
1653
1712
|
role: "row",
|
|
1654
|
-
|
|
1713
|
+
ariaRowIndex: this.$props.detail ? detailRowIndex : currentAriaRowIndex
|
|
1655
1714
|
},
|
|
1656
|
-
|
|
1715
|
+
ariaRowIndex: this.$props.detail ? detailRowIndex : currentAriaRowIndex
|
|
1657
1716
|
}, [this.$props.group && this.$props.group.map(function (group, idx) {
|
|
1658
1717
|
// @ts-ignore
|
|
1659
1718
|
return h(GridGroupCell_1.GridGroupCell, {
|
|
@@ -1695,8 +1754,9 @@ var GridVue2 = {
|
|
|
1695
1754
|
id: kendo_vue_data_tools_1.tableKeyboardNavigationTools.generateNavigatableId("".concat(detailRowId, "-dcell"), idPrefix)
|
|
1696
1755
|
})])];
|
|
1697
1756
|
}, this) || h("tr", {
|
|
1698
|
-
"class": "k-grid-norecords"
|
|
1757
|
+
"class": "k-table-row k-grid-norecords"
|
|
1699
1758
|
}, [h("td", {
|
|
1759
|
+
"class": 'k-table-td',
|
|
1700
1760
|
colspan: this._columns.filter(function (c) {
|
|
1701
1761
|
return !c.children.length;
|
|
1702
1762
|
}).length,
|
|
@@ -1718,14 +1778,16 @@ var GridVue2 = {
|
|
|
1718
1778
|
"pagechange": this.pageChangeHandler
|
|
1719
1779
|
},
|
|
1720
1780
|
onPagechange: this.pageChangeHandler,
|
|
1721
|
-
|
|
1781
|
+
size: this.$props.size,
|
|
1722
1782
|
attrs: this.v3 ? undefined : {
|
|
1783
|
+
size: this.$props.size,
|
|
1723
1784
|
total: total,
|
|
1724
1785
|
skip: this.vs.propsSkip || 0,
|
|
1725
1786
|
pageSize: (this.$props.take !== undefined ? this.$props.take : this.$props.pageSize) || 10,
|
|
1726
1787
|
messagesMap: main_2.pagerMessagesMap,
|
|
1727
1788
|
settings: (0, kendo_vue_data_tools_1.normalize)(this.$props.pageable || {})
|
|
1728
1789
|
},
|
|
1790
|
+
total: total,
|
|
1729
1791
|
skip: this.vs.propsSkip || 0,
|
|
1730
1792
|
pageSize: (this.$props.take !== undefined ? this.$props.take : this.$props.pageSize) || 10,
|
|
1731
1793
|
messagesMap: main_2.pagerMessagesMap,
|
|
@@ -1804,66 +1866,134 @@ var GridVue2 = {
|
|
|
1804
1866
|
} : 'gridNav',
|
|
1805
1867
|
currentData: _this3.currentData,
|
|
1806
1868
|
attrs: _this3.v3 ? undefined : {
|
|
1807
|
-
currentData: _this3.currentData
|
|
1808
|
-
role: "grid"
|
|
1869
|
+
currentData: _this3.currentData
|
|
1809
1870
|
},
|
|
1810
1871
|
style: wrapperStyle,
|
|
1811
|
-
role: "grid",
|
|
1812
1872
|
"class": _this3.nonscrollableWrapperClass
|
|
1813
1873
|
}, _this3.v3 ? function () {
|
|
1814
|
-
return [toolbar, groupingPanel, h("
|
|
1874
|
+
return [toolbar, groupingPanel, h("div", {
|
|
1875
|
+
role: "grid",
|
|
1876
|
+
attrs: _this3.v3 ? undefined : {
|
|
1877
|
+
role: "grid",
|
|
1878
|
+
id: _this3._gridRoleElementId,
|
|
1879
|
+
"aria-colcount": _this3.getAriaColCount,
|
|
1880
|
+
"aria-rowcount": _this3.getAriaRowCount
|
|
1881
|
+
},
|
|
1882
|
+
"class": "k-grid-aria-root",
|
|
1883
|
+
id: _this3._gridRoleElementId,
|
|
1884
|
+
"aria-colcount": _this3.getAriaColCount,
|
|
1885
|
+
"aria-rowcount": _this3.getAriaRowCount
|
|
1886
|
+
}, [h("table", {
|
|
1887
|
+
"class": 'k-table',
|
|
1815
1888
|
style: {
|
|
1816
1889
|
tableLayout: 'fixed'
|
|
1890
|
+
},
|
|
1891
|
+
role: "none",
|
|
1892
|
+
attrs: _this3.v3 ? undefined : {
|
|
1893
|
+
role: "none"
|
|
1817
1894
|
}
|
|
1818
1895
|
}, [colGroups, header, h("tbody", {
|
|
1896
|
+
"class": 'k-table-tbody',
|
|
1819
1897
|
"data-keyboardnavbody": true,
|
|
1820
1898
|
attrs: _this3.v3 ? undefined : {
|
|
1821
1899
|
"data-keyboardnavbody": true
|
|
1822
1900
|
}
|
|
1823
|
-
}, [body, loader]), footer]), pager, clues];
|
|
1824
|
-
} : [toolbar, groupingPanel, h("
|
|
1901
|
+
}, [body, loader]), footer])]), pager, clues];
|
|
1902
|
+
} : [toolbar, groupingPanel, h("div", {
|
|
1903
|
+
role: "grid",
|
|
1904
|
+
attrs: _this3.v3 ? undefined : {
|
|
1905
|
+
role: "grid",
|
|
1906
|
+
id: _this3._gridRoleElementId,
|
|
1907
|
+
"aria-colcount": _this3.getAriaColCount,
|
|
1908
|
+
"aria-rowcount": _this3.getAriaRowCount
|
|
1909
|
+
},
|
|
1910
|
+
"class": "k-grid-aria-root",
|
|
1911
|
+
id: _this3._gridRoleElementId,
|
|
1912
|
+
"aria-colcount": _this3.getAriaColCount,
|
|
1913
|
+
"aria-rowcount": _this3.getAriaRowCount
|
|
1914
|
+
}, [h("table", {
|
|
1915
|
+
"class": 'k-table',
|
|
1825
1916
|
style: {
|
|
1826
1917
|
tableLayout: 'fixed'
|
|
1918
|
+
},
|
|
1919
|
+
role: "none",
|
|
1920
|
+
attrs: _this3.v3 ? undefined : {
|
|
1921
|
+
role: "none"
|
|
1827
1922
|
}
|
|
1828
1923
|
}, [colGroups, header, h("tbody", {
|
|
1924
|
+
"class": 'k-table-tbody',
|
|
1829
1925
|
"data-keyboardnavbody": true,
|
|
1830
1926
|
attrs: _this3.v3 ? undefined : {
|
|
1831
1927
|
"data-keyboardnavbody": true
|
|
1832
1928
|
}
|
|
1833
|
-
}, [body, loader]), footer]), pager, clues])];
|
|
1929
|
+
}, [body, loader]), footer])]), pager, clues])];
|
|
1834
1930
|
} : [h(GridNav_1.GridNav, {
|
|
1835
1931
|
ref: _this3.v3 ? function (el) {
|
|
1836
1932
|
_this.gridNavRef = el;
|
|
1837
1933
|
} : 'gridNav',
|
|
1838
1934
|
currentData: _this3.currentData,
|
|
1839
1935
|
attrs: _this3.v3 ? undefined : {
|
|
1840
|
-
currentData: _this3.currentData
|
|
1841
|
-
role: "grid"
|
|
1936
|
+
currentData: _this3.currentData
|
|
1842
1937
|
},
|
|
1843
1938
|
style: wrapperStyle,
|
|
1844
|
-
role: "grid",
|
|
1845
1939
|
"class": _this3.nonscrollableWrapperClass
|
|
1846
1940
|
}, _this3.v3 ? function () {
|
|
1847
|
-
return [toolbar, groupingPanel, h("
|
|
1941
|
+
return [toolbar, groupingPanel, h("div", {
|
|
1942
|
+
role: "grid",
|
|
1943
|
+
attrs: _this3.v3 ? undefined : {
|
|
1944
|
+
role: "grid",
|
|
1945
|
+
id: _this3._gridRoleElementId,
|
|
1946
|
+
"aria-colcount": _this3.getAriaColCount,
|
|
1947
|
+
"aria-rowcount": _this3.getAriaRowCount
|
|
1948
|
+
},
|
|
1949
|
+
"class": "k-grid-aria-root",
|
|
1950
|
+
id: _this3._gridRoleElementId,
|
|
1951
|
+
"aria-colcount": _this3.getAriaColCount,
|
|
1952
|
+
"aria-rowcount": _this3.getAriaRowCount
|
|
1953
|
+
}, [h("table", {
|
|
1954
|
+
"class": 'k-table',
|
|
1848
1955
|
style: {
|
|
1849
1956
|
tableLayout: 'fixed'
|
|
1957
|
+
},
|
|
1958
|
+
role: "none",
|
|
1959
|
+
attrs: _this3.v3 ? undefined : {
|
|
1960
|
+
role: "none"
|
|
1850
1961
|
}
|
|
1851
1962
|
}, [colGroups, header, h("tbody", {
|
|
1963
|
+
"class": 'k-table-tbody',
|
|
1852
1964
|
"data-keyboardnavbody": true,
|
|
1853
1965
|
attrs: _this3.v3 ? undefined : {
|
|
1854
1966
|
"data-keyboardnavbody": true
|
|
1855
1967
|
}
|
|
1856
|
-
}, [body, loader]), footer]), pager, clues];
|
|
1857
|
-
} : [toolbar, groupingPanel, h("
|
|
1968
|
+
}, [body, loader]), footer])]), pager, clues];
|
|
1969
|
+
} : [toolbar, groupingPanel, h("div", {
|
|
1970
|
+
role: "grid",
|
|
1971
|
+
attrs: _this3.v3 ? undefined : {
|
|
1972
|
+
role: "grid",
|
|
1973
|
+
id: _this3._gridRoleElementId,
|
|
1974
|
+
"aria-colcount": _this3.getAriaColCount,
|
|
1975
|
+
"aria-rowcount": _this3.getAriaRowCount
|
|
1976
|
+
},
|
|
1977
|
+
"class": "k-grid-aria-root",
|
|
1978
|
+
id: _this3._gridRoleElementId,
|
|
1979
|
+
"aria-colcount": _this3.getAriaColCount,
|
|
1980
|
+
"aria-rowcount": _this3.getAriaRowCount
|
|
1981
|
+
}, [h("table", {
|
|
1982
|
+
"class": 'k-table',
|
|
1858
1983
|
style: {
|
|
1859
1984
|
tableLayout: 'fixed'
|
|
1985
|
+
},
|
|
1986
|
+
role: "none",
|
|
1987
|
+
attrs: _this3.v3 ? undefined : {
|
|
1988
|
+
role: "none"
|
|
1860
1989
|
}
|
|
1861
1990
|
}, [colGroups, header, h("tbody", {
|
|
1991
|
+
"class": 'k-table-tbody',
|
|
1862
1992
|
"data-keyboardnavbody": true,
|
|
1863
1993
|
attrs: _this3.v3 ? undefined : {
|
|
1864
1994
|
"data-keyboardnavbody": true
|
|
1865
1995
|
}
|
|
1866
|
-
}, [body, loader]), footer]), pager, clues])])
|
|
1996
|
+
}, [body, loader]), footer])]), pager, clues])])
|
|
1867
1997
|
);
|
|
1868
1998
|
}
|
|
1869
1999
|
return (
|
|
@@ -1885,14 +2015,24 @@ var GridVue2 = {
|
|
|
1885
2015
|
} : 'gridNav',
|
|
1886
2016
|
currentData: _this3.currentData,
|
|
1887
2017
|
attrs: _this3.v3 ? undefined : {
|
|
1888
|
-
currentData: _this3.currentData
|
|
1889
|
-
role: "grid"
|
|
2018
|
+
currentData: _this3.currentData
|
|
1890
2019
|
},
|
|
1891
2020
|
style: wrapperStyle,
|
|
1892
|
-
role: "grid",
|
|
1893
2021
|
"class": _this3.scrollableWrapperClass
|
|
1894
2022
|
}, _this3.v3 ? function () {
|
|
1895
|
-
return [toolbar, groupingPanel,
|
|
2023
|
+
return [toolbar, groupingPanel, h("div", {
|
|
2024
|
+
role: "grid",
|
|
2025
|
+
attrs: _this3.v3 ? undefined : {
|
|
2026
|
+
role: "grid",
|
|
2027
|
+
id: _this3._gridRoleElementId,
|
|
2028
|
+
"aria-colcount": _this3.getAriaColCount,
|
|
2029
|
+
"aria-rowcount": _this3.getAriaRowCount
|
|
2030
|
+
},
|
|
2031
|
+
"class": "k-grid-aria-root",
|
|
2032
|
+
id: _this3._gridRoleElementId,
|
|
2033
|
+
"aria-colcount": _this3.getAriaColCount,
|
|
2034
|
+
"aria-rowcount": _this3.getAriaRowCount
|
|
2035
|
+
}, [header, h("div", {
|
|
1896
2036
|
"class": "k-grid-container",
|
|
1897
2037
|
role: "presentation",
|
|
1898
2038
|
attrs: _this3.v3 ? undefined : {
|
|
@@ -1910,20 +2050,23 @@ var GridVue2 = {
|
|
|
1910
2050
|
"scroll": _this3.scrollHandler
|
|
1911
2051
|
}
|
|
1912
2052
|
}, [h("div", {
|
|
1913
|
-
"class": 'k-grid-table-wrap'
|
|
1914
|
-
}, [h("table", {
|
|
2053
|
+
"class": 'k-grid-table-wrap',
|
|
1915
2054
|
role: "presentation",
|
|
1916
2055
|
attrs: _this3.v3 ? undefined : {
|
|
1917
|
-
role: "presentation"
|
|
1918
|
-
|
|
2056
|
+
role: "presentation"
|
|
2057
|
+
}
|
|
2058
|
+
}, [h("table", {
|
|
2059
|
+
role: "none",
|
|
2060
|
+
attrs: _this3.v3 ? undefined : {
|
|
2061
|
+
role: "none"
|
|
1919
2062
|
},
|
|
1920
|
-
tabindex: -1,
|
|
1921
2063
|
"class": _this3.gridTableClass,
|
|
1922
2064
|
ref: (0, kendo_vue_common_1.setRef)(_this3, 'scrollTable')
|
|
1923
2065
|
}, [colGroups, h("tbody", {
|
|
1924
|
-
|
|
2066
|
+
"class": 'k-table-tbody',
|
|
2067
|
+
role: "rowgroup",
|
|
1925
2068
|
attrs: _this3.v3 ? undefined : {
|
|
1926
|
-
role: "
|
|
2069
|
+
role: "rowgroup",
|
|
1927
2070
|
"data-keyboardnavbody": true
|
|
1928
2071
|
},
|
|
1929
2072
|
"data-keyboardnavbody": true,
|
|
@@ -1938,8 +2081,20 @@ var GridVue2 = {
|
|
|
1938
2081
|
style: _this3.$props.scrollable === 'virtual' ? {
|
|
1939
2082
|
'height': _this3.vs.containerHeight + 'px'
|
|
1940
2083
|
} : {}
|
|
1941
|
-
})])]), loader]), footer, pager, clues];
|
|
1942
|
-
} : [toolbar, groupingPanel,
|
|
2084
|
+
})])]), loader]), footer]), pager, clues];
|
|
2085
|
+
} : [toolbar, groupingPanel, h("div", {
|
|
2086
|
+
role: "grid",
|
|
2087
|
+
attrs: _this3.v3 ? undefined : {
|
|
2088
|
+
role: "grid",
|
|
2089
|
+
id: _this3._gridRoleElementId,
|
|
2090
|
+
"aria-colcount": _this3.getAriaColCount,
|
|
2091
|
+
"aria-rowcount": _this3.getAriaRowCount
|
|
2092
|
+
},
|
|
2093
|
+
"class": "k-grid-aria-root",
|
|
2094
|
+
id: _this3._gridRoleElementId,
|
|
2095
|
+
"aria-colcount": _this3.getAriaColCount,
|
|
2096
|
+
"aria-rowcount": _this3.getAriaRowCount
|
|
2097
|
+
}, [header, h("div", {
|
|
1943
2098
|
"class": "k-grid-container",
|
|
1944
2099
|
role: "presentation",
|
|
1945
2100
|
attrs: _this3.v3 ? undefined : {
|
|
@@ -1957,20 +2112,23 @@ var GridVue2 = {
|
|
|
1957
2112
|
"scroll": _this3.scrollHandler
|
|
1958
2113
|
}
|
|
1959
2114
|
}, [h("div", {
|
|
1960
|
-
"class": 'k-grid-table-wrap'
|
|
1961
|
-
}, [h("table", {
|
|
2115
|
+
"class": 'k-grid-table-wrap',
|
|
1962
2116
|
role: "presentation",
|
|
1963
2117
|
attrs: _this3.v3 ? undefined : {
|
|
1964
|
-
role: "presentation"
|
|
1965
|
-
|
|
2118
|
+
role: "presentation"
|
|
2119
|
+
}
|
|
2120
|
+
}, [h("table", {
|
|
2121
|
+
role: "none",
|
|
2122
|
+
attrs: _this3.v3 ? undefined : {
|
|
2123
|
+
role: "none"
|
|
1966
2124
|
},
|
|
1967
|
-
tabindex: -1,
|
|
1968
2125
|
"class": _this3.gridTableClass,
|
|
1969
2126
|
ref: (0, kendo_vue_common_1.setRef)(_this3, 'scrollTable')
|
|
1970
2127
|
}, [colGroups, h("tbody", {
|
|
1971
|
-
|
|
2128
|
+
"class": 'k-table-tbody',
|
|
2129
|
+
role: "rowgroup",
|
|
1972
2130
|
attrs: _this3.v3 ? undefined : {
|
|
1973
|
-
role: "
|
|
2131
|
+
role: "rowgroup",
|
|
1974
2132
|
"data-keyboardnavbody": true
|
|
1975
2133
|
},
|
|
1976
2134
|
"data-keyboardnavbody": true,
|
|
@@ -1985,21 +2143,31 @@ var GridVue2 = {
|
|
|
1985
2143
|
style: _this3.$props.scrollable === 'virtual' ? {
|
|
1986
2144
|
'height': _this3.vs.containerHeight + 'px'
|
|
1987
2145
|
} : {}
|
|
1988
|
-
})])]), loader]), footer, pager, clues])];
|
|
2146
|
+
})])]), loader]), footer]), pager, clues])];
|
|
1989
2147
|
} : [h(GridNav_1.GridNav, {
|
|
1990
2148
|
ref: _this3.v3 ? function (el) {
|
|
1991
2149
|
_this.gridNavRef = el;
|
|
1992
2150
|
} : 'gridNav',
|
|
1993
2151
|
currentData: _this3.currentData,
|
|
1994
2152
|
attrs: _this3.v3 ? undefined : {
|
|
1995
|
-
currentData: _this3.currentData
|
|
1996
|
-
role: "grid"
|
|
2153
|
+
currentData: _this3.currentData
|
|
1997
2154
|
},
|
|
1998
2155
|
style: wrapperStyle,
|
|
1999
|
-
role: "grid",
|
|
2000
2156
|
"class": _this3.scrollableWrapperClass
|
|
2001
2157
|
}, _this3.v3 ? function () {
|
|
2002
|
-
return [toolbar, groupingPanel,
|
|
2158
|
+
return [toolbar, groupingPanel, h("div", {
|
|
2159
|
+
role: "grid",
|
|
2160
|
+
attrs: _this3.v3 ? undefined : {
|
|
2161
|
+
role: "grid",
|
|
2162
|
+
id: _this3._gridRoleElementId,
|
|
2163
|
+
"aria-colcount": _this3.getAriaColCount,
|
|
2164
|
+
"aria-rowcount": _this3.getAriaRowCount
|
|
2165
|
+
},
|
|
2166
|
+
"class": "k-grid-aria-root",
|
|
2167
|
+
id: _this3._gridRoleElementId,
|
|
2168
|
+
"aria-colcount": _this3.getAriaColCount,
|
|
2169
|
+
"aria-rowcount": _this3.getAriaRowCount
|
|
2170
|
+
}, [header, h("div", {
|
|
2003
2171
|
"class": "k-grid-container",
|
|
2004
2172
|
role: "presentation",
|
|
2005
2173
|
attrs: _this3.v3 ? undefined : {
|
|
@@ -2017,20 +2185,23 @@ var GridVue2 = {
|
|
|
2017
2185
|
"scroll": _this3.scrollHandler
|
|
2018
2186
|
}
|
|
2019
2187
|
}, [h("div", {
|
|
2020
|
-
"class": 'k-grid-table-wrap'
|
|
2021
|
-
}, [h("table", {
|
|
2188
|
+
"class": 'k-grid-table-wrap',
|
|
2022
2189
|
role: "presentation",
|
|
2023
2190
|
attrs: _this3.v3 ? undefined : {
|
|
2024
|
-
role: "presentation"
|
|
2025
|
-
|
|
2191
|
+
role: "presentation"
|
|
2192
|
+
}
|
|
2193
|
+
}, [h("table", {
|
|
2194
|
+
role: "none",
|
|
2195
|
+
attrs: _this3.v3 ? undefined : {
|
|
2196
|
+
role: "none"
|
|
2026
2197
|
},
|
|
2027
|
-
tabindex: -1,
|
|
2028
2198
|
"class": _this3.gridTableClass,
|
|
2029
2199
|
ref: (0, kendo_vue_common_1.setRef)(_this3, 'scrollTable')
|
|
2030
2200
|
}, [colGroups, h("tbody", {
|
|
2031
|
-
|
|
2201
|
+
"class": 'k-table-tbody',
|
|
2202
|
+
role: "rowgroup",
|
|
2032
2203
|
attrs: _this3.v3 ? undefined : {
|
|
2033
|
-
role: "
|
|
2204
|
+
role: "rowgroup",
|
|
2034
2205
|
"data-keyboardnavbody": true
|
|
2035
2206
|
},
|
|
2036
2207
|
"data-keyboardnavbody": true,
|
|
@@ -2045,8 +2216,20 @@ var GridVue2 = {
|
|
|
2045
2216
|
style: _this3.$props.scrollable === 'virtual' ? {
|
|
2046
2217
|
'height': _this3.vs.containerHeight + 'px'
|
|
2047
2218
|
} : {}
|
|
2048
|
-
})])]), loader]), footer, pager, clues];
|
|
2049
|
-
} : [toolbar, groupingPanel,
|
|
2219
|
+
})])]), loader]), footer]), pager, clues];
|
|
2220
|
+
} : [toolbar, groupingPanel, h("div", {
|
|
2221
|
+
role: "grid",
|
|
2222
|
+
attrs: _this3.v3 ? undefined : {
|
|
2223
|
+
role: "grid",
|
|
2224
|
+
id: _this3._gridRoleElementId,
|
|
2225
|
+
"aria-colcount": _this3.getAriaColCount,
|
|
2226
|
+
"aria-rowcount": _this3.getAriaRowCount
|
|
2227
|
+
},
|
|
2228
|
+
"class": "k-grid-aria-root",
|
|
2229
|
+
id: _this3._gridRoleElementId,
|
|
2230
|
+
"aria-colcount": _this3.getAriaColCount,
|
|
2231
|
+
"aria-rowcount": _this3.getAriaRowCount
|
|
2232
|
+
}, [header, h("div", {
|
|
2050
2233
|
"class": "k-grid-container",
|
|
2051
2234
|
role: "presentation",
|
|
2052
2235
|
attrs: _this3.v3 ? undefined : {
|
|
@@ -2064,20 +2247,23 @@ var GridVue2 = {
|
|
|
2064
2247
|
"scroll": _this3.scrollHandler
|
|
2065
2248
|
}
|
|
2066
2249
|
}, [h("div", {
|
|
2067
|
-
"class": 'k-grid-table-wrap'
|
|
2068
|
-
}, [h("table", {
|
|
2250
|
+
"class": 'k-grid-table-wrap',
|
|
2069
2251
|
role: "presentation",
|
|
2070
2252
|
attrs: _this3.v3 ? undefined : {
|
|
2071
|
-
role: "presentation"
|
|
2072
|
-
|
|
2253
|
+
role: "presentation"
|
|
2254
|
+
}
|
|
2255
|
+
}, [h("table", {
|
|
2256
|
+
role: "none",
|
|
2257
|
+
attrs: _this3.v3 ? undefined : {
|
|
2258
|
+
role: "none"
|
|
2073
2259
|
},
|
|
2074
|
-
tabindex: -1,
|
|
2075
2260
|
"class": _this3.gridTableClass,
|
|
2076
2261
|
ref: (0, kendo_vue_common_1.setRef)(_this3, 'scrollTable')
|
|
2077
2262
|
}, [colGroups, h("tbody", {
|
|
2078
|
-
|
|
2263
|
+
"class": 'k-table-tbody',
|
|
2264
|
+
role: "rowgroup",
|
|
2079
2265
|
attrs: _this3.v3 ? undefined : {
|
|
2080
|
-
role: "
|
|
2266
|
+
role: "rowgroup",
|
|
2081
2267
|
"data-keyboardnavbody": true
|
|
2082
2268
|
},
|
|
2083
2269
|
"data-keyboardnavbody": true,
|
|
@@ -2092,7 +2278,7 @@ var GridVue2 = {
|
|
|
2092
2278
|
style: _this3.$props.scrollable === 'virtual' ? {
|
|
2093
2279
|
'height': _this3.vs.containerHeight + 'px'
|
|
2094
2280
|
} : {}
|
|
2095
|
-
})])]), loader]), footer, pager, clues])])
|
|
2281
|
+
})])]), loader]), footer]), pager, clues])])
|
|
2096
2282
|
);
|
|
2097
2283
|
}
|
|
2098
2284
|
};
|
package/dist/npm/GridToolbar.js
CHANGED
|
@@ -46,7 +46,11 @@ var GridToolbarVue2 = {
|
|
|
46
46
|
var h = gh || createElement;
|
|
47
47
|
var defaultSlot = (0, kendo_vue_common_1.getDefaultSlots)(this);
|
|
48
48
|
return h("div", {
|
|
49
|
-
"class": this.wrapperClass
|
|
49
|
+
"class": this.wrapperClass,
|
|
50
|
+
role: 'toolbar',
|
|
51
|
+
attrs: this.v3 ? undefined : {
|
|
52
|
+
role: 'toolbar'
|
|
53
|
+
}
|
|
50
54
|
}, [defaultSlot]);
|
|
51
55
|
}
|
|
52
56
|
};
|