@foblex/flow 12.6.5 → 12.6.7
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/bundles/foblex-flow.umd.js +2068 -1809
- package/bundles/foblex-flow.umd.js.map +1 -1
- package/domain/create-connection-markers/create-connection-markers.execution.d.ts +5 -1
- package/domain/f-background/add-pattern-to-background/add-pattern-to-background.execution.d.ts +14 -0
- package/domain/f-background/add-pattern-to-background/add-pattern-to-background.request.d.ts +5 -0
- package/domain/f-background/add-pattern-to-background/index.d.ts +2 -0
- package/domain/f-background/index.d.ts +2 -0
- package/domain/f-background/providers.d.ts +2 -0
- package/domain/{center-group-or-node → f-canvas/center-group-or-node}/center-group-or-node.execution.d.ts +1 -1
- package/domain/f-canvas/fit-to-flow/fit-to-flow-request.d.ts +6 -0
- package/domain/f-canvas/fit-to-flow/fit-to-flow.execution.d.ts +16 -0
- package/domain/f-canvas/fit-to-flow/index.d.ts +2 -0
- package/domain/f-canvas/index.d.ts +8 -0
- package/domain/f-canvas/input-canvas-position/index.d.ts +2 -0
- package/domain/f-canvas/input-canvas-position/input-canvas-position-request.d.ts +6 -0
- package/domain/f-canvas/input-canvas-position/input-canvas-position.execution.d.ts +11 -0
- package/domain/f-canvas/input-canvas-scale/index.d.ts +2 -0
- package/domain/f-canvas/input-canvas-scale/input-canvas-scale-request.d.ts +6 -0
- package/domain/f-canvas/input-canvas-scale/input-canvas-scale.execution.d.ts +11 -0
- package/domain/f-canvas/providers.d.ts +8 -0
- package/domain/f-canvas/reset-scale/index.d.ts +2 -0
- package/domain/f-canvas/reset-scale/reset-scale-request.d.ts +2 -0
- package/domain/f-canvas/reset-scale/reset-scale.execution.d.ts +12 -0
- package/domain/f-canvas/reset-scale-and-center/index.d.ts +2 -0
- package/domain/f-canvas/reset-scale-and-center/reset-scale-and-center-request.d.ts +4 -0
- package/domain/f-canvas/reset-scale-and-center/reset-scale-and-center.execution.d.ts +16 -0
- package/domain/f-canvas/update-scale/index.d.ts +2 -0
- package/domain/f-canvas/update-scale/update-scale-request.d.ts +6 -0
- package/domain/f-canvas/update-scale/update-scale.execution.d.ts +12 -0
- package/domain/f-connection/find-closest-input-using-snap-threshold/find-closest-input-using-snap-threshold.execution.d.ts +11 -0
- package/domain/f-connection/find-closest-input-using-snap-threshold/find-closest-input-using-snap-threshold.request.d.ts +8 -0
- package/domain/f-connection/find-closest-input-using-snap-threshold/index.d.ts +2 -0
- package/domain/f-connection/get-all-can-be-connected-input-positions/get-all-can-be-connected-input-positions.execution.d.ts +21 -0
- package/domain/f-connection/get-all-can-be-connected-input-positions/get-all-can-be-connected-input-positions.request.d.ts +4 -0
- package/domain/f-connection/get-all-can-be-connected-input-positions/index.d.ts +2 -0
- package/domain/f-connection/get-connector-with-rect/get-connector-with-rect-request.d.ts +5 -0
- package/domain/f-connection/get-connector-with-rect/get-connector-with-rect.execution.d.ts +11 -0
- package/domain/f-connection/get-connector-with-rect/i-connector-with-rect.d.ts +6 -0
- package/domain/f-connection/get-connector-with-rect/index.d.ts +3 -0
- package/domain/f-connection/index.d.ts +4 -0
- package/domain/f-connection/providers.d.ts +4 -0
- package/domain/{clear-selection → f-selection/clear-selection}/clear-selection.execution.d.ts +1 -1
- package/domain/{get-selection → f-selection/get-selection}/get-selection.execution.d.ts +1 -1
- package/domain/f-selection/index.d.ts +6 -0
- package/domain/f-selection/providers.d.ts +6 -0
- package/domain/{select → f-selection/select}/select.execution.d.ts +2 -2
- package/domain/{select-all → f-selection/select-all}/select-all.execution.d.ts +2 -2
- package/domain/{select-and-update-node-layer → f-selection/select-and-update-node-layer}/select-and-update-node-layer.execution.d.ts +2 -2
- package/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.request.d.ts +5 -0
- package/domain/index.d.ts +4 -8
- package/domain/providers.d.ts +1 -9
- package/esm2015/domain/create-connection-markers/create-connection-markers.execution.js +10 -5
- package/esm2015/domain/f-background/add-pattern-to-background/add-pattern-to-background.execution.js +48 -0
- package/esm2015/domain/f-background/add-pattern-to-background/add-pattern-to-background.request.js +6 -0
- package/esm2015/domain/f-background/add-pattern-to-background/index.js +3 -0
- package/esm2015/domain/f-background/index.js +3 -0
- package/esm2015/domain/f-background/providers.js +5 -0
- package/esm2015/domain/f-canvas/center-group-or-node/center-group-or-node-request.js +7 -0
- package/esm2015/domain/f-canvas/center-group-or-node/center-group-or-node.execution.js +49 -0
- package/esm2015/domain/f-canvas/center-group-or-node/index.js +3 -0
- package/esm2015/domain/f-canvas/fit-to-flow/fit-to-flow-request.js +7 -0
- package/esm2015/domain/f-canvas/fit-to-flow/fit-to-flow.execution.js +56 -0
- package/esm2015/domain/f-canvas/fit-to-flow/index.js +3 -0
- package/esm2015/domain/f-canvas/index.js +9 -0
- package/esm2015/domain/f-canvas/input-canvas-position/index.js +3 -0
- package/esm2015/domain/f-canvas/input-canvas-position/input-canvas-position-request.js +7 -0
- package/esm2015/domain/f-canvas/input-canvas-position/input-canvas-position.execution.js +34 -0
- package/esm2015/domain/f-canvas/input-canvas-scale/index.js +3 -0
- package/esm2015/domain/f-canvas/input-canvas-scale/input-canvas-scale-request.js +7 -0
- package/esm2015/domain/f-canvas/input-canvas-scale/input-canvas-scale.execution.js +29 -0
- package/esm2015/domain/f-canvas/providers.js +17 -0
- package/esm2015/domain/f-canvas/reset-scale/index.js +3 -0
- package/esm2015/domain/f-canvas/reset-scale/reset-scale-request.js +3 -0
- package/esm2015/domain/f-canvas/reset-scale/reset-scale.execution.js +29 -0
- package/esm2015/domain/f-canvas/reset-scale-and-center/index.js +3 -0
- package/esm2015/domain/f-canvas/reset-scale-and-center/reset-scale-and-center-request.js +6 -0
- package/esm2015/domain/f-canvas/reset-scale-and-center/reset-scale-and-center.execution.js +51 -0
- package/esm2015/domain/f-canvas/update-scale/index.js +3 -0
- package/esm2015/domain/f-canvas/update-scale/update-scale-request.js +7 -0
- package/esm2015/domain/f-canvas/update-scale/update-scale.execution.js +34 -0
- package/esm2015/domain/f-connection/find-closest-input-using-snap-threshold/find-closest-input-using-snap-threshold.execution.js +39 -0
- package/esm2015/domain/f-connection/find-closest-input-using-snap-threshold/find-closest-input-using-snap-threshold.request.js +8 -0
- package/esm2015/domain/f-connection/find-closest-input-using-snap-threshold/index.js +3 -0
- package/esm2015/domain/f-connection/get-all-can-be-connected-input-positions/get-all-can-be-connected-input-positions.execution.js +55 -0
- package/esm2015/domain/f-connection/get-all-can-be-connected-input-positions/get-all-can-be-connected-input-positions.request.js +6 -0
- package/esm2015/domain/f-connection/get-all-can-be-connected-input-positions/index.js +3 -0
- package/esm2015/domain/f-connection/get-connector-with-rect/get-connector-with-rect-request.js +6 -0
- package/esm2015/domain/f-connection/get-connector-with-rect/get-connector-with-rect.execution.js +28 -0
- package/esm2015/domain/f-connection/get-connector-with-rect/i-connector-with-rect.js +2 -0
- package/esm2015/domain/f-connection/get-connector-with-rect/index.js +4 -0
- package/esm2015/domain/f-connection/index.js +5 -0
- package/esm2015/domain/f-connection/providers.js +9 -0
- package/esm2015/domain/f-selection/clear-selection/clear-selection.execution.js +26 -0
- package/esm2015/domain/f-selection/clear-selection/clear-selection.request.js +3 -0
- package/esm2015/domain/f-selection/clear-selection/index.js +3 -0
- package/esm2015/domain/f-selection/get-selection/get-selection.execution.js +35 -0
- package/esm2015/domain/f-selection/get-selection/get-selection.request.js +3 -0
- package/esm2015/domain/f-selection/get-selection/index.js +3 -0
- package/esm2015/domain/f-selection/index.js +7 -0
- package/esm2015/domain/f-selection/providers.js +13 -0
- package/esm2015/domain/f-selection/select/index.js +3 -0
- package/esm2015/domain/f-selection/select/select.execution.js +44 -0
- package/esm2015/domain/f-selection/select/select.request.js +7 -0
- package/esm2015/domain/f-selection/select-all/index.js +3 -0
- package/esm2015/domain/f-selection/select-all/select-all.execution.js +38 -0
- package/esm2015/domain/f-selection/select-all/select-all.request.js +3 -0
- package/esm2015/domain/f-selection/select-and-update-node-layer/index.js +3 -0
- package/esm2015/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.execution.js +35 -0
- package/esm2015/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.request.js +6 -0
- package/esm2015/domain/index.js +5 -9
- package/esm2015/domain/providers.js +9 -17
- package/esm2015/domain/redraw-connections/redraw-connections.execution.js +4 -1
- package/esm2015/f-backgroud/domain/i-f-background-pattern.js +1 -1
- package/esm2015/f-backgroud/f-background.component.js +10 -28
- package/esm2015/f-canvas/f-canvas-base.js +12 -15
- package/esm2015/f-canvas/f-canvas.component.js +20 -44
- package/esm2015/f-connection/common/f-connection-base.js +1 -1
- package/esm2015/f-connection/f-connection/f-connection.component.js +1 -6
- package/esm2015/f-connection/f-connection-for-create/f-connection-for-create.component.js +1 -6
- package/esm2015/f-connection/f-snap-connection/f-snap-connection.component.js +13 -9
- package/esm2015/f-connection/providers.js +4 -2
- package/esm2015/f-connectors/f-node-input/index.js +1 -2
- package/esm2015/f-draggable/canvas/canvas.drag-handler.js +2 -2
- package/esm2015/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.execution.js +5 -5
- package/esm2015/f-draggable/connections/create-connection/create-connection-finalize/index.js +1 -2
- package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.execution.js +4 -5
- package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/index.js +1 -2
- package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/index.js +1 -2
- package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/index.js +1 -2
- package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/index.js +1 -2
- package/esm2015/f-draggable/connections/create-connection/create-connection.drag-handler.js +50 -20
- package/esm2015/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/index.js +1 -2
- package/esm2015/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.execution.js +20 -9
- package/esm2015/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.validator.js +4 -4
- package/esm2015/f-draggable/connections/get-input-under-pointer/index.js +1 -2
- package/esm2015/f-draggable/connections/providers.js +20 -10
- package/esm2015/f-draggable/connections/reassign-connection/f-reassign-connection.event.js +3 -3
- package/esm2015/f-draggable/connections/reassign-connection/reassign-connection-finalize/index.js +1 -2
- package/esm2015/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.execution.js +4 -4
- package/esm2015/f-draggable/connections/reassign-connection/reassign-connection-preparation/index.js +1 -2
- package/esm2015/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.execution.js +2 -2
- package/esm2015/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.js +50 -23
- package/esm2015/f-draggable/node/connection-base-drag-handler.js +17 -19
- package/esm2015/f-draggable/node/connection-source.drag-handler.js +5 -4
- package/esm2015/f-draggable/node/connection-target.drag-handler.js +5 -4
- package/esm2015/f-draggable/node/connection.drag-handler.js +5 -4
- package/esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/put-input-connection-handlers-to-array.execution.js +3 -3
- package/esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/put-output-connection-handlers-to-array.execution.js +3 -3
- package/esm2015/f-draggable/node/node-move-preparation/node-move-preparation.execution.js +2 -2
- package/esm2015/f-draggable/providers.js +4 -4
- package/esm2015/f-flow/f-flow.component.js +9 -8
- package/esm2015/f-flow.module.js +18 -17
- package/esm2015/f-minimap/domain/f-minimap.drag-handler.js +2 -2
- package/esm2015/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.execution.js +2 -2
- package/esm2015/f-storage/f-components-store.js +1 -1
- package/esm2015/f-zoom/f-zoom-base.js +4 -4
- package/esm2015/mixins/index.js +1 -6
- package/f-backgroud/domain/i-f-background-pattern.d.ts +1 -0
- package/f-backgroud/f-background.component.d.ts +5 -4
- package/f-canvas/f-canvas-base.d.ts +8 -12
- package/f-canvas/f-canvas.component.d.ts +3 -1
- package/f-connection/common/f-connection-base.d.ts +0 -2
- package/f-connection/f-connection/f-connection.component.d.ts +0 -2
- package/f-connection/f-connection-for-create/f-connection-for-create.component.d.ts +0 -2
- package/f-connection/f-snap-connection/f-snap-connection.component.d.ts +2 -3
- package/f-connection/providers.d.ts +2 -1
- package/f-connectors/f-node-input/index.d.ts +0 -1
- package/f-draggable/connections/create-connection/create-connection-finalize/index.d.ts +0 -1
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/index.d.ts +0 -1
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/index.d.ts +0 -1
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/index.d.ts +0 -1
- package/f-draggable/connections/create-connection/create-connection-preparation/index.d.ts +0 -1
- package/f-draggable/connections/create-connection/create-connection.drag-handler.d.ts +14 -5
- package/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/index.d.ts +0 -1
- package/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.execution.d.ts +7 -4
- package/f-draggable/connections/get-input-under-pointer/index.d.ts +0 -1
- package/f-draggable/connections/providers.d.ts +4 -1
- package/f-draggable/connections/reassign-connection/f-reassign-connection.event.d.ts +6 -6
- package/f-draggable/connections/reassign-connection/reassign-connection-finalize/index.d.ts +0 -1
- package/f-draggable/connections/reassign-connection/reassign-connection-preparation/index.d.ts +0 -1
- package/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.d.ts +16 -7
- package/f-draggable/node/connection-base-drag-handler.d.ts +9 -7
- package/f-draggable/node/connection-source.drag-handler.d.ts +2 -1
- package/f-draggable/node/connection-target.drag-handler.d.ts +2 -1
- package/f-draggable/node/connection.drag-handler.d.ts +2 -1
- package/f-draggable/providers.d.ts +1 -1
- package/f-flow.module.d.ts +19 -18
- package/f-minimap/domain/providers.d.ts +1 -1
- package/f-storage/f-components-store.d.ts +1 -0
- package/fesm2015/foblex-flow.js +1700 -1480
- package/fesm2015/foblex-flow.js.map +1 -1
- package/mixins/index.d.ts +0 -5
- package/package.json +1 -1
- package/domain/get-input-rect-in-flow/get-input-rect-in-flow-request.d.ts +0 -4
- package/domain/get-input-rect-in-flow/get-input-rect-in-flow-response.d.ts +0 -7
- package/domain/get-input-rect-in-flow/get-input-rect-in-flow.execution.d.ts +0 -13
- package/domain/get-input-rect-in-flow/index.d.ts +0 -3
- package/domain/get-output-rect-in-flow/get-output-rect-in-flow-request.d.ts +0 -4
- package/domain/get-output-rect-in-flow/get-output-rect-in-flow-response.d.ts +0 -7
- package/domain/get-output-rect-in-flow/get-output-rect-in-flow.execution.d.ts +0 -13
- package/domain/get-output-rect-in-flow/index.d.ts +0 -3
- package/domain/select-and-update-node-layer/select-and-update-node-layer.request.d.ts +0 -5
- package/esm2015/domain/center-group-or-node/center-group-or-node-request.js +0 -7
- package/esm2015/domain/center-group-or-node/center-group-or-node.execution.js +0 -51
- package/esm2015/domain/center-group-or-node/index.js +0 -3
- package/esm2015/domain/clear-selection/clear-selection.execution.js +0 -26
- package/esm2015/domain/clear-selection/clear-selection.request.js +0 -3
- package/esm2015/domain/clear-selection/index.js +0 -3
- package/esm2015/domain/get-input-rect-in-flow/get-input-rect-in-flow-request.js +0 -6
- package/esm2015/domain/get-input-rect-in-flow/get-input-rect-in-flow-response.js +0 -7
- package/esm2015/domain/get-input-rect-in-flow/get-input-rect-in-flow.execution.js +0 -33
- package/esm2015/domain/get-input-rect-in-flow/index.js +0 -4
- package/esm2015/domain/get-output-rect-in-flow/get-output-rect-in-flow-request.js +0 -6
- package/esm2015/domain/get-output-rect-in-flow/get-output-rect-in-flow-response.js +0 -7
- package/esm2015/domain/get-output-rect-in-flow/get-output-rect-in-flow.execution.js +0 -37
- package/esm2015/domain/get-output-rect-in-flow/index.js +0 -4
- package/esm2015/domain/get-selection/get-selection.execution.js +0 -35
- package/esm2015/domain/get-selection/get-selection.request.js +0 -3
- package/esm2015/domain/get-selection/index.js +0 -3
- package/esm2015/domain/select/index.js +0 -3
- package/esm2015/domain/select/select.execution.js +0 -44
- package/esm2015/domain/select/select.request.js +0 -7
- package/esm2015/domain/select-all/index.js +0 -3
- package/esm2015/domain/select-all/select-all.execution.js +0 -38
- package/esm2015/domain/select-all/select-all.request.js +0 -3
- package/esm2015/domain/select-and-update-node-layer/index.js +0 -3
- package/esm2015/domain/select-and-update-node-layer/select-and-update-node-layer.execution.js +0 -35
- package/esm2015/domain/select-and-update-node-layer/select-and-update-node-layer.request.js +0 -6
- package/esm2015/f-connectors/f-node-input/is-node-input.js +0 -4
- package/esm2015/f-draggable/connections/create-connection/create-connection-finalize/providers.js +0 -7
- package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/providers.js +0 -5
- package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/providers.js +0 -5
- package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/providers.js +0 -7
- package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/providers.js +0 -13
- package/esm2015/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/providers.js +0 -7
- package/esm2015/f-draggable/connections/get-input-under-pointer/providers.js +0 -7
- package/esm2015/f-draggable/connections/reassign-connection/reassign-connection-finalize/providers.js +0 -7
- package/esm2015/f-draggable/connections/reassign-connection/reassign-connection-preparation/providers.js +0 -7
- package/esm2015/mixins/change-position.js +0 -15
- package/esm2015/mixins/change-zoom/change-zoom.js +0 -25
- package/esm2015/mixins/change-zoom/i-can-change-zoom.js +0 -2
- package/esm2015/mixins/change-zoom/index.js +0 -3
- package/esm2015/mixins/fit-to-parent/fit-to-parent.js +0 -27
- package/esm2015/mixins/fit-to-parent/i-can-fit-to-parent.js +0 -2
- package/esm2015/mixins/fit-to-parent/index.js +0 -3
- package/esm2015/mixins/i-transformable.js +0 -2
- package/esm2015/mixins/one-to-one-centering/i-can-one-to-one-centering.js +0 -2
- package/esm2015/mixins/one-to-one-centering/index.js +0 -3
- package/esm2015/mixins/one-to-one-centering/one-to-one-centering.js +0 -24
- package/f-connectors/f-node-input/is-node-input.d.ts +0 -1
- package/f-draggable/connections/create-connection/create-connection-finalize/providers.d.ts +0 -3
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/providers.d.ts +0 -2
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/providers.d.ts +0 -2
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/providers.d.ts +0 -3
- package/f-draggable/connections/create-connection/create-connection-preparation/providers.d.ts +0 -3
- package/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/providers.d.ts +0 -3
- package/f-draggable/connections/get-input-under-pointer/providers.d.ts +0 -3
- package/f-draggable/connections/reassign-connection/reassign-connection-finalize/providers.d.ts +0 -3
- package/f-draggable/connections/reassign-connection/reassign-connection-preparation/providers.d.ts +0 -3
- package/mixins/change-position.d.ts +0 -10
- package/mixins/change-zoom/change-zoom.d.ts +0 -6
- package/mixins/change-zoom/i-can-change-zoom.d.ts +0 -6
- package/mixins/change-zoom/index.d.ts +0 -2
- package/mixins/fit-to-parent/fit-to-parent.d.ts +0 -6
- package/mixins/fit-to-parent/i-can-fit-to-parent.d.ts +0 -4
- package/mixins/fit-to-parent/index.d.ts +0 -2
- package/mixins/i-transformable.d.ts +0 -4
- package/mixins/one-to-one-centering/i-can-one-to-one-centering.d.ts +0 -4
- package/mixins/one-to-one-centering/index.d.ts +0 -2
- package/mixins/one-to-one-centering/one-to-one-centering.d.ts +0 -6
- /package/domain/{center-group-or-node → f-canvas/center-group-or-node}/center-group-or-node-request.d.ts +0 -0
- /package/domain/{center-group-or-node → f-canvas/center-group-or-node}/index.d.ts +0 -0
- /package/domain/{clear-selection → f-selection/clear-selection}/clear-selection.request.d.ts +0 -0
- /package/domain/{clear-selection → f-selection/clear-selection}/index.d.ts +0 -0
- /package/domain/{get-selection → f-selection/get-selection}/get-selection.request.d.ts +0 -0
- /package/domain/{get-selection → f-selection/get-selection}/index.d.ts +0 -0
- /package/domain/{select → f-selection/select}/index.d.ts +0 -0
- /package/domain/{select → f-selection/select}/select.request.d.ts +0 -0
- /package/domain/{select-all → f-selection/select-all}/index.d.ts +0 -0
- /package/domain/{select-all → f-selection/select-all}/select-all.request.d.ts +0 -0
- /package/domain/{select-and-update-node-layer → f-selection/select-and-update-node-layer}/index.d.ts +0 -0
|
@@ -53,7 +53,7 @@ export class FZoomBase {
|
|
|
53
53
|
const pointerPositionInFlow = new Point(event.clientX, event.clientY).elementTransform(this.flowHost);
|
|
54
54
|
this.fCanvas.setZoom(result, pointerPositionInFlow);
|
|
55
55
|
this.fCanvas.redraw();
|
|
56
|
-
this.fCanvas.
|
|
56
|
+
this.fCanvas.emitCanvasChangeEvent();
|
|
57
57
|
}
|
|
58
58
|
onDoubleClick(event) {
|
|
59
59
|
var _a;
|
|
@@ -70,7 +70,7 @@ export class FZoomBase {
|
|
|
70
70
|
const pointerPositionInFlow = new Point(event.clientX, event.clientY).elementTransform(this.flowHost);
|
|
71
71
|
this.fCanvas.setZoom(result, pointerPositionInFlow);
|
|
72
72
|
this.fCanvas.redrawWithAnimation();
|
|
73
|
-
this.fCanvas.
|
|
73
|
+
this.fCanvas.emitCanvasChangeEvent();
|
|
74
74
|
}
|
|
75
75
|
onZoomToCenter(deltaY, position) {
|
|
76
76
|
const preventDefault = () => {
|
|
@@ -89,11 +89,11 @@ export class FZoomBase {
|
|
|
89
89
|
reset() {
|
|
90
90
|
this.fCanvas.resetZoom();
|
|
91
91
|
this.fCanvas.redraw();
|
|
92
|
-
this.fCanvas.
|
|
92
|
+
this.fCanvas.emitCanvasChangeEvent();
|
|
93
93
|
}
|
|
94
94
|
unsubscribe() {
|
|
95
95
|
this.listeners();
|
|
96
96
|
this.listeners = EventExtensions.emptyListener();
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi16b29tLWJhc2UuanMiLCJzb3VyY2VSb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V2hlZWwoe1xuICAgICAgZGVsdGFZLCBwcmV2ZW50RGVmYXVsdCwgY2xpZW50WDogcG9zaXRpb24/LnggfHwgcmVjdC5ncmF2aXR5Q2VudGVyLngsIGNsaWVudFk6IHBvc2l0aW9uPy55IHx8IHJlY3QuZ3Jhdml0eUNlbnRlci55XG4gICAgfSBhcyBXaGVlbEV2ZW50KTtcbiAgfVxuXG4gIHB1YmxpYyB6b29tSW4ocG9zaXRpb24/OiBJUG9pbnQpOiB2b2lkIHtcbiAgICB0aGlzLm9uWm9vbVRvQ2VudGVyKC0xLCBwb3NpdGlvbik7XG4gIH1cblxuICBwdWJsaWMgem9vbU91dChwb3NpdGlvbj86IElQb2ludCk6IHZvaWQge1xuICAgIHRoaXMub25ab29tVG9DZW50ZXIoMSwgcG9zaXRpb24pO1xuICB9XG5cbiAgcHVibGljIHJlc2V0KCk6IHZvaWQge1xuICAgIHRoaXMuZkNhbnZhcy5yZXNldFpvb20oKTtcbiAgICB0aGlzLmZDYW52YXMucmVkcmF3KCk7XG4gICAgdGhpcy5mQ2FudmFzLmVtaXRDYW52YXNDaGFuZ2VFdmVudCgpO1xuICB9XG5cbiAgcHJvdGVjdGVkIHVuc3Vic2NyaWJlKCk6IHZvaWQge1xuICAgIHRoaXMubGlzdGVuZXJzKCk7XG4gICAgdGhpcy5saXN0ZW5lcnMgPSBFdmVudEV4dGVuc2lvbnMuZW1wdHlMaXN0ZW5lcigpO1xuICB9XG59XG4iXX0=
|
package/esm2015/mixins/index.js
CHANGED
|
@@ -1,9 +1,4 @@
|
|
|
1
1
|
export * from './change-selection';
|
|
2
2
|
export * from './change-visibility';
|
|
3
|
-
export * from './change-zoom';
|
|
4
|
-
export * from './fit-to-parent';
|
|
5
|
-
export * from './one-to-one-centering';
|
|
6
|
-
export * from './change-position';
|
|
7
3
|
export * from './constructor';
|
|
8
|
-
|
|
9
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanM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EMsY0FBYyxlQUFlLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2NoYW5nZS1zZWxlY3Rpb24nO1xuXG5leHBvcnQgKiBmcm9tICcuL2NoYW5nZS12aXNpYmlsaXR5JztcblxuZXhwb3J0ICogZnJvbSAnLi9jb25zdHJ1Y3Rvcic7XG5cblxuIl19
|
|
@@ -2,5 +2,6 @@ import { ITransformModel } from '@foblex/2d';
|
|
|
2
2
|
import { InjectionToken } from '@angular/core';
|
|
3
3
|
export declare const F_BACKGROUND_PATTERN: InjectionToken<IFBackgroundPattern>;
|
|
4
4
|
export interface IFBackgroundPattern {
|
|
5
|
+
hostElement: HTMLElement | SVGElement;
|
|
5
6
|
setTransform(transform: ITransformModel): void;
|
|
6
7
|
}
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { AfterContentInit, ElementRef, OnDestroy, OnInit } from "@angular/core";
|
|
2
2
|
import { FBackgroundBase } from './f-background-base';
|
|
3
3
|
import { ITransformModel } from '@foblex/2d';
|
|
4
|
+
import { IFBackgroundPattern } from './domain';
|
|
4
5
|
import { FComponentsStore } from '../f-storage';
|
|
5
|
-
import {
|
|
6
|
+
import { FMediator } from '@foblex/mediator';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class FBackgroundComponent extends FBackgroundBase implements OnInit, AfterContentInit, OnDestroy {
|
|
8
9
|
private elementReference;
|
|
9
10
|
private fComponentsStore;
|
|
10
|
-
private
|
|
11
|
+
private fMediator;
|
|
11
12
|
get hostElement(): HTMLElement;
|
|
12
|
-
fBackgroundPattern:
|
|
13
|
-
constructor(elementReference: ElementRef<HTMLElement>, fComponentsStore: FComponentsStore,
|
|
13
|
+
fBackgroundPattern: IFBackgroundPattern | undefined;
|
|
14
|
+
constructor(elementReference: ElementRef<HTMLElement>, fComponentsStore: FComponentsStore, fMediator: FMediator);
|
|
14
15
|
ngOnInit(): void;
|
|
15
16
|
ngAfterContentInit(): void;
|
|
16
17
|
isBackgroundElement(element: HTMLElement | SVGElement): boolean;
|
|
@@ -1,29 +1,25 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ITransformModel } from '@foblex/2d';
|
|
1
|
+
import { IPoint } from '@foblex/2d';
|
|
3
2
|
import { ElementRef, EventEmitter, InjectionToken } from '@angular/core';
|
|
4
3
|
import { FCanvasChangeEvent } from './domain';
|
|
5
4
|
import { FNodeBase } from '../f-node';
|
|
6
5
|
import { IHasHostElement } from '../i-has-host-element';
|
|
7
6
|
import * as i0 from "@angular/core";
|
|
8
7
|
export declare const F_CANVAS: InjectionToken<FCanvasBase>;
|
|
9
|
-
declare
|
|
10
|
-
new (transform: ITransformModel): {
|
|
11
|
-
transform: ITransformModel;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
export declare abstract class FCanvasBase extends MIXIN_BASE implements IHasHostElement, ICanChangePosition, ICanFitToParent, ICanOneToOneCentering, ICanChangeZoom {
|
|
8
|
+
export declare abstract class FCanvasBase implements IHasHostElement {
|
|
15
9
|
abstract fCanvasChange: EventEmitter<FCanvasChangeEvent>;
|
|
16
10
|
abstract fNodes: FNodeBase[];
|
|
17
11
|
abstract hostElement: HTMLElement;
|
|
18
12
|
abstract fGroupsContainer: ElementRef<HTMLElement>;
|
|
19
13
|
abstract fNodesContainer: ElementRef<HTMLElement>;
|
|
20
14
|
abstract fConnectionsContainer: ElementRef<HTMLElement>;
|
|
21
|
-
|
|
15
|
+
transform: import("@foblex/2d").ITransformModel;
|
|
22
16
|
abstract redraw(): void;
|
|
23
17
|
abstract redrawWithAnimation(): void;
|
|
24
|
-
|
|
25
|
-
|
|
18
|
+
getPosition(): IPoint;
|
|
19
|
+
setPosition(position: IPoint): void;
|
|
20
|
+
abstract setZoom(scale: number, toPosition: IPoint): void;
|
|
21
|
+
abstract resetZoom(): void;
|
|
22
|
+
emitCanvasChangeEvent(): void;
|
|
26
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<FCanvasBase, never>;
|
|
27
24
|
static ɵdir: i0.ɵɵDirectiveDeclaration<FCanvasBase, never, never, {}, {}, never>;
|
|
28
25
|
}
|
|
29
|
-
export {};
|
|
@@ -24,7 +24,9 @@ export declare class FCanvasComponent extends FCanvasBase implements OnInit {
|
|
|
24
24
|
redrawWithAnimation(): void;
|
|
25
25
|
centerGroupOrNode(id: string, animated?: boolean): void;
|
|
26
26
|
fitToScreen(toCenter?: IPoint, animated?: boolean): void;
|
|
27
|
-
|
|
27
|
+
resetScaleAndCenter(animated?: boolean): void;
|
|
28
|
+
setZoom(scale: number, toPosition?: IPoint): void;
|
|
29
|
+
resetZoom(): void;
|
|
28
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<FCanvasComponent, never>;
|
|
29
31
|
static ɵcmp: i0.ɵɵComponentDeclaration<FCanvasComponent, "f-canvas", ["fComponent"], { "position": "position"; "scale": "scale"; }, { "fCanvasChange": "fCanvasChange"; }, never, ["[fGroup]", "f-snap-connection", "f-connection", "f-connection-for-create", "[fNode]"]>;
|
|
30
32
|
}
|
|
@@ -12,7 +12,6 @@ import { FConnectionDragHandleComponent } from './f-drag-handle';
|
|
|
12
12
|
import { FConnectionSelectionComponent } from './f-selection';
|
|
13
13
|
import { IConnectionText } from './f-connection-text';
|
|
14
14
|
import { IHasStateChanges } from '../../i-has-state-changes';
|
|
15
|
-
import { FMarkerBase } from '../f-marker';
|
|
16
15
|
import { EFConnectableSide } from '../../f-connectors';
|
|
17
16
|
import { FConnectionFactory } from '../f-connection-builder';
|
|
18
17
|
import { IHasHostElement } from '../../i-has-host-element';
|
|
@@ -41,7 +40,6 @@ export declare abstract class FConnectionBase extends MIXIN_BASE implements IHas
|
|
|
41
40
|
abstract fBehavior: EFConnectionBehavior;
|
|
42
41
|
abstract fType: EFConnectionType;
|
|
43
42
|
abstract fDefs: ElementRef<SVGDefsElement>;
|
|
44
|
-
abstract fMarkers: FMarkerBase[];
|
|
45
43
|
abstract fPath: IConnectionPath;
|
|
46
44
|
abstract fGradient: IConnectionGradient;
|
|
47
45
|
abstract fDragHandle: FConnectionDragHandleComponent;
|
|
@@ -3,7 +3,6 @@ import { FConnectionDragHandleComponent, FConnectionSelectionComponent, IConnect
|
|
|
3
3
|
import { EFConnectionBehavior } from '../common';
|
|
4
4
|
import { EFConnectionType } from '../common';
|
|
5
5
|
import { FComponentsStore } from '../../f-storage';
|
|
6
|
-
import { FMarkerBase } from '../f-marker';
|
|
7
6
|
import { FConnectionCenterDirective } from '../f-connection-center';
|
|
8
7
|
import { FConnectionFactory } from '../f-connection-builder';
|
|
9
8
|
import { FConnectionBase } from '../common/f-connection-base';
|
|
@@ -41,7 +40,6 @@ export declare class FConnectionComponent extends FConnectionBase implements OnI
|
|
|
41
40
|
fDraggingDisabled: boolean;
|
|
42
41
|
fSelectionDisabled: boolean;
|
|
43
42
|
fDefs: ElementRef<SVGDefsElement>;
|
|
44
|
-
get fMarkers(): FMarkerBase[];
|
|
45
43
|
fPath: IConnectionPath;
|
|
46
44
|
fGradient: IConnectionGradient;
|
|
47
45
|
fDragHandle: FConnectionDragHandleComponent;
|
|
@@ -2,7 +2,6 @@ import { AfterViewInit, ElementRef, OnDestroy, OnInit, QueryList } from "@angula
|
|
|
2
2
|
import { FConnectionDragHandleComponent, FConnectionSelectionComponent, IConnectionGradient, IConnectionPath, IConnectionText } from '../common';
|
|
3
3
|
import { EFConnectionBehavior } from '../common';
|
|
4
4
|
import { EFConnectionType } from '../common';
|
|
5
|
-
import { FMarkerBase } from '../f-marker';
|
|
6
5
|
import { FConnectionCenterDirective } from '../f-connection-center';
|
|
7
6
|
import { FConnectionFactory } from '../f-connection-builder';
|
|
8
7
|
import { FComponentsStore } from '../../f-storage';
|
|
@@ -35,7 +34,6 @@ export declare class FConnectionForCreateComponent extends FConnectionBase imple
|
|
|
35
34
|
fDraggingDisabled: boolean;
|
|
36
35
|
fSelectionDisabled: boolean;
|
|
37
36
|
fDefs: ElementRef<SVGDefsElement>;
|
|
38
|
-
get fMarkers(): FMarkerBase[];
|
|
39
37
|
fPath: IConnectionPath;
|
|
40
38
|
fGradient: IConnectionGradient;
|
|
41
39
|
fDragHandle: FConnectionDragHandleComponent;
|
|
@@ -2,7 +2,6 @@ import { AfterViewInit, ElementRef, OnDestroy, OnInit, QueryList } from "@angula
|
|
|
2
2
|
import { FConnectionDragHandleComponent, FConnectionSelectionComponent, IConnectionGradient, IConnectionPath, IConnectionText } from '../common';
|
|
3
3
|
import { EFConnectionBehavior } from '../common';
|
|
4
4
|
import { EFConnectionType } from '../common';
|
|
5
|
-
import { FMarkerBase } from '../f-marker';
|
|
6
5
|
import { FConnectionCenterDirective } from '../f-connection-center';
|
|
7
6
|
import { FConnectionFactory } from '../f-connection-builder';
|
|
8
7
|
import { FComponentsStore } from '../../f-storage';
|
|
@@ -18,6 +17,7 @@ export declare class FSnapConnectionComponent extends FConnectionBase implements
|
|
|
18
17
|
private _fEndColor;
|
|
19
18
|
set fEndColor(value: string);
|
|
20
19
|
get fEndColor(): string;
|
|
20
|
+
fSnapThreshold: number;
|
|
21
21
|
fOutputId: string;
|
|
22
22
|
fInputId: string;
|
|
23
23
|
private _fRadius;
|
|
@@ -35,7 +35,6 @@ export declare class FSnapConnectionComponent extends FConnectionBase implements
|
|
|
35
35
|
fDraggingDisabled: boolean;
|
|
36
36
|
fSelectionDisabled: boolean;
|
|
37
37
|
fDefs: ElementRef<SVGDefsElement>;
|
|
38
|
-
get fMarkers(): FMarkerBase[];
|
|
39
38
|
fPath: IConnectionPath;
|
|
40
39
|
fGradient: IConnectionGradient;
|
|
41
40
|
fDragHandle: FConnectionDragHandleComponent;
|
|
@@ -49,5 +48,5 @@ export declare class FSnapConnectionComponent extends FConnectionBase implements
|
|
|
49
48
|
ngAfterViewInit(): void;
|
|
50
49
|
ngOnDestroy(): void;
|
|
51
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<FSnapConnectionComponent, never>;
|
|
52
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FSnapConnectionComponent, "f-snap-connection", never, { "fStartColor": "fStartColor"; "fEndColor": "fEndColor"; "fRadius": "fRadius"; "fOffset": "fOffset"; "fBehavior": "fBehavior"; "fType": "fType"; }, {}, ["fConnectionCenters"], ["*", "[fConnectionCenter]"]>;
|
|
51
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FSnapConnectionComponent, "f-snap-connection", never, { "fStartColor": "fStartColor"; "fEndColor": "fEndColor"; "fSnapThreshold": "fSnapThreshold"; "fRadius": "fRadius"; "fOffset": "fOffset"; "fBehavior": "fBehavior"; "fType": "fType"; }, {}, ["fConnectionCenters"], ["*", "[fConnectionCenter]"]>;
|
|
53
52
|
}
|
|
@@ -3,4 +3,5 @@ import { FConnectionComponent } from './f-connection';
|
|
|
3
3
|
import { FConnectionCenterDirective } from './f-connection-center';
|
|
4
4
|
import { FConnectionForCreateComponent } from './f-connection-for-create';
|
|
5
5
|
import { FMarkerDirective } from './f-marker';
|
|
6
|
-
|
|
6
|
+
import { FSnapConnectionComponent } from './f-snap-connection';
|
|
7
|
+
export declare const F_CONNECTION_PROVIDERS: (typeof FConnectionTextPathDirective | typeof FConnectionTextComponent | typeof FConnectionDragHandleComponent | typeof FConnectionGradientComponent | typeof FConnectionPathComponent | typeof FConnectionSelectionComponent | typeof FMarkerDirective | typeof FConnectionCenterDirective | typeof FConnectionForCreateComponent | typeof FConnectionComponent | typeof FSnapConnectionComponent)[];
|
|
@@ -1,16 +1,25 @@
|
|
|
1
1
|
import { IDraggableItem } from '../../i-draggable-item';
|
|
2
|
+
import { IConnectorWithRect } from '../../../domain';
|
|
2
3
|
import { FConnectionBase } from '../../../f-connection';
|
|
4
|
+
import { FConnectorBase } from '../../../f-connectors';
|
|
3
5
|
import { FMediator } from '@foblex/mediator';
|
|
4
6
|
import { IPoint } from '@foblex/2d';
|
|
7
|
+
import { FComponentsStore } from '../../../f-storage';
|
|
5
8
|
export declare class CreateConnectionDragHandler implements IDraggableItem {
|
|
6
9
|
private fMediator;
|
|
7
|
-
|
|
10
|
+
private fComponentsStore;
|
|
11
|
+
private fOutput;
|
|
8
12
|
private onPointerDownPosition;
|
|
9
|
-
private
|
|
10
|
-
|
|
11
|
-
private
|
|
12
|
-
|
|
13
|
+
private toConnectorRect;
|
|
14
|
+
get fConnection(): FConnectionBase;
|
|
15
|
+
private get fSnapConnection();
|
|
16
|
+
private fOutputWithRect;
|
|
17
|
+
private canBeConnectedInputs;
|
|
18
|
+
constructor(fMediator: FMediator, fComponentsStore: FComponentsStore, fOutput: FConnectorBase, onPointerDownPosition: IPoint);
|
|
13
19
|
initialize(): void;
|
|
14
20
|
move(difference: IPoint): void;
|
|
21
|
+
private drawTempConnection;
|
|
22
|
+
private drawSnapConnection;
|
|
23
|
+
getClosetInput(difference: IPoint): IConnectorWithRect | undefined;
|
|
15
24
|
complete(): void;
|
|
16
25
|
}
|
package/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.execution.d.ts
CHANGED
|
@@ -1,19 +1,22 @@
|
|
|
1
1
|
import { GetInputUnderPointerRequest } from './get-input-under-pointer.request';
|
|
2
|
-
import { FComponentsStore } from '../../../f-storage';
|
|
3
|
-
import { FConnectorBase } from '../../../f-connectors';
|
|
4
|
-
import { IExecution } from '@foblex/mediator';
|
|
5
2
|
import { BrowserService } from '@foblex/platform';
|
|
3
|
+
import { IExecution } from '@foblex/mediator';
|
|
4
|
+
import { FConnectorBase } from '../../../f-connectors';
|
|
5
|
+
import { FComponentsStore } from '../../../f-storage';
|
|
6
|
+
import { FDraggableDataContext } from '../../f-draggable-data-context';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class GetInputUnderPointerExecution implements IExecution<GetInputUnderPointerRequest, FConnectorBase | undefined> {
|
|
8
9
|
private fComponentsStore;
|
|
10
|
+
private fDraggableDataContext;
|
|
9
11
|
private fBrowser;
|
|
10
12
|
private get fNodes();
|
|
11
13
|
private get fInputs();
|
|
12
|
-
constructor(fComponentsStore: FComponentsStore, fBrowser: BrowserService);
|
|
14
|
+
constructor(fComponentsStore: FComponentsStore, fDraggableDataContext: FDraggableDataContext, fBrowser: BrowserService);
|
|
13
15
|
handle(payload: GetInputUnderPointerRequest): FConnectorBase | undefined;
|
|
14
16
|
private getOutput;
|
|
15
17
|
private getOutlet;
|
|
16
18
|
private getInputsUnderPointer;
|
|
19
|
+
private getDifference;
|
|
17
20
|
private getInputsInPosition;
|
|
18
21
|
private getElementsFromPoint;
|
|
19
22
|
private getFirstConnectableInputOfNodeInPosition;
|
|
@@ -1 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { CreateConnectionDragHandlerExecution, CreateConnectionFinalizeExecution, CreateConnectionFinalizeValidator, CreateConnectionFromOutletPreparationExecution, CreateConnectionFromOutputPreparationExecution, CreateConnectionFromOutputPreparationValidator, CreateConnectionPreparationExecution, CreateConnectionPreparationValidator, GetCanBeConnectedOutputByOutletExecution, GetCanBeConnectedOutputByOutletValidator } from './create-connection';
|
|
2
|
+
import { ReassignConnectionFinalizeExecution, ReassignConnectionFinalizeValidator, ReassignConnectionPreparationExecution, ReassignConnectionPreparationValidator } from './reassign-connection';
|
|
3
|
+
import { GetInputUnderPointerExecution, GetInputUnderPointerValidator } from './get-input-under-pointer';
|
|
4
|
+
export declare const CONNECTIONS_PROVIDERS: (typeof GetCanBeConnectedOutputByOutletExecution | typeof GetCanBeConnectedOutputByOutletValidator | typeof ReassignConnectionFinalizeExecution | typeof ReassignConnectionFinalizeValidator | typeof ReassignConnectionPreparationExecution | typeof ReassignConnectionPreparationValidator | typeof GetInputUnderPointerExecution | typeof GetInputUnderPointerValidator | typeof CreateConnectionFinalizeExecution | typeof CreateConnectionFinalizeValidator | typeof CreateConnectionDragHandlerExecution | typeof CreateConnectionFromOutletPreparationExecution | typeof CreateConnectionFromOutputPreparationExecution | typeof CreateConnectionFromOutputPreparationValidator | typeof CreateConnectionPreparationExecution | typeof CreateConnectionPreparationValidator)[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export declare class FReassignConnectionEvent
|
|
2
|
-
|
|
3
|
-
fOutputId:
|
|
4
|
-
oldFInputId:
|
|
5
|
-
newFInputId:
|
|
6
|
-
constructor(
|
|
1
|
+
export declare class FReassignConnectionEvent {
|
|
2
|
+
fConnectionId: string;
|
|
3
|
+
fOutputId: string;
|
|
4
|
+
oldFInputId: string;
|
|
5
|
+
newFInputId: string | undefined;
|
|
6
|
+
constructor(fConnectionId: string, fOutputId: string, oldFInputId: string, newFInputId: string | undefined);
|
|
7
7
|
}
|
|
@@ -1,16 +1,25 @@
|
|
|
1
1
|
import { IDraggableItem } from '../../i-draggable-item';
|
|
2
|
+
import { IConnectorWithRect } from '../../../domain';
|
|
2
3
|
import { FConnectionBase } from '../../../f-connection';
|
|
3
4
|
import { FMediator } from '@foblex/mediator';
|
|
4
|
-
import { IPoint } from '@foblex/2d';
|
|
5
|
+
import { IPoint, RoundedRect } from '@foblex/2d';
|
|
6
|
+
import { FComponentsStore } from '../../../f-storage';
|
|
5
7
|
export declare class ReassignConnectionDragHandler implements IDraggableItem {
|
|
6
8
|
private fMediator;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
private
|
|
11
|
-
private
|
|
12
|
-
|
|
9
|
+
private fComponentsStore;
|
|
10
|
+
fConnection: FConnectionBase;
|
|
11
|
+
toConnectorRect: RoundedRect;
|
|
12
|
+
private get fSnapConnection();
|
|
13
|
+
private fOutputWithRect;
|
|
14
|
+
private fInputWithRect;
|
|
15
|
+
private canBeConnectedInputs;
|
|
16
|
+
constructor(fMediator: FMediator, fComponentsStore: FComponentsStore, fConnection: FConnectionBase);
|
|
13
17
|
initialize(): void;
|
|
18
|
+
private getOutput;
|
|
19
|
+
private getInput;
|
|
14
20
|
move(difference: IPoint): void;
|
|
21
|
+
private drawConnection;
|
|
22
|
+
private drawSnapConnection;
|
|
23
|
+
getClosetInput(difference: IPoint): IConnectorWithRect | undefined;
|
|
15
24
|
complete(): void;
|
|
16
25
|
}
|
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
import { IDraggableItem } from '../i-draggable-item';
|
|
2
2
|
import { FConnectionBase } from '../../f-connection';
|
|
3
|
-
import { EFConnectableSide } from '../../f-connectors';
|
|
4
3
|
import { FMediator } from '@foblex/mediator';
|
|
5
4
|
import { INodeMoveRestrictions } from './create-move-nodes-drag-model-from-selection';
|
|
6
|
-
import {
|
|
5
|
+
import { ILine, IPoint } from '@foblex/2d';
|
|
6
|
+
import { FComponentsStore } from '../../f-storage';
|
|
7
|
+
import { IConnectorWithRect } from '../../domain';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
export declare abstract class ConnectionBaseDragHandler implements IDraggableItem {
|
|
9
10
|
protected fMediator: FMediator;
|
|
11
|
+
protected fComponentsStore: FComponentsStore;
|
|
10
12
|
connection: FConnectionBase;
|
|
11
|
-
protected
|
|
12
|
-
protected
|
|
13
|
-
protected
|
|
14
|
-
protected toConnectorSide: EFConnectableSide;
|
|
15
|
-
protected constructor(fMediator: FMediator, connection: FConnectionBase);
|
|
13
|
+
protected fOutputWithRect: IConnectorWithRect;
|
|
14
|
+
protected fInputWithRect: IConnectorWithRect;
|
|
15
|
+
protected constructor(fMediator: FMediator, fComponentsStore: FComponentsStore, connection: FConnectionBase);
|
|
16
16
|
initialize(): void;
|
|
17
|
+
private getOutput;
|
|
18
|
+
private getInput;
|
|
17
19
|
abstract move(difference: IPoint): void;
|
|
18
20
|
protected getDifference(difference: IPoint, restrictions: INodeMoveRestrictions): IPoint;
|
|
19
21
|
protected redrawConnection(line: ILine): void;
|
|
@@ -2,10 +2,11 @@ import { IPoint } from '@foblex/2d';
|
|
|
2
2
|
import { FConnectionBase } from '../../f-connection';
|
|
3
3
|
import { FMediator } from '@foblex/mediator';
|
|
4
4
|
import { ConnectionBaseDragHandler } from './connection-base-drag-handler';
|
|
5
|
+
import { FComponentsStore } from '../../f-storage';
|
|
5
6
|
export declare class ConnectionSourceDragHandler extends ConnectionBaseDragHandler {
|
|
6
7
|
minDistance: IPoint;
|
|
7
8
|
maxDistance: IPoint;
|
|
8
|
-
constructor(fMediator: FMediator, connection: FConnectionBase, minDistance: IPoint, maxDistance: IPoint);
|
|
9
|
+
constructor(fMediator: FMediator, fComponentsStore: FComponentsStore, connection: FConnectionBase, minDistance: IPoint, maxDistance: IPoint);
|
|
9
10
|
move(difference: IPoint): void;
|
|
10
11
|
private getNewLineValue;
|
|
11
12
|
}
|
|
@@ -2,10 +2,11 @@ import { IPoint } from '@foblex/2d';
|
|
|
2
2
|
import { FConnectionBase } from '../../f-connection';
|
|
3
3
|
import { FMediator } from '@foblex/mediator';
|
|
4
4
|
import { ConnectionBaseDragHandler } from './connection-base-drag-handler';
|
|
5
|
+
import { FComponentsStore } from '../../f-storage';
|
|
5
6
|
export declare class ConnectionTargetDragHandler extends ConnectionBaseDragHandler {
|
|
6
7
|
minDistance: IPoint;
|
|
7
8
|
maxDistance: IPoint;
|
|
8
|
-
constructor(fMediator: FMediator, connection: FConnectionBase, minDistance: IPoint, maxDistance: IPoint);
|
|
9
|
+
constructor(fMediator: FMediator, fComponentsStore: FComponentsStore, connection: FConnectionBase, minDistance: IPoint, maxDistance: IPoint);
|
|
9
10
|
move(difference: IPoint): void;
|
|
10
11
|
private getNewLineValue;
|
|
11
12
|
}
|
|
@@ -2,10 +2,11 @@ import { IPoint } from '@foblex/2d';
|
|
|
2
2
|
import { FConnectionBase } from '../../f-connection';
|
|
3
3
|
import { FMediator } from '@foblex/mediator';
|
|
4
4
|
import { ConnectionBaseDragHandler } from './connection-base-drag-handler';
|
|
5
|
+
import { FComponentsStore } from '../../f-storage';
|
|
5
6
|
export declare class ConnectionDragHandler extends ConnectionBaseDragHandler {
|
|
6
7
|
private sourceRestrictions;
|
|
7
8
|
private targetRestrictions;
|
|
8
|
-
constructor(fMediator: FMediator, connection: FConnectionBase);
|
|
9
|
+
constructor(fMediator: FMediator, fComponentsStore: FComponentsStore, connection: FConnectionBase);
|
|
9
10
|
setOutputRestrictions(min: IPoint, max: IPoint): void;
|
|
10
11
|
setInputRestrictions(min: IPoint, max: IPoint): void;
|
|
11
12
|
move(difference: IPoint): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const F_DRAGGABLE_PROVIDERS: (typeof import("./canvas").CanvasMoveFinalizeExecution | typeof import("./canvas").CanvasMoveFinalizeValidator | typeof import("./canvas").CanvasMovePreparationExecution | typeof import("./canvas").CanvasMovePreparationValidator | typeof import("
|
|
1
|
+
export declare const F_DRAGGABLE_PROVIDERS: (typeof import("./canvas").CanvasMoveFinalizeExecution | typeof import("./canvas").CanvasMoveFinalizeValidator | typeof import("./canvas").CanvasMovePreparationExecution | typeof import("./canvas").CanvasMovePreparationValidator | typeof import("./connections").GetCanBeConnectedOutputByOutletExecution | typeof import("./connections").GetCanBeConnectedOutputByOutletValidator | typeof import("../f-external-item").ExternalItemFinalizeExecution | typeof import("../f-external-item").ExternalItemFinalizeValidator | typeof import("../f-external-item").ExternalItemPreparationExecution | typeof import("../f-external-item").ExternalItemPreparationValidator | typeof import("./connections").ReassignConnectionFinalizeExecution | typeof import("./connections").ReassignConnectionFinalizeValidator | typeof import("./connections").ReassignConnectionPreparationExecution | typeof import("./connections").ReassignConnectionPreparationValidator | typeof import("./connections").GetInputUnderPointerExecution | typeof import("./connections").GetInputUnderPointerValidator | typeof import("./connections").CreateConnectionFinalizeExecution | typeof import("./connections").CreateConnectionFinalizeValidator | typeof import("./connections").CreateConnectionDragHandlerExecution | typeof import("./connections").CreateConnectionFromOutletPreparationExecution | typeof import("./connections").CreateConnectionFromOutputPreparationExecution | typeof import("./connections").CreateConnectionFromOutputPreparationValidator | typeof import("./connections").CreateConnectionPreparationExecution | typeof import("./connections").CreateConnectionPreparationValidator | typeof import("./domain").GetNodePaddingExecution | typeof import("./domain").GetNormalizedNodeRectExecution | typeof import("./domain").GetNormalizedParentNodeRectExecution | typeof import("./domain").GetParentNodesExecution | typeof import("./domain").IsArrayHasParentNodeExecution | typeof import("./node").PutInputConnectionHandlersToArrayExecution | typeof import("./node").PutOutputConnectionHandlersToArrayExecution | typeof import("./node").GetNodeMoveRestrictionsExecution | typeof import("./node").CreateMoveNodesDragModelFromSelectionExecution | typeof import("./node").NodeMovePreparationExecution | typeof import("./node").NodeMovePreparationValidator | typeof import("./node").NodeMoveFinalizeExecution | typeof import("./node").NodeMoveFinalizeValidator | 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").NodeResizeFinalizeValidator | typeof import("./node-resize").NodeResizePreparationExecution | typeof import("./node-resize").NodeResizePreparationValidator | typeof import("./single-select").SingleSelectExecution | typeof import("./single-select").SingleSelectValidator | typeof import("../f-minimap/domain").CalculateFlowPointFromMinimapPointExecution | typeof import("../f-minimap/domain").MinimapDragFinalizeExecution | typeof import("../f-minimap/domain").MinimapDragFinalizeValidator | typeof import("../f-minimap/domain").MinimapDragPreparationExecution | typeof import("../f-minimap/domain").MinimapDragPreparationValidator | typeof import("../f-selection-area").SelectionAreaFinalizeExecution | typeof import("../f-selection-area").SelectionAreaFinalizeValidator | typeof import("../f-selection-area").SelectionAreaPreparationExecution | typeof import("../f-selection-area").SelectionAreaPreparationValidator)[];
|
package/f-flow.module.d.ts
CHANGED
|
@@ -14,25 +14,26 @@ import * as i12 from "./f-connection/f-connection/f-connection.component";
|
|
|
14
14
|
import * as i13 from "./f-connection/f-connection-center/f-connection-center.directive";
|
|
15
15
|
import * as i14 from "./f-connection/f-connection-for-create/f-connection-for-create.component";
|
|
16
16
|
import * as i15 from "./f-connection/f-marker/f-marker.directive";
|
|
17
|
-
import * as i16 from "./f-
|
|
18
|
-
import * as i17 from "./f-connectors/f-node-
|
|
19
|
-
import * as i18 from "./f-connectors/f-node-
|
|
20
|
-
import * as i19 from "./f-
|
|
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 "
|
|
17
|
+
import * as i16 from "./f-connection/f-snap-connection/f-snap-connection.component";
|
|
18
|
+
import * as i17 from "./f-connectors/f-node-input/f-node-input.directive";
|
|
19
|
+
import * as i18 from "./f-connectors/f-node-outlet/f-node-outlet.directive";
|
|
20
|
+
import * as i19 from "./f-connectors/f-node-output/f-node-output.directive";
|
|
21
|
+
import * as i20 from "./f-external-item/f-external-item.directive";
|
|
22
|
+
import * as i21 from "./f-flow/f-flow.component";
|
|
23
|
+
import * as i22 from "./f-line-alignment/f-line-alignment.component";
|
|
24
|
+
import * as i23 from "./f-minimap/f-minimap.component";
|
|
25
|
+
import * as i24 from "./f-minimap/f-minimap-canvas.directive";
|
|
26
|
+
import * as i25 from "./f-minimap/f-minimap-view.directive";
|
|
27
|
+
import * as i26 from "./f-minimap/f-minimap-flow.directive";
|
|
28
|
+
import * as i27 from "./f-node/f-group.directive";
|
|
29
|
+
import * as i28 from "./f-node/f-node.directive";
|
|
30
|
+
import * as i29 from "./f-node/f-drag-handle/f-drag-handle.directive";
|
|
31
|
+
import * as i30 from "./f-node/f-resize-handle/f-resize-handle.directive";
|
|
32
|
+
import * as i31 from "./f-selection-area/f-selection-area.component";
|
|
33
|
+
import * as i32 from "./f-draggable/f-draggable.directive";
|
|
34
|
+
import * as i33 from "@angular/common";
|
|
34
35
|
export declare class FFlowModule {
|
|
35
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<FFlowModule, never>;
|
|
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.
|
|
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.FExternalItemDirective, typeof i21.FFlowComponent, typeof i22.FLineAlignmentComponent, typeof i23.FMinimapComponent, typeof i24.FMinimapCanvasDirective, typeof i25.FMinimapViewDirective, typeof i26.FMinimapFlowDirective, typeof i27.FGroupDirective, typeof i28.FNodeDirective, typeof i29.FDragHandleDirective, typeof i30.FResizeHandleDirective, typeof i31.FSelectionAreaComponent, typeof i32.FDraggableDirective], [typeof i33.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.FExternalItemDirective, typeof i21.FFlowComponent, typeof i22.FLineAlignmentComponent, typeof i23.FMinimapComponent, typeof i24.FMinimapCanvasDirective, typeof i25.FMinimapViewDirective, typeof i26.FMinimapFlowDirective, typeof i27.FGroupDirective, typeof i28.FNodeDirective, typeof i29.FDragHandleDirective, typeof i30.FResizeHandleDirective, typeof i31.FSelectionAreaComponent, typeof i32.FDraggableDirective]>;
|
|
37
38
|
static ɵinj: i0.ɵɵInjectorDeclaration<FFlowModule>;
|
|
38
39
|
}
|