@syncfusion/ej2-vue-diagrams 20.4.53 → 21.1.35

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 (65) hide show
  1. package/CHANGELOG.md +12 -3
  2. package/dist/ej2-vue-diagrams.umd.min.js +2 -2
  3. package/dist/ej2-vue-diagrams.umd.min.js.map +1 -1
  4. package/dist/es6/ej2-vue-diagrams.es2015.js +750 -1145
  5. package/dist/es6/ej2-vue-diagrams.es2015.js.map +1 -1
  6. package/dist/es6/ej2-vue-diagrams.es5.js +830 -1360
  7. package/dist/es6/ej2-vue-diagrams.es5.js.map +1 -1
  8. package/dist/global/ej2-vue-diagrams.min.js +2 -2
  9. package/package.json +9 -9
  10. package/src/diagram/connector-annotation.directive.d.ts +2 -12
  11. package/src/diagram/connector-annotation.directive.js +22 -71
  12. package/src/diagram/connector-fixeduserhandle.directive.d.ts +2 -12
  13. package/src/diagram/connector-fixeduserhandle.directive.js +22 -71
  14. package/src/diagram/connectors.directive.d.ts +2 -12
  15. package/src/diagram/connectors.directive.js +22 -71
  16. package/src/diagram/customcursor.directive.d.ts +2 -12
  17. package/src/diagram/customcursor.directive.js +22 -71
  18. package/src/diagram/diagram.component.d.ts +3 -120
  19. package/src/diagram/diagram.component.js +378 -407
  20. package/src/diagram/layers.directive.d.ts +2 -12
  21. package/src/diagram/layers.directive.js +22 -71
  22. package/src/diagram/node-annotation.directive.d.ts +2 -12
  23. package/src/diagram/node-annotation.directive.js +22 -71
  24. package/src/diagram/node-fixeduserhandle.directive.d.ts +2 -12
  25. package/src/diagram/node-fixeduserhandle.directive.js +22 -71
  26. package/src/diagram/nodes.directive.d.ts +2 -12
  27. package/src/diagram/nodes.directive.js +22 -71
  28. package/src/diagram/ports.directive.d.ts +2 -12
  29. package/src/diagram/ports.directive.js +22 -71
  30. package/src/overview/overview.component.d.ts +3 -23
  31. package/src/overview/overview.component.js +86 -115
  32. package/src/symbol-palette/palettes.directive.d.ts +2 -12
  33. package/src/symbol-palette/palettes.directive.js +22 -71
  34. package/src/symbol-palette/symbolpalette.component.d.ts +3 -26
  35. package/src/symbol-palette/symbolpalette.component.js +95 -124
  36. package/styles/bootstrap-dark.css +22 -11
  37. package/styles/bootstrap.css +22 -11
  38. package/styles/bootstrap4.css +22 -11
  39. package/styles/bootstrap5-dark.css +24 -13
  40. package/styles/bootstrap5.css +24 -13
  41. package/styles/diagram/bootstrap-dark.css +22 -11
  42. package/styles/diagram/bootstrap.css +22 -11
  43. package/styles/diagram/bootstrap4.css +22 -11
  44. package/styles/diagram/bootstrap5-dark.css +24 -13
  45. package/styles/diagram/bootstrap5.css +24 -13
  46. package/styles/diagram/fabric-dark.css +22 -11
  47. package/styles/diagram/fabric.css +22 -11
  48. package/styles/diagram/fluent-dark.css +24 -13
  49. package/styles/diagram/fluent.css +24 -13
  50. package/styles/diagram/highcontrast-light.css +22 -11
  51. package/styles/diagram/highcontrast.css +22 -11
  52. package/styles/diagram/material-dark.css +22 -11
  53. package/styles/diagram/material.css +22 -11
  54. package/styles/diagram/tailwind-dark.css +23 -12
  55. package/styles/diagram/tailwind.css +23 -12
  56. package/styles/fabric-dark.css +22 -11
  57. package/styles/fabric.css +22 -11
  58. package/styles/fluent-dark.css +24 -13
  59. package/styles/fluent.css +24 -13
  60. package/styles/highcontrast-light.css +22 -11
  61. package/styles/highcontrast.css +22 -11
  62. package/styles/material-dark.css +22 -11
  63. package/styles/material.css +22 -11
  64. package/styles/tailwind-dark.css +23 -12
  65. package/styles/tailwind.css +23 -12
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-vue-diagrams@*",
3
- "_id": "@syncfusion/ej2-vue-diagrams@20.4.52",
3
+ "_id": "@syncfusion/ej2-vue-diagrams@19.14.9",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-oMBGOKlsKPYhkviT16zP7sF9+Y023DinHaDHqN8YDUGjkSLHBshpkmBOGU+EV9HrB+PVHBjVRClvKsEOA6dXyg==",
5
+ "_integrity": "sha512-99KxOnz4/nzorUFDqnoofw/vLGTIokF3BbrIeF3HTA+amgQqVi6D60OEcykGhKPDblEHHTeAU/CAvKKCEoxcIQ==",
6
6
  "_location": "/@syncfusion/ej2-vue-diagrams",
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-diagrams/-/ej2-vue-diagrams-20.4.52.tgz",
23
- "_shasum": "c54b2da2c98fd654a2b72bc072d220bff9051465",
22
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-vue-diagrams/-/ej2-vue-diagrams-19.14.9.tgz",
23
+ "_shasum": "c9025ea9ce5bd9087245ca0165776b1be739e3e6",
24
24
  "_spec": "@syncfusion/ej2-vue-diagrams@*",
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-diagrams": "20.4.53",
36
- "@syncfusion/ej2-vue-base": "~20.4.51"
34
+ "@syncfusion/ej2-base": "~21.1.35",
35
+ "@syncfusion/ej2-diagrams": "21.1.35",
36
+ "@syncfusion/ej2-vue-base": "~21.1.35"
37
37
  },
38
38
  "deprecated": false,
39
39
  "description": "Feature-rich diagram control to create diagrams like flow charts, organizational charts, mind maps, and BPMN diagrams. Its rich feature set includes built-in shapes, editing, serializing, exporting, printing, overview, data binding, and automatic layouts. for Vue",
@@ -56,6 +56,6 @@
56
56
  "scripts": {
57
57
  "postinstall": "node ../ej2-vue-base/postinstall.js"
58
58
  },
59
- "version": "20.4.53",
59
+ "version": "21.1.35",
60
60
  "sideEffects": false
61
61
  }
@@ -1,10 +1,4 @@
1
- declare let vueImport: any;
2
- export declare class ConnectorAnnotationsDirective extends vueImport {
3
- constructor();
4
- render(createElement: any): void;
5
- updated(): void;
6
- getTag(): string;
7
- }
1
+ export declare let ConnectorAnnotationsDirective: any;
8
2
  export declare const ConnectorAnnotationsPlugin: {
9
3
  name: string;
10
4
  install(Vue: any): void;
@@ -25,12 +19,8 @@ export declare const ConnectorAnnotationsPlugin: {
25
19
  * </ejs-diagram>
26
20
  * ```
27
21
  */
28
- export declare class ConnectorAnnotationDirective extends vueImport {
29
- render(): void;
30
- getTag(): string;
31
- }
22
+ export declare let ConnectorAnnotationDirective: any;
32
23
  export declare const ConnectorAnnotationPlugin: {
33
24
  name: string;
34
25
  install(Vue: any): void;
35
26
  };
36
- 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 ConnectorAnnotationsDirective = /** @class */ (function (_super) {
33
- __extends(ConnectorAnnotationsDirective, _super);
34
- function ConnectorAnnotationsDirective() {
35
- return _super.call(this, arguments) || this;
36
- }
37
- ConnectorAnnotationsDirective.prototype.render = function (createElement) {
3
+ export var ConnectorAnnotationsDirective = 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 ConnectorAnnotationsDirective = /** @class */ (function (_super) {
44
12
  return h('div', { class: 'e-directive' }, slots);
45
13
  }
46
14
  return;
47
- };
48
- ConnectorAnnotationsDirective.prototype.updated = function () {
15
+ },
16
+ updated: function () {
49
17
  if (!isExecute && this.custom) {
50
18
  this.custom();
51
19
  }
52
- };
53
- ConnectorAnnotationsDirective.prototype.getTag = function () {
54
- return 'e-connector-annotations';
55
- };
56
- ConnectorAnnotationsDirective = __decorate([
57
- EJComponentDecorator({}, isExecute)
58
- ,Options({
59
- inject: {
60
- custom: {
61
- default: null
62
- }
63
- }
64
- })
65
- ], ConnectorAnnotationsDirective);
66
- return ConnectorAnnotationsDirective;
67
- }(vueImport));
68
- export { ConnectorAnnotationsDirective };
20
+ },
21
+ methods: {
22
+ getTag: function () {
23
+ return 'e-connector-annotations';
24
+ }
25
+ }
26
+ });
69
27
  export var ConnectorAnnotationsPlugin = {
70
28
  name: 'e-connector-annotations',
71
29
  install: function (Vue) {
@@ -88,23 +46,16 @@ export var ConnectorAnnotationsPlugin = {
88
46
  * </ejs-diagram>
89
47
  * ```
90
48
  */
91
- var ConnectorAnnotationDirective = /** @class */ (function (_super) {
92
- __extends(ConnectorAnnotationDirective, _super);
93
- function ConnectorAnnotationDirective() {
94
- return _super !== null && _super.apply(this, arguments) || this;
95
- }
96
- ConnectorAnnotationDirective.prototype.render = function () {
49
+ export var ConnectorAnnotationDirective = vueDefineComponent({
50
+ render: function () {
97
51
  return;
98
- };
99
- ConnectorAnnotationDirective.prototype.getTag = function () {
100
- return 'e-connector-annotation';
101
- };
102
- ConnectorAnnotationDirective = __decorate([
103
- EJComponentDecorator({}, isExecute)
104
- ], ConnectorAnnotationDirective);
105
- return ConnectorAnnotationDirective;
106
- }(vueImport));
107
- export { ConnectorAnnotationDirective };
52
+ },
53
+ methods: {
54
+ getTag: function () {
55
+ return 'e-connector-annotation';
56
+ }
57
+ }
58
+ });
108
59
  export var ConnectorAnnotationPlugin = {
109
60
  name: 'e-connector-annotation',
110
61
  install: function (Vue) {
@@ -1,10 +1,4 @@
1
- declare let vueImport: any;
2
- export declare class ConnectorFixedUserHandlesDirective extends vueImport {
3
- constructor();
4
- render(createElement: any): void;
5
- updated(): void;
6
- getTag(): string;
7
- }
1
+ export declare let ConnectorFixedUserHandlesDirective: any;
8
2
  export declare const ConnectorFixedUserHandlesPlugin: {
9
3
  name: string;
10
4
  install(Vue: any): void;
@@ -25,12 +19,8 @@ export declare const ConnectorFixedUserHandlesPlugin: {
25
19
  * </ejs-diagram>
26
20
  * ```
27
21
  */
28
- export declare class ConnectorFixedUserHandleDirective extends vueImport {
29
- render(): void;
30
- getTag(): string;
31
- }
22
+ export declare let ConnectorFixedUserHandleDirective: any;
32
23
  export declare const ConnectorFixedUserHandlePlugin: {
33
24
  name: string;
34
25
  install(Vue: any): void;
35
26
  };
36
- 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 ConnectorFixedUserHandlesDirective = /** @class */ (function (_super) {
33
- __extends(ConnectorFixedUserHandlesDirective, _super);
34
- function ConnectorFixedUserHandlesDirective() {
35
- return _super.call(this, arguments) || this;
36
- }
37
- ConnectorFixedUserHandlesDirective.prototype.render = function (createElement) {
3
+ export var ConnectorFixedUserHandlesDirective = 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 ConnectorFixedUserHandlesDirective = /** @class */ (function (_super) {
44
12
  return h('div', { class: 'e-directive' }, slots);
45
13
  }
46
14
  return;
47
- };
48
- ConnectorFixedUserHandlesDirective.prototype.updated = function () {
15
+ },
16
+ updated: function () {
49
17
  if (!isExecute && this.custom) {
50
18
  this.custom();
51
19
  }
52
- };
53
- ConnectorFixedUserHandlesDirective.prototype.getTag = function () {
54
- return 'e-connector-fixeduserhandles';
55
- };
56
- ConnectorFixedUserHandlesDirective = __decorate([
57
- EJComponentDecorator({}, isExecute)
58
- ,Options({
59
- inject: {
60
- custom: {
61
- default: null
62
- }
63
- }
64
- })
65
- ], ConnectorFixedUserHandlesDirective);
66
- return ConnectorFixedUserHandlesDirective;
67
- }(vueImport));
68
- export { ConnectorFixedUserHandlesDirective };
20
+ },
21
+ methods: {
22
+ getTag: function () {
23
+ return 'e-connector-fixeduserhandles';
24
+ }
25
+ }
26
+ });
69
27
  export var ConnectorFixedUserHandlesPlugin = {
70
28
  name: 'e-connector-fixeduserhandles',
71
29
  install: function (Vue) {
@@ -88,23 +46,16 @@ export var ConnectorFixedUserHandlesPlugin = {
88
46
  * </ejs-diagram>
89
47
  * ```
90
48
  */
91
- var ConnectorFixedUserHandleDirective = /** @class */ (function (_super) {
92
- __extends(ConnectorFixedUserHandleDirective, _super);
93
- function ConnectorFixedUserHandleDirective() {
94
- return _super !== null && _super.apply(this, arguments) || this;
95
- }
96
- ConnectorFixedUserHandleDirective.prototype.render = function () {
49
+ export var ConnectorFixedUserHandleDirective = vueDefineComponent({
50
+ render: function () {
97
51
  return;
98
- };
99
- ConnectorFixedUserHandleDirective.prototype.getTag = function () {
100
- return 'e-connector-fixeduserhandle';
101
- };
102
- ConnectorFixedUserHandleDirective = __decorate([
103
- EJComponentDecorator({}, isExecute)
104
- ], ConnectorFixedUserHandleDirective);
105
- return ConnectorFixedUserHandleDirective;
106
- }(vueImport));
107
- export { ConnectorFixedUserHandleDirective };
52
+ },
53
+ methods: {
54
+ getTag: function () {
55
+ return 'e-connector-fixeduserhandle';
56
+ }
57
+ }
58
+ });
108
59
  export var ConnectorFixedUserHandlePlugin = {
109
60
  name: 'e-connector-fixeduserhandle',
110
61
  install: function (Vue) {
@@ -1,10 +1,4 @@
1
- declare let vueImport: any;
2
- export declare class ConnectorsDirective extends vueImport {
3
- constructor();
4
- render(createElement: any): void;
5
- updated(): void;
6
- getTag(): string;
7
- }
1
+ export declare let ConnectorsDirective: any;
8
2
  export declare const ConnectorsPlugin: {
9
3
  name: string;
10
4
  install(Vue: any): void;
@@ -20,12 +14,8 @@ export declare const ConnectorsPlugin: {
20
14
  * </ejs-diagram>
21
15
  * ```
22
16
  */
23
- export declare class ConnectorDirective extends vueImport {
24
- render(): void;
25
- getTag(): string;
26
- }
17
+ export declare let ConnectorDirective: any;
27
18
  export declare const ConnectorPlugin: {
28
19
  name: string;
29
20
  install(Vue: any): void;
30
21
  };
31
- 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 ConnectorsDirective = /** @class */ (function (_super) {
33
- __extends(ConnectorsDirective, _super);
34
- function ConnectorsDirective() {
35
- return _super.call(this, arguments) || this;
36
- }
37
- ConnectorsDirective.prototype.render = function (createElement) {
3
+ export var ConnectorsDirective = 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 ConnectorsDirective = /** @class */ (function (_super) {
44
12
  return h('div', { class: 'e-directive' }, slots);
45
13
  }
46
14
  return;
47
- };
48
- ConnectorsDirective.prototype.updated = function () {
15
+ },
16
+ updated: function () {
49
17
  if (!isExecute && this.custom) {
50
18
  this.custom();
51
19
  }
52
- };
53
- ConnectorsDirective.prototype.getTag = function () {
54
- return 'e-connectors';
55
- };
56
- ConnectorsDirective = __decorate([
57
- EJComponentDecorator({}, isExecute)
58
- ,Options({
59
- inject: {
60
- custom: {
61
- default: null
62
- }
63
- }
64
- })
65
- ], ConnectorsDirective);
66
- return ConnectorsDirective;
67
- }(vueImport));
68
- export { ConnectorsDirective };
20
+ },
21
+ methods: {
22
+ getTag: function () {
23
+ return 'e-connectors';
24
+ }
25
+ }
26
+ });
69
27
  export var ConnectorsPlugin = {
70
28
  name: 'e-connectors',
71
29
  install: function (Vue) {
@@ -83,23 +41,16 @@ export var ConnectorsPlugin = {
83
41
  * </ejs-diagram>
84
42
  * ```
85
43
  */
86
- var ConnectorDirective = /** @class */ (function (_super) {
87
- __extends(ConnectorDirective, _super);
88
- function ConnectorDirective() {
89
- return _super !== null && _super.apply(this, arguments) || this;
90
- }
91
- ConnectorDirective.prototype.render = function () {
44
+ export var ConnectorDirective = vueDefineComponent({
45
+ render: function () {
92
46
  return;
93
- };
94
- ConnectorDirective.prototype.getTag = function () {
95
- return 'e-connector';
96
- };
97
- ConnectorDirective = __decorate([
98
- EJComponentDecorator({}, isExecute)
99
- ], ConnectorDirective);
100
- return ConnectorDirective;
101
- }(vueImport));
102
- export { ConnectorDirective };
47
+ },
48
+ methods: {
49
+ getTag: function () {
50
+ return 'e-connector';
51
+ }
52
+ }
53
+ });
103
54
  export var ConnectorPlugin = {
104
55
  name: 'e-connector',
105
56
  install: function (Vue) {
@@ -1,10 +1,4 @@
1
- declare let vueImport: any;
2
- export declare class CustomCursorsDirective extends vueImport {
3
- constructor();
4
- render(createElement: any): void;
5
- updated(): void;
6
- getTag(): string;
7
- }
1
+ export declare let CustomCursorsDirective: any;
8
2
  export declare const CustomCursorsPlugin: {
9
3
  name: string;
10
4
  install(Vue: any): void;
@@ -21,12 +15,8 @@ export declare const CustomCursorsPlugin: {
21
15
  </ejs-diagram>
22
16
  * ```
23
17
  */
24
- export declare class CustomCursorDirective extends vueImport {
25
- render(): void;
26
- getTag(): string;
27
- }
18
+ export declare let CustomCursorDirective: any;
28
19
  export declare const CustomCursorPlugin: {
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 CustomCursorsDirective = /** @class */ (function (_super) {
33
- __extends(CustomCursorsDirective, _super);
34
- function CustomCursorsDirective() {
35
- return _super.call(this, arguments) || this;
36
- }
37
- CustomCursorsDirective.prototype.render = function (createElement) {
3
+ export var CustomCursorsDirective = 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 CustomCursorsDirective = /** @class */ (function (_super) {
44
12
  return h('div', { class: 'e-directive' }, slots);
45
13
  }
46
14
  return;
47
- };
48
- CustomCursorsDirective.prototype.updated = function () {
15
+ },
16
+ updated: function () {
49
17
  if (!isExecute && this.custom) {
50
18
  this.custom();
51
19
  }
52
- };
53
- CustomCursorsDirective.prototype.getTag = function () {
54
- return 'e-cursormaps';
55
- };
56
- CustomCursorsDirective = __decorate([
57
- EJComponentDecorator({}, isExecute)
58
- ,Options({
59
- inject: {
60
- custom: {
61
- default: null
62
- }
63
- }
64
- })
65
- ], CustomCursorsDirective);
66
- return CustomCursorsDirective;
67
- }(vueImport));
68
- export { CustomCursorsDirective };
20
+ },
21
+ methods: {
22
+ getTag: function () {
23
+ return 'e-cursormaps';
24
+ }
25
+ }
26
+ });
69
27
  export var CustomCursorsPlugin = {
70
28
  name: 'e-cursormaps',
71
29
  install: function (Vue) {
@@ -84,23 +42,16 @@ export var CustomCursorsPlugin = {
84
42
  </ejs-diagram>
85
43
  * ```
86
44
  */
87
- var CustomCursorDirective = /** @class */ (function (_super) {
88
- __extends(CustomCursorDirective, _super);
89
- function CustomCursorDirective() {
90
- return _super !== null && _super.apply(this, arguments) || this;
91
- }
92
- CustomCursorDirective.prototype.render = function () {
45
+ export var CustomCursorDirective = vueDefineComponent({
46
+ render: function () {
93
47
  return;
94
- };
95
- CustomCursorDirective.prototype.getTag = function () {
96
- return 'e-cursormap';
97
- };
98
- CustomCursorDirective = __decorate([
99
- EJComponentDecorator({}, isExecute)
100
- ], CustomCursorDirective);
101
- return CustomCursorDirective;
102
- }(vueImport));
103
- export { CustomCursorDirective };
48
+ },
49
+ methods: {
50
+ getTag: function () {
51
+ return 'e-cursormap';
52
+ }
53
+ }
54
+ });
104
55
  export var CustomCursorPlugin = {
105
56
  name: 'e-cursormap',
106
57
  install: function (Vue) {