@foblex/flow 17.1.0 → 17.1.1
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/css-cls.d.ts +13 -0
- package/domain/f-background/providers.d.ts +1 -1
- package/domain/f-canvas/providers.d.ts +1 -1
- package/domain/f-connection/index.d.ts +0 -3
- package/domain/f-connection/providers.d.ts +1 -4
- package/domain/f-connection/redraw-connections/redraw-connections.execution.d.ts +2 -2
- package/domain/f-connectors/calculate-closest-input/calculate-closest-input.execution.d.ts +11 -0
- package/domain/f-connectors/calculate-closest-input/calculate-closest-input.request.d.ts +7 -0
- package/domain/f-connectors/calculate-closest-input/index.d.ts +2 -0
- package/domain/f-connectors/find-input-at-position/find-input-at-position.execution.d.ts +24 -0
- package/domain/f-connectors/find-input-at-position/find-input-at-position.request.d.ts +8 -0
- package/domain/f-connectors/find-input-at-position/index.d.ts +2 -0
- package/domain/f-connectors/get-all-can-be-connected-inputs-and-rects/get-all-can-be-connected-inputs-and-rects.execution.d.ts +14 -0
- package/domain/f-connectors/get-all-can-be-connected-inputs-and-rects/get-all-can-be-connected-inputs-and-rects.request.d.ts +5 -0
- package/domain/f-connectors/get-all-can-be-connected-inputs-and-rects/index.d.ts +2 -0
- package/domain/f-connectors/get-connector-and-rect/get-connector-and-rect-request.d.ts +5 -0
- package/domain/f-connectors/get-connector-and-rect/get-connector-and-rect.execution.d.ts +11 -0
- package/domain/f-connectors/get-connector-and-rect/index.d.ts +2 -0
- package/domain/{f-connection/find-closest-input → f-connectors}/i-closest-input.d.ts +1 -1
- package/domain/{f-connection/get-connector-with-rect/i-connector-with-rect.d.ts → f-connectors/i-connector-and-rect.d.ts} +2 -2
- package/domain/f-connectors/index.d.ts +8 -0
- package/domain/f-connectors/mark-all-can-be-connected-inputs/index.d.ts +2 -0
- package/domain/f-connectors/mark-all-can-be-connected-inputs/mark-all-can-be-connected-inputs.execution.d.ts +10 -0
- package/domain/f-connectors/mark-all-can-be-connected-inputs/mark-all-can-be-connected-inputs.request.d.ts +5 -0
- package/domain/f-connectors/providers.d.ts +7 -1
- package/domain/f-connectors/unmark-all-can-be-connected-inputs/index.d.ts +2 -0
- package/domain/f-connectors/unmark-all-can-be-connected-inputs/unmark-all-can-be-connected-inputs.execution.d.ts +10 -0
- package/domain/f-connectors/unmark-all-can-be-connected-inputs/unmark-all-can-be-connected-inputs.request.d.ts +5 -0
- package/domain/f-flow/get-flow-state/providers.d.ts +1 -1
- package/domain/f-flow/providers.d.ts +1 -1
- package/domain/f-node/providers.d.ts +1 -1
- package/domain/f-node/update-node-when-state-or-size-changed/update-node-when-state-or-size-changed.execution.d.ts +2 -0
- package/domain/f-selection/select/select.execution.d.ts +2 -5
- package/domain/f-selection/select-all/select-all.execution.d.ts +2 -5
- package/domain/f-zoom/add-zoom-to-store/add-zoom-to-store-request.d.ts +5 -0
- package/domain/f-zoom/add-zoom-to-store/add-zoom-to-store.execution.d.ts +9 -0
- package/domain/f-zoom/add-zoom-to-store/index.d.ts +2 -0
- package/domain/f-zoom/f-zoom-tag.d.ts +1 -0
- package/domain/f-zoom/index.d.ts +6 -0
- package/domain/f-zoom/providers.d.ts +5 -0
- package/domain/f-zoom/remove-zoom-from-store/index.d.ts +2 -0
- package/domain/f-zoom/remove-zoom-from-store/remove-zoom-from-store-request.d.ts +2 -0
- package/domain/f-zoom/remove-zoom-from-store/remove-zoom-from-store.execution.d.ts +9 -0
- package/domain/f-zoom/reset-zoom/index.d.ts +2 -0
- package/domain/f-zoom/reset-zoom/reset-zoom-request.d.ts +2 -0
- package/domain/f-zoom/reset-zoom/reset-zoom.execution.d.ts +10 -0
- package/domain/f-zoom/set-zoom/index.d.ts +2 -0
- package/domain/f-zoom/set-zoom/set-zoom-request.d.ts +8 -0
- package/domain/f-zoom/set-zoom/set-zoom.execution.d.ts +16 -0
- package/domain/i-f-action-trigger.d.ts +14 -0
- package/domain/index.d.ts +4 -0
- package/domain/log-deprecated.d.ts +1 -0
- package/domain/providers.d.ts +1 -1
- package/esm2022/domain/css-cls.mjs +14 -0
- package/esm2022/domain/f-connection/index.mjs +1 -4
- package/esm2022/domain/f-connection/providers.mjs +1 -7
- package/esm2022/domain/f-connection/redraw-connections/redraw-connections.execution.mjs +9 -9
- package/esm2022/domain/f-connectors/calculate-closest-input/calculate-closest-input.execution.mjs +42 -0
- package/esm2022/domain/f-connectors/calculate-closest-input/calculate-closest-input.request.mjs +9 -0
- package/esm2022/domain/f-connectors/calculate-closest-input/index.mjs +3 -0
- package/esm2022/domain/f-connectors/find-input-at-position/find-input-at-position.execution.mjs +89 -0
- package/esm2022/domain/f-connectors/find-input-at-position/find-input-at-position.request.mjs +11 -0
- package/esm2022/domain/f-connectors/find-input-at-position/index.mjs +3 -0
- package/esm2022/domain/f-connectors/get-all-can-be-connected-inputs-and-rects/get-all-can-be-connected-inputs-and-rects.execution.mjs +45 -0
- package/esm2022/domain/f-connectors/get-all-can-be-connected-inputs-and-rects/get-all-can-be-connected-inputs-and-rects.request.mjs +7 -0
- package/esm2022/domain/f-connectors/get-all-can-be-connected-inputs-and-rects/index.mjs +3 -0
- package/esm2022/domain/f-connectors/get-connector-and-rect/get-connector-and-rect-request.mjs +7 -0
- package/esm2022/domain/f-connectors/get-connector-and-rect/get-connector-and-rect.execution.mjs +28 -0
- package/esm2022/domain/f-connectors/get-connector-and-rect/index.mjs +3 -0
- package/esm2022/domain/f-connectors/i-closest-input.mjs +2 -0
- package/esm2022/domain/f-connectors/i-connector-and-rect.mjs +2 -0
- package/esm2022/domain/f-connectors/index.mjs +9 -1
- package/esm2022/domain/f-connectors/mark-all-can-be-connected-inputs/index.mjs +3 -0
- package/esm2022/domain/f-connectors/mark-all-can-be-connected-inputs/mark-all-can-be-connected-inputs.execution.mjs +27 -0
- package/esm2022/domain/f-connectors/mark-all-can-be-connected-inputs/mark-all-can-be-connected-inputs.request.mjs +7 -0
- package/esm2022/domain/f-connectors/providers.mjs +14 -2
- package/esm2022/domain/f-connectors/unmark-all-can-be-connected-inputs/index.mjs +3 -0
- package/esm2022/domain/f-connectors/unmark-all-can-be-connected-inputs/unmark-all-can-be-connected-inputs.execution.mjs +27 -0
- package/esm2022/domain/f-connectors/unmark-all-can-be-connected-inputs/unmark-all-can-be-connected-inputs.request.mjs +7 -0
- package/esm2022/domain/f-draggable/end-drag-sequence/end-drag-sequence.execution.mjs +3 -2
- package/esm2022/domain/f-draggable/start-drag-sequence/start-drag-sequence.execution.mjs +3 -2
- package/esm2022/domain/f-node/update-node-when-state-or-size-changed/update-node-when-state-or-size-changed.execution.mjs +39 -5
- package/esm2022/domain/f-selection/select/select.execution.mjs +15 -19
- package/esm2022/domain/f-selection/select-all/select-all.execution.mjs +15 -19
- package/esm2022/domain/f-zoom/add-zoom-to-store/add-zoom-to-store-request.mjs +7 -0
- package/esm2022/domain/f-zoom/add-zoom-to-store/add-zoom-to-store.execution.mjs +25 -0
- package/esm2022/domain/f-zoom/add-zoom-to-store/index.mjs +3 -0
- package/esm2022/domain/f-zoom/f-zoom-tag.mjs +2 -0
- package/esm2022/domain/f-zoom/index.mjs +7 -0
- package/esm2022/domain/f-zoom/providers.mjs +11 -0
- package/esm2022/domain/f-zoom/remove-zoom-from-store/index.mjs +3 -0
- package/esm2022/domain/f-zoom/remove-zoom-from-store/remove-zoom-from-store-request.mjs +3 -0
- package/esm2022/domain/f-zoom/remove-zoom-from-store/remove-zoom-from-store.execution.mjs +25 -0
- package/esm2022/domain/f-zoom/reset-zoom/index.mjs +3 -0
- package/esm2022/domain/f-zoom/reset-zoom/reset-zoom-request.mjs +3 -0
- package/esm2022/domain/f-zoom/reset-zoom/reset-zoom.execution.mjs +27 -0
- package/esm2022/domain/f-zoom/set-zoom/index.mjs +3 -0
- package/esm2022/domain/f-zoom/set-zoom/set-zoom-request.mjs +13 -0
- package/esm2022/domain/f-zoom/set-zoom/set-zoom.execution.mjs +50 -0
- package/esm2022/domain/i-f-action-trigger.mjs +11 -0
- package/esm2022/domain/index.mjs +5 -1
- package/esm2022/domain/log-deprecated.mjs +11 -0
- package/esm2022/domain/providers.mjs +3 -1
- package/esm2022/f-canvas/domain/f-canvas-change.event.mjs +1 -1
- package/esm2022/f-canvas/f-canvas-base.mjs +1 -1
- package/esm2022/f-canvas/f-canvas.component.mjs +25 -2
- package/esm2022/f-connection/f-connection/f-connection.component.mjs +7 -5
- package/esm2022/f-connection/f-connection-for-create/f-connection-for-create.component.mjs +7 -5
- package/esm2022/f-connection/f-snap-connection/f-snap-connection.component.mjs +9 -6
- package/esm2022/f-connectors/f-connector-base.mjs +9 -5
- package/esm2022/f-connectors/f-node-input/f-node-input.directive.mjs +23 -23
- package/esm2022/f-connectors/f-node-outlet/f-node-outlet.directive.mjs +16 -17
- package/esm2022/f-connectors/f-node-output/f-node-output.directive.mjs +28 -24
- package/esm2022/f-connectors/index.mjs +1 -2
- package/esm2022/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.execution.mjs +8 -11
- package/esm2022/f-draggable/canvas/canvas-move-finalize/index.mjs +1 -2
- package/esm2022/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.execution.mjs +36 -19
- package/esm2022/f-draggable/canvas/canvas-move-preparation/index.mjs +1 -3
- package/esm2022/f-draggable/canvas/canvas.drag-handler.mjs +8 -8
- package/esm2022/f-draggable/canvas/providers.mjs +5 -5
- package/esm2022/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.execution.mjs +13 -10
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.execution.mjs +2 -2
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.request.mjs +4 -4
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.execution.mjs +3 -3
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.execution.mjs +7 -7
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.execution.mjs +5 -5
- package/esm2022/f-draggable/connections/create-connection/create-connection.drag-handler.mjs +54 -50
- package/esm2022/f-draggable/connections/i-create-reassign-connection-drag-data.mjs +2 -0
- package/esm2022/f-draggable/connections/index.mjs +2 -2
- package/esm2022/f-draggable/connections/providers.mjs +1 -4
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.execution.mjs +9 -5
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.mjs +70 -53
- package/esm2022/f-draggable/i-draggable-item.mjs +1 -1
- package/esm2022/f-draggable/node/connection-base-drag-handler.mjs +4 -4
- package/esm2022/f-node/f-group.directive.mjs +9 -7
- package/esm2022/f-node/f-node.directive.mjs +10 -8
- package/esm2022/f-storage/f-components-store.mjs +2 -1
- package/esm2022/f-zoom/e-f-zoom-action.mjs +6 -0
- package/esm2022/f-zoom/e-f-zoom-direction.mjs +6 -0
- package/esm2022/f-zoom/f-zoom-base.mjs +2 -98
- package/esm2022/f-zoom/f-zoom.directive.mjs +139 -21
- package/esm2022/f-zoom/index.mjs +3 -1
- package/f-backgroud/providers.d.ts +1 -1
- package/f-canvas/f-canvas-base.d.ts +2 -2
- package/f-canvas/f-canvas.component.d.ts +9 -0
- package/f-connection/f-connection/f-connection.component.d.ts +2 -0
- package/f-connection/f-connection-for-create/f-connection-for-create.component.d.ts +2 -0
- package/f-connection/f-snap-connection/f-snap-connection.component.d.ts +3 -0
- package/f-connection/providers.d.ts +1 -1
- package/f-connectors/f-connector-base.d.ts +4 -2
- package/f-connectors/f-node-input/f-node-input.directive.d.ts +6 -6
- package/f-connectors/f-node-outlet/f-node-outlet.directive.d.ts +6 -6
- package/f-connectors/f-node-output/f-node-output.directive.d.ts +8 -7
- package/f-connectors/index.d.ts +0 -1
- package/f-connectors/providers.d.ts +1 -1
- package/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.execution.d.ts +1 -3
- package/f-draggable/canvas/canvas-move-finalize/index.d.ts +0 -1
- package/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.execution.d.ts +7 -6
- package/f-draggable/canvas/canvas-move-preparation/index.d.ts +0 -2
- package/f-draggable/canvas/canvas.drag-handler.d.ts +2 -2
- package/f-draggable/canvas/providers.d.ts +3 -1
- package/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.execution.d.ts +3 -2
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.request.d.ts +3 -3
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.execution.d.ts +2 -2
- package/f-draggable/connections/create-connection/create-connection.drag-handler.d.ts +14 -15
- package/f-draggable/connections/i-create-reassign-connection-drag-data.d.ts +7 -0
- package/f-draggable/connections/index.d.ts +1 -1
- package/f-draggable/connections/providers.d.ts +1 -2
- package/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.execution.d.ts +1 -0
- package/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.d.ts +17 -15
- package/f-draggable/i-draggable-item.d.ts +2 -1
- package/f-draggable/node/connection-base-drag-handler.d.ts +3 -3
- package/f-draggable/node-resize/node-resize-preparation/providers.d.ts +1 -1
- package/f-draggable/node-resize/providers.d.ts +1 -1
- package/f-draggable/providers.d.ts +1 -1
- package/f-minimap/providers.d.ts +1 -1
- package/f-node/f-group.directive.d.ts +4 -0
- package/f-node/f-node.directive.d.ts +4 -0
- package/f-node/providers.d.ts +1 -1
- package/f-storage/f-components-store.d.ts +2 -0
- package/f-storage/providers.d.ts +1 -1
- package/f-zoom/e-f-zoom-action.d.ts +4 -0
- package/f-zoom/e-f-zoom-direction.d.ts +4 -0
- package/f-zoom/f-zoom-base.d.ts +0 -17
- package/f-zoom/f-zoom.directive.d.ts +40 -5
- package/f-zoom/index.d.ts +2 -0
- package/fesm2022/foblex-flow.mjs +1152 -915
- package/fesm2022/foblex-flow.mjs.map +1 -1
- package/package.json +1 -1
- package/domain/f-connection/find-closest-input/find-closest-input.execution.d.ts +0 -11
- package/domain/f-connection/find-closest-input/find-closest-input.request.d.ts +0 -7
- package/domain/f-connection/find-closest-input/index.d.ts +0 -3
- package/domain/f-connection/get-all-can-be-connected-input-positions/get-all-can-be-connected-input-positions.execution.d.ts +0 -21
- package/domain/f-connection/get-all-can-be-connected-input-positions/get-all-can-be-connected-input-positions.request.d.ts +0 -4
- package/domain/f-connection/get-all-can-be-connected-input-positions/index.d.ts +0 -2
- package/domain/f-connection/get-connector-with-rect/get-connector-with-rect-request.d.ts +0 -5
- package/domain/f-connection/get-connector-with-rect/get-connector-with-rect.execution.d.ts +0 -10
- package/domain/f-connection/get-connector-with-rect/index.d.ts +0 -3
- package/esm2022/domain/f-connection/find-closest-input/find-closest-input.execution.mjs +0 -42
- package/esm2022/domain/f-connection/find-closest-input/find-closest-input.request.mjs +0 -9
- package/esm2022/domain/f-connection/find-closest-input/i-closest-input.mjs +0 -2
- package/esm2022/domain/f-connection/find-closest-input/index.mjs +0 -4
- package/esm2022/domain/f-connection/get-all-can-be-connected-input-positions/get-all-can-be-connected-input-positions.execution.mjs +0 -57
- package/esm2022/domain/f-connection/get-all-can-be-connected-input-positions/get-all-can-be-connected-input-positions.request.mjs +0 -7
- package/esm2022/domain/f-connection/get-all-can-be-connected-input-positions/index.mjs +0 -3
- package/esm2022/domain/f-connection/get-connector-with-rect/get-connector-with-rect-request.mjs +0 -7
- package/esm2022/domain/f-connection/get-connector-with-rect/get-connector-with-rect.execution.mjs +0 -25
- package/esm2022/domain/f-connection/get-connector-with-rect/i-connector-with-rect.mjs +0 -2
- package/esm2022/domain/f-connection/get-connector-with-rect/index.mjs +0 -4
- package/esm2022/f-connectors/domain/calculate-connector-connectable-side/calculate-connector-connectable-side-request.mjs +0 -9
- package/esm2022/f-connectors/domain/calculate-connector-connectable-side/calculate-connector-connectable-side.handler.mjs +0 -38
- package/esm2022/f-connectors/domain/calculate-connector-connectable-side/index.mjs +0 -3
- package/esm2022/f-connectors/domain/index.mjs +0 -2
- package/esm2022/f-draggable/canvas/canvas-move-finalize/providers.mjs +0 -5
- package/esm2022/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.validator.mjs +0 -46
- package/esm2022/f-draggable/canvas/canvas-move-preparation/providers.mjs +0 -7
- package/esm2022/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.execution.mjs +0 -88
- package/esm2022/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.request.mjs +0 -9
- package/esm2022/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.validator.mjs +0 -36
- package/esm2022/f-draggable/connections/get-input-under-pointer/index.mjs +0 -4
- package/f-connectors/domain/calculate-connector-connectable-side/calculate-connector-connectable-side-request.d.ts +0 -6
- package/f-connectors/domain/calculate-connector-connectable-side/calculate-connector-connectable-side.handler.d.ts +0 -7
- package/f-connectors/domain/calculate-connector-connectable-side/index.d.ts +0 -2
- package/f-connectors/domain/index.d.ts +0 -1
- package/f-draggable/canvas/canvas-move-finalize/providers.d.ts +0 -2
- package/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.validator.d.ts +0 -17
- package/f-draggable/canvas/canvas-move-preparation/providers.d.ts +0 -3
- package/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.execution.d.ts +0 -27
- package/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.request.d.ts +0 -8
- package/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.validator.d.ts +0 -13
- package/f-draggable/connections/get-input-under-pointer/index.d.ts +0 -3
|
@@ -2,9 +2,9 @@ import { IPoint } from '@foblex/2d';
|
|
|
2
2
|
import { IDraggableItem } from '../i-draggable-item';
|
|
3
3
|
import { FComponentsStore } from '../../f-storage';
|
|
4
4
|
export declare class CanvasDragHandler implements IDraggableItem {
|
|
5
|
-
private
|
|
5
|
+
private _fComponentsStore;
|
|
6
6
|
private onPointerDownPosition;
|
|
7
|
-
constructor(
|
|
7
|
+
constructor(_fComponentsStore: FComponentsStore);
|
|
8
8
|
prepareDragSequence(): void;
|
|
9
9
|
onPointerMove(difference: IPoint): void;
|
|
10
10
|
onPointerUp(): void;
|
|
@@ -1 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import { CanvasMovePreparationExecution } from './canvas-move-preparation';
|
|
2
|
+
import { CanvasMoveFinalizeExecution } from './canvas-move-finalize';
|
|
3
|
+
export declare const CANVAS_PROVIDERS: (typeof CanvasMoveFinalizeExecution | typeof CanvasMovePreparationExecution)[];
|
|
@@ -8,7 +8,7 @@ export declare class CreateConnectionFinalizeExecution implements IHandler<Creat
|
|
|
8
8
|
private fComponentsStore;
|
|
9
9
|
private fDraggableDataContext;
|
|
10
10
|
private fMediator;
|
|
11
|
-
private get
|
|
11
|
+
private get _fDragHandler();
|
|
12
12
|
constructor(fComponentsStore: FComponentsStore, fDraggableDataContext: FDraggableDataContext, fMediator: FMediator);
|
|
13
13
|
handle(request: CreateConnectionFinalizeRequest): void;
|
|
14
14
|
private _isValid;
|
|
@@ -16,7 +16,8 @@ export declare class CreateConnectionFinalizeExecution implements IHandler<Creat
|
|
|
16
16
|
private getOutput;
|
|
17
17
|
private getOutlet;
|
|
18
18
|
private emitEvent;
|
|
19
|
-
private
|
|
19
|
+
private _getInputUnderPointer;
|
|
20
|
+
private _getDragHandlerData;
|
|
20
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<CreateConnectionFinalizeExecution, never>;
|
|
21
22
|
static ɵprov: i0.ɵɵInjectableDeclaration<CreateConnectionFinalizeExecution>;
|
|
22
23
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IPoint } from '@foblex/2d';
|
|
2
|
-
import {
|
|
2
|
+
import { FNodeOutletDirective, FNodeOutputDirective } from '../../../../../f-connectors';
|
|
3
3
|
export declare class CreateConnectionDragHandlerRequest {
|
|
4
4
|
onPointerDownPosition: IPoint;
|
|
5
|
-
|
|
6
|
-
constructor(onPointerDownPosition: IPoint,
|
|
5
|
+
fOutput: FNodeOutputDirective | FNodeOutletDirective;
|
|
6
|
+
constructor(onPointerDownPosition: IPoint, fOutput: FNodeOutputDirective | FNodeOutletDirective);
|
|
7
7
|
}
|
|
@@ -9,8 +9,8 @@ export declare class CreateConnectionPreparationExecution implements IHandler<Cr
|
|
|
9
9
|
private _isValid;
|
|
10
10
|
private _getNode;
|
|
11
11
|
private _isValidConditions;
|
|
12
|
-
private
|
|
13
|
-
private
|
|
12
|
+
private _isNodeOutput;
|
|
13
|
+
private _getOutlets;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<CreateConnectionPreparationExecution, never>;
|
|
15
15
|
static ɵprov: i0.ɵɵInjectableDeclaration<CreateConnectionPreparationExecution>;
|
|
16
16
|
}
|
|
@@ -1,29 +1,28 @@
|
|
|
1
1
|
import { IDraggableItem } from '../../i-draggable-item';
|
|
2
|
-
import {
|
|
3
|
-
import { FConnectionBase } from '../../../f-connection';
|
|
4
|
-
import { FConnectorBase } from '../../../f-connectors';
|
|
2
|
+
import { FNodeOutletDirective, FNodeOutputDirective } from '../../../f-connectors';
|
|
5
3
|
import { FMediator } from '@foblex/mediator';
|
|
6
4
|
import { IPoint } from '@foblex/2d';
|
|
7
5
|
import { FComponentsStore } from '../../../f-storage';
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
private
|
|
11
|
-
private
|
|
12
|
-
private
|
|
13
|
-
private
|
|
14
|
-
get
|
|
15
|
-
private get
|
|
16
|
-
private
|
|
17
|
-
private
|
|
18
|
-
constructor(
|
|
6
|
+
import { ICreateReassignConnectionDragData } from '../i-create-reassign-connection-drag-data';
|
|
7
|
+
export declare class CreateConnectionDragHandler implements IDraggableItem<ICreateReassignConnectionDragData> {
|
|
8
|
+
private _fMediator;
|
|
9
|
+
private _fComponentsStore;
|
|
10
|
+
private _fOutput;
|
|
11
|
+
private readonly _toConnectorRect;
|
|
12
|
+
private get _fConnection();
|
|
13
|
+
private get _fSnapConnection();
|
|
14
|
+
private _fOutputWithRect;
|
|
15
|
+
private _canBeConnectedInputs;
|
|
16
|
+
constructor(_fMediator: FMediator, _fComponentsStore: FComponentsStore, _fOutput: FNodeOutputDirective | FNodeOutletDirective, _onPointerDownPosition: IPoint);
|
|
19
17
|
prepareDragSequence(): void;
|
|
18
|
+
private _getAndMarkCanBeConnectedInputs;
|
|
20
19
|
private _initializeSnapConnection;
|
|
21
20
|
private _initializeConnectionForCreate;
|
|
22
21
|
onPointerMove(difference: IPoint): void;
|
|
23
22
|
private _drawConnectionForCreate;
|
|
24
23
|
private _drawSnapConnection;
|
|
25
|
-
getClosetInput(difference: IPoint): IClosestInput | undefined;
|
|
26
24
|
private _findClosestInput;
|
|
27
25
|
private _getClosestInputForSnapConnection;
|
|
28
26
|
onPointerUp(): void;
|
|
27
|
+
getData(): ICreateReassignConnectionDragData;
|
|
29
28
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { CreateConnectionDragHandlerExecution, CreateConnectionFinalizeExecution, CreateConnectionFromOutletPreparationExecution, CreateConnectionFromOutputPreparationExecution, CreateConnectionFromOutputPreparationValidator, CreateConnectionPreparationExecution, GetCanBeConnectedOutputByOutletExecution, GetCanBeConnectedOutputByOutletValidator } from './create-connection';
|
|
2
2
|
import { ReassignConnectionFinalizeExecution, ReassignConnectionPreparationExecution } from './reassign-connection';
|
|
3
|
-
|
|
4
|
-
export declare const CONNECTIONS_PROVIDERS: (typeof CreateConnectionPreparationExecution | typeof CreateConnectionDragHandlerExecution | typeof CreateConnectionFinalizeExecution | typeof GetInputUnderPointerExecution | typeof ReassignConnectionPreparationExecution | typeof ReassignConnectionFinalizeExecution | typeof GetInputUnderPointerValidator | typeof CreateConnectionFromOutletPreparationExecution | typeof GetCanBeConnectedOutputByOutletExecution | typeof GetCanBeConnectedOutputByOutletValidator | typeof CreateConnectionFromOutputPreparationExecution | typeof CreateConnectionFromOutputPreparationValidator)[];
|
|
3
|
+
export declare const CONNECTIONS_PROVIDERS: (typeof CreateConnectionFinalizeExecution | typeof CreateConnectionDragHandlerExecution | typeof CreateConnectionFromOutletPreparationExecution | typeof GetCanBeConnectedOutputByOutletExecution | typeof GetCanBeConnectedOutputByOutletValidator | typeof CreateConnectionFromOutputPreparationExecution | typeof CreateConnectionFromOutputPreparationValidator | typeof CreateConnectionPreparationExecution | typeof ReassignConnectionFinalizeExecution | typeof ReassignConnectionPreparationExecution)[];
|
|
@@ -14,6 +14,7 @@ export declare class ReassignConnectionFinalizeExecution implements IExecution<R
|
|
|
14
14
|
private _isReassignToDifferentInput;
|
|
15
15
|
private _emitReassignConnectionEvent;
|
|
16
16
|
private _getEventData;
|
|
17
|
+
private _getDragHandlerData;
|
|
17
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<ReassignConnectionFinalizeExecution, never>;
|
|
18
19
|
static ɵprov: i0.ɵɵInjectableDeclaration<ReassignConnectionFinalizeExecution>;
|
|
19
20
|
}
|
|
@@ -1,30 +1,32 @@
|
|
|
1
1
|
import { IDraggableItem } from '../../i-draggable-item';
|
|
2
|
-
import { IClosestInput } from '../../../domain';
|
|
3
2
|
import { FConnectionBase } from '../../../f-connection';
|
|
4
3
|
import { FMediator } from '@foblex/mediator';
|
|
5
|
-
import { IPoint
|
|
4
|
+
import { IPoint } from '@foblex/2d';
|
|
6
5
|
import { FComponentsStore } from '../../../f-storage';
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
private
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
private
|
|
13
|
-
private
|
|
14
|
-
private
|
|
15
|
-
private
|
|
16
|
-
|
|
6
|
+
import { ICreateReassignConnectionDragData } from '../i-create-reassign-connection-drag-data';
|
|
7
|
+
export declare class ReassignConnectionDragHandler implements IDraggableItem<ICreateReassignConnectionDragData> {
|
|
8
|
+
private _fMediator;
|
|
9
|
+
private _fComponentsStore;
|
|
10
|
+
private _fConnection;
|
|
11
|
+
private readonly _toConnectorRect;
|
|
12
|
+
private get _fSnapConnection();
|
|
13
|
+
private _fOutputWithRect;
|
|
14
|
+
private _fInputWithRect;
|
|
15
|
+
private _canBeConnectedInputs;
|
|
16
|
+
private get _fOutput();
|
|
17
|
+
private get _fInput();
|
|
18
|
+
constructor(_fMediator: FMediator, _fComponentsStore: FComponentsStore, _fConnection: FConnectionBase);
|
|
17
19
|
prepareDragSequence(): void;
|
|
20
|
+
private _getAndMarkCanBeConnectedInputs;
|
|
18
21
|
private _initializeSnapConnection;
|
|
19
|
-
private getOutput;
|
|
20
|
-
private getInput;
|
|
21
22
|
onPointerMove(difference: IPoint): void;
|
|
22
23
|
private _drawConnection;
|
|
23
24
|
private _getLineToPointer;
|
|
24
25
|
private _drawSnapConnection;
|
|
25
26
|
private _getLineToClosestInput;
|
|
26
|
-
getClosetInput(difference: IPoint): IClosestInput | undefined;
|
|
27
27
|
private _findClosestInput;
|
|
28
28
|
private _getClosestInputForSnapConnection;
|
|
29
29
|
onPointerUp(): void;
|
|
30
|
+
getData(): ICreateReassignConnectionDragData;
|
|
31
|
+
getConnection(): FConnectionBase;
|
|
30
32
|
}
|
|
@@ -3,14 +3,14 @@ import { FConnectionBase } from '../../f-connection';
|
|
|
3
3
|
import { FMediator } from '@foblex/mediator';
|
|
4
4
|
import { ILine, IMinMaxPoint, IPoint } from '@foblex/2d';
|
|
5
5
|
import { FComponentsStore } from '../../f-storage';
|
|
6
|
-
import {
|
|
6
|
+
import { IConnectorAndRect } from '../../domain';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare abstract class ConnectionBaseDragHandler implements IDraggableItem {
|
|
9
9
|
protected fMediator: FMediator;
|
|
10
10
|
protected fComponentsStore: FComponentsStore;
|
|
11
11
|
connection: FConnectionBase;
|
|
12
|
-
protected fOutputWithRect:
|
|
13
|
-
protected fInputWithRect:
|
|
12
|
+
protected fOutputWithRect: IConnectorAndRect;
|
|
13
|
+
protected fInputWithRect: IConnectorAndRect;
|
|
14
14
|
protected constructor(fMediator: FMediator, fComponentsStore: FComponentsStore, connection: FConnectionBase);
|
|
15
15
|
prepareDragSequence(): void;
|
|
16
16
|
private getOutput;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { NodeResizePreparationExecution } from './node-resize-preparation.execution';
|
|
2
2
|
import { NodeResizePreparationValidator } from './node-resize-preparation.validator';
|
|
3
|
-
export declare const NODE_RESIZE_PREPARATION_PROVIDERS: (typeof
|
|
3
|
+
export declare const NODE_RESIZE_PREPARATION_PROVIDERS: (typeof NodeResizePreparationExecution | typeof NodeResizePreparationValidator)[];
|
|
@@ -4,4 +4,4 @@ import { ApplyParentResizeRestrictionsExecution } from './apply-parent-resize-re
|
|
|
4
4
|
import { CalculateChangedSizeExecution } from './calculate-changed-size';
|
|
5
5
|
import { CalculateChangedPositionExecution } from './calculate-changed-position';
|
|
6
6
|
import { GetNormalizedChildrenNodesRectExecution } from './get-normalized-children-nodes-rect';
|
|
7
|
-
export declare const NODE_RESIZE_PROVIDERS: (typeof import("./node-resize-
|
|
7
|
+
export declare const NODE_RESIZE_PROVIDERS: (typeof ApplyChildResizeRestrictionsExecution | typeof ApplyParentResizeRestrictionsExecution | typeof CalculateChangedPositionExecution | typeof CalculateChangedSizeExecution | typeof GetNormalizedChildrenNodesRectExecution | typeof GetNodeResizeRestrictionsExecution | typeof import("./node-resize-finalize").NodeResizeFinalizeExecution | typeof import("./node-resize-preparation").NodeResizePreparationExecution | typeof import("./node-resize-preparation").NodeResizePreparationValidator)[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const F_DRAGGABLE_PROVIDERS: (typeof import("./
|
|
1
|
+
export declare const F_DRAGGABLE_PROVIDERS: (typeof import("./canvas").CanvasMoveFinalizeExecution | typeof import("./canvas").CanvasMovePreparationExecution | typeof import("./connections").CreateConnectionFinalizeExecution | typeof import("./connections").CreateConnectionDragHandlerExecution | typeof import("./connections").CreateConnectionFromOutletPreparationExecution | typeof import("./connections").GetCanBeConnectedOutputByOutletExecution | typeof import("./connections").GetCanBeConnectedOutputByOutletValidator | typeof import("./connections").CreateConnectionFromOutputPreparationExecution | typeof import("./connections").CreateConnectionFromOutputPreparationValidator | typeof import("./connections").CreateConnectionPreparationExecution | typeof import("./connections").ReassignConnectionFinalizeExecution | typeof import("./connections").ReassignConnectionPreparationExecution | typeof import("./domain").GetNormalizedParentNodeRectExecution | typeof import("./domain").IsArrayHasParentNodeExecution | typeof import("./domain").IsConnectionUnderNodeExecution | typeof import("./single-select").SingleSelectExecution | typeof import("../f-external-item").ExternalItemFinalizeExecution | typeof import("../f-external-item").ExternalItemPreparationExecution | typeof import("../f-external-item").ExternalItemPreparationValidator | typeof import("../f-external-item").PreventDefaultIsExternalItemExecution | typeof import("./node").CalculateCommonNodeMoveRestrictionsExecution | typeof import("./node").CalculateNodeMoveRestrictionsExecution | typeof import("./node").PutInputConnectionHandlersToArrayExecution | typeof import("./node").PutOutputConnectionHandlersToArrayExecution | typeof import("./node").CreateMoveNodesDragModelFromSelectionExecution | typeof import("./node").LineAlignmentPreparationExecution | typeof import("./node").NodeMoveFinalizeExecution | typeof import("./node").NodeMovePreparationExecution | typeof import("./node").NodeDragToParentPreparationExecution | typeof import("./node").NodeDragToParentPreparationValidator | typeof import("./node").NodeDragToParentFinalizeExecution | typeof import("./node-resize").ApplyChildResizeRestrictionsExecution | typeof import("./node-resize").ApplyParentResizeRestrictionsExecution | typeof import("./node-resize").CalculateChangedPositionExecution | typeof import("./node-resize").CalculateChangedSizeExecution | typeof import("./node-resize").GetNormalizedChildrenNodesRectExecution | typeof import("./node-resize").GetNodeResizeRestrictionsExecution | typeof import("./node-resize").NodeResizeFinalizeExecution | typeof import("./node-resize").NodeResizePreparationExecution | typeof import("./node-resize").NodeResizePreparationValidator | typeof import("../f-selection-area").SelectionAreaFinalizeExecution | typeof import("../f-selection-area").SelectionAreaFinalizeValidator | typeof import("../f-selection-area").SelectionAreaPreparationExecution | typeof import("../f-selection-area").SelectionAreaPreparationValidator | typeof import("@foblex/flow").CalculateFlowPointFromMinimapPointExecution | typeof import("@foblex/flow").MinimapDragFinalizeExecution | typeof import("@foblex/flow").MinimapDragFinalizeValidator | typeof import("@foblex/flow").MinimapDragPreparationExecution | typeof import("@foblex/flow").MinimapDragPreparationValidator | typeof import("@foblex/flow").MinimapDrawNodesExecution | typeof import("@foblex/flow").MinimapCalculateSvgScaleAndViewBoxExecution | typeof import("@foblex/flow").MinimapCalculateViewBoxExecution)[];
|
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 FMinimapComponent | typeof FMinimapCanvasDirective | typeof FMinimapViewDirective | typeof FMinimapFlowDirective)[];
|
|
@@ -31,4 +31,8 @@ export declare class FGroupDirective extends FNodeBase implements OnInit, AfterV
|
|
|
31
31
|
ngOnDestroy(): void;
|
|
32
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<FGroupDirective, never>;
|
|
33
33
|
static ɵdir: i0.ɵɵDirectiveDeclaration<FGroupDirective, "[fGroup]", ["fComponent"], { "fId": { "alias": "fGroupId"; "required": false; }; "fParentId": { "alias": "fGroupParentId"; "required": false; }; "position": { "alias": "fGroupPosition"; "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"; "sizeChange": "fGroupSizeChange"; }, never, never, false, never>;
|
|
34
|
+
static ngAcceptInputType_fDraggingDisabled: unknown;
|
|
35
|
+
static ngAcceptInputType_fSelectionDisabled: unknown;
|
|
36
|
+
static ngAcceptInputType_fIncludePadding: unknown;
|
|
37
|
+
static ngAcceptInputType_fConnectOnNode: unknown;
|
|
34
38
|
}
|
|
@@ -31,4 +31,8 @@ export declare class FNodeDirective extends FNodeBase implements OnInit, AfterVi
|
|
|
31
31
|
ngOnDestroy(): void;
|
|
32
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<FNodeDirective, never>;
|
|
33
33
|
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; }; "fDraggingDisabled": { "alias": "fNodeDraggingDisabled"; "required": false; }; "fSelectionDisabled": { "alias": "fNodeSelectionDisabled"; "required": false; }; "fIncludePadding": { "alias": "fIncludePadding"; "required": false; }; "fConnectOnNode": { "alias": "fConnectOnNode"; "required": false; }; }, { "positionChange": "fNodePositionChange"; "sizeChange": "fNodeSizeChange"; }, never, never, false, never>;
|
|
34
|
+
static ngAcceptInputType_fDraggingDisabled: unknown;
|
|
35
|
+
static ngAcceptInputType_fSelectionDisabled: unknown;
|
|
36
|
+
static ngAcceptInputType_fIncludePadding: unknown;
|
|
37
|
+
static ngAcceptInputType_fConnectOnNode: unknown;
|
|
34
38
|
}
|
package/f-node/providers.d.ts
CHANGED
|
@@ -2,4 +2,4 @@ import { FNodeDirective } from './f-node.directive';
|
|
|
2
2
|
import { FResizeHandleDirective } from './f-resize-handle';
|
|
3
3
|
import { FGroupDirective } from './f-group.directive';
|
|
4
4
|
import { FDragHandleDirective } from './f-drag-handle.directive';
|
|
5
|
-
export declare const F_NODE_PROVIDERS: (typeof
|
|
5
|
+
export declare const F_NODE_PROVIDERS: (typeof FGroupDirective | typeof FNodeDirective | typeof FDragHandleDirective | typeof FResizeHandleDirective)[];
|
|
@@ -7,12 +7,14 @@ import { FConnectorBase } from '../f-connectors';
|
|
|
7
7
|
import { FDraggableBase } from '../f-draggable';
|
|
8
8
|
import { FChannel } from '../reactivity';
|
|
9
9
|
import { FLineAlignmentBase } from '../f-line-alignment';
|
|
10
|
+
import { IMap } from '../domain';
|
|
10
11
|
import * as i0 from "@angular/core";
|
|
11
12
|
export declare class FComponentsStore {
|
|
12
13
|
readonly transformChanges$: FChannel;
|
|
13
14
|
readonly dataChanges$: FChannel;
|
|
14
15
|
readonly countChanges$: FChannel;
|
|
15
16
|
get flowHost(): HTMLElement;
|
|
17
|
+
fComponents: IMap<any>;
|
|
16
18
|
fFlow: FFlowBase | undefined;
|
|
17
19
|
fCanvas: FCanvasBase | undefined;
|
|
18
20
|
fBackground: FBackgroundBase | undefined;
|
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
|
|
7
|
+
export declare const F_STORAGE_PROVIDERS: (typeof NotifyDataChangedExecution | typeof ListenCountChangesExecution | typeof ListenDataChangesExecution | typeof ListenTransformChangesExecution | typeof NotifyTransformChangedExecution | typeof FComponentsStore)[];
|
package/f-zoom/f-zoom-base.d.ts
CHANGED
|
@@ -1,25 +1,8 @@
|
|
|
1
|
-
import { IPoint } from '@foblex/2d';
|
|
2
1
|
import { InjectionToken } from '@angular/core';
|
|
3
2
|
export declare const F_ZOOM: InjectionToken<FZoomBase>;
|
|
4
3
|
export declare abstract class FZoomBase {
|
|
5
|
-
protected isEnabled: boolean;
|
|
6
4
|
abstract minimum: number;
|
|
7
5
|
abstract maximum: number;
|
|
8
6
|
abstract step: number;
|
|
9
7
|
abstract dblClickStep: number;
|
|
10
|
-
private _listeners;
|
|
11
|
-
private _fMediator;
|
|
12
|
-
private get _fFlowHostElement();
|
|
13
|
-
private get _fCanvas();
|
|
14
|
-
private get _isDragStarted();
|
|
15
|
-
protected toggleZoom(): void;
|
|
16
|
-
private _subscribe;
|
|
17
|
-
getScale(): number;
|
|
18
|
-
private _onWheel;
|
|
19
|
-
private _onDoubleClick;
|
|
20
|
-
private _onZoomToCenter;
|
|
21
|
-
zoomIn(position?: IPoint): void;
|
|
22
|
-
zoomOut(position?: IPoint): void;
|
|
23
|
-
reset(): void;
|
|
24
|
-
protected dispose(): void;
|
|
25
8
|
}
|
|
@@ -1,15 +1,50 @@
|
|
|
1
|
-
import { AfterViewInit, OnDestroy } from "@angular/core";
|
|
1
|
+
import { AfterViewInit, OnChanges, OnDestroy, OnInit, SimpleChanges } from "@angular/core";
|
|
2
2
|
import { FZoomBase } from './f-zoom-base';
|
|
3
|
+
import { IFActionTrigger } from '../domain';
|
|
4
|
+
import { IPoint } from '@foblex/2d';
|
|
5
|
+
import { EFZoomDirection } from './e-f-zoom-direction';
|
|
6
|
+
import { EFZoomAction } from './e-f-zoom-action';
|
|
3
7
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class FZoomDirective extends FZoomBase implements AfterViewInit, OnDestroy {
|
|
5
|
-
|
|
6
|
-
|
|
8
|
+
export declare class FZoomDirective extends FZoomBase implements OnInit, AfterViewInit, OnChanges, OnDestroy {
|
|
9
|
+
private _fMediator;
|
|
10
|
+
private _rendered;
|
|
11
|
+
private _triggersListener;
|
|
12
|
+
private _isEnabled;
|
|
13
|
+
protected set fZoom(isEnabled: boolean);
|
|
14
|
+
fZoomTriggers: IFActionTrigger<EFZoomAction>[];
|
|
7
15
|
minimum: number;
|
|
8
16
|
maximum: number;
|
|
9
17
|
step: number;
|
|
10
18
|
dblClickStep: number;
|
|
19
|
+
private get _fHost();
|
|
20
|
+
private get _fCanvas();
|
|
21
|
+
ngOnInit(): void;
|
|
11
22
|
ngAfterViewInit(): void;
|
|
23
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
24
|
+
private _listenTriggers;
|
|
25
|
+
private _validateTriggers;
|
|
26
|
+
private _getAction;
|
|
27
|
+
private _onWheel;
|
|
28
|
+
private _calculateDirection;
|
|
29
|
+
private _onDoubleClick;
|
|
30
|
+
private _getToCenterPosition;
|
|
31
|
+
zoomIn(position?: IPoint): void;
|
|
32
|
+
zoomOut(position?: IPoint): void;
|
|
33
|
+
private _onZoomToCenter;
|
|
34
|
+
setZoom(position: IPoint, step: number, direction: EFZoomDirection, animated: boolean): void;
|
|
35
|
+
/**
|
|
36
|
+
* @deprecated Method "getScale" is deprecated. Use "getZoomValue" instead. This method will be removed in version 18.0.0.`,
|
|
37
|
+
*/
|
|
38
|
+
getScale(): number;
|
|
39
|
+
getZoomValue(): number;
|
|
40
|
+
reset(): void;
|
|
41
|
+
private _disposeListeners;
|
|
12
42
|
ngOnDestroy(): void;
|
|
13
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<FZoomDirective, never>;
|
|
14
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FZoomDirective, "f-canvas[fZoom]", ["fComponent"], { "
|
|
44
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FZoomDirective, "f-canvas[fZoom]", ["fComponent"], { "fZoom": { "alias": "fZoom"; "required": false; }; "fZoomTriggers": { "alias": "fZoomTriggers"; "required": false; }; "minimum": { "alias": "fZoomMinimum"; "required": false; }; "maximum": { "alias": "fZoomMaximum"; "required": false; }; "step": { "alias": "fZoomStep"; "required": false; }; "dblClickStep": { "alias": "fZoomDblClickStep"; "required": false; }; }, {}, never, never, false, never>;
|
|
45
|
+
static ngAcceptInputType_fZoom: unknown;
|
|
46
|
+
static ngAcceptInputType_minimum: unknown;
|
|
47
|
+
static ngAcceptInputType_maximum: unknown;
|
|
48
|
+
static ngAcceptInputType_step: unknown;
|
|
49
|
+
static ngAcceptInputType_dblClickStep: unknown;
|
|
15
50
|
}
|