@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,23 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
var extendStatics = function (d, b) {
|
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
-
return extendStatics(d, b);
|
|
7
|
-
};
|
|
8
|
-
return function (d, b) {
|
|
9
|
-
extendStatics(d, b);
|
|
10
|
-
function __() { this.constructor = d; }
|
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
-
};
|
|
13
|
-
})();
|
|
14
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
18
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
|
-
};
|
|
20
|
-
import { ComponentBase, EJComponentDecorator, getProps, gh, isExecute } from '@syncfusion/ej2-vue-base';
|
|
1
|
+
import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';
|
|
21
2
|
import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
|
|
22
3
|
import { Diagram } from '@syncfusion/ej2-diagrams';
|
|
23
4
|
import { LayersDirective, LayerDirective, LayersPlugin, LayerPlugin } from './layers.directive';
|
|
@@ -29,13 +10,10 @@ import { NodeFixedUserHandlesDirective, NodeFixedUserHandleDirective, NodeFixedU
|
|
|
29
10
|
import { NodeAnnotationsDirective, NodeAnnotationDirective, NodeAnnotationsPlugin, NodeAnnotationPlugin } from './node-annotation.directive';
|
|
30
11
|
import { PortsDirective, PortDirective, PortsPlugin, PortPlugin } from './ports.directive';
|
|
31
12
|
import { NodesDirective, NodeDirective, NodesPlugin, NodePlugin } from './nodes.directive';
|
|
32
|
-
|
|
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', 'mouseWheel', 'onImageLoad', 'onUserHandleMouseDown', 'onUserHandleMouseEnter', 'onUserHandleMouseLeave', 'onUserHandleMouseUp', 'positionChange', 'propertyChange', 'rotateChange', 'scrollChange', 'segmentCollectionChange', 'selectionChange', 'sizeChange', 'sourcePointChange', 'targetPointChange', 'textEdit', 'elementDraw'];
|
|
13
|
+
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', 'mouseWheel', 'onImageLoad', 'onUserHandleMouseDown', 'onUserHandleMouseEnter', 'onUserHandleMouseLeave', 'onUserHandleMouseUp', 'positionChange', 'propertyChange', 'rotateChange', 'scrollChange', 'segmentChange', 'segmentCollectionChange', 'selectionChange', 'sizeChange', 'sourcePointChange', 'targetPointChange', 'textEdit', 'elementDraw'];
|
|
34
14
|
export var modelProps = [];
|
|
35
15
|
export var testProp = getProps({ props: properties });
|
|
36
|
-
export var props = testProp[0];
|
|
37
|
-
export var watch = testProp[1];
|
|
38
|
-
export var emitProbs = Object.keys(watch);
|
|
16
|
+
export var props = testProp[0], watch = testProp[1], emitProbs = Object.keys(watch);
|
|
39
17
|
emitProbs.push('modelchanged', 'update:modelValue');
|
|
40
18
|
for (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {
|
|
41
19
|
var props_1 = modelProps_1[_i];
|
|
@@ -47,396 +25,389 @@ for (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {
|
|
|
47
25
|
* <ejs-diagram></ejs-diagram>
|
|
48
26
|
* ```
|
|
49
27
|
*/
|
|
50
|
-
var DiagramComponent =
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
28
|
+
export var DiagramComponent = vueDefineComponent({
|
|
29
|
+
name: 'DiagramComponent',
|
|
30
|
+
mixins: [ComponentBase],
|
|
31
|
+
props: props,
|
|
32
|
+
watch: watch,
|
|
33
|
+
emits: emitProbs,
|
|
34
|
+
provide: function () { return { custom: this.custom }; },
|
|
35
|
+
data: function () {
|
|
36
|
+
return {
|
|
37
|
+
ej2Instances: new Diagram({}),
|
|
38
|
+
propKeys: properties,
|
|
39
|
+
models: modelProps,
|
|
40
|
+
hasChildDirective: true,
|
|
41
|
+
hasInjectedModules: true,
|
|
42
|
+
tagMapper: { "e-layers": "e-layer", "e-cursormaps": "e-cursormap", "e-connectors": { "e-connector": { "e-connector-fixeduserhandles": "e-connector-fixeduserhandle", "e-connector-annotations": "e-connector-annotation" } }, "e-nodes": { "e-node": { "e-node-fixeduserhandles": "e-node-fixeduserhandle", "e-node-annotations": "e-node-annotation", "e-node-ports": "e-node-port" } } },
|
|
43
|
+
tagNameMapper: { "e-cursormaps": "e-customCursor", "e-connector-fixeduserhandles": "e-fixedUserHandles", "e-connector-annotations": "e-annotations", "e-node-fixeduserhandles": "e-fixedUserHandles", "e-node-annotations": "e-annotations", "e-node-ports": "e-ports" },
|
|
44
|
+
isVue3: !isExecute,
|
|
45
|
+
templateCollection: {},
|
|
46
|
+
};
|
|
47
|
+
},
|
|
48
|
+
created: function () {
|
|
49
|
+
this.bindProperties();
|
|
50
|
+
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
51
|
+
this.ej2Instances.setProperties = this.setProperties;
|
|
52
|
+
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
53
|
+
this.updated = this.updated;
|
|
54
|
+
},
|
|
55
|
+
render: function (createElement) {
|
|
56
|
+
var h = !isExecute ? gh : createElement;
|
|
57
|
+
var slots = null;
|
|
58
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
59
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
72
60
|
}
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
61
|
+
return h('div', slots);
|
|
62
|
+
},
|
|
63
|
+
methods: {
|
|
64
|
+
clearTemplate: function (templateNames) {
|
|
65
|
+
if (!templateNames) {
|
|
66
|
+
templateNames = Object.keys(this.templateCollection || {});
|
|
67
|
+
}
|
|
68
|
+
if (templateNames.length && this.templateCollection) {
|
|
69
|
+
for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {
|
|
70
|
+
var tempName = templateNames_1[_i];
|
|
71
|
+
var elementCollection = this.templateCollection[tempName];
|
|
72
|
+
if (elementCollection && elementCollection.length) {
|
|
73
|
+
for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {
|
|
74
|
+
var ele = elementCollection_1[_a];
|
|
75
|
+
var destroy = getValue('__vue__.$destroy', ele);
|
|
76
|
+
if (destroy) {
|
|
77
|
+
ele.__vue__.$destroy();
|
|
78
|
+
}
|
|
79
|
+
if (ele.innerHTML) {
|
|
80
|
+
ele.innerHTML = '';
|
|
81
|
+
}
|
|
86
82
|
}
|
|
83
|
+
delete this.templateCollection[tempName];
|
|
87
84
|
}
|
|
88
|
-
delete this.templateCollection[tempName];
|
|
89
85
|
}
|
|
90
86
|
}
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
87
|
+
},
|
|
88
|
+
setProperties: function (prop, muteOnChange) {
|
|
89
|
+
var _this = this;
|
|
90
|
+
if (this.isVue3) {
|
|
91
|
+
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
92
|
+
}
|
|
93
|
+
if (this.ej2Instances && this.ej2Instances._setProperties) {
|
|
94
|
+
this.ej2Instances._setProperties(prop, muteOnChange);
|
|
95
|
+
}
|
|
96
|
+
if (prop && this.models && this.models.length) {
|
|
97
|
+
Object.keys(prop).map(function (key) {
|
|
98
|
+
_this.models.map(function (model) {
|
|
99
|
+
if ((key === model) && !(/datasource/i.test(key))) {
|
|
100
|
+
if (_this.isVue3) {
|
|
101
|
+
_this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);
|
|
102
|
+
}
|
|
103
|
+
else {
|
|
104
|
+
_this.$emit('update:' + key, prop[key]);
|
|
105
|
+
_this.$emit('modelchanged', prop[key]);
|
|
106
|
+
}
|
|
111
107
|
}
|
|
112
|
-
}
|
|
108
|
+
});
|
|
113
109
|
});
|
|
114
|
-
});
|
|
115
|
-
}
|
|
116
|
-
};
|
|
117
|
-
DiagramComponent.prototype.render = function (createElement) {
|
|
118
|
-
var h = !isExecute ? gh : createElement;
|
|
119
|
-
var slots = null;
|
|
120
|
-
if (!isNullOrUndefined(this.$slots.default)) {
|
|
121
|
-
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
122
|
-
}
|
|
123
|
-
return h('div', slots);
|
|
124
|
-
};
|
|
125
|
-
DiagramComponent.prototype.custom = function () {
|
|
126
|
-
this.updated();
|
|
127
|
-
};
|
|
128
|
-
DiagramComponent.prototype.add = function (obj, group) {
|
|
129
|
-
return this.ej2Instances.add(obj, group);
|
|
130
|
-
};
|
|
131
|
-
DiagramComponent.prototype.addChildToGroup = function (group, child) {
|
|
132
|
-
return this.ej2Instances.addChildToGroup(group, child);
|
|
133
|
-
};
|
|
134
|
-
DiagramComponent.prototype.addConnector = function (obj) {
|
|
135
|
-
return this.ej2Instances.addConnector(obj);
|
|
136
|
-
};
|
|
137
|
-
DiagramComponent.prototype.addConnectorLabels = function (obj, labels) {
|
|
138
|
-
return this.ej2Instances.addConnectorLabels(obj, labels);
|
|
139
|
-
};
|
|
140
|
-
DiagramComponent.prototype.addConstraints = function (constraintsType, constraintsValue) {
|
|
141
|
-
return this.ej2Instances.addConstraints(constraintsType, constraintsValue);
|
|
142
|
-
};
|
|
143
|
-
DiagramComponent.prototype.addCustomHistoryEntry = function (entry) {
|
|
144
|
-
return this.ej2Instances.addCustomHistoryEntry(entry);
|
|
145
|
-
};
|
|
146
|
-
DiagramComponent.prototype.addHistoryEntry = function (entry, sourceId) {
|
|
147
|
-
return this.ej2Instances.addHistoryEntry(entry, sourceId);
|
|
148
|
-
};
|
|
149
|
-
DiagramComponent.prototype.addLabels = function (obj, labels) {
|
|
150
|
-
return this.ej2Instances.addLabels(obj, labels);
|
|
151
|
-
};
|
|
152
|
-
DiagramComponent.prototype.addLanes = function (node, lane, index) {
|
|
153
|
-
return this.ej2Instances.addLanes(node, lane, index);
|
|
154
|
-
};
|
|
155
|
-
DiagramComponent.prototype.addLayer = function (layer, layerObject) {
|
|
156
|
-
return this.ej2Instances.addLayer(layer, layerObject);
|
|
157
|
-
};
|
|
158
|
-
DiagramComponent.prototype.addNode = function (obj, group) {
|
|
159
|
-
return this.ej2Instances.addNode(obj, group);
|
|
160
|
-
};
|
|
161
|
-
DiagramComponent.prototype.addNodeLabels = function (obj, labels) {
|
|
162
|
-
return this.ej2Instances.addNodeLabels(obj, labels);
|
|
163
|
-
};
|
|
164
|
-
DiagramComponent.prototype.addNodeToLane = function (node, swimLane, lane) {
|
|
165
|
-
return this.ej2Instances.addNodeToLane(node, swimLane, lane);
|
|
166
|
-
};
|
|
167
|
-
DiagramComponent.prototype.addPhases = function (node, phases) {
|
|
168
|
-
return this.ej2Instances.addPhases(node, phases);
|
|
169
|
-
};
|
|
170
|
-
DiagramComponent.prototype.addPorts = function (obj, ports) {
|
|
171
|
-
return this.ej2Instances.addPorts(obj, ports);
|
|
172
|
-
};
|
|
173
|
-
DiagramComponent.prototype.addProcess = function (process, parentId) {
|
|
174
|
-
return this.ej2Instances.addProcess(process, parentId);
|
|
175
|
-
};
|
|
176
|
-
DiagramComponent.prototype.addTextAnnotation = function (annotation, node) {
|
|
177
|
-
return this.ej2Instances.addTextAnnotation(annotation, node);
|
|
178
|
-
};
|
|
179
|
-
DiagramComponent.prototype.align = function (option, objects, type) {
|
|
180
|
-
return this.ej2Instances.align(option, objects, type);
|
|
181
|
-
};
|
|
182
|
-
DiagramComponent.prototype.bringIntoView = function (bound) {
|
|
183
|
-
return this.ej2Instances.bringIntoView(bound);
|
|
184
|
-
};
|
|
185
|
-
DiagramComponent.prototype.bringLayerForward = function (layerName) {
|
|
186
|
-
return this.ej2Instances.bringLayerForward(layerName);
|
|
187
|
-
};
|
|
188
|
-
DiagramComponent.prototype.bringToCenter = function (bound) {
|
|
189
|
-
return this.ej2Instances.bringToCenter(bound);
|
|
190
|
-
};
|
|
191
|
-
DiagramComponent.prototype.bringToFront = function () {
|
|
192
|
-
return this.ej2Instances.bringToFront();
|
|
193
|
-
};
|
|
194
|
-
DiagramComponent.prototype.clear = function () {
|
|
195
|
-
return this.ej2Instances.clear();
|
|
196
|
-
};
|
|
197
|
-
DiagramComponent.prototype.clearHistory = function () {
|
|
198
|
-
return this.ej2Instances.clearHistory();
|
|
199
|
-
};
|
|
200
|
-
DiagramComponent.prototype.clearSelection = function () {
|
|
201
|
-
return this.ej2Instances.clearSelection();
|
|
202
|
-
};
|
|
203
|
-
DiagramComponent.prototype.cloneLayer = function (layerName) {
|
|
204
|
-
return this.ej2Instances.cloneLayer(layerName);
|
|
205
|
-
};
|
|
206
|
-
DiagramComponent.prototype.copy = function () {
|
|
207
|
-
return this.ej2Instances.copy();
|
|
208
|
-
};
|
|
209
|
-
DiagramComponent.prototype.cut = function () {
|
|
210
|
-
return this.ej2Instances.cut();
|
|
211
|
-
};
|
|
212
|
-
DiagramComponent.prototype.distribute = function (option, objects) {
|
|
213
|
-
return this.ej2Instances.distribute(option, objects);
|
|
214
|
-
};
|
|
215
|
-
DiagramComponent.prototype.doLayout = function () {
|
|
216
|
-
return this.ej2Instances.doLayout();
|
|
217
|
-
};
|
|
218
|
-
DiagramComponent.prototype.drag = function (obj, tx, ty) {
|
|
219
|
-
return this.ej2Instances.drag(obj, tx, ty);
|
|
220
|
-
};
|
|
221
|
-
DiagramComponent.prototype.dragSourceEnd = function (obj, tx, ty) {
|
|
222
|
-
return this.ej2Instances.dragSourceEnd(obj, tx, ty);
|
|
223
|
-
};
|
|
224
|
-
DiagramComponent.prototype.dragTargetEnd = function (obj, tx, ty) {
|
|
225
|
-
return this.ej2Instances.dragTargetEnd(obj, tx, ty);
|
|
226
|
-
};
|
|
227
|
-
DiagramComponent.prototype.endGroupAction = function () {
|
|
228
|
-
return this.ej2Instances.endGroupAction();
|
|
229
|
-
};
|
|
230
|
-
DiagramComponent.prototype.exportDiagram = function (options) {
|
|
231
|
-
return this.ej2Instances.exportDiagram(options);
|
|
232
|
-
};
|
|
233
|
-
DiagramComponent.prototype.exportImage = function (image, options) {
|
|
234
|
-
return this.ej2Instances.exportImage(image, options);
|
|
235
|
-
};
|
|
236
|
-
DiagramComponent.prototype.findElementUnderMouse = function (obj, position, padding) {
|
|
237
|
-
return this.ej2Instances.findElementUnderMouse(obj, position, padding);
|
|
238
|
-
};
|
|
239
|
-
DiagramComponent.prototype.findObjectUnderMouse = function (objects, action, inAction) {
|
|
240
|
-
return this.ej2Instances.findObjectUnderMouse(objects, action, inAction);
|
|
241
|
-
};
|
|
242
|
-
DiagramComponent.prototype.findObjectsUnderMouse = function (position, source) {
|
|
243
|
-
return this.ej2Instances.findObjectsUnderMouse(position, source);
|
|
244
|
-
};
|
|
245
|
-
DiagramComponent.prototype.findTargetObjectUnderMouse = function (objects, action, inAction, position, source) {
|
|
246
|
-
return this.ej2Instances.findTargetObjectUnderMouse(objects, action, inAction, position, source);
|
|
247
|
-
};
|
|
248
|
-
DiagramComponent.prototype.fitToPage = function (options) {
|
|
249
|
-
return this.ej2Instances.fitToPage(options);
|
|
250
|
-
};
|
|
251
|
-
DiagramComponent.prototype.getActiveLayer = function () {
|
|
252
|
-
return this.ej2Instances.getActiveLayer();
|
|
253
|
-
};
|
|
254
|
-
DiagramComponent.prototype.getConnectorObject = function (id) {
|
|
255
|
-
return this.ej2Instances.getConnectorObject(id);
|
|
256
|
-
};
|
|
257
|
-
DiagramComponent.prototype.getCursor = function (action, active) {
|
|
258
|
-
return this.ej2Instances.getCursor(action, active);
|
|
259
|
-
};
|
|
260
|
-
DiagramComponent.prototype.getDiagramAction = function (diagramAction) {
|
|
261
|
-
return this.ej2Instances.getDiagramAction(diagramAction);
|
|
262
|
-
};
|
|
263
|
-
DiagramComponent.prototype.getDiagramBounds = function () {
|
|
264
|
-
return this.ej2Instances.getDiagramBounds();
|
|
265
|
-
};
|
|
266
|
-
DiagramComponent.prototype.getDiagramContent = function (styleSheets) {
|
|
267
|
-
return this.ej2Instances.getDiagramContent(styleSheets);
|
|
268
|
-
};
|
|
269
|
-
DiagramComponent.prototype.getEdges = function (args) {
|
|
270
|
-
return this.ej2Instances.getEdges(args);
|
|
271
|
-
};
|
|
272
|
-
DiagramComponent.prototype.getHistoryStack = function (isUndoStack) {
|
|
273
|
-
return this.ej2Instances.getHistoryStack(isUndoStack);
|
|
274
|
-
};
|
|
275
|
-
DiagramComponent.prototype.getNodeObject = function (id) {
|
|
276
|
-
return this.ej2Instances.getNodeObject(id);
|
|
277
|
-
};
|
|
278
|
-
DiagramComponent.prototype.getObject = function (name) {
|
|
279
|
-
return this.ej2Instances.getObject(name);
|
|
280
|
-
};
|
|
281
|
-
DiagramComponent.prototype.getParentId = function (id) {
|
|
282
|
-
return this.ej2Instances.getParentId(id);
|
|
283
|
-
};
|
|
284
|
-
DiagramComponent.prototype.getTool = function (action) {
|
|
285
|
-
return this.ej2Instances.getTool(action);
|
|
286
|
-
};
|
|
287
|
-
DiagramComponent.prototype.group = function () {
|
|
288
|
-
return this.ej2Instances.group();
|
|
289
|
-
};
|
|
290
|
-
DiagramComponent.prototype.hideTooltip = function (obj) {
|
|
291
|
-
return this.ej2Instances.hideTooltip(obj);
|
|
292
|
-
};
|
|
293
|
-
DiagramComponent.prototype.insertData = function (node) {
|
|
294
|
-
return this.ej2Instances.insertData(node);
|
|
295
|
-
};
|
|
296
|
-
DiagramComponent.prototype.loadDiagram = function (data) {
|
|
297
|
-
return this.ej2Instances.loadDiagram(data);
|
|
298
|
-
};
|
|
299
|
-
DiagramComponent.prototype.moveForward = function () {
|
|
300
|
-
return this.ej2Instances.moveForward();
|
|
301
|
-
};
|
|
302
|
-
DiagramComponent.prototype.moveObjects = function (objects, targetLayer) {
|
|
303
|
-
return this.ej2Instances.moveObjects(objects, targetLayer);
|
|
304
|
-
};
|
|
305
|
-
DiagramComponent.prototype.moveObjectsUp = function (node, currentLayer) {
|
|
306
|
-
return this.ej2Instances.moveObjectsUp(node, currentLayer);
|
|
307
|
-
};
|
|
308
|
-
DiagramComponent.prototype.nudge = function (direction, x, y) {
|
|
309
|
-
return this.ej2Instances.nudge(direction, x, y);
|
|
310
|
-
};
|
|
311
|
-
DiagramComponent.prototype.pan = function (horizontalOffset, verticalOffset, focusedPoint, isInteractiveZoomPan) {
|
|
312
|
-
return this.ej2Instances.pan(horizontalOffset, verticalOffset, focusedPoint, isInteractiveZoomPan);
|
|
313
|
-
};
|
|
314
|
-
DiagramComponent.prototype.paste = function (obj) {
|
|
315
|
-
return this.ej2Instances.paste(obj);
|
|
316
|
-
};
|
|
317
|
-
DiagramComponent.prototype.print = function (options) {
|
|
318
|
-
return this.ej2Instances.print(options);
|
|
319
|
-
};
|
|
320
|
-
DiagramComponent.prototype.printImage = function (image, options) {
|
|
321
|
-
return this.ej2Instances.printImage(image, options);
|
|
322
|
-
};
|
|
323
|
-
DiagramComponent.prototype.redo = function () {
|
|
324
|
-
return this.ej2Instances.redo();
|
|
325
|
-
};
|
|
326
|
-
DiagramComponent.prototype.remove = function (obj) {
|
|
327
|
-
return this.ej2Instances.remove(obj);
|
|
328
|
-
};
|
|
329
|
-
DiagramComponent.prototype.removeConstraints = function (constraintsType, constraintsValue) {
|
|
330
|
-
return this.ej2Instances.removeConstraints(constraintsType, constraintsValue);
|
|
331
|
-
};
|
|
332
|
-
DiagramComponent.prototype.removeData = function (node) {
|
|
333
|
-
return this.ej2Instances.removeData(node);
|
|
334
|
-
};
|
|
335
|
-
DiagramComponent.prototype.removeLabels = function (obj, labels) {
|
|
336
|
-
return this.ej2Instances.removeLabels(obj, labels);
|
|
337
|
-
};
|
|
338
|
-
DiagramComponent.prototype.removeLane = function (node, lane) {
|
|
339
|
-
return this.ej2Instances.removeLane(node, lane);
|
|
340
|
-
};
|
|
341
|
-
DiagramComponent.prototype.removeLayer = function (layerId) {
|
|
342
|
-
return this.ej2Instances.removeLayer(layerId);
|
|
343
|
-
};
|
|
344
|
-
DiagramComponent.prototype.removePhase = function (node, phase) {
|
|
345
|
-
return this.ej2Instances.removePhase(node, phase);
|
|
346
|
-
};
|
|
347
|
-
DiagramComponent.prototype.removePorts = function (obj, ports) {
|
|
348
|
-
return this.ej2Instances.removePorts(obj, ports);
|
|
349
|
-
};
|
|
350
|
-
DiagramComponent.prototype.removeProcess = function (id) {
|
|
351
|
-
return this.ej2Instances.removeProcess(id);
|
|
352
|
-
};
|
|
353
|
-
DiagramComponent.prototype.reset = function () {
|
|
354
|
-
return this.ej2Instances.reset();
|
|
355
|
-
};
|
|
356
|
-
DiagramComponent.prototype.resetSegments = function () {
|
|
357
|
-
return this.ej2Instances.resetSegments();
|
|
358
|
-
};
|
|
359
|
-
DiagramComponent.prototype.rotate = function (obj, angle, pivot) {
|
|
360
|
-
return this.ej2Instances.rotate(obj, angle, pivot);
|
|
361
|
-
};
|
|
362
|
-
DiagramComponent.prototype.sameSize = function (option, objects) {
|
|
363
|
-
return this.ej2Instances.sameSize(option, objects);
|
|
364
|
-
};
|
|
365
|
-
DiagramComponent.prototype.saveDiagram = function () {
|
|
366
|
-
return this.ej2Instances.saveDiagram();
|
|
367
|
-
};
|
|
368
|
-
DiagramComponent.prototype.scale = function (obj, sx, sy, pivot) {
|
|
369
|
-
return this.ej2Instances.scale(obj, sx, sy, pivot);
|
|
370
|
-
};
|
|
371
|
-
DiagramComponent.prototype.select = function (objects, multipleSelection, oldValue) {
|
|
372
|
-
return this.ej2Instances.select(objects, multipleSelection, oldValue);
|
|
373
|
-
};
|
|
374
|
-
DiagramComponent.prototype.selectAll = function () {
|
|
375
|
-
return this.ej2Instances.selectAll();
|
|
376
|
-
};
|
|
377
|
-
DiagramComponent.prototype.sendBackward = function () {
|
|
378
|
-
return this.ej2Instances.sendBackward();
|
|
379
|
-
};
|
|
380
|
-
DiagramComponent.prototype.sendLayerBackward = function (layerName) {
|
|
381
|
-
return this.ej2Instances.sendLayerBackward(layerName);
|
|
382
|
-
};
|
|
383
|
-
DiagramComponent.prototype.sendToBack = function () {
|
|
384
|
-
return this.ej2Instances.sendToBack();
|
|
385
|
-
};
|
|
386
|
-
DiagramComponent.prototype.setActiveLayer = function (layerName) {
|
|
387
|
-
return this.ej2Instances.setActiveLayer(layerName);
|
|
388
|
-
};
|
|
389
|
-
DiagramComponent.prototype.setStackLimit = function (stackLimit) {
|
|
390
|
-
return this.ej2Instances.setStackLimit(stackLimit);
|
|
391
|
-
};
|
|
392
|
-
DiagramComponent.prototype.showTooltip = function (obj) {
|
|
393
|
-
return this.ej2Instances.showTooltip(obj);
|
|
394
|
-
};
|
|
395
|
-
DiagramComponent.prototype.startGroupAction = function () {
|
|
396
|
-
return this.ej2Instances.startGroupAction();
|
|
397
|
-
};
|
|
398
|
-
DiagramComponent.prototype.startTextEdit = function (node, id) {
|
|
399
|
-
return this.ej2Instances.startTextEdit(node, id);
|
|
400
|
-
};
|
|
401
|
-
DiagramComponent.prototype.unGroup = function () {
|
|
402
|
-
return this.ej2Instances.unGroup();
|
|
403
|
-
};
|
|
404
|
-
DiagramComponent.prototype.unSelect = function (obj) {
|
|
405
|
-
return this.ej2Instances.unSelect(obj);
|
|
406
|
-
};
|
|
407
|
-
DiagramComponent.prototype.undo = function () {
|
|
408
|
-
return this.ej2Instances.undo();
|
|
409
|
-
};
|
|
410
|
-
DiagramComponent.prototype.updateData = function (node) {
|
|
411
|
-
return this.ej2Instances.updateData(node);
|
|
412
|
-
};
|
|
413
|
-
DiagramComponent.prototype.updateViewPort = function () {
|
|
414
|
-
return this.ej2Instances.updateViewPort();
|
|
415
|
-
};
|
|
416
|
-
DiagramComponent.prototype.zoom = function (factor, focusedPoint) {
|
|
417
|
-
return this.ej2Instances.zoom(factor, focusedPoint);
|
|
418
|
-
};
|
|
419
|
-
DiagramComponent.prototype.zoomTo = function (options) {
|
|
420
|
-
return this.ej2Instances.zoomTo(options);
|
|
421
|
-
};
|
|
422
|
-
DiagramComponent = __decorate([
|
|
423
|
-
EJComponentDecorator({
|
|
424
|
-
props: properties
|
|
425
|
-
}, isExecute)
|
|
426
|
-
,Options({
|
|
427
|
-
props: props,
|
|
428
|
-
watch: watch,
|
|
429
|
-
emits: emitProbs,
|
|
430
|
-
provide: function provide() {
|
|
431
|
-
return {
|
|
432
|
-
custom: this.custom
|
|
433
|
-
};
|
|
434
110
|
}
|
|
435
|
-
}
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
}
|
|
439
|
-
|
|
111
|
+
},
|
|
112
|
+
custom: function () {
|
|
113
|
+
this.updated();
|
|
114
|
+
},
|
|
115
|
+
add: function (obj, group) {
|
|
116
|
+
return this.ej2Instances.add(obj, group);
|
|
117
|
+
},
|
|
118
|
+
addChildToGroup: function (group, child) {
|
|
119
|
+
return this.ej2Instances.addChildToGroup(group, child);
|
|
120
|
+
},
|
|
121
|
+
addConnector: function (obj) {
|
|
122
|
+
return this.ej2Instances.addConnector(obj);
|
|
123
|
+
},
|
|
124
|
+
addConnectorLabels: function (obj, labels) {
|
|
125
|
+
return this.ej2Instances.addConnectorLabels(obj, labels);
|
|
126
|
+
},
|
|
127
|
+
addConstraints: function (constraintsType, constraintsValue) {
|
|
128
|
+
return this.ej2Instances.addConstraints(constraintsType, constraintsValue);
|
|
129
|
+
},
|
|
130
|
+
addCustomHistoryEntry: function (entry) {
|
|
131
|
+
return this.ej2Instances.addCustomHistoryEntry(entry);
|
|
132
|
+
},
|
|
133
|
+
addHistoryEntry: function (entry, sourceId) {
|
|
134
|
+
return this.ej2Instances.addHistoryEntry(entry, sourceId);
|
|
135
|
+
},
|
|
136
|
+
addLabels: function (obj, labels) {
|
|
137
|
+
return this.ej2Instances.addLabels(obj, labels);
|
|
138
|
+
},
|
|
139
|
+
addLanes: function (node, lane, index) {
|
|
140
|
+
return this.ej2Instances.addLanes(node, lane, index);
|
|
141
|
+
},
|
|
142
|
+
addLayer: function (layer, layerObject) {
|
|
143
|
+
return this.ej2Instances.addLayer(layer, layerObject);
|
|
144
|
+
},
|
|
145
|
+
addNode: function (obj, group) {
|
|
146
|
+
return this.ej2Instances.addNode(obj, group);
|
|
147
|
+
},
|
|
148
|
+
addNodeLabels: function (obj, labels) {
|
|
149
|
+
return this.ej2Instances.addNodeLabels(obj, labels);
|
|
150
|
+
},
|
|
151
|
+
addNodeToLane: function (node, swimLane, lane) {
|
|
152
|
+
return this.ej2Instances.addNodeToLane(node, swimLane, lane);
|
|
153
|
+
},
|
|
154
|
+
addPhases: function (node, phases) {
|
|
155
|
+
return this.ej2Instances.addPhases(node, phases);
|
|
156
|
+
},
|
|
157
|
+
addPorts: function (obj, ports) {
|
|
158
|
+
return this.ej2Instances.addPorts(obj, ports);
|
|
159
|
+
},
|
|
160
|
+
addProcess: function (process, parentId) {
|
|
161
|
+
return this.ej2Instances.addProcess(process, parentId);
|
|
162
|
+
},
|
|
163
|
+
addTextAnnotation: function (annotation, node) {
|
|
164
|
+
return this.ej2Instances.addTextAnnotation(annotation, node);
|
|
165
|
+
},
|
|
166
|
+
align: function (option, objects, type) {
|
|
167
|
+
return this.ej2Instances.align(option, objects, type);
|
|
168
|
+
},
|
|
169
|
+
bringIntoView: function (bound) {
|
|
170
|
+
return this.ej2Instances.bringIntoView(bound);
|
|
171
|
+
},
|
|
172
|
+
bringLayerForward: function (layerName) {
|
|
173
|
+
return this.ej2Instances.bringLayerForward(layerName);
|
|
174
|
+
},
|
|
175
|
+
bringToCenter: function (bound) {
|
|
176
|
+
return this.ej2Instances.bringToCenter(bound);
|
|
177
|
+
},
|
|
178
|
+
bringToFront: function () {
|
|
179
|
+
return this.ej2Instances.bringToFront();
|
|
180
|
+
},
|
|
181
|
+
clear: function () {
|
|
182
|
+
return this.ej2Instances.clear();
|
|
183
|
+
},
|
|
184
|
+
clearHistory: function () {
|
|
185
|
+
return this.ej2Instances.clearHistory();
|
|
186
|
+
},
|
|
187
|
+
clearSelection: function () {
|
|
188
|
+
return this.ej2Instances.clearSelection();
|
|
189
|
+
},
|
|
190
|
+
cloneLayer: function (layerName) {
|
|
191
|
+
return this.ej2Instances.cloneLayer(layerName);
|
|
192
|
+
},
|
|
193
|
+
copy: function () {
|
|
194
|
+
return this.ej2Instances.copy();
|
|
195
|
+
},
|
|
196
|
+
cut: function () {
|
|
197
|
+
return this.ej2Instances.cut();
|
|
198
|
+
},
|
|
199
|
+
distribute: function (option, objects) {
|
|
200
|
+
return this.ej2Instances.distribute(option, objects);
|
|
201
|
+
},
|
|
202
|
+
doLayout: function () {
|
|
203
|
+
return this.ej2Instances.doLayout();
|
|
204
|
+
},
|
|
205
|
+
drag: function (obj, tx, ty) {
|
|
206
|
+
return this.ej2Instances.drag(obj, tx, ty);
|
|
207
|
+
},
|
|
208
|
+
dragSourceEnd: function (obj, tx, ty) {
|
|
209
|
+
return this.ej2Instances.dragSourceEnd(obj, tx, ty);
|
|
210
|
+
},
|
|
211
|
+
dragTargetEnd: function (obj, tx, ty) {
|
|
212
|
+
return this.ej2Instances.dragTargetEnd(obj, tx, ty);
|
|
213
|
+
},
|
|
214
|
+
endGroupAction: function () {
|
|
215
|
+
return this.ej2Instances.endGroupAction();
|
|
216
|
+
},
|
|
217
|
+
exportDiagram: function (options) {
|
|
218
|
+
return this.ej2Instances.exportDiagram(options);
|
|
219
|
+
},
|
|
220
|
+
exportImage: function (image, options) {
|
|
221
|
+
return this.ej2Instances.exportImage(image, options);
|
|
222
|
+
},
|
|
223
|
+
findElementUnderMouse: function (obj, position, padding) {
|
|
224
|
+
return this.ej2Instances.findElementUnderMouse(obj, position, padding);
|
|
225
|
+
},
|
|
226
|
+
findObjectUnderMouse: function (objects, action, inAction) {
|
|
227
|
+
return this.ej2Instances.findObjectUnderMouse(objects, action, inAction);
|
|
228
|
+
},
|
|
229
|
+
findObjectsUnderMouse: function (position, source) {
|
|
230
|
+
return this.ej2Instances.findObjectsUnderMouse(position, source);
|
|
231
|
+
},
|
|
232
|
+
findTargetObjectUnderMouse: function (objects, action, inAction, position, source) {
|
|
233
|
+
return this.ej2Instances.findTargetObjectUnderMouse(objects, action, inAction, position, source);
|
|
234
|
+
},
|
|
235
|
+
fitToPage: function (options) {
|
|
236
|
+
return this.ej2Instances.fitToPage(options);
|
|
237
|
+
},
|
|
238
|
+
getActiveLayer: function () {
|
|
239
|
+
return this.ej2Instances.getActiveLayer();
|
|
240
|
+
},
|
|
241
|
+
getConnectorObject: function (id) {
|
|
242
|
+
return this.ej2Instances.getConnectorObject(id);
|
|
243
|
+
},
|
|
244
|
+
getCursor: function (action, active) {
|
|
245
|
+
return this.ej2Instances.getCursor(action, active);
|
|
246
|
+
},
|
|
247
|
+
getDiagramAction: function (diagramAction) {
|
|
248
|
+
return this.ej2Instances.getDiagramAction(diagramAction);
|
|
249
|
+
},
|
|
250
|
+
getDiagramBounds: function () {
|
|
251
|
+
return this.ej2Instances.getDiagramBounds();
|
|
252
|
+
},
|
|
253
|
+
getDiagramContent: function (styleSheets) {
|
|
254
|
+
return this.ej2Instances.getDiagramContent(styleSheets);
|
|
255
|
+
},
|
|
256
|
+
getEdges: function (args) {
|
|
257
|
+
return this.ej2Instances.getEdges(args);
|
|
258
|
+
},
|
|
259
|
+
getHistoryStack: function (isUndoStack) {
|
|
260
|
+
return this.ej2Instances.getHistoryStack(isUndoStack);
|
|
261
|
+
},
|
|
262
|
+
getNodeObject: function (id) {
|
|
263
|
+
return this.ej2Instances.getNodeObject(id);
|
|
264
|
+
},
|
|
265
|
+
getObject: function (name) {
|
|
266
|
+
return this.ej2Instances.getObject(name);
|
|
267
|
+
},
|
|
268
|
+
getParentId: function (id) {
|
|
269
|
+
return this.ej2Instances.getParentId(id);
|
|
270
|
+
},
|
|
271
|
+
getTool: function (action) {
|
|
272
|
+
return this.ej2Instances.getTool(action);
|
|
273
|
+
},
|
|
274
|
+
group: function () {
|
|
275
|
+
return this.ej2Instances.group();
|
|
276
|
+
},
|
|
277
|
+
hideTooltip: function (obj) {
|
|
278
|
+
return this.ej2Instances.hideTooltip(obj);
|
|
279
|
+
},
|
|
280
|
+
insertData: function (node) {
|
|
281
|
+
return this.ej2Instances.insertData(node);
|
|
282
|
+
},
|
|
283
|
+
loadDiagram: function (data) {
|
|
284
|
+
return this.ej2Instances.loadDiagram(data);
|
|
285
|
+
},
|
|
286
|
+
moveForward: function () {
|
|
287
|
+
return this.ej2Instances.moveForward();
|
|
288
|
+
},
|
|
289
|
+
moveObjects: function (objects, targetLayer) {
|
|
290
|
+
return this.ej2Instances.moveObjects(objects, targetLayer);
|
|
291
|
+
},
|
|
292
|
+
moveObjectsUp: function (node, currentLayer) {
|
|
293
|
+
return this.ej2Instances.moveObjectsUp(node, currentLayer);
|
|
294
|
+
},
|
|
295
|
+
nudge: function (direction, x, y) {
|
|
296
|
+
return this.ej2Instances.nudge(direction, x, y);
|
|
297
|
+
},
|
|
298
|
+
pan: function (horizontalOffset, verticalOffset, focusedPoint, isInteractiveZoomPan) {
|
|
299
|
+
return this.ej2Instances.pan(horizontalOffset, verticalOffset, focusedPoint, isInteractiveZoomPan);
|
|
300
|
+
},
|
|
301
|
+
paste: function (obj) {
|
|
302
|
+
return this.ej2Instances.paste(obj);
|
|
303
|
+
},
|
|
304
|
+
print: function (options) {
|
|
305
|
+
return this.ej2Instances.print(options);
|
|
306
|
+
},
|
|
307
|
+
printImage: function (image, options) {
|
|
308
|
+
return this.ej2Instances.printImage(image, options);
|
|
309
|
+
},
|
|
310
|
+
redo: function () {
|
|
311
|
+
return this.ej2Instances.redo();
|
|
312
|
+
},
|
|
313
|
+
remove: function (obj) {
|
|
314
|
+
return this.ej2Instances.remove(obj);
|
|
315
|
+
},
|
|
316
|
+
removeConstraints: function (constraintsType, constraintsValue) {
|
|
317
|
+
return this.ej2Instances.removeConstraints(constraintsType, constraintsValue);
|
|
318
|
+
},
|
|
319
|
+
removeData: function (node) {
|
|
320
|
+
return this.ej2Instances.removeData(node);
|
|
321
|
+
},
|
|
322
|
+
removeLabels: function (obj, labels) {
|
|
323
|
+
return this.ej2Instances.removeLabels(obj, labels);
|
|
324
|
+
},
|
|
325
|
+
removeLane: function (node, lane) {
|
|
326
|
+
return this.ej2Instances.removeLane(node, lane);
|
|
327
|
+
},
|
|
328
|
+
removeLayer: function (layerId) {
|
|
329
|
+
return this.ej2Instances.removeLayer(layerId);
|
|
330
|
+
},
|
|
331
|
+
removePhase: function (node, phase) {
|
|
332
|
+
return this.ej2Instances.removePhase(node, phase);
|
|
333
|
+
},
|
|
334
|
+
removePorts: function (obj, ports) {
|
|
335
|
+
return this.ej2Instances.removePorts(obj, ports);
|
|
336
|
+
},
|
|
337
|
+
removeProcess: function (id) {
|
|
338
|
+
return this.ej2Instances.removeProcess(id);
|
|
339
|
+
},
|
|
340
|
+
reset: function () {
|
|
341
|
+
return this.ej2Instances.reset();
|
|
342
|
+
},
|
|
343
|
+
resetSegments: function () {
|
|
344
|
+
return this.ej2Instances.resetSegments();
|
|
345
|
+
},
|
|
346
|
+
rotate: function (obj, angle, pivot) {
|
|
347
|
+
return this.ej2Instances.rotate(obj, angle, pivot);
|
|
348
|
+
},
|
|
349
|
+
sameSize: function (option, objects) {
|
|
350
|
+
return this.ej2Instances.sameSize(option, objects);
|
|
351
|
+
},
|
|
352
|
+
saveDiagram: function () {
|
|
353
|
+
return this.ej2Instances.saveDiagram();
|
|
354
|
+
},
|
|
355
|
+
scale: function (obj, sx, sy, pivot) {
|
|
356
|
+
return this.ej2Instances.scale(obj, sx, sy, pivot);
|
|
357
|
+
},
|
|
358
|
+
select: function (objects, multipleSelection, oldValue) {
|
|
359
|
+
return this.ej2Instances.select(objects, multipleSelection, oldValue);
|
|
360
|
+
},
|
|
361
|
+
selectAll: function () {
|
|
362
|
+
return this.ej2Instances.selectAll();
|
|
363
|
+
},
|
|
364
|
+
sendBackward: function () {
|
|
365
|
+
return this.ej2Instances.sendBackward();
|
|
366
|
+
},
|
|
367
|
+
sendLayerBackward: function (layerName) {
|
|
368
|
+
return this.ej2Instances.sendLayerBackward(layerName);
|
|
369
|
+
},
|
|
370
|
+
sendToBack: function () {
|
|
371
|
+
return this.ej2Instances.sendToBack();
|
|
372
|
+
},
|
|
373
|
+
setActiveLayer: function (layerName) {
|
|
374
|
+
return this.ej2Instances.setActiveLayer(layerName);
|
|
375
|
+
},
|
|
376
|
+
setStackLimit: function (stackLimit) {
|
|
377
|
+
return this.ej2Instances.setStackLimit(stackLimit);
|
|
378
|
+
},
|
|
379
|
+
showTooltip: function (obj) {
|
|
380
|
+
return this.ej2Instances.showTooltip(obj);
|
|
381
|
+
},
|
|
382
|
+
startGroupAction: function () {
|
|
383
|
+
return this.ej2Instances.startGroupAction();
|
|
384
|
+
},
|
|
385
|
+
startTextEdit: function (node, id) {
|
|
386
|
+
return this.ej2Instances.startTextEdit(node, id);
|
|
387
|
+
},
|
|
388
|
+
unGroup: function () {
|
|
389
|
+
return this.ej2Instances.unGroup();
|
|
390
|
+
},
|
|
391
|
+
unSelect: function (obj) {
|
|
392
|
+
return this.ej2Instances.unSelect(obj);
|
|
393
|
+
},
|
|
394
|
+
undo: function () {
|
|
395
|
+
return this.ej2Instances.undo();
|
|
396
|
+
},
|
|
397
|
+
updateData: function (node) {
|
|
398
|
+
return this.ej2Instances.updateData(node);
|
|
399
|
+
},
|
|
400
|
+
updateViewPort: function () {
|
|
401
|
+
return this.ej2Instances.updateViewPort();
|
|
402
|
+
},
|
|
403
|
+
zoom: function (factor, focusedPoint) {
|
|
404
|
+
return this.ej2Instances.zoom(factor, focusedPoint);
|
|
405
|
+
},
|
|
406
|
+
zoomTo: function (options) {
|
|
407
|
+
return this.ej2Instances.zoomTo(options);
|
|
408
|
+
},
|
|
409
|
+
}
|
|
410
|
+
});
|
|
440
411
|
export var DiagramPlugin = {
|
|
441
412
|
name: 'ejs-diagram',
|
|
442
413
|
install: function (Vue) {
|