@foblex/flow 17.4.2 → 17.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/domain/f-draggable/providers.d.ts +1 -1
- package/domain/f-node/providers.d.ts +1 -1
- package/domain/f-selection/providers.d.ts +1 -1
- package/domain/providers.d.ts +1 -1
- package/esm2022/f-draggable/f-canvas/f-canvas.drag-handler.mjs +5 -3
- package/esm2022/f-draggable/f-canvas/move-preparation/f-canvas-move-preparation.execution.mjs +4 -3
- package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/drag-handler-preparation/f-create-connection-drag-handler-preparation.execution.mjs +4 -3
- package/esm2022/f-draggable/f-connection/f-create-connection/f-create-connection.drag-handler.mjs +8 -6
- package/esm2022/f-draggable/f-connection/f-reassign-connection/f-reassign-connection.drag-handler.mjs +8 -6
- package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-preparation/f-reassign-connection-preparation.execution.mjs +4 -3
- package/esm2022/f-draggable/f-draggable.directive.mjs +2 -8
- package/esm2022/f-draggable/f-drop-to-group/drop-to-group-preparation/f-node-drop-to-group-preparation.execution.mjs +4 -3
- package/esm2022/f-draggable/f-drop-to-group/f-node-drop-to-group.drag-handler.mjs +7 -6
- package/esm2022/f-draggable/f-node-move/connection-drag-handlers/base-connection.drag-handler.mjs +6 -5
- package/esm2022/f-draggable/f-node-move/connection-drag-handlers/source-connection.drag-handler.mjs +3 -3
- package/esm2022/f-draggable/f-node-move/connection-drag-handlers/source-target-connection.drag-handler.mjs +3 -3
- package/esm2022/f-draggable/f-node-move/connection-drag-handlers/target-connection.drag-handler.mjs +3 -3
- package/esm2022/f-draggable/f-node-move/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.execution.mjs +4 -3
- package/esm2022/f-draggable/f-node-move/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/put-input-connection-handlers-to-array.execution.mjs +5 -4
- package/esm2022/f-draggable/f-node-move/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/put-output-connection-handlers-to-array.execution.mjs +5 -4
- package/esm2022/f-draggable/f-node-move/f-line-alignment.drag-handler.mjs +4 -4
- package/esm2022/f-draggable/f-node-move/f-summary-node-move.drag-handler.mjs +5 -5
- package/esm2022/f-draggable/f-node-move/line-alignment-preparation/line-alignment-preparation.execution.mjs +4 -3
- package/esm2022/f-draggable/f-node-move/point-bounds-limiter.mjs +8 -6
- package/esm2022/f-draggable/f-node-resize/f-node-resize.drag-handler.mjs +4 -4
- package/esm2022/f-draggable/f-node-resize/resize-preparation/f-node-resize-preparation.execution.mjs +4 -3
- package/esm2022/f-draggable/f-node-rotate/f-node-rotate.drag-handler.mjs +8 -6
- package/esm2022/f-draggable/f-node-rotate/rotate-preparation/f-node-rotate-preparation.execution.mjs +6 -5
- package/esm2022/f-draggable/index.mjs +1 -2
- package/esm2022/f-external-item/domain/f-external-item.drag-handler.mjs +9 -6
- package/esm2022/f-external-item/domain/preparation/f-external-item-preparation.execution.mjs +4 -3
- package/f-backgroud/providers.d.ts +1 -1
- package/f-connection/providers.d.ts +1 -1
- package/f-draggable/f-canvas/f-canvas.drag-handler.d.ts +3 -1
- package/f-draggable/f-canvas/move-preparation/f-canvas-move-preparation.execution.d.ts +3 -2
- package/f-draggable/f-canvas/providers.d.ts +1 -1
- package/f-draggable/f-connection/f-create-connection/create-preparation/drag-handler-preparation/f-create-connection-drag-handler-preparation.execution.d.ts +3 -2
- package/f-draggable/f-connection/f-create-connection/f-create-connection.drag-handler.d.ts +5 -4
- package/f-draggable/f-connection/f-reassign-connection/f-reassign-connection.drag-handler.d.ts +5 -4
- package/f-draggable/f-connection/f-reassign-connection/reassign-preparation/f-reassign-connection-preparation.execution.d.ts +4 -3
- package/f-draggable/f-connection/providers.d.ts +1 -1
- package/f-draggable/f-draggable.directive.d.ts +0 -1
- package/f-draggable/f-drop-to-group/drop-to-group-preparation/f-node-drop-to-group-preparation.execution.d.ts +4 -3
- package/f-draggable/f-drop-to-group/f-node-drop-to-group.drag-handler.d.ts +4 -3
- package/f-draggable/f-node-move/connection-drag-handlers/base-connection.drag-handler.d.ts +2 -1
- package/f-draggable/f-node-move/connection-drag-handlers/source-connection.drag-handler.d.ts +2 -1
- package/f-draggable/f-node-move/connection-drag-handlers/source-target-connection.drag-handler.d.ts +2 -1
- package/f-draggable/f-node-move/connection-drag-handlers/target-connection.drag-handler.d.ts +2 -1
- package/f-draggable/f-node-move/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.execution.d.ts +1 -0
- package/f-draggable/f-node-move/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/put-input-connection-handlers-to-array.execution.d.ts +2 -1
- package/f-draggable/f-node-move/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/put-output-connection-handlers-to-array.execution.d.ts +2 -1
- package/f-draggable/f-node-move/create-move-nodes-drag-model-from-selection/providers.d.ts +1 -1
- package/f-draggable/f-node-move/f-line-alignment.drag-handler.d.ts +2 -1
- package/f-draggable/f-node-move/f-summary-node-move.drag-handler.d.ts +2 -1
- package/f-draggable/f-node-move/line-alignment-preparation/line-alignment-preparation.execution.d.ts +5 -4
- package/f-draggable/f-node-move/point-bounds-limiter.d.ts +4 -3
- package/f-draggable/f-node-move/providers.d.ts +1 -1
- package/f-draggable/f-node-resize/f-node-resize.drag-handler.d.ts +2 -1
- package/f-draggable/f-node-resize/providers.d.ts +1 -1
- package/f-draggable/f-node-resize/resize-preparation/f-node-resize-preparation.execution.d.ts +4 -3
- package/f-draggable/f-node-rotate/f-node-rotate.drag-handler.d.ts +2 -1
- package/f-draggable/f-node-rotate/providers.d.ts +1 -1
- package/f-draggable/f-node-rotate/rotate-preparation/f-node-rotate-preparation.execution.d.ts +1 -0
- package/f-draggable/index.d.ts +0 -1
- package/f-draggable/providers.d.ts +1 -1
- package/f-external-item/domain/f-external-item.drag-handler.d.ts +5 -4
- package/f-external-item/domain/preparation/f-external-item-preparation.execution.d.ts +1 -0
- package/f-external-item/domain/providers.d.ts +1 -1
- package/f-minimap/providers.d.ts +1 -1
- package/fesm2022/foblex-flow.mjs +94 -82
- package/fesm2022/foblex-flow.mjs.map +1 -1
- package/package.json +1 -1
- package/esm2022/f-draggable/f-injector.mjs +0 -19
- package/f-draggable/f-injector.d.ts +0 -8
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import { IPoint } from '@foblex/2d';
|
|
2
2
|
import { FExternalItemBase } from '../../f-external-item';
|
|
3
3
|
import { IFDragHandler } from '../../f-draggable';
|
|
4
|
+
import { Injector } from '@angular/core';
|
|
4
5
|
export declare class FExternalItemDragHandler implements IFDragHandler {
|
|
5
6
|
private _fExternalItem;
|
|
6
7
|
fEventType: string;
|
|
7
8
|
fData: any;
|
|
8
|
-
private _fResult;
|
|
9
|
-
private _fMediator;
|
|
10
|
-
private _fBrowser;
|
|
9
|
+
private readonly _fResult;
|
|
10
|
+
private readonly _fMediator;
|
|
11
|
+
private readonly _fBrowser;
|
|
11
12
|
private _preview;
|
|
12
13
|
private _placeholder;
|
|
13
14
|
private _onPointerDownRect;
|
|
14
15
|
private get _fItemHost();
|
|
15
|
-
constructor(_fExternalItem: FExternalItemBase);
|
|
16
|
+
constructor(_injector: Injector, _fExternalItem: FExternalItemBase);
|
|
16
17
|
prepareDragSequence(): void;
|
|
17
18
|
private _createAndAppendPreview;
|
|
18
19
|
private _createAndAppendPlaceholder;
|
|
@@ -5,6 +5,7 @@ export declare class FExternalItemPreparationExecution implements IExecution<FEx
|
|
|
5
5
|
private readonly _fExternalItemService;
|
|
6
6
|
private readonly _fDraggableDataContext;
|
|
7
7
|
private readonly _fComponentsStore;
|
|
8
|
+
private readonly _injector;
|
|
8
9
|
private get _fHost();
|
|
9
10
|
handle(request: FExternalItemPreparationRequest): void;
|
|
10
11
|
private _isValid;
|
|
@@ -3,4 +3,4 @@ import { FExternalItemFinalizeExecution } from './finalize';
|
|
|
3
3
|
import { PreventDefaultIsExternalItemExecution } from './prevent-default-is-external-item';
|
|
4
4
|
import { FExternalItemCreatePreviewExecution } from './create-preview';
|
|
5
5
|
import { FExternalItemCreatePlaceholderExecution } from './create-placeholder';
|
|
6
|
-
export declare const F_EXTERNAL_ITEM_DRAG_AND_DROP_PROVIDERS: (typeof
|
|
6
|
+
export declare const F_EXTERNAL_ITEM_DRAG_AND_DROP_PROVIDERS: (typeof FExternalItemPreparationExecution | typeof FExternalItemFinalizeExecution | typeof FExternalItemCreatePlaceholderExecution | typeof FExternalItemCreatePreviewExecution | typeof PreventDefaultIsExternalItemExecution)[];
|
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 FMinimapComponent | typeof FMinimapCanvasDirective | typeof
|
|
5
|
+
export declare const F_MINIMAP_PROVIDERS: (typeof FMinimapComponent | typeof FMinimapCanvasDirective | typeof FMinimapViewDirective | typeof FMinimapFlowDirective)[];
|
package/fesm2022/foblex-flow.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, inject, Injectable, effect, Directive, input, computed, EventEmitter, DestroyRef, booleanAttribute, Input, Output, ElementRef, Inject, Component, ChangeDetectionStrategy, ViewChild, Optional, numberAttribute, ContentChildren, ViewContainerRef, TemplateRef,
|
|
2
|
+
import { InjectionToken, inject, Injectable, effect, Directive, input, computed, EventEmitter, DestroyRef, booleanAttribute, Input, Output, ElementRef, Inject, Component, ChangeDetectionStrategy, ViewChild, Optional, numberAttribute, ContentChildren, Injector, ViewContainerRef, TemplateRef, NgZone, contentChild, output, viewChild, Renderer2, NgModule } from '@angular/core';
|
|
3
3
|
import { RectExtensions, RoundedRect, TransformModelExtensions, PointExtensions, SizeExtensions, Point, LineExtensions, GetIntersections, findClosestAlignment, setRectToElement, adjustRectToMinSize, setRectToViewBox } from '@foblex/2d';
|
|
4
4
|
import { __decorate } from 'tslib';
|
|
5
5
|
import * as i2$1 from '@foblex/mediator';
|
|
@@ -3733,29 +3733,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImpor
|
|
|
3733
3733
|
type: Injectable
|
|
3734
3734
|
}] });
|
|
3735
3735
|
|
|
3736
|
-
class FInjector {
|
|
3737
|
-
static _injector;
|
|
3738
|
-
static set(injector) {
|
|
3739
|
-
this._injector = injector;
|
|
3740
|
-
}
|
|
3741
|
-
static clear() {
|
|
3742
|
-
this._injector = undefined;
|
|
3743
|
-
}
|
|
3744
|
-
static get() {
|
|
3745
|
-
if (!this._injector) {
|
|
3746
|
-
throw new Error('No injector available');
|
|
3747
|
-
}
|
|
3748
|
-
return this._injector;
|
|
3749
|
-
}
|
|
3750
|
-
}
|
|
3751
|
-
function fInject(token) {
|
|
3752
|
-
return FInjector.get().get(token);
|
|
3753
|
-
}
|
|
3754
|
-
|
|
3755
3736
|
class FCanvasDragHandler {
|
|
3756
3737
|
fEventType = 'canvas-move';
|
|
3757
|
-
_fComponentsStore
|
|
3738
|
+
_fComponentsStore;
|
|
3758
3739
|
_onPointerDownPosition = PointExtensions.initialize();
|
|
3740
|
+
constructor(_injector) {
|
|
3741
|
+
this._fComponentsStore = _injector.get(FComponentsStore);
|
|
3742
|
+
}
|
|
3759
3743
|
prepareDragSequence() {
|
|
3760
3744
|
this._onPointerDownPosition = this._fComponentsStore.fCanvas.transform.position;
|
|
3761
3745
|
}
|
|
@@ -3801,6 +3785,7 @@ class FCanvasMovePreparationRequest {
|
|
|
3801
3785
|
let FCanvasMovePreparationExecution = class FCanvasMovePreparationExecution {
|
|
3802
3786
|
_fComponentsStore = inject(FComponentsStore);
|
|
3803
3787
|
_fDraggableDataContext = inject(FDraggableDataContext);
|
|
3788
|
+
_injector = inject(Injector);
|
|
3804
3789
|
get _fHost() {
|
|
3805
3790
|
return this._fComponentsStore.fFlow.hostElement;
|
|
3806
3791
|
}
|
|
@@ -3811,7 +3796,7 @@ let FCanvasMovePreparationExecution = class FCanvasMovePreparationExecution {
|
|
|
3811
3796
|
this._fDraggableDataContext.onPointerDownScale = 1;
|
|
3812
3797
|
this._fDraggableDataContext.onPointerDownPosition = Point.fromPoint(request.event.getPosition())
|
|
3813
3798
|
.elementTransform(this._fHost);
|
|
3814
|
-
this._fDraggableDataContext.draggableItems = [new FCanvasDragHandler()];
|
|
3799
|
+
this._fDraggableDataContext.draggableItems = [new FCanvasDragHandler(this._injector)];
|
|
3815
3800
|
}
|
|
3816
3801
|
_isValid(request) {
|
|
3817
3802
|
return this._fDraggableDataContext.isEmpty() &&
|
|
@@ -3936,9 +3921,9 @@ class FCreateConnectionDragHandler {
|
|
|
3936
3921
|
_fOutputOrOutlet;
|
|
3937
3922
|
fEventType = 'create-connection';
|
|
3938
3923
|
fData;
|
|
3939
|
-
_fResult
|
|
3940
|
-
_fMediator
|
|
3941
|
-
_fComponentsStore
|
|
3924
|
+
_fResult;
|
|
3925
|
+
_fMediator;
|
|
3926
|
+
_fComponentsStore;
|
|
3942
3927
|
_toConnectorRect = new RoundedRect();
|
|
3943
3928
|
get _fConnection() {
|
|
3944
3929
|
return this._fComponentsStore.fTempConnection;
|
|
@@ -3948,8 +3933,11 @@ class FCreateConnectionDragHandler {
|
|
|
3948
3933
|
}
|
|
3949
3934
|
_fOutputWithRect;
|
|
3950
3935
|
_canBeConnectedInputs = [];
|
|
3951
|
-
constructor(_fOutputOrOutlet, _onPointerDownPosition) {
|
|
3936
|
+
constructor(_injector, _fOutputOrOutlet, _onPointerDownPosition) {
|
|
3952
3937
|
this._fOutputOrOutlet = _fOutputOrOutlet;
|
|
3938
|
+
this._fResult = _injector.get(FDragHandlerResult);
|
|
3939
|
+
this._fMediator = _injector.get(FMediator);
|
|
3940
|
+
this._fComponentsStore = _injector.get(FComponentsStore);
|
|
3953
3941
|
this._toConnectorRect = RoundedRect.fromRect(RectExtensions.initialize(_onPointerDownPosition.x, _onPointerDownPosition.y));
|
|
3954
3942
|
this.fData = {
|
|
3955
3943
|
fOutputOrOutletId: this._fOutputOrOutlet.fId,
|
|
@@ -4078,6 +4066,7 @@ class FCreateConnectionDragHandlerPreparationRequest {
|
|
|
4078
4066
|
let FCreateConnectionDragHandlerPreparationExecution = class FCreateConnectionDragHandlerPreparationExecution {
|
|
4079
4067
|
_fComponentsStore = inject(FComponentsStore);
|
|
4080
4068
|
_fDraggableDataContext = inject(FDraggableDataContext);
|
|
4069
|
+
_injector = inject(Injector);
|
|
4081
4070
|
get _fHost() {
|
|
4082
4071
|
return this._fComponentsStore.fFlow.hostElement;
|
|
4083
4072
|
}
|
|
@@ -4092,7 +4081,7 @@ let FCreateConnectionDragHandlerPreparationExecution = class FCreateConnectionDr
|
|
|
4092
4081
|
const positionRelativeToCanvasComponent = Point.fromPoint(positionRelativeToFlowComponent).mult(this._transform.scale)
|
|
4093
4082
|
.sub(this._transform.position).sub(this._transform.scaledPosition).div(this._transform.scale);
|
|
4094
4083
|
this._fDraggableDataContext.draggableItems = [
|
|
4095
|
-
new FCreateConnectionDragHandler(request.fOutputOrOutlet, positionRelativeToCanvasComponent)
|
|
4084
|
+
new FCreateConnectionDragHandler(this._injector, request.fOutputOrOutlet, positionRelativeToCanvasComponent)
|
|
4096
4085
|
];
|
|
4097
4086
|
}
|
|
4098
4087
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FCreateConnectionDragHandlerPreparationExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
@@ -4268,9 +4257,9 @@ class FReassignConnectionDragHandler {
|
|
|
4268
4257
|
_fConnection;
|
|
4269
4258
|
fEventType = 'reassign-connection';
|
|
4270
4259
|
fData;
|
|
4271
|
-
_fResult
|
|
4272
|
-
_fMediator
|
|
4273
|
-
_fComponentsStore
|
|
4260
|
+
_fResult;
|
|
4261
|
+
_fMediator;
|
|
4262
|
+
_fComponentsStore;
|
|
4274
4263
|
_toConnectorRect = new RoundedRect();
|
|
4275
4264
|
get _fSnapConnection() {
|
|
4276
4265
|
return this._fComponentsStore.fSnapConnection;
|
|
@@ -4292,8 +4281,11 @@ class FReassignConnectionDragHandler {
|
|
|
4292
4281
|
}
|
|
4293
4282
|
return result;
|
|
4294
4283
|
}
|
|
4295
|
-
constructor(_fConnection) {
|
|
4284
|
+
constructor(_injector, _fConnection) {
|
|
4296
4285
|
this._fConnection = _fConnection;
|
|
4286
|
+
this._fResult = _injector.get(FDragHandlerResult);
|
|
4287
|
+
this._fMediator = _injector.get(FMediator);
|
|
4288
|
+
this._fComponentsStore = _injector.get(FComponentsStore);
|
|
4297
4289
|
this._toConnectorRect = RoundedRect.fromRect(RectExtensions.initialize(this._fConnection.line.point2.x, this._fConnection.line.point2.y));
|
|
4298
4290
|
this.fData = {
|
|
4299
4291
|
fConnectionId: this._fConnection.fId
|
|
@@ -4442,6 +4434,7 @@ let FReassignConnectionPreparationExecution = class FReassignConnectionPreparati
|
|
|
4442
4434
|
_fMediator = inject(FMediator);
|
|
4443
4435
|
_fComponentsStore = inject(FComponentsStore);
|
|
4444
4436
|
_fDraggableDataContext = inject(FDraggableDataContext);
|
|
4437
|
+
_injector = inject(Injector);
|
|
4445
4438
|
_fConnection;
|
|
4446
4439
|
get _transform() {
|
|
4447
4440
|
return this._fComponentsStore.fCanvas.transform;
|
|
@@ -4460,7 +4453,7 @@ let FReassignConnectionPreparationExecution = class FReassignConnectionPreparati
|
|
|
4460
4453
|
this._fDraggableDataContext.onPointerDownPosition = Point.fromPoint(request.event.getPosition())
|
|
4461
4454
|
.elementTransform(this._fHost).div(this._transform.scale);
|
|
4462
4455
|
this._fDraggableDataContext.draggableItems = [
|
|
4463
|
-
new FReassignConnectionDragHandler(this._fConnection)
|
|
4456
|
+
new FReassignConnectionDragHandler(this._injector, this._fConnection)
|
|
4464
4457
|
];
|
|
4465
4458
|
setTimeout(() => this._updateConnectionLayer());
|
|
4466
4459
|
}
|
|
@@ -4522,8 +4515,8 @@ class FNodeDropToGroupFinalizeRequest {
|
|
|
4522
4515
|
|
|
4523
4516
|
class FNodeDropToGroupDragHandler {
|
|
4524
4517
|
notDraggedNodesRects;
|
|
4525
|
-
_fComponentsStore
|
|
4526
|
-
_fDraggableDataContext
|
|
4518
|
+
_fComponentsStore;
|
|
4519
|
+
_fDraggableDataContext;
|
|
4527
4520
|
fEventType = 'move-node-to-parent';
|
|
4528
4521
|
_DEBOUNCE_TIME = 15;
|
|
4529
4522
|
get _transform() {
|
|
@@ -4532,8 +4525,10 @@ class FNodeDropToGroupDragHandler {
|
|
|
4532
4525
|
_onPointerDownPosition = PointExtensions.initialize();
|
|
4533
4526
|
_debounceTimer = null;
|
|
4534
4527
|
fNodeWithRect = null;
|
|
4535
|
-
constructor(notDraggedNodesRects) {
|
|
4528
|
+
constructor(_injector, notDraggedNodesRects) {
|
|
4536
4529
|
this.notDraggedNodesRects = notDraggedNodesRects;
|
|
4530
|
+
this._fComponentsStore = _injector.get(FComponentsStore);
|
|
4531
|
+
this._fDraggableDataContext = _injector.get(FDraggableDataContext);
|
|
4537
4532
|
this._onPointerDownPosition = this._fDraggableDataContext.onPointerDownPosition;
|
|
4538
4533
|
}
|
|
4539
4534
|
_toggleParentNode(difference) {
|
|
@@ -4578,12 +4573,12 @@ class FNodeDropToGroupDragHandler {
|
|
|
4578
4573
|
}
|
|
4579
4574
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FNodeDropToGroupDragHandler, decorators: [{
|
|
4580
4575
|
type: Directive
|
|
4581
|
-
}], ctorParameters: () => [{ type: undefined }] });
|
|
4576
|
+
}], ctorParameters: () => [{ type: i0.Injector }, { type: undefined }] });
|
|
4582
4577
|
|
|
4583
4578
|
class BaseConnectionDragHandler {
|
|
4584
4579
|
fConnection;
|
|
4585
|
-
_fMediator
|
|
4586
|
-
_fComponentsStore
|
|
4580
|
+
_fMediator;
|
|
4581
|
+
_fComponentsStore;
|
|
4587
4582
|
_fOutputWithRect;
|
|
4588
4583
|
_fInputWithRect;
|
|
4589
4584
|
get _fOutput() {
|
|
@@ -4602,8 +4597,10 @@ class BaseConnectionDragHandler {
|
|
|
4602
4597
|
}
|
|
4603
4598
|
_sourceDifference = PointExtensions.initialize();
|
|
4604
4599
|
_targetDifference = PointExtensions.initialize();
|
|
4605
|
-
constructor(fConnection) {
|
|
4600
|
+
constructor(_injector, fConnection) {
|
|
4606
4601
|
this.fConnection = fConnection;
|
|
4602
|
+
this._fMediator = _injector.get(FMediator);
|
|
4603
|
+
this._fComponentsStore = _injector.get(FComponentsStore);
|
|
4607
4604
|
this._initialize();
|
|
4608
4605
|
}
|
|
4609
4606
|
_initialize() {
|
|
@@ -4632,8 +4629,8 @@ class BaseConnectionDragHandler {
|
|
|
4632
4629
|
}
|
|
4633
4630
|
|
|
4634
4631
|
class SourceConnectionDragHandler extends BaseConnectionDragHandler {
|
|
4635
|
-
constructor(fConnection) {
|
|
4636
|
-
super(fConnection);
|
|
4632
|
+
constructor(injector, fConnection) {
|
|
4633
|
+
super(injector, fConnection);
|
|
4637
4634
|
}
|
|
4638
4635
|
setSourceDifference(difference) {
|
|
4639
4636
|
super.setSourceDifference(difference);
|
|
@@ -4643,8 +4640,8 @@ class SourceConnectionDragHandler extends BaseConnectionDragHandler {
|
|
|
4643
4640
|
|
|
4644
4641
|
class SourceTargetConnectionDragHandler extends BaseConnectionDragHandler {
|
|
4645
4642
|
_callTracker = new Map();
|
|
4646
|
-
constructor(fConnection) {
|
|
4647
|
-
super(fConnection);
|
|
4643
|
+
constructor(injector, fConnection) {
|
|
4644
|
+
super(injector, fConnection);
|
|
4648
4645
|
}
|
|
4649
4646
|
setSourceDifference(difference) {
|
|
4650
4647
|
super.setSourceDifference(difference);
|
|
@@ -4663,8 +4660,8 @@ class SourceTargetConnectionDragHandler extends BaseConnectionDragHandler {
|
|
|
4663
4660
|
}
|
|
4664
4661
|
|
|
4665
4662
|
class TargetConnectionDragHandler extends BaseConnectionDragHandler {
|
|
4666
|
-
constructor(fConnection) {
|
|
4667
|
-
super(fConnection);
|
|
4663
|
+
constructor(injector, fConnection) {
|
|
4664
|
+
super(injector, fConnection);
|
|
4668
4665
|
}
|
|
4669
4666
|
setTargetDifference(difference) {
|
|
4670
4667
|
super.setTargetDifference(difference);
|
|
@@ -4754,6 +4751,7 @@ class PutInputConnectionHandlersToArrayRequest {
|
|
|
4754
4751
|
|
|
4755
4752
|
let PutInputConnectionHandlersToArrayExecution = class PutInputConnectionHandlersToArrayExecution {
|
|
4756
4753
|
_fComponentsStore = inject(FComponentsStore);
|
|
4754
|
+
_injector = inject(Injector);
|
|
4757
4755
|
get _fConnections() {
|
|
4758
4756
|
return this._fComponentsStore.fConnections;
|
|
4759
4757
|
}
|
|
@@ -4785,10 +4783,10 @@ let PutInputConnectionHandlersToArrayExecution = class PutInputConnectionHandler
|
|
|
4785
4783
|
_createConnectionHandler(outputIds, fConnection) {
|
|
4786
4784
|
let result;
|
|
4787
4785
|
if (outputIds.includes(fConnection.fOutputId)) {
|
|
4788
|
-
result = new SourceTargetConnectionDragHandler(fConnection);
|
|
4786
|
+
result = new SourceTargetConnectionDragHandler(this._injector, fConnection);
|
|
4789
4787
|
}
|
|
4790
4788
|
else {
|
|
4791
|
-
result = new TargetConnectionDragHandler(fConnection);
|
|
4789
|
+
result = new TargetConnectionDragHandler(this._injector, fConnection);
|
|
4792
4790
|
}
|
|
4793
4791
|
return result;
|
|
4794
4792
|
}
|
|
@@ -4815,6 +4813,7 @@ class PutOutputConnectionHandlersToArrayRequest {
|
|
|
4815
4813
|
|
|
4816
4814
|
let PutOutputConnectionHandlersToArrayExecution = class PutOutputConnectionHandlersToArrayExecution {
|
|
4817
4815
|
_fComponentsStore = inject(FComponentsStore);
|
|
4816
|
+
_injector = inject(Injector);
|
|
4818
4817
|
get _fConnections() {
|
|
4819
4818
|
return this._fComponentsStore.fConnections;
|
|
4820
4819
|
}
|
|
@@ -4846,10 +4845,10 @@ let PutOutputConnectionHandlersToArrayExecution = class PutOutputConnectionHandl
|
|
|
4846
4845
|
_createConnectionHandler(inputIds, fConnection) {
|
|
4847
4846
|
let result;
|
|
4848
4847
|
if (inputIds.includes(fConnection.fInputId)) {
|
|
4849
|
-
result = new SourceTargetConnectionDragHandler(fConnection);
|
|
4848
|
+
result = new SourceTargetConnectionDragHandler(this._injector, fConnection);
|
|
4850
4849
|
}
|
|
4851
4850
|
else {
|
|
4852
|
-
result = new SourceConnectionDragHandler(fConnection);
|
|
4851
|
+
result = new SourceConnectionDragHandler(this._injector, fConnection);
|
|
4853
4852
|
}
|
|
4854
4853
|
return result;
|
|
4855
4854
|
}
|
|
@@ -4951,12 +4950,15 @@ class FNodeMoveDragHandler {
|
|
|
4951
4950
|
class PointBoundsLimiter {
|
|
4952
4951
|
_onPointerDown;
|
|
4953
4952
|
_limit;
|
|
4954
|
-
_fComponentsStore
|
|
4955
|
-
_vCellSize
|
|
4956
|
-
_hCellSize
|
|
4957
|
-
constructor(_onPointerDown, _limit) {
|
|
4953
|
+
_fComponentsStore;
|
|
4954
|
+
_vCellSize;
|
|
4955
|
+
_hCellSize;
|
|
4956
|
+
constructor(_injector, _onPointerDown, _limit) {
|
|
4958
4957
|
this._onPointerDown = _onPointerDown;
|
|
4959
4958
|
this._limit = _limit;
|
|
4959
|
+
this._fComponentsStore = _injector.get(FComponentsStore);
|
|
4960
|
+
this._vCellSize = this._fComponentsStore.fDraggable.vCellSize;
|
|
4961
|
+
this._hCellSize = this._fComponentsStore.fDraggable.hCellSize;
|
|
4960
4962
|
}
|
|
4961
4963
|
limit(difference, adjustCellSize) {
|
|
4962
4964
|
const { min, max } = this._limit;
|
|
@@ -4993,13 +4995,14 @@ class FSummaryNodeMoveDragHandler {
|
|
|
4993
4995
|
commonRect;
|
|
4994
4996
|
fEventType = 'move-node';
|
|
4995
4997
|
fData;
|
|
4996
|
-
_fComponentStore
|
|
4998
|
+
_fComponentStore;
|
|
4997
4999
|
_fBoundsLimiter;
|
|
4998
|
-
constructor(limits, fHandlers, commonRect) {
|
|
5000
|
+
constructor(_injector, limits, fHandlers, commonRect) {
|
|
4999
5001
|
this.limits = limits;
|
|
5000
5002
|
this.fHandlers = fHandlers;
|
|
5001
5003
|
this.commonRect = commonRect;
|
|
5002
|
-
this.
|
|
5004
|
+
this._fComponentStore = _injector.get(FComponentsStore);
|
|
5005
|
+
this._fBoundsLimiter = new PointBoundsLimiter(_injector, this.commonRect, limits);
|
|
5003
5006
|
this.fData = {
|
|
5004
5007
|
fNodeIds: this.fHandlers.map((x) => x.fNode.fId)
|
|
5005
5008
|
};
|
|
@@ -5021,13 +5024,14 @@ let CreateMoveNodesDragModelFromSelectionExecution = class CreateMoveNodesDragMo
|
|
|
5021
5024
|
_fMediator = inject(FMediator);
|
|
5022
5025
|
_fComponentsStore = inject(FComponentsStore);
|
|
5023
5026
|
_fDraggableDataContext = inject(FDraggableDataContext);
|
|
5027
|
+
_injector = inject(Injector);
|
|
5024
5028
|
handle(request) {
|
|
5025
5029
|
const fDraggedNodes = this._getDraggedNodes(request.nodeWithDisabledSelection);
|
|
5026
5030
|
const fNodesToDrag = this._getNodesToDragWithCommonLimits(fDraggedNodes);
|
|
5027
5031
|
const fDragHandlers = this._mapToNodeDragHandlers(fNodesToDrag);
|
|
5028
5032
|
this._setConnectionsHandlersToNodes(fDragHandlers, this._getAllOutputIds(fNodesToDrag), this._getAllInputIds(fNodesToDrag));
|
|
5029
5033
|
const commonLimits = this._calculateCommonLimits(this._getNodesMoveLimits(fNodesToDrag, [], fDraggedNodes));
|
|
5030
|
-
return new FSummaryNodeMoveDragHandler(commonLimits, fDragHandlers, this._getDraggedNodesBoundingRect(fNodesToDrag));
|
|
5034
|
+
return new FSummaryNodeMoveDragHandler(this._injector, commonLimits, fDragHandlers, this._getDraggedNodesBoundingRect(fNodesToDrag));
|
|
5031
5035
|
}
|
|
5032
5036
|
_getDraggedNodes(nodeWithDisabledSelection) {
|
|
5033
5037
|
const result = this._getNodesFromSelection();
|
|
@@ -5132,15 +5136,16 @@ class FLineAlignmentDragHandler {
|
|
|
5132
5136
|
_rects;
|
|
5133
5137
|
_restrictions;
|
|
5134
5138
|
fEventType = 'line-alignment';
|
|
5135
|
-
_fComponentsStore
|
|
5139
|
+
_fComponentsStore;
|
|
5136
5140
|
_debounceTimer = null;
|
|
5137
5141
|
_transform;
|
|
5138
|
-
constructor(_lineService, _size, _draggedNodeRect, _rects, _restrictions) {
|
|
5142
|
+
constructor(_injector, _lineService, _size, _draggedNodeRect, _rects, _restrictions) {
|
|
5139
5143
|
this._lineService = _lineService;
|
|
5140
5144
|
this._size = _size;
|
|
5141
5145
|
this._draggedNodeRect = _draggedNodeRect;
|
|
5142
5146
|
this._rects = _rects;
|
|
5143
5147
|
this._restrictions = _restrictions;
|
|
5148
|
+
this._fComponentsStore = _injector.get(FComponentsStore);
|
|
5144
5149
|
this._transform = this._fComponentsStore.fCanvas?.transform;
|
|
5145
5150
|
}
|
|
5146
5151
|
onPointerMove(difference) {
|
|
@@ -5291,12 +5296,13 @@ let LineAlignmentPreparationExecution = class LineAlignmentPreparationExecution
|
|
|
5291
5296
|
_fComponentsStore = inject(FComponentsStore);
|
|
5292
5297
|
_fDraggableDataContext = inject(FDraggableDataContext);
|
|
5293
5298
|
_fBrowser = inject(BrowserService);
|
|
5299
|
+
_injector = inject(Injector);
|
|
5294
5300
|
_lineService;
|
|
5295
5301
|
handle(request) {
|
|
5296
5302
|
this._addLineAlignmentDragHandler(request.fNodes, request.commonRect);
|
|
5297
5303
|
}
|
|
5298
5304
|
_addLineAlignmentDragHandler(fNodes, commonRect) {
|
|
5299
|
-
this._fDraggableDataContext.draggableItems.push(new FLineAlignmentDragHandler(this._lineService || this._createLineService(), this._getFlowHostSize(), commonRect, this._getStaticNodeRects(fNodes), this._getCommonRestrictions()));
|
|
5305
|
+
this._fDraggableDataContext.draggableItems.push(new FLineAlignmentDragHandler(this._injector, this._lineService || this._createLineService(), this._getFlowHostSize(), commonRect, this._getStaticNodeRects(fNodes), this._getCommonRestrictions()));
|
|
5300
5306
|
}
|
|
5301
5307
|
_getFlowHostSize() {
|
|
5302
5308
|
return this._fMediator.execute(new GetFlowHostElementRequest())
|
|
@@ -5562,6 +5568,7 @@ let FNodeDropToGroupPreparationExecution = class FNodeDropToGroupPreparationExec
|
|
|
5562
5568
|
_fMediator = inject(FMediator);
|
|
5563
5569
|
_fDraggableDataContext = inject(FDraggableDataContext);
|
|
5564
5570
|
_fComponentsStore = inject(FComponentsStore);
|
|
5571
|
+
_injector = inject(Injector);
|
|
5565
5572
|
get _fNodes() {
|
|
5566
5573
|
return this._fComponentsStore.fNodes;
|
|
5567
5574
|
}
|
|
@@ -5580,7 +5587,7 @@ let FNodeDropToGroupPreparationExecution = class FNodeDropToGroupPreparationExec
|
|
|
5580
5587
|
if (!fNode) {
|
|
5581
5588
|
throw new Error('Node not found');
|
|
5582
5589
|
}
|
|
5583
|
-
this._fDraggableDataContext.draggableItems.push(new FNodeDropToGroupDragHandler(this._getNotDraggedNodesRects()));
|
|
5590
|
+
this._fDraggableDataContext.draggableItems.push(new FNodeDropToGroupDragHandler(this._injector, this._getNotDraggedNodesRects()));
|
|
5584
5591
|
}
|
|
5585
5592
|
_isValid() {
|
|
5586
5593
|
return this._fDraggableDataContext.draggableItems
|
|
@@ -5899,15 +5906,16 @@ class FNodeResizeDragHandler {
|
|
|
5899
5906
|
_fResizeHandleType;
|
|
5900
5907
|
fEventType = 'node-resize';
|
|
5901
5908
|
fData;
|
|
5902
|
-
_fMediator
|
|
5909
|
+
_fMediator;
|
|
5903
5910
|
_originalRect;
|
|
5904
5911
|
_resizeRestrictions;
|
|
5905
|
-
constructor(_fNode, _fResizeHandleType) {
|
|
5912
|
+
constructor(_injector, _fNode, _fResizeHandleType) {
|
|
5906
5913
|
this._fNode = _fNode;
|
|
5907
5914
|
this._fResizeHandleType = _fResizeHandleType;
|
|
5908
5915
|
this.fData = {
|
|
5909
5916
|
fNodeId: _fNode.fId,
|
|
5910
5917
|
};
|
|
5918
|
+
this._fMediator = _injector.get(FMediator);
|
|
5911
5919
|
}
|
|
5912
5920
|
prepareDragSequence() {
|
|
5913
5921
|
this._originalRect = this._getOriginalNodeRect();
|
|
@@ -5994,6 +6002,7 @@ let FNodeResizePreparationExecution = class FNodeResizePreparationExecution {
|
|
|
5994
6002
|
_fMediator = inject(FMediator);
|
|
5995
6003
|
_fComponentsStore = inject(FComponentsStore);
|
|
5996
6004
|
_fDraggableDataContext = inject(FDraggableDataContext);
|
|
6005
|
+
_injector = inject(Injector);
|
|
5997
6006
|
get _transform() {
|
|
5998
6007
|
return this._fComponentsStore.fCanvas.transform;
|
|
5999
6008
|
}
|
|
@@ -6011,7 +6020,7 @@ let FNodeResizePreparationExecution = class FNodeResizePreparationExecution {
|
|
|
6011
6020
|
.elementTransform(this._fHost).div(this._transform.scale);
|
|
6012
6021
|
const resizeHandleType = EFResizeHandleType[this._getHandleType(request.event.targetElement)];
|
|
6013
6022
|
this._fDraggableDataContext.draggableItems = [
|
|
6014
|
-
new FNodeResizeDragHandler(this._fNode, resizeHandleType)
|
|
6023
|
+
new FNodeResizeDragHandler(this._injector, this._fNode, resizeHandleType)
|
|
6015
6024
|
];
|
|
6016
6025
|
}
|
|
6017
6026
|
_isValid(request) {
|
|
@@ -6090,9 +6099,9 @@ class FNodeRotateDragHandler {
|
|
|
6090
6099
|
_fNode;
|
|
6091
6100
|
_fSourceHandlers;
|
|
6092
6101
|
_fTargetHandlers;
|
|
6093
|
-
_fComponentsStore
|
|
6094
|
-
_fMediator
|
|
6095
|
-
_fDraggableDataContext
|
|
6102
|
+
_fComponentsStore;
|
|
6103
|
+
_fMediator;
|
|
6104
|
+
_fDraggableDataContext;
|
|
6096
6105
|
fEventType = 'node-rotate';
|
|
6097
6106
|
fData;
|
|
6098
6107
|
_initialRotationToX = 0;
|
|
@@ -6102,7 +6111,7 @@ class FNodeRotateDragHandler {
|
|
|
6102
6111
|
get _transform() {
|
|
6103
6112
|
return this._fComponentsStore.fCanvas.transform;
|
|
6104
6113
|
}
|
|
6105
|
-
constructor(_fNode, _fSourceHandlers, _fTargetHandlers) {
|
|
6114
|
+
constructor(_injector, _fNode, _fSourceHandlers, _fTargetHandlers) {
|
|
6106
6115
|
this._fNode = _fNode;
|
|
6107
6116
|
this._fSourceHandlers = _fSourceHandlers;
|
|
6108
6117
|
this._fTargetHandlers = _fTargetHandlers;
|
|
@@ -6110,6 +6119,9 @@ class FNodeRotateDragHandler {
|
|
|
6110
6119
|
this.fData = {
|
|
6111
6120
|
fNodeId: _fNode.fId,
|
|
6112
6121
|
};
|
|
6122
|
+
this._fComponentsStore = _injector.get(FComponentsStore);
|
|
6123
|
+
this._fMediator = _injector.get(FMediator);
|
|
6124
|
+
this._fDraggableDataContext = _injector.get(FDraggableDataContext);
|
|
6113
6125
|
}
|
|
6114
6126
|
prepareDragSequence() {
|
|
6115
6127
|
this._fNodeRect = this._getOriginalNodeRect();
|
|
@@ -6184,6 +6196,7 @@ let FNodeRotatePreparationExecution = class FNodeRotatePreparationExecution {
|
|
|
6184
6196
|
_fMediator = inject(FMediator);
|
|
6185
6197
|
_fComponentsStore = inject(FComponentsStore);
|
|
6186
6198
|
_fDraggableDataContext = inject(FDraggableDataContext);
|
|
6199
|
+
_injector = inject(Injector);
|
|
6187
6200
|
get _transform() {
|
|
6188
6201
|
return this._fComponentsStore.fCanvas.transform;
|
|
6189
6202
|
}
|
|
@@ -6200,7 +6213,7 @@ let FNodeRotatePreparationExecution = class FNodeRotatePreparationExecution {
|
|
|
6200
6213
|
this._fDraggableDataContext.onPointerDownPosition = Point.fromPoint(request.event.getPosition())
|
|
6201
6214
|
.elementTransform(this._fHost).div(this._transform.scale);
|
|
6202
6215
|
this._fDraggableDataContext.draggableItems = [
|
|
6203
|
-
new FNodeRotateDragHandler(this._fNode, this._calculateOutputConnectionsDragHandlers(), this._calculateInputConnectionsDragHandlers())
|
|
6216
|
+
new FNodeRotateDragHandler(this._injector, this._fNode, this._calculateOutputConnectionsDragHandlers(), this._calculateInputConnectionsDragHandlers())
|
|
6204
6217
|
];
|
|
6205
6218
|
}
|
|
6206
6219
|
_isValid(request) {
|
|
@@ -6226,7 +6239,7 @@ let FNodeRotatePreparationExecution = class FNodeRotatePreparationExecution {
|
|
|
6226
6239
|
return this._fMediator.execute(new CalculateInputConnectionsRequest(this._fNode)).map((x) => {
|
|
6227
6240
|
const connector = this._fComponentsStore.fInputs.find((y) => y.fId === x.fInputId).hostElement;
|
|
6228
6241
|
return {
|
|
6229
|
-
connection: new TargetConnectionDragHandler(x),
|
|
6242
|
+
connection: new TargetConnectionDragHandler(this._injector, x),
|
|
6230
6243
|
connector: this._fMediator.execute(new GetNormalizedElementRectRequest(connector, false)).gravityCenter
|
|
6231
6244
|
};
|
|
6232
6245
|
});
|
|
@@ -6235,7 +6248,7 @@ let FNodeRotatePreparationExecution = class FNodeRotatePreparationExecution {
|
|
|
6235
6248
|
return this._fMediator.execute(new CalculateOutputConnectionsRequest(this._fNode)).map((x) => {
|
|
6236
6249
|
const connector = this._fComponentsStore.fOutputs.find((y) => y.fId === x.fOutputId).hostElement;
|
|
6237
6250
|
return {
|
|
6238
|
-
connection: new SourceConnectionDragHandler(x),
|
|
6251
|
+
connection: new SourceConnectionDragHandler(this._injector, x),
|
|
6239
6252
|
connector: this._fMediator.execute(new GetNormalizedElementRectRequest(connector, false)).gravityCenter
|
|
6240
6253
|
};
|
|
6241
6254
|
});
|
|
@@ -6512,18 +6525,21 @@ class FExternalItemDragHandler {
|
|
|
6512
6525
|
_fExternalItem;
|
|
6513
6526
|
fEventType = 'external-item';
|
|
6514
6527
|
fData;
|
|
6515
|
-
_fResult
|
|
6516
|
-
_fMediator
|
|
6517
|
-
_fBrowser
|
|
6528
|
+
_fResult;
|
|
6529
|
+
_fMediator;
|
|
6530
|
+
_fBrowser;
|
|
6518
6531
|
_preview;
|
|
6519
6532
|
_placeholder;
|
|
6520
6533
|
_onPointerDownRect = RectExtensions.initialize();
|
|
6521
6534
|
get _fItemHost() {
|
|
6522
6535
|
return this._fExternalItem.hostElement;
|
|
6523
6536
|
}
|
|
6524
|
-
constructor(_fExternalItem) {
|
|
6537
|
+
constructor(_injector, _fExternalItem) {
|
|
6525
6538
|
this._fExternalItem = _fExternalItem;
|
|
6526
6539
|
this.fData = { fData: _fExternalItem.fData };
|
|
6540
|
+
this._fResult = _injector.get(FDragHandlerResult);
|
|
6541
|
+
this._fMediator = _injector.get(FMediator);
|
|
6542
|
+
this._fBrowser = _injector.get(BrowserService);
|
|
6527
6543
|
}
|
|
6528
6544
|
prepareDragSequence() {
|
|
6529
6545
|
this._onPointerDownRect = this._getExternalItemRect();
|
|
@@ -6646,6 +6662,7 @@ let FExternalItemPreparationExecution = class FExternalItemPreparationExecution
|
|
|
6646
6662
|
_fExternalItemService = inject(FExternalItemService);
|
|
6647
6663
|
_fDraggableDataContext = inject(FDraggableDataContext);
|
|
6648
6664
|
_fComponentsStore = inject(FComponentsStore);
|
|
6665
|
+
_injector = inject(Injector);
|
|
6649
6666
|
get _fHost() {
|
|
6650
6667
|
return this._fComponentsStore.fFlow.hostElement;
|
|
6651
6668
|
}
|
|
@@ -6656,7 +6673,7 @@ let FExternalItemPreparationExecution = class FExternalItemPreparationExecution
|
|
|
6656
6673
|
this._fDraggableDataContext.onPointerDownScale = 1;
|
|
6657
6674
|
this._fDraggableDataContext.onPointerDownPosition = Point.fromPoint(request.event.getPosition()).elementTransform(this._fHost);
|
|
6658
6675
|
this._fDraggableDataContext.draggableItems = [
|
|
6659
|
-
new FExternalItemDragHandler(this._getExternalItem(request.event.targetElement))
|
|
6676
|
+
new FExternalItemDragHandler(this._injector, this._getExternalItem(request.event.targetElement))
|
|
6660
6677
|
];
|
|
6661
6678
|
}
|
|
6662
6679
|
_isValid(request) {
|
|
@@ -6887,7 +6904,6 @@ class FDraggableDirective extends FDraggableBase {
|
|
|
6887
6904
|
_fResult = inject(FDragHandlerResult);
|
|
6888
6905
|
_fMediator = inject(FMediator);
|
|
6889
6906
|
_fPlatform = inject(PlatformService);
|
|
6890
|
-
_injector = inject(Injector);
|
|
6891
6907
|
disabled = false;
|
|
6892
6908
|
get hostElement() {
|
|
6893
6909
|
return this._elementReference.nativeElement;
|
|
@@ -6927,7 +6943,6 @@ class FDraggableDirective extends FDraggableBase {
|
|
|
6927
6943
|
super.subscribe(this._fBrowser.document);
|
|
6928
6944
|
}
|
|
6929
6945
|
onPointerDown(event) {
|
|
6930
|
-
FInjector.set(this._injector);
|
|
6931
6946
|
this._fResult.clear();
|
|
6932
6947
|
this._fMediator.execute(new InitializeDragSequenceRequest());
|
|
6933
6948
|
this._beforePlugins.forEach((p) => p.onPointerDown?.(event));
|
|
@@ -6970,17 +6985,14 @@ class FDraggableDirective extends FDraggableBase {
|
|
|
6970
6985
|
this._fMediator.execute(new FExternalItemFinalizeRequest(event));
|
|
6971
6986
|
this._afterPlugins.forEach((x) => x.onPointerUp?.(event));
|
|
6972
6987
|
this._fMediator.execute(new EndDragSequenceRequest());
|
|
6973
|
-
FInjector.clear();
|
|
6974
6988
|
}
|
|
6975
6989
|
finalizeDragSequence() {
|
|
6976
6990
|
this._fMediator.execute(new EmitSelectionChangeEventRequest());
|
|
6977
|
-
FInjector.clear();
|
|
6978
6991
|
this._fResult.clear();
|
|
6979
6992
|
}
|
|
6980
6993
|
ngOnDestroy() {
|
|
6981
6994
|
this._fMediator.execute(new RemoveDndFromStoreRequest());
|
|
6982
6995
|
super.unsubscribe();
|
|
6983
|
-
FInjector.clear();
|
|
6984
6996
|
}
|
|
6985
6997
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FDraggableDirective, deps: [{ token: NgZone, optional: true }, { token: i1.BrowserService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6986
6998
|
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.2.4", type: FDraggableDirective, selector: "f-flow[fDraggable]", inputs: { disabled: ["fDraggableDisabled", "disabled", booleanAttribute], fMultiSelectTrigger: "fMultiSelectTrigger", fReassignConnectionTrigger: "fReassignConnectionTrigger", fCreateConnectionTrigger: "fCreateConnectionTrigger", fNodeResizeTrigger: "fNodeResizeTrigger", fNodeRotateTrigger: "fNodeRotateTrigger", fNodeMoveTrigger: "fNodeMoveTrigger", fCanvasMoveTrigger: "fCanvasMoveTrigger", fExternalItemTrigger: "fExternalItemTrigger", fEmitOnNodeIntersect: ["fEmitOnNodeIntersect", "fEmitOnNodeIntersect", booleanAttribute], vCellSize: ["vCellSize", "vCellSize", numberAttribute], hCellSize: ["hCellSize", "hCellSize", numberAttribute], fCellSizeWhileDragging: ["fCellSizeWhileDragging", "fCellSizeWhileDragging", booleanAttribute] }, outputs: { fSelectionChange: "fSelectionChange", fNodeIntersectedWithConnections: "fNodeIntersectedWithConnections", fCreateNode: "fCreateNode", fReassignConnection: "fReassignConnection", fCreateConnection: "fCreateConnection", fDropToGroup: "fDropToGroup", fDragStarted: "fDragStarted", fDragEnded: "fDragEnded" }, providers: [FDragHandlerResult], queries: [{ propertyName: "_beforePlugins", predicate: F_BEFORE_MAIN_PLUGIN, descendants: true }, { propertyName: "_afterPlugins", predicate: F_AFTER_MAIN_PLUGIN, descendants: true }], exportAs: ["fDraggable"], usesInheritance: true, ngImport: i0 });
|
|
@@ -9959,5 +9971,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImpor
|
|
|
9959
9971
|
* Generated bundle index. Do not edit.
|
|
9960
9972
|
*/
|
|
9961
9973
|
|
|
9962
|
-
export { AddBackgroundToStoreExecution, AddBackgroundToStoreRequest, AddCanvasToStoreExecution, AddCanvasToStoreRequest, AddConnectionForCreateToStoreExecution, AddConnectionForCreateToStoreRequest, AddConnectionMarkerToStoreExecution, AddConnectionMarkerToStoreRequest, AddConnectionToStoreExecution, AddConnectionToStoreRequest, AddDndToStoreExecution, AddDndToStoreRequest, AddFlowToStoreExecution, AddFlowToStoreRequest, AddInputToStoreExecution, AddInputToStoreRequest, AddLineAlignmentToStoreExecution, AddLineAlignmentToStoreRequest, AddNodeToStoreExecution, AddNodeToStoreRequest, AddOutletToStoreExecution, AddOutletToStoreRequest, AddOutputToStoreExecution, AddOutputToStoreRequest, AddPatternToBackgroundExecution, AddPatternToBackgroundRequest, AddSnapConnectionToStoreExecution, AddSnapConnectionToStoreRequest, AddZoomToStoreExecution, AddZoomToStoreRequest, ApplyChildResizeRestrictionsExecution, ApplyChildResizeRestrictionsRequest, ApplyParentResizeRestrictionsExecution, ApplyParentResizeRestrictionsRequest, BaseConnectionDragHandler, CANVAS_PROVIDERS, COMMON_PROVIDERS, CONNECTIONS_PROVIDERS, CONNECTION_GRADIENT, CONNECTION_PATH, CONNECTION_TEXT, CREATE_MOVE_NODE_DRAG_MODEL_FROM_SELECTION_PROVIDERS, CalculateCenterBetweenPointsHandler, CalculateCenterBetweenPointsRequest, CalculateChangedPositionExecution, CalculateChangedPositionRequest, CalculateChangedSizeExecution, CalculateChangedSizeRequest, CalculateClosestInputExecution, CalculateClosestInputRequest, CalculateCommonNodeMoveLimitsExecution, CalculateCommonNodeMoveLimitsRequest, CalculateConnectionCenterHandler, CalculateConnectionCenterRequest, CalculateConnectionLineByBehaviorExecution, CalculateConnectionLineByBehaviorRequest, CalculateFlowPointFromMinimapPointExecution, CalculateFlowPointFromMinimapPointRequest, CalculateInputConnectionsExecution, CalculateInputConnectionsRequest, CalculateNodeMoveLimitsExecution, CalculateNodeMoveLimitsRequest, CalculateNodesBoundingBoxExecution, CalculateNodesBoundingBoxNormalizedPositionExecution, CalculateNodesBoundingBoxNormalizedPositionRequest, CalculateNodesBoundingBoxRequest, CalculateOutputConnectionsExecution, CalculateOutputConnectionsRequest, CenterGroupOrNodeExecution, CenterGroupOrNodeRequest, ClearSelectionExecution, ClearSelectionRequest, CreateConnectionMarkersExecution, CreateConnectionMarkersRequest, CreateMoveNodesDragModelFromSelectionExecution, CreateMoveNodesDragModelFromSelectionRequest, DRAG_AND_DROP_COMMON_PROVIDERS, Deprecated, EFConnectableSide, EFConnectionBehavior, EFConnectionType, EFMarkerType, EFResizeHandleType, EFZoomDirection, EmitSelectionChangeEventExecution, EmitSelectionChangeEventRequest, EndDragSequenceExecution, EndDragSequenceRequest, FBackgroundBase, FBackgroundComponent, FBezierPathBuilder, FCanvasBase, FCanvasChangeEvent, FCanvasComponent, FCanvasDragHandler, FCanvasMoveFinalizeExecution, FCanvasMoveFinalizeRequest, FCanvasMovePreparationExecution, FCanvasMovePreparationRequest, FChannel, FChannelHub, FCirclePatternComponent, FComponentsStore, FConnectionBase, FConnectionCenterDirective, FConnectionComponent, FConnectionDragHandleEndComponent, FConnectionDragHandleStartComponent, FConnectionFactory, FConnectionForCreateComponent, FConnectionGradientComponent, FConnectionPathComponent, FConnectionSelectionComponent, FConnectionTextComponent, FConnectionTextPathDirective, FConnectorBase, FCreateConnectionDragHandler, FCreateConnectionDragHandlerPreparationExecution, FCreateConnectionDragHandlerPreparationRequest, FCreateConnectionEvent, FCreateConnectionFinalizeExecution, FCreateConnectionFinalizeRequest, FCreateConnectionFromOutletPreparationExecution, FCreateConnectionFromOutletPreparationRequest, FCreateConnectionFromOutputPreparationExecution, FCreateConnectionFromOutputPreparationRequest, FCreateConnectionPreparationExecution, FCreateConnectionPreparationRequest, FCreateNodeEvent, FDragHandleDirective, FDragHandlerResult, FDragStartedEvent, FDraggableBase, FDraggableDataContext, FDraggableDirective, FDropToGroupEvent, FExternalItemBase, FExternalItemCreatePlaceholderExecution, FExternalItemCreatePlaceholderRequest, FExternalItemCreatePreviewExecution, FExternalItemCreatePreviewRequest, FExternalItemDirective, FExternalItemDragHandler, FExternalItemFinalizeExecution, FExternalItemFinalizeRequest, FExternalItemPlaceholderDirective, FExternalItemPreparationExecution, FExternalItemPreparationRequest, FExternalItemPreviewDirective, FExternalItemService, FFlowBase, FFlowComponent, FFlowModule, FGroupDirective, FInjector, FLineAlignmentBase, FLineAlignmentComponent, FLineAlignmentDragHandler, FMarkerBase, FMarkerDirective, FMinimapCanvasDirective, FMinimapComponent, FMinimapData, FMinimapDragHandler, FMinimapFlowDirective, FMinimapViewDirective, FNodeBase, FNodeDirective, FNodeDropToGroupDragHandler, FNodeDropToGroupFinalizeExecution, FNodeDropToGroupFinalizeRequest, FNodeDropToGroupPreparationExecution, FNodeDropToGroupPreparationRequest, FNodeInputBase, FNodeInputDirective, FNodeIntersectedWithConnections, FNodeMoveDragHandler, FNodeMoveFinalizeExecution, FNodeMoveFinalizeRequest, FNodeMovePreparationExecution, FNodeMovePreparationRequest, FNodeOutletBase, FNodeOutletDirective, FNodeOutputBase, FNodeOutputDirective, FNodeResizeDragHandler, FNodeResizeFinalizeExecution, FNodeResizeFinalizeRequest, FNodeResizePreparationExecution, FNodeResizePreparationRequest, FNodeRotateDragHandler, FNodeRotateFinalizeExecution, FNodeRotateFinalizeRequest, FNodeRotatePreparationExecution, FNodeRotatePreparationRequest, FReassignConnectionDragHandler, FReassignConnectionEvent, FReassignConnectionFinalizeExecution, FReassignConnectionFinalizeRequest, FReassignConnectionPreparationExecution, FReassignConnectionPreparationRequest, FRectPatternComponent, FResizeChannel, FResizeHandleDirective, FRotateHandleDirective, FSegmentPathBuilder, FSelectionAreaBase, FSelectionAreaComponent, FSelectionChangeEvent, FSingleSelectExecution, FSingleSelectRequest, FSnapConnectionComponent, FStraightPathBuilder, FSummaryNodeMoveDragHandler, FZoomBase, FZoomDirective, F_AFTER_MAIN_PLUGIN, F_BACKGROUND, F_BACKGROUND_FEATURES, F_BACKGROUND_PATTERN, F_BACKGROUND_PROVIDERS, F_BEFORE_MAIN_PLUGIN, F_CANVAS, F_CANVAS_FEATURES, F_CANVAS_PROVIDERS, F_CONNECTION_BUILDERS, F_CONNECTION_FEATURES, F_CONNECTION_IDENTIFIERS, F_CONNECTION_PROVIDERS, F_CONNECTORS_FEATURES, F_CONNECTORS_PROVIDERS, F_CSS_CLASS, F_DRAGGABLE_FEATURES, F_DRAGGABLE_PROVIDERS, F_EXTERNAL_ITEM, F_EXTERNAL_ITEM_DRAG_AND_DROP_PROVIDERS, F_EXTERNAL_ITEM_PROVIDERS, F_FLOW, F_FLOW_FEATURES, F_FLOW_PROVIDERS, F_LINE_ALIGNMENT, F_LINE_ALIGNMENT_FEATURES, F_LINE_ALIGNMENT_PROVIDERS, F_MARKER, F_MINIMAP_DRAG_AND_DROP_PROVIDERS, F_MINIMAP_PROVIDERS, F_NODE, F_NODE_FEATURES, F_NODE_INPUT, F_NODE_OUTLET, F_NODE_OUTPUT, F_NODE_PROVIDERS, F_SELECTED_CLASS, F_SELECTION_AREA_DRAG_AND_DROP_PROVIDERS, F_SELECTION_AREA_PROVIDERS, F_SELECTION_FEATURES, F_STORAGE_PROVIDERS, F_ZOOM, F_ZOOM_FEATURES, F_ZOOM_PROVIDERS, F_ZOOM_TAG, FindInputAtPositionExecution, FindInputAtPositionRequest, FitToFlowExecution, FitToFlowRequest, GET_FLOW_STATE_PROVIDERS, GetAllCanBeConnectedInputsAndRectsExecution, GetAllCanBeConnectedInputsAndRectsRequest, GetCanBeSelectedItemsExecution, GetCanBeSelectedItemsRequest, GetCanvasExecution, GetCanvasRequest, GetConnectorAndRectExecution, GetConnectorAndRectRequest, GetCurrentSelectionExecution, GetCurrentSelectionRequest, GetDeepChildrenNodesAndGroupsExecution, GetDeepChildrenNodesAndGroupsRequest, GetElementRoundedRectExecution, GetElementRoundedRectRequest, GetFirstConnectableOutputExecution, GetFirstConnectableOutputRequest, GetFlowExecution, GetFlowHostElementExecution, GetFlowHostElementRequest, GetFlowRequest, GetFlowStateConnectionsExecution, GetFlowStateConnectionsRequest, GetFlowStateExecution, GetFlowStateNodesExecution, GetFlowStateNodesRequest, GetFlowStateRequest, GetNodePaddingExecution, GetNodePaddingRequest, GetNodeResizeRestrictionsExecution, GetNodeResizeRestrictionsRequest, GetNodesExecution, GetNodesRequest, GetNormalizedChildrenNodesRectExecution, GetNormalizedChildrenNodesRectRequest, GetNormalizedElementRectExecution, GetNormalizedElementRectRequest, GetNormalizedParentNodeRectExecution, GetNormalizedParentNodeRectRequest, GetNormalizedPointExecution, GetNormalizedPointRequest, GetParentNodesExecution, GetParentNodesRequest, InitializeDragSequenceExecution, InitializeDragSequenceRequest, InputCanvasPositionExecution, InputCanvasPositionRequest, InputCanvasScaleExecution, InputCanvasScaleRequest, IsArrayHasParentNodeExecution, IsArrayHasParentNodeRequest, IsConnectionUnderNodeExecution, IsConnectionUnderNodeRequest, IsDragStartedExecution, IsDragStartedRequest, LineAlignmentPreparationExecution, LineAlignmentPreparationRequest, LineElement, LineService, ListenCountChangesExecution, ListenCountChangesRequest, ListenDataChangesExecution, ListenDataChangesRequest, ListenTransformChangesExecution, ListenTransformChangesRequest, LogExecutionTime, MINIMAP_DRAG_FINALIZE_PROVIDERS, MINIMAP_DRAG_PREPARATION_PROVIDERS, MarkAllCanBeConnectedInputsExecution, MarkAllCanBeConnectedInputsRequest, MinimapCalculateSvgScaleAndViewBoxExecution, MinimapCalculateSvgScaleAndViewBoxRequest, MinimapCalculateViewBoxExecution, MinimapCalculateViewBoxRequest, MinimapDragFinalizeExecution, MinimapDragFinalizeRequest, MinimapDragPreparationExecution, MinimapDragPreparationRequest, MinimapDrawNodesExecution, MinimapDrawNodesRequest, MoveFrontElementsBeforeTargetElementExecution, MoveFrontElementsBeforeTargetElementRequest, NODE_DROP_TO_GROUP_PROVIDERS, NODE_PROVIDERS, NODE_RESIZE_PROVIDERS, NODE_ROTATE_PROVIDERS, NotifyDataChangedExecution, NotifyDataChangedRequest, NotifyTransformChangedExecution, NotifyTransformChangedRequest, OnPointerMoveExecution, OnPointerMoveRequest, PointBoundsLimiter, PrepareDragSequenceExecution, PrepareDragSequenceRequest, PreventDefaultIsExternalItemExecution, PreventDefaultIsExternalItemRequest, PutInputConnectionHandlersToArrayExecution, PutInputConnectionHandlersToArrayRequest, PutOutputConnectionHandlersToArrayExecution, PutOutputConnectionHandlersToArrayRequest, RESIZE_DIRECTIONS, RedrawCanvasWithAnimationExecution, RedrawCanvasWithAnimationRequest, RedrawConnectionsExecution, RedrawConnectionsRequest, RemoveBackgroundFromStoreExecution, RemoveBackgroundFromStoreRequest, RemoveCanvasFromStoreExecution, RemoveCanvasFromStoreRequest, RemoveConnectionForCreateFromStoreExecution, RemoveConnectionForCreateFromStoreRequest, RemoveConnectionFromStoreExecution, RemoveConnectionFromStoreRequest, RemoveConnectionMarkerFromStoreExecution, RemoveConnectionMarkerFromStoreRequest, RemoveDndFromStoreExecution, RemoveDndFromStoreRequest, RemoveFlowFromStoreExecution, RemoveFlowFromStoreRequest, RemoveInputFromStoreExecution, RemoveInputFromStoreRequest, RemoveLineAlignmentFromStoreExecution, RemoveLineAlignmentFromStoreRequest, RemoveNodeFromStoreExecution, RemoveNodeFromStoreRequest, RemoveOutletFromStoreExecution, RemoveOutletFromStoreRequest, RemoveOutputFromStoreExecution, RemoveOutputFromStoreRequest, RemoveSnapConnectionFromStoreExecution, RemoveSnapConnectionFromStoreRequest, RemoveZoomFromStoreExecution, RemoveZoomFromStoreRequest, ResetScaleAndCenterExecution, ResetScaleAndCenterRequest, ResetScaleExecution, ResetScaleRequest, ResetZoomExecution, ResetZoomRequest, SINGLE_SELECT_PROVIDERS, SelectAllExecution, SelectAllRequest, SelectAndUpdateNodeLayerExecution, SelectAndUpdateNodeLayerRequest, SelectExecution, SelectRequest, SelectionAreaDragHandle, SelectionAreaFinalizeExecution, SelectionAreaFinalizeRequest, SelectionAreaPreparationExecution, SelectionAreaPreparationRequest, SetBackgroundTransformExecution, SetBackgroundTransformRequest, SetZoomExecution, SetZoomRequest, SortItemLayersExecution, SortItemLayersRequest, SortItemsByParentExecution, SortItemsByParentRequest, SortNodeLayersExecution, SortNodeLayersRequest, SourceConnectionDragHandler, SourceTargetConnectionDragHandler, StartDragSequenceExecution, StartDragSequenceRequest, TargetConnectionDragHandler, UnmarkAllCanBeConnectedInputsExecution, UnmarkAllCanBeConnectedInputsRequest, UpdateItemAndChildrenLayersExecution, UpdateItemAndChildrenLayersRequest, UpdateNodeWhenStateOrSizeChangedExecution, UpdateNodeWhenStateOrSizeChangedRequest, UpdateScaleExecution, UpdateScaleRequest, createSVGElement, debounceTime, defaultEventTrigger, fInject, fixedCenterBehavior, fixedOutboundBehavior, floatingBehavior, getExternalItem, getMarkerEndId, getMarkerSelectedEndId, getMarkerSelectedStartId, getMarkerStartId, isExternalItem, isMobile, isNode, isNodeOutlet, isNodeOutput, isRotateHandle, isValidEventTrigger, mediatorEffect, mixinChangeSelection, mixinChangeVisibility, notifyOnStart, transitionEnd };
|
|
9974
|
+
export { AddBackgroundToStoreExecution, AddBackgroundToStoreRequest, AddCanvasToStoreExecution, AddCanvasToStoreRequest, AddConnectionForCreateToStoreExecution, AddConnectionForCreateToStoreRequest, AddConnectionMarkerToStoreExecution, AddConnectionMarkerToStoreRequest, AddConnectionToStoreExecution, AddConnectionToStoreRequest, AddDndToStoreExecution, AddDndToStoreRequest, AddFlowToStoreExecution, AddFlowToStoreRequest, AddInputToStoreExecution, AddInputToStoreRequest, AddLineAlignmentToStoreExecution, AddLineAlignmentToStoreRequest, AddNodeToStoreExecution, AddNodeToStoreRequest, AddOutletToStoreExecution, AddOutletToStoreRequest, AddOutputToStoreExecution, AddOutputToStoreRequest, AddPatternToBackgroundExecution, AddPatternToBackgroundRequest, AddSnapConnectionToStoreExecution, AddSnapConnectionToStoreRequest, AddZoomToStoreExecution, AddZoomToStoreRequest, ApplyChildResizeRestrictionsExecution, ApplyChildResizeRestrictionsRequest, ApplyParentResizeRestrictionsExecution, ApplyParentResizeRestrictionsRequest, BaseConnectionDragHandler, CANVAS_PROVIDERS, COMMON_PROVIDERS, CONNECTIONS_PROVIDERS, CONNECTION_GRADIENT, CONNECTION_PATH, CONNECTION_TEXT, CREATE_MOVE_NODE_DRAG_MODEL_FROM_SELECTION_PROVIDERS, CalculateCenterBetweenPointsHandler, CalculateCenterBetweenPointsRequest, CalculateChangedPositionExecution, CalculateChangedPositionRequest, CalculateChangedSizeExecution, CalculateChangedSizeRequest, CalculateClosestInputExecution, CalculateClosestInputRequest, CalculateCommonNodeMoveLimitsExecution, CalculateCommonNodeMoveLimitsRequest, CalculateConnectionCenterHandler, CalculateConnectionCenterRequest, CalculateConnectionLineByBehaviorExecution, CalculateConnectionLineByBehaviorRequest, CalculateFlowPointFromMinimapPointExecution, CalculateFlowPointFromMinimapPointRequest, CalculateInputConnectionsExecution, CalculateInputConnectionsRequest, CalculateNodeMoveLimitsExecution, CalculateNodeMoveLimitsRequest, CalculateNodesBoundingBoxExecution, CalculateNodesBoundingBoxNormalizedPositionExecution, CalculateNodesBoundingBoxNormalizedPositionRequest, CalculateNodesBoundingBoxRequest, CalculateOutputConnectionsExecution, CalculateOutputConnectionsRequest, CenterGroupOrNodeExecution, CenterGroupOrNodeRequest, ClearSelectionExecution, ClearSelectionRequest, CreateConnectionMarkersExecution, CreateConnectionMarkersRequest, CreateMoveNodesDragModelFromSelectionExecution, CreateMoveNodesDragModelFromSelectionRequest, DRAG_AND_DROP_COMMON_PROVIDERS, Deprecated, EFConnectableSide, EFConnectionBehavior, EFConnectionType, EFMarkerType, EFResizeHandleType, EFZoomDirection, EmitSelectionChangeEventExecution, EmitSelectionChangeEventRequest, EndDragSequenceExecution, EndDragSequenceRequest, FBackgroundBase, FBackgroundComponent, FBezierPathBuilder, FCanvasBase, FCanvasChangeEvent, FCanvasComponent, FCanvasDragHandler, FCanvasMoveFinalizeExecution, FCanvasMoveFinalizeRequest, FCanvasMovePreparationExecution, FCanvasMovePreparationRequest, FChannel, FChannelHub, FCirclePatternComponent, FComponentsStore, FConnectionBase, FConnectionCenterDirective, FConnectionComponent, FConnectionDragHandleEndComponent, FConnectionDragHandleStartComponent, FConnectionFactory, FConnectionForCreateComponent, FConnectionGradientComponent, FConnectionPathComponent, FConnectionSelectionComponent, FConnectionTextComponent, FConnectionTextPathDirective, FConnectorBase, FCreateConnectionDragHandler, FCreateConnectionDragHandlerPreparationExecution, FCreateConnectionDragHandlerPreparationRequest, FCreateConnectionEvent, FCreateConnectionFinalizeExecution, FCreateConnectionFinalizeRequest, FCreateConnectionFromOutletPreparationExecution, FCreateConnectionFromOutletPreparationRequest, FCreateConnectionFromOutputPreparationExecution, FCreateConnectionFromOutputPreparationRequest, FCreateConnectionPreparationExecution, FCreateConnectionPreparationRequest, FCreateNodeEvent, FDragHandleDirective, FDragHandlerResult, FDragStartedEvent, FDraggableBase, FDraggableDataContext, FDraggableDirective, FDropToGroupEvent, FExternalItemBase, FExternalItemCreatePlaceholderExecution, FExternalItemCreatePlaceholderRequest, FExternalItemCreatePreviewExecution, FExternalItemCreatePreviewRequest, FExternalItemDirective, FExternalItemDragHandler, FExternalItemFinalizeExecution, FExternalItemFinalizeRequest, FExternalItemPlaceholderDirective, FExternalItemPreparationExecution, FExternalItemPreparationRequest, FExternalItemPreviewDirective, FExternalItemService, FFlowBase, FFlowComponent, FFlowModule, FGroupDirective, FLineAlignmentBase, FLineAlignmentComponent, FLineAlignmentDragHandler, FMarkerBase, FMarkerDirective, FMinimapCanvasDirective, FMinimapComponent, FMinimapData, FMinimapDragHandler, FMinimapFlowDirective, FMinimapViewDirective, FNodeBase, FNodeDirective, FNodeDropToGroupDragHandler, FNodeDropToGroupFinalizeExecution, FNodeDropToGroupFinalizeRequest, FNodeDropToGroupPreparationExecution, FNodeDropToGroupPreparationRequest, FNodeInputBase, FNodeInputDirective, FNodeIntersectedWithConnections, FNodeMoveDragHandler, FNodeMoveFinalizeExecution, FNodeMoveFinalizeRequest, FNodeMovePreparationExecution, FNodeMovePreparationRequest, FNodeOutletBase, FNodeOutletDirective, FNodeOutputBase, FNodeOutputDirective, FNodeResizeDragHandler, FNodeResizeFinalizeExecution, FNodeResizeFinalizeRequest, FNodeResizePreparationExecution, FNodeResizePreparationRequest, FNodeRotateDragHandler, FNodeRotateFinalizeExecution, FNodeRotateFinalizeRequest, FNodeRotatePreparationExecution, FNodeRotatePreparationRequest, FReassignConnectionDragHandler, FReassignConnectionEvent, FReassignConnectionFinalizeExecution, FReassignConnectionFinalizeRequest, FReassignConnectionPreparationExecution, FReassignConnectionPreparationRequest, FRectPatternComponent, FResizeChannel, FResizeHandleDirective, FRotateHandleDirective, FSegmentPathBuilder, FSelectionAreaBase, FSelectionAreaComponent, FSelectionChangeEvent, FSingleSelectExecution, FSingleSelectRequest, FSnapConnectionComponent, FStraightPathBuilder, FSummaryNodeMoveDragHandler, FZoomBase, FZoomDirective, F_AFTER_MAIN_PLUGIN, F_BACKGROUND, F_BACKGROUND_FEATURES, F_BACKGROUND_PATTERN, F_BACKGROUND_PROVIDERS, F_BEFORE_MAIN_PLUGIN, F_CANVAS, F_CANVAS_FEATURES, F_CANVAS_PROVIDERS, F_CONNECTION_BUILDERS, F_CONNECTION_FEATURES, F_CONNECTION_IDENTIFIERS, F_CONNECTION_PROVIDERS, F_CONNECTORS_FEATURES, F_CONNECTORS_PROVIDERS, F_CSS_CLASS, F_DRAGGABLE_FEATURES, F_DRAGGABLE_PROVIDERS, F_EXTERNAL_ITEM, F_EXTERNAL_ITEM_DRAG_AND_DROP_PROVIDERS, F_EXTERNAL_ITEM_PROVIDERS, F_FLOW, F_FLOW_FEATURES, F_FLOW_PROVIDERS, F_LINE_ALIGNMENT, F_LINE_ALIGNMENT_FEATURES, F_LINE_ALIGNMENT_PROVIDERS, F_MARKER, F_MINIMAP_DRAG_AND_DROP_PROVIDERS, F_MINIMAP_PROVIDERS, F_NODE, F_NODE_FEATURES, F_NODE_INPUT, F_NODE_OUTLET, F_NODE_OUTPUT, F_NODE_PROVIDERS, F_SELECTED_CLASS, F_SELECTION_AREA_DRAG_AND_DROP_PROVIDERS, F_SELECTION_AREA_PROVIDERS, F_SELECTION_FEATURES, F_STORAGE_PROVIDERS, F_ZOOM, F_ZOOM_FEATURES, F_ZOOM_PROVIDERS, F_ZOOM_TAG, FindInputAtPositionExecution, FindInputAtPositionRequest, FitToFlowExecution, FitToFlowRequest, GET_FLOW_STATE_PROVIDERS, GetAllCanBeConnectedInputsAndRectsExecution, GetAllCanBeConnectedInputsAndRectsRequest, GetCanBeSelectedItemsExecution, GetCanBeSelectedItemsRequest, GetCanvasExecution, GetCanvasRequest, GetConnectorAndRectExecution, GetConnectorAndRectRequest, GetCurrentSelectionExecution, GetCurrentSelectionRequest, GetDeepChildrenNodesAndGroupsExecution, GetDeepChildrenNodesAndGroupsRequest, GetElementRoundedRectExecution, GetElementRoundedRectRequest, GetFirstConnectableOutputExecution, GetFirstConnectableOutputRequest, GetFlowExecution, GetFlowHostElementExecution, GetFlowHostElementRequest, GetFlowRequest, GetFlowStateConnectionsExecution, GetFlowStateConnectionsRequest, GetFlowStateExecution, GetFlowStateNodesExecution, GetFlowStateNodesRequest, GetFlowStateRequest, GetNodePaddingExecution, GetNodePaddingRequest, GetNodeResizeRestrictionsExecution, GetNodeResizeRestrictionsRequest, GetNodesExecution, GetNodesRequest, GetNormalizedChildrenNodesRectExecution, GetNormalizedChildrenNodesRectRequest, GetNormalizedElementRectExecution, GetNormalizedElementRectRequest, GetNormalizedParentNodeRectExecution, GetNormalizedParentNodeRectRequest, GetNormalizedPointExecution, GetNormalizedPointRequest, GetParentNodesExecution, GetParentNodesRequest, InitializeDragSequenceExecution, InitializeDragSequenceRequest, InputCanvasPositionExecution, InputCanvasPositionRequest, InputCanvasScaleExecution, InputCanvasScaleRequest, IsArrayHasParentNodeExecution, IsArrayHasParentNodeRequest, IsConnectionUnderNodeExecution, IsConnectionUnderNodeRequest, IsDragStartedExecution, IsDragStartedRequest, LineAlignmentPreparationExecution, LineAlignmentPreparationRequest, LineElement, LineService, ListenCountChangesExecution, ListenCountChangesRequest, ListenDataChangesExecution, ListenDataChangesRequest, ListenTransformChangesExecution, ListenTransformChangesRequest, LogExecutionTime, MINIMAP_DRAG_FINALIZE_PROVIDERS, MINIMAP_DRAG_PREPARATION_PROVIDERS, MarkAllCanBeConnectedInputsExecution, MarkAllCanBeConnectedInputsRequest, MinimapCalculateSvgScaleAndViewBoxExecution, MinimapCalculateSvgScaleAndViewBoxRequest, MinimapCalculateViewBoxExecution, MinimapCalculateViewBoxRequest, MinimapDragFinalizeExecution, MinimapDragFinalizeRequest, MinimapDragPreparationExecution, MinimapDragPreparationRequest, MinimapDrawNodesExecution, MinimapDrawNodesRequest, MoveFrontElementsBeforeTargetElementExecution, MoveFrontElementsBeforeTargetElementRequest, NODE_DROP_TO_GROUP_PROVIDERS, NODE_PROVIDERS, NODE_RESIZE_PROVIDERS, NODE_ROTATE_PROVIDERS, NotifyDataChangedExecution, NotifyDataChangedRequest, NotifyTransformChangedExecution, NotifyTransformChangedRequest, OnPointerMoveExecution, OnPointerMoveRequest, PointBoundsLimiter, PrepareDragSequenceExecution, PrepareDragSequenceRequest, PreventDefaultIsExternalItemExecution, PreventDefaultIsExternalItemRequest, PutInputConnectionHandlersToArrayExecution, PutInputConnectionHandlersToArrayRequest, PutOutputConnectionHandlersToArrayExecution, PutOutputConnectionHandlersToArrayRequest, RESIZE_DIRECTIONS, RedrawCanvasWithAnimationExecution, RedrawCanvasWithAnimationRequest, RedrawConnectionsExecution, RedrawConnectionsRequest, RemoveBackgroundFromStoreExecution, RemoveBackgroundFromStoreRequest, RemoveCanvasFromStoreExecution, RemoveCanvasFromStoreRequest, RemoveConnectionForCreateFromStoreExecution, RemoveConnectionForCreateFromStoreRequest, RemoveConnectionFromStoreExecution, RemoveConnectionFromStoreRequest, RemoveConnectionMarkerFromStoreExecution, RemoveConnectionMarkerFromStoreRequest, RemoveDndFromStoreExecution, RemoveDndFromStoreRequest, RemoveFlowFromStoreExecution, RemoveFlowFromStoreRequest, RemoveInputFromStoreExecution, RemoveInputFromStoreRequest, RemoveLineAlignmentFromStoreExecution, RemoveLineAlignmentFromStoreRequest, RemoveNodeFromStoreExecution, RemoveNodeFromStoreRequest, RemoveOutletFromStoreExecution, RemoveOutletFromStoreRequest, RemoveOutputFromStoreExecution, RemoveOutputFromStoreRequest, RemoveSnapConnectionFromStoreExecution, RemoveSnapConnectionFromStoreRequest, RemoveZoomFromStoreExecution, RemoveZoomFromStoreRequest, ResetScaleAndCenterExecution, ResetScaleAndCenterRequest, ResetScaleExecution, ResetScaleRequest, ResetZoomExecution, ResetZoomRequest, SINGLE_SELECT_PROVIDERS, SelectAllExecution, SelectAllRequest, SelectAndUpdateNodeLayerExecution, SelectAndUpdateNodeLayerRequest, SelectExecution, SelectRequest, SelectionAreaDragHandle, SelectionAreaFinalizeExecution, SelectionAreaFinalizeRequest, SelectionAreaPreparationExecution, SelectionAreaPreparationRequest, SetBackgroundTransformExecution, SetBackgroundTransformRequest, SetZoomExecution, SetZoomRequest, SortItemLayersExecution, SortItemLayersRequest, SortItemsByParentExecution, SortItemsByParentRequest, SortNodeLayersExecution, SortNodeLayersRequest, SourceConnectionDragHandler, SourceTargetConnectionDragHandler, StartDragSequenceExecution, StartDragSequenceRequest, TargetConnectionDragHandler, UnmarkAllCanBeConnectedInputsExecution, UnmarkAllCanBeConnectedInputsRequest, UpdateItemAndChildrenLayersExecution, UpdateItemAndChildrenLayersRequest, UpdateNodeWhenStateOrSizeChangedExecution, UpdateNodeWhenStateOrSizeChangedRequest, UpdateScaleExecution, UpdateScaleRequest, createSVGElement, debounceTime, defaultEventTrigger, fixedCenterBehavior, fixedOutboundBehavior, floatingBehavior, getExternalItem, getMarkerEndId, getMarkerSelectedEndId, getMarkerSelectedStartId, getMarkerStartId, isExternalItem, isMobile, isNode, isNodeOutlet, isNodeOutput, isRotateHandle, isValidEventTrigger, mediatorEffect, mixinChangeSelection, mixinChangeVisibility, notifyOnStart, transitionEnd };
|
|
9963
9975
|
//# sourceMappingURL=foblex-flow.mjs.map
|