@syncfusion/ej2-vue-diagrams 20.2.49 → 20.3.48
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 -43
- 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 +86 -99
- package/dist/es6/ej2-vue-diagrams.es2015.js.map +1 -1
- package/dist/es6/ej2-vue-diagrams.es5.js +86 -99
- package/dist/es6/ej2-vue-diagrams.es5.js.map +1 -1
- package/dist/global/ej2-vue-diagrams.min.js +2 -2
- package/package.json +8 -8
- package/src/diagram/connector-annotation.directive.d.ts +0 -1
- package/src/diagram/connector-annotation.directive.js +5 -6
- package/src/diagram/connector-fixeduserhandle.directive.d.ts +0 -1
- package/src/diagram/connector-fixeduserhandle.directive.js +5 -6
- package/src/diagram/connectors.directive.d.ts +0 -1
- package/src/diagram/connectors.directive.js +5 -6
- package/src/diagram/customcursor.directive.d.ts +0 -1
- package/src/diagram/customcursor.directive.js +5 -6
- package/src/diagram/diagram.component.d.ts +2 -2
- package/src/diagram/diagram.component.js +9 -7
- package/src/diagram/layers.directive.d.ts +0 -1
- package/src/diagram/layers.directive.js +5 -6
- package/src/diagram/node-annotation.directive.d.ts +0 -1
- package/src/diagram/node-annotation.directive.js +5 -6
- package/src/diagram/node-fixeduserhandle.directive.d.ts +0 -1
- package/src/diagram/node-fixeduserhandle.directive.js +5 -6
- package/src/diagram/nodes.directive.d.ts +0 -1
- package/src/diagram/nodes.directive.js +5 -6
- package/src/diagram/ports.directive.d.ts +0 -1
- package/src/diagram/ports.directive.js +5 -6
- package/src/overview/overview.component.d.ts +0 -1
- package/src/overview/overview.component.js +3 -4
- package/src/symbol-palette/palettes.directive.d.ts +0 -1
- package/src/symbol-palette/palettes.directive.js +5 -6
- package/src/symbol-palette/symbolpalette.component.d.ts +0 -2
- package/src/symbol-palette/symbolpalette.component.js +3 -7
- package/styles/bootstrap-dark.css +6 -1
- package/styles/bootstrap.css +6 -1
- package/styles/bootstrap4.css +6 -1
- package/styles/bootstrap5-dark.css +7 -1
- package/styles/bootstrap5.css +7 -1
- package/styles/diagram/bootstrap-dark.css +6 -1
- package/styles/diagram/bootstrap.css +6 -1
- package/styles/diagram/bootstrap4.css +6 -1
- package/styles/diagram/bootstrap5-dark.css +7 -1
- package/styles/diagram/bootstrap5.css +7 -1
- package/styles/diagram/fabric-dark.css +6 -1
- package/styles/diagram/fabric.css +6 -1
- package/styles/diagram/fluent-dark.css +7 -1
- package/styles/diagram/fluent.css +7 -1
- package/styles/diagram/highcontrast-light.css +6 -1
- package/styles/diagram/highcontrast.css +7 -1
- package/styles/diagram/material-dark.css +6 -1
- package/styles/diagram/material.css +6 -1
- package/styles/diagram/tailwind-dark.css +7 -1
- package/styles/diagram/tailwind.css +7 -1
- package/styles/fabric-dark.css +6 -1
- package/styles/fabric.css +6 -1
- package/styles/fluent-dark.css +7 -1
- package/styles/fluent.css +7 -1
- package/styles/highcontrast-light.css +6 -1
- package/styles/highcontrast.css +7 -1
- package/styles/material-dark.css +6 -1
- package/styles/material.css +6 -1
- 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-diagrams@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-vue-diagrams@
|
|
3
|
+
"_id": "@syncfusion/ej2-vue-diagrams@19.12.3",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-hGJdpiFNEVPnu7ftwPptZ4vdk7pi8XtPYzJ+sLlBSpIaXFKBFt11ppwLccM7x5I+FTKnilHYu502zjYV4wapWQ==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-vue-diagrams",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"_requiredBy": [
|
|
20
20
|
"/"
|
|
21
21
|
],
|
|
22
|
-
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-vue-diagrams/-/ej2-vue-diagrams-
|
|
23
|
-
"_shasum": "
|
|
22
|
+
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-vue-diagrams/-/ej2-vue-diagrams-19.12.3.tgz",
|
|
23
|
+
"_shasum": "66c352afdd2415c36176b5eca4f984ecc34a2c28",
|
|
24
24
|
"_spec": "@syncfusion/ej2-vue-diagrams@*",
|
|
25
25
|
"_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
|
|
26
26
|
"author": {
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
},
|
|
32
32
|
"bundleDependencies": false,
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@syncfusion/ej2-base": "~20.
|
|
35
|
-
"@syncfusion/ej2-diagrams": "20.
|
|
36
|
-
"@syncfusion/ej2-vue-base": "~20.
|
|
34
|
+
"@syncfusion/ej2-base": "~20.3.48",
|
|
35
|
+
"@syncfusion/ej2-diagrams": "20.3.48",
|
|
36
|
+
"@syncfusion/ej2-vue-base": "~20.3.48"
|
|
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",
|
|
@@ -60,6 +60,6 @@
|
|
|
60
60
|
"scripts": {
|
|
61
61
|
"postinstall": "node ../ej2-vue-base/postinstall.js"
|
|
62
62
|
},
|
|
63
|
-
"version": "20.
|
|
63
|
+
"version": "20.3.48",
|
|
64
64
|
"sideEffects": false
|
|
65
65
|
}
|
|
@@ -17,12 +17,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
17
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
18
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
19
|
};
|
|
20
|
-
import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
|
|
20
|
+
import { EJComponentDecorator, allVue, gh, isExecute } from '@syncfusion/ej2-vue-base';
|
|
21
21
|
import * as Vue3 from 'vue-class-component';
|
|
22
22
|
import { isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
23
23
|
import Vue from 'vue';
|
|
24
24
|
import { Options } from 'vue-class-component';
|
|
25
|
-
export var isExecute = gh ? false : true;
|
|
26
25
|
var vueImport;
|
|
27
26
|
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
28
27
|
vueImport = Vue3.Vue;
|
|
@@ -36,18 +35,18 @@ var ConnectorAnnotationsDirective = /** @class */ (function (_super) {
|
|
|
36
35
|
return _super.call(this, arguments) || this;
|
|
37
36
|
}
|
|
38
37
|
ConnectorAnnotationsDirective.prototype.render = function (createElement) {
|
|
39
|
-
if (
|
|
40
|
-
var h = gh
|
|
38
|
+
if (!isExecute) {
|
|
39
|
+
var h = !isExecute ? gh : createElement;
|
|
41
40
|
var slots = null;
|
|
42
41
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
43
|
-
slots =
|
|
42
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
44
43
|
}
|
|
45
44
|
return h('div', { class: 'e-directive' }, slots);
|
|
46
45
|
}
|
|
47
46
|
return;
|
|
48
47
|
};
|
|
49
48
|
ConnectorAnnotationsDirective.prototype.updated = function () {
|
|
50
|
-
if (
|
|
49
|
+
if (!isExecute && this.custom) {
|
|
51
50
|
this.custom();
|
|
52
51
|
}
|
|
53
52
|
};
|
|
@@ -17,12 +17,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
17
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
18
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
19
|
};
|
|
20
|
-
import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
|
|
20
|
+
import { EJComponentDecorator, allVue, gh, isExecute } from '@syncfusion/ej2-vue-base';
|
|
21
21
|
import * as Vue3 from 'vue-class-component';
|
|
22
22
|
import { isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
23
23
|
import Vue from 'vue';
|
|
24
24
|
import { Options } from 'vue-class-component';
|
|
25
|
-
export var isExecute = gh ? false : true;
|
|
26
25
|
var vueImport;
|
|
27
26
|
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
28
27
|
vueImport = Vue3.Vue;
|
|
@@ -36,18 +35,18 @@ var ConnectorFixedUserHandlesDirective = /** @class */ (function (_super) {
|
|
|
36
35
|
return _super.call(this, arguments) || this;
|
|
37
36
|
}
|
|
38
37
|
ConnectorFixedUserHandlesDirective.prototype.render = function (createElement) {
|
|
39
|
-
if (
|
|
40
|
-
var h = gh
|
|
38
|
+
if (!isExecute) {
|
|
39
|
+
var h = !isExecute ? gh : createElement;
|
|
41
40
|
var slots = null;
|
|
42
41
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
43
|
-
slots =
|
|
42
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
44
43
|
}
|
|
45
44
|
return h('div', { class: 'e-directive' }, slots);
|
|
46
45
|
}
|
|
47
46
|
return;
|
|
48
47
|
};
|
|
49
48
|
ConnectorFixedUserHandlesDirective.prototype.updated = function () {
|
|
50
|
-
if (
|
|
49
|
+
if (!isExecute && this.custom) {
|
|
51
50
|
this.custom();
|
|
52
51
|
}
|
|
53
52
|
};
|
|
@@ -17,12 +17,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
17
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
18
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
19
|
};
|
|
20
|
-
import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
|
|
20
|
+
import { EJComponentDecorator, allVue, gh, isExecute } from '@syncfusion/ej2-vue-base';
|
|
21
21
|
import * as Vue3 from 'vue-class-component';
|
|
22
22
|
import { isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
23
23
|
import Vue from 'vue';
|
|
24
24
|
import { Options } from 'vue-class-component';
|
|
25
|
-
export var isExecute = gh ? false : true;
|
|
26
25
|
var vueImport;
|
|
27
26
|
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
28
27
|
vueImport = Vue3.Vue;
|
|
@@ -36,18 +35,18 @@ var ConnectorsDirective = /** @class */ (function (_super) {
|
|
|
36
35
|
return _super.call(this, arguments) || this;
|
|
37
36
|
}
|
|
38
37
|
ConnectorsDirective.prototype.render = function (createElement) {
|
|
39
|
-
if (
|
|
40
|
-
var h = gh
|
|
38
|
+
if (!isExecute) {
|
|
39
|
+
var h = !isExecute ? gh : createElement;
|
|
41
40
|
var slots = null;
|
|
42
41
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
43
|
-
slots =
|
|
42
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
44
43
|
}
|
|
45
44
|
return h('div', { class: 'e-directive' }, slots);
|
|
46
45
|
}
|
|
47
46
|
return;
|
|
48
47
|
};
|
|
49
48
|
ConnectorsDirective.prototype.updated = function () {
|
|
50
|
-
if (
|
|
49
|
+
if (!isExecute && this.custom) {
|
|
51
50
|
this.custom();
|
|
52
51
|
}
|
|
53
52
|
};
|
|
@@ -17,12 +17,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
17
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
18
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
19
|
};
|
|
20
|
-
import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
|
|
20
|
+
import { EJComponentDecorator, allVue, gh, isExecute } from '@syncfusion/ej2-vue-base';
|
|
21
21
|
import * as Vue3 from 'vue-class-component';
|
|
22
22
|
import { isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
23
23
|
import Vue from 'vue';
|
|
24
24
|
import { Options } from 'vue-class-component';
|
|
25
|
-
export var isExecute = gh ? false : true;
|
|
26
25
|
var vueImport;
|
|
27
26
|
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
28
27
|
vueImport = Vue3.Vue;
|
|
@@ -36,18 +35,18 @@ var CustomCursorsDirective = /** @class */ (function (_super) {
|
|
|
36
35
|
return _super.call(this, arguments) || this;
|
|
37
36
|
}
|
|
38
37
|
CustomCursorsDirective.prototype.render = function (createElement) {
|
|
39
|
-
if (
|
|
40
|
-
var h = gh
|
|
38
|
+
if (!isExecute) {
|
|
39
|
+
var h = !isExecute ? gh : createElement;
|
|
41
40
|
var slots = null;
|
|
42
41
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
43
|
-
slots =
|
|
42
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
44
43
|
}
|
|
45
44
|
return h('div', { class: 'e-directive' }, slots);
|
|
46
45
|
}
|
|
47
46
|
return;
|
|
48
47
|
};
|
|
49
48
|
CustomCursorsDirective.prototype.updated = function () {
|
|
50
|
-
if (
|
|
49
|
+
if (!isExecute && this.custom) {
|
|
51
50
|
this.custom();
|
|
52
51
|
}
|
|
53
52
|
};
|
|
@@ -5,7 +5,6 @@ export declare const testProp: any;
|
|
|
5
5
|
export declare const props: any;
|
|
6
6
|
export declare const watch: any;
|
|
7
7
|
export declare const emitProbs: any;
|
|
8
|
-
export declare const isExecute: any;
|
|
9
8
|
/**
|
|
10
9
|
* Represents vue Diagram Component
|
|
11
10
|
* ```html
|
|
@@ -35,7 +34,7 @@ export declare class DiagramComponent extends ComponentBase {
|
|
|
35
34
|
addConnectorLabels(obj: Object, labels: Object[]): void;
|
|
36
35
|
addConstraints(constraintsType: number, constraintsValue: number): number;
|
|
37
36
|
addCustomHistoryEntry(entry: Object): void;
|
|
38
|
-
addHistoryEntry(entry: Object): void;
|
|
37
|
+
addHistoryEntry(entry: Object, sourceId?: string[]): void;
|
|
39
38
|
addLabels(obj: Object | Object, labels: Object[] | Object[] | Object[]): void;
|
|
40
39
|
addLanes(node: Object, lane: Object[], index?: number): void;
|
|
41
40
|
addLayer(layer: Object, layerObject?: Object[]): void;
|
|
@@ -73,6 +72,7 @@ export declare class DiagramComponent extends ComponentBase {
|
|
|
73
72
|
getActiveLayer(): Object;
|
|
74
73
|
getConnectorObject(id: string): Object;
|
|
75
74
|
getCursor(action: string, active: boolean): string;
|
|
75
|
+
getDiagramAction(diagramAction: Object): string;
|
|
76
76
|
getDiagramBounds(): Object;
|
|
77
77
|
getDiagramContent(styleSheets?: Object): string;
|
|
78
78
|
getEdges(args: Object): string[];
|
|
@@ -17,7 +17,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
17
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
18
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
19
|
};
|
|
20
|
-
import { ComponentBase, EJComponentDecorator, getProps, gh } from '@syncfusion/ej2-vue-base';
|
|
20
|
+
import { ComponentBase, EJComponentDecorator, getProps, gh, isExecute } from '@syncfusion/ej2-vue-base';
|
|
21
21
|
import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
|
|
22
22
|
import { Diagram } from '@syncfusion/ej2-diagrams';
|
|
23
23
|
import { LayersDirective, LayerDirective, LayersPlugin, LayerPlugin } from './layers.directive';
|
|
@@ -30,7 +30,7 @@ import { NodeAnnotationsDirective, NodeAnnotationDirective, NodeAnnotationsPlugi
|
|
|
30
30
|
import { PortsDirective, PortDirective, PortsPlugin, PortPlugin } from './ports.directive';
|
|
31
31
|
import { NodesDirective, NodeDirective, NodesPlugin, NodePlugin } from './nodes.directive';
|
|
32
32
|
import { Options } from 'vue-class-component';
|
|
33
|
-
export var properties = ['isLazyUpdate', 'plugins', 'addInfo', 'annotationTemplate', 'backgroundColor', 'bridgeDirection', 'commandManager', 'connectorDefaults', 'connectors', 'constraints', 'contextMenuSettings', 'customCursor', 'dataSourceSettings', 'diagramSettings', 'drawingObject', 'enableConnectorSplit', 'enablePersistence', 'enableRtl', 'getConnectorDefaults', 'getCustomCursor', 'getCustomProperty', 'getCustomTool', 'getDescription', 'getNodeDefaults', 'height', 'historyManager', 'layers', 'layout', 'locale', 'mode', 'nodeDefaults', 'nodeTemplate', 'nodes', 'pageSettings', 'rulerSettings', 'scrollSettings', 'segmentThumbShape', 'selectedItems', 'serializationSettings', 'setNodeTemplate', 'snapSettings', 'tool', 'tooltip', 'updateSelection', 'userHandleTemplate', 'width', 'animationComplete', 'click', 'collectionChange', 'commandExecute', 'connectionChange', 'contextMenuBeforeItemRender', 'contextMenuClick', 'contextMenuOpen', 'created', 'dataLoaded', 'doubleClick', 'dragEnter', 'dragLeave', 'dragOver', 'drop', 'expandStateChange', 'fixedUserHandleClick', 'historyChange', 'historyStateChange', 'keyDown', 'keyUp', 'mouseEnter', 'mouseLeave', 'mouseOver', 'onImageLoad', 'onUserHandleMouseDown', 'onUserHandleMouseEnter', 'onUserHandleMouseLeave', 'onUserHandleMouseUp', 'positionChange', 'propertyChange', 'rotateChange', 'scrollChange', 'segmentCollectionChange', 'selectionChange', 'sizeChange', 'sourcePointChange', 'targetPointChange', 'textEdit'];
|
|
33
|
+
export var properties = ['isLazyUpdate', 'plugins', 'addInfo', 'annotationTemplate', 'backgroundColor', 'bridgeDirection', 'commandManager', 'connectorDefaults', 'connectors', 'constraints', 'contextMenuSettings', 'customCursor', 'dataSourceSettings', 'diagramSettings', 'drawingObject', 'enableConnectorSplit', 'enablePersistence', 'enableRtl', 'getConnectorDefaults', 'getCustomCursor', 'getCustomProperty', 'getCustomTool', 'getDescription', 'getNodeDefaults', 'height', 'historyManager', 'layers', 'layout', 'locale', 'mode', 'nodeDefaults', 'nodeTemplate', 'nodes', 'pageSettings', 'rulerSettings', 'scrollSettings', 'segmentThumbShape', 'selectedItems', 'serializationSettings', 'setNodeTemplate', 'snapSettings', 'tool', 'tooltip', 'updateSelection', 'userHandleTemplate', 'width', 'animationComplete', 'click', 'collectionChange', 'commandExecute', 'connectionChange', 'contextMenuBeforeItemRender', 'contextMenuClick', 'contextMenuOpen', 'created', 'dataLoaded', 'doubleClick', 'dragEnter', 'dragLeave', 'dragOver', 'drop', 'expandStateChange', 'fixedUserHandleClick', 'historyChange', 'historyStateChange', 'keyDown', 'keyUp', 'mouseEnter', 'mouseLeave', 'mouseOver', 'onImageLoad', 'onUserHandleMouseDown', 'onUserHandleMouseEnter', 'onUserHandleMouseLeave', 'onUserHandleMouseUp', 'positionChange', 'propertyChange', 'rotateChange', 'scrollChange', 'segmentCollectionChange', 'selectionChange', 'sizeChange', 'sourcePointChange', 'targetPointChange', 'textEdit', 'elementDraw'];
|
|
34
34
|
export var modelProps = [];
|
|
35
35
|
export var testProp = getProps({ props: properties });
|
|
36
36
|
export var props = testProp[0];
|
|
@@ -41,7 +41,6 @@ for (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {
|
|
|
41
41
|
var props_1 = modelProps_1[_i];
|
|
42
42
|
emitProbs.push('update:' + props_1);
|
|
43
43
|
}
|
|
44
|
-
export var isExecute = gh ? false : true;
|
|
45
44
|
/**
|
|
46
45
|
* Represents vue Diagram Component
|
|
47
46
|
* ```html
|
|
@@ -116,10 +115,10 @@ var DiagramComponent = /** @class */ (function (_super) {
|
|
|
116
115
|
}
|
|
117
116
|
};
|
|
118
117
|
DiagramComponent.prototype.render = function (createElement) {
|
|
119
|
-
var h = gh
|
|
118
|
+
var h = !isExecute ? gh : createElement;
|
|
120
119
|
var slots = null;
|
|
121
120
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
122
|
-
slots =
|
|
121
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
123
122
|
}
|
|
124
123
|
return h('div', slots);
|
|
125
124
|
};
|
|
@@ -144,8 +143,8 @@ var DiagramComponent = /** @class */ (function (_super) {
|
|
|
144
143
|
DiagramComponent.prototype.addCustomHistoryEntry = function (entry) {
|
|
145
144
|
return this.ej2Instances.addCustomHistoryEntry(entry);
|
|
146
145
|
};
|
|
147
|
-
DiagramComponent.prototype.addHistoryEntry = function (entry) {
|
|
148
|
-
return this.ej2Instances.addHistoryEntry(entry);
|
|
146
|
+
DiagramComponent.prototype.addHistoryEntry = function (entry, sourceId) {
|
|
147
|
+
return this.ej2Instances.addHistoryEntry(entry, sourceId);
|
|
149
148
|
};
|
|
150
149
|
DiagramComponent.prototype.addLabels = function (obj, labels) {
|
|
151
150
|
return this.ej2Instances.addLabels(obj, labels);
|
|
@@ -258,6 +257,9 @@ var DiagramComponent = /** @class */ (function (_super) {
|
|
|
258
257
|
DiagramComponent.prototype.getCursor = function (action, active) {
|
|
259
258
|
return this.ej2Instances.getCursor(action, active);
|
|
260
259
|
};
|
|
260
|
+
DiagramComponent.prototype.getDiagramAction = function (diagramAction) {
|
|
261
|
+
return this.ej2Instances.getDiagramAction(diagramAction);
|
|
262
|
+
};
|
|
261
263
|
DiagramComponent.prototype.getDiagramBounds = function () {
|
|
262
264
|
return this.ej2Instances.getDiagramBounds();
|
|
263
265
|
};
|
|
@@ -17,12 +17,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
17
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
18
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
19
|
};
|
|
20
|
-
import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
|
|
20
|
+
import { EJComponentDecorator, allVue, gh, isExecute } from '@syncfusion/ej2-vue-base';
|
|
21
21
|
import * as Vue3 from 'vue-class-component';
|
|
22
22
|
import { isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
23
23
|
import Vue from 'vue';
|
|
24
24
|
import { Options } from 'vue-class-component';
|
|
25
|
-
export var isExecute = gh ? false : true;
|
|
26
25
|
var vueImport;
|
|
27
26
|
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
28
27
|
vueImport = Vue3.Vue;
|
|
@@ -36,18 +35,18 @@ var LayersDirective = /** @class */ (function (_super) {
|
|
|
36
35
|
return _super.call(this, arguments) || this;
|
|
37
36
|
}
|
|
38
37
|
LayersDirective.prototype.render = function (createElement) {
|
|
39
|
-
if (
|
|
40
|
-
var h = gh
|
|
38
|
+
if (!isExecute) {
|
|
39
|
+
var h = !isExecute ? gh : createElement;
|
|
41
40
|
var slots = null;
|
|
42
41
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
43
|
-
slots =
|
|
42
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
44
43
|
}
|
|
45
44
|
return h('div', { class: 'e-directive' }, slots);
|
|
46
45
|
}
|
|
47
46
|
return;
|
|
48
47
|
};
|
|
49
48
|
LayersDirective.prototype.updated = function () {
|
|
50
|
-
if (
|
|
49
|
+
if (!isExecute && this.custom) {
|
|
51
50
|
this.custom();
|
|
52
51
|
}
|
|
53
52
|
};
|
|
@@ -17,12 +17,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
17
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
18
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
19
|
};
|
|
20
|
-
import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
|
|
20
|
+
import { EJComponentDecorator, allVue, gh, isExecute } from '@syncfusion/ej2-vue-base';
|
|
21
21
|
import * as Vue3 from 'vue-class-component';
|
|
22
22
|
import { isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
23
23
|
import Vue from 'vue';
|
|
24
24
|
import { Options } from 'vue-class-component';
|
|
25
|
-
export var isExecute = gh ? false : true;
|
|
26
25
|
var vueImport;
|
|
27
26
|
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
28
27
|
vueImport = Vue3.Vue;
|
|
@@ -36,18 +35,18 @@ var NodeAnnotationsDirective = /** @class */ (function (_super) {
|
|
|
36
35
|
return _super.call(this, arguments) || this;
|
|
37
36
|
}
|
|
38
37
|
NodeAnnotationsDirective.prototype.render = function (createElement) {
|
|
39
|
-
if (
|
|
40
|
-
var h = gh
|
|
38
|
+
if (!isExecute) {
|
|
39
|
+
var h = !isExecute ? gh : createElement;
|
|
41
40
|
var slots = null;
|
|
42
41
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
43
|
-
slots =
|
|
42
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
44
43
|
}
|
|
45
44
|
return h('div', { class: 'e-directive' }, slots);
|
|
46
45
|
}
|
|
47
46
|
return;
|
|
48
47
|
};
|
|
49
48
|
NodeAnnotationsDirective.prototype.updated = function () {
|
|
50
|
-
if (
|
|
49
|
+
if (!isExecute && this.custom) {
|
|
51
50
|
this.custom();
|
|
52
51
|
}
|
|
53
52
|
};
|
|
@@ -17,12 +17,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
17
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
18
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
19
|
};
|
|
20
|
-
import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
|
|
20
|
+
import { EJComponentDecorator, allVue, gh, isExecute } from '@syncfusion/ej2-vue-base';
|
|
21
21
|
import * as Vue3 from 'vue-class-component';
|
|
22
22
|
import { isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
23
23
|
import Vue from 'vue';
|
|
24
24
|
import { Options } from 'vue-class-component';
|
|
25
|
-
export var isExecute = gh ? false : true;
|
|
26
25
|
var vueImport;
|
|
27
26
|
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
28
27
|
vueImport = Vue3.Vue;
|
|
@@ -36,18 +35,18 @@ var NodeFixedUserHandlesDirective = /** @class */ (function (_super) {
|
|
|
36
35
|
return _super.call(this, arguments) || this;
|
|
37
36
|
}
|
|
38
37
|
NodeFixedUserHandlesDirective.prototype.render = function (createElement) {
|
|
39
|
-
if (
|
|
40
|
-
var h = gh
|
|
38
|
+
if (!isExecute) {
|
|
39
|
+
var h = !isExecute ? gh : createElement;
|
|
41
40
|
var slots = null;
|
|
42
41
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
43
|
-
slots =
|
|
42
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
44
43
|
}
|
|
45
44
|
return h('div', { class: 'e-directive' }, slots);
|
|
46
45
|
}
|
|
47
46
|
return;
|
|
48
47
|
};
|
|
49
48
|
NodeFixedUserHandlesDirective.prototype.updated = function () {
|
|
50
|
-
if (
|
|
49
|
+
if (!isExecute && this.custom) {
|
|
51
50
|
this.custom();
|
|
52
51
|
}
|
|
53
52
|
};
|
|
@@ -17,12 +17,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
17
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
18
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
19
|
};
|
|
20
|
-
import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
|
|
20
|
+
import { EJComponentDecorator, allVue, gh, isExecute } from '@syncfusion/ej2-vue-base';
|
|
21
21
|
import * as Vue3 from 'vue-class-component';
|
|
22
22
|
import { isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
23
23
|
import Vue from 'vue';
|
|
24
24
|
import { Options } from 'vue-class-component';
|
|
25
|
-
export var isExecute = gh ? false : true;
|
|
26
25
|
var vueImport;
|
|
27
26
|
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
28
27
|
vueImport = Vue3.Vue;
|
|
@@ -36,18 +35,18 @@ var NodesDirective = /** @class */ (function (_super) {
|
|
|
36
35
|
return _super.call(this, arguments) || this;
|
|
37
36
|
}
|
|
38
37
|
NodesDirective.prototype.render = function (createElement) {
|
|
39
|
-
if (
|
|
40
|
-
var h = gh
|
|
38
|
+
if (!isExecute) {
|
|
39
|
+
var h = !isExecute ? gh : createElement;
|
|
41
40
|
var slots = null;
|
|
42
41
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
43
|
-
slots =
|
|
42
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
44
43
|
}
|
|
45
44
|
return h('div', { class: 'e-directive' }, slots);
|
|
46
45
|
}
|
|
47
46
|
return;
|
|
48
47
|
};
|
|
49
48
|
NodesDirective.prototype.updated = function () {
|
|
50
|
-
if (
|
|
49
|
+
if (!isExecute && this.custom) {
|
|
51
50
|
this.custom();
|
|
52
51
|
}
|
|
53
52
|
};
|
|
@@ -17,12 +17,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
17
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
18
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
19
|
};
|
|
20
|
-
import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
|
|
20
|
+
import { EJComponentDecorator, allVue, gh, isExecute } from '@syncfusion/ej2-vue-base';
|
|
21
21
|
import * as Vue3 from 'vue-class-component';
|
|
22
22
|
import { isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
23
23
|
import Vue from 'vue';
|
|
24
24
|
import { Options } from 'vue-class-component';
|
|
25
|
-
export var isExecute = gh ? false : true;
|
|
26
25
|
var vueImport;
|
|
27
26
|
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
28
27
|
vueImport = Vue3.Vue;
|
|
@@ -36,18 +35,18 @@ var PortsDirective = /** @class */ (function (_super) {
|
|
|
36
35
|
return _super.call(this, arguments) || this;
|
|
37
36
|
}
|
|
38
37
|
PortsDirective.prototype.render = function (createElement) {
|
|
39
|
-
if (
|
|
40
|
-
var h = gh
|
|
38
|
+
if (!isExecute) {
|
|
39
|
+
var h = !isExecute ? gh : createElement;
|
|
41
40
|
var slots = null;
|
|
42
41
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
43
|
-
slots =
|
|
42
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
44
43
|
}
|
|
45
44
|
return h('div', { class: 'e-directive' }, slots);
|
|
46
45
|
}
|
|
47
46
|
return;
|
|
48
47
|
};
|
|
49
48
|
PortsDirective.prototype.updated = function () {
|
|
50
|
-
if (
|
|
49
|
+
if (!isExecute && this.custom) {
|
|
51
50
|
this.custom();
|
|
52
51
|
}
|
|
53
52
|
};
|
|
@@ -17,7 +17,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
17
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
18
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
19
|
};
|
|
20
|
-
import { ComponentBase, EJComponentDecorator, getProps, gh } from '@syncfusion/ej2-vue-base';
|
|
20
|
+
import { ComponentBase, EJComponentDecorator, getProps, gh, isExecute } from '@syncfusion/ej2-vue-base';
|
|
21
21
|
import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
|
|
22
22
|
import { Overview } from '@syncfusion/ej2-diagrams';
|
|
23
23
|
import { Options } from 'vue-class-component';
|
|
@@ -32,7 +32,6 @@ for (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {
|
|
|
32
32
|
var props_1 = modelProps_1[_i];
|
|
33
33
|
emitProbs.push('update:' + props_1);
|
|
34
34
|
}
|
|
35
|
-
export var isExecute = gh ? false : true;
|
|
36
35
|
/**
|
|
37
36
|
* Represents vue Overview Component
|
|
38
37
|
* ```html
|
|
@@ -107,10 +106,10 @@ var OverviewComponent = /** @class */ (function (_super) {
|
|
|
107
106
|
}
|
|
108
107
|
};
|
|
109
108
|
OverviewComponent.prototype.render = function (createElement) {
|
|
110
|
-
var h = gh
|
|
109
|
+
var h = !isExecute ? gh : createElement;
|
|
111
110
|
var slots = null;
|
|
112
111
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
113
|
-
slots =
|
|
112
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
114
113
|
}
|
|
115
114
|
return h('div', slots);
|
|
116
115
|
};
|
|
@@ -17,12 +17,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
17
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
18
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
19
|
};
|
|
20
|
-
import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
|
|
20
|
+
import { EJComponentDecorator, allVue, gh, isExecute } from '@syncfusion/ej2-vue-base';
|
|
21
21
|
import * as Vue3 from 'vue-class-component';
|
|
22
22
|
import { isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
23
23
|
import Vue from 'vue';
|
|
24
24
|
import { Options } from 'vue-class-component';
|
|
25
|
-
export var isExecute = gh ? false : true;
|
|
26
25
|
var vueImport;
|
|
27
26
|
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
28
27
|
vueImport = Vue3.Vue;
|
|
@@ -36,18 +35,18 @@ var PalettesDirective = /** @class */ (function (_super) {
|
|
|
36
35
|
return _super.call(this, arguments) || this;
|
|
37
36
|
}
|
|
38
37
|
PalettesDirective.prototype.render = function (createElement) {
|
|
39
|
-
if (
|
|
40
|
-
var h = gh
|
|
38
|
+
if (!isExecute) {
|
|
39
|
+
var h = !isExecute ? gh : createElement;
|
|
41
40
|
var slots = null;
|
|
42
41
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
43
|
-
slots =
|
|
42
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
44
43
|
}
|
|
45
44
|
return h('div', { class: 'e-directive' }, slots);
|
|
46
45
|
}
|
|
47
46
|
return;
|
|
48
47
|
};
|
|
49
48
|
PalettesDirective.prototype.updated = function () {
|
|
50
|
-
if (
|
|
49
|
+
if (!isExecute && this.custom) {
|
|
51
50
|
this.custom();
|
|
52
51
|
}
|
|
53
52
|
};
|
|
@@ -5,7 +5,6 @@ export declare const testProp: any;
|
|
|
5
5
|
export declare const props: any;
|
|
6
6
|
export declare const watch: any;
|
|
7
7
|
export declare const emitProbs: any;
|
|
8
|
-
export declare const isExecute: any;
|
|
9
8
|
/**
|
|
10
9
|
* Represents vue SymbolPalette Component
|
|
11
10
|
* ```html
|
|
@@ -31,7 +30,6 @@ export declare class SymbolPaletteComponent extends ComponentBase {
|
|
|
31
30
|
custom(): void;
|
|
32
31
|
addPaletteItem(paletteName: string, paletteSymbol: Object | Object, isChild?: boolean): void;
|
|
33
32
|
addPalettes(palettes: Object[]): void;
|
|
34
|
-
defaultLocale(): Object;
|
|
35
33
|
removePaletteItem(paletteName: string, symbolId: string): void;
|
|
36
34
|
removePalettes(palettes: string[]): void;
|
|
37
35
|
}
|