@progress/kendo-vue-grid 3.7.4-dev.202212020747 → 3.7.4-dev.202301091431

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (120) hide show
  1. package/README.md +1 -1
  2. package/dist/cdn/js/kendo-vue-grid.js +1 -1
  3. package/dist/es/Grid.js +234 -80
  4. package/dist/es/GridToolbar.js +5 -1
  5. package/dist/es/cells/GridCell.d.ts +8 -1
  6. package/dist/es/cells/GridCell.js +11 -2
  7. package/dist/es/cells/GridDetailCell.js +1 -1
  8. package/dist/es/cells/GridDetailHierarchyCell.js +1 -1
  9. package/dist/es/cells/GridEditCell.d.ts +8 -1
  10. package/dist/es/cells/GridEditCell.js +13 -4
  11. package/dist/es/cells/GridFilterCell.js +34 -22
  12. package/dist/es/cells/GridGroupCell.d.ts +14 -2
  13. package/dist/es/cells/GridGroupCell.js +26 -3
  14. package/dist/es/cells/GridHierarchyCell.js +15 -2
  15. package/dist/es/cells/GridSelectionCell.d.ts +8 -1
  16. package/dist/es/cells/GridSelectionCell.js +10 -1
  17. package/dist/es/columnMenu/ColumnMenu.js +14 -6
  18. package/dist/es/columnMenu/GridColumnMenuCheckboxFilter.js +10 -3
  19. package/dist/es/columnMenu/GridColumnMenuItem.js +3 -3
  20. package/dist/es/columnMenu/GridColumnMenuSort.js +8 -8
  21. package/dist/es/drag/ColumnDraggable.js +15 -2
  22. package/dist/es/drag/DragClue.js +6 -2
  23. package/dist/es/drag/GroupingIndicator.js +38 -23
  24. package/dist/es/filterCommon.d.ts +4 -0
  25. package/dist/es/filterCommon.js +17 -1
  26. package/dist/es/footer/Footer.js +12 -2
  27. package/dist/es/footer/FooterRow.d.ts +1 -0
  28. package/dist/es/footer/FooterRow.js +12 -6
  29. package/dist/es/header/FilterRow.d.ts +1 -0
  30. package/dist/es/header/FilterRow.js +30 -30
  31. package/dist/es/header/GroupPanel.d.ts +1 -0
  32. package/dist/es/header/GroupPanel.js +18 -5
  33. package/dist/es/header/Header.js +4 -12
  34. package/dist/es/header/HeaderRow.d.ts +2 -0
  35. package/dist/es/header/HeaderRow.js +51 -18
  36. package/dist/es/interfaces/GridFilterCellProps.d.ts +12 -0
  37. package/dist/es/messages/main.d.ts +60 -0
  38. package/dist/es/messages/main.js +60 -0
  39. package/dist/es/package-metadata.js +1 -1
  40. package/dist/es/rows/GridRow.js +2 -2
  41. package/dist/es/utils/main.js +1 -1
  42. package/dist/esm/Grid.js +234 -80
  43. package/dist/esm/GridToolbar.js +5 -1
  44. package/dist/esm/cells/GridCell.d.ts +8 -1
  45. package/dist/esm/cells/GridCell.js +11 -2
  46. package/dist/esm/cells/GridDetailCell.js +1 -1
  47. package/dist/esm/cells/GridDetailHierarchyCell.js +1 -1
  48. package/dist/esm/cells/GridEditCell.d.ts +8 -1
  49. package/dist/esm/cells/GridEditCell.js +13 -4
  50. package/dist/esm/cells/GridFilterCell.js +34 -22
  51. package/dist/esm/cells/GridGroupCell.d.ts +14 -2
  52. package/dist/esm/cells/GridGroupCell.js +26 -3
  53. package/dist/esm/cells/GridHierarchyCell.js +15 -2
  54. package/dist/esm/cells/GridSelectionCell.d.ts +8 -1
  55. package/dist/esm/cells/GridSelectionCell.js +10 -1
  56. package/dist/esm/columnMenu/ColumnMenu.js +14 -6
  57. package/dist/esm/columnMenu/GridColumnMenuCheckboxFilter.js +10 -3
  58. package/dist/esm/columnMenu/GridColumnMenuItem.js +3 -3
  59. package/dist/esm/columnMenu/GridColumnMenuSort.js +8 -8
  60. package/dist/esm/drag/ColumnDraggable.js +15 -2
  61. package/dist/esm/drag/DragClue.js +6 -2
  62. package/dist/esm/drag/GroupingIndicator.js +38 -23
  63. package/dist/esm/filterCommon.d.ts +4 -0
  64. package/dist/esm/filterCommon.js +17 -1
  65. package/dist/esm/footer/Footer.js +12 -2
  66. package/dist/esm/footer/FooterRow.d.ts +1 -0
  67. package/dist/esm/footer/FooterRow.js +12 -6
  68. package/dist/esm/header/FilterRow.d.ts +1 -0
  69. package/dist/esm/header/FilterRow.js +30 -30
  70. package/dist/esm/header/GroupPanel.d.ts +1 -0
  71. package/dist/esm/header/GroupPanel.js +18 -5
  72. package/dist/esm/header/Header.js +4 -12
  73. package/dist/esm/header/HeaderRow.d.ts +2 -0
  74. package/dist/esm/header/HeaderRow.js +51 -18
  75. package/dist/esm/interfaces/GridFilterCellProps.d.ts +12 -0
  76. package/dist/esm/messages/main.d.ts +60 -0
  77. package/dist/esm/messages/main.js +60 -0
  78. package/dist/esm/package-metadata.js +1 -1
  79. package/dist/esm/rows/GridRow.js +2 -2
  80. package/dist/esm/utils/main.js +1 -1
  81. package/dist/npm/Grid.js +234 -80
  82. package/dist/npm/GridToolbar.js +5 -1
  83. package/dist/npm/cells/GridCell.d.ts +8 -1
  84. package/dist/npm/cells/GridCell.js +11 -2
  85. package/dist/npm/cells/GridDetailCell.js +1 -1
  86. package/dist/npm/cells/GridDetailHierarchyCell.js +1 -1
  87. package/dist/npm/cells/GridEditCell.d.ts +8 -1
  88. package/dist/npm/cells/GridEditCell.js +13 -4
  89. package/dist/npm/cells/GridFilterCell.js +33 -21
  90. package/dist/npm/cells/GridGroupCell.d.ts +14 -2
  91. package/dist/npm/cells/GridGroupCell.js +26 -3
  92. package/dist/npm/cells/GridHierarchyCell.js +15 -2
  93. package/dist/npm/cells/GridSelectionCell.d.ts +8 -1
  94. package/dist/npm/cells/GridSelectionCell.js +10 -1
  95. package/dist/npm/columnMenu/ColumnMenu.js +13 -5
  96. package/dist/npm/columnMenu/GridColumnMenuCheckboxFilter.js +9 -2
  97. package/dist/npm/columnMenu/GridColumnMenuItem.js +2 -2
  98. package/dist/npm/columnMenu/GridColumnMenuSort.js +8 -8
  99. package/dist/npm/drag/ColumnDraggable.js +15 -2
  100. package/dist/npm/drag/DragClue.js +6 -2
  101. package/dist/npm/drag/GroupingIndicator.js +37 -22
  102. package/dist/npm/filterCommon.d.ts +4 -0
  103. package/dist/npm/filterCommon.js +18 -1
  104. package/dist/npm/footer/Footer.js +12 -2
  105. package/dist/npm/footer/FooterRow.d.ts +1 -0
  106. package/dist/npm/footer/FooterRow.js +12 -6
  107. package/dist/npm/header/FilterRow.d.ts +1 -0
  108. package/dist/npm/header/FilterRow.js +28 -28
  109. package/dist/npm/header/GroupPanel.d.ts +1 -0
  110. package/dist/npm/header/GroupPanel.js +17 -4
  111. package/dist/npm/header/Header.js +4 -12
  112. package/dist/npm/header/HeaderRow.d.ts +2 -0
  113. package/dist/npm/header/HeaderRow.js +50 -17
  114. package/dist/npm/interfaces/GridFilterCellProps.d.ts +12 -0
  115. package/dist/npm/messages/main.d.ts +60 -0
  116. package/dist/npm/messages/main.js +61 -1
  117. package/dist/npm/package-metadata.js +1 -1
  118. package/dist/npm/rows/GridRow.js +2 -2
  119. package/dist/npm/utils/main.js +1 -1
  120. 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: 0,
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
- "aria-rowindex": currentAriaRowIndex
1713
+ ariaRowIndex: this.$props.detail ? detailRowIndex : currentAriaRowIndex
1655
1714
  },
1656
- "aria-rowindex": currentAriaRowIndex
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
- total: total,
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("table", {
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("table", {
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("table", {
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("table", {
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, header, h("div", {
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 : {
@@ -1909,28 +2049,23 @@ var GridVue2 = {
1909
2049
  on: _this3.v3 ? undefined : {
1910
2050
  "scroll": _this3.scrollHandler
1911
2051
  }
1912
- }, [h("div", {
1913
- style: {
1914
- 'position': 'relative'
1915
- }
1916
2052
  }, [h("table", {
1917
- role: "presentation",
2053
+ role: "none",
1918
2054
  attrs: _this3.v3 ? undefined : {
1919
- role: "presentation",
1920
- tabindex: -1
2055
+ role: "none"
1921
2056
  },
1922
- tabindex: -1,
1923
2057
  "class": _this3.gridTableClass,
1924
2058
  ref: (0, kendo_vue_common_1.setRef)(_this3, 'scrollTable')
1925
2059
  }, [colGroups, h("tbody", {
1926
- role: "presentation",
2060
+ "class": 'k-table-tbody',
2061
+ role: "rowgroup",
1927
2062
  attrs: _this3.v3 ? undefined : {
1928
- role: "presentation",
2063
+ role: "rowgroup",
1929
2064
  "data-keyboardnavbody": true
1930
2065
  },
1931
2066
  "data-keyboardnavbody": true,
1932
2067
  ref: (0, kendo_vue_common_1.setRef)(_this3, 'scrollTableBody')
1933
- }, [body])])]), h("div", {
2068
+ }, [body])]), h("div", {
1934
2069
  "class": "k-height-container",
1935
2070
  role: "presentation",
1936
2071
  attrs: _this3.v3 ? undefined : {
@@ -1940,8 +2075,20 @@ var GridVue2 = {
1940
2075
  style: _this3.$props.scrollable === 'virtual' ? {
1941
2076
  'height': _this3.vs.containerHeight + 'px'
1942
2077
  } : {}
1943
- })])]), loader]), footer, pager, clues];
1944
- } : [toolbar, groupingPanel, header, h("div", {
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", {
1945
2092
  "class": "k-grid-container",
1946
2093
  role: "presentation",
1947
2094
  attrs: _this3.v3 ? undefined : {
@@ -1958,28 +2105,23 @@ var GridVue2 = {
1958
2105
  on: _this3.v3 ? undefined : {
1959
2106
  "scroll": _this3.scrollHandler
1960
2107
  }
1961
- }, [h("div", {
1962
- style: {
1963
- 'position': 'relative'
1964
- }
1965
2108
  }, [h("table", {
1966
- role: "presentation",
2109
+ role: "none",
1967
2110
  attrs: _this3.v3 ? undefined : {
1968
- role: "presentation",
1969
- tabindex: -1
2111
+ role: "none"
1970
2112
  },
1971
- tabindex: -1,
1972
2113
  "class": _this3.gridTableClass,
1973
2114
  ref: (0, kendo_vue_common_1.setRef)(_this3, 'scrollTable')
1974
2115
  }, [colGroups, h("tbody", {
1975
- role: "presentation",
2116
+ "class": 'k-table-tbody',
2117
+ role: "rowgroup",
1976
2118
  attrs: _this3.v3 ? undefined : {
1977
- role: "presentation",
2119
+ role: "rowgroup",
1978
2120
  "data-keyboardnavbody": true
1979
2121
  },
1980
2122
  "data-keyboardnavbody": true,
1981
2123
  ref: (0, kendo_vue_common_1.setRef)(_this3, 'scrollTableBody')
1982
- }, [body])])]), h("div", {
2124
+ }, [body])]), h("div", {
1983
2125
  "class": "k-height-container",
1984
2126
  role: "presentation",
1985
2127
  attrs: _this3.v3 ? undefined : {
@@ -1989,21 +2131,31 @@ var GridVue2 = {
1989
2131
  style: _this3.$props.scrollable === 'virtual' ? {
1990
2132
  'height': _this3.vs.containerHeight + 'px'
1991
2133
  } : {}
1992
- })])]), loader]), footer, pager, clues])];
2134
+ })])]), loader]), footer]), pager, clues])];
1993
2135
  } : [h(GridNav_1.GridNav, {
1994
2136
  ref: _this3.v3 ? function (el) {
1995
2137
  _this.gridNavRef = el;
1996
2138
  } : 'gridNav',
1997
2139
  currentData: _this3.currentData,
1998
2140
  attrs: _this3.v3 ? undefined : {
1999
- currentData: _this3.currentData,
2000
- role: "grid"
2141
+ currentData: _this3.currentData
2001
2142
  },
2002
2143
  style: wrapperStyle,
2003
- role: "grid",
2004
2144
  "class": _this3.scrollableWrapperClass
2005
2145
  }, _this3.v3 ? function () {
2006
- return [toolbar, groupingPanel, header, h("div", {
2146
+ return [toolbar, groupingPanel, h("div", {
2147
+ role: "grid",
2148
+ attrs: _this3.v3 ? undefined : {
2149
+ role: "grid",
2150
+ id: _this3._gridRoleElementId,
2151
+ "aria-colcount": _this3.getAriaColCount,
2152
+ "aria-rowcount": _this3.getAriaRowCount
2153
+ },
2154
+ "class": "k-grid-aria-root",
2155
+ id: _this3._gridRoleElementId,
2156
+ "aria-colcount": _this3.getAriaColCount,
2157
+ "aria-rowcount": _this3.getAriaRowCount
2158
+ }, [header, h("div", {
2007
2159
  "class": "k-grid-container",
2008
2160
  role: "presentation",
2009
2161
  attrs: _this3.v3 ? undefined : {
@@ -2020,28 +2172,23 @@ var GridVue2 = {
2020
2172
  on: _this3.v3 ? undefined : {
2021
2173
  "scroll": _this3.scrollHandler
2022
2174
  }
2023
- }, [h("div", {
2024
- style: {
2025
- 'position': 'relative'
2026
- }
2027
2175
  }, [h("table", {
2028
- role: "presentation",
2176
+ role: "none",
2029
2177
  attrs: _this3.v3 ? undefined : {
2030
- role: "presentation",
2031
- tabindex: -1
2178
+ role: "none"
2032
2179
  },
2033
- tabindex: -1,
2034
2180
  "class": _this3.gridTableClass,
2035
2181
  ref: (0, kendo_vue_common_1.setRef)(_this3, 'scrollTable')
2036
2182
  }, [colGroups, h("tbody", {
2037
- role: "presentation",
2183
+ "class": 'k-table-tbody',
2184
+ role: "rowgroup",
2038
2185
  attrs: _this3.v3 ? undefined : {
2039
- role: "presentation",
2186
+ role: "rowgroup",
2040
2187
  "data-keyboardnavbody": true
2041
2188
  },
2042
2189
  "data-keyboardnavbody": true,
2043
2190
  ref: (0, kendo_vue_common_1.setRef)(_this3, 'scrollTableBody')
2044
- }, [body])])]), h("div", {
2191
+ }, [body])]), h("div", {
2045
2192
  "class": "k-height-container",
2046
2193
  role: "presentation",
2047
2194
  attrs: _this3.v3 ? undefined : {
@@ -2051,8 +2198,20 @@ var GridVue2 = {
2051
2198
  style: _this3.$props.scrollable === 'virtual' ? {
2052
2199
  'height': _this3.vs.containerHeight + 'px'
2053
2200
  } : {}
2054
- })])]), loader]), footer, pager, clues];
2055
- } : [toolbar, groupingPanel, header, h("div", {
2201
+ })])]), loader]), footer]), pager, clues];
2202
+ } : [toolbar, groupingPanel, h("div", {
2203
+ role: "grid",
2204
+ attrs: _this3.v3 ? undefined : {
2205
+ role: "grid",
2206
+ id: _this3._gridRoleElementId,
2207
+ "aria-colcount": _this3.getAriaColCount,
2208
+ "aria-rowcount": _this3.getAriaRowCount
2209
+ },
2210
+ "class": "k-grid-aria-root",
2211
+ id: _this3._gridRoleElementId,
2212
+ "aria-colcount": _this3.getAriaColCount,
2213
+ "aria-rowcount": _this3.getAriaRowCount
2214
+ }, [header, h("div", {
2056
2215
  "class": "k-grid-container",
2057
2216
  role: "presentation",
2058
2217
  attrs: _this3.v3 ? undefined : {
@@ -2069,28 +2228,23 @@ var GridVue2 = {
2069
2228
  on: _this3.v3 ? undefined : {
2070
2229
  "scroll": _this3.scrollHandler
2071
2230
  }
2072
- }, [h("div", {
2073
- style: {
2074
- 'position': 'relative'
2075
- }
2076
2231
  }, [h("table", {
2077
- role: "presentation",
2232
+ role: "none",
2078
2233
  attrs: _this3.v3 ? undefined : {
2079
- role: "presentation",
2080
- tabindex: -1
2234
+ role: "none"
2081
2235
  },
2082
- tabindex: -1,
2083
2236
  "class": _this3.gridTableClass,
2084
2237
  ref: (0, kendo_vue_common_1.setRef)(_this3, 'scrollTable')
2085
2238
  }, [colGroups, h("tbody", {
2086
- role: "presentation",
2239
+ "class": 'k-table-tbody',
2240
+ role: "rowgroup",
2087
2241
  attrs: _this3.v3 ? undefined : {
2088
- role: "presentation",
2242
+ role: "rowgroup",
2089
2243
  "data-keyboardnavbody": true
2090
2244
  },
2091
2245
  "data-keyboardnavbody": true,
2092
2246
  ref: (0, kendo_vue_common_1.setRef)(_this3, 'scrollTableBody')
2093
- }, [body])])]), h("div", {
2247
+ }, [body])]), h("div", {
2094
2248
  "class": "k-height-container",
2095
2249
  role: "presentation",
2096
2250
  attrs: _this3.v3 ? undefined : {
@@ -2100,7 +2254,7 @@ var GridVue2 = {
2100
2254
  style: _this3.$props.scrollable === 'virtual' ? {
2101
2255
  'height': _this3.vs.containerHeight + 'px'
2102
2256
  } : {}
2103
- })])]), loader]), footer, pager, clues])])
2257
+ })])]), loader]), footer]), pager, clues])])
2104
2258
  );
2105
2259
  }
2106
2260
  };