@foblex/flow 12.2.3 → 12.3.5
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/LICENSE +0 -7
- package/README.md +33 -7
- package/domain/cast-to-enum.d.ts +1 -0
- package/domain/clear-selection/{clear-selection.handler.d.ts → clear-selection.execution.d.ts} +4 -4
- package/domain/clear-selection/index.d.ts +1 -1
- package/domain/create-connection-markers/{create-connection-markers.handler.d.ts → create-connection-markers.execution.d.ts} +4 -4
- package/domain/create-connection-markers/index.d.ts +1 -1
- package/domain/get-can-be-selected-items/get-can-be-selected-items-request.d.ts +2 -0
- package/{f-draggable/selection-area/get-can-be-selected-items/get-can-be-selected-items.handler.d.ts → domain/get-can-be-selected-items/get-can-be-selected-items.execution.d.ts} +6 -7
- package/{f-draggable/selection-area → domain}/get-can-be-selected-items/i-selectable-with-rect.d.ts +1 -1
- package/domain/get-can-be-selected-items/index.d.ts +2 -0
- package/domain/get-connection-line/get-connection-line.execution.d.ts +13 -0
- package/domain/get-connection-line/get-connection-line.request.d.ts +11 -0
- package/domain/get-connection-line/index.d.ts +2 -0
- package/domain/get-element-rect-in-flow/{get-element-rect-in-flow.handler.d.ts → get-element-rect-in-flow.execution.d.ts} +8 -5
- package/domain/get-element-rect-in-flow/index.d.ts +1 -1
- package/domain/get-input-rect-in-flow/get-input-rect-in-flow-response.d.ts +3 -3
- package/domain/get-input-rect-in-flow/{get-input-rect-in-flow.handler.d.ts → get-input-rect-in-flow.execution.d.ts} +4 -5
- package/domain/get-input-rect-in-flow/index.d.ts +1 -1
- package/domain/get-nodes-rect/get-nodes-rect.execution.d.ts +12 -0
- package/domain/get-nodes-rect/index.d.ts +1 -1
- package/domain/get-output-rect-in-flow/get-output-rect-in-flow-response.d.ts +3 -3
- package/domain/get-output-rect-in-flow/{get-output-rect-in-flow.handler.d.ts → get-output-rect-in-flow.execution.d.ts} +4 -5
- package/domain/get-output-rect-in-flow/index.d.ts +1 -1
- package/domain/get-position-in-flow/{get-position-in-flow.handler.d.ts → get-position-in-flow.execution.d.ts} +5 -4
- package/domain/get-position-in-flow/index.d.ts +1 -1
- package/domain/get-selection/{get-selection.handler.d.ts → get-selection.execution.d.ts} +4 -4
- package/domain/get-selection/index.d.ts +1 -1
- package/domain/get-value-from-data-attr.d.ts +1 -0
- package/domain/index.d.ts +8 -1
- package/domain/intersections/e-f-connector-shape.d.ts +3 -0
- package/domain/intersections/f-connector-shape.extensions.d.ts +11 -0
- package/domain/intersections/i-connector-shape.d.ts +6 -0
- package/domain/intersections/index.d.ts +5 -0
- package/domain/intersections/intersection-finder.d.ts +67 -0
- package/domain/intersections/rounded-rect/i-rounded-rect.d.ts +8 -0
- package/domain/intersections/rounded-rect/index.d.ts +2 -0
- package/domain/intersections/rounded-rect/rounded-rect.d.ts +22 -0
- package/domain/is-connection-under-node/index.d.ts +1 -0
- package/{f-draggable/node/domain/is-connection-under-node/is-connection-under-node.handler.d.ts → domain/is-connection-under-node/is-connection-under-node.execution.d.ts} +9 -8
- package/domain/is-connection-under-node/is-connection-under-node.request.d.ts +2 -0
- package/domain/is-element-with-class.d.ts +1 -0
- package/domain/providers.d.ts +17 -14
- package/domain/redraw-connections/index.d.ts +1 -1
- package/domain/redraw-connections/{redraw-connections.handler.d.ts → redraw-connections.execution.d.ts} +5 -6
- package/domain/select/index.d.ts +1 -1
- package/domain/select/{select.handler.d.ts → select.execution.d.ts} +4 -4
- package/domain/select-all/index.d.ts +1 -1
- package/domain/select-all/{select-all.handler.d.ts → select-all.execution.d.ts} +4 -4
- package/domain/select-and-update-node-layer/index.d.ts +2 -0
- package/domain/select-and-update-node-layer/select-and-update-node-layer.execution.d.ts +16 -0
- package/domain/select-and-update-node-layer/select-and-update-node-layer.request.d.ts +5 -0
- package/domain/update-item-layer/index.d.ts +1 -1
- package/domain/update-item-layer/update-item-layer.execution.d.ts +8 -0
- package/esm2022/domain/cast-to-enum.mjs +31 -0
- package/esm2022/domain/clear-selection/clear-selection.execution.mjs +28 -0
- package/esm2022/domain/clear-selection/index.mjs +2 -2
- package/esm2022/domain/create-connection-markers/create-connection-markers.execution.mjs +49 -0
- package/esm2022/domain/create-connection-markers/index.mjs +2 -2
- package/esm2022/domain/get-can-be-selected-items/get-can-be-selected-items-request.mjs +3 -0
- package/esm2022/domain/get-can-be-selected-items/get-can-be-selected-items.execution.mjs +57 -0
- package/esm2022/domain/get-can-be-selected-items/i-selectable-with-rect.mjs +2 -0
- package/esm2022/domain/get-can-be-selected-items/index.mjs +3 -0
- package/esm2022/domain/get-connection-line/get-connection-line.execution.mjs +68 -0
- package/esm2022/domain/get-connection-line/get-connection-line.request.mjs +10 -0
- package/esm2022/domain/get-connection-line/index.mjs +3 -0
- package/esm2022/domain/get-connection.handler.mjs +5 -5
- package/esm2022/domain/get-element-rect-in-flow/get-element-rect-in-flow.execution.mjs +41 -0
- package/esm2022/domain/get-element-rect-in-flow/index.mjs +2 -2
- package/esm2022/domain/get-incoming-connections.handler.mjs +4 -4
- package/esm2022/domain/get-input-rect-in-flow/get-input-rect-in-flow-response.mjs +1 -1
- package/esm2022/domain/get-input-rect-in-flow/get-input-rect-in-flow.execution.mjs +33 -0
- package/esm2022/domain/get-input-rect-in-flow/index.mjs +2 -2
- package/esm2022/domain/get-nodes-rect/get-nodes-rect.execution.mjs +29 -0
- package/esm2022/domain/get-nodes-rect/index.mjs +2 -2
- package/esm2022/domain/get-outgoing-connections.handler.mjs +4 -4
- package/esm2022/domain/get-output-rect-in-flow/get-output-rect-in-flow-response.mjs +1 -1
- package/esm2022/domain/get-output-rect-in-flow/get-output-rect-in-flow.execution.mjs +37 -0
- package/esm2022/domain/get-output-rect-in-flow/index.mjs +2 -2
- package/esm2022/domain/get-position-in-flow/get-position-in-flow.execution.mjs +32 -0
- package/esm2022/domain/get-position-in-flow/index.mjs +2 -2
- package/esm2022/domain/get-selection/get-selection.execution.mjs +35 -0
- package/esm2022/domain/get-selection/index.mjs +2 -2
- package/esm2022/domain/get-value-from-data-attr.mjs +7 -0
- package/esm2022/domain/index.mjs +9 -2
- package/esm2022/domain/intersections/e-f-connector-shape.mjs +5 -0
- package/esm2022/domain/intersections/f-connector-shape.extensions.mjs +46 -0
- package/esm2022/domain/intersections/i-connector-shape.mjs +2 -0
- package/esm2022/domain/intersections/index.mjs +6 -0
- package/esm2022/domain/intersections/intersection-finder.mjs +156 -0
- package/esm2022/domain/intersections/rounded-rect/i-rounded-rect.mjs +2 -0
- package/esm2022/domain/intersections/rounded-rect/index.mjs +3 -0
- package/esm2022/domain/intersections/rounded-rect/rounded-rect.mjs +45 -0
- package/esm2022/domain/is-connection-under-node/index.mjs +2 -0
- package/esm2022/domain/is-connection-under-node/is-connection-under-node.execution.mjs +80 -0
- package/esm2022/domain/is-connection-under-node/is-connection-under-node.request.mjs +3 -0
- package/esm2022/domain/is-element-with-class.mjs +8 -0
- package/esm2022/domain/providers.mjs +33 -27
- package/esm2022/domain/redraw-connections/index.mjs +2 -2
- package/esm2022/domain/redraw-connections/redraw-connections.execution.mjs +60 -0
- package/esm2022/domain/select/index.mjs +2 -2
- package/esm2022/domain/select/select.execution.mjs +44 -0
- package/esm2022/domain/select-all/index.mjs +2 -2
- package/esm2022/domain/select-all/select-all.execution.mjs +38 -0
- package/esm2022/domain/select-and-update-node-layer/index.mjs +3 -0
- package/esm2022/domain/select-and-update-node-layer/select-and-update-node-layer.execution.mjs +37 -0
- package/esm2022/domain/select-and-update-node-layer/select-and-update-node-layer.request.mjs +6 -0
- package/esm2022/domain/update-item-layer/index.mjs +2 -2
- package/esm2022/domain/update-item-layer/update-item-layer.execution.mjs +29 -0
- package/esm2022/errors/create-error-class.mjs +1 -2
- package/esm2022/f-backgroud/f-background-base.mjs +4 -4
- package/esm2022/f-backgroud/f-background.component.mjs +5 -5
- package/esm2022/f-backgroud/f-circle-pattern/f-circle-pattern.component.mjs +4 -4
- package/esm2022/f-backgroud/f-rect-pattern/f-rect-pattern.component.mjs +4 -4
- package/esm2022/f-backgroud/index.mjs +2 -1
- package/esm2022/f-backgroud/providers.mjs +9 -0
- package/esm2022/f-canvas/f-canvas-base.mjs +8 -6
- package/esm2022/f-canvas/f-canvas.component.mjs +5 -5
- package/esm2022/f-canvas/f-zoom/f-zoom.directive.mjs +4 -4
- package/esm2022/f-canvas/index.mjs +2 -1
- package/esm2022/f-canvas/providers.mjs +7 -0
- package/esm2022/f-connection/common/f-connection-base.mjs +25 -25
- package/esm2022/f-connection/common/f-connection-text/f-connection-text-path.directive.mjs +4 -4
- package/esm2022/f-connection/common/f-connection-text/f-connection-text.component.mjs +11 -11
- package/esm2022/f-connection/common/f-connection-text/i-connection-text.mjs +1 -1
- package/esm2022/f-connection/common/f-drag-handle/f-connection-drag-handle.component.mjs +4 -4
- package/esm2022/f-connection/common/f-gradient/f-connection-gradient.component.mjs +7 -7
- package/esm2022/f-connection/common/f-gradient/i-connection-gradient.mjs +1 -1
- package/esm2022/f-connection/common/f-path/f-connection-path.component.mjs +4 -4
- package/esm2022/f-connection/common/f-selection/f-connection-selection.component.mjs +4 -4
- package/esm2022/f-connection/common/index.mjs +1 -3
- package/esm2022/f-connection/f-connection/f-connection.component.mjs +13 -12
- package/esm2022/f-connection/f-connection-builder/f-connection-factory.mjs +4 -4
- package/esm2022/f-connection/f-connection-center/f-connection-center.directive.mjs +4 -4
- package/esm2022/f-connection/f-connection-for-create/f-connection-for-create.component.mjs +12 -11
- package/esm2022/f-connection/f-marker/f-marker-base.mjs +4 -4
- package/esm2022/f-connection/f-marker/f-marker.directive.mjs +4 -4
- package/esm2022/f-connection/index.mjs +2 -1
- package/esm2022/f-connection/providers.mjs +18 -0
- package/esm2022/f-connectors/f-node-input/f-node-input-base.mjs +4 -4
- package/esm2022/f-connectors/f-node-input/f-node-input.directive.mjs +4 -4
- package/esm2022/f-connectors/f-node-outlet/f-node-outlet-base.mjs +4 -4
- package/esm2022/f-connectors/f-node-outlet/f-node-outlet.directive.mjs +4 -4
- 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 +4 -4
- package/esm2022/f-connectors/index.mjs +2 -1
- package/esm2022/f-connectors/providers.mjs +9 -0
- package/esm2022/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.execution.mjs +26 -0
- package/esm2022/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.request.mjs +6 -0
- package/esm2022/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.validator.mjs +25 -0
- package/esm2022/f-draggable/canvas/canvas-move-finalize/index.mjs +5 -0
- package/esm2022/f-draggable/canvas/canvas-move-finalize/providers.mjs +7 -0
- package/esm2022/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.execution.mjs +36 -0
- package/esm2022/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.request.mjs +6 -0
- package/esm2022/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.validator.mjs +43 -0
- package/esm2022/f-draggable/canvas/canvas-move-preparation/index.mjs +5 -0
- package/esm2022/f-draggable/canvas/canvas-move-preparation/providers.mjs +7 -0
- package/esm2022/f-draggable/canvas/index.mjs +3 -3
- package/esm2022/f-draggable/canvas/providers.mjs +5 -5
- package/esm2022/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.execution.mjs +55 -0
- package/esm2022/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.request.mjs +6 -0
- package/esm2022/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.validator.mjs +25 -0
- package/esm2022/f-draggable/connections/create-connection/create-connection-finalize/index.mjs +5 -0
- package/esm2022/f-draggable/connections/create-connection/create-connection-finalize/providers.mjs +7 -0
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.execution.mjs +39 -0
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.request.mjs +8 -0
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/index.mjs +4 -0
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/providers.mjs +5 -0
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.execution.mjs +60 -0
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.request.mjs +6 -0
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/index.mjs +4 -0
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/providers.mjs +5 -0
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.execution.mjs +46 -0
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.request.mjs +6 -0
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.validator.mjs +34 -0
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/index.mjs +5 -0
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/providers.mjs +7 -0
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.execution.mjs +43 -0
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.request.mjs +6 -0
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.validator.mjs +32 -0
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/index.mjs +8 -0
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/providers.mjs +13 -0
- package/esm2022/f-draggable/connections/create-connection/create-connection.drag-handler.mjs +11 -9
- package/esm2022/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.execution.mjs +43 -0
- package/esm2022/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.request.mjs +6 -0
- package/esm2022/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.validator.mjs +27 -0
- package/esm2022/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/index.mjs +5 -0
- package/esm2022/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/providers.mjs +7 -0
- package/esm2022/f-draggable/connections/create-connection/index.mjs +4 -4
- package/esm2022/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.execution.mjs +72 -0
- package/esm2022/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.request.mjs +7 -0
- package/esm2022/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.validator.mjs +35 -0
- package/esm2022/f-draggable/connections/get-input-under-pointer/index.mjs +5 -0
- package/esm2022/f-draggable/connections/get-input-under-pointer/providers.mjs +7 -0
- package/esm2022/f-draggable/connections/index.mjs +2 -2
- package/esm2022/f-draggable/connections/providers.mjs +10 -11
- package/esm2022/f-draggable/connections/reassign-connection/index.mjs +3 -3
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-finalize/index.mjs +5 -0
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-finalize/providers.mjs +7 -0
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.execution.mjs +50 -0
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.request.mjs +6 -0
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.validator.mjs +25 -0
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-preparation/index.mjs +5 -0
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-preparation/providers.mjs +7 -0
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.execution.mjs +59 -0
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.request.mjs +6 -0
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.validator.mjs +42 -0
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.mjs +10 -11
- package/esm2022/f-draggable/e-f-draggable-type.mjs +3 -1
- package/esm2022/f-draggable/external-item/external-item-finalize/external-item-finalize.execution.mjs +55 -0
- package/esm2022/f-draggable/external-item/external-item-finalize/external-item-finalize.request.mjs +6 -0
- package/esm2022/f-draggable/external-item/external-item-finalize/external-item-finalize.validator.mjs +25 -0
- package/esm2022/f-draggable/external-item/external-item-finalize/index.mjs +5 -0
- package/esm2022/f-draggable/external-item/external-item-finalize/providers.mjs +7 -0
- package/esm2022/f-draggable/external-item/external-item-preparation/external-item-preparation.execution.mjs +41 -0
- package/esm2022/f-draggable/external-item/external-item-preparation/external-item-preparation.request.mjs +6 -0
- package/esm2022/f-draggable/external-item/external-item-preparation/external-item-preparation.validator.mjs +29 -0
- package/esm2022/f-draggable/external-item/external-item-preparation/index.mjs +5 -0
- package/esm2022/f-draggable/external-item/external-item-preparation/providers.mjs +7 -0
- package/esm2022/f-draggable/external-item/index.mjs +3 -3
- package/esm2022/f-draggable/external-item/providers.mjs +5 -5
- package/esm2022/f-draggable/f-draggable-base.mjs +6 -7
- package/esm2022/f-draggable/f-draggable-data-context.mjs +4 -4
- package/esm2022/f-draggable/f-draggable.directive.mjs +31 -29
- package/esm2022/f-draggable/i-can-run-outside-angular.mjs +2 -0
- package/esm2022/f-draggable/index.mjs +4 -1
- package/esm2022/f-draggable/node/connection-source.drag-handler.mjs +8 -10
- package/esm2022/f-draggable/node/connection-target.drag-handler.mjs +8 -10
- package/esm2022/f-draggable/node/connection.drag-handler.mjs +8 -8
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.execution.mjs +92 -0
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.request.mjs +3 -0
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/index.mjs +4 -0
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/providers.mjs +5 -0
- package/esm2022/f-draggable/node/index.mjs +4 -4
- package/esm2022/f-draggable/node/node-move-finalize/index.mjs +5 -0
- package/esm2022/f-draggable/node/node-move-finalize/node-move-finalize.execution.mjs +51 -0
- package/esm2022/f-draggable/node/node-move-finalize/node-move-finalize.request.mjs +6 -0
- package/esm2022/f-draggable/node/node-move-finalize/node-move-finalize.validator.mjs +25 -0
- package/esm2022/f-draggable/node/node-move-finalize/providers.mjs +7 -0
- package/esm2022/f-draggable/node/node-move-preparation/index.mjs +5 -0
- package/esm2022/f-draggable/node/node-move-preparation/node-move-preparation.execution.mjs +60 -0
- package/esm2022/f-draggable/node/node-move-preparation/node-move-preparation.request.mjs +6 -0
- package/esm2022/f-draggable/node/node-move-preparation/node-move-preparation.validator.mjs +41 -0
- package/esm2022/f-draggable/node/node-move-preparation/providers.mjs +7 -0
- package/esm2022/f-draggable/node/node.drag-handler.mjs +2 -2
- package/esm2022/f-draggable/node/providers.mjs +7 -7
- package/esm2022/f-draggable/node-resize/index.mjs +5 -0
- package/esm2022/f-draggable/node-resize/node-resize-finalize/index.mjs +5 -0
- package/esm2022/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.execution.mjs +26 -0
- package/esm2022/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.request.mjs +6 -0
- package/esm2022/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.validator.mjs +25 -0
- package/esm2022/f-draggable/node-resize/node-resize-finalize/providers.mjs +7 -0
- package/esm2022/f-draggable/node-resize/node-resize-preparation/index.mjs +5 -0
- package/esm2022/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.execution.mjs +52 -0
- package/esm2022/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.request.mjs +6 -0
- package/esm2022/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.validator.mjs +41 -0
- package/esm2022/f-draggable/node-resize/node-resize-preparation/providers.mjs +7 -0
- package/esm2022/f-draggable/node-resize/node-resize.drag-handler.mjs +49 -0
- package/esm2022/f-draggable/node-resize/providers.mjs +7 -0
- package/esm2022/f-draggable/providers.mjs +17 -0
- package/esm2022/f-draggable/selection-area/index.mjs +3 -4
- package/esm2022/f-draggable/selection-area/providers.mjs +5 -7
- package/esm2022/f-draggable/selection-area/selection-area-finalize/index.mjs +5 -0
- package/esm2022/f-draggable/selection-area/selection-area-finalize/providers.mjs +7 -0
- package/esm2022/f-draggable/selection-area/selection-area-finalize/selection-area-finalize.execution.mjs +26 -0
- package/esm2022/f-draggable/selection-area/selection-area-finalize/selection-area-finalize.request.mjs +6 -0
- package/esm2022/f-draggable/selection-area/selection-area-finalize/selection-area-finalize.validator.mjs +25 -0
- package/esm2022/f-draggable/selection-area/selection-area-preparation/index.mjs +5 -0
- package/esm2022/f-draggable/selection-area/selection-area-preparation/providers.mjs +7 -0
- package/esm2022/f-draggable/selection-area/selection-area-preparation/selection-area-preparation.execution.mjs +38 -0
- package/esm2022/f-draggable/selection-area/selection-area-preparation/selection-area-preparation.request.mjs +6 -0
- package/esm2022/f-draggable/selection-area/selection-area-preparation/selection-area-preparation.validator.mjs +30 -0
- package/esm2022/f-draggable/selection-area/selection-area.drag-handle.mjs +5 -5
- package/esm2022/f-draggable/single-select/index.mjs +4 -2
- package/esm2022/f-draggable/single-select/providers.mjs +5 -3
- package/esm2022/f-draggable/single-select/single-select.execution.mjs +80 -0
- package/esm2022/f-draggable/single-select/single-select.request.mjs +6 -0
- package/esm2022/f-draggable/single-select/single-select.validator.mjs +24 -0
- package/esm2022/f-external-item/f-external-item-base.mjs +4 -4
- package/esm2022/f-external-item/f-external-item.directive.mjs +4 -4
- package/esm2022/f-external-item/f-external-item.service.mjs +4 -4
- package/esm2022/f-external-item/index.mjs +2 -1
- package/esm2022/f-external-item/providers.mjs +5 -0
- package/esm2022/f-flow/f-flow.component.mjs +9 -19
- package/esm2022/f-flow/index.mjs +2 -1
- package/esm2022/f-flow/providers.mjs +5 -0
- package/esm2022/f-flow.module.mjs +58 -107
- package/esm2022/f-line-alignment/domain/nearest-coordinate.mjs +14 -13
- package/esm2022/f-line-alignment/f-line-alignment-base.mjs +4 -4
- package/esm2022/f-line-alignment/f-line-alignment.component.mjs +12 -12
- package/esm2022/f-line-alignment/index.mjs +2 -1
- package/esm2022/f-line-alignment/providers.mjs +5 -0
- package/esm2022/f-node/f-drag-handle/f-drag-handle.directive.mjs +8 -26
- package/esm2022/f-node/f-drag-handle/index.mjs +1 -2
- package/esm2022/f-node/f-node-base.mjs +8 -4
- package/esm2022/f-node/f-node.directive.mjs +24 -7
- package/esm2022/f-node/f-resize-handle/e-f-resize-handle-type.mjs +8 -0
- package/esm2022/f-node/f-resize-handle/f-resize-handle.directive.mjs +55 -0
- package/esm2022/f-node/f-resize-handle/index.mjs +3 -0
- package/esm2022/f-node/f-rotate-handle/f-rotate-handle.directive.mjs +27 -0
- package/esm2022/f-node/f-rotate-handle/index.mjs +2 -0
- package/esm2022/f-node/index.mjs +4 -1
- package/esm2022/f-node/providers.mjs +10 -0
- package/esm2022/f-selection-area/f-selection-area-base.mjs +4 -4
- package/esm2022/f-selection-area/f-selection-area.component.mjs +4 -4
- package/esm2022/f-selection-area/index.mjs +2 -1
- package/esm2022/f-selection-area/providers.mjs +5 -0
- package/esm2022/f-storage/f-components-store.mjs +4 -5
- package/esm2022/infrastructure/f-mediator/f-execution-register.mjs +7 -0
- package/esm2022/infrastructure/f-mediator/f-flow-mediator.mjs +29 -0
- package/esm2022/infrastructure/f-mediator/f-validator-register.mjs +7 -0
- package/esm2022/infrastructure/f-mediator/index.mjs +4 -0
- package/esm2022/infrastructure/index.mjs +3 -0
- package/esm2022/infrastructure/pipeline/i-execution.mjs +2 -0
- package/esm2022/infrastructure/pipeline/i-validator.mjs +2 -0
- package/esm2022/infrastructure/pipeline/index.mjs +4 -0
- package/esm2022/infrastructure/pipeline/pipeline.mjs +19 -0
- package/esm2022/public-api.mjs +2 -3
- package/f-backgroud/index.d.ts +1 -0
- package/f-backgroud/providers.d.ts +4 -0
- package/f-canvas/f-canvas-base.d.ts +1 -0
- package/f-canvas/f-canvas.component.d.ts +1 -1
- package/f-canvas/index.d.ts +1 -0
- package/f-canvas/providers.d.ts +3 -0
- package/f-connection/common/f-connection-base.d.ts +8 -6
- package/f-connection/common/f-connection-text/f-connection-text.component.d.ts +2 -2
- package/f-connection/common/f-connection-text/i-connection-text.d.ts +2 -2
- package/f-connection/common/f-gradient/f-connection-gradient.component.d.ts +2 -2
- package/f-connection/common/f-gradient/i-connection-gradient.d.ts +2 -2
- package/f-connection/common/index.d.ts +0 -2
- package/f-connection/f-connection/f-connection.component.d.ts +1 -1
- package/f-connection/f-connection-for-create/f-connection-for-create.component.d.ts +1 -1
- package/f-connection/index.d.ts +1 -0
- package/f-connection/providers.d.ts +6 -0
- package/f-connectors/index.d.ts +1 -0
- package/f-connectors/providers.d.ts +4 -0
- package/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.execution.d.ts +11 -0
- package/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.request.d.ts +5 -0
- package/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.validator.d.ts +11 -0
- package/f-draggable/canvas/canvas-move-finalize/index.d.ts +4 -0
- package/f-draggable/canvas/canvas-move-finalize/providers.d.ts +3 -0
- package/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.execution.d.ts +14 -0
- package/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.request.d.ts +5 -0
- package/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.validator.d.ts +17 -0
- package/f-draggable/canvas/canvas-move-preparation/index.d.ts +4 -0
- package/f-draggable/canvas/canvas-move-preparation/providers.d.ts +3 -0
- package/f-draggable/canvas/index.d.ts +2 -2
- package/f-draggable/canvas/providers.d.ts +1 -3
- package/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.execution.d.ts +21 -0
- package/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.request.d.ts +5 -0
- package/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.validator.d.ts +11 -0
- package/f-draggable/connections/create-connection/create-connection-finalize/index.d.ts +4 -0
- package/f-draggable/connections/create-connection/create-connection-finalize/providers.d.ts +3 -0
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.execution.d.ts +16 -0
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.request.d.ts +8 -0
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/index.d.ts +3 -0
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/providers.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 +15 -0
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.request.d.ts +5 -0
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/index.d.ts +3 -0
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/providers.d.ts +2 -0
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.execution.d.ts +15 -0
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.request.d.ts +5 -0
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.validator.d.ts +14 -0
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/index.d.ts +4 -0
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/providers.d.ts +3 -0
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.execution.d.ts +16 -0
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.request.d.ts +5 -0
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.validator.d.ts +15 -0
- package/f-draggable/connections/create-connection/create-connection-preparation/index.d.ts +7 -0
- package/f-draggable/connections/create-connection/create-connection-preparation/providers.d.ts +3 -0
- package/f-draggable/connections/create-connection/create-connection.drag-handler.d.ts +1 -1
- package/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.execution.d.ts +16 -0
- package/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.request.d.ts +5 -0
- package/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.validator.d.ts +12 -0
- package/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/index.d.ts +4 -0
- package/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/providers.d.ts +3 -0
- package/f-draggable/connections/create-connection/index.d.ts +3 -3
- package/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.execution.d.ts +22 -0
- package/f-draggable/connections/{find-inputs-under-pointer/find-inputs-under-pointer.request.d.ts → get-input-under-pointer/get-input-under-pointer.request.d.ts} +1 -1
- package/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.validator.d.ts +13 -0
- package/f-draggable/connections/get-input-under-pointer/index.d.ts +4 -0
- package/f-draggable/connections/get-input-under-pointer/providers.d.ts +3 -0
- package/f-draggable/connections/index.d.ts +1 -1
- package/f-draggable/connections/providers.d.ts +1 -4
- package/f-draggable/connections/reassign-connection/index.d.ts +2 -2
- package/f-draggable/connections/reassign-connection/reassign-connection-finalize/index.d.ts +4 -0
- package/f-draggable/connections/reassign-connection/reassign-connection-finalize/providers.d.ts +3 -0
- package/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.execution.d.ts +19 -0
- package/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.request.d.ts +5 -0
- package/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.validator.d.ts +11 -0
- package/f-draggable/connections/reassign-connection/reassign-connection-preparation/index.d.ts +4 -0
- package/f-draggable/connections/reassign-connection/reassign-connection-preparation/providers.d.ts +3 -0
- package/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.execution.d.ts +21 -0
- package/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.request.d.ts +5 -0
- package/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.validator.d.ts +18 -0
- package/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.d.ts +1 -1
- package/f-draggable/e-f-draggable-type.d.ts +2 -0
- package/f-draggable/external-item/external-item-finalize/external-item-finalize.execution.d.ts +21 -0
- package/f-draggable/external-item/external-item-finalize/external-item-finalize.request.d.ts +5 -0
- package/f-draggable/external-item/external-item-finalize/external-item-finalize.validator.d.ts +11 -0
- package/f-draggable/external-item/external-item-finalize/index.d.ts +4 -0
- package/f-draggable/external-item/external-item-finalize/providers.d.ts +3 -0
- package/f-draggable/external-item/external-item-preparation/external-item-preparation.execution.d.ts +17 -0
- package/f-draggable/external-item/external-item-preparation/external-item-preparation.request.d.ts +5 -0
- package/f-draggable/external-item/external-item-preparation/external-item-preparation.validator.d.ts +12 -0
- package/f-draggable/external-item/external-item-preparation/index.d.ts +4 -0
- package/f-draggable/external-item/external-item-preparation/providers.d.ts +3 -0
- package/f-draggable/external-item/index.d.ts +2 -2
- package/f-draggable/external-item/providers.d.ts +1 -3
- package/f-draggable/f-draggable-base.d.ts +2 -3
- package/f-draggable/f-draggable.directive.d.ts +3 -4
- package/f-draggable/i-can-run-outside-angular.d.ts +3 -0
- package/f-draggable/index.d.ts +3 -0
- package/f-draggable/node/connection-source.drag-handler.d.ts +1 -1
- package/f-draggable/node/connection-target.drag-handler.d.ts +1 -1
- package/f-draggable/node/connection.drag-handler.d.ts +2 -2
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.execution.d.ts +27 -0
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.request.d.ts +2 -0
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/index.d.ts +3 -0
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/providers.d.ts +2 -0
- package/f-draggable/node/index.d.ts +3 -3
- package/f-draggable/node/node-move-finalize/index.d.ts +4 -0
- package/f-draggable/node/node-move-finalize/node-move-finalize.execution.d.ts +17 -0
- package/f-draggable/node/node-move-finalize/node-move-finalize.request.d.ts +5 -0
- package/f-draggable/node/node-move-finalize/node-move-finalize.validator.d.ts +11 -0
- package/f-draggable/node/node-move-finalize/providers.d.ts +3 -0
- package/f-draggable/node/node-move-preparation/index.d.ts +4 -0
- package/f-draggable/node/node-move-preparation/node-move-preparation.execution.d.ts +21 -0
- package/f-draggable/node/node-move-preparation/node-move-preparation.request.d.ts +5 -0
- package/f-draggable/node/node-move-preparation/node-move-preparation.validator.d.ts +17 -0
- package/f-draggable/node/node-move-preparation/providers.d.ts +3 -0
- package/f-draggable/node/providers.d.ts +1 -4
- package/f-draggable/node-resize/index.d.ts +4 -0
- package/f-draggable/node-resize/node-resize-finalize/index.d.ts +4 -0
- package/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.execution.d.ts +11 -0
- package/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.request.d.ts +5 -0
- package/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.validator.d.ts +11 -0
- package/f-draggable/node-resize/node-resize-finalize/providers.d.ts +3 -0
- package/f-draggable/node-resize/node-resize-preparation/index.d.ts +4 -0
- package/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.execution.d.ts +18 -0
- package/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.request.d.ts +5 -0
- package/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.validator.d.ts +17 -0
- package/f-draggable/node-resize/node-resize-preparation/providers.d.ts +3 -0
- package/f-draggable/node-resize/node-resize.drag-handler.d.ts +19 -0
- package/f-draggable/node-resize/providers.d.ts +1 -0
- package/f-draggable/providers.d.ts +1 -0
- package/f-draggable/selection-area/index.d.ts +2 -3
- package/f-draggable/selection-area/providers.d.ts +1 -4
- package/f-draggable/selection-area/selection-area-finalize/index.d.ts +4 -0
- package/f-draggable/selection-area/selection-area-finalize/providers.d.ts +3 -0
- package/f-draggable/selection-area/selection-area-finalize/selection-area-finalize.execution.d.ts +11 -0
- package/f-draggable/selection-area/selection-area-finalize/selection-area-finalize.request.d.ts +5 -0
- package/f-draggable/selection-area/selection-area-finalize/selection-area-finalize.validator.d.ts +11 -0
- package/f-draggable/selection-area/selection-area-preparation/index.d.ts +4 -0
- package/f-draggable/selection-area/selection-area-preparation/providers.d.ts +3 -0
- package/f-draggable/selection-area/selection-area-preparation/selection-area-preparation.execution.d.ts +15 -0
- package/f-draggable/selection-area/selection-area-preparation/selection-area-preparation.request.d.ts +5 -0
- package/f-draggable/selection-area/selection-area-preparation/selection-area-preparation.validator.d.ts +12 -0
- package/f-draggable/selection-area/selection-area.drag-handle.d.ts +3 -3
- package/f-draggable/single-select/index.d.ts +3 -1
- package/f-draggable/single-select/providers.d.ts +3 -2
- package/f-draggable/single-select/{single-select.on-pointer-down.d.ts → single-select.execution.d.ts} +7 -7
- package/f-draggable/single-select/single-select.request.d.ts +5 -0
- package/f-draggable/single-select/single-select.validator.d.ts +11 -0
- package/f-external-item/index.d.ts +1 -0
- package/f-external-item/providers.d.ts +2 -0
- package/f-flow/f-flow.component.d.ts +1 -1
- package/f-flow/index.d.ts +1 -0
- package/f-flow/providers.d.ts +2 -0
- package/f-flow.module.d.ts +26 -26
- package/f-line-alignment/domain/nearest-coordinate.d.ts +3 -1
- package/f-line-alignment/f-line-alignment.component.d.ts +3 -2
- package/f-line-alignment/index.d.ts +1 -0
- package/f-line-alignment/providers.d.ts +2 -0
- package/f-node/f-drag-handle/f-drag-handle.directive.d.ts +4 -9
- package/f-node/f-drag-handle/index.d.ts +0 -1
- package/f-node/f-node-base.d.ts +6 -2
- package/f-node/f-node.directive.d.ts +6 -2
- package/f-node/f-resize-handle/e-f-resize-handle-type.d.ts +6 -0
- package/f-node/f-resize-handle/f-resize-handle.directive.d.ts +19 -0
- package/f-node/f-resize-handle/index.d.ts +2 -0
- package/f-node/f-rotate-handle/f-rotate-handle.directive.d.ts +9 -0
- package/f-node/f-rotate-handle/index.d.ts +1 -0
- package/f-node/index.d.ts +3 -0
- package/f-node/providers.d.ts +4 -0
- package/f-selection-area/index.d.ts +1 -0
- package/f-selection-area/providers.d.ts +2 -0
- package/f-storage/f-components-store.d.ts +0 -2
- package/fesm2022/foblex-flow.mjs +3934 -2802
- package/fesm2022/foblex-flow.mjs.map +1 -1
- package/infrastructure/f-mediator/f-execution-register.d.ts +5 -0
- package/{f-mediator → infrastructure/f-mediator}/f-flow-mediator.d.ts +3 -3
- package/infrastructure/f-mediator/f-validator-register.d.ts +5 -0
- package/infrastructure/f-mediator/index.d.ts +3 -0
- package/infrastructure/index.d.ts +2 -0
- package/infrastructure/pipeline/i-execution.d.ts +3 -0
- package/infrastructure/pipeline/i-validator.d.ts +3 -0
- package/infrastructure/pipeline/index.d.ts +3 -0
- package/infrastructure/pipeline/pipeline.d.ts +11 -0
- package/package.json +2 -2
- package/public-api.d.ts +1 -2
- package/domain/get-connection-vector/get-connection-vector.handler.d.ts +0 -12
- package/domain/get-connection-vector/get-connection-vector.request.d.ts +0 -11
- package/domain/get-connection-vector/index.d.ts +0 -2
- package/domain/get-nodes-rect/get-nodes-rect.handler.d.ts +0 -11
- package/domain/update-item-layer/update-item-layer.handler.d.ts +0 -8
- package/esm2022/domain/clear-selection/clear-selection.handler.mjs +0 -28
- package/esm2022/domain/create-connection-markers/create-connection-markers.handler.mjs +0 -49
- package/esm2022/domain/get-connection-vector/get-connection-vector.handler.mjs +0 -79
- package/esm2022/domain/get-connection-vector/get-connection-vector.request.mjs +0 -10
- package/esm2022/domain/get-connection-vector/index.mjs +0 -3
- package/esm2022/domain/get-element-rect-in-flow/get-element-rect-in-flow.handler.mjs +0 -34
- package/esm2022/domain/get-input-rect-in-flow/get-input-rect-in-flow.handler.mjs +0 -34
- package/esm2022/domain/get-nodes-rect/get-nodes-rect.handler.mjs +0 -30
- package/esm2022/domain/get-output-rect-in-flow/get-output-rect-in-flow.handler.mjs +0 -37
- package/esm2022/domain/get-position-in-flow/get-position-in-flow.handler.mjs +0 -32
- package/esm2022/domain/get-selection/get-selection.handler.mjs +0 -35
- package/esm2022/domain/redraw-connections/redraw-connections.handler.mjs +0 -60
- package/esm2022/domain/select/select.handler.mjs +0 -44
- package/esm2022/domain/select-all/select-all.handler.mjs +0 -38
- package/esm2022/domain/update-item-layer/update-item-layer.handler.mjs +0 -29
- package/esm2022/f-connection/common/cast-to-connection-behavior.mjs +0 -9
- package/esm2022/f-connection/common/cast-to-connection-type.mjs +0 -9
- package/esm2022/f-draggable/canvas/canvas.on-pointer-up.mjs +0 -23
- package/esm2022/f-draggable/canvas/canvas.prepare-drag-sequence.mjs +0 -37
- package/esm2022/f-draggable/connections/create-connection/create-connection.on-pointer-up.mjs +0 -48
- package/esm2022/f-draggable/connections/create-connection/create-connection.prepare-drag-sequence.mjs +0 -85
- package/esm2022/f-draggable/connections/create-connection/find-first-can-be-connected-output-by-outlet/find-first-can-be-connected-output-by-outlet.handler.mjs +0 -34
- package/esm2022/f-draggable/connections/create-connection/find-first-can-be-connected-output-by-outlet/index.mjs +0 -2
- package/esm2022/f-draggable/connections/find-inputs-under-pointer/find-inputs-under-pointer.handler.mjs +0 -54
- package/esm2022/f-draggable/connections/find-inputs-under-pointer/find-inputs-under-pointer.request.mjs +0 -7
- package/esm2022/f-draggable/connections/find-inputs-under-pointer/first-not-connected-input-of-node-under-pointer/first-not-connected-input-of-node-under-pointer.handler.mjs +0 -34
- package/esm2022/f-draggable/connections/find-inputs-under-pointer/first-not-connected-input-of-node-under-pointer/index.mjs +0 -2
- package/esm2022/f-draggable/connections/find-inputs-under-pointer/index.mjs +0 -4
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection.on-pointer-up.mjs +0 -36
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection.prepare-drag-sequence.mjs +0 -53
- package/esm2022/f-draggable/external-item/external-item.on-pointer-up.mjs +0 -45
- package/esm2022/f-draggable/external-item/external-item.prepare-drag-sequence.mjs +0 -44
- package/esm2022/f-draggable/node/domain/is-connection-under-node/index.mjs +0 -2
- package/esm2022/f-draggable/node/domain/is-connection-under-node/is-connection-under-node.handler.mjs +0 -73
- package/esm2022/f-draggable/node/node.on-pointer-up.mjs +0 -41
- package/esm2022/f-draggable/node/node.prepare-drag-sequence.mjs +0 -101
- package/esm2022/f-draggable/selection-area/get-can-be-selected-items/get-can-be-selected-items.handler.mjs +0 -55
- package/esm2022/f-draggable/selection-area/get-can-be-selected-items/i-selectable-with-rect.mjs +0 -2
- package/esm2022/f-draggable/selection-area/get-can-be-selected-items/index.mjs +0 -3
- package/esm2022/f-draggable/selection-area/selection-area.on-pointer-up.mjs +0 -23
- package/esm2022/f-draggable/selection-area/selection-area.prepare-drag-sequence.mjs +0 -32
- package/esm2022/f-draggable/single-select/single-select.on-pointer-down.mjs +0 -75
- package/esm2022/f-group/f-group-base.mjs +0 -6
- package/esm2022/f-group/f-group.directive.mjs +0 -110
- package/esm2022/f-group/index.mjs +0 -4
- package/esm2022/f-group/is-group.mjs +0 -4
- package/esm2022/f-mediator/f-flow-mediator.mjs +0 -24
- package/esm2022/f-mediator/f-handler-register.mjs +0 -7
- package/esm2022/f-mediator/index.mjs +0 -3
- package/esm2022/f-node/f-drag-handle/is-drag-handle.mjs +0 -20
- package/f-connection/common/cast-to-connection-behavior.d.ts +0 -2
- package/f-connection/common/cast-to-connection-type.d.ts +0 -2
- package/f-draggable/canvas/canvas.on-pointer-up.d.ts +0 -10
- package/f-draggable/canvas/canvas.prepare-drag-sequence.d.ts +0 -13
- package/f-draggable/connections/create-connection/create-connection.on-pointer-up.d.ts +0 -16
- package/f-draggable/connections/create-connection/create-connection.prepare-drag-sequence.d.ts +0 -20
- package/f-draggable/connections/create-connection/find-first-can-be-connected-output-by-outlet/find-first-can-be-connected-output-by-outlet.handler.d.ts +0 -13
- package/f-draggable/connections/create-connection/find-first-can-be-connected-output-by-outlet/index.d.ts +0 -1
- package/f-draggable/connections/find-inputs-under-pointer/find-inputs-under-pointer.handler.d.ts +0 -18
- package/f-draggable/connections/find-inputs-under-pointer/first-not-connected-input-of-node-under-pointer/first-not-connected-input-of-node-under-pointer.handler.d.ts +0 -13
- package/f-draggable/connections/find-inputs-under-pointer/first-not-connected-input-of-node-under-pointer/index.d.ts +0 -1
- package/f-draggable/connections/find-inputs-under-pointer/index.d.ts +0 -3
- package/f-draggable/connections/reassign-connection/reassign-connection.on-pointer-up.d.ts +0 -15
- package/f-draggable/connections/reassign-connection/reassign-connection.prepare-drag-sequence.d.ts +0 -18
- package/f-draggable/external-item/external-item.on-pointer-up.d.ts +0 -16
- package/f-draggable/external-item/external-item.prepare-drag-sequence.d.ts +0 -16
- package/f-draggable/node/domain/is-connection-under-node/index.d.ts +0 -1
- package/f-draggable/node/node.on-pointer-up.d.ts +0 -15
- package/f-draggable/node/node.prepare-drag-sequence.d.ts +0 -22
- package/f-draggable/selection-area/get-can-be-selected-items/index.d.ts +0 -2
- package/f-draggable/selection-area/selection-area.on-pointer-up.d.ts +0 -10
- package/f-draggable/selection-area/selection-area.prepare-drag-sequence.d.ts +0 -15
- package/f-group/f-group-base.d.ts +0 -6
- package/f-group/f-group.directive.d.ts +0 -31
- package/f-group/index.d.ts +0 -3
- package/f-group/is-group.d.ts +0 -1
- package/f-mediator/f-handler-register.d.ts +0 -5
- package/f-mediator/index.d.ts +0 -2
- package/f-node/f-drag-handle/is-drag-handle.d.ts +0 -1
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// export const F_ROTATE_HANDLE: InjectionToken<FRotateHandleDirective> = new InjectionToken<FRotateHandleDirective>('F_ROTATE_HANDLE');
|
|
2
|
+
//
|
|
3
|
+
// @Directive({
|
|
4
|
+
// selector: "[fRotateHandle]",
|
|
5
|
+
// host: {
|
|
6
|
+
// class: `f-rotate-handle f-component`,
|
|
7
|
+
// '[class.f-rotate-handle-disabled]': 'disabled',
|
|
8
|
+
// },
|
|
9
|
+
// providers: [ { provide: F_ROTATE_HANDLE, useExisting: FRotateHandleDirective } ],
|
|
10
|
+
// })
|
|
11
|
+
export class FRotateHandleDirective {
|
|
12
|
+
// @Input('fRotateHandleDisabled')
|
|
13
|
+
// public set disabled(isDisabled: boolean | undefined | string) {
|
|
14
|
+
// this.isDisabled = BooleanExtensions.castToBoolean(isDisabled);
|
|
15
|
+
// }
|
|
16
|
+
get disabled() {
|
|
17
|
+
return this.isDisabled;
|
|
18
|
+
}
|
|
19
|
+
get hostElement() {
|
|
20
|
+
return this.elementReference.nativeElement;
|
|
21
|
+
}
|
|
22
|
+
constructor(elementReference) {
|
|
23
|
+
this.elementReference = elementReference;
|
|
24
|
+
this.isDisabled = false;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1yb3RhdGUtaGFuZGxlLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi1ub2RlL2Ytcm90YXRlLWhhbmRsZS9mLXJvdGF0ZS1oYW5kbGUuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUtBLHdJQUF3STtBQUN4SSxFQUFFO0FBQ0YsZUFBZTtBQUNmLGlDQUFpQztBQUNqQyxZQUFZO0FBQ1osNENBQTRDO0FBQzVDLHNEQUFzRDtBQUN0RCxPQUFPO0FBQ1Asc0ZBQXNGO0FBQ3RGLEtBQUs7QUFDTCxNQUFNLE9BQU8sc0JBQXNCO0lBR2pDLGtDQUFrQztJQUNsQyxrRUFBa0U7SUFDbEUs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6IkFBQUEsY0FBYyw2QkFBNkIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZi1yb3RhdGUtaGFuZGxlLmRpcmVjdGl2ZSc7XG4iXX0=
|
package/esm2022/f-node/index.mjs
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
export * from './f-drag-handle';
|
|
2
|
+
export * from './f-resize-handle';
|
|
3
|
+
export * from './f-rotate-handle';
|
|
2
4
|
export * from './f-node.directive';
|
|
3
5
|
export * from './f-node-base';
|
|
4
6
|
export * from './f-resize-observer';
|
|
5
7
|
export * from './is-node';
|
|
6
|
-
|
|
8
|
+
export * from './providers';
|
|
9
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2Ytbm9kZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGlCQUFpQixDQUFDO0FBRWhDLGNBQWMsbUJBQW1CLENBQUM7QUFFbEMsY0FBYyxtQkFBbUIsQ0FBQztBQUVsQyxjQUFjLG9CQUFvQixDQUFDO0FBRW5DLGNBQWMsZUFBZSxDQUFDO0FBRTlCLGNBQWMscUJBQXFCLENBQUM7QUFFcEMsY0FBYyxXQUFXLENBQUM7QUFFMUIsY0FBYyxhQUFhLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2YtZHJhZy1oYW5kbGUnO1xuXG5leHBvcnQgKiBmcm9tICcuL2YtcmVzaXplLWhhbmRsZSc7XG5cbmV4cG9ydCAqIGZyb20gJy4vZi1yb3RhdGUtaGFuZGxlJztcblxuZXhwb3J0ICogZnJvbSAnLi9mLW5vZGUuZGlyZWN0aXZlJztcblxuZXhwb3J0ICogZnJvbSAnLi9mLW5vZGUtYmFzZSc7XG5cbmV4cG9ydCAqIGZyb20gJy4vZi1yZXNpemUtb2JzZXJ2ZXInO1xuXG5leHBvcnQgKiBmcm9tICcuL2lzLW5vZGUnO1xuXG5leHBvcnQgKiBmcm9tICcuL3Byb3ZpZGVycyc7XG5cblxuIl19
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FNodeDirective } from './f-node.directive';
|
|
2
|
+
import { FDragHandleDirective } from './f-drag-handle';
|
|
3
|
+
import { FResizeHandleDirective } from './f-resize-handle';
|
|
4
|
+
export const F_NODE_PROVIDERS = [
|
|
5
|
+
FNodeDirective,
|
|
6
|
+
FDragHandleDirective,
|
|
7
|
+
FResizeHandleDirective,
|
|
8
|
+
// FRotateHandleDirective
|
|
9
|
+
];
|
|
10
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvdmlkZXJzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLW5vZGUvcHJvdmlkZXJzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQztBQUNwRCxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUN2RCxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQUczRCxNQUFNLENBQUMsTUFBTSxnQkFBZ0IsR0FBRztJQUU5QixjQUFjO0lBRWQsb0JBQW9CO0lBRXBCLHNCQUFzQjtJQUV0Qix5QkFBeUI7Q0FDMUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEZOb2RlRGlyZWN0aXZlIH0gZnJvbSAnLi9mLW5vZGUuZGlyZWN0aXZlJztcbmltcG9ydCB7IEZEcmFnSGFuZGxlRGlyZWN0aXZlIH0gZnJvbSAnLi9mLWRyYWctaGFuZGxlJztcbmltcG9ydCB7IEZSZXNpemVIYW5kbGVEaXJlY3RpdmUgfSBmcm9tICcuL2YtcmVzaXplLWhhbmRsZSc7XG5pbXBvcnQgeyBGUm90YXRlSGFuZGxlRGlyZWN0aXZlIH0gZnJvbSAnLi9mLXJvdGF0ZS1oYW5kbGUnO1xuXG5leHBvcnQgY29uc3QgRl9OT0RFX1BST1ZJREVSUyA9IFtcblxuICBGTm9kZURpcmVjdGl2ZSxcblxuICBGRHJhZ0hhbmRsZURpcmVjdGl2ZSxcblxuICBGUmVzaXplSGFuZGxlRGlyZWN0aXZlLFxuXG4gIC8vIEZSb3RhdGVIYW5kbGVEaXJlY3RpdmVcbl07XG4iXX0=
|
|
@@ -2,10 +2,10 @@ import { Directive, InjectionToken } from '@angular/core';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export const F_SELECTION_AREA = new InjectionToken('F_SELECTION_AREA');
|
|
4
4
|
export class FSelectionAreaBase {
|
|
5
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
6
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.
|
|
5
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: FSelectionAreaBase, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.11", type: FSelectionAreaBase, ngImport: i0 }); }
|
|
7
7
|
}
|
|
8
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
8
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: FSelectionAreaBase, decorators: [{
|
|
9
9
|
type: Directive
|
|
10
10
|
}] });
|
|
11
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N0RWxlbWVudDogSFRNTEVsZW1lbnQgfCBTVkdFbGVtZW50O1xuXG4gIHB1YmxpYyBhYnN0cmFjdCBoaWRlKCk6IHZvaWQ7XG5cbiAgcHVibGljIGFic3RyYWN0IHNob3coKTogdm9pZDtcblxuICBwdWJsaWMgYWJzdHJhY3QgZHJhdyhvYmplY3Q6IElTZWxlY3Rpb25BcmVhUmVjdCk6IHZvaWQ7XG59XG4iXX0=
|
|
@@ -28,12 +28,12 @@ export class FSelectionAreaComponent extends FSelectionAreaBase {
|
|
|
28
28
|
style.width = object.width + 'px';
|
|
29
29
|
style.height = object.height + 'px';
|
|
30
30
|
}
|
|
31
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
32
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.
|
|
31
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: FSelectionAreaComponent, deps: [{ token: i0.ElementRef }, { token: i1.FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
32
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.11", type: FSelectionAreaComponent, selector: "f-selection-area", host: { classAttribute: "f-selection-area f-component" }, providers: [
|
|
33
33
|
{ provide: F_SELECTION_AREA, useExisting: FSelectionAreaComponent }
|
|
34
34
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true, styles: [":host{position:absolute}\n"] }); }
|
|
35
35
|
}
|
|
36
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: FSelectionAreaComponent, decorators: [{
|
|
37
37
|
type: Component,
|
|
38
38
|
args: [{ selector: "f-selection-area", template: ``, host: {
|
|
39
39
|
'class': 'f-selection-area f-component'
|
|
@@ -41,4 +41,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImpor
|
|
|
41
41
|
{ provide: F_SELECTION_AREA, useExisting: FSelectionAreaComponent }
|
|
42
42
|
], styles: [":host{position:absolute}\n"] }]
|
|
43
43
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1.FDraggableDataContext }] });
|
|
44
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
44
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1zZWxlY3Rpb24tYXJlYS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2Ytc2VsZWN0aW9uLWFyZWEvZi1zZWxlY3Rpb24tYXJlYS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBc0IsTUFBTSxlQUFlLENBQUM7QUFDOUQsT0FBTyxFQUFFLGdCQUFnQixFQUFFLGtCQUFrQixFQUFFLE1BQU0seUJBQXlCLENBQUM7OztBQWUvRSxNQUFNLE9BQU8sdUJBQXdCLFNBQVEsa0JBQWtCO0lBRTdELElBQW9CLFdBQVc7UUFDN0IsT0FBTyxJQUFJLENBQUMsZ0JBQWdCLENBQUMsYUFBYSxDQUFDO0lBQzdDLENBQUM7SUFFRCxZQUNZLGdCQUF5QyxFQUN6QyxxQkFBNEM7UUFFdEQsS0FBSyxFQUFFLENBQUM7UUFIRSxxQkFBZ0IsR0FBaEIsZ0JBQWdCLENBQXlCO1FBQ3pDLDBCQUFxQixHQUFyQixxQkFBcUIsQ0FBdUI7SUFHeEQsQ0FBQztJQUVNLFFBQVE7UUFDYixJQUFJLENBQUMscUJBQXFCLENBQUMsY0FBYyxHQUFHLElBQUksQ0FBQztRQUNqRCxJQUFJLENBQUMsV0FB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mVmPEhUTUxFbGVtZW50PixcbiAgICAgIHByaXZhdGUgZkRyYWdnYWJsZURhdGFDb250ZXh0OiBGRHJhZ2dhYmxlRGF0YUNvbnRleHRcbiAgKSB7XG4gICAgc3VwZXIoKTtcbiAgfVxuXG4gIHB1YmxpYyBuZ09uSW5pdCgpOiB2b2lkIHtcbiAgICB0aGlzLmZEcmFnZ2FibGVEYXRhQ29udGV4dC5mU2VsZWN0aW9uQXJlYSA9IHRoaXM7XG4gICAgdGhpcy5ob3N0RWxlbWVudC5zdHlsZS5kaXNwbGF5ID0gJ25vbmUnO1xuICB9XG5cbiAgcHVibGljIG92ZXJyaWRlIGhpZGUoKTogdm9pZCB7XG4gICAgdGhpcy5ob3N0RWxlbWVudC5zdHlsZS5kaXNwbGF5ID0gJ25vbmUnO1xuICB9XG5cbiAgcHVibGljIG92ZXJyaWRlIHNob3coKTogdm9pZCB7XG4gICAgdGhpcy5ob3N0RWxlbWVudC5zdHlsZS5kaXNwbGF5ID0gJ2Jsb2NrJztcbiAgfVxuXG4gIHB1YmxpYyBvdmVycmlkZSBkcmF3KG9iamVjdDogSVNlbGVjdGlvbkFyZWFSZWN0KTogdm9pZCB7XG4gICAgY29uc3Qgc3R5bGUgPSB0aGlzLmhvc3RFbGVtZW50LnN0eWxlO1xuICAgIHN0eWxlLmxlZnQgPSBvYmplY3QubGVmdCArICdweCc7XG4gICAgc3R5bGUudG9wID0gb2JqZWN0LnRvcCArICdweCc7XG4gICAgc3R5bGUud2lkdGggPSBvYmplY3Qud2lkdGggKyAncHgnO1xuICAgIHN0eWxlLmhlaWdodCA9IG9iamVjdC5oZWlnaHQgKyAncHgnO1xuICB9XG59XG4iXX0=
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from './domain';
|
|
2
2
|
export * from './f-selection-area.component';
|
|
3
3
|
export * from './f-selection-area-base';
|
|
4
|
-
|
|
4
|
+
export * from './providers';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2Ytc2VsZWN0aW9uLWFyZWEvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxVQUFVLENBQUM7QUFFekIsY0FBYyw4QkFBOEIsQ0FBQztBQUU3QyxjQUFjLHlCQUF5QixDQUFDO0FBRXhDLGNBQWMsYUFBYSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9kb21haW4nO1xuXG5leHBvcnQgKiBmcm9tICcuL2Ytc2VsZWN0aW9uLWFyZWEuY29tcG9uZW50JztcblxuZXhwb3J0ICogZnJvbSAnLi9mLXNlbGVjdGlvbi1hcmVhLWJhc2UnO1xuXG5leHBvcnQgKiBmcm9tICcuL3Byb3ZpZGVycyc7XG4iXX0=
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { FSelectionAreaComponent } from './f-selection-area.component';
|
|
2
|
+
export const F_SELECTION_AREA_PROVIDERS = [
|
|
3
|
+
FSelectionAreaComponent
|
|
4
|
+
];
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvdmlkZXJzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLXNlbGVjdGlvbi1hcmVhL3Byb3ZpZGVycy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsTUFBTSw4QkFBOEIsQ0FBQztBQUV2RSxNQUFNLENBQUMsTUFBTSwwQkFBMEIsR0FBRztJQUV4Qyx1QkFBdUI7Q0FDeEIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEZTZWxlY3Rpb25BcmVhQ29tcG9uZW50IH0gZnJvbSAnLi9mLXNlbGVjdGlvbi1hcmVhLmNvbXBvbmVudCc7XG5cbmV4cG9ydCBjb25zdCBGX1NFTEVDVElPTl9BUkVBX1BST1ZJREVSUyA9IFtcblxuICBGU2VsZWN0aW9uQXJlYUNvbXBvbmVudFxuXTtcbiJdfQ==
|
|
@@ -5,7 +5,6 @@ export class FComponentsStore {
|
|
|
5
5
|
constructor() {
|
|
6
6
|
this.changes = new Subject();
|
|
7
7
|
this.fNodes = [];
|
|
8
|
-
this.fGroups = [];
|
|
9
8
|
this.fConnections = [];
|
|
10
9
|
this.fMarkers = [];
|
|
11
10
|
this.fOutputs = [];
|
|
@@ -32,10 +31,10 @@ export class FComponentsStore {
|
|
|
32
31
|
this.changes.next();
|
|
33
32
|
}
|
|
34
33
|
}
|
|
35
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
36
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
34
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: FComponentsStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
35
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: FComponentsStore }); }
|
|
37
36
|
}
|
|
38
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
37
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: FComponentsStore, decorators: [{
|
|
39
38
|
type: Injectable
|
|
40
39
|
}] });
|
|
41
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
40
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1jb21wb25lbnRzLXN0b3J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2dhYmxlOiBGRHJhZ2dhYmxlQmFzZSB8IHVuZGVmaW5lZDtcblxuICBwdWJsaWMgZmluZE5vZGUoZWxlbWVudDogSFRNTEVsZW1lbnQgfCBTVkdFbGVtZW50KTogRk5vZGVCYXNlIHwgdW5kZWZpbmVkIHtcbiAgICByZXR1cm4gdGhpcy5mTm9kZXMuZmluZChuID0+IG4uaXNDb250YWlucyhlbGVtZW50KSk7XG4gIH1cblxuICBwdWJsaWMgYWRkQ29tcG9uZW50PFQ+KGNvbGxlY3Rpb246IFRbXSwgY29tcG9uZW50OiBUKTogdm9pZCB7XG4gICAgY29sbGVjdGlvbi5wdXNoKGNvbXBvbmVudCk7XG4gICAgdGhpcy5jaGFuZ2VzLm5leHQoKTtcbiAgfVxuXG4gIHB1YmxpYyByZW1vdmVDb21wb25lbnQ8VD4oY29sbGVjdGlvbjogVFtdLCBjb21wb25lbnQ6IFQpOiB2b2lkIHtcbiAgICBjb25zdCBpbmRleCA9IGNvbGxlY3Rpb24uaW5kZXhPZihjb21wb25lbnQpO1xuICAgIGlmIChpbmRleCA+IC0xKSB7XG4gICAgICBjb2xsZWN0aW9uLnNwbGljZShpbmRleCwgMSk7XG4gICAgICB0aGlzLmNoYW5nZXMubmV4dCgpO1xuICAgIH1cbiAgfVxufVxuIl19
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { FFlowMediator } from './f-flow-mediator';
|
|
2
|
+
export function FExecutionRegister(requestType) {
|
|
3
|
+
return function (constructor) {
|
|
4
|
+
FFlowMediator.registerPipeline(requestType, constructor, false);
|
|
5
|
+
};
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1leGVjdXRpb24tcmVnaXN0ZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2luZnJhc3RydWN0dXJlL2YtbWVkaWF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export class FFlowMediator {
|
|
5
|
+
constructor(injector) {
|
|
6
|
+
this.injector = injector;
|
|
7
|
+
}
|
|
8
|
+
static { this.pipelines = new Map(); }
|
|
9
|
+
static registerPipeline(type, handler, isValidator) {
|
|
10
|
+
const pipeline = this.pipelines.get(type.name) || new Pipeline();
|
|
11
|
+
isValidator
|
|
12
|
+
? pipeline.setValidator(handler)
|
|
13
|
+
: pipeline.setExecution(handler);
|
|
14
|
+
this.pipelines.set(type.name, pipeline);
|
|
15
|
+
}
|
|
16
|
+
send(request) {
|
|
17
|
+
const pipeline = FFlowMediator.pipelines.get(request.constructor.name);
|
|
18
|
+
if (pipeline) {
|
|
19
|
+
return pipeline.handle(request, this.injector);
|
|
20
|
+
}
|
|
21
|
+
throw new Error('Handler not registered for request type.');
|
|
22
|
+
}
|
|
23
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: FFlowMediator, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
24
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: FFlowMediator }); }
|
|
25
|
+
}
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: FFlowMediator, decorators: [{
|
|
27
|
+
type: Injectable
|
|
28
|
+
}], ctorParameters: () => [{ type: i0.Injector }] });
|
|
29
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1mbG93LW1lZGlhdG9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9pbmZyYXN0cnVjdHVyZS9mLW1lZGlhdG9yL2YtZmxvdy1tZWRpYXRvci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLE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ihoYW5kbGVyIGFzIFR5cGU8SUV4ZWN1dGlvbjxUUmVxdWVzdCwgVFJlc3BvbnNlPj4pO1xuXG4gICAgdGhpcy5waXBlbGluZXMuc2V0KHR5cGUubmFtZSwgcGlwZWxpbmUpO1xuICB9XG5cbiAgcHVibGljIHNlbmQ8VFJlc3BvbnNlPihyZXF1ZXN0OiBhbnkpOiBUUmVzcG9uc2Uge1xuICAgIGNvbnN0IHBpcGVsaW5lID0gRkZsb3dNZWRpYXRvci5waXBlbGluZXMuZ2V0KHJlcXVlc3QuY29uc3RydWN0b3IubmFtZSk7XG4gICAgaWYgKHBpcGVsaW5lKSB7XG4gICAgICByZXR1cm4gcGlwZWxpbmUuaGFuZGxlKHJlcXVlc3QsIHRoaXMuaW5qZWN0b3IpO1xuICAgIH1cblxuICAgIHRocm93IG5ldyBFcnJvcignSGFuZGxlciBub3QgcmVnaXN0ZXJlZCBmb3IgcmVxdWVzdCB0eXBlLicpO1xuICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { FFlowMediator } from './f-flow-mediator';
|
|
2
|
+
export function FValidatorRegister(requestType) {
|
|
3
|
+
return function (constructor) {
|
|
4
|
+
FFlowMediator.registerPipeline(requestType, constructor, true);
|
|
5
|
+
};
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi12YWxpZGF0b3ItcmVnaXN0ZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2luZnJhc3RydWN0dXJlL2YtbWVkaWF0b3IvZi12YWxpZGF0b3ItcmVnaXN0ZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLG1CQUFtQixDQUFDO0FBS2xELE1BQU0sVUFBVSxrQkFBa0IsQ0FBc0IsV0FBMkI7SUFDakYsT0FBTyxVQUFVLFdBQThDO1FBQzdELGFBQWEsQ0FBQyxnQkFBZ0IsQ0FBQyxXQUFXLEVBQUUsV0FBVyxFQUFFLElBQUksQ0FBQyxDQUFDO0lBQ2pFLENBQUMsQ0FBQztBQUNKLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBUeXBlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBGRmxvd01lZGlhdG9yIH0gZnJvbSAnLi9mLWZsb3ctbWVkaWF0b3InO1xuaW1wb3J0IHsgSVZhbGlkYXRvciB9IGZyb20gJy4uL3BpcGVsaW5lJztcblxudHlwZSBDb25zdHJ1Y3RvcjxUID0gYW55PiA9IG5ldyAoLi4uYXJnczogYW55W10pID0+IFQ7XG5cbmV4cG9ydCBmdW5jdGlvbiBGVmFsaWRhdG9yUmVnaXN0ZXI8VFJlcXVlc3QsIFRSZXNwb25zZT4ocmVxdWVzdFR5cGU6IFR5cGU8VFJlcXVlc3Q+KSB7XG4gIHJldHVybiBmdW5jdGlvbiAoY29uc3RydWN0b3I6IENvbnN0cnVjdG9yPElWYWxpZGF0b3I8VFJlcXVlc3Q+Pikge1xuICAgIEZGbG93TWVkaWF0b3IucmVnaXN0ZXJQaXBlbGluZShyZXF1ZXN0VHlwZSwgY29uc3RydWN0b3IsIHRydWUpO1xuICB9O1xufVxuIl19
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export * from './f-execution-register';
|
|
2
|
+
export * from './f-flow-mediator';
|
|
3
|
+
export * from './f-validator-register';
|
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2luZnJhc3RydWN0dXJlL2YtbWVkaWF0b3IvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyx3QkFBd0IsQ0FBQztBQUV2QyxjQUFjLG1CQUFtQixDQUFDO0FBRWxDLGNBQWMsd0JBQXdCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2YtZXhlY3V0aW9uLXJlZ2lzdGVyJztcblxuZXhwb3J0ICogZnJvbSAnLi9mLWZsb3ctbWVkaWF0b3InO1xuXG5leHBvcnQgKiBmcm9tICcuL2YtdmFsaWRhdG9yLXJlZ2lzdGVyJztcbiJdfQ==
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './f-mediator';
|
|
2
|
+
export * from './pipeline';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2luZnJhc3RydWN0dXJlL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsY0FBYyxDQUFDO0FBRTdCLGNBQWMsWUFBWSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9mLW1lZGlhdG9yJztcblxuZXhwb3J0ICogZnJvbSAnLi9waXBlbGluZSc7XG4iXX0=
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1leGVjdXRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2luZnJhc3RydWN0dXJlL3BpcGVsaW5lL2ktZXhlY3V0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJSGFuZGxlciB9IGZyb20gJ0Bmb2JsZXgvY29yZSc7XG5cbmV4cG9ydCBpbnRlcmZhY2UgSUV4ZWN1dGlvbjxUUmVxdWVzdCwgVFJlc3BvbnNlPlxuICBleHRlbmRzIElIYW5kbGVyPFRSZXF1ZXN0LCBUUmVzcG9uc2U+e1xufVxuIl19
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS12YWxpZGF0b3IuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2luZnJhc3RydWN0dXJlL3BpcGVsaW5lL2ktdmFsaWRhdG9yLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJSGFuZGxlciB9IGZyb20gJ0Bmb2JsZXgvY29yZSc7XG5cbmV4cG9ydCBpbnRlcmZhY2UgSVZhbGlkYXRvcjxUUmVxdWVzdD5cbiAgZXh0ZW5kcyBJSGFuZGxlcjxUUmVxdWVzdCwgYm9vbGVhbj57XG59XG4iXX0=
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export * from './i-execution';
|
|
2
|
+
export * from './i-validator';
|
|
3
|
+
export * from './pipeline';
|
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2luZnJhc3RydWN0dXJlL3BpcGVsaW5lL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsZUFBZSxDQUFDO0FBRTlCLGNBQWMsZUFBZSxDQUFDO0FBRTlCLGNBQWMsWUFBWSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9pLWV4ZWN1dGlvbic7XG5cbmV4cG9ydCAqIGZyb20gJy4vaS12YWxpZGF0b3InO1xuXG5leHBvcnQgKiBmcm9tICcuL3BpcGVsaW5lJztcbiJdfQ==
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export class Pipeline {
|
|
2
|
+
handle(request, injector) {
|
|
3
|
+
let isValid = true;
|
|
4
|
+
if (this.validator) {
|
|
5
|
+
isValid = injector.get(this.validator).handle(request);
|
|
6
|
+
}
|
|
7
|
+
if (!isValid) {
|
|
8
|
+
return;
|
|
9
|
+
}
|
|
10
|
+
return injector.get(this.execution).handle(request);
|
|
11
|
+
}
|
|
12
|
+
setValidator(validator) {
|
|
13
|
+
this.validator = validator;
|
|
14
|
+
}
|
|
15
|
+
setExecution(execution) {
|
|
16
|
+
this.execution = execution;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGlwZWxpbmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2luZnJhc3RydWN0dXJlL3BpcGVsaW5lL3BpcGVsaW5lLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUtBLE1BQU0sT0FBTyxRQUFRO0lBT1osTUFBTSxDQUFDLE9BQWlCLEVBQUUsUUFBa0I7UUFDakQsSUFBSSxPQUFPLEdBQVksSUFBSSxDQUFDO1FBQzVCLElBQUksSUFBSSxDQUFDLFNBQVMsRUFBRSxDQUFDO1lBQ25CLE9BQU8sR0FBRyxRQUFRLENBQUMsR0FBRyxDQUFDLElBQUksQ0FBQyxTQUFTLENBQUMsQ0FBQyxNQUFNLENBQUMsT0FBTyxDQUFDLENBQUM7UUFD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Q6IGJvb2xlYW4gPSB0cnVlO1xuICAgIGlmICh0aGlzLnZhbGlkYXRvcikge1xuICAgICAgaXNWYWxpZCA9IGluamVjdG9yLmdldCh0aGlzLnZhbGlkYXRvcikuaGFuZGxlKHJlcXVlc3QpO1xuICAgIH1cblxuICAgIGlmICghaXNWYWxpZCkge1xuICAgICAgcmV0dXJuO1xuICAgIH1cbiAgICByZXR1cm4gaW5qZWN0b3IuZ2V0KHRoaXMuZXhlY3V0aW9uKS5oYW5kbGUocmVxdWVzdCk7XG4gIH1cblxuICBwdWJsaWMgc2V0VmFsaWRhdG9yKHZhbGlkYXRvcjogVHlwZTxJVmFsaWRhdG9yPFRSZXF1ZXN0Pj4pOiB2b2lkIHtcbiAgICB0aGlzLnZhbGlkYXRvciA9IHZhbGlkYXRvcjtcbiAgfVxuXG4gIHB1YmxpYyBzZXRFeGVjdXRpb24oZXhlY3V0aW9uOiBUeXBlPElFeGVjdXRpb248VFJlcXVlc3QsIFRSZXNwb25zZT4+KTogdm9pZCB7XG4gICAgdGhpcy5leGVjdXRpb24gPSBleGVjdXRpb247XG4gIH1cbn1cbiJdfQ==
|
package/esm2022/public-api.mjs
CHANGED
|
@@ -8,10 +8,9 @@ export * from './f-external-item';
|
|
|
8
8
|
export * from './f-line-alignment';
|
|
9
9
|
export * from './f-selection-area';
|
|
10
10
|
export * from './f-flow';
|
|
11
|
-
export * from './f-group';
|
|
12
11
|
export * from './f-node';
|
|
13
|
-
export * from './f-mediator';
|
|
14
12
|
export * from './f-storage';
|
|
13
|
+
export * from './infrastructure';
|
|
15
14
|
export * from './f-flow.module';
|
|
16
15
|
export * from './i-has-state-changes';
|
|
17
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy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AqIGZyb20gJy4vaW5mcmFzdHJ1Y3R1cmUnO1xuXG5leHBvcnQgKiBmcm9tICcuL2YtZmxvdy5tb2R1bGUnO1xuXG5leHBvcnQgKiBmcm9tICcuL2ktaGFzLXN0YXRlLWNoYW5nZXMnO1xuIl19
|
package/f-backgroud/index.d.ts
CHANGED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { FBackgroundComponent } from './f-background.component';
|
|
2
|
+
import { FRectPatternComponent } from './f-rect-pattern';
|
|
3
|
+
import { FCirclePatternComponent } from './f-circle-pattern';
|
|
4
|
+
export declare const F_BACKGROUND_PROVIDERS: (typeof FRectPatternComponent | typeof FCirclePatternComponent | typeof FBackgroundComponent)[];
|
|
@@ -19,6 +19,7 @@ export declare abstract class FCanvasBase extends MIXIN_BASE implements IHasHost
|
|
|
19
19
|
abstract redraw(): void;
|
|
20
20
|
abstract redrawWithAnimation(): void;
|
|
21
21
|
completeDrag(): void;
|
|
22
|
+
private getCanvasPosition;
|
|
22
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<FCanvasBase, never>;
|
|
23
24
|
static ɵdir: i0.ɵɵDirectiveDeclaration<FCanvasBase, never, never, {}, {}, never, never, false, never>;
|
|
24
25
|
}
|
|
@@ -4,7 +4,7 @@ import { IPoint } from '@foblex/core';
|
|
|
4
4
|
import { FCanvasChangeEvent } from './domain';
|
|
5
5
|
import { FComponentsStore } from '../f-storage';
|
|
6
6
|
import { FNodeBase } from '../f-node';
|
|
7
|
-
import { FFlowMediator } from '../
|
|
7
|
+
import { FFlowMediator } from '../infrastructure';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class FCanvasComponent extends FCanvasBase implements OnInit {
|
|
10
10
|
private elementReference;
|
package/f-canvas/index.d.ts
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
|
-
import { IHasHostElement,
|
|
2
|
+
import { IHasHostElement, ILine, IPoint } from '@foblex/core';
|
|
3
3
|
import { Subject } from 'rxjs';
|
|
4
4
|
import { EFConnectionBehavior } from './e-f-connection-behavior';
|
|
5
5
|
import { EFConnectionType } from './e-f-connection-type';
|
|
6
6
|
import { IHasConnectionColor } from './i-has-connection-color';
|
|
7
7
|
import { IHasConnectionFromTo } from './i-has-connection-from-to';
|
|
8
8
|
import { IHasConnectionText } from './i-has-connection-text';
|
|
9
|
-
import { ICanChangeConnectionVisibility, ISelectable } from './mixins';
|
|
10
9
|
import { IConnectionPath } from './f-path';
|
|
11
10
|
import { IConnectionGradient } from './f-gradient';
|
|
12
11
|
import { FConnectionDragHandleComponent } from './f-drag-handle';
|
|
@@ -16,6 +15,7 @@ import { IHasStateChanges } from '../../i-has-state-changes';
|
|
|
16
15
|
import { FMarkerBase } from '../f-marker';
|
|
17
16
|
import { EFConnectableSide } from '../../f-connectors';
|
|
18
17
|
import { FConnectionFactory } from '../f-connection-builder';
|
|
18
|
+
import { ICanChangeConnectionVisibility, ISelectable } from './mixins';
|
|
19
19
|
import * as i0 from "@angular/core";
|
|
20
20
|
declare const MIXIN_BASE: import("@foblex/core").Constructor<ISelectable> & import("@foblex/core").AbstractConstructor<ISelectable> & import("@foblex/core").Constructor<ICanChangeConnectionVisibility> & import("@foblex/core").AbstractConstructor<ICanChangeConnectionVisibility> & {
|
|
21
21
|
new (hostElement: HTMLElement): {
|
|
@@ -23,7 +23,7 @@ declare const MIXIN_BASE: import("@foblex/core").Constructor<ISelectable> & impo
|
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
25
|
export declare abstract class FConnectionBase extends MIXIN_BASE implements IHasHostElement, ISelectable, ICanChangeConnectionVisibility, IHasStateChanges, IHasConnectionColor, IHasConnectionFromTo, IHasConnectionText {
|
|
26
|
-
private
|
|
26
|
+
private cFactory;
|
|
27
27
|
abstract fConnectionId: string;
|
|
28
28
|
abstract fStartColor: string;
|
|
29
29
|
abstract fEndColor: string;
|
|
@@ -32,7 +32,7 @@ export declare abstract class FConnectionBase extends MIXIN_BASE implements IHas
|
|
|
32
32
|
abstract fRadius: number;
|
|
33
33
|
abstract fOffset: number;
|
|
34
34
|
path: string;
|
|
35
|
-
|
|
35
|
+
line: ILine;
|
|
36
36
|
readonly stateChanges: Subject<void>;
|
|
37
37
|
abstract fDraggingDisabled: boolean;
|
|
38
38
|
abstract fSelectionDisabled: boolean;
|
|
@@ -48,10 +48,12 @@ export declare abstract class FConnectionBase extends MIXIN_BASE implements IHas
|
|
|
48
48
|
abstract fTextComponent: IConnectionText;
|
|
49
49
|
abstract fText: string;
|
|
50
50
|
abstract fConnectionCenter: ElementRef<HTMLDivElement>;
|
|
51
|
-
protected constructor(elementReference: ElementRef<HTMLElement>,
|
|
51
|
+
protected constructor(elementReference: ElementRef<HTMLElement>, cFactory: FConnectionFactory);
|
|
52
52
|
initialize(): void;
|
|
53
53
|
isContains(element: HTMLElement | SVGElement): boolean;
|
|
54
|
-
|
|
54
|
+
setLine(source: IPoint, sourceSide: EFConnectableSide, target: IPoint, targetSide: EFConnectableSide): void;
|
|
55
|
+
private getPathResult;
|
|
56
|
+
private getTransform;
|
|
55
57
|
redraw(): void;
|
|
56
58
|
static ɵfac: i0.ɵɵFactoryDeclaration<FConnectionBase, never>;
|
|
57
59
|
static ɵdir: i0.ɵɵDirectiveDeclaration<FConnectionBase, never, never, {}, {}, never, never, false, never>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ElementRef } from "@angular/core";
|
|
2
|
-
import {
|
|
2
|
+
import { ILine } from '@foblex/core';
|
|
3
3
|
import { FConnectionTextPathDirective } from './f-connection-text-path.directive';
|
|
4
4
|
import { IHasConnectionText } from '../i-has-connection-text';
|
|
5
5
|
import { IHasConnectionFromTo } from '../i-has-connection-from-to';
|
|
@@ -13,7 +13,7 @@ export declare class FConnectionTextComponent implements IConnectionText {
|
|
|
13
13
|
get text(): string;
|
|
14
14
|
textPathDirective: FConnectionTextPathDirective;
|
|
15
15
|
constructor(elementReference: ElementRef<SVGTextElement>, base: IHasConnectionText & IHasConnectionFromTo);
|
|
16
|
-
redraw(
|
|
16
|
+
redraw(line: ILine): void;
|
|
17
17
|
private calculateDy;
|
|
18
18
|
private static isTextReverse;
|
|
19
19
|
private static getTextStartOffset;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IHasHostElement,
|
|
1
|
+
import { IHasHostElement, ILine } from '@foblex/core';
|
|
2
2
|
import { InjectionToken } from '@angular/core';
|
|
3
3
|
export declare const CONNECTION_TEXT: InjectionToken<IConnectionText>;
|
|
4
4
|
export interface IConnectionText extends IHasHostElement {
|
|
5
|
-
redraw(
|
|
5
|
+
redraw(line: ILine): void;
|
|
6
6
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ElementRef } from "@angular/core";
|
|
2
|
-
import {
|
|
2
|
+
import { ILine } from '@foblex/core';
|
|
3
3
|
import { IHasConnectionFromTo } from '../i-has-connection-from-to';
|
|
4
4
|
import { IHasConnectionColor } from '../i-has-connection-color';
|
|
5
5
|
import { IConnectionGradient } from './i-connection-gradient';
|
|
@@ -16,7 +16,7 @@ export declare class FConnectionGradientComponent implements IConnectionGradient
|
|
|
16
16
|
private updateGradient;
|
|
17
17
|
private setFromColor;
|
|
18
18
|
private setToColor;
|
|
19
|
-
redraw(
|
|
19
|
+
redraw(line: ILine): void;
|
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<FConnectionGradientComponent, never>;
|
|
21
21
|
static ɵcmp: i0.ɵɵComponentDeclaration<FConnectionGradientComponent, "linearGradient[fConnectionGradient]", never, {}, {}, never, never, false, never>;
|
|
22
22
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { IHasHostElement,
|
|
1
|
+
import { IHasHostElement, ILine } from '@foblex/core';
|
|
2
2
|
import { InjectionToken } from '@angular/core';
|
|
3
3
|
export declare const CONNECTION_GRADIENT: InjectionToken<IConnectionGradient>;
|
|
4
4
|
export interface IConnectionGradient extends IHasHostElement {
|
|
5
5
|
initialize(): void;
|
|
6
|
-
redraw(
|
|
6
|
+
redraw(line: ILine): void;
|
|
7
7
|
}
|
|
@@ -6,8 +6,6 @@ export * from './f-path';
|
|
|
6
6
|
export * from './f-selection';
|
|
7
7
|
export * from './mixins';
|
|
8
8
|
export * from './f-connection-base';
|
|
9
|
-
export * from './cast-to-connection-behavior';
|
|
10
|
-
export * from './cast-to-connection-type';
|
|
11
9
|
export * from './e-f-connection-behavior';
|
|
12
10
|
export * from './e-f-connection-type';
|
|
13
11
|
export * from './f-connection-identifiers';
|
|
@@ -32,7 +32,7 @@ export declare class FConnectionComponent extends FConnectionBase implements OnI
|
|
|
32
32
|
set fOffset(value: number);
|
|
33
33
|
get fOffset(): number;
|
|
34
34
|
private _behavior;
|
|
35
|
-
set fBehavior(value: EFConnectionBehavior);
|
|
35
|
+
set fBehavior(value: string | EFConnectionBehavior);
|
|
36
36
|
get fBehavior(): EFConnectionBehavior;
|
|
37
37
|
private _type;
|
|
38
38
|
set fType(value: EFConnectionType | string);
|
|
@@ -26,7 +26,7 @@ export declare class FConnectionForCreateComponent extends FConnectionBase imple
|
|
|
26
26
|
set fOffset(value: number);
|
|
27
27
|
get fOffset(): number;
|
|
28
28
|
private _behavior;
|
|
29
|
-
set fBehavior(value: EFConnectionBehavior);
|
|
29
|
+
set fBehavior(value: EFConnectionBehavior | string);
|
|
30
30
|
get fBehavior(): EFConnectionBehavior;
|
|
31
31
|
private _type;
|
|
32
32
|
set fType(value: EFConnectionType | string);
|
package/f-connection/index.d.ts
CHANGED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FConnectionDragHandleComponent, FConnectionGradientComponent, FConnectionPathComponent, FConnectionSelectionComponent, FConnectionTextComponent, FConnectionTextPathDirective } from './common';
|
|
2
|
+
import { FConnectionComponent } from './f-connection';
|
|
3
|
+
import { FConnectionCenterDirective } from './f-connection-center';
|
|
4
|
+
import { FConnectionForCreateComponent } from './f-connection-for-create';
|
|
5
|
+
import { FMarkerDirective } from './f-marker';
|
|
6
|
+
export declare const F_CONNECTION_PROVIDERS: (typeof FConnectionTextPathDirective | typeof FConnectionTextComponent | typeof FConnectionDragHandleComponent | typeof FConnectionGradientComponent | typeof FConnectionPathComponent | typeof FConnectionSelectionComponent | typeof FMarkerDirective | typeof FConnectionCenterDirective | typeof FConnectionForCreateComponent | typeof FConnectionComponent)[];
|
package/f-connectors/index.d.ts
CHANGED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { FNodeInputDirective } from './f-node-input';
|
|
2
|
+
import { FNodeOutletDirective } from './f-node-outlet';
|
|
3
|
+
import { FNodeOutputDirective } from './f-node-output';
|
|
4
|
+
export declare const F_CONNECTORS_PROVIDERS: (typeof FNodeInputDirective | typeof FNodeOutletDirective | typeof FNodeOutputDirective)[];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CanvasMoveFinalizeRequest } from './canvas-move-finalize.request';
|
|
2
|
+
import { IExecution } from '../../../infrastructure';
|
|
3
|
+
import { FDraggableDataContext } from '../../f-draggable-data-context';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class CanvasMoveFinalizeExecution implements IExecution<CanvasMoveFinalizeRequest, void> {
|
|
6
|
+
private fDraggableDataContext;
|
|
7
|
+
constructor(fDraggableDataContext: FDraggableDataContext);
|
|
8
|
+
handle(request: CanvasMoveFinalizeRequest): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CanvasMoveFinalizeExecution, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CanvasMoveFinalizeExecution>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CanvasMoveFinalizeRequest } from './canvas-move-finalize.request';
|
|
2
|
+
import { IValidator } from '../../../infrastructure';
|
|
3
|
+
import { FDraggableDataContext } from '../../f-draggable-data-context';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class CanvasMoveFinalizeValidator implements IValidator<CanvasMoveFinalizeRequest> {
|
|
6
|
+
private fDraggableDataContext;
|
|
7
|
+
constructor(fDraggableDataContext: FDraggableDataContext);
|
|
8
|
+
handle(request: CanvasMoveFinalizeRequest): boolean;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CanvasMoveFinalizeValidator, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CanvasMoveFinalizeValidator>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { CanvasMoveFinalizeExecution } from './canvas-move-finalize.execution';
|
|
2
|
+
import { CanvasMoveFinalizeValidator } from './canvas-move-finalize.validator';
|
|
3
|
+
export declare const CANVAS_MOVE_FINALIZE_PROVIDERS: (typeof CanvasMoveFinalizeExecution | typeof CanvasMoveFinalizeValidator)[];
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CanvasMovePreparationRequest } from './canvas-move-preparation.request';
|
|
2
|
+
import { IExecution } from '../../../infrastructure';
|
|
3
|
+
import { FComponentsStore } from '../../../f-storage';
|
|
4
|
+
import { FDraggableDataContext } from '../../f-draggable-data-context';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class CanvasMovePreparationExecution implements IExecution<CanvasMovePreparationRequest, void> {
|
|
7
|
+
private fComponentsStore;
|
|
8
|
+
private fDraggableDataContext;
|
|
9
|
+
private get flowHost();
|
|
10
|
+
constructor(fComponentsStore: FComponentsStore, fDraggableDataContext: FDraggableDataContext);
|
|
11
|
+
handle(request: CanvasMovePreparationRequest): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CanvasMovePreparationExecution, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CanvasMovePreparationExecution>;
|
|
14
|
+
}
|