@foblex/flow 12.6.3 → 12.6.4
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 +3320 -3399
- package/bundles/foblex-flow.umd.js.map +1 -1
- package/domain/center-group-or-node/center-group-or-node-request.d.ts +5 -0
- package/domain/center-group-or-node/center-group-or-node.execution.d.ts +17 -0
- package/domain/center-group-or-node/index.d.ts +2 -0
- package/domain/clear-selection/clear-selection.execution.d.ts +1 -1
- package/domain/constants.d.ts +1 -0
- package/domain/create-connection-markers/create-connection-markers.execution.d.ts +1 -1
- package/domain/create-rounded-rect-from-element/create-rounded-rect-from-element-request.d.ts +4 -0
- package/domain/create-rounded-rect-from-element/create-rounded-rect-from-element.execution.d.ts +15 -0
- package/domain/create-rounded-rect-from-element/index.d.ts +2 -0
- package/domain/emit-transform-changes/emit-transform-changes.execution.d.ts +1 -1
- package/domain/get-can-be-selected-items/get-can-be-selected-items.execution.d.ts +2 -2
- package/domain/get-can-be-selected-items/i-selectable-with-rect.d.ts +3 -3
- package/domain/get-connection-line/get-connection-line.execution.d.ts +2 -2
- package/domain/get-connection-line/get-connection-line.request.d.ts +4 -4
- package/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.execution.d.ts +1 -1
- package/domain/get-element-rect-in-flow/get-element-rect-in-flow.execution.d.ts +4 -5
- package/domain/get-flow-state/get-flow-state-connections/get-flow-state-connections-request.d.ts +2 -0
- package/domain/get-flow-state/get-flow-state-connections/get-flow-state-connections.execution.d.ts +12 -0
- package/domain/get-flow-state/get-flow-state-connections/index.d.ts +2 -0
- package/domain/get-flow-state/get-flow-state-nodes/get-flow-state-nodes-request.d.ts +5 -0
- package/domain/get-flow-state/get-flow-state-nodes/get-flow-state-nodes.execution.d.ts +14 -0
- package/domain/get-flow-state/get-flow-state-nodes/index.d.ts +2 -0
- package/domain/get-flow-state/get-flow-state.execution.d.ts +14 -0
- package/domain/get-flow-state/get-flow-state.request.d.ts +2 -0
- package/domain/get-flow-state/i-f-flow-state-connection.d.ts +9 -0
- package/domain/get-flow-state/i-f-flow-state-connector.d.ts +5 -0
- package/domain/get-flow-state/i-f-flow-state-node.d.ts +11 -0
- package/domain/get-flow-state/i-f-flow-state.d.ts +10 -0
- package/domain/get-flow-state/index.d.ts +9 -0
- package/domain/get-flow-state/providers.d.ts +4 -0
- package/domain/get-input-rect-in-flow/get-input-rect-in-flow-response.d.ts +1 -1
- package/domain/get-input-rect-in-flow/get-input-rect-in-flow.execution.d.ts +2 -2
- package/domain/get-nodes-rect/get-nodes-rect.execution.d.ts +2 -2
- package/domain/get-output-rect-in-flow/get-output-rect-in-flow-response.d.ts +1 -1
- package/domain/get-output-rect-in-flow/get-output-rect-in-flow.execution.d.ts +2 -2
- package/domain/get-position-in-flow/get-position-in-flow-request.d.ts +1 -1
- package/domain/get-position-in-flow/get-position-in-flow.execution.d.ts +2 -2
- package/domain/get-scaled-node-rects-with-flow-position/get-scaled-node-rects-with-flow-position.execution.d.ts +2 -2
- package/domain/get-selection/get-selection.execution.d.ts +1 -1
- package/domain/i-map.d.ts +3 -0
- package/domain/index.d.ts +6 -5
- package/domain/is-connection-under-node/is-connection-under-node.execution.d.ts +2 -2
- package/domain/providers.d.ts +4 -1
- package/domain/redraw-connections/redraw-connections.execution.d.ts +2 -2
- package/domain/select/select.execution.d.ts +1 -1
- package/domain/select-all/select-all.execution.d.ts +1 -1
- package/domain/select-and-update-node-layer/select-and-update-node-layer.execution.d.ts +3 -3
- package/domain/show-connections-after-calculations/index.d.ts +2 -0
- package/domain/show-connections-after-calculations/show-connections-after-calculations-request.d.ts +2 -0
- package/domain/show-connections-after-calculations/show-connections-after-calculations.execution.d.ts +11 -0
- package/domain/sort-item-layers/sort-item-layers.execution.d.ts +2 -2
- package/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.execution.d.ts +2 -2
- package/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.execution.d.ts +2 -2
- package/domain/subscribe-on-transform-changes/subscribe-on-transform-changes.execution.d.ts +1 -1
- package/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element.execution.d.ts +1 -1
- package/domain/update-item-and-children-layers/update-item-and-children-layers.execution.d.ts +2 -2
- package/domain/update-item-and-children-layers/update-item-and-children-layers.request.d.ts +3 -3
- package/esm2015/domain/center-group-or-node/center-group-or-node-request.js +7 -0
- package/esm2015/domain/center-group-or-node/center-group-or-node.execution.js +51 -0
- package/esm2015/domain/center-group-or-node/index.js +3 -0
- package/esm2015/domain/clear-selection/clear-selection.execution.js +2 -2
- package/esm2015/domain/constants.js +2 -0
- package/esm2015/domain/create-connection-markers/create-connection-markers.execution.js +4 -9
- package/esm2015/domain/create-rounded-rect-from-element/create-rounded-rect-from-element-request.js +6 -0
- package/esm2015/domain/create-rounded-rect-from-element/create-rounded-rect-from-element.execution.js +39 -0
- package/esm2015/domain/create-rounded-rect-from-element/index.js +3 -0
- package/esm2015/domain/emit-transform-changes/emit-transform-changes.execution.js +2 -2
- package/esm2015/domain/get-can-be-selected-items/get-can-be-selected-items.execution.js +6 -6
- package/esm2015/domain/get-can-be-selected-items/i-selectable-with-rect.js +1 -1
- package/esm2015/domain/get-connection-line/get-connection-line.execution.js +5 -6
- package/esm2015/domain/get-connection-line/get-connection-line.request.js +1 -1
- package/esm2015/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.execution.js +2 -2
- package/esm2015/domain/get-element-rect-in-flow/get-element-rect-in-flow.execution.js +10 -10
- package/esm2015/domain/get-flow-state/get-flow-state-connections/get-flow-state-connections-request.js +3 -0
- package/esm2015/domain/get-flow-state/get-flow-state-connections/get-flow-state-connections.execution.js +33 -0
- package/esm2015/domain/get-flow-state/get-flow-state-connections/index.js +3 -0
- package/esm2015/domain/get-flow-state/get-flow-state-nodes/get-flow-state-nodes-request.js +6 -0
- package/esm2015/domain/get-flow-state/get-flow-state-nodes/get-flow-state-nodes.execution.js +50 -0
- package/esm2015/domain/get-flow-state/get-flow-state-nodes/index.js +3 -0
- package/esm2015/domain/get-flow-state/get-flow-state.execution.js +39 -0
- package/esm2015/domain/get-flow-state/get-flow-state.request.js +3 -0
- package/esm2015/domain/get-flow-state/i-f-flow-state-connection.js +2 -0
- package/esm2015/domain/get-flow-state/i-f-flow-state-connector.js +2 -0
- package/esm2015/domain/get-flow-state/i-f-flow-state-node.js +2 -0
- package/esm2015/domain/get-flow-state/i-f-flow-state.js +2 -0
- package/esm2015/domain/get-flow-state/index.js +10 -0
- package/esm2015/domain/get-flow-state/providers.js +9 -0
- package/esm2015/domain/get-input-rect-in-flow/get-input-rect-in-flow-response.js +1 -1
- package/esm2015/domain/get-input-rect-in-flow/get-input-rect-in-flow.execution.js +5 -5
- package/esm2015/domain/get-nodes-rect/get-nodes-rect.execution.js +3 -3
- package/esm2015/domain/get-output-rect-in-flow/get-output-rect-in-flow-response.js +1 -1
- package/esm2015/domain/get-output-rect-in-flow/get-output-rect-in-flow.execution.js +5 -5
- package/esm2015/domain/get-position-in-flow/get-position-in-flow-request.js +1 -1
- package/esm2015/domain/get-position-in-flow/get-position-in-flow.execution.js +3 -3
- package/esm2015/domain/get-scaled-node-rects-with-flow-position/get-scaled-node-rects-with-flow-position.execution.js +3 -3
- package/esm2015/domain/get-selection/get-selection.execution.js +2 -2
- package/esm2015/domain/i-map.js +2 -0
- package/esm2015/domain/index.js +7 -6
- package/esm2015/domain/is-connection-under-node/is-connection-under-node.execution.js +5 -5
- package/esm2015/domain/providers.js +9 -1
- package/esm2015/domain/redraw-connections/redraw-connections.execution.js +5 -5
- package/esm2015/domain/select/select.execution.js +2 -2
- package/esm2015/domain/select-all/select-all.execution.js +2 -2
- package/esm2015/domain/select-and-update-node-layer/select-and-update-node-layer.execution.js +5 -5
- package/esm2015/domain/show-connections-after-calculations/index.js +3 -0
- package/esm2015/domain/show-connections-after-calculations/show-connections-after-calculations-request.js +3 -0
- package/esm2015/domain/show-connections-after-calculations/show-connections-after-calculations.execution.js +26 -0
- package/esm2015/domain/sort-item-layers/sort-item-layers.execution.js +5 -5
- package/esm2015/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.execution.js +5 -5
- package/esm2015/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.execution.js +5 -5
- package/esm2015/domain/subscribe-on-transform-changes/subscribe-on-transform-changes.execution.js +2 -2
- package/esm2015/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element.execution.js +2 -2
- package/esm2015/domain/update-item-and-children-layers/update-item-and-children-layers.execution.js +5 -5
- package/esm2015/domain/update-item-and-children-layers/update-item-and-children-layers.request.js +1 -1
- package/esm2015/f-backgroud/domain/i-f-background-pattern.js +1 -1
- package/esm2015/f-backgroud/f-background-base.js +1 -1
- package/esm2015/f-backgroud/f-background.component.js +2 -2
- package/esm2015/f-backgroud/f-circle-pattern/f-circle-pattern.component.js +2 -2
- package/esm2015/f-backgroud/f-rect-pattern/f-rect-pattern.component.js +2 -2
- package/esm2015/f-canvas/domain/f-canvas-change.event.js +1 -1
- package/esm2015/f-canvas/f-canvas-base.js +3 -2
- package/esm2015/f-canvas/f-canvas.component.js +18 -9
- package/esm2015/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points-request.js +1 -1
- package/esm2015/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points.handler.js +2 -2
- package/esm2015/f-connection/common/domain/calculate-connection-center/calculate-connection-center-request.js +1 -1
- package/esm2015/f-connection/common/domain/calculate-connection-center/calculate-connection-center.handler.js +1 -1
- package/esm2015/f-connection/common/domain/f-bezier.path-builder.js +1 -1
- package/esm2015/f-connection/common/domain/f-segment.path-builder.js +2 -2
- package/esm2015/f-connection/common/f-connection-base.js +10 -4
- package/esm2015/f-connection/common/f-connection-identifiers.js +6 -11
- package/esm2015/f-connection/common/f-connection-text/f-connection-text-path.directive.js +1 -1
- package/esm2015/f-connection/common/f-connection-text/f-connection-text.component.js +2 -2
- package/esm2015/f-connection/common/f-connection-text/i-connection-text.js +1 -1
- package/esm2015/f-connection/common/f-drag-handle/f-connection-drag-handle.component.js +1 -1
- package/esm2015/f-connection/common/f-gradient/f-connection-gradient.component.js +2 -2
- package/esm2015/f-connection/common/f-gradient/i-connection-gradient.js +1 -1
- package/esm2015/f-connection/common/f-path/get-path-marker-id.js +6 -11
- package/esm2015/f-connection/common/f-path/i-connection-path.js +1 -1
- package/esm2015/f-connection/common/f-selection/f-connection-selection.component.js +1 -1
- package/esm2015/f-connection/common/index.js +1 -2
- package/esm2015/f-connection/f-connection/f-connection.component.js +3 -3
- package/esm2015/f-connection/f-connection-builder/f-connection-factory.js +1 -1
- package/esm2015/f-connection/f-connection-builder/i-f-connection-builder-request.js +1 -1
- package/esm2015/f-connection/f-connection-builder/i-f-connection-builder-response.js +1 -1
- package/esm2015/f-connection/f-connection-builder/i-f-connection-builder.js +1 -1
- package/esm2015/f-connection/f-connection-for-create/f-connection-for-create.component.js +4 -7
- package/esm2015/f-connection/f-marker/f-marker-base.js +1 -1
- package/esm2015/f-connection/f-snap-connection/f-snap-connection.component.js +139 -0
- package/esm2015/f-connection/f-snap-connection/index.js +2 -0
- package/esm2015/f-connection/index.js +2 -1
- package/esm2015/f-connectors/domain/calculate-connector-connectable-side/calculate-connector-connectable-side.handler.js +2 -2
- package/esm2015/f-connectors/f-connector-base.js +1 -1
- package/esm2015/f-connectors/f-node-input/f-node-input.directive.js +3 -4
- package/esm2015/f-connectors/f-node-outlet/f-node-outlet.directive.js +3 -3
- package/esm2015/f-connectors/f-node-output/f-node-output.directive.js +3 -4
- package/esm2015/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.execution.js +2 -2
- package/esm2015/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.request.js +1 -1
- package/esm2015/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.validator.js +2 -2
- package/esm2015/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.execution.js +3 -3
- package/esm2015/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.request.js +1 -1
- package/esm2015/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.validator.js +2 -7
- 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/create-connection-finalize.request.js +1 -1
- package/esm2015/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.validator.js +2 -2
- package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.execution.js +6 -6
- package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.request.js +1 -1
- package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.execution.js +5 -5
- package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.request.js +1 -1
- package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.execution.js +5 -5
- package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.request.js +1 -1
- package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.validator.js +2 -2
- package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.execution.js +5 -5
- package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.request.js +1 -1
- package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.validator.js +2 -2
- package/esm2015/f-draggable/connections/create-connection/create-connection.drag-handler.js +3 -3
- package/esm2015/f-draggable/connections/create-connection/f-create-connection.event.js +1 -1
- package/esm2015/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.execution.js +2 -2
- package/esm2015/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.validator.js +2 -2
- package/esm2015/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.execution.js +2 -2
- package/esm2015/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.request.js +1 -1
- package/esm2015/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.validator.js +2 -2
- package/esm2015/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.execution.js +5 -5
- package/esm2015/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.request.js +1 -1
- package/esm2015/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.validator.js +2 -2
- package/esm2015/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.execution.js +6 -6
- package/esm2015/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.request.js +1 -1
- package/esm2015/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.validator.js +2 -2
- package/esm2015/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.js +3 -3
- package/esm2015/f-draggable/domain/get-node-padding/get-node-padding.execution.js +2 -2
- package/esm2015/f-draggable/domain/get-node-padding/get-node-padding.request.js +1 -1
- package/esm2015/f-draggable/domain/get-normalized-node-rect/get-normalized-node-rect.execution.js +3 -3
- package/esm2015/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.execution.js +6 -6
- package/esm2015/f-draggable/domain/get-parent-nodes/get-parent-nodes.execution.js +2 -2
- package/esm2015/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.execution.js +5 -5
- package/esm2015/f-draggable/f-draggable-base.js +6 -166
- package/esm2015/f-draggable/f-draggable-data-context.js +2 -2
- package/esm2015/f-draggable/f-draggable.directive.js +8 -13
- package/esm2015/f-draggable/i-draggable-item.js +1 -1
- package/esm2015/f-draggable/i-f-drag-and-drop-plugin.js +1 -1
- package/esm2015/f-draggable/index.js +1 -2
- package/esm2015/f-draggable/node/connection-base-drag-handler.js +6 -5
- package/esm2015/f-draggable/node/connection-source.drag-handler.js +1 -1
- package/esm2015/f-draggable/node/connection-target.drag-handler.js +1 -1
- package/esm2015/f-draggable/node/connection.drag-handler.js +1 -1
- package/esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.execution.js +8 -13
- package/esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/get-node-move-restrictions.execution.js +6 -6
- package/esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/i-node-move-restrictions.js +1 -1
- 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 +5 -5
- 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 +5 -5
- package/esm2015/f-draggable/node/node-move-finalize/node-move-finalize.execution.js +6 -6
- package/esm2015/f-draggable/node/node-move-finalize/node-move-finalize.request.js +1 -1
- package/esm2015/f-draggable/node/node-move-finalize/node-move-finalize.validator.js +2 -2
- package/esm2015/f-draggable/node/node-move-preparation/node-move-preparation.execution.js +6 -6
- package/esm2015/f-draggable/node/node-move-preparation/node-move-preparation.request.js +1 -1
- package/esm2015/f-draggable/node/node-move-preparation/node-move-preparation.validator.js +4 -4
- package/esm2015/f-draggable/node/node-resize-by-child.drag-handler.js +3 -2
- package/esm2015/f-draggable/node/node.drag-handler.js +2 -2
- package/esm2015/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.execution.js +2 -2
- package/esm2015/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.request.js +1 -1
- package/esm2015/f-draggable/node-resize/apply-parent-resize-restrictions/apply-parent-resize-restrictions.execution.js +2 -2
- package/esm2015/f-draggable/node-resize/apply-parent-resize-restrictions/apply-parent-resize-restrictions.request.js +1 -1
- package/esm2015/f-draggable/node-resize/calculate-changed-position/calculate-changed-position.execution.js +3 -3
- package/esm2015/f-draggable/node-resize/calculate-changed-position/calculate-changed-position.request.js +1 -1
- package/esm2015/f-draggable/node-resize/calculate-changed-size/calculate-changed-size.execution.js +3 -3
- package/esm2015/f-draggable/node-resize/calculate-changed-size/calculate-changed-size.request.js +1 -1
- package/esm2015/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.execution.js +5 -5
- package/esm2015/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.request.js +1 -1
- package/esm2015/f-draggable/node-resize/get-node-resize-restrictions/i-node-resize-restrictions.js +1 -1
- package/esm2015/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.execution.js +6 -6
- package/esm2015/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.request.js +1 -1
- package/esm2015/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.execution.js +2 -2
- package/esm2015/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.request.js +1 -1
- package/esm2015/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.validator.js +2 -2
- package/esm2015/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.execution.js +9 -8
- package/esm2015/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.request.js +1 -1
- package/esm2015/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.validator.js +4 -4
- package/esm2015/f-draggable/node-resize/node-resize.drag-handler.js +2 -2
- package/esm2015/f-draggable/single-select/single-select.execution.js +5 -5
- package/esm2015/f-draggable/single-select/single-select.request.js +1 -1
- package/esm2015/f-draggable/single-select/single-select.validator.js +2 -2
- package/esm2015/f-external-item/domain/external-item-finalize/external-item-finalize.execution.js +5 -5
- package/esm2015/f-external-item/domain/external-item-finalize/external-item-finalize.request.js +1 -1
- package/esm2015/f-external-item/domain/external-item-finalize/external-item-finalize.validator.js +2 -2
- package/esm2015/f-external-item/domain/external-item-preparation/external-item-preparation.execution.js +3 -3
- package/esm2015/f-external-item/domain/external-item-preparation/external-item-preparation.request.js +1 -1
- package/esm2015/f-external-item/domain/external-item-preparation/external-item-preparation.validator.js +2 -2
- package/esm2015/f-external-item/domain/external-item.drag-handler.js +3 -3
- package/esm2015/f-external-item/domain/f-create-node.event.js +1 -1
- package/esm2015/f-external-item/f-external-item-base.js +1 -1
- package/esm2015/f-flow/f-flow-base.js +1 -1
- package/esm2015/f-flow/f-flow.component.js +13 -11
- package/esm2015/f-line-alignment/domain/line-service.js +1 -1
- package/esm2015/f-line-alignment/domain/nearest-coordinate.js +1 -1
- package/esm2015/f-line-alignment/f-line-alignment-base.js +1 -1
- package/esm2015/f-line-alignment/f-line-alignment.component.js +5 -5
- package/esm2015/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.execution.js +3 -3
- package/esm2015/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.request.js +1 -1
- package/esm2015/f-minimap/domain/check-rect-is-finite.js +2 -2
- package/esm2015/f-minimap/domain/f-minimap-data.js +2 -2
- package/esm2015/f-minimap/domain/f-minimap.drag-handler.js +2 -2
- package/esm2015/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.execution.js +2 -2
- package/esm2015/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.request.js +1 -1
- package/esm2015/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.validator.js +2 -2
- package/esm2015/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.execution.js +6 -6
- package/esm2015/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.request.js +1 -1
- package/esm2015/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.validator.js +2 -2
- package/esm2015/f-minimap/f-minimap-canvas.directive.js +2 -2
- package/esm2015/f-minimap/f-minimap-flow.directive.js +5 -5
- package/esm2015/f-minimap/f-minimap-view.directive.js +2 -2
- package/esm2015/f-minimap/f-minimap.component.js +4 -4
- package/esm2015/f-node/f-drag-handle/f-drag-handle.directive.js +1 -1
- package/esm2015/f-node/f-group.directive.js +6 -10
- package/esm2015/f-node/f-node-base.js +10 -13
- package/esm2015/f-node/f-node.directive.js +6 -10
- package/esm2015/f-node/f-resize-handle/f-resize-handle.directive.js +2 -2
- package/esm2015/f-node/f-rotate-handle/f-rotate-handle.directive.js +1 -1
- package/esm2015/f-selection-area/domain/selection-area-finalize/selection-area-finalize.execution.js +2 -2
- package/esm2015/f-selection-area/domain/selection-area-finalize/selection-area-finalize.request.js +1 -1
- package/esm2015/f-selection-area/domain/selection-area-finalize/selection-area-finalize.validator.js +2 -2
- package/esm2015/f-selection-area/domain/selection-area-preparation/selection-area-preparation.execution.js +6 -6
- package/esm2015/f-selection-area/domain/selection-area-preparation/selection-area-preparation.request.js +1 -1
- package/esm2015/f-selection-area/domain/selection-area-preparation/selection-area-preparation.validator.js +2 -2
- package/esm2015/f-selection-area/domain/selection-area.drag-handle.js +2 -2
- package/esm2015/f-selection-area/f-selection-area-base.js +1 -1
- package/esm2015/f-selection-area/f-selection-area.component.js +4 -4
- package/esm2015/f-storage/f-components-store.js +1 -1
- package/esm2015/f-zoom/f-zoom-base.js +3 -2
- package/esm2015/f-zoom/f-zoom.directive.js +3 -3
- package/esm2015/i-has-host-element.js +2 -0
- package/esm2015/mixins/change-position.js +15 -0
- package/esm2015/mixins/change-selection/change-selection.js +30 -0
- package/esm2015/mixins/change-selection/i-can-change-selection.js +2 -0
- package/esm2015/mixins/change-selection/index.js +3 -0
- package/esm2015/mixins/change-visibility/change-visibility.js +14 -0
- package/esm2015/mixins/change-visibility/i-can-change-visibility.js +2 -0
- package/esm2015/mixins/change-visibility/index.js +3 -0
- package/esm2015/mixins/change-zoom/change-zoom.js +25 -0
- package/esm2015/mixins/change-zoom/i-can-change-zoom.js +2 -0
- package/esm2015/mixins/change-zoom/index.js +3 -0
- package/esm2015/mixins/constructor.js +2 -0
- package/esm2015/mixins/fit-to-parent/fit-to-parent.js +27 -0
- package/esm2015/mixins/fit-to-parent/i-can-fit-to-parent.js +2 -0
- package/esm2015/mixins/fit-to-parent/index.js +3 -0
- package/esm2015/mixins/i-transformable.js +2 -0
- package/esm2015/mixins/index.js +9 -0
- package/esm2015/mixins/one-to-one-centering/i-can-one-to-one-centering.js +2 -0
- package/esm2015/mixins/one-to-one-centering/index.js +3 -0
- package/esm2015/mixins/one-to-one-centering/one-to-one-centering.js +24 -0
- package/esm2015/public-api.js +3 -2
- package/f-backgroud/domain/i-f-background-pattern.d.ts +1 -1
- package/f-backgroud/f-background-base.d.ts +2 -1
- package/f-backgroud/f-background.component.d.ts +1 -1
- package/f-backgroud/f-circle-pattern/f-circle-pattern.component.d.ts +1 -1
- package/f-backgroud/f-rect-pattern/f-rect-pattern.component.d.ts +1 -1
- package/f-canvas/domain/f-canvas-change.event.d.ts +1 -1
- package/f-canvas/f-canvas-base.d.ts +4 -2
- package/f-canvas/f-canvas.component.d.ts +5 -4
- package/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points-request.d.ts +1 -1
- package/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points.handler.d.ts +2 -1
- package/f-connection/common/domain/calculate-connection-center/calculate-connection-center-request.d.ts +1 -1
- package/f-connection/common/domain/calculate-connection-center/calculate-connection-center.handler.d.ts +2 -1
- package/f-connection/common/f-connection-base.d.ts +7 -4
- package/f-connection/common/f-connection-text/f-connection-text-path.directive.d.ts +1 -1
- package/f-connection/common/f-connection-text/f-connection-text.component.d.ts +1 -1
- package/f-connection/common/f-connection-text/i-connection-text.d.ts +2 -1
- package/f-connection/common/f-drag-handle/f-connection-drag-handle.component.d.ts +2 -1
- package/f-connection/common/f-gradient/f-connection-gradient.component.d.ts +1 -1
- package/f-connection/common/f-gradient/i-connection-gradient.d.ts +2 -1
- package/f-connection/common/f-path/i-connection-path.d.ts +1 -1
- package/f-connection/common/f-selection/f-connection-selection.component.d.ts +1 -1
- package/f-connection/common/index.d.ts +0 -1
- package/f-connection/f-connection-builder/i-f-connection-builder-request.d.ts +1 -1
- package/f-connection/f-connection-builder/i-f-connection-builder-response.d.ts +1 -1
- package/f-connection/f-connection-builder/i-f-connection-builder.d.ts +1 -1
- package/f-connection/f-connection-for-create/f-connection-for-create.component.d.ts +1 -1
- package/f-connection/f-marker/f-marker-base.d.ts +1 -1
- package/f-connection/f-snap-connection/f-snap-connection.component.d.ts +53 -0
- package/f-connection/f-snap-connection/index.d.ts +1 -0
- package/f-connection/index.d.ts +1 -0
- package/f-connectors/domain/calculate-connector-connectable-side/calculate-connector-connectable-side.handler.d.ts +1 -1
- package/f-connectors/f-connector-base.d.ts +1 -1
- package/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.execution.d.ts +1 -1
- package/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.request.d.ts +1 -1
- package/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.validator.d.ts +1 -1
- package/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.execution.d.ts +1 -1
- package/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.request.d.ts +1 -1
- package/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.validator.d.ts +1 -2
- package/f-draggable/canvas/canvas.drag-handler.d.ts +1 -1
- package/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.execution.d.ts +3 -3
- package/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.request.d.ts +1 -1
- package/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.validator.d.ts +1 -1
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.execution.d.ts +3 -3
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.request.d.ts +1 -1
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.execution.d.ts +3 -3
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.request.d.ts +1 -1
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.execution.d.ts +3 -3
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.request.d.ts +1 -1
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.validator.d.ts +1 -1
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.execution.d.ts +3 -3
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.request.d.ts +1 -1
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.validator.d.ts +1 -1
- package/f-draggable/connections/create-connection/create-connection.drag-handler.d.ts +3 -3
- package/f-draggable/connections/create-connection/f-create-connection.event.d.ts +1 -1
- package/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.execution.d.ts +1 -1
- package/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.validator.d.ts +1 -1
- package/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.execution.d.ts +1 -1
- package/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.request.d.ts +1 -1
- package/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.validator.d.ts +1 -1
- package/f-draggable/connections/providers.d.ts +1 -1
- package/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.execution.d.ts +2 -2
- package/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.request.d.ts +1 -1
- package/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.validator.d.ts +1 -1
- package/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.execution.d.ts +2 -2
- package/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.request.d.ts +1 -1
- package/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.validator.d.ts +1 -1
- package/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.d.ts +3 -3
- package/f-draggable/domain/get-node-padding/get-node-padding.execution.d.ts +1 -1
- package/f-draggable/domain/get-node-padding/get-node-padding.request.d.ts +1 -1
- package/f-draggable/domain/get-normalized-node-rect/get-normalized-node-rect.execution.d.ts +2 -2
- package/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.execution.d.ts +3 -3
- package/f-draggable/domain/get-parent-nodes/get-parent-nodes.execution.d.ts +1 -1
- package/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.execution.d.ts +2 -2
- package/f-draggable/f-draggable-base.d.ts +3 -39
- package/f-draggable/f-draggable-data-context.d.ts +3 -3
- package/f-draggable/f-draggable.directive.d.ts +3 -4
- package/f-draggable/i-draggable-item.d.ts +1 -1
- package/f-draggable/i-f-drag-and-drop-plugin.d.ts +1 -1
- package/f-draggable/index.d.ts +0 -1
- package/f-draggable/node/connection-base-drag-handler.d.ts +4 -5
- package/f-draggable/node/connection-source.drag-handler.d.ts +3 -3
- package/f-draggable/node/connection-target.drag-handler.d.ts +3 -3
- package/f-draggable/node/connection.drag-handler.d.ts +3 -3
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.execution.d.ts +2 -2
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/get-node-move-restrictions.execution.d.ts +2 -2
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/i-node-move-restrictions.d.ts +1 -1
- 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 +2 -2
- 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 +2 -2
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/providers.d.ts +1 -1
- package/f-draggable/node/node-move-finalize/node-move-finalize.execution.d.ts +2 -2
- package/f-draggable/node/node-move-finalize/node-move-finalize.request.d.ts +1 -1
- package/f-draggable/node/node-move-finalize/node-move-finalize.validator.d.ts +1 -1
- package/f-draggable/node/node-move-preparation/node-move-preparation.execution.d.ts +2 -2
- package/f-draggable/node/node-move-preparation/node-move-preparation.request.d.ts +1 -1
- package/f-draggable/node/node-move-preparation/node-move-preparation.validator.d.ts +1 -1
- package/f-draggable/node/node-resize-by-child.drag-handler.d.ts +1 -1
- package/f-draggable/node/node.drag-handler.d.ts +1 -1
- 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 +1 -1
- package/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.request.d.ts +1 -1
- package/f-draggable/node-resize/apply-parent-resize-restrictions/apply-parent-resize-restrictions.execution.d.ts +1 -1
- package/f-draggable/node-resize/apply-parent-resize-restrictions/apply-parent-resize-restrictions.request.d.ts +1 -1
- package/f-draggable/node-resize/calculate-changed-position/calculate-changed-position.execution.d.ts +2 -2
- package/f-draggable/node-resize/calculate-changed-position/calculate-changed-position.request.d.ts +1 -1
- package/f-draggable/node-resize/calculate-changed-size/calculate-changed-size.execution.d.ts +2 -2
- package/f-draggable/node-resize/calculate-changed-size/calculate-changed-size.request.d.ts +1 -1
- package/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.execution.d.ts +2 -2
- package/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.request.d.ts +1 -1
- package/f-draggable/node-resize/get-node-resize-restrictions/i-node-resize-restrictions.d.ts +1 -1
- package/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.execution.d.ts +3 -3
- package/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.request.d.ts +1 -1
- package/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.execution.d.ts +1 -1
- package/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.request.d.ts +1 -1
- package/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.validator.d.ts +1 -1
- package/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.execution.d.ts +2 -2
- package/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.request.d.ts +1 -1
- package/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.validator.d.ts +1 -1
- package/f-draggable/node-resize/node-resize.drag-handler.d.ts +3 -3
- package/f-draggable/providers.d.ts +1 -1
- package/f-draggable/single-select/single-select.execution.d.ts +2 -2
- package/f-draggable/single-select/single-select.request.d.ts +1 -1
- package/f-draggable/single-select/single-select.validator.d.ts +1 -1
- package/f-external-item/domain/external-item-finalize/external-item-finalize.execution.d.ts +2 -2
- package/f-external-item/domain/external-item-finalize/external-item-finalize.request.d.ts +1 -1
- package/f-external-item/domain/external-item-finalize/external-item-finalize.validator.d.ts +1 -1
- package/f-external-item/domain/external-item-preparation/external-item-preparation.execution.d.ts +1 -1
- package/f-external-item/domain/external-item-preparation/external-item-preparation.request.d.ts +1 -1
- package/f-external-item/domain/external-item-preparation/external-item-preparation.validator.d.ts +1 -1
- package/f-external-item/domain/external-item.drag-handler.d.ts +1 -1
- package/f-external-item/domain/f-create-node.event.d.ts +1 -1
- package/f-external-item/f-external-item-base.d.ts +1 -1
- package/f-flow/f-flow-base.d.ts +1 -1
- package/f-flow/f-flow.component.d.ts +5 -3
- package/f-line-alignment/domain/line-service.d.ts +1 -1
- package/f-line-alignment/domain/nearest-coordinate.d.ts +1 -1
- package/f-line-alignment/f-line-alignment-base.d.ts +2 -1
- package/f-line-alignment/f-line-alignment.component.d.ts +3 -3
- package/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.execution.d.ts +2 -2
- package/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.request.d.ts +1 -1
- package/f-minimap/domain/check-rect-is-finite.d.ts +1 -1
- package/f-minimap/domain/f-minimap-data.d.ts +1 -1
- package/f-minimap/domain/f-minimap.drag-handler.d.ts +3 -3
- package/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.execution.d.ts +1 -1
- package/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.request.d.ts +1 -1
- package/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.validator.d.ts +1 -1
- package/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.execution.d.ts +2 -2
- package/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.request.d.ts +1 -1
- package/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.validator.d.ts +1 -1
- package/f-minimap/domain/providers.d.ts +1 -1
- package/f-minimap/f-minimap-flow.directive.d.ts +2 -2
- package/f-minimap/f-minimap.component.d.ts +3 -3
- package/f-node/f-drag-handle/f-drag-handle.directive.d.ts +1 -1
- package/f-node/f-group.directive.d.ts +4 -5
- package/f-node/f-node-base.d.ts +10 -7
- package/f-node/f-node.directive.d.ts +4 -5
- package/f-node/f-resize-handle/f-resize-handle.directive.d.ts +1 -1
- package/f-node/f-rotate-handle/f-rotate-handle.directive.d.ts +1 -1
- package/f-selection-area/domain/selection-area-finalize/selection-area-finalize.execution.d.ts +1 -1
- package/f-selection-area/domain/selection-area-finalize/selection-area-finalize.request.d.ts +1 -1
- package/f-selection-area/domain/selection-area-finalize/selection-area-finalize.validator.d.ts +1 -1
- package/f-selection-area/domain/selection-area-preparation/selection-area-preparation.execution.d.ts +2 -2
- package/f-selection-area/domain/selection-area-preparation/selection-area-preparation.request.d.ts +1 -1
- package/f-selection-area/domain/selection-area-preparation/selection-area-preparation.validator.d.ts +1 -1
- package/f-selection-area/domain/selection-area.drag-handle.d.ts +3 -3
- package/f-selection-area/f-selection-area-base.d.ts +2 -1
- package/f-selection-area/f-selection-area.component.d.ts +4 -3
- package/f-storage/f-components-store.d.ts +1 -1
- package/f-zoom/f-zoom-base.d.ts +1 -1
- package/fesm2015/foblex-flow.js +2615 -2731
- package/fesm2015/foblex-flow.js.map +1 -1
- package/i-has-host-element.d.ts +3 -0
- package/mixins/change-position.d.ts +10 -0
- package/mixins/change-selection/change-selection.d.ts +7 -0
- package/mixins/change-selection/i-can-change-selection.d.ts +10 -0
- package/mixins/change-selection/index.d.ts +2 -0
- package/mixins/change-visibility/change-visibility.d.ts +6 -0
- package/mixins/change-visibility/i-can-change-visibility.d.ts +5 -0
- package/mixins/change-visibility/index.d.ts +2 -0
- package/mixins/change-zoom/change-zoom.d.ts +6 -0
- package/mixins/change-zoom/i-can-change-zoom.d.ts +6 -0
- package/mixins/change-zoom/index.d.ts +2 -0
- package/mixins/constructor.d.ts +2 -0
- package/mixins/fit-to-parent/fit-to-parent.d.ts +6 -0
- package/mixins/fit-to-parent/i-can-fit-to-parent.d.ts +4 -0
- package/mixins/fit-to-parent/index.d.ts +2 -0
- package/mixins/i-transformable.d.ts +4 -0
- package/mixins/index.d.ts +8 -0
- package/mixins/one-to-one-centering/i-can-one-to-one-centering.d.ts +4 -0
- package/mixins/one-to-one-centering/index.d.ts +2 -0
- package/mixins/one-to-one-centering/one-to-one-centering.d.ts +6 -0
- package/package.json +5 -2
- package/public-api.d.ts +2 -1
- package/domain/cast-to-enum.d.ts +0 -1
- package/domain/deep-clone-node.d.ts +0 -1
- package/domain/get-value-from-data-attr.d.ts +0 -1
- package/domain/intersections/e-f-connector-shape.d.ts +0 -3
- package/domain/intersections/f-connector-shape.extensions.d.ts +0 -11
- package/domain/intersections/i-connector-shape.d.ts +0 -6
- package/domain/intersections/index.d.ts +0 -5
- package/domain/intersections/intersection-finder.d.ts +0 -67
- package/domain/intersections/rounded-rect/i-rounded-rect.d.ts +0 -8
- package/domain/intersections/rounded-rect/index.d.ts +0 -2
- package/domain/intersections/rounded-rect/rounded-rect.d.ts +0 -23
- package/domain/is-element-with-class.d.ts +0 -1
- package/esm2015/domain/cast-to-enum.js +0 -12
- package/esm2015/domain/deep-clone-node.js +0 -47
- package/esm2015/domain/get-value-from-data-attr.js +0 -7
- package/esm2015/domain/intersections/e-f-connector-shape.js +0 -5
- package/esm2015/domain/intersections/f-connector-shape.extensions.js +0 -46
- package/esm2015/domain/intersections/i-connector-shape.js +0 -2
- package/esm2015/domain/intersections/index.js +0 -6
- package/esm2015/domain/intersections/intersection-finder.js +0 -156
- package/esm2015/domain/intersections/rounded-rect/i-rounded-rect.js +0 -2
- package/esm2015/domain/intersections/rounded-rect/index.js +0 -3
- package/esm2015/domain/intersections/rounded-rect/rounded-rect.js +0 -46
- package/esm2015/domain/is-element-with-class.js +0 -8
- package/esm2015/f-connection/common/mixins/change-connection-selection.mixin.js +0 -26
- package/esm2015/f-connection/common/mixins/change-connection-visibility.mixin.js +0 -14
- package/esm2015/f-connection/common/mixins/index.js +0 -3
- package/esm2015/f-draggable/i-can-run-outside-angular.js +0 -2
- package/esm2015/infrastructure/f-mediator/f-execution-register.js +0 -7
- package/esm2015/infrastructure/f-mediator/f-flow-mediator.js +0 -29
- package/esm2015/infrastructure/f-mediator/f-validator-register.js +0 -7
- package/esm2015/infrastructure/f-mediator/index.js +0 -4
- package/esm2015/infrastructure/index.js +0 -3
- package/esm2015/infrastructure/pipeline/i-execution.js +0 -2
- package/esm2015/infrastructure/pipeline/i-validator.js +0 -2
- package/esm2015/infrastructure/pipeline/index.js +0 -4
- package/esm2015/infrastructure/pipeline/pipeline.js +0 -19
- package/f-connection/common/mixins/change-connection-selection.mixin.d.ts +0 -13
- package/f-connection/common/mixins/change-connection-visibility.mixin.d.ts +0 -9
- package/f-connection/common/mixins/index.d.ts +0 -2
- package/f-draggable/i-can-run-outside-angular.d.ts +0 -3
- package/infrastructure/f-mediator/f-execution-register.d.ts +0 -5
- package/infrastructure/f-mediator/f-flow-mediator.d.ts +0 -12
- package/infrastructure/f-mediator/f-validator-register.d.ts +0 -5
- package/infrastructure/f-mediator/index.d.ts +0 -3
- package/infrastructure/index.d.ts +0 -2
- package/infrastructure/pipeline/i-execution.d.ts +0 -3
- package/infrastructure/pipeline/i-validator.d.ts +0 -3
- package/infrastructure/pipeline/index.d.ts +0 -3
- package/infrastructure/pipeline/pipeline.d.ts +0 -11
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AbstractConstructor, Constructor } from './constructor';
|
|
2
|
+
import { ITransformable } from './i-transformable';
|
|
3
|
+
import { IPoint } from '@foblex/2d';
|
|
4
|
+
export interface ICanChangePosition {
|
|
5
|
+
setPosition(position: IPoint): void;
|
|
6
|
+
getPosition(): IPoint;
|
|
7
|
+
}
|
|
8
|
+
declare type CanChangePositionConstructor = Constructor<ICanChangePosition> & AbstractConstructor<ICanChangePosition>;
|
|
9
|
+
export declare function mixinChangePosition<T extends AbstractConstructor<ITransformable>>(base: T): CanChangePositionConstructor & T;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { AbstractConstructor, Constructor } from '../constructor';
|
|
2
|
+
import { IHasHostElement } from '../../i-has-host-element';
|
|
3
|
+
import { ICanChangeSelection } from './i-can-change-selection';
|
|
4
|
+
export declare const F_SELECTED_CLASS = "f-selected";
|
|
5
|
+
declare type CanChangeSelectionConstructor = Constructor<ICanChangeSelection> & AbstractConstructor<ICanChangeSelection>;
|
|
6
|
+
export declare function mixinChangeSelection<T extends AbstractConstructor<IHasHostElement>>(base: T): CanChangeSelectionConstructor & T;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ICanChangeVisibility } from './i-can-change-visibility';
|
|
2
|
+
import { IHasHostElement } from '../../i-has-host-element';
|
|
3
|
+
import { AbstractConstructor, Constructor } from '../constructor';
|
|
4
|
+
declare type CanChangeVisibilityConstructor = Constructor<ICanChangeVisibility> & AbstractConstructor<ICanChangeVisibility>;
|
|
5
|
+
export declare function mixinChangeVisibility<T extends AbstractConstructor<IHasHostElement>>(base: T): CanChangeVisibilityConstructor & T;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { AbstractConstructor, Constructor } from '../constructor';
|
|
2
|
+
import { ICanChangeZoom } from './i-can-change-zoom';
|
|
3
|
+
import { ITransformable } from '../i-transformable';
|
|
4
|
+
declare type CanChangeZoomConstructor = Constructor<ICanChangeZoom> & AbstractConstructor<ICanChangeZoom>;
|
|
5
|
+
export declare function mixinChangeZoom<T extends AbstractConstructor<ITransformable>>(base: T): CanChangeZoomConstructor & T;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { AbstractConstructor, Constructor } from '../constructor';
|
|
2
|
+
import { ICanFitToParent } from './i-can-fit-to-parent';
|
|
3
|
+
import { ITransformable } from '../i-transformable';
|
|
4
|
+
declare type CanFitToParentConstructor = Constructor<ICanFitToParent> & AbstractConstructor<ICanFitToParent>;
|
|
5
|
+
export declare function mixinFitToParent<T extends AbstractConstructor<ITransformable>>(base: T): CanFitToParentConstructor & T;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from './change-selection';
|
|
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
|
+
export * from './constructor';
|
|
8
|
+
export * from './i-transformable';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { AbstractConstructor, Constructor } from '../constructor';
|
|
2
|
+
import { ICanOneToOneCentering } from './i-can-one-to-one-centering';
|
|
3
|
+
import { ITransformable } from '../i-transformable';
|
|
4
|
+
declare type CanOneToOneCenteringConstructor = Constructor<ICanOneToOneCentering> & AbstractConstructor<ICanOneToOneCentering>;
|
|
5
|
+
export declare function mixinOneToOneCentering<T extends AbstractConstructor<ITransformable>>(base: T): CanOneToOneCenteringConstructor & T;
|
|
6
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@foblex/flow",
|
|
3
|
-
"version": "12.6.
|
|
3
|
+
"version": "12.6.4",
|
|
4
4
|
"description": "An Angular library designed to simplify the creation and manipulation of dynamic flow. Provides components for flows, nodes, and connections, automating node manipulation and inter-node connections.",
|
|
5
5
|
"main": "bundles/foblex-flow.umd.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -32,7 +32,10 @@
|
|
|
32
32
|
"@angular/common": ">=12.0.0",
|
|
33
33
|
"@angular/core": ">=12.0.0",
|
|
34
34
|
"@foblex/platform": "1.0.3",
|
|
35
|
-
"@foblex/
|
|
35
|
+
"@foblex/mediator": "1.1.0",
|
|
36
|
+
"@foblex/2d": "1.1.0",
|
|
37
|
+
"@foblex/drag-toolkit": "1.1.0",
|
|
38
|
+
"@foblex/utils": "1.1.0",
|
|
36
39
|
"rxjs": ">=6.6.0"
|
|
37
40
|
},
|
|
38
41
|
"dependencies": {
|
package/public-api.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export * from './f-flow';
|
|
|
12
12
|
export * from './f-node';
|
|
13
13
|
export * from './f-storage';
|
|
14
14
|
export * from './f-zoom';
|
|
15
|
-
export * from './
|
|
15
|
+
export * from './mixins';
|
|
16
16
|
export * from './f-flow.module';
|
|
17
|
+
export * from './i-has-host-element';
|
|
17
18
|
export * from './i-has-state-changes';
|
package/domain/cast-to-enum.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function castToEnum<T>(value: any, varname: string, enm: any): T;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function deepCloneNode<T extends (HTMLElement | SVGElement)>(node: T): T;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function getValueFromDataAttr<T>(element: HTMLElement, attr: string, cls: string): T;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { IConnectorShape } from './i-connector-shape';
|
|
2
|
-
import { Arc, Line } from '@foblex/core';
|
|
3
|
-
export declare class FConnectorShapeExtensions {
|
|
4
|
-
static getSegments(shape: IConnectorShape): (Arc | Line)[];
|
|
5
|
-
/**
|
|
6
|
-
* Parses the rounded rectangle into its constituent segments (arcs and lines).
|
|
7
|
-
* @param rect - The rounded rectangle to parse.
|
|
8
|
-
* @returns An array of arcs and lines representing the rectangle.
|
|
9
|
-
*/
|
|
10
|
-
private static parseRect;
|
|
11
|
-
}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { IPoint } from '@foblex/core';
|
|
2
|
-
import { IConnectorShape } from './i-connector-shape';
|
|
3
|
-
/**
|
|
4
|
-
* The IntersectionFinder class is designed to find intersection points between
|
|
5
|
-
* line segments and various geometric shapes. Currently, it supports rectangles,
|
|
6
|
-
* circles, and ellipses. In the future, support for additional shapes will be added.
|
|
7
|
-
*/
|
|
8
|
-
export declare class IntersectionFinder {
|
|
9
|
-
/**
|
|
10
|
-
* Finds the guaranteed intersection points between a line segment and a rounded rectangle.
|
|
11
|
-
* @param from - Starting point of the line segment.
|
|
12
|
-
* @param to - Ending point of the line segment.
|
|
13
|
-
* @param shape - The shape to check for intersections.
|
|
14
|
-
* @returns An array of intersection points.
|
|
15
|
-
*/
|
|
16
|
-
static getIntersections(from: IPoint, to: IPoint, shape: IConnectorShape): IPoint[];
|
|
17
|
-
/**
|
|
18
|
-
* Finds the intersection points between an arc and a line segment.
|
|
19
|
-
* @param arc - The arc to check for intersections.
|
|
20
|
-
* @param from - Starting point of the line segment.
|
|
21
|
-
* @param to - Ending point of the line segment.
|
|
22
|
-
* @returns An array of intersection points.
|
|
23
|
-
*/
|
|
24
|
-
private static intersectArcWithLine;
|
|
25
|
-
/**
|
|
26
|
-
* Finds the intersection point between two line segments.
|
|
27
|
-
* @param p1 - Starting point of the first line segment.
|
|
28
|
-
* @param p2 - Ending point of the first line segment.
|
|
29
|
-
* @param p3 - Starting point of the second line segment.
|
|
30
|
-
* @param p4 - Ending point of the second line segment.
|
|
31
|
-
* @returns The intersection point or null if there is no intersection.
|
|
32
|
-
*/
|
|
33
|
-
private static intersectLineSegments;
|
|
34
|
-
/**
|
|
35
|
-
* Filters intersection points to retain only those within the given arc.
|
|
36
|
-
* @param points - The points to filter.
|
|
37
|
-
* @param arc - The arc to check against.
|
|
38
|
-
* @returns An array of points within the arc.
|
|
39
|
-
*/
|
|
40
|
-
private static filterPointsWithinArc;
|
|
41
|
-
/**
|
|
42
|
-
* Normalizes an angle to be within the range 0 to 2π.
|
|
43
|
-
* @param radians - The angle in radians.
|
|
44
|
-
* @returns The normalized angle.
|
|
45
|
-
*/
|
|
46
|
-
private static normalizeAngle;
|
|
47
|
-
/**
|
|
48
|
-
* Finds the intersection points between an ellipse and a line segment.
|
|
49
|
-
* @param center - Center of the ellipse.
|
|
50
|
-
* @param radiusX - X radius of the ellipse.
|
|
51
|
-
* @param radiusY - Y radius of the ellipse.
|
|
52
|
-
* @param pointA - Starting point of the line segment.
|
|
53
|
-
* @param pointB - Ending point of the line segment.
|
|
54
|
-
* @returns An array of intersection points.
|
|
55
|
-
*/
|
|
56
|
-
private static findEllipseLineIntersections;
|
|
57
|
-
/**
|
|
58
|
-
* Calculates the intersection points based on the discriminant.
|
|
59
|
-
* @param discriminant - The discriminant value.
|
|
60
|
-
* @param a - Coefficient 'a' in the quadratic equation.
|
|
61
|
-
* @param b - Coefficient 'b' in the quadratic equation.
|
|
62
|
-
* @param pointA - Starting point of the line segment.
|
|
63
|
-
* @param pointB - Ending point of the line segment.
|
|
64
|
-
* @returns An array of intersection points.
|
|
65
|
-
*/
|
|
66
|
-
private static calculateIntersectionPoints;
|
|
67
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { IRoundedRect } from './i-rounded-rect';
|
|
2
|
-
import { IPoint, IRect } from '@foblex/core';
|
|
3
|
-
import { EFConnectorShape } from '../e-f-connector-shape';
|
|
4
|
-
import { BrowserService } from '@foblex/platform';
|
|
5
|
-
export declare class RoundedRect implements IRoundedRect {
|
|
6
|
-
x: number;
|
|
7
|
-
y: number;
|
|
8
|
-
width: number;
|
|
9
|
-
height: number;
|
|
10
|
-
radius1: number;
|
|
11
|
-
radius2: number;
|
|
12
|
-
radius3: number;
|
|
13
|
-
radius4: number;
|
|
14
|
-
readonly type: EFConnectorShape;
|
|
15
|
-
gravityCenter: IPoint;
|
|
16
|
-
constructor(x?: number, y?: number, width?: number, height?: number, radius1?: number, radius2?: number, radius3?: number, radius4?: number);
|
|
17
|
-
private calculateGravityCenter;
|
|
18
|
-
static fromRect(rect: IRect): RoundedRect;
|
|
19
|
-
static fromRoundedRect(rect: IRoundedRect): RoundedRect;
|
|
20
|
-
static fromElement(element: HTMLElement | SVGElement, fBrowser: BrowserService): RoundedRect;
|
|
21
|
-
private static setRadiusFromElement;
|
|
22
|
-
addPoint(point: IPoint): RoundedRect;
|
|
23
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function isElementWithClass(element: HTMLElement | SVGElement, cls: string): boolean;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export function castToEnum(value, varname, enm) {
|
|
2
|
-
const result = enm[value.toUpperCase()]
|
|
3
|
-
|| getKeyByValue(enm, value.toLowerCase());
|
|
4
|
-
if (result === undefined) {
|
|
5
|
-
throw new Error(`Unknown ${varname}: ${value}. Accepted values: ${Object.keys(enm).join(', ')}`);
|
|
6
|
-
}
|
|
7
|
-
return result;
|
|
8
|
-
}
|
|
9
|
-
function getKeyByValue(object, value) {
|
|
10
|
-
return Object.keys(object).find(key => object[key] === value);
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FzdC10by1lbnVtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9kb21haW4vY2FzdC10by1lbnVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sVUFBVSxVQUFVLENBQUksS0FBVSxFQUFFLE9BQWUsRUFBRSxHQUFRO0lBQ2pFLE1BQU0sTUFBTSxHQUFHLEdBQUc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WApO1xuICB9XG4gIHJldHVybiByZXN1bHQ7XG59XG5cbmZ1bmN0aW9uIGdldEtleUJ5VmFsdWUob2JqZWN0OiBhbnksIHZhbHVlOiBhbnkpIHtcbiAgcmV0dXJuIE9iamVjdC5rZXlzKG9iamVjdCkuZmluZChrZXkgPT4gb2JqZWN0WyBrZXkgXSA9PT0gdmFsdWUpO1xufVxuIl19
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
export function deepCloneNode(node) {
|
|
2
|
-
const clone = node.cloneNode(true);
|
|
3
|
-
const descendantsWithId = clone.querySelectorAll('[id]');
|
|
4
|
-
const nodeName = node.nodeName.toLowerCase();
|
|
5
|
-
clone.removeAttribute('id');
|
|
6
|
-
for (let i = 0; i < descendantsWithId.length; i++) {
|
|
7
|
-
descendantsWithId[i].removeAttribute('id');
|
|
8
|
-
}
|
|
9
|
-
if (nodeName === 'canvas') {
|
|
10
|
-
transferCanvasData(node, clone);
|
|
11
|
-
}
|
|
12
|
-
else if (nodeName === 'input' || nodeName === 'select' || nodeName === 'textarea') {
|
|
13
|
-
transferInputData(node, clone);
|
|
14
|
-
}
|
|
15
|
-
transferData('canvas', node, clone, transferCanvasData);
|
|
16
|
-
transferData('input, textarea, select', node, clone, transferInputData);
|
|
17
|
-
return clone;
|
|
18
|
-
}
|
|
19
|
-
function transferData(selector, node, clone, callback) {
|
|
20
|
-
const descendantElements = node.querySelectorAll(selector);
|
|
21
|
-
if (descendantElements.length) {
|
|
22
|
-
const cloneElements = clone.querySelectorAll(selector);
|
|
23
|
-
for (let i = 0; i < descendantElements.length; i++) {
|
|
24
|
-
callback(descendantElements[i], cloneElements[i]);
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
let cloneUniqueId = 0;
|
|
29
|
-
function transferInputData(source, clone) {
|
|
30
|
-
if (clone.type !== 'file') {
|
|
31
|
-
clone.value = source.value;
|
|
32
|
-
}
|
|
33
|
-
if (clone.type === 'radio' && clone.name) {
|
|
34
|
-
clone.name = `mat-clone-${clone.name}-${cloneUniqueId++}`;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
function transferCanvasData(source, clone) {
|
|
38
|
-
const context = clone.getContext('2d');
|
|
39
|
-
if (context) {
|
|
40
|
-
try {
|
|
41
|
-
context.drawImage(source, 0, 0);
|
|
42
|
-
}
|
|
43
|
-
catch (_a) {
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVlcC1jbG9uZS1ub2RlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9kb21haW4vZGVlcC1jbG9uZS1ub2RlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sVUFBVSxhQUFhLENBQXVDLElBQU87SUFDekUsTUFBTSxLQUFLLEdBQUcsSUFBSSxDQUFDLFNBQVMsQ0FBQyxJQUFJLENBQU0sQ0FBQztJQUN4QyxNQUFNLGlCQUFpQixHQUFHLEtBQUssQ0FBQyxnQkFBZ0IsQ0FBQyxNQUFNLENBQUMsQ0FBQztJQUN6RCxNQUFNLFFBQVEsR0FBRyxJQUFJLENBQUMsUUFBUSxDQUFDLFdBQVcsRUFBRSxDQUFDO0lBRTdDLEtBQUssQ0FBQyxlQUFlLENBQUMsSUFBSSxDQUFDLENBQUM7SUFFNUIsS0FBSyxJQUFJLENBQUMsR0FBRyxDQUFDLEVBQUUsQ0FBQyxHQUFHLGlCQUFpQixDQUFDLE1BQU0sRUFBRSxDQUFDLEVBQUUsRUFBRTtRQUNqRCxpQkFBaUIsQ0FBRSxDQUFDLENBQUUsQ0FBQyxlQUFlLENBQUMsSUFBSSxDQUFDLENBQUM7S0FDOUM7SUFFRCxJQUFJLFFBQVEsS0FBSyxRQUFRLEVBQUU7UUFDekIsa0JBQWtCL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dfQ==
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export function getValueFromDataAttr(element, attr, cls) {
|
|
2
|
-
return getClosestTarget(element, cls).dataset[attr];
|
|
3
|
-
}
|
|
4
|
-
function getClosestTarget(element, cls) {
|
|
5
|
-
return element.closest(cls);
|
|
6
|
-
}
|
|
7
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LXZhbHVlLWZyb20tZGF0YS1hdHRyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9kb21haW4vZ2V0LXZhbHVlLWZyb20tZGF0YS1hdHRyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sVUFBVSxvQkFBb0IsQ0FBSSxPQUFvQixFQUFFLElBQVksRUFBRSxHQUFXO0lBQ3JGLE9BQU8sZ0JBQWdCLENBQUMsT0FBTyxFQUFFLEdBQUcsQ0FBQyxDQUFDLE9BQU8sQ0FBRSxJQUFJLENBQWtCLENBQUM7QUFDeEUsQ0FBQztBQUVELFNBQVMsZ0JBQWdCLENBQUMsT0FBaUMsRUFBRSxHQUFXO0lBQ3RFLE9BQU8sT0FBTyxDQUFDLE9BQU8sQ0FBQyxHQUFHLENBQWdCLENBQUM7QUFDN0MsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBmdW5jdGlvbiBnZXRWYWx1ZUZyb21EYXRhQXR0cjxUPihlbGVtZW50OiBIVE1MRWxlbWVudCwgYXR0cjogc3RyaW5nLCBjbHM6IHN0cmluZyk6IFQge1xuICByZXR1cm4gZ2V0Q2xvc2VzdFRhcmdldChlbGVtZW50LCBjbHMpLmRhdGFzZXRbIGF0dHIgXSBhcyB1bmtub3duIGFzIFQ7XG59XG5cbmZ1bmN0aW9uIGdldENsb3Nlc3RUYXJnZXQoZWxlbWVudDogSFRNTEVsZW1lbnQgfCBTVkdFbGVtZW50LCBjbHM6IHN0cmluZyk6IEhUTUxFbGVtZW50IHtcbiAgcmV0dXJuIGVsZW1lbnQuY2xvc2VzdChjbHMpIGFzIEhUTUxFbGVtZW50O1xufVxuIl19
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export var EFConnectorShape;
|
|
2
|
-
(function (EFConnectorShape) {
|
|
3
|
-
EFConnectorShape["ROUNDED_RECT"] = "ROUNDED_RECT";
|
|
4
|
-
})(EFConnectorShape || (EFConnectorShape = {}));
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZS1mLWNvbm5lY3Rvci1zaGFwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZG9tYWluL2ludGVyc2VjdGlvbnMvZS1mLWNvbm5lY3Rvci1zaGFwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQU4sSUFBWSxnQkFHWDtBQUhELFdBQVksZ0JBQWdCO0lBRTFCLGlEQUE2QixDQUFBO0FBQy9CLENBQUMsRUFIVyxnQkFBZ0IsS0FBaEIsZ0JBQWdCLFFBRzNCIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGVudW0gRUZDb25uZWN0b3JTaGFwZSB7XG5cbiAgUk9VTkRFRF9SRUNUID0gJ1JPVU5ERURfUkVDVCcsXG59XG4iXX0=
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { Arc, Line } from '@foblex/core';
|
|
2
|
-
import { EFConnectorShape } from './e-f-connector-shape';
|
|
3
|
-
export class FConnectorShapeExtensions {
|
|
4
|
-
static getSegments(shape) {
|
|
5
|
-
let result = [];
|
|
6
|
-
switch (shape.type) {
|
|
7
|
-
case EFConnectorShape.ROUNDED_RECT:
|
|
8
|
-
result = this.parseRect(shape);
|
|
9
|
-
break;
|
|
10
|
-
default:
|
|
11
|
-
throw new Error(`Unknown connector shape type: ${shape.type}`);
|
|
12
|
-
}
|
|
13
|
-
return result;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Parses the rounded rectangle into its constituent segments (arcs and lines).
|
|
17
|
-
* @param rect - The rounded rectangle to parse.
|
|
18
|
-
* @returns An array of arcs and lines representing the rectangle.
|
|
19
|
-
*/
|
|
20
|
-
static parseRect(rect) {
|
|
21
|
-
const degree90 = Math.PI * 0.5;
|
|
22
|
-
const x0 = rect.x;
|
|
23
|
-
const y0 = rect.y;
|
|
24
|
-
const x1 = rect.x + rect.width;
|
|
25
|
-
const y1 = rect.y + rect.height;
|
|
26
|
-
const topLeftX = rect.x + rect.radius1;
|
|
27
|
-
const topLeftY = rect.y + rect.radius1;
|
|
28
|
-
const topRightX = rect.x + rect.width - rect.radius2;
|
|
29
|
-
const topRightY = rect.y + rect.radius2;
|
|
30
|
-
const bottomRightX = rect.x + rect.width - rect.radius3;
|
|
31
|
-
const bottomRightY = rect.y + rect.height - rect.radius3;
|
|
32
|
-
const bottomLeftX = rect.x + rect.radius4;
|
|
33
|
-
const bottomLeftY = rect.y + rect.height - rect.radius4;
|
|
34
|
-
return [
|
|
35
|
-
new Arc({ x: topLeftX, y: topLeftY }, rect.radius1, rect.radius1, 2 * degree90, 3 * degree90),
|
|
36
|
-
new Line({ x: topLeftX, y: y0 }, { x: topRightX, y: y0 }),
|
|
37
|
-
new Arc({ x: topRightX, y: topRightY }, rect.radius2, rect.radius2, 3 * degree90, 4 * degree90),
|
|
38
|
-
new Line({ x: x1, y: topRightY }, { x: x1, y: bottomRightY }),
|
|
39
|
-
new Arc({ x: bottomRightX, y: bottomRightY }, rect.radius3, rect.radius3, 0, degree90),
|
|
40
|
-
new Line({ x: bottomRightX, y: y1 }, { x: bottomLeftX, y: y1 }),
|
|
41
|
-
new Arc({ x: bottomLeftX, y: bottomLeftY }, rect.radius4, rect.radius4, degree90, 2 * degree90),
|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TAsIDIgKiBkZWdyZWU5MCksXG4gICAgICBuZXcgTGluZSh7IHg6IHgwLCB5OiBib3R0b21MZWZ0WSB9LCB7IHg6IHgwLCB5OiB0b3BMZWZ0WSB9KSxcbiAgICBdO1xuICB9XG59XG4iXX0=
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1jb25uZWN0b3Itc2hhcGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2RvbWFpbi9pbnRlcnNlY3Rpb25zL2ktY29ubmVjdG9yLXNoYXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBFRkNvbm5lY3RvclNoYXBlIH0gZnJvbSAnLi9lLWYtY29ubmVjdG9yLXNoYXBlJztcbmltcG9ydCB7IElQb2ludCB9IGZyb20gJ0Bmb2JsZXgvY29yZSc7XG5cbmV4cG9ydCBpbnRlcmZhY2UgSUNvbm5lY3RvclNoYXBlIHtcblxuICB0eXBlOiBFRkNvbm5lY3RvclNoYXBlO1xuXG4gIGdyYXZpdHlDZW50ZXI6IElQb2ludDtcbn1cbiJdfQ==
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export * from './rounded-rect';
|
|
2
|
-
export * from './e-f-connector-shape';
|
|
3
|
-
export * from './f-connector-shape.extensions';
|
|
4
|
-
export * from './i-connector-shape';
|
|
5
|
-
export * from './intersection-finder';
|
|
6
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2RvbWFpbi9pbnRlcnNlY3Rpb25zL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsZ0JBQWdCLENBQUM7QUFFL0IsY0FBYyx1QkFBdUIsQ0FBQztBQUV0QyxjQUFjLGdDQUFnQyxDQUFDO0FBRS9DLGNBQWMscUJBQXFCLENBQUM7QUFFcEMsY0FBYyx1QkFBdUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vcm91bmRlZC1yZWN0JztcblxuZXhwb3J0ICogZnJvbSAnLi9lLWYtY29ubmVjdG9yLXNoYXBlJztcblxuZXhwb3J0ICogZnJvbSAnLi9mLWNvbm5lY3Rvci1zaGFwZS5leHRlbnNpb25zJztcblxuZXhwb3J0ICogZnJvbSAnLi9pLWNvbm5lY3Rvci1zaGFwZSc7XG5cbmV4cG9ydCAqIGZyb20gJy4vaW50ZXJzZWN0aW9uLWZpbmRlcic7XG4iXX0=
|