@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
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { CalculateConnectionCenterHandler, CalculateConnectionCenterRequest, } from './calculate-connection-center';
|
|
2
|
-
export class FStraightPathBuilder {
|
|
3
|
-
handle(request) {
|
|
4
|
-
const { source, target } = request;
|
|
5
|
-
const path = `M ${source.x} ${source.y} L ${target.x + 0.0002} ${target.y + 0.0002}`;
|
|
6
|
-
const connectionCenter = new CalculateConnectionCenterHandler().handle(new CalculateConnectionCenterRequest([source, target]));
|
|
7
|
-
return {
|
|
8
|
-
path,
|
|
9
|
-
connectionCenter,
|
|
10
|
-
penultimatePoint: source,
|
|
11
|
-
secondPoint: target,
|
|
12
|
-
points: [source, connectionCenter, target],
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1zdHJhaWdodC5wYXRoLWJ1aWxkZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi9jb21tb24vZG9tYWluL2Ytc3RyYWlnaHQucGF0aC1idWlsZGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCxnQ0FBZ0MsRUFDaEMsZ0NBQWdDLEdBQ2pDLE1BQU0sK0JBQStCLENBQUM7QUFPdkMsTUFBTSxPQUFPLG9CQUFvQjtJQUN4QixNQUFNLENBQUMsT0FBbUM7UUFDL0MsTUFBTSxFQUFFLE1BQU0sRUFBRSxNQUFNLEVBQUUsR0FBRyxPQUFPLENBQUM7UUFDbkMsTUFBTSxJQUFJLEdBQUcsS0FBSyxNQUFNLENBQUMsQ0FBQyxJQUFJLE1BQU0sQ0FBQyxDQUFDLE1BQU0sTUFBTSxDQUFDLENBQUMsR0FBRyxNQUFNLElBQUksTUFBTS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GggPSBgTSAke3NvdXJjZS54fSAke3NvdXJjZS55fSBMICR7dGFyZ2V0LnggKyAwLjAwMDJ9ICR7dGFyZ2V0LnkgKyAwLjAwMDJ9YDtcblxuICAgIGNvbnN0IGNvbm5lY3Rpb25DZW50ZXIgPSBuZXcgQ2FsY3VsYXRlQ29ubmVjdGlvbkNlbnRlckhhbmRsZXIoKS5oYW5kbGUoXG4gICAgICBuZXcgQ2FsY3VsYXRlQ29ubmVjdGlvbkNlbnRlclJlcXVlc3QoW3NvdXJjZSwgdGFyZ2V0XSksXG4gICAgKTtcblxuICAgIHJldHVybiB7XG4gICAgICBwYXRoLFxuICAgICAgY29ubmVjdGlvbkNlbnRlcixcbiAgICAgIHBlbnVsdGltYXRlUG9pbnQ6IHNvdXJjZSxcbiAgICAgIHNlY29uZFBvaW50OiB0YXJnZXQsXG4gICAgICBwb2ludHM6IFtzb3VyY2UsIGNvbm5lY3Rpb25DZW50ZXIsIHRhcmdldF0sXG4gICAgfTtcbiAgfVxufVxuIl19
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export * from './calculate-center-between-points';
|
|
2
|
-
export * from './calculate-connection-center';
|
|
3
|
-
export * from './adaptive-curve-builder';
|
|
4
|
-
export * from './f-bezier.path-builder';
|
|
5
|
-
export * from './f-segment.path-builder';
|
|
6
|
-
export * from './f-straight.path-builder';
|
|
7
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi9jb21tb24vZG9tYWluL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsbUNBQW1DLENBQUM7QUFFbEQsY0FBYywrQkFBK0IsQ0FBQztBQUU5QyxjQUFjLDBCQUEwQixDQUFDO0FBRXpDLGNBQWMseUJBQXlCLENBQUM7QUFFeEMsY0FBYywwQkFBMEIsQ0FBQztBQUV6QyxjQUFjLDJCQUEyQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9jYWxjdWxhdGUtY2VudGVyLWJldHdlZW4tcG9pbnRzJztcblxuZXhwb3J0ICogZnJvbSAnLi9jYWxjdWxhdGUtY29ubmVjdGlvbi1jZW50ZXInO1xuXG5leHBvcnQgKiBmcm9tICcuL2FkYXB0aXZlLWN1cnZlLWJ1aWxkZXInO1xuXG5leHBvcnQgKiBmcm9tICcuL2YtYmV6aWVyLnBhdGgtYnVpbGRlcic7XG5cbmV4cG9ydCAqIGZyb20gJy4vZi1zZWdtZW50LnBhdGgtYnVpbGRlcic7XG5cbmV4cG9ydCAqIGZyb20gJy4vZi1zdHJhaWdodC5wYXRoLWJ1aWxkZXInO1xuIl19
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export var EFConnectionBehavior;
|
|
2
|
-
(function (EFConnectionBehavior) {
|
|
3
|
-
EFConnectionBehavior["FIXED"] = "fixed";
|
|
4
|
-
EFConnectionBehavior["FIXED_CENTER"] = "fixed_center";
|
|
5
|
-
EFConnectionBehavior["FLOATING"] = "floating";
|
|
6
|
-
})(EFConnectionBehavior || (EFConnectionBehavior = {}));
|
|
7
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZS1mLWNvbm5lY3Rpb24tYmVoYXZpb3IuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi9jb21tb24vZS1mLWNvbm5lY3Rpb24tYmVoYXZpb3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFOLElBQVksb0JBT1g7QUFQRCxXQUFZLG9CQUFvQjtJQUU5Qix1Q0FBZSxDQUFBO0lBRWYscURBQTZCLENBQUE7SUFFN0IsNkNBQXFCLENBQUE7QUFDdkIsQ0FBQyxFQVBXLG9CQUFvQixLQUFwQixvQkFBb0IsUUFPL0IiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZW51bSBFRkNvbm5lY3Rpb25CZWhhdmlvciB7XG5cbiAgRklYRUQgPSAnZml4ZWQnLFxuXG4gIEZJWEVEX0NFTlRFUiA9ICdmaXhlZF9jZW50ZXInLFxuXG4gIEZMT0FUSU5HID0gJ2Zsb2F0aW5nJyxcbn1cbiJdfQ==
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export var EFConnectionConnectableSide;
|
|
2
|
-
(function (EFConnectionConnectableSide) {
|
|
3
|
-
EFConnectionConnectableSide["DEFAULT"] = "default";
|
|
4
|
-
EFConnectionConnectableSide["TOP"] = "top";
|
|
5
|
-
EFConnectionConnectableSide["BOTTOM"] = "bottom";
|
|
6
|
-
EFConnectionConnectableSide["LEFT"] = "left";
|
|
7
|
-
EFConnectionConnectableSide["RIGHT"] = "right";
|
|
8
|
-
EFConnectionConnectableSide["CALCULATE"] = "calculate";
|
|
9
|
-
EFConnectionConnectableSide["CALCULATE_HORIZONTAL"] = "calculate_horizontal";
|
|
10
|
-
EFConnectionConnectableSide["CALCULATE_VERTICAL"] = "calculate_vertical";
|
|
11
|
-
})(EFConnectionConnectableSide || (EFConnectionConnectableSide = {}));
|
|
12
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZS1mLWNvbm5lY3Rpb24tY29ubmVjdGFibGUtc2lkZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi1jb25uZWN0aW9uL2NvbW1vbi9lLWYtY29ubmVjdGlvbi1jb25uZWN0YWJsZS1zaWRlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBTixJQUFZLDJCQWdCWDtBQWhCRCxXQUFZLDJCQUEyQjtJQUNyQyxrREFBbUIsQ0FBQTtJQUVuQiwwQ0FBVyxDQUFBO0lBRVgsZ0RBQWlCLENBQUE7SUFFakIsNENBQWEsQ0FBQTtJQUViLDhDQUFlLENBQUE7SUFFZixzREFBdUIsQ0FBQTtJQUV2Qiw0RUFBNkMsQ0FBQTtJQUU3Qyx3RUFBeUMsQ0FBQTtBQUMzQyxDQUFDLEVBaEJXLDJCQUEyQixLQUEzQiwyQkFBMkIsUUFnQnRDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGVudW0gRUZDb25uZWN0aW9uQ29ubmVjdGFibGVTaWRlIHtcbiAgREVGQVVMVCA9ICdkZWZhdWx0JyxcblxuICBUT1AgPSAndG9wJyxcblxuICBCT1RUT00gPSAnYm90dG9tJyxcblxuICBMRUZUID0gJ2xlZnQnLFxuXG4gIFJJR0hUID0gJ3JpZ2h0JyxcblxuICBDQUxDVUxBVEUgPSAnY2FsY3VsYXRlJyxcblxuICBDQUxDVUxBVEVfSE9SSVpPTlRBTCA9ICdjYWxjdWxhdGVfaG9yaXpvbnRhbCcsXG5cbiAgQ0FMQ1VMQVRFX1ZFUlRJQ0FMID0gJ2NhbGN1bGF0ZV92ZXJ0aWNhbCcsXG59XG4iXX0=
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export var EFConnectionType;
|
|
2
|
-
(function (EFConnectionType) {
|
|
3
|
-
EFConnectionType["SEGMENT"] = "segment";
|
|
4
|
-
EFConnectionType["STRAIGHT"] = "straight";
|
|
5
|
-
EFConnectionType["BEZIER"] = "bezier";
|
|
6
|
-
EFConnectionType["ADAPTIVE_CURVE"] = "adaptive-curve";
|
|
7
|
-
})(EFConnectionType || (EFConnectionType = {}));
|
|
8
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZS1mLWNvbm5lY3Rpb24tdHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi1jb25uZWN0aW9uL2NvbW1vbi9lLWYtY29ubmVjdGlvbi10eXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBTixJQUFZLGdCQVFYO0FBUkQsV0FBWSxnQkFBZ0I7SUFDMUIsdUNBQW1CLENBQUE7SUFFbkIseUNBQXFCLENBQUE7SUFFckIscUNBQWlCLENBQUE7SUFFakIscURBQWlDLENBQUE7QUFDbkMsQ0FBQyxFQVJXLGdCQUFnQixLQUFoQixnQkFBZ0IsUUFRM0IiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZW51bSBFRkNvbm5lY3Rpb25UeXBlIHtcbiAgU0VHTUVOVCA9ICdzZWdtZW50JyxcblxuICBTVFJBSUdIVCA9ICdzdHJhaWdodCcsXG5cbiAgQkVaSUVSID0gJ2JlemllcicsXG5cbiAgQURBUFRJVkVfQ1VSVkUgPSAnYWRhcHRpdmUtY3VydmUnLFxufVxuIl19
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
import { contentChildren, Directive, ElementRef, inject, input, signal, viewChild, } from '@angular/core';
|
|
2
|
-
import { LineExtensions, PointExtensions } from '@foblex/2d';
|
|
3
|
-
import { CONNECTION_PATH } from './f-path';
|
|
4
|
-
import { CONNECTION_GRADIENT } from './f-gradient';
|
|
5
|
-
import { FConnectionDragHandleEndComponent, FConnectionDragHandleStartComponent, } from './f-drag-handle';
|
|
6
|
-
import { FConnectionSelectionComponent } from './f-selection';
|
|
7
|
-
import { CONNECTION_TEXT } from './f-connection-text';
|
|
8
|
-
import { EFConnectableSide } from '../../f-connectors';
|
|
9
|
-
import { FConnectionFactory } from '../f-connection-builder';
|
|
10
|
-
import { mixinChangeSelection, mixinChangeVisibility, } from '../../mixins';
|
|
11
|
-
import { FConnectionCenterDirective } from '../f-connection-center';
|
|
12
|
-
import { ConnectionContentLayoutEngine, FConnectionContent } from '../f-connection-content';
|
|
13
|
-
import { EFConnectionConnectableSide } from './e-f-connection-connectable-side';
|
|
14
|
-
import * as i0 from "@angular/core";
|
|
15
|
-
const MIXIN_BASE = mixinChangeSelection(mixinChangeVisibility(class {
|
|
16
|
-
hostElement;
|
|
17
|
-
constructor(hostElement) {
|
|
18
|
-
this.hostElement = hostElement;
|
|
19
|
-
}
|
|
20
|
-
}));
|
|
21
|
-
export class FConnectionBase extends MIXIN_BASE {
|
|
22
|
-
_connectionFactory = inject(FConnectionFactory);
|
|
23
|
-
fStartColor = input('black');
|
|
24
|
-
fEndColor = input('black');
|
|
25
|
-
path = '';
|
|
26
|
-
line = LineExtensions.initialize();
|
|
27
|
-
fReassignableStart = signal(false);
|
|
28
|
-
fDraggingDisabled = signal(false);
|
|
29
|
-
fSelectionDisabled = signal(false);
|
|
30
|
-
fDefs = viewChild.required('defs');
|
|
31
|
-
fPath = viewChild.required(CONNECTION_PATH);
|
|
32
|
-
fGradient = viewChild.required(CONNECTION_GRADIENT);
|
|
33
|
-
fDragHandleStart = viewChild(FConnectionDragHandleStartComponent);
|
|
34
|
-
fDragHandleEnd = viewChild.required(FConnectionDragHandleEndComponent);
|
|
35
|
-
fSelection = viewChild.required(FConnectionSelectionComponent);
|
|
36
|
-
fTextComponent = viewChild(CONNECTION_TEXT);
|
|
37
|
-
fConnectionCenter = viewChild('fConnectionCenter');
|
|
38
|
-
fConnectionCenters = contentChildren(FConnectionCenterDirective, {
|
|
39
|
-
descendants: true,
|
|
40
|
-
});
|
|
41
|
-
fConnectionContents = contentChildren(FConnectionContent, {
|
|
42
|
-
descendants: true,
|
|
43
|
-
});
|
|
44
|
-
fInputSide = signal(EFConnectionConnectableSide.DEFAULT);
|
|
45
|
-
_sourceSide = EFConnectableSide.AUTO;
|
|
46
|
-
fOutputSide = signal(EFConnectionConnectableSide.DEFAULT);
|
|
47
|
-
_targetSide = EFConnectableSide.AUTO;
|
|
48
|
-
_penultimatePoint = PointExtensions.initialize();
|
|
49
|
-
_secondPoint = PointExtensions.initialize();
|
|
50
|
-
constructor() {
|
|
51
|
-
super(inject((ElementRef)).nativeElement);
|
|
52
|
-
}
|
|
53
|
-
initialize() {
|
|
54
|
-
this.fPath().initialize();
|
|
55
|
-
this.fGradient().initialize();
|
|
56
|
-
this.redraw();
|
|
57
|
-
}
|
|
58
|
-
isContains(element) {
|
|
59
|
-
return (this.hostElement.firstChild?.lastChild).contains(element);
|
|
60
|
-
}
|
|
61
|
-
setLine({ point1, point2 }) {
|
|
62
|
-
this.line = LineExtensions.initialize(point1, point2);
|
|
63
|
-
const pathResult = this._getPathResult(point1, point2);
|
|
64
|
-
this.path = pathResult.path;
|
|
65
|
-
this._penultimatePoint = pathResult.penultimatePoint || point1;
|
|
66
|
-
this._secondPoint = pathResult.secondPoint || point2;
|
|
67
|
-
new ConnectionContentLayoutEngine().layout(this.line, pathResult, this._contents());
|
|
68
|
-
this.fConnectionCenter()?.nativeElement?.setAttribute('style', this._createTransformString(pathResult.connectionCenter));
|
|
69
|
-
}
|
|
70
|
-
_contents() {
|
|
71
|
-
return Array.from(this.fConnectionContents()?.values() ?? []);
|
|
72
|
-
}
|
|
73
|
-
_getPathResult(source, target) {
|
|
74
|
-
const radius = this.fRadius > 0 ? this.fRadius : 0;
|
|
75
|
-
const offset = this.fOffset > 0 ? this.fOffset : 1;
|
|
76
|
-
return this._connectionFactory.handle({
|
|
77
|
-
type: this.fType,
|
|
78
|
-
payload: {
|
|
79
|
-
source,
|
|
80
|
-
sourceSide: this._sourceSide,
|
|
81
|
-
target,
|
|
82
|
-
targetSide: this._targetSide,
|
|
83
|
-
radius,
|
|
84
|
-
offset,
|
|
85
|
-
},
|
|
86
|
-
});
|
|
87
|
-
}
|
|
88
|
-
_createTransformString(position, rotate = 0) {
|
|
89
|
-
return `position: absolute; pointer-events: all; transform: translate(-50%, -50%) rotate(${rotate}deg); left: ${position.x}px; top: ${position.y}px`;
|
|
90
|
-
}
|
|
91
|
-
markChildrenAsSelected() {
|
|
92
|
-
this.fPath().select();
|
|
93
|
-
}
|
|
94
|
-
unmarkChildrenAsSelected() {
|
|
95
|
-
this.fPath().deselect();
|
|
96
|
-
}
|
|
97
|
-
redraw() {
|
|
98
|
-
this.fPath().setPath(this.path);
|
|
99
|
-
this.fSelection().setPath(this.path);
|
|
100
|
-
this.fGradient().redraw(this.line);
|
|
101
|
-
this.fDragHandleEnd().redraw(this._penultimatePoint, this.line.point2);
|
|
102
|
-
this.fDragHandleStart()?.redraw(this._secondPoint, this.line.point1);
|
|
103
|
-
this.fTextComponent()?.redraw(this.line);
|
|
104
|
-
}
|
|
105
|
-
/**
|
|
106
|
-
* Applies the resolved sides to the connection. Don't call this method directly; it's used internally.
|
|
107
|
-
*
|
|
108
|
-
* @param sourceSide The resolved side for the source element.
|
|
109
|
-
* @param targetSide The resolved side for the target element.
|
|
110
|
-
*/
|
|
111
|
-
_applyResolvedSidesToConnection(sourceSide, targetSide) {
|
|
112
|
-
this._sourceSide = sourceSide;
|
|
113
|
-
this._targetSide = targetSide;
|
|
114
|
-
}
|
|
115
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FConnectionBase, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
116
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "18.2.13", type: FConnectionBase, inputs: { fStartColor: { classPropertyName: "fStartColor", publicName: "fStartColor", isSignal: true, isRequired: false, transformFunction: null }, fEndColor: { classPropertyName: "fEndColor", publicName: "fEndColor", isSignal: true, isRequired: false, transformFunction: null } }, queries: [{ propertyName: "fConnectionCenters", predicate: FConnectionCenterDirective, descendants: true, isSignal: true }, { propertyName: "fConnectionContents", predicate: FConnectionContent, descendants: true, isSignal: true }], viewQueries: [{ propertyName: "fDefs", first: true, predicate: ["defs"], descendants: true, isSignal: true }, { propertyName: "fPath", first: true, predicate: CONNECTION_PATH, descendants: true, isSignal: true }, { propertyName: "fGradient", first: true, predicate: CONNECTION_GRADIENT, descendants: true, isSignal: true }, { propertyName: "fDragHandleStart", first: true, predicate: FConnectionDragHandleStartComponent, descendants: true, isSignal: true }, { propertyName: "fDragHandleEnd", first: true, predicate: FConnectionDragHandleEndComponent, descendants: true, isSignal: true }, { propertyName: "fSelection", first: true, predicate: FConnectionSelectionComponent, descendants: true, isSignal: true }, { propertyName: "fTextComponent", first: true, predicate: CONNECTION_TEXT, descendants: true, isSignal: true }, { propertyName: "fConnectionCenter", first: true, predicate: ["fConnectionCenter"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0 });
|
|
117
|
-
}
|
|
118
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FConnectionBase, decorators: [{
|
|
119
|
-
type: Directive
|
|
120
|
-
}], ctorParameters: () => [] });
|
|
121
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1jb25uZWN0aW9uLWJhc2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi9jb21tb24vZi1jb25uZWN0aW9uLWJhc2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLGVBQWUsRUFDZixTQUFTLEVBQ1QsVUFBVSxFQUNWLE1BQU0sRUFDTixLQUFLLEVBQ0wsTUFBTSxFQUVOLFNBQVMsR0FDVixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQWlCLGNBQWMsRUFBRSxlQUFlLEVBQUUsTUFBTSxZQUFZLENBQUM7QUFNNUUsT0FBTyxFQUFFLGVBQWUsRUFBbUIsTUFBTSxVQUFVLENBQUM7QUFDNUQsT0FBTyxFQUFFLG1CQUFtQixFQUF1QixNQUFN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SxcbiAgICB0YXJnZXRTaWRlOiBFRkNvbm5lY3RhYmxlU2lkZSxcbiAgKTogdm9pZCB7XG4gICAgdGhpcy5fc291cmNlU2lkZSA9IHNvdXJjZVNpZGU7XG4gICAgdGhpcy5fdGFyZ2V0U2lkZSA9IHRhcmdldFNpZGU7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { normalizeDomElementId } from '@foblex/utils';
|
|
2
|
-
export const F_CONNECTION_IDENTIFIERS = {
|
|
3
|
-
textId(connectionId) {
|
|
4
|
-
return normalizeDomElementId('connection_text_' + connectionId);
|
|
5
|
-
},
|
|
6
|
-
connectionForSelectionId(connectionId) {
|
|
7
|
-
return normalizeDomElementId('connection_for_selection_' + connectionId);
|
|
8
|
-
},
|
|
9
|
-
connectionId(connectionId) {
|
|
10
|
-
return normalizeDomElementId('connection_' + connectionId);
|
|
11
|
-
},
|
|
12
|
-
gradientId(connectionId) {
|
|
13
|
-
return normalizeDomElementId('connection_gradient_' + connectionId);
|
|
14
|
-
},
|
|
15
|
-
linkToGradient(connectionId) {
|
|
16
|
-
return `url(#${F_CONNECTION_IDENTIFIERS.gradientId(connectionId)})`;
|
|
17
|
-
},
|
|
18
|
-
linkToConnection(connectionId) {
|
|
19
|
-
return `#${F_CONNECTION_IDENTIFIERS.connectionId(connectionId)}`;
|
|
20
|
-
},
|
|
21
|
-
};
|
|
22
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1jb25uZWN0aW9uLWlkZW50aWZpZXJzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWNvbm5lY3Rpb24vY29tbW9uL2YtY29ubmVjdGlvbi1pZGVudGlmaWVycy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUscUJBQXFCLEVBQUUs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N0aW9uSWQpO1xuICB9LFxuICBjb25uZWN0aW9uRm9yU2VsZWN0aW9uSWQoY29ubmVjdGlvbklkOiBzdHJpbmcpOiBzdHJpbmcge1xuICAgIHJldHVybiBub3JtYWxpemVEb21FbGVtZW50SWQoJ2Nvbm5lY3Rpb25fZm9yX3NlbGVjdGlvbl8nICsgY29ubmVjdGlvbklkKTtcbiAgfSxcbiAgY29ubmVjdGlvbklkKGNvbm5lY3Rpb25JZDogc3RyaW5nKTogc3RyaW5nIHtcbiAgICByZXR1cm4gbm9ybWFsaXplRG9tRWxlbWVudElkKCdjb25uZWN0aW9uXycgKyBjb25uZWN0aW9uSWQpO1xuICB9LFxuICBncmFkaWVudElkKGNvbm5lY3Rpb25JZDogc3RyaW5nKTogc3RyaW5nIHtcbiAgICByZXR1cm4gbm9ybWFsaXplRG9tRWxlbWVudElkKCdjb25uZWN0aW9uX2dyYWRpZW50XycgKyBjb25uZWN0aW9uSWQpO1xuICB9LFxuICBsaW5rVG9HcmFkaWVudChjb25uZWN0aW9uSWQ6IHN0cmluZyk6IHN0cmluZyB7XG4gICAgcmV0dXJuIGB1cmwoIyR7IEZfQ09OTkVDVElPTl9JREVOVElGSUVSUy5ncmFkaWVudElkKGNvbm5lY3Rpb25JZCkgfSlgO1xuICB9LFxuICBsaW5rVG9Db25uZWN0aW9uKGNvbm5lY3Rpb25JZDogc3RyaW5nKTogc3RyaW5nIHtcbiAgICByZXR1cm4gYCMkeyBGX0NPTk5FQ1RJT05fSURFTlRJRklFUlMuY29ubmVjdGlvbklkKGNvbm5lY3Rpb25JZCkgfWA7XG4gIH0sXG59XG4iXX0=
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { Directive, ElementRef, inject } from '@angular/core';
|
|
2
|
-
import { F_CONNECTION_IDENTIFIERS } from '../f-connection-identifiers';
|
|
3
|
-
import { F_CONNECTION } from '../f-connection.injection-token';
|
|
4
|
-
import { BrowserService } from '@foblex/platform';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export class FConnectionTextPathDirective {
|
|
7
|
-
hostElement = inject((ElementRef)).nativeElement;
|
|
8
|
-
_base = inject(F_CONNECTION);
|
|
9
|
-
_browser = inject(BrowserService);
|
|
10
|
-
get linkToConnection() {
|
|
11
|
-
return F_CONNECTION_IDENTIFIERS.linkToConnection(this._base.fId() + this._base.fOutputId() + this._base.fInputId());
|
|
12
|
-
}
|
|
13
|
-
symbolWidth = 8;
|
|
14
|
-
fontSize = '12px';
|
|
15
|
-
ngOnInit() {
|
|
16
|
-
this.hostElement.setAttribute('text-anchor', `middle`);
|
|
17
|
-
this.symbolWidth = this._getSymbolWidth(this._base.fText || '');
|
|
18
|
-
}
|
|
19
|
-
getBBox() {
|
|
20
|
-
return this.hostElement.getBBox();
|
|
21
|
-
}
|
|
22
|
-
redraw() {
|
|
23
|
-
this.hostElement.setAttribute('startOffset', this._base.fTextStartOffset || '50%');
|
|
24
|
-
}
|
|
25
|
-
_getFontStyles(element) {
|
|
26
|
-
const computedStyles = this._browser.window.getComputedStyle(element);
|
|
27
|
-
return {
|
|
28
|
-
fontSize: computedStyles.fontSize,
|
|
29
|
-
fontFamily: computedStyles.fontFamily,
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
_getSymbolWidth(name) {
|
|
33
|
-
const text = name || 'connection';
|
|
34
|
-
const { fontFamily, fontSize } = this._getFontStyles(this.hostElement);
|
|
35
|
-
this.fontSize = fontSize || '12px';
|
|
36
|
-
const canvas = this._browser.document.createElement('canvas');
|
|
37
|
-
let context;
|
|
38
|
-
try {
|
|
39
|
-
context = canvas.getContext('2d');
|
|
40
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
41
|
-
}
|
|
42
|
-
catch (e) {
|
|
43
|
-
context = null;
|
|
44
|
-
}
|
|
45
|
-
if (!context) {
|
|
46
|
-
return 0;
|
|
47
|
-
}
|
|
48
|
-
context.font = `${fontSize} ${fontFamily}`;
|
|
49
|
-
const metrics = context.measureText(text);
|
|
50
|
-
const symbolWidth = metrics.width / text.length;
|
|
51
|
-
return symbolWidth;
|
|
52
|
-
}
|
|
53
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FConnectionTextPathDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
54
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: FConnectionTextPathDirective, selector: "textPath[f-connection-text-path]", host: { properties: { "attr.href": "linkToConnection" } }, ngImport: i0 });
|
|
55
|
-
}
|
|
56
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FConnectionTextPathDirective, decorators: [{
|
|
57
|
-
type: Directive,
|
|
58
|
-
args: [{
|
|
59
|
-
selector: 'textPath[f-connection-text-path]',
|
|
60
|
-
host: {
|
|
61
|
-
'[attr.href]': 'linkToConnection',
|
|
62
|
-
},
|
|
63
|
-
}]
|
|
64
|
-
}] });
|
|
65
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1jb25uZWN0aW9uLXRleHQtcGF0aC5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi9jb21tb24vZi1jb25uZWN0aW9uLXRleHQvZi1jb25uZWN0aW9uLXRleHQtcGF0aC5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxVQUFVLEVBQUUsTUFBTSxFQUFVLE1BQU0sZUFBZSxDQUFDO0FBQ3RFLE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxNQUFNLDZCQUE2QixDQUFDO0FBQ3ZFLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQ0F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jb250ZXh0ID0gY2FudmFzLmdldENvbnRleHQoJzJkJyk7XG4gICAgICAvLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgQHR5cGVzY3JpcHQtZXNsaW50L25vLXVudXNlZC12YXJzXG4gICAgfSBjYXRjaCAoZSkge1xuICAgICAgY29udGV4dCA9IG51bGw7XG4gICAgfVxuICAgIGlmICghY29udGV4dCkge1xuICAgICAgcmV0dXJuIDA7XG4gICAgfVxuXG4gICAgY29udGV4dC5mb250ID0gYCR7Zm9udFNpemV9ICR7Zm9udEZhbWlseX1gO1xuXG4gICAgY29uc3QgbWV0cmljcyA9IGNvbnRleHQubWVhc3VyZVRleHQodGV4dCk7XG4gICAgY29uc3Qgc3ltYm9sV2lkdGggPSBtZXRyaWNzLndpZHRoIC8gdGV4dC5sZW5ndGg7XG5cbiAgICByZXR1cm4gc3ltYm9sV2lkdGg7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, ElementRef, inject, viewChild } from '@angular/core';
|
|
2
|
-
import { PointExtensions } from '@foblex/2d';
|
|
3
|
-
import { FConnectionTextPathDirective } from './f-connection-text-path.directive';
|
|
4
|
-
import { F_CONNECTION_IDENTIFIERS } from '../f-connection-identifiers';
|
|
5
|
-
import { F_CONNECTION } from '../f-connection.injection-token';
|
|
6
|
-
import { CONNECTION_TEXT } from './i-connection-text';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
import * as i1 from "./f-connection-text-path.directive";
|
|
9
|
-
export class FConnectionTextComponent {
|
|
10
|
-
hostElement = inject((ElementRef)).nativeElement;
|
|
11
|
-
_base = inject(F_CONNECTION);
|
|
12
|
-
_textPathDirective = viewChild.required(FConnectionTextPathDirective);
|
|
13
|
-
get textId() {
|
|
14
|
-
return F_CONNECTION_IDENTIFIERS.textId(this._base.fId() + this._base.fOutputId() + this._base.fInputId());
|
|
15
|
-
}
|
|
16
|
-
get text() {
|
|
17
|
-
return this._base.fText || '';
|
|
18
|
-
}
|
|
19
|
-
redraw(line) {
|
|
20
|
-
this._textPathDirective().redraw();
|
|
21
|
-
const isTextReverse = FConnectionTextComponent._isTextReverse(line);
|
|
22
|
-
const dyValue = this._calculateDy(this._textPathDirective().fontSize, isTextReverse);
|
|
23
|
-
this.hostElement.setAttribute('dy', dyValue);
|
|
24
|
-
const textRect = this._textPathDirective().getBBox();
|
|
25
|
-
const textRectCenter = [textRect.x + textRect.width / 2, textRect.y + textRect.height / 2];
|
|
26
|
-
this.hostElement.setAttribute('transform', isTextReverse ? `rotate(180, ${textRectCenter})` : '');
|
|
27
|
-
const startOffset = FConnectionTextComponent._getTextStartOffset(line, this._base.fText || '', this._textPathDirective().symbolWidth);
|
|
28
|
-
if (startOffset < 0) {
|
|
29
|
-
this.hostElement.style.display = 'none';
|
|
30
|
-
}
|
|
31
|
-
else {
|
|
32
|
-
this.hostElement.style.display = 'unset';
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
_calculateDy(fontSize, isTextReverse) {
|
|
36
|
-
const fontSizeNumber = parseFloat(fontSize);
|
|
37
|
-
const dyValue = isTextReverse ? fontSizeNumber * 1.5 : fontSizeNumber * -0.8;
|
|
38
|
-
return dyValue.toString();
|
|
39
|
-
}
|
|
40
|
-
static _isTextReverse(line) {
|
|
41
|
-
return line.point1.x > line.point2.x;
|
|
42
|
-
}
|
|
43
|
-
static _getTextStartOffset(line, name, symbolWidth) {
|
|
44
|
-
const vectorLength = PointExtensions.hypotenuse(line.point1, line.point2);
|
|
45
|
-
return vectorLength / 2 - ((name || '').length * symbolWidth) / 2;
|
|
46
|
-
}
|
|
47
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FConnectionTextComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
48
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.13", type: FConnectionTextComponent, selector: "text[f-connection-text]", host: { properties: { "attr.id": "textId" }, classAttribute: "f-component f-connection-text" }, providers: [{ provide: CONNECTION_TEXT, useExisting: FConnectionTextComponent }], viewQueries: [{ propertyName: "_textPathDirective", first: true, predicate: FConnectionTextPathDirective, descendants: true, isSignal: true }], ngImport: i0, template: "<ng-container xmlns:svg=\"http://www.w3.org/2000/svg\">\n <svg:textPath f-connection-text-path>\n {{ text }}\n </svg:textPath>\n</ng-container>\n", dependencies: [{ kind: "directive", type: i1.FConnectionTextPathDirective, selector: "textPath[f-connection-text-path]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
49
|
-
}
|
|
50
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FConnectionTextComponent, decorators: [{
|
|
51
|
-
type: Component,
|
|
52
|
-
args: [{ selector: 'text[f-connection-text]', changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
53
|
-
class: 'f-component f-connection-text',
|
|
54
|
-
'[attr.id]': 'textId',
|
|
55
|
-
}, providers: [{ provide: CONNECTION_TEXT, useExisting: FConnectionTextComponent }], template: "<ng-container xmlns:svg=\"http://www.w3.org/2000/svg\">\n <svg:textPath f-connection-text-path>\n {{ text }}\n </svg:textPath>\n</ng-container>\n" }]
|
|
56
|
-
}] });
|
|
57
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1jb25uZWN0aW9uLXRleHQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWNvbm5lY3Rpb24vY29tbW9uL2YtY29ubmVjdGlvbi10ZXh0L2YtY29ubmVjdGlvbi10ZXh0LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi1jb25uZWN0aW9uL2NvbW1vbi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cblxuICAgIHJldHVybiB2ZWN0b3JMZW5ndGggLyAyIC0gKChuYW1lIHx8ICcnKS5sZW5ndGggKiBzeW1ib2xXaWR0aCkgLyAyO1xuICB9XG59XG4iLCI8bmctY29udGFpbmVyIHhtbG5zOnN2Zz1cImh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnXCI+XG4gICAgPHN2Zzp0ZXh0UGF0aCBmLWNvbm5lY3Rpb24tdGV4dC1wYXRoPlxuICAgICAgICB7eyB0ZXh0IH19XG4gICAgPC9zdmc6dGV4dFBhdGg+XG48L25nLWNvbnRhaW5lcj5cbiJdfQ==
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
export const CONNECTION_TEXT = new InjectionToken('CONNECTION_TEXT');
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1jb25uZWN0aW9uLXRleHQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi9jb21tb24vZi1jb25uZWN0aW9uLXRleHQvaS1jb25uZWN0aW9uLXRleHQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUcvQyxNQUFNLENBQUMsTUFBTSxlQUFlLEdBQUcsSUFBSSxjQUFjLENBQWtCLGlCQUFpQixDQUFDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJTGluZSB9IGZyb20gJ0Bmb2JsZXgvMmQnO1xuaW1wb3J0IHsgSW5qZWN0aW9uVG9rZW4gfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IElIYXNIb3N0RWxlbWVudCB9IGZyb20gJy4uLy4uLy4uL2ktaGFzLWhvc3QtZWxlbWVudCc7XG5cbmV4cG9ydCBjb25zdCBDT05ORUNUSU9OX1RFWFQgPSBuZXcgSW5qZWN0aW9uVG9rZW48SUNvbm5lY3Rpb25UZXh0PignQ09OTkVDVElPTl9URVhUJyk7XG5cbmV4cG9ydCBpbnRlcmZhY2UgSUNvbm5lY3Rpb25UZXh0IGV4dGVuZHMgSUhhc0hvc3RFbGVtZW50IHtcblxuICByZWRyYXcobGluZTogSUxpbmUpOiB2b2lkO1xufVxuIl19
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export * from './f-connection-text.component';
|
|
2
|
-
export * from './f-connection-text-path.directive';
|
|
3
|
-
export * from './i-connection-text';
|
|
4
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi9jb21tb24vZi1jb25uZWN0aW9uLXRleHQvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYywrQkFBK0IsQ0FBQztBQUU5QyxjQUFjLG9DQUFvQyxDQUFDO0FBRW5ELGNBQWMscUJBQXFCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2YtY29ubmVjdGlvbi10ZXh0LmNvbXBvbmVudCc7XG5cbmV4cG9ydCAqIGZyb20gJy4vZi1jb25uZWN0aW9uLXRleHQtcGF0aC5kaXJlY3RpdmUnO1xuXG5leHBvcnQgKiBmcm9tICcuL2ktY29ubmVjdGlvbi10ZXh0JztcbiJdfQ==
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
export const F_CONNECTION = new InjectionToken('F_CONNECTION');
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1jb25uZWN0aW9uLmluamVjdGlvbi10b2tlbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi1jb25uZWN0aW9uL2NvbW1vbi9mLWNvbm5lY3Rpb24uaW5qZWN0aW9uLXRva2VuLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFL0MsTUFBTSxDQUFDLE1BQU0sWUFBWSxHQUFHLElBQUksY0FBYyxDQUFDLGNBQWMsQ0FBQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSW5qZWN0aW9uVG9rZW4gfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuZXhwb3J0IGNvbnN0IEZfQ09OTkVDVElPTiA9IG5ldyBJbmplY3Rpb25Ub2tlbignRl9DT05ORUNUSU9OJyk7XG4iXX0=
|
package/esm2022/f-connection/common/f-drag-handle/f-connection-drag-handle-end.component.mjs
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, ElementRef, inject, } from "@angular/core";
|
|
2
|
-
import { F_CSS_CLASS } from '../../../domain/css-cls';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export class FConnectionDragHandleEndComponent {
|
|
5
|
-
_elementReference = inject(ElementRef);
|
|
6
|
-
class = F_CSS_CLASS.CONNECTION.DRAG_HANDLE;
|
|
7
|
-
point;
|
|
8
|
-
get hostElement() {
|
|
9
|
-
return this._elementReference.nativeElement;
|
|
10
|
-
}
|
|
11
|
-
redraw(penultimatePoint, endPoint) {
|
|
12
|
-
this.point = this._calculateCircleCenter(penultimatePoint, endPoint, 8);
|
|
13
|
-
this.hostElement.setAttribute('cx', this.point.x.toString());
|
|
14
|
-
this.hostElement.setAttribute('cy', this.point.y.toString());
|
|
15
|
-
}
|
|
16
|
-
_calculateCircleCenter(start, end, radius) {
|
|
17
|
-
const direction = { x: end.x - start.x, y: end.y - start.y };
|
|
18
|
-
const length = Math.sqrt(direction.x * direction.x + direction.y * direction.y) || 1;
|
|
19
|
-
const unitDirection = { x: direction.x / length, y: direction.y / length };
|
|
20
|
-
const scaledDirection = { x: unitDirection.x * radius, y: unitDirection.y * radius };
|
|
21
|
-
return { x: end.x - scaledDirection.x, y: end.y - scaledDirection.y };
|
|
22
|
-
}
|
|
23
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FConnectionDragHandleEndComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
24
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: FConnectionDragHandleEndComponent, selector: "circle[f-connection-drag-handle-end]", host: { properties: { "class": "class" } }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
25
|
-
}
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FConnectionDragHandleEndComponent, decorators: [{
|
|
27
|
-
type: Component,
|
|
28
|
-
args: [{
|
|
29
|
-
selector: "circle[f-connection-drag-handle-end]",
|
|
30
|
-
template: '',
|
|
31
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
32
|
-
host: {
|
|
33
|
-
'[class]': 'class',
|
|
34
|
-
},
|
|
35
|
-
}]
|
|
36
|
-
}] });
|
|
37
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1jb25uZWN0aW9uLWRyYWctaGFuZGxlLWVuZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi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XJlY3Rpb24ueSB9O1xuICB9XG59XG5cbiJdfQ==
|
package/esm2022/f-connection/common/f-drag-handle/f-connection-drag-handle-start.component.mjs
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, ElementRef, inject, } from "@angular/core";
|
|
2
|
-
import { F_CSS_CLASS } from '../../../domain/css-cls';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export class FConnectionDragHandleStartComponent {
|
|
5
|
-
_elementReference = inject(ElementRef);
|
|
6
|
-
class = F_CSS_CLASS.CONNECTION.DRAG_HANDLE;
|
|
7
|
-
point;
|
|
8
|
-
get hostElement() {
|
|
9
|
-
return this._elementReference.nativeElement;
|
|
10
|
-
}
|
|
11
|
-
redraw(penultimatePoint, startPoint) {
|
|
12
|
-
this.point = this._calculateCircleCenter(penultimatePoint, startPoint, 8);
|
|
13
|
-
this.hostElement.setAttribute('cx', this.point.x.toString());
|
|
14
|
-
this.hostElement.setAttribute('cy', this.point.y.toString());
|
|
15
|
-
}
|
|
16
|
-
_calculateCircleCenter(start, end, radius) {
|
|
17
|
-
const direction = { x: end.x - start.x, y: end.y - start.y };
|
|
18
|
-
const length = Math.sqrt(direction.x * direction.x + direction.y * direction.y) || 1;
|
|
19
|
-
const unitDirection = { x: direction.x / length, y: direction.y / length };
|
|
20
|
-
const scaledDirection = { x: unitDirection.x * radius, y: unitDirection.y * radius };
|
|
21
|
-
return { x: end.x - scaledDirection.x, y: end.y - scaledDirection.y };
|
|
22
|
-
}
|
|
23
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FConnectionDragHandleStartComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
24
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: FConnectionDragHandleStartComponent, selector: "circle[f-connection-drag-handle-start]", host: { properties: { "class": "class" } }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
25
|
-
}
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FConnectionDragHandleStartComponent, decorators: [{
|
|
27
|
-
type: Component,
|
|
28
|
-
args: [{
|
|
29
|
-
selector: "circle[f-connection-drag-handle-start]",
|
|
30
|
-
template: '',
|
|
31
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
32
|
-
host: {
|
|
33
|
-
'[class]': 'class',
|
|
34
|
-
},
|
|
35
|
-
}]
|
|
36
|
-
}] });
|
|
37
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1jb25uZWN0aW9uLWRyYWctaGFuZGxlLXN0YXJ0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi1jb25uZWN0aW9uL2NvbW1vbi9mLWRyYWctaGFuZGxlL2YtY29ubmVjdGlvbi1kcmFnLWhhbmRsZS1zdGFydC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLHVCQUF1QixFQUN2QixTQUFTLEVBQUUsVUFBVSxFQUFFLE1BQU0sR0FDOUIsTUFBTSxlQUFlLENBQUM7QUFHdkIsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLHlCQUF5QixDQUFDOztBQVV0RCxNQUFNLE9BQU8sbUNBQW1DO0lBQzdCLGlCQUFpQixHQUFHLE1BQU0sQ0FBQyxVQUFVLENBQUMsQ0FBQztJQUVyQyxLQUFLLEdBQVcsV0FBVyxDQUFDLFVBQVUsQ0FBQyxXQUFXLENBQUM7SUFFL0QsS0FBSyxDQUFVO0lBRXRCLElBQVcsV0FBVztRQUNwQixPQUFPLElBQUksQ0FBQyxpQkFBaUIsQ0F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VzOiBudW1iZXIpOiBJUG9pbnQge1xuICAgIGNvbnN0IGRpcmVjdGlvbiA9IHsgeDogZW5kLnggLSBzdGFydC54LCB5OiBlbmQueSAtIHN0YXJ0LnkgfTtcbiAgICBjb25zdCBsZW5ndGggPSBNYXRoLnNxcnQoZGlyZWN0aW9uLnggKiBkaXJlY3Rpb24ueCArIGRpcmVjdGlvbi55ICogZGlyZWN0aW9uLnkpIHx8IDE7XG4gICAgY29uc3QgdW5pdERpcmVjdGlvbiA9IHsgeDogZGlyZWN0aW9uLnggLyBsZW5ndGgsIHk6IGRpcmVjdGlvbi55IC8gbGVuZ3RoIH07XG4gICAgY29uc3Qgc2NhbGVkRGlyZWN0aW9uID0geyB4OiB1bml0RGlyZWN0aW9uLnggKiByYWRpdXMsIHk6IHVuaXREaXJlY3Rpb24ueSAqIHJhZGl1cyB9O1xuXG4gICAgcmV0dXJuIHsgeDogZW5kLnggLSBzY2FsZWREaXJlY3Rpb24ueCwgeTogZW5kLnkgLSBzY2FsZWREaXJlY3Rpb24ueSB9O1xuICB9XG59XG5cbiJdfQ==
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export * from './f-connection-drag-handle-start.component';
|
|
2
|
-
export * from './f-connection-drag-handle-end.component';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi9jb21tb24vZi1kcmFnLWhhbmRsZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDRDQUE0QyxDQUFDO0FBRTNELGNBQWMsMENBQTBDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2YtY29ubmVjdGlvbi1kcmFnLWhhbmRsZS1zdGFydC5jb21wb25lbnQnO1xuXG5leHBvcnQgKiBmcm9tICcuL2YtY29ubmVjdGlvbi1kcmFnLWhhbmRsZS1lbmQuY29tcG9uZW50JztcbiJdfQ==
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, ElementRef, inject } from '@angular/core';
|
|
2
|
-
import { Point } from '@foblex/2d';
|
|
3
|
-
import { F_CONNECTION_IDENTIFIERS } from '../f-connection-identifiers';
|
|
4
|
-
import { F_CONNECTION } from '../f-connection.injection-token';
|
|
5
|
-
import { CONNECTION_GRADIENT } from './i-connection-gradient';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export class FConnectionGradientComponent {
|
|
8
|
-
hostElement = inject((ElementRef)).nativeElement;
|
|
9
|
-
_base = inject(F_CONNECTION);
|
|
10
|
-
get gradientId() {
|
|
11
|
-
return F_CONNECTION_IDENTIFIERS.gradientId(this._base.fId() + this._base.fOutputId() + this._base.fInputId());
|
|
12
|
-
}
|
|
13
|
-
get stop1Element() {
|
|
14
|
-
return this.hostElement.children.item(0);
|
|
15
|
-
}
|
|
16
|
-
get stop2Element() {
|
|
17
|
-
return this.hostElement.children.item(1);
|
|
18
|
-
}
|
|
19
|
-
initialize() {
|
|
20
|
-
this.stop1Element.setAttribute('offset', '0%');
|
|
21
|
-
this.stop2Element.setAttribute('offset', '100%');
|
|
22
|
-
}
|
|
23
|
-
_updateGradient() {
|
|
24
|
-
this._setFromColor(this._base.fStartColor());
|
|
25
|
-
this._setToColor(this._base.fEndColor());
|
|
26
|
-
}
|
|
27
|
-
_setFromColor(color) {
|
|
28
|
-
this.stop1Element.setAttribute('stop-color', color || 'transparent');
|
|
29
|
-
}
|
|
30
|
-
_setToColor(color) {
|
|
31
|
-
this.stop2Element.setAttribute('stop-color', color || 'transparent');
|
|
32
|
-
}
|
|
33
|
-
redraw(line) {
|
|
34
|
-
const x = line.point2.x - line.point1.x;
|
|
35
|
-
const y = line.point2.y - line.point1.y;
|
|
36
|
-
const distance = Math.sqrt(x * x + y * y) || 0.01;
|
|
37
|
-
const from = new Point(0.5 - (0.5 * x) / distance, 0.5 - (0.5 * y) / distance);
|
|
38
|
-
this.hostElement.setAttribute('x1', from.x.toString());
|
|
39
|
-
this.hostElement.setAttribute('y1', from.y.toString());
|
|
40
|
-
const to = new Point(0.5 + (0.5 * x) / distance, 0.5 + (0.5 * y) / distance);
|
|
41
|
-
this.hostElement.setAttribute('x2', to.x.toString());
|
|
42
|
-
this.hostElement.setAttribute('y2', to.y.toString());
|
|
43
|
-
this._updateGradient();
|
|
44
|
-
}
|
|
45
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FConnectionGradientComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
46
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: FConnectionGradientComponent, selector: "linearGradient[fConnectionGradient]", host: { properties: { "attr.id": "gradientId" }, classAttribute: "f-component f-connection-gradient" }, providers: [{ provide: CONNECTION_GRADIENT, useExisting: FConnectionGradientComponent }], ngImport: i0, template: "<ng-container xmlns:svg=\"http://www.w3.org/2000/svg\">\n <svg:stop/>\n <svg:stop/>\n</ng-container>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
47
|
-
}
|
|
48
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FConnectionGradientComponent, decorators: [{
|
|
49
|
-
type: Component,
|
|
50
|
-
args: [{ selector: 'linearGradient[fConnectionGradient]', changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
51
|
-
class: 'f-component f-connection-gradient',
|
|
52
|
-
'[attr.id]': 'gradientId',
|
|
53
|
-
}, providers: [{ provide: CONNECTION_GRADIENT, useExisting: FConnectionGradientComponent }], template: "<ng-container xmlns:svg=\"http://www.w3.org/2000/svg\">\n <svg:stop/>\n <svg:stop/>\n</ng-container>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RyaW5nKCkpO1xuICAgIHRoaXMuX3VwZGF0ZUdyYWRpZW50KCk7XG4gIH1cbn1cbiIsIjxuZy1jb250YWluZXIgeG1sbnM6c3ZnPVwiaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmdcIj5cbiAgICA8c3ZnOnN0b3AvPlxuICAgIDxzdmc6c3RvcC8+XG48L25nLWNvbnRhaW5lcj5cbiJdfQ==
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
export const CONNECTION_GRADIENT = new InjectionToken('CONNECTION_GRADIENT');
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1jb25uZWN0aW9uLWdyYWRpZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWNvbm5lY3Rpb24vY29tbW9uL2YtZ3JhZGllbnQvaS1jb25uZWN0aW9uLWdyYWRpZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFHL0MsTUFBTSxDQUFDLE1BQU0sbUJBQW1CLEdBQUcsSUFBSSxjQUFjLENBQXNCLHFCQUFxQixDQUFDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJTGluZSB9IGZyb20gJ0Bmb2JsZXgvMmQnO1xuaW1wb3J0IHsgSW5qZWN0aW9uVG9rZW4gfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IElIYXNIb3N0RWxlbWVudCB9IGZyb20gJy4uLy4uLy4uL2ktaGFzLWhvc3QtZWxlbWVudCc7XG5cbmV4cG9ydCBjb25zdCBDT05ORUNUSU9OX0dSQURJRU5UID0gbmV3IEluamVjdGlvblRva2VuPElDb25uZWN0aW9uR3JhZGllbnQ+KCdDT05ORUNUSU9OX0dSQURJRU5UJyk7XG5cbmV4cG9ydCBpbnRlcmZhY2UgSUNvbm5lY3Rpb25HcmFkaWVudCBleHRlbmRzIElIYXNIb3N0RWxlbWVudCB7XG5cbiAgaW5pdGlhbGl6ZSgpOiB2b2lkO1xuXG4gIHJlZHJhdyhsaW5lOiBJTGluZSk6IHZvaWQ7XG59XG4iXX0=
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export * from './f-connection-gradient.component';
|
|
2
|
-
export * from './i-connection-gradient';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi9jb21tb24vZi1ncmFkaWVudC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLG1DQUFtQyxDQUFDO0FBQ2xELGNBQWMseUJBQXlCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2YtY29ubmVjdGlvbi1ncmFkaWVudC5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9pLWNvbm5lY3Rpb24tZ3JhZGllbnQnO1xuIl19
|