@foblex/flow 12.6.7 → 12.6.9
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/bundles/foblex-flow.umd.js +106 -28
- package/bundles/foblex-flow.umd.js.map +1 -1
- package/domain/f-connection/add-connection-to-store/add-connection-to-store-request.d.ts +5 -0
- package/domain/f-connection/add-connection-to-store/add-connection-to-store.execution.d.ts +11 -0
- package/domain/f-connection/add-connection-to-store/index.d.ts +2 -0
- package/domain/f-connection/index.d.ts +2 -0
- package/domain/f-connection/providers.d.ts +3 -1
- package/domain/f-connection/remove-connection-from-store/index.d.ts +2 -0
- package/domain/f-connection/remove-connection-from-store/remove-connection-from-store-request.d.ts +5 -0
- package/domain/f-connection/remove-connection-from-store/remove-connection-from-store.execution.d.ts +11 -0
- package/domain/providers.d.ts +1 -1
- package/esm2015/domain/f-connection/add-connection-to-store/add-connection-to-store-request.js +6 -0
- package/esm2015/domain/f-connection/add-connection-to-store/add-connection-to-store.execution.js +25 -0
- package/esm2015/domain/f-connection/add-connection-to-store/index.js +3 -0
- package/esm2015/domain/f-connection/index.js +3 -1
- package/esm2015/domain/f-connection/providers.js +5 -1
- package/esm2015/domain/f-connection/remove-connection-from-store/index.js +3 -0
- package/esm2015/domain/f-connection/remove-connection-from-store/remove-connection-from-store-request.js +6 -0
- package/esm2015/domain/f-connection/remove-connection-from-store/remove-connection-from-store.execution.js +29 -0
- package/esm2015/f-connection/f-connection/f-connection.component.js +16 -13
- package/esm2015/f-connectors/e-f-connectable-side.js +2 -2
- package/esm2015/f-connectors/f-node-input/f-node-input.directive.js +4 -4
- package/esm2015/f-connectors/f-node-output/f-node-output.directive.js +3 -3
- package/esm2015/f-draggable/connections/create-connection/create-connection.drag-handler.js +7 -2
- package/esm2015/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.execution.js +1 -1
- package/esm2015/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.js +11 -3
- package/esm2015/f-draggable/node/connection-source.drag-handler.js +2 -2
- package/esm2015/f-draggable/node/connection-target.drag-handler.js +2 -2
- package/esm2015/f-draggable/node/connection.drag-handler.js +2 -2
- package/esm2015/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.request.js +1 -1
- package/esm2015/f-draggable/node-resize/calculate-changed-size/calculate-changed-size.execution.js +1 -1
- package/esm2015/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.execution.js +9 -3
- package/esm2015/f-draggable/node-resize/get-node-resize-restrictions/i-node-resize-restrictions.js +1 -1
- package/esm2015/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.execution.js +3 -6
- package/esm2015/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.request.js +3 -3
- package/esm2015/f-draggable/node-resize/node-resize.drag-handler.js +7 -5
- package/esm2015/f-flow/f-flow.component.js +1 -1
- package/f-connection/f-connection/f-connection.component.d.ts +3 -1
- package/f-connectors/e-f-connectable-side.d.ts +1 -1
- package/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.execution.d.ts +1 -0
- package/f-draggable/node-resize/get-node-resize-restrictions/i-node-resize-restrictions.d.ts +2 -1
- package/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.execution.d.ts +0 -1
- package/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.request.d.ts +2 -3
- package/fesm2015/foblex-flow.js +101 -29
- package/fesm2015/foblex-flow.js.map +1 -1
- package/package.json +1 -1
package/fesm2015/foblex-flow.js
CHANGED
|
@@ -514,6 +514,30 @@ const F_CANVAS_FEATURES = [
|
|
|
514
514
|
UpdateScaleExecution
|
|
515
515
|
];
|
|
516
516
|
|
|
517
|
+
class AddConnectionToStoreRequest {
|
|
518
|
+
constructor(fConnection) {
|
|
519
|
+
this.fConnection = fConnection;
|
|
520
|
+
}
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
let AddConnectionToStoreExecution = class AddConnectionToStoreExecution {
|
|
524
|
+
constructor(fComponentsStore) {
|
|
525
|
+
this.fComponentsStore = fComponentsStore;
|
|
526
|
+
}
|
|
527
|
+
handle(request) {
|
|
528
|
+
this.fComponentsStore.fConnections.push(request.fConnection);
|
|
529
|
+
this.fComponentsStore.componentDataChanged();
|
|
530
|
+
}
|
|
531
|
+
};
|
|
532
|
+
AddConnectionToStoreExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: AddConnectionToStoreExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
533
|
+
AddConnectionToStoreExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: AddConnectionToStoreExecution });
|
|
534
|
+
AddConnectionToStoreExecution = __decorate([
|
|
535
|
+
FExecutionRegister(AddConnectionToStoreRequest)
|
|
536
|
+
], AddConnectionToStoreExecution);
|
|
537
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: AddConnectionToStoreExecution, decorators: [{
|
|
538
|
+
type: Injectable
|
|
539
|
+
}], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
|
|
540
|
+
|
|
517
541
|
class FindClosestInputUsingSnapThresholdRequest {
|
|
518
542
|
constructor(position, canBeConnectedInputs, snapThreshold) {
|
|
519
543
|
this.position = position;
|
|
@@ -672,10 +696,40 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
672
696
|
type: Injectable
|
|
673
697
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: i2.FMediator }]; } });
|
|
674
698
|
|
|
699
|
+
class RemoveConnectionFromStoreRequest {
|
|
700
|
+
constructor(fConnection) {
|
|
701
|
+
this.fConnection = fConnection;
|
|
702
|
+
}
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
let RemoveConnectionFromStoreExecution = class RemoveConnectionFromStoreExecution {
|
|
706
|
+
constructor(fComponentsStore) {
|
|
707
|
+
this.fComponentsStore = fComponentsStore;
|
|
708
|
+
}
|
|
709
|
+
handle(request) {
|
|
710
|
+
const index = this.fComponentsStore.fConnections.indexOf(request.fConnection);
|
|
711
|
+
if (index === -1) {
|
|
712
|
+
throw new Error(`Connection not found in store`);
|
|
713
|
+
}
|
|
714
|
+
this.fComponentsStore.fConnections.splice(index, 1);
|
|
715
|
+
this.fComponentsStore.componentDataChanged();
|
|
716
|
+
}
|
|
717
|
+
};
|
|
718
|
+
RemoveConnectionFromStoreExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: RemoveConnectionFromStoreExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
719
|
+
RemoveConnectionFromStoreExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: RemoveConnectionFromStoreExecution });
|
|
720
|
+
RemoveConnectionFromStoreExecution = __decorate([
|
|
721
|
+
FExecutionRegister(RemoveConnectionFromStoreRequest)
|
|
722
|
+
], RemoveConnectionFromStoreExecution);
|
|
723
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: RemoveConnectionFromStoreExecution, decorators: [{
|
|
724
|
+
type: Injectable
|
|
725
|
+
}], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
|
|
726
|
+
|
|
675
727
|
const F_CONNECTION_FEATURES = [
|
|
728
|
+
AddConnectionToStoreExecution,
|
|
676
729
|
FindClosestInputUsingSnapThresholdExecution,
|
|
677
730
|
GetAllCanBeConnectedInputPositionsExecution,
|
|
678
731
|
GetConnectorWithRectExecution,
|
|
732
|
+
RemoveConnectionFromStoreExecution
|
|
679
733
|
];
|
|
680
734
|
|
|
681
735
|
class ClearSelectionRequest {
|
|
@@ -847,8 +901,8 @@ const CANVAS_PROVIDERS = [
|
|
|
847
901
|
var EFConnectableSide;
|
|
848
902
|
(function (EFConnectableSide) {
|
|
849
903
|
EFConnectableSide["LEFT"] = "left";
|
|
850
|
-
EFConnectableSide["RIGHT"] = "right";
|
|
851
904
|
EFConnectableSide["TOP"] = "top";
|
|
905
|
+
EFConnectableSide["RIGHT"] = "right";
|
|
852
906
|
EFConnectableSide["BOTTOM"] = "bottom";
|
|
853
907
|
EFConnectableSide["AUTO"] = "auto";
|
|
854
908
|
})(EFConnectableSide || (EFConnectableSide = {}));
|
|
@@ -1435,6 +1489,7 @@ class FNodeInputDirective extends FNodeInputBase {
|
|
|
1435
1489
|
setConnected(isConnected) {
|
|
1436
1490
|
this.isConnected = isConnected;
|
|
1437
1491
|
this.hostElement.classList.toggle('f-node-input-connected', isConnected);
|
|
1492
|
+
this.hostElement.classList.toggle('f-node-input-not-connectable', !this.canBeConnected);
|
|
1438
1493
|
}
|
|
1439
1494
|
ngOnDestroy() {
|
|
1440
1495
|
this.fNode.removeConnector(this);
|
|
@@ -1442,7 +1497,7 @@ class FNodeInputDirective extends FNodeInputBase {
|
|
|
1442
1497
|
}
|
|
1443
1498
|
}
|
|
1444
1499
|
FNodeInputDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FNodeInputDirective, deps: [{ token: i0.ElementRef }, { token: F_NODE }, { token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1445
|
-
FNodeInputDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: FNodeInputDirective, selector: "[fNodeInput]", inputs: { id: ["fInputId", "id"], multiple: ["fInputMultiple", "multiple"], disabled: ["fInputDisabled", "disabled"], _fSide: ["fInputConnectableSide", "_fSide"] }, host: { properties: { "attr.data-f-input-id": "id", "class.f-node-input-multiple": "multiple", "class.f-node-input-disabled": "disabled"
|
|
1500
|
+
FNodeInputDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: FNodeInputDirective, selector: "[fNodeInput]", inputs: { id: ["fInputId", "id"], multiple: ["fInputMultiple", "multiple"], disabled: ["fInputDisabled", "disabled"], _fSide: ["fInputConnectableSide", "_fSide"] }, host: { properties: { "attr.data-f-input-id": "id", "class.f-node-input-multiple": "multiple", "class.f-node-input-disabled": "disabled" }, classAttribute: "f-component f-node-input" }, providers: [{ provide: F_NODE_INPUT, useExisting: FNodeInputDirective }], exportAs: ["fNodeInput"], usesInheritance: true, ngImport: i0 });
|
|
1446
1501
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FNodeInputDirective, decorators: [{
|
|
1447
1502
|
type: Directive,
|
|
1448
1503
|
args: [{
|
|
@@ -1452,8 +1507,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
1452
1507
|
'[attr.data-f-input-id]': 'id',
|
|
1453
1508
|
class: "f-component f-node-input",
|
|
1454
1509
|
'[class.f-node-input-multiple]': 'multiple',
|
|
1455
|
-
'[class.f-node-input-disabled]': 'disabled'
|
|
1456
|
-
'[class.f-node-input-not-connectable]': '!canBeConnected',
|
|
1510
|
+
'[class.f-node-input-disabled]': 'disabled'
|
|
1457
1511
|
},
|
|
1458
1512
|
providers: [{ provide: F_NODE_INPUT, useExisting: FNodeInputDirective }],
|
|
1459
1513
|
}]
|
|
@@ -1625,6 +1679,7 @@ class FNodeOutputDirective extends FNodeOutputBase {
|
|
|
1625
1679
|
setConnected(isConnected) {
|
|
1626
1680
|
this.isConnected = isConnected;
|
|
1627
1681
|
this.hostElement.classList.toggle('f-node-output-connected', isConnected);
|
|
1682
|
+
this.hostElement.classList.toggle('f-node-output-not-connectable', !this.canBeConnected);
|
|
1628
1683
|
}
|
|
1629
1684
|
ngOnDestroy() {
|
|
1630
1685
|
this.fNode.removeConnector(this);
|
|
@@ -1632,7 +1687,7 @@ class FNodeOutputDirective extends FNodeOutputBase {
|
|
|
1632
1687
|
}
|
|
1633
1688
|
}
|
|
1634
1689
|
FNodeOutputDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FNodeOutputDirective, deps: [{ token: i0.ElementRef }, { token: F_NODE }, { token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1635
|
-
FNodeOutputDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: FNodeOutputDirective, selector: "[fNodeOutput]", inputs: { id: ["fOutputId", "id"], multiple: ["fOutputMultiple", "multiple"], disabled: ["fOutputDisabled", "disabled"], _fSide: ["fOutputConnectableSide", "_fSide"], isSelfConnectable: "isSelfConnectable" }, host: { properties: { "attr.data-f-output-id": "id", "class.f-node-output-multiple": "multiple", "class.f-node-output-disabled": "disabled", "class.f-node-output-
|
|
1690
|
+
FNodeOutputDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: FNodeOutputDirective, selector: "[fNodeOutput]", inputs: { id: ["fOutputId", "id"], multiple: ["fOutputMultiple", "multiple"], disabled: ["fOutputDisabled", "disabled"], _fSide: ["fOutputConnectableSide", "_fSide"], isSelfConnectable: "isSelfConnectable" }, host: { properties: { "attr.data-f-output-id": "id", "class.f-node-output-multiple": "multiple", "class.f-node-output-disabled": "disabled", "class.f-node-output-self-connectable": "isSelfConnectable" }, classAttribute: "f-component f-node-output" }, providers: [{ provide: F_NODE_OUTPUT, useExisting: FNodeOutputDirective }], exportAs: ["fNodeOutput"], usesInheritance: true, ngImport: i0 });
|
|
1636
1691
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FNodeOutputDirective, decorators: [{
|
|
1637
1692
|
type: Directive,
|
|
1638
1693
|
args: [{
|
|
@@ -1643,7 +1698,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
1643
1698
|
class: "f-component f-node-output",
|
|
1644
1699
|
'[class.f-node-output-multiple]': 'multiple',
|
|
1645
1700
|
'[class.f-node-output-disabled]': 'disabled',
|
|
1646
|
-
'[class.f-node-output-not-connectable]': '!canBeConnected',
|
|
1647
1701
|
'[class.f-node-output-self-connectable]': 'isSelfConnectable',
|
|
1648
1702
|
},
|
|
1649
1703
|
providers: [{ provide: F_NODE_OUTPUT, useExisting: FNodeOutputDirective }],
|
|
@@ -1961,7 +2015,9 @@ class CreateConnectionDragHandler {
|
|
|
1961
2015
|
}
|
|
1962
2016
|
move(difference) {
|
|
1963
2017
|
this.drawTempConnection(this.toConnectorRect.addPoint(difference));
|
|
1964
|
-
|
|
2018
|
+
if (this.fSnapConnection) {
|
|
2019
|
+
this.drawSnapConnection(this.getClosetInput(difference));
|
|
2020
|
+
}
|
|
1965
2021
|
}
|
|
1966
2022
|
drawTempConnection(fInputRect) {
|
|
1967
2023
|
const line = this.fMediator.send(new GetConnectionLineRequest(this.fOutputWithRect.fRect, fInputRect, this.fConnection.fBehavior, this.fOutputWithRect.fConnector.fConnectableSide, EFConnectableSide.TOP));
|
|
@@ -1981,6 +2037,9 @@ class CreateConnectionDragHandler {
|
|
|
1981
2037
|
}
|
|
1982
2038
|
}
|
|
1983
2039
|
getClosetInput(difference) {
|
|
2040
|
+
if (!this.fSnapConnection) {
|
|
2041
|
+
return undefined;
|
|
2042
|
+
}
|
|
1984
2043
|
return this.fMediator.send(new FindClosestInputUsingSnapThresholdRequest(Point.fromPoint(this.toConnectorRect).add(difference), this.canBeConnectedInputs, this.fSnapConnection.fSnapThreshold));
|
|
1985
2044
|
}
|
|
1986
2045
|
complete() {
|
|
@@ -2302,8 +2361,13 @@ class ReassignConnectionDragHandler {
|
|
|
2302
2361
|
return this.fComponentsStore.fInputs.find((x) => x.id === this.fConnection.fInputId);
|
|
2303
2362
|
}
|
|
2304
2363
|
move(difference) {
|
|
2305
|
-
this.drawConnection({
|
|
2306
|
-
|
|
2364
|
+
this.drawConnection({
|
|
2365
|
+
fRect: this.toConnectorRect.addPoint(difference),
|
|
2366
|
+
fConnector: this.fInputWithRect.fConnector
|
|
2367
|
+
});
|
|
2368
|
+
if (this.fSnapConnection) {
|
|
2369
|
+
this.drawSnapConnection(this.getClosetInput(difference));
|
|
2370
|
+
}
|
|
2307
2371
|
}
|
|
2308
2372
|
drawConnection(fInputWithRect) {
|
|
2309
2373
|
const line = this.fMediator.send(new GetConnectionLineRequest(this.fOutputWithRect.fRect, fInputWithRect.fRect, this.fConnection.fBehavior, this.fOutputWithRect.fConnector.fConnectableSide, fInputWithRect.fConnector.fConnectableSide));
|
|
@@ -2323,6 +2387,9 @@ class ReassignConnectionDragHandler {
|
|
|
2323
2387
|
}
|
|
2324
2388
|
}
|
|
2325
2389
|
getClosetInput(difference) {
|
|
2390
|
+
if (!this.fSnapConnection) {
|
|
2391
|
+
return undefined;
|
|
2392
|
+
}
|
|
2326
2393
|
return this.fMediator.send(new FindClosestInputUsingSnapThresholdRequest(Point.fromPoint(this.toConnectorRect).add(difference), this.canBeConnectedInputs, this.fSnapConnection.fSnapThreshold));
|
|
2327
2394
|
}
|
|
2328
2395
|
complete() {
|
|
@@ -3196,9 +3263,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
3196
3263
|
|
|
3197
3264
|
let uniqueId$5 = 0;
|
|
3198
3265
|
class FConnectionComponent extends FConnectionBase {
|
|
3199
|
-
constructor(elementReference, fConnectionFactory, fComponentsStore) {
|
|
3266
|
+
constructor(elementReference, fConnectionFactory, fComponentsStore, fMediator) {
|
|
3200
3267
|
super(elementReference, fConnectionFactory);
|
|
3201
3268
|
this.fComponentsStore = fComponentsStore;
|
|
3269
|
+
this.fMediator = fMediator;
|
|
3202
3270
|
this.fId = `f-connection-${uniqueId$5++}`;
|
|
3203
3271
|
this._fText = '';
|
|
3204
3272
|
this._fStartColor = 'black';
|
|
@@ -3277,13 +3345,13 @@ class FConnectionComponent extends FConnectionBase {
|
|
|
3277
3345
|
return this.fPath.hostElement;
|
|
3278
3346
|
}
|
|
3279
3347
|
ngOnInit() {
|
|
3280
|
-
this.
|
|
3348
|
+
this.fMediator.send(new AddConnectionToStoreRequest(this));
|
|
3281
3349
|
}
|
|
3282
3350
|
ngOnDestroy() {
|
|
3283
|
-
this.
|
|
3351
|
+
this.fMediator.send(new RemoveConnectionFromStoreRequest(this));
|
|
3284
3352
|
}
|
|
3285
3353
|
}
|
|
3286
|
-
FConnectionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FConnectionComponent, deps: [{ token: i0.ElementRef }, { token: FConnectionFactory }, { token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Component });
|
|
3354
|
+
FConnectionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FConnectionComponent, deps: [{ token: i0.ElementRef }, { token: FConnectionFactory }, { token: FComponentsStore }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Component });
|
|
3287
3355
|
FConnectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: FConnectionComponent, selector: "f-connection", inputs: { fId: ["fConnectionId", "fId"], fText: "fText", fStartColor: "fStartColor", fEndColor: "fEndColor", fOutputId: "fOutputId", fInputId: "fInputId", fRadius: "fRadius", fOffset: "fOffset", fBehavior: "fBehavior", fType: "fType", fDraggingDisabled: ["fReassignDisabled", "fDraggingDisabled"], fSelectionDisabled: "fSelectionDisabled" }, host: { properties: { "attr.id": "fId", "class.f-connection-selection-disabled": "fSelectionDisabled", "class.f-connection-reassign-disabled": "fDraggingDisabled" }, classAttribute: "f-component f-connection" }, providers: [{ provide: F_CONNECTION, useExisting: FConnectionComponent }], queries: [{ propertyName: "fConnectionCenters", predicate: FConnectionCenterDirective, descendants: true }], viewQueries: [{ propertyName: "fDefs", first: true, predicate: ["defs"], descendants: true, static: true }, { propertyName: "fPath", first: true, predicate: CONNECTION_PATH, descendants: true, static: true }, { propertyName: "fGradient", first: true, predicate: CONNECTION_GRADIENT, descendants: true, static: true }, { propertyName: "fDragHandle", first: true, predicate: FConnectionDragHandleComponent, descendants: true, static: true }, { propertyName: "fSelection", first: true, predicate: FConnectionSelectionComponent, descendants: true, static: true }, { propertyName: "fTextComponent", first: true, predicate: CONNECTION_TEXT, descendants: true, static: true }, { propertyName: "fConnectionCenter", first: true, predicate: ["fConnectionCenter"], descendants: true }], exportAs: ["fComponent"], usesInheritance: true, ngImport: i0, template: "<svg xmlns=\"http://www.w3.org/2000/svg\" style=\"overflow: visible; display: block; vertical-align: middle;\">\n <defs #defs></defs>\n <ng-content></ng-content>\n <g class=\"f-connection-group\">\n <linearGradient fConnectionGradient></linearGradient>\n <path fConnectionSelection [attr.d]=\"path\"></path>\n <g>\n <path f-connection-path [attr.d]=\"path\"></path>\n <circle f-connection-drag-handle r=\"8\"></circle>\n </g>\n <text f-connection-text></text>\n </g>\n</svg>\n<div #fConnectionCenter class=\"f-connection-center\" *ngIf=\"fConnectionCenters.length\">\n <ng-content select=\"[fConnectionCenter]\"></ng-content>\n</div>\n", styles: [":host{pointer-events:none;position:absolute}:host svg{overflow:visible}:host svg .f-connection-group{pointer-events:all}:host .f-connection-center{pointer-events:all}\n"], components: [{ type: FConnectionGradientComponent, selector: "linearGradient[fConnectionGradient]" }, { type: FConnectionSelectionComponent, selector: "path[fConnectionSelection]" }, { type: FConnectionPathComponent, selector: "path[f-connection-path]" }, { type: FConnectionDragHandleComponent, selector: "circle[f-connection-drag-handle]" }, { type: FConnectionTextComponent, selector: "text[f-connection-text]" }], directives: [{ type: i8.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3288
3356
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FConnectionComponent, decorators: [{
|
|
3289
3357
|
type: Component,
|
|
@@ -3301,7 +3369,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
3301
3369
|
},
|
|
3302
3370
|
providers: [{ provide: F_CONNECTION, useExisting: FConnectionComponent }],
|
|
3303
3371
|
}]
|
|
3304
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: FConnectionFactory }, { type: FComponentsStore }]; }, propDecorators: { fId: [{
|
|
3372
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: FConnectionFactory }, { type: FComponentsStore }, { type: i2.FMediator }]; }, propDecorators: { fId: [{
|
|
3305
3373
|
type: Input,
|
|
3306
3374
|
args: ['fConnectionId']
|
|
3307
3375
|
}], fText: [{
|
|
@@ -3900,7 +3968,7 @@ class ConnectionDragHandler extends ConnectionBaseDragHandler {
|
|
|
3900
3968
|
this.redrawConnection(this.getNewLineValue(difference));
|
|
3901
3969
|
}
|
|
3902
3970
|
getNewLineValue(difference) {
|
|
3903
|
-
return this.fMediator.send(new GetConnectionLineRequest(RoundedRect.
|
|
3971
|
+
return this.fMediator.send(new GetConnectionLineRequest(RoundedRect.fromRoundedRect(this.fOutputWithRect.fRect).addPoint(this.getDifference(Object.assign({}, difference), this.sourceRestrictions)), RoundedRect.fromRoundedRect(this.fInputWithRect.fRect).addPoint(this.getDifference(Object.assign({}, difference), this.targetRestrictions)), this.connection.fBehavior, this.fOutputWithRect.fConnector.fConnectableSide, this.fInputWithRect.fConnector.fConnectableSide));
|
|
3904
3972
|
}
|
|
3905
3973
|
}
|
|
3906
3974
|
|
|
@@ -3914,7 +3982,7 @@ class ConnectionTargetDragHandler extends ConnectionBaseDragHandler {
|
|
|
3914
3982
|
this.redrawConnection(this.getNewLineValue(difference));
|
|
3915
3983
|
}
|
|
3916
3984
|
getNewLineValue(difference) {
|
|
3917
|
-
return this.fMediator.send(new GetConnectionLineRequest(RoundedRect.
|
|
3985
|
+
return this.fMediator.send(new GetConnectionLineRequest(RoundedRect.fromRoundedRect(this.fOutputWithRect.fRect), RoundedRect.fromRoundedRect(this.fInputWithRect.fRect).addPoint(this.getDifference(Object.assign({}, difference), { min: this.minDistance, max: this.maxDistance })), this.connection.fBehavior, this.fOutputWithRect.fConnector.fConnectableSide, this.fInputWithRect.fConnector.fConnectableSide));
|
|
3918
3986
|
}
|
|
3919
3987
|
}
|
|
3920
3988
|
|
|
@@ -3996,7 +4064,7 @@ class ConnectionSourceDragHandler extends ConnectionBaseDragHandler {
|
|
|
3996
4064
|
this.redrawConnection(this.getNewLineValue(difference));
|
|
3997
4065
|
}
|
|
3998
4066
|
getNewLineValue(difference) {
|
|
3999
|
-
return this.fMediator.send(new GetConnectionLineRequest(RoundedRect.
|
|
4067
|
+
return this.fMediator.send(new GetConnectionLineRequest(RoundedRect.fromRoundedRect(this.fOutputWithRect.fRect).addPoint(this.getDifference(Object.assign({}, difference), { min: this.minDistance, max: this.maxDistance })), RoundedRect.fromRoundedRect(this.fInputWithRect.fRect), this.connection.fBehavior, this.fOutputWithRect.fConnector.fConnectableSide, this.fInputWithRect.fConnector.fConnectableSide));
|
|
4000
4068
|
}
|
|
4001
4069
|
}
|
|
4002
4070
|
|
|
@@ -4563,9 +4631,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
4563
4631
|
}] });
|
|
4564
4632
|
|
|
4565
4633
|
class GetNormalizedChildrenNodesRectRequest {
|
|
4566
|
-
constructor(fNode,
|
|
4634
|
+
constructor(fNode, paddings) {
|
|
4567
4635
|
this.fNode = fNode;
|
|
4568
|
-
this.
|
|
4636
|
+
this.paddings = paddings;
|
|
4569
4637
|
}
|
|
4570
4638
|
}
|
|
4571
4639
|
|
|
@@ -4576,7 +4644,7 @@ let GetNormalizedChildrenNodesRectExecution = class GetNormalizedChildrenNodesRe
|
|
|
4576
4644
|
handle(request) {
|
|
4577
4645
|
const childNodeRect = RectExtensions.union(this.getChildrenNodes(request.fNode.fId).map((x) => this.normalizeRect(x)));
|
|
4578
4646
|
return childNodeRect ?
|
|
4579
|
-
this.concatRectWithParentPadding(childNodeRect,
|
|
4647
|
+
this.concatRectWithParentPadding(childNodeRect, request.paddings) : null;
|
|
4580
4648
|
}
|
|
4581
4649
|
getChildrenNodes(fId) {
|
|
4582
4650
|
return this.fMediator.send(new GetDeepChildrenNodesAndGroupsRequest(fId));
|
|
@@ -4584,9 +4652,6 @@ let GetNormalizedChildrenNodesRectExecution = class GetNormalizedChildrenNodesRe
|
|
|
4584
4652
|
normalizeRect(node) {
|
|
4585
4653
|
return this.fMediator.send(new GetNormalizedNodeRectRequest(node));
|
|
4586
4654
|
}
|
|
4587
|
-
getNodePadding(node, rect) {
|
|
4588
|
-
return this.fMediator.send(new GetNodePaddingRequest(node, rect));
|
|
4589
|
-
}
|
|
4590
4655
|
concatRectWithParentPadding(rect, padding) {
|
|
4591
4656
|
return RectExtensions.initialize(rect.x - padding[0], rect.y - padding[1], rect.width + padding[0] + padding[2], rect.height + +padding[1] + padding[3]);
|
|
4592
4657
|
}
|
|
@@ -4612,13 +4677,18 @@ let GetNodeResizeRestrictionsExecution = class GetNodeResizeRestrictionsExecutio
|
|
|
4612
4677
|
this.fMediator = fMediator;
|
|
4613
4678
|
}
|
|
4614
4679
|
handle(request) {
|
|
4615
|
-
const
|
|
4680
|
+
const fNodePaddings = this.getNodePaddings(request.fNode, request.rect);
|
|
4681
|
+
const childRect = this.fMediator.send(new GetNormalizedChildrenNodesRectRequest(request.fNode, fNodePaddings));
|
|
4616
4682
|
const parentRect = this.fMediator.send(new GetNormalizedParentNodeRectRequest(request.fNode));
|
|
4617
4683
|
return {
|
|
4618
4684
|
parentRect,
|
|
4619
4685
|
childRect,
|
|
4686
|
+
minSize: SizeExtensions.initialize(fNodePaddings[0] + fNodePaddings[2], fNodePaddings[1] + fNodePaddings[3])
|
|
4620
4687
|
};
|
|
4621
4688
|
}
|
|
4689
|
+
getNodePaddings(node, rect) {
|
|
4690
|
+
return this.fMediator.send(new GetNodePaddingRequest(node, rect));
|
|
4691
|
+
}
|
|
4622
4692
|
};
|
|
4623
4693
|
GetNodeResizeRestrictionsExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GetNodeResizeRestrictionsExecution, deps: [{ token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4624
4694
|
GetNodeResizeRestrictionsExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GetNodeResizeRestrictionsExecution });
|
|
@@ -4660,7 +4730,8 @@ class NodeResizeDragHandler {
|
|
|
4660
4730
|
this.fMediator = fMediator;
|
|
4661
4731
|
this.fNode = fNode;
|
|
4662
4732
|
this.fResizeHandleType = fResizeHandleType;
|
|
4663
|
-
this.childRestrictions = () => {
|
|
4733
|
+
this.childRestrictions = () => {
|
|
4734
|
+
};
|
|
4664
4735
|
}
|
|
4665
4736
|
initialize() {
|
|
4666
4737
|
this.originalRect = this.fMediator.send(new GetNormalizedNodeRectRequest(this.fNode));
|
|
@@ -4672,14 +4743,14 @@ class NodeResizeDragHandler {
|
|
|
4672
4743
|
}
|
|
4673
4744
|
}
|
|
4674
4745
|
move(difference) {
|
|
4675
|
-
const changedRect = this.changePosition(difference, this.changeSize(difference));
|
|
4746
|
+
const changedRect = this.changePosition(difference, this.changeSize(difference, this.restrictions.minSize));
|
|
4676
4747
|
this.childRestrictions(changedRect, this.restrictions.childRect);
|
|
4677
4748
|
this.applyParentRestrictions(changedRect, this.restrictions.parentRect);
|
|
4678
4749
|
this.fNode.updatePosition(changedRect);
|
|
4679
4750
|
this.fNode.updateSize(changedRect);
|
|
4680
4751
|
this.fNode.redraw();
|
|
4681
4752
|
}
|
|
4682
|
-
changeSize(difference) {
|
|
4753
|
+
changeSize(difference, minSize) {
|
|
4683
4754
|
return this.fMediator.send(new CalculateChangedSizeRequest(this.originalRect, difference, this.fResizeHandleType));
|
|
4684
4755
|
}
|
|
4685
4756
|
changePosition(difference, changedRect) {
|
|
@@ -4692,7 +4763,8 @@ class NodeResizeDragHandler {
|
|
|
4692
4763
|
this.fMediator.send(new ApplyParentResizeRestrictionsRequest(rect, restrictionsRect));
|
|
4693
4764
|
}
|
|
4694
4765
|
complete() {
|
|
4695
|
-
|
|
4766
|
+
var _a, _b;
|
|
4767
|
+
this.fNode.sizeChange.emit(RectExtensions.initialize(this.fNode.position.x, this.fNode.position.y, (_a = this.fNode.size) === null || _a === void 0 ? void 0 : _a.width, (_b = this.fNode.size) === null || _b === void 0 ? void 0 : _b.height));
|
|
4696
4768
|
}
|
|
4697
4769
|
}
|
|
4698
4770
|
|
|
@@ -7982,5 +8054,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
7982
8054
|
* Generated bundle index. Do not edit.
|
|
7983
8055
|
*/
|
|
7984
8056
|
|
|
7985
|
-
export { AddPatternToBackgroundExecution, AddPatternToBackgroundRequest, ApplyChildResizeRestrictionsExecution, ApplyChildResizeRestrictionsRequest, ApplyParentResizeRestrictionsExecution, ApplyParentResizeRestrictionsRequest, CANVAS_MOVE_FINALIZE_PROVIDERS, CANVAS_MOVE_PREPARATION_PROVIDERS, 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, CalculateConnectionCenterHandler, CalculateConnectionCenterRequest, CalculateConnectorConnectableSideHandler, CalculateConnectorConnectableSideRequest, CalculateFlowPointFromMinimapPointExecution, CalculateFlowPointFromMinimapPointRequest, CanvasDragHandler, CanvasMoveFinalizeExecution, CanvasMoveFinalizeRequest, CanvasMoveFinalizeValidator, CanvasMovePreparationExecution, CanvasMovePreparationRequest, CanvasMovePreparationValidator, CenterGroupOrNodeExecution, CenterGroupOrNodeRequest, ClearSelectionExecution, ClearSelectionRequest, ConnectionBaseDragHandler, ConnectionDragHandler, ConnectionSourceDragHandler, ConnectionTargetDragHandler, CreateConnectionDragHandler, CreateConnectionDragHandlerExecution, CreateConnectionDragHandlerRequest, CreateConnectionFinalizeExecution, CreateConnectionFinalizeRequest, CreateConnectionFinalizeValidator, CreateConnectionFromOutletPreparationExecution, CreateConnectionFromOutletPreparationRequest, CreateConnectionFromOutputPreparationExecution, CreateConnectionFromOutputPreparationRequest, CreateConnectionFromOutputPreparationValidator, CreateConnectionMarkersExecution, CreateConnectionMarkersRequest, CreateConnectionPreparationExecution, CreateConnectionPreparationRequest, CreateConnectionPreparationValidator, CreateMoveNodesDragModelFromSelectionExecution, CreateMoveNodesDragModelFromSelectionRequest, CreateRoundedRectFromElementExecution, CreateRoundedRectFromElementRequest, DRAG_AND_DROP_COMMON_PROVIDERS, EFConnectableSide, EFConnectionBehavior, EFConnectionType, EFMarkerType, EFResizeHandleType, EXTERNAL_ITEM_FINALIZE_PROVIDERS, EXTERNAL_ITEM_PREPARATION_PROVIDERS, EmitTransformChangesExecution, EmitTransformChangesRequest, ExternalItemDragHandler, ExternalItemFinalizeExecution, ExternalItemFinalizeRequest, ExternalItemFinalizeValidator, ExternalItemPreparationExecution, ExternalItemPreparationRequest, ExternalItemPreparationValidator, FBackgroundBase, FBackgroundComponent, FBezierPathBuilder, FCanvasBase, FCanvasChangeEvent, FCanvasComponent, FCirclePatternComponent, FComponentsStore, FConnectionBase, FConnectionCenterDirective, FConnectionComponent, FConnectionDragHandleComponent, FConnectionFactory, FConnectionForCreateComponent, FConnectionGradientComponent, FConnectionPathComponent, FConnectionSelectionComponent, FConnectionTextComponent, FConnectionTextPathDirective, FConnectorBase, FCreateConnectionEvent, FCreateNodeEvent, FDragHandleDirective, FDraggableBase, FDraggableDataContext, FDraggableDirective, FExternalItemBase, FExternalItemDirective, FExternalItemService, FFlowBase, FFlowComponent, FFlowModule, FGroupDirective, FLineAlignmentBase, FLineAlignmentComponent, FMarkerBase, FMarkerDirective, FMinimapCanvasDirective, FMinimapComponent, FMinimapData, FMinimapDragHandler, FMinimapFlowDirective, FMinimapViewDirective, FNodeBase, FNodeDirective, FNodeInputBase, FNodeInputDirective, FNodeOutletBase, FNodeOutletDirective, FNodeOutputBase, FNodeOutputDirective, FReassignConnectionEvent, FRectPatternComponent, FResizeHandleDirective, FResizeObserver, FRotateHandleDirective, FSegmentPathBuilder, FSelectionAreaBase, FSelectionAreaComponent, FSelectionChangeEvent, FSnapConnectionComponent, FStraightPathBuilder, FTransformStore, FZoomBase, FZoomDirective, F_BACKGROUND, F_BACKGROUND_FEATURES, F_BACKGROUND_PATTERN, F_BACKGROUND_PROVIDERS, F_CANVAS, F_CANVAS_ANIMATION_DURATION, F_CANVAS_FEATURES, F_CANVAS_PROVIDERS, F_CONNECTION_BUILDERS, F_CONNECTION_DRAG_HANDLE_CLASS, F_CONNECTION_FEATURES, F_CONNECTION_IDENTIFIERS, F_CONNECTION_PROVIDERS, F_CONNECTORS_PROVIDERS, F_DRAGGABLE_PROVIDERS, F_DRAG_AND_DROP_PLUGIN, F_DRAG_HANDLE, F_EXTERNAL_ITEM, F_EXTERNAL_ITEM_DRAG_AND_DROP_PROVIDERS, F_EXTERNAL_ITEM_PROVIDERS, F_FLOW, F_FLOW_PROVIDERS, F_LINE_ALIGNMENT, F_LINE_ALIGNMENT_PROVIDERS, F_MARKER, F_MINIMAP_DRAG_AND_DROP_PROVIDERS, F_MINIMAP_PROVIDERS, F_NODE, F_NODE_INPUT, F_NODE_OUTLET, F_NODE_OUTPUT, F_NODE_PROVIDERS, F_RESIZE_HANDLE, F_SELECTED_CLASS, F_SELECTION_AREA_DRAG_AND_DROP_PROVIDERS, F_SELECTION_AREA_PROVIDERS, F_SELECTION_FEATURES, F_ZOOM, F_ZOOM_PROVIDERS, FindClosestInputUsingSnapThresholdExecution, FindClosestInputUsingSnapThresholdRequest, FitToFlowExecution, FitToFlowRequest, GET_FLOW_STATE_PROVIDERS, GetAllCanBeConnectedInputPositionsExecution, GetAllCanBeConnectedInputPositionsRequest, GetCanBeConnectedOutputByOutletExecution, GetCanBeConnectedOutputByOutletRequest, GetCanBeConnectedOutputByOutletValidator, GetCanBeSelectedItemsExecution, GetConnectionLineExecution, GetConnectionLineRequest, GetConnectorWithRectExecution, GetConnectorWithRectRequest, GetDeepChildrenNodesAndGroupsExecution, GetDeepChildrenNodesAndGroupsRequest, GetElementRectInFlowExecution, GetElementRectInFlowRequest, GetFlowStateConnectionsExecution, GetFlowStateConnectionsRequest, GetFlowStateExecution, GetFlowStateNodesExecution, GetFlowStateNodesRequest, GetFlowStateRequest, GetInputUnderPointerExecution, GetInputUnderPointerRequest, GetInputUnderPointerValidator, GetNodeMoveRestrictionsExecution, GetNodeMoveRestrictionsRequest, GetNodePaddingExecution, GetNodePaddingRequest, GetNodeResizeRestrictionsExecution, GetNodeResizeRestrictionsRequest, GetNodesRectExecution, GetNodesRectRequest, GetNormalizedChildrenNodesRectExecution, GetNormalizedChildrenNodesRectRequest, GetNormalizedNodeRectExecution, GetNormalizedNodeRectRequest, GetNormalizedParentNodeRectExecution, GetNormalizedParentNodeRectRequest, GetParentNodesExecution, GetParentNodesRequest, GetPositionInFlowExecution, GetPositionInFlowRequest, GetScaledNodeRectsWithFlowPositionExecution, GetScaledNodeRectsWithFlowPositionRequest, GetSelectionExecution, GetSelectionRequest, InputCanvasPositionExecution, InputCanvasPositionRequest, InputCanvasScaleExecution, InputCanvasScaleRequest, IsArrayHasParentNodeExecution, IsArrayHasParentNodeRequest, IsConnectionUnderNodeExecution, LineElement, LineService, MINIMAP_DRAG_FINALIZE_PROVIDERS, MINIMAP_DRAG_PREPARATION_PROVIDERS, MinimapDragFinalizeExecution, MinimapDragFinalizeRequest, MinimapDragFinalizeValidator, MinimapDragPreparationExecution, MinimapDragPreparationRequest, MinimapDragPreparationValidator, MoveFrontElementsBeforeTargetElementExecution, MoveFrontElementsBeforeTargetElementRequest, NODE_MOVE_FINALIZE_PROVIDERS, NODE_MOVE_PREPARATION_PROVIDERS, NODE_PROVIDERS, NODE_RESIZE_FINALIZE_PROVIDERS, NODE_RESIZE_PREPARATION_PROVIDERS, NODE_RESIZE_PROVIDERS, NearestCoordinateFinder, NodeDragHandler, NodeMoveFinalizeExecution, NodeMoveFinalizeRequest, NodeMoveFinalizeValidator, NodeMovePreparationExecution, NodeMovePreparationRequest, NodeMovePreparationValidator, NodeResizeByChildDragHandler, NodeResizeDragHandler, NodeResizeFinalizeExecution, NodeResizeFinalizeRequest, NodeResizeFinalizeValidator, NodeResizePreparationExecution, NodeResizePreparationRequest, NodeResizePreparationValidator, PutInputConnectionHandlersToArrayExecution, PutInputConnectionHandlersToArrayRequest, PutOutputConnectionHandlersToArrayExecution, PutOutputConnectionHandlersToArrayRequest, RESIZE_DIRECTIONS, ReassignConnectionDragHandler, ReassignConnectionFinalizeExecution, ReassignConnectionFinalizeRequest, ReassignConnectionFinalizeValidator, ReassignConnectionPreparationExecution, ReassignConnectionPreparationRequest, ReassignConnectionPreparationValidator, RedrawConnectionsExecution, RedrawConnectionsRequest, ResetScaleAndCenterExecution, ResetScaleAndCenterRequest, ResetScaleExecution, ResetScaleRequest, SELECTION_AREA_FINALIZE_PROVIDERS, SELECTION_AREA_PREPARATION_PROVIDERS, SINGLE_SELECT_PROVIDERS, SelectAllExecution, SelectAllRequest, SelectAndUpdateNodeLayerExecution, SelectAndUpdateNodeLayerRequest, SelectExecution, SelectRequest, SelectionAreaDragHandle, SelectionAreaFinalizeExecution, SelectionAreaFinalizeRequest, SelectionAreaFinalizeValidator, SelectionAreaPreparationExecution, SelectionAreaPreparationRequest, SelectionAreaPreparationValidator, ShowConnectionsAfterCalculationsExecution, ShowConnectionsAfterCalculationsRequest, SingleSelectExecution, SingleSelectRequest, SingleSelectValidator, SortItemLayersExecution, SortItemLayersRequest, SortItemsByParentExecution, SortItemsByParentRequest, SortNodeLayersExecution, SortNodeLayersRequest, SubscribeOnTransformChangesExecution, SubscribeOnTransformChangesRequest, UpdateItemAndChildrenLayersExecution, UpdateItemAndChildrenLayersRequest, UpdateScaleExecution, UpdateScaleRequest, checkRectIsFinite, createSVGElement, getExternalItem, getMarkerEndId, getMarkerSelectedEndId, getMarkerSelectedStartId, getMarkerStartId, isExternalItem, isGroup, isNode, isNodeOutlet, isNodeOutput, mixinChangeSelection, mixinChangeVisibility };
|
|
8057
|
+
export { AddConnectionToStoreExecution, AddConnectionToStoreRequest, AddPatternToBackgroundExecution, AddPatternToBackgroundRequest, ApplyChildResizeRestrictionsExecution, ApplyChildResizeRestrictionsRequest, ApplyParentResizeRestrictionsExecution, ApplyParentResizeRestrictionsRequest, CANVAS_MOVE_FINALIZE_PROVIDERS, CANVAS_MOVE_PREPARATION_PROVIDERS, 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, CalculateConnectionCenterHandler, CalculateConnectionCenterRequest, CalculateConnectorConnectableSideHandler, CalculateConnectorConnectableSideRequest, CalculateFlowPointFromMinimapPointExecution, CalculateFlowPointFromMinimapPointRequest, CanvasDragHandler, CanvasMoveFinalizeExecution, CanvasMoveFinalizeRequest, CanvasMoveFinalizeValidator, CanvasMovePreparationExecution, CanvasMovePreparationRequest, CanvasMovePreparationValidator, CenterGroupOrNodeExecution, CenterGroupOrNodeRequest, ClearSelectionExecution, ClearSelectionRequest, ConnectionBaseDragHandler, ConnectionDragHandler, ConnectionSourceDragHandler, ConnectionTargetDragHandler, CreateConnectionDragHandler, CreateConnectionDragHandlerExecution, CreateConnectionDragHandlerRequest, CreateConnectionFinalizeExecution, CreateConnectionFinalizeRequest, CreateConnectionFinalizeValidator, CreateConnectionFromOutletPreparationExecution, CreateConnectionFromOutletPreparationRequest, CreateConnectionFromOutputPreparationExecution, CreateConnectionFromOutputPreparationRequest, CreateConnectionFromOutputPreparationValidator, CreateConnectionMarkersExecution, CreateConnectionMarkersRequest, CreateConnectionPreparationExecution, CreateConnectionPreparationRequest, CreateConnectionPreparationValidator, CreateMoveNodesDragModelFromSelectionExecution, CreateMoveNodesDragModelFromSelectionRequest, CreateRoundedRectFromElementExecution, CreateRoundedRectFromElementRequest, DRAG_AND_DROP_COMMON_PROVIDERS, EFConnectableSide, EFConnectionBehavior, EFConnectionType, EFMarkerType, EFResizeHandleType, EXTERNAL_ITEM_FINALIZE_PROVIDERS, EXTERNAL_ITEM_PREPARATION_PROVIDERS, EmitTransformChangesExecution, EmitTransformChangesRequest, ExternalItemDragHandler, ExternalItemFinalizeExecution, ExternalItemFinalizeRequest, ExternalItemFinalizeValidator, ExternalItemPreparationExecution, ExternalItemPreparationRequest, ExternalItemPreparationValidator, FBackgroundBase, FBackgroundComponent, FBezierPathBuilder, FCanvasBase, FCanvasChangeEvent, FCanvasComponent, FCirclePatternComponent, FComponentsStore, FConnectionBase, FConnectionCenterDirective, FConnectionComponent, FConnectionDragHandleComponent, FConnectionFactory, FConnectionForCreateComponent, FConnectionGradientComponent, FConnectionPathComponent, FConnectionSelectionComponent, FConnectionTextComponent, FConnectionTextPathDirective, FConnectorBase, FCreateConnectionEvent, FCreateNodeEvent, FDragHandleDirective, FDraggableBase, FDraggableDataContext, FDraggableDirective, FExternalItemBase, FExternalItemDirective, FExternalItemService, FFlowBase, FFlowComponent, FFlowModule, FGroupDirective, FLineAlignmentBase, FLineAlignmentComponent, FMarkerBase, FMarkerDirective, FMinimapCanvasDirective, FMinimapComponent, FMinimapData, FMinimapDragHandler, FMinimapFlowDirective, FMinimapViewDirective, FNodeBase, FNodeDirective, FNodeInputBase, FNodeInputDirective, FNodeOutletBase, FNodeOutletDirective, FNodeOutputBase, FNodeOutputDirective, FReassignConnectionEvent, FRectPatternComponent, FResizeHandleDirective, FResizeObserver, FRotateHandleDirective, FSegmentPathBuilder, FSelectionAreaBase, FSelectionAreaComponent, FSelectionChangeEvent, FSnapConnectionComponent, FStraightPathBuilder, FTransformStore, FZoomBase, FZoomDirective, F_BACKGROUND, F_BACKGROUND_FEATURES, F_BACKGROUND_PATTERN, F_BACKGROUND_PROVIDERS, F_CANVAS, F_CANVAS_ANIMATION_DURATION, F_CANVAS_FEATURES, F_CANVAS_PROVIDERS, F_CONNECTION_BUILDERS, F_CONNECTION_DRAG_HANDLE_CLASS, F_CONNECTION_FEATURES, F_CONNECTION_IDENTIFIERS, F_CONNECTION_PROVIDERS, F_CONNECTORS_PROVIDERS, F_DRAGGABLE_PROVIDERS, F_DRAG_AND_DROP_PLUGIN, F_DRAG_HANDLE, F_EXTERNAL_ITEM, F_EXTERNAL_ITEM_DRAG_AND_DROP_PROVIDERS, F_EXTERNAL_ITEM_PROVIDERS, F_FLOW, F_FLOW_PROVIDERS, F_LINE_ALIGNMENT, F_LINE_ALIGNMENT_PROVIDERS, F_MARKER, F_MINIMAP_DRAG_AND_DROP_PROVIDERS, F_MINIMAP_PROVIDERS, F_NODE, F_NODE_INPUT, F_NODE_OUTLET, F_NODE_OUTPUT, F_NODE_PROVIDERS, F_RESIZE_HANDLE, F_SELECTED_CLASS, F_SELECTION_AREA_DRAG_AND_DROP_PROVIDERS, F_SELECTION_AREA_PROVIDERS, F_SELECTION_FEATURES, F_ZOOM, F_ZOOM_PROVIDERS, FindClosestInputUsingSnapThresholdExecution, FindClosestInputUsingSnapThresholdRequest, FitToFlowExecution, FitToFlowRequest, GET_FLOW_STATE_PROVIDERS, GetAllCanBeConnectedInputPositionsExecution, GetAllCanBeConnectedInputPositionsRequest, GetCanBeConnectedOutputByOutletExecution, GetCanBeConnectedOutputByOutletRequest, GetCanBeConnectedOutputByOutletValidator, GetCanBeSelectedItemsExecution, GetConnectionLineExecution, GetConnectionLineRequest, GetConnectorWithRectExecution, GetConnectorWithRectRequest, GetDeepChildrenNodesAndGroupsExecution, GetDeepChildrenNodesAndGroupsRequest, GetElementRectInFlowExecution, GetElementRectInFlowRequest, GetFlowStateConnectionsExecution, GetFlowStateConnectionsRequest, GetFlowStateExecution, GetFlowStateNodesExecution, GetFlowStateNodesRequest, GetFlowStateRequest, GetInputUnderPointerExecution, GetInputUnderPointerRequest, GetInputUnderPointerValidator, GetNodeMoveRestrictionsExecution, GetNodeMoveRestrictionsRequest, GetNodePaddingExecution, GetNodePaddingRequest, GetNodeResizeRestrictionsExecution, GetNodeResizeRestrictionsRequest, GetNodesRectExecution, GetNodesRectRequest, GetNormalizedChildrenNodesRectExecution, GetNormalizedChildrenNodesRectRequest, GetNormalizedNodeRectExecution, GetNormalizedNodeRectRequest, GetNormalizedParentNodeRectExecution, GetNormalizedParentNodeRectRequest, GetParentNodesExecution, GetParentNodesRequest, GetPositionInFlowExecution, GetPositionInFlowRequest, GetScaledNodeRectsWithFlowPositionExecution, GetScaledNodeRectsWithFlowPositionRequest, GetSelectionExecution, GetSelectionRequest, InputCanvasPositionExecution, InputCanvasPositionRequest, InputCanvasScaleExecution, InputCanvasScaleRequest, IsArrayHasParentNodeExecution, IsArrayHasParentNodeRequest, IsConnectionUnderNodeExecution, LineElement, LineService, MINIMAP_DRAG_FINALIZE_PROVIDERS, MINIMAP_DRAG_PREPARATION_PROVIDERS, MinimapDragFinalizeExecution, MinimapDragFinalizeRequest, MinimapDragFinalizeValidator, MinimapDragPreparationExecution, MinimapDragPreparationRequest, MinimapDragPreparationValidator, MoveFrontElementsBeforeTargetElementExecution, MoveFrontElementsBeforeTargetElementRequest, NODE_MOVE_FINALIZE_PROVIDERS, NODE_MOVE_PREPARATION_PROVIDERS, NODE_PROVIDERS, NODE_RESIZE_FINALIZE_PROVIDERS, NODE_RESIZE_PREPARATION_PROVIDERS, NODE_RESIZE_PROVIDERS, NearestCoordinateFinder, NodeDragHandler, NodeMoveFinalizeExecution, NodeMoveFinalizeRequest, NodeMoveFinalizeValidator, NodeMovePreparationExecution, NodeMovePreparationRequest, NodeMovePreparationValidator, NodeResizeByChildDragHandler, NodeResizeDragHandler, NodeResizeFinalizeExecution, NodeResizeFinalizeRequest, NodeResizeFinalizeValidator, NodeResizePreparationExecution, NodeResizePreparationRequest, NodeResizePreparationValidator, PutInputConnectionHandlersToArrayExecution, PutInputConnectionHandlersToArrayRequest, PutOutputConnectionHandlersToArrayExecution, PutOutputConnectionHandlersToArrayRequest, RESIZE_DIRECTIONS, ReassignConnectionDragHandler, ReassignConnectionFinalizeExecution, ReassignConnectionFinalizeRequest, ReassignConnectionFinalizeValidator, ReassignConnectionPreparationExecution, ReassignConnectionPreparationRequest, ReassignConnectionPreparationValidator, RedrawConnectionsExecution, RedrawConnectionsRequest, RemoveConnectionFromStoreExecution, RemoveConnectionFromStoreRequest, ResetScaleAndCenterExecution, ResetScaleAndCenterRequest, ResetScaleExecution, ResetScaleRequest, SELECTION_AREA_FINALIZE_PROVIDERS, SELECTION_AREA_PREPARATION_PROVIDERS, SINGLE_SELECT_PROVIDERS, SelectAllExecution, SelectAllRequest, SelectAndUpdateNodeLayerExecution, SelectAndUpdateNodeLayerRequest, SelectExecution, SelectRequest, SelectionAreaDragHandle, SelectionAreaFinalizeExecution, SelectionAreaFinalizeRequest, SelectionAreaFinalizeValidator, SelectionAreaPreparationExecution, SelectionAreaPreparationRequest, SelectionAreaPreparationValidator, ShowConnectionsAfterCalculationsExecution, ShowConnectionsAfterCalculationsRequest, SingleSelectExecution, SingleSelectRequest, SingleSelectValidator, SortItemLayersExecution, SortItemLayersRequest, SortItemsByParentExecution, SortItemsByParentRequest, SortNodeLayersExecution, SortNodeLayersRequest, SubscribeOnTransformChangesExecution, SubscribeOnTransformChangesRequest, UpdateItemAndChildrenLayersExecution, UpdateItemAndChildrenLayersRequest, UpdateScaleExecution, UpdateScaleRequest, checkRectIsFinite, createSVGElement, getExternalItem, getMarkerEndId, getMarkerSelectedEndId, getMarkerSelectedStartId, getMarkerStartId, isExternalItem, isGroup, isNode, isNodeOutlet, isNodeOutput, mixinChangeSelection, mixinChangeVisibility };
|
|
7986
8058
|
//# sourceMappingURL=foblex-flow.js.map
|