@syncfusion/ej2-vue-layouts 20.4.53 → 21.1.36
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 +19 -3
- package/dist/ej2-vue-layouts.umd.min.js +2 -2
- package/dist/ej2-vue-layouts.umd.min.js.map +1 -1
- package/dist/es6/ej2-vue-layouts.es2015.js +226 -336
- package/dist/es6/ej2-vue-layouts.es2015.js.map +1 -1
- package/dist/es6/ej2-vue-layouts.es5.js +257 -401
- package/dist/es6/ej2-vue-layouts.es5.js.map +1 -1
- package/dist/global/ej2-vue-layouts.min.js +2 -2
- package/package.json +11 -10
- package/src/dashboard-layout/dashboardlayout.component.d.ts +3 -30
- package/src/dashboard-layout/dashboardlayout.component.js +107 -136
- package/src/dashboard-layout/panels.directive.d.ts +2 -12
- package/src/dashboard-layout/panels.directive.js +22 -71
- package/src/splitter/panesettings.directive.d.ts +2 -12
- package/src/splitter/panesettings.directive.js +22 -71
- package/src/splitter/splitter.component.d.ts +3 -26
- package/src/splitter/splitter.component.js +95 -124
- package/styles/avatar/bootstrap-dark.css +3 -0
- package/styles/avatar/bootstrap.css +3 -0
- package/styles/avatar/bootstrap4.css +3 -0
- package/styles/avatar/bootstrap5-dark.css +3 -0
- package/styles/avatar/bootstrap5.css +3 -0
- package/styles/avatar/fabric-dark.css +3 -0
- package/styles/avatar/fabric.css +3 -0
- package/styles/avatar/fluent-dark.css +3 -0
- package/styles/avatar/fluent.css +3 -0
- package/styles/avatar/highcontrast-light.css +3 -0
- package/styles/avatar/highcontrast.css +3 -0
- package/styles/avatar/material-dark.css +3 -0
- package/styles/avatar/material.css +3 -0
- package/styles/avatar/material3-dark.css +114 -0
- package/styles/avatar/material3-dark.scss +2 -0
- package/styles/avatar/material3.css +170 -0
- package/styles/avatar/material3.scss +2 -0
- package/styles/avatar/tailwind-dark.css +3 -0
- package/styles/avatar/tailwind.css +3 -0
- package/styles/bootstrap-dark.css +7 -1
- package/styles/bootstrap.css +7 -1
- package/styles/bootstrap4.css +10 -3
- package/styles/bootstrap5-dark.css +7 -1
- package/styles/bootstrap5.css +7 -1
- package/styles/card/bootstrap-dark.css +2 -1
- package/styles/card/bootstrap.css +2 -1
- package/styles/card/bootstrap4.css +5 -3
- package/styles/card/bootstrap5-dark.css +2 -1
- package/styles/card/bootstrap5.css +2 -1
- package/styles/card/fabric-dark.css +2 -1
- package/styles/card/fabric.css +3 -2
- package/styles/card/fluent-dark.css +2 -1
- package/styles/card/fluent.css +2 -1
- package/styles/card/highcontrast-light.css +2 -1
- package/styles/card/highcontrast.css +3 -2
- package/styles/card/material-dark.css +2 -1
- package/styles/card/material.css +2 -1
- package/styles/card/material3-dark.css +567 -0
- package/styles/card/material3-dark.scss +2 -0
- package/styles/card/material3.css +623 -0
- package/styles/card/material3.scss +2 -0
- package/styles/card/tailwind-dark.css +2 -1
- package/styles/card/tailwind.css +2 -1
- package/styles/dashboard-layout/material3-dark.css +357 -0
- package/styles/dashboard-layout/material3-dark.scss +2 -0
- package/styles/dashboard-layout/material3.css +413 -0
- package/styles/dashboard-layout/material3.scss +2 -0
- package/styles/fabric-dark.css +7 -1
- package/styles/fabric.css +8 -2
- package/styles/fluent-dark.css +7 -1
- package/styles/fluent.css +7 -1
- package/styles/highcontrast-light.css +7 -1
- package/styles/highcontrast.css +8 -2
- package/styles/material-dark.css +7 -1
- package/styles/material.css +7 -1
- package/styles/material3-dark.css +1585 -0
- package/styles/material3-dark.scss +5 -0
- package/styles/material3.css +1806 -0
- package/styles/material3.scss +5 -0
- package/styles/splitter/bootstrap-dark.css +2 -0
- package/styles/splitter/bootstrap.css +2 -0
- package/styles/splitter/bootstrap4.css +2 -0
- package/styles/splitter/bootstrap5-dark.css +2 -0
- package/styles/splitter/bootstrap5.css +2 -0
- package/styles/splitter/fabric-dark.css +2 -0
- package/styles/splitter/fabric.css +2 -0
- package/styles/splitter/fluent-dark.css +2 -0
- package/styles/splitter/fluent.css +2 -0
- package/styles/splitter/highcontrast-light.css +2 -0
- package/styles/splitter/highcontrast.css +2 -0
- package/styles/splitter/material-dark.css +2 -0
- package/styles/splitter/material.css +2 -0
- package/styles/splitter/material3-dark.css +545 -0
- package/styles/splitter/material3-dark.scss +2 -0
- package/styles/splitter/material3.css +601 -0
- package/styles/splitter/material3.scss +2 -0
- package/styles/splitter/tailwind-dark.css +2 -0
- package/styles/splitter/tailwind.css +2 -0
- package/styles/tailwind-dark.css +7 -1
- package/styles/tailwind.css +7 -1
package/package.json
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
{
|
2
2
|
"_from": "@syncfusion/ej2-vue-layouts@*",
|
3
|
-
"_id": "@syncfusion/ej2-vue-layouts@
|
3
|
+
"_id": "@syncfusion/ej2-vue-layouts@22.1.34",
|
4
4
|
"_inBundle": false,
|
5
|
-
"_integrity": "sha512-
|
5
|
+
"_integrity": "sha512-4Kt3+oKBhp6SKhIkKA+8VY3QvdUaoLzg7CoT/OX8A8s+CLWb7mEG1nsvGRaHWH0vLgbiQ4ZPgu8d5L2IwJtaTw==",
|
6
6
|
"_location": "/@syncfusion/ej2-vue-layouts",
|
7
7
|
"_phantomChildren": {},
|
8
8
|
"_requested": {
|
@@ -19,10 +19,10 @@
|
|
19
19
|
"_requiredBy": [
|
20
20
|
"/"
|
21
21
|
],
|
22
|
-
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-vue-layouts/-/ej2-vue-layouts-
|
23
|
-
"_shasum": "
|
22
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-vue-layouts/-/ej2-vue-layouts-22.1.34.tgz",
|
23
|
+
"_shasum": "e607a5b7558a1699dcb8a3499cfa39408fca5966",
|
24
24
|
"_spec": "@syncfusion/ej2-vue-layouts@*",
|
25
|
-
"_where": "/jenkins/workspace/
|
25
|
+
"_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
|
26
26
|
"author": {
|
27
27
|
"name": "Syncfusion Inc."
|
28
28
|
},
|
@@ -31,9 +31,9 @@
|
|
31
31
|
},
|
32
32
|
"bundleDependencies": false,
|
33
33
|
"dependencies": {
|
34
|
-
"@syncfusion/ej2-base": "~
|
35
|
-
"@syncfusion/ej2-layouts": "
|
36
|
-
"@syncfusion/ej2-vue-base": "~
|
34
|
+
"@syncfusion/ej2-base": "~22.1.34",
|
35
|
+
"@syncfusion/ej2-layouts": "21.1.36",
|
36
|
+
"@syncfusion/ej2-vue-base": "~22.1.34"
|
37
37
|
},
|
38
38
|
"deprecated": false,
|
39
39
|
"description": "A package of Essential JS 2 layout pure CSS components such as card and avatar. The card is used as small container to show content in specific structure, whereas the avatars are icons, initials or figures representing particular person. for Vue",
|
@@ -57,8 +57,9 @@
|
|
57
57
|
"url": "git+https://github.com/syncfusion/ej2-vue-ui-components.git"
|
58
58
|
},
|
59
59
|
"scripts": {
|
60
|
-
"
|
60
|
+
"ci-publish": "gulp ci-publish",
|
61
|
+
"compile": "gulp ci-compile && gulp vue-global-script"
|
61
62
|
},
|
62
|
-
"version": "
|
63
|
+
"version": "21.1.36",
|
63
64
|
"sideEffects": false
|
64
65
|
}
|
@@ -1,42 +1,15 @@
|
|
1
|
-
import { ComponentBase } from '@syncfusion/ej2-vue-base';
|
2
1
|
export declare const properties: string[];
|
3
2
|
export declare const modelProps: string[];
|
4
3
|
export declare const testProp: any;
|
5
|
-
export declare const props: any;
|
6
|
-
export declare const watch: any;
|
7
|
-
export declare const emitProbs: any;
|
4
|
+
export declare const props: any, watch: any, emitProbs: any;
|
8
5
|
/**
|
9
6
|
* Represents the Essential JS 2 VueJS DashboardLayout Component.
|
10
7
|
* ```html
|
11
8
|
* <ejs-dashboardlayout></ejs-dashboardlayout>
|
12
9
|
* ```
|
13
10
|
*/
|
14
|
-
export declare
|
15
|
-
|
16
|
-
propKeys: string[];
|
17
|
-
models: string[];
|
18
|
-
hasChildDirective: boolean;
|
19
|
-
protected hasInjectedModules: boolean;
|
20
|
-
tagMapper: {
|
21
|
-
[key: string]: Object;
|
22
|
-
};
|
23
|
-
tagNameMapper: Object;
|
24
|
-
isVue3: boolean;
|
25
|
-
templateCollection: any;
|
26
|
-
constructor();
|
27
|
-
clearTemplate(templateNames?: string[]): any;
|
28
|
-
setProperties(prop: any, muteOnChange: boolean): void;
|
29
|
-
render(createElement: any): any;
|
30
|
-
custom(): void;
|
31
|
-
addPanel(panel: Object): void;
|
32
|
-
movePanel(id: string, row: number, col: number): void;
|
33
|
-
refresh(): void;
|
34
|
-
removeAll(): void;
|
35
|
-
removePanel(id: string): void;
|
36
|
-
resizePanel(id: string, sizeX: number, sizeY: number): void;
|
37
|
-
serialize(): Object[];
|
38
|
-
updatePanel(panel: Object): void;
|
39
|
-
}
|
11
|
+
export declare let DashboardLayoutComponent: any;
|
12
|
+
export declare type DashboardLayoutComponent = InstanceType<typeof DashboardLayoutComponent>;
|
40
13
|
export declare const DashboardLayoutPlugin: {
|
41
14
|
name: string;
|
42
15
|
install(Vue: any): void;
|
@@ -1,33 +1,11 @@
|
|
1
|
-
|
2
|
-
var extendStatics = function (d, b) {
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
6
|
-
return extendStatics(d, b);
|
7
|
-
};
|
8
|
-
return function (d, b) {
|
9
|
-
extendStatics(d, b);
|
10
|
-
function __() { this.constructor = d; }
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
12
|
-
};
|
13
|
-
})();
|
14
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
15
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
16
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
17
|
-
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;
|
18
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
19
|
-
};
|
20
|
-
import { ComponentBase, EJComponentDecorator, getProps, gh, isExecute } from '@syncfusion/ej2-vue-base';
|
1
|
+
import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';
|
21
2
|
import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
|
22
3
|
import { DashboardLayout } from '@syncfusion/ej2-layouts';
|
23
4
|
import { PanelsDirective, PanelDirective, PanelsPlugin, PanelPlugin } from './panels.directive';
|
24
|
-
import { Options } from 'vue-class-component';
|
25
5
|
export var properties = ['isLazyUpdate', 'plugins', 'allowDragging', 'allowFloating', 'allowPushing', 'allowResizing', 'cellAspectRatio', 'cellSpacing', 'columns', 'draggableHandle', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'locale', 'mediaQuery', 'panels', 'resizableHandles', 'showGridLines', 'change', 'created', 'destroyed', 'drag', 'dragStart', 'dragStop', 'resize', 'resizeStart', 'resizeStop'];
|
26
6
|
export var modelProps = [];
|
27
7
|
export var testProp = getProps({ props: properties });
|
28
|
-
export var props = testProp[0];
|
29
|
-
export var watch = testProp[1];
|
30
|
-
export var emitProbs = Object.keys(watch);
|
8
|
+
export var props = testProp[0], watch = testProp[1], emitProbs = Object.keys(watch);
|
31
9
|
emitProbs.push('modelchanged', 'update:modelValue');
|
32
10
|
for (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {
|
33
11
|
var props_1 = modelProps_1[_i];
|
@@ -39,126 +17,119 @@ for (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {
|
|
39
17
|
* <ejs-dashboardlayout></ejs-dashboardlayout>
|
40
18
|
* ```
|
41
19
|
*/
|
42
|
-
var DashboardLayoutComponent =
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
20
|
+
export var DashboardLayoutComponent = vueDefineComponent({
|
21
|
+
name: 'DashboardLayoutComponent',
|
22
|
+
mixins: [ComponentBase],
|
23
|
+
props: props,
|
24
|
+
watch: watch,
|
25
|
+
emits: emitProbs,
|
26
|
+
provide: function () { return { custom: this.custom }; },
|
27
|
+
data: function () {
|
28
|
+
return {
|
29
|
+
ej2Instance: new DashboardLayout({}),
|
30
|
+
propKeys: properties,
|
31
|
+
models: modelProps,
|
32
|
+
hasChildDirective: true,
|
33
|
+
hasInjectedModules: false,
|
34
|
+
tagMapper: { "e-panels": "e-panel" },
|
35
|
+
tagNameMapper: {},
|
36
|
+
isVue3: !isExecute,
|
37
|
+
templateCollection: {},
|
38
|
+
};
|
39
|
+
},
|
40
|
+
created: function () {
|
41
|
+
this.bindProperties();
|
42
|
+
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
43
|
+
this.ej2Instances.setProperties = this.setProperties;
|
44
|
+
this.ej2Instances.clearTemplate = this.clearTemplate;
|
45
|
+
this.updated = this.updated;
|
46
|
+
},
|
47
|
+
render: function (createElement) {
|
48
|
+
var h = !isExecute ? gh : createElement;
|
49
|
+
var slots = null;
|
50
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
51
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
64
52
|
}
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
53
|
+
return h('div', slots);
|
54
|
+
},
|
55
|
+
methods: {
|
56
|
+
clearTemplate: function (templateNames) {
|
57
|
+
if (!templateNames) {
|
58
|
+
templateNames = Object.keys(this.templateCollection || {});
|
59
|
+
}
|
60
|
+
if (templateNames.length && this.templateCollection) {
|
61
|
+
for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {
|
62
|
+
var tempName = templateNames_1[_i];
|
63
|
+
var elementCollection = this.templateCollection[tempName];
|
64
|
+
if (elementCollection && elementCollection.length) {
|
65
|
+
for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {
|
66
|
+
var ele = elementCollection_1[_a];
|
67
|
+
var destroy = getValue('__vue__.$destroy', ele);
|
68
|
+
if (destroy) {
|
69
|
+
ele.__vue__.$destroy();
|
70
|
+
}
|
71
|
+
if (ele.innerHTML) {
|
72
|
+
ele.innerHTML = '';
|
73
|
+
}
|
78
74
|
}
|
75
|
+
delete this.templateCollection[tempName];
|
79
76
|
}
|
80
|
-
delete this.templateCollection[tempName];
|
81
77
|
}
|
82
78
|
}
|
83
|
-
}
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
79
|
+
},
|
80
|
+
setProperties: function (prop, muteOnChange) {
|
81
|
+
var _this = this;
|
82
|
+
if (this.isVue3) {
|
83
|
+
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
84
|
+
}
|
85
|
+
if (this.ej2Instances && this.ej2Instances._setProperties) {
|
86
|
+
this.ej2Instances._setProperties(prop, muteOnChange);
|
87
|
+
}
|
88
|
+
if (prop && this.models && this.models.length) {
|
89
|
+
Object.keys(prop).map(function (key) {
|
90
|
+
_this.models.map(function (model) {
|
91
|
+
if ((key === model) && !(/datasource/i.test(key))) {
|
92
|
+
if (_this.isVue3) {
|
93
|
+
_this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);
|
94
|
+
}
|
95
|
+
else {
|
96
|
+
_this.$emit('update:' + key, prop[key]);
|
97
|
+
_this.$emit('modelchanged', prop[key]);
|
98
|
+
}
|
103
99
|
}
|
104
|
-
}
|
100
|
+
});
|
105
101
|
});
|
106
|
-
});
|
107
|
-
}
|
108
|
-
};
|
109
|
-
DashboardLayoutComponent.prototype.render = function (createElement) {
|
110
|
-
var h = !isExecute ? gh : createElement;
|
111
|
-
var slots = null;
|
112
|
-
if (!isNullOrUndefined(this.$slots.default)) {
|
113
|
-
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
114
|
-
}
|
115
|
-
return h('div', slots);
|
116
|
-
};
|
117
|
-
DashboardLayoutComponent.prototype.custom = function () {
|
118
|
-
this.updated();
|
119
|
-
};
|
120
|
-
DashboardLayoutComponent.prototype.addPanel = function (panel) {
|
121
|
-
return this.ej2Instances.addPanel(panel);
|
122
|
-
};
|
123
|
-
DashboardLayoutComponent.prototype.movePanel = function (id, row, col) {
|
124
|
-
return this.ej2Instances.movePanel(id, row, col);
|
125
|
-
};
|
126
|
-
DashboardLayoutComponent.prototype.refresh = function () {
|
127
|
-
return this.ej2Instances.refresh();
|
128
|
-
};
|
129
|
-
DashboardLayoutComponent.prototype.removeAll = function () {
|
130
|
-
return this.ej2Instances.removeAll();
|
131
|
-
};
|
132
|
-
DashboardLayoutComponent.prototype.removePanel = function (id) {
|
133
|
-
return this.ej2Instances.removePanel(id);
|
134
|
-
};
|
135
|
-
DashboardLayoutComponent.prototype.resizePanel = function (id, sizeX, sizeY) {
|
136
|
-
return this.ej2Instances.resizePanel(id, sizeX, sizeY);
|
137
|
-
};
|
138
|
-
DashboardLayoutComponent.prototype.serialize = function () {
|
139
|
-
return this.ej2Instances.serialize();
|
140
|
-
};
|
141
|
-
DashboardLayoutComponent.prototype.updatePanel = function (panel) {
|
142
|
-
return this.ej2Instances.updatePanel(panel);
|
143
|
-
};
|
144
|
-
DashboardLayoutComponent = __decorate([
|
145
|
-
EJComponentDecorator({
|
146
|
-
props: properties
|
147
|
-
}, isExecute)
|
148
|
-
,Options({
|
149
|
-
props: props,
|
150
|
-
watch: watch,
|
151
|
-
emits: emitProbs,
|
152
|
-
provide: function provide() {
|
153
|
-
return {
|
154
|
-
custom: this.custom
|
155
|
-
};
|
156
102
|
}
|
157
|
-
}
|
158
|
-
|
159
|
-
|
160
|
-
}
|
161
|
-
|
103
|
+
},
|
104
|
+
custom: function () {
|
105
|
+
this.updated();
|
106
|
+
},
|
107
|
+
addPanel: function (panel) {
|
108
|
+
return this.ej2Instances.addPanel(panel);
|
109
|
+
},
|
110
|
+
movePanel: function (id, row, col) {
|
111
|
+
return this.ej2Instances.movePanel(id, row, col);
|
112
|
+
},
|
113
|
+
refresh: function () {
|
114
|
+
return this.ej2Instances.refresh();
|
115
|
+
},
|
116
|
+
removeAll: function () {
|
117
|
+
return this.ej2Instances.removeAll();
|
118
|
+
},
|
119
|
+
removePanel: function (id) {
|
120
|
+
return this.ej2Instances.removePanel(id);
|
121
|
+
},
|
122
|
+
resizePanel: function (id, sizeX, sizeY) {
|
123
|
+
return this.ej2Instances.resizePanel(id, sizeX, sizeY);
|
124
|
+
},
|
125
|
+
serialize: function () {
|
126
|
+
return this.ej2Instances.serialize();
|
127
|
+
},
|
128
|
+
updatePanel: function (panel) {
|
129
|
+
return this.ej2Instances.updatePanel(panel);
|
130
|
+
},
|
131
|
+
}
|
132
|
+
});
|
162
133
|
export var DashboardLayoutPlugin = {
|
163
134
|
name: 'ejs-dashboardlayout',
|
164
135
|
install: function (Vue) {
|
@@ -1,10 +1,4 @@
|
|
1
|
-
declare let
|
2
|
-
export declare class PanelsDirective extends vueImport {
|
3
|
-
constructor();
|
4
|
-
render(createElement: any): void;
|
5
|
-
updated(): void;
|
6
|
-
getTag(): string;
|
7
|
-
}
|
1
|
+
export declare let PanelsDirective: any;
|
8
2
|
export declare const PanelsPlugin: {
|
9
3
|
name: string;
|
10
4
|
install(Vue: any): void;
|
@@ -21,12 +15,8 @@ export declare const PanelsPlugin: {
|
|
21
15
|
* </ejs-dashboardlayout>
|
22
16
|
* ```
|
23
17
|
*/
|
24
|
-
export declare
|
25
|
-
render(): void;
|
26
|
-
getTag(): string;
|
27
|
-
}
|
18
|
+
export declare let PanelDirective: any;
|
28
19
|
export declare const PanelPlugin: {
|
29
20
|
name: string;
|
30
21
|
install(Vue: any): void;
|
31
22
|
};
|
32
|
-
export {};
|
@@ -1,40 +1,8 @@
|
|
1
|
-
|
2
|
-
var extendStatics = function (d, b) {
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
6
|
-
return extendStatics(d, b);
|
7
|
-
};
|
8
|
-
return function (d, b) {
|
9
|
-
extendStatics(d, b);
|
10
|
-
function __() { this.constructor = d; }
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
12
|
-
};
|
13
|
-
})();
|
14
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
15
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
16
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
17
|
-
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;
|
18
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
19
|
-
};
|
20
|
-
import { EJComponentDecorator, allVue, gh, isExecute } from '@syncfusion/ej2-vue-base';
|
21
|
-
import * as Vue3 from 'vue-class-component';
|
1
|
+
import { gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';
|
22
2
|
import { isNullOrUndefined } from '@syncfusion/ej2-base';
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
if (!isExecute || parseInt(allVue.version) < 3) {
|
27
|
-
vueImport = Vue3.Vue;
|
28
|
-
}
|
29
|
-
else {
|
30
|
-
vueImport = Vue;
|
31
|
-
}
|
32
|
-
var PanelsDirective = /** @class */ (function (_super) {
|
33
|
-
__extends(PanelsDirective, _super);
|
34
|
-
function PanelsDirective() {
|
35
|
-
return _super.call(this, arguments) || this;
|
36
|
-
}
|
37
|
-
PanelsDirective.prototype.render = function (createElement) {
|
3
|
+
export var PanelsDirective = vueDefineComponent({
|
4
|
+
inject: { custom: { default: null } },
|
5
|
+
render: function (createElement) {
|
38
6
|
if (!isExecute) {
|
39
7
|
var h = !isExecute ? gh : createElement;
|
40
8
|
var slots = null;
|
@@ -44,28 +12,18 @@ var PanelsDirective = /** @class */ (function (_super) {
|
|
44
12
|
return h('div', { class: 'e-directive' }, slots);
|
45
13
|
}
|
46
14
|
return;
|
47
|
-
}
|
48
|
-
|
15
|
+
},
|
16
|
+
updated: function () {
|
49
17
|
if (!isExecute && this.custom) {
|
50
18
|
this.custom();
|
51
19
|
}
|
52
|
-
}
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
inject: {
|
60
|
-
custom: {
|
61
|
-
default: null
|
62
|
-
}
|
63
|
-
}
|
64
|
-
})
|
65
|
-
], PanelsDirective);
|
66
|
-
return PanelsDirective;
|
67
|
-
}(vueImport));
|
68
|
-
export { PanelsDirective };
|
20
|
+
},
|
21
|
+
methods: {
|
22
|
+
getTag: function () {
|
23
|
+
return 'e-panels';
|
24
|
+
}
|
25
|
+
}
|
26
|
+
});
|
69
27
|
export var PanelsPlugin = {
|
70
28
|
name: 'e-panels',
|
71
29
|
install: function (Vue) {
|
@@ -84,23 +42,16 @@ export var PanelsPlugin = {
|
|
84
42
|
* </ejs-dashboardlayout>
|
85
43
|
* ```
|
86
44
|
*/
|
87
|
-
var PanelDirective =
|
88
|
-
|
89
|
-
function PanelDirective() {
|
90
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
91
|
-
}
|
92
|
-
PanelDirective.prototype.render = function () {
|
45
|
+
export var PanelDirective = vueDefineComponent({
|
46
|
+
render: function () {
|
93
47
|
return;
|
94
|
-
}
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
return PanelDirective;
|
102
|
-
}(vueImport));
|
103
|
-
export { PanelDirective };
|
48
|
+
},
|
49
|
+
methods: {
|
50
|
+
getTag: function () {
|
51
|
+
return 'e-panel';
|
52
|
+
}
|
53
|
+
}
|
54
|
+
});
|
104
55
|
export var PanelPlugin = {
|
105
56
|
name: 'e-panel',
|
106
57
|
install: function (Vue) {
|
@@ -1,10 +1,4 @@
|
|
1
|
-
declare let
|
2
|
-
export declare class PanesDirective extends vueImport {
|
3
|
-
constructor();
|
4
|
-
render(createElement: any): void;
|
5
|
-
updated(): void;
|
6
|
-
getTag(): string;
|
7
|
-
}
|
1
|
+
export declare let PanesDirective: any;
|
8
2
|
export declare const PanesPlugin: {
|
9
3
|
name: string;
|
10
4
|
install(Vue: any): void;
|
@@ -21,12 +15,8 @@ export declare const PanesPlugin: {
|
|
21
15
|
* </ejs-splitter>
|
22
16
|
* ```
|
23
17
|
*/
|
24
|
-
export declare
|
25
|
-
render(): void;
|
26
|
-
getTag(): string;
|
27
|
-
}
|
18
|
+
export declare let PaneDirective: any;
|
28
19
|
export declare const PanePlugin: {
|
29
20
|
name: string;
|
30
21
|
install(Vue: any): void;
|
31
22
|
};
|
32
|
-
export {};
|
@@ -1,40 +1,8 @@
|
|
1
|
-
|
2
|
-
var extendStatics = function (d, b) {
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
6
|
-
return extendStatics(d, b);
|
7
|
-
};
|
8
|
-
return function (d, b) {
|
9
|
-
extendStatics(d, b);
|
10
|
-
function __() { this.constructor = d; }
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
12
|
-
};
|
13
|
-
})();
|
14
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
15
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
16
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
17
|
-
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;
|
18
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
19
|
-
};
|
20
|
-
import { EJComponentDecorator, allVue, gh, isExecute } from '@syncfusion/ej2-vue-base';
|
21
|
-
import * as Vue3 from 'vue-class-component';
|
1
|
+
import { gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';
|
22
2
|
import { isNullOrUndefined } from '@syncfusion/ej2-base';
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
if (!isExecute || parseInt(allVue.version) < 3) {
|
27
|
-
vueImport = Vue3.Vue;
|
28
|
-
}
|
29
|
-
else {
|
30
|
-
vueImport = Vue;
|
31
|
-
}
|
32
|
-
var PanesDirective = /** @class */ (function (_super) {
|
33
|
-
__extends(PanesDirective, _super);
|
34
|
-
function PanesDirective() {
|
35
|
-
return _super.call(this, arguments) || this;
|
36
|
-
}
|
37
|
-
PanesDirective.prototype.render = function (createElement) {
|
3
|
+
export var PanesDirective = vueDefineComponent({
|
4
|
+
inject: { custom: { default: null } },
|
5
|
+
render: function (createElement) {
|
38
6
|
if (!isExecute) {
|
39
7
|
var h = !isExecute ? gh : createElement;
|
40
8
|
var slots = null;
|
@@ -44,28 +12,18 @@ var PanesDirective = /** @class */ (function (_super) {
|
|
44
12
|
return h('div', { class: 'e-directive' }, slots);
|
45
13
|
}
|
46
14
|
return;
|
47
|
-
}
|
48
|
-
|
15
|
+
},
|
16
|
+
updated: function () {
|
49
17
|
if (!isExecute && this.custom) {
|
50
18
|
this.custom();
|
51
19
|
}
|
52
|
-
}
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
inject: {
|
60
|
-
custom: {
|
61
|
-
default: null
|
62
|
-
}
|
63
|
-
}
|
64
|
-
})
|
65
|
-
], PanesDirective);
|
66
|
-
return PanesDirective;
|
67
|
-
}(vueImport));
|
68
|
-
export { PanesDirective };
|
20
|
+
},
|
21
|
+
methods: {
|
22
|
+
getTag: function () {
|
23
|
+
return 'e-panes';
|
24
|
+
}
|
25
|
+
}
|
26
|
+
});
|
69
27
|
export var PanesPlugin = {
|
70
28
|
name: 'e-panes',
|
71
29
|
install: function (Vue) {
|
@@ -84,23 +42,16 @@ export var PanesPlugin = {
|
|
84
42
|
* </ejs-splitter>
|
85
43
|
* ```
|
86
44
|
*/
|
87
|
-
var PaneDirective =
|
88
|
-
|
89
|
-
function PaneDirective() {
|
90
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
91
|
-
}
|
92
|
-
PaneDirective.prototype.render = function () {
|
45
|
+
export var PaneDirective = vueDefineComponent({
|
46
|
+
render: function () {
|
93
47
|
return;
|
94
|
-
}
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
return PaneDirective;
|
102
|
-
}(vueImport));
|
103
|
-
export { PaneDirective };
|
48
|
+
},
|
49
|
+
methods: {
|
50
|
+
getTag: function () {
|
51
|
+
return 'e-pane';
|
52
|
+
}
|
53
|
+
}
|
54
|
+
});
|
104
55
|
export var PanePlugin = {
|
105
56
|
name: 'e-pane',
|
106
57
|
install: function (Vue) {
|