@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/es/Grid.js
CHANGED
|
@@ -174,7 +174,9 @@ var GridVue2 = {
|
|
|
174
174
|
this._footer = null;
|
|
175
175
|
this.forceUpdateTimeout = undefined;
|
|
176
176
|
this._gridId = guid();
|
|
177
|
+
this._gridRoleElementId = guid(); // Needed for aria-control accessibility attribute
|
|
177
178
|
},
|
|
179
|
+
|
|
178
180
|
mounted: function mounted() {
|
|
179
181
|
this.setRefs();
|
|
180
182
|
var rtl = isRtl(this._element);
|
|
@@ -242,6 +244,38 @@ var GridVue2 = {
|
|
|
242
244
|
}
|
|
243
245
|
}
|
|
244
246
|
return newCollapsed;
|
|
247
|
+
},
|
|
248
|
+
// Calculates the value of the ariaRowcount attribute.
|
|
249
|
+
getAriaRowCount: function getAriaRowCount() {
|
|
250
|
+
var dataItems = this.$props.dataItems;
|
|
251
|
+
var totalRecords = this.$props.total !== undefined && this.$props.total || dataItems !== undefined && dataItems.total !== undefined && dataItems.total || dataItems !== undefined && dataItems.length !== undefined && dataItems.length;
|
|
252
|
+
if (this.$props.detail) {
|
|
253
|
+
return this._columnsMap.length + (this.$props.filterable ? 1 : 0) + totalRecords * 2 + (this._columns.some(function (c) {
|
|
254
|
+
return Boolean(c.footerCell);
|
|
255
|
+
}) ? 1 : 0);
|
|
256
|
+
} else if (!this.$props.pageable && this.$props.scrollable === 'scrollable') {
|
|
257
|
+
return undefined;
|
|
258
|
+
} else if (this.$props.groupable) {
|
|
259
|
+
return -1;
|
|
260
|
+
} else {
|
|
261
|
+
return this._columnsMap.length + (this.$props.filterable ? 1 : 0) + totalRecords + (this._columns.some(function (c) {
|
|
262
|
+
return Boolean(c.footerCell);
|
|
263
|
+
}) ? 1 : 0);
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
// Calculates the value of the ariaColcount attribute.
|
|
267
|
+
// Based on the result of this method the ariaColIndex is rendered or not in the HeaderRow TH elements
|
|
268
|
+
getAriaColCount: function getAriaColCount() {
|
|
269
|
+
var columns = this.$props.columns;
|
|
270
|
+
var columnVirtualization = this.$props.columnVirtualization;
|
|
271
|
+
var columnsHasHiddenProperty = columns && columns.filter(function (col) {
|
|
272
|
+
return col.hidden !== undefined;
|
|
273
|
+
}).length !== 0;
|
|
274
|
+
if (columnVirtualization || columnsHasHiddenProperty) {
|
|
275
|
+
return columns.length !== 0 ? columns.length : -1;
|
|
276
|
+
} else {
|
|
277
|
+
return undefined;
|
|
278
|
+
}
|
|
245
279
|
}
|
|
246
280
|
},
|
|
247
281
|
methods: {
|
|
@@ -658,7 +692,7 @@ var GridVue2 = {
|
|
|
658
692
|
// position: 'sticky',
|
|
659
693
|
index: 0,
|
|
660
694
|
rightBorder: false,
|
|
661
|
-
ariaColumnIndex:
|
|
695
|
+
ariaColumnIndex: 1,
|
|
662
696
|
isAccessible: true
|
|
663
697
|
};
|
|
664
698
|
var columnIndexOffset = 0;
|
|
@@ -845,8 +879,10 @@ var GridVue2 = {
|
|
|
845
879
|
group: this.$props.group || [],
|
|
846
880
|
attrs: this.v3 ? undefined : {
|
|
847
881
|
group: this.$props.group || [],
|
|
882
|
+
ariaControls: this._gridRoleElementId,
|
|
848
883
|
resolveTitle: this.resolveTitle
|
|
849
884
|
},
|
|
885
|
+
ariaControls: this._gridRoleElementId,
|
|
850
886
|
onGroupChange: this.groupChangeHandler,
|
|
851
887
|
on: this.v3 ? undefined : {
|
|
852
888
|
"groupChange": this.groupChangeHandler,
|
|
@@ -895,16 +931,19 @@ var GridVue2 = {
|
|
|
895
931
|
columnMenu: this.$props.columnMenu,
|
|
896
932
|
columnMenuAnimate: this.$props.columnMenuAnimate,
|
|
897
933
|
columns: this._columns,
|
|
934
|
+
columnsInitial: this.$props.columns,
|
|
898
935
|
columnResize: this.columnResize,
|
|
899
936
|
columnsMap: this._columnsMap,
|
|
900
937
|
cellRender: this.$props.headerCellRender,
|
|
901
938
|
isRtl: this.isRtl,
|
|
939
|
+
isColCountDefined: this.getAriaColCount !== undefined,
|
|
902
940
|
filterRow: this.$props.filterable
|
|
903
941
|
// @ts-ignore
|
|
904
942
|
&& h(FilterRow, {
|
|
905
943
|
grid: this,
|
|
906
944
|
attrs: this.v3 ? undefined : {
|
|
907
945
|
grid: this,
|
|
946
|
+
size: this.$props.size,
|
|
908
947
|
columns: this._columns,
|
|
909
948
|
filter: this.$props.filter,
|
|
910
949
|
filterOperators: this.$props.filterOperators || operators,
|
|
@@ -913,6 +952,7 @@ var GridVue2 = {
|
|
|
913
952
|
isRtl: this.isRtl,
|
|
914
953
|
ariaRowIndex: this._columnsMap.length + 1
|
|
915
954
|
},
|
|
955
|
+
size: this.$props.size,
|
|
916
956
|
columns: this._columns,
|
|
917
957
|
filter: this.$props.filter,
|
|
918
958
|
filterOperators: this.$props.filterOperators || operators,
|
|
@@ -947,6 +987,7 @@ var GridVue2 = {
|
|
|
947
987
|
columnMenuAnimate: this.$props.columnMenuAnimate,
|
|
948
988
|
onSelectionchange: this.onHeaderSelectionChangeHandler,
|
|
949
989
|
columns: this._columns,
|
|
990
|
+
columnsInitial: this.$props.columns,
|
|
950
991
|
columnResize: this.columnResize,
|
|
951
992
|
onPressHandler: this.dragLogic.pressHandler,
|
|
952
993
|
onDragHandler: this.dragLogic.dragHandler,
|
|
@@ -954,10 +995,12 @@ var GridVue2 = {
|
|
|
954
995
|
columnsMap: this._columnsMap,
|
|
955
996
|
cellRender: this.$props.headerCellRender,
|
|
956
997
|
isRtl: this.isRtl,
|
|
998
|
+
isColCountDefined: this.getAriaColCount !== undefined,
|
|
957
999
|
filterRow: this.$props.filterable && h(FilterRow, {
|
|
958
1000
|
grid: this,
|
|
959
1001
|
attrs: this.v3 ? undefined : {
|
|
960
1002
|
grid: this,
|
|
1003
|
+
size: this.$props.size,
|
|
961
1004
|
columns: this._columns,
|
|
962
1005
|
filter: this.$props.filter,
|
|
963
1006
|
filterOperators: this.$props.filterOperators || operators,
|
|
@@ -966,6 +1009,7 @@ var GridVue2 = {
|
|
|
966
1009
|
isRtl: this.isRtl,
|
|
967
1010
|
ariaRowIndex: this._columnsMap.length + 1
|
|
968
1011
|
},
|
|
1012
|
+
size: this.$props.size,
|
|
969
1013
|
columns: this._columns,
|
|
970
1014
|
filter: this.$props.filter,
|
|
971
1015
|
filterOperators: this.$props.filterOperators || operators,
|
|
@@ -1008,14 +1052,17 @@ var GridVue2 = {
|
|
|
1008
1052
|
columnMenu: this.$props.columnMenu,
|
|
1009
1053
|
columnMenuAnimate: this.$props.columnMenuAnimate,
|
|
1010
1054
|
columns: this._columns,
|
|
1055
|
+
columnsInitial: this.$props.columns,
|
|
1011
1056
|
columnResize: this.columnResize,
|
|
1012
1057
|
columnsMap: this._columnsMap,
|
|
1013
1058
|
cellRender: this.$props.headerCellRender,
|
|
1014
1059
|
isRtl: this.isRtl,
|
|
1060
|
+
isColCountDefined: this.getAriaColCount !== undefined,
|
|
1015
1061
|
filterRow: this.$props.filterable && h(FilterRow, {
|
|
1016
1062
|
grid: this,
|
|
1017
1063
|
attrs: this.v3 ? undefined : {
|
|
1018
1064
|
grid: this,
|
|
1065
|
+
size: this.$props.size,
|
|
1019
1066
|
columns: this._columns,
|
|
1020
1067
|
filter: this.$props.filter,
|
|
1021
1068
|
filterOperators: this.$props.filterOperators || operators,
|
|
@@ -1024,6 +1071,7 @@ var GridVue2 = {
|
|
|
1024
1071
|
isRtl: this.isRtl,
|
|
1025
1072
|
ariaRowIndex: this._columnsMap.length + 1
|
|
1026
1073
|
},
|
|
1074
|
+
size: this.$props.size,
|
|
1027
1075
|
columns: this._columns,
|
|
1028
1076
|
filter: this.$props.filter,
|
|
1029
1077
|
filterOperators: this.$props.filterOperators || operators,
|
|
@@ -1058,6 +1106,7 @@ var GridVue2 = {
|
|
|
1058
1106
|
columnMenuAnimate: this.$props.columnMenuAnimate,
|
|
1059
1107
|
onSelectionchange: this.onHeaderSelectionChangeHandler,
|
|
1060
1108
|
columns: this._columns,
|
|
1109
|
+
columnsInitial: this.$props.columns,
|
|
1061
1110
|
columnResize: this.columnResize,
|
|
1062
1111
|
onPressHandler: this.dragLogic.pressHandler,
|
|
1063
1112
|
onDragHandler: this.dragLogic.dragHandler,
|
|
@@ -1065,10 +1114,12 @@ var GridVue2 = {
|
|
|
1065
1114
|
columnsMap: this._columnsMap,
|
|
1066
1115
|
cellRender: this.$props.headerCellRender,
|
|
1067
1116
|
isRtl: this.isRtl,
|
|
1117
|
+
isColCountDefined: this.getAriaColCount !== undefined,
|
|
1068
1118
|
filterRow: this.$props.filterable && h(FilterRow, {
|
|
1069
1119
|
grid: this,
|
|
1070
1120
|
attrs: this.v3 ? undefined : {
|
|
1071
1121
|
grid: this,
|
|
1122
|
+
size: this.$props.size,
|
|
1072
1123
|
columns: this._columns,
|
|
1073
1124
|
filter: this.$props.filter,
|
|
1074
1125
|
filterOperators: this.$props.filterOperators || operators,
|
|
@@ -1077,6 +1128,7 @@ var GridVue2 = {
|
|
|
1077
1128
|
isRtl: this.isRtl,
|
|
1078
1129
|
ariaRowIndex: this._columnsMap.length + 1
|
|
1079
1130
|
},
|
|
1131
|
+
size: this.$props.size,
|
|
1080
1132
|
columns: this._columns,
|
|
1081
1133
|
filter: this.$props.filter,
|
|
1082
1134
|
filterOperators: this.$props.filterOperators || operators,
|
|
@@ -1116,12 +1168,14 @@ var GridVue2 = {
|
|
|
1116
1168
|
isRtl: this.isRtl,
|
|
1117
1169
|
attrs: this.v3 ? undefined : {
|
|
1118
1170
|
isRtl: this.isRtl,
|
|
1171
|
+
rowIndex: this.getAriaRowCount + 1,
|
|
1119
1172
|
columns: this._columns.map(function (col) {
|
|
1120
1173
|
return __assign(__assign({}, col), {
|
|
1121
1174
|
footerCell: templateRendering.call(this, col.footerCell, getListeners.call(this))
|
|
1122
1175
|
});
|
|
1123
1176
|
}, this)
|
|
1124
1177
|
},
|
|
1178
|
+
rowIndex: this.getAriaRowCount + 1,
|
|
1125
1179
|
columns: this._columns.map(function (col) {
|
|
1126
1180
|
return __assign(__assign({}, col), {
|
|
1127
1181
|
footerCell: templateRendering.call(this, col.footerCell, getListeners.call(this))
|
|
@@ -1147,12 +1201,14 @@ var GridVue2 = {
|
|
|
1147
1201
|
isRtl: this.isRtl,
|
|
1148
1202
|
attrs: this.v3 ? undefined : {
|
|
1149
1203
|
isRtl: this.isRtl,
|
|
1204
|
+
rowIndex: this.getAriaRowCount + 1,
|
|
1150
1205
|
columns: this._columns.map(function (col) {
|
|
1151
1206
|
return __assign(__assign({}, col), {
|
|
1152
1207
|
footerCell: templateRendering.call(this, col.footerCell, getListeners.call(this))
|
|
1153
1208
|
});
|
|
1154
1209
|
}, this)
|
|
1155
1210
|
},
|
|
1211
|
+
rowIndex: this.getAriaRowCount + 1,
|
|
1156
1212
|
columns: this._columns.map(function (col) {
|
|
1157
1213
|
return __assign(__assign({}, col), {
|
|
1158
1214
|
footerCell: templateRendering.call(this, col.footerCell, getListeners.call(this))
|
|
@@ -1595,6 +1651,9 @@ var GridVue2 = {
|
|
|
1595
1651
|
detailRowCount++;
|
|
1596
1652
|
currentAriaRowIndex = absoluteIndex + rowIndexStart + detailRowCount;
|
|
1597
1653
|
}
|
|
1654
|
+
// The RowIndexes when in Detail Row template
|
|
1655
|
+
var masterRowIndex = rowIndex * 2 + rowIndexStart;
|
|
1656
|
+
var detailRowIndex = rowIndex * 2 + rowIndexStart + 1;
|
|
1598
1657
|
return [
|
|
1599
1658
|
// @ts-ignore function children
|
|
1600
1659
|
h(GridRow, {
|
|
@@ -1608,7 +1667,7 @@ var GridVue2 = {
|
|
|
1608
1667
|
selectedField: this.$props.selectedField,
|
|
1609
1668
|
rowHeight: this.$props.rowHeight,
|
|
1610
1669
|
render: rowRenderFunction,
|
|
1611
|
-
ariaRowIndex: currentAriaRowIndex,
|
|
1670
|
+
ariaRowIndex: this.$props.detail ? masterRowIndex : currentAriaRowIndex,
|
|
1612
1671
|
dataIndex: dataIndex
|
|
1613
1672
|
},
|
|
1614
1673
|
isAltRow: isAlt,
|
|
@@ -1631,23 +1690,23 @@ var GridVue2 = {
|
|
|
1631
1690
|
selectedField: this.$props.selectedField,
|
|
1632
1691
|
rowHeight: this.$props.rowHeight,
|
|
1633
1692
|
render: rowRenderFunction,
|
|
1634
|
-
ariaRowIndex: currentAriaRowIndex,
|
|
1693
|
+
ariaRowIndex: this.$props.detail ? masterRowIndex : currentAriaRowIndex,
|
|
1635
1694
|
dataIndex: dataIndex,
|
|
1636
1695
|
"class": this.$props.rowClass ? this.$props.rowClass(item) : ''
|
|
1637
1696
|
}, this.v3 ? function () {
|
|
1638
1697
|
return [dataRow.call(_this2, item, rowId, dataIndex).row];
|
|
1639
1698
|
} : [dataRow.call(_this2, item, rowId, dataIndex).row]), this.$props.detail && item.rowType === 'data' && item.expanded && h("tr", {
|
|
1640
1699
|
key: detailRowId,
|
|
1641
|
-
"class": isAlt ? 'k-detail-row k-alt' : 'k-detail-row',
|
|
1700
|
+
"class": isAlt ? 'k-table-row k-table-alt-row k-detail-row k-alt' : 'k-table-row k-detail-row',
|
|
1642
1701
|
style: {
|
|
1643
1702
|
visibility: hidden(rowIndex) ? 'hidden' : ''
|
|
1644
1703
|
},
|
|
1645
1704
|
role: "row",
|
|
1646
1705
|
attrs: this.v3 ? undefined : {
|
|
1647
1706
|
role: "row",
|
|
1648
|
-
|
|
1707
|
+
ariaRowIndex: this.$props.detail ? detailRowIndex : currentAriaRowIndex
|
|
1649
1708
|
},
|
|
1650
|
-
|
|
1709
|
+
ariaRowIndex: this.$props.detail ? detailRowIndex : currentAriaRowIndex
|
|
1651
1710
|
}, [this.$props.group && this.$props.group.map(function (group, idx) {
|
|
1652
1711
|
// @ts-ignore
|
|
1653
1712
|
return h(GridGroupCell, {
|
|
@@ -1689,8 +1748,9 @@ var GridVue2 = {
|
|
|
1689
1748
|
id: navigationTools.generateNavigatableId("".concat(detailRowId, "-dcell"), idPrefix)
|
|
1690
1749
|
})])];
|
|
1691
1750
|
}, this) || h("tr", {
|
|
1692
|
-
"class": "k-grid-norecords"
|
|
1751
|
+
"class": "k-table-row k-grid-norecords"
|
|
1693
1752
|
}, [h("td", {
|
|
1753
|
+
"class": 'k-table-td',
|
|
1694
1754
|
colspan: this._columns.filter(function (c) {
|
|
1695
1755
|
return !c.children.length;
|
|
1696
1756
|
}).length,
|
|
@@ -1712,14 +1772,16 @@ var GridVue2 = {
|
|
|
1712
1772
|
"pagechange": this.pageChangeHandler
|
|
1713
1773
|
},
|
|
1714
1774
|
onPagechange: this.pageChangeHandler,
|
|
1715
|
-
|
|
1775
|
+
size: this.$props.size,
|
|
1716
1776
|
attrs: this.v3 ? undefined : {
|
|
1777
|
+
size: this.$props.size,
|
|
1717
1778
|
total: total,
|
|
1718
1779
|
skip: this.vs.propsSkip || 0,
|
|
1719
1780
|
pageSize: (this.$props.take !== undefined ? this.$props.take : this.$props.pageSize) || 10,
|
|
1720
1781
|
messagesMap: pagerMessagesMap,
|
|
1721
1782
|
settings: normalize(this.$props.pageable || {})
|
|
1722
1783
|
},
|
|
1784
|
+
total: total,
|
|
1723
1785
|
skip: this.vs.propsSkip || 0,
|
|
1724
1786
|
pageSize: (this.$props.take !== undefined ? this.$props.take : this.$props.pageSize) || 10,
|
|
1725
1787
|
messagesMap: pagerMessagesMap,
|
|
@@ -1798,66 +1860,134 @@ var GridVue2 = {
|
|
|
1798
1860
|
} : 'gridNav',
|
|
1799
1861
|
currentData: _this3.currentData,
|
|
1800
1862
|
attrs: _this3.v3 ? undefined : {
|
|
1801
|
-
currentData: _this3.currentData
|
|
1802
|
-
role: "grid"
|
|
1863
|
+
currentData: _this3.currentData
|
|
1803
1864
|
},
|
|
1804
1865
|
style: wrapperStyle,
|
|
1805
|
-
role: "grid",
|
|
1806
1866
|
"class": _this3.nonscrollableWrapperClass
|
|
1807
1867
|
}, _this3.v3 ? function () {
|
|
1808
|
-
return [toolbar, groupingPanel, h("
|
|
1868
|
+
return [toolbar, groupingPanel, h("div", {
|
|
1869
|
+
role: "grid",
|
|
1870
|
+
attrs: _this3.v3 ? undefined : {
|
|
1871
|
+
role: "grid",
|
|
1872
|
+
id: _this3._gridRoleElementId,
|
|
1873
|
+
"aria-colcount": _this3.getAriaColCount,
|
|
1874
|
+
"aria-rowcount": _this3.getAriaRowCount
|
|
1875
|
+
},
|
|
1876
|
+
"class": "k-grid-aria-root",
|
|
1877
|
+
id: _this3._gridRoleElementId,
|
|
1878
|
+
"aria-colcount": _this3.getAriaColCount,
|
|
1879
|
+
"aria-rowcount": _this3.getAriaRowCount
|
|
1880
|
+
}, [h("table", {
|
|
1881
|
+
"class": 'k-table',
|
|
1809
1882
|
style: {
|
|
1810
1883
|
tableLayout: 'fixed'
|
|
1884
|
+
},
|
|
1885
|
+
role: "none",
|
|
1886
|
+
attrs: _this3.v3 ? undefined : {
|
|
1887
|
+
role: "none"
|
|
1811
1888
|
}
|
|
1812
1889
|
}, [colGroups, header, h("tbody", {
|
|
1890
|
+
"class": 'k-table-tbody',
|
|
1813
1891
|
"data-keyboardnavbody": true,
|
|
1814
1892
|
attrs: _this3.v3 ? undefined : {
|
|
1815
1893
|
"data-keyboardnavbody": true
|
|
1816
1894
|
}
|
|
1817
|
-
}, [body, loader]), footer]), pager, clues];
|
|
1818
|
-
} : [toolbar, groupingPanel, h("
|
|
1895
|
+
}, [body, loader]), footer])]), pager, clues];
|
|
1896
|
+
} : [toolbar, groupingPanel, h("div", {
|
|
1897
|
+
role: "grid",
|
|
1898
|
+
attrs: _this3.v3 ? undefined : {
|
|
1899
|
+
role: "grid",
|
|
1900
|
+
id: _this3._gridRoleElementId,
|
|
1901
|
+
"aria-colcount": _this3.getAriaColCount,
|
|
1902
|
+
"aria-rowcount": _this3.getAriaRowCount
|
|
1903
|
+
},
|
|
1904
|
+
"class": "k-grid-aria-root",
|
|
1905
|
+
id: _this3._gridRoleElementId,
|
|
1906
|
+
"aria-colcount": _this3.getAriaColCount,
|
|
1907
|
+
"aria-rowcount": _this3.getAriaRowCount
|
|
1908
|
+
}, [h("table", {
|
|
1909
|
+
"class": 'k-table',
|
|
1819
1910
|
style: {
|
|
1820
1911
|
tableLayout: 'fixed'
|
|
1912
|
+
},
|
|
1913
|
+
role: "none",
|
|
1914
|
+
attrs: _this3.v3 ? undefined : {
|
|
1915
|
+
role: "none"
|
|
1821
1916
|
}
|
|
1822
1917
|
}, [colGroups, header, h("tbody", {
|
|
1918
|
+
"class": 'k-table-tbody',
|
|
1823
1919
|
"data-keyboardnavbody": true,
|
|
1824
1920
|
attrs: _this3.v3 ? undefined : {
|
|
1825
1921
|
"data-keyboardnavbody": true
|
|
1826
1922
|
}
|
|
1827
|
-
}, [body, loader]), footer]), pager, clues])];
|
|
1923
|
+
}, [body, loader]), footer])]), pager, clues])];
|
|
1828
1924
|
} : [h(GridNav, {
|
|
1829
1925
|
ref: _this3.v3 ? function (el) {
|
|
1830
1926
|
_this.gridNavRef = el;
|
|
1831
1927
|
} : 'gridNav',
|
|
1832
1928
|
currentData: _this3.currentData,
|
|
1833
1929
|
attrs: _this3.v3 ? undefined : {
|
|
1834
|
-
currentData: _this3.currentData
|
|
1835
|
-
role: "grid"
|
|
1930
|
+
currentData: _this3.currentData
|
|
1836
1931
|
},
|
|
1837
1932
|
style: wrapperStyle,
|
|
1838
|
-
role: "grid",
|
|
1839
1933
|
"class": _this3.nonscrollableWrapperClass
|
|
1840
1934
|
}, _this3.v3 ? function () {
|
|
1841
|
-
return [toolbar, groupingPanel, h("
|
|
1935
|
+
return [toolbar, groupingPanel, h("div", {
|
|
1936
|
+
role: "grid",
|
|
1937
|
+
attrs: _this3.v3 ? undefined : {
|
|
1938
|
+
role: "grid",
|
|
1939
|
+
id: _this3._gridRoleElementId,
|
|
1940
|
+
"aria-colcount": _this3.getAriaColCount,
|
|
1941
|
+
"aria-rowcount": _this3.getAriaRowCount
|
|
1942
|
+
},
|
|
1943
|
+
"class": "k-grid-aria-root",
|
|
1944
|
+
id: _this3._gridRoleElementId,
|
|
1945
|
+
"aria-colcount": _this3.getAriaColCount,
|
|
1946
|
+
"aria-rowcount": _this3.getAriaRowCount
|
|
1947
|
+
}, [h("table", {
|
|
1948
|
+
"class": 'k-table',
|
|
1842
1949
|
style: {
|
|
1843
1950
|
tableLayout: 'fixed'
|
|
1951
|
+
},
|
|
1952
|
+
role: "none",
|
|
1953
|
+
attrs: _this3.v3 ? undefined : {
|
|
1954
|
+
role: "none"
|
|
1844
1955
|
}
|
|
1845
1956
|
}, [colGroups, header, h("tbody", {
|
|
1957
|
+
"class": 'k-table-tbody',
|
|
1846
1958
|
"data-keyboardnavbody": true,
|
|
1847
1959
|
attrs: _this3.v3 ? undefined : {
|
|
1848
1960
|
"data-keyboardnavbody": true
|
|
1849
1961
|
}
|
|
1850
|
-
}, [body, loader]), footer]), pager, clues];
|
|
1851
|
-
} : [toolbar, groupingPanel, h("
|
|
1962
|
+
}, [body, loader]), footer])]), pager, clues];
|
|
1963
|
+
} : [toolbar, groupingPanel, h("div", {
|
|
1964
|
+
role: "grid",
|
|
1965
|
+
attrs: _this3.v3 ? undefined : {
|
|
1966
|
+
role: "grid",
|
|
1967
|
+
id: _this3._gridRoleElementId,
|
|
1968
|
+
"aria-colcount": _this3.getAriaColCount,
|
|
1969
|
+
"aria-rowcount": _this3.getAriaRowCount
|
|
1970
|
+
},
|
|
1971
|
+
"class": "k-grid-aria-root",
|
|
1972
|
+
id: _this3._gridRoleElementId,
|
|
1973
|
+
"aria-colcount": _this3.getAriaColCount,
|
|
1974
|
+
"aria-rowcount": _this3.getAriaRowCount
|
|
1975
|
+
}, [h("table", {
|
|
1976
|
+
"class": 'k-table',
|
|
1852
1977
|
style: {
|
|
1853
1978
|
tableLayout: 'fixed'
|
|
1979
|
+
},
|
|
1980
|
+
role: "none",
|
|
1981
|
+
attrs: _this3.v3 ? undefined : {
|
|
1982
|
+
role: "none"
|
|
1854
1983
|
}
|
|
1855
1984
|
}, [colGroups, header, h("tbody", {
|
|
1985
|
+
"class": 'k-table-tbody',
|
|
1856
1986
|
"data-keyboardnavbody": true,
|
|
1857
1987
|
attrs: _this3.v3 ? undefined : {
|
|
1858
1988
|
"data-keyboardnavbody": true
|
|
1859
1989
|
}
|
|
1860
|
-
}, [body, loader]), footer]), pager, clues])])
|
|
1990
|
+
}, [body, loader]), footer])]), pager, clues])])
|
|
1861
1991
|
);
|
|
1862
1992
|
}
|
|
1863
1993
|
return (
|
|
@@ -1879,14 +2009,24 @@ var GridVue2 = {
|
|
|
1879
2009
|
} : 'gridNav',
|
|
1880
2010
|
currentData: _this3.currentData,
|
|
1881
2011
|
attrs: _this3.v3 ? undefined : {
|
|
1882
|
-
currentData: _this3.currentData
|
|
1883
|
-
role: "grid"
|
|
2012
|
+
currentData: _this3.currentData
|
|
1884
2013
|
},
|
|
1885
2014
|
style: wrapperStyle,
|
|
1886
|
-
role: "grid",
|
|
1887
2015
|
"class": _this3.scrollableWrapperClass
|
|
1888
2016
|
}, _this3.v3 ? function () {
|
|
1889
|
-
return [toolbar, groupingPanel,
|
|
2017
|
+
return [toolbar, groupingPanel, h("div", {
|
|
2018
|
+
role: "grid",
|
|
2019
|
+
attrs: _this3.v3 ? undefined : {
|
|
2020
|
+
role: "grid",
|
|
2021
|
+
id: _this3._gridRoleElementId,
|
|
2022
|
+
"aria-colcount": _this3.getAriaColCount,
|
|
2023
|
+
"aria-rowcount": _this3.getAriaRowCount
|
|
2024
|
+
},
|
|
2025
|
+
"class": "k-grid-aria-root",
|
|
2026
|
+
id: _this3._gridRoleElementId,
|
|
2027
|
+
"aria-colcount": _this3.getAriaColCount,
|
|
2028
|
+
"aria-rowcount": _this3.getAriaRowCount
|
|
2029
|
+
}, [header, h("div", {
|
|
1890
2030
|
"class": "k-grid-container",
|
|
1891
2031
|
role: "presentation",
|
|
1892
2032
|
attrs: _this3.v3 ? undefined : {
|
|
@@ -1904,20 +2044,23 @@ var GridVue2 = {
|
|
|
1904
2044
|
"scroll": _this3.scrollHandler
|
|
1905
2045
|
}
|
|
1906
2046
|
}, [h("div", {
|
|
1907
|
-
"class": 'k-grid-table-wrap'
|
|
1908
|
-
}, [h("table", {
|
|
2047
|
+
"class": 'k-grid-table-wrap',
|
|
1909
2048
|
role: "presentation",
|
|
1910
2049
|
attrs: _this3.v3 ? undefined : {
|
|
1911
|
-
role: "presentation"
|
|
1912
|
-
|
|
2050
|
+
role: "presentation"
|
|
2051
|
+
}
|
|
2052
|
+
}, [h("table", {
|
|
2053
|
+
role: "none",
|
|
2054
|
+
attrs: _this3.v3 ? undefined : {
|
|
2055
|
+
role: "none"
|
|
1913
2056
|
},
|
|
1914
|
-
tabindex: -1,
|
|
1915
2057
|
"class": _this3.gridTableClass,
|
|
1916
2058
|
ref: setRef(_this3, 'scrollTable')
|
|
1917
2059
|
}, [colGroups, h("tbody", {
|
|
1918
|
-
|
|
2060
|
+
"class": 'k-table-tbody',
|
|
2061
|
+
role: "rowgroup",
|
|
1919
2062
|
attrs: _this3.v3 ? undefined : {
|
|
1920
|
-
role: "
|
|
2063
|
+
role: "rowgroup",
|
|
1921
2064
|
"data-keyboardnavbody": true
|
|
1922
2065
|
},
|
|
1923
2066
|
"data-keyboardnavbody": true,
|
|
@@ -1932,8 +2075,20 @@ var GridVue2 = {
|
|
|
1932
2075
|
style: _this3.$props.scrollable === 'virtual' ? {
|
|
1933
2076
|
'height': _this3.vs.containerHeight + 'px'
|
|
1934
2077
|
} : {}
|
|
1935
|
-
})])]), loader]), footer, pager, clues];
|
|
1936
|
-
} : [toolbar, groupingPanel,
|
|
2078
|
+
})])]), loader]), footer]), pager, clues];
|
|
2079
|
+
} : [toolbar, groupingPanel, h("div", {
|
|
2080
|
+
role: "grid",
|
|
2081
|
+
attrs: _this3.v3 ? undefined : {
|
|
2082
|
+
role: "grid",
|
|
2083
|
+
id: _this3._gridRoleElementId,
|
|
2084
|
+
"aria-colcount": _this3.getAriaColCount,
|
|
2085
|
+
"aria-rowcount": _this3.getAriaRowCount
|
|
2086
|
+
},
|
|
2087
|
+
"class": "k-grid-aria-root",
|
|
2088
|
+
id: _this3._gridRoleElementId,
|
|
2089
|
+
"aria-colcount": _this3.getAriaColCount,
|
|
2090
|
+
"aria-rowcount": _this3.getAriaRowCount
|
|
2091
|
+
}, [header, h("div", {
|
|
1937
2092
|
"class": "k-grid-container",
|
|
1938
2093
|
role: "presentation",
|
|
1939
2094
|
attrs: _this3.v3 ? undefined : {
|
|
@@ -1951,20 +2106,23 @@ var GridVue2 = {
|
|
|
1951
2106
|
"scroll": _this3.scrollHandler
|
|
1952
2107
|
}
|
|
1953
2108
|
}, [h("div", {
|
|
1954
|
-
"class": 'k-grid-table-wrap'
|
|
1955
|
-
}, [h("table", {
|
|
2109
|
+
"class": 'k-grid-table-wrap',
|
|
1956
2110
|
role: "presentation",
|
|
1957
2111
|
attrs: _this3.v3 ? undefined : {
|
|
1958
|
-
role: "presentation"
|
|
1959
|
-
|
|
2112
|
+
role: "presentation"
|
|
2113
|
+
}
|
|
2114
|
+
}, [h("table", {
|
|
2115
|
+
role: "none",
|
|
2116
|
+
attrs: _this3.v3 ? undefined : {
|
|
2117
|
+
role: "none"
|
|
1960
2118
|
},
|
|
1961
|
-
tabindex: -1,
|
|
1962
2119
|
"class": _this3.gridTableClass,
|
|
1963
2120
|
ref: setRef(_this3, 'scrollTable')
|
|
1964
2121
|
}, [colGroups, h("tbody", {
|
|
1965
|
-
|
|
2122
|
+
"class": 'k-table-tbody',
|
|
2123
|
+
role: "rowgroup",
|
|
1966
2124
|
attrs: _this3.v3 ? undefined : {
|
|
1967
|
-
role: "
|
|
2125
|
+
role: "rowgroup",
|
|
1968
2126
|
"data-keyboardnavbody": true
|
|
1969
2127
|
},
|
|
1970
2128
|
"data-keyboardnavbody": true,
|
|
@@ -1979,21 +2137,31 @@ var GridVue2 = {
|
|
|
1979
2137
|
style: _this3.$props.scrollable === 'virtual' ? {
|
|
1980
2138
|
'height': _this3.vs.containerHeight + 'px'
|
|
1981
2139
|
} : {}
|
|
1982
|
-
})])]), loader]), footer, pager, clues])];
|
|
2140
|
+
})])]), loader]), footer]), pager, clues])];
|
|
1983
2141
|
} : [h(GridNav, {
|
|
1984
2142
|
ref: _this3.v3 ? function (el) {
|
|
1985
2143
|
_this.gridNavRef = el;
|
|
1986
2144
|
} : 'gridNav',
|
|
1987
2145
|
currentData: _this3.currentData,
|
|
1988
2146
|
attrs: _this3.v3 ? undefined : {
|
|
1989
|
-
currentData: _this3.currentData
|
|
1990
|
-
role: "grid"
|
|
2147
|
+
currentData: _this3.currentData
|
|
1991
2148
|
},
|
|
1992
2149
|
style: wrapperStyle,
|
|
1993
|
-
role: "grid",
|
|
1994
2150
|
"class": _this3.scrollableWrapperClass
|
|
1995
2151
|
}, _this3.v3 ? function () {
|
|
1996
|
-
return [toolbar, groupingPanel,
|
|
2152
|
+
return [toolbar, groupingPanel, h("div", {
|
|
2153
|
+
role: "grid",
|
|
2154
|
+
attrs: _this3.v3 ? undefined : {
|
|
2155
|
+
role: "grid",
|
|
2156
|
+
id: _this3._gridRoleElementId,
|
|
2157
|
+
"aria-colcount": _this3.getAriaColCount,
|
|
2158
|
+
"aria-rowcount": _this3.getAriaRowCount
|
|
2159
|
+
},
|
|
2160
|
+
"class": "k-grid-aria-root",
|
|
2161
|
+
id: _this3._gridRoleElementId,
|
|
2162
|
+
"aria-colcount": _this3.getAriaColCount,
|
|
2163
|
+
"aria-rowcount": _this3.getAriaRowCount
|
|
2164
|
+
}, [header, h("div", {
|
|
1997
2165
|
"class": "k-grid-container",
|
|
1998
2166
|
role: "presentation",
|
|
1999
2167
|
attrs: _this3.v3 ? undefined : {
|
|
@@ -2011,20 +2179,23 @@ var GridVue2 = {
|
|
|
2011
2179
|
"scroll": _this3.scrollHandler
|
|
2012
2180
|
}
|
|
2013
2181
|
}, [h("div", {
|
|
2014
|
-
"class": 'k-grid-table-wrap'
|
|
2015
|
-
}, [h("table", {
|
|
2182
|
+
"class": 'k-grid-table-wrap',
|
|
2016
2183
|
role: "presentation",
|
|
2017
2184
|
attrs: _this3.v3 ? undefined : {
|
|
2018
|
-
role: "presentation"
|
|
2019
|
-
|
|
2185
|
+
role: "presentation"
|
|
2186
|
+
}
|
|
2187
|
+
}, [h("table", {
|
|
2188
|
+
role: "none",
|
|
2189
|
+
attrs: _this3.v3 ? undefined : {
|
|
2190
|
+
role: "none"
|
|
2020
2191
|
},
|
|
2021
|
-
tabindex: -1,
|
|
2022
2192
|
"class": _this3.gridTableClass,
|
|
2023
2193
|
ref: setRef(_this3, 'scrollTable')
|
|
2024
2194
|
}, [colGroups, h("tbody", {
|
|
2025
|
-
|
|
2195
|
+
"class": 'k-table-tbody',
|
|
2196
|
+
role: "rowgroup",
|
|
2026
2197
|
attrs: _this3.v3 ? undefined : {
|
|
2027
|
-
role: "
|
|
2198
|
+
role: "rowgroup",
|
|
2028
2199
|
"data-keyboardnavbody": true
|
|
2029
2200
|
},
|
|
2030
2201
|
"data-keyboardnavbody": true,
|
|
@@ -2039,8 +2210,20 @@ var GridVue2 = {
|
|
|
2039
2210
|
style: _this3.$props.scrollable === 'virtual' ? {
|
|
2040
2211
|
'height': _this3.vs.containerHeight + 'px'
|
|
2041
2212
|
} : {}
|
|
2042
|
-
})])]), loader]), footer, pager, clues];
|
|
2043
|
-
} : [toolbar, groupingPanel,
|
|
2213
|
+
})])]), loader]), footer]), pager, clues];
|
|
2214
|
+
} : [toolbar, groupingPanel, h("div", {
|
|
2215
|
+
role: "grid",
|
|
2216
|
+
attrs: _this3.v3 ? undefined : {
|
|
2217
|
+
role: "grid",
|
|
2218
|
+
id: _this3._gridRoleElementId,
|
|
2219
|
+
"aria-colcount": _this3.getAriaColCount,
|
|
2220
|
+
"aria-rowcount": _this3.getAriaRowCount
|
|
2221
|
+
},
|
|
2222
|
+
"class": "k-grid-aria-root",
|
|
2223
|
+
id: _this3._gridRoleElementId,
|
|
2224
|
+
"aria-colcount": _this3.getAriaColCount,
|
|
2225
|
+
"aria-rowcount": _this3.getAriaRowCount
|
|
2226
|
+
}, [header, h("div", {
|
|
2044
2227
|
"class": "k-grid-container",
|
|
2045
2228
|
role: "presentation",
|
|
2046
2229
|
attrs: _this3.v3 ? undefined : {
|
|
@@ -2058,20 +2241,23 @@ var GridVue2 = {
|
|
|
2058
2241
|
"scroll": _this3.scrollHandler
|
|
2059
2242
|
}
|
|
2060
2243
|
}, [h("div", {
|
|
2061
|
-
"class": 'k-grid-table-wrap'
|
|
2062
|
-
}, [h("table", {
|
|
2244
|
+
"class": 'k-grid-table-wrap',
|
|
2063
2245
|
role: "presentation",
|
|
2064
2246
|
attrs: _this3.v3 ? undefined : {
|
|
2065
|
-
role: "presentation"
|
|
2066
|
-
|
|
2247
|
+
role: "presentation"
|
|
2248
|
+
}
|
|
2249
|
+
}, [h("table", {
|
|
2250
|
+
role: "none",
|
|
2251
|
+
attrs: _this3.v3 ? undefined : {
|
|
2252
|
+
role: "none"
|
|
2067
2253
|
},
|
|
2068
|
-
tabindex: -1,
|
|
2069
2254
|
"class": _this3.gridTableClass,
|
|
2070
2255
|
ref: setRef(_this3, 'scrollTable')
|
|
2071
2256
|
}, [colGroups, h("tbody", {
|
|
2072
|
-
|
|
2257
|
+
"class": 'k-table-tbody',
|
|
2258
|
+
role: "rowgroup",
|
|
2073
2259
|
attrs: _this3.v3 ? undefined : {
|
|
2074
|
-
role: "
|
|
2260
|
+
role: "rowgroup",
|
|
2075
2261
|
"data-keyboardnavbody": true
|
|
2076
2262
|
},
|
|
2077
2263
|
"data-keyboardnavbody": true,
|
|
@@ -2086,7 +2272,7 @@ var GridVue2 = {
|
|
|
2086
2272
|
style: _this3.$props.scrollable === 'virtual' ? {
|
|
2087
2273
|
'height': _this3.vs.containerHeight + 'px'
|
|
2088
2274
|
} : {}
|
|
2089
|
-
})])]), loader]), footer, pager, clues])])
|
|
2275
|
+
})])]), loader]), footer]), pager, clues])])
|
|
2090
2276
|
);
|
|
2091
2277
|
}
|
|
2092
2278
|
};
|
package/dist/es/GridToolbar.js
CHANGED
|
@@ -40,7 +40,11 @@ var GridToolbarVue2 = {
|
|
|
40
40
|
var h = gh || createElement;
|
|
41
41
|
var defaultSlot = getDefaultSlots(this);
|
|
42
42
|
return h("div", {
|
|
43
|
-
"class": this.wrapperClass
|
|
43
|
+
"class": this.wrapperClass,
|
|
44
|
+
role: 'toolbar',
|
|
45
|
+
attrs: this.v3 ? undefined : {
|
|
46
|
+
role: 'toolbar'
|
|
47
|
+
}
|
|
44
48
|
}, [defaultSlot]);
|
|
45
49
|
}
|
|
46
50
|
};
|