@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.
Files changed (128) hide show
  1. package/dist/cdn/js/kendo-vue-grid.js +1 -1
  2. package/dist/es/Grid.js +250 -64
  3. package/dist/es/GridToolbar.js +5 -1
  4. package/dist/es/cells/GridCell.d.ts +8 -1
  5. package/dist/es/cells/GridCell.js +11 -2
  6. package/dist/es/cells/GridDetailCell.js +1 -1
  7. package/dist/es/cells/GridDetailHierarchyCell.js +1 -1
  8. package/dist/es/cells/GridEditCell.d.ts +8 -1
  9. package/dist/es/cells/GridEditCell.js +13 -4
  10. package/dist/es/cells/GridFilterCell.js +34 -22
  11. package/dist/es/cells/GridGroupCell.d.ts +14 -2
  12. package/dist/es/cells/GridGroupCell.js +35 -5
  13. package/dist/es/cells/GridHierarchyCell.js +25 -6
  14. package/dist/es/cells/GridSelectionCell.d.ts +8 -1
  15. package/dist/es/cells/GridSelectionCell.js +10 -1
  16. package/dist/es/columnMenu/ColumnMenu.js +13 -10
  17. package/dist/es/columnMenu/GridColumnMenuCheckboxFilter.js +12 -5
  18. package/dist/es/columnMenu/GridColumnMenuFilter.js +9 -4
  19. package/dist/es/columnMenu/GridColumnMenuItem.d.ts +9 -0
  20. package/dist/es/columnMenu/GridColumnMenuItem.js +13 -2
  21. package/dist/es/columnMenu/GridColumnMenuSort.js +17 -8
  22. package/dist/es/drag/ColumnDraggable.js +15 -2
  23. package/dist/es/drag/CommonDragLogic.d.ts +1 -0
  24. package/dist/es/drag/CommonDragLogic.js +20 -9
  25. package/dist/es/drag/GroupingIndicator.js +25 -24
  26. package/dist/es/filterCommon.d.ts +4 -0
  27. package/dist/es/filterCommon.js +17 -1
  28. package/dist/es/footer/Footer.js +12 -2
  29. package/dist/es/footer/FooterRow.d.ts +1 -0
  30. package/dist/es/footer/FooterRow.js +12 -6
  31. package/dist/es/header/FilterRow.d.ts +1 -0
  32. package/dist/es/header/FilterRow.js +31 -23
  33. package/dist/es/header/GroupPanel.d.ts +1 -0
  34. package/dist/es/header/GroupPanel.js +18 -5
  35. package/dist/es/header/Header.js +4 -12
  36. package/dist/es/header/HeaderRow.d.ts +2 -0
  37. package/dist/es/header/HeaderRow.js +45 -15
  38. package/dist/es/interfaces/GridFilterCellProps.d.ts +12 -0
  39. package/dist/es/messages/main.d.ts +60 -0
  40. package/dist/es/messages/main.js +60 -0
  41. package/dist/es/package-metadata.js +1 -1
  42. package/dist/es/rows/GridRow.js +2 -2
  43. package/dist/es/utils/main.js +1 -1
  44. package/dist/esm/Grid.js +250 -64
  45. package/dist/esm/GridToolbar.js +5 -1
  46. package/dist/esm/cells/GridCell.d.ts +8 -1
  47. package/dist/esm/cells/GridCell.js +11 -2
  48. package/dist/esm/cells/GridDetailCell.js +1 -1
  49. package/dist/esm/cells/GridDetailHierarchyCell.js +1 -1
  50. package/dist/esm/cells/GridEditCell.d.ts +8 -1
  51. package/dist/esm/cells/GridEditCell.js +13 -4
  52. package/dist/esm/cells/GridFilterCell.js +34 -22
  53. package/dist/esm/cells/GridGroupCell.d.ts +14 -2
  54. package/dist/esm/cells/GridGroupCell.js +35 -5
  55. package/dist/esm/cells/GridHierarchyCell.js +25 -6
  56. package/dist/esm/cells/GridSelectionCell.d.ts +8 -1
  57. package/dist/esm/cells/GridSelectionCell.js +10 -1
  58. package/dist/esm/columnMenu/ColumnMenu.js +13 -10
  59. package/dist/esm/columnMenu/GridColumnMenuCheckboxFilter.js +12 -5
  60. package/dist/esm/columnMenu/GridColumnMenuFilter.js +9 -4
  61. package/dist/esm/columnMenu/GridColumnMenuItem.d.ts +9 -0
  62. package/dist/esm/columnMenu/GridColumnMenuItem.js +13 -2
  63. package/dist/esm/columnMenu/GridColumnMenuSort.js +17 -8
  64. package/dist/esm/drag/ColumnDraggable.js +15 -2
  65. package/dist/esm/drag/CommonDragLogic.d.ts +1 -0
  66. package/dist/esm/drag/CommonDragLogic.js +20 -9
  67. package/dist/esm/drag/GroupingIndicator.js +25 -24
  68. package/dist/esm/filterCommon.d.ts +4 -0
  69. package/dist/esm/filterCommon.js +17 -1
  70. package/dist/esm/footer/Footer.js +12 -2
  71. package/dist/esm/footer/FooterRow.d.ts +1 -0
  72. package/dist/esm/footer/FooterRow.js +12 -6
  73. package/dist/esm/header/FilterRow.d.ts +1 -0
  74. package/dist/esm/header/FilterRow.js +31 -23
  75. package/dist/esm/header/GroupPanel.d.ts +1 -0
  76. package/dist/esm/header/GroupPanel.js +18 -5
  77. package/dist/esm/header/Header.js +4 -12
  78. package/dist/esm/header/HeaderRow.d.ts +2 -0
  79. package/dist/esm/header/HeaderRow.js +45 -15
  80. package/dist/esm/interfaces/GridFilterCellProps.d.ts +12 -0
  81. package/dist/esm/messages/main.d.ts +60 -0
  82. package/dist/esm/messages/main.js +60 -0
  83. package/dist/esm/package-metadata.js +1 -1
  84. package/dist/esm/rows/GridRow.js +2 -2
  85. package/dist/esm/utils/main.js +1 -1
  86. package/dist/npm/Grid.js +250 -64
  87. package/dist/npm/GridToolbar.js +5 -1
  88. package/dist/npm/cells/GridCell.d.ts +8 -1
  89. package/dist/npm/cells/GridCell.js +11 -2
  90. package/dist/npm/cells/GridDetailCell.js +1 -1
  91. package/dist/npm/cells/GridDetailHierarchyCell.js +1 -1
  92. package/dist/npm/cells/GridEditCell.d.ts +8 -1
  93. package/dist/npm/cells/GridEditCell.js +13 -4
  94. package/dist/npm/cells/GridFilterCell.js +33 -21
  95. package/dist/npm/cells/GridGroupCell.d.ts +14 -2
  96. package/dist/npm/cells/GridGroupCell.js +34 -4
  97. package/dist/npm/cells/GridHierarchyCell.js +24 -5
  98. package/dist/npm/cells/GridSelectionCell.d.ts +8 -1
  99. package/dist/npm/cells/GridSelectionCell.js +10 -1
  100. package/dist/npm/columnMenu/ColumnMenu.js +13 -10
  101. package/dist/npm/columnMenu/GridColumnMenuCheckboxFilter.js +12 -5
  102. package/dist/npm/columnMenu/GridColumnMenuFilter.js +9 -4
  103. package/dist/npm/columnMenu/GridColumnMenuItem.d.ts +9 -0
  104. package/dist/npm/columnMenu/GridColumnMenuItem.js +13 -2
  105. package/dist/npm/columnMenu/GridColumnMenuSort.js +17 -8
  106. package/dist/npm/drag/ColumnDraggable.js +15 -2
  107. package/dist/npm/drag/CommonDragLogic.d.ts +1 -0
  108. package/dist/npm/drag/CommonDragLogic.js +20 -9
  109. package/dist/npm/drag/GroupingIndicator.js +25 -24
  110. package/dist/npm/filterCommon.d.ts +4 -0
  111. package/dist/npm/filterCommon.js +18 -1
  112. package/dist/npm/footer/Footer.js +12 -2
  113. package/dist/npm/footer/FooterRow.d.ts +1 -0
  114. package/dist/npm/footer/FooterRow.js +12 -6
  115. package/dist/npm/header/FilterRow.d.ts +1 -0
  116. package/dist/npm/header/FilterRow.js +29 -21
  117. package/dist/npm/header/GroupPanel.d.ts +1 -0
  118. package/dist/npm/header/GroupPanel.js +17 -4
  119. package/dist/npm/header/Header.js +4 -12
  120. package/dist/npm/header/HeaderRow.d.ts +2 -0
  121. package/dist/npm/header/HeaderRow.js +45 -15
  122. package/dist/npm/interfaces/GridFilterCellProps.d.ts +12 -0
  123. package/dist/npm/messages/main.d.ts +60 -0
  124. package/dist/npm/messages/main.js +61 -1
  125. package/dist/npm/package-metadata.js +1 -1
  126. package/dist/npm/rows/GridRow.js +2 -2
  127. package/dist/npm/utils/main.js +1 -1
  128. package/package.json +18 -16
@@ -5,7 +5,7 @@ var gh = allVue.h;
5
5
  var isV3 = allVue.version && allVue.version[0] === '3';
6
6
  var inject = allVue.inject;
7
7
  import { GroupingIndicator } from '../drag/GroupingIndicator';
8
- import { messages, groupPanelEmpty as messageKey } from '../messages/main';
8
+ import { messages, groupPanelEmpty as messageKey, groupHeaderAriaLabel } from '../messages/main';
9
9
  import { provideLocalizationService } from '@progress/kendo-vue-intl';
10
10
  /**
11
11
  * @hidden
@@ -13,7 +13,8 @@ import { provideLocalizationService } from '@progress/kendo-vue-intl';
13
13
  var GroupPanelVue2 = {
14
14
  props: {
15
15
  group: Array,
16
- resolveTitle: Function
16
+ resolveTitle: Function,
17
+ ariaControls: String
17
18
  },
18
19
  inject: {
19
20
  kendoLocalizationService: {
@@ -57,6 +58,7 @@ var GroupPanelVue2 = {
57
58
  render: function render(createElement) {
58
59
  var h = gh || createElement;
59
60
  var groupsProp = this.$props.group || [];
61
+ var ariaControls = this.$props.ariaControls;
60
62
  var groups = groupsProp.map(function (groupDesc, index) {
61
63
  var _this = this;
62
64
  return (
@@ -92,10 +94,21 @@ var GroupPanelVue2 = {
92
94
  })
93
95
  );
94
96
  }, this);
97
+ var groupHeaderAriaLabelValue = provideLocalizationService(this).toLanguageString(groupHeaderAriaLabel, messages[groupHeaderAriaLabel]);
95
98
  return h("div", {
96
- "class": "k-grouping-header k-grouping-header-flex"
97
- }, [groups, h("div", {
98
- "class": "k-indicator-container"
99
+ "class": "k-grouping-header",
100
+ role: 'toolbar',
101
+ attrs: this.v3 ? undefined : {
102
+ role: 'toolbar',
103
+ "aria-label": groupHeaderAriaLabelValue,
104
+ "aria-controls": ariaControls
105
+ },
106
+ "aria-label": groupHeaderAriaLabelValue,
107
+ "aria-controls": ariaControls
108
+ }, [!!groups.length && h("div", {
109
+ "class": "k-chip-list k-chip-list-md"
110
+ }, [groups]), h("div", {
111
+ "class": "k-grouping-drop-container"
99
112
  }, [!groups.length && provideLocalizationService(this).toLanguageString(messageKey, messages[messageKey])])]);
100
113
  }
101
114
  };
@@ -92,24 +92,16 @@ var HeaderVue2 = {
92
92
  }
93
93
  return h("div", {
94
94
  "class": this.wrapperClass,
95
- style: this.divStyle,
96
- role: "presentation",
97
- attrs: this.v3 ? undefined : {
98
- role: "presentation"
99
- }
95
+ style: this.divStyle
100
96
  }, [h("div", {
101
97
  ref: setRef(this, 'headerWrap'),
102
- "class": "k-grid-header-wrap",
103
- role: "presentation",
104
- attrs: this.v3 ? undefined : {
105
- role: "presentation"
106
- }
98
+ "class": "k-grid-header-wrap"
107
99
  }, [h("table", {
108
100
  "class": this.tableClass,
109
101
  ref: setRef(this, 'table'),
110
- role: "presentation",
102
+ role: "none",
111
103
  attrs: this.v3 ? undefined : {
112
- role: "presentation"
104
+ role: "none"
113
105
  }
114
106
  }, [h("colgroup", {
115
107
  ref: setRef(this, 'colGroupHeader')
@@ -35,6 +35,8 @@ export interface HeaderRowProps extends ColumnDraggableProps {
35
35
  columnMenuAnimate?: boolean | PopupAnimation;
36
36
  onFilterChange?: Function;
37
37
  isRtl?: boolean;
38
+ isColCountDefined?: boolean;
39
+ columnsInitial?: ExtendedColumnProps[];
38
40
  }
39
41
  /**
40
42
  * @hidden
@@ -10,6 +10,9 @@ import { GridHeaderCell } from './GridHeaderCell';
10
10
  import { ColumnMenu } from '../columnMenu/ColumnMenu';
11
11
  import { templateRendering, hasListener, getListeners, Keys, noop, Icon } from '@progress/kendo-vue-common';
12
12
  import { HeaderThElement } from '@progress/kendo-vue-data-tools'; // from '../../../datatools/src/main';
13
+ import { messages, sortableColumnAriaLabel, sortableColumnAscendingAriaLabel, sortableColumnDescendingAriaLabel } from '../messages/main';
14
+ import { provideLocalizationService } from '@progress/kendo-vue-intl';
15
+ import { sortAscSmallIcon, sortDescSmallIcon } from '@progress/kendo-svg-icons';
13
16
  /**
14
17
  * @hidden
15
18
  */
@@ -62,11 +65,18 @@ var HeaderRowVue2 = {
62
65
  return true;
63
66
  }
64
67
  },
65
- isRtl: Boolean
68
+ isRtl: Boolean,
69
+ isColCountDefined: Boolean,
70
+ // columnsInitial prop:
71
+ // Needed for hidden column scenarios. By this value we can define correct aria-colindex attribute
72
+ columnsInitial: Array
66
73
  },
67
74
  inject: {
68
75
  onNavFocus: {
69
76
  default: noop
77
+ },
78
+ kendoLocalizationService: {
79
+ default: null
70
80
  }
71
81
  },
72
82
  data: function data() {
@@ -127,7 +137,7 @@ var HeaderRowVue2 = {
127
137
  },
128
138
  cellClass: function cellClass(field, headerClassName, locked) {
129
139
  var customClass = headerClassName ? ' ' + headerClassName : '';
130
- var result = "k-header ".concat(locked ? 'k-grid-header-sticky' : '') + customClass;
140
+ var result = "k-header" + (locked ? ' k-grid-header-sticky' : '') + customClass;
131
141
  if (this.$props.sort && this.$props.sort.filter(function (descriptor) {
132
142
  return descriptor.field === field;
133
143
  }).length > 0) {
@@ -167,6 +177,7 @@ var HeaderRowVue2 = {
167
177
  theadClasses: {
168
178
  get: function get() {
169
179
  return {
180
+ 'k-table-thead': true,
170
181
  'k-grid-header': true
171
182
  };
172
183
  }
@@ -182,6 +193,10 @@ var HeaderRowVue2 = {
182
193
  // @ts-ignore
183
194
  render: function render(createElement) {
184
195
  var h = gh || createElement;
196
+ var localizationService = provideLocalizationService(this);
197
+ var ariaLabelSortableColumn = localizationService.toLanguageString(sortableColumnAriaLabel, messages[sortableColumnAriaLabel]);
198
+ var ariaLabelAscendingSort = localizationService.toLanguageString(sortableColumnAscendingAriaLabel, messages[sortableColumnAscendingAriaLabel]);
199
+ var ariaLabelDescendingSort = localizationService.toLanguageString(sortableColumnDescendingAriaLabel, messages[sortableColumnDescendingAriaLabel]);
185
200
  this.serviceIndex = 0;
186
201
  this.index = -1;
187
202
  var cells = function cells(rowIndexes) {
@@ -198,14 +213,17 @@ var HeaderRowVue2 = {
198
213
  if (!this.$props.sort) {
199
214
  return null;
200
215
  }
216
+ var currentDir = iconSortIndex >= 0 ? this.$props.sort[iconSortIndex].dir : '';
201
217
  return iconSortIndex >= 0 && [h("span", {
202
218
  key: 1,
203
219
  "class": 'k-sort-icon'
204
220
  }, [h(Icon, {
205
- name: 'sort-' + this.$props.sort[iconSortIndex].dir + '-small',
221
+ name: 'sort-' + currentDir + '-small',
206
222
  attrs: this.v3 ? undefined : {
207
- name: 'sort-' + this.$props.sort[iconSortIndex].dir + '-small'
208
- }
223
+ name: 'sort-' + currentDir + '-small',
224
+ icon: currentDir === 'asc' ? sortAscSmallIcon : sortDescSmallIcon
225
+ },
226
+ icon: currentDir === 'asc' ? sortAscSmallIcon : sortDescSmallIcon
209
227
  })]), this.$props.sort.length > 1 && h("span", {
210
228
  key: 2,
211
229
  "class": 'k-sort-icon'
@@ -214,8 +232,8 @@ var HeaderRowVue2 = {
214
232
  }, [iconSortIndex + 1])])];
215
233
  };
216
234
  var sortIcon = sortIconRenderer.call(this, sortIndex);
217
- var className = (column.kFirst ? 'k-first ' : '') + this.cellClass(column.field, column.headerClassName, column.locked);
218
235
  var columnMenu = column.columnMenu || column.columnMenu === false ? column.columnMenu : this.$props.columnMenu;
236
+ var className = (column.kFirst ? 'k-first ' : '') + this.cellClass(column.field, column.headerClassName, column.locked) + (columnMenu ? ' k-filterable' : '');
219
237
  var columnMenuRender = !columnMenu || typeof columnMenu === 'boolean' ? !!columnMenu : this.getTemplate(columnMenu);
220
238
  var style = column.left !== undefined ? !this.$props.isRtl ? {
221
239
  left: column.left + 'px',
@@ -224,32 +242,41 @@ var HeaderRowVue2 = {
224
242
  left: column.right + 'px',
225
243
  right: column.left + 'px'
226
244
  } : {};
245
+ var getAriaLabel = ariaSortMap[sortDir] === 'none' ? ariaLabelSortableColumn : ariaSortMap[sortDir] === 'ascending' ? ariaLabelAscendingSort : ariaLabelDescendingSort;
227
246
  var ariaAttrs = column.isAccessible ? {
228
247
  ariaSort: ariaSortMap[sortDir],
248
+ ariaLabel: getAriaLabel,
229
249
  role: 'columnheader',
230
- ariaColumnIndex: column.ariaColumnIndex,
231
- ariaSelected: false
250
+ ariaColumnIndex: this.$props.isColCountDefined ? this.$props.columnsInitial.findIndex(function (col) {
251
+ return col.field === column.field;
252
+ }) + 1 : undefined,
253
+ ariaSelected: false,
254
+ ariaHaspopup: columnMenu ? 'menu' : this.$props.filterable && column.filterable ? 'dialog' : undefined
232
255
  } : {
233
- 'role': 'presentation'
256
+ role: 'columnheader'
234
257
  };
235
258
  var key = column.declarationIndex >= 0 ? ++this.index : --this.serviceIndex;
236
259
  return (
237
260
  // @ts-ignore function children
238
261
  h(HeaderThElement, {
239
- ariaSort: ariaAttrs.ariaSort,
262
+ ariaSort: sortable ? ariaAttrs.ariaSort : undefined,
240
263
  attrs: this.v3 ? undefined : {
241
- ariaSort: ariaAttrs.ariaSort,
264
+ ariaSort: sortable ? ariaAttrs.ariaSort : undefined,
265
+ ariaLabel: sortable ? ariaAttrs.ariaLabel : undefined,
242
266
  role: ariaAttrs.role,
243
267
  ariaColumnIndex: ariaAttrs.ariaColumnIndex,
244
268
  ariaSelected: ariaAttrs.ariaSelected,
269
+ ariaHaspopup: ariaAttrs.ariaHaspopup,
245
270
  colSpan: column.colSpan,
246
271
  rowSpan: column.rowSpan,
247
272
  columnId: column.id,
248
273
  navigatable: column.navigatable
249
274
  },
275
+ ariaLabel: sortable ? ariaAttrs.ariaLabel : undefined,
250
276
  role: ariaAttrs.role,
251
277
  ariaColumnIndex: ariaAttrs.ariaColumnIndex,
252
278
  ariaSelected: ariaAttrs.ariaSelected,
279
+ ariaHaspopup: ariaAttrs.ariaHaspopup,
253
280
  key: key,
254
281
  colSpan: column.colSpan,
255
282
  rowSpan: column.rowSpan,
@@ -480,9 +507,9 @@ var HeaderRowVue2 = {
480
507
  }, this);
481
508
  };
482
509
  return h("thead", {
483
- role: "presentation",
510
+ role: "rowgroup",
484
511
  attrs: this.v3 ? undefined : {
485
- role: "presentation",
512
+ role: "rowgroup",
486
513
  "data-keyboardnavheader": true
487
514
  },
488
515
  "class": this.theadClasses,
@@ -504,10 +531,13 @@ var HeaderRowVue2 = {
504
531
  }, this.v3 ? function () {
505
532
  return [cells.call(_this3, rowIndexes)];
506
533
  } : [cells.call(_this3, rowIndexes)]) || h("tr", {
534
+ "class": 'k-table-row',
507
535
  role: 'row',
508
536
  attrs: this.v3 ? undefined : {
509
- role: 'row'
510
- }
537
+ role: 'row',
538
+ "aria-rowindex": this.columnsMap.length
539
+ },
540
+ "aria-rowindex": this.columnsMap.length
511
541
  }, [cells.call(this, rowIndexes)]);
512
542
  }, this), this.$props.filterRow]);
513
543
  }
@@ -65,4 +65,16 @@ export interface GridFilterCellProps {
65
65
  * The ariaLabel of the filter editor.
66
66
  */
67
67
  ariaLabel?: string;
68
+ /**
69
+ * Configures the `size` of the cell.
70
+ *
71
+ * The available options are:
72
+ * - small
73
+ * - medium
74
+ * - large
75
+ * - null—Does not set a size `class`.
76
+ *
77
+ * @default `medium`
78
+ */
79
+ size?: null | 'small' | 'medium' | 'large' | string;
68
80
  }
@@ -94,10 +94,58 @@ export declare const filterSelectedItems = "grid.filterSelectedItems";
94
94
  * @hidden
95
95
  */
96
96
  export declare const sortAriaLabel = "grid.sortAriaLabel";
97
+ /**
98
+ * @hidden
99
+ */
100
+ export declare const sortableColumnAriaLabel = "grid.sortableColumnAriaLabel";
101
+ /**
102
+ * @hidden
103
+ */
104
+ export declare const sortableColumnAscendingAriaLabel = "grid.sortableColumnAscendingAriaLabel";
105
+ /**
106
+ * @hidden
107
+ */
108
+ export declare const sortableColumnDescendingAriaLabel = "grid.sortableColumnDescendingAriaLabel";
97
109
  /**
98
110
  * @hidden
99
111
  */
100
112
  export declare const filterAriaLabel = "grid.filterAriaLabel";
113
+ /**
114
+ * @hidden
115
+ */
116
+ export declare const numericFilterAriaLabel = "grid.numericFilterAriaLabel";
117
+ /**
118
+ * @hidden
119
+ */
120
+ export declare const dateFilterAriaLabel = "grid.dateFilterAriaLabel";
121
+ /**
122
+ * @hidden
123
+ */
124
+ export declare const textFilterAriaLabel = "grid.textFilterAriaLabel";
125
+ /**
126
+ * @hidden
127
+ */
128
+ export declare const booleanFilterAriaLabel = "grid.booleanFilterAriaLabel";
129
+ /**
130
+ * @hidden
131
+ */
132
+ export declare const groupHeaderAriaLabel = "grid.groupHeaderAriaLabel";
133
+ /**
134
+ * @hidden
135
+ */
136
+ export declare const groupCaretAriaLabelCollapse = "grid.groupCaretAriaLabelCollapse";
137
+ /**
138
+ * @hidden
139
+ */
140
+ export declare const groupCaretAriaLabelExpand = "grid.groupCaretAriaLabelExpand";
141
+ /**
142
+ * @hidden
143
+ */
144
+ export declare const expandDetailAriaLabel = "grid.expandDetailTemplateAriaLabel";
145
+ /**
146
+ * @hidden
147
+ */
148
+ export declare const collapseDetailAriaLabel = "grid.collapseDetailTemplateAriaLabel";
101
149
  /**
102
150
  * @hidden
103
151
  */
@@ -126,7 +174,19 @@ export declare const messages: {
126
174
  "grid.filterChooseOperator": string;
127
175
  "grid.filterSelectedItems": string;
128
176
  "grid.sortAriaLabel": string;
177
+ "grid.sortableColumnAriaLabel": string;
178
+ "grid.sortableColumnAscendingAriaLabel": string;
179
+ "grid.sortableColumnDescendingAriaLabel": string;
129
180
  "grid.filterAriaLabel": string;
181
+ "grid.numericFilterAriaLabel": string;
182
+ "grid.dateFilterAriaLabel": string;
183
+ "grid.textFilterAriaLabel": string;
184
+ "grid.booleanFilterAriaLabel": string;
185
+ "grid.groupHeaderAriaLabel": string;
186
+ "grid.groupCaretAriaLabelCollapse": string;
187
+ "grid.groupCaretAriaLabelExpand": string;
188
+ "grid.expandDetailTemplateAriaLabel": string;
189
+ "grid.collapseDetailTemplateAriaLabel": string;
130
190
  'grid.filterEqOperator': string;
131
191
  'grid.filterNotEqOperator': string;
132
192
  'grid.filterIsNullOperator': string;
@@ -95,10 +95,58 @@ export var filterSelectedItems = 'grid.filterSelectedItems';
95
95
  * @hidden
96
96
  */
97
97
  export var sortAriaLabel = 'grid.sortAriaLabel';
98
+ /**
99
+ * @hidden
100
+ */
101
+ export var sortableColumnAriaLabel = 'grid.sortableColumnAriaLabel';
102
+ /**
103
+ * @hidden
104
+ */
105
+ export var sortableColumnAscendingAriaLabel = 'grid.sortableColumnAscendingAriaLabel';
106
+ /**
107
+ * @hidden
108
+ */
109
+ export var sortableColumnDescendingAriaLabel = 'grid.sortableColumnDescendingAriaLabel';
98
110
  /**
99
111
  * @hidden
100
112
  */
101
113
  export var filterAriaLabel = 'grid.filterAriaLabel';
114
+ /**
115
+ * @hidden
116
+ */
117
+ export var numericFilterAriaLabel = 'grid.numericFilterAriaLabel';
118
+ /**
119
+ * @hidden
120
+ */
121
+ export var dateFilterAriaLabel = 'grid.dateFilterAriaLabel';
122
+ /**
123
+ * @hidden
124
+ */
125
+ export var textFilterAriaLabel = 'grid.textFilterAriaLabel';
126
+ /**
127
+ * @hidden
128
+ */
129
+ export var booleanFilterAriaLabel = 'grid.booleanFilterAriaLabel';
130
+ /**
131
+ * @hidden
132
+ */
133
+ export var groupHeaderAriaLabel = 'grid.groupHeaderAriaLabel';
134
+ /**
135
+ * @hidden
136
+ */
137
+ export var groupCaretAriaLabelCollapse = 'grid.groupCaretAriaLabelCollapse';
138
+ /**
139
+ * @hidden
140
+ */
141
+ export var groupCaretAriaLabelExpand = 'grid.groupCaretAriaLabelExpand';
142
+ /**
143
+ * @hidden
144
+ */
145
+ export var expandDetailAriaLabel = 'grid.expandDetailTemplateAriaLabel';
146
+ /**
147
+ * @hidden
148
+ */
149
+ export var collapseDetailAriaLabel = 'grid.collapseDetailTemplateAriaLabel';
102
150
  /**
103
151
  * @hidden
104
152
  */
@@ -127,7 +175,19 @@ export var messages = (_a = {},
127
175
  _a[filterChooseOperator] = 'Choose Operator',
128
176
  _a[filterSelectedItems] = 'selected items',
129
177
  _a[sortAriaLabel] = 'Sortable',
178
+ _a[sortableColumnAriaLabel] = 'Sortable Column',
179
+ _a[sortableColumnAscendingAriaLabel] = 'Sorted in ascending order',
180
+ _a[sortableColumnDescendingAriaLabel] = 'Sorted in descending order',
130
181
  _a[filterAriaLabel] = 'Filter',
182
+ _a[numericFilterAriaLabel] = 'Numeric Filter',
183
+ _a[dateFilterAriaLabel] = 'Date Filter',
184
+ _a[textFilterAriaLabel] = 'Text Filter',
185
+ _a[booleanFilterAriaLabel] = 'Boolean Filter',
186
+ _a[groupHeaderAriaLabel] = 'Group Header',
187
+ _a[groupCaretAriaLabelCollapse] = 'Collapse Group',
188
+ _a[groupCaretAriaLabelExpand] = 'Expand Group',
189
+ _a[expandDetailAriaLabel] = 'Expand Details',
190
+ _a[collapseDetailAriaLabel] = 'Collapse Details',
131
191
  _a['grid.filterEqOperator'] = 'Is equal to',
132
192
  _a['grid.filterNotEqOperator'] = 'Is not equal to',
133
193
  _a['grid.filterIsNullOperator'] = 'Is null',
@@ -5,7 +5,7 @@ export var packageMetadata = {
5
5
  name: '@progress/kendo-vue-grid',
6
6
  productName: 'Kendo UI for Vue',
7
7
  productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
8
- publishDate: 1672389995,
8
+ publishDate: 1673512622,
9
9
  version: '',
10
10
  licensingDocsUrl: 'https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning'
11
11
  };
@@ -41,7 +41,7 @@ var GridRowVue2 = {
41
41
  render: function render(createElement) {
42
42
  var h = gh || createElement;
43
43
  var defaultSlot = getDefaultSlots(this);
44
- var className = this.$props.rowType === 'groupFooter' || this.$props.rowType === 'groupHeader' ? this.$props.rowType === 'groupFooter' && 'k-group-footer' || 'k-grouping-row' : (this.$props.isAltRow ? 'k-master-row k-alt' : 'k-master-row') + (this.$props.selectedField !== undefined && getNestedValue(this.$props.selectedField, this.$props.dataItem) ? ' k-selected' : '');
44
+ var className = this.$props.rowType === 'groupFooter' || this.$props.rowType === 'groupHeader' ? this.$props.rowType === 'groupFooter' && 'k-group-footer' || 'k-table-group-row k-grouping-row' : (this.$props.isAltRow ? 'k-table-alt-row k-master-row k-alt' : 'k-master-row') + (this.$props.selectedField !== undefined && getNestedValue(this.$props.selectedField, this.$props.dataItem) ? ' k-selected' : '');
45
45
  var defaultRendering = h("tr", {
46
46
  onClick: this.handleClick,
47
47
  on: this.v3 ? undefined : {
@@ -49,7 +49,7 @@ var GridRowVue2 = {
49
49
  "dblclick": this.handleDoubleClick
50
50
  },
51
51
  onDblclick: this.handleDoubleClick,
52
- "class": className,
52
+ "class": 'k-table-row ' + className,
53
53
  style: {
54
54
  height: this.$props.rowHeight ? this.$props.rowHeight + 'px' : '',
55
55
  visibility: this.$props.isHidden ? 'hidden' : ''
@@ -287,7 +287,7 @@ export function autoGenerateColumns(data, group, expandField, idInfo) {
287
287
  right: 0,
288
288
  children: [],
289
289
  rightBorder: false,
290
- ariaColumnIndex: 0,
290
+ ariaColumnIndex: 1,
291
291
  isAccessible: true
292
292
  }, GridColumnDefaults, { field: field }));
293
293
  }