@foblex/flow 17.7.1 → 17.8.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-pattern-to-background/add-pattern-to-background.execution.d.ts +2 -2
- package/domain/f-background/remove-background-from-store/remove-background-from-store.execution.d.ts +1 -1
- package/domain/f-canvas/providers.d.ts +1 -1
- package/domain/f-connection/calculate-connection-line-by-behavior/calculate-connection-line-by-behavior-request.d.ts +12 -0
- package/domain/f-connection/calculate-connection-line-by-behavior/{calculate-connection-line-by-behavior.execution.d.ts → calculate-connection-line-by-behavior.d.ts} +4 -4
- package/domain/f-connection/calculate-connection-line-by-behavior/fixed-center-behavior.d.ts +2 -2
- package/domain/f-connection/calculate-connection-line-by-behavior/fixed-outbound-behavior.d.ts +2 -2
- package/domain/f-connection/calculate-connection-line-by-behavior/floating-behavior.d.ts +2 -2
- package/domain/f-connection/calculate-connection-line-by-behavior/index.d.ts +2 -2
- package/domain/f-connection/providers.d.ts +2 -2
- package/domain/f-connection/redraw-connections/redraw-connections.execution.d.ts +2 -2
- package/domain/f-connectors/add-input-to-store/add-input-to-store-request.d.ts +2 -2
- package/domain/f-connectors/add-input-to-store/add-input-to-store.d.ts +12 -0
- package/domain/f-connectors/add-input-to-store/index.d.ts +1 -1
- package/domain/f-connectors/add-outlet-to-store/add-outlet-to-store-request.d.ts +2 -2
- package/domain/f-connectors/add-outlet-to-store/{add-outlet-to-store.execution.d.ts → add-outlet-to-store.d.ts} +5 -5
- package/domain/f-connectors/add-outlet-to-store/index.d.ts +1 -1
- package/domain/f-connectors/add-output-to-store/add-output-to-store-request.d.ts +2 -2
- package/domain/f-connectors/add-output-to-store/{add-output-to-store.execution.d.ts → add-output-to-store.d.ts} +5 -5
- package/domain/f-connectors/add-output-to-store/index.d.ts +1 -1
- package/domain/f-connectors/{find-closest-connector/find-closest-connector.request.d.ts → calculate-closest-connector/calculate-closest-connector-request.d.ts} +3 -3
- package/domain/f-connectors/calculate-closest-connector/calculate-closest-connector.d.ts +16 -0
- package/domain/f-connectors/calculate-closest-connector/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 +3 -3
- package/domain/f-connectors/get-all-can-be-connected-inputs-and-rects/get-all-can-be-connected-inputs-and-rects.request.d.ts +2 -2
- 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 +2 -2
- 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 +2 -2
- package/domain/f-connectors/get-connector-and-rect/get-connector-and-rect-request.d.ts +2 -2
- package/domain/f-connectors/get-connector-and-rect/{get-connector-and-rect.execution.d.ts → get-connector-and-rect.d.ts} +4 -4
- package/domain/f-connectors/get-connector-and-rect/index.d.ts +1 -1
- package/domain/f-connectors/index.d.ts +1 -1
- package/domain/f-connectors/mark-connectable-connectors/index.d.ts +2 -2
- package/domain/f-connectors/mark-connectable-connectors/{mark-connectable-connectors.request.d.ts → mark-connectable-connectors-request.d.ts} +2 -2
- package/domain/f-connectors/mark-connectable-connectors/{mark-connectable-connectors.execution.d.ts → mark-connectable-connectors.d.ts} +5 -5
- package/domain/f-connectors/providers.d.ts +11 -11
- package/domain/f-connectors/remove-input-from-store/index.d.ts +1 -1
- package/domain/f-connectors/remove-input-from-store/remove-input-from-store-request.d.ts +2 -2
- package/domain/f-connectors/remove-input-from-store/{remove-input-from-store.execution.d.ts → remove-input-from-store.d.ts} +4 -4
- package/domain/f-connectors/unmark-connectable-connectors/index.d.ts +2 -2
- package/domain/f-connectors/unmark-connectable-connectors/{unmark-connectable-connectors.request.d.ts → unmark-connectable-connectors-request.d.ts} +2 -2
- package/domain/f-connectors/unmark-connectable-connectors/{unmark-connectable-connectors.execution.d.ts → unmark-connectable-connectors.d.ts} +5 -5
- package/domain/f-draggable/providers.d.ts +1 -1
- package/domain/f-draggable/start-drag-sequence/start-drag-sequence.execution.d.ts +2 -2
- package/domain/f-flow/get-flow-state/get-flow-state-connections/get-flow-state-connections.execution.d.ts +1 -1
- package/domain/f-flow/get-flow-state/providers.d.ts +1 -1
- package/domain/f-flow/providers.d.ts +1 -1
- package/domain/f-zoom/remove-zoom-from-store/remove-zoom-from-store.execution.d.ts +1 -1
- package/domain/i-map.d.ts +1 -3
- package/domain/providers.d.ts +1 -1
- package/esm2022/domain/css-cls.mjs +2 -2
- package/esm2022/domain/f-background/add-background-to-store/add-background-to-store-request.mjs +1 -1
- package/esm2022/domain/f-background/add-pattern-to-background/add-pattern-to-background.execution.mjs +8 -8
- package/esm2022/domain/f-background/add-pattern-to-background/add-pattern-to-background.request.mjs +1 -1
- package/esm2022/domain/f-background/providers.mjs +2 -2
- package/esm2022/domain/f-background/remove-background-from-store/remove-background-from-store-request.mjs +1 -1
- package/esm2022/domain/f-background/remove-background-from-store/remove-background-from-store.execution.mjs +2 -2
- package/esm2022/domain/f-background/set-background-transform/set-background-transform-request.mjs +1 -1
- package/esm2022/domain/f-canvas/add-canvas-to-store/add-canvas-to-store-request.mjs +1 -1
- package/esm2022/domain/f-canvas/center-group-or-node/center-group-or-node-request.mjs +1 -1
- package/esm2022/domain/f-canvas/center-group-or-node/center-group-or-node.execution.mjs +1 -1
- package/esm2022/domain/f-canvas/fit-to-flow/fit-to-flow-request.mjs +1 -1
- package/esm2022/domain/f-canvas/fit-to-flow/fit-to-flow.execution.mjs +1 -1
- package/esm2022/domain/f-canvas/get-canvas/get-canvas.execution.mjs +1 -1
- package/esm2022/domain/f-canvas/input-canvas-position/input-canvas-position-request.mjs +1 -1
- package/esm2022/domain/f-canvas/input-canvas-position/input-canvas-position.execution.mjs +1 -1
- package/esm2022/domain/f-canvas/input-canvas-scale/input-canvas-scale-request.mjs +1 -1
- package/esm2022/domain/f-canvas/providers.mjs +2 -2
- package/esm2022/domain/f-canvas/redraw-canvas-with-animation/redraw-canvas-with-animation-request.mjs +1 -1
- package/esm2022/domain/f-canvas/reset-scale-and-center/reset-scale-and-center-request.mjs +1 -1
- package/esm2022/domain/f-canvas/reset-scale-and-center/reset-scale-and-center.execution.mjs +1 -1
- package/esm2022/domain/f-canvas/update-scale/update-scale-request.mjs +1 -1
- package/esm2022/domain/f-connection/add-connection-for-create-to-store/add-connection-for-create-to-store-request.mjs +1 -1
- package/esm2022/domain/f-connection/add-connection-marker-to-store/add-connection-marker-to-store-request.mjs +1 -1
- package/esm2022/domain/f-connection/add-connection-to-store/add-connection-to-store-request.mjs +1 -1
- package/esm2022/domain/f-connection/add-snap-connection-to-store/add-snap-connection-to-store-request.mjs +1 -1
- package/esm2022/domain/f-connection/calculate-connection-line-by-behavior/calculate-connection-line-by-behavior-request.mjs +16 -0
- package/esm2022/domain/f-connection/calculate-connection-line-by-behavior/calculate-connection-line-by-behavior.mjs +32 -0
- package/esm2022/domain/f-connection/calculate-connection-line-by-behavior/fixed-center-behavior.mjs +4 -4
- package/esm2022/domain/f-connection/calculate-connection-line-by-behavior/fixed-outbound-behavior.mjs +8 -4
- package/esm2022/domain/f-connection/calculate-connection-line-by-behavior/floating-behavior.mjs +10 -10
- package/esm2022/domain/f-connection/calculate-connection-line-by-behavior/index.mjs +3 -3
- package/esm2022/domain/f-connection/create-connection-markers/create-connection-markers.execution.mjs +1 -1
- package/esm2022/domain/f-connection/providers.mjs +4 -4
- package/esm2022/domain/f-connection/redraw-connections/redraw-connections-request.mjs +1 -1
- package/esm2022/domain/f-connection/redraw-connections/redraw-connections.execution.mjs +9 -9
- package/esm2022/domain/f-connection/remove-connection-from-store/remove-connection-from-store-request.mjs +1 -1
- package/esm2022/domain/f-connection/remove-connection-from-store/remove-connection-from-store.execution.mjs +1 -1
- package/esm2022/domain/f-connection/remove-connection-marker-from-store/remove-connection-marker-from-store-request.mjs +1 -1
- package/esm2022/domain/f-connectors/add-input-to-store/add-input-to-store-request.mjs +4 -4
- package/esm2022/domain/f-connectors/add-input-to-store/add-input-to-store.mjs +25 -0
- package/esm2022/domain/f-connectors/add-input-to-store/index.mjs +2 -2
- package/esm2022/domain/f-connectors/add-outlet-to-store/add-outlet-to-store-request.mjs +4 -4
- package/esm2022/domain/f-connectors/add-outlet-to-store/add-outlet-to-store.mjs +25 -0
- package/esm2022/domain/f-connectors/add-outlet-to-store/index.mjs +2 -2
- package/esm2022/domain/f-connectors/add-output-to-store/add-output-to-store-request.mjs +4 -4
- package/esm2022/domain/f-connectors/add-output-to-store/add-output-to-store.mjs +25 -0
- package/esm2022/domain/f-connectors/add-output-to-store/index.mjs +2 -2
- package/esm2022/domain/f-connectors/calculate-closest-connector/calculate-closest-connector-request.mjs +10 -0
- package/esm2022/domain/f-connectors/calculate-closest-connector/calculate-closest-connector.mjs +49 -0
- package/esm2022/domain/f-connectors/calculate-closest-connector/index.mjs +3 -0
- package/esm2022/domain/f-connectors/find-connectable-connector-using-priority-and-position/find-connectable-connector-using-priority-and-position.execution.mjs +9 -6
- package/esm2022/domain/f-connectors/get-all-can-be-connected-inputs-and-rects/get-all-can-be-connected-inputs-and-rects.execution.mjs +14 -14
- package/esm2022/domain/f-connectors/get-all-can-be-connected-inputs-and-rects/get-all-can-be-connected-inputs-and-rects.request.mjs +4 -4
- 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 +8 -8
- 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 +4 -4
- package/esm2022/domain/f-connectors/get-connector-and-rect/get-connector-and-rect-request.mjs +4 -4
- package/esm2022/domain/f-connectors/get-connector-and-rect/get-connector-and-rect.mjs +31 -0
- package/esm2022/domain/f-connectors/get-connector-and-rect/index.mjs +2 -2
- package/esm2022/domain/f-connectors/index.mjs +2 -2
- package/esm2022/domain/f-connectors/mark-connectable-connectors/index.mjs +3 -3
- package/esm2022/domain/f-connectors/mark-connectable-connectors/mark-connectable-connectors-request.mjs +8 -0
- package/esm2022/domain/f-connectors/mark-connectable-connectors/mark-connectable-connectors.mjs +30 -0
- package/esm2022/domain/f-connectors/providers.mjs +20 -20
- package/esm2022/domain/f-connectors/remove-input-from-store/index.mjs +2 -2
- package/esm2022/domain/f-connectors/remove-input-from-store/remove-input-from-store-request.mjs +4 -4
- package/esm2022/domain/f-connectors/remove-input-from-store/remove-input-from-store.mjs +25 -0
- package/esm2022/domain/f-connectors/remove-outlet-from-store/remove-outlet-from-store-request.mjs +1 -1
- package/esm2022/domain/f-connectors/remove-output-from-store/remove-output-from-store-request.mjs +1 -1
- package/esm2022/domain/f-connectors/unmark-connectable-connectors/index.mjs +3 -3
- package/esm2022/domain/f-connectors/unmark-connectable-connectors/unmark-connectable-connectors-request.mjs +8 -0
- package/esm2022/domain/f-connectors/unmark-connectable-connectors/unmark-connectable-connectors.mjs +30 -0
- package/esm2022/domain/f-draggable/add-dnd-to-store/add-dnd-to-store-request.mjs +1 -1
- package/esm2022/domain/f-draggable/emit-selection-change-event/emit-selection-change-event.execution.mjs +1 -1
- package/esm2022/domain/f-draggable/on-pointer-move/on-pointer-move-request.mjs +1 -1
- package/esm2022/domain/f-draggable/on-pointer-move/on-pointer-move.execution.mjs +1 -1
- package/esm2022/domain/f-draggable/providers.mjs +2 -2
- package/esm2022/domain/f-draggable/start-drag-sequence/start-drag-sequence.execution.mjs +3 -3
- package/esm2022/domain/f-flow/add-flow-to-store/add-flow-to-store-request.mjs +1 -1
- package/esm2022/domain/f-flow/get-flow/get-flow.execution.mjs +1 -1
- package/esm2022/domain/f-flow/get-flow-state/get-flow-state-connections/get-flow-state-connections.execution.mjs +5 -5
- package/esm2022/domain/f-flow/get-flow-state/get-flow-state-nodes/get-flow-state-nodes-request.mjs +1 -1
- package/esm2022/domain/f-flow/get-flow-state/get-flow-state-nodes/get-flow-state-nodes.execution.mjs +15 -9
- package/esm2022/domain/f-flow/get-flow-state/get-flow-state.execution.mjs +2 -2
- package/esm2022/domain/f-flow/get-flow-state/providers.mjs +2 -2
- package/esm2022/domain/f-flow/providers.mjs +2 -2
- package/esm2022/domain/f-line-alignment/add-line-alignment-to-store/add-line-alignment-to-store-request.mjs +1 -1
- package/esm2022/domain/f-line-alignment/providers.mjs +2 -2
- package/esm2022/domain/f-node/add-node-to-store/add-node-to-store-request.mjs +1 -1
- package/esm2022/domain/f-node/calculate-input-connections/calculate-input-connections-request.mjs +1 -1
- package/esm2022/domain/f-node/calculate-input-connections/calculate-input-connections.mjs +3 -6
- package/esm2022/domain/f-node/calculate-output-connections/calculate-output-connections-request.mjs +1 -1
- package/esm2022/domain/f-node/calculate-output-connections/calculate-output-connections.mjs +3 -6
- package/esm2022/domain/f-node/fit-to-child-nodes-and-groups/fit-to-child-nodes-and-groups-request.mjs +1 -1
- package/esm2022/domain/f-node/fit-to-child-nodes-and-groups/fit-to-child-nodes-and-groups.mjs +1 -1
- package/esm2022/domain/f-node/get-child-node-ids/get-child-node-ids.mjs +1 -1
- package/esm2022/domain/f-node/get-child-node-ids/get-child-node-ids.request.mjs +1 -1
- package/esm2022/domain/f-node/get-node-padding/get-node-padding.mjs +2 -2
- package/esm2022/domain/f-node/get-node-padding/get-node-padding.request.mjs +1 -1
- package/esm2022/domain/f-node/get-parent-nodes/get-parent-nodes.mjs +1 -1
- package/esm2022/domain/f-node/get-parent-nodes/get-parent-nodes.request.mjs +1 -1
- package/esm2022/domain/f-node/providers.mjs +3 -3
- package/esm2022/domain/f-node/remove-node-from-store/remove-node-from-store-request.mjs +1 -1
- package/esm2022/domain/f-node/update-node-when-state-or-size-changed/update-node-when-state-or-size-changed-request.mjs +1 -1
- package/esm2022/domain/f-node/update-node-when-state-or-size-changed/update-node-when-state-or-size-changed.mjs +1 -1
- package/esm2022/domain/f-selection/get-can-be-selected-items/get-can-be-selected-items.execution.mjs +3 -3
- package/esm2022/domain/f-selection/get-current-selection/get-current-selection.execution.mjs +2 -2
- package/esm2022/domain/f-selection/providers.mjs +2 -2
- package/esm2022/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.execution.mjs +1 -1
- package/esm2022/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.request.mjs +1 -1
- package/esm2022/domain/f-zoom/add-zoom-to-store/add-zoom-to-store-request.mjs +1 -1
- package/esm2022/domain/f-zoom/add-zoom-to-store/add-zoom-to-store.execution.mjs +2 -2
- package/esm2022/domain/f-zoom/providers.mjs +2 -2
- package/esm2022/domain/f-zoom/remove-zoom-from-store/remove-zoom-from-store.execution.mjs +3 -3
- package/esm2022/domain/f-zoom/set-zoom/set-zoom-request.mjs +1 -1
- package/esm2022/domain/f-zoom/set-zoom/set-zoom.execution.mjs +1 -1
- package/esm2022/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.execution.mjs +1 -1
- package/esm2022/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.request.mjs +1 -1
- package/esm2022/domain/get-element-rounded-rect/get-element-rounded-rect.execution.mjs +1 -1
- package/esm2022/domain/get-normalized-connector-rect/get-normalized-connector-rect.execution.mjs +1 -1
- package/esm2022/domain/get-normalized-element-rect/get-normalized-element-rect-request.mjs +1 -1
- package/esm2022/domain/get-normalized-element-rect/get-normalized-element-rect.execution.mjs +2 -2
- package/esm2022/domain/get-normalized-point/get-normalized-point-request.mjs +1 -1
- package/esm2022/domain/get-normalized-point/get-normalized-point.execution.mjs +1 -1
- package/esm2022/domain/i-map.mjs +1 -1
- package/esm2022/domain/log-deprecated.mjs +1 -1
- package/esm2022/domain/log-execution-time.mjs +1 -1
- package/esm2022/domain/providers.mjs +2 -2
- package/esm2022/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.execution.mjs +2 -2
- package/esm2022/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.request.mjs +2 -3
- package/esm2022/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.execution.mjs +1 -1
- package/esm2022/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element.request.mjs +1 -1
- package/esm2022/domain/update-item-and-children-layers/update-item-and-children-layers.execution.mjs +1 -1
- package/esm2022/drag-toolkit/drag-and-drop-base.mjs +3 -3
- package/esm2022/drag-toolkit/event.extensions.mjs +1 -1
- package/esm2022/drag-toolkit/pointer-events/i-pointer-up-event.mjs +1 -1
- package/esm2022/drag-toolkit/pointer-events/i-touch-down-event.mjs +1 -1
- package/esm2022/drag-toolkit/pointer-events/i-touch-move-event.mjs +1 -1
- package/esm2022/f-backgroud/f-background.component.mjs +4 -4
- package/esm2022/f-backgroud/f-circle-pattern/f-circle-pattern.component.mjs +7 -7
- package/esm2022/f-backgroud/f-rect-pattern/f-rect-pattern.component.mjs +7 -7
- package/esm2022/f-backgroud/index.mjs +1 -1
- package/esm2022/f-backgroud/providers.mjs +2 -2
- package/esm2022/f-canvas/f-canvas-base.mjs +1 -1
- package/esm2022/f-canvas/f-canvas.component.mjs +3 -3
- package/esm2022/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points-request.mjs +1 -1
- package/esm2022/f-connection/common/domain/calculate-connection-center/calculate-connection-center-request.mjs +1 -1
- package/esm2022/f-connection/common/domain/calculate-connection-center/calculate-connection-center.handler.mjs +2 -2
- package/esm2022/f-connection/common/domain/f-bezier.path-builder.mjs +27 -11
- package/esm2022/f-connection/common/domain/f-segment.path-builder.mjs +43 -25
- package/esm2022/f-connection/common/domain/f-straight.path-builder.mjs +9 -3
- package/esm2022/f-connection/common/f-connection-base.mjs +36 -27
- package/esm2022/f-connection/common/f-connection-identifiers.mjs +2 -2
- package/esm2022/f-connection/common/f-connection-text/f-connection-text-path.directive.mjs +20 -30
- package/esm2022/f-connection/common/f-connection-text/f-connection-text.component.mjs +20 -33
- package/esm2022/f-connection/common/f-drag-handle/f-connection-drag-handle-end.component.mjs +4 -4
- package/esm2022/f-connection/common/f-drag-handle/f-connection-drag-handle-start.component.mjs +4 -4
- package/esm2022/f-connection/common/f-gradient/f-connection-gradient.component.mjs +18 -28
- package/esm2022/f-connection/common/f-path/f-connection-path.component.mjs +16 -26
- package/esm2022/f-connection/common/f-selection/f-connection-selection.component.mjs +10 -20
- 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 +25 -26
- package/esm2022/f-connection/f-connection-builder/f-connection-builders.mjs +1 -1
- package/esm2022/f-connection/f-connection-builder/f-connection-factory.mjs +1 -1
- package/esm2022/f-connection/f-connection-builder/i-f-connection-builder-response.mjs +1 -1
- package/esm2022/f-connection/f-connection-center/f-connection-center.directive.mjs +21 -4
- package/esm2022/f-connection/f-connection-content/f-connection-content.mjs +96 -0
- package/esm2022/f-connection/f-connection-content/index.mjs +3 -0
- package/esm2022/f-connection/f-connection-content/polyline-content-engine/i-polyline-content.mjs +2 -0
- package/esm2022/f-connection/f-connection-content/polyline-content-engine/index.mjs +6 -0
- package/esm2022/f-connection/f-connection-content/polyline-content-engine/polyline-content-align.mjs +6 -0
- package/esm2022/f-connection/f-connection-content/polyline-content-engine/polyline-content-layout-engine.mjs +29 -0
- package/esm2022/f-connection/f-connection-content/polyline-content-engine/polyline-content-place.mjs +65 -0
- package/esm2022/f-connection/f-connection-content/polyline-content-engine/polyline-sampler/i-sampler-result.mjs +2 -0
- package/esm2022/f-connection/f-connection-content/polyline-content-engine/polyline-sampler/i-tangent.mjs +2 -0
- package/esm2022/f-connection/f-connection-content/polyline-content-engine/polyline-sampler/index.mjs +5 -0
- package/esm2022/f-connection/f-connection-content/polyline-content-engine/polyline-sampler/polyline-sampler.mjs +143 -0
- package/esm2022/f-connection/f-connection-content/polyline-content-engine/polyline-sampler/polyline.mjs +68 -0
- package/esm2022/f-connection/f-connection-for-create/f-connection-for-create.component.mjs +17 -21
- package/esm2022/f-connection/f-marker/f-marker-base.mjs +2 -8
- package/esm2022/f-connection/f-marker/f-marker.directive.mjs +13 -22
- package/esm2022/f-connection/f-snap-connection/f-snap-connection.component.mjs +17 -21
- package/esm2022/f-connection/index.mjs +2 -1
- package/esm2022/f-connection/providers.mjs +3 -3
- package/esm2022/f-connectors/f-connector-base.mjs +1 -1
- package/esm2022/f-connectors/f-node-input/f-node-input-base.mjs +2 -2
- package/esm2022/f-connectors/f-node-input/f-node-input.directive.mjs +35 -33
- package/esm2022/f-connectors/f-node-outlet/f-node-outlet-base.mjs +6 -6
- package/esm2022/f-connectors/f-node-outlet/f-node-outlet.directive.mjs +23 -26
- package/esm2022/f-connectors/f-node-output/f-node-output-base.mjs +4 -4
- package/esm2022/f-connectors/f-node-output/f-node-output.directive.mjs +31 -33
- package/esm2022/f-connectors/f-source-connector-base.mjs +11 -0
- package/esm2022/f-connectors/index.mjs +2 -1
- package/esm2022/f-connectors/providers.mjs +2 -2
- package/esm2022/f-draggable/domain/f-drag-started-event.mjs +4 -2
- package/esm2022/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.execution.mjs +1 -1
- package/esm2022/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.request.mjs +1 -1
- package/esm2022/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.request.mjs +1 -1
- package/esm2022/f-draggable/domain/is-connection-under-node/is-connection-under-node.execution.mjs +7 -7
- package/esm2022/f-draggable/domain/is-connection-under-node/is-connection-under-node.request.mjs +1 -1
- package/esm2022/f-draggable/f-canvas/move-finalize/f-canvas-move-finalize.execution.mjs +2 -2
- package/esm2022/f-draggable/f-canvas/move-finalize/f-canvas-move-finalize.request.mjs +1 -1
- package/esm2022/f-draggable/f-canvas/move-preparation/f-canvas-move-preparation.execution.mjs +1 -1
- package/esm2022/f-draggable/f-canvas/move-preparation/f-canvas-move-preparation.request.mjs +1 -1
- package/esm2022/f-draggable/f-connection/f-create-connection/create-finalize/f-create-connection-finalize.execution.mjs +20 -18
- package/esm2022/f-draggable/f-connection/f-create-connection/create-finalize/f-create-connection-finalize.request.mjs +1 -1
- package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/drag-handler-preparation/f-create-connection-drag-handler-preparation.execution.mjs +2 -2
- package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/drag-handler-preparation/f-create-connection-drag-handler-preparation.request.mjs +1 -1
- package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/f-create-connection-preparation.execution.mjs +1 -1
- package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/f-create-connection-preparation.request.mjs +1 -1
- package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/from-outlet-preparation/f-create-connection-from-outlet-preparation.execution.mjs +1 -1
- package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/from-outlet-preparation/f-create-connection-from-outlet-preparation.request.mjs +1 -1
- package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/from-output-preparation/f-create-connection-from-output-preparation.execution.mjs +1 -1
- package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/from-output-preparation/f-create-connection-from-output-preparation.request.mjs +1 -1
- package/esm2022/f-draggable/f-connection/f-create-connection/f-create-connection.drag-handler.mjs +38 -36
- package/esm2022/f-draggable/f-connection/f-create-connection/get-first-connectable-output/get-first-connectable-output.execution.mjs +1 -1
- package/esm2022/f-draggable/f-connection/f-create-connection/get-first-connectable-output/get-first-connectable-output.request.mjs +1 -1
- package/esm2022/f-draggable/f-connection/f-reassign-connection/f-reassign-connection.drag-handler.mjs +23 -21
- package/esm2022/f-draggable/f-connection/f-reassign-connection/f-reassign-connection.event.mjs +1 -1
- package/esm2022/f-draggable/f-connection/f-reassign-connection/f-reassign-source.drag-handler.mjs +6 -6
- package/esm2022/f-draggable/f-connection/f-reassign-connection/f-reassign-target.drag-handler.mjs +5 -5
- package/esm2022/f-draggable/f-connection/f-reassign-connection/i-f-reassign-handler.mjs +1 -1
- package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-finalize/f-reassign-connection-finalize.execution.mjs +5 -5
- package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-finalize/f-reassign-connection-finalize.request.mjs +1 -1
- package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-preparation/f-reassign-connection-preparation.execution.mjs +3 -3
- package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-preparation/f-reassign-connection-preparation.request.mjs +1 -1
- package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-preparation/is-pointer-inside-start-or-end-drag-handles.mjs +1 -1
- package/esm2022/f-draggable/f-drag-blocker.directive.mjs +2 -2
- package/esm2022/f-draggable/f-drag-handler/i-f-drag-handler.mjs +1 -1
- package/esm2022/f-draggable/f-draggable-base.mjs +3 -10
- package/esm2022/f-draggable/f-draggable.directive.mjs +32 -36
- package/esm2022/f-draggable/f-drop-to-group/drop-to-group-finalize/drop-to-group-finalize-request.mjs +1 -1
- package/esm2022/f-draggable/f-drop-to-group/drop-to-group-finalize/drop-to-group-finalize.mjs +1 -1
- package/esm2022/f-draggable/f-drop-to-group/drop-to-group-preparation/drop-to-group-preparation-request.mjs +1 -1
- package/esm2022/f-draggable/f-drop-to-group/drop-to-group-preparation/drop-to-group-preparation.mjs +1 -1
- package/esm2022/f-draggable/f-drop-to-group/f-node-drop-to-group.drag-handler.mjs +12 -19
- package/esm2022/f-draggable/f-drop-to-group/providers.mjs +2 -2
- package/esm2022/f-draggable/f-drop-to-group/sort-containers-for-drop-by-layer/sort-containers-for-drop-by-layer-request.mjs +1 -1
- package/esm2022/f-draggable/f-drop-to-group/sort-containers-for-drop-by-layer/sort-containers-for-drop-by-layer.mjs +13 -7
- package/esm2022/f-draggable/f-node-move/connection-drag-handlers/base-connection.drag-handler.mjs +4 -4
- package/esm2022/f-draggable/f-node-move/constraint/drag-constraint-pipeline.mjs +1 -1
- package/esm2022/f-draggable/f-node-move/constraint/expand-rect-from-baseline.mjs +5 -3
- package/esm2022/f-draggable/f-node-move/constraint/rect-constraint.mjs +3 -2
- package/esm2022/f-draggable/f-node-move/constraint/snap-to-grid.mjs +3 -3
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/build-drag-hierarchy/build-drag-hierarchy-request.mjs +1 -1
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/build-drag-hierarchy/build-drag-hierarchy-response.mjs +1 -1
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/build-drag-hierarchy/build-drag-hierarchy.mjs +1 -1
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/calculate-drag-limits/calculate-drag-limits-request.mjs +1 -1
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/calculate-drag-limits/calculate-drag-limits.mjs +3 -3
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/calculate-drag-limits/i-drag-limits.mjs +1 -1
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/calculate-drag-limits/i-soft-limit.mjs +1 -1
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/create-drag-model-from-selection-request.mjs +1 -1
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/create-drag-model-from-selection.mjs +8 -11
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/create-input-connection-handler-and-set-to-node-handler/create-input-connection-handler-and-set-to-node-handler-request.mjs +1 -1
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/create-input-connection-handler-and-set-to-node-handler/create-input-connection-handler-and-set-to-node-handler.mjs +5 -5
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/create-output-connection-handler-and-set-to-node-handler/create-output-connection-handler-and-set-to-node-handler-request.mjs +1 -1
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/create-output-connection-handler-and-set-to-node-handler/create-output-connection-handler-and-set-to-node-handler.mjs +5 -5
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/create-summary-drag-handler/create-summary-drag-handler-request.mjs +1 -1
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/create-summary-drag-handler/create-summary-drag-handler.mjs +1 -1
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/get-node-bounding-include-paddings/get-node-bounding-include-paddings-request.mjs +1 -1
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/get-node-bounding-include-paddings/get-node-bounding-include-paddings-response.mjs +1 -1
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/get-node-bounding-include-paddings/get-node-bounding-include-paddings.mjs +2 -2
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/providers.mjs +1 -1
- package/esm2022/f-draggable/f-node-move/create-snap-lines/create-snap-lines-request.mjs +1 -1
- package/esm2022/f-draggable/f-node-move/create-snap-lines/create-snap-lines.mjs +1 -1
- package/esm2022/f-draggable/f-node-move/create-snap-lines/snap-lines.drag-handler.mjs +1 -1
- package/esm2022/f-draggable/f-node-move/f-move-nodes.event.mjs +1 -1
- package/esm2022/f-draggable/f-node-move/move-drag-handler.mjs +1 -1
- package/esm2022/f-draggable/f-node-move/move-finalize/f-node-move-finalize.execution.mjs +2 -2
- package/esm2022/f-draggable/f-node-move/move-finalize/f-node-move-finalize.request.mjs +1 -1
- package/esm2022/f-draggable/f-node-move/move-preparation/f-node-move-preparation.execution.mjs +1 -1
- package/esm2022/f-draggable/f-node-move/move-preparation/f-node-move-preparation.request.mjs +1 -1
- package/esm2022/f-draggable/f-node-move/move-summary-drag-handler.mjs +2 -2
- package/esm2022/f-draggable/f-node-resize/apply-child-resize-constraints/apply-child-resize-constraints-request.mjs +1 -1
- package/esm2022/f-draggable/f-node-resize/apply-child-resize-constraints/apply-child-resize-constraints.mjs +3 -2
- package/esm2022/f-draggable/f-node-resize/apply-parent-resize-constraints/apply-parent-resize-constraints-request.mjs +1 -1
- package/esm2022/f-draggable/f-node-resize/apply-parent-resize-constraints/apply-parent-resize-constraints.mjs +15 -13
- package/esm2022/f-draggable/f-node-resize/calculate-changed-rect-from-difference/calculate-changed-rect-from-difference-request.mjs +1 -1
- package/esm2022/f-draggable/f-node-resize/calculate-changed-rect-from-difference/calculate-changed-rect-from-difference.mjs +1 -1
- package/esm2022/f-draggable/f-node-resize/calculate-direct-children-union-rect/calculate-direct-children-union-rect-request.mjs +1 -1
- package/esm2022/f-draggable/f-node-resize/calculate-direct-children-union-rect/calculate-direct-children-union-rect.mjs +1 -1
- package/esm2022/f-draggable/f-node-resize/calculate-resize-limits/calculate-resize-limits-request.mjs +1 -1
- package/esm2022/f-draggable/f-node-resize/calculate-resize-limits/calculate-resize-limits.mjs +2 -2
- package/esm2022/f-draggable/f-node-resize/constraint/i-resize-constraint.mjs +1 -1
- package/esm2022/f-draggable/f-node-resize/constraint/i-resize-limit.mjs +1 -1
- package/esm2022/f-draggable/f-node-resize/constraint/i-resize-limits.mjs +1 -1
- package/esm2022/f-draggable/f-node-resize/node-resize.drag-handler.mjs +1 -1
- package/esm2022/f-draggable/f-node-resize/resize-finalize/node-resize-finalize-request.mjs +1 -1
- package/esm2022/f-draggable/f-node-resize/resize-finalize/node-resize-finalize.mjs +2 -2
- package/esm2022/f-draggable/f-node-resize/resize-preparation/node-resize-preparation-request.mjs +1 -1
- package/esm2022/f-draggable/f-node-resize/resize-preparation/node-resize-preparation.mjs +2 -2
- package/esm2022/f-draggable/f-node-rotate/calculate-difference-after-rotation.mjs +1 -1
- package/esm2022/f-draggable/f-node-rotate/f-node-rotate.drag-handler.mjs +4 -4
- package/esm2022/f-draggable/f-node-rotate/rotate-finalize/f-node-rotate-finalize.execution.mjs +5 -4
- package/esm2022/f-draggable/f-node-rotate/rotate-finalize/f-node-rotate-finalize.request.mjs +1 -1
- package/esm2022/f-draggable/f-node-rotate/rotate-preparation/f-node-rotate-preparation.execution.mjs +29 -17
- package/esm2022/f-draggable/f-node-rotate/rotate-preparation/f-node-rotate-preparation.request.mjs +1 -1
- package/esm2022/f-draggable/f-single-select/f-single-select.execution.mjs +1 -1
- package/esm2022/f-draggable/f-single-select/f-single-select.request.mjs +1 -1
- package/esm2022/f-draggable/i-f-drag-and-drop-plugin.mjs +1 -1
- package/esm2022/f-draggable/index.mjs +1 -1
- package/esm2022/f-draggable/providers.mjs +2 -2
- package/esm2022/f-external-item/domain/constraint/external-rect-constraint.mjs +3 -3
- package/esm2022/f-external-item/domain/create-placeholder/f-external-item-create-placeholder.execution.mjs +1 -1
- package/esm2022/f-external-item/domain/create-preview/f-external-item-create-preview.execution.mjs +2 -2
- package/esm2022/f-external-item/domain/f-create-node.event.mjs +1 -1
- package/esm2022/f-external-item/domain/f-external-item.drag-handler.mjs +2 -2
- package/esm2022/f-external-item/domain/finalize/f-external-item-finalize.execution.mjs +9 -10
- package/esm2022/f-external-item/domain/finalize/f-external-item-finalize.request.mjs +1 -1
- package/esm2022/f-external-item/domain/preparation/f-external-item-preparation.execution.mjs +2 -2
- package/esm2022/f-external-item/domain/preparation/f-external-item-preparation.request.mjs +1 -1
- package/esm2022/f-external-item/domain/prevent-default-is-external-item/prevent-default-is-external-item.execution.mjs +5 -5
- package/esm2022/f-external-item/domain/prevent-default-is-external-item/prevent-default-is-external-item.request.mjs +1 -1
- package/esm2022/f-external-item/f-external-item-base.mjs +1 -1
- package/esm2022/f-external-item/f-external-item-placeholder.directive.mjs +5 -5
- package/esm2022/f-external-item/f-external-item-preview.directive.mjs +4 -4
- package/esm2022/f-external-item/f-external-item.directive.mjs +13 -20
- package/esm2022/f-external-item/f-external-item.service.mjs +3 -3
- package/esm2022/f-external-item/providers.mjs +2 -2
- package/esm2022/f-flow/f-flow.component.mjs +5 -5
- package/esm2022/f-flow/providers.mjs +2 -2
- package/esm2022/f-flow.module.mjs +3 -3
- package/esm2022/f-line-alignment/domain/snap-line-element.mjs +19 -15
- package/esm2022/f-line-alignment/domain/snap-line-service.mjs +16 -18
- package/esm2022/f-line-alignment/f-line-alignment.component.mjs +4 -4
- package/esm2022/f-line-alignment/providers.mjs +2 -2
- package/esm2022/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.execution.mjs +14 -18
- package/esm2022/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.request.mjs +1 -1
- package/esm2022/f-minimap/domain/f-minimap-data.mjs +1 -1
- package/esm2022/f-minimap/domain/f-minimap.drag-handler.mjs +25 -25
- package/esm2022/f-minimap/domain/minimap-calculate-svg-scale-and-view-box/minimap-calculate-svg-scale-and-view-box.execution.mjs +2 -2
- package/esm2022/f-minimap/domain/minimap-calculate-view-box/minimap-calculate-view-box.execution.mjs +9 -8
- package/esm2022/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.execution.mjs +9 -11
- package/esm2022/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.request.mjs +1 -1
- package/esm2022/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.execution.mjs +26 -32
- package/esm2022/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.request.mjs +1 -1
- package/esm2022/f-minimap/domain/minimap-draw-nodes/minimap-draw-nodes.execution.mjs +2 -1
- package/esm2022/f-minimap/f-minimap-canvas.directive.mjs +2 -2
- package/esm2022/f-minimap/f-minimap-flow.directive.mjs +3 -3
- package/esm2022/f-minimap/f-minimap-view.directive.mjs +2 -2
- package/esm2022/f-minimap/f-minimap.component.mjs +1 -1
- package/esm2022/f-node/f-drag-handle.directive.mjs +3 -3
- package/esm2022/f-node/f-group.directive.mjs +6 -4
- package/esm2022/f-node/f-node-base.mjs +1 -1
- package/esm2022/f-node/f-node.directive.mjs +16 -14
- package/esm2022/f-node/f-resize-handle/f-resize-handle.directive.mjs +5 -5
- package/esm2022/f-selection-area/domain/providers.mjs +2 -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-finalize/selection-area-finalize.request.mjs +1 -1
- package/esm2022/f-selection-area/domain/selection-area-preparation/selection-area-preparation.execution.mjs +2 -2
- package/esm2022/f-selection-area/domain/selection-area-preparation/selection-area-preparation.request.mjs +1 -1
- package/esm2022/f-selection-area/domain/selection-area.drag-handle.mjs +1 -1
- package/esm2022/f-selection-area/f-selection-area.component.mjs +2 -2
- package/esm2022/f-selection-area/providers.mjs +2 -2
- package/esm2022/f-storage/f-components-store.mjs +1 -1
- package/esm2022/f-storage/features/listen-components-data-changed/listen-data-changes.execution.mjs +3 -4
- package/esm2022/f-storage/features/listen-count-changes/listen-count-changes.execution.mjs +3 -4
- package/esm2022/f-storage/features/listen-transform-changes/listen-transform-changes.execution.mjs +2 -2
- package/esm2022/f-storage/features/notify-data-changed/notify-data-changed.execution.mjs +2 -2
- package/esm2022/f-storage/features/notify-transform-changed/notify-transform-changed.execution.mjs +2 -2
- package/esm2022/f-zoom/f-zoom.directive.mjs +4 -4
- package/esm2022/f-zoom/providers.mjs +2 -2
- package/esm2022/mixins/change-selection/change-selection.mjs +5 -6
- package/esm2022/mixins/change-selection/i-selectable.mjs +1 -1
- package/esm2022/mixins/change-visibility/change-visibility.mjs +4 -3
- package/esm2022/mixins/constructor.mjs +1 -1
- package/esm2022/reactivity/debounce-time.mjs +2 -2
- package/esm2022/reactivity/f-channel-hub.mjs +1 -1
- package/esm2022/reactivity/f-channel.mjs +1 -1
- package/esm2022/reactivity/f-resize-channel.mjs +1 -1
- package/esm2022/reactivity/index.mjs +1 -2
- package/esm2022/reactivity/notify-on-start.mjs +1 -1
- package/esm2022/utils/index.mjs +2 -1
- package/esm2022/utils/infinity-min-max.mjs +2 -2
- package/esm2022/utils/string-attribute.mjs +4 -0
- package/f-backgroud/providers.d.ts +1 -1
- package/f-connection/common/domain/f-bezier.path-builder.d.ts +2 -2
- package/f-connection/common/domain/f-segment.path-builder.d.ts +7 -7
- package/f-connection/common/f-connection-base.d.ts +13 -11
- package/f-connection/common/f-connection-text/f-connection-text-path.directive.d.ts +6 -11
- package/f-connection/common/f-connection-text/f-connection-text.component.d.ts +6 -12
- package/f-connection/common/f-gradient/f-connection-gradient.component.d.ts +5 -10
- package/f-connection/common/f-path/f-connection-path.component.d.ts +2 -7
- package/f-connection/common/f-selection/f-connection-selection.component.d.ts +2 -6
- package/f-connection/common/i-has-connection-from-to.d.ts +3 -3
- package/f-connection/f-connection/f-connection.component.d.ts +6 -6
- package/f-connection/f-connection-builder/f-connection-builders.d.ts +1 -3
- package/f-connection/f-connection-builder/i-f-connection-builder-response.d.ts +1 -0
- package/f-connection/f-connection-center/f-connection-center.directive.d.ts +6 -1
- package/f-connection/f-connection-content/f-connection-content.d.ts +69 -0
- package/f-connection/f-connection-content/index.d.ts +2 -0
- package/f-connection/f-connection-content/polyline-content-engine/i-polyline-content.d.ts +9 -0
- package/f-connection/f-connection-content/polyline-content-engine/index.d.ts +5 -0
- package/f-connection/f-connection-content/polyline-content-engine/polyline-content-align.d.ts +4 -0
- package/f-connection/f-connection-content/polyline-content-engine/polyline-content-layout-engine.d.ts +21 -0
- package/f-connection/f-connection-content/polyline-content-engine/polyline-content-place.d.ts +18 -0
- package/f-connection/f-connection-content/polyline-content-engine/polyline-sampler/i-sampler-result.d.ts +11 -0
- package/f-connection/f-connection-content/polyline-content-engine/polyline-sampler/i-tangent.d.ts +4 -0
- package/f-connection/f-connection-content/polyline-content-engine/polyline-sampler/index.d.ts +4 -0
- package/f-connection/f-connection-content/polyline-content-engine/polyline-sampler/polyline-sampler.d.ts +60 -0
- package/f-connection/f-connection-content/polyline-content-engine/polyline-sampler/polyline.d.ts +29 -0
- package/f-connection/f-connection-for-create/f-connection-for-create.component.d.ts +4 -6
- package/f-connection/f-marker/f-marker-base.d.ts +0 -3
- package/f-connection/f-marker/f-marker.directive.d.ts +4 -6
- package/f-connection/f-snap-connection/f-snap-connection.component.d.ts +4 -6
- package/f-connection/index.d.ts +1 -0
- package/f-connection/providers.d.ts +2 -2
- package/f-connectors/f-connector-base.d.ts +3 -2
- package/f-connectors/f-node-input/f-node-input-base.d.ts +3 -2
- package/f-connectors/f-node-input/f-node-input.directive.d.ts +8 -9
- package/f-connectors/f-node-outlet/f-node-outlet-base.d.ts +3 -3
- package/f-connectors/f-node-outlet/f-node-outlet.directive.d.ts +6 -8
- package/f-connectors/f-node-output/f-node-output-base.d.ts +4 -5
- package/f-connectors/f-node-output/f-node-output.directive.d.ts +7 -9
- package/f-connectors/f-source-connector-base.d.ts +7 -0
- package/f-connectors/index.d.ts +1 -0
- package/f-draggable/domain/is-connection-under-node/is-connection-under-node.execution.d.ts +1 -1
- package/f-draggable/domain/providers.d.ts +1 -1
- package/f-draggable/f-canvas/move-finalize/f-canvas-move-finalize.execution.d.ts +2 -2
- package/f-draggable/f-connection/f-create-connection/create-finalize/f-create-connection-finalize.execution.d.ts +9 -9
- package/f-draggable/f-connection/f-create-connection/f-create-connection.drag-handler.d.ts +5 -5
- package/f-draggable/f-connection/f-reassign-connection/f-reassign-connection.drag-handler.d.ts +4 -4
- package/f-draggable/f-connection/f-reassign-connection/f-reassign-source.drag-handler.d.ts +5 -5
- package/f-draggable/f-connection/f-reassign-connection/f-reassign-target.drag-handler.d.ts +5 -5
- package/f-draggable/f-connection/providers.d.ts +1 -1
- package/f-draggable/f-draggable-base.d.ts +7 -10
- package/f-draggable/f-draggable.directive.d.ts +10 -12
- package/f-draggable/f-drop-to-group/f-node-drop-to-group.drag-handler.d.ts +2 -6
- package/f-draggable/f-node-move/create-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/apply-parent-resize-constraints/apply-parent-resize-constraints.d.ts +2 -2
- package/f-draggable/f-node-resize/resize-finalize/node-resize-finalize.d.ts +1 -1
- package/f-draggable/f-node-rotate/f-node-rotate.drag-handler.d.ts +1 -1
- package/f-draggable/f-node-rotate/providers.d.ts +1 -1
- package/f-draggable/f-node-rotate/rotate-finalize/f-node-rotate-finalize.execution.d.ts +1 -1
- package/f-draggable/f-node-rotate/rotate-preparation/f-node-rotate-preparation.execution.d.ts +1 -1
- package/f-draggable/providers.d.ts +1 -1
- package/f-external-item/domain/finalize/f-external-item-finalize.execution.d.ts +1 -1
- package/f-external-item/f-external-item-base.d.ts +3 -3
- package/f-external-item/f-external-item-placeholder.directive.d.ts +1 -1
- package/f-external-item/f-external-item-preview.directive.d.ts +1 -1
- package/f-external-item/f-external-item-token.d.ts +1 -1
- package/f-external-item/f-external-item.directive.d.ts +5 -6
- package/f-external-item/f-external-item.service.d.ts +1 -1
- package/f-line-alignment/domain/snap-line-element.d.ts +2 -3
- package/f-line-alignment/domain/snap-line-service.d.ts +3 -4
- package/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.execution.d.ts +5 -7
- package/f-minimap/domain/f-minimap.drag-handler.d.ts +10 -10
- package/f-minimap/domain/minimap-calculate-view-box/minimap-calculate-view-box.execution.d.ts +3 -3
- package/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.execution.d.ts +1 -3
- package/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.execution.d.ts +7 -10
- package/f-minimap/providers.d.ts +1 -1
- package/f-node/f-node.directive.d.ts +2 -2
- package/f-node/f-resize-handle/f-resize-handle.directive.d.ts +1 -1
- package/f-node/providers.d.ts +1 -1
- package/f-selection-area/domain/selection-area-finalize/selection-area-finalize.execution.d.ts +2 -2
- package/f-storage/f-components-store.d.ts +1 -1
- package/f-storage/features/listen-components-data-changed/listen-data-changes.execution.d.ts +2 -2
- package/f-storage/features/listen-count-changes/listen-count-changes.execution.d.ts +2 -2
- package/f-storage/features/listen-transform-changes/listen-transform-changes.execution.d.ts +2 -2
- package/f-storage/features/notify-data-changed/notify-data-changed.execution.d.ts +2 -2
- package/f-storage/features/notify-transform-changed/notify-transform-changed.execution.d.ts +2 -2
- package/f-storage/providers.d.ts +1 -1
- package/fesm2022/foblex-flow.mjs +1411 -1018
- package/fesm2022/foblex-flow.mjs.map +1 -1
- package/package.json +1 -1
- package/reactivity/index.d.ts +0 -1
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.js.map +1 -1
- package/schematics/ng-update/index.js +1 -1
- package/schematics/ng-update/index.js.map +1 -1
- package/schematics/shared/foblex-dependencies.js +1 -1
- package/utils/index.d.ts +1 -0
- package/utils/infinity-min-max.d.ts +1 -1
- package/utils/string-attribute.d.ts +1 -0
- package/domain/f-connection/calculate-connection-line-by-behavior/calculate-connection-line-by-behavior.request.d.ts +0 -12
- package/domain/f-connectors/add-input-to-store/add-input-to-store.execution.d.ts +0 -12
- package/domain/f-connectors/find-closest-connector/find-closest-connector.execution.d.ts +0 -16
- package/domain/f-connectors/find-closest-connector/index.d.ts +0 -2
- package/esm2022/domain/f-connection/calculate-connection-line-by-behavior/calculate-connection-line-by-behavior.execution.mjs +0 -32
- package/esm2022/domain/f-connection/calculate-connection-line-by-behavior/calculate-connection-line-by-behavior.request.mjs +0 -16
- package/esm2022/domain/f-connectors/add-input-to-store/add-input-to-store.execution.mjs +0 -25
- package/esm2022/domain/f-connectors/add-outlet-to-store/add-outlet-to-store.execution.mjs +0 -25
- package/esm2022/domain/f-connectors/add-output-to-store/add-output-to-store.execution.mjs +0 -25
- package/esm2022/domain/f-connectors/find-closest-connector/find-closest-connector.execution.mjs +0 -47
- package/esm2022/domain/f-connectors/find-closest-connector/find-closest-connector.request.mjs +0 -10
- package/esm2022/domain/f-connectors/find-closest-connector/index.mjs +0 -3
- package/esm2022/domain/f-connectors/get-connector-and-rect/get-connector-and-rect.execution.mjs +0 -31
- package/esm2022/domain/f-connectors/mark-connectable-connectors/mark-connectable-connectors.execution.mjs +0 -30
- package/esm2022/domain/f-connectors/mark-connectable-connectors/mark-connectable-connectors.request.mjs +0 -8
- package/esm2022/domain/f-connectors/remove-input-from-store/remove-input-from-store.execution.mjs +0 -25
- package/esm2022/domain/f-connectors/unmark-connectable-connectors/unmark-connectable-connectors.execution.mjs +0 -30
- package/esm2022/domain/f-connectors/unmark-connectable-connectors/unmark-connectable-connectors.request.mjs +0 -8
- package/esm2022/reactivity/mediator-effect.mjs +0 -14
- package/reactivity/mediator-effect.d.ts +0 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FZoomDirective } from './f-zoom.directive';
|
|
2
2
|
export const F_ZOOM_PROVIDERS = [
|
|
3
|
-
FZoomDirective
|
|
3
|
+
FZoomDirective,
|
|
4
4
|
];
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvdmlkZXJzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLXpvb20vcHJvdmlkZXJzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQztBQUVwRCxNQUFNLENBQUMsTUFBTSxnQkFBZ0IsR0FBRztJQUM5QixjQUFjO0NBQ2YsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEZab29tRGlyZWN0aXZlIH0gZnJvbSAnLi9mLXpvb20uZGlyZWN0aXZlJztcblxuZXhwb3J0IGNvbnN0IEZfWk9PTV9QUk9WSURFUlMgPSBbXG4gIEZab29tRGlyZWN0aXZlLFxuXTtcbiJdfQ==
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { signal } from
|
|
1
|
+
import { signal } from '@angular/core';
|
|
2
2
|
export const F_SELECTED_CLASS = 'f-selected';
|
|
3
3
|
export function mixinChangeSelection(base) {
|
|
4
4
|
return class extends base {
|
|
@@ -17,13 +17,12 @@ export function mixinChangeSelection(base) {
|
|
|
17
17
|
isSelected() {
|
|
18
18
|
return this.hostElement.classList.contains(F_SELECTED_CLASS);
|
|
19
19
|
}
|
|
20
|
-
markChildrenAsSelected() {
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
}
|
|
20
|
+
markChildrenAsSelected() { }
|
|
21
|
+
unmarkChildrenAsSelected() { }
|
|
22
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
24
23
|
constructor(...args) {
|
|
25
24
|
super(...args);
|
|
26
25
|
}
|
|
27
26
|
};
|
|
28
27
|
}
|
|
29
|
-
//# sourceMapping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ogYW55W10pIHtcbiAgICAgIHN1cGVyKC4uLmFyZ3MpO1xuICAgIH1cbiAgfTtcbn1cbiJdfQ==
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1zZWxlY3RhYmxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9taXhpbnMvY2hhbmdlLXNlbGVjdGlvbi9pLXNlbGVjdGFibGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IFNpZ25hbCB9IGZyb20gXCJAYW5ndWxhci9jb3JlXCI7XG5cbmV4cG9ydCBpbnRlcmZhY2UgSVNlbGVjdGFibGUge1xuXG4gIGZJZDogU2lnbmFsPHN0cmluZz47XG5cbiAgZlNlbGVjdGlvbkRpc2FibGVkOiBTaWduYWw8Ym9vbGVhbj47XG5cbiAgaG9zdEVsZW1lbnQ6IEhUTUxFbGVtZW50IHwgU1ZHRWxlbWVudDtcblxuICBtYXJrQXNTZWxlY3RlZCgpOiB2b2lkO1xuXG4gIHVubWFya0FzU2VsZWN0ZWQoKTogdm9pZDtcblxuICBpc1NlbGVjdGVkKCk6IGJvb2xlYW47XG5cbiAgbWFya0NoaWxkcmVuQXNTZWxlY3RlZD8oKTogdm9pZDtcblxuICB1bm1hcmtDaGlsZHJlbkFzU2VsZWN0ZWQ/KCk6IHZvaWQ7XG59XG4iXX0=
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
export function mixinChangeVisibility(base) {
|
|
2
2
|
return class extends base {
|
|
3
3
|
show() {
|
|
4
|
-
this.hostElement.style.display =
|
|
4
|
+
this.hostElement.style.display = 'unset';
|
|
5
5
|
}
|
|
6
6
|
hide() {
|
|
7
|
-
this.hostElement.style.display =
|
|
7
|
+
this.hostElement.style.display = 'none';
|
|
8
8
|
}
|
|
9
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
9
10
|
constructor(...args) {
|
|
10
11
|
super(...args);
|
|
11
12
|
}
|
|
12
13
|
};
|
|
13
14
|
}
|
|
14
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
15
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhbmdlLXZpc2liaWxpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL21peGlucy9jaGFuZ2UtdmlzaWJpbGl0eS9jaGFuZ2UtdmlzaWJpbGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFVQSxNQUFNLFVBQVUscUJBQXFCLENBQ25DLElBQU87SUFFUCxPQUFPLEtBQU0sU0FBUSxJQUFJO1FBQ2hCLElBQUk7WUFDVCxJQUFJLENBQUMsV0FBVyxDQUFDLEtBQUssQ0FBQyxPQUFPLEdBQUcsT0FBTyxDQUFDO1FBQzNDLENBQUM7UUFFTSxJQUFJO1lBQ1QsSUFBSSxDQUFDLFdBQVcsQ0FBQyxLQUFLLENBQUMsT0FBTyxHQUFHLE1BQU0sQ0FBQztRQUMxQyxDQUFDO1FBRUQsOERBQThEO1FBQzlELFlBQVksR0FBRyxJQUFXO1lBQ3hCLEtBQUssQ0FBQyxHQUFHLElBQUksQ0FBQyxDQUFDO1FBQ2pCLENBQUM7S0FDRixDQUFDO0FBQ0osQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IElDYW5DaGFuZ2VWaXNpYmlsaXR5IH0gZnJvbSAnLi9pLWNhbi1jaGFuZ2UtdmlzaWJpbGl0eSc7XG5pbXBvcnQgeyBJSGFzSG9zdEVsZW1lbnQgfSBmcm9tICcuLi8uL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IHN1cGVyKC4uLmFyZ3MpO1xuICAgIH1cbiAgfTtcbn1cbiJdfQ==
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uc3RydWN0b3IuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL21peGlucy9jb25zdHJ1Y3Rvci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIEB0eXBlc2NyaXB0LWVzbGludC9uby1leHBsaWNpdC1hbnlcbmV4cG9ydCB0eXBlIENvbnN0cnVjdG9yPFQ+ID0gbmV3ICguLi5hcmdzOiBhbnlbXSkgPT4gVDtcblxuLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIEB0eXBlc2NyaXB0LWVzbGludC9uby1leHBsaWNpdC1hbnlcbmV4cG9ydCB0eXBlIEFic3RyYWN0Q29uc3RydWN0b3I8VCA9IG9iamVjdD4gPSBhYnN0cmFjdCBuZXcgKC4uLmFyZ3M6IGFueVtdKSA9PiBUO1xuIl19
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export function debounceTime(delay) {
|
|
2
2
|
let timeoutId;
|
|
3
|
-
return callback => {
|
|
3
|
+
return (callback) => {
|
|
4
4
|
return () => {
|
|
5
5
|
clearTimeout(timeoutId);
|
|
6
6
|
timeoutId = setTimeout(() => callback(), delay);
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
9
|
}
|
|
10
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
10
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVib3VuY2UtdGltZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvcmVhY3Rpdml0eS9kZWJvdW5jZS10aW1lLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE1BQU0sVUFBVSxZQUFZLENBQUMsS0FBYTtJQUN4QyxJQUFJLFNBQXdDLENBQUM7SUFFN0MsT0FBTyxDQUFDLFFBQVEsRUFBRSxFQUFFO1FBQ2xCLE9BQU8sR0FBRyxFQUFFO1lBQ1YsWUFBWSxDQUFDLFNBQVMsQ0FBQyxDQUFDO1lBQ3hCLFNBQVMsR0FBRyxVQUFVLENBQUMsR0FBRyxFQUFFLENBQUMsUUFBUSxFQUFFLEVBQUUsS0FBSyxDQUFDLENBQUM7UUFDbEQsQ0FBQyxDQUFDO0lBQ0osQ0FBQyxDQUFDO0FBQ0osQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEZDaGFubmVsT3BlcmF0b3IgfSBmcm9tICcuL3R5cGVzJztcblxuZXhwb3J0IGZ1bmN0aW9uIGRlYm91bmNlVGltZShkZWxheTogbnVtYmVyKTogRkNoYW5uZWxPcGVyYXRvciB7XG4gIGxldCB0aW1lb3V0SWQ6IFJldHVyblR5cGU8dHlwZW9mIHNldFRpbWVvdXQ+O1xuXG4gIHJldHVybiAoY2FsbGJhY2spID0+IHtcbiAgICByZXR1cm4gKCkgPT4ge1xuICAgICAgY2xlYXJUaW1lb3V0KHRpbWVvdXRJZCk7XG4gICAgICB0aW1lb3V0SWQgPSBzZXRUaW1lb3V0KCgpID0+IGNhbGxiYWNrKCksIGRlbGF5KTtcbiAgICB9O1xuICB9O1xufVxuIl19
|
|
@@ -20,4 +20,4 @@ export class FChannelHub {
|
|
|
20
20
|
});
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
23
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZX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4oZGVzdHJveVJlZjogRGVzdHJveVJlZiwgY2FsbGJhY2s6IEZDaGFubmVsTGlzdGVuZXIpOiB2b2lkIHtcbiAgICBsZXQgbW9kaWZpZWRDYWxsYmFjayA9IGNhbGxiYWNrO1xuXG4gICAgdGhpcy5fb3BlcmF0b3JzLmZvckVhY2gob3BlcmF0b3IgPT4ge1xuICAgICAgbW9kaWZpZWRDYWxsYmFjayA9IG9wZXJhdG9yKG1vZGlmaWVkQ2FsbGJhY2spO1xuICAgIH0pO1xuXG4gICAgY29uc3QgdW5zdWJzY3JpYmVDYWxsYmFja3MgPSB0aGlzLl9jaGFubmVscy5tYXAoY2hhbm5lbCA9PlxuICAgICAgY2hhbm5lbC5saXN0ZW4oKCkgPT4gbW9kaWZpZWRDYWxsYmFjaygpKSxcbiAgICApO1xuXG4gICAgZGVzdHJveVJlZi5vbkRlc3Ryb3koKCkgPT4ge1xuICAgICAgdW5zdWJzY3JpYmVDYWxsYmFja3MuZm9yRWFjaCh1bnN1YnNjcmliZSA9PiB1bnN1YnNjcmliZSgpKTtcbiAgICB9KTtcbiAgfVxufVxuIl19
|
|
@@ -11,4 +11,4 @@ export class FChannel {
|
|
|
11
11
|
this._listeners.delete(callback);
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
14
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1jaGFubmVsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9yZWFjdGl2aXR5L2YtY2hhbm5lbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxNQUFNLE9BQU8sUUFBUTtJQUVULFVBQVUsR0FBRyxJQUFJLEdBQUcsRUFBb0IsQ0FBQztJQUU1QyxNQUFNO1FBQ1gsSUFBSSxDQUFDLFVBQVUsQ0FBQyxPQUF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export class FResizeChannel extends FChannel {
|
|
|
26
26
|
this._isObserving = false;
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
29
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1yZXNpemUtY2hhbm5lbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvcmVhY3Rpdml0eS9mLXJlc2l6ZS1jaGFubmVsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxhQUFhLENBQUM7QUFFdkMsTUFBTSxPQUFPLGNBQWUsU0FBUSxRQUFRO0lBT3ZCO0lBTEYsU0FBUyxHQUFHLElBQUksY0FBYyxDQUFDLEdBQUcsRUFBRSxDQUFDLElBQUksQ0FBQyxNQUFNLEVBQUUsQ0FBQyxDQUFDO0lBRTdELFlBQVksR0FBRyxLQUFLLENBQUM7SUFFN0IsWUFDbUIsWUFBc0M7UUFFdkQsS0FBSyxFQUFFLENBQUM7UUFGUyxpQkFBWSxHQUFaLFlBQVksQ0FBMEI7SUFHekQsQ0FBQztJQUVlLE1BQU0sQ0FBQyxRQUEwQjtRQUMvQyxJQUFJLENBQUMsSUFBSSxDQUFDLFlBQVksRUFBRSxDQUFDO1lBQ3ZCLElBQUksQ0FBQyxTQUFTLENBQUMsT0FBTyxDQUFDLElBQUksQ0FBQyxZQUFZLENBQUMsQ0FBQztZQUMxQyxJQUFJLENBQUMsWUFBWSxHQUFHLElBQUksQ0FBQztRQUMzQixDQUFDO1FBRUQsT0FBTyxLQUFLLENBQUMsTUFBTSxDQUFDLFFBQVEsQ0FBQyxDQUFDO0lBQ2hDLENBQUM7SUFFZSxJQUFJLENBQUMsUUFBMEI7UUFDN0MsS0FBSyxDQUFDLElBQUksQ0FBQyxRQUF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k7XG4gICAgICB0aGlzLl9pc09ic2VydmluZyA9IHRydWU7XG4gICAgfVxuXG4gICAgcmV0dXJuIHN1cGVyLmxpc3RlbihjYWxsYmFjayk7XG4gIH1cblxuICBwdWJsaWMgb3ZlcnJpZGUgc3RvcChjYWxsYmFjazogRkNoYW5uZWxMaXN0ZW5lcik6IHZvaWQge1xuICAgIHN1cGVyLnN0b3AoY2FsbGJhY2spO1xuICAgIGlmICh0aGlzLl9saXN0ZW5lcnMuc2l6ZSA9PT0gMCkge1xuICAgICAgdGhpcy5fZGlzY29ubmVjdCgpO1xuICAgIH1cbiAgfVxuXG4gIHByaXZhdGUgX2Rpc2Nvbm5lY3QoKTogdm9pZCB7XG4gICAgdGhpcy5fb2JzZXJ2ZXIudW5vYnNlcnZlKHRoaXMuX2h0bWxFbGVtZW50KTtcbiAgICB0aGlzLl9vYnNlcnZlci5kaXNjb25uZWN0KCk7XG4gICAgdGhpcy5faXNPYnNlcnZpbmcgPSBmYWxzZTtcbiAgfVxufVxuIl19
|
|
@@ -3,6 +3,5 @@ export * from './f-channel';
|
|
|
3
3
|
export * from './f-resize-channel';
|
|
4
4
|
export * from './types';
|
|
5
5
|
export * from './f-channel-hub';
|
|
6
|
-
export * from './mediator-effect';
|
|
7
6
|
export * from './notify-on-start';
|
|
8
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
7
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL3JlYWN0aXZpdHkvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxpQkFBaUIsQ0FBQztBQUVoQyxjQUFjLGFBQWEsQ0FBQztBQUU1QixjQUFjLG9CQUFvQixDQUFDO0FBRW5DLGNBQWMsU0FBUyxDQUFDO0FBRXhCLGNBQWMsaUJBQWlCLENBQUM7QUFFaEMsY0FBYyxtQkFBbUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZGVib3VuY2UtdGltZSc7XG5cbmV4cG9ydCAqIGZyb20gJy4vZi1jaGFubmVsJztcblxuZXhwb3J0ICogZnJvbSAnLi9mLXJlc2l6ZS1jaGFubmVsJztcblxuZXhwb3J0ICogZnJvbSAnLi90eXBlcyc7XG5cbmV4cG9ydCAqIGZyb20gJy4vZi1jaGFubmVsLWh1Yic7XG5cbmV4cG9ydCAqIGZyb20gJy4vbm90aWZ5LW9uLXN0YXJ0JztcbiJdfQ==
|
|
@@ -4,4 +4,4 @@ export function notifyOnStart() {
|
|
|
4
4
|
return callback;
|
|
5
5
|
};
|
|
6
6
|
}
|
|
7
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
7
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90aWZ5LW9uLXN0YXJ0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9yZWFjdGl2aXR5L25vdGlmeS1vbi1zdGFydC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxNQUFNLFVBQVUsYUFBYTtJQUMzQixPQUFPLFFBQVEsQ0FBQyxFQUFFO1FBQ2hCLFFBQVEsRUFBRSxDQUFDO1FBRVgsT0FBTyxRQUFRLENBQUM7SUFDbEIsQ0FBQyxDQUFDO0FBQ0osQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEZDaGFubmVsT3BlcmF0b3IgfSBmcm9tICcuL3R5cGVzJztcblxuZXhwb3J0IGZ1bmN0aW9uIG5vdGlmeU9uU3RhcnQoKTogRkNoYW5uZWxPcGVyYXRvciB7XG4gIHJldHVybiBjYWxsYmFjayA9PiB7XG4gICAgY2FsbGJhY2soKTtcblxuICAgIHJldHVybiBjYWxsYmFjaztcbiAgfTtcbn1cbiJdfQ==
|
package/esm2022/utils/index.mjs
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
export * from './infinity-min-max';
|
|
2
|
-
|
|
2
|
+
export * from './string-attribute';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL3V0aWxzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsb0JBQW9CLENBQUM7QUFDbkMsY0FBYyxvQkFBb0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vaW5maW5pdHktbWluLW1heCc7XG5leHBvcnQgKiBmcm9tICcuL3N0cmluZy1hdHRyaWJ1dGUnO1xuIl19
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export function infinityMinMax() {
|
|
2
2
|
return {
|
|
3
3
|
min: { x: -Infinity, y: -Infinity },
|
|
4
|
-
max: { x: Infinity, y: Infinity }
|
|
4
|
+
max: { x: Infinity, y: Infinity },
|
|
5
5
|
};
|
|
6
6
|
}
|
|
7
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
7
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5maW5pdHktbWluLW1heC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvdXRpbHMvaW5maW5pdHktbWluLW1heC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxNQUFNLFVBQVUsY0FBYztJQUM1QixPQUFPO1FBQ0wsR0FBRyxFQUFFLEVBQUUsQ0FBQyxFQUFFLENBQUMsUUFBUSxFQUFFLENBQUMsRUFBRSxDQUFDLFFBQVEsRUFBRTtRQUNuQyxHQUFHLEVBQUUsRUFBRSxDQUFDLEVBQUUsUUFBUSxFQUFFLENBQUMsRUFBRSxRQUFRLEVBQUU7S0FDbEMsQ0FBQztBQUNKLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJTWluTWF4UG9pbnQgfSBmcm9tICdAZm9ibGV4LzJkJztcblxuZXhwb3J0IGZ1bmN0aW9uIGluZmluaXR5TWluTWF4KCk6IElNaW5NYXhQb2ludCB7XG4gIHJldHVybiB7XG4gICAgbWluOiB7IHg6IC1JbmZpbml0eSwgeTogLUluZmluaXR5IH0sXG4gICAgbWF4OiB7IHg6IEluZmluaXR5LCB5OiBJbmZpbml0eSB9LFxuICB9O1xufVxuIl19
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export function stringAttribute(value) {
|
|
2
|
+
return value ? `${value}` : undefined;
|
|
3
|
+
}
|
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RyaW5nLWF0dHJpYnV0ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvdXRpbHMvc3RyaW5nLWF0dHJpYnV0ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLFVBQVUsZUFBZSxDQUFDLEtBQWM7SUFDNUMsT0FBTyxLQUFLLENBQUMsQ0FBQyxDQUFDLEdBQUcsS0FBSyxFQUFFLENBQUMsQ0FBQyxDQUFDLFNBQVMsQ0FBQztBQUN4QyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGZ1bmN0aW9uIHN0cmluZ0F0dHJpYnV0ZSh2YWx1ZTogdW5rbm93bik6IHN0cmluZyB8IHVuZGVmaW5lZCB7XG4gIHJldHVybiB2YWx1ZSA/IGAke3ZhbHVlfWAgOiB1bmRlZmluZWQ7XG59XG4iXX0=
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { FBackgroundComponent } from './f-background.component';
|
|
2
2
|
import { FRectPatternComponent } from './f-rect-pattern';
|
|
3
3
|
import { FCirclePatternComponent } from './f-circle-pattern';
|
|
4
|
-
export declare const F_BACKGROUND_PROVIDERS: (typeof
|
|
4
|
+
export declare const F_BACKGROUND_PROVIDERS: (typeof FBackgroundComponent | typeof FRectPatternComponent | typeof FCirclePatternComponent)[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IFConnectionBuilder, IFConnectionBuilderRequest, IFConnectionBuilderResponse } from '../../f-connection-builder';
|
|
2
2
|
export declare class FBezierPathBuilder implements IFConnectionBuilder {
|
|
3
|
-
private static
|
|
4
|
-
private static
|
|
3
|
+
private static _getConnectorOffset;
|
|
4
|
+
private static _getAnglePoint;
|
|
5
5
|
handle(request: IFConnectionBuilderRequest): IFConnectionBuilderResponse;
|
|
6
6
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { IFConnectionBuilder, IFConnectionBuilderRequest, IFConnectionBuilderResponse } from '../../f-connection-builder';
|
|
2
2
|
export declare class FSegmentPathBuilder implements IFConnectionBuilder {
|
|
3
3
|
handle(request: IFConnectionBuilderRequest): IFConnectionBuilderResponse;
|
|
4
|
-
private
|
|
5
|
-
private
|
|
6
|
-
private
|
|
7
|
-
private
|
|
8
|
-
private
|
|
9
|
-
private
|
|
10
|
-
private
|
|
4
|
+
private _getPathPoints;
|
|
5
|
+
private _getDirection;
|
|
6
|
+
private _distance;
|
|
7
|
+
private _buildPath;
|
|
8
|
+
private _getBend;
|
|
9
|
+
private _buildMoveOrLineSegment;
|
|
10
|
+
private _buildLastLineSegment;
|
|
11
11
|
}
|
|
@@ -11,10 +11,10 @@ import { FConnectionDragHandleEndComponent, FConnectionDragHandleStartComponent
|
|
|
11
11
|
import { FConnectionSelectionComponent } from './f-selection';
|
|
12
12
|
import { IConnectionText } from './f-connection-text';
|
|
13
13
|
import { EFConnectableSide } from '../../f-connectors';
|
|
14
|
-
import { FConnectionFactory } from '../f-connection-builder';
|
|
15
14
|
import { IHasHostElement } from '../../i-has-host-element';
|
|
16
15
|
import { ISelectable, ICanChangeVisibility } from '../../mixins';
|
|
17
|
-
import { FConnectionCenterDirective } from
|
|
16
|
+
import { FConnectionCenterDirective } from '../f-connection-center';
|
|
17
|
+
import { FConnectionContent } from '../f-connection-content';
|
|
18
18
|
import * as i0 from "@angular/core";
|
|
19
19
|
declare const MIXIN_BASE: import("../../mixins").Constructor<ISelectable> & import("../../mixins").AbstractConstructor<ISelectable> & import("../../mixins").Constructor<ICanChangeVisibility> & import("../../mixins").AbstractConstructor<ICanChangeVisibility> & {
|
|
20
20
|
new (hostElement: HTMLElement): {
|
|
@@ -22,12 +22,12 @@ declare const MIXIN_BASE: import("../../mixins").Constructor<ISelectable> & impo
|
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
24
|
export declare abstract class FConnectionBase extends MIXIN_BASE implements IHasHostElement, ISelectable, ICanChangeVisibility, IHasConnectionColor, IHasConnectionFromTo, IHasConnectionText {
|
|
25
|
-
private
|
|
25
|
+
private readonly _connectionFactory;
|
|
26
26
|
abstract fId: Signal<string>;
|
|
27
27
|
readonly fStartColor: import("@angular/core").InputSignal<string>;
|
|
28
28
|
readonly fEndColor: import("@angular/core").InputSignal<string>;
|
|
29
|
-
abstract fOutputId: string
|
|
30
|
-
abstract fInputId: string
|
|
29
|
+
abstract fOutputId: Signal<string>;
|
|
30
|
+
abstract fInputId: Signal<string>;
|
|
31
31
|
abstract fRadius: number;
|
|
32
32
|
abstract fOffset: number;
|
|
33
33
|
path: string;
|
|
@@ -49,18 +49,20 @@ export declare abstract class FConnectionBase extends MIXIN_BASE implements IHas
|
|
|
49
49
|
abstract fTextStartOffset: string;
|
|
50
50
|
readonly fConnectionCenter: Signal<ElementRef<HTMLDivElement> | undefined>;
|
|
51
51
|
readonly fConnectionCenters: Signal<readonly FConnectionCenterDirective[]>;
|
|
52
|
-
|
|
53
|
-
private
|
|
54
|
-
|
|
52
|
+
readonly fConnectionContents: Signal<readonly FConnectionContent[]>;
|
|
53
|
+
private _penultimatePoint;
|
|
54
|
+
private _secondPoint;
|
|
55
|
+
protected constructor();
|
|
55
56
|
initialize(): void;
|
|
56
57
|
isContains(element: HTMLElement | SVGElement): boolean;
|
|
57
58
|
setLine({ point1, point2 }: ILine, sourceSide: EFConnectableSide, targetSide: EFConnectableSide): void;
|
|
58
|
-
private
|
|
59
|
-
private
|
|
59
|
+
private _contents;
|
|
60
|
+
private _getPathResult;
|
|
61
|
+
private _createTransformString;
|
|
60
62
|
markChildrenAsSelected(): void;
|
|
61
63
|
unmarkChildrenAsSelected(): void;
|
|
62
64
|
redraw(): void;
|
|
63
65
|
static ɵfac: i0.ɵɵFactoryDeclaration<FConnectionBase, never>;
|
|
64
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FConnectionBase, never, never, { "fStartColor": { "alias": "fStartColor"; "required": false; "isSignal": true; }; "fEndColor": { "alias": "fEndColor"; "required": false; "isSignal": true; }; }, {}, ["fConnectionCenters"], never, false, never>;
|
|
66
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FConnectionBase, never, never, { "fStartColor": { "alias": "fStartColor"; "required": false; "isSignal": true; }; "fEndColor": { "alias": "fEndColor"; "required": false; "isSignal": true; }; }, {}, ["fConnectionCenters", "fConnectionContents"], never, false, never>;
|
|
65
67
|
}
|
|
66
68
|
export {};
|
|
@@ -1,23 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { IHasConnectionText } from '../i-has-connection-text';
|
|
3
|
-
import { IHasConnectionFromTo } from '../i-has-connection-from-to';
|
|
4
|
-
import { BrowserService } from '@foblex/platform';
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
5
2
|
import { IHasHostElement } from '../../../i-has-host-element';
|
|
6
3
|
import * as i0 from "@angular/core";
|
|
7
4
|
export declare class FConnectionTextPathDirective implements IHasHostElement, OnInit {
|
|
8
|
-
|
|
9
|
-
private
|
|
10
|
-
private
|
|
5
|
+
readonly hostElement: any;
|
|
6
|
+
private readonly _base;
|
|
7
|
+
private readonly _browser;
|
|
11
8
|
get linkToConnection(): string;
|
|
12
|
-
get hostElement(): SVGTextPathElement;
|
|
13
9
|
symbolWidth: number;
|
|
14
10
|
fontSize: string;
|
|
15
|
-
constructor(elementReference: ElementRef<SVGTextPathElement>, base: IHasConnectionText & IHasConnectionFromTo, fBrowser: BrowserService);
|
|
16
11
|
ngOnInit(): void;
|
|
17
12
|
getBBox(): DOMRect;
|
|
18
13
|
redraw(): void;
|
|
19
|
-
private
|
|
20
|
-
private
|
|
14
|
+
private _getFontStyles;
|
|
15
|
+
private _getSymbolWidth;
|
|
21
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<FConnectionTextPathDirective, never>;
|
|
22
17
|
static ɵdir: i0.ɵɵDirectiveDeclaration<FConnectionTextPathDirective, "textPath[f-connection-text-path]", never, {}, {}, never, never, false, never>;
|
|
23
18
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
|
-
import { ElementRef } from "@angular/core";
|
|
2
1
|
import { ILine } from '@foblex/2d';
|
|
3
|
-
import { FConnectionTextPathDirective } from './f-connection-text-path.directive';
|
|
4
|
-
import { IHasConnectionText } from '../i-has-connection-text';
|
|
5
|
-
import { IHasConnectionFromTo } from '../i-has-connection-from-to';
|
|
6
2
|
import { IConnectionText } from './i-connection-text';
|
|
7
3
|
import * as i0 from "@angular/core";
|
|
8
4
|
export declare class FConnectionTextComponent implements IConnectionText {
|
|
9
|
-
|
|
10
|
-
private
|
|
5
|
+
readonly hostElement: any;
|
|
6
|
+
private readonly _base;
|
|
7
|
+
private readonly _textPathDirective;
|
|
11
8
|
get textId(): string;
|
|
12
|
-
get hostElement(): SVGTextElement;
|
|
13
9
|
get text(): string;
|
|
14
|
-
textPathDirective: FConnectionTextPathDirective;
|
|
15
|
-
constructor(elementReference: ElementRef<SVGTextElement>, base: IHasConnectionText & IHasConnectionFromTo);
|
|
16
10
|
redraw(line: ILine): void;
|
|
17
|
-
private
|
|
18
|
-
private static
|
|
19
|
-
private static
|
|
11
|
+
private _calculateDy;
|
|
12
|
+
private static _isTextReverse;
|
|
13
|
+
private static _getTextStartOffset;
|
|
20
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<FConnectionTextComponent, never>;
|
|
21
15
|
static ɵcmp: i0.ɵɵComponentDeclaration<FConnectionTextComponent, "text[f-connection-text]", never, {}, {}, never, never, false, never>;
|
|
22
16
|
}
|
|
@@ -1,21 +1,16 @@
|
|
|
1
|
-
import { ElementRef } from "@angular/core";
|
|
2
1
|
import { ILine } from '@foblex/2d';
|
|
3
|
-
import { IHasConnectionFromTo } from '../i-has-connection-from-to';
|
|
4
|
-
import { IHasConnectionColor } from '../i-has-connection-color';
|
|
5
2
|
import { IConnectionGradient } from './i-connection-gradient';
|
|
6
3
|
import * as i0 from "@angular/core";
|
|
7
4
|
export declare class FConnectionGradientComponent implements IConnectionGradient {
|
|
8
|
-
|
|
9
|
-
private
|
|
5
|
+
readonly hostElement: any;
|
|
6
|
+
private readonly _base;
|
|
10
7
|
get gradientId(): string;
|
|
11
|
-
get hostElement(): SVGLinearGradientElement;
|
|
12
8
|
get stop1Element(): SVGStopElement;
|
|
13
9
|
get stop2Element(): SVGStopElement;
|
|
14
|
-
constructor(elementReference: ElementRef<SVGLinearGradientElement>, base: IHasConnectionColor & IHasConnectionFromTo);
|
|
15
10
|
initialize(): void;
|
|
16
|
-
private
|
|
17
|
-
private
|
|
18
|
-
private
|
|
11
|
+
private _updateGradient;
|
|
12
|
+
private _setFromColor;
|
|
13
|
+
private _setToColor;
|
|
19
14
|
redraw(line: ILine): void;
|
|
20
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<FConnectionGradientComponent, never>;
|
|
21
16
|
static ɵcmp: i0.ɵɵComponentDeclaration<FConnectionGradientComponent, "linearGradient[fConnectionGradient]", never, {}, {}, never, never, false, never>;
|
|
@@ -1,16 +1,11 @@
|
|
|
1
|
-
import { ElementRef } from "@angular/core";
|
|
2
|
-
import { IHasConnectionColor } from '../i-has-connection-color';
|
|
3
|
-
import { IHasConnectionFromTo } from '../i-has-connection-from-to';
|
|
4
1
|
import { IConnectionPath } from './i-connection-path';
|
|
5
2
|
import * as i0 from "@angular/core";
|
|
6
3
|
export declare class FConnectionPathComponent implements IConnectionPath {
|
|
7
|
-
|
|
8
|
-
private
|
|
4
|
+
readonly hostElement: any;
|
|
5
|
+
private readonly _base;
|
|
9
6
|
get fPathId(): string;
|
|
10
7
|
get linkToGradient(): string;
|
|
11
8
|
get attrConnectionId(): string;
|
|
12
|
-
get hostElement(): SVGPathElement;
|
|
13
|
-
constructor(elementReference: ElementRef<SVGPathElement>, base: IHasConnectionColor & IHasConnectionFromTo);
|
|
14
9
|
initialize(): void;
|
|
15
10
|
setPath(path: string): void;
|
|
16
11
|
select(): void;
|
|
@@ -1,13 +1,9 @@
|
|
|
1
|
-
import { ElementRef } from "@angular/core";
|
|
2
|
-
import { IHasConnectionFromTo } from '../i-has-connection-from-to';
|
|
3
1
|
import { IHasHostElement } from '../../../i-has-host-element';
|
|
4
2
|
import * as i0 from "@angular/core";
|
|
5
3
|
export declare class FConnectionSelectionComponent implements IHasHostElement {
|
|
6
|
-
|
|
7
|
-
private
|
|
4
|
+
readonly hostElement: any;
|
|
5
|
+
private readonly _base;
|
|
8
6
|
get connectionForSelectionId(): string;
|
|
9
|
-
get hostElement(): SVGPathElement;
|
|
10
|
-
constructor(elementReference: ElementRef<SVGPathElement>, base: IHasConnectionFromTo);
|
|
11
7
|
setPath(path: string): void;
|
|
12
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<FConnectionSelectionComponent, never>;
|
|
13
9
|
static ɵcmp: i0.ɵɵComponentDeclaration<FConnectionSelectionComponent, "path[fConnectionSelection]", never, {}, {}, never, never, false, never>;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnChanges, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { EFConnectionBehavior, EFConnectionType } from '../common';
|
|
3
|
-
import { FConnectionFactory } from '../f-connection-builder';
|
|
4
3
|
import { FConnectionBase } from '../common/f-connection-base';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
export declare class FConnectionComponent extends FConnectionBase implements OnInit, OnChanges, OnDestroy {
|
|
7
6
|
fId: import("@angular/core").InputSignal<string>;
|
|
7
|
+
/** @deprecated [fText] is deprecated and will be removed in v18.0.0. Use FConnectionContent directive instead. */
|
|
8
8
|
fText: string;
|
|
9
|
+
/** @deprecated [fTextStartOffset] is deprecated and will be removed in v18.0.0. Use FConnectionContent directive instead. */
|
|
9
10
|
fTextStartOffset: string;
|
|
10
|
-
fOutputId:
|
|
11
|
-
fInputId:
|
|
11
|
+
fOutputId: import("@angular/core").InputSignalWithTransform<string, unknown>;
|
|
12
|
+
fInputId: import("@angular/core").InputSignalWithTransform<string, unknown>;
|
|
12
13
|
fRadius: number;
|
|
13
14
|
fOffset: number;
|
|
14
15
|
fBehavior: EFConnectionBehavior;
|
|
@@ -18,12 +19,11 @@ export declare class FConnectionComponent extends FConnectionBase implements OnI
|
|
|
18
19
|
fDraggingDisabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
19
20
|
get boundingElement(): HTMLElement | SVGElement;
|
|
20
21
|
private readonly _mediator;
|
|
21
|
-
constructor(elementReference: ElementRef<HTMLElement>, fConnectionFactory: FConnectionFactory);
|
|
22
22
|
ngOnInit(): void;
|
|
23
23
|
ngOnChanges(): void;
|
|
24
24
|
ngOnDestroy(): void;
|
|
25
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<FConnectionComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FConnectionComponent, "f-connection", ["fComponent"], { "fId": { "alias": "fConnectionId"; "required": false; "isSignal": true; }; "fText": { "alias": "fText"; "required": false; }; "fTextStartOffset": { "alias": "fTextStartOffset"; "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; }; "fSelectionDisabled": { "alias": "fSelectionDisabled"; "required": false; "isSignal": true; }; "fReassignableStart": { "alias": "fReassignableStart"; "required": false; "isSignal": true; }; "fDraggingDisabled": { "alias": "fReassignDisabled"; "required": false; "isSignal": true; }; }, {}, never, ["*", "[fConnectionCenter]"], false, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FConnectionComponent, "f-connection", ["fComponent"], { "fId": { "alias": "fConnectionId"; "required": false; "isSignal": true; }; "fText": { "alias": "fText"; "required": false; }; "fTextStartOffset": { "alias": "fTextStartOffset"; "required": false; }; "fOutputId": { "alias": "fOutputId"; "required": false; "isSignal": true; }; "fInputId": { "alias": "fInputId"; "required": false; "isSignal": true; }; "fRadius": { "alias": "fRadius"; "required": false; }; "fOffset": { "alias": "fOffset"; "required": false; }; "fBehavior": { "alias": "fBehavior"; "required": false; }; "fType": { "alias": "fType"; "required": false; }; "fSelectionDisabled": { "alias": "fSelectionDisabled"; "required": false; "isSignal": true; }; "fReassignableStart": { "alias": "fReassignableStart"; "required": false; "isSignal": true; }; "fDraggingDisabled": { "alias": "fReassignDisabled"; "required": false; "isSignal": true; }; }, {}, never, ["*", "[fConnectionCenter]", "[fConnectionContent]"], false, never>;
|
|
27
27
|
static ngAcceptInputType_fRadius: unknown;
|
|
28
28
|
static ngAcceptInputType_fOffset: unknown;
|
|
29
29
|
static ngAcceptInputType_fBehavior: unknown;
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
2
|
import { IFConnectionBuilder } from './i-f-connection-builder';
|
|
3
3
|
export declare const F_CONNECTION_BUILDERS: InjectionToken<IFConnectionBuilders>;
|
|
4
|
-
export
|
|
5
|
-
[key: string]: IFConnectionBuilder;
|
|
6
|
-
}
|
|
4
|
+
export type IFConnectionBuilders = Record<string, IFConnectionBuilder>;
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
+
/** @deprecated '[fConnectionCenter] is deprecated and will be removed in v18.0.0. Use FConnectionContent directive instead.' */
|
|
2
3
|
export declare class FConnectionCenterDirective {
|
|
4
|
+
/**
|
|
5
|
+
* @deprecated '[fConnectionCenter] is deprecated and will be removed in v18.0.0. Use FConnectionContent directive instead.'
|
|
6
|
+
*/
|
|
7
|
+
readonly fConnectionCenter: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
3
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<FConnectionCenterDirective, never>;
|
|
4
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FConnectionCenterDirective, "[fConnectionCenter]", never, {}, {}, never, never, false, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FConnectionCenterDirective, "[fConnectionCenter]", never, { "fConnectionCenter": { "alias": "fConnectionCenter"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
5
10
|
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { IPolylineContent, PolylineContentAlign } from './polyline-content-engine';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Directive for placing custom user content (text, icons, buttons, etc.)
|
|
6
|
+
* along a connection line.
|
|
7
|
+
*
|
|
8
|
+
* It allows you to specify the position along the connection,
|
|
9
|
+
* shift the content sideways (perpendicular to the path),
|
|
10
|
+
* apply a margin near the edges, and control orientation.
|
|
11
|
+
*
|
|
12
|
+
* ### Usage examples
|
|
13
|
+
*
|
|
14
|
+
* ```html
|
|
15
|
+
* <!-- Text centered on the connection -->
|
|
16
|
+
* <div fConnectionContent [position]="0.5">
|
|
17
|
+
* Hello
|
|
18
|
+
* </div>
|
|
19
|
+
*
|
|
20
|
+
* <!-- Button near the start of the connection, shifted upward by 12px -->
|
|
21
|
+
* <button fConnectionContent [position]="0.2" [offset]="-12">
|
|
22
|
+
* +
|
|
23
|
+
* </button>
|
|
24
|
+
*
|
|
25
|
+
* <!-- Icon at the end of the connection, with 6px margin and rotated along the path -->
|
|
26
|
+
* <span fConnectionContent [position]="1" [margin]="6" align="along">
|
|
27
|
+
* ⮕
|
|
28
|
+
* </span>
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
export declare class FConnectionContent implements OnInit, IPolylineContent {
|
|
32
|
+
private readonly _mediator;
|
|
33
|
+
private readonly _injector;
|
|
34
|
+
/**
|
|
35
|
+
* The host DOM element to which the directive is applied.
|
|
36
|
+
* Used internally for positioning calculations.
|
|
37
|
+
*/
|
|
38
|
+
readonly hostElement: any;
|
|
39
|
+
/**
|
|
40
|
+
* Position along the connection.
|
|
41
|
+
*
|
|
42
|
+
* A normalized value in the range `0..1`:
|
|
43
|
+
* - `0` — at the start of the connection,
|
|
44
|
+
* - `1` — at the end of the connection,
|
|
45
|
+
* - `0.5` — at the middle of the connection (default).
|
|
46
|
+
*/
|
|
47
|
+
readonly position: import("@angular/core").InputSignalWithTransform<number, number>;
|
|
48
|
+
/**
|
|
49
|
+
* Perpendicular offset from the connection line (in pixels).
|
|
50
|
+
*
|
|
51
|
+
* - Positive values shift the element to the right
|
|
52
|
+
* relative to the line direction.
|
|
53
|
+
* - Negative values shift it to the left.
|
|
54
|
+
* - Default: `0` (no shift).
|
|
55
|
+
*/
|
|
56
|
+
readonly offset: import("@angular/core").InputSignal<number>;
|
|
57
|
+
/**
|
|
58
|
+
* Controls the orientation (rotation) of the content relative to the connection.
|
|
59
|
+
*
|
|
60
|
+
* Possible values:
|
|
61
|
+
* - `'none'` — no rotation (default).
|
|
62
|
+
* - `'along'` — aligned along the path (tangent).
|
|
63
|
+
*/
|
|
64
|
+
readonly align: import("@angular/core").InputSignalWithTransform<PolylineContentAlign, unknown>;
|
|
65
|
+
ngOnInit(): void;
|
|
66
|
+
private _listenChanges;
|
|
67
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FConnectionContent, never>;
|
|
68
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FConnectionContent, "[fConnectionContent]", never, { "position": { "alias": "position"; "required": false; "isSignal": true; }; "offset": { "alias": "offset"; "required": false; "isSignal": true; }; "align": { "alias": "align"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
69
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Signal } from '@angular/core';
|
|
2
|
+
import { PolylineContentAlign } from './polyline-content-align';
|
|
3
|
+
/** Domain contract for content item to be placed along the path. */
|
|
4
|
+
export interface IPolylineContent {
|
|
5
|
+
position: Signal<number>;
|
|
6
|
+
offset: Signal<number>;
|
|
7
|
+
align: Signal<PolylineContentAlign>;
|
|
8
|
+
hostElement: HTMLElement;
|
|
9
|
+
}
|