@foblex/flow 1.2.3 → 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 (139) 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/domain/providers.d.ts +1 -1
  8. package/esm2022/components/f-flow/f-backgroud/f-background-base.mjs +3 -3
  9. package/esm2022/components/f-flow/f-backgroud/f-background.component.mjs +5 -5
  10. package/esm2022/components/f-flow/f-backgroud/f-cell-pattern/f-cell-pattern.component.mjs +5 -5
  11. package/esm2022/components/f-flow/f-canvas/f-canvas-base.mjs +4 -4
  12. package/esm2022/components/f-flow/f-canvas/f-canvas.component.mjs +5 -8
  13. package/esm2022/components/f-flow/f-canvas/f-zoom/f-zoom.directive.mjs +5 -5
  14. package/esm2022/components/f-flow/f-flow.component.mjs +94 -26
  15. package/esm2022/components/f-flow/f-parent.injection-token.mjs +1 -1
  16. package/esm2022/components/f-flow/i-flow-base.mjs +3 -0
  17. package/esm2022/components/f-flow/index.mjs +2 -3
  18. package/esm2022/components/f-flow/public-api.mjs +1 -2
  19. package/esm2022/domain/get-all-nodes-rect.handler.mjs +4 -4
  20. package/esm2022/domain/get-connection-vector/get-connection-vector.handler.mjs +3 -3
  21. package/esm2022/domain/get-connection.handler.mjs +4 -4
  22. package/esm2022/domain/get-element-rect-in-flow.handler.mjs +4 -4
  23. package/esm2022/domain/get-incoming-connections.handler.mjs +4 -4
  24. package/esm2022/domain/get-input-rect-in-flow.handler.mjs +4 -4
  25. package/esm2022/domain/get-outgoing-connections.handler.mjs +4 -4
  26. package/esm2022/domain/get-output-rect-in-flow.handler.mjs +4 -4
  27. package/esm2022/domain/update-node-layer.handler.mjs +4 -4
  28. package/esm2022/f-components-store.mjs +4 -4
  29. package/esm2022/f-connection/common/f-connection-base.mjs +23 -8
  30. package/esm2022/f-connection/common/f-connection-text/f-connection-text-path.directive.mjs +5 -5
  31. package/esm2022/f-connection/common/f-connection-text/f-connection-text.component.mjs +6 -6
  32. package/esm2022/f-connection/common/f-drag-handle/f-connection-drag-handle.component.mjs +4 -4
  33. package/esm2022/f-connection/common/f-gradient/f-connection-gradient.component.mjs +5 -5
  34. package/esm2022/f-connection/common/f-path/f-connection-path.component.mjs +9 -9
  35. package/esm2022/f-connection/common/f-selection/f-connection-selection.component.mjs +5 -5
  36. package/esm2022/f-connection/common/i-has-connection-from-to.mjs +1 -1
  37. package/esm2022/f-connection/common/public-api.mjs +3 -0
  38. package/esm2022/f-connection/f-connection/f-connection.component.mjs +14 -9
  39. package/esm2022/f-connection/f-connection-for-create/f-connection-for-create.component.mjs +11 -7
  40. package/esm2022/f-connection/f-marker/e-f-marker-type.mjs +8 -0
  41. package/esm2022/f-connection/f-marker/f-marker-base.mjs +11 -0
  42. package/esm2022/f-connection/f-marker/f-marker.component.mjs +39 -0
  43. package/esm2022/f-connection/f-marker/index.mjs +4 -0
  44. package/esm2022/f-connection/index.mjs +2 -1
  45. package/esm2022/f-connection/public-api.mjs +3 -1
  46. package/esm2022/f-draggable/canvas/canvas.on-pointer-up.mjs +4 -4
  47. package/esm2022/f-draggable/canvas/canvas.prepare-drag-sequence.mjs +4 -4
  48. package/esm2022/f-draggable/components/f-external-item/f-external-item-base.mjs +3 -3
  49. package/esm2022/f-draggable/components/f-external-item/f-external-item.directive.mjs +5 -5
  50. package/esm2022/f-draggable/components/f-external-item/f-external-item.service.mjs +3 -3
  51. package/esm2022/f-draggable/components/f-line-alignment/f-line-alignment-base.mjs +3 -3
  52. package/esm2022/f-draggable/components/f-line-alignment/f-line-alignment.component.mjs +4 -4
  53. package/esm2022/f-draggable/components/f-selection-area/f-selection-area-base.mjs +3 -3
  54. package/esm2022/f-draggable/components/f-selection-area/f-selection-area.component.mjs +4 -4
  55. package/esm2022/f-draggable/connections/create-connection/create-connection.on-pointer-up.mjs +4 -4
  56. package/esm2022/f-draggable/connections/create-connection/create-connection.prepare-drag-sequence.mjs +4 -4
  57. 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
  58. package/esm2022/f-draggable/connections/find-inputs-under-pointer/find-inputs-under-pointer.handler.mjs +4 -4
  59. 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
  60. package/esm2022/f-draggable/connections/find-inputs-under-pointer/inputs-under-pointer/inputs-under-pointer.handler.mjs +4 -4
  61. package/esm2022/f-draggable/connections/reassign-connection/reassign-connection.on-pointer-up.mjs +4 -4
  62. package/esm2022/f-draggable/connections/reassign-connection/reassign-connection.prepare-drag-sequence.mjs +4 -4
  63. package/esm2022/f-draggable/external-item/external-item.on-pointer-up.mjs +4 -4
  64. package/esm2022/f-draggable/external-item/external-item.prepare-drag-sequence.mjs +4 -4
  65. package/esm2022/f-draggable/f-draggable-base.mjs +5 -5
  66. package/esm2022/f-draggable/f-draggable-data-context.mjs +3 -3
  67. package/esm2022/f-draggable/f-draggable.directive.mjs +30 -9
  68. package/esm2022/f-draggable/node/domain/is-connection-under-node/is-connection-under-node.handler.mjs +4 -4
  69. package/esm2022/f-draggable/node/node.on-pointer-up.mjs +4 -4
  70. package/esm2022/f-draggable/node/node.prepare-drag-sequence.mjs +4 -4
  71. package/esm2022/f-draggable/selection-area/get-can-be-selected-items/get-can-be-selected-items.handler.mjs +4 -4
  72. package/esm2022/f-draggable/selection-area/selection-area.on-pointer-up.mjs +4 -4
  73. package/esm2022/f-draggable/selection-area/selection-area.prepare-drag-sequence.mjs +5 -5
  74. package/esm2022/f-draggable/single-select/index.mjs +2 -1
  75. package/esm2022/f-draggable/single-select/selection-change-event.mjs +7 -0
  76. package/esm2022/f-draggable/single-select/single-select.on-pointer-down.mjs +4 -4
  77. package/esm2022/f-flow.module.mjs +8 -28
  78. package/esm2022/f-node/f-connectors/f-connector-base.mjs +1 -1
  79. package/esm2022/f-node/f-connectors/f-node-input/f-node-input-base.mjs +3 -3
  80. package/esm2022/f-node/f-connectors/f-node-input/f-node-input.directive.mjs +7 -12
  81. package/esm2022/f-node/f-connectors/f-node-outlet/f-node-outlet-base.mjs +3 -3
  82. package/esm2022/f-node/f-connectors/f-node-outlet/f-node-outlet.directive.mjs +9 -7
  83. package/esm2022/f-node/f-connectors/f-node-output/f-node-output-base.mjs +3 -3
  84. package/esm2022/f-node/f-connectors/f-node-output/f-node-output.directive.mjs +7 -6
  85. package/esm2022/f-node/f-drag-handle/f-drag-handle.directive.mjs +6 -6
  86. package/esm2022/f-node/f-node.component.mjs +6 -6
  87. package/esm2022/get-flow-uid.mjs +3 -2
  88. package/f-components-store.d.ts +2 -3
  89. package/f-connection/common/f-connection-base.d.ts +4 -2
  90. package/f-connection/common/i-has-connection-from-to.d.ts +1 -0
  91. package/f-connection/common/public-api.d.ts +2 -0
  92. package/f-connection/f-connection/f-connection.component.d.ts +6 -4
  93. package/f-connection/f-connection-for-create/f-connection-for-create.component.d.ts +4 -2
  94. package/f-connection/f-marker/e-f-marker-type.d.ts +6 -0
  95. package/f-connection/f-marker/f-marker-base.d.ts +15 -0
  96. package/f-connection/f-marker/f-marker.component.d.ts +15 -0
  97. package/f-connection/f-marker/index.d.ts +3 -0
  98. package/f-connection/index.d.ts +1 -0
  99. package/f-connection/public-api.d.ts +2 -0
  100. package/f-draggable/connections/providers.d.ts +1 -1
  101. package/f-draggable/external-item/providers.d.ts +1 -1
  102. package/f-draggable/f-draggable-base.d.ts +2 -0
  103. package/f-draggable/f-draggable.directive.d.ts +4 -1
  104. package/f-draggable/node/providers.d.ts +1 -1
  105. package/f-draggable/single-select/index.d.ts +1 -0
  106. package/f-draggable/single-select/selection-change-event.d.ts +5 -0
  107. package/f-flow.module.d.ts +13 -18
  108. package/f-node/f-connectors/f-connector-base.d.ts +1 -1
  109. package/f-node/f-connectors/f-node-input/f-node-input.directive.d.ts +1 -3
  110. package/f-node/f-connectors/f-node-outlet/f-node-outlet.directive.d.ts +1 -1
  111. package/f-node/f-connectors/f-node-output/f-node-output.directive.d.ts +2 -2
  112. package/f-node/f-node.component.d.ts +1 -1
  113. package/fesm2022/foblex-flow.mjs +467 -534
  114. package/fesm2022/foblex-flow.mjs.map +1 -1
  115. package/package.json +8 -5
  116. package/components/f-flow/f-definitions/domain/i-connection-marker.d.ts +0 -5
  117. package/components/f-flow/f-definitions/f-definitions-base.d.ts +0 -10
  118. package/components/f-flow/f-definitions/f-definitions.component.d.ts +0 -20
  119. package/components/f-flow/f-definitions/f-markers/f-connection-marker-end-selected.directive.d.ts +0 -13
  120. package/components/f-flow/f-definitions/f-markers/f-connection-marker-end.directive.d.ts +0 -14
  121. package/components/f-flow/f-definitions/f-markers/f-connection-marker-start-selected.directive.d.ts +0 -13
  122. package/components/f-flow/f-definitions/f-markers/f-connection-marker-start.directive.d.ts +0 -14
  123. package/components/f-flow/f-definitions/f-markers/index.d.ts +0 -4
  124. package/components/f-flow/f-definitions/f-markers/public-api.d.ts +0 -4
  125. package/components/f-flow/f-definitions/index.d.ts +0 -3
  126. package/components/f-flow/f-definitions/public-api.d.ts +0 -2
  127. package/components/f-flow/f-flow-base.d.ts +0 -10
  128. package/esm2022/components/f-flow/f-definitions/domain/i-connection-marker.mjs +0 -3
  129. package/esm2022/components/f-flow/f-definitions/f-definitions-base.mjs +0 -11
  130. package/esm2022/components/f-flow/f-definitions/f-definitions.component.mjs +0 -73
  131. package/esm2022/components/f-flow/f-definitions/f-markers/f-connection-marker-end-selected.directive.mjs +0 -36
  132. package/esm2022/components/f-flow/f-definitions/f-markers/f-connection-marker-end.directive.mjs +0 -39
  133. package/esm2022/components/f-flow/f-definitions/f-markers/f-connection-marker-start-selected.directive.mjs +0 -36
  134. package/esm2022/components/f-flow/f-definitions/f-markers/f-connection-marker-start.directive.mjs +0 -39
  135. package/esm2022/components/f-flow/f-definitions/f-markers/index.mjs +0 -5
  136. package/esm2022/components/f-flow/f-definitions/f-markers/public-api.mjs +0 -5
  137. package/esm2022/components/f-flow/f-definitions/index.mjs +0 -4
  138. package/esm2022/components/f-flow/f-definitions/public-api.mjs +0 -3
  139. 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
 
@@ -1378,9 +1451,6 @@ class FNodeBase {
1378
1451
 
1379
1452
  let uniqueId$5 = 0;
1380
1453
  class FNodeInputDirective extends FNodeInputBase {
1381
- get color() {
1382
- return this.fNodeInputColor || 'black';
1383
- }
1384
1454
  get disabled() {
1385
1455
  return this.isDisabled;
1386
1456
  }
@@ -1419,13 +1489,14 @@ class FNodeInputDirective extends FNodeInputBase {
1419
1489
  this.fNode.removeConnector(this);
1420
1490
  this.fComponentsStore.removeInput(this);
1421
1491
  }
1422
- 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 }); }
1423
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.5", type: FNodeInputDirective, selector: "[fNodeInput]", inputs: { id: ["fNodeInputId", "id"], fNodeInputColor: "fNodeInputColor", 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 }); }
1424
1494
  }
1425
- 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: [{
1426
1496
  type: Directive,
1427
1497
  args: [{
1428
1498
  selector: "[fNodeInput]",
1499
+ exportAs: 'fNodeInput',
1429
1500
  host: {
1430
1501
  '[attr.id]': 'id',
1431
1502
  class: "f-component f-node-input",
@@ -1435,15 +1506,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImpor
1435
1506
  },
1436
1507
  providers: [{ provide: F_NODE_INPUT, useExisting: FNodeInputDirective }],
1437
1508
  }]
1438
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: FNodeBase, decorators: [{
1509
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: FNodeBase, decorators: [{
1439
1510
  type: Inject,
1440
1511
  args: [F_NODE]
1441
- }] }, { type: FComponentsStore }]; }, propDecorators: { id: [{
1512
+ }] }, { type: FComponentsStore }], propDecorators: { id: [{
1442
1513
  type: Input,
1443
1514
  args: ['fNodeInputId']
1444
- }], fNodeInputColor: [{
1445
- type: Input,
1446
- args: ['fNodeInputColor']
1447
1515
  }], multiple: [{
1448
1516
  type: Input,
1449
1517
  args: ['fNodeInputMultiple']
@@ -1465,10 +1533,10 @@ class FNodeOutletBase extends FConnectorBase {
1465
1533
  setOutputs(outputs) {
1466
1534
  this.outputs = outputs;
1467
1535
  }
1468
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FNodeOutletBase, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
1469
- 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 }); }
1470
1538
  }
1471
- 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: [{
1472
1540
  type: Directive
1473
1541
  }] });
1474
1542
 
@@ -1509,13 +1577,14 @@ class FNodeOutletDirective extends FNodeOutletBase {
1509
1577
  ngOnDestroy() {
1510
1578
  this.fComponentsStore.removeOutlet(this);
1511
1579
  }
1512
- 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 }); }
1513
- 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 }); }
1514
1582
  }
1515
- 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: [{
1516
1584
  type: Directive,
1517
1585
  args: [{
1518
1586
  selector: "[fNodeOutlet]",
1587
+ exportAs: 'fNodeOutlet',
1519
1588
  host: {
1520
1589
  '[attr.id]': 'id',
1521
1590
  class: "f-component f-node-outlet",
@@ -1523,11 +1592,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImpor
1523
1592
  },
1524
1593
  providers: [{ provide: F_NODE_OUTLET, useExisting: FNodeOutletDirective }],
1525
1594
  }]
1526
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: FNodeBase, decorators: [{
1595
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: FNodeBase, decorators: [{
1527
1596
  type: Inject,
1528
1597
  args: [F_NODE]
1529
- }] }, { type: FComponentsStore }]; }, propDecorators: { id: [{
1530
- type: Input
1598
+ }] }, { type: FComponentsStore }], propDecorators: { id: [{
1599
+ type: Input,
1600
+ args: ['fNodeOutletId']
1531
1601
  }], disabled: [{
1532
1602
  type: Input,
1533
1603
  args: ['fNodeOutletDisabled']
@@ -1544,10 +1614,10 @@ class FNodeOutputBase extends FConnectorBase {
1544
1614
  get canBeConnected() {
1545
1615
  return !this.disabled && !this.isConnected;
1546
1616
  }
1547
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FNodeOutputBase, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
1548
- 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 }); }
1549
1619
  }
1550
- 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: [{
1551
1621
  type: Directive
1552
1622
  }] });
1553
1623
 
@@ -1594,13 +1664,14 @@ class FNodeOutputDirective extends FNodeOutputBase {
1594
1664
  this.fNode.removeConnector(this);
1595
1665
  this.fComponentsStore.removeOutput(this);
1596
1666
  }
1597
- 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 }); }
1598
- 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 }); }
1599
1669
  }
1600
- 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: [{
1601
1671
  type: Directive,
1602
1672
  args: [{
1603
1673
  selector: "[fNodeOutput]",
1674
+ exportAs: 'fNodeOutput',
1604
1675
  host: {
1605
1676
  '[attr.id]': 'id',
1606
1677
  class: "f-component f-node-output",
@@ -1608,10 +1679,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImpor
1608
1679
  },
1609
1680
  providers: [{ provide: F_NODE_OUTPUT, useExisting: FNodeOutputDirective }],
1610
1681
  }]
1611
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: FNodeBase, decorators: [{
1682
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: FNodeBase, decorators: [{
1612
1683
  type: Inject,
1613
1684
  args: [F_NODE]
1614
- }] }, { type: FComponentsStore }]; }, propDecorators: { id: [{
1685
+ }] }, { type: FComponentsStore }], propDecorators: { id: [{
1615
1686
  type: Input,
1616
1687
  args: ['fNodeOutputId']
1617
1688
  }], disabled: [{
@@ -1643,10 +1714,10 @@ class FDragHandleDirective {
1643
1714
  ngOnDestroy() {
1644
1715
  this.stateChanges.complete();
1645
1716
  }
1646
- 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 }); }
1647
- 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 }); }
1648
1719
  }
1649
- 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: [{
1650
1721
  type: Directive,
1651
1722
  args: [{
1652
1723
  selector: "[fDragHandle]",
@@ -1657,14 +1728,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImpor
1657
1728
  },
1658
1729
  providers: [{ provide: F_DRAG_HANDLE, useExisting: FDragHandleDirective }],
1659
1730
  }]
1660
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: undefined, decorators: [{
1731
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: undefined, decorators: [{
1661
1732
  type: Inject,
1662
1733
  args: [F_NODE]
1663
1734
  }, {
1664
1735
  type: Optional
1665
1736
  }, {
1666
1737
  type: SkipSelf
1667
- }] }]; }, propDecorators: { disabled: [{
1738
+ }] }], propDecorators: { disabled: [{
1668
1739
  type: Input,
1669
1740
  args: ['fDragHandleDisabled']
1670
1741
  }] } });
@@ -1758,21 +1829,21 @@ class FNodeComponent extends FNodeBase {
1758
1829
  this.stateChanges.complete();
1759
1830
  this.subscriptions$.unsubscribe();
1760
1831
  }
1761
- 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 }); }
1762
- 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: [
1763
1834
  { provide: F_NODE, useExisting: FNodeComponent }
1764
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 }); }
1765
1836
  }
1766
- 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: [{
1767
1838
  type: Component,
1768
1839
  args: [{ selector: "f-node", exportAs: "fComponent", changeDetection: ChangeDetectionStrategy.OnPush, host: {
1769
1840
  '[attr.id]': 'id',
1770
1841
  class: "f-node f-component",
1771
- '[class.f-disabled]': 'disabled',
1842
+ '[class.f-node-disabled]': 'disabled',
1772
1843
  }, providers: [
1773
1844
  { provide: F_NODE, useExisting: FNodeComponent }
1774
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"] }]
1775
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: FComponentsStore }]; }, propDecorators: { id: [{
1846
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: FComponentsStore }], propDecorators: { id: [{
1776
1847
  type: Input
1777
1848
  }], position: [{
1778
1849
  type: Input,
@@ -1903,10 +1974,10 @@ class FZoomDirective extends FZoomBase {
1903
1974
  ngOnDestroy() {
1904
1975
  super.unsubscribe();
1905
1976
  }
1906
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FZoomDirective, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Directive }); }
1907
- 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 }); }
1908
1979
  }
1909
- 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: [{
1910
1981
  type: Directive,
1911
1982
  args: [{
1912
1983
  selector: "f-canvas[fZoom]",
@@ -1916,7 +1987,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImpor
1916
1987
  },
1917
1988
  providers: [{ provide: F_ZOOM, useExisting: FZoomDirective }],
1918
1989
  }]
1919
- }], ctorParameters: function () { return [{ type: FComponentsStore }]; }, propDecorators: { fFlowZoom: [{
1990
+ }], ctorParameters: () => [{ type: FComponentsStore }], propDecorators: { fFlowZoom: [{
1920
1991
  type: Input,
1921
1992
  args: ['fZoom']
1922
1993
  }], minimum: [{
@@ -2034,12 +2105,12 @@ class FCanvasBase extends MIXIN_BASE {
2034
2105
  const position = PointExtensions.sum(this.transform.position, this.transform.scaledPosition);
2035
2106
  this.fCanvasChange.emit(new FCanvasChangeEvent(position, this.transform.scale));
2036
2107
  }
2037
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FCanvasBase, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
2038
- 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 }); }
2039
2110
  }
2040
- 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: [{
2041
2112
  type: Directive
2042
- }], ctorParameters: function () { return []; } });
2113
+ }], ctorParameters: () => [] });
2043
2114
 
2044
2115
  class FCanvasComponent extends FCanvasBase {
2045
2116
  set position(value) {
@@ -2072,7 +2143,6 @@ class FCanvasComponent extends FCanvasBase {
2072
2143
  this.elementReference = elementReference;
2073
2144
  this.fComponentsStore = fComponentsStore;
2074
2145
  this.fCanvasChange = new EventEmitter();
2075
- this.onInitialized = new EventEmitter();
2076
2146
  }
2077
2147
  ngOnInit() {
2078
2148
  this.fComponentsStore.fCanvas = this;
@@ -2105,239 +2175,26 @@ class FCanvasComponent extends FCanvasBase {
2105
2175
  this.redrawWithAnimation();
2106
2176
  this.completeDrag();
2107
2177
  }
2108
- 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 }); }
2109
- 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 }); }
2110
2180
  }
2111
- 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: [{
2112
2182
  type: Component,
2113
2183
  args: [{ selector: 'f-canvas', exportAs: 'fComponent', host: {
2114
2184
  'class': 'f-component f-canvas',
2115
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"] }]
2116
- }], ctorParameters: function () { return [{ type: GetAllNodesRectHandler }, { type: i0.ElementRef }, { type: FComponentsStore }]; }, propDecorators: { fCanvasChange: [{
2186
+ }], ctorParameters: () => [{ type: GetAllNodesRectHandler }, { type: i0.ElementRef }, { type: FComponentsStore }], propDecorators: { fCanvasChange: [{
2117
2187
  type: Output
2118
2188
  }], position: [{
2119
2189
  type: Input
2120
2190
  }], scale: [{
2121
2191
  type: Input
2122
- }], onInitialized: [{
2123
- type: Output
2124
2192
  }], fNodesContainer: [{
2125
2193
  type: ViewChild,
2126
2194
  args: ['fNodesContainer', { static: true }]
2127
2195
  }] } });
2128
2196
 
2129
2197
  const F_FLOW = new InjectionToken('F_FLOW');
2130
- class FFlowBase {
2131
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FFlowBase, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
2132
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.5", type: FFlowBase, ngImport: i0 }); }
2133
- }
2134
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FFlowBase, decorators: [{
2135
- type: Directive
2136
- }] });
2137
-
2138
- const F_CONNECTION_MARKER = new InjectionToken('F_CONNECTION_MARKER');
2139
-
2140
- class FConnectionMarkerEndDirective {
2141
- get hostElement() {
2142
- return this.elementReference.nativeElement;
2143
- }
2144
- get id() {
2145
- return sanitizeElementId(this.fFlow.id + '-f-connection-marker-end-' + this.fConnectionMarkerEnd);
2146
- }
2147
- constructor(elementReference, fFlow) {
2148
- this.elementReference = elementReference;
2149
- this.fFlow = fFlow;
2150
- this.fConnectionMarkerEnd = 'black';
2151
- }
2152
- 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 }); }
2153
- 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 }); }
2154
- }
2155
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FConnectionMarkerEndDirective, decorators: [{
2156
- type: Directive,
2157
- args: [{
2158
- selector: '[fConnectionMarkerEnd]',
2159
- exportAs: 'fComponent',
2160
- host: {
2161
- '[attr.id]': 'id',
2162
- 'class': 'f-component f-connection-marker'
2163
- },
2164
- providers: [{ provide: F_CONNECTION_MARKER, useExisting: FConnectionMarkerEndDirective }],
2165
- }]
2166
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: FFlowBase, decorators: [{
2167
- type: Inject,
2168
- args: [F_FLOW]
2169
- }] }]; }, propDecorators: { fConnectionMarkerEnd: [{
2170
- type: Input
2171
- }] } });
2172
-
2173
- class FConnectionMarkerEndSelectedDirective {
2174
- get hostElement() {
2175
- return this.elementReference.nativeElement;
2176
- }
2177
- get id() {
2178
- return sanitizeElementId(this.fFlow.id + '-f-connection-marker-end-selected');
2179
- }
2180
- constructor(elementReference, fFlow) {
2181
- this.elementReference = elementReference;
2182
- this.fFlow = fFlow;
2183
- }
2184
- 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 }); }
2185
- 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 }); }
2186
- }
2187
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FConnectionMarkerEndSelectedDirective, decorators: [{
2188
- type: Directive,
2189
- args: [{
2190
- selector: '[fConnectionMarkerEndSelected]',
2191
- exportAs: 'fComponent',
2192
- host: {
2193
- '[attr.id]': 'id',
2194
- 'class': 'f-component f-connection-marker f-selected'
2195
- },
2196
- providers: [{ provide: F_CONNECTION_MARKER, useExisting: FConnectionMarkerEndSelectedDirective }],
2197
- }]
2198
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: FFlowBase, decorators: [{
2199
- type: Inject,
2200
- args: [F_FLOW]
2201
- }] }]; } });
2202
-
2203
- class FConnectionMarkerStartDirective {
2204
- get hostElement() {
2205
- return this.elementReference.nativeElement;
2206
- }
2207
- get id() {
2208
- return sanitizeElementId(this.fFlow.id + '-f-connection-marker-start-' + this.fConnectionMarkerStart);
2209
- }
2210
- constructor(elementReference, fFlow) {
2211
- this.elementReference = elementReference;
2212
- this.fFlow = fFlow;
2213
- this.fConnectionMarkerStart = 'black';
2214
- }
2215
- 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 }); }
2216
- 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 }); }
2217
- }
2218
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FConnectionMarkerStartDirective, decorators: [{
2219
- type: Directive,
2220
- args: [{
2221
- selector: '[fConnectionMarkerStart]',
2222
- exportAs: 'fComponent',
2223
- host: {
2224
- '[attr.id]': 'id',
2225
- 'class': 'f-component f-connection-marker'
2226
- },
2227
- providers: [{ provide: F_CONNECTION_MARKER, useExisting: FConnectionMarkerStartDirective }],
2228
- }]
2229
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: FFlowBase, decorators: [{
2230
- type: Inject,
2231
- args: [F_FLOW]
2232
- }] }]; }, propDecorators: { fConnectionMarkerStart: [{
2233
- type: Input
2234
- }] } });
2235
-
2236
- class FConnectionMarkerStartSelectedDirective {
2237
- get hostElement() {
2238
- return this.elementReference.nativeElement;
2239
- }
2240
- get id() {
2241
- return sanitizeElementId(this.fFlow.id + '-f-connection-marker-start-selected');
2242
- }
2243
- constructor(elementReference, fFlow) {
2244
- this.elementReference = elementReference;
2245
- this.fFlow = fFlow;
2246
- }
2247
- 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 }); }
2248
- 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 }); }
2249
- }
2250
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FConnectionMarkerStartSelectedDirective, decorators: [{
2251
- type: Directive,
2252
- args: [{
2253
- selector: '[fConnectionMarkerStartSelected]',
2254
- exportAs: 'fComponent',
2255
- host: {
2256
- '[attr.id]': 'id',
2257
- 'class': 'f-component f-connection-marker f-selected'
2258
- },
2259
- providers: [{ provide: F_CONNECTION_MARKER, useExisting: FConnectionMarkerStartSelectedDirective }],
2260
- }]
2261
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: FFlowBase, decorators: [{
2262
- type: Inject,
2263
- args: [F_FLOW]
2264
- }] }]; } });
2265
-
2266
- const F_DEFINITIONS = new InjectionToken('F_DEFINITIONS');
2267
- class FDefinitionsBase {
2268
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FDefinitionsBase, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
2269
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.5", type: FDefinitionsBase, ngImport: i0 }); }
2270
- }
2271
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FDefinitionsBase, decorators: [{
2272
- type: Directive
2273
- }] });
2274
-
2275
- class FDefinitionsComponent extends FDefinitionsBase {
2276
- get hostElement() {
2277
- return this.elementReference.nativeElement;
2278
- }
2279
- constructor(elementReference, fComponentsStore, changeDetectorRef) {
2280
- super();
2281
- this.elementReference = elementReference;
2282
- this.fComponentsStore = fComponentsStore;
2283
- this.changeDetectorRef = changeDetectorRef;
2284
- this.subscriptions$ = new Subscription();
2285
- }
2286
- ngOnInit() {
2287
- this.fComponentsStore.fDefs = this;
2288
- // this.subscriptions$.add(
2289
- // this.subscribeOnMarkersChanges()
2290
- // );
2291
- }
2292
- getMarkersForConnection(connectionId, startColor, endColor) {
2293
- let result = [];
2294
- const marker = this.fMarkers.find((x) => {
2295
- if (x.hasOwnProperty('fConnectionMarkerStart')) {
2296
- // @ts-ignore
2297
- return x['fConnectionMarkerStart'] === startColor;
2298
- }
2299
- return false;
2300
- });
2301
- if (marker) {
2302
- // marker.hostElement.setAttribute('id', `f-connection-marker-start-${ connectionId }`);
2303
- result.push(marker.hostElement);
2304
- marker.hostElement.remove();
2305
- }
2306
- const endMarker = this.fMarkers.find((x) => {
2307
- if (x.hasOwnProperty('fConnectionMarkerEnd')) {
2308
- // @ts-ignore
2309
- return x['fConnectionMarkerEnd'] === endColor;
2310
- }
2311
- return false;
2312
- });
2313
- if (endMarker) {
2314
- // endMarker.hostElement.setAttribute('id', `f-connection-marker-end-${ connectionId }`);
2315
- result.push(endMarker.hostElement);
2316
- endMarker.hostElement.remove();
2317
- }
2318
- return result;
2319
- }
2320
- subscribeOnMarkersChanges() {
2321
- return this.fMarkers.changes.pipe(startWith(null), debounceTime(10)).subscribe(() => {
2322
- this.changeDetectorRef.detectChanges();
2323
- });
2324
- }
2325
- ngOnDestroy() {
2326
- this.subscriptions$.unsubscribe();
2327
- this.fComponentsStore.fDefs = undefined;
2328
- }
2329
- 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 }); }
2330
- 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 }); }
2331
- }
2332
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FDefinitionsComponent, decorators: [{
2333
- type: Component,
2334
- args: [{ selector: 'svg[fDefinitions]', exportAs: 'fComponent', host: {
2335
- 'class': 'f-component f-definitions'
2336
- }, 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"] }]
2337
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: FComponentsStore }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { fMarkers: [{
2338
- type: ContentChildren,
2339
- args: [F_CONNECTION_MARKER]
2340
- }] } });
2341
2198
 
2342
2199
  var EDraggableType;
2343
2200
  (function (EDraggableType) {
@@ -2380,10 +2237,10 @@ class FDraggableDataContext {
2380
2237
  this.onPointerDownScale = 1;
2381
2238
  this.onPointerDownPosition = new Point(0, 0);
2382
2239
  }
2383
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FDraggableDataContext, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2384
- 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 }); }
2385
2242
  }
2386
- 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: [{
2387
2244
  type: Injectable
2388
2245
  }] });
2389
2246
 
@@ -2399,12 +2256,12 @@ class CanvasOnPointerUp {
2399
2256
  });
2400
2257
  }
2401
2258
  }
2402
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: CanvasOnPointerUp, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable }); }
2403
- 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 }); }
2404
2261
  }
2405
- 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: [{
2406
2263
  type: Injectable
2407
- }], ctorParameters: function () { return [{ type: FDraggableDataContext }]; } });
2264
+ }], ctorParameters: () => [{ type: FDraggableDataContext }] });
2408
2265
 
2409
2266
  class CanvasPrepareDragSequence {
2410
2267
  get flowHost() {
@@ -2430,12 +2287,12 @@ class CanvasPrepareDragSequence {
2430
2287
  ];
2431
2288
  }
2432
2289
  }
2433
- 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 }); }
2434
- 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 }); }
2435
2292
  }
2436
- 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: [{
2437
2294
  type: Injectable
2438
- }], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }]; } });
2295
+ }], ctorParameters: () => [{ type: FComponentsStore }, { type: FDraggableDataContext }] });
2439
2296
 
2440
2297
  const CANVAS_PROVIDERS = [
2441
2298
  CanvasOnPointerUp,
@@ -2444,10 +2301,10 @@ const CANVAS_PROVIDERS = [
2444
2301
 
2445
2302
  const F_EXTERNAL_ITEM = new InjectionToken('F_EXTERNAL_ITEM');
2446
2303
  class FExternalItemBase {
2447
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FExternalItemBase, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
2448
- 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 }); }
2449
2306
  }
2450
- 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: [{
2451
2308
  type: Directive
2452
2309
  }] });
2453
2310
 
@@ -2474,10 +2331,10 @@ class FExternalItemService {
2474
2331
  this.items.splice(index, 1);
2475
2332
  }
2476
2333
  }
2477
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FExternalItemService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2478
- 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' }); }
2479
2336
  }
2480
- 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: [{
2481
2338
  type: Injectable,
2482
2339
  args: [{
2483
2340
  providedIn: 'root'
@@ -2501,12 +2358,12 @@ class FExternalItemDirective extends FExternalItemBase {
2501
2358
  ngOnDestroy() {
2502
2359
  this.fExternalItemService.removeItem(this);
2503
2360
  }
2504
- 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 }); }
2505
- 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: [
2506
2363
  { provide: F_EXTERNAL_ITEM, useExisting: FExternalItemDirective }
2507
2364
  ], usesInheritance: true, ngImport: i0 }); }
2508
2365
  }
2509
- 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: [{
2510
2367
  type: Directive,
2511
2368
  args: [{
2512
2369
  selector: "[fExternalItem]",
@@ -2518,7 +2375,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImpor
2518
2375
  { provide: F_EXTERNAL_ITEM, useExisting: FExternalItemDirective }
2519
2376
  ],
2520
2377
  }]
2521
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: FExternalItemService }]; }, propDecorators: { id: [{
2378
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: FExternalItemService }], propDecorators: { id: [{
2522
2379
  type: Input
2523
2380
  }], data: [{
2524
2381
  type: Input
@@ -2680,10 +2537,10 @@ class NearestCoordinateFinder {
2680
2537
 
2681
2538
  const F_LINE_ALIGNMENT = new InjectionToken('F_LINE_ALIGNMENT');
2682
2539
  class FLineAlignmentBase {
2683
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FLineAlignmentBase, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
2684
- 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 }); }
2685
2542
  }
2686
- 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: [{
2687
2544
  type: Directive
2688
2545
  }] });
2689
2546
 
@@ -2755,26 +2612,26 @@ class FLineAlignmentComponent extends FLineAlignmentBase {
2755
2612
  this.lineService.hideVerticalLine();
2756
2613
  this.lineService.hideHorizontalLine();
2757
2614
  }
2758
- 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 }); }
2759
- 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: [
2760
2617
  { provide: F_LINE_ALIGNMENT, useExisting: FLineAlignmentComponent }
2761
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"] }); }
2762
2619
  }
2763
- 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: [{
2764
2621
  type: Component,
2765
2622
  args: [{ selector: "f-line-alignment", template: "", exportAs: "fComponent", host: {
2766
2623
  'class': 'f-line-alignment f-component'
2767
2624
  }, providers: [
2768
2625
  { provide: F_LINE_ALIGNMENT, useExisting: FLineAlignmentComponent }
2769
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"] }]
2770
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: FComponentsStore }, { type: FDraggableDataContext }, { type: GetElementRectInFlowHandler }]; } });
2627
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: FComponentsStore }, { type: FDraggableDataContext }, { type: GetElementRectInFlowHandler }] });
2771
2628
 
2772
2629
  const F_SELECTION_AREA = new InjectionToken('F_SELECTION_AREA');
2773
2630
  class FSelectionAreaBase {
2774
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FSelectionAreaBase, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
2775
- 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 }); }
2776
2633
  }
2777
- 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: [{
2778
2635
  type: Directive
2779
2636
  }] });
2780
2637
 
@@ -2804,19 +2661,19 @@ class FSelectionAreaComponent extends FSelectionAreaBase {
2804
2661
  style.width = object.width + 'px';
2805
2662
  style.height = object.height + 'px';
2806
2663
  }
2807
- 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 }); }
2808
- 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: [
2809
2666
  { provide: F_SELECTION_AREA, useExisting: FSelectionAreaComponent }
2810
2667
  ], usesInheritance: true, ngImport: i0, template: ``, isInline: true, styles: [":host{position:absolute}\n"] }); }
2811
2668
  }
2812
- 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: [{
2813
2670
  type: Component,
2814
2671
  args: [{ selector: "f-selection-area", template: ``, host: {
2815
2672
  'class': 'f-selection-area f-component'
2816
2673
  }, providers: [
2817
2674
  { provide: F_SELECTION_AREA, useExisting: FSelectionAreaComponent }
2818
2675
  ], styles: [":host{position:absolute}\n"] }]
2819
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: FDraggableDataContext }]; } });
2676
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: FDraggableDataContext }] });
2820
2677
 
2821
2678
  class FindFirstCanBeConnectedOutputByOutletHandler {
2822
2679
  get fNodes() {
@@ -2842,12 +2699,12 @@ class FindFirstCanBeConnectedOutputByOutletHandler {
2842
2699
  }
2843
2700
  return result;
2844
2701
  }
2845
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FindFirstCanBeConnectedOutputByOutletHandler, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable }); }
2846
- 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 }); }
2847
2704
  }
2848
- 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: [{
2849
2706
  type: Injectable
2850
- }], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
2707
+ }], ctorParameters: () => [{ type: FComponentsStore }] });
2851
2708
 
2852
2709
  class CreateConnectionDragHandler {
2853
2710
  constructor(getOutputRectInFlowHandler, getConnectionVectorHandler, connection, mouseDownPoint) {
@@ -2911,12 +2768,12 @@ class FirstNotConnectedInputOfNodeUnderPointerHandler {
2911
2768
  const result = inputs.find((x) => !!x);
2912
2769
  return result;
2913
2770
  }
2914
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FirstNotConnectedInputOfNodeUnderPointerHandler, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable }); }
2915
- 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 }); }
2916
2773
  }
2917
- 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: [{
2918
2775
  type: Injectable
2919
- }], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
2776
+ }], ctorParameters: () => [{ type: FComponentsStore }] });
2920
2777
 
2921
2778
  class InputsUnderPointerHandler {
2922
2779
  get fInputs() {
@@ -2932,12 +2789,12 @@ class InputsUnderPointerHandler {
2932
2789
  return this.fInputs.find((x) => x.isContains(element));
2933
2790
  }).filter((x) => !!x);
2934
2791
  }
2935
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: InputsUnderPointerHandler, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable }); }
2936
- 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 }); }
2937
2794
  }
2938
- 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: [{
2939
2796
  type: Injectable
2940
- }], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
2797
+ }], ctorParameters: () => [{ type: FComponentsStore }] });
2941
2798
 
2942
2799
  class FindInputsUnderPointerRequest {
2943
2800
  constructor(event, dragHandler) {
@@ -2976,12 +2833,12 @@ class FindInputsUnderPointerHandler {
2976
2833
  inputs = inputs.filter((x) => x.canBeConnected);
2977
2834
  return inputs;
2978
2835
  }
2979
- 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 }); }
2980
- 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 }); }
2981
2838
  }
2982
- 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: [{
2983
2840
  type: Injectable
2984
- }], ctorParameters: function () { return [{ type: FComponentsStore }, { type: InputsUnderPointerHandler }, { type: FirstNotConnectedInputOfNodeUnderPointerHandler }]; } });
2841
+ }], ctorParameters: () => [{ type: FComponentsStore }, { type: InputsUnderPointerHandler }, { type: FirstNotConnectedInputOfNodeUnderPointerHandler }] });
2985
2842
 
2986
2843
  class CreateConnectionOnPointerUp {
2987
2844
  constructor(fComponentsStore, fDraggableDataContext, findInputsUnderPointerHandler, findFirstCanBeConnectedOutputByOutletHandler) {
@@ -3015,12 +2872,12 @@ class CreateConnectionOnPointerUp {
3015
2872
  handler.complete();
3016
2873
  }
3017
2874
  }
3018
- 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 }); }
3019
- 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 }); }
3020
2877
  }
3021
- 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: [{
3022
2879
  type: Injectable
3023
- }], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: FindInputsUnderPointerHandler }, { type: FindFirstCanBeConnectedOutputByOutletHandler }]; } });
2880
+ }], ctorParameters: () => [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: FindInputsUnderPointerHandler }, { type: FindFirstCanBeConnectedOutputByOutletHandler }] });
3024
2881
 
3025
2882
  class CreateConnectionPrepareDragSequence {
3026
2883
  get transform() {
@@ -3092,12 +2949,12 @@ class CreateConnectionPrepareDragSequence {
3092
2949
  const outlets = this.fComponentsStore.fOutlets.filter((x) => node.isContains(x.hostElement));
3093
2950
  return isNodeOutput(targetElement) && !outlets.length;
3094
2951
  }
3095
- 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 }); }
3096
- 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 }); }
3097
2954
  }
3098
- 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: [{
3099
2956
  type: Injectable
3100
- }], 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 }] });
3101
2958
 
3102
2959
  class ReassignConnectionDragHandler {
3103
2960
  constructor(getInputRectInFlowHandler, getOutputRectInFlowHandler, getConnectionVectorHandler, connection) {
@@ -3164,12 +3021,12 @@ class ReassignConnectionOnPointerUp {
3164
3021
  handler.complete();
3165
3022
  }
3166
3023
  }
3167
- 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 }); }
3168
- 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 }); }
3169
3026
  }
3170
- 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: [{
3171
3028
  type: Injectable
3172
- }], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: FindInputsUnderPointerHandler }]; } });
3029
+ }], ctorParameters: () => [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: FindInputsUnderPointerHandler }] });
3173
3030
 
3174
3031
  class ReassignConnectionPrepareDragSequence {
3175
3032
  get transform() {
@@ -3208,12 +3065,12 @@ class ReassignConnectionPrepareDragSequence {
3208
3065
  ];
3209
3066
  }
3210
3067
  }
3211
- 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 }); }
3212
- 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 }); }
3213
3070
  }
3214
- 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: [{
3215
3072
  type: Injectable
3216
- }], 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 }] });
3217
3074
 
3218
3075
  const CONNECTIONS_PROVIDERS = [
3219
3076
  FindFirstCanBeConnectedOutputByOutletHandler,
@@ -3295,12 +3152,12 @@ class ExternalItemPrepareDragSequence {
3295
3152
  ];
3296
3153
  }
3297
3154
  }
3298
- 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 }); }
3299
- 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 }); }
3300
3157
  }
3301
- 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: [{
3302
3159
  type: Injectable
3303
- }], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: FExternalItemService }]; } });
3160
+ }], ctorParameters: () => [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: FExternalItemService }] });
3304
3161
 
3305
3162
  class ExternalItemOnPointerUp {
3306
3163
  get flowHost() {
@@ -3329,12 +3186,12 @@ class ExternalItemOnPointerUp {
3329
3186
  dragHandler.complete();
3330
3187
  }
3331
3188
  }
3332
- 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 }); }
3333
- 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 }); }
3334
3191
  }
3335
- 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: [{
3336
3193
  type: Injectable
3337
- }], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: GetElementRectInFlowHandler }]; } });
3194
+ }], ctorParameters: () => [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: GetElementRectInFlowHandler }] });
3338
3195
 
3339
3196
  const EXTERNAL_ITEM_PROVIDERS = [
3340
3197
  ExternalItemOnPointerUp,
@@ -3498,12 +3355,12 @@ class IsConnectionUnderNodeHandler {
3498
3355
  return (intersection || []).length > 0;
3499
3356
  });
3500
3357
  }
3501
- 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 }); }
3502
- 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 }); }
3503
3360
  }
3504
- 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: [{
3505
3362
  type: Injectable
3506
- }], 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 }] });
3507
3364
 
3508
3365
  class NodeOnPointerUp {
3509
3366
  get transform() {
@@ -3535,12 +3392,12 @@ class NodeOnPointerUp {
3535
3392
  this.fDraggableDataContext.fLineAlignment?.complete();
3536
3393
  }
3537
3394
  }
3538
- 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 }); }
3539
- 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 }); }
3540
3397
  }
3541
- 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: [{
3542
3399
  type: Injectable
3543
- }], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: IsConnectionUnderNodeHandler }]; } });
3400
+ }], ctorParameters: () => [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: IsConnectionUnderNodeHandler }] });
3544
3401
 
3545
3402
  class NodePrepareDragSequence {
3546
3403
  get transform() {
@@ -3624,12 +3481,12 @@ class NodePrepareDragSequence {
3624
3481
  getOutputsForNode(node) {
3625
3482
  return this.fComponentsStore.fOutputs.filter((x) => node.isContains(x.hostElement));
3626
3483
  }
3627
- 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 }); }
3628
- 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 }); }
3629
3486
  }
3630
- 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: [{
3631
3488
  type: Injectable
3632
- }], 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 }] });
3633
3490
 
3634
3491
  const NODE_PROVIDERS = [
3635
3492
  NodeOnPointerUp,
@@ -3687,17 +3544,24 @@ class SingleSelectOnPointerDown {
3687
3544
  }
3688
3545
  });
3689
3546
  }
3690
- 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 }); }
3691
- 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 }); }
3692
3549
  }
3693
- 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: [{
3694
3551
  type: Injectable
3695
- }], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: GetConnectionHandler }]; } });
3552
+ }], ctorParameters: () => [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: GetConnectionHandler }] });
3696
3553
 
3697
3554
  const SINGLE_SELECT_PROVIDERS = [
3698
3555
  SingleSelectOnPointerDown
3699
3556
  ];
3700
3557
 
3558
+ class SelectionChangeEvent {
3559
+ constructor(nodes, connections) {
3560
+ this.nodes = nodes;
3561
+ this.connections = connections;
3562
+ }
3563
+ }
3564
+
3701
3565
  class GetCanBeSelectedItemsHandler {
3702
3566
  get fNodes() {
3703
3567
  return this.fComponentsStore.fNodes;
@@ -3739,12 +3603,12 @@ class GetCanBeSelectedItemsHandler {
3739
3603
  };
3740
3604
  });
3741
3605
  }
3742
- 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 }); }
3743
- 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 }); }
3744
3608
  }
3745
- 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: [{
3746
3610
  type: Injectable
3747
- }], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: GetElementRectInFlowHandler }]; } });
3611
+ }], ctorParameters: () => [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: GetElementRectInFlowHandler }] });
3748
3612
 
3749
3613
  class SelectionAreaDragHandle {
3750
3614
  get canvasPosition() {
@@ -3811,12 +3675,12 @@ class SelectionAreaPrepareDragSequence {
3811
3675
  this.fDraggableDataContext.onPointerDownPosition = pointerPositionInFlow.div(1);
3812
3676
  }
3813
3677
  }
3814
- 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 }); }
3815
- 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 }); }
3816
3680
  }
3817
- 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: [{
3818
3682
  type: Injectable
3819
- }], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: i0.Injector }]; } });
3683
+ }], ctorParameters: () => [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: i0.Injector }] });
3820
3684
 
3821
3685
  class SelectionAreaOnPointerUp {
3822
3686
  constructor(fDraggableDataContext) {
@@ -3830,12 +3694,12 @@ class SelectionAreaOnPointerUp {
3830
3694
  });
3831
3695
  }
3832
3696
  }
3833
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: SelectionAreaOnPointerUp, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable }); }
3834
- 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 }); }
3835
3699
  }
3836
- 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: [{
3837
3701
  type: Injectable
3838
- }], ctorParameters: function () { return [{ type: FDraggableDataContext }]; } });
3702
+ }], ctorParameters: () => [{ type: FDraggableDataContext }] });
3839
3703
 
3840
3704
  const SELECTION_AREA_PROVIDERS = [
3841
3705
  GetCanBeSelectedItemsHandler,
@@ -3848,12 +3712,12 @@ class FDraggableBase extends IDragAndDropBase {
3848
3712
  constructor(ngZone) {
3849
3713
  super(ngZone);
3850
3714
  }
3851
- 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 }); }
3852
- 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 }); }
3853
3717
  }
3854
- 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: [{
3855
3719
  type: Directive
3856
- }], ctorParameters: function () { return [{ type: i0.NgZone }]; } });
3720
+ }], ctorParameters: () => [{ type: i0.NgZone }] });
3857
3721
 
3858
3722
  class FDraggableDirective extends FDraggableBase {
3859
3723
  get hostElement() {
@@ -3867,6 +3731,9 @@ class FDraggableDirective extends FDraggableBase {
3867
3731
  this.fComponentsStore = fComponentsStore;
3868
3732
  this.subscriptions$ = new Subscription();
3869
3733
  this.disabled = false;
3734
+ this.fSelectionChange = new EventEmitter();
3735
+ // @Output()
3736
+ // public override fConnectionIntersectNode: EventEmitter<ConnectionIntersectNodeEvent> = new EventEmitter<ConnectionIntersectNodeEvent>();
3870
3737
  this.fCreateNode = new EventEmitter();
3871
3738
  this.fReassignConnection = new EventEmitter();
3872
3739
  this.fCreateConnection = new EventEmitter();
@@ -3894,6 +3761,7 @@ class FDraggableDirective extends FDraggableBase {
3894
3761
  this.fDraggableDataContext.draggableItems.forEach((item) => {
3895
3762
  item.initialize?.();
3896
3763
  });
3764
+ this.emitSelectionChangeEvent();
3897
3765
  if (this.fDraggableDataContext.draggableItems.length > 0) {
3898
3766
  this.hostElement.classList.add('f-dragging');
3899
3767
  }
@@ -3915,28 +3783,45 @@ class FDraggableDirective extends FDraggableBase {
3915
3783
  this.hostElement.classList.remove('f-dragging');
3916
3784
  this.fDraggableDataContext.reset();
3917
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
+ }
3918
3799
  ngOnDestroy() {
3919
3800
  super.unsubscribe();
3920
3801
  this.subscriptions$.unsubscribe();
3921
3802
  }
3922
- 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 }); }
3923
- 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: [
3924
3805
  { provide: F_DRAGGABLE, useExisting: FDraggableDirective }
3925
- ], usesInheritance: true, ngImport: i0 }); }
3806
+ ], exportAs: ["fDraggable"], usesInheritance: true, ngImport: i0 }); }
3926
3807
  }
3927
- 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: [{
3928
3809
  type: Directive,
3929
3810
  args: [{
3930
3811
  selector: "f-flow[fDraggable]",
3812
+ exportAs: 'fDraggable',
3931
3813
  providers: [
3932
3814
  { provide: F_DRAGGABLE, useExisting: FDraggableDirective }
3933
3815
  ]
3934
3816
  }]
3935
- }], 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: [{
3936
3818
  type: Inject,
3937
3819
  args: [DOCUMENT]
3938
- }] }]; }, propDecorators: { disabled: [{
3939
- type: Input
3820
+ }] }], propDecorators: { disabled: [{
3821
+ type: Input,
3822
+ args: ['fDraggableDisabled']
3823
+ }], fSelectionChange: [{
3824
+ type: Output
3940
3825
  }], fCreateNode: [{
3941
3826
  type: Output
3942
3827
  }], fReassignConnection: [{
@@ -3948,38 +3833,104 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImpor
3948
3833
  const F_PARENT = new InjectionToken('F_PARENT');
3949
3834
 
3950
3835
  let uniqueId = 0;
3951
- 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
+ */
3952
3855
  get hostElement() {
3953
3856
  return this.elementReference.nativeElement;
3954
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
+ */
3955
3867
  constructor(elementReference, getElementRectInFlowHandler, getConnectionVectorHandler, getAllNodesRectHandler, fComponentsStore) {
3956
- super();
3957
3868
  this.elementReference = elementReference;
3958
3869
  this.getElementRectInFlowHandler = getElementRectInFlowHandler;
3959
3870
  this.getConnectionVectorHandler = getConnectionVectorHandler;
3960
3871
  this.getAllNodesRectHandler = getAllNodesRectHandler;
3961
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
+ */
3962
3887
  this.id = `f-flow-${uniqueId++}`;
3963
- this.onDestroy = new Subject();
3964
- this.onInitialized = new EventEmitter();
3965
- 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;
3966
3901
  }
3902
+ /**
3903
+ * Initializes the component, setting it as the active flow in `FComponentsStore` and assigning a unique ID.
3904
+ */
3967
3905
  ngOnInit() {
3968
3906
  this.fComponentsStore.fFlow = this;
3969
3907
  FLOW.UID = this.id;
3970
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
+ */
3971
3913
  ngAfterContentInit() {
3972
- this.subscribeOnElementsChanges();
3914
+ this.subscription$.add(this.subscribeOnElementsChanges());
3973
3915
  }
3916
+ /**
3917
+ * Subscribes to element changes and performs necessary actions on their change.
3918
+ * @returns {Subscription}
3919
+ * @private
3920
+ */
3974
3921
  subscribeOnElementsChanges() {
3975
- this.fComponentsStore.changes.pipe(startWith(null), takeUntil(this.onDestroy), debounceTime(20)).subscribe(() => {
3922
+ return this.fComponentsStore.changes.pipe(startWith(null), debounceTime(20)).subscribe(() => {
3976
3923
  this.calculateConnections();
3977
- if (!this.isInitialized) {
3978
- this.isInitialized = true;
3979
- this.onInitialized.emit(this.getNodesRect());
3924
+ if (!this.isLoaded) {
3925
+ this.isLoaded = true;
3926
+ this.fLoaded.emit();
3980
3927
  }
3981
3928
  });
3982
3929
  }
3930
+ /**
3931
+ * Performs the calculation of connections between output and input elements.
3932
+ * @private
3933
+ */
3983
3934
  calculateConnections() {
3984
3935
  this.fComponentsStore.fOutputs.forEach((output) => output.setConnected(false));
3985
3936
  this.fComponentsStore.fInputs.forEach((input) => input.setConnected(false));
@@ -3989,28 +3940,30 @@ class FFlowComponent extends FFlowBase {
3989
3940
  if (output && input) {
3990
3941
  output.setConnected(true);
3991
3942
  input.setConnected(true);
3992
- // setTimeout(() => {
3993
3943
  const outputRect = this.getElementRectInFlowHandler.handle(output.hostElement);
3994
3944
  const inputRect = this.getElementRectInFlowHandler.handle(input.hostElement);
3995
3945
  const vector = this.getConnectionVectorHandler.handle(new GetConnectionVectorRequest(outputRect, inputRect, connection.behavior, output.side, input.side));
3946
+ connection.setMarkers();
3996
3947
  connection.setVector(vector.point1, output.side, vector.point2, input.side);
3997
- // requestAnimationFrame(() => {
3998
3948
  connection.initialize();
3999
- // });
4000
- // const markers = this.fComponentsStore.fDefs!.getMarkersForConnection(connection.id, connection.startColor, connection.endColor);
4001
- // connection.setMarkers(markers);
4002
- // });
4003
3949
  }
4004
3950
  });
4005
3951
  }
3952
+ /**
3953
+ * Returns a rectangle representing the position and size of all nodes in the flow.
3954
+ * @returns {IRect}
3955
+ */
4006
3956
  getNodesRect() {
4007
3957
  return this.getAllNodesRectHandler.handle();
4008
3958
  }
3959
+ /**
3960
+ * Releases resources and unsubscribes from all subscriptions before the component is destroyed.
3961
+ */
4009
3962
  ngOnDestroy() {
4010
- this.onDestroy.next();
3963
+ this.subscription$.unsubscribe();
4011
3964
  }
4012
- 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 }); }
4013
- 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: [
4014
3967
  FComponentsStore,
4015
3968
  FDraggableDataContext,
4016
3969
  ...SINGLE_SELECT_PROVIDERS,
@@ -4022,9 +3975,9 @@ class FFlowComponent extends FFlowBase {
4022
3975
  ...COMMON_PROVIDERS,
4023
3976
  { provide: F_FLOW, useExisting: FFlowComponent },
4024
3977
  { provide: F_PARENT, useExisting: FFlowComponent },
4025
- ], 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 }); }
4026
3979
  }
4027
- 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: [{
4028
3981
  type: Component,
4029
3982
  args: [{ selector: 'f-flow', host: {
4030
3983
  '[attr.id]': 'id',
@@ -4042,18 +3995,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImpor
4042
3995
  { provide: F_FLOW, useExisting: FFlowComponent },
4043
3996
  { provide: F_PARENT, useExisting: FFlowComponent },
4044
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"] }]
4045
- }], 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: [{
4046
3999
  type: Input
4047
4000
  }, {
4048
4001
  type: HostBinding,
4049
4002
  args: ['attr.id']
4050
- }], onInitialized: [{
4003
+ }], fLoaded: [{
4051
4004
  type: Output
4052
4005
  }] } });
4053
4006
 
4054
4007
  class FFlowModule {
4055
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FFlowModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
4056
- 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,
4057
4010
  FConnectionGradientComponent,
4058
4011
  FConnectionPathComponent,
4059
4012
  FConnectionTextComponent,
@@ -4062,7 +4015,6 @@ class FFlowModule {
4062
4015
  FFlowComponent,
4063
4016
  FBackgroundComponent,
4064
4017
  FCanvasComponent,
4065
- FDefinitionsComponent,
4066
4018
  FNodeComponent,
4067
4019
  FConnectionComponent,
4068
4020
  FConnectionForCreateComponent,
@@ -4073,14 +4025,9 @@ class FFlowModule {
4073
4025
  FDraggableDirective,
4074
4026
  FExternalItemDirective,
4075
4027
  FSelectionAreaComponent,
4076
- FLineAlignmentComponent,
4077
- FConnectionMarkerStartDirective,
4078
- FConnectionMarkerStartSelectedDirective,
4079
- FConnectionMarkerEndDirective,
4080
- FConnectionMarkerEndSelectedDirective], imports: [CommonModule], exports: [FFlowComponent,
4028
+ FLineAlignmentComponent], imports: [CommonModule], exports: [FFlowComponent,
4081
4029
  FBackgroundComponent,
4082
4030
  FCanvasComponent,
4083
- FDefinitionsComponent,
4084
4031
  FNodeComponent,
4085
4032
  FConnectionComponent,
4086
4033
  FConnectionForCreateComponent,
@@ -4091,16 +4038,12 @@ class FFlowModule {
4091
4038
  FDraggableDirective,
4092
4039
  FExternalItemDirective,
4093
4040
  FSelectionAreaComponent,
4094
- FLineAlignmentComponent,
4095
- FConnectionMarkerStartDirective,
4096
- FConnectionMarkerStartSelectedDirective,
4097
- FConnectionMarkerEndDirective,
4098
- FConnectionMarkerEndSelectedDirective] }); }
4099
- 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: [
4100
4043
  FDraggableDataContext,
4101
4044
  ], imports: [CommonModule] }); }
4102
4045
  }
4103
- 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: [{
4104
4047
  type: NgModule,
4105
4048
  args: [{
4106
4049
  declarations: [
@@ -4113,7 +4056,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImpor
4113
4056
  FFlowComponent,
4114
4057
  FBackgroundComponent,
4115
4058
  FCanvasComponent,
4116
- FDefinitionsComponent,
4117
4059
  FNodeComponent,
4118
4060
  FConnectionComponent,
4119
4061
  FConnectionForCreateComponent,
@@ -4125,10 +4067,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImpor
4125
4067
  FExternalItemDirective,
4126
4068
  FSelectionAreaComponent,
4127
4069
  FLineAlignmentComponent,
4128
- FConnectionMarkerStartDirective,
4129
- FConnectionMarkerStartSelectedDirective,
4130
- FConnectionMarkerEndDirective,
4131
- FConnectionMarkerEndSelectedDirective
4132
4070
  ],
4133
4071
  imports: [
4134
4072
  CommonModule
@@ -4140,7 +4078,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImpor
4140
4078
  FFlowComponent,
4141
4079
  FBackgroundComponent,
4142
4080
  FCanvasComponent,
4143
- FDefinitionsComponent,
4144
4081
  FNodeComponent,
4145
4082
  FConnectionComponent,
4146
4083
  FConnectionForCreateComponent,
@@ -4152,10 +4089,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImpor
4152
4089
  FExternalItemDirective,
4153
4090
  FSelectionAreaComponent,
4154
4091
  FLineAlignmentComponent,
4155
- FConnectionMarkerStartDirective,
4156
- FConnectionMarkerStartSelectedDirective,
4157
- FConnectionMarkerEndDirective,
4158
- FConnectionMarkerEndSelectedDirective
4159
4092
  ]
4160
4093
  }]
4161
4094
  }] });
@@ -4164,5 +4097,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImpor
4164
4097
  * Generated bundle index. Do not edit.
4165
4098
  */
4166
4099
 
4167
- 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 };
4168
4101
  //# sourceMappingURL=foblex-flow.mjs.map