@foblex/flow 18.4.0 → 18.6.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/README.md +4 -3
- package/fesm2022/foblex-flow.mjs +7271 -5099
- package/fesm2022/foblex-flow.mjs.map +1 -1
- package/index.d.ts +8196 -3
- package/package.json +1 -3
- package/schematics/ng-add/index.js.map +1 -1
- package/schematics/ng-update/index.js.map +1 -1
- package/schematics/shared/foblex-dependencies.js.map +1 -1
- package/styles/domains/_connector.scss +11 -3
- package/styles/domains/_node-group.scss +65 -8
- package/styles/tokens/_ff-aliases.scss +23 -8
- package/domain/create-dom-element.d.ts +0 -2
- package/domain/css-cls.d.ts +0 -17
- package/domain/f-background/add-pattern-to-background/add-pattern-to-background-request.d.ts +0 -6
- package/domain/f-background/add-pattern-to-background/add-pattern-to-background.d.ts +0 -15
- package/domain/f-background/add-pattern-to-background/index.d.ts +0 -2
- package/domain/f-background/index.d.ts +0 -3
- package/domain/f-background/providers.d.ts +0 -7
- package/domain/f-background/set-background-transform/index.d.ts +0 -2
- package/domain/f-background/set-background-transform/set-background-transform-request.d.ts +0 -6
- package/domain/f-background/set-background-transform/set-background-transform.d.ts +0 -12
- package/domain/f-canvas/add-canvas-to-store/add-canvas-to-store-request.d.ts +0 -6
- package/domain/f-canvas/add-canvas-to-store/add-canvas-to-store.d.ts +0 -12
- package/domain/f-canvas/add-canvas-to-store/index.d.ts +0 -2
- package/domain/f-canvas/center-group-or-node/center-group-or-node-request.d.ts +0 -6
- package/domain/f-canvas/center-group-or-node/center-group-or-node.d.ts +0 -17
- package/domain/f-canvas/center-group-or-node/index.d.ts +0 -2
- package/domain/f-canvas/fit-to-flow/fit-to-flow-request.d.ts +0 -7
- package/domain/f-canvas/fit-to-flow/fit-to-flow.d.ts +0 -17
- package/domain/f-canvas/fit-to-flow/index.d.ts +0 -2
- package/domain/f-canvas/index.d.ts +0 -11
- package/domain/f-canvas/input-canvas-position/index.d.ts +0 -2
- package/domain/f-canvas/input-canvas-position/input-canvas-position-request.d.ts +0 -7
- package/domain/f-canvas/input-canvas-position/input-canvas-position.d.ts +0 -13
- package/domain/f-canvas/input-canvas-scale/index.d.ts +0 -2
- package/domain/f-canvas/input-canvas-scale/input-canvas-scale-request.d.ts +0 -7
- package/domain/f-canvas/input-canvas-scale/input-canvas-scale.d.ts +0 -13
- package/domain/f-canvas/providers.d.ts +0 -14
- package/domain/f-canvas/redraw-canvas-with-animation/index.d.ts +0 -2
- package/domain/f-canvas/redraw-canvas-with-animation/redraw-canvas-with-animation-request.d.ts +0 -5
- package/domain/f-canvas/redraw-canvas-with-animation/redraw-canvas-with-animation.d.ts +0 -17
- package/domain/f-canvas/remove-canvas-from-store/index.d.ts +0 -2
- package/domain/f-canvas/remove-canvas-from-store/remove-canvas-from-store-request.d.ts +0 -3
- package/domain/f-canvas/remove-canvas-from-store/remove-canvas-from-store.d.ts +0 -12
- package/domain/f-canvas/reset-scale/index.d.ts +0 -2
- package/domain/f-canvas/reset-scale/reset-scale-request.d.ts +0 -3
- package/domain/f-canvas/reset-scale/reset-scale.d.ts +0 -13
- package/domain/f-canvas/reset-scale-and-center/index.d.ts +0 -2
- package/domain/f-canvas/reset-scale-and-center/reset-scale-and-center-request.d.ts +0 -5
- package/domain/f-canvas/reset-scale-and-center/reset-scale-and-center.d.ts +0 -17
- package/domain/f-canvas/update-scale/index.d.ts +0 -2
- package/domain/f-canvas/update-scale/update-scale-request.d.ts +0 -7
- package/domain/f-canvas/update-scale/update-scale.d.ts +0 -14
- package/domain/f-connection/add-connection-for-create-to-store/add-connection-for-create-to-store-request.d.ts +0 -6
- package/domain/f-connection/add-connection-for-create-to-store/add-connection-for-create-to-store.d.ts +0 -12
- package/domain/f-connection/add-connection-for-create-to-store/index.d.ts +0 -2
- package/domain/f-connection/add-connection-marker-to-store/add-connection-marker-to-store-request.d.ts +0 -6
- package/domain/f-connection/add-connection-marker-to-store/add-connection-marker-to-store.d.ts +0 -12
- package/domain/f-connection/add-connection-marker-to-store/index.d.ts +0 -2
- package/domain/f-connection/add-connection-to-store/add-connection-to-store-request.d.ts +0 -6
- package/domain/f-connection/add-connection-to-store/add-connection-to-store.d.ts +0 -12
- package/domain/f-connection/add-connection-to-store/index.d.ts +0 -2
- package/domain/f-connection/add-snap-connection-to-store/add-snap-connection-to-store-request.d.ts +0 -6
- package/domain/f-connection/add-snap-connection-to-store/add-snap-connection-to-store.d.ts +0 -12
- package/domain/f-connection/add-snap-connection-to-store/index.d.ts +0 -2
- package/domain/f-connection/create-connection-markers/create-connection-markers-request.d.ts +0 -6
- package/domain/f-connection/create-connection-markers/create-connection-markers.d.ts +0 -17
- package/domain/f-connection/create-connection-markers/index.d.ts +0 -2
- package/domain/f-connection/index.d.ts +0 -13
- package/domain/f-connection/providers.d.ts +0 -16
- package/domain/f-connection/redraw-connections/index.d.ts +0 -2
- package/domain/f-connection/redraw-connections/redraw-connections-request.d.ts +0 -3
- package/domain/f-connection/redraw-connections/redraw-connections.d.ts +0 -39
- package/domain/f-connection/remove-connection-for-create-from-store/index.d.ts +0 -2
- package/domain/f-connection/remove-connection-for-create-from-store/remove-connection-for-create-from-store-request.d.ts +0 -3
- package/domain/f-connection/remove-connection-for-create-from-store/remove-connection-for-create-from-store.d.ts +0 -12
- package/domain/f-connection/remove-connection-from-store/index.d.ts +0 -2
- package/domain/f-connection/remove-connection-from-store/remove-connection-from-store-request.d.ts +0 -6
- package/domain/f-connection/remove-connection-from-store/remove-connection-from-store.d.ts +0 -9
- package/domain/f-connection/remove-connection-marker-from-store/index.d.ts +0 -2
- package/domain/f-connection/remove-connection-marker-from-store/remove-connection-marker-from-store-request.d.ts +0 -6
- package/domain/f-connection/remove-connection-marker-from-store/remove-connection-marker-from-store.d.ts +0 -12
- package/domain/f-connection/remove-connection-waypoint/index.d.ts +0 -2
- package/domain/f-connection/remove-connection-waypoint/remove-connection-waypoint-request.d.ts +0 -6
- package/domain/f-connection/remove-connection-waypoint/remove-connection-waypoint.d.ts +0 -10
- package/domain/f-connection/remove-snap-connection-from-store/index.d.ts +0 -2
- package/domain/f-connection/remove-snap-connection-from-store/remove-snap-connection-from-store-request.d.ts +0 -3
- package/domain/f-connection/remove-snap-connection-from-store/remove-snap-connection-from-store.d.ts +0 -12
- package/domain/f-connection/resolve-connection-endpoint-rotation-context/index.d.ts +0 -2
- package/domain/f-connection/resolve-connection-endpoint-rotation-context/resolve-connection-endpoint-rotation-context-request.d.ts +0 -8
- package/domain/f-connection/resolve-connection-endpoint-rotation-context/resolve-connection-endpoint-rotation-context.d.ts +0 -10
- package/domain/f-connectors/add-connector-to-store/add-connector-to-store-request.d.ts +0 -6
- package/domain/f-connectors/add-connector-to-store/add-connector-to-store.d.ts +0 -17
- package/domain/f-connectors/add-connector-to-store/index.d.ts +0 -2
- package/domain/f-connectors/calculate-closest-connector/calculate-closest-connector-request.d.ts +0 -8
- package/domain/f-connectors/calculate-closest-connector/calculate-closest-connector.d.ts +0 -14
- package/domain/f-connectors/calculate-closest-connector/index.d.ts +0 -2
- package/domain/f-connectors/calculate-source-connectors-to-connect/calculate-source-connectors-to-connect-request.d.ts +0 -8
- package/domain/f-connectors/calculate-source-connectors-to-connect/calculate-source-connectors-to-connect.d.ts +0 -21
- package/domain/f-connectors/calculate-source-connectors-to-connect/index.d.ts +0 -2
- package/domain/f-connectors/calculate-target-connectors-to-connect/calculate-target-connectors-to-connect-request.d.ts +0 -8
- package/domain/f-connectors/calculate-target-connectors-to-connect/calculate-target-connectors-to-connect.d.ts +0 -21
- package/domain/f-connectors/calculate-target-connectors-to-connect/index.d.ts +0 -2
- package/domain/f-connectors/find-connectable-connector-using-priority-and-position/find-connectable-connector-using-priority-and-position-request.d.ts +0 -8
- package/domain/f-connectors/find-connectable-connector-using-priority-and-position/find-connectable-connector-using-priority-and-position.d.ts +0 -30
- package/domain/f-connectors/find-connectable-connector-using-priority-and-position/index.d.ts +0 -2
- package/domain/f-connectors/get-connector-rect-reference/get-connector-rect-reference-request.d.ts +0 -6
- package/domain/f-connectors/get-connector-rect-reference/get-connector-rect-reference.d.ts +0 -14
- package/domain/f-connectors/get-connector-rect-reference/index.d.ts +0 -2
- package/domain/f-connectors/i-closest-connector-ref.d.ts +0 -8
- package/domain/f-connectors/i-connector-rect-ref.d.ts +0 -6
- package/domain/f-connectors/index.d.ts +0 -12
- package/domain/f-connectors/mark-connectable-connectors/index.d.ts +0 -2
- package/domain/f-connectors/mark-connectable-connectors/mark-connectable-connectors-request.d.ts +0 -6
- package/domain/f-connectors/mark-connectable-connectors/mark-connectable-connectors.d.ts +0 -13
- package/domain/f-connectors/providers.d.ts +0 -10
- package/domain/f-connectors/remove-connector-from-store/index.d.ts +0 -2
- package/domain/f-connectors/remove-connector-from-store/remove-connector-from-store-request.d.ts +0 -6
- package/domain/f-connectors/remove-connector-from-store/remove-connector-from-store.d.ts +0 -17
- package/domain/f-connectors/unmark-connectable-connectors/index.d.ts +0 -2
- package/domain/f-connectors/unmark-connectable-connectors/unmark-connectable-connectors-request.d.ts +0 -6
- package/domain/f-connectors/unmark-connectable-connectors/unmark-connectable-connectors.d.ts +0 -13
- package/domain/f-draggable/add-dnd-to-store/add-dnd-to-store-request.d.ts +0 -6
- package/domain/f-draggable/add-dnd-to-store/add-dnd-to-store.d.ts +0 -12
- package/domain/f-draggable/add-dnd-to-store/index.d.ts +0 -2
- package/domain/f-draggable/index.d.ts +0 -7
- package/domain/f-draggable/initialize-drag-sequence/index.d.ts +0 -2
- package/domain/f-draggable/initialize-drag-sequence/initialize-drag-sequence-request.d.ts +0 -3
- package/domain/f-draggable/initialize-drag-sequence/initialize-drag-sequence.d.ts +0 -12
- package/domain/f-draggable/is-drag-started/index.d.ts +0 -2
- package/domain/f-draggable/is-drag-started/is-drag-started-request.d.ts +0 -3
- package/domain/f-draggable/is-drag-started/is-drag-started.d.ts +0 -12
- package/domain/f-draggable/on-pointer-move/index.d.ts +0 -2
- package/domain/f-draggable/on-pointer-move/on-pointer-move-request.d.ts +0 -6
- package/domain/f-draggable/on-pointer-move/on-pointer-move.d.ts +0 -20
- package/domain/f-draggable/prepare-drag-sequence/index.d.ts +0 -2
- package/domain/f-draggable/prepare-drag-sequence/prepare-drag-sequence-request.d.ts +0 -3
- package/domain/f-draggable/prepare-drag-sequence/prepare-drag-sequence.d.ts +0 -14
- package/domain/f-draggable/providers.d.ts +0 -10
- package/domain/f-draggable/remove-dnd-from-store/index.d.ts +0 -2
- package/domain/f-draggable/remove-dnd-from-store/remove-dnd-from-store-request.d.ts +0 -3
- package/domain/f-draggable/remove-dnd-from-store/remove-dnd-from-store.d.ts +0 -12
- package/domain/f-event-trigger.d.ts +0 -4
- package/domain/f-flow/add-flow-to-store/add-flow-to-store-request.d.ts +0 -6
- package/domain/f-flow/add-flow-to-store/add-flow-to-store.d.ts +0 -12
- package/domain/f-flow/add-flow-to-store/index.d.ts +0 -2
- package/domain/f-flow/calculate-flow-state/calculate-connections-state/calculate-connections-state-request.d.ts +0 -3
- package/domain/f-flow/calculate-flow-state/calculate-connections-state/calculate-connections-state.d.ts +0 -14
- package/domain/f-flow/calculate-flow-state/calculate-connections-state/index.d.ts +0 -2
- package/domain/f-flow/calculate-flow-state/calculate-flow-state-request.d.ts +0 -3
- package/domain/f-flow/calculate-flow-state/calculate-flow-state.d.ts +0 -17
- package/domain/f-flow/calculate-flow-state/calculate-nodes-state/calculate-nodes-state-request.d.ts +0 -6
- package/domain/f-flow/calculate-flow-state/calculate-nodes-state/calculate-nodes-state.d.ts +0 -15
- package/domain/f-flow/calculate-flow-state/calculate-nodes-state/index.d.ts +0 -2
- package/domain/f-flow/calculate-flow-state/i-f-flow-state-connection.d.ts +0 -13
- package/domain/f-flow/calculate-flow-state/i-f-flow-state-connector.d.ts +0 -5
- package/domain/f-flow/calculate-flow-state/i-f-flow-state-node.d.ts +0 -12
- package/domain/f-flow/calculate-flow-state/i-f-flow-state.d.ts +0 -10
- package/domain/f-flow/calculate-flow-state/index.d.ts +0 -9
- package/domain/f-flow/calculate-flow-state/providers.d.ts +0 -7
- package/domain/f-flow/get-flow/get-flow-request.d.ts +0 -3
- package/domain/f-flow/get-flow/get-flow.d.ts +0 -13
- package/domain/f-flow/get-flow/index.d.ts +0 -2
- package/domain/f-flow/index.d.ts +0 -5
- package/domain/f-flow/providers.d.ts +0 -9
- package/domain/f-flow/remove-flow-from-store/index.d.ts +0 -2
- package/domain/f-flow/remove-flow-from-store/remove-flow-from-store-request.d.ts +0 -3
- package/domain/f-flow/remove-flow-from-store/remove-flow-from-store.d.ts +0 -12
- package/domain/f-node/add-node-to-store/add-node-to-store-request.d.ts +0 -6
- package/domain/f-node/add-node-to-store/add-node-to-store.d.ts +0 -13
- package/domain/f-node/add-node-to-store/index.d.ts +0 -2
- package/domain/f-node/calculate-connectors-connectable-sides/calculate-connectable-side-by-connected-positions/calculate-connectable-side-by-connected-positions-request.d.ts +0 -8
- package/domain/f-node/calculate-connectors-connectable-sides/calculate-connectable-side-by-connected-positions/calculate-connectable-side-by-connected-positions.d.ts +0 -22
- package/domain/f-node/calculate-connectors-connectable-sides/calculate-connectable-side-by-connected-positions/index.d.ts +0 -2
- package/domain/f-node/calculate-connectors-connectable-sides/calculate-connectable-side-by-internal-position/calculate-connectable-side-by-internal-position-request.d.ts +0 -6
- package/domain/f-node/calculate-connectors-connectable-sides/calculate-connectable-side-by-internal-position/calculate-connectable-side-by-internal-position.d.ts +0 -52
- package/domain/f-node/calculate-connectors-connectable-sides/calculate-connectable-side-by-internal-position/index.d.ts +0 -2
- package/domain/f-node/calculate-connectors-connectable-sides/calculate-connectors-connectable-sides-request.d.ts +0 -6
- package/domain/f-node/calculate-connectors-connectable-sides/calculate-connectors-connectable-sides.d.ts +0 -22
- package/domain/f-node/calculate-connectors-connectable-sides/constants/calculatable-sides.d.ts +0 -6
- package/domain/f-node/calculate-connectors-connectable-sides/constants/index.d.ts +0 -1
- package/domain/f-node/calculate-connectors-connectable-sides/index.d.ts +0 -7
- package/domain/f-node/calculate-connectors-connectable-sides/models/index.d.ts +0 -1
- package/domain/f-node/calculate-connectors-connectable-sides/models/t-calculate-mode.d.ts +0 -2
- package/domain/f-node/calculate-connectors-connectable-sides/utils/determine-side.d.ts +0 -10
- package/domain/f-node/calculate-connectors-connectable-sides/utils/index.d.ts +0 -2
- package/domain/f-node/calculate-connectors-connectable-sides/utils/is-calculate-mode.d.ts +0 -7
- package/domain/f-node/calculate-input-connections/calculate-input-connections-request.d.ts +0 -6
- package/domain/f-node/calculate-input-connections/calculate-input-connections.d.ts +0 -15
- package/domain/f-node/calculate-input-connections/index.d.ts +0 -2
- package/domain/f-node/calculate-nodes-bounding-box/calculate-nodes-bounding-box-request.d.ts +0 -3
- package/domain/f-node/calculate-nodes-bounding-box/calculate-nodes-bounding-box.d.ts +0 -15
- package/domain/f-node/calculate-nodes-bounding-box/index.d.ts +0 -2
- package/domain/f-node/calculate-nodes-bounding-box-normalized-position/calculate-nodes-bounding-box-normalized-position-request.d.ts +0 -6
- package/domain/f-node/calculate-nodes-bounding-box-normalized-position/calculate-nodes-bounding-box-normalized-position.d.ts +0 -19
- package/domain/f-node/calculate-nodes-bounding-box-normalized-position/index.d.ts +0 -2
- package/domain/f-node/calculate-output-connections/calculate-output-connections-request.d.ts +0 -6
- package/domain/f-node/calculate-output-connections/calculate-output-connections.d.ts +0 -15
- package/domain/f-node/calculate-output-connections/index.d.ts +0 -2
- package/domain/f-node/fit-to-child-nodes-and-groups/fit-to-child-nodes-and-groups-request.d.ts +0 -6
- package/domain/f-node/fit-to-child-nodes-and-groups/fit-to-child-nodes-and-groups.d.ts +0 -16
- package/domain/f-node/fit-to-child-nodes-and-groups/index.d.ts +0 -2
- package/domain/f-node/get-child-node-ids/get-child-node-ids-request.d.ts +0 -5
- package/domain/f-node/get-child-node-ids/get-child-node-ids.d.ts +0 -14
- package/domain/f-node/get-child-node-ids/index.d.ts +0 -2
- package/domain/f-node/get-node-padding/get-node-padding-request.d.ts +0 -8
- package/domain/f-node/get-node-padding/get-node-padding.d.ts +0 -19
- package/domain/f-node/get-node-padding/index.d.ts +0 -2
- package/domain/f-node/get-parent-nodes/get-parent-nodes-request.d.ts +0 -6
- package/domain/f-node/get-parent-nodes/get-parent-nodes.d.ts +0 -14
- package/domain/f-node/get-parent-nodes/index.d.ts +0 -2
- package/domain/f-node/index.d.ts +0 -13
- package/domain/f-node/providers.d.ts +0 -16
- package/domain/f-node/remove-node-from-store/index.d.ts +0 -2
- package/domain/f-node/remove-node-from-store/remove-node-from-store-request.d.ts +0 -6
- package/domain/f-node/remove-node-from-store/remove-node-from-store.d.ts +0 -13
- package/domain/f-node/update-node-when-state-or-size-changed/index.d.ts +0 -2
- package/domain/f-node/update-node-when-state-or-size-changed/update-node-when-state-or-size-changed-request.d.ts +0 -8
- package/domain/f-node/update-node-when-state-or-size-changed/update-node-when-state-or-size-changed.d.ts +0 -18
- package/domain/f-selection/calculate-selectable-items/calculate-selectable-items-request.d.ts +0 -3
- package/domain/f-selection/calculate-selectable-items/calculate-selectable-items.d.ts +0 -27
- package/domain/f-selection/calculate-selectable-items/i-can-be-selected-element-and-rect.d.ts +0 -6
- package/domain/f-selection/calculate-selectable-items/index.d.ts +0 -3
- package/domain/f-selection/clear-selection/clear-selection-request.d.ts +0 -3
- package/domain/f-selection/clear-selection/clear-selection.d.ts +0 -12
- package/domain/f-selection/clear-selection/index.d.ts +0 -2
- package/domain/f-selection/get-current-selection/get-current-selection-request.d.ts +0 -3
- package/domain/f-selection/get-current-selection/get-current-selection.d.ts +0 -16
- package/domain/f-selection/get-current-selection/i-current-selection.d.ts +0 -5
- package/domain/f-selection/get-current-selection/index.d.ts +0 -3
- package/domain/f-selection/index.d.ts +0 -7
- package/domain/f-selection/providers.d.ts +0 -10
- package/domain/f-selection/select-all/index.d.ts +0 -2
- package/domain/f-selection/select-all/select-all-request.d.ts +0 -3
- package/domain/f-selection/select-all/select-all.d.ts +0 -14
- package/domain/f-selection/select-and-update-node-layer/index.d.ts +0 -2
- package/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer-request.d.ts +0 -6
- package/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.d.ts +0 -16
- package/domain/f-selection/select-items/index.d.ts +0 -2
- package/domain/f-selection/select-items/select-request.d.ts +0 -7
- package/domain/f-selection/select-items/select.d.ts +0 -13
- package/domain/f-zoom/index.d.ts +0 -3
- package/domain/f-zoom/providers.d.ts +0 -8
- package/domain/f-zoom/reset-zoom/index.d.ts +0 -2
- package/domain/f-zoom/reset-zoom/reset-zoom-request.d.ts +0 -3
- package/domain/f-zoom/reset-zoom/reset-zoom.d.ts +0 -13
- package/domain/f-zoom/set-zoom/index.d.ts +0 -2
- package/domain/f-zoom/set-zoom/set-zoom-request.d.ts +0 -9
- package/domain/f-zoom/set-zoom/set-zoom.d.ts +0 -23
- package/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups-request.d.ts +0 -5
- package/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.d.ts +0 -15
- package/domain/get-deep-children-nodes-and-groups/index.d.ts +0 -2
- package/domain/get-normalized-connector-rect/get-normalized-connector-rect-request.d.ts +0 -6
- package/domain/get-normalized-connector-rect/get-normalized-connector-rect.d.ts +0 -34
- package/domain/get-normalized-connector-rect/index.d.ts +0 -2
- package/domain/get-normalized-element-rect/get-normalized-element-rect-request.d.ts +0 -5
- package/domain/get-normalized-element-rect/get-normalized-element-rect.d.ts +0 -22
- package/domain/get-normalized-element-rect/index.d.ts +0 -2
- package/domain/get-normalized-point/get-normalized-point-request.d.ts +0 -6
- package/domain/get-normalized-point/get-normalized-point.d.ts +0 -15
- package/domain/get-normalized-point/index.d.ts +0 -2
- package/domain/index.d.ts +0 -24
- package/domain/is-mobile.d.ts +0 -1
- package/domain/log-deprecated.d.ts +0 -1
- package/domain/log-execution-time.d.ts +0 -1
- package/domain/minimap/f-minimap-state.d.ts +0 -7
- package/domain/minimap/index.d.ts +0 -5
- package/domain/minimap/minimap-calculate-view-rect/index.d.ts +0 -2
- package/domain/minimap/minimap-calculate-view-rect/minimap-calculate-view-rect-request.d.ts +0 -3
- package/domain/minimap/minimap-calculate-view-rect/minimap-calculate-view-rect.d.ts +0 -10
- package/domain/minimap/minimap-calculate-viewport/i-minimap-viewport.d.ts +0 -5
- package/domain/minimap/minimap-calculate-viewport/index.d.ts +0 -3
- package/domain/minimap/minimap-calculate-viewport/minimap-calculate-viewport-request.d.ts +0 -6
- package/domain/minimap/minimap-calculate-viewport/minimap-calculate-viewport.d.ts +0 -17
- package/domain/minimap/minimap-draw-nodes/index.d.ts +0 -2
- package/domain/minimap/minimap-draw-nodes/minimap-draw-nodes-request.d.ts +0 -3
- package/domain/minimap/minimap-draw-nodes/minimap-draw-nodes.d.ts +0 -13
- package/domain/minimap/providers.d.ts +0 -4
- package/domain/providers.d.ts +0 -13
- package/domain/sort-item-layers/index.d.ts +0 -4
- package/domain/sort-item-layers/sort-item-layers-request.d.ts +0 -3
- package/domain/sort-item-layers/sort-item-layers.d.ts +0 -18
- package/domain/sort-item-layers/sort-items-by-parent/index.d.ts +0 -2
- package/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent-request.d.ts +0 -5
- package/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.d.ts +0 -20
- package/domain/sort-item-layers/sort-node-layers-by-groups/index.d.ts +0 -2
- package/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers-request.d.ts +0 -3
- package/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.d.ts +0 -24
- package/domain/transition-end.d.ts +0 -1
- package/domain/update-item-and-children-layers/index.d.ts +0 -3
- package/domain/update-item-and-children-layers/move-front-elements-before-target-element/index.d.ts +0 -2
- package/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element-request.d.ts +0 -9
- package/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element.d.ts +0 -12
- package/domain/update-item-and-children-layers/update-item-and-children-layers-request.d.ts +0 -7
- package/domain/update-item-and-children-layers/update-item-and-children-layers.d.ts +0 -26
- package/drag-toolkit/drag-and-drop-base.d.ts +0 -98
- package/drag-toolkit/event.extensions.d.ts +0 -9
- package/drag-toolkit/index.d.ts +0 -3
- package/drag-toolkit/pointer-events/i-mouse-event.d.ts +0 -10
- package/drag-toolkit/pointer-events/i-pointer-event.d.ts +0 -18
- package/drag-toolkit/pointer-events/i-pointer-up-event.d.ts +0 -12
- package/drag-toolkit/pointer-events/i-touch-down-event.d.ts +0 -10
- package/drag-toolkit/pointer-events/i-touch-move-event.d.ts +0 -10
- package/drag-toolkit/pointer-events/index.d.ts +0 -5
- package/esm2022/domain/create-dom-element.mjs +0 -4
- package/esm2022/domain/css-cls.mjs +0 -19
- package/esm2022/domain/f-background/add-pattern-to-background/add-pattern-to-background-request.mjs +0 -8
- package/esm2022/domain/f-background/add-pattern-to-background/add-pattern-to-background.mjs +0 -56
- package/esm2022/domain/f-background/add-pattern-to-background/index.mjs +0 -3
- package/esm2022/domain/f-background/index.mjs +0 -4
- package/esm2022/domain/f-background/providers.mjs +0 -11
- package/esm2022/domain/f-background/set-background-transform/index.mjs +0 -3
- package/esm2022/domain/f-background/set-background-transform/set-background-transform-request.mjs +0 -8
- package/esm2022/domain/f-background/set-background-transform/set-background-transform.mjs +0 -25
- package/esm2022/domain/f-canvas/add-canvas-to-store/add-canvas-to-store-request.mjs +0 -8
- package/esm2022/domain/f-canvas/add-canvas-to-store/add-canvas-to-store.mjs +0 -25
- package/esm2022/domain/f-canvas/add-canvas-to-store/index.mjs +0 -3
- package/esm2022/domain/f-canvas/center-group-or-node/center-group-or-node-request.mjs +0 -10
- package/esm2022/domain/f-canvas/center-group-or-node/center-group-or-node.mjs +0 -46
- package/esm2022/domain/f-canvas/center-group-or-node/index.mjs +0 -3
- package/esm2022/domain/f-canvas/fit-to-flow/fit-to-flow-request.mjs +0 -10
- package/esm2022/domain/f-canvas/fit-to-flow/fit-to-flow.mjs +0 -58
- package/esm2022/domain/f-canvas/fit-to-flow/index.mjs +0 -3
- package/esm2022/domain/f-canvas/index.mjs +0 -12
- package/esm2022/domain/f-canvas/input-canvas-position/index.mjs +0 -3
- package/esm2022/domain/f-canvas/input-canvas-position/input-canvas-position-request.mjs +0 -10
- package/esm2022/domain/f-canvas/input-canvas-position/input-canvas-position.mjs +0 -36
- package/esm2022/domain/f-canvas/input-canvas-scale/index.mjs +0 -3
- package/esm2022/domain/f-canvas/input-canvas-scale/input-canvas-scale-request.mjs +0 -10
- package/esm2022/domain/f-canvas/input-canvas-scale/input-canvas-scale.mjs +0 -30
- package/esm2022/domain/f-canvas/providers.mjs +0 -26
- package/esm2022/domain/f-canvas/redraw-canvas-with-animation/index.mjs +0 -3
- package/esm2022/domain/f-canvas/redraw-canvas-with-animation/redraw-canvas-with-animation-request.mjs +0 -8
- package/esm2022/domain/f-canvas/redraw-canvas-with-animation/redraw-canvas-with-animation.mjs +0 -40
- package/esm2022/domain/f-canvas/remove-canvas-from-store/index.mjs +0 -3
- package/esm2022/domain/f-canvas/remove-canvas-from-store/remove-canvas-from-store-request.mjs +0 -4
- package/esm2022/domain/f-canvas/remove-canvas-from-store/remove-canvas-from-store.mjs +0 -25
- package/esm2022/domain/f-canvas/reset-scale/index.mjs +0 -3
- package/esm2022/domain/f-canvas/reset-scale/reset-scale-request.mjs +0 -4
- package/esm2022/domain/f-canvas/reset-scale/reset-scale.mjs +0 -30
- package/esm2022/domain/f-canvas/reset-scale-and-center/index.mjs +0 -3
- package/esm2022/domain/f-canvas/reset-scale-and-center/reset-scale-and-center-request.mjs +0 -8
- package/esm2022/domain/f-canvas/reset-scale-and-center/reset-scale-and-center.mjs +0 -50
- package/esm2022/domain/f-canvas/update-scale/index.mjs +0 -3
- package/esm2022/domain/f-canvas/update-scale/update-scale-request.mjs +0 -10
- package/esm2022/domain/f-canvas/update-scale/update-scale.mjs +0 -37
- package/esm2022/domain/f-connection/add-connection-for-create-to-store/add-connection-for-create-to-store-request.mjs +0 -8
- package/esm2022/domain/f-connection/add-connection-for-create-to-store/add-connection-for-create-to-store.mjs +0 -25
- package/esm2022/domain/f-connection/add-connection-for-create-to-store/index.mjs +0 -3
- package/esm2022/domain/f-connection/add-connection-marker-to-store/add-connection-marker-to-store-request.mjs +0 -8
- package/esm2022/domain/f-connection/add-connection-marker-to-store/add-connection-marker-to-store.mjs +0 -26
- package/esm2022/domain/f-connection/add-connection-marker-to-store/index.mjs +0 -3
- package/esm2022/domain/f-connection/add-connection-to-store/add-connection-to-store-request.mjs +0 -8
- package/esm2022/domain/f-connection/add-connection-to-store/add-connection-to-store.mjs +0 -26
- package/esm2022/domain/f-connection/add-connection-to-store/index.mjs +0 -3
- package/esm2022/domain/f-connection/add-snap-connection-to-store/add-snap-connection-to-store-request.mjs +0 -8
- package/esm2022/domain/f-connection/add-snap-connection-to-store/add-snap-connection-to-store.mjs +0 -25
- package/esm2022/domain/f-connection/add-snap-connection-to-store/index.mjs +0 -3
- package/esm2022/domain/f-connection/create-connection-markers/create-connection-markers-request.mjs +0 -8
- package/esm2022/domain/f-connection/create-connection-markers/create-connection-markers.mjs +0 -93
- package/esm2022/domain/f-connection/create-connection-markers/index.mjs +0 -3
- package/esm2022/domain/f-connection/index.mjs +0 -14
- package/esm2022/domain/f-connection/providers.mjs +0 -30
- package/esm2022/domain/f-connection/redraw-connections/index.mjs +0 -3
- package/esm2022/domain/f-connection/redraw-connections/redraw-connections-request.mjs +0 -4
- package/esm2022/domain/f-connection/redraw-connections/redraw-connections.mjs +0 -269
- package/esm2022/domain/f-connection/remove-connection-for-create-from-store/index.mjs +0 -3
- package/esm2022/domain/f-connection/remove-connection-for-create-from-store/remove-connection-for-create-from-store-request.mjs +0 -4
- package/esm2022/domain/f-connection/remove-connection-for-create-from-store/remove-connection-for-create-from-store.mjs +0 -25
- package/esm2022/domain/f-connection/remove-connection-from-store/index.mjs +0 -3
- package/esm2022/domain/f-connection/remove-connection-from-store/remove-connection-from-store-request.mjs +0 -8
- package/esm2022/domain/f-connection/remove-connection-from-store/remove-connection-from-store.mjs +0 -23
- package/esm2022/domain/f-connection/remove-connection-marker-from-store/index.mjs +0 -3
- package/esm2022/domain/f-connection/remove-connection-marker-from-store/remove-connection-marker-from-store-request.mjs +0 -8
- package/esm2022/domain/f-connection/remove-connection-marker-from-store/remove-connection-marker-from-store.mjs +0 -26
- package/esm2022/domain/f-connection/remove-connection-waypoint/index.mjs +0 -3
- package/esm2022/domain/f-connection/remove-connection-waypoint/remove-connection-waypoint-request.mjs +0 -10
- package/esm2022/domain/f-connection/remove-connection-waypoint/remove-connection-waypoint.mjs +0 -33
- package/esm2022/domain/f-connection/remove-snap-connection-from-store/index.mjs +0 -3
- package/esm2022/domain/f-connection/remove-snap-connection-from-store/remove-snap-connection-from-store-request.mjs +0 -4
- package/esm2022/domain/f-connection/remove-snap-connection-from-store/remove-snap-connection-from-store.mjs +0 -25
- package/esm2022/domain/f-connection/resolve-connection-endpoint-rotation-context/index.mjs +0 -3
- package/esm2022/domain/f-connection/resolve-connection-endpoint-rotation-context/resolve-connection-endpoint-rotation-context-request.mjs +0 -8
- package/esm2022/domain/f-connection/resolve-connection-endpoint-rotation-context/resolve-connection-endpoint-rotation-context.mjs +0 -35
- package/esm2022/domain/f-connectors/add-connector-to-store/add-connector-to-store-request.mjs +0 -8
- package/esm2022/domain/f-connectors/add-connector-to-store/add-connector-to-store.mjs +0 -57
- package/esm2022/domain/f-connectors/add-connector-to-store/index.mjs +0 -3
- package/esm2022/domain/f-connectors/calculate-closest-connector/calculate-closest-connector-request.mjs +0 -10
- package/esm2022/domain/f-connectors/calculate-closest-connector/calculate-closest-connector.mjs +0 -47
- package/esm2022/domain/f-connectors/calculate-closest-connector/index.mjs +0 -3
- package/esm2022/domain/f-connectors/calculate-source-connectors-to-connect/calculate-source-connectors-to-connect-request.mjs +0 -10
- package/esm2022/domain/f-connectors/calculate-source-connectors-to-connect/calculate-source-connectors-to-connect.mjs +0 -61
- package/esm2022/domain/f-connectors/calculate-source-connectors-to-connect/index.mjs +0 -3
- package/esm2022/domain/f-connectors/calculate-target-connectors-to-connect/calculate-target-connectors-to-connect-request.mjs +0 -10
- package/esm2022/domain/f-connectors/calculate-target-connectors-to-connect/calculate-target-connectors-to-connect.mjs +0 -65
- package/esm2022/domain/f-connectors/calculate-target-connectors-to-connect/index.mjs +0 -3
- package/esm2022/domain/f-connectors/find-connectable-connector-using-priority-and-position/find-connectable-connector-using-priority-and-position-request.mjs +0 -10
- package/esm2022/domain/f-connectors/find-connectable-connector-using-priority-and-position/find-connectable-connector-using-priority-and-position.mjs +0 -98
- package/esm2022/domain/f-connectors/find-connectable-connector-using-priority-and-position/index.mjs +0 -3
- package/esm2022/domain/f-connectors/get-connector-rect-reference/get-connector-rect-reference-request.mjs +0 -8
- package/esm2022/domain/f-connectors/get-connector-rect-reference/get-connector-rect-reference.mjs +0 -31
- package/esm2022/domain/f-connectors/get-connector-rect-reference/index.mjs +0 -3
- package/esm2022/domain/f-connectors/i-closest-connector-ref.mjs +0 -2
- package/esm2022/domain/f-connectors/i-connector-rect-ref.mjs +0 -2
- package/esm2022/domain/f-connectors/index.mjs +0 -13
- package/esm2022/domain/f-connectors/mark-connectable-connectors/index.mjs +0 -3
- package/esm2022/domain/f-connectors/mark-connectable-connectors/mark-connectable-connectors-request.mjs +0 -8
- package/esm2022/domain/f-connectors/mark-connectable-connectors/mark-connectable-connectors.mjs +0 -30
- package/esm2022/domain/f-connectors/providers.mjs +0 -24
- package/esm2022/domain/f-connectors/remove-connector-from-store/index.mjs +0 -3
- package/esm2022/domain/f-connectors/remove-connector-from-store/remove-connector-from-store-request.mjs +0 -8
- package/esm2022/domain/f-connectors/remove-connector-from-store/remove-connector-from-store.mjs +0 -57
- package/esm2022/domain/f-connectors/unmark-connectable-connectors/index.mjs +0 -3
- package/esm2022/domain/f-connectors/unmark-connectable-connectors/unmark-connectable-connectors-request.mjs +0 -8
- package/esm2022/domain/f-connectors/unmark-connectable-connectors/unmark-connectable-connectors.mjs +0 -30
- package/esm2022/domain/f-draggable/add-dnd-to-store/add-dnd-to-store-request.mjs +0 -8
- package/esm2022/domain/f-draggable/add-dnd-to-store/add-dnd-to-store.mjs +0 -25
- package/esm2022/domain/f-draggable/add-dnd-to-store/index.mjs +0 -3
- package/esm2022/domain/f-draggable/index.mjs +0 -8
- package/esm2022/domain/f-draggable/initialize-drag-sequence/index.mjs +0 -3
- package/esm2022/domain/f-draggable/initialize-drag-sequence/initialize-drag-sequence-request.mjs +0 -4
- package/esm2022/domain/f-draggable/initialize-drag-sequence/initialize-drag-sequence.mjs +0 -25
- package/esm2022/domain/f-draggable/is-drag-started/index.mjs +0 -3
- package/esm2022/domain/f-draggable/is-drag-started/is-drag-started-request.mjs +0 -4
- package/esm2022/domain/f-draggable/is-drag-started/is-drag-started.mjs +0 -25
- package/esm2022/domain/f-draggable/on-pointer-move/index.mjs +0 -3
- package/esm2022/domain/f-draggable/on-pointer-move/on-pointer-move-request.mjs +0 -8
- package/esm2022/domain/f-draggable/on-pointer-move/on-pointer-move.mjs +0 -50
- package/esm2022/domain/f-draggable/prepare-drag-sequence/index.mjs +0 -3
- package/esm2022/domain/f-draggable/prepare-drag-sequence/prepare-drag-sequence-request.mjs +0 -4
- package/esm2022/domain/f-draggable/prepare-drag-sequence/prepare-drag-sequence.mjs +0 -30
- package/esm2022/domain/f-draggable/providers.mjs +0 -18
- package/esm2022/domain/f-draggable/remove-dnd-from-store/index.mjs +0 -3
- package/esm2022/domain/f-draggable/remove-dnd-from-store/remove-dnd-from-store-request.mjs +0 -4
- package/esm2022/domain/f-draggable/remove-dnd-from-store/remove-dnd-from-store.mjs +0 -25
- package/esm2022/domain/f-event-trigger.mjs +0 -7
- package/esm2022/domain/f-flow/add-flow-to-store/add-flow-to-store-request.mjs +0 -8
- package/esm2022/domain/f-flow/add-flow-to-store/add-flow-to-store.mjs +0 -25
- package/esm2022/domain/f-flow/add-flow-to-store/index.mjs +0 -3
- package/esm2022/domain/f-flow/calculate-flow-state/calculate-connections-state/calculate-connections-state-request.mjs +0 -4
- package/esm2022/domain/f-flow/calculate-flow-state/calculate-connections-state/calculate-connections-state.mjs +0 -38
- package/esm2022/domain/f-flow/calculate-flow-state/calculate-connections-state/index.mjs +0 -3
- package/esm2022/domain/f-flow/calculate-flow-state/calculate-flow-state-request.mjs +0 -4
- package/esm2022/domain/f-flow/calculate-flow-state/calculate-flow-state.mjs +0 -45
- package/esm2022/domain/f-flow/calculate-flow-state/calculate-nodes-state/calculate-nodes-state-request.mjs +0 -8
- package/esm2022/domain/f-flow/calculate-flow-state/calculate-nodes-state/calculate-nodes-state.mjs +0 -61
- package/esm2022/domain/f-flow/calculate-flow-state/calculate-nodes-state/index.mjs +0 -3
- package/esm2022/domain/f-flow/calculate-flow-state/i-f-flow-state-connection.mjs +0 -2
- package/esm2022/domain/f-flow/calculate-flow-state/i-f-flow-state-connector.mjs +0 -2
- package/esm2022/domain/f-flow/calculate-flow-state/i-f-flow-state-node.mjs +0 -2
- package/esm2022/domain/f-flow/calculate-flow-state/i-f-flow-state.mjs +0 -2
- package/esm2022/domain/f-flow/calculate-flow-state/index.mjs +0 -10
- package/esm2022/domain/f-flow/calculate-flow-state/providers.mjs +0 -12
- package/esm2022/domain/f-flow/get-flow/get-flow-request.mjs +0 -4
- package/esm2022/domain/f-flow/get-flow/get-flow.mjs +0 -29
- package/esm2022/domain/f-flow/get-flow/index.mjs +0 -3
- package/esm2022/domain/f-flow/index.mjs +0 -6
- package/esm2022/domain/f-flow/providers.mjs +0 -16
- package/esm2022/domain/f-flow/remove-flow-from-store/index.mjs +0 -3
- package/esm2022/domain/f-flow/remove-flow-from-store/remove-flow-from-store-request.mjs +0 -4
- package/esm2022/domain/f-flow/remove-flow-from-store/remove-flow-from-store.mjs +0 -25
- package/esm2022/domain/f-node/add-node-to-store/add-node-to-store-request.mjs +0 -8
- package/esm2022/domain/f-node/add-node-to-store/add-node-to-store.mjs +0 -29
- package/esm2022/domain/f-node/add-node-to-store/index.mjs +0 -3
- package/esm2022/domain/f-node/calculate-connectors-connectable-sides/calculate-connectable-side-by-connected-positions/calculate-connectable-side-by-connected-positions-request.mjs +0 -10
- package/esm2022/domain/f-node/calculate-connectors-connectable-sides/calculate-connectable-side-by-connected-positions/calculate-connectable-side-by-connected-positions.mjs +0 -59
- package/esm2022/domain/f-node/calculate-connectors-connectable-sides/calculate-connectable-side-by-connected-positions/index.mjs +0 -3
- package/esm2022/domain/f-node/calculate-connectors-connectable-sides/calculate-connectable-side-by-internal-position/calculate-connectable-side-by-internal-position-request.mjs +0 -8
- package/esm2022/domain/f-node/calculate-connectors-connectable-sides/calculate-connectable-side-by-internal-position/calculate-connectable-side-by-internal-position.mjs +0 -132
- package/esm2022/domain/f-node/calculate-connectors-connectable-sides/calculate-connectable-side-by-internal-position/index.mjs +0 -3
- package/esm2022/domain/f-node/calculate-connectors-connectable-sides/calculate-connectors-connectable-sides-request.mjs +0 -8
- package/esm2022/domain/f-node/calculate-connectors-connectable-sides/calculate-connectors-connectable-sides.mjs +0 -73
- package/esm2022/domain/f-node/calculate-connectors-connectable-sides/constants/calculatable-sides.mjs +0 -12
- package/esm2022/domain/f-node/calculate-connectors-connectable-sides/constants/index.mjs +0 -2
- package/esm2022/domain/f-node/calculate-connectors-connectable-sides/index.mjs +0 -8
- package/esm2022/domain/f-node/calculate-connectors-connectable-sides/models/index.mjs +0 -2
- package/esm2022/domain/f-node/calculate-connectors-connectable-sides/models/t-calculate-mode.mjs +0 -2
- package/esm2022/domain/f-node/calculate-connectors-connectable-sides/utils/determine-side.mjs +0 -124
- package/esm2022/domain/f-node/calculate-connectors-connectable-sides/utils/index.mjs +0 -3
- package/esm2022/domain/f-node/calculate-connectors-connectable-sides/utils/is-calculate-mode.mjs +0 -12
- package/esm2022/domain/f-node/calculate-input-connections/calculate-input-connections-request.mjs +0 -8
- package/esm2022/domain/f-node/calculate-input-connections/calculate-input-connections.mjs +0 -46
- package/esm2022/domain/f-node/calculate-input-connections/index.mjs +0 -3
- package/esm2022/domain/f-node/calculate-nodes-bounding-box/calculate-nodes-bounding-box-request.mjs +0 -4
- package/esm2022/domain/f-node/calculate-nodes-bounding-box/calculate-nodes-bounding-box.mjs +0 -30
- package/esm2022/domain/f-node/calculate-nodes-bounding-box/index.mjs +0 -3
- package/esm2022/domain/f-node/calculate-nodes-bounding-box-normalized-position/calculate-nodes-bounding-box-normalized-position-request.mjs +0 -8
- package/esm2022/domain/f-node/calculate-nodes-bounding-box-normalized-position/calculate-nodes-bounding-box-normalized-position.mjs +0 -45
- package/esm2022/domain/f-node/calculate-nodes-bounding-box-normalized-position/index.mjs +0 -3
- package/esm2022/domain/f-node/calculate-output-connections/calculate-output-connections-request.mjs +0 -8
- package/esm2022/domain/f-node/calculate-output-connections/calculate-output-connections.mjs +0 -46
- package/esm2022/domain/f-node/calculate-output-connections/index.mjs +0 -3
- package/esm2022/domain/f-node/fit-to-child-nodes-and-groups/fit-to-child-nodes-and-groups-request.mjs +0 -8
- package/esm2022/domain/f-node/fit-to-child-nodes-and-groups/fit-to-child-nodes-and-groups.mjs +0 -65
- package/esm2022/domain/f-node/fit-to-child-nodes-and-groups/index.mjs +0 -3
- package/esm2022/domain/f-node/get-child-node-ids/get-child-node-ids-request.mjs +0 -8
- package/esm2022/domain/f-node/get-child-node-ids/get-child-node-ids.mjs +0 -47
- package/esm2022/domain/f-node/get-child-node-ids/index.mjs +0 -3
- package/esm2022/domain/f-node/get-node-padding/get-node-padding-request.mjs +0 -10
- package/esm2022/domain/f-node/get-node-padding/get-node-padding.mjs +0 -37
- package/esm2022/domain/f-node/get-node-padding/index.mjs +0 -3
- package/esm2022/domain/f-node/get-parent-nodes/get-parent-nodes-request.mjs +0 -8
- package/esm2022/domain/f-node/get-parent-nodes/get-parent-nodes.mjs +0 -37
- package/esm2022/domain/f-node/get-parent-nodes/index.mjs +0 -3
- package/esm2022/domain/f-node/index.mjs +0 -14
- package/esm2022/domain/f-node/providers.mjs +0 -32
- package/esm2022/domain/f-node/remove-node-from-store/index.mjs +0 -3
- package/esm2022/domain/f-node/remove-node-from-store/remove-node-from-store-request.mjs +0 -8
- package/esm2022/domain/f-node/remove-node-from-store/remove-node-from-store.mjs +0 -29
- package/esm2022/domain/f-node/update-node-when-state-or-size-changed/index.mjs +0 -3
- package/esm2022/domain/f-node/update-node-when-state-or-size-changed/update-node-when-state-or-size-changed-request.mjs +0 -10
- package/esm2022/domain/f-node/update-node-when-state-or-size-changed/update-node-when-state-or-size-changed.mjs +0 -48
- package/esm2022/domain/f-selection/calculate-selectable-items/calculate-selectable-items-request.mjs +0 -4
- package/esm2022/domain/f-selection/calculate-selectable-items/calculate-selectable-items.mjs +0 -66
- package/esm2022/domain/f-selection/calculate-selectable-items/i-can-be-selected-element-and-rect.mjs +0 -2
- package/esm2022/domain/f-selection/calculate-selectable-items/index.mjs +0 -4
- package/esm2022/domain/f-selection/clear-selection/clear-selection-request.mjs +0 -4
- package/esm2022/domain/f-selection/clear-selection/clear-selection.mjs +0 -27
- package/esm2022/domain/f-selection/clear-selection/index.mjs +0 -3
- package/esm2022/domain/f-selection/get-current-selection/get-current-selection-request.mjs +0 -4
- package/esm2022/domain/f-selection/get-current-selection/get-current-selection.mjs +0 -45
- package/esm2022/domain/f-selection/get-current-selection/i-current-selection.mjs +0 -2
- package/esm2022/domain/f-selection/get-current-selection/index.mjs +0 -4
- package/esm2022/domain/f-selection/index.mjs +0 -8
- package/esm2022/domain/f-selection/providers.mjs +0 -18
- package/esm2022/domain/f-selection/select-all/index.mjs +0 -3
- package/esm2022/domain/f-selection/select-all/select-all-request.mjs +0 -4
- package/esm2022/domain/f-selection/select-all/select-all.mjs +0 -40
- package/esm2022/domain/f-selection/select-and-update-node-layer/index.mjs +0 -3
- package/esm2022/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer-request.mjs +0 -8
- package/esm2022/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.mjs +0 -41
- package/esm2022/domain/f-selection/select-items/index.mjs +0 -3
- package/esm2022/domain/f-selection/select-items/select-request.mjs +0 -12
- package/esm2022/domain/f-selection/select-items/select.mjs +0 -45
- package/esm2022/domain/f-zoom/index.mjs +0 -4
- package/esm2022/domain/f-zoom/providers.mjs +0 -9
- package/esm2022/domain/f-zoom/reset-zoom/index.mjs +0 -3
- package/esm2022/domain/f-zoom/reset-zoom/reset-zoom-request.mjs +0 -4
- package/esm2022/domain/f-zoom/reset-zoom/reset-zoom.mjs +0 -30
- package/esm2022/domain/f-zoom/set-zoom/index.mjs +0 -3
- package/esm2022/domain/f-zoom/set-zoom/set-zoom-request.mjs +0 -14
- package/esm2022/domain/f-zoom/set-zoom/set-zoom.mjs +0 -111
- package/esm2022/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups-request.mjs +0 -8
- package/esm2022/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.mjs +0 -38
- package/esm2022/domain/get-deep-children-nodes-and-groups/index.mjs +0 -3
- package/esm2022/domain/get-normalized-connector-rect/get-normalized-connector-rect-request.mjs +0 -10
- package/esm2022/domain/get-normalized-connector-rect/get-normalized-connector-rect.mjs +0 -101
- package/esm2022/domain/get-normalized-connector-rect/index.mjs +0 -3
- package/esm2022/domain/get-normalized-element-rect/get-normalized-element-rect-request.mjs +0 -8
- package/esm2022/domain/get-normalized-element-rect/get-normalized-element-rect.mjs +0 -60
- package/esm2022/domain/get-normalized-element-rect/index.mjs +0 -3
- package/esm2022/domain/get-normalized-point/get-normalized-point-request.mjs +0 -8
- package/esm2022/domain/get-normalized-point/get-normalized-point.mjs +0 -28
- package/esm2022/domain/get-normalized-point/index.mjs +0 -3
- package/esm2022/domain/index.mjs +0 -25
- package/esm2022/domain/is-mobile.mjs +0 -7
- package/esm2022/domain/log-deprecated.mjs +0 -11
- package/esm2022/domain/log-execution-time.mjs +0 -16
- package/esm2022/domain/minimap/f-minimap-state.mjs +0 -12
- package/esm2022/domain/minimap/index.mjs +0 -6
- package/esm2022/domain/minimap/minimap-calculate-view-rect/index.mjs +0 -3
- package/esm2022/domain/minimap/minimap-calculate-view-rect/minimap-calculate-view-rect-request.mjs +0 -4
- package/esm2022/domain/minimap/minimap-calculate-view-rect/minimap-calculate-view-rect.mjs +0 -32
- package/esm2022/domain/minimap/minimap-calculate-viewport/i-minimap-viewport.mjs +0 -2
- package/esm2022/domain/minimap/minimap-calculate-viewport/index.mjs +0 -4
- package/esm2022/domain/minimap/minimap-calculate-viewport/minimap-calculate-viewport-request.mjs +0 -10
- package/esm2022/domain/minimap/minimap-calculate-viewport/minimap-calculate-viewport.mjs +0 -62
- package/esm2022/domain/minimap/minimap-draw-nodes/index.mjs +0 -3
- package/esm2022/domain/minimap/minimap-draw-nodes/minimap-draw-nodes-request.mjs +0 -4
- package/esm2022/domain/minimap/minimap-draw-nodes/minimap-draw-nodes.mjs +0 -52
- package/esm2022/domain/minimap/providers.mjs +0 -9
- package/esm2022/domain/providers.mjs +0 -46
- package/esm2022/domain/sort-item-layers/index.mjs +0 -5
- package/esm2022/domain/sort-item-layers/sort-item-layers-request.mjs +0 -4
- package/esm2022/domain/sort-item-layers/sort-item-layers.mjs +0 -44
- package/esm2022/domain/sort-item-layers/sort-items-by-parent/index.mjs +0 -3
- package/esm2022/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent-request.mjs +0 -8
- package/esm2022/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.mjs +0 -124
- package/esm2022/domain/sort-item-layers/sort-node-layers-by-groups/index.mjs +0 -3
- package/esm2022/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers-request.mjs +0 -4
- package/esm2022/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.mjs +0 -65
- package/esm2022/domain/transition-end.mjs +0 -10
- package/esm2022/domain/update-item-and-children-layers/index.mjs +0 -4
- package/esm2022/domain/update-item-and-children-layers/move-front-elements-before-target-element/index.mjs +0 -3
- package/esm2022/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element-request.mjs +0 -15
- package/esm2022/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element.mjs +0 -34
- package/esm2022/domain/update-item-and-children-layers/update-item-and-children-layers-request.mjs +0 -10
- package/esm2022/domain/update-item-and-children-layers/update-item-and-children-layers.mjs +0 -102
- package/esm2022/drag-toolkit/drag-and-drop-base.mjs +0 -224
- package/esm2022/drag-toolkit/event.extensions.mjs +0 -31
- package/esm2022/drag-toolkit/index.mjs +0 -4
- package/esm2022/drag-toolkit/pointer-events/i-mouse-event.mjs +0 -16
- package/esm2022/drag-toolkit/pointer-events/i-pointer-event.mjs +0 -30
- package/esm2022/drag-toolkit/pointer-events/i-pointer-up-event.mjs +0 -25
- package/esm2022/drag-toolkit/pointer-events/i-touch-down-event.mjs +0 -17
- package/esm2022/drag-toolkit/pointer-events/i-touch-move-event.mjs +0 -17
- package/esm2022/drag-toolkit/pointer-events/index.mjs +0 -6
- package/esm2022/f-auto-pan/f-auto-pan-base.mjs +0 -11
- package/esm2022/f-auto-pan/f-auto-pan.mjs +0 -38
- package/esm2022/f-auto-pan/index.mjs +0 -4
- package/esm2022/f-auto-pan/providers.mjs +0 -3
- package/esm2022/f-backgroud/domain/i-f-background-pattern.mjs +0 -3
- package/esm2022/f-backgroud/domain/index.mjs +0 -2
- package/esm2022/f-backgroud/f-background-base.mjs +0 -12
- package/esm2022/f-backgroud/f-background.component.mjs +0 -32
- package/esm2022/f-backgroud/f-circle-pattern/f-circle-pattern.component.mjs +0 -95
- package/esm2022/f-backgroud/f-circle-pattern/index.mjs +0 -2
- package/esm2022/f-backgroud/f-rect-pattern/f-rect-pattern.component.mjs +0 -100
- package/esm2022/f-backgroud/f-rect-pattern/index.mjs +0 -2
- package/esm2022/f-backgroud/index.mjs +0 -7
- package/esm2022/f-backgroud/providers.mjs +0 -9
- package/esm2022/f-cache/config/f-cache-options.mjs +0 -20
- package/esm2022/f-cache/config/index.mjs +0 -2
- package/esm2022/f-cache/features/f-cache-connectors/index.mjs +0 -3
- package/esm2022/f-cache/features/f-cache-connectors/register-connector/index.mjs +0 -3
- package/esm2022/f-cache/features/f-cache-connectors/register-connector/register-connector-request.mjs +0 -14
- package/esm2022/f-cache/features/f-cache-connectors/register-connector/register-connector.mjs +0 -51
- package/esm2022/f-cache/features/f-cache-connectors/unregister-connector/index.mjs +0 -3
- package/esm2022/f-cache/features/f-cache-connectors/unregister-connector/unregister-connector-request.mjs +0 -10
- package/esm2022/f-cache/features/f-cache-connectors/unregister-connector/unregister-connector.mjs +0 -49
- package/esm2022/f-cache/features/f-cache-nodes/index.mjs +0 -4
- package/esm2022/f-cache/features/f-cache-nodes/invalidate-node/index.mjs +0 -3
- package/esm2022/f-cache/features/f-cache-nodes/invalidate-node/invalidate-node-request.mjs +0 -10
- package/esm2022/f-cache/features/f-cache-nodes/invalidate-node/invalidate-node.mjs +0 -41
- package/esm2022/f-cache/features/f-cache-nodes/register-node/index.mjs +0 -3
- package/esm2022/f-cache/features/f-cache-nodes/register-node/register-node-request.mjs +0 -12
- package/esm2022/f-cache/features/f-cache-nodes/register-node/register-node.mjs +0 -30
- package/esm2022/f-cache/features/f-cache-nodes/unregister-node/index.mjs +0 -3
- package/esm2022/f-cache/features/f-cache-nodes/unregister-node/unregister-node-request.mjs +0 -8
- package/esm2022/f-cache/features/f-cache-nodes/unregister-node/unregister-node.mjs +0 -43
- package/esm2022/f-cache/features/f-cache-rects/get-cached-rect/get-cached-rect-request.mjs +0 -8
- package/esm2022/f-cache/features/f-cache-rects/get-cached-rect/get-cached-rect.mjs +0 -38
- package/esm2022/f-cache/features/f-cache-rects/get-cached-rect/index.mjs +0 -3
- package/esm2022/f-cache/features/f-cache-rects/index.mjs +0 -5
- package/esm2022/f-cache/features/f-cache-rects/set-connector-rect/index.mjs +0 -3
- package/esm2022/f-cache/features/f-cache-rects/set-connector-rect/set-connector-rect-request.mjs +0 -12
- package/esm2022/f-cache/features/f-cache-rects/set-connector-rect/set-connector-rect.mjs +0 -33
- package/esm2022/f-cache/features/f-cache-rects/set-node-rect/index.mjs +0 -3
- package/esm2022/f-cache/features/f-cache-rects/set-node-rect/set-node-rect-request.mjs +0 -10
- package/esm2022/f-cache/features/f-cache-rects/set-node-rect/set-node-rect.mjs +0 -64
- package/esm2022/f-cache/features/f-cache-rects/update-rect-by-element/index.mjs +0 -3
- package/esm2022/f-cache/features/f-cache-rects/update-rect-by-element/update-rect-by-element-request.mjs +0 -10
- package/esm2022/f-cache/features/f-cache-rects/update-rect-by-element/update-rect-by-element.mjs +0 -42
- package/esm2022/f-cache/features/index.mjs +0 -4
- package/esm2022/f-cache/index.mjs +0 -5
- package/esm2022/f-cache/model/f-cache-connector-key.mjs +0 -6
- package/esm2022/f-cache/model/f-cache-connector.mjs +0 -17
- package/esm2022/f-cache/model/f-cache-node.mjs +0 -13
- package/esm2022/f-cache/model/f-cache.mjs +0 -15
- package/esm2022/f-cache/model/i-f-cache-node-ref.mjs +0 -2
- package/esm2022/f-cache/model/index.mjs +0 -6
- package/esm2022/f-cache/providers.mjs +0 -15
- package/esm2022/f-canvas/domain/f-canvas-change-event.mjs +0 -9
- package/esm2022/f-canvas/domain/index.mjs +0 -2
- package/esm2022/f-canvas/f-canvas-base.mjs +0 -33
- package/esm2022/f-canvas/f-canvas.component.mjs +0 -152
- package/esm2022/f-canvas/index.mjs +0 -5
- package/esm2022/f-canvas/providers.mjs +0 -5
- package/esm2022/f-connection/f-connection/f-connection.component.mjs +0 -79
- package/esm2022/f-connection/f-connection/index.mjs +0 -2
- package/esm2022/f-connection/f-connection-for-create/f-connection-for-create.component.mjs +0 -71
- package/esm2022/f-connection/f-connection-for-create/index.mjs +0 -2
- package/esm2022/f-connection/f-snap-connection/f-snap-connection.component.mjs +0 -71
- package/esm2022/f-connection/f-snap-connection/index.mjs +0 -2
- package/esm2022/f-connection/index.mjs +0 -5
- package/esm2022/f-connection/providers.mjs +0 -21
- package/esm2022/f-connection-v2/components/connection-content/f-connection-content.mjs +0 -90
- package/esm2022/f-connection-v2/components/connection-content/index.mjs +0 -4
- package/esm2022/f-connection-v2/components/connection-content/models/f-connection-content-base.mjs +0 -10
- package/esm2022/f-connection-v2/components/connection-content/models/index.mjs +0 -2
- package/esm2022/f-connection-v2/components/connection-content/utils/i-polyline-content.mjs +0 -2
- package/esm2022/f-connection-v2/components/connection-content/utils/index.mjs +0 -6
- package/esm2022/f-connection-v2/components/connection-content/utils/polyline-content-align.mjs +0 -6
- package/esm2022/f-connection-v2/components/connection-content/utils/polyline-content-layout-engine.mjs +0 -25
- package/esm2022/f-connection-v2/components/connection-content/utils/polyline-content-place.mjs +0 -66
- package/esm2022/f-connection-v2/components/connection-content/utils/polyline-sampler/i-sampler-result.mjs +0 -2
- package/esm2022/f-connection-v2/components/connection-content/utils/polyline-sampler/i-tangent.mjs +0 -2
- package/esm2022/f-connection-v2/components/connection-content/utils/polyline-sampler/index.mjs +0 -5
- package/esm2022/f-connection-v2/components/connection-content/utils/polyline-sampler/polyline-sampler.mjs +0 -143
- package/esm2022/f-connection-v2/components/connection-content/utils/polyline-sampler/polyline.mjs +0 -71
- package/esm2022/f-connection-v2/components/connection-drag-handles/f-connection-drag-handle-end.mjs +0 -35
- package/esm2022/f-connection-v2/components/connection-drag-handles/f-connection-drag-handle-start.mjs +0 -35
- package/esm2022/f-connection-v2/components/connection-drag-handles/index.mjs +0 -4
- package/esm2022/f-connection-v2/components/connection-drag-handles/models/f-connection-drag-handle-base.mjs +0 -17
- package/esm2022/f-connection-v2/components/connection-drag-handles/models/index.mjs +0 -2
- package/esm2022/f-connection-v2/components/connection-gradient/components/index.mjs +0 -2
- package/esm2022/f-connection-v2/components/connection-gradient/components/render/f-connection-gradient-renderer.mjs +0 -17
- package/esm2022/f-connection-v2/components/connection-gradient/components/render/index.mjs +0 -3
- package/esm2022/f-connection-v2/components/connection-gradient/components/render/models/f-connection-gradient-renderer-base.mjs +0 -81
- package/esm2022/f-connection-v2/components/connection-gradient/components/render/models/index.mjs +0 -2
- package/esm2022/f-connection-v2/components/connection-gradient/f-connection-gradient.mjs +0 -22
- package/esm2022/f-connection-v2/components/connection-gradient/index.mjs +0 -4
- package/esm2022/f-connection-v2/components/connection-gradient/models/f-connection-gradient-base.mjs +0 -5
- package/esm2022/f-connection-v2/components/connection-gradient/models/index.mjs +0 -2
- package/esm2022/f-connection-v2/components/connection-marker/enums/e-f-marker-type.mjs +0 -8
- package/esm2022/f-connection-v2/components/connection-marker/enums/index.mjs +0 -2
- package/esm2022/f-connection-v2/components/connection-marker/f-connection-marker.mjs +0 -50
- package/esm2022/f-connection-v2/components/connection-marker/index.mjs +0 -4
- package/esm2022/f-connection-v2/components/connection-marker/models/f-connection-marker-base.mjs +0 -8
- package/esm2022/f-connection-v2/components/connection-marker/models/index.mjs +0 -2
- package/esm2022/f-connection-v2/components/connection-path/f-connection-path.mjs +0 -70
- package/esm2022/f-connection-v2/components/connection-path/index.mjs +0 -3
- package/esm2022/f-connection-v2/components/connection-path/models/f-connection-path-base.mjs +0 -6
- package/esm2022/f-connection-v2/components/connection-path/models/index.mjs +0 -2
- package/esm2022/f-connection-v2/components/connection-selection/f-connection-selection.mjs +0 -34
- package/esm2022/f-connection-v2/components/connection-selection/index.mjs +0 -3
- package/esm2022/f-connection-v2/components/connection-selection/models/f-connection-selection-base.mjs +0 -6
- package/esm2022/f-connection-v2/components/connection-selection/models/index.mjs +0 -2
- package/esm2022/f-connection-v2/components/connection-waypoints/f-connection-waypoints.mjs +0 -50
- package/esm2022/f-connection-v2/components/connection-waypoints/index.mjs +0 -4
- package/esm2022/f-connection-v2/components/connection-waypoints/models/f-connection-waypoints-base.mjs +0 -27
- package/esm2022/f-connection-v2/components/connection-waypoints/models/index.mjs +0 -2
- package/esm2022/f-connection-v2/components/connection-waypoints/utils/find-existing-waypoint.mjs +0 -7
- package/esm2022/f-connection-v2/components/connection-waypoints/utils/find-waypoint-candidate.mjs +0 -7
- package/esm2022/f-connection-v2/components/connection-waypoints/utils/index.mjs +0 -5
- package/esm2022/f-connection-v2/components/connection-waypoints/utils/is-pointer-inside-point.mjs +0 -4
- package/esm2022/f-connection-v2/components/connection-waypoints/utils/pick-waypoint.mjs +0 -16
- package/esm2022/f-connection-v2/components/f-connection-base.mjs +0 -116
- package/esm2022/f-connection-v2/components/index.mjs +0 -9
- package/esm2022/f-connection-v2/enums/e-f-connectable-side.mjs +0 -12
- package/esm2022/f-connection-v2/enums/e-f-connection-type.mjs +0 -8
- package/esm2022/f-connection-v2/enums/index.mjs +0 -3
- package/esm2022/f-connection-v2/index.mjs +0 -5
- package/esm2022/f-connection-v2/models/f-connection-components-parent.mjs +0 -5
- package/esm2022/f-connection-v2/models/index.mjs +0 -2
- package/esm2022/f-connection-v2/utils/connection-behaviour/connection-behaviour-builder-request.mjs +0 -19
- package/esm2022/f-connection-v2/utils/connection-behaviour/connection-behaviour-builder.mjs +0 -138
- package/esm2022/f-connection-v2/utils/connection-behaviour/enums/e-f-connection-behavior.mjs +0 -7
- package/esm2022/f-connection-v2/utils/connection-behaviour/enums/e-f-connection-connectable-side.mjs +0 -12
- package/esm2022/f-connection-v2/utils/connection-behaviour/enums/index.mjs +0 -3
- package/esm2022/f-connection-v2/utils/connection-behaviour/index.mjs +0 -6
- package/esm2022/f-connection-v2/utils/connection-behaviour/models/i-calculate-behavior-request.mjs +0 -2
- package/esm2022/f-connection-v2/utils/connection-behaviour/models/index.mjs +0 -2
- package/esm2022/f-connection-v2/utils/connection-behaviour/utils/fixed-center-behavior.mjs +0 -12
- package/esm2022/f-connection-v2/utils/connection-behaviour/utils/fixed-outbound-behavior.mjs +0 -31
- package/esm2022/f-connection-v2/utils/connection-behaviour/utils/floating-behavior.mjs +0 -22
- package/esm2022/f-connection-v2/utils/connection-behaviour/utils/get-rotated-rounded-rect-intersection.mjs +0 -35
- package/esm2022/f-connection-v2/utils/connection-behaviour/utils/index.mjs +0 -4
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/adaptive-curve/calculate-adaptive-curve-data.mjs +0 -74
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/adaptive-curve/index.mjs +0 -2
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/bezier-curve/calculate-bezier-curve-data.mjs +0 -49
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/bezier-curve/index.mjs +0 -2
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/index.mjs +0 -6
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/segment-line/build-corner-mid-points-and-apply-offsets.mjs +0 -50
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/segment-line/calculate-segment-line-data.mjs +0 -106
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/segment-line/create-segment-line-path.mjs +0 -46
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/segment-line/index.mjs +0 -4
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/straight-line/calculate-straight-line-data.mjs +0 -28
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/straight-line/index.mjs +0 -2
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/utils/build-connection-anchors.mjs +0 -4
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/utils/calculate-center-between-points.mjs +0 -8
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/utils/calculate-curve-candidates.mjs +0 -7
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/utils/calculate-polyline-candidates.mjs +0 -39
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/utils/index.mjs +0 -9
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/utils/merge-point-chains.mjs +0 -12
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/utils/multi-cubic.mjs +0 -28
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/utils/normalize-polyline.mjs +0 -30
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/utils/sample-cubic-bezier-uniform.mjs +0 -37
- package/esm2022/f-connection-v2/utils/connection-line-builder/connection-line-builder-request.mjs +0 -9
- package/esm2022/f-connection-v2/utils/connection-line-builder/connection-line-builder.mjs +0 -50
- package/esm2022/f-connection-v2/utils/connection-line-builder/index.mjs +0 -6
- package/esm2022/f-connection-v2/utils/connection-line-builder/models/i-f-connection-builder-request.mjs +0 -2
- package/esm2022/f-connection-v2/utils/connection-line-builder/models/i-f-connection-builder-response.mjs +0 -2
- package/esm2022/f-connection-v2/utils/connection-line-builder/models/i-f-connection-builder.mjs +0 -2
- package/esm2022/f-connection-v2/utils/connection-line-builder/models/index.mjs +0 -4
- package/esm2022/f-connection-v2/utils/connection-line-builder/providers/f-connection-builders.mjs +0 -3
- package/esm2022/f-connection-v2/utils/connection-line-builder/providers/index.mjs +0 -2
- package/esm2022/f-connection-v2/utils/create-connection-dom-identifier.mjs +0 -5
- package/esm2022/f-connection-v2/utils/create-connection-selection-dom-identifier.mjs +0 -5
- package/esm2022/f-connection-v2/utils/create-gradient-dom-identifier.mjs +0 -5
- package/esm2022/f-connection-v2/utils/create-gradient-dom-url.mjs +0 -5
- package/esm2022/f-connection-v2/utils/index.mjs +0 -7
- package/esm2022/f-connection-worker/features/calculate-connection-worker-connector-rect/calculate-connection-worker-connector-rect-request.mjs +0 -10
- package/esm2022/f-connection-worker/features/calculate-connection-worker-connector-rect/calculate-connection-worker-connector-rect.mjs +0 -31
- package/esm2022/f-connection-worker/features/calculate-connection-worker-connector-rect/index.mjs +0 -3
- package/esm2022/f-connection-worker/features/calculate-connection-worker-payload-item/calculate-connection-worker-payload-item-request.mjs +0 -10
- package/esm2022/f-connection-worker/features/calculate-connection-worker-payload-item/calculate-connection-worker-payload-item.mjs +0 -57
- package/esm2022/f-connection-worker/features/calculate-connection-worker-payload-item/index.mjs +0 -3
- package/esm2022/f-connection-worker/features/calculate-connections-using-connection-worker/calculate-connections-using-connection-worker-request.mjs +0 -10
- package/esm2022/f-connection-worker/features/calculate-connections-using-connection-worker/calculate-connections-using-connection-worker.mjs +0 -41
- package/esm2022/f-connection-worker/features/calculate-connections-using-connection-worker/index.mjs +0 -3
- package/esm2022/f-connection-worker/features/connection-worker-run/connection-worker-run-request.mjs +0 -8
- package/esm2022/f-connection-worker/features/connection-worker-run/connection-worker-run.mjs +0 -59
- package/esm2022/f-connection-worker/features/connection-worker-run/index.mjs +0 -3
- package/esm2022/f-connection-worker/features/disable-connection-worker/disable-connection-worker-request.mjs +0 -8
- package/esm2022/f-connection-worker/features/disable-connection-worker/disable-connection-worker.mjs +0 -25
- package/esm2022/f-connection-worker/features/disable-connection-worker/index.mjs +0 -3
- package/esm2022/f-connection-worker/features/ensure-connection-worker/ensure-connection-worker-request.mjs +0 -4
- package/esm2022/f-connection-worker/features/ensure-connection-worker/ensure-connection-worker.mjs +0 -68
- package/esm2022/f-connection-worker/features/ensure-connection-worker/index.mjs +0 -3
- package/esm2022/f-connection-worker/features/handle-connection-worker-message/handle-connection-worker-message-request.mjs +0 -8
- package/esm2022/f-connection-worker/features/handle-connection-worker-message/handle-connection-worker-message.mjs +0 -34
- package/esm2022/f-connection-worker/features/handle-connection-worker-message/index.mjs +0 -3
- package/esm2022/f-connection-worker/features/index.mjs +0 -13
- package/esm2022/f-connection-worker/features/is-connection-worker-enabled/index.mjs +0 -3
- package/esm2022/f-connection-worker/features/is-connection-worker-enabled/is-connection-worker-enabled-request.mjs +0 -4
- package/esm2022/f-connection-worker/features/is-connection-worker-enabled/is-connection-worker-enabled.mjs +0 -35
- package/esm2022/f-connection-worker/features/reset-connection-worker-runtime/index.mjs +0 -3
- package/esm2022/f-connection-worker/features/reset-connection-worker-runtime/reset-connection-worker-runtime-request.mjs +0 -8
- package/esm2022/f-connection-worker/features/reset-connection-worker-runtime/reset-connection-worker-runtime.mjs +0 -22
- package/esm2022/f-connection-worker/features/resolve-connection-worker-connectors/index.mjs +0 -3
- package/esm2022/f-connection-worker/features/resolve-connection-worker-connectors/resolve-connection-worker-connectors-request.mjs +0 -8
- package/esm2022/f-connection-worker/features/resolve-connection-worker-connectors/resolve-connection-worker-connectors.mjs +0 -27
- package/esm2022/f-connection-worker/features/resolve-connection-worker-context/index.mjs +0 -3
- package/esm2022/f-connection-worker/features/resolve-connection-worker-context/resolve-connection-worker-context-request.mjs +0 -10
- package/esm2022/f-connection-worker/features/resolve-connection-worker-context/resolve-connection-worker-context.mjs +0 -36
- package/esm2022/f-connection-worker/features/should-use-connection-worker/index.mjs +0 -3
- package/esm2022/f-connection-worker/features/should-use-connection-worker/should-use-connection-worker-request.mjs +0 -8
- package/esm2022/f-connection-worker/features/should-use-connection-worker/should-use-connection-worker.mjs +0 -22
- package/esm2022/f-connection-worker/index.mjs +0 -4
- package/esm2022/f-connection-worker/model/f-connection-worker.mjs +0 -27
- package/esm2022/f-connection-worker/model/i-f-connection-worker-rect.mjs +0 -2
- package/esm2022/f-connection-worker/model/i-f-connection-worker-request-item.mjs +0 -2
- package/esm2022/f-connection-worker/model/i-f-connection-worker-response.mjs +0 -2
- package/esm2022/f-connection-worker/model/i-f-connection-worker-result-item.mjs +0 -2
- package/esm2022/f-connection-worker/model/index.mjs +0 -7
- package/esm2022/f-connection-worker/model/t-f-connection-worker-pending-request.mjs +0 -2
- package/esm2022/f-connection-worker/providers.mjs +0 -18
- package/esm2022/f-connection-worker/worker/connection-worker-runtime.mjs +0 -247
- package/esm2022/f-connectors/f-connector-base.mjs +0 -23
- package/esm2022/f-connectors/f-node-input/f-node-input-base.mjs +0 -16
- package/esm2022/f-connectors/f-node-input/f-node-input.directive.mjs +0 -84
- package/esm2022/f-connectors/f-node-input/index.mjs +0 -3
- package/esm2022/f-connectors/f-node-outlet/f-node-outlet-base.mjs +0 -20
- package/esm2022/f-connectors/f-node-outlet/f-node-outlet.directive.mjs +0 -59
- package/esm2022/f-connectors/f-node-outlet/index.mjs +0 -4
- package/esm2022/f-connectors/f-node-outlet/is-node-outlet.mjs +0 -4
- package/esm2022/f-connectors/f-node-output/f-node-output-base.mjs +0 -16
- package/esm2022/f-connectors/f-node-output/f-node-output.directive.mjs +0 -88
- package/esm2022/f-connectors/f-node-output/index.mjs +0 -4
- package/esm2022/f-connectors/f-node-output/is-node-output.mjs +0 -4
- package/esm2022/f-connectors/f-source-connector-base.mjs +0 -18
- package/esm2022/f-connectors/index.mjs +0 -7
- package/esm2022/f-connectors/providers.mjs +0 -9
- package/esm2022/f-draggable/auto-pan/auto-pan.utils.mjs +0 -58
- package/esm2022/f-draggable/auto-pan/index.mjs +0 -7
- package/esm2022/f-draggable/auto-pan/providers.mjs +0 -5
- package/esm2022/f-draggable/auto-pan/run-auto-pan-frame/index.mjs +0 -3
- package/esm2022/f-draggable/auto-pan/run-auto-pan-frame/run-auto-pan-frame-request.mjs +0 -4
- package/esm2022/f-draggable/auto-pan/run-auto-pan-frame/run-auto-pan-frame.mjs +0 -97
- package/esm2022/f-draggable/auto-pan/stop-auto-pan/index.mjs +0 -3
- package/esm2022/f-draggable/auto-pan/stop-auto-pan/stop-auto-pan-request.mjs +0 -4
- package/esm2022/f-draggable/auto-pan/stop-auto-pan/stop-auto-pan.mjs +0 -32
- package/esm2022/f-draggable/auto-pan/stored-pointer-event.mjs +0 -25
- package/esm2022/f-draggable/auto-pan/sync-auto-pan/index.mjs +0 -3
- package/esm2022/f-draggable/auto-pan/sync-auto-pan/sync-auto-pan-request.mjs +0 -4
- package/esm2022/f-draggable/auto-pan/sync-auto-pan/sync-auto-pan.mjs +0 -75
- package/esm2022/f-draggable/connection/create-connection/create-connection-finalize/create-connection-finalize-request.mjs +0 -8
- package/esm2022/f-draggable/connection/create-connection/create-connection-finalize/create-connection-finalize.mjs +0 -62
- package/esm2022/f-draggable/connection/create-connection/create-connection-finalize/index.mjs +0 -3
- package/esm2022/f-draggable/connection/create-connection/create-connection-handler/create-connection-handler.mjs +0 -108
- package/esm2022/f-draggable/connection/create-connection/create-connection-handler/index.mjs +0 -2
- package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/create-connection-preparation-request.mjs +0 -10
- package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/create-connection-preparation.mjs +0 -55
- package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/create-drag-handler/create-connection-create-drag-handler-request.mjs +0 -10
- package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/create-drag-handler/create-connection-create-drag-handler.mjs +0 -62
- package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/create-drag-handler/index.mjs +0 -3
- package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/from-outlet-preparation/create-connection-from-outlet-preparation-request.mjs +0 -10
- package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/from-outlet-preparation/create-connection-from-outlet-preparation.mjs +0 -49
- package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/from-outlet-preparation/index.mjs +0 -3
- package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/from-output-preparation/create-connection-from-output-preparation-request.mjs +0 -10
- package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/from-output-preparation/create-connection-from-output-preparation.mjs +0 -41
- package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/from-output-preparation/index.mjs +0 -3
- package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/index.mjs +0 -6
- package/esm2022/f-draggable/connection/create-connection/f-create-connection-event.mjs +0 -31
- package/esm2022/f-draggable/connection/create-connection/i-create-connection-drag-result.mjs +0 -2
- package/esm2022/f-draggable/connection/create-connection/i-create-connection-event-data.mjs +0 -2
- package/esm2022/f-draggable/connection/create-connection/index.mjs +0 -8
- package/esm2022/f-draggable/connection/create-connection/resolve-connectable-output-for-outlet/index.mjs +0 -3
- package/esm2022/f-draggable/connection/create-connection/resolve-connectable-output-for-outlet/resolve-connectable-output-for-outlet-request.mjs +0 -8
- package/esm2022/f-draggable/connection/create-connection/resolve-connectable-output-for-outlet/resolve-connectable-output-for-outlet.mjs +0 -39
- package/esm2022/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-finalize/drag-connection-waypoint-finalize-request.mjs +0 -8
- package/esm2022/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-finalize/drag-connection-waypoint-finalize.mjs +0 -32
- package/esm2022/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-finalize/index.mjs +0 -3
- package/esm2022/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-handler/drag-connection-waypoint-handler.mjs +0 -54
- package/esm2022/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-handler/index.mjs +0 -2
- package/esm2022/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-preparation/drag-connection-waypoint-preparation-request.mjs +0 -10
- package/esm2022/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-preparation/drag-connection-waypoint-preparation.mjs +0 -67
- package/esm2022/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-preparation/index.mjs +0 -3
- package/esm2022/f-draggable/connection/drag-connection-waypoint/f-connection-waypoints-changed-event.mjs +0 -9
- package/esm2022/f-draggable/connection/drag-connection-waypoint/index.mjs +0 -5
- package/esm2022/f-draggable/connection/index.mjs +0 -5
- package/esm2022/f-draggable/connection/providers.mjs +0 -16
- package/esm2022/f-draggable/connection/reassign-connection/f-reassign-connection-event.mjs +0 -51
- package/esm2022/f-draggable/connection/reassign-connection/i-reassign-connection-drag-result.mjs +0 -2
- package/esm2022/f-draggable/connection/reassign-connection/i-reassign-connection-event-data.mjs +0 -2
- package/esm2022/f-draggable/connection/reassign-connection/index.mjs +0 -7
- package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-finalize/index.mjs +0 -3
- package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-finalize/reassign-connection-finalize-request.mjs +0 -8
- package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.mjs +0 -63
- package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-handler/i-reassign-handler.mjs +0 -10
- package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-handler/index.mjs +0 -5
- package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-handler/reassign-connection-handler.mjs +0 -66
- package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-handler/reassign-connection-source-handler.mjs +0 -89
- package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-handler/reassign-connection-target-handler.mjs +0 -90
- package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-preparation/index.mjs +0 -4
- package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-preparation/is-pointer-inside-start-or-end-drag-handles.mjs +0 -18
- package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-preparation/reassign-connection-preparation-request.mjs +0 -10
- package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.mjs +0 -71
- package/esm2022/f-draggable/domain/detect-connections-under-drag-node/detect-connections-under-drag-node-request.mjs +0 -8
- package/esm2022/f-draggable/domain/detect-connections-under-drag-node/detect-connections-under-drag-node.mjs +0 -77
- package/esm2022/f-draggable/domain/detect-connections-under-drag-node/f-node-intersected-with-connections-event.mjs +0 -32
- package/esm2022/f-draggable/domain/detect-connections-under-drag-node/index.mjs +0 -4
- package/esm2022/f-draggable/domain/emit-end-drag-sequence-event/emit-end-drag-sequence-event-request.mjs +0 -4
- package/esm2022/f-draggable/domain/emit-end-drag-sequence-event/emit-end-drag-sequence-event.mjs +0 -33
- package/esm2022/f-draggable/domain/emit-end-drag-sequence-event/index.mjs +0 -3
- package/esm2022/f-draggable/domain/emit-selection-change-event/emit-selection-change-event-request.mjs +0 -4
- package/esm2022/f-draggable/domain/emit-selection-change-event/emit-selection-change-event.mjs +0 -42
- package/esm2022/f-draggable/domain/emit-selection-change-event/index.mjs +0 -3
- package/esm2022/f-draggable/domain/emit-start-drag-sequence-event/emit-start-drag-sequence-event-request.mjs +0 -4
- package/esm2022/f-draggable/domain/emit-start-drag-sequence-event/emit-start-drag-sequence-event.mjs +0 -37
- package/esm2022/f-draggable/domain/emit-start-drag-sequence-event/index.mjs +0 -3
- package/esm2022/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect-request.mjs +0 -8
- package/esm2022/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.mjs +0 -67
- package/esm2022/f-draggable/domain/get-normalized-parent-node-rect/index.mjs +0 -3
- package/esm2022/f-draggable/domain/i-node-with-rect.mjs +0 -2
- package/esm2022/f-draggable/domain/index.mjs +0 -9
- package/esm2022/f-draggable/domain/is-array-has-parent-node/index.mjs +0 -3
- package/esm2022/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node-request.mjs +0 -10
- package/esm2022/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.mjs +0 -26
- package/esm2022/f-draggable/domain/providers.mjs +0 -15
- package/esm2022/f-draggable/drag-canvas/drag-canvas-finalize/drag-canvas-finalize-request.mjs +0 -8
- package/esm2022/f-draggable/drag-canvas/drag-canvas-finalize/drag-canvas-finalize.mjs +0 -29
- package/esm2022/f-draggable/drag-canvas/drag-canvas-finalize/index.mjs +0 -3
- package/esm2022/f-draggable/drag-canvas/drag-canvas-handler/drag-canvas-handler.mjs +0 -35
- package/esm2022/f-draggable/drag-canvas/drag-canvas-handler/index.mjs +0 -2
- package/esm2022/f-draggable/drag-canvas/drag-canvas-preparation/drag-canvas-preparation-request.mjs +0 -10
- package/esm2022/f-draggable/drag-canvas/drag-canvas-preparation/drag-canvas-preparation.mjs +0 -54
- package/esm2022/f-draggable/drag-canvas/drag-canvas-preparation/index.mjs +0 -3
- package/esm2022/f-draggable/drag-canvas/index.mjs +0 -5
- package/esm2022/f-draggable/drag-canvas/providers.mjs +0 -4
- package/esm2022/f-draggable/drag-external-item/constraints/external-rect-constraint.mjs +0 -46
- package/esm2022/f-draggable/drag-external-item/constraints/index.mjs +0 -2
- package/esm2022/f-draggable/drag-external-item/drag-external-item-create-placeholder/drag-external-item-create-placeholder-request.mjs +0 -8
- package/esm2022/f-draggable/drag-external-item/drag-external-item-create-placeholder/drag-external-item-create-placeholder.mjs +0 -42
- package/esm2022/f-draggable/drag-external-item/drag-external-item-create-placeholder/index.mjs +0 -3
- package/esm2022/f-draggable/drag-external-item/drag-external-item-create-preview/drag-external-item-create-preview-request.mjs +0 -8
- package/esm2022/f-draggable/drag-external-item/drag-external-item-create-preview/drag-external-item-create-preview.mjs +0 -53
- package/esm2022/f-draggable/drag-external-item/drag-external-item-create-preview/index.mjs +0 -3
- package/esm2022/f-draggable/drag-external-item/drag-external-item-finalize/drag-external-item-finalize-request.mjs +0 -8
- package/esm2022/f-draggable/drag-external-item/drag-external-item-finalize/drag-external-item-finalize.mjs +0 -75
- package/esm2022/f-draggable/drag-external-item/drag-external-item-finalize/index.mjs +0 -3
- package/esm2022/f-draggable/drag-external-item/drag-external-item-handler/drag-external-item-handler.mjs +0 -206
- package/esm2022/f-draggable/drag-external-item/drag-external-item-handler/index.mjs +0 -2
- package/esm2022/f-draggable/drag-external-item/drag-external-item-preparation/drag-external-item-preparation-request.mjs +0 -10
- package/esm2022/f-draggable/drag-external-item/drag-external-item-preparation/drag-external-item-preparation.mjs +0 -55
- package/esm2022/f-draggable/drag-external-item/drag-external-item-preparation/index.mjs +0 -3
- package/esm2022/f-draggable/drag-external-item/f-create-node-event.mjs +0 -35
- package/esm2022/f-draggable/drag-external-item/f-drag-external-item-start-event-data.mjs +0 -7
- package/esm2022/f-draggable/drag-external-item/i-drag-external-item-drag-result.mjs +0 -2
- package/esm2022/f-draggable/drag-external-item/index.mjs +0 -13
- package/esm2022/f-draggable/drag-external-item/is-drag-external-item-handler.mjs +0 -7
- package/esm2022/f-draggable/drag-external-item/prevent-default-is-external-item/index.mjs +0 -3
- package/esm2022/f-draggable/drag-external-item/prevent-default-is-external-item/prevent-default-is-external-item-request.mjs +0 -8
- package/esm2022/f-draggable/drag-external-item/prevent-default-is-external-item/prevent-default-is-external-item.mjs +0 -38
- package/esm2022/f-draggable/drag-external-item/providers.mjs +0 -13
- package/esm2022/f-draggable/drag-minimap/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point-request.mjs +0 -14
- package/esm2022/f-draggable/drag-minimap/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.mjs +0 -39
- package/esm2022/f-draggable/drag-minimap/calculate-flow-point-from-minimap-point/index.mjs +0 -3
- package/esm2022/f-draggable/drag-minimap/drag-minimap-finalize/drag-minimap-finalize-request.mjs +0 -8
- package/esm2022/f-draggable/drag-minimap/drag-minimap-finalize/drag-minimap-finalize.mjs +0 -30
- package/esm2022/f-draggable/drag-minimap/drag-minimap-finalize/index.mjs +0 -3
- package/esm2022/f-draggable/drag-minimap/drag-minimap-handler/drag-minimap-handler.mjs +0 -52
- package/esm2022/f-draggable/drag-minimap/drag-minimap-handler/index.mjs +0 -2
- package/esm2022/f-draggable/drag-minimap/drag-minimap-preparation/drag-minimap-preparation-request.mjs +0 -8
- package/esm2022/f-draggable/drag-minimap/drag-minimap-preparation/drag-minimap-preparation.mjs +0 -68
- package/esm2022/f-draggable/drag-minimap/drag-minimap-preparation/index.mjs +0 -3
- package/esm2022/f-draggable/drag-minimap/index.mjs +0 -7
- package/esm2022/f-draggable/drag-minimap/is-drag-minimap-handler.mjs +0 -7
- package/esm2022/f-draggable/drag-minimap/providers.mjs +0 -9
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-drag-node-handler-from-selection-request.mjs +0 -8
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-drag-node-handler-from-selection.mjs +0 -84
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-soft-parent-connection-drag-handlers-to-node/attach-soft-parent-connection-drag-handlers-to-node-request.mjs +0 -18
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-soft-parent-connection-drag-handlers-to-node/attach-soft-parent-connection-drag-handlers-to-node.mjs +0 -95
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-soft-parent-connection-drag-handlers-to-node/index.mjs +0 -3
- 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 +0 -23
- 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 +0 -62
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-source-connection-drag-handlers-to-node/index.mjs +0 -3
- 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 +0 -23
- 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 +0 -62
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-target-connection-drag-handlers-to-node/index.mjs +0 -3
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/build-drag-node-constraints/build-drag-node-constraints-request.mjs +0 -8
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/build-drag-node-constraints/build-drag-node-constraints.mjs +0 -72
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/build-drag-node-constraints/index.mjs +0 -3
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-handler/create-drag-node-handler-request.mjs +0 -14
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-handler/create-drag-node-handler.mjs +0 -55
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-handler/index.mjs +0 -3
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-hierarchy/create-drag-node-hierarchy-request.mjs +0 -9
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-hierarchy/create-drag-node-hierarchy.mjs +0 -50
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-hierarchy/drag-node-hierarchy.mjs +0 -9
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-hierarchy/index.mjs +0 -4
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/index.mjs +0 -11
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/providers.mjs +0 -19
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/read-node-bounds-with-paddings/index.mjs +0 -4
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/read-node-bounds-with-paddings/read-node-bounds-with-paddings-request.mjs +0 -10
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/read-node-bounds-with-paddings/read-node-bounds-with-paddings-response.mjs +0 -13
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/read-node-bounds-with-paddings/read-node-bounds-with-paddings.mjs +0 -39
- package/esm2022/f-draggable/drag-node/drag-node-constraint/delta-clamp.mjs +0 -36
- package/esm2022/f-draggable/drag-node/drag-node-constraint/drag-node-delta-constraints.mjs +0 -42
- package/esm2022/f-draggable/drag-node/drag-node-constraint/expand-rect-by-overflow.mjs +0 -20
- package/esm2022/f-draggable/drag-node/drag-node-constraint/grid-snapper.mjs +0 -33
- package/esm2022/f-draggable/drag-node/drag-node-constraint/i-drag-node-delta-constraints-result.mjs +0 -2
- package/esm2022/f-draggable/drag-node/drag-node-constraint/i-drag-node-delta-constraints.mjs +0 -2
- package/esm2022/f-draggable/drag-node/drag-node-constraint/index.mjs +0 -7
- package/esm2022/f-draggable/drag-node/drag-node-dependent-connection-handlers/drag-node-connection-both-sides-handler.mjs +0 -31
- package/esm2022/f-draggable/drag-node/drag-node-dependent-connection-handlers/drag-node-connection-handler-base.mjs +0 -54
- package/esm2022/f-draggable/drag-node/drag-node-dependent-connection-handlers/drag-node-connection-source-handler.mjs +0 -15
- package/esm2022/f-draggable/drag-node/drag-node-dependent-connection-handlers/drag-node-connection-target-handler.mjs +0 -15
- package/esm2022/f-draggable/drag-node/drag-node-dependent-connection-handlers/index.mjs +0 -5
- package/esm2022/f-draggable/drag-node/drag-node-finalize/drag-node-finalize-request.mjs +0 -8
- package/esm2022/f-draggable/drag-node/drag-node-finalize/drag-node-finalize.mjs +0 -104
- package/esm2022/f-draggable/drag-node/drag-node-finalize/index.mjs +0 -3
- package/esm2022/f-draggable/drag-node/drag-node-handler/drag-node-handler.mjs +0 -93
- package/esm2022/f-draggable/drag-node/drag-node-handler/drag-node-item-handler.mjs +0 -169
- package/esm2022/f-draggable/drag-node/drag-node-handler/i-soft-parent-connection-handlers.mjs +0 -2
- package/esm2022/f-draggable/drag-node/drag-node-handler/index.mjs +0 -4
- package/esm2022/f-draggable/drag-node/drag-node-preparation/drag-node-preparation-request.mjs +0 -10
- package/esm2022/f-draggable/drag-node/drag-node-preparation/drag-node-preparation.mjs +0 -76
- package/esm2022/f-draggable/drag-node/drag-node-preparation/index.mjs +0 -3
- package/esm2022/f-draggable/drag-node/f-drag-node-start-event-data.mjs +0 -7
- package/esm2022/f-draggable/drag-node/f-move-nodes-event.mjs +0 -16
- package/esm2022/f-draggable/drag-node/index.mjs +0 -13
- package/esm2022/f-draggable/drag-node/is-drag-node-handler.mjs +0 -7
- package/esm2022/f-draggable/drag-node/magnetic-lines/domain/calculate-magnetic-guides.mjs +0 -59
- package/esm2022/f-draggable/drag-node/magnetic-lines/domain/i-magnetic-axis-guide.mjs +0 -2
- package/esm2022/f-draggable/drag-node/magnetic-lines/domain/i-magnetic-guides-result.mjs +0 -2
- package/esm2022/f-draggable/drag-node/magnetic-lines/domain/index.mjs +0 -6
- package/esm2022/f-draggable/drag-node/magnetic-lines/domain/magnetic-line-element.mjs +0 -34
- package/esm2022/f-draggable/drag-node/magnetic-lines/domain/magnetic-line-renderer.mjs +0 -44
- package/esm2022/f-draggable/drag-node/magnetic-lines/index.mjs +0 -4
- package/esm2022/f-draggable/drag-node/magnetic-lines/magnetic-lines-handler/index.mjs +0 -2
- package/esm2022/f-draggable/drag-node/magnetic-lines/magnetic-lines-handler/magnetic-lines-handler.mjs +0 -55
- package/esm2022/f-draggable/drag-node/magnetic-lines/magnetic-lines-preparation/index.mjs +0 -3
- package/esm2022/f-draggable/drag-node/magnetic-lines/magnetic-lines-preparation/magnetic-lines-preparation-request.mjs +0 -4
- package/esm2022/f-draggable/drag-node/magnetic-lines/magnetic-lines-preparation/magnetic-lines-preparation.mjs +0 -54
- package/esm2022/f-draggable/drag-node/magnetic-rects/domain/calculate-magnetic-rects.mjs +0 -374
- package/esm2022/f-draggable/drag-node/magnetic-rects/domain/i-magnetic-gap-rect.mjs +0 -2
- package/esm2022/f-draggable/drag-node/magnetic-rects/domain/i-magnetic-rects-result.mjs +0 -2
- package/esm2022/f-draggable/drag-node/magnetic-rects/domain/index.mjs +0 -6
- package/esm2022/f-draggable/drag-node/magnetic-rects/domain/magnetic-rect-element.mjs +0 -66
- package/esm2022/f-draggable/drag-node/magnetic-rects/domain/magnetic-rects-renderer.mjs +0 -50
- package/esm2022/f-draggable/drag-node/magnetic-rects/index.mjs +0 -4
- package/esm2022/f-draggable/drag-node/magnetic-rects/magnetic-rects-handler/index.mjs +0 -2
- package/esm2022/f-draggable/drag-node/magnetic-rects/magnetic-rects-handler/magnetic-rects-handler.mjs +0 -43
- package/esm2022/f-draggable/drag-node/magnetic-rects/magnetic-rects-preparation/index.mjs +0 -3
- package/esm2022/f-draggable/drag-node/magnetic-rects/magnetic-rects-preparation/magnetic-rects-preparation-request.mjs +0 -4
- package/esm2022/f-draggable/drag-node/magnetic-rects/magnetic-rects-preparation/magnetic-rects-preparation.mjs +0 -54
- package/esm2022/f-draggable/drag-node/providers.mjs +0 -13
- package/esm2022/f-draggable/drop-to-group/drop-to-group-finalize/drop-to-group-finalize-request.mjs +0 -8
- package/esm2022/f-draggable/drop-to-group/drop-to-group-finalize/drop-to-group-finalize.mjs +0 -65
- package/esm2022/f-draggable/drop-to-group/drop-to-group-finalize/index.mjs +0 -3
- package/esm2022/f-draggable/drop-to-group/drop-to-group-handler/drop-to-group-handler.mjs +0 -88
- package/esm2022/f-draggable/drop-to-group/drop-to-group-handler/index.mjs +0 -2
- package/esm2022/f-draggable/drop-to-group/drop-to-group-preparation/drop-to-group-preparation-request.mjs +0 -8
- package/esm2022/f-draggable/drop-to-group/drop-to-group-preparation/drop-to-group-preparation.mjs +0 -91
- package/esm2022/f-draggable/drop-to-group/drop-to-group-preparation/index.mjs +0 -3
- package/esm2022/f-draggable/drop-to-group/f-drop-to-group-event.mjs +0 -24
- package/esm2022/f-draggable/drop-to-group/index.mjs +0 -7
- package/esm2022/f-draggable/drop-to-group/providers.mjs +0 -9
- package/esm2022/f-draggable/drop-to-group/sort-drop-candidates-by-layer/index.mjs +0 -3
- package/esm2022/f-draggable/drop-to-group/sort-drop-candidates-by-layer/sort-drop-candidates-by-layer-request.mjs +0 -8
- package/esm2022/f-draggable/drop-to-group/sort-drop-candidates-by-layer/sort-drop-candidates-by-layer.mjs +0 -57
- package/esm2022/f-draggable/f-drag-blocker.directive.mjs +0 -16
- package/esm2022/f-draggable/f-drag-started-event.mjs +0 -23
- package/esm2022/f-draggable/f-draggable-base.mjs +0 -6
- package/esm2022/f-draggable/f-draggable-data-context.mjs +0 -48
- package/esm2022/f-draggable/f-draggable.directive.mjs +0 -197
- package/esm2022/f-draggable/f-selection-change-event.mjs +0 -23
- package/esm2022/f-draggable/index.mjs +0 -23
- package/esm2022/f-draggable/infrastructure/drag-handler-base.mjs +0 -34
- package/esm2022/f-draggable/infrastructure/drag-handler-injector.mjs +0 -113
- package/esm2022/f-draggable/infrastructure/f-drag-handler-result.mjs +0 -20
- package/esm2022/f-draggable/infrastructure/i-drag-session-feature.mjs +0 -2
- package/esm2022/f-draggable/infrastructure/index.mjs +0 -5
- package/esm2022/f-draggable/is-drag-blocker.mjs +0 -5
- package/esm2022/f-draggable/pinch-to-zoom/handler/index.mjs +0 -2
- package/esm2022/f-draggable/pinch-to-zoom/handler/pinch-to-zoom-handler.mjs +0 -88
- package/esm2022/f-draggable/pinch-to-zoom/index.mjs +0 -5
- package/esm2022/f-draggable/pinch-to-zoom/pinch-to-zoom-finalize/index.mjs +0 -3
- package/esm2022/f-draggable/pinch-to-zoom/pinch-to-zoom-finalize/pinch-to-zoom-finalize-request.mjs +0 -8
- package/esm2022/f-draggable/pinch-to-zoom/pinch-to-zoom-finalize/pinch-to-zoom-finalize.mjs +0 -31
- package/esm2022/f-draggable/pinch-to-zoom/pinch-to-zoom-preparation/index.mjs +0 -3
- package/esm2022/f-draggable/pinch-to-zoom/pinch-to-zoom-preparation/pinch-to-zoom-preparation-request.mjs +0 -8
- package/esm2022/f-draggable/pinch-to-zoom/pinch-to-zoom-preparation/pinch-to-zoom-preparation.mjs +0 -47
- package/esm2022/f-draggable/pinch-to-zoom/providers.mjs +0 -4
- package/esm2022/f-draggable/providers.mjs +0 -29
- package/esm2022/f-draggable/resize-node/apply-child-resize-constraints/apply-child-resize-constraints-request.mjs +0 -10
- package/esm2022/f-draggable/resize-node/apply-child-resize-constraints/apply-child-resize-constraints.mjs +0 -57
- package/esm2022/f-draggable/resize-node/apply-child-resize-constraints/index.mjs +0 -3
- package/esm2022/f-draggable/resize-node/apply-parent-resize-constraints/apply-parent-resize-constraints-request.mjs +0 -10
- package/esm2022/f-draggable/resize-node/apply-parent-resize-constraints/apply-parent-resize-constraints.mjs +0 -150
- package/esm2022/f-draggable/resize-node/apply-parent-resize-constraints/index.mjs +0 -3
- package/esm2022/f-draggable/resize-node/calculate-changed-rect-from-difference/calculate-changed-rect-from-difference-request.mjs +0 -14
- package/esm2022/f-draggable/resize-node/calculate-changed-rect-from-difference/calculate-changed-rect-from-difference.mjs +0 -55
- package/esm2022/f-draggable/resize-node/calculate-changed-rect-from-difference/index.mjs +0 -3
- package/esm2022/f-draggable/resize-node/calculate-direct-children-union-rect/calculate-direct-children-union-rect-request.mjs +0 -10
- package/esm2022/f-draggable/resize-node/calculate-direct-children-union-rect/calculate-direct-children-union-rect.mjs +0 -38
- package/esm2022/f-draggable/resize-node/calculate-direct-children-union-rect/index.mjs +0 -3
- package/esm2022/f-draggable/resize-node/calculate-resize-limits/calculate-resize-limits-request.mjs +0 -10
- package/esm2022/f-draggable/resize-node/calculate-resize-limits/calculate-resize-limits.mjs +0 -69
- package/esm2022/f-draggable/resize-node/calculate-resize-limits/index.mjs +0 -3
- package/esm2022/f-draggable/resize-node/constraint/i-resize-constraint.mjs +0 -2
- package/esm2022/f-draggable/resize-node/constraint/i-resize-limit.mjs +0 -2
- package/esm2022/f-draggable/resize-node/constraint/i-resize-limits.mjs +0 -2
- package/esm2022/f-draggable/resize-node/constraint/i-resize-overflow.mjs +0 -2
- package/esm2022/f-draggable/resize-node/constraint/index.mjs +0 -6
- package/esm2022/f-draggable/resize-node/constraint/resize-direction.mjs +0 -12
- package/esm2022/f-draggable/resize-node/f-resize-node-start-event-data.mjs +0 -7
- package/esm2022/f-draggable/resize-node/index.mjs +0 -13
- package/esm2022/f-draggable/resize-node/is-resize-node-handler.mjs +0 -7
- package/esm2022/f-draggable/resize-node/providers.mjs +0 -19
- package/esm2022/f-draggable/resize-node/resize-node-finalize/index.mjs +0 -3
- package/esm2022/f-draggable/resize-node/resize-node-finalize/resize-node-finalize-request.mjs +0 -8
- package/esm2022/f-draggable/resize-node/resize-node-finalize/resize-node-finalize.mjs +0 -29
- package/esm2022/f-draggable/resize-node/resize-node-handler/i-resize-node-connection-handlers.mjs +0 -2
- package/esm2022/f-draggable/resize-node/resize-node-handler/index.mjs +0 -4
- package/esm2022/f-draggable/resize-node/resize-node-handler/resize-node-dependent-connection-handlers/index.mjs +0 -5
- package/esm2022/f-draggable/resize-node/resize-node-handler/resize-node-dependent-connection-handlers/resize-node-connection-both-sides-handler.mjs +0 -31
- package/esm2022/f-draggable/resize-node/resize-node-handler/resize-node-dependent-connection-handlers/resize-node-connection-handler-base.mjs +0 -56
- package/esm2022/f-draggable/resize-node/resize-node-handler/resize-node-dependent-connection-handlers/resize-node-connection-source-handler.mjs +0 -15
- package/esm2022/f-draggable/resize-node/resize-node-handler/resize-node-dependent-connection-handlers/resize-node-connection-target-handler.mjs +0 -15
- package/esm2022/f-draggable/resize-node/resize-node-handler/resize-node-handler.mjs +0 -116
- package/esm2022/f-draggable/resize-node/resize-preparation/attach-resize-connection-drag-handlers-to-node/attach-resize-connection-drag-handlers-to-node-request.mjs +0 -10
- package/esm2022/f-draggable/resize-node/resize-preparation/attach-resize-connection-drag-handlers-to-node/attach-resize-connection-drag-handlers-to-node.mjs +0 -99
- package/esm2022/f-draggable/resize-node/resize-preparation/attach-resize-connection-drag-handlers-to-node/index.mjs +0 -3
- package/esm2022/f-draggable/resize-node/resize-preparation/index.mjs +0 -4
- package/esm2022/f-draggable/resize-node/resize-preparation/resize-node-preparation-request.mjs +0 -10
- package/esm2022/f-draggable/resize-node/resize-preparation/resize-node-preparation.mjs +0 -77
- package/esm2022/f-draggable/rotate-node/calculate-difference-after-rotation.mjs +0 -19
- package/esm2022/f-draggable/rotate-node/f-rotate-node-start-event-data.mjs +0 -7
- package/esm2022/f-draggable/rotate-node/index.mjs +0 -8
- package/esm2022/f-draggable/rotate-node/is-rotate-node-handler.mjs +0 -7
- package/esm2022/f-draggable/rotate-node/providers.mjs +0 -4
- package/esm2022/f-draggable/rotate-node/rotate-node-finalize/index.mjs +0 -3
- package/esm2022/f-draggable/rotate-node/rotate-node-finalize/rotate-node-finalize-request.mjs +0 -8
- package/esm2022/f-draggable/rotate-node/rotate-node-finalize/rotate-node-finalize.mjs +0 -31
- package/esm2022/f-draggable/rotate-node/rotate-node-handler/index.mjs +0 -2
- package/esm2022/f-draggable/rotate-node/rotate-node-handler/rotate-node-handler.mjs +0 -89
- package/esm2022/f-draggable/rotate-node/rotate-node-preparation/index.mjs +0 -3
- package/esm2022/f-draggable/rotate-node/rotate-node-preparation/rotate-node-preparation-request.mjs +0 -10
- package/esm2022/f-draggable/rotate-node/rotate-node-preparation/rotate-node-preparation.mjs +0 -99
- package/esm2022/f-draggable/select-by-pointer/index.mjs +0 -4
- package/esm2022/f-draggable/select-by-pointer/providers.mjs +0 -3
- package/esm2022/f-draggable/select-by-pointer/select-by-pointer-request.mjs +0 -10
- package/esm2022/f-draggable/select-by-pointer/select-by-pointer.mjs +0 -128
- package/esm2022/f-draggable/selection-area/index.mjs +0 -5
- package/esm2022/f-draggable/selection-area/providers.mjs +0 -4
- package/esm2022/f-draggable/selection-area/selection-area-finalize/index.mjs +0 -3
- package/esm2022/f-draggable/selection-area/selection-area-finalize/selection-area-finalize-request.mjs +0 -8
- package/esm2022/f-draggable/selection-area/selection-area-finalize/selection-area-finalize.mjs +0 -30
- package/esm2022/f-draggable/selection-area/selection-area-handler/index.mjs +0 -2
- package/esm2022/f-draggable/selection-area/selection-area-handler/selection-area-handler.mjs +0 -79
- package/esm2022/f-draggable/selection-area/selection-area-preparation/index.mjs +0 -3
- package/esm2022/f-draggable/selection-area/selection-area-preparation/selection-area-preparation-request.mjs +0 -8
- package/esm2022/f-draggable/selection-area/selection-area-preparation/selection-area-preparation.mjs +0 -40
- package/esm2022/f-external-item/f-external-item-base.mjs +0 -13
- package/esm2022/f-external-item/f-external-item-placeholder.mjs +0 -26
- package/esm2022/f-external-item/f-external-item-preview.mjs +0 -26
- package/esm2022/f-external-item/f-external-item.mjs +0 -63
- package/esm2022/f-external-item/f-external-item.service.mjs +0 -52
- package/esm2022/f-external-item/index.mjs +0 -8
- package/esm2022/f-external-item/is-external-item.mjs +0 -10
- package/esm2022/f-external-item/providers.mjs +0 -3
- package/esm2022/f-flow/f-flow-base.mjs +0 -5
- package/esm2022/f-flow/f-flow.component.mjs +0 -159
- package/esm2022/f-flow/index.mjs +0 -4
- package/esm2022/f-flow/providers.mjs +0 -5
- package/esm2022/f-flow.module.mjs +0 -112
- package/esm2022/f-line-alignment/f-line-alignment.component.mjs +0 -31
- package/esm2022/f-line-alignment/index.mjs +0 -3
- package/esm2022/f-line-alignment/providers.mjs +0 -5
- package/esm2022/f-magnetic-lines/f-magnetic-lines-base.mjs +0 -12
- package/esm2022/f-magnetic-lines/f-magnetic-lines.mjs +0 -24
- package/esm2022/f-magnetic-lines/index.mjs +0 -4
- package/esm2022/f-magnetic-lines/providers.mjs +0 -3
- package/esm2022/f-magnetic-rects/f-magnetic-rects-base.mjs +0 -12
- package/esm2022/f-magnetic-rects/f-magnetic-rects.mjs +0 -29
- package/esm2022/f-magnetic-rects/index.mjs +0 -4
- package/esm2022/f-magnetic-rects/providers.mjs +0 -3
- package/esm2022/f-minimap/f-minimap-base.mjs +0 -12
- package/esm2022/f-minimap/f-minimap-canvas.directive.mjs +0 -30
- package/esm2022/f-minimap/f-minimap-flow.directive.mjs +0 -26
- package/esm2022/f-minimap/f-minimap-view.directive.mjs +0 -25
- package/esm2022/f-minimap/f-minimap.component.mjs +0 -66
- package/esm2022/f-minimap/index.mjs +0 -7
- package/esm2022/f-minimap/providers.mjs +0 -11
- package/esm2022/f-node/f-drag-handle.directive.mjs +0 -16
- package/esm2022/f-node/f-group.directive.mjs +0 -117
- package/esm2022/f-node/f-node-base.mjs +0 -110
- package/esm2022/f-node/f-node.directive.mjs +0 -121
- package/esm2022/f-node/f-resize-handle/e-f-resize-handle-type.mjs +0 -12
- package/esm2022/f-node/f-resize-handle/f-resize-handle.directive.mjs +0 -27
- package/esm2022/f-node/f-resize-handle/index.mjs +0 -3
- package/esm2022/f-node/f-rotate-handle/f-rotate-handle.directive.mjs +0 -16
- package/esm2022/f-node/f-rotate-handle/index.mjs +0 -3
- package/esm2022/f-node/f-rotate-handle/is-rotate-handle.mjs +0 -5
- package/esm2022/f-node/index.mjs +0 -9
- package/esm2022/f-node/is-node.mjs +0 -4
- package/esm2022/f-node/providers.mjs +0 -13
- package/esm2022/f-selection-area/f-selection-area-base.mjs +0 -14
- package/esm2022/f-selection-area/f-selection-area.mjs +0 -29
- package/esm2022/f-selection-area/index.mjs +0 -4
- package/esm2022/f-selection-area/providers.mjs +0 -3
- package/esm2022/f-storage/base/f-id-registry-base.mjs +0 -89
- package/esm2022/f-storage/base/f-single-registry-base.mjs +0 -37
- package/esm2022/f-storage/base/index.mjs +0 -3
- package/esm2022/f-storage/f-components-store.mjs +0 -86
- package/esm2022/f-storage/f-connection-marker-registry.mjs +0 -5
- package/esm2022/f-storage/f-connection-registry.mjs +0 -25
- package/esm2022/f-storage/f-connector-registry.mjs +0 -9
- package/esm2022/f-storage/f-node-registry.mjs +0 -5
- package/esm2022/f-storage/features/emit-connections-changes/emit-connections-changes-request.mjs +0 -4
- package/esm2022/f-storage/features/emit-connections-changes/emit-connections-changes.mjs +0 -22
- package/esm2022/f-storage/features/emit-connections-changes/index.mjs +0 -3
- package/esm2022/f-storage/features/index.mjs +0 -8
- package/esm2022/f-storage/features/listen-connections-changes/index.mjs +0 -3
- package/esm2022/f-storage/features/listen-connections-changes/listen-connections-changes-request.mjs +0 -8
- package/esm2022/f-storage/features/listen-connections-changes/listen-connections-changes.mjs +0 -25
- package/esm2022/f-storage/features/listen-nodes-changes/index.mjs +0 -3
- package/esm2022/f-storage/features/listen-nodes-changes/listen-nodes-changes-request.mjs +0 -4
- package/esm2022/f-storage/features/listen-nodes-changes/listen-nodes-changes.mjs +0 -23
- package/esm2022/f-storage/features/listen-transform-changes/index.mjs +0 -3
- package/esm2022/f-storage/features/listen-transform-changes/listen-transform-changes-request.mjs +0 -4
- package/esm2022/f-storage/features/listen-transform-changes/listen-transform-changes.mjs +0 -23
- package/esm2022/f-storage/features/notify-transform-changed/index.mjs +0 -3
- package/esm2022/f-storage/features/notify-transform-changed/notify-transform-changed-request.mjs +0 -4
- package/esm2022/f-storage/features/notify-transform-changed/notify-transform-changed.mjs +0 -22
- package/esm2022/f-storage/features/register-plugin-instance/index.mjs +0 -3
- package/esm2022/f-storage/features/register-plugin-instance/register-plugin-instance-request.mjs +0 -10
- package/esm2022/f-storage/features/register-plugin-instance/register-plugin-instance.mjs +0 -25
- package/esm2022/f-storage/features/remove-plugin-instance/index.mjs +0 -3
- package/esm2022/f-storage/features/remove-plugin-instance/remove-plugin-instance-request.mjs +0 -8
- package/esm2022/f-storage/features/remove-plugin-instance/remove-plugin-instance.mjs +0 -25
- package/esm2022/f-storage/index.mjs +0 -9
- package/esm2022/f-storage/providers.mjs +0 -14
- package/esm2022/f-virtual/f-virtual-for.mjs +0 -86
- package/esm2022/f-virtual/index.mjs +0 -3
- package/esm2022/f-virtual/providers.mjs +0 -3
- package/esm2022/f-zoom/e-f-zoom-direction.mjs +0 -6
- package/esm2022/f-zoom/f-zoom-base.mjs +0 -5
- package/esm2022/f-zoom/f-zoom.directive.mjs +0 -158
- package/esm2022/f-zoom/index.mjs +0 -5
- package/esm2022/f-zoom/providers.mjs +0 -5
- package/esm2022/f-zoom/wheel-zoom.utils.mjs +0 -34
- package/esm2022/foblex-flow.mjs +0 -5
- package/esm2022/i-has-host-element.mjs +0 -2
- package/esm2022/mixins/change-selection/change-selection.mjs +0 -28
- package/esm2022/mixins/change-selection/i-selectable.mjs +0 -2
- package/esm2022/mixins/change-selection/index.mjs +0 -3
- package/esm2022/mixins/change-visibility/change-visibility.mjs +0 -15
- package/esm2022/mixins/change-visibility/i-can-change-visibility.mjs +0 -2
- package/esm2022/mixins/change-visibility/index.mjs +0 -3
- package/esm2022/mixins/constructor.mjs +0 -2
- package/esm2022/mixins/index.mjs +0 -4
- package/esm2022/public-api.mjs +0 -29
- package/esm2022/reactivity/after-next-paint.mjs +0 -27
- package/esm2022/reactivity/debounce-animation-frame.mjs +0 -21
- package/esm2022/reactivity/debounce-microtask.mjs +0 -20
- package/esm2022/reactivity/debounce-time.mjs +0 -21
- package/esm2022/reactivity/f-channel-hub.mjs +0 -50
- package/esm2022/reactivity/f-channel.mjs +0 -14
- package/esm2022/reactivity/f-resize-channel.mjs +0 -29
- package/esm2022/reactivity/index.mjs +0 -11
- package/esm2022/reactivity/notify-on-start.mjs +0 -33
- package/esm2022/reactivity/take-one.mjs +0 -21
- package/esm2022/reactivity/types.mjs +0 -2
- package/esm2022/testing/component-harness.mjs +0 -16
- package/esm2022/testing/di-harness.mjs +0 -32
- package/esm2022/testing/factories.mjs +0 -367
- package/esm2022/testing/index.mjs +0 -8
- package/esm2022/testing/internal/index.mjs +0 -2
- package/esm2022/testing/internal/type-helpers.mjs +0 -28
- package/esm2022/testing/jasmine/index.mjs +0 -2
- package/esm2022/testing/jasmine/spy-helpers.mjs +0 -14
- package/esm2022/testing/mediator-harness.mjs +0 -14
- package/esm2022/testing/pure-harness.mjs +0 -25
- package/esm2022/testing/registry-harness.mjs +0 -23
- package/esm2022/utils/calculate-pointer-in-flow.mjs +0 -12
- package/esm2022/utils/index.mjs +0 -4
- package/esm2022/utils/infinity-min-max.mjs +0 -7
- package/esm2022/utils/string-attribute.mjs +0 -4
- package/f-auto-pan/f-auto-pan-base.d.ts +0 -11
- package/f-auto-pan/f-auto-pan.d.ts +0 -13
- package/f-auto-pan/index.d.ts +0 -3
- package/f-auto-pan/providers.d.ts +0 -2
- package/f-backgroud/domain/i-f-background-pattern.d.ts +0 -7
- package/f-backgroud/domain/index.d.ts +0 -1
- package/f-backgroud/f-background-base.d.ts +0 -11
- package/f-backgroud/f-background.component.d.ts +0 -14
- package/f-backgroud/f-circle-pattern/f-circle-pattern.component.d.ts +0 -32
- package/f-backgroud/f-circle-pattern/index.d.ts +0 -1
- package/f-backgroud/f-rect-pattern/f-rect-pattern.component.d.ts +0 -35
- package/f-backgroud/f-rect-pattern/index.d.ts +0 -1
- package/f-backgroud/index.d.ts +0 -6
- package/f-backgroud/providers.d.ts +0 -4
- package/f-cache/config/f-cache-options.d.ts +0 -6
- package/f-cache/config/index.d.ts +0 -1
- package/f-cache/features/f-cache-connectors/index.d.ts +0 -2
- package/f-cache/features/f-cache-connectors/register-connector/index.d.ts +0 -2
- package/f-cache/features/f-cache-connectors/register-connector/register-connector-request.d.ts +0 -8
- package/f-cache/features/f-cache-connectors/register-connector/register-connector.d.ts +0 -12
- package/f-cache/features/f-cache-connectors/unregister-connector/index.d.ts +0 -2
- package/f-cache/features/f-cache-connectors/unregister-connector/unregister-connector-request.d.ts +0 -6
- package/f-cache/features/f-cache-connectors/unregister-connector/unregister-connector.d.ts +0 -12
- package/f-cache/features/f-cache-nodes/index.d.ts +0 -3
- package/f-cache/features/f-cache-nodes/invalidate-node/index.d.ts +0 -2
- package/f-cache/features/f-cache-nodes/invalidate-node/invalidate-node-request.d.ts +0 -6
- package/f-cache/features/f-cache-nodes/invalidate-node/invalidate-node.d.ts +0 -10
- package/f-cache/features/f-cache-nodes/register-node/index.d.ts +0 -2
- package/f-cache/features/f-cache-nodes/register-node/register-node-request.d.ts +0 -8
- package/f-cache/features/f-cache-nodes/register-node/register-node.d.ts +0 -10
- package/f-cache/features/f-cache-nodes/unregister-node/index.d.ts +0 -2
- package/f-cache/features/f-cache-nodes/unregister-node/unregister-node-request.d.ts +0 -5
- package/f-cache/features/f-cache-nodes/unregister-node/unregister-node.d.ts +0 -11
- package/f-cache/features/f-cache-rects/get-cached-rect/get-cached-rect-request.d.ts +0 -5
- package/f-cache/features/f-cache-rects/get-cached-rect/get-cached-rect.d.ts +0 -11
- package/f-cache/features/f-cache-rects/get-cached-rect/index.d.ts +0 -2
- package/f-cache/features/f-cache-rects/index.d.ts +0 -4
- package/f-cache/features/f-cache-rects/set-connector-rect/index.d.ts +0 -2
- package/f-cache/features/f-cache-rects/set-connector-rect/set-connector-rect-request.d.ts +0 -8
- package/f-cache/features/f-cache-rects/set-connector-rect/set-connector-rect.d.ts +0 -10
- package/f-cache/features/f-cache-rects/set-node-rect/index.d.ts +0 -2
- package/f-cache/features/f-cache-rects/set-node-rect/set-node-rect-request.d.ts +0 -7
- package/f-cache/features/f-cache-rects/set-node-rect/set-node-rect.d.ts +0 -11
- package/f-cache/features/f-cache-rects/update-rect-by-element/index.d.ts +0 -2
- package/f-cache/features/f-cache-rects/update-rect-by-element/update-rect-by-element-request.d.ts +0 -7
- package/f-cache/features/f-cache-rects/update-rect-by-element/update-rect-by-element.d.ts +0 -10
- package/f-cache/features/index.d.ts +0 -3
- package/f-cache/index.d.ts +0 -4
- package/f-cache/model/f-cache-connector-key.d.ts +0 -4
- package/f-cache/model/f-cache-connector.d.ts +0 -11
- package/f-cache/model/f-cache-node.d.ts +0 -9
- package/f-cache/model/f-cache.d.ts +0 -12
- package/f-cache/model/i-f-cache-node-ref.d.ts +0 -6
- package/f-cache/model/index.d.ts +0 -5
- package/f-cache/providers.d.ts +0 -3
- package/f-canvas/domain/f-canvas-change-event.d.ts +0 -6
- package/f-canvas/domain/index.d.ts +0 -1
- package/f-canvas/f-canvas-base.d.ts +0 -27
- package/f-canvas/f-canvas.component.d.ts +0 -85
- package/f-canvas/index.d.ts +0 -4
- package/f-canvas/providers.d.ts +0 -2
- package/f-connection/f-connection/f-connection.component.d.ts +0 -27
- package/f-connection/f-connection/index.d.ts +0 -1
- package/f-connection/f-connection-for-create/f-connection-for-create.component.d.ts +0 -25
- package/f-connection/f-connection-for-create/index.d.ts +0 -1
- package/f-connection/f-snap-connection/f-snap-connection.component.d.ts +0 -27
- package/f-connection/f-snap-connection/index.d.ts +0 -1
- package/f-connection/index.d.ts +0 -4
- package/f-connection/providers.d.ts +0 -6
- package/f-connection-v2/components/connection-content/f-connection-content.d.ts +0 -42
- package/f-connection-v2/components/connection-content/index.d.ts +0 -3
- package/f-connection-v2/components/connection-content/models/f-connection-content-base.d.ts +0 -36
- package/f-connection-v2/components/connection-content/models/index.d.ts +0 -1
- package/f-connection-v2/components/connection-content/utils/i-polyline-content.d.ts +0 -9
- package/f-connection-v2/components/connection-content/utils/index.d.ts +0 -5
- package/f-connection-v2/components/connection-content/utils/polyline-content-align.d.ts +0 -4
- package/f-connection-v2/components/connection-content/utils/polyline-content-layout-engine.d.ts +0 -13
- package/f-connection-v2/components/connection-content/utils/polyline-content-place.d.ts +0 -18
- package/f-connection-v2/components/connection-content/utils/polyline-sampler/i-sampler-result.d.ts +0 -11
- package/f-connection-v2/components/connection-content/utils/polyline-sampler/i-tangent.d.ts +0 -4
- package/f-connection-v2/components/connection-content/utils/polyline-sampler/index.d.ts +0 -4
- package/f-connection-v2/components/connection-content/utils/polyline-sampler/polyline-sampler.d.ts +0 -60
- package/f-connection-v2/components/connection-content/utils/polyline-sampler/polyline.d.ts +0 -29
- package/f-connection-v2/components/connection-drag-handles/f-connection-drag-handle-end.d.ts +0 -8
- package/f-connection-v2/components/connection-drag-handles/f-connection-drag-handle-start.d.ts +0 -8
- package/f-connection-v2/components/connection-drag-handles/index.d.ts +0 -3
- package/f-connection-v2/components/connection-drag-handles/models/f-connection-drag-handle-base.d.ts +0 -11
- package/f-connection-v2/components/connection-drag-handles/models/index.d.ts +0 -1
- package/f-connection-v2/components/connection-gradient/components/index.d.ts +0 -1
- package/f-connection-v2/components/connection-gradient/components/render/f-connection-gradient-renderer.d.ts +0 -8
- package/f-connection-v2/components/connection-gradient/components/render/index.d.ts +0 -2
- package/f-connection-v2/components/connection-gradient/components/render/models/f-connection-gradient-renderer-base.d.ts +0 -25
- package/f-connection-v2/components/connection-gradient/components/render/models/index.d.ts +0 -1
- package/f-connection-v2/components/connection-gradient/f-connection-gradient.d.ts +0 -8
- package/f-connection-v2/components/connection-gradient/index.d.ts +0 -3
- package/f-connection-v2/components/connection-gradient/models/f-connection-gradient-base.d.ts +0 -6
- package/f-connection-v2/components/connection-gradient/models/index.d.ts +0 -1
- package/f-connection-v2/components/connection-marker/enums/e-f-marker-type.d.ts +0 -6
- package/f-connection-v2/components/connection-marker/enums/index.d.ts +0 -1
- package/f-connection-v2/components/connection-marker/f-connection-marker.d.ts +0 -17
- package/f-connection-v2/components/connection-marker/index.d.ts +0 -3
- package/f-connection-v2/components/connection-marker/models/f-connection-marker-base.d.ts +0 -13
- package/f-connection-v2/components/connection-marker/models/index.d.ts +0 -1
- package/f-connection-v2/components/connection-path/f-connection-path.d.ts +0 -15
- package/f-connection-v2/components/connection-path/index.d.ts +0 -2
- package/f-connection-v2/components/connection-path/models/f-connection-path-base.d.ts +0 -9
- package/f-connection-v2/components/connection-path/models/index.d.ts +0 -1
- package/f-connection-v2/components/connection-selection/f-connection-selection.d.ts +0 -9
- package/f-connection-v2/components/connection-selection/index.d.ts +0 -2
- package/f-connection-v2/components/connection-selection/models/f-connection-selection-base.d.ts +0 -6
- package/f-connection-v2/components/connection-selection/models/index.d.ts +0 -1
- package/f-connection-v2/components/connection-waypoints/f-connection-waypoints.d.ts +0 -19
- package/f-connection-v2/components/connection-waypoints/index.d.ts +0 -3
- package/f-connection-v2/components/connection-waypoints/models/f-connection-waypoints-base.d.ts +0 -16
- package/f-connection-v2/components/connection-waypoints/models/index.d.ts +0 -1
- package/f-connection-v2/components/connection-waypoints/utils/find-existing-waypoint.d.ts +0 -6
- package/f-connection-v2/components/connection-waypoints/utils/find-waypoint-candidate.d.ts +0 -6
- package/f-connection-v2/components/connection-waypoints/utils/index.d.ts +0 -4
- package/f-connection-v2/components/connection-waypoints/utils/is-pointer-inside-point.d.ts +0 -2
- package/f-connection-v2/components/connection-waypoints/utils/pick-waypoint.d.ts +0 -17
- package/f-connection-v2/components/f-connection-base.d.ts +0 -66
- package/f-connection-v2/components/index.d.ts +0 -8
- package/f-connection-v2/enums/e-f-connectable-side.d.ts +0 -10
- package/f-connection-v2/enums/e-f-connection-type.d.ts +0 -6
- package/f-connection-v2/enums/index.d.ts +0 -2
- package/f-connection-v2/index.d.ts +0 -4
- package/f-connection-v2/models/f-connection-components-parent.d.ts +0 -13
- package/f-connection-v2/models/index.d.ts +0 -1
- package/f-connection-v2/utils/connection-behaviour/connection-behaviour-builder-request.d.ts +0 -14
- package/f-connection-v2/utils/connection-behaviour/connection-behaviour-builder.d.ts +0 -46
- package/f-connection-v2/utils/connection-behaviour/enums/e-f-connection-behavior.d.ts +0 -5
- package/f-connection-v2/utils/connection-behaviour/enums/e-f-connection-connectable-side.d.ts +0 -10
- package/f-connection-v2/utils/connection-behaviour/enums/index.d.ts +0 -2
- package/f-connection-v2/utils/connection-behaviour/index.d.ts +0 -5
- package/f-connection-v2/utils/connection-behaviour/models/i-calculate-behavior-request.d.ts +0 -14
- package/f-connection-v2/utils/connection-behaviour/models/index.d.ts +0 -1
- package/f-connection-v2/utils/connection-behaviour/utils/fixed-center-behavior.d.ts +0 -8
- package/f-connection-v2/utils/connection-behaviour/utils/fixed-outbound-behavior.d.ts +0 -8
- package/f-connection-v2/utils/connection-behaviour/utils/floating-behavior.d.ts +0 -8
- package/f-connection-v2/utils/connection-behaviour/utils/get-rotated-rounded-rect-intersection.d.ts +0 -3
- package/f-connection-v2/utils/connection-behaviour/utils/index.d.ts +0 -3
- package/f-connection-v2/utils/connection-line-builder/builders/adaptive-curve/calculate-adaptive-curve-data.d.ts +0 -8
- package/f-connection-v2/utils/connection-line-builder/builders/adaptive-curve/index.d.ts +0 -1
- package/f-connection-v2/utils/connection-line-builder/builders/bezier-curve/calculate-bezier-curve-data.d.ts +0 -4
- package/f-connection-v2/utils/connection-line-builder/builders/bezier-curve/index.d.ts +0 -1
- package/f-connection-v2/utils/connection-line-builder/builders/index.d.ts +0 -5
- package/f-connection-v2/utils/connection-line-builder/builders/segment-line/build-corner-mid-points-and-apply-offsets.d.ts +0 -17
- package/f-connection-v2/utils/connection-line-builder/builders/segment-line/calculate-segment-line-data.d.ts +0 -6
- package/f-connection-v2/utils/connection-line-builder/builders/segment-line/create-segment-line-path.d.ts +0 -2
- package/f-connection-v2/utils/connection-line-builder/builders/segment-line/index.d.ts +0 -3
- package/f-connection-v2/utils/connection-line-builder/builders/straight-line/calculate-straight-line-data.d.ts +0 -4
- package/f-connection-v2/utils/connection-line-builder/builders/straight-line/index.d.ts +0 -1
- package/f-connection-v2/utils/connection-line-builder/builders/utils/build-connection-anchors.d.ts +0 -2
- package/f-connection-v2/utils/connection-line-builder/builders/utils/calculate-center-between-points.d.ts +0 -2
- package/f-connection-v2/utils/connection-line-builder/builders/utils/calculate-curve-candidates.d.ts +0 -3
- package/f-connection-v2/utils/connection-line-builder/builders/utils/calculate-polyline-candidates.d.ts +0 -2
- package/f-connection-v2/utils/connection-line-builder/builders/utils/index.d.ts +0 -8
- package/f-connection-v2/utils/connection-line-builder/builders/utils/merge-point-chains.d.ts +0 -2
- package/f-connection-v2/utils/connection-line-builder/builders/utils/multi-cubic.d.ts +0 -10
- package/f-connection-v2/utils/connection-line-builder/builders/utils/normalize-polyline.d.ts +0 -2
- package/f-connection-v2/utils/connection-line-builder/builders/utils/sample-cubic-bezier-uniform.d.ts +0 -24
- package/f-connection-v2/utils/connection-line-builder/connection-line-builder-request.d.ts +0 -7
- package/f-connection-v2/utils/connection-line-builder/connection-line-builder.d.ts +0 -13
- package/f-connection-v2/utils/connection-line-builder/index.d.ts +0 -5
- package/f-connection-v2/utils/connection-line-builder/models/i-f-connection-builder-request.d.ts +0 -11
- package/f-connection-v2/utils/connection-line-builder/models/i-f-connection-builder-response.d.ts +0 -8
- package/f-connection-v2/utils/connection-line-builder/models/i-f-connection-builder.d.ts +0 -5
- package/f-connection-v2/utils/connection-line-builder/models/index.d.ts +0 -3
- package/f-connection-v2/utils/connection-line-builder/providers/f-connection-builders.d.ts +0 -4
- package/f-connection-v2/utils/connection-line-builder/providers/index.d.ts +0 -1
- package/f-connection-v2/utils/create-connection-dom-identifier.d.ts +0 -1
- package/f-connection-v2/utils/create-connection-selection-dom-identifier.d.ts +0 -1
- package/f-connection-v2/utils/create-gradient-dom-identifier.d.ts +0 -1
- package/f-connection-v2/utils/create-gradient-dom-url.d.ts +0 -1
- package/f-connection-v2/utils/index.d.ts +0 -6
- package/f-connection-worker/features/calculate-connection-worker-connector-rect/calculate-connection-worker-connector-rect-request.d.ts +0 -8
- package/f-connection-worker/features/calculate-connection-worker-connector-rect/calculate-connection-worker-connector-rect.d.ts +0 -12
- package/f-connection-worker/features/calculate-connection-worker-connector-rect/index.d.ts +0 -2
- package/f-connection-worker/features/calculate-connection-worker-payload-item/calculate-connection-worker-payload-item-request.d.ts +0 -8
- package/f-connection-worker/features/calculate-connection-worker-payload-item/calculate-connection-worker-payload-item.d.ts +0 -11
- package/f-connection-worker/features/calculate-connection-worker-payload-item/index.d.ts +0 -2
- package/f-connection-worker/features/calculate-connections-using-connection-worker/calculate-connections-using-connection-worker-request.d.ts +0 -8
- package/f-connection-worker/features/calculate-connections-using-connection-worker/calculate-connections-using-connection-worker.d.ts +0 -12
- package/f-connection-worker/features/calculate-connections-using-connection-worker/index.d.ts +0 -2
- package/f-connection-worker/features/connection-worker-run/connection-worker-run-request.d.ts +0 -6
- package/f-connection-worker/features/connection-worker-run/connection-worker-run.d.ts +0 -12
- package/f-connection-worker/features/connection-worker-run/index.d.ts +0 -2
- package/f-connection-worker/features/disable-connection-worker/disable-connection-worker-request.d.ts +0 -5
- package/f-connection-worker/features/disable-connection-worker/disable-connection-worker.d.ts +0 -10
- package/f-connection-worker/features/disable-connection-worker/index.d.ts +0 -2
- package/f-connection-worker/features/ensure-connection-worker/ensure-connection-worker-request.d.ts +0 -3
- package/f-connection-worker/features/ensure-connection-worker/ensure-connection-worker.d.ts +0 -13
- package/f-connection-worker/features/ensure-connection-worker/index.d.ts +0 -2
- package/f-connection-worker/features/handle-connection-worker-message/handle-connection-worker-message-request.d.ts +0 -6
- package/f-connection-worker/features/handle-connection-worker-message/handle-connection-worker-message.d.ts +0 -9
- package/f-connection-worker/features/handle-connection-worker-message/index.d.ts +0 -2
- package/f-connection-worker/features/index.d.ts +0 -12
- package/f-connection-worker/features/is-connection-worker-enabled/index.d.ts +0 -2
- package/f-connection-worker/features/is-connection-worker-enabled/is-connection-worker-enabled-request.d.ts +0 -3
- package/f-connection-worker/features/is-connection-worker-enabled/is-connection-worker-enabled.d.ts +0 -11
- package/f-connection-worker/features/reset-connection-worker-runtime/index.d.ts +0 -2
- package/f-connection-worker/features/reset-connection-worker-runtime/reset-connection-worker-runtime-request.d.ts +0 -5
- package/f-connection-worker/features/reset-connection-worker-runtime/reset-connection-worker-runtime.d.ts +0 -9
- package/f-connection-worker/features/resolve-connection-worker-connectors/index.d.ts +0 -2
- package/f-connection-worker/features/resolve-connection-worker-connectors/resolve-connection-worker-connectors-request.d.ts +0 -11
- package/f-connection-worker/features/resolve-connection-worker-connectors/resolve-connection-worker-connectors.d.ts +0 -9
- package/f-connection-worker/features/resolve-connection-worker-context/index.d.ts +0 -2
- package/f-connection-worker/features/resolve-connection-worker-context/resolve-connection-worker-context-request.d.ts +0 -13
- package/f-connection-worker/features/resolve-connection-worker-context/resolve-connection-worker-context.d.ts +0 -10
- package/f-connection-worker/features/should-use-connection-worker/index.d.ts +0 -2
- package/f-connection-worker/features/should-use-connection-worker/should-use-connection-worker-request.d.ts +0 -5
- package/f-connection-worker/features/should-use-connection-worker/should-use-connection-worker.d.ts +0 -9
- package/f-connection-worker/index.d.ts +0 -3
- package/f-connection-worker/model/f-connection-worker.d.ts +0 -13
- package/f-connection-worker/model/i-f-connection-worker-rect.d.ts +0 -10
- package/f-connection-worker/model/i-f-connection-worker-request-item.d.ts +0 -13
- package/f-connection-worker/model/i-f-connection-worker-response.d.ts +0 -6
- package/f-connection-worker/model/i-f-connection-worker-result-item.d.ts +0 -8
- package/f-connection-worker/model/index.d.ts +0 -6
- package/f-connection-worker/model/t-f-connection-worker-pending-request.d.ts +0 -5
- package/f-connection-worker/providers.d.ts +0 -3
- package/f-connection-worker/worker/connection-worker-runtime.d.ts +0 -11
- package/f-connectors/f-connector-base.d.ts +0 -22
- package/f-connectors/f-node-input/f-node-input-base.d.ts +0 -12
- package/f-connectors/f-node-input/f-node-input.directive.d.ts +0 -25
- package/f-connectors/f-node-input/index.d.ts +0 -2
- package/f-connectors/f-node-outlet/f-node-outlet-base.d.ts +0 -14
- package/f-connectors/f-node-outlet/f-node-outlet.directive.d.ts +0 -21
- package/f-connectors/f-node-outlet/index.d.ts +0 -3
- package/f-connectors/f-node-outlet/is-node-outlet.d.ts +0 -1
- package/f-connectors/f-node-output/f-node-output-base.d.ts +0 -12
- package/f-connectors/f-node-output/f-node-output.directive.d.ts +0 -26
- package/f-connectors/f-node-output/index.d.ts +0 -3
- package/f-connectors/f-node-output/is-node-output.d.ts +0 -1
- package/f-connectors/f-source-connector-base.d.ts +0 -10
- package/f-connectors/index.d.ts +0 -6
- package/f-connectors/providers.d.ts +0 -4
- package/f-draggable/auto-pan/auto-pan.utils.d.ts +0 -6
- package/f-draggable/auto-pan/index.d.ts +0 -6
- package/f-draggable/auto-pan/providers.d.ts +0 -4
- package/f-draggable/auto-pan/run-auto-pan-frame/index.d.ts +0 -2
- package/f-draggable/auto-pan/run-auto-pan-frame/run-auto-pan-frame-request.d.ts +0 -3
- package/f-draggable/auto-pan/run-auto-pan-frame/run-auto-pan-frame.d.ts +0 -21
- package/f-draggable/auto-pan/stop-auto-pan/index.d.ts +0 -2
- package/f-draggable/auto-pan/stop-auto-pan/stop-auto-pan-request.d.ts +0 -3
- package/f-draggable/auto-pan/stop-auto-pan/stop-auto-pan.d.ts +0 -10
- package/f-draggable/auto-pan/stored-pointer-event.d.ts +0 -12
- package/f-draggable/auto-pan/sync-auto-pan/index.d.ts +0 -2
- package/f-draggable/auto-pan/sync-auto-pan/sync-auto-pan-request.d.ts +0 -3
- package/f-draggable/auto-pan/sync-auto-pan/sync-auto-pan.d.ts +0 -19
- package/f-draggable/connection/create-connection/create-connection-finalize/create-connection-finalize-request.d.ts +0 -6
- package/f-draggable/connection/create-connection/create-connection-finalize/create-connection-finalize.d.ts +0 -19
- package/f-draggable/connection/create-connection/create-connection-finalize/index.d.ts +0 -2
- package/f-draggable/connection/create-connection/create-connection-handler/create-connection-handler.d.ts +0 -36
- package/f-draggable/connection/create-connection/create-connection-handler/index.d.ts +0 -1
- package/f-draggable/connection/create-connection/create-connection-preparation/create-connection-preparation-request.d.ts +0 -8
- package/f-draggable/connection/create-connection/create-connection-preparation/create-connection-preparation.d.ts +0 -14
- package/f-draggable/connection/create-connection/create-connection-preparation/create-drag-handler/create-connection-create-drag-handler-request.d.ts +0 -8
- package/f-draggable/connection/create-connection/create-connection-preparation/create-drag-handler/create-connection-create-drag-handler.d.ts +0 -26
- package/f-draggable/connection/create-connection/create-connection-preparation/create-drag-handler/index.d.ts +0 -2
- package/f-draggable/connection/create-connection/create-connection-preparation/from-outlet-preparation/create-connection-from-outlet-preparation-request.d.ts +0 -8
- package/f-draggable/connection/create-connection/create-connection-preparation/from-outlet-preparation/create-connection-from-outlet-preparation.d.ts +0 -14
- package/f-draggable/connection/create-connection/create-connection-preparation/from-outlet-preparation/index.d.ts +0 -2
- package/f-draggable/connection/create-connection/create-connection-preparation/from-output-preparation/create-connection-from-output-preparation-request.d.ts +0 -8
- package/f-draggable/connection/create-connection/create-connection-preparation/from-output-preparation/create-connection-from-output-preparation.d.ts +0 -13
- package/f-draggable/connection/create-connection/create-connection-preparation/from-output-preparation/index.d.ts +0 -2
- package/f-draggable/connection/create-connection/create-connection-preparation/index.d.ts +0 -5
- package/f-draggable/connection/create-connection/f-create-connection-event.d.ts +0 -16
- package/f-draggable/connection/create-connection/i-create-connection-drag-result.d.ts +0 -7
- package/f-draggable/connection/create-connection/i-create-connection-event-data.d.ts +0 -3
- package/f-draggable/connection/create-connection/index.d.ts +0 -7
- package/f-draggable/connection/create-connection/resolve-connectable-output-for-outlet/index.d.ts +0 -2
- package/f-draggable/connection/create-connection/resolve-connectable-output-for-outlet/resolve-connectable-output-for-outlet-request.d.ts +0 -6
- package/f-draggable/connection/create-connection/resolve-connectable-output-for-outlet/resolve-connectable-output-for-outlet.d.ts +0 -12
- package/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-finalize/drag-connection-waypoint-finalize-request.d.ts +0 -6
- package/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-finalize/drag-connection-waypoint-finalize.d.ts +0 -11
- package/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-finalize/index.d.ts +0 -2
- package/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-handler/drag-connection-waypoint-handler.d.ts +0 -21
- package/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-handler/index.d.ts +0 -1
- package/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-preparation/drag-connection-waypoint-preparation-request.d.ts +0 -8
- package/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-preparation/drag-connection-waypoint-preparation.d.ts +0 -19
- package/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-preparation/index.d.ts +0 -2
- package/f-draggable/connection/drag-connection-waypoint/f-connection-waypoints-changed-event.d.ts +0 -6
- package/f-draggable/connection/drag-connection-waypoint/index.d.ts +0 -4
- package/f-draggable/connection/index.d.ts +0 -4
- package/f-draggable/connection/providers.d.ts +0 -4
- package/f-draggable/connection/reassign-connection/f-reassign-connection-event.d.ts +0 -29
- package/f-draggable/connection/reassign-connection/i-reassign-connection-drag-result.d.ts +0 -17
- package/f-draggable/connection/reassign-connection/i-reassign-connection-event-data.d.ts +0 -3
- package/f-draggable/connection/reassign-connection/index.d.ts +0 -6
- package/f-draggable/connection/reassign-connection/reassign-connection-finalize/index.d.ts +0 -2
- package/f-draggable/connection/reassign-connection/reassign-connection-finalize/reassign-connection-finalize-request.d.ts +0 -6
- package/f-draggable/connection/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.d.ts +0 -18
- package/f-draggable/connection/reassign-connection/reassign-connection-handler/i-reassign-handler.d.ts +0 -15
- package/f-draggable/connection/reassign-connection/reassign-connection-handler/index.d.ts +0 -4
- package/f-draggable/connection/reassign-connection/reassign-connection-handler/reassign-connection-handler.d.ts +0 -30
- package/f-draggable/connection/reassign-connection/reassign-connection-handler/reassign-connection-source-handler.d.ts +0 -28
- package/f-draggable/connection/reassign-connection/reassign-connection-handler/reassign-connection-target-handler.d.ts +0 -28
- package/f-draggable/connection/reassign-connection/reassign-connection-preparation/index.d.ts +0 -3
- package/f-draggable/connection/reassign-connection/reassign-connection-preparation/is-pointer-inside-start-or-end-drag-handles.d.ts +0 -5
- package/f-draggable/connection/reassign-connection/reassign-connection-preparation/reassign-connection-preparation-request.d.ts +0 -8
- package/f-draggable/connection/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.d.ts +0 -20
- package/f-draggable/domain/detect-connections-under-drag-node/detect-connections-under-drag-node-request.d.ts +0 -6
- package/f-draggable/domain/detect-connections-under-drag-node/detect-connections-under-drag-node.d.ts +0 -14
- package/f-draggable/domain/detect-connections-under-drag-node/f-node-intersected-with-connections-event.d.ts +0 -25
- package/f-draggable/domain/detect-connections-under-drag-node/index.d.ts +0 -3
- package/f-draggable/domain/emit-end-drag-sequence-event/emit-end-drag-sequence-event-request.d.ts +0 -3
- package/f-draggable/domain/emit-end-drag-sequence-event/emit-end-drag-sequence-event.d.ts +0 -14
- package/f-draggable/domain/emit-end-drag-sequence-event/index.d.ts +0 -2
- package/f-draggable/domain/emit-selection-change-event/emit-selection-change-event-request.d.ts +0 -3
- package/f-draggable/domain/emit-selection-change-event/emit-selection-change-event.d.ts +0 -17
- package/f-draggable/domain/emit-selection-change-event/index.d.ts +0 -2
- package/f-draggable/domain/emit-start-drag-sequence-event/emit-start-drag-sequence-event-request.d.ts +0 -3
- package/f-draggable/domain/emit-start-drag-sequence-event/emit-start-drag-sequence-event.d.ts +0 -15
- package/f-draggable/domain/emit-start-drag-sequence-event/index.d.ts +0 -2
- package/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect-request.d.ts +0 -6
- package/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.d.ts +0 -15
- package/f-draggable/domain/get-normalized-parent-node-rect/index.d.ts +0 -2
- package/f-draggable/domain/i-node-with-rect.d.ts +0 -6
- package/f-draggable/domain/index.d.ts +0 -8
- package/f-draggable/domain/is-array-has-parent-node/index.d.ts +0 -2
- package/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node-request.d.ts +0 -7
- package/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.d.ts +0 -10
- package/f-draggable/domain/providers.d.ts +0 -7
- package/f-draggable/drag-canvas/drag-canvas-finalize/drag-canvas-finalize-request.d.ts +0 -6
- package/f-draggable/drag-canvas/drag-canvas-finalize/drag-canvas-finalize.d.ts +0 -10
- package/f-draggable/drag-canvas/drag-canvas-finalize/index.d.ts +0 -2
- package/f-draggable/drag-canvas/drag-canvas-handler/drag-canvas-handler.d.ts +0 -15
- package/f-draggable/drag-canvas/drag-canvas-handler/index.d.ts +0 -1
- package/f-draggable/drag-canvas/drag-canvas-preparation/drag-canvas-preparation-request.d.ts +0 -8
- package/f-draggable/drag-canvas/drag-canvas-preparation/drag-canvas-preparation.d.ts +0 -16
- package/f-draggable/drag-canvas/drag-canvas-preparation/index.d.ts +0 -2
- package/f-draggable/drag-canvas/index.d.ts +0 -4
- package/f-draggable/drag-canvas/providers.d.ts +0 -3
- package/f-draggable/drag-external-item/constraints/external-rect-constraint.d.ts +0 -16
- package/f-draggable/drag-external-item/constraints/index.d.ts +0 -1
- package/f-draggable/drag-external-item/drag-external-item-create-placeholder/drag-external-item-create-placeholder-request.d.ts +0 -6
- package/f-draggable/drag-external-item/drag-external-item-create-placeholder/drag-external-item-create-placeholder.d.ts +0 -13
- package/f-draggable/drag-external-item/drag-external-item-create-placeholder/index.d.ts +0 -2
- package/f-draggable/drag-external-item/drag-external-item-create-preview/drag-external-item-create-preview-request.d.ts +0 -6
- package/f-draggable/drag-external-item/drag-external-item-create-preview/drag-external-item-create-preview.d.ts +0 -14
- package/f-draggable/drag-external-item/drag-external-item-create-preview/index.d.ts +0 -2
- package/f-draggable/drag-external-item/drag-external-item-finalize/drag-external-item-finalize-request.d.ts +0 -6
- package/f-draggable/drag-external-item/drag-external-item-finalize/drag-external-item-finalize.d.ts +0 -21
- package/f-draggable/drag-external-item/drag-external-item-finalize/index.d.ts +0 -2
- package/f-draggable/drag-external-item/drag-external-item-handler/drag-external-item-handler.d.ts +0 -50
- package/f-draggable/drag-external-item/drag-external-item-handler/index.d.ts +0 -1
- package/f-draggable/drag-external-item/drag-external-item-preparation/drag-external-item-preparation-request.d.ts +0 -8
- package/f-draggable/drag-external-item/drag-external-item-preparation/drag-external-item-preparation.d.ts +0 -15
- package/f-draggable/drag-external-item/drag-external-item-preparation/index.d.ts +0 -2
- package/f-draggable/drag-external-item/f-create-node-event.d.ts +0 -18
- package/f-draggable/drag-external-item/f-drag-external-item-start-event-data.d.ts +0 -4
- package/f-draggable/drag-external-item/i-drag-external-item-drag-result.d.ts +0 -5
- package/f-draggable/drag-external-item/index.d.ts +0 -12
- package/f-draggable/drag-external-item/is-drag-external-item-handler.d.ts +0 -5
- package/f-draggable/drag-external-item/prevent-default-is-external-item/index.d.ts +0 -2
- package/f-draggable/drag-external-item/prevent-default-is-external-item/prevent-default-is-external-item-request.d.ts +0 -5
- package/f-draggable/drag-external-item/prevent-default-is-external-item/prevent-default-is-external-item.d.ts +0 -10
- package/f-draggable/drag-external-item/providers.d.ts +0 -6
- package/f-draggable/drag-minimap/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point-request.d.ts +0 -10
- package/f-draggable/drag-minimap/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.d.ts +0 -16
- package/f-draggable/drag-minimap/calculate-flow-point-from-minimap-point/index.d.ts +0 -2
- package/f-draggable/drag-minimap/drag-minimap-finalize/drag-minimap-finalize-request.d.ts +0 -6
- package/f-draggable/drag-minimap/drag-minimap-finalize/drag-minimap-finalize.d.ts +0 -10
- package/f-draggable/drag-minimap/drag-minimap-finalize/index.d.ts +0 -2
- package/f-draggable/drag-minimap/drag-minimap-handler/drag-minimap-handler.d.ts +0 -23
- package/f-draggable/drag-minimap/drag-minimap-handler/index.d.ts +0 -1
- package/f-draggable/drag-minimap/drag-minimap-preparation/drag-minimap-preparation-request.d.ts +0 -6
- package/f-draggable/drag-minimap/drag-minimap-preparation/drag-minimap-preparation.d.ts +0 -16
- package/f-draggable/drag-minimap/drag-minimap-preparation/index.d.ts +0 -2
- package/f-draggable/drag-minimap/index.d.ts +0 -6
- package/f-draggable/drag-minimap/is-drag-minimap-handler.d.ts +0 -5
- package/f-draggable/drag-minimap/providers.d.ts +0 -4
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-drag-node-handler-from-selection-request.d.ts +0 -6
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-drag-node-handler-from-selection.d.ts +0 -18
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-soft-parent-connection-drag-handlers-to-node/attach-soft-parent-connection-drag-handlers-to-node-request.d.ts +0 -19
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-soft-parent-connection-drag-handlers-to-node/attach-soft-parent-connection-drag-handlers-to-node.d.ts +0 -15
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-soft-parent-connection-drag-handlers-to-node/index.d.ts +0 -2
- 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 +0 -28
- 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 +0 -18
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-source-connection-drag-handlers-to-node/index.d.ts +0 -2
- 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 +0 -28
- 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 +0 -16
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-target-connection-drag-handlers-to-node/index.d.ts +0 -2
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/build-drag-node-constraints/build-drag-node-constraints-request.d.ts +0 -6
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/build-drag-node-constraints/build-drag-node-constraints.d.ts +0 -19
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/build-drag-node-constraints/index.d.ts +0 -2
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-handler/create-drag-node-handler-request.d.ts +0 -13
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-handler/create-drag-node-handler.d.ts +0 -15
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-handler/index.d.ts +0 -2
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-hierarchy/create-drag-node-hierarchy-request.d.ts +0 -7
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-hierarchy/create-drag-node-hierarchy.d.ts +0 -12
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-hierarchy/drag-node-hierarchy.d.ts +0 -6
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-hierarchy/index.d.ts +0 -3
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/index.d.ts +0 -10
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/providers.d.ts +0 -9
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/read-node-bounds-with-paddings/index.d.ts +0 -3
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/read-node-bounds-with-paddings/read-node-bounds-with-paddings-request.d.ts +0 -7
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/read-node-bounds-with-paddings/read-node-bounds-with-paddings-response.d.ts +0 -9
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/read-node-bounds-with-paddings/read-node-bounds-with-paddings.d.ts +0 -12
- package/f-draggable/drag-node/drag-node-constraint/delta-clamp.d.ts +0 -20
- package/f-draggable/drag-node/drag-node-constraint/drag-node-delta-constraints.d.ts +0 -14
- package/f-draggable/drag-node/drag-node-constraint/expand-rect-by-overflow.d.ts +0 -3
- package/f-draggable/drag-node/drag-node-constraint/grid-snapper.d.ts +0 -18
- package/f-draggable/drag-node/drag-node-constraint/i-drag-node-delta-constraints-result.d.ts +0 -8
- package/f-draggable/drag-node/drag-node-constraint/i-drag-node-delta-constraints.d.ts +0 -12
- package/f-draggable/drag-node/drag-node-constraint/index.d.ts +0 -6
- package/f-draggable/drag-node/drag-node-dependent-connection-handlers/drag-node-connection-both-sides-handler.d.ts +0 -12
- package/f-draggable/drag-node/drag-node-dependent-connection-handlers/drag-node-connection-handler-base.d.ts +0 -22
- package/f-draggable/drag-node/drag-node-dependent-connection-handlers/drag-node-connection-source-handler.d.ts +0 -8
- package/f-draggable/drag-node/drag-node-dependent-connection-handlers/drag-node-connection-target-handler.d.ts +0 -8
- package/f-draggable/drag-node/drag-node-dependent-connection-handlers/index.d.ts +0 -4
- package/f-draggable/drag-node/drag-node-finalize/drag-node-finalize-request.d.ts +0 -6
- package/f-draggable/drag-node/drag-node-finalize/drag-node-finalize.d.ts +0 -21
- package/f-draggable/drag-node/drag-node-finalize/index.d.ts +0 -2
- package/f-draggable/drag-node/drag-node-handler/drag-node-handler.d.ts +0 -39
- package/f-draggable/drag-node/drag-node-handler/drag-node-item-handler.d.ts +0 -42
- package/f-draggable/drag-node/drag-node-handler/i-soft-parent-connection-handlers.d.ts +0 -12
- package/f-draggable/drag-node/drag-node-handler/index.d.ts +0 -3
- package/f-draggable/drag-node/drag-node-preparation/drag-node-preparation-request.d.ts +0 -8
- package/f-draggable/drag-node/drag-node-preparation/drag-node-preparation.d.ts +0 -16
- package/f-draggable/drag-node/drag-node-preparation/index.d.ts +0 -2
- package/f-draggable/drag-node/f-drag-node-start-event-data.d.ts +0 -4
- package/f-draggable/drag-node/f-move-nodes-event.d.ts +0 -16
- package/f-draggable/drag-node/index.d.ts +0 -12
- package/f-draggable/drag-node/is-drag-node-handler.d.ts +0 -5
- package/f-draggable/drag-node/magnetic-lines/domain/calculate-magnetic-guides.d.ts +0 -3
- package/f-draggable/drag-node/magnetic-lines/domain/i-magnetic-axis-guide.d.ts +0 -6
- package/f-draggable/drag-node/magnetic-lines/domain/i-magnetic-guides-result.d.ts +0 -5
- package/f-draggable/drag-node/magnetic-lines/domain/index.d.ts +0 -5
- package/f-draggable/drag-node/magnetic-lines/domain/magnetic-line-element.d.ts +0 -17
- package/f-draggable/drag-node/magnetic-lines/domain/magnetic-line-renderer.d.ts +0 -13
- package/f-draggable/drag-node/magnetic-lines/index.d.ts +0 -3
- package/f-draggable/drag-node/magnetic-lines/magnetic-lines-handler/index.d.ts +0 -1
- package/f-draggable/drag-node/magnetic-lines/magnetic-lines-handler/magnetic-lines-handler.d.ts +0 -18
- package/f-draggable/drag-node/magnetic-lines/magnetic-lines-preparation/index.d.ts +0 -2
- package/f-draggable/drag-node/magnetic-lines/magnetic-lines-preparation/magnetic-lines-preparation-request.d.ts +0 -3
- package/f-draggable/drag-node/magnetic-lines/magnetic-lines-preparation/magnetic-lines-preparation.d.ts +0 -18
- package/f-draggable/drag-node/magnetic-rects/domain/calculate-magnetic-rects.d.ts +0 -3
- package/f-draggable/drag-node/magnetic-rects/domain/i-magnetic-gap-rect.d.ts +0 -6
- package/f-draggable/drag-node/magnetic-rects/domain/i-magnetic-rects-result.d.ts +0 -11
- package/f-draggable/drag-node/magnetic-rects/domain/index.d.ts +0 -5
- package/f-draggable/drag-node/magnetic-rects/domain/magnetic-rect-element.d.ts +0 -15
- package/f-draggable/drag-node/magnetic-rects/domain/magnetic-rects-renderer.d.ts +0 -15
- package/f-draggable/drag-node/magnetic-rects/index.d.ts +0 -3
- package/f-draggable/drag-node/magnetic-rects/magnetic-rects-handler/index.d.ts +0 -1
- package/f-draggable/drag-node/magnetic-rects/magnetic-rects-handler/magnetic-rects-handler.d.ts +0 -16
- package/f-draggable/drag-node/magnetic-rects/magnetic-rects-preparation/index.d.ts +0 -2
- package/f-draggable/drag-node/magnetic-rects/magnetic-rects-preparation/magnetic-rects-preparation-request.d.ts +0 -3
- package/f-draggable/drag-node/magnetic-rects/magnetic-rects-preparation/magnetic-rects-preparation.d.ts +0 -17
- package/f-draggable/drag-node/providers.d.ts +0 -5
- package/f-draggable/drop-to-group/drop-to-group-finalize/drop-to-group-finalize-request.d.ts +0 -6
- package/f-draggable/drop-to-group/drop-to-group-finalize/drop-to-group-finalize.d.ts +0 -18
- package/f-draggable/drop-to-group/drop-to-group-finalize/index.d.ts +0 -2
- package/f-draggable/drop-to-group/drop-to-group-handler/drop-to-group-handler.d.ts +0 -29
- package/f-draggable/drop-to-group/drop-to-group-handler/index.d.ts +0 -1
- package/f-draggable/drop-to-group/drop-to-group-preparation/drop-to-group-preparation-request.d.ts +0 -6
- package/f-draggable/drop-to-group/drop-to-group-preparation/drop-to-group-preparation.d.ts +0 -20
- package/f-draggable/drop-to-group/drop-to-group-preparation/index.d.ts +0 -2
- package/f-draggable/drop-to-group/f-drop-to-group-event.d.ts +0 -16
- package/f-draggable/drop-to-group/index.d.ts +0 -6
- package/f-draggable/drop-to-group/providers.d.ts +0 -4
- package/f-draggable/drop-to-group/sort-drop-candidates-by-layer/index.d.ts +0 -2
- package/f-draggable/drop-to-group/sort-drop-candidates-by-layer/sort-drop-candidates-by-layer-request.d.ts +0 -6
- package/f-draggable/drop-to-group/sort-drop-candidates-by-layer/sort-drop-candidates-by-layer.d.ts +0 -10
- package/f-draggable/f-drag-blocker.directive.d.ts +0 -5
- package/f-draggable/f-drag-started-event.d.ts +0 -15
- package/f-draggable/f-draggable-base.d.ts +0 -28
- package/f-draggable/f-draggable-data-context.d.ts +0 -22
- package/f-draggable/f-draggable.directive.d.ts +0 -73
- package/f-draggable/f-selection-change-event.d.ts +0 -13
- package/f-draggable/index.d.ts +0 -22
- package/f-draggable/infrastructure/drag-handler-base.d.ts +0 -20
- package/f-draggable/infrastructure/drag-handler-injector.d.ts +0 -18
- package/f-draggable/infrastructure/f-drag-handler-result.d.ts +0 -9
- package/f-draggable/infrastructure/i-drag-session-feature.d.ts +0 -12
- package/f-draggable/infrastructure/index.d.ts +0 -4
- package/f-draggable/is-drag-blocker.d.ts +0 -1
- package/f-draggable/pinch-to-zoom/handler/index.d.ts +0 -1
- package/f-draggable/pinch-to-zoom/handler/pinch-to-zoom-handler.d.ts +0 -24
- package/f-draggable/pinch-to-zoom/index.d.ts +0 -4
- package/f-draggable/pinch-to-zoom/pinch-to-zoom-finalize/index.d.ts +0 -2
- package/f-draggable/pinch-to-zoom/pinch-to-zoom-finalize/pinch-to-zoom-finalize-request.d.ts +0 -6
- package/f-draggable/pinch-to-zoom/pinch-to-zoom-finalize/pinch-to-zoom-finalize.d.ts +0 -10
- package/f-draggable/pinch-to-zoom/pinch-to-zoom-preparation/index.d.ts +0 -2
- package/f-draggable/pinch-to-zoom/pinch-to-zoom-preparation/pinch-to-zoom-preparation-request.d.ts +0 -6
- package/f-draggable/pinch-to-zoom/pinch-to-zoom-preparation/pinch-to-zoom-preparation.d.ts +0 -14
- package/f-draggable/pinch-to-zoom/providers.d.ts +0 -3
- package/f-draggable/providers.d.ts +0 -1
- package/f-draggable/resize-node/apply-child-resize-constraints/apply-child-resize-constraints-request.d.ts +0 -7
- package/f-draggable/resize-node/apply-child-resize-constraints/apply-child-resize-constraints.d.ts +0 -13
- package/f-draggable/resize-node/apply-child-resize-constraints/index.d.ts +0 -2
- package/f-draggable/resize-node/apply-parent-resize-constraints/apply-parent-resize-constraints-request.d.ts +0 -8
- package/f-draggable/resize-node/apply-parent-resize-constraints/apply-parent-resize-constraints.d.ts +0 -37
- package/f-draggable/resize-node/apply-parent-resize-constraints/index.d.ts +0 -2
- package/f-draggable/resize-node/calculate-changed-rect-from-difference/calculate-changed-rect-from-difference-request.d.ts +0 -10
- package/f-draggable/resize-node/calculate-changed-rect-from-difference/calculate-changed-rect-from-difference.d.ts +0 -11
- package/f-draggable/resize-node/calculate-changed-rect-from-difference/index.d.ts +0 -2
- package/f-draggable/resize-node/calculate-direct-children-union-rect/calculate-direct-children-union-rect-request.d.ts +0 -7
- package/f-draggable/resize-node/calculate-direct-children-union-rect/calculate-direct-children-union-rect.d.ts +0 -15
- package/f-draggable/resize-node/calculate-direct-children-union-rect/index.d.ts +0 -2
- package/f-draggable/resize-node/calculate-resize-limits/calculate-resize-limits-request.d.ts +0 -8
- package/f-draggable/resize-node/calculate-resize-limits/calculate-resize-limits.d.ts +0 -17
- package/f-draggable/resize-node/calculate-resize-limits/index.d.ts +0 -2
- package/f-draggable/resize-node/constraint/i-resize-constraint.d.ts +0 -7
- package/f-draggable/resize-node/constraint/i-resize-limit.d.ts +0 -7
- package/f-draggable/resize-node/constraint/i-resize-limits.d.ts +0 -5
- package/f-draggable/resize-node/constraint/i-resize-overflow.d.ts +0 -6
- package/f-draggable/resize-node/constraint/index.d.ts +0 -5
- package/f-draggable/resize-node/constraint/resize-direction.d.ts +0 -34
- package/f-draggable/resize-node/f-resize-node-start-event-data.d.ts +0 -4
- package/f-draggable/resize-node/index.d.ts +0 -12
- package/f-draggable/resize-node/is-resize-node-handler.d.ts +0 -5
- package/f-draggable/resize-node/providers.d.ts +0 -9
- package/f-draggable/resize-node/resize-node-finalize/index.d.ts +0 -2
- package/f-draggable/resize-node/resize-node-finalize/resize-node-finalize-request.d.ts +0 -6
- package/f-draggable/resize-node/resize-node-finalize/resize-node-finalize.d.ts +0 -10
- package/f-draggable/resize-node/resize-node-handler/i-resize-node-connection-handlers.d.ts +0 -10
- package/f-draggable/resize-node/resize-node-handler/index.d.ts +0 -3
- package/f-draggable/resize-node/resize-node-handler/resize-node-dependent-connection-handlers/index.d.ts +0 -4
- package/f-draggable/resize-node/resize-node-handler/resize-node-dependent-connection-handlers/resize-node-connection-both-sides-handler.d.ts +0 -12
- package/f-draggable/resize-node/resize-node-handler/resize-node-dependent-connection-handlers/resize-node-connection-handler-base.d.ts +0 -21
- package/f-draggable/resize-node/resize-node-handler/resize-node-dependent-connection-handlers/resize-node-connection-source-handler.d.ts +0 -8
- package/f-draggable/resize-node/resize-node-handler/resize-node-dependent-connection-handlers/resize-node-connection-target-handler.d.ts +0 -8
- package/f-draggable/resize-node/resize-node-handler/resize-node-handler.d.ts +0 -35
- package/f-draggable/resize-node/resize-preparation/attach-resize-connection-drag-handlers-to-node/attach-resize-connection-drag-handlers-to-node-request.d.ts +0 -8
- package/f-draggable/resize-node/resize-preparation/attach-resize-connection-drag-handlers-to-node/attach-resize-connection-drag-handlers-to-node.d.ts +0 -16
- package/f-draggable/resize-node/resize-preparation/attach-resize-connection-drag-handlers-to-node/index.d.ts +0 -2
- package/f-draggable/resize-node/resize-preparation/index.d.ts +0 -3
- package/f-draggable/resize-node/resize-preparation/resize-node-preparation-request.d.ts +0 -8
- package/f-draggable/resize-node/resize-preparation/resize-node-preparation.d.ts +0 -17
- package/f-draggable/rotate-node/calculate-difference-after-rotation.d.ts +0 -20
- package/f-draggable/rotate-node/f-rotate-node-start-event-data.d.ts +0 -4
- package/f-draggable/rotate-node/index.d.ts +0 -7
- package/f-draggable/rotate-node/is-rotate-node-handler.d.ts +0 -5
- package/f-draggable/rotate-node/providers.d.ts +0 -3
- package/f-draggable/rotate-node/rotate-node-finalize/index.d.ts +0 -2
- package/f-draggable/rotate-node/rotate-node-finalize/rotate-node-finalize-request.d.ts +0 -6
- package/f-draggable/rotate-node/rotate-node-finalize/rotate-node-finalize.d.ts +0 -10
- package/f-draggable/rotate-node/rotate-node-handler/index.d.ts +0 -1
- package/f-draggable/rotate-node/rotate-node-handler/rotate-node-handler.d.ts +0 -43
- package/f-draggable/rotate-node/rotate-node-preparation/index.d.ts +0 -2
- package/f-draggable/rotate-node/rotate-node-preparation/rotate-node-preparation-request.d.ts +0 -8
- package/f-draggable/rotate-node/rotate-node-preparation/rotate-node-preparation.d.ts +0 -18
- package/f-draggable/select-by-pointer/index.d.ts +0 -3
- package/f-draggable/select-by-pointer/providers.d.ts +0 -2
- package/f-draggable/select-by-pointer/select-by-pointer-request.d.ts +0 -8
- package/f-draggable/select-by-pointer/select-by-pointer.d.ts +0 -58
- package/f-draggable/selection-area/index.d.ts +0 -4
- package/f-draggable/selection-area/providers.d.ts +0 -3
- package/f-draggable/selection-area/selection-area-finalize/index.d.ts +0 -2
- package/f-draggable/selection-area/selection-area-finalize/selection-area-finalize-request.d.ts +0 -6
- package/f-draggable/selection-area/selection-area-finalize/selection-area-finalize.d.ts +0 -10
- package/f-draggable/selection-area/selection-area-handler/index.d.ts +0 -1
- package/f-draggable/selection-area/selection-area-handler/selection-area-handler.d.ts +0 -24
- package/f-draggable/selection-area/selection-area-preparation/index.d.ts +0 -2
- package/f-draggable/selection-area/selection-area-preparation/selection-area-preparation-request.d.ts +0 -6
- package/f-draggable/selection-area/selection-area-preparation/selection-area-preparation.d.ts +0 -13
- package/f-external-item/f-external-item-base.d.ts +0 -14
- package/f-external-item/f-external-item-placeholder.d.ts +0 -10
- package/f-external-item/f-external-item-preview.d.ts +0 -10
- package/f-external-item/f-external-item.d.ts +0 -23
- package/f-external-item/f-external-item.service.d.ts +0 -17
- package/f-external-item/index.d.ts +0 -7
- package/f-external-item/is-external-item.d.ts +0 -2
- package/f-external-item/providers.d.ts +0 -2
- package/f-flow/f-flow-base.d.ts +0 -9
- package/f-flow/f-flow.component.d.ts +0 -49
- package/f-flow/index.d.ts +0 -3
- package/f-flow/providers.d.ts +0 -2
- package/f-flow.module.d.ts +0 -46
- package/f-line-alignment/f-line-alignment.component.d.ts +0 -15
- package/f-line-alignment/index.d.ts +0 -2
- package/f-line-alignment/providers.d.ts +0 -2
- package/f-magnetic-lines/f-magnetic-lines-base.d.ts +0 -9
- package/f-magnetic-lines/f-magnetic-lines.d.ts +0 -11
- package/f-magnetic-lines/index.d.ts +0 -3
- package/f-magnetic-lines/providers.d.ts +0 -2
- package/f-magnetic-rects/f-magnetic-rects-base.d.ts +0 -10
- package/f-magnetic-rects/f-magnetic-rects.d.ts +0 -12
- package/f-magnetic-rects/index.d.ts +0 -3
- package/f-magnetic-rects/providers.d.ts +0 -2
- package/f-minimap/f-minimap-base.d.ts +0 -10
- package/f-minimap/f-minimap-canvas.directive.d.ts +0 -10
- package/f-minimap/f-minimap-flow.directive.d.ts +0 -11
- package/f-minimap/f-minimap-view.directive.d.ts +0 -8
- package/f-minimap/f-minimap.component.d.ts +0 -26
- package/f-minimap/index.d.ts +0 -6
- package/f-minimap/providers.d.ts +0 -5
- package/f-node/f-drag-handle.directive.d.ts +0 -5
- package/f-node/f-group.directive.d.ts +0 -36
- package/f-node/f-node-base.d.ts +0 -54
- package/f-node/f-node.directive.d.ts +0 -36
- package/f-node/f-resize-handle/e-f-resize-handle-type.d.ts +0 -10
- package/f-node/f-resize-handle/f-resize-handle.directive.d.ts +0 -8
- package/f-node/f-resize-handle/index.d.ts +0 -2
- package/f-node/f-rotate-handle/f-rotate-handle.directive.d.ts +0 -5
- package/f-node/f-rotate-handle/index.d.ts +0 -2
- package/f-node/f-rotate-handle/is-rotate-handle.d.ts +0 -1
- package/f-node/index.d.ts +0 -8
- package/f-node/is-node.d.ts +0 -1
- package/f-node/providers.d.ts +0 -4
- package/f-selection-area/f-selection-area-base.d.ts +0 -10
- package/f-selection-area/f-selection-area.d.ts +0 -12
- package/f-selection-area/index.d.ts +0 -3
- package/f-selection-area/providers.d.ts +0 -2
- package/f-storage/base/f-id-registry-base.d.ts +0 -41
- package/f-storage/base/f-single-registry-base.d.ts +0 -14
- package/f-storage/base/index.d.ts +0 -2
- package/f-storage/f-components-store.d.ts +0 -59
- package/f-storage/f-connection-marker-registry.d.ts +0 -5
- package/f-storage/f-connection-registry.d.ts +0 -14
- package/f-storage/f-connector-registry.d.ts +0 -5
- package/f-storage/f-node-registry.d.ts +0 -5
- package/f-storage/features/emit-connections-changes/emit-connections-changes-request.d.ts +0 -3
- package/f-storage/features/emit-connections-changes/emit-connections-changes.d.ts +0 -9
- package/f-storage/features/emit-connections-changes/index.d.ts +0 -2
- package/f-storage/features/index.d.ts +0 -7
- package/f-storage/features/listen-connections-changes/index.d.ts +0 -2
- package/f-storage/features/listen-connections-changes/listen-connections-changes-request.d.ts +0 -5
- package/f-storage/features/listen-connections-changes/listen-connections-changes.d.ts +0 -10
- package/f-storage/features/listen-nodes-changes/index.d.ts +0 -2
- package/f-storage/features/listen-nodes-changes/listen-nodes-changes-request.d.ts +0 -3
- package/f-storage/features/listen-nodes-changes/listen-nodes-changes.d.ts +0 -10
- package/f-storage/features/listen-transform-changes/index.d.ts +0 -2
- package/f-storage/features/listen-transform-changes/listen-transform-changes-request.d.ts +0 -3
- package/f-storage/features/listen-transform-changes/listen-transform-changes.d.ts +0 -10
- package/f-storage/features/notify-transform-changed/index.d.ts +0 -2
- package/f-storage/features/notify-transform-changed/notify-transform-changed-request.d.ts +0 -3
- package/f-storage/features/notify-transform-changed/notify-transform-changed.d.ts +0 -9
- package/f-storage/features/register-plugin-instance/index.d.ts +0 -2
- package/f-storage/features/register-plugin-instance/register-plugin-instance-request.d.ts +0 -7
- package/f-storage/features/register-plugin-instance/register-plugin-instance.d.ts +0 -12
- package/f-storage/features/remove-plugin-instance/index.d.ts +0 -2
- package/f-storage/features/remove-plugin-instance/remove-plugin-instance-request.d.ts +0 -6
- package/f-storage/features/remove-plugin-instance/remove-plugin-instance.d.ts +0 -12
- package/f-storage/index.d.ts +0 -8
- package/f-storage/providers.d.ts +0 -4
- package/f-virtual/f-virtual-for.d.ts +0 -21
- package/f-virtual/index.d.ts +0 -2
- package/f-virtual/providers.d.ts +0 -2
- package/f-zoom/e-f-zoom-direction.d.ts +0 -4
- package/f-zoom/f-zoom-base.d.ts +0 -8
- package/f-zoom/f-zoom.directive.d.ts +0 -46
- package/f-zoom/index.d.ts +0 -4
- package/f-zoom/providers.d.ts +0 -2
- package/f-zoom/wheel-zoom.utils.d.ts +0 -3
- package/i-has-host-element.d.ts +0 -3
- package/mixins/change-selection/change-selection.d.ts +0 -7
- package/mixins/change-selection/i-selectable.d.ts +0 -11
- package/mixins/change-selection/index.d.ts +0 -2
- package/mixins/change-visibility/change-visibility.d.ts +0 -6
- package/mixins/change-visibility/i-can-change-visibility.d.ts +0 -5
- package/mixins/change-visibility/index.d.ts +0 -2
- package/mixins/constructor.d.ts +0 -2
- package/mixins/index.d.ts +0 -3
- package/public-api.d.ts +0 -28
- package/reactivity/after-next-paint.d.ts +0 -2
- package/reactivity/debounce-animation-frame.d.ts +0 -2
- package/reactivity/debounce-microtask.d.ts +0 -2
- package/reactivity/debounce-time.d.ts +0 -2
- package/reactivity/f-channel-hub.d.ts +0 -10
- package/reactivity/f-channel.d.ts +0 -7
- package/reactivity/f-resize-channel.d.ts +0 -11
- package/reactivity/index.d.ts +0 -10
- package/reactivity/notify-on-start.d.ts +0 -2
- package/reactivity/take-one.d.ts +0 -2
- package/reactivity/types.d.ts +0 -7
- package/testing/component-harness.d.ts +0 -9
- package/testing/di-harness.d.ts +0 -10
- package/testing/factories.d.ts +0 -104
- package/testing/index.d.ts +0 -7
- package/testing/internal/index.d.ts +0 -1
- package/testing/internal/type-helpers.d.ts +0 -12
- package/testing/jasmine/index.d.ts +0 -1
- package/testing/jasmine/spy-helpers.d.ts +0 -11
- package/testing/mediator-harness.d.ts +0 -7
- package/testing/pure-harness.d.ts +0 -12
- package/testing/registry-harness.d.ts +0 -6
- package/utils/calculate-pointer-in-flow.d.ts +0 -2
- package/utils/index.d.ts +0 -3
- package/utils/infinity-min-max.d.ts +0 -2
- package/utils/string-attribute.d.ts +0 -1
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { GetIntersections, RoundedRect } from '@foblex/2d';
|
|
2
|
-
export function getRotatedRoundedRectIntersection(from, to, rect, rotationContext) {
|
|
3
|
-
if (!rotationContext || !rotationContext.rotationDeg) {
|
|
4
|
-
return GetIntersections.getRoundedRectIntersections(from, to, rect)[0];
|
|
5
|
-
}
|
|
6
|
-
const localFrom = _rotatePoint(from, -rotationContext.rotationDeg, rotationContext.pivot);
|
|
7
|
-
const localTo = _rotatePoint(to, -rotationContext.rotationDeg, rotationContext.pivot);
|
|
8
|
-
const localRect = _rotateRect(rect, -rotationContext.rotationDeg, rotationContext.pivot);
|
|
9
|
-
const intersection = GetIntersections.getRoundedRectIntersections(localFrom, localTo, localRect)[0];
|
|
10
|
-
return intersection
|
|
11
|
-
? _rotatePoint(intersection, rotationContext.rotationDeg, rotationContext.pivot)
|
|
12
|
-
: undefined;
|
|
13
|
-
}
|
|
14
|
-
function _rotateRect(rect, rotationDeg, pivot) {
|
|
15
|
-
const center = _rotatePoint(_getRectCenter(rect), rotationDeg, pivot);
|
|
16
|
-
return new RoundedRect(center.x - rect.width / 2, center.y - rect.height / 2, rect.width, rect.height, rect.radius1, rect.radius2, rect.radius3, rect.radius4);
|
|
17
|
-
}
|
|
18
|
-
function _getRectCenter(rect) {
|
|
19
|
-
return {
|
|
20
|
-
x: rect.x + rect.width / 2,
|
|
21
|
-
y: rect.y + rect.height / 2,
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
function _rotatePoint(point, rotationDeg, pivot) {
|
|
25
|
-
const translatedX = point.x - pivot.x;
|
|
26
|
-
const translatedY = point.y - pivot.y;
|
|
27
|
-
const theta = (rotationDeg * Math.PI) / 180;
|
|
28
|
-
const cosTheta = Math.cos(theta);
|
|
29
|
-
const sinTheta = Math.sin(theta);
|
|
30
|
-
return {
|
|
31
|
-
x: translatedX * cosTheta - translatedY * sinTheta + pivot.x,
|
|
32
|
-
y: translatedX * sinTheta + translatedY * cosTheta + pivot.y,
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LXJvdGF0ZWQtcm91bmRlZC1yZWN0LWludGVyc2VjdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi1jb25uZWN0aW9uLXYyL3V0aWxzL2Nvbm5lY3Rpb24tYmVoYXZpb3VyL3V0aWxzL2dldC1yb3RhdGVkLXJvdW5kZWQtcmVjdC1pbnRlcnNlY3Rpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGdCQUFnQixFQUF3QixXQUFXLEVBQUUsTUFBTSxZQUFZLENBQUM7QUFHakYsTUFBTSxVQUFVLGlDQUFpQyxDQUMvQyxJQUFZLEVBQ1osRUFBVSxFQUNWLElBQWtCLEVBQ2xCLGVBQW9EO0lBRXBELElBQUksQ0FBQyxlQUFlLElBQUksQ0FBQyxlQUFlLENBQUMsV0FBVyxFQUFFLENBQUM7UUFDckQsT0FBTyxnQkFBZ0IsQ0FBQywyQkFBMkIsQ0FBQyxJQUFJLEVBQUUsRUFBRSxFQUFFLElBQUksQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDO0lB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EZWc6IG51bWJlciwgcGl2b3Q6IElQb2ludCk6IElQb2ludCB7XG4gIGNvbnN0IHRyYW5zbGF0ZWRYID0gcG9pbnQueCAtIHBpdm90Lng7XG4gIGNvbnN0IHRyYW5zbGF0ZWRZID0gcG9pbnQueSAtIHBpdm90Lnk7XG5cbiAgY29uc3QgdGhldGEgPSAocm90YXRpb25EZWcgKiBNYXRoLlBJKSAvIDE4MDtcbiAgY29uc3QgY29zVGhldGEgPSBNYXRoLmNvcyh0aGV0YSk7XG4gIGNvbnN0IHNpblRoZXRhID0gTWF0aC5zaW4odGhldGEpO1xuXG4gIHJldHVybiB7XG4gICAgeDogdHJhbnNsYXRlZFggKiBjb3NUaGV0YSAtIHRyYW5zbGF0ZWRZICogc2luVGhldGEgKyBwaXZvdC54LFxuICAgIHk6IHRyYW5zbGF0ZWRYICogc2luVGhldGEgKyB0cmFuc2xhdGVkWSAqIGNvc1RoZXRhICsgcGl2b3QueSxcbiAgfTtcbn1cbiJdfQ==
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export * from './fixed-center-behavior';
|
|
2
|
-
export * from './fixed-outbound-behavior';
|
|
3
|
-
export * from './floating-behavior';
|
|
4
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi12Mi91dGlscy9jb25uZWN0aW9uLWJlaGF2aW91ci91dGlscy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHlCQUF5QixDQUFDO0FBQ3hDLGNBQWMsMkJBQTJCLENBQUM7QUFDMUMsY0FBYyxxQkFBcUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZml4ZWQtY2VudGVyLWJlaGF2aW9yJztcbmV4cG9ydCAqIGZyb20gJy4vZml4ZWQtb3V0Ym91bmQtYmVoYXZpb3InO1xuZXhwb3J0ICogZnJvbSAnLi9mbG9hdGluZy1iZWhhdmlvcic7XG4iXX0=
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { buildConnectionAnchors, calculateCurveCandidates, createMultiCubicPath, sampleMultiCubicUniform, } from '../utils';
|
|
2
|
-
import { EFConnectableSide } from '../../../../enums';
|
|
3
|
-
export class CalculateAdaptiveCurveData {
|
|
4
|
-
static _dir(side) {
|
|
5
|
-
switch (side) {
|
|
6
|
-
case EFConnectableSide.LEFT:
|
|
7
|
-
return { x: -1, y: 0 };
|
|
8
|
-
case EFConnectableSide.RIGHT:
|
|
9
|
-
return { x: 1, y: 0 };
|
|
10
|
-
case EFConnectableSide.TOP:
|
|
11
|
-
return { x: 0, y: -1 };
|
|
12
|
-
case EFConnectableSide.BOTTOM:
|
|
13
|
-
return { x: 0, y: 1 };
|
|
14
|
-
case EFConnectableSide.AUTO:
|
|
15
|
-
return { x: 0, y: 0 };
|
|
16
|
-
}
|
|
17
|
-
return { x: 0, y: 0 };
|
|
18
|
-
}
|
|
19
|
-
static _isHorizontal(side) {
|
|
20
|
-
return side === EFConnectableSide.LEFT || side === EFConnectableSide.RIGHT;
|
|
21
|
-
}
|
|
22
|
-
static _handleLength(p0, p3, side, offset) {
|
|
23
|
-
const dx = Math.abs(p3.x - p0.x);
|
|
24
|
-
const dy = Math.abs(p3.y - p0.y);
|
|
25
|
-
const d = Math.hypot(dx, dy);
|
|
26
|
-
const along = side === EFConnectableSide.AUTO ? Math.max(dx, dy) : this._isHorizontal(side) ? dx : dy;
|
|
27
|
-
const MIN = Math.max(8, offset);
|
|
28
|
-
const MAX = offset + 0.5 * d;
|
|
29
|
-
const len = offset * 1.05 + along * 0.3;
|
|
30
|
-
return Math.min(MAX, Math.max(MIN, len));
|
|
31
|
-
}
|
|
32
|
-
static _softControl(side, source, target, handle) {
|
|
33
|
-
const v = this._dir(side);
|
|
34
|
-
const dx = target.x - source.x;
|
|
35
|
-
const dy = target.y - source.y;
|
|
36
|
-
const dist = Math.hypot(dx, dy) || 1;
|
|
37
|
-
const tx = dx / dist;
|
|
38
|
-
const ty = dy / dist;
|
|
39
|
-
if (side === EFConnectableSide.AUTO) {
|
|
40
|
-
return { x: source.x + tx * handle, y: source.y + ty * handle };
|
|
41
|
-
}
|
|
42
|
-
const dot = v.x * tx + v.y * ty;
|
|
43
|
-
const baseBlend = 0.12;
|
|
44
|
-
const extra = Math.max(0, -dot) * 0.08;
|
|
45
|
-
const blend = Math.min(0.2, baseBlend + extra);
|
|
46
|
-
const dirX = v.x * (1 - blend) + tx * blend;
|
|
47
|
-
const dirY = v.y * (1 - blend) + ty * blend;
|
|
48
|
-
const len = Math.hypot(dirX, dirY) || 1;
|
|
49
|
-
return { x: source.x + (dirX / len) * handle, y: source.y + (dirY / len) * handle };
|
|
50
|
-
}
|
|
51
|
-
handle({ source, sourceSide, target, targetSide, offset, waypoints, }) {
|
|
52
|
-
const clampedOffset = Math.max(0, offset ?? 0);
|
|
53
|
-
const anchors = buildConnectionAnchors(source, target, waypoints);
|
|
54
|
-
const segments = [];
|
|
55
|
-
for (let i = 0; i < anchors.length - 1; i++) {
|
|
56
|
-
const a = anchors[i];
|
|
57
|
-
const b = anchors[i + 1];
|
|
58
|
-
const h0 = CalculateAdaptiveCurveData._handleLength(a, b, sourceSide, clampedOffset);
|
|
59
|
-
const h3 = CalculateAdaptiveCurveData._handleLength(b, a, targetSide, clampedOffset);
|
|
60
|
-
const c1 = CalculateAdaptiveCurveData._softControl(sourceSide, a, b, h0);
|
|
61
|
-
const c2 = CalculateAdaptiveCurveData._softControl(targetSide, b, a, h3);
|
|
62
|
-
segments.push({ p0: a, c1, c2, p3: b, chainIndex: i });
|
|
63
|
-
}
|
|
64
|
-
const points = sampleMultiCubicUniform(segments, 12);
|
|
65
|
-
return {
|
|
66
|
-
path: createMultiCubicPath(segments),
|
|
67
|
-
secondPoint: segments[0]?.c1 ?? source,
|
|
68
|
-
penultimatePoint: segments[segments.length - 1]?.c2 ?? target,
|
|
69
|
-
points,
|
|
70
|
-
candidates: calculateCurveCandidates(segments),
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FsY3VsYXRlLWFkYXB0aXZlLWN1cnZlLWRhdGEuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi12Mi91dGlscy9jb25uZWN0aW9uLWxpbmUtYnVpbGRlci9idWlsZGVycy9hZGFwdGl2ZS1jdXJ2ZS9jYWxjdWxhdGUtYWRhcHRpdmUtY3VydmUtZGF0YS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQ0wsc0JBQXNCLEVBQ3RCLHdCQUF3QixFQUN4QixvQkFBb0IsRUFFcEIsdUJBQXVCLEdBQ3hCLE1BQU0sVUFBVSxDQUFDO0FBTWxCLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLG1CQUFtQixDQUFDO0FBRXRELE1BQU0sT0FBTywwQkFBMEI7SUFDN0IsTUFBTSxDQUFDLElBQUksQ0FBQyxJQUF1QjtRQUN6QyxRQUFRLElBQUksRUFBRSxDQUFDO1lBQ2IsS0FBSyxpQkFBaUIsQ0FBQyxJQUFJO2dCQUN6QixPQUFPLEVBQUUsQ0FBQyxFQUFFLENBQUMsQ0FBQyxFQUFFLENBQUMsRUFBRSxDQUFDLEVBQUUsQ0FBQztZQUN6QixLQUFLLGlCQUFpQixDQUFDLEtBQUs7Z0JBQzFCLE9BQU8sRUFBRSxDQUFDLEVBQUUsQ0FBQyxFQUFFLENBQUMsRUFBRSxDQUFDLEVBQUUsQ0FBQztZQUN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IGkgfSk7XG4gICAgfVxuXG4gICAgY29uc3QgcG9pbnRzID0gc2FtcGxlTXVsdGlDdWJpY1VuaWZvcm0oc2VnbWVudHMsIDEyKTtcblxuICAgIHJldHVybiB7XG4gICAgICBwYXRoOiBjcmVhdGVNdWx0aUN1YmljUGF0aChzZWdtZW50cyksXG4gICAgICBzZWNvbmRQb2ludDogc2VnbWVudHNbMF0/LmMxID8/IHNvdXJjZSxcbiAgICAgIHBlbnVsdGltYXRlUG9pbnQ6IHNlZ21lbnRzW3NlZ21lbnRzLmxlbmd0aCAtIDFdPy5jMiA/PyB0YXJnZXQsXG4gICAgICBwb2ludHMsXG4gICAgICBjYW5kaWRhdGVzOiBjYWxjdWxhdGVDdXJ2ZUNhbmRpZGF0ZXMoc2VnbWVudHMpLFxuICAgIH07XG4gIH1cbn1cbiJdfQ==
|
package/esm2022/f-connection-v2/utils/connection-line-builder/builders/adaptive-curve/index.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export * from './calculate-adaptive-curve-data';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi12Mi91dGlscy9jb25uZWN0aW9uLWxpbmUtYnVpbGRlci9idWlsZGVycy9hZGFwdGl2ZS1jdXJ2ZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGlDQUFpQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9jYWxjdWxhdGUtYWRhcHRpdmUtY3VydmUtZGF0YSc7XG4iXX0=
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { buildConnectionAnchors, calculateCurveCandidates, createMultiCubicPath, sampleMultiCubicUniform, } from '../utils';
|
|
2
|
-
import { EFConnectableSide } from '../../../../enums';
|
|
3
|
-
export class CalculateBezierCurveData {
|
|
4
|
-
handle({ source, sourceSide, target, targetSide, offset, waypoints, }) {
|
|
5
|
-
const anchors = buildConnectionAnchors(source, target, waypoints);
|
|
6
|
-
const segments = [];
|
|
7
|
-
for (let i = 0; i < anchors.length - 1; i++) {
|
|
8
|
-
const a = anchors[i];
|
|
9
|
-
const b = anchors[i + 1];
|
|
10
|
-
const c1 = getAnglePoint(sourceSide, a, b, offset ?? 0);
|
|
11
|
-
const c2 = getAnglePoint(targetSide, b, a, offset ?? 0);
|
|
12
|
-
segments.push({ p0: a, c1, c2, p3: b, chainIndex: i });
|
|
13
|
-
}
|
|
14
|
-
const points = sampleMultiCubicUniform(segments, 12);
|
|
15
|
-
return {
|
|
16
|
-
path: createMultiCubicPath(segments),
|
|
17
|
-
secondPoint: segments[0]?.c1 ?? source,
|
|
18
|
-
penultimatePoint: segments[segments.length - 1]?.c2 ?? target,
|
|
19
|
-
points,
|
|
20
|
-
candidates: calculateCurveCandidates(segments),
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
function getAnglePoint(side, source, target, offset) {
|
|
25
|
-
const result = { x: source.x, y: source.y };
|
|
26
|
-
switch (side) {
|
|
27
|
-
case EFConnectableSide.LEFT:
|
|
28
|
-
result.x -= getConnectorOffset(source.x - target.x, offset);
|
|
29
|
-
break;
|
|
30
|
-
case EFConnectableSide.RIGHT:
|
|
31
|
-
result.x += getConnectorOffset(target.x - source.x, offset);
|
|
32
|
-
break;
|
|
33
|
-
case EFConnectableSide.TOP:
|
|
34
|
-
result.y -= getConnectorOffset(source.y - target.y, offset);
|
|
35
|
-
break;
|
|
36
|
-
case EFConnectableSide.BOTTOM:
|
|
37
|
-
result.y += getConnectorOffset(target.y - source.y, offset);
|
|
38
|
-
break;
|
|
39
|
-
case EFConnectableSide.AUTO:
|
|
40
|
-
break;
|
|
41
|
-
}
|
|
42
|
-
return result;
|
|
43
|
-
}
|
|
44
|
-
function getConnectorOffset(distance, offset) {
|
|
45
|
-
if (distance >= offset)
|
|
46
|
-
return distance;
|
|
47
|
-
return offset * Math.sqrt(offset - distance);
|
|
48
|
-
}
|
|
49
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FsY3VsYXRlLWJlemllci1jdXJ2ZS1kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWNvbm5lY3Rpb24tdjIvdXRpbHMvY29ubmVjdGlvbi1saW5lLWJ1aWxkZXIvYnVpbGRlcnMvYmV6aWVyLWN1cnZlL2NhbGN1bGF0ZS1iZXppZXItY3VydmUtZGF0YS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQ0wsc0JBQXNCLEVBQ3RCLHdCQUF3QixFQUN4QixvQkFBb0IsRUFFcEIsdUJBQXVCLEdBQ3hCLE1BQU0sVUFBVSxDQUFDO0FBTWxCLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLG1CQUFtQixDQUFDO0FBRXRELE1BQU0sT0FBTyx3QkFBd0I7SUFDNUIsTUFBTSxDQUFDLEVBQ1osTUFBTSxFQUNOLFVBQVUsRUFDVixNQUFNLEVBQ04sVUFBVSxFQUNWLE1BQU0sRUFDTixTQUFTLEdBQ2tCO1FBQzNCLE1BQU0sT0FBTyxHQUFHLHNCQUFzQixDQUFDLE1BQU0sRUFBRSxNQUFNLEVBQUUsU0FBUyxDQUFDLENBQUM7UUFFbEUsTUFBTSxRQUFRLEdBQW9CLEVBQUUsQ0FBQztRQUVyQyxLQUFLLElBQUksQ0FBQyxHQUFHLENBQUMsRUFBRSxDQUFDLEdBQUcsT0FBTyxDQUFDLE1BQU0sR0FBRyxDQUFDLEVBQUUsQ0FBQ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package/esm2022/f-connection-v2/utils/connection-line-builder/builders/bezier-curve/index.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export * from './calculate-bezier-curve-data';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi12Mi91dGlscy9jb25uZWN0aW9uLWxpbmUtYnVpbGRlci9idWlsZGVycy9iZXppZXItY3VydmUvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYywrQkFBK0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vY2FsY3VsYXRlLWJlemllci1jdXJ2ZS1kYXRhJztcbiJdfQ==
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export * from './adaptive-curve';
|
|
2
|
-
export * from './bezier-curve';
|
|
3
|
-
export * from './segment-line';
|
|
4
|
-
export * from './straight-line';
|
|
5
|
-
export * from './utils';
|
|
6
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi12Mi91dGlscy9jb25uZWN0aW9uLWxpbmUtYnVpbGRlci9idWlsZGVycy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGtCQUFrQixDQUFDO0FBQ2pDLGNBQWMsZ0JBQWdCLENBQUM7QUFDL0IsY0FBYyxnQkFBZ0IsQ0FBQztBQUMvQixjQUFjLGlCQUFpQixDQUFDO0FBQ2hDLGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9hZGFwdGl2ZS1jdXJ2ZSc7XG5leHBvcnQgKiBmcm9tICcuL2Jlemllci1jdXJ2ZSc7XG5leHBvcnQgKiBmcm9tICcuL3NlZ21lbnQtbGluZSc7XG5leHBvcnQgKiBmcm9tICcuL3N0cmFpZ2h0LWxpbmUnO1xuZXhwb3J0ICogZnJvbSAnLi91dGlscyc7XG4iXX0=
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
export function buildCornerMidPointsAndApplyOffsets(params) {
|
|
2
|
-
const { axis, source, target, sourceSide, targetSide, sourceGap, targetGap, sourceDir, targetDir, currentDir, offset, sourceGapOffset, targetGapOffset, } = params;
|
|
3
|
-
const corners = buildCornerPoints(sourceGap, targetGap);
|
|
4
|
-
let midPoints = pickCornerByDirection(axis, sourceDir, currentDir, corners);
|
|
5
|
-
if (sourceSide === targetSide) {
|
|
6
|
-
applySameSideGapOffsetFix(axis, source, target, offset, sourceDir, currentDir, sourceGap, targetGap, sourceGapOffset, targetGapOffset);
|
|
7
|
-
}
|
|
8
|
-
else {
|
|
9
|
-
midPoints = maybeFlipCornerForDifferentSides(axis, sourceDir, targetDir, sourceGap, targetGap, corners, midPoints);
|
|
10
|
-
}
|
|
11
|
-
return midPoints;
|
|
12
|
-
}
|
|
13
|
-
function buildCornerPoints(sourceGap, targetGap) {
|
|
14
|
-
return {
|
|
15
|
-
sourceTarget: [{ x: sourceGap.x, y: targetGap.y }],
|
|
16
|
-
targetSource: [{ x: targetGap.x, y: sourceGap.y }],
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
function pickCornerByDirection(axis, sourceDir, currentDir, corners) {
|
|
20
|
-
if (axis === 'x') {
|
|
21
|
-
return sourceDir.x === currentDir ? corners.targetSource : corners.sourceTarget;
|
|
22
|
-
}
|
|
23
|
-
return sourceDir.y === currentDir ? corners.sourceTarget : corners.targetSource;
|
|
24
|
-
}
|
|
25
|
-
function applySameSideGapOffsetFix(axis, source, target, offset, sourceDir, currentDir, sourceGap, targetGap, sourceGapOffset, targetGapOffset) {
|
|
26
|
-
const diff = Math.abs(source[axis] - target[axis]);
|
|
27
|
-
if (diff > offset)
|
|
28
|
-
return;
|
|
29
|
-
const gapOffset = Math.min(offset - 1, offset - diff);
|
|
30
|
-
if (gapOffset <= 0)
|
|
31
|
-
return;
|
|
32
|
-
if (sourceDir[axis] === currentDir) {
|
|
33
|
-
sourceGapOffset[axis] = (sourceGap[axis] > source[axis] ? -1 : 1) * gapOffset;
|
|
34
|
-
}
|
|
35
|
-
else {
|
|
36
|
-
targetGapOffset[axis] = (targetGap[axis] > target[axis] ? -1 : 1) * gapOffset;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
function maybeFlipCornerForDifferentSides(axis, sourceDir, targetDir, sourceGap, targetGap, corners, currentPicked) {
|
|
40
|
-
const opp = axis === 'x' ? 'y' : 'x';
|
|
41
|
-
const isSameDir = sourceDir[axis] === targetDir[opp];
|
|
42
|
-
const sourceGt = sourceGap[opp] > targetGap[opp];
|
|
43
|
-
const sourceLt = sourceGap[opp] < targetGap[opp];
|
|
44
|
-
const flip = (sourceDir[axis] === 1 && ((!isSameDir && sourceGt) || (isSameDir && sourceLt))) ||
|
|
45
|
-
(sourceDir[axis] !== 1 && ((!isSameDir && sourceLt) || (isSameDir && sourceGt)));
|
|
46
|
-
if (!flip)
|
|
47
|
-
return currentPicked;
|
|
48
|
-
return axis === 'x' ? corners.sourceTarget : corners.targetSource;
|
|
49
|
-
}
|
|
50
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnVpbGQtY29ybmVyLW1pZC1wb2ludHMtYW5kLWFwcGx5LW9mZnNldHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY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from '@foblex/2d';
|
|
2
|
-
import { buildConnectionAnchors, calculateCenterBetweenPoints, calculatePolylineCandidates, mergePointChains, normalizePolyline, } from '../utils';
|
|
3
|
-
import { createSegmentLinePath } from './create-segment-line-path';
|
|
4
|
-
import { EFConnectableSide } from '../../../../enums';
|
|
5
|
-
import { buildCornerMidPointsAndApplyOffsets } from './build-corner-mid-points-and-apply-offsets';
|
|
6
|
-
const CONNECTOR_SIDE_POINT = {
|
|
7
|
-
[EFConnectableSide.LEFT]: PointExtensions.initialize(-1, 0),
|
|
8
|
-
[EFConnectableSide.RIGHT]: PointExtensions.initialize(1, 0),
|
|
9
|
-
[EFConnectableSide.TOP]: PointExtensions.initialize(0, -1),
|
|
10
|
-
[EFConnectableSide.BOTTOM]: PointExtensions.initialize(0, 1),
|
|
11
|
-
[EFConnectableSide.AUTO]: PointExtensions.initialize(0, 0),
|
|
12
|
-
};
|
|
13
|
-
export class CalculateSegmentLineData {
|
|
14
|
-
handle({ source, sourceSide, target, targetSide, waypoints, offset, radius, }) {
|
|
15
|
-
const anchors = buildConnectionAnchors(source, target, waypoints);
|
|
16
|
-
const chains = [];
|
|
17
|
-
const candidates = [];
|
|
18
|
-
for (let i = 0; i < anchors.length - 1; i++) {
|
|
19
|
-
const a = anchors[i];
|
|
20
|
-
const b = anchors[i + 1];
|
|
21
|
-
const points = this._getPathPoints(a, sourceSide, b, targetSide, offset ?? 0);
|
|
22
|
-
chains.push(points);
|
|
23
|
-
candidates.push(...calculatePolylineCandidates(points));
|
|
24
|
-
}
|
|
25
|
-
const polyline = normalizePolyline(mergePointChains(chains));
|
|
26
|
-
const penultimatePoint = polyline.length > 1 ? polyline[polyline.length - 2] : source;
|
|
27
|
-
const secondPoint = polyline.length > 1 ? polyline[1] : target;
|
|
28
|
-
return {
|
|
29
|
-
path: createSegmentLinePath(polyline, radius ?? 0),
|
|
30
|
-
penultimatePoint,
|
|
31
|
-
secondPoint,
|
|
32
|
-
points: polyline,
|
|
33
|
-
candidates,
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
_getPathPoints(source, sourceSide, target, targetSide, offset) {
|
|
37
|
-
const sourceDirection = CONNECTOR_SIDE_POINT[sourceSide];
|
|
38
|
-
const targetDirection = CONNECTOR_SIDE_POINT[targetSide];
|
|
39
|
-
const sourceGap = {
|
|
40
|
-
x: source.x + sourceDirection.x * offset,
|
|
41
|
-
y: source.y + sourceDirection.y * offset,
|
|
42
|
-
};
|
|
43
|
-
const targetGap = {
|
|
44
|
-
x: target.x + targetDirection.x * offset,
|
|
45
|
-
y: target.y + targetDirection.y * offset,
|
|
46
|
-
};
|
|
47
|
-
const direction = this._getDirection(sourceGap, sourceSide, targetGap);
|
|
48
|
-
const directionAccessor = direction.x !== 0 ? 'x' : 'y';
|
|
49
|
-
const currentDirection = direction[directionAccessor];
|
|
50
|
-
let points = [];
|
|
51
|
-
const sourceGapOffset = PointExtensions.initialize();
|
|
52
|
-
const targetGapOffset = PointExtensions.initialize();
|
|
53
|
-
const centerBetweenPoints = calculateCenterBetweenPoints(source, target);
|
|
54
|
-
if (sourceDirection[directionAccessor] * targetDirection[directionAccessor] === -1) {
|
|
55
|
-
const verticalSplit = [
|
|
56
|
-
{ x: centerBetweenPoints.x, y: sourceGap.y },
|
|
57
|
-
{ x: centerBetweenPoints.x, y: targetGap.y },
|
|
58
|
-
];
|
|
59
|
-
const horizontalSplit = [
|
|
60
|
-
{ x: sourceGap.x, y: centerBetweenPoints.y },
|
|
61
|
-
{ x: targetGap.x, y: centerBetweenPoints.y },
|
|
62
|
-
];
|
|
63
|
-
if (sourceDirection[directionAccessor] === currentDirection) {
|
|
64
|
-
points = directionAccessor === 'x' ? verticalSplit : horizontalSplit;
|
|
65
|
-
}
|
|
66
|
-
else {
|
|
67
|
-
points = directionAccessor === 'x' ? horizontalSplit : verticalSplit;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
else {
|
|
71
|
-
points = buildCornerMidPointsAndApplyOffsets({
|
|
72
|
-
axis: directionAccessor,
|
|
73
|
-
source,
|
|
74
|
-
target,
|
|
75
|
-
sourceSide,
|
|
76
|
-
targetSide,
|
|
77
|
-
sourceGap,
|
|
78
|
-
targetGap,
|
|
79
|
-
sourceDir: sourceDirection,
|
|
80
|
-
targetDir: targetDirection,
|
|
81
|
-
currentDir: currentDirection,
|
|
82
|
-
offset,
|
|
83
|
-
sourceGapOffset,
|
|
84
|
-
targetGapOffset,
|
|
85
|
-
});
|
|
86
|
-
}
|
|
87
|
-
return [
|
|
88
|
-
source,
|
|
89
|
-
{ x: sourceGap.x + sourceGapOffset.x, y: sourceGap.y + sourceGapOffset.y },
|
|
90
|
-
...points,
|
|
91
|
-
{ x: targetGap.x + targetGapOffset.x, y: targetGap.y + targetGapOffset.y },
|
|
92
|
-
target,
|
|
93
|
-
];
|
|
94
|
-
}
|
|
95
|
-
_getDirection(source, sourceSide, target) {
|
|
96
|
-
if (sourceSide === EFConnectableSide.LEFT || sourceSide === EFConnectableSide.RIGHT) {
|
|
97
|
-
return source.x < target.x
|
|
98
|
-
? PointExtensions.initialize(1, 0)
|
|
99
|
-
: PointExtensions.initialize(-1, 0);
|
|
100
|
-
}
|
|
101
|
-
return source.y < target.y
|
|
102
|
-
? PointExtensions.initialize(0, 1)
|
|
103
|
-
: PointExtensions.initialize(0, -1);
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FsY3VsYXRlLXNlZ21lbnQtbGluZS1kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWNvbm5lY3Rpb24tdjIvdXRpbHMvY29ubmVjdGlvbi1saW5lLWJ1aWxkZXIvYnVpbGRlcnMvc2VnbWVudC1saW5lL2NhbGN1bGF0ZS1zZWdtZW50LWxpbmUtZGF0YS50cyJdLCJuYW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FxuICAgICAgeyB4OiB0YXJnZXRHYXAueCArIHRhcmdldEdhcE9mZnNldC54LCB5OiB0YXJnZXRHYXAueSArIHRhcmdldEdhcE9mZnNldC55IH0sXG4gICAgICB0YXJnZXQsXG4gICAgXTtcbiAgfVxuXG4gIHByaXZhdGUgX2dldERpcmVjdGlvbihzb3VyY2U6IElQb2ludCwgc291cmNlU2lkZTogRUZDb25uZWN0YWJsZVNpZGUsIHRhcmdldDogSVBvaW50KTogSVBvaW50IHtcbiAgICBpZiAoc291cmNlU2lkZSA9PT0gRUZDb25uZWN0YWJsZVNpZGUuTEVGVCB8fCBzb3VyY2VTaWRlID09PSBFRkNvbm5lY3RhYmxlU2lkZS5SSUdIVCkge1xuICAgICAgcmV0dXJuIHNvdXJjZS54IDwgdGFyZ2V0LnhcbiAgICAgICAgPyBQb2ludEV4dGVuc2lvbnMuaW5pdGlhbGl6ZSgxLCAwKVxuICAgICAgICA6IFBvaW50RXh0ZW5zaW9ucy5pbml0aWFsaXplKC0xLCAwKTtcbiAgICB9XG5cbiAgICByZXR1cm4gc291cmNlLnkgPCB0YXJnZXQueVxuICAgICAgPyBQb2ludEV4dGVuc2lvbnMuaW5pdGlhbGl6ZSgwLCAxKVxuICAgICAgOiBQb2ludEV4dGVuc2lvbnMuaW5pdGlhbGl6ZSgwLCAtMSk7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
const EPS = 1e-6;
|
|
2
|
-
const END_EPS = 0.0002;
|
|
3
|
-
const MIN_VISIBLE = 0.75;
|
|
4
|
-
export function createSegmentLinePath(points, borderRadius) {
|
|
5
|
-
const n = points.length;
|
|
6
|
-
const parts = [];
|
|
7
|
-
parts.push(`M ${points[0].x} ${points[0].y}`);
|
|
8
|
-
for (let i = 1; i < n - 1; i++) {
|
|
9
|
-
parts.push(getBend(points[i - 1], points[i], points[i + 1], borderRadius));
|
|
10
|
-
}
|
|
11
|
-
const last = points[n - 1];
|
|
12
|
-
parts.push(`L ${last.x + END_EPS} ${last.y + END_EPS}`);
|
|
13
|
-
return parts.join(' ');
|
|
14
|
-
}
|
|
15
|
-
function getBend(a, b, c, size) {
|
|
16
|
-
const x = b.x;
|
|
17
|
-
const y = b.y;
|
|
18
|
-
if (size <= 0) {
|
|
19
|
-
return `L ${x} ${y}`;
|
|
20
|
-
}
|
|
21
|
-
const collinearX = Math.abs(a.x - x) <= EPS && Math.abs(x - c.x) <= EPS;
|
|
22
|
-
const collinearY = Math.abs(a.y - y) <= EPS && Math.abs(y - c.y) <= EPS;
|
|
23
|
-
if (collinearX || collinearY) {
|
|
24
|
-
return `L ${x} ${y}`;
|
|
25
|
-
}
|
|
26
|
-
const ab = Math.hypot(x - a.x, y - a.y);
|
|
27
|
-
const bc = Math.hypot(c.x - x, c.y - y);
|
|
28
|
-
const bendSize = Math.min(ab * 0.5, bc * 0.5, size);
|
|
29
|
-
if (bendSize < MIN_VISIBLE) {
|
|
30
|
-
return `L ${x} ${y}`;
|
|
31
|
-
}
|
|
32
|
-
const incomingHorizontal = Math.abs(a.y - y) <= EPS;
|
|
33
|
-
if (incomingHorizontal) {
|
|
34
|
-
const xDir = a.x < c.x ? -1 : 1;
|
|
35
|
-
const yDir = a.y < c.y ? 1 : -1;
|
|
36
|
-
const lx = x + bendSize * xDir;
|
|
37
|
-
const qy = y + bendSize * yDir;
|
|
38
|
-
return `L ${lx} ${y} Q ${x} ${y} ${x} ${qy}`;
|
|
39
|
-
}
|
|
40
|
-
const xDir = a.x < c.x ? 1 : -1;
|
|
41
|
-
const yDir = a.y < c.y ? -1 : 1;
|
|
42
|
-
const ly = y + bendSize * yDir;
|
|
43
|
-
const qx = x + bendSize * xDir;
|
|
44
|
-
return `L ${x} ${ly} Q ${x} ${y} ${qx} ${y}`;
|
|
45
|
-
}
|
|
46
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3JlYXRlLXNlZ21lbnQtbGluZS1wYXRoLmpzIiwic291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ICBjb25zdCBiZW5kU2l6ZSA9IE1hdGgubWluKGFiICogMC41LCBiYyAqIDAuNSwgc2l6ZSk7XG5cbiAgaWYgKGJlbmRTaXplIDwgTUlOX1ZJU0lCTEUpIHtcbiAgICByZXR1cm4gYEwgJHt4fSAke3l9YDtcbiAgfVxuXG4gIGNvbnN0IGluY29taW5nSG9yaXpvbnRhbCA9IE1hdGguYWJzKGEueSAtIHkpIDw9IEVQUztcblxuICBpZiAoaW5jb21pbmdIb3Jpem9udGFsKSB7XG4gICAgY29uc3QgeERpciA9IGEueCA8IGMueCA/IC0xIDogMTtcbiAgICBjb25zdCB5RGlyID0gYS55IDwgYy55ID8gMSA6IC0xO1xuXG4gICAgY29uc3QgbHggPSB4ICsgYmVuZFNpemUgKiB4RGlyO1xuICAgIGNvbnN0IHF5ID0geSArIGJlbmRTaXplICogeURpcjtcblxuICAgIHJldHVybiBgTCAke2x4fSAke3l9IFEgJHt4fSAke3l9ICR7eH0gJHtxeX1gO1xuICB9XG5cbiAgY29uc3QgeERpciA9IGEueCA8IGMueCA/IDEgOiAtMTtcbiAgY29uc3QgeURpciA9IGEueSA8IGMueSA/IC0xIDogMTtcblxuICBjb25zdCBseSA9IHkgKyBiZW5kU2l6ZSAqIHlEaXI7XG4gIGNvbnN0IHF4ID0geCArIGJlbmRTaXplICogeERpcjtcblxuICByZXR1cm4gYEwgJHt4fSAke2x5fSBRICR7eH0gJHt5fSAke3F4fSAke3l9YDtcbn1cbiJdfQ==
|
package/esm2022/f-connection-v2/utils/connection-line-builder/builders/segment-line/index.mjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export * from './build-corner-mid-points-and-apply-offsets';
|
|
2
|
-
export * from './calculate-segment-line-data';
|
|
3
|
-
export * from './create-segment-line-path';
|
|
4
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi12Mi91dGlscy9jb25uZWN0aW9uLWxpbmUtYnVpbGRlci9idWlsZGVycy9zZWdtZW50LWxpbmUvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyw2Q0FBNkMsQ0FBQztBQUM1RCxjQUFjLCtCQUErQixDQUFDO0FBQzlDLGNBQWMsNEJBQTRCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2J1aWxkLWNvcm5lci1taWQtcG9pbnRzLWFuZC1hcHBseS1vZmZzZXRzJztcbmV4cG9ydCAqIGZyb20gJy4vY2FsY3VsYXRlLXNlZ21lbnQtbGluZS1kYXRhJztcbmV4cG9ydCAqIGZyb20gJy4vY3JlYXRlLXNlZ21lbnQtbGluZS1wYXRoJztcbiJdfQ==
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { buildConnectionAnchors } from '../utils';
|
|
2
|
-
const EPS = 0.0002;
|
|
3
|
-
export class CalculateStraightLineData {
|
|
4
|
-
handle(request) {
|
|
5
|
-
const anchors = buildConnectionAnchors(request.source, request.target, request.waypoints);
|
|
6
|
-
const n = anchors.length;
|
|
7
|
-
const p0 = anchors[0];
|
|
8
|
-
let d = `M ${p0.x} ${p0.y}`;
|
|
9
|
-
const candidates = new Array(n - 1);
|
|
10
|
-
for (let i = 0; i < n - 1; i++) {
|
|
11
|
-
const a = anchors[i];
|
|
12
|
-
const b = anchors[i + 1];
|
|
13
|
-
const isLast = i === n - 2;
|
|
14
|
-
const bx = isLast ? b.x + EPS : b.x;
|
|
15
|
-
const by = isLast ? b.y + EPS : b.y;
|
|
16
|
-
d += ` L ${bx} ${by}`;
|
|
17
|
-
candidates[i] = { x: (a.x + b.x) * 0.5, y: (a.y + b.y) * 0.5 };
|
|
18
|
-
}
|
|
19
|
-
return {
|
|
20
|
-
path: d,
|
|
21
|
-
candidates,
|
|
22
|
-
points: anchors,
|
|
23
|
-
secondPoint: anchors[1] ?? request.target,
|
|
24
|
-
penultimatePoint: anchors[n - 2] ?? request.source,
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FsY3VsYXRlLXN0cmFpZ2h0LWxpbmUtZGF0YS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi1jb25uZWN0aW9uLXYyL3V0aWxzL2Nvbm5lY3Rpb24tbGluZS1idWlsZGVyL2J1aWxkZXJzL3N0cmFpZ2h0LWxpbmUvY2FsY3VsYXRlLXN0cmFpZ2h0LWxpbmUtZGF0YS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFLQSxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSxVQUFVLENBQUM7QUFHbEQsTUFBTSxHQUFHLEdBQUcsTUFBTSxDQUFDO0FBRW5CLE1BQU0sT0FBTyx5QkFBeUI7SUFDN0IsTUFBTSxDQUFDLE9BQW1DO1FBQy9DLE1BQU0sT0FBTyxHQUFHLHNCQUFzQixDQUFDLE9BQU8sQ0FBQyxNQUFNLEVBQUUsT0FBTyxDQUFDLE1BQU0sRUFBRSxPQUFPLENBQUMsU0FBUyxDQUFDLENBQUM7UUFFMUYsTUFBTSxDQUFDLEdBQUcsT0FBTyxDQUFDLE1BQU0sQ0FBQztRQUV6QixNQUFNLEVBQUUsR0FBRyxPQUFPLENBQUMsQ0FBQyxDQUFDLENBQUM7UUFDdEIsSUFBSSxDQUFDLEdBQUcsS0FBSyxFQUFFLENBQUMsQ0FBQyxJQUFJLEVBQUUsQ0FBQyxDQUFDLEVBQUUsQ0FBQztRQUU1QixNQUFNLFVBQVUsR0FBYSxJQU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LSAxKTtcblxuICAgIGZvciAobGV0IGkgPSAwOyBpIDwgbiAtIDE7IGkrKykge1xuICAgICAgY29uc3QgYSA9IGFuY2hvcnNbaV07XG4gICAgICBjb25zdCBiID0gYW5jaG9yc1tpICsgMV07XG5cbiAgICAgIGNvbnN0IGlzTGFzdCA9IGkgPT09IG4gLSAyO1xuICAgICAgY29uc3QgYnggPSBpc0xhc3QgPyBiLnggKyBFUFMgOiBiLng7XG4gICAgICBjb25zdCBieSA9IGlzTGFzdCA/IGIueSArIEVQUyA6IGIueTtcblxuICAgICAgZCArPSBgIEwgJHtieH0gJHtieX1gO1xuXG4gICAgICBjYW5kaWRhdGVzW2ldID0geyB4OiAoYS54ICsgYi54KSAqIDAuNSwgeTogKGEueSArIGIueSkgKiAwLjUgfTtcbiAgICB9XG5cbiAgICByZXR1cm4ge1xuICAgICAgcGF0aDogZCxcbiAgICAgIGNhbmRpZGF0ZXMsXG4gICAgICBwb2ludHM6IGFuY2hvcnMsXG4gICAgICBzZWNvbmRQb2ludDogYW5jaG9yc1sxXSA/PyByZXF1ZXN0LnRhcmdldCxcbiAgICAgIHBlbnVsdGltYXRlUG9pbnQ6IGFuY2hvcnNbbiAtIDJdID8/IHJlcXVlc3Quc291cmNlLFxuICAgIH07XG4gIH1cbn1cbiJdfQ==
|
package/esm2022/f-connection-v2/utils/connection-line-builder/builders/straight-line/index.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export * from './calculate-straight-line-data';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi12Mi91dGlscy9jb25uZWN0aW9uLWxpbmUtYnVpbGRlci9idWlsZGVycy9zdHJhaWdodC1saW5lL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsZ0NBQWdDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2NhbGN1bGF0ZS1zdHJhaWdodC1saW5lLWRhdGEnO1xuIl19
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export function buildConnectionAnchors(source, target, waypoints) {
|
|
2
|
-
return [source, ...(waypoints ?? []), target];
|
|
3
|
-
}
|
|
4
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnVpbGQtY29ubmVjdGlvbi1hbmNob3JzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWNvbm5lY3Rpb24tdjIvdXRpbHMvY29ubmVjdGlvbi1saW5lLWJ1aWxkZXIvYnVpbGRlcnMvdXRpbHMvYnVpbGQtY29ubmVjdGlvbi1hbmNob3JzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE1BQU0sVUFBVSxzQkFBc0IsQ0FDcEMsTUFBYyxFQUNkLE1BQWMsRUFDZCxTQUFvQjtJQUVwQixPQUFPLENBQUMsTUFBTSxFQUFFLEdBQUcsQ0FBQyxTQUFTLElBQUksRUFBRSxDQUFDLEVBQUUsTUFBTSxDQUFDLENBQUM7QUFDaEQsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IElQb2ludCB9IGZyb20gJ0Bmb2JsZXgvMmQnO1xuXG5leHBvcnQgZnVuY3Rpb24gYnVpbGRDb25uZWN0aW9uQW5jaG9ycyhcbiAgc291cmNlOiBJUG9pbnQsXG4gIHRhcmdldDogSVBvaW50LFxuICB3YXlwb2ludHM/OiBJUG9pbnRbXSxcbik6IElQb2ludFtdIHtcbiAgcmV0dXJuIFtzb3VyY2UsIC4uLih3YXlwb2ludHMgPz8gW10pLCB0YXJnZXRdO1xufVxuIl19
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export function calculateCenterBetweenPoints(source, target) {
|
|
2
|
-
const offsetX = Math.abs(target.x - source.x) / 2;
|
|
3
|
-
const centerX = target.x < source.x ? target.x + offsetX : target.x - offsetX;
|
|
4
|
-
const offsetY = Math.abs(target.y - source.y) / 2;
|
|
5
|
-
const centerY = target.y < source.y ? target.y + offsetY : target.y - offsetY;
|
|
6
|
-
return { x: centerX, y: centerY };
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FsY3VsYXRlLWNlbnRlci1iZXR3ZWVuLXBvaW50cy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi1jb25uZWN0aW9uLXYyL3V0aWxzL2Nvbm5lY3Rpb24tbGluZS1idWlsZGVyL2J1aWxkZXJzL3V0aWxzL2NhbGN1bGF0ZS1jZW50ZXItYmV0d2Vlbi1wb2ludHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsTUFBTSxVQUFVLDRCQUE0QixDQUFDLE1BQWMsRUFBRSxNQUFjO0lBQ3pFLE1BQU0sT0FBTyxHQUFHLElBQUksQ0FBQyxHQUFHLENBQUMsTUFBTSxDQUFDLENBQUMsR0FBRyxNQUFNLENBQUMsQ0FBQyxDQUFDLEdBQUcsQ0FBQyxDQUFDO0lBQ2xELE1BQU0sT0FBTyxHQUFHLE1BQU0sQ0FBQyxDQUFDLEdBQUcsTUFBTSxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsTUFBTSxDQUFDLENBQUMsR0FBRyxPQUFPLENBQUMsQ0FBQyxDQUFDLE1BQU0sQ0FBQyxDQUFDLEdBQUcsT0FBTyxDQUFDO0lBRTlFLE1BQU0sT0FBT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icBezierAtT } from './sample-cubic-bezier-uniform';
|
|
2
|
-
export function calculateCurveCandidates(segments) {
|
|
3
|
-
return segments.map((s) => {
|
|
4
|
-
return cubicBezierAtT(s.p0, s.c1, s.c2, s.p3, 0.5);
|
|
5
|
-
});
|
|
6
|
-
}
|
|
7
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FsY3VsYXRlLWN1cnZlLWNhbmRpZGF0ZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi12Mi91dGlscy9jb25uZWN0aW9uLWxpbmUtYnVpbGRlci9idWlsZGVycy91dGlscy9jYWxjdWxhdGUtY3VydmUtY2FuZGlkYXRlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sK0JBQStCLENBQUM7QUFHL0QsTUFBTSxVQUFVLHdCQUF3QixDQUFDLFFBQXlCO0lBQ2hFLE9BQU8sUUFBUSxDQUFDLEdBQUcsQ0FBQyxDQUFDLENBQUMsRUFBRSxFQUFFO1FBQ3hCLE9BQU8sY0FBYyxDQUFDLENBQUMsQ0FBQyxFQUFFLEVBQUUsQ0FBQyxDQUFDLEVBQUUsRUFBRSxDQUFDLENBQUMsRUFBRSxFQUFFLENBQUMsQ0FBQyxFQUFFLEVBQUUsR0FBRyxDQUFDLENBQUM7SUFDckQsQ0FBQyxDQUFDLENBQUM7QUFDTCxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSUN1YmljU2VnbWVudCB9IGZyb20gJy4vbXVsdGktY3ViaWMnO1xuaW1wb3J0IHsgY3ViaWNCZXppZXJBdFQgfSBmcm9tICcuL3NhbXBsZS1jdWJpYy1iZXppZXItdW5pZm9ybSc7XG5pbXBvcnQgeyBJUG9pbnQgfSBmcm9tICdAZm9ibGV4LzJkJztcblxuZXhwb3J0IGZ1bmN0aW9uIGNhbGN1bGF0ZUN1cnZlQ2FuZGlkYXRlcyhzZWdtZW50czogSUN1YmljU2VnbWVudFtdKTogSVBvaW50W10ge1xuICByZXR1cm4gc2VnbWVudHMubWFwKChzKSA9PiB7XG4gICAgcmV0dXJuIGN1YmljQmV6aWVyQXRUKHMucDAsIHMuYzEsIHMuYzIsIHMucDMsIDAuNSk7XG4gIH0pO1xufVxuIl19
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
export function calculatePolylineCandidates(polyline) {
|
|
2
|
-
if (polyline.length < 2) {
|
|
3
|
-
throw new Error('Polylines must be at least two points');
|
|
4
|
-
}
|
|
5
|
-
const total = polylineTotalLength(polyline);
|
|
6
|
-
if (total <= 0) {
|
|
7
|
-
return [{ ...polyline[0] }];
|
|
8
|
-
}
|
|
9
|
-
const mid = pointAtPolylineLength(polyline, total / 2);
|
|
10
|
-
return [mid];
|
|
11
|
-
}
|
|
12
|
-
function polylineTotalLength(points) {
|
|
13
|
-
let len = 0;
|
|
14
|
-
for (let i = 0; i < points.length - 1; i++) {
|
|
15
|
-
len += dist(points[i], points[i + 1]);
|
|
16
|
-
}
|
|
17
|
-
return len;
|
|
18
|
-
}
|
|
19
|
-
function pointAtPolylineLength(points, s) {
|
|
20
|
-
let acc = 0;
|
|
21
|
-
for (let i = 0; i < points.length - 1; i++) {
|
|
22
|
-
const a = points[i];
|
|
23
|
-
const b = points[i + 1];
|
|
24
|
-
const segLen = dist(a, b);
|
|
25
|
-
if (segLen <= 0)
|
|
26
|
-
continue;
|
|
27
|
-
if (acc + segLen >= s) {
|
|
28
|
-
const t = (s - acc) / segLen;
|
|
29
|
-
return { x: a.x + (b.x - a.x) * t, y: a.y + (b.y - a.y) * t };
|
|
30
|
-
}
|
|
31
|
-
acc += segLen;
|
|
32
|
-
}
|
|
33
|
-
const last = points[points.length - 1];
|
|
34
|
-
return { x: last.x, y: last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