@foblex/flow 18.2.1 → 18.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AI.md +69 -0
- package/README.md +40 -3
- package/STYLING.md +35 -0
- package/domain/f-connection/create-connection-markers/create-connection-markers.d.ts +3 -2
- package/domain/f-connection/index.d.ts +1 -0
- package/domain/f-connection/providers.d.ts +2 -1
- package/domain/f-connection/redraw-connections/redraw-connections.d.ts +3 -0
- package/domain/f-connection/resolve-connection-endpoint-rotation-context/index.d.ts +2 -0
- package/domain/f-connection/resolve-connection-endpoint-rotation-context/resolve-connection-endpoint-rotation-context-request.d.ts +8 -0
- package/domain/f-connection/resolve-connection-endpoint-rotation-context/resolve-connection-endpoint-rotation-context.d.ts +10 -0
- package/domain/f-draggable/on-pointer-move/on-pointer-move-request.d.ts +1 -1
- package/domain/f-draggable/on-pointer-move/on-pointer-move.d.ts +1 -0
- package/domain/get-normalized-connector-rect/get-normalized-connector-rect.d.ts +8 -0
- package/domain/providers.d.ts +1 -1
- package/esm2022/domain/f-connection/create-connection-markers/create-connection-markers.mjs +33 -6
- package/esm2022/domain/f-connection/index.mjs +2 -1
- package/esm2022/domain/f-connection/providers.mjs +3 -1
- package/esm2022/domain/f-connection/redraw-connections/redraw-connections.mjs +51 -4
- package/esm2022/domain/f-connection/resolve-connection-endpoint-rotation-context/index.mjs +3 -0
- package/esm2022/domain/f-connection/resolve-connection-endpoint-rotation-context/resolve-connection-endpoint-rotation-context-request.mjs +8 -0
- package/esm2022/domain/f-connection/resolve-connection-endpoint-rotation-context/resolve-connection-endpoint-rotation-context.mjs +35 -0
- package/esm2022/domain/f-draggable/on-pointer-move/on-pointer-move-request.mjs +1 -1
- package/esm2022/domain/f-draggable/on-pointer-move/on-pointer-move.mjs +6 -2
- package/esm2022/domain/get-normalized-connector-rect/get-normalized-connector-rect.mjs +33 -3
- package/esm2022/f-auto-pan/f-auto-pan-base.mjs +11 -0
- package/esm2022/f-auto-pan/f-auto-pan.mjs +38 -0
- package/esm2022/f-auto-pan/index.mjs +4 -0
- package/esm2022/f-auto-pan/providers.mjs +3 -0
- package/esm2022/f-canvas/f-canvas.component.mjs +2 -2
- package/esm2022/f-connection/f-connection/f-connection.component.mjs +6 -6
- package/esm2022/f-connection/f-connection-for-create/f-connection-for-create.component.mjs +6 -7
- package/esm2022/f-connection/f-snap-connection/f-snap-connection.component.mjs +6 -7
- package/esm2022/f-connection/providers.mjs +8 -4
- package/esm2022/f-connection-v2/components/connection-content/f-connection-content.mjs +18 -4
- package/esm2022/f-connection-v2/components/connection-gradient/components/index.mjs +2 -0
- package/esm2022/f-connection-v2/components/connection-gradient/components/render/f-connection-gradient-renderer.mjs +17 -0
- package/esm2022/f-connection-v2/components/connection-gradient/components/render/index.mjs +3 -0
- package/esm2022/f-connection-v2/components/connection-gradient/components/render/models/f-connection-gradient-renderer-base.mjs +81 -0
- package/esm2022/f-connection-v2/components/connection-gradient/components/render/models/index.mjs +2 -0
- package/esm2022/f-connection-v2/components/connection-gradient/f-connection-gradient.mjs +14 -46
- package/esm2022/f-connection-v2/components/connection-gradient/index.mjs +2 -1
- package/esm2022/f-connection-v2/components/connection-gradient/models/f-connection-gradient-base.mjs +2 -3
- package/esm2022/f-connection-v2/components/connection-path/f-connection-path.mjs +11 -7
- package/esm2022/f-connection-v2/components/f-connection-base.mjs +13 -9
- package/esm2022/f-connection-v2/models/f-connection-components-parent.mjs +1 -1
- package/esm2022/f-connection-v2/utils/connection-behaviour/connection-behaviour-builder-request.mjs +6 -2
- package/esm2022/f-connection-v2/utils/connection-behaviour/connection-behaviour-builder.mjs +3 -1
- package/esm2022/f-connection-v2/utils/connection-behaviour/models/i-calculate-behavior-request.mjs +1 -1
- package/esm2022/f-connection-v2/utils/connection-behaviour/utils/floating-behavior.mjs +8 -8
- package/esm2022/f-connection-v2/utils/connection-behaviour/utils/get-rotated-rounded-rect-intersection.mjs +35 -0
- package/esm2022/f-connection-v2/utils/create-gradient-dom-identifier.mjs +3 -3
- package/esm2022/f-connection-v2/utils/create-gradient-dom-url.mjs +3 -3
- package/esm2022/f-connection-worker/features/calculate-connection-worker-payload-item/calculate-connection-worker-payload-item.mjs +13 -1
- package/esm2022/f-connection-worker/features/ensure-connection-worker/ensure-connection-worker.mjs +11 -4
- package/esm2022/f-connection-worker/features/is-connection-worker-enabled/is-connection-worker-enabled.mjs +3 -2
- package/esm2022/f-connection-worker/model/f-connection-worker.mjs +5 -1
- package/esm2022/f-connection-worker/model/i-f-connection-worker-rect.mjs +1 -1
- package/esm2022/f-connection-worker/model/i-f-connection-worker-request-item.mjs +1 -1
- package/esm2022/f-connection-worker/worker/connection-worker-runtime.mjs +247 -0
- package/esm2022/f-draggable/auto-pan/auto-pan.utils.mjs +58 -0
- package/esm2022/f-draggable/auto-pan/index.mjs +7 -0
- package/esm2022/f-draggable/auto-pan/providers.mjs +5 -0
- package/esm2022/f-draggable/auto-pan/run-auto-pan-frame/index.mjs +3 -0
- package/esm2022/f-draggable/auto-pan/run-auto-pan-frame/run-auto-pan-frame-request.mjs +4 -0
- package/esm2022/f-draggable/auto-pan/run-auto-pan-frame/run-auto-pan-frame.mjs +97 -0
- package/esm2022/f-draggable/auto-pan/stop-auto-pan/index.mjs +3 -0
- package/esm2022/f-draggable/auto-pan/stop-auto-pan/stop-auto-pan-request.mjs +4 -0
- package/esm2022/f-draggable/auto-pan/stop-auto-pan/stop-auto-pan.mjs +32 -0
- package/esm2022/f-draggable/auto-pan/stored-pointer-event.mjs +25 -0
- package/esm2022/f-draggable/auto-pan/sync-auto-pan/index.mjs +3 -0
- package/esm2022/f-draggable/auto-pan/sync-auto-pan/sync-auto-pan-request.mjs +4 -0
- package/esm2022/f-draggable/auto-pan/sync-auto-pan/sync-auto-pan.mjs +75 -0
- package/esm2022/f-draggable/connection/create-connection/create-connection-handler/create-connection-handler.mjs +7 -4
- package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-handler/reassign-connection-source-handler.mjs +7 -4
- package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-handler/reassign-connection-target-handler.mjs +7 -4
- package/esm2022/f-draggable/drag-canvas/drag-canvas-handler/drag-canvas-handler.mjs +6 -3
- package/esm2022/f-draggable/drag-node/drag-node-dependent-connection-handlers/drag-node-connection-handler-base.mjs +6 -3
- package/esm2022/f-draggable/f-draggable-data-context.mjs +14 -1
- package/esm2022/f-draggable/f-draggable.directive.mjs +4 -1
- package/esm2022/f-draggable/index.mjs +2 -1
- package/esm2022/f-draggable/providers.mjs +3 -1
- package/esm2022/f-draggable/resize-node/resize-node-handler/resize-node-dependent-connection-handlers/resize-node-connection-handler-base.mjs +6 -3
- package/esm2022/f-flow/f-flow.component.mjs +2 -2
- package/esm2022/f-flow.module.mjs +31 -26
- package/esm2022/f-storage/f-components-store.mjs +3 -1
- package/esm2022/f-zoom/f-zoom.directive.mjs +9 -11
- package/esm2022/f-zoom/wheel-zoom.utils.mjs +34 -0
- package/esm2022/public-api.mjs +2 -1
- package/f-auto-pan/f-auto-pan-base.d.ts +11 -0
- package/f-auto-pan/f-auto-pan.d.ts +13 -0
- package/f-auto-pan/index.d.ts +3 -0
- package/f-auto-pan/providers.d.ts +2 -0
- package/f-connection/f-connection/f-connection.component.d.ts +1 -1
- package/f-connection/f-connection-for-create/f-connection-for-create.component.d.ts +1 -1
- package/f-connection/f-snap-connection/f-snap-connection.component.d.ts +1 -1
- package/f-connection/providers.d.ts +3 -3
- package/f-connection-v2/components/connection-gradient/components/index.d.ts +1 -0
- package/f-connection-v2/components/connection-gradient/components/render/f-connection-gradient-renderer.d.ts +8 -0
- package/f-connection-v2/components/connection-gradient/components/render/index.d.ts +2 -0
- package/f-connection-v2/components/connection-gradient/components/render/models/f-connection-gradient-renderer-base.d.ts +25 -0
- package/f-connection-v2/components/connection-gradient/components/render/models/index.d.ts +1 -0
- package/f-connection-v2/components/connection-gradient/f-connection-gradient.d.ts +3 -11
- package/f-connection-v2/components/connection-gradient/index.d.ts +1 -0
- package/f-connection-v2/components/connection-gradient/models/f-connection-gradient-base.d.ts +3 -5
- package/f-connection-v2/components/connection-path/f-connection-path.d.ts +3 -2
- package/f-connection-v2/components/f-connection-base.d.ts +7 -4
- package/f-connection-v2/models/f-connection-components-parent.d.ts +0 -2
- package/f-connection-v2/utils/connection-behaviour/connection-behaviour-builder-request.d.ts +4 -1
- package/f-connection-v2/utils/connection-behaviour/models/i-calculate-behavior-request.d.ts +7 -1
- package/f-connection-v2/utils/connection-behaviour/utils/floating-behavior.d.ts +1 -1
- package/f-connection-v2/utils/connection-behaviour/utils/get-rotated-rounded-rect-intersection.d.ts +3 -0
- package/f-connection-v2/utils/create-gradient-dom-identifier.d.ts +1 -1
- package/f-connection-v2/utils/create-gradient-dom-url.d.ts +1 -1
- package/f-connection-worker/features/calculate-connection-worker-payload-item/calculate-connection-worker-payload-item.d.ts +1 -0
- package/f-connection-worker/model/f-connection-worker.d.ts +1 -0
- package/f-connection-worker/model/i-f-connection-worker-rect.d.ts +4 -0
- package/f-connection-worker/model/i-f-connection-worker-request-item.d.ts +2 -0
- package/f-connection-worker/worker/connection-worker-runtime.d.ts +11 -0
- package/f-draggable/auto-pan/auto-pan.utils.d.ts +6 -0
- package/f-draggable/auto-pan/index.d.ts +6 -0
- package/f-draggable/auto-pan/providers.d.ts +4 -0
- package/f-draggable/auto-pan/run-auto-pan-frame/index.d.ts +2 -0
- package/f-draggable/auto-pan/run-auto-pan-frame/run-auto-pan-frame-request.d.ts +3 -0
- package/f-draggable/auto-pan/run-auto-pan-frame/run-auto-pan-frame.d.ts +21 -0
- package/f-draggable/auto-pan/stop-auto-pan/index.d.ts +2 -0
- package/f-draggable/auto-pan/stop-auto-pan/stop-auto-pan-request.d.ts +3 -0
- package/f-draggable/auto-pan/stop-auto-pan/stop-auto-pan.d.ts +10 -0
- package/f-draggable/auto-pan/stored-pointer-event.d.ts +12 -0
- package/f-draggable/auto-pan/sync-auto-pan/index.d.ts +2 -0
- package/f-draggable/auto-pan/sync-auto-pan/sync-auto-pan-request.d.ts +3 -0
- package/f-draggable/auto-pan/sync-auto-pan/sync-auto-pan.d.ts +19 -0
- package/f-draggable/connection/create-connection/create-connection-handler/create-connection-handler.d.ts +1 -0
- package/f-draggable/connection/reassign-connection/reassign-connection-handler/reassign-connection-source-handler.d.ts +1 -0
- package/f-draggable/connection/reassign-connection/reassign-connection-handler/reassign-connection-target-handler.d.ts +1 -0
- package/f-draggable/drag-node/drag-node-dependent-connection-handlers/drag-node-connection-handler-base.d.ts +1 -0
- package/f-draggable/f-draggable-data-context.d.ts +7 -1
- package/f-draggable/index.d.ts +1 -0
- package/f-draggable/providers.d.ts +1 -1
- package/f-draggable/resize-node/resize-node-handler/resize-node-dependent-connection-handlers/resize-node-connection-handler-base.d.ts +1 -0
- package/f-flow.module.d.ts +29 -27
- package/f-storage/f-components-store.d.ts +2 -0
- package/f-zoom/f-zoom.directive.d.ts +0 -1
- package/f-zoom/wheel-zoom.utils.d.ts +3 -0
- package/fesm2022/foblex-flow.mjs +8048 -7134
- package/fesm2022/foblex-flow.mjs.map +1 -1
- package/package.json +7 -7
- package/public-api.d.ts +1 -0
- package/schematics/ng-add/index.js +63 -2
- package/schematics/ng-add/index.js.map +1 -1
- package/schematics/shared/foblex-dependencies.js +1 -1
- package/styles/_index.scss +31 -0
- package/styles/default.scss +4 -0
- package/styles/domains/_connection.scss +175 -0
- package/styles/domains/_connector.scss +150 -0
- package/styles/domains/_external-item.scss +44 -0
- package/styles/domains/_flow-canvas.scss +41 -0
- package/styles/domains/_node-group.scss +230 -0
- package/styles/domains/_plugins.scss +100 -0
- package/styles/tokens/_ff-aliases.scss +117 -0
- package/styles/tokens/_primitive.scss +86 -0
- package/styles/tokens/_semantic.scss +131 -0
|
@@ -13,8 +13,6 @@ declare const MIXIN_BASE: import("../../mixins").Constructor<ISelectable> & impo
|
|
|
13
13
|
export declare abstract class FConnectionBase extends MIXIN_BASE implements ISelectable, ICanChangeVisibility {
|
|
14
14
|
private readonly _fConnectionBuilder;
|
|
15
15
|
abstract fId: Signal<string>;
|
|
16
|
-
readonly fStartColor: import("@angular/core").InputSignal<string>;
|
|
17
|
-
readonly fEndColor: import("@angular/core").InputSignal<string>;
|
|
18
16
|
abstract fOutputId: Signal<string>;
|
|
19
17
|
abstract fInputId: Signal<string>;
|
|
20
18
|
abstract fRadius: number;
|
|
@@ -29,11 +27,12 @@ export declare abstract class FConnectionBase extends MIXIN_BASE implements ISel
|
|
|
29
27
|
abstract fType: EFConnectionType | string;
|
|
30
28
|
readonly fDefs: Signal<ElementRef<SVGDefsElement>>;
|
|
31
29
|
readonly fPath: Signal<import("./connection-path").FConnectionPathBase>;
|
|
32
|
-
readonly fGradient: Signal<import("./connection-gradient").FConnectionGradientBase>;
|
|
33
30
|
readonly fDragHandleStart: Signal<import("./connection-drag-handles").FConnectionDragHandleBase | undefined>;
|
|
34
31
|
readonly fDragHandleEnd: Signal<import("./connection-drag-handles").FConnectionDragHandleBase>;
|
|
35
32
|
readonly fSelection: Signal<import("./connection-selection").FConnectionSelectionBase>;
|
|
36
33
|
readonly fContents: Signal<readonly FConnectionContentBase[]>;
|
|
34
|
+
readonly fGradient: Signal<import("./connection-gradient").FConnectionGradientBase | undefined>;
|
|
35
|
+
private readonly _fGradientRenderer;
|
|
37
36
|
readonly fWaypoints: Signal<import("./connection-waypoints").FConnectionWaypointsBase | undefined>;
|
|
38
37
|
readonly fInputSide: Signal<EFConnectionConnectableSide>;
|
|
39
38
|
private _sourceSide;
|
|
@@ -50,6 +49,10 @@ export declare abstract class FConnectionBase extends MIXIN_BASE implements ISel
|
|
|
50
49
|
markChildrenAsSelected(): void;
|
|
51
50
|
unmarkChildrenAsSelected(): void;
|
|
52
51
|
redraw(): void;
|
|
52
|
+
getResolvedSides(): {
|
|
53
|
+
sourceSide: EFConnectableSide;
|
|
54
|
+
targetSide: EFConnectableSide;
|
|
55
|
+
};
|
|
53
56
|
/**
|
|
54
57
|
* Applies the resolved sides to the connection. Don't call this method directly; it's used internally.
|
|
55
58
|
*
|
|
@@ -58,6 +61,6 @@ export declare abstract class FConnectionBase extends MIXIN_BASE implements ISel
|
|
|
58
61
|
*/
|
|
59
62
|
_applyResolvedSidesToConnection(sourceSide: EFConnectableSide, targetSide: EFConnectableSide): void;
|
|
60
63
|
static ɵfac: i0.ɵɵFactoryDeclaration<FConnectionBase, never>;
|
|
61
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FConnectionBase, never, never, {
|
|
64
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FConnectionBase, never, never, {}, {}, ["fContents", "fGradient", "fWaypoints"], never, false, never>;
|
|
62
65
|
}
|
|
63
66
|
export {};
|
|
@@ -6,8 +6,6 @@ export declare abstract class FConnectionComponentsParent {
|
|
|
6
6
|
abstract fId: Signal<string>;
|
|
7
7
|
abstract fOutputId: Signal<string>;
|
|
8
8
|
abstract fInputId: Signal<string>;
|
|
9
|
-
abstract fStartColor: Signal<string>;
|
|
10
|
-
abstract fEndColor: Signal<string>;
|
|
11
9
|
abstract fBehavior: EFConnectionBehavior;
|
|
12
10
|
abstract _applyResolvedSidesToConnection(sourceSide: EFConnectableSide, targetSide: EFConnectableSide): void;
|
|
13
11
|
abstract fInputSide: Signal<EFConnectionConnectableSide>;
|
package/f-connection-v2/utils/connection-behaviour/connection-behaviour-builder-request.d.ts
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { IRoundedRect } from '@foblex/2d';
|
|
2
2
|
import { EFConnectableSide } from '../../enums';
|
|
3
3
|
import { FConnectionComponentsParent } from '../../models';
|
|
4
|
+
import { IConnectionEndpointRotationContext } from './models';
|
|
4
5
|
export declare class ConnectionBehaviourBuilderRequest {
|
|
5
6
|
readonly sourceRect: IRoundedRect;
|
|
6
7
|
readonly targetRect: IRoundedRect;
|
|
7
8
|
readonly connection: FConnectionComponentsParent;
|
|
8
9
|
readonly sourceConnectableSide: EFConnectableSide;
|
|
9
10
|
readonly targetConnectableSide: EFConnectableSide;
|
|
10
|
-
|
|
11
|
+
readonly sourceRotationContext?: IConnectionEndpointRotationContext | undefined;
|
|
12
|
+
readonly targetRotationContext?: IConnectionEndpointRotationContext | undefined;
|
|
13
|
+
constructor(sourceRect: IRoundedRect, targetRect: IRoundedRect, connection: FConnectionComponentsParent, sourceConnectableSide: EFConnectableSide, targetConnectableSide: EFConnectableSide, sourceRotationContext?: IConnectionEndpointRotationContext | undefined, targetRotationContext?: IConnectionEndpointRotationContext | undefined);
|
|
11
14
|
}
|
|
@@ -1,8 +1,14 @@
|
|
|
1
|
-
import { IRoundedRect } from '@foblex/2d';
|
|
1
|
+
import { IPoint, IRoundedRect } from '@foblex/2d';
|
|
2
2
|
import { EFConnectableSide } from '../../../enums';
|
|
3
|
+
export interface IConnectionEndpointRotationContext {
|
|
4
|
+
rotationDeg: number;
|
|
5
|
+
pivot: IPoint;
|
|
6
|
+
}
|
|
3
7
|
export interface ICalculateBehaviorRequest {
|
|
4
8
|
sourceRect: IRoundedRect;
|
|
5
9
|
targetRect: IRoundedRect;
|
|
6
10
|
sourceConnectableSide: EFConnectableSide;
|
|
7
11
|
targetConnectableSide: EFConnectableSide;
|
|
12
|
+
sourceRotationContext?: IConnectionEndpointRotationContext;
|
|
13
|
+
targetRotationContext?: IConnectionEndpointRotationContext;
|
|
8
14
|
}
|
|
@@ -5,4 +5,4 @@ import { ICalculateBehaviorRequest } from '../models';
|
|
|
5
5
|
* It constructs a line between the intersections of the connectors rectangles and line from the centers of the connector rectangles
|
|
6
6
|
* @param payload
|
|
7
7
|
*/
|
|
8
|
-
export declare function floatingBehavior({ sourceRect, targetRect }: ICalculateBehaviorRequest): ILine;
|
|
8
|
+
export declare function floatingBehavior({ sourceRect, targetRect, sourceRotationContext, targetRotationContext, }: ICalculateBehaviorRequest): ILine;
|
package/f-connection-v2/utils/connection-behaviour/utils/get-rotated-rounded-rect-intersection.d.ts
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { IPoint, IRoundedRect } from '@foblex/2d';
|
|
2
|
+
import { IConnectionEndpointRotationContext } from '../models';
|
|
3
|
+
export declare function getRotatedRoundedRectIntersection(from: IPoint, to: IPoint, rect: IRoundedRect, rotationContext?: IConnectionEndpointRotationContext): IPoint | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function createGradientDomIdentifier(componentId: string
|
|
1
|
+
export declare function createGradientDomIdentifier(componentId: string): string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function createGradientDomUrl(componentId: string
|
|
1
|
+
export declare function createGradientDomUrl(componentId: string): string;
|
|
@@ -4,6 +4,7 @@ import { CalculateConnectionWorkerPayloadItemRequest } from './calculate-connect
|
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class CalculateConnectionWorkerPayloadItem implements IExecution<CalculateConnectionWorkerPayloadItemRequest, IFConnectionWorkerRequestItem | null> {
|
|
6
6
|
private readonly _mediator;
|
|
7
|
+
private readonly _store;
|
|
7
8
|
handle({ connection, cache, }: CalculateConnectionWorkerPayloadItemRequest): IFConnectionWorkerRequestItem | null;
|
|
8
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<CalculateConnectionWorkerPayloadItem, never>;
|
|
9
10
|
static ɵprov: i0.ɵɵInjectableDeclaration<CalculateConnectionWorkerPayloadItem>;
|
|
@@ -2,6 +2,7 @@ import { TFConnectionWorkerPendingRequest } from './t-f-connection-worker-pendin
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class FConnectionWorker {
|
|
4
4
|
worker: Worker | null;
|
|
5
|
+
workerUrl: string | null;
|
|
5
6
|
nextRequestId: number;
|
|
6
7
|
isDisabled: boolean;
|
|
7
8
|
readonly pending: Map<number, TFConnectionWorkerPendingRequest>;
|
|
@@ -6,6 +6,8 @@ export interface IFConnectionWorkerRequestItem {
|
|
|
6
6
|
inputSide: string;
|
|
7
7
|
sourceConnectableSide: string;
|
|
8
8
|
targetConnectableSide: string;
|
|
9
|
+
sourceRotation: number;
|
|
10
|
+
targetRotation: number;
|
|
9
11
|
sourceRect: IFConnectionWorkerRect;
|
|
10
12
|
targetRect: IFConnectionWorkerRect;
|
|
11
13
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
type TConnectionWorkerUrlApi = Pick<typeof URL, 'createObjectURL' | 'revokeObjectURL'>;
|
|
2
|
+
type TConnectionWorkerRuntime = {
|
|
3
|
+
blobCtor: typeof Blob;
|
|
4
|
+
workerCtor: typeof Worker;
|
|
5
|
+
urlApi: TConnectionWorkerUrlApi;
|
|
6
|
+
};
|
|
7
|
+
export declare function isConnectionWorkerRuntimeSupported(windowRef: Window | null | undefined): boolean;
|
|
8
|
+
export declare function resolveConnectionWorkerRuntime(windowRef: Window | null | undefined): TConnectionWorkerRuntime | null;
|
|
9
|
+
export declare function createConnectionWorkerUrl(runtime: TConnectionWorkerRuntime): string;
|
|
10
|
+
export declare function revokeConnectionWorkerUrl(workerUrl: string | null | undefined, urlApi?: Pick<typeof URL, 'revokeObjectURL'> | null): void;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { IPoint, Point } from '@foblex/2d';
|
|
2
|
+
export type TAutoPanMode = 'rebase' | 'direct';
|
|
3
|
+
export declare function resolveAutoPanMode(kinds: string[]): TAutoPanMode | null;
|
|
4
|
+
export declare function calculateAutoPanDelta(pointerPosition: IPoint, hostRect: DOMRect, threshold: number, speed: number, acceleration: boolean): IPoint;
|
|
5
|
+
export declare function calculateAutoPanAxisDelta(pointerCoordinate: number, min: number, max: number, threshold: number, speed: number, acceleration: boolean): number;
|
|
6
|
+
export declare function rebaseAutoPanPointerDownPosition(position: IPoint, canvasDelta: IPoint, scale: number): Point;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { IExecution } from '@foblex/mediator';
|
|
2
|
+
import { RunAutoPanFrameRequest } from './run-auto-pan-frame-request';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class RunAutoPanFrame implements IExecution<RunAutoPanFrameRequest, void> {
|
|
5
|
+
private readonly _mediator;
|
|
6
|
+
private readonly _store;
|
|
7
|
+
private readonly _dragContext;
|
|
8
|
+
handle(_request: RunAutoPanFrameRequest): void;
|
|
9
|
+
private _applyCanvasDelta;
|
|
10
|
+
private _replayLastPointerMove;
|
|
11
|
+
private _getPointerPositionInCanvas;
|
|
12
|
+
private _canAutoPan;
|
|
13
|
+
private _getAutoPanMode;
|
|
14
|
+
private _getAutoPanDelta;
|
|
15
|
+
private _edgeThreshold;
|
|
16
|
+
private _speed;
|
|
17
|
+
private _acceleration;
|
|
18
|
+
private _autoPan;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RunAutoPanFrame, never>;
|
|
20
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RunAutoPanFrame>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IExecution } from '@foblex/mediator';
|
|
2
|
+
import { StopAutoPanRequest } from './stop-auto-pan-request';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class StopAutoPan implements IExecution<StopAutoPanRequest, void> {
|
|
5
|
+
private readonly _store;
|
|
6
|
+
private readonly _dragContext;
|
|
7
|
+
handle(_request: StopAutoPanRequest): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StopAutoPan, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<StopAutoPan>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IPoint } from '@foblex/2d';
|
|
2
|
+
import { IPointerEvent } from '../../drag-toolkit';
|
|
3
|
+
export declare class StoredPointerEvent extends IPointerEvent {
|
|
4
|
+
private readonly _position;
|
|
5
|
+
private readonly _isMouseLeftButton;
|
|
6
|
+
private readonly _isMouseRightButton;
|
|
7
|
+
constructor(event: IPointerEvent);
|
|
8
|
+
isMouseLeftButton(): boolean;
|
|
9
|
+
isMouseRightButton(): boolean;
|
|
10
|
+
getPosition(): IPoint;
|
|
11
|
+
}
|
|
12
|
+
export declare function storePointerEvent(event: IPointerEvent): IPointerEvent;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { IExecution } from '@foblex/mediator';
|
|
2
|
+
import { SyncAutoPanRequest } from './sync-auto-pan-request';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SyncAutoPan implements IExecution<SyncAutoPanRequest, void> {
|
|
5
|
+
private readonly _mediator;
|
|
6
|
+
private readonly _store;
|
|
7
|
+
private readonly _dragContext;
|
|
8
|
+
handle(_request: SyncAutoPanRequest): void;
|
|
9
|
+
private _canAutoPan;
|
|
10
|
+
private _hasAutoPanDelta;
|
|
11
|
+
private _getAutoPanDelta;
|
|
12
|
+
private _getAutoPanMode;
|
|
13
|
+
private _edgeThreshold;
|
|
14
|
+
private _speed;
|
|
15
|
+
private _acceleration;
|
|
16
|
+
private _autoPan;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SyncAutoPan, never>;
|
|
18
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SyncAutoPan>;
|
|
19
|
+
}
|
|
@@ -29,6 +29,7 @@ export declare class CreateConnectionHandler extends DragHandlerBase<ICreateConn
|
|
|
29
29
|
private _drawCreateConnection;
|
|
30
30
|
private _drawSnapConnection;
|
|
31
31
|
onPointerUp(): void;
|
|
32
|
+
private _resolveRotationContext;
|
|
32
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<CreateConnectionHandler, never>;
|
|
33
34
|
static ɵprov: i0.ɵɵInjectableDeclaration<CreateConnectionHandler>;
|
|
34
35
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { Point } from '@foblex/2d';
|
|
1
|
+
import { IPoint, Point } from '@foblex/2d';
|
|
2
2
|
import { DragHandlerBase } from './infrastructure';
|
|
3
3
|
import { ISelectable } from '../mixins';
|
|
4
|
+
import { IPointerEvent } from '../drag-toolkit';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class FDraggableDataContext {
|
|
6
7
|
selectedItems: ISelectable[];
|
|
@@ -8,8 +9,13 @@ export declare class FDraggableDataContext {
|
|
|
8
9
|
onPointerDownScale: number;
|
|
9
10
|
onPointerDownPosition: Point;
|
|
10
11
|
draggableItems: DragHandlerBase<unknown>[];
|
|
12
|
+
autoPanFrameId: number | null;
|
|
13
|
+
lastPointerEvent: IPointerEvent | null;
|
|
14
|
+
lastPointerPosition: IPoint | null;
|
|
15
|
+
isAutoPanCanvasMoved: boolean;
|
|
11
16
|
reset(): void;
|
|
12
17
|
markSelectionAsChanged(): void;
|
|
18
|
+
rememberPointerEvent(event: IPointerEvent): void;
|
|
13
19
|
isEmpty(): boolean;
|
|
14
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<FDraggableDataContext, never>;
|
|
15
21
|
static ɵprov: i0.ɵɵInjectableDeclaration<FDraggableDataContext>;
|
package/f-draggable/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const F_DRAGGABLE_PROVIDERS: (typeof import("./domain").EmitEndDragSequenceEvent | typeof import("./domain").EmitStartDragSequenceEvent | typeof import("./drag-canvas").DragCanvasFinalize | typeof import("./drag-canvas").DragCanvasPreparation | typeof import("./connection").ResolveConnectableOutputForOutlet | typeof import("./connection").CreateConnectionFinalize | typeof import("./connection").CreateConnectionCreateDragHandler | typeof import("./connection").CreateConnectionFromOutletPreparation | typeof import("./connection").CreateConnectionFromOutputPreparation | typeof import("./connection").CreateConnectionPreparation | typeof import("./drag-node").MagneticLinesPreparation | typeof import("./drag-node").MagneticRectsPreparation | typeof import("./drag-node").CreateDragNodeHierarchy | typeof import("./drag-node").ReadNodeBoundsWithPaddings | typeof import("./drag-node").BuildDragNodeConstraints | typeof import("./drag-node").AttachSoftParentConnectionDragHandlersToNode | typeof import("./drag-node").CreateDragNodeHandler | typeof import("./drag-node").AttachTargetConnectionDragHandlersToNode | typeof import("./drag-node").AttachSourceConnectionDragHandlersToNode | typeof import("./drag-node").AttachDragNodeHandlerFromSelection | typeof import("./drag-node").DragNodeFinalize | typeof import("./drag-node").DragNodePreparation | typeof import("./drop-to-group").DropToGroupFinalize | typeof import("./drop-to-group").SortDropCandidatesByLayer | typeof import("./drag-external-item").DragExternalItemCreatePlaceholder | typeof import("./drag-external-item").DragExternalItemCreatePreview | typeof import("./drag-external-item").DragExternalItemFinalize | typeof import("./drag-external-item").DragExternalItemPreparation | typeof import("./drag-external-item").PreventDefaultIsExternalItem | typeof import("./drop-to-group").DropToGroupPreparation | typeof import("./connection").ReassignConnectionFinalize | typeof import("./connection").ReassignConnectionPreparation | typeof import("./connection").DragConnectionWaypointFinalize | typeof import("./connection").DragConnectionWaypointPreparation | typeof import("./pinch-to-zoom").PinchToZoomFinalize | typeof import("./pinch-to-zoom").PinchToZoomPreparation | typeof import("./selection-area").SelectionAreaFinalize | typeof import("./selection-area").SelectionAreaPreparation | typeof import("./resize-node").ApplyChildResizeConstraints | typeof import("./resize-node").ApplyParentResizeConstraints | typeof import("./resize-node").CalculateChangedRectFromDifference | typeof import("./resize-node").CalculateDirectChildrenUnionRect | typeof import("./resize-node").CalculateResizeLimits | typeof import("./resize-node").ResizeNodeFinalize | typeof import("./resize-node").AttachResizeConnectionDragHandlersToNode | typeof import("./resize-node").ResizeNodePreparation | typeof import("./rotate-node").RotateNodeFinalize | typeof import("./rotate-node").RotateNodePreparation | typeof import("./drag-minimap").CalculateFlowPointFromMinimapPoint | typeof import("./drag-minimap").DragMinimapFinalize | typeof import("./drag-minimap").DragMinimapPreparation | typeof import("./domain").EmitSelectionChangeEvent | typeof import("./domain").GetNormalizedParentNodeRect | typeof import("./domain").IsArrayHasParentNode | typeof import("./domain").DetectConnectionsUnderDragNode | typeof import("./select-by-pointer").SelectByPointer)[];
|
|
1
|
+
export declare const F_DRAGGABLE_PROVIDERS: (typeof import("./domain").EmitEndDragSequenceEvent | typeof import("./domain").EmitStartDragSequenceEvent | typeof import("./drag-canvas").DragCanvasFinalize | typeof import("./drag-canvas").DragCanvasPreparation | typeof import("./connection").ResolveConnectableOutputForOutlet | typeof import("./connection").CreateConnectionFinalize | typeof import("./connection").CreateConnectionCreateDragHandler | typeof import("./connection").CreateConnectionFromOutletPreparation | typeof import("./connection").CreateConnectionFromOutputPreparation | typeof import("./connection").CreateConnectionPreparation | typeof import("./drag-node").MagneticLinesPreparation | typeof import("./drag-node").MagneticRectsPreparation | typeof import("./drag-node").CreateDragNodeHierarchy | typeof import("./drag-node").ReadNodeBoundsWithPaddings | typeof import("./drag-node").BuildDragNodeConstraints | typeof import("./drag-node").AttachSoftParentConnectionDragHandlersToNode | typeof import("./drag-node").CreateDragNodeHandler | typeof import("./drag-node").AttachTargetConnectionDragHandlersToNode | typeof import("./drag-node").AttachSourceConnectionDragHandlersToNode | typeof import("./drag-node").AttachDragNodeHandlerFromSelection | typeof import("./drag-node").DragNodeFinalize | typeof import("./drag-node").DragNodePreparation | typeof import("./drop-to-group").DropToGroupFinalize | typeof import("./drop-to-group").SortDropCandidatesByLayer | typeof import("./drag-external-item").DragExternalItemCreatePlaceholder | typeof import("./drag-external-item").DragExternalItemCreatePreview | typeof import("./drag-external-item").DragExternalItemFinalize | typeof import("./drag-external-item").DragExternalItemPreparation | typeof import("./drag-external-item").PreventDefaultIsExternalItem | typeof import("./drop-to-group").DropToGroupPreparation | typeof import("./connection").ReassignConnectionFinalize | typeof import("./connection").ReassignConnectionPreparation | typeof import("./connection").DragConnectionWaypointFinalize | typeof import("./connection").DragConnectionWaypointPreparation | typeof import("./pinch-to-zoom").PinchToZoomFinalize | typeof import("./pinch-to-zoom").PinchToZoomPreparation | typeof import("./selection-area").SelectionAreaFinalize | typeof import("./selection-area").SelectionAreaPreparation | typeof import("./resize-node").ApplyChildResizeConstraints | typeof import("./resize-node").ApplyParentResizeConstraints | typeof import("./resize-node").CalculateChangedRectFromDifference | typeof import("./resize-node").CalculateDirectChildrenUnionRect | typeof import("./resize-node").CalculateResizeLimits | typeof import("./resize-node").ResizeNodeFinalize | typeof import("./resize-node").AttachResizeConnectionDragHandlersToNode | typeof import("./resize-node").ResizeNodePreparation | typeof import("./rotate-node").RotateNodeFinalize | typeof import("./rotate-node").RotateNodePreparation | typeof import("./drag-minimap").CalculateFlowPointFromMinimapPoint | typeof import("./drag-minimap").DragMinimapFinalize | typeof import("./drag-minimap").DragMinimapPreparation | typeof import("./domain").EmitSelectionChangeEvent | typeof import("./domain").GetNormalizedParentNodeRect | typeof import("./domain").IsArrayHasParentNode | typeof import("./domain").DetectConnectionsUnderDragNode | typeof import("./auto-pan").StopAutoPan | typeof import("./auto-pan").SyncAutoPan | typeof import("./auto-pan").RunAutoPanFrame | typeof import("./select-by-pointer").SelectByPointer)[];
|
package/f-flow.module.d.ts
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./f-connection-v2/components/connection-drag-handles/f-connection-drag-handle-start";
|
|
3
3
|
import * as i2 from "./f-connection-v2/components/connection-drag-handles/f-connection-drag-handle-end";
|
|
4
|
-
import * as i3 from "./f-connection-v2/components/connection-
|
|
5
|
-
import * as i4 from "./f-connection-v2/components/connection-
|
|
6
|
-
import * as i5 from "./f-connection-v2/components/connection-
|
|
7
|
-
import * as i6 from "./f-connection-
|
|
8
|
-
import * as i7 from "./f-connection/f-connection/f-connection.component";
|
|
9
|
-
import * as i8 from "./f-connection/f-connection
|
|
10
|
-
import * as i9 from "./f-
|
|
11
|
-
import * as i10 from "./f-connectors/f-node-
|
|
12
|
-
import * as i11 from "./f-connectors/f-node-
|
|
13
|
-
import * as i12 from "./f-
|
|
14
|
-
import * as i13 from "./f-
|
|
15
|
-
import * as i14 from "./f-node/f-
|
|
16
|
-
import * as i15 from "./f-node/f-
|
|
17
|
-
import * as i16 from "./f-node/f-
|
|
18
|
-
import * as i17 from "./f-node/f-
|
|
19
|
-
import * as i18 from "./f-
|
|
20
|
-
import * as i19 from "./f-draggable/f-
|
|
21
|
-
import * as i20 from "./f-
|
|
22
|
-
import * as i21 from "./f-
|
|
23
|
-
import * as i22 from "./f-
|
|
24
|
-
import * as i23 from "./f-backgroud/f-
|
|
25
|
-
import * as i24 from "./f-backgroud/f-
|
|
26
|
-
import * as i25 from "./f-
|
|
4
|
+
import * as i3 from "./f-connection-v2/components/connection-path/f-connection-path";
|
|
5
|
+
import * as i4 from "./f-connection-v2/components/connection-selection/f-connection-selection";
|
|
6
|
+
import * as i5 from "./f-connection-v2/components/connection-marker/f-connection-marker";
|
|
7
|
+
import * as i6 from "./f-connection/f-connection/f-connection.component";
|
|
8
|
+
import * as i7 from "./f-connection/f-connection-for-create/f-connection-for-create.component";
|
|
9
|
+
import * as i8 from "./f-connection/f-snap-connection/f-snap-connection.component";
|
|
10
|
+
import * as i9 from "./f-connectors/f-node-input/f-node-input.directive";
|
|
11
|
+
import * as i10 from "./f-connectors/f-node-outlet/f-node-outlet.directive";
|
|
12
|
+
import * as i11 from "./f-connectors/f-node-output/f-node-output.directive";
|
|
13
|
+
import * as i12 from "./f-line-alignment/f-line-alignment.component";
|
|
14
|
+
import * as i13 from "./f-node/f-group.directive";
|
|
15
|
+
import * as i14 from "./f-node/f-node.directive";
|
|
16
|
+
import * as i15 from "./f-node/f-drag-handle.directive";
|
|
17
|
+
import * as i16 from "./f-node/f-resize-handle/f-resize-handle.directive";
|
|
18
|
+
import * as i17 from "./f-node/f-rotate-handle/f-rotate-handle.directive";
|
|
19
|
+
import * as i18 from "./f-draggable/f-drag-blocker.directive";
|
|
20
|
+
import * as i19 from "./f-draggable/f-draggable.directive";
|
|
21
|
+
import * as i20 from "./f-flow/f-flow.component";
|
|
22
|
+
import * as i21 from "./f-canvas/f-canvas.component";
|
|
23
|
+
import * as i22 from "./f-backgroud/f-background.component";
|
|
24
|
+
import * as i23 from "./f-backgroud/f-rect-pattern/f-rect-pattern.component";
|
|
25
|
+
import * as i24 from "./f-backgroud/f-circle-pattern/f-circle-pattern.component";
|
|
26
|
+
import * as i25 from "./f-auto-pan/f-auto-pan";
|
|
27
27
|
import * as i26 from "./f-zoom/f-zoom.directive";
|
|
28
28
|
import * as i27 from "./f-external-item/f-external-item";
|
|
29
29
|
import * as i28 from "./f-minimap/f-minimap.component";
|
|
@@ -34,11 +34,13 @@ import * as i32 from "./f-selection-area/f-selection-area";
|
|
|
34
34
|
import * as i33 from "./f-magnetic-lines/f-magnetic-lines";
|
|
35
35
|
import * as i34 from "./f-magnetic-rects/f-magnetic-rects";
|
|
36
36
|
import * as i35 from "./f-connection-v2/components/connection-content/f-connection-content";
|
|
37
|
-
import * as i36 from "./f-connection-v2/components/connection-
|
|
38
|
-
import * as i37 from "./f-
|
|
39
|
-
import * as i38 from "
|
|
37
|
+
import * as i36 from "./f-connection-v2/components/connection-gradient/f-connection-gradient";
|
|
38
|
+
import * as i37 from "./f-connection-v2/components/connection-gradient/components/render/f-connection-gradient-renderer";
|
|
39
|
+
import * as i38 from "./f-connection-v2/components/connection-waypoints/f-connection-waypoints";
|
|
40
|
+
import * as i39 from "./f-virtual/f-virtual-for";
|
|
41
|
+
import * as i40 from "@angular/common";
|
|
40
42
|
export declare class FFlowModule {
|
|
41
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<FFlowModule, never>;
|
|
42
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FFlowModule, [typeof i1.FConnectionDragHandleStart, typeof i2.FConnectionDragHandleEnd, typeof i3.
|
|
44
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FFlowModule, [typeof i1.FConnectionDragHandleStart, typeof i2.FConnectionDragHandleEnd, typeof i3.FConnectionPath, typeof i4.FConnectionSelection, typeof i5.FConnectionMarker, typeof i6.FConnectionComponent, typeof i7.FConnectionForCreateComponent, typeof i8.FSnapConnectionComponent, typeof i9.FNodeInputDirective, typeof i10.FNodeOutletDirective, typeof i11.FNodeOutputDirective, typeof i12.FLineAlignmentComponent, typeof i13.FGroupDirective, typeof i14.FNodeDirective, typeof i15.FDragHandleDirective, typeof i16.FResizeHandleDirective, typeof i17.FRotateHandleDirective, typeof i18.FDragBlockerDirective, typeof i19.FDraggableDirective], [typeof i20.FFlowComponent, typeof i21.FCanvasComponent, typeof i22.FBackgroundComponent, typeof i23.FRectPatternComponent, typeof i24.FCirclePatternComponent, typeof i25.FAutoPan, typeof i26.FZoomDirective, typeof i27.FExternalItem, typeof i28.FMinimapComponent, typeof i29.FMinimapCanvasDirective, typeof i30.FMinimapViewDirective, typeof i31.FMinimapFlowDirective, typeof i32.FSelectionArea, typeof i33.FMagneticLines, typeof i34.FMagneticRects, typeof i35.FConnectionContent, typeof i36.FConnectionGradient, typeof i37.FConnectionGradientRenderer, typeof i38.FConnectionWaypoints, typeof i39.FVirtualFor, typeof i40.CommonModule], [typeof i20.FFlowComponent, typeof i21.FCanvasComponent, typeof i22.FBackgroundComponent, typeof i23.FRectPatternComponent, typeof i24.FCirclePatternComponent, typeof i25.FAutoPan, typeof i26.FZoomDirective, typeof i27.FExternalItem, typeof i32.FSelectionArea, typeof i33.FMagneticLines, typeof i34.FMagneticRects, typeof i35.FConnectionContent, typeof i36.FConnectionGradient, typeof i37.FConnectionGradientRenderer, typeof i38.FConnectionWaypoints, typeof i1.FConnectionDragHandleStart, typeof i2.FConnectionDragHandleEnd, typeof i3.FConnectionPath, typeof i4.FConnectionSelection, typeof i5.FConnectionMarker, typeof i6.FConnectionComponent, typeof i7.FConnectionForCreateComponent, typeof i8.FSnapConnectionComponent, typeof i9.FNodeInputDirective, typeof i10.FNodeOutletDirective, typeof i11.FNodeOutputDirective, typeof i12.FLineAlignmentComponent, typeof i28.FMinimapComponent, typeof i29.FMinimapCanvasDirective, typeof i30.FMinimapViewDirective, typeof i31.FMinimapFlowDirective, typeof i13.FGroupDirective, typeof i14.FNodeDirective, typeof i15.FDragHandleDirective, typeof i16.FResizeHandleDirective, typeof i17.FRotateHandleDirective, typeof i39.FVirtualFor, typeof i18.FDragBlockerDirective, typeof i19.FDraggableDirective]>;
|
|
43
45
|
static ɵinj: i0.ɵɵInjectorDeclaration<FFlowModule>;
|
|
44
46
|
}
|
|
@@ -15,6 +15,7 @@ import { FSelectionAreaBase } from '../f-selection-area';
|
|
|
15
15
|
import { FMagneticLinesBase } from '../f-magnetic-lines';
|
|
16
16
|
import { FMagneticRectsBase } from '../f-magnetic-rects';
|
|
17
17
|
import { FMinimapBase } from '../f-minimap';
|
|
18
|
+
import { FAutoPanBase } from '../f-auto-pan';
|
|
18
19
|
import * as i0 from "@angular/core";
|
|
19
20
|
export declare class FComponentsStore {
|
|
20
21
|
readonly transformChanges$: FChannel;
|
|
@@ -54,4 +55,5 @@ export declare const INSTANCES: {
|
|
|
54
55
|
readonly BACKGROUND: import("./base").FInstanceKey<FBackgroundBase>;
|
|
55
56
|
readonly SELECTION_AREA: import("./base").FInstanceKey<FSelectionAreaBase>;
|
|
56
57
|
readonly MINIMAP: import("./base").FInstanceKey<FMinimapBase>;
|
|
58
|
+
readonly AUTO_PAN: import("./base").FInstanceKey<FAutoPanBase>;
|
|
57
59
|
};
|
|
@@ -25,7 +25,6 @@ export declare class FZoomDirective extends FZoomBase implements OnInit, AfterVi
|
|
|
25
25
|
private _onWheel;
|
|
26
26
|
private _normalizeWheelStep;
|
|
27
27
|
private _calculateDirection;
|
|
28
|
-
private _resolveWheelDelta;
|
|
29
28
|
private _onDoubleClick;
|
|
30
29
|
private _getToCenterPosition;
|
|
31
30
|
zoomIn(position?: IPoint): void;
|