@foblex/flow 12.5.1 → 12.6.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/README.md +12 -9
- package/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.execution.d.ts +13 -0
- package/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.request.d.ts +4 -0
- package/domain/get-deep-children-nodes-and-groups/index.d.ts +2 -0
- package/domain/get-nodes-rect/get-nodes-rect.execution.d.ts +2 -2
- package/domain/get-scaled-node-rects-with-flow-position/get-scaled-node-rects-with-flow-position.execution.d.ts +14 -0
- package/domain/get-scaled-node-rects-with-flow-position/get-scaled-node-rects-with-flow-position.request.d.ts +2 -0
- package/domain/get-scaled-node-rects-with-flow-position/index.d.ts +2 -0
- package/domain/index.d.ts +4 -5
- package/domain/is-connection-under-node/is-connection-under-node.execution.d.ts +1 -5
- package/domain/providers.d.ts +5 -6
- package/domain/select-and-update-node-layer/select-and-update-node-layer.execution.d.ts +1 -3
- package/domain/sort-item-layers/index.d.ts +4 -0
- package/domain/sort-item-layers/sort-item-layers.execution.d.ts +12 -0
- package/domain/sort-item-layers/sort-item-layers.request.d.ts +2 -0
- package/domain/sort-item-layers/sort-items-by-parent/index.d.ts +2 -0
- package/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.execution.d.ts +20 -0
- package/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.request.d.ts +4 -0
- package/domain/sort-item-layers/sort-node-layers-by-groups/index.d.ts +2 -0
- package/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.execution.d.ts +21 -0
- package/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.request.d.ts +2 -0
- package/domain/update-item-and-children-layers/index.d.ts +3 -0
- package/domain/update-item-and-children-layers/move-front-elements-before-target-element/index.d.ts +2 -0
- package/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element.execution.d.ts +8 -0
- package/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element.request.d.ts +8 -0
- package/domain/update-item-and-children-layers/update-item-and-children-layers.execution.d.ts +25 -0
- package/domain/{update-item-layer/update-item-layer.request.d.ts → update-item-and-children-layers/update-item-and-children-layers.request.d.ts} +1 -1
- package/esm2022/domain/clear-selection/clear-selection.execution.mjs +5 -7
- package/esm2022/domain/create-connection-markers/create-connection-markers.execution.mjs +5 -5
- package/esm2022/domain/emit-transform-changes/emit-transform-changes.execution.mjs +3 -3
- package/esm2022/domain/get-can-be-selected-items/get-can-be-selected-items.execution.mjs +3 -3
- package/esm2022/domain/get-connection-line/get-connection-line.execution.mjs +3 -3
- package/esm2022/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.execution.mjs +36 -0
- package/esm2022/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.request.mjs +7 -0
- package/esm2022/domain/get-deep-children-nodes-and-groups/index.mjs +3 -0
- package/esm2022/domain/get-element-rect-in-flow/get-element-rect-in-flow.execution.mjs +3 -3
- package/esm2022/domain/get-input-rect-in-flow/get-input-rect-in-flow.execution.mjs +3 -3
- package/esm2022/domain/get-nodes-rect/get-nodes-rect.execution.mjs +4 -4
- package/esm2022/domain/get-output-rect-in-flow/get-output-rect-in-flow.execution.mjs +3 -3
- package/esm2022/domain/get-position-in-flow/get-position-in-flow.execution.mjs +3 -3
- package/esm2022/domain/get-scaled-node-rects-with-flow-position/get-scaled-node-rects-with-flow-position.execution.mjs +35 -0
- package/esm2022/domain/get-scaled-node-rects-with-flow-position/get-scaled-node-rects-with-flow-position.request.mjs +3 -0
- package/esm2022/domain/get-scaled-node-rects-with-flow-position/index.mjs +3 -0
- package/esm2022/domain/get-selection/get-selection.execution.mjs +3 -3
- package/esm2022/domain/index.mjs +5 -6
- package/esm2022/domain/is-connection-under-node/is-connection-under-node.execution.mjs +16 -22
- package/esm2022/domain/providers.mjs +12 -11
- package/esm2022/domain/redraw-connections/redraw-connections.execution.mjs +4 -4
- package/esm2022/domain/select/select.execution.mjs +5 -5
- package/esm2022/domain/select-all/select-all.execution.mjs +4 -4
- package/esm2022/domain/select-and-update-node-layer/select-and-update-node-layer.execution.mjs +9 -12
- package/esm2022/domain/sort-item-layers/index.mjs +5 -0
- package/esm2022/domain/sort-item-layers/sort-item-layers.execution.mjs +32 -0
- package/esm2022/domain/sort-item-layers/sort-item-layers.request.mjs +3 -0
- package/esm2022/domain/sort-item-layers/sort-items-by-parent/index.mjs +3 -0
- package/esm2022/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.execution.mjs +61 -0
- package/esm2022/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.request.mjs +8 -0
- package/esm2022/domain/sort-item-layers/sort-node-layers-by-groups/index.mjs +3 -0
- package/esm2022/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.execution.mjs +62 -0
- package/esm2022/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.request.mjs +3 -0
- package/esm2022/domain/subscribe-on-transform-changes/subscribe-on-transform-changes.execution.mjs +5 -5
- package/esm2022/domain/update-item-and-children-layers/index.mjs +4 -0
- package/esm2022/domain/update-item-and-children-layers/move-front-elements-before-target-element/index.mjs +3 -0
- package/esm2022/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element.execution.mjs +30 -0
- package/esm2022/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element.request.mjs +14 -0
- package/esm2022/domain/update-item-and-children-layers/update-item-and-children-layers.execution.mjs +99 -0
- package/esm2022/domain/update-item-and-children-layers/update-item-and-children-layers.request.mjs +9 -0
- package/esm2022/f-backgroud/f-background-base.mjs +3 -3
- package/esm2022/f-backgroud/f-background.component.mjs +3 -3
- package/esm2022/f-backgroud/f-circle-pattern/f-circle-pattern.component.mjs +3 -3
- package/esm2022/f-backgroud/f-rect-pattern/f-rect-pattern.component.mjs +3 -3
- package/esm2022/f-canvas/f-canvas-base.mjs +4 -4
- package/esm2022/f-canvas/f-canvas.component.mjs +11 -7
- package/esm2022/f-connection/common/domain/f-bezier.path-builder.mjs +2 -2
- package/esm2022/f-connection/common/domain/f-segment.path-builder.mjs +3 -2
- package/esm2022/f-connection/common/domain/f-straight.path-builder.mjs +2 -2
- package/esm2022/f-connection/common/f-connection-base.mjs +8 -6
- package/esm2022/f-connection/common/f-connection-text/f-connection-text-path.directive.mjs +5 -5
- package/esm2022/f-connection/common/f-connection-text/f-connection-text.component.mjs +5 -5
- package/esm2022/f-connection/common/f-drag-handle/f-connection-drag-handle.component.mjs +6 -6
- package/esm2022/f-connection/common/f-gradient/f-connection-gradient.component.mjs +5 -5
- package/esm2022/f-connection/common/f-path/f-connection-path.component.mjs +11 -11
- package/esm2022/f-connection/common/f-selection/f-connection-selection.component.mjs +5 -5
- package/esm2022/f-connection/common/i-has-connection-from-to.mjs +1 -1
- package/esm2022/f-connection/common/mixins/change-connection-selection.mixin.mjs +2 -1
- package/esm2022/f-connection/f-connection/f-connection.component.mjs +24 -19
- package/esm2022/f-connection/f-connection-builder/f-connection-factory.mjs +3 -3
- package/esm2022/f-connection/f-connection-builder/i-f-connection-builder-response.mjs +1 -1
- package/esm2022/f-connection/f-connection-center/f-connection-center.directive.mjs +3 -3
- package/esm2022/f-connection/f-connection-for-create/f-connection-for-create.component.mjs +21 -14
- package/esm2022/f-connection/f-marker/f-marker-base.mjs +3 -3
- package/esm2022/f-connection/f-marker/f-marker.directive.mjs +3 -3
- package/esm2022/f-connectors/f-node-input/f-node-input-base.mjs +3 -3
- package/esm2022/f-connectors/f-node-input/f-node-input.directive.mjs +3 -3
- package/esm2022/f-connectors/f-node-outlet/f-node-outlet-base.mjs +3 -3
- package/esm2022/f-connectors/f-node-outlet/f-node-outlet.directive.mjs +3 -3
- package/esm2022/f-connectors/f-node-output/f-node-output-base.mjs +3 -3
- package/esm2022/f-connectors/f-node-output/f-node-output.directive.mjs +3 -3
- package/esm2022/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.execution.mjs +5 -7
- package/esm2022/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.validator.mjs +6 -6
- package/esm2022/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.execution.mjs +3 -3
- package/esm2022/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.validator.mjs +9 -4
- package/esm2022/f-draggable/canvas/canvas.drag-handler.mjs +1 -3
- package/esm2022/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.execution.mjs +3 -3
- package/esm2022/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.validator.mjs +6 -6
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.execution.mjs +12 -6
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.request.mjs +4 -6
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.execution.mjs +8 -15
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.execution.mjs +7 -14
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.validator.mjs +3 -3
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.execution.mjs +3 -3
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.validator.mjs +3 -3
- package/esm2022/f-draggable/connections/create-connection/create-connection.drag-handler.mjs +9 -9
- package/esm2022/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.execution.mjs +3 -3
- package/esm2022/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.validator.mjs +3 -3
- package/esm2022/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.execution.mjs +3 -3
- package/esm2022/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.validator.mjs +3 -3
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.execution.mjs +5 -5
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.validator.mjs +6 -6
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.execution.mjs +6 -6
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.validator.mjs +3 -3
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.mjs +1 -3
- package/esm2022/f-draggable/domain/convert-computed-to-pixels/convert-computed-to-pixels-request.mjs +13 -0
- package/esm2022/f-draggable/domain/convert-computed-to-pixels/convert-computed-to-pixels.execution.mjs +49 -0
- package/esm2022/f-draggable/domain/convert-computed-to-pixels/index.mjs +3 -0
- package/esm2022/f-draggable/domain/get-node-padding/get-node-padding.execution.mjs +38 -0
- package/esm2022/f-draggable/domain/get-node-padding/get-node-padding.request.mjs +9 -0
- package/esm2022/f-draggable/domain/get-node-padding/index.mjs +3 -0
- package/esm2022/f-draggable/domain/get-normalized-node-rect/get-normalized-node-rect.execution.mjs +30 -0
- package/esm2022/f-draggable/domain/get-normalized-node-rect/get-normalized-node-rect.request.mjs +7 -0
- package/esm2022/f-draggable/domain/get-normalized-node-rect/index.mjs +3 -0
- package/esm2022/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.execution.mjs +50 -0
- package/esm2022/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.request.mjs +7 -0
- package/esm2022/f-draggable/domain/get-normalized-parent-node-rect/index.mjs +3 -0
- package/esm2022/f-draggable/domain/get-parent-nodes/get-parent-nodes.execution.mjs +37 -0
- package/esm2022/f-draggable/domain/get-parent-nodes/get-parent-nodes.request.mjs +7 -0
- package/esm2022/f-draggable/domain/get-parent-nodes/index.mjs +3 -0
- package/esm2022/f-draggable/domain/index.mjs +8 -0
- package/esm2022/f-draggable/domain/is-array-has-parent-node/index.mjs +3 -0
- package/esm2022/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.execution.mjs +35 -0
- package/esm2022/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.request.mjs +9 -0
- package/esm2022/f-draggable/domain/providers.mjs +15 -0
- package/esm2022/f-draggable/f-draggable-base.mjs +11 -6
- package/esm2022/f-draggable/f-draggable-data-context.mjs +4 -5
- package/esm2022/f-draggable/f-draggable.directive.mjs +6 -10
- package/esm2022/f-draggable/i-draggable-item.mjs +1 -1
- package/esm2022/f-draggable/index.mjs +2 -4
- package/esm2022/f-draggable/node/connection-base-drag-handler.mjs +42 -0
- package/esm2022/f-draggable/node/connection-source.drag-handler.mjs +14 -26
- package/esm2022/f-draggable/node/connection-target.drag-handler.mjs +14 -26
- package/esm2022/f-draggable/node/connection.drag-handler.mjs +16 -24
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.execution.mjs +48 -58
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/get-node-move-restrictions.execution.mjs +45 -0
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/get-node-move-restrictions.request.mjs +9 -0
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/i-node-move-restrictions.mjs +2 -0
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/index.mjs +4 -0
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/index.mjs +3 -0
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/put-input-connection-handlers-to-array.execution.mjs +72 -0
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/put-input-connection-handlers-to-array.request.mjs +11 -0
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/index.mjs +3 -0
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/put-output-connection-handlers-to-array.execution.mjs +72 -0
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/put-output-connection-handlers-to-array.request.mjs +11 -0
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/i-node-with-distance-restrictions.mjs +2 -0
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/index.mjs +5 -1
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/providers.mjs +7 -1
- package/esm2022/f-draggable/node/index.mjs +3 -1
- package/esm2022/f-draggable/node/node-move-finalize/node-move-finalize.execution.mjs +5 -5
- package/esm2022/f-draggable/node/node-move-finalize/node-move-finalize.validator.mjs +6 -6
- package/esm2022/f-draggable/node/node-move-preparation/node-move-preparation.execution.mjs +6 -7
- package/esm2022/f-draggable/node/node-move-preparation/node-move-preparation.validator.mjs +3 -3
- package/esm2022/f-draggable/node/node-resize-by-child.drag-handler.mjs +13 -0
- package/esm2022/f-draggable/node/node.drag-handler.mjs +21 -7
- package/esm2022/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.execution.mjs +49 -0
- package/esm2022/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.request.mjs +9 -0
- package/esm2022/f-draggable/node-resize/apply-child-resize-restrictions/index.mjs +3 -0
- package/esm2022/f-draggable/node-resize/apply-parent-resize-restrictions/apply-parent-resize-restrictions.execution.mjs +49 -0
- package/esm2022/f-draggable/node-resize/apply-parent-resize-restrictions/apply-parent-resize-restrictions.request.mjs +9 -0
- package/esm2022/f-draggable/node-resize/apply-parent-resize-restrictions/index.mjs +3 -0
- package/esm2022/f-draggable/node-resize/calculate-changed-position/calculate-changed-position.execution.mjs +25 -0
- package/esm2022/f-draggable/node-resize/calculate-changed-position/calculate-changed-position.request.mjs +13 -0
- package/esm2022/f-draggable/node-resize/calculate-changed-position/index.mjs +3 -0
- package/esm2022/f-draggable/node-resize/calculate-changed-size/calculate-changed-size.execution.mjs +34 -0
- package/esm2022/f-draggable/node-resize/calculate-changed-size/calculate-changed-size.request.mjs +11 -0
- package/esm2022/f-draggable/node-resize/calculate-changed-size/index.mjs +3 -0
- package/esm2022/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.execution.mjs +32 -0
- package/esm2022/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.request.mjs +9 -0
- package/esm2022/f-draggable/node-resize/get-node-resize-restrictions/i-node-resize-restrictions.mjs +2 -0
- package/esm2022/f-draggable/node-resize/get-node-resize-restrictions/index.mjs +4 -0
- package/esm2022/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.execution.mjs +42 -0
- package/esm2022/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.request.mjs +9 -0
- package/esm2022/f-draggable/node-resize/get-normalized-children-nodes-rect/index.mjs +3 -0
- package/esm2022/f-draggable/node-resize/index.mjs +8 -1
- package/esm2022/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.execution.mjs +3 -3
- package/esm2022/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.validator.mjs +6 -6
- package/esm2022/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.execution.mjs +5 -5
- package/esm2022/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.validator.mjs +3 -3
- package/esm2022/f-draggable/node-resize/node-resize.drag-handler.mjs +38 -39
- package/esm2022/f-draggable/node-resize/providers.mjs +13 -1
- package/esm2022/f-draggable/node-resize/resize-direction.mjs +8 -0
- package/esm2022/f-draggable/providers.mjs +7 -5
- package/esm2022/f-draggable/single-select/single-select.execution.mjs +13 -13
- package/esm2022/f-draggable/single-select/single-select.validator.mjs +3 -3
- package/esm2022/f-external-item/domain/external-item-finalize/external-item-finalize.execution.mjs +58 -0
- package/esm2022/f-external-item/domain/external-item-finalize/external-item-finalize.request.mjs +7 -0
- package/esm2022/f-external-item/domain/external-item-finalize/external-item-finalize.validator.mjs +26 -0
- package/esm2022/f-external-item/domain/external-item-finalize/index.mjs +5 -0
- package/esm2022/f-external-item/domain/external-item-finalize/providers.mjs +7 -0
- package/esm2022/f-external-item/domain/external-item-preparation/external-item-preparation.execution.mjs +44 -0
- package/esm2022/f-external-item/domain/external-item-preparation/external-item-preparation.request.mjs +7 -0
- package/esm2022/f-external-item/domain/external-item-preparation/external-item-preparation.validator.mjs +30 -0
- package/esm2022/f-external-item/domain/external-item-preparation/index.mjs +5 -0
- package/esm2022/f-external-item/domain/external-item-preparation/providers.mjs +7 -0
- package/esm2022/f-external-item/domain/external-item.drag-handler.mjs +36 -0
- package/esm2022/f-external-item/domain/f-create-node.event.mjs +9 -0
- package/esm2022/f-external-item/domain/index.mjs +6 -0
- package/esm2022/f-external-item/domain/providers.mjs +7 -0
- package/esm2022/f-external-item/f-external-item-base.mjs +3 -3
- package/esm2022/f-external-item/f-external-item.directive.mjs +3 -3
- package/esm2022/f-external-item/f-external-item.service.mjs +3 -3
- package/esm2022/f-external-item/index.mjs +2 -1
- package/esm2022/f-flow/f-flow.component.mjs +18 -10
- package/esm2022/f-flow.module.mjs +10 -9
- package/esm2022/f-line-alignment/domain/line-service.mjs +3 -1
- package/esm2022/f-line-alignment/f-line-alignment-base.mjs +3 -3
- package/esm2022/f-line-alignment/f-line-alignment.component.mjs +5 -5
- package/esm2022/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.execution.mjs +3 -3
- package/esm2022/f-minimap/domain/f-minimap.drag-handler.mjs +1 -3
- package/esm2022/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.execution.mjs +3 -3
- package/esm2022/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.validator.mjs +5 -5
- package/esm2022/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.execution.mjs +3 -3
- package/esm2022/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.validator.mjs +3 -3
- package/esm2022/f-minimap/f-minimap-canvas.directive.mjs +11 -13
- package/esm2022/f-minimap/f-minimap-flow.directive.mjs +6 -5
- package/esm2022/f-minimap/f-minimap-view.directive.mjs +3 -3
- package/esm2022/f-minimap/f-minimap.component.mjs +3 -3
- package/esm2022/f-node/domain/index.mjs +3 -0
- package/esm2022/f-node/domain/is-group.mjs +4 -0
- package/esm2022/f-node/domain/is-node.mjs +4 -0
- package/esm2022/f-node/f-drag-handle/f-drag-handle.directive.mjs +3 -3
- package/esm2022/f-node/f-group.directive.mjs +147 -0
- package/esm2022/f-node/f-node-base.mjs +2 -1
- package/esm2022/f-node/f-node.directive.mjs +14 -6
- package/esm2022/f-node/f-resize-handle/f-resize-handle.directive.mjs +3 -3
- package/esm2022/f-node/index.mjs +3 -2
- package/esm2022/f-node/providers.mjs +3 -2
- package/esm2022/f-selection-area/domain/index.mjs +5 -2
- package/esm2022/f-selection-area/domain/providers.mjs +7 -0
- package/esm2022/f-selection-area/domain/selection-area-finalize/index.mjs +5 -0
- package/esm2022/f-selection-area/domain/selection-area-finalize/providers.mjs +7 -0
- package/esm2022/f-selection-area/domain/selection-area-finalize/selection-area-finalize.execution.mjs +27 -0
- package/esm2022/f-selection-area/domain/selection-area-finalize/selection-area-finalize.request.mjs +7 -0
- package/esm2022/f-selection-area/domain/selection-area-finalize/selection-area-finalize.validator.mjs +26 -0
- package/esm2022/f-selection-area/domain/selection-area-preparation/index.mjs +5 -0
- package/esm2022/f-selection-area/domain/selection-area-preparation/providers.mjs +7 -0
- package/esm2022/f-selection-area/domain/selection-area-preparation/selection-area-preparation.execution.mjs +41 -0
- package/esm2022/f-selection-area/domain/selection-area-preparation/selection-area-preparation.request.mjs +9 -0
- package/esm2022/f-selection-area/domain/selection-area-preparation/selection-area-preparation.validator.mjs +30 -0
- package/esm2022/f-selection-area/domain/selection-area.drag-handle.mjs +52 -0
- package/esm2022/f-selection-area/f-selection-area-base.mjs +5 -6
- package/esm2022/f-selection-area/f-selection-area.component.mjs +22 -15
- package/esm2022/f-storage/f-components-store.mjs +17 -7
- package/esm2022/f-storage/f-transform-store.mjs +3 -3
- package/esm2022/f-zoom/f-zoom.directive.mjs +3 -3
- package/esm2022/infrastructure/f-mediator/f-flow-mediator.mjs +3 -3
- package/f-canvas/f-canvas-base.d.ts +1 -0
- package/f-canvas/f-canvas.component.d.ts +2 -1
- package/f-connection/common/f-connection-base.d.ts +2 -1
- package/f-connection/common/f-drag-handle/f-connection-drag-handle.component.d.ts +1 -1
- package/f-connection/common/i-has-connection-from-to.d.ts +1 -1
- package/f-connection/common/mixins/change-connection-selection.mixin.d.ts +1 -0
- package/f-connection/f-connection/f-connection.component.d.ts +4 -3
- package/f-connection/f-connection-builder/i-f-connection-builder-response.d.ts +1 -0
- package/f-connection/f-connection-for-create/f-connection-for-create.component.d.ts +4 -3
- package/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.validator.d.ts +1 -0
- package/f-draggable/canvas/canvas.drag-handler.d.ts +0 -2
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.execution.d.ts +1 -0
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.request.d.ts +2 -3
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.execution.d.ts +0 -1
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.execution.d.ts +0 -1
- package/f-draggable/connections/create-connection/create-connection.drag-handler.d.ts +2 -4
- package/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.d.ts +0 -2
- package/f-draggable/domain/convert-computed-to-pixels/convert-computed-to-pixels-request.d.ts +7 -0
- package/f-draggable/domain/convert-computed-to-pixels/convert-computed-to-pixels.execution.d.ts +12 -0
- package/f-draggable/domain/convert-computed-to-pixels/index.d.ts +2 -0
- package/f-draggable/domain/get-node-padding/get-node-padding.execution.d.ts +12 -0
- package/f-draggable/domain/get-node-padding/get-node-padding.request.d.ts +7 -0
- package/f-draggable/domain/get-node-padding/index.d.ts +2 -0
- package/f-draggable/domain/get-normalized-node-rect/get-normalized-node-rect.execution.d.ts +13 -0
- package/f-draggable/domain/get-normalized-node-rect/get-normalized-node-rect.request.d.ts +5 -0
- package/f-draggable/domain/get-normalized-node-rect/index.d.ts +2 -0
- package/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.execution.d.ts +17 -0
- package/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.request.d.ts +5 -0
- package/f-draggable/domain/get-normalized-parent-node-rect/index.d.ts +2 -0
- package/f-draggable/domain/get-parent-nodes/get-parent-nodes.execution.d.ts +13 -0
- package/f-draggable/domain/get-parent-nodes/get-parent-nodes.request.d.ts +5 -0
- package/f-draggable/domain/get-parent-nodes/index.d.ts +2 -0
- package/f-draggable/domain/index.d.ts +7 -0
- package/f-draggable/domain/is-array-has-parent-node/index.d.ts +2 -0
- package/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.execution.d.ts +13 -0
- package/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.request.d.ts +6 -0
- package/f-draggable/domain/providers.d.ts +7 -0
- package/f-draggable/f-draggable-base.d.ts +2 -1
- package/f-draggable/f-draggable-data-context.d.ts +0 -2
- package/f-draggable/f-draggable.directive.d.ts +1 -1
- package/f-draggable/i-draggable-item.d.ts +0 -2
- package/f-draggable/index.d.ts +1 -3
- package/f-draggable/node/connection-base-drag-handler.d.ts +23 -0
- package/f-draggable/node/connection-source.drag-handler.d.ts +6 -12
- package/f-draggable/node/connection-target.drag-handler.d.ts +6 -12
- package/f-draggable/node/connection.drag-handler.d.ts +7 -10
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.execution.d.ts +4 -6
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/get-node-move-restrictions.execution.d.ts +13 -0
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/get-node-move-restrictions.request.d.ts +6 -0
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/i-node-move-restrictions.d.ts +5 -0
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/index.d.ts +3 -0
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/index.d.ts +2 -0
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/put-input-connection-handlers-to-array.execution.d.ts +22 -0
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/put-input-connection-handlers-to-array.request.d.ts +8 -0
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/index.d.ts +2 -0
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/put-output-connection-handlers-to-array.execution.d.ts +22 -0
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/put-output-connection-handlers-to-array.request.d.ts +8 -0
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/i-node-with-distance-restrictions.d.ts +6 -0
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/index.d.ts +4 -0
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/providers.d.ts +4 -1
- package/f-draggable/node/index.d.ts +2 -0
- package/f-draggable/node/node-resize-by-child.drag-handler.d.ts +10 -0
- package/f-draggable/node/node.drag-handler.d.ts +6 -3
- package/f-draggable/node/providers.d.ts +1 -1
- package/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.execution.d.ts +13 -0
- package/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.request.d.ts +6 -0
- package/f-draggable/node-resize/apply-child-resize-restrictions/index.d.ts +2 -0
- package/f-draggable/node-resize/apply-parent-resize-restrictions/apply-parent-resize-restrictions.execution.d.ts +13 -0
- package/f-draggable/node-resize/apply-parent-resize-restrictions/apply-parent-resize-restrictions.request.d.ts +6 -0
- package/f-draggable/node-resize/apply-parent-resize-restrictions/index.d.ts +2 -0
- package/f-draggable/node-resize/calculate-changed-position/calculate-changed-position.execution.d.ts +10 -0
- package/f-draggable/node-resize/calculate-changed-position/calculate-changed-position.request.d.ts +9 -0
- package/f-draggable/node-resize/calculate-changed-position/index.d.ts +2 -0
- package/f-draggable/node-resize/calculate-changed-size/calculate-changed-size.execution.d.ts +10 -0
- package/f-draggable/node-resize/calculate-changed-size/calculate-changed-size.request.d.ts +8 -0
- package/f-draggable/node-resize/calculate-changed-size/index.d.ts +2 -0
- package/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.execution.d.ts +11 -0
- package/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.request.d.ts +7 -0
- package/f-draggable/node-resize/get-node-resize-restrictions/i-node-resize-restrictions.d.ts +5 -0
- package/f-draggable/node-resize/get-node-resize-restrictions/index.d.ts +3 -0
- package/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.execution.d.ts +15 -0
- package/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.request.d.ts +7 -0
- package/f-draggable/node-resize/get-normalized-children-nodes-rect/index.d.ts +2 -0
- package/f-draggable/node-resize/index.d.ts +7 -0
- package/f-draggable/node-resize/node-resize.drag-handler.d.ts +11 -10
- package/f-draggable/node-resize/providers.d.ts +7 -1
- package/f-draggable/node-resize/resize-direction.d.ts +18 -0
- package/f-draggable/providers.d.ts +1 -1
- package/f-draggable/single-select/single-select.execution.d.ts +2 -3
- package/{f-draggable/external-item → f-external-item/domain}/external-item-finalize/external-item-finalize.execution.d.ts +1 -1
- package/{f-draggable/external-item → f-external-item/domain}/external-item-finalize/external-item-finalize.validator.d.ts +1 -1
- package/{f-draggable/external-item → f-external-item/domain}/external-item-preparation/external-item-preparation.execution.d.ts +1 -1
- package/{f-draggable/external-item → f-external-item/domain}/external-item.drag-handler.d.ts +1 -3
- package/f-external-item/domain/providers.d.ts +1 -0
- package/f-external-item/index.d.ts +1 -0
- package/f-flow/f-flow.component.d.ts +2 -1
- package/f-flow.module.d.ts +8 -7
- package/f-minimap/domain/f-minimap.drag-handler.d.ts +1 -2
- package/f-minimap/f-minimap-canvas.directive.d.ts +1 -3
- package/f-node/domain/index.d.ts +2 -0
- package/f-node/domain/is-group.d.ts +1 -0
- package/f-node/f-group.directive.d.ts +40 -0
- package/f-node/f-node-base.d.ts +3 -0
- package/f-node/f-node.directive.d.ts +6 -4
- package/f-node/index.d.ts +2 -1
- package/f-node/providers.d.ts +2 -1
- package/f-selection-area/domain/index.d.ts +4 -1
- package/f-selection-area/domain/providers.d.ts +1 -0
- package/{f-draggable/selection-area → f-selection-area/domain}/selection-area-finalize/selection-area-finalize.execution.d.ts +1 -1
- package/{f-draggable/selection-area → f-selection-area/domain}/selection-area-finalize/selection-area-finalize.validator.d.ts +1 -1
- package/{f-draggable/selection-area → f-selection-area/domain}/selection-area-preparation/selection-area-preparation.execution.d.ts +1 -1
- package/f-selection-area/domain/selection-area-preparation/selection-area-preparation.request.d.ts +7 -0
- package/{f-draggable/selection-area → f-selection-area/domain}/selection-area-preparation/selection-area-preparation.validator.d.ts +1 -1
- package/{f-draggable/selection-area → f-selection-area/domain}/selection-area.drag-handle.d.ts +4 -5
- package/f-selection-area/f-selection-area-base.d.ts +2 -5
- package/f-selection-area/f-selection-area.component.d.ts +9 -6
- package/f-storage/f-components-store.d.ts +6 -2
- package/fesm2022/foblex-flow.mjs +2396 -1297
- package/fesm2022/foblex-flow.mjs.map +1 -1
- package/package.json +3 -3
- package/domain/get-connection.handler.d.ts +0 -12
- package/domain/get-external-nodes-rect/get-external-nodes-rect.execution.d.ts +0 -14
- package/domain/get-external-nodes-rect/get-external-nodes-rect.request.d.ts +0 -2
- package/domain/get-external-nodes-rect/index.d.ts +0 -2
- package/domain/get-incoming-connections.handler.d.ts +0 -13
- package/domain/get-outgoing-connections.handler.d.ts +0 -13
- package/domain/update-item-layer/index.d.ts +0 -2
- package/domain/update-item-layer/update-item-layer.execution.d.ts +0 -8
- package/esm2022/domain/get-connection.handler.mjs +0 -21
- package/esm2022/domain/get-external-nodes-rect/get-external-nodes-rect.execution.mjs +0 -35
- package/esm2022/domain/get-external-nodes-rect/get-external-nodes-rect.request.mjs +0 -3
- package/esm2022/domain/get-external-nodes-rect/index.mjs +0 -3
- package/esm2022/domain/get-incoming-connections.handler.mjs +0 -24
- package/esm2022/domain/get-outgoing-connections.handler.mjs +0 -24
- package/esm2022/domain/update-item-layer/index.mjs +0 -3
- package/esm2022/domain/update-item-layer/update-item-layer.execution.mjs +0 -28
- package/esm2022/domain/update-item-layer/update-item-layer.request.mjs +0 -9
- package/esm2022/f-draggable/e-f-draggable-type.mjs +0 -13
- package/esm2022/f-draggable/external-item/external-item-finalize/external-item-finalize.execution.mjs +0 -58
- package/esm2022/f-draggable/external-item/external-item-finalize/external-item-finalize.request.mjs +0 -7
- package/esm2022/f-draggable/external-item/external-item-finalize/external-item-finalize.validator.mjs +0 -26
- package/esm2022/f-draggable/external-item/external-item-finalize/index.mjs +0 -5
- package/esm2022/f-draggable/external-item/external-item-finalize/providers.mjs +0 -7
- package/esm2022/f-draggable/external-item/external-item-preparation/external-item-preparation.execution.mjs +0 -44
- package/esm2022/f-draggable/external-item/external-item-preparation/external-item-preparation.request.mjs +0 -7
- package/esm2022/f-draggable/external-item/external-item-preparation/external-item-preparation.validator.mjs +0 -30
- package/esm2022/f-draggable/external-item/external-item-preparation/index.mjs +0 -5
- package/esm2022/f-draggable/external-item/external-item-preparation/providers.mjs +0 -7
- package/esm2022/f-draggable/external-item/external-item.drag-handler.mjs +0 -38
- package/esm2022/f-draggable/external-item/f-create-node.event.mjs +0 -9
- package/esm2022/f-draggable/external-item/index.mjs +0 -6
- package/esm2022/f-draggable/external-item/providers.mjs +0 -7
- package/esm2022/f-draggable/selection-area/index.mjs +0 -5
- package/esm2022/f-draggable/selection-area/providers.mjs +0 -7
- package/esm2022/f-draggable/selection-area/selection-area-finalize/index.mjs +0 -5
- package/esm2022/f-draggable/selection-area/selection-area-finalize/providers.mjs +0 -7
- package/esm2022/f-draggable/selection-area/selection-area-finalize/selection-area-finalize.execution.mjs +0 -27
- package/esm2022/f-draggable/selection-area/selection-area-finalize/selection-area-finalize.request.mjs +0 -7
- package/esm2022/f-draggable/selection-area/selection-area-finalize/selection-area-finalize.validator.mjs +0 -26
- package/esm2022/f-draggable/selection-area/selection-area-preparation/index.mjs +0 -5
- package/esm2022/f-draggable/selection-area/selection-area-preparation/providers.mjs +0 -7
- package/esm2022/f-draggable/selection-area/selection-area-preparation/selection-area-preparation.execution.mjs +0 -41
- package/esm2022/f-draggable/selection-area/selection-area-preparation/selection-area-preparation.request.mjs +0 -7
- package/esm2022/f-draggable/selection-area/selection-area-preparation/selection-area-preparation.validator.mjs +0 -31
- package/esm2022/f-draggable/selection-area/selection-area.drag-handle.mjs +0 -57
- package/esm2022/f-node/is-node.mjs +0 -4
- package/esm2022/f-selection-area/domain/i-selection-area-rect.mjs +0 -2
- package/f-draggable/e-f-draggable-type.d.ts +0 -11
- package/f-draggable/external-item/providers.d.ts +0 -1
- package/f-draggable/selection-area/index.d.ts +0 -4
- package/f-draggable/selection-area/providers.d.ts +0 -1
- package/f-draggable/selection-area/selection-area-preparation/selection-area-preparation.request.d.ts +0 -5
- package/f-selection-area/domain/i-selection-area-rect.d.ts +0 -6
- /package/{f-draggable/external-item → f-external-item/domain}/external-item-finalize/external-item-finalize.request.d.ts +0 -0
- /package/{f-draggable/external-item → f-external-item/domain}/external-item-finalize/index.d.ts +0 -0
- /package/{f-draggable/external-item → f-external-item/domain}/external-item-finalize/providers.d.ts +0 -0
- /package/{f-draggable/external-item → f-external-item/domain}/external-item-preparation/external-item-preparation.request.d.ts +0 -0
- /package/{f-draggable/external-item → f-external-item/domain}/external-item-preparation/external-item-preparation.validator.d.ts +0 -0
- /package/{f-draggable/external-item → f-external-item/domain}/external-item-preparation/index.d.ts +0 -0
- /package/{f-draggable/external-item → f-external-item/domain}/external-item-preparation/providers.d.ts +0 -0
- /package/{f-draggable/external-item → f-external-item/domain}/f-create-node.event.d.ts +0 -0
- /package/{f-draggable/external-item → f-external-item/domain}/index.d.ts +0 -0
- /package/f-node/{is-node.d.ts → domain/is-node.d.ts} +0 -0
- /package/{f-draggable/selection-area → f-selection-area/domain}/selection-area-finalize/index.d.ts +0 -0
- /package/{f-draggable/selection-area → f-selection-area/domain}/selection-area-finalize/providers.d.ts +0 -0
- /package/{f-draggable/selection-area → f-selection-area/domain}/selection-area-finalize/selection-area-finalize.request.d.ts +0 -0
- /package/{f-draggable/selection-area → f-selection-area/domain}/selection-area-preparation/index.d.ts +0 -0
- /package/{f-draggable/selection-area → f-selection-area/domain}/selection-area-preparation/providers.d.ts +0 -0
package/README.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
|
|
2
1
|
<p align="center">
|
|
3
|
-
<
|
|
2
|
+
<a href="https://flow.foblex.com">
|
|
3
|
+
<img style="margin: auto" src="https://github.com/user-attachments/assets/0557914d-a43d-43c1-8346-760d3627da14" alt="Foblex Flow Logo"/>
|
|
4
|
+
</a>
|
|
4
5
|
</p>
|
|
5
6
|
|
|
6
7
|
<p align="center">
|
|
@@ -12,9 +13,9 @@
|
|
|
12
13
|
</a>
|
|
13
14
|
</p>
|
|
14
15
|
|
|
15
|
-
## Welcome to
|
|
16
|
+
## Welcome to Foblex Flow
|
|
16
17
|
|
|
17
|
-
|
|
18
|
+
Foblex Flow is an [Angular](https://angular.dev/) library designed to simplify the creation and manipulation of
|
|
18
19
|
dynamic flows. It provides components for flows, nodes, and connections, automating node
|
|
19
20
|
manipulation and inter-node connections.
|
|
20
21
|
|
|
@@ -35,11 +36,11 @@ manipulation and inter-node connections.
|
|
|
35
36
|
|
|
36
37
|
### Getting Started and Documentation
|
|
37
38
|
|
|
38
|
-
Visit our [Documentation](https://flow.foblex.
|
|
39
|
+
Visit our [Documentation](https://flow.foblex.com/docs/get-started) to learn how to install and use the library in your Angular project.
|
|
39
40
|
|
|
40
41
|
### Installation
|
|
41
42
|
|
|
42
|
-
To add
|
|
43
|
+
To add Foblex Flow to your project, run the following command:
|
|
43
44
|
|
|
44
45
|
```bash
|
|
45
46
|
npm install @foblex/flow
|
|
@@ -48,19 +49,21 @@ npm install @foblex/flow
|
|
|
48
49
|
### Usage
|
|
49
50
|
|
|
50
51
|
Example:
|
|
52
|
+
|
|
51
53
|
```html
|
|
54
|
+
|
|
52
55
|
<f-flow fDraggable>
|
|
53
56
|
<f-canvas>
|
|
54
57
|
<f-connection fOutputId="output1" fInputId="input1"></f-connection>
|
|
55
|
-
|
|
56
|
-
|
|
58
|
+
<div fNode fDragHandle [fNodePosition]="{ x: 24, y: 24 }" fNodeOutput fOutputId="output1" fOutputConnectableSide="right"> Drag me</div>
|
|
59
|
+
<div fNode fDragHandle [fNodePosition]="{ x: 244, y: 24 }" fNodeInput fInputId="input1" fInputConnectableSide="left"> Drag me</div>
|
|
57
60
|
</f-canvas>
|
|
58
61
|
</f-flow>
|
|
59
62
|
```
|
|
60
63
|
|
|
61
64
|
### Support and Community
|
|
62
65
|
|
|
63
|
-
For questions, feedback, and support, visit the [Foblex Portal](https://
|
|
66
|
+
For questions, feedback, and support, visit the [Foblex Portal](https://flow.foblex.com) to connect with the community and the development team.
|
|
64
67
|
You can also report [issues](https://github.com/Foblex/flow/issues) and request [features](https://github.com/Foblex/flow/discussions) on the [GitHub repository](https://github.com/Foblex/flow).
|
|
65
68
|
|
|
66
69
|
### License
|
package/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.execution.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { GetDeepChildrenNodesAndGroupsRequest } from './get-deep-children-nodes-and-groups.request';
|
|
2
|
+
import { FComponentsStore } from '../../f-storage';
|
|
3
|
+
import { FNodeBase } from '../../f-node';
|
|
4
|
+
import { IExecution } from '../../infrastructure';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class GetDeepChildrenNodesAndGroupsExecution implements IExecution<GetDeepChildrenNodesAndGroupsRequest, FNodeBase[]> {
|
|
7
|
+
private fComponentsStore;
|
|
8
|
+
constructor(fComponentsStore: FComponentsStore);
|
|
9
|
+
handle(request: GetDeepChildrenNodesAndGroupsRequest): FNodeBase[];
|
|
10
|
+
private getChildrenNodes;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GetDeepChildrenNodesAndGroupsExecution, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<GetDeepChildrenNodesAndGroupsExecution>;
|
|
13
|
+
}
|
|
@@ -3,10 +3,10 @@ import { GetNodesRectRequest } from './get-nodes-rect.request';
|
|
|
3
3
|
import { FComponentsStore } from '../../f-storage';
|
|
4
4
|
import { IExecution } from '../../infrastructure';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class GetNodesRectExecution implements IExecution<GetNodesRectRequest, IRect> {
|
|
6
|
+
export declare class GetNodesRectExecution implements IExecution<GetNodesRectRequest, IRect | null> {
|
|
7
7
|
private fComponentsStore;
|
|
8
8
|
constructor(fComponentsStore: FComponentsStore);
|
|
9
|
-
handle(request: GetNodesRectRequest): IRect;
|
|
9
|
+
handle(request: GetNodesRectRequest): IRect | null;
|
|
10
10
|
private getNodesRects;
|
|
11
11
|
private getNodes;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<GetNodesRectExecution, never>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IRect } from '@foblex/core';
|
|
2
|
+
import { GetScaledNodeRectsWithFlowPositionRequest } from './get-scaled-node-rects-with-flow-position.request';
|
|
3
|
+
import { FComponentsStore } from '../../f-storage';
|
|
4
|
+
import { IExecution } from '../../infrastructure';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class GetScaledNodeRectsWithFlowPositionExecution implements IExecution<GetScaledNodeRectsWithFlowPositionRequest, IRect | null> {
|
|
7
|
+
private fComponentsStore;
|
|
8
|
+
constructor(fComponentsStore: FComponentsStore);
|
|
9
|
+
handle(request: GetScaledNodeRectsWithFlowPositionRequest): IRect | null;
|
|
10
|
+
private getNodesRects;
|
|
11
|
+
private getNodes;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GetScaledNodeRectsWithFlowPositionExecution, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<GetScaledNodeRectsWithFlowPositionExecution>;
|
|
14
|
+
}
|
package/domain/index.d.ts
CHANGED
|
@@ -2,9 +2,10 @@ export * from './clear-selection';
|
|
|
2
2
|
export * from './create-connection-markers';
|
|
3
3
|
export * from './emit-transform-changes';
|
|
4
4
|
export * from './get-can-be-selected-items';
|
|
5
|
+
export * from './get-deep-children-nodes-and-groups';
|
|
5
6
|
export * from './get-connection-line';
|
|
6
7
|
export * from './get-element-rect-in-flow';
|
|
7
|
-
export * from './get-
|
|
8
|
+
export * from './get-scaled-node-rects-with-flow-position';
|
|
8
9
|
export * from './get-input-rect-in-flow';
|
|
9
10
|
export * from './get-nodes-rect';
|
|
10
11
|
export * from './get-output-rect-in-flow';
|
|
@@ -15,13 +16,11 @@ export * from './redraw-connections';
|
|
|
15
16
|
export * from './select';
|
|
16
17
|
export * from './select-all';
|
|
17
18
|
export * from './select-and-update-node-layer';
|
|
19
|
+
export * from './sort-item-layers';
|
|
18
20
|
export * from './subscribe-on-transform-changes';
|
|
19
21
|
export * from './intersections';
|
|
20
|
-
export * from './update-item-
|
|
22
|
+
export * from './update-item-and-children-layers';
|
|
21
23
|
export * from './cast-to-enum';
|
|
22
|
-
export * from './get-connection.handler';
|
|
23
|
-
export * from './get-incoming-connections.handler';
|
|
24
|
-
export * from './get-outgoing-connections.handler';
|
|
25
24
|
export * from './get-value-from-data-attr';
|
|
26
25
|
export * from './is-element-with-class';
|
|
27
26
|
export * from './providers';
|
|
@@ -2,18 +2,14 @@ import { FFlowMediator, IExecution } from '../../infrastructure';
|
|
|
2
2
|
import { IsConnectionUnderNodeRequest } from './is-connection-under-node.request';
|
|
3
3
|
import { FComponentsStore } from '../../f-storage';
|
|
4
4
|
import { FDraggableDataContext } from '../../f-draggable';
|
|
5
|
-
import { GetOutgoingConnectionsHandler } from '../get-outgoing-connections.handler';
|
|
6
|
-
import { GetIncomingConnectionsHandler } from '../get-incoming-connections.handler';
|
|
7
5
|
import * as i0 from "@angular/core";
|
|
8
6
|
export declare class IsConnectionUnderNodeExecution implements IExecution<IsConnectionUnderNodeRequest, void> {
|
|
9
7
|
private fComponentsStore;
|
|
10
8
|
private fDraggableDataContext;
|
|
11
9
|
private fMediator;
|
|
12
|
-
private getOutgoingConnectionsHandler;
|
|
13
|
-
private getIncomingConnectionsHandler;
|
|
14
10
|
private get transform();
|
|
15
11
|
private get flowHost();
|
|
16
|
-
constructor(fComponentsStore: FComponentsStore, fDraggableDataContext: FDraggableDataContext, fMediator: FFlowMediator
|
|
12
|
+
constructor(fComponentsStore: FComponentsStore, fDraggableDataContext: FDraggableDataContext, fMediator: FFlowMediator);
|
|
17
13
|
handle(): void;
|
|
18
14
|
private isValidRequest;
|
|
19
15
|
private getOutputsForNode;
|
package/domain/providers.d.ts
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { GetIncomingConnectionsHandler } from './get-incoming-connections.handler';
|
|
2
|
-
import { GetOutgoingConnectionsHandler } from './get-outgoing-connections.handler';
|
|
3
|
-
import { GetConnectionHandler } from './get-connection.handler';
|
|
4
1
|
import { GetConnectionLineExecution } from './get-connection-line';
|
|
5
2
|
import { RedrawConnectionsExecution } from './redraw-connections';
|
|
6
3
|
import { GetOutputRectInFlowExecution } from './get-output-rect-in-flow';
|
|
@@ -11,13 +8,15 @@ import { GetNodesRectExecution } from './get-nodes-rect';
|
|
|
11
8
|
import { GetElementRectInFlowExecution } from './get-element-rect-in-flow';
|
|
12
9
|
import { GetInputRectInFlowExecution } from './get-input-rect-in-flow';
|
|
13
10
|
import { SelectExecution } from './select';
|
|
14
|
-
import {
|
|
11
|
+
import { MoveFrontElementsBeforeTargetElementExecution, UpdateItemAndChildrenLayersExecution } from './update-item-and-children-layers';
|
|
15
12
|
import { GetPositionInFlowExecution } from './get-position-in-flow';
|
|
16
13
|
import { CreateConnectionMarkersExecution } from './create-connection-markers';
|
|
17
14
|
import { GetCanBeSelectedItemsExecution } from './get-can-be-selected-items';
|
|
18
15
|
import { IsConnectionUnderNodeExecution } from './is-connection-under-node';
|
|
19
16
|
import { SelectAndUpdateNodeLayerExecution } from './select-and-update-node-layer';
|
|
20
|
-
import {
|
|
17
|
+
import { GetScaledNodeRectsWithFlowPositionExecution } from './get-scaled-node-rects-with-flow-position';
|
|
21
18
|
import { EmitTransformChangesExecution } from './emit-transform-changes';
|
|
22
19
|
import { SubscribeOnTransformChangesExecution } from './subscribe-on-transform-changes';
|
|
23
|
-
|
|
20
|
+
import { SortItemLayersExecution, SortItemsByParentExecution, SortNodeLayersExecution } from './sort-item-layers';
|
|
21
|
+
import { GetDeepChildrenNodesAndGroupsExecution } from './get-deep-children-nodes-and-groups';
|
|
22
|
+
export declare const COMMON_PROVIDERS: (typeof ClearSelectionExecution | typeof CreateConnectionMarkersExecution | typeof EmitTransformChangesExecution | typeof GetElementRectInFlowExecution | typeof GetCanBeSelectedItemsExecution | typeof GetDeepChildrenNodesAndGroupsExecution | typeof GetConnectionLineExecution | typeof GetScaledNodeRectsWithFlowPositionExecution | typeof GetInputRectInFlowExecution | typeof GetNodesRectExecution | typeof GetOutputRectInFlowExecution | typeof GetPositionInFlowExecution | typeof GetSelectionExecution | typeof IsConnectionUnderNodeExecution | typeof RedrawConnectionsExecution | typeof SelectExecution | typeof SelectAllExecution | typeof MoveFrontElementsBeforeTargetElementExecution | typeof UpdateItemAndChildrenLayersExecution | typeof SelectAndUpdateNodeLayerExecution | typeof SortNodeLayersExecution | typeof SortItemsByParentExecution | typeof SortItemLayersExecution | typeof SubscribeOnTransformChangesExecution)[];
|
|
@@ -2,13 +2,11 @@ import { IHandler } from '@foblex/core';
|
|
|
2
2
|
import { SelectAndUpdateNodeLayerRequest } from './select-and-update-node-layer.request';
|
|
3
3
|
import { FFlowMediator } from '../../infrastructure';
|
|
4
4
|
import { FDraggableDataContext } from '../../f-draggable';
|
|
5
|
-
import { FComponentsStore } from '../../f-storage';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
6
|
export declare class SelectAndUpdateNodeLayerExecution implements IHandler<SelectAndUpdateNodeLayerRequest, void> {
|
|
8
7
|
private fDraggableDataContext;
|
|
9
|
-
private fComponentsStore;
|
|
10
8
|
private fMediator;
|
|
11
|
-
constructor(fDraggableDataContext: FDraggableDataContext,
|
|
9
|
+
constructor(fDraggableDataContext: FDraggableDataContext, fMediator: FFlowMediator);
|
|
12
10
|
handle(request: SelectAndUpdateNodeLayerRequest): void;
|
|
13
11
|
private selectNodeIfNotSelected;
|
|
14
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectAndUpdateNodeLayerExecution, never>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { SortItemLayersRequest } from './sort-item-layers.request';
|
|
2
|
+
import { FFlowMediator, IExecution } from '../../infrastructure';
|
|
3
|
+
import { FComponentsStore } from '../../f-storage';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class SortItemLayersExecution implements IExecution<SortItemLayersRequest, void> {
|
|
6
|
+
private fMediator;
|
|
7
|
+
private fComponentsStore;
|
|
8
|
+
constructor(fMediator: FFlowMediator, fComponentsStore: FComponentsStore);
|
|
9
|
+
handle(request: SortItemLayersRequest): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SortItemLayersExecution, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SortItemLayersExecution>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { SortItemsByParentRequest } from './sort-items-by-parent.request';
|
|
2
|
+
import { WindowService } from '@foblex/core';
|
|
3
|
+
import { FFlowMediator, IExecution } from '../../../infrastructure';
|
|
4
|
+
import { FComponentsStore } from '../../../f-storage';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class SortItemsByParentExecution implements IExecution<SortItemsByParentRequest, void> {
|
|
7
|
+
private fComponentsStore;
|
|
8
|
+
private fMediator;
|
|
9
|
+
private windowService;
|
|
10
|
+
private fItemsContainer;
|
|
11
|
+
private get fItemsFromContainer();
|
|
12
|
+
constructor(fComponentsStore: FComponentsStore, fMediator: FFlowMediator, windowService: WindowService);
|
|
13
|
+
handle(request: SortItemsByParentRequest): void;
|
|
14
|
+
private getItems;
|
|
15
|
+
private getSortedChildrenItems;
|
|
16
|
+
private getChildrenGroups;
|
|
17
|
+
private moveChildrenItems;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SortItemsByParentExecution, never>;
|
|
19
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SortItemsByParentExecution>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { SortNodeLayersRequest } from './sort-node-layers.request';
|
|
2
|
+
import { WindowService } from '@foblex/core';
|
|
3
|
+
import { FFlowMediator, IExecution } from '../../../infrastructure';
|
|
4
|
+
import { FComponentsStore } from '../../../f-storage';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class SortNodeLayersExecution implements IExecution<SortNodeLayersRequest, void> {
|
|
7
|
+
private fComponentsStore;
|
|
8
|
+
private fMediator;
|
|
9
|
+
private windowService;
|
|
10
|
+
private get fGroupsContainer();
|
|
11
|
+
private get fNodesContainer();
|
|
12
|
+
private get fNodesContainerElements();
|
|
13
|
+
constructor(fComponentsStore: FComponentsStore, fMediator: FFlowMediator, windowService: WindowService);
|
|
14
|
+
handle(request: SortNodeLayersRequest): void;
|
|
15
|
+
private getGroups;
|
|
16
|
+
private getSortedChildrenNodes;
|
|
17
|
+
private getChildrenNodes;
|
|
18
|
+
private moveChildrenNodes;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SortNodeLayersExecution, never>;
|
|
20
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SortNodeLayersExecution>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { MoveFrontElementsBeforeTargetElementRequest } from './move-front-elements-before-target-element.request';
|
|
2
|
+
import { IExecution } from '../../../infrastructure';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class MoveFrontElementsBeforeTargetElementExecution implements IExecution<MoveFrontElementsBeforeTargetElementRequest, void> {
|
|
5
|
+
handle(request: MoveFrontElementsBeforeTargetElementRequest): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MoveFrontElementsBeforeTargetElementExecution, never>;
|
|
7
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MoveFrontElementsBeforeTargetElementExecution>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare class MoveFrontElementsBeforeTargetElementRequest {
|
|
2
|
+
fItemsContainer: HTMLElement;
|
|
3
|
+
allElements: Element[];
|
|
4
|
+
elementsThatShouldBeInFront: Element[];
|
|
5
|
+
targetIndex: number;
|
|
6
|
+
constructor(fItemsContainer: HTMLElement, // fGroupsContainer || fNodesContainer || fConnectionsContainer
|
|
7
|
+
allElements: Element[], elementsThatShouldBeInFront: Element[], targetIndex: number);
|
|
8
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { UpdateItemAndChildrenLayersRequest } from './update-item-and-children-layers.request';
|
|
2
|
+
import { FFlowMediator, IExecution } from '../../infrastructure';
|
|
3
|
+
import { FComponentsStore } from '../../f-storage';
|
|
4
|
+
import { WindowService } from '@foblex/core';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class UpdateItemAndChildrenLayersExecution implements IExecution<UpdateItemAndChildrenLayersRequest, void> {
|
|
7
|
+
private fComponentsStore;
|
|
8
|
+
private fMediator;
|
|
9
|
+
private windowService;
|
|
10
|
+
private get fGroupsContainer();
|
|
11
|
+
private get fNodesContainer();
|
|
12
|
+
private get fConnectionsContainer();
|
|
13
|
+
constructor(fComponentsStore: FComponentsStore, fMediator: FFlowMediator, windowService: WindowService);
|
|
14
|
+
handle(request: UpdateItemAndChildrenLayersRequest): void;
|
|
15
|
+
private handleGroup;
|
|
16
|
+
private handleNode;
|
|
17
|
+
private handleConnection;
|
|
18
|
+
private updateLayers;
|
|
19
|
+
private isAnythingNeedToBeMoved;
|
|
20
|
+
private getChildrenGroups;
|
|
21
|
+
private getChildrenNodes;
|
|
22
|
+
private getChildrenNodesAndGroups;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UpdateItemAndChildrenLayersExecution, never>;
|
|
24
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UpdateItemAndChildrenLayersExecution>;
|
|
25
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ISelectable } from '../../f-connection';
|
|
2
|
-
export declare class
|
|
2
|
+
export declare class UpdateItemAndChildrenLayersRequest {
|
|
3
3
|
item: ISelectable;
|
|
4
4
|
itemContainer: HTMLElement;
|
|
5
5
|
constructor(item: ISelectable, itemContainer: HTMLElement);
|
|
@@ -10,20 +10,18 @@ let ClearSelectionExecution = class ClearSelectionExecution {
|
|
|
10
10
|
this.fDraggableDataContext = fDraggableDataContext;
|
|
11
11
|
}
|
|
12
12
|
handle(request) {
|
|
13
|
-
this.fDraggableDataContext.selectedItems.forEach((x) =>
|
|
14
|
-
x.deselect();
|
|
15
|
-
});
|
|
13
|
+
this.fDraggableDataContext.selectedItems.forEach((x) => x.deselect());
|
|
16
14
|
this.fDraggableDataContext.selectedItems = [];
|
|
17
15
|
this.fDraggableDataContext.isSelectedChanged = true;
|
|
18
16
|
}
|
|
19
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
20
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
17
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.3", ngImport: i0, type: ClearSelectionExecution, deps: [{ token: i1.FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
18
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.3", ngImport: i0, type: ClearSelectionExecution });
|
|
21
19
|
};
|
|
22
20
|
ClearSelectionExecution = __decorate([
|
|
23
21
|
FExecutionRegister(ClearSelectionRequest)
|
|
24
22
|
], ClearSelectionExecution);
|
|
25
23
|
export { ClearSelectionExecution };
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.3", ngImport: i0, type: ClearSelectionExecution, decorators: [{
|
|
27
25
|
type: Injectable
|
|
28
26
|
}], ctorParameters: () => [{ type: i1.FDraggableDataContext }] });
|
|
29
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
27
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xlYXItc2VsZWN0aW9uLmV4ZWN1dGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZG9tYWluL2NsZWFyLXNlbGVjdGlvbi9jbGVhci1zZWxlY3Rpb24uZXhlY3V0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQztBQUNsRSxPQUFPLEVBQUUsVUFBVSxF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5cbkBJbmplY3RhYmxlKClcbkBGRXhlY3V0aW9uUmVnaXN0ZXIoQ2xlYXJTZWxlY3Rpb25SZXF1ZXN0KVxuZXhwb3J0IGNsYXNzIENsZWFyU2VsZWN0aW9uRXhlY3V0aW9uIGltcGxlbWVudHMgSUV4ZWN1dGlvbjxDbGVhclNlbGVjdGlvblJlcXVlc3QsIHZvaWQ+IHtcblxuICBjb25zdHJ1Y3RvcihcbiAgICBwcml2YXRlIGZEcmFnZ2FibGVEYXRhQ29udGV4dDogRkRyYWdnYWJsZURhdGFDb250ZXh0LFxuICApIHtcbiAgfVxuXG4gIHB1YmxpYyBoYW5kbGUocmVxdWVzdDogQ2xlYXJTZWxlY3Rpb25SZXF1ZXN0KTogdm9pZCB7XG4gICAgdGhpcy5mRHJhZ2dhYmxlRGF0YUNvbnRleHQuc2VsZWN0ZWRJdGVtcy5mb3JFYWNoKCh4KSA9PiB4LmRlc2VsZWN0KCkpO1xuICAgIHRoaXMuZkRyYWdnYWJsZURhdGFDb250ZXh0LnNlbGVjdGVkSXRlbXMgPSBbXTtcbiAgICB0aGlzLmZEcmFnZ2FibGVEYXRhQ29udGV4dC5pc1NlbGVjdGVkQ2hhbmdlZCA9IHRydWU7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -9,7 +9,7 @@ let CreateConnectionMarkersExecution = class CreateConnectionMarkersExecution {
|
|
|
9
9
|
const element = DomElementExtensions.createSvgElement('defs');
|
|
10
10
|
const fConnection = request.fConnection;
|
|
11
11
|
fConnection.fMarkers.forEach((marker) => {
|
|
12
|
-
const markerElement = this.createMarkerElement(marker, fConnection.
|
|
12
|
+
const markerElement = this.createMarkerElement(marker, fConnection.fId);
|
|
13
13
|
const clone = marker.hostElement.cloneNode(true);
|
|
14
14
|
clone.setAttribute('height', `${marker.height}`);
|
|
15
15
|
clone.setAttribute('width', `${marker.width}`);
|
|
@@ -36,14 +36,14 @@ let CreateConnectionMarkersExecution = class CreateConnectionMarkersExecution {
|
|
|
36
36
|
markerElement.setAttribute('markerUnits', `${marker.markerUnits}`);
|
|
37
37
|
return markerElement;
|
|
38
38
|
}
|
|
39
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
40
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
39
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.3", ngImport: i0, type: CreateConnectionMarkersExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
40
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.3", ngImport: i0, type: CreateConnectionMarkersExecution });
|
|
41
41
|
};
|
|
42
42
|
CreateConnectionMarkersExecution = __decorate([
|
|
43
43
|
FExecutionRegister(CreateConnectionMarkersRequest)
|
|
44
44
|
], CreateConnectionMarkersExecution);
|
|
45
45
|
export { CreateConnectionMarkersExecution };
|
|
46
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
46
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.3", ngImport: i0, type: CreateConnectionMarkersExecution, decorators: [{
|
|
47
47
|
type: Injectable
|
|
48
48
|
}] });
|
|
49
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
49
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3JlYXRlLWNvbm5lY3Rpb24tbWFya2Vycy5leGVjdXRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2RvbWFpbi9jcmVhdGUtY29ubmVjdGlvbi1tYXJrZXJzL2NyZWF0ZS1jb25uZWN0aW9uLW1hcmtlcnMuZXhlY3V0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEV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lci5vcmllbnQgfWApO1xuICAgIG1hcmtlckVsZW1lbnQuc2V0QXR0cmlidXRlKCdyZWZYJywgYCR7IG1hcmtlci5yZWZYIH1gKTtcbiAgICBtYXJrZXJFbGVtZW50LnNldEF0dHJpYnV0ZSgncmVmWScsIGAkeyBtYXJrZXIucmVmWSB9YCk7XG4gICAgbWFya2VyRWxlbWVudC5zZXRBdHRyaWJ1dGUoJ21hcmtlclVuaXRzJywgYCR7IG1hcmtlci5tYXJrZXJVbml0cyB9YCk7XG5cbiAgICByZXR1cm4gbWFya2VyRWxlbWVudDtcbiAgfVxufVxuIl19
|
|
@@ -12,14 +12,14 @@ let EmitTransformChangesExecution = class EmitTransformChangesExecution {
|
|
|
12
12
|
handle(request) {
|
|
13
13
|
this.fTransformStore.changes.next();
|
|
14
14
|
}
|
|
15
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
16
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
15
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.3", ngImport: i0, type: EmitTransformChangesExecution, deps: [{ token: i1.FTransformStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
16
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.3", ngImport: i0, type: EmitTransformChangesExecution });
|
|
17
17
|
};
|
|
18
18
|
EmitTransformChangesExecution = __decorate([
|
|
19
19
|
FExecutionRegister(EmitTransformChangesRequest)
|
|
20
20
|
], EmitTransformChangesExecution);
|
|
21
21
|
export { EmitTransformChangesExecution };
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.3", ngImport: i0, type: EmitTransformChangesExecution, decorators: [{
|
|
23
23
|
type: Injectable
|
|
24
24
|
}], ctorParame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bmltcG9ydCB7IEluamVjdGFibGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IEZFeGVjdXRpb25SZWdpc3RlciwgSUV4ZWN1dGlvbiB9IGZyb20gJy4uLy4uL2luZnJhc3RydWN0dXJlJztcbmltcG9ydCB7IEZUcmFuc2Zvcm1TdG9yZSB9IGZyb20gJy4uLy4uL2Ytc3RvcmFnZSc7XG5cbkBJbmplY3RhYmxlKClcbkBGRXhlY3V0aW9uUmVnaXN0ZXIoRW1pdFRyYW5zZm9ybUNoYW5nZXNSZXF1ZXN0KVxuZXhwb3J0IGNsYXNzIEVtaXRUcmFuc2Zvcm1DaGFuZ2VzRXhlY3V0aW9uXG4gIGltcGxlbWVudHMgSUV4ZWN1dGlvbjxFbWl0VHJhbnNmb3JtQ2hhbmdlc1JlcXVlc3QsIHZvaWQ+IHtcblxuICBjb25zdHJ1Y3RvcihcbiAgICBwcml2YXRlIGZUcmFuc2Zvcm1TdG9yZTogRlRyYW5zZm9ybVN0b3JlLFxuICApIHtcbiAgfVxuXG4gIHB1YmxpYyBoYW5kbGUocmVxdWVzdDogRW1pdFRyYW5zZm9ybUNoYW5nZXNSZXF1ZXN0KTogdm9pZCB7XG4gICAgdGhpcy5mVHJhbnNmb3JtU3RvcmUuY2hhbmdlcy5uZXh0KCk7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -47,14 +47,14 @@ let GetCanBeSelectedItemsExecution = class GetCanBeSelectedItemsExecution {
|
|
|
47
47
|
};
|
|
48
48
|
});
|
|
49
49
|
}
|
|
50
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
51
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
50
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.3", ngImport: i0, type: GetCanBeSelectedItemsExecution, deps: [{ token: i1.FComponentsStore }, { token: i2.FDraggableDataContext }, { token: i3.FFlowMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
51
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.3", ngImport: i0, type: GetCanBeSelectedItemsExecution });
|
|
52
52
|
};
|
|
53
53
|
GetCanBeSelectedItemsExecution = __decorate([
|
|
54
54
|
FExecutionRegister(GetCanBeSelectedItemsRequest)
|
|
55
55
|
], GetCanBeSelectedItemsExecution);
|
|
56
56
|
export { GetCanBeSelectedItemsExecution };
|
|
57
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
57
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.3", ngImport: i0, type: GetCanBeSelectedItemsExecution, decorators: [{
|
|
58
58
|
type: Injectable
|
|
59
59
|
}], ctorParameters: () => [{ type: i1.FComponentsStore }, { type: i2.FDraggableDataContext }, { type: i3.FFlowMediator }] });
|
|
60
60
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LWNhbi1iZS1zZWxlY3RlZC1pdGVtcy5leGVjdXRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2RvbWFpbi9nZXQtY2FuLWJlLXNlbGVjdGVkLWl0ZW1zL2dldC1jYW4tYmUtc2VsZWN0ZWQtaXRlbXMuZXhlY3V0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNDLE9BQU8sRUFBMEIsY0FBYyxFQUFFLE1BQU0sY0FBYyxDQUFDO0FBRXRFLE9BQU8sRUFBRSw0QkFBNEIsRUFBRSxNQUFNLHFDQUFxQyxDQUFDO0FBR25GLE9BQU8sRUFBRSxrQkFBa0IsRUFBNkIsTU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JlY3RbXSB7XG4gICAgcmV0dXJuIHRoaXMuZk5vZGVzLmZpbHRlcigoeCkgPT4gIXguZlNlbGVjdGlvbkRpc2FibGVkKS5tYXAoKHgpID0+IHtcbiAgICAgIHJldHVybiB7XG4gICAgICAgIGVsZW1lbnQ6IHgsXG4gICAgICAgIHJlY3Q6IFJlY3RFeHRlbnNpb25zLm11bHQoXG4gICAgICAgICAgdGhpcy5mTWVkaWF0b3Iuc2VuZDxJUmVjdD4obmV3IEdldEVsZW1lbnRSZWN0SW5GbG93UmVxdWVzdCh4Lmhvc3RFbGVtZW50KSksXG4gICAgICAgICAgdGhpcy50cmFuc2Zvcm0uc2NhbGVcbiAgICAgICAgKVxuICAgICAgfTtcbiAgICB9KTtcbiAgfVxuXG4gIHByaXZhdGUgZ2V0Q29ubmVjdGlvbnNXaXRoUmVjdHMoKTogSVNlbGVjdGFibGVXaXRoUmVjdFtdIHtcbiAgICByZXR1cm4gdGhpcy5mQ29ubmVjdGlvbnMuZmlsdGVyKCh4KSA9PiAheC5mU2VsZWN0aW9uRGlzYWJsZWQpLm1hcCgoeCkgPT4ge1xuICAgICAgcmV0dXJuIHtcbiAgICAgICAgZWxlbWVudDogeCxcbiAgICAgICAgcmVjdDogUmVjdEV4dGVuc2lvbnMubXVsdChcbiAgICAgICAgICB0aGlzLmZNZWRpYXRvci5zZW5kPElSZWN0PihuZXcgR2V0RWxlbWVudFJlY3RJbkZsb3dSZXF1ZXN0KHguYm91bmRpbmdFbGVtZW50KSksXG4gICAgICAgICAgdGhpcy50cmFuc2Zvcm0uc2NhbGVcbiAgICAgICAgKVxuICAgICAgfTtcbiAgICB9KTtcbiAgfVxufVxuIl19
|
|
@@ -27,14 +27,14 @@ let GetConnectionLineExecution = class GetConnectionLineExecution {
|
|
|
27
27
|
fixedOutboundBehaviour(payload) {
|
|
28
28
|
return new Line(positionFixedOutbound[payload.outputSide === EFConnectableSide.AUTO ? EFConnectableSide.BOTTOM : payload.outputSide](payload.outputRect), positionFixedOutbound[payload.inputSide === EFConnectableSide.AUTO ? EFConnectableSide.TOP : payload.inputSide](payload.inputRect));
|
|
29
29
|
}
|
|
30
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
31
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
30
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.3", ngImport: i0, type: GetConnectionLineExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
31
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.3", ngImport: i0, type: GetConnectionLineExecution });
|
|
32
32
|
};
|
|
33
33
|
GetConnectionLineExecution = __decorate([
|
|
34
34
|
FExecutionRegister(GetConnectionLineRequest)
|
|
35
35
|
], GetConnectionLineExecution);
|
|
36
36
|
export { GetConnectionLineExecution };
|
|
37
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
37
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.3", ngImport: i0, type: GetConnectionLineExecution, decorators: [{
|
|
38
38
|
type: Injectable
|
|
39
39
|
}] });
|
|
40
40
|
const positionFixedOutbound = {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { Injectable } from '@angular/core';
|
|
3
|
+
import { GetDeepChildrenNodesAndGroupsRequest } from './get-deep-children-nodes-and-groups.request';
|
|
4
|
+
import { FExecutionRegister } from '../../infrastructure';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "../../f-storage";
|
|
7
|
+
let GetDeepChildrenNodesAndGroupsExecution = class GetDeepChildrenNodesAndGroupsExecution {
|
|
8
|
+
fComponentsStore;
|
|
9
|
+
constructor(fComponentsStore) {
|
|
10
|
+
this.fComponentsStore = fComponentsStore;
|
|
11
|
+
}
|
|
12
|
+
handle(request) {
|
|
13
|
+
return this.getChildrenNodes(request.fId);
|
|
14
|
+
}
|
|
15
|
+
getChildrenNodes(fId, visited = new Set()) {
|
|
16
|
+
if (visited.has(fId)) {
|
|
17
|
+
throw new Error('Circular reference detected in the node hierarchy. Node id: ' + fId);
|
|
18
|
+
}
|
|
19
|
+
visited.add(fId);
|
|
20
|
+
const result = this.fComponentsStore.fNodes.filter((x) => x.fParentId === fId);
|
|
21
|
+
result.forEach((x) => {
|
|
22
|
+
result.push(...this.getChildrenNodes(x.fId, visited));
|
|
23
|
+
});
|
|
24
|
+
return result;
|
|
25
|
+
}
|
|
26
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.3", ngImport: i0, type: GetDeepChildrenNodesAndGroupsExecution, deps: [{ token: i1.FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
27
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.3", ngImport: i0, type: GetDeepChildrenNodesAndGroupsExecution });
|
|
28
|
+
};
|
|
29
|
+
GetDeepChildrenNodesAndGroupsExecution = __decorate([
|
|
30
|
+
FExecutionRegister(GetDeepChildrenNodesAndGroupsRequest)
|
|
31
|
+
], GetDeepChildrenNodesAndGroupsExecution);
|
|
32
|
+
export { GetDeepChildrenNodesAndGroupsExecution };
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.3", ngImport: i0, type: GetDeepChildrenNodesAndGroupsExecution, decorators: [{
|
|
34
|
+
type: Injectable
|
|
35
|
+
}], ctorParameters: () => [{ type: i1.FComponentsStore }] });
|
|
36
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LWRlZXAtY2hpbGRyZW4tbm9kZXMtYW5kLWdyb3Vwcy5leGVjdXRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi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eepChildrenNodesAndGroupsRequest {
|
|
2
|
+
fId;
|
|
3
|
+
constructor(fId) {
|
|
4
|
+
this.fId = fId;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LWRlZXAtY2hpbGRyZW4tbm9kZXMtYW5kLWdyb3Vwcy5yZXF1ZXN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9kb21haW4vZ2V0LWRlZXAtY2hpbGRyZW4tbm9kZXMtYW5kLWdyb3Vwcy9nZXQtZGVlcC1jaGlsZHJlbi1ub2Rlcy1hbmQtZ3JvdXBzLnJlcXVlc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxPQUFPLG9DQUFvQztJQUd0QztJQURULFlBQ1MsR0FBVztRQUFYLFFBQUcsR0FBSCxHQUFHLENBQVE7SUFFcEIsQ0FBQztDQUNGIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGNsYXNzIEdldERlZXBDaGlsZHJlbk5vZGVzQW5kR3JvdXBzUmVxdWVzdCB7XG5cbiAgY29uc3RydWN0b3IoXG4gICAgcHVibGljIGZJZDogc3RyaW5nXG4gICkge1xuICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './get-deep-children-nodes-and-groups.execution';
|
|
2
|
+
export * from './get-deep-children-nodes-and-groups.request';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2RvbWFpbi9nZXQtZGVlcC1jaGlsZHJlbi1ub2Rlcy1hbmQtZ3JvdXBzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsZ0RBQWdELENBQUM7QUFFL0QsY0FBYyw4Q0FBOEMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZ2V0LWRlZXAtY2hpbGRyZW4tbm9kZXMtYW5kLWdyb3Vwcy5leGVjdXRpb24nO1xuXG5leHBvcnQgKiBmcm9tICcuL2dldC1kZWVwLWNoaWxkcmVuLW5vZGVzLWFuZC1ncm91cHMucmVxdWVzdCc7XG4iXX0=
|