@progress/kendo-vue-grid 3.7.4-dev.202212020747 → 3.7.4-dev.202212300853
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.
- package/README.md +1 -1
- package/dist/cdn/js/kendo-vue-grid.js +1 -1
- package/dist/es/Grid.js +4 -12
- package/dist/es/columnMenu/ColumnMenu.js +6 -3
- package/dist/es/columnMenu/GridColumnMenuCheckboxFilter.js +7 -3
- package/dist/es/columnMenu/GridColumnMenuItem.js +3 -3
- package/dist/es/drag/DragClue.js +6 -2
- package/dist/es/drag/GroupingIndicator.js +23 -9
- package/dist/es/header/HeaderRow.js +9 -6
- package/dist/es/package-metadata.js +1 -1
- package/dist/esm/Grid.js +4 -12
- package/dist/esm/columnMenu/ColumnMenu.js +6 -3
- package/dist/esm/columnMenu/GridColumnMenuCheckboxFilter.js +7 -3
- package/dist/esm/columnMenu/GridColumnMenuItem.js +3 -3
- package/dist/esm/drag/DragClue.js +6 -2
- package/dist/esm/drag/GroupingIndicator.js +23 -9
- package/dist/esm/header/HeaderRow.js +9 -6
- package/dist/esm/package-metadata.js +1 -1
- package/dist/npm/Grid.js +4 -12
- package/dist/npm/columnMenu/ColumnMenu.js +5 -2
- package/dist/npm/columnMenu/GridColumnMenuCheckboxFilter.js +6 -2
- package/dist/npm/columnMenu/GridColumnMenuItem.js +2 -2
- package/dist/npm/drag/DragClue.js +6 -2
- package/dist/npm/drag/GroupingIndicator.js +22 -8
- package/dist/npm/header/HeaderRow.js +8 -5
- package/dist/npm/package-metadata.js +1 -1
- package/package.json +14 -14
package/dist/es/Grid.js
CHANGED
|
@@ -1904,9 +1904,7 @@ var GridVue2 = {
|
|
|
1904
1904
|
"scroll": _this3.scrollHandler
|
|
1905
1905
|
}
|
|
1906
1906
|
}, [h("div", {
|
|
1907
|
-
|
|
1908
|
-
'position': 'relative'
|
|
1909
|
-
}
|
|
1907
|
+
"class": 'k-grid-table-wrap'
|
|
1910
1908
|
}, [h("table", {
|
|
1911
1909
|
role: "presentation",
|
|
1912
1910
|
attrs: _this3.v3 ? undefined : {
|
|
@@ -1953,9 +1951,7 @@ var GridVue2 = {
|
|
|
1953
1951
|
"scroll": _this3.scrollHandler
|
|
1954
1952
|
}
|
|
1955
1953
|
}, [h("div", {
|
|
1956
|
-
|
|
1957
|
-
'position': 'relative'
|
|
1958
|
-
}
|
|
1954
|
+
"class": 'k-grid-table-wrap'
|
|
1959
1955
|
}, [h("table", {
|
|
1960
1956
|
role: "presentation",
|
|
1961
1957
|
attrs: _this3.v3 ? undefined : {
|
|
@@ -2015,9 +2011,7 @@ var GridVue2 = {
|
|
|
2015
2011
|
"scroll": _this3.scrollHandler
|
|
2016
2012
|
}
|
|
2017
2013
|
}, [h("div", {
|
|
2018
|
-
|
|
2019
|
-
'position': 'relative'
|
|
2020
|
-
}
|
|
2014
|
+
"class": 'k-grid-table-wrap'
|
|
2021
2015
|
}, [h("table", {
|
|
2022
2016
|
role: "presentation",
|
|
2023
2017
|
attrs: _this3.v3 ? undefined : {
|
|
@@ -2064,9 +2058,7 @@ var GridVue2 = {
|
|
|
2064
2058
|
"scroll": _this3.scrollHandler
|
|
2065
2059
|
}
|
|
2066
2060
|
}, [h("div", {
|
|
2067
|
-
|
|
2068
|
-
'position': 'relative'
|
|
2069
|
-
}
|
|
2061
|
+
"class": 'k-grid-table-wrap'
|
|
2070
2062
|
}, [h("table", {
|
|
2071
2063
|
role: "presentation",
|
|
2072
2064
|
attrs: _this3.v3 ? undefined : {
|
|
@@ -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 inject = allVue.inject;
|
|
7
|
-
import { guid, setRef } from '@progress/kendo-vue-common';
|
|
7
|
+
import { guid, Icon, setRef } from '@progress/kendo-vue-common';
|
|
8
8
|
import { Popup } from '@progress/kendo-vue-popup';
|
|
9
9
|
import { ColumnMenuContent } from './ColumnMenuContent';
|
|
10
10
|
import { tableKeyboardNavigationTools } from '@progress/kendo-vue-data-tools';
|
|
@@ -133,8 +133,11 @@ var ColumnMenuVue2 = {
|
|
|
133
133
|
on: this.v3 ? undefined : {
|
|
134
134
|
"click": this.anchorClick
|
|
135
135
|
}
|
|
136
|
-
}, [h(
|
|
137
|
-
|
|
136
|
+
}, [h(Icon, {
|
|
137
|
+
name: 'more-vertical',
|
|
138
|
+
attrs: this.v3 ? undefined : {
|
|
139
|
+
name: 'more-vertical'
|
|
140
|
+
}
|
|
138
141
|
})]),
|
|
139
142
|
// @ts-ignore function children
|
|
140
143
|
h(Popup, {
|
|
@@ -33,7 +33,7 @@ import { Checkbox } from '@progress/kendo-vue-inputs';
|
|
|
33
33
|
import { provideLocalizationService } from '@progress/kendo-vue-intl';
|
|
34
34
|
import { messages, filterClearButton, filterSubmitButton, filterTitle, searchPlaceholder, filterCheckAll } from '../messages/main';
|
|
35
35
|
import { filterBy } from '@progress/kendo-data-query';
|
|
36
|
-
import { clone, getListeners, getTemplate, templateRendering } from '@progress/kendo-vue-common';
|
|
36
|
+
import { clone, getListeners, getTemplate, Icon, templateRendering } from '@progress/kendo-vue-common';
|
|
37
37
|
import { getNestedValue } from '../utils/main';
|
|
38
38
|
/**
|
|
39
39
|
* @hidden
|
|
@@ -145,8 +145,12 @@ var GridColumnMenuCheckboxFilterVue2 = {
|
|
|
145
145
|
"class": "k-list-filter"
|
|
146
146
|
}, [h("span", {
|
|
147
147
|
"class": "k-textbox k-input k-input-md k-rounded-md k-input-solid"
|
|
148
|
-
}, [h(
|
|
149
|
-
|
|
148
|
+
}, [h(Icon, {
|
|
149
|
+
name: 'search',
|
|
150
|
+
attrs: this.v3 ? undefined : {
|
|
151
|
+
name: 'search'
|
|
152
|
+
},
|
|
153
|
+
"class": "k-input-icon"
|
|
150
154
|
}), h("input", {
|
|
151
155
|
ref: 'searchBox',
|
|
152
156
|
placeholder: localizationService.toLanguageString(searchPlaceholder, messages[searchPlaceholder]),
|
|
@@ -3,7 +3,7 @@ import * as Vue from 'vue';
|
|
|
3
3
|
var allVue = Vue;
|
|
4
4
|
var gh = allVue.h;
|
|
5
5
|
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
6
|
-
import { Keys } from '@progress/kendo-vue-common';
|
|
6
|
+
import { Icon, Keys } from '@progress/kendo-vue-common';
|
|
7
7
|
/**
|
|
8
8
|
* @hidden
|
|
9
9
|
*/
|
|
@@ -49,8 +49,8 @@ var GridColumnMenuItemVue2 = {
|
|
|
49
49
|
},
|
|
50
50
|
onClick: this.onClick,
|
|
51
51
|
"class": "k-columnmenu-item ".concat(selected ? 'k-selected' : '')
|
|
52
|
-
}, [iconClass && h(
|
|
53
|
-
"class": "
|
|
52
|
+
}, [iconClass && h(Icon, {
|
|
53
|
+
"class": "iconClass"
|
|
54
54
|
}), title]);
|
|
55
55
|
}
|
|
56
56
|
};
|
package/dist/es/drag/DragClue.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
// @ts-ignore
|
|
2
|
+
import { Icon } from '@progress/kendo-vue-common';
|
|
2
3
|
import * as Vue from 'vue';
|
|
3
4
|
var allVue = Vue;
|
|
4
5
|
var gh = allVue.h;
|
|
@@ -38,8 +39,11 @@ var DragClueVue2 = {
|
|
|
38
39
|
}
|
|
39
40
|
}, [h("span", {
|
|
40
41
|
"class": 'k-icon k-drag-status ' + this.status + ' k-icon-with-modifier'
|
|
41
|
-
}, [h(
|
|
42
|
-
|
|
42
|
+
}, [h(Icon, {
|
|
43
|
+
name: "modifier",
|
|
44
|
+
attrs: this.v3 ? undefined : {
|
|
45
|
+
name: "modifier"
|
|
46
|
+
}
|
|
43
47
|
})]), this.innerText]);
|
|
44
48
|
}
|
|
45
49
|
};
|
|
@@ -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 { Draggable, getRef, setRef } from '@progress/kendo-vue-common';
|
|
7
|
+
import { Draggable, getRef, Icon, setRef } from '@progress/kendo-vue-common';
|
|
8
8
|
/**
|
|
9
9
|
* @hidden
|
|
10
10
|
*/
|
|
@@ -77,8 +77,12 @@ var GroupingIndicatorVue2 = {
|
|
|
77
77
|
ref: setRef(_this, 'indicatorContainer')
|
|
78
78
|
}, [h("div", {
|
|
79
79
|
"class": "k-chip k-chip-lg k-rounded-md k-chip-solid k-chip-solid-base"
|
|
80
|
-
}, [h(
|
|
81
|
-
|
|
80
|
+
}, [h(Icon, {
|
|
81
|
+
name: 'sort-' + _this.$props.dir + '-small',
|
|
82
|
+
attrs: _this.v3 ? undefined : {
|
|
83
|
+
name: 'sort-' + _this.$props.dir + '-small'
|
|
84
|
+
},
|
|
85
|
+
"class": 'k-chip-icon'
|
|
82
86
|
}), h("span", {
|
|
83
87
|
"class": "k-chip-content",
|
|
84
88
|
tabindex: -1,
|
|
@@ -103,16 +107,23 @@ var GroupingIndicatorVue2 = {
|
|
|
103
107
|
on: _this.v3 ? undefined : {
|
|
104
108
|
"click": _this.groupRemove
|
|
105
109
|
}
|
|
106
|
-
}, [h(
|
|
107
|
-
|
|
110
|
+
}, [h(Icon, {
|
|
111
|
+
name: "x",
|
|
112
|
+
attrs: _this.v3 ? undefined : {
|
|
113
|
+
name: "x"
|
|
114
|
+
}
|
|
108
115
|
})])])])])];
|
|
109
116
|
} : [h("div", {
|
|
110
117
|
"class": "k-indicator-container",
|
|
111
118
|
ref: setRef(_this, 'indicatorContainer')
|
|
112
119
|
}, [h("div", {
|
|
113
120
|
"class": "k-chip k-chip-lg k-rounded-md k-chip-solid k-chip-solid-base"
|
|
114
|
-
}, [h(
|
|
115
|
-
|
|
121
|
+
}, [h(Icon, {
|
|
122
|
+
name: 'sort-' + _this.$props.dir + '-small',
|
|
123
|
+
attrs: _this.v3 ? undefined : {
|
|
124
|
+
name: 'sort-' + _this.$props.dir + '-small'
|
|
125
|
+
},
|
|
126
|
+
"class": 'k-chip-icon'
|
|
116
127
|
}), h("span", {
|
|
117
128
|
"class": "k-chip-content",
|
|
118
129
|
tabindex: -1,
|
|
@@ -137,8 +148,11 @@ var GroupingIndicatorVue2 = {
|
|
|
137
148
|
on: _this.v3 ? undefined : {
|
|
138
149
|
"click": _this.groupRemove
|
|
139
150
|
}
|
|
140
|
-
}, [h(
|
|
141
|
-
|
|
151
|
+
}, [h(Icon, {
|
|
152
|
+
name: "x",
|
|
153
|
+
attrs: _this.v3 ? undefined : {
|
|
154
|
+
name: "x"
|
|
155
|
+
}
|
|
142
156
|
})])])])])])
|
|
143
157
|
);
|
|
144
158
|
}
|
|
@@ -8,7 +8,7 @@ import { ColumnResizer } from '../drag/ColumnResizer';
|
|
|
8
8
|
import { ColumnDraggable } from '../drag/ColumnDraggable';
|
|
9
9
|
import { GridHeaderCell } from './GridHeaderCell';
|
|
10
10
|
import { ColumnMenu } from '../columnMenu/ColumnMenu';
|
|
11
|
-
import { templateRendering, hasListener, getListeners, Keys, noop } from '@progress/kendo-vue-common';
|
|
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
13
|
/**
|
|
14
14
|
* @hidden
|
|
@@ -195,22 +195,25 @@ var HeaderRowVue2 = {
|
|
|
195
195
|
}) : -1;
|
|
196
196
|
var sortDir = sortIndex >= 0 ? this.$props.sort[sortIndex].dir || 'none' : 'none';
|
|
197
197
|
var sortIconRenderer = function sortIconRenderer(iconSortIndex) {
|
|
198
|
-
if (!
|
|
198
|
+
if (!this.$props.sort) {
|
|
199
199
|
return null;
|
|
200
200
|
}
|
|
201
201
|
return iconSortIndex >= 0 && [h("span", {
|
|
202
202
|
key: 1,
|
|
203
203
|
"class": 'k-sort-icon'
|
|
204
|
-
}, [h(
|
|
205
|
-
|
|
206
|
-
|
|
204
|
+
}, [h(Icon, {
|
|
205
|
+
name: 'sort-' + this.$props.sort[iconSortIndex].dir + '-small',
|
|
206
|
+
attrs: this.v3 ? undefined : {
|
|
207
|
+
name: 'sort-' + this.$props.sort[iconSortIndex].dir + '-small'
|
|
208
|
+
}
|
|
209
|
+
})]), this.$props.sort.length > 1 && h("span", {
|
|
207
210
|
key: 2,
|
|
208
211
|
"class": 'k-sort-icon'
|
|
209
212
|
}, [h("span", {
|
|
210
213
|
"class": "k-sort-order"
|
|
211
214
|
}, [iconSortIndex + 1])])];
|
|
212
215
|
};
|
|
213
|
-
var sortIcon = sortIconRenderer(sortIndex);
|
|
216
|
+
var sortIcon = sortIconRenderer.call(this, sortIndex);
|
|
214
217
|
var className = (column.kFirst ? 'k-first ' : '') + this.cellClass(column.field, column.headerClassName, column.locked);
|
|
215
218
|
var columnMenu = column.columnMenu || column.columnMenu === false ? column.columnMenu : this.$props.columnMenu;
|
|
216
219
|
var columnMenuRender = !columnMenu || typeof columnMenu === 'boolean' ? !!columnMenu : this.getTemplate(columnMenu);
|
|
@@ -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:
|
|
8
|
+
publishDate: 1672389995,
|
|
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/esm/Grid.js
CHANGED
|
@@ -1904,9 +1904,7 @@ var GridVue2 = {
|
|
|
1904
1904
|
"scroll": _this3.scrollHandler
|
|
1905
1905
|
}
|
|
1906
1906
|
}, [h("div", {
|
|
1907
|
-
|
|
1908
|
-
'position': 'relative'
|
|
1909
|
-
}
|
|
1907
|
+
"class": 'k-grid-table-wrap'
|
|
1910
1908
|
}, [h("table", {
|
|
1911
1909
|
role: "presentation",
|
|
1912
1910
|
attrs: _this3.v3 ? undefined : {
|
|
@@ -1953,9 +1951,7 @@ var GridVue2 = {
|
|
|
1953
1951
|
"scroll": _this3.scrollHandler
|
|
1954
1952
|
}
|
|
1955
1953
|
}, [h("div", {
|
|
1956
|
-
|
|
1957
|
-
'position': 'relative'
|
|
1958
|
-
}
|
|
1954
|
+
"class": 'k-grid-table-wrap'
|
|
1959
1955
|
}, [h("table", {
|
|
1960
1956
|
role: "presentation",
|
|
1961
1957
|
attrs: _this3.v3 ? undefined : {
|
|
@@ -2015,9 +2011,7 @@ var GridVue2 = {
|
|
|
2015
2011
|
"scroll": _this3.scrollHandler
|
|
2016
2012
|
}
|
|
2017
2013
|
}, [h("div", {
|
|
2018
|
-
|
|
2019
|
-
'position': 'relative'
|
|
2020
|
-
}
|
|
2014
|
+
"class": 'k-grid-table-wrap'
|
|
2021
2015
|
}, [h("table", {
|
|
2022
2016
|
role: "presentation",
|
|
2023
2017
|
attrs: _this3.v3 ? undefined : {
|
|
@@ -2064,9 +2058,7 @@ var GridVue2 = {
|
|
|
2064
2058
|
"scroll": _this3.scrollHandler
|
|
2065
2059
|
}
|
|
2066
2060
|
}, [h("div", {
|
|
2067
|
-
|
|
2068
|
-
'position': 'relative'
|
|
2069
|
-
}
|
|
2061
|
+
"class": 'k-grid-table-wrap'
|
|
2070
2062
|
}, [h("table", {
|
|
2071
2063
|
role: "presentation",
|
|
2072
2064
|
attrs: _this3.v3 ? undefined : {
|
|
@@ -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 inject = allVue.inject;
|
|
7
|
-
import { guid, setRef } from '@progress/kendo-vue-common';
|
|
7
|
+
import { guid, Icon, setRef } from '@progress/kendo-vue-common';
|
|
8
8
|
import { Popup } from '@progress/kendo-vue-popup';
|
|
9
9
|
import { ColumnMenuContent } from './ColumnMenuContent.js';
|
|
10
10
|
import { tableKeyboardNavigationTools } from '@progress/kendo-vue-data-tools';
|
|
@@ -133,8 +133,11 @@ var ColumnMenuVue2 = {
|
|
|
133
133
|
on: this.v3 ? undefined : {
|
|
134
134
|
"click": this.anchorClick
|
|
135
135
|
}
|
|
136
|
-
}, [h(
|
|
137
|
-
|
|
136
|
+
}, [h(Icon, {
|
|
137
|
+
name: 'more-vertical',
|
|
138
|
+
attrs: this.v3 ? undefined : {
|
|
139
|
+
name: 'more-vertical'
|
|
140
|
+
}
|
|
138
141
|
})]),
|
|
139
142
|
// @ts-ignore function children
|
|
140
143
|
h(Popup, {
|
|
@@ -33,7 +33,7 @@ import { Checkbox } from '@progress/kendo-vue-inputs';
|
|
|
33
33
|
import { provideLocalizationService } from '@progress/kendo-vue-intl';
|
|
34
34
|
import { messages, filterClearButton, filterSubmitButton, filterTitle, searchPlaceholder, filterCheckAll } from '../messages/main.js';
|
|
35
35
|
import { filterBy } from '@progress/kendo-data-query';
|
|
36
|
-
import { clone, getListeners, getTemplate, templateRendering } from '@progress/kendo-vue-common';
|
|
36
|
+
import { clone, getListeners, getTemplate, Icon, templateRendering } from '@progress/kendo-vue-common';
|
|
37
37
|
import { getNestedValue } from '../utils/main.js';
|
|
38
38
|
/**
|
|
39
39
|
* @hidden
|
|
@@ -145,8 +145,12 @@ var GridColumnMenuCheckboxFilterVue2 = {
|
|
|
145
145
|
"class": "k-list-filter"
|
|
146
146
|
}, [h("span", {
|
|
147
147
|
"class": "k-textbox k-input k-input-md k-rounded-md k-input-solid"
|
|
148
|
-
}, [h(
|
|
149
|
-
|
|
148
|
+
}, [h(Icon, {
|
|
149
|
+
name: 'search',
|
|
150
|
+
attrs: this.v3 ? undefined : {
|
|
151
|
+
name: 'search'
|
|
152
|
+
},
|
|
153
|
+
"class": "k-input-icon"
|
|
150
154
|
}), h("input", {
|
|
151
155
|
ref: 'searchBox',
|
|
152
156
|
placeholder: localizationService.toLanguageString(searchPlaceholder, messages[searchPlaceholder]),
|
|
@@ -3,7 +3,7 @@ import * as Vue from 'vue';
|
|
|
3
3
|
var allVue = Vue;
|
|
4
4
|
var gh = allVue.h;
|
|
5
5
|
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
6
|
-
import { Keys } from '@progress/kendo-vue-common';
|
|
6
|
+
import { Icon, Keys } from '@progress/kendo-vue-common';
|
|
7
7
|
/**
|
|
8
8
|
* @hidden
|
|
9
9
|
*/
|
|
@@ -49,8 +49,8 @@ var GridColumnMenuItemVue2 = {
|
|
|
49
49
|
},
|
|
50
50
|
onClick: this.onClick,
|
|
51
51
|
"class": "k-columnmenu-item ".concat(selected ? 'k-selected' : '')
|
|
52
|
-
}, [iconClass && h(
|
|
53
|
-
"class": "
|
|
52
|
+
}, [iconClass && h(Icon, {
|
|
53
|
+
"class": "iconClass"
|
|
54
54
|
}), title]);
|
|
55
55
|
}
|
|
56
56
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
// @ts-ignore
|
|
2
|
+
import { Icon } from '@progress/kendo-vue-common';
|
|
2
3
|
import * as Vue from 'vue';
|
|
3
4
|
var allVue = Vue;
|
|
4
5
|
var gh = allVue.h;
|
|
@@ -38,8 +39,11 @@ var DragClueVue2 = {
|
|
|
38
39
|
}
|
|
39
40
|
}, [h("span", {
|
|
40
41
|
"class": 'k-icon k-drag-status ' + this.status + ' k-icon-with-modifier'
|
|
41
|
-
}, [h(
|
|
42
|
-
|
|
42
|
+
}, [h(Icon, {
|
|
43
|
+
name: "modifier",
|
|
44
|
+
attrs: this.v3 ? undefined : {
|
|
45
|
+
name: "modifier"
|
|
46
|
+
}
|
|
43
47
|
})]), this.innerText]);
|
|
44
48
|
}
|
|
45
49
|
};
|
|
@@ -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 { Draggable, getRef, setRef } from '@progress/kendo-vue-common';
|
|
7
|
+
import { Draggable, getRef, Icon, setRef } from '@progress/kendo-vue-common';
|
|
8
8
|
/**
|
|
9
9
|
* @hidden
|
|
10
10
|
*/
|
|
@@ -77,8 +77,12 @@ var GroupingIndicatorVue2 = {
|
|
|
77
77
|
ref: setRef(_this, 'indicatorContainer')
|
|
78
78
|
}, [h("div", {
|
|
79
79
|
"class": "k-chip k-chip-lg k-rounded-md k-chip-solid k-chip-solid-base"
|
|
80
|
-
}, [h(
|
|
81
|
-
|
|
80
|
+
}, [h(Icon, {
|
|
81
|
+
name: 'sort-' + _this.$props.dir + '-small',
|
|
82
|
+
attrs: _this.v3 ? undefined : {
|
|
83
|
+
name: 'sort-' + _this.$props.dir + '-small'
|
|
84
|
+
},
|
|
85
|
+
"class": 'k-chip-icon'
|
|
82
86
|
}), h("span", {
|
|
83
87
|
"class": "k-chip-content",
|
|
84
88
|
tabindex: -1,
|
|
@@ -103,16 +107,23 @@ var GroupingIndicatorVue2 = {
|
|
|
103
107
|
on: _this.v3 ? undefined : {
|
|
104
108
|
"click": _this.groupRemove
|
|
105
109
|
}
|
|
106
|
-
}, [h(
|
|
107
|
-
|
|
110
|
+
}, [h(Icon, {
|
|
111
|
+
name: "x",
|
|
112
|
+
attrs: _this.v3 ? undefined : {
|
|
113
|
+
name: "x"
|
|
114
|
+
}
|
|
108
115
|
})])])])])];
|
|
109
116
|
} : [h("div", {
|
|
110
117
|
"class": "k-indicator-container",
|
|
111
118
|
ref: setRef(_this, 'indicatorContainer')
|
|
112
119
|
}, [h("div", {
|
|
113
120
|
"class": "k-chip k-chip-lg k-rounded-md k-chip-solid k-chip-solid-base"
|
|
114
|
-
}, [h(
|
|
115
|
-
|
|
121
|
+
}, [h(Icon, {
|
|
122
|
+
name: 'sort-' + _this.$props.dir + '-small',
|
|
123
|
+
attrs: _this.v3 ? undefined : {
|
|
124
|
+
name: 'sort-' + _this.$props.dir + '-small'
|
|
125
|
+
},
|
|
126
|
+
"class": 'k-chip-icon'
|
|
116
127
|
}), h("span", {
|
|
117
128
|
"class": "k-chip-content",
|
|
118
129
|
tabindex: -1,
|
|
@@ -137,8 +148,11 @@ var GroupingIndicatorVue2 = {
|
|
|
137
148
|
on: _this.v3 ? undefined : {
|
|
138
149
|
"click": _this.groupRemove
|
|
139
150
|
}
|
|
140
|
-
}, [h(
|
|
141
|
-
|
|
151
|
+
}, [h(Icon, {
|
|
152
|
+
name: "x",
|
|
153
|
+
attrs: _this.v3 ? undefined : {
|
|
154
|
+
name: "x"
|
|
155
|
+
}
|
|
142
156
|
})])])])])])
|
|
143
157
|
);
|
|
144
158
|
}
|
|
@@ -8,7 +8,7 @@ import { ColumnResizer } from '../drag/ColumnResizer.js';
|
|
|
8
8
|
import { ColumnDraggable } from '../drag/ColumnDraggable.js';
|
|
9
9
|
import { GridHeaderCell } from './GridHeaderCell.js';
|
|
10
10
|
import { ColumnMenu } from '../columnMenu/ColumnMenu.js';
|
|
11
|
-
import { templateRendering, hasListener, getListeners, Keys, noop } from '@progress/kendo-vue-common';
|
|
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.js';
|
|
13
13
|
/**
|
|
14
14
|
* @hidden
|
|
@@ -195,22 +195,25 @@ var HeaderRowVue2 = {
|
|
|
195
195
|
}) : -1;
|
|
196
196
|
var sortDir = sortIndex >= 0 ? this.$props.sort[sortIndex].dir || 'none' : 'none';
|
|
197
197
|
var sortIconRenderer = function sortIconRenderer(iconSortIndex) {
|
|
198
|
-
if (!
|
|
198
|
+
if (!this.$props.sort) {
|
|
199
199
|
return null;
|
|
200
200
|
}
|
|
201
201
|
return iconSortIndex >= 0 && [h("span", {
|
|
202
202
|
key: 1,
|
|
203
203
|
"class": 'k-sort-icon'
|
|
204
|
-
}, [h(
|
|
205
|
-
|
|
206
|
-
|
|
204
|
+
}, [h(Icon, {
|
|
205
|
+
name: 'sort-' + this.$props.sort[iconSortIndex].dir + '-small',
|
|
206
|
+
attrs: this.v3 ? undefined : {
|
|
207
|
+
name: 'sort-' + this.$props.sort[iconSortIndex].dir + '-small'
|
|
208
|
+
}
|
|
209
|
+
})]), this.$props.sort.length > 1 && h("span", {
|
|
207
210
|
key: 2,
|
|
208
211
|
"class": 'k-sort-icon'
|
|
209
212
|
}, [h("span", {
|
|
210
213
|
"class": "k-sort-order"
|
|
211
214
|
}, [iconSortIndex + 1])])];
|
|
212
215
|
};
|
|
213
|
-
var sortIcon = sortIconRenderer(sortIndex);
|
|
216
|
+
var sortIcon = sortIconRenderer.call(this, sortIndex);
|
|
214
217
|
var className = (column.kFirst ? 'k-first ' : '') + this.cellClass(column.field, column.headerClassName, column.locked);
|
|
215
218
|
var columnMenu = column.columnMenu || column.columnMenu === false ? column.columnMenu : this.$props.columnMenu;
|
|
216
219
|
var columnMenuRender = !columnMenu || typeof columnMenu === 'boolean' ? !!columnMenu : this.getTemplate(columnMenu);
|
|
@@ -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:
|
|
8
|
+
publishDate: 1672389995,
|
|
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
|
@@ -1910,9 +1910,7 @@ var GridVue2 = {
|
|
|
1910
1910
|
"scroll": _this3.scrollHandler
|
|
1911
1911
|
}
|
|
1912
1912
|
}, [h("div", {
|
|
1913
|
-
|
|
1914
|
-
'position': 'relative'
|
|
1915
|
-
}
|
|
1913
|
+
"class": 'k-grid-table-wrap'
|
|
1916
1914
|
}, [h("table", {
|
|
1917
1915
|
role: "presentation",
|
|
1918
1916
|
attrs: _this3.v3 ? undefined : {
|
|
@@ -1959,9 +1957,7 @@ var GridVue2 = {
|
|
|
1959
1957
|
"scroll": _this3.scrollHandler
|
|
1960
1958
|
}
|
|
1961
1959
|
}, [h("div", {
|
|
1962
|
-
|
|
1963
|
-
'position': 'relative'
|
|
1964
|
-
}
|
|
1960
|
+
"class": 'k-grid-table-wrap'
|
|
1965
1961
|
}, [h("table", {
|
|
1966
1962
|
role: "presentation",
|
|
1967
1963
|
attrs: _this3.v3 ? undefined : {
|
|
@@ -2021,9 +2017,7 @@ var GridVue2 = {
|
|
|
2021
2017
|
"scroll": _this3.scrollHandler
|
|
2022
2018
|
}
|
|
2023
2019
|
}, [h("div", {
|
|
2024
|
-
|
|
2025
|
-
'position': 'relative'
|
|
2026
|
-
}
|
|
2020
|
+
"class": 'k-grid-table-wrap'
|
|
2027
2021
|
}, [h("table", {
|
|
2028
2022
|
role: "presentation",
|
|
2029
2023
|
attrs: _this3.v3 ? undefined : {
|
|
@@ -2070,9 +2064,7 @@ var GridVue2 = {
|
|
|
2070
2064
|
"scroll": _this3.scrollHandler
|
|
2071
2065
|
}
|
|
2072
2066
|
}, [h("div", {
|
|
2073
|
-
|
|
2074
|
-
'position': 'relative'
|
|
2075
|
-
}
|
|
2067
|
+
"class": 'k-grid-table-wrap'
|
|
2076
2068
|
}, [h("table", {
|
|
2077
2069
|
role: "presentation",
|
|
2078
2070
|
attrs: _this3.v3 ? undefined : {
|
|
@@ -139,8 +139,11 @@ var ColumnMenuVue2 = {
|
|
|
139
139
|
on: this.v3 ? undefined : {
|
|
140
140
|
"click": this.anchorClick
|
|
141
141
|
}
|
|
142
|
-
}, [h(
|
|
143
|
-
|
|
142
|
+
}, [h(kendo_vue_common_1.Icon, {
|
|
143
|
+
name: 'more-vertical',
|
|
144
|
+
attrs: this.v3 ? undefined : {
|
|
145
|
+
name: 'more-vertical'
|
|
146
|
+
}
|
|
144
147
|
})]),
|
|
145
148
|
// @ts-ignore function children
|
|
146
149
|
h(kendo_vue_popup_1.Popup, {
|
|
@@ -151,8 +151,12 @@ var GridColumnMenuCheckboxFilterVue2 = {
|
|
|
151
151
|
"class": "k-list-filter"
|
|
152
152
|
}, [h("span", {
|
|
153
153
|
"class": "k-textbox k-input k-input-md k-rounded-md k-input-solid"
|
|
154
|
-
}, [h(
|
|
155
|
-
|
|
154
|
+
}, [h(kendo_vue_common_1.Icon, {
|
|
155
|
+
name: 'search',
|
|
156
|
+
attrs: this.v3 ? undefined : {
|
|
157
|
+
name: 'search'
|
|
158
|
+
},
|
|
159
|
+
"class": "k-input-icon"
|
|
156
160
|
}), h("input", {
|
|
157
161
|
ref: 'searchBox',
|
|
158
162
|
placeholder: localizationService.toLanguageString(main_1.searchPlaceholder, main_1.messages[main_1.searchPlaceholder]),
|
|
@@ -55,8 +55,8 @@ var GridColumnMenuItemVue2 = {
|
|
|
55
55
|
},
|
|
56
56
|
onClick: this.onClick,
|
|
57
57
|
"class": "k-columnmenu-item ".concat(selected ? 'k-selected' : '')
|
|
58
|
-
}, [iconClass && h(
|
|
59
|
-
"class": "
|
|
58
|
+
}, [iconClass && h(kendo_vue_common_1.Icon, {
|
|
59
|
+
"class": "iconClass"
|
|
60
60
|
}), title]);
|
|
61
61
|
}
|
|
62
62
|
};
|
|
@@ -5,6 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.DragClueVue2 = exports.DragClue = void 0;
|
|
7
7
|
// @ts-ignore
|
|
8
|
+
var kendo_vue_common_1 = require("@progress/kendo-vue-common");
|
|
8
9
|
var Vue = require("vue");
|
|
9
10
|
var allVue = Vue;
|
|
10
11
|
var gh = allVue.h;
|
|
@@ -44,8 +45,11 @@ var DragClueVue2 = {
|
|
|
44
45
|
}
|
|
45
46
|
}, [h("span", {
|
|
46
47
|
"class": 'k-icon k-drag-status ' + this.status + ' k-icon-with-modifier'
|
|
47
|
-
}, [h(
|
|
48
|
-
|
|
48
|
+
}, [h(kendo_vue_common_1.Icon, {
|
|
49
|
+
name: "modifier",
|
|
50
|
+
attrs: this.v3 ? undefined : {
|
|
51
|
+
name: "modifier"
|
|
52
|
+
}
|
|
49
53
|
})]), this.innerText]);
|
|
50
54
|
}
|
|
51
55
|
};
|