@foblex/flow 16.0.5 → 17.0.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/f-background/add-background-to-store/add-background-to-store-request.d.ts +5 -0
- package/domain/f-background/add-background-to-store/add-background-to-store.execution.d.ts +9 -0
- package/domain/f-background/add-background-to-store/index.d.ts +2 -0
- package/domain/f-background/index.d.ts +3 -0
- package/domain/f-background/providers.d.ts +4 -1
- package/domain/f-background/remove-background-from-store/index.d.ts +2 -0
- package/domain/f-background/remove-background-from-store/remove-background-from-store-request.d.ts +5 -0
- package/domain/f-background/remove-background-from-store/remove-background-from-store.execution.d.ts +9 -0
- package/domain/f-background/set-background-transform/index.d.ts +2 -0
- package/domain/f-background/set-background-transform/set-background-transform-request.d.ts +5 -0
- package/domain/f-background/set-background-transform/set-background-transform.execution.d.ts +9 -0
- package/domain/f-canvas/add-canvas-to-store/add-canvas-to-store-request.d.ts +5 -0
- package/domain/f-canvas/add-canvas-to-store/add-canvas-to-store.execution.d.ts +9 -0
- package/domain/f-canvas/add-canvas-to-store/index.d.ts +2 -0
- package/domain/f-canvas/center-group-or-node/center-group-or-node.execution.d.ts +2 -3
- package/domain/f-canvas/fit-to-flow/fit-to-flow.execution.d.ts +3 -5
- package/domain/f-canvas/get-canvas/get-canvas-request.d.ts +2 -0
- package/domain/f-canvas/get-canvas/get-canvas.execution.d.ts +10 -0
- package/domain/f-canvas/get-canvas/index.d.ts +2 -0
- package/domain/f-canvas/index.d.ts +4 -0
- package/domain/f-canvas/input-canvas-position/input-canvas-position.execution.d.ts +1 -3
- package/domain/f-canvas/input-canvas-scale/input-canvas-scale.execution.d.ts +1 -3
- package/domain/f-canvas/providers.d.ts +5 -1
- package/domain/f-canvas/redraw-canvas-with-animation/index.d.ts +2 -0
- package/domain/f-canvas/redraw-canvas-with-animation/redraw-canvas-with-animation-request.d.ts +4 -0
- package/domain/f-canvas/redraw-canvas-with-animation/redraw-canvas-with-animation.execution.d.ts +12 -0
- package/domain/f-canvas/remove-canvas-from-store/index.d.ts +2 -0
- package/domain/f-canvas/remove-canvas-from-store/remove-canvas-from-store-request.d.ts +2 -0
- package/domain/f-canvas/remove-canvas-from-store/remove-canvas-from-store.execution.d.ts +9 -0
- package/domain/f-canvas/reset-scale/reset-scale.execution.d.ts +1 -3
- package/domain/f-canvas/reset-scale-and-center/reset-scale-and-center.execution.d.ts +3 -5
- package/domain/f-canvas/update-scale/update-scale.execution.d.ts +1 -3
- package/domain/f-connection/add-connection-for-create-to-store/add-connection-for-create-to-store-request.d.ts +5 -0
- package/domain/f-connection/add-connection-for-create-to-store/add-connection-for-create-to-store.execution.d.ts +9 -0
- package/domain/f-connection/add-connection-for-create-to-store/index.d.ts +2 -0
- package/domain/f-connection/add-connection-marker-to-store/add-connection-marker-to-store-request.d.ts +5 -0
- package/domain/f-connection/add-connection-marker-to-store/add-connection-marker-to-store.execution.d.ts +9 -0
- package/domain/f-connection/add-connection-marker-to-store/index.d.ts +2 -0
- package/domain/f-connection/add-connection-to-store/add-connection-to-store.execution.d.ts +1 -3
- package/domain/f-connection/add-snap-connection-to-store/add-snap-connection-to-store-request.d.ts +5 -0
- package/domain/f-connection/add-snap-connection-to-store/add-snap-connection-to-store.execution.d.ts +9 -0
- package/domain/f-connection/add-snap-connection-to-store/index.d.ts +2 -0
- package/domain/{create-connection-markers → f-connection/create-connection-markers}/create-connection-markers-request.d.ts +1 -1
- package/domain/{create-connection-markers → f-connection/create-connection-markers}/create-connection-markers.execution.d.ts +2 -2
- package/domain/f-connection/index.d.ts +8 -0
- package/domain/f-connection/providers.d.ts +9 -1
- package/domain/{redraw-connections → f-connection/redraw-connections}/redraw-connections.execution.d.ts +1 -1
- package/domain/f-connection/remove-connection-for-create-from-store/index.d.ts +2 -0
- package/domain/f-connection/remove-connection-for-create-from-store/remove-connection-for-create-from-store-request.d.ts +2 -0
- package/domain/f-connection/remove-connection-for-create-from-store/remove-connection-for-create-from-store.execution.d.ts +9 -0
- package/domain/f-connection/remove-connection-from-store/remove-connection-from-store.execution.d.ts +2 -3
- package/domain/f-connection/remove-connection-marker-from-store/index.d.ts +2 -0
- package/domain/f-connection/remove-connection-marker-from-store/remove-connection-marker-from-store-request.d.ts +5 -0
- package/domain/f-connection/remove-connection-marker-from-store/remove-connection-marker-from-store.execution.d.ts +9 -0
- package/domain/f-connection/remove-snap-connection-from-store/index.d.ts +2 -0
- package/domain/f-connection/remove-snap-connection-from-store/remove-snap-connection-from-store-request.d.ts +2 -0
- package/domain/f-connection/remove-snap-connection-from-store/remove-snap-connection-from-store.execution.d.ts +9 -0
- package/domain/f-connectors/add-input-to-store/add-input-to-store-request.d.ts +5 -0
- package/domain/f-connectors/add-input-to-store/add-input-to-store.execution.d.ts +9 -0
- package/domain/f-connectors/add-input-to-store/index.d.ts +2 -0
- package/domain/f-connectors/add-outlet-to-store/add-outlet-to-store-request.d.ts +5 -0
- package/domain/f-connectors/add-outlet-to-store/add-outlet-to-store.execution.d.ts +9 -0
- package/domain/f-connectors/add-outlet-to-store/index.d.ts +2 -0
- package/domain/f-connectors/add-output-to-store/add-output-to-store-request.d.ts +5 -0
- package/domain/f-connectors/add-output-to-store/add-output-to-store.execution.d.ts +9 -0
- package/domain/f-connectors/add-output-to-store/index.d.ts +2 -0
- package/domain/f-connectors/index.d.ts +7 -0
- package/domain/f-connectors/providers.d.ts +7 -0
- package/domain/f-connectors/remove-input-from-store/index.d.ts +2 -0
- package/domain/f-connectors/remove-input-from-store/remove-input-from-store-request.d.ts +5 -0
- package/domain/f-connectors/remove-input-from-store/remove-input-from-store.execution.d.ts +9 -0
- package/domain/f-connectors/remove-outlet-from-store/index.d.ts +2 -0
- package/domain/f-connectors/remove-outlet-from-store/remove-outlet-from-store-request.d.ts +5 -0
- package/domain/f-connectors/remove-outlet-from-store/remove-outlet-from-store.execution.d.ts +9 -0
- package/domain/f-connectors/remove-output-from-store/index.d.ts +2 -0
- package/domain/f-connectors/remove-output-from-store/remove-output-from-store-request.d.ts +5 -0
- package/domain/f-connectors/remove-output-from-store/remove-output-from-store.execution.d.ts +9 -0
- package/domain/f-draggable/add-dnd-to-store/add-dnd-to-store-request.d.ts +5 -0
- package/domain/f-draggable/add-dnd-to-store/add-dnd-to-store.execution.d.ts +9 -0
- package/domain/f-draggable/add-dnd-to-store/index.d.ts +2 -0
- package/domain/f-draggable/emit-selection-change-event/emit-selection-change-event-request.d.ts +2 -0
- package/domain/f-draggable/emit-selection-change-event/emit-selection-change-event.execution.d.ts +12 -0
- package/domain/f-draggable/emit-selection-change-event/index.d.ts +2 -0
- package/domain/f-draggable/end-drag-sequence/end-drag-sequence-request.d.ts +2 -0
- package/domain/f-draggable/end-drag-sequence/end-drag-sequence.execution.d.ts +11 -0
- package/domain/f-draggable/end-drag-sequence/index.d.ts +2 -0
- package/domain/f-draggable/index.d.ts +10 -0
- package/domain/f-draggable/initialize-drag-sequence/index.d.ts +2 -0
- package/domain/f-draggable/initialize-drag-sequence/initialize-drag-sequence-request.d.ts +2 -0
- package/domain/f-draggable/initialize-drag-sequence/initialize-drag-sequence.execution.d.ts +9 -0
- package/domain/f-draggable/is-drag-started/index.d.ts +2 -0
- package/domain/f-draggable/is-drag-started/is-drag-started-request.d.ts +2 -0
- package/domain/f-draggable/is-drag-started/is-drag-started.execution.d.ts +9 -0
- package/domain/f-draggable/on-pointer-move/index.d.ts +2 -0
- package/domain/f-draggable/on-pointer-move/on-pointer-move-request.d.ts +5 -0
- package/domain/f-draggable/on-pointer-move/on-pointer-move.execution.d.ts +14 -0
- package/domain/f-draggable/prepare-drag-sequence/index.d.ts +2 -0
- package/domain/f-draggable/prepare-drag-sequence/prepare-drag-sequence-request.d.ts +2 -0
- package/domain/f-draggable/prepare-drag-sequence/prepare-drag-sequence.execution.d.ts +11 -0
- package/domain/f-draggable/providers.d.ts +10 -0
- package/domain/f-draggable/remove-dnd-from-store/index.d.ts +2 -0
- package/domain/f-draggable/remove-dnd-from-store/remove-dnd-from-store-request.d.ts +2 -0
- package/domain/f-draggable/remove-dnd-from-store/remove-dnd-from-store.execution.d.ts +9 -0
- package/domain/f-draggable/start-drag-sequence/index.d.ts +2 -0
- package/domain/f-draggable/start-drag-sequence/start-drag-sequence-request.d.ts +2 -0
- package/domain/f-draggable/start-drag-sequence/start-drag-sequence.execution.d.ts +12 -0
- package/domain/f-flow/add-flow-to-store/add-flow-to-store-request.d.ts +5 -0
- package/domain/f-flow/add-flow-to-store/add-flow-to-store.execution.d.ts +9 -0
- package/domain/f-flow/add-flow-to-store/index.d.ts +2 -0
- package/domain/f-flow/get-flow/get-flow-request.d.ts +2 -0
- package/domain/f-flow/get-flow/get-flow.execution.d.ts +10 -0
- package/domain/f-flow/get-flow/index.d.ts +2 -0
- package/domain/f-flow/get-flow-host-element/get-flow-host-element.execution.d.ts +9 -0
- package/domain/f-flow/get-flow-host-element/get-flow-host-element.request.d.ts +2 -0
- package/domain/f-flow/get-flow-host-element/index.d.ts +2 -0
- package/domain/f-flow/index.d.ts +5 -0
- package/domain/f-flow/providers.d.ts +5 -0
- package/domain/f-flow/remove-flow-from-store/index.d.ts +2 -0
- package/domain/f-flow/remove-flow-from-store/remove-flow-from-store-request.d.ts +2 -0
- package/domain/f-flow/remove-flow-from-store/remove-flow-from-store.execution.d.ts +9 -0
- package/domain/f-line-alignment/add-line-alignment-to-store/add-line-alignment-to-store-request.d.ts +5 -0
- package/domain/f-line-alignment/add-line-alignment-to-store/add-line-alignment-to-store.execution.d.ts +9 -0
- package/domain/f-line-alignment/add-line-alignment-to-store/index.d.ts +2 -0
- package/domain/f-line-alignment/index.d.ts +3 -0
- package/domain/f-line-alignment/providers.d.ts +3 -0
- package/domain/f-line-alignment/remove-line-alignment-from-store/index.d.ts +2 -0
- package/domain/f-line-alignment/remove-line-alignment-from-store/remove-line-alignment-from-store-request.d.ts +2 -0
- package/domain/f-line-alignment/remove-line-alignment-from-store/remove-line-alignment-from-store.execution.d.ts +9 -0
- package/domain/f-node/add-node-to-store/add-node-to-store-request.d.ts +5 -0
- package/domain/f-node/add-node-to-store/add-node-to-store.execution.d.ts +9 -0
- package/domain/f-node/add-node-to-store/index.d.ts +2 -0
- package/domain/f-node/calculate-nodes-bounding-box/calculate-nodes-bounding-box.execution.d.ts +12 -0
- package/domain/f-node/calculate-nodes-bounding-box/calculate-nodes-bounding-box.request.d.ts +2 -0
- package/domain/f-node/calculate-nodes-bounding-box/index.d.ts +2 -0
- package/domain/f-node/get-nodes/get-nodes-request.d.ts +2 -0
- package/domain/f-node/get-nodes/get-nodes.execution.d.ts +10 -0
- package/domain/f-node/get-nodes/index.d.ts +2 -0
- package/domain/f-node/index.d.ts +6 -0
- package/domain/f-node/providers.d.ts +6 -0
- package/domain/f-node/remove-node-from-store/index.d.ts +2 -0
- package/domain/f-node/remove-node-from-store/remove-node-from-store-request.d.ts +5 -0
- package/domain/f-node/remove-node-from-store/remove-node-from-store.execution.d.ts +9 -0
- package/domain/f-node/update-node-when-state-or-size-changed/index.d.ts +2 -0
- package/domain/f-node/update-node-when-state-or-size-changed/update-node-when-state-or-size-changed-request.d.ts +7 -0
- package/domain/f-node/update-node-when-state-or-size-changed/update-node-when-state-or-size-changed.execution.d.ts +10 -0
- package/domain/get-element-rect-in-flow/get-element-rect-in-flow.execution.d.ts +5 -6
- package/domain/get-flow-state/i-f-flow-state-connection.d.ts +1 -1
- package/domain/index.d.ts +7 -7
- package/domain/is-mobile.d.ts +1 -0
- package/domain/providers.d.ts +1 -7
- package/domain/transition-end.d.ts +1 -0
- package/esm2022/domain/f-background/add-background-to-store/add-background-to-store-request.mjs +6 -0
- package/esm2022/domain/f-background/add-background-to-store/add-background-to-store.execution.mjs +23 -0
- package/esm2022/domain/f-background/add-background-to-store/index.mjs +3 -0
- package/esm2022/domain/f-background/index.mjs +4 -1
- package/esm2022/domain/f-background/providers.mjs +8 -2
- package/esm2022/domain/f-background/remove-background-from-store/index.mjs +3 -0
- package/esm2022/domain/f-background/remove-background-from-store/remove-background-from-store-request.mjs +6 -0
- package/esm2022/domain/f-background/remove-background-from-store/remove-background-from-store.execution.mjs +23 -0
- package/esm2022/domain/f-background/set-background-transform/index.mjs +3 -0
- package/esm2022/domain/f-background/set-background-transform/set-background-transform-request.mjs +6 -0
- package/esm2022/domain/f-background/set-background-transform/set-background-transform.execution.mjs +23 -0
- package/esm2022/domain/f-canvas/add-canvas-to-store/add-canvas-to-store-request.mjs +6 -0
- package/esm2022/domain/f-canvas/add-canvas-to-store/add-canvas-to-store.execution.mjs +23 -0
- package/esm2022/domain/f-canvas/add-canvas-to-store/index.mjs +3 -0
- package/esm2022/domain/f-canvas/center-group-or-node/center-group-or-node.execution.mjs +15 -16
- package/esm2022/domain/f-canvas/fit-to-flow/fit-to-flow.execution.mjs +15 -18
- package/esm2022/domain/f-canvas/get-canvas/get-canvas-request.mjs +3 -0
- package/esm2022/domain/f-canvas/get-canvas/get-canvas.execution.mjs +27 -0
- package/esm2022/domain/f-canvas/get-canvas/index.mjs +3 -0
- package/esm2022/domain/f-canvas/index.mjs +5 -1
- package/esm2022/domain/f-canvas/input-canvas-position/input-canvas-position.execution.mjs +8 -8
- package/esm2022/domain/f-canvas/input-canvas-scale/input-canvas-scale.execution.mjs +8 -8
- package/esm2022/domain/f-canvas/providers.mjs +9 -1
- package/esm2022/domain/f-canvas/redraw-canvas-with-animation/index.mjs +3 -0
- package/esm2022/domain/f-canvas/redraw-canvas-with-animation/redraw-canvas-with-animation-request.mjs +6 -0
- package/esm2022/domain/f-canvas/redraw-canvas-with-animation/redraw-canvas-with-animation.execution.mjs +36 -0
- package/esm2022/domain/f-canvas/remove-canvas-from-store/index.mjs +3 -0
- package/esm2022/domain/f-canvas/remove-canvas-from-store/remove-canvas-from-store-request.mjs +3 -0
- package/esm2022/domain/f-canvas/remove-canvas-from-store/remove-canvas-from-store.execution.mjs +23 -0
- package/esm2022/domain/f-canvas/reset-scale/reset-scale.execution.mjs +9 -9
- package/esm2022/domain/f-canvas/reset-scale-and-center/reset-scale-and-center.execution.mjs +15 -18
- package/esm2022/domain/f-canvas/update-scale/update-scale.execution.mjs +9 -9
- package/esm2022/domain/f-connection/add-connection-for-create-to-store/add-connection-for-create-to-store-request.mjs +6 -0
- package/esm2022/domain/f-connection/add-connection-for-create-to-store/add-connection-for-create-to-store.execution.mjs +23 -0
- package/esm2022/domain/f-connection/add-connection-for-create-to-store/index.mjs +3 -0
- package/esm2022/domain/f-connection/add-connection-marker-to-store/add-connection-marker-to-store-request.mjs +6 -0
- package/esm2022/domain/f-connection/add-connection-marker-to-store/add-connection-marker-to-store.execution.mjs +23 -0
- package/esm2022/domain/f-connection/add-connection-marker-to-store/index.mjs +3 -0
- package/esm2022/domain/f-connection/add-connection-to-store/add-connection-to-store.execution.mjs +9 -9
- package/esm2022/domain/f-connection/add-snap-connection-to-store/add-snap-connection-to-store-request.mjs +6 -0
- package/esm2022/domain/f-connection/add-snap-connection-to-store/add-snap-connection-to-store.execution.mjs +23 -0
- package/esm2022/domain/f-connection/add-snap-connection-to-store/index.mjs +3 -0
- package/esm2022/domain/f-connection/create-connection-markers/create-connection-markers-request.mjs +6 -0
- package/esm2022/domain/f-connection/create-connection-markers/create-connection-markers.execution.mjs +60 -0
- package/esm2022/domain/f-connection/create-connection-markers/index.mjs +3 -0
- package/esm2022/domain/f-connection/get-all-can-be-connected-input-positions/get-all-can-be-connected-input-positions.execution.mjs +3 -3
- package/esm2022/domain/f-connection/index.mjs +9 -1
- package/esm2022/domain/f-connection/providers.mjs +18 -2
- package/esm2022/domain/f-connection/redraw-connections/index.mjs +3 -0
- package/esm2022/domain/f-connection/redraw-connections/redraw-connections-request.mjs +3 -0
- package/esm2022/domain/f-connection/redraw-connections/redraw-connections.execution.mjs +60 -0
- package/esm2022/domain/f-connection/remove-connection-for-create-from-store/index.mjs +3 -0
- package/esm2022/domain/f-connection/remove-connection-for-create-from-store/remove-connection-for-create-from-store-request.mjs +3 -0
- package/esm2022/domain/f-connection/remove-connection-for-create-from-store/remove-connection-for-create-from-store.execution.mjs +23 -0
- package/esm2022/domain/f-connection/remove-connection-from-store/remove-connection-from-store.execution.mjs +14 -11
- package/esm2022/domain/f-connection/remove-connection-marker-from-store/index.mjs +3 -0
- package/esm2022/domain/f-connection/remove-connection-marker-from-store/remove-connection-marker-from-store-request.mjs +6 -0
- package/esm2022/domain/f-connection/remove-connection-marker-from-store/remove-connection-marker-from-store.execution.mjs +23 -0
- package/esm2022/domain/f-connection/remove-snap-connection-from-store/index.mjs +3 -0
- package/esm2022/domain/f-connection/remove-snap-connection-from-store/remove-snap-connection-from-store-request.mjs +3 -0
- package/esm2022/domain/f-connection/remove-snap-connection-from-store/remove-snap-connection-from-store.execution.mjs +23 -0
- package/esm2022/domain/f-connectors/add-input-to-store/add-input-to-store-request.mjs +6 -0
- package/esm2022/domain/f-connectors/add-input-to-store/add-input-to-store.execution.mjs +23 -0
- package/esm2022/domain/f-connectors/add-input-to-store/index.mjs +3 -0
- package/esm2022/domain/f-connectors/add-outlet-to-store/add-outlet-to-store-request.mjs +6 -0
- package/esm2022/domain/f-connectors/add-outlet-to-store/add-outlet-to-store.execution.mjs +23 -0
- package/esm2022/domain/f-connectors/add-outlet-to-store/index.mjs +3 -0
- package/esm2022/domain/f-connectors/add-output-to-store/add-output-to-store-request.mjs +6 -0
- package/esm2022/domain/f-connectors/add-output-to-store/add-output-to-store.execution.mjs +23 -0
- package/esm2022/domain/f-connectors/add-output-to-store/index.mjs +3 -0
- package/esm2022/domain/f-connectors/index.mjs +8 -0
- package/esm2022/domain/f-connectors/providers.mjs +15 -0
- package/esm2022/domain/f-connectors/remove-input-from-store/index.mjs +3 -0
- package/esm2022/domain/f-connectors/remove-input-from-store/remove-input-from-store-request.mjs +6 -0
- package/esm2022/domain/f-connectors/remove-input-from-store/remove-input-from-store.execution.mjs +23 -0
- package/esm2022/domain/f-connectors/remove-outlet-from-store/index.mjs +3 -0
- package/esm2022/domain/f-connectors/remove-outlet-from-store/remove-outlet-from-store-request.mjs +6 -0
- package/esm2022/domain/f-connectors/remove-outlet-from-store/remove-outlet-from-store.execution.mjs +23 -0
- package/esm2022/domain/f-connectors/remove-output-from-store/index.mjs +3 -0
- package/esm2022/domain/f-connectors/remove-output-from-store/remove-output-from-store-request.mjs +6 -0
- package/esm2022/domain/f-connectors/remove-output-from-store/remove-output-from-store.execution.mjs +23 -0
- package/esm2022/domain/f-draggable/add-dnd-to-store/add-dnd-to-store-request.mjs +6 -0
- package/esm2022/domain/f-draggable/add-dnd-to-store/add-dnd-to-store.execution.mjs +23 -0
- package/esm2022/domain/f-draggable/add-dnd-to-store/index.mjs +3 -0
- package/esm2022/domain/f-draggable/emit-selection-change-event/emit-selection-change-event-request.mjs +3 -0
- package/esm2022/domain/f-draggable/emit-selection-change-event/emit-selection-change-event.execution.mjs +36 -0
- package/esm2022/domain/f-draggable/emit-selection-change-event/index.mjs +3 -0
- package/esm2022/domain/f-draggable/end-drag-sequence/end-drag-sequence-request.mjs +3 -0
- package/esm2022/domain/f-draggable/end-drag-sequence/end-drag-sequence.execution.mjs +29 -0
- package/esm2022/domain/f-draggable/end-drag-sequence/index.mjs +3 -0
- package/esm2022/domain/f-draggable/index.mjs +11 -0
- package/esm2022/domain/f-draggable/initialize-drag-sequence/index.mjs +3 -0
- package/esm2022/domain/f-draggable/initialize-drag-sequence/initialize-drag-sequence-request.mjs +3 -0
- package/esm2022/domain/f-draggable/initialize-drag-sequence/initialize-drag-sequence.execution.mjs +23 -0
- package/esm2022/domain/f-draggable/is-drag-started/index.mjs +3 -0
- package/esm2022/domain/f-draggable/is-drag-started/is-drag-started-request.mjs +3 -0
- package/esm2022/domain/f-draggable/is-drag-started/is-drag-started.execution.mjs +23 -0
- package/esm2022/domain/f-draggable/on-pointer-move/index.mjs +3 -0
- package/esm2022/domain/f-draggable/on-pointer-move/on-pointer-move-request.mjs +6 -0
- package/esm2022/domain/f-draggable/on-pointer-move/on-pointer-move.execution.mjs +42 -0
- package/esm2022/domain/f-draggable/prepare-drag-sequence/index.mjs +3 -0
- package/esm2022/domain/f-draggable/prepare-drag-sequence/prepare-drag-sequence-request.mjs +3 -0
- package/esm2022/domain/f-draggable/prepare-drag-sequence/prepare-drag-sequence.execution.mjs +31 -0
- package/esm2022/domain/f-draggable/providers.mjs +21 -0
- package/esm2022/domain/f-draggable/remove-dnd-from-store/index.mjs +3 -0
- package/esm2022/domain/f-draggable/remove-dnd-from-store/remove-dnd-from-store-request.mjs +3 -0
- package/esm2022/domain/f-draggable/remove-dnd-from-store/remove-dnd-from-store.execution.mjs +23 -0
- package/esm2022/domain/f-draggable/start-drag-sequence/index.mjs +3 -0
- package/esm2022/domain/f-draggable/start-drag-sequence/start-drag-sequence-request.mjs +3 -0
- package/esm2022/domain/f-draggable/start-drag-sequence/start-drag-sequence.execution.mjs +33 -0
- package/esm2022/domain/f-flow/add-flow-to-store/add-flow-to-store-request.mjs +6 -0
- package/esm2022/domain/f-flow/add-flow-to-store/add-flow-to-store.execution.mjs +23 -0
- package/esm2022/domain/f-flow/add-flow-to-store/index.mjs +3 -0
- package/esm2022/domain/f-flow/get-flow/get-flow-request.mjs +3 -0
- package/esm2022/domain/f-flow/get-flow/get-flow.execution.mjs +27 -0
- package/esm2022/domain/f-flow/get-flow/index.mjs +3 -0
- package/esm2022/domain/f-flow/get-flow-host-element/get-flow-host-element.execution.mjs +23 -0
- package/esm2022/domain/f-flow/get-flow-host-element/get-flow-host-element.request.mjs +3 -0
- package/esm2022/domain/f-flow/get-flow-host-element/index.mjs +3 -0
- package/esm2022/domain/f-flow/index.mjs +6 -0
- package/esm2022/domain/f-flow/providers.mjs +11 -0
- package/esm2022/domain/f-flow/remove-flow-from-store/index.mjs +3 -0
- package/esm2022/domain/f-flow/remove-flow-from-store/remove-flow-from-store-request.mjs +3 -0
- package/esm2022/domain/f-flow/remove-flow-from-store/remove-flow-from-store.execution.mjs +23 -0
- package/esm2022/domain/f-line-alignment/add-line-alignment-to-store/add-line-alignment-to-store-request.mjs +6 -0
- package/esm2022/domain/f-line-alignment/add-line-alignment-to-store/add-line-alignment-to-store.execution.mjs +23 -0
- package/esm2022/domain/f-line-alignment/add-line-alignment-to-store/index.mjs +3 -0
- package/esm2022/domain/f-line-alignment/index.mjs +4 -0
- package/esm2022/domain/f-line-alignment/providers.mjs +7 -0
- package/esm2022/domain/f-line-alignment/remove-line-alignment-from-store/index.mjs +3 -0
- package/esm2022/domain/f-line-alignment/remove-line-alignment-from-store/remove-line-alignment-from-store-request.mjs +3 -0
- package/esm2022/domain/f-line-alignment/remove-line-alignment-from-store/remove-line-alignment-from-store.execution.mjs +23 -0
- package/esm2022/domain/f-node/add-node-to-store/add-node-to-store-request.mjs +6 -0
- package/esm2022/domain/f-node/add-node-to-store/add-node-to-store.execution.mjs +23 -0
- package/esm2022/domain/f-node/add-node-to-store/index.mjs +3 -0
- package/esm2022/domain/f-node/calculate-nodes-bounding-box/calculate-nodes-bounding-box.execution.mjs +30 -0
- package/esm2022/domain/f-node/calculate-nodes-bounding-box/calculate-nodes-bounding-box.request.mjs +3 -0
- package/esm2022/domain/f-node/calculate-nodes-bounding-box/index.mjs +3 -0
- package/esm2022/domain/f-node/get-nodes/get-nodes-request.mjs +3 -0
- package/esm2022/domain/f-node/get-nodes/get-nodes.execution.mjs +23 -0
- package/esm2022/domain/f-node/get-nodes/index.mjs +3 -0
- package/esm2022/domain/f-node/index.mjs +7 -0
- package/esm2022/domain/f-node/providers.mjs +13 -0
- package/esm2022/domain/f-node/remove-node-from-store/index.mjs +3 -0
- package/esm2022/domain/f-node/remove-node-from-store/remove-node-from-store-request.mjs +6 -0
- package/esm2022/domain/f-node/remove-node-from-store/remove-node-from-store.execution.mjs +23 -0
- package/esm2022/domain/f-node/update-node-when-state-or-size-changed/index.mjs +3 -0
- package/esm2022/domain/f-node/update-node-when-state-or-size-changed/update-node-when-state-or-size-changed-request.mjs +7 -0
- package/esm2022/domain/f-node/update-node-when-state-or-size-changed/update-node-when-state-or-size-changed.execution.mjs +35 -0
- package/esm2022/domain/get-element-rect-in-flow/get-element-rect-in-flow.execution.mjs +19 -17
- package/esm2022/domain/get-flow-state/get-flow-state-nodes/get-flow-state-nodes.execution.mjs +3 -3
- package/esm2022/domain/get-flow-state/i-f-flow-state-connection.mjs +1 -1
- package/esm2022/domain/get-position-in-flow/get-position-in-flow.execution.mjs +2 -2
- package/esm2022/domain/index.mjs +8 -8
- package/esm2022/domain/is-connection-under-node/is-connection-under-node.execution.mjs +3 -4
- package/esm2022/domain/is-mobile.mjs +5 -0
- package/esm2022/domain/providers.mjs +11 -13
- package/esm2022/domain/transition-end.mjs +10 -0
- package/esm2022/f-backgroud/f-background-base.mjs +1 -1
- package/esm2022/f-backgroud/f-background.component.mjs +15 -20
- package/esm2022/f-backgroud/f-circle-pattern/f-circle-pattern.component.mjs +40 -46
- package/esm2022/f-backgroud/f-rect-pattern/f-rect-pattern.component.mjs +42 -56
- package/esm2022/f-canvas/f-canvas-base.mjs +1 -1
- package/esm2022/f-canvas/f-canvas.component.mjs +30 -40
- package/esm2022/f-connection/common/f-connection-base.mjs +1 -3
- package/esm2022/f-connection/common/f-connection-text/f-connection-text-path.directive.mjs +2 -2
- package/esm2022/f-connection/common/f-drag-handle/f-connection-drag-handle.component.mjs +3 -3
- package/esm2022/f-connection/common/i-has-connection-text.mjs +1 -1
- package/esm2022/f-connection/f-connection/f-connection.component.mjs +36 -90
- package/esm2022/f-connection/f-connection-builder/i-f-connection-factory-request.mjs +1 -1
- package/esm2022/f-connection/f-connection-for-create/f-connection-for-create.component.mjs +30 -65
- package/esm2022/f-connection/f-marker/f-marker.directive.mjs +10 -9
- package/esm2022/f-connection/f-snap-connection/f-snap-connection.component.mjs +30 -65
- package/esm2022/f-connectors/domain/calculate-connector-connectable-side/calculate-connector-connectable-side.handler.mjs +3 -3
- package/esm2022/f-connectors/f-connector-base.mjs +9 -6
- package/esm2022/f-connectors/f-node-input/f-node-input-base.mjs +1 -5
- package/esm2022/f-connectors/f-node-input/f-node-input.directive.mjs +33 -42
- package/esm2022/f-connectors/f-node-outlet/f-node-outlet-base.mjs +1 -2
- package/esm2022/f-connectors/f-node-outlet/f-node-outlet.directive.mjs +21 -33
- package/esm2022/f-connectors/f-node-output/f-node-output-base.mjs +1 -5
- package/esm2022/f-connectors/f-node-output/f-node-output.directive.mjs +33 -45
- package/esm2022/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.execution.mjs +2 -2
- package/esm2022/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.validator.mjs +4 -3
- package/esm2022/f-draggable/canvas/canvas.drag-handler.mjs +4 -4
- package/esm2022/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.execution.mjs +5 -5
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.execution.mjs +3 -2
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.validator.mjs +3 -2
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.execution.mjs +3 -2
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.validator.mjs +3 -2
- package/esm2022/f-draggable/connections/create-connection/create-connection.drag-handler.mjs +8 -8
- package/esm2022/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.execution.mjs +3 -3
- package/esm2022/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.validator.mjs +3 -3
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.execution.mjs +4 -4
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.mjs +6 -6
- package/esm2022/f-draggable/domain/i-node-with-rect.mjs +2 -0
- package/esm2022/f-draggable/domain/index.mjs +2 -1
- package/esm2022/f-draggable/f-draggable-base.mjs +1 -1
- package/esm2022/f-draggable/f-draggable.directive.mjs +50 -95
- package/esm2022/f-draggable/i-draggable-item.mjs +1 -1
- package/esm2022/f-draggable/index.mjs +2 -1
- package/esm2022/f-draggable/node/connection-base-drag-handler.mjs +4 -4
- package/esm2022/f-draggable/node/connection-source.drag-handler.mjs +2 -2
- package/esm2022/f-draggable/node/connection-target.drag-handler.mjs +2 -2
- package/esm2022/f-draggable/node/connection.drag-handler.mjs +2 -2
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.execution.mjs +8 -5
- package/esm2022/f-draggable/node/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/node/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/node/f-drop-to-group.event.mjs +8 -0
- package/esm2022/f-draggable/node/index.mjs +5 -1
- package/esm2022/f-draggable/node/node-drag-to-parent-finalize/index.mjs +5 -0
- package/esm2022/f-draggable/node/node-drag-to-parent-finalize/node-drag-to-parent-finalize.execution.mjs +53 -0
- package/esm2022/f-draggable/node/node-drag-to-parent-finalize/node-drag-to-parent-finalize.request.mjs +6 -0
- package/esm2022/f-draggable/node/node-drag-to-parent-finalize/node-drag-to-parent-finalize.validator.mjs +25 -0
- package/esm2022/f-draggable/node/node-drag-to-parent-finalize/providers.mjs +7 -0
- package/esm2022/f-draggable/node/node-drag-to-parent-preparation/index.mjs +5 -0
- package/esm2022/f-draggable/node/node-drag-to-parent-preparation/node-drag-to-parent-preparation.execution.mjs +62 -0
- package/esm2022/f-draggable/node/node-drag-to-parent-preparation/node-drag-to-parent-preparation.request.mjs +6 -0
- package/esm2022/f-draggable/node/node-drag-to-parent-preparation/node-drag-to-parent-preparation.validator.mjs +24 -0
- package/esm2022/f-draggable/node/node-drag-to-parent-preparation/providers.mjs +7 -0
- package/esm2022/f-draggable/node/node-drag-to-parent.drag-handler.mjs +48 -0
- package/esm2022/f-draggable/node/node-move-finalize/node-move-finalize.execution.mjs +11 -5
- package/esm2022/f-draggable/node/node-move-preparation/node-move-preparation.execution.mjs +4 -3
- package/esm2022/f-draggable/node/node-move-preparation/node-move-preparation.validator.mjs +2 -2
- package/esm2022/f-draggable/node/node-resize-by-child.drag-handler.mjs +5 -3
- package/esm2022/f-draggable/node/node.drag-handler.mjs +3 -3
- package/esm2022/f-draggable/node/providers.mjs +5 -1
- package/esm2022/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.execution.mjs +2 -2
- package/esm2022/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.execution.mjs +3 -2
- package/esm2022/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.validator.mjs +3 -2
- package/esm2022/f-draggable/node-resize/node-resize.drag-handler.mjs +4 -4
- package/esm2022/f-draggable/providers.mjs +2 -2
- package/esm2022/f-draggable/single-select/single-select.execution.mjs +5 -2
- package/esm2022/f-external-item/domain/external-item-finalize/external-item-finalize.execution.mjs +2 -2
- package/esm2022/f-external-item/domain/external-item-preparation/external-item-preparation.validator.mjs +1 -1
- package/esm2022/f-external-item/domain/external-item.drag-handler.mjs +4 -4
- package/esm2022/f-external-item/domain/index.mjs +2 -1
- package/esm2022/f-external-item/domain/prevent-default-is-external-item/index.mjs +3 -0
- package/esm2022/f-external-item/domain/prevent-default-is-external-item/prevent-default-is-external-item.execution.mjs +36 -0
- package/esm2022/f-external-item/domain/prevent-default-is-external-item/prevent-default-is-external-item.request.mjs +6 -0
- package/esm2022/f-external-item/domain/providers.mjs +3 -1
- package/esm2022/f-flow/f-flow-base.mjs +1 -1
- package/esm2022/f-flow/f-flow.component.mjs +46 -49
- package/esm2022/f-line-alignment/f-line-alignment.component.mjs +21 -22
- package/esm2022/f-minimap/domain/f-minimap.drag-handler.mjs +4 -4
- package/esm2022/f-minimap/domain/index.mjs +4 -2
- package/esm2022/f-minimap/domain/minimap-calculate-svg-scale-and-view-box/i-f-minimap-scale-and-view-box.mjs +2 -0
- package/esm2022/f-minimap/domain/minimap-calculate-svg-scale-and-view-box/index.mjs +4 -0
- package/esm2022/f-minimap/domain/minimap-calculate-svg-scale-and-view-box/minimap-calculate-svg-scale-and-view-box.execution.mjs +71 -0
- package/esm2022/f-minimap/domain/minimap-calculate-svg-scale-and-view-box/minimap-calculate-svg-scale-and-view-box.request.mjs +7 -0
- package/esm2022/f-minimap/domain/minimap-calculate-view-box/index.mjs +3 -0
- package/esm2022/f-minimap/domain/minimap-calculate-view-box/minimap-calculate-view-box.execution.mjs +39 -0
- package/esm2022/f-minimap/domain/minimap-calculate-view-box/minimap-calculate-view-box.request.mjs +3 -0
- package/esm2022/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.execution.mjs +2 -2
- package/esm2022/f-minimap/domain/minimap-draw-nodes/index.mjs +3 -0
- package/esm2022/f-minimap/domain/minimap-draw-nodes/minimap-draw-nodes.execution.mjs +60 -0
- package/esm2022/f-minimap/domain/minimap-draw-nodes/minimap-draw-nodes.request.mjs +3 -0
- package/esm2022/f-minimap/domain/providers.mjs +7 -1
- package/esm2022/f-minimap/f-minimap-canvas.directive.mjs +17 -51
- package/esm2022/f-minimap/f-minimap-flow.directive.mjs +16 -60
- package/esm2022/f-minimap/f-minimap-view.directive.mjs +14 -25
- package/esm2022/f-minimap/f-minimap.component.mjs +28 -30
- package/esm2022/f-node/domain/index.mjs +1 -2
- package/esm2022/f-node/f-drag-handle/f-drag-handle.directive.mjs +8 -8
- package/esm2022/f-node/f-group.directive.mjs +18 -42
- package/esm2022/f-node/f-node-base.mjs +21 -3
- package/esm2022/f-node/f-node.directive.mjs +18 -42
- package/esm2022/f-node/f-resize-handle/f-resize-handle.directive.mjs +13 -16
- package/esm2022/f-node/index.mjs +1 -2
- package/esm2022/f-selection-area/domain/selection-area-finalize/selection-area-finalize.execution.mjs +2 -2
- package/esm2022/f-selection-area/domain/selection-area.drag-handle.mjs +6 -6
- package/esm2022/f-selection-area/f-selection-area.component.mjs +13 -13
- package/esm2022/f-storage/f-components-store.mjs +15 -20
- package/esm2022/f-storage/features/listen-components-data-changed/index.mjs +3 -0
- package/esm2022/f-storage/features/listen-components-data-changed/listen-data-changes-request.mjs +3 -0
- package/esm2022/f-storage/features/listen-components-data-changed/listen-data-changes.execution.mjs +25 -0
- package/esm2022/f-storage/features/listen-count-changes/index.mjs +3 -0
- package/esm2022/f-storage/features/listen-count-changes/listen-count-changes-request.mjs +3 -0
- package/esm2022/f-storage/features/listen-count-changes/listen-count-changes.execution.mjs +25 -0
- package/esm2022/f-storage/features/listen-transform-changes/index.mjs +3 -0
- package/esm2022/f-storage/features/listen-transform-changes/listen-transform-changes.execution.mjs +24 -0
- package/esm2022/f-storage/features/listen-transform-changes/listen-transform-changes.request.mjs +3 -0
- package/esm2022/f-storage/features/notify-data-changed/index.mjs +3 -0
- package/esm2022/f-storage/features/notify-data-changed/notify-data-changed-request.mjs +3 -0
- package/esm2022/f-storage/features/notify-data-changed/notify-data-changed.execution.mjs +23 -0
- package/esm2022/f-storage/features/notify-transform-changed/index.mjs +3 -0
- package/esm2022/f-storage/features/notify-transform-changed/notify-transform-changed.execution.mjs +23 -0
- package/esm2022/f-storage/features/notify-transform-changed/notify-transform-changed.request.mjs +3 -0
- package/esm2022/f-storage/index.mjs +7 -2
- package/esm2022/f-storage/providers.mjs +15 -0
- package/esm2022/f-zoom/f-zoom-base.mjs +51 -45
- package/esm2022/f-zoom/f-zoom.directive.mjs +11 -12
- package/esm2022/public-api.mjs +2 -2
- package/esm2022/reactivity/debounce-time.mjs +10 -0
- package/esm2022/reactivity/f-channel-hub.mjs +23 -0
- package/esm2022/reactivity/f-channel.mjs +16 -0
- package/esm2022/reactivity/f-resize-channel.mjs +28 -0
- package/esm2022/reactivity/index.mjs +7 -0
- package/esm2022/reactivity/notify-on-start.mjs +7 -0
- package/esm2022/reactivity/types.mjs +2 -0
- package/f-backgroud/f-background-base.d.ts +0 -1
- package/f-backgroud/f-background.component.d.ts +3 -8
- package/f-backgroud/f-circle-pattern/f-circle-pattern.component.d.ts +16 -17
- package/f-backgroud/f-rect-pattern/f-rect-pattern.component.d.ts +17 -20
- package/f-canvas/f-canvas-base.d.ts +0 -2
- package/f-canvas/f-canvas.component.d.ts +5 -11
- package/f-connection/common/f-connection-base.d.ts +3 -5
- package/f-connection/common/f-drag-handle/f-connection-drag-handle.component.d.ts +1 -1
- package/f-connection/common/i-has-connection-text.d.ts +1 -0
- package/f-connection/f-connection/f-connection.component.d.ts +17 -35
- package/f-connection/f-connection-builder/i-f-connection-factory-request.d.ts +1 -1
- package/f-connection/f-connection-for-create/f-connection-for-create.component.d.ts +13 -23
- package/f-connection/f-marker/f-marker.directive.d.ts +2 -3
- package/f-connection/f-snap-connection/f-snap-connection.component.d.ts +13 -23
- package/f-connection/providers.d.ts +1 -1
- package/f-connectors/f-connector-base.d.ts +7 -8
- package/f-connectors/f-node-input/f-node-input-base.d.ts +0 -1
- package/f-connectors/f-node-input/f-node-input.directive.d.ts +14 -16
- package/f-connectors/f-node-outlet/f-node-outlet-base.d.ts +0 -1
- package/f-connectors/f-node-outlet/f-node-outlet.directive.d.ts +9 -11
- package/f-connectors/f-node-output/f-node-output-base.d.ts +0 -1
- package/f-connectors/f-node-output/f-node-output.directive.d.ts +14 -16
- package/f-draggable/canvas/canvas.drag-handler.d.ts +3 -3
- package/f-draggable/connections/create-connection/create-connection.drag-handler.d.ts +3 -3
- package/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.d.ts +3 -3
- package/f-draggable/domain/i-node-with-rect.d.ts +6 -0
- package/f-draggable/domain/index.d.ts +1 -0
- package/f-draggable/f-draggable-base.d.ts +2 -0
- package/f-draggable/f-draggable.directive.d.ts +9 -16
- package/f-draggable/i-draggable-item.d.ts +3 -3
- package/f-draggable/index.d.ts +1 -0
- package/f-draggable/node/connection-base-drag-handler.d.ts +2 -2
- package/f-draggable/node/connection-source.drag-handler.d.ts +1 -1
- package/f-draggable/node/connection-target.drag-handler.d.ts +1 -1
- package/f-draggable/node/connection.drag-handler.d.ts +1 -1
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.execution.d.ts +1 -0
- package/f-draggable/node/f-drop-to-group.event.d.ts +7 -0
- package/f-draggable/node/index.d.ts +4 -0
- package/f-draggable/node/node-drag-to-parent-finalize/index.d.ts +4 -0
- package/f-draggable/node/node-drag-to-parent-finalize/node-drag-to-parent-finalize.execution.d.ts +17 -0
- package/f-draggable/node/node-drag-to-parent-finalize/node-drag-to-parent-finalize.request.d.ts +5 -0
- package/f-draggable/node/node-drag-to-parent-finalize/node-drag-to-parent-finalize.validator.d.ts +11 -0
- package/f-draggable/node/node-drag-to-parent-finalize/providers.d.ts +3 -0
- package/f-draggable/node/node-drag-to-parent-preparation/index.d.ts +4 -0
- package/f-draggable/node/node-drag-to-parent-preparation/node-drag-to-parent-preparation.execution.d.ts +20 -0
- package/f-draggable/node/node-drag-to-parent-preparation/node-drag-to-parent-preparation.request.d.ts +5 -0
- package/f-draggable/node/node-drag-to-parent-preparation/node-drag-to-parent-preparation.validator.d.ts +11 -0
- package/f-draggable/node/node-drag-to-parent-preparation/providers.d.ts +3 -0
- package/f-draggable/node/node-drag-to-parent.drag-handler.d.ts +21 -0
- package/f-draggable/node/node-move-finalize/node-move-finalize.execution.d.ts +1 -0
- package/f-draggable/node/node-resize-by-child.drag-handler.d.ts +3 -2
- package/f-draggable/node/node.drag-handler.d.ts +2 -2
- package/f-draggable/node/providers.d.ts +1 -1
- package/f-draggable/node-resize/node-resize.drag-handler.d.ts +3 -3
- package/f-draggable/providers.d.ts +1 -1
- package/f-draggable/single-select/single-select.execution.d.ts +1 -0
- package/f-external-item/domain/external-item.drag-handler.d.ts +3 -3
- package/f-external-item/domain/index.d.ts +1 -0
- package/f-external-item/domain/prevent-default-is-external-item/index.d.ts +2 -0
- package/f-external-item/domain/prevent-default-is-external-item/prevent-default-is-external-item.execution.d.ts +10 -0
- package/f-external-item/domain/prevent-default-is-external-item/prevent-default-is-external-item.request.d.ts +4 -0
- package/f-external-item/domain/providers.d.ts +2 -1
- package/f-flow/f-flow-base.d.ts +1 -1
- package/f-flow/f-flow.component.d.ts +11 -13
- package/f-line-alignment/f-line-alignment.component.d.ts +8 -10
- package/f-minimap/domain/f-minimap.drag-handler.d.ts +3 -3
- package/f-minimap/domain/index.d.ts +3 -1
- package/f-minimap/domain/minimap-calculate-svg-scale-and-view-box/i-f-minimap-scale-and-view-box.d.ts +5 -0
- package/f-minimap/domain/minimap-calculate-svg-scale-and-view-box/index.d.ts +3 -0
- package/f-minimap/domain/minimap-calculate-svg-scale-and-view-box/minimap-calculate-svg-scale-and-view-box.execution.d.ts +22 -0
- package/f-minimap/domain/minimap-calculate-svg-scale-and-view-box/minimap-calculate-svg-scale-and-view-box.request.d.ts +5 -0
- package/f-minimap/domain/minimap-calculate-view-box/index.d.ts +2 -0
- package/f-minimap/domain/minimap-calculate-view-box/minimap-calculate-view-box.execution.d.ts +14 -0
- package/f-minimap/domain/minimap-calculate-view-box/minimap-calculate-view-box.request.d.ts +2 -0
- package/f-minimap/domain/minimap-draw-nodes/index.d.ts +2 -0
- package/f-minimap/domain/minimap-draw-nodes/minimap-draw-nodes.execution.d.ts +18 -0
- package/f-minimap/domain/minimap-draw-nodes/minimap-draw-nodes.request.d.ts +2 -0
- package/f-minimap/domain/providers.d.ts +4 -1
- package/f-minimap/f-minimap-canvas.directive.d.ts +3 -15
- package/f-minimap/f-minimap-flow.directive.d.ts +4 -20
- package/f-minimap/f-minimap-view.directive.d.ts +4 -9
- package/f-minimap/f-minimap.component.d.ts +7 -10
- package/f-node/domain/index.d.ts +0 -1
- package/f-node/f-drag-handle/f-drag-handle.directive.d.ts +2 -3
- package/f-node/f-group.directive.d.ts +4 -11
- package/f-node/f-node-base.d.ts +8 -7
- package/f-node/f-node.directive.d.ts +4 -11
- package/f-node/f-resize-handle/f-resize-handle.directive.d.ts +4 -6
- package/f-node/index.d.ts +0 -1
- package/f-selection-area/domain/selection-area.drag-handle.d.ts +3 -3
- package/f-selection-area/f-selection-area.component.d.ts +3 -5
- package/f-storage/f-components-store.d.ts +7 -9
- package/f-storage/features/listen-components-data-changed/index.d.ts +2 -0
- package/f-storage/features/listen-components-data-changed/listen-data-changes-request.d.ts +2 -0
- package/f-storage/features/listen-components-data-changed/listen-data-changes.execution.d.ts +10 -0
- package/f-storage/features/listen-count-changes/index.d.ts +2 -0
- package/f-storage/features/listen-count-changes/listen-count-changes-request.d.ts +2 -0
- package/f-storage/features/listen-count-changes/listen-count-changes.execution.d.ts +10 -0
- package/f-storage/features/listen-transform-changes/index.d.ts +2 -0
- package/f-storage/features/listen-transform-changes/listen-transform-changes.execution.d.ts +10 -0
- package/f-storage/features/listen-transform-changes/listen-transform-changes.request.d.ts +2 -0
- package/f-storage/features/notify-data-changed/index.d.ts +2 -0
- package/f-storage/features/notify-data-changed/notify-data-changed-request.d.ts +2 -0
- package/f-storage/features/notify-data-changed/notify-data-changed.execution.d.ts +9 -0
- package/f-storage/features/notify-transform-changed/index.d.ts +2 -0
- package/f-storage/features/notify-transform-changed/notify-transform-changed.execution.d.ts +9 -0
- package/f-storage/features/notify-transform-changed/notify-transform-changed.request.d.ts +2 -0
- package/f-storage/index.d.ts +6 -1
- package/f-storage/providers.d.ts +7 -0
- package/f-zoom/f-zoom-base.d.ts +10 -11
- package/f-zoom/f-zoom.directive.d.ts +0 -2
- package/fesm2022/foblex-flow.mjs +5877 -4748
- package/fesm2022/foblex-flow.mjs.map +1 -1
- package/package.json +5 -6
- package/public-api.d.ts +1 -1
- package/reactivity/debounce-time.d.ts +2 -0
- package/reactivity/f-channel-hub.d.ts +10 -0
- package/reactivity/f-channel.d.ts +7 -0
- package/reactivity/f-resize-channel.d.ts +11 -0
- package/reactivity/index.d.ts +6 -0
- package/reactivity/notify-on-start.d.ts +2 -0
- package/reactivity/types.d.ts +2 -0
- package/domain/constants.d.ts +0 -1
- package/domain/emit-transform-changes/emit-transform-changes.execution.d.ts +0 -11
- package/domain/emit-transform-changes/emit-transform-changes.request.d.ts +0 -2
- package/domain/emit-transform-changes/index.d.ts +0 -2
- package/domain/get-nodes-rect/get-nodes-rect.execution.d.ts +0 -14
- package/domain/get-nodes-rect/get-nodes-rect.request.d.ts +0 -2
- package/domain/get-nodes-rect/index.d.ts +0 -2
- package/domain/show-connections-after-calculations/index.d.ts +0 -2
- package/domain/show-connections-after-calculations/show-connections-after-calculations-request.d.ts +0 -2
- package/domain/show-connections-after-calculations/show-connections-after-calculations.execution.d.ts +0 -11
- package/domain/subscribe-on-transform-changes/index.d.ts +0 -2
- package/domain/subscribe-on-transform-changes/subscribe-on-transform-changes.execution.d.ts +0 -13
- package/domain/subscribe-on-transform-changes/subscribe-on-transform-changes.request.d.ts +0 -2
- package/esm2022/domain/constants.mjs +0 -2
- package/esm2022/domain/create-connection-markers/create-connection-markers-request.mjs +0 -6
- package/esm2022/domain/create-connection-markers/create-connection-markers.execution.mjs +0 -60
- package/esm2022/domain/create-connection-markers/index.mjs +0 -3
- package/esm2022/domain/emit-transform-changes/emit-transform-changes.execution.mjs +0 -23
- package/esm2022/domain/emit-transform-changes/emit-transform-changes.request.mjs +0 -3
- package/esm2022/domain/emit-transform-changes/index.mjs +0 -3
- package/esm2022/domain/get-nodes-rect/get-nodes-rect.execution.mjs +0 -30
- package/esm2022/domain/get-nodes-rect/get-nodes-rect.request.mjs +0 -3
- package/esm2022/domain/get-nodes-rect/index.mjs +0 -3
- package/esm2022/domain/redraw-connections/index.mjs +0 -3
- package/esm2022/domain/redraw-connections/redraw-connections-request.mjs +0 -3
- package/esm2022/domain/redraw-connections/redraw-connections.execution.mjs +0 -62
- package/esm2022/domain/show-connections-after-calculations/index.mjs +0 -3
- package/esm2022/domain/show-connections-after-calculations/show-connections-after-calculations-request.mjs +0 -3
- package/esm2022/domain/show-connections-after-calculations/show-connections-after-calculations.execution.mjs +0 -25
- package/esm2022/domain/subscribe-on-transform-changes/index.mjs +0 -3
- package/esm2022/domain/subscribe-on-transform-changes/subscribe-on-transform-changes.execution.mjs +0 -25
- package/esm2022/domain/subscribe-on-transform-changes/subscribe-on-transform-changes.request.mjs +0 -3
- package/esm2022/f-minimap/domain/check-rect-is-finite.mjs +0 -8
- package/esm2022/f-node/domain/is-group.mjs +0 -4
- package/esm2022/f-node/f-resize-observer.mjs +0 -16
- package/esm2022/f-storage/f-transform-store.mjs +0 -14
- package/esm2022/i-has-state-changes.mjs +0 -2
- package/f-minimap/domain/check-rect-is-finite.d.ts +0 -2
- package/f-node/domain/is-group.d.ts +0 -1
- package/f-node/f-resize-observer.d.ts +0 -4
- package/f-storage/f-transform-store.d.ts +0 -7
- package/i-has-state-changes.d.ts +0 -4
- /package/domain/{create-connection-markers → f-connection/create-connection-markers}/index.d.ts +0 -0
- /package/domain/{redraw-connections → f-connection/redraw-connections}/index.d.ts +0 -0
- /package/domain/{redraw-connections → f-connection/redraw-connections}/redraw-connections-request.d.ts +0 -0
|
@@ -2,8 +2,14 @@ import { Directive, Input } from "@angular/core";
|
|
|
2
2
|
import { F_ZOOM, FZoomBase } from './f-zoom-base';
|
|
3
3
|
import { castToBoolean } from '@foblex/utils';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "../f-storage";
|
|
6
5
|
export class FZoomDirective extends FZoomBase {
|
|
6
|
+
constructor() {
|
|
7
|
+
super(...arguments);
|
|
8
|
+
this.minimum = 0.1;
|
|
9
|
+
this.maximum = 4;
|
|
10
|
+
this.step = 0.1;
|
|
11
|
+
this.dblClickStep = 0.5;
|
|
12
|
+
}
|
|
7
13
|
get fFlowZoom() {
|
|
8
14
|
return this.isEnabled;
|
|
9
15
|
}
|
|
@@ -14,20 +20,13 @@ export class FZoomDirective extends FZoomBase {
|
|
|
14
20
|
this.toggleZoom();
|
|
15
21
|
}
|
|
16
22
|
}
|
|
17
|
-
constructor(fComponentsStore) {
|
|
18
|
-
super(fComponentsStore);
|
|
19
|
-
this.minimum = 0.1;
|
|
20
|
-
this.maximum = 4;
|
|
21
|
-
this.step = 0.1;
|
|
22
|
-
this.dblClickStep = 0.5;
|
|
23
|
-
}
|
|
24
23
|
ngAfterViewInit() {
|
|
25
24
|
super.toggleZoom();
|
|
26
25
|
}
|
|
27
26
|
ngOnDestroy() {
|
|
28
|
-
super.
|
|
27
|
+
super.dispose();
|
|
29
28
|
}
|
|
30
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FZoomDirective, deps:
|
|
29
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FZoomDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
31
30
|
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: FZoomDirective, selector: "f-canvas[fZoom]", inputs: { fFlowZoom: ["fZoom", "fFlowZoom"], minimum: ["fZoomMinimum", "minimum"], maximum: ["fZoomMaximum", "maximum"], step: ["fZoomStep", "step"], dblClickStep: ["fZoomDblClickStep", "dblClickStep"] }, host: { classAttribute: "f-zoom f-component" }, providers: [{ provide: F_ZOOM, useExisting: FZoomDirective }], exportAs: ["fComponent"], usesInheritance: true, ngImport: i0 }); }
|
|
32
31
|
}
|
|
33
32
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FZoomDirective, decorators: [{
|
|
@@ -40,7 +39,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
40
39
|
},
|
|
41
40
|
providers: [{ provide: F_ZOOM, useExisting: FZoomDirective }],
|
|
42
41
|
}]
|
|
43
|
-
}],
|
|
42
|
+
}], propDecorators: { fFlowZoom: [{
|
|
44
43
|
type: Input,
|
|
45
44
|
args: ['fZoom']
|
|
46
45
|
}], minimum: [{
|
|
@@ -56,4 +55,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
56
55
|
type: Input,
|
|
57
56
|
args: ['fZoomDblClickStep']
|
|
58
57
|
}] } });
|
|
59
|
-
//# sourceMappingURL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HVibGljIG5nQWZ0ZXJWaWV3SW5pdCgpOiB2b2lkIHtcbiAgICBzdXBlci50b2dnbGVab29tKCk7XG4gIH1cblxuICBwdWJsaWMgbmdPbkRlc3Ryb3koKTogdm9pZCB7XG4gICAgc3VwZXIuZGlzcG9zZSgpO1xuICB9XG59XG4iXX0=
|
package/esm2022/public-api.mjs
CHANGED
|
@@ -13,7 +13,7 @@ export * from './f-node';
|
|
|
13
13
|
export * from './f-storage';
|
|
14
14
|
export * from './f-zoom';
|
|
15
15
|
export * from './mixins';
|
|
16
|
+
export * from './reactivity';
|
|
16
17
|
export * from './f-flow.module';
|
|
17
18
|
export * from './i-has-host-element';
|
|
18
|
-
|
|
19
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGVBQWUsQ0FBQztBQUU5QixjQUFjLFlBQVksQ0FBQztBQUUzQixjQUFjLFVBQVUsQ0FBQztBQUV6QixjQUFjLGdCQUFnQixDQUFDO0FBRS9CLGNBQWMsZ0JBQWdCLENBQUM7QUFFL0IsY0FBYyxlQUFlLENBQUM7QUFFOUIsY0FBYyxtQkFBbUIsQ0FBQztBQUVsQyxjQUFjLG9CQUFvQixDQUFDO0FBRW5DLGNBQWMsYUFBYSxDQUFDO0FBRTVCLGNBQWMsb0JBQW9CLENBQUM7QUFFbkMsY0FBYyxVQUFVLENBQUM7QUFFekIsY0FBYyxVQUFVLENBQUM7QUFFekIsY0FBYyxhQUFhLENBQUM7QUFFNUIsY0FBYyxVQUFVLENBQUM7QUFFekIsY0FBYyxVQUFVLENBQUM7QUFFekIsY0FBYyxpQkFBaUIsQ0FBQztBQUVoQyxjQUFjLHNCQUFzQixDQUFD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AnLi9mLW5vZGUnO1xuXG5leHBvcnQgKiBmcm9tICcuL2Ytc3RvcmFnZSc7XG5cbmV4cG9ydCAqIGZyb20gJy4vZi16b29tJztcblxuZXhwb3J0ICogZnJvbSAnLi9taXhpbnMnO1xuXG5leHBvcnQgKiBmcm9tICcuL3JlYWN0aXZpdHknO1xuXG5leHBvcnQgKiBmcm9tICcuL2YtZmxvdy5tb2R1bGUnO1xuXG5leHBvcnQgKiBmcm9tICcuL2ktaGFzLWhvc3QtZWxlbWVudCc7XG4iXX0=
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export function debounceTime(delay) {
|
|
2
|
+
let timeoutId;
|
|
3
|
+
return callback => {
|
|
4
|
+
return () => {
|
|
5
|
+
clearTimeout(timeoutId);
|
|
6
|
+
timeoutId = setTimeout(() => callback(), delay);
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVib3VuY2UtdGltZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvcmVhY3Rpdml0eS9kZWJvdW5jZS10aW1lLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE1BQU0sVUFBVSxZQUFZLENBQUMsS0FBYTtJQUN4QyxJQUFJLFNBQWMsQ0FBQztJQUNuQixPQUFPLFFBQVEsQ0FBQyxFQUFFO1FBQ2hCLE9BQU8sR0FBRyxFQUFFO1lBQ1YsWUFBWSxDQUFDLFNBQVMsQ0FBQyxDQUFDO1lBQ3hCLFNBQVMsR0FBRyxVQUFVLENBQUMsR0FBRyxFQUFFLENBQUMsUUFBUSxFQUFFLEVBQUUsS0FBSyxDQUFDLENBQUM7UUFDbEQsQ0FBQyxDQUFDO0lBQ0osQ0FBQyxDQUFDO0FBQ0osQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEZDaGFubmVsT3BlcmF0b3IgfSBmcm9tICcuL3R5cGVzJztcblxuZXhwb3J0IGZ1bmN0aW9uIGRlYm91bmNlVGltZShkZWxheTogbnVtYmVyKTogRkNoYW5uZWxPcGVyYXRvciB7XG4gIGxldCB0aW1lb3V0SWQ6IGFueTtcbiAgcmV0dXJuIGNhbGxiYWNrID0+IHtcbiAgICByZXR1cm4gKCkgPT4ge1xuICAgICAgY2xlYXJUaW1lb3V0KHRpbWVvdXRJZCk7XG4gICAgICB0aW1lb3V0SWQgPSBzZXRUaW1lb3V0KCgpID0+IGNhbGxiYWNrKCksIGRlbGF5KTtcbiAgICB9O1xuICB9O1xufVxuIl19
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export class FChannelHub {
|
|
2
|
+
constructor(...channels) {
|
|
3
|
+
this._channels = [];
|
|
4
|
+
this._operators = [];
|
|
5
|
+
this._channels = [...channels];
|
|
6
|
+
}
|
|
7
|
+
pipe(...operators) {
|
|
8
|
+
const result = new FChannelHub(...this._channels);
|
|
9
|
+
result._operators = [...this._operators, ...operators];
|
|
10
|
+
return result;
|
|
11
|
+
}
|
|
12
|
+
listen(destroyRef, callback) {
|
|
13
|
+
let modifiedCallback = callback;
|
|
14
|
+
this._operators.forEach(operator => {
|
|
15
|
+
modifiedCallback = operator(modifiedCallback);
|
|
16
|
+
});
|
|
17
|
+
const unsubscribeCallbacks = this._channels.map(channel => channel.listen(() => modifiedCallback()));
|
|
18
|
+
destroyRef.onDestroy(() => {
|
|
19
|
+
unsubscribeCallbacks.forEach(unsubscribe => unsubscribe());
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1jaGFubmVsLWh1Yi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy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vcnMuZm9yRWFjaChvcGVyYXRvciA9PiB7XG4gICAgICBtb2RpZmllZENhbGxiYWNrID0gb3BlcmF0b3IobW9kaWZpZWRDYWxsYmFjayk7XG4gICAgfSk7XG5cbiAgICBjb25zdCB1bnN1YnNjcmliZUNhbGxiYWNrcyA9IHRoaXMuX2NoYW5uZWxzLm1hcChjaGFubmVsID0+XG4gICAgICBjaGFubmVsLmxpc3RlbigoKSA9PiBtb2RpZmllZENhbGxiYWNrKCkpXG4gICAgKTtcblxuICAgIGRlc3Ryb3lSZWYub25EZXN0cm95KCgpID0+IHtcbiAgICAgIHVuc3Vic2NyaWJlQ2FsbGJhY2tzLmZvckVhY2godW5zdWJzY3JpYmUgPT4gdW5zdWJzY3JpYmUoKSk7XG4gICAgfSk7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export class FChannel {
|
|
2
|
+
constructor() {
|
|
3
|
+
this._listeners = new Set();
|
|
4
|
+
}
|
|
5
|
+
notify() {
|
|
6
|
+
this._listeners.forEach((callback) => callback());
|
|
7
|
+
}
|
|
8
|
+
listen(callback) {
|
|
9
|
+
this._listeners.add(callback);
|
|
10
|
+
return () => this.stop(callback);
|
|
11
|
+
}
|
|
12
|
+
stop(callback) {
|
|
13
|
+
this._listeners.delete(callback);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1jaGFubmVsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9yZWFjdGl2aXR5L2YtY2hhbm5lbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxNQUFNLE9BQU8sUUFBUTtJQUFyQjtRQUVZLGVBQVUsR0FBRyxJQUFJLEdBQUcsRUFBb0IsQ0FBQztJQWNyRCxDQUFDO0lBWlEsTUFBT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YmFjayk7XG4gIH1cbn1cblxuIl19
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { FChannel } from './f-channel';
|
|
2
|
+
export class FResizeChannel extends FChannel {
|
|
3
|
+
constructor(_htmlElement) {
|
|
4
|
+
super();
|
|
5
|
+
this._htmlElement = _htmlElement;
|
|
6
|
+
this._observer = new ResizeObserver(() => this.notify());
|
|
7
|
+
this._isObserving = false;
|
|
8
|
+
}
|
|
9
|
+
listen(callback) {
|
|
10
|
+
if (!this._isObserving) {
|
|
11
|
+
this._observer.observe(this._htmlElement);
|
|
12
|
+
this._isObserving = true;
|
|
13
|
+
}
|
|
14
|
+
return super.listen(callback);
|
|
15
|
+
}
|
|
16
|
+
stop(callback) {
|
|
17
|
+
super.stop(callback);
|
|
18
|
+
if (this._listeners.size === 0) {
|
|
19
|
+
this._disconnect();
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
_disconnect() {
|
|
23
|
+
this._observer.unobserve(this._htmlElement);
|
|
24
|
+
this._observer.disconnect();
|
|
25
|
+
this._isObserving = false;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1yZXNpemUtY2hhbm5lbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvcmVhY3Rpdml0eS9mLXJlc2l6ZS1jaGFubmVsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxhQUFhLENBQUM7QUFFdkMsTUFBTSxPQUFPLGNBQWUsU0FBUSxRQUFRO0lBTTFDLFlBQW9CLFlBQXNDO1FBQ3hELEtBQUssRUFBRSxDQUFDO1FBRFUsaUJBQVksR0FBWixZQUFZLENBQTBCO1FBSmxELGNBQVMsR0FBRyxJQUFJLGNBQWMsQ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XRlIF9vYnNlcnZlciA9IG5ldyBSZXNpemVPYnNlcnZlcigoKSA9PiB0aGlzLm5vdGlmeSgpKTtcblxuICBwcml2YXRlIF9pc09ic2VydmluZyA9IGZhbHNlO1xuXG4gIGNvbnN0cnVjdG9yKHByaXZhdGUgX2h0bWxFbGVtZW50OiBIVE1MRWxlbWVudCB8IFNWR0VsZW1lbnQpIHtcbiAgICBzdXBlcigpO1xuICB9XG5cbiAgcHVibGljIG92ZXJyaWRlIGxpc3RlbihjYWxsYmFjazogRkNoYW5uZWxMaXN0ZW5lcik6ICgpID0+IHZvaWQge1xuICAgIGlmICghdGhpcy5faXNPYnNlcnZpbmcpIHtcbiAgICAgIHRoaXMuX29ic2VydmVyLm9ic2VydmUodGhpcy5faHRtbEVsZW1lbnQpO1xuICAgICAgdGhpcy5faXNPYnNlcnZpbmcgPSB0cnVlO1xuICAgIH1cbiAgICByZXR1cm4gc3VwZXIubGlzdGVuKGNhbGxiYWNrKTtcbiAgfVxuXG4gIHB1YmxpYyBvdmVycmlkZSBzdG9wKGNhbGxiYWNrOiBGQ2hhbm5lbExpc3RlbmVyKTogdm9pZCB7XG4gICAgc3VwZXIuc3RvcChjYWxsYmFjayk7XG4gICAgaWYgKHRoaXMuX2xpc3RlbmVycy5zaXplID09PSAwKSB7XG4gICAgICB0aGlzLl9kaXNjb25uZWN0KCk7XG4gICAgfVxuICB9XG5cbiAgcHJpdmF0ZSBfZGlzY29ubmVjdCgpOiB2b2lkIHtcbiAgICB0aGlzLl9vYnNlcnZlci51bm9ic2VydmUodGhpcy5faHRtbEVsZW1lbnQpO1xuICAgIHRoaXMuX29ic2VydmVyLmRpc2Nvbm5lY3QoKTtcbiAgICB0aGlzLl9pc09ic2VydmluZyA9IGZhbHNlO1xuICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from './debounce-time';
|
|
2
|
+
export * from './f-channel';
|
|
3
|
+
export * from './f-resize-channel';
|
|
4
|
+
export * from './types';
|
|
5
|
+
export * from './f-channel-hub';
|
|
6
|
+
export * from './notify-on-start';
|
|
7
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL3JlYWN0aXZpdHkvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxpQkFBaUIsQ0FBQztBQUVoQyxjQUFjLGFBQWEsQ0FBQztBQUU1QixjQUFjLG9CQUFvQixDQUFDO0FBRW5DLGNBQWMsU0FBUyxDQUFDO0FBRXhCLGNBQWMsaUJBQWlCLENBQUM7QUFFaEMsY0FBYyxtQkFBbUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZGVib3VuY2UtdGltZSc7XG5cbmV4cG9ydCAqIGZyb20gJy4vZi1jaGFubmVsJztcblxuZXhwb3J0ICogZnJvbSAnLi9mLXJlc2l6ZS1jaGFubmVsJztcblxuZXhwb3J0ICogZnJvbSAnLi90eXBlcyc7XG5cbmV4cG9ydCAqIGZyb20gJy4vZi1jaGFubmVsLWh1Yic7XG5cbmV4cG9ydCAqIGZyb20gJy4vbm90aWZ5LW9uLXN0YXJ0JztcbiJdfQ==
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export function notifyOnStart() {
|
|
2
|
+
return callback => {
|
|
3
|
+
callback();
|
|
4
|
+
return callback;
|
|
5
|
+
};
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90aWZ5LW9uLXN0YXJ0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9yZWFjdGl2aXR5L25vdGlmeS1vbi1zdGFydC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxNQUFNLFVBQVUsYUFBYTtJQUMzQixPQUFPLFFBQVEsQ0FBQyxFQUFFO1FBQ2hCLFFBQVEsRUFBRSxDQUFDO1FBQ1gsT0FBTyxRQUFRLENBQUM7SUFDbEIsQ0FBQyxDQUFDO0FBQ0osQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEZDaGFubmVsT3BlcmF0b3IgfSBmcm9tICcuL3R5cGVzJztcblxuZXhwb3J0IGZ1bmN0aW9uIG5vdGlmeU9uU3RhcnQoKTogRkNoYW5uZWxPcGVyYXRvciB7XG4gIHJldHVybiBjYWxsYmFjayA9PiB7XG4gICAgY2FsbGJhY2soKTtcbiAgICByZXR1cm4gY2FsbGJhY2s7XG4gIH07XG59XG4iXX0=
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL3JlYWN0aXZpdHkvdHlwZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB0eXBlIEZDaGFubmVsTGlzdGVuZXIgPSAoKSA9PiB2b2lkO1xuXG5leHBvcnQgdHlwZSBGQ2hhbm5lbE9wZXJhdG9yID0gKGNhbGxiYWNrOiBGQ2hhbm5lbExpc3RlbmVyKSA9PiBGQ2hhbm5lbExpc3RlbmVyO1xuIl19
|
|
@@ -5,7 +5,6 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
export declare const F_BACKGROUND: InjectionToken<FBackgroundBase>;
|
|
6
6
|
export declare abstract class FBackgroundBase implements IHasHostElement {
|
|
7
7
|
abstract hostElement: HTMLElement;
|
|
8
|
-
abstract isBackgroundElement(element: HTMLElement | SVGElement): boolean;
|
|
9
8
|
abstract setTransform(transform: ITransformModel): void;
|
|
10
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<FBackgroundBase, never>;
|
|
11
10
|
static ɵdir: i0.ɵɵDirectiveDeclaration<FBackgroundBase, never, never, {}, {}, never, never, false, never>;
|
|
@@ -1,20 +1,15 @@
|
|
|
1
|
-
import { AfterContentInit,
|
|
1
|
+
import { AfterContentInit, OnDestroy, OnInit } from "@angular/core";
|
|
2
2
|
import { FBackgroundBase } from './f-background-base';
|
|
3
3
|
import { ITransformModel } from '@foblex/2d';
|
|
4
4
|
import { IFBackgroundPattern } from './domain';
|
|
5
|
-
import { FComponentsStore } from '../f-storage';
|
|
6
|
-
import { FMediator } from '@foblex/mediator';
|
|
7
5
|
import * as i0 from "@angular/core";
|
|
8
6
|
export declare class FBackgroundComponent extends FBackgroundBase implements OnInit, AfterContentInit, OnDestroy {
|
|
9
|
-
private
|
|
10
|
-
private fComponentsStore;
|
|
11
|
-
private fMediator;
|
|
7
|
+
private _elementReference;
|
|
12
8
|
get hostElement(): HTMLElement;
|
|
13
9
|
fBackgroundPattern: IFBackgroundPattern | undefined;
|
|
14
|
-
|
|
10
|
+
private _fMediator;
|
|
15
11
|
ngOnInit(): void;
|
|
16
12
|
ngAfterContentInit(): void;
|
|
17
|
-
isBackgroundElement(element: HTMLElement | SVGElement): boolean;
|
|
18
13
|
setTransform(transform: ITransformModel): void;
|
|
19
14
|
ngOnDestroy(): void;
|
|
20
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<FBackgroundComponent, never>;
|
|
@@ -1,34 +1,33 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnChanges, OnInit, SimpleChanges } from "@angular/core";
|
|
2
2
|
import { ITransformModel } from '@foblex/2d';
|
|
3
3
|
import { IFBackgroundPattern } from '../domain';
|
|
4
4
|
import { BrowserService } from '@foblex/platform';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class FCirclePatternComponent implements OnInit,
|
|
7
|
-
private
|
|
8
|
-
private
|
|
9
|
-
private
|
|
6
|
+
export declare class FCirclePatternComponent implements OnInit, OnChanges, IFBackgroundPattern {
|
|
7
|
+
private _fBrowser;
|
|
8
|
+
private _destroyRef;
|
|
9
|
+
private _elementReference;
|
|
10
10
|
private _stateChanges;
|
|
11
11
|
get hostElement(): HTMLElement;
|
|
12
12
|
id: string;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
private _radius;
|
|
13
|
+
color: string;
|
|
14
|
+
radius: number;
|
|
16
15
|
private _scaledRadius;
|
|
17
|
-
set radius(value: number);
|
|
18
16
|
private _transform;
|
|
19
17
|
private _position;
|
|
20
18
|
private _pattern;
|
|
21
19
|
private _circle;
|
|
22
|
-
constructor(
|
|
23
|
-
private
|
|
20
|
+
constructor(_fBrowser: BrowserService);
|
|
21
|
+
private _createPattern;
|
|
24
22
|
ngOnInit(): void;
|
|
25
|
-
private
|
|
26
|
-
|
|
27
|
-
private
|
|
28
|
-
private
|
|
29
|
-
private
|
|
23
|
+
private _listenStateChanges;
|
|
24
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
25
|
+
private _redraw;
|
|
26
|
+
private _calculatePattern;
|
|
27
|
+
private _redrawPattern;
|
|
28
|
+
private _redrawElement;
|
|
30
29
|
setTransform(transform: ITransformModel): void;
|
|
31
|
-
|
|
30
|
+
private _refresh;
|
|
32
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<FCirclePatternComponent, never>;
|
|
33
32
|
static ɵcmp: i0.ɵɵComponentDeclaration<FCirclePatternComponent, "f-circle-pattern", never, { "id": { "alias": "id"; "required": false; }; "color": { "alias": "color"; "required": false; }; "radius": { "alias": "radius"; "required": false; }; }, {}, never, never, false, never>;
|
|
34
33
|
}
|
|
@@ -1,39 +1,36 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnChanges, OnInit, SimpleChanges } from "@angular/core";
|
|
2
2
|
import { ITransformModel } from '@foblex/2d';
|
|
3
3
|
import { IFBackgroundPattern } from '../domain';
|
|
4
4
|
import { BrowserService } from '@foblex/platform';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class FRectPatternComponent implements OnInit,
|
|
7
|
-
private
|
|
8
|
-
private
|
|
9
|
-
private
|
|
6
|
+
export declare class FRectPatternComponent implements OnInit, OnChanges, IFBackgroundPattern {
|
|
7
|
+
private _fBrowser;
|
|
8
|
+
private _destroyRef;
|
|
9
|
+
private _elementReference;
|
|
10
10
|
private _stateChanges;
|
|
11
11
|
get hostElement(): HTMLElement;
|
|
12
12
|
id: string;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
private _vSize;
|
|
18
|
-
set vSize(value: number);
|
|
19
|
-
private _hSize;
|
|
20
|
-
set hSize(value: number);
|
|
13
|
+
vColor: string;
|
|
14
|
+
hColor: string;
|
|
15
|
+
vSize: number;
|
|
16
|
+
hSize: number;
|
|
21
17
|
private _transform;
|
|
22
18
|
private _position;
|
|
23
19
|
private _size;
|
|
24
20
|
private _pattern;
|
|
25
21
|
private _vLine;
|
|
26
22
|
private _hLine;
|
|
27
|
-
constructor(
|
|
28
|
-
private
|
|
23
|
+
constructor(_fBrowser: BrowserService);
|
|
24
|
+
private _createPattern;
|
|
29
25
|
ngOnInit(): void;
|
|
30
|
-
private
|
|
31
|
-
|
|
32
|
-
private
|
|
33
|
-
private
|
|
26
|
+
private _listenStateChanges;
|
|
27
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
28
|
+
private _redraw;
|
|
29
|
+
private _calculatePattern;
|
|
30
|
+
private _redrawPattern;
|
|
34
31
|
private redrawLine;
|
|
35
32
|
setTransform(transform: ITransformModel): void;
|
|
36
|
-
|
|
33
|
+
private _refresh;
|
|
37
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<FRectPatternComponent, never>;
|
|
38
35
|
static ɵcmp: i0.ɵɵComponentDeclaration<FRectPatternComponent, "f-rect-pattern", never, { "id": { "alias": "id"; "required": false; }; "vColor": { "alias": "vColor"; "required": false; }; "hColor": { "alias": "hColor"; "required": false; }; "vSize": { "alias": "vSize"; "required": false; }; "hSize": { "alias": "hSize"; "required": false; }; }, {}, never, never, false, never>;
|
|
39
36
|
}
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import { IPoint } from '@foblex/2d';
|
|
2
2
|
import { ElementRef, EventEmitter, InjectionToken } from '@angular/core';
|
|
3
3
|
import { FCanvasChangeEvent } from './domain';
|
|
4
|
-
import { FNodeBase } from '../f-node';
|
|
5
4
|
import { IHasHostElement } from '../i-has-host-element';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
6
|
export declare const F_CANVAS: InjectionToken<FCanvasBase>;
|
|
8
7
|
export declare abstract class FCanvasBase implements IHasHostElement {
|
|
9
8
|
abstract fCanvasChange: EventEmitter<FCanvasChangeEvent>;
|
|
10
|
-
abstract fNodes: FNodeBase[];
|
|
11
9
|
abstract hostElement: HTMLElement;
|
|
12
10
|
abstract fGroupsContainer: ElementRef<HTMLElement>;
|
|
13
11
|
abstract fNodesContainer: ElementRef<HTMLElement>;
|
|
@@ -1,33 +1,27 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, OnInit } from "@angular/core";
|
|
1
|
+
import { ElementRef, EventEmitter, OnDestroy, OnInit } from "@angular/core";
|
|
2
2
|
import { FCanvasBase } from './f-canvas-base';
|
|
3
3
|
import { IPoint } from '@foblex/2d';
|
|
4
4
|
import { FCanvasChangeEvent } from './domain';
|
|
5
|
-
import { FComponentsStore } from '../f-storage';
|
|
6
|
-
import { FNodeBase } from '../f-node';
|
|
7
|
-
import { FMediator } from '@foblex/mediator';
|
|
8
5
|
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class FCanvasComponent extends FCanvasBase implements OnInit {
|
|
10
|
-
private
|
|
11
|
-
private fMediator;
|
|
12
|
-
private fComponentsStore;
|
|
6
|
+
export declare class FCanvasComponent extends FCanvasBase implements OnInit, OnDestroy {
|
|
7
|
+
private _elementReference;
|
|
13
8
|
fCanvasChange: EventEmitter<FCanvasChangeEvent>;
|
|
14
9
|
set position(value: IPoint | undefined);
|
|
15
10
|
set scale(value: number | undefined);
|
|
16
|
-
get fNodes(): FNodeBase[];
|
|
17
11
|
get hostElement(): HTMLElement;
|
|
18
12
|
fGroupsContainer: ElementRef<HTMLElement>;
|
|
19
13
|
fNodesContainer: ElementRef<HTMLElement>;
|
|
20
14
|
fConnectionsContainer: ElementRef<HTMLElement>;
|
|
21
|
-
|
|
15
|
+
private _fMediator;
|
|
22
16
|
ngOnInit(): void;
|
|
23
17
|
redraw(): void;
|
|
24
18
|
redrawWithAnimation(): void;
|
|
25
|
-
private isMobile;
|
|
26
19
|
centerGroupOrNode(id: string, animated?: boolean): void;
|
|
27
20
|
fitToScreen(toCenter?: IPoint, animated?: boolean): void;
|
|
28
21
|
resetScaleAndCenter(animated?: boolean): void;
|
|
29
22
|
setZoom(scale: number, toPosition?: IPoint): void;
|
|
30
23
|
resetZoom(): void;
|
|
24
|
+
ngOnDestroy(): void;
|
|
31
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<FCanvasComponent, never>;
|
|
32
26
|
static ɵcmp: i0.ɵɵComponentDeclaration<FCanvasComponent, "f-canvas", ["fComponent"], { "position": { "alias": "position"; "required": false; }; "scale": { "alias": "scale"; "required": false; }; }, { "fCanvasChange": "fCanvasChange"; }, never, ["[fGroup]", "f-snap-connection", "f-connection", "f-connection-for-create", "[fNode]"], false, never>;
|
|
33
27
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
2
|
import { ILine, IPoint } from '@foblex/2d';
|
|
3
|
-
import { Subject } from 'rxjs';
|
|
4
3
|
import { EFConnectionBehavior } from './e-f-connection-behavior';
|
|
5
4
|
import { EFConnectionType } from './e-f-connection-type';
|
|
6
5
|
import { IHasConnectionColor } from './i-has-connection-color';
|
|
@@ -11,7 +10,6 @@ import { IConnectionGradient } from './f-gradient';
|
|
|
11
10
|
import { FConnectionDragHandleComponent } from './f-drag-handle';
|
|
12
11
|
import { FConnectionSelectionComponent } from './f-selection';
|
|
13
12
|
import { IConnectionText } from './f-connection-text';
|
|
14
|
-
import { IHasStateChanges } from '../../i-has-state-changes';
|
|
15
13
|
import { EFConnectableSide } from '../../f-connectors';
|
|
16
14
|
import { FConnectionFactory } from '../f-connection-builder';
|
|
17
15
|
import { IHasHostElement } from '../../i-has-host-element';
|
|
@@ -22,7 +20,7 @@ declare const MIXIN_BASE: import("../../mixins").Constructor<ICanChangeSelection
|
|
|
22
20
|
hostElement: HTMLElement;
|
|
23
21
|
};
|
|
24
22
|
};
|
|
25
|
-
export declare abstract class FConnectionBase extends MIXIN_BASE implements IHasHostElement, ICanChangeSelection, ICanChangeVisibility,
|
|
23
|
+
export declare abstract class FConnectionBase extends MIXIN_BASE implements IHasHostElement, ICanChangeSelection, ICanChangeVisibility, IHasConnectionColor, IHasConnectionFromTo, IHasConnectionText {
|
|
26
24
|
private cFactory;
|
|
27
25
|
abstract fId: string;
|
|
28
26
|
abstract fStartColor: string;
|
|
@@ -33,12 +31,11 @@ export declare abstract class FConnectionBase extends MIXIN_BASE implements IHas
|
|
|
33
31
|
abstract fOffset: number;
|
|
34
32
|
path: string;
|
|
35
33
|
line: ILine;
|
|
36
|
-
readonly stateChanges: Subject<void>;
|
|
37
34
|
abstract fDraggingDisabled: boolean;
|
|
38
35
|
abstract fSelectionDisabled: boolean;
|
|
39
36
|
abstract boundingElement: HTMLElement | SVGElement;
|
|
40
37
|
abstract fBehavior: EFConnectionBehavior;
|
|
41
|
-
abstract fType: EFConnectionType;
|
|
38
|
+
abstract fType: EFConnectionType | string;
|
|
42
39
|
abstract fDefs: ElementRef<SVGDefsElement>;
|
|
43
40
|
abstract fPath: IConnectionPath;
|
|
44
41
|
abstract fGradient: IConnectionGradient;
|
|
@@ -46,6 +43,7 @@ export declare abstract class FConnectionBase extends MIXIN_BASE implements IHas
|
|
|
46
43
|
abstract fSelection: FConnectionSelectionComponent;
|
|
47
44
|
abstract fTextComponent: IConnectionText;
|
|
48
45
|
abstract fText: string;
|
|
46
|
+
abstract fTextStartOffset: string;
|
|
49
47
|
abstract fConnectionCenter: ElementRef<HTMLDivElement>;
|
|
50
48
|
private penultimatePoint;
|
|
51
49
|
protected constructor(elementReference: ElementRef<HTMLElement>, cFactory: FConnectionFactory);
|
|
@@ -9,7 +9,7 @@ export declare class FConnectionDragHandleComponent implements IHasHostElement {
|
|
|
9
9
|
get hostElement(): SVGCircleElement;
|
|
10
10
|
constructor(elementReference: ElementRef<SVGCircleElement>);
|
|
11
11
|
redraw(penultimatePoint: IPoint, endPoint: IPoint): void;
|
|
12
|
-
private
|
|
12
|
+
private _calculateCircleCenter;
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<FConnectionDragHandleComponent, never>;
|
|
14
14
|
static ɵcmp: i0.ɵɵComponentDeclaration<FConnectionDragHandleComponent, "circle[f-connection-drag-handle]", never, {}, {}, never, never, false, never>;
|
|
15
15
|
}
|
|
@@ -1,44 +1,23 @@
|
|
|
1
|
-
import { ElementRef, OnDestroy, OnInit, QueryList } from "@angular/core";
|
|
1
|
+
import { ElementRef, OnChanges, OnDestroy, OnInit, QueryList } from "@angular/core";
|
|
2
2
|
import { FConnectionDragHandleComponent, FConnectionSelectionComponent, IConnectionGradient, IConnectionPath, IConnectionText } from '../common';
|
|
3
3
|
import { EFConnectionBehavior } from '../common';
|
|
4
4
|
import { EFConnectionType } from '../common';
|
|
5
|
-
import { FComponentsStore } from '../../f-storage';
|
|
6
5
|
import { FConnectionCenterDirective } from '../f-connection-center';
|
|
7
6
|
import { FConnectionFactory } from '../f-connection-builder';
|
|
8
7
|
import { FConnectionBase } from '../common/f-connection-base';
|
|
9
|
-
import { FMediator } from '@foblex/mediator';
|
|
10
8
|
import * as i0 from "@angular/core";
|
|
11
|
-
export declare class FConnectionComponent extends FConnectionBase implements OnInit, OnDestroy {
|
|
12
|
-
private fComponentsStore;
|
|
13
|
-
private fMediator;
|
|
9
|
+
export declare class FConnectionComponent extends FConnectionBase implements OnInit, OnChanges, OnDestroy {
|
|
14
10
|
fId: string;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
set fOutputId(value: string);
|
|
26
|
-
get fOutputId(): string;
|
|
27
|
-
private _fInputId;
|
|
28
|
-
set fInputId(value: string);
|
|
29
|
-
get fInputId(): string;
|
|
30
|
-
private _fRadius;
|
|
31
|
-
set fRadius(value: number);
|
|
32
|
-
get fRadius(): number;
|
|
33
|
-
private _fOffset;
|
|
34
|
-
set fOffset(value: number);
|
|
35
|
-
get fOffset(): number;
|
|
36
|
-
private _behavior;
|
|
37
|
-
set fBehavior(value: string | EFConnectionBehavior);
|
|
38
|
-
get fBehavior(): EFConnectionBehavior;
|
|
39
|
-
private _type;
|
|
40
|
-
set fType(value: EFConnectionType | string);
|
|
41
|
-
get fType(): EFConnectionType;
|
|
11
|
+
fText: string;
|
|
12
|
+
fTextStartOffset: string;
|
|
13
|
+
fStartColor: string;
|
|
14
|
+
fEndColor: string;
|
|
15
|
+
fOutputId: string;
|
|
16
|
+
fInputId: string;
|
|
17
|
+
fRadius: number;
|
|
18
|
+
fOffset: number;
|
|
19
|
+
fBehavior: EFConnectionBehavior;
|
|
20
|
+
fType: EFConnectionType | string;
|
|
42
21
|
fDraggingDisabled: boolean;
|
|
43
22
|
fSelectionDisabled: boolean;
|
|
44
23
|
fDefs: ElementRef<SVGDefsElement>;
|
|
@@ -50,9 +29,12 @@ export declare class FConnectionComponent extends FConnectionBase implements OnI
|
|
|
50
29
|
fConnectionCenter: ElementRef<HTMLDivElement>;
|
|
51
30
|
fConnectionCenters: QueryList<FConnectionCenterDirective>;
|
|
52
31
|
get boundingElement(): HTMLElement | SVGElement;
|
|
53
|
-
|
|
32
|
+
private _fMediator;
|
|
33
|
+
constructor(elementReference: ElementRef<HTMLElement>, fConnectionFactory: FConnectionFactory);
|
|
54
34
|
ngOnInit(): void;
|
|
35
|
+
ngOnChanges(): void;
|
|
55
36
|
ngOnDestroy(): void;
|
|
56
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<FConnectionComponent, never>;
|
|
57
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FConnectionComponent, "f-connection", ["fComponent"], { "fId": { "alias": "fConnectionId"; "required": false; }; "fText": { "alias": "fText"; "required": false; }; "fStartColor": { "alias": "fStartColor"; "required": false; }; "fEndColor": { "alias": "fEndColor"; "required": false; }; "fOutputId": { "alias": "fOutputId"; "required": false; }; "fInputId": { "alias": "fInputId"; "required": false; }; "fRadius": { "alias": "fRadius"; "required": false; }; "fOffset": { "alias": "fOffset"; "required": false; }; "fBehavior": { "alias": "fBehavior"; "required": false; }; "fType": { "alias": "fType"; "required": false; }; "fDraggingDisabled": { "alias": "fReassignDisabled"; "required": false; }; "fSelectionDisabled": { "alias": "fSelectionDisabled"; "required": false; }; }, {}, ["fConnectionCenters"], ["*", "[fConnectionCenter]"], false, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FConnectionComponent, "f-connection", ["fComponent"], { "fId": { "alias": "fConnectionId"; "required": false; }; "fText": { "alias": "fText"; "required": false; }; "fTextStartOffset": { "alias": "fTextStartOffset"; "required": false; }; "fStartColor": { "alias": "fStartColor"; "required": false; }; "fEndColor": { "alias": "fEndColor"; "required": false; }; "fOutputId": { "alias": "fOutputId"; "required": false; }; "fInputId": { "alias": "fInputId"; "required": false; }; "fRadius": { "alias": "fRadius"; "required": false; }; "fOffset": { "alias": "fOffset"; "required": false; }; "fBehavior": { "alias": "fBehavior"; "required": false; }; "fType": { "alias": "fType"; "required": false; }; "fDraggingDisabled": { "alias": "fReassignDisabled"; "required": false; }; "fSelectionDisabled": { "alias": "fSelectionDisabled"; "required": false; }; }, {}, ["fConnectionCenters"], ["*", "[fConnectionCenter]"], false, never>;
|
|
39
|
+
static ngAcceptInputType_fBehavior: unknown;
|
|
58
40
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EFConnectionType } from '../common';
|
|
2
2
|
import { IFConnectionBuilderRequest } from './i-f-connection-builder-request';
|
|
3
3
|
export interface IFConnectionFactoryRequest {
|
|
4
|
-
type: EFConnectionType;
|
|
4
|
+
type: EFConnectionType | string;
|
|
5
5
|
payload: IFConnectionBuilderRequest;
|
|
6
6
|
}
|
|
@@ -1,36 +1,23 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, OnDestroy, OnInit, QueryList } from "@angular/core";
|
|
1
|
+
import { AfterViewInit, ElementRef, OnChanges, OnDestroy, OnInit, QueryList } from "@angular/core";
|
|
2
2
|
import { FConnectionDragHandleComponent, FConnectionSelectionComponent, IConnectionGradient, IConnectionPath, IConnectionText } from '../common';
|
|
3
3
|
import { EFConnectionBehavior } from '../common';
|
|
4
4
|
import { EFConnectionType } from '../common';
|
|
5
5
|
import { FConnectionCenterDirective } from '../f-connection-center';
|
|
6
6
|
import { FConnectionFactory } from '../f-connection-builder';
|
|
7
|
-
import { FComponentsStore } from '../../f-storage';
|
|
8
7
|
import { FConnectionBase } from '../common/f-connection-base';
|
|
9
8
|
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class FConnectionForCreateComponent extends FConnectionBase implements AfterViewInit, OnInit, OnDestroy {
|
|
11
|
-
private fComponentsStore;
|
|
9
|
+
export declare class FConnectionForCreateComponent extends FConnectionBase implements AfterViewInit, OnInit, OnChanges, OnDestroy {
|
|
12
10
|
fId: string;
|
|
13
11
|
fText: string;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
private _fEndColor;
|
|
18
|
-
set fEndColor(value: string);
|
|
19
|
-
get fEndColor(): string;
|
|
12
|
+
fTextStartOffset: string;
|
|
13
|
+
fStartColor: string;
|
|
14
|
+
fEndColor: string;
|
|
20
15
|
fOutputId: string;
|
|
21
16
|
fInputId: string;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
set fOffset(value: number);
|
|
27
|
-
get fOffset(): number;
|
|
28
|
-
private _behavior;
|
|
29
|
-
set fBehavior(value: EFConnectionBehavior | string);
|
|
30
|
-
get fBehavior(): EFConnectionBehavior;
|
|
31
|
-
private _type;
|
|
32
|
-
set fType(value: EFConnectionType | string);
|
|
33
|
-
get fType(): EFConnectionType;
|
|
17
|
+
fRadius: number;
|
|
18
|
+
fOffset: number;
|
|
19
|
+
fBehavior: EFConnectionBehavior;
|
|
20
|
+
fType: EFConnectionType | string;
|
|
34
21
|
fDraggingDisabled: boolean;
|
|
35
22
|
fSelectionDisabled: boolean;
|
|
36
23
|
fDefs: ElementRef<SVGDefsElement>;
|
|
@@ -42,10 +29,13 @@ export declare class FConnectionForCreateComponent extends FConnectionBase imple
|
|
|
42
29
|
fConnectionCenter: ElementRef<HTMLDivElement>;
|
|
43
30
|
fConnectionCenters: QueryList<FConnectionCenterDirective>;
|
|
44
31
|
get boundingElement(): HTMLElement | SVGElement;
|
|
45
|
-
|
|
32
|
+
private _fMediator;
|
|
33
|
+
constructor(elementReference: ElementRef<HTMLElement>, fConnectionFactory: FConnectionFactory);
|
|
46
34
|
ngOnInit(): void;
|
|
47
35
|
ngAfterViewInit(): void;
|
|
36
|
+
ngOnChanges(): void;
|
|
48
37
|
ngOnDestroy(): void;
|
|
49
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<FConnectionForCreateComponent, never>;
|
|
50
39
|
static ɵcmp: i0.ɵɵComponentDeclaration<FConnectionForCreateComponent, "f-connection-for-create", never, { "fStartColor": { "alias": "fStartColor"; "required": false; }; "fEndColor": { "alias": "fEndColor"; "required": false; }; "fRadius": { "alias": "fRadius"; "required": false; }; "fOffset": { "alias": "fOffset"; "required": false; }; "fBehavior": { "alias": "fBehavior"; "required": false; }; "fType": { "alias": "fType"; "required": false; }; }, {}, ["fConnectionCenters"], ["*", "[fConnectionCenter]"], false, never>;
|
|
40
|
+
static ngAcceptInputType_fBehavior: unknown;
|
|
51
41
|
}
|