@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/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: 0,
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
- "aria-rowindex": currentAriaRowIndex
1707
+ ariaRowIndex: this.$props.detail ? detailRowIndex : currentAriaRowIndex
1649
1708
  },
1650
- "aria-rowindex": currentAriaRowIndex
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
- total: total,
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("table", {
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("table", {
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("table", {
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("table", {
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, header, h("div", {
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 : {
@@ -1903,28 +2043,23 @@ var GridVue2 = {
1903
2043
  on: _this3.v3 ? undefined : {
1904
2044
  "scroll": _this3.scrollHandler
1905
2045
  }
1906
- }, [h("div", {
1907
- style: {
1908
- 'position': 'relative'
1909
- }
1910
2046
  }, [h("table", {
1911
- role: "presentation",
2047
+ role: "none",
1912
2048
  attrs: _this3.v3 ? undefined : {
1913
- role: "presentation",
1914
- tabindex: -1
2049
+ role: "none"
1915
2050
  },
1916
- tabindex: -1,
1917
2051
  "class": _this3.gridTableClass,
1918
2052
  ref: setRef(_this3, 'scrollTable')
1919
2053
  }, [colGroups, h("tbody", {
1920
- role: "presentation",
2054
+ "class": 'k-table-tbody',
2055
+ role: "rowgroup",
1921
2056
  attrs: _this3.v3 ? undefined : {
1922
- role: "presentation",
2057
+ role: "rowgroup",
1923
2058
  "data-keyboardnavbody": true
1924
2059
  },
1925
2060
  "data-keyboardnavbody": true,
1926
2061
  ref: setRef(_this3, 'scrollTableBody')
1927
- }, [body])])]), h("div", {
2062
+ }, [body])]), h("div", {
1928
2063
  "class": "k-height-container",
1929
2064
  role: "presentation",
1930
2065
  attrs: _this3.v3 ? undefined : {
@@ -1934,8 +2069,20 @@ var GridVue2 = {
1934
2069
  style: _this3.$props.scrollable === 'virtual' ? {
1935
2070
  'height': _this3.vs.containerHeight + 'px'
1936
2071
  } : {}
1937
- })])]), loader]), footer, pager, clues];
1938
- } : [toolbar, groupingPanel, header, h("div", {
2072
+ })])]), loader]), footer]), pager, clues];
2073
+ } : [toolbar, groupingPanel, h("div", {
2074
+ role: "grid",
2075
+ attrs: _this3.v3 ? undefined : {
2076
+ role: "grid",
2077
+ id: _this3._gridRoleElementId,
2078
+ "aria-colcount": _this3.getAriaColCount,
2079
+ "aria-rowcount": _this3.getAriaRowCount
2080
+ },
2081
+ "class": "k-grid-aria-root",
2082
+ id: _this3._gridRoleElementId,
2083
+ "aria-colcount": _this3.getAriaColCount,
2084
+ "aria-rowcount": _this3.getAriaRowCount
2085
+ }, [header, h("div", {
1939
2086
  "class": "k-grid-container",
1940
2087
  role: "presentation",
1941
2088
  attrs: _this3.v3 ? undefined : {
@@ -1952,28 +2099,23 @@ var GridVue2 = {
1952
2099
  on: _this3.v3 ? undefined : {
1953
2100
  "scroll": _this3.scrollHandler
1954
2101
  }
1955
- }, [h("div", {
1956
- style: {
1957
- 'position': 'relative'
1958
- }
1959
2102
  }, [h("table", {
1960
- role: "presentation",
2103
+ role: "none",
1961
2104
  attrs: _this3.v3 ? undefined : {
1962
- role: "presentation",
1963
- tabindex: -1
2105
+ role: "none"
1964
2106
  },
1965
- tabindex: -1,
1966
2107
  "class": _this3.gridTableClass,
1967
2108
  ref: setRef(_this3, 'scrollTable')
1968
2109
  }, [colGroups, h("tbody", {
1969
- role: "presentation",
2110
+ "class": 'k-table-tbody',
2111
+ role: "rowgroup",
1970
2112
  attrs: _this3.v3 ? undefined : {
1971
- role: "presentation",
2113
+ role: "rowgroup",
1972
2114
  "data-keyboardnavbody": true
1973
2115
  },
1974
2116
  "data-keyboardnavbody": true,
1975
2117
  ref: setRef(_this3, 'scrollTableBody')
1976
- }, [body])])]), h("div", {
2118
+ }, [body])]), h("div", {
1977
2119
  "class": "k-height-container",
1978
2120
  role: "presentation",
1979
2121
  attrs: _this3.v3 ? undefined : {
@@ -1983,21 +2125,31 @@ var GridVue2 = {
1983
2125
  style: _this3.$props.scrollable === 'virtual' ? {
1984
2126
  'height': _this3.vs.containerHeight + 'px'
1985
2127
  } : {}
1986
- })])]), loader]), footer, pager, clues])];
2128
+ })])]), loader]), footer]), pager, clues])];
1987
2129
  } : [h(GridNav, {
1988
2130
  ref: _this3.v3 ? function (el) {
1989
2131
  _this.gridNavRef = el;
1990
2132
  } : 'gridNav',
1991
2133
  currentData: _this3.currentData,
1992
2134
  attrs: _this3.v3 ? undefined : {
1993
- currentData: _this3.currentData,
1994
- role: "grid"
2135
+ currentData: _this3.currentData
1995
2136
  },
1996
2137
  style: wrapperStyle,
1997
- role: "grid",
1998
2138
  "class": _this3.scrollableWrapperClass
1999
2139
  }, _this3.v3 ? function () {
2000
- return [toolbar, groupingPanel, header, h("div", {
2140
+ return [toolbar, groupingPanel, h("div", {
2141
+ role: "grid",
2142
+ attrs: _this3.v3 ? undefined : {
2143
+ role: "grid",
2144
+ id: _this3._gridRoleElementId,
2145
+ "aria-colcount": _this3.getAriaColCount,
2146
+ "aria-rowcount": _this3.getAriaRowCount
2147
+ },
2148
+ "class": "k-grid-aria-root",
2149
+ id: _this3._gridRoleElementId,
2150
+ "aria-colcount": _this3.getAriaColCount,
2151
+ "aria-rowcount": _this3.getAriaRowCount
2152
+ }, [header, h("div", {
2001
2153
  "class": "k-grid-container",
2002
2154
  role: "presentation",
2003
2155
  attrs: _this3.v3 ? undefined : {
@@ -2014,28 +2166,23 @@ var GridVue2 = {
2014
2166
  on: _this3.v3 ? undefined : {
2015
2167
  "scroll": _this3.scrollHandler
2016
2168
  }
2017
- }, [h("div", {
2018
- style: {
2019
- 'position': 'relative'
2020
- }
2021
2169
  }, [h("table", {
2022
- role: "presentation",
2170
+ role: "none",
2023
2171
  attrs: _this3.v3 ? undefined : {
2024
- role: "presentation",
2025
- tabindex: -1
2172
+ role: "none"
2026
2173
  },
2027
- tabindex: -1,
2028
2174
  "class": _this3.gridTableClass,
2029
2175
  ref: setRef(_this3, 'scrollTable')
2030
2176
  }, [colGroups, h("tbody", {
2031
- role: "presentation",
2177
+ "class": 'k-table-tbody',
2178
+ role: "rowgroup",
2032
2179
  attrs: _this3.v3 ? undefined : {
2033
- role: "presentation",
2180
+ role: "rowgroup",
2034
2181
  "data-keyboardnavbody": true
2035
2182
  },
2036
2183
  "data-keyboardnavbody": true,
2037
2184
  ref: setRef(_this3, 'scrollTableBody')
2038
- }, [body])])]), h("div", {
2185
+ }, [body])]), h("div", {
2039
2186
  "class": "k-height-container",
2040
2187
  role: "presentation",
2041
2188
  attrs: _this3.v3 ? undefined : {
@@ -2045,8 +2192,20 @@ var GridVue2 = {
2045
2192
  style: _this3.$props.scrollable === 'virtual' ? {
2046
2193
  'height': _this3.vs.containerHeight + 'px'
2047
2194
  } : {}
2048
- })])]), loader]), footer, pager, clues];
2049
- } : [toolbar, groupingPanel, header, h("div", {
2195
+ })])]), loader]), footer]), pager, clues];
2196
+ } : [toolbar, groupingPanel, h("div", {
2197
+ role: "grid",
2198
+ attrs: _this3.v3 ? undefined : {
2199
+ role: "grid",
2200
+ id: _this3._gridRoleElementId,
2201
+ "aria-colcount": _this3.getAriaColCount,
2202
+ "aria-rowcount": _this3.getAriaRowCount
2203
+ },
2204
+ "class": "k-grid-aria-root",
2205
+ id: _this3._gridRoleElementId,
2206
+ "aria-colcount": _this3.getAriaColCount,
2207
+ "aria-rowcount": _this3.getAriaRowCount
2208
+ }, [header, h("div", {
2050
2209
  "class": "k-grid-container",
2051
2210
  role: "presentation",
2052
2211
  attrs: _this3.v3 ? undefined : {
@@ -2063,28 +2222,23 @@ var GridVue2 = {
2063
2222
  on: _this3.v3 ? undefined : {
2064
2223
  "scroll": _this3.scrollHandler
2065
2224
  }
2066
- }, [h("div", {
2067
- style: {
2068
- 'position': 'relative'
2069
- }
2070
2225
  }, [h("table", {
2071
- role: "presentation",
2226
+ role: "none",
2072
2227
  attrs: _this3.v3 ? undefined : {
2073
- role: "presentation",
2074
- tabindex: -1
2228
+ role: "none"
2075
2229
  },
2076
- tabindex: -1,
2077
2230
  "class": _this3.gridTableClass,
2078
2231
  ref: setRef(_this3, 'scrollTable')
2079
2232
  }, [colGroups, h("tbody", {
2080
- role: "presentation",
2233
+ "class": 'k-table-tbody',
2234
+ role: "rowgroup",
2081
2235
  attrs: _this3.v3 ? undefined : {
2082
- role: "presentation",
2236
+ role: "rowgroup",
2083
2237
  "data-keyboardnavbody": true
2084
2238
  },
2085
2239
  "data-keyboardnavbody": true,
2086
2240
  ref: setRef(_this3, 'scrollTableBody')
2087
- }, [body])])]), h("div", {
2241
+ }, [body])]), h("div", {
2088
2242
  "class": "k-height-container",
2089
2243
  role: "presentation",
2090
2244
  attrs: _this3.v3 ? undefined : {
@@ -2094,7 +2248,7 @@ var GridVue2 = {
2094
2248
  style: _this3.$props.scrollable === 'virtual' ? {
2095
2249
  'height': _this3.vs.containerHeight + 'px'
2096
2250
  } : {}
2097
- })])]), loader]), footer, pager, clues])])
2251
+ })])]), loader]), footer]), pager, clues])])
2098
2252
  );
2099
2253
  }
2100
2254
  };