@foblex/flow 17.7.1 → 17.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/domain/f-background/add-pattern-to-background/add-pattern-to-background.execution.d.ts +2 -2
- package/domain/f-background/remove-background-from-store/remove-background-from-store.execution.d.ts +1 -1
- package/domain/f-canvas/providers.d.ts +1 -1
- package/domain/f-connectors/providers.d.ts +1 -1
- package/domain/f-draggable/providers.d.ts +1 -1
- package/domain/f-draggable/start-drag-sequence/start-drag-sequence.execution.d.ts +2 -2
- package/domain/f-flow/get-flow-state/providers.d.ts +1 -1
- package/domain/f-flow/providers.d.ts +1 -1
- package/domain/f-zoom/remove-zoom-from-store/remove-zoom-from-store.execution.d.ts +1 -1
- package/domain/i-map.d.ts +1 -3
- package/domain/providers.d.ts +1 -1
- package/esm2022/domain/css-cls.mjs +2 -2
- package/esm2022/domain/f-background/add-background-to-store/add-background-to-store-request.mjs +1 -1
- package/esm2022/domain/f-background/add-pattern-to-background/add-pattern-to-background.execution.mjs +8 -8
- package/esm2022/domain/f-background/add-pattern-to-background/add-pattern-to-background.request.mjs +1 -1
- package/esm2022/domain/f-background/providers.mjs +2 -2
- package/esm2022/domain/f-background/remove-background-from-store/remove-background-from-store-request.mjs +1 -1
- package/esm2022/domain/f-background/remove-background-from-store/remove-background-from-store.execution.mjs +2 -2
- package/esm2022/domain/f-background/set-background-transform/set-background-transform-request.mjs +1 -1
- package/esm2022/domain/f-canvas/add-canvas-to-store/add-canvas-to-store-request.mjs +1 -1
- package/esm2022/domain/f-canvas/center-group-or-node/center-group-or-node-request.mjs +1 -1
- package/esm2022/domain/f-canvas/center-group-or-node/center-group-or-node.execution.mjs +1 -1
- package/esm2022/domain/f-canvas/fit-to-flow/fit-to-flow-request.mjs +1 -1
- package/esm2022/domain/f-canvas/fit-to-flow/fit-to-flow.execution.mjs +1 -1
- package/esm2022/domain/f-canvas/get-canvas/get-canvas.execution.mjs +1 -1
- package/esm2022/domain/f-canvas/input-canvas-position/input-canvas-position-request.mjs +1 -1
- package/esm2022/domain/f-canvas/input-canvas-position/input-canvas-position.execution.mjs +1 -1
- package/esm2022/domain/f-canvas/input-canvas-scale/input-canvas-scale-request.mjs +1 -1
- package/esm2022/domain/f-canvas/providers.mjs +2 -2
- package/esm2022/domain/f-canvas/redraw-canvas-with-animation/redraw-canvas-with-animation-request.mjs +1 -1
- package/esm2022/domain/f-canvas/reset-scale-and-center/reset-scale-and-center-request.mjs +1 -1
- package/esm2022/domain/f-canvas/reset-scale-and-center/reset-scale-and-center.execution.mjs +1 -1
- package/esm2022/domain/f-canvas/update-scale/update-scale-request.mjs +1 -1
- package/esm2022/domain/f-connection/add-connection-for-create-to-store/add-connection-for-create-to-store-request.mjs +1 -1
- package/esm2022/domain/f-connection/add-connection-marker-to-store/add-connection-marker-to-store-request.mjs +1 -1
- package/esm2022/domain/f-connection/add-connection-to-store/add-connection-to-store-request.mjs +1 -1
- package/esm2022/domain/f-connection/add-snap-connection-to-store/add-snap-connection-to-store-request.mjs +1 -1
- package/esm2022/domain/f-connection/calculate-connection-line-by-behavior/fixed-center-behavior.mjs +2 -2
- package/esm2022/domain/f-connection/calculate-connection-line-by-behavior/fixed-outbound-behavior.mjs +2 -2
- package/esm2022/domain/f-connection/calculate-connection-line-by-behavior/floating-behavior.mjs +2 -2
- package/esm2022/domain/f-connection/create-connection-markers/create-connection-markers.execution.mjs +1 -1
- package/esm2022/domain/f-connection/providers.mjs +2 -2
- package/esm2022/domain/f-connection/redraw-connections/redraw-connections.execution.mjs +1 -1
- package/esm2022/domain/f-connection/remove-connection-from-store/remove-connection-from-store-request.mjs +1 -1
- package/esm2022/domain/f-connection/remove-connection-from-store/remove-connection-from-store.execution.mjs +1 -1
- package/esm2022/domain/f-connection/remove-connection-marker-from-store/remove-connection-marker-from-store-request.mjs +1 -1
- package/esm2022/domain/f-connectors/add-input-to-store/add-input-to-store-request.mjs +1 -1
- package/esm2022/domain/f-connectors/add-outlet-to-store/add-outlet-to-store-request.mjs +1 -1
- package/esm2022/domain/f-connectors/add-output-to-store/add-output-to-store-request.mjs +1 -1
- package/esm2022/domain/f-connectors/find-closest-connector/find-closest-connector.request.mjs +1 -1
- package/esm2022/domain/f-connectors/find-connectable-connector-using-priority-and-position/find-connectable-connector-using-priority-and-position.execution.mjs +1 -1
- package/esm2022/domain/f-connectors/get-all-can-be-connected-inputs-and-rects/get-all-can-be-connected-inputs-and-rects.execution.mjs +1 -1
- package/esm2022/domain/f-connectors/get-all-can-be-connected-source-connectors-and-rects/get-all-can-be-connected-source-connectors-and-rects.execution.mjs +2 -2
- package/esm2022/domain/f-connectors/get-all-can-be-connected-source-connectors-and-rects/get-all-can-be-connected-source-connectors-and-rects.request.mjs +1 -1
- package/esm2022/domain/f-connectors/get-connector-and-rect/get-connector-and-rect-request.mjs +1 -1
- package/esm2022/domain/f-connectors/get-connector-and-rect/get-connector-and-rect.execution.mjs +2 -2
- package/esm2022/domain/f-connectors/mark-connectable-connectors/mark-connectable-connectors.request.mjs +1 -1
- package/esm2022/domain/f-connectors/providers.mjs +4 -4
- package/esm2022/domain/f-connectors/remove-input-from-store/remove-input-from-store-request.mjs +1 -1
- package/esm2022/domain/f-connectors/remove-outlet-from-store/remove-outlet-from-store-request.mjs +1 -1
- package/esm2022/domain/f-connectors/remove-output-from-store/remove-output-from-store-request.mjs +1 -1
- package/esm2022/domain/f-connectors/unmark-connectable-connectors/unmark-connectable-connectors.request.mjs +1 -1
- package/esm2022/domain/f-draggable/add-dnd-to-store/add-dnd-to-store-request.mjs +1 -1
- package/esm2022/domain/f-draggable/emit-selection-change-event/emit-selection-change-event.execution.mjs +1 -1
- package/esm2022/domain/f-draggable/on-pointer-move/on-pointer-move-request.mjs +1 -1
- package/esm2022/domain/f-draggable/on-pointer-move/on-pointer-move.execution.mjs +1 -1
- package/esm2022/domain/f-draggable/providers.mjs +2 -2
- package/esm2022/domain/f-draggable/start-drag-sequence/start-drag-sequence.execution.mjs +3 -3
- package/esm2022/domain/f-flow/add-flow-to-store/add-flow-to-store-request.mjs +1 -1
- package/esm2022/domain/f-flow/get-flow/get-flow.execution.mjs +1 -1
- package/esm2022/domain/f-flow/get-flow-state/get-flow-state-connections/get-flow-state-connections.execution.mjs +2 -2
- package/esm2022/domain/f-flow/get-flow-state/get-flow-state-nodes/get-flow-state-nodes-request.mjs +1 -1
- package/esm2022/domain/f-flow/get-flow-state/get-flow-state-nodes/get-flow-state-nodes.execution.mjs +4 -4
- package/esm2022/domain/f-flow/get-flow-state/get-flow-state.execution.mjs +2 -2
- package/esm2022/domain/f-flow/get-flow-state/providers.mjs +2 -2
- package/esm2022/domain/f-flow/providers.mjs +2 -2
- package/esm2022/domain/f-line-alignment/add-line-alignment-to-store/add-line-alignment-to-store-request.mjs +1 -1
- package/esm2022/domain/f-line-alignment/providers.mjs +2 -2
- package/esm2022/domain/f-node/add-node-to-store/add-node-to-store-request.mjs +1 -1
- package/esm2022/domain/f-node/calculate-input-connections/calculate-input-connections-request.mjs +1 -1
- package/esm2022/domain/f-node/calculate-input-connections/calculate-input-connections.mjs +1 -1
- package/esm2022/domain/f-node/calculate-output-connections/calculate-output-connections-request.mjs +1 -1
- package/esm2022/domain/f-node/calculate-output-connections/calculate-output-connections.mjs +1 -1
- package/esm2022/domain/f-node/fit-to-child-nodes-and-groups/fit-to-child-nodes-and-groups-request.mjs +1 -1
- package/esm2022/domain/f-node/fit-to-child-nodes-and-groups/fit-to-child-nodes-and-groups.mjs +1 -1
- package/esm2022/domain/f-node/get-child-node-ids/get-child-node-ids.mjs +1 -1
- package/esm2022/domain/f-node/get-child-node-ids/get-child-node-ids.request.mjs +1 -1
- package/esm2022/domain/f-node/get-node-padding/get-node-padding.mjs +2 -2
- package/esm2022/domain/f-node/get-node-padding/get-node-padding.request.mjs +1 -1
- package/esm2022/domain/f-node/get-parent-nodes/get-parent-nodes.mjs +1 -1
- package/esm2022/domain/f-node/get-parent-nodes/get-parent-nodes.request.mjs +1 -1
- package/esm2022/domain/f-node/providers.mjs +3 -3
- package/esm2022/domain/f-node/remove-node-from-store/remove-node-from-store-request.mjs +1 -1
- package/esm2022/domain/f-node/update-node-when-state-or-size-changed/update-node-when-state-or-size-changed-request.mjs +1 -1
- package/esm2022/domain/f-node/update-node-when-state-or-size-changed/update-node-when-state-or-size-changed.mjs +1 -1
- package/esm2022/domain/f-selection/get-can-be-selected-items/get-can-be-selected-items.execution.mjs +3 -3
- package/esm2022/domain/f-selection/get-current-selection/get-current-selection.execution.mjs +2 -2
- package/esm2022/domain/f-selection/providers.mjs +2 -2
- package/esm2022/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.execution.mjs +1 -1
- package/esm2022/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.request.mjs +1 -1
- package/esm2022/domain/f-zoom/add-zoom-to-store/add-zoom-to-store-request.mjs +1 -1
- package/esm2022/domain/f-zoom/add-zoom-to-store/add-zoom-to-store.execution.mjs +2 -2
- package/esm2022/domain/f-zoom/providers.mjs +2 -2
- package/esm2022/domain/f-zoom/remove-zoom-from-store/remove-zoom-from-store.execution.mjs +3 -3
- package/esm2022/domain/f-zoom/set-zoom/set-zoom-request.mjs +1 -1
- package/esm2022/domain/f-zoom/set-zoom/set-zoom.execution.mjs +1 -1
- package/esm2022/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.execution.mjs +1 -1
- package/esm2022/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.request.mjs +1 -1
- package/esm2022/domain/get-element-rounded-rect/get-element-rounded-rect.execution.mjs +1 -1
- package/esm2022/domain/get-normalized-connector-rect/get-normalized-connector-rect.execution.mjs +1 -1
- package/esm2022/domain/get-normalized-element-rect/get-normalized-element-rect-request.mjs +1 -1
- package/esm2022/domain/get-normalized-element-rect/get-normalized-element-rect.execution.mjs +2 -2
- package/esm2022/domain/get-normalized-point/get-normalized-point-request.mjs +1 -1
- package/esm2022/domain/get-normalized-point/get-normalized-point.execution.mjs +1 -1
- package/esm2022/domain/i-map.mjs +1 -1
- package/esm2022/domain/log-deprecated.mjs +1 -1
- package/esm2022/domain/log-execution-time.mjs +1 -1
- package/esm2022/domain/providers.mjs +2 -2
- package/esm2022/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.execution.mjs +2 -2
- package/esm2022/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.request.mjs +2 -3
- package/esm2022/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.execution.mjs +1 -1
- package/esm2022/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element.request.mjs +1 -1
- package/esm2022/domain/update-item-and-children-layers/update-item-and-children-layers.execution.mjs +1 -1
- package/esm2022/drag-toolkit/drag-and-drop-base.mjs +3 -3
- package/esm2022/drag-toolkit/event.extensions.mjs +1 -1
- package/esm2022/drag-toolkit/pointer-events/i-pointer-up-event.mjs +1 -1
- package/esm2022/drag-toolkit/pointer-events/i-touch-down-event.mjs +1 -1
- package/esm2022/drag-toolkit/pointer-events/i-touch-move-event.mjs +1 -1
- package/esm2022/f-backgroud/f-background.component.mjs +4 -4
- package/esm2022/f-backgroud/f-circle-pattern/f-circle-pattern.component.mjs +7 -7
- package/esm2022/f-backgroud/f-rect-pattern/f-rect-pattern.component.mjs +7 -7
- package/esm2022/f-backgroud/index.mjs +1 -1
- package/esm2022/f-backgroud/providers.mjs +2 -2
- package/esm2022/f-canvas/f-canvas-base.mjs +1 -1
- package/esm2022/f-canvas/f-canvas.component.mjs +3 -3
- package/esm2022/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points-request.mjs +1 -1
- package/esm2022/f-connection/common/domain/calculate-connection-center/calculate-connection-center-request.mjs +1 -1
- package/esm2022/f-connection/common/domain/calculate-connection-center/calculate-connection-center.handler.mjs +2 -2
- 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 -3
- package/esm2022/f-connection/common/domain/f-straight.path-builder.mjs +1 -1
- package/esm2022/f-connection/common/f-connection-base.mjs +4 -4
- package/esm2022/f-connection/common/f-connection-identifiers.mjs +2 -2
- package/esm2022/f-connection/common/f-connection-text/f-connection-text-path.directive.mjs +4 -4
- package/esm2022/f-connection/common/f-connection-text/f-connection-text.component.mjs +2 -2
- package/esm2022/f-connection/common/f-drag-handle/f-connection-drag-handle-end.component.mjs +4 -4
- package/esm2022/f-connection/common/f-drag-handle/f-connection-drag-handle-start.component.mjs +4 -4
- package/esm2022/f-connection/common/f-gradient/f-connection-gradient.component.mjs +2 -2
- package/esm2022/f-connection/common/f-path/f-connection-path.component.mjs +1 -1
- package/esm2022/f-connection/common/f-selection/f-connection-selection.component.mjs +2 -2
- package/esm2022/f-connection/common/i-has-connection-color.mjs +1 -1
- package/esm2022/f-connection/common/i-has-connection-from-to.mjs +1 -1
- package/esm2022/f-connection/f-connection/f-connection.component.mjs +3 -3
- package/esm2022/f-connection/f-connection-builder/f-connection-builders.mjs +1 -1
- package/esm2022/f-connection/f-connection-builder/f-connection-factory.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 +3 -3
- package/esm2022/f-connection/f-marker/f-marker.directive.mjs +3 -3
- package/esm2022/f-connection/f-snap-connection/f-snap-connection.component.mjs +2 -2
- package/esm2022/f-connection/index.mjs +1 -1
- package/esm2022/f-connection/providers.mjs +3 -3
- package/esm2022/f-connectors/f-node-input/f-node-input.directive.mjs +4 -4
- package/esm2022/f-connectors/f-node-outlet/f-node-outlet.directive.mjs +2 -2
- package/esm2022/f-connectors/f-node-output/f-node-output.directive.mjs +3 -3
- package/esm2022/f-connectors/providers.mjs +2 -2
- package/esm2022/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.execution.mjs +1 -1
- package/esm2022/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.request.mjs +1 -1
- package/esm2022/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.request.mjs +1 -1
- package/esm2022/f-draggable/domain/is-connection-under-node/is-connection-under-node.execution.mjs +1 -1
- package/esm2022/f-draggable/domain/is-connection-under-node/is-connection-under-node.request.mjs +1 -1
- package/esm2022/f-draggable/f-canvas/move-finalize/f-canvas-move-finalize.execution.mjs +1 -1
- package/esm2022/f-draggable/f-canvas/move-finalize/f-canvas-move-finalize.request.mjs +1 -1
- package/esm2022/f-draggable/f-canvas/move-preparation/f-canvas-move-preparation.execution.mjs +1 -1
- package/esm2022/f-draggable/f-canvas/move-preparation/f-canvas-move-preparation.request.mjs +1 -1
- package/esm2022/f-draggable/f-connection/f-create-connection/create-finalize/f-create-connection-finalize.execution.mjs +1 -1
- package/esm2022/f-draggable/f-connection/f-create-connection/create-finalize/f-create-connection-finalize.request.mjs +1 -1
- package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/drag-handler-preparation/f-create-connection-drag-handler-preparation.execution.mjs +2 -2
- package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/drag-handler-preparation/f-create-connection-drag-handler-preparation.request.mjs +1 -1
- package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/f-create-connection-preparation.execution.mjs +1 -1
- package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/f-create-connection-preparation.request.mjs +1 -1
- package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/from-outlet-preparation/f-create-connection-from-outlet-preparation.execution.mjs +1 -1
- package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/from-outlet-preparation/f-create-connection-from-outlet-preparation.request.mjs +1 -1
- package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/from-output-preparation/f-create-connection-from-output-preparation.execution.mjs +1 -1
- package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/from-output-preparation/f-create-connection-from-output-preparation.request.mjs +1 -1
- package/esm2022/f-draggable/f-connection/f-create-connection/f-create-connection.drag-handler.mjs +2 -2
- package/esm2022/f-draggable/f-connection/f-create-connection/get-first-connectable-output/get-first-connectable-output.execution.mjs +1 -1
- package/esm2022/f-draggable/f-connection/f-create-connection/get-first-connectable-output/get-first-connectable-output.request.mjs +1 -1
- package/esm2022/f-draggable/f-connection/f-reassign-connection/f-reassign-connection.drag-handler.mjs +3 -3
- package/esm2022/f-draggable/f-connection/f-reassign-connection/f-reassign-connection.event.mjs +1 -1
- package/esm2022/f-draggable/f-connection/f-reassign-connection/f-reassign-source.drag-handler.mjs +2 -2
- package/esm2022/f-draggable/f-connection/f-reassign-connection/f-reassign-target.drag-handler.mjs +2 -2
- package/esm2022/f-draggable/f-connection/f-reassign-connection/i-f-reassign-handler.mjs +1 -1
- package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-finalize/f-reassign-connection-finalize.execution.mjs +1 -1
- package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-finalize/f-reassign-connection-finalize.request.mjs +1 -1
- package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-preparation/f-reassign-connection-preparation.execution.mjs +3 -3
- package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-preparation/f-reassign-connection-preparation.request.mjs +1 -1
- package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-preparation/is-pointer-inside-start-or-end-drag-handles.mjs +1 -1
- package/esm2022/f-draggable/f-drag-blocker.directive.mjs +2 -2
- package/esm2022/f-draggable/f-drag-handler/i-f-drag-handler.mjs +1 -1
- package/esm2022/f-draggable/f-draggable-base.mjs +2 -9
- package/esm2022/f-draggable/f-draggable.directive.mjs +29 -23
- package/esm2022/f-draggable/f-drop-to-group/drop-to-group-finalize/drop-to-group-finalize-request.mjs +1 -1
- package/esm2022/f-draggable/f-drop-to-group/drop-to-group-finalize/drop-to-group-finalize.mjs +1 -1
- package/esm2022/f-draggable/f-drop-to-group/drop-to-group-preparation/drop-to-group-preparation-request.mjs +1 -1
- package/esm2022/f-draggable/f-drop-to-group/drop-to-group-preparation/drop-to-group-preparation.mjs +1 -1
- package/esm2022/f-draggable/f-drop-to-group/f-node-drop-to-group.drag-handler.mjs +12 -19
- package/esm2022/f-draggable/f-drop-to-group/providers.mjs +2 -2
- package/esm2022/f-draggable/f-drop-to-group/sort-containers-for-drop-by-layer/sort-containers-for-drop-by-layer-request.mjs +1 -1
- package/esm2022/f-draggable/f-drop-to-group/sort-containers-for-drop-by-layer/sort-containers-for-drop-by-layer.mjs +13 -7
- package/esm2022/f-draggable/f-node-move/connection-drag-handlers/base-connection.drag-handler.mjs +2 -2
- package/esm2022/f-draggable/f-node-move/constraint/drag-constraint-pipeline.mjs +1 -1
- package/esm2022/f-draggable/f-node-move/constraint/expand-rect-from-baseline.mjs +5 -3
- package/esm2022/f-draggable/f-node-move/constraint/rect-constraint.mjs +3 -2
- package/esm2022/f-draggable/f-node-move/constraint/snap-to-grid.mjs +3 -3
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/build-drag-hierarchy/build-drag-hierarchy-request.mjs +1 -1
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/build-drag-hierarchy/build-drag-hierarchy-response.mjs +1 -1
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/build-drag-hierarchy/build-drag-hierarchy.mjs +1 -1
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/calculate-drag-limits/calculate-drag-limits-request.mjs +1 -1
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/calculate-drag-limits/calculate-drag-limits.mjs +3 -3
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/calculate-drag-limits/i-drag-limits.mjs +1 -1
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/calculate-drag-limits/i-soft-limit.mjs +1 -1
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/create-drag-model-from-selection-request.mjs +1 -1
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/create-drag-model-from-selection.mjs +2 -2
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/create-input-connection-handler-and-set-to-node-handler/create-input-connection-handler-and-set-to-node-handler-request.mjs +1 -1
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/create-input-connection-handler-and-set-to-node-handler/create-input-connection-handler-and-set-to-node-handler.mjs +2 -2
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/create-output-connection-handler-and-set-to-node-handler/create-output-connection-handler-and-set-to-node-handler-request.mjs +1 -1
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/create-output-connection-handler-and-set-to-node-handler/create-output-connection-handler-and-set-to-node-handler.mjs +2 -2
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/create-summary-drag-handler/create-summary-drag-handler-request.mjs +1 -1
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/create-summary-drag-handler/create-summary-drag-handler.mjs +1 -1
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/get-node-bounding-include-paddings/get-node-bounding-include-paddings-request.mjs +1 -1
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/get-node-bounding-include-paddings/get-node-bounding-include-paddings-response.mjs +1 -1
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/get-node-bounding-include-paddings/get-node-bounding-include-paddings.mjs +2 -2
- package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/providers.mjs +1 -1
- package/esm2022/f-draggable/f-node-move/create-snap-lines/create-snap-lines-request.mjs +1 -1
- package/esm2022/f-draggable/f-node-move/create-snap-lines/create-snap-lines.mjs +1 -1
- package/esm2022/f-draggable/f-node-move/create-snap-lines/snap-lines.drag-handler.mjs +1 -1
- package/esm2022/f-draggable/f-node-move/f-move-nodes.event.mjs +1 -1
- package/esm2022/f-draggable/f-node-move/move-drag-handler.mjs +1 -1
- package/esm2022/f-draggable/f-node-move/move-finalize/f-node-move-finalize.execution.mjs +2 -2
- package/esm2022/f-draggable/f-node-move/move-finalize/f-node-move-finalize.request.mjs +1 -1
- package/esm2022/f-draggable/f-node-move/move-preparation/f-node-move-preparation.execution.mjs +1 -1
- package/esm2022/f-draggable/f-node-move/move-preparation/f-node-move-preparation.request.mjs +1 -1
- package/esm2022/f-draggable/f-node-move/move-summary-drag-handler.mjs +2 -2
- package/esm2022/f-draggable/f-node-resize/apply-child-resize-constraints/apply-child-resize-constraints-request.mjs +1 -1
- package/esm2022/f-draggable/f-node-resize/apply-child-resize-constraints/apply-child-resize-constraints.mjs +3 -2
- package/esm2022/f-draggable/f-node-resize/apply-parent-resize-constraints/apply-parent-resize-constraints-request.mjs +1 -1
- package/esm2022/f-draggable/f-node-resize/apply-parent-resize-constraints/apply-parent-resize-constraints.mjs +15 -13
- package/esm2022/f-draggable/f-node-resize/calculate-changed-rect-from-difference/calculate-changed-rect-from-difference-request.mjs +1 -1
- package/esm2022/f-draggable/f-node-resize/calculate-changed-rect-from-difference/calculate-changed-rect-from-difference.mjs +1 -1
- package/esm2022/f-draggable/f-node-resize/calculate-direct-children-union-rect/calculate-direct-children-union-rect-request.mjs +1 -1
- package/esm2022/f-draggable/f-node-resize/calculate-direct-children-union-rect/calculate-direct-children-union-rect.mjs +1 -1
- package/esm2022/f-draggable/f-node-resize/calculate-resize-limits/calculate-resize-limits-request.mjs +1 -1
- package/esm2022/f-draggable/f-node-resize/calculate-resize-limits/calculate-resize-limits.mjs +2 -2
- package/esm2022/f-draggable/f-node-resize/constraint/i-resize-constraint.mjs +1 -1
- package/esm2022/f-draggable/f-node-resize/constraint/i-resize-limit.mjs +1 -1
- package/esm2022/f-draggable/f-node-resize/constraint/i-resize-limits.mjs +1 -1
- package/esm2022/f-draggable/f-node-resize/node-resize.drag-handler.mjs +1 -1
- package/esm2022/f-draggable/f-node-resize/resize-finalize/node-resize-finalize-request.mjs +1 -1
- package/esm2022/f-draggable/f-node-resize/resize-finalize/node-resize-finalize.mjs +2 -2
- package/esm2022/f-draggable/f-node-resize/resize-preparation/node-resize-preparation-request.mjs +1 -1
- package/esm2022/f-draggable/f-node-resize/resize-preparation/node-resize-preparation.mjs +2 -2
- package/esm2022/f-draggable/f-node-rotate/calculate-difference-after-rotation.mjs +1 -1
- package/esm2022/f-draggable/f-node-rotate/f-node-rotate.drag-handler.mjs +4 -4
- package/esm2022/f-draggable/f-node-rotate/rotate-finalize/f-node-rotate-finalize.execution.mjs +5 -4
- package/esm2022/f-draggable/f-node-rotate/rotate-finalize/f-node-rotate-finalize.request.mjs +1 -1
- package/esm2022/f-draggable/f-node-rotate/rotate-preparation/f-node-rotate-preparation.execution.mjs +4 -4
- package/esm2022/f-draggable/f-node-rotate/rotate-preparation/f-node-rotate-preparation.request.mjs +1 -1
- package/esm2022/f-draggable/f-single-select/f-single-select.execution.mjs +1 -1
- package/esm2022/f-draggable/f-single-select/f-single-select.request.mjs +1 -1
- package/esm2022/f-draggable/i-f-drag-and-drop-plugin.mjs +1 -1
- package/esm2022/f-draggable/index.mjs +1 -1
- package/esm2022/f-draggable/providers.mjs +2 -2
- package/esm2022/f-external-item/domain/constraint/external-rect-constraint.mjs +3 -3
- package/esm2022/f-external-item/domain/create-placeholder/f-external-item-create-placeholder.execution.mjs +1 -1
- package/esm2022/f-external-item/domain/create-preview/f-external-item-create-preview.execution.mjs +2 -2
- package/esm2022/f-external-item/domain/f-create-node.event.mjs +1 -1
- package/esm2022/f-external-item/domain/f-external-item.drag-handler.mjs +2 -2
- package/esm2022/f-external-item/domain/finalize/f-external-item-finalize.execution.mjs +9 -10
- package/esm2022/f-external-item/domain/finalize/f-external-item-finalize.request.mjs +1 -1
- package/esm2022/f-external-item/domain/preparation/f-external-item-preparation.execution.mjs +2 -2
- package/esm2022/f-external-item/domain/preparation/f-external-item-preparation.request.mjs +1 -1
- package/esm2022/f-external-item/domain/prevent-default-is-external-item/prevent-default-is-external-item.execution.mjs +5 -5
- package/esm2022/f-external-item/domain/prevent-default-is-external-item/prevent-default-is-external-item.request.mjs +1 -1
- package/esm2022/f-external-item/f-external-item-base.mjs +1 -1
- package/esm2022/f-external-item/f-external-item-placeholder.directive.mjs +5 -5
- package/esm2022/f-external-item/f-external-item-preview.directive.mjs +4 -4
- package/esm2022/f-external-item/f-external-item.directive.mjs +13 -20
- package/esm2022/f-external-item/f-external-item.service.mjs +3 -3
- package/esm2022/f-external-item/providers.mjs +2 -2
- package/esm2022/f-flow/f-flow.component.mjs +5 -5
- package/esm2022/f-flow/providers.mjs +2 -2
- package/esm2022/f-flow.module.mjs +3 -3
- package/esm2022/f-line-alignment/domain/snap-line-element.mjs +19 -15
- package/esm2022/f-line-alignment/domain/snap-line-service.mjs +16 -18
- package/esm2022/f-line-alignment/f-line-alignment.component.mjs +4 -4
- package/esm2022/f-line-alignment/providers.mjs +2 -2
- package/esm2022/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.execution.mjs +14 -18
- package/esm2022/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.request.mjs +1 -1
- package/esm2022/f-minimap/domain/f-minimap-data.mjs +1 -1
- package/esm2022/f-minimap/domain/f-minimap.drag-handler.mjs +25 -25
- package/esm2022/f-minimap/domain/minimap-calculate-svg-scale-and-view-box/minimap-calculate-svg-scale-and-view-box.execution.mjs +2 -2
- package/esm2022/f-minimap/domain/minimap-calculate-view-box/minimap-calculate-view-box.execution.mjs +9 -8
- package/esm2022/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.execution.mjs +9 -11
- package/esm2022/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.request.mjs +1 -1
- package/esm2022/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.execution.mjs +26 -32
- package/esm2022/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.request.mjs +1 -1
- package/esm2022/f-minimap/domain/minimap-draw-nodes/minimap-draw-nodes.execution.mjs +2 -1
- package/esm2022/f-minimap/f-minimap-canvas.directive.mjs +2 -2
- package/esm2022/f-minimap/f-minimap-flow.directive.mjs +3 -3
- package/esm2022/f-minimap/f-minimap-view.directive.mjs +2 -2
- package/esm2022/f-minimap/f-minimap.component.mjs +1 -1
- package/esm2022/f-node/f-drag-handle.directive.mjs +3 -3
- package/esm2022/f-node/f-group.directive.mjs +6 -4
- package/esm2022/f-node/f-node-base.mjs +1 -1
- package/esm2022/f-node/f-node.directive.mjs +11 -13
- package/esm2022/f-node/f-resize-handle/f-resize-handle.directive.mjs +5 -5
- package/esm2022/f-selection-area/domain/providers.mjs +2 -2
- package/esm2022/f-selection-area/domain/selection-area-finalize/selection-area-finalize.execution.mjs +2 -2
- package/esm2022/f-selection-area/domain/selection-area-finalize/selection-area-finalize.request.mjs +1 -1
- package/esm2022/f-selection-area/domain/selection-area-preparation/selection-area-preparation.execution.mjs +2 -2
- package/esm2022/f-selection-area/domain/selection-area-preparation/selection-area-preparation.request.mjs +1 -1
- package/esm2022/f-selection-area/domain/selection-area.drag-handle.mjs +1 -1
- package/esm2022/f-selection-area/f-selection-area.component.mjs +2 -2
- package/esm2022/f-selection-area/providers.mjs +2 -2
- package/esm2022/f-storage/f-components-store.mjs +1 -1
- package/esm2022/f-storage/features/listen-components-data-changed/listen-data-changes.execution.mjs +3 -4
- package/esm2022/f-storage/features/listen-count-changes/listen-count-changes.execution.mjs +3 -4
- package/esm2022/f-storage/features/listen-transform-changes/listen-transform-changes.execution.mjs +2 -2
- package/esm2022/f-storage/features/notify-data-changed/notify-data-changed.execution.mjs +2 -2
- package/esm2022/f-storage/features/notify-transform-changed/notify-transform-changed.execution.mjs +2 -2
- package/esm2022/f-zoom/f-zoom.directive.mjs +4 -4
- package/esm2022/f-zoom/providers.mjs +2 -2
- package/esm2022/mixins/change-selection/change-selection.mjs +1 -1
- package/esm2022/mixins/change-selection/i-selectable.mjs +1 -1
- package/esm2022/reactivity/debounce-time.mjs +2 -2
- package/esm2022/reactivity/f-channel-hub.mjs +1 -1
- package/esm2022/reactivity/f-channel.mjs +1 -1
- package/esm2022/reactivity/f-resize-channel.mjs +1 -1
- package/esm2022/reactivity/index.mjs +1 -2
- package/esm2022/reactivity/notify-on-start.mjs +1 -1
- package/esm2022/utils/infinity-min-max.mjs +2 -2
- package/f-connection/f-connection-builder/f-connection-builders.d.ts +1 -3
- package/f-connection/providers.d.ts +1 -1
- package/f-draggable/domain/providers.d.ts +1 -1
- package/f-draggable/f-connection/providers.d.ts +1 -1
- package/f-draggable/f-draggable-base.d.ts +6 -9
- package/f-draggable/f-draggable.directive.d.ts +8 -9
- package/f-draggable/f-drop-to-group/f-node-drop-to-group.drag-handler.d.ts +2 -6
- package/f-draggable/f-drop-to-group/providers.d.ts +1 -1
- package/f-draggable/f-node-move/create-drag-model-from-selection/providers.d.ts +1 -1
- package/f-draggable/f-node-move/providers.d.ts +1 -1
- package/f-draggable/f-node-resize/apply-parent-resize-constraints/apply-parent-resize-constraints.d.ts +2 -2
- package/f-draggable/f-node-resize/resize-finalize/node-resize-finalize.d.ts +1 -1
- package/f-draggable/f-node-rotate/f-node-rotate.drag-handler.d.ts +1 -1
- package/f-draggable/f-node-rotate/providers.d.ts +1 -1
- package/f-draggable/f-node-rotate/rotate-finalize/f-node-rotate-finalize.execution.d.ts +1 -1
- package/f-draggable/providers.d.ts +1 -1
- package/f-external-item/domain/finalize/f-external-item-finalize.execution.d.ts +1 -1
- package/f-external-item/f-external-item-base.d.ts +3 -3
- package/f-external-item/f-external-item-placeholder.directive.d.ts +1 -1
- package/f-external-item/f-external-item-preview.directive.d.ts +1 -1
- package/f-external-item/f-external-item-token.d.ts +1 -1
- package/f-external-item/f-external-item.directive.d.ts +5 -6
- package/f-external-item/f-external-item.service.d.ts +1 -1
- package/f-line-alignment/domain/snap-line-element.d.ts +2 -3
- package/f-line-alignment/domain/snap-line-service.d.ts +3 -4
- package/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.execution.d.ts +5 -7
- package/f-minimap/domain/f-minimap.drag-handler.d.ts +10 -10
- package/f-minimap/domain/minimap-calculate-view-box/minimap-calculate-view-box.execution.d.ts +3 -3
- package/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.execution.d.ts +1 -3
- package/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.execution.d.ts +7 -10
- package/f-minimap/domain/providers.d.ts +1 -1
- package/f-node/f-node.directive.d.ts +1 -1
- package/f-node/f-resize-handle/f-resize-handle.directive.d.ts +1 -1
- package/f-node/providers.d.ts +2 -2
- package/f-selection-area/domain/providers.d.ts +1 -1
- package/f-selection-area/domain/selection-area-finalize/selection-area-finalize.execution.d.ts +2 -2
- package/f-storage/f-components-store.d.ts +1 -1
- package/f-storage/features/listen-components-data-changed/listen-data-changes.execution.d.ts +2 -2
- package/f-storage/features/listen-count-changes/listen-count-changes.execution.d.ts +2 -2
- package/f-storage/features/listen-transform-changes/listen-transform-changes.execution.d.ts +2 -2
- package/f-storage/features/notify-data-changed/notify-data-changed.execution.d.ts +2 -2
- package/f-storage/features/notify-transform-changed/notify-transform-changed.execution.d.ts +2 -2
- package/fesm2022/foblex-flow.mjs +349 -370
- package/fesm2022/foblex-flow.mjs.map +1 -1
- package/package.json +1 -1
- package/reactivity/index.d.ts +0 -1
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.js.map +1 -1
- package/schematics/ng-update/index.js +1 -1
- package/schematics/ng-update/index.js.map +1 -1
- package/schematics/shared/foblex-dependencies.js +1 -1
- package/utils/infinity-min-max.d.ts +1 -1
- package/esm2022/reactivity/mediator-effect.mjs +0 -14
- package/reactivity/mediator-effect.d.ts +0 -2
package/fesm2022/foblex-flow.mjs
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, inject, Injectable,
|
|
2
|
+
import { InjectionToken, inject, Injectable, Directive, input, computed, signal, Injector, Renderer2, effect, untracked, DestroyRef, model, output, booleanAttribute, ElementRef, Input, Inject, Component, ChangeDetectionStrategy, ViewChild, Optional, viewChild, contentChildren, numberAttribute, ViewContainerRef, TemplateRef, EventEmitter, NgZone, Output, ContentChildren, contentChild, NgModule } from '@angular/core';
|
|
3
3
|
import { RectExtensions, RoundedRect, TransformModelExtensions, PointExtensions, Point, LineExtensions, GetIntersections, SizeExtensions, findClosestAlignment, setRectToElement, adjustRectToMinSize, setRectToViewBox } from '@foblex/2d';
|
|
4
4
|
import { __decorate } from 'tslib';
|
|
5
|
-
import * as i2 from '@foblex/mediator';
|
|
6
5
|
import { FExecutionRegister, FMediator } from '@foblex/mediator';
|
|
7
6
|
import * as i1 from '@foblex/platform';
|
|
8
7
|
import { BrowserService, PlatformService, EOperationSystem } from '@foblex/platform';
|
|
@@ -61,7 +60,7 @@ class NotifyDataChangedRequest {
|
|
|
61
60
|
|
|
62
61
|
let NotifyDataChangedExecution = class NotifyDataChangedExecution {
|
|
63
62
|
_store = inject(FComponentsStore);
|
|
64
|
-
handle(
|
|
63
|
+
handle(_request) {
|
|
65
64
|
this._store.dataChanged();
|
|
66
65
|
}
|
|
67
66
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NotifyDataChangedExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
@@ -80,7 +79,7 @@ class ListenDataChangesRequest {
|
|
|
80
79
|
|
|
81
80
|
function debounceTime(delay) {
|
|
82
81
|
let timeoutId;
|
|
83
|
-
return callback => {
|
|
82
|
+
return (callback) => {
|
|
84
83
|
return () => {
|
|
85
84
|
clearTimeout(timeoutId);
|
|
86
85
|
timeoutId = setTimeout(() => callback(), delay);
|
|
@@ -153,18 +152,6 @@ class FChannelHub {
|
|
|
153
152
|
}
|
|
154
153
|
}
|
|
155
154
|
|
|
156
|
-
function mediatorEffect(fn, options) {
|
|
157
|
-
let isFirstRun = true;
|
|
158
|
-
return effect(() => {
|
|
159
|
-
const request = fn();
|
|
160
|
-
if (isFirstRun) {
|
|
161
|
-
isFirstRun = false;
|
|
162
|
-
return;
|
|
163
|
-
}
|
|
164
|
-
options?.injector?.get(FMediator).execute(request);
|
|
165
|
-
}, options);
|
|
166
|
-
}
|
|
167
|
-
|
|
168
155
|
function notifyOnStart() {
|
|
169
156
|
return callback => {
|
|
170
157
|
callback();
|
|
@@ -174,9 +161,8 @@ function notifyOnStart() {
|
|
|
174
161
|
|
|
175
162
|
let ListenDataChangesExecution = class ListenDataChangesExecution {
|
|
176
163
|
_store = inject(FComponentsStore);
|
|
177
|
-
handle(
|
|
178
|
-
return new FChannelHub(this._store.dataChanges$)
|
|
179
|
-
.pipe(notifyOnStart(), debounceTime(1));
|
|
164
|
+
handle(_request) {
|
|
165
|
+
return new FChannelHub(this._store.dataChanges$).pipe(notifyOnStart(), debounceTime(1));
|
|
180
166
|
}
|
|
181
167
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ListenDataChangesExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
182
168
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ListenDataChangesExecution });
|
|
@@ -194,9 +180,8 @@ class ListenCountChangesRequest {
|
|
|
194
180
|
|
|
195
181
|
let ListenCountChangesExecution = class ListenCountChangesExecution {
|
|
196
182
|
_store = inject(FComponentsStore);
|
|
197
|
-
handle(
|
|
198
|
-
return new FChannelHub(this._store.countChanges$)
|
|
199
|
-
.pipe(notifyOnStart(), debounceTime(1));
|
|
183
|
+
handle(_request) {
|
|
184
|
+
return new FChannelHub(this._store.countChanges$).pipe(notifyOnStart(), debounceTime(1));
|
|
200
185
|
}
|
|
201
186
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ListenCountChangesExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
202
187
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ListenCountChangesExecution });
|
|
@@ -214,7 +199,7 @@ class ListenTransformChangesRequest {
|
|
|
214
199
|
|
|
215
200
|
let ListenTransformChangesExecution = class ListenTransformChangesExecution {
|
|
216
201
|
_store = inject(FComponentsStore);
|
|
217
|
-
handle(
|
|
202
|
+
handle(_request) {
|
|
218
203
|
return new FChannelHub(this._store.transformChanges$, this._store.dataChanges$, this._store.countChanges$);
|
|
219
204
|
}
|
|
220
205
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ListenTransformChangesExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
@@ -281,7 +266,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
281
266
|
|
|
282
267
|
let NotifyTransformChangedExecution = class NotifyTransformChangedExecution {
|
|
283
268
|
_store = inject(FComponentsStore);
|
|
284
|
-
handle(
|
|
269
|
+
handle(_request) {
|
|
285
270
|
this._store.transformChanged();
|
|
286
271
|
}
|
|
287
272
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NotifyTransformChangedExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
@@ -335,24 +320,24 @@ let uniqueId$c = 0;
|
|
|
335
320
|
*/
|
|
336
321
|
let AddPatternToBackgroundExecution = class AddPatternToBackgroundExecution {
|
|
337
322
|
_store = inject(FComponentsStore);
|
|
338
|
-
|
|
339
|
-
get
|
|
340
|
-
return this._store.fBackground;
|
|
323
|
+
_browser = inject(BrowserService);
|
|
324
|
+
get _backgroundElement() {
|
|
325
|
+
return this._store.fBackground?.hostElement;
|
|
341
326
|
}
|
|
342
327
|
handle(request) {
|
|
343
328
|
const children = request.fPattern?.hostElement.getElementsByTagName('pattern') || [];
|
|
344
329
|
const pattern = children.length ? children[0] : undefined;
|
|
345
330
|
if (pattern) {
|
|
346
|
-
const defs = createSVGElement('defs', this.
|
|
331
|
+
const defs = createSVGElement('defs', this._browser);
|
|
347
332
|
pattern.id = 'f-background-pattern-' + uniqueId$c++;
|
|
348
333
|
request.fPattern?.hostElement.remove();
|
|
349
334
|
defs.appendChild(pattern);
|
|
350
|
-
this.
|
|
351
|
-
const rect = createSVGElement('rect', this.
|
|
335
|
+
this._backgroundElement?.firstChild?.appendChild(defs);
|
|
336
|
+
const rect = createSVGElement('rect', this._browser);
|
|
352
337
|
rect.setAttribute('fill', 'url(#' + pattern.id + ')');
|
|
353
338
|
rect.setAttribute('width', '100%');
|
|
354
339
|
rect.setAttribute('height', '100%');
|
|
355
|
-
this.
|
|
340
|
+
this._backgroundElement.firstChild?.appendChild(rect);
|
|
356
341
|
const transform = this._store.fCanvas?.transform || TransformModelExtensions.default();
|
|
357
342
|
request.fPattern?.setTransform(transform);
|
|
358
343
|
}
|
|
@@ -380,7 +365,7 @@ class RemoveBackgroundFromStoreRequest {
|
|
|
380
365
|
*/
|
|
381
366
|
let RemoveBackgroundFromStoreExecution = class RemoveBackgroundFromStoreExecution {
|
|
382
367
|
_store = inject(FComponentsStore);
|
|
383
|
-
handle(
|
|
368
|
+
handle(_request) {
|
|
384
369
|
this._store.fBackground = undefined;
|
|
385
370
|
}
|
|
386
371
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: RemoveBackgroundFromStoreExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
@@ -427,7 +412,7 @@ const F_BACKGROUND_FEATURES = [
|
|
|
427
412
|
AddBackgroundToStoreExecution,
|
|
428
413
|
AddPatternToBackgroundExecution,
|
|
429
414
|
RemoveBackgroundFromStoreExecution,
|
|
430
|
-
SetBackgroundTransformExecution
|
|
415
|
+
SetBackgroundTransformExecution,
|
|
431
416
|
];
|
|
432
417
|
|
|
433
418
|
class AddCanvasToStoreRequest {
|
|
@@ -855,7 +840,7 @@ const F_CANVAS_FEATURES = [
|
|
|
855
840
|
RemoveCanvasFromStoreExecution,
|
|
856
841
|
ResetScaleExecution,
|
|
857
842
|
ResetScaleAndCenterExecution,
|
|
858
|
-
UpdateScaleExecution
|
|
843
|
+
UpdateScaleExecution,
|
|
859
844
|
];
|
|
860
845
|
|
|
861
846
|
class AddConnectionForCreateToStoreRequest {
|
|
@@ -1068,7 +1053,7 @@ class CalculateConnectionCenterHandler {
|
|
|
1068
1053
|
handle(request) {
|
|
1069
1054
|
const { points } = request;
|
|
1070
1055
|
let totalDistance = 0;
|
|
1071
|
-
|
|
1056
|
+
const distances = [];
|
|
1072
1057
|
for (let i = 0; i < points.length - 1; i++) {
|
|
1073
1058
|
const distance = this.calculateDistance(points[i], points[i + 1]);
|
|
1074
1059
|
distances.push(distance);
|
|
@@ -1165,7 +1150,7 @@ var EFResizeHandleType;
|
|
|
1165
1150
|
class FResizeHandleDirective {
|
|
1166
1151
|
type = input.required({
|
|
1167
1152
|
alias: 'fResizeHandleType',
|
|
1168
|
-
transform: (x) => castToEnum(x, 'fResizeHandleType', EFResizeHandleType)
|
|
1153
|
+
transform: (x) => castToEnum(x, 'fResizeHandleType', EFResizeHandleType),
|
|
1169
1154
|
});
|
|
1170
1155
|
class = computed(() => {
|
|
1171
1156
|
return `f-resize-handle-${EFResizeHandleType[this.type().toUpperCase()]}`;
|
|
@@ -1176,11 +1161,11 @@ class FResizeHandleDirective {
|
|
|
1176
1161
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FResizeHandleDirective, decorators: [{
|
|
1177
1162
|
type: Directive,
|
|
1178
1163
|
args: [{
|
|
1179
|
-
selector:
|
|
1164
|
+
selector: '[fResizeHandle]',
|
|
1180
1165
|
host: {
|
|
1181
1166
|
class: `f-resize-handle f-component`,
|
|
1182
1167
|
'[attr.data-f-resize-handle-type]': 'type().toUpperCase()',
|
|
1183
|
-
'[class]': 'class()'
|
|
1168
|
+
'[class]': 'class()',
|
|
1184
1169
|
},
|
|
1185
1170
|
}]
|
|
1186
1171
|
}] });
|
|
@@ -1212,7 +1197,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
1212
1197
|
args: [{
|
|
1213
1198
|
selector: "[fDragHandle]",
|
|
1214
1199
|
host: {
|
|
1215
|
-
class: "f-drag-handle f-component"
|
|
1200
|
+
class: "f-drag-handle f-component",
|
|
1216
1201
|
},
|
|
1217
1202
|
}]
|
|
1218
1203
|
}] });
|
|
@@ -1403,7 +1388,9 @@ class FGroupDirective extends FNodeBase {
|
|
|
1403
1388
|
fAutoSizeToFitChildren = input(false, {
|
|
1404
1389
|
transform: booleanAttribute,
|
|
1405
1390
|
});
|
|
1406
|
-
constructor(
|
|
1391
|
+
constructor(
|
|
1392
|
+
// eslint-disable-next-line @angular-eslint/prefer-inject
|
|
1393
|
+
elementReference) {
|
|
1407
1394
|
super(elementReference.nativeElement);
|
|
1408
1395
|
super.positionChanges();
|
|
1409
1396
|
super.sizeChanges();
|
|
@@ -1447,7 +1434,7 @@ class FGroupDirective extends FNodeBase {
|
|
|
1447
1434
|
}
|
|
1448
1435
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FGroupDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1449
1436
|
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.2.13", type: FGroupDirective, selector: "[fGroup]", inputs: { fId: { classPropertyName: "fId", publicName: "fGroupId", isSignal: true, isRequired: false, transformFunction: null }, fParentId: { classPropertyName: "fParentId", publicName: "fGroupParentId", isSignal: true, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "fGroupPosition", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "fGroupSize", isSignal: true, isRequired: false, transformFunction: null }, rotate: { classPropertyName: "rotate", publicName: "fGroupRotate", isSignal: true, isRequired: false, transformFunction: null }, fConnectOnNode: { classPropertyName: "fConnectOnNode", publicName: "fConnectOnNode", isSignal: true, isRequired: false, transformFunction: null }, fMinimapClass: { classPropertyName: "fMinimapClass", publicName: "fMinimapClass", isSignal: true, isRequired: false, transformFunction: null }, fDraggingDisabled: { classPropertyName: "fDraggingDisabled", publicName: "fGroupDraggingDisabled", isSignal: true, isRequired: false, transformFunction: null }, fSelectionDisabled: { classPropertyName: "fSelectionDisabled", publicName: "fGroupSelectionDisabled", isSignal: true, isRequired: false, transformFunction: null }, fIncludePadding: { classPropertyName: "fIncludePadding", publicName: "fIncludePadding", isSignal: true, isRequired: false, transformFunction: null }, fAutoExpandOnChildHit: { classPropertyName: "fAutoExpandOnChildHit", publicName: "fAutoExpandOnChildHit", isSignal: true, isRequired: false, transformFunction: null }, fAutoSizeToFitChildren: { classPropertyName: "fAutoSizeToFitChildren", publicName: "fAutoSizeToFitChildren", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { position: "fGroupPositionChange", sizeChange: "fGroupSizeChange", rotate: "fGroupRotateChange" }, host: { properties: { "attr.data-f-group-id": "fId()", "class.f-group-dragging-disabled": "fDraggingDisabled()", "class.f-group-selection-disabled": "fSelectionDisabled()" }, classAttribute: "f-group f-component" }, providers: [
|
|
1450
|
-
{ provide: F_NODE, useExisting: FGroupDirective }
|
|
1437
|
+
{ provide: F_NODE, useExisting: FGroupDirective },
|
|
1451
1438
|
], exportAs: ["fComponent"], usesInheritance: true, ngImport: i0 });
|
|
1452
1439
|
}
|
|
1453
1440
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FGroupDirective, decorators: [{
|
|
@@ -1462,7 +1449,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
1462
1449
|
'[class.f-group-selection-disabled]': 'fSelectionDisabled()',
|
|
1463
1450
|
},
|
|
1464
1451
|
providers: [
|
|
1465
|
-
{ provide: F_NODE, useExisting: FGroupDirective }
|
|
1452
|
+
{ provide: F_NODE, useExisting: FGroupDirective },
|
|
1466
1453
|
],
|
|
1467
1454
|
}]
|
|
1468
1455
|
}], ctorParameters: () => [{ type: i0.ElementRef }] });
|
|
@@ -1506,7 +1493,9 @@ class FNodeDirective extends FNodeBase {
|
|
|
1506
1493
|
fAutoSizeToFitChildren = input(false, {
|
|
1507
1494
|
transform: booleanAttribute,
|
|
1508
1495
|
});
|
|
1509
|
-
constructor(
|
|
1496
|
+
constructor(
|
|
1497
|
+
// eslint-disable-next-line @angular-eslint/prefer-inject
|
|
1498
|
+
elementReference) {
|
|
1510
1499
|
super(elementReference.nativeElement);
|
|
1511
1500
|
super.positionChanges();
|
|
1512
1501
|
super.sizeChanges();
|
|
@@ -1549,24 +1538,20 @@ class FNodeDirective extends FNodeBase {
|
|
|
1549
1538
|
this._mediator.execute(new RemoveNodeFromStoreRequest(this));
|
|
1550
1539
|
}
|
|
1551
1540
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FNodeDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1552
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.2.13", type: FNodeDirective, selector: "[fNode]", inputs: { fId: { classPropertyName: "fId", publicName: "fNodeId", isSignal: true, isRequired: false, transformFunction: null }, fParentId: { classPropertyName: "fParentId", publicName: "fNodeParentId", isSignal: true, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "fNodePosition", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "fNodeSize", isSignal: true, isRequired: false, transformFunction: null }, rotate: { classPropertyName: "rotate", publicName: "fNodeRotate", isSignal: true, isRequired: false, transformFunction: null }, fConnectOnNode: { classPropertyName: "fConnectOnNode", publicName: "fConnectOnNode", isSignal: true, isRequired: false, transformFunction: null }, fMinimapClass: { classPropertyName: "fMinimapClass", publicName: "fMinimapClass", isSignal: true, isRequired: false, transformFunction: null }, fDraggingDisabled: { classPropertyName: "fDraggingDisabled", publicName: "fNodeDraggingDisabled", isSignal: true, isRequired: false, transformFunction: null }, fSelectionDisabled: { classPropertyName: "fSelectionDisabled", publicName: "fNodeSelectionDisabled", isSignal: true, isRequired: false, transformFunction: null }, fIncludePadding: { classPropertyName: "fIncludePadding", publicName: "fIncludePadding", isSignal: true, isRequired: false, transformFunction: null }, fAutoExpandOnChildHit: { classPropertyName: "fAutoExpandOnChildHit", publicName: "fAutoExpandOnChildHit", isSignal: true, isRequired: false, transformFunction: null }, fAutoSizeToFitChildren: { classPropertyName: "fAutoSizeToFitChildren", publicName: "fAutoSizeToFitChildren", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { position: "fNodePositionChange", sizeChange: "fNodeSizeChange", rotate: "fNodeRotateChange" }, host: { properties: { "attr.data-f-node-id": "fId()", "class.f-node-dragging-disabled": "fDraggingDisabled()", "class.f-node-selection-disabled": "fSelectionDisabled()" }, classAttribute: "f-node f-component" }, providers: [
|
|
1553
|
-
{ provide: F_NODE, useExisting: FNodeDirective }
|
|
1554
|
-
], exportAs: ["fComponent"], usesInheritance: true, ngImport: i0 });
|
|
1541
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.2.13", type: FNodeDirective, selector: "[fNode]", inputs: { fId: { classPropertyName: "fId", publicName: "fNodeId", isSignal: true, isRequired: false, transformFunction: null }, fParentId: { classPropertyName: "fParentId", publicName: "fNodeParentId", isSignal: true, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "fNodePosition", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "fNodeSize", isSignal: true, isRequired: false, transformFunction: null }, rotate: { classPropertyName: "rotate", publicName: "fNodeRotate", isSignal: true, isRequired: false, transformFunction: null }, fConnectOnNode: { classPropertyName: "fConnectOnNode", publicName: "fConnectOnNode", isSignal: true, isRequired: false, transformFunction: null }, fMinimapClass: { classPropertyName: "fMinimapClass", publicName: "fMinimapClass", isSignal: true, isRequired: false, transformFunction: null }, fDraggingDisabled: { classPropertyName: "fDraggingDisabled", publicName: "fNodeDraggingDisabled", isSignal: true, isRequired: false, transformFunction: null }, fSelectionDisabled: { classPropertyName: "fSelectionDisabled", publicName: "fNodeSelectionDisabled", isSignal: true, isRequired: false, transformFunction: null }, fIncludePadding: { classPropertyName: "fIncludePadding", publicName: "fIncludePadding", isSignal: true, isRequired: false, transformFunction: null }, fAutoExpandOnChildHit: { classPropertyName: "fAutoExpandOnChildHit", publicName: "fAutoExpandOnChildHit", isSignal: true, isRequired: false, transformFunction: null }, fAutoSizeToFitChildren: { classPropertyName: "fAutoSizeToFitChildren", publicName: "fAutoSizeToFitChildren", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { position: "fNodePositionChange", sizeChange: "fNodeSizeChange", rotate: "fNodeRotateChange" }, host: { properties: { "attr.data-f-node-id": "fId()", "class.f-node-dragging-disabled": "fDraggingDisabled()", "class.f-node-selection-disabled": "fSelectionDisabled()" }, classAttribute: "f-node f-component" }, providers: [{ provide: F_NODE, useExisting: FNodeDirective }], exportAs: ["fComponent"], usesInheritance: true, ngImport: i0 });
|
|
1555
1542
|
}
|
|
1556
1543
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FNodeDirective, decorators: [{
|
|
1557
1544
|
type: Directive,
|
|
1558
1545
|
args: [{
|
|
1559
|
-
selector:
|
|
1560
|
-
exportAs:
|
|
1546
|
+
selector: '[fNode]',
|
|
1547
|
+
exportAs: 'fComponent',
|
|
1561
1548
|
host: {
|
|
1562
1549
|
'[attr.data-f-node-id]': 'fId()',
|
|
1563
|
-
class:
|
|
1550
|
+
class: 'f-node f-component',
|
|
1564
1551
|
'[class.f-node-dragging-disabled]': 'fDraggingDisabled()',
|
|
1565
1552
|
'[class.f-node-selection-disabled]': 'fSelectionDisabled()',
|
|
1566
1553
|
},
|
|
1567
|
-
providers: [
|
|
1568
|
-
{ provide: F_NODE, useExisting: FNodeDirective }
|
|
1569
|
-
],
|
|
1554
|
+
providers: [{ provide: F_NODE, useExisting: FNodeDirective }],
|
|
1570
1555
|
}]
|
|
1571
1556
|
}], ctorParameters: () => [{ type: i0.ElementRef }] });
|
|
1572
1557
|
|
|
@@ -1632,7 +1617,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
1632
1617
|
'[attr.data-f-input-id]': 'fId',
|
|
1633
1618
|
class: "f-component f-node-input",
|
|
1634
1619
|
'[class.f-node-input-multiple]': 'multiple',
|
|
1635
|
-
'[class.f-node-input-disabled]': 'disabled'
|
|
1620
|
+
'[class.f-node-input-disabled]': 'disabled',
|
|
1636
1621
|
},
|
|
1637
1622
|
providers: [{ provide: F_NODE_INPUT, useExisting: FNodeInputDirective }],
|
|
1638
1623
|
}]
|
|
@@ -1649,7 +1634,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
1649
1634
|
type: Input,
|
|
1650
1635
|
args: [{
|
|
1651
1636
|
alias: 'fInputConnectableSide',
|
|
1652
|
-
transform: (value) => castToEnum(value, 'fInputConnectableSide', EFConnectableSide)
|
|
1637
|
+
transform: (value) => castToEnum(value, 'fInputConnectableSide', EFConnectableSide),
|
|
1653
1638
|
}]
|
|
1654
1639
|
}] } });
|
|
1655
1640
|
|
|
@@ -1708,7 +1693,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
1708
1693
|
host: {
|
|
1709
1694
|
'[attr.data-f-outlet-id]': 'fId',
|
|
1710
1695
|
class: "f-component f-node-outlet",
|
|
1711
|
-
'[class.f-node-outlet-disabled]': 'disabled'
|
|
1696
|
+
'[class.f-node-outlet-disabled]': 'disabled',
|
|
1712
1697
|
},
|
|
1713
1698
|
providers: [{ provide: F_NODE_OUTLET, useExisting: FNodeOutletDirective }],
|
|
1714
1699
|
}]
|
|
@@ -1811,7 +1796,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
1811
1796
|
type: Input,
|
|
1812
1797
|
args: [{
|
|
1813
1798
|
alias: 'fOutputConnectableSide',
|
|
1814
|
-
transform: (value) => castToEnum(value, 'fOutputConnectableSide', EFConnectableSide)
|
|
1799
|
+
transform: (value) => castToEnum(value, 'fOutputConnectableSide', EFConnectableSide),
|
|
1815
1800
|
}]
|
|
1816
1801
|
}], isSelfConnectable: [{
|
|
1817
1802
|
type: Input
|
|
@@ -1823,7 +1808,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
1823
1808
|
const F_CONNECTORS_PROVIDERS = [
|
|
1824
1809
|
FNodeInputDirective,
|
|
1825
1810
|
FNodeOutletDirective,
|
|
1826
|
-
FNodeOutputDirective
|
|
1811
|
+
FNodeOutputDirective,
|
|
1827
1812
|
];
|
|
1828
1813
|
|
|
1829
1814
|
class FBezierPathBuilder {
|
|
@@ -1834,7 +1819,7 @@ class FBezierPathBuilder {
|
|
|
1834
1819
|
return offset * Math.sqrt(offset - distance);
|
|
1835
1820
|
}
|
|
1836
1821
|
static getAnglePoint(side, source, target, offset) {
|
|
1837
|
-
|
|
1822
|
+
const result = { x: source.x, y: source.y };
|
|
1838
1823
|
switch (side) {
|
|
1839
1824
|
case EFConnectableSide.LEFT:
|
|
1840
1825
|
result.x -= FBezierPathBuilder.getConnectorOffset(source.x - target.x, offset);
|
|
@@ -1953,7 +1938,7 @@ class FSegmentPathBuilder {
|
|
|
1953
1938
|
target,
|
|
1954
1939
|
];
|
|
1955
1940
|
const center = new CalculateConnectionCenterHandler().handle(new CalculateConnectionCenterRequest(pathPoints));
|
|
1956
|
-
return { points: pathPoints, center
|
|
1941
|
+
return { points: pathPoints, center };
|
|
1957
1942
|
}
|
|
1958
1943
|
getDirection(source, sourceSide, target) {
|
|
1959
1944
|
if (sourceSide === EFConnectableSide.LEFT || sourceSide === EFConnectableSide.RIGHT) {
|
|
@@ -2032,7 +2017,7 @@ const F_CONNECTION_IDENTIFIERS = {
|
|
|
2032
2017
|
},
|
|
2033
2018
|
linkToConnection(connectionId) {
|
|
2034
2019
|
return `#${F_CONNECTION_IDENTIFIERS.connectionId(connectionId)}`;
|
|
2035
|
-
}
|
|
2020
|
+
},
|
|
2036
2021
|
};
|
|
2037
2022
|
|
|
2038
2023
|
const F_CONNECTION = new InjectionToken('F_CONNECTION');
|
|
@@ -2068,7 +2053,7 @@ class FConnectionTextPathDirective {
|
|
|
2068
2053
|
const computedStyles = this.fBrowser.window.getComputedStyle(element);
|
|
2069
2054
|
return {
|
|
2070
2055
|
fontSize: computedStyles.fontSize,
|
|
2071
|
-
fontFamily: computedStyles.fontFamily
|
|
2056
|
+
fontFamily: computedStyles.fontFamily,
|
|
2072
2057
|
};
|
|
2073
2058
|
}
|
|
2074
2059
|
getSymbolWidth(name) {
|
|
@@ -2099,8 +2084,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
2099
2084
|
args: [{
|
|
2100
2085
|
selector: 'textPath[f-connection-text-path]',
|
|
2101
2086
|
host: {
|
|
2102
|
-
'[attr.href]': 'linkToConnection'
|
|
2103
|
-
}
|
|
2087
|
+
'[attr.href]': 'linkToConnection',
|
|
2088
|
+
},
|
|
2104
2089
|
}]
|
|
2105
2090
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: undefined, decorators: [{
|
|
2106
2091
|
type: Inject,
|
|
@@ -2189,7 +2174,7 @@ const F_CSS_CLASS = {
|
|
|
2189
2174
|
},
|
|
2190
2175
|
CONNECTION: {
|
|
2191
2176
|
DRAG_HANDLE: 'f-connection-drag-handle',
|
|
2192
|
-
}
|
|
2177
|
+
},
|
|
2193
2178
|
};
|
|
2194
2179
|
|
|
2195
2180
|
class FConnectionDragHandleStartComponent {
|
|
@@ -2221,8 +2206,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
2221
2206
|
template: '',
|
|
2222
2207
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2223
2208
|
host: {
|
|
2224
|
-
'[class]': 'class'
|
|
2225
|
-
}
|
|
2209
|
+
'[class]': 'class',
|
|
2210
|
+
},
|
|
2226
2211
|
}]
|
|
2227
2212
|
}] });
|
|
2228
2213
|
|
|
@@ -2255,8 +2240,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
2255
2240
|
template: '',
|
|
2256
2241
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2257
2242
|
host: {
|
|
2258
|
-
'[class]': 'class'
|
|
2259
|
-
}
|
|
2243
|
+
'[class]': 'class',
|
|
2244
|
+
},
|
|
2260
2245
|
}]
|
|
2261
2246
|
}] });
|
|
2262
2247
|
|
|
@@ -2314,7 +2299,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
2314
2299
|
type: Component,
|
|
2315
2300
|
args: [{ selector: "linearGradient[fConnectionGradient]", changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
2316
2301
|
class: "f-component f-connection-gradient",
|
|
2317
|
-
'[attr.id]': 'gradientId'
|
|
2302
|
+
'[attr.id]': 'gradientId',
|
|
2318
2303
|
}, providers: [{ provide: CONNECTION_GRADIENT, useExisting: FConnectionGradientComponent }], template: "<ng-container xmlns:svg=\"http://www.w3.org/2000/svg\">\n <svg:stop/>\n <svg:stop/>\n</ng-container>\n" }]
|
|
2319
2304
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: undefined, decorators: [{
|
|
2320
2305
|
type: Inject,
|
|
@@ -2422,7 +2407,7 @@ class FConnectionCenterDirective {
|
|
|
2422
2407
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FConnectionCenterDirective, decorators: [{
|
|
2423
2408
|
type: Directive,
|
|
2424
2409
|
args: [{
|
|
2425
|
-
selector: "[fConnectionCenter]"
|
|
2410
|
+
selector: "[fConnectionCenter]",
|
|
2426
2411
|
}]
|
|
2427
2412
|
}] });
|
|
2428
2413
|
|
|
@@ -2509,7 +2494,7 @@ class FConnectionBase extends MIXIN_BASE {
|
|
|
2509
2494
|
const offset = this.fOffset > 0 ? this.fOffset : 1;
|
|
2510
2495
|
return this.cFactory.handle({
|
|
2511
2496
|
type: this.fType,
|
|
2512
|
-
payload: { source, sourceSide, target, targetSide, radius, offset }
|
|
2497
|
+
payload: { source, sourceSide, target, targetSide, radius, offset },
|
|
2513
2498
|
});
|
|
2514
2499
|
}
|
|
2515
2500
|
getTransform(position) {
|
|
@@ -2586,7 +2571,7 @@ class FConnectionForCreateComponent extends FConnectionBase {
|
|
|
2586
2571
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FConnectionForCreateComponent, decorators: [{
|
|
2587
2572
|
type: Component,
|
|
2588
2573
|
args: [{ selector: "f-connection-for-create", changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
2589
|
-
class: "f-component f-connection f-connection-for-create"
|
|
2574
|
+
class: "f-component f-connection f-connection-for-create",
|
|
2590
2575
|
}, providers: [{ provide: F_CONNECTION, useExisting: FConnectionForCreateComponent }], template: "<svg xmlns=\"http://www.w3.org/2000/svg\">\n <defs #defs></defs>\n <g class=\"f-connection-group\">\n <linearGradient fConnectionGradient></linearGradient>\n <path fConnectionSelection [attr.d]=\"path\"></path>\n <g>\n <path f-connection-path\n [attr.d]=\"path\">\n </path>\n <circle f-connection-drag-handle-start r=\"8\"></circle>\n <circle f-connection-drag-handle-end r=\"8\"></circle>\n </g>\n <text f-connection-text></text>\n </g>\n <ng-content></ng-content>\n</svg>\n@if (fConnectionCenters().length) {\n <div #fConnectionCenter class=\"f-connection-center\">\n <ng-content select=\"[fConnectionCenter]\"></ng-content>\n </div>\n}\n", styles: [":host{pointer-events:none;position:absolute}:host svg{overflow:visible}:host svg .f-connection-group{pointer-events:all}:host .f-connection-center{pointer-events:all}\n"] }]
|
|
2591
2576
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: FConnectionFactory }], propDecorators: { fRadius: [{
|
|
2592
2577
|
type: Input,
|
|
@@ -2616,7 +2601,7 @@ class FConnectionComponent extends FConnectionBase {
|
|
|
2616
2601
|
fReassignableStart = input(false, { transform: booleanAttribute });
|
|
2617
2602
|
fDraggingDisabled = input(false, {
|
|
2618
2603
|
alias: 'fReassignDisabled',
|
|
2619
|
-
transform: booleanAttribute
|
|
2604
|
+
transform: booleanAttribute,
|
|
2620
2605
|
});
|
|
2621
2606
|
get boundingElement() {
|
|
2622
2607
|
return this.fPath().hostElement;
|
|
@@ -2715,7 +2700,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
2715
2700
|
args: [{
|
|
2716
2701
|
selector: "svg[fMarker]",
|
|
2717
2702
|
host: {
|
|
2718
|
-
class: "f-component f-marker"
|
|
2703
|
+
class: "f-component f-marker",
|
|
2719
2704
|
},
|
|
2720
2705
|
providers: [{ provide: F_MARKER, useExisting: FMarkerDirective }],
|
|
2721
2706
|
}]
|
|
@@ -2774,7 +2759,7 @@ class FSnapConnectionComponent extends FConnectionBase {
|
|
|
2774
2759
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FSnapConnectionComponent, decorators: [{
|
|
2775
2760
|
type: Component,
|
|
2776
2761
|
args: [{ selector: "f-snap-connection", changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
2777
|
-
class: "f-component f-connection f-snap-connection"
|
|
2762
|
+
class: "f-component f-connection f-snap-connection",
|
|
2778
2763
|
}, providers: [{ provide: F_CONNECTION, useExisting: FSnapConnectionComponent }], template: "<svg xmlns=\"http://www.w3.org/2000/svg\">\n <defs #defs></defs>\n <g class=\"f-connection-group\">\n <linearGradient fConnectionGradient></linearGradient>\n <path fConnectionSelection [attr.d]=\"path\"></path>\n <g>\n <path f-connection-path\n [attr.d]=\"path\">\n </path>\n <circle f-connection-drag-handle-start r=\"8\"></circle>\n <circle f-connection-drag-handle-end r=\"8\"></circle>\n </g>\n <text f-connection-text></text>\n </g>\n <ng-content></ng-content>\n</svg>\n@if (fConnectionCenters().length) {\n <div #fConnectionCenter class=\"f-connection-center\">\n <ng-content select=\"[fConnectionCenter]\"></ng-content>\n </div>\n}\n\n", styles: [":host{pointer-events:none;position:absolute}:host svg{overflow:visible}:host svg .f-connection-group{pointer-events:all}:host .f-connection-center{pointer-events:all}\n"] }]
|
|
2779
2764
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: FConnectionFactory }], propDecorators: { fSnapThreshold: [{
|
|
2780
2765
|
type: Input,
|
|
@@ -2804,7 +2789,7 @@ const F_CONNECTION_PROVIDERS = [
|
|
|
2804
2789
|
FConnectionCenterDirective,
|
|
2805
2790
|
FConnectionForCreateComponent,
|
|
2806
2791
|
FMarkerDirective,
|
|
2807
|
-
FSnapConnectionComponent
|
|
2792
|
+
FSnapConnectionComponent,
|
|
2808
2793
|
];
|
|
2809
2794
|
|
|
2810
2795
|
/**
|
|
@@ -2824,7 +2809,7 @@ function _toRoundedRectIntersections(payload) {
|
|
|
2824
2809
|
function _getIntersectionsLine(from, to, payload) {
|
|
2825
2810
|
return {
|
|
2826
2811
|
point1: from ? from : payload.outputRect.gravityCenter,
|
|
2827
|
-
point2: to ? to : payload.inputRect.gravityCenter
|
|
2812
|
+
point2: to ? to : payload.inputRect.gravityCenter,
|
|
2828
2813
|
};
|
|
2829
2814
|
}
|
|
2830
2815
|
|
|
@@ -2836,7 +2821,7 @@ function _getIntersectionsLine(from, to, payload) {
|
|
|
2836
2821
|
function fixedCenterBehavior(payload) {
|
|
2837
2822
|
return {
|
|
2838
2823
|
point1: payload.outputRect.gravityCenter,
|
|
2839
|
-
point2: payload.inputRect.gravityCenter
|
|
2824
|
+
point2: payload.inputRect.gravityCenter,
|
|
2840
2825
|
};
|
|
2841
2826
|
}
|
|
2842
2827
|
|
|
@@ -2848,7 +2833,7 @@ function fixedCenterBehavior(payload) {
|
|
|
2848
2833
|
function fixedOutboundBehavior(payload) {
|
|
2849
2834
|
return {
|
|
2850
2835
|
point1: _getPosition(payload.outputRect, payload.outputSide === EFConnectableSide.AUTO ? EFConnectableSide.BOTTOM : payload.outputSide),
|
|
2851
|
-
point2: _getPosition(payload.inputRect, payload.inputSide === EFConnectableSide.AUTO ? EFConnectableSide.TOP : payload.inputSide)
|
|
2836
|
+
point2: _getPosition(payload.inputRect, payload.inputSide === EFConnectableSide.AUTO ? EFConnectableSide.TOP : payload.inputSide),
|
|
2852
2837
|
};
|
|
2853
2838
|
}
|
|
2854
2839
|
function _getPosition(rect, side) {
|
|
@@ -3178,7 +3163,7 @@ const F_CONNECTION_FEATURES = [
|
|
|
3178
3163
|
RemoveConnectionForCreateFromStoreExecution,
|
|
3179
3164
|
RemoveConnectionFromStoreExecution,
|
|
3180
3165
|
RemoveConnectionMarkerFromStoreExecution,
|
|
3181
|
-
RemoveSnapConnectionFromStoreExecution
|
|
3166
|
+
RemoveSnapConnectionFromStoreExecution,
|
|
3182
3167
|
];
|
|
3183
3168
|
|
|
3184
3169
|
class AddInputToStoreRequest {
|
|
@@ -3432,7 +3417,7 @@ let GetConnectorAndRectExecution = class GetConnectorAndRectExecution {
|
|
|
3432
3417
|
handle(request) {
|
|
3433
3418
|
return {
|
|
3434
3419
|
fConnector: request.fConnector,
|
|
3435
|
-
fRect: this._getConnectorRect(request.fConnector)
|
|
3420
|
+
fRect: this._getConnectorRect(request.fConnector),
|
|
3436
3421
|
};
|
|
3437
3422
|
}
|
|
3438
3423
|
_getConnectorRect(fConnector) {
|
|
@@ -3685,7 +3670,7 @@ const F_CONNECTORS_FEATURES = [
|
|
|
3685
3670
|
RemoveInputFromStoreExecution,
|
|
3686
3671
|
RemoveOutletFromStoreExecution,
|
|
3687
3672
|
RemoveOutputFromStoreExecution,
|
|
3688
|
-
UnmarkConnectableConnectorsExecution
|
|
3673
|
+
UnmarkConnectableConnectorsExecution,
|
|
3689
3674
|
];
|
|
3690
3675
|
|
|
3691
3676
|
class AddDndToStoreRequest {
|
|
@@ -4294,7 +4279,7 @@ let FCreateConnectionDragHandlerPreparationExecution = class FCreateConnectionDr
|
|
|
4294
4279
|
const positionRelativeToCanvasComponent = Point.fromPoint(positionRelativeToFlowComponent).mult(this._transform.scale)
|
|
4295
4280
|
.sub(this._transform.position).sub(this._transform.scaledPosition).div(this._transform.scale);
|
|
4296
4281
|
this._dragContext.draggableItems = [
|
|
4297
|
-
new FCreateConnectionDragHandler(this._injector, request.fOutputOrOutlet, positionRelativeToCanvasComponent)
|
|
4282
|
+
new FCreateConnectionDragHandler(this._injector, request.fOutputOrOutlet, positionRelativeToCanvasComponent),
|
|
4298
4283
|
];
|
|
4299
4284
|
}
|
|
4300
4285
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FCreateConnectionDragHandlerPreparationExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
@@ -4677,7 +4662,7 @@ class FReassignConnectionDragHandler {
|
|
|
4677
4662
|
this._fMediator = _injector.get(FMediator);
|
|
4678
4663
|
this._store = _injector.get(FComponentsStore);
|
|
4679
4664
|
this.fData = {
|
|
4680
|
-
fConnectionId: this._connection.fId()
|
|
4665
|
+
fConnectionId: this._connection.fId(),
|
|
4681
4666
|
};
|
|
4682
4667
|
this._reassignHandler = this._isTargetDragHandle ? this._targetDragHandler() : this._sourceDragHandler();
|
|
4683
4668
|
}
|
|
@@ -4695,7 +4680,7 @@ class FReassignConnectionDragHandler {
|
|
|
4695
4680
|
sourceConnectorRect: roundedRectFromPoint(this._connection.line.point1),
|
|
4696
4681
|
targetConnectorRect: roundedRectFromPoint(this._connection.line.point2),
|
|
4697
4682
|
connectableConnectors: this._reassignHandler.getConnectableConnectors(),
|
|
4698
|
-
fConnection: this._connection
|
|
4683
|
+
fConnection: this._connection,
|
|
4699
4684
|
});
|
|
4700
4685
|
}
|
|
4701
4686
|
onPointerMove(difference) {
|
|
@@ -4835,7 +4820,7 @@ let FReassignConnectionPreparationExecution = class FReassignConnectionPreparati
|
|
|
4835
4820
|
this._dragContext.onPointerDownPosition = Point.fromPoint(request.event.getPosition())
|
|
4836
4821
|
.elementTransform(this._fHost).div(this._transform.scale);
|
|
4837
4822
|
this._dragContext.draggableItems = [
|
|
4838
|
-
new FReassignConnectionDragHandler(this._injector, this._fConnection, isDragHandleEnd(this._fConnection, position))
|
|
4823
|
+
new FReassignConnectionDragHandler(this._injector, this._fConnection, isDragHandleEnd(this._fConnection, position)),
|
|
4839
4824
|
];
|
|
4840
4825
|
setTimeout(() => this._updateConnectionLayer());
|
|
4841
4826
|
}
|
|
@@ -4891,24 +4876,24 @@ class DropToGroupFinalizeRequest {
|
|
|
4891
4876
|
}
|
|
4892
4877
|
}
|
|
4893
4878
|
|
|
4879
|
+
const _DEBOUNCE_TIME = 1;
|
|
4894
4880
|
class FNodeDropToGroupDragHandler {
|
|
4895
|
-
|
|
4881
|
+
_containersForDrop;
|
|
4896
4882
|
_store;
|
|
4897
4883
|
fEventType = 'move-node-to-parent';
|
|
4898
|
-
_DEBOUNCE_TIME = 1;
|
|
4899
4884
|
get _transform() {
|
|
4900
4885
|
return this._store.fCanvas.transform;
|
|
4901
4886
|
}
|
|
4902
4887
|
_onPointerDownPosition = PointExtensions.initialize();
|
|
4903
4888
|
_debounceTimer = null;
|
|
4904
4889
|
fNodeWithRect = null;
|
|
4905
|
-
constructor(
|
|
4906
|
-
this.
|
|
4907
|
-
this._store =
|
|
4908
|
-
this._onPointerDownPosition =
|
|
4890
|
+
constructor(injector, _containersForDrop) {
|
|
4891
|
+
this._containersForDrop = _containersForDrop;
|
|
4892
|
+
this._store = injector.get(FComponentsStore);
|
|
4893
|
+
this._onPointerDownPosition = injector.get(FDraggableDataContext).onPointerDownPosition;
|
|
4909
4894
|
}
|
|
4910
4895
|
prepareDragSequence() {
|
|
4911
|
-
this.
|
|
4896
|
+
this._containersForDrop.forEach(({ node }) => {
|
|
4912
4897
|
node.hostElement.classList.add(F_CSS_CLASS.GROUPING.DROP_ACTIVE);
|
|
4913
4898
|
});
|
|
4914
4899
|
}
|
|
@@ -4925,13 +4910,13 @@ class FNodeDropToGroupDragHandler {
|
|
|
4925
4910
|
return Point.fromPoint(this._onPointerDownPosition).add(difference).mult(this._transform.scale);
|
|
4926
4911
|
}
|
|
4927
4912
|
_isNodeInsideAnotherNode(point) {
|
|
4928
|
-
return this.
|
|
4913
|
+
return this._containersForDrop.find((x) => RectExtensions.isIncludePoint(x.rect, point));
|
|
4929
4914
|
}
|
|
4930
4915
|
onPointerMove(difference) {
|
|
4931
4916
|
if (this._debounceTimer) {
|
|
4932
4917
|
clearTimeout(this._debounceTimer);
|
|
4933
4918
|
}
|
|
4934
|
-
this._debounceTimer = setTimeout(() => this._toggleParentNode(difference),
|
|
4919
|
+
this._debounceTimer = setTimeout(() => this._toggleParentNode(difference), _DEBOUNCE_TIME);
|
|
4935
4920
|
}
|
|
4936
4921
|
_markIncludeNode(nodeWithRect) {
|
|
4937
4922
|
this._unmarkIncludeNode();
|
|
@@ -4944,7 +4929,7 @@ class FNodeDropToGroupDragHandler {
|
|
|
4944
4929
|
}
|
|
4945
4930
|
onPointerUp() {
|
|
4946
4931
|
this._unmarkIncludeNode();
|
|
4947
|
-
this.
|
|
4932
|
+
this._containersForDrop.forEach(({ node }) => {
|
|
4948
4933
|
node.hostElement.classList.remove(F_CSS_CLASS.GROUPING.DROP_ACTIVE);
|
|
4949
4934
|
});
|
|
4950
4935
|
if (this._debounceTimer) {
|
|
@@ -4952,12 +4937,7 @@ class FNodeDropToGroupDragHandler {
|
|
|
4952
4937
|
this._debounceTimer = null;
|
|
4953
4938
|
}
|
|
4954
4939
|
}
|
|
4955
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FNodeDropToGroupDragHandler, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
|
|
4956
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: FNodeDropToGroupDragHandler, ngImport: i0 });
|
|
4957
4940
|
}
|
|
4958
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FNodeDropToGroupDragHandler, decorators: [{
|
|
4959
|
-
type: Directive
|
|
4960
|
-
}], ctorParameters: () => [{ type: i0.Injector }, { type: undefined }] });
|
|
4961
4941
|
|
|
4962
4942
|
class BaseConnectionDragHandler {
|
|
4963
4943
|
fConnection;
|
|
@@ -5072,12 +5052,12 @@ class SnapToGrid {
|
|
|
5072
5052
|
}
|
|
5073
5053
|
_cellSizeStrategies = {
|
|
5074
5054
|
0: this._noSnap.bind(this),
|
|
5075
|
-
1: this._snapWithCellSize.bind(this)
|
|
5055
|
+
1: this._snapWithCellSize.bind(this),
|
|
5076
5056
|
};
|
|
5077
5057
|
_snapWithCellSize(difference) {
|
|
5078
5058
|
return {
|
|
5079
5059
|
x: this._snapToGrid(this._onPointerDown.x + difference.x, this._hCellSize) - this._onPointerDown.x,
|
|
5080
|
-
y: this._snapToGrid(this._onPointerDown.y + difference.y, this._vCellSize) - this._onPointerDown.y
|
|
5060
|
+
y: this._snapToGrid(this._onPointerDown.y + difference.y, this._vCellSize) - this._onPointerDown.y,
|
|
5081
5061
|
};
|
|
5082
5062
|
}
|
|
5083
5063
|
_noSnap(difference) {
|
|
@@ -5114,8 +5094,9 @@ class RectConstraint {
|
|
|
5114
5094
|
};
|
|
5115
5095
|
}
|
|
5116
5096
|
_quantizeSigned(v, step) {
|
|
5117
|
-
if (step <= 0 || v === 0)
|
|
5097
|
+
if (step <= 0 || v === 0) {
|
|
5118
5098
|
return 0;
|
|
5099
|
+
}
|
|
5119
5100
|
const k = v / step;
|
|
5120
5101
|
return (v > 0 ? Math.ceil(k) : Math.floor(k)) * step;
|
|
5121
5102
|
}
|
|
@@ -5153,14 +5134,16 @@ class DragConstraintPipeline {
|
|
|
5153
5134
|
|
|
5154
5135
|
function expandRectFromBaseline(boundingRect, overflow, edges) {
|
|
5155
5136
|
let { x, y, width, height } = boundingRect;
|
|
5156
|
-
if (edges.right && overflow.x > 0)
|
|
5137
|
+
if (edges.right && overflow.x > 0) {
|
|
5157
5138
|
width += overflow.x;
|
|
5139
|
+
}
|
|
5158
5140
|
if (edges.left && overflow.x > 0) {
|
|
5159
5141
|
x -= overflow.x;
|
|
5160
5142
|
width += overflow.x;
|
|
5161
5143
|
}
|
|
5162
|
-
if (edges.bottom && overflow.y > 0)
|
|
5144
|
+
if (edges.bottom && overflow.y > 0) {
|
|
5163
5145
|
height += overflow.y;
|
|
5146
|
+
}
|
|
5164
5147
|
if (edges.top && overflow.y > 0) {
|
|
5165
5148
|
y -= overflow.y;
|
|
5166
5149
|
height += overflow.y;
|
|
@@ -5326,7 +5309,7 @@ class CalculateDragLimitsRequest {
|
|
|
5326
5309
|
function infinityMinMax() {
|
|
5327
5310
|
return {
|
|
5328
5311
|
min: { x: -Infinity, y: -Infinity },
|
|
5329
|
-
max: { x: Infinity, y: Infinity }
|
|
5312
|
+
max: { x: Infinity, y: Infinity },
|
|
5330
5313
|
};
|
|
5331
5314
|
}
|
|
5332
5315
|
|
|
@@ -5360,7 +5343,7 @@ let GetNodeBoundingIncludePaddings = class GetNodeBoundingIncludePaddings {
|
|
|
5360
5343
|
}
|
|
5361
5344
|
_rect(nodeOrGroup, childrenPaddings) {
|
|
5362
5345
|
const boundingRect = this._boundingRect(nodeOrGroup);
|
|
5363
|
-
|
|
5346
|
+
const paddings = this._paddings(nodeOrGroup, boundingRect);
|
|
5364
5347
|
paddings[0] += childrenPaddings[0];
|
|
5365
5348
|
paddings[1] += childrenPaddings[1];
|
|
5366
5349
|
paddings[2] += childrenPaddings[2];
|
|
@@ -5420,7 +5403,7 @@ let CalculateDragLimits = class CalculateDragLimits {
|
|
|
5420
5403
|
_calculateDifference(parentRect, currentRect) {
|
|
5421
5404
|
return {
|
|
5422
5405
|
min: this._calculateMinimumDifference(parentRect, currentRect),
|
|
5423
|
-
max: this._calculateMaximumDifference(parentRect, currentRect)
|
|
5406
|
+
max: this._calculateMaximumDifference(parentRect, currentRect),
|
|
5424
5407
|
};
|
|
5425
5408
|
}
|
|
5426
5409
|
_calculateMinimumDifference(parentRect, currentRect) {
|
|
@@ -5465,7 +5448,7 @@ class MoveSummaryDragHandler {
|
|
|
5465
5448
|
this.allDraggedNodeHandlers = allDraggedNodeHandlers;
|
|
5466
5449
|
this.rootHandlers = rootHandlers;
|
|
5467
5450
|
this.fData = {
|
|
5468
|
-
fNodeIds: allDraggedNodeHandlers.map((x) => x.nodeOrGroup.fId())
|
|
5451
|
+
fNodeIds: allDraggedNodeHandlers.map((x) => x.nodeOrGroup.fId()),
|
|
5469
5452
|
};
|
|
5470
5453
|
}
|
|
5471
5454
|
setLineAlignment(handler) {
|
|
@@ -5799,63 +5782,65 @@ class SnapLinesDragHandler {
|
|
|
5799
5782
|
}
|
|
5800
5783
|
|
|
5801
5784
|
class SnapLineElement {
|
|
5802
|
-
|
|
5803
|
-
|
|
5804
|
-
|
|
5805
|
-
this.
|
|
5806
|
-
this.
|
|
5807
|
-
this.hostElement.appendChild(this.element);
|
|
5808
|
-
this.element.classList.add('f-line');
|
|
5785
|
+
_element;
|
|
5786
|
+
constructor(browser, hostElement) {
|
|
5787
|
+
this._element = browser.document.createElement('div');
|
|
5788
|
+
hostElement.appendChild(this._element);
|
|
5789
|
+
this._element.classList.add('f-line');
|
|
5809
5790
|
}
|
|
5810
5791
|
hide() {
|
|
5811
|
-
this.
|
|
5792
|
+
this._element.style.display = 'none';
|
|
5812
5793
|
}
|
|
5813
5794
|
show() {
|
|
5814
|
-
this.
|
|
5795
|
+
this._element.style.display = 'block';
|
|
5815
5796
|
}
|
|
5816
5797
|
draw(object) {
|
|
5817
|
-
this.
|
|
5818
|
-
Object.
|
|
5819
|
-
|
|
5820
|
-
|
|
5821
|
-
|
|
5798
|
+
this._element.style.position = 'absolute';
|
|
5799
|
+
for (const [prop, value] of Object.entries(object)) {
|
|
5800
|
+
if (value != null) {
|
|
5801
|
+
this._element.style.setProperty(prop, `${value}px`);
|
|
5802
|
+
}
|
|
5803
|
+
}
|
|
5804
|
+
//
|
|
5805
|
+
//
|
|
5806
|
+
// Object.keys(object).forEach((key: string) => {
|
|
5807
|
+
// this.element.style[ key ] = object[ key ] + 'px';
|
|
5808
|
+
// });
|
|
5822
5809
|
}
|
|
5823
5810
|
}
|
|
5824
5811
|
|
|
5825
5812
|
class SnapLineService {
|
|
5826
|
-
|
|
5827
|
-
|
|
5828
|
-
|
|
5829
|
-
|
|
5830
|
-
this.
|
|
5831
|
-
this.
|
|
5832
|
-
this.
|
|
5833
|
-
this.fHorizontalLine.hide();
|
|
5834
|
-
this.fVerticalLine.hide();
|
|
5813
|
+
_horizontalLine;
|
|
5814
|
+
_verticalLine;
|
|
5815
|
+
constructor(browser, hostElement) {
|
|
5816
|
+
this._horizontalLine = new SnapLineElement(browser, hostElement);
|
|
5817
|
+
this._verticalLine = new SnapLineElement(browser, hostElement);
|
|
5818
|
+
this._horizontalLine.hide();
|
|
5819
|
+
this._verticalLine.hide();
|
|
5835
5820
|
}
|
|
5836
5821
|
drawVerticalLine(x, size, transform) {
|
|
5837
|
-
this.
|
|
5838
|
-
this.
|
|
5822
|
+
this._verticalLine.show();
|
|
5823
|
+
this._verticalLine.draw({
|
|
5839
5824
|
left: x * transform.scale + transform.position.x + transform.scaledPosition.x,
|
|
5840
5825
|
top: 0,
|
|
5841
5826
|
width: 1,
|
|
5842
|
-
height: size.height
|
|
5827
|
+
height: size.height,
|
|
5843
5828
|
});
|
|
5844
5829
|
}
|
|
5845
5830
|
drawHorizontalLine(y, size, transform) {
|
|
5846
|
-
this.
|
|
5847
|
-
this.
|
|
5831
|
+
this._horizontalLine.show();
|
|
5832
|
+
this._horizontalLine.draw({
|
|
5848
5833
|
left: 0,
|
|
5849
5834
|
top: y * transform.scale + transform.position.y + transform.scaledPosition.y,
|
|
5850
5835
|
width: size.width,
|
|
5851
|
-
height: 1
|
|
5836
|
+
height: 1,
|
|
5852
5837
|
});
|
|
5853
5838
|
}
|
|
5854
5839
|
hideVerticalLine() {
|
|
5855
|
-
this.
|
|
5840
|
+
this._verticalLine.hide();
|
|
5856
5841
|
}
|
|
5857
5842
|
hideHorizontalLine() {
|
|
5858
|
-
this.
|
|
5843
|
+
this._horizontalLine.hide();
|
|
5859
5844
|
}
|
|
5860
5845
|
}
|
|
5861
5846
|
|
|
@@ -5883,20 +5868,20 @@ class FLineAlignmentComponent extends FLineAlignmentBase {
|
|
|
5883
5868
|
}
|
|
5884
5869
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FLineAlignmentComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
5885
5870
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.13", type: FLineAlignmentComponent, selector: "f-line-alignment", inputs: { fAlignThreshold: { classPropertyName: "fAlignThreshold", publicName: "fAlignThreshold", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "f-line-alignment f-component" }, providers: [
|
|
5886
|
-
{ provide: F_LINE_ALIGNMENT, useExisting: FLineAlignmentComponent }
|
|
5871
|
+
{ provide: F_LINE_ALIGNMENT, useExisting: FLineAlignmentComponent },
|
|
5887
5872
|
], exportAs: ["fComponent"], usesInheritance: true, ngImport: i0, template: "", isInline: true, styles: [":host{display:block;position:absolute;left:0;top:0;width:100%;height:100%;overflow:hidden;pointer-events:none;-webkit-user-select:none;user-select:none}\n"] });
|
|
5888
5873
|
}
|
|
5889
5874
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FLineAlignmentComponent, decorators: [{
|
|
5890
5875
|
type: Component,
|
|
5891
5876
|
args: [{ selector: "f-line-alignment", template: "", exportAs: "fComponent", host: {
|
|
5892
|
-
'class': 'f-line-alignment f-component'
|
|
5877
|
+
'class': 'f-line-alignment f-component',
|
|
5893
5878
|
}, providers: [
|
|
5894
|
-
{ provide: F_LINE_ALIGNMENT, useExisting: FLineAlignmentComponent }
|
|
5879
|
+
{ provide: F_LINE_ALIGNMENT, useExisting: FLineAlignmentComponent },
|
|
5895
5880
|
], styles: [":host{display:block;position:absolute;left:0;top:0;width:100%;height:100%;overflow:hidden;pointer-events:none;-webkit-user-select:none;user-select:none}\n"] }]
|
|
5896
5881
|
}] });
|
|
5897
5882
|
|
|
5898
5883
|
const F_LINE_ALIGNMENT_PROVIDERS = [
|
|
5899
|
-
FLineAlignmentComponent
|
|
5884
|
+
FLineAlignmentComponent,
|
|
5900
5885
|
];
|
|
5901
5886
|
|
|
5902
5887
|
let CreateSnapLines = class CreateSnapLines {
|
|
@@ -6220,12 +6205,12 @@ class ExternalRectConstraint {
|
|
|
6220
6205
|
}
|
|
6221
6206
|
_cellSizeStrategies = {
|
|
6222
6207
|
0: this._skipCellSize.bind(this),
|
|
6223
|
-
1: this._applyCellSize.bind(this)
|
|
6208
|
+
1: this._applyCellSize.bind(this),
|
|
6224
6209
|
};
|
|
6225
6210
|
_applyCellSize(difference) {
|
|
6226
6211
|
return {
|
|
6227
6212
|
x: this._snapToGrid(this._onPointerDown.x + difference.x, this._hCellSize) - this._onPointerDown.x,
|
|
6228
|
-
y: this._snapToGrid(this._onPointerDown.y + difference.y, this._vCellSize) - this._onPointerDown.y
|
|
6213
|
+
y: this._snapToGrid(this._onPointerDown.y + difference.y, this._vCellSize) - this._onPointerDown.y,
|
|
6229
6214
|
};
|
|
6230
6215
|
}
|
|
6231
6216
|
_skipCellSize(difference) {
|
|
@@ -6320,7 +6305,7 @@ let FExternalItemCreatePreviewExecution = class FExternalItemCreatePreviewExecut
|
|
|
6320
6305
|
'top': '0',
|
|
6321
6306
|
'left': '0',
|
|
6322
6307
|
'z-index': '1000',
|
|
6323
|
-
}, new Set(['position'
|
|
6308
|
+
}, new Set(['position']));
|
|
6324
6309
|
}
|
|
6325
6310
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FExternalItemCreatePreviewExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6326
6311
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FExternalItemCreatePreviewExecution });
|
|
@@ -6476,29 +6461,28 @@ let FExternalItemFinalizeExecution = class FExternalItemFinalizeExecution {
|
|
|
6476
6461
|
}
|
|
6477
6462
|
_getDestinationNodeOrGroupId() {
|
|
6478
6463
|
const dropToGroupHandler = this._getDropToGroupHandler();
|
|
6479
|
-
|
|
6464
|
+
const result = dropToGroupHandler.fNodeWithRect?.node.fId();
|
|
6480
6465
|
dropToGroupHandler.onPointerUp?.();
|
|
6481
6466
|
return result;
|
|
6482
6467
|
}
|
|
6483
6468
|
_getDropToGroupHandler() {
|
|
6484
|
-
const result = this._dragContext.draggableItems
|
|
6485
|
-
.find((x) => x instanceof FNodeDropToGroupDragHandler);
|
|
6469
|
+
const result = this._dragContext.draggableItems.find((x) => x instanceof FNodeDropToGroupDragHandler);
|
|
6486
6470
|
if (!result) {
|
|
6487
6471
|
throw new Error('NodeDragToParentDragHandler not found');
|
|
6488
6472
|
}
|
|
6489
6473
|
return result;
|
|
6490
6474
|
}
|
|
6491
6475
|
_getElementsFromPoint(position) {
|
|
6492
|
-
return this._fBrowser.document
|
|
6493
|
-
.
|
|
6494
|
-
&& !x.closest('.f-external-item-preview'));
|
|
6476
|
+
return this._fBrowser.document
|
|
6477
|
+
.elementsFromPoint(position.x, position.y)
|
|
6478
|
+
.filter((x) => !x.closest('.f-external-item') && !x.closest('.f-external-item-preview'));
|
|
6495
6479
|
}
|
|
6496
6480
|
_emitEvent(elements, destinationNodeOrGroupId, eventPosition) {
|
|
6497
|
-
if (this.
|
|
6481
|
+
if (this._isPointerInCanvasRect(elements)) {
|
|
6498
6482
|
this._fCreateNode.emit(new FCreateNodeEvent(this._getPreviewRect(), this._fResult.getData().fExternalItem.fData, destinationNodeOrGroupId, destinationNodeOrGroupId ? eventPosition : undefined));
|
|
6499
6483
|
}
|
|
6500
6484
|
}
|
|
6501
|
-
|
|
6485
|
+
_isPointerInCanvasRect(elements) {
|
|
6502
6486
|
return elements.length ? this._fHost.contains(elements[0]) : false;
|
|
6503
6487
|
}
|
|
6504
6488
|
_getPreviewRect() {
|
|
@@ -6543,7 +6527,7 @@ let FExternalItemPreparationExecution = class FExternalItemPreparationExecution
|
|
|
6543
6527
|
this._dragContext.onPointerDownPosition = Point.fromPoint(request.event.getPosition())
|
|
6544
6528
|
.elementTransform(this._fHost).div(this._transform.scale);
|
|
6545
6529
|
this._dragContext.draggableItems = [
|
|
6546
|
-
new FExternalItemDragHandler(this._injector, this._getExternalItem(request.event.targetElement))
|
|
6530
|
+
new FExternalItemDragHandler(this._injector, this._getExternalItem(request.event.targetElement)),
|
|
6547
6531
|
];
|
|
6548
6532
|
}
|
|
6549
6533
|
_isValid(request) {
|
|
@@ -6590,17 +6574,17 @@ let PreventDefaultIsExternalItemExecution = class PreventDefaultIsExternalItemEx
|
|
|
6590
6574
|
}
|
|
6591
6575
|
}
|
|
6592
6576
|
_isTargetItemExternal(event) {
|
|
6593
|
-
|
|
6594
|
-
|
|
6577
|
+
const isTargetItemExternal = this._isExternalItem(event.target);
|
|
6578
|
+
const isTargetParentItemExternal = this._isExternalItem(event.target.parentNode);
|
|
6595
6579
|
return isTargetItemExternal || isTargetParentItemExternal;
|
|
6596
6580
|
}
|
|
6597
6581
|
_isExternalItem(target) {
|
|
6598
6582
|
let result = false;
|
|
6599
6583
|
try {
|
|
6600
6584
|
result = isExternalItem(target);
|
|
6585
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
6601
6586
|
}
|
|
6602
|
-
catch (e) {
|
|
6603
|
-
}
|
|
6587
|
+
catch (e) { }
|
|
6604
6588
|
return result;
|
|
6605
6589
|
}
|
|
6606
6590
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: PreventDefaultIsExternalItemExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
@@ -6635,7 +6619,7 @@ class FExternalItemService {
|
|
|
6635
6619
|
this._items.push(item);
|
|
6636
6620
|
}
|
|
6637
6621
|
getItem(element) {
|
|
6638
|
-
return this._items.find(item => item.hostElement === element);
|
|
6622
|
+
return this._items.find((item) => item.hostElement === element);
|
|
6639
6623
|
}
|
|
6640
6624
|
removeItem(item) {
|
|
6641
6625
|
const index = this._items.indexOf(item);
|
|
@@ -6649,7 +6633,7 @@ class FExternalItemService {
|
|
|
6649
6633
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FExternalItemService, decorators: [{
|
|
6650
6634
|
type: Injectable,
|
|
6651
6635
|
args: [{
|
|
6652
|
-
providedIn: 'root'
|
|
6636
|
+
providedIn: 'root',
|
|
6653
6637
|
}]
|
|
6654
6638
|
}] });
|
|
6655
6639
|
|
|
@@ -6657,48 +6641,41 @@ const F_EXTERNAL_ITEM = new InjectionToken('F_EXTERNAL_ITEM');
|
|
|
6657
6641
|
|
|
6658
6642
|
let uniqueId$3 = 0;
|
|
6659
6643
|
class FExternalItemDirective extends FExternalItemBase {
|
|
6660
|
-
|
|
6661
|
-
|
|
6644
|
+
hostElement = inject(ElementRef).nativeElement;
|
|
6645
|
+
_externalItemService = inject(FExternalItemService);
|
|
6662
6646
|
fExternalItemId = `f-external-item-${uniqueId$3++}`;
|
|
6663
|
-
get hostElement() {
|
|
6664
|
-
return this._elementReference.nativeElement;
|
|
6665
|
-
}
|
|
6666
6647
|
fData;
|
|
6667
6648
|
fDisabled = false;
|
|
6668
6649
|
fPreview;
|
|
6669
6650
|
fPreviewMatchSize = true;
|
|
6670
6651
|
fPlaceholder;
|
|
6671
6652
|
ngOnInit() {
|
|
6672
|
-
this.
|
|
6673
|
-
this.
|
|
6653
|
+
this._externalItemService.registerItem(this);
|
|
6654
|
+
this._disablePointerEvents(Array.from(this.hostElement.children));
|
|
6674
6655
|
}
|
|
6675
|
-
|
|
6656
|
+
_disablePointerEvents(children) {
|
|
6676
6657
|
children.forEach((x) => {
|
|
6677
6658
|
x.style.pointerEvents = 'none';
|
|
6678
|
-
this.
|
|
6659
|
+
this._disablePointerEvents(Array.from(x.children));
|
|
6679
6660
|
});
|
|
6680
6661
|
}
|
|
6681
6662
|
ngOnDestroy() {
|
|
6682
|
-
this.
|
|
6663
|
+
this._externalItemService.removeItem(this);
|
|
6683
6664
|
}
|
|
6684
6665
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FExternalItemDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
6685
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.2.13", type: FExternalItemDirective, isStandalone: true, selector: "[fExternalItem]", inputs: { fExternalItemId: "fExternalItemId", fData: "fData", fDisabled: ["fDisabled", "fDisabled", booleanAttribute], fPreview: "fPreview", fPreviewMatchSize: ["fPreviewMatchSize", "fPreviewMatchSize", booleanAttribute], fPlaceholder: "fPlaceholder" }, host: { properties: { "attr.id": "fExternalItemId", "class.f-external-item-disabled": "fDisabled" }, classAttribute: "f-component f-external-item" }, providers: [
|
|
6686
|
-
{ provide: F_EXTERNAL_ITEM, useExisting: FExternalItemDirective }
|
|
6687
|
-
], usesInheritance: true, ngImport: i0 });
|
|
6666
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.2.13", type: FExternalItemDirective, isStandalone: true, selector: "[fExternalItem]", inputs: { fExternalItemId: "fExternalItemId", fData: "fData", fDisabled: ["fDisabled", "fDisabled", booleanAttribute], fPreview: "fPreview", fPreviewMatchSize: ["fPreviewMatchSize", "fPreviewMatchSize", booleanAttribute], fPlaceholder: "fPlaceholder" }, host: { properties: { "attr.id": "fExternalItemId", "class.f-external-item-disabled": "fDisabled" }, classAttribute: "f-component f-external-item" }, providers: [{ provide: F_EXTERNAL_ITEM, useExisting: FExternalItemDirective }], usesInheritance: true, ngImport: i0 });
|
|
6688
6667
|
}
|
|
6689
6668
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FExternalItemDirective, decorators: [{
|
|
6690
6669
|
type: Directive,
|
|
6691
6670
|
args: [{
|
|
6692
|
-
selector:
|
|
6671
|
+
selector: '[fExternalItem]',
|
|
6693
6672
|
standalone: true,
|
|
6694
6673
|
host: {
|
|
6695
6674
|
'[attr.id]': 'fExternalItemId',
|
|
6696
|
-
class:
|
|
6675
|
+
class: 'f-component f-external-item',
|
|
6697
6676
|
'[class.f-external-item-disabled]': 'fDisabled',
|
|
6698
6677
|
},
|
|
6699
|
-
providers: [
|
|
6700
|
-
{ provide: F_EXTERNAL_ITEM, useExisting: FExternalItemDirective }
|
|
6701
|
-
],
|
|
6678
|
+
providers: [{ provide: F_EXTERNAL_ITEM, useExisting: FExternalItemDirective }],
|
|
6702
6679
|
}]
|
|
6703
6680
|
}], propDecorators: { fExternalItemId: [{
|
|
6704
6681
|
type: Input
|
|
@@ -6731,11 +6708,11 @@ class FExternalItemPlaceholderDirective {
|
|
|
6731
6708
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FExternalItemPlaceholderDirective, decorators: [{
|
|
6732
6709
|
type: Directive,
|
|
6733
6710
|
args: [{
|
|
6734
|
-
selector:
|
|
6711
|
+
selector: 'ng-template[fExternalItemPlaceholder]',
|
|
6735
6712
|
standalone: true,
|
|
6736
6713
|
host: {
|
|
6737
|
-
class:
|
|
6738
|
-
}
|
|
6714
|
+
class: 'f-component f-external-item-placeholder',
|
|
6715
|
+
},
|
|
6739
6716
|
}]
|
|
6740
6717
|
}] });
|
|
6741
6718
|
|
|
@@ -6754,16 +6731,16 @@ class FExternalItemPreviewDirective {
|
|
|
6754
6731
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FExternalItemPreviewDirective, decorators: [{
|
|
6755
6732
|
type: Directive,
|
|
6756
6733
|
args: [{
|
|
6757
|
-
selector:
|
|
6734
|
+
selector: 'ng-template[fExternalItemPreview]',
|
|
6758
6735
|
standalone: true,
|
|
6759
6736
|
host: {
|
|
6760
|
-
class:
|
|
6737
|
+
class: 'f-component f-external-item-preview',
|
|
6761
6738
|
},
|
|
6762
6739
|
}]
|
|
6763
6740
|
}] });
|
|
6764
6741
|
|
|
6765
6742
|
const F_EXTERNAL_ITEM_PROVIDERS = [
|
|
6766
|
-
FExternalItemDirective
|
|
6743
|
+
FExternalItemDirective,
|
|
6767
6744
|
];
|
|
6768
6745
|
|
|
6769
6746
|
class SortContainersForDropByLayerRequest {
|
|
@@ -6781,27 +6758,33 @@ let SortContainersForDropByLayer = class SortContainersForDropByLayer {
|
|
|
6781
6758
|
const elA = a.item.node.hostElement;
|
|
6782
6759
|
const elB = b.item.node.hostElement;
|
|
6783
6760
|
const domOrder = this._domOrder(elA, elB);
|
|
6784
|
-
if (domOrder !== 0)
|
|
6761
|
+
if (domOrder !== 0) {
|
|
6785
6762
|
return -domOrder;
|
|
6763
|
+
}
|
|
6786
6764
|
return a.idx - b.idx;
|
|
6787
6765
|
});
|
|
6788
6766
|
return decorated.map(d => d.item);
|
|
6789
6767
|
}
|
|
6790
6768
|
_domOrder(a, b) {
|
|
6791
|
-
if (a === b)
|
|
6769
|
+
if (a === b) {
|
|
6792
6770
|
return 0;
|
|
6771
|
+
}
|
|
6793
6772
|
const pos = a.compareDocumentPosition(b);
|
|
6794
|
-
if (pos & Node.DOCUMENT_POSITION_FOLLOWING)
|
|
6773
|
+
if (pos & Node.DOCUMENT_POSITION_FOLLOWING) {
|
|
6795
6774
|
return -1;
|
|
6796
|
-
|
|
6775
|
+
}
|
|
6776
|
+
if (pos & Node.DOCUMENT_POSITION_PRECEDING) {
|
|
6797
6777
|
return 1;
|
|
6778
|
+
}
|
|
6798
6779
|
if (pos & Node.DOCUMENT_POSITION_DISCONNECTED) {
|
|
6799
6780
|
const ar = a.getBoundingClientRect?.() ?? { top: 0, left: 0 };
|
|
6800
6781
|
const br = b.getBoundingClientRect?.() ?? { top: 0, left: 0 };
|
|
6801
|
-
if (ar.top !== br.top)
|
|
6782
|
+
if (ar.top !== br.top) {
|
|
6802
6783
|
return ar.top < br.top ? -1 : 1;
|
|
6803
|
-
|
|
6784
|
+
}
|
|
6785
|
+
if (ar.left !== br.left) {
|
|
6804
6786
|
return ar.left < br.left ? -1 : 1;
|
|
6787
|
+
}
|
|
6805
6788
|
return 0;
|
|
6806
6789
|
}
|
|
6807
6790
|
return 0;
|
|
@@ -6905,7 +6888,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
6905
6888
|
const NODE_DROP_TO_GROUP_PROVIDERS = [
|
|
6906
6889
|
SortContainersForDropByLayer,
|
|
6907
6890
|
DropToGroupPreparation,
|
|
6908
|
-
DropToGroupFinalize
|
|
6891
|
+
DropToGroupFinalize,
|
|
6909
6892
|
];
|
|
6910
6893
|
|
|
6911
6894
|
class ApplyChildResizeConstraintsRequest {
|
|
@@ -6920,8 +6903,9 @@ class ApplyChildResizeConstraintsRequest {
|
|
|
6920
6903
|
|
|
6921
6904
|
let ApplyChildResizeConstraints = class ApplyChildResizeConstraints {
|
|
6922
6905
|
handle({ rect, childrenBounds }) {
|
|
6923
|
-
if (!childrenBounds)
|
|
6906
|
+
if (!childrenBounds) {
|
|
6924
6907
|
return;
|
|
6908
|
+
}
|
|
6925
6909
|
this._apply(rect, childrenBounds);
|
|
6926
6910
|
}
|
|
6927
6911
|
_apply(rect, restrictionsRect) {
|
|
@@ -6994,12 +6978,13 @@ let ApplyParentResizeConstraints = class ApplyParentResizeConstraints {
|
|
|
6994
6978
|
// Top–level orchestration
|
|
6995
6979
|
// ──────────────────────────────────────────────────────────────────────────────
|
|
6996
6980
|
_applyResizeConstraints(childRect, limits) {
|
|
6997
|
-
if (!limits)
|
|
6981
|
+
if (!limits) {
|
|
6998
6982
|
return;
|
|
6983
|
+
}
|
|
6999
6984
|
// 1) Clone child rect and pre-clamp it by hard limit (calculation only).
|
|
7000
6985
|
const childForCalc = this._clampedCopyForCalculation(childRect, limits);
|
|
7001
6986
|
// 2) Apply SOFT expansions for all parent limits based on the clamped child.
|
|
7002
|
-
this.
|
|
6987
|
+
this._applySoftParentExpansions(childForCalc, limits.softLimits);
|
|
7003
6988
|
// 3) Final HARD clamp on the real child rect.
|
|
7004
6989
|
if (limits.hardLimit) {
|
|
7005
6990
|
this._clampRectToInner(childRect, limits.hardLimit.innerRect);
|
|
@@ -7020,13 +7005,13 @@ let ApplyParentResizeConstraints = class ApplyParentResizeConstraints {
|
|
|
7020
7005
|
_clampRectToInner(rect, inner) {
|
|
7021
7006
|
// Left
|
|
7022
7007
|
if (rect.x < inner.x) {
|
|
7023
|
-
const diff =
|
|
7008
|
+
const diff = inner.x - rect.x;
|
|
7024
7009
|
rect.x += diff;
|
|
7025
7010
|
rect.width -= diff;
|
|
7026
7011
|
}
|
|
7027
7012
|
// Top
|
|
7028
7013
|
if (rect.y < inner.y) {
|
|
7029
|
-
const diff =
|
|
7014
|
+
const diff = inner.y - rect.y;
|
|
7030
7015
|
rect.y += diff;
|
|
7031
7016
|
rect.height -= diff;
|
|
7032
7017
|
}
|
|
@@ -7048,18 +7033,19 @@ let ApplyParentResizeConstraints = class ApplyParentResizeConstraints {
|
|
|
7048
7033
|
// Soft-limit stage
|
|
7049
7034
|
// ──────────────────────────────────────────────────────────────────────────────
|
|
7050
7035
|
/** Iterates over all soft limits and applies expansion if overflow is detected. */
|
|
7051
|
-
|
|
7052
|
-
if (!softLimits?.length)
|
|
7036
|
+
_applySoftParentExpansions(childForCalc, softLimits) {
|
|
7037
|
+
if (!softLimits?.length) {
|
|
7053
7038
|
return;
|
|
7039
|
+
}
|
|
7054
7040
|
for (const limit of softLimits) {
|
|
7055
|
-
this.
|
|
7041
|
+
this._expandParentFromOriginalIfOverflow(childForCalc, limit);
|
|
7056
7042
|
}
|
|
7057
7043
|
}
|
|
7058
7044
|
/**
|
|
7059
7045
|
* If the child overflows the parent's innerRect, calculate a new parent rect
|
|
7060
7046
|
* based on the original boundingRect and apply it. Otherwise, reset to original.
|
|
7061
7047
|
*/
|
|
7062
|
-
|
|
7048
|
+
_expandParentFromOriginalIfOverflow(child, limit) {
|
|
7063
7049
|
const inner = limit.innerRect; // detector only
|
|
7064
7050
|
const original = limit.boundingRect; // parent's original rect
|
|
7065
7051
|
const overflow = this._computeOverflow(inner, child);
|
|
@@ -7076,10 +7062,10 @@ let ApplyParentResizeConstraints = class ApplyParentResizeConstraints {
|
|
|
7076
7062
|
}
|
|
7077
7063
|
/** Computes overflow values for each side relative to innerRect. */
|
|
7078
7064
|
_computeOverflow(inner, child) {
|
|
7079
|
-
const left = Math.max(0,
|
|
7080
|
-
const top = Math.max(0,
|
|
7081
|
-
const right = Math.max(0,
|
|
7082
|
-
const bottom = Math.max(0,
|
|
7065
|
+
const left = Math.max(0, inner.x - child.x);
|
|
7066
|
+
const top = Math.max(0, inner.y - child.y);
|
|
7067
|
+
const right = Math.max(0, child.x + child.width - (inner.x + inner.width));
|
|
7068
|
+
const bottom = Math.max(0, child.y + child.height - (inner.y + inner.height));
|
|
7083
7069
|
return { left, top, right, bottom };
|
|
7084
7070
|
}
|
|
7085
7071
|
/** Builds new parent rect from original rect and overflow values. */
|
|
@@ -7247,7 +7233,7 @@ let CalculateResizeLimits = class CalculateResizeLimits {
|
|
|
7247
7233
|
return {
|
|
7248
7234
|
limits: this._buildSoftHardLimits(parents),
|
|
7249
7235
|
childrenBounds: this._getNormalizedChildrenBounds(nodeOrGroup, paddings),
|
|
7250
|
-
minimumSize: SizeExtensions.initialize(paddings[0] + paddings[2], paddings[1] + paddings[3])
|
|
7236
|
+
minimumSize: SizeExtensions.initialize(paddings[0] + paddings[2], paddings[1] + paddings[3]),
|
|
7251
7237
|
};
|
|
7252
7238
|
}
|
|
7253
7239
|
_calculateNodePaddings(nodeOrGroup, rect) {
|
|
@@ -7365,7 +7351,7 @@ class NodeResizeDragHandler {
|
|
|
7365
7351
|
|
|
7366
7352
|
let NodeResizeFinalize = class NodeResizeFinalize {
|
|
7367
7353
|
_dragContext = inject(FDraggableDataContext);
|
|
7368
|
-
handle(
|
|
7354
|
+
handle(_request) {
|
|
7369
7355
|
if (!this._isNodeResizeHandler()) {
|
|
7370
7356
|
return;
|
|
7371
7357
|
}
|
|
@@ -7415,7 +7401,7 @@ let NodeResizePreparation = class NodeResizePreparation {
|
|
|
7415
7401
|
this._dragContext.onPointerDownPosition = Point.fromPoint(request.event.getPosition())
|
|
7416
7402
|
.elementTransform(this._fHost).div(this._transform.scale);
|
|
7417
7403
|
this._dragContext.draggableItems = [
|
|
7418
|
-
new NodeResizeDragHandler(this._injector, this._nodeOrGroup, EFResizeHandleType[this._getHandleType(request.event.targetElement)])
|
|
7404
|
+
new NodeResizeDragHandler(this._injector, this._nodeOrGroup, EFResizeHandleType[this._getHandleType(request.event.targetElement)]),
|
|
7419
7405
|
];
|
|
7420
7406
|
}
|
|
7421
7407
|
_isValid(request) {
|
|
@@ -7494,7 +7480,7 @@ class FNodeRotateDragHandler {
|
|
|
7494
7480
|
_fSourceHandlers;
|
|
7495
7481
|
_fTargetHandlers;
|
|
7496
7482
|
_store;
|
|
7497
|
-
|
|
7483
|
+
_mediator;
|
|
7498
7484
|
_dragContext;
|
|
7499
7485
|
fEventType = 'node-rotate';
|
|
7500
7486
|
fData;
|
|
@@ -7514,7 +7500,7 @@ class FNodeRotateDragHandler {
|
|
|
7514
7500
|
fNodeId: _fNode.fId(),
|
|
7515
7501
|
};
|
|
7516
7502
|
this._store = _injector.get(FComponentsStore);
|
|
7517
|
-
this.
|
|
7503
|
+
this._mediator = _injector.get(FMediator);
|
|
7518
7504
|
this._dragContext = _injector.get(FDraggableDataContext);
|
|
7519
7505
|
}
|
|
7520
7506
|
prepareDragSequence() {
|
|
@@ -7523,7 +7509,7 @@ class FNodeRotateDragHandler {
|
|
|
7523
7509
|
this._initialRotationToX = this._calculateAngleBetweenVectors(this._onDownPoint) - this._startRotation;
|
|
7524
7510
|
}
|
|
7525
7511
|
_getOriginalNodeRect() {
|
|
7526
|
-
return this.
|
|
7512
|
+
return this._mediator.execute(new GetNormalizedElementRectRequest(this._fNode.hostElement));
|
|
7527
7513
|
}
|
|
7528
7514
|
_calculateDownPoint() {
|
|
7529
7515
|
return PointExtensions.sub(this._dragContext.onPointerDownPosition, PointExtensions.sum(this._transform.position, this._transform.scaledPosition));
|
|
@@ -7555,17 +7541,18 @@ class FNodeRotateDragHandler {
|
|
|
7555
7541
|
}
|
|
7556
7542
|
|
|
7557
7543
|
let FNodeRotateFinalizeExecution = class FNodeRotateFinalizeExecution {
|
|
7558
|
-
|
|
7544
|
+
_draggableDataContext = inject(FDraggableDataContext);
|
|
7545
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
7559
7546
|
handle(request) {
|
|
7560
7547
|
if (!this._isValid()) {
|
|
7561
7548
|
return;
|
|
7562
7549
|
}
|
|
7563
|
-
this.
|
|
7550
|
+
this._draggableDataContext.draggableItems.forEach((x) => {
|
|
7564
7551
|
x.onPointerUp?.();
|
|
7565
7552
|
});
|
|
7566
7553
|
}
|
|
7567
7554
|
_isValid() {
|
|
7568
|
-
return this.
|
|
7555
|
+
return this._draggableDataContext.draggableItems.some((x) => x instanceof FNodeRotateDragHandler);
|
|
7569
7556
|
}
|
|
7570
7557
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FNodeRotateFinalizeExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7571
7558
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FNodeRotateFinalizeExecution });
|
|
@@ -7608,7 +7595,7 @@ let FNodeRotatePreparationExecution = class FNodeRotatePreparationExecution {
|
|
|
7608
7595
|
this._dragContext.onPointerDownPosition = Point.fromPoint(request.event.getPosition())
|
|
7609
7596
|
.elementTransform(this._fHost).div(this._transform.scale);
|
|
7610
7597
|
this._dragContext.draggableItems = [
|
|
7611
|
-
new FNodeRotateDragHandler(this._injector, this._fNode, this._calculateOutputConnectionsDragHandlers(), this._calculateInputConnectionsDragHandlers())
|
|
7598
|
+
new FNodeRotateDragHandler(this._injector, this._fNode, this._calculateOutputConnectionsDragHandlers(), this._calculateInputConnectionsDragHandlers()),
|
|
7612
7599
|
];
|
|
7613
7600
|
}
|
|
7614
7601
|
_isValid(request) {
|
|
@@ -7635,7 +7622,7 @@ let FNodeRotatePreparationExecution = class FNodeRotatePreparationExecution {
|
|
|
7635
7622
|
const connector = this._store.fInputs.find((y) => y.fId === x.fInputId).hostElement;
|
|
7636
7623
|
return {
|
|
7637
7624
|
connection: new TargetConnectionDragHandler(this._injector, x),
|
|
7638
|
-
connector: this._fMediator.execute(new GetNormalizedElementRectRequest(connector)).gravityCenter
|
|
7625
|
+
connector: this._fMediator.execute(new GetNormalizedElementRectRequest(connector)).gravityCenter,
|
|
7639
7626
|
};
|
|
7640
7627
|
});
|
|
7641
7628
|
}
|
|
@@ -7644,7 +7631,7 @@ let FNodeRotatePreparationExecution = class FNodeRotatePreparationExecution {
|
|
|
7644
7631
|
const connector = this._store.fOutputs.find((y) => y.fId === x.fOutputId).hostElement;
|
|
7645
7632
|
return {
|
|
7646
7633
|
connection: new SourceConnectionDragHandler(this._injector, x),
|
|
7647
|
-
connector: this._fMediator.execute(new GetNormalizedElementRectRequest(connector)).gravityCenter
|
|
7634
|
+
connector: this._fMediator.execute(new GetNormalizedElementRectRequest(connector)).gravityCenter,
|
|
7648
7635
|
};
|
|
7649
7636
|
});
|
|
7650
7637
|
}
|
|
@@ -7815,7 +7802,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
7815
7802
|
selector: "[fDragBlocker]",
|
|
7816
7803
|
host: {
|
|
7817
7804
|
class: `f-drag-blocker`,
|
|
7818
|
-
}
|
|
7805
|
+
},
|
|
7819
7806
|
}]
|
|
7820
7807
|
}] });
|
|
7821
7808
|
|
|
@@ -7988,7 +7975,7 @@ class DragAndDropBase {
|
|
|
7988
7975
|
return;
|
|
7989
7976
|
}
|
|
7990
7977
|
this.pointerDownElement = mouseEvent.targetElement;
|
|
7991
|
-
|
|
7978
|
+
const result = this.onPointerDown(mouseEvent);
|
|
7992
7979
|
if (result) {
|
|
7993
7980
|
this.dragStartTime = Date.now();
|
|
7994
7981
|
this.dragStartPosition = mouseEvent.getPosition();
|
|
@@ -8021,7 +8008,7 @@ class DragAndDropBase {
|
|
|
8021
8008
|
return;
|
|
8022
8009
|
}
|
|
8023
8010
|
this.pointerDownElement = touchEvent.targetElement;
|
|
8024
|
-
|
|
8011
|
+
const result = this.onPointerDown(touchEvent);
|
|
8025
8012
|
if (result) {
|
|
8026
8013
|
this.dragStartTime = Date.now();
|
|
8027
8014
|
this.dragStartPosition = touchEvent.getPosition();
|
|
@@ -8172,12 +8159,7 @@ class FDraggableBase extends DragAndDropBase {
|
|
|
8172
8159
|
constructor(ngZone) {
|
|
8173
8160
|
super(ngZone);
|
|
8174
8161
|
}
|
|
8175
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FDraggableBase, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
|
|
8176
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: FDraggableBase, usesInheritance: true, ngImport: i0 });
|
|
8177
8162
|
}
|
|
8178
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FDraggableBase, decorators: [{
|
|
8179
|
-
type: Directive
|
|
8180
|
-
}], ctorParameters: () => [{ type: undefined }] });
|
|
8181
8163
|
|
|
8182
8164
|
const F_BEFORE_MAIN_PLUGIN = new InjectionToken('F_BEFORE_MAIN_PLUGIN');
|
|
8183
8165
|
const F_AFTER_MAIN_PLUGIN = new InjectionToken('F_AFTER_MAIN_PLUGIN');
|
|
@@ -8238,17 +8220,17 @@ function isDragBlocker(element) {
|
|
|
8238
8220
|
// │ To Start │
|
|
8239
8221
|
// └──────────────────────────────────────┘
|
|
8240
8222
|
class FDraggableDirective extends FDraggableBase {
|
|
8241
|
-
_fBrowser;
|
|
8242
8223
|
_elementReference = inject(ElementRef);
|
|
8243
8224
|
_fResult = inject(FDragHandlerResult);
|
|
8244
8225
|
_mediator = inject(FMediator);
|
|
8245
8226
|
_platform = inject(PlatformService);
|
|
8227
|
+
_browser = inject(BrowserService);
|
|
8246
8228
|
disabled = false;
|
|
8247
8229
|
get hostElement() {
|
|
8248
8230
|
return this._elementReference.nativeElement;
|
|
8249
8231
|
}
|
|
8250
8232
|
fMultiSelectTrigger = (event) => {
|
|
8251
|
-
return
|
|
8233
|
+
return this._platform.getOS() === EOperationSystem.MAC_OS ? event.metaKey : event.ctrlKey;
|
|
8252
8234
|
};
|
|
8253
8235
|
fReassignConnectionTrigger = defaultEventTrigger;
|
|
8254
8236
|
fCreateConnectionTrigger = defaultEventTrigger;
|
|
@@ -8270,32 +8252,39 @@ class FDraggableDirective extends FDraggableBase {
|
|
|
8270
8252
|
* This value is used to snap nodes to a vertical grid while dragging.
|
|
8271
8253
|
* The default value is `1`, which means that nodes will snap to every pixel vertically.
|
|
8272
8254
|
*/
|
|
8273
|
-
vCellSize = input(1, {
|
|
8255
|
+
vCellSize = input(1, {
|
|
8256
|
+
transform: (value) => numberAttribute(value, 1),
|
|
8257
|
+
});
|
|
8274
8258
|
/**
|
|
8275
8259
|
* Defines the horizontal cell size for the grid.
|
|
8276
8260
|
* This value is used to snap nodes to a horizontal grid while dragging.
|
|
8277
8261
|
* The default value is `1`, which means that nodes will snap to every pixel horizontally.
|
|
8278
8262
|
*/
|
|
8279
|
-
hCellSize = input(1, {
|
|
8263
|
+
hCellSize = input(1, {
|
|
8264
|
+
transform: (value) => numberAttribute(value, 1),
|
|
8265
|
+
});
|
|
8280
8266
|
/**
|
|
8281
8267
|
* Defines whether the cell size should be applied while dragging.
|
|
8282
8268
|
* If set to `true`, the dragged nodes will snap to the grid defined by `vCellSize` and `hCellSize`.
|
|
8283
8269
|
* If set to `false`, the nodes will move freely without snapping to the grid.
|
|
8284
8270
|
*/
|
|
8285
|
-
fCellSizeWhileDragging = input(false, {
|
|
8271
|
+
fCellSizeWhileDragging = input(false, {
|
|
8272
|
+
transform: (value) => booleanAttribute(value),
|
|
8273
|
+
});
|
|
8286
8274
|
fDragStarted = new EventEmitter();
|
|
8287
8275
|
fDragEnded = new EventEmitter();
|
|
8288
8276
|
_beforePlugins;
|
|
8289
8277
|
_afterPlugins;
|
|
8290
|
-
constructor(
|
|
8278
|
+
constructor(
|
|
8279
|
+
// eslint-disable-next-line @angular-eslint/prefer-inject
|
|
8280
|
+
ngZone) {
|
|
8291
8281
|
super(ngZone);
|
|
8292
|
-
this._fBrowser = _fBrowser;
|
|
8293
8282
|
}
|
|
8294
8283
|
ngOnInit() {
|
|
8295
8284
|
this._mediator.execute(new AddDndToStoreRequest(this));
|
|
8296
8285
|
}
|
|
8297
8286
|
ngAfterViewInit() {
|
|
8298
|
-
super.subscribe(this.
|
|
8287
|
+
super.subscribe(this._browser.document);
|
|
8299
8288
|
}
|
|
8300
8289
|
onPointerDown(event) {
|
|
8301
8290
|
if (isDragBlocker(event.targetElement)) {
|
|
@@ -8352,22 +8341,22 @@ class FDraggableDirective extends FDraggableBase {
|
|
|
8352
8341
|
this._mediator.execute(new RemoveDndFromStoreRequest());
|
|
8353
8342
|
super.unsubscribe();
|
|
8354
8343
|
}
|
|
8355
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FDraggableDirective, deps: [{ token: NgZone, optional: true }
|
|
8344
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FDraggableDirective, deps: [{ token: NgZone, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
8356
8345
|
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.2.13", type: FDraggableDirective, selector: "f-flow[fDraggable]", inputs: { disabled: { classPropertyName: "disabled", publicName: "fDraggableDisabled", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, fMultiSelectTrigger: { classPropertyName: "fMultiSelectTrigger", publicName: "fMultiSelectTrigger", isSignal: false, isRequired: false, transformFunction: null }, fReassignConnectionTrigger: { classPropertyName: "fReassignConnectionTrigger", publicName: "fReassignConnectionTrigger", isSignal: false, isRequired: false, transformFunction: null }, fCreateConnectionTrigger: { classPropertyName: "fCreateConnectionTrigger", publicName: "fCreateConnectionTrigger", isSignal: false, isRequired: false, transformFunction: null }, fNodeResizeTrigger: { classPropertyName: "fNodeResizeTrigger", publicName: "fNodeResizeTrigger", isSignal: false, isRequired: false, transformFunction: null }, fNodeRotateTrigger: { classPropertyName: "fNodeRotateTrigger", publicName: "fNodeRotateTrigger", isSignal: false, isRequired: false, transformFunction: null }, fNodeMoveTrigger: { classPropertyName: "fNodeMoveTrigger", publicName: "fNodeMoveTrigger", isSignal: false, isRequired: false, transformFunction: null }, fCanvasMoveTrigger: { classPropertyName: "fCanvasMoveTrigger", publicName: "fCanvasMoveTrigger", isSignal: false, isRequired: false, transformFunction: null }, fExternalItemTrigger: { classPropertyName: "fExternalItemTrigger", publicName: "fExternalItemTrigger", isSignal: false, isRequired: false, transformFunction: null }, fEmitOnNodeIntersect: { classPropertyName: "fEmitOnNodeIntersect", publicName: "fEmitOnNodeIntersect", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, vCellSize: { classPropertyName: "vCellSize", publicName: "vCellSize", isSignal: true, isRequired: false, transformFunction: null }, hCellSize: { classPropertyName: "hCellSize", publicName: "hCellSize", isSignal: true, isRequired: false, transformFunction: null }, fCellSizeWhileDragging: { classPropertyName: "fCellSizeWhileDragging", publicName: "fCellSizeWhileDragging", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { fSelectionChange: "fSelectionChange", fNodeIntersectedWithConnections: "fNodeIntersectedWithConnections", fCreateNode: "fCreateNode", fMoveNodes: "fMoveNodes", fReassignConnection: "fReassignConnection", fCreateConnection: "fCreateConnection", fDropToGroup: "fDropToGroup", fDragStarted: "fDragStarted", fDragEnded: "fDragEnded" }, providers: [FDragHandlerResult], queries: [{ propertyName: "_beforePlugins", predicate: F_BEFORE_MAIN_PLUGIN, descendants: true }, { propertyName: "_afterPlugins", predicate: F_AFTER_MAIN_PLUGIN, descendants: true }], exportAs: ["fDraggable"], usesInheritance: true, ngImport: i0 });
|
|
8357
8346
|
}
|
|
8358
8347
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FDraggableDirective, decorators: [{
|
|
8359
8348
|
type: Directive,
|
|
8360
8349
|
args: [{
|
|
8361
|
-
selector:
|
|
8350
|
+
selector: 'f-flow[fDraggable]',
|
|
8362
8351
|
exportAs: 'fDraggable',
|
|
8363
|
-
providers: [FDragHandlerResult]
|
|
8352
|
+
providers: [FDragHandlerResult],
|
|
8364
8353
|
}]
|
|
8365
8354
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
8366
8355
|
type: Inject,
|
|
8367
8356
|
args: [NgZone]
|
|
8368
8357
|
}, {
|
|
8369
8358
|
type: Optional
|
|
8370
|
-
}] }
|
|
8359
|
+
}] }], propDecorators: { disabled: [{
|
|
8371
8360
|
type: Input,
|
|
8372
8361
|
args: [{ transform: booleanAttribute, alias: 'fDraggableDisabled' }]
|
|
8373
8362
|
}], fMultiSelectTrigger: [{
|
|
@@ -8451,31 +8440,27 @@ class CalculateFlowPointFromMinimapPointRequest {
|
|
|
8451
8440
|
}
|
|
8452
8441
|
|
|
8453
8442
|
let CalculateFlowPointFromMinimapPointExecution = class CalculateFlowPointFromMinimapPointExecution {
|
|
8454
|
-
|
|
8455
|
-
get
|
|
8456
|
-
return this.
|
|
8457
|
-
}
|
|
8458
|
-
constructor(fComponentsStore) {
|
|
8459
|
-
this.fComponentsStore = fComponentsStore;
|
|
8443
|
+
_store = inject(FComponentsStore);
|
|
8444
|
+
get _canvasScale() {
|
|
8445
|
+
return this._store.fCanvas?.transform.scale || 1;
|
|
8460
8446
|
}
|
|
8461
8447
|
handle(payload) {
|
|
8462
|
-
return PointExtensions.sub(payload.canvasPosition, PointExtensions.sub(this.
|
|
8448
|
+
return PointExtensions.sub(payload.canvasPosition, PointExtensions.sub(this._getPositionInViewBox(payload.eventPoint, payload.minimap), this._getNormalizedFlowCenter(payload.flowRect)));
|
|
8463
8449
|
}
|
|
8464
|
-
|
|
8450
|
+
_getNormalizedFlowCenter(flowRect) {
|
|
8465
8451
|
return Point.fromPoint(flowRect.gravityCenter).sub(flowRect);
|
|
8466
8452
|
}
|
|
8467
|
-
|
|
8453
|
+
_getPositionInViewBox(eventPoint, minimap) {
|
|
8468
8454
|
const eventPointInFlow = this.normalizeEventPoint(eventPoint, minimap);
|
|
8469
|
-
return PointExtensions.sum(eventPointInFlow, RectExtensions.mult(minimap.viewBox, this.
|
|
8455
|
+
return PointExtensions.sum(eventPointInFlow, RectExtensions.mult(minimap.viewBox, this._canvasScale));
|
|
8470
8456
|
}
|
|
8471
8457
|
normalizeEventPoint(point, minimap) {
|
|
8472
|
-
return this.
|
|
8473
|
-
.mult(minimap.scale).mult(this.canvasScale);
|
|
8458
|
+
return this._getEventPointInMinimap(point, minimap).mult(minimap.scale).mult(this._canvasScale);
|
|
8474
8459
|
}
|
|
8475
|
-
|
|
8460
|
+
_getEventPointInMinimap(eventPoint, minimap) {
|
|
8476
8461
|
return Point.fromPoint(eventPoint).elementTransform(minimap.element);
|
|
8477
8462
|
}
|
|
8478
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CalculateFlowPointFromMinimapPointExecution, deps: [
|
|
8463
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CalculateFlowPointFromMinimapPointExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8479
8464
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CalculateFlowPointFromMinimapPointExecution });
|
|
8480
8465
|
};
|
|
8481
8466
|
CalculateFlowPointFromMinimapPointExecution = __decorate([
|
|
@@ -8483,87 +8468,82 @@ CalculateFlowPointFromMinimapPointExecution = __decorate([
|
|
|
8483
8468
|
], CalculateFlowPointFromMinimapPointExecution);
|
|
8484
8469
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CalculateFlowPointFromMinimapPointExecution, decorators: [{
|
|
8485
8470
|
type: Injectable
|
|
8486
|
-
}]
|
|
8471
|
+
}] });
|
|
8487
8472
|
|
|
8488
8473
|
class FMinimapDragHandler {
|
|
8489
|
-
|
|
8490
|
-
|
|
8491
|
-
|
|
8492
|
-
|
|
8493
|
-
|
|
8494
|
-
|
|
8474
|
+
_store;
|
|
8475
|
+
_mediator;
|
|
8476
|
+
_flowRect;
|
|
8477
|
+
_canvasPosition;
|
|
8478
|
+
_eventPoint;
|
|
8479
|
+
_minimap;
|
|
8495
8480
|
fEventType = 'minimap';
|
|
8496
|
-
|
|
8497
|
-
constructor(
|
|
8498
|
-
this.
|
|
8499
|
-
this.
|
|
8500
|
-
this.
|
|
8501
|
-
this.
|
|
8502
|
-
this.
|
|
8503
|
-
this.
|
|
8481
|
+
_lastDifference = null;
|
|
8482
|
+
constructor(_store, _mediator, _flowRect, _canvasPosition, _eventPoint, _minimap) {
|
|
8483
|
+
this._store = _store;
|
|
8484
|
+
this._mediator = _mediator;
|
|
8485
|
+
this._flowRect = _flowRect;
|
|
8486
|
+
this._canvasPosition = _canvasPosition;
|
|
8487
|
+
this._eventPoint = _eventPoint;
|
|
8488
|
+
this._minimap = _minimap;
|
|
8504
8489
|
}
|
|
8505
8490
|
prepareDragSequence() {
|
|
8506
|
-
this.
|
|
8491
|
+
this._store.fCanvas?.hostElement.classList.add('f-scaled-animate');
|
|
8507
8492
|
}
|
|
8508
8493
|
onPointerMove(difference) {
|
|
8509
|
-
if (this.
|
|
8494
|
+
if (this._lastDifference && this._isSamePoint(difference, this._lastDifference)) {
|
|
8510
8495
|
return;
|
|
8511
8496
|
}
|
|
8512
|
-
this.
|
|
8513
|
-
this.
|
|
8514
|
-
this.
|
|
8497
|
+
this._lastDifference = difference;
|
|
8498
|
+
this._store.fCanvas?.setPosition(this._getNewPosition(Point.fromPoint(this._eventPoint).add(difference)));
|
|
8499
|
+
this._store.fCanvas?.redraw();
|
|
8515
8500
|
}
|
|
8516
|
-
|
|
8501
|
+
_isSamePoint(point1, point2) {
|
|
8517
8502
|
return point1.x === point2.x && point1.y === point2.y;
|
|
8518
8503
|
}
|
|
8519
|
-
|
|
8520
|
-
return this.
|
|
8504
|
+
_getNewPosition(eventPoint) {
|
|
8505
|
+
return this._mediator.execute(new CalculateFlowPointFromMinimapPointRequest(this._flowRect, this._canvasPosition, eventPoint, this._minimap));
|
|
8521
8506
|
}
|
|
8522
8507
|
onPointerUp() {
|
|
8523
|
-
this.
|
|
8524
|
-
this.
|
|
8508
|
+
this._store.fCanvas?.hostElement.classList.remove('f-scaled-animate');
|
|
8509
|
+
this._store.fCanvas?.emitCanvasChangeEvent();
|
|
8525
8510
|
}
|
|
8526
8511
|
}
|
|
8527
8512
|
|
|
8528
8513
|
let MinimapDragPreparationExecution = class MinimapDragPreparationExecution {
|
|
8529
|
-
|
|
8530
|
-
|
|
8531
|
-
|
|
8532
|
-
get
|
|
8533
|
-
return this.
|
|
8534
|
-
}
|
|
8535
|
-
constructor(fComponentsStore, fMediator, fDraggableDataContext) {
|
|
8536
|
-
this.fComponentsStore = fComponentsStore;
|
|
8537
|
-
this.fMediator = fMediator;
|
|
8538
|
-
this.fDraggableDataContext = fDraggableDataContext;
|
|
8514
|
+
_store = inject(FComponentsStore);
|
|
8515
|
+
_mediator = inject(FMediator);
|
|
8516
|
+
_draggableDataContext = inject(FDraggableDataContext);
|
|
8517
|
+
get _flowHost() {
|
|
8518
|
+
return this._store.fFlow.hostElement;
|
|
8539
8519
|
}
|
|
8540
8520
|
handle(request) {
|
|
8541
8521
|
if (!this._isValid(request)) {
|
|
8542
8522
|
return;
|
|
8543
8523
|
}
|
|
8544
8524
|
const eventPoint = request.event.getPosition();
|
|
8545
|
-
const startCanvasPosition = Point.fromPoint(this.
|
|
8546
|
-
this.
|
|
8547
|
-
this.
|
|
8548
|
-
this.
|
|
8549
|
-
this.
|
|
8550
|
-
this.
|
|
8551
|
-
this.
|
|
8552
|
-
new FMinimapDragHandler(this.
|
|
8525
|
+
const startCanvasPosition = Point.fromPoint(this._store.fCanvas.transform.position);
|
|
8526
|
+
this._store.fCanvas.setPosition(this._getNewPosition(eventPoint, request.minimap));
|
|
8527
|
+
this._store.fCanvas.redraw();
|
|
8528
|
+
this._store.fCanvas.emitCanvasChangeEvent();
|
|
8529
|
+
this._draggableDataContext.onPointerDownScale = 1;
|
|
8530
|
+
this._draggableDataContext.onPointerDownPosition = Point.fromPoint(eventPoint).elementTransform(this._flowHost);
|
|
8531
|
+
this._draggableDataContext.draggableItems = [
|
|
8532
|
+
new FMinimapDragHandler(this._store, this._mediator, this._getFlowRect(), startCanvasPosition, eventPoint, request.minimap),
|
|
8553
8533
|
];
|
|
8554
8534
|
}
|
|
8555
8535
|
_isValid(request) {
|
|
8556
|
-
return !this.
|
|
8536
|
+
return (!this._draggableDataContext.draggableItems.length &&
|
|
8557
8537
|
!!request.event.targetElement.closest('.f-minimap') &&
|
|
8558
|
-
this.
|
|
8538
|
+
this._store.flowHost.contains(request.event.targetElement));
|
|
8559
8539
|
}
|
|
8560
|
-
|
|
8561
|
-
return this.
|
|
8540
|
+
_getNewPosition(eventPoint, minimap) {
|
|
8541
|
+
return this._mediator.execute(new CalculateFlowPointFromMinimapPointRequest(this._getFlowRect(), Point.fromPoint(this._store.fCanvas.transform.position), eventPoint, minimap));
|
|
8562
8542
|
}
|
|
8563
|
-
|
|
8564
|
-
return RectExtensions.fromElement(this.
|
|
8543
|
+
_getFlowRect() {
|
|
8544
|
+
return RectExtensions.fromElement(this._flowHost);
|
|
8565
8545
|
}
|
|
8566
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MinimapDragPreparationExecution, deps: [
|
|
8546
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MinimapDragPreparationExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8567
8547
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MinimapDragPreparationExecution });
|
|
8568
8548
|
};
|
|
8569
8549
|
MinimapDragPreparationExecution = __decorate([
|
|
@@ -8571,7 +8551,7 @@ MinimapDragPreparationExecution = __decorate([
|
|
|
8571
8551
|
], MinimapDragPreparationExecution);
|
|
8572
8552
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MinimapDragPreparationExecution, decorators: [{
|
|
8573
8553
|
type: Injectable
|
|
8574
|
-
}]
|
|
8554
|
+
}] });
|
|
8575
8555
|
|
|
8576
8556
|
const MINIMAP_DRAG_PREPARATION_PROVIDERS = [
|
|
8577
8557
|
MinimapDragPreparationExecution,
|
|
@@ -8586,22 +8566,20 @@ class MinimapDragFinalizeRequest {
|
|
|
8586
8566
|
}
|
|
8587
8567
|
|
|
8588
8568
|
let MinimapDragFinalizeExecution = class MinimapDragFinalizeExecution {
|
|
8589
|
-
|
|
8590
|
-
|
|
8591
|
-
this.fDraggableDataContext = fDraggableDataContext;
|
|
8592
|
-
}
|
|
8569
|
+
_draggableDataContext = inject(FDraggableDataContext);
|
|
8570
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
8593
8571
|
handle(request) {
|
|
8594
8572
|
if (!this._isValid()) {
|
|
8595
8573
|
return;
|
|
8596
8574
|
}
|
|
8597
|
-
this.
|
|
8575
|
+
this._draggableDataContext.draggableItems.forEach((x) => {
|
|
8598
8576
|
x.onPointerUp?.();
|
|
8599
8577
|
});
|
|
8600
8578
|
}
|
|
8601
8579
|
_isValid() {
|
|
8602
|
-
return this.
|
|
8580
|
+
return this._draggableDataContext.draggableItems.some((x) => x instanceof FMinimapDragHandler);
|
|
8603
8581
|
}
|
|
8604
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MinimapDragFinalizeExecution, deps: [
|
|
8582
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MinimapDragFinalizeExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8605
8583
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MinimapDragFinalizeExecution });
|
|
8606
8584
|
};
|
|
8607
8585
|
MinimapDragFinalizeExecution = __decorate([
|
|
@@ -8609,7 +8587,7 @@ MinimapDragFinalizeExecution = __decorate([
|
|
|
8609
8587
|
], MinimapDragFinalizeExecution);
|
|
8610
8588
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MinimapDragFinalizeExecution, decorators: [{
|
|
8611
8589
|
type: Injectable
|
|
8612
|
-
}]
|
|
8590
|
+
}] });
|
|
8613
8591
|
|
|
8614
8592
|
const MINIMAP_DRAG_FINALIZE_PROVIDERS = [
|
|
8615
8593
|
MinimapDragFinalizeExecution,
|
|
@@ -8634,6 +8612,7 @@ let MinimapDrawNodesExecution = class MinimapDrawNodesExecution {
|
|
|
8634
8612
|
handle(request) {
|
|
8635
8613
|
return this._createMinimapNodeElements(request);
|
|
8636
8614
|
}
|
|
8615
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
8637
8616
|
_createMinimapNodeElements(request) {
|
|
8638
8617
|
return this._fNodes.map((x) => {
|
|
8639
8618
|
const element = this._createNodeElement();
|
|
@@ -8682,15 +8661,16 @@ class MinimapCalculateViewBoxRequest {
|
|
|
8682
8661
|
}
|
|
8683
8662
|
|
|
8684
8663
|
let MinimapCalculateViewBoxExecution = class MinimapCalculateViewBoxExecution {
|
|
8685
|
-
|
|
8686
|
-
get
|
|
8687
|
-
return this.
|
|
8664
|
+
_store = inject(FComponentsStore);
|
|
8665
|
+
get _flowComponent() {
|
|
8666
|
+
return this._store.fFlow;
|
|
8688
8667
|
}
|
|
8689
|
-
get
|
|
8690
|
-
return this.
|
|
8668
|
+
get _canvasComponent() {
|
|
8669
|
+
return this._store.fCanvas;
|
|
8691
8670
|
}
|
|
8671
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
8692
8672
|
handle(request) {
|
|
8693
|
-
if (!this.
|
|
8673
|
+
if (!this._flowComponent || !this._canvasComponent) {
|
|
8694
8674
|
return RectExtensions.initialize();
|
|
8695
8675
|
}
|
|
8696
8676
|
return this._getRectForMinimapView();
|
|
@@ -8702,7 +8682,7 @@ let MinimapCalculateViewBoxExecution = class MinimapCalculateViewBoxExecution {
|
|
|
8702
8682
|
return result;
|
|
8703
8683
|
}
|
|
8704
8684
|
_calculateViewBox() {
|
|
8705
|
-
return RectExtensions.div(RectExtensions.fromElement(this.
|
|
8685
|
+
return RectExtensions.div(RectExtensions.fromElement(this._flowComponent.hostElement), this._canvasComponent.transform.scale);
|
|
8706
8686
|
}
|
|
8707
8687
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MinimapCalculateViewBoxExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8708
8688
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MinimapCalculateViewBoxExecution });
|
|
@@ -8742,7 +8722,7 @@ let MinimapCalculateSvgScaleAndViewBoxExecution = class MinimapCalculateSvgScale
|
|
|
8742
8722
|
const scale = this._calculateViewScale(nodesRect, minimapRect);
|
|
8743
8723
|
return {
|
|
8744
8724
|
scale,
|
|
8745
|
-
viewBox: this._calculateViewBox(nodesRect, minimapRect, scale)
|
|
8725
|
+
viewBox: this._calculateViewBox(nodesRect, minimapRect, scale),
|
|
8746
8726
|
};
|
|
8747
8727
|
}
|
|
8748
8728
|
_getScaledNodesBoundingBox(minSize) {
|
|
@@ -8861,7 +8841,7 @@ class SelectionAreaDragHandle {
|
|
|
8861
8841
|
|
|
8862
8842
|
let SelectionAreaFinalizeExecution = class SelectionAreaFinalizeExecution {
|
|
8863
8843
|
_dragContext = inject(FDraggableDataContext);
|
|
8864
|
-
handle(
|
|
8844
|
+
handle(_request) {
|
|
8865
8845
|
if (!this._isValid()) {
|
|
8866
8846
|
return;
|
|
8867
8847
|
}
|
|
@@ -8906,7 +8886,7 @@ let SelectionAreaPreparationExecution = class SelectionAreaPreparationExecution
|
|
|
8906
8886
|
return;
|
|
8907
8887
|
}
|
|
8908
8888
|
this._dragContext.draggableItems = [
|
|
8909
|
-
new SelectionAreaDragHandle(this._store, request.fSelectionArea, this._dragContext, this._fMediator)
|
|
8889
|
+
new SelectionAreaDragHandle(this._store, request.fSelectionArea, this._dragContext, this._fMediator),
|
|
8910
8890
|
];
|
|
8911
8891
|
this._dragContext.onPointerDownScale = 1;
|
|
8912
8892
|
this._dragContext.onPointerDownPosition = Point.fromPoint(request.event.getPosition())
|
|
@@ -8928,7 +8908,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
8928
8908
|
|
|
8929
8909
|
const F_SELECTION_AREA_DRAG_AND_DROP_PROVIDERS = [
|
|
8930
8910
|
SelectionAreaPreparationExecution,
|
|
8931
|
-
SelectionAreaFinalizeExecution
|
|
8911
|
+
SelectionAreaFinalizeExecution,
|
|
8932
8912
|
];
|
|
8933
8913
|
|
|
8934
8914
|
class FSelectionAreaBase {
|
|
@@ -8978,7 +8958,7 @@ class FSelectionAreaComponent extends FSelectionAreaBase {
|
|
|
8978
8958
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FSelectionAreaComponent, decorators: [{
|
|
8979
8959
|
type: Component,
|
|
8980
8960
|
args: [{ selector: "f-selection-area", template: ``, host: {
|
|
8981
|
-
'class': 'f-selection-area f-component'
|
|
8961
|
+
'class': 'f-selection-area f-component',
|
|
8982
8962
|
}, providers: [
|
|
8983
8963
|
{ provide: F_BEFORE_MAIN_PLUGIN, useExisting: FSelectionAreaComponent },
|
|
8984
8964
|
], styles: [":host{position:absolute}\n"] }]
|
|
@@ -8987,7 +8967,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
8987
8967
|
}] } });
|
|
8988
8968
|
|
|
8989
8969
|
const F_SELECTION_AREA_PROVIDERS = [
|
|
8990
|
-
FSelectionAreaComponent
|
|
8970
|
+
FSelectionAreaComponent,
|
|
8991
8971
|
];
|
|
8992
8972
|
|
|
8993
8973
|
const F_DRAGGABLE_PROVIDERS = [
|
|
@@ -9001,7 +8981,7 @@ const F_DRAGGABLE_PROVIDERS = [
|
|
|
9001
8981
|
...NODE_RESIZE_PROVIDERS,
|
|
9002
8982
|
...NODE_ROTATE_PROVIDERS,
|
|
9003
8983
|
...F_SELECTION_AREA_DRAG_AND_DROP_PROVIDERS,
|
|
9004
|
-
...F_MINIMAP_DRAG_AND_DROP_PROVIDERS
|
|
8984
|
+
...F_MINIMAP_DRAG_AND_DROP_PROVIDERS,
|
|
9005
8985
|
];
|
|
9006
8986
|
|
|
9007
8987
|
class ClearSelectionRequest {
|
|
@@ -9126,7 +9106,7 @@ let GetCanBeSelectedItemsExecution = class GetCanBeSelectedItemsExecution {
|
|
|
9126
9106
|
return this.fNodes.filter((x) => !x.fSelectionDisabled()).map((x) => {
|
|
9127
9107
|
return {
|
|
9128
9108
|
element: x,
|
|
9129
|
-
fRect: RectExtensions.mult(this._mediator.execute(new GetNormalizedElementRectRequest(x.hostElement)), this.transform.scale)
|
|
9109
|
+
fRect: RectExtensions.mult(this._mediator.execute(new GetNormalizedElementRectRequest(x.hostElement)), this.transform.scale),
|
|
9130
9110
|
};
|
|
9131
9111
|
});
|
|
9132
9112
|
}
|
|
@@ -9138,7 +9118,7 @@ let GetCanBeSelectedItemsExecution = class GetCanBeSelectedItemsExecution {
|
|
|
9138
9118
|
return this.fConnections.filter((x) => !x.fSelectionDisabled()).map((x) => {
|
|
9139
9119
|
return {
|
|
9140
9120
|
element: x,
|
|
9141
|
-
fRect: RectExtensions.mult(this._mediator.execute(new GetNormalizedElementRectRequest(x.boundingElement)), this.transform.scale)
|
|
9121
|
+
fRect: RectExtensions.mult(this._mediator.execute(new GetNormalizedElementRectRequest(x.boundingElement)), this.transform.scale),
|
|
9142
9122
|
};
|
|
9143
9123
|
});
|
|
9144
9124
|
}
|
|
@@ -9165,7 +9145,7 @@ let GetCurrentSelectionExecution = class GetCurrentSelectionExecution {
|
|
|
9165
9145
|
return {
|
|
9166
9146
|
fNodeIds: this._getSelectedNodes(),
|
|
9167
9147
|
fGroupIds: this._getSelectedGroups(),
|
|
9168
|
-
fConnectionIds: this._getSelectedConnections()
|
|
9148
|
+
fConnectionIds: this._getSelectedConnections(),
|
|
9169
9149
|
};
|
|
9170
9150
|
}
|
|
9171
9151
|
_getSelectedNodes() {
|
|
@@ -9503,7 +9483,7 @@ const F_SELECTION_FEATURES = [
|
|
|
9503
9483
|
GetCurrentSelectionExecution,
|
|
9504
9484
|
SelectExecution,
|
|
9505
9485
|
SelectAllExecution,
|
|
9506
|
-
SelectAndUpdateNodeLayerExecution
|
|
9486
|
+
SelectAndUpdateNodeLayerExecution,
|
|
9507
9487
|
];
|
|
9508
9488
|
|
|
9509
9489
|
/**
|
|
@@ -9679,7 +9659,7 @@ let StartDragSequenceExecution = class StartDragSequenceExecution {
|
|
|
9679
9659
|
get _hostElement() {
|
|
9680
9660
|
return this._store.fDraggable.hostElement;
|
|
9681
9661
|
}
|
|
9682
|
-
handle(
|
|
9662
|
+
handle(_request) {
|
|
9683
9663
|
if (this._dragContext.draggableItems.length > 0) {
|
|
9684
9664
|
this._hostElement.classList.add(F_CSS_CLASS.DRAG_AND_DROP.DRAGGING);
|
|
9685
9665
|
this._mediator.execute(new EmitSelectionChangeEventRequest());
|
|
@@ -9689,7 +9669,7 @@ let StartDragSequenceExecution = class StartDragSequenceExecution {
|
|
|
9689
9669
|
_emitDragStarted() {
|
|
9690
9670
|
this._store.fDraggable?.fDragStarted?.emit({
|
|
9691
9671
|
fEventType: this._dragContext.draggableItems[0].fEventType,
|
|
9692
|
-
fData: { ...this._dragContext.draggableItems[0].fData }
|
|
9672
|
+
fData: { ...this._dragContext.draggableItems[0].fData },
|
|
9693
9673
|
});
|
|
9694
9674
|
}
|
|
9695
9675
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: StartDragSequenceExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
@@ -9761,7 +9741,7 @@ const F_DRAGGABLE_FEATURES = [
|
|
|
9761
9741
|
PrepareDragSequenceExecution,
|
|
9762
9742
|
IsDragStarted,
|
|
9763
9743
|
StartDragSequenceExecution,
|
|
9764
|
-
RemoveDndFromStoreExecution
|
|
9744
|
+
RemoveDndFromStoreExecution,
|
|
9765
9745
|
];
|
|
9766
9746
|
|
|
9767
9747
|
class AddFlowToStoreRequest {
|
|
@@ -9857,7 +9837,7 @@ let GetFlowStateConnectionsExecution = class GetFlowStateConnectionsExecution {
|
|
|
9857
9837
|
fInputId: x.fInputId,
|
|
9858
9838
|
fType: x.fType,
|
|
9859
9839
|
fBehavior: x.fBehavior,
|
|
9860
|
-
isSelected: x.isSelected()
|
|
9840
|
+
isSelected: x.isSelected(),
|
|
9861
9841
|
};
|
|
9862
9842
|
}
|
|
9863
9843
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GetFlowStateConnectionsExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
@@ -9893,7 +9873,7 @@ let GetFlowStateNodesExecution = class GetFlowStateNodesExecution {
|
|
|
9893
9873
|
rotate: x._rotate,
|
|
9894
9874
|
fOutputs: this._getOutputs(x.hostElement),
|
|
9895
9875
|
fInputs: this._getInputs(x.hostElement),
|
|
9896
|
-
isSelected: x.isSelected()
|
|
9876
|
+
isSelected: x.isSelected(),
|
|
9897
9877
|
};
|
|
9898
9878
|
});
|
|
9899
9879
|
}
|
|
@@ -9901,7 +9881,7 @@ let GetFlowStateNodesExecution = class GetFlowStateNodesExecution {
|
|
|
9901
9881
|
return this._store.fOutputs.filter((x) => hostElement.contains(x.hostElement)).map((x) => {
|
|
9902
9882
|
return {
|
|
9903
9883
|
id: x.fId,
|
|
9904
|
-
fConnectableSide: x.fConnectableSide
|
|
9884
|
+
fConnectableSide: x.fConnectableSide,
|
|
9905
9885
|
};
|
|
9906
9886
|
});
|
|
9907
9887
|
}
|
|
@@ -9909,7 +9889,7 @@ let GetFlowStateNodesExecution = class GetFlowStateNodesExecution {
|
|
|
9909
9889
|
return this._store.fInputs.filter((x) => hostElement.contains(x.hostElement)).map((x) => {
|
|
9910
9890
|
return {
|
|
9911
9891
|
id: x.fId,
|
|
9912
|
-
fConnectableSide: x.fConnectableSide
|
|
9892
|
+
fConnectableSide: x.fConnectableSide,
|
|
9913
9893
|
};
|
|
9914
9894
|
});
|
|
9915
9895
|
}
|
|
@@ -9939,7 +9919,7 @@ let GetFlowStateExecution = class GetFlowStateExecution {
|
|
|
9939
9919
|
scale: this._store.fCanvas.transform.scale,
|
|
9940
9920
|
nodes: this._mediator.execute(new GetFlowStateNodesRequest(FNodeDirective)),
|
|
9941
9921
|
groups: this._mediator.execute(new GetFlowStateNodesRequest(FGroupDirective)),
|
|
9942
|
-
connections: this._mediator.execute(new GetFlowStateConnectionsRequest())
|
|
9922
|
+
connections: this._mediator.execute(new GetFlowStateConnectionsRequest()),
|
|
9943
9923
|
};
|
|
9944
9924
|
}
|
|
9945
9925
|
_getCanvasPosition(transform) {
|
|
@@ -9961,7 +9941,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
9961
9941
|
const GET_FLOW_STATE_PROVIDERS = [
|
|
9962
9942
|
GetFlowStateExecution,
|
|
9963
9943
|
GetFlowStateNodesExecution,
|
|
9964
|
-
GetFlowStateConnectionsExecution
|
|
9944
|
+
GetFlowStateConnectionsExecution,
|
|
9965
9945
|
];
|
|
9966
9946
|
|
|
9967
9947
|
class RemoveFlowFromStoreRequest {
|
|
@@ -9996,7 +9976,7 @@ const F_FLOW_FEATURES = [
|
|
|
9996
9976
|
GetFlowExecution,
|
|
9997
9977
|
GetFlowHostElementExecution,
|
|
9998
9978
|
...GET_FLOW_STATE_PROVIDERS,
|
|
9999
|
-
RemoveFlowFromStoreExecution
|
|
9979
|
+
RemoveFlowFromStoreExecution,
|
|
10000
9980
|
];
|
|
10001
9981
|
|
|
10002
9982
|
class AddLineAlignmentToStoreRequest {
|
|
@@ -10054,7 +10034,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
10054
10034
|
*/
|
|
10055
10035
|
const F_LINE_ALIGNMENT_FEATURES = [
|
|
10056
10036
|
AddLineAlignmentToStoreExecution,
|
|
10057
|
-
RemoveLineAlignmentFromStoreExecution
|
|
10037
|
+
RemoveLineAlignmentFromStoreExecution,
|
|
10058
10038
|
];
|
|
10059
10039
|
|
|
10060
10040
|
class AddNodeToStoreRequest {
|
|
@@ -10251,7 +10231,7 @@ let GetNodePadding = class GetNodePadding {
|
|
|
10251
10231
|
this._browser.toPixels(style.paddingLeft, rect.width, rect.height, style.fontSize),
|
|
10252
10232
|
this._browser.toPixels(style.paddingTop, rect.width, rect.height, style.fontSize),
|
|
10253
10233
|
this._browser.toPixels(style.paddingRight, rect.width, rect.height, style.fontSize),
|
|
10254
|
-
this._browser.toPixels(style.paddingBottom, rect.width, rect.height, style.fontSize)
|
|
10234
|
+
this._browser.toPixels(style.paddingBottom, rect.width, rect.height, style.fontSize),
|
|
10255
10235
|
];
|
|
10256
10236
|
}
|
|
10257
10237
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GetNodePadding, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
@@ -10566,7 +10546,7 @@ const F_NODE_FEATURES = [
|
|
|
10566
10546
|
GetNodes,
|
|
10567
10547
|
GetParentNodes,
|
|
10568
10548
|
UpdateNodeWhenStateOrSizeChanged,
|
|
10569
|
-
RemoveNodeFromStore
|
|
10549
|
+
RemoveNodeFromStore,
|
|
10570
10550
|
];
|
|
10571
10551
|
|
|
10572
10552
|
class AddZoomToStoreRequest {
|
|
@@ -10586,7 +10566,7 @@ let AddZoomToStoreExecution = class AddZoomToStoreExecution {
|
|
|
10586
10566
|
_store = inject(FComponentsStore);
|
|
10587
10567
|
handle(request) {
|
|
10588
10568
|
this._store.fComponents = {
|
|
10589
|
-
[F_ZOOM_TAG]: request.fComponent
|
|
10569
|
+
[F_ZOOM_TAG]: request.fComponent,
|
|
10590
10570
|
};
|
|
10591
10571
|
}
|
|
10592
10572
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AddZoomToStoreExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
@@ -10608,9 +10588,9 @@ class RemoveZoomFromStoreRequest {
|
|
|
10608
10588
|
*/
|
|
10609
10589
|
let RemoveZoomFromStoreExecution = class RemoveZoomFromStoreExecution {
|
|
10610
10590
|
_store = inject(FComponentsStore);
|
|
10611
|
-
handle(
|
|
10591
|
+
handle(_request) {
|
|
10612
10592
|
this._store.fComponents = {
|
|
10613
|
-
[F_ZOOM_TAG]: undefined
|
|
10593
|
+
[F_ZOOM_TAG]: undefined,
|
|
10614
10594
|
};
|
|
10615
10595
|
}
|
|
10616
10596
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: RemoveZoomFromStoreExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
@@ -10717,7 +10697,7 @@ const F_ZOOM_FEATURES = [
|
|
|
10717
10697
|
AddZoomToStoreExecution,
|
|
10718
10698
|
RemoveZoomFromStoreExecution,
|
|
10719
10699
|
ResetZoomExecution,
|
|
10720
|
-
SetZoomExecution
|
|
10700
|
+
SetZoomExecution,
|
|
10721
10701
|
];
|
|
10722
10702
|
|
|
10723
10703
|
class SortNodeLayersRequest {
|
|
@@ -10783,8 +10763,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
10783
10763
|
class SortItemsByParentRequest {
|
|
10784
10764
|
fItemsContainer;
|
|
10785
10765
|
static fToken = Symbol('SortItemsByParentRequest');
|
|
10786
|
-
constructor(fItemsContainer
|
|
10787
|
-
) {
|
|
10766
|
+
constructor(fItemsContainer) {
|
|
10788
10767
|
this.fItemsContainer = fItemsContainer;
|
|
10789
10768
|
}
|
|
10790
10769
|
}
|
|
@@ -10823,7 +10802,7 @@ let SortItemsByParentExecution = class SortItemsByParentExecution {
|
|
|
10823
10802
|
.filter((x) => this._fItemsContainer.contains(x.hostElement)).map((x) => x.hostElement);
|
|
10824
10803
|
}
|
|
10825
10804
|
_moveChildrenItems(sortedChildrenItems, parent) {
|
|
10826
|
-
|
|
10805
|
+
const nextSibling = parent.hostElement.nextElementSibling;
|
|
10827
10806
|
const fragment = this._browser.document.createDocumentFragment();
|
|
10828
10807
|
sortedChildrenItems.forEach((child) => {
|
|
10829
10808
|
fragment.appendChild(child); // Append automatically removes the element from its current position
|
|
@@ -11023,7 +11002,7 @@ class FRectPatternComponent {
|
|
|
11023
11002
|
}
|
|
11024
11003
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FRectPatternComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
11025
11004
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.13", type: FRectPatternComponent, isStandalone: true, selector: "f-rect-pattern", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, vColor: { classPropertyName: "vColor", publicName: "vColor", isSignal: true, isRequired: false, transformFunction: null }, hColor: { classPropertyName: "hColor", publicName: "hColor", isSignal: true, isRequired: false, transformFunction: null }, vSize: { classPropertyName: "vSize", publicName: "vSize", isSignal: true, isRequired: false, transformFunction: null }, hSize: { classPropertyName: "hSize", publicName: "hSize", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.id": "id" } }, providers: [
|
|
11026
|
-
{ provide: F_BACKGROUND_PATTERN, useExisting: FRectPatternComponent }
|
|
11005
|
+
{ provide: F_BACKGROUND_PATTERN, useExisting: FRectPatternComponent },
|
|
11027
11006
|
], usesOnChanges: true, ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
11028
11007
|
}
|
|
11029
11008
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FRectPatternComponent, decorators: [{
|
|
@@ -11033,12 +11012,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
11033
11012
|
template: ``,
|
|
11034
11013
|
standalone: true,
|
|
11035
11014
|
host: {
|
|
11036
|
-
'[attr.id]': 'id'
|
|
11015
|
+
'[attr.id]': 'id',
|
|
11037
11016
|
},
|
|
11038
11017
|
providers: [
|
|
11039
|
-
{ provide: F_BACKGROUND_PATTERN, useExisting: FRectPatternComponent }
|
|
11018
|
+
{ provide: F_BACKGROUND_PATTERN, useExisting: FRectPatternComponent },
|
|
11040
11019
|
],
|
|
11041
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
11020
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
11042
11021
|
}]
|
|
11043
11022
|
}], ctorParameters: () => [] });
|
|
11044
11023
|
|
|
@@ -11111,7 +11090,7 @@ class FCirclePatternComponent {
|
|
|
11111
11090
|
}
|
|
11112
11091
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FCirclePatternComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
11113
11092
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.13", type: FCirclePatternComponent, isStandalone: true, selector: "f-circle-pattern", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, radius: { classPropertyName: "radius", publicName: "radius", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.id": "id" } }, providers: [
|
|
11114
|
-
{ provide: F_BACKGROUND_PATTERN, useExisting: FCirclePatternComponent }
|
|
11093
|
+
{ provide: F_BACKGROUND_PATTERN, useExisting: FCirclePatternComponent },
|
|
11115
11094
|
], usesOnChanges: true, ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
11116
11095
|
}
|
|
11117
11096
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FCirclePatternComponent, decorators: [{
|
|
@@ -11121,12 +11100,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
11121
11100
|
template: ``,
|
|
11122
11101
|
standalone: true,
|
|
11123
11102
|
host: {
|
|
11124
|
-
'[attr.id]': 'id'
|
|
11103
|
+
'[attr.id]': 'id',
|
|
11125
11104
|
},
|
|
11126
11105
|
providers: [
|
|
11127
|
-
{ provide: F_BACKGROUND_PATTERN, useExisting: FCirclePatternComponent }
|
|
11106
|
+
{ provide: F_BACKGROUND_PATTERN, useExisting: FCirclePatternComponent },
|
|
11128
11107
|
],
|
|
11129
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
11108
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
11130
11109
|
}]
|
|
11131
11110
|
}], ctorParameters: () => [] });
|
|
11132
11111
|
|
|
@@ -11164,14 +11143,14 @@ class FBackgroundComponent extends FBackgroundBase {
|
|
|
11164
11143
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FBackgroundComponent, decorators: [{
|
|
11165
11144
|
type: Component,
|
|
11166
11145
|
args: [{ selector: "f-background", template: "<svg><ng-content></ng-content></svg>", standalone: true, host: {
|
|
11167
|
-
'class': 'f-component f-background'
|
|
11146
|
+
'class': 'f-component f-background',
|
|
11168
11147
|
}, providers: [{ provide: F_BACKGROUND, useExisting: FBackgroundComponent }], changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{position:absolute;width:100%;height:100%;left:0;top:0;transform-origin:0 0;pointer-events:none}:host svg{width:100%;height:100%}\n"] }]
|
|
11169
11148
|
}] });
|
|
11170
11149
|
|
|
11171
11150
|
const F_BACKGROUND_PROVIDERS = [
|
|
11172
11151
|
FBackgroundComponent,
|
|
11173
11152
|
FRectPatternComponent,
|
|
11174
|
-
FCirclePatternComponent
|
|
11153
|
+
FCirclePatternComponent,
|
|
11175
11154
|
];
|
|
11176
11155
|
|
|
11177
11156
|
class FCanvasChangeEvent {
|
|
@@ -11338,7 +11317,7 @@ class FCanvasComponent extends FCanvasBase {
|
|
|
11338
11317
|
}
|
|
11339
11318
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FCanvasComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
11340
11319
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.13", type: FCanvasComponent, isStandalone: true, selector: "f-canvas", inputs: { position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null }, scale: { classPropertyName: "scale", publicName: "scale", isSignal: true, isRequired: false, transformFunction: null }, debounceTime: { classPropertyName: "debounceTime", publicName: "debounceTime", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { fCanvasChange: "fCanvasChange" }, host: { classAttribute: "f-component f-canvas" }, providers: [
|
|
11341
|
-
{ provide: F_CANVAS, useExisting: FCanvasComponent }
|
|
11320
|
+
{ provide: F_CANVAS, useExisting: FCanvasComponent },
|
|
11342
11321
|
], viewQueries: [{ propertyName: "fGroupsContainer", first: true, predicate: ["fGroupsContainer"], descendants: true, isSignal: true }, { propertyName: "fNodesContainer", first: true, predicate: ["fNodesContainer"], descendants: true, isSignal: true }, { propertyName: "fConnectionsContainer", first: true, predicate: ["fConnectionsContainer"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<ng-container>\n <div #fGroupsContainer>\n <ng-content select=\"[fGroup]\"></ng-content>\n </div>\n <div #fConnectionsContainer>\n <ng-content select=\"f-snap-connection\"></ng-content>\n <ng-content select=\"f-connection\"></ng-content>\n <ng-content select=\"f-connection-for-create\"></ng-content>\n </div>\n\n <div #fNodesContainer>\n <ng-content select=\"[fNode]\"></ng-content>\n </div>\n</ng-container>\n", styles: [":host{position:absolute;overflow:visible;width:100%;height:100%;left:0;top:0;transform-origin:0 0;pointer-events:none}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
11343
11322
|
}
|
|
11344
11323
|
__decorate([
|
|
@@ -11352,7 +11331,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
11352
11331
|
args: [{ selector: 'f-canvas', standalone: true, host: {
|
|
11353
11332
|
'class': 'f-component f-canvas',
|
|
11354
11333
|
}, providers: [
|
|
11355
|
-
{ provide: F_CANVAS, useExisting: FCanvasComponent }
|
|
11334
|
+
{ provide: F_CANVAS, useExisting: FCanvasComponent },
|
|
11356
11335
|
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container>\n <div #fGroupsContainer>\n <ng-content select=\"[fGroup]\"></ng-content>\n </div>\n <div #fConnectionsContainer>\n <ng-content select=\"f-snap-connection\"></ng-content>\n <ng-content select=\"f-connection\"></ng-content>\n <ng-content select=\"f-connection-for-create\"></ng-content>\n </div>\n\n <div #fNodesContainer>\n <ng-content select=\"[fNode]\"></ng-content>\n </div>\n</ng-container>\n", styles: [":host{position:absolute;overflow:visible;width:100%;height:100%;left:0;top:0;transform-origin:0 0;pointer-events:none}\n"] }]
|
|
11357
11336
|
}], propDecorators: { setZoom: [], resetZoom: [] } });
|
|
11358
11337
|
|
|
@@ -11390,7 +11369,7 @@ class FMinimapFlowDirective {
|
|
|
11390
11369
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FMinimapFlowDirective, decorators: [{
|
|
11391
11370
|
type: Directive,
|
|
11392
11371
|
args: [{
|
|
11393
|
-
selector: 'svg[fMinimapFlow]'
|
|
11372
|
+
selector: 'svg[fMinimapFlow]',
|
|
11394
11373
|
}]
|
|
11395
11374
|
}] });
|
|
11396
11375
|
|
|
@@ -11415,7 +11394,7 @@ class FMinimapCanvasDirective {
|
|
|
11415
11394
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FMinimapCanvasDirective, decorators: [{
|
|
11416
11395
|
type: Directive,
|
|
11417
11396
|
args: [{
|
|
11418
|
-
selector: 'g[fMinimapCanvas]'
|
|
11397
|
+
selector: 'g[fMinimapCanvas]',
|
|
11419
11398
|
}]
|
|
11420
11399
|
}] });
|
|
11421
11400
|
|
|
@@ -11437,7 +11416,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
11437
11416
|
selector: 'rect[fMinimapView]',
|
|
11438
11417
|
host: {
|
|
11439
11418
|
'class': 'f-component f-minimap-view',
|
|
11440
|
-
}
|
|
11419
|
+
},
|
|
11441
11420
|
}]
|
|
11442
11421
|
}] });
|
|
11443
11422
|
|
|
@@ -11609,7 +11588,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
11609
11588
|
}] });
|
|
11610
11589
|
|
|
11611
11590
|
const F_FLOW_PROVIDERS = [
|
|
11612
|
-
FFlowComponent
|
|
11591
|
+
FFlowComponent,
|
|
11613
11592
|
];
|
|
11614
11593
|
|
|
11615
11594
|
var EFZoomDirection;
|
|
@@ -11740,7 +11719,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
11740
11719
|
exportAs: 'fComponent',
|
|
11741
11720
|
standalone: true,
|
|
11742
11721
|
host: {
|
|
11743
|
-
'class': 'f-zoom f-component'
|
|
11722
|
+
'class': 'f-zoom f-component',
|
|
11744
11723
|
},
|
|
11745
11724
|
providers: [{ provide: F_ZOOM, useExisting: FZoomDirective }],
|
|
11746
11725
|
}]
|
|
@@ -11766,7 +11745,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
11766
11745
|
}], getScale: [] } });
|
|
11767
11746
|
|
|
11768
11747
|
const F_ZOOM_PROVIDERS = [
|
|
11769
|
-
FZoomDirective
|
|
11748
|
+
FZoomDirective,
|
|
11770
11749
|
];
|
|
11771
11750
|
|
|
11772
11751
|
class FFlowModule {
|
|
@@ -11811,7 +11790,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
11811
11790
|
...F_SELECTION_AREA_PROVIDERS,
|
|
11812
11791
|
FDragBlockerDirective,
|
|
11813
11792
|
FDraggableDirective,
|
|
11814
|
-
]
|
|
11793
|
+
],
|
|
11815
11794
|
}]
|
|
11816
11795
|
}] });
|
|
11817
11796
|
|
|
@@ -11819,5 +11798,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
11819
11798
|
* Generated bundle index. Do not edit.
|
|
11820
11799
|
*/
|
|
11821
11800
|
|
|
11822
|
-
export { AddBackgroundToStoreExecution, AddBackgroundToStoreRequest, AddCanvasToStoreExecution, AddCanvasToStoreRequest, AddConnectionForCreateToStoreExecution, AddConnectionForCreateToStoreRequest, AddConnectionMarkerToStoreExecution, AddConnectionMarkerToStoreRequest, AddConnectionToStoreExecution, AddConnectionToStoreRequest, AddDndToStoreExecution, AddDndToStoreRequest, AddFlowToStoreExecution, AddFlowToStoreRequest, AddInputToStoreExecution, AddInputToStoreRequest, AddLineAlignmentToStoreExecution, AddLineAlignmentToStoreRequest, AddNodeToStore, AddNodeToStoreRequest, AddOutletToStoreExecution, AddOutletToStoreRequest, AddOutputToStoreExecution, AddOutputToStoreRequest, AddPatternToBackgroundExecution, AddPatternToBackgroundRequest, AddSnapConnectionToStoreExecution, AddSnapConnectionToStoreRequest, AddZoomToStoreExecution, AddZoomToStoreRequest, ApplyChildResizeConstraints, ApplyChildResizeConstraintsRequest, ApplyParentResizeConstraints, ApplyParentResizeConstraintsRequest, BaseConnectionDragHandler, BuildDragHierarchy, BuildDragHierarchyRequest, BuildDragHierarchyResponse, CANVAS_PROVIDERS, COMMON_PROVIDERS, CONNECTIONS_PROVIDERS, CONNECTION_GRADIENT, CONNECTION_PATH, CONNECTION_TEXT, CREATE_MOVE_NODE_DRAG_MODEL_FROM_SELECTION_PROVIDERS, CalculateCenterBetweenPointsHandler, CalculateCenterBetweenPointsRequest, CalculateChangedRectFromDifference, CalculateChangedRectFromDifferenceRequest, CalculateConnectionCenterHandler, CalculateConnectionCenterRequest, CalculateConnectionLineByBehaviorExecution, CalculateConnectionLineByBehaviorRequest, CalculateDirectChildrenUnionRect, CalculateDirectChildrenUnionRectRequest, CalculateDragLimits, CalculateDragLimitsRequest, CalculateFlowPointFromMinimapPointExecution, CalculateFlowPointFromMinimapPointRequest, CalculateInputConnections, CalculateInputConnectionsRequest, CalculateNodesBoundingBox, CalculateNodesBoundingBoxNormalizedPosition, CalculateNodesBoundingBoxNormalizedPositionRequest, CalculateNodesBoundingBoxRequest, CalculateOutputConnections, CalculateOutputConnectionsRequest, CalculateResizeLimits, CalculateResizeLimitsRequest, CenterGroupOrNodeExecution, CenterGroupOrNodeRequest, ClearSelectionExecution, ClearSelectionRequest, CreateConnectionMarkersExecution, CreateConnectionMarkersRequest, CreateDragModelFromSelection, CreateDragModelFromSelectionRequest, CreateInputConnectionHandlerAndSetToNodeHandler, CreateInputConnectionHandlerAndSetToNodeHandlerRequest, CreateOutputConnectionHandlerAndSetToNodeHandler, CreateOutputConnectionHandlerAndSetToNodeHandlerRequest, CreateSnapLines, CreateSnapLinesRequest, CreateSummaryDragHandler, CreateSummaryDragHandlerRequest, DRAG_AND_DROP_COMMON_PROVIDERS, Deprecated, DragAndDropBase, DragConstraintPipeline, DropToGroupFinalize, DropToGroupFinalizeRequest, DropToGroupPreparation, DropToGroupPreparationRequest, EFConnectableSide, EFConnectionBehavior, EFConnectionType, EFMarkerType, EFResizeHandleType, EFZoomDirection, EmitSelectionChangeEventExecution, EmitSelectionChangeEventRequest, EndDragSequenceExecution, EndDragSequenceRequest, EventExtensions, ExternalRectConstraint, FBackgroundBase, FBackgroundComponent, FBezierPathBuilder, FCanvasBase, FCanvasChangeEvent, FCanvasComponent, FCanvasDragHandler, FCanvasMoveFinalizeExecution, FCanvasMoveFinalizeRequest, FCanvasMovePreparationExecution, FCanvasMovePreparationRequest, FChannel, FChannelHub, FCirclePatternComponent, FComponentsStore, FConnectionBase, FConnectionCenterDirective, FConnectionComponent, FConnectionDragHandleEndComponent, FConnectionDragHandleStartComponent, FConnectionFactory, FConnectionForCreateComponent, FConnectionGradientComponent, FConnectionPathComponent, FConnectionSelectionComponent, FConnectionTextComponent, FConnectionTextPathDirective, FConnectorBase, FCreateConnectionDragHandler, FCreateConnectionDragHandlerPreparationExecution, FCreateConnectionDragHandlerPreparationRequest, FCreateConnectionEvent, FCreateConnectionFinalizeExecution, FCreateConnectionFinalizeRequest, FCreateConnectionFromOutletPreparationExecution, FCreateConnectionFromOutletPreparationRequest, FCreateConnectionFromOutputPreparationExecution, FCreateConnectionFromOutputPreparationRequest, FCreateConnectionPreparationExecution, FCreateConnectionPreparationRequest, FCreateNodeEvent, FDragBlockerDirective, FDragHandleDirective, FDragHandlerResult, FDragStartedEvent, FDraggableBase, FDraggableDataContext, FDraggableDirective, FDropToGroupEvent, FExternalItemBase, FExternalItemCreatePlaceholderExecution, FExternalItemCreatePlaceholderRequest, FExternalItemCreatePreviewExecution, FExternalItemCreatePreviewRequest, FExternalItemDirective, FExternalItemDragHandler, FExternalItemFinalizeExecution, FExternalItemFinalizeRequest, FExternalItemPlaceholderDirective, FExternalItemPreparationExecution, FExternalItemPreparationRequest, FExternalItemPreviewDirective, FExternalItemService, FFlowBase, FFlowComponent, FFlowModule, FGroupDirective, FLineAlignmentBase, FLineAlignmentComponent, FMarkerBase, FMarkerDirective, FMinimapCanvasDirective, FMinimapComponent, FMinimapData, FMinimapDragHandler, FMinimapFlowDirective, FMinimapViewDirective, FMoveNodesEvent, FNodeBase, FNodeDirective, FNodeDropToGroupDragHandler, FNodeInputBase, FNodeInputDirective, FNodeIntersectedWithConnections, FNodeMoveFinalizeExecution, FNodeMoveFinalizeRequest, FNodeMovePreparationExecution, FNodeMovePreparationRequest, FNodeOutletBase, FNodeOutletDirective, FNodeOutputBase, FNodeOutputDirective, FNodeRotateDragHandler, FNodeRotateFinalizeExecution, FNodeRotateFinalizeRequest, FNodeRotatePreparationExecution, FNodeRotatePreparationRequest, FReassignConnectionDragHandler, FReassignConnectionEvent, FReassignConnectionFinalizeExecution, FReassignConnectionFinalizeRequest, FReassignConnectionPreparationExecution, FReassignConnectionPreparationRequest, FReassignSourceDragHandler, FReassignTargetDragHandler, FRectPatternComponent, FResizeChannel, FResizeHandleDirective, FRotateHandleDirective, FSegmentPathBuilder, FSelectionAreaBase, FSelectionAreaComponent, FSelectionChangeEvent, FSingleSelectExecution, FSingleSelectRequest, FSnapConnectionComponent, FStraightPathBuilder, FZoomBase, FZoomDirective, F_AFTER_MAIN_PLUGIN, F_BACKGROUND, F_BACKGROUND_FEATURES, F_BACKGROUND_PATTERN, F_BACKGROUND_PROVIDERS, F_BEFORE_MAIN_PLUGIN, F_CANVAS, F_CANVAS_FEATURES, F_CANVAS_PROVIDERS, F_CONNECTION_BUILDERS, F_CONNECTION_FEATURES, F_CONNECTION_IDENTIFIERS, F_CONNECTION_PROVIDERS, F_CONNECTORS_FEATURES, F_CONNECTORS_PROVIDERS, F_CSS_CLASS, F_DRAGGABLE_FEATURES, F_DRAGGABLE_PROVIDERS, F_EXTERNAL_ITEM, F_EXTERNAL_ITEM_DRAG_AND_DROP_PROVIDERS, F_EXTERNAL_ITEM_PROVIDERS, F_FLOW, F_FLOW_FEATURES, F_FLOW_PROVIDERS, F_LINE_ALIGNMENT, F_LINE_ALIGNMENT_FEATURES, F_LINE_ALIGNMENT_PROVIDERS, F_MARKER, F_MINIMAP_DRAG_AND_DROP_PROVIDERS, F_MINIMAP_PROVIDERS, F_NODE, F_NODE_FEATURES, F_NODE_INPUT, F_NODE_OUTLET, F_NODE_OUTPUT, F_NODE_PROVIDERS, F_SELECTED_CLASS, F_SELECTION_AREA_DRAG_AND_DROP_PROVIDERS, F_SELECTION_AREA_PROVIDERS, F_SELECTION_FEATURES, F_STORAGE_PROVIDERS, F_ZOOM, F_ZOOM_FEATURES, F_ZOOM_PROVIDERS, F_ZOOM_TAG, FindClosestConnectorExecution, FindClosestConnectorRequest, FindConnectableConnectorUsingPriorityAndPositionExecution, FindConnectableConnectorUsingPriorityAndPositionRequest, FitToChildNodesAndGroups, FitToChildNodesAndGroupsRequest, FitToFlowExecution, FitToFlowRequest, GET_FLOW_STATE_PROVIDERS, GetAllCanBeConnectedInputsAndRectsExecution, GetAllCanBeConnectedInputsAndRectsRequest, GetAllCanBeConnectedSourceConnectorsAndRectsExecution, GetAllCanBeConnectedSourceConnectorsAndRectsRequest, GetCanBeSelectedItemsExecution, GetCanBeSelectedItemsRequest, GetCanvasExecution, GetCanvasRequest, GetChildNodeIds, GetChildNodeIdsRequest, GetConnectorAndRectExecution, GetConnectorAndRectRequest, GetCurrentSelectionExecution, GetCurrentSelectionRequest, GetDeepChildrenNodesAndGroupsExecution, GetDeepChildrenNodesAndGroupsRequest, GetElementRoundedRectExecution, GetElementRoundedRectRequest, GetFirstConnectableOutputExecution, GetFirstConnectableOutputRequest, GetFlowExecution, GetFlowHostElementExecution, GetFlowHostElementRequest, GetFlowRequest, GetFlowStateConnectionsExecution, GetFlowStateConnectionsRequest, GetFlowStateExecution, GetFlowStateNodesExecution, GetFlowStateNodesRequest, GetFlowStateRequest, GetNodeBoundingIncludePaddings, GetNodeBoundingIncludePaddingsRequest, GetNodeBoundingIncludePaddingsResponse, GetNodePadding, GetNodePaddingRequest, GetNodes, GetNodesRequest, GetNormalizedConnectorRectExecution, GetNormalizedConnectorRectRequest, GetNormalizedElementRectExecution, GetNormalizedElementRectRequest, GetNormalizedParentNodeRectExecution, GetNormalizedParentNodeRectRequest, GetNormalizedPointExecution, GetNormalizedPointRequest, GetParentNodes, GetParentNodesRequest, IMouseEvent, IPointerEvent, IPointerUpEvent, ITouchDownEvent, ITouchMoveEvent, InitializeDragSequenceExecution, InitializeDragSequenceRequest, InputCanvasPositionExecution, InputCanvasPositionRequest, InputCanvasScaleExecution, InputCanvasScaleRequest, IsArrayHasParentNodeExecution, IsArrayHasParentNodeRequest, IsConnectionUnderNodeExecution, IsConnectionUnderNodeRequest, IsDragStarted, IsDragStartedRequest, ListenCountChangesExecution, ListenCountChangesRequest, ListenDataChangesExecution, ListenDataChangesRequest, ListenTransformChangesExecution, ListenTransformChangesRequest, LogExecutionTime, MINIMAP_DRAG_FINALIZE_PROVIDERS, MINIMAP_DRAG_PREPARATION_PROVIDERS, MOUSE_EVENT_IGNORE_TIME, MarkConnectableConnectorsExecution, MarkConnectableConnectorsRequest, MinimapCalculateSvgScaleAndViewBoxExecution, MinimapCalculateSvgScaleAndViewBoxRequest, MinimapCalculateViewBoxExecution, MinimapCalculateViewBoxRequest, MinimapDragFinalizeExecution, MinimapDragFinalizeRequest, MinimapDragPreparationExecution, MinimapDragPreparationRequest, MinimapDrawNodesExecution, MinimapDrawNodesRequest, MoveDragHandler, MoveFrontElementsBeforeTargetElementExecution, MoveFrontElementsBeforeTargetElementRequest, MoveSummaryDragHandler, NODE_DROP_TO_GROUP_PROVIDERS, NODE_PROVIDERS, NODE_RESIZE_PROVIDERS, NODE_ROTATE_PROVIDERS, NodeResizeDragHandler, NodeResizeFinalize, NodeResizeFinalizeRequest, NodeResizePreparation, NodeResizePreparationRequest, NotifyDataChangedExecution, NotifyDataChangedRequest, NotifyTransformChangedExecution, NotifyTransformChangedRequest, OnPointerMoveExecution, OnPointerMoveRequest, PrepareDragSequenceExecution, PrepareDragSequenceRequest, PreventDefaultIsExternalItemExecution, PreventDefaultIsExternalItemRequest, RESIZE_DIRECTIONS, RectConstraint, RedrawCanvasWithAnimationExecution, RedrawCanvasWithAnimationRequest, RedrawConnectionsExecution, RedrawConnectionsRequest, RemoveBackgroundFromStoreExecution, RemoveBackgroundFromStoreRequest, RemoveCanvasFromStoreExecution, RemoveCanvasFromStoreRequest, RemoveConnectionForCreateFromStoreExecution, RemoveConnectionForCreateFromStoreRequest, RemoveConnectionFromStoreExecution, RemoveConnectionFromStoreRequest, RemoveConnectionMarkerFromStoreExecution, RemoveConnectionMarkerFromStoreRequest, RemoveDndFromStoreExecution, RemoveDndFromStoreRequest, RemoveFlowFromStoreExecution, RemoveFlowFromStoreRequest, RemoveInputFromStoreExecution, RemoveInputFromStoreRequest, RemoveLineAlignmentFromStoreExecution, RemoveLineAlignmentFromStoreRequest, RemoveNodeFromStore, RemoveNodeFromStoreRequest, RemoveOutletFromStoreExecution, RemoveOutletFromStoreRequest, RemoveOutputFromStoreExecution, RemoveOutputFromStoreRequest, RemoveSnapConnectionFromStoreExecution, RemoveSnapConnectionFromStoreRequest, RemoveZoomFromStoreExecution, RemoveZoomFromStoreRequest, ResetScaleAndCenterExecution, ResetScaleAndCenterRequest, ResetScaleExecution, ResetScaleRequest, ResetZoomExecution, ResetZoomRequest, SINGLE_SELECT_PROVIDERS, SelectAllExecution, SelectAllRequest, SelectAndUpdateNodeLayerExecution, SelectAndUpdateNodeLayerRequest, SelectExecution, SelectRequest, SelectionAreaDragHandle, SelectionAreaFinalizeExecution, SelectionAreaFinalizeRequest, SelectionAreaPreparationExecution, SelectionAreaPreparationRequest, SetBackgroundTransformExecution, SetBackgroundTransformRequest, SetZoomExecution, SetZoomRequest, SnapLineElement, SnapLineService, SnapLinesDragHandler, SnapToGrid, SortContainersForDropByLayer, SortContainersForDropByLayerRequest, SortItemLayersExecution, SortItemLayersRequest, SortItemsByParentExecution, SortItemsByParentRequest, SortNodeLayersExecution, SortNodeLayersRequest, SourceConnectionDragHandler, SourceTargetConnectionDragHandler, StartDragSequenceExecution, StartDragSequenceRequest, TargetConnectionDragHandler, UnmarkConnectableConnectorsExecution, UnmarkConnectableConnectorsRequest, UpdateItemAndChildrenLayersExecution, UpdateItemAndChildrenLayersRequest, UpdateNodeWhenStateOrSizeChanged, UpdateNodeWhenStateOrSizeChangedRequest, UpdateScaleExecution, UpdateScaleRequest, createSVGElement, debounceTime, defaultEventTrigger, expandRectFromBaseline, fixedCenterBehavior, fixedOutboundBehavior, floatingBehavior, getExternalItem, getMarkerEndId, getMarkerSelectedEndId, getMarkerSelectedStartId, getMarkerStartId, infinityMinMax, isClosestConnectorInsideSnapThreshold, isDragBlocker, isDragHandleEnd, isDragHandleStart, isExternalItem, isMobile, isNode, isNodeOutlet, isNodeOutput, isPointerInsideStartOrEndDragHandles, isRotateHandle, isValidEventTrigger, mediatorEffect, mixinChangeSelection, mixinChangeVisibility, notifyOnStart, roundedRectFromPoint, transitionEnd };
|
|
11801
|
+
export { AddBackgroundToStoreExecution, AddBackgroundToStoreRequest, AddCanvasToStoreExecution, AddCanvasToStoreRequest, AddConnectionForCreateToStoreExecution, AddConnectionForCreateToStoreRequest, AddConnectionMarkerToStoreExecution, AddConnectionMarkerToStoreRequest, AddConnectionToStoreExecution, AddConnectionToStoreRequest, AddDndToStoreExecution, AddDndToStoreRequest, AddFlowToStoreExecution, AddFlowToStoreRequest, AddInputToStoreExecution, AddInputToStoreRequest, AddLineAlignmentToStoreExecution, AddLineAlignmentToStoreRequest, AddNodeToStore, AddNodeToStoreRequest, AddOutletToStoreExecution, AddOutletToStoreRequest, AddOutputToStoreExecution, AddOutputToStoreRequest, AddPatternToBackgroundExecution, AddPatternToBackgroundRequest, AddSnapConnectionToStoreExecution, AddSnapConnectionToStoreRequest, AddZoomToStoreExecution, AddZoomToStoreRequest, ApplyChildResizeConstraints, ApplyChildResizeConstraintsRequest, ApplyParentResizeConstraints, ApplyParentResizeConstraintsRequest, BaseConnectionDragHandler, BuildDragHierarchy, BuildDragHierarchyRequest, BuildDragHierarchyResponse, CANVAS_PROVIDERS, COMMON_PROVIDERS, CONNECTIONS_PROVIDERS, CONNECTION_GRADIENT, CONNECTION_PATH, CONNECTION_TEXT, CREATE_MOVE_NODE_DRAG_MODEL_FROM_SELECTION_PROVIDERS, CalculateCenterBetweenPointsHandler, CalculateCenterBetweenPointsRequest, CalculateChangedRectFromDifference, CalculateChangedRectFromDifferenceRequest, CalculateConnectionCenterHandler, CalculateConnectionCenterRequest, CalculateConnectionLineByBehaviorExecution, CalculateConnectionLineByBehaviorRequest, CalculateDirectChildrenUnionRect, CalculateDirectChildrenUnionRectRequest, CalculateDragLimits, CalculateDragLimitsRequest, CalculateFlowPointFromMinimapPointExecution, CalculateFlowPointFromMinimapPointRequest, CalculateInputConnections, CalculateInputConnectionsRequest, CalculateNodesBoundingBox, CalculateNodesBoundingBoxNormalizedPosition, CalculateNodesBoundingBoxNormalizedPositionRequest, CalculateNodesBoundingBoxRequest, CalculateOutputConnections, CalculateOutputConnectionsRequest, CalculateResizeLimits, CalculateResizeLimitsRequest, CenterGroupOrNodeExecution, CenterGroupOrNodeRequest, ClearSelectionExecution, ClearSelectionRequest, CreateConnectionMarkersExecution, CreateConnectionMarkersRequest, CreateDragModelFromSelection, CreateDragModelFromSelectionRequest, CreateInputConnectionHandlerAndSetToNodeHandler, CreateInputConnectionHandlerAndSetToNodeHandlerRequest, CreateOutputConnectionHandlerAndSetToNodeHandler, CreateOutputConnectionHandlerAndSetToNodeHandlerRequest, CreateSnapLines, CreateSnapLinesRequest, CreateSummaryDragHandler, CreateSummaryDragHandlerRequest, DRAG_AND_DROP_COMMON_PROVIDERS, Deprecated, DragAndDropBase, DragConstraintPipeline, DropToGroupFinalize, DropToGroupFinalizeRequest, DropToGroupPreparation, DropToGroupPreparationRequest, EFConnectableSide, EFConnectionBehavior, EFConnectionType, EFMarkerType, EFResizeHandleType, EFZoomDirection, EmitSelectionChangeEventExecution, EmitSelectionChangeEventRequest, EndDragSequenceExecution, EndDragSequenceRequest, EventExtensions, ExternalRectConstraint, FBackgroundBase, FBackgroundComponent, FBezierPathBuilder, FCanvasBase, FCanvasChangeEvent, FCanvasComponent, FCanvasDragHandler, FCanvasMoveFinalizeExecution, FCanvasMoveFinalizeRequest, FCanvasMovePreparationExecution, FCanvasMovePreparationRequest, FChannel, FChannelHub, FCirclePatternComponent, FComponentsStore, FConnectionBase, FConnectionCenterDirective, FConnectionComponent, FConnectionDragHandleEndComponent, FConnectionDragHandleStartComponent, FConnectionFactory, FConnectionForCreateComponent, FConnectionGradientComponent, FConnectionPathComponent, FConnectionSelectionComponent, FConnectionTextComponent, FConnectionTextPathDirective, FConnectorBase, FCreateConnectionDragHandler, FCreateConnectionDragHandlerPreparationExecution, FCreateConnectionDragHandlerPreparationRequest, FCreateConnectionEvent, FCreateConnectionFinalizeExecution, FCreateConnectionFinalizeRequest, FCreateConnectionFromOutletPreparationExecution, FCreateConnectionFromOutletPreparationRequest, FCreateConnectionFromOutputPreparationExecution, FCreateConnectionFromOutputPreparationRequest, FCreateConnectionPreparationExecution, FCreateConnectionPreparationRequest, FCreateNodeEvent, FDragBlockerDirective, FDragHandleDirective, FDragHandlerResult, FDragStartedEvent, FDraggableBase, FDraggableDataContext, FDraggableDirective, FDropToGroupEvent, FExternalItemBase, FExternalItemCreatePlaceholderExecution, FExternalItemCreatePlaceholderRequest, FExternalItemCreatePreviewExecution, FExternalItemCreatePreviewRequest, FExternalItemDirective, FExternalItemDragHandler, FExternalItemFinalizeExecution, FExternalItemFinalizeRequest, FExternalItemPlaceholderDirective, FExternalItemPreparationExecution, FExternalItemPreparationRequest, FExternalItemPreviewDirective, FExternalItemService, FFlowBase, FFlowComponent, FFlowModule, FGroupDirective, FLineAlignmentBase, FLineAlignmentComponent, FMarkerBase, FMarkerDirective, FMinimapCanvasDirective, FMinimapComponent, FMinimapData, FMinimapDragHandler, FMinimapFlowDirective, FMinimapViewDirective, FMoveNodesEvent, FNodeBase, FNodeDirective, FNodeDropToGroupDragHandler, FNodeInputBase, FNodeInputDirective, FNodeIntersectedWithConnections, FNodeMoveFinalizeExecution, FNodeMoveFinalizeRequest, FNodeMovePreparationExecution, FNodeMovePreparationRequest, FNodeOutletBase, FNodeOutletDirective, FNodeOutputBase, FNodeOutputDirective, FNodeRotateDragHandler, FNodeRotateFinalizeExecution, FNodeRotateFinalizeRequest, FNodeRotatePreparationExecution, FNodeRotatePreparationRequest, FReassignConnectionDragHandler, FReassignConnectionEvent, FReassignConnectionFinalizeExecution, FReassignConnectionFinalizeRequest, FReassignConnectionPreparationExecution, FReassignConnectionPreparationRequest, FReassignSourceDragHandler, FReassignTargetDragHandler, FRectPatternComponent, FResizeChannel, FResizeHandleDirective, FRotateHandleDirective, FSegmentPathBuilder, FSelectionAreaBase, FSelectionAreaComponent, FSelectionChangeEvent, FSingleSelectExecution, FSingleSelectRequest, FSnapConnectionComponent, FStraightPathBuilder, FZoomBase, FZoomDirective, F_AFTER_MAIN_PLUGIN, F_BACKGROUND, F_BACKGROUND_FEATURES, F_BACKGROUND_PATTERN, F_BACKGROUND_PROVIDERS, F_BEFORE_MAIN_PLUGIN, F_CANVAS, F_CANVAS_FEATURES, F_CANVAS_PROVIDERS, F_CONNECTION_BUILDERS, F_CONNECTION_FEATURES, F_CONNECTION_IDENTIFIERS, F_CONNECTION_PROVIDERS, F_CONNECTORS_FEATURES, F_CONNECTORS_PROVIDERS, F_CSS_CLASS, F_DRAGGABLE_FEATURES, F_DRAGGABLE_PROVIDERS, F_EXTERNAL_ITEM, F_EXTERNAL_ITEM_DRAG_AND_DROP_PROVIDERS, F_EXTERNAL_ITEM_PROVIDERS, F_FLOW, F_FLOW_FEATURES, F_FLOW_PROVIDERS, F_LINE_ALIGNMENT, F_LINE_ALIGNMENT_FEATURES, F_LINE_ALIGNMENT_PROVIDERS, F_MARKER, F_MINIMAP_DRAG_AND_DROP_PROVIDERS, F_MINIMAP_PROVIDERS, F_NODE, F_NODE_FEATURES, F_NODE_INPUT, F_NODE_OUTLET, F_NODE_OUTPUT, F_NODE_PROVIDERS, F_SELECTED_CLASS, F_SELECTION_AREA_DRAG_AND_DROP_PROVIDERS, F_SELECTION_AREA_PROVIDERS, F_SELECTION_FEATURES, F_STORAGE_PROVIDERS, F_ZOOM, F_ZOOM_FEATURES, F_ZOOM_PROVIDERS, F_ZOOM_TAG, FindClosestConnectorExecution, FindClosestConnectorRequest, FindConnectableConnectorUsingPriorityAndPositionExecution, FindConnectableConnectorUsingPriorityAndPositionRequest, FitToChildNodesAndGroups, FitToChildNodesAndGroupsRequest, FitToFlowExecution, FitToFlowRequest, GET_FLOW_STATE_PROVIDERS, GetAllCanBeConnectedInputsAndRectsExecution, GetAllCanBeConnectedInputsAndRectsRequest, GetAllCanBeConnectedSourceConnectorsAndRectsExecution, GetAllCanBeConnectedSourceConnectorsAndRectsRequest, GetCanBeSelectedItemsExecution, GetCanBeSelectedItemsRequest, GetCanvasExecution, GetCanvasRequest, GetChildNodeIds, GetChildNodeIdsRequest, GetConnectorAndRectExecution, GetConnectorAndRectRequest, GetCurrentSelectionExecution, GetCurrentSelectionRequest, GetDeepChildrenNodesAndGroupsExecution, GetDeepChildrenNodesAndGroupsRequest, GetElementRoundedRectExecution, GetElementRoundedRectRequest, GetFirstConnectableOutputExecution, GetFirstConnectableOutputRequest, GetFlowExecution, GetFlowHostElementExecution, GetFlowHostElementRequest, GetFlowRequest, GetFlowStateConnectionsExecution, GetFlowStateConnectionsRequest, GetFlowStateExecution, GetFlowStateNodesExecution, GetFlowStateNodesRequest, GetFlowStateRequest, GetNodeBoundingIncludePaddings, GetNodeBoundingIncludePaddingsRequest, GetNodeBoundingIncludePaddingsResponse, GetNodePadding, GetNodePaddingRequest, GetNodes, GetNodesRequest, GetNormalizedConnectorRectExecution, GetNormalizedConnectorRectRequest, GetNormalizedElementRectExecution, GetNormalizedElementRectRequest, GetNormalizedParentNodeRectExecution, GetNormalizedParentNodeRectRequest, GetNormalizedPointExecution, GetNormalizedPointRequest, GetParentNodes, GetParentNodesRequest, IMouseEvent, IPointerEvent, IPointerUpEvent, ITouchDownEvent, ITouchMoveEvent, InitializeDragSequenceExecution, InitializeDragSequenceRequest, InputCanvasPositionExecution, InputCanvasPositionRequest, InputCanvasScaleExecution, InputCanvasScaleRequest, IsArrayHasParentNodeExecution, IsArrayHasParentNodeRequest, IsConnectionUnderNodeExecution, IsConnectionUnderNodeRequest, IsDragStarted, IsDragStartedRequest, ListenCountChangesExecution, ListenCountChangesRequest, ListenDataChangesExecution, ListenDataChangesRequest, ListenTransformChangesExecution, ListenTransformChangesRequest, LogExecutionTime, MINIMAP_DRAG_FINALIZE_PROVIDERS, MINIMAP_DRAG_PREPARATION_PROVIDERS, MOUSE_EVENT_IGNORE_TIME, MarkConnectableConnectorsExecution, MarkConnectableConnectorsRequest, MinimapCalculateSvgScaleAndViewBoxExecution, MinimapCalculateSvgScaleAndViewBoxRequest, MinimapCalculateViewBoxExecution, MinimapCalculateViewBoxRequest, MinimapDragFinalizeExecution, MinimapDragFinalizeRequest, MinimapDragPreparationExecution, MinimapDragPreparationRequest, MinimapDrawNodesExecution, MinimapDrawNodesRequest, MoveDragHandler, MoveFrontElementsBeforeTargetElementExecution, MoveFrontElementsBeforeTargetElementRequest, MoveSummaryDragHandler, NODE_DROP_TO_GROUP_PROVIDERS, NODE_PROVIDERS, NODE_RESIZE_PROVIDERS, NODE_ROTATE_PROVIDERS, NodeResizeDragHandler, NodeResizeFinalize, NodeResizeFinalizeRequest, NodeResizePreparation, NodeResizePreparationRequest, NotifyDataChangedExecution, NotifyDataChangedRequest, NotifyTransformChangedExecution, NotifyTransformChangedRequest, OnPointerMoveExecution, OnPointerMoveRequest, PrepareDragSequenceExecution, PrepareDragSequenceRequest, PreventDefaultIsExternalItemExecution, PreventDefaultIsExternalItemRequest, RESIZE_DIRECTIONS, RectConstraint, RedrawCanvasWithAnimationExecution, RedrawCanvasWithAnimationRequest, RedrawConnectionsExecution, RedrawConnectionsRequest, RemoveBackgroundFromStoreExecution, RemoveBackgroundFromStoreRequest, RemoveCanvasFromStoreExecution, RemoveCanvasFromStoreRequest, RemoveConnectionForCreateFromStoreExecution, RemoveConnectionForCreateFromStoreRequest, RemoveConnectionFromStoreExecution, RemoveConnectionFromStoreRequest, RemoveConnectionMarkerFromStoreExecution, RemoveConnectionMarkerFromStoreRequest, RemoveDndFromStoreExecution, RemoveDndFromStoreRequest, RemoveFlowFromStoreExecution, RemoveFlowFromStoreRequest, RemoveInputFromStoreExecution, RemoveInputFromStoreRequest, RemoveLineAlignmentFromStoreExecution, RemoveLineAlignmentFromStoreRequest, RemoveNodeFromStore, RemoveNodeFromStoreRequest, RemoveOutletFromStoreExecution, RemoveOutletFromStoreRequest, RemoveOutputFromStoreExecution, RemoveOutputFromStoreRequest, RemoveSnapConnectionFromStoreExecution, RemoveSnapConnectionFromStoreRequest, RemoveZoomFromStoreExecution, RemoveZoomFromStoreRequest, ResetScaleAndCenterExecution, ResetScaleAndCenterRequest, ResetScaleExecution, ResetScaleRequest, ResetZoomExecution, ResetZoomRequest, SINGLE_SELECT_PROVIDERS, SelectAllExecution, SelectAllRequest, SelectAndUpdateNodeLayerExecution, SelectAndUpdateNodeLayerRequest, SelectExecution, SelectRequest, SelectionAreaDragHandle, SelectionAreaFinalizeExecution, SelectionAreaFinalizeRequest, SelectionAreaPreparationExecution, SelectionAreaPreparationRequest, SetBackgroundTransformExecution, SetBackgroundTransformRequest, SetZoomExecution, SetZoomRequest, SnapLineElement, SnapLineService, SnapLinesDragHandler, SnapToGrid, SortContainersForDropByLayer, SortContainersForDropByLayerRequest, SortItemLayersExecution, SortItemLayersRequest, SortItemsByParentExecution, SortItemsByParentRequest, SortNodeLayersExecution, SortNodeLayersRequest, SourceConnectionDragHandler, SourceTargetConnectionDragHandler, StartDragSequenceExecution, StartDragSequenceRequest, TargetConnectionDragHandler, UnmarkConnectableConnectorsExecution, UnmarkConnectableConnectorsRequest, UpdateItemAndChildrenLayersExecution, UpdateItemAndChildrenLayersRequest, UpdateNodeWhenStateOrSizeChanged, UpdateNodeWhenStateOrSizeChangedRequest, UpdateScaleExecution, UpdateScaleRequest, createSVGElement, debounceTime, defaultEventTrigger, expandRectFromBaseline, fixedCenterBehavior, fixedOutboundBehavior, floatingBehavior, getExternalItem, getMarkerEndId, getMarkerSelectedEndId, getMarkerSelectedStartId, getMarkerStartId, infinityMinMax, isClosestConnectorInsideSnapThreshold, isDragBlocker, isDragHandleEnd, isDragHandleStart, isExternalItem, isMobile, isNode, isNodeOutlet, isNodeOutput, isPointerInsideStartOrEndDragHandles, isRotateHandle, isValidEventTrigger, mixinChangeSelection, mixinChangeVisibility, notifyOnStart, roundedRectFromPoint, transitionEnd };
|
|
11823
11802
|
//# sourceMappingURL=foblex-flow.mjs.map
|