@syncfusion/ej2-vue-grids 19.4.53 → 19.4.56
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 +29 -0
- package/README.md +1 -1
- package/dist/ej2-vue-grids.umd.min.js +2 -2
- 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 +7 -7
- 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/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-vue-grids@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-vue-grids@19.4.
|
|
3
|
+
"_id": "@syncfusion/ej2-vue-grids@19.4.55",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-kbzwWUMxMXwLoY4HBtqbhqyy1Qa30TYvVAZIYKVEQpPnrgAOyGDS464HCpVUtfdn4C4tAs05nJI7Da2f2Lp8qg==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-vue-grids",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"_requiredBy": [
|
|
20
20
|
"/"
|
|
21
21
|
],
|
|
22
|
-
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-vue-grids/-/ej2-vue-grids-19.4.
|
|
23
|
-
"_shasum": "
|
|
22
|
+
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-vue-grids/-/ej2-vue-grids-19.4.55.tgz",
|
|
23
|
+
"_shasum": "1f1290f2315b0b84998933dba8eb5eab54c772ed",
|
|
24
24
|
"_spec": "@syncfusion/ej2-vue-grids@*",
|
|
25
25
|
"_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
|
|
26
26
|
"author": {
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"bundleDependencies": false,
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@syncfusion/ej2-base": "~19.4.52",
|
|
35
|
-
"@syncfusion/ej2-grids": "19.4.
|
|
36
|
-
"@syncfusion/ej2-vue-base": "~19.4.
|
|
35
|
+
"@syncfusion/ej2-grids": "19.4.56",
|
|
36
|
+
"@syncfusion/ej2-vue-base": "~19.4.56"
|
|
37
37
|
},
|
|
38
38
|
"deprecated": false,
|
|
39
39
|
"description": "Feature-rich JavaScript datagrid (datatable) control with built-in support for editing, filtering, grouping, paging, sorting, and exporting to Excel. for Vue",
|
|
@@ -65,6 +65,6 @@
|
|
|
65
65
|
"type": "git",
|
|
66
66
|
"url": "git+https://github.com/syncfusion/ej2-vue-ui-components.git"
|
|
67
67
|
},
|
|
68
|
-
"version": "19.4.
|
|
68
|
+
"version": "19.4.56",
|
|
69
69
|
"sideEffects": false
|
|
70
70
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
export declare const isExecute: any;
|
|
2
2
|
declare let vueImport: any;
|
|
3
3
|
export declare class AggregateColumnsDirective extends vueImport {
|
|
4
|
-
|
|
4
|
+
constructor();
|
|
5
|
+
render(createElement: any): void;
|
|
6
|
+
updated(): void;
|
|
5
7
|
getTag(): string;
|
|
6
8
|
}
|
|
7
9
|
export declare const AggregateColumnsPlugin: {
|
|
@@ -19,7 +19,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
19
19
|
};
|
|
20
20
|
import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
|
|
21
21
|
import * as Vue3 from 'vue-class-component';
|
|
22
|
+
import { isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
22
23
|
import Vue from 'vue';
|
|
24
|
+
import { Options } from 'vue-class-component';
|
|
23
25
|
export var isExecute = gh ? false : true;
|
|
24
26
|
var vueImport;
|
|
25
27
|
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
@@ -31,16 +33,36 @@ else {
|
|
|
31
33
|
var AggregateColumnsDirective = /** @class */ (function (_super) {
|
|
32
34
|
__extends(AggregateColumnsDirective, _super);
|
|
33
35
|
function AggregateColumnsDirective() {
|
|
34
|
-
return _super
|
|
36
|
+
return _super.call(this, arguments) || this;
|
|
35
37
|
}
|
|
36
|
-
AggregateColumnsDirective.prototype.render = function () {
|
|
38
|
+
AggregateColumnsDirective.prototype.render = function (createElement) {
|
|
39
|
+
if (gh) {
|
|
40
|
+
var h = gh || createElement;
|
|
41
|
+
var slots = null;
|
|
42
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
43
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
44
|
+
}
|
|
45
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
46
|
+
}
|
|
37
47
|
return;
|
|
38
48
|
};
|
|
49
|
+
AggregateColumnsDirective.prototype.updated = function () {
|
|
50
|
+
if (gh && this.custom) {
|
|
51
|
+
this.custom();
|
|
52
|
+
}
|
|
53
|
+
};
|
|
39
54
|
AggregateColumnsDirective.prototype.getTag = function () {
|
|
40
55
|
return 'e-columns';
|
|
41
56
|
};
|
|
42
57
|
AggregateColumnsDirective = __decorate([
|
|
43
58
|
EJComponentDecorator({}, isExecute)
|
|
59
|
+
,Options({
|
|
60
|
+
inject: {
|
|
61
|
+
custom: {
|
|
62
|
+
default: null
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
})
|
|
44
66
|
], AggregateColumnsDirective);
|
|
45
67
|
return AggregateColumnsDirective;
|
|
46
68
|
}(vueImport));
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
export declare const isExecute: any;
|
|
2
2
|
declare let vueImport: any;
|
|
3
3
|
export declare class AggregatesDirective extends vueImport {
|
|
4
|
-
|
|
4
|
+
constructor();
|
|
5
|
+
render(createElement: any): void;
|
|
6
|
+
updated(): void;
|
|
5
7
|
getTag(): string;
|
|
6
8
|
}
|
|
7
9
|
export declare const AggregatesPlugin: {
|
|
@@ -19,7 +19,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
19
19
|
};
|
|
20
20
|
import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
|
|
21
21
|
import * as Vue3 from 'vue-class-component';
|
|
22
|
+
import { isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
22
23
|
import Vue from 'vue';
|
|
24
|
+
import { Options } from 'vue-class-component';
|
|
23
25
|
export var isExecute = gh ? false : true;
|
|
24
26
|
var vueImport;
|
|
25
27
|
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
@@ -31,16 +33,36 @@ else {
|
|
|
31
33
|
var AggregatesDirective = /** @class */ (function (_super) {
|
|
32
34
|
__extends(AggregatesDirective, _super);
|
|
33
35
|
function AggregatesDirective() {
|
|
34
|
-
return _super
|
|
36
|
+
return _super.call(this, arguments) || this;
|
|
35
37
|
}
|
|
36
|
-
AggregatesDirective.prototype.render = function () {
|
|
38
|
+
AggregatesDirective.prototype.render = function (createElement) {
|
|
39
|
+
if (gh) {
|
|
40
|
+
var h = gh || createElement;
|
|
41
|
+
var slots = null;
|
|
42
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
43
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
44
|
+
}
|
|
45
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
46
|
+
}
|
|
37
47
|
return;
|
|
38
48
|
};
|
|
49
|
+
AggregatesDirective.prototype.updated = function () {
|
|
50
|
+
if (gh && this.custom) {
|
|
51
|
+
this.custom();
|
|
52
|
+
}
|
|
53
|
+
};
|
|
39
54
|
AggregatesDirective.prototype.getTag = function () {
|
|
40
55
|
return 'e-aggregates';
|
|
41
56
|
};
|
|
42
57
|
AggregatesDirective = __decorate([
|
|
43
58
|
EJComponentDecorator({}, isExecute)
|
|
59
|
+
,Options({
|
|
60
|
+
inject: {
|
|
61
|
+
custom: {
|
|
62
|
+
default: null
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
})
|
|
44
66
|
], AggregatesDirective);
|
|
45
67
|
return AggregatesDirective;
|
|
46
68
|
}(vueImport));
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
export declare const isExecute: any;
|
|
2
2
|
declare let vueImport: any;
|
|
3
3
|
export declare class ColumnsDirective extends vueImport {
|
|
4
|
-
|
|
4
|
+
constructor();
|
|
5
|
+
render(createElement: any): void;
|
|
6
|
+
updated(): void;
|
|
5
7
|
getTag(): string;
|
|
6
8
|
}
|
|
7
9
|
export declare const ColumnsPlugin: {
|
|
@@ -19,7 +19,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
19
19
|
};
|
|
20
20
|
import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
|
|
21
21
|
import * as Vue3 from 'vue-class-component';
|
|
22
|
+
import { isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
22
23
|
import Vue from 'vue';
|
|
24
|
+
import { Options } from 'vue-class-component';
|
|
23
25
|
export var isExecute = gh ? false : true;
|
|
24
26
|
var vueImport;
|
|
25
27
|
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
@@ -31,16 +33,36 @@ else {
|
|
|
31
33
|
var ColumnsDirective = /** @class */ (function (_super) {
|
|
32
34
|
__extends(ColumnsDirective, _super);
|
|
33
35
|
function ColumnsDirective() {
|
|
34
|
-
return _super
|
|
36
|
+
return _super.call(this, arguments) || this;
|
|
35
37
|
}
|
|
36
|
-
ColumnsDirective.prototype.render = function () {
|
|
38
|
+
ColumnsDirective.prototype.render = function (createElement) {
|
|
39
|
+
if (gh) {
|
|
40
|
+
var h = gh || createElement;
|
|
41
|
+
var slots = null;
|
|
42
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
43
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
44
|
+
}
|
|
45
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
46
|
+
}
|
|
37
47
|
return;
|
|
38
48
|
};
|
|
49
|
+
ColumnsDirective.prototype.updated = function () {
|
|
50
|
+
if (gh && this.custom) {
|
|
51
|
+
this.custom();
|
|
52
|
+
}
|
|
53
|
+
};
|
|
39
54
|
ColumnsDirective.prototype.getTag = function () {
|
|
40
55
|
return 'e-columns';
|
|
41
56
|
};
|
|
42
57
|
ColumnsDirective = __decorate([
|
|
43
58
|
EJComponentDecorator({}, isExecute)
|
|
59
|
+
,Options({
|
|
60
|
+
inject: {
|
|
61
|
+
custom: {
|
|
62
|
+
default: null
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
})
|
|
44
66
|
], ColumnsDirective);
|
|
45
67
|
return ColumnsDirective;
|
|
46
68
|
}(vueImport));
|
|
@@ -31,6 +31,7 @@ export declare class GridComponent extends ComponentBase {
|
|
|
31
31
|
[key: string]: Object;
|
|
32
32
|
}, successHandler?: Function): void;
|
|
33
33
|
render(createElement: any): any;
|
|
34
|
+
custom(): void;
|
|
34
35
|
addRecord(data?: Object, index?: number): void;
|
|
35
36
|
autoFitColumns(fieldNames?: string | string[]): void;
|
|
36
37
|
batchAsyncUpdate(changes: Object): void;
|
|
@@ -62,6 +62,7 @@ var GridComponent = /** @class */ (function (_super) {
|
|
|
62
62
|
_this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
|
|
63
63
|
_this.ej2Instances.setProperties = _this.setProperties;
|
|
64
64
|
_this.ej2Instances.clearTemplate = _this.clearTemplate;
|
|
65
|
+
_this.updated = _this.updated;
|
|
65
66
|
return _this;
|
|
66
67
|
}
|
|
67
68
|
GridComponent.prototype.clearTemplate = function (templateNames) {
|
|
@@ -158,6 +159,9 @@ var GridComponent = /** @class */ (function (_super) {
|
|
|
158
159
|
}
|
|
159
160
|
return h('div', slots);
|
|
160
161
|
};
|
|
162
|
+
GridComponent.prototype.custom = function () {
|
|
163
|
+
this.updated();
|
|
164
|
+
};
|
|
161
165
|
GridComponent.prototype.addRecord = function (data, index) {
|
|
162
166
|
return this.ej2Instances.addRecord(data, index);
|
|
163
167
|
};
|
|
@@ -549,7 +553,12 @@ var GridComponent = /** @class */ (function (_super) {
|
|
|
549
553
|
,Options({
|
|
550
554
|
props: props,
|
|
551
555
|
watch: watch,
|
|
552
|
-
emits: emitProbs
|
|
556
|
+
emits: emitProbs,
|
|
557
|
+
provide: function provide() {
|
|
558
|
+
return {
|
|
559
|
+
custom: this.custom
|
|
560
|
+
};
|
|
561
|
+
}
|
|
553
562
|
})
|
|
554
563
|
], GridComponent);
|
|
555
564
|
return GridComponent;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
export declare const isExecute: any;
|
|
2
2
|
declare let vueImport: any;
|
|
3
3
|
export declare class StackedColumnsDirective extends vueImport {
|
|
4
|
-
|
|
4
|
+
constructor();
|
|
5
|
+
render(createElement: any): void;
|
|
6
|
+
updated(): void;
|
|
5
7
|
getTag(): string;
|
|
6
8
|
}
|
|
7
9
|
export declare const StackedColumnsPlugin: {
|
|
@@ -19,7 +19,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
19
19
|
};
|
|
20
20
|
import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
|
|
21
21
|
import * as Vue3 from 'vue-class-component';
|
|
22
|
+
import { isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
22
23
|
import Vue from 'vue';
|
|
24
|
+
import { Options } from 'vue-class-component';
|
|
23
25
|
export var isExecute = gh ? false : true;
|
|
24
26
|
var vueImport;
|
|
25
27
|
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
@@ -31,16 +33,36 @@ else {
|
|
|
31
33
|
var StackedColumnsDirective = /** @class */ (function (_super) {
|
|
32
34
|
__extends(StackedColumnsDirective, _super);
|
|
33
35
|
function StackedColumnsDirective() {
|
|
34
|
-
return _super
|
|
36
|
+
return _super.call(this, arguments) || this;
|
|
35
37
|
}
|
|
36
|
-
StackedColumnsDirective.prototype.render = function () {
|
|
38
|
+
StackedColumnsDirective.prototype.render = function (createElement) {
|
|
39
|
+
if (gh) {
|
|
40
|
+
var h = gh || createElement;
|
|
41
|
+
var slots = null;
|
|
42
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
43
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
44
|
+
}
|
|
45
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
46
|
+
}
|
|
37
47
|
return;
|
|
38
48
|
};
|
|
49
|
+
StackedColumnsDirective.prototype.updated = function () {
|
|
50
|
+
if (gh && this.custom) {
|
|
51
|
+
this.custom();
|
|
52
|
+
}
|
|
53
|
+
};
|
|
39
54
|
StackedColumnsDirective.prototype.getTag = function () {
|
|
40
55
|
return 'e-stacked-columns';
|
|
41
56
|
};
|
|
42
57
|
StackedColumnsDirective = __decorate([
|
|
43
58
|
EJComponentDecorator({}, isExecute)
|
|
59
|
+
,Options({
|
|
60
|
+
inject: {
|
|
61
|
+
custom: {
|
|
62
|
+
default: null
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
})
|
|
44
66
|
], StackedColumnsDirective);
|
|
45
67
|
return StackedColumnsDirective;
|
|
46
68
|
}(vueImport));
|
|
@@ -28,6 +28,7 @@ export declare class PagerComponent extends ComponentBase {
|
|
|
28
28
|
clearTemplate(templateNames?: string[]): any;
|
|
29
29
|
setProperties(prop: any, muteOnChange: boolean): void;
|
|
30
30
|
render(createElement: any): any;
|
|
31
|
+
custom(): void;
|
|
31
32
|
destroyTemplate(propertyNames?: string[], index?: any): void;
|
|
32
33
|
getLocalizedLabel(key: string): string;
|
|
33
34
|
goToPage(pageNo: number): void;
|
|
@@ -55,6 +55,7 @@ var PagerComponent = /** @class */ (function (_super) {
|
|
|
55
55
|
_this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
|
|
56
56
|
_this.ej2Instances.setProperties = _this.setProperties;
|
|
57
57
|
_this.ej2Instances.clearTemplate = _this.clearTemplate;
|
|
58
|
+
_this.updated = _this.updated;
|
|
58
59
|
return _this;
|
|
59
60
|
}
|
|
60
61
|
PagerComponent.prototype.clearTemplate = function (templateNames) {
|
|
@@ -113,6 +114,9 @@ var PagerComponent = /** @class */ (function (_super) {
|
|
|
113
114
|
}
|
|
114
115
|
return h('div', slots);
|
|
115
116
|
};
|
|
117
|
+
PagerComponent.prototype.custom = function () {
|
|
118
|
+
this.updated();
|
|
119
|
+
};
|
|
116
120
|
PagerComponent.prototype.destroyTemplate = function (propertyNames, index) {
|
|
117
121
|
return this.ej2Instances.destroyTemplate(propertyNames, index);
|
|
118
122
|
};
|
|
@@ -132,7 +136,12 @@ var PagerComponent = /** @class */ (function (_super) {
|
|
|
132
136
|
,Options({
|
|
133
137
|
props: props,
|
|
134
138
|
watch: watch,
|
|
135
|
-
emits: emitProbs
|
|
139
|
+
emits: emitProbs,
|
|
140
|
+
provide: function provide() {
|
|
141
|
+
return {
|
|
142
|
+
custom: this.custom
|
|
143
|
+
};
|
|
144
|
+
}
|
|
136
145
|
})
|
|
137
146
|
], PagerComponent);
|
|
138
147
|
return PagerComponent;
|