@syncfusion/ej2-angular-diagrams 30.1.37 → 30.1.38-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.
Files changed (64) hide show
  1. package/@syncfusion/ej2-angular-diagrams.es5.js +1342 -0
  2. package/@syncfusion/ej2-angular-diagrams.es5.js.map +1 -0
  3. package/@syncfusion/ej2-angular-diagrams.js +1261 -0
  4. package/@syncfusion/ej2-angular-diagrams.js.map +1 -0
  5. package/LICENSE +10 -0
  6. package/dist/ej2-angular-diagrams.umd.js +1785 -0
  7. package/dist/ej2-angular-diagrams.umd.js.map +1 -0
  8. package/dist/ej2-angular-diagrams.umd.min.js +11 -0
  9. package/dist/ej2-angular-diagrams.umd.min.js.map +1 -0
  10. package/ej2-angular-diagrams.d.ts +7 -0
  11. package/ej2-angular-diagrams.metadata.json +1 -0
  12. package/package.json +47 -29
  13. package/public_api.d.ts +1 -1
  14. package/schematics/utils/lib-details.d.ts +2 -2
  15. package/schematics/utils/lib-details.js +2 -2
  16. package/schematics/utils/lib-details.ts +2 -2
  17. package/src/diagram/connector-annotation.directive.d.ts +170 -175
  18. package/src/diagram/connector-fixeduserhandle.directive.d.ts +111 -116
  19. package/src/diagram/connectors.directive.d.ts +276 -281
  20. package/src/diagram/customcursor.directive.d.ts +31 -36
  21. package/src/diagram/diagram-all.module.d.ts +25 -31
  22. package/src/diagram/diagram.component.d.ts +103 -106
  23. package/src/diagram/diagram.module.d.ts +5 -20
  24. package/src/diagram/layers.directive.d.ts +55 -60
  25. package/src/diagram/node-annotation.directive.d.ts +151 -156
  26. package/src/diagram/node-fixeduserhandle.directive.d.ts +102 -107
  27. package/src/diagram/nodes.directive.d.ts +338 -343
  28. package/src/diagram/ports.directive.d.ts +142 -147
  29. package/src/index.d.ts +20 -20
  30. package/src/overview/overview-all.module.d.ts +5 -11
  31. package/src/overview/overview.component.d.ts +29 -32
  32. package/src/overview/overview.module.d.ts +5 -11
  33. package/src/symbol-palette/palettes.directive.d.ts +51 -56
  34. package/src/symbol-palette/symbolpalette-all.module.d.ts +5 -11
  35. package/src/symbol-palette/symbolpalette.component.d.ts +32 -35
  36. package/src/symbol-palette/symbolpalette.module.d.ts +5 -12
  37. package/CHANGELOG.md +0 -2011
  38. package/esm2020/public_api.mjs +0 -2
  39. package/esm2020/src/diagram/connector-annotation.directive.mjs +0 -59
  40. package/esm2020/src/diagram/connector-fixeduserhandle.directive.mjs +0 -59
  41. package/esm2020/src/diagram/connectors.directive.mjs +0 -60
  42. package/esm2020/src/diagram/customcursor.directive.mjs +0 -54
  43. package/esm2020/src/diagram/diagram-all.module.mjs +0 -83
  44. package/esm2020/src/diagram/diagram.component.mjs +0 -231
  45. package/esm2020/src/diagram/diagram.module.mjs +0 -106
  46. package/esm2020/src/diagram/layers.directive.mjs +0 -54
  47. package/esm2020/src/diagram/node-annotation.directive.mjs +0 -59
  48. package/esm2020/src/diagram/node-fixeduserhandle.directive.mjs +0 -59
  49. package/esm2020/src/diagram/nodes.directive.mjs +0 -62
  50. package/esm2020/src/diagram/ports.directive.mjs +0 -59
  51. package/esm2020/src/index.mjs +0 -21
  52. package/esm2020/src/overview/overview-all.module.mjs +0 -23
  53. package/esm2020/src/overview/overview.component.mjs +0 -60
  54. package/esm2020/src/overview/overview.module.mjs +0 -25
  55. package/esm2020/src/symbol-palette/palettes.directive.mjs +0 -52
  56. package/esm2020/src/symbol-palette/symbolpalette-all.module.mjs +0 -23
  57. package/esm2020/src/symbol-palette/symbolpalette.component.mjs +0 -71
  58. package/esm2020/src/symbol-palette/symbolpalette.module.mjs +0 -34
  59. package/esm2020/syncfusion-ej2-angular-diagrams.mjs +0 -5
  60. package/fesm2015/syncfusion-ej2-angular-diagrams.mjs +0 -1153
  61. package/fesm2015/syncfusion-ej2-angular-diagrams.mjs.map +0 -1
  62. package/fesm2020/syncfusion-ej2-angular-diagrams.mjs +0 -1153
  63. package/fesm2020/syncfusion-ej2-angular-diagrams.mjs.map +0 -1
  64. package/syncfusion-ej2-angular-diagrams.d.ts +0 -5
@@ -0,0 +1,1342 @@
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = Object.setPrototypeOf ||
3
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
4
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
5
+ return function (d, b) {
6
+ extendStatics(d, b);
7
+ function __() { this.constructor = d; }
8
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
9
+ };
10
+ })();
11
+ import { ChangeDetectionStrategy, Component, ContentChild, ContentChildren, Directive, ElementRef, Injector, NgModule, Renderer2, ViewContainerRef } from '@angular/core';
12
+ import { ArrayBase, ComplexBase, ComponentBase, ComponentMixins, Template, setValue } from '@syncfusion/ej2-angular-base';
13
+ import { AvoidLineOverlapping, BpmnDiagrams, ComplexHierarchicalTree, ConnectorBridging, ConnectorEditing, DataBinding, Diagram, DiagramContextMenu, Ej1Serialization, FlowchartLayout, HierarchicalTree, LayoutAnimation, LineDistribution, LineRouting, MindMap, Overview, PrintAndExport, RadialTree, Snapping, SymbolPalette, SymmetricLayout, UndoRedo } from '@syncfusion/ej2-diagrams';
14
+ import { CommonModule } from '@angular/common';
15
+ var input = ['addInfo', 'id', 'lock', 'objects', 'visible', 'zIndex'];
16
+ var outputs = [];
17
+ /**
18
+ * Layers Directive
19
+ * ```html
20
+ * <e-layers>
21
+ * <e-layer></e-layer>
22
+ * </e-layers>
23
+ * ```
24
+ */
25
+ var LayerDirective = /** @class */ (function (_super) {
26
+ __extends(LayerDirective, _super);
27
+ /**
28
+ * @param {?} viewContainerRef
29
+ */
30
+ function LayerDirective(viewContainerRef) {
31
+ var _this = _super.call(this) || this;
32
+ _this.viewContainerRef = viewContainerRef;
33
+ setValue('currentInstance', _this, _this.viewContainerRef);
34
+ _this.registerEvents(outputs);
35
+ _this.directivePropList = input;
36
+ return _this;
37
+ }
38
+ return LayerDirective;
39
+ }(ComplexBase));
40
+ LayerDirective.decorators = [
41
+ { type: Directive, args: [{
42
+ selector: 'e-layers>e-layer',
43
+ inputs: input,
44
+ outputs: outputs,
45
+ queries: {}
46
+ },] },
47
+ ];
48
+ /**
49
+ * @nocollapse
50
+ */
51
+ LayerDirective.ctorParameters = function () { return [
52
+ { type: ViewContainerRef, },
53
+ ]; };
54
+ /**
55
+ * Layer Array Directive
56
+ */
57
+ var LayersDirective = /** @class */ (function (_super) {
58
+ __extends(LayersDirective, _super);
59
+ function LayersDirective() {
60
+ return _super.call(this, 'layers') || this;
61
+ }
62
+ return LayersDirective;
63
+ }(ArrayBase));
64
+ LayersDirective.decorators = [
65
+ { type: Directive, args: [{
66
+ selector: 'ej-diagram>e-layers',
67
+ queries: {
68
+ children: new ContentChildren(LayerDirective)
69
+ },
70
+ },] },
71
+ ];
72
+ /**
73
+ * @nocollapse
74
+ */
75
+ LayersDirective.ctorParameters = function () { return []; };
76
+ var input$1 = ['action', 'cursor'];
77
+ var outputs$1 = [];
78
+ /**
79
+ * Cursor Maps Directive
80
+ * ```html
81
+ * <e-cusrsormaps>
82
+ * <e-cursormap></e-cursormap>
83
+ * </e-cursormaps>
84
+ * ```
85
+ */
86
+ var CustomCursorDirective = /** @class */ (function (_super) {
87
+ __extends(CustomCursorDirective, _super);
88
+ /**
89
+ * @param {?} viewContainerRef
90
+ */
91
+ function CustomCursorDirective(viewContainerRef) {
92
+ var _this = _super.call(this) || this;
93
+ _this.viewContainerRef = viewContainerRef;
94
+ setValue('currentInstance', _this, _this.viewContainerRef);
95
+ _this.registerEvents(outputs$1);
96
+ _this.directivePropList = input$1;
97
+ return _this;
98
+ }
99
+ return CustomCursorDirective;
100
+ }(ComplexBase));
101
+ CustomCursorDirective.decorators = [
102
+ { type: Directive, args: [{
103
+ selector: 'e-cursormaps>e-cursormap',
104
+ inputs: input$1,
105
+ outputs: outputs$1,
106
+ queries: {}
107
+ },] },
108
+ ];
109
+ /**
110
+ * @nocollapse
111
+ */
112
+ CustomCursorDirective.ctorParameters = function () { return [
113
+ { type: ViewContainerRef, },
114
+ ]; };
115
+ /**
116
+ * CustomCursor Array Directive
117
+ */
118
+ var CustomCursorsDirective = /** @class */ (function (_super) {
119
+ __extends(CustomCursorsDirective, _super);
120
+ function CustomCursorsDirective() {
121
+ return _super.call(this, 'customcursor') || this;
122
+ }
123
+ return CustomCursorsDirective;
124
+ }(ArrayBase));
125
+ CustomCursorsDirective.decorators = [
126
+ { type: Directive, args: [{
127
+ selector: 'ej-diagram>e-cursormaps',
128
+ queries: {
129
+ children: new ContentChildren(CustomCursorDirective)
130
+ },
131
+ },] },
132
+ ];
133
+ /**
134
+ * @nocollapse
135
+ */
136
+ CustomCursorsDirective.ctorParameters = function () { return []; };
137
+ var input$2 = ['alignment', 'cornerRadius', 'displacement', 'fill', 'handleStrokeColor', 'handleStrokeWidth', 'height', 'iconStrokeColor', 'iconStrokeWidth', 'id', 'offset', 'padding', 'pathData', 'tooltip', 'visibility', 'width'];
138
+ var outputs$2 = [];
139
+ /**
140
+ * Connectors Directive
141
+ * ```html
142
+ * <e-connectors>
143
+ * <e-connector>
144
+ * <e-connector-fixeduserhandles>
145
+ * <e-connector-fixeduserhandle>
146
+ * </e-connector-fixeduserhandle>
147
+ * </e-connector-fixeduserhandles>
148
+ * </e-connector>
149
+ * </e-connectors>
150
+ * ```
151
+ */
152
+ var ConnectorFixedUserHandleDirective = /** @class */ (function (_super) {
153
+ __extends(ConnectorFixedUserHandleDirective, _super);
154
+ /**
155
+ * @param {?} viewContainerRef
156
+ */
157
+ function ConnectorFixedUserHandleDirective(viewContainerRef) {
158
+ var _this = _super.call(this) || this;
159
+ _this.viewContainerRef = viewContainerRef;
160
+ setValue('currentInstance', _this, _this.viewContainerRef);
161
+ _this.registerEvents(outputs$2);
162
+ _this.directivePropList = input$2;
163
+ return _this;
164
+ }
165
+ return ConnectorFixedUserHandleDirective;
166
+ }(ComplexBase));
167
+ ConnectorFixedUserHandleDirective.decorators = [
168
+ { type: Directive, args: [{
169
+ selector: 'e-connector>e-connector-fixeduserhandles>e-connector-fixeduserhandle',
170
+ inputs: input$2,
171
+ outputs: outputs$2,
172
+ queries: {}
173
+ },] },
174
+ ];
175
+ /**
176
+ * @nocollapse
177
+ */
178
+ ConnectorFixedUserHandleDirective.ctorParameters = function () { return [
179
+ { type: ViewContainerRef, },
180
+ ]; };
181
+ /**
182
+ * ConnectorFixedUserHandle Array Directive
183
+ */
184
+ var ConnectorFixedUserHandlesDirective = /** @class */ (function (_super) {
185
+ __extends(ConnectorFixedUserHandlesDirective, _super);
186
+ function ConnectorFixedUserHandlesDirective() {
187
+ return _super.call(this, 'fixeduserhandles') || this;
188
+ }
189
+ return ConnectorFixedUserHandlesDirective;
190
+ }(ArrayBase));
191
+ ConnectorFixedUserHandlesDirective.decorators = [
192
+ { type: Directive, args: [{
193
+ selector: 'e-connector>e-connector-fixeduserhandles',
194
+ queries: {
195
+ children: new ContentChildren(ConnectorFixedUserHandleDirective)
196
+ },
197
+ },] },
198
+ ];
199
+ /**
200
+ * @nocollapse
201
+ */
202
+ ConnectorFixedUserHandlesDirective.ctorParameters = function () { return []; };
203
+ var input$3 = ['addInfo', 'alignment', 'annotationType', 'constraints', 'content', 'displacement', 'dragLimit', 'height', 'horizontalAlignment', 'hyperlink', 'id', 'margin', 'offset', 'rotateAngle', 'rotationReference', 'segmentAngle', 'style', 'template', 'tooltip', 'type', 'verticalAlignment', 'visibility', 'width'];
204
+ var outputs$3 = [];
205
+ /**
206
+ * Connectors Directive
207
+ * ```html
208
+ * <e-connectors>
209
+ * <e-connector>
210
+ * <e-connector-annotations>
211
+ * <e-connector-annotation>
212
+ * </e-connector-annotation>
213
+ * </e-connector-annotations>
214
+ * </e-connector>
215
+ * </e-connectors>
216
+ * ```
217
+ */
218
+ var ConnectorAnnotationDirective = /** @class */ (function (_super) {
219
+ __extends(ConnectorAnnotationDirective, _super);
220
+ /**
221
+ * @param {?} viewContainerRef
222
+ */
223
+ function ConnectorAnnotationDirective(viewContainerRef) {
224
+ var _this = _super.call(this) || this;
225
+ _this.viewContainerRef = viewContainerRef;
226
+ setValue('currentInstance', _this, _this.viewContainerRef);
227
+ _this.registerEvents(outputs$3);
228
+ _this.directivePropList = input$3;
229
+ return _this;
230
+ }
231
+ return ConnectorAnnotationDirective;
232
+ }(ComplexBase));
233
+ ConnectorAnnotationDirective.decorators = [
234
+ { type: Directive, args: [{
235
+ selector: 'e-connector>e-connector-annotations>e-connector-annotation',
236
+ inputs: input$3,
237
+ outputs: outputs$3,
238
+ queries: {}
239
+ },] },
240
+ ];
241
+ /**
242
+ * @nocollapse
243
+ */
244
+ ConnectorAnnotationDirective.ctorParameters = function () { return [
245
+ { type: ViewContainerRef, },
246
+ ]; };
247
+ /**
248
+ * ConnectorAnnotation Array Directive
249
+ */
250
+ var ConnectorAnnotationsDirective = /** @class */ (function (_super) {
251
+ __extends(ConnectorAnnotationsDirective, _super);
252
+ function ConnectorAnnotationsDirective() {
253
+ return _super.call(this, 'annotations') || this;
254
+ }
255
+ return ConnectorAnnotationsDirective;
256
+ }(ArrayBase));
257
+ ConnectorAnnotationsDirective.decorators = [
258
+ { type: Directive, args: [{
259
+ selector: 'e-connector>e-connector-annotations',
260
+ queries: {
261
+ children: new ContentChildren(ConnectorAnnotationDirective)
262
+ },
263
+ },] },
264
+ ];
265
+ /**
266
+ * @nocollapse
267
+ */
268
+ ConnectorAnnotationsDirective.ctorParameters = function () { return []; };
269
+ var input$4 = ['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'];
270
+ var outputs$4 = [];
271
+ /**
272
+ * Connectors Directive
273
+ * ```html
274
+ * <e-connectors>
275
+ * <e-connector></e-connector>
276
+ * </e-connectors>
277
+ * ```
278
+ */
279
+ var ConnectorDirective = /** @class */ (function (_super) {
280
+ __extends(ConnectorDirective, _super);
281
+ /**
282
+ * @param {?} viewContainerRef
283
+ */
284
+ function ConnectorDirective(viewContainerRef) {
285
+ var _this = _super.call(this) || this;
286
+ _this.viewContainerRef = viewContainerRef;
287
+ _this.tags = ['fixedUserHandles', 'annotations'];
288
+ setValue('currentInstance', _this, _this.viewContainerRef);
289
+ _this.registerEvents(outputs$4);
290
+ _this.directivePropList = input$4;
291
+ return _this;
292
+ }
293
+ return ConnectorDirective;
294
+ }(ComplexBase));
295
+ ConnectorDirective.decorators = [
296
+ { type: Directive, args: [{
297
+ selector: 'e-connectors>e-connector',
298
+ inputs: input$4,
299
+ outputs: outputs$4,
300
+ queries: {
301
+ childFixedUserHandles: new ContentChild(ConnectorFixedUserHandlesDirective),
302
+ childAnnotations: new ContentChild(ConnectorAnnotationsDirective)
303
+ }
304
+ },] },
305
+ ];
306
+ /**
307
+ * @nocollapse
308
+ */
309
+ ConnectorDirective.ctorParameters = function () { return [
310
+ { type: ViewContainerRef, },
311
+ ]; };
312
+ /**
313
+ * Connector Array Directive
314
+ */
315
+ var ConnectorsDirective = /** @class */ (function (_super) {
316
+ __extends(ConnectorsDirective, _super);
317
+ function ConnectorsDirective() {
318
+ return _super.call(this, 'connectors') || this;
319
+ }
320
+ return ConnectorsDirective;
321
+ }(ArrayBase));
322
+ ConnectorsDirective.decorators = [
323
+ { type: Directive, args: [{
324
+ selector: 'ej-diagram>e-connectors',
325
+ queries: {
326
+ children: new ContentChildren(ConnectorDirective)
327
+ },
328
+ },] },
329
+ ];
330
+ /**
331
+ * @nocollapse
332
+ */
333
+ ConnectorsDirective.ctorParameters = function () { return []; };
334
+ var input$5 = ['cornerRadius', 'fill', 'handleStrokeColor', 'handleStrokeWidth', 'height', 'iconStrokeColor', 'iconStrokeWidth', 'id', 'margin', 'offset', 'padding', 'pathData', 'tooltip', 'visibility', 'width'];
335
+ var outputs$5 = [];
336
+ /**
337
+ * Nodes Directive
338
+ * ```html
339
+ * <e-nodes>
340
+ * <e-node>
341
+ * <e-node-fixeduserhandles>
342
+ * <e-node-fixeduserhandle>
343
+ * </e-node-fixeduserhandle>
344
+ * </e-node-fixeduserhandles>
345
+ * </e-node>
346
+ * </e-nodes>
347
+ * ```
348
+ */
349
+ var NodeFixedUserHandleDirective = /** @class */ (function (_super) {
350
+ __extends(NodeFixedUserHandleDirective, _super);
351
+ /**
352
+ * @param {?} viewContainerRef
353
+ */
354
+ function NodeFixedUserHandleDirective(viewContainerRef) {
355
+ var _this = _super.call(this) || this;
356
+ _this.viewContainerRef = viewContainerRef;
357
+ setValue('currentInstance', _this, _this.viewContainerRef);
358
+ _this.registerEvents(outputs$5);
359
+ _this.directivePropList = input$5;
360
+ return _this;
361
+ }
362
+ return NodeFixedUserHandleDirective;
363
+ }(ComplexBase));
364
+ NodeFixedUserHandleDirective.decorators = [
365
+ { type: Directive, args: [{
366
+ selector: 'e-node>e-node-fixeduserhandles>e-node-fixeduserhandle',
367
+ inputs: input$5,
368
+ outputs: outputs$5,
369
+ queries: {}
370
+ },] },
371
+ ];
372
+ /**
373
+ * @nocollapse
374
+ */
375
+ NodeFixedUserHandleDirective.ctorParameters = function () { return [
376
+ { type: ViewContainerRef, },
377
+ ]; };
378
+ /**
379
+ * NodeFixedUserHandle Array Directive
380
+ */
381
+ var NodeFixedUserHandlesDirective = /** @class */ (function (_super) {
382
+ __extends(NodeFixedUserHandlesDirective, _super);
383
+ function NodeFixedUserHandlesDirective() {
384
+ return _super.call(this, 'fixeduserhandles') || this;
385
+ }
386
+ return NodeFixedUserHandlesDirective;
387
+ }(ArrayBase));
388
+ NodeFixedUserHandlesDirective.decorators = [
389
+ { type: Directive, args: [{
390
+ selector: 'e-node>e-node-fixeduserhandles',
391
+ queries: {
392
+ children: new ContentChildren(NodeFixedUserHandleDirective)
393
+ },
394
+ },] },
395
+ ];
396
+ /**
397
+ * @nocollapse
398
+ */
399
+ NodeFixedUserHandlesDirective.ctorParameters = function () { return []; };
400
+ var input$6 = ['addInfo', 'annotationType', 'constraints', 'content', 'dragLimit', 'height', 'horizontalAlignment', 'hyperlink', 'id', 'margin', 'offset', 'rotateAngle', 'rotationReference', 'style', 'template', 'tooltip', 'type', 'verticalAlignment', 'visibility', 'width'];
401
+ var outputs$6 = [];
402
+ /**
403
+ * Nodes Directive
404
+ * ```html
405
+ * <e-nodes>
406
+ * <e-node>
407
+ * <e-node-annotations>
408
+ * <e-node-annotation>
409
+ * </e-node-annotation>
410
+ * </e-node-annotations>
411
+ * </e-node>
412
+ * </e-nodes>
413
+ * ```
414
+ */
415
+ var NodeAnnotationDirective = /** @class */ (function (_super) {
416
+ __extends(NodeAnnotationDirective, _super);
417
+ /**
418
+ * @param {?} viewContainerRef
419
+ */
420
+ function NodeAnnotationDirective(viewContainerRef) {
421
+ var _this = _super.call(this) || this;
422
+ _this.viewContainerRef = viewContainerRef;
423
+ setValue('currentInstance', _this, _this.viewContainerRef);
424
+ _this.registerEvents(outputs$6);
425
+ _this.directivePropList = input$6;
426
+ return _this;
427
+ }
428
+ return NodeAnnotationDirective;
429
+ }(ComplexBase));
430
+ NodeAnnotationDirective.decorators = [
431
+ { type: Directive, args: [{
432
+ selector: 'e-node>e-node-annotations>e-node-annotation',
433
+ inputs: input$6,
434
+ outputs: outputs$6,
435
+ queries: {}
436
+ },] },
437
+ ];
438
+ /**
439
+ * @nocollapse
440
+ */
441
+ NodeAnnotationDirective.ctorParameters = function () { return [
442
+ { type: ViewContainerRef, },
443
+ ]; };
444
+ /**
445
+ * NodeAnnotation Array Directive
446
+ */
447
+ var NodeAnnotationsDirective = /** @class */ (function (_super) {
448
+ __extends(NodeAnnotationsDirective, _super);
449
+ function NodeAnnotationsDirective() {
450
+ return _super.call(this, 'annotations') || this;
451
+ }
452
+ return NodeAnnotationsDirective;
453
+ }(ArrayBase));
454
+ NodeAnnotationsDirective.decorators = [
455
+ { type: Directive, args: [{
456
+ selector: 'e-node>e-node-annotations',
457
+ queries: {
458
+ children: new ContentChildren(NodeAnnotationDirective)
459
+ },
460
+ },] },
461
+ ];
462
+ /**
463
+ * @nocollapse
464
+ */
465
+ NodeAnnotationsDirective.ctorParameters = function () { return []; };
466
+ var input$7 = ['addInfo', 'connectionDirection', 'constraints', 'height', 'horizontalAlignment', 'id', 'inEdges', 'margin', 'offset', 'outEdges', 'pathData', 'shape', 'style', 'tooltip', 'verticalAlignment', 'visibility', 'width'];
467
+ var outputs$7 = [];
468
+ /**
469
+ * Nodes Directive
470
+ * ```html
471
+ * <e-nodes>
472
+ * <e-node>
473
+ * <e-node-ports>
474
+ * <e-node-port>
475
+ * </e-node-port>
476
+ * </e-node-ports>
477
+ * </e-node>
478
+ * </e-nodes>
479
+ * ```
480
+ */
481
+ var PortDirective = /** @class */ (function (_super) {
482
+ __extends(PortDirective, _super);
483
+ /**
484
+ * @param {?} viewContainerRef
485
+ */
486
+ function PortDirective(viewContainerRef) {
487
+ var _this = _super.call(this) || this;
488
+ _this.viewContainerRef = viewContainerRef;
489
+ setValue('currentInstance', _this, _this.viewContainerRef);
490
+ _this.registerEvents(outputs$7);
491
+ _this.directivePropList = input$7;
492
+ return _this;
493
+ }
494
+ return PortDirective;
495
+ }(ComplexBase));
496
+ PortDirective.decorators = [
497
+ { type: Directive, args: [{
498
+ selector: 'e-node>e-node-ports>e-node-port',
499
+ inputs: input$7,
500
+ outputs: outputs$7,
501
+ queries: {}
502
+ },] },
503
+ ];
504
+ /**
505
+ * @nocollapse
506
+ */
507
+ PortDirective.ctorParameters = function () { return [
508
+ { type: ViewContainerRef, },
509
+ ]; };
510
+ /**
511
+ * Port Array Directive
512
+ */
513
+ var PortsDirective = /** @class */ (function (_super) {
514
+ __extends(PortsDirective, _super);
515
+ function PortsDirective() {
516
+ return _super.call(this, 'ports') || this;
517
+ }
518
+ return PortsDirective;
519
+ }(ArrayBase));
520
+ PortsDirective.decorators = [
521
+ { type: Directive, args: [{
522
+ selector: 'e-node>e-node-ports',
523
+ queries: {
524
+ children: new ContentChildren(PortDirective)
525
+ },
526
+ },] },
527
+ ];
528
+ /**
529
+ * @nocollapse
530
+ */
531
+ PortsDirective.ctorParameters = function () { return []; };
532
+ var input$8 = ['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'];
533
+ var outputs$8 = [];
534
+ /**
535
+ * Nodes Directive
536
+ * ```html
537
+ * <e-nodes>
538
+ * <e-node></e-node>
539
+ * </e-nodes>
540
+ * ```
541
+ */
542
+ var NodeDirective = /** @class */ (function (_super) {
543
+ __extends(NodeDirective, _super);
544
+ /**
545
+ * @param {?} viewContainerRef
546
+ */
547
+ function NodeDirective(viewContainerRef) {
548
+ var _this = _super.call(this) || this;
549
+ _this.viewContainerRef = viewContainerRef;
550
+ _this.tags = ['fixedUserHandles', 'annotations', 'ports'];
551
+ setValue('currentInstance', _this, _this.viewContainerRef);
552
+ _this.registerEvents(outputs$8);
553
+ _this.directivePropList = input$8;
554
+ return _this;
555
+ }
556
+ return NodeDirective;
557
+ }(ComplexBase));
558
+ NodeDirective.decorators = [
559
+ { type: Directive, args: [{
560
+ selector: 'e-nodes>e-node',
561
+ inputs: input$8,
562
+ outputs: outputs$8,
563
+ queries: {
564
+ childFixedUserHandles: new ContentChild(NodeFixedUserHandlesDirective),
565
+ childAnnotations: new ContentChild(NodeAnnotationsDirective),
566
+ childPorts: new ContentChild(PortsDirective)
567
+ }
568
+ },] },
569
+ ];
570
+ /**
571
+ * @nocollapse
572
+ */
573
+ NodeDirective.ctorParameters = function () { return [
574
+ { type: ViewContainerRef, },
575
+ ]; };
576
+ /**
577
+ * Node Array Directive
578
+ */
579
+ var NodesDirective = /** @class */ (function (_super) {
580
+ __extends(NodesDirective, _super);
581
+ function NodesDirective() {
582
+ return _super.call(this, 'nodes') || this;
583
+ }
584
+ return NodesDirective;
585
+ }(ArrayBase));
586
+ NodesDirective.decorators = [
587
+ { type: Directive, args: [{
588
+ selector: 'ej-diagram>e-nodes',
589
+ queries: {
590
+ children: new ContentChildren(NodeDirective)
591
+ },
592
+ },] },
593
+ ];
594
+ /**
595
+ * @nocollapse
596
+ */
597
+ NodesDirective.ctorParameters = function () { return []; };
598
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
599
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
600
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
601
+ r = Reflect.decorate(decorators, target, key, desc);
602
+ else
603
+ for (var i = decorators.length - 1; i >= 0; i--)
604
+ if (d = decorators[i])
605
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
606
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
607
+ };
608
+ var __metadata = (this && this.__metadata) || function (k, v) {
609
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
610
+ return Reflect.metadata(k, v);
611
+ };
612
+ var inputs = ['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'];
613
+ var outputs$9 = ['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'];
614
+ var twoWays = [''];
615
+ /**
616
+ * Diagram Component
617
+ * ```html
618
+ * <ej-diagram></ej-diagram>
619
+ * ```
620
+ */
621
+ var DiagramComponent = /** @class */ (function (_super) {
622
+ __extends(DiagramComponent, _super);
623
+ /**
624
+ * @param {?} ngEle
625
+ * @param {?} srenderer
626
+ * @param {?} viewContainerRef
627
+ * @param {?} injector
628
+ */
629
+ function DiagramComponent(ngEle, srenderer, viewContainerRef, injector) {
630
+ var _this = _super.call(this) || this;
631
+ _this.ngEle = ngEle;
632
+ _this.srenderer = srenderer;
633
+ _this.viewContainerRef = viewContainerRef;
634
+ _this.injector = injector;
635
+ _this.tags = ['layers', 'customCursor', 'connectors', 'nodes'];
636
+ _this.element = _this.ngEle.nativeElement;
637
+ _this.injectedModules = _this.injectedModules || [];
638
+ try {
639
+ var mod = _this.injector.get('DiagramsHierarchicalTree');
640
+ if (_this.injectedModules.indexOf(mod) === -1) {
641
+ _this.injectedModules.push(mod);
642
+ }
643
+ }
644
+ catch (_a) { }
645
+ try {
646
+ var mod = _this.injector.get('DiagramsMindMap');
647
+ if (_this.injectedModules.indexOf(mod) === -1) {
648
+ _this.injectedModules.push(mod);
649
+ }
650
+ }
651
+ catch (_b) { }
652
+ try {
653
+ var mod = _this.injector.get('DiagramsRadialTree');
654
+ if (_this.injectedModules.indexOf(mod) === -1) {
655
+ _this.injectedModules.push(mod);
656
+ }
657
+ }
658
+ catch (_c) { }
659
+ try {
660
+ var mod = _this.injector.get('DiagramsComplexHierarchicalTree');
661
+ if (_this.injectedModules.indexOf(mod) === -1) {
662
+ _this.injectedModules.push(mod);
663
+ }
664
+ }
665
+ catch (_d) { }
666
+ try {
667
+ var mod = _this.injector.get('DiagramsDataBinding');
668
+ if (_this.injectedModules.indexOf(mod) === -1) {
669
+ _this.injectedModules.push(mod);
670
+ }
671
+ }
672
+ catch (_e) { }
673
+ try {
674
+ var mod = _this.injector.get('DiagramsSnapping');
675
+ if (_this.injectedModules.indexOf(mod) === -1) {
676
+ _this.injectedModules.push(mod);
677
+ }
678
+ }
679
+ catch (_f) { }
680
+ try {
681
+ var mod = _this.injector.get('DiagramsPrintAndExport');
682
+ if (_this.injectedModules.indexOf(mod) === -1) {
683
+ _this.injectedModules.push(mod);
684
+ }
685
+ }
686
+ catch (_g) { }
687
+ try {
688
+ var mod = _this.injector.get('DiagramsBpmnDiagrams');
689
+ if (_this.injectedModules.indexOf(mod) === -1) {
690
+ _this.injectedModules.push(mod);
691
+ }
692
+ }
693
+ catch (_h) { }
694
+ try {
695
+ var mod = _this.injector.get('DiagramsSymmetricLayout');
696
+ if (_this.injectedModules.indexOf(mod) === -1) {
697
+ _this.injectedModules.push(mod);
698
+ }
699
+ }
700
+ catch (_j) { }
701
+ try {
702
+ var mod = _this.injector.get('DiagramsConnectorBridging');
703
+ if (_this.injectedModules.indexOf(mod) === -1) {
704
+ _this.injectedModules.push(mod);
705
+ }
706
+ }
707
+ catch (_k) { }
708
+ try {
709
+ var mod = _this.injector.get('DiagramsUndoRedo');
710
+ if (_this.injectedModules.indexOf(mod) === -1) {
711
+ _this.injectedModules.push(mod);
712
+ }
713
+ }
714
+ catch (_l) { }
715
+ try {
716
+ var mod = _this.injector.get('DiagramsLayoutAnimation');
717
+ if (_this.injectedModules.indexOf(mod) === -1) {
718
+ _this.injectedModules.push(mod);
719
+ }
720
+ }
721
+ catch (_m) { }
722
+ try {
723
+ var mod = _this.injector.get('DiagramsDiagramContextMenu');
724
+ if (_this.injectedModules.indexOf(mod) === -1) {
725
+ _this.injectedModules.push(mod);
726
+ }
727
+ }
728
+ catch (_o) { }
729
+ try {
730
+ var mod = _this.injector.get('DiagramsLineRouting');
731
+ if (_this.injectedModules.indexOf(mod) === -1) {
732
+ _this.injectedModules.push(mod);
733
+ }
734
+ }
735
+ catch (_p) { }
736
+ try {
737
+ var mod = _this.injector.get('DiagramsAvoidLineOverlapping');
738
+ if (_this.injectedModules.indexOf(mod) === -1) {
739
+ _this.injectedModules.push(mod);
740
+ }
741
+ }
742
+ catch (_q) { }
743
+ try {
744
+ var mod = _this.injector.get('DiagramsConnectorEditing');
745
+ if (_this.injectedModules.indexOf(mod) === -1) {
746
+ _this.injectedModules.push(mod);
747
+ }
748
+ }
749
+ catch (_r) { }
750
+ try {
751
+ var mod = _this.injector.get('DiagramsLineDistribution');
752
+ if (_this.injectedModules.indexOf(mod) === -1) {
753
+ _this.injectedModules.push(mod);
754
+ }
755
+ }
756
+ catch (_s) { }
757
+ try {
758
+ var mod = _this.injector.get('DiagramsEj1Serialization');
759
+ if (_this.injectedModules.indexOf(mod) === -1) {
760
+ _this.injectedModules.push(mod);
761
+ }
762
+ }
763
+ catch (_t) { }
764
+ try {
765
+ var mod = _this.injector.get('DiagramsFlowchartLayout');
766
+ if (_this.injectedModules.indexOf(mod) === -1) {
767
+ _this.injectedModules.push(mod);
768
+ }
769
+ }
770
+ catch (_u) { }
771
+ _this.registerEvents(outputs$9);
772
+ _this.addTwoWay.call(_this, twoWays);
773
+ setValue('currentInstance', _this, _this.viewContainerRef);
774
+ _this.context = new ComponentBase();
775
+ return _this;
776
+ }
777
+ /**
778
+ * @return {?}
779
+ */
780
+ DiagramComponent.prototype.ngOnInit = function () {
781
+ this.context.ngOnInit(this);
782
+ };
783
+ /**
784
+ * @return {?}
785
+ */
786
+ DiagramComponent.prototype.ngAfterViewInit = function () {
787
+ this.context.ngAfterViewInit(this);
788
+ };
789
+ /**
790
+ * @return {?}
791
+ */
792
+ DiagramComponent.prototype.ngOnDestroy = function () {
793
+ this.context.ngOnDestroy(this);
794
+ };
795
+ /**
796
+ * @return {?}
797
+ */
798
+ DiagramComponent.prototype.ngAfterContentChecked = function () {
799
+ this.tagObjects[0].instance = this.childLayers;
800
+ if (this.childCustomCursor) {
801
+ this.tagObjects[1].instance = this.childCustomCursor;
802
+ }
803
+ if (this.childConnectors) {
804
+ this.tagObjects[2].instance = this.childConnectors;
805
+ }
806
+ if (this.childNodes) {
807
+ this.tagObjects[3].instance = this.childNodes;
808
+ }
809
+ this.context.ngAfterContentChecked(this);
810
+ };
811
+ return DiagramComponent;
812
+ }(Diagram));
813
+ DiagramComponent.decorators = [
814
+ { type: Component, args: [{
815
+ selector: 'ejs-diagram',
816
+ inputs: inputs,
817
+ outputs: outputs$9,
818
+ template: '',
819
+ changeDetection: ChangeDetectionStrategy.OnPush,
820
+ queries: {
821
+ childLayers: new ContentChild(LayersDirective),
822
+ childCustomCursor: new ContentChild(CustomCursorsDirective),
823
+ childConnectors: new ContentChild(ConnectorsDirective),
824
+ childNodes: new ContentChild(NodesDirective)
825
+ }
826
+ },] },
827
+ ];
828
+ /**
829
+ * @nocollapse
830
+ */
831
+ DiagramComponent.ctorParameters = function () { return [
832
+ { type: ElementRef, },
833
+ { type: Renderer2, },
834
+ { type: ViewContainerRef, },
835
+ { type: Injector, },
836
+ ]; };
837
+ DiagramComponent.propDecorators = {
838
+ 'annotationTemplate': [{ type: ContentChild, args: ['annotationTemplate',] },],
839
+ 'nodeTemplate': [{ type: ContentChild, args: ['nodeTemplate',] },],
840
+ 'userHandleTemplate': [{ type: ContentChild, args: ['userHandleTemplate',] },],
841
+ };
842
+ __decorate([
843
+ Template(),
844
+ __metadata("design:type", Object)
845
+ ], DiagramComponent.prototype, "annotationTemplate", void 0);
846
+ __decorate([
847
+ Template(),
848
+ __metadata("design:type", Object)
849
+ ], DiagramComponent.prototype, "nodeTemplate", void 0);
850
+ __decorate([
851
+ Template(),
852
+ __metadata("design:type", Object)
853
+ ], DiagramComponent.prototype, "userHandleTemplate", void 0);
854
+ DiagramComponent = __decorate([
855
+ ComponentMixins([ComponentBase]),
856
+ __metadata("design:paramtypes", [ElementRef,
857
+ Renderer2,
858
+ ViewContainerRef,
859
+ Injector])
860
+ ], DiagramComponent);
861
+ /**
862
+ * NgModule definition for the Diagram component.
863
+ */
864
+ var DiagramModule = /** @class */ (function () {
865
+ function DiagramModule() {
866
+ }
867
+ return DiagramModule;
868
+ }());
869
+ DiagramModule.decorators = [
870
+ { type: NgModule, args: [{
871
+ imports: [CommonModule],
872
+ declarations: [
873
+ DiagramComponent,
874
+ LayerDirective,
875
+ LayersDirective,
876
+ CustomCursorDirective,
877
+ CustomCursorsDirective,
878
+ ConnectorFixedUserHandleDirective,
879
+ ConnectorFixedUserHandlesDirective,
880
+ ConnectorAnnotationDirective,
881
+ ConnectorAnnotationsDirective,
882
+ ConnectorDirective,
883
+ ConnectorsDirective,
884
+ NodeFixedUserHandleDirective,
885
+ NodeFixedUserHandlesDirective,
886
+ NodeAnnotationDirective,
887
+ NodeAnnotationsDirective,
888
+ PortDirective,
889
+ PortsDirective,
890
+ NodeDirective,
891
+ NodesDirective
892
+ ],
893
+ exports: [
894
+ DiagramComponent,
895
+ LayerDirective,
896
+ LayersDirective,
897
+ CustomCursorDirective,
898
+ CustomCursorsDirective,
899
+ ConnectorFixedUserHandleDirective,
900
+ ConnectorFixedUserHandlesDirective,
901
+ ConnectorAnnotationDirective,
902
+ ConnectorAnnotationsDirective,
903
+ ConnectorDirective,
904
+ ConnectorsDirective,
905
+ NodeFixedUserHandleDirective,
906
+ NodeFixedUserHandlesDirective,
907
+ NodeAnnotationDirective,
908
+ NodeAnnotationsDirective,
909
+ PortDirective,
910
+ PortsDirective,
911
+ NodeDirective,
912
+ NodesDirective
913
+ ]
914
+ },] },
915
+ ];
916
+ /**
917
+ * @nocollapse
918
+ */
919
+ DiagramModule.ctorParameters = function () { return []; };
920
+ var HierarchicalTreeService = { provide: 'DiagramsHierarchicalTree', useValue: HierarchicalTree };
921
+ var MindMapService = { provide: 'DiagramsMindMap', useValue: MindMap };
922
+ var RadialTreeService = { provide: 'DiagramsRadialTree', useValue: RadialTree };
923
+ var ComplexHierarchicalTreeService = { provide: 'DiagramsComplexHierarchicalTree', useValue: ComplexHierarchicalTree };
924
+ var DataBindingService = { provide: 'DiagramsDataBinding', useValue: DataBinding };
925
+ var SnappingService = { provide: 'DiagramsSnapping', useValue: Snapping };
926
+ var PrintAndExportService = { provide: 'DiagramsPrintAndExport', useValue: PrintAndExport };
927
+ var BpmnDiagramsService = { provide: 'DiagramsBpmnDiagrams', useValue: BpmnDiagrams };
928
+ var SymmetricLayoutService = { provide: 'DiagramsSymmetricLayout', useValue: SymmetricLayout };
929
+ var ConnectorBridgingService = { provide: 'DiagramsConnectorBridging', useValue: ConnectorBridging };
930
+ var UndoRedoService = { provide: 'DiagramsUndoRedo', useValue: UndoRedo };
931
+ var LayoutAnimationService = { provide: 'DiagramsLayoutAnimation', useValue: LayoutAnimation };
932
+ var DiagramContextMenuService = { provide: 'DiagramsDiagramContextMenu', useValue: DiagramContextMenu };
933
+ var LineRoutingService = { provide: 'DiagramsLineRouting', useValue: LineRouting };
934
+ var AvoidLineOverlappingService = { provide: 'DiagramsAvoidLineOverlapping', useValue: AvoidLineOverlapping };
935
+ var ConnectorEditingService = { provide: 'DiagramsConnectorEditing', useValue: ConnectorEditing };
936
+ var LineDistributionService = { provide: 'DiagramsLineDistribution', useValue: LineDistribution };
937
+ var Ej1SerializationService = { provide: 'DiagramsEj1Serialization', useValue: Ej1Serialization };
938
+ var FlowchartLayoutService = { provide: 'DiagramsFlowchartLayout', useValue: FlowchartLayout };
939
+ /**
940
+ * NgModule definition for the Diagram component with providers.
941
+ */
942
+ var DiagramAllModule = /** @class */ (function () {
943
+ function DiagramAllModule() {
944
+ }
945
+ return DiagramAllModule;
946
+ }());
947
+ DiagramAllModule.decorators = [
948
+ { type: NgModule, args: [{
949
+ imports: [CommonModule, DiagramModule],
950
+ exports: [
951
+ DiagramModule
952
+ ],
953
+ providers: [
954
+ HierarchicalTreeService,
955
+ MindMapService,
956
+ RadialTreeService,
957
+ ComplexHierarchicalTreeService,
958
+ DataBindingService,
959
+ SnappingService,
960
+ PrintAndExportService,
961
+ BpmnDiagramsService,
962
+ SymmetricLayoutService,
963
+ ConnectorBridgingService,
964
+ UndoRedoService,
965
+ LayoutAnimationService,
966
+ DiagramContextMenuService,
967
+ LineRoutingService,
968
+ AvoidLineOverlappingService,
969
+ ConnectorEditingService,
970
+ LineDistributionService,
971
+ Ej1SerializationService,
972
+ FlowchartLayoutService
973
+ ]
974
+ },] },
975
+ ];
976
+ /**
977
+ * @nocollapse
978
+ */
979
+ DiagramAllModule.ctorParameters = function () { return []; };
980
+ var input$9 = ['expanded', 'height', 'iconCss', 'id', 'symbols', 'title'];
981
+ var outputs$10 = [];
982
+ /**
983
+ * Palette Directive
984
+ * ```html
985
+ * <e-palettes><e-palette></e-palette><e-palettes>
986
+ * ```
987
+ */
988
+ var PaletteDirective = /** @class */ (function (_super) {
989
+ __extends(PaletteDirective, _super);
990
+ /**
991
+ * @param {?} viewContainerRef
992
+ */
993
+ function PaletteDirective(viewContainerRef) {
994
+ var _this = _super.call(this) || this;
995
+ _this.viewContainerRef = viewContainerRef;
996
+ setValue('currentInstance', _this, _this.viewContainerRef);
997
+ _this.registerEvents(outputs$10);
998
+ _this.directivePropList = input$9;
999
+ return _this;
1000
+ }
1001
+ return PaletteDirective;
1002
+ }(ComplexBase));
1003
+ PaletteDirective.decorators = [
1004
+ { type: Directive, args: [{
1005
+ selector: 'e-palettes>e-palette',
1006
+ inputs: input$9,
1007
+ outputs: outputs$10,
1008
+ queries: {}
1009
+ },] },
1010
+ ];
1011
+ /**
1012
+ * @nocollapse
1013
+ */
1014
+ PaletteDirective.ctorParameters = function () { return [
1015
+ { type: ViewContainerRef, },
1016
+ ]; };
1017
+ /**
1018
+ * Palette Array Directive
1019
+ */
1020
+ var PalettesDirective = /** @class */ (function (_super) {
1021
+ __extends(PalettesDirective, _super);
1022
+ function PalettesDirective() {
1023
+ return _super.call(this, 'palettes') || this;
1024
+ }
1025
+ return PalettesDirective;
1026
+ }(ArrayBase));
1027
+ PalettesDirective.decorators = [
1028
+ { type: Directive, args: [{
1029
+ selector: 'ejs-symbolpalette>e-palettes',
1030
+ queries: {
1031
+ children: new ContentChildren(PaletteDirective)
1032
+ },
1033
+ },] },
1034
+ ];
1035
+ /**
1036
+ * @nocollapse
1037
+ */
1038
+ PalettesDirective.ctorParameters = function () { return []; };
1039
+ var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
1040
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1041
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
1042
+ r = Reflect.decorate(decorators, target, key, desc);
1043
+ else
1044
+ for (var i = decorators.length - 1; i >= 0; i--)
1045
+ if (d = decorators[i])
1046
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1047
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
1048
+ };
1049
+ var __metadata$1 = (this && this.__metadata) || function (k, v) {
1050
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
1051
+ return Reflect.metadata(k, v);
1052
+ };
1053
+ var 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'];
1054
+ var outputs$11 = ['paletteExpanding', 'paletteSelectionChange'];
1055
+ var twoWays$1 = [''];
1056
+ /**
1057
+ * SymbolPalette Component
1058
+ * ```html
1059
+ * <ej-symbol-palette></ej-symbol-palette>
1060
+ * ```
1061
+ */
1062
+ var SymbolPaletteComponent = /** @class */ (function (_super) {
1063
+ __extends(SymbolPaletteComponent, _super);
1064
+ /**
1065
+ * @param {?} ngEle
1066
+ * @param {?} srenderer
1067
+ * @param {?} viewContainerRef
1068
+ * @param {?} injector
1069
+ */
1070
+ function SymbolPaletteComponent(ngEle, srenderer, viewContainerRef, injector) {
1071
+ var _this = _super.call(this) || this;
1072
+ _this.ngEle = ngEle;
1073
+ _this.srenderer = srenderer;
1074
+ _this.viewContainerRef = viewContainerRef;
1075
+ _this.injector = injector;
1076
+ _this.tags = ['palettes'];
1077
+ _this.element = _this.ngEle.nativeElement;
1078
+ _this.injectedModules = _this.injectedModules || [];
1079
+ try {
1080
+ var mod = _this.injector.get('DiagramsBpmnDiagrams');
1081
+ if (_this.injectedModules.indexOf(mod) === -1) {
1082
+ _this.injectedModules.push(mod);
1083
+ }
1084
+ }
1085
+ catch (_a) { }
1086
+ _this.registerEvents(outputs$11);
1087
+ _this.addTwoWay.call(_this, twoWays$1);
1088
+ setValue('currentInstance', _this, _this.viewContainerRef);
1089
+ _this.context = new ComponentBase();
1090
+ return _this;
1091
+ }
1092
+ /**
1093
+ * @return {?}
1094
+ */
1095
+ SymbolPaletteComponent.prototype.ngOnInit = function () {
1096
+ this.context.ngOnInit(this);
1097
+ };
1098
+ /**
1099
+ * @return {?}
1100
+ */
1101
+ SymbolPaletteComponent.prototype.ngAfterViewInit = function () {
1102
+ this.context.ngAfterViewInit(this);
1103
+ };
1104
+ /**
1105
+ * @return {?}
1106
+ */
1107
+ SymbolPaletteComponent.prototype.ngOnDestroy = function () {
1108
+ this.context.ngOnDestroy(this);
1109
+ };
1110
+ /**
1111
+ * @return {?}
1112
+ */
1113
+ SymbolPaletteComponent.prototype.ngAfterContentChecked = function () {
1114
+ this.tagObjects[0].instance = this.childPalettes;
1115
+ this.context.ngAfterContentChecked(this);
1116
+ };
1117
+ return SymbolPaletteComponent;
1118
+ }(SymbolPalette));
1119
+ SymbolPaletteComponent.decorators = [
1120
+ { type: Component, args: [{
1121
+ selector: 'ejs-symbolpalette',
1122
+ inputs: inputs$1,
1123
+ outputs: outputs$11,
1124
+ template: '',
1125
+ changeDetection: ChangeDetectionStrategy.OnPush,
1126
+ queries: {
1127
+ childPalettes: new ContentChild(PalettesDirective)
1128
+ }
1129
+ },] },
1130
+ ];
1131
+ /**
1132
+ * @nocollapse
1133
+ */
1134
+ SymbolPaletteComponent.ctorParameters = function () { return [
1135
+ { type: ElementRef, },
1136
+ { type: Renderer2, },
1137
+ { type: ViewContainerRef, },
1138
+ { type: Injector, },
1139
+ ]; };
1140
+ SymbolPaletteComponent = __decorate$1([
1141
+ ComponentMixins([ComponentBase]),
1142
+ __metadata$1("design:paramtypes", [ElementRef,
1143
+ Renderer2,
1144
+ ViewContainerRef,
1145
+ Injector])
1146
+ ], SymbolPaletteComponent);
1147
+ /**
1148
+ * NgModule definition for the SymbolPalette component.
1149
+ */
1150
+ var SymbolPaletteModule = /** @class */ (function () {
1151
+ function SymbolPaletteModule() {
1152
+ }
1153
+ return SymbolPaletteModule;
1154
+ }());
1155
+ SymbolPaletteModule.decorators = [
1156
+ { type: NgModule, args: [{
1157
+ imports: [CommonModule],
1158
+ declarations: [
1159
+ SymbolPaletteComponent,
1160
+ PaletteDirective,
1161
+ PalettesDirective
1162
+ ],
1163
+ exports: [
1164
+ SymbolPaletteComponent,
1165
+ PaletteDirective,
1166
+ PalettesDirective
1167
+ ]
1168
+ },] },
1169
+ ];
1170
+ /**
1171
+ * @nocollapse
1172
+ */
1173
+ SymbolPaletteModule.ctorParameters = function () { return []; };
1174
+ /**
1175
+ * NgModule definition for the SymbolPalette component with providers.
1176
+ */
1177
+ var SymbolPaletteAllModule = /** @class */ (function () {
1178
+ function SymbolPaletteAllModule() {
1179
+ }
1180
+ return SymbolPaletteAllModule;
1181
+ }());
1182
+ SymbolPaletteAllModule.decorators = [
1183
+ { type: NgModule, args: [{
1184
+ imports: [CommonModule, SymbolPaletteModule],
1185
+ exports: [
1186
+ SymbolPaletteModule
1187
+ ],
1188
+ providers: []
1189
+ },] },
1190
+ ];
1191
+ /**
1192
+ * @nocollapse
1193
+ */
1194
+ SymbolPaletteAllModule.ctorParameters = function () { return []; };
1195
+ var __decorate$2 = (this && this.__decorate) || function (decorators, target, key, desc) {
1196
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1197
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
1198
+ r = Reflect.decorate(decorators, target, key, desc);
1199
+ else
1200
+ for (var i = decorators.length - 1; i >= 0; i--)
1201
+ if (d = decorators[i])
1202
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1203
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
1204
+ };
1205
+ var __metadata$2 = (this && this.__metadata) || function (k, v) {
1206
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
1207
+ return Reflect.metadata(k, v);
1208
+ };
1209
+ var inputs$2 = ['enablePersistence', 'enableRtl', 'height', 'locale', 'sourceID', 'width'];
1210
+ var outputs$12 = ['created'];
1211
+ var twoWays$2 = [''];
1212
+ /**
1213
+ * Overview Component
1214
+ * ```html
1215
+ * <ej-overview></ej-overview>
1216
+ * ```
1217
+ */
1218
+ var OverviewComponent = /** @class */ (function (_super) {
1219
+ __extends(OverviewComponent, _super);
1220
+ /**
1221
+ * @param {?} ngEle
1222
+ * @param {?} srenderer
1223
+ * @param {?} viewContainerRef
1224
+ * @param {?} injector
1225
+ */
1226
+ function OverviewComponent(ngEle, srenderer, viewContainerRef, injector) {
1227
+ var _this = _super.call(this) || this;
1228
+ _this.ngEle = ngEle;
1229
+ _this.srenderer = srenderer;
1230
+ _this.viewContainerRef = viewContainerRef;
1231
+ _this.injector = injector;
1232
+ _this.tags = [''];
1233
+ _this.element = _this.ngEle.nativeElement;
1234
+ _this.injectedModules = _this.injectedModules || [];
1235
+ _this.registerEvents(outputs$12);
1236
+ _this.addTwoWay.call(_this, twoWays$2);
1237
+ setValue('currentInstance', _this, _this.viewContainerRef);
1238
+ _this.context = new ComponentBase();
1239
+ return _this;
1240
+ }
1241
+ /**
1242
+ * @return {?}
1243
+ */
1244
+ OverviewComponent.prototype.ngOnInit = function () {
1245
+ this.context.ngOnInit(this);
1246
+ };
1247
+ /**
1248
+ * @return {?}
1249
+ */
1250
+ OverviewComponent.prototype.ngAfterViewInit = function () {
1251
+ this.context.ngAfterViewInit(this);
1252
+ };
1253
+ /**
1254
+ * @return {?}
1255
+ */
1256
+ OverviewComponent.prototype.ngOnDestroy = function () {
1257
+ this.context.ngOnDestroy(this);
1258
+ };
1259
+ /**
1260
+ * @return {?}
1261
+ */
1262
+ OverviewComponent.prototype.ngAfterContentChecked = function () {
1263
+ this.context.ngAfterContentChecked(this);
1264
+ };
1265
+ return OverviewComponent;
1266
+ }(Overview));
1267
+ OverviewComponent.decorators = [
1268
+ { type: Component, args: [{
1269
+ selector: 'ejs-overview',
1270
+ inputs: inputs$2,
1271
+ outputs: outputs$12,
1272
+ template: '',
1273
+ changeDetection: ChangeDetectionStrategy.OnPush,
1274
+ queries: {}
1275
+ },] },
1276
+ ];
1277
+ /**
1278
+ * @nocollapse
1279
+ */
1280
+ OverviewComponent.ctorParameters = function () { return [
1281
+ { type: ElementRef, },
1282
+ { type: Renderer2, },
1283
+ { type: ViewContainerRef, },
1284
+ { type: Injector, },
1285
+ ]; };
1286
+ OverviewComponent = __decorate$2([
1287
+ ComponentMixins([ComponentBase]),
1288
+ __metadata$2("design:paramtypes", [ElementRef,
1289
+ Renderer2,
1290
+ ViewContainerRef,
1291
+ Injector])
1292
+ ], OverviewComponent);
1293
+ /**
1294
+ * NgModule definition for the Overview component.
1295
+ */
1296
+ var OverviewModule = /** @class */ (function () {
1297
+ function OverviewModule() {
1298
+ }
1299
+ return OverviewModule;
1300
+ }());
1301
+ OverviewModule.decorators = [
1302
+ { type: NgModule, args: [{
1303
+ imports: [CommonModule],
1304
+ declarations: [
1305
+ OverviewComponent
1306
+ ],
1307
+ exports: [
1308
+ OverviewComponent
1309
+ ]
1310
+ },] },
1311
+ ];
1312
+ /**
1313
+ * @nocollapse
1314
+ */
1315
+ OverviewModule.ctorParameters = function () { return []; };
1316
+ /**
1317
+ * NgModule definition for the Overview component with providers.
1318
+ */
1319
+ var OverviewAllModule = /** @class */ (function () {
1320
+ function OverviewAllModule() {
1321
+ }
1322
+ return OverviewAllModule;
1323
+ }());
1324
+ OverviewAllModule.decorators = [
1325
+ { type: NgModule, args: [{
1326
+ imports: [CommonModule, OverviewModule],
1327
+ exports: [
1328
+ OverviewModule
1329
+ ],
1330
+ providers: []
1331
+ },] },
1332
+ ];
1333
+ /**
1334
+ * @nocollapse
1335
+ */
1336
+ OverviewAllModule.ctorParameters = function () { return []; };
1337
+ /**
1338
+ * Generated bundle index. Do not edit.
1339
+ */
1340
+ export { LayerDirective, LayersDirective, CustomCursorDirective, CustomCursorsDirective, ConnectorFixedUserHandleDirective, ConnectorFixedUserHandlesDirective, ConnectorAnnotationDirective, ConnectorAnnotationsDirective, ConnectorDirective, ConnectorsDirective, NodeFixedUserHandleDirective, NodeFixedUserHandlesDirective, NodeAnnotationDirective, NodeAnnotationsDirective, PortDirective, PortsDirective, NodeDirective, NodesDirective, DiagramComponent, DiagramModule, DiagramAllModule, HierarchicalTreeService, MindMapService, RadialTreeService, ComplexHierarchicalTreeService, DataBindingService, SnappingService, PrintAndExportService, BpmnDiagramsService, SymmetricLayoutService, ConnectorBridgingService, UndoRedoService, LayoutAnimationService, DiagramContextMenuService, LineRoutingService, AvoidLineOverlappingService, ConnectorEditingService, LineDistributionService, Ej1SerializationService, FlowchartLayoutService, PaletteDirective, PalettesDirective, SymbolPaletteComponent, SymbolPaletteModule, SymbolPaletteAllModule, OverviewComponent, OverviewModule, OverviewAllModule, inputs as ɵa, outputs$9 as ɵb, inputs$2 as ɵe, outputs$12 as ɵf, inputs$1 as ɵc, outputs$11 as ɵd };
1341
+ export { Diagram, PrintAndExport, Size, Rect, MatrixTypes, Matrix, identityMatrix, transformPointByMatrix, transformPointsByMatrix, rotateMatrix, scaleMatrix, translateMatrix, multiplyMatrix, Point, BlazorAction, FlipDirection, PortVisibility, SnapConstraints, SelectorConstraints, ConnectionPointOrigin, ChildArrangement, ConnectorConstraints, AnnotationConstraints, NodeConstraints, ElementAction, ThumbsConstraints, DiagramConstraints, DiagramTools, Transform, RenderMode, KeyModifiers, Keys, DiagramAction, RendererAction, RealAction, ScrollActions, NoOfSegments, DiagramEvent, PortConstraints, contextMenuClick, contextMenuOpen, contextMenuBeforeItemRender, ControlPointsVisibility, BezierSmoothness, Thickness, Margin, Shadow, Stop, Gradient, DiagramGradient, LinearGradient, RadialGradient, ShapeStyle, StrokeStyle, TextStyle, DiagramShapeStyle, DiagramElement, PathElement, ImageElement, TextElement, GroupableView, Canvas, GridPanel, RowDefinition, ColumnDefinition, GridRow, GridCell, StackPanel, findConnectorPoints, swapBounds, findMargin, findAngle, findPoint, getIntersection, getIntersectionPoints, orthoConnection2Segment, getPortDirection, getOuterBounds, getOppositeDirection, processPathData, parsePathData, getRectanglePath, getPolygonPath, getFreeHandPath, pathSegmentCollection, transformPath, updatedSegment, scalePathData, splitArrayCollection, getPathString, getString, randomId, getIndex, templateCompiler, cornersPointsBeforeRotation, getBounds, cloneObject, getInternalProperties, cloneArray, extendObject, extendArray, textAlignToString, wordBreakToString, bBoxText, middleElement, overFlow, whiteSpaceToString, rotateSize, rotatePoint, getOffset, getFunction, completeRegion, findNodeByName, findObjectType, setSwimLaneDefaults, getSpaceValue, getInterval, setPortsEdges, setUMLActivityDefaults, setConnectorDefaults, findNearestPoint, isDiagramChild, groupHasType, updateDefaultValues, updateLayoutValue, isPointOverConnector, intersect3, intersect2, getLineSegment, getPoints, getTooltipOffset, initFixedUserHandlesSymbol, sort, getAnnotationPosition, getPortsPosition, getOffsetOfPorts, getAlignedPositionForPorts, getOffsetOfConnector, getAlignedPosition, alignLabelOnSegments, getBezierDirection, removeChildNodes, getChild, serialize, deserialize, changeOldFlipDirectionType, upgrade, updateStyle, updateHyperlink, updateShapeContent, updateShape, updateContent, updateUmlActivityNode, getUMLFinalNode, getUMLActivityShapes, removeGradient, removeItem, updateConnector, getUserHandlePosition, canResizeCorner, canShowCorner, canShowControlPoints, checkPortRestriction, findAnnotation, findPort, getInOutConnectPorts, findObjectIndex, findPortIndex, getObjectFromCollection, scaleElement, arrangeChild, sortNodeCollection, insertObject, getElement, getCollectionChangeEventArguements, getDropEventArguements, getPoint, getObjectType, flipConnector, updatePortEdges, alignElement, cloneSelectedObjects, updatePathElement, getPathOffset, checkPort, findPath, getConnectorDirection, findDistance, cloneBlazorObject, checkBrowserInfo, canMeasureDecoratorPath, getPreviewSize, getSymbolSize, findParentInSwimlane, selectionHasConnector, getConnectorArrowType, alignChildBasedOnaPoint, getFlippedPoint, isLabelFlipped, containsBounds, CanvasRenderer, DiagramRenderer, DataBinding, getBasicShape, getPortShape, getDecoratorShape, getSegmentThumbShapeHorizontal, getSegmentThumbShapeVertical, getIconShape, getFlowShape, Hyperlink, Annotation, ShapeAnnotation, PathAnnotation, Port, PointPort, PathPort, menuClass, DiagramContextMenu, Shape, Path, Native, Html, Image, Text, BasicShape, FlowShape, BpmnGateway, BpmnDataObject, BpmnTask, BpmnEvent, BpmnSubEvent, BpmnTransactionSubProcess, BpmnSubProcess, BpmnActivity, BpmnAnnotation, BpmnTextAnnotation, BpmnShape, UmlActivityShape, MethodArguments, UmlClassAttribute, UmlClassMethod, UmlClass, UmlInterface, UmlEnumerationMember, UmlEnumeration, UmlClassifierShape, DiagramShape, Node, Header, Lane, Phase, SwimLane, Container, ChildContainer, Selector, BpmnDiagrams, getBpmnShapePathData, getBpmnTriggerShapePathData, getBpmnGatewayShapePathData, getBpmnTaskShapePathData, getBpmnLoopShapePathData, Decorator, Vector, BezierSettings, ConnectorShape, ActivityFlow, BpmnFlow, ConnectorSegment, StraightSegment, BezierSegment, OrthogonalSegment, DiagramConnectorSegment, getDirection, isEmptyVector, getBezierPoints, getBezierBounds, bezierPoints, MultiplicityLabel, ClassifierMultiplicity, RelationShip, DiagramConnectorShape, Connector, ConnectorBridging, Snapping, UndoRedo, DiagramTooltip, initTooltip, updateTooltip, LayoutAnimation, SymbolSize, SymbolPaletteInfo, FixedUserHandle, NodeFixedUserHandle, ConnectorFixedUserHandle, UserHandle, ToolBase, SelectTool, FixedUserHandleTool, ConnectTool, MoveTool, RotateTool, ResizeTool, NodeDrawingTool, ConnectorDrawingTool, TextDrawingTool, ZoomPanTool, ExpandTool, LabelTool, PolygonDrawingTool, PolyLineDrawingTool, LabelDragTool, LabelResizeTool, LabelRotateTool, FreeHandTool, DiagramEventHandler, CommandHandler, findToolToActivate, findPortToolToActivate, contains, hasSelection, hasSingleConnection, isSelected, getCursor, ConnectorEditing, updateCanvasBounds, removeChildInContainer, findBounds, createHelper, renderContainerHelper, checkParentAsContainer, checkChildNodeInContainer, updateZindex, addChildToContainer, updateLaneBoundsWithSelector, updateLaneBoundsAfterAddChild, renderStackHighlighter, moveChildInStack, LineRouting, AvoidLineOverlapping, LineDistribution, CrudAction, ConnectionDataSource, DataSource, Gridlines, SnapSettings, KeyGesture, Command, CommandManager, ContextMenuSettings, CustomCursorAction, DataMappingItems, UmlSequenceMessageType, UmlSequenceFragmentType, UmlSequenceActivationBox, UmlSequenceParticipant, UmlSequenceMessage, UmlSequenceFragmentCondition, UmlSequenceFragment, UmlSequenceDiagram, FlowchartLayoutSettings, Layout, MindMap, HierarchicalTree, RadialTree, GraphForceNode, SymmetricLayout, GraphLayoutManager, ComplexHierarchicalTree, FlowchartLayout, ConnectorProperties, LabelProperties, Ej1Serialization, NodeProperties, PortProperties, Palette, SymbolDragSize, SymbolPreview, SymbolPalette, Ruler, Overview } from '@syncfusion/ej2-diagrams';
1342
+ //# sourceMappingURL=ej2-angular-diagrams.es5.js.map