@foblex/flow 1.2.4 → 1.2.5

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 (135) hide show
  1. package/components/f-flow/f-canvas/f-canvas.component.d.ts +1 -2
  2. package/components/f-flow/f-flow.component.d.ts +80 -6
  3. package/components/f-flow/f-parent.injection-token.d.ts +0 -3
  4. package/components/f-flow/i-flow-base.d.ts +8 -0
  5. package/components/f-flow/index.d.ts +1 -2
  6. package/components/f-flow/public-api.d.ts +0 -1
  7. package/esm2022/components/f-flow/f-backgroud/f-background-base.mjs +3 -3
  8. package/esm2022/components/f-flow/f-backgroud/f-background.component.mjs +5 -5
  9. package/esm2022/components/f-flow/f-backgroud/f-cell-pattern/f-cell-pattern.component.mjs +5 -5
  10. package/esm2022/components/f-flow/f-canvas/f-canvas-base.mjs +4 -4
  11. package/esm2022/components/f-flow/f-canvas/f-canvas.component.mjs +5 -8
  12. package/esm2022/components/f-flow/f-canvas/f-zoom/f-zoom.directive.mjs +5 -5
  13. package/esm2022/components/f-flow/f-flow.component.mjs +94 -26
  14. package/esm2022/components/f-flow/f-parent.injection-token.mjs +1 -1
  15. package/esm2022/components/f-flow/i-flow-base.mjs +3 -0
  16. package/esm2022/components/f-flow/index.mjs +2 -3
  17. package/esm2022/components/f-flow/public-api.mjs +1 -2
  18. package/esm2022/domain/get-all-nodes-rect.handler.mjs +4 -4
  19. package/esm2022/domain/get-connection-vector/get-connection-vector.handler.mjs +3 -3
  20. package/esm2022/domain/get-connection.handler.mjs +4 -4
  21. package/esm2022/domain/get-element-rect-in-flow.handler.mjs +4 -4
  22. package/esm2022/domain/get-incoming-connections.handler.mjs +4 -4
  23. package/esm2022/domain/get-input-rect-in-flow.handler.mjs +4 -4
  24. package/esm2022/domain/get-outgoing-connections.handler.mjs +4 -4
  25. package/esm2022/domain/get-output-rect-in-flow.handler.mjs +4 -4
  26. package/esm2022/domain/update-node-layer.handler.mjs +4 -4
  27. package/esm2022/f-components-store.mjs +4 -4
  28. package/esm2022/f-connection/common/f-connection-base.mjs +23 -8
  29. package/esm2022/f-connection/common/f-connection-text/f-connection-text-path.directive.mjs +5 -5
  30. package/esm2022/f-connection/common/f-connection-text/f-connection-text.component.mjs +6 -6
  31. package/esm2022/f-connection/common/f-drag-handle/f-connection-drag-handle.component.mjs +4 -4
  32. package/esm2022/f-connection/common/f-gradient/f-connection-gradient.component.mjs +5 -5
  33. package/esm2022/f-connection/common/f-path/f-connection-path.component.mjs +9 -9
  34. package/esm2022/f-connection/common/f-selection/f-connection-selection.component.mjs +5 -5
  35. package/esm2022/f-connection/common/i-has-connection-from-to.mjs +1 -1
  36. package/esm2022/f-connection/common/public-api.mjs +3 -0
  37. package/esm2022/f-connection/f-connection/f-connection.component.mjs +14 -9
  38. package/esm2022/f-connection/f-connection-for-create/f-connection-for-create.component.mjs +11 -7
  39. package/esm2022/f-connection/f-marker/e-f-marker-type.mjs +8 -0
  40. package/esm2022/f-connection/f-marker/f-marker-base.mjs +11 -0
  41. package/esm2022/f-connection/f-marker/f-marker.component.mjs +39 -0
  42. package/esm2022/f-connection/f-marker/index.mjs +4 -0
  43. package/esm2022/f-connection/index.mjs +2 -1
  44. package/esm2022/f-connection/public-api.mjs +3 -1
  45. package/esm2022/f-draggable/canvas/canvas.on-pointer-up.mjs +4 -4
  46. package/esm2022/f-draggable/canvas/canvas.prepare-drag-sequence.mjs +4 -4
  47. package/esm2022/f-draggable/components/f-external-item/f-external-item-base.mjs +3 -3
  48. package/esm2022/f-draggable/components/f-external-item/f-external-item.directive.mjs +5 -5
  49. package/esm2022/f-draggable/components/f-external-item/f-external-item.service.mjs +3 -3
  50. package/esm2022/f-draggable/components/f-line-alignment/f-line-alignment-base.mjs +3 -3
  51. package/esm2022/f-draggable/components/f-line-alignment/f-line-alignment.component.mjs +4 -4
  52. package/esm2022/f-draggable/components/f-selection-area/f-selection-area-base.mjs +3 -3
  53. package/esm2022/f-draggable/components/f-selection-area/f-selection-area.component.mjs +4 -4
  54. package/esm2022/f-draggable/connections/create-connection/create-connection.on-pointer-up.mjs +4 -4
  55. package/esm2022/f-draggable/connections/create-connection/create-connection.prepare-drag-sequence.mjs +4 -4
  56. package/esm2022/f-draggable/connections/create-connection/find-first-can-be-connected-output-by-outlet/find-first-can-be-connected-output-by-outlet.handler.mjs +4 -4
  57. package/esm2022/f-draggable/connections/find-inputs-under-pointer/find-inputs-under-pointer.handler.mjs +4 -4
  58. package/esm2022/f-draggable/connections/find-inputs-under-pointer/first-not-connected-input-of-node-under-pointer/first-not-connected-input-of-node-under-pointer.handler.mjs +4 -4
  59. package/esm2022/f-draggable/connections/find-inputs-under-pointer/inputs-under-pointer/inputs-under-pointer.handler.mjs +4 -4
  60. package/esm2022/f-draggable/connections/reassign-connection/reassign-connection.on-pointer-up.mjs +4 -4
  61. package/esm2022/f-draggable/connections/reassign-connection/reassign-connection.prepare-drag-sequence.mjs +4 -4
  62. package/esm2022/f-draggable/external-item/external-item.on-pointer-up.mjs +4 -4
  63. package/esm2022/f-draggable/external-item/external-item.prepare-drag-sequence.mjs +4 -4
  64. package/esm2022/f-draggable/f-draggable-base.mjs +5 -5
  65. package/esm2022/f-draggable/f-draggable-data-context.mjs +3 -3
  66. package/esm2022/f-draggable/f-draggable.directive.mjs +30 -9
  67. package/esm2022/f-draggable/node/domain/is-connection-under-node/is-connection-under-node.handler.mjs +4 -4
  68. package/esm2022/f-draggable/node/node.on-pointer-up.mjs +4 -4
  69. package/esm2022/f-draggable/node/node.prepare-drag-sequence.mjs +4 -4
  70. package/esm2022/f-draggable/selection-area/get-can-be-selected-items/get-can-be-selected-items.handler.mjs +4 -4
  71. package/esm2022/f-draggable/selection-area/selection-area.on-pointer-up.mjs +4 -4
  72. package/esm2022/f-draggable/selection-area/selection-area.prepare-drag-sequence.mjs +5 -5
  73. package/esm2022/f-draggable/single-select/index.mjs +2 -1
  74. package/esm2022/f-draggable/single-select/selection-change-event.mjs +7 -0
  75. package/esm2022/f-draggable/single-select/single-select.on-pointer-down.mjs +4 -4
  76. package/esm2022/f-flow.module.mjs +8 -28
  77. package/esm2022/f-node/f-connectors/f-connector-base.mjs +1 -1
  78. package/esm2022/f-node/f-connectors/f-node-input/f-node-input-base.mjs +3 -3
  79. package/esm2022/f-node/f-connectors/f-node-input/f-node-input.directive.mjs +7 -6
  80. package/esm2022/f-node/f-connectors/f-node-outlet/f-node-outlet-base.mjs +3 -3
  81. package/esm2022/f-node/f-connectors/f-node-outlet/f-node-outlet.directive.mjs +9 -7
  82. package/esm2022/f-node/f-connectors/f-node-output/f-node-output-base.mjs +3 -3
  83. package/esm2022/f-node/f-connectors/f-node-output/f-node-output.directive.mjs +7 -6
  84. package/esm2022/f-node/f-drag-handle/f-drag-handle.directive.mjs +6 -6
  85. package/esm2022/f-node/f-node.component.mjs +6 -6
  86. package/esm2022/get-flow-uid.mjs +3 -2
  87. package/f-components-store.d.ts +2 -3
  88. package/f-connection/common/f-connection-base.d.ts +4 -2
  89. package/f-connection/common/i-has-connection-from-to.d.ts +1 -0
  90. package/f-connection/common/public-api.d.ts +2 -0
  91. package/f-connection/f-connection/f-connection.component.d.ts +6 -4
  92. package/f-connection/f-connection-for-create/f-connection-for-create.component.d.ts +4 -2
  93. package/f-connection/f-marker/e-f-marker-type.d.ts +6 -0
  94. package/f-connection/f-marker/f-marker-base.d.ts +15 -0
  95. package/f-connection/f-marker/f-marker.component.d.ts +15 -0
  96. package/f-connection/f-marker/index.d.ts +3 -0
  97. package/f-connection/index.d.ts +1 -0
  98. package/f-connection/public-api.d.ts +2 -0
  99. package/f-draggable/f-draggable-base.d.ts +2 -0
  100. package/f-draggable/f-draggable.directive.d.ts +4 -1
  101. package/f-draggable/single-select/index.d.ts +1 -0
  102. package/f-draggable/single-select/selection-change-event.d.ts +5 -0
  103. package/f-flow.module.d.ts +13 -18
  104. package/f-node/f-connectors/f-connector-base.d.ts +1 -1
  105. package/f-node/f-connectors/f-node-input/f-node-input.directive.d.ts +1 -1
  106. package/f-node/f-connectors/f-node-outlet/f-node-outlet.directive.d.ts +1 -1
  107. package/f-node/f-connectors/f-node-output/f-node-output.directive.d.ts +2 -2
  108. package/f-node/f-node.component.d.ts +1 -1
  109. package/fesm2022/foblex-flow.mjs +467 -528
  110. package/fesm2022/foblex-flow.mjs.map +1 -1
  111. package/package.json +7 -4
  112. package/components/f-flow/f-definitions/domain/i-connection-marker.d.ts +0 -5
  113. package/components/f-flow/f-definitions/f-definitions-base.d.ts +0 -10
  114. package/components/f-flow/f-definitions/f-definitions.component.d.ts +0 -20
  115. package/components/f-flow/f-definitions/f-markers/f-connection-marker-end-selected.directive.d.ts +0 -13
  116. package/components/f-flow/f-definitions/f-markers/f-connection-marker-end.directive.d.ts +0 -14
  117. package/components/f-flow/f-definitions/f-markers/f-connection-marker-start-selected.directive.d.ts +0 -13
  118. package/components/f-flow/f-definitions/f-markers/f-connection-marker-start.directive.d.ts +0 -14
  119. package/components/f-flow/f-definitions/f-markers/index.d.ts +0 -4
  120. package/components/f-flow/f-definitions/f-markers/public-api.d.ts +0 -4
  121. package/components/f-flow/f-definitions/index.d.ts +0 -3
  122. package/components/f-flow/f-definitions/public-api.d.ts +0 -2
  123. package/components/f-flow/f-flow-base.d.ts +0 -10
  124. package/esm2022/components/f-flow/f-definitions/domain/i-connection-marker.mjs +0 -3
  125. package/esm2022/components/f-flow/f-definitions/f-definitions-base.mjs +0 -11
  126. package/esm2022/components/f-flow/f-definitions/f-definitions.component.mjs +0 -73
  127. package/esm2022/components/f-flow/f-definitions/f-markers/f-connection-marker-end-selected.directive.mjs +0 -36
  128. package/esm2022/components/f-flow/f-definitions/f-markers/f-connection-marker-end.directive.mjs +0 -39
  129. package/esm2022/components/f-flow/f-definitions/f-markers/f-connection-marker-start-selected.directive.mjs +0 -36
  130. package/esm2022/components/f-flow/f-definitions/f-markers/f-connection-marker-start.directive.mjs +0 -39
  131. package/esm2022/components/f-flow/f-definitions/f-markers/index.mjs +0 -5
  132. package/esm2022/components/f-flow/f-definitions/f-markers/public-api.mjs +0 -5
  133. package/esm2022/components/f-flow/f-definitions/index.mjs +0 -4
  134. package/esm2022/components/f-flow/f-definitions/public-api.mjs +0 -3
  135. package/esm2022/components/f-flow/f-flow-base.mjs +0 -11
@@ -1,7 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
- import { InjectionToken, Component, ChangeDetectionStrategy, Input, Directive, Injectable, ContentChild, Inject, ViewChild, Optional, SkipSelf, EventEmitter, Output, ContentChildren, HostBinding, NgModule } from '@angular/core';
3
- import { TransformModelExtensions, DomElementExtensions, RectExtensions, sanitizeElementId, PointExtensions, Point, VectorExtensions, SizeExtensions, BooleanExtensions, EventExtensions, MouseEventExtensions, IDragAndDropBase } from '@foblex/core';
4
- import { Subject, Observable, Subscription, startWith, debounceTime, takeUntil } from 'rxjs';
2
+ import { InjectionToken, Component, ChangeDetectionStrategy, Input, Directive, Injectable, ContentChild, Inject, ViewChild, ContentChildren, Optional, SkipSelf, EventEmitter, Output, HostBinding, NgModule } from '@angular/core';
3
+ import { TransformModelExtensions, DomElementExtensions, RectExtensions, sanitizeElementId, PointExtensions, Point, GuidExtensions, VectorExtensions, SizeExtensions, BooleanExtensions, EventExtensions, MouseEventExtensions, IDragAndDropBase } from '@foblex/core';
4
+ import { Subject, Observable, Subscription, startWith, debounceTime } from 'rxjs';
5
5
  import { DOCUMENT, CommonModule } from '@angular/common';
6
6
 
7
7
  const F_BACKGROUND_PATTERN = new InjectionToken('F_BACKGROUND_PATTERN');
@@ -72,19 +72,19 @@ class FCellPatternComponent {
72
72
  this.transform = transform;
73
73
  this.redraw();
74
74
  }
75
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FCellPatternComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
76
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.5", type: FCellPatternComponent, isStandalone: true, selector: "f-cell-pattern", inputs: { id: "id", verticalLineColor: "verticalLineColor", horizontalLineColor: "horizontalLineColor" }, host: { properties: { "attr.id": "id" } }, providers: [
75
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FCellPatternComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
76
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.9", type: FCellPatternComponent, isStandalone: true, selector: "f-cell-pattern", inputs: { id: "id", verticalLineColor: "verticalLineColor", horizontalLineColor: "horizontalLineColor" }, host: { properties: { "attr.id": "id" } }, providers: [
77
77
  { provide: F_BACKGROUND_PATTERN, useExisting: FCellPatternComponent }
78
78
  ], ngImport: i0, template: "<ng-container></ng-container>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
79
79
  }
80
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FCellPatternComponent, decorators: [{
80
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FCellPatternComponent, decorators: [{
81
81
  type: Component,
82
82
  args: [{ selector: "f-cell-pattern", standalone: true, host: {
83
83
  '[attr.id]': 'id'
84
84
  }, providers: [
85
85
  { provide: F_BACKGROUND_PATTERN, useExisting: FCellPatternComponent }
86
86
  ], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container></ng-container>\n" }]
87
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { id: [{
87
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }], propDecorators: { id: [{
88
88
  type: Input
89
89
  }], verticalLineColor: [{
90
90
  type: Input
@@ -94,10 +94,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImpor
94
94
 
95
95
  const F_BACKGROUND = new InjectionToken('F_BACKGROUND');
96
96
  class FBackgroundBase {
97
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FBackgroundBase, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
98
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.5", type: FBackgroundBase, ngImport: i0 }); }
97
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FBackgroundBase, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
98
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.9", type: FBackgroundBase, ngImport: i0 }); }
99
99
  }
100
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FBackgroundBase, decorators: [{
100
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FBackgroundBase, decorators: [{
101
101
  type: Directive
102
102
  }] });
103
103
 
@@ -159,10 +159,10 @@ class FComponentsStore {
159
159
  this.fConnections = this.fConnections.filter(c => c !== connection);
160
160
  this.changes.next();
161
161
  }
162
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FComponentsStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
163
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FComponentsStore }); }
162
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FComponentsStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
163
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FComponentsStore }); }
164
164
  }
165
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FComponentsStore, decorators: [{
165
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FComponentsStore, decorators: [{
166
166
  type: Injectable
167
167
  }] });
168
168
 
@@ -207,15 +207,15 @@ class FBackgroundComponent extends FBackgroundBase {
207
207
  ngOnDestroy() {
208
208
  this.fComponentsStore.fBackground = undefined;
209
209
  }
210
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FBackgroundComponent, deps: [{ token: i0.ElementRef }, { token: FComponentsStore }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
211
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.5", type: FBackgroundComponent, selector: "f-background", host: { classAttribute: "f-component f-background" }, providers: [{ provide: F_BACKGROUND, useExisting: FBackgroundComponent }], queries: [{ propertyName: "fBackgroundPattern", first: true, predicate: F_BACKGROUND_PATTERN, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<svg>\n <ng-content></ng-content>\n\n<!-- <rect width=\"100%\" height=\"100%\" fill=\"url(#background-pattern)\"></rect>-->\n</svg>\n", styles: [":host{position:absolute;width:100%;height:100%;left:0;top:0;transform-origin:0 0;pointer-events:none}:host svg{width:100%;height:100%}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
210
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FBackgroundComponent, deps: [{ token: i0.ElementRef }, { token: FComponentsStore }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
211
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.9", type: FBackgroundComponent, selector: "f-background", host: { classAttribute: "f-component f-background" }, providers: [{ provide: F_BACKGROUND, useExisting: FBackgroundComponent }], queries: [{ propertyName: "fBackgroundPattern", first: true, predicate: F_BACKGROUND_PATTERN, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<svg>\n <ng-content></ng-content>\n\n<!-- <rect width=\"100%\" height=\"100%\" fill=\"url(#background-pattern)\"></rect>-->\n</svg>\n", styles: [":host{position:absolute;width:100%;height:100%;left:0;top:0;transform-origin:0 0;pointer-events:none}:host svg{width:100%;height:100%}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
212
212
  }
213
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FBackgroundComponent, decorators: [{
213
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FBackgroundComponent, decorators: [{
214
214
  type: Component,
215
215
  args: [{ selector: "f-background", host: {
216
216
  'class': 'f-component f-background'
217
217
  }, providers: [{ provide: F_BACKGROUND, useExisting: FBackgroundComponent }], changeDetection: ChangeDetectionStrategy.OnPush, template: "<svg>\n <ng-content></ng-content>\n\n<!-- <rect width=\"100%\" height=\"100%\" fill=\"url(#background-pattern)\"></rect>-->\n</svg>\n", styles: [":host{position:absolute;width:100%;height:100%;left:0;top:0;transform-origin:0 0;pointer-events:none}:host svg{width:100%;height:100%}\n"] }]
218
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: FComponentsStore }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { fBackgroundPattern: [{
218
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: FComponentsStore }, { type: i0.ChangeDetectorRef }], propDecorators: { fBackgroundPattern: [{
219
219
  type: ContentChild,
220
220
  args: [F_BACKGROUND_PATTERN, { static: true }]
221
221
  }] } });
@@ -324,10 +324,10 @@ class FConnectionTextPathDirective {
324
324
  const symbolWidth = metrics.width / text.length;
325
325
  return symbolWidth;
326
326
  }
327
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FConnectionTextPathDirective, deps: [{ token: i0.ElementRef }, { token: F_CONNECTION }], target: i0.ɵɵFactoryTarget.Directive }); }
328
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.5", type: FConnectionTextPathDirective, selector: "textPath[f-connection-text-path]", host: { properties: { "attr.href": "linkToConnection" } }, ngImport: i0 }); }
327
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FConnectionTextPathDirective, deps: [{ token: i0.ElementRef }, { token: F_CONNECTION }], target: i0.ɵɵFactoryTarget.Directive }); }
328
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.9", type: FConnectionTextPathDirective, selector: "textPath[f-connection-text-path]", host: { properties: { "attr.href": "linkToConnection" } }, ngImport: i0 }); }
329
329
  }
330
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FConnectionTextPathDirective, decorators: [{
330
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FConnectionTextPathDirective, decorators: [{
331
331
  type: Directive,
332
332
  args: [{
333
333
  selector: 'textPath[f-connection-text-path]',
@@ -335,10 +335,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImpor
335
335
  '[attr.href]': 'linkToConnection'
336
336
  }
337
337
  }]
338
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: undefined, decorators: [{
338
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: undefined, decorators: [{
339
339
  type: Inject,
340
340
  args: [F_CONNECTION]
341
- }] }]; } });
341
+ }] }] });
342
342
 
343
343
  const CONNECTION_TEXT = new InjectionToken('CONNECTION_TEXT');
344
344
 
@@ -383,19 +383,19 @@ class FConnectionTextComponent {
383
383
  const vectorLength = PointExtensions.hypotenuse(vector.point1, vector.point2);
384
384
  return vectorLength / 2 - ((name || '').length * symbolWidth) / 2;
385
385
  }
386
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FConnectionTextComponent, deps: [{ token: i0.ElementRef }, { token: F_CONNECTION }], target: i0.ɵɵFactoryTarget.Component }); }
387
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.5", type: FConnectionTextComponent, selector: "text[f-connection-text]", host: { properties: { "attr.id": "textId" }, classAttribute: "f-component f-connection-text" }, providers: [{ provide: CONNECTION_TEXT, useExisting: FConnectionTextComponent }], viewQueries: [{ propertyName: "textPathDirective", first: true, predicate: FConnectionTextPathDirective, descendants: true, static: true }], ngImport: i0, template: "<ng-container xmlns:svg=\"http://www.w3.org/2000/svg\">\n <svg:textPath f-connection-text-path>\n {{ text }}\n </svg:textPath>\n</ng-container>\n", dependencies: [{ kind: "directive", type: FConnectionTextPathDirective, selector: "textPath[f-connection-text-path]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
386
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FConnectionTextComponent, deps: [{ token: i0.ElementRef }, { token: F_CONNECTION }], target: i0.ɵɵFactoryTarget.Component }); }
387
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.9", type: FConnectionTextComponent, selector: "text[f-connection-text]", host: { properties: { "attr.id": "textId" }, classAttribute: "f-component f-connection-text" }, providers: [{ provide: CONNECTION_TEXT, useExisting: FConnectionTextComponent }], viewQueries: [{ propertyName: "textPathDirective", first: true, predicate: FConnectionTextPathDirective, descendants: true, static: true }], ngImport: i0, template: "<ng-container xmlns:svg=\"http://www.w3.org/2000/svg\">\n <svg:textPath f-connection-text-path>\n {{ text }}\n </svg:textPath>\n</ng-container>\n", dependencies: [{ kind: "directive", type: FConnectionTextPathDirective, selector: "textPath[f-connection-text-path]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
388
388
  }
389
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FConnectionTextComponent, decorators: [{
389
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FConnectionTextComponent, decorators: [{
390
390
  type: Component,
391
391
  args: [{ selector: "text[f-connection-text]", changeDetection: ChangeDetectionStrategy.OnPush, host: {
392
392
  class: "f-component f-connection-text",
393
393
  '[attr.id]': 'textId',
394
394
  }, providers: [{ provide: CONNECTION_TEXT, useExisting: FConnectionTextComponent }], template: "<ng-container xmlns:svg=\"http://www.w3.org/2000/svg\">\n <svg:textPath f-connection-text-path>\n {{ text }}\n </svg:textPath>\n</ng-container>\n" }]
395
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: undefined, decorators: [{
395
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: undefined, decorators: [{
396
396
  type: Inject,
397
397
  args: [F_CONNECTION]
398
- }] }]; }, propDecorators: { textPathDirective: [{
398
+ }] }], propDecorators: { textPathDirective: [{
399
399
  type: ViewChild,
400
400
  args: [FConnectionTextPathDirective, { static: true }]
401
401
  }] } });
@@ -413,10 +413,10 @@ class FConnectionDragHandleComponent {
413
413
  this.hostElement.setAttribute('cx', point.x.toString());
414
414
  this.hostElement.setAttribute('cy', point.y.toString());
415
415
  }
416
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FConnectionDragHandleComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
417
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.5", type: FConnectionDragHandleComponent, selector: "circle[f-connection-drag-handle]", host: { properties: { "class": "class" } }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
416
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FConnectionDragHandleComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
417
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.9", type: FConnectionDragHandleComponent, selector: "circle[f-connection-drag-handle]", host: { properties: { "class": "class" } }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
418
418
  }
419
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FConnectionDragHandleComponent, decorators: [{
419
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FConnectionDragHandleComponent, decorators: [{
420
420
  type: Component,
421
421
  args: [{
422
422
  selector: "circle[f-connection-drag-handle]",
@@ -426,7 +426,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImpor
426
426
  '[class]': 'class'
427
427
  }
428
428
  }]
429
- }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
429
+ }], ctorParameters: () => [{ type: i0.ElementRef }] });
430
430
 
431
431
  const CONNECTION_GRADIENT = new InjectionToken('CONNECTION_GRADIENT');
432
432
 
@@ -473,24 +473,24 @@ class FConnectionGradientComponent {
473
473
  this.hostElement.setAttribute('y2', to.y.toString());
474
474
  this.updateGradient();
475
475
  }
476
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FConnectionGradientComponent, deps: [{ token: i0.ElementRef }, { token: F_CONNECTION }], target: i0.ɵɵFactoryTarget.Component }); }
477
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.5", type: FConnectionGradientComponent, selector: "linearGradient[fConnectionGradient]", host: { properties: { "attr.id": "gradientId" }, classAttribute: "f-component f-connection-gradient" }, providers: [{ provide: CONNECTION_GRADIENT, useExisting: FConnectionGradientComponent }], ngImport: i0, template: "<ng-container xmlns:svg=\"http://www.w3.org/2000/svg\">\n <svg:stop/>\n <svg:stop/>\n</ng-container>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
476
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FConnectionGradientComponent, deps: [{ token: i0.ElementRef }, { token: F_CONNECTION }], target: i0.ɵɵFactoryTarget.Component }); }
477
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.9", type: FConnectionGradientComponent, selector: "linearGradient[fConnectionGradient]", host: { properties: { "attr.id": "gradientId" }, classAttribute: "f-component f-connection-gradient" }, providers: [{ provide: CONNECTION_GRADIENT, useExisting: FConnectionGradientComponent }], ngImport: i0, template: "<ng-container xmlns:svg=\"http://www.w3.org/2000/svg\">\n <svg:stop/>\n <svg:stop/>\n</ng-container>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
478
478
  }
479
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FConnectionGradientComponent, decorators: [{
479
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FConnectionGradientComponent, decorators: [{
480
480
  type: Component,
481
481
  args: [{ selector: "linearGradient[fConnectionGradient]", changeDetection: ChangeDetectionStrategy.OnPush, host: {
482
482
  class: "f-component f-connection-gradient",
483
483
  '[attr.id]': 'gradientId'
484
484
  }, providers: [{ provide: CONNECTION_GRADIENT, useExisting: FConnectionGradientComponent }], template: "<ng-container xmlns:svg=\"http://www.w3.org/2000/svg\">\n <svg:stop/>\n <svg:stop/>\n</ng-container>\n" }]
485
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: undefined, decorators: [{
485
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: undefined, decorators: [{
486
486
  type: Inject,
487
487
  args: [F_CONNECTION]
488
- }] }]; } });
488
+ }] }] });
489
489
 
490
490
  const CONNECTION_PATH = new InjectionToken('CONNECTION_PATH');
491
491
 
492
492
  const FLOW = {
493
- UID: 'f-flow',
493
+ UID: GuidExtensions.generate(),
494
494
  };
495
495
  function getFlowUid() {
496
496
  return FLOW.UID;
@@ -521,16 +521,16 @@ class FConnectionPathComponent {
521
521
  this.hostElement.setAttribute('marker-end', `url(#${sanitizeElementId(getFlowUid() + '-f-connection-marker-end-selected')})`);
522
522
  }
523
523
  deselect() {
524
- this.hostElement.setAttribute('marker-start', `url(#${sanitizeElementId(getFlowUid() + '-f-connection-marker-start-' + this.base.startColor || 'black')})`);
525
- this.hostElement.setAttribute('marker-end', `url(#${sanitizeElementId(getFlowUid() + '-f-connection-marker-end-' + this.base.endColor || 'black')})`);
524
+ this.hostElement.setAttribute('marker-start', `url(#${sanitizeElementId(getFlowUid() + '-f-connection-marker-start-' + this.base.id)})`);
525
+ this.hostElement.setAttribute('marker-end', `url(#${sanitizeElementId(getFlowUid() + '-f-connection-marker-end-' + this.base.id)})`);
526
526
  }
527
527
  isSelected() {
528
- return this.hostElement.getAttribute('marker-start') === `url(#f-connection-marker-start-selected)`;
528
+ return this.hostElement.getAttribute('marker-start') === `url(#${sanitizeElementId(getFlowUid() + '-f-connection-marker-start-selected')})`;
529
529
  }
530
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FConnectionPathComponent, deps: [{ token: i0.ElementRef }, { token: F_CONNECTION }], target: i0.ɵɵFactoryTarget.Component }); }
531
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.5", type: FConnectionPathComponent, selector: "path[f-connection-path]", host: { properties: { "attr.id": "attrConnectionId", "attr.stroke": "linkToGradient" }, classAttribute: "f-component f-connection-path" }, providers: [{ provide: CONNECTION_PATH, useExisting: FConnectionPathComponent }], ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
530
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FConnectionPathComponent, deps: [{ token: i0.ElementRef }, { token: F_CONNECTION }], target: i0.ɵɵFactoryTarget.Component }); }
531
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.9", type: FConnectionPathComponent, selector: "path[f-connection-path]", host: { properties: { "attr.id": "attrConnectionId", "attr.stroke": "linkToGradient" }, classAttribute: "f-component f-connection-path" }, providers: [{ provide: CONNECTION_PATH, useExisting: FConnectionPathComponent }], ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
532
532
  }
533
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FConnectionPathComponent, decorators: [{
533
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FConnectionPathComponent, decorators: [{
534
534
  type: Component,
535
535
  args: [{
536
536
  selector: "path[f-connection-path]",
@@ -543,10 +543,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImpor
543
543
  },
544
544
  providers: [{ provide: CONNECTION_PATH, useExisting: FConnectionPathComponent }],
545
545
  }]
546
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: undefined, decorators: [{
546
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: undefined, decorators: [{
547
547
  type: Inject,
548
548
  args: [F_CONNECTION]
549
- }] }]; } });
549
+ }] }] });
550
550
 
551
551
  class FConnectionSelectionComponent {
552
552
  get connectionForSelectionId() {
@@ -562,10 +562,10 @@ class FConnectionSelectionComponent {
562
562
  setPath(path) {
563
563
  this.hostElement.setAttribute("d", `${path}`);
564
564
  }
565
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FConnectionSelectionComponent, deps: [{ token: i0.ElementRef }, { token: F_CONNECTION }], target: i0.ɵɵFactoryTarget.Component }); }
566
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.5", type: FConnectionSelectionComponent, selector: "path[fConnectionSelection]", host: { properties: { "attr.id": "connectionForSelectionId" }, classAttribute: "f-component f-connection-selection" }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
565
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FConnectionSelectionComponent, deps: [{ token: i0.ElementRef }, { token: F_CONNECTION }], target: i0.ɵɵFactoryTarget.Component }); }
566
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.9", type: FConnectionSelectionComponent, selector: "path[fConnectionSelection]", host: { properties: { "attr.id": "connectionForSelectionId" }, classAttribute: "f-component f-connection-selection" }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
567
567
  }
568
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FConnectionSelectionComponent, decorators: [{
568
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FConnectionSelectionComponent, decorators: [{
569
569
  type: Component,
570
570
  args: [{
571
571
  selector: "path[fConnectionSelection]",
@@ -576,10 +576,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImpor
576
576
  '[attr.id]': 'connectionForSelectionId',
577
577
  },
578
578
  }]
579
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: undefined, decorators: [{
579
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: undefined, decorators: [{
580
580
  type: Inject,
581
581
  args: [F_CONNECTION]
582
- }] }]; } });
582
+ }] }] });
583
583
 
584
584
  const F_SELECTED_CLASS = 'f-selected';
585
585
  function mixinChangeConnectionSelection(base) {
@@ -846,9 +846,23 @@ class FConnectionBase extends MIXIN_BASE$1 {
846
846
  this.fLabel?.nativeElement?.setAttribute('x', `${pathResult.labelX}`);
847
847
  this.fLabel?.nativeElement?.setAttribute('y', `${pathResult.labelY}`);
848
848
  }
849
- setMarkers(markers) {
849
+ setMarkers() {
850
850
  this.fDefs.nativeElement.innerHTML = '';
851
- markers.forEach((marker) => this.fDefs.nativeElement.appendChild(marker));
851
+ this.fMarkers.forEach((marker) => {
852
+ const markerElement = DomElementExtensions.createSvgElement('marker');
853
+ markerElement.setAttribute('id', getFlowUid() + '-' + marker.type + '-' + this.id);
854
+ markerElement.setAttribute('markerHeight', `${marker.height}`);
855
+ markerElement.setAttribute('markerWidth', `${marker.width}`);
856
+ markerElement.setAttribute('orient', 'auto');
857
+ markerElement.setAttribute('refX', `${marker.refX}`);
858
+ markerElement.setAttribute('refY', `${marker.refY}`);
859
+ markerElement.setAttribute('markerUnits', 'strokeWidth');
860
+ markerElement.innerHTML = marker.hostElement.innerHTML;
861
+ this.fDefs.nativeElement.appendChild(markerElement);
862
+ });
863
+ this.fMarkers.forEach((marker) => {
864
+ marker.hostElement.remove();
865
+ });
852
866
  }
853
867
  redraw() {
854
868
  this.fPath.setPath(this.path);
@@ -857,12 +871,12 @@ class FConnectionBase extends MIXIN_BASE$1 {
857
871
  this.fDragHandle.redraw(this.vector.point2);
858
872
  this.fText.redraw(this.vector);
859
873
  }
860
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FConnectionBase, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
861
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.5", type: FConnectionBase, usesInheritance: true, ngImport: i0 }); }
874
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FConnectionBase, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
875
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.9", type: FConnectionBase, usesInheritance: true, ngImport: i0 }); }
862
876
  }
863
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FConnectionBase, decorators: [{
877
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FConnectionBase, decorators: [{
864
878
  type: Directive
865
- }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
879
+ }], ctorParameters: () => [{ type: i0.ElementRef }] });
866
880
 
867
881
  var EConnectionBehavior;
868
882
  (function (EConnectionBehavior) {
@@ -886,6 +900,58 @@ function castToConnectionType(type) {
886
900
  return result;
887
901
  }
888
902
 
903
+ var EFMarkerType;
904
+ (function (EFMarkerType) {
905
+ EFMarkerType["START"] = "f-connection-marker-start";
906
+ EFMarkerType["END"] = "f-connection-marker-end";
907
+ EFMarkerType["SELECTED_START"] = "selected_start";
908
+ EFMarkerType["SELECTED_END"] = "selected_end";
909
+ })(EFMarkerType || (EFMarkerType = {}));
910
+
911
+ const F_MARKER = new InjectionToken('F_MARKER');
912
+ class FMarkerBase {
913
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FMarkerBase, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
914
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.9", type: FMarkerBase, ngImport: i0 }); }
915
+ }
916
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FMarkerBase, decorators: [{
917
+ type: Directive
918
+ }] });
919
+
920
+ class FMarkerComponent extends FMarkerBase {
921
+ get hostElement() {
922
+ return this.elementReference.nativeElement;
923
+ }
924
+ constructor(elementReference) {
925
+ super();
926
+ this.elementReference = elementReference;
927
+ this.width = 0;
928
+ this.height = 0;
929
+ this.refX = 0;
930
+ this.refY = 0;
931
+ this.type = EFMarkerType.START;
932
+ }
933
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FMarkerComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
934
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.9", type: FMarkerComponent, isStandalone: true, selector: "f-marker", inputs: { hostElement: "hostElement", width: "width", height: "height", refX: "refX", refY: "refY", type: "type" }, host: { classAttribute: "f-component f-marker" }, providers: [{ provide: F_MARKER, useExisting: FMarkerComponent }], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [":host{display:none}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
935
+ }
936
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FMarkerComponent, decorators: [{
937
+ type: Component,
938
+ args: [{ selector: "f-marker", standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, host: {
939
+ class: "f-component f-marker",
940
+ }, providers: [{ provide: F_MARKER, useExisting: FMarkerComponent }], template: "<ng-content></ng-content>\n", styles: [":host{display:none}\n"] }]
941
+ }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { hostElement: [{
942
+ type: Input
943
+ }], width: [{
944
+ type: Input
945
+ }], height: [{
946
+ type: Input
947
+ }], refX: [{
948
+ type: Input
949
+ }], refY: [{
950
+ type: Input
951
+ }], type: [{
952
+ type: Input
953
+ }] } });
954
+
889
955
  let uniqueId$7 = 0;
890
956
  class FConnectionForCreateComponent extends FConnectionBase {
891
957
  set behavior(value) {
@@ -923,15 +989,15 @@ class FConnectionForCreateComponent extends FConnectionBase {
923
989
  ngOnDestroy() {
924
990
  this.fComponentsStore.fTempConnection = undefined;
925
991
  }
926
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FConnectionForCreateComponent, deps: [{ token: i0.ElementRef }, { token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Component }); }
927
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.5", type: FConnectionForCreateComponent, selector: "f-connection-for-create", inputs: { startColor: "startColor", endColor: "endColor", behavior: "behavior", type: "type", disabled: "disabled" }, host: { classAttribute: "f-component f-connection f-connection-for-create" }, providers: [{ provide: F_CONNECTION, useExisting: FConnectionForCreateComponent }], viewQueries: [{ propertyName: "fDefs", first: true, predicate: ["defs"], descendants: true, static: true }, { propertyName: "fPath", first: true, predicate: CONNECTION_PATH, descendants: true, static: true }, { propertyName: "fGradient", first: true, predicate: CONNECTION_GRADIENT, descendants: true, static: true }, { propertyName: "fDragHandle", first: true, predicate: FConnectionDragHandleComponent, descendants: true, static: true }, { propertyName: "fSelection", first: true, predicate: FConnectionSelectionComponent, descendants: true, static: true }, { propertyName: "fText", first: true, predicate: CONNECTION_TEXT, descendants: true, static: true }, { propertyName: "fLabel", first: true, predicate: ["rect"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<svg xmlns=\"http://www.w3.org/2000/svg\">\n <defs #defs></defs>\n <g class=\"f-connection-group\">\n <linearGradient fConnectionGradient></linearGradient>\n <path fConnectionSelection [attr.d]=\"path\"></path>\n <g>\n <path f-connection-path\n [attr.d]=\"path\">\n </path>\n <circle f-connection-drag-handle r=\"8\"></circle>\n <!-- <rect #rect height=\"20\" width=\"100\" fill=\"red\"></rect>-->\n </g>\n <text f-connection-text></text>\n </g>\n</svg>\n", styles: [":host{pointer-events:none;position:absolute}:host svg{overflow:visible}:host svg .f-connection-group{pointer-events:all}\n"], dependencies: [{ kind: "component", type: FConnectionDragHandleComponent, selector: "circle[f-connection-drag-handle]" }, { kind: "component", type: FConnectionGradientComponent, selector: "linearGradient[fConnectionGradient]" }, { kind: "component", type: FConnectionPathComponent, selector: "path[f-connection-path]" }, { kind: "component", type: FConnectionTextComponent, selector: "text[f-connection-text]" }, { kind: "component", type: FConnectionSelectionComponent, selector: "path[fConnectionSelection]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
992
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FConnectionForCreateComponent, deps: [{ token: i0.ElementRef }, { token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Component }); }
993
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.9", type: FConnectionForCreateComponent, selector: "f-connection-for-create", inputs: { startColor: "startColor", endColor: "endColor", behavior: "behavior", type: "type", disabled: "disabled" }, host: { classAttribute: "f-component f-connection f-connection-for-create" }, providers: [{ provide: F_CONNECTION, useExisting: FConnectionForCreateComponent }], queries: [{ propertyName: "fMarkers", predicate: F_MARKER, descendants: true }], viewQueries: [{ propertyName: "fDefs", first: true, predicate: ["defs"], descendants: true, static: true }, { propertyName: "fPath", first: true, predicate: CONNECTION_PATH, descendants: true, static: true }, { propertyName: "fGradient", first: true, predicate: CONNECTION_GRADIENT, descendants: true, static: true }, { propertyName: "fDragHandle", first: true, predicate: FConnectionDragHandleComponent, descendants: true, static: true }, { propertyName: "fSelection", first: true, predicate: FConnectionSelectionComponent, descendants: true, static: true }, { propertyName: "fText", first: true, predicate: CONNECTION_TEXT, descendants: true, static: true }, { propertyName: "fLabel", first: true, predicate: ["rect"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<svg xmlns=\"http://www.w3.org/2000/svg\">\n <defs #defs></defs>\n <g class=\"f-connection-group\">\n <linearGradient fConnectionGradient></linearGradient>\n <path fConnectionSelection [attr.d]=\"path\"></path>\n <g>\n <path f-connection-path\n [attr.d]=\"path\">\n </path>\n <circle f-connection-drag-handle r=\"8\"></circle>\n <!-- <rect #rect height=\"20\" width=\"100\" fill=\"red\"></rect>-->\n </g>\n <text f-connection-text></text>\n </g>\n <ng-content></ng-content>\n</svg>\n", styles: [":host{pointer-events:none;position:absolute}:host svg{overflow:visible}:host svg .f-connection-group{pointer-events:all}\n"], dependencies: [{ kind: "component", type: FConnectionDragHandleComponent, selector: "circle[f-connection-drag-handle]" }, { kind: "component", type: FConnectionGradientComponent, selector: "linearGradient[fConnectionGradient]" }, { kind: "component", type: FConnectionPathComponent, selector: "path[f-connection-path]" }, { kind: "component", type: FConnectionTextComponent, selector: "text[f-connection-text]" }, { kind: "component", type: FConnectionSelectionComponent, selector: "path[fConnectionSelection]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
928
994
  }
929
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FConnectionForCreateComponent, decorators: [{
995
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FConnectionForCreateComponent, decorators: [{
930
996
  type: Component,
931
997
  args: [{ selector: "f-connection-for-create", changeDetection: ChangeDetectionStrategy.OnPush, host: {
932
998
  class: "f-component f-connection f-connection-for-create"
933
- }, providers: [{ provide: F_CONNECTION, useExisting: FConnectionForCreateComponent }], template: "<svg xmlns=\"http://www.w3.org/2000/svg\">\n <defs #defs></defs>\n <g class=\"f-connection-group\">\n <linearGradient fConnectionGradient></linearGradient>\n <path fConnectionSelection [attr.d]=\"path\"></path>\n <g>\n <path f-connection-path\n [attr.d]=\"path\">\n </path>\n <circle f-connection-drag-handle r=\"8\"></circle>\n <!-- <rect #rect height=\"20\" width=\"100\" fill=\"red\"></rect>-->\n </g>\n <text f-connection-text></text>\n </g>\n</svg>\n", styles: [":host{pointer-events:none;position:absolute}:host svg{overflow:visible}:host svg .f-connection-group{pointer-events:all}\n"] }]
934
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: FComponentsStore }]; }, propDecorators: { startColor: [{
999
+ }, providers: [{ provide: F_CONNECTION, useExisting: FConnectionForCreateComponent }], template: "<svg xmlns=\"http://www.w3.org/2000/svg\">\n <defs #defs></defs>\n <g class=\"f-connection-group\">\n <linearGradient fConnectionGradient></linearGradient>\n <path fConnectionSelection [attr.d]=\"path\"></path>\n <g>\n <path f-connection-path\n [attr.d]=\"path\">\n </path>\n <circle f-connection-drag-handle r=\"8\"></circle>\n <!-- <rect #rect height=\"20\" width=\"100\" fill=\"red\"></rect>-->\n </g>\n <text f-connection-text></text>\n </g>\n <ng-content></ng-content>\n</svg>\n", styles: [":host{pointer-events:none;position:absolute}:host svg{overflow:visible}:host svg .f-connection-group{pointer-events:all}\n"] }]
1000
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: FComponentsStore }], propDecorators: { startColor: [{
935
1001
  type: Input
936
1002
  }], endColor: [{
937
1003
  type: Input
@@ -944,6 +1010,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImpor
944
1010
  }], fDefs: [{
945
1011
  type: ViewChild,
946
1012
  args: ['defs', { static: true }]
1013
+ }], fMarkers: [{
1014
+ type: ContentChildren,
1015
+ args: [F_MARKER, { descendants: true }]
947
1016
  }], fPath: [{
948
1017
  type: ViewChild,
949
1018
  args: [CONNECTION_PATH, { static: true }]
@@ -998,16 +1067,17 @@ class FConnectionComponent extends FConnectionBase {
998
1067
  ngOnDestroy() {
999
1068
  this.fComponentsStore.removeConnection(this);
1000
1069
  }
1001
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FConnectionComponent, deps: [{ token: i0.ElementRef }, { token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Component }); }
1002
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.5", type: FConnectionComponent, selector: "f-connection", inputs: { id: "id", text: "text", startColor: "startColor", endColor: "endColor", outputId: "outputId", inputId: "inputId", behavior: "behavior", type: "type", disabled: "disabled" }, host: { properties: { "attr.id": "id" }, classAttribute: "f-component f-connection" }, providers: [{ provide: F_CONNECTION, useExisting: FConnectionComponent }], viewQueries: [{ propertyName: "fDefs", first: true, predicate: ["defs"], descendants: true, static: true }, { propertyName: "fPath", first: true, predicate: CONNECTION_PATH, descendants: true, static: true }, { propertyName: "fGradient", first: true, predicate: CONNECTION_GRADIENT, descendants: true, static: true }, { propertyName: "fDragHandle", first: true, predicate: FConnectionDragHandleComponent, descendants: true, static: true }, { propertyName: "fSelection", first: true, predicate: FConnectionSelectionComponent, descendants: true, static: true }, { propertyName: "fText", first: true, predicate: CONNECTION_TEXT, descendants: true, static: true }, { propertyName: "fLabel", first: true, predicate: ["rect"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<svg xmlns=\"http://www.w3.org/2000/svg\" style=\"overflow: visible; display: block; vertical-align: middle;\">\n <defs #defs></defs>\n <g class=\"f-connection-group\">\n <linearGradient fConnectionGradient></linearGradient>\n <path fConnectionSelection [attr.d]=\"path\"></path>\n <g>\n <path f-connection-path\n [attr.d]=\"path\">\n </path>\n <circle f-connection-drag-handle r=\"8\"></circle>\n<!-- <rect #rect height=\"20\" width=\"100\" fill=\"red\"></rect>-->\n </g>\n <text f-connection-text></text>\n </g>\n\n</svg>\n", styles: [":host{pointer-events:none;position:absolute}:host svg{overflow:visible}:host svg .f-connection-group{pointer-events:all}\n"], dependencies: [{ kind: "component", type: FConnectionDragHandleComponent, selector: "circle[f-connection-drag-handle]" }, { kind: "component", type: FConnectionGradientComponent, selector: "linearGradient[fConnectionGradient]" }, { kind: "component", type: FConnectionPathComponent, selector: "path[f-connection-path]" }, { kind: "component", type: FConnectionTextComponent, selector: "text[f-connection-text]" }, { kind: "component", type: FConnectionSelectionComponent, selector: "path[fConnectionSelection]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1070
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FConnectionComponent, deps: [{ token: i0.ElementRef }, { token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Component }); }
1071
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.9", type: FConnectionComponent, selector: "f-connection", inputs: { id: "id", text: "text", startColor: "startColor", endColor: "endColor", outputId: "outputId", inputId: "inputId", behavior: "behavior", type: "type", disabled: "disabled" }, host: { properties: { "attr.id": "id", "class.f-connection-disabled": "disabled" }, classAttribute: "f-component f-connection" }, providers: [{ provide: F_CONNECTION, useExisting: FConnectionComponent }], queries: [{ propertyName: "fMarkers", predicate: F_MARKER, descendants: true }], viewQueries: [{ propertyName: "fDefs", first: true, predicate: ["defs"], descendants: true, static: true }, { propertyName: "fPath", first: true, predicate: CONNECTION_PATH, descendants: true, static: true }, { propertyName: "fGradient", first: true, predicate: CONNECTION_GRADIENT, descendants: true, static: true }, { propertyName: "fDragHandle", first: true, predicate: FConnectionDragHandleComponent, descendants: true, static: true }, { propertyName: "fSelection", first: true, predicate: FConnectionSelectionComponent, descendants: true, static: true }, { propertyName: "fText", first: true, predicate: CONNECTION_TEXT, descendants: true, static: true }, { propertyName: "fLabel", first: true, predicate: ["rect"], descendants: true, static: true }], exportAs: ["fComponent"], usesInheritance: true, ngImport: i0, template: "<svg xmlns=\"http://www.w3.org/2000/svg\" style=\"overflow: visible; display: block; vertical-align: middle;\">\n <defs #defs></defs>\n <g class=\"f-connection-group\">\n <linearGradient fConnectionGradient></linearGradient>\n <path fConnectionSelection [attr.d]=\"path\"></path>\n <g>\n <path f-connection-path\n [attr.d]=\"path\">\n </path>\n <circle f-connection-drag-handle r=\"8\"></circle>\n <!-- <rect #rect height=\"20\" width=\"100\" fill=\"red\"></rect>-->\n </g>\n <text f-connection-text></text>\n </g>\n <ng-content></ng-content>\n</svg>\n", styles: [":host{pointer-events:none;position:absolute}:host svg{overflow:visible}:host svg .f-connection-group{pointer-events:all}\n"], dependencies: [{ kind: "component", type: FConnectionDragHandleComponent, selector: "circle[f-connection-drag-handle]" }, { kind: "component", type: FConnectionGradientComponent, selector: "linearGradient[fConnectionGradient]" }, { kind: "component", type: FConnectionPathComponent, selector: "path[f-connection-path]" }, { kind: "component", type: FConnectionTextComponent, selector: "text[f-connection-text]" }, { kind: "component", type: FConnectionSelectionComponent, selector: "path[fConnectionSelection]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1003
1072
  }
1004
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FConnectionComponent, decorators: [{
1073
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FConnectionComponent, decorators: [{
1005
1074
  type: Component,
1006
- args: [{ selector: "f-connection", changeDetection: ChangeDetectionStrategy.OnPush, host: {
1075
+ args: [{ selector: "f-connection", exportAs: 'fComponent', changeDetection: ChangeDetectionStrategy.OnPush, host: {
1007
1076
  '[attr.id]': 'id',
1008
- class: "f-component f-connection"
1009
- }, providers: [{ provide: F_CONNECTION, useExisting: FConnectionComponent }], template: "<svg xmlns=\"http://www.w3.org/2000/svg\" style=\"overflow: visible; display: block; vertical-align: middle;\">\n <defs #defs></defs>\n <g class=\"f-connection-group\">\n <linearGradient fConnectionGradient></linearGradient>\n <path fConnectionSelection [attr.d]=\"path\"></path>\n <g>\n <path f-connection-path\n [attr.d]=\"path\">\n </path>\n <circle f-connection-drag-handle r=\"8\"></circle>\n<!-- <rect #rect height=\"20\" width=\"100\" fill=\"red\"></rect>-->\n </g>\n <text f-connection-text></text>\n </g>\n\n</svg>\n", styles: [":host{pointer-events:none;position:absolute}:host svg{overflow:visible}:host svg .f-connection-group{pointer-events:all}\n"] }]
1010
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: FComponentsStore }]; }, propDecorators: { id: [{
1077
+ class: "f-component f-connection",
1078
+ '[class.f-connection-disabled]': 'disabled',
1079
+ }, providers: [{ provide: F_CONNECTION, useExisting: FConnectionComponent }], template: "<svg xmlns=\"http://www.w3.org/2000/svg\" style=\"overflow: visible; display: block; vertical-align: middle;\">\n <defs #defs></defs>\n <g class=\"f-connection-group\">\n <linearGradient fConnectionGradient></linearGradient>\n <path fConnectionSelection [attr.d]=\"path\"></path>\n <g>\n <path f-connection-path\n [attr.d]=\"path\">\n </path>\n <circle f-connection-drag-handle r=\"8\"></circle>\n <!-- <rect #rect height=\"20\" width=\"100\" fill=\"red\"></rect>-->\n </g>\n <text f-connection-text></text>\n </g>\n <ng-content></ng-content>\n</svg>\n", styles: [":host{pointer-events:none;position:absolute}:host svg{overflow:visible}:host svg .f-connection-group{pointer-events:all}\n"] }]
1080
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: FComponentsStore }], propDecorators: { id: [{
1011
1081
  type: Input
1012
1082
  }], text: [{
1013
1083
  type: Input
@@ -1028,6 +1098,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImpor
1028
1098
  }], fDefs: [{
1029
1099
  type: ViewChild,
1030
1100
  args: ['defs', { static: true }]
1101
+ }], fMarkers: [{
1102
+ type: ContentChildren,
1103
+ args: [F_MARKER, { descendants: true }]
1031
1104
  }], fPath: [{
1032
1105
  type: ViewChild,
1033
1106
  args: [CONNECTION_PATH, { static: true }]
@@ -1082,10 +1155,10 @@ class GetConnectionVectorHandler {
1082
1155
  point2: point2,
1083
1156
  };
1084
1157
  }
1085
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: GetConnectionVectorHandler, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1086
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: GetConnectionVectorHandler }); }
1158
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: GetConnectionVectorHandler, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1159
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: GetConnectionVectorHandler }); }
1087
1160
  }
1088
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: GetConnectionVectorHandler, decorators: [{
1161
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: GetConnectionVectorHandler, decorators: [{
1089
1162
  type: Injectable
1090
1163
  }] });
1091
1164
  const positionFixedOutbound = {
@@ -1147,12 +1220,12 @@ class GetAllNodesRectHandler {
1147
1220
  const result = RectExtensions.union(rects);
1148
1221
  return result;
1149
1222
  }
1150
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: GetAllNodesRectHandler, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable }); }
1151
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: GetAllNodesRectHandler }); }
1223
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: GetAllNodesRectHandler, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable }); }
1224
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: GetAllNodesRectHandler }); }
1152
1225
  }
1153
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: GetAllNodesRectHandler, decorators: [{
1226
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: GetAllNodesRectHandler, decorators: [{
1154
1227
  type: Injectable
1155
- }], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
1228
+ }], ctorParameters: () => [{ type: FComponentsStore }] });
1156
1229
 
1157
1230
  class GetConnectionHandler {
1158
1231
  get fConnections() {
@@ -1165,12 +1238,12 @@ class GetConnectionHandler {
1165
1238
  const result = this.fConnections.find(c => c.isContains(element));
1166
1239
  return result;
1167
1240
  }
1168
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: GetConnectionHandler, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable }); }
1169
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: GetConnectionHandler }); }
1241
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: GetConnectionHandler, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable }); }
1242
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: GetConnectionHandler }); }
1170
1243
  }
1171
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: GetConnectionHandler, decorators: [{
1244
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: GetConnectionHandler, decorators: [{
1172
1245
  type: Injectable
1173
- }], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
1246
+ }], ctorParameters: () => [{ type: FComponentsStore }] });
1174
1247
 
1175
1248
  class GetElementRectInFlowHandler {
1176
1249
  get transform() {
@@ -1189,12 +1262,12 @@ class GetElementRectInFlowHandler {
1189
1262
  const result = RectExtensions.initialize(position.x, position.y, size.width, size.height);
1190
1263
  return result;
1191
1264
  }
1192
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: GetElementRectInFlowHandler, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable }); }
1193
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: GetElementRectInFlowHandler }); }
1265
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: GetElementRectInFlowHandler, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable }); }
1266
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: GetElementRectInFlowHandler }); }
1194
1267
  }
1195
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: GetElementRectInFlowHandler, decorators: [{
1268
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: GetElementRectInFlowHandler, decorators: [{
1196
1269
  type: Injectable
1197
- }], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
1270
+ }], ctorParameters: () => [{ type: FComponentsStore }] });
1198
1271
 
1199
1272
  class GetIncomingConnectionsHandler {
1200
1273
  get fConnections() {
@@ -1209,12 +1282,12 @@ class GetIncomingConnectionsHandler {
1209
1282
  return inputsIds.includes(x.inputId);
1210
1283
  });
1211
1284
  }
1212
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: GetIncomingConnectionsHandler, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable }); }
1213
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: GetIncomingConnectionsHandler }); }
1285
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: GetIncomingConnectionsHandler, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable }); }
1286
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: GetIncomingConnectionsHandler }); }
1214
1287
  }
1215
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: GetIncomingConnectionsHandler, decorators: [{
1288
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: GetIncomingConnectionsHandler, decorators: [{
1216
1289
  type: Injectable
1217
- }], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
1290
+ }], ctorParameters: () => [{ type: FComponentsStore }] });
1218
1291
 
1219
1292
  class GetOutgoingConnectionsHandler {
1220
1293
  get fConnections() {
@@ -1229,12 +1302,12 @@ class GetOutgoingConnectionsHandler {
1229
1302
  return outputsIds.includes(x.outputId);
1230
1303
  });
1231
1304
  }
1232
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: GetOutgoingConnectionsHandler, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable }); }
1233
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: GetOutgoingConnectionsHandler }); }
1305
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: GetOutgoingConnectionsHandler, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable }); }
1306
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: GetOutgoingConnectionsHandler }); }
1234
1307
  }
1235
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: GetOutgoingConnectionsHandler, decorators: [{
1308
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: GetOutgoingConnectionsHandler, decorators: [{
1236
1309
  type: Injectable
1237
- }], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
1310
+ }], ctorParameters: () => [{ type: FComponentsStore }] });
1238
1311
 
1239
1312
  class GetInputRectInFlowHandler {
1240
1313
  constructor(fComponentsStore, getElementRectInFlowHandler) {
@@ -1249,12 +1322,12 @@ class GetInputRectInFlowHandler {
1249
1322
  const result = this.getElementRectInFlowHandler.handle(input.hostElement);
1250
1323
  return { rect: result, side: input.side };
1251
1324
  }
1252
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: GetInputRectInFlowHandler, deps: [{ token: FComponentsStore }, { token: GetElementRectInFlowHandler }], target: i0.ɵɵFactoryTarget.Injectable }); }
1253
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: GetInputRectInFlowHandler }); }
1325
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: GetInputRectInFlowHandler, deps: [{ token: FComponentsStore }, { token: GetElementRectInFlowHandler }], target: i0.ɵɵFactoryTarget.Injectable }); }
1326
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: GetInputRectInFlowHandler }); }
1254
1327
  }
1255
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: GetInputRectInFlowHandler, decorators: [{
1328
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: GetInputRectInFlowHandler, decorators: [{
1256
1329
  type: Injectable
1257
- }], ctorParameters: function () { return [{ type: FComponentsStore }, { type: GetElementRectInFlowHandler }]; } });
1330
+ }], ctorParameters: () => [{ type: FComponentsStore }, { type: GetElementRectInFlowHandler }] });
1258
1331
 
1259
1332
  class GetOutputRectInFlowHandler {
1260
1333
  constructor(fComponentsStore, getElementRectInFlowHandler) {
@@ -1269,12 +1342,12 @@ class GetOutputRectInFlowHandler {
1269
1342
  const result = this.getElementRectInFlowHandler.handle(output.hostElement);
1270
1343
  return { rect: result, side: output.side };
1271
1344
  }
1272
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: GetOutputRectInFlowHandler, deps: [{ token: FComponentsStore }, { token: GetElementRectInFlowHandler }], target: i0.ɵɵFactoryTarget.Injectable }); }
1273
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: GetOutputRectInFlowHandler }); }
1345
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: GetOutputRectInFlowHandler, deps: [{ token: FComponentsStore }, { token: GetElementRectInFlowHandler }], target: i0.ɵɵFactoryTarget.Injectable }); }
1346
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: GetOutputRectInFlowHandler }); }
1274
1347
  }
1275
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: GetOutputRectInFlowHandler, decorators: [{
1348
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: GetOutputRectInFlowHandler, decorators: [{
1276
1349
  type: Injectable
1277
- }], ctorParameters: function () { return [{ type: FComponentsStore }, { type: GetElementRectInFlowHandler }]; } });
1350
+ }], ctorParameters: () => [{ type: FComponentsStore }, { type: GetElementRectInFlowHandler }] });
1278
1351
 
1279
1352
  class UpdateNodeLayerHandler {
1280
1353
  get fNodesContainer() {
@@ -1295,12 +1368,12 @@ class UpdateNodeLayerHandler {
1295
1368
  });
1296
1369
  }
1297
1370
  }
1298
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: UpdateNodeLayerHandler, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable }); }
1299
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: UpdateNodeLayerHandler }); }
1371
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: UpdateNodeLayerHandler, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable }); }
1372
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: UpdateNodeLayerHandler }); }
1300
1373
  }
1301
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: UpdateNodeLayerHandler, decorators: [{
1374
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: UpdateNodeLayerHandler, decorators: [{
1302
1375
  type: Injectable
1303
- }], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
1376
+ }], ctorParameters: () => [{ type: FComponentsStore }] });
1304
1377
 
1305
1378
  const COMMON_PROVIDERS = [
1306
1379
  GetAllNodesRectHandler,
@@ -1336,10 +1409,10 @@ class FNodeInputBase extends FConnectorBase {
1336
1409
  get canBeConnected() {
1337
1410
  return !this.disabled && (this.multiple ? true : !this.isConnected);
1338
1411
  }
1339
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FNodeInputBase, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
1340
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.5", type: FNodeInputBase, usesInheritance: true, ngImport: i0 }); }
1412
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FNodeInputBase, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
1413
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.9", type: FNodeInputBase, usesInheritance: true, ngImport: i0 }); }
1341
1414
  }
1342
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FNodeInputBase, decorators: [{
1415
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FNodeInputBase, decorators: [{
1343
1416
  type: Directive
1344
1417
  }] });
1345
1418
 
@@ -1416,13 +1489,14 @@ class FNodeInputDirective extends FNodeInputBase {
1416
1489
  this.fNode.removeConnector(this);
1417
1490
  this.fComponentsStore.removeInput(this);
1418
1491
  }
1419
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FNodeInputDirective, deps: [{ token: i0.ElementRef }, { token: F_NODE }, { token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Directive }); }
1420
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.5", type: FNodeInputDirective, selector: "[fNodeInput]", inputs: { id: ["fNodeInputId", "id"], multiple: ["fNodeInputMultiple", "multiple"], disabled: ["fNodeInputDisabled", "disabled"] }, host: { properties: { "attr.id": "id", "class.f-node-input-multiple": "multiple", "class.f-node-input-disabled": "disabled", "class.f-node-input-not-connectable": "!canBeConnected" }, classAttribute: "f-component f-node-input" }, providers: [{ provide: F_NODE_INPUT, useExisting: FNodeInputDirective }], usesInheritance: true, ngImport: i0 }); }
1492
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FNodeInputDirective, deps: [{ token: i0.ElementRef }, { token: F_NODE }, { token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Directive }); }
1493
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.9", type: FNodeInputDirective, selector: "[fNodeInput]", inputs: { id: ["fNodeInputId", "id"], multiple: ["fNodeInputMultiple", "multiple"], disabled: ["fNodeInputDisabled", "disabled"] }, host: { properties: { "attr.id": "id", "class.f-node-input-multiple": "multiple", "class.f-node-input-disabled": "disabled", "class.f-node-input-not-connectable": "!canBeConnected" }, classAttribute: "f-component f-node-input" }, providers: [{ provide: F_NODE_INPUT, useExisting: FNodeInputDirective }], exportAs: ["fNodeInput"], usesInheritance: true, ngImport: i0 }); }
1421
1494
  }
1422
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FNodeInputDirective, decorators: [{
1495
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FNodeInputDirective, decorators: [{
1423
1496
  type: Directive,
1424
1497
  args: [{
1425
1498
  selector: "[fNodeInput]",
1499
+ exportAs: 'fNodeInput',
1426
1500
  host: {
1427
1501
  '[attr.id]': 'id',
1428
1502
  class: "f-component f-node-input",
@@ -1432,10 +1506,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImpor
1432
1506
  },
1433
1507
  providers: [{ provide: F_NODE_INPUT, useExisting: FNodeInputDirective }],
1434
1508
  }]
1435
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: FNodeBase, decorators: [{
1509
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: FNodeBase, decorators: [{
1436
1510
  type: Inject,
1437
1511
  args: [F_NODE]
1438
- }] }, { type: FComponentsStore }]; }, propDecorators: { id: [{
1512
+ }] }, { type: FComponentsStore }], propDecorators: { id: [{
1439
1513
  type: Input,
1440
1514
  args: ['fNodeInputId']
1441
1515
  }], multiple: [{
@@ -1459,10 +1533,10 @@ class FNodeOutletBase extends FConnectorBase {
1459
1533
  setOutputs(outputs) {
1460
1534
  this.outputs = outputs;
1461
1535
  }
1462
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FNodeOutletBase, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
1463
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.5", type: FNodeOutletBase, usesInheritance: true, ngImport: i0 }); }
1536
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FNodeOutletBase, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
1537
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.9", type: FNodeOutletBase, usesInheritance: true, ngImport: i0 }); }
1464
1538
  }
1465
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FNodeOutletBase, decorators: [{
1539
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FNodeOutletBase, decorators: [{
1466
1540
  type: Directive
1467
1541
  }] });
1468
1542
 
@@ -1503,13 +1577,14 @@ class FNodeOutletDirective extends FNodeOutletBase {
1503
1577
  ngOnDestroy() {
1504
1578
  this.fComponentsStore.removeOutlet(this);
1505
1579
  }
1506
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FNodeOutletDirective, deps: [{ token: i0.ElementRef }, { token: F_NODE }, { token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Directive }); }
1507
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.5", type: FNodeOutletDirective, selector: "[fNodeOutlet]", inputs: { id: "id", disabled: ["fNodeOutletDisabled", "disabled"], isConnectionFromOutlet: "isConnectionFromOutlet" }, host: { properties: { "attr.id": "id", "class.f-node-outlet-disabled": "disabled" }, classAttribute: "f-component f-node-outlet" }, providers: [{ provide: F_NODE_OUTLET, useExisting: FNodeOutletDirective }], usesInheritance: true, ngImport: i0 }); }
1580
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FNodeOutletDirective, deps: [{ token: i0.ElementRef }, { token: F_NODE }, { token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Directive }); }
1581
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.9", type: FNodeOutletDirective, selector: "[fNodeOutlet]", inputs: { id: ["fNodeOutletId", "id"], disabled: ["fNodeOutletDisabled", "disabled"], isConnectionFromOutlet: "isConnectionFromOutlet" }, host: { properties: { "attr.id": "id", "class.f-node-outlet-disabled": "disabled" }, classAttribute: "f-component f-node-outlet" }, providers: [{ provide: F_NODE_OUTLET, useExisting: FNodeOutletDirective }], exportAs: ["fNodeOutlet"], usesInheritance: true, ngImport: i0 }); }
1508
1582
  }
1509
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FNodeOutletDirective, decorators: [{
1583
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FNodeOutletDirective, decorators: [{
1510
1584
  type: Directive,
1511
1585
  args: [{
1512
1586
  selector: "[fNodeOutlet]",
1587
+ exportAs: 'fNodeOutlet',
1513
1588
  host: {
1514
1589
  '[attr.id]': 'id',
1515
1590
  class: "f-component f-node-outlet",
@@ -1517,11 +1592,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImpor
1517
1592
  },
1518
1593
  providers: [{ provide: F_NODE_OUTLET, useExisting: FNodeOutletDirective }],
1519
1594
  }]
1520
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: FNodeBase, decorators: [{
1595
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: FNodeBase, decorators: [{
1521
1596
  type: Inject,
1522
1597
  args: [F_NODE]
1523
- }] }, { type: FComponentsStore }]; }, propDecorators: { id: [{
1524
- type: Input
1598
+ }] }, { type: FComponentsStore }], propDecorators: { id: [{
1599
+ type: Input,
1600
+ args: ['fNodeOutletId']
1525
1601
  }], disabled: [{
1526
1602
  type: Input,
1527
1603
  args: ['fNodeOutletDisabled']
@@ -1538,10 +1614,10 @@ class FNodeOutputBase extends FConnectorBase {
1538
1614
  get canBeConnected() {
1539
1615
  return !this.disabled && !this.isConnected;
1540
1616
  }
1541
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FNodeOutputBase, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
1542
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.5", type: FNodeOutputBase, usesInheritance: true, ngImport: i0 }); }
1617
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FNodeOutputBase, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
1618
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.9", type: FNodeOutputBase, usesInheritance: true, ngImport: i0 }); }
1543
1619
  }
1544
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FNodeOutputBase, decorators: [{
1620
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FNodeOutputBase, decorators: [{
1545
1621
  type: Directive
1546
1622
  }] });
1547
1623
 
@@ -1588,13 +1664,14 @@ class FNodeOutputDirective extends FNodeOutputBase {
1588
1664
  this.fNode.removeConnector(this);
1589
1665
  this.fComponentsStore.removeOutput(this);
1590
1666
  }
1591
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FNodeOutputDirective, deps: [{ token: i0.ElementRef }, { token: F_NODE }, { token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Directive }); }
1592
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.5", type: FNodeOutputDirective, selector: "[fNodeOutput]", inputs: { id: ["fNodeOutputId", "id"], disabled: ["fNodeOutputDisabled", "disabled"] }, host: { properties: { "attr.id": "id", "class.f-node-output-disabled": "disabled" }, classAttribute: "f-component f-node-output" }, providers: [{ provide: F_NODE_OUTPUT, useExisting: FNodeOutputDirective }], usesInheritance: true, ngImport: i0 }); }
1667
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FNodeOutputDirective, deps: [{ token: i0.ElementRef }, { token: F_NODE }, { token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Directive }); }
1668
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.9", type: FNodeOutputDirective, selector: "[fNodeOutput]", inputs: { id: ["fNodeOutputId", "id"], disabled: ["fNodeOutputDisabled", "disabled"] }, host: { properties: { "attr.id": "id", "class.f-node-output-disabled": "disabled" }, classAttribute: "f-component f-node-output" }, providers: [{ provide: F_NODE_OUTPUT, useExisting: FNodeOutputDirective }], exportAs: ["fNodeOutput"], usesInheritance: true, ngImport: i0 }); }
1593
1669
  }
1594
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FNodeOutputDirective, decorators: [{
1670
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FNodeOutputDirective, decorators: [{
1595
1671
  type: Directive,
1596
1672
  args: [{
1597
1673
  selector: "[fNodeOutput]",
1674
+ exportAs: 'fNodeOutput',
1598
1675
  host: {
1599
1676
  '[attr.id]': 'id',
1600
1677
  class: "f-component f-node-output",
@@ -1602,10 +1679,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImpor
1602
1679
  },
1603
1680
  providers: [{ provide: F_NODE_OUTPUT, useExisting: FNodeOutputDirective }],
1604
1681
  }]
1605
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: FNodeBase, decorators: [{
1682
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: FNodeBase, decorators: [{
1606
1683
  type: Inject,
1607
1684
  args: [F_NODE]
1608
- }] }, { type: FComponentsStore }]; }, propDecorators: { id: [{
1685
+ }] }, { type: FComponentsStore }], propDecorators: { id: [{
1609
1686
  type: Input,
1610
1687
  args: ['fNodeOutputId']
1611
1688
  }], disabled: [{
@@ -1637,10 +1714,10 @@ class FDragHandleDirective {
1637
1714
  ngOnDestroy() {
1638
1715
  this.stateChanges.complete();
1639
1716
  }
1640
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FDragHandleDirective, deps: [{ token: i0.ElementRef }, { token: F_NODE, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Directive }); }
1641
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.5", type: FDragHandleDirective, isStandalone: true, selector: "[fDragHandle]", inputs: { disabled: ["fDragHandleDisabled", "disabled"] }, host: { properties: { "class.f-drag-handle-disabled": "disabled" }, classAttribute: "f-drag-handle f-component" }, providers: [{ provide: F_DRAG_HANDLE, useExisting: FDragHandleDirective }], ngImport: i0 }); }
1717
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FDragHandleDirective, deps: [{ token: i0.ElementRef }, { token: F_NODE, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Directive }); }
1718
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.9", type: FDragHandleDirective, isStandalone: true, selector: "[fDragHandle]", inputs: { disabled: ["fDragHandleDisabled", "disabled"] }, host: { properties: { "class.f-drag-handle-disabled": "disabled" }, classAttribute: "f-drag-handle f-component" }, providers: [{ provide: F_DRAG_HANDLE, useExisting: FDragHandleDirective }], ngImport: i0 }); }
1642
1719
  }
1643
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FDragHandleDirective, decorators: [{
1720
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FDragHandleDirective, decorators: [{
1644
1721
  type: Directive,
1645
1722
  args: [{
1646
1723
  selector: "[fDragHandle]",
@@ -1651,14 +1728,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImpor
1651
1728
  },
1652
1729
  providers: [{ provide: F_DRAG_HANDLE, useExisting: FDragHandleDirective }],
1653
1730
  }]
1654
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: undefined, decorators: [{
1731
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: undefined, decorators: [{
1655
1732
  type: Inject,
1656
1733
  args: [F_NODE]
1657
1734
  }, {
1658
1735
  type: Optional
1659
1736
  }, {
1660
1737
  type: SkipSelf
1661
- }] }]; }, propDecorators: { disabled: [{
1738
+ }] }], propDecorators: { disabled: [{
1662
1739
  type: Input,
1663
1740
  args: ['fDragHandleDisabled']
1664
1741
  }] } });
@@ -1752,21 +1829,21 @@ class FNodeComponent extends FNodeBase {
1752
1829
  this.stateChanges.complete();
1753
1830
  this.subscriptions$.unsubscribe();
1754
1831
  }
1755
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FNodeComponent, deps: [{ token: i0.ElementRef }, { token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Component }); }
1756
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.5", type: FNodeComponent, selector: "f-node", inputs: { id: "id", position: ["fNodePosition", "position"], disabled: "disabled" }, outputs: { positionChange: "fNodePositionChange" }, host: { properties: { "attr.id": "id", "class.f-disabled": "disabled" }, classAttribute: "f-node f-component" }, providers: [
1832
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FNodeComponent, deps: [{ token: i0.ElementRef }, { token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Component }); }
1833
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.9", type: FNodeComponent, selector: "f-node", inputs: { id: "id", position: ["fNodePosition", "position"], disabled: "disabled" }, outputs: { positionChange: "fNodePositionChange" }, host: { properties: { "attr.id": "id", "class.f-node-disabled": "disabled" }, classAttribute: "f-node f-component" }, providers: [
1757
1834
  { provide: F_NODE, useExisting: FNodeComponent }
1758
1835
  ], exportAs: ["fComponent"], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [":host{position:absolute!important;left:0;top:0;pointer-events:all;transform-origin:0 0;-webkit-user-select:none;user-select:none}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1759
1836
  }
1760
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FNodeComponent, decorators: [{
1837
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FNodeComponent, decorators: [{
1761
1838
  type: Component,
1762
1839
  args: [{ selector: "f-node", exportAs: "fComponent", changeDetection: ChangeDetectionStrategy.OnPush, host: {
1763
1840
  '[attr.id]': 'id',
1764
1841
  class: "f-node f-component",
1765
- '[class.f-disabled]': 'disabled',
1842
+ '[class.f-node-disabled]': 'disabled',
1766
1843
  }, providers: [
1767
1844
  { provide: F_NODE, useExisting: FNodeComponent }
1768
1845
  ], template: "<ng-content></ng-content>\n", styles: [":host{position:absolute!important;left:0;top:0;pointer-events:all;transform-origin:0 0;-webkit-user-select:none;user-select:none}\n"] }]
1769
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: FComponentsStore }]; }, propDecorators: { id: [{
1846
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: FComponentsStore }], propDecorators: { id: [{
1770
1847
  type: Input
1771
1848
  }], position: [{
1772
1849
  type: Input,
@@ -1897,10 +1974,10 @@ class FZoomDirective extends FZoomBase {
1897
1974
  ngOnDestroy() {
1898
1975
  super.unsubscribe();
1899
1976
  }
1900
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FZoomDirective, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Directive }); }
1901
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.5", type: FZoomDirective, selector: "f-canvas[fZoom]", inputs: { fFlowZoom: ["fZoom", "fFlowZoom"], minimum: ["fZoomMinimum", "minimum"], maximum: ["fZoomMaximum", "maximum"], step: ["fZoomStep", "step"], dblClickStep: ["fZoomDblClickStep", "dblClickStep"] }, host: { classAttribute: "f-zoom f-component" }, providers: [{ provide: F_ZOOM, useExisting: FZoomDirective }], exportAs: ["fComponent"], usesInheritance: true, ngImport: i0 }); }
1977
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FZoomDirective, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Directive }); }
1978
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.9", type: FZoomDirective, selector: "f-canvas[fZoom]", inputs: { fFlowZoom: ["fZoom", "fFlowZoom"], minimum: ["fZoomMinimum", "minimum"], maximum: ["fZoomMaximum", "maximum"], step: ["fZoomStep", "step"], dblClickStep: ["fZoomDblClickStep", "dblClickStep"] }, host: { classAttribute: "f-zoom f-component" }, providers: [{ provide: F_ZOOM, useExisting: FZoomDirective }], exportAs: ["fComponent"], usesInheritance: true, ngImport: i0 }); }
1902
1979
  }
1903
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FZoomDirective, decorators: [{
1980
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FZoomDirective, decorators: [{
1904
1981
  type: Directive,
1905
1982
  args: [{
1906
1983
  selector: "f-canvas[fZoom]",
@@ -1910,7 +1987,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImpor
1910
1987
  },
1911
1988
  providers: [{ provide: F_ZOOM, useExisting: FZoomDirective }],
1912
1989
  }]
1913
- }], ctorParameters: function () { return [{ type: FComponentsStore }]; }, propDecorators: { fFlowZoom: [{
1990
+ }], ctorParameters: () => [{ type: FComponentsStore }], propDecorators: { fFlowZoom: [{
1914
1991
  type: Input,
1915
1992
  args: ['fZoom']
1916
1993
  }], minimum: [{
@@ -2028,12 +2105,12 @@ class FCanvasBase extends MIXIN_BASE {
2028
2105
  const position = PointExtensions.sum(this.transform.position, this.transform.scaledPosition);
2029
2106
  this.fCanvasChange.emit(new FCanvasChangeEvent(position, this.transform.scale));
2030
2107
  }
2031
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FCanvasBase, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
2032
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.5", type: FCanvasBase, usesInheritance: true, ngImport: i0 }); }
2108
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FCanvasBase, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
2109
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.9", type: FCanvasBase, usesInheritance: true, ngImport: i0 }); }
2033
2110
  }
2034
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FCanvasBase, decorators: [{
2111
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FCanvasBase, decorators: [{
2035
2112
  type: Directive
2036
- }], ctorParameters: function () { return []; } });
2113
+ }], ctorParameters: () => [] });
2037
2114
 
2038
2115
  class FCanvasComponent extends FCanvasBase {
2039
2116
  set position(value) {
@@ -2066,7 +2143,6 @@ class FCanvasComponent extends FCanvasBase {
2066
2143
  this.elementReference = elementReference;
2067
2144
  this.fComponentsStore = fComponentsStore;
2068
2145
  this.fCanvasChange = new EventEmitter();
2069
- this.onInitialized = new EventEmitter();
2070
2146
  }
2071
2147
  ngOnInit() {
2072
2148
  this.fComponentsStore.fCanvas = this;
@@ -2099,239 +2175,26 @@ class FCanvasComponent extends FCanvasBase {
2099
2175
  this.redrawWithAnimation();
2100
2176
  this.completeDrag();
2101
2177
  }
2102
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FCanvasComponent, deps: [{ token: GetAllNodesRectHandler }, { token: i0.ElementRef }, { token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Component }); }
2103
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.5", type: FCanvasComponent, selector: "f-canvas", inputs: { position: "position", scale: "scale" }, outputs: { fCanvasChange: "fCanvasChange", onInitialized: "onInitialized" }, host: { classAttribute: "f-component f-canvas" }, providers: [{ provide: F_CANVAS, useExisting: FCanvasComponent }], viewQueries: [{ propertyName: "fNodesContainer", first: true, predicate: ["fNodesContainer"], descendants: true, static: true }], exportAs: ["fComponent"], usesInheritance: true, ngImport: i0, template: "<ng-container>\n <div>\n <ng-content select=\"f-connection\"></ng-content>\n <ng-content select=\"f-connection-for-create\"></ng-content>\n </div>\n <div #fNodesContainer>\n <ng-content select=\"f-node\"></ng-content>\n </div>\n</ng-container>\n", styles: [":host{position:absolute;overflow:visible;width:100%;height:100%;left:0;top:0;transform-origin:0 0;pointer-events:none}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
2178
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FCanvasComponent, deps: [{ token: GetAllNodesRectHandler }, { token: i0.ElementRef }, { token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Component }); }
2179
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.9", type: FCanvasComponent, selector: "f-canvas", inputs: { position: "position", scale: "scale" }, outputs: { fCanvasChange: "fCanvasChange" }, host: { classAttribute: "f-component f-canvas" }, providers: [{ provide: F_CANVAS, useExisting: FCanvasComponent }], viewQueries: [{ propertyName: "fNodesContainer", first: true, predicate: ["fNodesContainer"], descendants: true, static: true }], exportAs: ["fComponent"], usesInheritance: true, ngImport: i0, template: "<ng-container>\n <div>\n <ng-content select=\"f-connection\"></ng-content>\n <ng-content select=\"f-connection-for-create\"></ng-content>\n </div>\n <div #fNodesContainer>\n <ng-content select=\"f-node\"></ng-content>\n </div>\n</ng-container>\n", styles: [":host{position:absolute;overflow:visible;width:100%;height:100%;left:0;top:0;transform-origin:0 0;pointer-events:none}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
2104
2180
  }
2105
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FCanvasComponent, decorators: [{
2181
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FCanvasComponent, decorators: [{
2106
2182
  type: Component,
2107
2183
  args: [{ selector: 'f-canvas', exportAs: 'fComponent', host: {
2108
2184
  'class': 'f-component f-canvas',
2109
2185
  }, providers: [{ provide: F_CANVAS, useExisting: FCanvasComponent }], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container>\n <div>\n <ng-content select=\"f-connection\"></ng-content>\n <ng-content select=\"f-connection-for-create\"></ng-content>\n </div>\n <div #fNodesContainer>\n <ng-content select=\"f-node\"></ng-content>\n </div>\n</ng-container>\n", styles: [":host{position:absolute;overflow:visible;width:100%;height:100%;left:0;top:0;transform-origin:0 0;pointer-events:none}\n"] }]
2110
- }], ctorParameters: function () { return [{ type: GetAllNodesRectHandler }, { type: i0.ElementRef }, { type: FComponentsStore }]; }, propDecorators: { fCanvasChange: [{
2186
+ }], ctorParameters: () => [{ type: GetAllNodesRectHandler }, { type: i0.ElementRef }, { type: FComponentsStore }], propDecorators: { fCanvasChange: [{
2111
2187
  type: Output
2112
2188
  }], position: [{
2113
2189
  type: Input
2114
2190
  }], scale: [{
2115
2191
  type: Input
2116
- }], onInitialized: [{
2117
- type: Output
2118
2192
  }], fNodesContainer: [{
2119
2193
  type: ViewChild,
2120
2194
  args: ['fNodesContainer', { static: true }]
2121
2195
  }] } });
2122
2196
 
2123
2197
  const F_FLOW = new InjectionToken('F_FLOW');
2124
- class FFlowBase {
2125
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FFlowBase, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
2126
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.5", type: FFlowBase, ngImport: i0 }); }
2127
- }
2128
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FFlowBase, decorators: [{
2129
- type: Directive
2130
- }] });
2131
-
2132
- const F_CONNECTION_MARKER = new InjectionToken('F_CONNECTION_MARKER');
2133
-
2134
- class FConnectionMarkerEndDirective {
2135
- get hostElement() {
2136
- return this.elementReference.nativeElement;
2137
- }
2138
- get id() {
2139
- return sanitizeElementId(this.fFlow.id + '-f-connection-marker-end-' + this.fConnectionMarkerEnd);
2140
- }
2141
- constructor(elementReference, fFlow) {
2142
- this.elementReference = elementReference;
2143
- this.fFlow = fFlow;
2144
- this.fConnectionMarkerEnd = 'black';
2145
- }
2146
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FConnectionMarkerEndDirective, deps: [{ token: i0.ElementRef }, { token: F_FLOW }], target: i0.ɵɵFactoryTarget.Directive }); }
2147
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.5", type: FConnectionMarkerEndDirective, selector: "[fConnectionMarkerEnd]", inputs: { fConnectionMarkerEnd: "fConnectionMarkerEnd" }, host: { properties: { "attr.id": "id" }, classAttribute: "f-component f-connection-marker" }, providers: [{ provide: F_CONNECTION_MARKER, useExisting: FConnectionMarkerEndDirective }], exportAs: ["fComponent"], ngImport: i0 }); }
2148
- }
2149
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FConnectionMarkerEndDirective, decorators: [{
2150
- type: Directive,
2151
- args: [{
2152
- selector: '[fConnectionMarkerEnd]',
2153
- exportAs: 'fComponent',
2154
- host: {
2155
- '[attr.id]': 'id',
2156
- 'class': 'f-component f-connection-marker'
2157
- },
2158
- providers: [{ provide: F_CONNECTION_MARKER, useExisting: FConnectionMarkerEndDirective }],
2159
- }]
2160
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: FFlowBase, decorators: [{
2161
- type: Inject,
2162
- args: [F_FLOW]
2163
- }] }]; }, propDecorators: { fConnectionMarkerEnd: [{
2164
- type: Input
2165
- }] } });
2166
-
2167
- class FConnectionMarkerEndSelectedDirective {
2168
- get hostElement() {
2169
- return this.elementReference.nativeElement;
2170
- }
2171
- get id() {
2172
- return sanitizeElementId(this.fFlow.id + '-f-connection-marker-end-selected');
2173
- }
2174
- constructor(elementReference, fFlow) {
2175
- this.elementReference = elementReference;
2176
- this.fFlow = fFlow;
2177
- }
2178
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FConnectionMarkerEndSelectedDirective, deps: [{ token: i0.ElementRef }, { token: F_FLOW }], target: i0.ɵɵFactoryTarget.Directive }); }
2179
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.5", type: FConnectionMarkerEndSelectedDirective, selector: "[fConnectionMarkerEndSelected]", host: { properties: { "attr.id": "id" }, classAttribute: "f-component f-connection-marker f-selected" }, providers: [{ provide: F_CONNECTION_MARKER, useExisting: FConnectionMarkerEndSelectedDirective }], exportAs: ["fComponent"], ngImport: i0 }); }
2180
- }
2181
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FConnectionMarkerEndSelectedDirective, decorators: [{
2182
- type: Directive,
2183
- args: [{
2184
- selector: '[fConnectionMarkerEndSelected]',
2185
- exportAs: 'fComponent',
2186
- host: {
2187
- '[attr.id]': 'id',
2188
- 'class': 'f-component f-connection-marker f-selected'
2189
- },
2190
- providers: [{ provide: F_CONNECTION_MARKER, useExisting: FConnectionMarkerEndSelectedDirective }],
2191
- }]
2192
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: FFlowBase, decorators: [{
2193
- type: Inject,
2194
- args: [F_FLOW]
2195
- }] }]; } });
2196
-
2197
- class FConnectionMarkerStartDirective {
2198
- get hostElement() {
2199
- return this.elementReference.nativeElement;
2200
- }
2201
- get id() {
2202
- return sanitizeElementId(this.fFlow.id + '-f-connection-marker-start-' + this.fConnectionMarkerStart);
2203
- }
2204
- constructor(elementReference, fFlow) {
2205
- this.elementReference = elementReference;
2206
- this.fFlow = fFlow;
2207
- this.fConnectionMarkerStart = 'black';
2208
- }
2209
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FConnectionMarkerStartDirective, deps: [{ token: i0.ElementRef }, { token: F_FLOW }], target: i0.ɵɵFactoryTarget.Directive }); }
2210
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.5", type: FConnectionMarkerStartDirective, selector: "[fConnectionMarkerStart]", inputs: { fConnectionMarkerStart: "fConnectionMarkerStart" }, host: { properties: { "attr.id": "id" }, classAttribute: "f-component f-connection-marker" }, providers: [{ provide: F_CONNECTION_MARKER, useExisting: FConnectionMarkerStartDirective }], exportAs: ["fComponent"], ngImport: i0 }); }
2211
- }
2212
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FConnectionMarkerStartDirective, decorators: [{
2213
- type: Directive,
2214
- args: [{
2215
- selector: '[fConnectionMarkerStart]',
2216
- exportAs: 'fComponent',
2217
- host: {
2218
- '[attr.id]': 'id',
2219
- 'class': 'f-component f-connection-marker'
2220
- },
2221
- providers: [{ provide: F_CONNECTION_MARKER, useExisting: FConnectionMarkerStartDirective }],
2222
- }]
2223
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: FFlowBase, decorators: [{
2224
- type: Inject,
2225
- args: [F_FLOW]
2226
- }] }]; }, propDecorators: { fConnectionMarkerStart: [{
2227
- type: Input
2228
- }] } });
2229
-
2230
- class FConnectionMarkerStartSelectedDirective {
2231
- get hostElement() {
2232
- return this.elementReference.nativeElement;
2233
- }
2234
- get id() {
2235
- return sanitizeElementId(this.fFlow.id + '-f-connection-marker-start-selected');
2236
- }
2237
- constructor(elementReference, fFlow) {
2238
- this.elementReference = elementReference;
2239
- this.fFlow = fFlow;
2240
- }
2241
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FConnectionMarkerStartSelectedDirective, deps: [{ token: i0.ElementRef }, { token: F_FLOW }], target: i0.ɵɵFactoryTarget.Directive }); }
2242
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.5", type: FConnectionMarkerStartSelectedDirective, selector: "[fConnectionMarkerStartSelected]", host: { properties: { "attr.id": "id" }, classAttribute: "f-component f-connection-marker f-selected" }, providers: [{ provide: F_CONNECTION_MARKER, useExisting: FConnectionMarkerStartSelectedDirective }], exportAs: ["fComponent"], ngImport: i0 }); }
2243
- }
2244
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FConnectionMarkerStartSelectedDirective, decorators: [{
2245
- type: Directive,
2246
- args: [{
2247
- selector: '[fConnectionMarkerStartSelected]',
2248
- exportAs: 'fComponent',
2249
- host: {
2250
- '[attr.id]': 'id',
2251
- 'class': 'f-component f-connection-marker f-selected'
2252
- },
2253
- providers: [{ provide: F_CONNECTION_MARKER, useExisting: FConnectionMarkerStartSelectedDirective }],
2254
- }]
2255
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: FFlowBase, decorators: [{
2256
- type: Inject,
2257
- args: [F_FLOW]
2258
- }] }]; } });
2259
-
2260
- const F_DEFINITIONS = new InjectionToken('F_DEFINITIONS');
2261
- class FDefinitionsBase {
2262
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FDefinitionsBase, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
2263
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.5", type: FDefinitionsBase, ngImport: i0 }); }
2264
- }
2265
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FDefinitionsBase, decorators: [{
2266
- type: Directive
2267
- }] });
2268
-
2269
- class FDefinitionsComponent extends FDefinitionsBase {
2270
- get hostElement() {
2271
- return this.elementReference.nativeElement;
2272
- }
2273
- constructor(elementReference, fComponentsStore, changeDetectorRef) {
2274
- super();
2275
- this.elementReference = elementReference;
2276
- this.fComponentsStore = fComponentsStore;
2277
- this.changeDetectorRef = changeDetectorRef;
2278
- this.subscriptions$ = new Subscription();
2279
- }
2280
- ngOnInit() {
2281
- this.fComponentsStore.fDefs = this;
2282
- // this.subscriptions$.add(
2283
- // this.subscribeOnMarkersChanges()
2284
- // );
2285
- }
2286
- getMarkersForConnection(connectionId, startColor, endColor) {
2287
- let result = [];
2288
- const marker = this.fMarkers.find((x) => {
2289
- if (x.hasOwnProperty('fConnectionMarkerStart')) {
2290
- // @ts-ignore
2291
- return x['fConnectionMarkerStart'] === startColor;
2292
- }
2293
- return false;
2294
- });
2295
- if (marker) {
2296
- // marker.hostElement.setAttribute('id', `f-connection-marker-start-${ connectionId }`);
2297
- result.push(marker.hostElement);
2298
- marker.hostElement.remove();
2299
- }
2300
- const endMarker = this.fMarkers.find((x) => {
2301
- if (x.hasOwnProperty('fConnectionMarkerEnd')) {
2302
- // @ts-ignore
2303
- return x['fConnectionMarkerEnd'] === endColor;
2304
- }
2305
- return false;
2306
- });
2307
- if (endMarker) {
2308
- // endMarker.hostElement.setAttribute('id', `f-connection-marker-end-${ connectionId }`);
2309
- result.push(endMarker.hostElement);
2310
- endMarker.hostElement.remove();
2311
- }
2312
- return result;
2313
- }
2314
- subscribeOnMarkersChanges() {
2315
- return this.fMarkers.changes.pipe(startWith(null), debounceTime(10)).subscribe(() => {
2316
- this.changeDetectorRef.detectChanges();
2317
- });
2318
- }
2319
- ngOnDestroy() {
2320
- this.subscriptions$.unsubscribe();
2321
- this.fComponentsStore.fDefs = undefined;
2322
- }
2323
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FDefinitionsComponent, deps: [{ token: i0.ElementRef }, { token: FComponentsStore }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
2324
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.5", type: FDefinitionsComponent, selector: "svg[fDefinitions]", host: { classAttribute: "f-component f-definitions" }, providers: [{ provide: F_DEFINITIONS, useExisting: FDefinitionsComponent }], queries: [{ propertyName: "fMarkers", predicate: F_CONNECTION_MARKER }], exportAs: ["fComponent"], usesInheritance: true, ngImport: i0, template: "<ng-container xmlns:svg=\"http://www.w3.org/2000/svg\">\n <svg:defs>\n <ng-content></ng-content>\n </svg:defs>\n</ng-container>\n", styles: [":host{position:absolute;width:0;height:0;left:0;top:0;overflow:hidden;transform-origin:0 0;pointer-events:none}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
2325
- }
2326
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FDefinitionsComponent, decorators: [{
2327
- type: Component,
2328
- args: [{ selector: 'svg[fDefinitions]', exportAs: 'fComponent', host: {
2329
- 'class': 'f-component f-definitions'
2330
- }, providers: [{ provide: F_DEFINITIONS, useExisting: FDefinitionsComponent }], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container xmlns:svg=\"http://www.w3.org/2000/svg\">\n <svg:defs>\n <ng-content></ng-content>\n </svg:defs>\n</ng-container>\n", styles: [":host{position:absolute;width:0;height:0;left:0;top:0;overflow:hidden;transform-origin:0 0;pointer-events:none}\n"] }]
2331
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: FComponentsStore }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { fMarkers: [{
2332
- type: ContentChildren,
2333
- args: [F_CONNECTION_MARKER]
2334
- }] } });
2335
2198
 
2336
2199
  var EDraggableType;
2337
2200
  (function (EDraggableType) {
@@ -2374,10 +2237,10 @@ class FDraggableDataContext {
2374
2237
  this.onPointerDownScale = 1;
2375
2238
  this.onPointerDownPosition = new Point(0, 0);
2376
2239
  }
2377
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FDraggableDataContext, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2378
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FDraggableDataContext }); }
2240
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FDraggableDataContext, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2241
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FDraggableDataContext }); }
2379
2242
  }
2380
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FDraggableDataContext, decorators: [{
2243
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FDraggableDataContext, decorators: [{
2381
2244
  type: Injectable
2382
2245
  }] });
2383
2246
 
@@ -2393,12 +2256,12 @@ class CanvasOnPointerUp {
2393
2256
  });
2394
2257
  }
2395
2258
  }
2396
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: CanvasOnPointerUp, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable }); }
2397
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: CanvasOnPointerUp }); }
2259
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: CanvasOnPointerUp, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable }); }
2260
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: CanvasOnPointerUp }); }
2398
2261
  }
2399
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: CanvasOnPointerUp, decorators: [{
2262
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: CanvasOnPointerUp, decorators: [{
2400
2263
  type: Injectable
2401
- }], ctorParameters: function () { return [{ type: FDraggableDataContext }]; } });
2264
+ }], ctorParameters: () => [{ type: FDraggableDataContext }] });
2402
2265
 
2403
2266
  class CanvasPrepareDragSequence {
2404
2267
  get flowHost() {
@@ -2424,12 +2287,12 @@ class CanvasPrepareDragSequence {
2424
2287
  ];
2425
2288
  }
2426
2289
  }
2427
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: CanvasPrepareDragSequence, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable }); }
2428
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: CanvasPrepareDragSequence }); }
2290
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: CanvasPrepareDragSequence, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable }); }
2291
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: CanvasPrepareDragSequence }); }
2429
2292
  }
2430
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: CanvasPrepareDragSequence, decorators: [{
2293
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: CanvasPrepareDragSequence, decorators: [{
2431
2294
  type: Injectable
2432
- }], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }]; } });
2295
+ }], ctorParameters: () => [{ type: FComponentsStore }, { type: FDraggableDataContext }] });
2433
2296
 
2434
2297
  const CANVAS_PROVIDERS = [
2435
2298
  CanvasOnPointerUp,
@@ -2438,10 +2301,10 @@ const CANVAS_PROVIDERS = [
2438
2301
 
2439
2302
  const F_EXTERNAL_ITEM = new InjectionToken('F_EXTERNAL_ITEM');
2440
2303
  class FExternalItemBase {
2441
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FExternalItemBase, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
2442
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.5", type: FExternalItemBase, ngImport: i0 }); }
2304
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FExternalItemBase, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
2305
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.9", type: FExternalItemBase, ngImport: i0 }); }
2443
2306
  }
2444
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FExternalItemBase, decorators: [{
2307
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FExternalItemBase, decorators: [{
2445
2308
  type: Directive
2446
2309
  }] });
2447
2310
 
@@ -2468,10 +2331,10 @@ class FExternalItemService {
2468
2331
  this.items.splice(index, 1);
2469
2332
  }
2470
2333
  }
2471
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FExternalItemService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2472
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FExternalItemService, providedIn: 'root' }); }
2334
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FExternalItemService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2335
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FExternalItemService, providedIn: 'root' }); }
2473
2336
  }
2474
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FExternalItemService, decorators: [{
2337
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FExternalItemService, decorators: [{
2475
2338
  type: Injectable,
2476
2339
  args: [{
2477
2340
  providedIn: 'root'
@@ -2495,12 +2358,12 @@ class FExternalItemDirective extends FExternalItemBase {
2495
2358
  ngOnDestroy() {
2496
2359
  this.fExternalItemService.removeItem(this);
2497
2360
  }
2498
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FExternalItemDirective, deps: [{ token: i0.ElementRef }, { token: FExternalItemService }], target: i0.ɵɵFactoryTarget.Directive }); }
2499
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.5", type: FExternalItemDirective, selector: "[fExternalItem]", inputs: { id: "id", data: "data" }, host: { properties: { "attr.id": "id" }, classAttribute: "f-component f-external-item" }, providers: [
2361
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FExternalItemDirective, deps: [{ token: i0.ElementRef }, { token: FExternalItemService }], target: i0.ɵɵFactoryTarget.Directive }); }
2362
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.9", type: FExternalItemDirective, selector: "[fExternalItem]", inputs: { id: "id", data: "data" }, host: { properties: { "attr.id": "id" }, classAttribute: "f-component f-external-item" }, providers: [
2500
2363
  { provide: F_EXTERNAL_ITEM, useExisting: FExternalItemDirective }
2501
2364
  ], usesInheritance: true, ngImport: i0 }); }
2502
2365
  }
2503
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FExternalItemDirective, decorators: [{
2366
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FExternalItemDirective, decorators: [{
2504
2367
  type: Directive,
2505
2368
  args: [{
2506
2369
  selector: "[fExternalItem]",
@@ -2512,7 +2375,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImpor
2512
2375
  { provide: F_EXTERNAL_ITEM, useExisting: FExternalItemDirective }
2513
2376
  ],
2514
2377
  }]
2515
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: FExternalItemService }]; }, propDecorators: { id: [{
2378
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: FExternalItemService }], propDecorators: { id: [{
2516
2379
  type: Input
2517
2380
  }], data: [{
2518
2381
  type: Input
@@ -2674,10 +2537,10 @@ class NearestCoordinateFinder {
2674
2537
 
2675
2538
  const F_LINE_ALIGNMENT = new InjectionToken('F_LINE_ALIGNMENT');
2676
2539
  class FLineAlignmentBase {
2677
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FLineAlignmentBase, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
2678
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.5", type: FLineAlignmentBase, ngImport: i0 }); }
2540
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FLineAlignmentBase, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
2541
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.9", type: FLineAlignmentBase, ngImport: i0 }); }
2679
2542
  }
2680
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FLineAlignmentBase, decorators: [{
2543
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FLineAlignmentBase, decorators: [{
2681
2544
  type: Directive
2682
2545
  }] });
2683
2546
 
@@ -2749,26 +2612,26 @@ class FLineAlignmentComponent extends FLineAlignmentBase {
2749
2612
  this.lineService.hideVerticalLine();
2750
2613
  this.lineService.hideHorizontalLine();
2751
2614
  }
2752
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FLineAlignmentComponent, deps: [{ token: i0.ElementRef }, { token: FComponentsStore }, { token: FDraggableDataContext }, { token: GetElementRectInFlowHandler }], target: i0.ɵɵFactoryTarget.Component }); }
2753
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.5", type: FLineAlignmentComponent, selector: "f-line-alignment", host: { classAttribute: "f-line-alignment f-component" }, providers: [
2615
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FLineAlignmentComponent, deps: [{ token: i0.ElementRef }, { token: FComponentsStore }, { token: FDraggableDataContext }, { token: GetElementRectInFlowHandler }], target: i0.ɵɵFactoryTarget.Component }); }
2616
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.9", type: FLineAlignmentComponent, selector: "f-line-alignment", host: { classAttribute: "f-line-alignment f-component" }, providers: [
2754
2617
  { provide: F_LINE_ALIGNMENT, useExisting: FLineAlignmentComponent }
2755
2618
  ], exportAs: ["fComponent"], usesInheritance: true, ngImport: i0, template: "", isInline: true, styles: [":host{display:block;position:absolute;left:0;top:0;width:100%;height:100%;overflow:hidden;pointer-events:none;-webkit-user-select:none;user-select:none}\n"] }); }
2756
2619
  }
2757
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FLineAlignmentComponent, decorators: [{
2620
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FLineAlignmentComponent, decorators: [{
2758
2621
  type: Component,
2759
2622
  args: [{ selector: "f-line-alignment", template: "", exportAs: "fComponent", host: {
2760
2623
  'class': 'f-line-alignment f-component'
2761
2624
  }, providers: [
2762
2625
  { provide: F_LINE_ALIGNMENT, useExisting: FLineAlignmentComponent }
2763
2626
  ], styles: [":host{display:block;position:absolute;left:0;top:0;width:100%;height:100%;overflow:hidden;pointer-events:none;-webkit-user-select:none;user-select:none}\n"] }]
2764
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: FComponentsStore }, { type: FDraggableDataContext }, { type: GetElementRectInFlowHandler }]; } });
2627
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: FComponentsStore }, { type: FDraggableDataContext }, { type: GetElementRectInFlowHandler }] });
2765
2628
 
2766
2629
  const F_SELECTION_AREA = new InjectionToken('F_SELECTION_AREA');
2767
2630
  class FSelectionAreaBase {
2768
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FSelectionAreaBase, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
2769
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.5", type: FSelectionAreaBase, ngImport: i0 }); }
2631
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FSelectionAreaBase, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
2632
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.9", type: FSelectionAreaBase, ngImport: i0 }); }
2770
2633
  }
2771
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FSelectionAreaBase, decorators: [{
2634
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FSelectionAreaBase, decorators: [{
2772
2635
  type: Directive
2773
2636
  }] });
2774
2637
 
@@ -2798,19 +2661,19 @@ class FSelectionAreaComponent extends FSelectionAreaBase {
2798
2661
  style.width = object.width + 'px';
2799
2662
  style.height = object.height + 'px';
2800
2663
  }
2801
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FSelectionAreaComponent, deps: [{ token: i0.ElementRef }, { token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Component }); }
2802
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.5", type: FSelectionAreaComponent, selector: "f-selection-area", host: { classAttribute: "f-selection-area f-component" }, providers: [
2664
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FSelectionAreaComponent, deps: [{ token: i0.ElementRef }, { token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Component }); }
2665
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.9", type: FSelectionAreaComponent, selector: "f-selection-area", host: { classAttribute: "f-selection-area f-component" }, providers: [
2803
2666
  { provide: F_SELECTION_AREA, useExisting: FSelectionAreaComponent }
2804
2667
  ], usesInheritance: true, ngImport: i0, template: ``, isInline: true, styles: [":host{position:absolute}\n"] }); }
2805
2668
  }
2806
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FSelectionAreaComponent, decorators: [{
2669
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FSelectionAreaComponent, decorators: [{
2807
2670
  type: Component,
2808
2671
  args: [{ selector: "f-selection-area", template: ``, host: {
2809
2672
  'class': 'f-selection-area f-component'
2810
2673
  }, providers: [
2811
2674
  { provide: F_SELECTION_AREA, useExisting: FSelectionAreaComponent }
2812
2675
  ], styles: [":host{position:absolute}\n"] }]
2813
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: FDraggableDataContext }]; } });
2676
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: FDraggableDataContext }] });
2814
2677
 
2815
2678
  class FindFirstCanBeConnectedOutputByOutletHandler {
2816
2679
  get fNodes() {
@@ -2836,12 +2699,12 @@ class FindFirstCanBeConnectedOutputByOutletHandler {
2836
2699
  }
2837
2700
  return result;
2838
2701
  }
2839
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FindFirstCanBeConnectedOutputByOutletHandler, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable }); }
2840
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FindFirstCanBeConnectedOutputByOutletHandler }); }
2702
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FindFirstCanBeConnectedOutputByOutletHandler, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable }); }
2703
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FindFirstCanBeConnectedOutputByOutletHandler }); }
2841
2704
  }
2842
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FindFirstCanBeConnectedOutputByOutletHandler, decorators: [{
2705
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FindFirstCanBeConnectedOutputByOutletHandler, decorators: [{
2843
2706
  type: Injectable
2844
- }], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
2707
+ }], ctorParameters: () => [{ type: FComponentsStore }] });
2845
2708
 
2846
2709
  class CreateConnectionDragHandler {
2847
2710
  constructor(getOutputRectInFlowHandler, getConnectionVectorHandler, connection, mouseDownPoint) {
@@ -2905,12 +2768,12 @@ class FirstNotConnectedInputOfNodeUnderPointerHandler {
2905
2768
  const result = inputs.find((x) => !!x);
2906
2769
  return result;
2907
2770
  }
2908
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FirstNotConnectedInputOfNodeUnderPointerHandler, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable }); }
2909
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FirstNotConnectedInputOfNodeUnderPointerHandler }); }
2771
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FirstNotConnectedInputOfNodeUnderPointerHandler, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable }); }
2772
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FirstNotConnectedInputOfNodeUnderPointerHandler }); }
2910
2773
  }
2911
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FirstNotConnectedInputOfNodeUnderPointerHandler, decorators: [{
2774
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FirstNotConnectedInputOfNodeUnderPointerHandler, decorators: [{
2912
2775
  type: Injectable
2913
- }], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
2776
+ }], ctorParameters: () => [{ type: FComponentsStore }] });
2914
2777
 
2915
2778
  class InputsUnderPointerHandler {
2916
2779
  get fInputs() {
@@ -2926,12 +2789,12 @@ class InputsUnderPointerHandler {
2926
2789
  return this.fInputs.find((x) => x.isContains(element));
2927
2790
  }).filter((x) => !!x);
2928
2791
  }
2929
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: InputsUnderPointerHandler, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable }); }
2930
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: InputsUnderPointerHandler }); }
2792
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: InputsUnderPointerHandler, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable }); }
2793
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: InputsUnderPointerHandler }); }
2931
2794
  }
2932
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: InputsUnderPointerHandler, decorators: [{
2795
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: InputsUnderPointerHandler, decorators: [{
2933
2796
  type: Injectable
2934
- }], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
2797
+ }], ctorParameters: () => [{ type: FComponentsStore }] });
2935
2798
 
2936
2799
  class FindInputsUnderPointerRequest {
2937
2800
  constructor(event, dragHandler) {
@@ -2970,12 +2833,12 @@ class FindInputsUnderPointerHandler {
2970
2833
  inputs = inputs.filter((x) => x.canBeConnected);
2971
2834
  return inputs;
2972
2835
  }
2973
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FindInputsUnderPointerHandler, deps: [{ token: FComponentsStore }, { token: InputsUnderPointerHandler }, { token: FirstNotConnectedInputOfNodeUnderPointerHandler }], target: i0.ɵɵFactoryTarget.Injectable }); }
2974
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FindInputsUnderPointerHandler }); }
2836
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FindInputsUnderPointerHandler, deps: [{ token: FComponentsStore }, { token: InputsUnderPointerHandler }, { token: FirstNotConnectedInputOfNodeUnderPointerHandler }], target: i0.ɵɵFactoryTarget.Injectable }); }
2837
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FindInputsUnderPointerHandler }); }
2975
2838
  }
2976
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FindInputsUnderPointerHandler, decorators: [{
2839
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FindInputsUnderPointerHandler, decorators: [{
2977
2840
  type: Injectable
2978
- }], ctorParameters: function () { return [{ type: FComponentsStore }, { type: InputsUnderPointerHandler }, { type: FirstNotConnectedInputOfNodeUnderPointerHandler }]; } });
2841
+ }], ctorParameters: () => [{ type: FComponentsStore }, { type: InputsUnderPointerHandler }, { type: FirstNotConnectedInputOfNodeUnderPointerHandler }] });
2979
2842
 
2980
2843
  class CreateConnectionOnPointerUp {
2981
2844
  constructor(fComponentsStore, fDraggableDataContext, findInputsUnderPointerHandler, findFirstCanBeConnectedOutputByOutletHandler) {
@@ -3009,12 +2872,12 @@ class CreateConnectionOnPointerUp {
3009
2872
  handler.complete();
3010
2873
  }
3011
2874
  }
3012
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: CreateConnectionOnPointerUp, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: FindInputsUnderPointerHandler }, { token: FindFirstCanBeConnectedOutputByOutletHandler }], target: i0.ɵɵFactoryTarget.Injectable }); }
3013
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: CreateConnectionOnPointerUp }); }
2875
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: CreateConnectionOnPointerUp, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: FindInputsUnderPointerHandler }, { token: FindFirstCanBeConnectedOutputByOutletHandler }], target: i0.ɵɵFactoryTarget.Injectable }); }
2876
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: CreateConnectionOnPointerUp }); }
3014
2877
  }
3015
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: CreateConnectionOnPointerUp, decorators: [{
2878
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: CreateConnectionOnPointerUp, decorators: [{
3016
2879
  type: Injectable
3017
- }], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: FindInputsUnderPointerHandler }, { type: FindFirstCanBeConnectedOutputByOutletHandler }]; } });
2880
+ }], ctorParameters: () => [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: FindInputsUnderPointerHandler }, { type: FindFirstCanBeConnectedOutputByOutletHandler }] });
3018
2881
 
3019
2882
  class CreateConnectionPrepareDragSequence {
3020
2883
  get transform() {
@@ -3086,12 +2949,12 @@ class CreateConnectionPrepareDragSequence {
3086
2949
  const outlets = this.fComponentsStore.fOutlets.filter((x) => node.isContains(x.hostElement));
3087
2950
  return isNodeOutput(targetElement) && !outlets.length;
3088
2951
  }
3089
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: CreateConnectionPrepareDragSequence, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: GetElementRectInFlowHandler }, { token: GetConnectionVectorHandler }, { token: FindFirstCanBeConnectedOutputByOutletHandler }, { token: GetOutputRectInFlowHandler }], target: i0.ɵɵFactoryTarget.Injectable }); }
3090
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: CreateConnectionPrepareDragSequence }); }
2952
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: CreateConnectionPrepareDragSequence, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: GetElementRectInFlowHandler }, { token: GetConnectionVectorHandler }, { token: FindFirstCanBeConnectedOutputByOutletHandler }, { token: GetOutputRectInFlowHandler }], target: i0.ɵɵFactoryTarget.Injectable }); }
2953
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: CreateConnectionPrepareDragSequence }); }
3091
2954
  }
3092
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: CreateConnectionPrepareDragSequence, decorators: [{
2955
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: CreateConnectionPrepareDragSequence, decorators: [{
3093
2956
  type: Injectable
3094
- }], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: GetElementRectInFlowHandler }, { type: GetConnectionVectorHandler }, { type: FindFirstCanBeConnectedOutputByOutletHandler }, { type: GetOutputRectInFlowHandler }]; } });
2957
+ }], ctorParameters: () => [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: GetElementRectInFlowHandler }, { type: GetConnectionVectorHandler }, { type: FindFirstCanBeConnectedOutputByOutletHandler }, { type: GetOutputRectInFlowHandler }] });
3095
2958
 
3096
2959
  class ReassignConnectionDragHandler {
3097
2960
  constructor(getInputRectInFlowHandler, getOutputRectInFlowHandler, getConnectionVectorHandler, connection) {
@@ -3158,12 +3021,12 @@ class ReassignConnectionOnPointerUp {
3158
3021
  handler.complete();
3159
3022
  }
3160
3023
  }
3161
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: ReassignConnectionOnPointerUp, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: FindInputsUnderPointerHandler }], target: i0.ɵɵFactoryTarget.Injectable }); }
3162
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: ReassignConnectionOnPointerUp }); }
3024
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: ReassignConnectionOnPointerUp, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: FindInputsUnderPointerHandler }], target: i0.ɵɵFactoryTarget.Injectable }); }
3025
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: ReassignConnectionOnPointerUp }); }
3163
3026
  }
3164
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: ReassignConnectionOnPointerUp, decorators: [{
3027
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: ReassignConnectionOnPointerUp, decorators: [{
3165
3028
  type: Injectable
3166
- }], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: FindInputsUnderPointerHandler }]; } });
3029
+ }], ctorParameters: () => [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: FindInputsUnderPointerHandler }] });
3167
3030
 
3168
3031
  class ReassignConnectionPrepareDragSequence {
3169
3032
  get transform() {
@@ -3202,12 +3065,12 @@ class ReassignConnectionPrepareDragSequence {
3202
3065
  ];
3203
3066
  }
3204
3067
  }
3205
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: ReassignConnectionPrepareDragSequence, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: GetConnectionHandler }, { token: GetInputRectInFlowHandler }, { token: GetOutputRectInFlowHandler }, { token: GetConnectionVectorHandler }], target: i0.ɵɵFactoryTarget.Injectable }); }
3206
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: ReassignConnectionPrepareDragSequence }); }
3068
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: ReassignConnectionPrepareDragSequence, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: GetConnectionHandler }, { token: GetInputRectInFlowHandler }, { token: GetOutputRectInFlowHandler }, { token: GetConnectionVectorHandler }], target: i0.ɵɵFactoryTarget.Injectable }); }
3069
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: ReassignConnectionPrepareDragSequence }); }
3207
3070
  }
3208
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: ReassignConnectionPrepareDragSequence, decorators: [{
3071
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: ReassignConnectionPrepareDragSequence, decorators: [{
3209
3072
  type: Injectable
3210
- }], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: GetConnectionHandler }, { type: GetInputRectInFlowHandler }, { type: GetOutputRectInFlowHandler }, { type: GetConnectionVectorHandler }]; } });
3073
+ }], ctorParameters: () => [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: GetConnectionHandler }, { type: GetInputRectInFlowHandler }, { type: GetOutputRectInFlowHandler }, { type: GetConnectionVectorHandler }] });
3211
3074
 
3212
3075
  const CONNECTIONS_PROVIDERS = [
3213
3076
  FindFirstCanBeConnectedOutputByOutletHandler,
@@ -3289,12 +3152,12 @@ class ExternalItemPrepareDragSequence {
3289
3152
  ];
3290
3153
  }
3291
3154
  }
3292
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: ExternalItemPrepareDragSequence, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: FExternalItemService }], target: i0.ɵɵFactoryTarget.Injectable }); }
3293
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: ExternalItemPrepareDragSequence }); }
3155
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: ExternalItemPrepareDragSequence, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: FExternalItemService }], target: i0.ɵɵFactoryTarget.Injectable }); }
3156
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: ExternalItemPrepareDragSequence }); }
3294
3157
  }
3295
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: ExternalItemPrepareDragSequence, decorators: [{
3158
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: ExternalItemPrepareDragSequence, decorators: [{
3296
3159
  type: Injectable
3297
- }], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: FExternalItemService }]; } });
3160
+ }], ctorParameters: () => [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: FExternalItemService }] });
3298
3161
 
3299
3162
  class ExternalItemOnPointerUp {
3300
3163
  get flowHost() {
@@ -3323,12 +3186,12 @@ class ExternalItemOnPointerUp {
3323
3186
  dragHandler.complete();
3324
3187
  }
3325
3188
  }
3326
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: ExternalItemOnPointerUp, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: GetElementRectInFlowHandler }], target: i0.ɵɵFactoryTarget.Injectable }); }
3327
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: ExternalItemOnPointerUp }); }
3189
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: ExternalItemOnPointerUp, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: GetElementRectInFlowHandler }], target: i0.ɵɵFactoryTarget.Injectable }); }
3190
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: ExternalItemOnPointerUp }); }
3328
3191
  }
3329
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: ExternalItemOnPointerUp, decorators: [{
3192
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: ExternalItemOnPointerUp, decorators: [{
3330
3193
  type: Injectable
3331
- }], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: GetElementRectInFlowHandler }]; } });
3194
+ }], ctorParameters: () => [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: GetElementRectInFlowHandler }] });
3332
3195
 
3333
3196
  const EXTERNAL_ITEM_PROVIDERS = [
3334
3197
  ExternalItemOnPointerUp,
@@ -3492,12 +3355,12 @@ class IsConnectionUnderNodeHandler {
3492
3355
  return (intersection || []).length > 0;
3493
3356
  });
3494
3357
  }
3495
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: IsConnectionUnderNodeHandler, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: GetElementRectInFlowHandler }, { token: GetOutgoingConnectionsHandler }, { token: GetIncomingConnectionsHandler }], target: i0.ɵɵFactoryTarget.Injectable }); }
3496
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: IsConnectionUnderNodeHandler }); }
3358
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: IsConnectionUnderNodeHandler, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: GetElementRectInFlowHandler }, { token: GetOutgoingConnectionsHandler }, { token: GetIncomingConnectionsHandler }], target: i0.ɵɵFactoryTarget.Injectable }); }
3359
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: IsConnectionUnderNodeHandler }); }
3497
3360
  }
3498
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: IsConnectionUnderNodeHandler, decorators: [{
3361
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: IsConnectionUnderNodeHandler, decorators: [{
3499
3362
  type: Injectable
3500
- }], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: GetElementRectInFlowHandler }, { type: GetOutgoingConnectionsHandler }, { type: GetIncomingConnectionsHandler }]; } });
3363
+ }], ctorParameters: () => [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: GetElementRectInFlowHandler }, { type: GetOutgoingConnectionsHandler }, { type: GetIncomingConnectionsHandler }] });
3501
3364
 
3502
3365
  class NodeOnPointerUp {
3503
3366
  get transform() {
@@ -3529,12 +3392,12 @@ class NodeOnPointerUp {
3529
3392
  this.fDraggableDataContext.fLineAlignment?.complete();
3530
3393
  }
3531
3394
  }
3532
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: NodeOnPointerUp, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: IsConnectionUnderNodeHandler }], target: i0.ɵɵFactoryTarget.Injectable }); }
3533
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: NodeOnPointerUp }); }
3395
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: NodeOnPointerUp, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: IsConnectionUnderNodeHandler }], target: i0.ɵɵFactoryTarget.Injectable }); }
3396
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: NodeOnPointerUp }); }
3534
3397
  }
3535
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: NodeOnPointerUp, decorators: [{
3398
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: NodeOnPointerUp, decorators: [{
3536
3399
  type: Injectable
3537
- }], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: IsConnectionUnderNodeHandler }]; } });
3400
+ }], ctorParameters: () => [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: IsConnectionUnderNodeHandler }] });
3538
3401
 
3539
3402
  class NodePrepareDragSequence {
3540
3403
  get transform() {
@@ -3618,12 +3481,12 @@ class NodePrepareDragSequence {
3618
3481
  getOutputsForNode(node) {
3619
3482
  return this.fComponentsStore.fOutputs.filter((x) => node.isContains(x.hostElement));
3620
3483
  }
3621
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: NodePrepareDragSequence, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: UpdateNodeLayerHandler }, { token: GetInputRectInFlowHandler }, { token: GetOutputRectInFlowHandler }, { token: GetOutgoingConnectionsHandler }, { token: GetIncomingConnectionsHandler }, { token: GetConnectionVectorHandler }], target: i0.ɵɵFactoryTarget.Injectable }); }
3622
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: NodePrepareDragSequence }); }
3484
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: NodePrepareDragSequence, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: UpdateNodeLayerHandler }, { token: GetInputRectInFlowHandler }, { token: GetOutputRectInFlowHandler }, { token: GetOutgoingConnectionsHandler }, { token: GetIncomingConnectionsHandler }, { token: GetConnectionVectorHandler }], target: i0.ɵɵFactoryTarget.Injectable }); }
3485
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: NodePrepareDragSequence }); }
3623
3486
  }
3624
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: NodePrepareDragSequence, decorators: [{
3487
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: NodePrepareDragSequence, decorators: [{
3625
3488
  type: Injectable
3626
- }], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: UpdateNodeLayerHandler }, { type: GetInputRectInFlowHandler }, { type: GetOutputRectInFlowHandler }, { type: GetOutgoingConnectionsHandler }, { type: GetIncomingConnectionsHandler }, { type: GetConnectionVectorHandler }]; } });
3489
+ }], ctorParameters: () => [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: UpdateNodeLayerHandler }, { type: GetInputRectInFlowHandler }, { type: GetOutputRectInFlowHandler }, { type: GetOutgoingConnectionsHandler }, { type: GetIncomingConnectionsHandler }, { type: GetConnectionVectorHandler }] });
3627
3490
 
3628
3491
  const NODE_PROVIDERS = [
3629
3492
  NodeOnPointerUp,
@@ -3681,17 +3544,24 @@ class SingleSelectOnPointerDown {
3681
3544
  }
3682
3545
  });
3683
3546
  }
3684
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: SingleSelectOnPointerDown, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: GetConnectionHandler }], target: i0.ɵɵFactoryTarget.Injectable }); }
3685
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: SingleSelectOnPointerDown }); }
3547
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: SingleSelectOnPointerDown, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: GetConnectionHandler }], target: i0.ɵɵFactoryTarget.Injectable }); }
3548
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: SingleSelectOnPointerDown }); }
3686
3549
  }
3687
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: SingleSelectOnPointerDown, decorators: [{
3550
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: SingleSelectOnPointerDown, decorators: [{
3688
3551
  type: Injectable
3689
- }], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: GetConnectionHandler }]; } });
3552
+ }], ctorParameters: () => [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: GetConnectionHandler }] });
3690
3553
 
3691
3554
  const SINGLE_SELECT_PROVIDERS = [
3692
3555
  SingleSelectOnPointerDown
3693
3556
  ];
3694
3557
 
3558
+ class SelectionChangeEvent {
3559
+ constructor(nodes, connections) {
3560
+ this.nodes = nodes;
3561
+ this.connections = connections;
3562
+ }
3563
+ }
3564
+
3695
3565
  class GetCanBeSelectedItemsHandler {
3696
3566
  get fNodes() {
3697
3567
  return this.fComponentsStore.fNodes;
@@ -3733,12 +3603,12 @@ class GetCanBeSelectedItemsHandler {
3733
3603
  };
3734
3604
  });
3735
3605
  }
3736
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: GetCanBeSelectedItemsHandler, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: GetElementRectInFlowHandler }], target: i0.ɵɵFactoryTarget.Injectable }); }
3737
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: GetCanBeSelectedItemsHandler }); }
3606
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: GetCanBeSelectedItemsHandler, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: GetElementRectInFlowHandler }], target: i0.ɵɵFactoryTarget.Injectable }); }
3607
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: GetCanBeSelectedItemsHandler }); }
3738
3608
  }
3739
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: GetCanBeSelectedItemsHandler, decorators: [{
3609
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: GetCanBeSelectedItemsHandler, decorators: [{
3740
3610
  type: Injectable
3741
- }], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: GetElementRectInFlowHandler }]; } });
3611
+ }], ctorParameters: () => [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: GetElementRectInFlowHandler }] });
3742
3612
 
3743
3613
  class SelectionAreaDragHandle {
3744
3614
  get canvasPosition() {
@@ -3805,12 +3675,12 @@ class SelectionAreaPrepareDragSequence {
3805
3675
  this.fDraggableDataContext.onPointerDownPosition = pointerPositionInFlow.div(1);
3806
3676
  }
3807
3677
  }
3808
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: SelectionAreaPrepareDragSequence, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
3809
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: SelectionAreaPrepareDragSequence }); }
3678
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: SelectionAreaPrepareDragSequence, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
3679
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: SelectionAreaPrepareDragSequence }); }
3810
3680
  }
3811
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: SelectionAreaPrepareDragSequence, decorators: [{
3681
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: SelectionAreaPrepareDragSequence, decorators: [{
3812
3682
  type: Injectable
3813
- }], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: i0.Injector }]; } });
3683
+ }], ctorParameters: () => [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: i0.Injector }] });
3814
3684
 
3815
3685
  class SelectionAreaOnPointerUp {
3816
3686
  constructor(fDraggableDataContext) {
@@ -3824,12 +3694,12 @@ class SelectionAreaOnPointerUp {
3824
3694
  });
3825
3695
  }
3826
3696
  }
3827
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: SelectionAreaOnPointerUp, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable }); }
3828
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: SelectionAreaOnPointerUp }); }
3697
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: SelectionAreaOnPointerUp, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable }); }
3698
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: SelectionAreaOnPointerUp }); }
3829
3699
  }
3830
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: SelectionAreaOnPointerUp, decorators: [{
3700
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: SelectionAreaOnPointerUp, decorators: [{
3831
3701
  type: Injectable
3832
- }], ctorParameters: function () { return [{ type: FDraggableDataContext }]; } });
3702
+ }], ctorParameters: () => [{ type: FDraggableDataContext }] });
3833
3703
 
3834
3704
  const SELECTION_AREA_PROVIDERS = [
3835
3705
  GetCanBeSelectedItemsHandler,
@@ -3842,12 +3712,12 @@ class FDraggableBase extends IDragAndDropBase {
3842
3712
  constructor(ngZone) {
3843
3713
  super(ngZone);
3844
3714
  }
3845
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FDraggableBase, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }
3846
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.5", type: FDraggableBase, usesInheritance: true, ngImport: i0 }); }
3715
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FDraggableBase, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }
3716
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.9", type: FDraggableBase, usesInheritance: true, ngImport: i0 }); }
3847
3717
  }
3848
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FDraggableBase, decorators: [{
3718
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FDraggableBase, decorators: [{
3849
3719
  type: Directive
3850
- }], ctorParameters: function () { return [{ type: i0.NgZone }]; } });
3720
+ }], ctorParameters: () => [{ type: i0.NgZone }] });
3851
3721
 
3852
3722
  class FDraggableDirective extends FDraggableBase {
3853
3723
  get hostElement() {
@@ -3861,6 +3731,9 @@ class FDraggableDirective extends FDraggableBase {
3861
3731
  this.fComponentsStore = fComponentsStore;
3862
3732
  this.subscriptions$ = new Subscription();
3863
3733
  this.disabled = false;
3734
+ this.fSelectionChange = new EventEmitter();
3735
+ // @Output()
3736
+ // public override fConnectionIntersectNode: EventEmitter<ConnectionIntersectNodeEvent> = new EventEmitter<ConnectionIntersectNodeEvent>();
3864
3737
  this.fCreateNode = new EventEmitter();
3865
3738
  this.fReassignConnection = new EventEmitter();
3866
3739
  this.fCreateConnection = new EventEmitter();
@@ -3888,6 +3761,7 @@ class FDraggableDirective extends FDraggableBase {
3888
3761
  this.fDraggableDataContext.draggableItems.forEach((item) => {
3889
3762
  item.initialize?.();
3890
3763
  });
3764
+ this.emitSelectionChangeEvent();
3891
3765
  if (this.fDraggableDataContext.draggableItems.length > 0) {
3892
3766
  this.hostElement.classList.add('f-dragging');
3893
3767
  }
@@ -3909,28 +3783,45 @@ class FDraggableDirective extends FDraggableBase {
3909
3783
  this.hostElement.classList.remove('f-dragging');
3910
3784
  this.fDraggableDataContext.reset();
3911
3785
  }
3786
+ emitSelectionChangeEvent() {
3787
+ let selectedNodes = [];
3788
+ let selectedConnections = [];
3789
+ this.fDraggableDataContext.selectedItems.forEach((x) => {
3790
+ if (x.hostElement.classList.contains('f-node')) {
3791
+ selectedNodes.push(x.hostElement.id);
3792
+ }
3793
+ else {
3794
+ selectedConnections.push(x.hostElement.id);
3795
+ }
3796
+ });
3797
+ this.fSelectionChange.emit(new SelectionChangeEvent(selectedNodes, selectedConnections));
3798
+ }
3912
3799
  ngOnDestroy() {
3913
3800
  super.unsubscribe();
3914
3801
  this.subscriptions$.unsubscribe();
3915
3802
  }
3916
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FDraggableDirective, deps: [{ token: i0.ElementRef }, { token: FDraggableDataContext }, { token: i0.NgZone }, { token: i0.Injector }, { token: FComponentsStore }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Directive }); }
3917
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.5", type: FDraggableDirective, selector: "f-flow[fDraggable]", inputs: { disabled: "disabled" }, outputs: { fCreateNode: "fCreateNode", fReassignConnection: "fReassignConnection", fCreateConnection: "fCreateConnection" }, providers: [
3803
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FDraggableDirective, deps: [{ token: i0.ElementRef }, { token: FDraggableDataContext }, { token: i0.NgZone }, { token: i0.Injector }, { token: FComponentsStore }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Directive }); }
3804
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.9", type: FDraggableDirective, selector: "f-flow[fDraggable]", inputs: { disabled: ["fDraggableDisabled", "disabled"] }, outputs: { fSelectionChange: "fSelectionChange", fCreateNode: "fCreateNode", fReassignConnection: "fReassignConnection", fCreateConnection: "fCreateConnection" }, providers: [
3918
3805
  { provide: F_DRAGGABLE, useExisting: FDraggableDirective }
3919
- ], usesInheritance: true, ngImport: i0 }); }
3806
+ ], exportAs: ["fDraggable"], usesInheritance: true, ngImport: i0 }); }
3920
3807
  }
3921
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FDraggableDirective, decorators: [{
3808
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FDraggableDirective, decorators: [{
3922
3809
  type: Directive,
3923
3810
  args: [{
3924
3811
  selector: "f-flow[fDraggable]",
3812
+ exportAs: 'fDraggable',
3925
3813
  providers: [
3926
3814
  { provide: F_DRAGGABLE, useExisting: FDraggableDirective }
3927
3815
  ]
3928
3816
  }]
3929
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: FDraggableDataContext }, { type: i0.NgZone }, { type: i0.Injector }, { type: FComponentsStore }, { type: undefined, decorators: [{
3817
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: FDraggableDataContext }, { type: i0.NgZone }, { type: i0.Injector }, { type: FComponentsStore }, { type: undefined, decorators: [{
3930
3818
  type: Inject,
3931
3819
  args: [DOCUMENT]
3932
- }] }]; }, propDecorators: { disabled: [{
3933
- type: Input
3820
+ }] }], propDecorators: { disabled: [{
3821
+ type: Input,
3822
+ args: ['fDraggableDisabled']
3823
+ }], fSelectionChange: [{
3824
+ type: Output
3934
3825
  }], fCreateNode: [{
3935
3826
  type: Output
3936
3827
  }], fReassignConnection: [{
@@ -3942,38 +3833,104 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImpor
3942
3833
  const F_PARENT = new InjectionToken('F_PARENT');
3943
3834
 
3944
3835
  let uniqueId = 0;
3945
- class FFlowComponent extends FFlowBase {
3836
+ /**
3837
+ * `FFlowComponent` is an Angular component for managing and visualizing the flow of elements.
3838
+ * This component provides functionality for initialization, monitoring changes, and managing connections between elements.
3839
+ *
3840
+ * @component
3841
+ * @selector f-flow
3842
+ * @templateUrl './f-flow.component.html'
3843
+ * @styleUrls ['./f-flow.component.scss']
3844
+ * @host { '[attr.id]': 'id', class: "f-component f-flow" }
3845
+ * @providers {FComponentsStore, FDraggableDataContext, ...}
3846
+ * @changeDetection ChangeDetectionStrategy.OnPush
3847
+ * @implements IFlowBase, OnInit, AfterContentInit, OnDestroy
3848
+ */
3849
+ class FFlowComponent {
3850
+ /**
3851
+ * Provides access to the host HTML element of the component.
3852
+ *
3853
+ * @returns {HTMLElement}
3854
+ */
3946
3855
  get hostElement() {
3947
3856
  return this.elementReference.nativeElement;
3948
3857
  }
3858
+ /**
3859
+ * Constructor for FFlowComponent.
3860
+ *
3861
+ * @param elementReference Angular ElementRef for accessing the DOM element.
3862
+ * @param getElementRectInFlowHandler Handler to get the rectangle of an element in the flow.
3863
+ * @param getConnectionVectorHandler Handler to get the connection vector.
3864
+ * @param getAllNodesRectHandler Handler to get the rectangle of all nodes.
3865
+ * @param fComponentsStore F Components Store.
3866
+ */
3949
3867
  constructor(elementReference, getElementRectInFlowHandler, getConnectionVectorHandler, getAllNodesRectHandler, fComponentsStore) {
3950
- super();
3951
3868
  this.elementReference = elementReference;
3952
3869
  this.getElementRectInFlowHandler = getElementRectInFlowHandler;
3953
3870
  this.getConnectionVectorHandler = getConnectionVectorHandler;
3954
3871
  this.getAllNodesRectHandler = getAllNodesRectHandler;
3955
3872
  this.fComponentsStore = fComponentsStore;
3873
+ /**
3874
+ * Subscription for managing observables, especially for cleanup on component destruction.
3875
+ * @private
3876
+ * @type {Subscription}
3877
+ */
3878
+ this.subscription$ = new Subscription();
3879
+ /**
3880
+ * Unique identifier for each instance of the component.
3881
+ * Automatically generated upon component creation.
3882
+ *
3883
+ * @input
3884
+ * @hostBinding 'attr.id'
3885
+ * @type {string}
3886
+ */
3956
3887
  this.id = `f-flow-${uniqueId++}`;
3957
- this.onDestroy = new Subject();
3958
- this.onInitialized = new EventEmitter();
3959
- this.isInitialized = false;
3888
+ /**
3889
+ * Event emitted after the component has fully loaded and initialized.
3890
+ *
3891
+ * @output
3892
+ * @type {EventEmitter<void>}
3893
+ */
3894
+ this.fLoaded = new EventEmitter();
3895
+ /**
3896
+ * Flag indicating whether the component has loaded.
3897
+ * @private
3898
+ * @type {boolean}
3899
+ */
3900
+ this.isLoaded = false;
3960
3901
  }
3902
+ /**
3903
+ * Initializes the component, setting it as the active flow in `FComponentsStore` and assigning a unique ID.
3904
+ */
3961
3905
  ngOnInit() {
3962
3906
  this.fComponentsStore.fFlow = this;
3963
3907
  FLOW.UID = this.id;
3964
3908
  }
3909
+ /**
3910
+ * Called after the content of the component has been initialized.
3911
+ * Begins the process of monitoring and handling changes in elements.
3912
+ */
3965
3913
  ngAfterContentInit() {
3966
- this.subscribeOnElementsChanges();
3914
+ this.subscription$.add(this.subscribeOnElementsChanges());
3967
3915
  }
3916
+ /**
3917
+ * Subscribes to element changes and performs necessary actions on their change.
3918
+ * @returns {Subscription}
3919
+ * @private
3920
+ */
3968
3921
  subscribeOnElementsChanges() {
3969
- this.fComponentsStore.changes.pipe(startWith(null), takeUntil(this.onDestroy), debounceTime(20)).subscribe(() => {
3922
+ return this.fComponentsStore.changes.pipe(startWith(null), debounceTime(20)).subscribe(() => {
3970
3923
  this.calculateConnections();
3971
- if (!this.isInitialized) {
3972
- this.isInitialized = true;
3973
- this.onInitialized.emit(this.getNodesRect());
3924
+ if (!this.isLoaded) {
3925
+ this.isLoaded = true;
3926
+ this.fLoaded.emit();
3974
3927
  }
3975
3928
  });
3976
3929
  }
3930
+ /**
3931
+ * Performs the calculation of connections between output and input elements.
3932
+ * @private
3933
+ */
3977
3934
  calculateConnections() {
3978
3935
  this.fComponentsStore.fOutputs.forEach((output) => output.setConnected(false));
3979
3936
  this.fComponentsStore.fInputs.forEach((input) => input.setConnected(false));
@@ -3983,28 +3940,30 @@ class FFlowComponent extends FFlowBase {
3983
3940
  if (output && input) {
3984
3941
  output.setConnected(true);
3985
3942
  input.setConnected(true);
3986
- // setTimeout(() => {
3987
3943
  const outputRect = this.getElementRectInFlowHandler.handle(output.hostElement);
3988
3944
  const inputRect = this.getElementRectInFlowHandler.handle(input.hostElement);
3989
3945
  const vector = this.getConnectionVectorHandler.handle(new GetConnectionVectorRequest(outputRect, inputRect, connection.behavior, output.side, input.side));
3946
+ connection.setMarkers();
3990
3947
  connection.setVector(vector.point1, output.side, vector.point2, input.side);
3991
- // requestAnimationFrame(() => {
3992
3948
  connection.initialize();
3993
- // });
3994
- // const markers = this.fComponentsStore.fDefs!.getMarkersForConnection(connection.id, connection.startColor, connection.endColor);
3995
- // connection.setMarkers(markers);
3996
- // });
3997
3949
  }
3998
3950
  });
3999
3951
  }
3952
+ /**
3953
+ * Returns a rectangle representing the position and size of all nodes in the flow.
3954
+ * @returns {IRect}
3955
+ */
4000
3956
  getNodesRect() {
4001
3957
  return this.getAllNodesRectHandler.handle();
4002
3958
  }
3959
+ /**
3960
+ * Releases resources and unsubscribes from all subscriptions before the component is destroyed.
3961
+ */
4003
3962
  ngOnDestroy() {
4004
- this.onDestroy.next();
3963
+ this.subscription$.unsubscribe();
4005
3964
  }
4006
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FFlowComponent, deps: [{ token: i0.ElementRef }, { token: GetElementRectInFlowHandler }, { token: GetConnectionVectorHandler }, { token: GetAllNodesRectHandler }, { token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Component }); }
4007
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.5", type: FFlowComponent, selector: "f-flow", inputs: { id: "id" }, outputs: { onInitialized: "onInitialized" }, host: { properties: { "attr.id": "this.id" }, classAttribute: "f-component f-flow" }, providers: [
3965
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FFlowComponent, deps: [{ token: i0.ElementRef }, { token: GetElementRectInFlowHandler }, { token: GetConnectionVectorHandler }, { token: GetAllNodesRectHandler }, { token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Component }); }
3966
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.9", type: FFlowComponent, selector: "f-flow", inputs: { id: "id" }, outputs: { fLoaded: "fLoaded" }, host: { properties: { "attr.id": "this.id" }, classAttribute: "f-component f-flow" }, providers: [
4008
3967
  FComponentsStore,
4009
3968
  FDraggableDataContext,
4010
3969
  ...SINGLE_SELECT_PROVIDERS,
@@ -4016,9 +3975,9 @@ class FFlowComponent extends FFlowBase {
4016
3975
  ...COMMON_PROVIDERS,
4017
3976
  { provide: F_FLOW, useExisting: FFlowComponent },
4018
3977
  { provide: F_PARENT, useExisting: FFlowComponent },
4019
- ], usesInheritance: true, ngImport: i0, template: "<ng-container>\n <ng-content select=\"[fDefinitions]\"></ng-content>\n\n <ng-content select=\"f-background\"></ng-content>\n\n <ng-content select=\"f-line-alignment\"></ng-content>\n\n <ng-content select=\"f-canvas\"></ng-content>\n\n <ng-content select=\"f-selection-area\"></ng-content>\n</ng-container>\n", styles: [":host{display:block;position:relative;width:100%;height:100%;overflow:hidden;pointer-events:all;-webkit-user-select:none;user-select:none;touch-action:none}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
3978
+ ], ngImport: i0, template: "<ng-container>\n <ng-content select=\"[fDefinitions]\"></ng-content>\n\n <ng-content select=\"f-background\"></ng-content>\n\n <ng-content select=\"f-line-alignment\"></ng-content>\n\n <ng-content select=\"f-canvas\"></ng-content>\n\n <ng-content select=\"f-selection-area\"></ng-content>\n</ng-container>\n", styles: [":host{display:block;position:relative;width:100%;height:100%;overflow:hidden;pointer-events:all;-webkit-user-select:none;user-select:none;touch-action:none}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
4020
3979
  }
4021
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FFlowComponent, decorators: [{
3980
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FFlowComponent, decorators: [{
4022
3981
  type: Component,
4023
3982
  args: [{ selector: 'f-flow', host: {
4024
3983
  '[attr.id]': 'id',
@@ -4036,18 +3995,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImpor
4036
3995
  { provide: F_FLOW, useExisting: FFlowComponent },
4037
3996
  { provide: F_PARENT, useExisting: FFlowComponent },
4038
3997
  ], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container>\n <ng-content select=\"[fDefinitions]\"></ng-content>\n\n <ng-content select=\"f-background\"></ng-content>\n\n <ng-content select=\"f-line-alignment\"></ng-content>\n\n <ng-content select=\"f-canvas\"></ng-content>\n\n <ng-content select=\"f-selection-area\"></ng-content>\n</ng-container>\n", styles: [":host{display:block;position:relative;width:100%;height:100%;overflow:hidden;pointer-events:all;-webkit-user-select:none;user-select:none;touch-action:none}\n"] }]
4039
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: GetElementRectInFlowHandler }, { type: GetConnectionVectorHandler }, { type: GetAllNodesRectHandler }, { type: FComponentsStore }]; }, propDecorators: { id: [{
3998
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: GetElementRectInFlowHandler }, { type: GetConnectionVectorHandler }, { type: GetAllNodesRectHandler }, { type: FComponentsStore }], propDecorators: { id: [{
4040
3999
  type: Input
4041
4000
  }, {
4042
4001
  type: HostBinding,
4043
4002
  args: ['attr.id']
4044
- }], onInitialized: [{
4003
+ }], fLoaded: [{
4045
4004
  type: Output
4046
4005
  }] } });
4047
4006
 
4048
4007
  class FFlowModule {
4049
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FFlowModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
4050
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.5", ngImport: i0, type: FFlowModule, declarations: [FConnectionDragHandleComponent,
4008
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FFlowModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
4009
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.9", ngImport: i0, type: FFlowModule, declarations: [FConnectionDragHandleComponent,
4051
4010
  FConnectionGradientComponent,
4052
4011
  FConnectionPathComponent,
4053
4012
  FConnectionTextComponent,
@@ -4056,7 +4015,6 @@ class FFlowModule {
4056
4015
  FFlowComponent,
4057
4016
  FBackgroundComponent,
4058
4017
  FCanvasComponent,
4059
- FDefinitionsComponent,
4060
4018
  FNodeComponent,
4061
4019
  FConnectionComponent,
4062
4020
  FConnectionForCreateComponent,
@@ -4067,14 +4025,9 @@ class FFlowModule {
4067
4025
  FDraggableDirective,
4068
4026
  FExternalItemDirective,
4069
4027
  FSelectionAreaComponent,
4070
- FLineAlignmentComponent,
4071
- FConnectionMarkerStartDirective,
4072
- FConnectionMarkerStartSelectedDirective,
4073
- FConnectionMarkerEndDirective,
4074
- FConnectionMarkerEndSelectedDirective], imports: [CommonModule], exports: [FFlowComponent,
4028
+ FLineAlignmentComponent], imports: [CommonModule], exports: [FFlowComponent,
4075
4029
  FBackgroundComponent,
4076
4030
  FCanvasComponent,
4077
- FDefinitionsComponent,
4078
4031
  FNodeComponent,
4079
4032
  FConnectionComponent,
4080
4033
  FConnectionForCreateComponent,
@@ -4085,16 +4038,12 @@ class FFlowModule {
4085
4038
  FDraggableDirective,
4086
4039
  FExternalItemDirective,
4087
4040
  FSelectionAreaComponent,
4088
- FLineAlignmentComponent,
4089
- FConnectionMarkerStartDirective,
4090
- FConnectionMarkerStartSelectedDirective,
4091
- FConnectionMarkerEndDirective,
4092
- FConnectionMarkerEndSelectedDirective] }); }
4093
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FFlowModule, providers: [
4041
+ FLineAlignmentComponent] }); }
4042
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FFlowModule, providers: [
4094
4043
  FDraggableDataContext,
4095
4044
  ], imports: [CommonModule] }); }
4096
4045
  }
4097
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FFlowModule, decorators: [{
4046
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FFlowModule, decorators: [{
4098
4047
  type: NgModule,
4099
4048
  args: [{
4100
4049
  declarations: [
@@ -4107,7 +4056,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImpor
4107
4056
  FFlowComponent,
4108
4057
  FBackgroundComponent,
4109
4058
  FCanvasComponent,
4110
- FDefinitionsComponent,
4111
4059
  FNodeComponent,
4112
4060
  FConnectionComponent,
4113
4061
  FConnectionForCreateComponent,
@@ -4119,10 +4067,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImpor
4119
4067
  FExternalItemDirective,
4120
4068
  FSelectionAreaComponent,
4121
4069
  FLineAlignmentComponent,
4122
- FConnectionMarkerStartDirective,
4123
- FConnectionMarkerStartSelectedDirective,
4124
- FConnectionMarkerEndDirective,
4125
- FConnectionMarkerEndSelectedDirective
4126
4070
  ],
4127
4071
  imports: [
4128
4072
  CommonModule
@@ -4134,7 +4078,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImpor
4134
4078
  FFlowComponent,
4135
4079
  FBackgroundComponent,
4136
4080
  FCanvasComponent,
4137
- FDefinitionsComponent,
4138
4081
  FNodeComponent,
4139
4082
  FConnectionComponent,
4140
4083
  FConnectionForCreateComponent,
@@ -4146,10 +4089,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImpor
4146
4089
  FExternalItemDirective,
4147
4090
  FSelectionAreaComponent,
4148
4091
  FLineAlignmentComponent,
4149
- FConnectionMarkerStartDirective,
4150
- FConnectionMarkerStartSelectedDirective,
4151
- FConnectionMarkerEndDirective,
4152
- FConnectionMarkerEndSelectedDirective
4153
4092
  ]
4154
4093
  }]
4155
4094
  }] });
@@ -4158,5 +4097,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImpor
4158
4097
  * Generated bundle index. Do not edit.
4159
4098
  */
4160
4099
 
4161
- export { CreateConnectionEvent, CreateNodeEvent, FBackgroundComponent, FCanvasChangeEvent, FCanvasComponent, FCellPatternComponent, FConnectionComponent, FConnectionForCreateComponent, FConnectionMarkerEndDirective, FConnectionMarkerEndSelectedDirective, FConnectionMarkerStartDirective, FConnectionMarkerStartSelectedDirective, FDefinitionsComponent, FDragHandleDirective, FDraggableDirective, FExternalItemDirective, FFlowComponent, FFlowModule, FLineAlignmentComponent, FNodeComponent, FNodeInputDirective, FNodeOutletDirective, FNodeOutputDirective, FSelectionAreaComponent, FZoomDirective, F_BACKGROUND_PATTERN, F_DRAG_HANDLE, ReassignConnectionEvent };
4100
+ export { CreateConnectionEvent, CreateNodeEvent, EConnectionBehavior, EConnectionType, EFMarkerType, FBackgroundComponent, FCanvasChangeEvent, FCanvasComponent, FCellPatternComponent, FConnectionComponent, FConnectionForCreateComponent, FDragHandleDirective, FDraggableDirective, FExternalItemDirective, FFlowComponent, FFlowModule, FLineAlignmentComponent, FMarkerBase, FMarkerComponent, FNodeComponent, FNodeInputDirective, FNodeOutletDirective, FNodeOutputDirective, FSelectionAreaComponent, FZoomDirective, F_BACKGROUND_PATTERN, F_DRAG_HANDLE, F_MARKER, ReassignConnectionEvent };
4162
4101
  //# sourceMappingURL=foblex-flow.mjs.map