@foblex/flow 12.6.8 → 12.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/bundles/foblex-flow.umd.js +92 -22
- 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-background/add-pattern-to-background/add-pattern-to-background.execution.js +2 -2
- package/esm2015/domain/f-canvas/center-group-or-node/center-group-or-node.execution.js +2 -2
- package/esm2015/domain/f-canvas/fit-to-flow/fit-to-flow.execution.js +2 -2
- package/esm2015/domain/f-canvas/reset-scale-and-center/reset-scale-and-center.execution.js +2 -2
- 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-canvas/f-canvas.component.js +12 -5
- 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/reassign-connection/f-reassign-connection.event.js +3 -2
- package/esm2015/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.execution.js +3 -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/node-resize.drag-handler.js +3 -2
- package/esm2015/f-external-item/domain/external-item-preparation/external-item-preparation.execution.js +3 -3
- package/esm2015/f-external-item/domain/external-item-preparation/external-item-preparation.validator.js +3 -3
- package/esm2015/f-external-item/domain/external-item.drag-handler.js +1 -1
- package/f-canvas/f-canvas.component.d.ts +1 -0
- 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/connections/reassign-connection/f-reassign-connection.event.d.ts +3 -1
- package/f-external-item/domain/external-item-preparation/external-item-preparation.execution.d.ts +1 -1
- package/f-external-item/domain/external-item-preparation/external-item-preparation.validator.d.ts +1 -1
- package/f-external-item/domain/external-item.drag-handler.d.ts +1 -1
- package/fesm2015/foblex-flow.js +87 -23
- package/fesm2015/foblex-flow.js.map +1 -1
- package/package.json +2 -2
|
@@ -22,6 +22,7 @@ export declare class FCanvasComponent extends FCanvasBase implements OnInit {
|
|
|
22
22
|
ngOnInit(): void;
|
|
23
23
|
redraw(): void;
|
|
24
24
|
redrawWithAnimation(): void;
|
|
25
|
+
private isMobile;
|
|
25
26
|
centerGroupOrNode(id: string, animated?: boolean): void;
|
|
26
27
|
fitToScreen(toCenter?: IPoint, animated?: boolean): void;
|
|
27
28
|
resetScaleAndCenter(animated?: boolean): void;
|
|
@@ -6,9 +6,11 @@ import { FComponentsStore } from '../../f-storage';
|
|
|
6
6
|
import { FConnectionCenterDirective } from '../f-connection-center';
|
|
7
7
|
import { FConnectionFactory } from '../f-connection-builder';
|
|
8
8
|
import { FConnectionBase } from '../common/f-connection-base';
|
|
9
|
+
import { FMediator } from '@foblex/mediator';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
10
11
|
export declare class FConnectionComponent extends FConnectionBase implements OnInit, OnDestroy {
|
|
11
12
|
private fComponentsStore;
|
|
13
|
+
private fMediator;
|
|
12
14
|
fId: string;
|
|
13
15
|
private _fText;
|
|
14
16
|
set fText(value: string);
|
|
@@ -48,7 +50,7 @@ export declare class FConnectionComponent extends FConnectionBase implements OnI
|
|
|
48
50
|
fConnectionCenter: ElementRef<HTMLDivElement>;
|
|
49
51
|
fConnectionCenters: QueryList<FConnectionCenterDirective>;
|
|
50
52
|
get boundingElement(): HTMLElement | SVGElement;
|
|
51
|
-
constructor(elementReference: ElementRef<HTMLElement>, fConnectionFactory: FConnectionFactory, fComponentsStore: FComponentsStore);
|
|
53
|
+
constructor(elementReference: ElementRef<HTMLElement>, fConnectionFactory: FConnectionFactory, fComponentsStore: FComponentsStore, fMediator: FMediator);
|
|
52
54
|
ngOnInit(): void;
|
|
53
55
|
ngOnDestroy(): void;
|
|
54
56
|
static ɵfac: i0.ɵɵFactoryDeclaration<FConnectionComponent, never>;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import { IPoint } from '@foblex/2d';
|
|
1
2
|
export declare class FReassignConnectionEvent {
|
|
2
3
|
fConnectionId: string;
|
|
3
4
|
fOutputId: string;
|
|
4
5
|
oldFInputId: string;
|
|
5
6
|
newFInputId: string | undefined;
|
|
6
|
-
|
|
7
|
+
fDropPosition: IPoint;
|
|
8
|
+
constructor(fConnectionId: string, fOutputId: string, oldFInputId: string, newFInputId: string | undefined, fDropPosition: IPoint);
|
|
7
9
|
}
|
package/f-external-item/domain/external-item-preparation/external-item-preparation.execution.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ExternalItemPreparationRequest } from './external-item-preparation.request';
|
|
2
2
|
import { IExecution } from '@foblex/mediator';
|
|
3
3
|
import { FComponentsStore } from '../../../f-storage';
|
|
4
|
-
import { FExternalItemService } from '
|
|
4
|
+
import { FExternalItemService } from '../../../f-external-item';
|
|
5
5
|
import { FDraggableDataContext } from '../../../f-draggable';
|
|
6
6
|
import { BrowserService } from '@foblex/platform';
|
|
7
7
|
import * as i0 from "@angular/core";
|
package/f-external-item/domain/external-item-preparation/external-item-preparation.validator.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ExternalItemPreparationRequest } from './external-item-preparation.request';
|
|
2
2
|
import { IValidator } from '@foblex/mediator';
|
|
3
|
-
import { FExternalItemService } from '
|
|
3
|
+
import { FExternalItemService } from '../../../f-external-item';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class ExternalItemPreparationValidator implements IValidator<ExternalItemPreparationRequest> {
|
|
6
6
|
private fExternalItemService;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IPoint } from '@foblex/2d';
|
|
2
|
-
import { FExternalItemBase } from '
|
|
2
|
+
import { FExternalItemBase } from '../../f-external-item';
|
|
3
3
|
import { IDraggableItem } from '../../f-draggable';
|
|
4
4
|
import { BrowserService } from '@foblex/platform';
|
|
5
5
|
export declare class ExternalItemDragHandler implements IDraggableItem {
|
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 }],
|
|
@@ -2232,11 +2286,12 @@ class ReassignConnectionFinalizeRequest {
|
|
|
2232
2286
|
}
|
|
2233
2287
|
|
|
2234
2288
|
class FReassignConnectionEvent {
|
|
2235
|
-
constructor(fConnectionId, fOutputId, oldFInputId, newFInputId) {
|
|
2289
|
+
constructor(fConnectionId, fOutputId, oldFInputId, newFInputId, fDropPosition) {
|
|
2236
2290
|
this.fConnectionId = fConnectionId;
|
|
2237
2291
|
this.fOutputId = fOutputId;
|
|
2238
2292
|
this.oldFInputId = oldFInputId;
|
|
2239
2293
|
this.newFInputId = newFInputId;
|
|
2294
|
+
this.fDropPosition = fDropPosition;
|
|
2240
2295
|
}
|
|
2241
2296
|
}
|
|
2242
2297
|
|
|
@@ -2258,10 +2313,10 @@ let ReassignConnectionFinalizeExecution = class ReassignConnectionFinalizeExecut
|
|
|
2258
2313
|
}
|
|
2259
2314
|
emitEvent(event) {
|
|
2260
2315
|
const input = this.getInputUnderPointer(event);
|
|
2261
|
-
if (
|
|
2316
|
+
if (!!input && !this.isReassignToDifferentInput(input)) {
|
|
2262
2317
|
return;
|
|
2263
2318
|
}
|
|
2264
|
-
this.fDraggable.fReassignConnection.emit(new FReassignConnectionEvent(this.dragHandler.fConnection.fId, this.dragHandler.fConnection.fOutputId, this.dragHandler.fConnection.fInputId, input.id));
|
|
2319
|
+
this.fDraggable.fReassignConnection.emit(new FReassignConnectionEvent(this.dragHandler.fConnection.fId, this.dragHandler.fConnection.fOutputId, this.dragHandler.fConnection.fInputId, input === null || input === void 0 ? void 0 : input.id, event.getPosition()));
|
|
2265
2320
|
}
|
|
2266
2321
|
getInputUnderPointer(event) {
|
|
2267
2322
|
return this.fMediator.send(new GetInputUnderPointerRequest(event, this.dragHandler));
|
|
@@ -3209,9 +3264,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
3209
3264
|
|
|
3210
3265
|
let uniqueId$5 = 0;
|
|
3211
3266
|
class FConnectionComponent extends FConnectionBase {
|
|
3212
|
-
constructor(elementReference, fConnectionFactory, fComponentsStore) {
|
|
3267
|
+
constructor(elementReference, fConnectionFactory, fComponentsStore, fMediator) {
|
|
3213
3268
|
super(elementReference, fConnectionFactory);
|
|
3214
3269
|
this.fComponentsStore = fComponentsStore;
|
|
3270
|
+
this.fMediator = fMediator;
|
|
3215
3271
|
this.fId = `f-connection-${uniqueId$5++}`;
|
|
3216
3272
|
this._fText = '';
|
|
3217
3273
|
this._fStartColor = 'black';
|
|
@@ -3290,13 +3346,13 @@ class FConnectionComponent extends FConnectionBase {
|
|
|
3290
3346
|
return this.fPath.hostElement;
|
|
3291
3347
|
}
|
|
3292
3348
|
ngOnInit() {
|
|
3293
|
-
this.
|
|
3349
|
+
this.fMediator.send(new AddConnectionToStoreRequest(this));
|
|
3294
3350
|
}
|
|
3295
3351
|
ngOnDestroy() {
|
|
3296
|
-
this.
|
|
3352
|
+
this.fMediator.send(new RemoveConnectionFromStoreRequest(this));
|
|
3297
3353
|
}
|
|
3298
3354
|
}
|
|
3299
|
-
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 });
|
|
3355
|
+
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 });
|
|
3300
3356
|
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 });
|
|
3301
3357
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FConnectionComponent, decorators: [{
|
|
3302
3358
|
type: Component,
|
|
@@ -3314,7 +3370,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
3314
3370
|
},
|
|
3315
3371
|
providers: [{ provide: F_CONNECTION, useExisting: FConnectionComponent }],
|
|
3316
3372
|
}]
|
|
3317
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: FConnectionFactory }, { type: FComponentsStore }]; }, propDecorators: { fId: [{
|
|
3373
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: FConnectionFactory }, { type: FComponentsStore }, { type: i2.FMediator }]; }, propDecorators: { fId: [{
|
|
3318
3374
|
type: Input,
|
|
3319
3375
|
args: ['fConnectionId']
|
|
3320
3376
|
}], fText: [{
|
|
@@ -3913,7 +3969,7 @@ class ConnectionDragHandler extends ConnectionBaseDragHandler {
|
|
|
3913
3969
|
this.redrawConnection(this.getNewLineValue(difference));
|
|
3914
3970
|
}
|
|
3915
3971
|
getNewLineValue(difference) {
|
|
3916
|
-
return this.fMediator.send(new GetConnectionLineRequest(RoundedRect.
|
|
3972
|
+
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));
|
|
3917
3973
|
}
|
|
3918
3974
|
}
|
|
3919
3975
|
|
|
@@ -3927,7 +3983,7 @@ class ConnectionTargetDragHandler extends ConnectionBaseDragHandler {
|
|
|
3927
3983
|
this.redrawConnection(this.getNewLineValue(difference));
|
|
3928
3984
|
}
|
|
3929
3985
|
getNewLineValue(difference) {
|
|
3930
|
-
return this.fMediator.send(new GetConnectionLineRequest(RoundedRect.
|
|
3986
|
+
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));
|
|
3931
3987
|
}
|
|
3932
3988
|
}
|
|
3933
3989
|
|
|
@@ -4009,7 +4065,7 @@ class ConnectionSourceDragHandler extends ConnectionBaseDragHandler {
|
|
|
4009
4065
|
this.redrawConnection(this.getNewLineValue(difference));
|
|
4010
4066
|
}
|
|
4011
4067
|
getNewLineValue(difference) {
|
|
4012
|
-
return this.fMediator.send(new GetConnectionLineRequest(RoundedRect.
|
|
4068
|
+
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));
|
|
4013
4069
|
}
|
|
4014
4070
|
}
|
|
4015
4071
|
|
|
@@ -4708,7 +4764,8 @@ class NodeResizeDragHandler {
|
|
|
4708
4764
|
this.fMediator.send(new ApplyParentResizeRestrictionsRequest(rect, restrictionsRect));
|
|
4709
4765
|
}
|
|
4710
4766
|
complete() {
|
|
4711
|
-
|
|
4767
|
+
var _a, _b;
|
|
4768
|
+
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));
|
|
4712
4769
|
}
|
|
4713
4770
|
}
|
|
4714
4771
|
|
|
@@ -7127,11 +7184,18 @@ class FCanvasComponent extends FCanvasBase {
|
|
|
7127
7184
|
}
|
|
7128
7185
|
redrawWithAnimation() {
|
|
7129
7186
|
var _a;
|
|
7187
|
+
let duration = F_CANVAS_ANIMATION_DURATION;
|
|
7188
|
+
if (this.isMobile()) {
|
|
7189
|
+
duration = 80;
|
|
7190
|
+
}
|
|
7130
7191
|
(_a = this.fComponentsStore.fBackground) === null || _a === void 0 ? void 0 : _a.setTransform(this.transform);
|
|
7131
|
-
this.hostElement.setAttribute("style", `transition: transform ${
|
|
7132
|
-
setTimeout(() =>
|
|
7133
|
-
|
|
7134
|
-
|
|
7192
|
+
this.hostElement.setAttribute("style", `transition: transform ${duration}ms ease-in-out; transform: ${TransformModelExtensions.toString(this.transform)}`);
|
|
7193
|
+
setTimeout(() => this.redraw(), F_CANVAS_ANIMATION_DURATION);
|
|
7194
|
+
}
|
|
7195
|
+
isMobile() {
|
|
7196
|
+
// @ts-ignore
|
|
7197
|
+
const userAgent = navigator.userAgent || navigator.vendor || window['opera'];
|
|
7198
|
+
return /android|iPad|iPhone|iPod/i.test(userAgent);
|
|
7135
7199
|
}
|
|
7136
7200
|
centerGroupOrNode(id, animated = true) {
|
|
7137
7201
|
this.fMediator.send(new CenterGroupOrNodeRequest(id, animated));
|
|
@@ -7998,5 +8062,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
7998
8062
|
* Generated bundle index. Do not edit.
|
|
7999
8063
|
*/
|
|
8000
8064
|
|
|
8001
|
-
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 };
|
|
8065
|
+
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 };
|
|
8002
8066
|
//# sourceMappingURL=foblex-flow.js.map
|