@syncfusion/ej2-angular-diagrams 30.1.42-ngcc → 30.1.42
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 +2061 -0
- package/esm2020/public_api.mjs +2 -0
- package/esm2020/src/diagram/connector-annotation.directive.mjs +59 -0
- package/esm2020/src/diagram/connector-fixeduserhandle.directive.mjs +59 -0
- package/esm2020/src/diagram/connectors.directive.mjs +60 -0
- package/esm2020/src/diagram/customcursor.directive.mjs +54 -0
- package/esm2020/src/diagram/diagram-all.module.mjs +83 -0
- package/esm2020/src/diagram/diagram.component.mjs +231 -0
- package/esm2020/src/diagram/diagram.module.mjs +106 -0
- package/esm2020/src/diagram/layers.directive.mjs +54 -0
- package/esm2020/src/diagram/node-annotation.directive.mjs +59 -0
- package/esm2020/src/diagram/node-fixeduserhandle.directive.mjs +59 -0
- package/esm2020/src/diagram/nodes.directive.mjs +62 -0
- package/esm2020/src/diagram/ports.directive.mjs +59 -0
- package/esm2020/src/index.mjs +21 -0
- package/esm2020/src/overview/overview-all.module.mjs +23 -0
- package/esm2020/src/overview/overview.component.mjs +60 -0
- package/esm2020/src/overview/overview.module.mjs +25 -0
- package/esm2020/src/symbol-palette/palettes.directive.mjs +52 -0
- package/esm2020/src/symbol-palette/symbolpalette-all.module.mjs +23 -0
- package/esm2020/src/symbol-palette/symbolpalette.component.mjs +71 -0
- package/esm2020/src/symbol-palette/symbolpalette.module.mjs +34 -0
- package/esm2020/syncfusion-ej2-angular-diagrams.mjs +5 -0
- package/fesm2015/syncfusion-ej2-angular-diagrams.mjs +1153 -0
- package/fesm2015/syncfusion-ej2-angular-diagrams.mjs.map +1 -0
- package/fesm2020/syncfusion-ej2-angular-diagrams.mjs +1153 -0
- package/fesm2020/syncfusion-ej2-angular-diagrams.mjs.map +1 -0
- package/package.json +20 -7
- package/public_api.d.ts +1 -1
- package/src/diagram/connector-annotation.directive.d.ts +175 -170
- package/src/diagram/connector-fixeduserhandle.directive.d.ts +116 -111
- package/src/diagram/connectors.directive.d.ts +281 -276
- package/src/diagram/customcursor.directive.d.ts +36 -31
- package/src/diagram/diagram-all.module.d.ts +31 -25
- package/src/diagram/diagram.component.d.ts +106 -103
- package/src/diagram/diagram.module.d.ts +20 -5
- package/src/diagram/layers.directive.d.ts +60 -55
- package/src/diagram/node-annotation.directive.d.ts +156 -151
- package/src/diagram/node-fixeduserhandle.directive.d.ts +107 -102
- package/src/diagram/nodes.directive.d.ts +343 -338
- package/src/diagram/ports.directive.d.ts +147 -142
- package/src/index.d.ts +20 -20
- package/src/overview/overview-all.module.d.ts +11 -5
- package/src/overview/overview.component.d.ts +32 -29
- package/src/overview/overview.module.d.ts +11 -5
- package/src/symbol-palette/palettes.directive.d.ts +56 -51
- package/src/symbol-palette/symbolpalette-all.module.d.ts +11 -5
- package/src/symbol-palette/symbolpalette.component.d.ts +35 -32
- package/src/symbol-palette/symbolpalette.module.d.ts +12 -5
- package/syncfusion-ej2-angular-diagrams.d.ts +5 -0
- package/@syncfusion/ej2-angular-diagrams.es5.js +0 -1342
- package/@syncfusion/ej2-angular-diagrams.es5.js.map +0 -1
- package/@syncfusion/ej2-angular-diagrams.js +0 -1261
- package/@syncfusion/ej2-angular-diagrams.js.map +0 -1
- package/LICENSE +0 -10
- package/dist/ej2-angular-diagrams.umd.js +0 -1787
- package/dist/ej2-angular-diagrams.umd.js.map +0 -1
- package/dist/ej2-angular-diagrams.umd.min.js +0 -11
- package/dist/ej2-angular-diagrams.umd.min.js.map +0 -1
- package/ej2-angular-diagrams.d.ts +0 -7
- package/ej2-angular-diagrams.metadata.json +0 -1
@@ -0,0 +1,1153 @@
|
|
1
|
+
import * as i0 from '@angular/core';
|
2
|
+
import { Directive, ContentChildren, ContentChild, Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
3
|
+
import { ComplexBase, setValue, ArrayBase, ComponentBase, Template, ComponentMixins } from '@syncfusion/ej2-angular-base';
|
4
|
+
import { __decorate } from 'tslib';
|
5
|
+
import { Diagram, HierarchicalTree, MindMap, RadialTree, ComplexHierarchicalTree, DataBinding, Snapping, PrintAndExport, BpmnDiagrams, SymmetricLayout, ConnectorBridging, UndoRedo, LayoutAnimation, DiagramContextMenu, LineRouting, AvoidLineOverlapping, ConnectorEditing, LineDistribution, Ej1Serialization, FlowchartLayout, SymbolPalette, Overview } from '@syncfusion/ej2-diagrams';
|
6
|
+
export * from '@syncfusion/ej2-diagrams';
|
7
|
+
import { CommonModule } from '@angular/common';
|
8
|
+
|
9
|
+
let input$9 = ['addInfo', 'id', 'lock', 'objects', 'visible', 'zIndex'];
|
10
|
+
let outputs$c = [];
|
11
|
+
/**
|
12
|
+
* Layers Directive
|
13
|
+
* ```html
|
14
|
+
* <e-layers>
|
15
|
+
* <e-layer></e-layer>
|
16
|
+
* </e-layers>
|
17
|
+
* ```
|
18
|
+
*/
|
19
|
+
class LayerDirective extends ComplexBase {
|
20
|
+
constructor(viewContainerRef) {
|
21
|
+
super();
|
22
|
+
this.viewContainerRef = viewContainerRef;
|
23
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
24
|
+
this.registerEvents(outputs$c);
|
25
|
+
this.directivePropList = input$9;
|
26
|
+
}
|
27
|
+
}
|
28
|
+
LayerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: LayerDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
29
|
+
LayerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: LayerDirective, selector: "e-layers>e-layer", inputs: { addInfo: "addInfo", id: "id", lock: "lock", objects: "objects", visible: "visible", zIndex: "zIndex" }, usesInheritance: true, ngImport: i0 });
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: LayerDirective, decorators: [{
|
31
|
+
type: Directive,
|
32
|
+
args: [{
|
33
|
+
selector: 'e-layers>e-layer',
|
34
|
+
inputs: input$9,
|
35
|
+
outputs: outputs$c,
|
36
|
+
queries: {}
|
37
|
+
}]
|
38
|
+
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });
|
39
|
+
/**
|
40
|
+
* Layer Array Directive
|
41
|
+
* @private
|
42
|
+
*/
|
43
|
+
class LayersDirective extends ArrayBase {
|
44
|
+
constructor() {
|
45
|
+
super('layers');
|
46
|
+
}
|
47
|
+
}
|
48
|
+
LayersDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: LayersDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
49
|
+
LayersDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: LayersDirective, selector: "ej-diagram>e-layers", queries: [{ propertyName: "children", predicate: LayerDirective }], usesInheritance: true, ngImport: i0 });
|
50
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: LayersDirective, decorators: [{
|
51
|
+
type: Directive,
|
52
|
+
args: [{
|
53
|
+
selector: 'ej-diagram>e-layers',
|
54
|
+
queries: {
|
55
|
+
children: new ContentChildren(LayerDirective)
|
56
|
+
},
|
57
|
+
}]
|
58
|
+
}], ctorParameters: function () { return []; } });
|
59
|
+
|
60
|
+
let input$8 = ['action', 'cursor'];
|
61
|
+
let outputs$b = [];
|
62
|
+
/**
|
63
|
+
* Cursor Maps Directive
|
64
|
+
* ```html
|
65
|
+
* <e-cusrsormaps>
|
66
|
+
* <e-cursormap></e-cursormap>
|
67
|
+
* </e-cursormaps>
|
68
|
+
* ```
|
69
|
+
*/
|
70
|
+
class CustomCursorDirective extends ComplexBase {
|
71
|
+
constructor(viewContainerRef) {
|
72
|
+
super();
|
73
|
+
this.viewContainerRef = viewContainerRef;
|
74
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
75
|
+
this.registerEvents(outputs$b);
|
76
|
+
this.directivePropList = input$8;
|
77
|
+
}
|
78
|
+
}
|
79
|
+
CustomCursorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: CustomCursorDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
80
|
+
CustomCursorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: CustomCursorDirective, selector: "e-cursormaps>e-cursormap", inputs: { action: "action", cursor: "cursor" }, usesInheritance: true, ngImport: i0 });
|
81
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: CustomCursorDirective, decorators: [{
|
82
|
+
type: Directive,
|
83
|
+
args: [{
|
84
|
+
selector: 'e-cursormaps>e-cursormap',
|
85
|
+
inputs: input$8,
|
86
|
+
outputs: outputs$b,
|
87
|
+
queries: {}
|
88
|
+
}]
|
89
|
+
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });
|
90
|
+
/**
|
91
|
+
* CustomCursor Array Directive
|
92
|
+
* @private
|
93
|
+
*/
|
94
|
+
class CustomCursorsDirective extends ArrayBase {
|
95
|
+
constructor() {
|
96
|
+
super('customcursor');
|
97
|
+
}
|
98
|
+
}
|
99
|
+
CustomCursorsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: CustomCursorsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
100
|
+
CustomCursorsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: CustomCursorsDirective, selector: "ej-diagram>e-cursormaps", queries: [{ propertyName: "children", predicate: CustomCursorDirective }], usesInheritance: true, ngImport: i0 });
|
101
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: CustomCursorsDirective, decorators: [{
|
102
|
+
type: Directive,
|
103
|
+
args: [{
|
104
|
+
selector: 'ej-diagram>e-cursormaps',
|
105
|
+
queries: {
|
106
|
+
children: new ContentChildren(CustomCursorDirective)
|
107
|
+
},
|
108
|
+
}]
|
109
|
+
}], ctorParameters: function () { return []; } });
|
110
|
+
|
111
|
+
let input$7 = ['alignment', 'cornerRadius', 'displacement', 'fill', 'handleStrokeColor', 'handleStrokeWidth', 'height', 'iconStrokeColor', 'iconStrokeWidth', 'id', 'offset', 'padding', 'pathData', 'tooltip', 'visibility', 'width'];
|
112
|
+
let outputs$a = [];
|
113
|
+
/**
|
114
|
+
* Connectors Directive
|
115
|
+
* ```html
|
116
|
+
* <e-connectors>
|
117
|
+
* <e-connector>
|
118
|
+
* <e-connector-fixeduserhandles>
|
119
|
+
* <e-connector-fixeduserhandle>
|
120
|
+
* </e-connector-fixeduserhandle>
|
121
|
+
* </e-connector-fixeduserhandles>
|
122
|
+
* </e-connector>
|
123
|
+
* </e-connectors>
|
124
|
+
* ```
|
125
|
+
*/
|
126
|
+
class ConnectorFixedUserHandleDirective extends ComplexBase {
|
127
|
+
constructor(viewContainerRef) {
|
128
|
+
super();
|
129
|
+
this.viewContainerRef = viewContainerRef;
|
130
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
131
|
+
this.registerEvents(outputs$a);
|
132
|
+
this.directivePropList = input$7;
|
133
|
+
}
|
134
|
+
}
|
135
|
+
ConnectorFixedUserHandleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ConnectorFixedUserHandleDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
136
|
+
ConnectorFixedUserHandleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ConnectorFixedUserHandleDirective, selector: "e-connector>e-connector-fixeduserhandles>e-connector-fixeduserhandle", inputs: { alignment: "alignment", cornerRadius: "cornerRadius", displacement: "displacement", fill: "fill", handleStrokeColor: "handleStrokeColor", handleStrokeWidth: "handleStrokeWidth", height: "height", iconStrokeColor: "iconStrokeColor", iconStrokeWidth: "iconStrokeWidth", id: "id", offset: "offset", padding: "padding", pathData: "pathData", tooltip: "tooltip", visibility: "visibility", width: "width" }, usesInheritance: true, ngImport: i0 });
|
137
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ConnectorFixedUserHandleDirective, decorators: [{
|
138
|
+
type: Directive,
|
139
|
+
args: [{
|
140
|
+
selector: 'e-connector>e-connector-fixeduserhandles>e-connector-fixeduserhandle',
|
141
|
+
inputs: input$7,
|
142
|
+
outputs: outputs$a,
|
143
|
+
queries: {}
|
144
|
+
}]
|
145
|
+
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });
|
146
|
+
/**
|
147
|
+
* ConnectorFixedUserHandle Array Directive
|
148
|
+
* @private
|
149
|
+
*/
|
150
|
+
class ConnectorFixedUserHandlesDirective extends ArrayBase {
|
151
|
+
constructor() {
|
152
|
+
super('fixeduserhandles');
|
153
|
+
}
|
154
|
+
}
|
155
|
+
ConnectorFixedUserHandlesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ConnectorFixedUserHandlesDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
156
|
+
ConnectorFixedUserHandlesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ConnectorFixedUserHandlesDirective, selector: "e-connector>e-connector-fixeduserhandles", queries: [{ propertyName: "children", predicate: ConnectorFixedUserHandleDirective }], usesInheritance: true, ngImport: i0 });
|
157
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ConnectorFixedUserHandlesDirective, decorators: [{
|
158
|
+
type: Directive,
|
159
|
+
args: [{
|
160
|
+
selector: 'e-connector>e-connector-fixeduserhandles',
|
161
|
+
queries: {
|
162
|
+
children: new ContentChildren(ConnectorFixedUserHandleDirective)
|
163
|
+
},
|
164
|
+
}]
|
165
|
+
}], ctorParameters: function () { return []; } });
|
166
|
+
|
167
|
+
let input$6 = ['addInfo', 'alignment', 'annotationType', 'constraints', 'content', 'displacement', 'dragLimit', 'height', 'horizontalAlignment', 'hyperlink', 'id', 'margin', 'offset', 'rotateAngle', 'rotationReference', 'segmentAngle', 'style', 'template', 'tooltip', 'type', 'verticalAlignment', 'visibility', 'width'];
|
168
|
+
let outputs$9 = [];
|
169
|
+
/**
|
170
|
+
* Connectors Directive
|
171
|
+
* ```html
|
172
|
+
* <e-connectors>
|
173
|
+
* <e-connector>
|
174
|
+
* <e-connector-annotations>
|
175
|
+
* <e-connector-annotation>
|
176
|
+
* </e-connector-annotation>
|
177
|
+
* </e-connector-annotations>
|
178
|
+
* </e-connector>
|
179
|
+
* </e-connectors>
|
180
|
+
* ```
|
181
|
+
*/
|
182
|
+
class ConnectorAnnotationDirective extends ComplexBase {
|
183
|
+
constructor(viewContainerRef) {
|
184
|
+
super();
|
185
|
+
this.viewContainerRef = viewContainerRef;
|
186
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
187
|
+
this.registerEvents(outputs$9);
|
188
|
+
this.directivePropList = input$6;
|
189
|
+
}
|
190
|
+
}
|
191
|
+
ConnectorAnnotationDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ConnectorAnnotationDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
192
|
+
ConnectorAnnotationDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ConnectorAnnotationDirective, selector: "e-connector>e-connector-annotations>e-connector-annotation", inputs: { addInfo: "addInfo", alignment: "alignment", annotationType: "annotationType", constraints: "constraints", content: "content", displacement: "displacement", dragLimit: "dragLimit", height: "height", horizontalAlignment: "horizontalAlignment", hyperlink: "hyperlink", id: "id", margin: "margin", offset: "offset", rotateAngle: "rotateAngle", rotationReference: "rotationReference", segmentAngle: "segmentAngle", style: "style", template: "template", tooltip: "tooltip", type: "type", verticalAlignment: "verticalAlignment", visibility: "visibility", width: "width" }, usesInheritance: true, ngImport: i0 });
|
193
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ConnectorAnnotationDirective, decorators: [{
|
194
|
+
type: Directive,
|
195
|
+
args: [{
|
196
|
+
selector: 'e-connector>e-connector-annotations>e-connector-annotation',
|
197
|
+
inputs: input$6,
|
198
|
+
outputs: outputs$9,
|
199
|
+
queries: {}
|
200
|
+
}]
|
201
|
+
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });
|
202
|
+
/**
|
203
|
+
* ConnectorAnnotation Array Directive
|
204
|
+
* @private
|
205
|
+
*/
|
206
|
+
class ConnectorAnnotationsDirective extends ArrayBase {
|
207
|
+
constructor() {
|
208
|
+
super('annotations');
|
209
|
+
}
|
210
|
+
}
|
211
|
+
ConnectorAnnotationsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ConnectorAnnotationsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
212
|
+
ConnectorAnnotationsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ConnectorAnnotationsDirective, selector: "e-connector>e-connector-annotations", queries: [{ propertyName: "children", predicate: ConnectorAnnotationDirective }], usesInheritance: true, ngImport: i0 });
|
213
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ConnectorAnnotationsDirective, decorators: [{
|
214
|
+
type: Directive,
|
215
|
+
args: [{
|
216
|
+
selector: 'e-connector>e-connector-annotations',
|
217
|
+
queries: {
|
218
|
+
children: new ContentChildren(ConnectorAnnotationDirective)
|
219
|
+
},
|
220
|
+
}]
|
221
|
+
}], ctorParameters: function () { return []; } });
|
222
|
+
|
223
|
+
let input$5 = ['addInfo', 'allowNodeOverlap', 'annotations', 'bezierSettings', 'bridgeSpace', 'connectionPadding', 'connectorSpacing', 'constraints', 'cornerRadius', 'dragSize', 'excludeFromLayout', 'fixedUserHandles', 'flip', 'flipMode', 'hitPadding', 'id', 'margin', 'maxSegmentThumb', 'ports', 'previewSize', 'segmentThumbShape', 'segmentThumbSize', 'segments', 'shape', 'sourceDecorator', 'sourceID', 'sourcePadding', 'sourcePoint', 'sourcePortID', 'style', 'symbolInfo', 'targetDecorator', 'targetID', 'targetPadding', 'targetPoint', 'targetPortID', 'tooltip', 'type', 'visible', 'wrapper', 'zIndex'];
|
224
|
+
let outputs$8 = [];
|
225
|
+
/**
|
226
|
+
* Connectors Directive
|
227
|
+
* ```html
|
228
|
+
* <e-connectors>
|
229
|
+
* <e-connector></e-connector>
|
230
|
+
* </e-connectors>
|
231
|
+
* ```
|
232
|
+
*/
|
233
|
+
class ConnectorDirective extends ComplexBase {
|
234
|
+
constructor(viewContainerRef) {
|
235
|
+
super();
|
236
|
+
this.viewContainerRef = viewContainerRef;
|
237
|
+
this.tags = ['fixedUserHandles', 'annotations'];
|
238
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
239
|
+
this.registerEvents(outputs$8);
|
240
|
+
this.directivePropList = input$5;
|
241
|
+
}
|
242
|
+
}
|
243
|
+
ConnectorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ConnectorDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
244
|
+
ConnectorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ConnectorDirective, selector: "e-connectors>e-connector", inputs: { addInfo: "addInfo", allowNodeOverlap: "allowNodeOverlap", annotations: "annotations", bezierSettings: "bezierSettings", bridgeSpace: "bridgeSpace", connectionPadding: "connectionPadding", connectorSpacing: "connectorSpacing", constraints: "constraints", cornerRadius: "cornerRadius", dragSize: "dragSize", excludeFromLayout: "excludeFromLayout", fixedUserHandles: "fixedUserHandles", flip: "flip", flipMode: "flipMode", hitPadding: "hitPadding", id: "id", margin: "margin", maxSegmentThumb: "maxSegmentThumb", ports: "ports", previewSize: "previewSize", segmentThumbShape: "segmentThumbShape", segmentThumbSize: "segmentThumbSize", segments: "segments", shape: "shape", sourceDecorator: "sourceDecorator", sourceID: "sourceID", sourcePadding: "sourcePadding", sourcePoint: "sourcePoint", sourcePortID: "sourcePortID", style: "style", symbolInfo: "symbolInfo", targetDecorator: "targetDecorator", targetID: "targetID", targetPadding: "targetPadding", targetPoint: "targetPoint", targetPortID: "targetPortID", tooltip: "tooltip", type: "type", visible: "visible", wrapper: "wrapper", zIndex: "zIndex" }, queries: [{ propertyName: "childFixedUserHandles", first: true, predicate: ConnectorFixedUserHandlesDirective, descendants: true }, { propertyName: "childAnnotations", first: true, predicate: ConnectorAnnotationsDirective, descendants: true }], usesInheritance: true, ngImport: i0 });
|
245
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ConnectorDirective, decorators: [{
|
246
|
+
type: Directive,
|
247
|
+
args: [{
|
248
|
+
selector: 'e-connectors>e-connector',
|
249
|
+
inputs: input$5,
|
250
|
+
outputs: outputs$8,
|
251
|
+
queries: {
|
252
|
+
childFixedUserHandles: new ContentChild(ConnectorFixedUserHandlesDirective),
|
253
|
+
childAnnotations: new ContentChild(ConnectorAnnotationsDirective)
|
254
|
+
}
|
255
|
+
}]
|
256
|
+
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });
|
257
|
+
/**
|
258
|
+
* Connector Array Directive
|
259
|
+
* @private
|
260
|
+
*/
|
261
|
+
class ConnectorsDirective extends ArrayBase {
|
262
|
+
constructor() {
|
263
|
+
super('connectors');
|
264
|
+
}
|
265
|
+
}
|
266
|
+
ConnectorsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ConnectorsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
267
|
+
ConnectorsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ConnectorsDirective, selector: "ej-diagram>e-connectors", queries: [{ propertyName: "children", predicate: ConnectorDirective }], usesInheritance: true, ngImport: i0 });
|
268
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ConnectorsDirective, decorators: [{
|
269
|
+
type: Directive,
|
270
|
+
args: [{
|
271
|
+
selector: 'ej-diagram>e-connectors',
|
272
|
+
queries: {
|
273
|
+
children: new ContentChildren(ConnectorDirective)
|
274
|
+
},
|
275
|
+
}]
|
276
|
+
}], ctorParameters: function () { return []; } });
|
277
|
+
|
278
|
+
let input$4 = ['cornerRadius', 'fill', 'handleStrokeColor', 'handleStrokeWidth', 'height', 'iconStrokeColor', 'iconStrokeWidth', 'id', 'margin', 'offset', 'padding', 'pathData', 'tooltip', 'visibility', 'width'];
|
279
|
+
let outputs$7 = [];
|
280
|
+
/**
|
281
|
+
* Nodes Directive
|
282
|
+
* ```html
|
283
|
+
* <e-nodes>
|
284
|
+
* <e-node>
|
285
|
+
* <e-node-fixeduserhandles>
|
286
|
+
* <e-node-fixeduserhandle>
|
287
|
+
* </e-node-fixeduserhandle>
|
288
|
+
* </e-node-fixeduserhandles>
|
289
|
+
* </e-node>
|
290
|
+
* </e-nodes>
|
291
|
+
* ```
|
292
|
+
*/
|
293
|
+
class NodeFixedUserHandleDirective extends ComplexBase {
|
294
|
+
constructor(viewContainerRef) {
|
295
|
+
super();
|
296
|
+
this.viewContainerRef = viewContainerRef;
|
297
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
298
|
+
this.registerEvents(outputs$7);
|
299
|
+
this.directivePropList = input$4;
|
300
|
+
}
|
301
|
+
}
|
302
|
+
NodeFixedUserHandleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: NodeFixedUserHandleDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
303
|
+
NodeFixedUserHandleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: NodeFixedUserHandleDirective, selector: "e-node>e-node-fixeduserhandles>e-node-fixeduserhandle", inputs: { cornerRadius: "cornerRadius", fill: "fill", handleStrokeColor: "handleStrokeColor", handleStrokeWidth: "handleStrokeWidth", height: "height", iconStrokeColor: "iconStrokeColor", iconStrokeWidth: "iconStrokeWidth", id: "id", margin: "margin", offset: "offset", padding: "padding", pathData: "pathData", tooltip: "tooltip", visibility: "visibility", width: "width" }, usesInheritance: true, ngImport: i0 });
|
304
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: NodeFixedUserHandleDirective, decorators: [{
|
305
|
+
type: Directive,
|
306
|
+
args: [{
|
307
|
+
selector: 'e-node>e-node-fixeduserhandles>e-node-fixeduserhandle',
|
308
|
+
inputs: input$4,
|
309
|
+
outputs: outputs$7,
|
310
|
+
queries: {}
|
311
|
+
}]
|
312
|
+
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });
|
313
|
+
/**
|
314
|
+
* NodeFixedUserHandle Array Directive
|
315
|
+
* @private
|
316
|
+
*/
|
317
|
+
class NodeFixedUserHandlesDirective extends ArrayBase {
|
318
|
+
constructor() {
|
319
|
+
super('fixeduserhandles');
|
320
|
+
}
|
321
|
+
}
|
322
|
+
NodeFixedUserHandlesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: NodeFixedUserHandlesDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
323
|
+
NodeFixedUserHandlesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: NodeFixedUserHandlesDirective, selector: "e-node>e-node-fixeduserhandles", queries: [{ propertyName: "children", predicate: NodeFixedUserHandleDirective }], usesInheritance: true, ngImport: i0 });
|
324
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: NodeFixedUserHandlesDirective, decorators: [{
|
325
|
+
type: Directive,
|
326
|
+
args: [{
|
327
|
+
selector: 'e-node>e-node-fixeduserhandles',
|
328
|
+
queries: {
|
329
|
+
children: new ContentChildren(NodeFixedUserHandleDirective)
|
330
|
+
},
|
331
|
+
}]
|
332
|
+
}], ctorParameters: function () { return []; } });
|
333
|
+
|
334
|
+
let input$3 = ['addInfo', 'annotationType', 'constraints', 'content', 'dragLimit', 'height', 'horizontalAlignment', 'hyperlink', 'id', 'margin', 'offset', 'rotateAngle', 'rotationReference', 'style', 'template', 'tooltip', 'type', 'verticalAlignment', 'visibility', 'width'];
|
335
|
+
let outputs$6 = [];
|
336
|
+
/**
|
337
|
+
* Nodes Directive
|
338
|
+
* ```html
|
339
|
+
* <e-nodes>
|
340
|
+
* <e-node>
|
341
|
+
* <e-node-annotations>
|
342
|
+
* <e-node-annotation>
|
343
|
+
* </e-node-annotation>
|
344
|
+
* </e-node-annotations>
|
345
|
+
* </e-node>
|
346
|
+
* </e-nodes>
|
347
|
+
* ```
|
348
|
+
*/
|
349
|
+
class NodeAnnotationDirective extends ComplexBase {
|
350
|
+
constructor(viewContainerRef) {
|
351
|
+
super();
|
352
|
+
this.viewContainerRef = viewContainerRef;
|
353
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
354
|
+
this.registerEvents(outputs$6);
|
355
|
+
this.directivePropList = input$3;
|
356
|
+
}
|
357
|
+
}
|
358
|
+
NodeAnnotationDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: NodeAnnotationDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
359
|
+
NodeAnnotationDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: NodeAnnotationDirective, selector: "e-node>e-node-annotations>e-node-annotation", inputs: { addInfo: "addInfo", annotationType: "annotationType", constraints: "constraints", content: "content", dragLimit: "dragLimit", height: "height", horizontalAlignment: "horizontalAlignment", hyperlink: "hyperlink", id: "id", margin: "margin", offset: "offset", rotateAngle: "rotateAngle", rotationReference: "rotationReference", style: "style", template: "template", tooltip: "tooltip", type: "type", verticalAlignment: "verticalAlignment", visibility: "visibility", width: "width" }, usesInheritance: true, ngImport: i0 });
|
360
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: NodeAnnotationDirective, decorators: [{
|
361
|
+
type: Directive,
|
362
|
+
args: [{
|
363
|
+
selector: 'e-node>e-node-annotations>e-node-annotation',
|
364
|
+
inputs: input$3,
|
365
|
+
outputs: outputs$6,
|
366
|
+
queries: {}
|
367
|
+
}]
|
368
|
+
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });
|
369
|
+
/**
|
370
|
+
* NodeAnnotation Array Directive
|
371
|
+
* @private
|
372
|
+
*/
|
373
|
+
class NodeAnnotationsDirective extends ArrayBase {
|
374
|
+
constructor() {
|
375
|
+
super('annotations');
|
376
|
+
}
|
377
|
+
}
|
378
|
+
NodeAnnotationsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: NodeAnnotationsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
379
|
+
NodeAnnotationsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: NodeAnnotationsDirective, selector: "e-node>e-node-annotations", queries: [{ propertyName: "children", predicate: NodeAnnotationDirective }], usesInheritance: true, ngImport: i0 });
|
380
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: NodeAnnotationsDirective, decorators: [{
|
381
|
+
type: Directive,
|
382
|
+
args: [{
|
383
|
+
selector: 'e-node>e-node-annotations',
|
384
|
+
queries: {
|
385
|
+
children: new ContentChildren(NodeAnnotationDirective)
|
386
|
+
},
|
387
|
+
}]
|
388
|
+
}], ctorParameters: function () { return []; } });
|
389
|
+
|
390
|
+
let input$2 = ['addInfo', 'connectionDirection', 'constraints', 'height', 'horizontalAlignment', 'id', 'inEdges', 'margin', 'offset', 'outEdges', 'pathData', 'shape', 'style', 'tooltip', 'verticalAlignment', 'visibility', 'width'];
|
391
|
+
let outputs$5 = [];
|
392
|
+
/**
|
393
|
+
* Nodes Directive
|
394
|
+
* ```html
|
395
|
+
* <e-nodes>
|
396
|
+
* <e-node>
|
397
|
+
* <e-node-ports>
|
398
|
+
* <e-node-port>
|
399
|
+
* </e-node-port>
|
400
|
+
* </e-node-ports>
|
401
|
+
* </e-node>
|
402
|
+
* </e-nodes>
|
403
|
+
* ```
|
404
|
+
*/
|
405
|
+
class PortDirective extends ComplexBase {
|
406
|
+
constructor(viewContainerRef) {
|
407
|
+
super();
|
408
|
+
this.viewContainerRef = viewContainerRef;
|
409
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
410
|
+
this.registerEvents(outputs$5);
|
411
|
+
this.directivePropList = input$2;
|
412
|
+
}
|
413
|
+
}
|
414
|
+
PortDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: PortDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
415
|
+
PortDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: PortDirective, selector: "e-node>e-node-ports>e-node-port", inputs: { addInfo: "addInfo", connectionDirection: "connectionDirection", constraints: "constraints", height: "height", horizontalAlignment: "horizontalAlignment", id: "id", inEdges: "inEdges", margin: "margin", offset: "offset", outEdges: "outEdges", pathData: "pathData", shape: "shape", style: "style", tooltip: "tooltip", verticalAlignment: "verticalAlignment", visibility: "visibility", width: "width" }, usesInheritance: true, ngImport: i0 });
|
416
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: PortDirective, decorators: [{
|
417
|
+
type: Directive,
|
418
|
+
args: [{
|
419
|
+
selector: 'e-node>e-node-ports>e-node-port',
|
420
|
+
inputs: input$2,
|
421
|
+
outputs: outputs$5,
|
422
|
+
queries: {}
|
423
|
+
}]
|
424
|
+
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });
|
425
|
+
/**
|
426
|
+
* Port Array Directive
|
427
|
+
* @private
|
428
|
+
*/
|
429
|
+
class PortsDirective extends ArrayBase {
|
430
|
+
constructor() {
|
431
|
+
super('ports');
|
432
|
+
}
|
433
|
+
}
|
434
|
+
PortsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: PortsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
435
|
+
PortsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: PortsDirective, selector: "e-node>e-node-ports", queries: [{ propertyName: "children", predicate: PortDirective }], usesInheritance: true, ngImport: i0 });
|
436
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: PortsDirective, decorators: [{
|
437
|
+
type: Directive,
|
438
|
+
args: [{
|
439
|
+
selector: 'e-node>e-node-ports',
|
440
|
+
queries: {
|
441
|
+
children: new ContentChildren(PortDirective)
|
442
|
+
},
|
443
|
+
}]
|
444
|
+
}], ctorParameters: function () { return []; } });
|
445
|
+
|
446
|
+
let input$1 = ['addInfo', 'annotations', 'backgroundColor', 'borderColor', 'borderWidth', 'branch', 'children', 'collapseIcon', 'columnIndex', 'columnSpan', 'columns', 'constraints', 'container', 'data', 'dragSize', 'excludeFromLayout', 'expandIcon', 'fixedUserHandles', 'flip', 'flipMode', 'height', 'horizontalAlignment', 'id', 'isExpanded', 'layoutInfo', 'margin', 'maxHeight', 'maxWidth', 'minHeight', 'minWidth', 'offsetX', 'offsetY', 'padding', 'pivot', 'ports', 'previewSize', 'rotateAngle', 'rowIndex', 'rowSpan', 'rows', 'shadow', 'shape', 'style', 'symbolInfo', 'tooltip', 'verticalAlignment', 'visible', 'width', 'wrapper', 'zIndex'];
|
447
|
+
let outputs$4 = [];
|
448
|
+
/**
|
449
|
+
* Nodes Directive
|
450
|
+
* ```html
|
451
|
+
* <e-nodes>
|
452
|
+
* <e-node></e-node>
|
453
|
+
* </e-nodes>
|
454
|
+
* ```
|
455
|
+
*/
|
456
|
+
class NodeDirective extends ComplexBase {
|
457
|
+
constructor(viewContainerRef) {
|
458
|
+
super();
|
459
|
+
this.viewContainerRef = viewContainerRef;
|
460
|
+
this.tags = ['fixedUserHandles', 'annotations', 'ports'];
|
461
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
462
|
+
this.registerEvents(outputs$4);
|
463
|
+
this.directivePropList = input$1;
|
464
|
+
}
|
465
|
+
}
|
466
|
+
NodeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: NodeDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
467
|
+
NodeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: NodeDirective, selector: "e-nodes>e-node", inputs: { addInfo: "addInfo", annotations: "annotations", backgroundColor: "backgroundColor", borderColor: "borderColor", borderWidth: "borderWidth", branch: "branch", children: "children", collapseIcon: "collapseIcon", columnIndex: "columnIndex", columnSpan: "columnSpan", columns: "columns", constraints: "constraints", container: "container", data: "data", dragSize: "dragSize", excludeFromLayout: "excludeFromLayout", expandIcon: "expandIcon", fixedUserHandles: "fixedUserHandles", flip: "flip", flipMode: "flipMode", height: "height", horizontalAlignment: "horizontalAlignment", id: "id", isExpanded: "isExpanded", layoutInfo: "layoutInfo", margin: "margin", maxHeight: "maxHeight", maxWidth: "maxWidth", minHeight: "minHeight", minWidth: "minWidth", offsetX: "offsetX", offsetY: "offsetY", padding: "padding", pivot: "pivot", ports: "ports", previewSize: "previewSize", rotateAngle: "rotateAngle", rowIndex: "rowIndex", rowSpan: "rowSpan", rows: "rows", shadow: "shadow", shape: "shape", style: "style", symbolInfo: "symbolInfo", tooltip: "tooltip", verticalAlignment: "verticalAlignment", visible: "visible", width: "width", wrapper: "wrapper", zIndex: "zIndex" }, queries: [{ propertyName: "childFixedUserHandles", first: true, predicate: NodeFixedUserHandlesDirective, descendants: true }, { propertyName: "childAnnotations", first: true, predicate: NodeAnnotationsDirective, descendants: true }, { propertyName: "childPorts", first: true, predicate: PortsDirective, descendants: true }], usesInheritance: true, ngImport: i0 });
|
468
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: NodeDirective, decorators: [{
|
469
|
+
type: Directive,
|
470
|
+
args: [{
|
471
|
+
selector: 'e-nodes>e-node',
|
472
|
+
inputs: input$1,
|
473
|
+
outputs: outputs$4,
|
474
|
+
queries: {
|
475
|
+
childFixedUserHandles: new ContentChild(NodeFixedUserHandlesDirective),
|
476
|
+
childAnnotations: new ContentChild(NodeAnnotationsDirective),
|
477
|
+
childPorts: new ContentChild(PortsDirective)
|
478
|
+
}
|
479
|
+
}]
|
480
|
+
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });
|
481
|
+
/**
|
482
|
+
* Node Array Directive
|
483
|
+
* @private
|
484
|
+
*/
|
485
|
+
class NodesDirective extends ArrayBase {
|
486
|
+
constructor() {
|
487
|
+
super('nodes');
|
488
|
+
}
|
489
|
+
}
|
490
|
+
NodesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: NodesDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
491
|
+
NodesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: NodesDirective, selector: "ej-diagram>e-nodes", queries: [{ propertyName: "children", predicate: NodeDirective }], usesInheritance: true, ngImport: i0 });
|
492
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: NodesDirective, decorators: [{
|
493
|
+
type: Directive,
|
494
|
+
args: [{
|
495
|
+
selector: 'ej-diagram>e-nodes',
|
496
|
+
queries: {
|
497
|
+
children: new ContentChildren(NodeDirective)
|
498
|
+
},
|
499
|
+
}]
|
500
|
+
}], ctorParameters: function () { return []; } });
|
501
|
+
|
502
|
+
const inputs$2 = ['addInfo', 'annotationTemplate', 'backgroundColor', 'bridgeDirection', 'commandManager', 'connectorDefaults', 'connectors', 'constraints', 'contextMenuSettings', 'customCursor', 'dataSourceSettings', 'diagramSettings', 'drawingObject', 'enableConnectorSplit', 'enablePersistence', 'enableRtl', 'fixedUserHandleTemplate', 'getConnectorDefaults', 'getCustomCursor', 'getCustomProperty', 'getCustomTool', 'getDescription', 'getNodeDefaults', 'height', 'historyManager', 'layers', 'layout', 'locale', 'mode', 'model', 'nodeDefaults', 'nodeTemplate', 'nodes', 'pageSettings', 'rulerSettings', 'scrollSettings', 'segmentThumbShape', 'segmentThumbSize', 'selectedItems', 'serializationSettings', 'setNodeTemplate', 'snapSettings', 'tool', 'tooltip', 'updateSelection', 'userHandleTemplate', 'width'];
|
503
|
+
const outputs$3 = ['animationComplete', 'click', 'collectionChange', 'commandExecute', 'connectionChange', 'contextMenuBeforeItemRender', 'contextMenuClick', 'contextMenuOpen', 'created', 'dataLoaded', 'doubleClick', 'dragEnter', 'dragLeave', 'dragOver', 'drop', 'elementDraw', 'expandStateChange', 'fixedUserHandleClick', 'historyChange', 'historyStateChange', 'keyDown', 'keyUp', 'layoutUpdated', 'load', 'loaded', 'mouseEnter', 'mouseLeave', 'mouseOver', 'mouseWheel', 'onFixedUserHandleMouseDown', 'onFixedUserHandleMouseEnter', 'onFixedUserHandleMouseLeave', 'onFixedUserHandleMouseUp', 'onImageLoad', 'onUserHandleMouseDown', 'onUserHandleMouseEnter', 'onUserHandleMouseLeave', 'onUserHandleMouseUp', 'positionChange', 'propertyChange', 'rotateChange', 'scrollChange', 'segmentChange', 'segmentCollectionChange', 'selectionChange', 'sizeChange', 'sourcePointChange', 'targetPointChange', 'textEdit'];
|
504
|
+
const twoWays$2 = [''];
|
505
|
+
/**
|
506
|
+
* Diagram Component
|
507
|
+
* ```html
|
508
|
+
* <ej-diagram></ej-diagram>
|
509
|
+
* ```
|
510
|
+
*/
|
511
|
+
let DiagramComponent = class DiagramComponent extends Diagram {
|
512
|
+
constructor(ngEle, srenderer, viewContainerRef, injector) {
|
513
|
+
super();
|
514
|
+
this.ngEle = ngEle;
|
515
|
+
this.srenderer = srenderer;
|
516
|
+
this.viewContainerRef = viewContainerRef;
|
517
|
+
this.injector = injector;
|
518
|
+
this.tags = ['layers', 'customCursor', 'connectors', 'nodes'];
|
519
|
+
this.element = this.ngEle.nativeElement;
|
520
|
+
this.injectedModules = this.injectedModules || [];
|
521
|
+
try {
|
522
|
+
let mod = this.injector.get('DiagramsHierarchicalTree');
|
523
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
524
|
+
this.injectedModules.push(mod);
|
525
|
+
}
|
526
|
+
}
|
527
|
+
catch { }
|
528
|
+
try {
|
529
|
+
let mod = this.injector.get('DiagramsMindMap');
|
530
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
531
|
+
this.injectedModules.push(mod);
|
532
|
+
}
|
533
|
+
}
|
534
|
+
catch { }
|
535
|
+
try {
|
536
|
+
let mod = this.injector.get('DiagramsRadialTree');
|
537
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
538
|
+
this.injectedModules.push(mod);
|
539
|
+
}
|
540
|
+
}
|
541
|
+
catch { }
|
542
|
+
try {
|
543
|
+
let mod = this.injector.get('DiagramsComplexHierarchicalTree');
|
544
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
545
|
+
this.injectedModules.push(mod);
|
546
|
+
}
|
547
|
+
}
|
548
|
+
catch { }
|
549
|
+
try {
|
550
|
+
let mod = this.injector.get('DiagramsDataBinding');
|
551
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
552
|
+
this.injectedModules.push(mod);
|
553
|
+
}
|
554
|
+
}
|
555
|
+
catch { }
|
556
|
+
try {
|
557
|
+
let mod = this.injector.get('DiagramsSnapping');
|
558
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
559
|
+
this.injectedModules.push(mod);
|
560
|
+
}
|
561
|
+
}
|
562
|
+
catch { }
|
563
|
+
try {
|
564
|
+
let mod = this.injector.get('DiagramsPrintAndExport');
|
565
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
566
|
+
this.injectedModules.push(mod);
|
567
|
+
}
|
568
|
+
}
|
569
|
+
catch { }
|
570
|
+
try {
|
571
|
+
let mod = this.injector.get('DiagramsBpmnDiagrams');
|
572
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
573
|
+
this.injectedModules.push(mod);
|
574
|
+
}
|
575
|
+
}
|
576
|
+
catch { }
|
577
|
+
try {
|
578
|
+
let mod = this.injector.get('DiagramsSymmetricLayout');
|
579
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
580
|
+
this.injectedModules.push(mod);
|
581
|
+
}
|
582
|
+
}
|
583
|
+
catch { }
|
584
|
+
try {
|
585
|
+
let mod = this.injector.get('DiagramsConnectorBridging');
|
586
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
587
|
+
this.injectedModules.push(mod);
|
588
|
+
}
|
589
|
+
}
|
590
|
+
catch { }
|
591
|
+
try {
|
592
|
+
let mod = this.injector.get('DiagramsUndoRedo');
|
593
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
594
|
+
this.injectedModules.push(mod);
|
595
|
+
}
|
596
|
+
}
|
597
|
+
catch { }
|
598
|
+
try {
|
599
|
+
let mod = this.injector.get('DiagramsLayoutAnimation');
|
600
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
601
|
+
this.injectedModules.push(mod);
|
602
|
+
}
|
603
|
+
}
|
604
|
+
catch { }
|
605
|
+
try {
|
606
|
+
let mod = this.injector.get('DiagramsDiagramContextMenu');
|
607
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
608
|
+
this.injectedModules.push(mod);
|
609
|
+
}
|
610
|
+
}
|
611
|
+
catch { }
|
612
|
+
try {
|
613
|
+
let mod = this.injector.get('DiagramsLineRouting');
|
614
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
615
|
+
this.injectedModules.push(mod);
|
616
|
+
}
|
617
|
+
}
|
618
|
+
catch { }
|
619
|
+
try {
|
620
|
+
let mod = this.injector.get('DiagramsAvoidLineOverlapping');
|
621
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
622
|
+
this.injectedModules.push(mod);
|
623
|
+
}
|
624
|
+
}
|
625
|
+
catch { }
|
626
|
+
try {
|
627
|
+
let mod = this.injector.get('DiagramsConnectorEditing');
|
628
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
629
|
+
this.injectedModules.push(mod);
|
630
|
+
}
|
631
|
+
}
|
632
|
+
catch { }
|
633
|
+
try {
|
634
|
+
let mod = this.injector.get('DiagramsLineDistribution');
|
635
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
636
|
+
this.injectedModules.push(mod);
|
637
|
+
}
|
638
|
+
}
|
639
|
+
catch { }
|
640
|
+
try {
|
641
|
+
let mod = this.injector.get('DiagramsEj1Serialization');
|
642
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
643
|
+
this.injectedModules.push(mod);
|
644
|
+
}
|
645
|
+
}
|
646
|
+
catch { }
|
647
|
+
try {
|
648
|
+
let mod = this.injector.get('DiagramsFlowchartLayout');
|
649
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
650
|
+
this.injectedModules.push(mod);
|
651
|
+
}
|
652
|
+
}
|
653
|
+
catch { }
|
654
|
+
this.registerEvents(outputs$3);
|
655
|
+
this.addTwoWay.call(this, twoWays$2);
|
656
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
657
|
+
this.context = new ComponentBase();
|
658
|
+
}
|
659
|
+
ngOnInit() {
|
660
|
+
this.context.ngOnInit(this);
|
661
|
+
}
|
662
|
+
ngAfterViewInit() {
|
663
|
+
this.context.ngAfterViewInit(this);
|
664
|
+
}
|
665
|
+
ngOnDestroy() {
|
666
|
+
this.context.ngOnDestroy(this);
|
667
|
+
}
|
668
|
+
ngAfterContentChecked() {
|
669
|
+
this.tagObjects[0].instance = this.childLayers;
|
670
|
+
if (this.childCustomCursor) {
|
671
|
+
this.tagObjects[1].instance = this.childCustomCursor;
|
672
|
+
}
|
673
|
+
if (this.childConnectors) {
|
674
|
+
this.tagObjects[2].instance = this.childConnectors;
|
675
|
+
}
|
676
|
+
if (this.childNodes) {
|
677
|
+
this.tagObjects[3].instance = this.childNodes;
|
678
|
+
}
|
679
|
+
this.context.ngAfterContentChecked(this);
|
680
|
+
}
|
681
|
+
};
|
682
|
+
DiagramComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DiagramComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
683
|
+
DiagramComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: DiagramComponent, selector: "ejs-diagram", inputs: { addInfo: "addInfo", annotationTemplate: "annotationTemplate", backgroundColor: "backgroundColor", bridgeDirection: "bridgeDirection", commandManager: "commandManager", connectorDefaults: "connectorDefaults", connectors: "connectors", constraints: "constraints", contextMenuSettings: "contextMenuSettings", customCursor: "customCursor", dataSourceSettings: "dataSourceSettings", diagramSettings: "diagramSettings", drawingObject: "drawingObject", enableConnectorSplit: "enableConnectorSplit", enablePersistence: "enablePersistence", enableRtl: "enableRtl", fixedUserHandleTemplate: "fixedUserHandleTemplate", getConnectorDefaults: "getConnectorDefaults", getCustomCursor: "getCustomCursor", getCustomProperty: "getCustomProperty", getCustomTool: "getCustomTool", getDescription: "getDescription", getNodeDefaults: "getNodeDefaults", height: "height", historyManager: "historyManager", layers: "layers", layout: "layout", locale: "locale", mode: "mode", model: "model", nodeDefaults: "nodeDefaults", nodeTemplate: "nodeTemplate", nodes: "nodes", pageSettings: "pageSettings", rulerSettings: "rulerSettings", scrollSettings: "scrollSettings", segmentThumbShape: "segmentThumbShape", segmentThumbSize: "segmentThumbSize", selectedItems: "selectedItems", serializationSettings: "serializationSettings", setNodeTemplate: "setNodeTemplate", snapSettings: "snapSettings", tool: "tool", tooltip: "tooltip", updateSelection: "updateSelection", userHandleTemplate: "userHandleTemplate", width: "width" }, outputs: { animationComplete: "animationComplete", click: "click", collectionChange: "collectionChange", commandExecute: "commandExecute", connectionChange: "connectionChange", contextMenuBeforeItemRender: "contextMenuBeforeItemRender", contextMenuClick: "contextMenuClick", contextMenuOpen: "contextMenuOpen", created: "created", dataLoaded: "dataLoaded", doubleClick: "doubleClick", dragEnter: "dragEnter", dragLeave: "dragLeave", dragOver: "dragOver", drop: "drop", elementDraw: "elementDraw", expandStateChange: "expandStateChange", fixedUserHandleClick: "fixedUserHandleClick", historyChange: "historyChange", historyStateChange: "historyStateChange", keyDown: "keyDown", keyUp: "keyUp", layoutUpdated: "layoutUpdated", load: "load", loaded: "loaded", mouseEnter: "mouseEnter", mouseLeave: "mouseLeave", mouseOver: "mouseOver", mouseWheel: "mouseWheel", onFixedUserHandleMouseDown: "onFixedUserHandleMouseDown", onFixedUserHandleMouseEnter: "onFixedUserHandleMouseEnter", onFixedUserHandleMouseLeave: "onFixedUserHandleMouseLeave", onFixedUserHandleMouseUp: "onFixedUserHandleMouseUp", onImageLoad: "onImageLoad", onUserHandleMouseDown: "onUserHandleMouseDown", onUserHandleMouseEnter: "onUserHandleMouseEnter", onUserHandleMouseLeave: "onUserHandleMouseLeave", onUserHandleMouseUp: "onUserHandleMouseUp", positionChange: "positionChange", propertyChange: "propertyChange", rotateChange: "rotateChange", scrollChange: "scrollChange", segmentChange: "segmentChange", segmentCollectionChange: "segmentCollectionChange", selectionChange: "selectionChange", sizeChange: "sizeChange", sourcePointChange: "sourcePointChange", targetPointChange: "targetPointChange", textEdit: "textEdit" }, queries: [{ propertyName: "annotationTemplate", first: true, predicate: ["annotationTemplate"], descendants: true }, { propertyName: "nodeTemplate", first: true, predicate: ["nodeTemplate"], descendants: true }, { propertyName: "userHandleTemplate", first: true, predicate: ["userHandleTemplate"], descendants: true }, { propertyName: "childLayers", first: true, predicate: LayersDirective, descendants: true }, { propertyName: "childCustomCursor", first: true, predicate: CustomCursorsDirective, descendants: true }, { propertyName: "childConnectors", first: true, predicate: ConnectorsDirective, descendants: true }, { propertyName: "childNodes", first: true, predicate: NodesDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
684
|
+
__decorate([
|
685
|
+
Template()
|
686
|
+
], DiagramComponent.prototype, "annotationTemplate", void 0);
|
687
|
+
__decorate([
|
688
|
+
Template()
|
689
|
+
], DiagramComponent.prototype, "nodeTemplate", void 0);
|
690
|
+
__decorate([
|
691
|
+
Template()
|
692
|
+
], DiagramComponent.prototype, "userHandleTemplate", void 0);
|
693
|
+
DiagramComponent = __decorate([
|
694
|
+
ComponentMixins([ComponentBase])
|
695
|
+
], DiagramComponent);
|
696
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DiagramComponent, decorators: [{
|
697
|
+
type: Component,
|
698
|
+
args: [{
|
699
|
+
selector: 'ejs-diagram',
|
700
|
+
inputs: inputs$2,
|
701
|
+
outputs: outputs$3,
|
702
|
+
template: '',
|
703
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
704
|
+
queries: {
|
705
|
+
childLayers: new ContentChild(LayersDirective),
|
706
|
+
childCustomCursor: new ContentChild(CustomCursorsDirective),
|
707
|
+
childConnectors: new ContentChild(ConnectorsDirective),
|
708
|
+
childNodes: new ContentChild(NodesDirective)
|
709
|
+
}
|
710
|
+
}]
|
711
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.Injector }]; }, propDecorators: { annotationTemplate: [{
|
712
|
+
type: ContentChild,
|
713
|
+
args: ['annotationTemplate']
|
714
|
+
}], nodeTemplate: [{
|
715
|
+
type: ContentChild,
|
716
|
+
args: ['nodeTemplate']
|
717
|
+
}], userHandleTemplate: [{
|
718
|
+
type: ContentChild,
|
719
|
+
args: ['userHandleTemplate']
|
720
|
+
}] } });
|
721
|
+
|
722
|
+
/**
|
723
|
+
* NgModule definition for the Diagram component.
|
724
|
+
*/
|
725
|
+
class DiagramModule {
|
726
|
+
}
|
727
|
+
DiagramModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DiagramModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
728
|
+
DiagramModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DiagramModule, declarations: [DiagramComponent,
|
729
|
+
LayerDirective,
|
730
|
+
LayersDirective,
|
731
|
+
CustomCursorDirective,
|
732
|
+
CustomCursorsDirective,
|
733
|
+
ConnectorFixedUserHandleDirective,
|
734
|
+
ConnectorFixedUserHandlesDirective,
|
735
|
+
ConnectorAnnotationDirective,
|
736
|
+
ConnectorAnnotationsDirective,
|
737
|
+
ConnectorDirective,
|
738
|
+
ConnectorsDirective,
|
739
|
+
NodeFixedUserHandleDirective,
|
740
|
+
NodeFixedUserHandlesDirective,
|
741
|
+
NodeAnnotationDirective,
|
742
|
+
NodeAnnotationsDirective,
|
743
|
+
PortDirective,
|
744
|
+
PortsDirective,
|
745
|
+
NodeDirective,
|
746
|
+
NodesDirective], imports: [CommonModule], exports: [DiagramComponent,
|
747
|
+
LayerDirective,
|
748
|
+
LayersDirective,
|
749
|
+
CustomCursorDirective,
|
750
|
+
CustomCursorsDirective,
|
751
|
+
ConnectorFixedUserHandleDirective,
|
752
|
+
ConnectorFixedUserHandlesDirective,
|
753
|
+
ConnectorAnnotationDirective,
|
754
|
+
ConnectorAnnotationsDirective,
|
755
|
+
ConnectorDirective,
|
756
|
+
ConnectorsDirective,
|
757
|
+
NodeFixedUserHandleDirective,
|
758
|
+
NodeFixedUserHandlesDirective,
|
759
|
+
NodeAnnotationDirective,
|
760
|
+
NodeAnnotationsDirective,
|
761
|
+
PortDirective,
|
762
|
+
PortsDirective,
|
763
|
+
NodeDirective,
|
764
|
+
NodesDirective] });
|
765
|
+
DiagramModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DiagramModule, imports: [[CommonModule]] });
|
766
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DiagramModule, decorators: [{
|
767
|
+
type: NgModule,
|
768
|
+
args: [{
|
769
|
+
imports: [CommonModule],
|
770
|
+
declarations: [
|
771
|
+
DiagramComponent,
|
772
|
+
LayerDirective,
|
773
|
+
LayersDirective,
|
774
|
+
CustomCursorDirective,
|
775
|
+
CustomCursorsDirective,
|
776
|
+
ConnectorFixedUserHandleDirective,
|
777
|
+
ConnectorFixedUserHandlesDirective,
|
778
|
+
ConnectorAnnotationDirective,
|
779
|
+
ConnectorAnnotationsDirective,
|
780
|
+
ConnectorDirective,
|
781
|
+
ConnectorsDirective,
|
782
|
+
NodeFixedUserHandleDirective,
|
783
|
+
NodeFixedUserHandlesDirective,
|
784
|
+
NodeAnnotationDirective,
|
785
|
+
NodeAnnotationsDirective,
|
786
|
+
PortDirective,
|
787
|
+
PortsDirective,
|
788
|
+
NodeDirective,
|
789
|
+
NodesDirective
|
790
|
+
],
|
791
|
+
exports: [
|
792
|
+
DiagramComponent,
|
793
|
+
LayerDirective,
|
794
|
+
LayersDirective,
|
795
|
+
CustomCursorDirective,
|
796
|
+
CustomCursorsDirective,
|
797
|
+
ConnectorFixedUserHandleDirective,
|
798
|
+
ConnectorFixedUserHandlesDirective,
|
799
|
+
ConnectorAnnotationDirective,
|
800
|
+
ConnectorAnnotationsDirective,
|
801
|
+
ConnectorDirective,
|
802
|
+
ConnectorsDirective,
|
803
|
+
NodeFixedUserHandleDirective,
|
804
|
+
NodeFixedUserHandlesDirective,
|
805
|
+
NodeAnnotationDirective,
|
806
|
+
NodeAnnotationsDirective,
|
807
|
+
PortDirective,
|
808
|
+
PortsDirective,
|
809
|
+
NodeDirective,
|
810
|
+
NodesDirective
|
811
|
+
]
|
812
|
+
}]
|
813
|
+
}] });
|
814
|
+
|
815
|
+
const HierarchicalTreeService = { provide: 'DiagramsHierarchicalTree', useValue: HierarchicalTree };
|
816
|
+
const MindMapService = { provide: 'DiagramsMindMap', useValue: MindMap };
|
817
|
+
const RadialTreeService = { provide: 'DiagramsRadialTree', useValue: RadialTree };
|
818
|
+
const ComplexHierarchicalTreeService = { provide: 'DiagramsComplexHierarchicalTree', useValue: ComplexHierarchicalTree };
|
819
|
+
const DataBindingService = { provide: 'DiagramsDataBinding', useValue: DataBinding };
|
820
|
+
const SnappingService = { provide: 'DiagramsSnapping', useValue: Snapping };
|
821
|
+
const PrintAndExportService = { provide: 'DiagramsPrintAndExport', useValue: PrintAndExport };
|
822
|
+
const BpmnDiagramsService = { provide: 'DiagramsBpmnDiagrams', useValue: BpmnDiagrams };
|
823
|
+
const SymmetricLayoutService = { provide: 'DiagramsSymmetricLayout', useValue: SymmetricLayout };
|
824
|
+
const ConnectorBridgingService = { provide: 'DiagramsConnectorBridging', useValue: ConnectorBridging };
|
825
|
+
const UndoRedoService = { provide: 'DiagramsUndoRedo', useValue: UndoRedo };
|
826
|
+
const LayoutAnimationService = { provide: 'DiagramsLayoutAnimation', useValue: LayoutAnimation };
|
827
|
+
const DiagramContextMenuService = { provide: 'DiagramsDiagramContextMenu', useValue: DiagramContextMenu };
|
828
|
+
const LineRoutingService = { provide: 'DiagramsLineRouting', useValue: LineRouting };
|
829
|
+
const AvoidLineOverlappingService = { provide: 'DiagramsAvoidLineOverlapping', useValue: AvoidLineOverlapping };
|
830
|
+
const ConnectorEditingService = { provide: 'DiagramsConnectorEditing', useValue: ConnectorEditing };
|
831
|
+
const LineDistributionService = { provide: 'DiagramsLineDistribution', useValue: LineDistribution };
|
832
|
+
const Ej1SerializationService = { provide: 'DiagramsEj1Serialization', useValue: Ej1Serialization };
|
833
|
+
const FlowchartLayoutService = { provide: 'DiagramsFlowchartLayout', useValue: FlowchartLayout };
|
834
|
+
/**
|
835
|
+
* NgModule definition for the Diagram component with providers.
|
836
|
+
*/
|
837
|
+
class DiagramAllModule {
|
838
|
+
}
|
839
|
+
DiagramAllModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DiagramAllModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
840
|
+
DiagramAllModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DiagramAllModule, imports: [CommonModule, DiagramModule], exports: [DiagramModule] });
|
841
|
+
DiagramAllModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DiagramAllModule, providers: [
|
842
|
+
HierarchicalTreeService,
|
843
|
+
MindMapService,
|
844
|
+
RadialTreeService,
|
845
|
+
ComplexHierarchicalTreeService,
|
846
|
+
DataBindingService,
|
847
|
+
SnappingService,
|
848
|
+
PrintAndExportService,
|
849
|
+
BpmnDiagramsService,
|
850
|
+
SymmetricLayoutService,
|
851
|
+
ConnectorBridgingService,
|
852
|
+
UndoRedoService,
|
853
|
+
LayoutAnimationService,
|
854
|
+
DiagramContextMenuService,
|
855
|
+
LineRoutingService,
|
856
|
+
AvoidLineOverlappingService,
|
857
|
+
ConnectorEditingService,
|
858
|
+
LineDistributionService,
|
859
|
+
Ej1SerializationService,
|
860
|
+
FlowchartLayoutService
|
861
|
+
], imports: [[CommonModule, DiagramModule], DiagramModule] });
|
862
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DiagramAllModule, decorators: [{
|
863
|
+
type: NgModule,
|
864
|
+
args: [{
|
865
|
+
imports: [CommonModule, DiagramModule],
|
866
|
+
exports: [
|
867
|
+
DiagramModule
|
868
|
+
],
|
869
|
+
providers: [
|
870
|
+
HierarchicalTreeService,
|
871
|
+
MindMapService,
|
872
|
+
RadialTreeService,
|
873
|
+
ComplexHierarchicalTreeService,
|
874
|
+
DataBindingService,
|
875
|
+
SnappingService,
|
876
|
+
PrintAndExportService,
|
877
|
+
BpmnDiagramsService,
|
878
|
+
SymmetricLayoutService,
|
879
|
+
ConnectorBridgingService,
|
880
|
+
UndoRedoService,
|
881
|
+
LayoutAnimationService,
|
882
|
+
DiagramContextMenuService,
|
883
|
+
LineRoutingService,
|
884
|
+
AvoidLineOverlappingService,
|
885
|
+
ConnectorEditingService,
|
886
|
+
LineDistributionService,
|
887
|
+
Ej1SerializationService,
|
888
|
+
FlowchartLayoutService
|
889
|
+
]
|
890
|
+
}]
|
891
|
+
}] });
|
892
|
+
|
893
|
+
let input = ['expanded', 'height', 'iconCss', 'id', 'symbols', 'title'];
|
894
|
+
let outputs$2 = [];
|
895
|
+
/**
|
896
|
+
* Palette Directive
|
897
|
+
* ```html
|
898
|
+
* <e-palettes><e-palette></e-palette><e-palettes>
|
899
|
+
* ```
|
900
|
+
*/
|
901
|
+
class PaletteDirective extends ComplexBase {
|
902
|
+
constructor(viewContainerRef) {
|
903
|
+
super();
|
904
|
+
this.viewContainerRef = viewContainerRef;
|
905
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
906
|
+
this.registerEvents(outputs$2);
|
907
|
+
this.directivePropList = input;
|
908
|
+
}
|
909
|
+
}
|
910
|
+
PaletteDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: PaletteDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
911
|
+
PaletteDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: PaletteDirective, selector: "e-palettes>e-palette", inputs: { expanded: "expanded", height: "height", iconCss: "iconCss", id: "id", symbols: "symbols", title: "title" }, usesInheritance: true, ngImport: i0 });
|
912
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: PaletteDirective, decorators: [{
|
913
|
+
type: Directive,
|
914
|
+
args: [{
|
915
|
+
selector: 'e-palettes>e-palette',
|
916
|
+
inputs: input,
|
917
|
+
outputs: outputs$2,
|
918
|
+
queries: {}
|
919
|
+
}]
|
920
|
+
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });
|
921
|
+
/**
|
922
|
+
* Palette Array Directive
|
923
|
+
* @private
|
924
|
+
*/
|
925
|
+
class PalettesDirective extends ArrayBase {
|
926
|
+
constructor() {
|
927
|
+
super('palettes');
|
928
|
+
}
|
929
|
+
}
|
930
|
+
PalettesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: PalettesDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
931
|
+
PalettesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: PalettesDirective, selector: "ejs-symbolpalette>e-palettes", queries: [{ propertyName: "children", predicate: PaletteDirective }], usesInheritance: true, ngImport: i0 });
|
932
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: PalettesDirective, decorators: [{
|
933
|
+
type: Directive,
|
934
|
+
args: [{
|
935
|
+
selector: 'ejs-symbolpalette>e-palettes',
|
936
|
+
queries: {
|
937
|
+
children: new ContentChildren(PaletteDirective)
|
938
|
+
},
|
939
|
+
}]
|
940
|
+
}], ctorParameters: function () { return []; } });
|
941
|
+
|
942
|
+
const inputs$1 = ['accessKey', 'allowDrag', 'connectorDefaults', 'enableAnimation', 'enablePersistence', 'enableRtl', 'enableSearch', 'expandMode', 'filterSymbols', 'getConnectorDefaults', 'getNodeDefaults', 'getSymbolInfo', 'getSymbolTemplate', 'height', 'ignoreSymbolsOnSearch', 'locale', 'nodeDefaults', 'palettes', 'symbolDragSize', 'symbolHeight', 'symbolInfo', 'symbolMargin', 'symbolPreview', 'symbolWidth', 'width'];
|
943
|
+
const outputs$1 = ['paletteExpanding', 'paletteSelectionChange'];
|
944
|
+
const twoWays$1 = [''];
|
945
|
+
/**
|
946
|
+
* SymbolPalette Component
|
947
|
+
* ```html
|
948
|
+
* <ej-symbol-palette></ej-symbol-palette>
|
949
|
+
* ```
|
950
|
+
*/
|
951
|
+
let SymbolPaletteComponent = class SymbolPaletteComponent extends SymbolPalette {
|
952
|
+
constructor(ngEle, srenderer, viewContainerRef, injector) {
|
953
|
+
super();
|
954
|
+
this.ngEle = ngEle;
|
955
|
+
this.srenderer = srenderer;
|
956
|
+
this.viewContainerRef = viewContainerRef;
|
957
|
+
this.injector = injector;
|
958
|
+
this.tags = ['palettes'];
|
959
|
+
this.element = this.ngEle.nativeElement;
|
960
|
+
this.injectedModules = this.injectedModules || [];
|
961
|
+
try {
|
962
|
+
let mod = this.injector.get('DiagramsBpmnDiagrams');
|
963
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
964
|
+
this.injectedModules.push(mod);
|
965
|
+
}
|
966
|
+
}
|
967
|
+
catch { }
|
968
|
+
this.registerEvents(outputs$1);
|
969
|
+
this.addTwoWay.call(this, twoWays$1);
|
970
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
971
|
+
this.context = new ComponentBase();
|
972
|
+
}
|
973
|
+
ngOnInit() {
|
974
|
+
this.context.ngOnInit(this);
|
975
|
+
}
|
976
|
+
ngAfterViewInit() {
|
977
|
+
this.context.ngAfterViewInit(this);
|
978
|
+
}
|
979
|
+
ngOnDestroy() {
|
980
|
+
this.context.ngOnDestroy(this);
|
981
|
+
}
|
982
|
+
ngAfterContentChecked() {
|
983
|
+
this.tagObjects[0].instance = this.childPalettes;
|
984
|
+
this.context.ngAfterContentChecked(this);
|
985
|
+
}
|
986
|
+
};
|
987
|
+
SymbolPaletteComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SymbolPaletteComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
988
|
+
SymbolPaletteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: SymbolPaletteComponent, selector: "ejs-symbolpalette", inputs: { accessKey: "accessKey", allowDrag: "allowDrag", connectorDefaults: "connectorDefaults", enableAnimation: "enableAnimation", enablePersistence: "enablePersistence", enableRtl: "enableRtl", enableSearch: "enableSearch", expandMode: "expandMode", filterSymbols: "filterSymbols", getConnectorDefaults: "getConnectorDefaults", getNodeDefaults: "getNodeDefaults", getSymbolInfo: "getSymbolInfo", getSymbolTemplate: "getSymbolTemplate", height: "height", ignoreSymbolsOnSearch: "ignoreSymbolsOnSearch", locale: "locale", nodeDefaults: "nodeDefaults", palettes: "palettes", symbolDragSize: "symbolDragSize", symbolHeight: "symbolHeight", symbolInfo: "symbolInfo", symbolMargin: "symbolMargin", symbolPreview: "symbolPreview", symbolWidth: "symbolWidth", width: "width" }, outputs: { paletteExpanding: "paletteExpanding", paletteSelectionChange: "paletteSelectionChange" }, queries: [{ propertyName: "childPalettes", first: true, predicate: PalettesDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
989
|
+
SymbolPaletteComponent = __decorate([
|
990
|
+
ComponentMixins([ComponentBase])
|
991
|
+
], SymbolPaletteComponent);
|
992
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SymbolPaletteComponent, decorators: [{
|
993
|
+
type: Component,
|
994
|
+
args: [{
|
995
|
+
selector: 'ejs-symbolpalette',
|
996
|
+
inputs: inputs$1,
|
997
|
+
outputs: outputs$1,
|
998
|
+
template: '',
|
999
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
1000
|
+
queries: {
|
1001
|
+
childPalettes: new ContentChild(PalettesDirective)
|
1002
|
+
}
|
1003
|
+
}]
|
1004
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.Injector }]; } });
|
1005
|
+
|
1006
|
+
/**
|
1007
|
+
* NgModule definition for the SymbolPalette component.
|
1008
|
+
*/
|
1009
|
+
class SymbolPaletteModule {
|
1010
|
+
}
|
1011
|
+
SymbolPaletteModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SymbolPaletteModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1012
|
+
SymbolPaletteModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SymbolPaletteModule, declarations: [SymbolPaletteComponent,
|
1013
|
+
PaletteDirective,
|
1014
|
+
PalettesDirective], imports: [CommonModule], exports: [SymbolPaletteComponent,
|
1015
|
+
PaletteDirective,
|
1016
|
+
PalettesDirective] });
|
1017
|
+
SymbolPaletteModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SymbolPaletteModule, imports: [[CommonModule]] });
|
1018
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SymbolPaletteModule, decorators: [{
|
1019
|
+
type: NgModule,
|
1020
|
+
args: [{
|
1021
|
+
imports: [CommonModule],
|
1022
|
+
declarations: [
|
1023
|
+
SymbolPaletteComponent,
|
1024
|
+
PaletteDirective,
|
1025
|
+
PalettesDirective
|
1026
|
+
],
|
1027
|
+
exports: [
|
1028
|
+
SymbolPaletteComponent,
|
1029
|
+
PaletteDirective,
|
1030
|
+
PalettesDirective
|
1031
|
+
]
|
1032
|
+
}]
|
1033
|
+
}] });
|
1034
|
+
|
1035
|
+
/**
|
1036
|
+
* NgModule definition for the SymbolPalette component with providers.
|
1037
|
+
*/
|
1038
|
+
class SymbolPaletteAllModule {
|
1039
|
+
}
|
1040
|
+
SymbolPaletteAllModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SymbolPaletteAllModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1041
|
+
SymbolPaletteAllModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SymbolPaletteAllModule, imports: [CommonModule, SymbolPaletteModule], exports: [SymbolPaletteModule] });
|
1042
|
+
SymbolPaletteAllModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SymbolPaletteAllModule, providers: [], imports: [[CommonModule, SymbolPaletteModule], SymbolPaletteModule] });
|
1043
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SymbolPaletteAllModule, decorators: [{
|
1044
|
+
type: NgModule,
|
1045
|
+
args: [{
|
1046
|
+
imports: [CommonModule, SymbolPaletteModule],
|
1047
|
+
exports: [
|
1048
|
+
SymbolPaletteModule
|
1049
|
+
],
|
1050
|
+
providers: []
|
1051
|
+
}]
|
1052
|
+
}] });
|
1053
|
+
|
1054
|
+
const inputs = ['enablePersistence', 'enableRtl', 'height', 'locale', 'sourceID', 'width'];
|
1055
|
+
const outputs = ['created'];
|
1056
|
+
const twoWays = [''];
|
1057
|
+
/**
|
1058
|
+
* Overview Component
|
1059
|
+
* ```html
|
1060
|
+
* <ej-overview></ej-overview>
|
1061
|
+
* ```
|
1062
|
+
*/
|
1063
|
+
let OverviewComponent = class OverviewComponent extends Overview {
|
1064
|
+
constructor(ngEle, srenderer, viewContainerRef, injector) {
|
1065
|
+
super();
|
1066
|
+
this.ngEle = ngEle;
|
1067
|
+
this.srenderer = srenderer;
|
1068
|
+
this.viewContainerRef = viewContainerRef;
|
1069
|
+
this.injector = injector;
|
1070
|
+
this.tags = [''];
|
1071
|
+
this.element = this.ngEle.nativeElement;
|
1072
|
+
this.injectedModules = this.injectedModules || [];
|
1073
|
+
this.registerEvents(outputs);
|
1074
|
+
this.addTwoWay.call(this, twoWays);
|
1075
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
1076
|
+
this.context = new ComponentBase();
|
1077
|
+
}
|
1078
|
+
ngOnInit() {
|
1079
|
+
this.context.ngOnInit(this);
|
1080
|
+
}
|
1081
|
+
ngAfterViewInit() {
|
1082
|
+
this.context.ngAfterViewInit(this);
|
1083
|
+
}
|
1084
|
+
ngOnDestroy() {
|
1085
|
+
this.context.ngOnDestroy(this);
|
1086
|
+
}
|
1087
|
+
ngAfterContentChecked() {
|
1088
|
+
this.context.ngAfterContentChecked(this);
|
1089
|
+
}
|
1090
|
+
};
|
1091
|
+
OverviewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: OverviewComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
1092
|
+
OverviewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: OverviewComponent, selector: "ejs-overview", inputs: { enablePersistence: "enablePersistence", enableRtl: "enableRtl", height: "height", locale: "locale", sourceID: "sourceID", width: "width" }, outputs: { created: "created" }, usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
1093
|
+
OverviewComponent = __decorate([
|
1094
|
+
ComponentMixins([ComponentBase])
|
1095
|
+
], OverviewComponent);
|
1096
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: OverviewComponent, decorators: [{
|
1097
|
+
type: Component,
|
1098
|
+
args: [{
|
1099
|
+
selector: 'ejs-overview',
|
1100
|
+
inputs: inputs,
|
1101
|
+
outputs: outputs,
|
1102
|
+
template: '',
|
1103
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
1104
|
+
queries: {}
|
1105
|
+
}]
|
1106
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.Injector }]; } });
|
1107
|
+
|
1108
|
+
/**
|
1109
|
+
* NgModule definition for the Overview component.
|
1110
|
+
*/
|
1111
|
+
class OverviewModule {
|
1112
|
+
}
|
1113
|
+
OverviewModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: OverviewModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1114
|
+
OverviewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: OverviewModule, declarations: [OverviewComponent], imports: [CommonModule], exports: [OverviewComponent] });
|
1115
|
+
OverviewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: OverviewModule, imports: [[CommonModule]] });
|
1116
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: OverviewModule, decorators: [{
|
1117
|
+
type: NgModule,
|
1118
|
+
args: [{
|
1119
|
+
imports: [CommonModule],
|
1120
|
+
declarations: [
|
1121
|
+
OverviewComponent
|
1122
|
+
],
|
1123
|
+
exports: [
|
1124
|
+
OverviewComponent
|
1125
|
+
]
|
1126
|
+
}]
|
1127
|
+
}] });
|
1128
|
+
|
1129
|
+
/**
|
1130
|
+
* NgModule definition for the Overview component with providers.
|
1131
|
+
*/
|
1132
|
+
class OverviewAllModule {
|
1133
|
+
}
|
1134
|
+
OverviewAllModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: OverviewAllModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1135
|
+
OverviewAllModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: OverviewAllModule, imports: [CommonModule, OverviewModule], exports: [OverviewModule] });
|
1136
|
+
OverviewAllModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: OverviewAllModule, providers: [], imports: [[CommonModule, OverviewModule], OverviewModule] });
|
1137
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: OverviewAllModule, decorators: [{
|
1138
|
+
type: NgModule,
|
1139
|
+
args: [{
|
1140
|
+
imports: [CommonModule, OverviewModule],
|
1141
|
+
exports: [
|
1142
|
+
OverviewModule
|
1143
|
+
],
|
1144
|
+
providers: []
|
1145
|
+
}]
|
1146
|
+
}] });
|
1147
|
+
|
1148
|
+
/**
|
1149
|
+
* Generated bundle index. Do not edit.
|
1150
|
+
*/
|
1151
|
+
|
1152
|
+
export { AvoidLineOverlappingService, BpmnDiagramsService, ComplexHierarchicalTreeService, ConnectorAnnotationDirective, ConnectorAnnotationsDirective, ConnectorBridgingService, ConnectorDirective, ConnectorEditingService, ConnectorFixedUserHandleDirective, ConnectorFixedUserHandlesDirective, ConnectorsDirective, CustomCursorDirective, CustomCursorsDirective, DataBindingService, DiagramAllModule, DiagramComponent, DiagramContextMenuService, DiagramModule, Ej1SerializationService, FlowchartLayoutService, HierarchicalTreeService, LayerDirective, LayersDirective, LayoutAnimationService, LineDistributionService, LineRoutingService, MindMapService, NodeAnnotationDirective, NodeAnnotationsDirective, NodeDirective, NodeFixedUserHandleDirective, NodeFixedUserHandlesDirective, NodesDirective, OverviewAllModule, OverviewComponent, OverviewModule, PaletteDirective, PalettesDirective, PortDirective, PortsDirective, PrintAndExportService, RadialTreeService, SnappingService, SymbolPaletteAllModule, SymbolPaletteComponent, SymbolPaletteModule, SymmetricLayoutService, UndoRedoService };
|
1153
|
+
//# sourceMappingURL=syncfusion-ej2-angular-diagrams.mjs.map
|