@syncfusion/ej2-angular-diagrams 20.2.38-ngcc → 20.2.39

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 (203) hide show
  1. package/esm2020/public_api.mjs +3 -0
  2. package/esm2020/src/diagram/connector-annotation.directive.mjs +59 -0
  3. package/esm2020/src/diagram/connector-fixeduserhandle.directive.mjs +59 -0
  4. package/esm2020/src/diagram/connectors.directive.mjs +60 -0
  5. package/esm2020/src/diagram/customcursor.directive.mjs +54 -0
  6. package/esm2020/src/diagram/diagram-all.module.mjs +77 -0
  7. package/esm2020/src/diagram/diagram.component.mjs +217 -0
  8. package/esm2020/src/diagram/diagram.module.mjs +106 -0
  9. package/esm2020/src/diagram/layers.directive.mjs +54 -0
  10. package/esm2020/src/diagram/node-annotation.directive.mjs +59 -0
  11. package/esm2020/src/diagram/node-fixeduserhandle.directive.mjs +59 -0
  12. package/esm2020/src/diagram/nodes.directive.mjs +62 -0
  13. package/esm2020/src/diagram/ports.directive.mjs +59 -0
  14. package/esm2020/src/index.mjs +21 -0
  15. package/esm2020/src/overview/overview-all.module.mjs +23 -0
  16. package/esm2020/src/overview/overview.component.mjs +60 -0
  17. package/esm2020/src/overview/overview.module.mjs +25 -0
  18. package/esm2020/src/symbol-palette/palettes.directive.mjs +52 -0
  19. package/esm2020/src/symbol-palette/symbolpalette-all.module.mjs +23 -0
  20. package/esm2020/src/symbol-palette/symbolpalette.component.mjs +71 -0
  21. package/esm2020/src/symbol-palette/symbolpalette.module.mjs +34 -0
  22. package/esm2020/syncfusion-ej2-angular-diagrams.mjs +5 -0
  23. package/fesm2015/syncfusion-ej2-angular-diagrams.mjs +1135 -0
  24. package/fesm2015/syncfusion-ej2-angular-diagrams.mjs.map +1 -0
  25. package/fesm2020/syncfusion-ej2-angular-diagrams.mjs +1135 -0
  26. package/fesm2020/syncfusion-ej2-angular-diagrams.mjs.map +1 -0
  27. package/package.json +27 -13
  28. package/schematics/utils/lib-details.ts +2 -2
  29. package/src/diagram/connector-annotation.directive.d.ts +5 -0
  30. package/src/diagram/connector-fixeduserhandle.directive.d.ts +5 -0
  31. package/src/diagram/connectors.directive.d.ts +6 -16
  32. package/src/diagram/customcursor.directive.d.ts +5 -0
  33. package/src/diagram/diagram-all.module.d.ts +6 -0
  34. package/src/diagram/diagram.component.d.ts +3 -0
  35. package/src/diagram/diagram.module.d.ts +15 -0
  36. package/src/diagram/layers.directive.d.ts +5 -0
  37. package/src/diagram/node-annotation.directive.d.ts +5 -0
  38. package/src/diagram/node-fixeduserhandle.directive.d.ts +5 -0
  39. package/src/diagram/nodes.directive.d.ts +10 -5
  40. package/src/diagram/ports.directive.d.ts +5 -0
  41. package/src/overview/overview-all.module.d.ts +6 -0
  42. package/src/overview/overview.component.d.ts +3 -0
  43. package/src/overview/overview.module.d.ts +6 -0
  44. package/src/symbol-palette/palettes.directive.d.ts +5 -0
  45. package/src/symbol-palette/symbolpalette-all.module.d.ts +6 -0
  46. package/src/symbol-palette/symbolpalette.component.d.ts +3 -0
  47. package/src/symbol-palette/symbolpalette.module.d.ts +7 -0
  48. package/styles/bootstrap-dark.css +6 -1
  49. package/styles/bootstrap.css +6 -1
  50. package/styles/bootstrap4.css +6 -1
  51. package/styles/bootstrap5-dark.css +7 -1
  52. package/styles/bootstrap5.css +7 -1
  53. package/styles/diagram/_all.scss +1 -0
  54. package/styles/diagram/_bootstrap-dark-definition.scss +104 -0
  55. package/styles/diagram/_bootstrap-definition.scss +104 -0
  56. package/styles/diagram/_bootstrap4-definition.scss +98 -0
  57. package/styles/diagram/_bootstrap5-dark-definition.scss +1 -0
  58. package/styles/diagram/_bootstrap5-definition.scss +103 -0
  59. package/styles/diagram/_definition.scss +77 -0
  60. package/styles/diagram/_fabric-dark-definition.scss +96 -0
  61. package/styles/diagram/_fabric-definition.scss +96 -0
  62. package/styles/diagram/_fluent-dark-definition.scss +1 -0
  63. package/styles/diagram/_fluent-definition.scss +103 -0
  64. package/styles/diagram/_fusionnew-definition.scss +103 -0
  65. package/styles/diagram/_highcontrast-definition.scss +106 -0
  66. package/styles/diagram/_highcontrast-light-definition.scss +105 -0
  67. package/styles/diagram/_material-dark-definition.scss +96 -0
  68. package/styles/diagram/_material-definition.scss +96 -0
  69. package/styles/diagram/_material3-definition.scss +103 -0
  70. package/styles/diagram/_tailwind-dark-definition.scss +1 -0
  71. package/styles/diagram/_tailwind-definition.scss +103 -0
  72. package/styles/diagram/_theme.scss +201 -0
  73. package/styles/diagram/bootstrap-dark.css +6 -1
  74. package/styles/diagram/bootstrap-dark.scss +3 -1
  75. package/styles/diagram/bootstrap.css +6 -1
  76. package/styles/diagram/bootstrap.scss +3 -1
  77. package/styles/diagram/bootstrap4.css +6 -1
  78. package/styles/diagram/bootstrap4.scss +3 -1
  79. package/styles/diagram/bootstrap5-dark.css +7 -1
  80. package/styles/diagram/bootstrap5-dark.scss +3 -1
  81. package/styles/diagram/bootstrap5.css +7 -1
  82. package/styles/diagram/bootstrap5.scss +3 -1
  83. package/styles/diagram/fabric-dark.css +6 -1
  84. package/styles/diagram/fabric-dark.scss +3 -1
  85. package/styles/diagram/fabric.css +6 -1
  86. package/styles/diagram/fabric.scss +3 -1
  87. package/styles/diagram/fluent-dark.css +7 -1
  88. package/styles/diagram/fluent-dark.scss +3 -1
  89. package/styles/diagram/fluent.css +7 -1
  90. package/styles/diagram/fluent.scss +3 -1
  91. package/styles/diagram/highcontrast-light.css +6 -1
  92. package/styles/diagram/highcontrast-light.scss +3 -1
  93. package/styles/diagram/highcontrast.css +7 -1
  94. package/styles/diagram/highcontrast.scss +3 -1
  95. package/styles/diagram/material-dark.css +6 -1
  96. package/styles/diagram/material-dark.scss +3 -1
  97. package/styles/diagram/material.css +6 -1
  98. package/styles/diagram/material.scss +3 -1
  99. package/styles/diagram/tailwind-dark.css +7 -1
  100. package/styles/diagram/tailwind-dark.scss +3 -1
  101. package/styles/diagram/tailwind.css +7 -1
  102. package/styles/diagram/tailwind.scss +3 -1
  103. package/styles/fabric-dark.css +6 -1
  104. package/styles/fabric.css +6 -1
  105. package/styles/fluent-dark.css +7 -1
  106. package/styles/fluent.css +7 -1
  107. package/styles/highcontrast-light.css +6 -1
  108. package/styles/highcontrast.css +7 -1
  109. package/styles/material-dark.css +6 -1
  110. package/styles/material.css +6 -1
  111. package/styles/tailwind-dark.css +7 -1
  112. package/styles/tailwind.css +7 -1
  113. package/syncfusion-ej2-angular-diagrams.d.ts +5 -0
  114. package/@syncfusion/ej2-angular-diagrams.es5.js +0 -1324
  115. package/@syncfusion/ej2-angular-diagrams.es5.js.map +0 -1
  116. package/@syncfusion/ej2-angular-diagrams.js +0 -1243
  117. package/@syncfusion/ej2-angular-diagrams.js.map +0 -1
  118. package/CHANGELOG.md +0 -1767
  119. package/dist/ej2-angular-diagrams.umd.js +0 -1731
  120. package/dist/ej2-angular-diagrams.umd.js.map +0 -1
  121. package/dist/ej2-angular-diagrams.umd.min.js +0 -11
  122. package/dist/ej2-angular-diagrams.umd.min.js.map +0 -1
  123. package/ej2-angular-diagrams.d.ts +0 -7
  124. package/ej2-angular-diagrams.metadata.json +0 -1
  125. package/postinstall/tagchange.js +0 -18
  126. package/schematics/collection.json +0 -35
  127. package/schematics/generators/diagram-default-functionalities/index.d.ts +0 -3
  128. package/schematics/generators/diagram-default-functionalities/index.js +0 -8
  129. package/schematics/generators/diagram-default-functionalities/sample-details.d.ts +0 -5
  130. package/schematics/generators/diagram-default-functionalities/sample-details.js +0 -7
  131. package/schematics/generators/diagram-default-functionalities/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
  132. package/schematics/generators/diagram-default-functionalities/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -125
  133. package/schematics/generators/diagram-default-functionalities/schema.d.ts +0 -3
  134. package/schematics/generators/diagram-default-functionalities/schema.js +0 -2
  135. package/schematics/generators/diagram-default-functionalities/schema.json +0 -125
  136. package/schematics/generators/diagram-hierarchical-tree/index.d.ts +0 -3
  137. package/schematics/generators/diagram-hierarchical-tree/index.js +0 -8
  138. package/schematics/generators/diagram-hierarchical-tree/sample-details.d.ts +0 -5
  139. package/schematics/generators/diagram-hierarchical-tree/sample-details.js +0 -7
  140. package/schematics/generators/diagram-hierarchical-tree/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
  141. package/schematics/generators/diagram-hierarchical-tree/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -13
  142. package/schematics/generators/diagram-hierarchical-tree/schema.d.ts +0 -3
  143. package/schematics/generators/diagram-hierarchical-tree/schema.js +0 -2
  144. package/schematics/generators/diagram-hierarchical-tree/schema.json +0 -125
  145. package/schematics/generators/diagram-organization-chart/index.d.ts +0 -3
  146. package/schematics/generators/diagram-organization-chart/index.js +0 -8
  147. package/schematics/generators/diagram-organization-chart/sample-details.d.ts +0 -5
  148. package/schematics/generators/diagram-organization-chart/sample-details.js +0 -7
  149. package/schematics/generators/diagram-organization-chart/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
  150. package/schematics/generators/diagram-organization-chart/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -66
  151. package/schematics/generators/diagram-organization-chart/schema.d.ts +0 -3
  152. package/schematics/generators/diagram-organization-chart/schema.js +0 -2
  153. package/schematics/generators/diagram-organization-chart/schema.json +0 -125
  154. package/schematics/generators/diagram-overview/images/__path__/__name@dasherize__/Clayton.png +0 -0
  155. package/schematics/generators/diagram-overview/images/__path__/__name@dasherize__/Jenny.png +0 -0
  156. package/schematics/generators/diagram-overview/images/__path__/__name@dasherize__/John.png +0 -0
  157. package/schematics/generators/diagram-overview/images/__path__/__name@dasherize__/Maria.png +0 -0
  158. package/schematics/generators/diagram-overview/images/__path__/__name@dasherize__/Paul.png +0 -0
  159. package/schematics/generators/diagram-overview/images/__path__/__name@dasherize__/Robin.png +0 -0
  160. package/schematics/generators/diagram-overview/images/__path__/__name@dasherize__/Thomas.png +0 -0
  161. package/schematics/generators/diagram-overview/images/__path__/__name@dasherize__/eric.png +0 -0
  162. package/schematics/generators/diagram-overview/images/__path__/__name@dasherize__/female.png +0 -0
  163. package/schematics/generators/diagram-overview/images/__path__/__name@dasherize__/image12.png +0 -0
  164. package/schematics/generators/diagram-overview/images/__path__/__name@dasherize__/image2.png +0 -0
  165. package/schematics/generators/diagram-overview/images/__path__/__name@dasherize__/image3.png +0 -0
  166. package/schematics/generators/diagram-overview/images/__path__/__name@dasherize__/image50.png +0 -0
  167. package/schematics/generators/diagram-overview/images/__path__/__name@dasherize__/image51.png +0 -0
  168. package/schematics/generators/diagram-overview/images/__path__/__name@dasherize__/image53.png +0 -0
  169. package/schematics/generators/diagram-overview/images/__path__/__name@dasherize__/image54.png +0 -0
  170. package/schematics/generators/diagram-overview/images/__path__/__name@dasherize__/image55.png +0 -0
  171. package/schematics/generators/diagram-overview/images/__path__/__name@dasherize__/image56.png +0 -0
  172. package/schematics/generators/diagram-overview/images/__path__/__name@dasherize__/image57.png +0 -0
  173. package/schematics/generators/diagram-overview/images/__path__/__name@dasherize__/images7.png +0 -0
  174. package/schematics/generators/diagram-overview/images/__path__/__name@dasherize__/images9.png +0 -0
  175. package/schematics/generators/diagram-overview/images/__path__/__name@dasherize__/male.png +0 -0
  176. package/schematics/generators/diagram-overview/images/__path__/__name@dasherize__/moreinfo.png +0 -0
  177. package/schematics/generators/diagram-overview/images/__path__/__name@dasherize__/smith.png +0 -0
  178. package/schematics/generators/diagram-overview/index.d.ts +0 -3
  179. package/schematics/generators/diagram-overview/index.js +0 -8
  180. package/schematics/generators/diagram-overview/sample-details.d.ts +0 -5
  181. package/schematics/generators/diagram-overview/sample-details.js +0 -7
  182. package/schematics/generators/diagram-overview/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
  183. package/schematics/generators/diagram-overview/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -19
  184. package/schematics/generators/diagram-overview/schema.d.ts +0 -3
  185. package/schematics/generators/diagram-overview/schema.js +0 -2
  186. package/schematics/generators/diagram-overview/schema.json +0 -125
  187. package/schematics/generators/diagram-radial-tree/index.d.ts +0 -3
  188. package/schematics/generators/diagram-radial-tree/index.js +0 -8
  189. package/schematics/generators/diagram-radial-tree/sample-details.d.ts +0 -5
  190. package/schematics/generators/diagram-radial-tree/sample-details.js +0 -7
  191. package/schematics/generators/diagram-radial-tree/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
  192. package/schematics/generators/diagram-radial-tree/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -7
  193. package/schematics/generators/diagram-radial-tree/schema.d.ts +0 -3
  194. package/schematics/generators/diagram-radial-tree/schema.js +0 -2
  195. package/schematics/generators/diagram-radial-tree/schema.json +0 -125
  196. package/schematics/ng-add/index.d.ts +0 -3
  197. package/schematics/ng-add/index.js +0 -9
  198. package/schematics/ng-add/schema.d.ts +0 -13
  199. package/schematics/ng-add/schema.js +0 -2
  200. package/schematics/ng-add/schema.json +0 -34
  201. package/schematics/tsconfig.json +0 -25
  202. package/schematics/utils/lib-details.d.ts +0 -4
  203. package/schematics/utils/lib-details.js +0 -6
@@ -1,1243 +0,0 @@
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 { BlazorTooltip, BpmnDiagrams, ComplexHierarchicalTree, ConnectorBridging, ConnectorEditing, DataBinding, Diagram, DiagramContextMenu, 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', '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', 'segmentAngle', 'style', 'template', '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', 'annotations', 'bezierSettings', 'bridgeSpace', 'connectionPadding', 'connectorSpacing', 'constraints', 'cornerRadius', 'dragSize', 'excludeFromLayout', 'fixedUserHandles', 'flip', 'flipMode', 'hitPadding', 'id', 'margin', 'maxSegmentThumb', 'previewSize', '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', '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', 'style', 'template', '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', 'constraints', 'height', 'horizontalAlignment', 'id', 'inEdges', 'margin', 'offset', 'outEdges', 'pathData', 'shape', 'style', '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', 'getConnectorDefaults', 'getCustomCursor', 'getCustomProperty', 'getCustomTool', 'getDescription', 'getNodeDefaults', 'height', 'historyManager', 'layers', 'layout', 'locale', 'mode', 'nodeDefaults', 'nodeTemplate', 'nodes', 'pageSettings', 'rulerSettings', 'scrollSettings', 'segmentThumbShape', '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', 'expandStateChange', 'fixedUserHandleClick', 'historyChange', 'historyStateChange', 'keyDown', 'keyUp', 'mouseEnter', 'mouseLeave', 'mouseOver', 'onImageLoad', 'onUserHandleMouseDown', 'onUserHandleMouseEnter', 'onUserHandleMouseLeave', 'onUserHandleMouseUp', 'positionChange', 'propertyChange', 'rotateChange', 'scrollChange', '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('DiagramsBlazorTooltip');
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('DiagramsLineDistribution');
701
- if (this.injectedModules.indexOf(mod) === -1) {
702
- this.injectedModules.push(mod);
703
- }
704
- }
705
- catch (_s) { }
706
- this.registerEvents(outputs$9);
707
- this.addTwoWay.call(this, twoWays);
708
- setValue('currentInstance', this, this.viewContainerRef);
709
- this.context = new ComponentBase();
710
- }
711
- /**
712
- * @return {?}
713
- */
714
- ngOnInit() {
715
- this.context.ngOnInit(this);
716
- }
717
- /**
718
- * @return {?}
719
- */
720
- ngAfterViewInit() {
721
- this.context.ngAfterViewInit(this);
722
- }
723
- /**
724
- * @return {?}
725
- */
726
- ngOnDestroy() {
727
- this.context.ngOnDestroy(this);
728
- }
729
- /**
730
- * @return {?}
731
- */
732
- ngAfterContentChecked() {
733
- this.tagObjects[0].instance = this.childLayers;
734
- if (this.childCustomCursor) {
735
- this.tagObjects[1].instance = this.childCustomCursor;
736
- }
737
- if (this.childConnectors) {
738
- this.tagObjects[2].instance = this.childConnectors;
739
- }
740
- if (this.childNodes) {
741
- this.tagObjects[3].instance = this.childNodes;
742
- }
743
- this.context.ngAfterContentChecked(this);
744
- }
745
- };
746
- DiagramComponent.decorators = [
747
- { type: Component, args: [{
748
- selector: 'ejs-diagram',
749
- inputs: inputs,
750
- outputs: outputs$9,
751
- template: '',
752
- changeDetection: ChangeDetectionStrategy.OnPush,
753
- queries: {
754
- childLayers: new ContentChild(LayersDirective),
755
- childCustomCursor: new ContentChild(CustomCursorsDirective),
756
- childConnectors: new ContentChild(ConnectorsDirective),
757
- childNodes: new ContentChild(NodesDirective)
758
- }
759
- },] },
760
- ];
761
- /**
762
- * @nocollapse
763
- */
764
- DiagramComponent.ctorParameters = () => [
765
- { type: ElementRef, },
766
- { type: Renderer2, },
767
- { type: ViewContainerRef, },
768
- { type: Injector, },
769
- ];
770
- DiagramComponent.propDecorators = {
771
- 'annotationTemplate': [{ type: ContentChild, args: ['annotationTemplate',] },],
772
- 'nodeTemplate': [{ type: ContentChild, args: ['nodeTemplate',] },],
773
- 'userHandleTemplate': [{ type: ContentChild, args: ['userHandleTemplate',] },],
774
- };
775
- __decorate([
776
- Template(),
777
- __metadata("design:type", Object)
778
- ], DiagramComponent.prototype, "annotationTemplate", void 0);
779
- __decorate([
780
- Template(),
781
- __metadata("design:type", Object)
782
- ], DiagramComponent.prototype, "nodeTemplate", void 0);
783
- __decorate([
784
- Template(),
785
- __metadata("design:type", Object)
786
- ], DiagramComponent.prototype, "userHandleTemplate", void 0);
787
- DiagramComponent = __decorate([
788
- ComponentMixins([ComponentBase]),
789
- __metadata("design:paramtypes", [ElementRef,
790
- Renderer2,
791
- ViewContainerRef,
792
- Injector])
793
- ], DiagramComponent);
794
-
795
- /**
796
- * NgModule definition for the Diagram component.
797
- */
798
- class DiagramModule {
799
- }
800
- DiagramModule.decorators = [
801
- { type: NgModule, args: [{
802
- imports: [CommonModule],
803
- declarations: [
804
- DiagramComponent,
805
- LayerDirective,
806
- LayersDirective,
807
- CustomCursorDirective,
808
- CustomCursorsDirective,
809
- ConnectorFixedUserHandleDirective,
810
- ConnectorFixedUserHandlesDirective,
811
- ConnectorAnnotationDirective,
812
- ConnectorAnnotationsDirective,
813
- ConnectorDirective,
814
- ConnectorsDirective,
815
- NodeFixedUserHandleDirective,
816
- NodeFixedUserHandlesDirective,
817
- NodeAnnotationDirective,
818
- NodeAnnotationsDirective,
819
- PortDirective,
820
- PortsDirective,
821
- NodeDirective,
822
- NodesDirective
823
- ],
824
- exports: [
825
- DiagramComponent,
826
- LayerDirective,
827
- LayersDirective,
828
- CustomCursorDirective,
829
- CustomCursorsDirective,
830
- ConnectorFixedUserHandleDirective,
831
- ConnectorFixedUserHandlesDirective,
832
- ConnectorAnnotationDirective,
833
- ConnectorAnnotationsDirective,
834
- ConnectorDirective,
835
- ConnectorsDirective,
836
- NodeFixedUserHandleDirective,
837
- NodeFixedUserHandlesDirective,
838
- NodeAnnotationDirective,
839
- NodeAnnotationsDirective,
840
- PortDirective,
841
- PortsDirective,
842
- NodeDirective,
843
- NodesDirective
844
- ]
845
- },] },
846
- ];
847
- /**
848
- * @nocollapse
849
- */
850
- DiagramModule.ctorParameters = () => [];
851
-
852
- const HierarchicalTreeService = { provide: 'DiagramsHierarchicalTree', useValue: HierarchicalTree };
853
- const MindMapService = { provide: 'DiagramsMindMap', useValue: MindMap };
854
- const RadialTreeService = { provide: 'DiagramsRadialTree', useValue: RadialTree };
855
- const ComplexHierarchicalTreeService = { provide: 'DiagramsComplexHierarchicalTree', useValue: ComplexHierarchicalTree };
856
- const DataBindingService = { provide: 'DiagramsDataBinding', useValue: DataBinding };
857
- const SnappingService = { provide: 'DiagramsSnapping', useValue: Snapping };
858
- const PrintAndExportService = { provide: 'DiagramsPrintAndExport', useValue: PrintAndExport };
859
- const BpmnDiagramsService = { provide: 'DiagramsBpmnDiagrams', useValue: BpmnDiagrams };
860
- const SymmetricLayoutService = { provide: 'DiagramsSymmetricLayout', useValue: SymmetricLayout };
861
- const ConnectorBridgingService = { provide: 'DiagramsConnectorBridging', useValue: ConnectorBridging };
862
- const UndoRedoService = { provide: 'DiagramsUndoRedo', useValue: UndoRedo };
863
- const LayoutAnimationService = { provide: 'DiagramsLayoutAnimation', useValue: LayoutAnimation };
864
- const DiagramContextMenuService = { provide: 'DiagramsDiagramContextMenu', useValue: DiagramContextMenu };
865
- const LineRoutingService = { provide: 'DiagramsLineRouting', useValue: LineRouting };
866
- const ConnectorEditingService = { provide: 'DiagramsConnectorEditing', useValue: ConnectorEditing };
867
- const BlazorTooltipService = { provide: 'DiagramsBlazorTooltip', useValue: BlazorTooltip };
868
- const LineDistributionService = { provide: 'DiagramsLineDistribution', useValue: LineDistribution };
869
- /**
870
- * NgModule definition for the Diagram component with providers.
871
- */
872
- class DiagramAllModule {
873
- }
874
- DiagramAllModule.decorators = [
875
- { type: NgModule, args: [{
876
- imports: [CommonModule, DiagramModule],
877
- exports: [
878
- DiagramModule
879
- ],
880
- providers: [
881
- HierarchicalTreeService,
882
- MindMapService,
883
- RadialTreeService,
884
- ComplexHierarchicalTreeService,
885
- DataBindingService,
886
- SnappingService,
887
- PrintAndExportService,
888
- BpmnDiagramsService,
889
- SymmetricLayoutService,
890
- ConnectorBridgingService,
891
- UndoRedoService,
892
- LayoutAnimationService,
893
- DiagramContextMenuService,
894
- LineRoutingService,
895
- ConnectorEditingService,
896
- BlazorTooltipService,
897
- LineDistributionService
898
- ]
899
- },] },
900
- ];
901
- /**
902
- * @nocollapse
903
- */
904
- DiagramAllModule.ctorParameters = () => [];
905
-
906
- let input$9 = ['expanded', 'height', 'iconCss', 'id', 'symbols', 'title'];
907
- let outputs$10 = [];
908
- /**
909
- * Palette Directive
910
- * ```html
911
- * <e-palettes><e-palette></e-palette><e-palettes>
912
- * ```
913
- */
914
- class PaletteDirective extends ComplexBase {
915
- /**
916
- * @param {?} viewContainerRef
917
- */
918
- constructor(viewContainerRef) {
919
- super();
920
- this.viewContainerRef = viewContainerRef;
921
- setValue('currentInstance', this, this.viewContainerRef);
922
- this.registerEvents(outputs$10);
923
- this.directivePropList = input$9;
924
- }
925
- }
926
- PaletteDirective.decorators = [
927
- { type: Directive, args: [{
928
- selector: 'e-palettes>e-palette',
929
- inputs: input$9,
930
- outputs: outputs$10,
931
- queries: {}
932
- },] },
933
- ];
934
- /**
935
- * @nocollapse
936
- */
937
- PaletteDirective.ctorParameters = () => [
938
- { type: ViewContainerRef, },
939
- ];
940
- /**
941
- * Palette Array Directive
942
- */
943
- class PalettesDirective extends ArrayBase {
944
- constructor() {
945
- super('palettes');
946
- }
947
- }
948
- PalettesDirective.decorators = [
949
- { type: Directive, args: [{
950
- selector: 'ejs-symbolpalette>e-palettes',
951
- queries: {
952
- children: new ContentChildren(PaletteDirective)
953
- },
954
- },] },
955
- ];
956
- /**
957
- * @nocollapse
958
- */
959
- PalettesDirective.ctorParameters = () => [];
960
-
961
- var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
962
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
963
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
964
- 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;
965
- return c > 3 && r && Object.defineProperty(target, key, r), r;
966
- };
967
- var __metadata$1 = (this && this.__metadata) || function (k, v) {
968
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
969
- };
970
- 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'];
971
- const outputs$11 = ['paletteExpanding', 'paletteSelectionChange'];
972
- const twoWays$1 = [''];
973
- /**
974
- * SymbolPalette Component
975
- * ```html
976
- * <ej-symbol-palette></ej-symbol-palette>
977
- * ```
978
- */
979
- let SymbolPaletteComponent = class SymbolPaletteComponent extends SymbolPalette {
980
- /**
981
- * @param {?} ngEle
982
- * @param {?} srenderer
983
- * @param {?} viewContainerRef
984
- * @param {?} injector
985
- */
986
- constructor(ngEle, srenderer, viewContainerRef, injector) {
987
- super();
988
- this.ngEle = ngEle;
989
- this.srenderer = srenderer;
990
- this.viewContainerRef = viewContainerRef;
991
- this.injector = injector;
992
- this.tags = ['palettes'];
993
- this.element = this.ngEle.nativeElement;
994
- this.injectedModules = this.injectedModules || [];
995
- try {
996
- let mod = this.injector.get('DiagramsBpmnDiagrams');
997
- if (this.injectedModules.indexOf(mod) === -1) {
998
- this.injectedModules.push(mod);
999
- }
1000
- }
1001
- catch (_a) { }
1002
- this.registerEvents(outputs$11);
1003
- this.addTwoWay.call(this, twoWays$1);
1004
- setValue('currentInstance', this, this.viewContainerRef);
1005
- this.context = new ComponentBase();
1006
- }
1007
- /**
1008
- * @return {?}
1009
- */
1010
- ngOnInit() {
1011
- this.context.ngOnInit(this);
1012
- }
1013
- /**
1014
- * @return {?}
1015
- */
1016
- ngAfterViewInit() {
1017
- this.context.ngAfterViewInit(this);
1018
- }
1019
- /**
1020
- * @return {?}
1021
- */
1022
- ngOnDestroy() {
1023
- this.context.ngOnDestroy(this);
1024
- }
1025
- /**
1026
- * @return {?}
1027
- */
1028
- ngAfterContentChecked() {
1029
- this.tagObjects[0].instance = this.childPalettes;
1030
- this.context.ngAfterContentChecked(this);
1031
- }
1032
- };
1033
- SymbolPaletteComponent.decorators = [
1034
- { type: Component, args: [{
1035
- selector: 'ejs-symbolpalette',
1036
- inputs: inputs$1,
1037
- outputs: outputs$11,
1038
- template: '',
1039
- changeDetection: ChangeDetectionStrategy.OnPush,
1040
- queries: {
1041
- childPalettes: new ContentChild(PalettesDirective)
1042
- }
1043
- },] },
1044
- ];
1045
- /**
1046
- * @nocollapse
1047
- */
1048
- SymbolPaletteComponent.ctorParameters = () => [
1049
- { type: ElementRef, },
1050
- { type: Renderer2, },
1051
- { type: ViewContainerRef, },
1052
- { type: Injector, },
1053
- ];
1054
- SymbolPaletteComponent = __decorate$1([
1055
- ComponentMixins([ComponentBase]),
1056
- __metadata$1("design:paramtypes", [ElementRef,
1057
- Renderer2,
1058
- ViewContainerRef,
1059
- Injector])
1060
- ], SymbolPaletteComponent);
1061
-
1062
- /**
1063
- * NgModule definition for the SymbolPalette component.
1064
- */
1065
- class SymbolPaletteModule {
1066
- }
1067
- SymbolPaletteModule.decorators = [
1068
- { type: NgModule, args: [{
1069
- imports: [CommonModule],
1070
- declarations: [
1071
- SymbolPaletteComponent,
1072
- PaletteDirective,
1073
- PalettesDirective
1074
- ],
1075
- exports: [
1076
- SymbolPaletteComponent,
1077
- PaletteDirective,
1078
- PalettesDirective
1079
- ]
1080
- },] },
1081
- ];
1082
- /**
1083
- * @nocollapse
1084
- */
1085
- SymbolPaletteModule.ctorParameters = () => [];
1086
-
1087
- /**
1088
- * NgModule definition for the SymbolPalette component with providers.
1089
- */
1090
- class SymbolPaletteAllModule {
1091
- }
1092
- SymbolPaletteAllModule.decorators = [
1093
- { type: NgModule, args: [{
1094
- imports: [CommonModule, SymbolPaletteModule],
1095
- exports: [
1096
- SymbolPaletteModule
1097
- ],
1098
- providers: []
1099
- },] },
1100
- ];
1101
- /**
1102
- * @nocollapse
1103
- */
1104
- SymbolPaletteAllModule.ctorParameters = () => [];
1105
-
1106
- var __decorate$2 = (this && this.__decorate) || function (decorators, target, key, desc) {
1107
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1108
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1109
- 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;
1110
- return c > 3 && r && Object.defineProperty(target, key, r), r;
1111
- };
1112
- var __metadata$2 = (this && this.__metadata) || function (k, v) {
1113
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
1114
- };
1115
- const inputs$2 = ['enablePersistence', 'enableRtl', 'height', 'locale', 'sourceID', 'width'];
1116
- const outputs$12 = ['created'];
1117
- const twoWays$2 = [''];
1118
- /**
1119
- * Overview Component
1120
- * ```html
1121
- * <ej-overview></ej-overview>
1122
- * ```
1123
- */
1124
- let OverviewComponent = class OverviewComponent extends Overview {
1125
- /**
1126
- * @param {?} ngEle
1127
- * @param {?} srenderer
1128
- * @param {?} viewContainerRef
1129
- * @param {?} injector
1130
- */
1131
- constructor(ngEle, srenderer, viewContainerRef, injector) {
1132
- super();
1133
- this.ngEle = ngEle;
1134
- this.srenderer = srenderer;
1135
- this.viewContainerRef = viewContainerRef;
1136
- this.injector = injector;
1137
- this.tags = [''];
1138
- this.element = this.ngEle.nativeElement;
1139
- this.injectedModules = this.injectedModules || [];
1140
- this.registerEvents(outputs$12);
1141
- this.addTwoWay.call(this, twoWays$2);
1142
- setValue('currentInstance', this, this.viewContainerRef);
1143
- this.context = new ComponentBase();
1144
- }
1145
- /**
1146
- * @return {?}
1147
- */
1148
- ngOnInit() {
1149
- this.context.ngOnInit(this);
1150
- }
1151
- /**
1152
- * @return {?}
1153
- */
1154
- ngAfterViewInit() {
1155
- this.context.ngAfterViewInit(this);
1156
- }
1157
- /**
1158
- * @return {?}
1159
- */
1160
- ngOnDestroy() {
1161
- this.context.ngOnDestroy(this);
1162
- }
1163
- /**
1164
- * @return {?}
1165
- */
1166
- ngAfterContentChecked() {
1167
- this.context.ngAfterContentChecked(this);
1168
- }
1169
- };
1170
- OverviewComponent.decorators = [
1171
- { type: Component, args: [{
1172
- selector: 'ejs-overview',
1173
- inputs: inputs$2,
1174
- outputs: outputs$12,
1175
- template: '',
1176
- changeDetection: ChangeDetectionStrategy.OnPush,
1177
- queries: {}
1178
- },] },
1179
- ];
1180
- /**
1181
- * @nocollapse
1182
- */
1183
- OverviewComponent.ctorParameters = () => [
1184
- { type: ElementRef, },
1185
- { type: Renderer2, },
1186
- { type: ViewContainerRef, },
1187
- { type: Injector, },
1188
- ];
1189
- OverviewComponent = __decorate$2([
1190
- ComponentMixins([ComponentBase]),
1191
- __metadata$2("design:paramtypes", [ElementRef,
1192
- Renderer2,
1193
- ViewContainerRef,
1194
- Injector])
1195
- ], OverviewComponent);
1196
-
1197
- /**
1198
- * NgModule definition for the Overview component.
1199
- */
1200
- class OverviewModule {
1201
- }
1202
- OverviewModule.decorators = [
1203
- { type: NgModule, args: [{
1204
- imports: [CommonModule],
1205
- declarations: [
1206
- OverviewComponent
1207
- ],
1208
- exports: [
1209
- OverviewComponent
1210
- ]
1211
- },] },
1212
- ];
1213
- /**
1214
- * @nocollapse
1215
- */
1216
- OverviewModule.ctorParameters = () => [];
1217
-
1218
- /**
1219
- * NgModule definition for the Overview component with providers.
1220
- */
1221
- class OverviewAllModule {
1222
- }
1223
- OverviewAllModule.decorators = [
1224
- { type: NgModule, args: [{
1225
- imports: [CommonModule, OverviewModule],
1226
- exports: [
1227
- OverviewModule
1228
- ],
1229
- providers: []
1230
- },] },
1231
- ];
1232
- /**
1233
- * @nocollapse
1234
- */
1235
- OverviewAllModule.ctorParameters = () => [];
1236
-
1237
- /**
1238
- * Generated bundle index. Do not edit.
1239
- */
1240
-
1241
- 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, BlazorTooltipService, LineDistributionService, 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 };
1242
- export { Diagram, PrintAndExport, Size, Rect, MatrixTypes, Matrix, identityMatrix, transformPointByMatrix, transformPointsByMatrix, rotateMatrix, scaleMatrix, translateMatrix, multiplyMatrix, Point, BlazorAction, 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, 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, getOffsetOfConnector, getAlignedPosition, alignLabelOnSegments, getBezierDirection, removeChildNodes, getChild, serialize, deserialize, upgrade, updateStyle, updateHyperlink, updateShapeContent, updateShape, updateContent, updateUmlActivityNode, getUMLFinalNode, getUMLActivityShapes, removeGradient, removeItem, updateConnector, getUserHandlePosition, canResizeCorner, canShowCorner, canShowControlPoints, checkPortRestriction, findAnnotation, findPort, getInOutConnectPorts, findObjectIndex, getObjectFromCollection, scaleElement, arrangeChild, insertObject, getElement, getCollectionChangeEventArguements, getDropEventArguements, getPoint, getObjectType, flipConnector, updatePortEdges, alignElement, cloneSelectedObjects, updatePathElement, checkPort, findPath, getConnectorDirection, findDistance, cloneBlazorObject, checkBrowserInfo, canMeasureDecoratorPath, getPreviewSize, getSymbolSize, findParentInSwimlane, selectionHasConnector, CanvasRenderer, DiagramRenderer, DataBinding, getBasicShape, getPortShape, getDecoratorShape, getSegmentThumbShapeHorizontal, getSegmentThumbShapeVertical, getIconShape, getFlowShape, Hyperlink, Annotation, ShapeAnnotation, PathAnnotation, Port, PointPort, menuClass, DiagramContextMenu, Shape, Path, Native, Html, Image, Text, BasicShape, FlowShape, BpmnGateway, BpmnDataObject, BpmnTask, BpmnEvent, BpmnSubEvent, BpmnTransactionSubProcess, BpmnSubProcess, BpmnActivity, BpmnAnnotation, 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, DiagramEventHandler, CommandHandler, findToolToActivate, findPortToolToActivate, contains, hasSelection, hasSingleConnection, isSelected, getCursor, ConnectorEditing, updateCanvasBounds, removeChildInContainer, findBounds, createHelper, renderContainerHelper, checkParentAsContainer, checkChildNodeInContainer, addChildToContainer, updateLaneBoundsAfterAddChild, renderStackHighlighter, moveChildInStack, LineRouting, LineDistribution, CrudAction, ConnectionDataSource, DataSource, Gridlines, SnapSettings, KeyGesture, Command, CommandManager, ContextMenuSettings, CustomCursorAction, DataMappingItems, BlazorAnimation, BlazorTooltip, Layout, MindMap, HierarchicalTree, RadialTree, GraphForceNode, SymmetricLayout, GraphLayoutManager, ComplexHierarchicalTree, Palette, SymbolDragSize, SymbolPreview, SymbolPalette, Ruler, Overview } from '@syncfusion/ej2-diagrams';
1243
- //# sourceMappingURL=ej2-angular-diagrams.js.map