@foblex/flow 17.9.81 → 18.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/domain/css-cls.d.ts +0 -3
- package/domain/f-background/add-pattern-to-background/add-pattern-to-background.d.ts +1 -1
- package/domain/f-background/add-pattern-to-background/index.d.ts +1 -1
- package/domain/f-background/index.d.ts +0 -2
- package/domain/f-background/providers.d.ts +2 -4
- package/domain/f-background/set-background-transform/index.d.ts +1 -1
- package/domain/f-background/set-background-transform/set-background-transform.d.ts +12 -0
- package/domain/f-canvas/center-group-or-node/center-group-or-node.execution.d.ts +5 -6
- package/domain/f-canvas/fit-to-flow/fit-to-flow.execution.d.ts +2 -2
- package/domain/f-canvas/remove-canvas-from-store/remove-canvas-from-store.execution.d.ts +1 -1
- package/domain/f-connection/add-connection-for-create-to-store/add-connection-for-create-to-store-request.d.ts +3 -3
- package/domain/f-connection/add-connection-for-create-to-store/add-connection-for-create-to-store.d.ts +12 -0
- package/domain/f-connection/add-connection-for-create-to-store/index.d.ts +1 -1
- package/domain/f-connection/add-connection-marker-to-store/add-connection-marker-to-store-request.d.ts +3 -3
- package/domain/f-connection/add-connection-marker-to-store/add-connection-marker-to-store.d.ts +12 -0
- package/domain/f-connection/add-connection-marker-to-store/index.d.ts +1 -1
- package/domain/f-connection/add-connection-to-store/add-connection-to-store-request.d.ts +3 -3
- package/domain/f-connection/add-connection-to-store/add-connection-to-store.d.ts +12 -0
- package/domain/f-connection/add-connection-to-store/index.d.ts +1 -1
- package/domain/f-connection/add-snap-connection-to-store/add-snap-connection-to-store-request.d.ts +3 -3
- package/domain/f-connection/add-snap-connection-to-store/add-snap-connection-to-store.d.ts +12 -0
- package/domain/f-connection/add-snap-connection-to-store/index.d.ts +1 -1
- package/domain/f-connection/create-connection-markers/create-connection-markers-request.d.ts +3 -3
- package/domain/f-connection/create-connection-markers/create-connection-markers.d.ts +16 -0
- package/domain/f-connection/create-connection-markers/index.d.ts +1 -1
- package/domain/f-connection/index.d.ts +1 -1
- package/domain/f-connection/providers.d.ts +11 -11
- package/domain/f-connection/redraw-connections/redraw-connections.d.ts +4 -4
- package/domain/f-connection/remove-connection-for-create-from-store/index.d.ts +1 -1
- package/domain/f-connection/remove-connection-for-create-from-store/remove-connection-for-create-from-store.d.ts +12 -0
- package/domain/f-connection/remove-connection-from-store/index.d.ts +1 -1
- package/domain/f-connection/remove-connection-from-store/remove-connection-from-store-request.d.ts +3 -3
- package/domain/f-connection/remove-connection-from-store/remove-connection-from-store.d.ts +9 -0
- package/domain/f-connection/remove-connection-marker-from-store/index.d.ts +1 -1
- package/domain/f-connection/remove-connection-marker-from-store/remove-connection-marker-from-store-request.d.ts +3 -3
- package/domain/f-connection/remove-connection-marker-from-store/remove-connection-marker-from-store.d.ts +12 -0
- package/domain/f-connection/remove-connection-waypoint/index.d.ts +2 -0
- package/domain/f-connection/remove-connection-waypoint/remove-connection-waypoint-request.d.ts +6 -0
- package/domain/f-connection/remove-connection-waypoint/remove-connection-waypoint.d.ts +10 -0
- package/domain/f-connection/remove-snap-connection-from-store/index.d.ts +1 -1
- package/domain/f-connection/remove-snap-connection-from-store/remove-snap-connection-from-store.d.ts +12 -0
- package/domain/f-connectors/add-connector-to-store/add-connector-to-store-request.d.ts +6 -0
- package/domain/f-connectors/add-connector-to-store/add-connector-to-store.d.ts +15 -0
- package/domain/f-connectors/add-connector-to-store/index.d.ts +2 -0
- package/domain/f-connectors/calculate-closest-connector/calculate-closest-connector-request.d.ts +3 -3
- package/domain/f-connectors/calculate-closest-connector/calculate-closest-connector.d.ts +5 -7
- package/domain/f-connectors/calculate-source-connectors-to-connect/calculate-source-connectors-to-connect-request.d.ts +3 -3
- package/domain/f-connectors/calculate-source-connectors-to-connect/calculate-source-connectors-to-connect.d.ts +8 -8
- package/domain/f-connectors/calculate-target-connectors-to-connect/calculate-target-connectors-to-connect-request.d.ts +3 -3
- package/domain/f-connectors/calculate-target-connectors-to-connect/calculate-target-connectors-to-connect.d.ts +9 -8
- package/domain/f-connectors/find-connectable-connector-using-priority-and-position/find-connectable-connector-using-priority-and-position.execution.d.ts +1 -1
- package/domain/f-connectors/find-connectable-connector-using-priority-and-position/find-connectable-connector-using-priority-and-position.request.d.ts +3 -3
- package/domain/f-connectors/get-connector-rect-reference/get-connector-rect-reference-request.d.ts +6 -0
- package/domain/f-connectors/get-connector-rect-reference/get-connector-rect-reference.d.ts +14 -0
- package/domain/f-connectors/get-connector-rect-reference/index.d.ts +2 -0
- package/domain/f-connectors/i-closest-connector-ref.d.ts +8 -0
- package/domain/f-connectors/i-connector-rect-ref.d.ts +6 -0
- package/domain/f-connectors/index.d.ts +5 -9
- package/domain/f-connectors/providers.d.ts +4 -8
- package/domain/f-connectors/remove-connector-from-store/index.d.ts +2 -0
- package/domain/f-connectors/remove-connector-from-store/remove-connector-from-store-request.d.ts +6 -0
- package/domain/f-connectors/remove-connector-from-store/remove-connector-from-store.d.ts +15 -0
- package/domain/f-draggable/index.d.ts +0 -3
- package/domain/f-draggable/on-pointer-move/on-pointer-move.execution.d.ts +1 -1
- package/domain/f-draggable/prepare-drag-sequence/prepare-drag-sequence.execution.d.ts +1 -1
- package/domain/f-draggable/providers.d.ts +1 -4
- package/domain/f-flow/calculate-flow-state/calculate-connections-state/calculate-connections-state-request.d.ts +3 -0
- package/domain/f-flow/calculate-flow-state/calculate-connections-state/calculate-connections-state.d.ts +14 -0
- package/domain/f-flow/calculate-flow-state/calculate-connections-state/index.d.ts +2 -0
- package/domain/f-flow/calculate-flow-state/calculate-flow-state-request.d.ts +3 -0
- package/domain/f-flow/calculate-flow-state/calculate-flow-state.d.ts +17 -0
- package/domain/f-flow/calculate-flow-state/calculate-nodes-state/calculate-nodes-state-request.d.ts +6 -0
- package/domain/f-flow/calculate-flow-state/calculate-nodes-state/calculate-nodes-state.d.ts +15 -0
- package/domain/f-flow/calculate-flow-state/calculate-nodes-state/index.d.ts +2 -0
- package/domain/f-flow/calculate-flow-state/i-f-flow-state-connection.d.ts +13 -0
- package/domain/f-flow/calculate-flow-state/i-f-flow-state-connector.d.ts +5 -0
- package/domain/f-flow/calculate-flow-state/index.d.ts +9 -0
- package/domain/f-flow/calculate-flow-state/providers.d.ts +7 -0
- package/domain/f-flow/index.d.ts +1 -2
- package/domain/f-flow/providers.d.ts +1 -2
- package/domain/f-node/add-node-to-store/add-node-to-store.d.ts +1 -1
- package/domain/f-node/calculate-connectors-connectable-sides/calculate-connectable-side-by-connected-positions/calculate-connectable-side-by-connected-positions.d.ts +1 -1
- package/domain/f-node/calculate-connectors-connectable-sides/calculate-connectable-side-by-internal-position/calculate-connectable-side-by-internal-position.d.ts +1 -1
- package/domain/f-node/calculate-connectors-connectable-sides/constants/calculatable-sides.d.ts +1 -1
- package/domain/f-node/calculate-connectors-connectable-sides/models/t-calculate-mode.d.ts +1 -1
- package/domain/f-node/calculate-connectors-connectable-sides/utils/determine-side.d.ts +1 -1
- package/domain/f-node/calculate-connectors-connectable-sides/utils/is-calculate-mode.d.ts +1 -1
- package/domain/f-node/calculate-input-connections/calculate-input-connections.d.ts +1 -1
- package/domain/f-node/calculate-output-connections/calculate-output-connections.d.ts +1 -1
- package/domain/f-selection/calculate-selectable-items/calculate-selectable-items-request.d.ts +3 -0
- package/domain/f-selection/calculate-selectable-items/calculate-selectable-items.d.ts +28 -0
- package/domain/f-selection/calculate-selectable-items/index.d.ts +3 -0
- package/domain/f-selection/index.d.ts +1 -1
- package/domain/f-selection/providers.d.ts +4 -4
- package/domain/f-selection/select-all/index.d.ts +2 -2
- package/domain/f-selection/select-all/select-all.d.ts +14 -0
- package/domain/f-selection/select-and-update-node-layer/index.d.ts +2 -2
- package/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.d.ts +16 -0
- package/domain/f-zoom/index.d.ts +0 -3
- package/domain/f-zoom/providers.d.ts +3 -5
- package/domain/f-zoom/reset-zoom/index.d.ts +1 -1
- package/domain/f-zoom/reset-zoom/reset-zoom.d.ts +13 -0
- package/domain/f-zoom/set-zoom/index.d.ts +1 -1
- package/domain/f-zoom/set-zoom/set-zoom.d.ts +20 -0
- package/domain/get-normalized-element-rect/get-normalized-element-rect-request.d.ts +1 -1
- package/domain/index.d.ts +0 -2
- package/domain/providers.d.ts +2 -2
- package/domain/sort-item-layers/index.d.ts +2 -2
- package/domain/sort-item-layers/sort-item-layers.d.ts +18 -0
- package/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.execution.d.ts +1 -1
- package/domain/update-item-and-children-layers/index.d.ts +2 -2
- package/domain/update-item-and-children-layers/update-item-and-children-layers.d.ts +26 -0
- package/drag-toolkit/pointer-events/i-pointer-event.d.ts +6 -4
- package/esm2022/domain/css-cls.mjs +1 -4
- package/esm2022/domain/f-background/add-pattern-to-background/add-pattern-to-background-request.mjs +8 -0
- package/esm2022/domain/f-background/add-pattern-to-background/add-pattern-to-background.mjs +5 -5
- package/esm2022/domain/f-background/add-pattern-to-background/index.mjs +2 -2
- package/esm2022/domain/f-background/index.mjs +1 -3
- package/esm2022/domain/f-background/providers.mjs +3 -7
- package/esm2022/domain/f-background/set-background-transform/index.mjs +2 -2
- package/esm2022/domain/f-background/set-background-transform/set-background-transform.mjs +25 -0
- package/esm2022/domain/f-canvas/center-group-or-node/center-group-or-node.execution.mjs +14 -17
- package/esm2022/domain/f-canvas/fit-to-flow/fit-to-flow.execution.mjs +21 -17
- package/esm2022/domain/f-canvas/remove-canvas-from-store/remove-canvas-from-store.execution.mjs +2 -2
- package/esm2022/domain/f-canvas/reset-scale-and-center/reset-scale-and-center.execution.mjs +5 -4
- package/esm2022/domain/f-connection/add-connection-for-create-to-store/add-connection-for-create-to-store-request.mjs +4 -4
- package/esm2022/domain/f-connection/add-connection-for-create-to-store/add-connection-for-create-to-store.mjs +25 -0
- package/esm2022/domain/f-connection/add-connection-for-create-to-store/index.mjs +2 -2
- package/esm2022/domain/f-connection/add-connection-marker-to-store/add-connection-marker-to-store-request.mjs +4 -4
- package/esm2022/domain/f-connection/add-connection-marker-to-store/add-connection-marker-to-store.mjs +26 -0
- package/esm2022/domain/f-connection/add-connection-marker-to-store/index.mjs +2 -2
- package/esm2022/domain/f-connection/add-connection-to-store/add-connection-to-store-request.mjs +4 -4
- package/esm2022/domain/f-connection/add-connection-to-store/add-connection-to-store.mjs +26 -0
- package/esm2022/domain/f-connection/add-connection-to-store/index.mjs +2 -2
- package/esm2022/domain/f-connection/add-snap-connection-to-store/add-snap-connection-to-store-request.mjs +4 -4
- package/esm2022/domain/f-connection/add-snap-connection-to-store/add-snap-connection-to-store.mjs +25 -0
- package/esm2022/domain/f-connection/add-snap-connection-to-store/index.mjs +2 -2
- package/esm2022/domain/f-connection/create-connection-markers/create-connection-markers-request.mjs +4 -4
- package/esm2022/domain/f-connection/create-connection-markers/create-connection-markers.mjs +66 -0
- package/esm2022/domain/f-connection/create-connection-markers/index.mjs +2 -2
- package/esm2022/domain/f-connection/index.mjs +2 -2
- package/esm2022/domain/f-connection/providers.mjs +21 -21
- package/esm2022/domain/f-connection/redraw-connections/redraw-connections.mjs +26 -35
- package/esm2022/domain/f-connection/remove-connection-for-create-from-store/index.mjs +2 -2
- package/esm2022/domain/f-connection/remove-connection-for-create-from-store/remove-connection-for-create-from-store.mjs +25 -0
- package/esm2022/domain/f-connection/remove-connection-from-store/index.mjs +2 -2
- package/esm2022/domain/f-connection/remove-connection-from-store/remove-connection-from-store-request.mjs +4 -4
- package/esm2022/domain/f-connection/remove-connection-from-store/remove-connection-from-store.mjs +23 -0
- package/esm2022/domain/f-connection/remove-connection-marker-from-store/index.mjs +2 -2
- package/esm2022/domain/f-connection/remove-connection-marker-from-store/remove-connection-marker-from-store-request.mjs +4 -4
- package/esm2022/domain/f-connection/remove-connection-marker-from-store/remove-connection-marker-from-store.mjs +26 -0
- package/esm2022/domain/f-connection/remove-connection-waypoint/index.mjs +3 -0
- package/esm2022/domain/f-connection/remove-connection-waypoint/remove-connection-waypoint-request.mjs +10 -0
- package/esm2022/domain/f-connection/remove-connection-waypoint/remove-connection-waypoint.mjs +33 -0
- package/esm2022/domain/f-connection/remove-snap-connection-from-store/index.mjs +2 -2
- package/esm2022/domain/f-connection/remove-snap-connection-from-store/remove-snap-connection-from-store.mjs +25 -0
- package/esm2022/domain/f-connectors/add-connector-to-store/add-connector-to-store-request.mjs +8 -0
- package/esm2022/domain/f-connectors/add-connector-to-store/add-connector-to-store.mjs +49 -0
- package/esm2022/domain/f-connectors/add-connector-to-store/index.mjs +3 -0
- package/esm2022/domain/f-connectors/calculate-closest-connector/calculate-closest-connector-request.mjs +4 -4
- package/esm2022/domain/f-connectors/calculate-closest-connector/calculate-closest-connector.mjs +9 -11
- package/esm2022/domain/f-connectors/calculate-source-connectors-to-connect/calculate-source-connectors-to-connect-request.mjs +6 -6
- package/esm2022/domain/f-connectors/calculate-source-connectors-to-connect/calculate-source-connectors-to-connect.mjs +28 -26
- package/esm2022/domain/f-connectors/calculate-target-connectors-to-connect/calculate-target-connectors-to-connect-request.mjs +6 -6
- package/esm2022/domain/f-connectors/calculate-target-connectors-to-connect/calculate-target-connectors-to-connect.mjs +34 -33
- package/esm2022/domain/f-connectors/find-connectable-connector-using-priority-and-position/find-connectable-connector-using-priority-and-position.execution.mjs +12 -12
- package/esm2022/domain/f-connectors/find-connectable-connector-using-priority-and-position/find-connectable-connector-using-priority-and-position.request.mjs +1 -1
- package/esm2022/domain/f-connectors/get-connector-rect-reference/get-connector-rect-reference-request.mjs +8 -0
- package/esm2022/domain/f-connectors/get-connector-rect-reference/get-connector-rect-reference.mjs +31 -0
- package/esm2022/domain/f-connectors/get-connector-rect-reference/index.mjs +3 -0
- package/esm2022/domain/f-connectors/i-closest-connector-ref.mjs +2 -0
- package/esm2022/domain/f-connectors/i-connector-rect-ref.mjs +2 -0
- package/esm2022/domain/f-connectors/index.mjs +6 -10
- package/esm2022/domain/f-connectors/providers.mjs +7 -15
- package/esm2022/domain/f-connectors/remove-connector-from-store/index.mjs +3 -0
- package/esm2022/domain/f-connectors/remove-connector-from-store/remove-connector-from-store-request.mjs +8 -0
- package/esm2022/domain/f-connectors/remove-connector-from-store/remove-connector-from-store.mjs +49 -0
- package/esm2022/domain/f-draggable/add-dnd-to-store/add-dnd-to-store-request.mjs +1 -1
- package/esm2022/domain/f-draggable/index.mjs +1 -4
- package/esm2022/domain/f-draggable/on-pointer-move/on-pointer-move.execution.mjs +5 -5
- package/esm2022/domain/f-draggable/prepare-drag-sequence/prepare-drag-sequence-request.mjs +1 -1
- package/esm2022/domain/f-draggable/prepare-drag-sequence/prepare-drag-sequence.execution.mjs +5 -8
- package/esm2022/domain/f-draggable/providers.mjs +1 -7
- package/esm2022/domain/f-flow/calculate-flow-state/calculate-connections-state/calculate-connections-state-request.mjs +4 -0
- package/esm2022/domain/f-flow/calculate-flow-state/calculate-connections-state/calculate-connections-state.mjs +38 -0
- package/esm2022/domain/f-flow/calculate-flow-state/calculate-connections-state/index.mjs +3 -0
- package/esm2022/domain/f-flow/calculate-flow-state/calculate-flow-state-request.mjs +4 -0
- package/esm2022/domain/f-flow/calculate-flow-state/calculate-flow-state.mjs +45 -0
- package/esm2022/domain/f-flow/calculate-flow-state/calculate-nodes-state/calculate-nodes-state-request.mjs +8 -0
- package/esm2022/domain/f-flow/calculate-flow-state/calculate-nodes-state/calculate-nodes-state.mjs +61 -0
- package/esm2022/domain/f-flow/calculate-flow-state/calculate-nodes-state/index.mjs +3 -0
- package/esm2022/domain/f-flow/calculate-flow-state/i-f-flow-state-connection.mjs +2 -0
- package/esm2022/domain/f-flow/calculate-flow-state/i-f-flow-state-connector.mjs +2 -0
- package/esm2022/domain/f-flow/calculate-flow-state/i-f-flow-state-node.mjs +2 -0
- package/esm2022/domain/f-flow/calculate-flow-state/i-f-flow-state.mjs +2 -0
- package/esm2022/domain/f-flow/calculate-flow-state/index.mjs +10 -0
- package/esm2022/domain/f-flow/calculate-flow-state/providers.mjs +12 -0
- package/esm2022/domain/f-flow/index.mjs +2 -3
- package/esm2022/domain/f-flow/providers.mjs +2 -4
- package/esm2022/domain/f-node/add-node-to-store/add-node-to-store.mjs +4 -3
- package/esm2022/domain/f-node/calculate-connectors-connectable-sides/calculate-connectable-side-by-connected-positions/calculate-connectable-side-by-connected-positions.mjs +1 -1
- package/esm2022/domain/f-node/calculate-connectors-connectable-sides/calculate-connectable-side-by-internal-position/calculate-connectable-side-by-internal-position.mjs +2 -2
- package/esm2022/domain/f-node/calculate-connectors-connectable-sides/calculate-connectors-connectable-sides.mjs +2 -2
- package/esm2022/domain/f-node/calculate-connectors-connectable-sides/constants/calculatable-sides.mjs +2 -2
- package/esm2022/domain/f-node/calculate-connectors-connectable-sides/models/t-calculate-mode.mjs +1 -1
- package/esm2022/domain/f-node/calculate-connectors-connectable-sides/utils/determine-side.mjs +2 -2
- package/esm2022/domain/f-node/calculate-connectors-connectable-sides/utils/is-calculate-mode.mjs +2 -2
- package/esm2022/domain/f-node/calculate-input-connections/calculate-input-connections.mjs +5 -3
- package/esm2022/domain/f-node/calculate-nodes-bounding-box/calculate-nodes-bounding-box.mjs +2 -2
- package/esm2022/domain/f-node/calculate-nodes-bounding-box-normalized-position/calculate-nodes-bounding-box-normalized-position.mjs +2 -2
- package/esm2022/domain/f-node/calculate-output-connections/calculate-output-connections.mjs +5 -3
- package/esm2022/domain/f-node/fit-to-child-nodes-and-groups/fit-to-child-nodes-and-groups.mjs +9 -8
- package/esm2022/domain/f-node/get-child-node-ids/get-child-node-ids.mjs +5 -3
- package/esm2022/domain/f-node/get-parent-nodes/get-parent-nodes.mjs +2 -2
- package/esm2022/domain/f-node/remove-node-from-store/remove-node-from-store.mjs +3 -2
- package/esm2022/domain/f-node/update-node-when-state-or-size-changed/update-node-when-state-or-size-changed.mjs +3 -3
- package/esm2022/domain/f-selection/calculate-selectable-items/calculate-selectable-items-request.mjs +4 -0
- package/esm2022/domain/f-selection/calculate-selectable-items/calculate-selectable-items.mjs +70 -0
- package/esm2022/domain/f-selection/calculate-selectable-items/i-can-be-selected-element-and-rect.mjs +2 -0
- package/esm2022/domain/f-selection/calculate-selectable-items/index.mjs +4 -0
- package/esm2022/domain/f-selection/clear-selection/clear-selection.request.mjs +1 -1
- package/esm2022/domain/f-selection/index.mjs +2 -2
- package/esm2022/domain/f-selection/providers.mjs +7 -7
- package/esm2022/domain/f-selection/select/select.execution.mjs +3 -3
- package/esm2022/domain/f-selection/select-all/index.mjs +3 -3
- package/esm2022/domain/f-selection/select-all/select-all-request.mjs +4 -0
- package/esm2022/domain/f-selection/select-all/select-all.mjs +40 -0
- package/esm2022/domain/f-selection/select-and-update-node-layer/index.mjs +3 -3
- package/esm2022/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer-request.mjs +8 -0
- package/esm2022/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.mjs +41 -0
- package/esm2022/domain/f-zoom/index.mjs +1 -4
- package/esm2022/domain/f-zoom/providers.mjs +4 -11
- package/esm2022/domain/f-zoom/reset-zoom/index.mjs +2 -2
- package/esm2022/domain/f-zoom/reset-zoom/reset-zoom.mjs +30 -0
- package/esm2022/domain/f-zoom/set-zoom/index.mjs +2 -2
- package/esm2022/domain/f-zoom/set-zoom/set-zoom.mjs +53 -0
- package/esm2022/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.execution.mjs +2 -2
- package/esm2022/domain/get-normalized-element-rect/get-normalized-element-rect-request.mjs +1 -1
- package/esm2022/domain/index.mjs +1 -3
- package/esm2022/domain/providers.mjs +5 -7
- package/esm2022/domain/sort-item-layers/index.mjs +3 -3
- package/esm2022/domain/sort-item-layers/sort-item-layers-request.mjs +4 -0
- package/esm2022/domain/sort-item-layers/sort-item-layers.mjs +40 -0
- package/esm2022/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.execution.mjs +6 -5
- package/esm2022/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.execution.mjs +8 -8
- package/esm2022/domain/update-item-and-children-layers/index.mjs +3 -3
- package/esm2022/domain/update-item-and-children-layers/update-item-and-children-layers-request.mjs +10 -0
- package/esm2022/domain/update-item-and-children-layers/update-item-and-children-layers.mjs +102 -0
- package/esm2022/drag-toolkit/pointer-events/i-pointer-event.mjs +15 -10
- package/esm2022/f-backgroud/f-background-base.mjs +3 -2
- package/esm2022/f-backgroud/f-background.component.mjs +10 -13
- package/esm2022/f-backgroud/f-rect-pattern/f-rect-pattern.component.mjs +11 -13
- package/esm2022/f-canvas/domain/f-canvas-change-event.mjs +9 -0
- package/esm2022/f-canvas/domain/index.mjs +2 -2
- package/esm2022/f-canvas/f-canvas-base.mjs +7 -5
- package/esm2022/f-canvas/f-canvas.component.mjs +26 -36
- package/esm2022/f-connection/f-connection/f-connection.component.mjs +10 -24
- package/esm2022/f-connection/f-connection-for-create/f-connection-for-create.component.mjs +13 -18
- package/esm2022/f-connection/f-snap-connection/f-snap-connection.component.mjs +9 -15
- package/esm2022/f-connection/index.mjs +2 -7
- package/esm2022/f-connection/providers.mjs +9 -13
- package/esm2022/f-connection-v2/components/connection-content/f-connection-content.mjs +76 -0
- package/esm2022/f-connection-v2/components/connection-content/index.mjs +4 -0
- package/esm2022/f-connection-v2/components/connection-content/models/f-connection-content-base.mjs +10 -0
- package/esm2022/f-connection-v2/components/connection-content/models/index.mjs +2 -0
- package/esm2022/f-connection-v2/components/connection-content/utils/i-polyline-content.mjs +2 -0
- package/esm2022/f-connection-v2/components/connection-content/utils/index.mjs +6 -0
- package/esm2022/f-connection-v2/components/connection-content/utils/polyline-content-align.mjs +6 -0
- package/esm2022/f-connection-v2/components/connection-content/utils/polyline-content-layout-engine.mjs +25 -0
- package/esm2022/f-connection-v2/components/connection-content/utils/polyline-content-place.mjs +66 -0
- package/esm2022/f-connection-v2/components/connection-content/utils/polyline-sampler/i-sampler-result.mjs +2 -0
- package/esm2022/f-connection-v2/components/connection-content/utils/polyline-sampler/i-tangent.mjs +2 -0
- package/esm2022/f-connection-v2/components/connection-content/utils/polyline-sampler/index.mjs +5 -0
- package/esm2022/f-connection-v2/components/connection-content/utils/polyline-sampler/polyline-sampler.mjs +143 -0
- package/esm2022/f-connection-v2/components/connection-content/utils/polyline-sampler/polyline.mjs +71 -0
- package/esm2022/f-connection-v2/components/connection-drag-handles/f-connection-drag-handle-end.mjs +35 -0
- package/esm2022/f-connection-v2/components/connection-drag-handles/f-connection-drag-handle-start.mjs +35 -0
- package/esm2022/f-connection-v2/components/connection-drag-handles/index.mjs +4 -0
- package/esm2022/f-connection-v2/components/connection-drag-handles/models/f-connection-drag-handle-base.mjs +17 -0
- package/esm2022/f-connection-v2/components/connection-drag-handles/models/index.mjs +2 -0
- package/esm2022/f-connection-v2/components/connection-gradient/f-connection-gradient.mjs +54 -0
- package/esm2022/f-connection-v2/components/connection-gradient/index.mjs +3 -0
- package/esm2022/f-connection-v2/components/connection-gradient/models/f-connection-gradient-base.mjs +6 -0
- package/esm2022/f-connection-v2/components/connection-gradient/models/index.mjs +2 -0
- package/esm2022/f-connection-v2/components/connection-marker/enums/e-f-marker-type.mjs +8 -0
- package/esm2022/f-connection-v2/components/connection-marker/enums/index.mjs +2 -0
- package/esm2022/f-connection-v2/components/connection-marker/f-connection-marker.mjs +50 -0
- package/esm2022/f-connection-v2/components/connection-marker/index.mjs +4 -0
- package/esm2022/f-connection-v2/components/connection-marker/models/f-connection-marker-base.mjs +8 -0
- package/esm2022/f-connection-v2/components/connection-marker/models/index.mjs +2 -0
- package/esm2022/f-connection-v2/components/connection-path/f-connection-path.mjs +66 -0
- package/esm2022/f-connection-v2/components/connection-path/index.mjs +3 -0
- package/esm2022/f-connection-v2/components/connection-path/models/f-connection-path-base.mjs +6 -0
- package/esm2022/f-connection-v2/components/connection-path/models/index.mjs +2 -0
- package/esm2022/f-connection-v2/components/connection-selection/f-connection-selection.mjs +34 -0
- package/esm2022/f-connection-v2/components/connection-selection/index.mjs +3 -0
- package/esm2022/f-connection-v2/components/connection-selection/models/f-connection-selection-base.mjs +6 -0
- package/esm2022/f-connection-v2/components/connection-selection/models/index.mjs +2 -0
- package/esm2022/f-connection-v2/components/connection-waypoints/f-connection-waypoints.mjs +50 -0
- package/esm2022/f-connection-v2/components/connection-waypoints/index.mjs +4 -0
- package/esm2022/f-connection-v2/components/connection-waypoints/models/f-connection-waypoints-base.mjs +27 -0
- package/esm2022/f-connection-v2/components/connection-waypoints/models/index.mjs +2 -0
- package/esm2022/f-connection-v2/components/connection-waypoints/utils/find-existing-waypoint.mjs +7 -0
- package/esm2022/f-connection-v2/components/connection-waypoints/utils/find-waypoint-candidate.mjs +7 -0
- package/esm2022/f-connection-v2/components/connection-waypoints/utils/index.mjs +5 -0
- package/esm2022/f-connection-v2/components/connection-waypoints/utils/is-pointer-inside-point.mjs +4 -0
- package/esm2022/f-connection-v2/components/connection-waypoints/utils/pick-waypoint.mjs +16 -0
- package/esm2022/f-connection-v2/components/f-connection-base.mjs +112 -0
- package/esm2022/f-connection-v2/components/index.mjs +9 -0
- package/esm2022/f-connection-v2/enums/e-f-connectable-side.mjs +12 -0
- package/esm2022/f-connection-v2/enums/e-f-connection-type.mjs +8 -0
- package/esm2022/f-connection-v2/enums/index.mjs +3 -0
- package/esm2022/f-connection-v2/index.mjs +5 -0
- package/esm2022/f-connection-v2/models/f-connection-components-parent.mjs +5 -0
- package/esm2022/f-connection-v2/models/index.mjs +2 -0
- package/esm2022/f-connection-v2/utils/connection-behaviour/connection-behaviour-builder-request.mjs +15 -0
- package/esm2022/f-connection-v2/utils/connection-behaviour/connection-behaviour-builder.mjs +136 -0
- package/esm2022/f-connection-v2/utils/connection-behaviour/enums/e-f-connection-behavior.mjs +7 -0
- package/esm2022/f-connection-v2/utils/connection-behaviour/enums/e-f-connection-connectable-side.mjs +12 -0
- package/esm2022/f-connection-v2/utils/connection-behaviour/enums/index.mjs +3 -0
- package/esm2022/f-connection-v2/utils/connection-behaviour/index.mjs +6 -0
- package/esm2022/f-connection-v2/utils/connection-behaviour/models/i-calculate-behavior-request.mjs +2 -0
- package/esm2022/f-connection-v2/utils/connection-behaviour/models/index.mjs +2 -0
- package/esm2022/f-connection-v2/utils/connection-behaviour/utils/fixed-center-behavior.mjs +12 -0
- package/esm2022/f-connection-v2/utils/connection-behaviour/utils/fixed-outbound-behavior.mjs +31 -0
- package/esm2022/f-connection-v2/utils/connection-behaviour/utils/floating-behavior.mjs +22 -0
- package/esm2022/f-connection-v2/utils/connection-behaviour/utils/index.mjs +4 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/adaptive-curve/calculate-adaptive-curve-data.mjs +74 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/adaptive-curve/index.mjs +2 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/bezier-curve/calculate-bezier-curve-data.mjs +49 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/bezier-curve/index.mjs +2 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/index.mjs +6 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/segment-line/build-corner-mid-points-and-apply-offsets.mjs +50 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/segment-line/calculate-segment-line-data.mjs +106 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/segment-line/create-segment-line-path.mjs +46 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/segment-line/index.mjs +4 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/straight-line/calculate-straight-line-data.mjs +28 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/straight-line/index.mjs +2 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/utils/build-connection-anchors.mjs +4 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/utils/calculate-center-between-points.mjs +8 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/utils/calculate-curve-candidates.mjs +7 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/utils/calculate-polyline-candidates.mjs +39 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/utils/index.mjs +9 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/utils/merge-point-chains.mjs +12 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/utils/multi-cubic.mjs +28 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/utils/normalize-polyline.mjs +30 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/utils/sample-cubic-bezier-uniform.mjs +37 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/connection-line-builder-request.mjs +9 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/connection-line-builder.mjs +50 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/index.mjs +6 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/models/i-f-connection-builder-request.mjs +2 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/models/i-f-connection-builder-response.mjs +2 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/models/i-f-connection-builder.mjs +2 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/models/index.mjs +4 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/providers/f-connection-builders.mjs +3 -0
- package/esm2022/f-connection-v2/utils/connection-line-builder/providers/index.mjs +2 -0
- package/esm2022/f-connection-v2/utils/create-connection-dom-identifier.mjs +5 -0
- package/esm2022/f-connection-v2/utils/create-connection-selection-dom-identifier.mjs +5 -0
- package/esm2022/f-connection-v2/utils/create-gradient-dom-identifier.mjs +5 -0
- package/esm2022/f-connection-v2/utils/create-gradient-dom-url.mjs +5 -0
- package/esm2022/f-connection-v2/utils/index.mjs +7 -0
- package/esm2022/f-connectors/f-connector-base.mjs +2 -2
- package/esm2022/f-connectors/f-node-input/f-node-input-base.mjs +2 -1
- package/esm2022/f-connectors/f-node-input/f-node-input.directive.mjs +5 -5
- package/esm2022/f-connectors/f-node-outlet/f-node-outlet-base.mjs +2 -1
- package/esm2022/f-connectors/f-node-outlet/f-node-outlet.directive.mjs +5 -5
- package/esm2022/f-connectors/f-node-output/f-node-output-base.mjs +2 -1
- package/esm2022/f-connectors/f-node-output/f-node-output.directive.mjs +6 -6
- package/esm2022/f-connectors/f-source-connector-base.mjs +8 -1
- package/esm2022/f-connectors/index.mjs +1 -2
- package/esm2022/f-draggable/connection/create-connection/create-connection-finalize/create-connection-finalize-request.mjs +8 -0
- package/esm2022/f-draggable/connection/create-connection/create-connection-finalize/create-connection-finalize.mjs +62 -0
- package/esm2022/f-draggable/connection/create-connection/create-connection-finalize/index.mjs +3 -0
- package/esm2022/f-draggable/connection/create-connection/create-connection-handler/create-connection-handler.mjs +105 -0
- package/esm2022/f-draggable/connection/create-connection/create-connection-handler/index.mjs +2 -0
- package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/create-connection-preparation-request.mjs +10 -0
- package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/create-connection-preparation.mjs +55 -0
- package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/create-drag-handler/create-connection-create-drag-handler-request.mjs +10 -0
- package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/create-drag-handler/create-connection-create-drag-handler.mjs +62 -0
- package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/create-drag-handler/index.mjs +3 -0
- package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/from-outlet-preparation/create-connection-from-outlet-preparation-request.mjs +10 -0
- package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/from-outlet-preparation/create-connection-from-outlet-preparation.mjs +49 -0
- package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/from-outlet-preparation/index.mjs +3 -0
- package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/from-output-preparation/create-connection-from-output-preparation-request.mjs +10 -0
- package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/from-output-preparation/create-connection-from-output-preparation.mjs +41 -0
- package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/from-output-preparation/index.mjs +3 -0
- package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/index.mjs +6 -0
- package/esm2022/f-draggable/connection/create-connection/f-create-connection-event.mjs +31 -0
- package/esm2022/f-draggable/connection/create-connection/i-create-connection-drag-result.mjs +2 -0
- package/esm2022/f-draggable/connection/create-connection/i-create-connection-event-data.mjs +2 -0
- package/esm2022/f-draggable/connection/create-connection/index.mjs +8 -0
- package/esm2022/f-draggable/connection/create-connection/resolve-connectable-output-for-outlet/index.mjs +3 -0
- package/esm2022/f-draggable/connection/create-connection/resolve-connectable-output-for-outlet/resolve-connectable-output-for-outlet-request.mjs +8 -0
- package/esm2022/f-draggable/connection/create-connection/resolve-connectable-output-for-outlet/resolve-connectable-output-for-outlet.mjs +39 -0
- package/esm2022/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-finalize/drag-connection-waypoint-finalize-request.mjs +8 -0
- package/esm2022/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-finalize/drag-connection-waypoint-finalize.mjs +32 -0
- package/esm2022/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-finalize/index.mjs +3 -0
- package/esm2022/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-handler/drag-connection-waypoint-handler.mjs +54 -0
- package/esm2022/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-handler/index.mjs +2 -0
- package/esm2022/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-preparation/drag-connection-waypoint-preparation-request.mjs +10 -0
- package/esm2022/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-preparation/drag-connection-waypoint-preparation.mjs +67 -0
- package/esm2022/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-preparation/index.mjs +3 -0
- package/esm2022/f-draggable/connection/drag-connection-waypoint/f-connection-waypoints-changed-event.mjs +9 -0
- package/esm2022/f-draggable/connection/drag-connection-waypoint/index.mjs +5 -0
- package/esm2022/f-draggable/connection/index.mjs +5 -0
- package/esm2022/f-draggable/connection/providers.mjs +16 -0
- package/esm2022/f-draggable/connection/reassign-connection/f-reassign-connection-event.mjs +51 -0
- package/esm2022/f-draggable/connection/reassign-connection/i-reassign-connection-drag-result.mjs +2 -0
- package/esm2022/f-draggable/connection/reassign-connection/i-reassign-connection-event-data.mjs +2 -0
- package/esm2022/f-draggable/connection/reassign-connection/index.mjs +7 -0
- package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-finalize/index.mjs +3 -0
- package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-finalize/reassign-connection-finalize-request.mjs +8 -0
- package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.mjs +63 -0
- package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-handler/i-reassign-handler.mjs +10 -0
- package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-handler/index.mjs +5 -0
- package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-handler/reassign-connection-handler.mjs +66 -0
- package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-handler/reassign-connection-source-handler.mjs +86 -0
- package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-handler/reassign-connection-target-handler.mjs +87 -0
- package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-preparation/index.mjs +4 -0
- package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-preparation/is-pointer-inside-start-or-end-drag-handles.mjs +18 -0
- package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-preparation/reassign-connection-preparation-request.mjs +10 -0
- package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.mjs +71 -0
- package/esm2022/f-draggable/domain/detect-connections-under-drag-node/detect-connections-under-drag-node-request.mjs +8 -0
- package/esm2022/f-draggable/domain/detect-connections-under-drag-node/detect-connections-under-drag-node.mjs +77 -0
- package/esm2022/f-draggable/domain/detect-connections-under-drag-node/f-node-intersected-with-connections-event.mjs +32 -0
- package/esm2022/f-draggable/domain/detect-connections-under-drag-node/index.mjs +4 -0
- package/esm2022/f-draggable/domain/emit-end-drag-sequence-event/emit-end-drag-sequence-event-request.mjs +4 -0
- package/esm2022/f-draggable/domain/emit-end-drag-sequence-event/emit-end-drag-sequence-event.mjs +33 -0
- package/esm2022/f-draggable/domain/emit-end-drag-sequence-event/index.mjs +3 -0
- package/esm2022/f-draggable/domain/emit-selection-change-event/emit-selection-change-event-request.mjs +4 -0
- package/esm2022/f-draggable/domain/emit-selection-change-event/emit-selection-change-event.mjs +42 -0
- package/esm2022/f-draggable/domain/emit-selection-change-event/index.mjs +3 -0
- package/esm2022/f-draggable/domain/emit-start-drag-sequence-event/emit-start-drag-sequence-event-request.mjs +4 -0
- package/esm2022/f-draggable/domain/emit-start-drag-sequence-event/emit-start-drag-sequence-event.mjs +37 -0
- package/esm2022/f-draggable/domain/emit-start-drag-sequence-event/index.mjs +3 -0
- package/esm2022/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.execution.mjs +2 -2
- package/esm2022/f-draggable/domain/index.mjs +5 -3
- package/esm2022/f-draggable/domain/providers.mjs +9 -3
- package/esm2022/f-draggable/drag-canvas/drag-canvas-finalize/drag-canvas-finalize-request.mjs +8 -0
- package/esm2022/f-draggable/drag-canvas/drag-canvas-finalize/drag-canvas-finalize.mjs +29 -0
- package/esm2022/f-draggable/drag-canvas/drag-canvas-finalize/index.mjs +3 -0
- package/esm2022/f-draggable/drag-canvas/drag-canvas-handler/drag-canvas-handler.mjs +32 -0
- package/esm2022/f-draggable/drag-canvas/drag-canvas-handler/index.mjs +2 -0
- package/esm2022/f-draggable/drag-canvas/drag-canvas-preparation/drag-canvas-preparation-request.mjs +10 -0
- package/esm2022/f-draggable/drag-canvas/drag-canvas-preparation/drag-canvas-preparation.mjs +54 -0
- package/esm2022/f-draggable/drag-canvas/drag-canvas-preparation/index.mjs +3 -0
- package/esm2022/f-draggable/drag-canvas/index.mjs +5 -0
- package/esm2022/f-draggable/drag-canvas/providers.mjs +4 -0
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-drag-node-handler-from-selection-request.mjs +8 -0
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-drag-node-handler-from-selection.mjs +84 -0
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-source-connection-drag-handlers-to-node/attach-source-connection-drag-handlers-to-node-request.mjs +23 -0
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-source-connection-drag-handlers-to-node/attach-source-connection-drag-handlers-to-node.mjs +62 -0
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-source-connection-drag-handlers-to-node/index.mjs +3 -0
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-target-connection-drag-handlers-to-node/attach-target-connection-drag-handlers-to-node-request.mjs +23 -0
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-target-connection-drag-handlers-to-node/attach-target-connection-drag-handlers-to-node.mjs +62 -0
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-target-connection-drag-handlers-to-node/index.mjs +3 -0
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/build-drag-node-constraints/build-drag-node-constraints-request.mjs +8 -0
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/build-drag-node-constraints/build-drag-node-constraints.mjs +72 -0
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/build-drag-node-constraints/index.mjs +3 -0
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-handler/create-drag-node-handler-request.mjs +14 -0
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-handler/create-drag-node-handler.mjs +36 -0
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-handler/index.mjs +3 -0
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-hierarchy/create-drag-node-hierarchy-request.mjs +9 -0
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-hierarchy/create-drag-node-hierarchy.mjs +50 -0
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-hierarchy/drag-node-hierarchy.mjs +9 -0
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-hierarchy/index.mjs +4 -0
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/index.mjs +10 -0
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/providers.mjs +17 -0
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/read-node-bounds-with-paddings/index.mjs +4 -0
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/read-node-bounds-with-paddings/read-node-bounds-with-paddings-request.mjs +10 -0
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/read-node-bounds-with-paddings/read-node-bounds-with-paddings-response.mjs +13 -0
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/read-node-bounds-with-paddings/read-node-bounds-with-paddings.mjs +39 -0
- package/esm2022/f-draggable/drag-node/drag-node-constraint/delta-clamp.mjs +36 -0
- package/esm2022/f-draggable/drag-node/drag-node-constraint/drag-node-delta-constraints.mjs +42 -0
- package/esm2022/f-draggable/drag-node/drag-node-constraint/expand-rect-by-overflow.mjs +20 -0
- package/esm2022/f-draggable/drag-node/drag-node-constraint/grid-snapper.mjs +33 -0
- package/esm2022/f-draggable/drag-node/drag-node-constraint/i-drag-node-delta-constraints-result.mjs +2 -0
- package/esm2022/f-draggable/drag-node/drag-node-constraint/i-drag-node-delta-constraints.mjs +2 -0
- package/esm2022/f-draggable/drag-node/drag-node-constraint/index.mjs +7 -0
- package/esm2022/f-draggable/drag-node/drag-node-dependent-connection-handlers/drag-node-connection-both-sides-handler.mjs +31 -0
- package/esm2022/f-draggable/drag-node/drag-node-dependent-connection-handlers/drag-node-connection-handler-base.mjs +45 -0
- package/esm2022/f-draggable/drag-node/drag-node-dependent-connection-handlers/drag-node-connection-source-handler.mjs +15 -0
- package/esm2022/f-draggable/drag-node/drag-node-dependent-connection-handlers/drag-node-connection-target-handler.mjs +15 -0
- package/esm2022/f-draggable/drag-node/drag-node-dependent-connection-handlers/index.mjs +5 -0
- package/esm2022/f-draggable/drag-node/drag-node-finalize/drag-node-finalize-request.mjs +8 -0
- package/esm2022/f-draggable/drag-node/drag-node-finalize/drag-node-finalize.mjs +104 -0
- package/esm2022/f-draggable/drag-node/drag-node-finalize/index.mjs +3 -0
- package/esm2022/f-draggable/drag-node/drag-node-handler/drag-node-handler.mjs +92 -0
- package/esm2022/f-draggable/drag-node/drag-node-handler/drag-node-item-handler.mjs +125 -0
- package/esm2022/f-draggable/drag-node/drag-node-handler/index.mjs +3 -0
- package/esm2022/f-draggable/drag-node/drag-node-preparation/drag-node-preparation-request.mjs +10 -0
- package/esm2022/f-draggable/drag-node/drag-node-preparation/drag-node-preparation.mjs +76 -0
- package/esm2022/f-draggable/drag-node/drag-node-preparation/index.mjs +3 -0
- package/esm2022/f-draggable/drag-node/f-drag-node-start-event-data.mjs +7 -0
- package/esm2022/f-draggable/drag-node/f-move-nodes-event.mjs +16 -0
- package/esm2022/f-draggable/drag-node/index.mjs +12 -0
- package/esm2022/f-draggable/drag-node/magnetic-lines/domain/calculate-magnetic-guides.mjs +59 -0
- package/esm2022/f-draggable/drag-node/magnetic-lines/domain/i-magnetic-axis-guide.mjs +2 -0
- package/esm2022/f-draggable/drag-node/magnetic-lines/domain/i-magnetic-guides-result.mjs +2 -0
- package/esm2022/f-draggable/drag-node/magnetic-lines/domain/index.mjs +6 -0
- package/esm2022/f-draggable/drag-node/magnetic-lines/domain/magnetic-line-element.mjs +34 -0
- package/esm2022/f-draggable/drag-node/magnetic-lines/domain/magnetic-line-renderer.mjs +44 -0
- package/esm2022/f-draggable/drag-node/magnetic-lines/index.mjs +4 -0
- package/esm2022/f-draggable/drag-node/magnetic-lines/magnetic-lines-handler/index.mjs +2 -0
- package/esm2022/f-draggable/drag-node/magnetic-lines/magnetic-lines-handler/magnetic-lines-handler.mjs +55 -0
- package/esm2022/f-draggable/drag-node/magnetic-lines/magnetic-lines-preparation/index.mjs +3 -0
- package/esm2022/f-draggable/drag-node/magnetic-lines/magnetic-lines-preparation/magnetic-lines-preparation-request.mjs +4 -0
- package/esm2022/f-draggable/drag-node/magnetic-lines/magnetic-lines-preparation/magnetic-lines-preparation.mjs +54 -0
- package/esm2022/f-draggable/drag-node/magnetic-rects/domain/calculate-magnetic-rects.mjs +374 -0
- package/esm2022/f-draggable/drag-node/magnetic-rects/domain/i-magnetic-gap-rect.mjs +2 -0
- package/esm2022/f-draggable/drag-node/magnetic-rects/domain/i-magnetic-rects-result.mjs +2 -0
- package/esm2022/f-draggable/drag-node/magnetic-rects/domain/index.mjs +6 -0
- package/esm2022/f-draggable/drag-node/magnetic-rects/domain/magnetic-rect-element.mjs +66 -0
- package/esm2022/f-draggable/drag-node/magnetic-rects/domain/magnetic-rects-renderer.mjs +50 -0
- package/esm2022/f-draggable/drag-node/magnetic-rects/index.mjs +4 -0
- package/esm2022/f-draggable/drag-node/magnetic-rects/magnetic-rects-handler/index.mjs +2 -0
- package/esm2022/f-draggable/drag-node/magnetic-rects/magnetic-rects-handler/magnetic-rects-handler.mjs +43 -0
- package/esm2022/f-draggable/drag-node/magnetic-rects/magnetic-rects-preparation/index.mjs +3 -0
- package/esm2022/f-draggable/drag-node/magnetic-rects/magnetic-rects-preparation/magnetic-rects-preparation-request.mjs +4 -0
- package/esm2022/f-draggable/drag-node/magnetic-rects/magnetic-rects-preparation/magnetic-rects-preparation.mjs +54 -0
- package/esm2022/f-draggable/drag-node/providers.mjs +13 -0
- package/esm2022/f-draggable/drop-to-group/drop-to-group-finalize/drop-to-group-finalize-request.mjs +8 -0
- package/esm2022/f-draggable/drop-to-group/drop-to-group-finalize/drop-to-group-finalize.mjs +65 -0
- package/esm2022/f-draggable/drop-to-group/drop-to-group-finalize/index.mjs +3 -0
- package/esm2022/f-draggable/drop-to-group/drop-to-group-handler/drop-to-group-handler.mjs +86 -0
- package/esm2022/f-draggable/drop-to-group/drop-to-group-handler/index.mjs +2 -0
- package/esm2022/f-draggable/drop-to-group/drop-to-group-preparation/drop-to-group-preparation-request.mjs +8 -0
- package/esm2022/f-draggable/drop-to-group/drop-to-group-preparation/drop-to-group-preparation.mjs +102 -0
- package/esm2022/f-draggable/drop-to-group/drop-to-group-preparation/index.mjs +3 -0
- package/esm2022/f-draggable/drop-to-group/f-drop-to-group-event.mjs +24 -0
- package/esm2022/f-draggable/drop-to-group/index.mjs +7 -0
- package/esm2022/f-draggable/drop-to-group/providers.mjs +9 -0
- package/esm2022/f-draggable/drop-to-group/sort-drop-candidates-by-layer/index.mjs +3 -0
- package/esm2022/f-draggable/drop-to-group/sort-drop-candidates-by-layer/sort-drop-candidates-by-layer-request.mjs +8 -0
- package/esm2022/f-draggable/drop-to-group/sort-drop-candidates-by-layer/sort-drop-candidates-by-layer.mjs +57 -0
- package/esm2022/f-draggable/f-drag-started-event.mjs +23 -0
- package/esm2022/f-draggable/f-draggable-base.mjs +2 -2
- package/esm2022/f-draggable/f-draggable-data-context.mjs +9 -1
- package/esm2022/f-draggable/f-draggable.directive.mjs +39 -71
- package/esm2022/f-draggable/f-node-resize/calculate-direct-children-union-rect/calculate-direct-children-union-rect.mjs +4 -5
- package/esm2022/f-draggable/f-node-resize/calculate-resize-limits/calculate-resize-limits.mjs +3 -3
- package/esm2022/f-draggable/f-node-resize/i-node-resize-event-data.mjs +2 -0
- package/esm2022/f-draggable/f-node-resize/index.mjs +2 -1
- package/esm2022/f-draggable/f-node-resize/node-resize.drag-handler.mjs +9 -7
- package/esm2022/f-draggable/f-node-resize/resize-preparation/node-resize-preparation.mjs +9 -11
- package/esm2022/f-draggable/f-node-rotate/f-node-rotate.drag-handler.mjs +17 -13
- package/esm2022/f-draggable/f-node-rotate/i-node-rotate-event-data.mjs +2 -0
- package/esm2022/f-draggable/f-node-rotate/index.mjs +2 -1
- package/esm2022/f-draggable/f-node-rotate/rotate-preparation/f-node-rotate-preparation.execution.mjs +19 -21
- package/esm2022/f-draggable/f-selection-change-event.mjs +20 -8
- package/esm2022/f-draggable/index.mjs +10 -7
- package/esm2022/f-draggable/infrastructure/drag-handler-base.mjs +34 -0
- package/esm2022/f-draggable/infrastructure/drag-handler-injector.mjs +98 -0
- package/esm2022/f-draggable/infrastructure/f-drag-handler-result.mjs +20 -0
- package/esm2022/f-draggable/infrastructure/i-drag-session-feature.mjs +2 -0
- package/esm2022/f-draggable/infrastructure/index.mjs +5 -0
- package/esm2022/f-draggable/pinch-to-zoom/finalize/index.mjs +3 -0
- package/esm2022/f-draggable/pinch-to-zoom/finalize/pinch-to-zoom-finalize-request.mjs +8 -0
- package/esm2022/f-draggable/pinch-to-zoom/finalize/pinch-to-zoom-finalize.mjs +31 -0
- package/esm2022/f-draggable/pinch-to-zoom/handler/index.mjs +2 -0
- package/esm2022/f-draggable/pinch-to-zoom/handler/pinch-to-zoom-handler.mjs +88 -0
- package/esm2022/f-draggable/pinch-to-zoom/index.mjs +5 -0
- package/esm2022/f-draggable/pinch-to-zoom/preparation/index.mjs +3 -0
- package/esm2022/f-draggable/pinch-to-zoom/preparation/pinch-to-zoom-preparation-request.mjs +8 -0
- package/esm2022/f-draggable/pinch-to-zoom/preparation/pinch-to-zoom-preparation.mjs +47 -0
- package/esm2022/f-draggable/pinch-to-zoom/providers.mjs +4 -0
- package/esm2022/f-draggable/providers.mjs +14 -12
- package/esm2022/f-draggable/select-by-pointer/index.mjs +4 -0
- package/esm2022/f-draggable/select-by-pointer/providers.mjs +3 -0
- package/esm2022/f-draggable/select-by-pointer/select-by-pointer-request.mjs +10 -0
- package/esm2022/f-draggable/select-by-pointer/select-by-pointer.mjs +128 -0
- package/esm2022/f-draggable/selection-area/index.mjs +5 -0
- package/esm2022/f-draggable/selection-area/providers.mjs +4 -0
- package/esm2022/f-draggable/selection-area/selection-area-finalize/index.mjs +3 -0
- package/esm2022/f-draggable/selection-area/selection-area-finalize/selection-area-finalize-request.mjs +8 -0
- package/esm2022/f-draggable/selection-area/selection-area-finalize/selection-area-finalize.mjs +30 -0
- package/esm2022/f-draggable/selection-area/selection-area-handler/index.mjs +2 -0
- package/esm2022/f-draggable/selection-area/selection-area-handler/selection-area-handler.mjs +79 -0
- package/esm2022/f-draggable/selection-area/selection-area-preparation/index.mjs +3 -0
- package/esm2022/f-draggable/selection-area/selection-area-preparation/selection-area-preparation-request.mjs +8 -0
- package/esm2022/f-draggable/selection-area/selection-area-preparation/selection-area-preparation.mjs +40 -0
- package/esm2022/f-external-item/domain/f-external-item.drag-handler.mjs +13 -11
- package/esm2022/f-external-item/domain/finalize/f-external-item-finalize.execution.mjs +9 -12
- package/esm2022/f-flow/f-flow.component.mjs +41 -28
- package/esm2022/f-flow.module.mjs +48 -39
- package/esm2022/f-line-alignment/f-line-alignment.component.mjs +19 -20
- package/esm2022/f-line-alignment/index.mjs +1 -3
- package/esm2022/f-magnetic-lines/f-magnetic-lines-base.mjs +12 -0
- package/esm2022/f-magnetic-lines/f-magnetic-lines.mjs +24 -0
- package/esm2022/f-magnetic-lines/index.mjs +4 -0
- package/esm2022/f-magnetic-lines/providers.mjs +3 -0
- package/esm2022/f-magnetic-rects/f-magnetic-rects-base.mjs +12 -0
- package/esm2022/f-magnetic-rects/f-magnetic-rects.mjs +29 -0
- package/esm2022/f-magnetic-rects/index.mjs +4 -0
- package/esm2022/f-magnetic-rects/providers.mjs +3 -0
- package/esm2022/f-minimap/domain/f-minimap.drag-handler.mjs +6 -3
- package/esm2022/f-minimap/domain/minimap-draw-nodes/minimap-draw-nodes.execution.mjs +2 -2
- package/esm2022/f-minimap/f-minimap-canvas.directive.mjs +3 -6
- package/esm2022/f-minimap/f-minimap-flow.directive.mjs +4 -7
- package/esm2022/f-minimap/f-minimap-view.directive.mjs +3 -6
- package/esm2022/f-minimap/f-minimap.component.mjs +9 -10
- package/esm2022/f-selection-area/f-selection-area-base.mjs +6 -2
- package/esm2022/f-selection-area/f-selection-area.mjs +29 -0
- package/esm2022/f-selection-area/index.mjs +2 -3
- package/esm2022/f-selection-area/providers.mjs +3 -5
- package/esm2022/f-storage/base/f-id-registry-base.mjs +89 -0
- package/esm2022/f-storage/base/f-single-registry-base.mjs +37 -0
- package/esm2022/f-storage/base/index.mjs +3 -0
- package/esm2022/f-storage/f-components-store.mjs +28 -23
- package/esm2022/f-storage/f-connection-marker-registry.mjs +5 -0
- package/esm2022/f-storage/f-connection-registry.mjs +25 -0
- package/esm2022/f-storage/f-connector-registry.mjs +9 -0
- package/esm2022/f-storage/f-node-registry.mjs +5 -0
- package/esm2022/f-storage/features/index.mjs +8 -0
- package/esm2022/f-storage/features/listen-count-changes/index.mjs +2 -2
- package/esm2022/f-storage/features/listen-count-changes/listen-count-changes-request.mjs +1 -1
- package/esm2022/f-storage/features/listen-count-changes/listen-count-changes.mjs +23 -0
- package/esm2022/f-storage/features/listen-data-changed/index.mjs +3 -0
- package/esm2022/f-storage/features/listen-data-changed/listen-data-changes-request.mjs +4 -0
- package/esm2022/f-storage/features/listen-data-changed/listen-data-changes.mjs +23 -0
- package/esm2022/f-storage/features/listen-transform-changes/index.mjs +3 -3
- package/esm2022/f-storage/features/listen-transform-changes/listen-transform-changes-request.mjs +4 -0
- package/esm2022/f-storage/features/listen-transform-changes/listen-transform-changes.mjs +23 -0
- package/esm2022/f-storage/features/notify-data-changed/index.mjs +2 -2
- package/esm2022/f-storage/features/notify-data-changed/notify-data-changed-request.mjs +1 -1
- package/esm2022/f-storage/features/notify-data-changed/notify-data-changed.mjs +22 -0
- package/esm2022/f-storage/features/notify-transform-changed/index.mjs +3 -3
- package/esm2022/f-storage/features/notify-transform-changed/notify-transform-changed-request.mjs +4 -0
- package/esm2022/f-storage/features/notify-transform-changed/notify-transform-changed.mjs +22 -0
- package/esm2022/f-storage/features/register-plugin-instance/index.mjs +3 -0
- package/esm2022/f-storage/features/register-plugin-instance/register-plugin-instance-request.mjs +10 -0
- package/esm2022/f-storage/features/register-plugin-instance/register-plugin-instance.mjs +25 -0
- package/esm2022/f-storage/features/remove-plugin-instance/index.mjs +3 -0
- package/esm2022/f-storage/features/remove-plugin-instance/remove-plugin-instance-request.mjs +8 -0
- package/esm2022/f-storage/features/remove-plugin-instance/remove-plugin-instance.mjs +25 -0
- package/esm2022/f-storage/index.mjs +7 -7
- package/esm2022/f-storage/providers.mjs +10 -11
- package/esm2022/f-zoom/f-zoom.directive.mjs +14 -23
- package/esm2022/public-api.mjs +5 -1
- package/esm2022/reactivity/debounce-animation-frame.mjs +21 -0
- package/esm2022/reactivity/debounce-microtask.mjs +20 -0
- package/esm2022/reactivity/debounce-time.mjs +16 -5
- package/esm2022/reactivity/f-channel-hub.mjs +33 -9
- package/esm2022/reactivity/index.mjs +4 -1
- package/esm2022/reactivity/notify-on-start.mjs +19 -5
- package/esm2022/reactivity/take-one.mjs +17 -0
- package/esm2022/reactivity/types.mjs +1 -1
- package/esm2022/testing/component-harness.mjs +16 -0
- package/esm2022/testing/di-harness.mjs +32 -0
- package/esm2022/testing/factories.mjs +367 -0
- package/esm2022/testing/index.mjs +8 -0
- package/esm2022/testing/internal/index.mjs +2 -0
- package/esm2022/testing/internal/type-helpers.mjs +28 -0
- package/esm2022/testing/jasmine/index.mjs +2 -0
- package/esm2022/testing/jasmine/spy-helpers.mjs +14 -0
- package/esm2022/testing/mediator-harness.mjs +14 -0
- package/esm2022/testing/pure-harness.mjs +25 -0
- package/esm2022/testing/registry-harness.mjs +23 -0
- package/esm2022/utils/calculate-pointer-in-flow.mjs +9 -0
- package/esm2022/utils/index.mjs +2 -1
- package/f-backgroud/f-background-base.d.ts +1 -1
- package/f-backgroud/f-background.component.d.ts +3 -5
- package/f-backgroud/f-rect-pattern/f-rect-pattern.component.d.ts +2 -2
- package/f-canvas/domain/index.d.ts +1 -1
- package/f-canvas/f-canvas-base.d.ts +2 -2
- package/f-canvas/f-canvas.component.d.ts +2 -9
- package/f-connection/f-connection/f-connection.component.d.ts +2 -7
- package/f-connection/f-connection-for-create/f-connection-for-create.component.d.ts +2 -6
- package/f-connection/f-snap-connection/f-snap-connection.component.d.ts +2 -6
- package/f-connection/index.d.ts +1 -6
- package/f-connection/providers.d.ts +3 -4
- package/f-connection-v2/components/connection-content/f-connection-content.d.ts +42 -0
- package/f-connection-v2/components/connection-content/index.d.ts +3 -0
- package/f-connection-v2/components/connection-content/models/f-connection-content-base.d.ts +36 -0
- package/f-connection-v2/components/connection-content/models/index.d.ts +1 -0
- package/f-connection-v2/components/connection-content/utils/polyline-content-layout-engine.d.ts +13 -0
- package/f-connection-v2/components/connection-drag-handles/f-connection-drag-handle-end.d.ts +8 -0
- package/f-connection-v2/components/connection-drag-handles/f-connection-drag-handle-start.d.ts +8 -0
- package/f-connection-v2/components/connection-drag-handles/index.d.ts +3 -0
- package/f-connection-v2/components/connection-drag-handles/models/f-connection-drag-handle-base.d.ts +11 -0
- package/f-connection-v2/components/connection-drag-handles/models/index.d.ts +1 -0
- package/f-connection-v2/components/connection-gradient/f-connection-gradient.d.ts +16 -0
- package/f-connection-v2/components/connection-gradient/index.d.ts +2 -0
- package/f-connection-v2/components/connection-gradient/models/f-connection-gradient-base.d.ts +8 -0
- package/f-connection-v2/components/connection-gradient/models/index.d.ts +1 -0
- package/f-connection-v2/components/connection-marker/enums/index.d.ts +1 -0
- package/f-connection-v2/components/connection-marker/f-connection-marker.d.ts +17 -0
- package/f-connection-v2/components/connection-marker/index.d.ts +3 -0
- package/f-connection-v2/components/connection-marker/models/f-connection-marker-base.d.ts +13 -0
- package/f-connection-v2/components/connection-marker/models/index.d.ts +1 -0
- package/f-connection-v2/components/connection-path/f-connection-path.d.ts +14 -0
- package/f-connection-v2/components/connection-path/index.d.ts +2 -0
- package/f-connection-v2/components/connection-path/models/f-connection-path-base.d.ts +9 -0
- package/f-connection-v2/components/connection-path/models/index.d.ts +1 -0
- package/f-connection-v2/components/connection-selection/f-connection-selection.d.ts +9 -0
- package/f-connection-v2/components/connection-selection/index.d.ts +2 -0
- package/f-connection-v2/components/connection-selection/models/f-connection-selection-base.d.ts +6 -0
- package/f-connection-v2/components/connection-selection/models/index.d.ts +1 -0
- package/f-connection-v2/components/connection-waypoints/f-connection-waypoints.d.ts +19 -0
- package/f-connection-v2/components/connection-waypoints/index.d.ts +3 -0
- package/f-connection-v2/components/connection-waypoints/models/f-connection-waypoints-base.d.ts +16 -0
- package/f-connection-v2/components/connection-waypoints/models/index.d.ts +1 -0
- package/f-connection-v2/components/connection-waypoints/utils/find-existing-waypoint.d.ts +6 -0
- package/f-connection-v2/components/connection-waypoints/utils/find-waypoint-candidate.d.ts +6 -0
- package/f-connection-v2/components/connection-waypoints/utils/index.d.ts +4 -0
- package/f-connection-v2/components/connection-waypoints/utils/is-pointer-inside-point.d.ts +2 -0
- package/f-connection-v2/components/connection-waypoints/utils/pick-waypoint.d.ts +17 -0
- package/f-connection-v2/components/f-connection-base.d.ts +63 -0
- package/f-connection-v2/components/index.d.ts +8 -0
- package/f-connection-v2/enums/index.d.ts +2 -0
- package/f-connection-v2/index.d.ts +4 -0
- package/f-connection-v2/models/f-connection-components-parent.d.ts +15 -0
- package/f-connection-v2/models/index.d.ts +1 -0
- package/f-connection-v2/utils/connection-behaviour/connection-behaviour-builder-request.d.ts +11 -0
- package/f-connection-v2/utils/connection-behaviour/connection-behaviour-builder.d.ts +46 -0
- package/f-connection-v2/utils/connection-behaviour/enums/index.d.ts +2 -0
- package/f-connection-v2/utils/connection-behaviour/index.d.ts +5 -0
- package/f-connection-v2/utils/connection-behaviour/models/i-calculate-behavior-request.d.ts +8 -0
- package/f-connection-v2/utils/connection-behaviour/models/index.d.ts +1 -0
- package/f-connection-v2/utils/connection-behaviour/utils/fixed-center-behavior.d.ts +8 -0
- package/f-connection-v2/utils/connection-behaviour/utils/fixed-outbound-behavior.d.ts +8 -0
- package/f-connection-v2/utils/connection-behaviour/utils/floating-behavior.d.ts +8 -0
- package/f-connection-v2/utils/connection-behaviour/utils/index.d.ts +3 -0
- package/f-connection-v2/utils/connection-line-builder/builders/adaptive-curve/calculate-adaptive-curve-data.d.ts +8 -0
- package/f-connection-v2/utils/connection-line-builder/builders/adaptive-curve/index.d.ts +1 -0
- package/f-connection-v2/utils/connection-line-builder/builders/bezier-curve/calculate-bezier-curve-data.d.ts +4 -0
- package/f-connection-v2/utils/connection-line-builder/builders/bezier-curve/index.d.ts +1 -0
- package/f-connection-v2/utils/connection-line-builder/builders/index.d.ts +5 -0
- package/f-connection-v2/utils/connection-line-builder/builders/segment-line/build-corner-mid-points-and-apply-offsets.d.ts +17 -0
- package/f-connection-v2/utils/connection-line-builder/builders/segment-line/calculate-segment-line-data.d.ts +6 -0
- package/f-connection-v2/utils/connection-line-builder/builders/segment-line/create-segment-line-path.d.ts +2 -0
- package/f-connection-v2/utils/connection-line-builder/builders/segment-line/index.d.ts +3 -0
- package/f-connection-v2/utils/connection-line-builder/builders/straight-line/calculate-straight-line-data.d.ts +4 -0
- package/f-connection-v2/utils/connection-line-builder/builders/straight-line/index.d.ts +1 -0
- package/f-connection-v2/utils/connection-line-builder/builders/utils/build-connection-anchors.d.ts +2 -0
- package/f-connection-v2/utils/connection-line-builder/builders/utils/calculate-center-between-points.d.ts +2 -0
- package/f-connection-v2/utils/connection-line-builder/builders/utils/calculate-curve-candidates.d.ts +3 -0
- package/f-connection-v2/utils/connection-line-builder/builders/utils/calculate-polyline-candidates.d.ts +2 -0
- package/f-connection-v2/utils/connection-line-builder/builders/utils/index.d.ts +8 -0
- package/f-connection-v2/utils/connection-line-builder/builders/utils/merge-point-chains.d.ts +2 -0
- package/f-connection-v2/utils/connection-line-builder/builders/utils/multi-cubic.d.ts +10 -0
- package/f-connection-v2/utils/connection-line-builder/builders/utils/normalize-polyline.d.ts +2 -0
- package/f-connection-v2/utils/connection-line-builder/builders/utils/sample-cubic-bezier-uniform.d.ts +24 -0
- package/f-connection-v2/utils/connection-line-builder/connection-line-builder-request.d.ts +7 -0
- package/f-connection-v2/utils/connection-line-builder/connection-line-builder.d.ts +13 -0
- package/f-connection-v2/utils/connection-line-builder/index.d.ts +5 -0
- package/f-connection-v2/utils/connection-line-builder/models/i-f-connection-builder-request.d.ts +11 -0
- package/f-connection-v2/utils/connection-line-builder/models/i-f-connection-builder-response.d.ts +8 -0
- package/f-connection-v2/utils/connection-line-builder/models/i-f-connection-builder.d.ts +5 -0
- package/f-connection-v2/utils/connection-line-builder/models/index.d.ts +3 -0
- package/f-connection-v2/utils/connection-line-builder/providers/f-connection-builders.d.ts +4 -0
- package/f-connection-v2/utils/connection-line-builder/providers/index.d.ts +1 -0
- package/f-connection-v2/utils/create-connection-dom-identifier.d.ts +1 -0
- package/f-connection-v2/utils/create-connection-selection-dom-identifier.d.ts +1 -0
- package/f-connection-v2/utils/create-gradient-dom-identifier.d.ts +1 -0
- package/f-connection-v2/utils/create-gradient-dom-url.d.ts +1 -0
- package/f-connection-v2/utils/index.d.ts +6 -0
- package/f-connectors/f-connector-base.d.ts +3 -1
- package/f-connectors/f-node-input/f-node-input-base.d.ts +2 -1
- package/f-connectors/f-node-input/f-node-input.directive.d.ts +1 -1
- package/f-connectors/f-node-outlet/f-node-outlet-base.d.ts +2 -1
- package/f-connectors/f-node-outlet/f-node-outlet.directive.d.ts +1 -1
- package/f-connectors/f-node-output/f-node-output-base.d.ts +2 -0
- package/f-connectors/f-node-output/f-node-output.directive.d.ts +1 -1
- package/f-connectors/f-source-connector-base.d.ts +3 -0
- package/f-connectors/index.d.ts +0 -1
- package/f-draggable/connection/create-connection/create-connection-finalize/create-connection-finalize-request.d.ts +6 -0
- package/f-draggable/connection/create-connection/create-connection-finalize/create-connection-finalize.d.ts +19 -0
- package/f-draggable/connection/create-connection/create-connection-finalize/index.d.ts +2 -0
- package/f-draggable/connection/create-connection/create-connection-handler/create-connection-handler.d.ts +35 -0
- package/f-draggable/connection/create-connection/create-connection-handler/index.d.ts +1 -0
- package/f-draggable/connection/create-connection/create-connection-preparation/create-connection-preparation.d.ts +14 -0
- package/f-draggable/connection/create-connection/create-connection-preparation/create-drag-handler/create-connection-create-drag-handler-request.d.ts +8 -0
- package/f-draggable/connection/create-connection/create-connection-preparation/create-drag-handler/create-connection-create-drag-handler.d.ts +26 -0
- package/f-draggable/connection/create-connection/create-connection-preparation/create-drag-handler/index.d.ts +2 -0
- package/f-draggable/connection/create-connection/create-connection-preparation/from-outlet-preparation/create-connection-from-outlet-preparation-request.d.ts +8 -0
- package/f-draggable/connection/create-connection/create-connection-preparation/from-outlet-preparation/create-connection-from-outlet-preparation.d.ts +14 -0
- package/f-draggable/connection/create-connection/create-connection-preparation/from-outlet-preparation/index.d.ts +2 -0
- package/f-draggable/connection/create-connection/create-connection-preparation/from-output-preparation/create-connection-from-output-preparation.d.ts +13 -0
- package/f-draggable/connection/create-connection/create-connection-preparation/index.d.ts +5 -0
- package/f-draggable/connection/create-connection/f-create-connection-event.d.ts +16 -0
- package/f-draggable/connection/create-connection/i-create-connection-drag-result.d.ts +7 -0
- package/f-draggable/connection/create-connection/i-create-connection-event-data.d.ts +3 -0
- package/f-draggable/connection/create-connection/index.d.ts +7 -0
- package/f-draggable/connection/create-connection/resolve-connectable-output-for-outlet/index.d.ts +2 -0
- package/f-draggable/connection/create-connection/resolve-connectable-output-for-outlet/resolve-connectable-output-for-outlet-request.d.ts +6 -0
- package/f-draggable/connection/create-connection/resolve-connectable-output-for-outlet/resolve-connectable-output-for-outlet.d.ts +12 -0
- package/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-finalize/drag-connection-waypoint-finalize-request.d.ts +6 -0
- package/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-finalize/drag-connection-waypoint-finalize.d.ts +11 -0
- package/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-finalize/index.d.ts +2 -0
- package/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-handler/drag-connection-waypoint-handler.d.ts +21 -0
- package/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-handler/index.d.ts +1 -0
- package/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-preparation/drag-connection-waypoint-preparation-request.d.ts +8 -0
- package/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-preparation/drag-connection-waypoint-preparation.d.ts +19 -0
- package/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-preparation/index.d.ts +2 -0
- package/f-draggable/connection/drag-connection-waypoint/f-connection-waypoints-changed-event.d.ts +6 -0
- package/f-draggable/connection/drag-connection-waypoint/index.d.ts +4 -0
- package/f-draggable/connection/index.d.ts +4 -0
- package/f-draggable/connection/providers.d.ts +4 -0
- package/f-draggable/connection/reassign-connection/f-reassign-connection-event.d.ts +29 -0
- package/f-draggable/connection/reassign-connection/i-reassign-connection-drag-result.d.ts +17 -0
- package/f-draggable/connection/reassign-connection/i-reassign-connection-event-data.d.ts +3 -0
- package/f-draggable/connection/reassign-connection/index.d.ts +6 -0
- package/f-draggable/connection/reassign-connection/reassign-connection-finalize/index.d.ts +2 -0
- package/f-draggable/connection/reassign-connection/reassign-connection-finalize/reassign-connection-finalize-request.d.ts +6 -0
- package/f-draggable/connection/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.d.ts +18 -0
- package/f-draggable/connection/reassign-connection/reassign-connection-handler/i-reassign-handler.d.ts +15 -0
- package/f-draggable/connection/reassign-connection/reassign-connection-handler/index.d.ts +4 -0
- package/f-draggable/connection/reassign-connection/reassign-connection-handler/reassign-connection-handler.d.ts +30 -0
- package/f-draggable/connection/reassign-connection/reassign-connection-handler/reassign-connection-source-handler.d.ts +27 -0
- package/f-draggable/connection/reassign-connection/reassign-connection-handler/reassign-connection-target-handler.d.ts +27 -0
- package/f-draggable/connection/reassign-connection/reassign-connection-preparation/index.d.ts +3 -0
- package/f-draggable/connection/reassign-connection/reassign-connection-preparation/is-pointer-inside-start-or-end-drag-handles.d.ts +5 -0
- package/f-draggable/connection/reassign-connection/reassign-connection-preparation/reassign-connection-preparation-request.d.ts +8 -0
- package/f-draggable/connection/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.d.ts +20 -0
- package/f-draggable/domain/detect-connections-under-drag-node/detect-connections-under-drag-node-request.d.ts +6 -0
- package/f-draggable/domain/detect-connections-under-drag-node/detect-connections-under-drag-node.d.ts +14 -0
- package/f-draggable/domain/detect-connections-under-drag-node/f-node-intersected-with-connections-event.d.ts +25 -0
- package/f-draggable/domain/detect-connections-under-drag-node/index.d.ts +3 -0
- package/f-draggable/domain/emit-end-drag-sequence-event/emit-end-drag-sequence-event-request.d.ts +3 -0
- package/f-draggable/domain/emit-end-drag-sequence-event/emit-end-drag-sequence-event.d.ts +14 -0
- package/f-draggable/domain/emit-end-drag-sequence-event/index.d.ts +2 -0
- package/f-draggable/domain/emit-selection-change-event/emit-selection-change-event.d.ts +17 -0
- package/f-draggable/domain/emit-selection-change-event/index.d.ts +2 -0
- package/f-draggable/domain/emit-start-drag-sequence-event/emit-start-drag-sequence-event-request.d.ts +3 -0
- package/f-draggable/domain/emit-start-drag-sequence-event/emit-start-drag-sequence-event.d.ts +15 -0
- package/f-draggable/domain/emit-start-drag-sequence-event/index.d.ts +2 -0
- package/f-draggable/domain/index.d.ts +4 -2
- package/f-draggable/domain/providers.d.ts +5 -2
- package/f-draggable/drag-canvas/drag-canvas-finalize/drag-canvas-finalize-request.d.ts +6 -0
- package/f-draggable/drag-canvas/drag-canvas-finalize/drag-canvas-finalize.d.ts +10 -0
- package/f-draggable/drag-canvas/drag-canvas-finalize/index.d.ts +2 -0
- package/f-draggable/drag-canvas/drag-canvas-handler/drag-canvas-handler.d.ts +15 -0
- package/f-draggable/drag-canvas/drag-canvas-handler/index.d.ts +1 -0
- package/f-draggable/drag-canvas/drag-canvas-preparation/drag-canvas-preparation-request.d.ts +8 -0
- package/f-draggable/drag-canvas/drag-canvas-preparation/drag-canvas-preparation.d.ts +16 -0
- package/f-draggable/drag-canvas/drag-canvas-preparation/index.d.ts +2 -0
- package/f-draggable/drag-canvas/index.d.ts +4 -0
- package/f-draggable/drag-canvas/providers.d.ts +3 -0
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-drag-node-handler-from-selection-request.d.ts +6 -0
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-drag-node-handler-from-selection.d.ts +18 -0
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-source-connection-drag-handlers-to-node/attach-source-connection-drag-handlers-to-node-request.d.ts +28 -0
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-source-connection-drag-handlers-to-node/attach-source-connection-drag-handlers-to-node.d.ts +18 -0
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-source-connection-drag-handlers-to-node/index.d.ts +2 -0
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-target-connection-drag-handlers-to-node/attach-target-connection-drag-handlers-to-node-request.d.ts +28 -0
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-target-connection-drag-handlers-to-node/attach-target-connection-drag-handlers-to-node.d.ts +16 -0
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-target-connection-drag-handlers-to-node/index.d.ts +2 -0
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/build-drag-node-constraints/build-drag-node-constraints-request.d.ts +6 -0
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/build-drag-node-constraints/build-drag-node-constraints.d.ts +19 -0
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/build-drag-node-constraints/index.d.ts +2 -0
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-handler/create-drag-node-handler-request.d.ts +13 -0
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-handler/create-drag-node-handler.d.ts +13 -0
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-handler/index.d.ts +2 -0
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-hierarchy/create-drag-node-hierarchy-request.d.ts +7 -0
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-hierarchy/create-drag-node-hierarchy.d.ts +12 -0
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-hierarchy/drag-node-hierarchy.d.ts +6 -0
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-hierarchy/index.d.ts +3 -0
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/index.d.ts +9 -0
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/providers.d.ts +8 -0
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/read-node-bounds-with-paddings/index.d.ts +3 -0
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/read-node-bounds-with-paddings/read-node-bounds-with-paddings-request.d.ts +7 -0
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/read-node-bounds-with-paddings/read-node-bounds-with-paddings-response.d.ts +9 -0
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/read-node-bounds-with-paddings/read-node-bounds-with-paddings.d.ts +12 -0
- package/f-draggable/drag-node/drag-node-constraint/delta-clamp.d.ts +20 -0
- package/f-draggable/drag-node/drag-node-constraint/drag-node-delta-constraints.d.ts +14 -0
- package/f-draggable/drag-node/drag-node-constraint/expand-rect-by-overflow.d.ts +3 -0
- package/f-draggable/drag-node/drag-node-constraint/grid-snapper.d.ts +18 -0
- package/f-draggable/drag-node/drag-node-constraint/i-drag-node-delta-constraints-result.d.ts +8 -0
- package/f-draggable/drag-node/drag-node-constraint/i-drag-node-delta-constraints.d.ts +12 -0
- package/f-draggable/drag-node/drag-node-constraint/index.d.ts +6 -0
- package/f-draggable/drag-node/drag-node-dependent-connection-handlers/drag-node-connection-both-sides-handler.d.ts +12 -0
- package/f-draggable/drag-node/drag-node-dependent-connection-handlers/drag-node-connection-handler-base.d.ts +20 -0
- package/f-draggable/drag-node/drag-node-dependent-connection-handlers/drag-node-connection-source-handler.d.ts +8 -0
- package/f-draggable/drag-node/drag-node-dependent-connection-handlers/drag-node-connection-target-handler.d.ts +8 -0
- package/f-draggable/drag-node/drag-node-dependent-connection-handlers/index.d.ts +4 -0
- package/f-draggable/drag-node/drag-node-finalize/drag-node-finalize-request.d.ts +6 -0
- package/f-draggable/drag-node/drag-node-finalize/drag-node-finalize.d.ts +21 -0
- package/f-draggable/drag-node/drag-node-finalize/index.d.ts +2 -0
- package/f-draggable/drag-node/drag-node-handler/drag-node-handler.d.ts +39 -0
- package/f-draggable/drag-node/drag-node-handler/drag-node-item-handler.d.ts +36 -0
- package/f-draggable/drag-node/drag-node-handler/index.d.ts +2 -0
- package/f-draggable/drag-node/drag-node-preparation/drag-node-preparation-request.d.ts +8 -0
- package/f-draggable/drag-node/drag-node-preparation/drag-node-preparation.d.ts +16 -0
- package/f-draggable/drag-node/drag-node-preparation/index.d.ts +2 -0
- package/f-draggable/drag-node/f-drag-node-start-event-data.d.ts +4 -0
- package/f-draggable/drag-node/f-move-nodes-event.d.ts +16 -0
- package/f-draggable/drag-node/index.d.ts +11 -0
- package/f-draggable/drag-node/magnetic-lines/domain/calculate-magnetic-guides.d.ts +3 -0
- package/f-draggable/drag-node/magnetic-lines/domain/i-magnetic-axis-guide.d.ts +6 -0
- package/f-draggable/drag-node/magnetic-lines/domain/i-magnetic-guides-result.d.ts +5 -0
- package/f-draggable/drag-node/magnetic-lines/domain/index.d.ts +5 -0
- package/f-draggable/drag-node/magnetic-lines/domain/magnetic-line-element.d.ts +17 -0
- package/f-draggable/drag-node/magnetic-lines/domain/magnetic-line-renderer.d.ts +13 -0
- package/f-draggable/drag-node/magnetic-lines/index.d.ts +3 -0
- package/f-draggable/drag-node/magnetic-lines/magnetic-lines-handler/index.d.ts +1 -0
- package/f-draggable/drag-node/magnetic-lines/magnetic-lines-handler/magnetic-lines-handler.d.ts +18 -0
- package/f-draggable/drag-node/magnetic-lines/magnetic-lines-preparation/index.d.ts +2 -0
- package/f-draggable/drag-node/magnetic-lines/magnetic-lines-preparation/magnetic-lines-preparation-request.d.ts +3 -0
- package/f-draggable/drag-node/magnetic-lines/magnetic-lines-preparation/magnetic-lines-preparation.d.ts +18 -0
- package/f-draggable/drag-node/magnetic-rects/domain/calculate-magnetic-rects.d.ts +3 -0
- package/f-draggable/drag-node/magnetic-rects/domain/i-magnetic-gap-rect.d.ts +6 -0
- package/f-draggable/drag-node/magnetic-rects/domain/i-magnetic-rects-result.d.ts +11 -0
- package/f-draggable/drag-node/magnetic-rects/domain/index.d.ts +5 -0
- package/f-draggable/drag-node/magnetic-rects/domain/magnetic-rect-element.d.ts +15 -0
- package/f-draggable/drag-node/magnetic-rects/domain/magnetic-rects-renderer.d.ts +15 -0
- package/f-draggable/drag-node/magnetic-rects/index.d.ts +3 -0
- package/f-draggable/drag-node/magnetic-rects/magnetic-rects-handler/index.d.ts +1 -0
- package/f-draggable/drag-node/magnetic-rects/magnetic-rects-handler/magnetic-rects-handler.d.ts +16 -0
- package/f-draggable/drag-node/magnetic-rects/magnetic-rects-preparation/index.d.ts +2 -0
- package/f-draggable/drag-node/magnetic-rects/magnetic-rects-preparation/magnetic-rects-preparation-request.d.ts +3 -0
- package/f-draggable/drag-node/magnetic-rects/magnetic-rects-preparation/magnetic-rects-preparation.d.ts +17 -0
- package/f-draggable/drag-node/providers.d.ts +5 -0
- package/f-draggable/drop-to-group/drop-to-group-finalize/drop-to-group-finalize-request.d.ts +6 -0
- package/f-draggable/drop-to-group/drop-to-group-finalize/drop-to-group-finalize.d.ts +18 -0
- package/f-draggable/drop-to-group/drop-to-group-handler/drop-to-group-handler.d.ts +30 -0
- package/f-draggable/drop-to-group/drop-to-group-handler/index.d.ts +1 -0
- package/f-draggable/drop-to-group/drop-to-group-preparation/drop-to-group-preparation.d.ts +23 -0
- package/f-draggable/drop-to-group/f-drop-to-group-event.d.ts +16 -0
- package/f-draggable/drop-to-group/index.d.ts +6 -0
- package/f-draggable/drop-to-group/providers.d.ts +4 -0
- package/f-draggable/drop-to-group/sort-drop-candidates-by-layer/index.d.ts +2 -0
- package/f-draggable/drop-to-group/sort-drop-candidates-by-layer/sort-drop-candidates-by-layer-request.d.ts +6 -0
- package/f-draggable/drop-to-group/sort-drop-candidates-by-layer/sort-drop-candidates-by-layer.d.ts +10 -0
- package/f-draggable/f-drag-started-event.d.ts +15 -0
- package/f-draggable/f-draggable-base.d.ts +9 -5
- package/f-draggable/f-draggable-data-context.d.ts +2 -2
- package/f-draggable/f-draggable.directive.d.ts +13 -6
- package/f-draggable/f-node-resize/i-node-resize-event-data.d.ts +3 -0
- package/f-draggable/f-node-resize/index.d.ts +1 -0
- package/f-draggable/f-node-resize/node-resize.drag-handler.d.ts +8 -4
- package/f-draggable/f-node-resize/resize-preparation/node-resize-preparation.d.ts +0 -1
- package/f-draggable/f-node-rotate/f-node-rotate.drag-handler.d.ts +11 -7
- package/f-draggable/f-node-rotate/i-node-rotate-event-data.d.ts +3 -0
- package/f-draggable/f-node-rotate/index.d.ts +1 -0
- package/f-draggable/f-node-rotate/rotate-preparation/f-node-rotate-preparation.execution.d.ts +2 -1
- package/f-draggable/f-selection-change-event.d.ts +10 -4
- package/f-draggable/index.d.ts +9 -6
- package/f-draggable/infrastructure/drag-handler-base.d.ts +20 -0
- package/f-draggable/infrastructure/drag-handler-injector.d.ts +18 -0
- package/f-draggable/infrastructure/i-drag-session-feature.d.ts +12 -0
- package/f-draggable/infrastructure/index.d.ts +4 -0
- package/f-draggable/pinch-to-zoom/finalize/index.d.ts +2 -0
- package/f-draggable/pinch-to-zoom/finalize/pinch-to-zoom-finalize-request.d.ts +6 -0
- package/f-draggable/pinch-to-zoom/finalize/pinch-to-zoom-finalize.d.ts +10 -0
- package/f-draggable/pinch-to-zoom/handler/index.d.ts +1 -0
- package/f-draggable/pinch-to-zoom/handler/pinch-to-zoom-handler.d.ts +24 -0
- package/f-draggable/pinch-to-zoom/index.d.ts +4 -0
- package/f-draggable/pinch-to-zoom/preparation/index.d.ts +2 -0
- package/f-draggable/pinch-to-zoom/preparation/pinch-to-zoom-preparation-request.d.ts +6 -0
- package/f-draggable/pinch-to-zoom/preparation/pinch-to-zoom-preparation.d.ts +14 -0
- package/f-draggable/pinch-to-zoom/providers.d.ts +3 -0
- package/f-draggable/providers.d.ts +1 -1
- package/f-draggable/select-by-pointer/index.d.ts +3 -0
- package/f-draggable/select-by-pointer/providers.d.ts +2 -0
- package/f-draggable/select-by-pointer/select-by-pointer-request.d.ts +8 -0
- package/f-draggable/select-by-pointer/select-by-pointer.d.ts +58 -0
- package/f-draggable/selection-area/index.d.ts +4 -0
- package/f-draggable/selection-area/providers.d.ts +3 -0
- package/f-draggable/selection-area/selection-area-finalize/index.d.ts +2 -0
- package/f-draggable/selection-area/selection-area-finalize/selection-area-finalize-request.d.ts +6 -0
- package/f-draggable/selection-area/selection-area-finalize/selection-area-finalize.d.ts +10 -0
- package/f-draggable/selection-area/selection-area-handler/index.d.ts +1 -0
- package/f-draggable/selection-area/selection-area-handler/selection-area-handler.d.ts +24 -0
- package/f-draggable/selection-area/selection-area-preparation/index.d.ts +2 -0
- package/f-draggable/selection-area/selection-area-preparation/selection-area-preparation-request.d.ts +6 -0
- package/f-draggable/selection-area/selection-area-preparation/selection-area-preparation.d.ts +13 -0
- package/f-external-item/domain/f-external-item.drag-handler.d.ts +7 -4
- package/f-external-item/domain/finalize/f-external-item-finalize.execution.d.ts +2 -3
- package/f-flow/f-flow.component.d.ts +1 -1
- package/f-flow.module.d.ts +38 -37
- package/f-line-alignment/f-line-alignment.component.d.ts +9 -7
- package/f-line-alignment/index.d.ts +0 -2
- package/f-magnetic-lines/f-magnetic-lines-base.d.ts +9 -0
- package/f-magnetic-lines/f-magnetic-lines.d.ts +11 -0
- package/f-magnetic-lines/index.d.ts +3 -0
- package/f-magnetic-lines/providers.d.ts +2 -0
- package/f-magnetic-rects/f-magnetic-rects-base.d.ts +10 -0
- package/f-magnetic-rects/f-magnetic-rects.d.ts +12 -0
- package/f-magnetic-rects/index.d.ts +3 -0
- package/f-magnetic-rects/providers.d.ts +2 -0
- package/f-minimap/domain/f-minimap.drag-handler.d.ts +4 -3
- package/f-minimap/f-minimap-canvas.directive.d.ts +1 -2
- package/f-minimap/f-minimap-flow.directive.d.ts +1 -2
- package/f-minimap/f-minimap-view.directive.d.ts +1 -2
- package/f-minimap/f-minimap.component.d.ts +2 -2
- package/f-selection-area/f-selection-area-base.d.ts +4 -5
- package/f-selection-area/f-selection-area.d.ts +12 -0
- package/f-selection-area/index.d.ts +1 -2
- package/f-selection-area/providers.d.ts +2 -2
- package/f-storage/base/f-id-registry-base.d.ts +41 -0
- package/f-storage/base/f-single-registry-base.d.ts +14 -0
- package/f-storage/base/index.d.ts +2 -0
- package/f-storage/f-components-store.d.ts +26 -18
- package/f-storage/f-connection-marker-registry.d.ts +5 -0
- package/f-storage/f-connection-registry.d.ts +14 -0
- package/f-storage/f-connector-registry.d.ts +5 -0
- package/f-storage/f-node-registry.d.ts +5 -0
- package/f-storage/features/index.d.ts +7 -0
- package/f-storage/features/listen-count-changes/index.d.ts +1 -1
- package/f-storage/features/listen-count-changes/listen-count-changes.d.ts +10 -0
- package/f-storage/features/listen-data-changed/index.d.ts +2 -0
- package/f-storage/features/listen-data-changed/listen-data-changes.d.ts +10 -0
- package/f-storage/features/listen-transform-changes/index.d.ts +2 -2
- package/f-storage/features/listen-transform-changes/listen-transform-changes.d.ts +10 -0
- package/f-storage/features/notify-data-changed/index.d.ts +1 -1
- package/f-storage/features/notify-data-changed/notify-data-changed.d.ts +9 -0
- package/f-storage/features/notify-transform-changed/index.d.ts +2 -2
- package/f-storage/features/notify-transform-changed/notify-transform-changed.d.ts +9 -0
- package/f-storage/features/register-plugin-instance/index.d.ts +2 -0
- package/f-storage/features/register-plugin-instance/register-plugin-instance-request.d.ts +7 -0
- package/f-storage/features/register-plugin-instance/register-plugin-instance.d.ts +12 -0
- package/f-storage/features/remove-plugin-instance/index.d.ts +2 -0
- package/f-storage/features/remove-plugin-instance/remove-plugin-instance-request.d.ts +6 -0
- package/f-storage/features/remove-plugin-instance/remove-plugin-instance.d.ts +12 -0
- package/f-storage/index.d.ts +6 -6
- package/f-storage/providers.d.ts +3 -6
- package/f-zoom/f-zoom.directive.d.ts +3 -6
- package/fesm2022/foblex-flow.mjs +9347 -7375
- package/fesm2022/foblex-flow.mjs.map +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +4 -0
- package/reactivity/debounce-animation-frame.d.ts +2 -0
- package/reactivity/debounce-microtask.d.ts +2 -0
- package/reactivity/index.d.ts +3 -0
- package/reactivity/take-one.d.ts +2 -0
- package/reactivity/types.d.ts +6 -1
- package/testing/component-harness.d.ts +9 -0
- package/testing/di-harness.d.ts +10 -0
- package/testing/factories.d.ts +104 -0
- package/testing/index.d.ts +7 -0
- package/testing/internal/index.d.ts +1 -0
- package/testing/internal/type-helpers.d.ts +12 -0
- package/testing/jasmine/index.d.ts +1 -0
- package/testing/jasmine/spy-helpers.d.ts +11 -0
- package/testing/mediator-harness.d.ts +7 -0
- package/testing/pure-harness.d.ts +12 -0
- package/testing/registry-harness.d.ts +6 -0
- package/utils/calculate-pointer-in-flow.d.ts +4 -0
- package/utils/index.d.ts +1 -0
- package/domain/f-background/add-background-to-store/add-background-to-store-request.d.ts +0 -6
- package/domain/f-background/add-background-to-store/add-background-to-store.execution.d.ts +0 -12
- package/domain/f-background/add-background-to-store/index.d.ts +0 -2
- package/domain/f-background/remove-background-from-store/index.d.ts +0 -2
- package/domain/f-background/remove-background-from-store/remove-background-from-store-request.d.ts +0 -6
- package/domain/f-background/remove-background-from-store/remove-background-from-store.execution.d.ts +0 -12
- package/domain/f-background/set-background-transform/set-background-transform.execution.d.ts +0 -12
- package/domain/f-connection/add-connection-for-create-to-store/add-connection-for-create-to-store.execution.d.ts +0 -12
- package/domain/f-connection/add-connection-marker-to-store/add-connection-marker-to-store.execution.d.ts +0 -12
- package/domain/f-connection/add-connection-to-store/add-connection-to-store.execution.d.ts +0 -12
- package/domain/f-connection/add-snap-connection-to-store/add-snap-connection-to-store.execution.d.ts +0 -12
- package/domain/f-connection/calculate-connection-line-by-behavior/calculate-connection-line-by-behavior-request.d.ts +0 -12
- package/domain/f-connection/calculate-connection-line-by-behavior/calculate-connection-line-by-behavior.d.ts +0 -47
- package/domain/f-connection/calculate-connection-line-by-behavior/index.d.ts +0 -6
- package/domain/f-connection/calculate-connection-line-by-behavior/models/calculate-behavior-request.d.ts +0 -8
- package/domain/f-connection/calculate-connection-line-by-behavior/utils/fixed-center-behavior.d.ts +0 -8
- package/domain/f-connection/calculate-connection-line-by-behavior/utils/fixed-outbound-behavior.d.ts +0 -8
- package/domain/f-connection/calculate-connection-line-by-behavior/utils/floating-behavior.d.ts +0 -8
- package/domain/f-connection/create-connection-markers/create-connection-markers.execution.d.ts +0 -17
- package/domain/f-connection/remove-connection-for-create-from-store/remove-connection-for-create-from-store.execution.d.ts +0 -12
- package/domain/f-connection/remove-connection-from-store/remove-connection-from-store.execution.d.ts +0 -13
- package/domain/f-connection/remove-connection-marker-from-store/remove-connection-marker-from-store.execution.d.ts +0 -12
- package/domain/f-connection/remove-snap-connection-from-store/remove-snap-connection-from-store.execution.d.ts +0 -12
- package/domain/f-connectors/add-input-to-store/add-input-to-store-request.d.ts +0 -6
- package/domain/f-connectors/add-input-to-store/add-input-to-store.d.ts +0 -12
- package/domain/f-connectors/add-input-to-store/index.d.ts +0 -2
- package/domain/f-connectors/add-outlet-to-store/add-outlet-to-store-request.d.ts +0 -6
- package/domain/f-connectors/add-outlet-to-store/add-outlet-to-store.d.ts +0 -12
- package/domain/f-connectors/add-outlet-to-store/index.d.ts +0 -2
- package/domain/f-connectors/add-output-to-store/add-output-to-store-request.d.ts +0 -6
- package/domain/f-connectors/add-output-to-store/add-output-to-store.d.ts +0 -12
- package/domain/f-connectors/add-output-to-store/index.d.ts +0 -2
- package/domain/f-connectors/get-connector-and-rect/get-connector-and-rect-request.d.ts +0 -6
- package/domain/f-connectors/get-connector-and-rect/get-connector-and-rect.d.ts +0 -14
- package/domain/f-connectors/get-connector-and-rect/index.d.ts +0 -2
- package/domain/f-connectors/i-closest-connector.d.ts +0 -10
- package/domain/f-connectors/i-connector-and-rect.d.ts +0 -6
- package/domain/f-connectors/remove-input-from-store/index.d.ts +0 -2
- package/domain/f-connectors/remove-input-from-store/remove-input-from-store-request.d.ts +0 -6
- package/domain/f-connectors/remove-input-from-store/remove-input-from-store.d.ts +0 -12
- package/domain/f-connectors/remove-outlet-from-store/index.d.ts +0 -2
- package/domain/f-connectors/remove-outlet-from-store/remove-outlet-from-store-request.d.ts +0 -6
- package/domain/f-connectors/remove-outlet-from-store/remove-outlet-from-store.execution.d.ts +0 -12
- package/domain/f-connectors/remove-output-from-store/index.d.ts +0 -2
- package/domain/f-connectors/remove-output-from-store/remove-output-from-store-request.d.ts +0 -6
- package/domain/f-connectors/remove-output-from-store/remove-output-from-store.execution.d.ts +0 -12
- package/domain/f-draggable/emit-selection-change-event/emit-selection-change-event.execution.d.ts +0 -18
- package/domain/f-draggable/emit-selection-change-event/index.d.ts +0 -2
- package/domain/f-draggable/end-drag-sequence/end-drag-sequence-request.d.ts +0 -3
- package/domain/f-draggable/end-drag-sequence/end-drag-sequence.execution.d.ts +0 -15
- package/domain/f-draggable/end-drag-sequence/index.d.ts +0 -2
- package/domain/f-draggable/start-drag-sequence/index.d.ts +0 -2
- package/domain/f-draggable/start-drag-sequence/start-drag-sequence-request.d.ts +0 -3
- package/domain/f-draggable/start-drag-sequence/start-drag-sequence.execution.d.ts +0 -16
- package/domain/f-flow/get-flow-host-element/get-flow-host-element.execution.d.ts +0 -12
- package/domain/f-flow/get-flow-host-element/get-flow-host-element.request.d.ts +0 -3
- package/domain/f-flow/get-flow-host-element/index.d.ts +0 -2
- package/domain/f-flow/get-flow-state/get-flow-state-connections/get-flow-state-connections-request.d.ts +0 -3
- package/domain/f-flow/get-flow-state/get-flow-state-connections/get-flow-state-connections.execution.d.ts +0 -14
- package/domain/f-flow/get-flow-state/get-flow-state-connections/index.d.ts +0 -2
- package/domain/f-flow/get-flow-state/get-flow-state-nodes/get-flow-state-nodes-request.d.ts +0 -6
- package/domain/f-flow/get-flow-state/get-flow-state-nodes/get-flow-state-nodes.execution.d.ts +0 -15
- package/domain/f-flow/get-flow-state/get-flow-state-nodes/index.d.ts +0 -2
- package/domain/f-flow/get-flow-state/get-flow-state.execution.d.ts +0 -15
- package/domain/f-flow/get-flow-state/get-flow-state.request.d.ts +0 -3
- package/domain/f-flow/get-flow-state/i-f-flow-state-connection.d.ts +0 -9
- package/domain/f-flow/get-flow-state/i-f-flow-state-connector.d.ts +0 -5
- package/domain/f-flow/get-flow-state/index.d.ts +0 -9
- package/domain/f-flow/get-flow-state/providers.d.ts +0 -7
- package/domain/f-line-alignment/add-line-alignment-to-store/add-line-alignment-to-store-request.d.ts +0 -6
- package/domain/f-line-alignment/add-line-alignment-to-store/add-line-alignment-to-store.d.ts +0 -12
- package/domain/f-line-alignment/add-line-alignment-to-store/index.d.ts +0 -2
- package/domain/f-line-alignment/index.d.ts +0 -3
- package/domain/f-line-alignment/providers.d.ts +0 -8
- package/domain/f-line-alignment/remove-line-alignment-from-store/index.d.ts +0 -2
- package/domain/f-line-alignment/remove-line-alignment-from-store/remove-line-alignment-from-store-request.d.ts +0 -3
- package/domain/f-line-alignment/remove-line-alignment-from-store/remove-line-alignment-from-store.d.ts +0 -12
- package/domain/f-selection/get-can-be-selected-items/get-can-be-selected-items-request.d.ts +0 -3
- package/domain/f-selection/get-can-be-selected-items/get-can-be-selected-items.execution.d.ts +0 -28
- package/domain/f-selection/get-can-be-selected-items/index.d.ts +0 -3
- package/domain/f-selection/select-all/select-all.execution.d.ts +0 -14
- package/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.execution.d.ts +0 -16
- package/domain/f-zoom/add-zoom-to-store/add-zoom-to-store-request.d.ts +0 -6
- package/domain/f-zoom/add-zoom-to-store/add-zoom-to-store.execution.d.ts +0 -12
- package/domain/f-zoom/add-zoom-to-store/index.d.ts +0 -2
- package/domain/f-zoom/f-zoom-tag.d.ts +0 -1
- package/domain/f-zoom/remove-zoom-from-store/index.d.ts +0 -2
- package/domain/f-zoom/remove-zoom-from-store/remove-zoom-from-store-request.d.ts +0 -3
- package/domain/f-zoom/remove-zoom-from-store/remove-zoom-from-store.execution.d.ts +0 -12
- package/domain/f-zoom/reset-zoom/reset-zoom.execution.d.ts +0 -13
- package/domain/f-zoom/set-zoom/set-zoom.execution.d.ts +0 -20
- package/domain/i-map.d.ts +0 -1
- package/domain/sort-item-layers/sort-item-layers.execution.d.ts +0 -18
- package/domain/update-item-and-children-layers/update-item-and-children-layers.execution.d.ts +0 -26
- package/esm2022/domain/f-background/add-background-to-store/add-background-to-store-request.mjs +0 -8
- package/esm2022/domain/f-background/add-background-to-store/add-background-to-store.execution.mjs +0 -25
- package/esm2022/domain/f-background/add-background-to-store/index.mjs +0 -3
- package/esm2022/domain/f-background/add-pattern-to-background/add-pattern-to-background.request.mjs +0 -8
- package/esm2022/domain/f-background/remove-background-from-store/index.mjs +0 -3
- package/esm2022/domain/f-background/remove-background-from-store/remove-background-from-store-request.mjs +0 -8
- package/esm2022/domain/f-background/remove-background-from-store/remove-background-from-store.execution.mjs +0 -25
- package/esm2022/domain/f-background/set-background-transform/set-background-transform.execution.mjs +0 -25
- package/esm2022/domain/f-connection/add-connection-for-create-to-store/add-connection-for-create-to-store.execution.mjs +0 -25
- package/esm2022/domain/f-connection/add-connection-marker-to-store/add-connection-marker-to-store.execution.mjs +0 -25
- package/esm2022/domain/f-connection/add-connection-to-store/add-connection-to-store.execution.mjs +0 -26
- package/esm2022/domain/f-connection/add-snap-connection-to-store/add-snap-connection-to-store.execution.mjs +0 -25
- package/esm2022/domain/f-connection/calculate-connection-line-by-behavior/calculate-connection-line-by-behavior-request.mjs +0 -16
- package/esm2022/domain/f-connection/calculate-connection-line-by-behavior/calculate-connection-line-by-behavior.mjs +0 -145
- package/esm2022/domain/f-connection/calculate-connection-line-by-behavior/index.mjs +0 -7
- package/esm2022/domain/f-connection/calculate-connection-line-by-behavior/models/calculate-behavior-request.mjs +0 -2
- package/esm2022/domain/f-connection/calculate-connection-line-by-behavior/utils/fixed-center-behavior.mjs +0 -12
- package/esm2022/domain/f-connection/calculate-connection-line-by-behavior/utils/fixed-outbound-behavior.mjs +0 -31
- package/esm2022/domain/f-connection/calculate-connection-line-by-behavior/utils/floating-behavior.mjs +0 -22
- package/esm2022/domain/f-connection/create-connection-markers/create-connection-markers.execution.mjs +0 -65
- package/esm2022/domain/f-connection/remove-connection-for-create-from-store/remove-connection-for-create-from-store.execution.mjs +0 -25
- package/esm2022/domain/f-connection/remove-connection-from-store/remove-connection-from-store.execution.mjs +0 -33
- package/esm2022/domain/f-connection/remove-connection-marker-from-store/remove-connection-marker-from-store.execution.mjs +0 -25
- package/esm2022/domain/f-connection/remove-snap-connection-from-store/remove-snap-connection-from-store.execution.mjs +0 -25
- package/esm2022/domain/f-connectors/add-input-to-store/add-input-to-store-request.mjs +0 -8
- package/esm2022/domain/f-connectors/add-input-to-store/add-input-to-store.mjs +0 -25
- package/esm2022/domain/f-connectors/add-input-to-store/index.mjs +0 -3
- package/esm2022/domain/f-connectors/add-outlet-to-store/add-outlet-to-store-request.mjs +0 -8
- package/esm2022/domain/f-connectors/add-outlet-to-store/add-outlet-to-store.mjs +0 -25
- package/esm2022/domain/f-connectors/add-outlet-to-store/index.mjs +0 -3
- package/esm2022/domain/f-connectors/add-output-to-store/add-output-to-store-request.mjs +0 -8
- package/esm2022/domain/f-connectors/add-output-to-store/add-output-to-store.mjs +0 -25
- package/esm2022/domain/f-connectors/add-output-to-store/index.mjs +0 -3
- package/esm2022/domain/f-connectors/get-connector-and-rect/get-connector-and-rect-request.mjs +0 -8
- package/esm2022/domain/f-connectors/get-connector-and-rect/get-connector-and-rect.mjs +0 -31
- package/esm2022/domain/f-connectors/get-connector-and-rect/index.mjs +0 -3
- package/esm2022/domain/f-connectors/i-closest-connector.mjs +0 -2
- package/esm2022/domain/f-connectors/i-connector-and-rect.mjs +0 -2
- package/esm2022/domain/f-connectors/remove-input-from-store/index.mjs +0 -3
- package/esm2022/domain/f-connectors/remove-input-from-store/remove-input-from-store-request.mjs +0 -8
- package/esm2022/domain/f-connectors/remove-input-from-store/remove-input-from-store.mjs +0 -25
- package/esm2022/domain/f-connectors/remove-outlet-from-store/index.mjs +0 -3
- package/esm2022/domain/f-connectors/remove-outlet-from-store/remove-outlet-from-store-request.mjs +0 -8
- package/esm2022/domain/f-connectors/remove-outlet-from-store/remove-outlet-from-store.execution.mjs +0 -25
- package/esm2022/domain/f-connectors/remove-output-from-store/index.mjs +0 -3
- package/esm2022/domain/f-connectors/remove-output-from-store/remove-output-from-store-request.mjs +0 -8
- package/esm2022/domain/f-connectors/remove-output-from-store/remove-output-from-store.execution.mjs +0 -25
- package/esm2022/domain/f-draggable/emit-selection-change-event/emit-selection-change-event-request.mjs +0 -4
- package/esm2022/domain/f-draggable/emit-selection-change-event/emit-selection-change-event.execution.mjs +0 -45
- package/esm2022/domain/f-draggable/emit-selection-change-event/index.mjs +0 -3
- package/esm2022/domain/f-draggable/end-drag-sequence/end-drag-sequence-request.mjs +0 -4
- package/esm2022/domain/f-draggable/end-drag-sequence/end-drag-sequence.execution.mjs +0 -36
- package/esm2022/domain/f-draggable/end-drag-sequence/index.mjs +0 -3
- package/esm2022/domain/f-draggable/start-drag-sequence/index.mjs +0 -3
- package/esm2022/domain/f-draggable/start-drag-sequence/start-drag-sequence-request.mjs +0 -4
- package/esm2022/domain/f-draggable/start-drag-sequence/start-drag-sequence.execution.mjs +0 -43
- package/esm2022/domain/f-flow/get-flow-host-element/get-flow-host-element.execution.mjs +0 -25
- package/esm2022/domain/f-flow/get-flow-host-element/get-flow-host-element.request.mjs +0 -4
- package/esm2022/domain/f-flow/get-flow-host-element/index.mjs +0 -3
- package/esm2022/domain/f-flow/get-flow-state/get-flow-state-connections/get-flow-state-connections-request.mjs +0 -4
- package/esm2022/domain/f-flow/get-flow-state/get-flow-state-connections/get-flow-state-connections.execution.mjs +0 -35
- package/esm2022/domain/f-flow/get-flow-state/get-flow-state-connections/index.mjs +0 -3
- package/esm2022/domain/f-flow/get-flow-state/get-flow-state-nodes/get-flow-state-nodes-request.mjs +0 -8
- package/esm2022/domain/f-flow/get-flow-state/get-flow-state-nodes/get-flow-state-nodes.execution.mjs +0 -58
- package/esm2022/domain/f-flow/get-flow-state/get-flow-state-nodes/index.mjs +0 -3
- package/esm2022/domain/f-flow/get-flow-state/get-flow-state.execution.mjs +0 -39
- package/esm2022/domain/f-flow/get-flow-state/get-flow-state.request.mjs +0 -4
- package/esm2022/domain/f-flow/get-flow-state/i-f-flow-state-connection.mjs +0 -2
- package/esm2022/domain/f-flow/get-flow-state/i-f-flow-state-connector.mjs +0 -2
- package/esm2022/domain/f-flow/get-flow-state/i-f-flow-state-node.mjs +0 -2
- package/esm2022/domain/f-flow/get-flow-state/i-f-flow-state.mjs +0 -2
- package/esm2022/domain/f-flow/get-flow-state/index.mjs +0 -10
- package/esm2022/domain/f-flow/get-flow-state/providers.mjs +0 -12
- package/esm2022/domain/f-line-alignment/add-line-alignment-to-store/add-line-alignment-to-store-request.mjs +0 -8
- package/esm2022/domain/f-line-alignment/add-line-alignment-to-store/add-line-alignment-to-store.mjs +0 -25
- package/esm2022/domain/f-line-alignment/add-line-alignment-to-store/index.mjs +0 -3
- package/esm2022/domain/f-line-alignment/index.mjs +0 -4
- package/esm2022/domain/f-line-alignment/providers.mjs +0 -9
- package/esm2022/domain/f-line-alignment/remove-line-alignment-from-store/index.mjs +0 -3
- package/esm2022/domain/f-line-alignment/remove-line-alignment-from-store/remove-line-alignment-from-store-request.mjs +0 -4
- package/esm2022/domain/f-line-alignment/remove-line-alignment-from-store/remove-line-alignment-from-store.mjs +0 -25
- package/esm2022/domain/f-selection/get-can-be-selected-items/get-can-be-selected-items-request.mjs +0 -4
- package/esm2022/domain/f-selection/get-can-be-selected-items/get-can-be-selected-items.execution.mjs +0 -66
- package/esm2022/domain/f-selection/get-can-be-selected-items/i-can-be-selected-element-and-rect.mjs +0 -2
- package/esm2022/domain/f-selection/get-can-be-selected-items/index.mjs +0 -4
- package/esm2022/domain/f-selection/select-all/select-all.execution.mjs +0 -40
- package/esm2022/domain/f-selection/select-all/select-all.request.mjs +0 -4
- package/esm2022/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.execution.mjs +0 -37
- package/esm2022/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.request.mjs +0 -8
- package/esm2022/domain/f-zoom/add-zoom-to-store/add-zoom-to-store-request.mjs +0 -8
- package/esm2022/domain/f-zoom/add-zoom-to-store/add-zoom-to-store.execution.mjs +0 -28
- package/esm2022/domain/f-zoom/add-zoom-to-store/index.mjs +0 -3
- package/esm2022/domain/f-zoom/f-zoom-tag.mjs +0 -2
- package/esm2022/domain/f-zoom/remove-zoom-from-store/index.mjs +0 -3
- package/esm2022/domain/f-zoom/remove-zoom-from-store/remove-zoom-from-store-request.mjs +0 -4
- package/esm2022/domain/f-zoom/remove-zoom-from-store/remove-zoom-from-store.execution.mjs +0 -28
- package/esm2022/domain/f-zoom/reset-zoom/reset-zoom.execution.mjs +0 -30
- package/esm2022/domain/f-zoom/set-zoom/set-zoom.execution.mjs +0 -54
- package/esm2022/domain/i-map.mjs +0 -2
- package/esm2022/domain/sort-item-layers/sort-item-layers.execution.mjs +0 -40
- package/esm2022/domain/sort-item-layers/sort-item-layers.request.mjs +0 -4
- package/esm2022/domain/update-item-and-children-layers/update-item-and-children-layers.execution.mjs +0 -98
- package/esm2022/domain/update-item-and-children-layers/update-item-and-children-layers.request.mjs +0 -10
- package/esm2022/f-canvas/domain/f-canvas-change.event.mjs +0 -9
- package/esm2022/f-connection/common/domain/adaptive-curve-builder.mjs +0 -201
- package/esm2022/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points-request.mjs +0 -10
- package/esm2022/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points.handler.mjs +0 -12
- package/esm2022/f-connection/common/domain/calculate-center-between-points/index.mjs +0 -3
- package/esm2022/f-connection/common/domain/calculate-connection-center/calculate-connection-center-request.mjs +0 -8
- package/esm2022/f-connection/common/domain/calculate-connection-center/calculate-connection-center.handler.mjs +0 -35
- package/esm2022/f-connection/common/domain/calculate-connection-center/index.mjs +0 -3
- package/esm2022/f-connection/common/domain/f-bezier.path-builder.mjs +0 -58
- package/esm2022/f-connection/common/domain/f-segment.path-builder.mjs +0 -161
- package/esm2022/f-connection/common/domain/f-straight.path-builder.mjs +0 -16
- package/esm2022/f-connection/common/domain/index.mjs +0 -7
- package/esm2022/f-connection/common/e-f-connection-behavior.mjs +0 -7
- package/esm2022/f-connection/common/e-f-connection-connectable-side.mjs +0 -12
- package/esm2022/f-connection/common/e-f-connection-type.mjs +0 -8
- package/esm2022/f-connection/common/f-connection-base.mjs +0 -121
- package/esm2022/f-connection/common/f-connection-identifiers.mjs +0 -22
- package/esm2022/f-connection/common/f-connection-text/f-connection-text-path.directive.mjs +0 -65
- package/esm2022/f-connection/common/f-connection-text/f-connection-text.component.mjs +0 -57
- package/esm2022/f-connection/common/f-connection-text/i-connection-text.mjs +0 -3
- package/esm2022/f-connection/common/f-connection-text/index.mjs +0 -4
- package/esm2022/f-connection/common/f-connection.injection-token.mjs +0 -3
- package/esm2022/f-connection/common/f-drag-handle/f-connection-drag-handle-end.component.mjs +0 -37
- package/esm2022/f-connection/common/f-drag-handle/f-connection-drag-handle-start.component.mjs +0 -37
- package/esm2022/f-connection/common/f-drag-handle/index.mjs +0 -3
- package/esm2022/f-connection/common/f-gradient/f-connection-gradient.component.mjs +0 -55
- package/esm2022/f-connection/common/f-gradient/i-connection-gradient.mjs +0 -3
- package/esm2022/f-connection/common/f-gradient/index.mjs +0 -3
- package/esm2022/f-connection/common/f-path/f-connection-path.component.mjs +0 -45
- package/esm2022/f-connection/common/f-path/get-path-marker-id.mjs +0 -14
- package/esm2022/f-connection/common/f-path/i-connection-path.mjs +0 -3
- package/esm2022/f-connection/common/f-path/index.mjs +0 -4
- package/esm2022/f-connection/common/f-selection/f-connection-selection.component.mjs +0 -24
- package/esm2022/f-connection/common/f-selection/index.mjs +0 -2
- package/esm2022/f-connection/common/i-has-connection-color.mjs +0 -2
- package/esm2022/f-connection/common/i-has-connection-from-to.mjs +0 -2
- package/esm2022/f-connection/common/i-has-connection-text.mjs +0 -2
- package/esm2022/f-connection/common/index.mjs +0 -15
- package/esm2022/f-connection/f-connection-builder/f-connection-builders.mjs +0 -3
- package/esm2022/f-connection/f-connection-builder/f-connection-factory.mjs +0 -26
- package/esm2022/f-connection/f-connection-builder/i-f-connection-builder-request.mjs +0 -2
- package/esm2022/f-connection/f-connection-builder/i-f-connection-builder-response.mjs +0 -2
- package/esm2022/f-connection/f-connection-builder/i-f-connection-builder.mjs +0 -2
- package/esm2022/f-connection/f-connection-builder/i-f-connection-factory-request.mjs +0 -2
- package/esm2022/f-connection/f-connection-builder/index.mjs +0 -7
- package/esm2022/f-connection/f-connection-center/f-connection-center.directive.mjs +0 -30
- package/esm2022/f-connection/f-connection-center/index.mjs +0 -2
- package/esm2022/f-connection/f-connection-content/f-connection-content.mjs +0 -102
- package/esm2022/f-connection/f-connection-content/index.mjs +0 -3
- package/esm2022/f-connection/f-connection-content/polyline-content-engine/i-polyline-content.mjs +0 -2
- package/esm2022/f-connection/f-connection-content/polyline-content-engine/index.mjs +0 -6
- package/esm2022/f-connection/f-connection-content/polyline-content-engine/polyline-content-align.mjs +0 -6
- package/esm2022/f-connection/f-connection-content/polyline-content-engine/polyline-content-layout-engine.mjs +0 -28
- package/esm2022/f-connection/f-connection-content/polyline-content-engine/polyline-content-place.mjs +0 -66
- package/esm2022/f-connection/f-connection-content/polyline-content-engine/polyline-sampler/i-sampler-result.mjs +0 -2
- package/esm2022/f-connection/f-connection-content/polyline-content-engine/polyline-sampler/i-tangent.mjs +0 -2
- package/esm2022/f-connection/f-connection-content/polyline-content-engine/polyline-sampler/index.mjs +0 -5
- package/esm2022/f-connection/f-connection-content/polyline-content-engine/polyline-sampler/polyline-sampler.mjs +0 -143
- package/esm2022/f-connection/f-connection-content/polyline-content-engine/polyline-sampler/polyline.mjs +0 -68
- package/esm2022/f-connection/f-marker/e-f-marker-type.mjs +0 -8
- package/esm2022/f-connection/f-marker/f-marker-base.mjs +0 -5
- package/esm2022/f-connection/f-marker/f-marker.directive.mjs +0 -51
- package/esm2022/f-connection/f-marker/index.mjs +0 -4
- package/esm2022/f-connectors/e-f-connectable-side.mjs +0 -12
- package/esm2022/f-draggable/domain/f-drag-started-event.mjs +0 -11
- package/esm2022/f-draggable/domain/is-connection-under-node/f-node-intersected-with-connections.mjs +0 -9
- package/esm2022/f-draggable/domain/is-connection-under-node/index.mjs +0 -4
- package/esm2022/f-draggable/domain/is-connection-under-node/is-connection-under-node.execution.mjs +0 -74
- package/esm2022/f-draggable/domain/is-connection-under-node/is-connection-under-node.request.mjs +0 -8
- package/esm2022/f-draggable/f-canvas/f-canvas.drag-handler.mjs +0 -23
- package/esm2022/f-draggable/f-canvas/index.mjs +0 -5
- package/esm2022/f-draggable/f-canvas/move-finalize/f-canvas-move-finalize.execution.mjs +0 -29
- package/esm2022/f-draggable/f-canvas/move-finalize/f-canvas-move-finalize.request.mjs +0 -8
- package/esm2022/f-draggable/f-canvas/move-finalize/index.mjs +0 -3
- package/esm2022/f-draggable/f-canvas/move-preparation/f-canvas-move-preparation.execution.mjs +0 -58
- package/esm2022/f-draggable/f-canvas/move-preparation/f-canvas-move-preparation.request.mjs +0 -10
- package/esm2022/f-draggable/f-canvas/move-preparation/index.mjs +0 -3
- package/esm2022/f-draggable/f-canvas/providers.mjs +0 -7
- package/esm2022/f-draggable/f-connection/f-create-connection/create-finalize/f-create-connection-finalize.execution.mjs +0 -62
- package/esm2022/f-draggable/f-connection/f-create-connection/create-finalize/f-create-connection-finalize.request.mjs +0 -8
- package/esm2022/f-draggable/f-connection/f-create-connection/create-finalize/index.mjs +0 -3
- package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/create-connection-preparation-request.mjs +0 -10
- package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/create-connection-preparation.mjs +0 -58
- package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/drag-handler-preparation/f-create-connection-drag-handler-preparation.execution.mjs +0 -41
- package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/drag-handler-preparation/f-create-connection-drag-handler-preparation.request.mjs +0 -10
- package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/drag-handler-preparation/index.mjs +0 -3
- package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/from-outlet-preparation/f-create-connection-from-outlet-preparation.execution.mjs +0 -54
- package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/from-outlet-preparation/f-create-connection-from-outlet-preparation.request.mjs +0 -10
- package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/from-outlet-preparation/index.mjs +0 -3
- package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/from-output-preparation/create-connection-from-output-preparation-request.mjs +0 -10
- package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/from-output-preparation/create-connection-from-output-preparation.mjs +0 -47
- package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/from-output-preparation/index.mjs +0 -3
- package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/index.mjs +0 -6
- package/esm2022/f-draggable/f-connection/f-create-connection/f-create-connection.drag-handler.mjs +0 -99
- package/esm2022/f-draggable/f-connection/f-create-connection/f-create-connection.event.mjs +0 -11
- package/esm2022/f-draggable/f-connection/f-create-connection/get-first-connectable-output/get-first-connectable-output.execution.mjs +0 -47
- package/esm2022/f-draggable/f-connection/f-create-connection/get-first-connectable-output/get-first-connectable-output.request.mjs +0 -8
- package/esm2022/f-draggable/f-connection/f-create-connection/get-first-connectable-output/index.mjs +0 -3
- package/esm2022/f-draggable/f-connection/f-create-connection/i-f-create-connection-drag-result.mjs +0 -2
- package/esm2022/f-draggable/f-connection/f-create-connection/index.mjs +0 -7
- package/esm2022/f-draggable/f-connection/f-reassign-connection/f-reassign-connection.drag-handler.mjs +0 -77
- package/esm2022/f-draggable/f-connection/f-reassign-connection/f-reassign-connection.event.mjs +0 -21
- package/esm2022/f-draggable/f-connection/f-reassign-connection/f-reassign-source.drag-handler.mjs +0 -83
- package/esm2022/f-draggable/f-connection/f-reassign-connection/f-reassign-target.drag-handler.mjs +0 -82
- package/esm2022/f-draggable/f-connection/f-reassign-connection/i-f-reassign-connection-drag-result.mjs +0 -2
- package/esm2022/f-draggable/f-connection/f-reassign-connection/i-f-reassign-handler.mjs +0 -8
- package/esm2022/f-draggable/f-connection/f-reassign-connection/index.mjs +0 -10
- package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-finalize/f-reassign-connection-finalize.execution.mjs +0 -69
- package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-finalize/f-reassign-connection-finalize.request.mjs +0 -8
- package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-finalize/index.mjs +0 -3
- package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-preparation/f-reassign-connection-preparation.execution.mjs +0 -73
- package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-preparation/f-reassign-connection-preparation.request.mjs +0 -10
- package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-preparation/index.mjs +0 -4
- package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-preparation/is-pointer-inside-start-or-end-drag-handles.mjs +0 -17
- package/esm2022/f-draggable/f-connection/index.mjs +0 -4
- package/esm2022/f-draggable/f-connection/providers.mjs +0 -13
- package/esm2022/f-draggable/f-drag-handler/f-drag-handler-result.mjs +0 -20
- package/esm2022/f-draggable/f-drag-handler/i-f-drag-handler.mjs +0 -2
- package/esm2022/f-draggable/f-drag-handler/index.mjs +0 -3
- package/esm2022/f-draggable/f-drop-to-group/drop-to-group-finalize/drop-to-group-finalize-request.mjs +0 -8
- package/esm2022/f-draggable/f-drop-to-group/drop-to-group-finalize/drop-to-group-finalize.mjs +0 -69
- package/esm2022/f-draggable/f-drop-to-group/drop-to-group-finalize/index.mjs +0 -3
- package/esm2022/f-draggable/f-drop-to-group/drop-to-group-preparation/drop-to-group-preparation-request.mjs +0 -8
- package/esm2022/f-draggable/f-drop-to-group/drop-to-group-preparation/drop-to-group-preparation.mjs +0 -99
- package/esm2022/f-draggable/f-drop-to-group/drop-to-group-preparation/index.mjs +0 -3
- package/esm2022/f-draggable/f-drop-to-group/f-drop-to-group.event.mjs +0 -11
- package/esm2022/f-draggable/f-drop-to-group/f-node-drop-to-group.drag-handler.mjs +0 -67
- package/esm2022/f-draggable/f-drop-to-group/index.mjs +0 -7
- package/esm2022/f-draggable/f-drop-to-group/providers.mjs +0 -9
- package/esm2022/f-draggable/f-drop-to-group/sort-containers-for-drop-by-layer/index.mjs +0 -3
- package/esm2022/f-draggable/f-drop-to-group/sort-containers-for-drop-by-layer/sort-containers-for-drop-by-layer-request.mjs +0 -8
- package/esm2022/f-draggable/f-drop-to-group/sort-containers-for-drop-by-layer/sort-containers-for-drop-by-layer.mjs +0 -54
- package/esm2022/f-draggable/f-node-move/connection-drag-handlers/base-connection.drag-handler.mjs +0 -57
- package/esm2022/f-draggable/f-node-move/connection-drag-handlers/index.mjs +0 -5
- package/esm2022/f-draggable/f-node-move/connection-drag-handlers/source-connection.drag-handler.mjs +0 -11
- package/esm2022/f-draggable/f-node-move/connection-drag-handlers/source-target-connection.drag-handler.mjs +0 -22
- package/esm2022/f-draggable/f-node-move/connection-drag-handlers/target-connection.drag-handler.mjs +0 -11
- package/esm2022/f-draggable/f-node-move/constraint/drag-constraint-pipeline.mjs +0 -29
- package/esm2022/f-draggable/f-node-move/constraint/expand-rect-from-baseline.mjs +0 -20
- package/esm2022/f-draggable/f-node-move/constraint/index.mjs +0 -5
- package/esm2022/f-draggable/f-node-move/constraint/rect-constraint.mjs +0 -37
- package/esm2022/f-draggable/f-node-move/constraint/snap-to-grid.mjs +0 -36
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/build-drag-hierarchy/build-drag-hierarchy-request.mjs +0 -8
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/build-drag-hierarchy/build-drag-hierarchy-response.mjs +0 -9
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/build-drag-hierarchy/build-drag-hierarchy.mjs +0 -47
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/build-drag-hierarchy/index.mjs +0 -4
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/calculate-drag-limits/calculate-drag-limits-request.mjs +0 -8
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/calculate-drag-limits/calculate-drag-limits.mjs +0 -72
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/calculate-drag-limits/i-drag-limits.mjs +0 -2
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/calculate-drag-limits/i-soft-limit.mjs +0 -2
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/calculate-drag-limits/index.mjs +0 -5
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/create-drag-model-from-selection-request.mjs +0 -8
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/create-drag-model-from-selection.mjs +0 -85
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/create-input-connection-handler-and-set-to-node-handler/create-input-connection-handler-and-set-to-node-handler-request.mjs +0 -12
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/create-input-connection-handler-and-set-to-node-handler/create-input-connection-handler-and-set-to-node-handler.mjs +0 -59
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/create-input-connection-handler-and-set-to-node-handler/index.mjs +0 -3
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/create-output-connection-handler-and-set-to-node-handler/create-output-connection-handler-and-set-to-node-handler-request.mjs +0 -12
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/create-output-connection-handler-and-set-to-node-handler/create-output-connection-handler-and-set-to-node-handler.mjs +0 -59
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/create-output-connection-handler-and-set-to-node-handler/index.mjs +0 -3
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/create-summary-drag-handler/create-summary-drag-handler-request.mjs +0 -10
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/create-summary-drag-handler/create-summary-drag-handler.mjs +0 -33
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/create-summary-drag-handler/index.mjs +0 -3
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/get-node-bounding-include-paddings/get-node-bounding-include-paddings-request.mjs +0 -10
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/get-node-bounding-include-paddings/get-node-bounding-include-paddings-response.mjs +0 -13
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/get-node-bounding-include-paddings/get-node-bounding-include-paddings.mjs +0 -39
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/get-node-bounding-include-paddings/index.mjs +0 -4
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/i-node-move-limits-and-position.mjs +0 -2
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/i-node-move-limits.mjs +0 -2
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/index.mjs +0 -12
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/providers.mjs +0 -17
- package/esm2022/f-draggable/f-node-move/create-snap-lines/create-snap-lines-request.mjs +0 -8
- package/esm2022/f-draggable/f-node-move/create-snap-lines/create-snap-lines.mjs +0 -52
- package/esm2022/f-draggable/f-node-move/create-snap-lines/index.mjs +0 -3
- package/esm2022/f-draggable/f-node-move/create-snap-lines/snap-lines.drag-handler.mjs +0 -51
- package/esm2022/f-draggable/f-node-move/f-move-nodes.event.mjs +0 -13
- package/esm2022/f-draggable/f-node-move/index.mjs +0 -13
- package/esm2022/f-draggable/f-node-move/move-drag-handler.mjs +0 -95
- package/esm2022/f-draggable/f-node-move/move-finalize/f-node-move-finalize.execution.mjs +0 -87
- package/esm2022/f-draggable/f-node-move/move-finalize/f-node-move-finalize.request.mjs +0 -8
- package/esm2022/f-draggable/f-node-move/move-finalize/index.mjs +0 -3
- package/esm2022/f-draggable/f-node-move/move-preparation/f-node-move-preparation.execution.mjs +0 -82
- package/esm2022/f-draggable/f-node-move/move-preparation/f-node-move-preparation.request.mjs +0 -10
- package/esm2022/f-draggable/f-node-move/move-preparation/index.mjs +0 -3
- package/esm2022/f-draggable/f-node-move/move-summary-drag-handler.mjs +0 -44
- package/esm2022/f-draggable/f-node-move/providers.mjs +0 -11
- package/esm2022/f-draggable/f-single-select/f-single-select.execution.mjs +0 -138
- package/esm2022/f-draggable/f-single-select/f-single-select.request.mjs +0 -10
- package/esm2022/f-draggable/f-single-select/index.mjs +0 -4
- package/esm2022/f-draggable/f-single-select/providers.mjs +0 -5
- package/esm2022/f-line-alignment/domain/i-line-alignment-rect.mjs +0 -2
- package/esm2022/f-line-alignment/domain/i-snap-coordinate.mjs +0 -2
- package/esm2022/f-line-alignment/domain/i-snap-result.mjs +0 -2
- package/esm2022/f-line-alignment/domain/index.mjs +0 -6
- package/esm2022/f-line-alignment/domain/snap-line-element.mjs +0 -28
- package/esm2022/f-line-alignment/domain/snap-line-service.mjs +0 -36
- package/esm2022/f-line-alignment/f-line-alignment-base.mjs +0 -11
- package/esm2022/f-selection-area/domain/index.mjs +0 -5
- package/esm2022/f-selection-area/domain/providers.mjs +0 -7
- package/esm2022/f-selection-area/domain/selection-area-finalize/index.mjs +0 -3
- package/esm2022/f-selection-area/domain/selection-area-finalize/selection-area-finalize.execution.mjs +0 -31
- package/esm2022/f-selection-area/domain/selection-area-finalize/selection-area-finalize.request.mjs +0 -8
- package/esm2022/f-selection-area/domain/selection-area-preparation/index.mjs +0 -3
- package/esm2022/f-selection-area/domain/selection-area-preparation/selection-area-preparation.execution.mjs +0 -43
- package/esm2022/f-selection-area/domain/selection-area-preparation/selection-area-preparation.request.mjs +0 -12
- package/esm2022/f-selection-area/domain/selection-area.drag-handle.mjs +0 -57
- package/esm2022/f-selection-area/f-selection-area.component.mjs +0 -53
- package/esm2022/f-storage/f-connectors-store.mjs +0 -11
- package/esm2022/f-storage/features/listen-components-data-changed/index.mjs +0 -3
- package/esm2022/f-storage/features/listen-components-data-changed/listen-data-changes-request.mjs +0 -4
- package/esm2022/f-storage/features/listen-components-data-changed/listen-data-changes.execution.mjs +0 -23
- package/esm2022/f-storage/features/listen-count-changes/listen-count-changes.execution.mjs +0 -23
- package/esm2022/f-storage/features/listen-transform-changes/listen-transform-changes.execution.mjs +0 -23
- package/esm2022/f-storage/features/listen-transform-changes/listen-transform-changes.request.mjs +0 -4
- package/esm2022/f-storage/features/notify-data-changed/notify-data-changed.execution.mjs +0 -22
- package/esm2022/f-storage/features/notify-transform-changed/notify-transform-changed.execution.mjs +0 -22
- package/esm2022/f-storage/features/notify-transform-changed/notify-transform-changed.request.mjs +0 -4
- package/f-connection/common/domain/adaptive-curve-builder.d.ts +0 -102
- package/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points-request.d.ts +0 -7
- package/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points.handler.d.ts +0 -6
- package/f-connection/common/domain/calculate-center-between-points/index.d.ts +0 -2
- package/f-connection/common/domain/calculate-connection-center/calculate-connection-center-request.d.ts +0 -6
- package/f-connection/common/domain/calculate-connection-center/calculate-connection-center.handler.d.ts +0 -8
- package/f-connection/common/domain/calculate-connection-center/index.d.ts +0 -2
- package/f-connection/common/domain/f-bezier.path-builder.d.ts +0 -6
- package/f-connection/common/domain/f-segment.path-builder.d.ts +0 -11
- package/f-connection/common/domain/f-straight.path-builder.d.ts +0 -4
- package/f-connection/common/domain/index.d.ts +0 -6
- package/f-connection/common/f-connection-base.d.ts +0 -80
- package/f-connection/common/f-connection-identifiers.d.ts +0 -8
- package/f-connection/common/f-connection-text/f-connection-text-path.directive.d.ts +0 -18
- package/f-connection/common/f-connection-text/f-connection-text.component.d.ts +0 -16
- package/f-connection/common/f-connection-text/i-connection-text.d.ts +0 -7
- package/f-connection/common/f-connection-text/index.d.ts +0 -3
- package/f-connection/common/f-connection.injection-token.d.ts +0 -2
- package/f-connection/common/f-drag-handle/f-connection-drag-handle-end.component.d.ts +0 -13
- package/f-connection/common/f-drag-handle/f-connection-drag-handle-start.component.d.ts +0 -13
- package/f-connection/common/f-drag-handle/index.d.ts +0 -2
- package/f-connection/common/f-gradient/f-connection-gradient.component.d.ts +0 -17
- package/f-connection/common/f-gradient/i-connection-gradient.d.ts +0 -8
- package/f-connection/common/f-gradient/index.d.ts +0 -2
- package/f-connection/common/f-path/f-connection-path.component.d.ts +0 -15
- package/f-connection/common/f-path/get-path-marker-id.d.ts +0 -4
- package/f-connection/common/f-path/i-connection-path.d.ts +0 -9
- package/f-connection/common/f-path/index.d.ts +0 -3
- package/f-connection/common/f-selection/f-connection-selection.component.d.ts +0 -10
- package/f-connection/common/f-selection/index.d.ts +0 -1
- package/f-connection/common/i-has-connection-color.d.ts +0 -5
- package/f-connection/common/i-has-connection-from-to.d.ts +0 -6
- package/f-connection/common/i-has-connection-text.d.ts +0 -4
- package/f-connection/common/index.d.ts +0 -14
- package/f-connection/f-connection-builder/f-connection-builders.d.ts +0 -4
- package/f-connection/f-connection-builder/f-connection-factory.d.ts +0 -9
- package/f-connection/f-connection-builder/i-f-connection-builder-request.d.ts +0 -10
- package/f-connection/f-connection-builder/i-f-connection-builder-response.d.ts +0 -8
- package/f-connection/f-connection-builder/i-f-connection-builder.d.ts +0 -6
- package/f-connection/f-connection-builder/i-f-connection-factory-request.d.ts +0 -6
- package/f-connection/f-connection-builder/index.d.ts +0 -6
- package/f-connection/f-connection-center/f-connection-center.directive.d.ts +0 -10
- package/f-connection/f-connection-center/index.d.ts +0 -1
- package/f-connection/f-connection-content/f-connection-content.d.ts +0 -69
- package/f-connection/f-connection-content/index.d.ts +0 -2
- package/f-connection/f-connection-content/polyline-content-engine/polyline-content-layout-engine.d.ts +0 -21
- package/f-connection/f-marker/f-marker-base.d.ts +0 -13
- package/f-connection/f-marker/f-marker.directive.d.ts +0 -18
- package/f-connection/f-marker/index.d.ts +0 -3
- package/f-draggable/domain/f-drag-started-event.d.ts +0 -5
- package/f-draggable/domain/is-connection-under-node/f-node-intersected-with-connections.d.ts +0 -5
- package/f-draggable/domain/is-connection-under-node/index.d.ts +0 -3
- package/f-draggable/domain/is-connection-under-node/is-connection-under-node.execution.d.ts +0 -18
- package/f-draggable/domain/is-connection-under-node/is-connection-under-node.request.d.ts +0 -6
- package/f-draggable/f-canvas/f-canvas.drag-handler.d.ts +0 -12
- package/f-draggable/f-canvas/index.d.ts +0 -4
- package/f-draggable/f-canvas/move-finalize/f-canvas-move-finalize.execution.d.ts +0 -10
- package/f-draggable/f-canvas/move-finalize/f-canvas-move-finalize.request.d.ts +0 -6
- package/f-draggable/f-canvas/move-finalize/index.d.ts +0 -2
- package/f-draggable/f-canvas/move-preparation/f-canvas-move-preparation.execution.d.ts +0 -17
- package/f-draggable/f-canvas/move-preparation/f-canvas-move-preparation.request.d.ts +0 -8
- package/f-draggable/f-canvas/move-preparation/index.d.ts +0 -2
- package/f-draggable/f-canvas/providers.d.ts +0 -3
- package/f-draggable/f-connection/f-create-connection/create-finalize/f-create-connection-finalize.execution.d.ts +0 -19
- package/f-draggable/f-connection/f-create-connection/create-finalize/f-create-connection-finalize.request.d.ts +0 -6
- package/f-draggable/f-connection/f-create-connection/create-finalize/index.d.ts +0 -2
- package/f-draggable/f-connection/f-create-connection/create-preparation/create-connection-preparation.d.ts +0 -16
- package/f-draggable/f-connection/f-create-connection/create-preparation/drag-handler-preparation/f-create-connection-drag-handler-preparation.execution.d.ts +0 -13
- package/f-draggable/f-connection/f-create-connection/create-preparation/drag-handler-preparation/f-create-connection-drag-handler-preparation.request.d.ts +0 -8
- package/f-draggable/f-connection/f-create-connection/create-preparation/drag-handler-preparation/index.d.ts +0 -2
- package/f-draggable/f-connection/f-create-connection/create-preparation/from-outlet-preparation/f-create-connection-from-outlet-preparation.execution.d.ts +0 -14
- package/f-draggable/f-connection/f-create-connection/create-preparation/from-outlet-preparation/f-create-connection-from-outlet-preparation.request.d.ts +0 -8
- package/f-draggable/f-connection/f-create-connection/create-preparation/from-outlet-preparation/index.d.ts +0 -2
- package/f-draggable/f-connection/f-create-connection/create-preparation/from-output-preparation/create-connection-from-output-preparation.d.ts +0 -14
- package/f-draggable/f-connection/f-create-connection/create-preparation/index.d.ts +0 -5
- package/f-draggable/f-connection/f-create-connection/f-create-connection.drag-handler.d.ts +0 -28
- package/f-draggable/f-connection/f-create-connection/f-create-connection.event.d.ts +0 -7
- package/f-draggable/f-connection/f-create-connection/get-first-connectable-output/get-first-connectable-output.execution.d.ts +0 -16
- package/f-draggable/f-connection/f-create-connection/get-first-connectable-output/get-first-connectable-output.request.d.ts +0 -6
- package/f-draggable/f-connection/f-create-connection/get-first-connectable-output/index.d.ts +0 -2
- package/f-draggable/f-connection/f-create-connection/i-f-create-connection-drag-result.d.ts +0 -7
- package/f-draggable/f-connection/f-create-connection/index.d.ts +0 -6
- package/f-draggable/f-connection/f-reassign-connection/f-reassign-connection.drag-handler.d.ts +0 -25
- package/f-draggable/f-connection/f-reassign-connection/f-reassign-connection.event.d.ts +0 -12
- package/f-draggable/f-connection/f-reassign-connection/f-reassign-source.drag-handler.d.ts +0 -27
- package/f-draggable/f-connection/f-reassign-connection/f-reassign-target.drag-handler.d.ts +0 -28
- package/f-draggable/f-connection/f-reassign-connection/i-f-reassign-connection-drag-result.d.ts +0 -10
- package/f-draggable/f-connection/f-reassign-connection/i-f-reassign-handler.d.ts +0 -12
- package/f-draggable/f-connection/f-reassign-connection/index.d.ts +0 -9
- package/f-draggable/f-connection/f-reassign-connection/reassign-finalize/f-reassign-connection-finalize.execution.d.ts +0 -20
- package/f-draggable/f-connection/f-reassign-connection/reassign-finalize/f-reassign-connection-finalize.request.d.ts +0 -6
- package/f-draggable/f-connection/f-reassign-connection/reassign-finalize/index.d.ts +0 -2
- package/f-draggable/f-connection/f-reassign-connection/reassign-preparation/f-reassign-connection-preparation.execution.d.ts +0 -22
- package/f-draggable/f-connection/f-reassign-connection/reassign-preparation/f-reassign-connection-preparation.request.d.ts +0 -8
- package/f-draggable/f-connection/f-reassign-connection/reassign-preparation/index.d.ts +0 -3
- package/f-draggable/f-connection/f-reassign-connection/reassign-preparation/is-pointer-inside-start-or-end-drag-handles.d.ts +0 -5
- package/f-draggable/f-connection/index.d.ts +0 -3
- package/f-draggable/f-connection/providers.d.ts +0 -3
- package/f-draggable/f-drag-handler/i-f-drag-handler.d.ts +0 -8
- package/f-draggable/f-drag-handler/index.d.ts +0 -2
- package/f-draggable/f-drop-to-group/drop-to-group-finalize/drop-to-group-finalize-request.d.ts +0 -6
- package/f-draggable/f-drop-to-group/drop-to-group-finalize/drop-to-group-finalize.d.ts +0 -16
- package/f-draggable/f-drop-to-group/drop-to-group-preparation/drop-to-group-preparation.d.ts +0 -29
- package/f-draggable/f-drop-to-group/f-drop-to-group.event.d.ts +0 -7
- package/f-draggable/f-drop-to-group/f-node-drop-to-group.drag-handler.d.ts +0 -22
- package/f-draggable/f-drop-to-group/index.d.ts +0 -6
- package/f-draggable/f-drop-to-group/providers.d.ts +0 -4
- package/f-draggable/f-drop-to-group/sort-containers-for-drop-by-layer/index.d.ts +0 -2
- package/f-draggable/f-drop-to-group/sort-containers-for-drop-by-layer/sort-containers-for-drop-by-layer-request.d.ts +0 -6
- package/f-draggable/f-drop-to-group/sort-containers-for-drop-by-layer/sort-containers-for-drop-by-layer.d.ts +0 -10
- package/f-draggable/f-node-move/connection-drag-handlers/base-connection.drag-handler.d.ts +0 -22
- package/f-draggable/f-node-move/connection-drag-handlers/index.d.ts +0 -4
- package/f-draggable/f-node-move/connection-drag-handlers/source-connection.drag-handler.d.ts +0 -8
- package/f-draggable/f-node-move/connection-drag-handlers/source-target-connection.drag-handler.d.ts +0 -11
- package/f-draggable/f-node-move/connection-drag-handlers/target-connection.drag-handler.d.ts +0 -8
- package/f-draggable/f-node-move/constraint/drag-constraint-pipeline.d.ts +0 -17
- package/f-draggable/f-node-move/constraint/expand-rect-from-baseline.d.ts +0 -3
- package/f-draggable/f-node-move/constraint/index.d.ts +0 -4
- package/f-draggable/f-node-move/constraint/rect-constraint.d.ts +0 -19
- package/f-draggable/f-node-move/constraint/snap-to-grid.d.ts +0 -15
- package/f-draggable/f-node-move/create-drag-model-from-selection/build-drag-hierarchy/build-drag-hierarchy-request.d.ts +0 -6
- package/f-draggable/f-node-move/create-drag-model-from-selection/build-drag-hierarchy/build-drag-hierarchy-response.d.ts +0 -6
- package/f-draggable/f-node-move/create-drag-model-from-selection/build-drag-hierarchy/build-drag-hierarchy.d.ts +0 -13
- package/f-draggable/f-node-move/create-drag-model-from-selection/build-drag-hierarchy/index.d.ts +0 -3
- package/f-draggable/f-node-move/create-drag-model-from-selection/calculate-drag-limits/calculate-drag-limits-request.d.ts +0 -6
- package/f-draggable/f-node-move/create-drag-model-from-selection/calculate-drag-limits/calculate-drag-limits.d.ts +0 -19
- package/f-draggable/f-node-move/create-drag-model-from-selection/calculate-drag-limits/i-drag-limits.d.ts +0 -6
- package/f-draggable/f-node-move/create-drag-model-from-selection/calculate-drag-limits/i-soft-limit.d.ts +0 -8
- package/f-draggable/f-node-move/create-drag-model-from-selection/calculate-drag-limits/index.d.ts +0 -4
- package/f-draggable/f-node-move/create-drag-model-from-selection/create-drag-model-from-selection-request.d.ts +0 -6
- package/f-draggable/f-node-move/create-drag-model-from-selection/create-drag-model-from-selection.d.ts +0 -24
- package/f-draggable/f-node-move/create-drag-model-from-selection/create-input-connection-handler-and-set-to-node-handler/create-input-connection-handler-and-set-to-node-handler-request.d.ts +0 -9
- package/f-draggable/f-node-move/create-drag-model-from-selection/create-input-connection-handler-and-set-to-node-handler/create-input-connection-handler-and-set-to-node-handler.d.ts +0 -16
- package/f-draggable/f-node-move/create-drag-model-from-selection/create-input-connection-handler-and-set-to-node-handler/index.d.ts +0 -2
- package/f-draggable/f-node-move/create-drag-model-from-selection/create-output-connection-handler-and-set-to-node-handler/create-output-connection-handler-and-set-to-node-handler-request.d.ts +0 -9
- package/f-draggable/f-node-move/create-drag-model-from-selection/create-output-connection-handler-and-set-to-node-handler/create-output-connection-handler-and-set-to-node-handler.d.ts +0 -18
- package/f-draggable/f-node-move/create-drag-model-from-selection/create-output-connection-handler-and-set-to-node-handler/index.d.ts +0 -2
- package/f-draggable/f-node-move/create-drag-model-from-selection/create-summary-drag-handler/create-summary-drag-handler-request.d.ts +0 -7
- package/f-draggable/f-node-move/create-drag-model-from-selection/create-summary-drag-handler/create-summary-drag-handler.d.ts +0 -13
- package/f-draggable/f-node-move/create-drag-model-from-selection/create-summary-drag-handler/index.d.ts +0 -2
- package/f-draggable/f-node-move/create-drag-model-from-selection/get-node-bounding-include-paddings/get-node-bounding-include-paddings-request.d.ts +0 -7
- package/f-draggable/f-node-move/create-drag-model-from-selection/get-node-bounding-include-paddings/get-node-bounding-include-paddings-response.d.ts +0 -9
- package/f-draggable/f-node-move/create-drag-model-from-selection/get-node-bounding-include-paddings/get-node-bounding-include-paddings.d.ts +0 -13
- package/f-draggable/f-node-move/create-drag-model-from-selection/get-node-bounding-include-paddings/index.d.ts +0 -3
- package/f-draggable/f-node-move/create-drag-model-from-selection/i-node-move-limits-and-position.d.ts +0 -5
- package/f-draggable/f-node-move/create-drag-model-from-selection/i-node-move-limits.d.ts +0 -3
- package/f-draggable/f-node-move/create-drag-model-from-selection/index.d.ts +0 -11
- package/f-draggable/f-node-move/create-drag-model-from-selection/providers.d.ts +0 -8
- package/f-draggable/f-node-move/create-snap-lines/create-snap-lines-request.d.ts +0 -6
- package/f-draggable/f-node-move/create-snap-lines/create-snap-lines.d.ts +0 -19
- package/f-draggable/f-node-move/create-snap-lines/index.d.ts +0 -2
- package/f-draggable/f-node-move/create-snap-lines/snap-lines.drag-handler.d.ts +0 -16
- package/f-draggable/f-node-move/f-move-nodes.event.d.ts +0 -15
- package/f-draggable/f-node-move/index.d.ts +0 -12
- package/f-draggable/f-node-move/move-drag-handler.d.ts +0 -33
- package/f-draggable/f-node-move/move-finalize/f-node-move-finalize.execution.d.ts +0 -23
- package/f-draggable/f-node-move/move-finalize/f-node-move-finalize.request.d.ts +0 -6
- package/f-draggable/f-node-move/move-finalize/index.d.ts +0 -2
- package/f-draggable/f-node-move/move-preparation/f-node-move-preparation.execution.d.ts +0 -20
- package/f-draggable/f-node-move/move-preparation/f-node-move-preparation.request.d.ts +0 -8
- package/f-draggable/f-node-move/move-preparation/index.d.ts +0 -2
- package/f-draggable/f-node-move/move-summary-drag-handler.d.ts +0 -22
- package/f-draggable/f-node-move/providers.d.ts +0 -4
- package/f-draggable/f-single-select/f-single-select.execution.d.ts +0 -62
- package/f-draggable/f-single-select/f-single-select.request.d.ts +0 -8
- package/f-draggable/f-single-select/index.d.ts +0 -3
- package/f-draggable/f-single-select/providers.d.ts +0 -2
- package/f-line-alignment/domain/i-line-alignment-rect.d.ts +0 -6
- package/f-line-alignment/domain/i-snap-coordinate.d.ts +0 -4
- package/f-line-alignment/domain/i-snap-result.d.ts +0 -5
- package/f-line-alignment/domain/index.d.ts +0 -5
- package/f-line-alignment/domain/snap-line-element.d.ts +0 -9
- package/f-line-alignment/domain/snap-line-service.d.ts +0 -11
- package/f-line-alignment/f-line-alignment-base.d.ts +0 -10
- package/f-selection-area/domain/index.d.ts +0 -4
- package/f-selection-area/domain/providers.d.ts +0 -3
- package/f-selection-area/domain/selection-area-finalize/index.d.ts +0 -2
- package/f-selection-area/domain/selection-area-finalize/selection-area-finalize.execution.d.ts +0 -10
- package/f-selection-area/domain/selection-area-finalize/selection-area-finalize.request.d.ts +0 -6
- package/f-selection-area/domain/selection-area-preparation/index.d.ts +0 -2
- package/f-selection-area/domain/selection-area-preparation/selection-area-preparation.execution.d.ts +0 -13
- package/f-selection-area/domain/selection-area-preparation/selection-area-preparation.request.d.ts +0 -10
- package/f-selection-area/domain/selection-area.drag-handle.d.ts +0 -20
- package/f-selection-area/f-selection-area.component.d.ts +0 -21
- package/f-storage/f-connectors-store.d.ts +0 -6
- package/f-storage/features/listen-components-data-changed/index.d.ts +0 -2
- package/f-storage/features/listen-components-data-changed/listen-data-changes.execution.d.ts +0 -10
- package/f-storage/features/listen-count-changes/listen-count-changes.execution.d.ts +0 -10
- package/f-storage/features/listen-transform-changes/listen-transform-changes.execution.d.ts +0 -10
- package/f-storage/features/notify-data-changed/notify-data-changed.execution.d.ts +0 -9
- package/f-storage/features/notify-transform-changed/notify-transform-changed.execution.d.ts +0 -9
- /package/domain/f-background/add-pattern-to-background/{add-pattern-to-background.request.d.ts → add-pattern-to-background-request.d.ts} +0 -0
- /package/domain/f-flow/{get-flow-state → calculate-flow-state}/i-f-flow-state-node.d.ts +0 -0
- /package/domain/f-flow/{get-flow-state → calculate-flow-state}/i-f-flow-state.d.ts +0 -0
- /package/domain/f-selection/{get-can-be-selected-items → calculate-selectable-items}/i-can-be-selected-element-and-rect.d.ts +0 -0
- /package/domain/f-selection/select-all/{select-all.request.d.ts → select-all-request.d.ts} +0 -0
- /package/domain/f-selection/select-and-update-node-layer/{select-and-update-node-layer.request.d.ts → select-and-update-node-layer-request.d.ts} +0 -0
- /package/domain/sort-item-layers/{sort-item-layers.request.d.ts → sort-item-layers-request.d.ts} +0 -0
- /package/domain/update-item-and-children-layers/{update-item-and-children-layers.request.d.ts → update-item-and-children-layers-request.d.ts} +0 -0
- /package/f-canvas/domain/{f-canvas-change.event.d.ts → f-canvas-change-event.d.ts} +0 -0
- /package/{f-connection/f-connection-content/polyline-content-engine → f-connection-v2/components/connection-content/utils}/i-polyline-content.d.ts +0 -0
- /package/{f-connection/f-connection-content/polyline-content-engine → f-connection-v2/components/connection-content/utils}/index.d.ts +0 -0
- /package/{f-connection/f-connection-content/polyline-content-engine → f-connection-v2/components/connection-content/utils}/polyline-content-align.d.ts +0 -0
- /package/{f-connection/f-connection-content/polyline-content-engine → f-connection-v2/components/connection-content/utils}/polyline-content-place.d.ts +0 -0
- /package/{f-connection/f-connection-content/polyline-content-engine → f-connection-v2/components/connection-content/utils}/polyline-sampler/i-sampler-result.d.ts +0 -0
- /package/{f-connection/f-connection-content/polyline-content-engine → f-connection-v2/components/connection-content/utils}/polyline-sampler/i-tangent.d.ts +0 -0
- /package/{f-connection/f-connection-content/polyline-content-engine → f-connection-v2/components/connection-content/utils}/polyline-sampler/index.d.ts +0 -0
- /package/{f-connection/f-connection-content/polyline-content-engine → f-connection-v2/components/connection-content/utils}/polyline-sampler/polyline-sampler.d.ts +0 -0
- /package/{f-connection/f-connection-content/polyline-content-engine → f-connection-v2/components/connection-content/utils}/polyline-sampler/polyline.d.ts +0 -0
- /package/{f-connection/f-marker → f-connection-v2/components/connection-marker/enums}/e-f-marker-type.d.ts +0 -0
- /package/{f-connectors → f-connection-v2/enums}/e-f-connectable-side.d.ts +0 -0
- /package/{f-connection/common → f-connection-v2/enums}/e-f-connection-type.d.ts +0 -0
- /package/{f-connection/common → f-connection-v2/utils/connection-behaviour/enums}/e-f-connection-behavior.d.ts +0 -0
- /package/{f-connection/common → f-connection-v2/utils/connection-behaviour/enums}/e-f-connection-connectable-side.d.ts +0 -0
- /package/f-draggable/{f-connection/f-create-connection/create-preparation → connection/create-connection/create-connection-preparation}/create-connection-preparation-request.d.ts +0 -0
- /package/f-draggable/{f-connection/f-create-connection/create-preparation → connection/create-connection/create-connection-preparation}/from-output-preparation/create-connection-from-output-preparation-request.d.ts +0 -0
- /package/f-draggable/{f-connection/f-create-connection/create-preparation → connection/create-connection/create-connection-preparation}/from-output-preparation/index.d.ts +0 -0
- /package/{domain/f-draggable → f-draggable/domain}/emit-selection-change-event/emit-selection-change-event-request.d.ts +0 -0
- /package/f-draggable/{f-drop-to-group → drop-to-group}/drop-to-group-finalize/index.d.ts +0 -0
- /package/f-draggable/{f-drop-to-group → drop-to-group}/drop-to-group-preparation/drop-to-group-preparation-request.d.ts +0 -0
- /package/f-draggable/{f-drop-to-group → drop-to-group}/drop-to-group-preparation/index.d.ts +0 -0
- /package/f-draggable/{f-drag-handler → infrastructure}/f-drag-handler-result.d.ts +0 -0
- /package/f-storage/features/{listen-components-data-changed → listen-data-changed}/listen-data-changes-request.d.ts +0 -0
- /package/f-storage/features/listen-transform-changes/{listen-transform-changes.request.d.ts → listen-transform-changes-request.d.ts} +0 -0
- /package/f-storage/features/notify-transform-changed/{notify-transform-changed.request.d.ts → notify-transform-changed-request.d.ts} +0 -0
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
|
2
|
+
import { F_CONNECTION_DRAG_HANDLE_START, FConnectionDragHandleBase } from './models';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class FConnectionDragHandleStart extends FConnectionDragHandleBase {
|
|
5
|
+
redraw(penultimatePoint, startPoint) {
|
|
6
|
+
this.point = this.calculateCircleCenter(penultimatePoint, startPoint, 8);
|
|
7
|
+
this.hostElement.setAttribute('cx', this.point.x.toString());
|
|
8
|
+
this.hostElement.setAttribute('cy', this.point.y.toString());
|
|
9
|
+
}
|
|
10
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FConnectionDragHandleStart, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
11
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: FConnectionDragHandleStart, selector: "circle[f-connection-drag-handle-start]", host: { properties: { "class": "class" } }, providers: [
|
|
12
|
+
{
|
|
13
|
+
provide: F_CONNECTION_DRAG_HANDLE_START,
|
|
14
|
+
useExisting: FConnectionDragHandleStart,
|
|
15
|
+
},
|
|
16
|
+
], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
17
|
+
}
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FConnectionDragHandleStart, decorators: [{
|
|
19
|
+
type: Component,
|
|
20
|
+
args: [{
|
|
21
|
+
selector: 'circle[f-connection-drag-handle-start]',
|
|
22
|
+
template: '',
|
|
23
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
24
|
+
host: {
|
|
25
|
+
'[class]': 'class',
|
|
26
|
+
},
|
|
27
|
+
providers: [
|
|
28
|
+
{
|
|
29
|
+
provide: F_CONNECTION_D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NPTk5FQ1RJT05fRFJBR19IQU5ETEVfU1RBUlQsXG4gICAgICB1c2VFeGlzdGluZzogRkNvbm5lY3Rpb25EcmFnSGFuZGxlU3RhcnQsXG4gICAgfSxcbiAgXSxcbn0pXG5leHBvcnQgY2xhc3MgRkNvbm5lY3Rpb25EcmFnSGFuZGxlU3RhcnQgZXh0ZW5kcyBGQ29ubmVjdGlvbkRyYWdIYW5kbGVCYXNlIHtcbiAgcHVibGljIG92ZXJyaWRlIHJlZHJhdyhwZW51bHRpbWF0ZVBvaW50OiBJUG9pbnQsIHN0YXJ0UG9pbnQ6IElQb2ludCk6IHZvaWQge1xuICAgIHRoaXMucG9pbnQgPSB0aGlzLmNhbGN1bGF0ZUNpcmNsZUNlbnRlcihwZW51bHRpbWF0ZVBvaW50LCBzdGFydFBvaW50LCA4KTtcbiAgICB0aGlzLmhvc3RFbGVtZW50LnNldEF0dHJpYnV0ZSgnY3gnLCB0aGlzLnBvaW50LngudG9TdHJpbmcoKSk7XG4gICAgdGhpcy5ob3N0RWxlbWVudC5zZXRBdHRyaWJ1dGUoJ2N5JywgdGhpcy5wb2ludC55LnRvU3RyaW5nKCkpO1xuICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export * from './models';
|
|
2
|
+
export * from './f-connection-drag-handle-start';
|
|
3
|
+
export * from './f-connection-drag-handle-end';
|
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi12Mi9jb21wb25lbnRzL2Nvbm5lY3Rpb24tZHJhZy1oYW5kbGVzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsVUFBVSxDQUFDO0FBRXpCLGNBQWMsa0NBQWtDLENBQUM7QUFFakQsY0FBYyxnQ0FBZ0MsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbW9kZWxzJztcblxuZXhwb3J0ICogZnJvbSAnLi9mLWNvbm5lY3Rpb24tZHJhZy1oYW5kbGUtc3RhcnQnO1xuXG5leHBvcnQgKiBmcm9tICcuL2YtY29ubmVjdGlvbi1kcmFnLWhhbmRsZS1lbmQnO1xuIl19
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ElementRef, inject, InjectionToken } from '@angular/core';
|
|
2
|
+
import { PointExtensions } from '@foblex/2d';
|
|
3
|
+
export const F_CONNECTION_DRAG_HANDLE_END = new InjectionToken('F_CONNECTION_DRAG_HANDLE_END');
|
|
4
|
+
export const F_CONNECTION_DRAG_HANDLE_START = new InjectionToken('F_CONNECTION_DRAG_HANDLE_START');
|
|
5
|
+
export class FConnectionDragHandleBase {
|
|
6
|
+
hostElement = inject(ElementRef).nativeElement;
|
|
7
|
+
point = PointExtensions.initialize();
|
|
8
|
+
class = 'f-connection-drag-handle';
|
|
9
|
+
calculateCircleCenter(start, end, radius) {
|
|
10
|
+
const direction = { x: end.x - start.x, y: end.y - start.y };
|
|
11
|
+
const length = Math.sqrt(direction.x * direction.x + direction.y * direction.y) || 1;
|
|
12
|
+
const unitDirection = { x: direction.x / length, y: direction.y / length };
|
|
13
|
+
const scaledDirection = { x: unitDirection.x * radius, y: unitDirection.y * radius };
|
|
14
|
+
return { x: end.x - scaledDirection.x, y: end.y - scaledDirection.y };
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1jb25uZWN0aW9uLWRyYWctaGFuZGxlLWJhc2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi12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,2 @@
|
|
|
1
|
+
export * from './f-connection-drag-handle-base';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi12Mi9jb21wb25lbnRzL2Nvbm5lY3Rpb24tZHJhZy1oYW5kbGVzL21vZGVscy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGlDQUFpQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9mLWNvbm5lY3Rpb24tZHJhZy1oYW5kbGUtYmFzZSc7XG4iXX0=
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, inject } from '@angular/core';
|
|
2
|
+
import { Point } from '@foblex/2d';
|
|
3
|
+
import { F_CONNECTION_GRADIENT, FConnectionGradientBase } from './models';
|
|
4
|
+
import { F_CONNECTION_COMPONENTS_PARENT } from '../../models';
|
|
5
|
+
import { createGradientDomIdentifier } from '../../utils';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export class FConnectionGradient extends FConnectionGradientBase {
|
|
8
|
+
_connection = inject(F_CONNECTION_COMPONENTS_PARENT);
|
|
9
|
+
get gradientId() {
|
|
10
|
+
return createGradientDomIdentifier(this._connection.fId(), this._connection.fOutputId(), this._connection.fInputId());
|
|
11
|
+
}
|
|
12
|
+
get stop1Element() {
|
|
13
|
+
return this.hostElement.children.item(0);
|
|
14
|
+
}
|
|
15
|
+
get stop2Element() {
|
|
16
|
+
return this.hostElement.children.item(1);
|
|
17
|
+
}
|
|
18
|
+
initialize() {
|
|
19
|
+
this.stop1Element.setAttribute('offset', '0%');
|
|
20
|
+
this.stop2Element.setAttribute('offset', '100%');
|
|
21
|
+
}
|
|
22
|
+
_updateGradient() {
|
|
23
|
+
this._setFromColor(this._connection.fStartColor());
|
|
24
|
+
this._setToColor(this._connection.fEndColor());
|
|
25
|
+
}
|
|
26
|
+
_setFromColor(color) {
|
|
27
|
+
this.stop1Element.setAttribute('stop-color', color || 'transparent');
|
|
28
|
+
}
|
|
29
|
+
_setToColor(color) {
|
|
30
|
+
this.stop2Element.setAttribute('stop-color', color || 'transparent');
|
|
31
|
+
}
|
|
32
|
+
redraw(line) {
|
|
33
|
+
const x = line.point2.x - line.point1.x;
|
|
34
|
+
const y = line.point2.y - line.point1.y;
|
|
35
|
+
const distance = Math.sqrt(x * x + y * y) || 0.01;
|
|
36
|
+
const from = new Point(0.5 - (0.5 * x) / distance, 0.5 - (0.5 * y) / distance);
|
|
37
|
+
this.hostElement.setAttribute('x1', from.x.toString());
|
|
38
|
+
this.hostElement.setAttribute('y1', from.y.toString());
|
|
39
|
+
const to = new Point(0.5 + (0.5 * x) / distance, 0.5 + (0.5 * y) / distance);
|
|
40
|
+
this.hostElement.setAttribute('x2', to.x.toString());
|
|
41
|
+
this.hostElement.setAttribute('y2', to.y.toString());
|
|
42
|
+
this._updateGradient();
|
|
43
|
+
}
|
|
44
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FConnectionGradient, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
45
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: FConnectionGradient, selector: "linearGradient[fConnectionGradient]", host: { properties: { "attr.id": "gradientId" }, classAttribute: "f-component f-connection-gradient" }, providers: [{ provide: F_CONNECTION_GRADIENT, useExisting: FConnectionGradient }], usesInheritance: true, 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 });
|
|
46
|
+
}
|
|
47
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FConnectionGradient, decorators: [{
|
|
48
|
+
type: Component,
|
|
49
|
+
args: [{ selector: 'linearGradient[fConnectionGradient]', changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
50
|
+
class: 'f-component f-connection-gradient',
|
|
51
|
+
'[attr.id]': 'gradientId',
|
|
52
|
+
}, providers: [{ provide: F_CONNECTION_GRADIENT, useExisting: FConnectionGradient }], template: "<ng-container xmlns:svg=\"http://www.w3.org/2000/svg\">\n <svg:stop />\n <svg:stop />\n</ng-container>\n" }]
|
|
53
|
+
}] });
|
|
54
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1jb25uZWN0aW9uLWdyYWRpZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWNvbm5lY3Rpb24tdjIvY29tcG9uZW50cy9jb25uZWN0aW9uLWdyYWRpZW50L2YtY29ubmVjdGlvbi1ncmFkaWVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi1jb25uZWN0aW9uLXYyL2NvbXBvbmVudHMvY29ubmVjdGlvbi1ncmFkaWVudC9mLWNvbm5lY3Rpb24tZ3JhZGllbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzRSxPQUFPLEVBQVMsS0FBSyxFQUFFLE1BQU0sWUFBWSxDQUFDO0FBQzFDLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSx1QkFBdUIsRUFBRSxNQUFNLFVBQVUsQ0FBQztBQUMxRSxPQUFPLEVBQUUsOEJBQThCLEVBQUUsTUFBTS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zIwMDAvc3ZnXCI+XG4gIDxzdmc6c3RvcCAvPlxuICA8c3ZnOnN0b3AgLz5cbjwvbmctY29udGFpbmVyPlxuIl19
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './models';
|
|
2
|
+
export * from './f-connection-gradient';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi12Mi9jb21wb25lbnRzL2Nvbm5lY3Rpb24tZ3JhZGllbnQvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxVQUFVLENBQUM7QUFDekIsY0FBYyx5QkFBeUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbW9kZWxzJztcbmV4cG9ydCAqIGZyb20gJy4vZi1jb25uZWN0aW9uLWdyYWRpZW50JztcbiJdfQ==
|
package/esm2022/f-connection-v2/components/connection-gradient/models/f-connection-gradient-base.mjs
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ElementRef, inject, InjectionToken } from '@angular/core';
|
|
2
|
+
export const F_CONNECTION_GRADIENT = new InjectionToken('F_CONNECTION_GRADIENT');
|
|
3
|
+
export class FConnectionGradientBase {
|
|
4
|
+
hostElement = inject((ElementRef)).nativeElement;
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1jb25uZWN0aW9uLWdyYWRpZW50LWJhc2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi12Mi9jb21wb25lbnRzL2Nv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
|
+
export * from './f-connection-gradient-base';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi12Mi9jb21wb25lbnRzL2Nvbm5lY3Rpb24tZ3JhZGllbnQvbW9kZWxzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsOEJBQThCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2YtY29ubmVjdGlvbi1ncmFkaWVudC1iYXNlJztcbiJdfQ==
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export var EFMarkerType;
|
|
2
|
+
(function (EFMarkerType) {
|
|
3
|
+
EFMarkerType["START"] = "f-connection-marker-start";
|
|
4
|
+
EFMarkerType["END"] = "f-connection-marker-end";
|
|
5
|
+
EFMarkerType["SELECTED_START"] = "f-connection-selected-marker-start";
|
|
6
|
+
EFMarkerType["SELECTED_END"] = "f-connection-selected-marker-end";
|
|
7
|
+
})(EFMarkerType || (EFMarkerType = {}));
|
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZS1mLW1hcmtlci10eXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWNvbm5lY3Rpb24tdjIvY29tcG9uZW50cy9jb25uZWN0aW9uLW1hcmtlci9lbnVtcy9lLWYtbWFya2VyLXR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFOLElBQVksWUFRWDtBQVJELFdBQVksWUFBWTtJQUN0QixtREFBbUMsQ0FBQTtJQUVuQywrQ0FBK0IsQ0FBQTtJQUUvQixxRUFBcUQsQ0FBQTtJQUVyRCxpRUFBaUQsQ0FBQTtBQUNuRCxDQUFDLEVBUlcsWUFBWSxLQUFaLFlBQVksUUFRdkIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZW51bSBFRk1hcmtlclR5cGUge1xuICBTVEFSVCA9ICdmLWNvbm5lY3Rpb24tbWFya2VyLXN0YXJ0JyxcblxuICBFTkQgPSAnZi1jb25uZWN0aW9uLW1hcmtlci1lbmQnLFxuXG4gIFNFTEVDVEVEX1NUQVJUID0gJ2YtY29ubmVjdGlvbi1zZWxlY3RlZC1tYXJrZXItc3RhcnQnLFxuXG4gIFNFTEVDVEVEX0VORCA9ICdmLWNvbm5lY3Rpb24tc2VsZWN0ZWQtbWFya2VyLWVuZCcsXG59XG4iXX0=
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export * from './e-f-marker-type';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi12Mi9jb21wb25lbnRzL2Nvbm5lY3Rpb24tbWFya2VyL2VudW1zL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsbUJBQW1CLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2UtZi1tYXJrZXItdHlwZSc7XG4iXX0=
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { Directive, inject, Input } from '@angular/core';
|
|
2
|
+
import { FMediator } from '@foblex/mediator';
|
|
3
|
+
import { F_CONNECTION_MARKER, FConnectionMarkerBase } from './models';
|
|
4
|
+
import { EFMarkerType } from './enums';
|
|
5
|
+
import { AddConnectionMarkerToStoreRequest, RemoveConnectionMarkerFromStoreRequest, } from '../../../domain';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export class FConnectionMarker extends FConnectionMarkerBase {
|
|
8
|
+
_mediator = inject(FMediator);
|
|
9
|
+
width = 0;
|
|
10
|
+
height = 0;
|
|
11
|
+
refX = 0;
|
|
12
|
+
refY = 0;
|
|
13
|
+
type = EFMarkerType.START;
|
|
14
|
+
orient = 'auto';
|
|
15
|
+
markerUnits = 'strokeWidth';
|
|
16
|
+
ngOnInit() {
|
|
17
|
+
this.hostElement.style.display = 'none';
|
|
18
|
+
this._mediator.execute(new AddConnectionMarkerToStoreRequest(this));
|
|
19
|
+
}
|
|
20
|
+
ngOnDestroy() {
|
|
21
|
+
this._mediator.execute(new RemoveConnectionMarkerFromStoreRequest(this));
|
|
22
|
+
}
|
|
23
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FConnectionMarker, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
24
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: FConnectionMarker, selector: "svg[fMarker]", inputs: { width: "width", height: "height", refX: "refX", refY: "refY", type: "type", orient: "orient", markerUnits: "markerUnits" }, host: { classAttribute: "f-component f-marker" }, providers: [{ provide: F_CONNECTION_MARKER, useExisting: FConnectionMarker }], usesInheritance: true, ngImport: i0 });
|
|
25
|
+
}
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FConnectionMarker, decorators: [{
|
|
27
|
+
type: Directive,
|
|
28
|
+
args: [{
|
|
29
|
+
selector: 'svg[fMarker]',
|
|
30
|
+
host: {
|
|
31
|
+
class: 'f-component f-marker',
|
|
32
|
+
},
|
|
33
|
+
providers: [{ provide: F_CONNECTION_MARKER, useExisting: FConnectionMarker }],
|
|
34
|
+
}]
|
|
35
|
+
}], propDecorators: { width: [{
|
|
36
|
+
type: Input
|
|
37
|
+
}], height: [{
|
|
38
|
+
type: Input
|
|
39
|
+
}], refX: [{
|
|
40
|
+
type: Input
|
|
41
|
+
}], refY: [{
|
|
42
|
+
type: Input
|
|
43
|
+
}], type: [{
|
|
44
|
+
type: Input
|
|
45
|
+
}], orient: [{
|
|
46
|
+
type: Input
|
|
47
|
+
}], markerUnits: [{
|
|
48
|
+
type: Input
|
|
49
|
+
}] } });
|
|
50
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1jb25uZWN0aW9uLW1hcmtlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi1jb25uZWN0aW9uLXYyL2NvbXBvbmVudHMvY29ubmVjdGlvbi1tYXJrZXIvZi1jb25uZWN0aW9uLW1hcmtlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sRUFBRSxLQUFLLEVBQXFCLE1BQU0sZUFBZSxDQUFDO0FBQzVFLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQztBQUM3QyxPQUFPLEVBQUUsbUJBQW1CLEVBQUUscUJBQXFCLEVBQUUsTUFBTSxVQUFVLENBQUM7QUFDdEUsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLFNBQVMsQ0FBQztBQUN2QyxPQUFPLEVBQ0wsaUNBQWlDLEVBQ2pDLHNDQUFzQyxHQUN2QyxNQUFNLGlCQUFpQixDQUFDOztBQVN6QixNQUFNLE9BQU8saUJBQWtCLFNBQVEscUJBQXFCO0lBQ3pDLFNBQVMsR0FBRyxNQUFNLENBQUMsU0FBUyxDQUFDLENBQUM7SUFHL0IsS0FBSyxHQUFXLENBQUMsQ0FBQztJQUdsQixNQUFNLEdBQVc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ucHV0KClcbiAgcHVibGljIG92ZXJyaWRlIGhlaWdodDogbnVtYmVyID0gMDtcblxuICBASW5wdXQoKVxuICBwdWJsaWMgb3ZlcnJpZGUgcmVmWDogbnVtYmVyID0gMDtcblxuICBASW5wdXQoKVxuICBwdWJsaWMgb3ZlcnJpZGUgcmVmWTogbnVtYmVyID0gMDtcblxuICBASW5wdXQoKVxuICBwdWJsaWMgb3ZlcnJpZGUgdHlwZTogc3RyaW5nID0gRUZNYXJrZXJUeXBlLlNUQVJUO1xuXG4gIEBJbnB1dCgpXG4gIHB1YmxpYyBvdmVycmlkZSBvcmllbnQ6ICdhdXRvJyB8ICdhdXRvLXN0YXJ0LXJldmVyc2UnIHwgJ2NhbGN1bGF0ZWQnIHwgc3RyaW5nID0gJ2F1dG8nO1xuXG4gIEBJbnB1dCgpXG4gIHB1YmxpYyBvdmVycmlkZSBtYXJrZXJVbml0czogJ3N0cm9rZVdpZHRoJyB8ICd1c2VyU3BhY2VPblVzZScgPSAnc3Ryb2tlV2lkdGgnO1xuXG4gIHB1YmxpYyBuZ09uSW5pdCgpOiB2b2lkIHtcbiAgICB0aGlzLmhvc3RFbGVtZW50LnN0eWxlLmRpc3BsYXkgPSAnbm9uZSc7XG4gICAgdGhpcy5fbWVkaWF0b3IuZXhlY3V0ZShuZXcgQWRkQ29ubmVjdGlvbk1hcmtlclRvU3RvcmVSZXF1ZXN0KHRoaXMpKTtcbiAgfVxuXG4gIHB1YmxpYyBuZ09uRGVzdHJveSgpOiB2b2lkIHtcbiAgICB0aGlzLl9tZWRpYXRvci5leGVjdXRlKG5ldyBSZW1vdmVDb25uZWN0aW9uTWFya2VyRnJvbVN0b3JlUmVxdWVzdCh0aGlzKSk7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export * from './enums';
|
|
2
|
+
export * from './models';
|
|
3
|
+
export * from './f-connection-marker';
|
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi12Mi9jb21wb25lbnRzL2Nvbm5lY3Rpb24tbWFya2VyL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsU0FBUyxDQUFDO0FBRXhCLGNBQWMsVUFBVSxDQUFDO0FBRXpCLGNBQWMsdUJBQXVCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2VudW1zJztcblxuZXhwb3J0ICogZnJvbSAnLi9tb2RlbHMnO1xuXG5leHBvcnQgKiBmcm9tICcuL2YtY29ubmVjdGlvbi1tYXJrZXInO1xuIl19
|
package/esm2022/f-connection-v2/components/connection-marker/models/f-connection-marker-base.mjs
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ElementRef, inject, InjectionToken, signal } from '@angular/core';
|
|
2
|
+
export const F_CONNECTION_MARKER = new InjectionToken('F_CONNECTION_MARKER');
|
|
3
|
+
let uniqueId = 0;
|
|
4
|
+
export class FConnectionMarkerBase {
|
|
5
|
+
fId = signal(`f-marker-${uniqueId++}`);
|
|
6
|
+
hostElement = inject((ElementRef)).nativeElement;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1jb25uZWN0aW9uLW1hcmtlci1iYXNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWNvbm5lY3Rpb24tdjIvY29tcG9uZW50cy9jb25uZWN0aW9uLW1hcmtlci9tb2RlbHMvZi1jb25uZWN0aW9uLW1hcmtlci1iYXNlLnRzIl0sIm5hbWVzIjpbXSwibWFw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1YmxpYyBhYnN0cmFjdCByZWZYOiBudW1iZXI7XG5cbiAgcHVibGljIGFic3RyYWN0IHJlZlk6IG51bWJlcjtcblxuICBwdWJsaWMgYWJzdHJhY3QgdHlwZTogc3RyaW5nO1xuXG4gIHB1YmxpYyBhYnN0cmFjdCBvcmllbnQ6ICdhdXRvJyB8ICdhdXRvLXN0YXJ0LXJldmVyc2UnIHwgc3RyaW5nO1xuXG4gIHB1YmxpYyBhYnN0cmFjdCBtYXJrZXJVbml0czogJ3N0cm9rZVdpZHRoJyB8ICd1c2VyU3BhY2VPblVzZSc7XG59XG4iXX0=
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export * from './f-connection-marker-base';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi12Mi9jb21wb25lbnRzL2Nvbm5lY3Rpb24tbWFya2VyL21vZGVscy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDRCQUE0QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9mLWNvbm5lY3Rpb24tbWFya2VyLWJhc2UnO1xuIl19
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, inject } from '@angular/core';
|
|
2
|
+
import { normalizeDomElementId } from '@foblex/utils';
|
|
3
|
+
import { F_CONNECTION_PATH, FConnectionPathBase } from './models';
|
|
4
|
+
import { createConnectionDomIdentifier, createGradientDomUrl } from '../../utils';
|
|
5
|
+
import { F_CONNECTION_COMPONENTS_PARENT } from '../../models';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export class FConnectionPath extends FConnectionPathBase {
|
|
8
|
+
_connection = inject(F_CONNECTION_COMPONENTS_PARENT);
|
|
9
|
+
get fPathId() {
|
|
10
|
+
return this._connection.fId();
|
|
11
|
+
}
|
|
12
|
+
get linkToGradient() {
|
|
13
|
+
return createGradientDomUrl(this._connection.fId(), this._connection.fOutputId(), this._connection.fInputId());
|
|
14
|
+
}
|
|
15
|
+
get attrConnectionId() {
|
|
16
|
+
return createConnectionDomIdentifier(this._connection.fId(), this._connection.fOutputId(), this._connection.fInputId());
|
|
17
|
+
}
|
|
18
|
+
initialize() {
|
|
19
|
+
this.deselect();
|
|
20
|
+
}
|
|
21
|
+
setPath(path) {
|
|
22
|
+
this.hostElement.setAttribute('d', `${path}`);
|
|
23
|
+
}
|
|
24
|
+
select() {
|
|
25
|
+
this.hostElement.setAttribute('marker-start', `url(#${getMarkerSelectedStartId(this._connection.fId())})`);
|
|
26
|
+
this.hostElement.setAttribute('marker-end', `url(#${getMarkerSelectedEndId(this._connection.fId())})`);
|
|
27
|
+
}
|
|
28
|
+
deselect() {
|
|
29
|
+
this.hostElement.setAttribute('marker-start', `url(#${getMarkerStartId(this._connection.fId())})`);
|
|
30
|
+
this.hostElement.setAttribute('marker-end', `url(#${getMarkerEndId(this._connection.fId())})`);
|
|
31
|
+
}
|
|
32
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FConnectionPath, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
33
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: FConnectionPath, selector: "path[f-connection-path]", host: { properties: { "attr.id": "attrConnectionId", "attr.data-f-path-id": "fPathId", "attr.stroke": "linkToGradient" }, classAttribute: "f-component f-connection-path" }, providers: [
|
|
34
|
+
{
|
|
35
|
+
provide: F_CONNECTION_PATH,
|
|
36
|
+
useExisting: FConnectionPath,
|
|
37
|
+
},
|
|
38
|
+
], usesInheritance: true, ngImport: i0, template: '', isInline: true, styles: [":host{fill:none;pointer-events:stroke}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
39
|
+
}
|
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FConnectionPath, decorators: [{
|
|
41
|
+
type: Component,
|
|
42
|
+
args: [{ selector: 'path[f-connection-path]', template: '', changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
43
|
+
class: 'f-component f-connection-path',
|
|
44
|
+
'[attr.id]': 'attrConnectionId',
|
|
45
|
+
'[attr.data-f-path-id]': 'fPathId',
|
|
46
|
+
'[attr.stroke]': 'linkToGradient',
|
|
47
|
+
}, providers: [
|
|
48
|
+
{
|
|
49
|
+
provide: F_CONNECTION_PATH,
|
|
50
|
+
useExisting: FConnectionPath,
|
|
51
|
+
},
|
|
52
|
+
], styles: [":host{fill:none;pointer-events:stroke}\n"] }]
|
|
53
|
+
}] });
|
|
54
|
+
function getMarkerStartId(fConnectionId) {
|
|
55
|
+
return normalizeDomElementId(`f-connection-marker-start-${fConnectionId}`);
|
|
56
|
+
}
|
|
57
|
+
function getMarkerEndId(fConnectionId) {
|
|
58
|
+
return normalizeDomElementId(`f-connection-marker-end-${fConnectionId}`);
|
|
59
|
+
}
|
|
60
|
+
function getMarkerSelectedStartId(fConnectionId) {
|
|
61
|
+
return normalizeDomElementId(`f-connection-selected-marker-start-${fConnectionId}`);
|
|
62
|
+
}
|
|
63
|
+
function getMarkerSelectedEndId(fConnectionId) {
|
|
64
|
+
return normalizeDomElementId(`f-connection-selected-marker-end-${fConnectionId}`);
|
|
65
|
+
}
|
|
66
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1jb25uZWN0aW9uLXBhdGguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi12Mi9jb21wb25lbnR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3Rpb25JZH1gKTtcbn1cblxuZnVuY3Rpb24gZ2V0TWFya2VyU2VsZWN0ZWRFbmRJZChmQ29ubmVjdGlvbklkOiBzdHJpbmcpOiBzdHJpbmcge1xuICByZXR1cm4gbm9ybWFsaXplRG9tRWxlbWVudElkKGBmLWNvbm5lY3Rpb24tc2VsZWN0ZWQtbWFya2VyLWVuZC0ke2ZDb25uZWN0aW9uSWR9YCk7XG59XG4iXX0=
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './models';
|
|
2
|
+
export * from './f-connection-path';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi12Mi9jb21wb25lbnRzL2Nvbm5lY3Rpb24tcGF0aC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLFVBQVUsQ0FBQztBQUV6QixjQUFjLHFCQUFxQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9tb2RlbHMnO1xuXG5leHBvcnQgKiBmcm9tICcuL2YtY29ubmVjdGlvbi1wYXRoJztcbiJdfQ==
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ElementRef, inject, InjectionToken } from '@angular/core';
|
|
2
|
+
export const F_CONNECTION_PATH = new InjectionToken('F_CONNECTION_PATH');
|
|
3
|
+
export class FConnectionPathBase {
|
|
4
|
+
hostElement = inject((ElementRef)).nativeElement;
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1jb25uZWN0aW9uLXBhdGgtYmFzZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4u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ZvaWQ7XG5cbiAgcHVibGljIGFic3RyYWN0IGRlc2VsZWN0KCk6IHZvaWQ7XG59XG4iXX0=
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export * from './f-connection-path-base';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi12Mi9jb21wb25lbnRzL2Nvbm5lY3Rpb24tcGF0aC9tb2RlbHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYywwQkFBMEIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZi1jb25uZWN0aW9uLXBhdGgtYmFzZSc7XG4iXX0=
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, inject } from '@angular/core';
|
|
2
|
+
import { F_CONNECTION_SELECTION, FConnectionSelectionBase } from './models';
|
|
3
|
+
import { createConnectionSelectionDomIdentifier } from '../../utils';
|
|
4
|
+
import { F_CONNECTION_COMPONENTS_PARENT } from '../../models';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export class FConnectionSelection extends FConnectionSelectionBase {
|
|
7
|
+
_connection = inject(F_CONNECTION_COMPONENTS_PARENT);
|
|
8
|
+
get connectionForSelectionId() {
|
|
9
|
+
return createConnectionSelectionDomIdentifier(this._connection.fId(), this._connection.fOutputId(), this._connection.fInputId());
|
|
10
|
+
}
|
|
11
|
+
setPath(path) {
|
|
12
|
+
this.hostElement.setAttribute('d', `${path}`);
|
|
13
|
+
}
|
|
14
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FConnectionSelection, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
15
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: FConnectionSelection, selector: "path[fConnectionSelection]", host: { properties: { "attr.id": "connectionForSelectionId" }, classAttribute: "f-component f-connection-selection" }, providers: [
|
|
16
|
+
{
|
|
17
|
+
provide: F_CONNECTION_SELECTION,
|
|
18
|
+
useExisting: FConnectionSelection,
|
|
19
|
+
},
|
|
20
|
+
], usesInheritance: true, ngImport: i0, template: '', isInline: true, styles: [":host{fill:none;pointer-events:stroke}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
21
|
+
}
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FConnectionSelection, decorators: [{
|
|
23
|
+
type: Component,
|
|
24
|
+
args: [{ selector: 'path[fConnectionSelection]', template: '', changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
25
|
+
class: 'f-component f-connection-selection',
|
|
26
|
+
'[attr.id]': 'connectionForSelectionId',
|
|
27
|
+
}, providers: [
|
|
28
|
+
{
|
|
29
|
+
provide: F_CONNECTION_SELECTION,
|
|
30
|
+
useExisting: FConnectionSelection,
|
|
31
|
+
},
|
|
32
|
+
], styles: [":host{fill:none;pointer-events:stroke}\n"] }]
|
|
33
|
+
}] });
|
|
34
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1jb25uZWN0aW9uLXNlbGVjdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi1jb25uZWN0aW9uLXYyL2NvbXBvbmVudHMvY29ubmVjdGlvbi1zZWxlY3Rpb24vZi1jb25uZWN0aW9uLXNlbGVjdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsdUJBQ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W9uU2VsZWN0aW9uIGV4dGVuZHMgRkNvbm5lY3Rpb25TZWxlY3Rpb25CYXNlIHtcbiAgcHJpdmF0ZSByZWFkb25seSBfY29ubmVjdGlvbiA9IGluamVjdChGX0NPTk5FQ1RJT05fQ09NUE9ORU5UU19QQVJFTlQpO1xuXG4gIHB1YmxpYyBnZXQgY29ubmVjdGlvbkZvclNlbGVjdGlvbklkKCk6IHN0cmluZyB7XG4gICAgcmV0dXJuIGNyZWF0ZUNvbm5lY3Rpb25TZWxlY3Rpb25Eb21JZGVudGlmaWVyKFxuICAgICAgdGhpcy5fY29ubmVjdGlvbi5mSWQoKSxcbiAgICAgIHRoaXMuX2Nvbm5lY3Rpb24uZk91dHB1dElkKCksXG4gICAgICB0aGlzLl9jb25uZWN0aW9uLmZJbnB1dElkKCksXG4gICAgKTtcbiAgfVxuXG4gIHB1YmxpYyBvdmVycmlkZSBzZXRQYXRoKHBhdGg6IHN0cmluZykge1xuICAgIHRoaXMuaG9zdEVsZW1lbnQuc2V0QXR0cmlidXRlKCdkJywgYCR7cGF0aH1gKTtcbiAgfVxufVxuIl19
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './models';
|
|
2
|
+
export * from './f-connection-selection';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi12Mi9jb21wb25lbnRzL2Nvbm5lY3Rpb24tc2VsZWN0aW9uL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsVUFBVSxDQUFDO0FBQ3pCLGNBQWMsMEJBQTBCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL21vZGVscyc7XG5leHBvcnQgKiBmcm9tICcuL2YtY29ubmVjdGlvbi1zZWxlY3Rpb24nO1xuIl19
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ElementRef, inject, InjectionToken } from '@angular/core';
|
|
2
|
+
export const F_CONNECTION_SELECTION = new InjectionToken('F_CONNECTION_SELECTION');
|
|
3
|
+
export class FConnectionSelectionBase {
|
|
4
|
+
hostElement = inject((ElementRef)).nativeElement;
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1jb25uZWN0aW9uLXNlbGVjdGlvbi1iYXNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWNvbm5lY3Rpb24tdjIvY29tcG9uZW50cy9jb25uZWN0aW9uLXNlbGVjdGlvbi9tb2RlbHMvZi1jb25uZWN0aW9uLXNlbGVjdGlvbi1iYXNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxFQUFFLGNBQWMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUVuRSxNQUFNLENBQUMsTUFBTSxzQkFBc0IsR0FBRyxJQUFJLGNBQWMsQ0FDdEQsd0JBQXdCLENBQ3pCLENBQUM7QUFFRixNQUFNLE9BQWdCLHdCQUF3QjtJQUM1QixXQUFXLEdBQUcsTUFBTSxDQUFDLENBQUEsVUFBMEIsQ0FBQSxDQUFDLENBQUMsYUFBYSxDQUFDO0NBR2hGIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgRWxlbWVudFJlZiwgaW5qZWN0LCBJbmplY3Rpb25Ub2tlbiB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5leHBvcnQgY29uc3QgRl9DT05ORUNUSU9OX1NFTEVDVElPTiA9IG5ldyBJbmplY3Rpb25Ub2tlbjxGQ29ubmVjdGlvblNlbGVjdGlvbkJhc2U+KFxuICAnRl9DT05ORUNUSU9OX1NFTEVDVElPTicsXG4pO1xuXG5leHBvcnQgYWJzdHJhY3QgY2xhc3MgRkNvbm5lY3Rpb25TZWxlY3Rpb25CYXNlIHtcbiAgcHVibGljIHJlYWRvbmx5IGhvc3RFbGVtZW50ID0gaW5qZWN0KEVsZW1lbnRSZWY8U1ZHUGF0aEVsZW1lbnQ+KS5uYXRpdmVFbGVtZW50O1xuXG4gIHB1YmxpYyBhYnN0cmFjdCBzZXRQYXRoKHBhdGg6IHN0cmluZyk6IHZvaWQ7XG59XG4iXX0=
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export * from './f-connection-selection-base';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi12Mi9jb21wb25lbnRzL2Nvbm5lY3Rpb24tc2VsZWN0aW9uL21vZGVscy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLCtCQUErQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9mLWNvbm5lY3Rpb24tc2VsZWN0aW9uLWJhc2UnO1xuIl19
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { booleanAttribute, ChangeDetectionStrategy, Component, effect, inject, Injector, input, model, numberAttribute, untracked, } from '@angular/core';
|
|
2
|
+
import { F_CONNECTION_WAYPOINTS, FConnectionWaypointsBase } from './models';
|
|
3
|
+
import { NotifyDataChangedRequest } from '../../../f-storage';
|
|
4
|
+
import { FMediator } from '@foblex/mediator';
|
|
5
|
+
import { F_CONNECTION_COMPONENTS_PARENT } from '../../models';
|
|
6
|
+
import { RemoveConnectionWaypointRequest } from '../../../domain';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export class FConnectionWaypoints extends FConnectionWaypointsBase {
|
|
9
|
+
_mediator = inject(FMediator);
|
|
10
|
+
_injector = inject(Injector);
|
|
11
|
+
_connection = inject(F_CONNECTION_COMPONENTS_PARENT);
|
|
12
|
+
radius = input(4, {
|
|
13
|
+
transform: numberAttribute,
|
|
14
|
+
});
|
|
15
|
+
waypoints = model([]);
|
|
16
|
+
visibility = input(true, {
|
|
17
|
+
transform: booleanAttribute,
|
|
18
|
+
});
|
|
19
|
+
ngOnInit() {
|
|
20
|
+
this._listenChanges();
|
|
21
|
+
}
|
|
22
|
+
_listenChanges() {
|
|
23
|
+
effect(() => {
|
|
24
|
+
this.radius();
|
|
25
|
+
this.waypoints();
|
|
26
|
+
this.visibility();
|
|
27
|
+
untracked(() => this._notifyDataChanged());
|
|
28
|
+
}, { injector: this._injector });
|
|
29
|
+
}
|
|
30
|
+
_notifyDataChanged() {
|
|
31
|
+
this._mediator.execute(new NotifyDataChangedRequest());
|
|
32
|
+
}
|
|
33
|
+
remove(index, event) {
|
|
34
|
+
this._mediator.execute(new RemoveConnectionWaypointRequest(index, this._connection.fId()));
|
|
35
|
+
event.stopPropagation();
|
|
36
|
+
event.preventDefault();
|
|
37
|
+
}
|
|
38
|
+
ngOnDestroy() {
|
|
39
|
+
this._notifyDataChanged();
|
|
40
|
+
}
|
|
41
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FConnectionWaypoints, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
42
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: FConnectionWaypoints, isStandalone: true, selector: "f-connection-waypoints", inputs: { radius: { classPropertyName: "radius", publicName: "radius", isSignal: true, isRequired: false, transformFunction: null }, waypoints: { classPropertyName: "waypoints", publicName: "waypoints", isSignal: true, isRequired: false, transformFunction: null }, visibility: { classPropertyName: "visibility", publicName: "visibility", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { waypoints: "waypointsChange" }, host: { classAttribute: "f-component f-connection-waypoints" }, providers: [{ provide: F_CONNECTION_WAYPOINTS, useExisting: FConnectionWaypoints }], usesInheritance: true, ngImport: i0, template: "@if (visibility()) {\n <svg xmlns=\"http://www.w3.org/2000/svg\">\n <g>\n @for (candidate of candidates(); track $index) {\n <circle\n [attr.r]=\"radius()\"\n class=\"f-candidate\"\n [attr.cx]=\"candidate.x\"\n [attr.cy]=\"candidate.y\"\n ></circle>\n }\n @for (point of waypoints(); track $index) {\n <circle\n [attr.r]=\"radius()\"\n (contextmenu)=\"remove($index, $event)\"\n class=\"f-waypoint\"\n [attr.cx]=\"point.x\"\n [attr.cy]=\"point.y\"\n ></circle>\n }\n </g>\n </svg>\n}\n\n", styles: [":host{pointer-events:none;position:absolute}svg{display:block;vertical-align:middle;position:absolute;overflow:visible}circle{pointer-events:visible}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
43
|
+
}
|
|
44
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FConnectionWaypoints, decorators: [{
|
|
45
|
+
type: Component,
|
|
46
|
+
args: [{ selector: 'f-connection-waypoints', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
47
|
+
class: 'f-component f-connection-waypoints',
|
|
48
|
+
}, providers: [{ provide: F_CONNECTION_WAYPOINTS, useExisting: FConnectionWaypoints }], template: "@if (visibility()) {\n <svg xmlns=\"http://www.w3.org/2000/svg\">\n <g>\n @for (candidate of candidates(); track $index) {\n <circle\n [attr.r]=\"radius()\"\n class=\"f-candidate\"\n [attr.cx]=\"candidate.x\"\n [attr.cy]=\"candidate.y\"\n ></circle>\n }\n @for (point of waypoints(); track $index) {\n <circle\n [attr.r]=\"radius()\"\n (contextmenu)=\"remove($index, $event)\"\n class=\"f-waypoint\"\n [attr.cx]=\"point.x\"\n [attr.cy]=\"point.y\"\n ></circle>\n }\n </g>\n </svg>\n}\n\n", styles: [":host{pointer-events:none;position:absolute}svg{display:block;vertical-align:middle;position:absolute;overflow:visible}circle{pointer-events:visible}\n"] }]
|
|
49
|
+
}] });
|
|
50
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1jb25uZWN0aW9uLXdheXBvaW50cy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi1jb25uZWN0aW9uLXYyL2NvbXBvbmVudHMvY29ubmVjdGlvbi13YXlwb2ludHMvZi1jb25uZWN0aW9uLXdheXBvaW50cy50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi1jb25uZWN0aW9uLXYyL2NvbXBvbmVudHMvY29ubmVjdGlvbi13YXlwb2ludHMvZi1jb25uZWN0aW9uLXdheXBvaW50cy5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCxnQkFBZ0IsRUFDaEIsdUJBQXVCLEVBQ3ZCLFNBQVMsRUFDVCxNQUFNLEVBQ04sTUFBTSxFQUNOLFFBQVEsRUFDUixLQUFLLEVBQ0wsS0FBSyxFQUNMLGVBQWUsRUFHZixTQUFTLEdBQ1YsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFFLHNCQUFzQixFQUFFLHdCQUF3QixFQUFFLE1BQU0sVUFBVSxDQUFDO0FBRTVFLE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBQzlELE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQztBQUM3QyxPQUFPLEVBQUUsOEJBQThCLEVBQUUsTUFBTSxjQUFjLENBQUM7QUFDOU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vdmUoJGluZGV4LCAkZXZlbnQpXCJcbiAgICAgICAgICBjbGFzcz1cImYtd2F5cG9pbnRcIlxuICAgICAgICAgIFthdHRyLmN4XT1cInBvaW50LnhcIlxuICAgICAgICAgIFthdHRyLmN5XT1cInBvaW50LnlcIlxuICAgICAgICA+PC9jaXJjbGU+XG4gICAgICB9XG4gICAgPC9nPlxuICA8L3N2Zz5cbn1cblxuIl19
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export * from './models';
|
|
2
|
+
export * from './utils';
|
|
3
|
+
export * from './f-connection-waypoints';
|
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi12Mi9jb21wb25lbnRzL2Nvbm5lY3Rpb24td2F5cG9pbnRzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsVUFBVSxDQUFDO0FBQ3pCLGNBQWMsU0FBUyxDQUFDO0FBQ3hCLGNBQWMsMEJBQTBCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL21vZGVscyc7XG5leHBvcnQgKiBmcm9tICcuL3V0aWxzJztcbmV4cG9ydCAqIGZyb20gJy4vZi1jb25uZWN0aW9uLXdheXBvaW50cyc7XG4iXX0=
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ElementRef, inject, InjectionToken, signal } from '@angular/core';
|
|
2
|
+
import { PointExtensions } from '@foblex/2d';
|
|
3
|
+
export const F_CONNECTION_WAYPOINTS = new InjectionToken('F_CONNECTION_WAYPOINTS');
|
|
4
|
+
export class FConnectionWaypointsBase {
|
|
5
|
+
hostElement = inject((ElementRef)).nativeElement;
|
|
6
|
+
candidates = signal([]);
|
|
7
|
+
_activeIndex = 0;
|
|
8
|
+
_waypoints = [];
|
|
9
|
+
insert(candidate) {
|
|
10
|
+
const current = this.waypoints().slice();
|
|
11
|
+
this._activeIndex = Math.max(0, Math.min(this.candidates().indexOf(candidate), current.length));
|
|
12
|
+
current.splice(this._activeIndex, 0, { ...candidate });
|
|
13
|
+
this.waypoints.set(current);
|
|
14
|
+
this._waypoints = current;
|
|
15
|
+
}
|
|
16
|
+
select(waypoint) {
|
|
17
|
+
this._activeIndex = this.waypoints().findIndex((x) => PointExtensions.isEqual(waypoint, x));
|
|
18
|
+
this._waypoints = this.waypoints();
|
|
19
|
+
}
|
|
20
|
+
move(point) {
|
|
21
|
+
this._waypoints[this._activeIndex] = { ...point };
|
|
22
|
+
}
|
|
23
|
+
update() {
|
|
24
|
+
this.waypoints.set([...this._waypoints]);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1jb25uZWN0aW9uLXdheXBvaW50cy1iYXNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWNvbm5lY3Rpb24tdjIvY29tcG9uZW50cy9jb25uZWN0aW9uLXdheXBvaW50cy9tb2RlbHMvZi1jb25uZWN0aW9uLXdheXBvaW50cy1iYXNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxFQUFFLGNBQWMsRUFBZSxNQUFNLEVBQVUsTUFBTSxlQUFlLENBQUM7QUFDaEcsT0FBTyxFQUFVLGVBQWUsRUFBRSxNQUFNLFlBQVksQ0FBQztBQUVyRCxNQUFNLENBQUMsTUFBTSxzQkFBc0IsR0FBRyxJQUFJLGNBQWMsQ0FDdEQsd0JBQXdCLENBQ3pCLENBQUM7QUFFRixNQUFNLE9BQWdC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 -0,0 +1,2 @@
|
|
|
1
|
+
export * from './f-connection-waypoints-base';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi12Mi9jb21wb25lbnRzL2Nvbm5lY3Rpb24td2F5cG9pbnRzL21vZGVscy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLCtCQUErQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9mLWNvbm5lY3Rpb24td2F5cG9pbnRzLWJhc2UnO1xuIl19
|
package/esm2022/f-connection-v2/components/connection-waypoints/utils/find-existing-waypoint.mjs
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { isPointerInsidePoint } from './is-pointer-inside-point';
|
|
2
|
+
export function findExistingWaypoint(connection, position) {
|
|
3
|
+
const component = connection.fWaypoints();
|
|
4
|
+
const radius = component?.radius() || 8;
|
|
5
|
+
return component?.waypoints().find((x) => isPointerInsidePoint(position, x, radius));
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmluZC1leGlzdGluZy13YXlwb2ludC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi1jb25uZWN0aW9uLXYyL2NvbXBvbmVudHMvY29ubmVjdGlvbi13YXlwb2ludHMvdXRpbHMvZmluZC1leGlzdGluZy13YXlwb2ludC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFHQSxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSwyQkFBM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Ch4KSA9PiBpc1BvaW50ZXJJbnNpZGVQb2ludChwb3NpdGlvbiwgeCwgcmFkaXVzKSk7XG59XG4iXX0=
|
package/esm2022/f-connection-v2/components/connection-waypoints/utils/find-waypoint-candidate.mjs
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { isPointerInsidePoint } from './is-pointer-inside-point';
|
|
2
|
+
export function findWaypointCandidate(connection, position) {
|
|
3
|
+
const component = connection.fWaypoints();
|
|
4
|
+
const radius = component?.radius() || 8;
|
|
5
|
+
return component?.candidates().find((x) => isPointerInsidePoint(position, x, radius));
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmluZC13YXlwb2ludC1jYW5kaWRhdGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi12Mi9jb21wb25lbnRzL2Nvbm5lY3Rpb24td2F5cG9pbnRzL3V0aWxzL2ZpbmQtd2F5cG9pbnQtY2FuZGlkYXRlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLDJCQUEyQixDQUFDO0FBR2pFLE1BQU0sVUFBVSxxQkFBcUIsQ0FDbkMsVUFBd0UsRUFDeEUsUUFBZ0I7SUFFaEIsTUFBTSxTQUFTLEdBQUcsVUFBVSxDQUFDLFVBQVUsRUFBRSxDQUFDO0lBQzFDLE1BQU0sTUFBTSxHQUFHLFNBQVMsRUFBRSxNQUFNLEVBQUUsSUFBSSxDQUFDLENBQUM7SUFFeEMsT0FBTyxTQUFTLEVBQUUsVUFBVSxFQUFFLENBQUMsSUFBSSxDQUFDLENBQUMsQ0FBQyxFQUFFLEVBQUUsQ0FBQyxvQkFBb0IsQ0FBQyxRQUFRLEVBQUUsQ0FBQyxFQUFFLE1BQU0sQ0FBQyxDQUFDLENBQUM7QUFDeEYsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IFNpZ25hbCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgSVBvaW50IH0gZnJvbSAnQGZvYmxleC8yZCc7XG5pbXBvcnQgeyBpc1BvaW50ZXJJbnNpZGVQb2ludCB9IGZyb20gJy4vaXMtcG9pbnRlci1pbnNpZGUtcG9pbnQnO1xuaW1wb3J0IHsgRkNvbm5lY3Rpb25XYXlwb2ludHNCYXNlIH0gZnJvbSAnLi4vbW9kZWxzJztcblxuZXhwb3J0IGZ1bmN0aW9uIGZpbmRXYXlwb2ludENhbmRpZGF0ZShcbiAgY29ubmVjdGlvbjogeyBmV2F5cG9pbnRzOiBTaWduYWw8RkNvbm5lY3Rpb25XYXlwb2ludHNCYXNlIHwgdW5kZWZpbmVkPiB9LFxuICBwb3NpdGlvbjogSVBvaW50LFxuKTogSVBvaW50IHwgdW5kZWZpbmVkIHtcbiAgY29uc3QgY29tcG9uZW50ID0gY29ubmVjdGlvbi5mV2F5cG9pbnRzKCk7XG4gIGNvbnN0IHJhZGl1cyA9IGNvbXBvbmVudD8ucmFkaXVzKCkgfHwgODtcblxuICByZXR1cm4gY29tcG9uZW50Py5jYW5kaWRhdGVzKCkuZmluZCgoeCkgPT4gaXNQb2ludGVySW5zaWRlUG9pbnQocG9zaXRpb24sIHgsIHJhZGl1cykpO1xufVxuIl19
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export * from './find-waypoint-candidate';
|
|
2
|
+
export * from './pick-waypoint';
|
|
3
|
+
export * from './find-existing-waypoint';
|
|
4
|
+
export * from './is-pointer-inside-point';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi12Mi9jb21wb25lbnRzL2Nvbm5lY3Rpb24td2F5cG9pbnRzL3V0aWxzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsMkJBQTJCLENBQUM7QUFDMUMsY0FBYyxpQkFBaUIsQ0FBQztBQUNoQyxjQUFjLDBCQUEwQixDQUFDO0FBQ3pDLGNBQWMsMkJBQTJCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2ZpbmQtd2F5cG9pbnQtY2FuZGlkYXRlJztcbmV4cG9ydCAqIGZyb20gJy4vcGljay13YXlwb2ludCc7XG5leHBvcnQgKiBmcm9tICcuL2ZpbmQtZXhpc3Rpbmctd2F5cG9pbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9pcy1wb2ludGVyLWluc2lkZS1wb2ludCc7XG4iXX0=
|
package/esm2022/f-connection-v2/components/connection-waypoints/utils/is-pointer-inside-point.mjs
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export function isPointerInsidePoint(point, circleCenter, radius) {
|
|
2
|
+
return (point.x - circleCenter.x) ** 2 + (point.y - circleCenter.y) ** 2 <= radius ** 2;
|
|
3
|
+
}
|
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXMtcG9pbnRlci1pbnNpZGUtcG9pbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi12Mi9jb21wb25lbnRzL2Nvbm5lY3Rpb24td2F5cG9pbnRzL3V0aWxzL2lzLXBvaW50ZXItaW5zaWRlLXBvaW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE1BQU0sVUFBVSxvQkFBb0IsQ0FBQyxLQUFhLEVBQUUsWUFBb0IsRUFBRSxNQUFjO0lBQ3RGLE9BQU8sQ0FBQyxLQUFLLENBQUMsQ0FBQyxHQUFHLFlBQVksQ0FBQyxDQUFDLENBQUMsSUFBSSxDQUFDLEdBQUcsQ0FBQyxLQUFLLENBQUMsQ0FBQyxHQUFHLFlBQVksQ0FBQyxDQUFDLENBQUMsSUFBSSxDQUFDLElBQUksTUFBTSxJQUFJLENBQUMsQ0FBQztBQUMxRixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSVBvaW50IH0gZnJvbSAnQGZvYmxleC8yZCc7XG5cbmV4cG9ydCBmdW5jdGlvbiBpc1BvaW50ZXJJbnNpZGVQb2ludChwb2ludDogSVBvaW50LCBjaXJjbGVDZW50ZXI6IElQb2ludCwgcmFkaXVzOiBudW1iZXIpOiBib29sZWFuIHtcbiAgcmV0dXJuIChwb2ludC54IC0gY2lyY2xlQ2VudGVyLngpICoqIDIgKyAocG9pbnQueSAtIGNpcmNsZUNlbnRlci55KSAqKiAyIDw9IHJhZGl1cyAqKiAyO1xufVxuIl19
|