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