@foblex/flow 17.4.2 → 17.4.4
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.
- package/domain/f-node/providers.d.ts +1 -1
- package/domain/providers.d.ts +1 -1
- package/esm2022/f-draggable/f-canvas/f-canvas.drag-handler.mjs +5 -3
- package/esm2022/f-draggable/f-canvas/move-preparation/f-canvas-move-preparation.execution.mjs +4 -3
- package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/drag-handler-preparation/f-create-connection-drag-handler-preparation.execution.mjs +4 -3
- package/esm2022/f-draggable/f-connection/f-create-connection/f-create-connection.drag-handler.mjs +8 -6
- package/esm2022/f-draggable/f-connection/f-reassign-connection/f-reassign-connection.drag-handler.mjs +8 -6
- package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-preparation/f-reassign-connection-preparation.execution.mjs +4 -3
- package/esm2022/f-draggable/f-draggable.directive.mjs +2 -8
- package/esm2022/f-draggable/f-drop-to-group/drop-to-group-preparation/f-node-drop-to-group-preparation.execution.mjs +5 -4
- package/esm2022/f-draggable/f-drop-to-group/f-node-drop-to-group.drag-handler.mjs +7 -6
- package/esm2022/f-draggable/f-node-move/connection-drag-handlers/base-connection.drag-handler.mjs +6 -5
- package/esm2022/f-draggable/f-node-move/connection-drag-handlers/source-connection.drag-handler.mjs +3 -3
- package/esm2022/f-draggable/f-node-move/connection-drag-handlers/source-target-connection.drag-handler.mjs +3 -3
- package/esm2022/f-draggable/f-node-move/connection-drag-handlers/target-connection.drag-handler.mjs +3 -3
- package/esm2022/f-draggable/f-node-move/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.execution.mjs +4 -3
- package/esm2022/f-draggable/f-node-move/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/put-input-connection-handlers-to-array.execution.mjs +5 -4
- package/esm2022/f-draggable/f-node-move/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/put-output-connection-handlers-to-array.execution.mjs +5 -4
- package/esm2022/f-draggable/f-node-move/f-line-alignment.drag-handler.mjs +4 -4
- package/esm2022/f-draggable/f-node-move/f-summary-node-move.drag-handler.mjs +5 -5
- package/esm2022/f-draggable/f-node-move/line-alignment-preparation/line-alignment-preparation.execution.mjs +4 -3
- package/esm2022/f-draggable/f-node-move/point-bounds-limiter.mjs +8 -6
- package/esm2022/f-draggable/f-node-resize/f-node-resize.drag-handler.mjs +4 -4
- package/esm2022/f-draggable/f-node-resize/resize-preparation/f-node-resize-preparation.execution.mjs +4 -3
- package/esm2022/f-draggable/f-node-rotate/f-node-rotate.drag-handler.mjs +8 -6
- package/esm2022/f-draggable/f-node-rotate/rotate-preparation/f-node-rotate-preparation.execution.mjs +6 -5
- package/esm2022/f-draggable/index.mjs +1 -2
- package/esm2022/f-external-item/domain/f-external-item.drag-handler.mjs +15 -9
- package/esm2022/f-external-item/domain/preparation/f-external-item-preparation.execution.mjs +4 -3
- package/esm2022/f-minimap/domain/minimap-draw-nodes/minimap-draw-nodes.execution.mjs +10 -1
- package/esm2022/f-minimap/f-minimap-canvas.directive.mjs +1 -1
- package/esm2022/f-minimap/f-minimap-flow.directive.mjs +1 -1
- package/esm2022/f-minimap/f-minimap-view.directive.mjs +1 -1
- package/esm2022/f-node/f-group.directive.mjs +7 -4
- package/esm2022/f-node/f-node-base.mjs +1 -1
- package/esm2022/f-node/f-node.directive.mjs +7 -4
- package/f-backgroud/providers.d.ts +1 -1
- package/f-connection/providers.d.ts +1 -1
- package/f-draggable/f-canvas/f-canvas.drag-handler.d.ts +3 -1
- package/f-draggable/f-canvas/move-preparation/f-canvas-move-preparation.execution.d.ts +3 -2
- package/f-draggable/f-connection/f-create-connection/create-preparation/drag-handler-preparation/f-create-connection-drag-handler-preparation.execution.d.ts +3 -2
- package/f-draggable/f-connection/f-create-connection/f-create-connection.drag-handler.d.ts +5 -4
- package/f-draggable/f-connection/f-reassign-connection/f-reassign-connection.drag-handler.d.ts +5 -4
- package/f-draggable/f-connection/f-reassign-connection/reassign-preparation/f-reassign-connection-preparation.execution.d.ts +4 -3
- package/f-draggable/f-connection/providers.d.ts +1 -1
- package/f-draggable/f-draggable.directive.d.ts +0 -1
- package/f-draggable/f-drop-to-group/drop-to-group-preparation/f-node-drop-to-group-preparation.execution.d.ts +4 -3
- package/f-draggable/f-drop-to-group/f-node-drop-to-group.drag-handler.d.ts +4 -3
- package/f-draggable/f-node-move/connection-drag-handlers/base-connection.drag-handler.d.ts +2 -1
- package/f-draggable/f-node-move/connection-drag-handlers/source-connection.drag-handler.d.ts +2 -1
- package/f-draggable/f-node-move/connection-drag-handlers/source-target-connection.drag-handler.d.ts +2 -1
- package/f-draggable/f-node-move/connection-drag-handlers/target-connection.drag-handler.d.ts +2 -1
- package/f-draggable/f-node-move/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.execution.d.ts +1 -0
- package/f-draggable/f-node-move/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/put-input-connection-handlers-to-array.execution.d.ts +2 -1
- package/f-draggable/f-node-move/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/put-output-connection-handlers-to-array.execution.d.ts +2 -1
- package/f-draggable/f-node-move/create-move-nodes-drag-model-from-selection/providers.d.ts +1 -1
- package/f-draggable/f-node-move/f-line-alignment.drag-handler.d.ts +2 -1
- package/f-draggable/f-node-move/f-summary-node-move.drag-handler.d.ts +2 -1
- package/f-draggable/f-node-move/line-alignment-preparation/line-alignment-preparation.execution.d.ts +5 -4
- package/f-draggable/f-node-move/point-bounds-limiter.d.ts +4 -3
- package/f-draggable/f-node-move/providers.d.ts +1 -1
- package/f-draggable/f-node-resize/f-node-resize.drag-handler.d.ts +2 -1
- package/f-draggable/f-node-resize/providers.d.ts +1 -1
- package/f-draggable/f-node-resize/resize-preparation/f-node-resize-preparation.execution.d.ts +4 -3
- package/f-draggable/f-node-rotate/f-node-rotate.drag-handler.d.ts +2 -1
- package/f-draggable/f-node-rotate/rotate-preparation/f-node-rotate-preparation.execution.d.ts +1 -0
- package/f-draggable/index.d.ts +0 -1
- package/f-draggable/providers.d.ts +1 -1
- package/f-external-item/domain/f-external-item.drag-handler.d.ts +6 -4
- package/f-external-item/domain/preparation/f-external-item-preparation.execution.d.ts +1 -0
- package/f-external-item/domain/providers.d.ts +1 -1
- package/f-minimap/domain/minimap-draw-nodes/minimap-draw-nodes.execution.d.ts +3 -2
- package/f-minimap/domain/providers.d.ts +1 -1
- package/f-minimap/f-minimap-canvas.directive.d.ts +2 -2
- package/f-minimap/f-minimap-view.directive.d.ts +2 -2
- package/f-minimap/providers.d.ts +1 -1
- package/f-node/f-group.directive.d.ts +4 -3
- package/f-node/f-node-base.d.ts +1 -0
- package/f-node/f-node.directive.d.ts +4 -3
- package/f-node/providers.d.ts +2 -2
- package/f-selection-area/domain/providers.d.ts +1 -1
- package/f-storage/providers.d.ts +1 -1
- package/fesm2022/foblex-flow.mjs +122 -92
- package/fesm2022/foblex-flow.mjs.map +1 -1
- package/package.json +1 -1
- package/esm2022/f-draggable/f-injector.mjs +0 -19
- package/f-draggable/f-injector.d.ts +0 -8
package/f-draggable/f-node-move/connection-drag-handlers/target-connection.drag-handler.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { FConnectionBase } from '../../../f-connection';
|
|
2
2
|
import { BaseConnectionDragHandler } from './base-connection.drag-handler';
|
|
3
3
|
import { IPoint } from '@foblex/2d';
|
|
4
|
+
import { Injector } from '@angular/core';
|
|
4
5
|
export declare class TargetConnectionDragHandler extends BaseConnectionDragHandler {
|
|
5
|
-
constructor(fConnection: FConnectionBase);
|
|
6
|
+
constructor(injector: Injector, fConnection: FConnectionBase);
|
|
6
7
|
setTargetDifference(difference: IPoint): void;
|
|
7
8
|
}
|
|
@@ -6,6 +6,7 @@ export declare class CreateMoveNodesDragModelFromSelectionExecution implements I
|
|
|
6
6
|
private readonly _fMediator;
|
|
7
7
|
private readonly _fComponentsStore;
|
|
8
8
|
private readonly _fDraggableDataContext;
|
|
9
|
+
private readonly _injector;
|
|
9
10
|
handle(request: CreateMoveNodesDragModelFromSelectionRequest): FSummaryNodeMoveDragHandler;
|
|
10
11
|
private _getDraggedNodes;
|
|
11
12
|
private _getNodesFromSelection;
|
|
@@ -2,7 +2,8 @@ import { PutInputConnectionHandlersToArrayRequest } from './put-input-connection
|
|
|
2
2
|
import { IExecution } from '@foblex/mediator';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class PutInputConnectionHandlersToArrayExecution implements IExecution<PutInputConnectionHandlersToArrayRequest, void> {
|
|
5
|
-
private _fComponentsStore;
|
|
5
|
+
private readonly _fComponentsStore;
|
|
6
|
+
private readonly _injector;
|
|
6
7
|
private get _fConnections();
|
|
7
8
|
handle(request: PutInputConnectionHandlersToArrayRequest): void;
|
|
8
9
|
private _getInputConnections;
|
|
@@ -4,7 +4,8 @@ import { FNodeBase } from '../../../../../f-node';
|
|
|
4
4
|
import { FConnectionBase } from '../../../../../f-connection';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class PutOutputConnectionHandlersToArrayExecution implements IExecution<PutOutputConnectionHandlersToArrayRequest, void> {
|
|
7
|
-
private _fComponentsStore;
|
|
7
|
+
private readonly _fComponentsStore;
|
|
8
|
+
private readonly _injector;
|
|
8
9
|
private get _fConnections();
|
|
9
10
|
handle(request: PutOutputConnectionHandlersToArrayRequest): void;
|
|
10
11
|
_getOutputConnections(node: FNodeBase): FConnectionBase[];
|
|
@@ -3,4 +3,4 @@ import { CalculateNodeMoveLimitsExecution } from './domain/calculate-node-move-l
|
|
|
3
3
|
import { PutInputConnectionHandlersToArrayExecution } from './domain/put-input-connection-handlers-to-array';
|
|
4
4
|
import { PutOutputConnectionHandlersToArrayExecution } from './domain/put-output-connection-handlers-to-array';
|
|
5
5
|
import { CalculateCommonNodeMoveLimitsExecution } from './domain/calculate-common-node-move-limits';
|
|
6
|
-
export declare const CREATE_MOVE_NODE_DRAG_MODEL_FROM_SELECTION_PROVIDERS: (typeof CalculateCommonNodeMoveLimitsExecution | typeof
|
|
6
|
+
export declare const CREATE_MOVE_NODE_DRAG_MODEL_FROM_SELECTION_PROVIDERS: (typeof CalculateCommonNodeMoveLimitsExecution | typeof PutInputConnectionHandlersToArrayExecution | typeof PutOutputConnectionHandlersToArrayExecution | typeof CalculateNodeMoveLimitsExecution | typeof CreateMoveNodesDragModelFromSelectionExecution)[];
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { IMinMaxPoint, IPoint, IRect, ISize } from '@foblex/2d';
|
|
2
2
|
import { IFDragHandler } from '../index';
|
|
3
3
|
import { ILineAlignmentResult, LineService } from '../../f-line-alignment';
|
|
4
|
+
import { Injector } from '@angular/core';
|
|
4
5
|
export declare class FLineAlignmentDragHandler implements IFDragHandler {
|
|
5
6
|
private _lineService;
|
|
6
7
|
private _size;
|
|
@@ -11,7 +12,7 @@ export declare class FLineAlignmentDragHandler implements IFDragHandler {
|
|
|
11
12
|
private readonly _fComponentsStore;
|
|
12
13
|
private _debounceTimer;
|
|
13
14
|
private readonly _transform;
|
|
14
|
-
constructor(_lineService: LineService, _size: ISize, _draggedNodeRect: IRect, _rects: IRect[], _restrictions: IMinMaxPoint);
|
|
15
|
+
constructor(_injector: Injector, _lineService: LineService, _size: ISize, _draggedNodeRect: IRect, _rects: IRect[], _restrictions: IMinMaxPoint);
|
|
15
16
|
onPointerMove(difference: IPoint): void;
|
|
16
17
|
private _drawIntersectingLines;
|
|
17
18
|
private _getDifference;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { IMinMaxPoint, IPoint, IRect } from '@foblex/2d';
|
|
2
2
|
import { IFDragHandler } from '../f-drag-handler';
|
|
3
3
|
import { FNodeMoveDragHandler } from './f-node-move.drag-handler';
|
|
4
|
+
import { Injector } from '@angular/core';
|
|
4
5
|
export declare class FSummaryNodeMoveDragHandler implements IFDragHandler {
|
|
5
6
|
limits: IMinMaxPoint;
|
|
6
7
|
fHandlers: FNodeMoveDragHandler[];
|
|
@@ -9,7 +10,7 @@ export declare class FSummaryNodeMoveDragHandler implements IFDragHandler {
|
|
|
9
10
|
readonly fData: any;
|
|
10
11
|
private readonly _fComponentStore;
|
|
11
12
|
private readonly _fBoundsLimiter;
|
|
12
|
-
constructor(limits: IMinMaxPoint, fHandlers: FNodeMoveDragHandler[], commonRect: IRect);
|
|
13
|
+
constructor(_injector: Injector, limits: IMinMaxPoint, fHandlers: FNodeMoveDragHandler[], commonRect: IRect);
|
|
13
14
|
onPointerMove(difference: IPoint): void;
|
|
14
15
|
onPointerUp(): void;
|
|
15
16
|
calculateRestrictedDifference(difference: IPoint): IPoint;
|
package/f-draggable/f-node-move/line-alignment-preparation/line-alignment-preparation.execution.d.ts
CHANGED
|
@@ -2,10 +2,11 @@ import { LineAlignmentPreparationRequest } from './line-alignment-preparation.re
|
|
|
2
2
|
import { IExecution } from '@foblex/mediator';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class LineAlignmentPreparationExecution implements IExecution<LineAlignmentPreparationRequest, void> {
|
|
5
|
-
private _fMediator;
|
|
6
|
-
private _fComponentsStore;
|
|
7
|
-
private _fDraggableDataContext;
|
|
8
|
-
private _fBrowser;
|
|
5
|
+
private readonly _fMediator;
|
|
6
|
+
private readonly _fComponentsStore;
|
|
7
|
+
private readonly _fDraggableDataContext;
|
|
8
|
+
private readonly _fBrowser;
|
|
9
|
+
private readonly _injector;
|
|
9
10
|
private _lineService;
|
|
10
11
|
handle(request: LineAlignmentPreparationRequest): void;
|
|
11
12
|
private _addLineAlignmentDragHandler;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { IMinMaxPoint, IPoint } from '@foblex/2d';
|
|
2
|
+
import { Injector } from '@angular/core';
|
|
2
3
|
export declare class PointBoundsLimiter {
|
|
3
4
|
private _onPointerDown;
|
|
4
5
|
private readonly _limit;
|
|
5
6
|
private readonly _fComponentsStore;
|
|
6
|
-
private _vCellSize;
|
|
7
|
-
private _hCellSize;
|
|
8
|
-
constructor(_onPointerDown: IPoint, _limit: IMinMaxPoint);
|
|
7
|
+
private readonly _vCellSize;
|
|
8
|
+
private readonly _hCellSize;
|
|
9
|
+
constructor(_injector: Injector, _onPointerDown: IPoint, _limit: IMinMaxPoint);
|
|
9
10
|
limit(difference: IPoint, adjustCellSize: boolean): IPoint;
|
|
10
11
|
private _cellSizeStrategies;
|
|
11
12
|
private _applyCellSize;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { FNodeMoveFinalizeExecution } from './move-finalize';
|
|
2
2
|
import { FNodeMovePreparationExecution } from './move-preparation';
|
|
3
3
|
import { LineAlignmentPreparationExecution } from './line-alignment-preparation';
|
|
4
|
-
export declare const NODE_PROVIDERS: (typeof import("./create-move-nodes-drag-model-from-selection").CalculateCommonNodeMoveLimitsExecution | typeof import("./create-move-nodes-drag-model-from-selection").
|
|
4
|
+
export declare const NODE_PROVIDERS: (typeof import("./create-move-nodes-drag-model-from-selection").CalculateCommonNodeMoveLimitsExecution | typeof import("./create-move-nodes-drag-model-from-selection").PutInputConnectionHandlersToArrayExecution | typeof import("./create-move-nodes-drag-model-from-selection").PutOutputConnectionHandlersToArrayExecution | typeof import("./create-move-nodes-drag-model-from-selection").CalculateNodeMoveLimitsExecution | typeof import("./create-move-nodes-drag-model-from-selection").CreateMoveNodesDragModelFromSelectionExecution | typeof LineAlignmentPreparationExecution | typeof FNodeMovePreparationExecution | typeof FNodeMoveFinalizeExecution)[];
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { IPoint } from '@foblex/2d';
|
|
2
2
|
import { IFDragHandler } from '../f-drag-handler';
|
|
3
3
|
import { EFResizeHandleType, FNodeBase } from '../../f-node';
|
|
4
|
+
import { Injector } from '@angular/core';
|
|
4
5
|
export declare class FNodeResizeDragHandler implements IFDragHandler {
|
|
5
6
|
private _fNode;
|
|
6
7
|
private _fResizeHandleType;
|
|
@@ -9,7 +10,7 @@ export declare class FNodeResizeDragHandler implements IFDragHandler {
|
|
|
9
10
|
private readonly _fMediator;
|
|
10
11
|
private _originalRect;
|
|
11
12
|
private _resizeRestrictions;
|
|
12
|
-
constructor(_fNode: FNodeBase, _fResizeHandleType: EFResizeHandleType);
|
|
13
|
+
constructor(_injector: Injector, _fNode: FNodeBase, _fResizeHandleType: EFResizeHandleType);
|
|
13
14
|
prepareDragSequence(): void;
|
|
14
15
|
private _getOriginalNodeRect;
|
|
15
16
|
private _getNodeResizeRestrictions;
|
|
@@ -6,4 +6,4 @@ import { ApplyParentResizeRestrictionsExecution } from './apply-parent-resize-re
|
|
|
6
6
|
import { CalculateChangedSizeExecution } from './calculate-changed-size';
|
|
7
7
|
import { CalculateChangedPositionExecution } from './calculate-changed-position';
|
|
8
8
|
import { GetNormalizedChildrenNodesRectExecution } from './get-normalized-children-nodes-rect';
|
|
9
|
-
export declare const NODE_RESIZE_PROVIDERS: (typeof
|
|
9
|
+
export declare const NODE_RESIZE_PROVIDERS: (typeof GetNormalizedChildrenNodesRectExecution | typeof GetNodeResizeRestrictionsExecution | typeof ApplyChildResizeRestrictionsExecution | typeof ApplyParentResizeRestrictionsExecution | typeof CalculateChangedPositionExecution | typeof CalculateChangedSizeExecution | typeof FNodeResizeFinalizeExecution | typeof FNodeResizePreparationExecution)[];
|
package/f-draggable/f-node-resize/resize-preparation/f-node-resize-preparation.execution.d.ts
CHANGED
|
@@ -2,9 +2,10 @@ import { FNodeResizePreparationRequest } from './f-node-resize-preparation.reque
|
|
|
2
2
|
import { IExecution } from '@foblex/mediator';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class FNodeResizePreparationExecution implements IExecution<FNodeResizePreparationRequest, void> {
|
|
5
|
-
private _fMediator;
|
|
6
|
-
private _fComponentsStore;
|
|
7
|
-
private _fDraggableDataContext;
|
|
5
|
+
private readonly _fMediator;
|
|
6
|
+
private readonly _fComponentsStore;
|
|
7
|
+
private readonly _fDraggableDataContext;
|
|
8
|
+
private readonly _injector;
|
|
8
9
|
private get _transform();
|
|
9
10
|
private get _fHost();
|
|
10
11
|
private _fNode;
|
|
@@ -2,6 +2,7 @@ import { IPoint } from '@foblex/2d';
|
|
|
2
2
|
import { IFDragHandler } from '../f-drag-handler';
|
|
3
3
|
import { FNodeBase } from '../../f-node';
|
|
4
4
|
import { BaseConnectionDragHandler } from '../f-node-move';
|
|
5
|
+
import { Injector } from '@angular/core';
|
|
5
6
|
export declare class FNodeRotateDragHandler implements IFDragHandler {
|
|
6
7
|
private _fNode;
|
|
7
8
|
private _fSourceHandlers;
|
|
@@ -16,7 +17,7 @@ export declare class FNodeRotateDragHandler implements IFDragHandler {
|
|
|
16
17
|
private _onDownPoint;
|
|
17
18
|
private _fNodeRect;
|
|
18
19
|
private get _transform();
|
|
19
|
-
constructor(_fNode: FNodeBase, _fSourceHandlers: {
|
|
20
|
+
constructor(_injector: Injector, _fNode: FNodeBase, _fSourceHandlers: {
|
|
20
21
|
connection: BaseConnectionDragHandler;
|
|
21
22
|
connector: IPoint;
|
|
22
23
|
}[], _fTargetHandlers: {
|
package/f-draggable/f-node-rotate/rotate-preparation/f-node-rotate-preparation.execution.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export declare class FNodeRotatePreparationExecution implements IExecution<FNode
|
|
|
5
5
|
private readonly _fMediator;
|
|
6
6
|
private readonly _fComponentsStore;
|
|
7
7
|
private readonly _fDraggableDataContext;
|
|
8
|
+
private readonly _injector;
|
|
8
9
|
private get _transform();
|
|
9
10
|
private get _fHost();
|
|
10
11
|
private _fNode;
|
package/f-draggable/index.d.ts
CHANGED
|
@@ -10,7 +10,6 @@ export * from './f-single-select';
|
|
|
10
10
|
export * from './f-draggable.directive';
|
|
11
11
|
export * from './f-draggable-base';
|
|
12
12
|
export * from './f-draggable-data-context';
|
|
13
|
-
export * from './f-injector';
|
|
14
13
|
export * from './f-selection-change-event';
|
|
15
14
|
export * from './i-f-drag-and-drop-plugin';
|
|
16
15
|
export * from './providers';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const F_DRAGGABLE_PROVIDERS: (typeof import("
|
|
1
|
+
export declare const F_DRAGGABLE_PROVIDERS: (typeof import("../f-external-item").FExternalItemPreparationExecution | typeof import("../f-external-item").FExternalItemFinalizeExecution | typeof import("./f-drop-to-group").FNodeDropToGroupPreparationExecution | typeof import("./domain").GetNormalizedParentNodeRectExecution | typeof import("./domain").IsArrayHasParentNodeExecution | typeof import("./domain").IsConnectionUnderNodeExecution | typeof import("./f-canvas").FCanvasMoveFinalizeExecution | typeof import("./f-canvas").FCanvasMovePreparationExecution | typeof import("./f-connection").GetFirstConnectableOutputExecution | typeof import("./f-connection").FCreateConnectionFinalizeExecution | typeof import("./f-connection").FCreateConnectionDragHandlerPreparationExecution | typeof import("./f-connection").FCreateConnectionFromOutletPreparationExecution | typeof import("./f-connection").FCreateConnectionFromOutputPreparationExecution | typeof import("../f-external-item").FExternalItemCreatePlaceholderExecution | typeof import("../f-external-item").FExternalItemCreatePreviewExecution | typeof import("../f-external-item").PreventDefaultIsExternalItemExecution | typeof import("./f-node-move").CalculateCommonNodeMoveLimitsExecution | typeof import("./f-node-move").PutInputConnectionHandlersToArrayExecution | typeof import("./f-node-move").PutOutputConnectionHandlersToArrayExecution | typeof import("./f-node-move").CalculateNodeMoveLimitsExecution | typeof import("./f-node-move").CreateMoveNodesDragModelFromSelectionExecution | typeof import("./f-node-move").LineAlignmentPreparationExecution | typeof import("./f-node-move").FNodeMovePreparationExecution | typeof import("./f-node-move").FNodeMoveFinalizeExecution | typeof import("./f-drop-to-group").FNodeDropToGroupFinalizeExecution | typeof import("./f-connection").FReassignConnectionFinalizeExecution | typeof import("./f-connection").FReassignConnectionPreparationExecution | typeof import("./f-connection").FCreateConnectionPreparationExecution | typeof import("./f-node-resize").GetNormalizedChildrenNodesRectExecution | typeof import("./f-node-resize").GetNodeResizeRestrictionsExecution | typeof import("./f-node-resize").ApplyChildResizeRestrictionsExecution | typeof import("./f-node-resize").ApplyParentResizeRestrictionsExecution | typeof import("./f-node-resize").CalculateChangedPositionExecution | typeof import("./f-node-resize").CalculateChangedSizeExecution | typeof import("./f-node-resize").FNodeResizeFinalizeExecution | typeof import("./f-node-resize").FNodeResizePreparationExecution | typeof import("./f-node-rotate").FNodeRotateFinalizeExecution | typeof import("./f-node-rotate").FNodeRotatePreparationExecution | typeof import("./f-single-select").FSingleSelectExecution | typeof import("@foblex/flow").CalculateFlowPointFromMinimapPointExecution | typeof import("@foblex/flow").MinimapDragPreparationExecution | typeof import("@foblex/flow").MinimapDragFinalizeExecution | typeof import("@foblex/flow").MinimapDrawNodesExecution | typeof import("@foblex/flow").MinimapCalculateViewBoxExecution | typeof import("@foblex/flow").MinimapCalculateSvgScaleAndViewBoxExecution | typeof import("../f-selection-area").SelectionAreaFinalizeExecution | typeof import("../f-selection-area").SelectionAreaPreparationExecution)[];
|
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
import { IPoint } from '@foblex/2d';
|
|
2
2
|
import { FExternalItemBase } from '../../f-external-item';
|
|
3
3
|
import { IFDragHandler } from '../../f-draggable';
|
|
4
|
+
import { Injector } from '@angular/core';
|
|
4
5
|
export declare class FExternalItemDragHandler implements IFDragHandler {
|
|
5
6
|
private _fExternalItem;
|
|
6
7
|
fEventType: string;
|
|
7
8
|
fData: any;
|
|
8
|
-
private _fResult;
|
|
9
|
-
private _fMediator;
|
|
10
|
-
private _fBrowser;
|
|
9
|
+
private readonly _fResult;
|
|
10
|
+
private readonly _fMediator;
|
|
11
|
+
private readonly _fBrowser;
|
|
11
12
|
private _preview;
|
|
12
13
|
private _placeholder;
|
|
13
14
|
private _onPointerDownRect;
|
|
14
15
|
private get _fItemHost();
|
|
15
|
-
|
|
16
|
+
private get _body();
|
|
17
|
+
constructor(_injector: Injector, _fExternalItem: FExternalItemBase);
|
|
16
18
|
prepareDragSequence(): void;
|
|
17
19
|
private _createAndAppendPreview;
|
|
18
20
|
private _createAndAppendPlaceholder;
|
|
@@ -5,6 +5,7 @@ export declare class FExternalItemPreparationExecution implements IExecution<FEx
|
|
|
5
5
|
private readonly _fExternalItemService;
|
|
6
6
|
private readonly _fDraggableDataContext;
|
|
7
7
|
private readonly _fComponentsStore;
|
|
8
|
+
private readonly _injector;
|
|
8
9
|
private get _fHost();
|
|
9
10
|
handle(request: FExternalItemPreparationRequest): void;
|
|
10
11
|
private _isValid;
|
|
@@ -3,4 +3,4 @@ import { FExternalItemFinalizeExecution } from './finalize';
|
|
|
3
3
|
import { PreventDefaultIsExternalItemExecution } from './prevent-default-is-external-item';
|
|
4
4
|
import { FExternalItemCreatePreviewExecution } from './create-preview';
|
|
5
5
|
import { FExternalItemCreatePlaceholderExecution } from './create-placeholder';
|
|
6
|
-
export declare const F_EXTERNAL_ITEM_DRAG_AND_DROP_PROVIDERS: (typeof
|
|
6
|
+
export declare const F_EXTERNAL_ITEM_DRAG_AND_DROP_PROVIDERS: (typeof FExternalItemPreparationExecution | typeof FExternalItemFinalizeExecution | typeof FExternalItemCreatePlaceholderExecution | typeof FExternalItemCreatePreviewExecution | typeof PreventDefaultIsExternalItemExecution)[];
|
|
@@ -2,8 +2,8 @@ import { MinimapDrawNodesRequest } from './minimap-draw-nodes.request';
|
|
|
2
2
|
import { IExecution } from '@foblex/mediator';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class MinimapDrawNodesExecution implements IExecution<MinimapDrawNodesRequest, SVGRectElement[]> {
|
|
5
|
-
private _fBrowser;
|
|
6
|
-
private _fComponentStore;
|
|
5
|
+
private readonly _fBrowser;
|
|
6
|
+
private readonly _fComponentStore;
|
|
7
7
|
private get _fFlow();
|
|
8
8
|
private get _fNodes();
|
|
9
9
|
private get _fCanvas();
|
|
@@ -13,6 +13,7 @@ export declare class MinimapDrawNodesExecution implements IExecution<MinimapDraw
|
|
|
13
13
|
private _getNodeRect;
|
|
14
14
|
private _getNodeRectInFlow;
|
|
15
15
|
private _applyClassList;
|
|
16
|
+
private _getClassList;
|
|
16
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<MinimapDrawNodesExecution, never>;
|
|
17
18
|
static ɵprov: i0.ɵɵInjectableDeclaration<MinimapDrawNodesExecution>;
|
|
18
19
|
}
|
|
@@ -2,4 +2,4 @@ import { CalculateFlowPointFromMinimapPointExecution } from './calculate-flow-po
|
|
|
2
2
|
import { MinimapDrawNodesExecution } from './minimap-draw-nodes';
|
|
3
3
|
import { MinimapCalculateViewBoxExecution } from './minimap-calculate-view-box';
|
|
4
4
|
import { MinimapCalculateSvgScaleAndViewBoxExecution } from './minimap-calculate-svg-scale-and-view-box';
|
|
5
|
-
export declare const F_MINIMAP_DRAG_AND_DROP_PROVIDERS: (typeof CalculateFlowPointFromMinimapPointExecution | typeof import("./minimap-drag-
|
|
5
|
+
export declare const F_MINIMAP_DRAG_AND_DROP_PROVIDERS: (typeof CalculateFlowPointFromMinimapPointExecution | typeof import("./minimap-drag-preparation").MinimapDragPreparationExecution | typeof import("./minimap-drag-finalize").MinimapDragFinalizeExecution | typeof MinimapDrawNodesExecution | typeof MinimapCalculateViewBoxExecution | typeof MinimapCalculateSvgScaleAndViewBoxExecution)[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class FMinimapCanvasDirective {
|
|
3
|
-
private _fMediator;
|
|
4
|
-
private _elementReference;
|
|
3
|
+
private readonly _fMediator;
|
|
4
|
+
private readonly _elementReference;
|
|
5
5
|
get hostElement(): SVGGElement;
|
|
6
6
|
redraw(): void;
|
|
7
7
|
private _clearCanvas;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class FMinimapViewDirective {
|
|
3
|
-
private _fMediator;
|
|
4
|
-
private _elementReference;
|
|
3
|
+
private readonly _fMediator;
|
|
4
|
+
private readonly _elementReference;
|
|
5
5
|
get hostElement(): SVGGElement;
|
|
6
6
|
redraw(): void;
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<FMinimapViewDirective, never>;
|
package/f-minimap/providers.d.ts
CHANGED
|
@@ -2,4 +2,4 @@ import { FMinimapComponent } from './f-minimap.component';
|
|
|
2
2
|
import { FMinimapViewDirective } from './f-minimap-view.directive';
|
|
3
3
|
import { FMinimapFlowDirective } from './f-minimap-flow.directive';
|
|
4
4
|
import { FMinimapCanvasDirective } from './f-minimap-canvas.directive';
|
|
5
|
-
export declare const F_MINIMAP_PROVIDERS: (typeof
|
|
5
|
+
export declare const F_MINIMAP_PROVIDERS: (typeof FMinimapFlowDirective | typeof FMinimapCanvasDirective | typeof FMinimapViewDirective | typeof FMinimapComponent)[];
|
|
@@ -7,6 +7,8 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
export declare class FGroupDirective 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 FGroupDirective extends FNodeBase implements OnInit, AfterV
|
|
|
22
24
|
fSelectionDisabled: boolean;
|
|
23
25
|
fIncludePadding: boolean;
|
|
24
26
|
fConnectOnNode: boolean;
|
|
25
|
-
|
|
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 FGroupDirective extends FNodeBase implements OnInit, AfterV
|
|
|
33
34
|
refresh(): void;
|
|
34
35
|
ngOnDestroy(): void;
|
|
35
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<FGroupDirective, never>;
|
|
36
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FGroupDirective, "[fGroup]", ["fComponent"], { "fId": { "alias": "fGroupId"; "required": false; }; "fParentId": { "alias": "fGroupParentId"; "required": false; }; "position": { "alias": "fGroupPosition"; "required": false; }; "rotate": { "alias": "fGroupRotate"; "required": false; }; "size": { "alias": "fGroupSize"; "required": false; }; "fDraggingDisabled": { "alias": "fGroupDraggingDisabled"; "required": false; }; "fSelectionDisabled": { "alias": "fGroupSelectionDisabled"; "required": false; }; "fIncludePadding": { "alias": "fIncludePadding"; "required": false; }; "fConnectOnNode": { "alias": "fConnectOnNode"; "required": false; }; }, { "positionChange": "fGroupPositionChange"; "rotateChange": "fGroupRotateChange"; "sizeChange": "fGroupSizeChange"; }, never, never, false, never>;
|
|
37
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FGroupDirective, "[fGroup]", ["fComponent"], { "fId": { "alias": "fGroupId"; "required": false; }; "fParentId": { "alias": "fGroupParentId"; "required": false; }; "position": { "alias": "fGroupPosition"; "required": false; }; "rotate": { "alias": "fGroupRotate"; "required": false; }; "size": { "alias": "fGroupSize"; "required": false; }; "fDraggingDisabled": { "alias": "fGroupDraggingDisabled"; "required": false; }; "fSelectionDisabled": { "alias": "fGroupSelectionDisabled"; "required": false; }; "fIncludePadding": { "alias": "fIncludePadding"; "required": false; }; "fConnectOnNode": { "alias": "fConnectOnNode"; "required": false; }; "fMinimapClass": { "alias": "fMinimapClass"; "required": false; }; }, { "positionChange": "fGroupPositionChange"; "rotateChange": "fGroupRotateChange"; "sizeChange": "fGroupSizeChange"; }, never, never, false, never>;
|
|
37
38
|
static ngAcceptInputType_fDraggingDisabled: unknown;
|
|
38
39
|
static ngAcceptInputType_fSelectionDisabled: unknown;
|
|
39
40
|
static ngAcceptInputType_fIncludePadding: unknown;
|
package/f-node/f-node-base.d.ts
CHANGED
|
@@ -23,6 +23,7 @@ export declare abstract class FNodeBase extends MIXIN_BASE implements ISelectabl
|
|
|
23
23
|
abstract sizeChange: EventEmitter<IRect>;
|
|
24
24
|
abstract size: ISize;
|
|
25
25
|
protected _size: ISize | undefined;
|
|
26
|
+
abstract fMinimapClass: string[] | string;
|
|
26
27
|
abstract fDraggingDisabled: boolean;
|
|
27
28
|
abstract fSelectionDisabled: boolean;
|
|
28
29
|
abstract fConnectOnNode: boolean;
|
|
@@ -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
|
-
|
|
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;
|
package/f-node/providers.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { FNodeDirective } from './f-node.directive';
|
|
2
2
|
import { FGroupDirective } from './f-group.directive';
|
|
3
|
-
import {
|
|
4
|
-
export declare const F_NODE_PROVIDERS: (typeof
|
|
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
|
|
3
|
+
export declare const F_SELECTION_AREA_DRAG_AND_DROP_PROVIDERS: (typeof SelectionAreaFinalizeExecution | typeof SelectionAreaPreparationExecution)[];
|
package/f-storage/providers.d.ts
CHANGED
|
@@ -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
|
|
7
|
+
export declare const F_STORAGE_PROVIDERS: (typeof FComponentsStore | typeof NotifyDataChangedExecution | typeof ListenDataChangesExecution | typeof ListenCountChangesExecution | typeof ListenTransformChangesExecution | typeof NotifyTransformChangedExecution)[];
|