@foblex/flow 1.3.2 → 1.3.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/components/f-flow/f-canvas/f-canvas-base.d.ts +1 -0
- package/components/f-flow/f-canvas/f-canvas.component.d.ts +1 -0
- package/domain/index.d.ts +1 -0
- package/domain/providers.d.ts +2 -1
- package/domain/update-connection-layer.handler.d.ts +12 -0
- package/esm2022/components/f-flow/f-backgroud/f-background-base.mjs +3 -3
- package/esm2022/components/f-flow/f-backgroud/f-background.component.mjs +3 -3
- package/esm2022/components/f-flow/f-backgroud/f-cell-pattern/f-cell-pattern.component.mjs +3 -3
- package/esm2022/components/f-flow/f-canvas/f-canvas-base.mjs +4 -4
- package/esm2022/components/f-flow/f-canvas/f-canvas.component.mjs +8 -5
- package/esm2022/components/f-flow/f-canvas/f-zoom/f-zoom.directive.mjs +3 -3
- package/esm2022/components/f-flow/f-flow.component.mjs +3 -3
- package/esm2022/domain/get-all-nodes-rect.handler.mjs +3 -3
- package/esm2022/domain/get-connection-vector/get-connection-vector.handler.mjs +3 -3
- package/esm2022/domain/get-connection.handler.mjs +3 -3
- package/esm2022/domain/get-element-rect-in-flow.handler.mjs +3 -3
- package/esm2022/domain/get-incoming-connections.handler.mjs +3 -3
- package/esm2022/domain/get-input-rect-in-flow.handler.mjs +3 -3
- package/esm2022/domain/get-outgoing-connections.handler.mjs +3 -3
- package/esm2022/domain/get-output-rect-in-flow.handler.mjs +3 -3
- package/esm2022/domain/index.mjs +2 -1
- package/esm2022/domain/providers.mjs +3 -1
- package/esm2022/domain/select-all.handler.mjs +3 -3
- package/esm2022/domain/update-connection-layer.handler.mjs +29 -0
- package/esm2022/domain/update-node-layer.handler.mjs +3 -3
- package/esm2022/f-components-store.mjs +3 -3
- package/esm2022/f-connection/common/f-connection-base.mjs +3 -3
- package/esm2022/f-connection/common/f-connection-text/f-connection-text-path.directive.mjs +3 -3
- package/esm2022/f-connection/common/f-connection-text/f-connection-text.component.mjs +3 -3
- package/esm2022/f-connection/common/f-drag-handle/f-connection-drag-handle.component.mjs +3 -3
- package/esm2022/f-connection/common/f-gradient/f-connection-gradient.component.mjs +3 -3
- package/esm2022/f-connection/common/f-path/f-connection-path.component.mjs +3 -3
- package/esm2022/f-connection/common/f-selection/f-connection-selection.component.mjs +3 -3
- package/esm2022/f-connection/f-connection/f-connection.component.mjs +3 -3
- package/esm2022/f-connection/f-connection-for-create/f-connection-for-create.component.mjs +3 -3
- package/esm2022/f-connection/f-marker/f-marker-base.mjs +3 -3
- package/esm2022/f-connection/f-marker/f-marker.component.mjs +3 -3
- package/esm2022/f-draggable/canvas/canvas.on-pointer-up.mjs +3 -3
- package/esm2022/f-draggable/canvas/canvas.prepare-drag-sequence.mjs +3 -3
- package/esm2022/f-draggable/components/f-external-item/f-external-item-base.mjs +3 -3
- package/esm2022/f-draggable/components/f-external-item/f-external-item.directive.mjs +3 -3
- package/esm2022/f-draggable/components/f-external-item/f-external-item.service.mjs +3 -3
- package/esm2022/f-draggable/components/f-line-alignment/f-line-alignment-base.mjs +3 -3
- package/esm2022/f-draggable/components/f-line-alignment/f-line-alignment.component.mjs +3 -3
- package/esm2022/f-draggable/components/f-selection-area/f-selection-area-base.mjs +3 -3
- package/esm2022/f-draggable/components/f-selection-area/f-selection-area.component.mjs +3 -3
- package/esm2022/f-draggable/connections/create-connection/create-connection.on-pointer-up.mjs +3 -3
- package/esm2022/f-draggable/connections/create-connection/create-connection.prepare-drag-sequence.mjs +3 -3
- package/esm2022/f-draggable/connections/create-connection/find-first-can-be-connected-output-by-outlet/find-first-can-be-connected-output-by-outlet.handler.mjs +3 -3
- package/esm2022/f-draggable/connections/find-inputs-under-pointer/find-inputs-under-pointer.handler.mjs +3 -3
- package/esm2022/f-draggable/connections/find-inputs-under-pointer/first-not-connected-input-of-node-under-pointer/first-not-connected-input-of-node-under-pointer.handler.mjs +3 -3
- package/esm2022/f-draggable/connections/find-inputs-under-pointer/inputs-under-pointer/inputs-under-pointer.handler.mjs +3 -3
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection.on-pointer-up.mjs +3 -3
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection.prepare-drag-sequence.mjs +8 -6
- package/esm2022/f-draggable/external-item/external-item.on-pointer-up.mjs +3 -3
- package/esm2022/f-draggable/external-item/external-item.prepare-drag-sequence.mjs +3 -3
- package/esm2022/f-draggable/f-draggable-base.mjs +3 -3
- package/esm2022/f-draggable/f-draggable-data-context.mjs +3 -3
- package/esm2022/f-draggable/f-draggable.directive.mjs +3 -3
- package/esm2022/f-draggable/node/domain/is-connection-under-node/is-connection-under-node.handler.mjs +3 -3
- package/esm2022/f-draggable/node/node.on-pointer-up.mjs +3 -3
- package/esm2022/f-draggable/node/node.prepare-drag-sequence.mjs +3 -3
- package/esm2022/f-draggable/selection-area/get-can-be-selected-items/get-can-be-selected-items.handler.mjs +3 -3
- package/esm2022/f-draggable/selection-area/selection-area.on-pointer-up.mjs +3 -3
- package/esm2022/f-draggable/selection-area/selection-area.prepare-drag-sequence.mjs +3 -3
- package/esm2022/f-draggable/single-select/single-select.on-pointer-down.mjs +8 -6
- package/esm2022/f-flow.module.mjs +4 -4
- package/esm2022/f-node/f-connectors/f-node-input/f-node-input-base.mjs +3 -3
- package/esm2022/f-node/f-connectors/f-node-input/f-node-input.directive.mjs +3 -3
- package/esm2022/f-node/f-connectors/f-node-outlet/f-node-outlet-base.mjs +3 -3
- package/esm2022/f-node/f-connectors/f-node-outlet/f-node-outlet.directive.mjs +3 -3
- package/esm2022/f-node/f-connectors/f-node-output/f-node-output-base.mjs +3 -3
- package/esm2022/f-node/f-connectors/f-node-output/f-node-output.directive.mjs +3 -3
- package/esm2022/f-node/f-drag-handle/f-drag-handle.directive.mjs +3 -3
- package/esm2022/f-node/f-node.component.mjs +3 -3
- package/f-draggable/canvas/providers.d.ts +1 -1
- package/f-draggable/connections/providers.d.ts +1 -1
- package/f-draggable/connections/reassign-connection/reassign-connection.prepare-drag-sequence.d.ts +3 -2
- package/f-draggable/node/providers.d.ts +1 -1
- package/f-draggable/selection-area/providers.d.ts +1 -1
- package/f-draggable/single-select/single-select.on-pointer-down.d.ts +3 -2
- package/fesm2022/foblex-flow.mjs +241 -207
- package/fesm2022/foblex-flow.mjs.map +1 -1
- package/package.json +14 -4
|
@@ -38,10 +38,10 @@ export class FNodeOutletDirective extends FNodeOutletBase {
|
|
|
38
38
|
ngOnDestroy() {
|
|
39
39
|
this.fComponentsStore.removeOutlet(this);
|
|
40
40
|
}
|
|
41
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
42
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.
|
|
41
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: FNodeOutletDirective, deps: [{ token: i0.ElementRef }, { token: F_NODE }, { token: i1.FComponentsStore }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
42
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.2.1", type: FNodeOutletDirective, selector: "[fNodeOutlet]", inputs: { id: ["fNodeOutletId", "id"], disabled: ["fNodeOutletDisabled", "disabled"], isConnectionFromOutlet: "isConnectionFromOutlet" }, host: { properties: { "attr.id": "id", "class.f-node-outlet-disabled": "disabled" }, classAttribute: "f-component f-node-outlet" }, providers: [{ provide: F_NODE_OUTLET, useExisting: FNodeOutletDirective }], exportAs: ["fNodeOutlet"], usesInheritance: true, ngImport: i0 }); }
|
|
43
43
|
}
|
|
44
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
44
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: FNodeOutletDirective, decorators: [{
|
|
45
45
|
type: Directive,
|
|
46
46
|
args: [{
|
|
47
47
|
selector: "[fNodeOutlet]",
|
|
@@ -10,10 +10,10 @@ export class FNodeOutputBase extends FConnectorBase {
|
|
|
10
10
|
get canBeConnected() {
|
|
11
11
|
return !this.disabled && !this.isConnected;
|
|
12
12
|
}
|
|
13
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
14
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.
|
|
13
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: FNodeOutputBase, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
14
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.2.1", type: FNodeOutputBase, usesInheritance: true, ngImport: i0 }); }
|
|
15
15
|
}
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: FNodeOutputBase, decorators: [{
|
|
17
17
|
type: Directive
|
|
18
18
|
}] });
|
|
19
19
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1ub2RlLW91dHB1dC1iYXNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLW5vZGUvZi1jb25uZWN0b3JzL2Ytbm9kZS1vdXRwdXQvZi1ub2RlLW91dHB1dC1iYXNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsY0FBYyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzFELE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQzs7QUFFckQsTUFBTSxDQUFDLE1BQU0sYUFBYSxHQUFHLElBQUksY0FBYyxDQUFrQixlQUFlLENBQUMsQ0FBQztBQUdsRixNQUFNLE9BQWdCLGVBQWdCLFNBQVEsY0FBYztJQUQ1RDs7UUFHUyxnQkFBVyxHQUFZLEtBQUssQ0FBQztLQUtyQztJQUhDLElBQW9CLGNBQWM7UUFDaEMsT0FBTyxDQUFDLElBQUksQ0FBQyxRQUFRLElBQUksQ0FBQyxJQUFJLENBQUMsV0FBVyxDQUFDO0lBQzdDLENBQUM7OEdBTm1CLGVBQWU7a0dBQWYsZUFBZTs7MkZBQWYsZUFBZTtrQkFEcEMsU0FBUyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IERpcmVjdGl2ZSwgSW5qZWN0aW9uVG9rZW4gfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IEZDb25uZWN0b3JCYXNlIH0gZnJvbSAnLi4vZi1jb25uZWN0b3ItYmFzZSc7XG5cbmV4cG9ydCBjb25zdCBGX05PREVfT1VUUFVUID0gbmV3IEluamVjdGlvblRva2VuPEZOb2RlT3V0cHV0QmFzZT4oJ0ZfTk9ERV9PVVRQVVQnKTtcblxuQERpcmVjdGl2ZSgpXG5leHBvcnQgYWJzdHJhY3QgY2xhc3MgRk5vZGVPdXRwdXRCYXNlIGV4dGVuZHMgRkNvbm5lY3RvckJhc2Uge1xuXG4gIHB1YmxpYyBpc0Nvbm5lY3RlZDogYm9vbGVhbiA9IGZhbHNlO1xuXG4gIHB1YmxpYyBvdmVycmlkZSBnZXQgY2FuQmVDb25uZWN0ZWQoKTogYm9vbGVhbiB7XG4gICAgcmV0dXJuICF0aGlzLmRpc2FibGVkICYmICF0aGlzLmlzQ29ubmVjdGVkO1xuICB9XG59XG4iXX0=
|
|
@@ -44,10 +44,10 @@ export class FNodeOutputDirective extends FNodeOutputBase {
|
|
|
44
44
|
this.fNode.removeConnector(this);
|
|
45
45
|
this.fComponentsStore.removeOutput(this);
|
|
46
46
|
}
|
|
47
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
48
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.
|
|
47
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: FNodeOutputDirective, deps: [{ token: i0.ElementRef }, { token: F_NODE }, { token: i1.FComponentsStore }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
48
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.2.1", type: FNodeOutputDirective, selector: "[fNodeOutput]", inputs: { id: ["fNodeOutputId", "id"], disabled: ["fNodeOutputDisabled", "disabled"] }, host: { properties: { "attr.id": "id", "class.f-node-output-disabled": "disabled" }, classAttribute: "f-component f-node-output" }, providers: [{ provide: F_NODE_OUTPUT, useExisting: FNodeOutputDirective }], exportAs: ["fNodeOutput"], usesInheritance: true, ngImport: i0 }); }
|
|
49
49
|
}
|
|
50
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
50
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: FNodeOutputDirective, decorators: [{
|
|
51
51
|
type: Directive,
|
|
52
52
|
args: [{
|
|
53
53
|
selector: "[fNodeOutput]",
|
|
@@ -27,10 +27,10 @@ export class FDragHandleDirective {
|
|
|
27
27
|
ngOnDestroy() {
|
|
28
28
|
this.stateChanges.complete();
|
|
29
29
|
}
|
|
30
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
31
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.
|
|
30
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: FDragHandleDirective, deps: [{ token: i0.ElementRef }, { token: F_NODE, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
31
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.2.1", type: FDragHandleDirective, isStandalone: true, selector: "[fDragHandle]", inputs: { disabled: ["fDragHandleDisabled", "disabled"] }, host: { properties: { "class.f-drag-handle-disabled": "disabled" }, classAttribute: "f-drag-handle f-component" }, providers: [{ provide: F_DRAG_HANDLE, useExisting: FDragHandleDirective }], ngImport: i0 }); }
|
|
32
32
|
}
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: FDragHandleDirective, decorators: [{
|
|
34
34
|
type: Directive,
|
|
35
35
|
args: [{
|
|
36
36
|
selector: "[fDragHandle]",
|
|
@@ -60,12 +60,12 @@ export class FNodeComponent extends FNodeBase {
|
|
|
60
60
|
this.stateChanges.complete();
|
|
61
61
|
this.subscriptions$.unsubscribe();
|
|
62
62
|
}
|
|
63
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
64
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.
|
|
63
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: FNodeComponent, deps: [{ token: i0.ElementRef }, { token: i1.FComponentsStore }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
64
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.1", type: FNodeComponent, selector: "f-node", inputs: { id: "id", position: ["fNodePosition", "position"], disabled: "disabled" }, outputs: { positionChange: "fNodePositionChange" }, host: { properties: { "attr.id": "id", "class.f-node-disabled": "disabled" }, classAttribute: "f-node f-component" }, providers: [
|
|
65
65
|
{ provide: F_NODE, useExisting: FNodeComponent }
|
|
66
66
|
], exportAs: ["fComponent"], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [":host{position:absolute!important;left:0;top:0;pointer-events:all;transform-origin:0 0;-webkit-user-select:none;user-select:none}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
67
67
|
}
|
|
68
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
68
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: FNodeComponent, decorators: [{
|
|
69
69
|
type: Component,
|
|
70
70
|
args: [{ selector: "f-node", exportAs: "fComponent", changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
71
71
|
'[attr.id]': 'id',
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { CanvasOnPointerUp } from './canvas.on-pointer-up';
|
|
2
2
|
import { CanvasPrepareDragSequence } from './canvas.prepare-drag-sequence';
|
|
3
|
-
export declare const CANVAS_PROVIDERS: (typeof
|
|
3
|
+
export declare const CANVAS_PROVIDERS: (typeof CanvasOnPointerUp | typeof CanvasPrepareDragSequence)[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { CreateConnectionOnPointerUp, CreateConnectionPrepareDragSequence, FindFirstCanBeConnectedOutputByOutletHandler } from './create-connection';
|
|
2
2
|
import { FindInputsUnderPointerHandler, FirstNotConnectedInputOfNodeUnderPointerHandler, InputsUnderPointerHandler } from './find-inputs-under-pointer';
|
|
3
3
|
import { ReassignConnectionOnPointerUp, ReassignConnectionPrepareDragSequence } from './reassign-connection';
|
|
4
|
-
export declare const CONNECTIONS_PROVIDERS: (typeof
|
|
4
|
+
export declare const CONNECTIONS_PROVIDERS: (typeof FindFirstCanBeConnectedOutputByOutletHandler | typeof FirstNotConnectedInputOfNodeUnderPointerHandler | typeof InputsUnderPointerHandler | typeof ReassignConnectionOnPointerUp | typeof ReassignConnectionPrepareDragSequence | typeof FindInputsUnderPointerHandler | typeof CreateConnectionOnPointerUp | typeof CreateConnectionPrepareDragSequence)[];
|
package/f-draggable/connections/reassign-connection/reassign-connection.prepare-drag-sequence.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IHandler, IPointerEvent } from '@foblex/core';
|
|
2
2
|
import { FComponentsStore } from '../../../f-components-store';
|
|
3
3
|
import { FDraggableDataContext } from '../../f-draggable-data-context';
|
|
4
|
-
import { GetConnectionHandler, GetConnectionVectorHandler, GetInputRectInFlowHandler, GetOutputRectInFlowHandler } from '../../../domain';
|
|
4
|
+
import { GetConnectionHandler, GetConnectionVectorHandler, GetInputRectInFlowHandler, GetOutputRectInFlowHandler, UpdateConnectionLayerHandler } from '../../../domain';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class ReassignConnectionPrepareDragSequence implements IHandler<IPointerEvent, void> {
|
|
7
7
|
private fComponentsStore;
|
|
@@ -10,9 +10,10 @@ export declare class ReassignConnectionPrepareDragSequence implements IHandler<I
|
|
|
10
10
|
private getInputRectInFlowHandler;
|
|
11
11
|
private getOutputRectInFlowHandler;
|
|
12
12
|
private getConnectionVectorHandler;
|
|
13
|
+
private updateConnectionLayerHandler;
|
|
13
14
|
private get transform();
|
|
14
15
|
private get flowHost();
|
|
15
|
-
constructor(fComponentsStore: FComponentsStore, fDraggableDataContext: FDraggableDataContext, getConnectionHandler: GetConnectionHandler, getInputRectInFlowHandler: GetInputRectInFlowHandler, getOutputRectInFlowHandler: GetOutputRectInFlowHandler, getConnectionVectorHandler: GetConnectionVectorHandler);
|
|
16
|
+
constructor(fComponentsStore: FComponentsStore, fDraggableDataContext: FDraggableDataContext, getConnectionHandler: GetConnectionHandler, getInputRectInFlowHandler: GetInputRectInFlowHandler, getOutputRectInFlowHandler: GetOutputRectInFlowHandler, getConnectionVectorHandler: GetConnectionVectorHandler, updateConnectionLayerHandler: UpdateConnectionLayerHandler);
|
|
16
17
|
handle(event: IPointerEvent): void;
|
|
17
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<ReassignConnectionPrepareDragSequence, never>;
|
|
18
19
|
static ɵprov: i0.ɵɵInjectableDeclaration<ReassignConnectionPrepareDragSequence>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { NodeOnPointerUp } from './node.on-pointer-up';
|
|
2
2
|
import { NodePrepareDragSequence } from './node.prepare-drag-sequence';
|
|
3
3
|
import { IsConnectionUnderNodeHandler } from './domain/is-connection-under-node';
|
|
4
|
-
export declare const NODE_PROVIDERS: (typeof
|
|
4
|
+
export declare const NODE_PROVIDERS: (typeof IsConnectionUnderNodeHandler | typeof NodeOnPointerUp | typeof NodePrepareDragSequence)[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { SelectionAreaPrepareDragSequence } from './selection-area.prepare-drag-sequence';
|
|
2
2
|
import { SelectionAreaOnPointerUp } from './selection-area.on-pointer-up';
|
|
3
3
|
import { GetCanBeSelectedItemsHandler } from './get-can-be-selected-items';
|
|
4
|
-
export declare const SELECTION_AREA_PROVIDERS: (typeof
|
|
4
|
+
export declare const SELECTION_AREA_PROVIDERS: (typeof GetCanBeSelectedItemsHandler | typeof SelectionAreaPrepareDragSequence | typeof SelectionAreaOnPointerUp)[];
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { IHandler, IPointerEvent } from '@foblex/core';
|
|
2
2
|
import { FComponentsStore } from '../../f-components-store';
|
|
3
3
|
import { FDraggableDataContext } from '../f-draggable-data-context';
|
|
4
|
-
import { GetConnectionHandler } from '../../domain';
|
|
4
|
+
import { GetConnectionHandler, UpdateConnectionLayerHandler } from '../../domain';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class SingleSelectOnPointerDown implements IHandler<IPointerEvent, void> {
|
|
7
7
|
private fComponentsStore;
|
|
8
8
|
private fDraggableDataContext;
|
|
9
9
|
private getConnectionHandler;
|
|
10
|
-
|
|
10
|
+
private updateConnectionLayerHandler;
|
|
11
|
+
constructor(fComponentsStore: FComponentsStore, fDraggableDataContext: FDraggableDataContext, getConnectionHandler: GetConnectionHandler, updateConnectionLayerHandler: UpdateConnectionLayerHandler);
|
|
11
12
|
handle(event: IPointerEvent): void;
|
|
12
13
|
private deselectAll;
|
|
13
14
|
private resetSelectionIfNotMultiselect;
|