@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,43 +0,0 @@
|
|
|
1
|
-
import { FComponentsStore, INSTANCES } from '../../../../f-storage';
|
|
2
|
-
import { calculateMagneticRects } from '../domain';
|
|
3
|
-
export class MagneticRectsHandler {
|
|
4
|
-
_renderer;
|
|
5
|
-
_rects;
|
|
6
|
-
_timerId = null;
|
|
7
|
-
_canvasTransform;
|
|
8
|
-
_alignThreshold = 10;
|
|
9
|
-
_spacingThreshold = 10;
|
|
10
|
-
constructor(injector, _renderer, _rects) {
|
|
11
|
-
this._renderer = _renderer;
|
|
12
|
-
this._rects = _rects;
|
|
13
|
-
const store = injector.get(FComponentsStore);
|
|
14
|
-
const magneticRects = store.instances.require(INSTANCES.MAGNETIC_RECTS);
|
|
15
|
-
this._alignThreshold = magneticRects.alignThreshold();
|
|
16
|
-
this._spacingThreshold = magneticRects.spacingThreshold();
|
|
17
|
-
this._canvasTransform = store.transform;
|
|
18
|
-
}
|
|
19
|
-
scheduleRender(_draggedRect) {
|
|
20
|
-
if (this._timerId) {
|
|
21
|
-
clearTimeout(this._timerId);
|
|
22
|
-
}
|
|
23
|
-
this._timerId = setTimeout(() => this._renderRects(this._computeRects(_draggedRect)), 15);
|
|
24
|
-
}
|
|
25
|
-
_renderRects(result) {
|
|
26
|
-
if (result.axis !== undefined && result.delta !== undefined && result.rects.length > 0) {
|
|
27
|
-
this._renderer.draw(result.rects, this._canvasTransform);
|
|
28
|
-
return;
|
|
29
|
-
}
|
|
30
|
-
this._renderer.hideAll();
|
|
31
|
-
}
|
|
32
|
-
_computeRects(_draggedRect) {
|
|
33
|
-
return calculateMagneticRects(this._rects, _draggedRect, this._alignThreshold, this._spacingThreshold);
|
|
34
|
-
}
|
|
35
|
-
clearGuides() {
|
|
36
|
-
this._renderer.hideAll();
|
|
37
|
-
if (this._timerId) {
|
|
38
|
-
clearTimeout(this._timerId);
|
|
39
|
-
this._timerId = null;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFnbmV0aWMtcmVjdHMtaGFuZGxlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi1kcmFnZ2FibGUvZHJhZy1ub2RlL21hZ25ldGljLXJlY3RzL21hZ25ldGljLXJlY3RzLWhhbmRsZXIvbWFnbmV0aWMtcmVjdHMtaGFuZGxlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsU0FBUyxFQUFFLE1BQU0sdUJBQXVCLENBQUM7QUFDcEUsT0FBTyxFQUFFLHNCQUFzQixFQUErQyxNQUFNLFdBQVcsQ0FBQztBQUVoRyxNQUFNLE9BQU8sb0JBQW9CO0lBU1o7SUFDQTtJQVRYLFFBQVEsR0FBeUMsSUFBSSxDQUFDO0lBRTdDLGdCQUFnQixDQUFrQjtJQUNsQyxlQUFlLEdBQVcsRUFBRSxDQUFDO0lBQzdCLGlCQUFpQixHQUFXLEVBQUUsQ0FBQztJQUVoRCxZQUNFLFFBQWtCLEVBQ0QsU0FBZ0MsRUFDaEMsTUFBZTtRQURmLGNBQVMsR0FBVCxTQUFTLENBQXVCO1FBQ2hDLFdBQU0sR0FBTixNQUFNLENBQVM7UUFFa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fcmVuZGVyUmVjdHMocmVzdWx0OiBJTWFnbmV0aWNSZWN0c1Jlc3VsdCk6IHZvaWQge1xuICAgIGlmIChyZXN1bHQuYXhpcyAhPT0gdW5kZWZpbmVkICYmIHJlc3VsdC5kZWx0YSAhPT0gdW5kZWZpbmVkICYmIHJlc3VsdC5yZWN0cy5sZW5ndGggPiAwKSB7XG4gICAgICB0aGlzLl9yZW5kZXJlci5kcmF3KHJlc3VsdC5yZWN0cywgdGhpcy5fY2FudmFzVHJhbnNmb3JtKTtcblxuICAgICAgcmV0dXJuO1xuICAgIH1cblxuICAgIHRoaXMuX3JlbmRlcmVyLmhpZGVBbGwoKTtcbiAgfVxuXG4gIHB1YmxpYyBfY29tcHV0ZVJlY3RzKF9kcmFnZ2VkUmVjdDogSVJlY3QpOiBJTWFnbmV0aWNSZWN0c1Jlc3VsdCB7XG4gICAgcmV0dXJuIGNhbGN1bGF0ZU1hZ25ldGljUmVjdHMoXG4gICAgICB0aGlzLl9yZWN0cyxcbiAgICAgIF9kcmFnZ2VkUmVjdCxcbiAgICAgIHRoaXMuX2FsaWduVGhyZXNob2xkLFxuICAgICAgdGhpcy5fc3BhY2luZ1RocmVzaG9sZCxcbiAgICApO1xuICB9XG5cbiAgcHVibGljIGNsZWFyR3VpZGVzKCk6IHZvaWQge1xuICAgIHRoaXMuX3JlbmRlcmVyLmhpZGVBbGwoKTtcblxuICAgIGlmICh0aGlzLl90aW1lcklkKSB7XG4gICAgICBjbGVhclRpbWVvdXQodGhpcy5fdGltZXJJZCk7XG4gICAgICB0aGlzLl90aW1lcklkID0gbnVsbDtcbiAgICB9XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export * from './magnetic-rects-preparation';
|
|
2
|
-
export * from './magnetic-rects-preparation-request';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtZHJhZ2dhYmxlL2RyYWctbm9kZS9tYWduZXRpYy1yZWN0cy9tYWduZXRpYy1yZWN0cy1wcmVwYXJhdGlvbi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDhCQUE4QixDQUFDO0FBQzdDLGNBQWMsc0NBQXNDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL21hZ25ldGljLXJlY3RzLXByZXBhcmF0aW9uJztcbmV4cG9ydCAqIGZyb20gJy4vbWFnbmV0aWMtcmVjdHMtcHJlcGFyYXRpb24tcmVxdWVzdCc7XG4iXX0=
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export class MagneticRectsPreparationRequest {
|
|
2
|
-
static fToken = Symbol('MagneticRectsPreparationRequest');
|
|
3
|
-
}
|
|
4
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFnbmV0aWMtcmVjdHMtcHJlcGFyYXRpb24tcmVxdWVzdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi1kcmFnZ2FibGUvZHJhZy1ub2RlL21hZ25ldGljLXJlY3RzL21hZ25ldGljLXJlY3RzLXByZXBhcmF0aW9uL21hZ25ldGljLXJlY3RzLXByZXBhcmF0aW9uLXJlcXVlc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxPQUFPLCtCQUErQjtJQUMxQyxNQUFNLENBQVUsTUFBTSxHQUFHLE1BQU0sQ0FBQyxpQ0FBaUMsQ0FBQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGNsYXNzIE1hZ25ldGljUmVjdHNQcmVwYXJhdGlvblJlcXVlc3Qge1xuICBzdGF0aWMgcmVhZG9ubHkgZlRva2VuID0gU3ltYm9sKCdNYWduZXRpY1JlY3RzUHJlcGFyYXRpb25SZXF1ZXN0Jyk7XG59XG4iXX0=
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { inject, Injectable, Injector } from '@angular/core';
|
|
3
|
-
import { MagneticRectsPreparationRequest } from './magnetic-rects-preparation-request';
|
|
4
|
-
import { FExecutionRegister, FMediator } from '@foblex/mediator';
|
|
5
|
-
import { DragNodeHandler, MagneticRectsHandler, MagneticRectsRenderer, } from '../../index';
|
|
6
|
-
import { BrowserService } from '@foblex/platform';
|
|
7
|
-
import { FComponentsStore, INSTANCES } from '../../../../f-storage';
|
|
8
|
-
import { FDraggableDataContext } from '../../../f-draggable-data-context';
|
|
9
|
-
import { GetNormalizedElementRectRequest } from '../../../../domain';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
let MagneticRectsPreparation = class MagneticRectsPreparation {
|
|
12
|
-
_mediator = inject(FMediator);
|
|
13
|
-
_store = inject(FComponentsStore);
|
|
14
|
-
_browser = inject(BrowserService);
|
|
15
|
-
_injector = inject(Injector);
|
|
16
|
-
_dragSession = inject(FDraggableDataContext);
|
|
17
|
-
_renderer;
|
|
18
|
-
handle(_) {
|
|
19
|
-
const magneticRects = this._store.instances.get(INSTANCES.MAGNETIC_RECTS);
|
|
20
|
-
if (!magneticRects) {
|
|
21
|
-
return;
|
|
22
|
-
}
|
|
23
|
-
const handler = this._dragSession.draggableItems.find((x) => x instanceof DragNodeHandler);
|
|
24
|
-
if (!handler) {
|
|
25
|
-
return;
|
|
26
|
-
}
|
|
27
|
-
handler.setMagneticRects(new MagneticRectsHandler(this._injector, this._getRenderer(magneticRects), this._notDraggedRects(this._draggedNodes(handler.items))));
|
|
28
|
-
}
|
|
29
|
-
_draggedNodes(items) {
|
|
30
|
-
return items.map((x) => x.nodeOrGroup);
|
|
31
|
-
}
|
|
32
|
-
_getRenderer(instance) {
|
|
33
|
-
if (!this._renderer) {
|
|
34
|
-
this._renderer = new MagneticRectsRenderer(this._browser, instance.hostElement);
|
|
35
|
-
}
|
|
36
|
-
this._renderer?.destroy();
|
|
37
|
-
return this._renderer;
|
|
38
|
-
}
|
|
39
|
-
_notDraggedRects(draggedNodes) {
|
|
40
|
-
const dragged = new Set(draggedNodes);
|
|
41
|
-
const notDragged = this._store.nodes.getAll().filter((x) => !dragged.has(x));
|
|
42
|
-
return notDragged.map((x) => this._mediator.execute(new GetNormalizedElementRectRequest(x.hostElement)));
|
|
43
|
-
}
|
|
44
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MagneticRectsPreparation, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
45
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MagneticRectsPreparation });
|
|
46
|
-
};
|
|
47
|
-
MagneticRectsPreparation = __decorate([
|
|
48
|
-
FExecutionRegister(MagneticRectsPreparationRequest)
|
|
49
|
-
], MagneticRectsPreparation);
|
|
50
|
-
export { MagneticRectsPreparation };
|
|
51
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MagneticRectsPreparation, decorators: [{
|
|
52
|
-
type: Injectable
|
|
53
|
-
}] });
|
|
54
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFnbmV0aWMtcmVjdHMtcHJlcGFyYXRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtZHJhZ2dhYmxlL2RyYWctbm9kZS9tYWduZXRpYy1yZWN0cy9tYWduZXRpYy1yZWN0cy1wcmVwYXJhdGlvbi9tYWduZ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selection';
|
|
2
|
-
import { DragNodeFinalize } from './drag-node-finalize';
|
|
3
|
-
import { DragNodePreparation } from './drag-node-preparation';
|
|
4
|
-
import { MagneticLinesPreparation } from './magnetic-lines';
|
|
5
|
-
import { MagneticRectsPreparation } from './magnetic-rects';
|
|
6
|
-
export const NODE_PROVIDERS = [
|
|
7
|
-
...CREATE_MOVE_NODE_DRAG_MODEL_FROM_SELECTION_PROVIDERS,
|
|
8
|
-
MagneticLinesPreparation,
|
|
9
|
-
MagneticRectsPreparation,
|
|
10
|
-
DragNodeFinalize,
|
|
11
|
-
DragNodePreparation,
|
|
12
|
-
];
|
|
13
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvdmlkZXJzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWRyYWdnYWJsZS9kcmFnLW5vZGUvcHJvdmlkZXJzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxvREFBb0QsRUFBRSxNQUFNLDJDQUEyQyxDQUFDO0FBQ2pILE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBQ3hELE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLHlCQUF5QixDQUFDO0FBQzlELE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxNQUFNLGtCQUFrQixDQUFDO0FBQzVELE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxNQUFNLGtCQUFrQixDQUFDO0FBRTVELE1BQU0sQ0FBQyxNQUFNLGNBQWMsR0FBRztJQUM1QixHQUFHLG9EQUFvRDtJQUV2RCx3QkFBd0I7SUFDeEIsd0JBQXdCO0lBRXhCLGdCQUFnQjtJQUVoQixtQkFBbUI7Q0FDcEIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENSRUFURV9NT1ZFX05PREVfRFJBR19NT0RFTF9GUk9NX1NFTEVDVElPTl9QUk9WSURFUlMgfSBmcm9tICcuL2F0dGFjaC1kcmFnLW5vZGUtaGFuZGxlci1mcm9tLXNlbGVjdGlvbic7XG5pbXBvcnQgeyBEcmFnTm9kZUZpbmFsaXplIH0gZnJvbSAnLi9kcmFnLW5vZGUtZmluYWxpemUnO1xuaW1wb3J0IHsgRHJhZ05vZGVQcmVwYXJhdGlvbiB9IGZyb20gJy4vZHJhZy1ub2RlLXByZXBhcmF0aW9uJztcbmltcG9ydCB7IE1hZ25ldGljTGluZXNQcmVwYXJhdGlvbiB9IGZyb20gJy4vbWFnbmV0aWMtbGluZXMnO1xuaW1wb3J0IHsgTWFnbmV0aWNSZWN0c1ByZXBhcmF0aW9uIH0gZnJvbSAnLi9tYWduZXRpYy1yZWN0cyc7XG5cbmV4cG9ydCBjb25zdCBOT0RFX1BST1ZJREVSUyA9IFtcbiAgLi4uQ1JFQVRFX01PVkVfTk9ERV9EUkFHX01PREVMX0ZST01fU0VMRUNUSU9OX1BST1ZJREVSUyxcblxuICBNYWduZXRpY0xpbmVzUHJlcGFyYXRpb24sXG4gIE1hZ25ldGljUmVjdHNQcmVwYXJhdGlvbixcblxuICBEcmFnTm9kZUZpbmFsaXplLFxuXG4gIERyYWdOb2RlUHJlcGFyYXRpb24sXG5dO1xuIl19
|
package/esm2022/f-draggable/drop-to-group/drop-to-group-finalize/drop-to-group-finalize-request.mjs
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export class DropToGroupFinalizeRequest {
|
|
2
|
-
event;
|
|
3
|
-
static fToken = Symbol('DropToGroupFinalizeRequest');
|
|
4
|
-
constructor(event) {
|
|
5
|
-
this.event = event;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJvcC10by1ncm91cC1maW5hbGl6ZS1yZXF1ZXN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWRyYWdnYWJsZS9kcm9wLXRvLWdyb3VwL2Ryb3AtdG8tZ3JvdXAtZmluYWxpemUvZHJvcC10by1ncm91cC1maW5hbGl6ZS1yZXF1ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE1BQU0sT0FBTywwQkFBMEI7SUFHVDtJQUY1QixNQUFNLENBQVUsTUFBTSxHQUFHLE1BQU0sQ0FBQyw0QkFBNEIsQ0FBQyxDQUFDO0lBRTlELFlBQTRCLEtBQW9CO1FBQXBCLFVBQUssR0FBTCxLQUFLLENBQWU7SUFBRyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSVBvaW50ZXJFdmVudCB9IGZyb20gJy4uLy4uLy4uL2RyYWctdG9vbGtpdCc7XG5cbmV4cG9ydCBjbGFzcyBEcm9wVG9Hcm91cEZpbmFsaXplUmVxdWVzdCB7XG4gIHN0YXRpYyByZWFkb25seSBmVG9rZW4gPSBTeW1ib2woJ0Ryb3BUb0dyb3VwRmluYWxpemVSZXF1ZXN0Jyk7XG5cbiAgY29uc3RydWN0b3IocHVibGljIHJlYWRvbmx5IGV2ZW50OiBJUG9pbnRlckV2ZW50KSB7fVxufVxuIl19
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { inject, Injectable } from '@angular/core';
|
|
3
|
-
import { DropToGroupFinalizeRequest } from './drop-to-group-finalize-request';
|
|
4
|
-
import { FExecutionRegister } from '@foblex/mediator';
|
|
5
|
-
import { FDraggableDataContext } from '../../f-draggable-data-context';
|
|
6
|
-
import { DropToGroupHandler } from '../drop-to-group-handler';
|
|
7
|
-
import { FComponentsStore } from '../../../f-storage';
|
|
8
|
-
import { DragNodeHandler } from '../../drag-node';
|
|
9
|
-
import { FDropToGroupEvent } from '../f-drop-to-group-event';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
let DropToGroupFinalize = class DropToGroupFinalize {
|
|
12
|
-
_dragSession = inject(FDraggableDataContext);
|
|
13
|
-
_store = inject(FComponentsStore);
|
|
14
|
-
handle({ event }) {
|
|
15
|
-
const dropHandler = this._findDropHandler();
|
|
16
|
-
if (!dropHandler) {
|
|
17
|
-
return;
|
|
18
|
-
}
|
|
19
|
-
const target = dropHandler.activeTarget?.node;
|
|
20
|
-
if (target) {
|
|
21
|
-
this._emitDropToGroupEvent(target.fId(), event);
|
|
22
|
-
}
|
|
23
|
-
dropHandler.onPointerUp?.();
|
|
24
|
-
}
|
|
25
|
-
_findDropHandler() {
|
|
26
|
-
return this._dragSession.draggableItems.find((x) => x instanceof DropToGroupHandler);
|
|
27
|
-
}
|
|
28
|
-
_emitDropToGroupEvent(targetId, event) {
|
|
29
|
-
this._store.fDraggable?.fDropToGroup.emit(new FDropToGroupEvent(targetId, this._getTopLevelDraggedIds(), event.getPosition()));
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Returns only "top-level" dragged items:
|
|
33
|
-
* if a node's parent is also in dragged set, we exclude the child.
|
|
34
|
-
*/
|
|
35
|
-
_getTopLevelDraggedIds() {
|
|
36
|
-
const summary = this._getMoveSummaryHandler();
|
|
37
|
-
const dragged = summary.items.map((x) => x.nodeOrGroup);
|
|
38
|
-
const draggedIdSet = new Set(dragged.map((n) => n.fId()));
|
|
39
|
-
const result = [];
|
|
40
|
-
for (const node of dragged) {
|
|
41
|
-
const parentId = node.fParentId();
|
|
42
|
-
if (!parentId || !draggedIdSet.has(parentId)) {
|
|
43
|
-
result.push(node.fId());
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
return result;
|
|
47
|
-
}
|
|
48
|
-
_getMoveSummaryHandler() {
|
|
49
|
-
const handler = this._dragSession.draggableItems.find((x) => x instanceof DragNodeHandler);
|
|
50
|
-
if (!handler) {
|
|
51
|
-
throw new Error('DropToGroup requires DragNodeHandler.');
|
|
52
|
-
}
|
|
53
|
-
return handler;
|
|
54
|
-
}
|
|
55
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DropToGroupFinalize, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
56
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DropToGroupFinalize });
|
|
57
|
-
};
|
|
58
|
-
DropToGroupFinalize = __decorate([
|
|
59
|
-
FExecutionRegister(DropToGroupFinalizeRequest)
|
|
60
|
-
], DropToGroupFinalize);
|
|
61
|
-
export { DropToGroupFinalize };
|
|
62
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DropToGroupFinalize, decorators: [{
|
|
63
|
-
type: Injectable
|
|
64
|
-
}] });
|
|
65
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJvcC10by1ncm91cC1maW5hbGl6ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi1kcmFnZ2FibGUvZHJvcC10by1ncm91cC9kcm9wLXRvLWdyb3VwLWZpbmFsaXplL2Ryb3AtdG8tZ3JvdXAtZmluYWxpemUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxNQUFNLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ25ELE9BQU8sRUFBRSwwQkFBMEIsRUFBRSxNQUFNLGtDQUFrQyxDQUFDO0FBQzlFLE9BQU8sRUFBRSxrQkFBa0IsRUFBYyxNQUFNLGtCQUFrQixDQUFDO0FBQ2xFLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUF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CBwYXJlbnRJZCA9IG5vZGUuZlBhcmVudElkKCk7XG4gICAgICBpZiAoIXBhcmVudElkIHx8ICFkcmFnZ2VkSWRTZXQuaGFzKHBhcmVudElkKSkge1xuICAgICAgICByZXN1bHQucHVzaChub2RlLmZJZCgpKTtcbiAgICAgIH1cbiAgICB9XG5cbiAgICByZXR1cm4gcmVzdWx0O1xuICB9XG5cbiAgcHJpdmF0ZSBfZ2V0TW92ZVN1bW1hcnlIYW5kbGVyKCk6IERyYWdOb2RlSGFuZGxlciB7XG4gICAgY29uc3QgaGFuZGxlciA9IHRoaXMuX2RyYWdTZXNzaW9uLmRyYWdnYWJsZUl0ZW1zLmZpbmQoKHgpID0+IHggaW5zdGFuY2VvZiBEcmFnTm9kZUhhbmRsZXIpO1xuXG4gICAgaWYgKCFoYW5kbGVyKSB7XG4gICAgICB0aHJvdyBuZXcgRXJyb3IoJ0Ryb3BUb0dyb3VwIHJlcXVpcmVzIERyYWdOb2RlSGFuZGxlci4nKTtcbiAgICB9XG5cbiAgICByZXR1cm4gaGFuZGxlcjtcbiAgfVxufVxuIl19
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export * from './drop-to-group-finalize';
|
|
2
|
-
export * from './drop-to-group-finalize-request';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtZHJhZ2dhYmxlL2Ryb3AtdG8tZ3JvdXAvZHJvcC10by1ncm91cC1maW5hbGl6ZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDBCQUEwQixDQUFDO0FBRXpDLGNBQWMsa0NBQWtDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2Ryb3AtdG8tZ3JvdXAtZmluYWxpemUnO1xuXG5leHBvcnQgKiBmcm9tICcuL2Ryb3AtdG8tZ3JvdXAtZmluYWxpemUtcmVxdWVzdCc7XG4iXX0=
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import { inject, Injectable } from '@angular/core';
|
|
2
|
-
import { Point, RectExtensions } from '@foblex/2d';
|
|
3
|
-
import { DragHandlerBase } from '../../infrastructure';
|
|
4
|
-
import { FComponentsStore } from '../../../f-storage';
|
|
5
|
-
import { FDraggableDataContext } from '../../f-draggable-data-context';
|
|
6
|
-
import { F_CSS_CLASS } from '../../../domain';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
const DEBOUNCE_MS = 1;
|
|
9
|
-
export class DropToGroupHandler extends DragHandlerBase {
|
|
10
|
-
/** Legacy identifier (external compatibility). */
|
|
11
|
-
type = 'move-node-to-parent';
|
|
12
|
-
/** New identifier. */
|
|
13
|
-
kind = 'assign-to-container';
|
|
14
|
-
_store = inject(FComponentsStore);
|
|
15
|
-
_dragSession = inject(FDraggableDataContext);
|
|
16
|
-
get _transform() {
|
|
17
|
-
return this._store.transform;
|
|
18
|
-
}
|
|
19
|
-
_candidateGroups = [];
|
|
20
|
-
_debounceTimer = null;
|
|
21
|
-
_activeTarget = null;
|
|
22
|
-
/** Read-only access for finalize stage. */
|
|
23
|
-
get activeTarget() {
|
|
24
|
-
return this._activeTarget;
|
|
25
|
-
}
|
|
26
|
-
initialize(candidateGroups) {
|
|
27
|
-
this._candidateGroups = candidateGroups;
|
|
28
|
-
}
|
|
29
|
-
prepareDragSequence() {
|
|
30
|
-
for (const { node } of this._candidateGroups) {
|
|
31
|
-
node.hostElement.classList.add(F_CSS_CLASS.GROUPING.DROP_ACTIVE);
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
onPointerMove(difference) {
|
|
35
|
-
if (this._debounceTimer) {
|
|
36
|
-
clearTimeout(this._debounceTimer);
|
|
37
|
-
}
|
|
38
|
-
this._debounceTimer = setTimeout(() => this._updateActiveTarget(difference), DEBOUNCE_MS);
|
|
39
|
-
}
|
|
40
|
-
onPointerUp() {
|
|
41
|
-
this._clearActiveTarget();
|
|
42
|
-
for (const { node } of this._candidateGroups) {
|
|
43
|
-
node.hostElement.classList.remove(F_CSS_CLASS.GROUPING.DROP_ACTIVE);
|
|
44
|
-
}
|
|
45
|
-
if (this._debounceTimer) {
|
|
46
|
-
clearTimeout(this._debounceTimer);
|
|
47
|
-
this._debounceTimer = null;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
_updateActiveTarget(difference) {
|
|
51
|
-
const pointerInFlow = this._getPointerInFlow(difference);
|
|
52
|
-
const next = this._findTargetUnderPointer(pointerInFlow);
|
|
53
|
-
if (next) {
|
|
54
|
-
this._setActiveTarget(next);
|
|
55
|
-
}
|
|
56
|
-
else {
|
|
57
|
-
this._clearActiveTarget();
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
_getPointerInFlow(difference) {
|
|
61
|
-
const pointerInScaledFlow = Point.fromPoint(this._dragSession.onPointerDownPosition).add(difference);
|
|
62
|
-
const transformOffsetInFlow = Point.fromPoint(this._transform.position)
|
|
63
|
-
.add(this._transform.scaledPosition)
|
|
64
|
-
.div(this._transform.scale);
|
|
65
|
-
return pointerInScaledFlow.sub(transformOffsetInFlow);
|
|
66
|
-
}
|
|
67
|
-
_findTargetUnderPointer(pointer) {
|
|
68
|
-
return this._candidateGroups.find((x) => RectExtensions.isIncludePoint(x.rect, pointer));
|
|
69
|
-
}
|
|
70
|
-
_setActiveTarget(target) {
|
|
71
|
-
if (this._activeTarget?.node === target.node) {
|
|
72
|
-
return;
|
|
73
|
-
}
|
|
74
|
-
this._clearActiveTarget();
|
|
75
|
-
this._activeTarget = target;
|
|
76
|
-
target.node.setClass(F_CSS_CLASS.GROUPING.OVER_BOUNDARY);
|
|
77
|
-
}
|
|
78
|
-
_clearActiveTarget() {
|
|
79
|
-
this._activeTarget?.node.removeClass(F_CSS_CLASS.GROUPING.OVER_BOUNDARY);
|
|
80
|
-
this._activeTarget = null;
|
|
81
|
-
}
|
|
82
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DropToGroupHandler, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
83
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DropToGroupHandler });
|
|
84
|
-
}
|
|
85
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DropToGroupHandler, decorators: [{
|
|
86
|
-
type: Injectable
|
|
87
|
-
}] });
|
|
88
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJvcC10by1ncm91cC1oYW5kbGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWRyYWdnYWJsZS9kcm9wLXRvLWdyb3VwL2Ryb3AtdG8tZ3JvdXAtaGFuZGxlci9kcm9wLXRvLWdyb3VwLWhhbmRsZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLE1BQU0sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDbkQsT0FBTyxFQUEyQixLQUFLLEVBQUUsY0FBYyxFQUFFLE1BQU0sWUFBWSxDQUFDO0FBQzVFLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQztBQUN2RCxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQztBQUV0RCxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSxnQ0FBZ0MsQ0FBQztBQUN2RSxPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0saUJBQWlCLENBQUM7O0FBR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GVXaXRoUmVjdCk6IHZvaWQge1xuICAgIGlmICh0aGlzLl9hY3RpdmVUYXJnZXQ/Lm5vZGUgPT09IHRhcmdldC5ub2RlKSB7XG4gICAgICByZXR1cm47XG4gICAgfVxuXG4gICAgdGhpcy5fY2xlYXJBY3RpdmVUYXJnZXQoKTtcbiAgICB0aGlzLl9hY3RpdmVUYXJnZXQgPSB0YXJnZXQ7XG4gICAgdGFyZ2V0Lm5vZGUuc2V0Q2xhc3MoRl9DU1NfQ0xBU1MuR1JPVVBJTkcuT1ZFUl9CT1VOREFSWSk7XG4gIH1cblxuICBwcml2YXRlIF9jbGVhckFjdGl2ZVRhcmdldCgpOiB2b2lkIHtcbiAgICB0aGlzLl9hY3RpdmVUYXJnZXQ/Lm5vZGUucmVtb3ZlQ2xhc3MoRl9DU1NfQ0xBU1MuR1JPVVBJTkcuT1ZFUl9CT1VOREFSWSk7XG4gICAgdGhpcy5fYWN0aXZlVGFyZ2V0ID0gbnVsbDtcbiAgfVxufVxuIl19
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export * from './drop-to-group-handler';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtZHJhZ2dhYmxlL2Ryb3AtdG8tZ3JvdXAvZHJvcC10by1ncm91cC1oYW5kbGVyL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMseUJBQXlCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2Ryb3AtdG8tZ3JvdXAtaGFuZGxlcic7XG4iXX0=
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export class DropToGroupPreparationRequest {
|
|
2
|
-
event;
|
|
3
|
-
static fToken = Symbol('DropToGroupPreparationRequest');
|
|
4
|
-
constructor(event) {
|
|
5
|
-
this.event = event;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJvcC10by1ncm91cC1wcmVwYXJhdGlvbi1yZXF1ZXN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWRyYWdnYWJsZS9kcm9wLXRvLWdyb3VwL2Ryb3AtdG8tZ3JvdXAtcHJlcGFyYXRpb24vZHJvcC10by1ncm91cC1wcmVwYXJhdGlvbi1yZXF1ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE1BQU0sT0FBTyw2QkFBNkI7SUFHWjtJQUY1QixNQUFNLENBQVUsTUFBTSxHQUFHLE1BQU0sQ0FBQywrQkFBK0IsQ0FBQyxDQUFDO0lBRWpFLFlBQTRCLEtBQW9CO1FBQXBCLFVBQUssR0FBTCxLQUFLLENBQWU7SUFBRyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSVBvaW50ZXJFdmVudCB9IGZyb20gJy4uLy4uLy4uL2RyYWctdG9vbGtpdCc7XG5cbmV4cG9ydCBjbGFzcyBEcm9wVG9Hcm91cFByZXBhcmF0aW9uUmVxdWVzdCB7XG4gIHN0YXRpYyByZWFkb25seSBmVG9rZW4gPSBTeW1ib2woJ0Ryb3BUb0dyb3VwUHJlcGFyYXRpb25SZXF1ZXN0Jyk7XG5cbiAgY29uc3RydWN0b3IocHVibGljIHJlYWRvbmx5IGV2ZW50OiBJUG9pbnRlckV2ZW50KSB7fVxufVxuIl19
|
package/esm2022/f-draggable/drop-to-group/drop-to-group-preparation/drop-to-group-preparation.mjs
DELETED
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { inject, Injectable } from '@angular/core';
|
|
3
|
-
import { DropToGroupPreparationRequest } from './drop-to-group-preparation-request';
|
|
4
|
-
import { FExecutionRegister, FMediator } from '@foblex/mediator';
|
|
5
|
-
import { FComponentsStore } from '../../../f-storage';
|
|
6
|
-
import { GetChildNodeIdsRequest, GetNormalizedElementRectRequest, GetParentNodesRequest, } from '../../../domain';
|
|
7
|
-
import { FGroupDirective } from '../../../f-node';
|
|
8
|
-
import { FDraggableDataContext } from '../../f-draggable-data-context';
|
|
9
|
-
import { DropToGroupHandler } from '../drop-to-group-handler';
|
|
10
|
-
import { DragNodeHandler } from '../../drag-node';
|
|
11
|
-
import { SortDropCandidatesByLayerRequest } from '../sort-drop-candidates-by-layer';
|
|
12
|
-
import { DragHandlerInjector } from '../../infrastructure';
|
|
13
|
-
import { DragExternalItemHandler } from '../../drag-external-item';
|
|
14
|
-
import * as i0 from "@angular/core";
|
|
15
|
-
let DropToGroupPreparation = class DropToGroupPreparation {
|
|
16
|
-
_mediator = inject(FMediator);
|
|
17
|
-
_dragContext = inject(FDraggableDataContext);
|
|
18
|
-
_store = inject(FComponentsStore);
|
|
19
|
-
_dragInjector = inject(DragHandlerInjector);
|
|
20
|
-
get _allNodes() {
|
|
21
|
-
return this._store.nodes.getAll();
|
|
22
|
-
}
|
|
23
|
-
handle({ event }) {
|
|
24
|
-
if (!this._canPrepare()) {
|
|
25
|
-
return;
|
|
26
|
-
}
|
|
27
|
-
const dragTargetNode = this._allNodes.find((n) => n.isContains(event.targetElement));
|
|
28
|
-
// If this is not an external drag and we can't resolve a target node — it's an invalid state.
|
|
29
|
-
if (!dragTargetNode && !this._hasExternalDrag()) {
|
|
30
|
-
throw new Error('Drag target node not found');
|
|
31
|
-
}
|
|
32
|
-
let targets = this._sortedTargetsForDrop();
|
|
33
|
-
// We can drop items only to children of direct parent (if target is inside some parent).
|
|
34
|
-
if (dragTargetNode) {
|
|
35
|
-
const parentId = dragTargetNode.fParentId();
|
|
36
|
-
const allowedIds = this._mediator.execute(new GetChildNodeIdsRequest(parentId));
|
|
37
|
-
if (allowedIds.length) {
|
|
38
|
-
targets = targets.filter((t) => allowedIds.includes(t.node.fId()));
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
const handler = this._dragInjector.get(DropToGroupHandler);
|
|
42
|
-
handler.initialize(targets);
|
|
43
|
-
this._dragContext.draggableItems.push(handler);
|
|
44
|
-
}
|
|
45
|
-
_canPrepare() {
|
|
46
|
-
return this._hasMoveDrag() || this._hasExternalDrag();
|
|
47
|
-
}
|
|
48
|
-
_hasMoveDrag() {
|
|
49
|
-
return this._dragContext.draggableItems.some((x) => x instanceof DragNodeHandler);
|
|
50
|
-
}
|
|
51
|
-
_hasExternalDrag() {
|
|
52
|
-
return this._dragContext.draggableItems.some((x) => x instanceof DragExternalItemHandler);
|
|
53
|
-
}
|
|
54
|
-
_sortedTargetsForDrop() {
|
|
55
|
-
const dragged = this._getDraggedNodes();
|
|
56
|
-
const draggingGroup = dragged.some((x) => x instanceof FGroupDirective);
|
|
57
|
-
const draggedWithParents = this._withParents(dragged);
|
|
58
|
-
const eligible = this._eligibleTargets(draggedWithParents, draggingGroup);
|
|
59
|
-
const targets = eligible.map((node) => {
|
|
60
|
-
const rect = this._mediator.execute(new GetNormalizedElementRectRequest(node.hostElement));
|
|
61
|
-
return { node, rect };
|
|
62
|
-
});
|
|
63
|
-
return this._mediator.execute(new SortDropCandidatesByLayerRequest(targets));
|
|
64
|
-
}
|
|
65
|
-
_getDraggedNodes() {
|
|
66
|
-
const handler = this._dragContext.draggableItems.find((x) => x instanceof DragNodeHandler);
|
|
67
|
-
return handler ? handler.items.map((h) => h.nodeOrGroup) : [];
|
|
68
|
-
}
|
|
69
|
-
_withParents(nodes) {
|
|
70
|
-
return nodes.reduce((result, node) => {
|
|
71
|
-
result.push(node);
|
|
72
|
-
const parents = this._mediator.execute(new GetParentNodesRequest(node));
|
|
73
|
-
result.push(...parents);
|
|
74
|
-
return result;
|
|
75
|
-
}, []);
|
|
76
|
-
}
|
|
77
|
-
_eligibleTargets(draggedWithParents, draggingGroup) {
|
|
78
|
-
const nonDragged = this._allNodes.filter((n) => !draggedWithParents.includes(n));
|
|
79
|
-
return draggingGroup ? nonDragged.filter((n) => n instanceof FGroupDirective) : nonDragged;
|
|
80
|
-
}
|
|
81
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DropToGroupPreparation, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
82
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DropToGroupPreparation });
|
|
83
|
-
};
|
|
84
|
-
DropToGroupPreparation = __decorate([
|
|
85
|
-
FExecutionRegister(DropToGroupPreparationRequest)
|
|
86
|
-
], DropToGroupPreparation);
|
|
87
|
-
export { DropToGroupPreparation };
|
|
88
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DropToGroupPreparation, decorators: [{
|
|
89
|
-
type: Injectable
|
|
90
|
-
}] });
|
|
91
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJvcC10by1ncm91cC1wcmVwYXJhdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi1kcmFnZ2FibGUvZHJvcC10by1ncm91cC9kcm9wLXRvLWdyb3VwLXByZXBhcmF0aW9uL2Ryb3AtdG8tZ3JvdXAtcHJlcGFyYXRpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxNQUFNLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ25ELE9BQU8sRUFBRSw2QkFBNkIsRUFBRSxNQUFNLHFDQUFxQyxDQUFDO0FBQ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lZC5maWx0ZXIoKG4pID0+IG4gaW5zdGFuY2VvZiBGR3JvdXBEaXJlY3RpdmUpIDogbm9uRHJhZ2dlZDtcbiAgfVxufVxuIl19
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export * from './drop-to-group-preparation';
|
|
2
|
-
export * from './drop-to-group-preparation-request';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtZHJhZ2dhYmxlL2Ryb3AtdG8tZ3JvdXAvZHJvcC10by1ncm91cC1wcmVwYXJhdGlvbi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDZCQUE2QixDQUFDO0FBRTVDLGNBQWMscUNBQXFDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2Ryb3AtdG8tZ3JvdXAtcHJlcGFyYXRpb24nO1xuXG5leHBvcnQgKiBmcm9tICcuL2Ryb3AtdG8tZ3JvdXAtcHJlcGFyYXRpb24tcmVxdWVzdCc7XG4iXX0=
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export class FDropToGroupEvent {
|
|
2
|
-
/** Preferred name: Group (target) id */
|
|
3
|
-
targetGroupId;
|
|
4
|
-
/** Preferred name: Dropped node ids */
|
|
5
|
-
nodeIds;
|
|
6
|
-
/** Preferred name: Pointer drop position */
|
|
7
|
-
dropPosition;
|
|
8
|
-
/** @deprecated Use `targetGroupId` */
|
|
9
|
-
fTargetNode;
|
|
10
|
-
/** @deprecated Use `nodeIds` */
|
|
11
|
-
fNodes;
|
|
12
|
-
/** @deprecated Use `dropPosition` */
|
|
13
|
-
fDropPosition;
|
|
14
|
-
constructor(targetGroupId, nodeIds, dropPosition) {
|
|
15
|
-
this.targetGroupId = targetGroupId;
|
|
16
|
-
this.nodeIds = nodeIds;
|
|
17
|
-
this.dropPosition = dropPosition;
|
|
18
|
-
// legacy aliases (same values / references)
|
|
19
|
-
this.fTargetNode = targetGroupId;
|
|
20
|
-
this.fNodes = nodeIds;
|
|
21
|
-
this.fDropPosition = dropPosition;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1kcm9wLXRvLWdyb3VwLWV2ZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWRyYWdnYWJsZS9kcm9wLXRvLWdyb3VwL2YtZHJvcC10by1ncm91cC1ldmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxNQUFNLE9BQU8saUJBQWlCO0lBQzVCLHdDQUF3QztJQUN4QixhQUFhLENBQVM7SUFFdEMsdUNBQXVDO0lBQ3ZCLE9BQU8sQ0FBVztJQUVsQyw0Q0FBNEM7SUFDNUIsWUFBWSxDQUFTO0lBRXJDLHNDQUFzQztJQUN0QixXQUFXLENBQVM7SUFFcEMsZ0NBQWdDO0lBQ2hCLE1BQU0sQ0FBVztJQUVqQyxxQ0FBcUM7SUFDckIsYUFBYSxDQUFTO0lBRXRDLFlBQVksYUFBcUIsRUFBRSxPQUFpQixFQUFFLFlBQW9CO1FBQ3hFLElBQUksQ0FBQyxhQUFhLEdBQUcsYUFBYSxDQUFDO1FBQ25DLElBQUksQ0FBQyxPQUFPLEdBQUcsT0FBTyxDQUFDO1FBQ3ZCLElBQUksQ0FBQyxZQUFZLEdBQUcsWUFBWSxDQUFDO1FBRWpDLDRDQUE0QztRQUM1QyxJQUFJLENBQUMsV0FBVyxHQUFHLGFBQWEsQ0FBQztRQUNqQyxJQUFJLENBQUMsTUFBTSxHQUFHLE9BQU8sQ0FBQztRQUN0Qix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yb3BQb3NpdGlvbiA9IGRyb3BQb3NpdGlvbjtcblxuICAgIC8vIGxlZ2FjeSBhbGlhc2VzIChzYW1lIHZhbHVlcyAvIHJlZmVyZW5jZXMpXG4gICAgdGhpcy5mVGFyZ2V0Tm9kZSA9IHRhcmdldEdyb3VwSWQ7XG4gICAgdGhpcy5mTm9kZXMgPSBub2RlSWRzO1xuICAgIHRoaXMuZkRyb3BQb3NpdGlvbiA9IGRyb3BQb3NpdGlvbjtcbiAgfVxufVxuIl19
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export * from './drop-to-group-finalize';
|
|
2
|
-
export * from './drop-to-group-preparation';
|
|
3
|
-
export * from './drop-to-group-handler';
|
|
4
|
-
export * from './sort-drop-candidates-by-layer';
|
|
5
|
-
export * from './f-drop-to-group-event';
|
|
6
|
-
export * from './providers';
|
|
7
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtZHJhZ2dhYmxlL2Ryb3AtdG8tZ3JvdXAvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYywwQkFBMEIsQ0FBQztBQUV6QyxjQUFjLDZCQUE2QixDQUFDO0FBRTVDLGNBQWMseUJBQXlCLENBQUM7QUFFeEMsY0FBYyxpQ0FBaUMsQ0FBQztBQUVoRCxjQUFjLHlCQUF5QixDQUFDO0FBRXhDLGNBQWMsYUFBYSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9kcm9wLXRvLWdyb3VwLWZpbmFsaXplJztcblxuZXhwb3J0ICogZnJvbSAnLi9kcm9wLXRvLWdyb3VwLXByZXBhcmF0aW9uJztcblxuZXhwb3J0ICogZnJvbSAnLi9kcm9wLXRvLWdyb3VwLWhhbmRsZXInO1xuXG5leHBvcnQgKiBmcm9tICcuL3NvcnQtZHJvcC1jYW5kaWRhdGVzLWJ5LWxheWVyJztcblxuZXhwb3J0ICogZnJvbSAnLi9mLWRyb3AtdG8tZ3JvdXAtZXZlbnQnO1xuXG5leHBvcnQgKiBmcm9tICcuL3Byb3ZpZGVycyc7XG4iXX0=
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { DropToGroupPreparation } from './drop-to-group-preparation';
|
|
2
|
-
import { DropToGroupFinalize } from './drop-to-group-finalize';
|
|
3
|
-
import { SortDropCandidatesByLayer } from './sort-drop-candidates-by-layer';
|
|
4
|
-
export const DRAG_DROP_TO_GROUP_PROVIDERS = [
|
|
5
|
-
SortDropCandidatesByLayer,
|
|
6
|
-
DropToGroupPreparation,
|
|
7
|
-
DropToGroupFinalize,
|
|
8
|
-
];
|
|
9
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvdmlkZXJzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWRyYWdnYWJsZS9kcm9wLXRvLWdyb3VwL3Byb3ZpZGVycy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQztBQUNyRSxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQztBQUMvRCxPQUFPLEVBQUUseUJBQXlCLEVBQUUsTUFBTSxpQ0FBaUMsQ0FBQztBQUU1RSxNQUFNLENBQUMsTUFBTSw0QkFBNEIsR0FBRztJQUMxQyx5QkFBeUI7SUFFekIsc0JBQXNCO0lBRXRCLG1CQUFtQjtDQUNwQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgRHJvcFRvR3JvdXBQcmVwYXJhdGlvbiB9IGZyb20gJy4vZHJvcC10by1ncm91cC1wcmVwYXJhdGlvbic7XG5pbXBvcnQgeyBEcm9wVG9Hcm91cEZpbmFsaXplIH0gZnJvbSAnLi9kcm9wLXRvLWdyb3VwLWZpbmFsaXplJztcbmltcG9ydCB7IFNvcnREcm9wQ2FuZGlkYXRlc0J5TGF5ZXIgfSBmcm9tICcuL3NvcnQtZHJvcC1jYW5kaWRhdGVzLWJ5LWxheWVyJztcblxuZXhwb3J0IGNvbnN0IERSQUdfRFJPUF9UT19HUk9VUF9QUk9WSURFUlMgPSBbXG4gIFNvcnREcm9wQ2FuZGlkYXRlc0J5TGF5ZXIsXG5cbiAgRHJvcFRvR3JvdXBQcmVwYXJhdGlvbixcblxuICBEcm9wVG9Hcm91cEZpbmFsaXplLFxuXTtcbiJdfQ==
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export * from './sort-drop-candidates-by-layer';
|
|
2
|
-
export * from './sort-drop-candidates-by-layer-request';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtZHJhZ2dhYmxlL2Ryb3AtdG8tZ3JvdXAvc29ydC1kcm9wLWNhbmRpZGF0ZXMtYnktbGF5ZXIvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxpQ0FBaUMsQ0FBQztBQUVoRCxjQUFjLHlDQUF5QyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9zb3J0LWRyb3AtY2FuZGlkYXRlcy1ieS1sYXllcic7XG5cbmV4cG9ydCAqIGZyb20gJy4vc29ydC1kcm9wLWNhbmRpZGF0ZXMtYnktbGF5ZXItcmVxdWVzdCc7XG4iXX0=
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export class SortDropCandidatesByLayerRequest {
|
|
2
|
-
candidates;
|
|
3
|
-
static fToken = Symbol('SortDropCandidatesByLayerRequest');
|
|
4
|
-
constructor(candidates) {
|
|
5
|
-
this.candidates = candidates;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic29ydC1kcm9wLWNhbmRpZGF0ZXMtYnktbGF5ZXItcmVxdWVzdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi1kcmFnZ2FibGUvZHJvcC10by1ncm91cC9zb3J0LWRyb3AtY2FuZGlkYXRlcy1ieS1sYXllci9zb3J0LWRyb3AtY2FuZGlkYXRlcy1ieS1sYXllci1yZXF1ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE1BQU0sT0FBTyxnQ0FBZ0M7SUFFZjtJQUQ1QixNQUFNLENBQVUsTUFBTSxHQUFHLE1BQU0sQ0FBQyxrQ0FBa0MsQ0FBQyxDQUFDO0lBQ3BFLFlBQTRCLFVBQTJCO1FBQTNCLGVBQVUsR0FBVixVQUFVLENBQWlCO0lBQUcsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IElOb2RlV2l0aFJlY3QgfSBmcm9tICcuLi8uLi9kb21haW4nO1xuXG5leHBvcnQgY2xhc3MgU29ydERyb3BDYW5kaWRhdGVzQnlMYXllclJlcXVlc3Qge1xuICBzdGF0aWMgcmVhZG9ubHkgZlRva2VuID0gU3ltYm9sKCdTb3J0RHJvcENhbmRpZGF0ZXNCeUxheWVyUmVxdWVzdCcpO1xuICBjb25zdHJ1Y3RvcihwdWJsaWMgcmVhZG9ubHkgY2FuZGlkYXRlczogSU5vZGVXaXRoUmVjdFtdKSB7fVxufVxuIl19
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { Injectable } from '@angular/core';
|
|
3
|
-
import { FExecutionRegister } from '@foblex/mediator';
|
|
4
|
-
import { SortDropCandidatesByLayerRequest } from './sort-drop-candidates-by-layer-request';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
let SortDropCandidatesByLayer = class SortDropCandidatesByLayer {
|
|
7
|
-
handle({ candidates }) {
|
|
8
|
-
// Stable sort even if runtime sort stability changes: remember original index.
|
|
9
|
-
const indexed = candidates.map((candidate, index) => ({ candidate, index }));
|
|
10
|
-
indexed.sort((a, b) => {
|
|
11
|
-
const domOrder = this._compareDomOrder(a.candidate.node.hostElement, b.candidate.node.hostElement);
|
|
12
|
-
// We want "top-most" candidates first (the ones later in DOM usually paint above).
|
|
13
|
-
if (domOrder !== 0) {
|
|
14
|
-
return -domOrder;
|
|
15
|
-
}
|
|
16
|
-
return a.index - b.index;
|
|
17
|
-
});
|
|
18
|
-
return indexed.map((x) => x.candidate);
|
|
19
|
-
}
|
|
20
|
-
_compareDomOrder(a, b) {
|
|
21
|
-
if (a === b) {
|
|
22
|
-
return 0;
|
|
23
|
-
}
|
|
24
|
-
const pos = a.compareDocumentPosition(b);
|
|
25
|
-
// If b is after a in DOM => a precedes b.
|
|
26
|
-
if ((pos & Node.DOCUMENT_POSITION_FOLLOWING) !== 0) {
|
|
27
|
-
return -1;
|
|
28
|
-
}
|
|
29
|
-
// If b is before a in DOM => a follows b.
|
|
30
|
-
if ((pos & Node.DOCUMENT_POSITION_PRECEDING) !== 0) {
|
|
31
|
-
return 1;
|
|
32
|
-
}
|
|
33
|
-
// Disconnected: fallback (rare). Use geometry to get deterministic order.
|
|
34
|
-
if (pos & Node.DOCUMENT_POSITION_DISCONNECTED) {
|
|
35
|
-
const ar = a.getBoundingClientRect?.() ?? { top: 0, left: 0 };
|
|
36
|
-
const br = b.getBoundingClientRect?.() ?? { top: 0, left: 0 };
|
|
37
|
-
if (ar.top !== br.top) {
|
|
38
|
-
return ar.top < br.top ? -1 : 1;
|
|
39
|
-
}
|
|
40
|
-
if (ar.left !== br.left) {
|
|
41
|
-
return ar.left < br.left ? -1 : 1;
|
|
42
|
-
}
|
|
43
|
-
return 0;
|
|
44
|
-
}
|
|
45
|
-
return 0;
|
|
46
|
-
}
|
|
47
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SortDropCandidatesByLayer, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
48
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SortDropCandidatesByLayer });
|
|
49
|
-
};
|
|
50
|
-
SortDropCandidatesByLayer = __decorate([
|
|
51
|
-
FExecutionRegister(SortDropCandidatesByLayerRequest)
|
|
52
|
-
], SortDropCandidatesByLayer);
|
|
53
|
-
export { SortDropCandidatesByLayer };
|
|
54
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SortDropCandidatesByLayer, decorators: [{
|
|
55
|
-
type: Injectable
|
|
56
|
-
}] });
|
|
57
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic29ydC1kcm9wLWNhbmRpZGF0ZXMtYnktbGF5ZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtZHJhZ2dhYmxlL2Ryb3AtdG8tZ3JvdXAvc29ydC1kcm9wLWNhbmRpZGF0ZXMtYnktbGF5ZXIvc29ydC1kcm9wLWNhbmRpZGF0ZXMtYnktbGF5ZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxFQUF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