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

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 (41) hide show
  1. package/dist/cdn/js/kendo-vue-grid.js +1 -1
  2. package/dist/es/Grid.js +28 -4
  3. package/dist/es/cells/GridGroupCell.js +10 -3
  4. package/dist/es/cells/GridHierarchyCell.js +10 -4
  5. package/dist/es/columnMenu/ColumnMenu.js +3 -5
  6. package/dist/es/columnMenu/GridColumnMenuCheckboxFilter.js +9 -5
  7. package/dist/es/columnMenu/GridColumnMenuFilter.js +9 -4
  8. package/dist/es/columnMenu/GridColumnMenuItem.d.ts +9 -0
  9. package/dist/es/columnMenu/GridColumnMenuItem.js +13 -2
  10. package/dist/es/columnMenu/GridColumnMenuSort.js +17 -8
  11. package/dist/es/drag/CommonDragLogic.d.ts +1 -0
  12. package/dist/es/drag/CommonDragLogic.js +20 -9
  13. package/dist/es/header/FilterRow.js +11 -3
  14. package/dist/es/package-metadata.js +1 -1
  15. package/dist/esm/Grid.js +28 -4
  16. package/dist/esm/cells/GridGroupCell.js +10 -3
  17. package/dist/esm/cells/GridHierarchyCell.js +10 -4
  18. package/dist/esm/columnMenu/ColumnMenu.js +3 -5
  19. package/dist/esm/columnMenu/GridColumnMenuCheckboxFilter.js +9 -5
  20. package/dist/esm/columnMenu/GridColumnMenuFilter.js +9 -4
  21. package/dist/esm/columnMenu/GridColumnMenuItem.d.ts +9 -0
  22. package/dist/esm/columnMenu/GridColumnMenuItem.js +13 -2
  23. package/dist/esm/columnMenu/GridColumnMenuSort.js +17 -8
  24. package/dist/esm/drag/CommonDragLogic.d.ts +1 -0
  25. package/dist/esm/drag/CommonDragLogic.js +20 -9
  26. package/dist/esm/header/FilterRow.js +11 -3
  27. package/dist/esm/package-metadata.js +1 -1
  28. package/dist/npm/Grid.js +28 -4
  29. package/dist/npm/cells/GridGroupCell.js +9 -2
  30. package/dist/npm/cells/GridHierarchyCell.js +9 -3
  31. package/dist/npm/columnMenu/ColumnMenu.js +3 -5
  32. package/dist/npm/columnMenu/GridColumnMenuCheckboxFilter.js +8 -4
  33. package/dist/npm/columnMenu/GridColumnMenuFilter.js +9 -4
  34. package/dist/npm/columnMenu/GridColumnMenuItem.d.ts +9 -0
  35. package/dist/npm/columnMenu/GridColumnMenuItem.js +13 -2
  36. package/dist/npm/columnMenu/GridColumnMenuSort.js +17 -8
  37. package/dist/npm/drag/CommonDragLogic.d.ts +1 -0
  38. package/dist/npm/drag/CommonDragLogic.js +20 -9
  39. package/dist/npm/header/FilterRow.js +11 -3
  40. package/dist/npm/package-metadata.js +1 -1
  41. package/package.json +14 -14
@@ -4,10 +4,11 @@ var allVue = Vue;
4
4
  var gh = allVue.h;
5
5
  var isV3 = allVue.version && allVue.version[0] === '3';
6
6
  import { getNestedValue } from '../utils/main.js';
7
- import { getTemplate, Keys, noop } from '@progress/kendo-vue-common';
7
+ import { getTemplate, Icon, Keys, noop } from '@progress/kendo-vue-common';
8
8
  import { KEYBOARD_NAV_DATA_ID, KEYBOARD_NAV_DATA_LEVEL } from '@progress/kendo-vue-data-tools';
9
9
  import { provideLocalizationService } from '@progress/kendo-vue-intl';
10
10
  import { messages, collapseDetailAriaLabel, expandDetailAriaLabel } from '../messages/main.js';
11
+ import { minusIcon, plusIcon } from '@progress/kendo-svg-icons';
11
12
  /**
12
13
  * @hidden
13
14
  */
@@ -110,7 +111,6 @@ var GridHierarchyCellVue2 = {
110
111
  });
111
112
  } else if (this.$props.rowType !== 'groupHeader') {
112
113
  var expanded_1 = getNestedValue(this.$props.field, this.$props.dataItem);
113
- var className = expanded_1 ? 'k-icon k-i-minus' : 'k-icon k-i-plus';
114
114
  defaultRendering = h("td", {
115
115
  onKeydown: function onKeydown(ev) {
116
116
  _this.triggerKeydown(ev, expanded_1);
@@ -144,7 +144,6 @@ var GridHierarchyCellVue2 = {
144
144
  _this.clickHandler(e, _this.$props.dataItem, expanded_1);
145
145
  }
146
146
  },
147
- "class": className,
148
147
  href: "#",
149
148
  attrs: this.v3 ? undefined : {
150
149
  href: "#",
@@ -155,7 +154,14 @@ var GridHierarchyCellVue2 = {
155
154
  tabindex: -1,
156
155
  title: expanded_1 ? collapseMessage : expandMessage,
157
156
  "aria-label": expanded_1 ? collapseMessage : expandMessage
158
- })]);
157
+ }, [h(Icon, {
158
+ name: expanded_1 ? 'minus' : 'plus',
159
+ attrs: this.v3 ? undefined : {
160
+ name: expanded_1 ? 'minus' : 'plus',
161
+ icon: expanded_1 ? minusIcon : plusIcon
162
+ },
163
+ icon: expanded_1 ? minusIcon : plusIcon
164
+ })])]);
159
165
  }
160
166
  return getTemplate.call(this, {
161
167
  h: h,
@@ -87,8 +87,8 @@ var ColumnMenuVue2 = {
87
87
  handleFocus: function handleFocus(_) {
88
88
  clearTimeout(this.blurTimeout);
89
89
  },
90
- anchorClick: function anchorClick() {
91
- var that = this;
90
+ anchorClick: function anchorClick(e) {
91
+ e.preventDefault();
92
92
  this.show = !this.show;
93
93
  },
94
94
  closeMenu: function closeMenu() {
@@ -123,13 +123,11 @@ var ColumnMenuVue2 = {
123
123
  }
124
124
  }, [h("a", {
125
125
  "class": 'k-grid-header-menu k-grid-column-menu',
126
- tabindex: 0,
126
+ title: "".concat(this.$props.column.field, " ").concat(ls.toLanguageString(columnMenu, messages[columnMenu])),
127
127
  attrs: this.v3 ? undefined : {
128
- tabindex: 0,
129
128
  title: "".concat(this.$props.column.field, " ").concat(ls.toLanguageString(columnMenu, messages[columnMenu])),
130
129
  href: "#"
131
130
  },
132
- title: "".concat(this.$props.column.field, " ").concat(ls.toLanguageString(columnMenu, messages[columnMenu])),
133
131
  ref: setRef(this, 'kendoAnchor', this._anchor),
134
132
  onClick: this.anchorClick,
135
133
  on: this.v3 ? undefined : {
@@ -35,7 +35,7 @@ import { messages, filterClearButton, filterSubmitButton, filterTitle, searchPla
35
35
  import { filterBy } from '@progress/kendo-data-query';
36
36
  import { clone, getListeners, getTemplate, Icon, templateRendering } from '@progress/kendo-vue-common';
37
37
  import { getNestedValue } from '../utils/main.js';
38
- import { searchIcon } from '@progress/kendo-svg-icons';
38
+ import { searchIcon, filterIcon } from '@progress/kendo-svg-icons';
39
39
  /**
40
40
  * @hidden
41
41
  */
@@ -218,9 +218,11 @@ var GridColumnMenuCheckboxFilterVue2 = {
218
218
  title: localizationService.toLanguageString(filterTitle, messages[filterTitle]),
219
219
  attrs: _this2.v3 ? undefined : {
220
220
  title: localizationService.toLanguageString(filterTitle, messages[filterTitle]),
221
- iconClass: 'k-i-filter'
221
+ icon: 'filter',
222
+ svgIcon: filterIcon
222
223
  },
223
- iconClass: 'k-i-filter',
224
+ icon: 'filter',
225
+ svgIcon: filterIcon,
224
226
  onClick: _this2.onFilterExpand,
225
227
  on: _this2.v3 ? undefined : {
226
228
  "click": _this2.onFilterExpand
@@ -379,9 +381,11 @@ var GridColumnMenuCheckboxFilterVue2 = {
379
381
  title: localizationService.toLanguageString(filterTitle, messages[filterTitle]),
380
382
  attrs: _this2.v3 ? undefined : {
381
383
  title: localizationService.toLanguageString(filterTitle, messages[filterTitle]),
382
- iconClass: 'k-i-filter'
384
+ icon: 'filter',
385
+ svgIcon: filterIcon
383
386
  },
384
- iconClass: 'k-i-filter',
387
+ icon: 'filter',
388
+ svgIcon: filterIcon,
385
389
  onClick: _this2.onFilterExpand,
386
390
  on: _this2.v3 ? undefined : {
387
391
  "click": _this2.onFilterExpand
@@ -37,6 +37,7 @@ import { messages, filterClearButton, filterSubmitButton, filterTitle } from '..
37
37
  import { GridColumnMenuFilterCell } from './GridColumnMenuFilterCell.js';
38
38
  import { ColumnMenuFilterOperators } from './GridColumnMenuFilterOperators.js';
39
39
  import { DropDownList } from '@progress/kendo-vue-dropdowns';
40
+ import { filterIcon } from '@progress/kendo-svg-icons';
40
41
  /**
41
42
  * @hidden
42
43
  */
@@ -352,9 +353,11 @@ var GridColumnMenuFilterVue2 = {
352
353
  title: localizationService.toLanguageString(filterTitle, messages[filterTitle]),
353
354
  attrs: _this2.v3 ? undefined : {
354
355
  title: localizationService.toLanguageString(filterTitle, messages[filterTitle]),
355
- iconClass: 'k-i-filter'
356
+ icon: 'filter',
357
+ svgIcon: filterIcon
356
358
  },
357
- iconClass: 'k-i-filter',
359
+ icon: 'filter',
360
+ svgIcon: filterIcon,
358
361
  onMenuitemclick: _this2.onFilterExpand,
359
362
  on: _this2.v3 ? undefined : {
360
363
  "menuitemclick": _this2.onFilterExpand
@@ -641,9 +644,11 @@ var GridColumnMenuFilterVue2 = {
641
644
  title: localizationService.toLanguageString(filterTitle, messages[filterTitle]),
642
645
  attrs: _this2.v3 ? undefined : {
643
646
  title: localizationService.toLanguageString(filterTitle, messages[filterTitle]),
644
- iconClass: 'k-i-filter'
647
+ icon: 'filter',
648
+ svgIcon: filterIcon
645
649
  },
646
- iconClass: 'k-i-filter',
650
+ icon: 'filter',
651
+ svgIcon: filterIcon,
647
652
  onMenuitemclick: _this2.onFilterExpand,
648
653
  on: _this2.v3 ? undefined : {
649
654
  "menuitemclick": _this2.onFilterExpand
@@ -3,6 +3,7 @@ declare type DefaultData<V> = object | ((this: V) => {});
3
3
  declare type DefaultMethods<V> = {
4
4
  [key: string]: (this: V, ...args: any[]) => any;
5
5
  };
6
+ import { SVGIcon } from '@progress/kendo-svg-icons';
6
7
  /**
7
8
  * The props of the GridColumnMenuItem component.
8
9
  */
@@ -19,6 +20,14 @@ export interface GridColumnMenuItemProps {
19
20
  * The class of the icon rendered next to the title.
20
21
  */
21
22
  iconClass: string;
23
+ /**
24
+ * Defines the name for the icon.
25
+ */
26
+ icon?: string;
27
+ /**
28
+ * Defines the svg icon in a Kendo UI for Vue theme.
29
+ */
30
+ svgIcon?: SVGIcon;
22
31
  /**
23
32
  * The selected state of the component.
24
33
  */
@@ -11,6 +11,8 @@ var GridColumnMenuItemVue2 = {
11
11
  props: {
12
12
  title: String,
13
13
  iconClass: String,
14
+ icon: String,
15
+ svgIcon: Object,
14
16
  selected: Boolean
15
17
  },
16
18
  methods: {
@@ -36,7 +38,9 @@ var GridColumnMenuItemVue2 = {
36
38
  var _a = this.$props,
37
39
  title = _a.title,
38
40
  iconClass = _a.iconClass,
39
- selected = _a.selected;
41
+ selected = _a.selected,
42
+ icon = _a.icon,
43
+ svgIcon = _a.svgIcon;
40
44
  return h("div", {
41
45
  tabindex: 0,
42
46
  attrs: this.v3 ? undefined : {
@@ -50,7 +54,14 @@ var GridColumnMenuItemVue2 = {
50
54
  onClick: this.onClick,
51
55
  "class": "k-columnmenu-item ".concat(selected ? 'k-selected' : '')
52
56
  }, [iconClass && h(Icon, {
53
- "class": "iconClass"
57
+ "class": iconClass
58
+ }), (icon || svgIcon) && h(Icon, {
59
+ name: icon,
60
+ attrs: this.v3 ? undefined : {
61
+ name: icon,
62
+ svg: svgIcon
63
+ },
64
+ svg: svgIcon
54
65
  }), title]);
55
66
  }
56
67
  };
@@ -9,6 +9,7 @@ import { GridColumnMenuItemGroup } from './GridColumnMenuItemGroup.js';
9
9
  import { normalize } from '../interfaces/GridSortSettings.js';
10
10
  import { provideLocalizationService } from '@progress/kendo-vue-intl';
11
11
  import { messages, sortAscending, sortDescending } from '../messages/main.js';
12
+ import { sortAscSmallIcon, sortDescSmallIcon } from '@progress/kendo-svg-icons';
12
13
  import { hasListener } from '@progress/kendo-vue-common';
13
14
  /**
14
15
  * @hidden
@@ -166,10 +167,12 @@ var GridColumnMenuSortVue2 = {
166
167
  title: localizationService.toLanguageString(sortAscending, messages[sortAscending]),
167
168
  attrs: _this.v3 ? undefined : {
168
169
  title: localizationService.toLanguageString(sortAscending, messages[sortAscending]),
169
- iconClass: 'k-i-sort-asc-small',
170
+ icon: 'sort-asc-small',
171
+ svgIcon: sortAscSmallIcon,
170
172
  selected: sortedAsc(currentSortIndex, sort)
171
173
  },
172
- iconClass: 'k-i-sort-asc-small',
174
+ icon: 'sort-asc-small',
175
+ svgIcon: sortAscSmallIcon,
173
176
  selected: sortedAsc(currentSortIndex, sort),
174
177
  onMenuitemclick: _this.onAscClick,
175
178
  on: _this.v3 ? undefined : {
@@ -181,10 +184,12 @@ var GridColumnMenuSortVue2 = {
181
184
  title: localizationService.toLanguageString(sortDescending, messages[sortDescending]),
182
185
  attrs: _this.v3 ? undefined : {
183
186
  title: localizationService.toLanguageString(sortDescending, messages[sortDescending]),
184
- iconClass: 'k-i-sort-desc-small',
187
+ icon: 'sort-desc-small',
188
+ svgIcon: sortDescSmallIcon,
185
189
  selected: sortedDesc(currentSortIndex, sort)
186
190
  },
187
- iconClass: 'k-i-sort-desc-small',
191
+ icon: 'sort-desc-small',
192
+ svgIcon: sortDescSmallIcon,
188
193
  selected: sortedDesc(currentSortIndex, sort),
189
194
  onMenuitemclick: _this.onDescClick,
190
195
  on: _this.v3 ? undefined : {
@@ -195,10 +200,12 @@ var GridColumnMenuSortVue2 = {
195
200
  title: localizationService.toLanguageString(sortAscending, messages[sortAscending]),
196
201
  attrs: _this.v3 ? undefined : {
197
202
  title: localizationService.toLanguageString(sortAscending, messages[sortAscending]),
198
- iconClass: 'k-i-sort-asc-small',
203
+ icon: 'sort-asc-small',
204
+ svgIcon: sortAscSmallIcon,
199
205
  selected: sortedAsc(currentSortIndex, sort)
200
206
  },
201
- iconClass: 'k-i-sort-asc-small',
207
+ icon: 'sort-asc-small',
208
+ svgIcon: sortAscSmallIcon,
202
209
  selected: sortedAsc(currentSortIndex, sort),
203
210
  onMenuitemclick: _this.onAscClick,
204
211
  on: _this.v3 ? undefined : {
@@ -208,10 +215,12 @@ var GridColumnMenuSortVue2 = {
208
215
  title: localizationService.toLanguageString(sortDescending, messages[sortDescending]),
209
216
  attrs: _this.v3 ? undefined : {
210
217
  title: localizationService.toLanguageString(sortDescending, messages[sortDescending]),
211
- iconClass: 'k-i-sort-desc-small',
218
+ icon: 'sort-desc-small',
219
+ svgIcon: sortDescSmallIcon,
212
220
  selected: sortedDesc(currentSortIndex, sort)
213
221
  },
214
- iconClass: 'k-i-sort-desc-small',
222
+ icon: 'sort-desc-small',
223
+ svgIcon: sortDescSmallIcon,
215
224
  selected: sortedDesc(currentSortIndex, sort),
216
225
  onMenuitemclick: _this.onDescClick,
217
226
  on: _this.v3 ? undefined : {
@@ -28,6 +28,7 @@ export declare class CommonDragLogic {
28
28
  dragHandler: (event: any, element: HTMLElement) => void;
29
29
  releaseHandler: (event: any) => void;
30
30
  private getColumnIndex;
31
+ private isTargetGroupingContainer;
31
32
  private getGroupIndex;
32
33
  private isValid;
33
34
  private updateDragElementClue;
@@ -16,7 +16,7 @@ var CommonDragLogic = /** @class */ (function () {
16
16
  this.currentGroup = -1;
17
17
  this.groupPanelDivElement = null;
18
18
  this.refGroupPanelDiv = function (e) {
19
- _this.groupPanelDivElement = e;
19
+ _this.groupPanelDivElement = e.children ? e.children[0] : e;
20
20
  };
21
21
  this.refDropElementClue = function (e) {
22
22
  _this.dropElementClue = e;
@@ -52,10 +52,12 @@ var CommonDragLogic = /** @class */ (function () {
52
52
  return;
53
53
  }
54
54
  _this.currentColumn = _this.getColumnIndex(event, element);
55
- _this.currentGroup = _this.getGroupIndex(event);
56
- if (_this.groupPanelDivElement && _this.startGroup >= 0) {
57
- _this.currentGroup = Math.min(_this.currentGroup, _this.groupPanelDivElement.children.length - 2);
58
- }
55
+ var groupPanelChildren = _this.groupPanelDivElement && _this.groupPanelDivElement.children;
56
+ _this.currentGroup = _this.isTargetGroupingContainer(event)
57
+ ? groupPanelChildren && groupPanelChildren.length
58
+ ? groupPanelChildren.length - 1
59
+ : 0
60
+ : _this.getGroupIndex(event);
59
61
  var invalidIndex = !_this.isValid();
60
62
  if (invalidIndex) {
61
63
  _this.currentColumn = -1;
@@ -63,7 +65,9 @@ var CommonDragLogic = /** @class */ (function () {
63
65
  }
64
66
  var targetElement = (_this.currentColumn >= 0) ?
65
67
  element.children[_this.columns[_this.currentColumn].index] :
66
- _this.groupPanelDivElement && _this.groupPanelDivElement.children[_this.currentGroup];
68
+ _this.isTargetGroupingContainer(event)
69
+ ? event.originalEvent.target
70
+ : _this.groupPanelDivElement && _this.groupPanelDivElement.children[_this.currentGroup];
67
71
  _this.updateDragElementClue(event, element, targetElement, invalidIndex);
68
72
  _this.updateDropElementClue(event, element, targetElement, invalidIndex);
69
73
  };
@@ -118,6 +122,10 @@ var CommonDragLogic = /** @class */ (function () {
118
122
  }
119
123
  return -1;
120
124
  };
125
+ CommonDragLogic.prototype.isTargetGroupingContainer = function (event) {
126
+ var target = event.originalEvent.target;
127
+ return target.className.indexOf('k-grouping-drop-container') !== -1;
128
+ };
121
129
  CommonDragLogic.prototype.getGroupIndex = function (event) {
122
130
  return getIndex(event, this.groupPanelDivElement);
123
131
  };
@@ -162,15 +170,18 @@ var CommonDragLogic = /** @class */ (function () {
162
170
  return;
163
171
  }
164
172
  var rect = targetElement.getBoundingClientRect();
173
+ var groupElement = targetElement.closest('.k-grouping-header');
174
+ var rectParent = (groupElement || targetElement).getBoundingClientRect();
165
175
  var left = rect.left + event.pageX - event.clientX - 6;
166
- if (this.currentColumn > this.startColumn || this.currentGroup > this.startGroup && this.startGroup !== -1) {
176
+ if (!this.isTargetGroupingContainer(event) && (this.currentColumn > this.startColumn
177
+ || this.currentGroup > this.startGroup && this.startGroup !== -1)) {
167
178
  left += rect.width;
168
179
  }
169
- var top = rect.top + event.pageY - event.clientY;
180
+ var top = rectParent.top + event.pageY - event.clientY;
170
181
  this.dropElementClue.visible = true;
171
182
  this.dropElementClue.top = top;
172
183
  this.dropElementClue.left = left;
173
- this.dropElementClue.height = (this.currentColumn >= 0) ? element.clientHeight : rect.height;
184
+ this.dropElementClue.height = (this.currentColumn >= 0) ? element.clientHeight : rectParent.height;
174
185
  };
175
186
  return CommonDragLogic;
176
187
  }());
@@ -9,7 +9,6 @@ import { GridFilterCell } from '../cells/GridFilterCell.js';
9
9
  import { provideLocalizationService } from '@progress/kendo-vue-intl';
10
10
  import { filterAriaLabel, messages } from '../messages/main.js';
11
11
  import { tableKeyboardNavigationTools as navigationTools, HeaderTdElement } from '@progress/kendo-vue-data-tools';
12
- import { classNames } from '@progress/kendo-vue-common';
13
12
  /**
14
13
  * @hidden
15
14
  */
@@ -32,6 +31,15 @@ var FilterRowVue2 = {
32
31
  }
33
32
  },
34
33
  methods: {
34
+ headerCellClassName: function headerCellClassName(field, locked) {
35
+ var result = "k-table-th k-header" + (locked ? ' k-grid-header-sticky' : '');
36
+ if (this.$props.sort && this.$props.sort.filter(function (descriptor) {
37
+ return descriptor.field === field;
38
+ }).length > 0) {
39
+ result += ' k-sorted';
40
+ }
41
+ return result;
42
+ },
35
43
  setFilter: function setFilter(value, operator, field, e) {
36
44
  var filters = [];
37
45
  if (value !== '' && value !== null || operator !== '') {
@@ -155,7 +163,7 @@ var FilterRowVue2 = {
155
163
  columnId: navigationTools.getFilterColumnId(column.id),
156
164
  navigatable: column.navigatable,
157
165
  style: style,
158
- "class": classNames('k-table-th', this.headerCellClassName(column.field, column.locked) || undefined),
166
+ "class": this.headerCellClassName(column.field, column.locked) || undefined,
159
167
  ariaColumnIndex: ariaAttrs.ariaColumnIndex,
160
168
  ariaLabel: ariaLabelFilter
161
169
  }, this.v3 ? function () {
@@ -176,7 +184,7 @@ var FilterRowVue2 = {
176
184
  columnId: navigationTools.getFilterColumnId(column.id),
177
185
  navigatable: column.navigatable,
178
186
  style: style,
179
- "class": classNames('k-table-th', this.headerCellClassName(column.field, column.locked) || undefined),
187
+ "class": this.headerCellClassName(column.field, column.locked) || undefined,
180
188
  ariaColumnIndex: ariaAttrs.ariaColumnIndex,
181
189
  ariaLabel: ariaLabelFilter
182
190
  });
@@ -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: 1673273952,
8
+ publishDate: 1673607254,
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
@@ -2049,6 +2049,12 @@ var GridVue2 = {
2049
2049
  on: _this3.v3 ? undefined : {
2050
2050
  "scroll": _this3.scrollHandler
2051
2051
  }
2052
+ }, [h("div", {
2053
+ "class": 'k-grid-table-wrap',
2054
+ role: "presentation",
2055
+ attrs: _this3.v3 ? undefined : {
2056
+ role: "presentation"
2057
+ }
2052
2058
  }, [h("table", {
2053
2059
  role: "none",
2054
2060
  attrs: _this3.v3 ? undefined : {
@@ -2065,7 +2071,7 @@ var GridVue2 = {
2065
2071
  },
2066
2072
  "data-keyboardnavbody": true,
2067
2073
  ref: (0, kendo_vue_common_1.setRef)(_this3, 'scrollTableBody')
2068
- }, [body])]), h("div", {
2074
+ }, [body])])]), h("div", {
2069
2075
  "class": "k-height-container",
2070
2076
  role: "presentation",
2071
2077
  attrs: _this3.v3 ? undefined : {
@@ -2105,6 +2111,12 @@ var GridVue2 = {
2105
2111
  on: _this3.v3 ? undefined : {
2106
2112
  "scroll": _this3.scrollHandler
2107
2113
  }
2114
+ }, [h("div", {
2115
+ "class": 'k-grid-table-wrap',
2116
+ role: "presentation",
2117
+ attrs: _this3.v3 ? undefined : {
2118
+ role: "presentation"
2119
+ }
2108
2120
  }, [h("table", {
2109
2121
  role: "none",
2110
2122
  attrs: _this3.v3 ? undefined : {
@@ -2121,7 +2133,7 @@ var GridVue2 = {
2121
2133
  },
2122
2134
  "data-keyboardnavbody": true,
2123
2135
  ref: (0, kendo_vue_common_1.setRef)(_this3, 'scrollTableBody')
2124
- }, [body])]), h("div", {
2136
+ }, [body])])]), h("div", {
2125
2137
  "class": "k-height-container",
2126
2138
  role: "presentation",
2127
2139
  attrs: _this3.v3 ? undefined : {
@@ -2172,6 +2184,12 @@ var GridVue2 = {
2172
2184
  on: _this3.v3 ? undefined : {
2173
2185
  "scroll": _this3.scrollHandler
2174
2186
  }
2187
+ }, [h("div", {
2188
+ "class": 'k-grid-table-wrap',
2189
+ role: "presentation",
2190
+ attrs: _this3.v3 ? undefined : {
2191
+ role: "presentation"
2192
+ }
2175
2193
  }, [h("table", {
2176
2194
  role: "none",
2177
2195
  attrs: _this3.v3 ? undefined : {
@@ -2188,7 +2206,7 @@ var GridVue2 = {
2188
2206
  },
2189
2207
  "data-keyboardnavbody": true,
2190
2208
  ref: (0, kendo_vue_common_1.setRef)(_this3, 'scrollTableBody')
2191
- }, [body])]), h("div", {
2209
+ }, [body])])]), h("div", {
2192
2210
  "class": "k-height-container",
2193
2211
  role: "presentation",
2194
2212
  attrs: _this3.v3 ? undefined : {
@@ -2228,6 +2246,12 @@ var GridVue2 = {
2228
2246
  on: _this3.v3 ? undefined : {
2229
2247
  "scroll": _this3.scrollHandler
2230
2248
  }
2249
+ }, [h("div", {
2250
+ "class": 'k-grid-table-wrap',
2251
+ role: "presentation",
2252
+ attrs: _this3.v3 ? undefined : {
2253
+ role: "presentation"
2254
+ }
2231
2255
  }, [h("table", {
2232
2256
  role: "none",
2233
2257
  attrs: _this3.v3 ? undefined : {
@@ -2244,7 +2268,7 @@ var GridVue2 = {
2244
2268
  },
2245
2269
  "data-keyboardnavbody": true,
2246
2270
  ref: (0, kendo_vue_common_1.setRef)(_this3, 'scrollTableBody')
2247
- }, [body])]), h("div", {
2271
+ }, [body])])]), h("div", {
2248
2272
  "class": "k-height-container",
2249
2273
  role: "presentation",
2250
2274
  attrs: _this3.v3 ? undefined : {
@@ -13,6 +13,7 @@ var kendo_vue_common_1 = require("@progress/kendo-vue-common");
13
13
  var kendo_vue_data_tools_1 = require("@progress/kendo-vue-data-tools");
14
14
  var main_1 = require("../messages/main");
15
15
  var kendo_vue_intl_1 = require("@progress/kendo-vue-intl");
16
+ var kendo_svg_icons_1 = require("@progress/kendo-svg-icons");
16
17
  /**
17
18
  * @hidden
18
19
  */
@@ -177,10 +178,16 @@ var GridGroupCellVue2 = {
177
178
  ariaLable: expanded ? groupCaretAriaLabelCollapseValue : groupCaretAriaLabelExpandValue
178
179
  },
179
180
  tabindex: -1,
180
- "class": expanded ? 'k-i-caret-alt-down k-icon' : 'k-i-caret-alt-right k-icon',
181
181
  title: expanded ? groupCaretAriaLabelCollapseValue : groupCaretAriaLabelExpandValue,
182
182
  ariaLable: expanded ? groupCaretAriaLabelCollapseValue : groupCaretAriaLabelExpandValue
183
- }), dataItem[field].toString()])]);
183
+ }, [h(kendo_vue_common_1.Icon, {
184
+ name: expanded ? 'caret-alt-down' : 'caret-alt-right',
185
+ attrs: this.v3 ? undefined : {
186
+ name: expanded ? 'caret-alt-down' : 'caret-alt-right',
187
+ icon: expanded ? kendo_svg_icons_1.caretAltDownIcon : kendo_svg_icons_1.caretAltRightIcon
188
+ },
189
+ icon: expanded ? kendo_svg_icons_1.caretAltDownIcon : kendo_svg_icons_1.caretAltRightIcon
190
+ })]), dataItem[field].toString()])]);
184
191
  }
185
192
  return kendo_vue_common_1.getTemplate.call(this, {
186
193
  h: h,
@@ -14,6 +14,7 @@ var kendo_vue_common_1 = require("@progress/kendo-vue-common");
14
14
  var kendo_vue_data_tools_1 = require("@progress/kendo-vue-data-tools");
15
15
  var kendo_vue_intl_1 = require("@progress/kendo-vue-intl");
16
16
  var main_2 = require("../messages/main");
17
+ var kendo_svg_icons_1 = require("@progress/kendo-svg-icons");
17
18
  /**
18
19
  * @hidden
19
20
  */
@@ -116,7 +117,6 @@ var GridHierarchyCellVue2 = {
116
117
  });
117
118
  } else if (this.$props.rowType !== 'groupHeader') {
118
119
  var expanded_1 = (0, main_1.getNestedValue)(this.$props.field, this.$props.dataItem);
119
- var className = expanded_1 ? 'k-icon k-i-minus' : 'k-icon k-i-plus';
120
120
  defaultRendering = h("td", {
121
121
  onKeydown: function onKeydown(ev) {
122
122
  _this.triggerKeydown(ev, expanded_1);
@@ -150,7 +150,6 @@ var GridHierarchyCellVue2 = {
150
150
  _this.clickHandler(e, _this.$props.dataItem, expanded_1);
151
151
  }
152
152
  },
153
- "class": className,
154
153
  href: "#",
155
154
  attrs: this.v3 ? undefined : {
156
155
  href: "#",
@@ -161,7 +160,14 @@ var GridHierarchyCellVue2 = {
161
160
  tabindex: -1,
162
161
  title: expanded_1 ? collapseMessage : expandMessage,
163
162
  "aria-label": expanded_1 ? collapseMessage : expandMessage
164
- })]);
163
+ }, [h(kendo_vue_common_1.Icon, {
164
+ name: expanded_1 ? 'minus' : 'plus',
165
+ attrs: this.v3 ? undefined : {
166
+ name: expanded_1 ? 'minus' : 'plus',
167
+ icon: expanded_1 ? kendo_svg_icons_1.minusIcon : kendo_svg_icons_1.plusIcon
168
+ },
169
+ icon: expanded_1 ? kendo_svg_icons_1.minusIcon : kendo_svg_icons_1.plusIcon
170
+ })])]);
165
171
  }
166
172
  return kendo_vue_common_1.getTemplate.call(this, {
167
173
  h: h,
@@ -93,8 +93,8 @@ var ColumnMenuVue2 = {
93
93
  handleFocus: function handleFocus(_) {
94
94
  clearTimeout(this.blurTimeout);
95
95
  },
96
- anchorClick: function anchorClick() {
97
- var that = this;
96
+ anchorClick: function anchorClick(e) {
97
+ e.preventDefault();
98
98
  this.show = !this.show;
99
99
  },
100
100
  closeMenu: function closeMenu() {
@@ -129,13 +129,11 @@ var ColumnMenuVue2 = {
129
129
  }
130
130
  }, [h("a", {
131
131
  "class": 'k-grid-header-menu k-grid-column-menu',
132
- tabindex: 0,
132
+ title: "".concat(this.$props.column.field, " ").concat(ls.toLanguageString(main_1.columnMenu, main_1.messages[main_1.columnMenu])),
133
133
  attrs: this.v3 ? undefined : {
134
- tabindex: 0,
135
134
  title: "".concat(this.$props.column.field, " ").concat(ls.toLanguageString(main_1.columnMenu, main_1.messages[main_1.columnMenu])),
136
135
  href: "#"
137
136
  },
138
- title: "".concat(this.$props.column.field, " ").concat(ls.toLanguageString(main_1.columnMenu, main_1.messages[main_1.columnMenu])),
139
137
  ref: (0, kendo_vue_common_1.setRef)(this, 'kendoAnchor', this._anchor),
140
138
  onClick: this.anchorClick,
141
139
  on: this.v3 ? undefined : {
@@ -224,9 +224,11 @@ var GridColumnMenuCheckboxFilterVue2 = {
224
224
  title: localizationService.toLanguageString(main_1.filterTitle, main_1.messages[main_1.filterTitle]),
225
225
  attrs: _this2.v3 ? undefined : {
226
226
  title: localizationService.toLanguageString(main_1.filterTitle, main_1.messages[main_1.filterTitle]),
227
- iconClass: 'k-i-filter'
227
+ icon: 'filter',
228
+ svgIcon: kendo_svg_icons_1.filterIcon
228
229
  },
229
- iconClass: 'k-i-filter',
230
+ icon: 'filter',
231
+ svgIcon: kendo_svg_icons_1.filterIcon,
230
232
  onClick: _this2.onFilterExpand,
231
233
  on: _this2.v3 ? undefined : {
232
234
  "click": _this2.onFilterExpand
@@ -385,9 +387,11 @@ var GridColumnMenuCheckboxFilterVue2 = {
385
387
  title: localizationService.toLanguageString(main_1.filterTitle, main_1.messages[main_1.filterTitle]),
386
388
  attrs: _this2.v3 ? undefined : {
387
389
  title: localizationService.toLanguageString(main_1.filterTitle, main_1.messages[main_1.filterTitle]),
388
- iconClass: 'k-i-filter'
390
+ icon: 'filter',
391
+ svgIcon: kendo_svg_icons_1.filterIcon
389
392
  },
390
- iconClass: 'k-i-filter',
393
+ icon: 'filter',
394
+ svgIcon: kendo_svg_icons_1.filterIcon,
391
395
  onClick: _this2.onFilterExpand,
392
396
  on: _this2.v3 ? undefined : {
393
397
  "click": _this2.onFilterExpand
@@ -43,6 +43,7 @@ var main_1 = require("../messages/main");
43
43
  var GridColumnMenuFilterCell_1 = require("./GridColumnMenuFilterCell");
44
44
  var GridColumnMenuFilterOperators_1 = require("./GridColumnMenuFilterOperators");
45
45
  var kendo_vue_dropdowns_1 = require("@progress/kendo-vue-dropdowns");
46
+ var kendo_svg_icons_1 = require("@progress/kendo-svg-icons");
46
47
  /**
47
48
  * @hidden
48
49
  */
@@ -360,9 +361,11 @@ var GridColumnMenuFilterVue2 = {
360
361
  title: localizationService.toLanguageString(main_1.filterTitle, main_1.messages[main_1.filterTitle]),
361
362
  attrs: _this2.v3 ? undefined : {
362
363
  title: localizationService.toLanguageString(main_1.filterTitle, main_1.messages[main_1.filterTitle]),
363
- iconClass: 'k-i-filter'
364
+ icon: 'filter',
365
+ svgIcon: kendo_svg_icons_1.filterIcon
364
366
  },
365
- iconClass: 'k-i-filter',
367
+ icon: 'filter',
368
+ svgIcon: kendo_svg_icons_1.filterIcon,
366
369
  onMenuitemclick: _this2.onFilterExpand,
367
370
  on: _this2.v3 ? undefined : {
368
371
  "menuitemclick": _this2.onFilterExpand
@@ -649,9 +652,11 @@ var GridColumnMenuFilterVue2 = {
649
652
  title: localizationService.toLanguageString(main_1.filterTitle, main_1.messages[main_1.filterTitle]),
650
653
  attrs: _this2.v3 ? undefined : {
651
654
  title: localizationService.toLanguageString(main_1.filterTitle, main_1.messages[main_1.filterTitle]),
652
- iconClass: 'k-i-filter'
655
+ icon: 'filter',
656
+ svgIcon: kendo_svg_icons_1.filterIcon
653
657
  },
654
- iconClass: 'k-i-filter',
658
+ icon: 'filter',
659
+ svgIcon: kendo_svg_icons_1.filterIcon,
655
660
  onMenuitemclick: _this2.onFilterExpand,
656
661
  on: _this2.v3 ? undefined : {
657
662
  "menuitemclick": _this2.onFilterExpand