@progress/kendo-vue-grid 3.5.3 → 3.5.4-dev.202209071223

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 (56) hide show
  1. package/dist/cdn/js/kendo-vue-grid.js +1 -1
  2. package/dist/es/Grid.js +3 -5
  3. package/dist/es/cells/GridFilterCell.d.ts +7 -2
  4. package/dist/es/cells/GridFilterCell.js +26 -15
  5. package/dist/es/cells/GridGroupCell.js +1 -1
  6. package/dist/es/columnMenu/ColumnMenu.js +1 -1
  7. package/dist/es/drag/CommonDragLogic.js +1 -1
  8. package/dist/es/drag/DragClue.d.ts +1 -1
  9. package/dist/es/drag/GroupingIndicator.js +4 -4
  10. package/dist/es/footer/FooterRow.js +6 -1
  11. package/dist/es/header/FilterRow.d.ts +8 -2
  12. package/dist/es/header/FilterRow.js +9 -2
  13. package/dist/es/header/GridHeaderCell.d.ts +1 -1
  14. package/dist/es/header/GridHeaderCell.js +8 -5
  15. package/dist/es/header/Header.js +0 -4
  16. package/dist/es/header/HeaderRow.js +21 -8
  17. package/dist/es/interfaces/GridFilterCellProps.d.ts +4 -0
  18. package/dist/es/interfaces/GridProps.d.ts +5 -0
  19. package/dist/es/package-metadata.js +1 -1
  20. package/dist/esm/Grid.js +3 -5
  21. package/dist/esm/cells/GridFilterCell.d.ts +7 -2
  22. package/dist/esm/cells/GridFilterCell.js +26 -15
  23. package/dist/esm/cells/GridGroupCell.js +1 -1
  24. package/dist/esm/columnMenu/ColumnMenu.js +1 -1
  25. package/dist/esm/drag/CommonDragLogic.js +1 -1
  26. package/dist/esm/drag/DragClue.d.ts +1 -1
  27. package/dist/esm/drag/GroupingIndicator.js +4 -4
  28. package/dist/esm/footer/FooterRow.js +6 -1
  29. package/dist/esm/header/FilterRow.d.ts +8 -2
  30. package/dist/esm/header/FilterRow.js +9 -2
  31. package/dist/esm/header/GridHeaderCell.d.ts +1 -1
  32. package/dist/esm/header/GridHeaderCell.js +8 -5
  33. package/dist/esm/header/Header.js +0 -4
  34. package/dist/esm/header/HeaderRow.js +21 -8
  35. package/dist/esm/interfaces/GridFilterCellProps.d.ts +4 -0
  36. package/dist/esm/interfaces/GridProps.d.ts +5 -0
  37. package/dist/esm/package-metadata.js +1 -1
  38. package/dist/npm/Grid.js +3 -5
  39. package/dist/npm/cells/GridFilterCell.d.ts +7 -2
  40. package/dist/npm/cells/GridFilterCell.js +26 -15
  41. package/dist/npm/cells/GridGroupCell.js +1 -1
  42. package/dist/npm/columnMenu/ColumnMenu.js +1 -1
  43. package/dist/npm/drag/CommonDragLogic.js +1 -1
  44. package/dist/npm/drag/DragClue.d.ts +1 -1
  45. package/dist/npm/drag/GroupingIndicator.js +4 -4
  46. package/dist/npm/footer/FooterRow.js +6 -1
  47. package/dist/npm/header/FilterRow.d.ts +8 -2
  48. package/dist/npm/header/FilterRow.js +9 -2
  49. package/dist/npm/header/GridHeaderCell.d.ts +1 -1
  50. package/dist/npm/header/GridHeaderCell.js +8 -5
  51. package/dist/npm/header/Header.js +0 -4
  52. package/dist/npm/header/HeaderRow.js +21 -8
  53. package/dist/npm/interfaces/GridFilterCellProps.d.ts +4 -0
  54. package/dist/npm/interfaces/GridProps.d.ts +5 -0
  55. package/dist/npm/package-metadata.js +1 -1
  56. package/package.json +14 -14
@@ -126,7 +126,7 @@ var ColumnMenuVue2 = {
126
126
  display: 'inline'
127
127
  }
128
128
  }, [h("div", {
129
- "class": 'k-grid-column-menu k-grid-filter',
129
+ "class": 'k-grid-header-menu k-grid-column-menu',
130
130
  tabindex: 0,
131
131
  attrs: this.v3 ? undefined : {
132
132
  tabindex: 0,
@@ -151,7 +151,7 @@ var CommonDragLogic = /** @class */ (function () {
151
151
  this.dragElementClue.top = (event.pageY + 10);
152
152
  this.dragElementClue.left = event.pageX;
153
153
  this.dragElementClue.innerText = innerText;
154
- this.dragElementClue.status = (invalidIndex || !targetElement) ? 'k-i-cancel' : 'k-i-add';
154
+ this.dragElementClue.status = (invalidIndex || !targetElement) ? 'k-i-cancel' : 'k-i-plus';
155
155
  };
156
156
  CommonDragLogic.prototype.updateDropElementClue = function (event, element, targetElement, invalidIndex) {
157
157
  if (!this.dropElementClue) {
@@ -12,7 +12,7 @@ export interface DragClueData extends Vue2type {
12
12
  top?: number;
13
13
  left?: number;
14
14
  innerText?: string;
15
- status?: 'k-i-cancel' | 'k-i-add';
15
+ status?: 'k-i-cancel' | 'k-i-plus';
16
16
  }
17
17
  /**
18
18
  * @hidden
@@ -80,7 +80,7 @@ var GroupingIndicatorVue2 = {
80
80
  }, [h("div", {
81
81
  "class": "k-chip k-chip-lg k-rounded-md k-chip-solid k-chip-solid-base"
82
82
  }, [h("span", {
83
- "class": 'k-chip-icon k-icon k-i-sort-' + _this.$props.dir + '-sm'
83
+ "class": 'k-chip-icon k-icon k-i-sort-' + _this.$props.dir + '-small'
84
84
  }), h("span", {
85
85
  "class": "k-chip-content",
86
86
  tabindex: -1,
@@ -96,7 +96,7 @@ var GroupingIndicatorVue2 = {
96
96
  }, [_this.$props.title])]), h("span", {
97
97
  "class": "k-chip-actions"
98
98
  }, [h("span", {
99
- "class": "k-chip-action",
99
+ "class": "k-chip-action k-chip-remove-action",
100
100
  tabindex: -1,
101
101
  attrs: _this.v3 ? undefined : {
102
102
  tabindex: -1
@@ -114,7 +114,7 @@ var GroupingIndicatorVue2 = {
114
114
  }, [h("div", {
115
115
  "class": "k-chip k-chip-lg k-rounded-md k-chip-solid k-chip-solid-base"
116
116
  }, [h("span", {
117
- "class": 'k-chip-icon k-icon k-i-sort-' + _this.$props.dir + '-sm'
117
+ "class": 'k-chip-icon k-icon k-i-sort-' + _this.$props.dir + '-small'
118
118
  }), h("span", {
119
119
  "class": "k-chip-content",
120
120
  tabindex: -1,
@@ -130,7 +130,7 @@ var GroupingIndicatorVue2 = {
130
130
  }, [_this.$props.title])]), h("span", {
131
131
  "class": "k-chip-actions"
132
132
  }, [h("span", {
133
- "class": "k-chip-action",
133
+ "class": "k-chip-action k-chip-remove-action",
134
134
  tabindex: -1,
135
135
  attrs: _this.v3 ? undefined : {
136
136
  tabindex: -1
@@ -62,7 +62,12 @@ var FooterRowVue2 = {
62
62
  }, [footerCellRendering]);
63
63
  };
64
64
 
65
- return h("tr", [footerColumns(this.$props.columns).map(renderCell, this)]);
65
+ return h("tr", {
66
+ role: 'row',
67
+ attrs: this.v3 ? undefined : {
68
+ role: 'row'
69
+ }
70
+ }, [footerColumns(this.$props.columns).map(renderCell, this)]);
66
71
  }
67
72
  };
68
73
  /**
@@ -17,18 +17,24 @@ export interface FilterRowProps {
17
17
  sort?: SortDescriptor[];
18
18
  cellRender?: any;
19
19
  isRtl?: boolean;
20
+ ariaRowIndex?: number;
20
21
  }
21
22
  /**
22
23
  * @hidden
23
24
  */
24
- export interface FilterRowMethods extends Vue2type {
25
+ export interface FilterRowMethods {
25
26
  headerCellClassName: (field?: string, locked?: boolean) => string;
26
27
  setFilter: (value: string | number, operator: string | Function, field: string | undefined, e: any) => void;
27
28
  }
28
29
  /**
29
30
  * @hidden
30
31
  */
31
- declare let FilterRowVue2: ComponentOptions<Vue2type, DefaultData<{}>, DefaultMethods<FilterRowMethods>, {}, RecordPropsDefinition<FilterRowProps>>;
32
+ export interface FilterRowAll extends FilterRowMethods, FilterRowProps, Vue2type {
33
+ }
34
+ /**
35
+ * @hidden
36
+ */
37
+ declare let FilterRowVue2: ComponentOptions<Vue2type, DefaultData<{}>, DefaultMethods<FilterRowAll>, {}, RecordPropsDefinition<FilterRowProps>>;
32
38
  /**
33
39
  * @hidden
34
40
  */
@@ -22,7 +22,8 @@ var FilterRowVue2 = {
22
22
  filterOperators: Object,
23
23
  sort: [Object, Array],
24
24
  cellRender: [String, Function, Object],
25
- isRtl: Boolean
25
+ isRtl: Boolean,
26
+ ariaRowIndex: Number
26
27
  },
27
28
  inject: {
28
29
  kendoLocalizationService: {
@@ -191,7 +192,13 @@ var FilterRowVue2 = {
191
192
  });
192
193
  }, this);
193
194
  return h("tr", {
194
- "class": "k-filter-row"
195
+ "class": "k-filter-row",
196
+ "aria-rowindex": this.ariaRowIndex,
197
+ attrs: this.v3 ? undefined : {
198
+ "aria-rowindex": this.ariaRowIndex,
199
+ role: 'row'
200
+ },
201
+ role: 'row'
195
202
  }, [filterCells]);
196
203
  }
197
204
  };
@@ -7,7 +7,7 @@ import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } fr
7
7
  /**
8
8
  * @hidden
9
9
  */
10
- export interface GridHeaderCellMethods extends Vue2type {
10
+ export interface GridHeaderCellMethods extends GridHeaderCellProps, Vue2type {
11
11
  clickHandler: (event: any) => void;
12
12
  }
13
13
  /**
@@ -17,7 +17,9 @@ var GridHeaderCellVue2 = {
17
17
  },
18
18
  methods: {
19
19
  clickHandler: function clickHandler(event) {
20
- this.$emit('headercellclick', event);
20
+ if (this.sortable) {
21
+ this.$emit('headercellclick', event);
22
+ }
21
23
  }
22
24
  },
23
25
  // @ts-ignore
@@ -33,14 +35,15 @@ var GridHeaderCellVue2 = {
33
35
  var defaultSlot = getDefaultSlots(this);
34
36
  var renderTemplate = this.$props.render;
35
37
  var textInCell = this.$props.title || this.$props.field || "\xA0";
36
- var defaultRendering = this.$props.sortable ? h("span", {
37
- "class": "k-link",
38
+ var defaultRendering = h("span", {
39
+ "class": 'k-link',
38
40
  onClick: this.clickHandler,
39
41
  on: this.v3 ? undefined : {
40
42
  "click": this.clickHandler
41
43
  }
42
- }, [textInCell, defaultSlot]) : defaultSlot ? h("span", [textInCell, defaultSlot]) // @ts-ignore
43
- : this.v3 ? textInCell : this._v(textInCell);
44
+ }, [h("span", {
45
+ "class": 'k-column-title'
46
+ }, [textInCell]), defaultSlot]);
44
47
  return getTemplate.call(this, {
45
48
  h: h,
46
49
  template: renderTemplate,
@@ -107,10 +107,6 @@ var HeaderVue2 = {
107
107
  role: "presentation"
108
108
  }
109
109
  }, [h("colgroup", {
110
- role: "presentation",
111
- attrs: this.v3 ? undefined : {
112
- role: "presentation"
113
- },
114
110
  ref: setRef(this, 'colGroupHeader')
115
111
  }, [this.$props.cols]), this.$props.headerRow])])]);
116
112
  }
@@ -219,7 +219,7 @@ var HeaderRowVue2 = {
219
219
 
220
220
  return iconSortIndex >= 0 && [h("span", {
221
221
  key: 1,
222
- "class": 'k-icon k-i-sort-' + _this.$props.sort[iconSortIndex].dir + '-sm'
222
+ "class": 'k-icon k-i-sort-' + _this.$props.sort[iconSortIndex].dir + '-small'
223
223
  }), _this.$props.sort.length > 1 && h("span", {
224
224
  key: 2,
225
225
  "class": "k-sort-order"
@@ -315,7 +315,9 @@ var HeaderRowVue2 = {
315
315
  filterOperators: _this2.$props.filterOperators,
316
316
  onFilterchange: _this2.filterChangeHandler,
317
317
  render: columnMenuRender
318
- }), column.internalHeaderCell && // @ts-ignore function children
318
+ }), column.internalHeaderCell && h("span", {
319
+ "class": 'k-cell-inner'
320
+ }, [// @ts-ignore function children
319
321
  h(column.internalHeaderCell, {
320
322
  key: 1,
321
323
  field: column.field,
@@ -342,7 +344,9 @@ var HeaderRowVue2 = {
342
344
  render: (column.headerCell || _this2.$props.cellRender) && _this2.getTemplate(column.headerCell || _this2.$props.cellRender)
343
345
  }, _this2.v3 ? function () {
344
346
  return [sortIcon];
345
- } : [sortIcon]) || // @ts-ignore function children
347
+ } : [sortIcon])]) || h("span", {
348
+ "class": 'k-cell-inner'
349
+ }, [// @ts-ignore function children
346
350
  h(GridHeaderCell, {
347
351
  key: 1,
348
352
  field: column.field,
@@ -367,7 +371,7 @@ var HeaderRowVue2 = {
367
371
  render: (column.headerCell || _this2.$props.cellRender) && _this2.getTemplate(column.headerCell || _this2.$props.cellRender)
368
372
  }, _this2.v3 ? function () {
369
373
  return [sortIcon];
370
- } : [sortIcon]), _this2.$props.columnResize && _this2.$props.columnResize.resizable // @ts-ignore
374
+ } : [sortIcon])]), _this2.$props.columnResize && _this2.$props.columnResize.resizable // @ts-ignore
371
375
  && column.resizable && h(ColumnResizer, {
372
376
  key: 2,
373
377
  onResize: function onResize(e, element, end) {
@@ -415,7 +419,9 @@ var HeaderRowVue2 = {
415
419
  filterOperators: _this2.$props.filterOperators,
416
420
  onFilterchange: _this2.filterChangeHandler,
417
421
  render: columnMenuRender
418
- }), column.internalHeaderCell && h(column.internalHeaderCell, {
422
+ }), column.internalHeaderCell && h("span", {
423
+ "class": 'k-cell-inner'
424
+ }, [h(column.internalHeaderCell, {
419
425
  key: 1,
420
426
  field: column.field,
421
427
  attrs: _this2.v3 ? undefined : {
@@ -441,7 +447,9 @@ var HeaderRowVue2 = {
441
447
  render: (column.headerCell || _this2.$props.cellRender) && _this2.getTemplate(column.headerCell || _this2.$props.cellRender)
442
448
  }, _this2.v3 ? function () {
443
449
  return [sortIcon];
444
- } : [sortIcon]) || h(GridHeaderCell, {
450
+ } : [sortIcon])]) || h("span", {
451
+ "class": 'k-cell-inner'
452
+ }, [h(GridHeaderCell, {
445
453
  key: 1,
446
454
  field: column.field,
447
455
  attrs: _this2.v3 ? undefined : {
@@ -465,7 +473,7 @@ var HeaderRowVue2 = {
465
473
  render: (column.headerCell || _this2.$props.cellRender) && _this2.getTemplate(column.headerCell || _this2.$props.cellRender)
466
474
  }, _this2.v3 ? function () {
467
475
  return [sortIcon];
468
- } : [sortIcon]), _this2.$props.columnResize && _this2.$props.columnResize.resizable && column.resizable && h(ColumnResizer, {
476
+ } : [sortIcon])]), _this2.$props.columnResize && _this2.$props.columnResize.resizable && column.resizable && h(ColumnResizer, {
469
477
  key: 2,
470
478
  onResize: function onResize(e, element, end) {
471
479
  return _this.$props.columnResize && _this.$props.columnResize.dragHandler(e, column, element, end);
@@ -504,7 +512,12 @@ var HeaderRowVue2 = {
504
512
  onReleaseHandler: this.releaseHandler
505
513
  }, this.v3 ? function () {
506
514
  return [cells.call(_this3, rowIndexes)];
507
- } : [cells.call(_this3, rowIndexes)]) || h("tr", [cells.call(this, rowIndexes)]);
515
+ } : [cells.call(_this3, rowIndexes)]) || h("tr", {
516
+ role: 'row',
517
+ attrs: this.v3 ? undefined : {
518
+ role: 'row'
519
+ }
520
+ }, [cells.call(this, rowIndexes)]);
508
521
  }, this), this.$props.filterRow]);
509
522
  }
510
523
  };
@@ -61,4 +61,8 @@ export interface GridFilterCellProps {
61
61
  * The method for rendering the filter cell.
62
62
  */
63
63
  render?: any;
64
+ /**
65
+ * The ariaLabel of the filter editor.
66
+ */
67
+ ariaLabel?: string;
64
68
  }
@@ -192,6 +192,11 @@ export interface GridProps {
192
192
  * item ([more information and examples]({% slug editing_inline_grid %})).
193
193
  */
194
194
  editField?: string;
195
+ /**
196
+ * A function that returns a custom class applied to the row.
197
+ * @param item - the item for the row.
198
+ */
199
+ rowClass?: Function;
195
200
  /**
196
201
  * Defines the scroll mode that is used by the Grid ([see example]({% slug scrollmmodes_grid %}).
197
202
  *
@@ -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: 1662389109,
8
+ publishDate: 1662553066,
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
  };
package/dist/npm/Grid.js CHANGED
@@ -156,6 +156,7 @@ var GridVue2 = {
156
156
  group: Array,
157
157
  groupable: [Boolean, Object],
158
158
  editField: String,
159
+ rowClass: Function,
159
160
  scrollable: {
160
161
  type: String,
161
162
  default: 'scrollable'
@@ -1619,7 +1620,8 @@ var GridVue2 = {
1619
1620
  render: rowRenderFunction,
1620
1621
  ariaRowIndex: currentAriaRowIndex,
1621
1622
  dataIndex: dataIndex,
1622
- isSelected: dataRow.isSelected
1623
+ isSelected: dataRow.isSelected,
1624
+ "class": this.$props.rowClass ? this.$props.rowClass(item) : ''
1623
1625
  }, this.v3 ? function () {
1624
1626
  return [dataRow.call(_this2, item, rowId, dataIndex).row];
1625
1627
  } : [dataRow.call(_this2, item, rowId, dataIndex).row]), this.$props.detail && item.rowType === 'data' && item.expanded && h("tr", {
@@ -1729,10 +1731,6 @@ var GridVue2 = {
1729
1731
  };
1730
1732
 
1731
1733
  var colGroups = h("colgroup", {
1732
- role: "presentation",
1733
- attrs: this.v3 ? undefined : {
1734
- role: "presentation"
1735
- },
1736
1734
  ref: (0, kendo_vue_common_1.setRef)(this, 'colGroup')
1737
1735
  }, [columnsWithColGroup.map(function (column, index) {
1738
1736
  return h("col", {
@@ -7,7 +7,7 @@ import { GridFilterCellProps } from '../interfaces/GridFilterCellProps';
7
7
  /**
8
8
  * @hidden
9
9
  */
10
- export interface GridFilterCellMethods extends Vue2type {
10
+ export interface GridFilterCellMethods {
11
11
  triggerClick: () => void;
12
12
  inputChange: (value: any, e: any) => void;
13
13
  operatorChange: (operatorValue: any, e: any) => void;
@@ -18,7 +18,12 @@ export interface GridFilterCellMethods extends Vue2type {
18
18
  /**
19
19
  * @hidden
20
20
  */
21
- declare let GridFilterCellVue2: ComponentOptions<Vue2type, DefaultData<{}>, DefaultMethods<GridFilterCellMethods>, {}, RecordPropsDefinition<GridFilterCellProps>>;
21
+ export interface GridFilterCellAll extends GridFilterCellMethods, GridFilterCellProps, Vue2type {
22
+ }
23
+ /**
24
+ * @hidden
25
+ */
26
+ declare let GridFilterCellVue2: ComponentOptions<Vue2type, DefaultData<{}>, DefaultMethods<GridFilterCellAll>, {}, RecordPropsDefinition<GridFilterCellProps>>;
22
27
  /**
23
28
  * @hidden
24
29
  */
@@ -46,7 +46,8 @@ var GridFilterCellVue2 = {
46
46
  operators: Array,
47
47
  booleanValues: Array,
48
48
  onChange: Function,
49
- render: [String, Function, Object]
49
+ render: [String, Function, Object],
50
+ ariaLabel: String
50
51
  },
51
52
  inject: {
52
53
  kendoLocalizationService: {
@@ -123,7 +124,8 @@ var GridFilterCellVue2 = {
123
124
  title: localizationService.toLanguageString(main_1.filterChooseOperator, main_1.messages[main_1.filterChooseOperator]),
124
125
  popupSettings: {
125
126
  width: ''
126
- }
127
+ },
128
+ ariaLabel: 'filter'
127
129
  },
128
130
  "class": "k-dropdown-operator",
129
131
  iconClassName: "k-i-filter k-icon",
@@ -132,7 +134,8 @@ var GridFilterCellVue2 = {
132
134
  title: localizationService.toLanguageString(main_1.filterChooseOperator, main_1.messages[main_1.filterChooseOperator]),
133
135
  popupSettings: {
134
136
  width: ''
135
- }
137
+ },
138
+ ariaLabel: 'filter'
136
139
  })
137
140
  );
138
141
  };
@@ -147,7 +150,8 @@ var GridFilterCellVue2 = {
147
150
  value: value,
148
151
  attrs: this.v3 ? undefined : {
149
152
  value: value,
150
- title: this.$props.title
153
+ title: this.$props.title,
154
+ ariaLabel: this.ariaLabel
151
155
  },
152
156
  onChange: function onChange(e) {
153
157
  _this.inputChange(e.value, e.event);
@@ -157,7 +161,8 @@ var GridFilterCellVue2 = {
157
161
  _this.inputChange(e.value, e.event);
158
162
  }
159
163
  },
160
- title: this.$props.title
164
+ title: this.$props.title,
165
+ ariaLabel: this.ariaLabel
161
166
  })
162
167
  );
163
168
 
@@ -167,7 +172,8 @@ var GridFilterCellVue2 = {
167
172
  value: value,
168
173
  attrs: this.v3 ? undefined : {
169
174
  value: value,
170
- title: this.$props.title
175
+ title: this.$props.title,
176
+ ariaLabel: this.ariaLabel
171
177
  },
172
178
  onChange: function onChange(e) {
173
179
  _this.inputChange(e.value, e);
@@ -177,7 +183,8 @@ var GridFilterCellVue2 = {
177
183
  _this.inputChange(e.value, e);
178
184
  }
179
185
  },
180
- title: this.$props.title
186
+ title: this.$props.title,
187
+ ariaLabel: this.ariaLabel
181
188
  })
182
189
  );
183
190
 
@@ -198,11 +205,13 @@ var GridFilterCellVue2 = {
198
205
  }),
199
206
  "data-items": booleanValues,
200
207
  textField: "text",
201
- title: this.$props.title
208
+ title: this.$props.title,
209
+ ariaLabel: this.ariaLabel
202
210
  },
203
211
  "data-items": booleanValues,
204
212
  textField: "text",
205
- title: this.$props.title
213
+ title: this.$props.title,
214
+ ariaLabel: this.ariaLabel
206
215
  })
207
216
  );
208
217
 
@@ -225,17 +234,19 @@ var GridFilterCellVue2 = {
225
234
  },
226
235
  title: this.$props.title,
227
236
  attrs: this.v3 ? undefined : {
228
- title: this.$props.title
229
- }
237
+ title: this.$props.title,
238
+ "aria-label": this.ariaLabel
239
+ },
240
+ "aria-label": this.ariaLabel
230
241
  })]);
231
242
  }
232
243
  };
233
244
 
234
245
  var defaultRendering = h("div", {
235
246
  "class": "k-filtercell"
236
- }, [h("div", {
237
- "class": "k-filtercell-wrapper"
238
- }, [filterComponent.call(this, this.$props.filterType, this.$props.value), renderOperatorEditor.call(this), // @ts-ignore function children
247
+ }, [h("span", [filterComponent.call(this, this.$props.filterType, this.$props.value), h("div", {
248
+ "class": "k-filtercell-operator"
249
+ }, [renderOperatorEditor.call(this), // @ts-ignore function children
239
250
  h(kendo_vue_buttons_1.Button, {
240
251
  type: "button",
241
252
  attrs: this.v3 ? undefined : {
@@ -253,7 +264,7 @@ var GridFilterCellVue2 = {
253
264
  on: this.v3 ? undefined : {
254
265
  "click": this.clear
255
266
  }
256
- })])]);
267
+ })])])]);
257
268
  var gridListeners = this.$props.grid ? kendo_vue_common_1.getListeners.call(this.$props.grid) : null;
258
269
  var cellRenderFunction = kendo_vue_common_1.templateRendering.call(this.$props.grid, this.$props.render, gridListeners);
259
270
  return kendo_vue_common_1.getTemplate.call(this, {
@@ -165,7 +165,7 @@ var GridGroupCellVue2 = {
165
165
  tabindex: -1
166
166
  },
167
167
  tabindex: -1,
168
- "class": expanded ? 'k-i-collapse k-icon' : 'k-i-expand k-icon'
168
+ "class": expanded ? 'k-i-caret-alt-down k-icon' : 'k-i-caret-alt-right k-icon'
169
169
  }), dataItem[field].toString()])]);
170
170
  }
171
171
 
@@ -140,7 +140,7 @@ var ColumnMenuVue2 = {
140
140
  display: 'inline'
141
141
  }
142
142
  }, [h("div", {
143
- "class": 'k-grid-column-menu k-grid-filter',
143
+ "class": 'k-grid-header-menu k-grid-column-menu',
144
144
  tabindex: 0,
145
145
  attrs: this.v3 ? undefined : {
146
146
  tabindex: 0,
@@ -154,7 +154,7 @@ var CommonDragLogic = /** @class */ (function () {
154
154
  this.dragElementClue.top = (event.pageY + 10);
155
155
  this.dragElementClue.left = event.pageX;
156
156
  this.dragElementClue.innerText = innerText;
157
- this.dragElementClue.status = (invalidIndex || !targetElement) ? 'k-i-cancel' : 'k-i-add';
157
+ this.dragElementClue.status = (invalidIndex || !targetElement) ? 'k-i-cancel' : 'k-i-plus';
158
158
  };
159
159
  CommonDragLogic.prototype.updateDropElementClue = function (event, element, targetElement, invalidIndex) {
160
160
  if (!this.dropElementClue) {
@@ -12,7 +12,7 @@ export interface DragClueData extends Vue2type {
12
12
  top?: number;
13
13
  left?: number;
14
14
  innerText?: string;
15
- status?: 'k-i-cancel' | 'k-i-add';
15
+ status?: 'k-i-cancel' | 'k-i-plus';
16
16
  }
17
17
  /**
18
18
  * @hidden
@@ -89,7 +89,7 @@ var GroupingIndicatorVue2 = {
89
89
  }, [h("div", {
90
90
  "class": "k-chip k-chip-lg k-rounded-md k-chip-solid k-chip-solid-base"
91
91
  }, [h("span", {
92
- "class": 'k-chip-icon k-icon k-i-sort-' + _this.$props.dir + '-sm'
92
+ "class": 'k-chip-icon k-icon k-i-sort-' + _this.$props.dir + '-small'
93
93
  }), h("span", {
94
94
  "class": "k-chip-content",
95
95
  tabindex: -1,
@@ -105,7 +105,7 @@ var GroupingIndicatorVue2 = {
105
105
  }, [_this.$props.title])]), h("span", {
106
106
  "class": "k-chip-actions"
107
107
  }, [h("span", {
108
- "class": "k-chip-action",
108
+ "class": "k-chip-action k-chip-remove-action",
109
109
  tabindex: -1,
110
110
  attrs: _this.v3 ? undefined : {
111
111
  tabindex: -1
@@ -123,7 +123,7 @@ var GroupingIndicatorVue2 = {
123
123
  }, [h("div", {
124
124
  "class": "k-chip k-chip-lg k-rounded-md k-chip-solid k-chip-solid-base"
125
125
  }, [h("span", {
126
- "class": 'k-chip-icon k-icon k-i-sort-' + _this.$props.dir + '-sm'
126
+ "class": 'k-chip-icon k-icon k-i-sort-' + _this.$props.dir + '-small'
127
127
  }), h("span", {
128
128
  "class": "k-chip-content",
129
129
  tabindex: -1,
@@ -139,7 +139,7 @@ var GroupingIndicatorVue2 = {
139
139
  }, [_this.$props.title])]), h("span", {
140
140
  "class": "k-chip-actions"
141
141
  }, [h("span", {
142
- "class": "k-chip-action",
142
+ "class": "k-chip-action k-chip-remove-action",
143
143
  tabindex: -1,
144
144
  attrs: _this.v3 ? undefined : {
145
145
  tabindex: -1
@@ -72,7 +72,12 @@ var FooterRowVue2 = {
72
72
  }, [footerCellRendering]);
73
73
  };
74
74
 
75
- return h("tr", [(0, main_1.footerColumns)(this.$props.columns).map(renderCell, this)]);
75
+ return h("tr", {
76
+ role: 'row',
77
+ attrs: this.v3 ? undefined : {
78
+ role: 'row'
79
+ }
80
+ }, [(0, main_1.footerColumns)(this.$props.columns).map(renderCell, this)]);
76
81
  }
77
82
  };
78
83
  exports.FooterRowVue2 = FooterRowVue2;
@@ -17,18 +17,24 @@ export interface FilterRowProps {
17
17
  sort?: SortDescriptor[];
18
18
  cellRender?: any;
19
19
  isRtl?: boolean;
20
+ ariaRowIndex?: number;
20
21
  }
21
22
  /**
22
23
  * @hidden
23
24
  */
24
- export interface FilterRowMethods extends Vue2type {
25
+ export interface FilterRowMethods {
25
26
  headerCellClassName: (field?: string, locked?: boolean) => string;
26
27
  setFilter: (value: string | number, operator: string | Function, field: string | undefined, e: any) => void;
27
28
  }
28
29
  /**
29
30
  * @hidden
30
31
  */
31
- declare let FilterRowVue2: ComponentOptions<Vue2type, DefaultData<{}>, DefaultMethods<FilterRowMethods>, {}, RecordPropsDefinition<FilterRowProps>>;
32
+ export interface FilterRowAll extends FilterRowMethods, FilterRowProps, Vue2type {
33
+ }
34
+ /**
35
+ * @hidden
36
+ */
37
+ declare let FilterRowVue2: ComponentOptions<Vue2type, DefaultData<{}>, DefaultMethods<FilterRowAll>, {}, RecordPropsDefinition<FilterRowProps>>;
32
38
  /**
33
39
  * @hidden
34
40
  */
@@ -35,7 +35,8 @@ var FilterRowVue2 = {
35
35
  filterOperators: Object,
36
36
  sort: [Object, Array],
37
37
  cellRender: [String, Function, Object],
38
- isRtl: Boolean
38
+ isRtl: Boolean,
39
+ ariaRowIndex: Number
39
40
  },
40
41
  inject: {
41
42
  kendoLocalizationService: {
@@ -204,7 +205,13 @@ var FilterRowVue2 = {
204
205
  });
205
206
  }, this);
206
207
  return h("tr", {
207
- "class": "k-filter-row"
208
+ "class": "k-filter-row",
209
+ "aria-rowindex": this.ariaRowIndex,
210
+ attrs: this.v3 ? undefined : {
211
+ "aria-rowindex": this.ariaRowIndex,
212
+ role: 'row'
213
+ },
214
+ role: 'row'
208
215
  }, [filterCells]);
209
216
  }
210
217
  };
@@ -7,7 +7,7 @@ import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } fr
7
7
  /**
8
8
  * @hidden
9
9
  */
10
- export interface GridHeaderCellMethods extends Vue2type {
10
+ export interface GridHeaderCellMethods extends GridHeaderCellProps, Vue2type {
11
11
  clickHandler: (event: any) => void;
12
12
  }
13
13
  /**