@syncfusion/ej2-vue-grids 19.4.55 → 20.1.48
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/CHANGELOG.md +17 -0
- package/dist/ej2-vue-grids.umd.min.js +1 -1
- package/dist/es6/ej2-vue-grids.es2015.js +169 -13
- package/dist/es6/ej2-vue-grids.es2015.js.map +1 -1
- package/dist/es6/ej2-vue-grids.es5.js +114 -12
- package/dist/es6/ej2-vue-grids.es5.js.map +1 -1
- package/dist/global/ej2-vue-grids.min.js +2 -2
- package/package.json +14 -8
- package/src/grid/aggregate-columns.directive.d.ts +3 -1
- package/src/grid/aggregate-columns.directive.js +24 -2
- package/src/grid/aggregates.directive.d.ts +3 -1
- package/src/grid/aggregates.directive.js +24 -2
- package/src/grid/columns.directive.d.ts +3 -1
- package/src/grid/columns.directive.js +24 -2
- package/src/grid/grid.component.d.ts +1 -0
- package/src/grid/grid.component.js +10 -1
- package/src/grid/stacked-column.directive.d.ts +3 -1
- package/src/grid/stacked-column.directive.js +24 -2
- package/src/pager/pager.component.d.ts +1 -0
- package/src/pager/pager.component.js +10 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
### Grid
|
|
6
|
+
|
|
7
|
+
#### Bug Fixes
|
|
8
|
+
|
|
9
|
+
- `#I368016` - Foreign key column editing and filtering is not working properly with `virtualization` issue has been fixed.
|
|
10
|
+
- `#I369186` - Aggregate value refresh issue in child grid has been fixed.
|
|
11
|
+
|
|
12
|
+
## 19.4.55 (2022-03-08)
|
|
13
|
+
|
|
14
|
+
### Grid
|
|
15
|
+
|
|
16
|
+
#### Bug Fixes
|
|
17
|
+
|
|
18
|
+
- `#I367001` - Inline editing is not working properly when `RowDragandDrop` with frozen columns is fixed.
|
|
19
|
+
- `#I368530` - Aggregates not shown when using `expandAll` and `collapseAll` in grouping issue has been fixed.
|
|
20
|
+
- `#I368787` - `Autofill` removing decimal values in number type columns issue has been fixed.
|
|
21
|
+
|
|
5
22
|
## 19.4.54 (2022-03-01)
|
|
6
23
|
|
|
7
24
|
### Grid
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-vue-grids.umd.min.js
|
|
3
|
-
* version :
|
|
3
|
+
* version : 20.1.48
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Grid, Pager } from '@syncfusion/ej2-grids';
|
|
2
2
|
import { ComponentBase, EJComponentDecorator, allVue, getProps, gh } from '@syncfusion/ej2-vue-base';
|
|
3
3
|
import { Vue } from 'vue-class-component';
|
|
4
|
-
import Vue$1 from 'vue';
|
|
5
4
|
import { getValue, isNullOrUndefined, isUndefined } from '@syncfusion/ej2-base';
|
|
5
|
+
import Vue$1 from 'vue';
|
|
6
6
|
|
|
7
7
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
8
8
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -10,6 +10,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
|
10
10
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
11
11
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
12
12
|
};
|
|
13
|
+
// {{VueImport}}
|
|
13
14
|
const isExecute = gh ? false : true;
|
|
14
15
|
let vueImport;
|
|
15
16
|
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
@@ -18,16 +19,47 @@ if (!isExecute || parseInt(allVue.version) < 3) {
|
|
|
18
19
|
else {
|
|
19
20
|
vueImport = Vue$1;
|
|
20
21
|
}
|
|
21
|
-
let StackedColumnsDirective =
|
|
22
|
-
|
|
22
|
+
let StackedColumnsDirective =
|
|
23
|
+
/* Start Options({
|
|
24
|
+
inject: {
|
|
25
|
+
custom: {
|
|
26
|
+
default: null
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}) End */
|
|
30
|
+
class StackedColumnsDirective extends vueImport {
|
|
31
|
+
constructor() {
|
|
32
|
+
super(arguments);
|
|
33
|
+
}
|
|
34
|
+
render(createElement) {
|
|
35
|
+
if (gh) {
|
|
36
|
+
let h = gh || createElement;
|
|
37
|
+
let slots = null;
|
|
38
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
39
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
40
|
+
}
|
|
41
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
42
|
+
}
|
|
23
43
|
return;
|
|
24
44
|
}
|
|
45
|
+
updated() {
|
|
46
|
+
if (gh && this.custom) {
|
|
47
|
+
this.custom();
|
|
48
|
+
}
|
|
49
|
+
}
|
|
25
50
|
getTag() {
|
|
26
51
|
return 'e-stacked-columns';
|
|
27
52
|
}
|
|
28
53
|
};
|
|
29
54
|
StackedColumnsDirective = __decorate([
|
|
30
55
|
EJComponentDecorator({}, isExecute)
|
|
56
|
+
/* Start Options({
|
|
57
|
+
inject: {
|
|
58
|
+
custom: {
|
|
59
|
+
default: null
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}) End */
|
|
31
63
|
], StackedColumnsDirective);
|
|
32
64
|
const StackedColumnsPlugin = {
|
|
33
65
|
name: 'e-stacked-columns',
|
|
@@ -59,6 +91,7 @@ var __decorate$1 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
59
91
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
60
92
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
61
93
|
};
|
|
94
|
+
// {{VueImport}}
|
|
62
95
|
const isExecute$1 = gh ? false : true;
|
|
63
96
|
let vueImport$1;
|
|
64
97
|
if (!isExecute$1 || parseInt(allVue.version) < 3) {
|
|
@@ -67,16 +100,47 @@ if (!isExecute$1 || parseInt(allVue.version) < 3) {
|
|
|
67
100
|
else {
|
|
68
101
|
vueImport$1 = Vue$1;
|
|
69
102
|
}
|
|
70
|
-
let ColumnsDirective =
|
|
71
|
-
|
|
103
|
+
let ColumnsDirective =
|
|
104
|
+
/* Start Options({
|
|
105
|
+
inject: {
|
|
106
|
+
custom: {
|
|
107
|
+
default: null
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}) End */
|
|
111
|
+
class ColumnsDirective extends vueImport$1 {
|
|
112
|
+
constructor() {
|
|
113
|
+
super(arguments);
|
|
114
|
+
}
|
|
115
|
+
render(createElement) {
|
|
116
|
+
if (gh) {
|
|
117
|
+
let h = gh || createElement;
|
|
118
|
+
let slots = null;
|
|
119
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
120
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
121
|
+
}
|
|
122
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
123
|
+
}
|
|
72
124
|
return;
|
|
73
125
|
}
|
|
126
|
+
updated() {
|
|
127
|
+
if (gh && this.custom) {
|
|
128
|
+
this.custom();
|
|
129
|
+
}
|
|
130
|
+
}
|
|
74
131
|
getTag() {
|
|
75
132
|
return 'e-columns';
|
|
76
133
|
}
|
|
77
134
|
};
|
|
78
135
|
ColumnsDirective = __decorate$1([
|
|
79
136
|
EJComponentDecorator({}, isExecute$1)
|
|
137
|
+
/* Start Options({
|
|
138
|
+
inject: {
|
|
139
|
+
custom: {
|
|
140
|
+
default: null
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}) End */
|
|
80
144
|
], ColumnsDirective);
|
|
81
145
|
const ColumnsPlugin = {
|
|
82
146
|
name: 'e-columns',
|
|
@@ -120,6 +184,7 @@ var __decorate$2 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
120
184
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
121
185
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
122
186
|
};
|
|
187
|
+
// {{VueImport}}
|
|
123
188
|
const isExecute$2 = gh ? false : true;
|
|
124
189
|
let vueImport$2;
|
|
125
190
|
if (!isExecute$2 || parseInt(allVue.version) < 3) {
|
|
@@ -128,16 +193,47 @@ if (!isExecute$2 || parseInt(allVue.version) < 3) {
|
|
|
128
193
|
else {
|
|
129
194
|
vueImport$2 = Vue$1;
|
|
130
195
|
}
|
|
131
|
-
let AggregateColumnsDirective =
|
|
132
|
-
|
|
196
|
+
let AggregateColumnsDirective =
|
|
197
|
+
/* Start Options({
|
|
198
|
+
inject: {
|
|
199
|
+
custom: {
|
|
200
|
+
default: null
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}) End */
|
|
204
|
+
class AggregateColumnsDirective extends vueImport$2 {
|
|
205
|
+
constructor() {
|
|
206
|
+
super(arguments);
|
|
207
|
+
}
|
|
208
|
+
render(createElement) {
|
|
209
|
+
if (gh) {
|
|
210
|
+
let h = gh || createElement;
|
|
211
|
+
let slots = null;
|
|
212
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
213
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
214
|
+
}
|
|
215
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
216
|
+
}
|
|
133
217
|
return;
|
|
134
218
|
}
|
|
219
|
+
updated() {
|
|
220
|
+
if (gh && this.custom) {
|
|
221
|
+
this.custom();
|
|
222
|
+
}
|
|
223
|
+
}
|
|
135
224
|
getTag() {
|
|
136
225
|
return 'e-columns';
|
|
137
226
|
}
|
|
138
227
|
};
|
|
139
228
|
AggregateColumnsDirective = __decorate$2([
|
|
140
229
|
EJComponentDecorator({}, isExecute$2)
|
|
230
|
+
/* Start Options({
|
|
231
|
+
inject: {
|
|
232
|
+
custom: {
|
|
233
|
+
default: null
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
}) End */
|
|
141
237
|
], AggregateColumnsDirective);
|
|
142
238
|
const AggregateColumnsPlugin = {
|
|
143
239
|
name: 'e-columns',
|
|
@@ -187,6 +283,7 @@ var __decorate$3 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
187
283
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
188
284
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
189
285
|
};
|
|
286
|
+
// {{VueImport}}
|
|
190
287
|
const isExecute$3 = gh ? false : true;
|
|
191
288
|
let vueImport$3;
|
|
192
289
|
if (!isExecute$3 || parseInt(allVue.version) < 3) {
|
|
@@ -195,16 +292,47 @@ if (!isExecute$3 || parseInt(allVue.version) < 3) {
|
|
|
195
292
|
else {
|
|
196
293
|
vueImport$3 = Vue$1;
|
|
197
294
|
}
|
|
198
|
-
let AggregatesDirective =
|
|
199
|
-
|
|
295
|
+
let AggregatesDirective =
|
|
296
|
+
/* Start Options({
|
|
297
|
+
inject: {
|
|
298
|
+
custom: {
|
|
299
|
+
default: null
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
}) End */
|
|
303
|
+
class AggregatesDirective extends vueImport$3 {
|
|
304
|
+
constructor() {
|
|
305
|
+
super(arguments);
|
|
306
|
+
}
|
|
307
|
+
render(createElement) {
|
|
308
|
+
if (gh) {
|
|
309
|
+
let h = gh || createElement;
|
|
310
|
+
let slots = null;
|
|
311
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
312
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
313
|
+
}
|
|
314
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
315
|
+
}
|
|
200
316
|
return;
|
|
201
317
|
}
|
|
318
|
+
updated() {
|
|
319
|
+
if (gh && this.custom) {
|
|
320
|
+
this.custom();
|
|
321
|
+
}
|
|
322
|
+
}
|
|
202
323
|
getTag() {
|
|
203
324
|
return 'e-aggregates';
|
|
204
325
|
}
|
|
205
326
|
};
|
|
206
327
|
AggregatesDirective = __decorate$3([
|
|
207
328
|
EJComponentDecorator({}, isExecute$3)
|
|
329
|
+
/* Start Options({
|
|
330
|
+
inject: {
|
|
331
|
+
custom: {
|
|
332
|
+
default: null
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
}) End */
|
|
208
336
|
], AggregatesDirective);
|
|
209
337
|
const AggregatesPlugin = {
|
|
210
338
|
name: 'e-aggregates',
|
|
@@ -277,7 +405,12 @@ let GridComponent =
|
|
|
277
405
|
/* Start Options({
|
|
278
406
|
props: props,
|
|
279
407
|
watch: watch,
|
|
280
|
-
emits: emitProbs
|
|
408
|
+
emits: emitProbs,
|
|
409
|
+
provide: function provide() {
|
|
410
|
+
return {
|
|
411
|
+
custom: this.custom
|
|
412
|
+
};
|
|
413
|
+
}
|
|
281
414
|
}) End */
|
|
282
415
|
class GridComponent extends ComponentBase {
|
|
283
416
|
constructor() {
|
|
@@ -296,6 +429,7 @@ class GridComponent extends ComponentBase {
|
|
|
296
429
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
297
430
|
this.ej2Instances.setProperties = this.setProperties;
|
|
298
431
|
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
432
|
+
this.updated = this.updated;
|
|
299
433
|
}
|
|
300
434
|
clearTemplate(templateNames) {
|
|
301
435
|
if (!templateNames) {
|
|
@@ -388,6 +522,9 @@ class GridComponent extends ComponentBase {
|
|
|
388
522
|
}
|
|
389
523
|
return h('div', slots);
|
|
390
524
|
}
|
|
525
|
+
custom() {
|
|
526
|
+
this.updated();
|
|
527
|
+
}
|
|
391
528
|
addRecord(data, index) {
|
|
392
529
|
return this.ej2Instances.addRecord(data, index);
|
|
393
530
|
}
|
|
@@ -780,7 +917,12 @@ GridComponent = __decorate$4([
|
|
|
780
917
|
/* Start Options({
|
|
781
918
|
props: props,
|
|
782
919
|
watch: watch,
|
|
783
|
-
emits: emitProbs
|
|
920
|
+
emits: emitProbs,
|
|
921
|
+
provide: function provide() {
|
|
922
|
+
return {
|
|
923
|
+
custom: this.custom
|
|
924
|
+
};
|
|
925
|
+
}
|
|
784
926
|
}) End */
|
|
785
927
|
], GridComponent);
|
|
786
928
|
const GridPlugin = {
|
|
@@ -826,7 +968,12 @@ let PagerComponent =
|
|
|
826
968
|
/* Start Options({
|
|
827
969
|
props: props,
|
|
828
970
|
watch: watch,
|
|
829
|
-
emits: emitProbs
|
|
971
|
+
emits: emitProbs,
|
|
972
|
+
provide: function provide() {
|
|
973
|
+
return {
|
|
974
|
+
custom: this.custom
|
|
975
|
+
};
|
|
976
|
+
}
|
|
830
977
|
}) End */
|
|
831
978
|
class PagerComponent extends ComponentBase {
|
|
832
979
|
constructor() {
|
|
@@ -843,6 +990,7 @@ class PagerComponent extends ComponentBase {
|
|
|
843
990
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
844
991
|
this.ej2Instances.setProperties = this.setProperties;
|
|
845
992
|
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
993
|
+
this.updated = this.updated;
|
|
846
994
|
}
|
|
847
995
|
clearTemplate(templateNames) {
|
|
848
996
|
if (!templateNames) {
|
|
@@ -897,6 +1045,9 @@ class PagerComponent extends ComponentBase {
|
|
|
897
1045
|
}
|
|
898
1046
|
return h('div', slots);
|
|
899
1047
|
}
|
|
1048
|
+
custom() {
|
|
1049
|
+
this.updated();
|
|
1050
|
+
}
|
|
900
1051
|
destroyTemplate(propertyNames, index) {
|
|
901
1052
|
return this.ej2Instances.destroyTemplate(propertyNames, index);
|
|
902
1053
|
}
|
|
@@ -917,7 +1068,12 @@ PagerComponent = __decorate$5([
|
|
|
917
1068
|
/* Start Options({
|
|
918
1069
|
props: props,
|
|
919
1070
|
watch: watch,
|
|
920
|
-
emits: emitProbs
|
|
1071
|
+
emits: emitProbs,
|
|
1072
|
+
provide: function provide() {
|
|
1073
|
+
return {
|
|
1074
|
+
custom: this.custom
|
|
1075
|
+
};
|
|
1076
|
+
}
|
|
921
1077
|
}) End */
|
|
922
1078
|
], PagerComponent);
|
|
923
1079
|
const PagerPlugin = {
|