@foblex/flow 1.3.5 → 1.4.0

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 (142) hide show
  1. package/LICENSE +28 -0
  2. package/README.md +44 -1
  3. package/domain/get-connection-vector/get-connection-vector.request.d.ts +3 -3
  4. package/esm2022/domain/get-connection-vector/get-connection-vector.handler.mjs +5 -5
  5. package/esm2022/domain/get-connection-vector/get-connection-vector.request.mjs +1 -1
  6. package/esm2022/f-backgroud/domain/i-f-background-pattern.mjs +3 -0
  7. package/esm2022/f-backgroud/domain/index.mjs +2 -0
  8. package/esm2022/f-backgroud/domain/public-api.mjs +2 -0
  9. package/esm2022/f-backgroud/f-background-base.mjs +11 -0
  10. package/esm2022/f-backgroud/f-background.component.mjs +59 -0
  11. package/esm2022/{components/f-flow/f-backgroud → f-backgroud}/f-cell-pattern/f-cell-pattern.component.mjs +1 -1
  12. package/esm2022/f-backgroud/f-cell-pattern/index.mjs +2 -0
  13. package/esm2022/f-backgroud/f-cell-pattern/public-api.mjs +2 -0
  14. package/esm2022/f-backgroud/index.mjs +5 -0
  15. package/esm2022/f-backgroud/public-api.mjs +4 -0
  16. package/esm2022/f-canvas/domain/f-canvas-change.event.mjs +7 -0
  17. package/esm2022/f-canvas/domain/index.mjs +2 -0
  18. package/esm2022/f-canvas/domain/public-api.mjs +2 -0
  19. package/esm2022/f-canvas/f-canvas-base.mjs +26 -0
  20. package/esm2022/{components/f-flow/f-canvas → f-canvas}/f-canvas.component.mjs +3 -3
  21. package/esm2022/f-canvas/f-zoom/f-zoom-base.mjs +94 -0
  22. package/esm2022/f-canvas/f-zoom/f-zoom.directive.mjs +59 -0
  23. package/esm2022/f-canvas/f-zoom/index.mjs +3 -0
  24. package/esm2022/f-canvas/f-zoom/public-api.mjs +2 -0
  25. package/esm2022/f-canvas/index.mjs +5 -0
  26. package/esm2022/f-canvas/public-api.mjs +4 -0
  27. package/esm2022/f-components-store.mjs +1 -1
  28. package/esm2022/f-connection/common/cast-to-connection-behavior.mjs +4 -4
  29. package/esm2022/f-connection/common/cast-to-connection-type.mjs +4 -4
  30. package/esm2022/f-connection/common/e-f-connection-behavior.mjs +6 -0
  31. package/esm2022/f-connection/common/e-f-connection-type.mjs +7 -0
  32. package/esm2022/f-connection/common/f-connection-base.mjs +5 -3
  33. package/esm2022/f-connection/common/index.mjs +3 -3
  34. package/esm2022/f-connection/common/path-constructor/bezier-path/bezier-path.mjs +29 -0
  35. package/esm2022/f-connection/common/path-constructor/bezier-path/index.mjs +2 -0
  36. package/esm2022/f-connection/common/path-constructor/index.mjs +2 -2
  37. package/esm2022/f-connection/common/path-constructor/path-constructor.mjs +6 -5
  38. package/esm2022/f-connection/common/public-api.mjs +3 -3
  39. package/esm2022/f-connection/f-connection/f-connection.component.mjs +5 -5
  40. package/esm2022/f-connection/f-connection-for-create/f-connection-for-create.component.mjs +5 -5
  41. package/esm2022/f-connection/f-marker/e-f-marker-type.mjs +3 -3
  42. package/esm2022/f-connection/f-marker/f-marker.directive.mjs +44 -0
  43. package/esm2022/f-connection/f-marker/index.mjs +2 -2
  44. package/esm2022/f-draggable/selection-area/selection-area.prepare-drag-sequence.mjs +1 -1
  45. package/esm2022/f-flow/domain/redraw-connections/redraw-connections.handler.mjs +46 -0
  46. package/esm2022/f-flow/f-flow.component.mjs +95 -0
  47. package/esm2022/f-flow/f-parent.injection-token.mjs +3 -0
  48. package/esm2022/f-flow/i-flow-base.mjs +3 -0
  49. package/esm2022/f-flow/index.mjs +5 -0
  50. package/esm2022/f-flow/public-api.mjs +2 -0
  51. package/esm2022/f-flow.module.mjs +9 -7
  52. package/esm2022/f-node/{f-node.component.mjs → f-node.directive.mjs} +7 -7
  53. package/esm2022/f-node/index.mjs +2 -2
  54. package/esm2022/f-node/public-api.mjs +2 -2
  55. package/esm2022/public-api.mjs +4 -2
  56. package/{components/f-flow/f-backgroud → f-backgroud}/f-background.component.d.ts +3 -4
  57. package/{components/f-flow/f-canvas → f-canvas}/f-canvas-base.d.ts +3 -3
  58. package/{components/f-flow/f-canvas → f-canvas}/f-canvas.component.d.ts +3 -3
  59. package/{components/f-flow/f-canvas → f-canvas}/f-zoom/f-zoom-base.d.ts +1 -1
  60. package/{components/f-flow/f-canvas → f-canvas}/f-zoom/f-zoom.directive.d.ts +1 -1
  61. package/f-components-store.d.ts +3 -1
  62. package/f-connection/common/cast-to-connection-behavior.d.ts +2 -2
  63. package/f-connection/common/cast-to-connection-type.d.ts +2 -2
  64. package/f-connection/common/{e-connection-behavior.d.ts → e-f-connection-behavior.d.ts} +1 -1
  65. package/f-connection/common/{e-connection-type.d.ts → e-f-connection-type.d.ts} +1 -1
  66. package/f-connection/common/f-connection-base.d.ts +4 -4
  67. package/f-connection/common/index.d.ts +2 -2
  68. package/f-connection/common/path-constructor/{bezier-path.d.ts → bezier-path/bezier-path.d.ts} +3 -2
  69. package/f-connection/common/path-constructor/bezier-path/index.d.ts +1 -0
  70. package/f-connection/common/path-constructor/index.d.ts +1 -1
  71. package/f-connection/common/path-constructor/path-constructor.d.ts +2 -2
  72. package/f-connection/common/public-api.d.ts +2 -2
  73. package/f-connection/f-connection/f-connection.component.d.ts +6 -6
  74. package/f-connection/f-connection-for-create/f-connection-for-create.component.d.ts +5 -5
  75. package/f-connection/f-marker/e-f-marker-type.d.ts +2 -2
  76. package/f-connection/f-marker/f-marker.directive.d.ts +15 -0
  77. package/f-connection/f-marker/index.d.ts +1 -1
  78. package/f-flow/domain/redraw-connections/redraw-connections.handler.d.ts +16 -0
  79. package/f-flow/f-flow.component.d.ts +26 -0
  80. package/{components/f-flow → f-flow}/index.d.ts +1 -2
  81. package/f-flow/public-api.d.ts +1 -0
  82. package/f-flow.module.d.ts +6 -6
  83. package/f-node/{f-node.component.d.ts → f-node.directive.d.ts} +3 -3
  84. package/f-node/index.d.ts +1 -1
  85. package/f-node/public-api.d.ts +1 -1
  86. package/fesm2022/foblex-flow.mjs +2581 -2603
  87. package/fesm2022/foblex-flow.mjs.map +1 -1
  88. package/package.json +4 -5
  89. package/public-api.d.ts +3 -1
  90. package/components/f-flow/f-flow.component.d.ts +0 -101
  91. package/components/f-flow/public-api.d.ts +0 -3
  92. package/components/index.d.ts +0 -1
  93. package/components/public-api.d.ts +0 -1
  94. package/esm2022/components/f-flow/f-backgroud/domain/i-f-background-pattern.mjs +0 -3
  95. package/esm2022/components/f-flow/f-backgroud/domain/index.mjs +0 -2
  96. package/esm2022/components/f-flow/f-backgroud/domain/public-api.mjs +0 -2
  97. package/esm2022/components/f-flow/f-backgroud/f-background-base.mjs +0 -11
  98. package/esm2022/components/f-flow/f-backgroud/f-background.component.mjs +0 -60
  99. package/esm2022/components/f-flow/f-backgroud/f-cell-pattern/index.mjs +0 -2
  100. package/esm2022/components/f-flow/f-backgroud/f-cell-pattern/public-api.mjs +0 -2
  101. package/esm2022/components/f-flow/f-backgroud/index.mjs +0 -5
  102. package/esm2022/components/f-flow/f-backgroud/public-api.mjs +0 -4
  103. package/esm2022/components/f-flow/f-canvas/domain/f-canvas-change.event.mjs +0 -7
  104. package/esm2022/components/f-flow/f-canvas/domain/index.mjs +0 -2
  105. package/esm2022/components/f-flow/f-canvas/domain/public-api.mjs +0 -2
  106. package/esm2022/components/f-flow/f-canvas/f-canvas-base.mjs +0 -26
  107. package/esm2022/components/f-flow/f-canvas/f-zoom/f-zoom-base.mjs +0 -94
  108. package/esm2022/components/f-flow/f-canvas/f-zoom/f-zoom.directive.mjs +0 -59
  109. package/esm2022/components/f-flow/f-canvas/f-zoom/index.mjs +0 -3
  110. package/esm2022/components/f-flow/f-canvas/f-zoom/public-api.mjs +0 -2
  111. package/esm2022/components/f-flow/f-canvas/index.mjs +0 -5
  112. package/esm2022/components/f-flow/f-canvas/public-api.mjs +0 -4
  113. package/esm2022/components/f-flow/f-flow.component.mjs +0 -184
  114. package/esm2022/components/f-flow/f-parent.injection-token.mjs +0 -3
  115. package/esm2022/components/f-flow/i-flow-base.mjs +0 -3
  116. package/esm2022/components/f-flow/index.mjs +0 -6
  117. package/esm2022/components/f-flow/public-api.mjs +0 -4
  118. package/esm2022/components/index.mjs +0 -2
  119. package/esm2022/components/public-api.mjs +0 -2
  120. package/esm2022/f-connection/common/e-connection-behavior.mjs +0 -6
  121. package/esm2022/f-connection/common/e-connection-type.mjs +0 -7
  122. package/esm2022/f-connection/common/path-constructor/bezier-path.mjs +0 -7
  123. package/esm2022/f-connection/f-marker/f-marker.component.mjs +0 -39
  124. package/f-connection/f-marker/f-marker.component.d.ts +0 -15
  125. /package/{components/f-flow/f-backgroud → f-backgroud}/domain/i-f-background-pattern.d.ts +0 -0
  126. /package/{components/f-flow/f-backgroud → f-backgroud}/domain/index.d.ts +0 -0
  127. /package/{components/f-flow/f-backgroud → f-backgroud}/domain/public-api.d.ts +0 -0
  128. /package/{components/f-flow/f-backgroud → f-backgroud}/f-background-base.d.ts +0 -0
  129. /package/{components/f-flow/f-backgroud → f-backgroud}/f-cell-pattern/f-cell-pattern.component.d.ts +0 -0
  130. /package/{components/f-flow/f-backgroud → f-backgroud}/f-cell-pattern/index.d.ts +0 -0
  131. /package/{components/f-flow/f-backgroud → f-backgroud}/f-cell-pattern/public-api.d.ts +0 -0
  132. /package/{components/f-flow/f-backgroud → f-backgroud}/index.d.ts +0 -0
  133. /package/{components/f-flow/f-backgroud → f-backgroud}/public-api.d.ts +0 -0
  134. /package/{components/f-flow/f-canvas → f-canvas}/domain/f-canvas-change.event.d.ts +0 -0
  135. /package/{components/f-flow/f-canvas → f-canvas}/domain/index.d.ts +0 -0
  136. /package/{components/f-flow/f-canvas → f-canvas}/domain/public-api.d.ts +0 -0
  137. /package/{components/f-flow/f-canvas → f-canvas}/f-zoom/index.d.ts +0 -0
  138. /package/{components/f-flow/f-canvas → f-canvas}/f-zoom/public-api.d.ts +0 -0
  139. /package/{components/f-flow/f-canvas → f-canvas}/index.d.ts +0 -0
  140. /package/{components/f-flow/f-canvas → f-canvas}/public-api.d.ts +0 -0
  141. /package/{components/f-flow → f-flow}/f-parent.injection-token.d.ts +0 -0
  142. /package/{components/f-flow → f-flow}/i-flow-base.d.ts +0 -0
@@ -1,7 +1,7 @@
1
1
  import { ElementRef, OnDestroy, OnInit, QueryList } from "@angular/core";
2
2
  import { FConnectionBase, FConnectionDragHandleComponent, FConnectionSelectionComponent, IConnectionGradient, IConnectionPath, IConnectionText } from '../common';
3
- import { EConnectionBehavior } from '../common';
4
- import { EConnectionType } from '../common';
3
+ import { EFConnectionBehavior } from '../common';
4
+ import { EFConnectionType } from '../common';
5
5
  import { FComponentsStore } from '../../f-components-store';
6
6
  import { FMarkerBase } from '../f-marker';
7
7
  import * as i0 from "@angular/core";
@@ -13,11 +13,11 @@ export declare class FConnectionComponent extends FConnectionBase implements OnI
13
13
  endColor: string;
14
14
  outputId: any;
15
15
  inputId: any;
16
- set behavior(value: EConnectionBehavior | string);
17
- get behavior(): EConnectionBehavior;
16
+ set behavior(value: EFConnectionBehavior | string);
17
+ get behavior(): EFConnectionBehavior;
18
18
  private _behavior;
19
- set type(value: EConnectionType | string);
20
- get type(): EConnectionType;
19
+ set type(value: EFConnectionType | string);
20
+ get type(): EFConnectionType;
21
21
  private _type;
22
22
  disabled: boolean;
23
23
  fDefs: ElementRef<SVGDefsElement>;
@@ -1,7 +1,7 @@
1
1
  import { AfterViewInit, ElementRef, OnDestroy, OnInit, QueryList } from "@angular/core";
2
2
  import { FConnectionBase, FConnectionDragHandleComponent, FConnectionSelectionComponent, IConnectionGradient, IConnectionPath, IConnectionText } from '../common';
3
- import { EConnectionBehavior } from '../common';
4
- import { EConnectionType } from '../common';
3
+ import { EFConnectionBehavior } from '../common';
4
+ import { EFConnectionType } from '../common';
5
5
  import { FComponentsStore } from '../../f-components-store';
6
6
  import { FMarkerBase } from '../f-marker';
7
7
  import * as i0 from "@angular/core";
@@ -14,10 +14,10 @@ export declare class FConnectionForCreateComponent extends FConnectionBase imple
14
14
  outputId: string | undefined;
15
15
  inputId: string | undefined;
16
16
  set behavior(value: 'fixed' | 'floating');
17
- get behavior(): EConnectionBehavior;
17
+ get behavior(): EFConnectionBehavior;
18
18
  private _behavior;
19
- set type(value: 'segment' | 'straight' | 'bezier');
20
- get type(): EConnectionType;
19
+ set type(value: EFConnectionType | string);
20
+ get type(): EFConnectionType;
21
21
  private _type;
22
22
  disabled: boolean;
23
23
  fDefs: ElementRef<SVGDefsElement>;
@@ -1,6 +1,6 @@
1
1
  export declare enum EFMarkerType {
2
2
  START = "f-connection-marker-start",
3
3
  END = "f-connection-marker-end",
4
- SELECTED_START = "selected_start",
5
- SELECTED_END = "selected_end"
4
+ SELECTED_START = "f-connection-selected-marker-start",
5
+ SELECTED_END = "f-connection-selected-marker-end"
6
6
  }
@@ -0,0 +1,15 @@
1
+ import { ElementRef } from "@angular/core";
2
+ import { FMarkerBase } from './f-marker-base';
3
+ import * as i0 from "@angular/core";
4
+ export declare class FMarkerDirective extends FMarkerBase {
5
+ private elementReference;
6
+ get hostElement(): HTMLElement;
7
+ width: number;
8
+ height: number;
9
+ refX: number;
10
+ refY: number;
11
+ type: string;
12
+ constructor(elementReference: ElementRef<HTMLElement>);
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<FMarkerDirective, never>;
14
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FMarkerDirective, "svg[fMarker]", never, { "hostElement": { "alias": "hostElement"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "refX": { "alias": "refX"; "required": false; }; "refY": { "alias": "refY"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, never, true, never>;
15
+ }
@@ -1,3 +1,3 @@
1
1
  export * from './e-f-marker-type';
2
- export * from './f-marker.component';
2
+ export * from './f-marker.directive';
3
3
  export * from './f-marker-base';
@@ -0,0 +1,16 @@
1
+ import { IHandler } from '@foblex/core';
2
+ import { GetConnectionVectorHandler, GetElementRectInFlowHandler } from '../../../domain';
3
+ import { FComponentsStore } from '../../../f-components-store';
4
+ import * as i0 from "@angular/core";
5
+ export declare class RedrawConnectionsHandler implements IHandler<void, void> {
6
+ private readonly fComponentsStore;
7
+ private getElementRectInFlowHandler;
8
+ private getConnectionVectorHandler;
9
+ constructor(fComponentsStore: FComponentsStore, getElementRectInFlowHandler: GetElementRectInFlowHandler, getConnectionVectorHandler: GetConnectionVectorHandler);
10
+ handle(): void;
11
+ private resetConnectors;
12
+ private setupConnection;
13
+ private getVector;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<RedrawConnectionsHandler, never>;
15
+ static ɵprov: i0.ɵɵInjectableDeclaration<RedrawConnectionsHandler>;
16
+ }
@@ -0,0 +1,26 @@
1
+ import { AfterContentInit, ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
+ import { IFlowBase } from './i-flow-base';
3
+ import { FComponentsStore } from '../f-components-store';
4
+ import { GetAllNodesRectHandler } from '../domain';
5
+ import { IRect } from '@foblex/core';
6
+ import { RedrawConnectionsHandler } from './domain/redraw-connections/redraw-connections.handler';
7
+ import * as i0 from "@angular/core";
8
+ export declare class FFlowComponent implements IFlowBase, OnInit, AfterContentInit, OnDestroy {
9
+ private elementReference;
10
+ private redrawConnectionsHandler;
11
+ private getAllNodesRectHandler;
12
+ private fComponentsStore;
13
+ private subscription$;
14
+ id: string;
15
+ get hostElement(): HTMLElement;
16
+ fLoaded: EventEmitter<void>;
17
+ private isLoaded;
18
+ constructor(elementReference: ElementRef<HTMLElement>, redrawConnectionsHandler: RedrawConnectionsHandler, getAllNodesRectHandler: GetAllNodesRectHandler, fComponentsStore: FComponentsStore);
19
+ ngOnInit(): void;
20
+ ngAfterContentInit(): void;
21
+ private subscribeOnElementsChanges;
22
+ getNodesRect(): IRect;
23
+ ngOnDestroy(): void;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<FFlowComponent, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<FFlowComponent, "f-flow", never, { "id": { "alias": "id"; "required": false; }; }, { "fLoaded": "fLoaded"; }, never, ["[fDefinitions]", "f-background", "f-line-alignment", "f-canvas", "f-selection-area"], false, never>;
26
+ }
@@ -1,5 +1,4 @@
1
- export * from './f-backgroud';
2
- export * from './f-canvas';
1
+ export * from './domain/redraw-connections/redraw-connections.handler';
3
2
  export * from './f-flow.component';
4
3
  export * from './i-flow-base';
5
4
  export * from './f-parent.injection-token';
@@ -0,0 +1 @@
1
+ export * from './f-flow.component';
@@ -5,13 +5,13 @@ import * as i3 from "./f-connection/common/f-path/f-connection-path.component";
5
5
  import * as i4 from "./f-connection/common/f-connection-text/f-connection-text.component";
6
6
  import * as i5 from "./f-connection/common/f-connection-text/f-connection-text-path.directive";
7
7
  import * as i6 from "./f-connection/common/f-selection/f-connection-selection.component";
8
- import * as i7 from "./components/f-flow/f-flow.component";
9
- import * as i8 from "./components/f-flow/f-backgroud/f-background.component";
10
- import * as i9 from "./components/f-flow/f-canvas/f-canvas.component";
11
- import * as i10 from "./f-node/f-node.component";
8
+ import * as i7 from "./f-flow/f-flow.component";
9
+ import * as i8 from "./f-backgroud/f-background.component";
10
+ import * as i9 from "./f-canvas/f-canvas.component";
11
+ import * as i10 from "./f-node/f-node.directive";
12
12
  import * as i11 from "./f-connection/f-connection/f-connection.component";
13
13
  import * as i12 from "./f-connection/f-connection-for-create/f-connection-for-create.component";
14
- import * as i13 from "./components/f-flow/f-canvas/f-zoom/f-zoom.directive";
14
+ import * as i13 from "./f-canvas/f-zoom/f-zoom.directive";
15
15
  import * as i14 from "./f-node/f-connectors/f-node-input/f-node-input.directive";
16
16
  import * as i15 from "./f-node/f-connectors/f-node-outlet/f-node-outlet.directive";
17
17
  import * as i16 from "./f-node/f-connectors/f-node-output/f-node-output.directive";
@@ -22,6 +22,6 @@ import * as i20 from "./f-draggable/components/f-line-alignment/f-line-alignment
22
22
  import * as i21 from "@angular/common";
23
23
  export declare class FFlowModule {
24
24
  static ɵfac: i0.ɵɵFactoryDeclaration<FFlowModule, never>;
25
- static ɵmod: i0.ɵɵNgModuleDeclaration<FFlowModule, [typeof i1.FConnectionDragHandleComponent, typeof i2.FConnectionGradientComponent, typeof i3.FConnectionPathComponent, typeof i4.FConnectionTextComponent, typeof i5.FConnectionTextPathDirective, typeof i6.FConnectionSelectionComponent, typeof i7.FFlowComponent, typeof i8.FBackgroundComponent, typeof i9.FCanvasComponent, typeof i10.FNodeComponent, typeof i11.FConnectionComponent, typeof i12.FConnectionForCreateComponent, typeof i13.FZoomDirective, typeof i14.FNodeInputDirective, typeof i15.FNodeOutletDirective, typeof i16.FNodeOutputDirective, typeof i17.FDraggableDirective, typeof i18.FExternalItemDirective, typeof i19.FSelectionAreaComponent, typeof i20.FLineAlignmentComponent], [typeof i21.CommonModule], [typeof i7.FFlowComponent, typeof i8.FBackgroundComponent, typeof i9.FCanvasComponent, typeof i10.FNodeComponent, typeof i11.FConnectionComponent, typeof i12.FConnectionForCreateComponent, typeof i13.FZoomDirective, typeof i14.FNodeInputDirective, typeof i15.FNodeOutletDirective, typeof i16.FNodeOutputDirective, typeof i17.FDraggableDirective, typeof i18.FExternalItemDirective, typeof i19.FSelectionAreaComponent, typeof i20.FLineAlignmentComponent]>;
25
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FFlowModule, [typeof i1.FConnectionDragHandleComponent, typeof i2.FConnectionGradientComponent, typeof i3.FConnectionPathComponent, typeof i4.FConnectionTextComponent, typeof i5.FConnectionTextPathDirective, typeof i6.FConnectionSelectionComponent, typeof i7.FFlowComponent, typeof i8.FBackgroundComponent, typeof i9.FCanvasComponent, typeof i10.FNodeDirective, typeof i11.FConnectionComponent, typeof i12.FConnectionForCreateComponent, typeof i13.FZoomDirective, typeof i14.FNodeInputDirective, typeof i15.FNodeOutletDirective, typeof i16.FNodeOutputDirective, typeof i17.FDraggableDirective, typeof i18.FExternalItemDirective, typeof i19.FSelectionAreaComponent, typeof i20.FLineAlignmentComponent], [typeof i21.CommonModule], [typeof i7.FFlowComponent, typeof i8.FBackgroundComponent, typeof i9.FCanvasComponent, typeof i10.FNodeDirective, typeof i11.FConnectionComponent, typeof i12.FConnectionForCreateComponent, typeof i13.FZoomDirective, typeof i14.FNodeInputDirective, typeof i15.FNodeOutletDirective, typeof i16.FNodeOutputDirective, typeof i17.FDraggableDirective, typeof i18.FExternalItemDirective, typeof i19.FSelectionAreaComponent, typeof i20.FLineAlignmentComponent]>;
26
26
  static ɵinj: i0.ɵɵInjectorDeclaration<FFlowModule>;
27
27
  }
@@ -4,7 +4,7 @@ import { FNodeBase } from './f-node-base';
4
4
  import { FConnectorBase } from './f-connectors';
5
5
  import { FComponentsStore } from '../f-components-store';
6
6
  import * as i0 from "@angular/core";
7
- export declare class FNodeComponent extends FNodeBase implements OnInit, AfterViewInit, IHasHostElement, OnDestroy {
7
+ export declare class FNodeDirective extends FNodeBase implements OnInit, AfterViewInit, IHasHostElement, OnDestroy {
8
8
  private elementReference;
9
9
  private renderer;
10
10
  private fComponentsStore;
@@ -25,6 +25,6 @@ export declare class FNodeComponent extends FNodeBase implements OnInit, AfterVi
25
25
  removeConnector(connector: FConnectorBase): void;
26
26
  refresh(): void;
27
27
  ngOnDestroy(): void;
28
- static ɵfac: i0.ɵɵFactoryDeclaration<FNodeComponent, never>;
29
- static ɵdir: i0.ɵɵDirectiveDeclaration<FNodeComponent, "[fNode]", ["fComponent"], { "id": { "alias": "id"; "required": false; }; "position": { "alias": "fNodePosition"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "positionChange": "fNodePositionChange"; }, never, never, false, never>;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<FNodeDirective, never>;
29
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FNodeDirective, "[fNode]", ["fComponent"], { "id": { "alias": "id"; "required": false; }; "position": { "alias": "fNodePosition"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "positionChange": "fNodePositionChange"; }, never, never, false, never>;
30
30
  }
package/f-node/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  export * from './f-connectors';
2
2
  export * from './f-drag-handle';
3
- export * from './f-node.component';
3
+ export * from './f-node.directive';
4
4
  export * from './f-node-base';
5
5
  export * from './f-resize-observer';
6
6
  export * from './is-node';
@@ -1,3 +1,3 @@
1
1
  export * from './f-connectors/public-api';
2
2
  export * from './f-drag-handle/public-api';
3
- export * from './f-node.component';
3
+ export * from './f-node.directive';