@progress/kendo-vue-data-tools 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 (110) hide show
  1. package/dist/cdn/js/kendo-vue-data-tools.js +1 -1
  2. package/dist/es/cells/FilterCell.js +35 -21
  3. package/dist/es/columnmenu/ColumnMenu.js +7 -4
  4. package/dist/es/columnmenu/ColumnMenuCheckboxFilter.js +12 -5
  5. package/dist/es/columnmenu/ColumnMenuFilter.js +9 -4
  6. package/dist/es/columnmenu/ColumnMenuItem.d.ts +9 -0
  7. package/dist/es/columnmenu/ColumnMenuItem.js +12 -1
  8. package/dist/es/columnmenu/ColumnMenuSort.js +17 -8
  9. package/dist/es/drag/ColumnDraggable.js +6 -2
  10. package/dist/es/drag/CommonDragLogic.d.ts +1 -0
  11. package/dist/es/drag/CommonDragLogic.js +21 -10
  12. package/dist/es/filter/Expression.js +17 -8
  13. package/dist/es/filter/GroupToolbar.js +33 -8
  14. package/dist/es/header/FilterRow.d.ts +1 -0
  15. package/dist/es/header/FilterRow.js +6 -4
  16. package/dist/es/header/Header.d.ts +1 -0
  17. package/dist/es/header/Header.js +12 -2
  18. package/dist/es/header/HeaderRow.d.ts +1 -0
  19. package/dist/es/header/HeaderRow.js +12 -5
  20. package/dist/es/header/HeaderTdElement.d.ts +46 -0
  21. package/dist/es/header/HeaderTdElement.js +92 -0
  22. package/dist/es/header/HeaderThElement.d.ts +8 -1
  23. package/dist/es/header/HeaderThElement.js +10 -2
  24. package/dist/es/header/main.d.ts +1 -0
  25. package/dist/es/header/main.js +1 -0
  26. package/dist/es/interfaces/FilterCellProps.d.ts +12 -0
  27. package/dist/es/package-metadata.js +1 -1
  28. package/dist/es/pager/Pager.d.ts +13 -1
  29. package/dist/es/pager/Pager.js +66 -28
  30. package/dist/es/pager/PagerInput.d.ts +9 -1
  31. package/dist/es/pager/PagerInput.js +16 -2
  32. package/dist/es/pager/PagerNavigationButton.d.ts +13 -0
  33. package/dist/es/pager/PagerNavigationButton.js +30 -20
  34. package/dist/es/pager/PagerNumericButtons.d.ts +5 -1
  35. package/dist/es/pager/PagerNumericButtons.js +61 -27
  36. package/dist/es/pager/PagerPageSizes.d.ts +1 -0
  37. package/dist/es/pager/PagerPageSizes.js +3 -0
  38. package/dist/esm/cells/FilterCell.js +35 -21
  39. package/dist/esm/columnmenu/ColumnMenu.js +7 -4
  40. package/dist/esm/columnmenu/ColumnMenuCheckboxFilter.js +12 -5
  41. package/dist/esm/columnmenu/ColumnMenuFilter.js +9 -4
  42. package/dist/esm/columnmenu/ColumnMenuItem.d.ts +9 -0
  43. package/dist/esm/columnmenu/ColumnMenuItem.js +12 -1
  44. package/dist/esm/columnmenu/ColumnMenuSort.js +17 -8
  45. package/dist/esm/drag/ColumnDraggable.js +6 -2
  46. package/dist/esm/drag/CommonDragLogic.d.ts +1 -0
  47. package/dist/esm/drag/CommonDragLogic.js +21 -10
  48. package/dist/esm/filter/Expression.js +17 -8
  49. package/dist/esm/filter/GroupToolbar.js +33 -8
  50. package/dist/esm/header/FilterRow.d.ts +1 -0
  51. package/dist/esm/header/FilterRow.js +6 -4
  52. package/dist/esm/header/Header.d.ts +1 -0
  53. package/dist/esm/header/Header.js +12 -2
  54. package/dist/esm/header/HeaderRow.d.ts +1 -0
  55. package/dist/esm/header/HeaderRow.js +12 -5
  56. package/dist/esm/header/HeaderTdElement.d.ts +46 -0
  57. package/dist/esm/header/HeaderTdElement.js +92 -0
  58. package/dist/esm/header/HeaderThElement.d.ts +8 -1
  59. package/dist/esm/header/HeaderThElement.js +10 -2
  60. package/dist/esm/header/main.d.ts +1 -0
  61. package/dist/esm/header/main.js +1 -0
  62. package/dist/esm/interfaces/FilterCellProps.d.ts +12 -0
  63. package/dist/esm/package-metadata.js +1 -1
  64. package/dist/esm/pager/Pager.d.ts +13 -1
  65. package/dist/esm/pager/Pager.js +66 -28
  66. package/dist/esm/pager/PagerInput.d.ts +9 -1
  67. package/dist/esm/pager/PagerInput.js +16 -2
  68. package/dist/esm/pager/PagerNavigationButton.d.ts +13 -0
  69. package/dist/esm/pager/PagerNavigationButton.js +30 -20
  70. package/dist/esm/pager/PagerNumericButtons.d.ts +5 -1
  71. package/dist/esm/pager/PagerNumericButtons.js +61 -27
  72. package/dist/esm/pager/PagerPageSizes.d.ts +1 -0
  73. package/dist/esm/pager/PagerPageSizes.js +3 -0
  74. package/dist/npm/cells/FilterCell.js +34 -20
  75. package/dist/npm/columnmenu/ColumnMenu.js +7 -4
  76. package/dist/npm/columnmenu/ColumnMenuCheckboxFilter.js +12 -5
  77. package/dist/npm/columnmenu/ColumnMenuFilter.js +9 -4
  78. package/dist/npm/columnmenu/ColumnMenuItem.d.ts +9 -0
  79. package/dist/npm/columnmenu/ColumnMenuItem.js +12 -1
  80. package/dist/npm/columnmenu/ColumnMenuSort.js +17 -8
  81. package/dist/npm/drag/ColumnDraggable.js +6 -2
  82. package/dist/npm/drag/CommonDragLogic.d.ts +1 -0
  83. package/dist/npm/drag/CommonDragLogic.js +21 -10
  84. package/dist/npm/filter/Expression.js +17 -8
  85. package/dist/npm/filter/GroupToolbar.js +33 -8
  86. package/dist/npm/header/FilterRow.d.ts +1 -0
  87. package/dist/npm/header/FilterRow.js +6 -4
  88. package/dist/npm/header/Header.d.ts +1 -0
  89. package/dist/npm/header/Header.js +11 -1
  90. package/dist/npm/header/HeaderRow.d.ts +1 -0
  91. package/dist/npm/header/HeaderRow.js +12 -5
  92. package/dist/npm/header/HeaderTdElement.d.ts +46 -0
  93. package/dist/npm/header/HeaderTdElement.js +99 -0
  94. package/dist/npm/header/HeaderThElement.d.ts +8 -1
  95. package/dist/npm/header/HeaderThElement.js +10 -2
  96. package/dist/npm/header/main.d.ts +1 -0
  97. package/dist/npm/header/main.js +1 -0
  98. package/dist/npm/interfaces/FilterCellProps.d.ts +12 -0
  99. package/dist/npm/package-metadata.js +1 -1
  100. package/dist/npm/pager/Pager.d.ts +13 -1
  101. package/dist/npm/pager/Pager.js +65 -27
  102. package/dist/npm/pager/PagerInput.d.ts +9 -1
  103. package/dist/npm/pager/PagerInput.js +16 -2
  104. package/dist/npm/pager/PagerNavigationButton.d.ts +13 -0
  105. package/dist/npm/pager/PagerNavigationButton.js +30 -20
  106. package/dist/npm/pager/PagerNumericButtons.d.ts +5 -1
  107. package/dist/npm/pager/PagerNumericButtons.js +61 -27
  108. package/dist/npm/pager/PagerPageSizes.d.ts +1 -0
  109. package/dist/npm/pager/PagerPageSizes.js +3 -0
  110. package/package.json +12 -11
@@ -28,6 +28,7 @@ import { Button, Toolbar, ToolbarItem, ButtonGroup } from '@progress/kendo-vue-b
28
28
  import { provideLocalizationService } from '@progress/kendo-vue-intl';
29
29
  import { stringOperator } from './operators.js';
30
30
  import { messages, filterAndLogic, filterOrLogic, filterAddExpression, filterAddGroup, filterClose } from '../messages/main.js';
31
+ import { filterAddExpressionIcon, filterAddGroupIcon, xIcon } from '@progress/kendo-svg-icons';
31
32
  /**
32
33
  * @hidden
33
34
  */
@@ -225,9 +226,11 @@ var GroupToolbarVue2 = {
225
226
  attrs: _this.v3 ? undefined : {
226
227
  title: locService.toLanguageString(filterAddExpression, messages[filterAddExpression]),
227
228
  icon: "filter-add-expression",
229
+ svgIcon: filterAddExpressionIcon,
228
230
  type: "button"
229
231
  },
230
232
  icon: "filter-add-expression",
233
+ svgIcon: filterAddExpressionIcon,
231
234
  type: "button",
232
235
  onClick: _this.onAddExpression,
233
236
  on: _this.v3 ? undefined : {
@@ -239,9 +242,11 @@ var GroupToolbarVue2 = {
239
242
  attrs: _this.v3 ? undefined : {
240
243
  title: locService.toLanguageString(filterAddExpression, messages[filterAddExpression]),
241
244
  icon: "filter-add-expression",
245
+ svgIcon: filterAddExpressionIcon,
242
246
  type: "button"
243
247
  },
244
248
  icon: "filter-add-expression",
249
+ svgIcon: filterAddExpressionIcon,
245
250
  type: "button",
246
251
  onClick: _this.onAddExpression,
247
252
  on: _this.v3 ? undefined : {
@@ -257,9 +262,11 @@ var GroupToolbarVue2 = {
257
262
  attrs: _this.v3 ? undefined : {
258
263
  title: locService.toLanguageString(filterAddGroup, messages[filterAddGroup]),
259
264
  icon: "filter-add-group",
265
+ svgIcon: filterAddGroupIcon,
260
266
  type: "button"
261
267
  },
262
268
  icon: "filter-add-group",
269
+ svgIcon: filterAddGroupIcon,
263
270
  type: "button",
264
271
  onClick: _this.onAddGroup,
265
272
  on: _this.v3 ? undefined : {
@@ -271,9 +278,11 @@ var GroupToolbarVue2 = {
271
278
  attrs: _this.v3 ? undefined : {
272
279
  title: locService.toLanguageString(filterAddGroup, messages[filterAddGroup]),
273
280
  icon: "filter-add-group",
281
+ svgIcon: filterAddGroupIcon,
274
282
  type: "button"
275
283
  },
276
284
  icon: "filter-add-group",
285
+ svgIcon: filterAddGroupIcon,
277
286
  type: "button",
278
287
  onClick: _this.onAddGroup,
279
288
  on: _this.v3 ? undefined : {
@@ -288,11 +297,13 @@ var GroupToolbarVue2 = {
288
297
  title: locService.toLanguageString(filterClose, messages[filterClose]),
289
298
  attrs: _this.v3 ? undefined : {
290
299
  title: locService.toLanguageString(filterClose, messages[filterClose]),
291
- icon: "close",
300
+ icon: "x",
301
+ svgIcon: xIcon,
292
302
  look: "flat",
293
303
  type: "button"
294
304
  },
295
- icon: "close",
305
+ icon: "x",
306
+ svgIcon: xIcon,
296
307
  look: "flat",
297
308
  type: "button",
298
309
  onClick: _this.onGroupRemove,
@@ -304,11 +315,13 @@ var GroupToolbarVue2 = {
304
315
  title: locService.toLanguageString(filterClose, messages[filterClose]),
305
316
  attrs: _this.v3 ? undefined : {
306
317
  title: locService.toLanguageString(filterClose, messages[filterClose]),
307
- icon: "close",
318
+ icon: "x",
319
+ svgIcon: xIcon,
308
320
  look: "flat",
309
321
  type: "button"
310
322
  },
311
- icon: "close",
323
+ icon: "x",
324
+ svgIcon: xIcon,
312
325
  look: "flat",
313
326
  type: "button",
314
327
  onClick: _this.onGroupRemove,
@@ -448,9 +461,11 @@ var GroupToolbarVue2 = {
448
461
  attrs: _this.v3 ? undefined : {
449
462
  title: locService.toLanguageString(filterAddExpression, messages[filterAddExpression]),
450
463
  icon: "filter-add-expression",
464
+ svgIcon: filterAddExpressionIcon,
451
465
  type: "button"
452
466
  },
453
467
  icon: "filter-add-expression",
468
+ svgIcon: filterAddExpressionIcon,
454
469
  type: "button",
455
470
  onClick: _this.onAddExpression,
456
471
  on: _this.v3 ? undefined : {
@@ -462,9 +477,11 @@ var GroupToolbarVue2 = {
462
477
  attrs: _this.v3 ? undefined : {
463
478
  title: locService.toLanguageString(filterAddExpression, messages[filterAddExpression]),
464
479
  icon: "filter-add-expression",
480
+ svgIcon: filterAddExpressionIcon,
465
481
  type: "button"
466
482
  },
467
483
  icon: "filter-add-expression",
484
+ svgIcon: filterAddExpressionIcon,
468
485
  type: "button",
469
486
  onClick: _this.onAddExpression,
470
487
  on: _this.v3 ? undefined : {
@@ -476,9 +493,11 @@ var GroupToolbarVue2 = {
476
493
  attrs: _this.v3 ? undefined : {
477
494
  title: locService.toLanguageString(filterAddGroup, messages[filterAddGroup]),
478
495
  icon: "filter-add-group",
496
+ svgIcon: filterAddGroupIcon,
479
497
  type: "button"
480
498
  },
481
499
  icon: "filter-add-group",
500
+ svgIcon: filterAddGroupIcon,
482
501
  type: "button",
483
502
  onClick: _this.onAddGroup,
484
503
  on: _this.v3 ? undefined : {
@@ -490,9 +509,11 @@ var GroupToolbarVue2 = {
490
509
  attrs: _this.v3 ? undefined : {
491
510
  title: locService.toLanguageString(filterAddGroup, messages[filterAddGroup]),
492
511
  icon: "filter-add-group",
512
+ svgIcon: filterAddGroupIcon,
493
513
  type: "button"
494
514
  },
495
515
  icon: "filter-add-group",
516
+ svgIcon: filterAddGroupIcon,
496
517
  type: "button",
497
518
  onClick: _this.onAddGroup,
498
519
  on: _this.v3 ? undefined : {
@@ -503,11 +524,13 @@ var GroupToolbarVue2 = {
503
524
  title: locService.toLanguageString(filterClose, messages[filterClose]),
504
525
  attrs: _this.v3 ? undefined : {
505
526
  title: locService.toLanguageString(filterClose, messages[filterClose]),
506
- icon: "close",
527
+ icon: "x",
528
+ svgIcon: xIcon,
507
529
  look: "flat",
508
530
  type: "button"
509
531
  },
510
- icon: "close",
532
+ icon: "x",
533
+ svgIcon: xIcon,
511
534
  look: "flat",
512
535
  type: "button",
513
536
  onClick: _this.onGroupRemove,
@@ -519,11 +542,13 @@ var GroupToolbarVue2 = {
519
542
  title: locService.toLanguageString(filterClose, messages[filterClose]),
520
543
  attrs: _this.v3 ? undefined : {
521
544
  title: locService.toLanguageString(filterClose, messages[filterClose]),
522
- icon: "close",
545
+ icon: "x",
546
+ svgIcon: xIcon,
523
547
  look: "flat",
524
548
  type: "button"
525
549
  },
526
- icon: "close",
550
+ icon: "x",
551
+ svgIcon: xIcon,
527
552
  look: "flat",
528
553
  type: "button",
529
554
  onClick: _this.onGroupRemove,
@@ -18,6 +18,7 @@ export interface FilterRowProps {
18
18
  cellRender?: any;
19
19
  isRtl?: boolean;
20
20
  ariaRowIndex?: number;
21
+ size?: string;
21
22
  }
22
23
  /**
23
24
  * @hidden
@@ -23,7 +23,8 @@ var FilterRowVue2 = {
23
23
  sort: [Object, Array],
24
24
  cellRender: [String, Function, Object],
25
25
  isRtl: Boolean,
26
- ariaRowIndex: Number
26
+ ariaRowIndex: Number,
27
+ size: String
27
28
  },
28
29
  inject: {
29
30
  kendoLocalizationService: {
@@ -32,7 +33,7 @@ var FilterRowVue2 = {
32
33
  },
33
34
  methods: {
34
35
  headerCellClassName: function headerCellClassName(field, locked) {
35
- var result = "".concat(locked ? 'k-grid-header-sticky' : '');
36
+ var result = "k-table-th k-header" + (locked ? ' k-grid-header-sticky' : '');
36
37
  if (this.$props.sort && this.$props.sort.filter(function (descriptor) {
37
38
  return descriptor.field === field;
38
39
  }).length > 0) {
@@ -95,7 +96,6 @@ var FilterRowVue2 = {
95
96
  })[0];
96
97
  return found ? found.operator : null;
97
98
  };
98
- var filterCellProps;
99
99
  var serviceIndex = 0,
100
100
  index = -1;
101
101
  var filterCells = this.$props.columns.filter(function (c) {
@@ -112,6 +112,7 @@ var FilterRowVue2 = {
112
112
  attrs: this.v3 ? undefined : {
113
113
  grid: this.$props.grid,
114
114
  field: column.field,
115
+ size: this.$props.size,
115
116
  title: column.filterTitle,
116
117
  value: activeFilterValueFor(column.field, filterType === 'text' ? '' : null),
117
118
  operator: activeOperatorFor(column.field),
@@ -121,6 +122,7 @@ var FilterRowVue2 = {
121
122
  render: column.filterCell || this.$props.cellRender
122
123
  },
123
124
  field: column.field,
125
+ size: this.$props.size,
124
126
  title: column.filterTitle,
125
127
  value: activeFilterValueFor(column.field, filterType === 'text' ? '' : null),
126
128
  operator: activeOperatorFor(column.field),
@@ -183,7 +185,7 @@ var FilterRowVue2 = {
183
185
  });
184
186
  }, this);
185
187
  return h("tr", {
186
- "class": "k-filter-row",
188
+ "class": "k-table-row k-filter-row",
187
189
  "aria-rowindex": this.ariaRowIndex,
188
190
  attrs: this.v3 ? undefined : {
189
191
  "aria-rowindex": this.ariaRowIndex,
@@ -16,6 +16,7 @@ export interface HeaderProps {
16
16
  };
17
17
  cols: Element[];
18
18
  draggable: boolean;
19
+ size?: string;
19
20
  }
20
21
  /**
21
22
  * @hidden
@@ -4,7 +4,7 @@ var allVue = Vue;
4
4
  var gh = allVue.h;
5
5
  var isV3 = allVue.version && allVue.version[0] === '3';
6
6
  var ref = allVue.ref;
7
- import { isRtl, getRef, setRef, BrowserSupportService } from '@progress/kendo-vue-common';
7
+ import { isRtl, getRef, setRef, BrowserSupportService, kendoThemeMaps } from '@progress/kendo-vue-common';
8
8
  /**
9
9
  * @hidden
10
10
  */
@@ -15,7 +15,8 @@ var HeaderVue2 = {
15
15
  headerRow: Object,
16
16
  columnResize: Object,
17
17
  cols: Array,
18
- draggable: Boolean
18
+ draggable: Boolean,
19
+ size: String
19
20
  },
20
21
  data: function data() {
21
22
  return {
@@ -31,6 +32,14 @@ var HeaderVue2 = {
31
32
  'k-grid-header': true,
32
33
  'k-grid-draggable-header': this.$props.draggable
33
34
  };
35
+ },
36
+ tableClass: function tableClass() {
37
+ var _a;
38
+ var size = this.$props.size;
39
+ return _a = {
40
+ 'k-table': true,
41
+ 'k-grid-header-table': true
42
+ }, _a["k-table-".concat(kendoThemeMaps.sizeMap[size] || size)] = size, _a;
34
43
  }
35
44
  },
36
45
  mounted: function mounted() {
@@ -95,6 +104,7 @@ var HeaderVue2 = {
95
104
  role: "presentation"
96
105
  }
97
106
  }, [h("table", {
107
+ "class": this.tableClass,
98
108
  ref: setRef(this, 'table'),
99
109
  role: "presentation",
100
110
  attrs: this.v3 ? undefined : {
@@ -36,6 +36,7 @@ export interface HeaderRowProps extends ColumnDraggableProps {
36
36
  columnMenuAnimate?: boolean | PopupAnimation;
37
37
  onFilterChange?: Function;
38
38
  isRtl?: boolean;
39
+ size: string;
39
40
  }
40
41
  /**
41
42
  * @hidden
@@ -10,6 +10,7 @@ import { HeaderCell } from './HeaderCell.js';
10
10
  import { ColumnMenu } from '../columnmenu/ColumnMenu.js';
11
11
  import { HeaderSelectionCell } from './HeaderSelectionCell.js';
12
12
  import { templateRendering, hasListener, getListeners, Keys, noop, Icon } from '@progress/kendo-vue-common';
13
+ import { sortDescSmallIcon, sortAscSmallIcon } from '@progress/kendo-svg-icons';
13
14
  import { HeaderThElement } from './HeaderThElement.js';
14
15
  /**
15
16
  * @hidden
@@ -64,6 +65,7 @@ var HeaderRowVue2 = {
64
65
  return true;
65
66
  }
66
67
  },
68
+ size: String,
67
69
  isRtl: Boolean
68
70
  },
69
71
  inject: {
@@ -129,7 +131,7 @@ var HeaderRowVue2 = {
129
131
  },
130
132
  cellClass: function cellClass(field, headerClassName, locked) {
131
133
  var customClass = headerClassName ? ' ' + headerClassName : '';
132
- var result = "k-header ".concat(locked ? 'k-grid-header-sticky' : '') + customClass;
134
+ var result = "k-header" + (locked ? ' k-grid-header-sticky' : '') + customClass;
133
135
  if (this.$props.sort && this.$props.sort.filter(function (descriptor) {
134
136
  return descriptor.field === field;
135
137
  }).length > 0) {
@@ -169,6 +171,7 @@ var HeaderRowVue2 = {
169
171
  theadClasses: {
170
172
  get: function get() {
171
173
  return {
174
+ 'k-table-thead': true,
172
175
  'k-grid-header': true
173
176
  };
174
177
  }
@@ -200,20 +203,23 @@ var HeaderRowVue2 = {
200
203
  if (!this.$props.sort) {
201
204
  return null;
202
205
  }
206
+ var currentDir = this.$props.sort[iconSortIndex].dir;
203
207
  return iconSortIndex >= 0 && [h(Icon, {
204
208
  key: 1,
205
- name: "sort-".concat(this.$props.sort[iconSortIndex].dir, "-small"),
209
+ name: "sort-".concat(currentDir, "-small"),
206
210
  attrs: this.v3 ? undefined : {
207
- name: "sort-".concat(this.$props.sort[iconSortIndex].dir, "-small")
208
- }
211
+ name: "sort-".concat(currentDir, "-small"),
212
+ icon: currentDir === 'asc' ? sortAscSmallIcon : sortDescSmallIcon
213
+ },
214
+ icon: currentDir === 'asc' ? sortAscSmallIcon : sortDescSmallIcon
209
215
  }), this.$props.sort.length > 1 && h("span", {
210
216
  key: 2,
211
217
  "class": "k-sort-order"
212
218
  }, [iconSortIndex + 1])];
213
219
  };
214
220
  var sortIcon = sortIconRenderer.call(this, sortIndex);
215
- var className = (column.kFirst ? 'k-first ' : '') + this.cellClass(column.field, column.headerClassName, column.locked);
216
221
  var columnMenu = column.columnMenu || column.columnMenu === false ? column.columnMenu : this.$props.columnMenu;
222
+ var className = (column.kFirst ? 'k-first ' : '') + this.cellClass(column.field, column.headerClassName, column.locked) + (columnMenu ? ' k-filterable' : '');
217
223
  var columnMenuRender = !columnMenu || typeof columnMenu === 'boolean' ? !!columnMenu : this.getTemplate(columnMenu);
218
224
  var style = column.left !== undefined ? !this.$props.isRtl ? {
219
225
  left: column.left + 'px',
@@ -560,6 +566,7 @@ var HeaderRowVue2 = {
560
566
  }, this.v3 ? function () {
561
567
  return [cells.call(_this3, rowIndexes)];
562
568
  } : [cells.call(_this3, rowIndexes)]) || h("tr", {
569
+ "class": 'k-table-row',
563
570
  role: 'row',
564
571
  attrs: this.v3 ? undefined : {
565
572
  role: 'row'
@@ -0,0 +1,46 @@
1
+ import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../additionalTypes';
2
+ declare type DefaultData<V> = object | ((this: V) => {});
3
+ declare type DefaultMethods<V> = {
4
+ [key: string]: (this: V, ...args: any[]) => any;
5
+ };
6
+ export interface HeaderTdElementProps {
7
+ ariaColumnIndex?: number;
8
+ colSpan?: number;
9
+ rowSpan?: number;
10
+ role?: string;
11
+ columnId: string;
12
+ navigatable?: boolean;
13
+ }
14
+ /**
15
+ * @hidden
16
+ */
17
+ export interface HeaderTdElementMethods extends Vue2type {
18
+ onKeydown: (event: any) => void;
19
+ }
20
+ /**
21
+ * @hidden
22
+ */
23
+ export interface HeaderTdElementComputed {
24
+ [key: string]: any;
25
+ tdClass: object;
26
+ }
27
+ /**
28
+ * @hidden
29
+ */
30
+ export interface HeaderTdElementState {
31
+ _text: string | undefined;
32
+ }
33
+ /**
34
+ * @hidden
35
+ */
36
+ export interface HeaderTdElementAll extends HeaderTdElementMethods, HeaderTdElementState, HeaderTdElementComputed {
37
+ }
38
+ /**
39
+ * @hidden
40
+ */
41
+ declare let HeaderTdElementVue2: ComponentOptions<Vue2type, DefaultData<{}>, DefaultMethods<HeaderTdElementAll>, {}, RecordPropsDefinition<HeaderTdElementProps>>;
42
+ /**
43
+ * @hidden
44
+ */
45
+ declare const HeaderTdElement: DefineComponent<HeaderTdElementProps, any, {}, {}, HeaderTdElementMethods, {}, {}, {}, string, HeaderTdElementProps, HeaderTdElementProps, {}>;
46
+ export { HeaderTdElement, HeaderTdElementVue2 };
@@ -0,0 +1,92 @@
1
+ // @ts-ignore
2
+ import * as Vue from 'vue';
3
+ var allVue = Vue;
4
+ var gh = allVue.h;
5
+ var isV3 = allVue.version && allVue.version[0] === '3';
6
+ var inject = allVue.inject;
7
+ import { getDefaultSlots, noop } from '@progress/kendo-vue-common';
8
+ import { KEYBOARD_NAV_DATA_ID, KEYBOARD_NAV_DATA_LEVEL } from '../navigation/constants.js';
9
+ /**
10
+ * @hidden
11
+ */
12
+ var HeaderTdElementVue2 = {
13
+ name: 'KendoHeaderTdElement',
14
+ // @ts-ignore
15
+ emits: {
16
+ keydown: null
17
+ },
18
+ props: {
19
+ ariaColumnIndex: Number,
20
+ role: String,
21
+ columnId: String,
22
+ navigatable: Boolean
23
+ },
24
+ computed: {
25
+ tdClass: function tdClass() {
26
+ var _a;
27
+ var className = this.$props.className;
28
+ return _a = {
29
+ 'k-table-td': true
30
+ }, _a[className] = className, _a;
31
+ }
32
+ },
33
+ inject: {
34
+ getKeyboardNavigationAttributes: {
35
+ default: noop
36
+ }
37
+ },
38
+ // @ts-ignore
39
+ setup: !isV3 ? undefined : function () {
40
+ var v3 = !!isV3;
41
+ var kendoIntlService = inject('kendoIntlService', {});
42
+ var kendoLocalizationService = inject('kendoLocalizationService', {});
43
+ return {
44
+ v3: v3,
45
+ kendoIntlService: kendoIntlService,
46
+ kendoLocalizationService: kendoLocalizationService
47
+ };
48
+ },
49
+ // @ts-ignore
50
+ render: function render(createElement) {
51
+ var h = gh || createElement;
52
+ var _a = this.$props,
53
+ columnId = _a.columnId,
54
+ navigatable = _a.navigatable,
55
+ ariaColumnIndex = _a.ariaColumnIndex,
56
+ role = _a.role;
57
+ var navAttrs = this.getKeyboardNavigationAttributes(columnId, navigatable);
58
+ var defaultSlot = getDefaultSlots(this);
59
+ return h("td", {
60
+ style: {
61
+ top: '0px'
62
+ },
63
+ "aria-colindex": ariaColumnIndex,
64
+ attrs: this.v3 ? undefined : {
65
+ "aria-colindex": ariaColumnIndex,
66
+ role: role,
67
+ tabindex: navAttrs.tabIndex,
68
+ "data-keyboardnavlevel": navAttrs[KEYBOARD_NAV_DATA_LEVEL],
69
+ "data-keyboardnavid": navAttrs[KEYBOARD_NAV_DATA_ID]
70
+ },
71
+ "class": this.tdClass,
72
+ onKeydown: this.onKeyDown,
73
+ on: this.v3 ? undefined : {
74
+ "keydown": this.onKeyDown
75
+ },
76
+ role: role,
77
+ tabindex: navAttrs.tabIndex,
78
+ "data-keyboardnavlevel": navAttrs[KEYBOARD_NAV_DATA_LEVEL],
79
+ "data-keyboardnavid": navAttrs[KEYBOARD_NAV_DATA_ID]
80
+ }, [defaultSlot]);
81
+ },
82
+ methods: {
83
+ onKeyDown: function onKeyDown(e) {
84
+ this.$emit('keydown', e);
85
+ }
86
+ }
87
+ };
88
+ /**
89
+ * @hidden
90
+ */
91
+ var HeaderTdElement = HeaderTdElementVue2;
92
+ export { HeaderTdElement, HeaderTdElementVue2 };
@@ -20,6 +20,13 @@ export interface HeaderThElementProps {
20
20
  export interface HeaderThElementMethods extends Vue2type {
21
21
  onKeydown: (event: any) => void;
22
22
  }
23
+ /**
24
+ * @hidden
25
+ */
26
+ export interface HeaderThElementComputed {
27
+ [key: string]: any;
28
+ thClass: object;
29
+ }
23
30
  /**
24
31
  * @hidden
25
32
  */
@@ -29,7 +36,7 @@ export interface HeaderThElementState {
29
36
  /**
30
37
  * @hidden
31
38
  */
32
- export interface HeaderThElementAll extends HeaderThElementMethods, HeaderThElementState {
39
+ export interface HeaderThElementAll extends HeaderThElementMethods, HeaderThElementState, HeaderThElementComputed {
33
40
  }
34
41
  /**
35
42
  * @hidden
@@ -31,6 +31,15 @@ var HeaderThElementVue2 = {
31
31
  columnId: String,
32
32
  navigatable: Boolean
33
33
  },
34
+ computed: {
35
+ thClass: function thClass() {
36
+ var _a;
37
+ var className = this.$props.className;
38
+ return _a = {
39
+ 'k-table-th': true
40
+ }, _a[className] = className, _a;
41
+ }
42
+ },
34
43
  inject: {
35
44
  getKeyboardNavigationAttributes: {
36
45
  default: noop
@@ -54,7 +63,6 @@ var HeaderThElementVue2 = {
54
63
  ariaSort = _a.ariaSort,
55
64
  colSpan = _a.colSpan,
56
65
  rowSpan = _a.rowSpan,
57
- className = _a.className,
58
66
  columnId = _a.columnId,
59
67
  navigatable = _a.navigatable,
60
68
  ariaColumnIndex = _a.ariaColumnIndex,
@@ -85,7 +93,7 @@ var HeaderThElementVue2 = {
85
93
  "aria-selected": ariaSelected,
86
94
  colspan: colSpan,
87
95
  rowspan: rowSpan,
88
- "class": className,
96
+ "class": this.thClass,
89
97
  onKeydown: this.onKeyDown,
90
98
  on: this.v3 ? undefined : {
91
99
  "keydown": this.onKeyDown
@@ -8,3 +8,4 @@ export * from './HeaderSelectionCell';
8
8
  export * from '../interfaces/SortSettings';
9
9
  export * from './utils/main';
10
10
  export * from './HeaderThElement';
11
+ export * from './HeaderTdElement';
@@ -8,3 +8,4 @@ export * from './HeaderSelectionCell.js';
8
8
  export * from '../interfaces/SortSettings.js';
9
9
  export * from './utils/main.js';
10
10
  export * from './HeaderThElement.js';
11
+ export * from './HeaderTdElement.js';
@@ -69,4 +69,16 @@ export interface FilterCellProps {
69
69
  * The ariaLabel of the filter editor.
70
70
  */
71
71
  ariaLabel?: string;
72
+ /**
73
+ * Configures the `size` of the cell.
74
+ *
75
+ * The available options are:
76
+ * - small
77
+ * - medium
78
+ * - large
79
+ * - null&mdash;Does not set a size `class`.
80
+ *
81
+ * @default `medium`
82
+ */
83
+ size?: null | 'small' | 'medium' | 'large' | string;
72
84
  }
@@ -5,7 +5,7 @@ export var packageMetadata = {
5
5
  name: '@progress/kendo-vue-data-tools',
6
6
  productName: 'Kendo UI for Vue',
7
7
  productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
8
- publishDate: 1672389924,
8
+ publishDate: 1673512534,
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
  };
@@ -34,6 +34,18 @@ export interface PagerProps extends GridPagerSettings {
34
34
  responsive?: boolean;
35
35
  pagerRender?: any;
36
36
  width?: number | string;
37
+ /**
38
+ * Configures the `size` of the Pager.
39
+ *
40
+ * The available options are:
41
+ * - small
42
+ * - medium
43
+ * - large
44
+ * - null&mdash;Does not set a size `class`.
45
+ *
46
+ * @default `medium`
47
+ */
48
+ size?: null | 'small' | 'medium' | 'large' | string;
37
49
  /**
38
50
  * A map with the messages.
39
51
  */
@@ -80,7 +92,7 @@ export interface PagerComputed {
80
92
  * @hidden
81
93
  */
82
94
  export interface PagerData {
83
- size: string;
95
+ currentSize: string;
84
96
  }
85
97
  /**
86
98
  * @hidden