@foblex/flow 17.4.3 → 17.4.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 (52) hide show
  1. package/domain/f-draggable/providers.d.ts +1 -1
  2. package/domain/f-selection/providers.d.ts +1 -1
  3. package/domain/providers.d.ts +1 -1
  4. package/esm2022/f-canvas/f-canvas.component.mjs +7 -2
  5. package/esm2022/f-connection/f-connection/f-connection.component.mjs +3 -3
  6. package/esm2022/f-connection/f-connection-for-create/f-connection-for-create.component.mjs +2 -2
  7. package/esm2022/f-connection/f-snap-connection/f-snap-connection.component.mjs +2 -2
  8. package/esm2022/f-draggable/f-drop-to-group/drop-to-group-preparation/f-node-drop-to-group-preparation.execution.mjs +2 -2
  9. package/esm2022/f-external-item/domain/f-external-item.drag-handler.mjs +7 -4
  10. package/esm2022/f-flow/f-flow-base.mjs +1 -1
  11. package/esm2022/f-flow/f-flow.component.mjs +2 -2
  12. package/esm2022/f-minimap/domain/minimap-draw-nodes/minimap-draw-nodes.execution.mjs +10 -1
  13. package/esm2022/f-minimap/f-minimap-canvas.directive.mjs +1 -1
  14. package/esm2022/f-minimap/f-minimap-flow.directive.mjs +1 -1
  15. package/esm2022/f-minimap/f-minimap-view.directive.mjs +1 -1
  16. package/esm2022/f-node/f-group.directive.mjs +7 -4
  17. package/esm2022/f-node/f-node-base.mjs +1 -1
  18. package/esm2022/f-node/f-node.directive.mjs +7 -4
  19. package/f-backgroud/providers.d.ts +1 -1
  20. package/f-canvas/f-canvas.component.d.ts +2 -0
  21. package/f-connection/providers.d.ts +1 -1
  22. package/f-draggable/f-canvas/providers.d.ts +1 -1
  23. package/f-draggable/f-connection/providers.d.ts +1 -1
  24. package/f-draggable/f-drop-to-group/providers.d.ts +1 -1
  25. package/f-draggable/f-node-move/create-move-nodes-drag-model-from-selection/providers.d.ts +1 -1
  26. package/f-draggable/f-node-move/providers.d.ts +1 -1
  27. package/f-draggable/f-node-resize/providers.d.ts +1 -1
  28. package/f-draggable/f-node-rotate/providers.d.ts +1 -1
  29. package/f-draggable/providers.d.ts +1 -1
  30. package/f-external-item/domain/f-external-item.drag-handler.d.ts +1 -0
  31. package/f-external-item/domain/providers.d.ts +1 -1
  32. package/f-flow/f-flow-base.d.ts +1 -1
  33. package/f-flow/f-flow.component.d.ts +1 -1
  34. package/f-minimap/domain/minimap-draw-nodes/minimap-draw-nodes.execution.d.ts +3 -2
  35. package/f-minimap/domain/providers.d.ts +1 -1
  36. package/f-minimap/f-minimap-canvas.directive.d.ts +2 -2
  37. package/f-minimap/f-minimap-view.directive.d.ts +2 -2
  38. package/f-minimap/providers.d.ts +1 -1
  39. package/f-node/f-group.directive.d.ts +4 -3
  40. package/f-node/f-node-base.d.ts +1 -0
  41. package/f-node/f-node.directive.d.ts +4 -3
  42. package/f-node/providers.d.ts +2 -2
  43. package/f-selection-area/domain/providers.d.ts +1 -1
  44. package/f-storage/providers.d.ts +1 -1
  45. package/fesm2022/foblex-flow.mjs +38 -15
  46. package/fesm2022/foblex-flow.mjs.map +1 -1
  47. package/package.json +5 -1
  48. package/schematics/collection.json +10 -0
  49. package/schematics/ng-add/index.d.ts +2 -0
  50. package/schematics/ng-add/index.js +25 -0
  51. package/schematics/ng-add/index.js.map +1 -0
  52. package/schematics/ng-add/schema.json +7 -0
@@ -7,6 +7,8 @@ import * as i0 from "@angular/core";
7
7
  export declare class FNodeDirective extends FNodeBase implements OnInit, AfterViewInit, IHasHostElement, OnDestroy {
8
8
  private renderer;
9
9
  private fBrowser;
10
+ private readonly _destroyRef;
11
+ private readonly _fMediator;
10
12
  fId: string;
11
13
  fParentId: string | null | undefined;
12
14
  set position(value: IPoint);
@@ -22,8 +24,7 @@ export declare class FNodeDirective extends FNodeBase implements OnInit, AfterVi
22
24
  fSelectionDisabled: boolean;
23
25
  fIncludePadding: boolean;
24
26
  fConnectOnNode: boolean;
25
- private readonly _destroyRef;
26
- private readonly _fMediator;
27
+ fMinimapClass: string[] | string;
27
28
  constructor(elementReference: ElementRef<HTMLElement>, renderer: Renderer2, fBrowser: BrowserService);
28
29
  ngOnInit(): void;
29
30
  protected setStyle(styleName: string, value: string): void;
@@ -33,7 +34,7 @@ export declare class FNodeDirective extends FNodeBase implements OnInit, AfterVi
33
34
  refresh(): void;
34
35
  ngOnDestroy(): void;
35
36
  static ɵfac: i0.ɵɵFactoryDeclaration<FNodeDirective, never>;
36
- static ɵdir: i0.ɵɵDirectiveDeclaration<FNodeDirective, "[fNode]", ["fComponent"], { "fId": { "alias": "fNodeId"; "required": false; }; "fParentId": { "alias": "fNodeParentId"; "required": false; }; "position": { "alias": "fNodePosition"; "required": false; }; "size": { "alias": "fNodeSize"; "required": false; }; "rotate": { "alias": "fNodeRotate"; "required": false; }; "fDraggingDisabled": { "alias": "fNodeDraggingDisabled"; "required": false; }; "fSelectionDisabled": { "alias": "fNodeSelectionDisabled"; "required": false; }; "fIncludePadding": { "alias": "fIncludePadding"; "required": false; }; "fConnectOnNode": { "alias": "fConnectOnNode"; "required": false; }; }, { "positionChange": "fNodePositionChange"; "rotateChange": "fNodeRotateChange"; "sizeChange": "fNodeSizeChange"; }, never, never, false, never>;
37
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FNodeDirective, "[fNode]", ["fComponent"], { "fId": { "alias": "fNodeId"; "required": false; }; "fParentId": { "alias": "fNodeParentId"; "required": false; }; "position": { "alias": "fNodePosition"; "required": false; }; "size": { "alias": "fNodeSize"; "required": false; }; "rotate": { "alias": "fNodeRotate"; "required": false; }; "fDraggingDisabled": { "alias": "fNodeDraggingDisabled"; "required": false; }; "fSelectionDisabled": { "alias": "fNodeSelectionDisabled"; "required": false; }; "fIncludePadding": { "alias": "fIncludePadding"; "required": false; }; "fConnectOnNode": { "alias": "fConnectOnNode"; "required": false; }; "fMinimapClass": { "alias": "fMinimapClass"; "required": false; }; }, { "positionChange": "fNodePositionChange"; "rotateChange": "fNodeRotateChange"; "sizeChange": "fNodeSizeChange"; }, never, never, false, never>;
37
38
  static ngAcceptInputType_fDraggingDisabled: unknown;
38
39
  static ngAcceptInputType_fSelectionDisabled: unknown;
39
40
  static ngAcceptInputType_fIncludePadding: unknown;
@@ -1,4 +1,4 @@
1
1
  import { FNodeDirective } from './f-node.directive';
2
2
  import { FGroupDirective } from './f-group.directive';
3
- import { FDragHandleDirective } from './f-drag-handle.directive';
4
- export declare const F_NODE_PROVIDERS: (typeof FGroupDirective | typeof FNodeDirective | typeof FDragHandleDirective)[];
3
+ import { FRotateHandleDirective } from './f-rotate-handle';
4
+ export declare const F_NODE_PROVIDERS: (typeof FRotateHandleDirective | typeof FGroupDirective | typeof FNodeDirective)[];
@@ -1,3 +1,3 @@
1
1
  import { SelectionAreaPreparationExecution } from './selection-area-preparation';
2
2
  import { SelectionAreaFinalizeExecution } from './selection-area-finalize';
3
- export declare const F_SELECTION_AREA_DRAG_AND_DROP_PROVIDERS: (typeof SelectionAreaPreparationExecution | typeof SelectionAreaFinalizeExecution)[];
3
+ export declare const F_SELECTION_AREA_DRAG_AND_DROP_PROVIDERS: (typeof SelectionAreaFinalizeExecution | typeof SelectionAreaPreparationExecution)[];
@@ -4,4 +4,4 @@ import { FComponentsStore } from './f-components-store';
4
4
  import { ListenCountChangesExecution } from './features/listen-count-changes';
5
5
  import { ListenTransformChangesExecution } from './features/listen-transform-changes';
6
6
  import { NotifyTransformChangedExecution } from './features/notify-transform-changed';
7
- export declare const F_STORAGE_PROVIDERS: (typeof FComponentsStore | typeof NotifyDataChangedExecution | typeof ListenCountChangesExecution | typeof ListenDataChangesExecution | typeof ListenTransformChangesExecution | typeof NotifyTransformChangedExecution)[];
7
+ export declare const F_STORAGE_PROVIDERS: (typeof NotifyDataChangedExecution | typeof FComponentsStore | typeof ListenDataChangesExecution | typeof ListenCountChangesExecution | typeof ListenTransformChangesExecution | typeof NotifyTransformChangedExecution)[];
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { InjectionToken, inject, Injectable, effect, Directive, input, computed, EventEmitter, DestroyRef, booleanAttribute, Input, Output, ElementRef, Inject, Component, ChangeDetectionStrategy, ViewChild, Optional, numberAttribute, ContentChildren, Injector, ViewContainerRef, TemplateRef, NgZone, contentChild, output, viewChild, Renderer2, NgModule } from '@angular/core';
2
+ import { InjectionToken, inject, Injectable, effect, Directive, input, computed, DestroyRef, EventEmitter, booleanAttribute, Input, Output, ElementRef, Inject, Component, ChangeDetectionStrategy, ViewChild, Optional, numberAttribute, ContentChildren, Injector, ViewContainerRef, TemplateRef, NgZone, contentChild, output, viewChild, Renderer2, NgModule } from '@angular/core';
3
3
  import { RectExtensions, RoundedRect, TransformModelExtensions, PointExtensions, SizeExtensions, Point, LineExtensions, GetIntersections, findClosestAlignment, setRectToElement, adjustRectToMinSize, setRectToViewBox } from '@foblex/2d';
4
4
  import { __decorate } from 'tslib';
5
5
  import * as i2$1 from '@foblex/mediator';
@@ -1214,6 +1214,8 @@ let uniqueId$b = 0;
1214
1214
  class FGroupDirective extends FNodeBase {
1215
1215
  renderer;
1216
1216
  fBrowser;
1217
+ _destroyRef = inject(DestroyRef);
1218
+ _fMediator = inject(FMediator);
1217
1219
  fId = `f-group-${uniqueId$b++}`;
1218
1220
  fParentId = null;
1219
1221
  set position(value) {
@@ -1253,8 +1255,7 @@ class FGroupDirective extends FNodeBase {
1253
1255
  fSelectionDisabled = false;
1254
1256
  fIncludePadding = true;
1255
1257
  fConnectOnNode = true;
1256
- _destroyRef = inject(DestroyRef);
1257
- _fMediator = inject(FMediator);
1258
+ fMinimapClass = [];
1258
1259
  constructor(elementReference, renderer, fBrowser) {
1259
1260
  super(elementReference.nativeElement);
1260
1261
  this.renderer = renderer;
@@ -1293,7 +1294,7 @@ class FGroupDirective extends FNodeBase {
1293
1294
  this._fMediator.execute(new RemoveNodeFromStoreRequest(this));
1294
1295
  }
1295
1296
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FGroupDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.BrowserService }], target: i0.ɵɵFactoryTarget.Directive });
1296
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.2.4", type: FGroupDirective, selector: "[fGroup]", inputs: { fId: ["fGroupId", "fId"], fParentId: ["fGroupParentId", "fParentId"], position: ["fGroupPosition", "position"], rotate: ["fGroupRotate", "rotate"], size: ["fGroupSize", "size"], fDraggingDisabled: ["fGroupDraggingDisabled", "fDraggingDisabled", booleanAttribute], fSelectionDisabled: ["fGroupSelectionDisabled", "fSelectionDisabled", booleanAttribute], fIncludePadding: ["fIncludePadding", "fIncludePadding", booleanAttribute], fConnectOnNode: ["fConnectOnNode", "fConnectOnNode", booleanAttribute] }, outputs: { positionChange: "fGroupPositionChange", rotateChange: "fGroupRotateChange", sizeChange: "fGroupSizeChange" }, host: { properties: { "attr.data-f-group-id": "fId", "class.f-group-dragging-disabled": "fDraggingDisabled", "class.f-group-selection-disabled": "fSelectionDisabled" }, classAttribute: "f-group f-component" }, providers: [
1297
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.2.4", type: FGroupDirective, selector: "[fGroup]", inputs: { fId: ["fGroupId", "fId"], fParentId: ["fGroupParentId", "fParentId"], position: ["fGroupPosition", "position"], rotate: ["fGroupRotate", "rotate"], size: ["fGroupSize", "size"], fDraggingDisabled: ["fGroupDraggingDisabled", "fDraggingDisabled", booleanAttribute], fSelectionDisabled: ["fGroupSelectionDisabled", "fSelectionDisabled", booleanAttribute], fIncludePadding: ["fIncludePadding", "fIncludePadding", booleanAttribute], fConnectOnNode: ["fConnectOnNode", "fConnectOnNode", booleanAttribute], fMinimapClass: "fMinimapClass" }, outputs: { positionChange: "fGroupPositionChange", rotateChange: "fGroupRotateChange", sizeChange: "fGroupSizeChange" }, host: { properties: { "attr.data-f-group-id": "fId", "class.f-group-dragging-disabled": "fDraggingDisabled", "class.f-group-selection-disabled": "fSelectionDisabled" }, classAttribute: "f-group f-component" }, providers: [
1297
1298
  { provide: F_NODE, useExisting: FGroupDirective }
1298
1299
  ], exportAs: ["fComponent"], usesInheritance: true, ngImport: i0 });
1299
1300
  }
@@ -1348,12 +1349,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImpor
1348
1349
  }], fConnectOnNode: [{
1349
1350
  type: Input,
1350
1351
  args: [{ transform: booleanAttribute }]
1352
+ }], fMinimapClass: [{
1353
+ type: Input
1351
1354
  }] } });
1352
1355
 
1353
1356
  let uniqueId$a = 0;
1354
1357
  class FNodeDirective extends FNodeBase {
1355
1358
  renderer;
1356
1359
  fBrowser;
1360
+ _destroyRef = inject(DestroyRef);
1361
+ _fMediator = inject(FMediator);
1357
1362
  fId = `f-node-${uniqueId$a++}`;
1358
1363
  fParentId = null;
1359
1364
  set position(value) {
@@ -1394,8 +1399,7 @@ class FNodeDirective extends FNodeBase {
1394
1399
  fIncludePadding = true;
1395
1400
  //Add ability to connect to first connectable input if node is at pointer position
1396
1401
  fConnectOnNode = true;
1397
- _destroyRef = inject(DestroyRef);
1398
- _fMediator = inject(FMediator);
1402
+ fMinimapClass = [];
1399
1403
  constructor(elementReference, renderer, fBrowser) {
1400
1404
  super(elementReference.nativeElement);
1401
1405
  this.renderer = renderer;
@@ -1434,7 +1438,7 @@ class FNodeDirective extends FNodeBase {
1434
1438
  this._fMediator.execute(new RemoveNodeFromStoreRequest(this));
1435
1439
  }
1436
1440
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FNodeDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.BrowserService }], target: i0.ɵɵFactoryTarget.Directive });
1437
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.2.4", type: FNodeDirective, selector: "[fNode]", inputs: { fId: ["fNodeId", "fId"], fParentId: ["fNodeParentId", "fParentId"], position: ["fNodePosition", "position"], size: ["fNodeSize", "size"], rotate: ["fNodeRotate", "rotate"], fDraggingDisabled: ["fNodeDraggingDisabled", "fDraggingDisabled", booleanAttribute], fSelectionDisabled: ["fNodeSelectionDisabled", "fSelectionDisabled", booleanAttribute], fIncludePadding: ["fIncludePadding", "fIncludePadding", booleanAttribute], fConnectOnNode: ["fConnectOnNode", "fConnectOnNode", booleanAttribute] }, outputs: { positionChange: "fNodePositionChange", rotateChange: "fNodeRotateChange", sizeChange: "fNodeSizeChange" }, host: { properties: { "attr.data-f-node-id": "fId", "class.f-node-dragging-disabled": "fDraggingDisabled", "class.f-node-selection-disabled": "fSelectionDisabled" }, classAttribute: "f-node f-component" }, providers: [
1441
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.2.4", type: FNodeDirective, selector: "[fNode]", inputs: { fId: ["fNodeId", "fId"], fParentId: ["fNodeParentId", "fParentId"], position: ["fNodePosition", "position"], size: ["fNodeSize", "size"], rotate: ["fNodeRotate", "rotate"], fDraggingDisabled: ["fNodeDraggingDisabled", "fDraggingDisabled", booleanAttribute], fSelectionDisabled: ["fNodeSelectionDisabled", "fSelectionDisabled", booleanAttribute], fIncludePadding: ["fIncludePadding", "fIncludePadding", booleanAttribute], fConnectOnNode: ["fConnectOnNode", "fConnectOnNode", booleanAttribute], fMinimapClass: "fMinimapClass" }, outputs: { positionChange: "fNodePositionChange", rotateChange: "fNodeRotateChange", sizeChange: "fNodeSizeChange" }, host: { properties: { "attr.data-f-node-id": "fId", "class.f-node-dragging-disabled": "fDraggingDisabled", "class.f-node-selection-disabled": "fSelectionDisabled" }, classAttribute: "f-node f-component" }, providers: [
1438
1442
  { provide: F_NODE, useExisting: FNodeDirective }
1439
1443
  ], exportAs: ["fComponent"], usesInheritance: true, ngImport: i0 });
1440
1444
  }
@@ -1489,6 +1493,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImpor
1489
1493
  }], fConnectOnNode: [{
1490
1494
  type: Input,
1491
1495
  args: [{ transform: booleanAttribute }]
1496
+ }], fMinimapClass: [{
1497
+ type: Input
1492
1498
  }] } });
1493
1499
 
1494
1500
  function isNode(element) {
@@ -2454,7 +2460,7 @@ class FConnectionForCreateComponent extends FConnectionBase {
2454
2460
  fOutputId;
2455
2461
  fInputId;
2456
2462
  fRadius = 8;
2457
- fOffset = 32;
2463
+ fOffset = 12;
2458
2464
  fBehavior = EFConnectionBehavior.FIXED;
2459
2465
  fType = EFConnectionType.STRAIGHT;
2460
2466
  fDraggingDisabled = false;
@@ -2545,7 +2551,7 @@ class FConnectionComponent extends FConnectionBase {
2545
2551
  fOutputId = '';
2546
2552
  fInputId = '';
2547
2553
  fRadius = 8;
2548
- fOffset = 32;
2554
+ fOffset = 12;
2549
2555
  fBehavior = EFConnectionBehavior.FIXED;
2550
2556
  fType = EFConnectionType.STRAIGHT;
2551
2557
  fDraggingDisabled = false;
@@ -2725,7 +2731,7 @@ class FSnapConnectionComponent extends FConnectionBase {
2725
2731
  fOutputId;
2726
2732
  fInputId;
2727
2733
  fRadius = 8;
2728
- fOffset = 32;
2734
+ fOffset = 12;
2729
2735
  fBehavior = EFConnectionBehavior.FIXED;
2730
2736
  fType = EFConnectionType.STRAIGHT;
2731
2737
  fDraggingDisabled = false;
@@ -5599,7 +5605,7 @@ let FNodeDropToGroupPreparationExecution = class FNodeDropToGroupPreparationExec
5599
5605
  const rect = this._fMediator.execute(new GetNormalizedElementRectRequest(x.hostElement, false));
5600
5606
  return {
5601
5607
  node: x,
5602
- rect: RectExtensions.initialize(rect.x + this._fCanvasPosition.x, rect.y + this._fCanvasPosition.y, rect.width * this._transform.scale, rect.height * this._transform.scale)
5608
+ rect: RectExtensions.initialize(rect.x * this._transform.scale + this._fCanvasPosition.x, rect.y * this._transform.scale + this._fCanvasPosition.y, rect.width * this._transform.scale, rect.height * this._transform.scale)
5603
5609
  };
5604
5610
  });
5605
5611
  }
@@ -6534,6 +6540,9 @@ class FExternalItemDragHandler {
6534
6540
  get _fItemHost() {
6535
6541
  return this._fExternalItem.hostElement;
6536
6542
  }
6543
+ get _body() {
6544
+ return this._fBrowser.document.fullscreenElement ?? this._fBrowser.document.body;
6545
+ }
6537
6546
  constructor(_injector, _fExternalItem) {
6538
6547
  this._fExternalItem = _fExternalItem;
6539
6548
  this.fData = { fData: _fExternalItem.fData };
@@ -6553,11 +6562,11 @@ class FExternalItemDragHandler {
6553
6562
  this._matchElementSize(this._preview, this._onPointerDownRect);
6554
6563
  }
6555
6564
  this._preview.style.transform = setTransform(this._onPointerDownRect);
6556
- this._fBrowser.document.body.appendChild(this._preview);
6565
+ this._body.appendChild(this._preview);
6557
6566
  }
6558
6567
  _createAndAppendPlaceholder() {
6559
6568
  this._placeholder = this._fMediator.execute(new FExternalItemCreatePlaceholderRequest(this._fExternalItem));
6560
- this._fBrowser.document.body.appendChild(this._fItemHost.parentElement.replaceChild(this._placeholder, this._fItemHost));
6569
+ this._body.appendChild(this._fItemHost.parentElement.replaceChild(this._placeholder, this._fItemHost));
6561
6570
  }
6562
6571
  _matchElementSize(target, sourceRect) {
6563
6572
  target.style.width = `${sourceRect.width}px`;
@@ -6582,7 +6591,7 @@ class FExternalItemDragHandler {
6582
6591
  this._preview.style.transform = setTransform(position);
6583
6592
  }
6584
6593
  onPointerUp() {
6585
- this._fBrowser.document.body.removeChild(this._preview);
6594
+ this._body.removeChild(this._preview);
6586
6595
  this._placeholder.parentElement.replaceChild(this._fItemHost, this._placeholder);
6587
6596
  }
6588
6597
  }
@@ -7298,10 +7307,19 @@ let MinimapDrawNodesExecution = class MinimapDrawNodesExecution {
7298
7307
  }
7299
7308
  _applyClassList(element, node, isNode) {
7300
7309
  element.classList.add('f-component', isNode ? 'f-minimap-node' : 'f-minimap-group');
7310
+ element.classList.add(...this._getClassList(node));
7301
7311
  if (node.isSelected()) {
7302
7312
  element.classList.add('f-selected');
7303
7313
  }
7304
7314
  }
7315
+ _getClassList(node) {
7316
+ if (Array.isArray(node.fMinimapClass)) {
7317
+ return node.fMinimapClass;
7318
+ }
7319
+ else {
7320
+ return [node.fMinimapClass];
7321
+ }
7322
+ }
7305
7323
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: MinimapDrawNodesExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
7306
7324
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: MinimapDrawNodesExecution });
7307
7325
  };
@@ -9435,6 +9453,7 @@ class FCanvasComponent extends FCanvasBase {
9435
9453
  _fMediator = inject(FMediator);
9436
9454
  _elementReference = inject(ElementRef);
9437
9455
  _injector = inject(Injector);
9456
+ _flowId;
9438
9457
  fCanvasChange = output();
9439
9458
  position = input(PointExtensions.initialize(), { transform: PointExtensions.castToPoint });
9440
9459
  scale = input(1, { transform: numberAttribute });
@@ -9444,7 +9463,11 @@ class FCanvasComponent extends FCanvasBase {
9444
9463
  fGroupsContainer = viewChild.required('fGroupsContainer');
9445
9464
  fNodesContainer = viewChild.required('fNodesContainer');
9446
9465
  fConnectionsContainer = viewChild.required('fConnectionsContainer');
9466
+ get flowId() {
9467
+ return this._flowId;
9468
+ }
9447
9469
  ngOnInit() {
9470
+ this._flowId = this._fMediator.execute(new GetFlowRequest()).fId();
9448
9471
  this._fMediator.execute(new AddCanvasToStoreRequest(this));
9449
9472
  this._positionChange();
9450
9473
  this._scaleChange();
@@ -9710,7 +9733,7 @@ class FFlowComponent extends FFlowBase {
9710
9733
  _emitLoaded() {
9711
9734
  if (!this._isLoaded) {
9712
9735
  this._isLoaded = true;
9713
- this.fLoaded.emit();
9736
+ this.fLoaded.emit(this.fId());
9714
9737
  }
9715
9738
  }
9716
9739
  redraw() {