@foblex/flow 17.5.9 → 17.6.1
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/domain/css-cls.d.ts +1 -1
- package/domain/f-background/add-background-to-store/add-background-to-store.execution.d.ts +4 -1
- package/domain/f-background/add-pattern-to-background/add-pattern-to-background.execution.d.ts +4 -1
- package/domain/f-background/providers.d.ts +4 -0
- package/domain/f-background/remove-background-from-store/remove-background-from-store.execution.d.ts +4 -1
- package/domain/f-background/set-background-transform/set-background-transform.execution.d.ts +4 -1
- package/domain/f-canvas/add-canvas-to-store/add-canvas-to-store.execution.d.ts +4 -1
- package/domain/f-canvas/center-group-or-node/center-group-or-node.execution.d.ts +4 -1
- package/domain/f-canvas/fit-to-flow/fit-to-flow.execution.d.ts +4 -1
- package/domain/f-canvas/get-canvas/get-canvas.execution.d.ts +4 -1
- package/domain/f-canvas/input-canvas-position/input-canvas-position.execution.d.ts +4 -1
- package/domain/f-canvas/input-canvas-scale/input-canvas-scale.execution.d.ts +5 -1
- package/domain/f-canvas/providers.d.ts +3 -0
- package/domain/f-canvas/redraw-canvas-with-animation/redraw-canvas-with-animation.execution.d.ts +6 -1
- package/domain/f-canvas/remove-canvas-from-store/remove-canvas-from-store.execution.d.ts +4 -1
- package/domain/f-canvas/reset-scale/reset-scale.execution.d.ts +4 -1
- package/domain/f-canvas/reset-scale-and-center/reset-scale-and-center.execution.d.ts +4 -1
- package/domain/f-canvas/update-scale/update-scale.execution.d.ts +5 -1
- package/domain/f-connection/add-connection-for-create-to-store/add-connection-for-create-to-store.execution.d.ts +4 -1
- package/domain/f-connection/add-connection-marker-to-store/add-connection-marker-to-store.execution.d.ts +4 -1
- package/domain/f-connection/add-connection-to-store/add-connection-to-store.execution.d.ts +4 -1
- package/domain/f-connection/add-snap-connection-to-store/add-snap-connection-to-store.execution.d.ts +4 -1
- package/domain/f-connection/calculate-connection-line-by-behavior/calculate-connection-line-by-behavior.execution.d.ts +3 -0
- package/domain/f-connection/calculate-connection-line-by-behavior/fixed-center-behavior.d.ts +5 -0
- package/domain/f-connection/calculate-connection-line-by-behavior/fixed-outbound-behavior.d.ts +5 -0
- package/domain/f-connection/calculate-connection-line-by-behavior/floating-behavior.d.ts +5 -0
- package/domain/f-connection/create-connection-markers/create-connection-markers.execution.d.ts +5 -5
- package/domain/f-connection/providers.d.ts +3 -0
- package/domain/f-connection/redraw-connections/redraw-connections.execution.d.ts +6 -1
- package/domain/f-connection/remove-connection-for-create-from-store/remove-connection-for-create-from-store.execution.d.ts +4 -1
- package/domain/f-connection/remove-connection-from-store/remove-connection-from-store.execution.d.ts +4 -1
- package/domain/f-connection/remove-connection-marker-from-store/remove-connection-marker-from-store.execution.d.ts +4 -1
- package/domain/f-connection/remove-snap-connection-from-store/remove-snap-connection-from-store.execution.d.ts +4 -1
- package/domain/f-connectors/add-input-to-store/add-input-to-store.execution.d.ts +4 -1
- package/domain/f-connectors/add-outlet-to-store/add-outlet-to-store.execution.d.ts +3 -0
- package/domain/f-connectors/add-output-to-store/add-output-to-store.execution.d.ts +3 -0
- package/domain/f-connectors/find-closest-connector/find-closest-connector.execution.d.ts +16 -0
- package/domain/f-connectors/find-closest-connector/find-closest-connector.request.d.ts +8 -0
- package/domain/f-connectors/find-closest-connector/index.d.ts +2 -0
- package/domain/f-connectors/find-connectable-connector-using-priority-and-position/find-connectable-connector-using-priority-and-position.execution.d.ts +30 -0
- package/domain/f-connectors/find-connectable-connector-using-priority-and-position/find-connectable-connector-using-priority-and-position.request.d.ts +8 -0
- package/domain/f-connectors/find-connectable-connector-using-priority-and-position/index.d.ts +2 -0
- package/domain/f-connectors/get-all-can-be-connected-inputs-and-rects/get-all-can-be-connected-inputs-and-rects.execution.d.ts +4 -1
- package/domain/f-connectors/get-all-can-be-connected-source-connectors-and-rects/get-all-can-be-connected-source-connectors-and-rects.execution.d.ts +18 -0
- package/domain/f-connectors/get-all-can-be-connected-source-connectors-and-rects/get-all-can-be-connected-source-connectors-and-rects.request.d.ts +6 -0
- package/domain/f-connectors/get-all-can-be-connected-source-connectors-and-rects/index.d.ts +2 -0
- package/domain/f-connectors/get-connector-and-rect/get-connector-and-rect.execution.d.ts +4 -1
- package/domain/f-connectors/{i-closest-input.d.ts → i-closest-connector.d.ts} +4 -1
- package/domain/f-connectors/index.d.ts +6 -5
- package/domain/f-connectors/mark-connectable-connectors/index.d.ts +2 -0
- package/domain/f-connectors/mark-connectable-connectors/mark-connectable-connectors.execution.d.ts +13 -0
- package/domain/f-connectors/mark-connectable-connectors/mark-connectable-connectors.request.d.ts +6 -0
- package/domain/f-connectors/providers.d.ts +6 -5
- package/domain/f-connectors/remove-input-from-store/remove-input-from-store.execution.d.ts +4 -1
- package/domain/f-connectors/remove-outlet-from-store/remove-outlet-from-store.execution.d.ts +4 -1
- package/domain/f-connectors/remove-output-from-store/remove-output-from-store.execution.d.ts +4 -1
- package/domain/f-connectors/unmark-connectable-connectors/index.d.ts +2 -0
- package/domain/f-connectors/unmark-connectable-connectors/unmark-connectable-connectors.execution.d.ts +13 -0
- package/domain/f-connectors/unmark-connectable-connectors/unmark-connectable-connectors.request.d.ts +6 -0
- package/domain/f-draggable/add-dnd-to-store/add-dnd-to-store.execution.d.ts +4 -1
- package/domain/f-draggable/emit-selection-change-event/emit-selection-change-event.execution.d.ts +7 -3
- package/domain/f-draggable/end-drag-sequence/end-drag-sequence.execution.d.ts +4 -1
- package/domain/f-draggable/initialize-drag-sequence/initialize-drag-sequence.execution.d.ts +3 -0
- package/domain/f-draggable/is-drag-started/is-drag-started.execution.d.ts +4 -1
- package/domain/f-draggable/on-pointer-move/on-pointer-move.execution.d.ts +6 -1
- package/domain/f-draggable/prepare-drag-sequence/prepare-drag-sequence.execution.d.ts +4 -1
- package/domain/f-draggable/providers.d.ts +4 -1
- package/domain/f-draggable/remove-dnd-from-store/remove-dnd-from-store.execution.d.ts +4 -1
- package/domain/f-draggable/start-drag-sequence/start-drag-sequence.execution.d.ts +5 -2
- package/domain/f-flow/add-flow-to-store/add-flow-to-store.execution.d.ts +4 -1
- package/domain/f-flow/get-flow/get-flow.execution.d.ts +4 -1
- package/domain/f-flow/get-flow-host-element/get-flow-host-element.execution.d.ts +4 -1
- package/domain/f-flow/get-flow-state/get-flow-state-connections/get-flow-state-connections.execution.d.ts +4 -1
- package/domain/f-flow/get-flow-state/get-flow-state-nodes/get-flow-state-nodes.execution.d.ts +4 -3
- package/domain/f-flow/get-flow-state/get-flow-state.execution.d.ts +5 -2
- package/domain/f-flow/get-flow-state/providers.d.ts +4 -1
- package/domain/f-flow/providers.d.ts +6 -1
- package/domain/f-flow/remove-flow-from-store/remove-flow-from-store.execution.d.ts +4 -1
- package/domain/f-line-alignment/add-line-alignment-to-store/add-line-alignment-to-store.execution.d.ts +4 -1
- package/domain/f-line-alignment/providers.d.ts +5 -0
- package/domain/f-line-alignment/remove-line-alignment-from-store/remove-line-alignment-from-store.execution.d.ts +4 -1
- package/domain/f-node/add-node-to-store/add-node-to-store.execution.d.ts +4 -1
- package/domain/f-node/calculate-input-connections/calculate-input-connections.execution.d.ts +4 -1
- package/domain/f-node/calculate-nodes-bounding-box/calculate-nodes-bounding-box.execution.d.ts +5 -1
- package/domain/f-node/calculate-nodes-bounding-box-normalized-position/calculate-nodes-bounding-box-normalized-position.execution.d.ts +6 -1
- package/domain/f-node/calculate-output-connections/calculate-output-connections.execution.d.ts +4 -1
- package/domain/f-node/get-node-padding/get-node-padding.execution.d.ts +4 -0
- package/domain/f-node/get-nodes/get-nodes.execution.d.ts +4 -1
- package/domain/f-node/get-parent-nodes/get-parent-nodes.execution.d.ts +4 -1
- package/domain/f-node/providers.d.ts +3 -0
- package/domain/f-node/remove-node-from-store/remove-node-from-store.execution.d.ts +4 -1
- package/domain/f-node/update-node-when-state-or-size-changed/update-node-when-state-or-size-changed.execution.d.ts +28 -1
- package/domain/f-selection/clear-selection/clear-selection.execution.d.ts +3 -0
- package/domain/f-selection/get-can-be-selected-items/get-can-be-selected-items.execution.d.ts +14 -2
- package/domain/f-selection/get-current-selection/get-current-selection.execution.d.ts +3 -0
- package/domain/f-selection/providers.d.ts +3 -0
- package/domain/f-selection/select/select.execution.d.ts +4 -1
- package/domain/f-selection/select-all/select-all.execution.d.ts +5 -1
- package/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.execution.d.ts +7 -5
- package/domain/f-zoom/add-zoom-to-store/add-zoom-to-store.execution.d.ts +4 -1
- package/domain/f-zoom/providers.d.ts +5 -0
- package/domain/f-zoom/remove-zoom-from-store/remove-zoom-from-store.execution.d.ts +4 -1
- package/domain/f-zoom/reset-zoom/reset-zoom.execution.d.ts +4 -1
- package/domain/f-zoom/set-zoom/set-zoom.execution.d.ts +6 -2
- package/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.execution.d.ts +5 -1
- package/domain/get-element-rounded-rect/get-element-rounded-rect.execution.d.ts +5 -1
- package/domain/get-normalized-connector-rect/get-normalized-connector-rect.execution.d.ts +7 -2
- package/domain/get-normalized-element-rect/get-normalized-element-rect.execution.d.ts +7 -2
- package/domain/get-normalized-point/get-normalized-point.execution.d.ts +6 -1
- package/domain/providers.d.ts +7 -1
- package/domain/sort-item-layers/sort-item-layers.execution.d.ts +9 -2
- package/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.execution.d.ts +8 -3
- package/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.execution.d.ts +8 -3
- package/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element.execution.d.ts +4 -0
- package/domain/update-item-and-children-layers/update-item-and-children-layers.execution.d.ts +6 -2
- package/drag-toolkit/drag-and-drop-base.d.ts +60 -0
- package/esm2022/domain/css-cls.mjs +2 -2
- package/esm2022/domain/f-background/add-background-to-store/add-background-to-store.execution.mjs +6 -3
- package/esm2022/domain/f-background/add-pattern-to-background/add-pattern-to-background.execution.mjs +7 -4
- package/esm2022/domain/f-background/providers.mjs +5 -1
- package/esm2022/domain/f-background/remove-background-from-store/remove-background-from-store.execution.mjs +6 -3
- package/esm2022/domain/f-background/set-background-transform/set-background-transform.execution.mjs +6 -3
- package/esm2022/domain/f-canvas/add-canvas-to-store/add-canvas-to-store.execution.mjs +6 -3
- package/esm2022/domain/f-canvas/center-group-or-node/center-group-or-node.execution.mjs +8 -5
- package/esm2022/domain/f-canvas/fit-to-flow/fit-to-flow.execution.mjs +7 -4
- package/esm2022/domain/f-canvas/get-canvas/get-canvas.execution.mjs +6 -3
- package/esm2022/domain/f-canvas/input-canvas-position/input-canvas-position.execution.mjs +6 -3
- package/esm2022/domain/f-canvas/input-canvas-scale/input-canvas-scale.execution.mjs +7 -3
- package/esm2022/domain/f-canvas/providers.mjs +4 -1
- package/esm2022/domain/f-canvas/redraw-canvas-with-animation/redraw-canvas-with-animation.execution.mjs +13 -8
- package/esm2022/domain/f-canvas/remove-canvas-from-store/remove-canvas-from-store.execution.mjs +6 -3
- package/esm2022/domain/f-canvas/reset-scale/reset-scale.execution.mjs +6 -3
- package/esm2022/domain/f-canvas/reset-scale-and-center/reset-scale-and-center.execution.mjs +7 -4
- package/esm2022/domain/f-canvas/update-scale/update-scale.execution.mjs +7 -3
- package/esm2022/domain/f-connection/add-connection-for-create-to-store/add-connection-for-create-to-store.execution.mjs +6 -3
- package/esm2022/domain/f-connection/add-connection-marker-to-store/add-connection-marker-to-store.execution.mjs +6 -3
- package/esm2022/domain/f-connection/add-connection-to-store/add-connection-to-store.execution.mjs +7 -4
- package/esm2022/domain/f-connection/add-snap-connection-to-store/add-snap-connection-to-store.execution.mjs +6 -3
- package/esm2022/domain/f-connection/calculate-connection-line-by-behavior/calculate-connection-line-by-behavior.execution.mjs +4 -1
- package/esm2022/domain/f-connection/calculate-connection-line-by-behavior/fixed-center-behavior.mjs +6 -1
- package/esm2022/domain/f-connection/calculate-connection-line-by-behavior/fixed-outbound-behavior.mjs +6 -1
- package/esm2022/domain/f-connection/calculate-connection-line-by-behavior/floating-behavior.mjs +6 -1
- package/esm2022/domain/f-connection/create-connection-markers/create-connection-markers.execution.mjs +20 -18
- package/esm2022/domain/f-connection/providers.mjs +4 -1
- package/esm2022/domain/f-connection/redraw-connections/redraw-connections.execution.mjs +16 -11
- package/esm2022/domain/f-connection/remove-connection-for-create-from-store/remove-connection-for-create-from-store.execution.mjs +6 -3
- package/esm2022/domain/f-connection/remove-connection-from-store/remove-connection-from-store.execution.mjs +8 -5
- package/esm2022/domain/f-connection/remove-connection-marker-from-store/remove-connection-marker-from-store.execution.mjs +6 -3
- package/esm2022/domain/f-connection/remove-snap-connection-from-store/remove-snap-connection-from-store.execution.mjs +6 -3
- package/esm2022/domain/f-connectors/add-input-to-store/add-input-to-store.execution.mjs +6 -3
- package/esm2022/domain/f-connectors/add-outlet-to-store/add-outlet-to-store.execution.mjs +4 -1
- package/esm2022/domain/f-connectors/add-output-to-store/add-output-to-store.execution.mjs +4 -1
- package/esm2022/domain/f-connectors/find-closest-connector/find-closest-connector.execution.mjs +47 -0
- package/esm2022/domain/f-connectors/find-closest-connector/find-closest-connector.request.mjs +10 -0
- package/esm2022/domain/f-connectors/{find-input-at-position → find-closest-connector}/index.mjs +3 -3
- package/esm2022/domain/f-connectors/find-connectable-connector-using-priority-and-position/find-connectable-connector-using-priority-and-position.execution.mjs +98 -0
- package/esm2022/domain/f-connectors/find-connectable-connector-using-priority-and-position/find-connectable-connector-using-priority-and-position.request.mjs +10 -0
- package/esm2022/domain/f-connectors/find-connectable-connector-using-priority-and-position/index.mjs +3 -0
- package/esm2022/domain/f-connectors/get-all-can-be-connected-inputs-and-rects/get-all-can-be-connected-inputs-and-rects.execution.mjs +6 -3
- package/esm2022/domain/f-connectors/get-all-can-be-connected-source-connectors-and-rects/get-all-can-be-connected-source-connectors-and-rects.execution.mjs +43 -0
- package/esm2022/domain/f-connectors/get-all-can-be-connected-source-connectors-and-rects/get-all-can-be-connected-source-connectors-and-rects.request.mjs +8 -0
- package/esm2022/domain/f-connectors/get-all-can-be-connected-source-connectors-and-rects/index.mjs +3 -0
- package/esm2022/domain/f-connectors/get-connector-and-rect/get-connector-and-rect.execution.mjs +6 -3
- package/esm2022/domain/f-connectors/i-closest-connector.mjs +2 -0
- package/esm2022/domain/f-connectors/index.mjs +7 -6
- package/esm2022/domain/f-connectors/mark-connectable-connectors/index.mjs +3 -0
- package/esm2022/domain/f-connectors/mark-connectable-connectors/mark-connectable-connectors.execution.mjs +30 -0
- package/esm2022/domain/f-connectors/mark-connectable-connectors/mark-connectable-connectors.request.mjs +8 -0
- package/esm2022/domain/f-connectors/providers.mjs +14 -9
- package/esm2022/domain/f-connectors/remove-input-from-store/remove-input-from-store.execution.mjs +6 -3
- package/esm2022/domain/f-connectors/remove-outlet-from-store/remove-outlet-from-store.execution.mjs +6 -3
- package/esm2022/domain/f-connectors/remove-output-from-store/remove-output-from-store.execution.mjs +6 -3
- package/esm2022/domain/f-connectors/unmark-connectable-connectors/index.mjs +3 -0
- package/esm2022/domain/f-connectors/unmark-connectable-connectors/unmark-connectable-connectors.execution.mjs +30 -0
- package/esm2022/domain/f-connectors/unmark-connectable-connectors/unmark-connectable-connectors.request.mjs +8 -0
- package/esm2022/domain/f-draggable/add-dnd-to-store/add-dnd-to-store.execution.mjs +6 -3
- package/esm2022/domain/f-draggable/emit-selection-change-event/emit-selection-change-event.execution.mjs +10 -6
- package/esm2022/domain/f-draggable/end-drag-sequence/end-drag-sequence.execution.mjs +7 -4
- package/esm2022/domain/f-draggable/initialize-drag-sequence/initialize-drag-sequence.execution.mjs +4 -1
- package/esm2022/domain/f-draggable/is-drag-started/is-drag-started.execution.mjs +6 -3
- package/esm2022/domain/f-draggable/on-pointer-move/on-pointer-move.execution.mjs +8 -3
- package/esm2022/domain/f-draggable/prepare-drag-sequence/prepare-drag-sequence.execution.mjs +6 -3
- package/esm2022/domain/f-draggable/providers.mjs +4 -1
- package/esm2022/domain/f-draggable/remove-dnd-from-store/remove-dnd-from-store.execution.mjs +6 -3
- package/esm2022/domain/f-draggable/start-drag-sequence/start-drag-sequence.execution.mjs +9 -6
- package/esm2022/domain/f-flow/add-flow-to-store/add-flow-to-store.execution.mjs +6 -3
- package/esm2022/domain/f-flow/get-flow/get-flow.execution.mjs +6 -3
- package/esm2022/domain/f-flow/get-flow-host-element/get-flow-host-element.execution.mjs +6 -3
- package/esm2022/domain/f-flow/get-flow-state/get-flow-state-connections/get-flow-state-connections.execution.mjs +7 -4
- package/esm2022/domain/f-flow/get-flow-state/get-flow-state-nodes/get-flow-state-nodes.execution.mjs +13 -13
- package/esm2022/domain/f-flow/get-flow-state/get-flow-state.execution.mjs +11 -8
- package/esm2022/domain/f-flow/get-flow-state/providers.mjs +4 -1
- package/esm2022/domain/f-flow/providers.mjs +6 -1
- package/esm2022/domain/f-flow/remove-flow-from-store/remove-flow-from-store.execution.mjs +6 -3
- package/esm2022/domain/f-line-alignment/add-line-alignment-to-store/add-line-alignment-to-store.execution.mjs +6 -3
- package/esm2022/domain/f-line-alignment/providers.mjs +6 -1
- package/esm2022/domain/f-line-alignment/remove-line-alignment-from-store/remove-line-alignment-from-store.execution.mjs +6 -3
- package/esm2022/domain/f-node/add-node-to-store/add-node-to-store.execution.mjs +6 -3
- package/esm2022/domain/f-node/calculate-input-connections/calculate-input-connections.execution.mjs +7 -4
- package/esm2022/domain/f-node/calculate-nodes-bounding-box/calculate-nodes-bounding-box.execution.mjs +7 -3
- package/esm2022/domain/f-node/calculate-nodes-bounding-box-normalized-position/calculate-nodes-bounding-box-normalized-position.execution.mjs +8 -3
- package/esm2022/domain/f-node/calculate-output-connections/calculate-output-connections.execution.mjs +7 -4
- package/esm2022/domain/f-node/get-node-padding/get-node-padding.execution.mjs +5 -1
- package/esm2022/domain/f-node/get-nodes/get-nodes.execution.mjs +6 -3
- package/esm2022/domain/f-node/get-parent-nodes/get-parent-nodes.execution.mjs +9 -6
- package/esm2022/domain/f-node/providers.mjs +4 -1
- package/esm2022/domain/f-node/remove-node-from-store/remove-node-from-store.execution.mjs +6 -3
- package/esm2022/domain/f-node/update-node-when-state-or-size-changed/update-node-when-state-or-size-changed.execution.mjs +30 -3
- package/esm2022/domain/f-selection/clear-selection/clear-selection.execution.mjs +4 -1
- package/esm2022/domain/f-selection/get-can-be-selected-items/get-can-be-selected-items.execution.mjs +20 -8
- package/esm2022/domain/f-selection/get-current-selection/get-current-selection.execution.mjs +4 -1
- package/esm2022/domain/f-selection/providers.mjs +4 -1
- package/esm2022/domain/f-selection/select/select.execution.mjs +7 -4
- package/esm2022/domain/f-selection/select-all/select-all.execution.mjs +8 -4
- package/esm2022/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.execution.mjs +17 -17
- package/esm2022/domain/f-zoom/add-zoom-to-store/add-zoom-to-store.execution.mjs +6 -3
- package/esm2022/domain/f-zoom/providers.mjs +6 -1
- package/esm2022/domain/f-zoom/remove-zoom-from-store/remove-zoom-from-store.execution.mjs +6 -3
- package/esm2022/domain/f-zoom/reset-zoom/reset-zoom.execution.mjs +6 -3
- package/esm2022/domain/f-zoom/set-zoom/set-zoom.execution.mjs +11 -7
- package/esm2022/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.execution.mjs +8 -4
- package/esm2022/domain/get-element-rounded-rect/get-element-rounded-rect.execution.mjs +8 -4
- package/esm2022/domain/get-normalized-connector-rect/get-normalized-connector-rect.execution.mjs +11 -6
- package/esm2022/domain/get-normalized-element-rect/get-normalized-element-rect.execution.mjs +10 -5
- package/esm2022/domain/get-normalized-point/get-normalized-point.execution.mjs +9 -4
- package/esm2022/domain/providers.mjs +7 -1
- package/esm2022/domain/sort-item-layers/sort-item-layers.execution.mjs +15 -8
- package/esm2022/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.execution.mjs +13 -8
- package/esm2022/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.execution.mjs +14 -9
- package/esm2022/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element.execution.mjs +5 -1
- package/esm2022/domain/update-item-and-children-layers/update-item-and-children-layers.execution.mjs +12 -8
- package/esm2022/drag-toolkit/drag-and-drop-base.mjs +55 -1
- package/esm2022/f-canvas/f-canvas.component.mjs +67 -20
- package/esm2022/f-connection/common/domain/f-bezier.path-builder.mjs +7 -2
- package/esm2022/f-connection/common/domain/f-segment.path-builder.mjs +3 -2
- package/esm2022/f-connection/common/domain/f-straight.path-builder.mjs +2 -2
- package/esm2022/f-connection/common/f-connection-base.mjs +16 -12
- package/esm2022/f-connection/common/f-connection-text/f-connection-text-path.directive.mjs +2 -2
- package/esm2022/f-connection/common/f-connection-text/f-connection-text.component.mjs +2 -2
- package/esm2022/f-connection/common/f-gradient/f-connection-gradient.component.mjs +4 -4
- package/esm2022/f-connection/common/f-path/f-connection-path.component.mjs +8 -8
- package/esm2022/f-connection/common/f-selection/f-connection-selection.component.mjs +2 -2
- package/esm2022/f-connection/common/i-has-connection-color.mjs +1 -1
- package/esm2022/f-connection/common/i-has-connection-from-to.mjs +1 -1
- package/esm2022/f-connection/f-connection/f-connection.component.mjs +23 -52
- package/esm2022/f-connection/f-connection-builder/i-f-connection-builder-response.mjs +1 -1
- package/esm2022/f-connection/f-connection-for-create/f-connection-for-create.component.mjs +21 -48
- package/esm2022/f-connection/f-snap-connection/f-snap-connection.component.mjs +21 -48
- package/esm2022/f-connectors/f-node-input/f-node-input.directive.mjs +2 -2
- package/esm2022/f-connectors/f-node-outlet/f-node-outlet.directive.mjs +2 -2
- package/esm2022/f-connectors/f-node-output/f-node-output.directive.mjs +2 -2
- package/esm2022/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.execution.mjs +2 -2
- package/esm2022/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.execution.mjs +3 -3
- package/esm2022/f-draggable/domain/is-connection-under-node/is-connection-under-node.execution.mjs +6 -6
- package/esm2022/f-draggable/f-connection/f-create-connection/create-finalize/f-create-connection-finalize.execution.mjs +3 -3
- package/esm2022/f-draggable/f-connection/f-create-connection/f-create-connection.drag-handler.mjs +5 -5
- package/esm2022/f-draggable/f-connection/f-reassign-connection/f-reassign-connection.drag-handler.mjs +41 -73
- package/esm2022/f-draggable/f-connection/f-reassign-connection/f-reassign-connection.event.mjs +18 -12
- package/esm2022/f-draggable/f-connection/f-reassign-connection/f-reassign-source.drag-handler.mjs +83 -0
- package/esm2022/f-draggable/f-connection/f-reassign-connection/f-reassign-target.drag-handler.mjs +82 -0
- package/esm2022/f-draggable/f-connection/f-reassign-connection/i-f-reassign-connection-drag-result.mjs +1 -1
- package/esm2022/f-draggable/f-connection/f-reassign-connection/i-f-reassign-handler.mjs +8 -0
- package/esm2022/f-draggable/f-connection/f-reassign-connection/index.mjs +5 -1
- package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-finalize/f-reassign-connection-finalize.execution.mjs +27 -21
- package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-preparation/f-reassign-connection-preparation.execution.mjs +8 -11
- package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-preparation/index.mjs +2 -1
- package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-preparation/is-pointer-inside-start-or-end-drag-handles.mjs +17 -0
- package/esm2022/f-draggable/f-drop-to-group/drop-to-group-finalize/f-node-drop-to-group-finalize.execution.mjs +3 -3
- package/esm2022/f-draggable/f-node-move/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.execution.mjs +4 -4
- package/esm2022/f-draggable/f-node-move/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/put-input-connection-handlers-to-array.execution.mjs +2 -2
- package/esm2022/f-draggable/f-node-move/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/put-output-connection-handlers-to-array.execution.mjs +2 -2
- package/esm2022/f-draggable/f-node-move/f-summary-node-move.drag-handler.mjs +2 -2
- package/esm2022/f-draggable/f-node-move/move-finalize/f-node-move-finalize.execution.mjs +2 -2
- package/esm2022/f-draggable/f-node-resize/f-node-resize.drag-handler.mjs +2 -2
- package/esm2022/f-draggable/f-node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.execution.mjs +2 -2
- package/esm2022/f-draggable/f-node-rotate/f-node-rotate.drag-handler.mjs +2 -2
- package/esm2022/f-draggable/f-single-select/f-single-select.execution.mjs +2 -2
- package/esm2022/f-external-item/domain/finalize/f-external-item-finalize.execution.mjs +2 -2
- package/esm2022/f-flow/f-flow.component.mjs +3 -3
- package/esm2022/f-minimap/domain/f-minimap.drag-handler.mjs +1 -1
- package/esm2022/f-minimap/f-minimap-canvas.directive.mjs +3 -4
- package/esm2022/f-minimap/f-minimap-flow.directive.mjs +7 -9
- package/esm2022/f-minimap/f-minimap-view.directive.mjs +3 -3
- package/esm2022/f-minimap/f-minimap.component.mjs +19 -30
- package/esm2022/f-node/f-group.directive.mjs +6 -9
- package/esm2022/f-node/f-node-base.mjs +1 -1
- package/esm2022/f-node/f-node.directive.mjs +6 -9
- package/esm2022/f-zoom/f-zoom.directive.mjs +8 -2
- package/esm2022/mixins/change-selection/change-selection.mjs +3 -2
- package/esm2022/mixins/change-selection/i-selectable.mjs +1 -1
- package/f-canvas/f-canvas.component.d.ts +49 -1
- package/f-connection/common/f-connection-base.d.ts +15 -12
- package/f-connection/common/i-has-connection-color.d.ts +3 -2
- package/f-connection/common/i-has-connection-from-to.d.ts +2 -1
- package/f-connection/f-connection/f-connection.component.d.ts +17 -15
- package/f-connection/f-connection-builder/i-f-connection-builder-response.d.ts +1 -0
- package/f-connection/f-connection-for-create/f-connection-for-create.component.d.ts +16 -15
- package/f-connection/f-snap-connection/f-snap-connection.component.d.ts +16 -15
- package/f-connection/providers.d.ts +1 -1
- package/f-draggable/domain/is-connection-under-node/is-connection-under-node.execution.d.ts +2 -2
- package/f-draggable/f-connection/f-reassign-connection/f-reassign-connection.drag-handler.d.ts +11 -17
- package/f-draggable/f-connection/f-reassign-connection/f-reassign-connection.event.d.ts +9 -6
- package/f-draggable/f-connection/f-reassign-connection/f-reassign-source.drag-handler.d.ts +27 -0
- package/f-draggable/f-connection/f-reassign-connection/f-reassign-target.drag-handler.d.ts +28 -0
- package/f-draggable/f-connection/f-reassign-connection/i-f-reassign-connection-drag-result.d.ts +4 -2
- package/f-draggable/f-connection/f-reassign-connection/i-f-reassign-handler.d.ts +12 -0
- package/f-draggable/f-connection/f-reassign-connection/index.d.ts +4 -0
- package/f-draggable/f-connection/f-reassign-connection/reassign-finalize/f-reassign-connection-finalize.execution.d.ts +6 -6
- package/f-draggable/f-connection/f-reassign-connection/reassign-preparation/f-reassign-connection-preparation.execution.d.ts +0 -1
- package/f-draggable/f-connection/f-reassign-connection/reassign-preparation/index.d.ts +1 -0
- package/f-draggable/f-connection/f-reassign-connection/reassign-preparation/is-pointer-inside-start-or-end-drag-handles.d.ts +5 -0
- package/f-draggable/f-connection/providers.d.ts +1 -1
- package/f-draggable/f-drop-to-group/providers.d.ts +1 -1
- package/f-draggable/f-node-move/create-move-nodes-drag-model-from-selection/providers.d.ts +1 -1
- package/f-draggable/f-node-move/providers.d.ts +1 -1
- package/f-draggable/f-node-resize/providers.d.ts +1 -1
- package/f-draggable/providers.d.ts +1 -1
- package/f-flow/f-flow.component.d.ts +1 -1
- package/f-minimap/domain/providers.d.ts +1 -1
- package/f-minimap/f-minimap-canvas.directive.d.ts +1 -1
- package/f-minimap/f-minimap-flow.directive.d.ts +4 -4
- package/f-minimap/f-minimap-view.directive.d.ts +1 -1
- package/f-minimap/f-minimap.component.d.ts +8 -8
- package/f-node/f-group.directive.d.ts +2 -2
- package/f-node/f-node-base.d.ts +2 -2
- package/f-node/f-node.directive.d.ts +2 -2
- package/f-node/providers.d.ts +1 -1
- package/f-selection-area/domain/providers.d.ts +1 -1
- package/f-storage/providers.d.ts +1 -1
- package/f-zoom/f-zoom.directive.d.ts +1 -0
- package/fesm2022/foblex-flow.mjs +1331 -732
- package/fesm2022/foblex-flow.mjs.map +1 -1
- package/mixins/change-selection/i-selectable.d.ts +2 -1
- package/package.json +1 -1
- package/domain/f-connectors/calculate-closest-input/calculate-closest-input.execution.d.ts +0 -11
- package/domain/f-connectors/calculate-closest-input/calculate-closest-input.request.d.ts +0 -8
- package/domain/f-connectors/calculate-closest-input/index.d.ts +0 -2
- package/domain/f-connectors/find-input-at-position/find-input-at-position.execution.d.ts +0 -25
- package/domain/f-connectors/find-input-at-position/find-input-at-position.request.d.ts +0 -9
- package/domain/f-connectors/find-input-at-position/index.d.ts +0 -2
- package/domain/f-connectors/mark-all-can-be-connected-inputs/index.d.ts +0 -2
- package/domain/f-connectors/mark-all-can-be-connected-inputs/mark-all-can-be-connected-inputs.execution.d.ts +0 -10
- package/domain/f-connectors/mark-all-can-be-connected-inputs/mark-all-can-be-connected-inputs.request.d.ts +0 -6
- package/domain/f-connectors/unmark-all-can-be-connected-inputs/index.d.ts +0 -2
- package/domain/f-connectors/unmark-all-can-be-connected-inputs/unmark-all-can-be-connected-inputs.execution.d.ts +0 -10
- package/domain/f-connectors/unmark-all-can-be-connected-inputs/unmark-all-can-be-connected-inputs.request.d.ts +0 -6
- package/esm2022/domain/f-connectors/calculate-closest-input/calculate-closest-input.execution.mjs +0 -42
- package/esm2022/domain/f-connectors/calculate-closest-input/calculate-closest-input.request.mjs +0 -10
- package/esm2022/domain/f-connectors/calculate-closest-input/index.mjs +0 -3
- package/esm2022/domain/f-connectors/find-input-at-position/find-input-at-position.execution.mjs +0 -92
- package/esm2022/domain/f-connectors/find-input-at-position/find-input-at-position.request.mjs +0 -12
- package/esm2022/domain/f-connectors/i-closest-input.mjs +0 -2
- package/esm2022/domain/f-connectors/mark-all-can-be-connected-inputs/index.mjs +0 -3
- package/esm2022/domain/f-connectors/mark-all-can-be-connected-inputs/mark-all-can-be-connected-inputs.execution.mjs +0 -27
- package/esm2022/domain/f-connectors/mark-all-can-be-connected-inputs/mark-all-can-be-connected-inputs.request.mjs +0 -8
- package/esm2022/domain/f-connectors/unmark-all-can-be-connected-inputs/index.mjs +0 -3
- package/esm2022/domain/f-connectors/unmark-all-can-be-connected-inputs/unmark-all-can-be-connected-inputs.execution.mjs +0 -27
- package/esm2022/domain/f-connectors/unmark-all-can-be-connected-inputs/unmark-all-can-be-connected-inputs.request.mjs +0 -8
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const F_DRAGGABLE_PROVIDERS: (typeof import("./
|
|
1
|
+
export declare const F_DRAGGABLE_PROVIDERS: (typeof import("./domain").GetNormalizedParentNodeRectExecution | typeof import("./domain").IsArrayHasParentNodeExecution | typeof import("./domain").IsConnectionUnderNodeExecution | typeof import("./f-canvas").FCanvasMoveFinalizeExecution | typeof import("./f-canvas").FCanvasMovePreparationExecution | typeof import("./f-connection").GetFirstConnectableOutputExecution | typeof import("./f-connection").FCreateConnectionFinalizeExecution | typeof import("./f-connection").FCreateConnectionDragHandlerPreparationExecution | typeof import("./f-connection").FCreateConnectionFromOutletPreparationExecution | typeof import("./f-connection").FCreateConnectionFromOutputPreparationExecution | typeof import("../f-external-item").FExternalItemCreatePlaceholderExecution | typeof import("../f-external-item").FExternalItemCreatePreviewExecution | typeof import("../f-external-item").FExternalItemFinalizeExecution | typeof import("../f-external-item").FExternalItemPreparationExecution | typeof import("../f-external-item").PreventDefaultIsExternalItemExecution | typeof import("./f-node-move").CalculateCommonNodeMoveLimitsExecution | typeof import("./f-node-move").PutInputConnectionHandlersToArrayExecution | typeof import("./f-node-move").PutOutputConnectionHandlersToArrayExecution | typeof import("./f-node-move").CalculateNodeMoveLimitsExecution | typeof import("./f-node-move").CreateMoveNodesDragModelFromSelectionExecution | typeof import("./f-node-move").LineAlignmentPreparationExecution | typeof import("./f-node-move").FNodeMovePreparationExecution | typeof import("./f-node-move").FNodeMoveFinalizeExecution | typeof import("./f-drop-to-group").FNodeDropToGroupFinalizeExecution | typeof import("./f-drop-to-group").FNodeDropToGroupPreparationExecution | typeof import("./f-connection").FReassignConnectionFinalizeExecution | typeof import("./f-connection").FReassignConnectionPreparationExecution | typeof import("./f-connection").FCreateConnectionPreparationExecution | typeof import("./f-node-resize").GetNormalizedChildrenNodesRectExecution | typeof import("./f-node-resize").GetNodeResizeRestrictionsExecution | typeof import("./f-node-resize").ApplyChildResizeRestrictionsExecution | typeof import("./f-node-resize").ApplyParentResizeRestrictionsExecution | typeof import("./f-node-resize").CalculateChangedPositionExecution | typeof import("./f-node-resize").CalculateChangedSizeExecution | typeof import("./f-node-resize").FNodeResizeFinalizeExecution | typeof import("./f-node-resize").FNodeResizePreparationExecution | typeof import("./f-node-rotate").FNodeRotateFinalizeExecution | typeof import("./f-node-rotate").FNodeRotatePreparationExecution | typeof import("./f-single-select").FSingleSelectExecution | typeof import("@foblex/flow").CalculateFlowPointFromMinimapPointExecution | typeof import("@foblex/flow").MinimapDragPreparationExecution | typeof import("@foblex/flow").MinimapDragFinalizeExecution | typeof import("@foblex/flow").MinimapDrawNodesExecution | typeof import("@foblex/flow").MinimapCalculateViewBoxExecution | typeof import("@foblex/flow").MinimapCalculateSvgScaleAndViewBoxExecution | typeof import("../f-selection-area").SelectionAreaFinalizeExecution | typeof import("../f-selection-area").SelectionAreaPreparationExecution)[];
|
|
@@ -40,5 +40,5 @@ export declare class FFlowComponent extends FFlowBase implements OnInit, AfterCo
|
|
|
40
40
|
clearSelection(): void;
|
|
41
41
|
ngOnDestroy(): void;
|
|
42
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<FFlowComponent, never>;
|
|
43
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FFlowComponent, "f-flow", never, { "fId": { "alias": "fFlowId"; "required": false; "isSignal": true; }; }, { "fLoaded": "fLoaded"; }, never, ["[fDefinitions]", "f-background", "f-line-alignment", "f-canvas", "f-selection-area", "
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FFlowComponent, "f-flow", never, { "fId": { "alias": "fFlowId"; "required": false; "isSignal": true; }; }, { "fLoaded": "fLoaded"; }, never, ["[fDefinitions]", "f-background", "f-line-alignment", "f-canvas", "f-selection-area", "*"], true, never>;
|
|
44
44
|
}
|
|
@@ -2,4 +2,4 @@ import { CalculateFlowPointFromMinimapPointExecution } from './calculate-flow-po
|
|
|
2
2
|
import { MinimapDrawNodesExecution } from './minimap-draw-nodes';
|
|
3
3
|
import { MinimapCalculateViewBoxExecution } from './minimap-calculate-view-box';
|
|
4
4
|
import { MinimapCalculateSvgScaleAndViewBoxExecution } from './minimap-calculate-svg-scale-and-view-box';
|
|
5
|
-
export declare const F_MINIMAP_DRAG_AND_DROP_PROVIDERS: (typeof CalculateFlowPointFromMinimapPointExecution | typeof import("./minimap-drag-
|
|
5
|
+
export declare const F_MINIMAP_DRAG_AND_DROP_PROVIDERS: (typeof CalculateFlowPointFromMinimapPointExecution | typeof import("./minimap-drag-preparation").MinimapDragPreparationExecution | typeof import("./minimap-drag-finalize").MinimapDragFinalizeExecution | typeof MinimapDrawNodesExecution | typeof MinimapCalculateViewBoxExecution | typeof MinimapCalculateSvgScaleAndViewBoxExecution)[];
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { FMinimapData } from './domain';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class FMinimapFlowDirective {
|
|
4
|
-
fMinSize: number
|
|
5
|
-
private
|
|
6
|
-
private _elementReference;
|
|
4
|
+
readonly fMinSize: import("@angular/core").InputSignal<number>;
|
|
5
|
+
private readonly _mediator;
|
|
6
|
+
private readonly _elementReference;
|
|
7
7
|
get hostElement(): SVGSVGElement;
|
|
8
8
|
model: FMinimapData;
|
|
9
9
|
redraw(): void;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<FMinimapFlowDirective, never>;
|
|
11
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FMinimapFlowDirective, "svg[fMinimapFlow]", never, { "fMinSize": { "alias": "fMinSize"; "required": false; }; }, {}, never, never, false, never>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FMinimapFlowDirective, "svg[fMinimapFlow]", never, { "fMinSize": { "alias": "fMinSize"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
12
12
|
}
|
|
@@ -6,18 +6,18 @@ import { IFDragAndDropPlugin } from '../f-draggable';
|
|
|
6
6
|
import { IPointerEvent } from "../drag-toolkit";
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class FMinimapComponent implements AfterViewInit, IFDragAndDropPlugin {
|
|
9
|
-
private _destroyRef;
|
|
10
|
-
private
|
|
11
|
-
private
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
fMinSize: number
|
|
9
|
+
private readonly _destroyRef;
|
|
10
|
+
private readonly _mediator;
|
|
11
|
+
private readonly _browser;
|
|
12
|
+
readonly _canvas: import("@angular/core").Signal<FMinimapCanvasDirective>;
|
|
13
|
+
readonly _flow: import("@angular/core").Signal<FMinimapFlowDirective>;
|
|
14
|
+
readonly _minimapView: import("@angular/core").Signal<FMinimapViewDirective>;
|
|
15
|
+
readonly fMinSize: import("@angular/core").InputSignal<number>;
|
|
16
16
|
ngAfterViewInit(): void;
|
|
17
17
|
private _listenTransformChanges;
|
|
18
18
|
private _redraw;
|
|
19
19
|
onPointerDown(event: IPointerEvent): void;
|
|
20
20
|
onPointerUp(event: IPointerEvent): void;
|
|
21
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<FMinimapComponent, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FMinimapComponent, "f-minimap", ["fComponent"], { "fMinSize": { "alias": "fMinSize"; "required": false; }; }, {}, never, never, false, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FMinimapComponent, "f-minimap", ["fComponent"], { "fMinSize": { "alias": "fMinSize"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
23
23
|
}
|
|
@@ -9,7 +9,7 @@ export declare class FGroupDirective extends FNodeBase implements OnInit, AfterV
|
|
|
9
9
|
private fBrowser;
|
|
10
10
|
private readonly _destroyRef;
|
|
11
11
|
private readonly _fMediator;
|
|
12
|
-
fId: string
|
|
12
|
+
fId: import("@angular/core").InputSignal<string>;
|
|
13
13
|
fParentId: string | null | undefined;
|
|
14
14
|
set position(value: IPoint);
|
|
15
15
|
get position(): IPoint;
|
|
@@ -34,7 +34,7 @@ export declare class FGroupDirective extends FNodeBase implements OnInit, AfterV
|
|
|
34
34
|
refresh(): void;
|
|
35
35
|
ngOnDestroy(): void;
|
|
36
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<FGroupDirective, never>;
|
|
37
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FGroupDirective, "[fGroup]", ["fComponent"], { "fId": { "alias": "fGroupId"; "required": false; }; "fParentId": { "alias": "fGroupParentId"; "required": false; }; "position": { "alias": "fGroupPosition"; "required": false; }; "rotate": { "alias": "fGroupRotate"; "required": false; }; "size": { "alias": "fGroupSize"; "required": false; }; "fDraggingDisabled": { "alias": "fGroupDraggingDisabled"; "required": false; }; "fSelectionDisabled": { "alias": "fGroupSelectionDisabled"; "required": false; }; "fIncludePadding": { "alias": "fIncludePadding"; "required": false; }; "fConnectOnNode": { "alias": "fConnectOnNode"; "required": false; }; "fMinimapClass": { "alias": "fMinimapClass"; "required": false; }; }, { "positionChange": "fGroupPositionChange"; "rotateChange": "fGroupRotateChange"; "sizeChange": "fGroupSizeChange"; }, never, never, false, never>;
|
|
37
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FGroupDirective, "[fGroup]", ["fComponent"], { "fId": { "alias": "fGroupId"; "required": false; "isSignal": true; }; "fParentId": { "alias": "fGroupParentId"; "required": false; }; "position": { "alias": "fGroupPosition"; "required": false; }; "rotate": { "alias": "fGroupRotate"; "required": false; }; "size": { "alias": "fGroupSize"; "required": false; }; "fDraggingDisabled": { "alias": "fGroupDraggingDisabled"; "required": false; }; "fSelectionDisabled": { "alias": "fGroupSelectionDisabled"; "required": false; }; "fIncludePadding": { "alias": "fIncludePadding"; "required": false; }; "fConnectOnNode": { "alias": "fConnectOnNode"; "required": false; }; "fMinimapClass": { "alias": "fMinimapClass"; "required": false; }; }, { "positionChange": "fGroupPositionChange"; "rotateChange": "fGroupRotateChange"; "sizeChange": "fGroupSizeChange"; }, never, never, false, never>;
|
|
38
38
|
static ngAcceptInputType_fDraggingDisabled: unknown;
|
|
39
39
|
static ngAcceptInputType_fSelectionDisabled: unknown;
|
|
40
40
|
static ngAcceptInputType_fIncludePadding: unknown;
|
package/f-node/f-node-base.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EventEmitter, InjectionToken } from '@angular/core';
|
|
1
|
+
import { EventEmitter, InjectionToken, Signal } from '@angular/core';
|
|
2
2
|
import { IPoint, IRect, ISize } from '@foblex/2d';
|
|
3
3
|
import { FConnectorBase } from '../f-connectors';
|
|
4
4
|
import { IHasHostElement } from '../i-has-host-element';
|
|
@@ -11,7 +11,7 @@ declare const MIXIN_BASE: import("../mixins").Constructor<ISelectable> & import(
|
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
13
|
export declare abstract class FNodeBase extends MIXIN_BASE implements ISelectable, IHasHostElement {
|
|
14
|
-
abstract fId: string
|
|
14
|
+
abstract fId: Signal<string>;
|
|
15
15
|
abstract fParentId: string | null | undefined;
|
|
16
16
|
readonly stateChanges: FChannel;
|
|
17
17
|
abstract positionChange: EventEmitter<IPoint>;
|
|
@@ -9,7 +9,7 @@ export declare class FNodeDirective extends FNodeBase implements OnInit, AfterVi
|
|
|
9
9
|
private fBrowser;
|
|
10
10
|
private readonly _destroyRef;
|
|
11
11
|
private readonly _fMediator;
|
|
12
|
-
fId: string
|
|
12
|
+
fId: import("@angular/core").InputSignal<string>;
|
|
13
13
|
fParentId: string | null | undefined;
|
|
14
14
|
set position(value: IPoint);
|
|
15
15
|
get position(): IPoint;
|
|
@@ -34,7 +34,7 @@ export declare class FNodeDirective extends FNodeBase implements OnInit, AfterVi
|
|
|
34
34
|
refresh(): void;
|
|
35
35
|
ngOnDestroy(): void;
|
|
36
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<FNodeDirective, never>;
|
|
37
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FNodeDirective, "[fNode]", ["fComponent"], { "fId": { "alias": "fNodeId"; "required": false; }; "fParentId": { "alias": "fNodeParentId"; "required": false; }; "position": { "alias": "fNodePosition"; "required": false; }; "size": { "alias": "fNodeSize"; "required": false; }; "rotate": { "alias": "fNodeRotate"; "required": false; }; "fDraggingDisabled": { "alias": "fNodeDraggingDisabled"; "required": false; }; "fSelectionDisabled": { "alias": "fNodeSelectionDisabled"; "required": false; }; "fIncludePadding": { "alias": "fIncludePadding"; "required": false; }; "fConnectOnNode": { "alias": "fConnectOnNode"; "required": false; }; "fMinimapClass": { "alias": "fMinimapClass"; "required": false; }; }, { "positionChange": "fNodePositionChange"; "rotateChange": "fNodeRotateChange"; "sizeChange": "fNodeSizeChange"; }, never, never, false, never>;
|
|
37
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FNodeDirective, "[fNode]", ["fComponent"], { "fId": { "alias": "fNodeId"; "required": false; "isSignal": true; }; "fParentId": { "alias": "fNodeParentId"; "required": false; }; "position": { "alias": "fNodePosition"; "required": false; }; "size": { "alias": "fNodeSize"; "required": false; }; "rotate": { "alias": "fNodeRotate"; "required": false; }; "fDraggingDisabled": { "alias": "fNodeDraggingDisabled"; "required": false; }; "fSelectionDisabled": { "alias": "fNodeSelectionDisabled"; "required": false; }; "fIncludePadding": { "alias": "fIncludePadding"; "required": false; }; "fConnectOnNode": { "alias": "fConnectOnNode"; "required": false; }; "fMinimapClass": { "alias": "fMinimapClass"; "required": false; }; }, { "positionChange": "fNodePositionChange"; "rotateChange": "fNodeRotateChange"; "sizeChange": "fNodeSizeChange"; }, never, never, false, never>;
|
|
38
38
|
static ngAcceptInputType_fDraggingDisabled: unknown;
|
|
39
39
|
static ngAcceptInputType_fSelectionDisabled: unknown;
|
|
40
40
|
static ngAcceptInputType_fIncludePadding: unknown;
|
package/f-node/providers.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { FNodeDirective } from './f-node.directive';
|
|
2
2
|
import { FGroupDirective } from './f-group.directive';
|
|
3
3
|
import { FRotateHandleDirective } from './f-rotate-handle';
|
|
4
|
-
export declare const F_NODE_PROVIDERS: (typeof
|
|
4
|
+
export declare const F_NODE_PROVIDERS: (typeof FNodeDirective | typeof FGroupDirective | typeof FRotateHandleDirective)[];
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { SelectionAreaPreparationExecution } from './selection-area-preparation';
|
|
2
2
|
import { SelectionAreaFinalizeExecution } from './selection-area-finalize';
|
|
3
|
-
export declare const F_SELECTION_AREA_DRAG_AND_DROP_PROVIDERS: (typeof
|
|
3
|
+
export declare const F_SELECTION_AREA_DRAG_AND_DROP_PROVIDERS: (typeof SelectionAreaFinalizeExecution | typeof SelectionAreaPreparationExecution)[];
|
package/f-storage/providers.d.ts
CHANGED
|
@@ -4,4 +4,4 @@ import { FComponentsStore } from './f-components-store';
|
|
|
4
4
|
import { ListenCountChangesExecution } from './features/listen-count-changes';
|
|
5
5
|
import { ListenTransformChangesExecution } from './features/listen-transform-changes';
|
|
6
6
|
import { NotifyTransformChangedExecution } from './features/notify-transform-changed';
|
|
7
|
-
export declare const F_STORAGE_PROVIDERS: (typeof
|
|
7
|
+
export declare const F_STORAGE_PROVIDERS: (typeof FComponentsStore | typeof NotifyDataChangedExecution | typeof ListenDataChangesExecution | typeof ListenCountChangesExecution | typeof ListenTransformChangesExecution | typeof NotifyTransformChangedExecution)[];
|
|
@@ -22,6 +22,7 @@ export declare class FZoomDirective extends FZoomBase implements OnInit, AfterVi
|
|
|
22
22
|
ngOnChanges(changes: SimpleChanges): void;
|
|
23
23
|
private _listenTriggers;
|
|
24
24
|
private _onWheel;
|
|
25
|
+
private _normalizeWheelStep;
|
|
25
26
|
private _calculateDirection;
|
|
26
27
|
private _onDoubleClick;
|
|
27
28
|
private _getToCenterPosition;
|