@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,125 @@
|
|
|
1
|
+
import { PointExtensions, RectExtensions } from '@foblex/2d';
|
|
2
|
+
import { FMediator } from '@foblex/mediator';
|
|
3
|
+
import { DragHandlerBase } from '../../infrastructure';
|
|
4
|
+
import { DragNodeDeltaConstraints, expandRectByOverflow, } from '../drag-node-constraint';
|
|
5
|
+
import { F_CSS_CLASS, GetNormalizedElementRectRequest } from '../../../domain';
|
|
6
|
+
export class DragNodeItemHandler extends DragHandlerBase {
|
|
7
|
+
_injector;
|
|
8
|
+
nodeOrGroup;
|
|
9
|
+
children;
|
|
10
|
+
sourceConnectionHandlers;
|
|
11
|
+
targetConnectionHandlers;
|
|
12
|
+
type = 'move-node';
|
|
13
|
+
kind = 'drag-node';
|
|
14
|
+
_startPosition = PointExtensions.initialize();
|
|
15
|
+
_startRect = RectExtensions.initialize();
|
|
16
|
+
_applyConstraints = (delta) => delta;
|
|
17
|
+
_lastSoftResults = [];
|
|
18
|
+
_deltaConstraints;
|
|
19
|
+
_constraints;
|
|
20
|
+
_lastPosition = PointExtensions.initialize();
|
|
21
|
+
_mediator;
|
|
22
|
+
constructor(_injector, nodeOrGroup, children = [], sourceConnectionHandlers = [], targetConnectionHandlers = []) {
|
|
23
|
+
super();
|
|
24
|
+
this._injector = _injector;
|
|
25
|
+
this.nodeOrGroup = nodeOrGroup;
|
|
26
|
+
this.children = children;
|
|
27
|
+
this.sourceConnectionHandlers = sourceConnectionHandlers;
|
|
28
|
+
this.targetConnectionHandlers = targetConnectionHandlers;
|
|
29
|
+
this._mediator = _injector.get(FMediator);
|
|
30
|
+
this._startRect = this._mediator.execute(new GetNormalizedElementRectRequest(nodeOrGroup.hostElement));
|
|
31
|
+
this._startPosition = { ...nodeOrGroup._position };
|
|
32
|
+
}
|
|
33
|
+
setConstraints(constraints) {
|
|
34
|
+
this._constraints = constraints;
|
|
35
|
+
this._deltaConstraints = new DragNodeDeltaConstraints(this._injector, this._startPosition, constraints);
|
|
36
|
+
this._applyConstraints = (difference) => {
|
|
37
|
+
const summary = this._deltaConstraints.apply(difference);
|
|
38
|
+
this._applySoftExpansions(summary.soft);
|
|
39
|
+
return summary.hardDelta;
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
finalizeConstraints() {
|
|
43
|
+
// in finalize we force snap and commit expansions based on finalized delta
|
|
44
|
+
this._applyConstraints = (delta) => {
|
|
45
|
+
const summary = this._deltaConstraints.finalize(delta);
|
|
46
|
+
this._applySoftExpansions(summary.soft);
|
|
47
|
+
return summary.hardDelta;
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
getLastRect() {
|
|
51
|
+
return RectExtensions.initialize(this._lastPosition.x, this._lastPosition.y, this._startRect.width, this._startRect.height);
|
|
52
|
+
}
|
|
53
|
+
prepareDragSequence() {
|
|
54
|
+
for (const child of this.children) {
|
|
55
|
+
child.prepareDragSequence();
|
|
56
|
+
}
|
|
57
|
+
this.nodeOrGroup.hostElement.classList.add(F_CSS_CLASS.DRAG_AND_DROP.DRAGGING);
|
|
58
|
+
}
|
|
59
|
+
onPointerMove(delta) {
|
|
60
|
+
const constrained = this._applyConstraints(delta);
|
|
61
|
+
for (const child of this.children) {
|
|
62
|
+
child.onPointerMove(constrained);
|
|
63
|
+
}
|
|
64
|
+
this._redraw(this._startPlus(constrained));
|
|
65
|
+
for (const h of this.sourceConnectionHandlers) {
|
|
66
|
+
h.setSourceDelta(constrained);
|
|
67
|
+
}
|
|
68
|
+
for (const h of this.targetConnectionHandlers) {
|
|
69
|
+
h.setTargetDelta(constrained);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
onPointerUp() {
|
|
73
|
+
for (const child of this.children) {
|
|
74
|
+
child.onPointerUp();
|
|
75
|
+
}
|
|
76
|
+
this.nodeOrGroup.position.set(this.nodeOrGroup._position);
|
|
77
|
+
this.nodeOrGroup.hostElement.classList.remove(F_CSS_CLASS.DRAG_AND_DROP.DRAGGING);
|
|
78
|
+
this._emitExpandedEvent();
|
|
79
|
+
}
|
|
80
|
+
_startPlus(delta) {
|
|
81
|
+
return PointExtensions.sum(this._startPosition, delta);
|
|
82
|
+
}
|
|
83
|
+
_redraw(position) {
|
|
84
|
+
this._lastPosition = position;
|
|
85
|
+
this.nodeOrGroup.updatePosition(position);
|
|
86
|
+
this.nodeOrGroup.redraw();
|
|
87
|
+
}
|
|
88
|
+
_applySoftExpansions(results) {
|
|
89
|
+
this._lastSoftResults = results;
|
|
90
|
+
for (let i = 0; i < results.length; i++) {
|
|
91
|
+
const r = results[i];
|
|
92
|
+
const soft = this._constraints.soft[i];
|
|
93
|
+
const expandedRect = expandRectByOverflow(soft.boundingRect, r.overflow, r.edges);
|
|
94
|
+
this._commitParentRect(soft.nodeOrGroup, expandedRect);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
_commitParentRect(parent, rect) {
|
|
98
|
+
parent.updateSize({ width: rect.width, height: rect.height });
|
|
99
|
+
parent.updatePosition({ x: rect.x, y: rect.y });
|
|
100
|
+
parent.redraw();
|
|
101
|
+
}
|
|
102
|
+
_emitExpandedEvent() {
|
|
103
|
+
for (let i = 0; i < this._lastSoftResults.length; i++) {
|
|
104
|
+
const r = this._lastSoftResults[i];
|
|
105
|
+
if (!r.overflow.x && !r.overflow.y) {
|
|
106
|
+
continue;
|
|
107
|
+
}
|
|
108
|
+
const soft = this._constraints.soft[i];
|
|
109
|
+
const expandedRect = expandRectByOverflow(soft.boundingRect, r.overflow, r.edges);
|
|
110
|
+
soft.nodeOrGroup.sizeChange.emit(expandedRect);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
destroy() {
|
|
114
|
+
for (const child of this.children) {
|
|
115
|
+
child.destroy?.();
|
|
116
|
+
}
|
|
117
|
+
this.children = [];
|
|
118
|
+
this.sourceConnectionHandlers = [];
|
|
119
|
+
this.targetConnectionHandlers = [];
|
|
120
|
+
// this._constraints = null;
|
|
121
|
+
this._lastSoftResults = [];
|
|
122
|
+
this._applyConstraints = (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pb25IYW5kbGVycyA9IFtdO1xuXG4gICAgLy8gdGhpcy5fY29uc3RyYWludHMgPSBudWxsO1xuICAgIHRoaXMuX2xhc3RTb2Z0UmVzdWx0cyA9IFtdO1xuICAgIHRoaXMuX2FwcGx5Q29uc3RyYWludHMgPSAoZCkgPT4gZDtcbiAgfVxufVxuIl19
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './drag-node-handler';
|
|
2
|
+
export * from './drag-node-item-handler';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtZHJhZ2dhYmxlL2RyYWctbm9kZS9kcmFnLW5vZGUtaGFuZGxlci9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHFCQUFxQixDQUFDO0FBQ3BDLGNBQWMsMEJBQTBCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2RyYWctbm9kZS1oYW5kbGVyJztcbmV4cG9ydCAqIGZyb20gJy4vZHJhZy1ub2RlLWl0ZW0taGFuZGxlcic7XG4iXX0=
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export class DragNodePreparationRequest {
|
|
2
|
+
event;
|
|
3
|
+
trigger;
|
|
4
|
+
static fToken = Symbol('DragNodePreparationRequest');
|
|
5
|
+
constructor(event, trigger) {
|
|
6
|
+
this.event = event;
|
|
7
|
+
this.trigger = trigger;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJhZy1ub2RlLXByZXBhcmF0aW9uLXJlcXVlc3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtZHJhZ2dhYmxlL2RyYWctbm9kZS9kcmFnLW5vZGUtcHJlcGFyYXRpb24vZHJhZy1ub2RlLXByZXBhcmF0aW9uLXJlcXVlc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBR0EsTUFBTSxPQUFPLDBCQUEwQjtJQUluQjtJQUNBO0lBSmxCLE1BQU0sQ0FBVSxNQUFNLEdBQUcsTUFBTSxDQUFDLDRCQUE0QixDQUFDLENBQUM7SUFFOUQsWUFDa0IsS0FBb0IsRUFDcEIsT0FBc0I7UUFEdEIsVUFBSyxHQUFMLEtBQUssQ0FBZTtRQUNwQixZQUFPLEdBQVAsT0FBTyxDQUFlO0lBQ3JDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBGRXZlbnRUcmlnZ2VyIH0gZnJvbSAnLi4vLi4vLi4vZG9tYWluJztcbmltcG9ydCB7IElQb2ludGVyRXZlbnQgfSBmcm9tICcuLi8uLi8uLi9kcmFnLXRvb2xraXQnO1xuXG5leHBvcnQgY2xhc3MgRHJhZ05vZGVQcmVwYXJhdGlvblJlcXVlc3Qge1xuICBzdGF0aWMgcmVhZG9ubHkgZlRva2VuID0gU3ltYm9sKCdEcmFnTm9kZVByZXBhcmF0aW9uUmVxdWVzdCcpO1xuXG4gIGNvbnN0cnVjdG9yKFxuICAgIHB1YmxpYyByZWFkb25seSBldmVudDogSVBvaW50ZXJFdmVudCxcbiAgICBwdWJsaWMgcmVhZG9ubHkgdHJpZ2dlcjogRkV2ZW50VHJpZ2dlcixcbiAgKSB7fVxufVxuIl19
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { inject, Injectable } from '@angular/core';
|
|
3
|
+
import { DragNodePreparationRequest } from './drag-node-preparation-request';
|
|
4
|
+
import { Point } from '@foblex/2d';
|
|
5
|
+
import { FExecutionRegister, FMediator } from '@foblex/mediator';
|
|
6
|
+
import { FComponentsStore } from '../../../f-storage';
|
|
7
|
+
import { FDraggableDataContext } from '../../f-draggable-data-context';
|
|
8
|
+
import { AttachDragNodeHandlerFromSelectionRequest } from '../attach-drag-node-handler-from-selection';
|
|
9
|
+
import { isValidEventTrigger, SelectAndUpdateNodeLayerRequest, } from '../../../domain';
|
|
10
|
+
import { isClosestElementHasClass } from '@foblex/utils';
|
|
11
|
+
import { MagneticLinesPreparationRequest } from '../magnetic-lines';
|
|
12
|
+
import { MagneticRectsPreparationRequest } from '../magnetic-rects';
|
|
13
|
+
import * as i0 from "@angular/core";
|
|
14
|
+
let DragNodePreparation = class DragNodePreparation {
|
|
15
|
+
_mediator = inject(FMediator);
|
|
16
|
+
_store = inject(FComponentsStore);
|
|
17
|
+
_dragSession = inject(FDraggableDataContext);
|
|
18
|
+
handle({ event, trigger }) {
|
|
19
|
+
if (!this._canStartDrag(event, trigger)) {
|
|
20
|
+
return;
|
|
21
|
+
}
|
|
22
|
+
const node = this._findDraggableNode(event.targetElement);
|
|
23
|
+
if (!node) {
|
|
24
|
+
return;
|
|
25
|
+
}
|
|
26
|
+
this._storePointerDownContext(event);
|
|
27
|
+
// Store pointer-down context for other handlers
|
|
28
|
+
this._dragSession.draggableItems = [this._buildDragNodeHandler(node)];
|
|
29
|
+
this._mediator.execute(new MagneticLinesPreparationRequest());
|
|
30
|
+
this._mediator.execute(new MagneticRectsPreparationRequest());
|
|
31
|
+
}
|
|
32
|
+
_canStartDrag(event, trigger) {
|
|
33
|
+
return (this._dragSession.isEmpty() &&
|
|
34
|
+
this._isDragHandle(event.targetElement) &&
|
|
35
|
+
isValidEventTrigger(event.originalEvent, trigger));
|
|
36
|
+
}
|
|
37
|
+
_isDragHandle(element) {
|
|
38
|
+
return isClosestElementHasClass(element, '.f-drag-handle');
|
|
39
|
+
}
|
|
40
|
+
_findDraggableNode(target) {
|
|
41
|
+
const nodes = this._store.nodes.getAll();
|
|
42
|
+
for (const node of nodes) {
|
|
43
|
+
if (node.fDraggingDisabled()) {
|
|
44
|
+
continue;
|
|
45
|
+
}
|
|
46
|
+
if (node.isContains(target)) {
|
|
47
|
+
return node;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
return undefined;
|
|
51
|
+
}
|
|
52
|
+
_storePointerDownContext(event) {
|
|
53
|
+
this._dragSession.onPointerDownScale = this._store.transform.scale;
|
|
54
|
+
this._dragSession.onPointerDownPosition = Point.fromPoint(event.getPosition())
|
|
55
|
+
.elementTransform(this._store.flowHost)
|
|
56
|
+
.div(this._store.transform.scale);
|
|
57
|
+
}
|
|
58
|
+
_buildDragNodeHandler(node) {
|
|
59
|
+
if (node.fSelectionDisabled() || !node.isSelected()) {
|
|
60
|
+
queueMicrotask(() => {
|
|
61
|
+
this._mediator.execute(new SelectAndUpdateNodeLayerRequest(node));
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
return this._mediator.execute(new AttachDragNodeHandlerFromSelectionRequest(node));
|
|
65
|
+
}
|
|
66
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DragNodePreparation, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
67
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DragNodePreparation });
|
|
68
|
+
};
|
|
69
|
+
DragNodePreparation = __decorate([
|
|
70
|
+
FExecutionRegister(DragNodePreparationRequest)
|
|
71
|
+
], DragNodePreparation);
|
|
72
|
+
export { DragNodePreparation };
|
|
73
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DragNodePreparation, decorators: [{
|
|
74
|
+
type: Injectable
|
|
75
|
+
}] });
|
|
76
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJhZy1ub2RlLXByZXBhcmF0aW9uLmpzIiwic291cmNlUm9vd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9yZS50cmFuc2Zvcm0uc2NhbGUpO1xuICB9XG5cbiAgcHJpdmF0ZSBfYnVpbGREcmFnTm9kZUhhbmRsZXIobm9kZTogRk5vZGVCYXNlKTogRHJhZ05vZGVIYW5kbGVyIHtcbiAgICBpZiAobm9kZS5mU2VsZWN0aW9uRGlzYWJsZWQoKSB8fCAhbm9kZS5pc1NlbGVjdGVkKCkpIHtcbiAgICAgIHF1ZXVlTWljcm90YXNrKCgpID0+IHtcbiAgICAgICAgdGhpcy5fbWVkaWF0b3IuZXhlY3V0ZTx2b2lkPihuZXcgU2VsZWN0QW5kVXBkYXRlTm9kZUxheWVyUmVxdWVzdChub2RlKSk7XG4gICAgICB9KTtcbiAgICB9XG5cbiAgICByZXR1cm4gdGhpcy5fbWVkaWF0b3IuZXhlY3V0ZShuZXcgQXR0YWNoRHJhZ05vZGVIYW5kbGVyRnJvbVNlbGVjdGlvblJlcXVlc3Qobm9kZSkpO1xuICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './drag-node-preparation';
|
|
2
|
+
export * from './drag-node-preparation-request';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtZHJhZ2dhYmxlL2RyYWctbm9kZS9kcmFnLW5vZGUtcHJlcGFyYXRpb24vaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyx5QkFBeUIsQ0FBQztBQUV4QyxjQUFjLGlDQUFpQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9kcmFnLW5vZGUtcHJlcGFyYXRpb24nO1xuXG5leHBvcnQgKiBmcm9tICcuL2RyYWctbm9kZS1wcmVwYXJhdGlvbi1yZXF1ZXN0JztcbiJdfQ==
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export class FDragNodeStartEventData {
|
|
2
|
+
fNodeIds;
|
|
3
|
+
constructor(fNodeIds) {
|
|
4
|
+
this.fNodeIds = fNodeIds;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1kcmFnLW5vZGUtc3RhcnQtZXZlbnQtZGF0YS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi1kcmFnZ2FibGUvZHJhZy1ub2RlL2YtZHJhZy1ub2RlLXN0YXJ0LWV2ZW50LWRhdGEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxPQUFPLHVCQUF1QjtJQUNOO0lBQTVCLFlBQTRCLFFBQWtCO1FBQWxCLGFBQVEsR0FBUixRQUFRLENBQVU7SUFBRyxDQUFDO0NBQ25EIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGNsYXNzIEZEcmFnTm9kZVN0YXJ0RXZlbnREYXRhIHtcbiAgY29uc3RydWN0b3IocHVibGljIHJlYWRvbmx5IGZOb2RlSWRzOiBzdHJpbmdbXSkge31cbn1cbiJdfQ==
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Event that is emitted when nodes and groups are moved.
|
|
3
|
+
* It contains the moved nodes and groups and their new positions.
|
|
4
|
+
*/
|
|
5
|
+
export class FMoveNodesEvent {
|
|
6
|
+
/** Preferred name */
|
|
7
|
+
nodes;
|
|
8
|
+
/** @deprecated Use `nodes` */
|
|
9
|
+
fNodes;
|
|
10
|
+
constructor(nodes) {
|
|
11
|
+
// single source of truth, same reference
|
|
12
|
+
this.nodes = nodes;
|
|
13
|
+
this.fNodes = nodes;
|
|
14
|
+
}
|
|
15
|
+
}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F0ZWQgVXNlIGBub2Rlc2AgKi9cbiAgcHVibGljIHJlYWRvbmx5IGZOb2RlczogRk1vdmVOb2RlUG9zaXRpb25bXTtcblxuICBjb25zdHJ1Y3Rvcihub2RlczogRk1vdmVOb2RlUG9zaXRpb25bXSkge1xuICAgIC8vIHNpbmdsZSBzb3VyY2Ugb2YgdHJ1dGgsIHNhbWUgcmVmZXJlbmNlXG4gICAgdGhpcy5ub2RlcyA9IG5vZGVzO1xuICAgIHRoaXMuZk5vZGVzID0gbm9kZXM7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export * from './attach-drag-node-handler-from-selection';
|
|
2
|
+
export * from './magnetic-lines';
|
|
3
|
+
export * from './magnetic-rects';
|
|
4
|
+
export * from './drag-node-constraint';
|
|
5
|
+
export * from './drag-node-dependent-connection-handlers';
|
|
6
|
+
export * from './drag-node-finalize';
|
|
7
|
+
export * from './drag-node-handler';
|
|
8
|
+
export * from './drag-node-preparation';
|
|
9
|
+
export * from './f-move-nodes-event';
|
|
10
|
+
export * from './f-drag-node-start-event-data';
|
|
11
|
+
export * from './providers';
|
|
12
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtZHJhZ2dhYmxlL2RyYWctbm9kZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDJDQUEyQyxDQUFDO0FBRTFELGNBQWMsa0JBQWtCLENBQUM7QUFFakMsY0FBYyxrQkFBa0IsQ0FBQztBQUVqQyxjQUFjLHdCQUF3QixDQUFDO0FBRXZDLGNBQWMsMkNBQTJDLENBQUM7QUFFMUQsY0FBYyxzQkFBc0IsQ0FBQztBQUVyQyxjQUFjLHFCQUFxQixDQUFDO0FBRXBDLGNBQWMseUJBQXlCLENBQUM7QUFFeEMsY0FBYyxzQkFBc0IsQ0FBQztBQUVyQyxjQUFjLGdDQUFnQyxDQUFDO0FBRS9DLGNBQWMsYUFBYSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9hdHRhY2gtZHJhZy1ub2RlLWhhbmRsZXItZnJvbS1zZWxlY3Rpb24nO1xuXG5leHBvcnQgKiBmcm9tICcuL21hZ25ldGljLWxpbmVzJztcblxuZXhwb3J0ICogZnJvbSAnLi9tYWduZXRpYy1yZWN0cyc7XG5cbmV4cG9ydCAqIGZyb20gJy4vZHJhZy1ub2RlLWNvbnN0cmFpbnQnO1xuXG5leHBvcnQgKiBmcm9tICcuL2RyYWctbm9kZS1kZXBlbmRlbnQtY29ubmVjdGlvbi1oYW5kbGVycyc7XG5cbmV4cG9ydCAqIGZyb20gJy4vZHJhZy1ub2RlLWZpbmFsaXplJztcblxuZXhwb3J0ICogZnJvbSAnLi9kcmFnLW5vZGUtaGFuZGxlcic7XG5cbmV4cG9ydCAqIGZyb20gJy4vZHJhZy1ub2RlLXByZXBhcmF0aW9uJztcblxuZXhwb3J0ICogZnJvbSAnLi9mLW1vdmUtbm9kZXMtZXZlbnQnO1xuXG5leHBvcnQgKiBmcm9tICcuL2YtZHJhZy1ub2RlLXN0YXJ0LWV2ZW50LWRhdGEnO1xuXG5leHBvcnQgKiBmcm9tICcuL3Byb3ZpZGVycyc7XG4iXX0=
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
export function calculateMagneticGuides(elements, target, alignThreshold = 10) {
|
|
2
|
+
const tx = target.x;
|
|
3
|
+
const ty = target.y;
|
|
4
|
+
const tr = tx + target.width;
|
|
5
|
+
const tb = ty + target.height;
|
|
6
|
+
const tcx = target.gravityCenter.x;
|
|
7
|
+
const tcy = target.gravityCenter.y;
|
|
8
|
+
// Best candidates
|
|
9
|
+
let bestXGuide;
|
|
10
|
+
let bestXDelta;
|
|
11
|
+
let bestXAbs = Infinity;
|
|
12
|
+
let bestYGuide;
|
|
13
|
+
let bestYDelta;
|
|
14
|
+
let bestYAbs = Infinity;
|
|
15
|
+
// Small helpers: readable + avoids repeated Math.abs calls.
|
|
16
|
+
const considerX = (guide, delta) => {
|
|
17
|
+
const abs = delta < 0 ? -delta : delta;
|
|
18
|
+
if (abs <= alignThreshold && abs < bestXAbs) {
|
|
19
|
+
bestXAbs = abs;
|
|
20
|
+
bestXGuide = guide;
|
|
21
|
+
bestXDelta = delta;
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
const considerY = (guide, delta) => {
|
|
25
|
+
const abs = delta < 0 ? -delta : delta;
|
|
26
|
+
if (abs <= alignThreshold && abs < bestYAbs) {
|
|
27
|
+
bestYAbs = abs;
|
|
28
|
+
bestYGuide = guide;
|
|
29
|
+
bestYDelta = delta;
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
for (let i = 0; i < elements.length; i++) {
|
|
33
|
+
const el = elements[i];
|
|
34
|
+
// Precompute element anchors once per element
|
|
35
|
+
const ex = el.x;
|
|
36
|
+
const ey = el.y;
|
|
37
|
+
const er = ex + el.width; // element right
|
|
38
|
+
const eb = ey + el.height; // element bottom
|
|
39
|
+
const ecx = el.gravityCenter.x;
|
|
40
|
+
const ecy = el.gravityCenter.y;
|
|
41
|
+
// X candidates
|
|
42
|
+
considerX(ex, tx - ex); // target.left - element.left
|
|
43
|
+
considerX(er, tx - er); // target.left - element.right
|
|
44
|
+
considerX(ecx, tcx - ecx); // target.center - element.center
|
|
45
|
+
considerX(ex, tr - ex); // target.right - element.left
|
|
46
|
+
considerX(er, tr - er); // target.right - element.right
|
|
47
|
+
// Y candidates
|
|
48
|
+
considerY(ey, ty - ey); // target.top - element.top
|
|
49
|
+
considerY(eb, ty - eb); // target.top - element.bottom
|
|
50
|
+
considerY(ecy, tcy - ecy); // target.center - element.center
|
|
51
|
+
considerY(ey, tb - ey); // target.bottom - element.top
|
|
52
|
+
considerY(eb, tb - eb); // target.bottom - element.bottom
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
x: { guide: bestXGuide, delta: bestXDelta },
|
|
56
|
+
y: { guide: bestYGuide, delta: bestYDelta },
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FsY3VsYXRlLW1hZ25ldGljLWd1aWRlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi1kcmFnZ2FibGUvZHJhZy1ub2RlL21hZ25ldGljLWxpbmVzL2RvbWFpbi9jYWxjdWxhdGUtbWFnbmV0aWMtZ3VpZGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUdBLE1BQU0sVUFBVSx1QkFBdUIsQ0FDckMsUUFBaUIsRUFDakIsTUFBYSxFQUNiLGlCQUF5QixFQUFFO0lBRTNCLE1BQU0sRUFBRSxHQUFHLE1BQU0sQ0FBQyxDQUFDLENBQUM7SUFDcEIsTUFBTSxFQUFFLEdBQUcsTUFBTSxDQUFDLENBQUMsQ0FBQztJQUVwQixNQUFNLEVBQUUsR0FBRyxFQUFFLEdBQUcsTUFBTSxDQUFDLEtBQUssQ0FBQztJQUM3QixNQUFNLEVBQUUsR0FBRyxFQUFFLEdBQUcsTUFBTSxDQUFDLE1BQU0sQ0FBQztJQUU5QixNQUFNLEdBQUcsR0FBRyxNQUFNLENBQUMsYUFBYSxDQUFDLENBQUMsQ0FBQztJQUNuQyxNQUFNLEdBQUcsR0FBRyxNQUFNLENBQUMsYUFBYSxDQUFDLENBQUMsQ0FBQztJQUVuQyxrQkFBa0I7SUFDbEIsSUFBSSxVQUE4QixDQUFDO0lBQ25DLElBQUksVUFBOEIsQ0FBQztJQUNuQyxJQUFJLFFBQVEsR0FBRyxRQUFRLENBQUM7SUFFeE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QgZGVsdGEgdG8gYXBwbHkgdG8gdGhlIGRyYWdnZWQgcmVjdCB0byBhbGlnbiB3aXRoIHRoZSBndWlkZSAqL1xuICBkZWx0YT86IG51bWJlcjtcbn1cbiJdfQ==
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1tYWduZXRpYy1ndWlkZXMtcmVzdWx0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWRyYWdnYWJsZS9kcmFnLW5vZGUvbWFnbmV0aWMtbGluZXMvZG9tYWluL2ktbWFnbmV0aWMtZ3VpZGVzLXJlc3VsdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSU1hZ25ldGljQXhpc0d1aWRlIH0gZnJvbSAnLi9pLW1hZ25ldGljLWF4aXMtZ3VpZGUnO1xuXG5leHBvcnQgaW50ZXJmYWNlIElNYWduZXRpY0d1aWRlc1Jlc3VsdCB7XG4gIHg6IElNYWduZXRpY0F4aXNHdWlkZTtcbiAgeTogSU1hZ25ldGljQXhpc0d1aWRlO1xufVxuIl19
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from './calculate-magnetic-guides';
|
|
2
|
+
export * from './i-magnetic-axis-guide';
|
|
3
|
+
export * from './i-magnetic-guides-result';
|
|
4
|
+
export * from './magnetic-line-element';
|
|
5
|
+
export * from './magnetic-line-renderer';
|
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtZHJhZ2dhYmxlL2RyYWctbm9kZS9tYWduZXRpYy1saW5lcy9kb21haW4vaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyw2QkFBNkIsQ0FBQztBQUU1QyxjQUFjLHlCQUF5QixDQUFDO0FBRXhDLGNBQWMsNEJBQTRCLENBQUM7QUFFM0MsY0FBYyx5QkFBeUIsQ0FBQztBQUV4QyxjQUFjLDBCQUEwQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9jYWxjdWxhdGUtbWFnbmV0aWMtZ3VpZGVzJztcblxuZXhwb3J0ICogZnJvbSAnLi9pLW1hZ25ldGljLWF4aXMtZ3VpZGUnO1xuXG5leHBvcnQgKiBmcm9tICcuL2ktbWFnbmV0aWMtZ3VpZGVzLXJlc3VsdCc7XG5cbmV4cG9ydCAqIGZyb20gJy4vbWFnbmV0aWMtbGluZS1lbGVtZW50JztcblxuZXhwb3J0ICogZnJvbSAnLi9tYWduZXRpYy1saW5lLXJlbmRlcmVyJztcbiJdfQ==
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
const MAGNETIC_LINE_RECT_KEYS = ['left', 'top', 'width', 'height'];
|
|
2
|
+
export class MagneticLineElement {
|
|
3
|
+
_element;
|
|
4
|
+
constructor(browser, hostElement, className = 'f-line') {
|
|
5
|
+
this._element = browser.document.createElement('div');
|
|
6
|
+
this._element.classList.add(className);
|
|
7
|
+
this._element.style.position = 'absolute';
|
|
8
|
+
this._element.style.display = 'none';
|
|
9
|
+
hostElement.appendChild(this._element);
|
|
10
|
+
}
|
|
11
|
+
show() {
|
|
12
|
+
this._element.style.display = 'block';
|
|
13
|
+
}
|
|
14
|
+
hide() {
|
|
15
|
+
this._element.style.display = 'none';
|
|
16
|
+
}
|
|
17
|
+
render(rect) {
|
|
18
|
+
for (const key of MAGNETIC_LINE_RECT_KEYS) {
|
|
19
|
+
const value = rect[key];
|
|
20
|
+
if (value != null) {
|
|
21
|
+
this._element.style[key] = `${value}px`;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
clearRect() {
|
|
26
|
+
for (const key of MAGNETIC_LINE_RECT_KEYS) {
|
|
27
|
+
this._element.style.removeProperty(key);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
destroy() {
|
|
31
|
+
this._element.remove();
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFnbmV0aWMtbGluZS1lbGVtZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWRyYWdnYWJsZS9kcmFnLW5vZGUvbWFnbmV0aWMtbGluZXMvZG9tYWluL21hZ25ldGljLWxpbmUtZWxlbWVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFTQSxNQUFNLHVCQUF1QixHQUErQixDQUFDLE1BQU0sRUFBRSxLQUFLLEVBQUUsT0FBTyxFQUFFLFFBQVEsQ0FBQyxDQUFDO0FBRS9GLE1BQU0sT0FBTyxtQkFBbUI7SUFDYixRQUFRLENBQWM7SUFFdkMsWUFBWSxPQUF1QixFQUFFLFdBQXdCLEVBQUUsU0FBUyxHQUFHLFFBQVE7UUFDakYsSUFBSSxDQUFDLFFBQVEsR0FBRyxPQUFPLENBQUMsUUFBUSxDQUFDLGFBQWEsQ0FBQyxLQUFLLENBQUMsQ0FBQztRQUN0RCxJQUFJLENBQUMsUUFBUSxDQUFDLFNBQVMsQ0FBQyxHQUFHLENBQUMsU0FBUyxDQUFDLENBQUM7UUFDdkMsSUFBSSxDQUFDLFFBQVEsQ0FBQyxLQUFLLENBQUMsUUFBUSxHQUFHLFVBQVUsQ0FBQztRQUMxQyxJQUFJLENBQUMsUUFBUSxDQUFDLEtBQUssQ0FBQyxPQUFPLEdBQ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0IGtleSBvZiBNQUdORVRJQ19MSU5FX1JFQ1RfS0VZUykge1xuICAgICAgY29uc3QgdmFsdWUgPSByZWN0W2tleV07XG4gICAgICBpZiAodmFsdWUgIT0gbnVsbCkge1xuICAgICAgICB0aGlzLl9lbGVtZW50LnN0eWxlW2tleSBhcyBuZXZlcl0gPSBgJHt2YWx1ZX1weGA7XG4gICAgICB9XG4gICAgfVxuICB9XG5cbiAgcHVibGljIGNsZWFyUmVjdCgpOiB2b2lkIHtcbiAgICBmb3IgKGNvbnN0IGtleSBvZiBNQUdORVRJQ19MSU5FX1JFQ1RfS0VZUykge1xuICAgICAgdGhpcy5fZWxlbWVudC5zdHlsZS5yZW1vdmVQcm9wZXJ0eShrZXkpO1xuICAgIH1cbiAgfVxuXG4gIHB1YmxpYyBkZXN0cm95KCk6IHZvaWQge1xuICAgIHRoaXMuX2VsZW1lbnQucmVtb3ZlKCk7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { MagneticLineElement } from './magnetic-line-element';
|
|
2
|
+
export class MagneticLineRenderer {
|
|
3
|
+
_horizontal;
|
|
4
|
+
_vertical;
|
|
5
|
+
constructor(browser, hostElement) {
|
|
6
|
+
this._horizontal = new MagneticLineElement(browser, hostElement);
|
|
7
|
+
this._vertical = new MagneticLineElement(browser, hostElement);
|
|
8
|
+
this._horizontal.hide();
|
|
9
|
+
this._vertical.hide();
|
|
10
|
+
}
|
|
11
|
+
drawVerticalLine(x, size, transform) {
|
|
12
|
+
this._vertical.show();
|
|
13
|
+
this._vertical.render({
|
|
14
|
+
left: x * transform.scale + transform.position.x + transform.scaledPosition.x,
|
|
15
|
+
top: 0,
|
|
16
|
+
width: 1,
|
|
17
|
+
height: size.height,
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
drawHorizontalLine(y, size, transform) {
|
|
21
|
+
this._horizontal.show();
|
|
22
|
+
this._horizontal.render({
|
|
23
|
+
left: 0,
|
|
24
|
+
top: y * transform.scale + transform.position.y + transform.scaledPosition.y,
|
|
25
|
+
width: size.width,
|
|
26
|
+
height: 1,
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
hideVertical() {
|
|
30
|
+
this._vertical.hide();
|
|
31
|
+
}
|
|
32
|
+
hideHorizontal() {
|
|
33
|
+
this._horizontal.hide();
|
|
34
|
+
}
|
|
35
|
+
hideAll() {
|
|
36
|
+
this._vertical.hide();
|
|
37
|
+
this._horizontal.hide();
|
|
38
|
+
}
|
|
39
|
+
destroy() {
|
|
40
|
+
this._vertical.destroy();
|
|
41
|
+
this._horizontal.destroy();
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFnbmV0aWMtbGluZS1yZW5kZXJlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi1kcmFnZ2FibGUvZHJhZy1ub2RlL21hZ25ldGljLWxpbmVzL2RvbWFpbi9tYWduZXRpYy1saW5lLXJlbmRlcmVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLHlCQUF5QixDQUFDO0FBRzlELE1BQU0sT0FBTyxvQkFBb0I7SUFDZCxXQUFXLENBQXNCO0lBQ2pDLFNBQVMsQ0FBc0I7SUFFaEQsWUFBWSxPQUF1QixFQUFFLFdBQXdCO1FBQzNELElBQUksQ0FBQyxXQUFXLEdBQUcsSUFBSSxtQkFBbUIsQ0FBQyxPQUFPLEVBQUUsV0FBVyxDQUFDLENBQUM7UUFDakUsSUFBSSxDQUFDLFNBQVMsR0FBRyxJQUFJLG1CQUFtQixDQUFDLE9BQU8sRUFBRSxXQUFXLENBQUMsQ0FBQztRQUMvRCxJQUFJLENBQUMsV0FBVyxDQUFDLElB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VibGljIGhpZGVBbGwoKTogdm9pZCB7XG4gICAgdGhpcy5fdmVydGljYWwuaGlkZSgpO1xuICAgIHRoaXMuX2hvcml6b250YWwuaGlkZSgpO1xuICB9XG5cbiAgcHVibGljIGRlc3Ryb3koKTogdm9pZCB7XG4gICAgdGhpcy5fdmVydGljYWwuZGVzdHJveSgpO1xuICAgIHRoaXMuX2hvcml6b250YWwuZGVzdHJveSgpO1xuICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export * from './domain';
|
|
2
|
+
export * from './magnetic-lines-preparation';
|
|
3
|
+
export * from './magnetic-lines-handler';
|
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtZHJhZ2dhYmxlL2RyYWctbm9kZS9tYWduZXRpYy1saW5lcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLFVBQVUsQ0FBQztBQUV6QixjQUFjLDhCQUE4QixDQUFDO0FBRTdDLGNBQWMsMEJBQTBCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2RvbWFpbic7XG5cbmV4cG9ydCAqIGZyb20gJy4vbWFnbmV0aWMtbGluZXMtcHJlcGFyYXRpb24nO1xuXG5leHBvcnQgKiBmcm9tICcuL21hZ25ldGljLWxpbmVzLWhhbmRsZXInO1xuIl19
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export * from './magnetic-lines-handler';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtZHJhZ2dhYmxlL2RyYWctbm9kZS9tYWduZXRpYy1saW5lcy9tYWduZXRpYy1saW5lcy1oYW5kbGVyL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsMEJBQTBCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL21hZ25ldGljLWxpbmVzLWhhbmRsZXInO1xuIl19
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { FComponentsStore, INSTANCES } from '../../../../f-storage';
|
|
2
|
+
import { calculateMagneticGuides } from '../domain';
|
|
3
|
+
export class MagneticLinesHandler {
|
|
4
|
+
_renderer;
|
|
5
|
+
_size;
|
|
6
|
+
_rects;
|
|
7
|
+
_timerId = null;
|
|
8
|
+
_canvasTransform;
|
|
9
|
+
_alignThreshold = 10;
|
|
10
|
+
constructor(injector, _renderer, _size, _rects) {
|
|
11
|
+
this._renderer = _renderer;
|
|
12
|
+
this._size = _size;
|
|
13
|
+
this._rects = _rects;
|
|
14
|
+
const store = injector.get(FComponentsStore);
|
|
15
|
+
this._alignThreshold = store.instances.require(INSTANCES.MAGNETIC_LINES).threshold();
|
|
16
|
+
this._canvasTransform = store.transform;
|
|
17
|
+
}
|
|
18
|
+
scheduleRender(_draggedRect) {
|
|
19
|
+
if (this._timerId) {
|
|
20
|
+
clearTimeout(this._timerId);
|
|
21
|
+
}
|
|
22
|
+
this._timerId = setTimeout(() => this._renderGuides(this._computeGuides(_draggedRect)), 15);
|
|
23
|
+
}
|
|
24
|
+
_renderGuides(guides) {
|
|
25
|
+
this._renderVertical(guides);
|
|
26
|
+
this._renderHorizontal(guides);
|
|
27
|
+
}
|
|
28
|
+
_renderVertical(guides) {
|
|
29
|
+
if (guides.x.guide !== undefined) {
|
|
30
|
+
this._renderer.drawVerticalLine(guides.x.guide, this._size, this._canvasTransform);
|
|
31
|
+
}
|
|
32
|
+
else {
|
|
33
|
+
this._renderer.hideVertical();
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
_renderHorizontal(guides) {
|
|
37
|
+
if (guides.y.guide !== undefined) {
|
|
38
|
+
this._renderer.drawHorizontalLine(guides.y.guide, this._size, this._canvasTransform);
|
|
39
|
+
}
|
|
40
|
+
else {
|
|
41
|
+
this._renderer.hideHorizontal();
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
_computeGuides(_draggedRect) {
|
|
45
|
+
return calculateMagneticGuides(this._rects, _draggedRect, this._alignThreshold);
|
|
46
|
+
}
|
|
47
|
+
clearGuides() {
|
|
48
|
+
this._renderer.hideAll();
|
|
49
|
+
if (this._timerId) {
|
|
50
|
+
clearTimeout(this._timerId);
|
|
51
|
+
this._timerId = null;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFnbmV0aWMtbGluZXMtaGFuZGxlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi1kcmFnZ2FibGUvZHJhZy1ub2RlL21hZ25ldGljLWxpbmVzL21hZ25ldGljLWxpbmVzLWhhbmRsZXIvbWFnbmV0aWMtbGluZXMtaGFuZGxlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsU0FBUyxFQUFFLE1BQU0sdUJBQXVCLENBQUM7QUFDcEUsT0FBTyxFQUFFLHVCQUF1QixFQUErQyxNQUFNLFdBQVcsQ0FBQztBQUVqRyxNQUFNLE9BQU8sb0JBQW9CO0lBUXJCO0lBQ0E7SUFDQTtJQVRGLFFBQVEsR0FBeUMsSUFBSSxDQUFDO0lBRTdDLGdCQUFnQixDQUFrQjtJQUNsQyxlQUFlLEdBQVcsRUFBRSxD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WxMaW5lKGd1aWRlcy55Lmd1aWRlLCB0aGlzLl9zaXplLCB0aGlzLl9jYW52YXNUcmFuc2Zvcm0pO1xuICAgIH0gZWxzZSB7XG4gICAgICB0aGlzLl9yZW5kZXJlci5oaWRlSG9yaXpvbnRhbCgpO1xuICAgIH1cbiAgfVxuXG4gIHB1YmxpYyBfY29tcHV0ZUd1aWRlcyhfZHJhZ2dlZFJlY3Q6IElSZWN0KTogSU1hZ25ldGljR3VpZGVzUmVzdWx0IHtcbiAgICByZXR1cm4gY2FsY3VsYXRlTWFnbmV0aWNHdWlkZXModGhpcy5fcmVjdHMsIF9kcmFnZ2VkUmVjdCwgdGhpcy5fYWxpZ25UaHJlc2hvbGQpO1xuICB9XG5cbiAgcHVibGljIGNsZWFyR3VpZGVzKCk6IHZvaWQge1xuICAgIHRoaXMuX3JlbmRlcmVyLmhpZGVBbGwoKTtcblxuICAgIGlmICh0aGlzLl90aW1lcklkKSB7XG4gICAgICBjbGVhclRpbWVvdXQodGhpcy5fdGltZXJJZCk7XG4gICAgICB0aGlzLl90aW1lcklkID0gbnVsbDtcbiAgICB9XG4gIH1cbn1cbiJdfQ==
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './magnetic-lines-preparation';
|
|
2
|
+
export * from './magnetic-lines-preparation-request';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtZHJhZ2dhYmxlL2RyYWctbm9kZS9tYWduZXRpYy1saW5lcy9tYWduZXRpYy1saW5lcy1wcmVwYXJhdGlvbi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDhCQUE4QixDQUFDO0FBQzdDLGNBQWMsc0NBQXNDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL21hZ25ldGljLWxpbmVzLXByZXBhcmF0aW9uJztcbmV4cG9ydCAqIGZyb20gJy4vbWFnbmV0aWMtbGluZXMtcHJlcGFyYXRpb24tcmVxdWVzdCc7XG4iXX0=
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export class MagneticLinesPreparationRequest {
|
|
2
|
+
static fToken = Symbol('MagneticLinesPreparationRequest');
|
|
3
|
+
}
|
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFnbmV0aWMtbGluZXMtcHJlcGFyYXRpb24tcmVxdWVzdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi1kcmFnZ2FibGUvZHJhZy1ub2RlL21hZ25ldGljLWxpbmVzL21hZ25ldGljLWxpbmVzLXByZXBhcmF0aW9uL21hZ25ldGljLWxpbmVzLXByZXBhcmF0aW9uLXJlcXVlc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxPQUFPLCtCQUErQjtJQUMxQyxNQUFNLENBQVUsTUFBTSxHQUFHLE1BQU0sQ0FBQyxpQ0FBaUMsQ0FBQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGNsYXNzIE1hZ25ldGljTGluZXNQcmVwYXJhdGlvblJlcXVlc3Qge1xuICBzdGF0aWMgcmVhZG9ubHkgZlRva2VuID0gU3ltYm9sKCdNYWduZXRpY0xpbmVzUHJlcGFyYXRpb25SZXF1ZXN0Jyk7XG59XG4iXX0=
|