@foblex/flow 17.9.81 → 18.1.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/LICENSE +1 -1
- package/domain/css-cls.d.ts +0 -3
- package/domain/f-background/add-pattern-to-background/add-pattern-to-background.d.ts +1 -1
- package/domain/f-background/add-pattern-to-background/index.d.ts +1 -1
- package/domain/f-background/index.d.ts +0 -2
- package/domain/f-background/providers.d.ts +2 -4
- package/domain/f-background/set-background-transform/index.d.ts +1 -1
- package/domain/f-background/set-background-transform/set-background-transform.d.ts +12 -0
- package/domain/f-canvas/center-group-or-node/center-group-or-node.execution.d.ts +5 -6
- package/domain/f-canvas/fit-to-flow/fit-to-flow.execution.d.ts +2 -2
- package/domain/f-canvas/remove-canvas-from-store/remove-canvas-from-store.execution.d.ts +1 -1
- package/domain/f-connection/add-connection-for-create-to-store/add-connection-for-create-to-store-request.d.ts +3 -3
- package/domain/f-connection/add-connection-for-create-to-store/add-connection-for-create-to-store.d.ts +12 -0
- package/domain/f-connection/add-connection-for-create-to-store/index.d.ts +1 -1
- package/domain/f-connection/add-connection-marker-to-store/add-connection-marker-to-store-request.d.ts +3 -3
- package/domain/f-connection/add-connection-marker-to-store/add-connection-marker-to-store.d.ts +12 -0
- package/domain/f-connection/add-connection-marker-to-store/index.d.ts +1 -1
- package/domain/f-connection/add-connection-to-store/add-connection-to-store-request.d.ts +3 -3
- package/domain/f-connection/add-connection-to-store/add-connection-to-store.d.ts +12 -0
- package/domain/f-connection/add-connection-to-store/index.d.ts +1 -1
- package/domain/f-connection/add-snap-connection-to-store/add-snap-connection-to-store-request.d.ts +3 -3
- package/domain/f-connection/add-snap-connection-to-store/add-snap-connection-to-store.d.ts +12 -0
- package/domain/f-connection/add-snap-connection-to-store/index.d.ts +1 -1
- package/domain/f-connection/create-connection-markers/create-connection-markers-request.d.ts +3 -3
- package/domain/f-connection/create-connection-markers/create-connection-markers.d.ts +16 -0
- package/domain/f-connection/create-connection-markers/index.d.ts +1 -1
- package/domain/f-connection/index.d.ts +1 -1
- package/domain/f-connection/providers.d.ts +11 -11
- package/domain/f-connection/redraw-connections/redraw-connections.d.ts +4 -4
- package/domain/f-connection/remove-connection-for-create-from-store/index.d.ts +1 -1
- package/domain/f-connection/remove-connection-for-create-from-store/remove-connection-for-create-from-store.d.ts +12 -0
- package/domain/f-connection/remove-connection-from-store/index.d.ts +1 -1
- package/domain/f-connection/remove-connection-from-store/remove-connection-from-store-request.d.ts +3 -3
- package/domain/f-connection/remove-connection-from-store/remove-connection-from-store.d.ts +9 -0
- package/domain/f-connection/remove-connection-marker-from-store/index.d.ts +1 -1
- package/domain/f-connection/remove-connection-marker-from-store/remove-connection-marker-from-store-request.d.ts +3 -3
- package/domain/f-connection/remove-connection-marker-from-store/remove-connection-marker-from-store.d.ts +12 -0
- package/domain/f-connection/remove-connection-waypoint/index.d.ts +2 -0
- package/domain/f-connection/remove-connection-waypoint/remove-connection-waypoint-request.d.ts +6 -0
- package/domain/f-connection/remove-connection-waypoint/remove-connection-waypoint.d.ts +10 -0
- package/domain/f-connection/remove-snap-connection-from-store/index.d.ts +1 -1
- package/domain/f-connection/remove-snap-connection-from-store/remove-snap-connection-from-store.d.ts +12 -0
- package/domain/f-connectors/add-connector-to-store/add-connector-to-store-request.d.ts +6 -0
- package/domain/f-connectors/add-connector-to-store/add-connector-to-store.d.ts +15 -0
- package/domain/f-connectors/add-connector-to-store/index.d.ts +2 -0
- package/domain/f-connectors/calculate-closest-connector/calculate-closest-connector-request.d.ts +3 -3
- package/domain/f-connectors/calculate-closest-connector/calculate-closest-connector.d.ts +5 -7
- package/domain/f-connectors/calculate-source-connectors-to-connect/calculate-source-connectors-to-connect-request.d.ts +3 -3
- package/domain/f-connectors/calculate-source-connectors-to-connect/calculate-source-connectors-to-connect.d.ts +8 -8
- package/domain/f-connectors/calculate-target-connectors-to-connect/calculate-target-connectors-to-connect-request.d.ts +3 -3
- package/domain/f-connectors/calculate-target-connectors-to-connect/calculate-target-connectors-to-connect.d.ts +9 -8
- package/domain/f-connectors/find-connectable-connector-using-priority-and-position/find-connectable-connector-using-priority-and-position.execution.d.ts +1 -1
- package/domain/f-connectors/find-connectable-connector-using-priority-and-position/find-connectable-connector-using-priority-and-position.request.d.ts +3 -3
- package/domain/f-connectors/get-connector-rect-reference/get-connector-rect-reference-request.d.ts +6 -0
- package/domain/f-connectors/get-connector-rect-reference/get-connector-rect-reference.d.ts +14 -0
- package/domain/f-connectors/get-connector-rect-reference/index.d.ts +2 -0
- package/domain/f-connectors/i-closest-connector-ref.d.ts +8 -0
- package/domain/f-connectors/i-connector-rect-ref.d.ts +6 -0
- package/domain/f-connectors/index.d.ts +5 -9
- package/domain/f-connectors/providers.d.ts +4 -8
- package/domain/f-connectors/remove-connector-from-store/index.d.ts +2 -0
- package/domain/f-connectors/remove-connector-from-store/remove-connector-from-store-request.d.ts +6 -0
- package/domain/f-connectors/remove-connector-from-store/remove-connector-from-store.d.ts +15 -0
- package/domain/f-draggable/index.d.ts +0 -3
- package/domain/f-draggable/on-pointer-move/on-pointer-move.execution.d.ts +1 -1
- package/domain/f-draggable/prepare-drag-sequence/prepare-drag-sequence.execution.d.ts +1 -1
- package/domain/f-draggable/providers.d.ts +1 -4
- package/domain/f-flow/calculate-flow-state/calculate-connections-state/calculate-connections-state-request.d.ts +3 -0
- package/domain/f-flow/calculate-flow-state/calculate-connections-state/calculate-connections-state.d.ts +14 -0
- package/domain/f-flow/calculate-flow-state/calculate-connections-state/index.d.ts +2 -0
- package/domain/f-flow/calculate-flow-state/calculate-flow-state-request.d.ts +3 -0
- package/domain/f-flow/calculate-flow-state/calculate-flow-state.d.ts +17 -0
- package/domain/f-flow/calculate-flow-state/calculate-nodes-state/calculate-nodes-state-request.d.ts +6 -0
- package/domain/f-flow/calculate-flow-state/calculate-nodes-state/calculate-nodes-state.d.ts +15 -0
- package/domain/f-flow/calculate-flow-state/calculate-nodes-state/index.d.ts +2 -0
- package/domain/f-flow/calculate-flow-state/i-f-flow-state-connection.d.ts +13 -0
- package/domain/f-flow/calculate-flow-state/i-f-flow-state-connector.d.ts +5 -0
- package/domain/f-flow/calculate-flow-state/index.d.ts +9 -0
- package/domain/f-flow/calculate-flow-state/providers.d.ts +7 -0
- package/domain/f-flow/index.d.ts +1 -2
- package/domain/f-flow/providers.d.ts +1 -2
- package/domain/f-node/add-node-to-store/add-node-to-store.d.ts +1 -1
- package/domain/f-node/calculate-connectors-connectable-sides/calculate-connectable-side-by-connected-positions/calculate-connectable-side-by-connected-positions.d.ts +1 -1
- package/domain/f-node/calculate-connectors-connectable-sides/calculate-connectable-side-by-internal-position/calculate-connectable-side-by-internal-position.d.ts +1 -1
- package/domain/f-node/calculate-connectors-connectable-sides/constants/calculatable-sides.d.ts +1 -1
- package/domain/f-node/calculate-connectors-connectable-sides/models/t-calculate-mode.d.ts +1 -1
- package/domain/f-node/calculate-connectors-connectable-sides/utils/determine-side.d.ts +1 -1
- package/domain/f-node/calculate-connectors-connectable-sides/utils/is-calculate-mode.d.ts +1 -1
- package/domain/f-node/calculate-input-connections/calculate-input-connections.d.ts +1 -1
- package/domain/f-node/calculate-output-connections/calculate-output-connections.d.ts +1 -1
- package/domain/f-selection/calculate-selectable-items/calculate-selectable-items-request.d.ts +3 -0
- package/domain/f-selection/calculate-selectable-items/calculate-selectable-items.d.ts +28 -0
- package/domain/f-selection/calculate-selectable-items/index.d.ts +3 -0
- package/domain/f-selection/index.d.ts +1 -1
- package/domain/f-selection/providers.d.ts +4 -4
- package/domain/f-selection/select-all/index.d.ts +2 -2
- package/domain/f-selection/select-all/select-all.d.ts +14 -0
- package/domain/f-selection/select-and-update-node-layer/index.d.ts +2 -2
- package/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.d.ts +16 -0
- package/domain/f-zoom/index.d.ts +0 -3
- package/domain/f-zoom/providers.d.ts +3 -5
- package/domain/f-zoom/reset-zoom/index.d.ts +1 -1
- package/domain/f-zoom/reset-zoom/reset-zoom.d.ts +13 -0
- package/domain/f-zoom/set-zoom/index.d.ts +1 -1
- package/domain/f-zoom/set-zoom/set-zoom.d.ts +20 -0
- package/domain/get-normalized-element-rect/get-normalized-element-rect-request.d.ts +1 -1
- package/domain/index.d.ts +0 -2
- package/domain/providers.d.ts +2 -2
- package/domain/sort-item-layers/index.d.ts +2 -2
- package/domain/sort-item-layers/sort-item-layers.d.ts +18 -0
- package/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.execution.d.ts +1 -1
- package/domain/update-item-and-children-layers/index.d.ts +2 -2
- package/domain/update-item-and-children-layers/update-item-and-children-layers.d.ts +26 -0
- package/drag-toolkit/pointer-events/i-pointer-event.d.ts +6 -4
- package/esm2022/domain/css-cls.mjs +1 -4
- package/esm2022/domain/f-background/add-pattern-to-background/add-pattern-to-background-request.mjs +8 -0
- package/esm2022/domain/f-background/add-pattern-to-background/add-pattern-to-background.mjs +5 -5
- package/esm2022/domain/f-background/add-pattern-to-background/index.mjs +2 -2
- package/esm2022/domain/f-background/index.mjs +1 -3
- package/esm2022/domain/f-background/providers.mjs +3 -7
- package/esm2022/domain/f-background/set-background-transform/index.mjs +2 -2
- package/esm2022/domain/f-background/set-background-transform/set-background-transform.mjs +25 -0
- package/esm2022/domain/f-canvas/center-group-or-node/center-group-or-node.execution.mjs +14 -17
- package/esm2022/domain/f-canvas/fit-to-flow/fit-to-flow.execution.mjs +21 -17
- package/esm2022/domain/f-canvas/remove-canvas-from-store/remove-canvas-from-store.execution.mjs +2 -2
- package/esm2022/domain/f-canvas/reset-scale-and-center/reset-scale-and-center.execution.mjs +5 -4
- package/esm2022/domain/f-connection/add-connection-for-create-to-store/add-connection-for-create-to-store-request.mjs +4 -4
- package/esm2022/domain/f-connection/add-connection-for-create-to-store/add-connection-for-create-to-store.mjs +25 -0
- package/esm2022/domain/f-connection/add-connection-for-create-to-store/index.mjs +2 -2
- package/esm2022/domain/f-connection/add-connection-marker-to-store/add-connection-marker-to-store-request.mjs +4 -4
- package/esm2022/domain/f-connection/add-connection-marker-to-store/add-connection-marker-to-store.mjs +26 -0
- package/esm2022/domain/f-connection/add-connection-marker-to-store/index.mjs +2 -2
- package/esm2022/domain/f-connection/add-connection-to-store/add-connection-to-store-request.mjs +4 -4
- package/esm2022/domain/f-connection/add-connection-to-store/add-connection-to-store.mjs +26 -0
- package/esm2022/domain/f-connection/add-connection-to-store/index.mjs +2 -2
- package/esm2022/domain/f-connection/add-snap-connection-to-store/add-snap-connection-to-store-request.mjs +4 -4
- package/esm2022/domain/f-connection/add-snap-connection-to-store/add-snap-connection-to-store.mjs +25 -0
- package/esm2022/domain/f-connection/add-snap-connection-to-store/index.mjs +2 -2
- package/esm2022/domain/f-connection/create-connection-markers/create-connection-markers-request.mjs +4 -4
- package/esm2022/domain/f-connection/create-connection-markers/create-connection-markers.mjs +66 -0
- package/esm2022/domain/f-connection/create-connection-markers/index.mjs +2 -2
- package/esm2022/domain/f-connection/index.mjs +2 -2
- package/esm2022/domain/f-connection/providers.mjs +21 -21
- package/esm2022/domain/f-connection/redraw-connections/redraw-connections.mjs +26 -35
- package/esm2022/domain/f-connection/remove-connection-for-create-from-store/index.mjs +2 -2
- package/esm2022/domain/f-connection/remove-connection-for-create-from-store/remove-connection-for-create-from-store.mjs +25 -0
- package/esm2022/domain/f-connection/remove-connection-from-store/index.mjs +2 -2
- package/esm2022/domain/f-connection/remove-connection-from-store/remove-connection-from-store-request.mjs +4 -4
- package/esm2022/domain/f-connection/remove-connection-from-store/remove-connection-from-store.mjs +23 -0
- package/esm2022/domain/f-connection/remove-connection-marker-from-store/index.mjs +2 -2
- package/esm2022/domain/f-connection/remove-connection-marker-from-store/remove-connection-marker-from-store-request.mjs +4 -4
- package/esm2022/domain/f-connection/remove-connection-marker-from-store/remove-connection-marker-from-store.mjs +26 -0
- package/esm2022/domain/f-connection/remove-connection-waypoint/index.mjs +3 -0
- package/esm2022/domain/f-connection/remove-connection-waypoint/remove-connection-waypoint-request.mjs +10 -0
- package/esm2022/domain/f-connection/remove-connection-waypoint/remove-connection-waypoint.mjs +33 -0
- package/esm2022/domain/f-connection/remove-snap-connection-from-store/index.mjs +2 -2
- package/esm2022/domain/f-connection/remove-snap-connection-from-store/remove-snap-connection-from-store.mjs +25 -0
- package/esm2022/domain/f-connectors/add-connector-to-store/add-connector-to-store-request.mjs +8 -0
- package/esm2022/domain/f-connectors/add-connector-to-store/add-connector-to-store.mjs +49 -0
- package/esm2022/domain/f-connectors/add-connector-to-store/index.mjs +3 -0
- package/esm2022/domain/f-connectors/calculate-closest-connector/calculate-closest-connector-request.mjs +4 -4
- package/esm2022/domain/f-connectors/calculate-closest-connector/calculate-closest-connector.mjs +9 -11
- package/esm2022/domain/f-connectors/calculate-source-connectors-to-connect/calculate-source-connectors-to-connect-request.mjs +6 -6
- package/esm2022/domain/f-connectors/calculate-source-connectors-to-connect/calculate-source-connectors-to-connect.mjs +28 -26
- package/esm2022/domain/f-connectors/calculate-target-connectors-to-connect/calculate-target-connectors-to-connect-request.mjs +6 -6
- package/esm2022/domain/f-connectors/calculate-target-connectors-to-connect/calculate-target-connectors-to-connect.mjs +34 -33
- package/esm2022/domain/f-connectors/find-connectable-connector-using-priority-and-position/find-connectable-connector-using-priority-and-position.execution.mjs +12 -12
- package/esm2022/domain/f-connectors/find-connectable-connector-using-priority-and-position/find-connectable-connector-using-priority-and-position.request.mjs +1 -1
- package/esm2022/domain/f-connectors/get-connector-rect-reference/get-connector-rect-reference-request.mjs +8 -0
- package/esm2022/domain/f-connectors/get-connector-rect-reference/get-connector-rect-reference.mjs +31 -0
- package/esm2022/domain/f-connectors/get-connector-rect-reference/index.mjs +3 -0
- package/esm2022/domain/f-connectors/i-closest-connector-ref.mjs +2 -0
- package/esm2022/domain/f-connectors/i-connector-rect-ref.mjs +2 -0
- package/esm2022/domain/f-connectors/index.mjs +6 -10
- package/esm2022/domain/f-connectors/providers.mjs +7 -15
- package/esm2022/domain/f-connectors/remove-connector-from-store/index.mjs +3 -0
- package/esm2022/domain/f-connectors/remove-connector-from-store/remove-connector-from-store-request.mjs +8 -0
- package/esm2022/domain/f-connectors/remove-connector-from-store/remove-connector-from-store.mjs +49 -0
- package/esm2022/domain/f-draggable/add-dnd-to-store/add-dnd-to-store-request.mjs +1 -1
- package/esm2022/domain/f-draggable/index.mjs +1 -4
- package/esm2022/domain/f-draggable/on-pointer-move/on-pointer-move.execution.mjs +5 -5
- package/esm2022/domain/f-draggable/prepare-drag-sequence/prepare-drag-sequence-request.mjs +1 -1
- package/esm2022/domain/f-draggable/prepare-drag-sequence/prepare-drag-sequence.execution.mjs +5 -8
- package/esm2022/domain/f-draggable/providers.mjs +1 -7
- package/esm2022/domain/f-flow/calculate-flow-state/calculate-connections-state/calculate-connections-state-request.mjs +4 -0
- package/esm2022/domain/f-flow/calculate-flow-state/calculate-connections-state/calculate-connections-state.mjs +38 -0
- package/esm2022/domain/f-flow/calculate-flow-state/calculate-connections-state/index.mjs +3 -0
- package/esm2022/domain/f-flow/calculate-flow-state/calculate-flow-state-request.mjs +4 -0
- package/esm2022/domain/f-flow/calculate-flow-state/calculate-flow-state.mjs +45 -0
- package/esm2022/domain/f-flow/calculate-flow-state/calculate-nodes-state/calculate-nodes-state-request.mjs +8 -0
- package/esm2022/domain/f-flow/calculate-flow-state/calculate-nodes-state/calculate-nodes-state.mjs +61 -0
- package/esm2022/domain/f-flow/calculate-flow-state/calculate-nodes-state/index.mjs +3 -0
- package/esm2022/domain/f-flow/calculate-flow-state/i-f-flow-state-connection.mjs +2 -0
- package/esm2022/domain/f-flow/calculate-flow-state/i-f-flow-state-connector.mjs +2 -0
- package/esm2022/domain/f-flow/calculate-flow-state/i-f-flow-state-node.mjs +2 -0
- package/esm2022/domain/f-flow/calculate-flow-state/i-f-flow-state.mjs +2 -0
- package/esm2022/domain/f-flow/calculate-flow-state/index.mjs +10 -0
- package/esm2022/domain/f-flow/calculate-flow-state/providers.mjs +12 -0
- package/esm2022/domain/f-flow/index.mjs +2 -3
- package/esm2022/domain/f-flow/providers.mjs +2 -4
- package/esm2022/domain/f-node/add-node-to-store/add-node-to-store.mjs +4 -3
- package/esm2022/domain/f-node/calculate-connectors-connectable-sides/calculate-connectable-side-by-connected-positions/calculate-connectable-side-by-connected-positions.mjs +1 -1
- package/esm2022/domain/f-node/calculate-connectors-connectable-sides/calculate-connectable-side-by-internal-position/calculate-connectable-side-by-internal-position.mjs +2 -2
- package/esm2022/domain/f-node/calculate-connectors-connectable-sides/calculate-connectors-connectable-sides.mjs +2 -2
- package/esm2022/domain/f-node/calculate-connectors-connectable-sides/constants/calculatable-sides.mjs +2 -2
- package/esm2022/domain/f-node/calculate-connectors-connectable-sides/models/t-calculate-mode.mjs +1 -1
- package/esm2022/domain/f-node/calculate-connectors-connectable-sides/utils/determine-side.mjs +2 -2
- package/esm2022/domain/f-node/calculate-connectors-connectable-sides/utils/is-calculate-mode.mjs +2 -2
- package/esm2022/domain/f-node/calculate-input-connections/calculate-input-connections.mjs +5 -3
- package/esm2022/domain/f-node/calculate-nodes-bounding-box/calculate-nodes-bounding-box.mjs +2 -2
- package/esm2022/domain/f-node/calculate-nodes-bounding-box-normalized-position/calculate-nodes-bounding-box-normalized-position.mjs +2 -2
- package/esm2022/domain/f-node/calculate-output-connections/calculate-output-connections.mjs +5 -3
- package/esm2022/domain/f-node/fit-to-child-nodes-and-groups/fit-to-child-nodes-and-groups.mjs +9 -8
- package/esm2022/domain/f-node/get-child-node-ids/get-child-node-ids.mjs +5 -3
- package/esm2022/domain/f-node/get-parent-nodes/get-parent-nodes.mjs +2 -2
- package/esm2022/domain/f-node/remove-node-from-store/remove-node-from-store.mjs +3 -2
- package/esm2022/domain/f-node/update-node-when-state-or-size-changed/update-node-when-state-or-size-changed.mjs +3 -3
- package/esm2022/domain/f-selection/calculate-selectable-items/calculate-selectable-items-request.mjs +4 -0
- package/esm2022/domain/f-selection/calculate-selectable-items/calculate-selectable-items.mjs +70 -0
- package/esm2022/domain/f-selection/calculate-selectable-items/i-can-be-selected-element-and-rect.mjs +2 -0
- package/esm2022/domain/f-selection/calculate-selectable-items/index.mjs +4 -0
- package/esm2022/domain/f-selection/clear-selection/clear-selection.request.mjs +1 -1
- package/esm2022/domain/f-selection/index.mjs +2 -2
- package/esm2022/domain/f-selection/providers.mjs +7 -7
- package/esm2022/domain/f-selection/select/select.execution.mjs +3 -3
- package/esm2022/domain/f-selection/select-all/index.mjs +3 -3
- package/esm2022/domain/f-selection/select-all/select-all-request.mjs +4 -0
- package/esm2022/domain/f-selection/select-all/select-all.mjs +40 -0
- package/esm2022/domain/f-selection/select-and-update-node-layer/index.mjs +3 -3
- package/esm2022/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer-request.mjs +8 -0
- package/esm2022/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.mjs +41 -0
- package/esm2022/domain/f-zoom/index.mjs +1 -4
- package/esm2022/domain/f-zoom/providers.mjs +4 -11
- package/esm2022/domain/f-zoom/reset-zoom/index.mjs +2 -2
- package/esm2022/domain/f-zoom/reset-zoom/reset-zoom.mjs +30 -0
- package/esm2022/domain/f-zoom/set-zoom/index.mjs +2 -2
- package/esm2022/domain/f-zoom/set-zoom/set-zoom.mjs +53 -0
- package/esm2022/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.execution.mjs +2 -2
- package/esm2022/domain/get-normalized-element-rect/get-normalized-element-rect-request.mjs +1 -1
- package/esm2022/domain/index.mjs +1 -3
- package/esm2022/domain/providers.mjs +5 -7
- package/esm2022/domain/sort-item-layers/index.mjs +3 -3
- package/esm2022/domain/sort-item-layers/sort-item-layers-request.mjs +4 -0
- package/esm2022/domain/sort-item-layers/sort-item-layers.mjs +40 -0
- package/esm2022/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.execution.mjs +6 -5
- package/esm2022/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.execution.mjs +8 -8
- package/esm2022/domain/update-item-and-children-layers/index.mjs +3 -3
- package/esm2022/domain/update-item-and-children-layers/update-item-and-children-layers-request.mjs +10 -0
- package/esm2022/domain/update-item-and-children-layers/update-item-and-children-layers.mjs +102 -0
- package/esm2022/drag-toolkit/pointer-events/i-pointer-event.mjs +15 -10
- package/esm2022/f-backgroud/f-background-base.mjs +3 -2
- package/esm2022/f-backgroud/f-background.component.mjs +10 -13
- package/esm2022/f-backgroud/f-rect-pattern/f-rect-pattern.component.mjs +11 -13
- package/esm2022/f-canvas/domain/f-canvas-change-event.mjs +9 -0
- package/esm2022/f-canvas/domain/index.mjs +2 -2
- package/esm2022/f-canvas/f-canvas-base.mjs +7 -5
- package/esm2022/f-canvas/f-canvas.component.mjs +26 -36
- package/esm2022/f-connection/f-connection/f-connection.component.mjs +10 -24
- package/esm2022/f-connection/f-connection-for-create/f-connection-for-create.component.mjs +13 -18
- package/esm2022/f-connection/f-snap-connection/f-snap-connection.component.mjs +9 -15
- package/esm2022/f-connection/index.mjs +2 -7
- package/esm2022/f-connection/providers.mjs +9 -13
- package/esm2022/f-connection-v2/components/connection-content/f-connection-content.mjs +76 -0
- package/esm2022/f-connection-v2/components/connection-content/index.mjs +4 -0
- package/esm2022/f-connection-v2/components/connection-content/models/f-connection-content-base.mjs +10 -0
- package/esm2022/f-connection-v2/components/connection-content/models/index.mjs +2 -0
- package/esm2022/f-connection-v2/components/connection-content/utils/i-polyline-content.mjs +2 -0
- package/esm2022/f-connection-v2/components/connection-content/utils/index.mjs +6 -0
- package/esm2022/f-connection-v2/components/connection-content/utils/polyline-content-align.mjs +6 -0
- package/esm2022/f-connection-v2/components/connection-content/utils/polyline-content-layout-engine.mjs +25 -0
- package/esm2022/f-connection-v2/components/connection-content/utils/polyline-content-place.mjs +66 -0
- package/esm2022/f-connection-v2/components/connection-content/utils/polyline-sampler/i-sampler-result.mjs +2 -0
- package/esm2022/f-connection-v2/components/connection-content/utils/polyline-sampler/i-tangent.mjs +2 -0
- package/esm2022/f-connection-v2/components/connection-content/utils/polyline-sampler/index.mjs +5 -0
- package/esm2022/f-connection-v2/components/connection-content/utils/polyline-sampler/polyline-sampler.mjs +143 -0
- package/esm2022/f-connection-v2/components/connection-content/utils/polyline-sampler/polyline.mjs +71 -0
- package/esm2022/f-connection-v2/components/connection-drag-handles/f-connection-drag-handle-end.mjs +35 -0
- package/esm2022/f-connection-v2/components/connection-drag-handles/f-connection-drag-handle-start.mjs +35 -0
- package/esm2022/f-connection-v2/components/connection-drag-handles/index.mjs +4 -0
- package/esm2022/f-connection-v2/components/connection-drag-handles/models/f-connection-drag-handle-base.mjs +17 -0
- package/esm2022/f-connection-v2/components/connection-drag-handles/models/index.mjs +2 -0
- package/esm2022/f-connection-v2/components/connection-gradient/f-connection-gradient.mjs +54 -0
- package/esm2022/f-connection-v2/components/connection-gradient/index.mjs +3 -0
- package/esm2022/f-connection-v2/components/connection-gradient/models/f-connection-gradient-base.mjs +6 -0
- package/esm2022/f-connection-v2/components/connection-gradient/models/index.mjs +2 -0
- package/esm2022/f-connection-v2/components/connection-marker/enums/e-f-marker-type.mjs +8 -0
- package/esm2022/f-connection-v2/components/connection-marker/enums/index.mjs +2 -0
- package/esm2022/f-connection-v2/components/connection-marker/f-connection-marker.mjs +50 -0
- package/esm2022/f-connection-v2/components/connection-marker/index.mjs +4 -0
- package/esm2022/f-connection-v2/components/connection-marker/models/f-connection-marker-base.mjs +8 -0
- package/esm2022/f-connection-v2/components/connection-marker/models/index.mjs +2 -0
- package/esm2022/f-connection-v2/components/connection-path/f-connection-path.mjs +66 -0
- package/esm2022/f-connection-v2/components/connection-path/index.mjs +3 -0
- package/esm2022/f-connection-v2/components/connection-path/models/f-connection-path-base.mjs +6 -0
- package/esm2022/f-connection-v2/components/connection-path/models/index.mjs +2 -0
- package/esm2022/f-connection-v2/components/connection-selection/f-connection-selection.mjs +34 -0
- package/esm2022/f-connection-v2/components/connection-selection/index.mjs +3 -0
- package/esm2022/f-connection-v2/components/connection-selection/models/f-connection-selection-base.mjs +6 -0
- package/esm2022/f-connection-v2/components/connection-selection/models/index.mjs +2 -0
- package/esm2022/f-connection-v2/components/connection-waypoints/f-connection-waypoints.mjs +50 -0
- package/esm2022/f-connection-v2/components/connection-waypoints/index.mjs +4 -0
- package/esm2022/f-connection-v2/components/connection-waypoints/models/f-connection-waypoints-base.mjs +27 -0
- package/esm2022/f-connection-v2/components/connection-waypoints/models/index.mjs +2 -0
- package/esm2022/f-connection-v2/components/connection-waypoints/utils/find-existing-waypoint.mjs +7 -0
- package/esm2022/f-connection-v2/components/connection-waypoints/utils/find-waypoint-candidate.mjs +7 -0
- package/esm2022/f-connection-v2/components/connection-waypoints/utils/index.mjs +5 -0
- package/esm2022/f-connection-v2/components/connection-waypoints/utils/is-pointer-inside-point.mjs +4 -0
- package/esm2022/f-connection-v2/components/connection-waypoints/utils/pick-waypoint.mjs +16 -0
- package/esm2022/f-connection-v2/components/f-connection-base.mjs +112 -0
- package/esm2022/f-connection-v2/components/index.mjs +9 -0
- package/esm2022/f-connection-v2/enums/e-f-connectable-side.mjs +12 -0
- package/esm2022/f-connection-v2/enums/e-f-connection-type.mjs +8 -0
- package/esm2022/f-connection-v2/enums/index.mjs +3 -0
- package/esm2022/f-connection-v2/index.mjs +5 -0
- package/esm2022/f-connection-v2/models/f-connection-components-parent.mjs +5 -0
- package/esm2022/f-connection-v2/models/index.mjs +2 -0
- package/esm2022/f-connection-v2/utils/connection-behaviour/connection-behaviour-builder-request.mjs +15 -0
- package/esm2022/f-connection-v2/utils/connection-behaviour/connection-behaviour-builder.mjs +136 -0
- package/esm2022/f-connection-v2/utils/connection-behaviour/enums/e-f-connection-behavior.mjs +7 -0
- package/esm2022/f-connection-v2/utils/connection-behaviour/enums/e-f-connection-connectable-side.mjs +12 -0
- package/esm2022/f-connection-v2/utils/connection-behaviour/enums/index.mjs +3 -0
- package/esm2022/f-connection-v2/utils/connection-behaviour/index.mjs +6 -0
- package/esm2022/f-connection-v2/utils/connection-behaviour/models/i-calculate-behavior-request.mjs +2 -0
- package/esm2022/f-connection-v2/utils/connection-behaviour/models/index.mjs +2 -0
- package/esm2022/f-connection-v2/utils/connection-behaviour/utils/fixed-center-behavior.mjs +12 -0
- package/esm2022/f-connection-v2/utils/connection-behaviour/utils/fixed-outbound-behavior.mjs +31 -0
- package/esm2022/f-connection-v2/utils/connection-behaviour/utils/floating-behavior.mjs +22 -0
- package/esm2022/f-connection-v2/utils/connection-behaviour/utils/index.mjs +4 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/adaptive-curve/calculate-adaptive-curve-data.mjs +74 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/adaptive-curve/index.mjs +2 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/bezier-curve/calculate-bezier-curve-data.mjs +49 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/bezier-curve/index.mjs +2 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/index.mjs +6 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/segment-line/build-corner-mid-points-and-apply-offsets.mjs +50 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/segment-line/calculate-segment-line-data.mjs +106 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/segment-line/create-segment-line-path.mjs +46 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/segment-line/index.mjs +4 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/straight-line/calculate-straight-line-data.mjs +28 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/straight-line/index.mjs +2 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/utils/build-connection-anchors.mjs +4 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/utils/calculate-center-between-points.mjs +8 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/utils/calculate-curve-candidates.mjs +7 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/utils/calculate-polyline-candidates.mjs +39 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/utils/index.mjs +9 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/utils/merge-point-chains.mjs +12 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/utils/multi-cubic.mjs +28 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/utils/normalize-polyline.mjs +30 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/utils/sample-cubic-bezier-uniform.mjs +37 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/connection-line-builder-request.mjs +9 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/connection-line-builder.mjs +50 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/index.mjs +6 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/models/i-f-connection-builder-request.mjs +2 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/models/i-f-connection-builder-response.mjs +2 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/models/i-f-connection-builder.mjs +2 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/models/index.mjs +4 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/providers/f-connection-builders.mjs +3 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/providers/index.mjs +2 -0
- package/esm2022/f-connection-v2/utils/create-connection-dom-identifier.mjs +5 -0
- package/esm2022/f-connection-v2/utils/create-connection-selection-dom-identifier.mjs +5 -0
- package/esm2022/f-connection-v2/utils/create-gradient-dom-identifier.mjs +5 -0
- package/esm2022/f-connection-v2/utils/create-gradient-dom-url.mjs +5 -0
- package/esm2022/f-connection-v2/utils/index.mjs +7 -0
- package/esm2022/f-connectors/f-connector-base.mjs +2 -2
- package/esm2022/f-connectors/f-node-input/f-node-input-base.mjs +2 -1
- package/esm2022/f-connectors/f-node-input/f-node-input.directive.mjs +5 -5
- package/esm2022/f-connectors/f-node-outlet/f-node-outlet-base.mjs +2 -1
- package/esm2022/f-connectors/f-node-outlet/f-node-outlet.directive.mjs +5 -5
- package/esm2022/f-connectors/f-node-output/f-node-output-base.mjs +2 -1
- package/esm2022/f-connectors/f-node-output/f-node-output.directive.mjs +6 -6
- package/esm2022/f-connectors/f-source-connector-base.mjs +8 -1
- package/esm2022/f-connectors/index.mjs +1 -2
- package/esm2022/f-draggable/connection/create-connection/create-connection-finalize/create-connection-finalize-request.mjs +8 -0
- package/esm2022/f-draggable/connection/create-connection/create-connection-finalize/create-connection-finalize.mjs +62 -0
- package/esm2022/f-draggable/connection/create-connection/create-connection-finalize/index.mjs +3 -0
- package/esm2022/f-draggable/connection/create-connection/create-connection-handler/create-connection-handler.mjs +105 -0
- package/esm2022/f-draggable/connection/create-connection/create-connection-handler/index.mjs +2 -0
- package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/create-connection-preparation-request.mjs +10 -0
- package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/create-connection-preparation.mjs +55 -0
- package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/create-drag-handler/create-connection-create-drag-handler-request.mjs +10 -0
- package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/create-drag-handler/create-connection-create-drag-handler.mjs +62 -0
- package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/create-drag-handler/index.mjs +3 -0
- package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/from-outlet-preparation/create-connection-from-outlet-preparation-request.mjs +10 -0
- package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/from-outlet-preparation/create-connection-from-outlet-preparation.mjs +49 -0
- package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/from-outlet-preparation/index.mjs +3 -0
- package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/from-output-preparation/create-connection-from-output-preparation-request.mjs +10 -0
- package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/from-output-preparation/create-connection-from-output-preparation.mjs +41 -0
- package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/from-output-preparation/index.mjs +3 -0
- package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/index.mjs +6 -0
- package/esm2022/f-draggable/connection/create-connection/f-create-connection-event.mjs +31 -0
- package/esm2022/f-draggable/connection/create-connection/i-create-connection-drag-result.mjs +2 -0
- package/esm2022/f-draggable/connection/create-connection/i-create-connection-event-data.mjs +2 -0
- package/esm2022/f-draggable/connection/create-connection/index.mjs +8 -0
- package/esm2022/f-draggable/connection/create-connection/resolve-connectable-output-for-outlet/index.mjs +3 -0
- package/esm2022/f-draggable/connection/create-connection/resolve-connectable-output-for-outlet/resolve-connectable-output-for-outlet-request.mjs +8 -0
- package/esm2022/f-draggable/connection/create-connection/resolve-connectable-output-for-outlet/resolve-connectable-output-for-outlet.mjs +39 -0
- package/esm2022/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-finalize/drag-connection-waypoint-finalize-request.mjs +8 -0
- package/esm2022/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-finalize/drag-connection-waypoint-finalize.mjs +32 -0
- package/esm2022/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-finalize/index.mjs +3 -0
- package/esm2022/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-handler/drag-connection-waypoint-handler.mjs +54 -0
- package/esm2022/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-handler/index.mjs +2 -0
- package/esm2022/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-preparation/drag-connection-waypoint-preparation-request.mjs +10 -0
- package/esm2022/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-preparation/drag-connection-waypoint-preparation.mjs +67 -0
- package/esm2022/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-preparation/index.mjs +3 -0
- package/esm2022/f-draggable/connection/drag-connection-waypoint/f-connection-waypoints-changed-event.mjs +9 -0
- package/esm2022/f-draggable/connection/drag-connection-waypoint/index.mjs +5 -0
- package/esm2022/f-draggable/connection/index.mjs +5 -0
- package/esm2022/f-draggable/connection/providers.mjs +16 -0
- package/esm2022/f-draggable/connection/reassign-connection/f-reassign-connection-event.mjs +51 -0
- package/esm2022/f-draggable/connection/reassign-connection/i-reassign-connection-drag-result.mjs +2 -0
- package/esm2022/f-draggable/connection/reassign-connection/i-reassign-connection-event-data.mjs +2 -0
- package/esm2022/f-draggable/connection/reassign-connection/index.mjs +7 -0
- package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-finalize/index.mjs +3 -0
- package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-finalize/reassign-connection-finalize-request.mjs +8 -0
- package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.mjs +63 -0
- package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-handler/i-reassign-handler.mjs +10 -0
- package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-handler/index.mjs +5 -0
- package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-handler/reassign-connection-handler.mjs +66 -0
- package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-handler/reassign-connection-source-handler.mjs +86 -0
- package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-handler/reassign-connection-target-handler.mjs +87 -0
- package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-preparation/index.mjs +4 -0
- package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-preparation/is-pointer-inside-start-or-end-drag-handles.mjs +18 -0
- package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-preparation/reassign-connection-preparation-request.mjs +10 -0
- package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.mjs +71 -0
- package/esm2022/f-draggable/domain/detect-connections-under-drag-node/detect-connections-under-drag-node-request.mjs +8 -0
- package/esm2022/f-draggable/domain/detect-connections-under-drag-node/detect-connections-under-drag-node.mjs +77 -0
- package/esm2022/f-draggable/domain/detect-connections-under-drag-node/f-node-intersected-with-connections-event.mjs +32 -0
- package/esm2022/f-draggable/domain/detect-connections-under-drag-node/index.mjs +4 -0
- package/esm2022/f-draggable/domain/emit-end-drag-sequence-event/emit-end-drag-sequence-event-request.mjs +4 -0
- package/esm2022/f-draggable/domain/emit-end-drag-sequence-event/emit-end-drag-sequence-event.mjs +33 -0
- package/esm2022/f-draggable/domain/emit-end-drag-sequence-event/index.mjs +3 -0
- package/esm2022/f-draggable/domain/emit-selection-change-event/emit-selection-change-event-request.mjs +4 -0
- package/esm2022/f-draggable/domain/emit-selection-change-event/emit-selection-change-event.mjs +42 -0
- package/esm2022/f-draggable/domain/emit-selection-change-event/index.mjs +3 -0
- package/esm2022/f-draggable/domain/emit-start-drag-sequence-event/emit-start-drag-sequence-event-request.mjs +4 -0
- package/esm2022/f-draggable/domain/emit-start-drag-sequence-event/emit-start-drag-sequence-event.mjs +37 -0
- package/esm2022/f-draggable/domain/emit-start-drag-sequence-event/index.mjs +3 -0
- package/esm2022/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.execution.mjs +2 -2
- package/esm2022/f-draggable/domain/index.mjs +5 -3
- package/esm2022/f-draggable/domain/providers.mjs +9 -3
- package/esm2022/f-draggable/drag-canvas/drag-canvas-finalize/drag-canvas-finalize-request.mjs +8 -0
- package/esm2022/f-draggable/drag-canvas/drag-canvas-finalize/drag-canvas-finalize.mjs +29 -0
- package/esm2022/f-draggable/drag-canvas/drag-canvas-finalize/index.mjs +3 -0
- package/esm2022/f-draggable/drag-canvas/drag-canvas-handler/drag-canvas-handler.mjs +32 -0
- package/esm2022/f-draggable/drag-canvas/drag-canvas-handler/index.mjs +2 -0
- package/esm2022/f-draggable/drag-canvas/drag-canvas-preparation/drag-canvas-preparation-request.mjs +10 -0
- package/esm2022/f-draggable/drag-canvas/drag-canvas-preparation/drag-canvas-preparation.mjs +54 -0
- package/esm2022/f-draggable/drag-canvas/drag-canvas-preparation/index.mjs +3 -0
- package/esm2022/f-draggable/drag-canvas/index.mjs +5 -0
- package/esm2022/f-draggable/drag-canvas/providers.mjs +4 -0
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-drag-node-handler-from-selection-request.mjs +8 -0
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-drag-node-handler-from-selection.mjs +84 -0
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-source-connection-drag-handlers-to-node/attach-source-connection-drag-handlers-to-node-request.mjs +23 -0
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-source-connection-drag-handlers-to-node/attach-source-connection-drag-handlers-to-node.mjs +62 -0
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-source-connection-drag-handlers-to-node/index.mjs +3 -0
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-target-connection-drag-handlers-to-node/attach-target-connection-drag-handlers-to-node-request.mjs +23 -0
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-target-connection-drag-handlers-to-node/attach-target-connection-drag-handlers-to-node.mjs +62 -0
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-target-connection-drag-handlers-to-node/index.mjs +3 -0
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/build-drag-node-constraints/build-drag-node-constraints-request.mjs +8 -0
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/build-drag-node-constraints/build-drag-node-constraints.mjs +72 -0
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/build-drag-node-constraints/index.mjs +3 -0
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-handler/create-drag-node-handler-request.mjs +14 -0
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-handler/create-drag-node-handler.mjs +36 -0
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-handler/index.mjs +3 -0
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-hierarchy/create-drag-node-hierarchy-request.mjs +9 -0
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-hierarchy/create-drag-node-hierarchy.mjs +50 -0
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-hierarchy/drag-node-hierarchy.mjs +9 -0
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-hierarchy/index.mjs +4 -0
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/index.mjs +10 -0
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/providers.mjs +17 -0
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/read-node-bounds-with-paddings/index.mjs +4 -0
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/read-node-bounds-with-paddings/read-node-bounds-with-paddings-request.mjs +10 -0
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/read-node-bounds-with-paddings/read-node-bounds-with-paddings-response.mjs +13 -0
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/read-node-bounds-with-paddings/read-node-bounds-with-paddings.mjs +39 -0
- package/esm2022/f-draggable/drag-node/drag-node-constraint/delta-clamp.mjs +36 -0
- package/esm2022/f-draggable/drag-node/drag-node-constraint/drag-node-delta-constraints.mjs +42 -0
- package/esm2022/f-draggable/drag-node/drag-node-constraint/expand-rect-by-overflow.mjs +20 -0
- package/esm2022/f-draggable/drag-node/drag-node-constraint/grid-snapper.mjs +33 -0
- package/esm2022/f-draggable/drag-node/drag-node-constraint/i-drag-node-delta-constraints-result.mjs +2 -0
- package/esm2022/f-draggable/drag-node/drag-node-constraint/i-drag-node-delta-constraints.mjs +2 -0
- package/esm2022/f-draggable/drag-node/drag-node-constraint/index.mjs +7 -0
- package/esm2022/f-draggable/drag-node/drag-node-dependent-connection-handlers/drag-node-connection-both-sides-handler.mjs +31 -0
- package/esm2022/f-draggable/drag-node/drag-node-dependent-connection-handlers/drag-node-connection-handler-base.mjs +45 -0
- package/esm2022/f-draggable/drag-node/drag-node-dependent-connection-handlers/drag-node-connection-source-handler.mjs +15 -0
- package/esm2022/f-draggable/drag-node/drag-node-dependent-connection-handlers/drag-node-connection-target-handler.mjs +15 -0
- package/esm2022/f-draggable/drag-node/drag-node-dependent-connection-handlers/index.mjs +5 -0
- package/esm2022/f-draggable/drag-node/drag-node-finalize/drag-node-finalize-request.mjs +8 -0
- package/esm2022/f-draggable/drag-node/drag-node-finalize/drag-node-finalize.mjs +104 -0
- package/esm2022/f-draggable/drag-node/drag-node-finalize/index.mjs +3 -0
- package/esm2022/f-draggable/drag-node/drag-node-handler/drag-node-handler.mjs +92 -0
- package/esm2022/f-draggable/drag-node/drag-node-handler/drag-node-item-handler.mjs +125 -0
- package/esm2022/f-draggable/drag-node/drag-node-handler/index.mjs +3 -0
- package/esm2022/f-draggable/drag-node/drag-node-preparation/drag-node-preparation-request.mjs +10 -0
- package/esm2022/f-draggable/drag-node/drag-node-preparation/drag-node-preparation.mjs +76 -0
- package/esm2022/f-draggable/drag-node/drag-node-preparation/index.mjs +3 -0
- package/esm2022/f-draggable/drag-node/f-drag-node-start-event-data.mjs +7 -0
- package/esm2022/f-draggable/drag-node/f-move-nodes-event.mjs +16 -0
- package/esm2022/f-draggable/drag-node/index.mjs +12 -0
- package/esm2022/f-draggable/drag-node/magnetic-lines/domain/calculate-magnetic-guides.mjs +59 -0
- package/esm2022/f-draggable/drag-node/magnetic-lines/domain/i-magnetic-axis-guide.mjs +2 -0
- package/esm2022/f-draggable/drag-node/magnetic-lines/domain/i-magnetic-guides-result.mjs +2 -0
- package/esm2022/f-draggable/drag-node/magnetic-lines/domain/index.mjs +6 -0
- package/esm2022/f-draggable/drag-node/magnetic-lines/domain/magnetic-line-element.mjs +34 -0
- package/esm2022/f-draggable/drag-node/magnetic-lines/domain/magnetic-line-renderer.mjs +44 -0
- package/esm2022/f-draggable/drag-node/magnetic-lines/index.mjs +4 -0
- package/esm2022/f-draggable/drag-node/magnetic-lines/magnetic-lines-handler/index.mjs +2 -0
- package/esm2022/f-draggable/drag-node/magnetic-lines/magnetic-lines-handler/magnetic-lines-handler.mjs +55 -0
- package/esm2022/f-draggable/drag-node/magnetic-lines/magnetic-lines-preparation/index.mjs +3 -0
- package/esm2022/f-draggable/drag-node/magnetic-lines/magnetic-lines-preparation/magnetic-lines-preparation-request.mjs +4 -0
- package/esm2022/f-draggable/drag-node/magnetic-lines/magnetic-lines-preparation/magnetic-lines-preparation.mjs +54 -0
- package/esm2022/f-draggable/drag-node/magnetic-rects/domain/calculate-magnetic-rects.mjs +374 -0
- package/esm2022/f-draggable/drag-node/magnetic-rects/domain/i-magnetic-gap-rect.mjs +2 -0
- package/esm2022/f-draggable/drag-node/magnetic-rects/domain/i-magnetic-rects-result.mjs +2 -0
- package/esm2022/f-draggable/drag-node/magnetic-rects/domain/index.mjs +6 -0
- package/esm2022/f-draggable/drag-node/magnetic-rects/domain/magnetic-rect-element.mjs +66 -0
- package/esm2022/f-draggable/drag-node/magnetic-rects/domain/magnetic-rects-renderer.mjs +50 -0
- package/esm2022/f-draggable/drag-node/magnetic-rects/index.mjs +4 -0
- package/esm2022/f-draggable/drag-node/magnetic-rects/magnetic-rects-handler/index.mjs +2 -0
- package/esm2022/f-draggable/drag-node/magnetic-rects/magnetic-rects-handler/magnetic-rects-handler.mjs +43 -0
- package/esm2022/f-draggable/drag-node/magnetic-rects/magnetic-rects-preparation/index.mjs +3 -0
- package/esm2022/f-draggable/drag-node/magnetic-rects/magnetic-rects-preparation/magnetic-rects-preparation-request.mjs +4 -0
- package/esm2022/f-draggable/drag-node/magnetic-rects/magnetic-rects-preparation/magnetic-rects-preparation.mjs +54 -0
- package/esm2022/f-draggable/drag-node/providers.mjs +13 -0
- package/esm2022/f-draggable/drop-to-group/drop-to-group-finalize/drop-to-group-finalize-request.mjs +8 -0
- package/esm2022/f-draggable/drop-to-group/drop-to-group-finalize/drop-to-group-finalize.mjs +65 -0
- package/esm2022/f-draggable/drop-to-group/drop-to-group-finalize/index.mjs +3 -0
- package/esm2022/f-draggable/drop-to-group/drop-to-group-handler/drop-to-group-handler.mjs +86 -0
- package/esm2022/f-draggable/drop-to-group/drop-to-group-handler/index.mjs +2 -0
- package/esm2022/f-draggable/drop-to-group/drop-to-group-preparation/drop-to-group-preparation-request.mjs +8 -0
- package/esm2022/f-draggable/drop-to-group/drop-to-group-preparation/drop-to-group-preparation.mjs +102 -0
- package/esm2022/f-draggable/drop-to-group/drop-to-group-preparation/index.mjs +3 -0
- package/esm2022/f-draggable/drop-to-group/f-drop-to-group-event.mjs +24 -0
- package/esm2022/f-draggable/drop-to-group/index.mjs +7 -0
- package/esm2022/f-draggable/drop-to-group/providers.mjs +9 -0
- package/esm2022/f-draggable/drop-to-group/sort-drop-candidates-by-layer/index.mjs +3 -0
- package/esm2022/f-draggable/drop-to-group/sort-drop-candidates-by-layer/sort-drop-candidates-by-layer-request.mjs +8 -0
- package/esm2022/f-draggable/drop-to-group/sort-drop-candidates-by-layer/sort-drop-candidates-by-layer.mjs +57 -0
- package/esm2022/f-draggable/f-drag-started-event.mjs +23 -0
- package/esm2022/f-draggable/f-draggable-base.mjs +2 -2
- package/esm2022/f-draggable/f-draggable-data-context.mjs +9 -1
- package/esm2022/f-draggable/f-draggable.directive.mjs +39 -71
- package/esm2022/f-draggable/f-node-resize/calculate-direct-children-union-rect/calculate-direct-children-union-rect.mjs +4 -5
- package/esm2022/f-draggable/f-node-resize/calculate-resize-limits/calculate-resize-limits.mjs +3 -3
- package/esm2022/f-draggable/f-node-resize/i-node-resize-event-data.mjs +2 -0
- package/esm2022/f-draggable/f-node-resize/index.mjs +2 -1
- package/esm2022/f-draggable/f-node-resize/node-resize.drag-handler.mjs +9 -7
- package/esm2022/f-draggable/f-node-resize/resize-preparation/node-resize-preparation.mjs +9 -11
- package/esm2022/f-draggable/f-node-rotate/f-node-rotate.drag-handler.mjs +17 -13
- package/esm2022/f-draggable/f-node-rotate/i-node-rotate-event-data.mjs +2 -0
- package/esm2022/f-draggable/f-node-rotate/index.mjs +2 -1
- package/esm2022/f-draggable/f-node-rotate/rotate-preparation/f-node-rotate-preparation.execution.mjs +19 -21
- package/esm2022/f-draggable/f-selection-change-event.mjs +20 -8
- package/esm2022/f-draggable/index.mjs +10 -7
- package/esm2022/f-draggable/infrastructure/drag-handler-base.mjs +34 -0
- package/esm2022/f-draggable/infrastructure/drag-handler-injector.mjs +98 -0
- package/esm2022/f-draggable/infrastructure/f-drag-handler-result.mjs +20 -0
- package/esm2022/f-draggable/infrastructure/i-drag-session-feature.mjs +2 -0
- package/esm2022/f-draggable/infrastructure/index.mjs +5 -0
- package/esm2022/f-draggable/pinch-to-zoom/finalize/index.mjs +3 -0
- package/esm2022/f-draggable/pinch-to-zoom/finalize/pinch-to-zoom-finalize-request.mjs +8 -0
- package/esm2022/f-draggable/pinch-to-zoom/finalize/pinch-to-zoom-finalize.mjs +31 -0
- package/esm2022/f-draggable/pinch-to-zoom/handler/index.mjs +2 -0
- package/esm2022/f-draggable/pinch-to-zoom/handler/pinch-to-zoom-handler.mjs +88 -0
- package/esm2022/f-draggable/pinch-to-zoom/index.mjs +5 -0
- package/esm2022/f-draggable/pinch-to-zoom/preparation/index.mjs +3 -0
- package/esm2022/f-draggable/pinch-to-zoom/preparation/pinch-to-zoom-preparation-request.mjs +8 -0
- package/esm2022/f-draggable/pinch-to-zoom/preparation/pinch-to-zoom-preparation.mjs +47 -0
- package/esm2022/f-draggable/pinch-to-zoom/providers.mjs +4 -0
- package/esm2022/f-draggable/providers.mjs +14 -12
- package/esm2022/f-draggable/select-by-pointer/index.mjs +4 -0
- package/esm2022/f-draggable/select-by-pointer/providers.mjs +3 -0
- package/esm2022/f-draggable/select-by-pointer/select-by-pointer-request.mjs +10 -0
- package/esm2022/f-draggable/select-by-pointer/select-by-pointer.mjs +128 -0
- package/esm2022/f-draggable/selection-area/index.mjs +5 -0
- package/esm2022/f-draggable/selection-area/providers.mjs +4 -0
- package/esm2022/f-draggable/selection-area/selection-area-finalize/index.mjs +3 -0
- package/esm2022/f-draggable/selection-area/selection-area-finalize/selection-area-finalize-request.mjs +8 -0
- package/esm2022/f-draggable/selection-area/selection-area-finalize/selection-area-finalize.mjs +30 -0
- package/esm2022/f-draggable/selection-area/selection-area-handler/index.mjs +2 -0
- package/esm2022/f-draggable/selection-area/selection-area-handler/selection-area-handler.mjs +79 -0
- package/esm2022/f-draggable/selection-area/selection-area-preparation/index.mjs +3 -0
- package/esm2022/f-draggable/selection-area/selection-area-preparation/selection-area-preparation-request.mjs +8 -0
- package/esm2022/f-draggable/selection-area/selection-area-preparation/selection-area-preparation.mjs +40 -0
- package/esm2022/f-external-item/domain/f-external-item.drag-handler.mjs +13 -11
- package/esm2022/f-external-item/domain/finalize/f-external-item-finalize.execution.mjs +9 -12
- package/esm2022/f-flow/f-flow.component.mjs +41 -28
- package/esm2022/f-flow.module.mjs +48 -39
- package/esm2022/f-line-alignment/f-line-alignment.component.mjs +19 -20
- package/esm2022/f-line-alignment/index.mjs +1 -3
- package/esm2022/f-magnetic-lines/f-magnetic-lines-base.mjs +12 -0
- package/esm2022/f-magnetic-lines/f-magnetic-lines.mjs +24 -0
- package/esm2022/f-magnetic-lines/index.mjs +4 -0
- package/esm2022/f-magnetic-lines/providers.mjs +3 -0
- package/esm2022/f-magnetic-rects/f-magnetic-rects-base.mjs +12 -0
- package/esm2022/f-magnetic-rects/f-magnetic-rects.mjs +29 -0
- package/esm2022/f-magnetic-rects/index.mjs +4 -0
- package/esm2022/f-magnetic-rects/providers.mjs +3 -0
- package/esm2022/f-minimap/domain/f-minimap.drag-handler.mjs +6 -3
- package/esm2022/f-minimap/domain/minimap-draw-nodes/minimap-draw-nodes.execution.mjs +2 -2
- package/esm2022/f-minimap/f-minimap-canvas.directive.mjs +3 -6
- package/esm2022/f-minimap/f-minimap-flow.directive.mjs +4 -7
- package/esm2022/f-minimap/f-minimap-view.directive.mjs +3 -6
- package/esm2022/f-minimap/f-minimap.component.mjs +9 -10
- package/esm2022/f-selection-area/f-selection-area-base.mjs +6 -2
- package/esm2022/f-selection-area/f-selection-area.mjs +29 -0
- package/esm2022/f-selection-area/index.mjs +2 -3
- package/esm2022/f-selection-area/providers.mjs +3 -5
- package/esm2022/f-storage/base/f-id-registry-base.mjs +89 -0
- package/esm2022/f-storage/base/f-single-registry-base.mjs +37 -0
- package/esm2022/f-storage/base/index.mjs +3 -0
- package/esm2022/f-storage/f-components-store.mjs +28 -23
- package/esm2022/f-storage/f-connection-marker-registry.mjs +5 -0
- package/esm2022/f-storage/f-connection-registry.mjs +25 -0
- package/esm2022/f-storage/f-connector-registry.mjs +9 -0
- package/esm2022/f-storage/f-node-registry.mjs +5 -0
- package/esm2022/f-storage/features/index.mjs +8 -0
- package/esm2022/f-storage/features/listen-count-changes/index.mjs +2 -2
- package/esm2022/f-storage/features/listen-count-changes/listen-count-changes-request.mjs +1 -1
- package/esm2022/f-storage/features/listen-count-changes/listen-count-changes.mjs +23 -0
- package/esm2022/f-storage/features/listen-data-changed/index.mjs +3 -0
- package/esm2022/f-storage/features/listen-data-changed/listen-data-changes-request.mjs +4 -0
- package/esm2022/f-storage/features/listen-data-changed/listen-data-changes.mjs +23 -0
- package/esm2022/f-storage/features/listen-transform-changes/index.mjs +3 -3
- package/esm2022/f-storage/features/listen-transform-changes/listen-transform-changes-request.mjs +4 -0
- package/esm2022/f-storage/features/listen-transform-changes/listen-transform-changes.mjs +23 -0
- package/esm2022/f-storage/features/notify-data-changed/index.mjs +2 -2
- package/esm2022/f-storage/features/notify-data-changed/notify-data-changed-request.mjs +1 -1
- package/esm2022/f-storage/features/notify-data-changed/notify-data-changed.mjs +22 -0
- package/esm2022/f-storage/features/notify-transform-changed/index.mjs +3 -3
- package/esm2022/f-storage/features/notify-transform-changed/notify-transform-changed-request.mjs +4 -0
- package/esm2022/f-storage/features/notify-transform-changed/notify-transform-changed.mjs +22 -0
- package/esm2022/f-storage/features/register-plugin-instance/index.mjs +3 -0
- package/esm2022/f-storage/features/register-plugin-instance/register-plugin-instance-request.mjs +10 -0
- package/esm2022/f-storage/features/register-plugin-instance/register-plugin-instance.mjs +25 -0
- package/esm2022/f-storage/features/remove-plugin-instance/index.mjs +3 -0
- package/esm2022/f-storage/features/remove-plugin-instance/remove-plugin-instance-request.mjs +8 -0
- package/esm2022/f-storage/features/remove-plugin-instance/remove-plugin-instance.mjs +25 -0
- package/esm2022/f-storage/index.mjs +7 -7
- package/esm2022/f-storage/providers.mjs +10 -11
- package/esm2022/f-zoom/f-zoom.directive.mjs +14 -23
- package/esm2022/public-api.mjs +5 -1
- package/esm2022/reactivity/debounce-animation-frame.mjs +21 -0
- package/esm2022/reactivity/debounce-microtask.mjs +20 -0
- package/esm2022/reactivity/debounce-time.mjs +16 -5
- package/esm2022/reactivity/f-channel-hub.mjs +33 -9
- package/esm2022/reactivity/index.mjs +4 -1
- package/esm2022/reactivity/notify-on-start.mjs +19 -5
- package/esm2022/reactivity/take-one.mjs +17 -0
- package/esm2022/reactivity/types.mjs +1 -1
- package/esm2022/testing/component-harness.mjs +16 -0
- package/esm2022/testing/di-harness.mjs +32 -0
- package/esm2022/testing/factories.mjs +367 -0
- package/esm2022/testing/index.mjs +8 -0
- package/esm2022/testing/internal/index.mjs +2 -0
- package/esm2022/testing/internal/type-helpers.mjs +28 -0
- package/esm2022/testing/jasmine/index.mjs +2 -0
- package/esm2022/testing/jasmine/spy-helpers.mjs +14 -0
- package/esm2022/testing/mediator-harness.mjs +14 -0
- package/esm2022/testing/pure-harness.mjs +25 -0
- package/esm2022/testing/registry-harness.mjs +23 -0
- package/esm2022/utils/calculate-pointer-in-flow.mjs +9 -0
- package/esm2022/utils/index.mjs +2 -1
- package/f-backgroud/f-background-base.d.ts +1 -1
- package/f-backgroud/f-background.component.d.ts +3 -5
- package/f-backgroud/f-rect-pattern/f-rect-pattern.component.d.ts +2 -2
- package/f-canvas/domain/index.d.ts +1 -1
- package/f-canvas/f-canvas-base.d.ts +2 -2
- package/f-canvas/f-canvas.component.d.ts +2 -9
- package/f-connection/f-connection/f-connection.component.d.ts +2 -7
- package/f-connection/f-connection-for-create/f-connection-for-create.component.d.ts +2 -6
- package/f-connection/f-snap-connection/f-snap-connection.component.d.ts +2 -6
- package/f-connection/index.d.ts +1 -6
- package/f-connection/providers.d.ts +3 -4
- package/f-connection-v2/components/connection-content/f-connection-content.d.ts +42 -0
- package/f-connection-v2/components/connection-content/index.d.ts +3 -0
- package/f-connection-v2/components/connection-content/models/f-connection-content-base.d.ts +36 -0
- package/f-connection-v2/components/connection-content/models/index.d.ts +1 -0
- package/f-connection-v2/components/connection-content/utils/polyline-content-layout-engine.d.ts +13 -0
- package/f-connection-v2/components/connection-drag-handles/f-connection-drag-handle-end.d.ts +8 -0
- package/f-connection-v2/components/connection-drag-handles/f-connection-drag-handle-start.d.ts +8 -0
- package/f-connection-v2/components/connection-drag-handles/index.d.ts +3 -0
- package/f-connection-v2/components/connection-drag-handles/models/f-connection-drag-handle-base.d.ts +11 -0
- package/f-connection-v2/components/connection-drag-handles/models/index.d.ts +1 -0
- package/f-connection-v2/components/connection-gradient/f-connection-gradient.d.ts +16 -0
- package/f-connection-v2/components/connection-gradient/index.d.ts +2 -0
- package/f-connection-v2/components/connection-gradient/models/f-connection-gradient-base.d.ts +8 -0
- package/f-connection-v2/components/connection-gradient/models/index.d.ts +1 -0
- package/f-connection-v2/components/connection-marker/enums/index.d.ts +1 -0
- package/f-connection-v2/components/connection-marker/f-connection-marker.d.ts +17 -0
- package/f-connection-v2/components/connection-marker/index.d.ts +3 -0
- package/f-connection-v2/components/connection-marker/models/f-connection-marker-base.d.ts +13 -0
- package/f-connection-v2/components/connection-marker/models/index.d.ts +1 -0
- package/f-connection-v2/components/connection-path/f-connection-path.d.ts +14 -0
- package/f-connection-v2/components/connection-path/index.d.ts +2 -0
- package/f-connection-v2/components/connection-path/models/f-connection-path-base.d.ts +9 -0
- package/f-connection-v2/components/connection-path/models/index.d.ts +1 -0
- package/f-connection-v2/components/connection-selection/f-connection-selection.d.ts +9 -0
- package/f-connection-v2/components/connection-selection/index.d.ts +2 -0
- package/f-connection-v2/components/connection-selection/models/f-connection-selection-base.d.ts +6 -0
- package/f-connection-v2/components/connection-selection/models/index.d.ts +1 -0
- package/f-connection-v2/components/connection-waypoints/f-connection-waypoints.d.ts +19 -0
- package/f-connection-v2/components/connection-waypoints/index.d.ts +3 -0
- package/f-connection-v2/components/connection-waypoints/models/f-connection-waypoints-base.d.ts +16 -0
- package/f-connection-v2/components/connection-waypoints/models/index.d.ts +1 -0
- package/f-connection-v2/components/connection-waypoints/utils/find-existing-waypoint.d.ts +6 -0
- package/f-connection-v2/components/connection-waypoints/utils/find-waypoint-candidate.d.ts +6 -0
- package/f-connection-v2/components/connection-waypoints/utils/index.d.ts +4 -0
- package/f-connection-v2/components/connection-waypoints/utils/is-pointer-inside-point.d.ts +2 -0
- package/f-connection-v2/components/connection-waypoints/utils/pick-waypoint.d.ts +17 -0
- package/f-connection-v2/components/f-connection-base.d.ts +63 -0
- package/f-connection-v2/components/index.d.ts +8 -0
- package/f-connection-v2/enums/index.d.ts +2 -0
- package/f-connection-v2/index.d.ts +4 -0
- package/f-connection-v2/models/f-connection-components-parent.d.ts +15 -0
- package/f-connection-v2/models/index.d.ts +1 -0
- package/f-connection-v2/utils/connection-behaviour/connection-behaviour-builder-request.d.ts +11 -0
- package/f-connection-v2/utils/connection-behaviour/connection-behaviour-builder.d.ts +46 -0
- package/f-connection-v2/utils/connection-behaviour/enums/index.d.ts +2 -0
- package/f-connection-v2/utils/connection-behaviour/index.d.ts +5 -0
- package/f-connection-v2/utils/connection-behaviour/models/i-calculate-behavior-request.d.ts +8 -0
- package/f-connection-v2/utils/connection-behaviour/models/index.d.ts +1 -0
- package/f-connection-v2/utils/connection-behaviour/utils/fixed-center-behavior.d.ts +8 -0
- package/f-connection-v2/utils/connection-behaviour/utils/fixed-outbound-behavior.d.ts +8 -0
- package/f-connection-v2/utils/connection-behaviour/utils/floating-behavior.d.ts +8 -0
- package/f-connection-v2/utils/connection-behaviour/utils/index.d.ts +3 -0
- package/f-connection-v2/utils/connection-line-builder/builders/adaptive-curve/calculate-adaptive-curve-data.d.ts +8 -0
- package/f-connection-v2/utils/connection-line-builder/builders/adaptive-curve/index.d.ts +1 -0
- package/f-connection-v2/utils/connection-line-builder/builders/bezier-curve/calculate-bezier-curve-data.d.ts +4 -0
- package/f-connection-v2/utils/connection-line-builder/builders/bezier-curve/index.d.ts +1 -0
- package/f-connection-v2/utils/connection-line-builder/builders/index.d.ts +5 -0
- package/f-connection-v2/utils/connection-line-builder/builders/segment-line/build-corner-mid-points-and-apply-offsets.d.ts +17 -0
- package/f-connection-v2/utils/connection-line-builder/builders/segment-line/calculate-segment-line-data.d.ts +6 -0
- package/f-connection-v2/utils/connection-line-builder/builders/segment-line/create-segment-line-path.d.ts +2 -0
- package/f-connection-v2/utils/connection-line-builder/builders/segment-line/index.d.ts +3 -0
- package/f-connection-v2/utils/connection-line-builder/builders/straight-line/calculate-straight-line-data.d.ts +4 -0
- package/f-connection-v2/utils/connection-line-builder/builders/straight-line/index.d.ts +1 -0
- package/f-connection-v2/utils/connection-line-builder/builders/utils/build-connection-anchors.d.ts +2 -0
- package/f-connection-v2/utils/connection-line-builder/builders/utils/calculate-center-between-points.d.ts +2 -0
- package/f-connection-v2/utils/connection-line-builder/builders/utils/calculate-curve-candidates.d.ts +3 -0
- package/f-connection-v2/utils/connection-line-builder/builders/utils/calculate-polyline-candidates.d.ts +2 -0
- package/f-connection-v2/utils/connection-line-builder/builders/utils/index.d.ts +8 -0
- package/f-connection-v2/utils/connection-line-builder/builders/utils/merge-point-chains.d.ts +2 -0
- package/f-connection-v2/utils/connection-line-builder/builders/utils/multi-cubic.d.ts +10 -0
- package/f-connection-v2/utils/connection-line-builder/builders/utils/normalize-polyline.d.ts +2 -0
- package/f-connection-v2/utils/connection-line-builder/builders/utils/sample-cubic-bezier-uniform.d.ts +24 -0
- package/f-connection-v2/utils/connection-line-builder/connection-line-builder-request.d.ts +7 -0
- package/f-connection-v2/utils/connection-line-builder/connection-line-builder.d.ts +13 -0
- package/f-connection-v2/utils/connection-line-builder/index.d.ts +5 -0
- package/f-connection-v2/utils/connection-line-builder/models/i-f-connection-builder-request.d.ts +11 -0
- package/f-connection-v2/utils/connection-line-builder/models/i-f-connection-builder-response.d.ts +8 -0
- package/f-connection-v2/utils/connection-line-builder/models/i-f-connection-builder.d.ts +5 -0
- package/f-connection-v2/utils/connection-line-builder/models/index.d.ts +3 -0
- package/f-connection-v2/utils/connection-line-builder/providers/f-connection-builders.d.ts +4 -0
- package/f-connection-v2/utils/connection-line-builder/providers/index.d.ts +1 -0
- package/f-connection-v2/utils/create-connection-dom-identifier.d.ts +1 -0
- package/f-connection-v2/utils/create-connection-selection-dom-identifier.d.ts +1 -0
- package/f-connection-v2/utils/create-gradient-dom-identifier.d.ts +1 -0
- package/f-connection-v2/utils/create-gradient-dom-url.d.ts +1 -0
- package/f-connection-v2/utils/index.d.ts +6 -0
- package/f-connectors/f-connector-base.d.ts +3 -1
- package/f-connectors/f-node-input/f-node-input-base.d.ts +2 -1
- package/f-connectors/f-node-input/f-node-input.directive.d.ts +1 -1
- package/f-connectors/f-node-outlet/f-node-outlet-base.d.ts +2 -1
- package/f-connectors/f-node-outlet/f-node-outlet.directive.d.ts +1 -1
- package/f-connectors/f-node-output/f-node-output-base.d.ts +2 -0
- package/f-connectors/f-node-output/f-node-output.directive.d.ts +1 -1
- package/f-connectors/f-source-connector-base.d.ts +3 -0
- package/f-connectors/index.d.ts +0 -1
- package/f-draggable/connection/create-connection/create-connection-finalize/create-connection-finalize-request.d.ts +6 -0
- package/f-draggable/connection/create-connection/create-connection-finalize/create-connection-finalize.d.ts +19 -0
- package/f-draggable/connection/create-connection/create-connection-finalize/index.d.ts +2 -0
- package/f-draggable/connection/create-connection/create-connection-handler/create-connection-handler.d.ts +35 -0
- package/f-draggable/connection/create-connection/create-connection-handler/index.d.ts +1 -0
- package/f-draggable/connection/create-connection/create-connection-preparation/create-connection-preparation.d.ts +14 -0
- package/f-draggable/connection/create-connection/create-connection-preparation/create-drag-handler/create-connection-create-drag-handler-request.d.ts +8 -0
- package/f-draggable/connection/create-connection/create-connection-preparation/create-drag-handler/create-connection-create-drag-handler.d.ts +26 -0
- package/f-draggable/connection/create-connection/create-connection-preparation/create-drag-handler/index.d.ts +2 -0
- package/f-draggable/connection/create-connection/create-connection-preparation/from-outlet-preparation/create-connection-from-outlet-preparation-request.d.ts +8 -0
- package/f-draggable/connection/create-connection/create-connection-preparation/from-outlet-preparation/create-connection-from-outlet-preparation.d.ts +14 -0
- package/f-draggable/connection/create-connection/create-connection-preparation/from-outlet-preparation/index.d.ts +2 -0
- package/f-draggable/connection/create-connection/create-connection-preparation/from-output-preparation/create-connection-from-output-preparation.d.ts +13 -0
- package/f-draggable/connection/create-connection/create-connection-preparation/index.d.ts +5 -0
- package/f-draggable/connection/create-connection/f-create-connection-event.d.ts +16 -0
- package/f-draggable/connection/create-connection/i-create-connection-drag-result.d.ts +7 -0
- package/f-draggable/connection/create-connection/i-create-connection-event-data.d.ts +3 -0
- package/f-draggable/connection/create-connection/index.d.ts +7 -0
- package/f-draggable/connection/create-connection/resolve-connectable-output-for-outlet/index.d.ts +2 -0
- package/f-draggable/connection/create-connection/resolve-connectable-output-for-outlet/resolve-connectable-output-for-outlet-request.d.ts +6 -0
- package/f-draggable/connection/create-connection/resolve-connectable-output-for-outlet/resolve-connectable-output-for-outlet.d.ts +12 -0
- package/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-finalize/drag-connection-waypoint-finalize-request.d.ts +6 -0
- package/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-finalize/drag-connection-waypoint-finalize.d.ts +11 -0
- package/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-finalize/index.d.ts +2 -0
- package/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-handler/drag-connection-waypoint-handler.d.ts +21 -0
- package/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-handler/index.d.ts +1 -0
- package/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-preparation/drag-connection-waypoint-preparation-request.d.ts +8 -0
- package/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-preparation/drag-connection-waypoint-preparation.d.ts +19 -0
- package/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-preparation/index.d.ts +2 -0
- package/f-draggable/connection/drag-connection-waypoint/f-connection-waypoints-changed-event.d.ts +6 -0
- package/f-draggable/connection/drag-connection-waypoint/index.d.ts +4 -0
- package/f-draggable/connection/index.d.ts +4 -0
- package/f-draggable/connection/providers.d.ts +4 -0
- package/f-draggable/connection/reassign-connection/f-reassign-connection-event.d.ts +29 -0
- package/f-draggable/connection/reassign-connection/i-reassign-connection-drag-result.d.ts +17 -0
- package/f-draggable/connection/reassign-connection/i-reassign-connection-event-data.d.ts +3 -0
- package/f-draggable/connection/reassign-connection/index.d.ts +6 -0
- package/f-draggable/connection/reassign-connection/reassign-connection-finalize/index.d.ts +2 -0
- package/f-draggable/connection/reassign-connection/reassign-connection-finalize/reassign-connection-finalize-request.d.ts +6 -0
- package/f-draggable/connection/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.d.ts +18 -0
- package/f-draggable/connection/reassign-connection/reassign-connection-handler/i-reassign-handler.d.ts +15 -0
- package/f-draggable/connection/reassign-connection/reassign-connection-handler/index.d.ts +4 -0
- package/f-draggable/connection/reassign-connection/reassign-connection-handler/reassign-connection-handler.d.ts +30 -0
- package/f-draggable/connection/reassign-connection/reassign-connection-handler/reassign-connection-source-handler.d.ts +27 -0
- package/f-draggable/connection/reassign-connection/reassign-connection-handler/reassign-connection-target-handler.d.ts +27 -0
- package/f-draggable/connection/reassign-connection/reassign-connection-preparation/index.d.ts +3 -0
- package/f-draggable/connection/reassign-connection/reassign-connection-preparation/is-pointer-inside-start-or-end-drag-handles.d.ts +5 -0
- package/f-draggable/connection/reassign-connection/reassign-connection-preparation/reassign-connection-preparation-request.d.ts +8 -0
- package/f-draggable/connection/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.d.ts +20 -0
- package/f-draggable/domain/detect-connections-under-drag-node/detect-connections-under-drag-node-request.d.ts +6 -0
- package/f-draggable/domain/detect-connections-under-drag-node/detect-connections-under-drag-node.d.ts +14 -0
- package/f-draggable/domain/detect-connections-under-drag-node/f-node-intersected-with-connections-event.d.ts +25 -0
- package/f-draggable/domain/detect-connections-under-drag-node/index.d.ts +3 -0
- package/f-draggable/domain/emit-end-drag-sequence-event/emit-end-drag-sequence-event-request.d.ts +3 -0
- package/f-draggable/domain/emit-end-drag-sequence-event/emit-end-drag-sequence-event.d.ts +14 -0
- package/f-draggable/domain/emit-end-drag-sequence-event/index.d.ts +2 -0
- package/f-draggable/domain/emit-selection-change-event/emit-selection-change-event.d.ts +17 -0
- package/f-draggable/domain/emit-selection-change-event/index.d.ts +2 -0
- package/f-draggable/domain/emit-start-drag-sequence-event/emit-start-drag-sequence-event-request.d.ts +3 -0
- package/f-draggable/domain/emit-start-drag-sequence-event/emit-start-drag-sequence-event.d.ts +15 -0
- package/f-draggable/domain/emit-start-drag-sequence-event/index.d.ts +2 -0
- package/f-draggable/domain/index.d.ts +4 -2
- package/f-draggable/domain/providers.d.ts +5 -2
- package/f-draggable/drag-canvas/drag-canvas-finalize/drag-canvas-finalize-request.d.ts +6 -0
- package/f-draggable/drag-canvas/drag-canvas-finalize/drag-canvas-finalize.d.ts +10 -0
- package/f-draggable/drag-canvas/drag-canvas-finalize/index.d.ts +2 -0
- package/f-draggable/drag-canvas/drag-canvas-handler/drag-canvas-handler.d.ts +15 -0
- package/f-draggable/drag-canvas/drag-canvas-handler/index.d.ts +1 -0
- package/f-draggable/drag-canvas/drag-canvas-preparation/drag-canvas-preparation-request.d.ts +8 -0
- package/f-draggable/drag-canvas/drag-canvas-preparation/drag-canvas-preparation.d.ts +16 -0
- package/f-draggable/drag-canvas/drag-canvas-preparation/index.d.ts +2 -0
- package/f-draggable/drag-canvas/index.d.ts +4 -0
- package/f-draggable/drag-canvas/providers.d.ts +3 -0
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-drag-node-handler-from-selection-request.d.ts +6 -0
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-drag-node-handler-from-selection.d.ts +18 -0
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-source-connection-drag-handlers-to-node/attach-source-connection-drag-handlers-to-node-request.d.ts +28 -0
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-source-connection-drag-handlers-to-node/attach-source-connection-drag-handlers-to-node.d.ts +18 -0
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-source-connection-drag-handlers-to-node/index.d.ts +2 -0
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-target-connection-drag-handlers-to-node/attach-target-connection-drag-handlers-to-node-request.d.ts +28 -0
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-target-connection-drag-handlers-to-node/attach-target-connection-drag-handlers-to-node.d.ts +16 -0
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-target-connection-drag-handlers-to-node/index.d.ts +2 -0
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/build-drag-node-constraints/build-drag-node-constraints-request.d.ts +6 -0
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/build-drag-node-constraints/build-drag-node-constraints.d.ts +19 -0
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/build-drag-node-constraints/index.d.ts +2 -0
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-handler/create-drag-node-handler-request.d.ts +13 -0
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-handler/create-drag-node-handler.d.ts +13 -0
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-handler/index.d.ts +2 -0
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-hierarchy/create-drag-node-hierarchy-request.d.ts +7 -0
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-hierarchy/create-drag-node-hierarchy.d.ts +12 -0
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-hierarchy/drag-node-hierarchy.d.ts +6 -0
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-hierarchy/index.d.ts +3 -0
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/index.d.ts +9 -0
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/providers.d.ts +8 -0
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/read-node-bounds-with-paddings/index.d.ts +3 -0
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/read-node-bounds-with-paddings/read-node-bounds-with-paddings-request.d.ts +7 -0
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/read-node-bounds-with-paddings/read-node-bounds-with-paddings-response.d.ts +9 -0
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/read-node-bounds-with-paddings/read-node-bounds-with-paddings.d.ts +12 -0
- package/f-draggable/drag-node/drag-node-constraint/delta-clamp.d.ts +20 -0
- package/f-draggable/drag-node/drag-node-constraint/drag-node-delta-constraints.d.ts +14 -0
- package/f-draggable/drag-node/drag-node-constraint/expand-rect-by-overflow.d.ts +3 -0
- package/f-draggable/drag-node/drag-node-constraint/grid-snapper.d.ts +18 -0
- package/f-draggable/drag-node/drag-node-constraint/i-drag-node-delta-constraints-result.d.ts +8 -0
- package/f-draggable/drag-node/drag-node-constraint/i-drag-node-delta-constraints.d.ts +12 -0
- package/f-draggable/drag-node/drag-node-constraint/index.d.ts +6 -0
- package/f-draggable/drag-node/drag-node-dependent-connection-handlers/drag-node-connection-both-sides-handler.d.ts +12 -0
- package/f-draggable/drag-node/drag-node-dependent-connection-handlers/drag-node-connection-handler-base.d.ts +20 -0
- package/f-draggable/drag-node/drag-node-dependent-connection-handlers/drag-node-connection-source-handler.d.ts +8 -0
- package/f-draggable/drag-node/drag-node-dependent-connection-handlers/drag-node-connection-target-handler.d.ts +8 -0
- package/f-draggable/drag-node/drag-node-dependent-connection-handlers/index.d.ts +4 -0
- package/f-draggable/drag-node/drag-node-finalize/drag-node-finalize-request.d.ts +6 -0
- package/f-draggable/drag-node/drag-node-finalize/drag-node-finalize.d.ts +21 -0
- package/f-draggable/drag-node/drag-node-finalize/index.d.ts +2 -0
- package/f-draggable/drag-node/drag-node-handler/drag-node-handler.d.ts +39 -0
- package/f-draggable/drag-node/drag-node-handler/drag-node-item-handler.d.ts +36 -0
- package/f-draggable/drag-node/drag-node-handler/index.d.ts +2 -0
- package/f-draggable/drag-node/drag-node-preparation/drag-node-preparation-request.d.ts +8 -0
- package/f-draggable/drag-node/drag-node-preparation/drag-node-preparation.d.ts +16 -0
- package/f-draggable/drag-node/drag-node-preparation/index.d.ts +2 -0
- package/f-draggable/drag-node/f-drag-node-start-event-data.d.ts +4 -0
- package/f-draggable/drag-node/f-move-nodes-event.d.ts +16 -0
- package/f-draggable/drag-node/index.d.ts +11 -0
- package/f-draggable/drag-node/magnetic-lines/domain/calculate-magnetic-guides.d.ts +3 -0
- package/f-draggable/drag-node/magnetic-lines/domain/i-magnetic-axis-guide.d.ts +6 -0
- package/f-draggable/drag-node/magnetic-lines/domain/i-magnetic-guides-result.d.ts +5 -0
- package/f-draggable/drag-node/magnetic-lines/domain/index.d.ts +5 -0
- package/f-draggable/drag-node/magnetic-lines/domain/magnetic-line-element.d.ts +17 -0
- package/f-draggable/drag-node/magnetic-lines/domain/magnetic-line-renderer.d.ts +13 -0
- package/f-draggable/drag-node/magnetic-lines/index.d.ts +3 -0
- package/f-draggable/drag-node/magnetic-lines/magnetic-lines-handler/index.d.ts +1 -0
- package/f-draggable/drag-node/magnetic-lines/magnetic-lines-handler/magnetic-lines-handler.d.ts +18 -0
- package/f-draggable/drag-node/magnetic-lines/magnetic-lines-preparation/index.d.ts +2 -0
- package/f-draggable/drag-node/magnetic-lines/magnetic-lines-preparation/magnetic-lines-preparation-request.d.ts +3 -0
- package/f-draggable/drag-node/magnetic-lines/magnetic-lines-preparation/magnetic-lines-preparation.d.ts +18 -0
- package/f-draggable/drag-node/magnetic-rects/domain/calculate-magnetic-rects.d.ts +3 -0
- package/f-draggable/drag-node/magnetic-rects/domain/i-magnetic-gap-rect.d.ts +6 -0
- package/f-draggable/drag-node/magnetic-rects/domain/i-magnetic-rects-result.d.ts +11 -0
- package/f-draggable/drag-node/magnetic-rects/domain/index.d.ts +5 -0
- package/f-draggable/drag-node/magnetic-rects/domain/magnetic-rect-element.d.ts +15 -0
- package/f-draggable/drag-node/magnetic-rects/domain/magnetic-rects-renderer.d.ts +15 -0
- package/f-draggable/drag-node/magnetic-rects/index.d.ts +3 -0
- package/f-draggable/drag-node/magnetic-rects/magnetic-rects-handler/index.d.ts +1 -0
- package/f-draggable/drag-node/magnetic-rects/magnetic-rects-handler/magnetic-rects-handler.d.ts +16 -0
- package/f-draggable/drag-node/magnetic-rects/magnetic-rects-preparation/index.d.ts +2 -0
- package/f-draggable/drag-node/magnetic-rects/magnetic-rects-preparation/magnetic-rects-preparation-request.d.ts +3 -0
- package/f-draggable/drag-node/magnetic-rects/magnetic-rects-preparation/magnetic-rects-preparation.d.ts +17 -0
- package/f-draggable/drag-node/providers.d.ts +5 -0
- package/f-draggable/drop-to-group/drop-to-group-finalize/drop-to-group-finalize-request.d.ts +6 -0
- package/f-draggable/drop-to-group/drop-to-group-finalize/drop-to-group-finalize.d.ts +18 -0
- package/f-draggable/drop-to-group/drop-to-group-handler/drop-to-group-handler.d.ts +30 -0
- package/f-draggable/drop-to-group/drop-to-group-handler/index.d.ts +1 -0
- package/f-draggable/drop-to-group/drop-to-group-preparation/drop-to-group-preparation.d.ts +23 -0
- package/f-draggable/drop-to-group/f-drop-to-group-event.d.ts +16 -0
- package/f-draggable/drop-to-group/index.d.ts +6 -0
- package/f-draggable/drop-to-group/providers.d.ts +4 -0
- package/f-draggable/drop-to-group/sort-drop-candidates-by-layer/index.d.ts +2 -0
- package/f-draggable/drop-to-group/sort-drop-candidates-by-layer/sort-drop-candidates-by-layer-request.d.ts +6 -0
- package/f-draggable/drop-to-group/sort-drop-candidates-by-layer/sort-drop-candidates-by-layer.d.ts +10 -0
- package/f-draggable/f-drag-started-event.d.ts +15 -0
- package/f-draggable/f-draggable-base.d.ts +9 -5
- package/f-draggable/f-draggable-data-context.d.ts +2 -2
- package/f-draggable/f-draggable.directive.d.ts +13 -6
- package/f-draggable/f-node-resize/i-node-resize-event-data.d.ts +3 -0
- package/f-draggable/f-node-resize/index.d.ts +1 -0
- package/f-draggable/f-node-resize/node-resize.drag-handler.d.ts +8 -4
- package/f-draggable/f-node-resize/resize-preparation/node-resize-preparation.d.ts +0 -1
- package/f-draggable/f-node-rotate/f-node-rotate.drag-handler.d.ts +11 -7
- package/f-draggable/f-node-rotate/i-node-rotate-event-data.d.ts +3 -0
- package/f-draggable/f-node-rotate/index.d.ts +1 -0
- package/f-draggable/f-node-rotate/rotate-preparation/f-node-rotate-preparation.execution.d.ts +2 -1
- package/f-draggable/f-selection-change-event.d.ts +10 -4
- package/f-draggable/index.d.ts +9 -6
- package/f-draggable/infrastructure/drag-handler-base.d.ts +20 -0
- package/f-draggable/infrastructure/drag-handler-injector.d.ts +18 -0
- package/f-draggable/infrastructure/i-drag-session-feature.d.ts +12 -0
- package/f-draggable/infrastructure/index.d.ts +4 -0
- package/f-draggable/pinch-to-zoom/finalize/index.d.ts +2 -0
- package/f-draggable/pinch-to-zoom/finalize/pinch-to-zoom-finalize-request.d.ts +6 -0
- package/f-draggable/pinch-to-zoom/finalize/pinch-to-zoom-finalize.d.ts +10 -0
- package/f-draggable/pinch-to-zoom/handler/index.d.ts +1 -0
- package/f-draggable/pinch-to-zoom/handler/pinch-to-zoom-handler.d.ts +24 -0
- package/f-draggable/pinch-to-zoom/index.d.ts +4 -0
- package/f-draggable/pinch-to-zoom/preparation/index.d.ts +2 -0
- package/f-draggable/pinch-to-zoom/preparation/pinch-to-zoom-preparation-request.d.ts +6 -0
- package/f-draggable/pinch-to-zoom/preparation/pinch-to-zoom-preparation.d.ts +14 -0
- package/f-draggable/pinch-to-zoom/providers.d.ts +3 -0
- package/f-draggable/providers.d.ts +1 -1
- package/f-draggable/select-by-pointer/index.d.ts +3 -0
- package/f-draggable/select-by-pointer/providers.d.ts +2 -0
- package/f-draggable/select-by-pointer/select-by-pointer-request.d.ts +8 -0
- package/f-draggable/select-by-pointer/select-by-pointer.d.ts +58 -0
- package/f-draggable/selection-area/index.d.ts +4 -0
- package/f-draggable/selection-area/providers.d.ts +3 -0
- package/f-draggable/selection-area/selection-area-finalize/index.d.ts +2 -0
- package/f-draggable/selection-area/selection-area-finalize/selection-area-finalize-request.d.ts +6 -0
- package/f-draggable/selection-area/selection-area-finalize/selection-area-finalize.d.ts +10 -0
- package/f-draggable/selection-area/selection-area-handler/index.d.ts +1 -0
- package/f-draggable/selection-area/selection-area-handler/selection-area-handler.d.ts +24 -0
- package/f-draggable/selection-area/selection-area-preparation/index.d.ts +2 -0
- package/f-draggable/selection-area/selection-area-preparation/selection-area-preparation-request.d.ts +6 -0
- package/f-draggable/selection-area/selection-area-preparation/selection-area-preparation.d.ts +13 -0
- package/f-external-item/domain/f-external-item.drag-handler.d.ts +7 -4
- package/f-external-item/domain/finalize/f-external-item-finalize.execution.d.ts +2 -3
- package/f-flow/f-flow.component.d.ts +1 -1
- package/f-flow.module.d.ts +38 -37
- package/f-line-alignment/f-line-alignment.component.d.ts +9 -7
- package/f-line-alignment/index.d.ts +0 -2
- package/f-magnetic-lines/f-magnetic-lines-base.d.ts +9 -0
- package/f-magnetic-lines/f-magnetic-lines.d.ts +11 -0
- package/f-magnetic-lines/index.d.ts +3 -0
- package/f-magnetic-lines/providers.d.ts +2 -0
- package/f-magnetic-rects/f-magnetic-rects-base.d.ts +10 -0
- package/f-magnetic-rects/f-magnetic-rects.d.ts +12 -0
- package/f-magnetic-rects/index.d.ts +3 -0
- package/f-magnetic-rects/providers.d.ts +2 -0
- package/f-minimap/domain/f-minimap.drag-handler.d.ts +4 -3
- package/f-minimap/f-minimap-canvas.directive.d.ts +1 -2
- package/f-minimap/f-minimap-flow.directive.d.ts +1 -2
- package/f-minimap/f-minimap-view.directive.d.ts +1 -2
- package/f-minimap/f-minimap.component.d.ts +2 -2
- package/f-selection-area/f-selection-area-base.d.ts +4 -5
- package/f-selection-area/f-selection-area.d.ts +12 -0
- package/f-selection-area/index.d.ts +1 -2
- package/f-selection-area/providers.d.ts +2 -2
- package/f-storage/base/f-id-registry-base.d.ts +41 -0
- package/f-storage/base/f-single-registry-base.d.ts +14 -0
- package/f-storage/base/index.d.ts +2 -0
- package/f-storage/f-components-store.d.ts +26 -18
- package/f-storage/f-connection-marker-registry.d.ts +5 -0
- package/f-storage/f-connection-registry.d.ts +14 -0
- package/f-storage/f-connector-registry.d.ts +5 -0
- package/f-storage/f-node-registry.d.ts +5 -0
- package/f-storage/features/index.d.ts +7 -0
- package/f-storage/features/listen-count-changes/index.d.ts +1 -1
- package/f-storage/features/listen-count-changes/listen-count-changes.d.ts +10 -0
- package/f-storage/features/listen-data-changed/index.d.ts +2 -0
- package/f-storage/features/listen-data-changed/listen-data-changes.d.ts +10 -0
- package/f-storage/features/listen-transform-changes/index.d.ts +2 -2
- package/f-storage/features/listen-transform-changes/listen-transform-changes.d.ts +10 -0
- package/f-storage/features/notify-data-changed/index.d.ts +1 -1
- package/f-storage/features/notify-data-changed/notify-data-changed.d.ts +9 -0
- package/f-storage/features/notify-transform-changed/index.d.ts +2 -2
- package/f-storage/features/notify-transform-changed/notify-transform-changed.d.ts +9 -0
- package/f-storage/features/register-plugin-instance/index.d.ts +2 -0
- package/f-storage/features/register-plugin-instance/register-plugin-instance-request.d.ts +7 -0
- package/f-storage/features/register-plugin-instance/register-plugin-instance.d.ts +12 -0
- package/f-storage/features/remove-plugin-instance/index.d.ts +2 -0
- package/f-storage/features/remove-plugin-instance/remove-plugin-instance-request.d.ts +6 -0
- package/f-storage/features/remove-plugin-instance/remove-plugin-instance.d.ts +12 -0
- package/f-storage/index.d.ts +6 -6
- package/f-storage/providers.d.ts +3 -6
- package/f-zoom/f-zoom.directive.d.ts +3 -6
- package/fesm2022/foblex-flow.mjs +9347 -7375
- package/fesm2022/foblex-flow.mjs.map +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +4 -0
- package/reactivity/debounce-animation-frame.d.ts +2 -0
- package/reactivity/debounce-microtask.d.ts +2 -0
- package/reactivity/index.d.ts +3 -0
- package/reactivity/take-one.d.ts +2 -0
- package/reactivity/types.d.ts +6 -1
- package/testing/component-harness.d.ts +9 -0
- package/testing/di-harness.d.ts +10 -0
- package/testing/factories.d.ts +104 -0
- package/testing/index.d.ts +7 -0
- package/testing/internal/index.d.ts +1 -0
- package/testing/internal/type-helpers.d.ts +12 -0
- package/testing/jasmine/index.d.ts +1 -0
- package/testing/jasmine/spy-helpers.d.ts +11 -0
- package/testing/mediator-harness.d.ts +7 -0
- package/testing/pure-harness.d.ts +12 -0
- package/testing/registry-harness.d.ts +6 -0
- package/utils/calculate-pointer-in-flow.d.ts +4 -0
- package/utils/index.d.ts +1 -0
- package/domain/f-background/add-background-to-store/add-background-to-store-request.d.ts +0 -6
- package/domain/f-background/add-background-to-store/add-background-to-store.execution.d.ts +0 -12
- package/domain/f-background/add-background-to-store/index.d.ts +0 -2
- package/domain/f-background/remove-background-from-store/index.d.ts +0 -2
- package/domain/f-background/remove-background-from-store/remove-background-from-store-request.d.ts +0 -6
- package/domain/f-background/remove-background-from-store/remove-background-from-store.execution.d.ts +0 -12
- package/domain/f-background/set-background-transform/set-background-transform.execution.d.ts +0 -12
- package/domain/f-connection/add-connection-for-create-to-store/add-connection-for-create-to-store.execution.d.ts +0 -12
- package/domain/f-connection/add-connection-marker-to-store/add-connection-marker-to-store.execution.d.ts +0 -12
- package/domain/f-connection/add-connection-to-store/add-connection-to-store.execution.d.ts +0 -12
- package/domain/f-connection/add-snap-connection-to-store/add-snap-connection-to-store.execution.d.ts +0 -12
- package/domain/f-connection/calculate-connection-line-by-behavior/calculate-connection-line-by-behavior-request.d.ts +0 -12
- package/domain/f-connection/calculate-connection-line-by-behavior/calculate-connection-line-by-behavior.d.ts +0 -47
- package/domain/f-connection/calculate-connection-line-by-behavior/index.d.ts +0 -6
- package/domain/f-connection/calculate-connection-line-by-behavior/models/calculate-behavior-request.d.ts +0 -8
- package/domain/f-connection/calculate-connection-line-by-behavior/utils/fixed-center-behavior.d.ts +0 -8
- package/domain/f-connection/calculate-connection-line-by-behavior/utils/fixed-outbound-behavior.d.ts +0 -8
- package/domain/f-connection/calculate-connection-line-by-behavior/utils/floating-behavior.d.ts +0 -8
- package/domain/f-connection/create-connection-markers/create-connection-markers.execution.d.ts +0 -17
- package/domain/f-connection/remove-connection-for-create-from-store/remove-connection-for-create-from-store.execution.d.ts +0 -12
- package/domain/f-connection/remove-connection-from-store/remove-connection-from-store.execution.d.ts +0 -13
- package/domain/f-connection/remove-connection-marker-from-store/remove-connection-marker-from-store.execution.d.ts +0 -12
- package/domain/f-connection/remove-snap-connection-from-store/remove-snap-connection-from-store.execution.d.ts +0 -12
- package/domain/f-connectors/add-input-to-store/add-input-to-store-request.d.ts +0 -6
- package/domain/f-connectors/add-input-to-store/add-input-to-store.d.ts +0 -12
- package/domain/f-connectors/add-input-to-store/index.d.ts +0 -2
- package/domain/f-connectors/add-outlet-to-store/add-outlet-to-store-request.d.ts +0 -6
- package/domain/f-connectors/add-outlet-to-store/add-outlet-to-store.d.ts +0 -12
- package/domain/f-connectors/add-outlet-to-store/index.d.ts +0 -2
- package/domain/f-connectors/add-output-to-store/add-output-to-store-request.d.ts +0 -6
- package/domain/f-connectors/add-output-to-store/add-output-to-store.d.ts +0 -12
- package/domain/f-connectors/add-output-to-store/index.d.ts +0 -2
- package/domain/f-connectors/get-connector-and-rect/get-connector-and-rect-request.d.ts +0 -6
- package/domain/f-connectors/get-connector-and-rect/get-connector-and-rect.d.ts +0 -14
- package/domain/f-connectors/get-connector-and-rect/index.d.ts +0 -2
- package/domain/f-connectors/i-closest-connector.d.ts +0 -10
- package/domain/f-connectors/i-connector-and-rect.d.ts +0 -6
- package/domain/f-connectors/remove-input-from-store/index.d.ts +0 -2
- package/domain/f-connectors/remove-input-from-store/remove-input-from-store-request.d.ts +0 -6
- package/domain/f-connectors/remove-input-from-store/remove-input-from-store.d.ts +0 -12
- package/domain/f-connectors/remove-outlet-from-store/index.d.ts +0 -2
- package/domain/f-connectors/remove-outlet-from-store/remove-outlet-from-store-request.d.ts +0 -6
- package/domain/f-connectors/remove-outlet-from-store/remove-outlet-from-store.execution.d.ts +0 -12
- package/domain/f-connectors/remove-output-from-store/index.d.ts +0 -2
- package/domain/f-connectors/remove-output-from-store/remove-output-from-store-request.d.ts +0 -6
- package/domain/f-connectors/remove-output-from-store/remove-output-from-store.execution.d.ts +0 -12
- package/domain/f-draggable/emit-selection-change-event/emit-selection-change-event.execution.d.ts +0 -18
- package/domain/f-draggable/emit-selection-change-event/index.d.ts +0 -2
- package/domain/f-draggable/end-drag-sequence/end-drag-sequence-request.d.ts +0 -3
- package/domain/f-draggable/end-drag-sequence/end-drag-sequence.execution.d.ts +0 -15
- package/domain/f-draggable/end-drag-sequence/index.d.ts +0 -2
- package/domain/f-draggable/start-drag-sequence/index.d.ts +0 -2
- package/domain/f-draggable/start-drag-sequence/start-drag-sequence-request.d.ts +0 -3
- package/domain/f-draggable/start-drag-sequence/start-drag-sequence.execution.d.ts +0 -16
- package/domain/f-flow/get-flow-host-element/get-flow-host-element.execution.d.ts +0 -12
- package/domain/f-flow/get-flow-host-element/get-flow-host-element.request.d.ts +0 -3
- package/domain/f-flow/get-flow-host-element/index.d.ts +0 -2
- package/domain/f-flow/get-flow-state/get-flow-state-connections/get-flow-state-connections-request.d.ts +0 -3
- package/domain/f-flow/get-flow-state/get-flow-state-connections/get-flow-state-connections.execution.d.ts +0 -14
- package/domain/f-flow/get-flow-state/get-flow-state-connections/index.d.ts +0 -2
- package/domain/f-flow/get-flow-state/get-flow-state-nodes/get-flow-state-nodes-request.d.ts +0 -6
- package/domain/f-flow/get-flow-state/get-flow-state-nodes/get-flow-state-nodes.execution.d.ts +0 -15
- package/domain/f-flow/get-flow-state/get-flow-state-nodes/index.d.ts +0 -2
- package/domain/f-flow/get-flow-state/get-flow-state.execution.d.ts +0 -15
- package/domain/f-flow/get-flow-state/get-flow-state.request.d.ts +0 -3
- package/domain/f-flow/get-flow-state/i-f-flow-state-connection.d.ts +0 -9
- package/domain/f-flow/get-flow-state/i-f-flow-state-connector.d.ts +0 -5
- package/domain/f-flow/get-flow-state/index.d.ts +0 -9
- package/domain/f-flow/get-flow-state/providers.d.ts +0 -7
- package/domain/f-line-alignment/add-line-alignment-to-store/add-line-alignment-to-store-request.d.ts +0 -6
- package/domain/f-line-alignment/add-line-alignment-to-store/add-line-alignment-to-store.d.ts +0 -12
- package/domain/f-line-alignment/add-line-alignment-to-store/index.d.ts +0 -2
- package/domain/f-line-alignment/index.d.ts +0 -3
- package/domain/f-line-alignment/providers.d.ts +0 -8
- package/domain/f-line-alignment/remove-line-alignment-from-store/index.d.ts +0 -2
- package/domain/f-line-alignment/remove-line-alignment-from-store/remove-line-alignment-from-store-request.d.ts +0 -3
- package/domain/f-line-alignment/remove-line-alignment-from-store/remove-line-alignment-from-store.d.ts +0 -12
- package/domain/f-selection/get-can-be-selected-items/get-can-be-selected-items-request.d.ts +0 -3
- package/domain/f-selection/get-can-be-selected-items/get-can-be-selected-items.execution.d.ts +0 -28
- package/domain/f-selection/get-can-be-selected-items/index.d.ts +0 -3
- package/domain/f-selection/select-all/select-all.execution.d.ts +0 -14
- package/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.execution.d.ts +0 -16
- package/domain/f-zoom/add-zoom-to-store/add-zoom-to-store-request.d.ts +0 -6
- package/domain/f-zoom/add-zoom-to-store/add-zoom-to-store.execution.d.ts +0 -12
- package/domain/f-zoom/add-zoom-to-store/index.d.ts +0 -2
- package/domain/f-zoom/f-zoom-tag.d.ts +0 -1
- package/domain/f-zoom/remove-zoom-from-store/index.d.ts +0 -2
- package/domain/f-zoom/remove-zoom-from-store/remove-zoom-from-store-request.d.ts +0 -3
- package/domain/f-zoom/remove-zoom-from-store/remove-zoom-from-store.execution.d.ts +0 -12
- package/domain/f-zoom/reset-zoom/reset-zoom.execution.d.ts +0 -13
- package/domain/f-zoom/set-zoom/set-zoom.execution.d.ts +0 -20
- package/domain/i-map.d.ts +0 -1
- package/domain/sort-item-layers/sort-item-layers.execution.d.ts +0 -18
- package/domain/update-item-and-children-layers/update-item-and-children-layers.execution.d.ts +0 -26
- package/esm2022/domain/f-background/add-background-to-store/add-background-to-store-request.mjs +0 -8
- package/esm2022/domain/f-background/add-background-to-store/add-background-to-store.execution.mjs +0 -25
- package/esm2022/domain/f-background/add-background-to-store/index.mjs +0 -3
- package/esm2022/domain/f-background/add-pattern-to-background/add-pattern-to-background.request.mjs +0 -8
- package/esm2022/domain/f-background/remove-background-from-store/index.mjs +0 -3
- package/esm2022/domain/f-background/remove-background-from-store/remove-background-from-store-request.mjs +0 -8
- package/esm2022/domain/f-background/remove-background-from-store/remove-background-from-store.execution.mjs +0 -25
- package/esm2022/domain/f-background/set-background-transform/set-background-transform.execution.mjs +0 -25
- package/esm2022/domain/f-connection/add-connection-for-create-to-store/add-connection-for-create-to-store.execution.mjs +0 -25
- package/esm2022/domain/f-connection/add-connection-marker-to-store/add-connection-marker-to-store.execution.mjs +0 -25
- package/esm2022/domain/f-connection/add-connection-to-store/add-connection-to-store.execution.mjs +0 -26
- package/esm2022/domain/f-connection/add-snap-connection-to-store/add-snap-connection-to-store.execution.mjs +0 -25
- package/esm2022/domain/f-connection/calculate-connection-line-by-behavior/calculate-connection-line-by-behavior-request.mjs +0 -16
- package/esm2022/domain/f-connection/calculate-connection-line-by-behavior/calculate-connection-line-by-behavior.mjs +0 -145
- package/esm2022/domain/f-connection/calculate-connection-line-by-behavior/index.mjs +0 -7
- package/esm2022/domain/f-connection/calculate-connection-line-by-behavior/models/calculate-behavior-request.mjs +0 -2
- package/esm2022/domain/f-connection/calculate-connection-line-by-behavior/utils/fixed-center-behavior.mjs +0 -12
- package/esm2022/domain/f-connection/calculate-connection-line-by-behavior/utils/fixed-outbound-behavior.mjs +0 -31
- package/esm2022/domain/f-connection/calculate-connection-line-by-behavior/utils/floating-behavior.mjs +0 -22
- package/esm2022/domain/f-connection/create-connection-markers/create-connection-markers.execution.mjs +0 -65
- package/esm2022/domain/f-connection/remove-connection-for-create-from-store/remove-connection-for-create-from-store.execution.mjs +0 -25
- package/esm2022/domain/f-connection/remove-connection-from-store/remove-connection-from-store.execution.mjs +0 -33
- package/esm2022/domain/f-connection/remove-connection-marker-from-store/remove-connection-marker-from-store.execution.mjs +0 -25
- package/esm2022/domain/f-connection/remove-snap-connection-from-store/remove-snap-connection-from-store.execution.mjs +0 -25
- package/esm2022/domain/f-connectors/add-input-to-store/add-input-to-store-request.mjs +0 -8
- package/esm2022/domain/f-connectors/add-input-to-store/add-input-to-store.mjs +0 -25
- package/esm2022/domain/f-connectors/add-input-to-store/index.mjs +0 -3
- package/esm2022/domain/f-connectors/add-outlet-to-store/add-outlet-to-store-request.mjs +0 -8
- package/esm2022/domain/f-connectors/add-outlet-to-store/add-outlet-to-store.mjs +0 -25
- package/esm2022/domain/f-connectors/add-outlet-to-store/index.mjs +0 -3
- package/esm2022/domain/f-connectors/add-output-to-store/add-output-to-store-request.mjs +0 -8
- package/esm2022/domain/f-connectors/add-output-to-store/add-output-to-store.mjs +0 -25
- package/esm2022/domain/f-connectors/add-output-to-store/index.mjs +0 -3
- package/esm2022/domain/f-connectors/get-connector-and-rect/get-connector-and-rect-request.mjs +0 -8
- package/esm2022/domain/f-connectors/get-connector-and-rect/get-connector-and-rect.mjs +0 -31
- package/esm2022/domain/f-connectors/get-connector-and-rect/index.mjs +0 -3
- package/esm2022/domain/f-connectors/i-closest-connector.mjs +0 -2
- package/esm2022/domain/f-connectors/i-connector-and-rect.mjs +0 -2
- package/esm2022/domain/f-connectors/remove-input-from-store/index.mjs +0 -3
- package/esm2022/domain/f-connectors/remove-input-from-store/remove-input-from-store-request.mjs +0 -8
- package/esm2022/domain/f-connectors/remove-input-from-store/remove-input-from-store.mjs +0 -25
- package/esm2022/domain/f-connectors/remove-outlet-from-store/index.mjs +0 -3
- package/esm2022/domain/f-connectors/remove-outlet-from-store/remove-outlet-from-store-request.mjs +0 -8
- package/esm2022/domain/f-connectors/remove-outlet-from-store/remove-outlet-from-store.execution.mjs +0 -25
- package/esm2022/domain/f-connectors/remove-output-from-store/index.mjs +0 -3
- package/esm2022/domain/f-connectors/remove-output-from-store/remove-output-from-store-request.mjs +0 -8
- package/esm2022/domain/f-connectors/remove-output-from-store/remove-output-from-store.execution.mjs +0 -25
- package/esm2022/domain/f-draggable/emit-selection-change-event/emit-selection-change-event-request.mjs +0 -4
- package/esm2022/domain/f-draggable/emit-selection-change-event/emit-selection-change-event.execution.mjs +0 -45
- package/esm2022/domain/f-draggable/emit-selection-change-event/index.mjs +0 -3
- package/esm2022/domain/f-draggable/end-drag-sequence/end-drag-sequence-request.mjs +0 -4
- package/esm2022/domain/f-draggable/end-drag-sequence/end-drag-sequence.execution.mjs +0 -36
- package/esm2022/domain/f-draggable/end-drag-sequence/index.mjs +0 -3
- package/esm2022/domain/f-draggable/start-drag-sequence/index.mjs +0 -3
- package/esm2022/domain/f-draggable/start-drag-sequence/start-drag-sequence-request.mjs +0 -4
- package/esm2022/domain/f-draggable/start-drag-sequence/start-drag-sequence.execution.mjs +0 -43
- package/esm2022/domain/f-flow/get-flow-host-element/get-flow-host-element.execution.mjs +0 -25
- package/esm2022/domain/f-flow/get-flow-host-element/get-flow-host-element.request.mjs +0 -4
- package/esm2022/domain/f-flow/get-flow-host-element/index.mjs +0 -3
- package/esm2022/domain/f-flow/get-flow-state/get-flow-state-connections/get-flow-state-connections-request.mjs +0 -4
- package/esm2022/domain/f-flow/get-flow-state/get-flow-state-connections/get-flow-state-connections.execution.mjs +0 -35
- package/esm2022/domain/f-flow/get-flow-state/get-flow-state-connections/index.mjs +0 -3
- package/esm2022/domain/f-flow/get-flow-state/get-flow-state-nodes/get-flow-state-nodes-request.mjs +0 -8
- package/esm2022/domain/f-flow/get-flow-state/get-flow-state-nodes/get-flow-state-nodes.execution.mjs +0 -58
- package/esm2022/domain/f-flow/get-flow-state/get-flow-state-nodes/index.mjs +0 -3
- package/esm2022/domain/f-flow/get-flow-state/get-flow-state.execution.mjs +0 -39
- package/esm2022/domain/f-flow/get-flow-state/get-flow-state.request.mjs +0 -4
- package/esm2022/domain/f-flow/get-flow-state/i-f-flow-state-connection.mjs +0 -2
- package/esm2022/domain/f-flow/get-flow-state/i-f-flow-state-connector.mjs +0 -2
- package/esm2022/domain/f-flow/get-flow-state/i-f-flow-state-node.mjs +0 -2
- package/esm2022/domain/f-flow/get-flow-state/i-f-flow-state.mjs +0 -2
- package/esm2022/domain/f-flow/get-flow-state/index.mjs +0 -10
- package/esm2022/domain/f-flow/get-flow-state/providers.mjs +0 -12
- package/esm2022/domain/f-line-alignment/add-line-alignment-to-store/add-line-alignment-to-store-request.mjs +0 -8
- package/esm2022/domain/f-line-alignment/add-line-alignment-to-store/add-line-alignment-to-store.mjs +0 -25
- package/esm2022/domain/f-line-alignment/add-line-alignment-to-store/index.mjs +0 -3
- package/esm2022/domain/f-line-alignment/index.mjs +0 -4
- package/esm2022/domain/f-line-alignment/providers.mjs +0 -9
- package/esm2022/domain/f-line-alignment/remove-line-alignment-from-store/index.mjs +0 -3
- package/esm2022/domain/f-line-alignment/remove-line-alignment-from-store/remove-line-alignment-from-store-request.mjs +0 -4
- package/esm2022/domain/f-line-alignment/remove-line-alignment-from-store/remove-line-alignment-from-store.mjs +0 -25
- package/esm2022/domain/f-selection/get-can-be-selected-items/get-can-be-selected-items-request.mjs +0 -4
- package/esm2022/domain/f-selection/get-can-be-selected-items/get-can-be-selected-items.execution.mjs +0 -66
- package/esm2022/domain/f-selection/get-can-be-selected-items/i-can-be-selected-element-and-rect.mjs +0 -2
- package/esm2022/domain/f-selection/get-can-be-selected-items/index.mjs +0 -4
- package/esm2022/domain/f-selection/select-all/select-all.execution.mjs +0 -40
- package/esm2022/domain/f-selection/select-all/select-all.request.mjs +0 -4
- package/esm2022/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.execution.mjs +0 -37
- package/esm2022/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.request.mjs +0 -8
- package/esm2022/domain/f-zoom/add-zoom-to-store/add-zoom-to-store-request.mjs +0 -8
- package/esm2022/domain/f-zoom/add-zoom-to-store/add-zoom-to-store.execution.mjs +0 -28
- package/esm2022/domain/f-zoom/add-zoom-to-store/index.mjs +0 -3
- package/esm2022/domain/f-zoom/f-zoom-tag.mjs +0 -2
- package/esm2022/domain/f-zoom/remove-zoom-from-store/index.mjs +0 -3
- package/esm2022/domain/f-zoom/remove-zoom-from-store/remove-zoom-from-store-request.mjs +0 -4
- package/esm2022/domain/f-zoom/remove-zoom-from-store/remove-zoom-from-store.execution.mjs +0 -28
- package/esm2022/domain/f-zoom/reset-zoom/reset-zoom.execution.mjs +0 -30
- package/esm2022/domain/f-zoom/set-zoom/set-zoom.execution.mjs +0 -54
- package/esm2022/domain/i-map.mjs +0 -2
- package/esm2022/domain/sort-item-layers/sort-item-layers.execution.mjs +0 -40
- package/esm2022/domain/sort-item-layers/sort-item-layers.request.mjs +0 -4
- package/esm2022/domain/update-item-and-children-layers/update-item-and-children-layers.execution.mjs +0 -98
- package/esm2022/domain/update-item-and-children-layers/update-item-and-children-layers.request.mjs +0 -10
- package/esm2022/f-canvas/domain/f-canvas-change.event.mjs +0 -9
- package/esm2022/f-connection/common/domain/adaptive-curve-builder.mjs +0 -201
- package/esm2022/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points-request.mjs +0 -10
- package/esm2022/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points.handler.mjs +0 -12
- package/esm2022/f-connection/common/domain/calculate-center-between-points/index.mjs +0 -3
- package/esm2022/f-connection/common/domain/calculate-connection-center/calculate-connection-center-request.mjs +0 -8
- package/esm2022/f-connection/common/domain/calculate-connection-center/calculate-connection-center.handler.mjs +0 -35
- package/esm2022/f-connection/common/domain/calculate-connection-center/index.mjs +0 -3
- package/esm2022/f-connection/common/domain/f-bezier.path-builder.mjs +0 -58
- package/esm2022/f-connection/common/domain/f-segment.path-builder.mjs +0 -161
- package/esm2022/f-connection/common/domain/f-straight.path-builder.mjs +0 -16
- package/esm2022/f-connection/common/domain/index.mjs +0 -7
- package/esm2022/f-connection/common/e-f-connection-behavior.mjs +0 -7
- package/esm2022/f-connection/common/e-f-connection-connectable-side.mjs +0 -12
- package/esm2022/f-connection/common/e-f-connection-type.mjs +0 -8
- package/esm2022/f-connection/common/f-connection-base.mjs +0 -121
- package/esm2022/f-connection/common/f-connection-identifiers.mjs +0 -22
- package/esm2022/f-connection/common/f-connection-text/f-connection-text-path.directive.mjs +0 -65
- package/esm2022/f-connection/common/f-connection-text/f-connection-text.component.mjs +0 -57
- package/esm2022/f-connection/common/f-connection-text/i-connection-text.mjs +0 -3
- package/esm2022/f-connection/common/f-connection-text/index.mjs +0 -4
- package/esm2022/f-connection/common/f-connection.injection-token.mjs +0 -3
- package/esm2022/f-connection/common/f-drag-handle/f-connection-drag-handle-end.component.mjs +0 -37
- package/esm2022/f-connection/common/f-drag-handle/f-connection-drag-handle-start.component.mjs +0 -37
- package/esm2022/f-connection/common/f-drag-handle/index.mjs +0 -3
- package/esm2022/f-connection/common/f-gradient/f-connection-gradient.component.mjs +0 -55
- package/esm2022/f-connection/common/f-gradient/i-connection-gradient.mjs +0 -3
- package/esm2022/f-connection/common/f-gradient/index.mjs +0 -3
- package/esm2022/f-connection/common/f-path/f-connection-path.component.mjs +0 -45
- package/esm2022/f-connection/common/f-path/get-path-marker-id.mjs +0 -14
- package/esm2022/f-connection/common/f-path/i-connection-path.mjs +0 -3
- package/esm2022/f-connection/common/f-path/index.mjs +0 -4
- package/esm2022/f-connection/common/f-selection/f-connection-selection.component.mjs +0 -24
- package/esm2022/f-connection/common/f-selection/index.mjs +0 -2
- package/esm2022/f-connection/common/i-has-connection-color.mjs +0 -2
- package/esm2022/f-connection/common/i-has-connection-from-to.mjs +0 -2
- package/esm2022/f-connection/common/i-has-connection-text.mjs +0 -2
- package/esm2022/f-connection/common/index.mjs +0 -15
- package/esm2022/f-connection/f-connection-builder/f-connection-builders.mjs +0 -3
- package/esm2022/f-connection/f-connection-builder/f-connection-factory.mjs +0 -26
- package/esm2022/f-connection/f-connection-builder/i-f-connection-builder-request.mjs +0 -2
- package/esm2022/f-connection/f-connection-builder/i-f-connection-builder-response.mjs +0 -2
- package/esm2022/f-connection/f-connection-builder/i-f-connection-builder.mjs +0 -2
- package/esm2022/f-connection/f-connection-builder/i-f-connection-factory-request.mjs +0 -2
- package/esm2022/f-connection/f-connection-builder/index.mjs +0 -7
- package/esm2022/f-connection/f-connection-center/f-connection-center.directive.mjs +0 -30
- package/esm2022/f-connection/f-connection-center/index.mjs +0 -2
- package/esm2022/f-connection/f-connection-content/f-connection-content.mjs +0 -102
- package/esm2022/f-connection/f-connection-content/index.mjs +0 -3
- package/esm2022/f-connection/f-connection-content/polyline-content-engine/i-polyline-content.mjs +0 -2
- package/esm2022/f-connection/f-connection-content/polyline-content-engine/index.mjs +0 -6
- package/esm2022/f-connection/f-connection-content/polyline-content-engine/polyline-content-align.mjs +0 -6
- package/esm2022/f-connection/f-connection-content/polyline-content-engine/polyline-content-layout-engine.mjs +0 -28
- package/esm2022/f-connection/f-connection-content/polyline-content-engine/polyline-content-place.mjs +0 -66
- package/esm2022/f-connection/f-connection-content/polyline-content-engine/polyline-sampler/i-sampler-result.mjs +0 -2
- package/esm2022/f-connection/f-connection-content/polyline-content-engine/polyline-sampler/i-tangent.mjs +0 -2
- package/esm2022/f-connection/f-connection-content/polyline-content-engine/polyline-sampler/index.mjs +0 -5
- package/esm2022/f-connection/f-connection-content/polyline-content-engine/polyline-sampler/polyline-sampler.mjs +0 -143
- package/esm2022/f-connection/f-connection-content/polyline-content-engine/polyline-sampler/polyline.mjs +0 -68
- package/esm2022/f-connection/f-marker/e-f-marker-type.mjs +0 -8
- package/esm2022/f-connection/f-marker/f-marker-base.mjs +0 -5
- package/esm2022/f-connection/f-marker/f-marker.directive.mjs +0 -51
- package/esm2022/f-connection/f-marker/index.mjs +0 -4
- package/esm2022/f-connectors/e-f-connectable-side.mjs +0 -12
- package/esm2022/f-draggable/domain/f-drag-started-event.mjs +0 -11
- package/esm2022/f-draggable/domain/is-connection-under-node/f-node-intersected-with-connections.mjs +0 -9
- package/esm2022/f-draggable/domain/is-connection-under-node/index.mjs +0 -4
- package/esm2022/f-draggable/domain/is-connection-under-node/is-connection-under-node.execution.mjs +0 -74
- package/esm2022/f-draggable/domain/is-connection-under-node/is-connection-under-node.request.mjs +0 -8
- package/esm2022/f-draggable/f-canvas/f-canvas.drag-handler.mjs +0 -23
- package/esm2022/f-draggable/f-canvas/index.mjs +0 -5
- package/esm2022/f-draggable/f-canvas/move-finalize/f-canvas-move-finalize.execution.mjs +0 -29
- package/esm2022/f-draggable/f-canvas/move-finalize/f-canvas-move-finalize.request.mjs +0 -8
- package/esm2022/f-draggable/f-canvas/move-finalize/index.mjs +0 -3
- package/esm2022/f-draggable/f-canvas/move-preparation/f-canvas-move-preparation.execution.mjs +0 -58
- package/esm2022/f-draggable/f-canvas/move-preparation/f-canvas-move-preparation.request.mjs +0 -10
- package/esm2022/f-draggable/f-canvas/move-preparation/index.mjs +0 -3
- package/esm2022/f-draggable/f-canvas/providers.mjs +0 -7
- package/esm2022/f-draggable/f-connection/f-create-connection/create-finalize/f-create-connection-finalize.execution.mjs +0 -62
- package/esm2022/f-draggable/f-connection/f-create-connection/create-finalize/f-create-connection-finalize.request.mjs +0 -8
- package/esm2022/f-draggable/f-connection/f-create-connection/create-finalize/index.mjs +0 -3
- package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/create-connection-preparation-request.mjs +0 -10
- package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/create-connection-preparation.mjs +0 -58
- package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/drag-handler-preparation/f-create-connection-drag-handler-preparation.execution.mjs +0 -41
- package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/drag-handler-preparation/f-create-connection-drag-handler-preparation.request.mjs +0 -10
- package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/drag-handler-preparation/index.mjs +0 -3
- package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/from-outlet-preparation/f-create-connection-from-outlet-preparation.execution.mjs +0 -54
- package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/from-outlet-preparation/f-create-connection-from-outlet-preparation.request.mjs +0 -10
- package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/from-outlet-preparation/index.mjs +0 -3
- package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/from-output-preparation/create-connection-from-output-preparation-request.mjs +0 -10
- package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/from-output-preparation/create-connection-from-output-preparation.mjs +0 -47
- package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/from-output-preparation/index.mjs +0 -3
- package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/index.mjs +0 -6
- package/esm2022/f-draggable/f-connection/f-create-connection/f-create-connection.drag-handler.mjs +0 -99
- package/esm2022/f-draggable/f-connection/f-create-connection/f-create-connection.event.mjs +0 -11
- package/esm2022/f-draggable/f-connection/f-create-connection/get-first-connectable-output/get-first-connectable-output.execution.mjs +0 -47
- package/esm2022/f-draggable/f-connection/f-create-connection/get-first-connectable-output/get-first-connectable-output.request.mjs +0 -8
- package/esm2022/f-draggable/f-connection/f-create-connection/get-first-connectable-output/index.mjs +0 -3
- package/esm2022/f-draggable/f-connection/f-create-connection/i-f-create-connection-drag-result.mjs +0 -2
- package/esm2022/f-draggable/f-connection/f-create-connection/index.mjs +0 -7
- package/esm2022/f-draggable/f-connection/f-reassign-connection/f-reassign-connection.drag-handler.mjs +0 -77
- package/esm2022/f-draggable/f-connection/f-reassign-connection/f-reassign-connection.event.mjs +0 -21
- package/esm2022/f-draggable/f-connection/f-reassign-connection/f-reassign-source.drag-handler.mjs +0 -83
- package/esm2022/f-draggable/f-connection/f-reassign-connection/f-reassign-target.drag-handler.mjs +0 -82
- package/esm2022/f-draggable/f-connection/f-reassign-connection/i-f-reassign-connection-drag-result.mjs +0 -2
- package/esm2022/f-draggable/f-connection/f-reassign-connection/i-f-reassign-handler.mjs +0 -8
- package/esm2022/f-draggable/f-connection/f-reassign-connection/index.mjs +0 -10
- package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-finalize/f-reassign-connection-finalize.execution.mjs +0 -69
- package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-finalize/f-reassign-connection-finalize.request.mjs +0 -8
- package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-finalize/index.mjs +0 -3
- package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-preparation/f-reassign-connection-preparation.execution.mjs +0 -73
- package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-preparation/f-reassign-connection-preparation.request.mjs +0 -10
- package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-preparation/index.mjs +0 -4
- package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-preparation/is-pointer-inside-start-or-end-drag-handles.mjs +0 -17
- package/esm2022/f-draggable/f-connection/index.mjs +0 -4
- package/esm2022/f-draggable/f-connection/providers.mjs +0 -13
- package/esm2022/f-draggable/f-drag-handler/f-drag-handler-result.mjs +0 -20
- package/esm2022/f-draggable/f-drag-handler/i-f-drag-handler.mjs +0 -2
- package/esm2022/f-draggable/f-drag-handler/index.mjs +0 -3
- package/esm2022/f-draggable/f-drop-to-group/drop-to-group-finalize/drop-to-group-finalize-request.mjs +0 -8
- package/esm2022/f-draggable/f-drop-to-group/drop-to-group-finalize/drop-to-group-finalize.mjs +0 -69
- package/esm2022/f-draggable/f-drop-to-group/drop-to-group-finalize/index.mjs +0 -3
- package/esm2022/f-draggable/f-drop-to-group/drop-to-group-preparation/drop-to-group-preparation-request.mjs +0 -8
- package/esm2022/f-draggable/f-drop-to-group/drop-to-group-preparation/drop-to-group-preparation.mjs +0 -99
- package/esm2022/f-draggable/f-drop-to-group/drop-to-group-preparation/index.mjs +0 -3
- package/esm2022/f-draggable/f-drop-to-group/f-drop-to-group.event.mjs +0 -11
- package/esm2022/f-draggable/f-drop-to-group/f-node-drop-to-group.drag-handler.mjs +0 -67
- package/esm2022/f-draggable/f-drop-to-group/index.mjs +0 -7
- package/esm2022/f-draggable/f-drop-to-group/providers.mjs +0 -9
- package/esm2022/f-draggable/f-drop-to-group/sort-containers-for-drop-by-layer/index.mjs +0 -3
- package/esm2022/f-draggable/f-drop-to-group/sort-containers-for-drop-by-layer/sort-containers-for-drop-by-layer-request.mjs +0 -8
- package/esm2022/f-draggable/f-drop-to-group/sort-containers-for-drop-by-layer/sort-containers-for-drop-by-layer.mjs +0 -54
- package/esm2022/f-draggable/f-node-move/connection-drag-handlers/base-connection.drag-handler.mjs +0 -57
- package/esm2022/f-draggable/f-node-move/connection-drag-handlers/index.mjs +0 -5
- package/esm2022/f-draggable/f-node-move/connection-drag-handlers/source-connection.drag-handler.mjs +0 -11
- package/esm2022/f-draggable/f-node-move/connection-drag-handlers/source-target-connection.drag-handler.mjs +0 -22
- package/esm2022/f-draggable/f-node-move/connection-drag-handlers/target-connection.drag-handler.mjs +0 -11
- package/esm2022/f-draggable/f-node-move/constraint/drag-constraint-pipeline.mjs +0 -29
- package/esm2022/f-draggable/f-node-move/constraint/expand-rect-from-baseline.mjs +0 -20
- package/esm2022/f-draggable/f-node-move/constraint/index.mjs +0 -5
- package/esm2022/f-draggable/f-node-move/constraint/rect-constraint.mjs +0 -37
- package/esm2022/f-draggable/f-node-move/constraint/snap-to-grid.mjs +0 -36
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/build-drag-hierarchy/build-drag-hierarchy-request.mjs +0 -8
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/build-drag-hierarchy/build-drag-hierarchy-response.mjs +0 -9
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/build-drag-hierarchy/build-drag-hierarchy.mjs +0 -47
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/build-drag-hierarchy/index.mjs +0 -4
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/calculate-drag-limits/calculate-drag-limits-request.mjs +0 -8
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/calculate-drag-limits/calculate-drag-limits.mjs +0 -72
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/calculate-drag-limits/i-drag-limits.mjs +0 -2
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/calculate-drag-limits/i-soft-limit.mjs +0 -2
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/calculate-drag-limits/index.mjs +0 -5
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/create-drag-model-from-selection-request.mjs +0 -8
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/create-drag-model-from-selection.mjs +0 -85
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/create-input-connection-handler-and-set-to-node-handler/create-input-connection-handler-and-set-to-node-handler-request.mjs +0 -12
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/create-input-connection-handler-and-set-to-node-handler/create-input-connection-handler-and-set-to-node-handler.mjs +0 -59
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/create-input-connection-handler-and-set-to-node-handler/index.mjs +0 -3
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/create-output-connection-handler-and-set-to-node-handler/create-output-connection-handler-and-set-to-node-handler-request.mjs +0 -12
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/create-output-connection-handler-and-set-to-node-handler/create-output-connection-handler-and-set-to-node-handler.mjs +0 -59
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/create-output-connection-handler-and-set-to-node-handler/index.mjs +0 -3
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/create-summary-drag-handler/create-summary-drag-handler-request.mjs +0 -10
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/create-summary-drag-handler/create-summary-drag-handler.mjs +0 -33
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/create-summary-drag-handler/index.mjs +0 -3
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/get-node-bounding-include-paddings/get-node-bounding-include-paddings-request.mjs +0 -10
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/get-node-bounding-include-paddings/get-node-bounding-include-paddings-response.mjs +0 -13
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/get-node-bounding-include-paddings/get-node-bounding-include-paddings.mjs +0 -39
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/get-node-bounding-include-paddings/index.mjs +0 -4
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/i-node-move-limits-and-position.mjs +0 -2
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/i-node-move-limits.mjs +0 -2
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/index.mjs +0 -12
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/providers.mjs +0 -17
- package/esm2022/f-draggable/f-node-move/create-snap-lines/create-snap-lines-request.mjs +0 -8
- package/esm2022/f-draggable/f-node-move/create-snap-lines/create-snap-lines.mjs +0 -52
- package/esm2022/f-draggable/f-node-move/create-snap-lines/index.mjs +0 -3
- package/esm2022/f-draggable/f-node-move/create-snap-lines/snap-lines.drag-handler.mjs +0 -51
- package/esm2022/f-draggable/f-node-move/f-move-nodes.event.mjs +0 -13
- package/esm2022/f-draggable/f-node-move/index.mjs +0 -13
- package/esm2022/f-draggable/f-node-move/move-drag-handler.mjs +0 -95
- package/esm2022/f-draggable/f-node-move/move-finalize/f-node-move-finalize.execution.mjs +0 -87
- package/esm2022/f-draggable/f-node-move/move-finalize/f-node-move-finalize.request.mjs +0 -8
- package/esm2022/f-draggable/f-node-move/move-finalize/index.mjs +0 -3
- package/esm2022/f-draggable/f-node-move/move-preparation/f-node-move-preparation.execution.mjs +0 -82
- package/esm2022/f-draggable/f-node-move/move-preparation/f-node-move-preparation.request.mjs +0 -10
- package/esm2022/f-draggable/f-node-move/move-preparation/index.mjs +0 -3
- package/esm2022/f-draggable/f-node-move/move-summary-drag-handler.mjs +0 -44
- package/esm2022/f-draggable/f-node-move/providers.mjs +0 -11
- package/esm2022/f-draggable/f-single-select/f-single-select.execution.mjs +0 -138
- package/esm2022/f-draggable/f-single-select/f-single-select.request.mjs +0 -10
- package/esm2022/f-draggable/f-single-select/index.mjs +0 -4
- package/esm2022/f-draggable/f-single-select/providers.mjs +0 -5
- package/esm2022/f-line-alignment/domain/i-line-alignment-rect.mjs +0 -2
- package/esm2022/f-line-alignment/domain/i-snap-coordinate.mjs +0 -2
- package/esm2022/f-line-alignment/domain/i-snap-result.mjs +0 -2
- package/esm2022/f-line-alignment/domain/index.mjs +0 -6
- package/esm2022/f-line-alignment/domain/snap-line-element.mjs +0 -28
- package/esm2022/f-line-alignment/domain/snap-line-service.mjs +0 -36
- package/esm2022/f-line-alignment/f-line-alignment-base.mjs +0 -11
- package/esm2022/f-selection-area/domain/index.mjs +0 -5
- package/esm2022/f-selection-area/domain/providers.mjs +0 -7
- package/esm2022/f-selection-area/domain/selection-area-finalize/index.mjs +0 -3
- package/esm2022/f-selection-area/domain/selection-area-finalize/selection-area-finalize.execution.mjs +0 -31
- package/esm2022/f-selection-area/domain/selection-area-finalize/selection-area-finalize.request.mjs +0 -8
- package/esm2022/f-selection-area/domain/selection-area-preparation/index.mjs +0 -3
- package/esm2022/f-selection-area/domain/selection-area-preparation/selection-area-preparation.execution.mjs +0 -43
- package/esm2022/f-selection-area/domain/selection-area-preparation/selection-area-preparation.request.mjs +0 -12
- package/esm2022/f-selection-area/domain/selection-area.drag-handle.mjs +0 -57
- package/esm2022/f-selection-area/f-selection-area.component.mjs +0 -53
- package/esm2022/f-storage/f-connectors-store.mjs +0 -11
- package/esm2022/f-storage/features/listen-components-data-changed/index.mjs +0 -3
- package/esm2022/f-storage/features/listen-components-data-changed/listen-data-changes-request.mjs +0 -4
- package/esm2022/f-storage/features/listen-components-data-changed/listen-data-changes.execution.mjs +0 -23
- package/esm2022/f-storage/features/listen-count-changes/listen-count-changes.execution.mjs +0 -23
- package/esm2022/f-storage/features/listen-transform-changes/listen-transform-changes.execution.mjs +0 -23
- package/esm2022/f-storage/features/listen-transform-changes/listen-transform-changes.request.mjs +0 -4
- package/esm2022/f-storage/features/notify-data-changed/notify-data-changed.execution.mjs +0 -22
- package/esm2022/f-storage/features/notify-transform-changed/notify-transform-changed.execution.mjs +0 -22
- package/esm2022/f-storage/features/notify-transform-changed/notify-transform-changed.request.mjs +0 -4
- package/f-connection/common/domain/adaptive-curve-builder.d.ts +0 -102
- package/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points-request.d.ts +0 -7
- package/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points.handler.d.ts +0 -6
- package/f-connection/common/domain/calculate-center-between-points/index.d.ts +0 -2
- package/f-connection/common/domain/calculate-connection-center/calculate-connection-center-request.d.ts +0 -6
- package/f-connection/common/domain/calculate-connection-center/calculate-connection-center.handler.d.ts +0 -8
- package/f-connection/common/domain/calculate-connection-center/index.d.ts +0 -2
- package/f-connection/common/domain/f-bezier.path-builder.d.ts +0 -6
- package/f-connection/common/domain/f-segment.path-builder.d.ts +0 -11
- package/f-connection/common/domain/f-straight.path-builder.d.ts +0 -4
- package/f-connection/common/domain/index.d.ts +0 -6
- package/f-connection/common/f-connection-base.d.ts +0 -80
- package/f-connection/common/f-connection-identifiers.d.ts +0 -8
- package/f-connection/common/f-connection-text/f-connection-text-path.directive.d.ts +0 -18
- package/f-connection/common/f-connection-text/f-connection-text.component.d.ts +0 -16
- package/f-connection/common/f-connection-text/i-connection-text.d.ts +0 -7
- package/f-connection/common/f-connection-text/index.d.ts +0 -3
- package/f-connection/common/f-connection.injection-token.d.ts +0 -2
- package/f-connection/common/f-drag-handle/f-connection-drag-handle-end.component.d.ts +0 -13
- package/f-connection/common/f-drag-handle/f-connection-drag-handle-start.component.d.ts +0 -13
- package/f-connection/common/f-drag-handle/index.d.ts +0 -2
- package/f-connection/common/f-gradient/f-connection-gradient.component.d.ts +0 -17
- package/f-connection/common/f-gradient/i-connection-gradient.d.ts +0 -8
- package/f-connection/common/f-gradient/index.d.ts +0 -2
- package/f-connection/common/f-path/f-connection-path.component.d.ts +0 -15
- package/f-connection/common/f-path/get-path-marker-id.d.ts +0 -4
- package/f-connection/common/f-path/i-connection-path.d.ts +0 -9
- package/f-connection/common/f-path/index.d.ts +0 -3
- package/f-connection/common/f-selection/f-connection-selection.component.d.ts +0 -10
- package/f-connection/common/f-selection/index.d.ts +0 -1
- package/f-connection/common/i-has-connection-color.d.ts +0 -5
- package/f-connection/common/i-has-connection-from-to.d.ts +0 -6
- package/f-connection/common/i-has-connection-text.d.ts +0 -4
- package/f-connection/common/index.d.ts +0 -14
- package/f-connection/f-connection-builder/f-connection-builders.d.ts +0 -4
- package/f-connection/f-connection-builder/f-connection-factory.d.ts +0 -9
- package/f-connection/f-connection-builder/i-f-connection-builder-request.d.ts +0 -10
- package/f-connection/f-connection-builder/i-f-connection-builder-response.d.ts +0 -8
- package/f-connection/f-connection-builder/i-f-connection-builder.d.ts +0 -6
- package/f-connection/f-connection-builder/i-f-connection-factory-request.d.ts +0 -6
- package/f-connection/f-connection-builder/index.d.ts +0 -6
- package/f-connection/f-connection-center/f-connection-center.directive.d.ts +0 -10
- package/f-connection/f-connection-center/index.d.ts +0 -1
- package/f-connection/f-connection-content/f-connection-content.d.ts +0 -69
- package/f-connection/f-connection-content/index.d.ts +0 -2
- package/f-connection/f-connection-content/polyline-content-engine/polyline-content-layout-engine.d.ts +0 -21
- package/f-connection/f-marker/f-marker-base.d.ts +0 -13
- package/f-connection/f-marker/f-marker.directive.d.ts +0 -18
- package/f-connection/f-marker/index.d.ts +0 -3
- package/f-draggable/domain/f-drag-started-event.d.ts +0 -5
- package/f-draggable/domain/is-connection-under-node/f-node-intersected-with-connections.d.ts +0 -5
- package/f-draggable/domain/is-connection-under-node/index.d.ts +0 -3
- package/f-draggable/domain/is-connection-under-node/is-connection-under-node.execution.d.ts +0 -18
- package/f-draggable/domain/is-connection-under-node/is-connection-under-node.request.d.ts +0 -6
- package/f-draggable/f-canvas/f-canvas.drag-handler.d.ts +0 -12
- package/f-draggable/f-canvas/index.d.ts +0 -4
- package/f-draggable/f-canvas/move-finalize/f-canvas-move-finalize.execution.d.ts +0 -10
- package/f-draggable/f-canvas/move-finalize/f-canvas-move-finalize.request.d.ts +0 -6
- package/f-draggable/f-canvas/move-finalize/index.d.ts +0 -2
- package/f-draggable/f-canvas/move-preparation/f-canvas-move-preparation.execution.d.ts +0 -17
- package/f-draggable/f-canvas/move-preparation/f-canvas-move-preparation.request.d.ts +0 -8
- package/f-draggable/f-canvas/move-preparation/index.d.ts +0 -2
- package/f-draggable/f-canvas/providers.d.ts +0 -3
- package/f-draggable/f-connection/f-create-connection/create-finalize/f-create-connection-finalize.execution.d.ts +0 -19
- package/f-draggable/f-connection/f-create-connection/create-finalize/f-create-connection-finalize.request.d.ts +0 -6
- package/f-draggable/f-connection/f-create-connection/create-finalize/index.d.ts +0 -2
- package/f-draggable/f-connection/f-create-connection/create-preparation/create-connection-preparation.d.ts +0 -16
- package/f-draggable/f-connection/f-create-connection/create-preparation/drag-handler-preparation/f-create-connection-drag-handler-preparation.execution.d.ts +0 -13
- package/f-draggable/f-connection/f-create-connection/create-preparation/drag-handler-preparation/f-create-connection-drag-handler-preparation.request.d.ts +0 -8
- package/f-draggable/f-connection/f-create-connection/create-preparation/drag-handler-preparation/index.d.ts +0 -2
- package/f-draggable/f-connection/f-create-connection/create-preparation/from-outlet-preparation/f-create-connection-from-outlet-preparation.execution.d.ts +0 -14
- package/f-draggable/f-connection/f-create-connection/create-preparation/from-outlet-preparation/f-create-connection-from-outlet-preparation.request.d.ts +0 -8
- package/f-draggable/f-connection/f-create-connection/create-preparation/from-outlet-preparation/index.d.ts +0 -2
- package/f-draggable/f-connection/f-create-connection/create-preparation/from-output-preparation/create-connection-from-output-preparation.d.ts +0 -14
- package/f-draggable/f-connection/f-create-connection/create-preparation/index.d.ts +0 -5
- package/f-draggable/f-connection/f-create-connection/f-create-connection.drag-handler.d.ts +0 -28
- package/f-draggable/f-connection/f-create-connection/f-create-connection.event.d.ts +0 -7
- package/f-draggable/f-connection/f-create-connection/get-first-connectable-output/get-first-connectable-output.execution.d.ts +0 -16
- package/f-draggable/f-connection/f-create-connection/get-first-connectable-output/get-first-connectable-output.request.d.ts +0 -6
- package/f-draggable/f-connection/f-create-connection/get-first-connectable-output/index.d.ts +0 -2
- package/f-draggable/f-connection/f-create-connection/i-f-create-connection-drag-result.d.ts +0 -7
- package/f-draggable/f-connection/f-create-connection/index.d.ts +0 -6
- package/f-draggable/f-connection/f-reassign-connection/f-reassign-connection.drag-handler.d.ts +0 -25
- package/f-draggable/f-connection/f-reassign-connection/f-reassign-connection.event.d.ts +0 -12
- package/f-draggable/f-connection/f-reassign-connection/f-reassign-source.drag-handler.d.ts +0 -27
- package/f-draggable/f-connection/f-reassign-connection/f-reassign-target.drag-handler.d.ts +0 -28
- package/f-draggable/f-connection/f-reassign-connection/i-f-reassign-connection-drag-result.d.ts +0 -10
- package/f-draggable/f-connection/f-reassign-connection/i-f-reassign-handler.d.ts +0 -12
- package/f-draggable/f-connection/f-reassign-connection/index.d.ts +0 -9
- package/f-draggable/f-connection/f-reassign-connection/reassign-finalize/f-reassign-connection-finalize.execution.d.ts +0 -20
- package/f-draggable/f-connection/f-reassign-connection/reassign-finalize/f-reassign-connection-finalize.request.d.ts +0 -6
- package/f-draggable/f-connection/f-reassign-connection/reassign-finalize/index.d.ts +0 -2
- package/f-draggable/f-connection/f-reassign-connection/reassign-preparation/f-reassign-connection-preparation.execution.d.ts +0 -22
- package/f-draggable/f-connection/f-reassign-connection/reassign-preparation/f-reassign-connection-preparation.request.d.ts +0 -8
- package/f-draggable/f-connection/f-reassign-connection/reassign-preparation/index.d.ts +0 -3
- package/f-draggable/f-connection/f-reassign-connection/reassign-preparation/is-pointer-inside-start-or-end-drag-handles.d.ts +0 -5
- package/f-draggable/f-connection/index.d.ts +0 -3
- package/f-draggable/f-connection/providers.d.ts +0 -3
- package/f-draggable/f-drag-handler/i-f-drag-handler.d.ts +0 -8
- package/f-draggable/f-drag-handler/index.d.ts +0 -2
- package/f-draggable/f-drop-to-group/drop-to-group-finalize/drop-to-group-finalize-request.d.ts +0 -6
- package/f-draggable/f-drop-to-group/drop-to-group-finalize/drop-to-group-finalize.d.ts +0 -16
- package/f-draggable/f-drop-to-group/drop-to-group-preparation/drop-to-group-preparation.d.ts +0 -29
- package/f-draggable/f-drop-to-group/f-drop-to-group.event.d.ts +0 -7
- package/f-draggable/f-drop-to-group/f-node-drop-to-group.drag-handler.d.ts +0 -22
- package/f-draggable/f-drop-to-group/index.d.ts +0 -6
- package/f-draggable/f-drop-to-group/providers.d.ts +0 -4
- package/f-draggable/f-drop-to-group/sort-containers-for-drop-by-layer/index.d.ts +0 -2
- package/f-draggable/f-drop-to-group/sort-containers-for-drop-by-layer/sort-containers-for-drop-by-layer-request.d.ts +0 -6
- package/f-draggable/f-drop-to-group/sort-containers-for-drop-by-layer/sort-containers-for-drop-by-layer.d.ts +0 -10
- package/f-draggable/f-node-move/connection-drag-handlers/base-connection.drag-handler.d.ts +0 -22
- package/f-draggable/f-node-move/connection-drag-handlers/index.d.ts +0 -4
- package/f-draggable/f-node-move/connection-drag-handlers/source-connection.drag-handler.d.ts +0 -8
- package/f-draggable/f-node-move/connection-drag-handlers/source-target-connection.drag-handler.d.ts +0 -11
- package/f-draggable/f-node-move/connection-drag-handlers/target-connection.drag-handler.d.ts +0 -8
- package/f-draggable/f-node-move/constraint/drag-constraint-pipeline.d.ts +0 -17
- package/f-draggable/f-node-move/constraint/expand-rect-from-baseline.d.ts +0 -3
- package/f-draggable/f-node-move/constraint/index.d.ts +0 -4
- package/f-draggable/f-node-move/constraint/rect-constraint.d.ts +0 -19
- package/f-draggable/f-node-move/constraint/snap-to-grid.d.ts +0 -15
- package/f-draggable/f-node-move/create-drag-model-from-selection/build-drag-hierarchy/build-drag-hierarchy-request.d.ts +0 -6
- package/f-draggable/f-node-move/create-drag-model-from-selection/build-drag-hierarchy/build-drag-hierarchy-response.d.ts +0 -6
- package/f-draggable/f-node-move/create-drag-model-from-selection/build-drag-hierarchy/build-drag-hierarchy.d.ts +0 -13
- package/f-draggable/f-node-move/create-drag-model-from-selection/build-drag-hierarchy/index.d.ts +0 -3
- package/f-draggable/f-node-move/create-drag-model-from-selection/calculate-drag-limits/calculate-drag-limits-request.d.ts +0 -6
- package/f-draggable/f-node-move/create-drag-model-from-selection/calculate-drag-limits/calculate-drag-limits.d.ts +0 -19
- package/f-draggable/f-node-move/create-drag-model-from-selection/calculate-drag-limits/i-drag-limits.d.ts +0 -6
- package/f-draggable/f-node-move/create-drag-model-from-selection/calculate-drag-limits/i-soft-limit.d.ts +0 -8
- package/f-draggable/f-node-move/create-drag-model-from-selection/calculate-drag-limits/index.d.ts +0 -4
- package/f-draggable/f-node-move/create-drag-model-from-selection/create-drag-model-from-selection-request.d.ts +0 -6
- package/f-draggable/f-node-move/create-drag-model-from-selection/create-drag-model-from-selection.d.ts +0 -24
- package/f-draggable/f-node-move/create-drag-model-from-selection/create-input-connection-handler-and-set-to-node-handler/create-input-connection-handler-and-set-to-node-handler-request.d.ts +0 -9
- package/f-draggable/f-node-move/create-drag-model-from-selection/create-input-connection-handler-and-set-to-node-handler/create-input-connection-handler-and-set-to-node-handler.d.ts +0 -16
- package/f-draggable/f-node-move/create-drag-model-from-selection/create-input-connection-handler-and-set-to-node-handler/index.d.ts +0 -2
- package/f-draggable/f-node-move/create-drag-model-from-selection/create-output-connection-handler-and-set-to-node-handler/create-output-connection-handler-and-set-to-node-handler-request.d.ts +0 -9
- package/f-draggable/f-node-move/create-drag-model-from-selection/create-output-connection-handler-and-set-to-node-handler/create-output-connection-handler-and-set-to-node-handler.d.ts +0 -18
- package/f-draggable/f-node-move/create-drag-model-from-selection/create-output-connection-handler-and-set-to-node-handler/index.d.ts +0 -2
- package/f-draggable/f-node-move/create-drag-model-from-selection/create-summary-drag-handler/create-summary-drag-handler-request.d.ts +0 -7
- package/f-draggable/f-node-move/create-drag-model-from-selection/create-summary-drag-handler/create-summary-drag-handler.d.ts +0 -13
- package/f-draggable/f-node-move/create-drag-model-from-selection/create-summary-drag-handler/index.d.ts +0 -2
- package/f-draggable/f-node-move/create-drag-model-from-selection/get-node-bounding-include-paddings/get-node-bounding-include-paddings-request.d.ts +0 -7
- package/f-draggable/f-node-move/create-drag-model-from-selection/get-node-bounding-include-paddings/get-node-bounding-include-paddings-response.d.ts +0 -9
- package/f-draggable/f-node-move/create-drag-model-from-selection/get-node-bounding-include-paddings/get-node-bounding-include-paddings.d.ts +0 -13
- package/f-draggable/f-node-move/create-drag-model-from-selection/get-node-bounding-include-paddings/index.d.ts +0 -3
- package/f-draggable/f-node-move/create-drag-model-from-selection/i-node-move-limits-and-position.d.ts +0 -5
- package/f-draggable/f-node-move/create-drag-model-from-selection/i-node-move-limits.d.ts +0 -3
- package/f-draggable/f-node-move/create-drag-model-from-selection/index.d.ts +0 -11
- package/f-draggable/f-node-move/create-drag-model-from-selection/providers.d.ts +0 -8
- package/f-draggable/f-node-move/create-snap-lines/create-snap-lines-request.d.ts +0 -6
- package/f-draggable/f-node-move/create-snap-lines/create-snap-lines.d.ts +0 -19
- package/f-draggable/f-node-move/create-snap-lines/index.d.ts +0 -2
- package/f-draggable/f-node-move/create-snap-lines/snap-lines.drag-handler.d.ts +0 -16
- package/f-draggable/f-node-move/f-move-nodes.event.d.ts +0 -15
- package/f-draggable/f-node-move/index.d.ts +0 -12
- package/f-draggable/f-node-move/move-drag-handler.d.ts +0 -33
- package/f-draggable/f-node-move/move-finalize/f-node-move-finalize.execution.d.ts +0 -23
- package/f-draggable/f-node-move/move-finalize/f-node-move-finalize.request.d.ts +0 -6
- package/f-draggable/f-node-move/move-finalize/index.d.ts +0 -2
- package/f-draggable/f-node-move/move-preparation/f-node-move-preparation.execution.d.ts +0 -20
- package/f-draggable/f-node-move/move-preparation/f-node-move-preparation.request.d.ts +0 -8
- package/f-draggable/f-node-move/move-preparation/index.d.ts +0 -2
- package/f-draggable/f-node-move/move-summary-drag-handler.d.ts +0 -22
- package/f-draggable/f-node-move/providers.d.ts +0 -4
- package/f-draggable/f-single-select/f-single-select.execution.d.ts +0 -62
- package/f-draggable/f-single-select/f-single-select.request.d.ts +0 -8
- package/f-draggable/f-single-select/index.d.ts +0 -3
- package/f-draggable/f-single-select/providers.d.ts +0 -2
- package/f-line-alignment/domain/i-line-alignment-rect.d.ts +0 -6
- package/f-line-alignment/domain/i-snap-coordinate.d.ts +0 -4
- package/f-line-alignment/domain/i-snap-result.d.ts +0 -5
- package/f-line-alignment/domain/index.d.ts +0 -5
- package/f-line-alignment/domain/snap-line-element.d.ts +0 -9
- package/f-line-alignment/domain/snap-line-service.d.ts +0 -11
- package/f-line-alignment/f-line-alignment-base.d.ts +0 -10
- package/f-selection-area/domain/index.d.ts +0 -4
- package/f-selection-area/domain/providers.d.ts +0 -3
- package/f-selection-area/domain/selection-area-finalize/index.d.ts +0 -2
- package/f-selection-area/domain/selection-area-finalize/selection-area-finalize.execution.d.ts +0 -10
- package/f-selection-area/domain/selection-area-finalize/selection-area-finalize.request.d.ts +0 -6
- package/f-selection-area/domain/selection-area-preparation/index.d.ts +0 -2
- package/f-selection-area/domain/selection-area-preparation/selection-area-preparation.execution.d.ts +0 -13
- package/f-selection-area/domain/selection-area-preparation/selection-area-preparation.request.d.ts +0 -10
- package/f-selection-area/domain/selection-area.drag-handle.d.ts +0 -20
- package/f-selection-area/f-selection-area.component.d.ts +0 -21
- package/f-storage/f-connectors-store.d.ts +0 -6
- package/f-storage/features/listen-components-data-changed/index.d.ts +0 -2
- package/f-storage/features/listen-components-data-changed/listen-data-changes.execution.d.ts +0 -10
- package/f-storage/features/listen-count-changes/listen-count-changes.execution.d.ts +0 -10
- package/f-storage/features/listen-transform-changes/listen-transform-changes.execution.d.ts +0 -10
- package/f-storage/features/notify-data-changed/notify-data-changed.execution.d.ts +0 -9
- package/f-storage/features/notify-transform-changed/notify-transform-changed.execution.d.ts +0 -9
- /package/domain/f-background/add-pattern-to-background/{add-pattern-to-background.request.d.ts → add-pattern-to-background-request.d.ts} +0 -0
- /package/domain/f-flow/{get-flow-state → calculate-flow-state}/i-f-flow-state-node.d.ts +0 -0
- /package/domain/f-flow/{get-flow-state → calculate-flow-state}/i-f-flow-state.d.ts +0 -0
- /package/domain/f-selection/{get-can-be-selected-items → calculate-selectable-items}/i-can-be-selected-element-and-rect.d.ts +0 -0
- /package/domain/f-selection/select-all/{select-all.request.d.ts → select-all-request.d.ts} +0 -0
- /package/domain/f-selection/select-and-update-node-layer/{select-and-update-node-layer.request.d.ts → select-and-update-node-layer-request.d.ts} +0 -0
- /package/domain/sort-item-layers/{sort-item-layers.request.d.ts → sort-item-layers-request.d.ts} +0 -0
- /package/domain/update-item-and-children-layers/{update-item-and-children-layers.request.d.ts → update-item-and-children-layers-request.d.ts} +0 -0
- /package/f-canvas/domain/{f-canvas-change.event.d.ts → f-canvas-change-event.d.ts} +0 -0
- /package/{f-connection/f-connection-content/polyline-content-engine → f-connection-v2/components/connection-content/utils}/i-polyline-content.d.ts +0 -0
- /package/{f-connection/f-connection-content/polyline-content-engine → f-connection-v2/components/connection-content/utils}/index.d.ts +0 -0
- /package/{f-connection/f-connection-content/polyline-content-engine → f-connection-v2/components/connection-content/utils}/polyline-content-align.d.ts +0 -0
- /package/{f-connection/f-connection-content/polyline-content-engine → f-connection-v2/components/connection-content/utils}/polyline-content-place.d.ts +0 -0
- /package/{f-connection/f-connection-content/polyline-content-engine → f-connection-v2/components/connection-content/utils}/polyline-sampler/i-sampler-result.d.ts +0 -0
- /package/{f-connection/f-connection-content/polyline-content-engine → f-connection-v2/components/connection-content/utils}/polyline-sampler/i-tangent.d.ts +0 -0
- /package/{f-connection/f-connection-content/polyline-content-engine → f-connection-v2/components/connection-content/utils}/polyline-sampler/index.d.ts +0 -0
- /package/{f-connection/f-connection-content/polyline-content-engine → f-connection-v2/components/connection-content/utils}/polyline-sampler/polyline-sampler.d.ts +0 -0
- /package/{f-connection/f-connection-content/polyline-content-engine → f-connection-v2/components/connection-content/utils}/polyline-sampler/polyline.d.ts +0 -0
- /package/{f-connection/f-marker → f-connection-v2/components/connection-marker/enums}/e-f-marker-type.d.ts +0 -0
- /package/{f-connectors → f-connection-v2/enums}/e-f-connectable-side.d.ts +0 -0
- /package/{f-connection/common → f-connection-v2/enums}/e-f-connection-type.d.ts +0 -0
- /package/{f-connection/common → f-connection-v2/utils/connection-behaviour/enums}/e-f-connection-behavior.d.ts +0 -0
- /package/{f-connection/common → f-connection-v2/utils/connection-behaviour/enums}/e-f-connection-connectable-side.d.ts +0 -0
- /package/f-draggable/{f-connection/f-create-connection/create-preparation → connection/create-connection/create-connection-preparation}/create-connection-preparation-request.d.ts +0 -0
- /package/f-draggable/{f-connection/f-create-connection/create-preparation → connection/create-connection/create-connection-preparation}/from-output-preparation/create-connection-from-output-preparation-request.d.ts +0 -0
- /package/f-draggable/{f-connection/f-create-connection/create-preparation → connection/create-connection/create-connection-preparation}/from-output-preparation/index.d.ts +0 -0
- /package/{domain/f-draggable → f-draggable/domain}/emit-selection-change-event/emit-selection-change-event-request.d.ts +0 -0
- /package/f-draggable/{f-drop-to-group → drop-to-group}/drop-to-group-finalize/index.d.ts +0 -0
- /package/f-draggable/{f-drop-to-group → drop-to-group}/drop-to-group-preparation/drop-to-group-preparation-request.d.ts +0 -0
- /package/f-draggable/{f-drop-to-group → drop-to-group}/drop-to-group-preparation/index.d.ts +0 -0
- /package/f-draggable/{f-drag-handler → infrastructure}/f-drag-handler-result.d.ts +0 -0
- /package/f-storage/features/{listen-components-data-changed → listen-data-changed}/listen-data-changes-request.d.ts +0 -0
- /package/f-storage/features/listen-transform-changes/{listen-transform-changes.request.d.ts → listen-transform-changes-request.d.ts} +0 -0
- /package/f-storage/features/notify-transform-changed/{notify-transform-changed.request.d.ts → notify-transform-changed-request.d.ts} +0 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { findWaypointCandidate } from './find-waypoint-candidate';
|
|
2
|
+
import { findExistingWaypoint } from './find-existing-waypoint';
|
|
3
|
+
export function pickWaypoint(connections, position) {
|
|
4
|
+
for (const connection of connections) {
|
|
5
|
+
const waypoint = findExistingWaypoint(connection, position);
|
|
6
|
+
if (waypoint && connection.fWaypoints()?.visibility()) {
|
|
7
|
+
return { connection, waypoint };
|
|
8
|
+
}
|
|
9
|
+
const candidate = findWaypointCandidate(connection, position);
|
|
10
|
+
if (candidate && connection.fWaypoints()?.visibility()) {
|
|
11
|
+
return { connection, candidate };
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
return undefined;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGljay13YXlwb2ludC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi1jb25uZWN0aW9uLXYyL2NvbXBvbmVudHMvY29ubmVjdGlvbi13YXlwb2ludHMvdXRpbHMvcGljay13YXlwb2ludC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFJQSxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQztBQUNsRSxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQztBQVVoRSxNQUFNLFVBQVUsWUFBWSxDQUMxQixXQUF5QixFQUN6QixRQUFnQjtJQUVoQixLQUFLLE1BQU0sVUFBVSxJQUFJLFdBQVcsRUFBRSxDQUFDO1FBQ3JDLE1BQU0sUUFBUSxHQUFHLG9CQUFvQixDQUFDLFVBQVUsRUFBRSxRQUFRLENBQUMsQ0FBQztRQUM1RCxJQUFJLFFBQVEsSUFBSSxVQUFVLENBQUMsV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aW9uV2F5cG9pbnRzQmFzZSB8IHVuZGVmaW5lZD47XG59O1xuXG5leHBvcnQgZnVuY3Rpb24gcGlja1dheXBvaW50PFQgZXh0ZW5kcyBIYXNXYXlwb2ludHM+KFxuICBjb25uZWN0aW9uczogcmVhZG9ubHkgVFtdLFxuICBwb3NpdGlvbjogSVBvaW50LFxuKTogV2F5cG9pbnRQaWNrPFQ+IHwgdW5kZWZpbmVkIHtcbiAgZm9yIChjb25zdCBjb25uZWN0aW9uIG9mIGNvbm5lY3Rpb25zKSB7XG4gICAgY29uc3Qgd2F5cG9pbnQgPSBmaW5kRXhpc3RpbmdXYXlwb2ludChjb25uZWN0aW9uLCBwb3NpdGlvbik7XG4gICAgaWYgKHdheXBvaW50ICYmIGNvbm5lY3Rpb24uZldheXBvaW50cygpPy52aXNpYmlsaXR5KCkpIHtcbiAgICAgIHJldHVybiB7IGNvbm5lY3Rpb24sIHdheXBvaW50IH07XG4gICAgfVxuXG4gICAgY29uc3QgY2FuZGlkYXRlID0gZmluZFdheXBvaW50Q2FuZGlkYXRlKGNvbm5lY3Rpb24sIHBvc2l0aW9uKTtcbiAgICBpZiAoY2FuZGlkYXRlICYmIGNvbm5lY3Rpb24uZldheXBvaW50cygpPy52aXNpYmlsaXR5KCkpIHtcbiAgICAgIHJldHVybiB7IGNvbm5lY3Rpb24sIGNhbmRpZGF0ZSB9O1xuICAgIH1cbiAgfVxuXG4gIHJldHVybiB1bmRlZmluZWQ7XG59XG4iXX0=
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { contentChild, contentChildren, Directive, ElementRef, inject, input, signal, viewChild, } from '@angular/core';
|
|
2
|
+
import { LineExtensions, PointExtensions } from '@foblex/2d';
|
|
3
|
+
import { mixinChangeSelection, mixinChangeVisibility, } from '../../mixins';
|
|
4
|
+
import { ConnectionLineBuilder, EFConnectionConnectableSide } from '../utils';
|
|
5
|
+
import { EFConnectableSide } from '../enums';
|
|
6
|
+
import { F_CONNECTION_PATH } from './connection-path';
|
|
7
|
+
import { F_CONNECTION_GRADIENT } from './connection-gradient';
|
|
8
|
+
import { F_CONNECTION_DRAG_HANDLE_END, F_CONNECTION_DRAG_HANDLE_START, } from './connection-drag-handles';
|
|
9
|
+
import { F_CONNECTION_SELECTION } from './connection-selection';
|
|
10
|
+
import { ConnectionContentLayoutEngine, F_CONNECTION_CONTENT, } from './connection-content';
|
|
11
|
+
import { F_CONNECTION_WAYPOINTS } from './connection-waypoints';
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
13
|
+
const MIXIN_BASE = mixinChangeSelection(mixinChangeVisibility(class {
|
|
14
|
+
hostElement;
|
|
15
|
+
constructor(hostElement) {
|
|
16
|
+
this.hostElement = hostElement;
|
|
17
|
+
}
|
|
18
|
+
}));
|
|
19
|
+
export class FConnectionBase extends MIXIN_BASE {
|
|
20
|
+
_fConnectionBuilder = inject(ConnectionLineBuilder);
|
|
21
|
+
fStartColor = input('black');
|
|
22
|
+
fEndColor = input('black');
|
|
23
|
+
path = '';
|
|
24
|
+
line = LineExtensions.initialize();
|
|
25
|
+
fReassignableStart = signal(false);
|
|
26
|
+
fDraggingDisabled = signal(false);
|
|
27
|
+
fSelectionDisabled = signal(false);
|
|
28
|
+
fDefs = viewChild.required('defs');
|
|
29
|
+
fPath = viewChild.required(F_CONNECTION_PATH);
|
|
30
|
+
fGradient = viewChild.required(F_CONNECTION_GRADIENT);
|
|
31
|
+
fDragHandleStart = viewChild(F_CONNECTION_DRAG_HANDLE_START);
|
|
32
|
+
fDragHandleEnd = viewChild.required(F_CONNECTION_DRAG_HANDLE_END);
|
|
33
|
+
fSelection = viewChild.required(F_CONNECTION_SELECTION);
|
|
34
|
+
fContents = contentChildren(F_CONNECTION_CONTENT, {
|
|
35
|
+
descendants: true,
|
|
36
|
+
});
|
|
37
|
+
fWaypoints = contentChild(F_CONNECTION_WAYPOINTS);
|
|
38
|
+
fInputSide = signal(EFConnectionConnectableSide.DEFAULT);
|
|
39
|
+
_sourceSide = EFConnectableSide.AUTO;
|
|
40
|
+
fOutputSide = signal(EFConnectionConnectableSide.DEFAULT);
|
|
41
|
+
_targetSide = EFConnectableSide.AUTO;
|
|
42
|
+
_penultimatePoint = PointExtensions.initialize();
|
|
43
|
+
_secondPoint = PointExtensions.initialize();
|
|
44
|
+
constructor() {
|
|
45
|
+
super(inject((ElementRef)).nativeElement);
|
|
46
|
+
}
|
|
47
|
+
initialize() {
|
|
48
|
+
this.fPath().initialize();
|
|
49
|
+
this.fGradient().initialize();
|
|
50
|
+
this.redraw();
|
|
51
|
+
}
|
|
52
|
+
isContains(element) {
|
|
53
|
+
return ((this.hostElement.firstChild?.lastChild).contains(element) ||
|
|
54
|
+
Array.from(this.fContents()?.values() ?? []).some((x) => x.hostElement?.contains(element)) ||
|
|
55
|
+
this.fWaypoints()?.hostElement?.contains(element));
|
|
56
|
+
}
|
|
57
|
+
setLine({ point1, point2 }) {
|
|
58
|
+
this.line = LineExtensions.initialize(point1, point2);
|
|
59
|
+
const { path, points, penultimatePoint, secondPoint, candidates } = this._getPathResult(point1, point2);
|
|
60
|
+
this.path = path;
|
|
61
|
+
this._penultimatePoint = penultimatePoint || point1;
|
|
62
|
+
this._secondPoint = secondPoint || point2;
|
|
63
|
+
this.fWaypoints()?.candidates.set(candidates || []);
|
|
64
|
+
new ConnectionContentLayoutEngine().layout(points || [], this._contents());
|
|
65
|
+
}
|
|
66
|
+
_contents() {
|
|
67
|
+
return Array.from(this.fContents()?.values() ?? []);
|
|
68
|
+
}
|
|
69
|
+
_getPathResult(source, target) {
|
|
70
|
+
return this._fConnectionBuilder.handle({
|
|
71
|
+
type: this.fType,
|
|
72
|
+
payload: {
|
|
73
|
+
source,
|
|
74
|
+
sourceSide: this._sourceSide,
|
|
75
|
+
target,
|
|
76
|
+
targetSide: this._targetSide,
|
|
77
|
+
radius: this.fRadius,
|
|
78
|
+
offset: this.fOffset,
|
|
79
|
+
waypoints: this.fWaypoints()?.waypoints() || [],
|
|
80
|
+
},
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
markChildrenAsSelected() {
|
|
84
|
+
this.fPath().select();
|
|
85
|
+
}
|
|
86
|
+
unmarkChildrenAsSelected() {
|
|
87
|
+
this.fPath().deselect();
|
|
88
|
+
}
|
|
89
|
+
redraw() {
|
|
90
|
+
this.fPath().setPath(this.path);
|
|
91
|
+
this.fSelection().setPath(this.path);
|
|
92
|
+
this.fGradient().redraw(this.line);
|
|
93
|
+
this.fDragHandleEnd().redraw(this._penultimatePoint, this.line.point2);
|
|
94
|
+
this.fDragHandleStart()?.redraw(this._secondPoint, this.line.point1);
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Applies the resolved sides to the connection. Don't call this method directly; it's used internally.
|
|
98
|
+
*
|
|
99
|
+
* @param sourceSide The resolved side for the source element.
|
|
100
|
+
* @param targetSide The resolved side for the target element.
|
|
101
|
+
*/
|
|
102
|
+
_applyResolvedSidesToConnection(sourceSide, targetSide) {
|
|
103
|
+
this._sourceSide = sourceSide;
|
|
104
|
+
this._targetSide = targetSide;
|
|
105
|
+
}
|
|
106
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FConnectionBase, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
107
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "18.2.13", type: FConnectionBase, inputs: { fStartColor: { classPropertyName: "fStartColor", publicName: "fStartColor", isSignal: true, isRequired: false, transformFunction: null }, fEndColor: { classPropertyName: "fEndColor", publicName: "fEndColor", isSignal: true, isRequired: false, transformFunction: null } }, queries: [{ propertyName: "fContents", predicate: F_CONNECTION_CONTENT, descendants: true, isSignal: true }, { propertyName: "fWaypoints", first: true, predicate: F_CONNECTION_WAYPOINTS, descendants: true, isSignal: true }], viewQueries: [{ propertyName: "fDefs", first: true, predicate: ["defs"], descendants: true, isSignal: true }, { propertyName: "fPath", first: true, predicate: F_CONNECTION_PATH, descendants: true, isSignal: true }, { propertyName: "fGradient", first: true, predicate: F_CONNECTION_GRADIENT, descendants: true, isSignal: true }, { propertyName: "fDragHandleStart", first: true, predicate: F_CONNECTION_DRAG_HANDLE_START, descendants: true, isSignal: true }, { propertyName: "fDragHandleEnd", first: true, predicate: F_CONNECTION_DRAG_HANDLE_END, descendants: true, isSignal: true }, { propertyName: "fSelection", first: true, predicate: F_CONNECTION_SELECTION, descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0 });
|
|
108
|
+
}
|
|
109
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FConnectionBase, decorators: [{
|
|
110
|
+
type: Directive
|
|
111
|
+
}], ctorParameters: () => [] });
|
|
112
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1jb25uZWN0aW9uLWJhc2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi12Mi9jb21wb25lbnRzL2YtY29ubmVjdGlvbi1iYXNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCxZQUFZLEVBQ1osZUFBZSxFQUNmLFNBQVMsRUFDVCxVQUFVLEVBQ1YsTUFBTSxFQUNOLEtBQUssRUFDTCxNQUFNLEVBRU4sU0FBUyxHQUNWLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBaUIsY0FBYyxFQUFFLGVBQWUsRUFBRSxNQUFNLFlBQVksQ0FBQztBQUM1RSxPQUFPLEVBR0wsb0JBQW9CLEVBQ3BCLHFCQUFxQixHQUN0QixNQUFNLGNBQWMsQ0FBQztBQUN0QixPQUFPLEVBQUUscUJBQXFCLEVBQXdCLDJCQUEyQixFQUFFLE1BQU0sVUFBVSxDQUFDO0FBQ3BHLE9BQU8sRUFBRSxp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ZvciB0aGUgdGFyZ2V0IGVsZW1lbnQuXG4gICAqL1xuICBwdWJsaWMgX2FwcGx5UmVzb2x2ZWRTaWRlc1RvQ29ubmVjdGlvbihcbiAgICBzb3VyY2VTaWRlOiBFRkNvbm5lY3RhYmxlU2lkZSxcbiAgICB0YXJnZXRTaWRlOiBFRkNvbm5lY3RhYmxlU2lkZSxcbiAgKTogdm9pZCB7XG4gICAgdGhpcy5fc291cmNlU2lkZSA9IHNvdXJjZVNpZGU7XG4gICAgdGhpcy5fdGFyZ2V0U2lkZSA9IHRhcmdldFNpZGU7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from './connection-content';
|
|
2
|
+
export * from './connection-waypoints';
|
|
3
|
+
export * from './connection-marker';
|
|
4
|
+
export * from './connection-gradient';
|
|
5
|
+
export * from './connection-path';
|
|
6
|
+
export * from './connection-selection';
|
|
7
|
+
export * from './connection-drag-handles';
|
|
8
|
+
export * from './f-connection-base';
|
|
9
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi12Mi9jb21wb25lbnRzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsc0JBQXNCLENBQUM7QUFDckMsY0FBYyx3QkFBd0IsQ0FBQztBQUN2QyxjQUFjLHFCQUFxQixDQUFDO0FBQ3BDLGNBQWMsdUJBQXVCLENBQUM7QUFDdEMsY0FBYyxtQkFBbUIsQ0FBQztBQUNsQyxjQUFjLHdCQUF3QixDQUFDO0FBQ3ZDLGNBQWMsMkJBQTJCLENBQUM7QUFDMUMsY0FBYyxxQkFBcUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vY29ubmVjdGlvbi1jb250ZW50JztcbmV4cG9ydCAqIGZyb20gJy4vY29ubmVjdGlvbi13YXlwb2ludHMnO1xuZXhwb3J0ICogZnJvbSAnLi9jb25uZWN0aW9uLW1hcmtlcic7XG5leHBvcnQgKiBmcm9tICcuL2Nvbm5lY3Rpb24tZ3JhZGllbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9jb25uZWN0aW9uLXBhdGgnO1xuZXhwb3J0ICogZnJvbSAnLi9jb25uZWN0aW9uLXNlbGVjdGlvbic7XG5leHBvcnQgKiBmcm9tICcuL2Nvbm5lY3Rpb24tZHJhZy1oYW5kbGVzJztcbmV4cG9ydCAqIGZyb20gJy4vZi1jb25uZWN0aW9uLWJhc2UnO1xuIl19
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export var EFConnectableSide;
|
|
2
|
+
(function (EFConnectableSide) {
|
|
3
|
+
EFConnectableSide["LEFT"] = "left";
|
|
4
|
+
EFConnectableSide["TOP"] = "top";
|
|
5
|
+
EFConnectableSide["RIGHT"] = "right";
|
|
6
|
+
EFConnectableSide["BOTTOM"] = "bottom";
|
|
7
|
+
EFConnectableSide["CALCULATE"] = "calculate";
|
|
8
|
+
EFConnectableSide["CALCULATE_HORIZONTAL"] = "calculate_horizontal";
|
|
9
|
+
EFConnectableSide["CALCULATE_VERTICAL"] = "calculate_vertical";
|
|
10
|
+
EFConnectableSide["AUTO"] = "auto";
|
|
11
|
+
})(EFConnectableSide || (EFConnectableSide = {}));
|
|
12
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZS1mLWNvbm5lY3RhYmxlLXNpZGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi12Mi9lbnVtcy9lLWYtY29ubmVjdGFibGUtc2lkZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQU4sSUFBWSxpQkFnQlg7QUFoQkQsV0FBWSxpQkFBaUI7SUFDM0Isa0NBQWEsQ0FBQTtJQUViLGdDQUFXLENBQUE7SUFFWCxvQ0FBZSxDQUFBO0lBRWYsc0NBQWlCLENBQUE7SUFFakIsNENBQXVCLENBQUE7SUFFdkIsa0VBQTZDLENBQUE7SUFFN0MsOERBQXlDLENBQUE7SUFFekMsa0NBQWEsQ0FBQTtBQUNmLENBQUMsRUFoQlcsaUJBQWlCLEtBQWpCLGlCQUFpQixRQWdCNUIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZW51bSBFRkNvbm5lY3RhYmxlU2lkZSB7XG4gIExFRlQgPSAnbGVmdCcsXG5cbiAgVE9QID0gJ3RvcCcsXG5cbiAgUklHSFQgPSAncmlnaHQnLFxuXG4gIEJPVFRPTSA9ICdib3R0b20nLFxuXG4gIENBTENVTEFURSA9ICdjYWxjdWxhdGUnLFxuXG4gIENBTENVTEFURV9IT1JJWk9OVEFMID0gJ2NhbGN1bGF0ZV9ob3Jpem9udGFsJyxcblxuICBDQUxDVUxBVEVfVkVSVElDQUwgPSAnY2FsY3VsYXRlX3ZlcnRpY2FsJyxcblxuICBBVVRPID0gJ2F1dG8nLFxufVxuIl19
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export var EFConnectionType;
|
|
2
|
+
(function (EFConnectionType) {
|
|
3
|
+
EFConnectionType["SEGMENT"] = "segment";
|
|
4
|
+
EFConnectionType["STRAIGHT"] = "straight";
|
|
5
|
+
EFConnectionType["BEZIER"] = "bezier";
|
|
6
|
+
EFConnectionType["ADAPTIVE_CURVE"] = "adaptive-curve";
|
|
7
|
+
})(EFConnectionType || (EFConnectionType = {}));
|
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZS1mLWNvbm5lY3Rpb24tdHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi1jb25uZWN0aW9uLXYyL2VudW1zL2UtZi1jb25uZWN0aW9uLXR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFOLElBQVksZ0JBUVg7QUFSRCxXQUFZLGdCQUFnQjtJQUMxQix1Q0FBbUIsQ0FBQTtJQUVuQix5Q0FBcUIsQ0FBQTtJQUVyQixxQ0FBaUIsQ0FBQTtJQUVqQixxREFBaUMsQ0FBQTtBQUNuQyxDQUFDLEVBUlcsZ0JBQWdCLEtBQWhCLGdCQUFnQixRQVEzQiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBlbnVtIEVGQ29ubmVjdGlvblR5cGUge1xuICBTRUdNRU5UID0gJ3NlZ21lbnQnLFxuXG4gIFNUUkFJR0hUID0gJ3N0cmFpZ2h0JyxcblxuICBCRVpJRVIgPSAnYmV6aWVyJyxcblxuICBBREFQVElWRV9DVVJWRSA9ICdhZGFwdGl2ZS1jdXJ2ZScsXG59XG4iXX0=
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './e-f-connectable-side';
|
|
2
|
+
export * from './e-f-connection-type';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi12Mi9lbnVtcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHdCQUF3QixDQUFDO0FBRXZDLGNBQWMsdUJBQXVCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2UtZi1jb25uZWN0YWJsZS1zaWRlJztcblxuZXhwb3J0ICogZnJvbSAnLi9lLWYtY29ubmVjdGlvbi10eXBlJztcbiJdfQ==
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export * from './components';
|
|
2
|
+
export * from './enums';
|
|
3
|
+
export * from './models';
|
|
4
|
+
export * from './utils';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi12Mi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGNBQWMsQ0FBQztBQUM3QixjQUFjLFNBQVMsQ0FBQztBQUN4QixjQUFjLFVBQVUsQ0FBQztBQUN6QixjQUFjLFNBQVMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vY29tcG9uZW50cyc7XG5leHBvcnQgKiBmcm9tICcuL2VudW1zJztcbmV4cG9ydCAqIGZyb20gJy4vbW9kZWxzJztcbmV4cG9ydCAqIGZyb20gJy4vdXRpbHMnO1xuIl19
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
export const F_CONNECTION_COMPONENTS_PARENT = new InjectionToken('F_CONNECTION_COMPONENTS_PARENT');
|
|
3
|
+
export class FConnectionComponentsParent {
|
|
4
|
+
}
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1jb25uZWN0aW9uLWNvbXBvbmVudHMtcGFyZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWNvbm5lY3Rpb24tdjIvbW9kZWxzL2YtY29ubmVjdGlvbi1jb21wb25lbnRzLXBhcmVudC50cyJdLCJuYW1lcyI6W10s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vcjogRUZDb25uZWN0aW9uQmVoYXZpb3I7XG5cbiAgcHVibGljIGFic3RyYWN0IF9hcHBseVJlc29sdmVkU2lkZXNUb0Nvbm5lY3Rpb24oXG4gICAgc291cmNlU2lkZTogRUZDb25uZWN0YWJsZVNpZGUsXG4gICAgdGFyZ2V0U2lkZTogRUZDb25uZWN0YWJsZVNpZGUsXG4gICk6IHZvaWQ7XG5cbiAgcHVibGljIGFic3RyYWN0IGZJbnB1dFNpZGU6IFNpZ25hbDxFRkNvbm5lY3Rpb25Db25uZWN0YWJsZVNpZGU+O1xuXG4gIHB1YmxpYyBhYnN0cmFjdCBmT3V0cHV0U2lkZTogU2lnbmFsPEVGQ29ubmVjdGlvbkNvbm5lY3RhYmxlU2lkZT47XG59XG4iXX0=
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export * from './f-connection-components-parent';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi12Mi9tb2RlbHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxrQ0FBa0MsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZi1jb25uZWN0aW9uLWNvbXBvbmVudHMtcGFyZW50JztcbiJdfQ==
|
package/esm2022/f-connection-v2/utils/connection-behaviour/connection-behaviour-builder-request.mjs
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export class ConnectionBehaviourBuilderRequest {
|
|
2
|
+
sourceRect;
|
|
3
|
+
targetRect;
|
|
4
|
+
connection;
|
|
5
|
+
sourceConnectableSide;
|
|
6
|
+
targetConnectableSide;
|
|
7
|
+
constructor(sourceRect, targetRect, connection, sourceConnectableSide, targetConnectableSide) {
|
|
8
|
+
this.sourceRect = sourceRect;
|
|
9
|
+
this.targetRect = targetRect;
|
|
10
|
+
this.connection = connection;
|
|
11
|
+
this.sourceConnectableSide = sourceConnectableSide;
|
|
12
|
+
this.targetConnectableSide = targetConnectableSide;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29ubmVjdGlvbi1iZWhhdmlvdXItYnVpbGRlci1yZXF1ZXN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWNvbm5lY3Rpb24tdjIvdXRpbHMvY29ubmVjdGlvbi1iZWhhdmlvdXIvY29ubmVjdGlvbi1iZWhhdmlvdXItYnVpbGRlci1yZXF1ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUlBLE1BQU0sT0FBTyxpQ0FBaUM7SUFFMUI7SUFDQTtJQUNBO0lBQ0E7SUFDQTtJQUxsQixZQUNrQixVQUF3QixFQUN4QixVQUF3QixFQUN4QixVQUF1QyxFQUN2QyxxQkFBd0MsRUFDeEMscUJBQXdDO1FBSnhDLGVBQVUsR0FBVixVQUFVLENBQWM7UUFDeEIsZUFBVSxHQUFWLFVBQVUsQ0FBYztRQUN4QixlQUFVLEdBQVYsVUFBVSxDQUE2QjtRQUN2QywwQkFBcUIsR0FBckIscUJBQXFCLENBQW1CO1FBQ3hDLDBCQUFxQixHQUFyQixxQkFBcUIsQ0FBbUI7SUFDdkQsQ0FBQztDQUNMIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSVJvdW5kZWRSZWN0IH0gZnJvbSAnQGZvYmxleC8yZCc7XG5pbXBvcnQgeyBFRkNvbm5lY3RhYmxlU2lkZSB9IGZyb20gJy4uLy4uL2VudW1zJztcbmltcG9ydCB7IEZDb25uZWN0aW9uQ29tcG9uZW50c1BhcmVudCB9IGZyb20gJy4uLy4uL21vZGVscyc7XG5cbmV4cG9ydCBjbGFzcyBDb25uZWN0aW9uQmVoYXZpb3VyQnVpbGRlclJlcXVlc3Qge1xuICBjb25zdHJ1Y3RvcihcbiAgICBwdWJsaWMgcmVhZG9ubHkgc291cmNlUmVjdDogSVJvdW5kZWRSZWN0LFxuICAgIHB1YmxpYyByZWFkb25seSB0YXJnZXRSZWN0OiBJUm91bmRlZFJlY3QsXG4gICAgcHVibGljIHJlYWRvbmx5IGNvbm5lY3Rpb246IEZDb25uZWN0aW9uQ29tcG9uZW50c1BhcmVudCxcbiAgICBwdWJsaWMgcmVhZG9ubHkgc291cmNlQ29ubmVjdGFibGVTaWRlOiBFRkNvbm5lY3RhYmxlU2lkZSxcbiAgICBwdWJsaWMgcmVhZG9ubHkgdGFyZ2V0Q29ubmVjdGFibGVTaWRlOiBFRkNvbm5lY3RhYmxlU2lkZSxcbiAgKSB7fVxufVxuIl19
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import { fixedCenterBehavior, fixedOutboundBehavior, floatingBehavior } from './utils';
|
|
2
|
+
import { EFConnectionBehavior, EFConnectionConnectableSide } from './enums';
|
|
3
|
+
import { EFConnectableSide } from '../../enums';
|
|
4
|
+
import { Injectable } from '@angular/core';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
/**
|
|
7
|
+
* Small epsilon to treat near-zero differences as negligible.
|
|
8
|
+
*/
|
|
9
|
+
const EPSILON = 0.5;
|
|
10
|
+
/**
|
|
11
|
+
* Registry of all connection behavior handlers.
|
|
12
|
+
*/
|
|
13
|
+
const BEHAVIOR_HANDLERS = {
|
|
14
|
+
[EFConnectionBehavior.FLOATING]: floatingBehavior,
|
|
15
|
+
[EFConnectionBehavior.FIXED_CENTER]: fixedCenterBehavior,
|
|
16
|
+
[EFConnectionBehavior.FIXED]: fixedOutboundBehavior,
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Calculates connection lines based on behavior rules.
|
|
20
|
+
* It determines which sides of the source and target should connect,
|
|
21
|
+
* then delegates to a registered behavior handler.
|
|
22
|
+
*/
|
|
23
|
+
export class ConnectionBehaviourBuilder {
|
|
24
|
+
/**
|
|
25
|
+
* Main execution entry point.
|
|
26
|
+
*
|
|
27
|
+
* @param request The request containing source, target, and connection details.
|
|
28
|
+
* @returns A calculated connection line (ILine).
|
|
29
|
+
*/
|
|
30
|
+
handle(request) {
|
|
31
|
+
const vectors = this._calculateDirectionalVectors(request.sourceRect.gravityCenter.x, request.sourceRect.gravityCenter.y, request.targetRect.gravityCenter.x, request.targetRect.gravityCenter.y);
|
|
32
|
+
const sourceSide = this._determineSourceSide(request, vectors);
|
|
33
|
+
const targetSide = this._determineTargetSide(request, vectors);
|
|
34
|
+
request.connection._applyResolvedSidesToConnection(sourceSide, targetSide);
|
|
35
|
+
const handler = this._getBehaviorHandler(request.connection.fBehavior);
|
|
36
|
+
return handler({
|
|
37
|
+
sourceRect: request.sourceRect,
|
|
38
|
+
targetRect: request.targetRect,
|
|
39
|
+
sourceConnectableSide: sourceSide,
|
|
40
|
+
targetConnectableSide: targetSide,
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Computes the directional deltas between two rectangles.
|
|
45
|
+
*/
|
|
46
|
+
_calculateDirectionalVectors(sourceX, sourceY, targetX, targetY) {
|
|
47
|
+
const sourceToTargetX = targetX - sourceX;
|
|
48
|
+
const sourceToTargetY = targetY - sourceY;
|
|
49
|
+
return {
|
|
50
|
+
sourceToTargetX,
|
|
51
|
+
sourceToTargetY,
|
|
52
|
+
targetToSourceX: -sourceToTargetX,
|
|
53
|
+
targetToSourceY: -sourceToTargetY,
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Determines the side for the source element.
|
|
58
|
+
*/
|
|
59
|
+
_determineSourceSide(request, vectors) {
|
|
60
|
+
return this._resolveConnectableSide(request.connection.fOutputSide(), vectors.sourceToTargetX, vectors.sourceToTargetY, request.sourceConnectableSide);
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Determines the side for the target element.
|
|
64
|
+
*/
|
|
65
|
+
_determineTargetSide(request, vectors) {
|
|
66
|
+
return this._resolveConnectableSide(request.connection.fInputSide(), vectors.targetToSourceX, vectors.targetToSourceY, request.targetConnectableSide);
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Resolves which side of a shape to connect to based on direction, fallback, and connection mode.
|
|
70
|
+
*
|
|
71
|
+
* @param requestedSide The side mode (e.g. CALCULATE, CALCULATE_HORIZONTAL, FIXED, etc.).
|
|
72
|
+
* @param deltaX Difference in X between source and target.
|
|
73
|
+
* @param deltaY Difference in Y between source and target.
|
|
74
|
+
* @param fallbackSide The default fallback side if calculation is ambiguous.
|
|
75
|
+
*/
|
|
76
|
+
_resolveConnectableSide(requestedSide, deltaX, deltaY, fallbackSide) {
|
|
77
|
+
if (requestedSide === EFConnectionConnectableSide.DEFAULT) {
|
|
78
|
+
return fallbackSide;
|
|
79
|
+
}
|
|
80
|
+
const absoluteX = Math.abs(deltaX);
|
|
81
|
+
const absoluteY = Math.abs(deltaY);
|
|
82
|
+
const isNearZero = absoluteX < EPSILON && absoluteY < EPSILON;
|
|
83
|
+
if (isNearZero) {
|
|
84
|
+
return fallbackSide;
|
|
85
|
+
}
|
|
86
|
+
const isHorizontalDominant = absoluteX >= absoluteY;
|
|
87
|
+
switch (requestedSide) {
|
|
88
|
+
case EFConnectionConnectableSide.CALCULATE:
|
|
89
|
+
return isHorizontalDominant
|
|
90
|
+
? deltaX >= 0
|
|
91
|
+
? EFConnectableSide.RIGHT
|
|
92
|
+
: EFConnectableSide.LEFT
|
|
93
|
+
: deltaY >= 0
|
|
94
|
+
? EFConnectableSide.BOTTOM
|
|
95
|
+
: EFConnectableSide.TOP;
|
|
96
|
+
case EFConnectionConnectableSide.CALCULATE_HORIZONTAL:
|
|
97
|
+
if (absoluteX < EPSILON) {
|
|
98
|
+
return fallbackSide;
|
|
99
|
+
}
|
|
100
|
+
return deltaX >= 0 ? EFConnectableSide.RIGHT : EFConnectableSide.LEFT;
|
|
101
|
+
case EFConnectionConnectableSide.CALCULATE_VERTICAL:
|
|
102
|
+
if (absoluteY < EPSILON) {
|
|
103
|
+
return fallbackSide;
|
|
104
|
+
}
|
|
105
|
+
return deltaY >= 0 ? EFConnectableSide.BOTTOM : EFConnectableSide.TOP;
|
|
106
|
+
case EFConnectionConnectableSide.TOP:
|
|
107
|
+
return EFConnectableSide.TOP;
|
|
108
|
+
case EFConnectionConnectableSide.BOTTOM:
|
|
109
|
+
return EFConnectableSide.BOTTOM;
|
|
110
|
+
case EFConnectionConnectableSide.LEFT:
|
|
111
|
+
return EFConnectableSide.LEFT;
|
|
112
|
+
case EFConnectionConnectableSide.RIGHT:
|
|
113
|
+
return EFConnectableSide.RIGHT;
|
|
114
|
+
default:
|
|
115
|
+
return fallbackSide;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* Returns the appropriate handler for the given connection behavior.
|
|
120
|
+
*
|
|
121
|
+
* @throws Error if no handler is registered for the behavior.
|
|
122
|
+
*/
|
|
123
|
+
_getBehaviorHandler(behavior) {
|
|
124
|
+
const handler = BEHAVIOR_HANDLERS[behavior];
|
|
125
|
+
if (!handler) {
|
|
126
|
+
throw new Error(`[Behavior] No handler for behavior: ${behavior}`);
|
|
127
|
+
}
|
|
128
|
+
return handler;
|
|
129
|
+
}
|
|
130
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ConnectionBehaviourBuilder, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
131
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ConnectionBehaviourBuilder });
|
|
132
|
+
}
|
|
133
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: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ZXR1cm4gRUZDb25uZWN0YWJsZVNpZGUuUklHSFQ7XG5cbiAgICAgIGRlZmF1bHQ6XG4gICAgICAgIHJldHVybiBmYWxsYmFja1NpZGU7XG4gICAgfVxuICB9XG5cbiAgLyoqXG4gICAqIFJldHVybnMgdGhlIGFwcHJvcHJpYXRlIGhhbmRsZXIgZm9yIHRoZSBnaXZlbiBjb25uZWN0aW9uIGJlaGF2aW9yLlxuICAgKlxuICAgKiBAdGhyb3dzIEVycm9yIGlmIG5vIGhhbmRsZXIgaXMgcmVnaXN0ZXJlZCBmb3IgdGhlIGJlaGF2aW9yLlxuICAgKi9cbiAgcHJpdmF0ZSBfZ2V0QmVoYXZpb3JIYW5kbGVyKGJlaGF2aW9yOiBFRkNvbm5lY3Rpb25CZWhhdmlvcik6IEJlaGF2aW9ySGFuZGxlciB7XG4gICAgY29uc3QgaGFuZGxlciA9IEJFSEFWSU9SX0hBTkRMRVJTW2JlaGF2aW9yXTtcbiAgICBpZiAoIWhhbmRsZXIpIHtcbiAgICAgIHRocm93IG5ldyBFcnJvcihgW0JlaGF2aW9yXSBObyBoYW5kbGVyIGZvciBiZWhhdmlvcjogJHtiZWhhdmlvcn1gKTtcbiAgICB9XG5cbiAgICByZXR1cm4gaGFuZGxlcjtcbiAgfVxufVxuIl19
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export var EFConnectionBehavior;
|
|
2
|
+
(function (EFConnectionBehavior) {
|
|
3
|
+
EFConnectionBehavior["FIXED"] = "fixed";
|
|
4
|
+
EFConnectionBehavior["FIXED_CENTER"] = "fixed_center";
|
|
5
|
+
EFConnectionBehavior["FLOATING"] = "floating";
|
|
6
|
+
})(EFConnectionBehavior || (EFConnectionBehavior = {}));
|
|
7
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZS1mLWNvbm5lY3Rpb24tYmVoYXZpb3IuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi12Mi91dGlscy9jb25uZWN0aW9uLWJlaGF2aW91ci9lbnVtcy9lLWYtY29ubmVjdGlvbi1iZWhhdmlvci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQU4sSUFBWSxvQkFNWDtBQU5ELFdBQVksb0JBQW9CO0lBQzlCLHVDQUFlLENBQUE7SUFFZixxREFBNkIsQ0FBQTtJQUU3Qiw2Q0FBcUIsQ0FBQTtBQUN2QixDQUFDLEVBTlcsb0JBQW9CLEtBQXBCLG9CQUFvQixRQU0vQiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBlbnVtIEVGQ29ubmVjdGlvbkJlaGF2aW9yIHtcbiAgRklYRUQgPSAnZml4ZWQnLFxuXG4gIEZJWEVEX0NFTlRFUiA9ICdmaXhlZF9jZW50ZXInLFxuXG4gIEZMT0FUSU5HID0gJ2Zsb2F0aW5nJyxcbn1cbiJdfQ==
|
package/esm2022/f-connection-v2/utils/connection-behaviour/enums/e-f-connection-connectable-side.mjs
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export var EFConnectionConnectableSide;
|
|
2
|
+
(function (EFConnectionConnectableSide) {
|
|
3
|
+
EFConnectionConnectableSide["DEFAULT"] = "default";
|
|
4
|
+
EFConnectionConnectableSide["TOP"] = "top";
|
|
5
|
+
EFConnectionConnectableSide["BOTTOM"] = "bottom";
|
|
6
|
+
EFConnectionConnectableSide["LEFT"] = "left";
|
|
7
|
+
EFConnectionConnectableSide["RIGHT"] = "right";
|
|
8
|
+
EFConnectionConnectableSide["CALCULATE"] = "calculate";
|
|
9
|
+
EFConnectionConnectableSide["CALCULATE_HORIZONTAL"] = "calculate_horizontal";
|
|
10
|
+
EFConnectionConnectableSide["CALCULATE_VERTICAL"] = "calculate_vertical";
|
|
11
|
+
})(EFConnectionConnectableSide || (EFConnectionConnectableSide =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Q==
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './e-f-connection-behavior';
|
|
2
|
+
export * from './e-f-connection-connectable-side';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi12Mi91dGlscy9jb25uZWN0aW9uLWJlaGF2aW91ci9lbnVtcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDJCQUEyQixDQUFDO0FBQzFDLGNBQWMsbUNBQW1DLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2UtZi1jb25uZWN0aW9uLWJlaGF2aW9yJztcbmV4cG9ydCAqIGZyb20gJy4vZS1mLWNvbm5lY3Rpb24tY29ubmVjdGFibGUtc2lkZSc7XG4iXX0=
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from './enums';
|
|
2
|
+
export * from './models';
|
|
3
|
+
export * from './utils';
|
|
4
|
+
export * from './connection-behaviour-builder';
|
|
5
|
+
export * from './connection-behaviour-builder-request';
|
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi12Mi91dGlscy9jb25uZWN0aW9uLWJlaGF2aW91ci9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLFNBQVMsQ0FBQztBQUV4QixjQUFjLFVBQVUsQ0FBQztBQUV6QixjQUFjLFNBQVMsQ0FBQztBQUV4QixjQUFjLGdDQUFnQyxDQUFDO0FBRS9DLGNBQWMsd0NBQXdDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2VudW1zJztcblxuZXhwb3J0ICogZnJvbSAnLi9tb2RlbHMnO1xuXG5leHBvcnQgKiBmcm9tICcuL3V0aWxzJztcblxuZXhwb3J0ICogZnJvbSAnLi9jb25uZWN0aW9uLWJlaGF2aW91ci1idWlsZGVyJztcblxuZXhwb3J0ICogZnJvbSAnLi9jb25uZWN0aW9uLWJlaGF2aW91ci1idWlsZGVyLXJlcXVlc3QnO1xuIl19
|
package/esm2022/f-connection-v2/utils/connection-behaviour/models/i-calculate-behavior-request.mjs
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1jYWxjdWxhdGUtYmVoYXZpb3ItcmVxdWVzdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi1jb25uZWN0aW9uLXYyL3V0aWxzL2Nvbm5lY3Rpb24tYmVoYXZpb3VyL21vZGVscy9pLWNhbGN1bGF0ZS1iZWhhdmlvci1yZXF1ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJUm91bmRlZFJlY3QgfSBmcm9tICdAZm9ibGV4LzJkJztcbmltcG9ydCB7IEVGQ29ubmVjdGFibGVTaWRlIH0gZnJvbSAnLi4vLi4vLi4vZW51bXMnO1xuXG5leHBvcnQgaW50ZXJmYWNlIElDYWxjdWxhdGVCZWhhdmlvclJlcXVlc3Qge1xuICBzb3VyY2VSZWN0OiBJUm91bmRlZFJlY3Q7XG4gIHRhcmdldFJlY3Q6IElSb3VuZGVkUmVjdDtcbiAgc291cmNlQ29ubmVjdGFibGVTaWRlOiBFRkNvbm5lY3RhYmxlU2lkZTtcbiAgdGFyZ2V0Q29ubmVjdGFibGVTaWRlOiBFRkNvbm5lY3RhYmxlU2lkZTtcbn1cbiJdfQ==
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export * from './i-calculate-behavior-request';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi12Mi91dGlscy9jb25uZWN0aW9uLWJlaGF2aW91ci9tb2RlbHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxnQ0FBZ0MsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vaS1jYWxjdWxhdGUtYmVoYXZpb3ItcmVxdWVzdCc7XG4iXX0=
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fixed center behavior calculates the connection line
|
|
3
|
+
* It constructs a line between the gravity centers of the connector rectangles
|
|
4
|
+
* @param payload
|
|
5
|
+
*/
|
|
6
|
+
export function fixedCenterBehavior({ sourceRect, targetRect }) {
|
|
7
|
+
return {
|
|
8
|
+
point1: sourceRect.gravityCenter,
|
|
9
|
+
point2: targetRect.gravityCenter,
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZml4ZWQtY2VudGVyLWJlaGF2aW9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWNvbm5lY3Rpb24tdjIvdXRpbHMvY29ubmVjdGl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line
|
|
4
|
+
* It constructs a line between the specified sides of the output and input rectangles
|
|
5
|
+
* @param payload
|
|
6
|
+
*/
|
|
7
|
+
export function fixedOutboundBehavior({ sourceRect, sourceConnectableSide, targetRect, targetConnectableSide, }) {
|
|
8
|
+
return {
|
|
9
|
+
point1: _getPosition(sourceRect, sourceConnectableSide === EFConnectableSide.AUTO
|
|
10
|
+
? EFConnectableSide.BOTTOM
|
|
11
|
+
: sourceConnectableSide),
|
|
12
|
+
point2: _getPosition(targetRect, targetConnectableSide === EFConnectableSide.AUTO
|
|
13
|
+
? EFConnectableSide.TOP
|
|
14
|
+
: targetConnectableSide),
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
function _getPosition(rect, side) {
|
|
18
|
+
switch (side) {
|
|
19
|
+
case EFConnectableSide.TOP:
|
|
20
|
+
return { x: rect.x + rect.width / 2, y: rect.y };
|
|
21
|
+
case EFConnectableSide.BOTTOM:
|
|
22
|
+
return { x: rect.x + rect.width / 2, y: rect.y + rect.height };
|
|
23
|
+
case EFConnectableSide.LEFT:
|
|
24
|
+
return { x: rect.x, y: rect.y + rect.height / 2 };
|
|
25
|
+
case EFConnectableSide.RIGHT:
|
|
26
|
+
return { x: rect.x + rect.width, y: rect.y + rect.height / 2 };
|
|
27
|
+
default:
|
|
28
|
+
throw new Error(`Unknown side: ${side}`);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZml4ZWQtb3V0Ym91bmQtYmVoYXZpb3IuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi12Mi91dGlscy9jb25uZWN0aW9uLWJlaGF2aW91ci91dGlscy9maXhlZC1vdXRib3VuZC1iZWhhdmlvci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUF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mVjdC55ICsgcmVjdC5oZWlnaHQgLyAyIH07XG4gICAgY2FzZSBFRkNvbm5lY3RhYmxlU2lkZS5SSUdIVDpcbiAgICAgIHJldHVybiB7IHg6IHJlY3QueCArIHJlY3Qud2lkdGgsIHk6IHJlY3QueSArIHJlY3QuaGVpZ2h0IC8gMiB9O1xuICAgIGRlZmF1bHQ6XG4gICAgICB0aHJvdyBuZXcgRXJyb3IoYFVua25vd24gc2lkZTogJHtzaWRlfWApO1xuICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { GetIntersections } from '@foblex/2d';
|
|
2
|
+
/**
|
|
3
|
+
* Floating behavior calculates the connection line
|
|
4
|
+
* It constructs a line between the intersections of the connectors rectangles and line from the centers of the connector rectangles
|
|
5
|
+
* @param payload
|
|
6
|
+
*/
|
|
7
|
+
export function floatingBehavior({ sourceRect, targetRect }) {
|
|
8
|
+
return _getIntersectionsLine(_fromRoundedRectIntersections(sourceRect, targetRect), _toRoundedRectIntersections(sourceRect, targetRect), sourceRect, targetRect);
|
|
9
|
+
}
|
|
10
|
+
function _fromRoundedRectIntersections(sourceRect, targetRect) {
|
|
11
|
+
return GetIntersections.getRoundedRectIntersections(sourceRect.gravityCenter, targetRect.gravityCenter, sourceRect)[0];
|
|
12
|
+
}
|
|
13
|
+
function _toRoundedRectIntersections(sourceRect, targetRect) {
|
|
14
|
+
return GetIntersections.getRoundedRectIntersections(targetRect.gravityCenter, sourceRect.gravityCenter, targetRect)[0];
|
|
15
|
+
}
|
|
16
|
+
function _getIntersectionsLine(from, to, sourceRect, targetRect) {
|
|
17
|
+
return {
|
|
18
|
+
point1: from ? from : sourceRect.gravityCenter,
|
|
19
|
+
point2: to ? to : targetRect.gravityCenter,
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmxvYXRpbmctYmVoYXZpb3IuanMiLCJzb3VyY2VSb290I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-behavior';
|
|
2
|
+
export * from './fixed-outbound-behavior';
|
|
3
|
+
export * from './floating-behavior';
|
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi12Mi91dGlscy9jb25uZWN0aW9uLWJlaGF2aW91ci91dGlscy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHlCQUF5QixDQUFDO0FBQ3hDLGNBQWMsMkJBQTJCLENBQUM7QUFDMUMsY0FBYyxxQkFBcUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZml4ZWQtY2VudGVyLWJlaGF2aW9yJztcbmV4cG9ydCAqIGZyb20gJy4vZml4ZWQtb3V0Ym91bmQtYmVoYXZpb3InO1xuZXhwb3J0ICogZnJvbSAnLi9mbG9hdGluZy1iZWhhdmlvcic7XG4iXX0=
|