@foblex/flow 17.2.0 → 17.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/domain/f-connection/redraw-connections/redraw-connections.execution.d.ts +7 -7
- package/domain/f-connectors/find-input-at-position/find-input-at-position.execution.d.ts +3 -2
- package/domain/f-connectors/providers.d.ts +1 -1
- package/domain/f-draggable/start-drag-sequence/start-drag-sequence.execution.d.ts +1 -1
- package/domain/f-selection/get-current-selection/i-current-selection.d.ts +3 -3
- package/domain/providers.d.ts +1 -1
- package/esm2022/domain/f-connection/redraw-connections/redraw-connections.execution.mjs +42 -37
- package/esm2022/domain/f-connectors/find-input-at-position/find-input-at-position.execution.mjs +13 -10
- package/esm2022/domain/f-draggable/emit-selection-change-event/emit-selection-change-event.execution.mjs +2 -2
- package/esm2022/domain/f-draggable/start-drag-sequence/start-drag-sequence.execution.mjs +6 -3
- package/esm2022/domain/f-selection/get-current-selection/get-current-selection.execution.mjs +4 -4
- package/esm2022/domain/f-selection/get-current-selection/i-current-selection.mjs +1 -1
- package/esm2022/f-draggable/domain/f-drag-started-event.mjs +9 -0
- package/esm2022/f-draggable/domain/index.mjs +2 -1
- package/esm2022/f-draggable/f-canvas/f-canvas.drag-handler.mjs +19 -0
- package/esm2022/f-draggable/f-canvas/index.mjs +5 -0
- package/esm2022/f-draggable/f-canvas/move-finalize/f-canvas-move-finalize.execution.mjs +29 -0
- package/esm2022/f-draggable/f-canvas/move-finalize/f-canvas-move-finalize.request.mjs +7 -0
- package/esm2022/f-draggable/f-canvas/move-finalize/index.mjs +3 -0
- package/esm2022/f-draggable/f-canvas/move-preparation/f-canvas-move-preparation.execution.mjs +53 -0
- package/esm2022/f-draggable/f-canvas/move-preparation/f-canvas-move-preparation.request.mjs +7 -0
- package/esm2022/f-draggable/f-canvas/move-preparation/index.mjs +3 -0
- package/esm2022/f-draggable/f-canvas/providers.mjs +7 -0
- package/esm2022/f-draggable/f-connection/f-create-connection/create-finalize/f-create-connection-finalize.execution.mjs +61 -0
- package/esm2022/f-draggable/f-connection/f-create-connection/create-finalize/f-create-connection-finalize.request.mjs +7 -0
- package/esm2022/f-draggable/f-connection/f-create-connection/create-finalize/index.mjs +3 -0
- package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/drag-handler-preparation/f-create-connection-drag-handler-preparation.execution.mjs +40 -0
- package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/drag-handler-preparation/f-create-connection-drag-handler-preparation.request.mjs +9 -0
- package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/drag-handler-preparation/index.mjs +3 -0
- package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/f-create-connection-preparation.execution.mjs +48 -0
- package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/f-create-connection-preparation.request.mjs +9 -0
- package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/from-outlet-preparation/f-create-connection-from-outlet-preparation.execution.mjs +54 -0
- package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/from-outlet-preparation/f-create-connection-from-outlet-preparation.request.mjs +9 -0
- package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/from-outlet-preparation/index.mjs +3 -0
- package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/from-output-preparation/f-create-connection-from-output-preparation.execution.mjs +49 -0
- package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/from-output-preparation/f-create-connection-from-output-preparation.request.mjs +9 -0
- package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/from-output-preparation/index.mjs +3 -0
- package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/index.mjs +6 -0
- package/esm2022/f-draggable/f-connection/f-create-connection/f-create-connection.drag-handler.mjs +95 -0
- package/esm2022/f-draggable/f-connection/f-create-connection/f-create-connection.event.mjs +11 -0
- package/esm2022/f-draggable/f-connection/f-create-connection/get-first-connectable-output/get-first-connectable-output.execution.mjs +47 -0
- package/esm2022/f-draggable/f-connection/f-create-connection/get-first-connectable-output/get-first-connectable-output.request.mjs +7 -0
- package/esm2022/f-draggable/f-connection/f-create-connection/get-first-connectable-output/index.mjs +3 -0
- package/esm2022/f-draggable/f-connection/f-create-connection/i-f-create-connection-drag-result.mjs +2 -0
- package/esm2022/f-draggable/f-connection/f-create-connection/index.mjs +7 -0
- package/esm2022/f-draggable/f-connection/f-reassign-connection/f-reassign-connection.drag-handler.mjs +105 -0
- package/esm2022/f-draggable/f-connection/f-reassign-connection/f-reassign-connection.event.mjs +15 -0
- package/esm2022/f-draggable/f-connection/f-reassign-connection/i-f-reassign-connection-drag-result.mjs +2 -0
- package/esm2022/f-draggable/f-connection/f-reassign-connection/index.mjs +6 -0
- package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-connection-finalize/f-reassign-connection-finalize.execution.mjs +63 -0
- package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-connection-finalize/f-reassign-connection-finalize.request.mjs +7 -0
- package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-connection-finalize/index.mjs +3 -0
- package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-connection-preparation/f-reassign-connection-preparation.execution.mjs +72 -0
- package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-connection-preparation/f-reassign-connection-preparation.request.mjs +9 -0
- package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-connection-preparation/index.mjs +3 -0
- package/esm2022/f-draggable/f-connection/index.mjs +4 -0
- package/esm2022/f-draggable/f-connection/providers.mjs +13 -0
- package/esm2022/f-draggable/f-drag-handler/f-drag-handler-result.mjs +20 -0
- package/esm2022/f-draggable/f-drag-handler/i-f-drag-handler.mjs +2 -0
- package/esm2022/f-draggable/f-drag-handler/index.mjs +3 -0
- 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 +21 -16
- package/esm2022/f-draggable/f-selection-change-event.mjs +8 -8
- package/esm2022/f-draggable/f-single-select/f-single-select.execution.mjs +137 -0
- package/esm2022/f-draggable/f-single-select/f-single-select.request.mjs +9 -0
- package/esm2022/f-draggable/f-single-select/index.mjs +4 -0
- package/esm2022/f-draggable/f-single-select/providers.mjs +5 -0
- package/esm2022/f-draggable/index.mjs +5 -6
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.execution.mjs +1 -1
- package/esm2022/f-draggable/node/line-alignment.drag-handler.mjs +2 -1
- package/esm2022/f-draggable/node/node-drag-to-parent.drag-handler.mjs +2 -1
- package/esm2022/f-draggable/node/node-move-finalize/node-move-finalize.execution.mjs +1 -1
- package/esm2022/f-draggable/node/node.drag-handler.mjs +2 -1
- package/esm2022/f-draggable/node/summary-node.drag-handler.mjs +6 -1
- package/esm2022/f-draggable/node-resize/node-resize.drag-handler.mjs +6 -1
- package/esm2022/f-draggable/providers.mjs +4 -4
- package/esm2022/f-external-item/domain/create-placeholder/f-external-item-create-placeholder.execution.mjs +41 -0
- package/esm2022/f-external-item/domain/create-placeholder/f-external-item-create-placeholder.request.mjs +7 -0
- package/esm2022/f-external-item/domain/create-placeholder/index.mjs +3 -0
- package/esm2022/f-external-item/domain/create-preview/f-external-item-create-preview.execution.mjs +52 -0
- package/esm2022/f-external-item/domain/create-preview/f-external-item-create-preview.request.mjs +7 -0
- package/esm2022/f-external-item/domain/create-preview/index.mjs +3 -0
- package/esm2022/f-external-item/domain/f-external-item.drag-handler.mjs +71 -0
- package/esm2022/f-external-item/domain/finalize/f-external-item-finalize.execution.mjs +62 -0
- package/esm2022/f-external-item/domain/finalize/f-external-item-finalize.request.mjs +7 -0
- package/esm2022/f-external-item/domain/finalize/index.mjs +3 -0
- package/esm2022/f-external-item/domain/i-f-external-item-drag-result.mjs +2 -0
- package/esm2022/f-external-item/domain/index.mjs +7 -4
- package/esm2022/f-external-item/domain/preparation/f-external-item-preparation.execution.mjs +47 -0
- package/esm2022/f-external-item/domain/preparation/f-external-item-preparation.request.mjs +7 -0
- package/esm2022/f-external-item/domain/preparation/index.mjs +3 -0
- package/esm2022/f-external-item/domain/providers.mjs +9 -5
- package/esm2022/f-external-item/f-external-item-base.mjs +2 -3
- package/esm2022/f-external-item/f-external-item-placeholder.directive.mjs +26 -0
- package/esm2022/f-external-item/f-external-item-preview.directive.mjs +26 -0
- package/esm2022/f-external-item/f-external-item-token.mjs +3 -0
- package/esm2022/f-external-item/f-external-item.directive.mjs +25 -17
- package/esm2022/f-external-item/f-external-item.service.mjs +6 -6
- package/esm2022/f-external-item/index.mjs +6 -4
- package/esm2022/f-flow.module.mjs +13 -17
- package/esm2022/f-minimap/domain/f-minimap.drag-handler.mjs +2 -1
- package/esm2022/f-selection-area/domain/selection-area.drag-handle.mjs +2 -1
- package/esm2022/f-selection-area/f-selection-area.component.mjs +1 -1
- package/esm2022/f-zoom/f-zoom.directive.mjs +7 -1
- package/f-connection/providers.d.ts +1 -1
- package/f-draggable/domain/f-drag-started-event.d.ts +5 -0
- package/f-draggable/domain/index.d.ts +1 -0
- package/f-draggable/f-canvas/f-canvas.drag-handler.d.ts +10 -0
- package/f-draggable/f-canvas/index.d.ts +4 -0
- package/f-draggable/f-canvas/move-finalize/f-canvas-move-finalize.execution.d.ts +10 -0
- package/f-draggable/{canvas/canvas-move-finalize/canvas-move-finalize.request.d.ts → f-canvas/move-finalize/f-canvas-move-finalize.request.d.ts} +1 -1
- package/f-draggable/f-canvas/move-finalize/index.d.ts +2 -0
- package/f-draggable/f-canvas/move-preparation/f-canvas-move-preparation.execution.d.ts +15 -0
- package/{f-external-item/domain/external-item-finalize/external-item-finalize.request.d.ts → f-draggable/f-canvas/move-preparation/f-canvas-move-preparation.request.d.ts} +1 -1
- package/f-draggable/f-canvas/move-preparation/index.d.ts +2 -0
- package/f-draggable/f-canvas/providers.d.ts +3 -0
- package/f-draggable/f-connection/f-create-connection/create-finalize/f-create-connection-finalize.execution.d.ts +19 -0
- package/f-draggable/f-connection/f-create-connection/create-finalize/f-create-connection-finalize.request.d.ts +5 -0
- package/f-draggable/f-connection/f-create-connection/create-finalize/index.d.ts +2 -0
- package/f-draggable/f-connection/f-create-connection/create-preparation/drag-handler-preparation/f-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 → f-connection/f-create-connection/create-preparation/drag-handler-preparation/f-create-connection-drag-handler-preparation.request.d.ts} +1 -1
- package/f-draggable/f-connection/f-create-connection/create-preparation/drag-handler-preparation/index.d.ts +2 -0
- package/f-draggable/f-connection/f-create-connection/create-preparation/f-create-connection-preparation.execution.d.ts +15 -0
- package/f-draggable/{connections/create-connection/create-connection-preparation/create-connection-preparation.request.d.ts → f-connection/f-create-connection/create-preparation/f-create-connection-preparation.request.d.ts} +1 -1
- package/f-draggable/f-connection/f-create-connection/create-preparation/from-outlet-preparation/f-create-connection-from-outlet-preparation.execution.d.ts +14 -0
- package/f-draggable/{connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.request.d.ts → f-connection/f-create-connection/create-preparation/from-outlet-preparation/f-create-connection-from-outlet-preparation.request.d.ts} +1 -1
- package/f-draggable/f-connection/f-create-connection/create-preparation/from-outlet-preparation/index.d.ts +2 -0
- package/f-draggable/f-connection/f-create-connection/create-preparation/from-output-preparation/f-create-connection-from-output-preparation.execution.d.ts +14 -0
- package/f-draggable/{connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.request.d.ts → f-connection/f-create-connection/create-preparation/from-output-preparation/f-create-connection-from-output-preparation.request.d.ts} +1 -1
- package/f-draggable/f-connection/f-create-connection/create-preparation/from-output-preparation/index.d.ts +2 -0
- package/f-draggable/f-connection/f-create-connection/create-preparation/index.d.ts +5 -0
- package/f-draggable/{connections/create-connection/create-connection.drag-handler.d.ts → f-connection/f-create-connection/f-create-connection.drag-handler.d.ts} +5 -4
- package/f-draggable/f-connection/f-create-connection/get-first-connectable-output/get-first-connectable-output.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 → f-connection/f-create-connection/get-first-connectable-output/get-first-connectable-output.request.d.ts} +1 -1
- package/f-draggable/f-connection/f-create-connection/get-first-connectable-output/index.d.ts +2 -0
- package/f-draggable/{connections/i-create-reassign-connection-drag-data.d.ts → f-connection/f-create-connection/i-f-create-connection-drag-result.d.ts} +2 -2
- package/f-draggable/f-connection/f-create-connection/index.d.ts +6 -0
- package/f-draggable/{connections/reassign-connection/reassign-connection.drag-handler.d.ts → f-connection/f-reassign-connection/f-reassign-connection.drag-handler.d.ts} +5 -5
- package/f-draggable/f-connection/f-reassign-connection/i-f-reassign-connection-drag-result.d.ts +8 -0
- package/f-draggable/{connections/reassign-connection → f-connection/f-reassign-connection}/index.d.ts +2 -1
- package/f-draggable/f-connection/f-reassign-connection/reassign-connection-finalize/f-reassign-connection-finalize.execution.d.ts +20 -0
- package/f-draggable/{connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.request.d.ts → f-connection/f-reassign-connection/reassign-connection-finalize/f-reassign-connection-finalize.request.d.ts} +1 -1
- package/f-draggable/f-connection/f-reassign-connection/reassign-connection-finalize/index.d.ts +2 -0
- package/f-draggable/{connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.execution.d.ts → f-connection/f-reassign-connection/reassign-connection-preparation/f-reassign-connection-preparation.execution.d.ts} +5 -5
- package/f-draggable/{connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.request.d.ts → f-connection/f-reassign-connection/reassign-connection-preparation/f-reassign-connection-preparation.request.d.ts} +1 -1
- package/f-draggable/f-connection/f-reassign-connection/reassign-connection-preparation/index.d.ts +2 -0
- package/f-draggable/f-connection/index.d.ts +3 -0
- package/f-draggable/f-connection/providers.d.ts +3 -0
- package/f-draggable/f-drag-handler/f-drag-handler-result.d.ts +9 -0
- package/f-draggable/{i-draggable-item.d.ts → f-drag-handler/i-f-drag-handler.d.ts} +3 -2
- package/f-draggable/f-drag-handler/index.d.ts +2 -0
- package/f-draggable/f-draggable-base.d.ts +3 -3
- package/f-draggable/f-draggable-data-context.d.ts +2 -2
- package/f-draggable/f-draggable.directive.d.ts +4 -3
- package/f-draggable/f-selection-change-event.d.ts +4 -4
- package/f-draggable/{single-select/single-select.execution.d.ts → f-single-select/f-single-select.execution.d.ts} +5 -5
- package/f-draggable/{single-select/single-select.request.d.ts → f-single-select/f-single-select.request.d.ts} +1 -1
- package/f-draggable/f-single-select/index.d.ts +3 -0
- package/f-draggable/f-single-select/providers.d.ts +2 -0
- package/f-draggable/index.d.ts +4 -5
- package/f-draggable/node/line-alignment.drag-handler.d.ts +3 -2
- package/f-draggable/node/node-drag-to-parent.drag-handler.d.ts +3 -2
- package/f-draggable/node/node.drag-handler.d.ts +3 -2
- package/f-draggable/node/summary-node.drag-handler.d.ts +4 -2
- package/f-draggable/node-resize/node-resize.drag-handler.d.ts +4 -2
- package/f-draggable/providers.d.ts +1 -1
- package/f-external-item/domain/create-placeholder/f-external-item-create-placeholder.execution.d.ts +13 -0
- package/f-external-item/domain/create-placeholder/f-external-item-create-placeholder.request.d.ts +5 -0
- package/f-external-item/domain/create-placeholder/index.d.ts +2 -0
- package/f-external-item/domain/create-preview/f-external-item-create-preview.execution.d.ts +14 -0
- package/f-external-item/domain/create-preview/f-external-item-create-preview.request.d.ts +5 -0
- package/f-external-item/domain/create-preview/index.d.ts +2 -0
- package/f-external-item/domain/f-external-item.drag-handler.d.ts +24 -0
- package/f-external-item/domain/finalize/f-external-item-finalize.execution.d.ts +21 -0
- package/{f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.request.d.ts → f-external-item/domain/finalize/f-external-item-finalize.request.d.ts} +1 -1
- package/f-external-item/domain/finalize/index.d.ts +2 -0
- package/f-external-item/domain/i-f-external-item-drag-result.d.ts +5 -0
- package/f-external-item/domain/index.d.ts +6 -3
- package/f-external-item/domain/preparation/f-external-item-preparation.execution.d.ts +15 -0
- package/{f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.request.d.ts → f-external-item/domain/preparation/f-external-item-preparation.request.d.ts} +1 -1
- package/f-external-item/domain/preparation/index.d.ts +2 -0
- package/f-external-item/domain/providers.d.ts +5 -1
- package/f-external-item/f-external-item-base.d.ts +4 -2
- package/f-external-item/f-external-item-placeholder.directive.d.ts +10 -0
- package/f-external-item/f-external-item-preview.directive.d.ts +10 -0
- package/f-external-item/f-external-item-token.d.ts +3 -0
- package/f-external-item/f-external-item.directive.d.ts +9 -6
- package/f-external-item/f-external-item.service.d.ts +1 -1
- package/f-external-item/index.d.ts +5 -3
- package/f-flow.module.d.ts +14 -15
- package/f-minimap/domain/f-minimap.drag-handler.d.ts +3 -2
- package/f-minimap/domain/providers.d.ts +1 -1
- package/f-node/providers.d.ts +1 -1
- package/f-selection-area/domain/selection-area.drag-handle.d.ts +3 -2
- package/f-zoom/f-zoom.directive.d.ts +3 -0
- package/fesm2022/foblex-flow.mjs +1185 -970
- package/fesm2022/foblex-flow.mjs.map +1 -1
- package/package.json +2 -2
- package/esm2022/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.execution.mjs +0 -29
- package/esm2022/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.request.mjs +0 -7
- package/esm2022/f-draggable/canvas/canvas-move-finalize/index.mjs +0 -3
- package/esm2022/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.execution.mjs +0 -55
- package/esm2022/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.request.mjs +0 -7
- package/esm2022/f-draggable/canvas/canvas-move-preparation/index.mjs +0 -3
- package/esm2022/f-draggable/canvas/canvas.drag-handler.mjs +0 -19
- package/esm2022/f-draggable/canvas/index.mjs +0 -5
- package/esm2022/f-draggable/canvas/providers.mjs +0 -7
- package/esm2022/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.execution.mjs +0 -68
- package/esm2022/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.request.mjs +0 -7
- package/esm2022/f-draggable/connections/create-connection/create-connection-finalize/index.mjs +0 -3
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler-preparation/create-connection-drag-handler-preparation.execution.mjs +0 -40
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler-preparation/create-connection-drag-handler-preparation.request.mjs +0 -9
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler-preparation/index.mjs +0 -3
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.execution.mjs +0 -54
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.request.mjs +0 -9
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/index.mjs +0 -3
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.execution.mjs +0 -49
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.request.mjs +0 -9
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/index.mjs +0 -3
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.execution.mjs +0 -48
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.request.mjs +0 -9
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/index.mjs +0 -6
- package/esm2022/f-draggable/connections/create-connection/create-connection.drag-handler.mjs +0 -90
- package/esm2022/f-draggable/connections/create-connection/f-create-connection.event.mjs +0 -11
- package/esm2022/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.execution.mjs +0 -47
- package/esm2022/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.request.mjs +0 -7
- package/esm2022/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/index.mjs +0 -3
- package/esm2022/f-draggable/connections/create-connection/index.mjs +0 -6
- package/esm2022/f-draggable/connections/i-create-reassign-connection-drag-data.mjs +0 -2
- package/esm2022/f-draggable/connections/index.mjs +0 -5
- package/esm2022/f-draggable/connections/providers.mjs +0 -13
- package/esm2022/f-draggable/connections/reassign-connection/f-reassign-connection.event.mjs +0 -15
- package/esm2022/f-draggable/connections/reassign-connection/index.mjs +0 -5
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-finalize/index.mjs +0 -3
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.execution.mjs +0 -64
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.request.mjs +0 -7
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-preparation/index.mjs +0 -3
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.execution.mjs +0 -72
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.request.mjs +0 -9
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.mjs +0 -103
- package/esm2022/f-draggable/i-draggable-item.mjs +0 -2
- package/esm2022/f-draggable/single-select/index.mjs +0 -4
- package/esm2022/f-draggable/single-select/providers.mjs +0 -5
- package/esm2022/f-draggable/single-select/single-select.execution.mjs +0 -137
- package/esm2022/f-draggable/single-select/single-select.request.mjs +0 -9
- package/esm2022/f-external-item/domain/external-item-finalize/external-item-finalize.execution.mjs +0 -68
- package/esm2022/f-external-item/domain/external-item-finalize/external-item-finalize.request.mjs +0 -7
- package/esm2022/f-external-item/domain/external-item-finalize/index.mjs +0 -4
- package/esm2022/f-external-item/domain/external-item-finalize/providers.mjs +0 -5
- package/esm2022/f-external-item/domain/external-item-preparation/external-item-preparation.execution.mjs +0 -47
- package/esm2022/f-external-item/domain/external-item-preparation/external-item-preparation.request.mjs +0 -7
- package/esm2022/f-external-item/domain/external-item-preparation/index.mjs +0 -4
- package/esm2022/f-external-item/domain/external-item-preparation/providers.mjs +0 -5
- package/esm2022/f-external-item/domain/external-item.drag-handler.mjs +0 -40
- package/esm2022/f-external-item/providers.mjs +0 -5
- package/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.execution.d.ts +0 -10
- package/f-draggable/canvas/canvas-move-finalize/index.d.ts +0 -2
- package/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.execution.d.ts +0 -15
- package/f-draggable/canvas/canvas-move-preparation/index.d.ts +0 -2
- package/f-draggable/canvas/canvas.drag-handler.d.ts +0 -11
- package/f-draggable/canvas/index.d.ts +0 -4
- package/f-draggable/canvas/providers.d.ts +0 -3
- package/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.execution.d.ts +0 -23
- package/f-draggable/connections/create-connection/create-connection-finalize/index.d.ts +0 -2
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler-preparation/create-connection-drag-handler-preparation.execution.d.ts +0 -12
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler-preparation/index.d.ts +0 -2
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.execution.d.ts +0 -14
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/index.d.ts +0 -2
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.execution.d.ts +0 -14
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/index.d.ts +0 -2
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.execution.d.ts +0 -15
- package/f-draggable/connections/create-connection/create-connection-preparation/index.d.ts +0 -5
- package/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.execution.d.ts +0 -16
- package/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/index.d.ts +0 -2
- package/f-draggable/connections/create-connection/index.d.ts +0 -5
- package/f-draggable/connections/index.d.ts +0 -4
- package/f-draggable/connections/providers.d.ts +0 -3
- package/f-draggable/connections/reassign-connection/reassign-connection-finalize/index.d.ts +0 -2
- package/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.execution.d.ts +0 -20
- package/f-draggable/connections/reassign-connection/reassign-connection-preparation/index.d.ts +0 -2
- package/f-draggable/single-select/index.d.ts +0 -3
- package/f-draggable/single-select/providers.d.ts +0 -2
- package/f-external-item/domain/external-item-finalize/external-item-finalize.execution.d.ts +0 -24
- package/f-external-item/domain/external-item-finalize/index.d.ts +0 -3
- package/f-external-item/domain/external-item-finalize/providers.d.ts +0 -2
- package/f-external-item/domain/external-item-preparation/external-item-preparation.execution.d.ts +0 -15
- package/f-external-item/domain/external-item-preparation/external-item-preparation.request.d.ts +0 -5
- package/f-external-item/domain/external-item-preparation/index.d.ts +0 -3
- package/f-external-item/domain/external-item-preparation/providers.d.ts +0 -2
- package/f-external-item/domain/external-item.drag-handler.d.ts +0 -16
- package/f-external-item/providers.d.ts +0 -2
- /package/f-draggable/{connections/create-connection → f-connection/f-create-connection}/f-create-connection.event.d.ts +0 -0
- /package/f-draggable/{connections/reassign-connection → f-connection/f-reassign-connection}/f-reassign-connection.event.d.ts +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Point } from '@foblex/2d';
|
|
2
|
-
import {
|
|
2
|
+
import { IFDragHandler } from './f-drag-handler';
|
|
3
3
|
import { ISelectable } from '../mixins';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class FDraggableDataContext {
|
|
@@ -7,7 +7,7 @@ export declare class FDraggableDataContext {
|
|
|
7
7
|
isSelectedChanged: boolean;
|
|
8
8
|
onPointerDownScale: number;
|
|
9
9
|
onPointerDownPosition: Point;
|
|
10
|
-
draggableItems:
|
|
10
|
+
draggableItems: IFDragHandler[];
|
|
11
11
|
reset(): void;
|
|
12
12
|
markSelectionAsChanged(): void;
|
|
13
13
|
isEmpty(): boolean;
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { AfterViewInit, EventEmitter, OnDestroy, OnInit } from "@angular/core";
|
|
2
2
|
import { FDraggableBase } from './f-draggable-base';
|
|
3
3
|
import { FDropToGroupEvent } from './node';
|
|
4
|
-
import { FCreateConnectionEvent, FReassignConnectionEvent } from './
|
|
4
|
+
import { FCreateConnectionEvent, FReassignConnectionEvent } from './f-connection';
|
|
5
5
|
import { FSelectionChangeEvent } from './f-selection-change-event';
|
|
6
6
|
import { FEventTrigger } from '../domain';
|
|
7
7
|
import { FCreateNodeEvent } from '../f-external-item';
|
|
8
8
|
import { BrowserService } from '@foblex/platform';
|
|
9
9
|
import { ICanRunOutsideAngular, IPointerEvent } from '@foblex/drag-toolkit';
|
|
10
|
-
import { FNodeIntersectedWithConnections } from './domain';
|
|
10
|
+
import { FDragStartedEvent, FNodeIntersectedWithConnections } from './domain';
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
12
|
export declare class FDraggableDirective extends FDraggableBase implements OnInit, AfterViewInit, OnDestroy {
|
|
13
13
|
private _fBrowser;
|
|
14
14
|
private _elementReference;
|
|
15
|
+
private _fResult;
|
|
15
16
|
private _fMediator;
|
|
16
17
|
private _fPlatform;
|
|
17
18
|
private _injector;
|
|
@@ -30,7 +31,7 @@ export declare class FDraggableDirective extends FDraggableBase implements OnIni
|
|
|
30
31
|
vCellSize: number;
|
|
31
32
|
hCellSize: number;
|
|
32
33
|
fCellSizeWhileDragging: boolean;
|
|
33
|
-
fDragStarted: EventEmitter<
|
|
34
|
+
fDragStarted: EventEmitter<FDragStartedEvent>;
|
|
34
35
|
fDragEnded: EventEmitter<void>;
|
|
35
36
|
private plugins;
|
|
36
37
|
constructor(ngZone: ICanRunOutsideAngular, _fBrowser: BrowserService);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ICurrentSelection } from '../domain';
|
|
2
2
|
export declare class FSelectionChangeEvent implements ICurrentSelection {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
constructor(
|
|
3
|
+
fNodeIds: string[];
|
|
4
|
+
fGroupIds: string[];
|
|
5
|
+
fConnectionIds: string[];
|
|
6
|
+
constructor(fNodeIds: string[], fGroupIds: string[], fConnectionIds: string[]);
|
|
7
7
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IExecution } from '@foblex/mediator';
|
|
2
|
-
import {
|
|
2
|
+
import { FSingleSelectRequest } from './f-single-select.request';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
/**
|
|
5
5
|
* Implements the functionality for selecting elements in a graphical interface.
|
|
@@ -38,11 +38,11 @@ import * as i0 from "@angular/core";
|
|
|
38
38
|
* - Adding or removing an element from the selection triggers the corresponding methods.
|
|
39
39
|
* - Selection state is tracked in the shared context for future use.
|
|
40
40
|
*/
|
|
41
|
-
export declare class
|
|
41
|
+
export declare class FSingleSelectExecution implements IExecution<FSingleSelectRequest, void> {
|
|
42
42
|
private _fMediator;
|
|
43
43
|
private _fComponentsStore;
|
|
44
44
|
private _fDraggableDataContext;
|
|
45
|
-
handle(request:
|
|
45
|
+
handle(request: FSingleSelectRequest): void;
|
|
46
46
|
private _isValid;
|
|
47
47
|
private _isEventInFlowBounds;
|
|
48
48
|
private _getItemToSelect;
|
|
@@ -57,6 +57,6 @@ export declare class SingleSelectExecution implements IExecution<SingleSelectReq
|
|
|
57
57
|
private _deselectItem;
|
|
58
58
|
private _removeItemFromSelectedItems;
|
|
59
59
|
private _selectItem;
|
|
60
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
61
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
60
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FSingleSelectExecution, never>;
|
|
61
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FSingleSelectExecution>;
|
|
62
62
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IPointerEvent } from '@foblex/drag-toolkit';
|
|
2
2
|
import { FEventTrigger } from '../../domain';
|
|
3
|
-
export declare class
|
|
3
|
+
export declare class FSingleSelectRequest {
|
|
4
4
|
event: IPointerEvent;
|
|
5
5
|
fMultiSelectTrigger: FEventTrigger;
|
|
6
6
|
constructor(event: IPointerEvent, fMultiSelectTrigger: FEventTrigger);
|
package/f-draggable/index.d.ts
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
export * from './canvas';
|
|
2
|
-
export * from './
|
|
1
|
+
export * from './f-canvas';
|
|
2
|
+
export * from './f-drag-handler';
|
|
3
|
+
export * from './f-connection';
|
|
3
4
|
export * from './domain';
|
|
4
|
-
export * from '../domain/f-draggable/is-drag-started';
|
|
5
5
|
export * from './node';
|
|
6
6
|
export * from './node-resize';
|
|
7
|
-
export * from './single-select';
|
|
7
|
+
export * from './f-single-select';
|
|
8
8
|
export * from './f-draggable.directive';
|
|
9
9
|
export * from './f-draggable-base';
|
|
10
10
|
export * from './f-draggable-data-context';
|
|
11
11
|
export * from './f-injector';
|
|
12
12
|
export * from './f-selection-change-event';
|
|
13
13
|
export * from './i-f-drag-and-drop-plugin';
|
|
14
|
-
export * from './i-draggable-item';
|
|
15
14
|
export * from './providers';
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { IMinMaxPoint, IPoint, IRect, ISize } from '@foblex/2d';
|
|
2
|
-
import {
|
|
2
|
+
import { IFDragHandler } from '../index';
|
|
3
3
|
import { ILineAlignmentResult, LineService } from '../../f-line-alignment';
|
|
4
|
-
export declare class LineAlignmentDragHandler implements
|
|
4
|
+
export declare class LineAlignmentDragHandler implements IFDragHandler {
|
|
5
5
|
private _lineService;
|
|
6
6
|
private _size;
|
|
7
7
|
private _draggedNodeRect;
|
|
8
8
|
private _rects;
|
|
9
9
|
private _restrictions;
|
|
10
|
+
fEventType: string;
|
|
10
11
|
private _fComponentsStore;
|
|
11
12
|
private _debounceTimer;
|
|
12
13
|
private readonly _transform;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { IPoint } from '@foblex/2d';
|
|
2
|
-
import {
|
|
2
|
+
import { IFDragHandler } from '../f-drag-handler';
|
|
3
3
|
import { FComponentsStore } from '../../f-storage';
|
|
4
4
|
import { INodeWithRect } from '../domain';
|
|
5
5
|
import { FDraggableDataContext } from '../f-draggable-data-context';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class NodeDragToParentDragHandler implements
|
|
7
|
+
export declare class NodeDragToParentDragHandler implements IFDragHandler {
|
|
8
8
|
private fComponentsStore;
|
|
9
9
|
private fDraggableDataContext;
|
|
10
10
|
private notDraggedNodesRects;
|
|
11
|
+
fEventType: string;
|
|
11
12
|
private DEBOUNCE_TIME;
|
|
12
13
|
private get _transform();
|
|
13
14
|
private _onPointerDownPosition;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { IPoint } from '@foblex/2d';
|
|
2
|
-
import {
|
|
2
|
+
import { IFDragHandler } from '../f-drag-handler';
|
|
3
3
|
import { FNodeBase } from '../../f-node';
|
|
4
4
|
import { BaseConnectionDragHandler } from './connection-drag-handlers';
|
|
5
|
-
export declare class NodeDragHandler implements
|
|
5
|
+
export declare class NodeDragHandler implements IFDragHandler {
|
|
6
6
|
fNode: FNodeBase;
|
|
7
7
|
fSourceHandlers: BaseConnectionDragHandler[];
|
|
8
8
|
fTargetHandlers: BaseConnectionDragHandler[];
|
|
9
|
+
fEventType: string;
|
|
9
10
|
private readonly _onPointerDownPosition;
|
|
10
11
|
constructor(fNode: FNodeBase, fSourceHandlers?: BaseConnectionDragHandler[], fTargetHandlers?: BaseConnectionDragHandler[]);
|
|
11
12
|
onPointerMove(difference: IPoint): void;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { IMinMaxPoint, IPoint, IRect } from '@foblex/2d';
|
|
2
|
-
import {
|
|
2
|
+
import { IFDragHandler } from '../f-drag-handler';
|
|
3
3
|
import { NodeDragHandler } from './node.drag-handler';
|
|
4
|
-
export declare class SummaryNodeDragHandler implements
|
|
4
|
+
export declare class SummaryNodeDragHandler implements IFDragHandler {
|
|
5
5
|
limits: IMinMaxPoint;
|
|
6
6
|
fHandlers: NodeDragHandler[];
|
|
7
7
|
commonRect: IRect;
|
|
8
|
+
fEventType: string;
|
|
9
|
+
fData: any;
|
|
8
10
|
private _fComponentStore;
|
|
9
11
|
private readonly _fBoundsLimiter;
|
|
10
12
|
constructor(limits: IMinMaxPoint, fHandlers: NodeDragHandler[], commonRect: IRect);
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { IPoint } from '@foblex/2d';
|
|
2
|
-
import {
|
|
2
|
+
import { IFDragHandler } from '../f-drag-handler/i-f-drag-handler';
|
|
3
3
|
import { EFResizeHandleType, FNodeBase } from '../../f-node';
|
|
4
|
-
export declare class NodeResizeDragHandler implements
|
|
4
|
+
export declare class NodeResizeDragHandler implements IFDragHandler {
|
|
5
5
|
private _fNode;
|
|
6
6
|
private _fResizeHandleType;
|
|
7
|
+
fEventType: string;
|
|
8
|
+
fData: any;
|
|
7
9
|
private _fMediator;
|
|
8
10
|
private _originalRect;
|
|
9
11
|
private _resizeRestrictions;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const F_DRAGGABLE_PROVIDERS: (typeof import("
|
|
1
|
+
export declare const F_DRAGGABLE_PROVIDERS: (typeof import("./f-canvas").FCanvasMoveFinalizeExecution | typeof import("./f-canvas").FCanvasMovePreparationExecution | typeof import("./f-connection").FCreateConnectionFinalizeExecution | typeof import("./f-connection").FCreateConnectionDragHandlerPreparationExecution | typeof import("./f-connection").FCreateConnectionFromOutletPreparationExecution | typeof import("./f-connection").GetFirstConnectableOutputExecution | typeof import("./f-connection").FCreateConnectionFromOutputPreparationExecution | typeof import("./f-connection").FCreateConnectionPreparationExecution | typeof import("./f-connection").FReassignConnectionFinalizeExecution | typeof import("./f-connection").FReassignConnectionPreparationExecution | typeof import("./domain").GetNormalizedParentNodeRectExecution | typeof import("./domain").IsArrayHasParentNodeExecution | typeof import("./domain").IsConnectionUnderNodeExecution | typeof import("./f-single-select").FSingleSelectExecution | typeof import("../f-external-item").FExternalItemCreatePlaceholderExecution | typeof import("../f-external-item").FExternalItemCreatePreviewExecution | typeof import("../f-external-item").FExternalItemFinalizeExecution | typeof import("../f-external-item").FExternalItemPreparationExecution | typeof import("../f-external-item").PreventDefaultIsExternalItemExecution | typeof import("./node").CalculateCommonNodeMoveLimitsExecution | typeof import("./node").CalculateNodeMoveLimitsExecution | typeof import("./node").PutInputConnectionHandlersToArrayExecution | typeof import("./node").PutOutputConnectionHandlersToArrayExecution | typeof import("./node").CreateMoveNodesDragModelFromSelectionExecution | typeof import("./node").LineAlignmentPreparationExecution | typeof import("./node").NodeMoveFinalizeExecution | typeof import("./node").NodeMovePreparationExecution | typeof import("./node").NodeDragToParentPreparationExecution | typeof import("./node").NodeDragToParentFinalizeExecution | typeof import("./node-resize").ApplyChildResizeRestrictionsExecution | typeof import("./node-resize").ApplyParentResizeRestrictionsExecution | typeof import("./node-resize").CalculateChangedPositionExecution | typeof import("./node-resize").CalculateChangedSizeExecution | typeof import("./node-resize").GetNormalizedChildrenNodesRectExecution | typeof import("./node-resize").GetNodeResizeRestrictionsExecution | typeof import("./node-resize").NodeResizeFinalizeExecution | typeof import("./node-resize").NodeResizePreparationExecution | typeof import("../f-selection-area").SelectionAreaPreparationExecution | typeof import("../f-selection-area").SelectionAreaFinalizeExecution | typeof import("@foblex/flow").CalculateFlowPointFromMinimapPointExecution | typeof import("@foblex/flow").MinimapDragFinalizeExecution | typeof import("@foblex/flow").MinimapDragPreparationExecution | typeof import("@foblex/flow").MinimapDrawNodesExecution | typeof import("@foblex/flow").MinimapCalculateSvgScaleAndViewBoxExecution | typeof import("@foblex/flow").MinimapCalculateViewBoxExecution)[];
|
package/f-external-item/domain/create-placeholder/f-external-item-create-placeholder.execution.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FExternalItemCreatePlaceholderRequest } from './f-external-item-create-placeholder.request';
|
|
2
|
+
import { IExecution } from '@foblex/mediator';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class FExternalItemCreatePlaceholderExecution implements IExecution<FExternalItemCreatePlaceholderRequest, HTMLElement | SVGElement> {
|
|
5
|
+
private _fBrowser;
|
|
6
|
+
private _containerRef;
|
|
7
|
+
handle(request: FExternalItemCreatePlaceholderRequest): HTMLElement | SVGElement;
|
|
8
|
+
private _fromTemplate;
|
|
9
|
+
private _fromHost;
|
|
10
|
+
private _createViewRef;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FExternalItemCreatePlaceholderExecution, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FExternalItemCreatePlaceholderExecution>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { FExternalItemCreatePreviewRequest } from './f-external-item-create-preview.request';
|
|
2
|
+
import { IExecution } from '@foblex/mediator';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class FExternalItemCreatePreviewExecution implements IExecution<FExternalItemCreatePreviewRequest, HTMLElement | SVGElement> {
|
|
5
|
+
private _fBrowser;
|
|
6
|
+
private _containerRef;
|
|
7
|
+
handle(request: FExternalItemCreatePreviewRequest): HTMLElement | SVGElement;
|
|
8
|
+
private _fromTemplate;
|
|
9
|
+
private _fromHost;
|
|
10
|
+
private _createViewRef;
|
|
11
|
+
private _setPreviewStyles;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FExternalItemCreatePreviewExecution, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FExternalItemCreatePreviewExecution>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { IPoint } from '@foblex/2d';
|
|
2
|
+
import { FExternalItemBase } from '../../f-external-item';
|
|
3
|
+
import { IFDragHandler } from '../../f-draggable';
|
|
4
|
+
export declare class FExternalItemDragHandler implements IFDragHandler {
|
|
5
|
+
private _fExternalItem;
|
|
6
|
+
fEventType: string;
|
|
7
|
+
fData: any;
|
|
8
|
+
private _fResult;
|
|
9
|
+
private _fMediator;
|
|
10
|
+
private _fBrowser;
|
|
11
|
+
private _preview;
|
|
12
|
+
private _placeholder;
|
|
13
|
+
private _onPointerDownRect;
|
|
14
|
+
private get _fItemHost();
|
|
15
|
+
constructor(_fExternalItem: FExternalItemBase);
|
|
16
|
+
prepareDragSequence(): void;
|
|
17
|
+
private _createAndAppendPreview;
|
|
18
|
+
private _createAndAppendPlaceholder;
|
|
19
|
+
private _matchElementSize;
|
|
20
|
+
private _setFResultData;
|
|
21
|
+
private _getExternalItemRect;
|
|
22
|
+
onPointerMove(difference: IPoint): void;
|
|
23
|
+
onPointerUp(): void;
|
|
24
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { FExternalItemFinalizeRequest } from './f-external-item-finalize.request';
|
|
2
|
+
import { IExecution } from '@foblex/mediator';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class FExternalItemFinalizeExecution implements IExecution<FExternalItemFinalizeRequest, void> {
|
|
5
|
+
private _fResult;
|
|
6
|
+
private _fMediator;
|
|
7
|
+
private _fComponentsStore;
|
|
8
|
+
private _fDraggableDataContext;
|
|
9
|
+
private _fBrowser;
|
|
10
|
+
private get _fHost();
|
|
11
|
+
private get _fCreateNode();
|
|
12
|
+
private get _fDragHandler();
|
|
13
|
+
handle(request: FExternalItemFinalizeRequest): void;
|
|
14
|
+
private _isValid;
|
|
15
|
+
private _getElementsFromPoint;
|
|
16
|
+
private _emitEvent;
|
|
17
|
+
private isPointerInCanvasRect;
|
|
18
|
+
private _getPreviewRect;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FExternalItemFinalizeExecution, never>;
|
|
20
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FExternalItemFinalizeExecution>;
|
|
21
|
+
}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
export * from './
|
|
2
|
-
export * from './
|
|
1
|
+
export * from './create-placeholder';
|
|
2
|
+
export * from './create-preview';
|
|
3
|
+
export * from './finalize';
|
|
4
|
+
export * from './preparation';
|
|
3
5
|
export * from './f-create-node.event';
|
|
4
6
|
export * from './prevent-default-is-external-item';
|
|
5
|
-
export * from './external-item.drag-handler';
|
|
7
|
+
export * from './f-external-item.drag-handler';
|
|
8
|
+
export * from './i-f-external-item-drag-result';
|
|
6
9
|
export * from './providers';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { FExternalItemPreparationRequest } from './f-external-item-preparation.request';
|
|
2
|
+
import { IExecution } from '@foblex/mediator';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class FExternalItemPreparationExecution implements IExecution<FExternalItemPreparationRequest, void> {
|
|
5
|
+
private _fExternalItemService;
|
|
6
|
+
private _fDraggableDataContext;
|
|
7
|
+
private _fComponentsStore;
|
|
8
|
+
private get _fHost();
|
|
9
|
+
handle(request: FExternalItemPreparationRequest): void;
|
|
10
|
+
private _isValid;
|
|
11
|
+
private _isValidExternalItem;
|
|
12
|
+
private _getExternalItem;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FExternalItemPreparationExecution, never>;
|
|
14
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FExternalItemPreparationExecution>;
|
|
15
|
+
}
|
|
@@ -1,2 +1,6 @@
|
|
|
1
|
+
import { FExternalItemPreparationExecution } from './preparation';
|
|
2
|
+
import { FExternalItemFinalizeExecution } from './finalize';
|
|
1
3
|
import { PreventDefaultIsExternalItemExecution } from './prevent-default-is-external-item';
|
|
2
|
-
|
|
4
|
+
import { FExternalItemCreatePreviewExecution } from './create-preview';
|
|
5
|
+
import { FExternalItemCreatePlaceholderExecution } from './create-placeholder';
|
|
6
|
+
export declare const F_EXTERNAL_ITEM_DRAG_AND_DROP_PROVIDERS: (typeof FExternalItemCreatePlaceholderExecution | typeof FExternalItemCreatePreviewExecution | typeof FExternalItemFinalizeExecution | typeof FExternalItemPreparationExecution | typeof PreventDefaultIsExternalItemExecution)[];
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
2
|
import { IHasHostElement } from '../i-has-host-element';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare const F_EXTERNAL_ITEM: InjectionToken<FExternalItemBase<any>>;
|
|
5
4
|
export declare abstract class FExternalItemBase<TData = any> implements IHasHostElement {
|
|
6
5
|
abstract fExternalItemId: string;
|
|
7
6
|
abstract hostElement: HTMLElement | SVGElement;
|
|
8
7
|
abstract fData: TData | undefined;
|
|
9
8
|
abstract fDisabled: boolean;
|
|
9
|
+
abstract fPreview: TemplateRef<any> | undefined;
|
|
10
|
+
abstract fPreviewMatchSize: boolean;
|
|
11
|
+
abstract fPlaceholder: TemplateRef<any> | undefined;
|
|
10
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<FExternalItemBase<any>, never>;
|
|
11
13
|
static ɵdir: i0.ɵɵDirectiveDeclaration<FExternalItemBase<any>, never, never, {}, {}, never, never, false, never>;
|
|
12
14
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FExternalItemPlaceholderDirective<T = any> implements OnInit, OnDestroy {
|
|
4
|
+
private _fExternalItem;
|
|
5
|
+
private _templateRef;
|
|
6
|
+
ngOnInit(): void;
|
|
7
|
+
ngOnDestroy(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FExternalItemPlaceholderDirective<any>, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FExternalItemPlaceholderDirective<any>, "ng-template[fExternalItemPlaceholder]", never, {}, {}, never, never, true, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FExternalItemPreviewDirective<T = any> implements OnInit, OnDestroy {
|
|
4
|
+
private _fExternalItem;
|
|
5
|
+
private _templateRef;
|
|
6
|
+
ngOnInit(): void;
|
|
7
|
+
ngOnDestroy(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FExternalItemPreviewDirective<any>, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FExternalItemPreviewDirective<any>, "ng-template[fExternalItemPreview]", never, {}, {}, never, never, true, never>;
|
|
10
|
+
}
|
|
@@ -1,18 +1,21 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnDestroy, OnInit, TemplateRef } from '@angular/core';
|
|
2
2
|
import { FExternalItemBase } from './f-external-item-base';
|
|
3
|
-
import { FExternalItemService } from './f-external-item.service';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class FExternalItemDirective<TData> extends FExternalItemBase<TData> implements OnInit, OnDestroy {
|
|
6
|
-
private
|
|
7
|
-
private
|
|
5
|
+
private _elementReference;
|
|
6
|
+
private _fExternalItemService;
|
|
8
7
|
fExternalItemId: string;
|
|
9
8
|
get hostElement(): HTMLElement | SVGElement;
|
|
10
9
|
fData: TData | undefined;
|
|
11
10
|
fDisabled: boolean;
|
|
12
|
-
|
|
11
|
+
fPreview: TemplateRef<any> | undefined;
|
|
12
|
+
fPreviewMatchSize: boolean;
|
|
13
|
+
fPlaceholder: TemplateRef<any> | undefined;
|
|
13
14
|
ngOnInit(): void;
|
|
14
15
|
private disablePointerEvents;
|
|
15
16
|
ngOnDestroy(): void;
|
|
16
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<FExternalItemDirective<any>, never>;
|
|
17
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FExternalItemDirective<any>, "[fExternalItem]", never, { "fExternalItemId": { "alias": "fExternalItemId"; "required": false; }; "fData": { "alias": "fData"; "required": false; }; "fDisabled": { "alias": "fDisabled"; "required": false; }; }, {}, never, never,
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FExternalItemDirective<any>, "[fExternalItem]", never, { "fExternalItemId": { "alias": "fExternalItemId"; "required": false; }; "fData": { "alias": "fData"; "required": false; }; "fDisabled": { "alias": "fDisabled"; "required": false; }; "fPreview": { "alias": "fPreview"; "required": false; }; "fPreviewMatchSize": { "alias": "fPreviewMatchSize"; "required": false; }; "fPlaceholder": { "alias": "fPlaceholder"; "required": false; }; }, {}, never, never, true, never>;
|
|
19
|
+
static ngAcceptInputType_fDisabled: unknown;
|
|
20
|
+
static ngAcceptInputType_fPreviewMatchSize: unknown;
|
|
18
21
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FExternalItemBase } from './f-external-item-base';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class FExternalItemService {
|
|
4
|
-
private
|
|
4
|
+
private _items;
|
|
5
5
|
registerItem(item: FExternalItemBase): void;
|
|
6
6
|
getItem(element: HTMLElement | SVGElement): FExternalItemBase | undefined;
|
|
7
7
|
removeItem(item: FExternalItemBase): void;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export * from './domain';
|
|
2
|
-
export * from './f-external-item-base';
|
|
3
|
-
export * from './is-external-item';
|
|
4
2
|
export * from './f-external-item.directive';
|
|
5
3
|
export * from './f-external-item.service';
|
|
6
|
-
export * from './
|
|
4
|
+
export * from './f-external-item-base';
|
|
5
|
+
export * from './f-external-item-placeholder.directive';
|
|
6
|
+
export * from './f-external-item-preview.directive';
|
|
7
|
+
export * from './f-external-item-token';
|
|
8
|
+
export * from './is-external-item';
|
package/f-flow.module.d.ts
CHANGED
|
@@ -18,22 +18,21 @@ import * as i16 from "./f-connection/f-snap-connection/f-snap-connection.compone
|
|
|
18
18
|
import * as i17 from "./f-connectors/f-node-input/f-node-input.directive";
|
|
19
19
|
import * as i18 from "./f-connectors/f-node-outlet/f-node-outlet.directive";
|
|
20
20
|
import * as i19 from "./f-connectors/f-node-output/f-node-output.directive";
|
|
21
|
-
import * as i20 from "./f-
|
|
22
|
-
import * as i21 from "./f-
|
|
23
|
-
import * as i22 from "./f-
|
|
24
|
-
import * as i23 from "./f-minimap/f-minimap.
|
|
25
|
-
import * as i24 from "./f-minimap/f-minimap-
|
|
26
|
-
import * as i25 from "./f-minimap/f-minimap-
|
|
27
|
-
import * as i26 from "./f-
|
|
28
|
-
import * as i27 from "./f-node/f-
|
|
29
|
-
import * as i28 from "./f-node/f-
|
|
30
|
-
import * as i29 from "./f-node/f-
|
|
31
|
-
import * as i30 from "./f-
|
|
32
|
-
import * as i31 from "./f-
|
|
33
|
-
import * as i32 from "
|
|
34
|
-
import * as i33 from "@angular/common";
|
|
21
|
+
import * as i20 from "./f-flow/f-flow.component";
|
|
22
|
+
import * as i21 from "./f-line-alignment/f-line-alignment.component";
|
|
23
|
+
import * as i22 from "./f-minimap/f-minimap.component";
|
|
24
|
+
import * as i23 from "./f-minimap/f-minimap-canvas.directive";
|
|
25
|
+
import * as i24 from "./f-minimap/f-minimap-view.directive";
|
|
26
|
+
import * as i25 from "./f-minimap/f-minimap-flow.directive";
|
|
27
|
+
import * as i26 from "./f-node/f-group.directive";
|
|
28
|
+
import * as i27 from "./f-node/f-node.directive";
|
|
29
|
+
import * as i28 from "./f-node/f-drag-handle.directive";
|
|
30
|
+
import * as i29 from "./f-node/f-resize-handle/f-resize-handle.directive";
|
|
31
|
+
import * as i30 from "./f-selection-area/f-selection-area.component";
|
|
32
|
+
import * as i31 from "./f-draggable/f-draggable.directive";
|
|
33
|
+
import * as i32 from "@angular/common";
|
|
35
34
|
export declare class FFlowModule {
|
|
36
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<FFlowModule, never>;
|
|
37
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FFlowModule, [typeof i1.FBackgroundComponent, typeof i2.FRectPatternComponent, typeof i3.FCirclePatternComponent, typeof i4.FCanvasComponent, typeof i5.FZoomDirective, typeof i6.FConnectionTextComponent, typeof i7.FConnectionTextPathDirective, typeof i8.FConnectionDragHandleComponent, typeof i9.FConnectionGradientComponent, typeof i10.FConnectionPathComponent, typeof i11.FConnectionSelectionComponent, typeof i12.FConnectionComponent, typeof i13.FConnectionCenterDirective, typeof i14.FConnectionForCreateComponent, typeof i15.FMarkerDirective, typeof i16.FSnapConnectionComponent, typeof i17.FNodeInputDirective, typeof i18.FNodeOutletDirective, typeof i19.FNodeOutputDirective, typeof i20.
|
|
36
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FFlowModule, [typeof i1.FBackgroundComponent, typeof i2.FRectPatternComponent, typeof i3.FCirclePatternComponent, typeof i4.FCanvasComponent, typeof i5.FZoomDirective, typeof i6.FConnectionTextComponent, typeof i7.FConnectionTextPathDirective, typeof i8.FConnectionDragHandleComponent, typeof i9.FConnectionGradientComponent, typeof i10.FConnectionPathComponent, typeof i11.FConnectionSelectionComponent, typeof i12.FConnectionComponent, typeof i13.FConnectionCenterDirective, typeof i14.FConnectionForCreateComponent, typeof i15.FMarkerDirective, typeof i16.FSnapConnectionComponent, typeof i17.FNodeInputDirective, typeof i18.FNodeOutletDirective, typeof i19.FNodeOutputDirective, typeof i20.FFlowComponent, typeof i21.FLineAlignmentComponent, typeof i22.FMinimapComponent, typeof i23.FMinimapCanvasDirective, typeof i24.FMinimapViewDirective, typeof i25.FMinimapFlowDirective, typeof i26.FGroupDirective, typeof i27.FNodeDirective, typeof i28.FDragHandleDirective, typeof i29.FResizeHandleDirective, typeof i30.FSelectionAreaComponent, typeof i31.FDraggableDirective], [typeof i32.CommonModule], [typeof i1.FBackgroundComponent, typeof i2.FRectPatternComponent, typeof i3.FCirclePatternComponent, typeof i4.FCanvasComponent, typeof i5.FZoomDirective, typeof i6.FConnectionTextComponent, typeof i7.FConnectionTextPathDirective, typeof i8.FConnectionDragHandleComponent, typeof i9.FConnectionGradientComponent, typeof i10.FConnectionPathComponent, typeof i11.FConnectionSelectionComponent, typeof i12.FConnectionComponent, typeof i13.FConnectionCenterDirective, typeof i14.FConnectionForCreateComponent, typeof i15.FMarkerDirective, typeof i16.FSnapConnectionComponent, typeof i17.FNodeInputDirective, typeof i18.FNodeOutletDirective, typeof i19.FNodeOutputDirective, typeof i20.FFlowComponent, typeof i21.FLineAlignmentComponent, typeof i22.FMinimapComponent, typeof i23.FMinimapCanvasDirective, typeof i24.FMinimapViewDirective, typeof i25.FMinimapFlowDirective, typeof i26.FGroupDirective, typeof i27.FNodeDirective, typeof i28.FDragHandleDirective, typeof i29.FResizeHandleDirective, typeof i30.FSelectionAreaComponent, typeof i31.FDraggableDirective]>;
|
|
38
37
|
static ɵinj: i0.ɵɵInjectorDeclaration<FFlowModule>;
|
|
39
38
|
}
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { IPoint, IRect } from '@foblex/2d';
|
|
2
2
|
import { FComponentsStore } from '../../f-storage';
|
|
3
|
-
import {
|
|
3
|
+
import { IFDragHandler } from '../../f-draggable';
|
|
4
4
|
import { FMediator } from '@foblex/mediator';
|
|
5
5
|
import { FMinimapData } from './f-minimap-data';
|
|
6
|
-
export declare class FMinimapDragHandler implements
|
|
6
|
+
export declare class FMinimapDragHandler implements IFDragHandler {
|
|
7
7
|
private fComponentsStore;
|
|
8
8
|
private fMediator;
|
|
9
9
|
private flowRect;
|
|
10
10
|
private canvasPosition;
|
|
11
11
|
private eventPoint;
|
|
12
12
|
private minimap;
|
|
13
|
+
fEventType: string;
|
|
13
14
|
private lastDifference;
|
|
14
15
|
constructor(fComponentsStore: FComponentsStore, fMediator: FMediator, flowRect: IRect, canvasPosition: IPoint, eventPoint: IPoint, minimap: FMinimapData);
|
|
15
16
|
prepareDragSequence(): void;
|
|
@@ -2,4 +2,4 @@ import { CalculateFlowPointFromMinimapPointExecution } from './calculate-flow-po
|
|
|
2
2
|
import { MinimapDrawNodesExecution } from './minimap-draw-nodes';
|
|
3
3
|
import { MinimapCalculateViewBoxExecution } from './minimap-calculate-view-box';
|
|
4
4
|
import { MinimapCalculateSvgScaleAndViewBoxExecution } from './minimap-calculate-svg-scale-and-view-box';
|
|
5
|
-
export declare const F_MINIMAP_DRAG_AND_DROP_PROVIDERS: (typeof import("./minimap-drag-finalize").MinimapDragFinalizeExecution | typeof import("./minimap-drag-preparation").MinimapDragPreparationExecution | typeof
|
|
5
|
+
export declare const F_MINIMAP_DRAG_AND_DROP_PROVIDERS: (typeof CalculateFlowPointFromMinimapPointExecution | typeof import("./minimap-drag-finalize").MinimapDragFinalizeExecution | typeof import("./minimap-drag-preparation").MinimapDragPreparationExecution | typeof MinimapDrawNodesExecution | typeof MinimapCalculateSvgScaleAndViewBoxExecution | typeof MinimapCalculateViewBoxExecution)[];
|
package/f-node/providers.d.ts
CHANGED
|
@@ -2,4 +2,4 @@ import { FNodeDirective } from './f-node.directive';
|
|
|
2
2
|
import { FResizeHandleDirective } from './f-resize-handle';
|
|
3
3
|
import { FGroupDirective } from './f-group.directive';
|
|
4
4
|
import { FDragHandleDirective } from './f-drag-handle.directive';
|
|
5
|
-
export declare const F_NODE_PROVIDERS: (typeof
|
|
5
|
+
export declare const F_NODE_PROVIDERS: (typeof FGroupDirective | typeof FNodeDirective | typeof FDragHandleDirective | typeof FResizeHandleDirective)[];
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { IPoint } from '@foblex/2d';
|
|
2
2
|
import { FComponentsStore } from '../../f-storage';
|
|
3
3
|
import { FMediator } from '@foblex/mediator';
|
|
4
|
-
import { FDraggableDataContext,
|
|
4
|
+
import { FDraggableDataContext, IFDragHandler } from '../../f-draggable';
|
|
5
5
|
import { FSelectionAreaBase } from '../f-selection-area-base';
|
|
6
|
-
export declare class SelectionAreaDragHandle implements
|
|
6
|
+
export declare class SelectionAreaDragHandle implements IFDragHandler {
|
|
7
7
|
private _fComponentsStore;
|
|
8
8
|
private _fSelectionArea;
|
|
9
9
|
private _fDraggableDataContext;
|
|
10
10
|
private _fMediator;
|
|
11
|
+
fEventType: string;
|
|
11
12
|
private _canBeSelected;
|
|
12
13
|
private _selectedByMove;
|
|
13
14
|
private get _fCanvasPosition();
|