@foblex/flow 17.4.2 → 17.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/domain/f-node/providers.d.ts +1 -1
- package/domain/providers.d.ts +1 -1
- package/esm2022/f-draggable/f-canvas/f-canvas.drag-handler.mjs +5 -3
- package/esm2022/f-draggable/f-canvas/move-preparation/f-canvas-move-preparation.execution.mjs +4 -3
- package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/drag-handler-preparation/f-create-connection-drag-handler-preparation.execution.mjs +4 -3
- package/esm2022/f-draggable/f-connection/f-create-connection/f-create-connection.drag-handler.mjs +8 -6
- package/esm2022/f-draggable/f-connection/f-reassign-connection/f-reassign-connection.drag-handler.mjs +8 -6
- package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-preparation/f-reassign-connection-preparation.execution.mjs +4 -3
- package/esm2022/f-draggable/f-draggable.directive.mjs +2 -8
- package/esm2022/f-draggable/f-drop-to-group/drop-to-group-preparation/f-node-drop-to-group-preparation.execution.mjs +5 -4
- package/esm2022/f-draggable/f-drop-to-group/f-node-drop-to-group.drag-handler.mjs +7 -6
- package/esm2022/f-draggable/f-node-move/connection-drag-handlers/base-connection.drag-handler.mjs +6 -5
- package/esm2022/f-draggable/f-node-move/connection-drag-handlers/source-connection.drag-handler.mjs +3 -3
- package/esm2022/f-draggable/f-node-move/connection-drag-handlers/source-target-connection.drag-handler.mjs +3 -3
- package/esm2022/f-draggable/f-node-move/connection-drag-handlers/target-connection.drag-handler.mjs +3 -3
- package/esm2022/f-draggable/f-node-move/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.execution.mjs +4 -3
- package/esm2022/f-draggable/f-node-move/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/put-input-connection-handlers-to-array.execution.mjs +5 -4
- package/esm2022/f-draggable/f-node-move/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/put-output-connection-handlers-to-array.execution.mjs +5 -4
- package/esm2022/f-draggable/f-node-move/f-line-alignment.drag-handler.mjs +4 -4
- package/esm2022/f-draggable/f-node-move/f-summary-node-move.drag-handler.mjs +5 -5
- package/esm2022/f-draggable/f-node-move/line-alignment-preparation/line-alignment-preparation.execution.mjs +4 -3
- package/esm2022/f-draggable/f-node-move/point-bounds-limiter.mjs +8 -6
- package/esm2022/f-draggable/f-node-resize/f-node-resize.drag-handler.mjs +4 -4
- package/esm2022/f-draggable/f-node-resize/resize-preparation/f-node-resize-preparation.execution.mjs +4 -3
- package/esm2022/f-draggable/f-node-rotate/f-node-rotate.drag-handler.mjs +8 -6
- package/esm2022/f-draggable/f-node-rotate/rotate-preparation/f-node-rotate-preparation.execution.mjs +6 -5
- package/esm2022/f-draggable/index.mjs +1 -2
- package/esm2022/f-external-item/domain/f-external-item.drag-handler.mjs +15 -9
- package/esm2022/f-external-item/domain/preparation/f-external-item-preparation.execution.mjs +4 -3
- package/esm2022/f-minimap/domain/minimap-draw-nodes/minimap-draw-nodes.execution.mjs +10 -1
- package/esm2022/f-minimap/f-minimap-canvas.directive.mjs +1 -1
- package/esm2022/f-minimap/f-minimap-flow.directive.mjs +1 -1
- package/esm2022/f-minimap/f-minimap-view.directive.mjs +1 -1
- package/esm2022/f-node/f-group.directive.mjs +7 -4
- package/esm2022/f-node/f-node-base.mjs +1 -1
- package/esm2022/f-node/f-node.directive.mjs +7 -4
- package/f-backgroud/providers.d.ts +1 -1
- package/f-connection/providers.d.ts +1 -1
- package/f-draggable/f-canvas/f-canvas.drag-handler.d.ts +3 -1
- package/f-draggable/f-canvas/move-preparation/f-canvas-move-preparation.execution.d.ts +3 -2
- package/f-draggable/f-connection/f-create-connection/create-preparation/drag-handler-preparation/f-create-connection-drag-handler-preparation.execution.d.ts +3 -2
- package/f-draggable/f-connection/f-create-connection/f-create-connection.drag-handler.d.ts +5 -4
- package/f-draggable/f-connection/f-reassign-connection/f-reassign-connection.drag-handler.d.ts +5 -4
- package/f-draggable/f-connection/f-reassign-connection/reassign-preparation/f-reassign-connection-preparation.execution.d.ts +4 -3
- package/f-draggable/f-connection/providers.d.ts +1 -1
- package/f-draggable/f-draggable.directive.d.ts +0 -1
- package/f-draggable/f-drop-to-group/drop-to-group-preparation/f-node-drop-to-group-preparation.execution.d.ts +4 -3
- package/f-draggable/f-drop-to-group/f-node-drop-to-group.drag-handler.d.ts +4 -3
- package/f-draggable/f-node-move/connection-drag-handlers/base-connection.drag-handler.d.ts +2 -1
- package/f-draggable/f-node-move/connection-drag-handlers/source-connection.drag-handler.d.ts +2 -1
- package/f-draggable/f-node-move/connection-drag-handlers/source-target-connection.drag-handler.d.ts +2 -1
- package/f-draggable/f-node-move/connection-drag-handlers/target-connection.drag-handler.d.ts +2 -1
- package/f-draggable/f-node-move/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.execution.d.ts +1 -0
- package/f-draggable/f-node-move/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/put-input-connection-handlers-to-array.execution.d.ts +2 -1
- package/f-draggable/f-node-move/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/put-output-connection-handlers-to-array.execution.d.ts +2 -1
- package/f-draggable/f-node-move/create-move-nodes-drag-model-from-selection/providers.d.ts +1 -1
- package/f-draggable/f-node-move/f-line-alignment.drag-handler.d.ts +2 -1
- package/f-draggable/f-node-move/f-summary-node-move.drag-handler.d.ts +2 -1
- package/f-draggable/f-node-move/line-alignment-preparation/line-alignment-preparation.execution.d.ts +5 -4
- package/f-draggable/f-node-move/point-bounds-limiter.d.ts +4 -3
- package/f-draggable/f-node-move/providers.d.ts +1 -1
- package/f-draggable/f-node-resize/f-node-resize.drag-handler.d.ts +2 -1
- package/f-draggable/f-node-resize/providers.d.ts +1 -1
- package/f-draggable/f-node-resize/resize-preparation/f-node-resize-preparation.execution.d.ts +4 -3
- package/f-draggable/f-node-rotate/f-node-rotate.drag-handler.d.ts +2 -1
- package/f-draggable/f-node-rotate/rotate-preparation/f-node-rotate-preparation.execution.d.ts +1 -0
- package/f-draggable/index.d.ts +0 -1
- package/f-draggable/providers.d.ts +1 -1
- package/f-external-item/domain/f-external-item.drag-handler.d.ts +6 -4
- package/f-external-item/domain/preparation/f-external-item-preparation.execution.d.ts +1 -0
- package/f-external-item/domain/providers.d.ts +1 -1
- package/f-minimap/domain/minimap-draw-nodes/minimap-draw-nodes.execution.d.ts +3 -2
- package/f-minimap/domain/providers.d.ts +1 -1
- package/f-minimap/f-minimap-canvas.directive.d.ts +2 -2
- package/f-minimap/f-minimap-view.directive.d.ts +2 -2
- package/f-minimap/providers.d.ts +1 -1
- package/f-node/f-group.directive.d.ts +4 -3
- package/f-node/f-node-base.d.ts +1 -0
- package/f-node/f-node.directive.d.ts +4 -3
- package/f-node/providers.d.ts +2 -2
- package/f-selection-area/domain/providers.d.ts +1 -1
- package/f-storage/providers.d.ts +1 -1
- package/fesm2022/foblex-flow.mjs +122 -92
- package/fesm2022/foblex-flow.mjs.map +1 -1
- package/package.json +1 -1
- package/esm2022/f-draggable/f-injector.mjs +0 -19
- package/f-draggable/f-injector.d.ts +0 -8
package/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,
|
|
2
|
+
import { InjectionToken, inject, Injectable, effect, Directive, input, computed, DestroyRef, EventEmitter, 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';
|
|
@@ -1214,6 +1214,8 @@ let uniqueId$b = 0;
|
|
|
1214
1214
|
class FGroupDirective extends FNodeBase {
|
|
1215
1215
|
renderer;
|
|
1216
1216
|
fBrowser;
|
|
1217
|
+
_destroyRef = inject(DestroyRef);
|
|
1218
|
+
_fMediator = inject(FMediator);
|
|
1217
1219
|
fId = `f-group-${uniqueId$b++}`;
|
|
1218
1220
|
fParentId = null;
|
|
1219
1221
|
set position(value) {
|
|
@@ -1253,8 +1255,7 @@ class FGroupDirective extends FNodeBase {
|
|
|
1253
1255
|
fSelectionDisabled = false;
|
|
1254
1256
|
fIncludePadding = true;
|
|
1255
1257
|
fConnectOnNode = true;
|
|
1256
|
-
|
|
1257
|
-
_fMediator = inject(FMediator);
|
|
1258
|
+
fMinimapClass = [];
|
|
1258
1259
|
constructor(elementReference, renderer, fBrowser) {
|
|
1259
1260
|
super(elementReference.nativeElement);
|
|
1260
1261
|
this.renderer = renderer;
|
|
@@ -1293,7 +1294,7 @@ class FGroupDirective extends FNodeBase {
|
|
|
1293
1294
|
this._fMediator.execute(new RemoveNodeFromStoreRequest(this));
|
|
1294
1295
|
}
|
|
1295
1296
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FGroupDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.BrowserService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1296
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.2.4", type: FGroupDirective, selector: "[fGroup]", inputs: { fId: ["fGroupId", "fId"], fParentId: ["fGroupParentId", "fParentId"], position: ["fGroupPosition", "position"], rotate: ["fGroupRotate", "rotate"], size: ["fGroupSize", "size"], fDraggingDisabled: ["fGroupDraggingDisabled", "fDraggingDisabled", booleanAttribute], fSelectionDisabled: ["fGroupSelectionDisabled", "fSelectionDisabled", booleanAttribute], fIncludePadding: ["fIncludePadding", "fIncludePadding", booleanAttribute], fConnectOnNode: ["fConnectOnNode", "fConnectOnNode", booleanAttribute] }, outputs: { positionChange: "fGroupPositionChange", rotateChange: "fGroupRotateChange", sizeChange: "fGroupSizeChange" }, host: { properties: { "attr.data-f-group-id": "fId", "class.f-group-dragging-disabled": "fDraggingDisabled", "class.f-group-selection-disabled": "fSelectionDisabled" }, classAttribute: "f-group f-component" }, providers: [
|
|
1297
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.2.4", type: FGroupDirective, selector: "[fGroup]", inputs: { fId: ["fGroupId", "fId"], fParentId: ["fGroupParentId", "fParentId"], position: ["fGroupPosition", "position"], rotate: ["fGroupRotate", "rotate"], size: ["fGroupSize", "size"], fDraggingDisabled: ["fGroupDraggingDisabled", "fDraggingDisabled", booleanAttribute], fSelectionDisabled: ["fGroupSelectionDisabled", "fSelectionDisabled", booleanAttribute], fIncludePadding: ["fIncludePadding", "fIncludePadding", booleanAttribute], fConnectOnNode: ["fConnectOnNode", "fConnectOnNode", booleanAttribute], fMinimapClass: "fMinimapClass" }, outputs: { positionChange: "fGroupPositionChange", rotateChange: "fGroupRotateChange", sizeChange: "fGroupSizeChange" }, host: { properties: { "attr.data-f-group-id": "fId", "class.f-group-dragging-disabled": "fDraggingDisabled", "class.f-group-selection-disabled": "fSelectionDisabled" }, classAttribute: "f-group f-component" }, providers: [
|
|
1297
1298
|
{ provide: F_NODE, useExisting: FGroupDirective }
|
|
1298
1299
|
], exportAs: ["fComponent"], usesInheritance: true, ngImport: i0 });
|
|
1299
1300
|
}
|
|
@@ -1348,12 +1349,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImpor
|
|
|
1348
1349
|
}], fConnectOnNode: [{
|
|
1349
1350
|
type: Input,
|
|
1350
1351
|
args: [{ transform: booleanAttribute }]
|
|
1352
|
+
}], fMinimapClass: [{
|
|
1353
|
+
type: Input
|
|
1351
1354
|
}] } });
|
|
1352
1355
|
|
|
1353
1356
|
let uniqueId$a = 0;
|
|
1354
1357
|
class FNodeDirective extends FNodeBase {
|
|
1355
1358
|
renderer;
|
|
1356
1359
|
fBrowser;
|
|
1360
|
+
_destroyRef = inject(DestroyRef);
|
|
1361
|
+
_fMediator = inject(FMediator);
|
|
1357
1362
|
fId = `f-node-${uniqueId$a++}`;
|
|
1358
1363
|
fParentId = null;
|
|
1359
1364
|
set position(value) {
|
|
@@ -1394,8 +1399,7 @@ class FNodeDirective extends FNodeBase {
|
|
|
1394
1399
|
fIncludePadding = true;
|
|
1395
1400
|
//Add ability to connect to first connectable input if node is at pointer position
|
|
1396
1401
|
fConnectOnNode = true;
|
|
1397
|
-
|
|
1398
|
-
_fMediator = inject(FMediator);
|
|
1402
|
+
fMinimapClass = [];
|
|
1399
1403
|
constructor(elementReference, renderer, fBrowser) {
|
|
1400
1404
|
super(elementReference.nativeElement);
|
|
1401
1405
|
this.renderer = renderer;
|
|
@@ -1434,7 +1438,7 @@ class FNodeDirective extends FNodeBase {
|
|
|
1434
1438
|
this._fMediator.execute(new RemoveNodeFromStoreRequest(this));
|
|
1435
1439
|
}
|
|
1436
1440
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FNodeDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.BrowserService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1437
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.2.4", type: FNodeDirective, selector: "[fNode]", inputs: { fId: ["fNodeId", "fId"], fParentId: ["fNodeParentId", "fParentId"], position: ["fNodePosition", "position"], size: ["fNodeSize", "size"], rotate: ["fNodeRotate", "rotate"], fDraggingDisabled: ["fNodeDraggingDisabled", "fDraggingDisabled", booleanAttribute], fSelectionDisabled: ["fNodeSelectionDisabled", "fSelectionDisabled", booleanAttribute], fIncludePadding: ["fIncludePadding", "fIncludePadding", booleanAttribute], fConnectOnNode: ["fConnectOnNode", "fConnectOnNode", booleanAttribute] }, outputs: { positionChange: "fNodePositionChange", rotateChange: "fNodeRotateChange", sizeChange: "fNodeSizeChange" }, host: { properties: { "attr.data-f-node-id": "fId", "class.f-node-dragging-disabled": "fDraggingDisabled", "class.f-node-selection-disabled": "fSelectionDisabled" }, classAttribute: "f-node f-component" }, providers: [
|
|
1441
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.2.4", type: FNodeDirective, selector: "[fNode]", inputs: { fId: ["fNodeId", "fId"], fParentId: ["fNodeParentId", "fParentId"], position: ["fNodePosition", "position"], size: ["fNodeSize", "size"], rotate: ["fNodeRotate", "rotate"], fDraggingDisabled: ["fNodeDraggingDisabled", "fDraggingDisabled", booleanAttribute], fSelectionDisabled: ["fNodeSelectionDisabled", "fSelectionDisabled", booleanAttribute], fIncludePadding: ["fIncludePadding", "fIncludePadding", booleanAttribute], fConnectOnNode: ["fConnectOnNode", "fConnectOnNode", booleanAttribute], fMinimapClass: "fMinimapClass" }, outputs: { positionChange: "fNodePositionChange", rotateChange: "fNodeRotateChange", sizeChange: "fNodeSizeChange" }, host: { properties: { "attr.data-f-node-id": "fId", "class.f-node-dragging-disabled": "fDraggingDisabled", "class.f-node-selection-disabled": "fSelectionDisabled" }, classAttribute: "f-node f-component" }, providers: [
|
|
1438
1442
|
{ provide: F_NODE, useExisting: FNodeDirective }
|
|
1439
1443
|
], exportAs: ["fComponent"], usesInheritance: true, ngImport: i0 });
|
|
1440
1444
|
}
|
|
@@ -1489,6 +1493,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImpor
|
|
|
1489
1493
|
}], fConnectOnNode: [{
|
|
1490
1494
|
type: Input,
|
|
1491
1495
|
args: [{ transform: booleanAttribute }]
|
|
1496
|
+
}], fMinimapClass: [{
|
|
1497
|
+
type: Input
|
|
1492
1498
|
}] } });
|
|
1493
1499
|
|
|
1494
1500
|
function isNode(element) {
|
|
@@ -3733,29 +3739,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImpor
|
|
|
3733
3739
|
type: Injectable
|
|
3734
3740
|
}] });
|
|
3735
3741
|
|
|
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
3742
|
class FCanvasDragHandler {
|
|
3756
3743
|
fEventType = 'canvas-move';
|
|
3757
|
-
_fComponentsStore
|
|
3744
|
+
_fComponentsStore;
|
|
3758
3745
|
_onPointerDownPosition = PointExtensions.initialize();
|
|
3746
|
+
constructor(_injector) {
|
|
3747
|
+
this._fComponentsStore = _injector.get(FComponentsStore);
|
|
3748
|
+
}
|
|
3759
3749
|
prepareDragSequence() {
|
|
3760
3750
|
this._onPointerDownPosition = this._fComponentsStore.fCanvas.transform.position;
|
|
3761
3751
|
}
|
|
@@ -3801,6 +3791,7 @@ class FCanvasMovePreparationRequest {
|
|
|
3801
3791
|
let FCanvasMovePreparationExecution = class FCanvasMovePreparationExecution {
|
|
3802
3792
|
_fComponentsStore = inject(FComponentsStore);
|
|
3803
3793
|
_fDraggableDataContext = inject(FDraggableDataContext);
|
|
3794
|
+
_injector = inject(Injector);
|
|
3804
3795
|
get _fHost() {
|
|
3805
3796
|
return this._fComponentsStore.fFlow.hostElement;
|
|
3806
3797
|
}
|
|
@@ -3811,7 +3802,7 @@ let FCanvasMovePreparationExecution = class FCanvasMovePreparationExecution {
|
|
|
3811
3802
|
this._fDraggableDataContext.onPointerDownScale = 1;
|
|
3812
3803
|
this._fDraggableDataContext.onPointerDownPosition = Point.fromPoint(request.event.getPosition())
|
|
3813
3804
|
.elementTransform(this._fHost);
|
|
3814
|
-
this._fDraggableDataContext.draggableItems = [new FCanvasDragHandler()];
|
|
3805
|
+
this._fDraggableDataContext.draggableItems = [new FCanvasDragHandler(this._injector)];
|
|
3815
3806
|
}
|
|
3816
3807
|
_isValid(request) {
|
|
3817
3808
|
return this._fDraggableDataContext.isEmpty() &&
|
|
@@ -3936,9 +3927,9 @@ class FCreateConnectionDragHandler {
|
|
|
3936
3927
|
_fOutputOrOutlet;
|
|
3937
3928
|
fEventType = 'create-connection';
|
|
3938
3929
|
fData;
|
|
3939
|
-
_fResult
|
|
3940
|
-
_fMediator
|
|
3941
|
-
_fComponentsStore
|
|
3930
|
+
_fResult;
|
|
3931
|
+
_fMediator;
|
|
3932
|
+
_fComponentsStore;
|
|
3942
3933
|
_toConnectorRect = new RoundedRect();
|
|
3943
3934
|
get _fConnection() {
|
|
3944
3935
|
return this._fComponentsStore.fTempConnection;
|
|
@@ -3948,8 +3939,11 @@ class FCreateConnectionDragHandler {
|
|
|
3948
3939
|
}
|
|
3949
3940
|
_fOutputWithRect;
|
|
3950
3941
|
_canBeConnectedInputs = [];
|
|
3951
|
-
constructor(_fOutputOrOutlet, _onPointerDownPosition) {
|
|
3942
|
+
constructor(_injector, _fOutputOrOutlet, _onPointerDownPosition) {
|
|
3952
3943
|
this._fOutputOrOutlet = _fOutputOrOutlet;
|
|
3944
|
+
this._fResult = _injector.get(FDragHandlerResult);
|
|
3945
|
+
this._fMediator = _injector.get(FMediator);
|
|
3946
|
+
this._fComponentsStore = _injector.get(FComponentsStore);
|
|
3953
3947
|
this._toConnectorRect = RoundedRect.fromRect(RectExtensions.initialize(_onPointerDownPosition.x, _onPointerDownPosition.y));
|
|
3954
3948
|
this.fData = {
|
|
3955
3949
|
fOutputOrOutletId: this._fOutputOrOutlet.fId,
|
|
@@ -4078,6 +4072,7 @@ class FCreateConnectionDragHandlerPreparationRequest {
|
|
|
4078
4072
|
let FCreateConnectionDragHandlerPreparationExecution = class FCreateConnectionDragHandlerPreparationExecution {
|
|
4079
4073
|
_fComponentsStore = inject(FComponentsStore);
|
|
4080
4074
|
_fDraggableDataContext = inject(FDraggableDataContext);
|
|
4075
|
+
_injector = inject(Injector);
|
|
4081
4076
|
get _fHost() {
|
|
4082
4077
|
return this._fComponentsStore.fFlow.hostElement;
|
|
4083
4078
|
}
|
|
@@ -4092,7 +4087,7 @@ let FCreateConnectionDragHandlerPreparationExecution = class FCreateConnectionDr
|
|
|
4092
4087
|
const positionRelativeToCanvasComponent = Point.fromPoint(positionRelativeToFlowComponent).mult(this._transform.scale)
|
|
4093
4088
|
.sub(this._transform.position).sub(this._transform.scaledPosition).div(this._transform.scale);
|
|
4094
4089
|
this._fDraggableDataContext.draggableItems = [
|
|
4095
|
-
new FCreateConnectionDragHandler(request.fOutputOrOutlet, positionRelativeToCanvasComponent)
|
|
4090
|
+
new FCreateConnectionDragHandler(this._injector, request.fOutputOrOutlet, positionRelativeToCanvasComponent)
|
|
4096
4091
|
];
|
|
4097
4092
|
}
|
|
4098
4093
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FCreateConnectionDragHandlerPreparationExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
@@ -4268,9 +4263,9 @@ class FReassignConnectionDragHandler {
|
|
|
4268
4263
|
_fConnection;
|
|
4269
4264
|
fEventType = 'reassign-connection';
|
|
4270
4265
|
fData;
|
|
4271
|
-
_fResult
|
|
4272
|
-
_fMediator
|
|
4273
|
-
_fComponentsStore
|
|
4266
|
+
_fResult;
|
|
4267
|
+
_fMediator;
|
|
4268
|
+
_fComponentsStore;
|
|
4274
4269
|
_toConnectorRect = new RoundedRect();
|
|
4275
4270
|
get _fSnapConnection() {
|
|
4276
4271
|
return this._fComponentsStore.fSnapConnection;
|
|
@@ -4292,8 +4287,11 @@ class FReassignConnectionDragHandler {
|
|
|
4292
4287
|
}
|
|
4293
4288
|
return result;
|
|
4294
4289
|
}
|
|
4295
|
-
constructor(_fConnection) {
|
|
4290
|
+
constructor(_injector, _fConnection) {
|
|
4296
4291
|
this._fConnection = _fConnection;
|
|
4292
|
+
this._fResult = _injector.get(FDragHandlerResult);
|
|
4293
|
+
this._fMediator = _injector.get(FMediator);
|
|
4294
|
+
this._fComponentsStore = _injector.get(FComponentsStore);
|
|
4297
4295
|
this._toConnectorRect = RoundedRect.fromRect(RectExtensions.initialize(this._fConnection.line.point2.x, this._fConnection.line.point2.y));
|
|
4298
4296
|
this.fData = {
|
|
4299
4297
|
fConnectionId: this._fConnection.fId
|
|
@@ -4442,6 +4440,7 @@ let FReassignConnectionPreparationExecution = class FReassignConnectionPreparati
|
|
|
4442
4440
|
_fMediator = inject(FMediator);
|
|
4443
4441
|
_fComponentsStore = inject(FComponentsStore);
|
|
4444
4442
|
_fDraggableDataContext = inject(FDraggableDataContext);
|
|
4443
|
+
_injector = inject(Injector);
|
|
4445
4444
|
_fConnection;
|
|
4446
4445
|
get _transform() {
|
|
4447
4446
|
return this._fComponentsStore.fCanvas.transform;
|
|
@@ -4460,7 +4459,7 @@ let FReassignConnectionPreparationExecution = class FReassignConnectionPreparati
|
|
|
4460
4459
|
this._fDraggableDataContext.onPointerDownPosition = Point.fromPoint(request.event.getPosition())
|
|
4461
4460
|
.elementTransform(this._fHost).div(this._transform.scale);
|
|
4462
4461
|
this._fDraggableDataContext.draggableItems = [
|
|
4463
|
-
new FReassignConnectionDragHandler(this._fConnection)
|
|
4462
|
+
new FReassignConnectionDragHandler(this._injector, this._fConnection)
|
|
4464
4463
|
];
|
|
4465
4464
|
setTimeout(() => this._updateConnectionLayer());
|
|
4466
4465
|
}
|
|
@@ -4522,8 +4521,8 @@ class FNodeDropToGroupFinalizeRequest {
|
|
|
4522
4521
|
|
|
4523
4522
|
class FNodeDropToGroupDragHandler {
|
|
4524
4523
|
notDraggedNodesRects;
|
|
4525
|
-
_fComponentsStore
|
|
4526
|
-
_fDraggableDataContext
|
|
4524
|
+
_fComponentsStore;
|
|
4525
|
+
_fDraggableDataContext;
|
|
4527
4526
|
fEventType = 'move-node-to-parent';
|
|
4528
4527
|
_DEBOUNCE_TIME = 15;
|
|
4529
4528
|
get _transform() {
|
|
@@ -4532,8 +4531,10 @@ class FNodeDropToGroupDragHandler {
|
|
|
4532
4531
|
_onPointerDownPosition = PointExtensions.initialize();
|
|
4533
4532
|
_debounceTimer = null;
|
|
4534
4533
|
fNodeWithRect = null;
|
|
4535
|
-
constructor(notDraggedNodesRects) {
|
|
4534
|
+
constructor(_injector, notDraggedNodesRects) {
|
|
4536
4535
|
this.notDraggedNodesRects = notDraggedNodesRects;
|
|
4536
|
+
this._fComponentsStore = _injector.get(FComponentsStore);
|
|
4537
|
+
this._fDraggableDataContext = _injector.get(FDraggableDataContext);
|
|
4537
4538
|
this._onPointerDownPosition = this._fDraggableDataContext.onPointerDownPosition;
|
|
4538
4539
|
}
|
|
4539
4540
|
_toggleParentNode(difference) {
|
|
@@ -4578,12 +4579,12 @@ class FNodeDropToGroupDragHandler {
|
|
|
4578
4579
|
}
|
|
4579
4580
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FNodeDropToGroupDragHandler, decorators: [{
|
|
4580
4581
|
type: Directive
|
|
4581
|
-
}], ctorParameters: () => [{ type: undefined }] });
|
|
4582
|
+
}], ctorParameters: () => [{ type: i0.Injector }, { type: undefined }] });
|
|
4582
4583
|
|
|
4583
4584
|
class BaseConnectionDragHandler {
|
|
4584
4585
|
fConnection;
|
|
4585
|
-
_fMediator
|
|
4586
|
-
_fComponentsStore
|
|
4586
|
+
_fMediator;
|
|
4587
|
+
_fComponentsStore;
|
|
4587
4588
|
_fOutputWithRect;
|
|
4588
4589
|
_fInputWithRect;
|
|
4589
4590
|
get _fOutput() {
|
|
@@ -4602,8 +4603,10 @@ class BaseConnectionDragHandler {
|
|
|
4602
4603
|
}
|
|
4603
4604
|
_sourceDifference = PointExtensions.initialize();
|
|
4604
4605
|
_targetDifference = PointExtensions.initialize();
|
|
4605
|
-
constructor(fConnection) {
|
|
4606
|
+
constructor(_injector, fConnection) {
|
|
4606
4607
|
this.fConnection = fConnection;
|
|
4608
|
+
this._fMediator = _injector.get(FMediator);
|
|
4609
|
+
this._fComponentsStore = _injector.get(FComponentsStore);
|
|
4607
4610
|
this._initialize();
|
|
4608
4611
|
}
|
|
4609
4612
|
_initialize() {
|
|
@@ -4632,8 +4635,8 @@ class BaseConnectionDragHandler {
|
|
|
4632
4635
|
}
|
|
4633
4636
|
|
|
4634
4637
|
class SourceConnectionDragHandler extends BaseConnectionDragHandler {
|
|
4635
|
-
constructor(fConnection) {
|
|
4636
|
-
super(fConnection);
|
|
4638
|
+
constructor(injector, fConnection) {
|
|
4639
|
+
super(injector, fConnection);
|
|
4637
4640
|
}
|
|
4638
4641
|
setSourceDifference(difference) {
|
|
4639
4642
|
super.setSourceDifference(difference);
|
|
@@ -4643,8 +4646,8 @@ class SourceConnectionDragHandler extends BaseConnectionDragHandler {
|
|
|
4643
4646
|
|
|
4644
4647
|
class SourceTargetConnectionDragHandler extends BaseConnectionDragHandler {
|
|
4645
4648
|
_callTracker = new Map();
|
|
4646
|
-
constructor(fConnection) {
|
|
4647
|
-
super(fConnection);
|
|
4649
|
+
constructor(injector, fConnection) {
|
|
4650
|
+
super(injector, fConnection);
|
|
4648
4651
|
}
|
|
4649
4652
|
setSourceDifference(difference) {
|
|
4650
4653
|
super.setSourceDifference(difference);
|
|
@@ -4663,8 +4666,8 @@ class SourceTargetConnectionDragHandler extends BaseConnectionDragHandler {
|
|
|
4663
4666
|
}
|
|
4664
4667
|
|
|
4665
4668
|
class TargetConnectionDragHandler extends BaseConnectionDragHandler {
|
|
4666
|
-
constructor(fConnection) {
|
|
4667
|
-
super(fConnection);
|
|
4669
|
+
constructor(injector, fConnection) {
|
|
4670
|
+
super(injector, fConnection);
|
|
4668
4671
|
}
|
|
4669
4672
|
setTargetDifference(difference) {
|
|
4670
4673
|
super.setTargetDifference(difference);
|
|
@@ -4754,6 +4757,7 @@ class PutInputConnectionHandlersToArrayRequest {
|
|
|
4754
4757
|
|
|
4755
4758
|
let PutInputConnectionHandlersToArrayExecution = class PutInputConnectionHandlersToArrayExecution {
|
|
4756
4759
|
_fComponentsStore = inject(FComponentsStore);
|
|
4760
|
+
_injector = inject(Injector);
|
|
4757
4761
|
get _fConnections() {
|
|
4758
4762
|
return this._fComponentsStore.fConnections;
|
|
4759
4763
|
}
|
|
@@ -4785,10 +4789,10 @@ let PutInputConnectionHandlersToArrayExecution = class PutInputConnectionHandler
|
|
|
4785
4789
|
_createConnectionHandler(outputIds, fConnection) {
|
|
4786
4790
|
let result;
|
|
4787
4791
|
if (outputIds.includes(fConnection.fOutputId)) {
|
|
4788
|
-
result = new SourceTargetConnectionDragHandler(fConnection);
|
|
4792
|
+
result = new SourceTargetConnectionDragHandler(this._injector, fConnection);
|
|
4789
4793
|
}
|
|
4790
4794
|
else {
|
|
4791
|
-
result = new TargetConnectionDragHandler(fConnection);
|
|
4795
|
+
result = new TargetConnectionDragHandler(this._injector, fConnection);
|
|
4792
4796
|
}
|
|
4793
4797
|
return result;
|
|
4794
4798
|
}
|
|
@@ -4815,6 +4819,7 @@ class PutOutputConnectionHandlersToArrayRequest {
|
|
|
4815
4819
|
|
|
4816
4820
|
let PutOutputConnectionHandlersToArrayExecution = class PutOutputConnectionHandlersToArrayExecution {
|
|
4817
4821
|
_fComponentsStore = inject(FComponentsStore);
|
|
4822
|
+
_injector = inject(Injector);
|
|
4818
4823
|
get _fConnections() {
|
|
4819
4824
|
return this._fComponentsStore.fConnections;
|
|
4820
4825
|
}
|
|
@@ -4846,10 +4851,10 @@ let PutOutputConnectionHandlersToArrayExecution = class PutOutputConnectionHandl
|
|
|
4846
4851
|
_createConnectionHandler(inputIds, fConnection) {
|
|
4847
4852
|
let result;
|
|
4848
4853
|
if (inputIds.includes(fConnection.fInputId)) {
|
|
4849
|
-
result = new SourceTargetConnectionDragHandler(fConnection);
|
|
4854
|
+
result = new SourceTargetConnectionDragHandler(this._injector, fConnection);
|
|
4850
4855
|
}
|
|
4851
4856
|
else {
|
|
4852
|
-
result = new SourceConnectionDragHandler(fConnection);
|
|
4857
|
+
result = new SourceConnectionDragHandler(this._injector, fConnection);
|
|
4853
4858
|
}
|
|
4854
4859
|
return result;
|
|
4855
4860
|
}
|
|
@@ -4951,12 +4956,15 @@ class FNodeMoveDragHandler {
|
|
|
4951
4956
|
class PointBoundsLimiter {
|
|
4952
4957
|
_onPointerDown;
|
|
4953
4958
|
_limit;
|
|
4954
|
-
_fComponentsStore
|
|
4955
|
-
_vCellSize
|
|
4956
|
-
_hCellSize
|
|
4957
|
-
constructor(_onPointerDown, _limit) {
|
|
4959
|
+
_fComponentsStore;
|
|
4960
|
+
_vCellSize;
|
|
4961
|
+
_hCellSize;
|
|
4962
|
+
constructor(_injector, _onPointerDown, _limit) {
|
|
4958
4963
|
this._onPointerDown = _onPointerDown;
|
|
4959
4964
|
this._limit = _limit;
|
|
4965
|
+
this._fComponentsStore = _injector.get(FComponentsStore);
|
|
4966
|
+
this._vCellSize = this._fComponentsStore.fDraggable.vCellSize;
|
|
4967
|
+
this._hCellSize = this._fComponentsStore.fDraggable.hCellSize;
|
|
4960
4968
|
}
|
|
4961
4969
|
limit(difference, adjustCellSize) {
|
|
4962
4970
|
const { min, max } = this._limit;
|
|
@@ -4993,13 +5001,14 @@ class FSummaryNodeMoveDragHandler {
|
|
|
4993
5001
|
commonRect;
|
|
4994
5002
|
fEventType = 'move-node';
|
|
4995
5003
|
fData;
|
|
4996
|
-
_fComponentStore
|
|
5004
|
+
_fComponentStore;
|
|
4997
5005
|
_fBoundsLimiter;
|
|
4998
|
-
constructor(limits, fHandlers, commonRect) {
|
|
5006
|
+
constructor(_injector, limits, fHandlers, commonRect) {
|
|
4999
5007
|
this.limits = limits;
|
|
5000
5008
|
this.fHandlers = fHandlers;
|
|
5001
5009
|
this.commonRect = commonRect;
|
|
5002
|
-
this.
|
|
5010
|
+
this._fComponentStore = _injector.get(FComponentsStore);
|
|
5011
|
+
this._fBoundsLimiter = new PointBoundsLimiter(_injector, this.commonRect, limits);
|
|
5003
5012
|
this.fData = {
|
|
5004
5013
|
fNodeIds: this.fHandlers.map((x) => x.fNode.fId)
|
|
5005
5014
|
};
|
|
@@ -5021,13 +5030,14 @@ let CreateMoveNodesDragModelFromSelectionExecution = class CreateMoveNodesDragMo
|
|
|
5021
5030
|
_fMediator = inject(FMediator);
|
|
5022
5031
|
_fComponentsStore = inject(FComponentsStore);
|
|
5023
5032
|
_fDraggableDataContext = inject(FDraggableDataContext);
|
|
5033
|
+
_injector = inject(Injector);
|
|
5024
5034
|
handle(request) {
|
|
5025
5035
|
const fDraggedNodes = this._getDraggedNodes(request.nodeWithDisabledSelection);
|
|
5026
5036
|
const fNodesToDrag = this._getNodesToDragWithCommonLimits(fDraggedNodes);
|
|
5027
5037
|
const fDragHandlers = this._mapToNodeDragHandlers(fNodesToDrag);
|
|
5028
5038
|
this._setConnectionsHandlersToNodes(fDragHandlers, this._getAllOutputIds(fNodesToDrag), this._getAllInputIds(fNodesToDrag));
|
|
5029
5039
|
const commonLimits = this._calculateCommonLimits(this._getNodesMoveLimits(fNodesToDrag, [], fDraggedNodes));
|
|
5030
|
-
return new FSummaryNodeMoveDragHandler(commonLimits, fDragHandlers, this._getDraggedNodesBoundingRect(fNodesToDrag));
|
|
5040
|
+
return new FSummaryNodeMoveDragHandler(this._injector, commonLimits, fDragHandlers, this._getDraggedNodesBoundingRect(fNodesToDrag));
|
|
5031
5041
|
}
|
|
5032
5042
|
_getDraggedNodes(nodeWithDisabledSelection) {
|
|
5033
5043
|
const result = this._getNodesFromSelection();
|
|
@@ -5132,15 +5142,16 @@ class FLineAlignmentDragHandler {
|
|
|
5132
5142
|
_rects;
|
|
5133
5143
|
_restrictions;
|
|
5134
5144
|
fEventType = 'line-alignment';
|
|
5135
|
-
_fComponentsStore
|
|
5145
|
+
_fComponentsStore;
|
|
5136
5146
|
_debounceTimer = null;
|
|
5137
5147
|
_transform;
|
|
5138
|
-
constructor(_lineService, _size, _draggedNodeRect, _rects, _restrictions) {
|
|
5148
|
+
constructor(_injector, _lineService, _size, _draggedNodeRect, _rects, _restrictions) {
|
|
5139
5149
|
this._lineService = _lineService;
|
|
5140
5150
|
this._size = _size;
|
|
5141
5151
|
this._draggedNodeRect = _draggedNodeRect;
|
|
5142
5152
|
this._rects = _rects;
|
|
5143
5153
|
this._restrictions = _restrictions;
|
|
5154
|
+
this._fComponentsStore = _injector.get(FComponentsStore);
|
|
5144
5155
|
this._transform = this._fComponentsStore.fCanvas?.transform;
|
|
5145
5156
|
}
|
|
5146
5157
|
onPointerMove(difference) {
|
|
@@ -5291,12 +5302,13 @@ let LineAlignmentPreparationExecution = class LineAlignmentPreparationExecution
|
|
|
5291
5302
|
_fComponentsStore = inject(FComponentsStore);
|
|
5292
5303
|
_fDraggableDataContext = inject(FDraggableDataContext);
|
|
5293
5304
|
_fBrowser = inject(BrowserService);
|
|
5305
|
+
_injector = inject(Injector);
|
|
5294
5306
|
_lineService;
|
|
5295
5307
|
handle(request) {
|
|
5296
5308
|
this._addLineAlignmentDragHandler(request.fNodes, request.commonRect);
|
|
5297
5309
|
}
|
|
5298
5310
|
_addLineAlignmentDragHandler(fNodes, commonRect) {
|
|
5299
|
-
this._fDraggableDataContext.draggableItems.push(new FLineAlignmentDragHandler(this._lineService || this._createLineService(), this._getFlowHostSize(), commonRect, this._getStaticNodeRects(fNodes), this._getCommonRestrictions()));
|
|
5311
|
+
this._fDraggableDataContext.draggableItems.push(new FLineAlignmentDragHandler(this._injector, this._lineService || this._createLineService(), this._getFlowHostSize(), commonRect, this._getStaticNodeRects(fNodes), this._getCommonRestrictions()));
|
|
5300
5312
|
}
|
|
5301
5313
|
_getFlowHostSize() {
|
|
5302
5314
|
return this._fMediator.execute(new GetFlowHostElementRequest())
|
|
@@ -5562,6 +5574,7 @@ let FNodeDropToGroupPreparationExecution = class FNodeDropToGroupPreparationExec
|
|
|
5562
5574
|
_fMediator = inject(FMediator);
|
|
5563
5575
|
_fDraggableDataContext = inject(FDraggableDataContext);
|
|
5564
5576
|
_fComponentsStore = inject(FComponentsStore);
|
|
5577
|
+
_injector = inject(Injector);
|
|
5565
5578
|
get _fNodes() {
|
|
5566
5579
|
return this._fComponentsStore.fNodes;
|
|
5567
5580
|
}
|
|
@@ -5580,7 +5593,7 @@ let FNodeDropToGroupPreparationExecution = class FNodeDropToGroupPreparationExec
|
|
|
5580
5593
|
if (!fNode) {
|
|
5581
5594
|
throw new Error('Node not found');
|
|
5582
5595
|
}
|
|
5583
|
-
this._fDraggableDataContext.draggableItems.push(new FNodeDropToGroupDragHandler(this._getNotDraggedNodesRects()));
|
|
5596
|
+
this._fDraggableDataContext.draggableItems.push(new FNodeDropToGroupDragHandler(this._injector, this._getNotDraggedNodesRects()));
|
|
5584
5597
|
}
|
|
5585
5598
|
_isValid() {
|
|
5586
5599
|
return this._fDraggableDataContext.draggableItems
|
|
@@ -5592,7 +5605,7 @@ let FNodeDropToGroupPreparationExecution = class FNodeDropToGroupPreparationExec
|
|
|
5592
5605
|
const rect = this._fMediator.execute(new GetNormalizedElementRectRequest(x.hostElement, false));
|
|
5593
5606
|
return {
|
|
5594
5607
|
node: x,
|
|
5595
|
-
rect: RectExtensions.initialize(rect.x + this._fCanvasPosition.x, rect.y + this._fCanvasPosition.y, rect.width * this._transform.scale, rect.height * this._transform.scale)
|
|
5608
|
+
rect: RectExtensions.initialize(rect.x * this._transform.scale + this._fCanvasPosition.x, rect.y * this._transform.scale + this._fCanvasPosition.y, rect.width * this._transform.scale, rect.height * this._transform.scale)
|
|
5596
5609
|
};
|
|
5597
5610
|
});
|
|
5598
5611
|
}
|
|
@@ -5899,15 +5912,16 @@ class FNodeResizeDragHandler {
|
|
|
5899
5912
|
_fResizeHandleType;
|
|
5900
5913
|
fEventType = 'node-resize';
|
|
5901
5914
|
fData;
|
|
5902
|
-
_fMediator
|
|
5915
|
+
_fMediator;
|
|
5903
5916
|
_originalRect;
|
|
5904
5917
|
_resizeRestrictions;
|
|
5905
|
-
constructor(_fNode, _fResizeHandleType) {
|
|
5918
|
+
constructor(_injector, _fNode, _fResizeHandleType) {
|
|
5906
5919
|
this._fNode = _fNode;
|
|
5907
5920
|
this._fResizeHandleType = _fResizeHandleType;
|
|
5908
5921
|
this.fData = {
|
|
5909
5922
|
fNodeId: _fNode.fId,
|
|
5910
5923
|
};
|
|
5924
|
+
this._fMediator = _injector.get(FMediator);
|
|
5911
5925
|
}
|
|
5912
5926
|
prepareDragSequence() {
|
|
5913
5927
|
this._originalRect = this._getOriginalNodeRect();
|
|
@@ -5994,6 +6008,7 @@ let FNodeResizePreparationExecution = class FNodeResizePreparationExecution {
|
|
|
5994
6008
|
_fMediator = inject(FMediator);
|
|
5995
6009
|
_fComponentsStore = inject(FComponentsStore);
|
|
5996
6010
|
_fDraggableDataContext = inject(FDraggableDataContext);
|
|
6011
|
+
_injector = inject(Injector);
|
|
5997
6012
|
get _transform() {
|
|
5998
6013
|
return this._fComponentsStore.fCanvas.transform;
|
|
5999
6014
|
}
|
|
@@ -6011,7 +6026,7 @@ let FNodeResizePreparationExecution = class FNodeResizePreparationExecution {
|
|
|
6011
6026
|
.elementTransform(this._fHost).div(this._transform.scale);
|
|
6012
6027
|
const resizeHandleType = EFResizeHandleType[this._getHandleType(request.event.targetElement)];
|
|
6013
6028
|
this._fDraggableDataContext.draggableItems = [
|
|
6014
|
-
new FNodeResizeDragHandler(this._fNode, resizeHandleType)
|
|
6029
|
+
new FNodeResizeDragHandler(this._injector, this._fNode, resizeHandleType)
|
|
6015
6030
|
];
|
|
6016
6031
|
}
|
|
6017
6032
|
_isValid(request) {
|
|
@@ -6090,9 +6105,9 @@ class FNodeRotateDragHandler {
|
|
|
6090
6105
|
_fNode;
|
|
6091
6106
|
_fSourceHandlers;
|
|
6092
6107
|
_fTargetHandlers;
|
|
6093
|
-
_fComponentsStore
|
|
6094
|
-
_fMediator
|
|
6095
|
-
_fDraggableDataContext
|
|
6108
|
+
_fComponentsStore;
|
|
6109
|
+
_fMediator;
|
|
6110
|
+
_fDraggableDataContext;
|
|
6096
6111
|
fEventType = 'node-rotate';
|
|
6097
6112
|
fData;
|
|
6098
6113
|
_initialRotationToX = 0;
|
|
@@ -6102,7 +6117,7 @@ class FNodeRotateDragHandler {
|
|
|
6102
6117
|
get _transform() {
|
|
6103
6118
|
return this._fComponentsStore.fCanvas.transform;
|
|
6104
6119
|
}
|
|
6105
|
-
constructor(_fNode, _fSourceHandlers, _fTargetHandlers) {
|
|
6120
|
+
constructor(_injector, _fNode, _fSourceHandlers, _fTargetHandlers) {
|
|
6106
6121
|
this._fNode = _fNode;
|
|
6107
6122
|
this._fSourceHandlers = _fSourceHandlers;
|
|
6108
6123
|
this._fTargetHandlers = _fTargetHandlers;
|
|
@@ -6110,6 +6125,9 @@ class FNodeRotateDragHandler {
|
|
|
6110
6125
|
this.fData = {
|
|
6111
6126
|
fNodeId: _fNode.fId,
|
|
6112
6127
|
};
|
|
6128
|
+
this._fComponentsStore = _injector.get(FComponentsStore);
|
|
6129
|
+
this._fMediator = _injector.get(FMediator);
|
|
6130
|
+
this._fDraggableDataContext = _injector.get(FDraggableDataContext);
|
|
6113
6131
|
}
|
|
6114
6132
|
prepareDragSequence() {
|
|
6115
6133
|
this._fNodeRect = this._getOriginalNodeRect();
|
|
@@ -6184,6 +6202,7 @@ let FNodeRotatePreparationExecution = class FNodeRotatePreparationExecution {
|
|
|
6184
6202
|
_fMediator = inject(FMediator);
|
|
6185
6203
|
_fComponentsStore = inject(FComponentsStore);
|
|
6186
6204
|
_fDraggableDataContext = inject(FDraggableDataContext);
|
|
6205
|
+
_injector = inject(Injector);
|
|
6187
6206
|
get _transform() {
|
|
6188
6207
|
return this._fComponentsStore.fCanvas.transform;
|
|
6189
6208
|
}
|
|
@@ -6200,7 +6219,7 @@ let FNodeRotatePreparationExecution = class FNodeRotatePreparationExecution {
|
|
|
6200
6219
|
this._fDraggableDataContext.onPointerDownPosition = Point.fromPoint(request.event.getPosition())
|
|
6201
6220
|
.elementTransform(this._fHost).div(this._transform.scale);
|
|
6202
6221
|
this._fDraggableDataContext.draggableItems = [
|
|
6203
|
-
new FNodeRotateDragHandler(this._fNode, this._calculateOutputConnectionsDragHandlers(), this._calculateInputConnectionsDragHandlers())
|
|
6222
|
+
new FNodeRotateDragHandler(this._injector, this._fNode, this._calculateOutputConnectionsDragHandlers(), this._calculateInputConnectionsDragHandlers())
|
|
6204
6223
|
];
|
|
6205
6224
|
}
|
|
6206
6225
|
_isValid(request) {
|
|
@@ -6226,7 +6245,7 @@ let FNodeRotatePreparationExecution = class FNodeRotatePreparationExecution {
|
|
|
6226
6245
|
return this._fMediator.execute(new CalculateInputConnectionsRequest(this._fNode)).map((x) => {
|
|
6227
6246
|
const connector = this._fComponentsStore.fInputs.find((y) => y.fId === x.fInputId).hostElement;
|
|
6228
6247
|
return {
|
|
6229
|
-
connection: new TargetConnectionDragHandler(x),
|
|
6248
|
+
connection: new TargetConnectionDragHandler(this._injector, x),
|
|
6230
6249
|
connector: this._fMediator.execute(new GetNormalizedElementRectRequest(connector, false)).gravityCenter
|
|
6231
6250
|
};
|
|
6232
6251
|
});
|
|
@@ -6235,7 +6254,7 @@ let FNodeRotatePreparationExecution = class FNodeRotatePreparationExecution {
|
|
|
6235
6254
|
return this._fMediator.execute(new CalculateOutputConnectionsRequest(this._fNode)).map((x) => {
|
|
6236
6255
|
const connector = this._fComponentsStore.fOutputs.find((y) => y.fId === x.fOutputId).hostElement;
|
|
6237
6256
|
return {
|
|
6238
|
-
connection: new SourceConnectionDragHandler(x),
|
|
6257
|
+
connection: new SourceConnectionDragHandler(this._injector, x),
|
|
6239
6258
|
connector: this._fMediator.execute(new GetNormalizedElementRectRequest(connector, false)).gravityCenter
|
|
6240
6259
|
};
|
|
6241
6260
|
});
|
|
@@ -6512,18 +6531,24 @@ class FExternalItemDragHandler {
|
|
|
6512
6531
|
_fExternalItem;
|
|
6513
6532
|
fEventType = 'external-item';
|
|
6514
6533
|
fData;
|
|
6515
|
-
_fResult
|
|
6516
|
-
_fMediator
|
|
6517
|
-
_fBrowser
|
|
6534
|
+
_fResult;
|
|
6535
|
+
_fMediator;
|
|
6536
|
+
_fBrowser;
|
|
6518
6537
|
_preview;
|
|
6519
6538
|
_placeholder;
|
|
6520
6539
|
_onPointerDownRect = RectExtensions.initialize();
|
|
6521
6540
|
get _fItemHost() {
|
|
6522
6541
|
return this._fExternalItem.hostElement;
|
|
6523
6542
|
}
|
|
6524
|
-
|
|
6543
|
+
get _body() {
|
|
6544
|
+
return this._fBrowser.document.fullscreenElement ?? this._fBrowser.document.body;
|
|
6545
|
+
}
|
|
6546
|
+
constructor(_injector, _fExternalItem) {
|
|
6525
6547
|
this._fExternalItem = _fExternalItem;
|
|
6526
6548
|
this.fData = { fData: _fExternalItem.fData };
|
|
6549
|
+
this._fResult = _injector.get(FDragHandlerResult);
|
|
6550
|
+
this._fMediator = _injector.get(FMediator);
|
|
6551
|
+
this._fBrowser = _injector.get(BrowserService);
|
|
6527
6552
|
}
|
|
6528
6553
|
prepareDragSequence() {
|
|
6529
6554
|
this._onPointerDownRect = this._getExternalItemRect();
|
|
@@ -6537,11 +6562,11 @@ class FExternalItemDragHandler {
|
|
|
6537
6562
|
this._matchElementSize(this._preview, this._onPointerDownRect);
|
|
6538
6563
|
}
|
|
6539
6564
|
this._preview.style.transform = setTransform(this._onPointerDownRect);
|
|
6540
|
-
this.
|
|
6565
|
+
this._body.appendChild(this._preview);
|
|
6541
6566
|
}
|
|
6542
6567
|
_createAndAppendPlaceholder() {
|
|
6543
6568
|
this._placeholder = this._fMediator.execute(new FExternalItemCreatePlaceholderRequest(this._fExternalItem));
|
|
6544
|
-
this.
|
|
6569
|
+
this._body.appendChild(this._fItemHost.parentElement.replaceChild(this._placeholder, this._fItemHost));
|
|
6545
6570
|
}
|
|
6546
6571
|
_matchElementSize(target, sourceRect) {
|
|
6547
6572
|
target.style.width = `${sourceRect.width}px`;
|
|
@@ -6566,7 +6591,7 @@ class FExternalItemDragHandler {
|
|
|
6566
6591
|
this._preview.style.transform = setTransform(position);
|
|
6567
6592
|
}
|
|
6568
6593
|
onPointerUp() {
|
|
6569
|
-
this.
|
|
6594
|
+
this._body.removeChild(this._preview);
|
|
6570
6595
|
this._placeholder.parentElement.replaceChild(this._fItemHost, this._placeholder);
|
|
6571
6596
|
}
|
|
6572
6597
|
}
|
|
@@ -6646,6 +6671,7 @@ let FExternalItemPreparationExecution = class FExternalItemPreparationExecution
|
|
|
6646
6671
|
_fExternalItemService = inject(FExternalItemService);
|
|
6647
6672
|
_fDraggableDataContext = inject(FDraggableDataContext);
|
|
6648
6673
|
_fComponentsStore = inject(FComponentsStore);
|
|
6674
|
+
_injector = inject(Injector);
|
|
6649
6675
|
get _fHost() {
|
|
6650
6676
|
return this._fComponentsStore.fFlow.hostElement;
|
|
6651
6677
|
}
|
|
@@ -6656,7 +6682,7 @@ let FExternalItemPreparationExecution = class FExternalItemPreparationExecution
|
|
|
6656
6682
|
this._fDraggableDataContext.onPointerDownScale = 1;
|
|
6657
6683
|
this._fDraggableDataContext.onPointerDownPosition = Point.fromPoint(request.event.getPosition()).elementTransform(this._fHost);
|
|
6658
6684
|
this._fDraggableDataContext.draggableItems = [
|
|
6659
|
-
new FExternalItemDragHandler(this._getExternalItem(request.event.targetElement))
|
|
6685
|
+
new FExternalItemDragHandler(this._injector, this._getExternalItem(request.event.targetElement))
|
|
6660
6686
|
];
|
|
6661
6687
|
}
|
|
6662
6688
|
_isValid(request) {
|
|
@@ -6887,7 +6913,6 @@ class FDraggableDirective extends FDraggableBase {
|
|
|
6887
6913
|
_fResult = inject(FDragHandlerResult);
|
|
6888
6914
|
_fMediator = inject(FMediator);
|
|
6889
6915
|
_fPlatform = inject(PlatformService);
|
|
6890
|
-
_injector = inject(Injector);
|
|
6891
6916
|
disabled = false;
|
|
6892
6917
|
get hostElement() {
|
|
6893
6918
|
return this._elementReference.nativeElement;
|
|
@@ -6927,7 +6952,6 @@ class FDraggableDirective extends FDraggableBase {
|
|
|
6927
6952
|
super.subscribe(this._fBrowser.document);
|
|
6928
6953
|
}
|
|
6929
6954
|
onPointerDown(event) {
|
|
6930
|
-
FInjector.set(this._injector);
|
|
6931
6955
|
this._fResult.clear();
|
|
6932
6956
|
this._fMediator.execute(new InitializeDragSequenceRequest());
|
|
6933
6957
|
this._beforePlugins.forEach((p) => p.onPointerDown?.(event));
|
|
@@ -6970,17 +6994,14 @@ class FDraggableDirective extends FDraggableBase {
|
|
|
6970
6994
|
this._fMediator.execute(new FExternalItemFinalizeRequest(event));
|
|
6971
6995
|
this._afterPlugins.forEach((x) => x.onPointerUp?.(event));
|
|
6972
6996
|
this._fMediator.execute(new EndDragSequenceRequest());
|
|
6973
|
-
FInjector.clear();
|
|
6974
6997
|
}
|
|
6975
6998
|
finalizeDragSequence() {
|
|
6976
6999
|
this._fMediator.execute(new EmitSelectionChangeEventRequest());
|
|
6977
|
-
FInjector.clear();
|
|
6978
7000
|
this._fResult.clear();
|
|
6979
7001
|
}
|
|
6980
7002
|
ngOnDestroy() {
|
|
6981
7003
|
this._fMediator.execute(new RemoveDndFromStoreRequest());
|
|
6982
7004
|
super.unsubscribe();
|
|
6983
|
-
FInjector.clear();
|
|
6984
7005
|
}
|
|
6985
7006
|
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
7007
|
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 });
|
|
@@ -7286,10 +7307,19 @@ let MinimapDrawNodesExecution = class MinimapDrawNodesExecution {
|
|
|
7286
7307
|
}
|
|
7287
7308
|
_applyClassList(element, node, isNode) {
|
|
7288
7309
|
element.classList.add('f-component', isNode ? 'f-minimap-node' : 'f-minimap-group');
|
|
7310
|
+
element.classList.add(...this._getClassList(node));
|
|
7289
7311
|
if (node.isSelected()) {
|
|
7290
7312
|
element.classList.add('f-selected');
|
|
7291
7313
|
}
|
|
7292
7314
|
}
|
|
7315
|
+
_getClassList(node) {
|
|
7316
|
+
if (Array.isArray(node.fMinimapClass)) {
|
|
7317
|
+
return node.fMinimapClass;
|
|
7318
|
+
}
|
|
7319
|
+
else {
|
|
7320
|
+
return [node.fMinimapClass];
|
|
7321
|
+
}
|
|
7322
|
+
}
|
|
7293
7323
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: MinimapDrawNodesExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7294
7324
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: MinimapDrawNodesExecution });
|
|
7295
7325
|
};
|
|
@@ -9959,5 +9989,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImpor
|
|
|
9959
9989
|
* Generated bundle index. Do not edit.
|
|
9960
9990
|
*/
|
|
9961
9991
|
|
|
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 };
|
|
9992
|
+
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
9993
|
//# sourceMappingURL=foblex-flow.mjs.map
|