@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.
- package/CHANGELOG.md +12 -3
- package/dist/ej2-vue-diagrams.umd.min.js +2 -2
- package/dist/ej2-vue-diagrams.umd.min.js.map +1 -1
- package/dist/es6/ej2-vue-diagrams.es2015.js +750 -1145
- package/dist/es6/ej2-vue-diagrams.es2015.js.map +1 -1
- package/dist/es6/ej2-vue-diagrams.es5.js +830 -1360
- package/dist/es6/ej2-vue-diagrams.es5.js.map +1 -1
- package/dist/global/ej2-vue-diagrams.min.js +2 -2
- package/package.json +9 -9
- package/src/diagram/connector-annotation.directive.d.ts +2 -12
- package/src/diagram/connector-annotation.directive.js +22 -71
- package/src/diagram/connector-fixeduserhandle.directive.d.ts +2 -12
- package/src/diagram/connector-fixeduserhandle.directive.js +22 -71
- package/src/diagram/connectors.directive.d.ts +2 -12
- package/src/diagram/connectors.directive.js +22 -71
- package/src/diagram/customcursor.directive.d.ts +2 -12
- package/src/diagram/customcursor.directive.js +22 -71
- package/src/diagram/diagram.component.d.ts +3 -120
- package/src/diagram/diagram.component.js +378 -407
- package/src/diagram/layers.directive.d.ts +2 -12
- package/src/diagram/layers.directive.js +22 -71
- package/src/diagram/node-annotation.directive.d.ts +2 -12
- package/src/diagram/node-annotation.directive.js +22 -71
- package/src/diagram/node-fixeduserhandle.directive.d.ts +2 -12
- package/src/diagram/node-fixeduserhandle.directive.js +22 -71
- package/src/diagram/nodes.directive.d.ts +2 -12
- package/src/diagram/nodes.directive.js +22 -71
- package/src/diagram/ports.directive.d.ts +2 -12
- package/src/diagram/ports.directive.js +22 -71
- package/src/overview/overview.component.d.ts +3 -23
- package/src/overview/overview.component.js +86 -115
- package/src/symbol-palette/palettes.directive.d.ts +2 -12
- package/src/symbol-palette/palettes.directive.js +22 -71
- package/src/symbol-palette/symbolpalette.component.d.ts +3 -26
- package/src/symbol-palette/symbolpalette.component.js +95 -124
- package/styles/bootstrap-dark.css +22 -11
- package/styles/bootstrap.css +22 -11
- package/styles/bootstrap4.css +22 -11
- package/styles/bootstrap5-dark.css +24 -13
- package/styles/bootstrap5.css +24 -13
- package/styles/diagram/bootstrap-dark.css +22 -11
- package/styles/diagram/bootstrap.css +22 -11
- package/styles/diagram/bootstrap4.css +22 -11
- package/styles/diagram/bootstrap5-dark.css +24 -13
- package/styles/diagram/bootstrap5.css +24 -13
- package/styles/diagram/fabric-dark.css +22 -11
- package/styles/diagram/fabric.css +22 -11
- package/styles/diagram/fluent-dark.css +24 -13
- package/styles/diagram/fluent.css +24 -13
- package/styles/diagram/highcontrast-light.css +22 -11
- package/styles/diagram/highcontrast.css +22 -11
- package/styles/diagram/material-dark.css +22 -11
- package/styles/diagram/material.css +22 -11
- package/styles/diagram/tailwind-dark.css +23 -12
- package/styles/diagram/tailwind.css +23 -12
- package/styles/fabric-dark.css +22 -11
- package/styles/fabric.css +22 -11
- package/styles/fluent-dark.css +24 -13
- package/styles/fluent.css +24 -13
- package/styles/highcontrast-light.css +22 -11
- package/styles/highcontrast.css +22 -11
- package/styles/material-dark.css +22 -11
- package/styles/material.css +22 -11
- package/styles/tailwind-dark.css +23 -12
- package/styles/tailwind.css +23 -12
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
declare let
|
|
2
|
-
export declare class LayersDirective extends vueImport {
|
|
3
|
-
constructor();
|
|
4
|
-
render(createElement: any): void;
|
|
5
|
-
updated(): void;
|
|
6
|
-
getTag(): string;
|
|
7
|
-
}
|
|
1
|
+
export declare let LayersDirective: any;
|
|
8
2
|
export declare const LayersPlugin: {
|
|
9
3
|
name: string;
|
|
10
4
|
install(Vue: any): void;
|
|
@@ -21,12 +15,8 @@ export declare const LayersPlugin: {
|
|
|
21
15
|
</ejs-diagram>
|
|
22
16
|
* ```
|
|
23
17
|
*/
|
|
24
|
-
export declare
|
|
25
|
-
render(): void;
|
|
26
|
-
getTag(): string;
|
|
27
|
-
}
|
|
18
|
+
export declare let LayerDirective: any;
|
|
28
19
|
export declare const LayerPlugin: {
|
|
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 LayersDirective = /** @class */ (function (_super) {
|
|
33
|
-
__extends(LayersDirective, _super);
|
|
34
|
-
function LayersDirective() {
|
|
35
|
-
return _super.call(this, arguments) || this;
|
|
36
|
-
}
|
|
37
|
-
LayersDirective.prototype.render = function (createElement) {
|
|
3
|
+
export var LayersDirective = 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 LayersDirective = /** @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
|
-
], LayersDirective);
|
|
66
|
-
return LayersDirective;
|
|
67
|
-
}(vueImport));
|
|
68
|
-
export { LayersDirective };
|
|
20
|
+
},
|
|
21
|
+
methods: {
|
|
22
|
+
getTag: function () {
|
|
23
|
+
return 'e-layers';
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
});
|
|
69
27
|
export var LayersPlugin = {
|
|
70
28
|
name: 'e-layers',
|
|
71
29
|
install: function (Vue) {
|
|
@@ -84,23 +42,16 @@ export var LayersPlugin = {
|
|
|
84
42
|
</ejs-diagram>
|
|
85
43
|
* ```
|
|
86
44
|
*/
|
|
87
|
-
var LayerDirective =
|
|
88
|
-
|
|
89
|
-
function LayerDirective() {
|
|
90
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
91
|
-
}
|
|
92
|
-
LayerDirective.prototype.render = function () {
|
|
45
|
+
export var LayerDirective = vueDefineComponent({
|
|
46
|
+
render: function () {
|
|
93
47
|
return;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
return LayerDirective;
|
|
102
|
-
}(vueImport));
|
|
103
|
-
export { LayerDirective };
|
|
48
|
+
},
|
|
49
|
+
methods: {
|
|
50
|
+
getTag: function () {
|
|
51
|
+
return 'e-layer';
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
});
|
|
104
55
|
export var LayerPlugin = {
|
|
105
56
|
name: 'e-layer',
|
|
106
57
|
install: function (Vue) {
|
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
declare let
|
|
2
|
-
export declare class NodeAnnotationsDirective extends vueImport {
|
|
3
|
-
constructor();
|
|
4
|
-
render(createElement: any): void;
|
|
5
|
-
updated(): void;
|
|
6
|
-
getTag(): string;
|
|
7
|
-
}
|
|
1
|
+
export declare let NodeAnnotationsDirective: any;
|
|
8
2
|
export declare const NodeAnnotationsPlugin: {
|
|
9
3
|
name: string;
|
|
10
4
|
install(Vue: any): void;
|
|
@@ -25,12 +19,8 @@ export declare const NodeAnnotationsPlugin: {
|
|
|
25
19
|
* </ejs-diagram>
|
|
26
20
|
* ```
|
|
27
21
|
*/
|
|
28
|
-
export declare
|
|
29
|
-
render(): void;
|
|
30
|
-
getTag(): string;
|
|
31
|
-
}
|
|
22
|
+
export declare let NodeAnnotationDirective: any;
|
|
32
23
|
export declare const NodeAnnotationPlugin: {
|
|
33
24
|
name: string;
|
|
34
25
|
install(Vue: any): void;
|
|
35
26
|
};
|
|
36
|
-
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 NodeAnnotationsDirective = /** @class */ (function (_super) {
|
|
33
|
-
__extends(NodeAnnotationsDirective, _super);
|
|
34
|
-
function NodeAnnotationsDirective() {
|
|
35
|
-
return _super.call(this, arguments) || this;
|
|
36
|
-
}
|
|
37
|
-
NodeAnnotationsDirective.prototype.render = function (createElement) {
|
|
3
|
+
export var NodeAnnotationsDirective = 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 NodeAnnotationsDirective = /** @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
|
-
], NodeAnnotationsDirective);
|
|
66
|
-
return NodeAnnotationsDirective;
|
|
67
|
-
}(vueImport));
|
|
68
|
-
export { NodeAnnotationsDirective };
|
|
20
|
+
},
|
|
21
|
+
methods: {
|
|
22
|
+
getTag: function () {
|
|
23
|
+
return 'e-node-annotations';
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
});
|
|
69
27
|
export var NodeAnnotationsPlugin = {
|
|
70
28
|
name: 'e-node-annotations',
|
|
71
29
|
install: function (Vue) {
|
|
@@ -88,23 +46,16 @@ export var NodeAnnotationsPlugin = {
|
|
|
88
46
|
* </ejs-diagram>
|
|
89
47
|
* ```
|
|
90
48
|
*/
|
|
91
|
-
var NodeAnnotationDirective =
|
|
92
|
-
|
|
93
|
-
function NodeAnnotationDirective() {
|
|
94
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
95
|
-
}
|
|
96
|
-
NodeAnnotationDirective.prototype.render = function () {
|
|
49
|
+
export var NodeAnnotationDirective = vueDefineComponent({
|
|
50
|
+
render: function () {
|
|
97
51
|
return;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
return NodeAnnotationDirective;
|
|
106
|
-
}(vueImport));
|
|
107
|
-
export { NodeAnnotationDirective };
|
|
52
|
+
},
|
|
53
|
+
methods: {
|
|
54
|
+
getTag: function () {
|
|
55
|
+
return 'e-node-annotation';
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
});
|
|
108
59
|
export var NodeAnnotationPlugin = {
|
|
109
60
|
name: 'e-node-annotation',
|
|
110
61
|
install: function (Vue) {
|
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
declare let
|
|
2
|
-
export declare class NodeFixedUserHandlesDirective extends vueImport {
|
|
3
|
-
constructor();
|
|
4
|
-
render(createElement: any): void;
|
|
5
|
-
updated(): void;
|
|
6
|
-
getTag(): string;
|
|
7
|
-
}
|
|
1
|
+
export declare let NodeFixedUserHandlesDirective: any;
|
|
8
2
|
export declare const NodeFixedUserHandlesPlugin: {
|
|
9
3
|
name: string;
|
|
10
4
|
install(Vue: any): void;
|
|
@@ -25,12 +19,8 @@ export declare const NodeFixedUserHandlesPlugin: {
|
|
|
25
19
|
* </ejs-diagram>
|
|
26
20
|
* ```
|
|
27
21
|
*/
|
|
28
|
-
export declare
|
|
29
|
-
render(): void;
|
|
30
|
-
getTag(): string;
|
|
31
|
-
}
|
|
22
|
+
export declare let NodeFixedUserHandleDirective: any;
|
|
32
23
|
export declare const NodeFixedUserHandlePlugin: {
|
|
33
24
|
name: string;
|
|
34
25
|
install(Vue: any): void;
|
|
35
26
|
};
|
|
36
|
-
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 NodeFixedUserHandlesDirective = /** @class */ (function (_super) {
|
|
33
|
-
__extends(NodeFixedUserHandlesDirective, _super);
|
|
34
|
-
function NodeFixedUserHandlesDirective() {
|
|
35
|
-
return _super.call(this, arguments) || this;
|
|
36
|
-
}
|
|
37
|
-
NodeFixedUserHandlesDirective.prototype.render = function (createElement) {
|
|
3
|
+
export var NodeFixedUserHandlesDirective = 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 NodeFixedUserHandlesDirective = /** @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
|
-
], NodeFixedUserHandlesDirective);
|
|
66
|
-
return NodeFixedUserHandlesDirective;
|
|
67
|
-
}(vueImport));
|
|
68
|
-
export { NodeFixedUserHandlesDirective };
|
|
20
|
+
},
|
|
21
|
+
methods: {
|
|
22
|
+
getTag: function () {
|
|
23
|
+
return 'e-node-fixeduserhandles';
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
});
|
|
69
27
|
export var NodeFixedUserHandlesPlugin = {
|
|
70
28
|
name: 'e-node-fixeduserhandles',
|
|
71
29
|
install: function (Vue) {
|
|
@@ -88,23 +46,16 @@ export var NodeFixedUserHandlesPlugin = {
|
|
|
88
46
|
* </ejs-diagram>
|
|
89
47
|
* ```
|
|
90
48
|
*/
|
|
91
|
-
var NodeFixedUserHandleDirective =
|
|
92
|
-
|
|
93
|
-
function NodeFixedUserHandleDirective() {
|
|
94
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
95
|
-
}
|
|
96
|
-
NodeFixedUserHandleDirective.prototype.render = function () {
|
|
49
|
+
export var NodeFixedUserHandleDirective = vueDefineComponent({
|
|
50
|
+
render: function () {
|
|
97
51
|
return;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
return NodeFixedUserHandleDirective;
|
|
106
|
-
}(vueImport));
|
|
107
|
-
export { NodeFixedUserHandleDirective };
|
|
52
|
+
},
|
|
53
|
+
methods: {
|
|
54
|
+
getTag: function () {
|
|
55
|
+
return 'e-node-fixeduserhandle';
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
});
|
|
108
59
|
export var NodeFixedUserHandlePlugin = {
|
|
109
60
|
name: 'e-node-fixeduserhandle',
|
|
110
61
|
install: function (Vue) {
|
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
declare let
|
|
2
|
-
export declare class NodesDirective extends vueImport {
|
|
3
|
-
constructor();
|
|
4
|
-
render(createElement: any): void;
|
|
5
|
-
updated(): void;
|
|
6
|
-
getTag(): string;
|
|
7
|
-
}
|
|
1
|
+
export declare let NodesDirective: any;
|
|
8
2
|
export declare const NodesPlugin: {
|
|
9
3
|
name: string;
|
|
10
4
|
install(Vue: any): void;
|
|
@@ -20,12 +14,8 @@ export declare const NodesPlugin: {
|
|
|
20
14
|
* </ejs-diagram>
|
|
21
15
|
* ```
|
|
22
16
|
*/
|
|
23
|
-
export declare
|
|
24
|
-
render(): void;
|
|
25
|
-
getTag(): string;
|
|
26
|
-
}
|
|
17
|
+
export declare let NodeDirective: any;
|
|
27
18
|
export declare const NodePlugin: {
|
|
28
19
|
name: string;
|
|
29
20
|
install(Vue: any): void;
|
|
30
21
|
};
|
|
31
|
-
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 NodesDirective = /** @class */ (function (_super) {
|
|
33
|
-
__extends(NodesDirective, _super);
|
|
34
|
-
function NodesDirective() {
|
|
35
|
-
return _super.call(this, arguments) || this;
|
|
36
|
-
}
|
|
37
|
-
NodesDirective.prototype.render = function (createElement) {
|
|
3
|
+
export var NodesDirective = 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 NodesDirective = /** @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
|
-
], NodesDirective);
|
|
66
|
-
return NodesDirective;
|
|
67
|
-
}(vueImport));
|
|
68
|
-
export { NodesDirective };
|
|
20
|
+
},
|
|
21
|
+
methods: {
|
|
22
|
+
getTag: function () {
|
|
23
|
+
return 'e-nodes';
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
});
|
|
69
27
|
export var NodesPlugin = {
|
|
70
28
|
name: 'e-nodes',
|
|
71
29
|
install: function (Vue) {
|
|
@@ -83,23 +41,16 @@ export var NodesPlugin = {
|
|
|
83
41
|
* </ejs-diagram>
|
|
84
42
|
* ```
|
|
85
43
|
*/
|
|
86
|
-
var NodeDirective =
|
|
87
|
-
|
|
88
|
-
function NodeDirective() {
|
|
89
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
90
|
-
}
|
|
91
|
-
NodeDirective.prototype.render = function () {
|
|
44
|
+
export var NodeDirective = vueDefineComponent({
|
|
45
|
+
render: function () {
|
|
92
46
|
return;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
return NodeDirective;
|
|
101
|
-
}(vueImport));
|
|
102
|
-
export { NodeDirective };
|
|
47
|
+
},
|
|
48
|
+
methods: {
|
|
49
|
+
getTag: function () {
|
|
50
|
+
return 'e-node';
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
});
|
|
103
54
|
export var NodePlugin = {
|
|
104
55
|
name: 'e-node',
|
|
105
56
|
install: function (Vue) {
|
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
declare let
|
|
2
|
-
export declare class PortsDirective extends vueImport {
|
|
3
|
-
constructor();
|
|
4
|
-
render(createElement: any): void;
|
|
5
|
-
updated(): void;
|
|
6
|
-
getTag(): string;
|
|
7
|
-
}
|
|
1
|
+
export declare let PortsDirective: any;
|
|
8
2
|
export declare const PortsPlugin: {
|
|
9
3
|
name: string;
|
|
10
4
|
install(Vue: any): void;
|
|
@@ -25,12 +19,8 @@ export declare const PortsPlugin: {
|
|
|
25
19
|
* </ejs-diagram>
|
|
26
20
|
* ```
|
|
27
21
|
*/
|
|
28
|
-
export declare
|
|
29
|
-
render(): void;
|
|
30
|
-
getTag(): string;
|
|
31
|
-
}
|
|
22
|
+
export declare let PortDirective: any;
|
|
32
23
|
export declare const PortPlugin: {
|
|
33
24
|
name: string;
|
|
34
25
|
install(Vue: any): void;
|
|
35
26
|
};
|
|
36
|
-
export {};
|