@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.
Files changed (61) hide show
  1. package/@syncfusion/ej2-angular-diagrams.es5.js +1333 -0
  2. package/@syncfusion/ej2-angular-diagrams.es5.js.map +1 -0
  3. package/@syncfusion/ej2-angular-diagrams.js +1252 -0
  4. package/@syncfusion/ej2-angular-diagrams.js.map +1 -0
  5. package/dist/ej2-angular-diagrams.umd.js +1760 -0
  6. package/dist/ej2-angular-diagrams.umd.js.map +1 -0
  7. package/dist/ej2-angular-diagrams.umd.min.js +11 -0
  8. package/dist/ej2-angular-diagrams.umd.min.js.map +1 -0
  9. package/ej2-angular-diagrams.d.ts +7 -0
  10. package/ej2-angular-diagrams.metadata.json +1 -0
  11. package/license +10 -0
  12. package/package.json +13 -26
  13. package/schematics/utils/lib-details.js +2 -2
  14. package/schematics/utils/lib-details.ts +2 -2
  15. package/src/diagram/connector-annotation.directive.d.ts +0 -5
  16. package/src/diagram/connector-fixeduserhandle.directive.d.ts +0 -5
  17. package/src/diagram/connectors.directive.d.ts +1 -6
  18. package/src/diagram/customcursor.directive.d.ts +0 -5
  19. package/src/diagram/diagram-all.module.d.ts +0 -6
  20. package/src/diagram/diagram.component.d.ts +0 -3
  21. package/src/diagram/diagram.module.d.ts +0 -15
  22. package/src/diagram/layers.directive.d.ts +0 -5
  23. package/src/diagram/node-annotation.directive.d.ts +0 -5
  24. package/src/diagram/node-fixeduserhandle.directive.d.ts +0 -5
  25. package/src/diagram/nodes.directive.d.ts +5 -10
  26. package/src/diagram/ports.directive.d.ts +0 -5
  27. package/src/overview/overview-all.module.d.ts +0 -6
  28. package/src/overview/overview.component.d.ts +0 -3
  29. package/src/overview/overview.module.d.ts +0 -6
  30. package/src/symbol-palette/palettes.directive.d.ts +0 -5
  31. package/src/symbol-palette/symbolpalette-all.module.d.ts +0 -6
  32. package/src/symbol-palette/symbolpalette.component.d.ts +0 -3
  33. package/src/symbol-palette/symbolpalette.module.d.ts +0 -7
  34. package/CHANGELOG.md +0 -2079
  35. package/esm2020/public_api.mjs +0 -2
  36. package/esm2020/src/diagram/connector-annotation.directive.mjs +0 -59
  37. package/esm2020/src/diagram/connector-fixeduserhandle.directive.mjs +0 -59
  38. package/esm2020/src/diagram/connectors.directive.mjs +0 -60
  39. package/esm2020/src/diagram/customcursor.directive.mjs +0 -54
  40. package/esm2020/src/diagram/diagram-all.module.mjs +0 -80
  41. package/esm2020/src/diagram/diagram.component.mjs +0 -224
  42. package/esm2020/src/diagram/diagram.module.mjs +0 -106
  43. package/esm2020/src/diagram/layers.directive.mjs +0 -54
  44. package/esm2020/src/diagram/node-annotation.directive.mjs +0 -59
  45. package/esm2020/src/diagram/node-fixeduserhandle.directive.mjs +0 -59
  46. package/esm2020/src/diagram/nodes.directive.mjs +0 -62
  47. package/esm2020/src/diagram/ports.directive.mjs +0 -59
  48. package/esm2020/src/index.mjs +0 -21
  49. package/esm2020/src/overview/overview-all.module.mjs +0 -23
  50. package/esm2020/src/overview/overview.component.mjs +0 -60
  51. package/esm2020/src/overview/overview.module.mjs +0 -25
  52. package/esm2020/src/symbol-palette/palettes.directive.mjs +0 -52
  53. package/esm2020/src/symbol-palette/symbolpalette-all.module.mjs +0 -23
  54. package/esm2020/src/symbol-palette/symbolpalette.component.mjs +0 -71
  55. package/esm2020/src/symbol-palette/symbolpalette.module.mjs +0 -34
  56. package/esm2020/syncfusion-ej2-angular-diagrams.mjs +0 -5
  57. package/fesm2015/syncfusion-ej2-angular-diagrams.mjs +0 -1143
  58. package/fesm2015/syncfusion-ej2-angular-diagrams.mjs.map +0 -1
  59. package/fesm2020/syncfusion-ej2-angular-diagrams.mjs +0 -1143
  60. package/fesm2020/syncfusion-ej2-angular-diagrams.mjs.map +0 -1
  61. package/syncfusion-ej2-angular-diagrams.d.ts +0 -5
@@ -0,0 +1,1333 @@
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 { 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', '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', '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('DiagramsConnectorEditing');
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('DiagramsLineDistribution');
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('DiagramsEj1Serialization');
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('DiagramsFlowchartLayout');
759
+ if (_this.injectedModules.indexOf(mod) === -1) {
760
+ _this.injectedModules.push(mod);
761
+ }
762
+ }
763
+ catch (_t) { }
764
+ _this.registerEvents(outputs$9);
765
+ _this.addTwoWay.call(_this, twoWays);
766
+ setValue('currentInstance', _this, _this.viewContainerRef);
767
+ _this.context = new ComponentBase();
768
+ return _this;
769
+ }
770
+ /**
771
+ * @return {?}
772
+ */
773
+ DiagramComponent.prototype.ngOnInit = function () {
774
+ this.context.ngOnInit(this);
775
+ };
776
+ /**
777
+ * @return {?}
778
+ */
779
+ DiagramComponent.prototype.ngAfterViewInit = function () {
780
+ this.context.ngAfterViewInit(this);
781
+ };
782
+ /**
783
+ * @return {?}
784
+ */
785
+ DiagramComponent.prototype.ngOnDestroy = function () {
786
+ this.context.ngOnDestroy(this);
787
+ };
788
+ /**
789
+ * @return {?}
790
+ */
791
+ DiagramComponent.prototype.ngAfterContentChecked = function () {
792
+ this.tagObjects[0].instance = this.childLayers;
793
+ if (this.childCustomCursor) {
794
+ this.tagObjects[1].instance = this.childCustomCursor;
795
+ }
796
+ if (this.childConnectors) {
797
+ this.tagObjects[2].instance = this.childConnectors;
798
+ }
799
+ if (this.childNodes) {
800
+ this.tagObjects[3].instance = this.childNodes;
801
+ }
802
+ this.context.ngAfterContentChecked(this);
803
+ };
804
+ return DiagramComponent;
805
+ }(Diagram));
806
+ DiagramComponent.decorators = [
807
+ { type: Component, args: [{
808
+ selector: 'ejs-diagram',
809
+ inputs: inputs,
810
+ outputs: outputs$9,
811
+ template: '',
812
+ changeDetection: ChangeDetectionStrategy.OnPush,
813
+ queries: {
814
+ childLayers: new ContentChild(LayersDirective),
815
+ childCustomCursor: new ContentChild(CustomCursorsDirective),
816
+ childConnectors: new ContentChild(ConnectorsDirective),
817
+ childNodes: new ContentChild(NodesDirective)
818
+ }
819
+ },] },
820
+ ];
821
+ /**
822
+ * @nocollapse
823
+ */
824
+ DiagramComponent.ctorParameters = function () { return [
825
+ { type: ElementRef, },
826
+ { type: Renderer2, },
827
+ { type: ViewContainerRef, },
828
+ { type: Injector, },
829
+ ]; };
830
+ DiagramComponent.propDecorators = {
831
+ 'annotationTemplate': [{ type: ContentChild, args: ['annotationTemplate',] },],
832
+ 'nodeTemplate': [{ type: ContentChild, args: ['nodeTemplate',] },],
833
+ 'userHandleTemplate': [{ type: ContentChild, args: ['userHandleTemplate',] },],
834
+ };
835
+ __decorate([
836
+ Template(),
837
+ __metadata("design:type", Object)
838
+ ], DiagramComponent.prototype, "annotationTemplate", void 0);
839
+ __decorate([
840
+ Template(),
841
+ __metadata("design:type", Object)
842
+ ], DiagramComponent.prototype, "nodeTemplate", void 0);
843
+ __decorate([
844
+ Template(),
845
+ __metadata("design:type", Object)
846
+ ], DiagramComponent.prototype, "userHandleTemplate", void 0);
847
+ DiagramComponent = __decorate([
848
+ ComponentMixins([ComponentBase]),
849
+ __metadata("design:paramtypes", [ElementRef,
850
+ Renderer2,
851
+ ViewContainerRef,
852
+ Injector])
853
+ ], DiagramComponent);
854
+ /**
855
+ * NgModule definition for the Diagram component.
856
+ */
857
+ var DiagramModule = /** @class */ (function () {
858
+ function DiagramModule() {
859
+ }
860
+ return DiagramModule;
861
+ }());
862
+ DiagramModule.decorators = [
863
+ { type: NgModule, args: [{
864
+ imports: [CommonModule],
865
+ declarations: [
866
+ DiagramComponent,
867
+ LayerDirective,
868
+ LayersDirective,
869
+ CustomCursorDirective,
870
+ CustomCursorsDirective,
871
+ ConnectorFixedUserHandleDirective,
872
+ ConnectorFixedUserHandlesDirective,
873
+ ConnectorAnnotationDirective,
874
+ ConnectorAnnotationsDirective,
875
+ ConnectorDirective,
876
+ ConnectorsDirective,
877
+ NodeFixedUserHandleDirective,
878
+ NodeFixedUserHandlesDirective,
879
+ NodeAnnotationDirective,
880
+ NodeAnnotationsDirective,
881
+ PortDirective,
882
+ PortsDirective,
883
+ NodeDirective,
884
+ NodesDirective
885
+ ],
886
+ exports: [
887
+ DiagramComponent,
888
+ LayerDirective,
889
+ LayersDirective,
890
+ CustomCursorDirective,
891
+ CustomCursorsDirective,
892
+ ConnectorFixedUserHandleDirective,
893
+ ConnectorFixedUserHandlesDirective,
894
+ ConnectorAnnotationDirective,
895
+ ConnectorAnnotationsDirective,
896
+ ConnectorDirective,
897
+ ConnectorsDirective,
898
+ NodeFixedUserHandleDirective,
899
+ NodeFixedUserHandlesDirective,
900
+ NodeAnnotationDirective,
901
+ NodeAnnotationsDirective,
902
+ PortDirective,
903
+ PortsDirective,
904
+ NodeDirective,
905
+ NodesDirective
906
+ ]
907
+ },] },
908
+ ];
909
+ /**
910
+ * @nocollapse
911
+ */
912
+ DiagramModule.ctorParameters = function () { return []; };
913
+ var HierarchicalTreeService = { provide: 'DiagramsHierarchicalTree', useValue: HierarchicalTree };
914
+ var MindMapService = { provide: 'DiagramsMindMap', useValue: MindMap };
915
+ var RadialTreeService = { provide: 'DiagramsRadialTree', useValue: RadialTree };
916
+ var ComplexHierarchicalTreeService = { provide: 'DiagramsComplexHierarchicalTree', useValue: ComplexHierarchicalTree };
917
+ var DataBindingService = { provide: 'DiagramsDataBinding', useValue: DataBinding };
918
+ var SnappingService = { provide: 'DiagramsSnapping', useValue: Snapping };
919
+ var PrintAndExportService = { provide: 'DiagramsPrintAndExport', useValue: PrintAndExport };
920
+ var BpmnDiagramsService = { provide: 'DiagramsBpmnDiagrams', useValue: BpmnDiagrams };
921
+ var SymmetricLayoutService = { provide: 'DiagramsSymmetricLayout', useValue: SymmetricLayout };
922
+ var ConnectorBridgingService = { provide: 'DiagramsConnectorBridging', useValue: ConnectorBridging };
923
+ var UndoRedoService = { provide: 'DiagramsUndoRedo', useValue: UndoRedo };
924
+ var LayoutAnimationService = { provide: 'DiagramsLayoutAnimation', useValue: LayoutAnimation };
925
+ var DiagramContextMenuService = { provide: 'DiagramsDiagramContextMenu', useValue: DiagramContextMenu };
926
+ var LineRoutingService = { provide: 'DiagramsLineRouting', useValue: LineRouting };
927
+ var ConnectorEditingService = { provide: 'DiagramsConnectorEditing', useValue: ConnectorEditing };
928
+ var LineDistributionService = { provide: 'DiagramsLineDistribution', useValue: LineDistribution };
929
+ var Ej1SerializationService = { provide: 'DiagramsEj1Serialization', useValue: Ej1Serialization };
930
+ var FlowchartLayoutService = { provide: 'DiagramsFlowchartLayout', useValue: FlowchartLayout };
931
+ /**
932
+ * NgModule definition for the Diagram component with providers.
933
+ */
934
+ var DiagramAllModule = /** @class */ (function () {
935
+ function DiagramAllModule() {
936
+ }
937
+ return DiagramAllModule;
938
+ }());
939
+ DiagramAllModule.decorators = [
940
+ { type: NgModule, args: [{
941
+ imports: [CommonModule, DiagramModule],
942
+ exports: [
943
+ DiagramModule
944
+ ],
945
+ providers: [
946
+ HierarchicalTreeService,
947
+ MindMapService,
948
+ RadialTreeService,
949
+ ComplexHierarchicalTreeService,
950
+ DataBindingService,
951
+ SnappingService,
952
+ PrintAndExportService,
953
+ BpmnDiagramsService,
954
+ SymmetricLayoutService,
955
+ ConnectorBridgingService,
956
+ UndoRedoService,
957
+ LayoutAnimationService,
958
+ DiagramContextMenuService,
959
+ LineRoutingService,
960
+ ConnectorEditingService,
961
+ LineDistributionService,
962
+ Ej1SerializationService,
963
+ FlowchartLayoutService
964
+ ]
965
+ },] },
966
+ ];
967
+ /**
968
+ * @nocollapse
969
+ */
970
+ DiagramAllModule.ctorParameters = function () { return []; };
971
+ var input$9 = ['expanded', 'height', 'iconCss', 'id', 'symbols', 'title'];
972
+ var outputs$10 = [];
973
+ /**
974
+ * Palette Directive
975
+ * ```html
976
+ * <e-palettes><e-palette></e-palette><e-palettes>
977
+ * ```
978
+ */
979
+ var PaletteDirective = /** @class */ (function (_super) {
980
+ __extends(PaletteDirective, _super);
981
+ /**
982
+ * @param {?} viewContainerRef
983
+ */
984
+ function PaletteDirective(viewContainerRef) {
985
+ var _this = _super.call(this) || this;
986
+ _this.viewContainerRef = viewContainerRef;
987
+ setValue('currentInstance', _this, _this.viewContainerRef);
988
+ _this.registerEvents(outputs$10);
989
+ _this.directivePropList = input$9;
990
+ return _this;
991
+ }
992
+ return PaletteDirective;
993
+ }(ComplexBase));
994
+ PaletteDirective.decorators = [
995
+ { type: Directive, args: [{
996
+ selector: 'e-palettes>e-palette',
997
+ inputs: input$9,
998
+ outputs: outputs$10,
999
+ queries: {}
1000
+ },] },
1001
+ ];
1002
+ /**
1003
+ * @nocollapse
1004
+ */
1005
+ PaletteDirective.ctorParameters = function () { return [
1006
+ { type: ViewContainerRef, },
1007
+ ]; };
1008
+ /**
1009
+ * Palette Array Directive
1010
+ */
1011
+ var PalettesDirective = /** @class */ (function (_super) {
1012
+ __extends(PalettesDirective, _super);
1013
+ function PalettesDirective() {
1014
+ return _super.call(this, 'palettes') || this;
1015
+ }
1016
+ return PalettesDirective;
1017
+ }(ArrayBase));
1018
+ PalettesDirective.decorators = [
1019
+ { type: Directive, args: [{
1020
+ selector: 'ejs-symbolpalette>e-palettes',
1021
+ queries: {
1022
+ children: new ContentChildren(PaletteDirective)
1023
+ },
1024
+ },] },
1025
+ ];
1026
+ /**
1027
+ * @nocollapse
1028
+ */
1029
+ PalettesDirective.ctorParameters = function () { return []; };
1030
+ var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
1031
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1032
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
1033
+ r = Reflect.decorate(decorators, target, key, desc);
1034
+ else
1035
+ for (var i = decorators.length - 1; i >= 0; i--)
1036
+ if (d = decorators[i])
1037
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1038
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
1039
+ };
1040
+ var __metadata$1 = (this && this.__metadata) || function (k, v) {
1041
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
1042
+ return Reflect.metadata(k, v);
1043
+ };
1044
+ 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'];
1045
+ var outputs$11 = ['paletteExpanding', 'paletteSelectionChange'];
1046
+ var twoWays$1 = [''];
1047
+ /**
1048
+ * SymbolPalette Component
1049
+ * ```html
1050
+ * <ej-symbol-palette></ej-symbol-palette>
1051
+ * ```
1052
+ */
1053
+ var SymbolPaletteComponent = /** @class */ (function (_super) {
1054
+ __extends(SymbolPaletteComponent, _super);
1055
+ /**
1056
+ * @param {?} ngEle
1057
+ * @param {?} srenderer
1058
+ * @param {?} viewContainerRef
1059
+ * @param {?} injector
1060
+ */
1061
+ function SymbolPaletteComponent(ngEle, srenderer, viewContainerRef, injector) {
1062
+ var _this = _super.call(this) || this;
1063
+ _this.ngEle = ngEle;
1064
+ _this.srenderer = srenderer;
1065
+ _this.viewContainerRef = viewContainerRef;
1066
+ _this.injector = injector;
1067
+ _this.tags = ['palettes'];
1068
+ _this.element = _this.ngEle.nativeElement;
1069
+ _this.injectedModules = _this.injectedModules || [];
1070
+ try {
1071
+ var mod = _this.injector.get('DiagramsBpmnDiagrams');
1072
+ if (_this.injectedModules.indexOf(mod) === -1) {
1073
+ _this.injectedModules.push(mod);
1074
+ }
1075
+ }
1076
+ catch (_a) { }
1077
+ _this.registerEvents(outputs$11);
1078
+ _this.addTwoWay.call(_this, twoWays$1);
1079
+ setValue('currentInstance', _this, _this.viewContainerRef);
1080
+ _this.context = new ComponentBase();
1081
+ return _this;
1082
+ }
1083
+ /**
1084
+ * @return {?}
1085
+ */
1086
+ SymbolPaletteComponent.prototype.ngOnInit = function () {
1087
+ this.context.ngOnInit(this);
1088
+ };
1089
+ /**
1090
+ * @return {?}
1091
+ */
1092
+ SymbolPaletteComponent.prototype.ngAfterViewInit = function () {
1093
+ this.context.ngAfterViewInit(this);
1094
+ };
1095
+ /**
1096
+ * @return {?}
1097
+ */
1098
+ SymbolPaletteComponent.prototype.ngOnDestroy = function () {
1099
+ this.context.ngOnDestroy(this);
1100
+ };
1101
+ /**
1102
+ * @return {?}
1103
+ */
1104
+ SymbolPaletteComponent.prototype.ngAfterContentChecked = function () {
1105
+ this.tagObjects[0].instance = this.childPalettes;
1106
+ this.context.ngAfterContentChecked(this);
1107
+ };
1108
+ return SymbolPaletteComponent;
1109
+ }(SymbolPalette));
1110
+ SymbolPaletteComponent.decorators = [
1111
+ { type: Component, args: [{
1112
+ selector: 'ejs-symbolpalette',
1113
+ inputs: inputs$1,
1114
+ outputs: outputs$11,
1115
+ template: '',
1116
+ changeDetection: ChangeDetectionStrategy.OnPush,
1117
+ queries: {
1118
+ childPalettes: new ContentChild(PalettesDirective)
1119
+ }
1120
+ },] },
1121
+ ];
1122
+ /**
1123
+ * @nocollapse
1124
+ */
1125
+ SymbolPaletteComponent.ctorParameters = function () { return [
1126
+ { type: ElementRef, },
1127
+ { type: Renderer2, },
1128
+ { type: ViewContainerRef, },
1129
+ { type: Injector, },
1130
+ ]; };
1131
+ SymbolPaletteComponent = __decorate$1([
1132
+ ComponentMixins([ComponentBase]),
1133
+ __metadata$1("design:paramtypes", [ElementRef,
1134
+ Renderer2,
1135
+ ViewContainerRef,
1136
+ Injector])
1137
+ ], SymbolPaletteComponent);
1138
+ /**
1139
+ * NgModule definition for the SymbolPalette component.
1140
+ */
1141
+ var SymbolPaletteModule = /** @class */ (function () {
1142
+ function SymbolPaletteModule() {
1143
+ }
1144
+ return SymbolPaletteModule;
1145
+ }());
1146
+ SymbolPaletteModule.decorators = [
1147
+ { type: NgModule, args: [{
1148
+ imports: [CommonModule],
1149
+ declarations: [
1150
+ SymbolPaletteComponent,
1151
+ PaletteDirective,
1152
+ PalettesDirective
1153
+ ],
1154
+ exports: [
1155
+ SymbolPaletteComponent,
1156
+ PaletteDirective,
1157
+ PalettesDirective
1158
+ ]
1159
+ },] },
1160
+ ];
1161
+ /**
1162
+ * @nocollapse
1163
+ */
1164
+ SymbolPaletteModule.ctorParameters = function () { return []; };
1165
+ /**
1166
+ * NgModule definition for the SymbolPalette component with providers.
1167
+ */
1168
+ var SymbolPaletteAllModule = /** @class */ (function () {
1169
+ function SymbolPaletteAllModule() {
1170
+ }
1171
+ return SymbolPaletteAllModule;
1172
+ }());
1173
+ SymbolPaletteAllModule.decorators = [
1174
+ { type: NgModule, args: [{
1175
+ imports: [CommonModule, SymbolPaletteModule],
1176
+ exports: [
1177
+ SymbolPaletteModule
1178
+ ],
1179
+ providers: []
1180
+ },] },
1181
+ ];
1182
+ /**
1183
+ * @nocollapse
1184
+ */
1185
+ SymbolPaletteAllModule.ctorParameters = function () { return []; };
1186
+ var __decorate$2 = (this && this.__decorate) || function (decorators, target, key, desc) {
1187
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1188
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
1189
+ r = Reflect.decorate(decorators, target, key, desc);
1190
+ else
1191
+ for (var i = decorators.length - 1; i >= 0; i--)
1192
+ if (d = decorators[i])
1193
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1194
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
1195
+ };
1196
+ var __metadata$2 = (this && this.__metadata) || function (k, v) {
1197
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
1198
+ return Reflect.metadata(k, v);
1199
+ };
1200
+ var inputs$2 = ['enablePersistence', 'enableRtl', 'height', 'locale', 'sourceID', 'width'];
1201
+ var outputs$12 = ['created'];
1202
+ var twoWays$2 = [''];
1203
+ /**
1204
+ * Overview Component
1205
+ * ```html
1206
+ * <ej-overview></ej-overview>
1207
+ * ```
1208
+ */
1209
+ var OverviewComponent = /** @class */ (function (_super) {
1210
+ __extends(OverviewComponent, _super);
1211
+ /**
1212
+ * @param {?} ngEle
1213
+ * @param {?} srenderer
1214
+ * @param {?} viewContainerRef
1215
+ * @param {?} injector
1216
+ */
1217
+ function OverviewComponent(ngEle, srenderer, viewContainerRef, injector) {
1218
+ var _this = _super.call(this) || this;
1219
+ _this.ngEle = ngEle;
1220
+ _this.srenderer = srenderer;
1221
+ _this.viewContainerRef = viewContainerRef;
1222
+ _this.injector = injector;
1223
+ _this.tags = [''];
1224
+ _this.element = _this.ngEle.nativeElement;
1225
+ _this.injectedModules = _this.injectedModules || [];
1226
+ _this.registerEvents(outputs$12);
1227
+ _this.addTwoWay.call(_this, twoWays$2);
1228
+ setValue('currentInstance', _this, _this.viewContainerRef);
1229
+ _this.context = new ComponentBase();
1230
+ return _this;
1231
+ }
1232
+ /**
1233
+ * @return {?}
1234
+ */
1235
+ OverviewComponent.prototype.ngOnInit = function () {
1236
+ this.context.ngOnInit(this);
1237
+ };
1238
+ /**
1239
+ * @return {?}
1240
+ */
1241
+ OverviewComponent.prototype.ngAfterViewInit = function () {
1242
+ this.context.ngAfterViewInit(this);
1243
+ };
1244
+ /**
1245
+ * @return {?}
1246
+ */
1247
+ OverviewComponent.prototype.ngOnDestroy = function () {
1248
+ this.context.ngOnDestroy(this);
1249
+ };
1250
+ /**
1251
+ * @return {?}
1252
+ */
1253
+ OverviewComponent.prototype.ngAfterContentChecked = function () {
1254
+ this.context.ngAfterContentChecked(this);
1255
+ };
1256
+ return OverviewComponent;
1257
+ }(Overview));
1258
+ OverviewComponent.decorators = [
1259
+ { type: Component, args: [{
1260
+ selector: 'ejs-overview',
1261
+ inputs: inputs$2,
1262
+ outputs: outputs$12,
1263
+ template: '',
1264
+ changeDetection: ChangeDetectionStrategy.OnPush,
1265
+ queries: {}
1266
+ },] },
1267
+ ];
1268
+ /**
1269
+ * @nocollapse
1270
+ */
1271
+ OverviewComponent.ctorParameters = function () { return [
1272
+ { type: ElementRef, },
1273
+ { type: Renderer2, },
1274
+ { type: ViewContainerRef, },
1275
+ { type: Injector, },
1276
+ ]; };
1277
+ OverviewComponent = __decorate$2([
1278
+ ComponentMixins([ComponentBase]),
1279
+ __metadata$2("design:paramtypes", [ElementRef,
1280
+ Renderer2,
1281
+ ViewContainerRef,
1282
+ Injector])
1283
+ ], OverviewComponent);
1284
+ /**
1285
+ * NgModule definition for the Overview component.
1286
+ */
1287
+ var OverviewModule = /** @class */ (function () {
1288
+ function OverviewModule() {
1289
+ }
1290
+ return OverviewModule;
1291
+ }());
1292
+ OverviewModule.decorators = [
1293
+ { type: NgModule, args: [{
1294
+ imports: [CommonModule],
1295
+ declarations: [
1296
+ OverviewComponent
1297
+ ],
1298
+ exports: [
1299
+ OverviewComponent
1300
+ ]
1301
+ },] },
1302
+ ];
1303
+ /**
1304
+ * @nocollapse
1305
+ */
1306
+ OverviewModule.ctorParameters = function () { return []; };
1307
+ /**
1308
+ * NgModule definition for the Overview component with providers.
1309
+ */
1310
+ var OverviewAllModule = /** @class */ (function () {
1311
+ function OverviewAllModule() {
1312
+ }
1313
+ return OverviewAllModule;
1314
+ }());
1315
+ OverviewAllModule.decorators = [
1316
+ { type: NgModule, args: [{
1317
+ imports: [CommonModule, OverviewModule],
1318
+ exports: [
1319
+ OverviewModule
1320
+ ],
1321
+ providers: []
1322
+ },] },
1323
+ ];
1324
+ /**
1325
+ * @nocollapse
1326
+ */
1327
+ OverviewAllModule.ctorParameters = function () { return []; };
1328
+ /**
1329
+ * Generated bundle index. Do not edit.
1330
+ */
1331
+ 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, 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 };
1332
+ 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, Container, 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, insertObject, getElement, getCollectionChangeEventArguements, getDropEventArguements, getPoint, getObjectType, flipConnector, updatePortEdges, alignElement, cloneSelectedObjects, updatePathElement, getPathOffset, checkPort, findPath, getConnectorDirection, findDistance, cloneBlazorObject, checkBrowserInfo, canMeasureDecoratorPath, getPreviewSize, getSymbolSize, findParentInSwimlane, selectionHasConnector, getConnectorArrowType, 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, 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, LineDistribution, CrudAction, ConnectionDataSource, DataSource, Gridlines, SnapSettings, KeyGesture, Command, CommandManager, ContextMenuSettings, CustomCursorAction, DataMappingItems, 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';
1333
+ //# sourceMappingURL=ej2-angular-diagrams.es5.js.map