@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.
Files changed (97) hide show
  1. package/CHANGELOG.md +19 -3
  2. package/dist/ej2-vue-layouts.umd.min.js +2 -2
  3. package/dist/ej2-vue-layouts.umd.min.js.map +1 -1
  4. package/dist/es6/ej2-vue-layouts.es2015.js +226 -336
  5. package/dist/es6/ej2-vue-layouts.es2015.js.map +1 -1
  6. package/dist/es6/ej2-vue-layouts.es5.js +257 -401
  7. package/dist/es6/ej2-vue-layouts.es5.js.map +1 -1
  8. package/dist/global/ej2-vue-layouts.min.js +2 -2
  9. package/package.json +11 -10
  10. package/src/dashboard-layout/dashboardlayout.component.d.ts +3 -30
  11. package/src/dashboard-layout/dashboardlayout.component.js +107 -136
  12. package/src/dashboard-layout/panels.directive.d.ts +2 -12
  13. package/src/dashboard-layout/panels.directive.js +22 -71
  14. package/src/splitter/panesettings.directive.d.ts +2 -12
  15. package/src/splitter/panesettings.directive.js +22 -71
  16. package/src/splitter/splitter.component.d.ts +3 -26
  17. package/src/splitter/splitter.component.js +95 -124
  18. package/styles/avatar/bootstrap-dark.css +3 -0
  19. package/styles/avatar/bootstrap.css +3 -0
  20. package/styles/avatar/bootstrap4.css +3 -0
  21. package/styles/avatar/bootstrap5-dark.css +3 -0
  22. package/styles/avatar/bootstrap5.css +3 -0
  23. package/styles/avatar/fabric-dark.css +3 -0
  24. package/styles/avatar/fabric.css +3 -0
  25. package/styles/avatar/fluent-dark.css +3 -0
  26. package/styles/avatar/fluent.css +3 -0
  27. package/styles/avatar/highcontrast-light.css +3 -0
  28. package/styles/avatar/highcontrast.css +3 -0
  29. package/styles/avatar/material-dark.css +3 -0
  30. package/styles/avatar/material.css +3 -0
  31. package/styles/avatar/material3-dark.css +114 -0
  32. package/styles/avatar/material3-dark.scss +2 -0
  33. package/styles/avatar/material3.css +170 -0
  34. package/styles/avatar/material3.scss +2 -0
  35. package/styles/avatar/tailwind-dark.css +3 -0
  36. package/styles/avatar/tailwind.css +3 -0
  37. package/styles/bootstrap-dark.css +7 -1
  38. package/styles/bootstrap.css +7 -1
  39. package/styles/bootstrap4.css +10 -3
  40. package/styles/bootstrap5-dark.css +7 -1
  41. package/styles/bootstrap5.css +7 -1
  42. package/styles/card/bootstrap-dark.css +2 -1
  43. package/styles/card/bootstrap.css +2 -1
  44. package/styles/card/bootstrap4.css +5 -3
  45. package/styles/card/bootstrap5-dark.css +2 -1
  46. package/styles/card/bootstrap5.css +2 -1
  47. package/styles/card/fabric-dark.css +2 -1
  48. package/styles/card/fabric.css +3 -2
  49. package/styles/card/fluent-dark.css +2 -1
  50. package/styles/card/fluent.css +2 -1
  51. package/styles/card/highcontrast-light.css +2 -1
  52. package/styles/card/highcontrast.css +3 -2
  53. package/styles/card/material-dark.css +2 -1
  54. package/styles/card/material.css +2 -1
  55. package/styles/card/material3-dark.css +567 -0
  56. package/styles/card/material3-dark.scss +2 -0
  57. package/styles/card/material3.css +623 -0
  58. package/styles/card/material3.scss +2 -0
  59. package/styles/card/tailwind-dark.css +2 -1
  60. package/styles/card/tailwind.css +2 -1
  61. package/styles/dashboard-layout/material3-dark.css +357 -0
  62. package/styles/dashboard-layout/material3-dark.scss +2 -0
  63. package/styles/dashboard-layout/material3.css +413 -0
  64. package/styles/dashboard-layout/material3.scss +2 -0
  65. package/styles/fabric-dark.css +7 -1
  66. package/styles/fabric.css +8 -2
  67. package/styles/fluent-dark.css +7 -1
  68. package/styles/fluent.css +7 -1
  69. package/styles/highcontrast-light.css +7 -1
  70. package/styles/highcontrast.css +8 -2
  71. package/styles/material-dark.css +7 -1
  72. package/styles/material.css +7 -1
  73. package/styles/material3-dark.css +1585 -0
  74. package/styles/material3-dark.scss +5 -0
  75. package/styles/material3.css +1806 -0
  76. package/styles/material3.scss +5 -0
  77. package/styles/splitter/bootstrap-dark.css +2 -0
  78. package/styles/splitter/bootstrap.css +2 -0
  79. package/styles/splitter/bootstrap4.css +2 -0
  80. package/styles/splitter/bootstrap5-dark.css +2 -0
  81. package/styles/splitter/bootstrap5.css +2 -0
  82. package/styles/splitter/fabric-dark.css +2 -0
  83. package/styles/splitter/fabric.css +2 -0
  84. package/styles/splitter/fluent-dark.css +2 -0
  85. package/styles/splitter/fluent.css +2 -0
  86. package/styles/splitter/highcontrast-light.css +2 -0
  87. package/styles/splitter/highcontrast.css +2 -0
  88. package/styles/splitter/material-dark.css +2 -0
  89. package/styles/splitter/material.css +2 -0
  90. package/styles/splitter/material3-dark.css +545 -0
  91. package/styles/splitter/material3-dark.scss +2 -0
  92. package/styles/splitter/material3.css +601 -0
  93. package/styles/splitter/material3.scss +2 -0
  94. package/styles/splitter/tailwind-dark.css +2 -0
  95. package/styles/splitter/tailwind.css +2 -0
  96. package/styles/tailwind-dark.css +7 -1
  97. 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@20.4.48",
3
+ "_id": "@syncfusion/ej2-vue-layouts@22.1.34",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-Yf+ZjXFWHNI764rCOTkmmaliXL6bmdaWMWlGv/Biw/0jCqMdoeYMDdfWhVLJiw+8DGIZ0knKO0MpDnc2pCaVug==",
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-20.4.48.tgz",
23
- "_shasum": "2d92bb6b4a059ae7ef3d8b524077a453443c34ba",
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/ease-automation_release_19.1.0.1/packages/included",
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": "~20.4.51",
35
- "@syncfusion/ej2-layouts": "20.4.53",
36
- "@syncfusion/ej2-vue-base": "~20.4.51"
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
- "postinstall": "node ../ej2-vue-base/postinstall.js"
60
+ "ci-publish": "gulp ci-publish",
61
+ "compile": "gulp ci-compile && gulp vue-global-script"
61
62
  },
62
- "version": "20.4.53",
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 class DashboardLayoutComponent extends ComponentBase {
15
- ej2Instances: any;
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
- var __extends = (this && this.__extends) || (function () {
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 = /** @class */ (function (_super) {
43
- __extends(DashboardLayoutComponent, _super);
44
- function DashboardLayoutComponent() {
45
- var _this = _super.call(this, arguments) || this;
46
- _this.propKeys = properties;
47
- _this.models = modelProps;
48
- _this.hasChildDirective = true;
49
- _this.hasInjectedModules = false;
50
- _this.tagMapper = { "e-panels": "e-panel" };
51
- _this.tagNameMapper = {};
52
- _this.isVue3 = !isExecute;
53
- _this.ej2Instances = new DashboardLayout({});
54
- _this.bindProperties();
55
- _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
56
- _this.ej2Instances.setProperties = _this.setProperties;
57
- _this.ej2Instances.clearTemplate = _this.clearTemplate;
58
- _this.updated = _this.updated;
59
- return _this;
60
- }
61
- DashboardLayoutComponent.prototype.clearTemplate = function (templateNames) {
62
- if (!templateNames) {
63
- templateNames = Object.keys(this.templateCollection || {});
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
- if (templateNames.length && this.templateCollection) {
66
- for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {
67
- var tempName = templateNames_1[_i];
68
- var elementCollection = this.templateCollection[tempName];
69
- if (elementCollection && elementCollection.length) {
70
- for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {
71
- var ele = elementCollection_1[_a];
72
- var destroy = getValue('__vue__.$destroy', ele);
73
- if (destroy) {
74
- ele.__vue__.$destroy();
75
- }
76
- if (ele.innerHTML) {
77
- ele.innerHTML = '';
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
- DashboardLayoutComponent.prototype.setProperties = function (prop, muteOnChange) {
86
- var _this = this;
87
- if (this.isVue3) {
88
- this.models = !this.models ? this.ej2Instances.referModels : this.models;
89
- }
90
- if (this.ej2Instances && this.ej2Instances._setProperties) {
91
- this.ej2Instances._setProperties(prop, muteOnChange);
92
- }
93
- if (prop && this.models && this.models.length) {
94
- Object.keys(prop).map(function (key) {
95
- _this.models.map(function (model) {
96
- if ((key === model) && !(/datasource/i.test(key))) {
97
- if (_this.isVue3) {
98
- _this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);
99
- }
100
- else {
101
- _this.$emit('update:' + key, prop[key]);
102
- _this.$emit('modelchanged', prop[key]);
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
- ], DashboardLayoutComponent);
159
- return DashboardLayoutComponent;
160
- }(ComponentBase));
161
- export { DashboardLayoutComponent };
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 vueImport: any;
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 class PanelDirective extends vueImport {
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
- var __extends = (this && this.__extends) || (function () {
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
- import Vue from 'vue';
24
- import { Options } from 'vue-class-component';
25
- var vueImport;
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
- PanelsDirective.prototype.updated = function () {
15
+ },
16
+ updated: function () {
49
17
  if (!isExecute && this.custom) {
50
18
  this.custom();
51
19
  }
52
- };
53
- PanelsDirective.prototype.getTag = function () {
54
- return 'e-panels';
55
- };
56
- PanelsDirective = __decorate([
57
- EJComponentDecorator({}, isExecute)
58
- ,Options({
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 = /** @class */ (function (_super) {
88
- __extends(PanelDirective, _super);
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
- PanelDirective.prototype.getTag = function () {
96
- return 'e-panel';
97
- };
98
- PanelDirective = __decorate([
99
- EJComponentDecorator({}, isExecute)
100
- ], PanelDirective);
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 vueImport: any;
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 class PaneDirective extends vueImport {
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
- var __extends = (this && this.__extends) || (function () {
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
- import Vue from 'vue';
24
- import { Options } from 'vue-class-component';
25
- var vueImport;
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
- PanesDirective.prototype.updated = function () {
15
+ },
16
+ updated: function () {
49
17
  if (!isExecute && this.custom) {
50
18
  this.custom();
51
19
  }
52
- };
53
- PanesDirective.prototype.getTag = function () {
54
- return 'e-panes';
55
- };
56
- PanesDirective = __decorate([
57
- EJComponentDecorator({}, isExecute)
58
- ,Options({
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 = /** @class */ (function (_super) {
88
- __extends(PaneDirective, _super);
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
- PaneDirective.prototype.getTag = function () {
96
- return 'e-pane';
97
- };
98
- PaneDirective = __decorate([
99
- EJComponentDecorator({}, isExecute)
100
- ], PaneDirective);
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) {