@foblex/flow 17.0.4 → 17.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/domain/f-connection/calculate-connection-line-by-behavior/calculate-connection-line-by-behavior.execution.d.ts +10 -0
- package/domain/{get-connection-line/get-connection-line.request.d.ts → f-connection/calculate-connection-line-by-behavior/calculate-connection-line-by-behavior.request.d.ts} +3 -3
- package/domain/f-connection/calculate-connection-line-by-behavior/fixed-center-behavior.d.ts +3 -0
- package/domain/f-connection/calculate-connection-line-by-behavior/fixed-outbound-behavior.d.ts +3 -0
- package/domain/f-connection/calculate-connection-line-by-behavior/floating-behavior.d.ts +3 -0
- package/domain/f-connection/calculate-connection-line-by-behavior/index.d.ts +5 -0
- package/domain/f-connection/index.d.ts +1 -0
- package/domain/f-connection/providers.d.ts +2 -1
- package/domain/f-draggable/emit-selection-change-event/emit-selection-change-event.execution.d.ts +2 -0
- package/domain/f-draggable/providers.d.ts +1 -1
- package/domain/{get-flow-state → f-flow/get-flow-state}/get-flow-state-connections/get-flow-state-connections.execution.d.ts +1 -1
- package/domain/{get-flow-state → f-flow/get-flow-state}/get-flow-state-nodes/get-flow-state-nodes.execution.d.ts +1 -1
- package/domain/{get-flow-state → f-flow/get-flow-state}/get-flow-state.execution.d.ts +1 -1
- package/domain/{get-flow-state → f-flow/get-flow-state}/i-f-flow-state-connection.d.ts +1 -1
- package/domain/{get-flow-state → f-flow/get-flow-state}/i-f-flow-state-connector.d.ts +1 -1
- package/domain/f-flow/index.d.ts +1 -0
- package/domain/f-flow/providers.d.ts +1 -1
- package/domain/f-node/calculate-nodes-bounding-box-normalized-position/calculate-nodes-bounding-box-normalized-position.execution.d.ts +12 -0
- package/domain/f-node/calculate-nodes-bounding-box-normalized-position/calculate-nodes-bounding-box-normalized-position.request.d.ts +2 -0
- package/domain/f-node/calculate-nodes-bounding-box-normalized-position/index.d.ts +2 -0
- package/domain/f-node/index.d.ts +1 -0
- package/domain/f-node/providers.d.ts +2 -1
- package/domain/f-selection/get-can-be-selected-items/get-can-be-selected-items.execution.d.ts +18 -0
- package/domain/f-selection/get-can-be-selected-items/i-can-be-selected.d.ts +6 -0
- package/domain/f-selection/get-can-be-selected-items/index.d.ts +3 -0
- package/domain/f-selection/get-current-selection/get-current-selection.execution.d.ts +13 -0
- package/domain/f-selection/get-current-selection/get-current-selection.request.d.ts +2 -0
- package/domain/f-selection/get-current-selection/i-current-selection.d.ts +5 -0
- package/domain/f-selection/get-current-selection/index.d.ts +3 -0
- package/domain/f-selection/index.d.ts +2 -1
- package/domain/f-selection/providers.d.ts +4 -3
- package/domain/{get-element-rect-in-flow/get-element-rect-in-flow-request.d.ts → get-element-rounded-rect/get-element-rounded-rect-request.d.ts} +1 -1
- package/domain/get-element-rounded-rect/get-element-rounded-rect.execution.d.ts +13 -0
- package/domain/get-element-rounded-rect/index.d.ts +2 -0
- package/domain/{create-rounded-rect-from-element/create-rounded-rect-from-element-request.d.ts → get-normalized-element-rect/get-normalized-element-rect-request.d.ts} +1 -1
- package/domain/get-normalized-element-rect/get-normalized-element-rect.execution.d.ts +15 -0
- package/domain/get-normalized-element-rect/index.d.ts +2 -0
- package/domain/{get-position-in-flow/get-position-in-flow-request.d.ts → get-normalized-point/get-normalized-point-request.d.ts} +1 -1
- package/domain/get-normalized-point/get-normalized-point.execution.d.ts +11 -0
- package/domain/get-normalized-point/index.d.ts +2 -0
- package/domain/index.d.ts +3 -7
- package/domain/providers.d.ts +4 -7
- package/esm2022/domain/f-connection/calculate-connection-line-by-behavior/calculate-connection-line-by-behavior.execution.mjs +29 -0
- package/esm2022/domain/f-connection/calculate-connection-line-by-behavior/calculate-connection-line-by-behavior.request.mjs +15 -0
- package/esm2022/domain/f-connection/calculate-connection-line-by-behavior/fixed-center-behavior.mjs +5 -0
- package/esm2022/domain/f-connection/calculate-connection-line-by-behavior/fixed-outbound-behavior.mjs +32 -0
- package/esm2022/domain/f-connection/calculate-connection-line-by-behavior/floating-behavior.mjs +14 -0
- package/esm2022/domain/f-connection/calculate-connection-line-by-behavior/index.mjs +6 -0
- package/esm2022/domain/f-connection/get-connector-with-rect/get-connector-with-rect.execution.mjs +3 -3
- package/esm2022/domain/f-connection/index.mjs +2 -1
- package/esm2022/domain/f-connection/providers.mjs +3 -1
- package/esm2022/domain/f-connection/redraw-connections/redraw-connections.execution.mjs +4 -4
- package/esm2022/domain/f-draggable/emit-selection-change-event/emit-selection-change-event.execution.mjs +10 -4
- package/esm2022/domain/f-flow/get-flow-state/get-flow-state-connections/get-flow-state-connections-request.mjs +3 -0
- package/esm2022/domain/f-flow/get-flow-state/get-flow-state-connections/get-flow-state-connections.execution.mjs +34 -0
- package/esm2022/domain/f-flow/get-flow-state/get-flow-state-connections/index.mjs +3 -0
- package/esm2022/domain/f-flow/get-flow-state/get-flow-state-nodes/get-flow-state-nodes-request.mjs +7 -0
- package/esm2022/domain/f-flow/get-flow-state/get-flow-state-nodes/get-flow-state-nodes.execution.mjs +51 -0
- package/esm2022/domain/f-flow/get-flow-state/get-flow-state-nodes/index.mjs +3 -0
- package/esm2022/domain/f-flow/get-flow-state/get-flow-state.execution.mjs +41 -0
- package/esm2022/domain/f-flow/get-flow-state/get-flow-state.request.mjs +3 -0
- package/esm2022/domain/f-flow/get-flow-state/i-f-flow-state-connection.mjs +2 -0
- package/esm2022/domain/f-flow/get-flow-state/i-f-flow-state-connector.mjs +2 -0
- package/esm2022/domain/f-flow/get-flow-state/i-f-flow-state-node.mjs +2 -0
- package/esm2022/domain/f-flow/get-flow-state/i-f-flow-state.mjs +2 -0
- package/esm2022/domain/f-flow/get-flow-state/index.mjs +10 -0
- package/esm2022/domain/f-flow/get-flow-state/providers.mjs +9 -0
- package/esm2022/domain/f-flow/index.mjs +2 -1
- package/esm2022/domain/f-flow/providers.mjs +3 -1
- package/esm2022/domain/f-node/calculate-nodes-bounding-box/calculate-nodes-bounding-box.execution.mjs +4 -2
- package/esm2022/domain/f-node/calculate-nodes-bounding-box-normalized-position/calculate-nodes-bounding-box-normalized-position.execution.mjs +31 -0
- package/esm2022/domain/f-node/calculate-nodes-bounding-box-normalized-position/calculate-nodes-bounding-box-normalized-position.request.mjs +3 -0
- package/esm2022/domain/f-node/calculate-nodes-bounding-box-normalized-position/index.mjs +3 -0
- package/esm2022/domain/f-node/index.mjs +2 -1
- package/esm2022/domain/f-node/providers.mjs +3 -1
- package/esm2022/domain/f-selection/get-can-be-selected-items/get-can-be-selected-items-request.mjs +3 -0
- package/esm2022/domain/f-selection/get-can-be-selected-items/get-can-be-selected-items.execution.mjs +57 -0
- package/esm2022/domain/f-selection/get-can-be-selected-items/i-can-be-selected.mjs +2 -0
- package/esm2022/domain/f-selection/get-can-be-selected-items/index.mjs +4 -0
- package/esm2022/domain/f-selection/get-current-selection/get-current-selection.execution.mjs +41 -0
- package/esm2022/domain/f-selection/get-current-selection/get-current-selection.request.mjs +3 -0
- package/esm2022/domain/f-selection/get-current-selection/i-current-selection.mjs +2 -0
- package/esm2022/domain/f-selection/get-current-selection/index.mjs +4 -0
- package/esm2022/domain/f-selection/index.mjs +3 -2
- package/esm2022/domain/f-selection/providers.mjs +6 -4
- package/esm2022/domain/get-element-rounded-rect/get-element-rounded-rect-request.mjs +7 -0
- package/esm2022/domain/get-element-rounded-rect/get-element-rounded-rect.execution.mjs +32 -0
- package/esm2022/domain/{get-element-rect-in-flow → get-element-rounded-rect}/index.mjs +3 -3
- package/esm2022/domain/get-normalized-element-rect/get-normalized-element-rect-request.mjs +7 -0
- package/esm2022/domain/get-normalized-element-rect/get-normalized-element-rect.execution.mjs +40 -0
- package/esm2022/domain/get-normalized-element-rect/index.mjs +3 -0
- package/esm2022/domain/get-normalized-point/get-normalized-point-request.mjs +7 -0
- package/esm2022/domain/get-normalized-point/get-normalized-point.execution.mjs +27 -0
- package/esm2022/domain/get-normalized-point/index.mjs +3 -0
- package/esm2022/domain/index.mjs +4 -8
- package/esm2022/domain/providers.mjs +7 -15
- package/esm2022/f-draggable/connections/create-connection/create-connection.drag-handler.mjs +4 -4
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.mjs +4 -4
- package/esm2022/f-draggable/domain/is-connection-under-node/is-connection-under-node.execution.mjs +3 -3
- package/esm2022/f-draggable/f-selection-change-event.mjs +4 -2
- package/esm2022/f-draggable/node/connection-source.drag-handler.mjs +3 -3
- package/esm2022/f-draggable/node/connection-target.drag-handler.mjs +3 -3
- package/esm2022/f-draggable/node/connection.drag-handler.mjs +3 -3
- package/esm2022/f-draggable/node/node-drag-to-parent-preparation/node-drag-to-parent-preparation.execution.mjs +3 -3
- package/esm2022/f-external-item/domain/external-item-finalize/external-item-finalize.execution.mjs +3 -3
- package/esm2022/f-flow/f-flow.component.mjs +6 -6
- package/esm2022/f-line-alignment/f-line-alignment.component.mjs +4 -4
- package/esm2022/f-selection-area/domain/selection-area.drag-handle.mjs +12 -11
- package/f-backgroud/providers.d.ts +1 -1
- package/f-connection/providers.d.ts +1 -1
- package/f-connectors/providers.d.ts +1 -1
- package/f-draggable/connections/providers.d.ts +1 -1
- package/f-draggable/f-selection-change-event.d.ts +4 -2
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/providers.d.ts +1 -1
- package/f-draggable/node/providers.d.ts +1 -1
- package/f-draggable/providers.d.ts +1 -1
- package/f-flow/f-flow.component.d.ts +3 -4
- package/f-minimap/domain/providers.d.ts +1 -1
- package/f-node/providers.d.ts +1 -1
- package/f-selection-area/domain/selection-area.drag-handle.d.ts +2 -2
- package/f-storage/providers.d.ts +1 -1
- package/fesm2022/foblex-flow.mjs +363 -359
- package/fesm2022/foblex-flow.mjs.map +1 -1
- package/package.json +1 -1
- package/domain/create-rounded-rect-from-element/create-rounded-rect-from-element.execution.d.ts +0 -15
- package/domain/create-rounded-rect-from-element/index.d.ts +0 -2
- package/domain/f-selection/get-selection/get-selection.execution.d.ts +0 -11
- package/domain/f-selection/get-selection/get-selection.request.d.ts +0 -2
- package/domain/f-selection/get-selection/index.d.ts +0 -2
- package/domain/get-can-be-selected-items/get-can-be-selected-items.execution.d.ts +0 -19
- package/domain/get-can-be-selected-items/i-selectable-with-rect.d.ts +0 -6
- package/domain/get-can-be-selected-items/index.d.ts +0 -2
- package/domain/get-connection-line/get-connection-line.execution.d.ts +0 -13
- package/domain/get-connection-line/index.d.ts +0 -2
- package/domain/get-element-rect-in-flow/get-element-rect-in-flow.execution.d.ts +0 -16
- package/domain/get-element-rect-in-flow/index.d.ts +0 -2
- package/domain/get-position-in-flow/get-position-in-flow.execution.d.ts +0 -14
- package/domain/get-position-in-flow/index.d.ts +0 -2
- package/domain/get-scaled-node-rects-with-flow-position/get-scaled-node-rects-with-flow-position.execution.d.ts +0 -14
- package/domain/get-scaled-node-rects-with-flow-position/get-scaled-node-rects-with-flow-position.request.d.ts +0 -2
- package/domain/get-scaled-node-rects-with-flow-position/index.d.ts +0 -2
- package/esm2022/domain/create-rounded-rect-from-element/create-rounded-rect-from-element-request.mjs +0 -7
- package/esm2022/domain/create-rounded-rect-from-element/create-rounded-rect-from-element.execution.mjs +0 -40
- package/esm2022/domain/create-rounded-rect-from-element/index.mjs +0 -3
- package/esm2022/domain/f-selection/get-selection/get-selection.execution.mjs +0 -36
- package/esm2022/domain/f-selection/get-selection/get-selection.request.mjs +0 -3
- package/esm2022/domain/f-selection/get-selection/index.mjs +0 -3
- package/esm2022/domain/get-can-be-selected-items/get-can-be-selected-items-request.mjs +0 -3
- package/esm2022/domain/get-can-be-selected-items/get-can-be-selected-items.execution.mjs +0 -60
- package/esm2022/domain/get-can-be-selected-items/i-selectable-with-rect.mjs +0 -2
- package/esm2022/domain/get-can-be-selected-items/index.mjs +0 -3
- package/esm2022/domain/get-connection-line/get-connection-line.execution.mjs +0 -65
- package/esm2022/domain/get-connection-line/get-connection-line.request.mjs +0 -15
- package/esm2022/domain/get-connection-line/index.mjs +0 -3
- package/esm2022/domain/get-element-rect-in-flow/get-element-rect-in-flow-request.mjs +0 -7
- package/esm2022/domain/get-element-rect-in-flow/get-element-rect-in-flow.execution.mjs +0 -43
- package/esm2022/domain/get-flow-state/get-flow-state-connections/get-flow-state-connections-request.mjs +0 -3
- package/esm2022/domain/get-flow-state/get-flow-state-connections/get-flow-state-connections.execution.mjs +0 -34
- package/esm2022/domain/get-flow-state/get-flow-state-connections/index.mjs +0 -3
- package/esm2022/domain/get-flow-state/get-flow-state-nodes/get-flow-state-nodes-request.mjs +0 -7
- package/esm2022/domain/get-flow-state/get-flow-state-nodes/get-flow-state-nodes.execution.mjs +0 -51
- package/esm2022/domain/get-flow-state/get-flow-state-nodes/index.mjs +0 -3
- package/esm2022/domain/get-flow-state/get-flow-state.execution.mjs +0 -41
- package/esm2022/domain/get-flow-state/get-flow-state.request.mjs +0 -3
- package/esm2022/domain/get-flow-state/i-f-flow-state-connection.mjs +0 -2
- package/esm2022/domain/get-flow-state/i-f-flow-state-connector.mjs +0 -2
- package/esm2022/domain/get-flow-state/i-f-flow-state-node.mjs +0 -2
- package/esm2022/domain/get-flow-state/i-f-flow-state.mjs +0 -2
- package/esm2022/domain/get-flow-state/index.mjs +0 -10
- package/esm2022/domain/get-flow-state/providers.mjs +0 -9
- package/esm2022/domain/get-position-in-flow/get-position-in-flow-request.mjs +0 -7
- package/esm2022/domain/get-position-in-flow/get-position-in-flow.execution.mjs +0 -33
- package/esm2022/domain/get-position-in-flow/index.mjs +0 -3
- package/esm2022/domain/get-scaled-node-rects-with-flow-position/get-scaled-node-rects-with-flow-position.execution.mjs +0 -35
- package/esm2022/domain/get-scaled-node-rects-with-flow-position/get-scaled-node-rects-with-flow-position.request.mjs +0 -3
- package/esm2022/domain/get-scaled-node-rects-with-flow-position/index.mjs +0 -3
- /package/domain/{get-flow-state → f-flow/get-flow-state}/get-flow-state-connections/get-flow-state-connections-request.d.ts +0 -0
- /package/domain/{get-flow-state → f-flow/get-flow-state}/get-flow-state-connections/index.d.ts +0 -0
- /package/domain/{get-flow-state → f-flow/get-flow-state}/get-flow-state-nodes/get-flow-state-nodes-request.d.ts +0 -0
- /package/domain/{get-flow-state → f-flow/get-flow-state}/get-flow-state-nodes/index.d.ts +0 -0
- /package/domain/{get-flow-state → f-flow/get-flow-state}/get-flow-state.request.d.ts +0 -0
- /package/domain/{get-flow-state → f-flow/get-flow-state}/i-f-flow-state-node.d.ts +0 -0
- /package/domain/{get-flow-state → f-flow/get-flow-state}/i-f-flow-state.d.ts +0 -0
- /package/domain/{get-flow-state → f-flow/get-flow-state}/index.d.ts +0 -0
- /package/domain/{get-flow-state → f-flow/get-flow-state}/providers.d.ts +0 -0
- /package/domain/{get-can-be-selected-items → f-selection/get-can-be-selected-items}/get-can-be-selected-items-request.d.ts +0 -0
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { Point, RectExtensions } from '@foblex/2d';
|
|
2
2
|
import { NotifyTransformChangedRequest } from '../../f-storage';
|
|
3
|
-
import { GetCanBeSelectedItemsRequest } from '../../domain
|
|
3
|
+
import { GetCanBeSelectedItemsRequest } from '../../domain';
|
|
4
4
|
export class SelectionAreaDragHandle {
|
|
5
5
|
fComponentsStore;
|
|
6
6
|
fSelectionArea;
|
|
7
7
|
fDraggableDataContext;
|
|
8
8
|
fMediator;
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
_canBeSelected = [];
|
|
10
|
+
_selectedByMove = [];
|
|
11
11
|
get canvasPosition() {
|
|
12
|
-
return Point.fromPoint(this.fComponentsStore.fCanvas.transform.position)
|
|
12
|
+
return Point.fromPoint(this.fComponentsStore.fCanvas.transform.position)
|
|
13
|
+
.add(this.fComponentsStore.fCanvas.transform.scaledPosition);
|
|
13
14
|
}
|
|
14
15
|
constructor(fComponentsStore, fSelectionArea, fDraggableDataContext, fMediator) {
|
|
15
16
|
this.fComponentsStore = fComponentsStore;
|
|
@@ -18,7 +19,7 @@ export class SelectionAreaDragHandle {
|
|
|
18
19
|
this.fMediator = fMediator;
|
|
19
20
|
}
|
|
20
21
|
prepareDragSequence() {
|
|
21
|
-
this.
|
|
22
|
+
this._canBeSelected = this.fMediator.send(new GetCanBeSelectedItemsRequest());
|
|
22
23
|
this.fSelectionArea.show();
|
|
23
24
|
this.fSelectionArea.draw(RectExtensions.initialize(this.fDraggableDataContext.onPointerDownPosition.x, this.fDraggableDataContext.onPointerDownPosition.y));
|
|
24
25
|
}
|
|
@@ -29,24 +30,24 @@ export class SelectionAreaDragHandle {
|
|
|
29
30
|
const width = Math.abs(difference.x);
|
|
30
31
|
const height = Math.abs(difference.y);
|
|
31
32
|
this.fSelectionArea.draw(RectExtensions.initialize(x, y, width, height));
|
|
32
|
-
this.
|
|
33
|
-
this.
|
|
33
|
+
this._selectedByMove = [];
|
|
34
|
+
this._canBeSelected.forEach((item) => {
|
|
34
35
|
item.element.deselect();
|
|
35
36
|
const itemRect = RectExtensions.addPoint(item.rect, this.canvasPosition);
|
|
36
37
|
const isIntersect = RectExtensions.intersectionWithRect(itemRect, RectExtensions.initialize(x, y, width, height));
|
|
37
38
|
if (isIntersect) {
|
|
38
39
|
item.element.select();
|
|
39
|
-
this.
|
|
40
|
+
this._selectedByMove.push(item.element);
|
|
40
41
|
}
|
|
41
42
|
});
|
|
42
43
|
this.fMediator.send(new NotifyTransformChangedRequest());
|
|
43
44
|
}
|
|
44
45
|
onPointerUp() {
|
|
45
46
|
this.fSelectionArea.hide();
|
|
46
|
-
this.fDraggableDataContext.selectedItems.push(...this.
|
|
47
|
-
if (this.
|
|
47
|
+
this.fDraggableDataContext.selectedItems.push(...this._selectedByMove);
|
|
48
|
+
if (this._selectedByMove.length > 0) {
|
|
48
49
|
this.fDraggableDataContext.isSelectedChanged = true;
|
|
49
50
|
}
|
|
50
51
|
}
|
|
51
52
|
}
|
|
52
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
53
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0aW9uLWFyZWEuZHJhZy1oYW5kbGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8u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G4gICAgICBpZiAoaXNJbnRlcnNlY3QpIHtcblxuICAgICAgICBpdGVtLmVsZW1lbnQuc2VsZWN0KCk7XG4gICAgICAgIHRoaXMuX3NlbGVjdGVkQnlNb3ZlLnB1c2goaXRlbS5lbGVtZW50KTtcbiAgICAgIH1cbiAgICB9KTtcbiAgICB0aGlzLmZNZWRpYXRvci5zZW5kPHZvaWQ+KG5ldyBOb3RpZnlUcmFuc2Zvcm1DaGFuZ2VkUmVxdWVzdCgpKTtcbiAgfVxuXG4gIHB1YmxpYyBvblBvaW50ZXJVcCgpOiB2b2lkIHtcbiAgICB0aGlzLmZTZWxlY3Rpb25BcmVhLmhpZGUoKTtcbiAgICB0aGlzLmZEcmFnZ2FibGVEYXRhQ29udGV4dC5zZWxlY3RlZEl0ZW1zLnB1c2goLi4udGhpcy5fc2VsZWN0ZWRCeU1vdmUpO1xuICAgIGlmICh0aGlzLl9zZWxlY3RlZEJ5TW92ZS5sZW5ndGggPiAwKSB7XG4gICAgICB0aGlzLmZEcmFnZ2FibGVEYXRhQ29udGV4dC5pc1NlbGVjdGVkQ2hhbmdlZCA9IHRydWU7XG4gICAgfVxuICB9XG59XG4iXX0=
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { FBackgroundComponent } from './f-background.component';
|
|
2
2
|
import { FRectPatternComponent } from './f-rect-pattern';
|
|
3
3
|
import { FCirclePatternComponent } from './f-circle-pattern';
|
|
4
|
-
export declare const F_BACKGROUND_PROVIDERS: (typeof
|
|
4
|
+
export declare const F_BACKGROUND_PROVIDERS: (typeof FBackgroundComponent | typeof FCirclePatternComponent | typeof FRectPatternComponent)[];
|
|
@@ -4,4 +4,4 @@ import { FConnectionCenterDirective } from './f-connection-center';
|
|
|
4
4
|
import { FConnectionForCreateComponent } from './f-connection-for-create';
|
|
5
5
|
import { FMarkerDirective } from './f-marker';
|
|
6
6
|
import { FSnapConnectionComponent } from './f-snap-connection';
|
|
7
|
-
export declare const F_CONNECTION_PROVIDERS: (typeof
|
|
7
|
+
export declare const F_CONNECTION_PROVIDERS: (typeof FSnapConnectionComponent | typeof FConnectionDragHandleComponent | typeof FConnectionSelectionComponent | typeof FConnectionCenterDirective | typeof FMarkerDirective | typeof FConnectionComponent | typeof FConnectionForCreateComponent | typeof FConnectionTextPathDirective | typeof FConnectionTextComponent | typeof FConnectionGradientComponent | typeof FConnectionPathComponent)[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { FNodeInputDirective } from './f-node-input';
|
|
2
2
|
import { FNodeOutletDirective } from './f-node-outlet';
|
|
3
3
|
import { FNodeOutputDirective } from './f-node-output';
|
|
4
|
-
export declare const F_CONNECTORS_PROVIDERS: (typeof
|
|
4
|
+
export declare const F_CONNECTORS_PROVIDERS: (typeof FNodeOutputDirective | typeof FNodeOutletDirective | typeof FNodeInputDirective)[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { CreateConnectionDragHandlerExecution, CreateConnectionFinalizeExecution, CreateConnectionFinalizeValidator, CreateConnectionFromOutletPreparationExecution, CreateConnectionFromOutputPreparationExecution, CreateConnectionFromOutputPreparationValidator, CreateConnectionPreparationExecution, CreateConnectionPreparationValidator, GetCanBeConnectedOutputByOutletExecution, GetCanBeConnectedOutputByOutletValidator } from './create-connection';
|
|
2
2
|
import { ReassignConnectionFinalizeExecution, ReassignConnectionFinalizeValidator, ReassignConnectionPreparationExecution, ReassignConnectionPreparationValidator } from './reassign-connection';
|
|
3
3
|
import { GetInputUnderPointerExecution, GetInputUnderPointerValidator } from './get-input-under-pointer';
|
|
4
|
-
export declare const CONNECTIONS_PROVIDERS: (typeof
|
|
4
|
+
export declare const CONNECTIONS_PROVIDERS: (typeof GetInputUnderPointerExecution | typeof GetInputUnderPointerValidator | typeof CreateConnectionFinalizeExecution | typeof CreateConnectionFinalizeValidator | typeof CreateConnectionDragHandlerExecution | typeof CreateConnectionFromOutletPreparationExecution | typeof GetCanBeConnectedOutputByOutletExecution | typeof GetCanBeConnectedOutputByOutletValidator | typeof CreateConnectionFromOutputPreparationExecution | typeof CreateConnectionFromOutputPreparationValidator | typeof CreateConnectionPreparationExecution | typeof CreateConnectionPreparationValidator | typeof ReassignConnectionFinalizeExecution | typeof ReassignConnectionFinalizeValidator | typeof ReassignConnectionPreparationExecution | typeof ReassignConnectionPreparationValidator)[];
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import { ICurrentSelection } from '../domain';
|
|
2
|
+
export declare class FSelectionChangeEvent implements ICurrentSelection {
|
|
2
3
|
nodes: string[];
|
|
4
|
+
groups: string[];
|
|
3
5
|
connections: string[];
|
|
4
|
-
constructor(nodes: string[], connections: string[]);
|
|
6
|
+
constructor(nodes: string[], groups: string[], connections: string[]);
|
|
5
7
|
}
|
|
@@ -2,4 +2,4 @@ import { CreateMoveNodesDragModelFromSelectionExecution } from './create-move-no
|
|
|
2
2
|
import { GetNodeMoveRestrictionsExecution } from './domain/get-node-move-restrictions';
|
|
3
3
|
import { PutInputConnectionHandlersToArrayExecution } from './domain/put-input-connection-handlers-to-array';
|
|
4
4
|
import { PutOutputConnectionHandlersToArrayExecution } from './domain/put-output-connection-handlers-to-array';
|
|
5
|
-
export declare const CREATE_MOVE_NODE_DRAG_MODEL_FROM_SELECTION_PROVIDERS: (typeof
|
|
5
|
+
export declare const CREATE_MOVE_NODE_DRAG_MODEL_FROM_SELECTION_PROVIDERS: (typeof GetNodeMoveRestrictionsExecution | typeof PutInputConnectionHandlersToArrayExecution | typeof PutOutputConnectionHandlersToArrayExecution | typeof CreateMoveNodesDragModelFromSelectionExecution)[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const NODE_PROVIDERS: (typeof import("./create-move-nodes-drag-model-from-selection").
|
|
1
|
+
export declare const NODE_PROVIDERS: (typeof import("./create-move-nodes-drag-model-from-selection").GetNodeMoveRestrictionsExecution | typeof import("./create-move-nodes-drag-model-from-selection").PutInputConnectionHandlersToArrayExecution | typeof import("./create-move-nodes-drag-model-from-selection").PutOutputConnectionHandlersToArrayExecution | typeof import("./create-move-nodes-drag-model-from-selection").CreateMoveNodesDragModelFromSelectionExecution | typeof import("./node-move-finalize").NodeMoveFinalizeExecution | typeof import("./node-move-finalize").NodeMoveFinalizeValidator | typeof import("./node-move-preparation").NodeMovePreparationExecution | typeof import("./node-move-preparation").NodeMovePreparationValidator | typeof import("./node-drag-to-parent-preparation").NodeDragToParentPreparationExecution | typeof import("./node-drag-to-parent-preparation").NodeDragToParentPreparationValidator | typeof import("./node-drag-to-parent-finalize").NodeDragToParentFinalizeExecution | typeof import("./node-drag-to-parent-finalize").NodeDragToParentFinalizeValidator)[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const F_DRAGGABLE_PROVIDERS: (typeof import("
|
|
1
|
+
export declare const F_DRAGGABLE_PROVIDERS: (typeof import("./canvas").CanvasMoveFinalizeExecution | typeof import("./canvas").CanvasMoveFinalizeValidator | typeof import("./canvas").CanvasMovePreparationExecution | typeof import("./canvas").CanvasMovePreparationValidator | typeof import("./connections").GetInputUnderPointerExecution | typeof import("./connections").GetInputUnderPointerValidator | typeof import("./connections").CreateConnectionFinalizeExecution | typeof import("./connections").CreateConnectionFinalizeValidator | typeof import("./connections").CreateConnectionDragHandlerExecution | typeof import("./connections").CreateConnectionFromOutletPreparationExecution | typeof import("./connections").GetCanBeConnectedOutputByOutletExecution | typeof import("./connections").GetCanBeConnectedOutputByOutletValidator | typeof import("./connections").CreateConnectionFromOutputPreparationExecution | typeof import("./connections").CreateConnectionFromOutputPreparationValidator | typeof import("./connections").CreateConnectionPreparationExecution | typeof import("./connections").CreateConnectionPreparationValidator | typeof import("./connections").ReassignConnectionFinalizeExecution | typeof import("./connections").ReassignConnectionFinalizeValidator | typeof import("./connections").ReassignConnectionPreparationExecution | typeof import("./connections").ReassignConnectionPreparationValidator | typeof import("./domain").GetNodePaddingExecution | typeof import("./domain").GetNormalizedNodeRectExecution | typeof import("./domain").GetNormalizedParentNodeRectExecution | typeof import("./domain").GetParentNodesExecution | typeof import("./domain").IsArrayHasParentNodeExecution | typeof import("./domain").IsConnectionUnderNodeExecution | typeof import("./domain").IsConnectionUnderNodeValidator | typeof import("./single-select").SingleSelectExecution | typeof import("./single-select").SingleSelectValidator | typeof import("../f-external-item").ExternalItemFinalizeExecution | typeof import("../f-external-item").ExternalItemFinalizeValidator | typeof import("../f-external-item").ExternalItemPreparationExecution | typeof import("../f-external-item").ExternalItemPreparationValidator | typeof import("../f-external-item").PreventDefaultIsExternalItemExecution | typeof import("./node").GetNodeMoveRestrictionsExecution | typeof import("./node").PutInputConnectionHandlersToArrayExecution | typeof import("./node").PutOutputConnectionHandlersToArrayExecution | typeof import("./node").CreateMoveNodesDragModelFromSelectionExecution | typeof import("./node").NodeMoveFinalizeExecution | typeof import("./node").NodeMoveFinalizeValidator | typeof import("./node").NodeMovePreparationExecution | typeof import("./node").NodeMovePreparationValidator | typeof import("./node").NodeDragToParentPreparationExecution | typeof import("./node").NodeDragToParentPreparationValidator | typeof import("./node").NodeDragToParentFinalizeExecution | typeof import("./node").NodeDragToParentFinalizeValidator | typeof import("./node-resize").ApplyChildResizeRestrictionsExecution | typeof import("./node-resize").ApplyParentResizeRestrictionsExecution | typeof import("./node-resize").CalculateChangedPositionExecution | typeof import("./node-resize").CalculateChangedSizeExecution | typeof import("./node-resize").GetNormalizedChildrenNodesRectExecution | typeof import("./node-resize").GetNodeResizeRestrictionsExecution | typeof import("./node-resize").NodeResizeFinalizeExecution | typeof import("./node-resize").NodeResizeFinalizeValidator | typeof import("./node-resize").NodeResizePreparationExecution | typeof import("./node-resize").NodeResizePreparationValidator | typeof import("../f-selection-area").SelectionAreaFinalizeExecution | typeof import("../f-selection-area").SelectionAreaFinalizeValidator | typeof import("../f-selection-area").SelectionAreaPreparationExecution | typeof import("../f-selection-area").SelectionAreaPreparationValidator | typeof import("@foblex/flow").CalculateFlowPointFromMinimapPointExecution | typeof import("@foblex/flow").MinimapDragFinalizeExecution | typeof import("@foblex/flow").MinimapDragFinalizeValidator | typeof import("@foblex/flow").MinimapDragPreparationExecution | typeof import("@foblex/flow").MinimapDragPreparationValidator | typeof import("@foblex/flow").MinimapDrawNodesExecution | typeof import("@foblex/flow").MinimapCalculateSvgScaleAndViewBoxExecution | typeof import("@foblex/flow").MinimapCalculateViewBoxExecution)[];
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { AfterContentInit, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { FFlowBase } from './f-flow-base';
|
|
3
|
-
import { IFFlowState } from '../domain';
|
|
3
|
+
import { IFFlowState, ICurrentSelection } from '../domain';
|
|
4
4
|
import { IPoint, IRect } from '@foblex/2d';
|
|
5
|
-
import { FSelectionChangeEvent } from '../f-draggable';
|
|
6
5
|
import { BrowserService } from '@foblex/platform';
|
|
7
6
|
import * as i0 from "@angular/core";
|
|
8
7
|
export declare class FFlowComponent extends FFlowBase implements OnInit, AfterContentInit, OnDestroy {
|
|
@@ -22,8 +21,8 @@ export declare class FFlowComponent extends FFlowBase implements OnInit, AfterCo
|
|
|
22
21
|
private _emitLoaded;
|
|
23
22
|
redraw(): void;
|
|
24
23
|
reset(): void;
|
|
25
|
-
|
|
26
|
-
getSelection():
|
|
24
|
+
getNodesBoundingBox(): IRect | null;
|
|
25
|
+
getSelection(): ICurrentSelection;
|
|
27
26
|
getPositionInFlow(position: IPoint): IRect;
|
|
28
27
|
getState(): IFFlowState;
|
|
29
28
|
selectAll(): void;
|
|
@@ -2,4 +2,4 @@ import { CalculateFlowPointFromMinimapPointExecution } from './calculate-flow-po
|
|
|
2
2
|
import { MinimapDrawNodesExecution } from './minimap-draw-nodes';
|
|
3
3
|
import { MinimapCalculateViewBoxExecution } from './minimap-calculate-view-box';
|
|
4
4
|
import { MinimapCalculateSvgScaleAndViewBoxExecution } from './minimap-calculate-svg-scale-and-view-box';
|
|
5
|
-
export declare const F_MINIMAP_DRAG_AND_DROP_PROVIDERS: (typeof
|
|
5
|
+
export declare const F_MINIMAP_DRAG_AND_DROP_PROVIDERS: (typeof CalculateFlowPointFromMinimapPointExecution | typeof import("./minimap-drag-finalize").MinimapDragFinalizeExecution | typeof import("./minimap-drag-finalize").MinimapDragFinalizeValidator | typeof import("./minimap-drag-preparation").MinimapDragPreparationExecution | typeof import("./minimap-drag-preparation").MinimapDragPreparationValidator | typeof MinimapDrawNodesExecution | typeof MinimapCalculateSvgScaleAndViewBoxExecution | typeof MinimapCalculateViewBoxExecution)[];
|
package/f-node/providers.d.ts
CHANGED
|
@@ -2,4 +2,4 @@ import { FNodeDirective } from './f-node.directive';
|
|
|
2
2
|
import { FDragHandleDirective } from './f-drag-handle';
|
|
3
3
|
import { FResizeHandleDirective } from './f-resize-handle';
|
|
4
4
|
import { FGroupDirective } from './f-group.directive';
|
|
5
|
-
export declare const F_NODE_PROVIDERS: (typeof
|
|
5
|
+
export declare const F_NODE_PROVIDERS: (typeof FNodeDirective | typeof FGroupDirective | typeof FDragHandleDirective | typeof FResizeHandleDirective)[];
|
|
@@ -8,8 +8,8 @@ export declare class SelectionAreaDragHandle implements IDraggableItem {
|
|
|
8
8
|
private fSelectionArea;
|
|
9
9
|
private fDraggableDataContext;
|
|
10
10
|
private fMediator;
|
|
11
|
-
private
|
|
12
|
-
private
|
|
11
|
+
private _canBeSelected;
|
|
12
|
+
private _selectedByMove;
|
|
13
13
|
private get canvasPosition();
|
|
14
14
|
constructor(fComponentsStore: FComponentsStore, fSelectionArea: FSelectionAreaBase, fDraggableDataContext: FDraggableDataContext, fMediator: FMediator);
|
|
15
15
|
prepareDragSequence(): void;
|
package/f-storage/providers.d.ts
CHANGED
|
@@ -4,4 +4,4 @@ import { FComponentsStore } from './f-components-store';
|
|
|
4
4
|
import { ListenCountChangesExecution } from './features/listen-count-changes';
|
|
5
5
|
import { ListenTransformChangesExecution } from './features/listen-transform-changes';
|
|
6
6
|
import { NotifyTransformChangedExecution } from './features/notify-transform-changed';
|
|
7
|
-
export declare const F_STORAGE_PROVIDERS: (typeof FComponentsStore | typeof NotifyDataChangedExecution | typeof
|
|
7
|
+
export declare const F_STORAGE_PROVIDERS: (typeof FComponentsStore | typeof NotifyDataChangedExecution | typeof ListenCountChangesExecution | typeof ListenDataChangesExecution | typeof ListenTransformChangesExecution | typeof NotifyTransformChangedExecution)[];
|