@foblex/flow 17.1.0 → 17.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/domain/css-cls.d.ts +13 -0
- package/domain/f-background/providers.d.ts +1 -1
- package/domain/f-canvas/providers.d.ts +1 -1
- package/domain/f-connection/index.d.ts +0 -3
- package/domain/f-connection/providers.d.ts +1 -4
- package/domain/f-connection/redraw-connections/redraw-connections.execution.d.ts +2 -2
- package/domain/f-connectors/calculate-closest-input/calculate-closest-input.execution.d.ts +11 -0
- package/domain/f-connectors/calculate-closest-input/calculate-closest-input.request.d.ts +7 -0
- package/domain/f-connectors/calculate-closest-input/index.d.ts +2 -0
- package/domain/f-connectors/find-input-at-position/find-input-at-position.execution.d.ts +24 -0
- package/domain/f-connectors/find-input-at-position/find-input-at-position.request.d.ts +8 -0
- package/domain/f-connectors/find-input-at-position/index.d.ts +2 -0
- package/domain/f-connectors/get-all-can-be-connected-inputs-and-rects/get-all-can-be-connected-inputs-and-rects.execution.d.ts +14 -0
- package/domain/f-connectors/get-all-can-be-connected-inputs-and-rects/get-all-can-be-connected-inputs-and-rects.request.d.ts +5 -0
- package/domain/f-connectors/get-all-can-be-connected-inputs-and-rects/index.d.ts +2 -0
- package/domain/f-connectors/get-connector-and-rect/get-connector-and-rect-request.d.ts +5 -0
- package/domain/f-connectors/get-connector-and-rect/get-connector-and-rect.execution.d.ts +11 -0
- package/domain/f-connectors/get-connector-and-rect/index.d.ts +2 -0
- package/domain/{f-connection/find-closest-input → f-connectors}/i-closest-input.d.ts +1 -1
- package/domain/{f-connection/get-connector-with-rect/i-connector-with-rect.d.ts → f-connectors/i-connector-and-rect.d.ts} +2 -2
- package/domain/f-connectors/index.d.ts +8 -0
- package/domain/f-connectors/mark-all-can-be-connected-inputs/index.d.ts +2 -0
- package/domain/f-connectors/mark-all-can-be-connected-inputs/mark-all-can-be-connected-inputs.execution.d.ts +10 -0
- package/domain/f-connectors/mark-all-can-be-connected-inputs/mark-all-can-be-connected-inputs.request.d.ts +5 -0
- package/domain/f-connectors/providers.d.ts +7 -1
- package/domain/f-connectors/unmark-all-can-be-connected-inputs/index.d.ts +2 -0
- package/domain/f-connectors/unmark-all-can-be-connected-inputs/unmark-all-can-be-connected-inputs.execution.d.ts +10 -0
- package/domain/f-connectors/unmark-all-can-be-connected-inputs/unmark-all-can-be-connected-inputs.request.d.ts +5 -0
- package/domain/f-draggable/end-drag-sequence/end-drag-sequence.execution.d.ts +1 -0
- package/domain/f-draggable/providers.d.ts +1 -1
- package/domain/f-draggable/start-drag-sequence/start-drag-sequence.execution.d.ts +1 -0
- package/domain/f-event-trigger.d.ts +4 -0
- package/domain/f-flow/get-flow-state/providers.d.ts +1 -1
- package/domain/f-flow/providers.d.ts +1 -1
- package/domain/f-node/providers.d.ts +1 -1
- package/domain/f-node/update-node-when-state-or-size-changed/update-node-when-state-or-size-changed.execution.d.ts +2 -0
- package/domain/f-selection/clear-selection/clear-selection.execution.d.ts +1 -3
- package/domain/f-selection/get-can-be-selected-items/get-can-be-selected-items.execution.d.ts +4 -6
- package/domain/f-selection/get-can-be-selected-items/i-can-be-selected-element-and-rect.d.ts +6 -0
- package/domain/f-selection/get-can-be-selected-items/index.d.ts +1 -1
- package/domain/f-selection/providers.d.ts +1 -1
- package/domain/f-selection/select/select.execution.d.ts +2 -5
- package/domain/f-selection/select-all/select-all.execution.d.ts +2 -5
- package/domain/f-zoom/add-zoom-to-store/add-zoom-to-store-request.d.ts +5 -0
- package/domain/f-zoom/add-zoom-to-store/add-zoom-to-store.execution.d.ts +9 -0
- package/domain/f-zoom/add-zoom-to-store/index.d.ts +2 -0
- package/domain/f-zoom/f-zoom-tag.d.ts +1 -0
- package/domain/f-zoom/index.d.ts +6 -0
- package/domain/f-zoom/providers.d.ts +5 -0
- package/domain/f-zoom/remove-zoom-from-store/index.d.ts +2 -0
- package/domain/f-zoom/remove-zoom-from-store/remove-zoom-from-store-request.d.ts +2 -0
- package/domain/f-zoom/remove-zoom-from-store/remove-zoom-from-store.execution.d.ts +9 -0
- package/domain/f-zoom/reset-zoom/index.d.ts +2 -0
- package/domain/f-zoom/reset-zoom/reset-zoom-request.d.ts +2 -0
- package/domain/f-zoom/reset-zoom/reset-zoom.execution.d.ts +10 -0
- package/domain/f-zoom/set-zoom/index.d.ts +2 -0
- package/domain/f-zoom/set-zoom/set-zoom-request.d.ts +8 -0
- package/domain/f-zoom/set-zoom/set-zoom.execution.d.ts +16 -0
- package/domain/i-f-action-trigger.d.ts +14 -0
- package/domain/index.d.ts +5 -0
- package/domain/log-deprecated.d.ts +1 -0
- package/domain/providers.d.ts +1 -1
- package/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.execution.d.ts +4 -4
- package/domain/update-item-and-children-layers/update-item-and-children-layers.request.d.ts +3 -3
- package/esm2022/domain/css-cls.mjs +14 -0
- package/esm2022/domain/f-canvas/center-group-or-node/center-group-or-node.execution.mjs +2 -2
- package/esm2022/domain/f-canvas/fit-to-flow/fit-to-flow.execution.mjs +3 -3
- package/esm2022/domain/f-canvas/reset-scale-and-center/reset-scale-and-center.execution.mjs +3 -3
- package/esm2022/domain/f-connection/index.mjs +1 -4
- package/esm2022/domain/f-connection/providers.mjs +1 -7
- package/esm2022/domain/f-connection/redraw-connections/redraw-connections.execution.mjs +11 -11
- package/esm2022/domain/f-connectors/calculate-closest-input/calculate-closest-input.execution.mjs +42 -0
- package/esm2022/domain/f-connectors/calculate-closest-input/calculate-closest-input.request.mjs +9 -0
- package/esm2022/domain/f-connectors/calculate-closest-input/index.mjs +3 -0
- package/esm2022/domain/f-connectors/find-input-at-position/find-input-at-position.execution.mjs +89 -0
- package/esm2022/domain/f-connectors/find-input-at-position/find-input-at-position.request.mjs +11 -0
- package/esm2022/domain/f-connectors/find-input-at-position/index.mjs +3 -0
- package/esm2022/domain/f-connectors/get-all-can-be-connected-inputs-and-rects/get-all-can-be-connected-inputs-and-rects.execution.mjs +45 -0
- package/esm2022/domain/f-connectors/get-all-can-be-connected-inputs-and-rects/get-all-can-be-connected-inputs-and-rects.request.mjs +7 -0
- package/esm2022/domain/f-connectors/get-all-can-be-connected-inputs-and-rects/index.mjs +3 -0
- package/esm2022/domain/f-connectors/get-connector-and-rect/get-connector-and-rect-request.mjs +7 -0
- package/esm2022/domain/f-connectors/get-connector-and-rect/get-connector-and-rect.execution.mjs +28 -0
- package/esm2022/domain/f-connectors/get-connector-and-rect/index.mjs +3 -0
- package/esm2022/domain/f-connectors/i-closest-input.mjs +2 -0
- package/esm2022/domain/f-connectors/i-connector-and-rect.mjs +2 -0
- package/esm2022/domain/f-connectors/index.mjs +9 -1
- package/esm2022/domain/f-connectors/mark-all-can-be-connected-inputs/index.mjs +3 -0
- package/esm2022/domain/f-connectors/mark-all-can-be-connected-inputs/mark-all-can-be-connected-inputs.execution.mjs +27 -0
- package/esm2022/domain/f-connectors/mark-all-can-be-connected-inputs/mark-all-can-be-connected-inputs.request.mjs +7 -0
- package/esm2022/domain/f-connectors/providers.mjs +14 -2
- package/esm2022/domain/f-connectors/unmark-all-can-be-connected-inputs/index.mjs +3 -0
- package/esm2022/domain/f-connectors/unmark-all-can-be-connected-inputs/unmark-all-can-be-connected-inputs.execution.mjs +27 -0
- package/esm2022/domain/f-connectors/unmark-all-can-be-connected-inputs/unmark-all-can-be-connected-inputs.request.mjs +7 -0
- package/esm2022/domain/f-draggable/emit-selection-change-event/emit-selection-change-event.execution.mjs +3 -3
- package/esm2022/domain/f-draggable/end-drag-sequence/end-drag-sequence.execution.mjs +7 -2
- package/esm2022/domain/f-draggable/prepare-drag-sequence/prepare-drag-sequence.execution.mjs +2 -2
- package/esm2022/domain/f-draggable/start-drag-sequence/start-drag-sequence.execution.mjs +8 -3
- package/esm2022/domain/f-event-trigger.mjs +7 -0
- package/esm2022/domain/f-flow/get-flow-state/get-flow-state.execution.mjs +4 -4
- package/esm2022/domain/f-node/update-node-when-state-or-size-changed/update-node-when-state-or-size-changed.execution.mjs +40 -6
- package/esm2022/domain/f-selection/clear-selection/clear-selection.execution.mjs +9 -12
- package/esm2022/domain/f-selection/get-can-be-selected-items/get-can-be-selected-items.execution.mjs +8 -11
- package/esm2022/domain/f-selection/get-can-be-selected-items/i-can-be-selected-element-and-rect.mjs +2 -0
- package/esm2022/domain/f-selection/get-can-be-selected-items/index.mjs +2 -2
- package/esm2022/domain/f-selection/select/select.execution.mjs +18 -22
- package/esm2022/domain/f-selection/select-all/select-all.execution.mjs +18 -22
- package/esm2022/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.execution.mjs +3 -3
- package/esm2022/domain/f-zoom/add-zoom-to-store/add-zoom-to-store-request.mjs +7 -0
- package/esm2022/domain/f-zoom/add-zoom-to-store/add-zoom-to-store.execution.mjs +25 -0
- package/esm2022/domain/f-zoom/add-zoom-to-store/index.mjs +3 -0
- package/esm2022/domain/f-zoom/f-zoom-tag.mjs +2 -0
- package/esm2022/domain/f-zoom/index.mjs +7 -0
- package/esm2022/domain/f-zoom/providers.mjs +11 -0
- package/esm2022/domain/f-zoom/remove-zoom-from-store/index.mjs +3 -0
- package/esm2022/domain/f-zoom/remove-zoom-from-store/remove-zoom-from-store-request.mjs +3 -0
- package/esm2022/domain/f-zoom/remove-zoom-from-store/remove-zoom-from-store.execution.mjs +25 -0
- package/esm2022/domain/f-zoom/reset-zoom/index.mjs +3 -0
- package/esm2022/domain/f-zoom/reset-zoom/reset-zoom-request.mjs +3 -0
- package/esm2022/domain/f-zoom/reset-zoom/reset-zoom.execution.mjs +27 -0
- package/esm2022/domain/f-zoom/set-zoom/index.mjs +3 -0
- package/esm2022/domain/f-zoom/set-zoom/set-zoom-request.mjs +13 -0
- package/esm2022/domain/f-zoom/set-zoom/set-zoom.execution.mjs +50 -0
- package/esm2022/domain/get-normalized-element-rect/get-normalized-element-rect.execution.mjs +2 -2
- package/esm2022/domain/i-f-action-trigger.mjs +11 -0
- package/esm2022/domain/index.mjs +6 -1
- package/esm2022/domain/log-deprecated.mjs +11 -0
- package/esm2022/domain/providers.mjs +3 -1
- package/esm2022/domain/sort-item-layers/sort-item-layers.execution.mjs +4 -4
- package/esm2022/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.execution.mjs +14 -14
- package/esm2022/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.execution.mjs +2 -2
- package/esm2022/domain/update-item-and-children-layers/update-item-and-children-layers.execution.mjs +3 -3
- package/esm2022/domain/update-item-and-children-layers/update-item-and-children-layers.request.mjs +1 -1
- package/esm2022/f-backgroud/f-background.component.mjs +4 -4
- package/esm2022/f-canvas/domain/f-canvas-change.event.mjs +1 -1
- package/esm2022/f-canvas/f-canvas-base.mjs +1 -1
- package/esm2022/f-canvas/f-canvas.component.mjs +37 -14
- package/esm2022/f-connection/common/f-connection-base.mjs +3 -3
- package/esm2022/f-connection/common/f-connection-text/f-connection-text-path.directive.mjs +4 -2
- package/esm2022/f-connection/common/f-connection-text/f-connection-text.component.mjs +2 -1
- package/esm2022/f-connection/f-connection/f-connection.component.mjs +10 -8
- package/esm2022/f-connection/f-connection-for-create/f-connection-for-create.component.mjs +10 -8
- package/esm2022/f-connection/f-marker/f-marker.directive.mjs +3 -3
- package/esm2022/f-connection/f-snap-connection/f-snap-connection.component.mjs +12 -9
- package/esm2022/f-connectors/f-connector-base.mjs +9 -5
- package/esm2022/f-connectors/f-node-input/f-node-input.directive.mjs +25 -25
- package/esm2022/f-connectors/f-node-outlet/f-node-outlet-base.mjs +1 -1
- package/esm2022/f-connectors/f-node-outlet/f-node-outlet.directive.mjs +18 -19
- package/esm2022/f-connectors/f-node-output/f-node-output-base.mjs +1 -1
- package/esm2022/f-connectors/f-node-output/f-node-output.directive.mjs +30 -26
- package/esm2022/f-connectors/index.mjs +1 -2
- package/esm2022/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.execution.mjs +8 -11
- package/esm2022/f-draggable/canvas/canvas-move-finalize/index.mjs +1 -2
- package/esm2022/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.execution.mjs +36 -19
- package/esm2022/f-draggable/canvas/canvas-move-preparation/index.mjs +1 -3
- package/esm2022/f-draggable/canvas/canvas.drag-handler.mjs +8 -8
- package/esm2022/f-draggable/canvas/providers.mjs +5 -5
- package/esm2022/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.execution.mjs +14 -11
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler-preparation/create-connection-drag-handler-preparation.execution.mjs +40 -0
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler-preparation/create-connection-drag-handler-preparation.request.mjs +9 -0
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler-preparation/index.mjs +3 -0
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.execution.mjs +36 -38
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.request.mjs +4 -2
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.execution.mjs +32 -24
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.request.mjs +4 -2
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/index.mjs +1 -2
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.execution.mjs +8 -12
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.request.mjs +4 -2
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/index.mjs +2 -2
- package/esm2022/f-draggable/connections/create-connection/create-connection.drag-handler.mjs +56 -51
- package/esm2022/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.execution.mjs +27 -24
- package/esm2022/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.request.mjs +4 -4
- package/esm2022/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/index.mjs +1 -2
- package/esm2022/f-draggable/connections/i-create-reassign-connection-drag-data.mjs +2 -0
- package/esm2022/f-draggable/connections/index.mjs +2 -2
- package/esm2022/f-draggable/connections/providers.mjs +3 -8
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.execution.mjs +9 -5
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.execution.mjs +2 -2
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.request.mjs +4 -2
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.mjs +71 -53
- package/esm2022/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.execution.mjs +3 -3
- package/esm2022/f-draggable/domain/is-connection-under-node/is-connection-under-node.execution.mjs +2 -2
- package/esm2022/f-draggable/f-draggable-base.mjs +1 -1
- package/esm2022/f-draggable/f-draggable-data-context.mjs +1 -1
- package/esm2022/f-draggable/f-draggable.directive.mjs +55 -24
- package/esm2022/f-draggable/f-injector.mjs +19 -0
- package/esm2022/f-draggable/i-draggable-item.mjs +1 -1
- package/esm2022/f-draggable/index.mjs +2 -1
- package/esm2022/f-draggable/node/connection-drag-handlers/base-connection.drag-handler.mjs +56 -0
- package/esm2022/f-draggable/node/connection-drag-handlers/index.mjs +5 -0
- package/esm2022/f-draggable/node/connection-drag-handlers/source-connection.drag-handler.mjs +11 -0
- package/esm2022/f-draggable/node/connection-drag-handlers/source-target-connection.drag-handler.mjs +22 -0
- package/esm2022/f-draggable/node/connection-drag-handlers/target-connection.drag-handler.mjs +11 -0
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.execution.mjs +47 -45
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-common-node-move-limits/calculate-common-node-move-limits.execution.mjs +69 -0
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-common-node-move-limits/calculate-common-node-move-limits.request.mjs +7 -0
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-common-node-move-limits/index.mjs +3 -0
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-node-move-limits/calculate-node-move-limits.execution.mjs +49 -0
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-node-move-limits/calculate-node-move-limits.request.mjs +9 -0
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-node-move-limits/index.mjs +3 -0
- 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 +27 -35
- 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.request.mjs +4 -4
- 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 +33 -46
- 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.request.mjs +4 -4
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/i-node-move-limits-and-position.mjs +2 -0
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/i-node-move-limits.mjs +2 -0
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/index.mjs +5 -4
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/providers.mjs +5 -5
- package/esm2022/f-draggable/node/index.mjs +4 -6
- package/esm2022/f-draggable/node/line-alignment-preparation/line-alignment-preparation.execution.mjs +7 -18
- package/esm2022/f-draggable/node/line-alignment-preparation/line-alignment-preparation.request.mjs +7 -1
- package/esm2022/f-draggable/node/line-alignment.drag-handler.mjs +5 -4
- package/esm2022/f-draggable/node/node-drag-to-parent-finalize/node-drag-to-parent-finalize.execution.mjs +3 -3
- package/esm2022/f-draggable/node/node-drag-to-parent-preparation/index.mjs +1 -3
- package/esm2022/f-draggable/node/node-drag-to-parent-preparation/node-drag-to-parent-preparation.execution.mjs +13 -6
- package/esm2022/f-draggable/node/node-move-finalize/node-move-finalize.execution.mjs +13 -9
- package/esm2022/f-draggable/node/node-move-preparation/node-move-preparation.execution.mjs +5 -4
- package/esm2022/f-draggable/node/node.drag-handler.mjs +12 -29
- package/esm2022/f-draggable/node/point-bounds-limiter.mjs +41 -0
- package/esm2022/f-draggable/node/providers.mjs +3 -3
- package/esm2022/f-draggable/node/summary-node.drag-handler.mjs +36 -0
- package/esm2022/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.execution.mjs +26 -22
- package/esm2022/f-draggable/node-resize/calculate-changed-size/calculate-changed-size.execution.mjs +1 -1
- package/esm2022/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.execution.mjs +18 -18
- package/esm2022/f-draggable/node-resize/get-node-resize-restrictions/i-node-resize-restrictions.mjs +1 -1
- package/esm2022/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.execution.mjs +3 -3
- package/esm2022/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.execution.mjs +8 -11
- package/esm2022/f-draggable/node-resize/node-resize-preparation/index.mjs +1 -3
- package/esm2022/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.execution.mjs +46 -34
- package/esm2022/f-draggable/node-resize/node-resize.drag-handler.mjs +47 -34
- package/esm2022/f-draggable/node-resize/providers.mjs +3 -3
- package/esm2022/f-draggable/node-resize/resize-direction.mjs +5 -1
- package/esm2022/f-draggable/single-select/single-select.execution.mjs +101 -70
- package/esm2022/f-draggable/single-select/single-select.request.mjs +4 -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.execution.mjs +27 -27
- package/esm2022/f-external-item/domain/external-item-preparation/index.mjs +1 -2
- package/esm2022/f-external-item/domain/external-item-preparation/providers.mjs +1 -3
- package/esm2022/f-external-item/domain/external-item.drag-handler.mjs +9 -8
- package/esm2022/f-flow/f-flow.component.mjs +15 -15
- package/esm2022/f-minimap/domain/f-minimap.drag-handler.mjs +2 -2
- 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-drag-finalize/index.mjs +1 -2
- package/esm2022/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.execution.mjs +8 -1
- package/esm2022/f-minimap/domain/minimap-drag-finalize/providers.mjs +1 -3
- package/esm2022/f-minimap/domain/minimap-drag-preparation/index.mjs +1 -2
- package/esm2022/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.execution.mjs +10 -2
- package/esm2022/f-minimap/domain/minimap-drag-preparation/providers.mjs +1 -3
- package/esm2022/f-minimap/f-minimap-canvas.directive.mjs +2 -2
- package/esm2022/f-minimap/f-minimap-flow.directive.mjs +2 -2
- package/esm2022/f-minimap/f-minimap-view.directive.mjs +2 -2
- package/esm2022/f-minimap/f-minimap.component.mjs +4 -4
- package/esm2022/f-node/f-group.directive.mjs +24 -16
- package/esm2022/f-node/f-node-base.mjs +1 -1
- package/esm2022/f-node/f-node.directive.mjs +25 -17
- package/esm2022/f-node/f-resize-handle/e-f-resize-handle-type.mjs +6 -2
- package/esm2022/f-node/f-resize-handle/f-resize-handle.directive.mjs +3 -3
- package/esm2022/f-selection-area/domain/providers.mjs +5 -5
- package/esm2022/f-selection-area/domain/selection-area-finalize/index.mjs +1 -3
- package/esm2022/f-selection-area/domain/selection-area-finalize/selection-area-finalize.execution.mjs +14 -10
- package/esm2022/f-selection-area/domain/selection-area-preparation/index.mjs +1 -3
- package/esm2022/f-selection-area/domain/selection-area-preparation/selection-area-preparation.execution.mjs +25 -23
- package/esm2022/f-selection-area/domain/selection-area-preparation/selection-area-preparation.request.mjs +4 -2
- package/esm2022/f-selection-area/domain/selection-area.drag-handle.mjs +32 -29
- package/esm2022/f-selection-area/f-selection-area.component.mjs +11 -6
- package/esm2022/f-storage/f-components-store.mjs +2 -1
- package/esm2022/f-zoom/e-f-zoom-action.mjs +6 -0
- package/esm2022/f-zoom/e-f-zoom-direction.mjs +6 -0
- package/esm2022/f-zoom/f-zoom-base.mjs +2 -98
- package/esm2022/f-zoom/f-zoom.directive.mjs +139 -21
- package/esm2022/f-zoom/index.mjs +3 -1
- package/esm2022/mixins/change-selection/change-selection.mjs +7 -7
- package/esm2022/mixins/change-selection/i-selectable.mjs +2 -0
- package/esm2022/mixins/change-selection/index.mjs +2 -2
- package/f-backgroud/providers.d.ts +1 -1
- package/f-canvas/f-canvas-base.d.ts +2 -2
- package/f-canvas/f-canvas.component.d.ts +9 -0
- package/f-connection/common/f-connection-base.d.ts +5 -5
- package/f-connection/common/f-connection-text/f-connection-text-path.directive.d.ts +1 -0
- package/f-connection/f-connection/f-connection.component.d.ts +2 -0
- package/f-connection/f-connection-for-create/f-connection-for-create.component.d.ts +2 -0
- package/f-connection/f-snap-connection/f-snap-connection.component.d.ts +3 -0
- package/f-connection/providers.d.ts +1 -1
- package/f-connectors/f-connector-base.d.ts +4 -2
- package/f-connectors/f-node-input/f-node-input.directive.d.ts +6 -6
- package/f-connectors/f-node-outlet/f-node-outlet-base.d.ts +1 -0
- package/f-connectors/f-node-outlet/f-node-outlet.directive.d.ts +6 -6
- package/f-connectors/f-node-output/f-node-output-base.d.ts +1 -0
- package/f-connectors/f-node-output/f-node-output.directive.d.ts +8 -7
- package/f-connectors/index.d.ts +0 -1
- package/f-connectors/providers.d.ts +1 -1
- package/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.execution.d.ts +1 -3
- package/f-draggable/canvas/canvas-move-finalize/index.d.ts +0 -1
- package/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.execution.d.ts +7 -6
- package/f-draggable/canvas/canvas-move-preparation/index.d.ts +0 -2
- package/f-draggable/canvas/canvas.drag-handler.d.ts +2 -2
- package/f-draggable/canvas/providers.d.ts +3 -1
- package/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.execution.d.ts +3 -2
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler-preparation/create-connection-drag-handler-preparation.execution.d.ts +12 -0
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler-preparation/create-connection-drag-handler-preparation.request.d.ts +7 -0
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler-preparation/index.d.ts +2 -0
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.execution.d.ts +6 -6
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.request.d.ts +3 -1
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.execution.d.ts +6 -6
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.request.d.ts +3 -1
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/index.d.ts +0 -1
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.execution.d.ts +1 -2
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.request.d.ts +3 -1
- package/f-draggable/connections/create-connection/create-connection-preparation/index.d.ts +1 -1
- package/f-draggable/connections/create-connection/create-connection.drag-handler.d.ts +14 -17
- package/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.execution.d.ts +7 -7
- package/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.request.d.ts +2 -2
- package/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/index.d.ts +0 -1
- package/f-draggable/connections/i-create-reassign-connection-drag-data.d.ts +7 -0
- package/f-draggable/connections/index.d.ts +1 -1
- package/f-draggable/connections/providers.d.ts +2 -3
- package/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.execution.d.ts +1 -0
- package/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.request.d.ts +3 -1
- package/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.d.ts +17 -17
- package/f-draggable/f-draggable-base.d.ts +4 -1
- package/f-draggable/f-draggable-data-context.d.ts +2 -2
- package/f-draggable/f-draggable.directive.d.ts +16 -3
- package/f-draggable/f-injector.d.ts +8 -0
- package/f-draggable/i-draggable-item.d.ts +2 -1
- package/f-draggable/index.d.ts +1 -0
- package/f-draggable/node/connection-drag-handlers/base-connection.drag-handler.d.ts +21 -0
- package/f-draggable/node/connection-drag-handlers/index.d.ts +4 -0
- package/f-draggable/node/connection-drag-handlers/source-connection.drag-handler.d.ts +7 -0
- package/f-draggable/node/connection-drag-handlers/source-target-connection.drag-handler.d.ts +10 -0
- package/f-draggable/node/connection-drag-handlers/target-connection.drag-handler.d.ts +7 -0
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.execution.d.ts +14 -13
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-common-node-move-limits/calculate-common-node-move-limits.execution.d.ts +19 -0
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-common-node-move-limits/calculate-common-node-move-limits.request.d.ts +5 -0
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-common-node-move-limits/index.d.ts +2 -0
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-node-move-limits/calculate-node-move-limits.execution.d.ts +15 -0
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/{calculate-node-move-restrictions/calculate-node-move-restrictions.request.d.ts → calculate-node-move-limits/calculate-node-move-limits.request.d.ts} +1 -1
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-node-move-limits/index.d.ts +2 -0
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/put-input-connection-handlers-to-array.execution.d.ts +5 -10
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/put-input-connection-handlers-to-array.request.d.ts +4 -4
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/put-output-connection-handlers-to-array.execution.d.ts +8 -13
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/put-output-connection-handlers-to-array.request.d.ts +4 -4
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/i-node-move-limits-and-position.d.ts +5 -0
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/i-node-move-limits.d.ts +3 -0
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/index.d.ts +4 -3
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/providers.d.ts +3 -3
- package/f-draggable/node/index.d.ts +3 -5
- package/f-draggable/node/line-alignment-preparation/line-alignment-preparation.execution.d.ts +0 -2
- package/f-draggable/node/line-alignment-preparation/line-alignment-preparation.request.d.ts +5 -0
- package/f-draggable/node/line-alignment.drag-handler.d.ts +2 -3
- package/f-draggable/node/node-drag-to-parent-preparation/index.d.ts +0 -2
- package/f-draggable/node/node-drag-to-parent-preparation/node-drag-to-parent-preparation.execution.d.ts +1 -0
- package/f-draggable/node/node-move-finalize/node-move-finalize.execution.d.ts +2 -0
- package/f-draggable/node/node.drag-handler.d.ts +6 -9
- package/f-draggable/node/point-bounds-limiter.d.ts +15 -0
- package/f-draggable/node/providers.d.ts +2 -1
- package/f-draggable/node/summary-node.drag-handler.d.ts +14 -0
- package/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.execution.d.ts +5 -5
- package/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.execution.d.ts +5 -4
- package/f-draggable/node-resize/get-node-resize-restrictions/i-node-resize-restrictions.d.ts +3 -3
- package/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.execution.d.ts +1 -3
- package/f-draggable/node-resize/node-resize-preparation/index.d.ts +0 -2
- package/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.execution.d.ts +13 -11
- package/f-draggable/node-resize/node-resize.drag-handler.d.ts +16 -12
- package/f-draggable/node-resize/providers.d.ts +2 -1
- package/f-draggable/node-resize/resize-direction.d.ts +16 -0
- package/f-draggable/providers.d.ts +1 -1
- package/f-draggable/single-select/single-select.execution.d.ts +54 -20
- package/f-draggable/single-select/single-select.request.d.ts +3 -1
- package/f-external-item/domain/external-item-preparation/external-item-preparation.execution.d.ts +7 -11
- package/f-external-item/domain/external-item-preparation/index.d.ts +0 -1
- package/f-external-item/domain/external-item-preparation/providers.d.ts +1 -2
- package/f-external-item/domain/external-item.drag-handler.d.ts +2 -3
- package/f-external-item/domain/providers.d.ts +1 -1
- package/f-minimap/domain/minimap-drag-finalize/index.d.ts +0 -1
- package/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.execution.d.ts +1 -0
- package/f-minimap/domain/minimap-drag-finalize/providers.d.ts +1 -2
- package/f-minimap/domain/minimap-drag-preparation/index.d.ts +0 -1
- package/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.execution.d.ts +1 -0
- package/f-minimap/domain/minimap-drag-preparation/providers.d.ts +1 -2
- package/f-minimap/domain/providers.d.ts +1 -1
- package/f-minimap/providers.d.ts +1 -1
- package/f-node/f-group.directive.d.ts +4 -0
- package/f-node/f-node-base.d.ts +3 -3
- package/f-node/f-node.directive.d.ts +4 -0
- package/f-node/f-resize-handle/e-f-resize-handle-type.d.ts +6 -2
- package/f-node/providers.d.ts +1 -1
- package/f-selection-area/domain/providers.d.ts +3 -1
- package/f-selection-area/domain/selection-area-finalize/index.d.ts +0 -2
- package/f-selection-area/domain/selection-area-finalize/selection-area-finalize.execution.d.ts +2 -3
- package/f-selection-area/domain/selection-area-preparation/index.d.ts +0 -2
- package/f-selection-area/domain/selection-area-preparation/selection-area-preparation.execution.d.ts +6 -8
- package/f-selection-area/domain/selection-area-preparation/selection-area-preparation.request.d.ts +3 -1
- package/f-selection-area/domain/selection-area.drag-handle.d.ts +7 -6
- package/f-selection-area/f-selection-area.component.d.ts +3 -1
- package/f-storage/f-components-store.d.ts +2 -0
- package/f-zoom/e-f-zoom-action.d.ts +4 -0
- package/f-zoom/e-f-zoom-direction.d.ts +4 -0
- package/f-zoom/f-zoom-base.d.ts +0 -17
- package/f-zoom/f-zoom.directive.d.ts +40 -5
- package/f-zoom/index.d.ts +2 -0
- package/fesm2022/foblex-flow.mjs +2232 -1991
- package/fesm2022/foblex-flow.mjs.map +1 -1
- package/mixins/change-selection/change-selection.d.ts +2 -2
- package/mixins/change-selection/i-selectable.d.ts +10 -0
- package/mixins/change-selection/index.d.ts +1 -1
- package/package.json +2 -2
- package/domain/f-connection/find-closest-input/find-closest-input.execution.d.ts +0 -11
- package/domain/f-connection/find-closest-input/find-closest-input.request.d.ts +0 -7
- package/domain/f-connection/find-closest-input/index.d.ts +0 -3
- package/domain/f-connection/get-all-can-be-connected-input-positions/get-all-can-be-connected-input-positions.execution.d.ts +0 -21
- package/domain/f-connection/get-all-can-be-connected-input-positions/get-all-can-be-connected-input-positions.request.d.ts +0 -4
- package/domain/f-connection/get-all-can-be-connected-input-positions/index.d.ts +0 -2
- package/domain/f-connection/get-connector-with-rect/get-connector-with-rect-request.d.ts +0 -5
- package/domain/f-connection/get-connector-with-rect/get-connector-with-rect.execution.d.ts +0 -10
- package/domain/f-connection/get-connector-with-rect/index.d.ts +0 -3
- package/domain/f-selection/get-can-be-selected-items/i-can-be-selected.d.ts +0 -6
- package/esm2022/domain/f-connection/find-closest-input/find-closest-input.execution.mjs +0 -42
- package/esm2022/domain/f-connection/find-closest-input/find-closest-input.request.mjs +0 -9
- package/esm2022/domain/f-connection/find-closest-input/i-closest-input.mjs +0 -2
- package/esm2022/domain/f-connection/find-closest-input/index.mjs +0 -4
- package/esm2022/domain/f-connection/get-all-can-be-connected-input-positions/get-all-can-be-connected-input-positions.execution.mjs +0 -57
- package/esm2022/domain/f-connection/get-all-can-be-connected-input-positions/get-all-can-be-connected-input-positions.request.mjs +0 -7
- package/esm2022/domain/f-connection/get-all-can-be-connected-input-positions/index.mjs +0 -3
- package/esm2022/domain/f-connection/get-connector-with-rect/get-connector-with-rect-request.mjs +0 -7
- package/esm2022/domain/f-connection/get-connector-with-rect/get-connector-with-rect.execution.mjs +0 -25
- package/esm2022/domain/f-connection/get-connector-with-rect/i-connector-with-rect.mjs +0 -2
- package/esm2022/domain/f-connection/get-connector-with-rect/index.mjs +0 -4
- package/esm2022/domain/f-selection/get-can-be-selected-items/i-can-be-selected.mjs +0 -2
- package/esm2022/f-connectors/domain/calculate-connector-connectable-side/calculate-connector-connectable-side-request.mjs +0 -9
- package/esm2022/f-connectors/domain/calculate-connector-connectable-side/calculate-connector-connectable-side.handler.mjs +0 -38
- package/esm2022/f-connectors/domain/calculate-connector-connectable-side/index.mjs +0 -3
- package/esm2022/f-connectors/domain/index.mjs +0 -2
- package/esm2022/f-draggable/canvas/canvas-move-finalize/providers.mjs +0 -5
- package/esm2022/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.validator.mjs +0 -46
- package/esm2022/f-draggable/canvas/canvas-move-preparation/providers.mjs +0 -7
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.execution.mjs +0 -47
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.request.mjs +0 -9
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/index.mjs +0 -3
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.validator.mjs +0 -36
- package/esm2022/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.validator.mjs +0 -28
- package/esm2022/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.execution.mjs +0 -88
- package/esm2022/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.request.mjs +0 -9
- package/esm2022/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.validator.mjs +0 -36
- package/esm2022/f-draggable/connections/get-input-under-pointer/index.mjs +0 -4
- package/esm2022/f-draggable/node/connection-base-drag-handler.mjs +0 -55
- package/esm2022/f-draggable/node/connection-source.drag-handler.mjs +0 -17
- package/esm2022/f-draggable/node/connection-target.drag-handler.mjs +0 -17
- package/esm2022/f-draggable/node/connection.drag-handler.mjs +0 -23
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-common-node-move-restrictions/calculate-common-node-move-restrictions.execution.mjs +0 -40
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-common-node-move-restrictions/calculate-common-node-move-restrictions.request.mjs +0 -7
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-common-node-move-restrictions/index.mjs +0 -3
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-node-move-restrictions/calculate-node-move-restrictions.execution.mjs +0 -42
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-node-move-restrictions/calculate-node-move-restrictions.request.mjs +0 -9
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-node-move-restrictions/index.mjs +0 -3
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/i-node-with-distance-restrictions.mjs +0 -2
- package/esm2022/f-draggable/node/node-drag-to-parent-preparation/node-drag-to-parent-preparation.validator.mjs +0 -26
- package/esm2022/f-draggable/node/node-drag-to-parent-preparation/providers.mjs +0 -7
- package/esm2022/f-draggable/node/node-resize-by-child.drag-handler.mjs +0 -16
- package/esm2022/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.validator.mjs +0 -44
- package/esm2022/f-draggable/node-resize/node-resize-preparation/providers.mjs +0 -7
- package/esm2022/f-external-item/domain/external-item-preparation/external-item-preparation.validator.mjs +0 -30
- package/esm2022/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.validator.mjs +0 -26
- package/esm2022/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.validator.mjs +0 -30
- package/esm2022/f-selection-area/domain/selection-area-finalize/providers.mjs +0 -7
- package/esm2022/f-selection-area/domain/selection-area-finalize/selection-area-finalize.validator.mjs +0 -26
- package/esm2022/f-selection-area/domain/selection-area-preparation/providers.mjs +0 -7
- package/esm2022/f-selection-area/domain/selection-area-preparation/selection-area-preparation.validator.mjs +0 -32
- package/esm2022/mixins/change-selection/i-can-change-selection.mjs +0 -2
- package/f-connectors/domain/calculate-connector-connectable-side/calculate-connector-connectable-side-request.d.ts +0 -6
- package/f-connectors/domain/calculate-connector-connectable-side/calculate-connector-connectable-side.handler.d.ts +0 -7
- package/f-connectors/domain/calculate-connector-connectable-side/index.d.ts +0 -2
- package/f-connectors/domain/index.d.ts +0 -1
- package/f-draggable/canvas/canvas-move-finalize/providers.d.ts +0 -2
- package/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.validator.d.ts +0 -17
- package/f-draggable/canvas/canvas-move-preparation/providers.d.ts +0 -3
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.execution.d.ts +0 -17
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.request.d.ts +0 -7
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/index.d.ts +0 -2
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.validator.d.ts +0 -14
- package/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.validator.d.ts +0 -12
- package/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.execution.d.ts +0 -27
- package/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.request.d.ts +0 -8
- package/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.validator.d.ts +0 -13
- package/f-draggable/connections/get-input-under-pointer/index.d.ts +0 -3
- package/f-draggable/node/connection-base-drag-handler.d.ts +0 -24
- package/f-draggable/node/connection-source.drag-handler.d.ts +0 -11
- package/f-draggable/node/connection-target.drag-handler.d.ts +0 -11
- package/f-draggable/node/connection.drag-handler.d.ts +0 -14
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-common-node-move-restrictions/calculate-common-node-move-restrictions.execution.d.ts +0 -13
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-common-node-move-restrictions/calculate-common-node-move-restrictions.request.d.ts +0 -5
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-common-node-move-restrictions/index.d.ts +0 -2
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-node-move-restrictions/calculate-node-move-restrictions.execution.d.ts +0 -12
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-node-move-restrictions/index.d.ts +0 -2
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/i-node-with-distance-restrictions.d.ts +0 -6
- package/f-draggable/node/node-drag-to-parent-preparation/node-drag-to-parent-preparation.validator.d.ts +0 -11
- package/f-draggable/node/node-drag-to-parent-preparation/providers.d.ts +0 -3
- package/f-draggable/node/node-resize-by-child.drag-handler.d.ts +0 -11
- package/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.validator.d.ts +0 -17
- package/f-draggable/node-resize/node-resize-preparation/providers.d.ts +0 -3
- package/f-external-item/domain/external-item-preparation/external-item-preparation.validator.d.ts +0 -12
- package/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.validator.d.ts +0 -11
- package/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.validator.d.ts +0 -13
- package/f-selection-area/domain/selection-area-finalize/providers.d.ts +0 -3
- package/f-selection-area/domain/selection-area-finalize/selection-area-finalize.validator.d.ts +0 -11
- package/f-selection-area/domain/selection-area-preparation/providers.d.ts +0 -3
- package/f-selection-area/domain/selection-area-preparation/selection-area-preparation.validator.d.ts +0 -13
- package/mixins/change-selection/i-can-change-selection.d.ts +0 -10
|
@@ -3,12 +3,12 @@ export function mixinChangeSelection(base) {
|
|
|
3
3
|
return class extends base {
|
|
4
4
|
fId = '';
|
|
5
5
|
fSelectionDisabled = false;
|
|
6
|
-
|
|
7
|
-
this.
|
|
6
|
+
unmarkAsSelected() {
|
|
7
|
+
this.unmarkChildrenAsSelected?.();
|
|
8
8
|
this.hostElement.classList.remove(F_SELECTED_CLASS);
|
|
9
9
|
}
|
|
10
|
-
|
|
11
|
-
this.
|
|
10
|
+
markAsSelected() {
|
|
11
|
+
this.markChildrenAsSelected?.();
|
|
12
12
|
if (!this.isSelected()) {
|
|
13
13
|
this.hostElement.classList.add(F_SELECTED_CLASS);
|
|
14
14
|
}
|
|
@@ -16,13 +16,13 @@ export function mixinChangeSelection(base) {
|
|
|
16
16
|
isSelected() {
|
|
17
17
|
return this.hostElement.classList.contains(F_SELECTED_CLASS);
|
|
18
18
|
}
|
|
19
|
-
|
|
19
|
+
markChildrenAsSelected() {
|
|
20
20
|
}
|
|
21
|
-
|
|
21
|
+
unmarkChildrenAsSelected() {
|
|
22
22
|
}
|
|
23
23
|
constructor(...args) {
|
|
24
24
|
super(...args);
|
|
25
25
|
}
|
|
26
26
|
};
|
|
27
27
|
}
|
|
28
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhbmdlLXNlbGVjdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvbWl4aW5zL2NoYW5nZS1zZWxlY3Rpb24vY2hhbmdlLXNlbGVjdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFJQSxNQUFNLENBQUMsTUFBTSxnQkFBZ0IsR0FBRyxZQUFZLENBQUM7QUFLN0MsTUFBTSxVQUFVLG9CQUFvQixDQUF5QyxJQUFPO0lBQ2xGLE9BQU8sS0FBTSxTQUFRLElBQUk7UUFFaEIsR0FBRyxHQUFXLEVBQUUsQ0FBQztRQUVqQixrQkFBa0IsR0FBWSxLQUFLLENBQUM7UUFFcEMsZ0JBQWdCO1lBQ3JCLElBQUksQ0FBQyx3QkFBd0IsRUFBRSxFQUFFLENBQUM7WUFDbEMsSUFBSSxDQUFDLFdBQVcsQ0FBQyxTQUFTLENBQUMsTUFBTSxDQUFDLGdCQUFnQixDQUFDLENBQUM7UUFDdEQsQ0FBQztRQUVNLGNBQWM7WUFDbkIsSUFBSSxDQUFDLHNCQUFzQixFQUFFLEVBQUUsQ0FBQztZQUNoQyxJQUFJLENBQUMsSUFBSSxDQUFDLFVBQVUsRUFBRSxFQUFFLENBQUM7Z0JBQ3ZCLElBQUksQ0FBQyxXQUFXLENBQUMsU0FBUyxDQUFDLEdBQUcsQ0FBQyxnQkFBZ0IsQ0FBQyxDQUFDO1lBQ25ELENBQUM7UUFDSCxDQUFDO1FBRU0sVUFBVTtZQUNmLE9BQU8sSUFBSSxDQUFDLFdBQVcsQ0FBQyxTQUFTLENBQUMsUUFBUSxDQUFDLGdCQUFnQixDQUFDLENBQUM7UUFDL0QsQ0FBQztRQUVNLHNCQUFzQjtRQUM3QixDQUFDO1FBRU0sd0JBQXdCO1FBQy9CLENBQUM7UUFFRCxZQUFZLEdBQUcsSUFBVztZQUN4QixLQUFLLENBQUMsR0FBRyxJQUFJLENBQUMsQ0FBQztRQUNqQixDQUFDO0tBQ0YsQ0FBQztBQUNKLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBBYnN0cmFjdENvbnN0cnVjdG9yLCBDb25zdHJ1Y3RvciB9IGZyb20gJy4uL2NvbnN0cnVjdG9yJztcbmltcG9ydCB7IElIYXNIb3N0RWxlbWVudCB9IGZyb20gJy4uLy4uL2ktaGFzLWhvc3QtZWxlbWVudCc7XG5pbXBvcnQgeyBJU2VsZWN0YWJsZSB9IGZyb20gJy4vaS1zZWxlY3RhYmxlJztcblxuZXhwb3J0IGNvbnN0IEZfU0VMRUNURURfQ0xBU1MgPSAnZi1zZWxlY3RlZCc7XG5cbnR5cGUgQ2FuQ2hhbmdlU2VsZWN0aW9uQ29uc3RydWN0b3IgPSBDb25zdHJ1Y3RvcjxJU2VsZWN0YWJsZT4gJiBBYnN0cmFjdENvbnN0cnVjdG9yPElTZWxlY3RhYmxlPjtcblxuZXhwb3J0IGZ1bmN0aW9uIG1peGluQ2hhbmdlU2VsZWN0aW9uPFQgZXh0ZW5kcyBBYnN0cmFjdENvbnN0cnVjdG9yPElIYXNIb3N0RWxlbWVudD4+KGJhc2U6IFQpOiBDYW5DaGFuZ2VTZWxlY3Rpb25Db25zdHJ1Y3RvciAmIFQ7XG5leHBvcnQgZnVuY3Rpb24gbWl4aW5DaGFuZ2VTZWxlY3Rpb248VCBleHRlbmRzIENvbnN0cnVjdG9yPElIYXNIb3N0RWxlbWVudD4+KGJhc2U6IFQpOiBDYW5DaGFuZ2VTZWxlY3Rpb25Db25zdHJ1Y3RvciAmIFQge1xuICByZXR1cm4gY2xhc3MgZXh0ZW5kcyBiYXNlIHtcblxuICAgIHB1YmxpYyBmSWQ6IHN0cmluZyA9ICcnO1xuXG4gICAgcHVibGljIGZTZWxlY3Rpb25EaXNhYmxlZDogYm9vbGVhbiA9IGZhbHNlO1xuXG4gICAgcHVibGljIHVubWFya0FzU2VsZWN0ZWQoKTogdm9pZCB7XG4gICAgICB0aGlzLnVubWFya0NoaWxkcmVuQXNTZWxlY3RlZD8uKCk7XG4gICAgICB0aGlzLmhvc3RFbGVtZW50LmNsYXNzTGlzdC5yZW1vdmUoRl9TRUxFQ1RFRF9DTEFTUyk7XG4gICAgfVxuXG4gICAgcHVibGljIG1hcmtBc1NlbGVjdGVkKCk6IHZvaWQge1xuICAgICAgdGhpcy5tYXJrQ2hpbGRyZW5Bc1NlbGVjdGVkPy4oKTtcbiAgICAgIGlmICghdGhpcy5pc1NlbGVjdGVkKCkpIHtcbiAgICAgICAgdGhpcy5ob3N0RWxlbWVudC5jbGFzc0xpc3QuYWRkKEZfU0VMRUNURURfQ0xBU1MpO1xuICAgICAgfVxuICAgIH1cblxuICAgIHB1YmxpYyBpc1NlbGVjdGVkKCk6IGJvb2xlYW4ge1xuICAgICAgcmV0dXJuIHRoaXMuaG9zdEVsZW1lbnQuY2xhc3NMaXN0LmNvbnRhaW5zKEZfU0VMRUNURURfQ0xBU1MpO1xuICAgIH1cblxuICAgIHB1YmxpYyBtYXJrQ2hpbGRyZW5Bc1NlbGVjdGVkKCk6IHZvaWQge1xuICAgIH1cblxuICAgIHB1YmxpYyB1bm1hcmtDaGlsZHJlbkFzU2VsZWN0ZWQoKTogdm9pZCB7XG4gICAgfVxuXG4gICAgY29uc3RydWN0b3IoLi4uYXJnczogYW55W10pIHtcbiAgICAgIHN1cGVyKC4uLmFyZ3MpO1xuICAgIH1cbiAgfTtcbn1cbiJdfQ==
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1zZWxlY3RhYmxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9taXhpbnMvY2hhbmdlLXNlbGVjdGlvbi9pLXNlbGVjdGFibGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgSVNlbGVjdGFibGUge1xuXG4gIGZJZDogc3RyaW5nO1xuXG4gIGZTZWxlY3Rpb25EaXNhYmxlZDogYm9vbGVhbjtcblxuICBob3N0RWxlbWVudDogSFRNTEVsZW1lbnQgfCBTVkdFbGVtZW50O1xuXG4gIG1hcmtBc1NlbGVjdGVkKCk6IHZvaWQ7XG5cbiAgdW5tYXJrQXNTZWxlY3RlZCgpOiB2b2lkO1xuXG4gIGlzU2VsZWN0ZWQoKTogYm9vbGVhbjtcblxuICBtYXJrQ2hpbGRyZW5Bc1NlbGVjdGVkPygpOiB2b2lkO1xuXG4gIHVubWFya0NoaWxkcmVuQXNTZWxlY3RlZD8oKTogdm9pZDtcbn1cbiJdfQ==
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export * from './change-selection';
|
|
2
|
-
export * from './i-
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
2
|
+
export * from './i-selectable';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL21peGlucy9jaGFuZ2Utc2VsZWN0aW9uL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsb0JBQW9CLENBQUM7QUFFbkMsY0FBYyxnQkFBZ0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vY2hhbmdlLXNlbGVjdGlvbic7XG5cbmV4cG9ydCAqIGZyb20gJy4vaS1zZWxlY3RhYmxlJztcbiJdfQ==
|
|
@@ -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 FBackgroundComponent | typeof
|
|
4
|
+
export declare const F_BACKGROUND_PROVIDERS: (typeof FBackgroundComponent | typeof FRectPatternComponent | typeof FCirclePatternComponent)[];
|
|
@@ -15,8 +15,8 @@ export declare abstract class FCanvasBase implements IHasHostElement {
|
|
|
15
15
|
abstract redrawWithAnimation(): void;
|
|
16
16
|
getPosition(): IPoint;
|
|
17
17
|
setPosition(position: IPoint): void;
|
|
18
|
-
abstract
|
|
19
|
-
abstract
|
|
18
|
+
abstract setScale(scale: number, toPosition: IPoint): void;
|
|
19
|
+
abstract resetScale(): void;
|
|
20
20
|
emitCanvasChangeEvent(): void;
|
|
21
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<FCanvasBase, never>;
|
|
22
22
|
static ɵdir: i0.ɵɵDirectiveDeclaration<FCanvasBase, never, never, {}, {}, never, never, false, never>;
|
|
@@ -19,8 +19,17 @@ export declare class FCanvasComponent extends FCanvasBase implements OnInit, OnD
|
|
|
19
19
|
centerGroupOrNode(id: string, animated?: boolean): void;
|
|
20
20
|
fitToScreen(toCenter?: IPoint, animated?: boolean): void;
|
|
21
21
|
resetScaleAndCenter(animated?: boolean): void;
|
|
22
|
+
getScale(): number;
|
|
23
|
+
/**
|
|
24
|
+
* @deprecated Method "setZoom" is deprecated. Use "setScale" instead. This method will be removed in version 18.0.0.`,
|
|
25
|
+
*/
|
|
22
26
|
setZoom(scale: number, toPosition?: IPoint): void;
|
|
27
|
+
setScale(scale: number, toPosition?: IPoint): void;
|
|
28
|
+
/**
|
|
29
|
+
* @deprecated Method "resetZoom" is deprecated. Use "resetScale" instead. This method will be removed in version 18.0.0.`,
|
|
30
|
+
*/
|
|
23
31
|
resetZoom(): void;
|
|
32
|
+
resetScale(): void;
|
|
24
33
|
ngOnDestroy(): void;
|
|
25
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<FCanvasComponent, never>;
|
|
26
35
|
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>;
|
|
@@ -13,14 +13,14 @@ import { IConnectionText } from './f-connection-text';
|
|
|
13
13
|
import { EFConnectableSide } from '../../f-connectors';
|
|
14
14
|
import { FConnectionFactory } from '../f-connection-builder';
|
|
15
15
|
import { IHasHostElement } from '../../i-has-host-element';
|
|
16
|
-
import {
|
|
16
|
+
import { ISelectable, ICanChangeVisibility } from '../../mixins';
|
|
17
17
|
import * as i0 from "@angular/core";
|
|
18
|
-
declare const MIXIN_BASE: import("../../mixins").Constructor<
|
|
18
|
+
declare const MIXIN_BASE: import("../../mixins").Constructor<ISelectable> & import("../../mixins").AbstractConstructor<ISelectable> & import("../../mixins").Constructor<ICanChangeVisibility> & import("../../mixins").AbstractConstructor<ICanChangeVisibility> & {
|
|
19
19
|
new (hostElement: HTMLElement): {
|
|
20
20
|
hostElement: HTMLElement;
|
|
21
21
|
};
|
|
22
22
|
};
|
|
23
|
-
export declare abstract class FConnectionBase extends MIXIN_BASE implements IHasHostElement,
|
|
23
|
+
export declare abstract class FConnectionBase extends MIXIN_BASE implements IHasHostElement, ISelectable, ICanChangeVisibility, IHasConnectionColor, IHasConnectionFromTo, IHasConnectionText {
|
|
24
24
|
private cFactory;
|
|
25
25
|
abstract fId: string;
|
|
26
26
|
abstract fStartColor: string;
|
|
@@ -52,8 +52,8 @@ export declare abstract class FConnectionBase extends MIXIN_BASE implements IHas
|
|
|
52
52
|
setLine(source: IPoint, sourceSide: EFConnectableSide, target: IPoint, targetSide: EFConnectableSide): void;
|
|
53
53
|
private getPathResult;
|
|
54
54
|
private getTransform;
|
|
55
|
-
|
|
56
|
-
|
|
55
|
+
markChildrenAsSelected(): void;
|
|
56
|
+
unmarkChildrenAsSelected(): void;
|
|
57
57
|
redraw(): void;
|
|
58
58
|
static ɵfac: i0.ɵɵFactoryDeclaration<FConnectionBase, never>;
|
|
59
59
|
static ɵdir: i0.ɵɵDirectiveDeclaration<FConnectionBase, never, never, {}, {}, never, never, false, never>;
|
|
@@ -15,6 +15,7 @@ export declare class FConnectionTextPathDirective implements IHasHostElement, On
|
|
|
15
15
|
constructor(elementReference: ElementRef<SVGTextPathElement>, base: IHasConnectionText & IHasConnectionFromTo, fBrowser: BrowserService);
|
|
16
16
|
ngOnInit(): void;
|
|
17
17
|
getBBox(): DOMRect;
|
|
18
|
+
redraw(): void;
|
|
18
19
|
private getFontStyles;
|
|
19
20
|
private getSymbolWidth;
|
|
20
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<FConnectionTextPathDirective, never>;
|
|
@@ -36,6 +36,8 @@ export declare class FConnectionComponent extends FConnectionBase implements OnI
|
|
|
36
36
|
ngOnDestroy(): void;
|
|
37
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<FConnectionComponent, never>;
|
|
38
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_fRadius: unknown;
|
|
40
|
+
static ngAcceptInputType_fOffset: unknown;
|
|
39
41
|
static ngAcceptInputType_fBehavior: unknown;
|
|
40
42
|
static ngAcceptInputType_fDraggingDisabled: unknown;
|
|
41
43
|
static ngAcceptInputType_fSelectionDisabled: unknown;
|
|
@@ -37,5 +37,7 @@ export declare class FConnectionForCreateComponent extends FConnectionBase imple
|
|
|
37
37
|
ngOnDestroy(): void;
|
|
38
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<FConnectionForCreateComponent, never>;
|
|
39
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_fRadius: unknown;
|
|
41
|
+
static ngAcceptInputType_fOffset: unknown;
|
|
40
42
|
static ngAcceptInputType_fBehavior: unknown;
|
|
41
43
|
}
|
|
@@ -38,5 +38,8 @@ export declare class FSnapConnectionComponent extends FConnectionBase implements
|
|
|
38
38
|
ngOnDestroy(): void;
|
|
39
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<FSnapConnectionComponent, never>;
|
|
40
40
|
static ɵcmp: i0.ɵɵComponentDeclaration<FSnapConnectionComponent, "f-snap-connection", never, { "fStartColor": { "alias": "fStartColor"; "required": false; }; "fEndColor": { "alias": "fEndColor"; "required": false; }; "fSnapThreshold": { "alias": "fSnapThreshold"; "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>;
|
|
41
|
+
static ngAcceptInputType_fSnapThreshold: unknown;
|
|
42
|
+
static ngAcceptInputType_fRadius: unknown;
|
|
43
|
+
static ngAcceptInputType_fOffset: unknown;
|
|
41
44
|
static ngAcceptInputType_fBehavior: unknown;
|
|
42
45
|
}
|
|
@@ -4,4 +4,4 @@ import { FConnectionCenterDirective } from './f-connection-center';
|
|
|
4
4
|
import { FConnectionForCreateComponent } from './f-connection-for-create';
|
|
5
5
|
import { FMarkerDirective } from './f-marker';
|
|
6
6
|
import { FSnapConnectionComponent } from './f-snap-connection';
|
|
7
|
-
export declare const F_CONNECTION_PROVIDERS: (typeof
|
|
7
|
+
export declare const F_CONNECTION_PROVIDERS: (typeof FConnectionTextPathDirective | typeof FConnectionTextComponent | typeof FSnapConnectionComponent | typeof FConnectionDragHandleComponent | typeof FConnectionSelectionComponent | typeof FConnectionCenterDirective | typeof FConnectionComponent | typeof FConnectionForCreateComponent | typeof FMarkerDirective | typeof FConnectionGradientComponent | typeof FConnectionPathComponent)[];
|
|
@@ -2,15 +2,17 @@ import { EFConnectableSide } from './e-f-connectable-side';
|
|
|
2
2
|
import { IHasHostElement } from '../i-has-host-element';
|
|
3
3
|
export declare abstract class FConnectorBase implements IHasHostElement {
|
|
4
4
|
abstract fId: string;
|
|
5
|
+
abstract fNodeId: string;
|
|
5
6
|
abstract disabled: boolean;
|
|
6
7
|
abstract hostElement: HTMLElement | SVGElement;
|
|
7
8
|
abstract canBeConnected: boolean;
|
|
8
9
|
private _isConnected;
|
|
9
10
|
get isConnected(): boolean;
|
|
10
|
-
toConnector: FConnectorBase
|
|
11
|
+
toConnector: FConnectorBase[];
|
|
11
12
|
isSelfConnectable: boolean;
|
|
12
13
|
fConnectableSide: EFConnectableSide;
|
|
13
14
|
userFConnectableSide: EFConnectableSide;
|
|
14
15
|
isContains(element: HTMLElement | SVGElement): boolean;
|
|
15
|
-
setConnected(
|
|
16
|
+
setConnected(toConnector: FConnectorBase): void;
|
|
17
|
+
resetConnected(): void;
|
|
16
18
|
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { FNodeInputBase } from './f-node-input-base';
|
|
3
3
|
import { EFConnectableSide } from '../e-f-connectable-side';
|
|
4
|
-
import { FNodeBase } from '../../f-node';
|
|
5
4
|
import { FConnectorBase } from '../f-connector-base';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
6
|
export declare class FNodeInputDirective extends FNodeInputBase implements OnInit, OnChanges, OnDestroy {
|
|
8
|
-
private
|
|
7
|
+
private _elementReference;
|
|
8
|
+
private _fMediator;
|
|
9
|
+
private _fNode;
|
|
9
10
|
fId: any;
|
|
10
11
|
multiple: boolean;
|
|
11
12
|
disabled: boolean;
|
|
12
13
|
userFConnectableSide: EFConnectableSide;
|
|
14
|
+
get fNodeId(): string;
|
|
13
15
|
get hostElement(): HTMLElement | SVGElement;
|
|
14
|
-
private _elementReference;
|
|
15
|
-
private _fMediator;
|
|
16
|
-
constructor(fNode: FNodeBase);
|
|
17
16
|
ngOnInit(): void;
|
|
18
17
|
ngOnChanges(changes: SimpleChanges): void;
|
|
19
|
-
setConnected(
|
|
18
|
+
setConnected(toConnector: FConnectorBase): void;
|
|
19
|
+
resetConnected(): void;
|
|
20
20
|
ngOnDestroy(): void;
|
|
21
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<FNodeInputDirective, never>;
|
|
22
22
|
static ɵdir: i0.ɵɵDirectiveDeclaration<FNodeInputDirective, "[fNodeInput]", ["fNodeInput"], { "fId": { "alias": "fInputId"; "required": false; }; "multiple": { "alias": "fInputMultiple"; "required": false; }; "disabled": { "alias": "fInputDisabled"; "required": false; }; "userFConnectableSide": { "alias": "fInputConnectableSide"; "required": false; }; }, {}, never, never, false, never>;
|
|
@@ -6,6 +6,7 @@ export declare abstract class FNodeOutletBase extends FConnectorBase {
|
|
|
6
6
|
abstract isConnectionFromOutlet: boolean;
|
|
7
7
|
private outputs;
|
|
8
8
|
get canBeConnected(): boolean;
|
|
9
|
+
abstract canBeConnectedInputs: string[];
|
|
9
10
|
setOutputs(outputs: FConnectorBase[]): void;
|
|
10
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<FNodeOutletBase, never>;
|
|
11
12
|
static ɵdir: i0.ɵɵDirectiveDeclaration<FNodeOutletBase, never, never, {}, {}, never, never, false, never>;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { FNodeOutletBase } from './f-node-outlet-base';
|
|
3
|
-
import { FNodeBase } from '../../f-node';
|
|
4
3
|
import { EFConnectableSide } from '../e-f-connectable-side';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
export declare class FNodeOutletDirective extends FNodeOutletBase implements OnInit, OnDestroy {
|
|
7
|
-
private
|
|
6
|
+
private _elementReference;
|
|
7
|
+
private _fMediator;
|
|
8
|
+
private _fNode;
|
|
8
9
|
fId: string;
|
|
9
10
|
disabled: boolean;
|
|
10
11
|
fConnectableSide: EFConnectableSide;
|
|
11
12
|
userFConnectableSide: EFConnectableSide;
|
|
12
13
|
isConnectionFromOutlet: boolean;
|
|
14
|
+
canBeConnectedInputs: string[];
|
|
15
|
+
get fNodeId(): string;
|
|
13
16
|
get hostElement(): HTMLElement | SVGElement;
|
|
14
|
-
private _elementReference;
|
|
15
|
-
private _fMediator;
|
|
16
|
-
constructor(fNode: FNodeBase);
|
|
17
17
|
ngOnInit(): void;
|
|
18
18
|
ngOnDestroy(): void;
|
|
19
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<FNodeOutletDirective, never>;
|
|
20
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FNodeOutletDirective, "[fNodeOutlet]", ["fNodeOutlet"], { "fId": { "alias": "fOutletId"; "required": false; }; "disabled": { "alias": "fOutletDisabled"; "required": false; }; "isConnectionFromOutlet": { "alias": "isConnectionFromOutlet"; "required": false; }; }, {}, never, never, false, never>;
|
|
20
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FNodeOutletDirective, "[fNodeOutlet]", ["fNodeOutlet"], { "fId": { "alias": "fOutletId"; "required": false; }; "disabled": { "alias": "fOutletDisabled"; "required": false; }; "isConnectionFromOutlet": { "alias": "isConnectionFromOutlet"; "required": false; }; "canBeConnectedInputs": { "alias": "fCanBeConnectedInputs"; "required": false; }; }, {}, never, never, false, never>;
|
|
21
21
|
static ngAcceptInputType_disabled: unknown;
|
|
22
22
|
}
|
|
@@ -5,6 +5,7 @@ export declare const F_NODE_OUTPUT: InjectionToken<FNodeOutputBase>;
|
|
|
5
5
|
export declare abstract class FNodeOutputBase extends FConnectorBase {
|
|
6
6
|
abstract multiple: boolean;
|
|
7
7
|
get canBeConnected(): boolean;
|
|
8
|
+
abstract canBeConnectedInputs: string[];
|
|
8
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<FNodeOutputBase, never>;
|
|
9
10
|
static ɵdir: i0.ɵɵDirectiveDeclaration<FNodeOutputBase, never, never, {}, {}, never, never, false, never>;
|
|
10
11
|
}
|
|
@@ -1,26 +1,27 @@
|
|
|
1
1
|
import { OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { FNodeOutputBase } from './f-node-output-base';
|
|
3
3
|
import { EFConnectableSide } from '../e-f-connectable-side';
|
|
4
|
-
import { FNodeBase } from '../../f-node';
|
|
5
4
|
import { FConnectorBase } from '../f-connector-base';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
6
|
export declare class FNodeOutputDirective extends FNodeOutputBase implements OnInit, OnChanges, OnDestroy {
|
|
8
|
-
private
|
|
7
|
+
private _elementReference;
|
|
8
|
+
private _fMediator;
|
|
9
|
+
private _fNode;
|
|
9
10
|
fId: string;
|
|
10
11
|
multiple: boolean;
|
|
11
12
|
disabled: boolean;
|
|
12
13
|
userFConnectableSide: EFConnectableSide;
|
|
13
14
|
isSelfConnectable: boolean;
|
|
15
|
+
canBeConnectedInputs: string[];
|
|
16
|
+
get fNodeId(): string;
|
|
14
17
|
get hostElement(): HTMLElement | SVGElement;
|
|
15
|
-
private _elementReference;
|
|
16
|
-
private _fMediator;
|
|
17
|
-
constructor(fNode: FNodeBase);
|
|
18
18
|
ngOnInit(): void;
|
|
19
19
|
ngOnChanges(changes: SimpleChanges): void;
|
|
20
|
-
setConnected(
|
|
20
|
+
setConnected(toConnector: FConnectorBase): void;
|
|
21
|
+
resetConnected(): void;
|
|
21
22
|
ngOnDestroy(): void;
|
|
22
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<FNodeOutputDirective, never>;
|
|
23
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FNodeOutputDirective, "[fNodeOutput]", ["fNodeOutput"], { "fId": { "alias": "fOutputId"; "required": false; }; "multiple": { "alias": "fOutputMultiple"; "required": false; }; "disabled": { "alias": "fOutputDisabled"; "required": false; }; "userFConnectableSide": { "alias": "fOutputConnectableSide"; "required": false; }; "isSelfConnectable": { "alias": "isSelfConnectable"; "required": false; }; }, {}, never, never, false, never>;
|
|
24
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FNodeOutputDirective, "[fNodeOutput]", ["fNodeOutput"], { "fId": { "alias": "fOutputId"; "required": false; }; "multiple": { "alias": "fOutputMultiple"; "required": false; }; "disabled": { "alias": "fOutputDisabled"; "required": false; }; "userFConnectableSide": { "alias": "fOutputConnectableSide"; "required": false; }; "isSelfConnectable": { "alias": "isSelfConnectable"; "required": false; }; "canBeConnectedInputs": { "alias": "fCanBeConnectedInputs"; "required": false; }; }, {}, never, never, false, never>;
|
|
24
25
|
static ngAcceptInputType_disabled: unknown;
|
|
25
26
|
static ngAcceptInputType_userFConnectableSide: unknown;
|
|
26
27
|
}
|
package/f-connectors/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { FNodeInputDirective } from './f-node-input';
|
|
2
2
|
import { FNodeOutletDirective } from './f-node-outlet';
|
|
3
3
|
import { FNodeOutputDirective } from './f-node-output';
|
|
4
|
-
export declare const F_CONNECTORS_PROVIDERS: (typeof
|
|
4
|
+
export declare const F_CONNECTORS_PROVIDERS: (typeof FNodeInputDirective | typeof FNodeOutletDirective | typeof FNodeOutputDirective)[];
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { CanvasMoveFinalizeRequest } from './canvas-move-finalize.request';
|
|
2
2
|
import { IExecution } from '@foblex/mediator';
|
|
3
|
-
import { FDraggableDataContext } from '../../f-draggable-data-context';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class CanvasMoveFinalizeExecution implements IExecution<CanvasMoveFinalizeRequest, void> {
|
|
6
|
-
private
|
|
7
|
-
constructor(fDraggableDataContext: FDraggableDataContext);
|
|
5
|
+
private _fDraggableDataContext;
|
|
8
6
|
handle(request: CanvasMoveFinalizeRequest): void;
|
|
9
7
|
private _isValid;
|
|
10
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<CanvasMoveFinalizeExecution, never>;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { CanvasMovePreparationRequest } from './canvas-move-preparation.request';
|
|
2
2
|
import { IExecution } from '@foblex/mediator';
|
|
3
|
-
import { FComponentsStore } from '../../../f-storage';
|
|
4
|
-
import { FDraggableDataContext } from '../../f-draggable-data-context';
|
|
5
3
|
import * as i0 from "@angular/core";
|
|
6
4
|
export declare class CanvasMovePreparationExecution implements IExecution<CanvasMovePreparationRequest, void> {
|
|
7
|
-
private
|
|
8
|
-
private
|
|
9
|
-
private get
|
|
10
|
-
constructor(fComponentsStore: FComponentsStore, fDraggableDataContext: FDraggableDataContext);
|
|
5
|
+
private _fComponentsStore;
|
|
6
|
+
private _fDraggableDataContext;
|
|
7
|
+
private get _fHost();
|
|
11
8
|
handle(request: CanvasMovePreparationRequest): void;
|
|
9
|
+
private _isValid;
|
|
10
|
+
private _isBackgroundElement;
|
|
11
|
+
private _isDragOnHost;
|
|
12
|
+
private _getNode;
|
|
12
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<CanvasMovePreparationExecution, never>;
|
|
13
14
|
static ɵprov: i0.ɵɵInjectableDeclaration<CanvasMovePreparationExecution>;
|
|
14
15
|
}
|
|
@@ -2,9 +2,9 @@ import { IPoint } from '@foblex/2d';
|
|
|
2
2
|
import { IDraggableItem } from '../i-draggable-item';
|
|
3
3
|
import { FComponentsStore } from '../../f-storage';
|
|
4
4
|
export declare class CanvasDragHandler implements IDraggableItem {
|
|
5
|
-
private
|
|
5
|
+
private _fComponentsStore;
|
|
6
6
|
private onPointerDownPosition;
|
|
7
|
-
constructor(
|
|
7
|
+
constructor(_fComponentsStore: FComponentsStore);
|
|
8
8
|
prepareDragSequence(): void;
|
|
9
9
|
onPointerMove(difference: IPoint): void;
|
|
10
10
|
onPointerUp(): void;
|
|
@@ -1 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import { CanvasMovePreparationExecution } from './canvas-move-preparation';
|
|
2
|
+
import { CanvasMoveFinalizeExecution } from './canvas-move-finalize';
|
|
3
|
+
export declare const CANVAS_PROVIDERS: (typeof CanvasMoveFinalizeExecution | typeof CanvasMovePreparationExecution)[];
|
|
@@ -8,7 +8,7 @@ export declare class CreateConnectionFinalizeExecution implements IHandler<Creat
|
|
|
8
8
|
private fComponentsStore;
|
|
9
9
|
private fDraggableDataContext;
|
|
10
10
|
private fMediator;
|
|
11
|
-
private get
|
|
11
|
+
private get _fDragHandler();
|
|
12
12
|
constructor(fComponentsStore: FComponentsStore, fDraggableDataContext: FDraggableDataContext, fMediator: FMediator);
|
|
13
13
|
handle(request: CreateConnectionFinalizeRequest): void;
|
|
14
14
|
private _isValid;
|
|
@@ -16,7 +16,8 @@ export declare class CreateConnectionFinalizeExecution implements IHandler<Creat
|
|
|
16
16
|
private getOutput;
|
|
17
17
|
private getOutlet;
|
|
18
18
|
private emitEvent;
|
|
19
|
-
private
|
|
19
|
+
private _getInputUnderPointer;
|
|
20
|
+
private _getDragHandlerData;
|
|
20
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<CreateConnectionFinalizeExecution, never>;
|
|
21
22
|
static ɵprov: i0.ɵɵInjectableDeclaration<CreateConnectionFinalizeExecution>;
|
|
22
23
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IHandler } from '@foblex/mediator';
|
|
2
|
+
import { CreateConnectionDragHandlerPreparationRequest } from './create-connection-drag-handler-preparation.request';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CreateConnectionDragHandlerPreparationExecution implements IHandler<CreateConnectionDragHandlerPreparationRequest, void> {
|
|
5
|
+
private _fComponentsStore;
|
|
6
|
+
private _fDraggableDataContext;
|
|
7
|
+
private get _fHost();
|
|
8
|
+
private get _transform();
|
|
9
|
+
handle(request: CreateConnectionDragHandlerPreparationRequest): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CreateConnectionDragHandlerPreparationExecution, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CreateConnectionDragHandlerPreparationExecution>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IPoint } from '@foblex/2d';
|
|
2
|
+
import { FNodeOutletBase, FNodeOutputBase } from '../../../../../f-connectors';
|
|
3
|
+
export declare class CreateConnectionDragHandlerPreparationRequest {
|
|
4
|
+
onPointerDownPosition: IPoint;
|
|
5
|
+
fOutputOrOutlet: FNodeOutputBase | FNodeOutletBase;
|
|
6
|
+
constructor(onPointerDownPosition: IPoint, fOutputOrOutlet: FNodeOutputBase | FNodeOutletBase);
|
|
7
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { IHandler } from '@foblex/mediator';
|
|
2
2
|
import { CreateConnectionFromOutletPreparationRequest } from './create-connection-from-outlet-preparation.request';
|
|
3
|
-
import { FComponentsStore } from '../../../../../f-storage';
|
|
4
|
-
import { FMediator } from '@foblex/mediator';
|
|
5
3
|
import * as i0 from "@angular/core";
|
|
6
4
|
export declare class CreateConnectionFromOutletPreparationExecution implements IHandler<CreateConnectionFromOutletPreparationRequest, void> {
|
|
7
|
-
private
|
|
8
|
-
private
|
|
9
|
-
constructor(fComponentsStore: FComponentsStore, fMediator: FMediator);
|
|
5
|
+
private _fMediator;
|
|
6
|
+
private _fComponentsStore;
|
|
10
7
|
handle(request: CreateConnectionFromOutletPreparationRequest): void;
|
|
11
|
-
private
|
|
8
|
+
private _getNodeOutlet;
|
|
9
|
+
private _getNodeOutputs;
|
|
10
|
+
private _createDragHandler;
|
|
11
|
+
private _getConnectableOutput;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<CreateConnectionFromOutletPreparationExecution, never>;
|
|
13
13
|
static ɵprov: i0.ɵɵInjectableDeclaration<CreateConnectionFromOutletPreparationExecution>;
|
|
14
14
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { IPointerEvent } from '@foblex/drag-toolkit';
|
|
2
|
+
import { FNodeBase } from '../../../../../f-node';
|
|
2
3
|
export declare class CreateConnectionFromOutletPreparationRequest {
|
|
3
4
|
event: IPointerEvent;
|
|
4
|
-
|
|
5
|
+
fNode: FNodeBase;
|
|
6
|
+
constructor(event: IPointerEvent, fNode: FNodeBase);
|
|
5
7
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { IHandler } from '@foblex/mediator';
|
|
2
2
|
import { CreateConnectionFromOutputPreparationRequest } from './create-connection-from-output-preparation.request';
|
|
3
|
-
import { FComponentsStore } from '../../../../../f-storage';
|
|
4
|
-
import { FMediator } from '@foblex/mediator';
|
|
5
3
|
import * as i0 from "@angular/core";
|
|
6
4
|
export declare class CreateConnectionFromOutputPreparationExecution implements IHandler<CreateConnectionFromOutputPreparationRequest, void> {
|
|
7
|
-
private
|
|
8
|
-
private
|
|
9
|
-
constructor(fComponentsStore: FComponentsStore, fMediator: FMediator);
|
|
5
|
+
private _fMediator;
|
|
6
|
+
private _fComponentsStore;
|
|
10
7
|
handle(request: CreateConnectionFromOutputPreparationRequest): void;
|
|
11
|
-
private
|
|
8
|
+
private _isValid;
|
|
9
|
+
private _isNodeOutput;
|
|
10
|
+
private _getNodeOutlets;
|
|
11
|
+
private _getOutput;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<CreateConnectionFromOutputPreparationExecution, never>;
|
|
13
13
|
static ɵprov: i0.ɵɵInjectableDeclaration<CreateConnectionFromOutputPreparationExecution>;
|
|
14
14
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { IPointerEvent } from '@foblex/drag-toolkit';
|
|
2
|
+
import { FNodeBase } from '../../../../../f-node';
|
|
2
3
|
export declare class CreateConnectionFromOutputPreparationRequest {
|
|
3
4
|
event: IPointerEvent;
|
|
4
|
-
|
|
5
|
+
fNode: FNodeBase;
|
|
6
|
+
constructor(event: IPointerEvent, fNode: FNodeBase);
|
|
5
7
|
}
|
|
@@ -5,12 +5,11 @@ export declare class CreateConnectionPreparationExecution implements IHandler<Cr
|
|
|
5
5
|
private _fMediator;
|
|
6
6
|
private _fComponentsStore;
|
|
7
7
|
private _fDraggableDataContext;
|
|
8
|
+
private _fNode;
|
|
8
9
|
handle(request: CreateConnectionPreparationRequest): void;
|
|
9
10
|
private _isValid;
|
|
10
11
|
private _getNode;
|
|
11
12
|
private _isValidConditions;
|
|
12
|
-
private isNodeOutput;
|
|
13
|
-
private getOutlets;
|
|
14
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<CreateConnectionPreparationExecution, never>;
|
|
15
14
|
static ɵprov: i0.ɵɵInjectableDeclaration<CreateConnectionPreparationExecution>;
|
|
16
15
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { IPointerEvent } from '@foblex/drag-toolkit';
|
|
2
|
+
import { FEventTrigger } from '../../../../domain';
|
|
2
3
|
export declare class CreateConnectionPreparationRequest {
|
|
3
4
|
event: IPointerEvent;
|
|
4
|
-
|
|
5
|
+
fTrigger: FEventTrigger;
|
|
6
|
+
constructor(event: IPointerEvent, fTrigger: FEventTrigger);
|
|
5
7
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './create-connection-drag-handler';
|
|
1
|
+
export * from './create-connection-drag-handler-preparation';
|
|
2
2
|
export * from './create-connection-from-outlet-preparation';
|
|
3
3
|
export * from './create-connection-from-output-preparation';
|
|
4
4
|
export * from './create-connection-preparation.execution';
|
|
@@ -1,29 +1,26 @@
|
|
|
1
1
|
import { IDraggableItem } from '../../i-draggable-item';
|
|
2
|
-
import {
|
|
3
|
-
import { FConnectionBase } from '../../../f-connection';
|
|
4
|
-
import { FConnectorBase } from '../../../f-connectors';
|
|
5
|
-
import { FMediator } from '@foblex/mediator';
|
|
2
|
+
import { FNodeOutletBase, FNodeOutputBase } from '../../../f-connectors';
|
|
6
3
|
import { IPoint } from '@foblex/2d';
|
|
7
|
-
import {
|
|
8
|
-
export declare class CreateConnectionDragHandler implements IDraggableItem {
|
|
9
|
-
private
|
|
10
|
-
private
|
|
11
|
-
private
|
|
12
|
-
private
|
|
13
|
-
private
|
|
14
|
-
get
|
|
15
|
-
private
|
|
16
|
-
private
|
|
17
|
-
|
|
18
|
-
constructor(fMediator: FMediator, fComponentsStore: FComponentsStore, fOutput: FConnectorBase, onPointerDownPosition: IPoint);
|
|
4
|
+
import { ICreateReassignConnectionDragData } from '../i-create-reassign-connection-drag-data';
|
|
5
|
+
export declare class CreateConnectionDragHandler implements IDraggableItem<ICreateReassignConnectionDragData> {
|
|
6
|
+
private _fOutputOrOutlet;
|
|
7
|
+
private _fMediator;
|
|
8
|
+
private _fComponentsStore;
|
|
9
|
+
private readonly _toConnectorRect;
|
|
10
|
+
private get _fConnection();
|
|
11
|
+
private get _fSnapConnection();
|
|
12
|
+
private _fOutputWithRect;
|
|
13
|
+
private _canBeConnectedInputs;
|
|
14
|
+
constructor(_fOutputOrOutlet: FNodeOutputBase | FNodeOutletBase, _onPointerDownPosition: IPoint);
|
|
19
15
|
prepareDragSequence(): void;
|
|
16
|
+
private _getAndMarkCanBeConnectedInputs;
|
|
20
17
|
private _initializeSnapConnection;
|
|
21
18
|
private _initializeConnectionForCreate;
|
|
22
19
|
onPointerMove(difference: IPoint): void;
|
|
23
20
|
private _drawConnectionForCreate;
|
|
24
21
|
private _drawSnapConnection;
|
|
25
|
-
getClosetInput(difference: IPoint): IClosestInput | undefined;
|
|
26
22
|
private _findClosestInput;
|
|
27
23
|
private _getClosestInputForSnapConnection;
|
|
28
24
|
onPointerUp(): void;
|
|
25
|
+
getData(): ICreateReassignConnectionDragData;
|
|
29
26
|
}
|