@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,66 +0,0 @@
|
|
|
1
|
-
import { inject, Injectable } from '@angular/core';
|
|
2
|
-
import { DragHandlerBase, FDragHandlerResult } from '../../../infrastructure';
|
|
3
|
-
import { FMediator } from '@foblex/mediator';
|
|
4
|
-
import { ConnectionBehaviourBuilder } from '../../../../f-connection-v2';
|
|
5
|
-
import { FComponentsStore } from '../../../../f-storage';
|
|
6
|
-
import { GetConnectorRectReferenceRequest } from '../../../../domain';
|
|
7
|
-
import { rectFromPoint } from './i-reassign-handler';
|
|
8
|
-
import { ReassignConnectionSourceHandler } from './reassign-connection-source-handler';
|
|
9
|
-
import { ReassignConnectionTargetHandler } from './reassign-connection-target-handler';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
export class ReassignConnectionHandler extends DragHandlerBase {
|
|
12
|
-
type = 'reassign-connection';
|
|
13
|
-
kind = 'reassign-connection';
|
|
14
|
-
data() {
|
|
15
|
-
return { fConnectionId: this._connection.fId() };
|
|
16
|
-
}
|
|
17
|
-
_result = inject(FDragHandlerResult);
|
|
18
|
-
_mediator = inject(FMediator);
|
|
19
|
-
_connectionBehaviour = inject(ConnectionBehaviourBuilder);
|
|
20
|
-
_store = inject(FComponentsStore);
|
|
21
|
-
get _snapConnection() {
|
|
22
|
-
return this._store.connections.getForSnap();
|
|
23
|
-
}
|
|
24
|
-
_connection;
|
|
25
|
-
_draggedEnd;
|
|
26
|
-
_sourceRef;
|
|
27
|
-
_targetRef;
|
|
28
|
-
_reassignHandler;
|
|
29
|
-
initialize(connection, isTargetDragHandle) {
|
|
30
|
-
this._connection = connection;
|
|
31
|
-
this._draggedEnd = isTargetDragHandle ? 'target' : 'source';
|
|
32
|
-
this._sourceRef = this._mediator.execute(new GetConnectorRectReferenceRequest(this._store.outputs.require(this._connection.fOutputId())));
|
|
33
|
-
this._targetRef = this._mediator.execute(new GetConnectorRectReferenceRequest(this._store.inputs.require(this._connection.fInputId())));
|
|
34
|
-
this._reassignHandler =
|
|
35
|
-
this._draggedEnd === 'target' ? this._createTargetHandler() : this._createSourceHandler();
|
|
36
|
-
}
|
|
37
|
-
_createSourceHandler() {
|
|
38
|
-
return new ReassignConnectionSourceHandler(this._mediator, this._connectionBehaviour, this._connection, this._sourceRef, this._targetRef);
|
|
39
|
-
}
|
|
40
|
-
_createTargetHandler() {
|
|
41
|
-
return new ReassignConnectionTargetHandler(this._mediator, this._connectionBehaviour, this._connection, this._sourceRef, this._targetRef);
|
|
42
|
-
}
|
|
43
|
-
prepareDragSequence() {
|
|
44
|
-
this._reassignHandler.collectAndMarkCandidates();
|
|
45
|
-
this._reassignHandler.setSnapConnection(this._snapConnection);
|
|
46
|
-
this._result.setData({
|
|
47
|
-
draggedEnd: this._draggedEnd,
|
|
48
|
-
sourceAnchorRect: rectFromPoint(this._connection.line.point1),
|
|
49
|
-
targetAnchorRect: rectFromPoint(this._connection.line.point2),
|
|
50
|
-
candidates: this._reassignHandler.candidates(),
|
|
51
|
-
connection: this._connection,
|
|
52
|
-
});
|
|
53
|
-
}
|
|
54
|
-
onPointerMove(difference) {
|
|
55
|
-
this._reassignHandler.onPointerMove(difference);
|
|
56
|
-
}
|
|
57
|
-
onPointerUp() {
|
|
58
|
-
this._reassignHandler.onPointerUp();
|
|
59
|
-
}
|
|
60
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ReassignConnectionHandler, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
61
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ReassignConnectionHandler });
|
|
62
|
-
}
|
|
63
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ReassignConnectionHandler, decorators: [{
|
|
64
|
-
type: Injectable
|
|
65
|
-
}] });
|
|
66
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVhc3NpZ24tY29ubmVjdGlvbi1oYW5kbGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWRyYWdnYWJsZS9jb25uZWN0aW9uL3JlYXNzaWduLWNvbm5lY3Rpb24vcmVhc3NpZ24tY29ubmVjdGlvbi1oYW5kbGVyL3JlYXNzaWduLWNvbm5lY3Rpb24taGFuZGxlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsTUFBTSxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNuRCxPQUFPLEVBQUUsZUFBZSxFQUFFLGtCQUFrQixFQUFFLE1BQU0seUJBQXlCLENBQUM7QUFHOUUsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGtCQUFrQixDQUFDO0FBQzdDLE9BQU8sRUFBRSwwQkFBMEIsRUFBbUIsTUFBTSw2QkFBNkIsQ0FBQztBQUMxRixPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQztBQUV6RCxPQUFPLEVBQUUsZ0NBQWdDLEVBQXFCLE1BQU0sb0JBQW9CLENBQUM7QUFDekYsT0FBTyxFQUFvQixhQUFhLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQztBQUN2RSxPQUFPLEVBQ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JhZ2dlZEVuZCxcbiAgICAgIHNvdXJjZUFuY2hvclJlY3Q6IHJlY3RGcm9tUG9pbnQodGhpcy5fY29ubmVjdGlvbi5saW5lLnBvaW50MSksXG4gICAgICB0YXJnZXRBbmNob3JSZWN0OiByZWN0RnJvbVBvaW50KHRoaXMuX2Nvbm5lY3Rpb24ubGluZS5wb2ludDIpLFxuICAgICAgY2FuZGlkYXRlczogdGhpcy5fcmVhc3NpZ25IYW5kbGVyLmNhbmRpZGF0ZXMoKSxcbiAgICAgIGNvbm5lY3Rpb246IHRoaXMuX2Nvbm5lY3Rpb24sXG4gICAgfSk7XG4gIH1cblxuICBwdWJsaWMgb3ZlcnJpZGUgb25Qb2ludGVyTW92ZShkaWZmZXJlbmNlOiBJUG9pbnQpOiB2b2lkIHtcbiAgICB0aGlzLl9yZWFzc2lnbkhhbmRsZXIub25Qb2ludGVyTW92ZShkaWZmZXJlbmNlKTtcbiAgfVxuXG4gIHB1YmxpYyBvdmVycmlkZSBvblBvaW50ZXJVcCgpOiB2b2lkIHtcbiAgICB0aGlzLl9yZWFzc2lnbkhhbmRsZXIub25Qb2ludGVyVXAoKTtcbiAgfVxufVxuIl19
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import { CalculateClosestConnectorRequest, CalculateSourceConnectorsToConnectRequest, MarkConnectableConnectorsRequest, ResolveConnectionEndpointRotationContextRequest, UnmarkConnectableConnectorsRequest, } from '../../../../domain';
|
|
2
|
-
import { rectFromPoint, withinSnapThreshold } from './i-reassign-handler';
|
|
3
|
-
import { ConnectionBehaviourBuilderRequest, } from '../../../../f-connection-v2';
|
|
4
|
-
export class ReassignConnectionSourceHandler {
|
|
5
|
-
_mediator;
|
|
6
|
-
_behaviour;
|
|
7
|
-
_connection;
|
|
8
|
-
_sourceRef;
|
|
9
|
-
_targetRef;
|
|
10
|
-
_candidates = [];
|
|
11
|
-
_snap;
|
|
12
|
-
_anchorRect;
|
|
13
|
-
get _source() {
|
|
14
|
-
return this._sourceRef.connector;
|
|
15
|
-
}
|
|
16
|
-
get _target() {
|
|
17
|
-
return this._targetRef.connector;
|
|
18
|
-
}
|
|
19
|
-
constructor(_mediator, _behaviour, _connection, _sourceRef, _targetRef) {
|
|
20
|
-
this._mediator = _mediator;
|
|
21
|
-
this._behaviour = _behaviour;
|
|
22
|
-
this._connection = _connection;
|
|
23
|
-
this._sourceRef = _sourceRef;
|
|
24
|
-
this._targetRef = _targetRef;
|
|
25
|
-
this._anchorRect = rectFromPoint(this._connection.line.point1);
|
|
26
|
-
}
|
|
27
|
-
candidates() {
|
|
28
|
-
return this._candidates;
|
|
29
|
-
}
|
|
30
|
-
collectAndMarkCandidates() {
|
|
31
|
-
this._candidates = this._mediator.execute(new CalculateSourceConnectorsToConnectRequest(this._target, this._targetRef.rect.gravityCenter));
|
|
32
|
-
// Ensure current source is always available as a fallback.
|
|
33
|
-
if (!this._candidates.some((x) => x.connector.fId() === this._source.fId())) {
|
|
34
|
-
this._candidates.push(this._sourceRef);
|
|
35
|
-
}
|
|
36
|
-
this._mediator.execute(new MarkConnectableConnectorsRequest(this._candidates.map((x) => x.connector)));
|
|
37
|
-
}
|
|
38
|
-
setSnapConnection(snap) {
|
|
39
|
-
this._snap = snap;
|
|
40
|
-
if (!snap) {
|
|
41
|
-
return;
|
|
42
|
-
}
|
|
43
|
-
// Target is fixed, so snap-preview always ends at current target.
|
|
44
|
-
snap.fInputId.set(this._connection.fInputId());
|
|
45
|
-
snap.initialize();
|
|
46
|
-
}
|
|
47
|
-
onPointerMove(difference) {
|
|
48
|
-
const pointerRect = this._anchorRect.addPoint(difference);
|
|
49
|
-
const closest = this._findClosest(pointerRect.gravityCenter);
|
|
50
|
-
const sourceSide = closest?.connector.fConnectableSide ?? this._source.fConnectableSide;
|
|
51
|
-
this._draw(pointerRect, sourceSide);
|
|
52
|
-
const snap = this._snap;
|
|
53
|
-
if (!snap) {
|
|
54
|
-
return;
|
|
55
|
-
}
|
|
56
|
-
this._drawSnap(withinSnapThreshold(closest, snap));
|
|
57
|
-
}
|
|
58
|
-
_findClosest(point) {
|
|
59
|
-
return this._mediator.execute(new CalculateClosestConnectorRequest(point, this._candidates));
|
|
60
|
-
}
|
|
61
|
-
_draw(sourceRect, sourceSide) {
|
|
62
|
-
const line = this._behaviour.handle(new ConnectionBehaviourBuilderRequest(sourceRect, this._targetRef.rect, this._connection, sourceSide, this._targetRef.connector.fConnectableSide, undefined, this._resolveRotationContext(this._targetRef.connector)));
|
|
63
|
-
this._connection.setLine(line);
|
|
64
|
-
this._connection.redraw();
|
|
65
|
-
}
|
|
66
|
-
_drawSnap(closest) {
|
|
67
|
-
const snap = this._snap;
|
|
68
|
-
if (!snap) {
|
|
69
|
-
return;
|
|
70
|
-
}
|
|
71
|
-
if (!closest) {
|
|
72
|
-
snap.hide();
|
|
73
|
-
return;
|
|
74
|
-
}
|
|
75
|
-
const line = this._behaviour.handle(new ConnectionBehaviourBuilderRequest(closest.rect, this._targetRef.rect, snap, closest.connector.fConnectableSide, this._target.fConnectableSide, this._resolveRotationContext(closest.connector), this._resolveRotationContext(this._targetRef.connector)));
|
|
76
|
-
snap.show();
|
|
77
|
-
snap.setLine(line);
|
|
78
|
-
snap.redraw();
|
|
79
|
-
}
|
|
80
|
-
onPointerUp() {
|
|
81
|
-
this._draw(this._anchorRect, this._sourceRef.connector.fConnectableSide);
|
|
82
|
-
this._snap?.hide();
|
|
83
|
-
this._mediator.execute(new UnmarkConnectableConnectorsRequest(this._candidates.map((x) => x.connector)));
|
|
84
|
-
}
|
|
85
|
-
_resolveRotationContext(connector) {
|
|
86
|
-
return this._mediator.execute(new ResolveConnectionEndpointRotationContextRequest(connector));
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVhc3NpZ24tY29ubmVjdGlvbi1zb3VyY2UtaGFuZGxlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy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50Um90YXRpb25Db250ZXh0IHwgdW5kZWZpbmVkPihcbiAgICAgIG5ldyBSZXNvbHZlQ29ubmVjdGlvbkVuZHBvaW50Um90YXRpb25Db250ZXh0UmVxdWVzdChjb25uZWN0b3IpLFxuICAgICk7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import { CalculateClosestConnectorRequest, CalculateTargetConnectorsToConnectRequest, MarkConnectableConnectorsRequest, ResolveConnectionEndpointRotationContextRequest, UnmarkConnectableConnectorsRequest, } from '../../../../domain';
|
|
2
|
-
import { rectFromPoint, withinSnapThreshold } from './i-reassign-handler';
|
|
3
|
-
import { ConnectionBehaviourBuilderRequest, } from '../../../../f-connection-v2';
|
|
4
|
-
export class ReassignConnectionTargetHandler {
|
|
5
|
-
_mediator;
|
|
6
|
-
_behaviour;
|
|
7
|
-
_connection;
|
|
8
|
-
_sourceRef;
|
|
9
|
-
_targetRef;
|
|
10
|
-
_candidates = [];
|
|
11
|
-
_snap;
|
|
12
|
-
_anchorRect;
|
|
13
|
-
get _source() {
|
|
14
|
-
return this._sourceRef.connector;
|
|
15
|
-
}
|
|
16
|
-
get _target() {
|
|
17
|
-
return this._targetRef.connector;
|
|
18
|
-
}
|
|
19
|
-
constructor(_mediator, _behaviour, _connection, _sourceRef, _targetRef) {
|
|
20
|
-
this._mediator = _mediator;
|
|
21
|
-
this._behaviour = _behaviour;
|
|
22
|
-
this._connection = _connection;
|
|
23
|
-
this._sourceRef = _sourceRef;
|
|
24
|
-
this._targetRef = _targetRef;
|
|
25
|
-
this._anchorRect = rectFromPoint(this._connection.line.point2);
|
|
26
|
-
}
|
|
27
|
-
candidates() {
|
|
28
|
-
return this._candidates;
|
|
29
|
-
}
|
|
30
|
-
collectAndMarkCandidates() {
|
|
31
|
-
this._candidates = this._mediator.execute(new CalculateTargetConnectorsToConnectRequest(this._source, this._sourceRef.rect.gravityCenter));
|
|
32
|
-
// Ensure current target exists (usually it already does).
|
|
33
|
-
const currentTargetId = this._connection.fInputId();
|
|
34
|
-
if (currentTargetId && !this._candidates.some((x) => x.connector.fId() === currentTargetId)) {
|
|
35
|
-
this._candidates.push(this._targetRef);
|
|
36
|
-
}
|
|
37
|
-
this._mediator.execute(new MarkConnectableConnectorsRequest(this._candidates.map((x) => x.connector)));
|
|
38
|
-
}
|
|
39
|
-
setSnapConnection(snap) {
|
|
40
|
-
this._snap = snap;
|
|
41
|
-
if (!snap) {
|
|
42
|
-
return;
|
|
43
|
-
}
|
|
44
|
-
// Source is fixed, so snap-preview always starts at current source.
|
|
45
|
-
snap.fOutputId.set(this._connection.fOutputId());
|
|
46
|
-
snap.initialize();
|
|
47
|
-
}
|
|
48
|
-
onPointerMove(difference) {
|
|
49
|
-
const pointerRect = this._anchorRect.addPoint(difference);
|
|
50
|
-
const closest = this._findClosest(pointerRect.gravityCenter);
|
|
51
|
-
const targetSide = closest?.connector.fConnectableSide ?? this._target.fConnectableSide;
|
|
52
|
-
this._draw(pointerRect, targetSide);
|
|
53
|
-
const snap = this._snap;
|
|
54
|
-
if (!snap) {
|
|
55
|
-
return;
|
|
56
|
-
}
|
|
57
|
-
this._drawSnap(withinSnapThreshold(closest, snap));
|
|
58
|
-
}
|
|
59
|
-
onPointerUp() {
|
|
60
|
-
this._draw(this._anchorRect, this._targetRef.connector.fConnectableSide);
|
|
61
|
-
this._snap?.hide();
|
|
62
|
-
this._mediator.execute(new UnmarkConnectableConnectorsRequest(this._candidates.map((x) => x.connector)));
|
|
63
|
-
}
|
|
64
|
-
_findClosest(point) {
|
|
65
|
-
return this._mediator.execute(new CalculateClosestConnectorRequest(point, this._candidates));
|
|
66
|
-
}
|
|
67
|
-
_draw(targetRect, targetSide) {
|
|
68
|
-
const line = this._behaviour.handle(new ConnectionBehaviourBuilderRequest(this._sourceRef.rect, targetRect, this._connection, this._source.fConnectableSide, targetSide, this._resolveRotationContext(this._sourceRef.connector), undefined));
|
|
69
|
-
this._connection.setLine(line);
|
|
70
|
-
this._connection.redraw();
|
|
71
|
-
}
|
|
72
|
-
_drawSnap(closest) {
|
|
73
|
-
const snap = this._snap;
|
|
74
|
-
if (!snap) {
|
|
75
|
-
return;
|
|
76
|
-
}
|
|
77
|
-
if (!closest) {
|
|
78
|
-
snap.hide();
|
|
79
|
-
return;
|
|
80
|
-
}
|
|
81
|
-
const line = this._behaviour.handle(new ConnectionBehaviourBuilderRequest(this._sourceRef.rect, closest.rect, snap, this._source.fConnectableSide, closest.connector.fConnectableSide, this._resolveRotationContext(this._sourceRef.connector), this._resolveRotationContext(closest.connector)));
|
|
82
|
-
snap.show();
|
|
83
|
-
snap.setLine(line);
|
|
84
|
-
snap.redraw();
|
|
85
|
-
}
|
|
86
|
-
_resolveRotationContext(connector) {
|
|
87
|
-
return this._mediator.execute(new ResolveConnectionEndpointRotationContextRequest(connector));
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVhc3NpZ24tY29ubmVjdGlvbi10YXJnZXQtaGFuZGxlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi1kcmFnZ2FibGUvY29ubmVjdGlvbi9yZWFzc2lnbi1jb25uZWN0aW9uL3JlYXNzaWduLWNvbm5lY3Rpb24taGFuZGxlci9yZWFzc2lnbi1jb25uZWN0aW9uLXRhcmdldC1oYW5kbGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFDTCxnQ0FBZ0MsRUFDaEMseUNBQXlDLEVBR3pDLGdDQUFnQyxFQUNoQywrQ0FBK0MsRUFDL0Msa0NBQWtDLEdBQ25DLE1BQU0sb0JBQW9CLENBQUM7QUFRNUIsT0FBTyxFQUFvQixhQUFhLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQztBQ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mVjdGlvbkJlaGF2aW91ckJ1aWxkZXJSZXF1ZXN0KFxuICAgICAgICB0aGlzLl9zb3VyY2VSZWYucmVjdCxcbiAgICAgICAgY2xvc2VzdC5yZWN0LFxuICAgICAgICBzbmFwLFxuICAgICAgICB0aGlzLl9zb3VyY2UuZkNvbm5lY3RhYmxlU2lkZSxcbiAgICAgICAgY2xvc2VzdC5jb25uZWN0b3IuZkNvbm5lY3RhYmxlU2lkZSxcbiAgICAgICAgdGhpcy5fcmVzb2x2ZVJvdGF0aW9uQ29udGV4dCh0aGlzLl9zb3VyY2VSZWYuY29ubmVjdG9yKSxcbiAgICAgICAgdGhpcy5fcmVzb2x2ZVJvdGF0aW9uQ29udGV4dChjbG9zZXN0LmNvbm5lY3RvciksXG4gICAgICApLFxuICAgICk7XG5cbiAgICBzbmFwLnNob3coKTtcbiAgICBzbmFwLnNldExpbmUobGluZSk7XG4gICAgc25hcC5yZWRyYXcoKTtcbiAgfVxuXG4gIHByaXZhdGUgX3Jlc29sdmVSb3RhdGlvbkNvbnRleHQoXG4gICAgY29ubmVjdG9yPzogRkNvbm5lY3RvckJhc2UsXG4gICk6IElDb25uZWN0aW9uRW5kcG9pbnRSb3RhdGlvbkNvbnRleHQgfCB1bmRlZmluZWQge1xuICAgIHJldHVybiB0aGlzLl9tZWRpYXRvci5leGVjdXRlPElDb25uZWN0aW9uRW5kcG9pbnRSb3RhdGlvbkNvbnRleHQgfCB1bmRlZmluZWQ+KFxuICAgICAgbmV3IFJlc29sdmVDb25uZWN0aW9uRW5kcG9pbnRSb3RhdGlvbkNvbnRleHRSZXF1ZXN0KGNvbm5lY3RvciksXG4gICAgKTtcbiAgfVxufVxuIl19
|
package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-preparation/index.mjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export * from './reassign-connection-preparation';
|
|
2
|
-
export * from './reassign-connection-preparation-request';
|
|
3
|
-
export * from './is-pointer-inside-start-or-end-drag-handles';
|
|
4
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtZHJhZ2dhYmxlL2Nvbm5lY3Rpb24vcmVhc3NpZ24tY29ubmVjdGlvbi9yZWFzc2lnbi1jb25uZWN0aW9uLXByZXBhcmF0aW9uL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsbUNBQW1DLENBQUM7QUFFbEQsY0FBYywyQ0FBMkMsQ0FBQztBQUUxRCxjQUFjLCtDQUErQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9yZWFzc2lnbi1jb25uZWN0aW9uLXByZXBhcmF0aW9uJztcblxuZXhwb3J0ICogZnJvbSAnLi9yZWFzc2lnbi1jb25uZWN0aW9uLXByZXBhcmF0aW9uLXJlcXVlc3QnO1xuXG5leHBvcnQgKiBmcm9tICcuL2lzLXBvaW50ZXItaW5zaWRlLXN0YXJ0LW9yLWVuZC1kcmFnLWhhbmRsZXMnO1xuIl19
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export function isPointerInsideStartOrEndDragHandles(connection, position) {
|
|
2
|
-
return isDragHandleEnd(connection, position) || isDragHandleStart(connection, position);
|
|
3
|
-
}
|
|
4
|
-
export function isDragHandleEnd(connection, position) {
|
|
5
|
-
return (connection.fDragHandleEnd()?.point &&
|
|
6
|
-
_isPointInsideCircle(position, connection.fDragHandleEnd().point) &&
|
|
7
|
-
!connection.fDraggingDisabled());
|
|
8
|
-
}
|
|
9
|
-
export function isDragHandleStart(connection, position) {
|
|
10
|
-
return (!!connection.fDragHandleStart()?.point &&
|
|
11
|
-
_isPointInsideCircle(position, connection.fDragHandleStart().point) &&
|
|
12
|
-
!connection.fDraggingDisabled() &&
|
|
13
|
-
connection.fReassignableStart());
|
|
14
|
-
}
|
|
15
|
-
function _isPointInsideCircle(point, circleCenter) {
|
|
16
|
-
return (point.x - circleCenter.x) ** 2 + (point.y - circleCenter.y) ** 2 <= 8 ** 2;
|
|
17
|
-
}
|
|
18
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXMtcG9pbnRlci1pbnNpZGUtc3RhcnQtb3ItZW5kLWRyYWctaGFuZGxlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi1kcmFnZ2FibGUvY29ubmVjdGlvbi9yZWFzc2lnbi1jb25uZWN0aW9uL3JlYXNzaWduLWNvbm5lY3Rpb24tcHJlcGFyYXRpb24vaXMtcG9pbnRlci1pbnNpZGUtc3RhcnQtb3ItZW5kLWRyYWctaGFuZGxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFHQSxNQUFNLFVBQVUsb0NBQW9DLENBQ2xELFVBQTJCLEVBQzNCLFFBQWdCO0lBRWhCLE9BQU8sZUFBZSxDQUFDLFVBQVUsRUFBRSxRQUFRLENBQUMsSUFBSSxpQkFBaUIsQ0FBQyxVQUFVLEVBQUUsUUFBUSxDQUFDLENBQUM7QUFDMUYsQ0FBQztBQUVELE1BQU0sVUFBVSxlQUFlLENBQUMsVUFBMkIsRUFBRSxRQUFnQjtJQUMzRSxPQUFPLENBQ0wsVUFBVSxDQUFDLGNBQWMsRUFBRSxFQUFFLEtBQUs7UUFDbEMsb0JBQW9CLENBQUMsUUFBUSxFQUFFLFVBQVUsQ0FBQyxjQUFjLEVBQUUsQ0FBQyxLQUFLLENBQUM7UUFDakUsQ0FBQyxVQUFVLENBQUMsaUJBQWlCLEVBQUUsQ0FDaEMsQ0FBQztBQUNKLENBQUM7QUFFRCxNQUFNLFVBQVUsaUJBQWlCLENBQU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
4
|
-
static fToken = Symbol('ReassignConnectionPreparationRequest');
|
|
5
|
-
constructor(event, fTrigger) {
|
|
6
|
-
this.event = event;
|
|
7
|
-
this.fTrigger = fTrigger;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVhc3NpZ24tY29ubmVjdGlvbi1wcmVwYXJhdGlvbi1yZXF1ZXN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWRyYWdnYWJsZS9jb25uZWN0aW9uL3JlYXNzaWduLWNvbm5lY3Rpb24vcmVhc3NpZ24tY29ubmVjdGlvbi1wcmVwYXJhdGlvbi9yZWFzc2lnbi1jb25uZWN0aW9uLXByZXBhcmF0aW9uLXJlcXVlc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBR0EsTUFBTSxPQUFPLG9DQUFvQztJQUc3QjtJQUNBO0lBSGxCLE1BQU0sQ0FBVSxNQUFNLEdBQUcsTUFBTSxDQUFDLHNDQUFzQyxDQUFDLENBQUM7SUFDeEUsWUFDa0IsS0FBb0IsRUFDcEIsUUFBdUI7UUFEdkIsVUFBSyxHQUFMLEtBQUssQ0FBZTtRQUNwQixhQUFRLEdBQVIsUUFBUSxDQUFlO0lBQ3RDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBGRXZlbnRUcmlnZ2VyIH0gZnJvbSAnLi4vLi4vLi4vLi4vZG9tYWluJztcbmltcG9ydCB7IElQb2ludGVyRXZlbnQgfSBmcm9tICcuLi8uLi8uLi8uLi9kcmFnLXRvb2xraXQnO1xuXG5leHBvcnQgY2xhc3MgUmVhc3NpZ25Db25uZWN0aW9uUHJlcGFyYXRpb25SZXF1ZXN0IHtcbiAgc3RhdGljIHJlYWRvbmx5IGZUb2tlbiA9IFN5bWJvbCgnUmVhc3NpZ25Db25uZWN0aW9uUHJlcGFyYXRpb25SZXF1ZXN0Jyk7XG4gIGNvbnN0cnVjdG9yKFxuICAgIHB1YmxpYyByZWFkb25seSBldmVudDogSVBvaW50ZXJFdmVudCxcbiAgICBwdWJsaWMgcmVhZG9ubHkgZlRyaWdnZXI6IEZFdmVudFRyaWdnZXIsXG4gICkge31cbn1cbiJdfQ==
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { inject, Injectable } from '@angular/core';
|
|
3
|
-
import { ReassignConnectionPreparationRequest } from './reassign-connection-preparation-request';
|
|
4
|
-
import { Point } from '@foblex/2d';
|
|
5
|
-
import { FComponentsStore } from '../../../../f-storage';
|
|
6
|
-
import { FDraggableDataContext } from '../../../f-draggable-data-context';
|
|
7
|
-
import { isValidEventTrigger, UpdateItemAndChildrenLayersRequest } from '../../../../domain';
|
|
8
|
-
import { FExecutionRegister, FMediator } from '@foblex/mediator';
|
|
9
|
-
import { isDragHandleEnd, isPointerInsideStartOrEndDragHandles, } from './is-pointer-inside-start-or-end-drag-handles';
|
|
10
|
-
import { calculatePointerInFlow } from '../../../../utils';
|
|
11
|
-
import { DragHandlerInjector } from '../../../infrastructure';
|
|
12
|
-
import { ReassignConnectionHandler } from '../reassign-connection-handler';
|
|
13
|
-
import * as i0 from "@angular/core";
|
|
14
|
-
let ReassignConnectionPreparation = class ReassignConnectionPreparation {
|
|
15
|
-
_mediator = inject(FMediator);
|
|
16
|
-
_store = inject(FComponentsStore);
|
|
17
|
-
_dragContext = inject(FDraggableDataContext);
|
|
18
|
-
_dragInjector = inject(DragHandlerInjector);
|
|
19
|
-
get _canvas() {
|
|
20
|
-
return this._store.fCanvas;
|
|
21
|
-
}
|
|
22
|
-
get _transform() {
|
|
23
|
-
return this._store.transform;
|
|
24
|
-
}
|
|
25
|
-
get _connections() {
|
|
26
|
-
return this._store.connections.getAll();
|
|
27
|
-
}
|
|
28
|
-
handle(request) {
|
|
29
|
-
if (!this._dragContext.isEmpty() || !this._isValidTrigger(request)) {
|
|
30
|
-
return;
|
|
31
|
-
}
|
|
32
|
-
const pointerInFlow = calculatePointerInFlow(request.event.getPosition(), this._store.flowHost, this._transform);
|
|
33
|
-
const connection = this._findConnectionAt(pointerInFlow);
|
|
34
|
-
if (!connection) {
|
|
35
|
-
return;
|
|
36
|
-
}
|
|
37
|
-
this._capturePointerDown(request);
|
|
38
|
-
this._startDrag(connection, pointerInFlow);
|
|
39
|
-
queueMicrotask(() => this._bringToFront(connection));
|
|
40
|
-
}
|
|
41
|
-
_findConnectionAt(pointerInFlow) {
|
|
42
|
-
return this._connections.find((c) => isPointerInsideStartOrEndDragHandles(c, pointerInFlow));
|
|
43
|
-
}
|
|
44
|
-
_capturePointerDown(request) {
|
|
45
|
-
this._dragContext.onPointerDownScale = this._transform.scale;
|
|
46
|
-
this._dragContext.onPointerDownPosition = Point.fromPoint(request.event.getPosition())
|
|
47
|
-
.elementTransform(this._store.flowHost)
|
|
48
|
-
.div(this._transform.scale);
|
|
49
|
-
}
|
|
50
|
-
_startDrag(connection, pointerInFlow) {
|
|
51
|
-
const handle = this._dragInjector.get(ReassignConnectionHandler);
|
|
52
|
-
handle.initialize(connection, isDragHandleEnd(connection, pointerInFlow));
|
|
53
|
-
this._dragContext.draggableItems = [handle];
|
|
54
|
-
}
|
|
55
|
-
_isValidTrigger(request) {
|
|
56
|
-
return isValidEventTrigger(request.event.originalEvent, request.fTrigger);
|
|
57
|
-
}
|
|
58
|
-
_bringToFront(connection) {
|
|
59
|
-
this._mediator.execute(new UpdateItemAndChildrenLayersRequest(connection, this._canvas.fConnectionsContainer().nativeElement));
|
|
60
|
-
}
|
|
61
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ReassignConnectionPreparation, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
62
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ReassignConnectionPreparation });
|
|
63
|
-
};
|
|
64
|
-
ReassignConnectionPreparation = __decorate([
|
|
65
|
-
FExecutionRegister(ReassignConnectionPreparationRequest)
|
|
66
|
-
], ReassignConnectionPreparation);
|
|
67
|
-
export { ReassignConnectionPreparation };
|
|
68
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ReassignConnectionPreparation, decorators: [{
|
|
69
|
-
type: Injectable
|
|
70
|
-
}] });
|
|
71
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVhc3NpZ24tY29ubmVjdGlvbi1wcmVwYXJhdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi1kcmFnZ2FibGUvY29ubmVjdGlvbi9yZWFzc2lnbi1jb25uZWN0aW9uL3JlYXNzaWduLWNvbm5lY3Rpb24tcHJlcGFyYXRpb24vcmVhc3NpZ24tY29ubmVjdGlvbi1wcmVwYXJhdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLE1BQU0sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDbkQsT0FBTyxFQUFFLG9DQUFvQyxFQUFFLE1BQU0sMkNBQTJDLENBQUM7QUFDakcsT0FBTyxFQUEyQixLQUFLLEVBQUUsTUFBTSxZQUFZLENBQUM7QUFDNUQsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sdUJBQXVCLENBQUM7QUFDekQsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0sbUNBQW1DLENBQUM7QUFDMUUsT0FBTyxFQUFFLG1CQUFtQixFQUFFLGtDQUFrQyxFQUFFLE1BQU0sb0JBQW9CLENBQUM7QUF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G5cbiAgcHJpdmF0ZSBfYnJpbmdUb0Zyb250KGNvbm5lY3Rpb246IEZDb25uZWN0aW9uQmFzZSk6IHZvaWQge1xuICAgIHRoaXMuX21lZGlhdG9yLmV4ZWN1dGU8dm9pZD4oXG4gICAgICBuZXcgVXBkYXRlSXRlbUFuZENoaWxkcmVuTGF5ZXJzUmVxdWVzdChcbiAgICAgICAgY29ubmVjdGlvbixcbiAgICAgICAgdGhpcy5fY2FudmFzLmZDb25uZWN0aW9uc0NvbnRhaW5lcigpLm5hdGl2ZUVsZW1lbnQsXG4gICAgICApLFxuICAgICk7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export class DetectConnectionsUnderDragNodeRequest {
|
|
2
|
-
nodeOrGroup;
|
|
3
|
-
static fToken = Symbol('DetectConnectionsUnderDragNodeRequest');
|
|
4
|
-
constructor(nodeOrGroup) {
|
|
5
|
-
this.nodeOrGroup = nodeOrGroup;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGV0ZWN0LWNvbm5lY3Rpb25zLXVuZGVyLWRyYWctbm9kZS1yZXF1ZXN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWRyYWdnYWJsZS9kb21haW4vZGV0ZWN0LWNvbm5lY3Rpb25zLXVuZGVyLWRyYWctbm9kZS9kZXRlY3QtY29ubmVjdGlvbnMtdW5kZXItZHJhZy1ub2RlLXJlcXVlc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsTUFBTSxPQUFPLHFDQUFxQztJQUVwQjtJQUQ1QixNQUFNLENBQVUsTUFBTSxHQUFHLE1BQU0sQ0FBQyx1Q0FBdUMsQ0FBQyxDQUFDO0lBQ3pFLFlBQTRCLFdBQXNCO1FBQXRCLGdCQUFXLEdBQVgsV0FBVyxDQUFXO0lBQUcsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEZOb2RlQmFzZSB9IGZyb20gJy4uLy4uLy4uL2Ytbm9kZSc7XG5cbmV4cG9ydCBjbGFzcyBEZXRlY3RDb25uZWN0aW9uc1VuZGVyRHJhZ05vZGVSZXF1ZXN0IHtcbiAgc3RhdGljIHJlYWRvbmx5IGZUb2tlbiA9IFN5bWJvbCgnRGV0ZWN0Q29ubmVjdGlvbnNVbmRlckRyYWdOb2RlUmVxdWVzdCcpO1xuICBjb25zdHJ1Y3RvcihwdWJsaWMgcmVhZG9ubHkgbm9kZU9yR3JvdXA6IEZOb2RlQmFzZSkge31cbn1cbiJdfQ==
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { GetIntersections } from '@foblex/2d';
|
|
3
|
-
import { inject, Injectable } from '@angular/core';
|
|
4
|
-
import { FExecutionRegister, FMediator } from '@foblex/mediator';
|
|
5
|
-
import { DetectConnectionsUnderDragNodeRequest } from './detect-connections-under-drag-node-request';
|
|
6
|
-
import { FComponentsStore } from '../../../f-storage';
|
|
7
|
-
import { FNodeConnectionsIntersectionEvent } from '../../index';
|
|
8
|
-
import { GetNormalizedConnectorRectRequest } from '../../../domain';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
let DetectConnectionsUnderDragNode = class DetectConnectionsUnderDragNode {
|
|
11
|
-
_mediator = inject(FMediator);
|
|
12
|
-
_store = inject(FComponentsStore);
|
|
13
|
-
handle({ nodeOrGroup }) {
|
|
14
|
-
const sourceConnectorIds = this._collectConnectableConnectorIds(nodeOrGroup, 'source');
|
|
15
|
-
const targetConnectorIds = this._collectConnectableConnectorIds(nodeOrGroup, 'target');
|
|
16
|
-
if (!sourceConnectorIds.size || !targetConnectorIds.size) {
|
|
17
|
-
return;
|
|
18
|
-
}
|
|
19
|
-
const attachedConnectionIds = this._collectAttachedConnectionIds(sourceConnectorIds, targetConnectorIds);
|
|
20
|
-
const underNode = this._collectConnectionsUnderNode(nodeOrGroup);
|
|
21
|
-
const intersectedIds = [];
|
|
22
|
-
for (const c of underNode) {
|
|
23
|
-
const id = c.fId();
|
|
24
|
-
if (!attachedConnectionIds.has(id)) {
|
|
25
|
-
intersectedIds.push(id);
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
if (!intersectedIds.length) {
|
|
29
|
-
return;
|
|
30
|
-
}
|
|
31
|
-
this._store.fDraggable?.fNodeIntersectedWithConnections.emit(new FNodeConnectionsIntersectionEvent(nodeOrGroup.fId(), intersectedIds));
|
|
32
|
-
this._store.fDraggable?.fNodeConnectionsIntersection.emit(new FNodeConnectionsIntersectionEvent(nodeOrGroup.fId(), intersectedIds));
|
|
33
|
-
}
|
|
34
|
-
_collectConnectableConnectorIds(node, kind) {
|
|
35
|
-
const list = kind === 'source' ? this._store.outputs.getAll() : this._store.inputs.getAll();
|
|
36
|
-
const ids = new Set();
|
|
37
|
-
for (const c of list) {
|
|
38
|
-
if (c.canBeConnected && node.isContains(c.hostElement)) {
|
|
39
|
-
ids.add(c.fId());
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
return ids;
|
|
43
|
-
}
|
|
44
|
-
_collectAttachedConnectionIds(outputConnectorIds, inputConnectorIds) {
|
|
45
|
-
const ids = new Set();
|
|
46
|
-
for (const connection of this._store.connections.getAll()) {
|
|
47
|
-
if (outputConnectorIds.has(connection.fOutputId()) ||
|
|
48
|
-
inputConnectorIds.has(connection.fInputId())) {
|
|
49
|
-
ids.add(connection.fId());
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
return ids;
|
|
53
|
-
}
|
|
54
|
-
_collectConnectionsUnderNode(node) {
|
|
55
|
-
const nodeRect = this._mediator.execute(new GetNormalizedConnectorRectRequest(node.hostElement, false));
|
|
56
|
-
const result = [];
|
|
57
|
-
for (const c of this._store.connections.getAll()) {
|
|
58
|
-
if (this._hasIntersection(c, nodeRect)) {
|
|
59
|
-
result.push(c);
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
return result;
|
|
63
|
-
}
|
|
64
|
-
_hasIntersection(connection, nodeRect) {
|
|
65
|
-
return (GetIntersections.getRoundedRectIntersectionsWithSVGPath(connection.fPath().hostElement, nodeRect).length > 0);
|
|
66
|
-
}
|
|
67
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DetectConnectionsUnderDragNode, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
68
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DetectConnectionsUnderDragNode });
|
|
69
|
-
};
|
|
70
|
-
DetectConnectionsUnderDragNode = __decorate([
|
|
71
|
-
FExecutionRegister(DetectConnectionsUnderDragNodeRequest)
|
|
72
|
-
], DetectConnectionsUnderDragNode);
|
|
73
|
-
export { DetectConnectionsUnderDragNode };
|
|
74
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DetectConnectionsUnderDragNode, decorators: [{
|
|
75
|
-
type: Injectable
|
|
76
|
-
}] });
|
|
77
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGV0ZWN0LWNvbm5lY3Rpb25zLXVuZGVyLWRyYWctbm9kZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi1kcmFnZ2FibGUvZG9tYWluL2RldGVjdC1jb25uZWN0aW9ucy11bmRlci1kcmFnLW5vZGUvZGV0ZWN0LWNvbm5lY3Rpb25zLXVuZGVyLWRyYWctbm9kZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLGdCQUFnQixF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biAgICAgICAgY29ubmVjdGlvbi5mUGF0aCgpLmhvc3RFbGVtZW50LFxuICAgICAgICBub2RlUmVjdCxcbiAgICAgICkubGVuZ3RoID4gMFxuICAgICk7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @deprecated Use `FNodeConnectionsIntersectionEvent`.
|
|
3
|
-
* Will be removed in a future major release.
|
|
4
|
-
*/
|
|
5
|
-
export class FNodeIntersectedWithConnections {
|
|
6
|
-
fNodeId;
|
|
7
|
-
fConnectionIds;
|
|
8
|
-
constructor(
|
|
9
|
-
/** @deprecated Use `nodeId` */
|
|
10
|
-
fNodeId,
|
|
11
|
-
/** @deprecated Use `connectionIds` */
|
|
12
|
-
fConnectionIds) {
|
|
13
|
-
this.fNodeId = fNodeId;
|
|
14
|
-
this.fConnectionIds = fConnectionIds;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* @public API
|
|
19
|
-
* Emitted when a dragged node intersects connections
|
|
20
|
-
* that are not attached to this node.
|
|
21
|
-
*/
|
|
22
|
-
export class FNodeConnectionsIntersectionEvent extends FNodeIntersectedWithConnections {
|
|
23
|
-
nodeId;
|
|
24
|
-
connectionIds;
|
|
25
|
-
constructor(nodeId, connectionIds) {
|
|
26
|
-
// keep backward compat fields on the same instance
|
|
27
|
-
super(nodeId, connectionIds);
|
|
28
|
-
this.nodeId = nodeId;
|
|
29
|
-
this.connectionIds = connectionIds;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1ub2RlLWludGVyc2VjdGVkLXdpdGgtY29ubmVjdGlvbnMtZXZlbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtZHJhZ2dhYmxlL2RvbWFpb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Rpb25JZHNgICovXG4gICAgcHVibGljIHJlYWRvbmx5IGZDb25uZWN0aW9uSWRzOiBzdHJpbmdbXSxcbiAgKSB7fVxufVxuXG4vKipcbiAqIEBwdWJsaWMgQVBJXG4gKiBFbWl0dGVkIHdoZW4gYSBkcmFnZ2VkIG5vZGUgaW50ZXJzZWN0cyBjb25uZWN0aW9uc1xuICogdGhhdCBhcmUgbm90IGF0dGFjaGVkIHRvIHRoaXMgbm9kZS5cbiAqL1xuZXhwb3J0IGNsYXNzIEZOb2RlQ29ubmVjdGlvbnNJbnRlcnNlY3Rpb25FdmVudCBleHRlbmRzIEZOb2RlSW50ZXJzZWN0ZWRXaXRoQ29ubmVjdGlvbnMge1xuICBwdWJsaWMgY29uc3RydWN0b3IoXG4gICAgcHVibGljIHJlYWRvbmx5IG5vZGVJZDogc3RyaW5nLFxuICAgIHB1YmxpYyByZWFkb25seSBjb25uZWN0aW9uSWRzOiBzdHJpbmdbXSxcbiAgKSB7XG4gICAgLy8ga2VlcCBiYWNrd2FyZCBjb21wYXQgZmllbGRzIG9uIHRoZSBzYW1lIGluc3RhbmNlXG4gICAgc3VwZXIobm9kZUlkLCBjb25uZWN0aW9uSWRzKTtcbiAgfVxufVxuIl19
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export * from './f-node-intersected-with-connections-event';
|
|
2
|
-
export * from './detect-connections-under-drag-node';
|
|
3
|
-
export * from './detect-connections-under-drag-node-request';
|
|
4
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtZHJhZ2dhYmxlL2RvbWFpbi9kZXRlY3QtY29ubmVjdGlvbnMtdW5kZXItZHJhZy1ub2RlL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsNkNBQTZDLENBQUM7QUFFNUQsY0FBYyxzQ0FBc0MsQ0FBQztBQUVyRCxjQUFjLDhDQUE4QyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9mLW5vZGUtaW50ZXJzZWN0ZWQtd2l0aC1jb25uZWN0aW9ucy1ldmVudCc7XG5cbmV4cG9ydCAqIGZyb20gJy4vZGV0ZWN0LWNvbm5lY3Rpb25zLXVuZGVyLWRyYWctbm9kZSc7XG5cbmV4cG9ydCAqIGZyb20gJy4vZGV0ZWN0LWNvbm5lY3Rpb25zLXVuZGVyLWRyYWctbm9kZS1yZXF1ZXN0JztcbiJdfQ==
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export class EmitEndDragSequenceEventRequest {
|
|
2
|
-
static fToken = Symbol('EmitEndDragSequenceEventRequest');
|
|
3
|
-
}
|
|
4
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW1pdC1lbmQtZHJhZy1zZXF1ZW5jZS1ldmVudC1yZXF1ZXN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWRyYWdnYWJsZS9kb21haW4vZW1pdC1lbmQtZHJhZy1zZXF1ZW5jZS1ldmVudC9lbWl0LWVuZC1kcmFnLXNlcXVlbmNlLWV2ZW50LXJlcXVlc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxPQUFPLCtCQUErQjtJQUMxQyxNQUFNLENBQVUsTUFBTSxHQUFHLE1BQU0sQ0FBQyxpQ0FBaUMsQ0FBQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGNsYXNzIEVtaXRFbmREcmFnU2VxdWVuY2VFdmVudFJlcXVlc3Qge1xuICBzdGF0aWMgcmVhZG9ubHkgZlRva2VuID0gU3ltYm9sKCdFbWl0RW5kRHJhZ1NlcXVlbmNlRXZlbnRSZXF1ZXN0Jyk7XG59XG4iXX0=
|