@syncfusion/ej2-vue-base 19.2.57 → 19.3.47
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 +1 -9
- package/dist/ej2-vue-base.umd.min.js +20 -2
- package/dist/ej2-vue-base.umd.min.js.map +1 -1
- package/dist/es6/ej2-vue-base.es2015.js +23 -13
- package/dist/es6/ej2-vue-base.es2015.js.map +1 -1
- package/dist/es6/ej2-vue-base.es5.js +27 -13
- package/dist/es6/ej2-vue-base.es5.js.map +1 -1
- package/dist/global/ej2-vue-base.min.js +2 -2
- package/dist/global/ej2-vue-base.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +12 -10
- package/src/component-base.d.ts +3 -2
- package/src/template.js +27 -13
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-vue-base@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-vue-base@19.
|
|
3
|
+
"_id": "@syncfusion/ej2-vue-base@19.1.54",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-nCdVZLxdZfjQh92znrcKNumC+aybKEe95QH00kdbMdwfVxrTax6Kmax342dHRb3da0yJK7ue1GMGf1PLxr1QVw==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-vue-base",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -18,20 +18,22 @@
|
|
|
18
18
|
},
|
|
19
19
|
"_requiredBy": [
|
|
20
20
|
"/",
|
|
21
|
-
"/@syncfusion/ej2-vue-charts",
|
|
22
|
-
"/@syncfusion/ej2-vue-circulargauge",
|
|
23
21
|
"/@syncfusion/ej2-vue-diagrams",
|
|
24
22
|
"/@syncfusion/ej2-vue-documenteditor",
|
|
25
23
|
"/@syncfusion/ej2-vue-dropdowns",
|
|
26
24
|
"/@syncfusion/ej2-vue-gantt",
|
|
27
25
|
"/@syncfusion/ej2-vue-grids",
|
|
28
|
-
"/@syncfusion/ej2-vue-
|
|
26
|
+
"/@syncfusion/ej2-vue-inputs",
|
|
29
27
|
"/@syncfusion/ej2-vue-pdfviewer",
|
|
28
|
+
"/@syncfusion/ej2-vue-pivotview",
|
|
29
|
+
"/@syncfusion/ej2-vue-popups",
|
|
30
30
|
"/@syncfusion/ej2-vue-richtexteditor",
|
|
31
|
-
"/@syncfusion/ej2-vue-
|
|
31
|
+
"/@syncfusion/ej2-vue-splitbuttons",
|
|
32
|
+
"/@syncfusion/ej2-vue-spreadsheet",
|
|
33
|
+
"/@syncfusion/ej2-vue-treegrid"
|
|
32
34
|
],
|
|
33
|
-
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix/@syncfusion/ej2-vue-base/-/ej2-vue-base-19.
|
|
34
|
-
"_shasum": "
|
|
35
|
+
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix/@syncfusion/ej2-vue-base/-/ej2-vue-base-19.1.54.tgz",
|
|
36
|
+
"_shasum": "e34b0a4aaad9f8554f3114f38f9e5392bb23d14e",
|
|
35
37
|
"_spec": "@syncfusion/ej2-vue-base@*",
|
|
36
38
|
"_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
|
|
37
39
|
"author": {
|
|
@@ -42,7 +44,7 @@
|
|
|
42
44
|
},
|
|
43
45
|
"bundleDependencies": false,
|
|
44
46
|
"dependencies": {
|
|
45
|
-
"@syncfusion/ej2-base": "~19.
|
|
47
|
+
"@syncfusion/ej2-base": "~19.3.47",
|
|
46
48
|
"glob": "^7.0.5"
|
|
47
49
|
},
|
|
48
50
|
"deprecated": false,
|
|
@@ -76,6 +78,6 @@
|
|
|
76
78
|
"postinstall": "node ./postinstall.js"
|
|
77
79
|
},
|
|
78
80
|
"typings": "index.d.ts",
|
|
79
|
-
"version": "19.
|
|
81
|
+
"version": "19.3.47",
|
|
80
82
|
"sideEffects": true
|
|
81
83
|
}
|
package/src/component-base.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Vue Component Base
|
|
3
3
|
*/
|
|
4
|
-
|
|
4
|
+
|
|
5
|
+
import Vue from 'vue';
|
|
5
6
|
export declare const aVue: any;
|
|
6
7
|
export declare function _interopRequireWildcard(obj: any): any;
|
|
7
8
|
export declare const allVue: any;
|
|
@@ -16,7 +17,7 @@ export declare class ComponentBase extends Vue {
|
|
|
16
17
|
protected hasChildDirective: boolean;
|
|
17
18
|
protected childDirObjects: string;
|
|
18
19
|
protected propKeys: any;
|
|
19
|
-
// constructor();
|
|
20
|
+
// // constructor();
|
|
20
21
|
created(): void;
|
|
21
22
|
mounted(): void;
|
|
22
23
|
getInjectedServices(): Object[];
|
package/src/template.js
CHANGED
|
@@ -43,25 +43,26 @@ export function compile(templateElement, helper) {
|
|
|
43
43
|
}
|
|
44
44
|
else {
|
|
45
45
|
tempRef_1 = Object.assign(templateCompRef.data(), dataObj.data);
|
|
46
|
+
if (templateCompRef.components) {
|
|
47
|
+
var objkeys = Object.keys(templateCompRef.components) || [];
|
|
48
|
+
var _loop_1 = function (objstring) {
|
|
49
|
+
var intComponent = templateCompRef.components[objstring];
|
|
50
|
+
if (intComponent && intComponent.data) {
|
|
51
|
+
var tempRef2_1 = Object.assign(intComponent.data(), dataObj.data);
|
|
52
|
+
intComponent.data = function () { return tempRef2_1; };
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
for (var _i = 0, objkeys_1 = objkeys; _i < objkeys_1.length; _i++) {
|
|
56
|
+
var objstring = objkeys_1[_i];
|
|
57
|
+
_loop_1(objstring);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
46
60
|
}
|
|
47
61
|
templateCompRef.data = function () { return tempRef_1; };
|
|
48
62
|
allVue
|
|
49
63
|
.createApp(templateCompRef)
|
|
50
64
|
.mount("#" + id);
|
|
51
65
|
returnEle = ele.childNodes;
|
|
52
|
-
if (context.vueInstance) {
|
|
53
|
-
var templateInstance = context.vueInstance.templateCollection;
|
|
54
|
-
if (!templateInstance) {
|
|
55
|
-
context.vueInstance.templateCollection = {};
|
|
56
|
-
templateInstance = context.vueInstance.templateCollection;
|
|
57
|
-
}
|
|
58
|
-
if (propName) {
|
|
59
|
-
if (!templateInstance[propName]) {
|
|
60
|
-
templateInstance[propName] = [];
|
|
61
|
-
}
|
|
62
|
-
templateInstance[propName].push(returnEle[0]);
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
66
|
detach(ele);
|
|
66
67
|
}
|
|
67
68
|
else {
|
|
@@ -83,6 +84,19 @@ export function compile(templateElement, helper) {
|
|
|
83
84
|
// templateVue.$data.data = extend(tempObj.data, data);
|
|
84
85
|
templateVue.$mount("#" + id);
|
|
85
86
|
returnEle = ele.childNodes;
|
|
87
|
+
if (context.vueInstance) {
|
|
88
|
+
var templateInstance = context.vueInstance.templateCollection;
|
|
89
|
+
if (!templateInstance) {
|
|
90
|
+
context.vueInstance.templateCollection = {};
|
|
91
|
+
templateInstance = context.vueInstance.templateCollection;
|
|
92
|
+
}
|
|
93
|
+
if (propName) {
|
|
94
|
+
if (!templateInstance[propName]) {
|
|
95
|
+
templateInstance[propName] = [];
|
|
96
|
+
}
|
|
97
|
+
templateInstance[propName].push(returnEle[0]);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
86
100
|
detach(ele);
|
|
87
101
|
}
|
|
88
102
|
}
|