@syncfusion/ej2-angular-diagrams 28.2.11 → 28.2.12-ngcc
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/@syncfusion/ej2-angular-diagrams.es5.js +1333 -0
- package/@syncfusion/ej2-angular-diagrams.es5.js.map +1 -0
- package/@syncfusion/ej2-angular-diagrams.js +1252 -0
- package/@syncfusion/ej2-angular-diagrams.js.map +1 -0
- package/dist/ej2-angular-diagrams.umd.js +1760 -0
- package/dist/ej2-angular-diagrams.umd.js.map +1 -0
- package/dist/ej2-angular-diagrams.umd.min.js +11 -0
- package/dist/ej2-angular-diagrams.umd.min.js.map +1 -0
- package/ej2-angular-diagrams.d.ts +7 -0
- package/ej2-angular-diagrams.metadata.json +1 -0
- package/license +10 -0
- package/package.json +13 -26
- package/schematics/utils/lib-details.js +2 -2
- package/schematics/utils/lib-details.ts +2 -2
- package/src/diagram/connector-annotation.directive.d.ts +0 -5
- package/src/diagram/connector-fixeduserhandle.directive.d.ts +0 -5
- package/src/diagram/connectors.directive.d.ts +1 -6
- package/src/diagram/customcursor.directive.d.ts +0 -5
- package/src/diagram/diagram-all.module.d.ts +0 -6
- package/src/diagram/diagram.component.d.ts +0 -3
- package/src/diagram/diagram.module.d.ts +0 -15
- package/src/diagram/layers.directive.d.ts +0 -5
- package/src/diagram/node-annotation.directive.d.ts +0 -5
- package/src/diagram/node-fixeduserhandle.directive.d.ts +0 -5
- package/src/diagram/nodes.directive.d.ts +5 -10
- package/src/diagram/ports.directive.d.ts +0 -5
- package/src/overview/overview-all.module.d.ts +0 -6
- package/src/overview/overview.component.d.ts +0 -3
- package/src/overview/overview.module.d.ts +0 -6
- package/src/symbol-palette/palettes.directive.d.ts +0 -5
- package/src/symbol-palette/symbolpalette-all.module.d.ts +0 -6
- package/src/symbol-palette/symbolpalette.component.d.ts +0 -3
- package/src/symbol-palette/symbolpalette.module.d.ts +0 -7
- package/CHANGELOG.md +0 -2079
- package/esm2020/public_api.mjs +0 -2
- package/esm2020/src/diagram/connector-annotation.directive.mjs +0 -59
- package/esm2020/src/diagram/connector-fixeduserhandle.directive.mjs +0 -59
- package/esm2020/src/diagram/connectors.directive.mjs +0 -60
- package/esm2020/src/diagram/customcursor.directive.mjs +0 -54
- package/esm2020/src/diagram/diagram-all.module.mjs +0 -80
- package/esm2020/src/diagram/diagram.component.mjs +0 -224
- package/esm2020/src/diagram/diagram.module.mjs +0 -106
- package/esm2020/src/diagram/layers.directive.mjs +0 -54
- package/esm2020/src/diagram/node-annotation.directive.mjs +0 -59
- package/esm2020/src/diagram/node-fixeduserhandle.directive.mjs +0 -59
- package/esm2020/src/diagram/nodes.directive.mjs +0 -62
- package/esm2020/src/diagram/ports.directive.mjs +0 -59
- package/esm2020/src/index.mjs +0 -21
- package/esm2020/src/overview/overview-all.module.mjs +0 -23
- package/esm2020/src/overview/overview.component.mjs +0 -60
- package/esm2020/src/overview/overview.module.mjs +0 -25
- package/esm2020/src/symbol-palette/palettes.directive.mjs +0 -52
- package/esm2020/src/symbol-palette/symbolpalette-all.module.mjs +0 -23
- package/esm2020/src/symbol-palette/symbolpalette.component.mjs +0 -71
- package/esm2020/src/symbol-palette/symbolpalette.module.mjs +0 -34
- package/esm2020/syncfusion-ej2-angular-diagrams.mjs +0 -5
- package/fesm2015/syncfusion-ej2-angular-diagrams.mjs +0 -1143
- package/fesm2015/syncfusion-ej2-angular-diagrams.mjs.map +0 -1
- package/fesm2020/syncfusion-ej2-angular-diagrams.mjs +0 -1143
- package/fesm2020/syncfusion-ej2-angular-diagrams.mjs.map +0 -1
- package/syncfusion-ej2-angular-diagrams.d.ts +0 -5
@@ -1,1143 +0,0 @@
|
|
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, 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', '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', '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('DiagramsConnectorEditing');
|
621
|
-
if (this.injectedModules.indexOf(mod) === -1) {
|
622
|
-
this.injectedModules.push(mod);
|
623
|
-
}
|
624
|
-
}
|
625
|
-
catch { }
|
626
|
-
try {
|
627
|
-
let mod = this.injector.get('DiagramsLineDistribution');
|
628
|
-
if (this.injectedModules.indexOf(mod) === -1) {
|
629
|
-
this.injectedModules.push(mod);
|
630
|
-
}
|
631
|
-
}
|
632
|
-
catch { }
|
633
|
-
try {
|
634
|
-
let mod = this.injector.get('DiagramsEj1Serialization');
|
635
|
-
if (this.injectedModules.indexOf(mod) === -1) {
|
636
|
-
this.injectedModules.push(mod);
|
637
|
-
}
|
638
|
-
}
|
639
|
-
catch { }
|
640
|
-
try {
|
641
|
-
let mod = this.injector.get('DiagramsFlowchartLayout');
|
642
|
-
if (this.injectedModules.indexOf(mod) === -1) {
|
643
|
-
this.injectedModules.push(mod);
|
644
|
-
}
|
645
|
-
}
|
646
|
-
catch { }
|
647
|
-
this.registerEvents(outputs$3);
|
648
|
-
this.addTwoWay.call(this, twoWays$2);
|
649
|
-
setValue('currentInstance', this, this.viewContainerRef);
|
650
|
-
this.context = new ComponentBase();
|
651
|
-
}
|
652
|
-
ngOnInit() {
|
653
|
-
this.context.ngOnInit(this);
|
654
|
-
}
|
655
|
-
ngAfterViewInit() {
|
656
|
-
this.context.ngAfterViewInit(this);
|
657
|
-
}
|
658
|
-
ngOnDestroy() {
|
659
|
-
this.context.ngOnDestroy(this);
|
660
|
-
}
|
661
|
-
ngAfterContentChecked() {
|
662
|
-
this.tagObjects[0].instance = this.childLayers;
|
663
|
-
if (this.childCustomCursor) {
|
664
|
-
this.tagObjects[1].instance = this.childCustomCursor;
|
665
|
-
}
|
666
|
-
if (this.childConnectors) {
|
667
|
-
this.tagObjects[2].instance = this.childConnectors;
|
668
|
-
}
|
669
|
-
if (this.childNodes) {
|
670
|
-
this.tagObjects[3].instance = this.childNodes;
|
671
|
-
}
|
672
|
-
this.context.ngAfterContentChecked(this);
|
673
|
-
}
|
674
|
-
};
|
675
|
-
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 });
|
676
|
-
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", 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", 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 });
|
677
|
-
__decorate([
|
678
|
-
Template()
|
679
|
-
], DiagramComponent.prototype, "annotationTemplate", void 0);
|
680
|
-
__decorate([
|
681
|
-
Template()
|
682
|
-
], DiagramComponent.prototype, "nodeTemplate", void 0);
|
683
|
-
__decorate([
|
684
|
-
Template()
|
685
|
-
], DiagramComponent.prototype, "userHandleTemplate", void 0);
|
686
|
-
DiagramComponent = __decorate([
|
687
|
-
ComponentMixins([ComponentBase])
|
688
|
-
], DiagramComponent);
|
689
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DiagramComponent, decorators: [{
|
690
|
-
type: Component,
|
691
|
-
args: [{
|
692
|
-
selector: 'ejs-diagram',
|
693
|
-
inputs: inputs$2,
|
694
|
-
outputs: outputs$3,
|
695
|
-
template: '',
|
696
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
697
|
-
queries: {
|
698
|
-
childLayers: new ContentChild(LayersDirective),
|
699
|
-
childCustomCursor: new ContentChild(CustomCursorsDirective),
|
700
|
-
childConnectors: new ContentChild(ConnectorsDirective),
|
701
|
-
childNodes: new ContentChild(NodesDirective)
|
702
|
-
}
|
703
|
-
}]
|
704
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.Injector }]; }, propDecorators: { annotationTemplate: [{
|
705
|
-
type: ContentChild,
|
706
|
-
args: ['annotationTemplate']
|
707
|
-
}], nodeTemplate: [{
|
708
|
-
type: ContentChild,
|
709
|
-
args: ['nodeTemplate']
|
710
|
-
}], userHandleTemplate: [{
|
711
|
-
type: ContentChild,
|
712
|
-
args: ['userHandleTemplate']
|
713
|
-
}] } });
|
714
|
-
|
715
|
-
/**
|
716
|
-
* NgModule definition for the Diagram component.
|
717
|
-
*/
|
718
|
-
class DiagramModule {
|
719
|
-
}
|
720
|
-
DiagramModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DiagramModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
721
|
-
DiagramModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DiagramModule, declarations: [DiagramComponent,
|
722
|
-
LayerDirective,
|
723
|
-
LayersDirective,
|
724
|
-
CustomCursorDirective,
|
725
|
-
CustomCursorsDirective,
|
726
|
-
ConnectorFixedUserHandleDirective,
|
727
|
-
ConnectorFixedUserHandlesDirective,
|
728
|
-
ConnectorAnnotationDirective,
|
729
|
-
ConnectorAnnotationsDirective,
|
730
|
-
ConnectorDirective,
|
731
|
-
ConnectorsDirective,
|
732
|
-
NodeFixedUserHandleDirective,
|
733
|
-
NodeFixedUserHandlesDirective,
|
734
|
-
NodeAnnotationDirective,
|
735
|
-
NodeAnnotationsDirective,
|
736
|
-
PortDirective,
|
737
|
-
PortsDirective,
|
738
|
-
NodeDirective,
|
739
|
-
NodesDirective], imports: [CommonModule], exports: [DiagramComponent,
|
740
|
-
LayerDirective,
|
741
|
-
LayersDirective,
|
742
|
-
CustomCursorDirective,
|
743
|
-
CustomCursorsDirective,
|
744
|
-
ConnectorFixedUserHandleDirective,
|
745
|
-
ConnectorFixedUserHandlesDirective,
|
746
|
-
ConnectorAnnotationDirective,
|
747
|
-
ConnectorAnnotationsDirective,
|
748
|
-
ConnectorDirective,
|
749
|
-
ConnectorsDirective,
|
750
|
-
NodeFixedUserHandleDirective,
|
751
|
-
NodeFixedUserHandlesDirective,
|
752
|
-
NodeAnnotationDirective,
|
753
|
-
NodeAnnotationsDirective,
|
754
|
-
PortDirective,
|
755
|
-
PortsDirective,
|
756
|
-
NodeDirective,
|
757
|
-
NodesDirective] });
|
758
|
-
DiagramModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DiagramModule, imports: [[CommonModule]] });
|
759
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DiagramModule, decorators: [{
|
760
|
-
type: NgModule,
|
761
|
-
args: [{
|
762
|
-
imports: [CommonModule],
|
763
|
-
declarations: [
|
764
|
-
DiagramComponent,
|
765
|
-
LayerDirective,
|
766
|
-
LayersDirective,
|
767
|
-
CustomCursorDirective,
|
768
|
-
CustomCursorsDirective,
|
769
|
-
ConnectorFixedUserHandleDirective,
|
770
|
-
ConnectorFixedUserHandlesDirective,
|
771
|
-
ConnectorAnnotationDirective,
|
772
|
-
ConnectorAnnotationsDirective,
|
773
|
-
ConnectorDirective,
|
774
|
-
ConnectorsDirective,
|
775
|
-
NodeFixedUserHandleDirective,
|
776
|
-
NodeFixedUserHandlesDirective,
|
777
|
-
NodeAnnotationDirective,
|
778
|
-
NodeAnnotationsDirective,
|
779
|
-
PortDirective,
|
780
|
-
PortsDirective,
|
781
|
-
NodeDirective,
|
782
|
-
NodesDirective
|
783
|
-
],
|
784
|
-
exports: [
|
785
|
-
DiagramComponent,
|
786
|
-
LayerDirective,
|
787
|
-
LayersDirective,
|
788
|
-
CustomCursorDirective,
|
789
|
-
CustomCursorsDirective,
|
790
|
-
ConnectorFixedUserHandleDirective,
|
791
|
-
ConnectorFixedUserHandlesDirective,
|
792
|
-
ConnectorAnnotationDirective,
|
793
|
-
ConnectorAnnotationsDirective,
|
794
|
-
ConnectorDirective,
|
795
|
-
ConnectorsDirective,
|
796
|
-
NodeFixedUserHandleDirective,
|
797
|
-
NodeFixedUserHandlesDirective,
|
798
|
-
NodeAnnotationDirective,
|
799
|
-
NodeAnnotationsDirective,
|
800
|
-
PortDirective,
|
801
|
-
PortsDirective,
|
802
|
-
NodeDirective,
|
803
|
-
NodesDirective
|
804
|
-
]
|
805
|
-
}]
|
806
|
-
}] });
|
807
|
-
|
808
|
-
const HierarchicalTreeService = { provide: 'DiagramsHierarchicalTree', useValue: HierarchicalTree };
|
809
|
-
const MindMapService = { provide: 'DiagramsMindMap', useValue: MindMap };
|
810
|
-
const RadialTreeService = { provide: 'DiagramsRadialTree', useValue: RadialTree };
|
811
|
-
const ComplexHierarchicalTreeService = { provide: 'DiagramsComplexHierarchicalTree', useValue: ComplexHierarchicalTree };
|
812
|
-
const DataBindingService = { provide: 'DiagramsDataBinding', useValue: DataBinding };
|
813
|
-
const SnappingService = { provide: 'DiagramsSnapping', useValue: Snapping };
|
814
|
-
const PrintAndExportService = { provide: 'DiagramsPrintAndExport', useValue: PrintAndExport };
|
815
|
-
const BpmnDiagramsService = { provide: 'DiagramsBpmnDiagrams', useValue: BpmnDiagrams };
|
816
|
-
const SymmetricLayoutService = { provide: 'DiagramsSymmetricLayout', useValue: SymmetricLayout };
|
817
|
-
const ConnectorBridgingService = { provide: 'DiagramsConnectorBridging', useValue: ConnectorBridging };
|
818
|
-
const UndoRedoService = { provide: 'DiagramsUndoRedo', useValue: UndoRedo };
|
819
|
-
const LayoutAnimationService = { provide: 'DiagramsLayoutAnimation', useValue: LayoutAnimation };
|
820
|
-
const DiagramContextMenuService = { provide: 'DiagramsDiagramContextMenu', useValue: DiagramContextMenu };
|
821
|
-
const LineRoutingService = { provide: 'DiagramsLineRouting', useValue: LineRouting };
|
822
|
-
const ConnectorEditingService = { provide: 'DiagramsConnectorEditing', useValue: ConnectorEditing };
|
823
|
-
const LineDistributionService = { provide: 'DiagramsLineDistribution', useValue: LineDistribution };
|
824
|
-
const Ej1SerializationService = { provide: 'DiagramsEj1Serialization', useValue: Ej1Serialization };
|
825
|
-
const FlowchartLayoutService = { provide: 'DiagramsFlowchartLayout', useValue: FlowchartLayout };
|
826
|
-
/**
|
827
|
-
* NgModule definition for the Diagram component with providers.
|
828
|
-
*/
|
829
|
-
class DiagramAllModule {
|
830
|
-
}
|
831
|
-
DiagramAllModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DiagramAllModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
832
|
-
DiagramAllModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DiagramAllModule, imports: [CommonModule, DiagramModule], exports: [DiagramModule] });
|
833
|
-
DiagramAllModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DiagramAllModule, providers: [
|
834
|
-
HierarchicalTreeService,
|
835
|
-
MindMapService,
|
836
|
-
RadialTreeService,
|
837
|
-
ComplexHierarchicalTreeService,
|
838
|
-
DataBindingService,
|
839
|
-
SnappingService,
|
840
|
-
PrintAndExportService,
|
841
|
-
BpmnDiagramsService,
|
842
|
-
SymmetricLayoutService,
|
843
|
-
ConnectorBridgingService,
|
844
|
-
UndoRedoService,
|
845
|
-
LayoutAnimationService,
|
846
|
-
DiagramContextMenuService,
|
847
|
-
LineRoutingService,
|
848
|
-
ConnectorEditingService,
|
849
|
-
LineDistributionService,
|
850
|
-
Ej1SerializationService,
|
851
|
-
FlowchartLayoutService
|
852
|
-
], imports: [[CommonModule, DiagramModule], DiagramModule] });
|
853
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DiagramAllModule, decorators: [{
|
854
|
-
type: NgModule,
|
855
|
-
args: [{
|
856
|
-
imports: [CommonModule, DiagramModule],
|
857
|
-
exports: [
|
858
|
-
DiagramModule
|
859
|
-
],
|
860
|
-
providers: [
|
861
|
-
HierarchicalTreeService,
|
862
|
-
MindMapService,
|
863
|
-
RadialTreeService,
|
864
|
-
ComplexHierarchicalTreeService,
|
865
|
-
DataBindingService,
|
866
|
-
SnappingService,
|
867
|
-
PrintAndExportService,
|
868
|
-
BpmnDiagramsService,
|
869
|
-
SymmetricLayoutService,
|
870
|
-
ConnectorBridgingService,
|
871
|
-
UndoRedoService,
|
872
|
-
LayoutAnimationService,
|
873
|
-
DiagramContextMenuService,
|
874
|
-
LineRoutingService,
|
875
|
-
ConnectorEditingService,
|
876
|
-
LineDistributionService,
|
877
|
-
Ej1SerializationService,
|
878
|
-
FlowchartLayoutService
|
879
|
-
]
|
880
|
-
}]
|
881
|
-
}] });
|
882
|
-
|
883
|
-
let input = ['expanded', 'height', 'iconCss', 'id', 'symbols', 'title'];
|
884
|
-
let outputs$2 = [];
|
885
|
-
/**
|
886
|
-
* Palette Directive
|
887
|
-
* ```html
|
888
|
-
* <e-palettes><e-palette></e-palette><e-palettes>
|
889
|
-
* ```
|
890
|
-
*/
|
891
|
-
class PaletteDirective extends ComplexBase {
|
892
|
-
constructor(viewContainerRef) {
|
893
|
-
super();
|
894
|
-
this.viewContainerRef = viewContainerRef;
|
895
|
-
setValue('currentInstance', this, this.viewContainerRef);
|
896
|
-
this.registerEvents(outputs$2);
|
897
|
-
this.directivePropList = input;
|
898
|
-
}
|
899
|
-
}
|
900
|
-
PaletteDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: PaletteDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
901
|
-
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 });
|
902
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: PaletteDirective, decorators: [{
|
903
|
-
type: Directive,
|
904
|
-
args: [{
|
905
|
-
selector: 'e-palettes>e-palette',
|
906
|
-
inputs: input,
|
907
|
-
outputs: outputs$2,
|
908
|
-
queries: {}
|
909
|
-
}]
|
910
|
-
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });
|
911
|
-
/**
|
912
|
-
* Palette Array Directive
|
913
|
-
* @private
|
914
|
-
*/
|
915
|
-
class PalettesDirective extends ArrayBase {
|
916
|
-
constructor() {
|
917
|
-
super('palettes');
|
918
|
-
}
|
919
|
-
}
|
920
|
-
PalettesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: PalettesDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
921
|
-
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 });
|
922
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: PalettesDirective, decorators: [{
|
923
|
-
type: Directive,
|
924
|
-
args: [{
|
925
|
-
selector: 'ejs-symbolpalette>e-palettes',
|
926
|
-
queries: {
|
927
|
-
children: new ContentChildren(PaletteDirective)
|
928
|
-
},
|
929
|
-
}]
|
930
|
-
}], ctorParameters: function () { return []; } });
|
931
|
-
|
932
|
-
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'];
|
933
|
-
const outputs$1 = ['paletteExpanding', 'paletteSelectionChange'];
|
934
|
-
const twoWays$1 = [''];
|
935
|
-
/**
|
936
|
-
* SymbolPalette Component
|
937
|
-
* ```html
|
938
|
-
* <ej-symbol-palette></ej-symbol-palette>
|
939
|
-
* ```
|
940
|
-
*/
|
941
|
-
let SymbolPaletteComponent = class SymbolPaletteComponent extends SymbolPalette {
|
942
|
-
constructor(ngEle, srenderer, viewContainerRef, injector) {
|
943
|
-
super();
|
944
|
-
this.ngEle = ngEle;
|
945
|
-
this.srenderer = srenderer;
|
946
|
-
this.viewContainerRef = viewContainerRef;
|
947
|
-
this.injector = injector;
|
948
|
-
this.tags = ['palettes'];
|
949
|
-
this.element = this.ngEle.nativeElement;
|
950
|
-
this.injectedModules = this.injectedModules || [];
|
951
|
-
try {
|
952
|
-
let mod = this.injector.get('DiagramsBpmnDiagrams');
|
953
|
-
if (this.injectedModules.indexOf(mod) === -1) {
|
954
|
-
this.injectedModules.push(mod);
|
955
|
-
}
|
956
|
-
}
|
957
|
-
catch { }
|
958
|
-
this.registerEvents(outputs$1);
|
959
|
-
this.addTwoWay.call(this, twoWays$1);
|
960
|
-
setValue('currentInstance', this, this.viewContainerRef);
|
961
|
-
this.context = new ComponentBase();
|
962
|
-
}
|
963
|
-
ngOnInit() {
|
964
|
-
this.context.ngOnInit(this);
|
965
|
-
}
|
966
|
-
ngAfterViewInit() {
|
967
|
-
this.context.ngAfterViewInit(this);
|
968
|
-
}
|
969
|
-
ngOnDestroy() {
|
970
|
-
this.context.ngOnDestroy(this);
|
971
|
-
}
|
972
|
-
ngAfterContentChecked() {
|
973
|
-
this.tagObjects[0].instance = this.childPalettes;
|
974
|
-
this.context.ngAfterContentChecked(this);
|
975
|
-
}
|
976
|
-
};
|
977
|
-
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 });
|
978
|
-
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 });
|
979
|
-
SymbolPaletteComponent = __decorate([
|
980
|
-
ComponentMixins([ComponentBase])
|
981
|
-
], SymbolPaletteComponent);
|
982
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SymbolPaletteComponent, decorators: [{
|
983
|
-
type: Component,
|
984
|
-
args: [{
|
985
|
-
selector: 'ejs-symbolpalette',
|
986
|
-
inputs: inputs$1,
|
987
|
-
outputs: outputs$1,
|
988
|
-
template: '',
|
989
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
990
|
-
queries: {
|
991
|
-
childPalettes: new ContentChild(PalettesDirective)
|
992
|
-
}
|
993
|
-
}]
|
994
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.Injector }]; } });
|
995
|
-
|
996
|
-
/**
|
997
|
-
* NgModule definition for the SymbolPalette component.
|
998
|
-
*/
|
999
|
-
class SymbolPaletteModule {
|
1000
|
-
}
|
1001
|
-
SymbolPaletteModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SymbolPaletteModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1002
|
-
SymbolPaletteModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SymbolPaletteModule, declarations: [SymbolPaletteComponent,
|
1003
|
-
PaletteDirective,
|
1004
|
-
PalettesDirective], imports: [CommonModule], exports: [SymbolPaletteComponent,
|
1005
|
-
PaletteDirective,
|
1006
|
-
PalettesDirective] });
|
1007
|
-
SymbolPaletteModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SymbolPaletteModule, imports: [[CommonModule]] });
|
1008
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SymbolPaletteModule, decorators: [{
|
1009
|
-
type: NgModule,
|
1010
|
-
args: [{
|
1011
|
-
imports: [CommonModule],
|
1012
|
-
declarations: [
|
1013
|
-
SymbolPaletteComponent,
|
1014
|
-
PaletteDirective,
|
1015
|
-
PalettesDirective
|
1016
|
-
],
|
1017
|
-
exports: [
|
1018
|
-
SymbolPaletteComponent,
|
1019
|
-
PaletteDirective,
|
1020
|
-
PalettesDirective
|
1021
|
-
]
|
1022
|
-
}]
|
1023
|
-
}] });
|
1024
|
-
|
1025
|
-
/**
|
1026
|
-
* NgModule definition for the SymbolPalette component with providers.
|
1027
|
-
*/
|
1028
|
-
class SymbolPaletteAllModule {
|
1029
|
-
}
|
1030
|
-
SymbolPaletteAllModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SymbolPaletteAllModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1031
|
-
SymbolPaletteAllModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SymbolPaletteAllModule, imports: [CommonModule, SymbolPaletteModule], exports: [SymbolPaletteModule] });
|
1032
|
-
SymbolPaletteAllModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SymbolPaletteAllModule, providers: [], imports: [[CommonModule, SymbolPaletteModule], SymbolPaletteModule] });
|
1033
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SymbolPaletteAllModule, decorators: [{
|
1034
|
-
type: NgModule,
|
1035
|
-
args: [{
|
1036
|
-
imports: [CommonModule, SymbolPaletteModule],
|
1037
|
-
exports: [
|
1038
|
-
SymbolPaletteModule
|
1039
|
-
],
|
1040
|
-
providers: []
|
1041
|
-
}]
|
1042
|
-
}] });
|
1043
|
-
|
1044
|
-
const inputs = ['enablePersistence', 'enableRtl', 'height', 'locale', 'sourceID', 'width'];
|
1045
|
-
const outputs = ['created'];
|
1046
|
-
const twoWays = [''];
|
1047
|
-
/**
|
1048
|
-
* Overview Component
|
1049
|
-
* ```html
|
1050
|
-
* <ej-overview></ej-overview>
|
1051
|
-
* ```
|
1052
|
-
*/
|
1053
|
-
let OverviewComponent = class OverviewComponent extends Overview {
|
1054
|
-
constructor(ngEle, srenderer, viewContainerRef, injector) {
|
1055
|
-
super();
|
1056
|
-
this.ngEle = ngEle;
|
1057
|
-
this.srenderer = srenderer;
|
1058
|
-
this.viewContainerRef = viewContainerRef;
|
1059
|
-
this.injector = injector;
|
1060
|
-
this.tags = [''];
|
1061
|
-
this.element = this.ngEle.nativeElement;
|
1062
|
-
this.injectedModules = this.injectedModules || [];
|
1063
|
-
this.registerEvents(outputs);
|
1064
|
-
this.addTwoWay.call(this, twoWays);
|
1065
|
-
setValue('currentInstance', this, this.viewContainerRef);
|
1066
|
-
this.context = new ComponentBase();
|
1067
|
-
}
|
1068
|
-
ngOnInit() {
|
1069
|
-
this.context.ngOnInit(this);
|
1070
|
-
}
|
1071
|
-
ngAfterViewInit() {
|
1072
|
-
this.context.ngAfterViewInit(this);
|
1073
|
-
}
|
1074
|
-
ngOnDestroy() {
|
1075
|
-
this.context.ngOnDestroy(this);
|
1076
|
-
}
|
1077
|
-
ngAfterContentChecked() {
|
1078
|
-
this.context.ngAfterContentChecked(this);
|
1079
|
-
}
|
1080
|
-
};
|
1081
|
-
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 });
|
1082
|
-
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 });
|
1083
|
-
OverviewComponent = __decorate([
|
1084
|
-
ComponentMixins([ComponentBase])
|
1085
|
-
], OverviewComponent);
|
1086
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: OverviewComponent, decorators: [{
|
1087
|
-
type: Component,
|
1088
|
-
args: [{
|
1089
|
-
selector: 'ejs-overview',
|
1090
|
-
inputs: inputs,
|
1091
|
-
outputs: outputs,
|
1092
|
-
template: '',
|
1093
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
1094
|
-
queries: {}
|
1095
|
-
}]
|
1096
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.Injector }]; } });
|
1097
|
-
|
1098
|
-
/**
|
1099
|
-
* NgModule definition for the Overview component.
|
1100
|
-
*/
|
1101
|
-
class OverviewModule {
|
1102
|
-
}
|
1103
|
-
OverviewModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: OverviewModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1104
|
-
OverviewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: OverviewModule, declarations: [OverviewComponent], imports: [CommonModule], exports: [OverviewComponent] });
|
1105
|
-
OverviewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: OverviewModule, imports: [[CommonModule]] });
|
1106
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: OverviewModule, decorators: [{
|
1107
|
-
type: NgModule,
|
1108
|
-
args: [{
|
1109
|
-
imports: [CommonModule],
|
1110
|
-
declarations: [
|
1111
|
-
OverviewComponent
|
1112
|
-
],
|
1113
|
-
exports: [
|
1114
|
-
OverviewComponent
|
1115
|
-
]
|
1116
|
-
}]
|
1117
|
-
}] });
|
1118
|
-
|
1119
|
-
/**
|
1120
|
-
* NgModule definition for the Overview component with providers.
|
1121
|
-
*/
|
1122
|
-
class OverviewAllModule {
|
1123
|
-
}
|
1124
|
-
OverviewAllModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: OverviewAllModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1125
|
-
OverviewAllModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: OverviewAllModule, imports: [CommonModule, OverviewModule], exports: [OverviewModule] });
|
1126
|
-
OverviewAllModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: OverviewAllModule, providers: [], imports: [[CommonModule, OverviewModule], OverviewModule] });
|
1127
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: OverviewAllModule, decorators: [{
|
1128
|
-
type: NgModule,
|
1129
|
-
args: [{
|
1130
|
-
imports: [CommonModule, OverviewModule],
|
1131
|
-
exports: [
|
1132
|
-
OverviewModule
|
1133
|
-
],
|
1134
|
-
providers: []
|
1135
|
-
}]
|
1136
|
-
}] });
|
1137
|
-
|
1138
|
-
/**
|
1139
|
-
* Generated bundle index. Do not edit.
|
1140
|
-
*/
|
1141
|
-
|
1142
|
-
export { 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 };
|
1143
|
-
//# sourceMappingURL=syncfusion-ej2-angular-diagrams.mjs.map
|