@foblex/flow 12.6.6 → 14.0.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/{f-backgroud/domain → domain/f-background}/add-pattern-to-background/add-pattern-to-background.request.d.ts +1 -1
- package/domain/f-background/index.d.ts +2 -0
- package/domain/f-canvas/index.d.ts +8 -0
- package/{f-draggable/connections/common → domain/f-connection}/get-all-can-be-connected-input-positions/get-all-can-be-connected-input-positions.execution.d.ts +1 -1
- package/{f-draggable/connections/common → domain/f-connection}/get-connector-with-rect/get-connector-with-rect-request.d.ts +1 -1
- package/{f-draggable/connections/common → domain/f-connection}/get-connector-with-rect/i-connector-with-rect.d.ts +1 -1
- package/{f-draggable/connections/common → domain/f-connection}/index.d.ts +0 -1
- package/domain/f-connection/providers.d.ts +4 -0
- package/domain/get-flow-state/providers.d.ts +1 -1
- package/domain/index.d.ts +3 -0
- package/domain/providers.d.ts +1 -1
- package/{esm2015/domain/create-connection-markers/create-connection-markers.execution.js → esm2020/domain/create-connection-markers/create-connection-markers.execution.mjs} +4 -4
- package/{esm2015/domain/create-rounded-rect-from-element/create-rounded-rect-from-element.execution.js → esm2020/domain/create-rounded-rect-from-element/create-rounded-rect-from-element.execution.mjs} +4 -4
- package/{esm2015/domain/emit-transform-changes/emit-transform-changes.execution.js → esm2020/domain/emit-transform-changes/emit-transform-changes.execution.mjs} +4 -4
- package/esm2020/domain/f-background/add-pattern-to-background/add-pattern-to-background.execution.mjs +47 -0
- package/esm2020/domain/f-background/add-pattern-to-background/add-pattern-to-background.request.mjs +6 -0
- package/esm2020/domain/f-background/add-pattern-to-background/index.mjs +3 -0
- package/esm2020/domain/f-background/index.mjs +3 -0
- package/esm2020/domain/f-background/providers.mjs +5 -0
- package/{esm2015/f-canvas/domain/center-group-or-node/center-group-or-node-request.js → esm2020/domain/f-canvas/center-group-or-node/center-group-or-node-request.mjs} +1 -1
- package/{esm2015/f-canvas/domain/center-group-or-node/center-group-or-node.execution.js → esm2020/domain/f-canvas/center-group-or-node/center-group-or-node.execution.mjs} +4 -4
- package/{esm2015/f-canvas/domain/center-group-or-node/index.js → esm2020/domain/f-canvas/center-group-or-node/index.mjs} +1 -1
- package/{esm2015/f-canvas/domain/fit-to-flow/fit-to-flow-request.js → esm2020/domain/f-canvas/fit-to-flow/fit-to-flow-request.mjs} +1 -1
- package/{esm2015/f-canvas/domain/fit-to-flow/fit-to-flow.execution.js → esm2020/domain/f-canvas/fit-to-flow/fit-to-flow.execution.mjs} +4 -4
- package/{esm2015/f-canvas/domain/fit-to-flow/index.js → esm2020/domain/f-canvas/fit-to-flow/index.mjs} +1 -1
- package/esm2020/domain/f-canvas/index.mjs +9 -0
- package/{esm2015/f-canvas/domain/input-canvas-position/index.js → esm2020/domain/f-canvas/input-canvas-position/index.mjs} +1 -1
- package/{esm2015/f-canvas/domain/input-canvas-position/input-canvas-position-request.js → esm2020/domain/f-canvas/input-canvas-position/input-canvas-position-request.mjs} +1 -1
- package/esm2020/domain/f-canvas/input-canvas-position/input-canvas-position.execution.mjs +33 -0
- package/{esm2015/f-canvas/domain/input-canvas-scale/index.js → esm2020/domain/f-canvas/input-canvas-scale/index.mjs} +1 -1
- package/{esm2015/f-canvas/domain/input-canvas-scale/input-canvas-scale-request.js → esm2020/domain/f-canvas/input-canvas-scale/input-canvas-scale-request.mjs} +1 -1
- package/esm2020/domain/f-canvas/input-canvas-scale/input-canvas-scale.execution.mjs +28 -0
- package/{esm2015/f-canvas/domain/providers.js → esm2020/domain/f-canvas/providers.mjs} +1 -1
- package/{esm2015/f-canvas/domain/reset-scale/index.js → esm2020/domain/f-canvas/reset-scale/index.mjs} +1 -1
- package/{esm2015/f-canvas/domain/reset-scale/reset-scale-request.js → esm2020/domain/f-canvas/reset-scale/reset-scale-request.mjs} +1 -1
- package/{esm2015/f-canvas/domain/reset-scale/reset-scale.execution.js → esm2020/domain/f-canvas/reset-scale/reset-scale.execution.mjs} +4 -4
- package/{esm2015/f-canvas/domain/reset-scale-and-center/index.js → esm2020/domain/f-canvas/reset-scale-and-center/index.mjs} +1 -1
- package/{esm2015/f-canvas/domain/reset-scale-and-center/reset-scale-and-center-request.js → esm2020/domain/f-canvas/reset-scale-and-center/reset-scale-and-center-request.mjs} +1 -1
- package/{esm2015/f-canvas/domain/reset-scale-and-center/reset-scale-and-center.execution.js → esm2020/domain/f-canvas/reset-scale-and-center/reset-scale-and-center.execution.mjs} +4 -4
- package/{esm2015/f-canvas/domain/update-scale/index.js → esm2020/domain/f-canvas/update-scale/index.mjs} +1 -1
- package/{esm2015/f-canvas/domain/update-scale/update-scale-request.js → esm2020/domain/f-canvas/update-scale/update-scale-request.mjs} +1 -1
- package/{esm2015/f-canvas/domain/update-scale/update-scale.execution.js → esm2020/domain/f-canvas/update-scale/update-scale.execution.mjs} +4 -4
- package/esm2020/domain/f-connection/find-closest-input-using-snap-threshold/find-closest-input-using-snap-threshold.execution.mjs +39 -0
- package/esm2020/domain/f-connection/find-closest-input-using-snap-threshold/find-closest-input-using-snap-threshold.request.mjs +8 -0
- package/esm2020/domain/f-connection/find-closest-input-using-snap-threshold/index.mjs +3 -0
- package/esm2020/domain/f-connection/get-all-can-be-connected-input-positions/get-all-can-be-connected-input-positions.execution.mjs +55 -0
- package/esm2020/domain/f-connection/get-all-can-be-connected-input-positions/get-all-can-be-connected-input-positions.request.mjs +6 -0
- package/esm2020/domain/f-connection/get-all-can-be-connected-input-positions/index.mjs +3 -0
- package/esm2020/domain/f-connection/get-connector-with-rect/get-connector-with-rect-request.mjs +6 -0
- package/esm2020/domain/f-connection/get-connector-with-rect/get-connector-with-rect.execution.mjs +28 -0
- package/esm2020/domain/f-connection/get-connector-with-rect/i-connector-with-rect.mjs +2 -0
- package/esm2020/domain/f-connection/get-connector-with-rect/index.mjs +4 -0
- package/esm2020/domain/f-connection/index.mjs +5 -0
- package/esm2020/domain/f-connection/providers.mjs +9 -0
- package/{esm2015/domain/f-selection/clear-selection/clear-selection.execution.js → esm2020/domain/f-selection/clear-selection/clear-selection.execution.mjs} +4 -4
- package/{esm2015/domain/f-selection/get-selection/get-selection.execution.js → esm2020/domain/f-selection/get-selection/get-selection.execution.mjs} +4 -4
- package/{esm2015/domain/f-selection/select/select.execution.js → esm2020/domain/f-selection/select/select.execution.mjs} +4 -4
- package/{esm2015/domain/f-selection/select-all/select-all.execution.js → esm2020/domain/f-selection/select-all/select-all.execution.mjs} +4 -4
- package/{esm2015/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.execution.js → esm2020/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.execution.mjs} +4 -4
- package/{esm2015/domain/get-can-be-selected-items/get-can-be-selected-items.execution.js → esm2020/domain/get-can-be-selected-items/get-can-be-selected-items.execution.mjs} +4 -4
- package/{esm2015/domain/get-connection-line/get-connection-line.execution.js → esm2020/domain/get-connection-line/get-connection-line.execution.mjs} +4 -4
- package/{esm2015/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.execution.js → esm2020/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.execution.mjs} +4 -4
- package/{esm2015/domain/get-element-rect-in-flow/get-element-rect-in-flow.execution.js → esm2020/domain/get-element-rect-in-flow/get-element-rect-in-flow.execution.mjs} +4 -4
- package/{esm2015/domain/get-flow-state/get-flow-state-connections/get-flow-state-connections.execution.js → esm2020/domain/get-flow-state/get-flow-state-connections/get-flow-state-connections.execution.mjs} +4 -4
- package/{esm2015/domain/get-flow-state/get-flow-state-nodes/get-flow-state-nodes.execution.js → esm2020/domain/get-flow-state/get-flow-state-nodes/get-flow-state-nodes.execution.mjs} +4 -4
- package/{esm2015/domain/get-flow-state/get-flow-state.execution.js → esm2020/domain/get-flow-state/get-flow-state.execution.mjs} +4 -4
- package/{esm2015/domain/get-nodes-rect/get-nodes-rect.execution.js → esm2020/domain/get-nodes-rect/get-nodes-rect.execution.mjs} +4 -4
- package/{esm2015/domain/get-position-in-flow/get-position-in-flow.execution.js → esm2020/domain/get-position-in-flow/get-position-in-flow.execution.mjs} +4 -4
- package/{esm2015/domain/get-scaled-node-rects-with-flow-position/get-scaled-node-rects-with-flow-position.execution.js → esm2020/domain/get-scaled-node-rects-with-flow-position/get-scaled-node-rects-with-flow-position.execution.mjs} +4 -4
- package/esm2020/domain/index.mjs +26 -0
- package/{esm2015/domain/is-connection-under-node/is-connection-under-node.execution.js → esm2020/domain/is-connection-under-node/is-connection-under-node.execution.mjs} +4 -4
- package/esm2020/domain/providers.mjs +48 -0
- package/{esm2015/domain/redraw-connections/redraw-connections.execution.js → esm2020/domain/redraw-connections/redraw-connections.execution.mjs} +4 -4
- package/{esm2015/domain/show-connections-after-calculations/show-connections-after-calculations.execution.js → esm2020/domain/show-connections-after-calculations/show-connections-after-calculations.execution.mjs} +4 -4
- package/{esm2015/domain/sort-item-layers/sort-item-layers.execution.js → esm2020/domain/sort-item-layers/sort-item-layers.execution.mjs} +4 -4
- package/{esm2015/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.execution.js → esm2020/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.execution.mjs} +4 -4
- package/{esm2015/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.execution.js → esm2020/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.execution.mjs} +4 -4
- package/{esm2015/domain/subscribe-on-transform-changes/subscribe-on-transform-changes.execution.js → esm2020/domain/subscribe-on-transform-changes/subscribe-on-transform-changes.execution.mjs} +4 -4
- package/{esm2015/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element.execution.js → esm2020/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element.execution.mjs} +4 -4
- package/{esm2015/domain/update-item-and-children-layers/update-item-and-children-layers.execution.js → esm2020/domain/update-item-and-children-layers/update-item-and-children-layers.execution.mjs} +4 -4
- package/esm2020/f-backgroud/domain/index.mjs +2 -0
- package/{esm2015/f-backgroud/f-background-base.js → esm2020/f-backgroud/f-background-base.mjs} +4 -4
- package/esm2020/f-backgroud/f-background.component.mjs +45 -0
- package/{esm2015/f-backgroud/f-circle-pattern/f-circle-pattern.component.js → esm2020/f-backgroud/f-circle-pattern/f-circle-pattern.component.mjs} +4 -4
- package/{esm2015/f-backgroud/f-rect-pattern/f-rect-pattern.component.js → esm2020/f-backgroud/f-rect-pattern/f-rect-pattern.component.mjs} +4 -4
- package/esm2020/f-canvas/domain/index.mjs +2 -0
- package/{esm2015/f-canvas/f-canvas-base.js → esm2020/f-canvas/f-canvas-base.mjs} +4 -4
- package/esm2020/f-canvas/f-canvas.component.mjs +86 -0
- package/esm2020/f-connection/common/f-connection-base.mjs +66 -0
- package/{esm2015/f-connection/common/f-connection-text/f-connection-text-path.directive.js → esm2020/f-connection/common/f-connection-text/f-connection-text-path.directive.mjs} +4 -4
- package/esm2020/f-connection/common/f-connection-text/f-connection-text.component.mjs +66 -0
- package/{esm2015/f-connection/common/f-drag-handle/f-connection-drag-handle.component.js → esm2020/f-connection/common/f-drag-handle/f-connection-drag-handle.component.mjs} +4 -4
- package/{esm2015/f-connection/common/f-gradient/f-connection-gradient.component.js → esm2020/f-connection/common/f-gradient/f-connection-gradient.component.mjs} +6 -12
- package/{esm2015/f-connection/common/f-path/f-connection-path.component.js → esm2020/f-connection/common/f-path/f-connection-path.component.mjs} +4 -4
- package/{esm2015/f-connection/common/f-selection/f-connection-selection.component.js → esm2020/f-connection/common/f-selection/f-connection-selection.component.mjs} +4 -4
- package/esm2020/f-connection/f-connection/f-connection.component.mjs +171 -0
- package/esm2020/f-connection/f-connection-builder/f-connection-factory.mjs +34 -0
- package/{esm2015/f-connection/f-connection-center/f-connection-center.directive.js → esm2020/f-connection/f-connection-center/f-connection-center.directive.mjs} +4 -4
- package/esm2020/f-connection/f-connection-for-create/f-connection-for-create.component.mjs +136 -0
- package/{esm2015/f-connection/f-marker/f-marker-base.js → esm2020/f-connection/f-marker/f-marker-base.mjs} +4 -4
- package/{esm2015/f-connection/f-marker/f-marker.directive.js → esm2020/f-connection/f-marker/f-marker.directive.mjs} +4 -4
- package/esm2020/f-connection/f-snap-connection/f-snap-connection.component.mjs +136 -0
- package/{esm2015/f-connectors/f-node-input/f-node-input-base.js → esm2020/f-connectors/f-node-input/f-node-input-base.mjs} +4 -4
- package/{esm2015/f-connectors/f-node-input/f-node-input.directive.js → esm2020/f-connectors/f-node-input/f-node-input.directive.mjs} +4 -4
- package/{esm2015/f-connectors/f-node-outlet/f-node-outlet-base.js → esm2020/f-connectors/f-node-outlet/f-node-outlet-base.mjs} +4 -4
- package/{esm2015/f-connectors/f-node-outlet/f-node-outlet.directive.js → esm2020/f-connectors/f-node-outlet/f-node-outlet.directive.mjs} +4 -4
- package/{esm2015/f-connectors/f-node-output/f-node-output-base.js → esm2020/f-connectors/f-node-output/f-node-output-base.mjs} +4 -4
- package/{esm2015/f-connectors/f-node-output/f-node-output.directive.js → esm2020/f-connectors/f-node-output/f-node-output.directive.mjs} +4 -4
- package/{esm2015/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.execution.js → esm2020/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.execution.mjs} +5 -5
- package/{esm2015/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.validator.js → esm2020/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.validator.mjs} +4 -4
- package/{esm2015/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.execution.js → esm2020/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.execution.mjs} +4 -4
- package/esm2020/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.validator.mjs +43 -0
- package/esm2020/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.execution.mjs +55 -0
- package/{esm2015/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.validator.js → esm2020/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.validator.mjs} +4 -4
- package/{esm2015/f-draggable/connections/create-connection/create-connection-finalize/index.js → esm2020/f-draggable/connections/create-connection/create-connection-finalize/index.mjs} +1 -2
- package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.execution.js → esm2020/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.execution.mjs} +4 -4
- package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/index.js → esm2020/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/index.mjs} +1 -2
- package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.execution.js → esm2020/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.execution.mjs} +4 -4
- package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/index.js → esm2020/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/index.mjs} +1 -2
- package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.execution.js → esm2020/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.execution.mjs} +4 -4
- package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.validator.js → esm2020/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.validator.mjs} +4 -4
- package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/index.js → esm2020/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/index.mjs} +1 -2
- package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.execution.js → esm2020/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.execution.mjs} +4 -4
- package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.validator.js → esm2020/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.validator.mjs} +4 -4
- package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/index.js → esm2020/f-draggable/connections/create-connection/create-connection-preparation/index.mjs} +1 -2
- package/esm2020/f-draggable/connections/create-connection/create-connection.drag-handler.mjs +61 -0
- package/{esm2015/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.execution.js → esm2020/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.execution.mjs} +4 -4
- package/{esm2015/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.validator.js → esm2020/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.validator.mjs} +4 -4
- package/{esm2015/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/index.js → esm2020/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/index.mjs} +1 -2
- package/esm2020/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.execution.mjs +85 -0
- package/esm2020/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.request.mjs +7 -0
- package/esm2020/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.validator.mjs +35 -0
- package/esm2020/f-draggable/connections/get-input-under-pointer/index.mjs +4 -0
- package/esm2020/f-draggable/connections/index.mjs +5 -0
- package/esm2020/f-draggable/connections/providers.mjs +22 -0
- package/{esm2015/f-draggable/connections/reassign-connection/reassign-connection-finalize/index.js → esm2020/f-draggable/connections/reassign-connection/reassign-connection-finalize/index.mjs} +1 -2
- package/esm2020/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.execution.mjs +50 -0
- package/{esm2015/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.validator.js → esm2020/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.validator.mjs} +4 -4
- package/{esm2015/f-draggable/connections/reassign-connection/reassign-connection-preparation/index.js → esm2020/f-draggable/connections/reassign-connection/reassign-connection-preparation/index.mjs} +1 -2
- package/{esm2015/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.execution.js → esm2020/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.execution.mjs} +4 -4
- package/{esm2015/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.validator.js → esm2020/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.validator.mjs} +4 -4
- package/esm2020/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.mjs +58 -0
- package/{esm2015/f-draggable/domain/get-node-padding/get-node-padding.execution.js → esm2020/f-draggable/domain/get-node-padding/get-node-padding.execution.mjs} +4 -4
- package/{esm2015/f-draggable/domain/get-normalized-node-rect/get-normalized-node-rect.execution.js → esm2020/f-draggable/domain/get-normalized-node-rect/get-normalized-node-rect.execution.mjs} +4 -4
- package/{esm2015/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.execution.js → esm2020/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.execution.mjs} +4 -4
- package/{esm2015/f-draggable/domain/get-parent-nodes/get-parent-nodes.execution.js → esm2020/f-draggable/domain/get-parent-nodes/get-parent-nodes.execution.mjs} +4 -4
- package/{esm2015/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.execution.js → esm2020/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.execution.mjs} +4 -4
- package/{esm2015/f-draggable/f-draggable-base.js → esm2020/f-draggable/f-draggable-base.mjs} +4 -4
- package/{esm2015/f-draggable/f-draggable-data-context.js → esm2020/f-draggable/f-draggable-data-context.mjs} +4 -4
- package/esm2020/f-draggable/f-draggable.directive.mjs +160 -0
- package/esm2020/f-draggable/node/connection-base-drag-handler.mjs +39 -0
- package/esm2020/f-draggable/node/connection-source.drag-handler.mjs +17 -0
- package/esm2020/f-draggable/node/connection-target.drag-handler.mjs +17 -0
- package/esm2020/f-draggable/node/connection.drag-handler.mjs +21 -0
- package/esm2020/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.execution.mjs +85 -0
- package/esm2020/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/get-node-move-restrictions.execution.mjs +44 -0
- package/{esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/put-input-connection-handlers-to-array.execution.js → esm2020/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/put-input-connection-handlers-to-array.execution.mjs} +4 -4
- package/{esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/put-output-connection-handlers-to-array.execution.js → esm2020/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/put-output-connection-handlers-to-array.execution.mjs} +4 -4
- package/esm2020/f-draggable/node/node-move-finalize/node-move-finalize.execution.mjs +51 -0
- package/{esm2015/f-draggable/node/node-move-finalize/node-move-finalize.validator.js → esm2020/f-draggable/node/node-move-finalize/node-move-finalize.validator.mjs} +4 -4
- package/{esm2015/f-draggable/node/node-move-preparation/node-move-preparation.execution.js → esm2020/f-draggable/node/node-move-preparation/node-move-preparation.execution.mjs} +5 -6
- package/{esm2015/f-draggable/node/node-move-preparation/node-move-preparation.validator.js → esm2020/f-draggable/node/node-move-preparation/node-move-preparation.validator.mjs} +4 -4
- package/esm2020/f-draggable/node/node.drag-handler.mjs +33 -0
- package/{esm2015/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.execution.js → esm2020/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.execution.mjs} +4 -4
- package/{esm2015/f-draggable/node-resize/apply-parent-resize-restrictions/apply-parent-resize-restrictions.execution.js → esm2020/f-draggable/node-resize/apply-parent-resize-restrictions/apply-parent-resize-restrictions.execution.mjs} +4 -4
- package/{esm2015/f-draggable/node-resize/calculate-changed-position/calculate-changed-position.execution.js → esm2020/f-draggable/node-resize/calculate-changed-position/calculate-changed-position.execution.mjs} +4 -4
- package/{esm2015/f-draggable/node-resize/calculate-changed-size/calculate-changed-size.execution.js → esm2020/f-draggable/node-resize/calculate-changed-size/calculate-changed-size.execution.mjs} +4 -4
- package/{esm2015/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.execution.js → esm2020/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.execution.mjs} +4 -4
- package/{esm2015/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.execution.js → esm2020/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.execution.mjs} +4 -4
- package/{esm2015/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.execution.js → esm2020/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.execution.mjs} +5 -6
- package/{esm2015/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.validator.js → esm2020/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.validator.mjs} +4 -4
- package/{esm2015/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.execution.js → esm2020/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.execution.mjs} +4 -4
- package/{esm2015/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.validator.js → esm2020/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.validator.mjs} +4 -4
- package/esm2020/f-draggable/providers.mjs +21 -0
- package/esm2020/f-draggable/single-select/single-select.execution.mjs +89 -0
- package/{esm2015/f-draggable/single-select/single-select.validator.js → esm2020/f-draggable/single-select/single-select.validator.mjs} +4 -4
- package/{esm2015/f-external-item/domain/external-item-finalize/external-item-finalize.execution.js → esm2020/f-external-item/domain/external-item-finalize/external-item-finalize.execution.mjs} +4 -4
- package/{esm2015/f-external-item/domain/external-item-finalize/external-item-finalize.validator.js → esm2020/f-external-item/domain/external-item-finalize/external-item-finalize.validator.mjs} +4 -4
- package/{esm2015/f-external-item/domain/external-item-preparation/external-item-preparation.execution.js → esm2020/f-external-item/domain/external-item-preparation/external-item-preparation.execution.mjs} +4 -4
- package/{esm2015/f-external-item/domain/external-item-preparation/external-item-preparation.validator.js → esm2020/f-external-item/domain/external-item-preparation/external-item-preparation.validator.mjs} +4 -4
- package/{esm2015/f-external-item/f-external-item-base.js → esm2020/f-external-item/f-external-item-base.mjs} +4 -4
- package/{esm2015/f-external-item/f-external-item.directive.js → esm2020/f-external-item/f-external-item.directive.mjs} +4 -4
- package/{esm2015/f-external-item/f-external-item.service.js → esm2020/f-external-item/f-external-item.service.mjs} +4 -4
- package/esm2020/f-flow/f-flow.component.mjs +118 -0
- package/{esm2015/f-flow.module.js → esm2020/f-flow.module.mjs} +5 -7
- package/{esm2015/f-line-alignment/f-line-alignment-base.js → esm2020/f-line-alignment/f-line-alignment-base.mjs} +4 -4
- package/{esm2015/f-line-alignment/f-line-alignment.component.js → esm2020/f-line-alignment/f-line-alignment.component.mjs} +7 -14
- package/{esm2015/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.execution.js → esm2020/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.execution.mjs} +4 -4
- package/esm2020/f-minimap/domain/f-minimap.drag-handler.mjs +35 -0
- package/{esm2015/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.execution.js → esm2020/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.execution.mjs} +5 -6
- package/{esm2015/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.validator.js → esm2020/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.validator.mjs} +4 -4
- package/{esm2015/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.execution.js → esm2020/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.execution.mjs} +4 -4
- package/{esm2015/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.validator.js → esm2020/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.validator.mjs} +4 -4
- package/{esm2015/f-minimap/f-minimap-canvas.directive.js → esm2020/f-minimap/f-minimap-canvas.directive.mjs} +4 -4
- package/{esm2015/f-minimap/f-minimap-flow.directive.js → esm2020/f-minimap/f-minimap-flow.directive.mjs} +4 -4
- package/{esm2015/f-minimap/f-minimap-view.directive.js → esm2020/f-minimap/f-minimap-view.directive.mjs} +4 -4
- package/esm2020/f-minimap/f-minimap.component.mjs +68 -0
- package/{esm2015/f-node/f-drag-handle/f-drag-handle.directive.js → esm2020/f-node/f-drag-handle/f-drag-handle.directive.mjs} +4 -4
- package/{esm2015/f-node/f-group.directive.js → esm2020/f-node/f-group.directive.mjs} +4 -4
- package/{esm2015/f-node/f-node.directive.js → esm2020/f-node/f-node.directive.mjs} +4 -4
- package/{esm2015/f-node/f-resize-handle/f-resize-handle.directive.js → esm2020/f-node/f-resize-handle/f-resize-handle.directive.mjs} +4 -4
- package/{esm2015/f-selection-area/domain/selection-area-finalize/selection-area-finalize.execution.js → esm2020/f-selection-area/domain/selection-area-finalize/selection-area-finalize.execution.mjs} +5 -6
- package/{esm2015/f-selection-area/domain/selection-area-finalize/selection-area-finalize.validator.js → esm2020/f-selection-area/domain/selection-area-finalize/selection-area-finalize.validator.mjs} +4 -4
- package/{esm2015/f-selection-area/domain/selection-area-preparation/selection-area-preparation.execution.js → esm2020/f-selection-area/domain/selection-area-preparation/selection-area-preparation.execution.mjs} +4 -4
- package/{esm2015/f-selection-area/domain/selection-area-preparation/selection-area-preparation.validator.js → esm2020/f-selection-area/domain/selection-area-preparation/selection-area-preparation.validator.mjs} +4 -4
- package/{esm2015/f-selection-area/f-selection-area-base.js → esm2020/f-selection-area/f-selection-area-base.mjs} +4 -4
- package/{esm2015/f-selection-area/f-selection-area.component.js → esm2020/f-selection-area/f-selection-area.component.mjs} +7 -13
- package/esm2020/f-storage/f-components-store.mjs +50 -0
- package/{esm2015/f-storage/f-transform-store.js → esm2020/f-storage/f-transform-store.mjs} +4 -4
- package/esm2020/f-zoom/f-zoom-base.mjs +97 -0
- package/{esm2015/f-zoom/f-zoom.directive.js → esm2020/f-zoom/f-zoom.directive.mjs} +4 -4
- package/esm2020/mixins/change-selection/change-selection.mjs +28 -0
- package/f-backgroud/domain/index.d.ts +0 -2
- package/f-backgroud/f-background-base.d.ts +1 -1
- package/f-backgroud/f-background.component.d.ts +1 -1
- package/f-backgroud/f-circle-pattern/f-circle-pattern.component.d.ts +1 -1
- package/f-backgroud/f-rect-pattern/f-rect-pattern.component.d.ts +1 -1
- package/f-canvas/domain/index.d.ts +0 -8
- package/f-canvas/f-canvas-base.d.ts +1 -1
- package/f-canvas/f-canvas.component.d.ts +1 -1
- package/f-connection/common/f-connection-base.d.ts +1 -1
- package/f-connection/common/f-connection-text/f-connection-text-path.directive.d.ts +1 -1
- package/f-connection/common/f-connection-text/f-connection-text.component.d.ts +1 -1
- package/f-connection/common/f-drag-handle/f-connection-drag-handle.component.d.ts +1 -1
- package/f-connection/common/f-gradient/f-connection-gradient.component.d.ts +1 -1
- package/f-connection/common/f-path/f-connection-path.component.d.ts +1 -1
- package/f-connection/common/f-selection/f-connection-selection.component.d.ts +1 -1
- package/f-connection/f-connection/f-connection.component.d.ts +1 -1
- package/f-connection/f-connection-center/f-connection-center.directive.d.ts +1 -1
- package/f-connection/f-connection-for-create/f-connection-for-create.component.d.ts +1 -1
- package/f-connection/f-marker/f-marker-base.d.ts +1 -1
- package/f-connection/f-marker/f-marker.directive.d.ts +1 -1
- package/f-connection/f-snap-connection/f-snap-connection.component.d.ts +1 -1
- package/f-connectors/f-node-input/f-node-input-base.d.ts +1 -1
- package/f-connectors/f-node-input/f-node-input.directive.d.ts +1 -1
- package/f-connectors/f-node-outlet/f-node-outlet-base.d.ts +1 -1
- package/f-connectors/f-node-outlet/f-node-outlet.directive.d.ts +1 -1
- package/f-connectors/f-node-output/f-node-output-base.d.ts +1 -1
- package/f-connectors/f-node-output/f-node-output.directive.d.ts +1 -1
- package/f-draggable/connections/create-connection/create-connection-finalize/index.d.ts +0 -1
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/index.d.ts +0 -1
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/index.d.ts +0 -1
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/index.d.ts +0 -1
- package/f-draggable/connections/create-connection/create-connection-preparation/index.d.ts +0 -1
- package/f-draggable/connections/create-connection/create-connection.drag-handler.d.ts +1 -1
- package/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/index.d.ts +0 -1
- package/f-draggable/connections/{common/get-input-under-pointer → get-input-under-pointer}/get-input-under-pointer.execution.d.ts +3 -3
- package/f-draggable/connections/{common/get-input-under-pointer → get-input-under-pointer}/get-input-under-pointer.request.d.ts +2 -2
- package/f-draggable/connections/{common/get-input-under-pointer → get-input-under-pointer}/get-input-under-pointer.validator.d.ts +1 -1
- package/f-draggable/connections/index.d.ts +1 -1
- package/f-draggable/connections/providers.d.ts +4 -1
- package/f-draggable/connections/reassign-connection/reassign-connection-finalize/index.d.ts +0 -1
- package/f-draggable/connections/reassign-connection/reassign-connection-preparation/index.d.ts +0 -1
- package/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.d.ts +1 -1
- package/f-draggable/f-draggable-base.d.ts +1 -1
- package/f-draggable/f-draggable.directive.d.ts +1 -1
- package/f-draggable/node/connection-base-drag-handler.d.ts +2 -2
- package/f-draggable/providers.d.ts +1 -1
- package/f-external-item/f-external-item-base.d.ts +1 -1
- package/f-external-item/f-external-item.directive.d.ts +1 -1
- package/f-flow/f-flow.component.d.ts +1 -1
- package/f-line-alignment/f-line-alignment-base.d.ts +1 -1
- package/f-line-alignment/f-line-alignment.component.d.ts +1 -1
- package/f-minimap/domain/providers.d.ts +1 -1
- package/f-minimap/f-minimap-canvas.directive.d.ts +1 -1
- package/f-minimap/f-minimap-flow.directive.d.ts +1 -1
- package/f-minimap/f-minimap-view.directive.d.ts +1 -1
- package/f-minimap/f-minimap.component.d.ts +1 -1
- package/f-node/f-drag-handle/f-drag-handle.directive.d.ts +1 -1
- package/f-node/f-group.directive.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 +1 -1
- package/f-selection-area/f-selection-area-base.d.ts +1 -1
- package/f-selection-area/f-selection-area.component.d.ts +1 -1
- package/f-zoom/f-zoom.directive.d.ts +1 -1
- package/fesm2015/{foblex-flow.js → foblex-flow.mjs} +1379 -1472
- package/fesm2015/foblex-flow.mjs.map +1 -0
- package/fesm2020/foblex-flow.mjs +7872 -0
- package/fesm2020/foblex-flow.mjs.map +1 -0
- package/package.json +21 -7
- package/bundles/foblex-flow.umd.js +0 -9848
- package/bundles/foblex-flow.umd.js.map +0 -1
- package/esm2015/domain/index.js +0 -23
- package/esm2015/domain/providers.js +0 -46
- package/esm2015/f-backgroud/domain/add-pattern-to-background/add-pattern-to-background.execution.js +0 -48
- package/esm2015/f-backgroud/domain/add-pattern-to-background/add-pattern-to-background.request.js +0 -6
- package/esm2015/f-backgroud/domain/add-pattern-to-background/index.js +0 -3
- package/esm2015/f-backgroud/domain/index.js +0 -4
- package/esm2015/f-backgroud/domain/providers.js +0 -5
- package/esm2015/f-backgroud/f-background.component.js +0 -53
- package/esm2015/f-canvas/domain/index.js +0 -10
- package/esm2015/f-canvas/domain/input-canvas-position/input-canvas-position.execution.js +0 -34
- package/esm2015/f-canvas/domain/input-canvas-scale/input-canvas-scale.execution.js +0 -29
- package/esm2015/f-canvas/f-canvas.component.js +0 -97
- package/esm2015/f-connection/common/f-connection-base.js +0 -68
- package/esm2015/f-connection/common/f-connection-text/f-connection-text.component.js +0 -72
- package/esm2015/f-connection/f-connection/f-connection.component.js +0 -179
- package/esm2015/f-connection/f-connection-builder/f-connection-factory.js +0 -34
- package/esm2015/f-connection/f-connection-for-create/f-connection-for-create.component.js +0 -143
- package/esm2015/f-connection/f-snap-connection/f-snap-connection.component.js +0 -143
- package/esm2015/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.validator.js +0 -44
- package/esm2015/f-draggable/connections/common/find-closest-input-using-snap-threshold/find-closest-input-using-snap-threshold.execution.js +0 -39
- package/esm2015/f-draggable/connections/common/find-closest-input-using-snap-threshold/find-closest-input-using-snap-threshold.request.js +0 -8
- package/esm2015/f-draggable/connections/common/find-closest-input-using-snap-threshold/index.js +0 -3
- package/esm2015/f-draggable/connections/common/get-all-can-be-connected-input-positions/get-all-can-be-connected-input-positions.execution.js +0 -55
- package/esm2015/f-draggable/connections/common/get-all-can-be-connected-input-positions/get-all-can-be-connected-input-positions.request.js +0 -6
- package/esm2015/f-draggable/connections/common/get-all-can-be-connected-input-positions/index.js +0 -3
- package/esm2015/f-draggable/connections/common/get-connector-with-rect/get-connector-with-rect-request.js +0 -6
- package/esm2015/f-draggable/connections/common/get-connector-with-rect/get-connector-with-rect.execution.js +0 -28
- package/esm2015/f-draggable/connections/common/get-connector-with-rect/i-connector-with-rect.js +0 -2
- package/esm2015/f-draggable/connections/common/get-connector-with-rect/index.js +0 -4
- package/esm2015/f-draggable/connections/common/get-input-under-pointer/get-input-under-pointer.execution.js +0 -85
- package/esm2015/f-draggable/connections/common/get-input-under-pointer/get-input-under-pointer.request.js +0 -7
- package/esm2015/f-draggable/connections/common/get-input-under-pointer/get-input-under-pointer.validator.js +0 -35
- package/esm2015/f-draggable/connections/common/get-input-under-pointer/index.js +0 -4
- package/esm2015/f-draggable/connections/common/index.js +0 -6
- package/esm2015/f-draggable/connections/common/providers.js +0 -12
- package/esm2015/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.execution.js +0 -56
- package/esm2015/f-draggable/connections/create-connection/create-connection-finalize/providers.js +0 -7
- package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/providers.js +0 -5
- package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/providers.js +0 -5
- package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/providers.js +0 -7
- package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/providers.js +0 -13
- package/esm2015/f-draggable/connections/create-connection/create-connection.drag-handler.js +0 -64
- package/esm2015/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/providers.js +0 -7
- package/esm2015/f-draggable/connections/index.js +0 -5
- package/esm2015/f-draggable/connections/providers.js +0 -14
- package/esm2015/f-draggable/connections/reassign-connection/reassign-connection-finalize/providers.js +0 -7
- package/esm2015/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.execution.js +0 -50
- package/esm2015/f-draggable/connections/reassign-connection/reassign-connection-preparation/providers.js +0 -7
- package/esm2015/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.js +0 -61
- package/esm2015/f-draggable/f-draggable.directive.js +0 -165
- package/esm2015/f-draggable/node/connection-base-drag-handler.js +0 -39
- package/esm2015/f-draggable/node/connection-source.drag-handler.js +0 -17
- package/esm2015/f-draggable/node/connection-target.drag-handler.js +0 -17
- package/esm2015/f-draggable/node/connection.drag-handler.js +0 -21
- package/esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.execution.js +0 -85
- package/esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/get-node-move-restrictions.execution.js +0 -44
- package/esm2015/f-draggable/node/node-move-finalize/node-move-finalize.execution.js +0 -54
- package/esm2015/f-draggable/node/node.drag-handler.js +0 -34
- package/esm2015/f-draggable/providers.js +0 -21
- package/esm2015/f-draggable/single-select/single-select.execution.js +0 -89
- package/esm2015/f-flow/f-flow.component.js +0 -126
- package/esm2015/f-minimap/domain/f-minimap.drag-handler.js +0 -37
- package/esm2015/f-minimap/f-minimap.component.js +0 -76
- package/esm2015/f-storage/f-components-store.js +0 -52
- package/esm2015/f-zoom/f-zoom-base.js +0 -99
- package/esm2015/mixins/change-selection/change-selection.js +0 -30
- package/f-draggable/connections/common/providers.d.ts +0 -5
- package/f-draggable/connections/create-connection/create-connection-finalize/providers.d.ts +0 -3
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/providers.d.ts +0 -2
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/providers.d.ts +0 -2
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/providers.d.ts +0 -3
- package/f-draggable/connections/create-connection/create-connection-preparation/providers.d.ts +0 -3
- package/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/providers.d.ts +0 -3
- package/f-draggable/connections/reassign-connection/reassign-connection-finalize/providers.d.ts +0 -3
- package/f-draggable/connections/reassign-connection/reassign-connection-preparation/providers.d.ts +0 -3
- package/fesm2015/foblex-flow.js.map +0 -1
- /package/{f-backgroud/domain → domain/f-background}/add-pattern-to-background/add-pattern-to-background.execution.d.ts +0 -0
- /package/{f-backgroud/domain → domain/f-background}/add-pattern-to-background/index.d.ts +0 -0
- /package/{f-backgroud/domain → domain/f-background}/providers.d.ts +0 -0
- /package/{f-canvas/domain → domain/f-canvas}/center-group-or-node/center-group-or-node-request.d.ts +0 -0
- /package/{f-canvas/domain → domain/f-canvas}/center-group-or-node/center-group-or-node.execution.d.ts +0 -0
- /package/{f-canvas/domain → domain/f-canvas}/center-group-or-node/index.d.ts +0 -0
- /package/{f-canvas/domain → domain/f-canvas}/fit-to-flow/fit-to-flow-request.d.ts +0 -0
- /package/{f-canvas/domain → domain/f-canvas}/fit-to-flow/fit-to-flow.execution.d.ts +0 -0
- /package/{f-canvas/domain → domain/f-canvas}/fit-to-flow/index.d.ts +0 -0
- /package/{f-canvas/domain → domain/f-canvas}/input-canvas-position/index.d.ts +0 -0
- /package/{f-canvas/domain → domain/f-canvas}/input-canvas-position/input-canvas-position-request.d.ts +0 -0
- /package/{f-canvas/domain → domain/f-canvas}/input-canvas-position/input-canvas-position.execution.d.ts +0 -0
- /package/{f-canvas/domain → domain/f-canvas}/input-canvas-scale/index.d.ts +0 -0
- /package/{f-canvas/domain → domain/f-canvas}/input-canvas-scale/input-canvas-scale-request.d.ts +0 -0
- /package/{f-canvas/domain → domain/f-canvas}/input-canvas-scale/input-canvas-scale.execution.d.ts +0 -0
- /package/{f-canvas/domain → domain/f-canvas}/providers.d.ts +0 -0
- /package/{f-canvas/domain → domain/f-canvas}/reset-scale/index.d.ts +0 -0
- /package/{f-canvas/domain → domain/f-canvas}/reset-scale/reset-scale-request.d.ts +0 -0
- /package/{f-canvas/domain → domain/f-canvas}/reset-scale/reset-scale.execution.d.ts +0 -0
- /package/{f-canvas/domain → domain/f-canvas}/reset-scale-and-center/index.d.ts +0 -0
- /package/{f-canvas/domain → domain/f-canvas}/reset-scale-and-center/reset-scale-and-center-request.d.ts +0 -0
- /package/{f-canvas/domain → domain/f-canvas}/reset-scale-and-center/reset-scale-and-center.execution.d.ts +0 -0
- /package/{f-canvas/domain → domain/f-canvas}/update-scale/index.d.ts +0 -0
- /package/{f-canvas/domain → domain/f-canvas}/update-scale/update-scale-request.d.ts +0 -0
- /package/{f-canvas/domain → domain/f-canvas}/update-scale/update-scale.execution.d.ts +0 -0
- /package/{f-draggable/connections/common → domain/f-connection}/find-closest-input-using-snap-threshold/find-closest-input-using-snap-threshold.execution.d.ts +0 -0
- /package/{f-draggable/connections/common → domain/f-connection}/find-closest-input-using-snap-threshold/find-closest-input-using-snap-threshold.request.d.ts +0 -0
- /package/{f-draggable/connections/common → domain/f-connection}/find-closest-input-using-snap-threshold/index.d.ts +0 -0
- /package/{f-draggable/connections/common → domain/f-connection}/get-all-can-be-connected-input-positions/get-all-can-be-connected-input-positions.request.d.ts +0 -0
- /package/{f-draggable/connections/common → domain/f-connection}/get-all-can-be-connected-input-positions/index.d.ts +0 -0
- /package/{f-draggable/connections/common → domain/f-connection}/get-connector-with-rect/get-connector-with-rect.execution.d.ts +0 -0
- /package/{f-draggable/connections/common → domain/f-connection}/get-connector-with-rect/index.d.ts +0 -0
- /package/{esm2015/domain/constants.js → esm2020/domain/constants.mjs} +0 -0
- /package/{esm2015/domain/create-connection-markers/create-connection-markers-request.js → esm2020/domain/create-connection-markers/create-connection-markers-request.mjs} +0 -0
- /package/{esm2015/domain/create-connection-markers/index.js → esm2020/domain/create-connection-markers/index.mjs} +0 -0
- /package/{esm2015/domain/create-dom-element.js → esm2020/domain/create-dom-element.mjs} +0 -0
- /package/{esm2015/domain/create-rounded-rect-from-element/create-rounded-rect-from-element-request.js → esm2020/domain/create-rounded-rect-from-element/create-rounded-rect-from-element-request.mjs} +0 -0
- /package/{esm2015/domain/create-rounded-rect-from-element/index.js → esm2020/domain/create-rounded-rect-from-element/index.mjs} +0 -0
- /package/{esm2015/domain/emit-transform-changes/emit-transform-changes.request.js → esm2020/domain/emit-transform-changes/emit-transform-changes.request.mjs} +0 -0
- /package/{esm2015/domain/emit-transform-changes/index.js → esm2020/domain/emit-transform-changes/index.mjs} +0 -0
- /package/{esm2015/domain/f-selection/clear-selection/clear-selection.request.js → esm2020/domain/f-selection/clear-selection/clear-selection.request.mjs} +0 -0
- /package/{esm2015/domain/f-selection/clear-selection/index.js → esm2020/domain/f-selection/clear-selection/index.mjs} +0 -0
- /package/{esm2015/domain/f-selection/get-selection/get-selection.request.js → esm2020/domain/f-selection/get-selection/get-selection.request.mjs} +0 -0
- /package/{esm2015/domain/f-selection/get-selection/index.js → esm2020/domain/f-selection/get-selection/index.mjs} +0 -0
- /package/{esm2015/domain/f-selection/index.js → esm2020/domain/f-selection/index.mjs} +0 -0
- /package/{esm2015/domain/f-selection/providers.js → esm2020/domain/f-selection/providers.mjs} +0 -0
- /package/{esm2015/domain/f-selection/select/index.js → esm2020/domain/f-selection/select/index.mjs} +0 -0
- /package/{esm2015/domain/f-selection/select/select.request.js → esm2020/domain/f-selection/select/select.request.mjs} +0 -0
- /package/{esm2015/domain/f-selection/select-all/index.js → esm2020/domain/f-selection/select-all/index.mjs} +0 -0
- /package/{esm2015/domain/f-selection/select-all/select-all.request.js → esm2020/domain/f-selection/select-all/select-all.request.mjs} +0 -0
- /package/{esm2015/domain/f-selection/select-and-update-node-layer/index.js → esm2020/domain/f-selection/select-and-update-node-layer/index.mjs} +0 -0
- /package/{esm2015/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.request.js → esm2020/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.request.mjs} +0 -0
- /package/{esm2015/domain/get-can-be-selected-items/get-can-be-selected-items-request.js → esm2020/domain/get-can-be-selected-items/get-can-be-selected-items-request.mjs} +0 -0
- /package/{esm2015/domain/get-can-be-selected-items/i-selectable-with-rect.js → esm2020/domain/get-can-be-selected-items/i-selectable-with-rect.mjs} +0 -0
- /package/{esm2015/domain/get-can-be-selected-items/index.js → esm2020/domain/get-can-be-selected-items/index.mjs} +0 -0
- /package/{esm2015/domain/get-connection-line/get-connection-line.request.js → esm2020/domain/get-connection-line/get-connection-line.request.mjs} +0 -0
- /package/{esm2015/domain/get-connection-line/index.js → esm2020/domain/get-connection-line/index.mjs} +0 -0
- /package/{esm2015/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.request.js → esm2020/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.request.mjs} +0 -0
- /package/{esm2015/domain/get-deep-children-nodes-and-groups/index.js → esm2020/domain/get-deep-children-nodes-and-groups/index.mjs} +0 -0
- /package/{esm2015/domain/get-element-rect-in-flow/get-element-rect-in-flow-request.js → esm2020/domain/get-element-rect-in-flow/get-element-rect-in-flow-request.mjs} +0 -0
- /package/{esm2015/domain/get-element-rect-in-flow/index.js → esm2020/domain/get-element-rect-in-flow/index.mjs} +0 -0
- /package/{esm2015/domain/get-flow-state/get-flow-state-connections/get-flow-state-connections-request.js → esm2020/domain/get-flow-state/get-flow-state-connections/get-flow-state-connections-request.mjs} +0 -0
- /package/{esm2015/domain/get-flow-state/get-flow-state-connections/index.js → esm2020/domain/get-flow-state/get-flow-state-connections/index.mjs} +0 -0
- /package/{esm2015/domain/get-flow-state/get-flow-state-nodes/get-flow-state-nodes-request.js → esm2020/domain/get-flow-state/get-flow-state-nodes/get-flow-state-nodes-request.mjs} +0 -0
- /package/{esm2015/domain/get-flow-state/get-flow-state-nodes/index.js → esm2020/domain/get-flow-state/get-flow-state-nodes/index.mjs} +0 -0
- /package/{esm2015/domain/get-flow-state/get-flow-state.request.js → esm2020/domain/get-flow-state/get-flow-state.request.mjs} +0 -0
- /package/{esm2015/domain/get-flow-state/i-f-flow-state-connection.js → esm2020/domain/get-flow-state/i-f-flow-state-connection.mjs} +0 -0
- /package/{esm2015/domain/get-flow-state/i-f-flow-state-connector.js → esm2020/domain/get-flow-state/i-f-flow-state-connector.mjs} +0 -0
- /package/{esm2015/domain/get-flow-state/i-f-flow-state-node.js → esm2020/domain/get-flow-state/i-f-flow-state-node.mjs} +0 -0
- /package/{esm2015/domain/get-flow-state/i-f-flow-state.js → esm2020/domain/get-flow-state/i-f-flow-state.mjs} +0 -0
- /package/{esm2015/domain/get-flow-state/index.js → esm2020/domain/get-flow-state/index.mjs} +0 -0
- /package/{esm2015/domain/get-flow-state/providers.js → esm2020/domain/get-flow-state/providers.mjs} +0 -0
- /package/{esm2015/domain/get-nodes-rect/get-nodes-rect.request.js → esm2020/domain/get-nodes-rect/get-nodes-rect.request.mjs} +0 -0
- /package/{esm2015/domain/get-nodes-rect/index.js → esm2020/domain/get-nodes-rect/index.mjs} +0 -0
- /package/{esm2015/domain/get-position-in-flow/get-position-in-flow-request.js → esm2020/domain/get-position-in-flow/get-position-in-flow-request.mjs} +0 -0
- /package/{esm2015/domain/get-position-in-flow/index.js → esm2020/domain/get-position-in-flow/index.mjs} +0 -0
- /package/{esm2015/domain/get-scaled-node-rects-with-flow-position/get-scaled-node-rects-with-flow-position.request.js → esm2020/domain/get-scaled-node-rects-with-flow-position/get-scaled-node-rects-with-flow-position.request.mjs} +0 -0
- /package/{esm2015/domain/get-scaled-node-rects-with-flow-position/index.js → esm2020/domain/get-scaled-node-rects-with-flow-position/index.mjs} +0 -0
- /package/{esm2015/domain/i-map.js → esm2020/domain/i-map.mjs} +0 -0
- /package/{esm2015/domain/is-connection-under-node/index.js → esm2020/domain/is-connection-under-node/index.mjs} +0 -0
- /package/{esm2015/domain/is-connection-under-node/is-connection-under-node.request.js → esm2020/domain/is-connection-under-node/is-connection-under-node.request.mjs} +0 -0
- /package/{esm2015/domain/redraw-connections/index.js → esm2020/domain/redraw-connections/index.mjs} +0 -0
- /package/{esm2015/domain/redraw-connections/redraw-connections-request.js → esm2020/domain/redraw-connections/redraw-connections-request.mjs} +0 -0
- /package/{esm2015/domain/show-connections-after-calculations/index.js → esm2020/domain/show-connections-after-calculations/index.mjs} +0 -0
- /package/{esm2015/domain/show-connections-after-calculations/show-connections-after-calculations-request.js → esm2020/domain/show-connections-after-calculations/show-connections-after-calculations-request.mjs} +0 -0
- /package/{esm2015/domain/sort-item-layers/index.js → esm2020/domain/sort-item-layers/index.mjs} +0 -0
- /package/{esm2015/domain/sort-item-layers/sort-item-layers.request.js → esm2020/domain/sort-item-layers/sort-item-layers.request.mjs} +0 -0
- /package/{esm2015/domain/sort-item-layers/sort-items-by-parent/index.js → esm2020/domain/sort-item-layers/sort-items-by-parent/index.mjs} +0 -0
- /package/{esm2015/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.request.js → esm2020/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.request.mjs} +0 -0
- /package/{esm2015/domain/sort-item-layers/sort-node-layers-by-groups/index.js → esm2020/domain/sort-item-layers/sort-node-layers-by-groups/index.mjs} +0 -0
- /package/{esm2015/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.request.js → esm2020/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.request.mjs} +0 -0
- /package/{esm2015/domain/subscribe-on-transform-changes/index.js → esm2020/domain/subscribe-on-transform-changes/index.mjs} +0 -0
- /package/{esm2015/domain/subscribe-on-transform-changes/subscribe-on-transform-changes.request.js → esm2020/domain/subscribe-on-transform-changes/subscribe-on-transform-changes.request.mjs} +0 -0
- /package/{esm2015/domain/update-item-and-children-layers/index.js → esm2020/domain/update-item-and-children-layers/index.mjs} +0 -0
- /package/{esm2015/domain/update-item-and-children-layers/move-front-elements-before-target-element/index.js → esm2020/domain/update-item-and-children-layers/move-front-elements-before-target-element/index.mjs} +0 -0
- /package/{esm2015/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element.request.js → esm2020/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element.request.mjs} +0 -0
- /package/{esm2015/domain/update-item-and-children-layers/update-item-and-children-layers.request.js → esm2020/domain/update-item-and-children-layers/update-item-and-children-layers.request.mjs} +0 -0
- /package/{esm2015/errors/conflict-error.js → esm2020/errors/conflict-error.mjs} +0 -0
- /package/{esm2015/errors/create-error-class.js → esm2020/errors/create-error-class.mjs} +0 -0
- /package/{esm2015/errors/errors.js → esm2020/errors/errors.mjs} +0 -0
- /package/{esm2015/errors/index.js → esm2020/errors/index.mjs} +0 -0
- /package/{esm2015/errors/not-found-error.js → esm2020/errors/not-found-error.mjs} +0 -0
- /package/{esm2015/f-backgroud/domain/i-f-background-pattern.js → esm2020/f-backgroud/domain/i-f-background-pattern.mjs} +0 -0
- /package/{esm2015/f-backgroud/f-circle-pattern/index.js → esm2020/f-backgroud/f-circle-pattern/index.mjs} +0 -0
- /package/{esm2015/f-backgroud/f-rect-pattern/index.js → esm2020/f-backgroud/f-rect-pattern/index.mjs} +0 -0
- /package/{esm2015/f-backgroud/index.js → esm2020/f-backgroud/index.mjs} +0 -0
- /package/{esm2015/f-backgroud/providers.js → esm2020/f-backgroud/providers.mjs} +0 -0
- /package/{esm2015/f-canvas/domain/f-canvas-change.event.js → esm2020/f-canvas/domain/f-canvas-change.event.mjs} +0 -0
- /package/{esm2015/f-canvas/index.js → esm2020/f-canvas/index.mjs} +0 -0
- /package/{esm2015/f-canvas/providers.js → esm2020/f-canvas/providers.mjs} +0 -0
- /package/{esm2015/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points-request.js → esm2020/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points-request.mjs} +0 -0
- /package/{esm2015/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points.handler.js → esm2020/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points.handler.mjs} +0 -0
- /package/{esm2015/f-connection/common/domain/calculate-center-between-points/index.js → esm2020/f-connection/common/domain/calculate-center-between-points/index.mjs} +0 -0
- /package/{esm2015/f-connection/common/domain/calculate-connection-center/calculate-connection-center-request.js → esm2020/f-connection/common/domain/calculate-connection-center/calculate-connection-center-request.mjs} +0 -0
- /package/{esm2015/f-connection/common/domain/calculate-connection-center/calculate-connection-center.handler.js → esm2020/f-connection/common/domain/calculate-connection-center/calculate-connection-center.handler.mjs} +0 -0
- /package/{esm2015/f-connection/common/domain/calculate-connection-center/index.js → esm2020/f-connection/common/domain/calculate-connection-center/index.mjs} +0 -0
- /package/{esm2015/f-connection/common/domain/f-bezier.path-builder.js → esm2020/f-connection/common/domain/f-bezier.path-builder.mjs} +0 -0
- /package/{esm2015/f-connection/common/domain/f-segment.path-builder.js → esm2020/f-connection/common/domain/f-segment.path-builder.mjs} +0 -0
- /package/{esm2015/f-connection/common/domain/f-straight.path-builder.js → esm2020/f-connection/common/domain/f-straight.path-builder.mjs} +0 -0
- /package/{esm2015/f-connection/common/domain/index.js → esm2020/f-connection/common/domain/index.mjs} +0 -0
- /package/{esm2015/f-connection/common/e-f-connection-behavior.js → esm2020/f-connection/common/e-f-connection-behavior.mjs} +0 -0
- /package/{esm2015/f-connection/common/e-f-connection-type.js → esm2020/f-connection/common/e-f-connection-type.mjs} +0 -0
- /package/{esm2015/f-connection/common/f-connection-identifiers.js → esm2020/f-connection/common/f-connection-identifiers.mjs} +0 -0
- /package/{esm2015/f-connection/common/f-connection-text/i-connection-text.js → esm2020/f-connection/common/f-connection-text/i-connection-text.mjs} +0 -0
- /package/{esm2015/f-connection/common/f-connection-text/index.js → esm2020/f-connection/common/f-connection-text/index.mjs} +0 -0
- /package/{esm2015/f-connection/common/f-connection.injection-token.js → esm2020/f-connection/common/f-connection.injection-token.mjs} +0 -0
- /package/{esm2015/f-connection/common/f-drag-handle/index.js → esm2020/f-connection/common/f-drag-handle/index.mjs} +0 -0
- /package/{esm2015/f-connection/common/f-gradient/i-connection-gradient.js → esm2020/f-connection/common/f-gradient/i-connection-gradient.mjs} +0 -0
- /package/{esm2015/f-connection/common/f-gradient/index.js → esm2020/f-connection/common/f-gradient/index.mjs} +0 -0
- /package/{esm2015/f-connection/common/f-path/get-path-marker-id.js → esm2020/f-connection/common/f-path/get-path-marker-id.mjs} +0 -0
- /package/{esm2015/f-connection/common/f-path/i-connection-path.js → esm2020/f-connection/common/f-path/i-connection-path.mjs} +0 -0
- /package/{esm2015/f-connection/common/f-path/index.js → esm2020/f-connection/common/f-path/index.mjs} +0 -0
- /package/{esm2015/f-connection/common/f-selection/index.js → esm2020/f-connection/common/f-selection/index.mjs} +0 -0
- /package/{esm2015/f-connection/common/i-has-connection-color.js → esm2020/f-connection/common/i-has-connection-color.mjs} +0 -0
- /package/{esm2015/f-connection/common/i-has-connection-from-to.js → esm2020/f-connection/common/i-has-connection-from-to.mjs} +0 -0
- /package/{esm2015/f-connection/common/i-has-connection-text.js → esm2020/f-connection/common/i-has-connection-text.mjs} +0 -0
- /package/{esm2015/f-connection/common/index.js → esm2020/f-connection/common/index.mjs} +0 -0
- /package/{esm2015/f-connection/f-connection/index.js → esm2020/f-connection/f-connection/index.mjs} +0 -0
- /package/{esm2015/f-connection/f-connection-builder/f-connection-builders.js → esm2020/f-connection/f-connection-builder/f-connection-builders.mjs} +0 -0
- /package/{esm2015/f-connection/f-connection-builder/i-f-connection-builder-request.js → esm2020/f-connection/f-connection-builder/i-f-connection-builder-request.mjs} +0 -0
- /package/{esm2015/f-connection/f-connection-builder/i-f-connection-builder-response.js → esm2020/f-connection/f-connection-builder/i-f-connection-builder-response.mjs} +0 -0
- /package/{esm2015/f-connection/f-connection-builder/i-f-connection-builder.js → esm2020/f-connection/f-connection-builder/i-f-connection-builder.mjs} +0 -0
- /package/{esm2015/f-connection/f-connection-builder/i-f-connection-factory-request.js → esm2020/f-connection/f-connection-builder/i-f-connection-factory-request.mjs} +0 -0
- /package/{esm2015/f-connection/f-connection-builder/index.js → esm2020/f-connection/f-connection-builder/index.mjs} +0 -0
- /package/{esm2015/f-connection/f-connection-center/index.js → esm2020/f-connection/f-connection-center/index.mjs} +0 -0
- /package/{esm2015/f-connection/f-connection-for-create/index.js → esm2020/f-connection/f-connection-for-create/index.mjs} +0 -0
- /package/{esm2015/f-connection/f-marker/e-f-marker-type.js → esm2020/f-connection/f-marker/e-f-marker-type.mjs} +0 -0
- /package/{esm2015/f-connection/f-marker/index.js → esm2020/f-connection/f-marker/index.mjs} +0 -0
- /package/{esm2015/f-connection/f-snap-connection/index.js → esm2020/f-connection/f-snap-connection/index.mjs} +0 -0
- /package/{esm2015/f-connection/index.js → esm2020/f-connection/index.mjs} +0 -0
- /package/{esm2015/f-connection/providers.js → esm2020/f-connection/providers.mjs} +0 -0
- /package/{esm2015/f-connectors/domain/calculate-connector-connectable-side/calculate-connector-connectable-side-request.js → esm2020/f-connectors/domain/calculate-connector-connectable-side/calculate-connector-connectable-side-request.mjs} +0 -0
- /package/{esm2015/f-connectors/domain/calculate-connector-connectable-side/calculate-connector-connectable-side.handler.js → esm2020/f-connectors/domain/calculate-connector-connectable-side/calculate-connector-connectable-side.handler.mjs} +0 -0
- /package/{esm2015/f-connectors/domain/calculate-connector-connectable-side/index.js → esm2020/f-connectors/domain/calculate-connector-connectable-side/index.mjs} +0 -0
- /package/{esm2015/f-connectors/domain/index.js → esm2020/f-connectors/domain/index.mjs} +0 -0
- /package/{esm2015/f-connectors/e-f-connectable-side.js → esm2020/f-connectors/e-f-connectable-side.mjs} +0 -0
- /package/{esm2015/f-connectors/f-connector-base.js → esm2020/f-connectors/f-connector-base.mjs} +0 -0
- /package/{esm2015/f-connectors/f-node-input/index.js → esm2020/f-connectors/f-node-input/index.mjs} +0 -0
- /package/{esm2015/f-connectors/f-node-outlet/index.js → esm2020/f-connectors/f-node-outlet/index.mjs} +0 -0
- /package/{esm2015/f-connectors/f-node-outlet/is-node-outlet.js → esm2020/f-connectors/f-node-outlet/is-node-outlet.mjs} +0 -0
- /package/{esm2015/f-connectors/f-node-output/index.js → esm2020/f-connectors/f-node-output/index.mjs} +0 -0
- /package/{esm2015/f-connectors/f-node-output/is-node-output.js → esm2020/f-connectors/f-node-output/is-node-output.mjs} +0 -0
- /package/{esm2015/f-connectors/index.js → esm2020/f-connectors/index.mjs} +0 -0
- /package/{esm2015/f-connectors/providers.js → esm2020/f-connectors/providers.mjs} +0 -0
- /package/{esm2015/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.request.js → esm2020/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.request.mjs} +0 -0
- /package/{esm2015/f-draggable/canvas/canvas-move-finalize/index.js → esm2020/f-draggable/canvas/canvas-move-finalize/index.mjs} +0 -0
- /package/{esm2015/f-draggable/canvas/canvas-move-finalize/providers.js → esm2020/f-draggable/canvas/canvas-move-finalize/providers.mjs} +0 -0
- /package/{esm2015/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.request.js → esm2020/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.request.mjs} +0 -0
- /package/{esm2015/f-draggable/canvas/canvas-move-preparation/index.js → esm2020/f-draggable/canvas/canvas-move-preparation/index.mjs} +0 -0
- /package/{esm2015/f-draggable/canvas/canvas-move-preparation/providers.js → esm2020/f-draggable/canvas/canvas-move-preparation/providers.mjs} +0 -0
- /package/{esm2015/f-draggable/canvas/canvas.drag-handler.js → esm2020/f-draggable/canvas/canvas.drag-handler.mjs} +0 -0
- /package/{esm2015/f-draggable/canvas/index.js → esm2020/f-draggable/canvas/index.mjs} +0 -0
- /package/{esm2015/f-draggable/canvas/providers.js → esm2020/f-draggable/canvas/providers.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.request.js → esm2020/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.request.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.request.js → esm2020/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.request.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.request.js → esm2020/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.request.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.request.js → esm2020/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.request.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.request.js → esm2020/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.request.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/create-connection/f-create-connection.event.js → esm2020/f-draggable/connections/create-connection/f-create-connection.event.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.request.js → esm2020/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.request.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/create-connection/index.js → esm2020/f-draggable/connections/create-connection/index.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/reassign-connection/f-reassign-connection.event.js → esm2020/f-draggable/connections/reassign-connection/f-reassign-connection.event.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/reassign-connection/index.js → esm2020/f-draggable/connections/reassign-connection/index.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.request.js → esm2020/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.request.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.request.js → esm2020/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.request.mjs} +0 -0
- /package/{esm2015/f-draggable/domain/get-node-padding/get-node-padding.request.js → esm2020/f-draggable/domain/get-node-padding/get-node-padding.request.mjs} +0 -0
- /package/{esm2015/f-draggable/domain/get-node-padding/index.js → esm2020/f-draggable/domain/get-node-padding/index.mjs} +0 -0
- /package/{esm2015/f-draggable/domain/get-normalized-node-rect/get-normalized-node-rect.request.js → esm2020/f-draggable/domain/get-normalized-node-rect/get-normalized-node-rect.request.mjs} +0 -0
- /package/{esm2015/f-draggable/domain/get-normalized-node-rect/index.js → esm2020/f-draggable/domain/get-normalized-node-rect/index.mjs} +0 -0
- /package/{esm2015/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.request.js → esm2020/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.request.mjs} +0 -0
- /package/{esm2015/f-draggable/domain/get-normalized-parent-node-rect/index.js → esm2020/f-draggable/domain/get-normalized-parent-node-rect/index.mjs} +0 -0
- /package/{esm2015/f-draggable/domain/get-parent-nodes/get-parent-nodes.request.js → esm2020/f-draggable/domain/get-parent-nodes/get-parent-nodes.request.mjs} +0 -0
- /package/{esm2015/f-draggable/domain/get-parent-nodes/index.js → esm2020/f-draggable/domain/get-parent-nodes/index.mjs} +0 -0
- /package/{esm2015/f-draggable/domain/index.js → esm2020/f-draggable/domain/index.mjs} +0 -0
- /package/{esm2015/f-draggable/domain/is-array-has-parent-node/index.js → esm2020/f-draggable/domain/is-array-has-parent-node/index.mjs} +0 -0
- /package/{esm2015/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.request.js → esm2020/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.request.mjs} +0 -0
- /package/{esm2015/f-draggable/domain/providers.js → esm2020/f-draggable/domain/providers.mjs} +0 -0
- /package/{esm2015/f-draggable/f-selection-change-event.js → esm2020/f-draggable/f-selection-change-event.mjs} +0 -0
- /package/{esm2015/f-draggable/i-draggable-item.js → esm2020/f-draggable/i-draggable-item.mjs} +0 -0
- /package/{esm2015/f-draggable/i-f-drag-and-drop-plugin.js → esm2020/f-draggable/i-f-drag-and-drop-plugin.mjs} +0 -0
- /package/{esm2015/f-draggable/index.js → esm2020/f-draggable/index.mjs} +0 -0
- /package/{esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.request.js → esm2020/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.request.mjs} +0 -0
- /package/{esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/get-node-move-restrictions.request.js → esm2020/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/get-node-move-restrictions.request.mjs} +0 -0
- /package/{esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/i-node-move-restrictions.js → esm2020/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/i-node-move-restrictions.mjs} +0 -0
- /package/{esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/index.js → esm2020/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/index.mjs} +0 -0
- /package/{esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/index.js → esm2020/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/index.mjs} +0 -0
- /package/{esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/put-input-connection-handlers-to-array.request.js → esm2020/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/put-input-connection-handlers-to-array.request.mjs} +0 -0
- /package/{esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/index.js → esm2020/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/index.mjs} +0 -0
- /package/{esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/put-output-connection-handlers-to-array.request.js → esm2020/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/put-output-connection-handlers-to-array.request.mjs} +0 -0
- /package/{esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/i-node-with-distance-restrictions.js → esm2020/f-draggable/node/create-move-nodes-drag-model-from-selection/i-node-with-distance-restrictions.mjs} +0 -0
- /package/{esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/index.js → esm2020/f-draggable/node/create-move-nodes-drag-model-from-selection/index.mjs} +0 -0
- /package/{esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/providers.js → esm2020/f-draggable/node/create-move-nodes-drag-model-from-selection/providers.mjs} +0 -0
- /package/{esm2015/f-draggable/node/index.js → esm2020/f-draggable/node/index.mjs} +0 -0
- /package/{esm2015/f-draggable/node/node-move-finalize/index.js → esm2020/f-draggable/node/node-move-finalize/index.mjs} +0 -0
- /package/{esm2015/f-draggable/node/node-move-finalize/node-move-finalize.request.js → esm2020/f-draggable/node/node-move-finalize/node-move-finalize.request.mjs} +0 -0
- /package/{esm2015/f-draggable/node/node-move-finalize/providers.js → esm2020/f-draggable/node/node-move-finalize/providers.mjs} +0 -0
- /package/{esm2015/f-draggable/node/node-move-preparation/index.js → esm2020/f-draggable/node/node-move-preparation/index.mjs} +0 -0
- /package/{esm2015/f-draggable/node/node-move-preparation/node-move-preparation.request.js → esm2020/f-draggable/node/node-move-preparation/node-move-preparation.request.mjs} +0 -0
- /package/{esm2015/f-draggable/node/node-move-preparation/providers.js → esm2020/f-draggable/node/node-move-preparation/providers.mjs} +0 -0
- /package/{esm2015/f-draggable/node/node-resize-by-child.drag-handler.js → esm2020/f-draggable/node/node-resize-by-child.drag-handler.mjs} +0 -0
- /package/{esm2015/f-draggable/node/providers.js → esm2020/f-draggable/node/providers.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.request.js → esm2020/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.request.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/apply-child-resize-restrictions/index.js → esm2020/f-draggable/node-resize/apply-child-resize-restrictions/index.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/apply-parent-resize-restrictions/apply-parent-resize-restrictions.request.js → esm2020/f-draggable/node-resize/apply-parent-resize-restrictions/apply-parent-resize-restrictions.request.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/apply-parent-resize-restrictions/index.js → esm2020/f-draggable/node-resize/apply-parent-resize-restrictions/index.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/calculate-changed-position/calculate-changed-position.request.js → esm2020/f-draggable/node-resize/calculate-changed-position/calculate-changed-position.request.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/calculate-changed-position/index.js → esm2020/f-draggable/node-resize/calculate-changed-position/index.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/calculate-changed-size/calculate-changed-size.request.js → esm2020/f-draggable/node-resize/calculate-changed-size/calculate-changed-size.request.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/calculate-changed-size/index.js → esm2020/f-draggable/node-resize/calculate-changed-size/index.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.request.js → esm2020/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.request.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/get-node-resize-restrictions/i-node-resize-restrictions.js → esm2020/f-draggable/node-resize/get-node-resize-restrictions/i-node-resize-restrictions.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/get-node-resize-restrictions/index.js → esm2020/f-draggable/node-resize/get-node-resize-restrictions/index.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.request.js → esm2020/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.request.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/get-normalized-children-nodes-rect/index.js → esm2020/f-draggable/node-resize/get-normalized-children-nodes-rect/index.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/index.js → esm2020/f-draggable/node-resize/index.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/node-resize-finalize/index.js → esm2020/f-draggable/node-resize/node-resize-finalize/index.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.request.js → esm2020/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.request.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/node-resize-finalize/providers.js → esm2020/f-draggable/node-resize/node-resize-finalize/providers.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/node-resize-preparation/index.js → esm2020/f-draggable/node-resize/node-resize-preparation/index.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.request.js → esm2020/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.request.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/node-resize-preparation/providers.js → esm2020/f-draggable/node-resize/node-resize-preparation/providers.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/node-resize.drag-handler.js → esm2020/f-draggable/node-resize/node-resize.drag-handler.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/providers.js → esm2020/f-draggable/node-resize/providers.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/resize-direction.js → esm2020/f-draggable/node-resize/resize-direction.mjs} +0 -0
- /package/{esm2015/f-draggable/single-select/index.js → esm2020/f-draggable/single-select/index.mjs} +0 -0
- /package/{esm2015/f-draggable/single-select/providers.js → esm2020/f-draggable/single-select/providers.mjs} +0 -0
- /package/{esm2015/f-draggable/single-select/single-select.request.js → esm2020/f-draggable/single-select/single-select.request.mjs} +0 -0
- /package/{esm2015/f-external-item/domain/external-item-finalize/external-item-finalize.request.js → esm2020/f-external-item/domain/external-item-finalize/external-item-finalize.request.mjs} +0 -0
- /package/{esm2015/f-external-item/domain/external-item-finalize/index.js → esm2020/f-external-item/domain/external-item-finalize/index.mjs} +0 -0
- /package/{esm2015/f-external-item/domain/external-item-finalize/providers.js → esm2020/f-external-item/domain/external-item-finalize/providers.mjs} +0 -0
- /package/{esm2015/f-external-item/domain/external-item-preparation/external-item-preparation.request.js → esm2020/f-external-item/domain/external-item-preparation/external-item-preparation.request.mjs} +0 -0
- /package/{esm2015/f-external-item/domain/external-item-preparation/index.js → esm2020/f-external-item/domain/external-item-preparation/index.mjs} +0 -0
- /package/{esm2015/f-external-item/domain/external-item-preparation/providers.js → esm2020/f-external-item/domain/external-item-preparation/providers.mjs} +0 -0
- /package/{esm2015/f-external-item/domain/external-item.drag-handler.js → esm2020/f-external-item/domain/external-item.drag-handler.mjs} +0 -0
- /package/{esm2015/f-external-item/domain/f-create-node.event.js → esm2020/f-external-item/domain/f-create-node.event.mjs} +0 -0
- /package/{esm2015/f-external-item/domain/index.js → esm2020/f-external-item/domain/index.mjs} +0 -0
- /package/{esm2015/f-external-item/domain/providers.js → esm2020/f-external-item/domain/providers.mjs} +0 -0
- /package/{esm2015/f-external-item/index.js → esm2020/f-external-item/index.mjs} +0 -0
- /package/{esm2015/f-external-item/is-external-item.js → esm2020/f-external-item/is-external-item.mjs} +0 -0
- /package/{esm2015/f-external-item/providers.js → esm2020/f-external-item/providers.mjs} +0 -0
- /package/{esm2015/f-flow/f-flow-base.js → esm2020/f-flow/f-flow-base.mjs} +0 -0
- /package/{esm2015/f-flow/index.js → esm2020/f-flow/index.mjs} +0 -0
- /package/{esm2015/f-flow/providers.js → esm2020/f-flow/providers.mjs} +0 -0
- /package/{esm2015/f-line-alignment/domain/i-line-alignment-rect.js → esm2020/f-line-alignment/domain/i-line-alignment-rect.mjs} +0 -0
- /package/{esm2015/f-line-alignment/domain/i-line-alignment-result.js → esm2020/f-line-alignment/domain/i-line-alignment-result.mjs} +0 -0
- /package/{esm2015/f-line-alignment/domain/i-nearest-coordinate-result.js → esm2020/f-line-alignment/domain/i-nearest-coordinate-result.mjs} +0 -0
- /package/{esm2015/f-line-alignment/domain/index.js → esm2020/f-line-alignment/domain/index.mjs} +0 -0
- /package/{esm2015/f-line-alignment/domain/line-element.js → esm2020/f-line-alignment/domain/line-element.mjs} +0 -0
- /package/{esm2015/f-line-alignment/domain/line-service.js → esm2020/f-line-alignment/domain/line-service.mjs} +0 -0
- /package/{esm2015/f-line-alignment/domain/nearest-coordinate.js → esm2020/f-line-alignment/domain/nearest-coordinate.mjs} +0 -0
- /package/{esm2015/f-line-alignment/index.js → esm2020/f-line-alignment/index.mjs} +0 -0
- /package/{esm2015/f-line-alignment/providers.js → esm2020/f-line-alignment/providers.mjs} +0 -0
- /package/{esm2015/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.request.js → esm2020/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.request.mjs} +0 -0
- /package/{esm2015/f-minimap/domain/calculate-flow-point-from-minimap-point/index.js → esm2020/f-minimap/domain/calculate-flow-point-from-minimap-point/index.mjs} +0 -0
- /package/{esm2015/f-minimap/domain/check-rect-is-finite.js → esm2020/f-minimap/domain/check-rect-is-finite.mjs} +0 -0
- /package/{esm2015/f-minimap/domain/f-minimap-data.js → esm2020/f-minimap/domain/f-minimap-data.mjs} +0 -0
- /package/{esm2015/f-minimap/domain/index.js → esm2020/f-minimap/domain/index.mjs} +0 -0
- /package/{esm2015/f-minimap/domain/minimap-drag-finalize/index.js → esm2020/f-minimap/domain/minimap-drag-finalize/index.mjs} +0 -0
- /package/{esm2015/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.request.js → esm2020/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.request.mjs} +0 -0
- /package/{esm2015/f-minimap/domain/minimap-drag-finalize/providers.js → esm2020/f-minimap/domain/minimap-drag-finalize/providers.mjs} +0 -0
- /package/{esm2015/f-minimap/domain/minimap-drag-preparation/index.js → esm2020/f-minimap/domain/minimap-drag-preparation/index.mjs} +0 -0
- /package/{esm2015/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.request.js → esm2020/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.request.mjs} +0 -0
- /package/{esm2015/f-minimap/domain/minimap-drag-preparation/providers.js → esm2020/f-minimap/domain/minimap-drag-preparation/providers.mjs} +0 -0
- /package/{esm2015/f-minimap/domain/providers.js → esm2020/f-minimap/domain/providers.mjs} +0 -0
- /package/{esm2015/f-minimap/index.js → esm2020/f-minimap/index.mjs} +0 -0
- /package/{esm2015/f-minimap/providers.js → esm2020/f-minimap/providers.mjs} +0 -0
- /package/{esm2015/f-node/domain/index.js → esm2020/f-node/domain/index.mjs} +0 -0
- /package/{esm2015/f-node/domain/is-group.js → esm2020/f-node/domain/is-group.mjs} +0 -0
- /package/{esm2015/f-node/domain/is-node.js → esm2020/f-node/domain/is-node.mjs} +0 -0
- /package/{esm2015/f-node/f-drag-handle/index.js → esm2020/f-node/f-drag-handle/index.mjs} +0 -0
- /package/{esm2015/f-node/f-node-base.js → esm2020/f-node/f-node-base.mjs} +0 -0
- /package/{esm2015/f-node/f-resize-handle/e-f-resize-handle-type.js → esm2020/f-node/f-resize-handle/e-f-resize-handle-type.mjs} +0 -0
- /package/{esm2015/f-node/f-resize-handle/index.js → esm2020/f-node/f-resize-handle/index.mjs} +0 -0
- /package/{esm2015/f-node/f-resize-observer.js → esm2020/f-node/f-resize-observer.mjs} +0 -0
- /package/{esm2015/f-node/f-rotate-handle/f-rotate-handle.directive.js → esm2020/f-node/f-rotate-handle/f-rotate-handle.directive.mjs} +0 -0
- /package/{esm2015/f-node/f-rotate-handle/index.js → esm2020/f-node/f-rotate-handle/index.mjs} +0 -0
- /package/{esm2015/f-node/index.js → esm2020/f-node/index.mjs} +0 -0
- /package/{esm2015/f-node/providers.js → esm2020/f-node/providers.mjs} +0 -0
- /package/{esm2015/f-selection-area/domain/index.js → esm2020/f-selection-area/domain/index.mjs} +0 -0
- /package/{esm2015/f-selection-area/domain/providers.js → esm2020/f-selection-area/domain/providers.mjs} +0 -0
- /package/{esm2015/f-selection-area/domain/selection-area-finalize/index.js → esm2020/f-selection-area/domain/selection-area-finalize/index.mjs} +0 -0
- /package/{esm2015/f-selection-area/domain/selection-area-finalize/providers.js → esm2020/f-selection-area/domain/selection-area-finalize/providers.mjs} +0 -0
- /package/{esm2015/f-selection-area/domain/selection-area-finalize/selection-area-finalize.request.js → esm2020/f-selection-area/domain/selection-area-finalize/selection-area-finalize.request.mjs} +0 -0
- /package/{esm2015/f-selection-area/domain/selection-area-preparation/index.js → esm2020/f-selection-area/domain/selection-area-preparation/index.mjs} +0 -0
- /package/{esm2015/f-selection-area/domain/selection-area-preparation/providers.js → esm2020/f-selection-area/domain/selection-area-preparation/providers.mjs} +0 -0
- /package/{esm2015/f-selection-area/domain/selection-area-preparation/selection-area-preparation.request.js → esm2020/f-selection-area/domain/selection-area-preparation/selection-area-preparation.request.mjs} +0 -0
- /package/{esm2015/f-selection-area/domain/selection-area.drag-handle.js → esm2020/f-selection-area/domain/selection-area.drag-handle.mjs} +0 -0
- /package/{esm2015/f-selection-area/index.js → esm2020/f-selection-area/index.mjs} +0 -0
- /package/{esm2015/f-selection-area/providers.js → esm2020/f-selection-area/providers.mjs} +0 -0
- /package/{esm2015/f-storage/index.js → esm2020/f-storage/index.mjs} +0 -0
- /package/{esm2015/f-zoom/index.js → esm2020/f-zoom/index.mjs} +0 -0
- /package/{esm2015/f-zoom/providers.js → esm2020/f-zoom/providers.mjs} +0 -0
- /package/{esm2015/foblex-flow.js → esm2020/foblex-flow.mjs} +0 -0
- /package/{esm2015/i-has-host-element.js → esm2020/i-has-host-element.mjs} +0 -0
- /package/{esm2015/i-has-state-changes.js → esm2020/i-has-state-changes.mjs} +0 -0
- /package/{esm2015/mixins/change-selection/i-can-change-selection.js → esm2020/mixins/change-selection/i-can-change-selection.mjs} +0 -0
- /package/{esm2015/mixins/change-selection/index.js → esm2020/mixins/change-selection/index.mjs} +0 -0
- /package/{esm2015/mixins/change-visibility/change-visibility.js → esm2020/mixins/change-visibility/change-visibility.mjs} +0 -0
- /package/{esm2015/mixins/change-visibility/i-can-change-visibility.js → esm2020/mixins/change-visibility/i-can-change-visibility.mjs} +0 -0
- /package/{esm2015/mixins/change-visibility/index.js → esm2020/mixins/change-visibility/index.mjs} +0 -0
- /package/{esm2015/mixins/constructor.js → esm2020/mixins/constructor.mjs} +0 -0
- /package/{esm2015/mixins/index.js → esm2020/mixins/index.mjs} +0 -0
- /package/{esm2015/public-api.js → esm2020/public-api.mjs} +0 -0
- /package/f-draggable/connections/{common/get-input-under-pointer → get-input-under-pointer}/index.d.ts +0 -0
- /package/{foblex-flow.d.ts → index.d.ts} +0 -0
|
@@ -1,23 +1,19 @@
|
|
|
1
|
-
import { __decorate } from 'tslib';
|
|
2
|
-
import { RoundedRect, RectExtensions, Point, PointExtensions, LineExtensions, SizeExtensions, GetIntersections, Line, TransformModelExtensions } from '@foblex/2d';
|
|
3
1
|
import * as i0 from '@angular/core';
|
|
4
|
-
import {
|
|
2
|
+
import { InjectionToken, Injectable, Directive, Input, HostBinding, EventEmitter, Output, Inject, Component, ChangeDetectionStrategy, ViewChild, Optional, ContentChildren, NgZone, ContentChild, NgModule } from '@angular/core';
|
|
3
|
+
import { RoundedRect, RectExtensions, TransformModelExtensions, PointExtensions, Point, SizeExtensions, LineExtensions, GetIntersections, Line } from '@foblex/2d';
|
|
4
|
+
import { Subject, Observable, Subscription, merge } from 'rxjs';
|
|
5
|
+
import { debounceTime, startWith } from 'rxjs/operators';
|
|
6
|
+
import { __decorate } from 'tslib';
|
|
5
7
|
import * as i2 from '@foblex/mediator';
|
|
6
8
|
import { FExecutionRegister, FValidatorRegister, FMediator } from '@foblex/mediator';
|
|
7
9
|
import { normalizeDomElementId, castToEnum, castToBoolean, flatMap, isClosestElementHasClass, getDataAttrValueFromClosestElementWithClass, deepCloneNode } from '@foblex/utils';
|
|
8
10
|
import * as i1 from '@foblex/platform';
|
|
9
11
|
import { EOperationSystem } from '@foblex/platform';
|
|
10
|
-
import
|
|
11
|
-
import { debounceTime, startWith } from 'rxjs/operators';
|
|
12
|
-
import * as i8 from '@angular/common';
|
|
12
|
+
import * as i3 from '@angular/common';
|
|
13
13
|
import { CommonModule } from '@angular/common';
|
|
14
14
|
import { DragAndDropBase, EventExtensions } from '@foblex/drag-toolkit';
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
constructor(fPattern) {
|
|
18
|
-
this.fPattern = fPattern;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
16
|
+
const F_BACKGROUND_PATTERN = new InjectionToken('F_BACKGROUND_PATTERN');
|
|
21
17
|
|
|
22
18
|
class CreateConnectionMarkersRequest {
|
|
23
19
|
constructor(fConnection) {
|
|
@@ -68,9 +64,9 @@ class FComponentsStore {
|
|
|
68
64
|
this.componentsDataChanges.next();
|
|
69
65
|
}
|
|
70
66
|
}
|
|
71
|
-
FComponentsStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
72
|
-
FComponentsStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
73
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
67
|
+
FComponentsStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FComponentsStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
68
|
+
FComponentsStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FComponentsStore });
|
|
69
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FComponentsStore, decorators: [{
|
|
74
70
|
type: Injectable
|
|
75
71
|
}] });
|
|
76
72
|
|
|
@@ -79,9 +75,9 @@ class FTransformStore {
|
|
|
79
75
|
this.changes = new Subject();
|
|
80
76
|
}
|
|
81
77
|
}
|
|
82
|
-
FTransformStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
83
|
-
FTransformStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
84
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
78
|
+
FTransformStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FTransformStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
79
|
+
FTransformStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FTransformStore });
|
|
80
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FTransformStore, decorators: [{
|
|
85
81
|
type: Injectable
|
|
86
82
|
}] });
|
|
87
83
|
|
|
@@ -125,12 +121,12 @@ let CreateConnectionMarkersExecution = class CreateConnectionMarkersExecution {
|
|
|
125
121
|
return markerElement;
|
|
126
122
|
}
|
|
127
123
|
};
|
|
128
|
-
CreateConnectionMarkersExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
129
|
-
CreateConnectionMarkersExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
124
|
+
CreateConnectionMarkersExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CreateConnectionMarkersExecution, deps: [{ token: i1.BrowserService }, { token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
125
|
+
CreateConnectionMarkersExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CreateConnectionMarkersExecution });
|
|
130
126
|
CreateConnectionMarkersExecution = __decorate([
|
|
131
127
|
FExecutionRegister(CreateConnectionMarkersRequest)
|
|
132
128
|
], CreateConnectionMarkersExecution);
|
|
133
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
129
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CreateConnectionMarkersExecution, decorators: [{
|
|
134
130
|
type: Injectable
|
|
135
131
|
}], ctorParameters: function () { return [{ type: i1.BrowserService }, { type: FComponentsStore }]; } });
|
|
136
132
|
function createSVGElement$1(tag, fBrowser) {
|
|
@@ -165,12 +161,12 @@ let CreateRoundedRectFromElementExecution = class CreateRoundedRectFromElementEx
|
|
|
165
161
|
return this.fBrowser.toPixels(value, element.clientWidth, element.clientHeight, fontSize) || 0;
|
|
166
162
|
}
|
|
167
163
|
};
|
|
168
|
-
CreateRoundedRectFromElementExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
169
|
-
CreateRoundedRectFromElementExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
164
|
+
CreateRoundedRectFromElementExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CreateRoundedRectFromElementExecution, deps: [{ token: i1.BrowserService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
165
|
+
CreateRoundedRectFromElementExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CreateRoundedRectFromElementExecution });
|
|
170
166
|
CreateRoundedRectFromElementExecution = __decorate([
|
|
171
167
|
FExecutionRegister(CreateRoundedRectFromElementRequest)
|
|
172
168
|
], CreateRoundedRectFromElementExecution);
|
|
173
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
169
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CreateRoundedRectFromElementExecution, decorators: [{
|
|
174
170
|
type: Injectable
|
|
175
171
|
}], ctorParameters: function () { return [{ type: i1.BrowserService }]; } });
|
|
176
172
|
|
|
@@ -185,183 +181,341 @@ let EmitTransformChangesExecution = class EmitTransformChangesExecution {
|
|
|
185
181
|
this.fTransformStore.changes.next();
|
|
186
182
|
}
|
|
187
183
|
};
|
|
188
|
-
EmitTransformChangesExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
189
|
-
EmitTransformChangesExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
184
|
+
EmitTransformChangesExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EmitTransformChangesExecution, deps: [{ token: FTransformStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
185
|
+
EmitTransformChangesExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EmitTransformChangesExecution });
|
|
190
186
|
EmitTransformChangesExecution = __decorate([
|
|
191
187
|
FExecutionRegister(EmitTransformChangesRequest)
|
|
192
188
|
], EmitTransformChangesExecution);
|
|
193
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
189
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EmitTransformChangesExecution, decorators: [{
|
|
194
190
|
type: Injectable
|
|
195
191
|
}], ctorParameters: function () { return [{ type: FTransformStore }]; } });
|
|
196
192
|
|
|
197
|
-
class
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
class CanvasMoveFinalizeRequest {
|
|
201
|
-
constructor(event) {
|
|
202
|
-
this.event = event;
|
|
193
|
+
class AddPatternToBackgroundRequest {
|
|
194
|
+
constructor(fPattern) {
|
|
195
|
+
this.fPattern = fPattern;
|
|
203
196
|
}
|
|
204
197
|
}
|
|
205
198
|
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
this.
|
|
210
|
-
this.
|
|
211
|
-
this.onPointerDownPosition = new Point(0, 0);
|
|
212
|
-
this.draggableItems = [];
|
|
213
|
-
}
|
|
214
|
-
reset() {
|
|
215
|
-
this.draggableItems = [];
|
|
216
|
-
this.onPointerDownScale = 1;
|
|
217
|
-
this.onPointerDownPosition = new Point(0, 0);
|
|
218
|
-
}
|
|
219
|
-
markSelectionAsChanged() {
|
|
220
|
-
this.isSelectedChanged = true;
|
|
199
|
+
let uniqueId$c = 0;
|
|
200
|
+
let AddPatternToBackgroundExecution = class AddPatternToBackgroundExecution {
|
|
201
|
+
constructor(fComponentsStore, fBrowser) {
|
|
202
|
+
this.fComponentsStore = fComponentsStore;
|
|
203
|
+
this.fBrowser = fBrowser;
|
|
221
204
|
}
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
FDraggableDataContext.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FDraggableDataContext });
|
|
225
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FDraggableDataContext, decorators: [{
|
|
226
|
-
type: Injectable
|
|
227
|
-
}] });
|
|
228
|
-
|
|
229
|
-
let CanvasMoveFinalizeExecution = class CanvasMoveFinalizeExecution {
|
|
230
|
-
constructor(fDraggableDataContext) {
|
|
231
|
-
this.fDraggableDataContext = fDraggableDataContext;
|
|
205
|
+
get fBackground() {
|
|
206
|
+
return this.fComponentsStore.fBackground;
|
|
232
207
|
}
|
|
233
208
|
handle(request) {
|
|
234
|
-
|
|
209
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
210
|
+
const children = ((_a = request.fPattern) === null || _a === void 0 ? void 0 : _a.hostElement.getElementsByTagName('pattern')) || [];
|
|
211
|
+
const pattern = children.length ? children[0] : undefined;
|
|
212
|
+
if (pattern) {
|
|
213
|
+
const defs = createSVGElement('defs', this.fBrowser);
|
|
214
|
+
pattern.id = 'f-background-pattern-' + uniqueId$c++;
|
|
215
|
+
(_b = request.fPattern) === null || _b === void 0 ? void 0 : _b.hostElement.remove();
|
|
216
|
+
defs.appendChild(pattern);
|
|
217
|
+
(_d = (_c = this.fBackground.hostElement) === null || _c === void 0 ? void 0 : _c.firstChild) === null || _d === void 0 ? void 0 : _d.appendChild(defs);
|
|
218
|
+
const rect = createSVGElement('rect', this.fBrowser);
|
|
219
|
+
rect.setAttribute('fill', 'url(#' + pattern.id + ')');
|
|
220
|
+
rect.setAttribute('width', '100%');
|
|
221
|
+
rect.setAttribute('height', '100%');
|
|
222
|
+
(_e = this.fBackground.hostElement.firstChild) === null || _e === void 0 ? void 0 : _e.appendChild(rect);
|
|
223
|
+
const transform = ((_f = this.fComponentsStore.fCanvas) === null || _f === void 0 ? void 0 : _f.transform) || TransformModelExtensions.default();
|
|
224
|
+
(_g = request.fPattern) === null || _g === void 0 ? void 0 : _g.setTransform(transform);
|
|
225
|
+
}
|
|
235
226
|
}
|
|
236
227
|
};
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
FExecutionRegister(
|
|
241
|
-
],
|
|
242
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
228
|
+
AddPatternToBackgroundExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AddPatternToBackgroundExecution, deps: [{ token: FComponentsStore }, { token: i1.BrowserService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
229
|
+
AddPatternToBackgroundExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AddPatternToBackgroundExecution });
|
|
230
|
+
AddPatternToBackgroundExecution = __decorate([
|
|
231
|
+
FExecutionRegister(AddPatternToBackgroundRequest)
|
|
232
|
+
], AddPatternToBackgroundExecution);
|
|
233
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AddPatternToBackgroundExecution, decorators: [{
|
|
243
234
|
type: Injectable
|
|
244
|
-
}], ctorParameters: function () { return [{ type:
|
|
235
|
+
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: i1.BrowserService }]; } });
|
|
245
236
|
|
|
246
|
-
|
|
237
|
+
const F_BACKGROUND_FEATURES = [
|
|
238
|
+
AddPatternToBackgroundExecution
|
|
239
|
+
];
|
|
240
|
+
|
|
241
|
+
class CenterGroupOrNodeRequest {
|
|
242
|
+
constructor(id, animated) {
|
|
243
|
+
this.id = id;
|
|
244
|
+
this.animated = animated;
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
let CenterGroupOrNodeExecution = class CenterGroupOrNodeExecution {
|
|
247
249
|
constructor(fComponentsStore) {
|
|
248
250
|
this.fComponentsStore = fComponentsStore;
|
|
249
|
-
this.onPointerDownPosition = PointExtensions.initialize();
|
|
250
|
-
}
|
|
251
|
-
initialize() {
|
|
252
|
-
this.onPointerDownPosition = this.fComponentsStore.fCanvas.transform.position;
|
|
253
251
|
}
|
|
254
|
-
|
|
255
|
-
this.fComponentsStore.fCanvas.
|
|
256
|
-
this.fComponentsStore.fCanvas.redraw();
|
|
252
|
+
get transform() {
|
|
253
|
+
return this.fComponentsStore.fCanvas.transform;
|
|
257
254
|
}
|
|
258
|
-
|
|
255
|
+
handle(request) {
|
|
256
|
+
const fNode = this.getNode(request.id);
|
|
257
|
+
if (!fNode) {
|
|
258
|
+
return;
|
|
259
|
+
}
|
|
260
|
+
this.toCenter(this.getNodeRect(fNode), this.getFlowRect(), fNode.position);
|
|
261
|
+
request.animated ? this.fComponentsStore.fCanvas.redrawWithAnimation() : this.fComponentsStore.fCanvas.redraw();
|
|
259
262
|
this.fComponentsStore.fCanvas.emitCanvasChangeEvent();
|
|
263
|
+
setTimeout(() => this.fComponentsStore.componentDataChanged(), F_CANVAS_ANIMATION_DURATION);
|
|
260
264
|
}
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
constructor(fDraggableDataContext) {
|
|
265
|
-
this.fDraggableDataContext = fDraggableDataContext;
|
|
265
|
+
toCenter(fNodeRect, fFlowRect, position) {
|
|
266
|
+
this.transform.scaledPosition = PointExtensions.initialize();
|
|
267
|
+
this.transform.position = PointExtensions.initialize((fFlowRect.width - fNodeRect.width) / 2 - position.x * this.transform.scale, (fFlowRect.height - fNodeRect.height) / 2 - position.y * this.transform.scale);
|
|
266
268
|
}
|
|
267
|
-
|
|
268
|
-
return this.
|
|
269
|
+
getNode(id) {
|
|
270
|
+
return this.fComponentsStore.fNodes.find((x) => x.fId === id);
|
|
271
|
+
}
|
|
272
|
+
getNodeRect(fNode) {
|
|
273
|
+
return RectExtensions.fromElement(fNode.hostElement);
|
|
274
|
+
}
|
|
275
|
+
getFlowRect() {
|
|
276
|
+
return RectExtensions.fromElement(this.fComponentsStore.fFlow.hostElement);
|
|
269
277
|
}
|
|
270
278
|
};
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
],
|
|
276
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
279
|
+
CenterGroupOrNodeExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CenterGroupOrNodeExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
280
|
+
CenterGroupOrNodeExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CenterGroupOrNodeExecution });
|
|
281
|
+
CenterGroupOrNodeExecution = __decorate([
|
|
282
|
+
FExecutionRegister(CenterGroupOrNodeRequest)
|
|
283
|
+
], CenterGroupOrNodeExecution);
|
|
284
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CenterGroupOrNodeExecution, decorators: [{
|
|
277
285
|
type: Injectable
|
|
278
|
-
}], ctorParameters: function () { return [{ type:
|
|
279
|
-
|
|
280
|
-
const CANVAS_MOVE_FINALIZE_PROVIDERS = [
|
|
281
|
-
CanvasMoveFinalizeExecution,
|
|
282
|
-
CanvasMoveFinalizeValidator,
|
|
283
|
-
];
|
|
286
|
+
}], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
|
|
284
287
|
|
|
285
|
-
class
|
|
286
|
-
constructor(
|
|
287
|
-
this.
|
|
288
|
+
class FitToFlowRequest {
|
|
289
|
+
constructor(toCenter, animated) {
|
|
290
|
+
this.toCenter = toCenter;
|
|
291
|
+
this.animated = animated;
|
|
288
292
|
}
|
|
289
293
|
}
|
|
290
294
|
|
|
291
|
-
let
|
|
292
|
-
constructor(fComponentsStore,
|
|
295
|
+
let FitToFlowExecution = class FitToFlowExecution {
|
|
296
|
+
constructor(fComponentsStore, fMediator) {
|
|
293
297
|
this.fComponentsStore = fComponentsStore;
|
|
294
|
-
this.
|
|
298
|
+
this.fMediator = fMediator;
|
|
295
299
|
}
|
|
296
|
-
get
|
|
297
|
-
return this.fComponentsStore.
|
|
300
|
+
get transform() {
|
|
301
|
+
return this.fComponentsStore.fCanvas.transform;
|
|
298
302
|
}
|
|
299
303
|
handle(request) {
|
|
300
|
-
this.
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
304
|
+
const fNodesRect = this.fMediator.send(new GetNodesRectRequest()) || RectExtensions.initialize();
|
|
305
|
+
if (fNodesRect.width === 0 || fNodesRect.height === 0) {
|
|
306
|
+
return;
|
|
307
|
+
}
|
|
308
|
+
this.fitToParent(fNodesRect, RectExtensions.fromElement(this.fComponentsStore.fFlow.hostElement), this.fComponentsStore.fNodes.map((x) => x.position), request.toCenter);
|
|
309
|
+
request.animated ? this.fComponentsStore.fCanvas.redrawWithAnimation() : this.fComponentsStore.fCanvas.redraw();
|
|
310
|
+
this.fComponentsStore.fCanvas.emitCanvasChangeEvent();
|
|
311
|
+
setTimeout(() => this.fComponentsStore.componentDataChanged(), F_CANVAS_ANIMATION_DURATION);
|
|
312
|
+
}
|
|
313
|
+
fitToParent(rect, parentRect, points, toCenter) {
|
|
314
|
+
this.transform.scaledPosition = PointExtensions.initialize();
|
|
315
|
+
this.transform.position = this.getZeroPositionWithoutScale(points);
|
|
316
|
+
const itemsContainerWidth = (rect.width / this.transform.scale) + toCenter.x;
|
|
317
|
+
const itemsContainerHeight = (rect.height / this.transform.scale) + toCenter.y;
|
|
318
|
+
if ((itemsContainerWidth > parentRect.width || itemsContainerHeight > parentRect.height) ||
|
|
319
|
+
itemsContainerWidth < parentRect.width && itemsContainerHeight < parentRect.height) {
|
|
320
|
+
this.transform.scale = Math.min(parentRect.width / itemsContainerWidth, parentRect.height / itemsContainerHeight);
|
|
321
|
+
}
|
|
322
|
+
const newX = (parentRect.width - itemsContainerWidth * this.transform.scale) / 2 - this.transform.position.x * this.transform.scale;
|
|
323
|
+
const newY = (parentRect.height - itemsContainerHeight * this.transform.scale) / 2 - this.transform.position.y * this.transform.scale;
|
|
324
|
+
this.transform.position = PointExtensions.initialize(newX + (toCenter.x / 2) * this.transform.scale, newY + (toCenter.y / 2) * this.transform.scale);
|
|
325
|
+
}
|
|
326
|
+
getZeroPositionWithoutScale(points) {
|
|
327
|
+
const xPoint = points.length ? Math.min(...points.map((point) => point.x)) : 0;
|
|
328
|
+
const yPoint = points.length ? Math.min(...points.map((point) => point.y)) : 0;
|
|
329
|
+
return PointExtensions.initialize(xPoint, yPoint);
|
|
306
330
|
}
|
|
307
331
|
};
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
FExecutionRegister(
|
|
312
|
-
],
|
|
313
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
332
|
+
FitToFlowExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FitToFlowExecution, deps: [{ token: FComponentsStore }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
333
|
+
FitToFlowExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FitToFlowExecution });
|
|
334
|
+
FitToFlowExecution = __decorate([
|
|
335
|
+
FExecutionRegister(FitToFlowRequest)
|
|
336
|
+
], FitToFlowExecution);
|
|
337
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FitToFlowExecution, decorators: [{
|
|
314
338
|
type: Injectable
|
|
315
|
-
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type:
|
|
339
|
+
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: i2.FMediator }]; } });
|
|
316
340
|
|
|
317
|
-
|
|
318
|
-
constructor(
|
|
319
|
-
this.
|
|
320
|
-
this.
|
|
341
|
+
class InputCanvasPositionRequest {
|
|
342
|
+
constructor(transform, position) {
|
|
343
|
+
this.transform = transform;
|
|
344
|
+
this.position = position;
|
|
321
345
|
}
|
|
322
|
-
|
|
323
|
-
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
let InputCanvasPositionExecution = class InputCanvasPositionExecution {
|
|
349
|
+
constructor(fComponentsStore) {
|
|
350
|
+
this.fComponentsStore = fComponentsStore;
|
|
324
351
|
}
|
|
325
352
|
handle(request) {
|
|
326
|
-
return !this.fDraggableDataContext.draggableItems.length &&
|
|
327
|
-
(this.isBackgroundElement(request.event.targetElement) || this.isDragOnHost(request.event.targetElement));
|
|
328
|
-
}
|
|
329
|
-
isBackgroundElement(targetElement) {
|
|
330
353
|
var _a;
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
result = undefined;
|
|
354
|
+
if (!request.position) {
|
|
355
|
+
return;
|
|
356
|
+
}
|
|
357
|
+
const position = PointExtensions.sum(request.transform.position, request.transform.scaledPosition);
|
|
358
|
+
if (!PointExtensions.isEqual(position, request.position)) {
|
|
359
|
+
request.transform.position = request.position;
|
|
360
|
+
request.transform.scaledPosition = PointExtensions.initialize();
|
|
361
|
+
(_a = this.fComponentsStore.fCanvas) === null || _a === void 0 ? void 0 : _a.redraw();
|
|
340
362
|
}
|
|
341
|
-
return result;
|
|
342
363
|
}
|
|
343
364
|
};
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
],
|
|
349
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
365
|
+
InputCanvasPositionExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: InputCanvasPositionExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
366
|
+
InputCanvasPositionExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: InputCanvasPositionExecution });
|
|
367
|
+
InputCanvasPositionExecution = __decorate([
|
|
368
|
+
FExecutionRegister(InputCanvasPositionRequest)
|
|
369
|
+
], InputCanvasPositionExecution);
|
|
370
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: InputCanvasPositionExecution, decorators: [{
|
|
350
371
|
type: Injectable
|
|
351
|
-
}], ctorParameters: function () { return [{ type: FComponentsStore }
|
|
352
|
-
|
|
353
|
-
const CANVAS_MOVE_PREPARATION_PROVIDERS = [
|
|
354
|
-
CanvasMovePreparationExecution,
|
|
355
|
-
CanvasMovePreparationValidator,
|
|
356
|
-
];
|
|
372
|
+
}], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
|
|
357
373
|
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
374
|
+
class InputCanvasScaleRequest {
|
|
375
|
+
constructor(transform, scale) {
|
|
376
|
+
this.transform = transform;
|
|
377
|
+
this.scale = scale;
|
|
378
|
+
}
|
|
379
|
+
}
|
|
362
380
|
|
|
363
|
-
class
|
|
364
|
-
constructor(
|
|
381
|
+
let InputCanvasScaleExecution = class InputCanvasScaleExecution {
|
|
382
|
+
constructor(fComponentsStore) {
|
|
383
|
+
this.fComponentsStore = fComponentsStore;
|
|
384
|
+
}
|
|
385
|
+
handle(request) {
|
|
386
|
+
var _a;
|
|
387
|
+
if (!request.scale) {
|
|
388
|
+
return;
|
|
389
|
+
}
|
|
390
|
+
request.transform.scale = request.scale;
|
|
391
|
+
(_a = this.fComponentsStore.fCanvas) === null || _a === void 0 ? void 0 : _a.redraw();
|
|
392
|
+
}
|
|
393
|
+
};
|
|
394
|
+
InputCanvasScaleExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: InputCanvasScaleExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
395
|
+
InputCanvasScaleExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: InputCanvasScaleExecution });
|
|
396
|
+
InputCanvasScaleExecution = __decorate([
|
|
397
|
+
FExecutionRegister(InputCanvasScaleRequest)
|
|
398
|
+
], InputCanvasScaleExecution);
|
|
399
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: InputCanvasScaleExecution, decorators: [{
|
|
400
|
+
type: Injectable
|
|
401
|
+
}], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
|
|
402
|
+
|
|
403
|
+
class ResetScaleRequest {
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
let ResetScaleExecution = class ResetScaleExecution {
|
|
407
|
+
constructor(fComponentsStore) {
|
|
408
|
+
this.fComponentsStore = fComponentsStore;
|
|
409
|
+
}
|
|
410
|
+
get transform() {
|
|
411
|
+
return this.fComponentsStore.fCanvas.transform;
|
|
412
|
+
}
|
|
413
|
+
handle(request) {
|
|
414
|
+
this.transform.scale = 1;
|
|
415
|
+
this.transform.scaledPosition = PointExtensions.initialize();
|
|
416
|
+
}
|
|
417
|
+
};
|
|
418
|
+
ResetScaleExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ResetScaleExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
419
|
+
ResetScaleExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ResetScaleExecution });
|
|
420
|
+
ResetScaleExecution = __decorate([
|
|
421
|
+
FExecutionRegister(ResetScaleRequest)
|
|
422
|
+
], ResetScaleExecution);
|
|
423
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ResetScaleExecution, decorators: [{
|
|
424
|
+
type: Injectable
|
|
425
|
+
}], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
|
|
426
|
+
|
|
427
|
+
class ResetScaleAndCenterRequest {
|
|
428
|
+
constructor(animated) {
|
|
429
|
+
this.animated = animated;
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
let ResetScaleAndCenterExecution = class ResetScaleAndCenterExecution {
|
|
434
|
+
constructor(fComponentsStore, fMediator) {
|
|
435
|
+
this.fComponentsStore = fComponentsStore;
|
|
436
|
+
this.fMediator = fMediator;
|
|
437
|
+
}
|
|
438
|
+
get transform() {
|
|
439
|
+
return this.fComponentsStore.fCanvas.transform;
|
|
440
|
+
}
|
|
441
|
+
handle(request) {
|
|
442
|
+
const fNodesRect = this.fMediator.send(new GetNodesRectRequest()) || RectExtensions.initialize();
|
|
443
|
+
if (fNodesRect.width === 0 || fNodesRect.height === 0) {
|
|
444
|
+
return;
|
|
445
|
+
}
|
|
446
|
+
this.oneToOneCentering(fNodesRect, RectExtensions.fromElement(this.fComponentsStore.fFlow.hostElement), this.fComponentsStore.fNodes.map((x) => x.position));
|
|
447
|
+
request.animated ? this.fComponentsStore.fCanvas.redrawWithAnimation() : this.fComponentsStore.fCanvas.redraw();
|
|
448
|
+
this.fComponentsStore.fCanvas.emitCanvasChangeEvent();
|
|
449
|
+
setTimeout(() => this.fComponentsStore.componentDataChanged(), F_CANVAS_ANIMATION_DURATION);
|
|
450
|
+
}
|
|
451
|
+
oneToOneCentering(rect, parentRect, points) {
|
|
452
|
+
this.transform.scaledPosition = PointExtensions.initialize();
|
|
453
|
+
this.transform.position = this.getZeroPositionWithoutScale(points);
|
|
454
|
+
const newX = (parentRect.width - rect.width / this.transform.scale) / 2 - this.transform.position.x;
|
|
455
|
+
const newY = (parentRect.height - rect.height / this.transform.scale) / 2 - this.transform.position.y;
|
|
456
|
+
this.transform.scale = 1;
|
|
457
|
+
this.transform.position = PointExtensions.initialize(newX, newY);
|
|
458
|
+
}
|
|
459
|
+
getZeroPositionWithoutScale(points) {
|
|
460
|
+
const xPoint = points.length ? Math.min(...points.map((point) => point.x)) : 0;
|
|
461
|
+
const yPoint = points.length ? Math.min(...points.map((point) => point.y)) : 0;
|
|
462
|
+
return PointExtensions.initialize(xPoint, yPoint);
|
|
463
|
+
}
|
|
464
|
+
};
|
|
465
|
+
ResetScaleAndCenterExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ResetScaleAndCenterExecution, deps: [{ token: FComponentsStore }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
466
|
+
ResetScaleAndCenterExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ResetScaleAndCenterExecution });
|
|
467
|
+
ResetScaleAndCenterExecution = __decorate([
|
|
468
|
+
FExecutionRegister(ResetScaleAndCenterRequest)
|
|
469
|
+
], ResetScaleAndCenterExecution);
|
|
470
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ResetScaleAndCenterExecution, decorators: [{
|
|
471
|
+
type: Injectable
|
|
472
|
+
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: i2.FMediator }]; } });
|
|
473
|
+
|
|
474
|
+
class UpdateScaleRequest {
|
|
475
|
+
constructor(scale, toPosition) {
|
|
476
|
+
this.scale = scale;
|
|
477
|
+
this.toPosition = toPosition;
|
|
478
|
+
}
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
let UpdateScaleExecution = class UpdateScaleExecution {
|
|
482
|
+
constructor(fComponentsStore) {
|
|
483
|
+
this.fComponentsStore = fComponentsStore;
|
|
484
|
+
}
|
|
485
|
+
get transform() {
|
|
486
|
+
return this.fComponentsStore.fCanvas.transform;
|
|
487
|
+
}
|
|
488
|
+
handle(request) {
|
|
489
|
+
if (request.scale !== this.transform.scale) {
|
|
490
|
+
const summaryPosition = PointExtensions.sum(this.transform.scaledPosition, this.transform.position);
|
|
491
|
+
const newX = request.toPosition.x - (request.toPosition.x - summaryPosition.x) * request.scale / this.transform.scale;
|
|
492
|
+
const newY = request.toPosition.y - (request.toPosition.y - summaryPosition.y) * request.scale / this.transform.scale;
|
|
493
|
+
this.transform.scale = request.scale;
|
|
494
|
+
this.transform.scaledPosition = PointExtensions.sub(PointExtensions.initialize(newX, newY), this.transform.position);
|
|
495
|
+
}
|
|
496
|
+
}
|
|
497
|
+
};
|
|
498
|
+
UpdateScaleExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: UpdateScaleExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
499
|
+
UpdateScaleExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: UpdateScaleExecution });
|
|
500
|
+
UpdateScaleExecution = __decorate([
|
|
501
|
+
FExecutionRegister(UpdateScaleRequest)
|
|
502
|
+
], UpdateScaleExecution);
|
|
503
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: UpdateScaleExecution, decorators: [{
|
|
504
|
+
type: Injectable
|
|
505
|
+
}], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
|
|
506
|
+
|
|
507
|
+
const F_CANVAS_FEATURES = [
|
|
508
|
+
CenterGroupOrNodeExecution,
|
|
509
|
+
FitToFlowExecution,
|
|
510
|
+
InputCanvasPositionExecution,
|
|
511
|
+
InputCanvasScaleExecution,
|
|
512
|
+
ResetScaleExecution,
|
|
513
|
+
ResetScaleAndCenterExecution,
|
|
514
|
+
UpdateScaleExecution
|
|
515
|
+
];
|
|
516
|
+
|
|
517
|
+
class FindClosestInputUsingSnapThresholdRequest {
|
|
518
|
+
constructor(position, canBeConnectedInputs, snapThreshold) {
|
|
365
519
|
this.position = position;
|
|
366
520
|
this.canBeConnectedInputs = canBeConnectedInputs;
|
|
367
521
|
this.snapThreshold = snapThreshold;
|
|
@@ -392,12 +546,12 @@ let FindClosestInputUsingSnapThresholdExecution = class FindClosestInputUsingSna
|
|
|
392
546
|
return Math.max(min, Math.min(max, value));
|
|
393
547
|
}
|
|
394
548
|
};
|
|
395
|
-
FindClosestInputUsingSnapThresholdExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
396
|
-
FindClosestInputUsingSnapThresholdExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
549
|
+
FindClosestInputUsingSnapThresholdExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FindClosestInputUsingSnapThresholdExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
550
|
+
FindClosestInputUsingSnapThresholdExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FindClosestInputUsingSnapThresholdExecution });
|
|
397
551
|
FindClosestInputUsingSnapThresholdExecution = __decorate([
|
|
398
552
|
FExecutionRegister(FindClosestInputUsingSnapThresholdRequest)
|
|
399
553
|
], FindClosestInputUsingSnapThresholdExecution);
|
|
400
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
554
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FindClosestInputUsingSnapThresholdExecution, decorators: [{
|
|
401
555
|
type: Injectable
|
|
402
556
|
}] });
|
|
403
557
|
|
|
@@ -413,6 +567,45 @@ class GetConnectorWithRectRequest {
|
|
|
413
567
|
}
|
|
414
568
|
}
|
|
415
569
|
|
|
570
|
+
class GetElementRectInFlowRequest {
|
|
571
|
+
constructor(element) {
|
|
572
|
+
this.element = element;
|
|
573
|
+
}
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
let GetElementRectInFlowExecution = class GetElementRectInFlowExecution {
|
|
577
|
+
constructor(fComponentsStore, fMediator) {
|
|
578
|
+
this.fComponentsStore = fComponentsStore;
|
|
579
|
+
this.fMediator = fMediator;
|
|
580
|
+
}
|
|
581
|
+
get transform() {
|
|
582
|
+
return this.fComponentsStore.transform;
|
|
583
|
+
}
|
|
584
|
+
get flowHost() {
|
|
585
|
+
return this.fComponentsStore.flowHost;
|
|
586
|
+
}
|
|
587
|
+
handle(request) {
|
|
588
|
+
const systemRect = this.fMediator.send(new CreateRoundedRectFromElementRequest(request.element));
|
|
589
|
+
const position = this.transformElementPositionInFlow(systemRect);
|
|
590
|
+
const size = this.transformElementSizeInFlow(systemRect);
|
|
591
|
+
return new RoundedRect(position.x, position.y, size.width, size.height, systemRect.radius1, systemRect.radius2, systemRect.radius3, systemRect.radius4);
|
|
592
|
+
}
|
|
593
|
+
transformElementPositionInFlow(rect) {
|
|
594
|
+
return Point.fromPoint(rect).elementTransform(this.flowHost).sub(this.transform.scaledPosition).sub(this.transform.position).div(this.transform.scale);
|
|
595
|
+
}
|
|
596
|
+
transformElementSizeInFlow(rect) {
|
|
597
|
+
return SizeExtensions.initialize(rect.width / this.transform.scale, rect.height / this.transform.scale);
|
|
598
|
+
}
|
|
599
|
+
};
|
|
600
|
+
GetElementRectInFlowExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetElementRectInFlowExecution, deps: [{ token: FComponentsStore }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
601
|
+
GetElementRectInFlowExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetElementRectInFlowExecution });
|
|
602
|
+
GetElementRectInFlowExecution = __decorate([
|
|
603
|
+
FExecutionRegister(GetElementRectInFlowRequest)
|
|
604
|
+
], GetElementRectInFlowExecution);
|
|
605
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetElementRectInFlowExecution, decorators: [{
|
|
606
|
+
type: Injectable
|
|
607
|
+
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: i2.FMediator }]; } });
|
|
608
|
+
|
|
416
609
|
let GetConnectorWithRectExecution = class GetConnectorWithRectExecution {
|
|
417
610
|
constructor(fMediator) {
|
|
418
611
|
this.fMediator = fMediator;
|
|
@@ -424,12 +617,12 @@ let GetConnectorWithRectExecution = class GetConnectorWithRectExecution {
|
|
|
424
617
|
};
|
|
425
618
|
}
|
|
426
619
|
};
|
|
427
|
-
GetConnectorWithRectExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
428
|
-
GetConnectorWithRectExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
620
|
+
GetConnectorWithRectExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetConnectorWithRectExecution, deps: [{ token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
621
|
+
GetConnectorWithRectExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetConnectorWithRectExecution });
|
|
429
622
|
GetConnectorWithRectExecution = __decorate([
|
|
430
623
|
FExecutionRegister(GetConnectorWithRectRequest)
|
|
431
624
|
], GetConnectorWithRectExecution);
|
|
432
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
625
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetConnectorWithRectExecution, decorators: [{
|
|
433
626
|
type: Injectable
|
|
434
627
|
}], ctorParameters: function () { return [{ type: i2.FMediator }]; } });
|
|
435
628
|
|
|
@@ -470,162 +663,185 @@ let GetAllCanBeConnectedInputPositionsExecution = class GetAllCanBeConnectedInpu
|
|
|
470
663
|
return this.fNodes.find((x) => x.isContains(connector.hostElement));
|
|
471
664
|
}
|
|
472
665
|
};
|
|
473
|
-
GetAllCanBeConnectedInputPositionsExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
474
|
-
GetAllCanBeConnectedInputPositionsExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
666
|
+
GetAllCanBeConnectedInputPositionsExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetAllCanBeConnectedInputPositionsExecution, deps: [{ token: FComponentsStore }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
667
|
+
GetAllCanBeConnectedInputPositionsExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetAllCanBeConnectedInputPositionsExecution });
|
|
475
668
|
GetAllCanBeConnectedInputPositionsExecution = __decorate([
|
|
476
669
|
FExecutionRegister(GetAllCanBeConnectedInputPositionsRequest)
|
|
477
670
|
], GetAllCanBeConnectedInputPositionsExecution);
|
|
478
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
671
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetAllCanBeConnectedInputPositionsExecution, decorators: [{
|
|
479
672
|
type: Injectable
|
|
480
673
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: i2.FMediator }]; } });
|
|
481
674
|
|
|
482
|
-
|
|
483
|
-
|
|
675
|
+
const F_CONNECTION_FEATURES = [
|
|
676
|
+
FindClosestInputUsingSnapThresholdExecution,
|
|
677
|
+
GetAllCanBeConnectedInputPositionsExecution,
|
|
678
|
+
GetConnectorWithRectExecution,
|
|
679
|
+
];
|
|
680
|
+
|
|
681
|
+
class ClearSelectionRequest {
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
class CanvasMoveFinalizeRequest {
|
|
685
|
+
constructor(event) {
|
|
484
686
|
this.event = event;
|
|
485
|
-
this.dragHandler = dragHandler;
|
|
486
687
|
}
|
|
487
688
|
}
|
|
488
689
|
|
|
489
|
-
|
|
490
|
-
constructor(
|
|
491
|
-
this.
|
|
492
|
-
this.
|
|
493
|
-
this.
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
return this.fComponentsStore.fNodes;
|
|
690
|
+
class FDraggableDataContext {
|
|
691
|
+
constructor() {
|
|
692
|
+
this.selectedItems = [];
|
|
693
|
+
this.isSelectedChanged = false;
|
|
694
|
+
this.onPointerDownScale = 1;
|
|
695
|
+
this.onPointerDownPosition = new Point(0, 0);
|
|
696
|
+
this.draggableItems = [];
|
|
497
697
|
}
|
|
498
|
-
|
|
499
|
-
|
|
698
|
+
reset() {
|
|
699
|
+
this.draggableItems = [];
|
|
700
|
+
this.onPointerDownScale = 1;
|
|
701
|
+
this.onPointerDownPosition = new Point(0, 0);
|
|
500
702
|
}
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
const inputsUnderPointer = this.getInputsUnderPointer(payload.event.getPosition(), payload.dragHandler);
|
|
504
|
-
const connectors = output.isSelfConnectable ?
|
|
505
|
-
inputsUnderPointer :
|
|
506
|
-
this.filterSelfConnectable(inputsUnderPointer, output);
|
|
507
|
-
return connectors.length > 0 ? connectors[0] : undefined;
|
|
703
|
+
markSelectionAsChanged() {
|
|
704
|
+
this.isSelectedChanged = true;
|
|
508
705
|
}
|
|
509
|
-
|
|
510
|
-
|
|
706
|
+
}
|
|
707
|
+
FDraggableDataContext.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FDraggableDataContext, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
708
|
+
FDraggableDataContext.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FDraggableDataContext });
|
|
709
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FDraggableDataContext, decorators: [{
|
|
710
|
+
type: Injectable
|
|
711
|
+
}] });
|
|
712
|
+
|
|
713
|
+
let CanvasMoveFinalizeExecution = class CanvasMoveFinalizeExecution {
|
|
714
|
+
constructor(fDraggableDataContext) {
|
|
715
|
+
this.fDraggableDataContext = fDraggableDataContext;
|
|
511
716
|
}
|
|
512
|
-
|
|
513
|
-
|
|
717
|
+
handle(request) {
|
|
718
|
+
this.fDraggableDataContext.draggableItems.forEach((x) => { var _a; return (_a = x.complete) === null || _a === void 0 ? void 0 : _a.call(x); });
|
|
514
719
|
}
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
720
|
+
};
|
|
721
|
+
CanvasMoveFinalizeExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CanvasMoveFinalizeExecution, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
722
|
+
CanvasMoveFinalizeExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CanvasMoveFinalizeExecution });
|
|
723
|
+
CanvasMoveFinalizeExecution = __decorate([
|
|
724
|
+
FExecutionRegister(CanvasMoveFinalizeRequest)
|
|
725
|
+
], CanvasMoveFinalizeExecution);
|
|
726
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CanvasMoveFinalizeExecution, decorators: [{
|
|
727
|
+
type: Injectable
|
|
728
|
+
}], ctorParameters: function () { return [{ type: FDraggableDataContext }]; } });
|
|
729
|
+
|
|
730
|
+
class CanvasDragHandler {
|
|
731
|
+
constructor(fComponentsStore) {
|
|
732
|
+
this.fComponentsStore = fComponentsStore;
|
|
733
|
+
this.onPointerDownPosition = PointExtensions.initialize();
|
|
526
734
|
}
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
.div(this.fDraggableDataContext.onPointerDownScale).sub(this.fDraggableDataContext.onPointerDownPosition);
|
|
735
|
+
initialize() {
|
|
736
|
+
this.onPointerDownPosition = this.fComponentsStore.fCanvas.transform.position;
|
|
530
737
|
}
|
|
531
|
-
|
|
532
|
-
|
|
738
|
+
move(difference) {
|
|
739
|
+
this.fComponentsStore.fCanvas.setPosition(Point.fromPoint(this.onPointerDownPosition).add(difference));
|
|
740
|
+
this.fComponentsStore.fCanvas.redraw();
|
|
533
741
|
}
|
|
534
|
-
|
|
535
|
-
|
|
742
|
+
complete() {
|
|
743
|
+
this.fComponentsStore.fCanvas.emitCanvasChangeEvent();
|
|
536
744
|
}
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
getNodesInPosition(position) {
|
|
543
|
-
return this.getElementsFromPoint(position).map((element) => {
|
|
544
|
-
return this.fNodes.find((x) => x.isContains(element) && x.fConnectOnNode);
|
|
545
|
-
}).filter((x) => !!x);
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
let CanvasMoveFinalizeValidator = class CanvasMoveFinalizeValidator {
|
|
748
|
+
constructor(fDraggableDataContext) {
|
|
749
|
+
this.fDraggableDataContext = fDraggableDataContext;
|
|
546
750
|
}
|
|
547
|
-
|
|
548
|
-
return
|
|
549
|
-
const targetNode = this.fNodes.find((k) => k.isContains(x.hostElement));
|
|
550
|
-
const sourceNode = this.fNodes.find((k) => k.isContains(connector.hostElement));
|
|
551
|
-
return (sourceNode === null || sourceNode === void 0 ? void 0 : sourceNode.hostElement) !== (targetNode === null || targetNode === void 0 ? void 0 : targetNode.hostElement);
|
|
552
|
-
});
|
|
751
|
+
handle(request) {
|
|
752
|
+
return this.fDraggableDataContext.draggableItems.some((x) => x instanceof CanvasDragHandler);
|
|
553
753
|
}
|
|
554
754
|
};
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
],
|
|
560
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
755
|
+
CanvasMoveFinalizeValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CanvasMoveFinalizeValidator, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
756
|
+
CanvasMoveFinalizeValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CanvasMoveFinalizeValidator });
|
|
757
|
+
CanvasMoveFinalizeValidator = __decorate([
|
|
758
|
+
FValidatorRegister(CanvasMoveFinalizeRequest)
|
|
759
|
+
], CanvasMoveFinalizeValidator);
|
|
760
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CanvasMoveFinalizeValidator, decorators: [{
|
|
561
761
|
type: Injectable
|
|
562
|
-
}], ctorParameters: function () { return [{ type:
|
|
563
|
-
|
|
564
|
-
function createErrorClass(impl) {
|
|
565
|
-
const _super = (instance) => {
|
|
566
|
-
Error.call(instance);
|
|
567
|
-
};
|
|
568
|
-
const constructor = impl(_super);
|
|
569
|
-
constructor.prototype = Object.create(Error.prototype);
|
|
570
|
-
constructor.prototype.constructor = constructor;
|
|
571
|
-
return constructor;
|
|
572
|
-
}
|
|
573
|
-
|
|
574
|
-
const NotFoundError = createErrorClass((_super) => function error(message) {
|
|
575
|
-
_super(this);
|
|
576
|
-
this.message = message || 'The requested resource was not found.';
|
|
577
|
-
this.code = 404;
|
|
578
|
-
});
|
|
762
|
+
}], ctorParameters: function () { return [{ type: FDraggableDataContext }]; } });
|
|
579
763
|
|
|
580
|
-
const
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
});
|
|
764
|
+
const CANVAS_MOVE_FINALIZE_PROVIDERS = [
|
|
765
|
+
CanvasMoveFinalizeExecution,
|
|
766
|
+
CanvasMoveFinalizeValidator,
|
|
767
|
+
];
|
|
585
768
|
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
return new NotFoundError(`Input with fInputId ${id} not found. Make sure there is no f-connection to a non-existent fInput.`);
|
|
591
|
-
}
|
|
592
|
-
function RequiredOutput() {
|
|
593
|
-
return new ConflictError(`The fNode must contain at least one fOutput if there is an fOutlet`);
|
|
769
|
+
class CanvasMovePreparationRequest {
|
|
770
|
+
constructor(event) {
|
|
771
|
+
this.event = event;
|
|
772
|
+
}
|
|
594
773
|
}
|
|
595
774
|
|
|
596
|
-
let
|
|
597
|
-
constructor(fComponentsStore) {
|
|
775
|
+
let CanvasMovePreparationExecution = class CanvasMovePreparationExecution {
|
|
776
|
+
constructor(fComponentsStore, fDraggableDataContext) {
|
|
598
777
|
this.fComponentsStore = fComponentsStore;
|
|
778
|
+
this.fDraggableDataContext = fDraggableDataContext;
|
|
779
|
+
}
|
|
780
|
+
get flowHost() {
|
|
781
|
+
return this.fComponentsStore.fFlow.hostElement;
|
|
599
782
|
}
|
|
600
783
|
handle(request) {
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
784
|
+
this.fDraggableDataContext.onPointerDownScale = 1;
|
|
785
|
+
this.fDraggableDataContext.onPointerDownPosition = Point.fromPoint(request.event.getPosition())
|
|
786
|
+
.elementTransform(this.flowHost);
|
|
787
|
+
this.fDraggableDataContext.draggableItems = [
|
|
788
|
+
new CanvasDragHandler(this.fComponentsStore)
|
|
789
|
+
];
|
|
606
790
|
}
|
|
607
|
-
|
|
608
|
-
|
|
791
|
+
};
|
|
792
|
+
CanvasMovePreparationExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CanvasMovePreparationExecution, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
793
|
+
CanvasMovePreparationExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CanvasMovePreparationExecution });
|
|
794
|
+
CanvasMovePreparationExecution = __decorate([
|
|
795
|
+
FExecutionRegister(CanvasMovePreparationRequest)
|
|
796
|
+
], CanvasMovePreparationExecution);
|
|
797
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CanvasMovePreparationExecution, decorators: [{
|
|
798
|
+
type: Injectable
|
|
799
|
+
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }]; } });
|
|
800
|
+
|
|
801
|
+
let CanvasMovePreparationValidator = class CanvasMovePreparationValidator {
|
|
802
|
+
constructor(fComponentsStore, fDraggableDataContext) {
|
|
803
|
+
this.fComponentsStore = fComponentsStore;
|
|
804
|
+
this.fDraggableDataContext = fDraggableDataContext;
|
|
609
805
|
}
|
|
610
|
-
|
|
611
|
-
return this.fComponentsStore.
|
|
806
|
+
get flowHost() {
|
|
807
|
+
return this.fComponentsStore.fFlow.hostElement;
|
|
808
|
+
}
|
|
809
|
+
handle(request) {
|
|
810
|
+
return !this.fDraggableDataContext.draggableItems.length &&
|
|
811
|
+
(this.isBackgroundElement(request.event.targetElement) || this.isDragOnHost(request.event.targetElement));
|
|
812
|
+
}
|
|
813
|
+
isBackgroundElement(targetElement) {
|
|
814
|
+
var _a;
|
|
815
|
+
return (_a = this.fComponentsStore.fBackground) === null || _a === void 0 ? void 0 : _a.isBackgroundElement(targetElement);
|
|
816
|
+
}
|
|
817
|
+
isDragOnHost(targetElement) {
|
|
818
|
+
return this.flowHost.contains(targetElement) && !this.getNode(targetElement);
|
|
819
|
+
}
|
|
820
|
+
getNode(targetElement) {
|
|
821
|
+
let result = this.fComponentsStore.findNode(targetElement);
|
|
822
|
+
if (result && result.fDraggingDisabled) {
|
|
823
|
+
result = undefined;
|
|
824
|
+
}
|
|
825
|
+
return result;
|
|
612
826
|
}
|
|
613
827
|
};
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
FValidatorRegister(
|
|
618
|
-
],
|
|
619
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
828
|
+
CanvasMovePreparationValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CanvasMovePreparationValidator, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
829
|
+
CanvasMovePreparationValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CanvasMovePreparationValidator });
|
|
830
|
+
CanvasMovePreparationValidator = __decorate([
|
|
831
|
+
FValidatorRegister(CanvasMovePreparationRequest)
|
|
832
|
+
], CanvasMovePreparationValidator);
|
|
833
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CanvasMovePreparationValidator, decorators: [{
|
|
620
834
|
type: Injectable
|
|
621
|
-
}], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
|
|
835
|
+
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }]; } });
|
|
622
836
|
|
|
623
|
-
const
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
837
|
+
const CANVAS_MOVE_PREPARATION_PROVIDERS = [
|
|
838
|
+
CanvasMovePreparationExecution,
|
|
839
|
+
CanvasMovePreparationValidator,
|
|
840
|
+
];
|
|
841
|
+
|
|
842
|
+
const CANVAS_PROVIDERS = [
|
|
843
|
+
...CANVAS_MOVE_FINALIZE_PROVIDERS,
|
|
844
|
+
...CANVAS_MOVE_PREPARATION_PROVIDERS,
|
|
629
845
|
];
|
|
630
846
|
|
|
631
847
|
var EFConnectableSide;
|
|
@@ -705,9 +921,9 @@ class FNodeInputBase extends FConnectorBase {
|
|
|
705
921
|
return !this.disabled && (this.multiple ? true : !this.isConnected);
|
|
706
922
|
}
|
|
707
923
|
}
|
|
708
|
-
FNodeInputBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
709
|
-
FNodeInputBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
710
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
924
|
+
FNodeInputBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FNodeInputBase, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
925
|
+
FNodeInputBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FNodeInputBase, usesInheritance: true, ngImport: i0 });
|
|
926
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FNodeInputBase, decorators: [{
|
|
711
927
|
type: Directive
|
|
712
928
|
}] });
|
|
713
929
|
|
|
@@ -728,9 +944,9 @@ class FDragHandleDirective {
|
|
|
728
944
|
return this.elementReference.nativeElement;
|
|
729
945
|
}
|
|
730
946
|
}
|
|
731
|
-
FDragHandleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
732
|
-
FDragHandleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
733
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
947
|
+
FDragHandleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FDragHandleDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
948
|
+
FDragHandleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FDragHandleDirective, selector: "[fDragHandle]", host: { classAttribute: "f-drag-handle f-component" }, providers: [{ provide: F_DRAG_HANDLE, useExisting: FDragHandleDirective }], ngImport: i0 });
|
|
949
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FDragHandleDirective, decorators: [{
|
|
734
950
|
type: Directive,
|
|
735
951
|
args: [{
|
|
736
952
|
selector: "[fDragHandle]",
|
|
@@ -768,9 +984,9 @@ class FResizeHandleDirective {
|
|
|
768
984
|
return this.elementReference.nativeElement;
|
|
769
985
|
}
|
|
770
986
|
}
|
|
771
|
-
FResizeHandleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
772
|
-
FResizeHandleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
773
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
987
|
+
FResizeHandleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FResizeHandleDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
988
|
+
FResizeHandleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FResizeHandleDirective, selector: "[fResizeHandle]", inputs: { type: ["fResizeHandleType", "type"] }, host: { properties: { "attr.data-f-resize-handle-type": "type", "class": "this.typeClass" }, classAttribute: "f-resize-handle f-component" }, providers: [{ provide: F_RESIZE_HANDLE, useExisting: FResizeHandleDirective }], ngImport: i0 });
|
|
989
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FResizeHandleDirective, decorators: [{
|
|
774
990
|
type: Directive,
|
|
775
991
|
args: [{
|
|
776
992
|
selector: "[fResizeHandle]",
|
|
@@ -905,7 +1121,7 @@ class FResizeObserver extends Observable {
|
|
|
905
1121
|
}
|
|
906
1122
|
}
|
|
907
1123
|
|
|
908
|
-
let uniqueId$
|
|
1124
|
+
let uniqueId$b = 0;
|
|
909
1125
|
class FGroupDirective extends FNodeBase {
|
|
910
1126
|
constructor(elementReference, renderer, fComponentsStore, fMediator, fBrowser) {
|
|
911
1127
|
super(elementReference.nativeElement);
|
|
@@ -914,7 +1130,7 @@ class FGroupDirective extends FNodeBase {
|
|
|
914
1130
|
this.fMediator = fMediator;
|
|
915
1131
|
this.fBrowser = fBrowser;
|
|
916
1132
|
this.subscriptions$ = new Subscription();
|
|
917
|
-
this.fId = `f-group-${uniqueId$
|
|
1133
|
+
this.fId = `f-group-${uniqueId$b++}`;
|
|
918
1134
|
this.fParentId = null;
|
|
919
1135
|
this.positionChange = new EventEmitter();
|
|
920
1136
|
this.sizeChange = new EventEmitter();
|
|
@@ -989,11 +1205,11 @@ class FGroupDirective extends FNodeBase {
|
|
|
989
1205
|
this.subscriptions$.unsubscribe();
|
|
990
1206
|
}
|
|
991
1207
|
}
|
|
992
|
-
FGroupDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
993
|
-
FGroupDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1208
|
+
FGroupDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FGroupDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: FComponentsStore }, { token: i2.FMediator }, { token: i1.BrowserService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1209
|
+
FGroupDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FGroupDirective, selector: "[fGroup]", inputs: { fId: ["fGroupId", "fId"], fParentId: ["fGroupParentId", "fParentId"], position: ["fGroupPosition", "position"], size: ["fGroupSize", "size"], fDraggingDisabled: ["fGroupDraggingDisabled", "fDraggingDisabled"], fSelectionDisabled: ["fGroupSelectionDisabled", "fSelectionDisabled"], fIncludePadding: "fIncludePadding", fConnectOnNode: "fConnectOnNode" }, outputs: { positionChange: "fGroupPositionChange", sizeChange: "fGroupSizeChange" }, 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: [
|
|
994
1210
|
{ provide: F_NODE, useExisting: FGroupDirective }
|
|
995
1211
|
], exportAs: ["fComponent"], usesInheritance: true, ngImport: i0 });
|
|
996
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1212
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FGroupDirective, decorators: [{
|
|
997
1213
|
type: Directive,
|
|
998
1214
|
args: [{
|
|
999
1215
|
selector: "[fGroup]",
|
|
@@ -1038,7 +1254,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
1038
1254
|
type: Input
|
|
1039
1255
|
}] } });
|
|
1040
1256
|
|
|
1041
|
-
let uniqueId$
|
|
1257
|
+
let uniqueId$a = 0;
|
|
1042
1258
|
class FNodeDirective extends FNodeBase {
|
|
1043
1259
|
constructor(elementReference, renderer, fComponentsStore, fMediator, fBrowser) {
|
|
1044
1260
|
super(elementReference.nativeElement);
|
|
@@ -1047,7 +1263,7 @@ class FNodeDirective extends FNodeBase {
|
|
|
1047
1263
|
this.fMediator = fMediator;
|
|
1048
1264
|
this.fBrowser = fBrowser;
|
|
1049
1265
|
this.subscriptions$ = new Subscription();
|
|
1050
|
-
this.fId = `f-node-${uniqueId$
|
|
1266
|
+
this.fId = `f-node-${uniqueId$a++}`;
|
|
1051
1267
|
this.fParentId = null;
|
|
1052
1268
|
this.positionChange = new EventEmitter();
|
|
1053
1269
|
this.sizeChange = new EventEmitter();
|
|
@@ -1123,11 +1339,11 @@ class FNodeDirective extends FNodeBase {
|
|
|
1123
1339
|
this.subscriptions$.unsubscribe();
|
|
1124
1340
|
}
|
|
1125
1341
|
}
|
|
1126
|
-
FNodeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1127
|
-
FNodeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1342
|
+
FNodeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FNodeDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: FComponentsStore }, { token: i2.FMediator }, { token: i1.BrowserService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1343
|
+
FNodeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FNodeDirective, selector: "[fNode]", inputs: { fId: ["fNodeId", "fId"], fParentId: ["fNodeParentId", "fParentId"], position: ["fNodePosition", "position"], size: ["fNodeSize", "size"], fDraggingDisabled: ["fNodeDraggingDisabled", "fDraggingDisabled"], fSelectionDisabled: ["fNodeSelectionDisabled", "fSelectionDisabled"], fIncludePadding: "fIncludePadding", fConnectOnNode: "fConnectOnNode" }, outputs: { positionChange: "fNodePositionChange", sizeChange: "fNodeSizeChange" }, 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: [
|
|
1128
1344
|
{ provide: F_NODE, useExisting: FNodeDirective }
|
|
1129
1345
|
], exportAs: ["fComponent"], usesInheritance: true, ngImport: i0 });
|
|
1130
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1346
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FNodeDirective, decorators: [{
|
|
1131
1347
|
type: Directive,
|
|
1132
1348
|
args: [{
|
|
1133
1349
|
selector: "[fNode]",
|
|
@@ -1179,14 +1395,14 @@ const F_NODE_PROVIDERS = [
|
|
|
1179
1395
|
FResizeHandleDirective,
|
|
1180
1396
|
];
|
|
1181
1397
|
|
|
1182
|
-
let uniqueId$
|
|
1398
|
+
let uniqueId$9 = 0;
|
|
1183
1399
|
class FNodeInputDirective extends FNodeInputBase {
|
|
1184
1400
|
constructor(elementReference, fNode, fComponentsStore) {
|
|
1185
1401
|
super();
|
|
1186
1402
|
this.elementReference = elementReference;
|
|
1187
1403
|
this.fNode = fNode;
|
|
1188
1404
|
this.fComponentsStore = fComponentsStore;
|
|
1189
|
-
this.id = `f-node-input-${uniqueId$
|
|
1405
|
+
this.id = `f-node-input-${uniqueId$9++}`;
|
|
1190
1406
|
this.multiple = true;
|
|
1191
1407
|
this.isDisabled = false;
|
|
1192
1408
|
this._fConnectableSide = EFConnectableSide.AUTO;
|
|
@@ -1225,9 +1441,9 @@ class FNodeInputDirective extends FNodeInputBase {
|
|
|
1225
1441
|
this.fComponentsStore.removeComponent(this.fComponentsStore.fInputs, this);
|
|
1226
1442
|
}
|
|
1227
1443
|
}
|
|
1228
|
-
FNodeInputDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1229
|
-
FNodeInputDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1230
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1444
|
+
FNodeInputDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FNodeInputDirective, deps: [{ token: i0.ElementRef }, { token: F_NODE }, { token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1445
|
+
FNodeInputDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FNodeInputDirective, selector: "[fNodeInput]", inputs: { id: ["fInputId", "id"], multiple: ["fInputMultiple", "multiple"], disabled: ["fInputDisabled", "disabled"], _fSide: ["fInputConnectableSide", "_fSide"] }, host: { properties: { "attr.data-f-input-id": "id", "class.f-node-input-multiple": "multiple", "class.f-node-input-disabled": "disabled", "class.f-node-input-not-connectable": "!canBeConnected" }, classAttribute: "f-component f-node-input" }, providers: [{ provide: F_NODE_INPUT, useExisting: FNodeInputDirective }], exportAs: ["fNodeInput"], usesInheritance: true, ngImport: i0 });
|
|
1446
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FNodeInputDirective, decorators: [{
|
|
1231
1447
|
type: Directive,
|
|
1232
1448
|
args: [{
|
|
1233
1449
|
selector: "[fNodeInput]",
|
|
@@ -1241,10 +1457,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
1241
1457
|
},
|
|
1242
1458
|
providers: [{ provide: F_NODE_INPUT, useExisting: FNodeInputDirective }],
|
|
1243
1459
|
}]
|
|
1244
|
-
}], ctorParameters: function () {
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1460
|
+
}], ctorParameters: function () {
|
|
1461
|
+
return [{ type: i0.ElementRef }, { type: FNodeBase, decorators: [{
|
|
1462
|
+
type: Inject,
|
|
1463
|
+
args: [F_NODE]
|
|
1464
|
+
}] }, { type: FComponentsStore }];
|
|
1465
|
+
}, propDecorators: { id: [{
|
|
1248
1466
|
type: Input,
|
|
1249
1467
|
args: ['fInputId']
|
|
1250
1468
|
}], multiple: [{
|
|
@@ -1272,9 +1490,9 @@ class FNodeOutletBase extends FConnectorBase {
|
|
|
1272
1490
|
this.outputs = outputs;
|
|
1273
1491
|
}
|
|
1274
1492
|
}
|
|
1275
|
-
FNodeOutletBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1276
|
-
FNodeOutletBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1277
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1493
|
+
FNodeOutletBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FNodeOutletBase, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1494
|
+
FNodeOutletBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FNodeOutletBase, usesInheritance: true, ngImport: i0 });
|
|
1495
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FNodeOutletBase, decorators: [{
|
|
1278
1496
|
type: Directive
|
|
1279
1497
|
}] });
|
|
1280
1498
|
|
|
@@ -1282,14 +1500,14 @@ function isNodeOutlet(element) {
|
|
|
1282
1500
|
return !!element.closest('[fNodeOutlet]');
|
|
1283
1501
|
}
|
|
1284
1502
|
|
|
1285
|
-
let uniqueId$
|
|
1503
|
+
let uniqueId$8 = 0;
|
|
1286
1504
|
class FNodeOutletDirective extends FNodeOutletBase {
|
|
1287
1505
|
constructor(elementReference, fNode, fComponentsStore) {
|
|
1288
1506
|
super();
|
|
1289
1507
|
this.elementReference = elementReference;
|
|
1290
1508
|
this.fNode = fNode;
|
|
1291
1509
|
this.fComponentsStore = fComponentsStore;
|
|
1292
|
-
this.id = `f-node-outlet-${uniqueId$
|
|
1510
|
+
this.id = `f-node-outlet-${uniqueId$8++}`;
|
|
1293
1511
|
this.isDisabled = false;
|
|
1294
1512
|
this.fConnectableSide = EFConnectableSide.AUTO;
|
|
1295
1513
|
this._fConnectableSide = EFConnectableSide.AUTO;
|
|
@@ -1318,9 +1536,9 @@ class FNodeOutletDirective extends FNodeOutletBase {
|
|
|
1318
1536
|
this.fComponentsStore.removeComponent(this.fComponentsStore.fOutlets, this);
|
|
1319
1537
|
}
|
|
1320
1538
|
}
|
|
1321
|
-
FNodeOutletDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1322
|
-
FNodeOutletDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1323
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1539
|
+
FNodeOutletDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FNodeOutletDirective, deps: [{ token: i0.ElementRef }, { token: F_NODE }, { token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1540
|
+
FNodeOutletDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FNodeOutletDirective, selector: "[fNodeOutlet]", inputs: { id: ["fOutletId", "id"], disabled: ["fOutletDisabled", "disabled"], isConnectionFromOutlet: "isConnectionFromOutlet" }, host: { properties: { "attr.data-f-outlet-id": "id", "class.f-node-outlet-disabled": "disabled" }, classAttribute: "f-component f-node-outlet" }, providers: [{ provide: F_NODE_OUTLET, useExisting: FNodeOutletDirective }], exportAs: ["fNodeOutlet"], usesInheritance: true, ngImport: i0 });
|
|
1541
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FNodeOutletDirective, decorators: [{
|
|
1324
1542
|
type: Directive,
|
|
1325
1543
|
args: [{
|
|
1326
1544
|
selector: "[fNodeOutlet]",
|
|
@@ -1332,10 +1550,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
1332
1550
|
},
|
|
1333
1551
|
providers: [{ provide: F_NODE_OUTLET, useExisting: FNodeOutletDirective }],
|
|
1334
1552
|
}]
|
|
1335
|
-
}], ctorParameters: function () {
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1553
|
+
}], ctorParameters: function () {
|
|
1554
|
+
return [{ type: i0.ElementRef }, { type: FNodeBase, decorators: [{
|
|
1555
|
+
type: Inject,
|
|
1556
|
+
args: [F_NODE]
|
|
1557
|
+
}] }, { type: FComponentsStore }];
|
|
1558
|
+
}, propDecorators: { id: [{
|
|
1339
1559
|
type: Input,
|
|
1340
1560
|
args: ['fOutletId']
|
|
1341
1561
|
}], disabled: [{
|
|
@@ -1355,9 +1575,9 @@ class FNodeOutputBase extends FConnectorBase {
|
|
|
1355
1575
|
return !this.disabled && (this.multiple ? true : !this.isConnected);
|
|
1356
1576
|
}
|
|
1357
1577
|
}
|
|
1358
|
-
FNodeOutputBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1359
|
-
FNodeOutputBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1360
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1578
|
+
FNodeOutputBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FNodeOutputBase, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1579
|
+
FNodeOutputBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FNodeOutputBase, usesInheritance: true, ngImport: i0 });
|
|
1580
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FNodeOutputBase, decorators: [{
|
|
1361
1581
|
type: Directive
|
|
1362
1582
|
}] });
|
|
1363
1583
|
|
|
@@ -1365,14 +1585,14 @@ function isNodeOutput(element) {
|
|
|
1365
1585
|
return !!element.closest('[fNodeOutput]');
|
|
1366
1586
|
}
|
|
1367
1587
|
|
|
1368
|
-
let uniqueId$
|
|
1588
|
+
let uniqueId$7 = 0;
|
|
1369
1589
|
class FNodeOutputDirective extends FNodeOutputBase {
|
|
1370
1590
|
constructor(elementReference, fNode, fComponentsStore) {
|
|
1371
1591
|
super();
|
|
1372
1592
|
this.elementReference = elementReference;
|
|
1373
1593
|
this.fNode = fNode;
|
|
1374
1594
|
this.fComponentsStore = fComponentsStore;
|
|
1375
|
-
this.id = `f-node-output-${uniqueId$
|
|
1595
|
+
this.id = `f-node-output-${uniqueId$7++}`;
|
|
1376
1596
|
this.multiple = false;
|
|
1377
1597
|
this.isDisabled = false;
|
|
1378
1598
|
this._fConnectableSide = EFConnectableSide.AUTO;
|
|
@@ -1415,9 +1635,9 @@ class FNodeOutputDirective extends FNodeOutputBase {
|
|
|
1415
1635
|
this.fComponentsStore.removeComponent(this.fComponentsStore.fOutputs, this);
|
|
1416
1636
|
}
|
|
1417
1637
|
}
|
|
1418
|
-
FNodeOutputDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1419
|
-
FNodeOutputDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1420
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1638
|
+
FNodeOutputDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FNodeOutputDirective, deps: [{ token: i0.ElementRef }, { token: F_NODE }, { token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1639
|
+
FNodeOutputDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FNodeOutputDirective, selector: "[fNodeOutput]", inputs: { id: ["fOutputId", "id"], multiple: ["fOutputMultiple", "multiple"], disabled: ["fOutputDisabled", "disabled"], _fSide: ["fOutputConnectableSide", "_fSide"], isSelfConnectable: "isSelfConnectable" }, host: { properties: { "attr.data-f-output-id": "id", "class.f-node-output-multiple": "multiple", "class.f-node-output-disabled": "disabled", "class.f-node-output-not-connectable": "!canBeConnected", "class.f-node-output-self-connectable": "isSelfConnectable" }, classAttribute: "f-component f-node-output" }, providers: [{ provide: F_NODE_OUTPUT, useExisting: FNodeOutputDirective }], exportAs: ["fNodeOutput"], usesInheritance: true, ngImport: i0 });
|
|
1640
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FNodeOutputDirective, decorators: [{
|
|
1421
1641
|
type: Directive,
|
|
1422
1642
|
args: [{
|
|
1423
1643
|
selector: "[fNodeOutput]",
|
|
@@ -1432,10 +1652,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
1432
1652
|
},
|
|
1433
1653
|
providers: [{ provide: F_NODE_OUTPUT, useExisting: FNodeOutputDirective }],
|
|
1434
1654
|
}]
|
|
1435
|
-
}], ctorParameters: function () {
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1655
|
+
}], ctorParameters: function () {
|
|
1656
|
+
return [{ type: i0.ElementRef }, { type: FNodeBase, decorators: [{
|
|
1657
|
+
type: Inject,
|
|
1658
|
+
args: [F_NODE]
|
|
1659
|
+
}] }, { type: FComponentsStore }];
|
|
1660
|
+
}, propDecorators: { id: [{
|
|
1439
1661
|
type: Input,
|
|
1440
1662
|
args: ['fOutputId']
|
|
1441
1663
|
}], multiple: [{
|
|
@@ -1463,6 +1685,38 @@ class CreateConnectionFinalizeRequest {
|
|
|
1463
1685
|
}
|
|
1464
1686
|
}
|
|
1465
1687
|
|
|
1688
|
+
function createErrorClass(impl) {
|
|
1689
|
+
const _super = (instance) => {
|
|
1690
|
+
Error.call(instance);
|
|
1691
|
+
};
|
|
1692
|
+
const constructor = impl(_super);
|
|
1693
|
+
constructor.prototype = Object.create(Error.prototype);
|
|
1694
|
+
constructor.prototype.constructor = constructor;
|
|
1695
|
+
return constructor;
|
|
1696
|
+
}
|
|
1697
|
+
|
|
1698
|
+
const NotFoundError = createErrorClass((_super) => function error(message) {
|
|
1699
|
+
_super(this);
|
|
1700
|
+
this.message = message || 'The requested resource was not found.';
|
|
1701
|
+
this.code = 404;
|
|
1702
|
+
});
|
|
1703
|
+
|
|
1704
|
+
const ConflictError = createErrorClass((_super) => function error(message) {
|
|
1705
|
+
_super(this);
|
|
1706
|
+
this.message = message || 'Conflict error occurred.';
|
|
1707
|
+
this.code = 409;
|
|
1708
|
+
});
|
|
1709
|
+
|
|
1710
|
+
function OutputNotFound(id) {
|
|
1711
|
+
return new NotFoundError(`Output with fOutputId ${id} not found. Make sure there is no f-connection to a non-existent fOutput.`);
|
|
1712
|
+
}
|
|
1713
|
+
function InputNotFound(id) {
|
|
1714
|
+
return new NotFoundError(`Input with fInputId ${id} not found. Make sure there is no f-connection to a non-existent fInput.`);
|
|
1715
|
+
}
|
|
1716
|
+
function RequiredOutput() {
|
|
1717
|
+
return new ConflictError(`The fNode must contain at least one fOutput if there is an fOutlet`);
|
|
1718
|
+
}
|
|
1719
|
+
|
|
1466
1720
|
class GetCanBeConnectedOutputByOutletRequest {
|
|
1467
1721
|
constructor(outlet) {
|
|
1468
1722
|
this.outlet = outlet;
|
|
@@ -1495,12 +1749,12 @@ let GetCanBeConnectedOutputByOutletExecution = class GetCanBeConnectedOutputByOu
|
|
|
1495
1749
|
return this.fNodes.find((x) => x.isContains(outlet.hostElement));
|
|
1496
1750
|
}
|
|
1497
1751
|
};
|
|
1498
|
-
GetCanBeConnectedOutputByOutletExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1499
|
-
GetCanBeConnectedOutputByOutletExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1752
|
+
GetCanBeConnectedOutputByOutletExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetCanBeConnectedOutputByOutletExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1753
|
+
GetCanBeConnectedOutputByOutletExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetCanBeConnectedOutputByOutletExecution });
|
|
1500
1754
|
GetCanBeConnectedOutputByOutletExecution = __decorate([
|
|
1501
1755
|
FExecutionRegister(GetCanBeConnectedOutputByOutletRequest)
|
|
1502
1756
|
], GetCanBeConnectedOutputByOutletExecution);
|
|
1503
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1757
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetCanBeConnectedOutputByOutletExecution, decorators: [{
|
|
1504
1758
|
type: Injectable
|
|
1505
1759
|
}], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
|
|
1506
1760
|
|
|
@@ -1515,20 +1769,15 @@ let GetCanBeConnectedOutputByOutletValidator = class GetCanBeConnectedOutputByOu
|
|
|
1515
1769
|
return !!this.fNodes.find((x) => x.isContains(request.outlet.hostElement));
|
|
1516
1770
|
}
|
|
1517
1771
|
};
|
|
1518
|
-
GetCanBeConnectedOutputByOutletValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1519
|
-
GetCanBeConnectedOutputByOutletValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1772
|
+
GetCanBeConnectedOutputByOutletValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetCanBeConnectedOutputByOutletValidator, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1773
|
+
GetCanBeConnectedOutputByOutletValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetCanBeConnectedOutputByOutletValidator });
|
|
1520
1774
|
GetCanBeConnectedOutputByOutletValidator = __decorate([
|
|
1521
1775
|
FValidatorRegister(GetCanBeConnectedOutputByOutletRequest)
|
|
1522
1776
|
], GetCanBeConnectedOutputByOutletValidator);
|
|
1523
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1777
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetCanBeConnectedOutputByOutletValidator, decorators: [{
|
|
1524
1778
|
type: Injectable
|
|
1525
1779
|
}], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
|
|
1526
1780
|
|
|
1527
|
-
const GET_CAN_BE_CONNECTED_OUTPUT_BY_OUTLET_PROVIDERS = [
|
|
1528
|
-
GetCanBeConnectedOutputByOutletExecution,
|
|
1529
|
-
GetCanBeConnectedOutputByOutletValidator,
|
|
1530
|
-
];
|
|
1531
|
-
|
|
1532
1781
|
class FCreateConnectionEvent {
|
|
1533
1782
|
constructor(fOutputId, fInputId, fDropPosition) {
|
|
1534
1783
|
this.fOutputId = fOutputId;
|
|
@@ -1537,45 +1786,154 @@ class FCreateConnectionEvent {
|
|
|
1537
1786
|
}
|
|
1538
1787
|
}
|
|
1539
1788
|
|
|
1540
|
-
|
|
1541
|
-
constructor(
|
|
1789
|
+
class GetInputUnderPointerRequest {
|
|
1790
|
+
constructor(event, dragHandler) {
|
|
1791
|
+
this.event = event;
|
|
1792
|
+
this.dragHandler = dragHandler;
|
|
1793
|
+
}
|
|
1794
|
+
}
|
|
1795
|
+
|
|
1796
|
+
let GetInputUnderPointerExecution = class GetInputUnderPointerExecution {
|
|
1797
|
+
constructor(fComponentsStore, fDraggableDataContext, fBrowser) {
|
|
1542
1798
|
this.fComponentsStore = fComponentsStore;
|
|
1543
1799
|
this.fDraggableDataContext = fDraggableDataContext;
|
|
1544
|
-
this.
|
|
1800
|
+
this.fBrowser = fBrowser;
|
|
1545
1801
|
}
|
|
1546
|
-
get
|
|
1547
|
-
return this.
|
|
1802
|
+
get fNodes() {
|
|
1803
|
+
return this.fComponentsStore.fNodes;
|
|
1548
1804
|
}
|
|
1549
|
-
|
|
1550
|
-
this.
|
|
1551
|
-
this.dragHandler.complete();
|
|
1805
|
+
get fInputs() {
|
|
1806
|
+
return this.fComponentsStore.fInputs;
|
|
1552
1807
|
}
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1808
|
+
handle(payload) {
|
|
1809
|
+
const output = (this.getOutput(payload.dragHandler) || this.getOutlet(payload.dragHandler));
|
|
1810
|
+
const inputsUnderPointer = this.getInputsUnderPointer(payload.event.getPosition(), payload.dragHandler);
|
|
1811
|
+
const connectors = output.isSelfConnectable ?
|
|
1812
|
+
inputsUnderPointer :
|
|
1813
|
+
this.filterSelfConnectable(inputsUnderPointer, output);
|
|
1814
|
+
return connectors.length > 0 ? connectors[0] : undefined;
|
|
1815
|
+
}
|
|
1816
|
+
getOutput(dragHandler) {
|
|
1817
|
+
return this.fComponentsStore.fOutputs.find((x) => x.id === dragHandler.fConnection.fOutputId);
|
|
1818
|
+
}
|
|
1819
|
+
getOutlet(dragHandler) {
|
|
1820
|
+
return this.fComponentsStore.fOutlets.find((x) => x.id === dragHandler.fConnection.fOutputId);
|
|
1821
|
+
}
|
|
1822
|
+
getInputsUnderPointer(position, dragHandler) {
|
|
1823
|
+
const result = this.getInputsInPosition(position);
|
|
1824
|
+
const closestInput = dragHandler.getClosetInput(this.getDifference(position));
|
|
1825
|
+
if (closestInput) {
|
|
1826
|
+
result.push(closestInput.fConnector);
|
|
1556
1827
|
}
|
|
1557
|
-
|
|
1828
|
+
const input = this.getFirstConnectableInputOfNodeInPosition(position);
|
|
1829
|
+
if (input) {
|
|
1830
|
+
result.push(input);
|
|
1831
|
+
}
|
|
1832
|
+
return result;
|
|
1558
1833
|
}
|
|
1559
|
-
|
|
1560
|
-
return
|
|
1834
|
+
getDifference(position) {
|
|
1835
|
+
return Point.fromPoint(position).elementTransform(this.fComponentsStore.flowHost)
|
|
1836
|
+
.div(this.fDraggableDataContext.onPointerDownScale).sub(this.fDraggableDataContext.onPointerDownPosition);
|
|
1561
1837
|
}
|
|
1562
|
-
|
|
1563
|
-
return this.
|
|
1838
|
+
getInputsInPosition(position) {
|
|
1839
|
+
return this.getElementsFromPoint(position).map((element) => this.fInputs.find(x => x.isContains(element) && x.canBeConnected)).filter((x) => !!x);
|
|
1564
1840
|
}
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
(_a = this.fComponentsStore.fDraggable) === null || _a === void 0 ? void 0 : _a.fCreateConnection.emit(new FCreateConnectionEvent(this.getTargetOutput(this.getOutput() || this.getOutlet()).id, (_b = this.getInputUnderPointer(event)) === null || _b === void 0 ? void 0 : _b.id, event.getPosition()));
|
|
1841
|
+
getElementsFromPoint(position) {
|
|
1842
|
+
return this.fBrowser.document.elementsFromPoint(position.x, position.y);
|
|
1568
1843
|
}
|
|
1569
|
-
|
|
1570
|
-
return this.
|
|
1844
|
+
getFirstConnectableInputOfNodeInPosition(position) {
|
|
1845
|
+
return this.getNodesInPosition(position).map((x) => {
|
|
1846
|
+
return this.fInputs.find((i) => x.isContains(i.hostElement) && i.canBeConnected);
|
|
1847
|
+
}).find((x) => !!x);
|
|
1571
1848
|
}
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1849
|
+
getNodesInPosition(position) {
|
|
1850
|
+
return this.getElementsFromPoint(position).map((element) => {
|
|
1851
|
+
return this.fNodes.find((x) => x.isContains(element) && x.fConnectOnNode);
|
|
1852
|
+
}).filter((x) => !!x);
|
|
1853
|
+
}
|
|
1854
|
+
filterSelfConnectable(inputs, connector) {
|
|
1855
|
+
return inputs.filter((x) => {
|
|
1856
|
+
const targetNode = this.fNodes.find((k) => k.isContains(x.hostElement));
|
|
1857
|
+
const sourceNode = this.fNodes.find((k) => k.isContains(connector.hostElement));
|
|
1858
|
+
return (sourceNode === null || sourceNode === void 0 ? void 0 : sourceNode.hostElement) !== (targetNode === null || targetNode === void 0 ? void 0 : targetNode.hostElement);
|
|
1859
|
+
});
|
|
1860
|
+
}
|
|
1861
|
+
};
|
|
1862
|
+
GetInputUnderPointerExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetInputUnderPointerExecution, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: i1.BrowserService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1863
|
+
GetInputUnderPointerExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetInputUnderPointerExecution });
|
|
1864
|
+
GetInputUnderPointerExecution = __decorate([
|
|
1865
|
+
FExecutionRegister(GetInputUnderPointerRequest)
|
|
1866
|
+
], GetInputUnderPointerExecution);
|
|
1867
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetInputUnderPointerExecution, decorators: [{
|
|
1868
|
+
type: Injectable
|
|
1869
|
+
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: i1.BrowserService }]; } });
|
|
1870
|
+
|
|
1871
|
+
let GetInputUnderPointerValidator = class GetInputUnderPointerValidator {
|
|
1872
|
+
constructor(fComponentsStore) {
|
|
1873
|
+
this.fComponentsStore = fComponentsStore;
|
|
1874
|
+
}
|
|
1875
|
+
handle(request) {
|
|
1876
|
+
let output = this.getOutput(request.dragHandler) || this.getOutlet(request.dragHandler);
|
|
1877
|
+
if (!output) {
|
|
1878
|
+
throw OutputNotFound(request.dragHandler.fConnection.fOutputId);
|
|
1879
|
+
}
|
|
1880
|
+
return true;
|
|
1881
|
+
}
|
|
1882
|
+
getOutput(dragHandler) {
|
|
1883
|
+
return this.fComponentsStore.fOutputs.find((x) => x.id === dragHandler.fConnection.fOutputId);
|
|
1884
|
+
}
|
|
1885
|
+
getOutlet(dragHandler) {
|
|
1886
|
+
return this.fComponentsStore.fOutlets.find((x) => x.id === dragHandler.fConnection.fOutputId);
|
|
1887
|
+
}
|
|
1888
|
+
};
|
|
1889
|
+
GetInputUnderPointerValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetInputUnderPointerValidator, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1890
|
+
GetInputUnderPointerValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetInputUnderPointerValidator });
|
|
1891
|
+
GetInputUnderPointerValidator = __decorate([
|
|
1892
|
+
FValidatorRegister(GetInputUnderPointerRequest)
|
|
1893
|
+
], GetInputUnderPointerValidator);
|
|
1894
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetInputUnderPointerValidator, decorators: [{
|
|
1895
|
+
type: Injectable
|
|
1896
|
+
}], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
|
|
1897
|
+
|
|
1898
|
+
let CreateConnectionFinalizeExecution = class CreateConnectionFinalizeExecution {
|
|
1899
|
+
constructor(fComponentsStore, fDraggableDataContext, fMediator) {
|
|
1900
|
+
this.fComponentsStore = fComponentsStore;
|
|
1901
|
+
this.fDraggableDataContext = fDraggableDataContext;
|
|
1902
|
+
this.fMediator = fMediator;
|
|
1903
|
+
}
|
|
1904
|
+
get dragHandler() {
|
|
1905
|
+
return this.fDraggableDataContext.draggableItems[0];
|
|
1906
|
+
}
|
|
1907
|
+
handle(request) {
|
|
1908
|
+
this.emitEvent(request.event);
|
|
1909
|
+
this.dragHandler.complete();
|
|
1910
|
+
}
|
|
1911
|
+
getTargetOutput(output) {
|
|
1912
|
+
if (!output) {
|
|
1913
|
+
throw OutputNotFound(this.dragHandler.fConnection.fOutputId);
|
|
1914
|
+
}
|
|
1915
|
+
return isNodeOutlet(output.hostElement) ? this.fMediator.send(new GetCanBeConnectedOutputByOutletRequest(output)) : output;
|
|
1916
|
+
}
|
|
1917
|
+
getOutput() {
|
|
1918
|
+
return this.fComponentsStore.fOutputs.find((x) => x.id === this.dragHandler.fConnection.fOutputId);
|
|
1919
|
+
}
|
|
1920
|
+
getOutlet() {
|
|
1921
|
+
return this.fComponentsStore.fOutlets.find((x) => x.id === this.dragHandler.fConnection.fOutputId);
|
|
1922
|
+
}
|
|
1923
|
+
emitEvent(event) {
|
|
1924
|
+
var _a, _b;
|
|
1925
|
+
(_a = this.fComponentsStore.fDraggable) === null || _a === void 0 ? void 0 : _a.fCreateConnection.emit(new FCreateConnectionEvent(this.getTargetOutput(this.getOutput() || this.getOutlet()).id, (_b = this.getInputUnderPointer(event)) === null || _b === void 0 ? void 0 : _b.id, event.getPosition()));
|
|
1926
|
+
}
|
|
1927
|
+
getInputUnderPointer(event) {
|
|
1928
|
+
return this.fMediator.send(new GetInputUnderPointerRequest(event, this.dragHandler));
|
|
1929
|
+
}
|
|
1930
|
+
};
|
|
1931
|
+
CreateConnectionFinalizeExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CreateConnectionFinalizeExecution, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1932
|
+
CreateConnectionFinalizeExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CreateConnectionFinalizeExecution });
|
|
1933
|
+
CreateConnectionFinalizeExecution = __decorate([
|
|
1576
1934
|
FExecutionRegister(CreateConnectionFinalizeRequest)
|
|
1577
1935
|
], CreateConnectionFinalizeExecution);
|
|
1578
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1936
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CreateConnectionFinalizeExecution, decorators: [{
|
|
1579
1937
|
type: Injectable
|
|
1580
1938
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: i2.FMediator }]; } });
|
|
1581
1939
|
|
|
@@ -1647,20 +2005,15 @@ let CreateConnectionFinalizeValidator = class CreateConnectionFinalizeValidator
|
|
|
1647
2005
|
return this.fDraggableDataContext.draggableItems.some((x) => x instanceof CreateConnectionDragHandler);
|
|
1648
2006
|
}
|
|
1649
2007
|
};
|
|
1650
|
-
CreateConnectionFinalizeValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1651
|
-
CreateConnectionFinalizeValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2008
|
+
CreateConnectionFinalizeValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CreateConnectionFinalizeValidator, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2009
|
+
CreateConnectionFinalizeValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CreateConnectionFinalizeValidator });
|
|
1652
2010
|
CreateConnectionFinalizeValidator = __decorate([
|
|
1653
2011
|
FValidatorRegister(CreateConnectionFinalizeRequest)
|
|
1654
2012
|
], CreateConnectionFinalizeValidator);
|
|
1655
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2013
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CreateConnectionFinalizeValidator, decorators: [{
|
|
1656
2014
|
type: Injectable
|
|
1657
2015
|
}], ctorParameters: function () { return [{ type: FDraggableDataContext }]; } });
|
|
1658
2016
|
|
|
1659
|
-
const CREATE_CONNECTION_FINALIZE_PROVIDERS = [
|
|
1660
|
-
CreateConnectionFinalizeExecution,
|
|
1661
|
-
CreateConnectionFinalizeValidator,
|
|
1662
|
-
];
|
|
1663
|
-
|
|
1664
2017
|
class CreateConnectionDragHandlerRequest {
|
|
1665
2018
|
constructor(onPointerDownPosition, connector) {
|
|
1666
2019
|
this.onPointerDownPosition = onPointerDownPosition;
|
|
@@ -1692,19 +2045,15 @@ let CreateConnectionDragHandlerExecution = class CreateConnectionDragHandlerExec
|
|
|
1692
2045
|
];
|
|
1693
2046
|
}
|
|
1694
2047
|
};
|
|
1695
|
-
CreateConnectionDragHandlerExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1696
|
-
CreateConnectionDragHandlerExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2048
|
+
CreateConnectionDragHandlerExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CreateConnectionDragHandlerExecution, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2049
|
+
CreateConnectionDragHandlerExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CreateConnectionDragHandlerExecution });
|
|
1697
2050
|
CreateConnectionDragHandlerExecution = __decorate([
|
|
1698
2051
|
FExecutionRegister(CreateConnectionDragHandlerRequest)
|
|
1699
2052
|
], CreateConnectionDragHandlerExecution);
|
|
1700
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2053
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CreateConnectionDragHandlerExecution, decorators: [{
|
|
1701
2054
|
type: Injectable
|
|
1702
2055
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: i2.FMediator }]; } });
|
|
1703
2056
|
|
|
1704
|
-
const CREATE_CONNECTION_DRAG_HANDLER_PROVIDERS = [
|
|
1705
|
-
CreateConnectionDragHandlerExecution,
|
|
1706
|
-
];
|
|
1707
|
-
|
|
1708
2057
|
class CreateConnectionFromOutletPreparationRequest {
|
|
1709
2058
|
constructor(event) {
|
|
1710
2059
|
this.event = event;
|
|
@@ -1744,19 +2093,15 @@ let CreateConnectionFromOutletPreparationExecution = class CreateConnectionFromO
|
|
|
1744
2093
|
this.fMediator.send(new CreateConnectionDragHandlerRequest(position, output));
|
|
1745
2094
|
}
|
|
1746
2095
|
};
|
|
1747
|
-
CreateConnectionFromOutletPreparationExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1748
|
-
CreateConnectionFromOutletPreparationExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2096
|
+
CreateConnectionFromOutletPreparationExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CreateConnectionFromOutletPreparationExecution, deps: [{ token: FComponentsStore }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2097
|
+
CreateConnectionFromOutletPreparationExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CreateConnectionFromOutletPreparationExecution });
|
|
1749
2098
|
CreateConnectionFromOutletPreparationExecution = __decorate([
|
|
1750
2099
|
FExecutionRegister(CreateConnectionFromOutletPreparationRequest)
|
|
1751
2100
|
], CreateConnectionFromOutletPreparationExecution);
|
|
1752
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2101
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CreateConnectionFromOutletPreparationExecution, decorators: [{
|
|
1753
2102
|
type: Injectable
|
|
1754
2103
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: i2.FMediator }]; } });
|
|
1755
2104
|
|
|
1756
|
-
const CREATE_CONNECTION_FROM_OUTLET_PREPARATION_PROVIDERS = [
|
|
1757
|
-
CreateConnectionFromOutletPreparationExecution,
|
|
1758
|
-
];
|
|
1759
|
-
|
|
1760
2105
|
class CreateConnectionFromOutputPreparationRequest {
|
|
1761
2106
|
constructor(event) {
|
|
1762
2107
|
this.event = event;
|
|
@@ -1784,12 +2129,12 @@ let CreateConnectionFromOutputPreparationExecution = class CreateConnectionFromO
|
|
|
1784
2129
|
this.fMediator.send(new CreateConnectionDragHandlerRequest(position, output));
|
|
1785
2130
|
}
|
|
1786
2131
|
};
|
|
1787
|
-
CreateConnectionFromOutputPreparationExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1788
|
-
CreateConnectionFromOutputPreparationExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2132
|
+
CreateConnectionFromOutputPreparationExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CreateConnectionFromOutputPreparationExecution, deps: [{ token: FComponentsStore }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2133
|
+
CreateConnectionFromOutputPreparationExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CreateConnectionFromOutputPreparationExecution });
|
|
1789
2134
|
CreateConnectionFromOutputPreparationExecution = __decorate([
|
|
1790
2135
|
FExecutionRegister(CreateConnectionFromOutputPreparationRequest)
|
|
1791
2136
|
], CreateConnectionFromOutputPreparationExecution);
|
|
1792
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2137
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CreateConnectionFromOutputPreparationExecution, decorators: [{
|
|
1793
2138
|
type: Injectable
|
|
1794
2139
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: i2.FMediator }]; } });
|
|
1795
2140
|
|
|
@@ -1810,20 +2155,15 @@ let CreateConnectionFromOutputPreparationValidator = class CreateConnectionFromO
|
|
|
1810
2155
|
return this.fComponentsStore.fOutlets.filter((x) => node.isContains(x.hostElement));
|
|
1811
2156
|
}
|
|
1812
2157
|
};
|
|
1813
|
-
CreateConnectionFromOutputPreparationValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1814
|
-
CreateConnectionFromOutputPreparationValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2158
|
+
CreateConnectionFromOutputPreparationValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CreateConnectionFromOutputPreparationValidator, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2159
|
+
CreateConnectionFromOutputPreparationValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CreateConnectionFromOutputPreparationValidator });
|
|
1815
2160
|
CreateConnectionFromOutputPreparationValidator = __decorate([
|
|
1816
2161
|
FValidatorRegister(CreateConnectionFromOutputPreparationRequest)
|
|
1817
2162
|
], CreateConnectionFromOutputPreparationValidator);
|
|
1818
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2163
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CreateConnectionFromOutputPreparationValidator, decorators: [{
|
|
1819
2164
|
type: Injectable
|
|
1820
2165
|
}], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
|
|
1821
2166
|
|
|
1822
|
-
const CREATE_CONNECTION_FROM_OUTPUT_PREPARATION_PROVIDERS = [
|
|
1823
|
-
CreateConnectionFromOutputPreparationExecution,
|
|
1824
|
-
CreateConnectionFromOutputPreparationValidator,
|
|
1825
|
-
];
|
|
1826
|
-
|
|
1827
2167
|
class CreateConnectionPreparationRequest {
|
|
1828
2168
|
constructor(event) {
|
|
1829
2169
|
this.event = event;
|
|
@@ -1853,12 +2193,12 @@ let CreateConnectionPreparationExecution = class CreateConnectionPreparationExec
|
|
|
1853
2193
|
return this.fComponentsStore.fOutlets.filter((x) => node.isContains(x.hostElement));
|
|
1854
2194
|
}
|
|
1855
2195
|
};
|
|
1856
|
-
CreateConnectionPreparationExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1857
|
-
CreateConnectionPreparationExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2196
|
+
CreateConnectionPreparationExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CreateConnectionPreparationExecution, deps: [{ token: FComponentsStore }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2197
|
+
CreateConnectionPreparationExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CreateConnectionPreparationExecution });
|
|
1858
2198
|
CreateConnectionPreparationExecution = __decorate([
|
|
1859
2199
|
FExecutionRegister(CreateConnectionPreparationRequest)
|
|
1860
2200
|
], CreateConnectionPreparationExecution);
|
|
1861
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2201
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CreateConnectionPreparationExecution, decorators: [{
|
|
1862
2202
|
type: Injectable
|
|
1863
2203
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: i2.FMediator }]; } });
|
|
1864
2204
|
|
|
@@ -1877,23 +2217,15 @@ let CreateConnectionPreparationValidator = class CreateConnectionPreparationVali
|
|
|
1877
2217
|
return !this.fDraggableDataContext.draggableItems.length && !!this.fComponentsStore.fTempConnection;
|
|
1878
2218
|
}
|
|
1879
2219
|
};
|
|
1880
|
-
CreateConnectionPreparationValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1881
|
-
CreateConnectionPreparationValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2220
|
+
CreateConnectionPreparationValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CreateConnectionPreparationValidator, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2221
|
+
CreateConnectionPreparationValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CreateConnectionPreparationValidator });
|
|
1882
2222
|
CreateConnectionPreparationValidator = __decorate([
|
|
1883
2223
|
FValidatorRegister(CreateConnectionPreparationRequest)
|
|
1884
2224
|
], CreateConnectionPreparationValidator);
|
|
1885
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2225
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CreateConnectionPreparationValidator, decorators: [{
|
|
1886
2226
|
type: Injectable
|
|
1887
2227
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }]; } });
|
|
1888
2228
|
|
|
1889
|
-
const CREATE_CONNECTION_PREPARATION_PROVIDERS = [
|
|
1890
|
-
...CREATE_CONNECTION_DRAG_HANDLER_PROVIDERS,
|
|
1891
|
-
...CREATE_CONNECTION_FROM_OUTLET_PREPARATION_PROVIDERS,
|
|
1892
|
-
...CREATE_CONNECTION_FROM_OUTPUT_PREPARATION_PROVIDERS,
|
|
1893
|
-
CreateConnectionPreparationExecution,
|
|
1894
|
-
CreateConnectionPreparationValidator,
|
|
1895
|
-
];
|
|
1896
|
-
|
|
1897
2229
|
class ReassignConnectionFinalizeRequest {
|
|
1898
2230
|
constructor(event) {
|
|
1899
2231
|
this.event = event;
|
|
@@ -1939,12 +2271,12 @@ let ReassignConnectionFinalizeExecution = class ReassignConnectionFinalizeExecut
|
|
|
1939
2271
|
return this.dragHandler.fConnection.fInputId !== inputsUnderPointer.id;
|
|
1940
2272
|
}
|
|
1941
2273
|
};
|
|
1942
|
-
ReassignConnectionFinalizeExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1943
|
-
ReassignConnectionFinalizeExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2274
|
+
ReassignConnectionFinalizeExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ReassignConnectionFinalizeExecution, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2275
|
+
ReassignConnectionFinalizeExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ReassignConnectionFinalizeExecution });
|
|
1944
2276
|
ReassignConnectionFinalizeExecution = __decorate([
|
|
1945
2277
|
FExecutionRegister(ReassignConnectionFinalizeRequest)
|
|
1946
2278
|
], ReassignConnectionFinalizeExecution);
|
|
1947
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2279
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ReassignConnectionFinalizeExecution, decorators: [{
|
|
1948
2280
|
type: Injectable
|
|
1949
2281
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: i2.FMediator }]; } });
|
|
1950
2282
|
|
|
@@ -2014,20 +2346,15 @@ let ReassignConnectionFinalizeValidator = class ReassignConnectionFinalizeValida
|
|
|
2014
2346
|
return this.fDraggableDataContext.draggableItems.some((x) => x instanceof ReassignConnectionDragHandler);
|
|
2015
2347
|
}
|
|
2016
2348
|
};
|
|
2017
|
-
ReassignConnectionFinalizeValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2018
|
-
ReassignConnectionFinalizeValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2349
|
+
ReassignConnectionFinalizeValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ReassignConnectionFinalizeValidator, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2350
|
+
ReassignConnectionFinalizeValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ReassignConnectionFinalizeValidator });
|
|
2019
2351
|
ReassignConnectionFinalizeValidator = __decorate([
|
|
2020
2352
|
FValidatorRegister(ReassignConnectionFinalizeRequest)
|
|
2021
2353
|
], ReassignConnectionFinalizeValidator);
|
|
2022
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2354
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ReassignConnectionFinalizeValidator, decorators: [{
|
|
2023
2355
|
type: Injectable
|
|
2024
2356
|
}], ctorParameters: function () { return [{ type: FDraggableDataContext }]; } });
|
|
2025
2357
|
|
|
2026
|
-
const REASSIGN_CONNECTION_FINALIZE_PROVIDERS = [
|
|
2027
|
-
ReassignConnectionFinalizeExecution,
|
|
2028
|
-
ReassignConnectionFinalizeValidator,
|
|
2029
|
-
];
|
|
2030
|
-
|
|
2031
2358
|
class ReassignConnectionPreparationRequest {
|
|
2032
2359
|
constructor(event) {
|
|
2033
2360
|
this.event = event;
|
|
@@ -2348,9 +2675,9 @@ class FConnectionTextPathDirective {
|
|
|
2348
2675
|
return symbolWidth;
|
|
2349
2676
|
}
|
|
2350
2677
|
}
|
|
2351
|
-
FConnectionTextPathDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2352
|
-
FConnectionTextPathDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
2353
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2678
|
+
FConnectionTextPathDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FConnectionTextPathDirective, deps: [{ token: i0.ElementRef }, { token: F_CONNECTION }, { token: i1.BrowserService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2679
|
+
FConnectionTextPathDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FConnectionTextPathDirective, selector: "textPath[f-connection-text-path]", host: { properties: { "attr.href": "linkToConnection" } }, ngImport: i0 });
|
|
2680
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FConnectionTextPathDirective, decorators: [{
|
|
2354
2681
|
type: Directive,
|
|
2355
2682
|
args: [{
|
|
2356
2683
|
selector: 'textPath[f-connection-text-path]',
|
|
@@ -2358,10 +2685,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
2358
2685
|
'[attr.href]': 'linkToConnection'
|
|
2359
2686
|
}
|
|
2360
2687
|
}]
|
|
2361
|
-
}], ctorParameters: function () {
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2688
|
+
}], ctorParameters: function () {
|
|
2689
|
+
return [{ type: i0.ElementRef }, { type: undefined, decorators: [{
|
|
2690
|
+
type: Inject,
|
|
2691
|
+
args: [F_CONNECTION]
|
|
2692
|
+
}] }, { type: i1.BrowserService }];
|
|
2693
|
+
} });
|
|
2365
2694
|
|
|
2366
2695
|
const CONNECTION_TEXT = new InjectionToken('CONNECTION_TEXT');
|
|
2367
2696
|
|
|
@@ -2407,24 +2736,20 @@ class FConnectionTextComponent {
|
|
|
2407
2736
|
return vectorLength / 2 - ((name || '').length * symbolWidth) / 2;
|
|
2408
2737
|
}
|
|
2409
2738
|
}
|
|
2410
|
-
FConnectionTextComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2411
|
-
FConnectionTextComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
2412
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2739
|
+
FConnectionTextComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FConnectionTextComponent, deps: [{ token: i0.ElementRef }, { token: F_CONNECTION }], target: i0.ɵɵFactoryTarget.Component });
|
|
2740
|
+
FConnectionTextComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: FConnectionTextComponent, selector: "text[f-connection-text]", host: { properties: { "attr.id": "textId" }, classAttribute: "f-component f-connection-text" }, providers: [{ provide: CONNECTION_TEXT, useExisting: FConnectionTextComponent }], viewQueries: [{ propertyName: "textPathDirective", first: true, predicate: FConnectionTextPathDirective, descendants: true, static: true }], ngImport: i0, template: "<ng-container xmlns:svg=\"http://www.w3.org/2000/svg\">\n <svg:textPath f-connection-text-path>\n {{ text }}\n </svg:textPath>\n</ng-container>\n", dependencies: [{ kind: "directive", type: FConnectionTextPathDirective, selector: "textPath[f-connection-text-path]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2741
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FConnectionTextComponent, decorators: [{
|
|
2413
2742
|
type: Component,
|
|
2414
|
-
args: [{
|
|
2415
|
-
selector: "text[f-connection-text]",
|
|
2416
|
-
templateUrl: "./f-connection-text.component.html",
|
|
2417
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2418
|
-
host: {
|
|
2743
|
+
args: [{ selector: "text[f-connection-text]", changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
2419
2744
|
class: "f-component f-connection-text",
|
|
2420
2745
|
'[attr.id]': 'textId',
|
|
2421
|
-
},
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2746
|
+
}, providers: [{ provide: CONNECTION_TEXT, useExisting: FConnectionTextComponent }], template: "<ng-container xmlns:svg=\"http://www.w3.org/2000/svg\">\n <svg:textPath f-connection-text-path>\n {{ text }}\n </svg:textPath>\n</ng-container>\n" }]
|
|
2747
|
+
}], ctorParameters: function () {
|
|
2748
|
+
return [{ type: i0.ElementRef }, { type: undefined, decorators: [{
|
|
2749
|
+
type: Inject,
|
|
2750
|
+
args: [F_CONNECTION]
|
|
2751
|
+
}] }];
|
|
2752
|
+
}, propDecorators: { textPathDirective: [{
|
|
2428
2753
|
type: ViewChild,
|
|
2429
2754
|
args: [FConnectionTextPathDirective, { static: true }]
|
|
2430
2755
|
}] } });
|
|
@@ -2451,9 +2776,9 @@ class FConnectionDragHandleComponent {
|
|
|
2451
2776
|
return { x: end.x - scaledDirection.x, y: end.y - scaledDirection.y };
|
|
2452
2777
|
}
|
|
2453
2778
|
}
|
|
2454
|
-
FConnectionDragHandleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2455
|
-
FConnectionDragHandleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
2456
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2779
|
+
FConnectionDragHandleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FConnectionDragHandleComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2780
|
+
FConnectionDragHandleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: FConnectionDragHandleComponent, selector: "circle[f-connection-drag-handle]", host: { properties: { "class": "class" } }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2781
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FConnectionDragHandleComponent, decorators: [{
|
|
2457
2782
|
type: Component,
|
|
2458
2783
|
args: [{
|
|
2459
2784
|
selector: "circle[f-connection-drag-handle]",
|
|
@@ -2511,24 +2836,20 @@ class FConnectionGradientComponent {
|
|
|
2511
2836
|
this.updateGradient();
|
|
2512
2837
|
}
|
|
2513
2838
|
}
|
|
2514
|
-
FConnectionGradientComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2515
|
-
FConnectionGradientComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
2516
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2839
|
+
FConnectionGradientComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FConnectionGradientComponent, deps: [{ token: i0.ElementRef }, { token: F_CONNECTION }], target: i0.ɵɵFactoryTarget.Component });
|
|
2840
|
+
FConnectionGradientComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: FConnectionGradientComponent, selector: "linearGradient[fConnectionGradient]", host: { properties: { "attr.id": "gradientId" }, classAttribute: "f-component f-connection-gradient" }, providers: [{ provide: CONNECTION_GRADIENT, useExisting: FConnectionGradientComponent }], ngImport: i0, template: "<ng-container xmlns:svg=\"http://www.w3.org/2000/svg\">\n <svg:stop/>\n <svg:stop/>\n</ng-container>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2841
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FConnectionGradientComponent, decorators: [{
|
|
2517
2842
|
type: Component,
|
|
2518
|
-
args: [{
|
|
2519
|
-
selector: "linearGradient[fConnectionGradient]",
|
|
2520
|
-
templateUrl: "./f-connection-gradient.component.html",
|
|
2521
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2522
|
-
host: {
|
|
2843
|
+
args: [{ selector: "linearGradient[fConnectionGradient]", changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
2523
2844
|
class: "f-component f-connection-gradient",
|
|
2524
2845
|
'[attr.id]': 'gradientId'
|
|
2525
|
-
},
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2846
|
+
}, 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" }]
|
|
2847
|
+
}], ctorParameters: function () {
|
|
2848
|
+
return [{ type: i0.ElementRef }, { type: undefined, decorators: [{
|
|
2849
|
+
type: Inject,
|
|
2850
|
+
args: [F_CONNECTION]
|
|
2851
|
+
}] }];
|
|
2852
|
+
} });
|
|
2532
2853
|
|
|
2533
2854
|
const CONNECTION_PATH = new InjectionToken('CONNECTION_PATH');
|
|
2534
2855
|
|
|
@@ -2577,9 +2898,9 @@ class FConnectionPathComponent {
|
|
|
2577
2898
|
this.hostElement.setAttribute('marker-end', `url(#${getMarkerEndId(this.base.fId)})`);
|
|
2578
2899
|
}
|
|
2579
2900
|
}
|
|
2580
|
-
FConnectionPathComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2581
|
-
FConnectionPathComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
2582
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2901
|
+
FConnectionPathComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FConnectionPathComponent, deps: [{ token: i0.ElementRef }, { token: F_CONNECTION }], target: i0.ɵɵFactoryTarget.Component });
|
|
2902
|
+
FConnectionPathComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: FConnectionPathComponent, selector: "path[f-connection-path]", host: { properties: { "attr.id": "attrConnectionId", "attr.data-f-path-id": "fPathId", "attr.stroke": "linkToGradient" }, classAttribute: "f-component f-connection-path" }, providers: [{ provide: CONNECTION_PATH, useExisting: FConnectionPathComponent }], ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2903
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FConnectionPathComponent, decorators: [{
|
|
2583
2904
|
type: Component,
|
|
2584
2905
|
args: [{
|
|
2585
2906
|
selector: "path[f-connection-path]",
|
|
@@ -2593,10 +2914,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
2593
2914
|
},
|
|
2594
2915
|
providers: [{ provide: CONNECTION_PATH, useExisting: FConnectionPathComponent }],
|
|
2595
2916
|
}]
|
|
2596
|
-
}], ctorParameters: function () {
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2917
|
+
}], ctorParameters: function () {
|
|
2918
|
+
return [{ type: i0.ElementRef }, { type: undefined, decorators: [{
|
|
2919
|
+
type: Inject,
|
|
2920
|
+
args: [F_CONNECTION]
|
|
2921
|
+
}] }];
|
|
2922
|
+
} });
|
|
2600
2923
|
|
|
2601
2924
|
class FConnectionSelectionComponent {
|
|
2602
2925
|
constructor(elementReference, base) {
|
|
@@ -2613,9 +2936,9 @@ class FConnectionSelectionComponent {
|
|
|
2613
2936
|
this.hostElement.setAttribute("d", `${path}`);
|
|
2614
2937
|
}
|
|
2615
2938
|
}
|
|
2616
|
-
FConnectionSelectionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2617
|
-
FConnectionSelectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
2618
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2939
|
+
FConnectionSelectionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FConnectionSelectionComponent, deps: [{ token: i0.ElementRef }, { token: F_CONNECTION }], target: i0.ɵɵFactoryTarget.Component });
|
|
2940
|
+
FConnectionSelectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: FConnectionSelectionComponent, selector: "path[fConnectionSelection]", host: { properties: { "attr.id": "connectionForSelectionId" }, classAttribute: "f-component f-connection-selection" }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2941
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FConnectionSelectionComponent, decorators: [{
|
|
2619
2942
|
type: Component,
|
|
2620
2943
|
args: [{
|
|
2621
2944
|
selector: "path[fConnectionSelection]",
|
|
@@ -2626,10 +2949,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
2626
2949
|
'[attr.id]': 'connectionForSelectionId',
|
|
2627
2950
|
},
|
|
2628
2951
|
}]
|
|
2629
|
-
}], ctorParameters: function () {
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
|
|
2952
|
+
}], ctorParameters: function () {
|
|
2953
|
+
return [{ type: i0.ElementRef }, { type: undefined, decorators: [{
|
|
2954
|
+
type: Inject,
|
|
2955
|
+
args: [F_CONNECTION]
|
|
2956
|
+
}] }];
|
|
2957
|
+
} });
|
|
2633
2958
|
|
|
2634
2959
|
const F_CONNECTION_BUILDERS = new InjectionToken('F_CONNECTION_BUILDERS');
|
|
2635
2960
|
|
|
@@ -2652,16 +2977,18 @@ class FConnectionFactory {
|
|
|
2652
2977
|
return builder.handle(request.payload);
|
|
2653
2978
|
}
|
|
2654
2979
|
}
|
|
2655
|
-
FConnectionFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2656
|
-
FConnectionFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2657
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2980
|
+
FConnectionFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FConnectionFactory, deps: [{ token: F_CONNECTION_BUILDERS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2981
|
+
FConnectionFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FConnectionFactory });
|
|
2982
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FConnectionFactory, decorators: [{
|
|
2658
2983
|
type: Injectable
|
|
2659
|
-
}], ctorParameters: function () {
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2984
|
+
}], ctorParameters: function () {
|
|
2985
|
+
return [{ type: undefined, decorators: [{
|
|
2986
|
+
type: Optional
|
|
2987
|
+
}, {
|
|
2988
|
+
type: Inject,
|
|
2989
|
+
args: [F_CONNECTION_BUILDERS]
|
|
2990
|
+
}] }];
|
|
2991
|
+
} });
|
|
2665
2992
|
|
|
2666
2993
|
const MIXIN_BASE = mixinChangeSelection(mixinChangeVisibility(class {
|
|
2667
2994
|
constructor(hostElement) {
|
|
@@ -2684,7 +3011,7 @@ class FConnectionBase extends MIXIN_BASE {
|
|
|
2684
3011
|
}
|
|
2685
3012
|
isContains(element) {
|
|
2686
3013
|
var _a;
|
|
2687
|
-
return (
|
|
3014
|
+
return (_a = this.hostElement.firstChild) === null || _a === void 0 ? void 0 : _a.lastChild.contains(element);
|
|
2688
3015
|
}
|
|
2689
3016
|
setLine(source, sourceSide, target, targetSide) {
|
|
2690
3017
|
var _a, _b;
|
|
@@ -2719,9 +3046,9 @@ class FConnectionBase extends MIXIN_BASE {
|
|
|
2719
3046
|
this.fTextComponent.redraw(this.line);
|
|
2720
3047
|
}
|
|
2721
3048
|
}
|
|
2722
|
-
FConnectionBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2723
|
-
FConnectionBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
2724
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3049
|
+
FConnectionBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FConnectionBase, deps: [{ token: i0.ElementRef }, { token: FConnectionFactory }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3050
|
+
FConnectionBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FConnectionBase, usesInheritance: true, ngImport: i0 });
|
|
3051
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FConnectionBase, decorators: [{
|
|
2725
3052
|
type: Directive
|
|
2726
3053
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: FConnectionFactory }]; } });
|
|
2727
3054
|
|
|
@@ -2741,21 +3068,21 @@ var EFConnectionType;
|
|
|
2741
3068
|
|
|
2742
3069
|
class FConnectionCenterDirective {
|
|
2743
3070
|
}
|
|
2744
|
-
FConnectionCenterDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2745
|
-
FConnectionCenterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
2746
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3071
|
+
FConnectionCenterDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FConnectionCenterDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
3072
|
+
FConnectionCenterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FConnectionCenterDirective, selector: "[fConnectionCenter]", ngImport: i0 });
|
|
3073
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FConnectionCenterDirective, decorators: [{
|
|
2747
3074
|
type: Directive,
|
|
2748
3075
|
args: [{
|
|
2749
3076
|
selector: "[fConnectionCenter]"
|
|
2750
3077
|
}]
|
|
2751
3078
|
}] });
|
|
2752
3079
|
|
|
2753
|
-
let uniqueId$
|
|
3080
|
+
let uniqueId$6 = 0;
|
|
2754
3081
|
class FConnectionForCreateComponent extends FConnectionBase {
|
|
2755
3082
|
constructor(elementReference, fConnectionFactory, fComponentsStore) {
|
|
2756
3083
|
super(elementReference, fConnectionFactory);
|
|
2757
3084
|
this.fComponentsStore = fComponentsStore;
|
|
2758
|
-
this.fId = `f-connection-for-create-${uniqueId$
|
|
3085
|
+
this.fId = `f-connection-for-create-${uniqueId$6++}`;
|
|
2759
3086
|
this.fText = '';
|
|
2760
3087
|
this._fStartColor = 'black';
|
|
2761
3088
|
this._fEndColor = 'black';
|
|
@@ -2821,20 +3148,13 @@ class FConnectionForCreateComponent extends FConnectionBase {
|
|
|
2821
3148
|
this.fComponentsStore.fTempConnection = undefined;
|
|
2822
3149
|
}
|
|
2823
3150
|
}
|
|
2824
|
-
FConnectionForCreateComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2825
|
-
FConnectionForCreateComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
2826
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3151
|
+
FConnectionForCreateComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FConnectionForCreateComponent, deps: [{ token: i0.ElementRef }, { token: FConnectionFactory }, { token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Component });
|
|
3152
|
+
FConnectionForCreateComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: FConnectionForCreateComponent, selector: "f-connection-for-create", inputs: { fStartColor: "fStartColor", fEndColor: "fEndColor", fRadius: "fRadius", fOffset: "fOffset", fBehavior: "fBehavior", fType: "fType" }, host: { classAttribute: "f-component f-connection f-connection-for-create" }, providers: [{ provide: F_CONNECTION, useExisting: FConnectionForCreateComponent }], queries: [{ propertyName: "fConnectionCenters", predicate: FConnectionCenterDirective, descendants: true }], viewQueries: [{ propertyName: "fDefs", first: true, predicate: ["defs"], descendants: true, static: true }, { propertyName: "fPath", first: true, predicate: CONNECTION_PATH, descendants: true, static: true }, { propertyName: "fGradient", first: true, predicate: CONNECTION_GRADIENT, descendants: true, static: true }, { propertyName: "fDragHandle", first: true, predicate: FConnectionDragHandleComponent, descendants: true, static: true }, { propertyName: "fSelection", first: true, predicate: FConnectionSelectionComponent, descendants: true, static: true }, { propertyName: "fTextComponent", first: true, predicate: CONNECTION_TEXT, descendants: true, static: true }, { propertyName: "fConnectionCenter", first: true, predicate: ["fConnectionCenter"], descendants: true }], usesInheritance: true, ngImport: i0, 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 r=\"8\"></circle>\n </g>\n <text f-connection-text></text>\n </g>\n <ng-content></ng-content>\n</svg>\n<div #fConnectionCenter class=\"f-connection-center\" *ngIf=\"fConnectionCenters.length\">\n <ng-content select=\"[fConnectionCenter]\"></ng-content>\n</div>\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"], dependencies: [{ kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: FConnectionTextComponent, selector: "text[f-connection-text]" }, { kind: "component", type: FConnectionDragHandleComponent, selector: "circle[f-connection-drag-handle]" }, { kind: "component", type: FConnectionGradientComponent, selector: "linearGradient[fConnectionGradient]" }, { kind: "component", type: FConnectionPathComponent, selector: "path[f-connection-path]" }, { kind: "component", type: FConnectionSelectionComponent, selector: "path[fConnectionSelection]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3153
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FConnectionForCreateComponent, decorators: [{
|
|
2827
3154
|
type: Component,
|
|
2828
|
-
args: [{
|
|
2829
|
-
selector: "f-connection-for-create",
|
|
2830
|
-
templateUrl: "./f-connection-for-create.component.html",
|
|
2831
|
-
styleUrls: ["./f-connection-for-create.component.scss"],
|
|
2832
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2833
|
-
host: {
|
|
3155
|
+
args: [{ selector: "f-connection-for-create", changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
2834
3156
|
class: "f-component f-connection f-connection-for-create"
|
|
2835
|
-
},
|
|
2836
|
-
providers: [{ provide: F_CONNECTION, useExisting: FConnectionForCreateComponent }],
|
|
2837
|
-
}]
|
|
3157
|
+
}, 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 r=\"8\"></circle>\n </g>\n <text f-connection-text></text>\n </g>\n <ng-content></ng-content>\n</svg>\n<div #fConnectionCenter class=\"f-connection-center\" *ngIf=\"fConnectionCenters.length\">\n <ng-content select=\"[fConnectionCenter]\"></ng-content>\n</div>\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"] }]
|
|
2838
3158
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: FConnectionFactory }, { type: FComponentsStore }]; }, propDecorators: { fStartColor: [{
|
|
2839
3159
|
type: Input
|
|
2840
3160
|
}], fEndColor: [{
|
|
@@ -2873,12 +3193,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
2873
3193
|
args: [FConnectionCenterDirective, { descendants: true }]
|
|
2874
3194
|
}] } });
|
|
2875
3195
|
|
|
2876
|
-
let uniqueId$
|
|
3196
|
+
let uniqueId$5 = 0;
|
|
2877
3197
|
class FConnectionComponent extends FConnectionBase {
|
|
2878
3198
|
constructor(elementReference, fConnectionFactory, fComponentsStore) {
|
|
2879
3199
|
super(elementReference, fConnectionFactory);
|
|
2880
3200
|
this.fComponentsStore = fComponentsStore;
|
|
2881
|
-
this.fId = `f-connection-${uniqueId$
|
|
3201
|
+
this.fId = `f-connection-${uniqueId$5++}`;
|
|
2882
3202
|
this._fText = '';
|
|
2883
3203
|
this._fStartColor = 'black';
|
|
2884
3204
|
this._fEndColor = 'black';
|
|
@@ -2962,24 +3282,16 @@ class FConnectionComponent extends FConnectionBase {
|
|
|
2962
3282
|
this.fComponentsStore.removeComponent(this.fComponentsStore.fConnections, this);
|
|
2963
3283
|
}
|
|
2964
3284
|
}
|
|
2965
|
-
FConnectionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2966
|
-
FConnectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
2967
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3285
|
+
FConnectionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FConnectionComponent, deps: [{ token: i0.ElementRef }, { token: FConnectionFactory }, { token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Component });
|
|
3286
|
+
FConnectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: FConnectionComponent, selector: "f-connection", inputs: { fId: ["fConnectionId", "fId"], fText: "fText", fStartColor: "fStartColor", fEndColor: "fEndColor", fOutputId: "fOutputId", fInputId: "fInputId", fRadius: "fRadius", fOffset: "fOffset", fBehavior: "fBehavior", fType: "fType", fDraggingDisabled: ["fReassignDisabled", "fDraggingDisabled"], fSelectionDisabled: "fSelectionDisabled" }, host: { properties: { "attr.id": "fId", "class.f-connection-selection-disabled": "fSelectionDisabled", "class.f-connection-reassign-disabled": "fDraggingDisabled" }, classAttribute: "f-component f-connection" }, providers: [{ provide: F_CONNECTION, useExisting: FConnectionComponent }], queries: [{ propertyName: "fConnectionCenters", predicate: FConnectionCenterDirective, descendants: true }], viewQueries: [{ propertyName: "fDefs", first: true, predicate: ["defs"], descendants: true, static: true }, { propertyName: "fPath", first: true, predicate: CONNECTION_PATH, descendants: true, static: true }, { propertyName: "fGradient", first: true, predicate: CONNECTION_GRADIENT, descendants: true, static: true }, { propertyName: "fDragHandle", first: true, predicate: FConnectionDragHandleComponent, descendants: true, static: true }, { propertyName: "fSelection", first: true, predicate: FConnectionSelectionComponent, descendants: true, static: true }, { propertyName: "fTextComponent", first: true, predicate: CONNECTION_TEXT, descendants: true, static: true }, { propertyName: "fConnectionCenter", first: true, predicate: ["fConnectionCenter"], descendants: true }], exportAs: ["fComponent"], usesInheritance: true, ngImport: i0, template: "<svg xmlns=\"http://www.w3.org/2000/svg\" style=\"overflow: visible; display: block; vertical-align: middle;\">\n <defs #defs></defs>\n <ng-content></ng-content>\n <g class=\"f-connection-group\">\n <linearGradient fConnectionGradient></linearGradient>\n <path fConnectionSelection [attr.d]=\"path\"></path>\n <g>\n <path f-connection-path [attr.d]=\"path\"></path>\n <circle f-connection-drag-handle r=\"8\"></circle>\n </g>\n <text f-connection-text></text>\n </g>\n</svg>\n<div #fConnectionCenter class=\"f-connection-center\" *ngIf=\"fConnectionCenters.length\">\n <ng-content select=\"[fConnectionCenter]\"></ng-content>\n</div>\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"], dependencies: [{ kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: FConnectionTextComponent, selector: "text[f-connection-text]" }, { kind: "component", type: FConnectionDragHandleComponent, selector: "circle[f-connection-drag-handle]" }, { kind: "component", type: FConnectionGradientComponent, selector: "linearGradient[fConnectionGradient]" }, { kind: "component", type: FConnectionPathComponent, selector: "path[f-connection-path]" }, { kind: "component", type: FConnectionSelectionComponent, selector: "path[fConnectionSelection]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3287
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FConnectionComponent, decorators: [{
|
|
2968
3288
|
type: Component,
|
|
2969
|
-
args: [{
|
|
2970
|
-
selector: "f-connection",
|
|
2971
|
-
exportAs: 'fComponent',
|
|
2972
|
-
templateUrl: "./f-connection.component.html",
|
|
2973
|
-
styleUrls: ["./f-connection.component.scss"],
|
|
2974
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2975
|
-
host: {
|
|
3289
|
+
args: [{ selector: "f-connection", exportAs: 'fComponent', changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
2976
3290
|
'[attr.id]': 'fId',
|
|
2977
3291
|
class: "f-component f-connection",
|
|
2978
3292
|
'[class.f-connection-selection-disabled]': 'fSelectionDisabled',
|
|
2979
3293
|
'[class.f-connection-reassign-disabled]': 'fDraggingDisabled',
|
|
2980
|
-
},
|
|
2981
|
-
providers: [{ provide: F_CONNECTION, useExisting: FConnectionComponent }],
|
|
2982
|
-
}]
|
|
3294
|
+
}, providers: [{ provide: F_CONNECTION, useExisting: FConnectionComponent }], template: "<svg xmlns=\"http://www.w3.org/2000/svg\" style=\"overflow: visible; display: block; vertical-align: middle;\">\n <defs #defs></defs>\n <ng-content></ng-content>\n <g class=\"f-connection-group\">\n <linearGradient fConnectionGradient></linearGradient>\n <path fConnectionSelection [attr.d]=\"path\"></path>\n <g>\n <path f-connection-path [attr.d]=\"path\"></path>\n <circle f-connection-drag-handle r=\"8\"></circle>\n </g>\n <text f-connection-text></text>\n </g>\n</svg>\n<div #fConnectionCenter class=\"f-connection-center\" *ngIf=\"fConnectionCenters.length\">\n <ng-content select=\"[fConnectionCenter]\"></ng-content>\n</div>\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"] }]
|
|
2983
3295
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: FConnectionFactory }, { type: FComponentsStore }]; }, propDecorators: { fId: [{
|
|
2984
3296
|
type: Input,
|
|
2985
3297
|
args: ['fConnectionId']
|
|
@@ -3043,9 +3355,9 @@ var EFMarkerType;
|
|
|
3043
3355
|
const F_MARKER = new InjectionToken('F_MARKER');
|
|
3044
3356
|
class FMarkerBase {
|
|
3045
3357
|
}
|
|
3046
|
-
FMarkerBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3047
|
-
FMarkerBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
3048
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3358
|
+
FMarkerBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FMarkerBase, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
3359
|
+
FMarkerBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FMarkerBase, ngImport: i0 });
|
|
3360
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FMarkerBase, decorators: [{
|
|
3049
3361
|
type: Directive
|
|
3050
3362
|
}] });
|
|
3051
3363
|
|
|
@@ -3073,9 +3385,9 @@ class FMarkerDirective extends FMarkerBase {
|
|
|
3073
3385
|
this.fComponentsStore.removeComponent(this.fComponentsStore.fMarkers, this);
|
|
3074
3386
|
}
|
|
3075
3387
|
}
|
|
3076
|
-
FMarkerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3077
|
-
FMarkerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
3078
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3388
|
+
FMarkerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FMarkerDirective, deps: [{ token: FComponentsStore }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3389
|
+
FMarkerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FMarkerDirective, selector: "svg[fMarker]", inputs: { hostElement: "hostElement", width: "width", height: "height", refX: "refX", refY: "refY", type: "type", orient: "orient", markerUnits: "markerUnits" }, host: { classAttribute: "f-component f-marker" }, providers: [{ provide: F_MARKER, useExisting: FMarkerDirective }], usesInheritance: true, ngImport: i0 });
|
|
3390
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FMarkerDirective, decorators: [{
|
|
3079
3391
|
type: Directive,
|
|
3080
3392
|
args: [{
|
|
3081
3393
|
selector: "svg[fMarker]",
|
|
@@ -3102,12 +3414,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
3102
3414
|
type: Input
|
|
3103
3415
|
}] } });
|
|
3104
3416
|
|
|
3105
|
-
let uniqueId$
|
|
3417
|
+
let uniqueId$4 = 0;
|
|
3106
3418
|
class FSnapConnectionComponent extends FConnectionBase {
|
|
3107
3419
|
constructor(elementReference, fConnectionFactory, fComponentsStore) {
|
|
3108
3420
|
super(elementReference, fConnectionFactory);
|
|
3109
3421
|
this.fComponentsStore = fComponentsStore;
|
|
3110
|
-
this.fId = `f-snap-connection-${uniqueId$
|
|
3422
|
+
this.fId = `f-snap-connection-${uniqueId$4++}`;
|
|
3111
3423
|
this.fText = '';
|
|
3112
3424
|
this._fStartColor = 'black';
|
|
3113
3425
|
this._fEndColor = 'black';
|
|
@@ -3174,20 +3486,13 @@ class FSnapConnectionComponent extends FConnectionBase {
|
|
|
3174
3486
|
this.fComponentsStore.fSnapConnection = undefined;
|
|
3175
3487
|
}
|
|
3176
3488
|
}
|
|
3177
|
-
FSnapConnectionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3178
|
-
FSnapConnectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
3179
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3489
|
+
FSnapConnectionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FSnapConnectionComponent, deps: [{ token: i0.ElementRef }, { token: FConnectionFactory }, { token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Component });
|
|
3490
|
+
FSnapConnectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: FSnapConnectionComponent, selector: "f-snap-connection", inputs: { fStartColor: "fStartColor", fEndColor: "fEndColor", fSnapThreshold: "fSnapThreshold", fRadius: "fRadius", fOffset: "fOffset", fBehavior: "fBehavior", fType: "fType" }, host: { classAttribute: "f-component f-connection f-snap-connection" }, providers: [{ provide: F_CONNECTION, useExisting: FSnapConnectionComponent }], queries: [{ propertyName: "fConnectionCenters", predicate: FConnectionCenterDirective, descendants: true }], viewQueries: [{ propertyName: "fDefs", first: true, predicate: ["defs"], descendants: true, static: true }, { propertyName: "fPath", first: true, predicate: CONNECTION_PATH, descendants: true, static: true }, { propertyName: "fGradient", first: true, predicate: CONNECTION_GRADIENT, descendants: true, static: true }, { propertyName: "fDragHandle", first: true, predicate: FConnectionDragHandleComponent, descendants: true, static: true }, { propertyName: "fSelection", first: true, predicate: FConnectionSelectionComponent, descendants: true, static: true }, { propertyName: "fTextComponent", first: true, predicate: CONNECTION_TEXT, descendants: true, static: true }, { propertyName: "fConnectionCenter", first: true, predicate: ["fConnectionCenter"], descendants: true }], usesInheritance: true, ngImport: i0, 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 r=\"8\"></circle>\n </g>\n <text f-connection-text></text>\n </g>\n <ng-content></ng-content>\n</svg>\n<div #fConnectionCenter class=\"f-connection-center\" *ngIf=\"fConnectionCenters.length\">\n <ng-content select=\"[fConnectionCenter]\"></ng-content>\n</div>\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"], dependencies: [{ kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: FConnectionTextComponent, selector: "text[f-connection-text]" }, { kind: "component", type: FConnectionDragHandleComponent, selector: "circle[f-connection-drag-handle]" }, { kind: "component", type: FConnectionGradientComponent, selector: "linearGradient[fConnectionGradient]" }, { kind: "component", type: FConnectionPathComponent, selector: "path[f-connection-path]" }, { kind: "component", type: FConnectionSelectionComponent, selector: "path[fConnectionSelection]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3491
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FSnapConnectionComponent, decorators: [{
|
|
3180
3492
|
type: Component,
|
|
3181
|
-
args: [{
|
|
3182
|
-
selector: "f-snap-connection",
|
|
3183
|
-
templateUrl: "./f-snap-connection.component.html",
|
|
3184
|
-
styleUrls: ["./f-snap-connection.component.scss"],
|
|
3185
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3186
|
-
host: {
|
|
3493
|
+
args: [{ selector: "f-snap-connection", changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
3187
3494
|
class: "f-component f-connection f-snap-connection"
|
|
3188
|
-
},
|
|
3189
|
-
providers: [{ provide: F_CONNECTION, useExisting: FSnapConnectionComponent }],
|
|
3190
|
-
}]
|
|
3495
|
+
}, 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 r=\"8\"></circle>\n </g>\n <text f-connection-text></text>\n </g>\n <ng-content></ng-content>\n</svg>\n<div #fConnectionCenter class=\"f-connection-center\" *ngIf=\"fConnectionCenters.length\">\n <ng-content select=\"[fConnectionCenter]\"></ng-content>\n</div>\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"] }]
|
|
3191
3496
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: FConnectionFactory }, { type: FComponentsStore }]; }, propDecorators: { fStartColor: [{
|
|
3192
3497
|
type: Input
|
|
3193
3498
|
}], fEndColor: [{
|
|
@@ -3283,12 +3588,12 @@ let ReassignConnectionPreparationExecution = class ReassignConnectionPreparation
|
|
|
3283
3588
|
return this.fConnections.find(c => c.isContains(element));
|
|
3284
3589
|
}
|
|
3285
3590
|
};
|
|
3286
|
-
ReassignConnectionPreparationExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3287
|
-
ReassignConnectionPreparationExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3591
|
+
ReassignConnectionPreparationExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ReassignConnectionPreparationExecution, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: i2.FMediator }, { token: i1.BrowserService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3592
|
+
ReassignConnectionPreparationExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ReassignConnectionPreparationExecution });
|
|
3288
3593
|
ReassignConnectionPreparationExecution = __decorate([
|
|
3289
3594
|
FExecutionRegister(ReassignConnectionPreparationRequest)
|
|
3290
3595
|
], ReassignConnectionPreparationExecution);
|
|
3291
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3596
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ReassignConnectionPreparationExecution, decorators: [{
|
|
3292
3597
|
type: Injectable
|
|
3293
3598
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: i2.FMediator }, { type: i1.BrowserService }]; } });
|
|
3294
3599
|
|
|
@@ -3317,29 +3622,34 @@ let ReassignConnectionPreparationValidator = class ReassignConnectionPreparation
|
|
|
3317
3622
|
return this.fConnections.find(c => c.isContains(element));
|
|
3318
3623
|
}
|
|
3319
3624
|
};
|
|
3320
|
-
ReassignConnectionPreparationValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3321
|
-
ReassignConnectionPreparationValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3625
|
+
ReassignConnectionPreparationValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ReassignConnectionPreparationValidator, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: i1.BrowserService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3626
|
+
ReassignConnectionPreparationValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ReassignConnectionPreparationValidator });
|
|
3322
3627
|
ReassignConnectionPreparationValidator = __decorate([
|
|
3323
3628
|
FValidatorRegister(ReassignConnectionPreparationRequest)
|
|
3324
3629
|
], ReassignConnectionPreparationValidator);
|
|
3325
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3630
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ReassignConnectionPreparationValidator, decorators: [{
|
|
3326
3631
|
type: Injectable
|
|
3327
3632
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: i1.BrowserService }]; } });
|
|
3328
3633
|
|
|
3329
|
-
const
|
|
3634
|
+
const CONNECTIONS_PROVIDERS = [
|
|
3635
|
+
GetInputUnderPointerExecution,
|
|
3636
|
+
GetInputUnderPointerValidator,
|
|
3637
|
+
CreateConnectionFinalizeExecution,
|
|
3638
|
+
CreateConnectionFinalizeValidator,
|
|
3639
|
+
CreateConnectionDragHandlerExecution,
|
|
3640
|
+
CreateConnectionFromOutletPreparationExecution,
|
|
3641
|
+
GetCanBeConnectedOutputByOutletExecution,
|
|
3642
|
+
GetCanBeConnectedOutputByOutletValidator,
|
|
3643
|
+
CreateConnectionFromOutputPreparationExecution,
|
|
3644
|
+
CreateConnectionFromOutputPreparationValidator,
|
|
3645
|
+
CreateConnectionPreparationExecution,
|
|
3646
|
+
CreateConnectionPreparationValidator,
|
|
3647
|
+
ReassignConnectionFinalizeExecution,
|
|
3648
|
+
ReassignConnectionFinalizeValidator,
|
|
3330
3649
|
ReassignConnectionPreparationExecution,
|
|
3331
3650
|
ReassignConnectionPreparationValidator,
|
|
3332
3651
|
];
|
|
3333
3652
|
|
|
3334
|
-
const CONNECTIONS_PROVIDERS = [
|
|
3335
|
-
...CONNECTION_DRAG_COMMON_PROVIDERS,
|
|
3336
|
-
...CREATE_CONNECTION_FINALIZE_PROVIDERS,
|
|
3337
|
-
...CREATE_CONNECTION_PREPARATION_PROVIDERS,
|
|
3338
|
-
...GET_CAN_BE_CONNECTED_OUTPUT_BY_OUTLET_PROVIDERS,
|
|
3339
|
-
...REASSIGN_CONNECTION_FINALIZE_PROVIDERS,
|
|
3340
|
-
...REASSIGN_CONNECTION_PREPARATION_PROVIDERS,
|
|
3341
|
-
];
|
|
3342
|
-
|
|
3343
3653
|
class GetNodePaddingRequest {
|
|
3344
3654
|
constructor(fNode, rect) {
|
|
3345
3655
|
this.fNode = fNode;
|
|
@@ -3364,12 +3674,12 @@ let GetNodePaddingExecution = class GetNodePaddingExecution {
|
|
|
3364
3674
|
];
|
|
3365
3675
|
}
|
|
3366
3676
|
};
|
|
3367
|
-
GetNodePaddingExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3368
|
-
GetNodePaddingExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3677
|
+
GetNodePaddingExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetNodePaddingExecution, deps: [{ token: i1.BrowserService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3678
|
+
GetNodePaddingExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetNodePaddingExecution });
|
|
3369
3679
|
GetNodePaddingExecution = __decorate([
|
|
3370
3680
|
FExecutionRegister(GetNodePaddingRequest)
|
|
3371
3681
|
], GetNodePaddingExecution);
|
|
3372
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3682
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetNodePaddingExecution, decorators: [{
|
|
3373
3683
|
type: Injectable
|
|
3374
3684
|
}], ctorParameters: function () { return [{ type: i1.BrowserService }]; } });
|
|
3375
3685
|
|
|
@@ -3391,12 +3701,12 @@ let GetNormalizedNodeRectExecution = class GetNormalizedNodeRectExecution {
|
|
|
3391
3701
|
return RectExtensions.initialize(position.x, position.y, rect.width, rect.height);
|
|
3392
3702
|
}
|
|
3393
3703
|
};
|
|
3394
|
-
GetNormalizedNodeRectExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3395
|
-
GetNormalizedNodeRectExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3704
|
+
GetNormalizedNodeRectExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetNormalizedNodeRectExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3705
|
+
GetNormalizedNodeRectExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetNormalizedNodeRectExecution });
|
|
3396
3706
|
GetNormalizedNodeRectExecution = __decorate([
|
|
3397
3707
|
FExecutionRegister(GetNormalizedNodeRectRequest)
|
|
3398
3708
|
], GetNormalizedNodeRectExecution);
|
|
3399
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3709
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetNormalizedNodeRectExecution, decorators: [{
|
|
3400
3710
|
type: Injectable
|
|
3401
3711
|
}], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
|
|
3402
3712
|
|
|
@@ -3434,12 +3744,12 @@ let GetNormalizedParentNodeRectExecution = class GetNormalizedParentNodeRectExec
|
|
|
3434
3744
|
return this.fMediator.send(new GetNodePaddingRequest(node, rect));
|
|
3435
3745
|
}
|
|
3436
3746
|
};
|
|
3437
|
-
GetNormalizedParentNodeRectExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3438
|
-
GetNormalizedParentNodeRectExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3747
|
+
GetNormalizedParentNodeRectExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetNormalizedParentNodeRectExecution, deps: [{ token: FComponentsStore }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3748
|
+
GetNormalizedParentNodeRectExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetNormalizedParentNodeRectExecution });
|
|
3439
3749
|
GetNormalizedParentNodeRectExecution = __decorate([
|
|
3440
3750
|
FExecutionRegister(GetNormalizedParentNodeRectRequest)
|
|
3441
3751
|
], GetNormalizedParentNodeRectExecution);
|
|
3442
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3752
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetNormalizedParentNodeRectExecution, decorators: [{
|
|
3443
3753
|
type: Injectable
|
|
3444
3754
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: i2.FMediator }]; } });
|
|
3445
3755
|
|
|
@@ -3469,12 +3779,12 @@ let GetParentNodesExecution = class GetParentNodesExecution {
|
|
|
3469
3779
|
return this.getParentNodes(parent, visited, result);
|
|
3470
3780
|
}
|
|
3471
3781
|
};
|
|
3472
|
-
GetParentNodesExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3473
|
-
GetParentNodesExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3782
|
+
GetParentNodesExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetParentNodesExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3783
|
+
GetParentNodesExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetParentNodesExecution });
|
|
3474
3784
|
GetParentNodesExecution = __decorate([
|
|
3475
3785
|
FExecutionRegister(GetParentNodesRequest)
|
|
3476
3786
|
], GetParentNodesExecution);
|
|
3477
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3787
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetParentNodesExecution, decorators: [{
|
|
3478
3788
|
type: Injectable
|
|
3479
3789
|
}], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
|
|
3480
3790
|
|
|
@@ -3502,12 +3812,12 @@ let IsArrayHasParentNodeExecution = class IsArrayHasParentNodeExecution {
|
|
|
3502
3812
|
return fNodes.some((x) => parentNodeIds.includes(x.fId));
|
|
3503
3813
|
}
|
|
3504
3814
|
};
|
|
3505
|
-
IsArrayHasParentNodeExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3506
|
-
IsArrayHasParentNodeExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3815
|
+
IsArrayHasParentNodeExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: IsArrayHasParentNodeExecution, deps: [{ token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3816
|
+
IsArrayHasParentNodeExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: IsArrayHasParentNodeExecution });
|
|
3507
3817
|
IsArrayHasParentNodeExecution = __decorate([
|
|
3508
3818
|
FExecutionRegister(IsArrayHasParentNodeRequest)
|
|
3509
3819
|
], IsArrayHasParentNodeExecution);
|
|
3510
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3820
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: IsArrayHasParentNodeExecution, decorators: [{
|
|
3511
3821
|
type: Injectable
|
|
3512
3822
|
}], ctorParameters: function () { return [{ type: i2.FMediator }]; } });
|
|
3513
3823
|
|
|
@@ -3554,9 +3864,9 @@ class ConnectionBaseDragHandler {
|
|
|
3554
3864
|
this.connection.redraw();
|
|
3555
3865
|
}
|
|
3556
3866
|
}
|
|
3557
|
-
ConnectionBaseDragHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3558
|
-
ConnectionBaseDragHandler.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
3559
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3867
|
+
ConnectionBaseDragHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ConnectionBaseDragHandler, deps: [{ token: i2.FMediator }, { token: FComponentsStore }, { token: FConnectionBase }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3868
|
+
ConnectionBaseDragHandler.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: ConnectionBaseDragHandler, ngImport: i0 });
|
|
3869
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ConnectionBaseDragHandler, decorators: [{
|
|
3560
3870
|
type: Directive
|
|
3561
3871
|
}], ctorParameters: function () { return [{ type: i2.FMediator }, { type: FComponentsStore }, { type: FConnectionBase }]; } });
|
|
3562
3872
|
|
|
@@ -3643,12 +3953,12 @@ let PutInputConnectionHandlersToArrayExecution = class PutInputConnectionHandler
|
|
|
3643
3953
|
return new ConnectionTargetDragHandler(this.fMediator, this.fComponentsStore, connection, nodeDragHandler.minDistance, nodeDragHandler.maxDistance);
|
|
3644
3954
|
}
|
|
3645
3955
|
};
|
|
3646
|
-
PutInputConnectionHandlersToArrayExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3647
|
-
PutInputConnectionHandlersToArrayExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3956
|
+
PutInputConnectionHandlersToArrayExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PutInputConnectionHandlersToArrayExecution, deps: [{ token: FComponentsStore }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3957
|
+
PutInputConnectionHandlersToArrayExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PutInputConnectionHandlersToArrayExecution });
|
|
3648
3958
|
PutInputConnectionHandlersToArrayExecution = __decorate([
|
|
3649
3959
|
FExecutionRegister(PutInputConnectionHandlersToArrayRequest)
|
|
3650
3960
|
], PutInputConnectionHandlersToArrayExecution);
|
|
3651
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3961
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PutInputConnectionHandlersToArrayExecution, decorators: [{
|
|
3652
3962
|
type: Injectable
|
|
3653
3963
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: i2.FMediator }]; } });
|
|
3654
3964
|
|
|
@@ -3725,12 +4035,12 @@ let PutOutputConnectionHandlersToArrayExecution = class PutOutputConnectionHandl
|
|
|
3725
4035
|
return new ConnectionSourceDragHandler(this.fMediator, this.fComponentsStore, connection, nodeDragHandler.minDistance, nodeDragHandler.maxDistance);
|
|
3726
4036
|
}
|
|
3727
4037
|
};
|
|
3728
|
-
PutOutputConnectionHandlersToArrayExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3729
|
-
PutOutputConnectionHandlersToArrayExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4038
|
+
PutOutputConnectionHandlersToArrayExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PutOutputConnectionHandlersToArrayExecution, deps: [{ token: FComponentsStore }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4039
|
+
PutOutputConnectionHandlersToArrayExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PutOutputConnectionHandlersToArrayExecution });
|
|
3730
4040
|
PutOutputConnectionHandlersToArrayExecution = __decorate([
|
|
3731
4041
|
FExecutionRegister(PutOutputConnectionHandlersToArrayRequest)
|
|
3732
4042
|
], PutOutputConnectionHandlersToArrayExecution);
|
|
3733
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4043
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PutOutputConnectionHandlersToArrayExecution, decorators: [{
|
|
3734
4044
|
type: Injectable
|
|
3735
4045
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: i2.FMediator }]; } });
|
|
3736
4046
|
|
|
@@ -3763,12 +4073,12 @@ let GetNodeMoveRestrictionsExecution = class GetNodeMoveRestrictionsExecution {
|
|
|
3763
4073
|
return this.fMediator.send(new GetNormalizedParentNodeRectRequest(fNode));
|
|
3764
4074
|
}
|
|
3765
4075
|
};
|
|
3766
|
-
GetNodeMoveRestrictionsExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3767
|
-
GetNodeMoveRestrictionsExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4076
|
+
GetNodeMoveRestrictionsExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetNodeMoveRestrictionsExecution, deps: [{ token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4077
|
+
GetNodeMoveRestrictionsExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetNodeMoveRestrictionsExecution });
|
|
3768
4078
|
GetNodeMoveRestrictionsExecution = __decorate([
|
|
3769
4079
|
FExecutionRegister(GetNodeMoveRestrictionsRequest)
|
|
3770
4080
|
], GetNodeMoveRestrictionsExecution);
|
|
3771
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4081
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetNodeMoveRestrictionsExecution, decorators: [{
|
|
3772
4082
|
type: Injectable
|
|
3773
4083
|
}], ctorParameters: function () { return [{ type: i2.FMediator }]; } });
|
|
3774
4084
|
const DEFAULT_RESTRICTIONS = {
|
|
@@ -3883,12 +4193,12 @@ let CreateMoveNodesDragModelFromSelectionExecution = class CreateMoveNodesDragMo
|
|
|
3883
4193
|
return result;
|
|
3884
4194
|
}
|
|
3885
4195
|
};
|
|
3886
|
-
CreateMoveNodesDragModelFromSelectionExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3887
|
-
CreateMoveNodesDragModelFromSelectionExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4196
|
+
CreateMoveNodesDragModelFromSelectionExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CreateMoveNodesDragModelFromSelectionExecution, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4197
|
+
CreateMoveNodesDragModelFromSelectionExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CreateMoveNodesDragModelFromSelectionExecution });
|
|
3888
4198
|
CreateMoveNodesDragModelFromSelectionExecution = __decorate([
|
|
3889
4199
|
FExecutionRegister(CreateMoveNodesDragModelFromSelectionRequest)
|
|
3890
4200
|
], CreateMoveNodesDragModelFromSelectionExecution);
|
|
3891
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4201
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CreateMoveNodesDragModelFromSelectionExecution, decorators: [{
|
|
3892
4202
|
type: Injectable
|
|
3893
4203
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: i2.FMediator }]; } });
|
|
3894
4204
|
|
|
@@ -3943,12 +4253,12 @@ let NodeMovePreparationExecution = class NodeMovePreparationExecution {
|
|
|
3943
4253
|
return items.filter((x) => x instanceof NodeDragHandler).map(x => x.fNode);
|
|
3944
4254
|
}
|
|
3945
4255
|
};
|
|
3946
|
-
NodeMovePreparationExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3947
|
-
NodeMovePreparationExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4256
|
+
NodeMovePreparationExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NodeMovePreparationExecution, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4257
|
+
NodeMovePreparationExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NodeMovePreparationExecution });
|
|
3948
4258
|
NodeMovePreparationExecution = __decorate([
|
|
3949
4259
|
FExecutionRegister(NodeMovePreparationRequest)
|
|
3950
4260
|
], NodeMovePreparationExecution);
|
|
3951
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4261
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NodeMovePreparationExecution, decorators: [{
|
|
3952
4262
|
type: Injectable
|
|
3953
4263
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: i2.FMediator }]; } });
|
|
3954
4264
|
|
|
@@ -3975,12 +4285,12 @@ let NodeMovePreparationValidator = class NodeMovePreparationValidator {
|
|
|
3975
4285
|
return isClosestElementHasClass(targetElement, '.f-drag-handle');
|
|
3976
4286
|
}
|
|
3977
4287
|
};
|
|
3978
|
-
NodeMovePreparationValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3979
|
-
NodeMovePreparationValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4288
|
+
NodeMovePreparationValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NodeMovePreparationValidator, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4289
|
+
NodeMovePreparationValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NodeMovePreparationValidator });
|
|
3980
4290
|
NodeMovePreparationValidator = __decorate([
|
|
3981
4291
|
FValidatorRegister(NodeMovePreparationRequest)
|
|
3982
4292
|
], NodeMovePreparationValidator);
|
|
3983
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4293
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NodeMovePreparationValidator, decorators: [{
|
|
3984
4294
|
type: Injectable
|
|
3985
4295
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }]; } });
|
|
3986
4296
|
|
|
@@ -4032,12 +4342,12 @@ let NodeMoveFinalizeExecution = class NodeMoveFinalizeExecution {
|
|
|
4032
4342
|
return difference;
|
|
4033
4343
|
}
|
|
4034
4344
|
};
|
|
4035
|
-
NodeMoveFinalizeExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4036
|
-
NodeMoveFinalizeExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4345
|
+
NodeMoveFinalizeExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NodeMoveFinalizeExecution, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4346
|
+
NodeMoveFinalizeExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NodeMoveFinalizeExecution });
|
|
4037
4347
|
NodeMoveFinalizeExecution = __decorate([
|
|
4038
4348
|
FExecutionRegister(NodeMoveFinalizeRequest)
|
|
4039
4349
|
], NodeMoveFinalizeExecution);
|
|
4040
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4350
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NodeMoveFinalizeExecution, decorators: [{
|
|
4041
4351
|
type: Injectable
|
|
4042
4352
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: i2.FMediator }]; } });
|
|
4043
4353
|
|
|
@@ -4049,12 +4359,12 @@ let NodeMoveFinalizeValidator = class NodeMoveFinalizeValidator {
|
|
|
4049
4359
|
return this.fDraggableDataContext.draggableItems.some((x) => x instanceof NodeDragHandler);
|
|
4050
4360
|
}
|
|
4051
4361
|
};
|
|
4052
|
-
NodeMoveFinalizeValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4053
|
-
NodeMoveFinalizeValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4362
|
+
NodeMoveFinalizeValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NodeMoveFinalizeValidator, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4363
|
+
NodeMoveFinalizeValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NodeMoveFinalizeValidator });
|
|
4054
4364
|
NodeMoveFinalizeValidator = __decorate([
|
|
4055
4365
|
FValidatorRegister(NodeMoveFinalizeRequest)
|
|
4056
4366
|
], NodeMoveFinalizeValidator);
|
|
4057
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4367
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NodeMoveFinalizeValidator, decorators: [{
|
|
4058
4368
|
type: Injectable
|
|
4059
4369
|
}], ctorParameters: function () { return [{ type: FDraggableDataContext }]; } });
|
|
4060
4370
|
|
|
@@ -4110,12 +4420,12 @@ let ApplyChildResizeRestrictionsExecution = class ApplyChildResizeRestrictionsEx
|
|
|
4110
4420
|
}
|
|
4111
4421
|
}
|
|
4112
4422
|
};
|
|
4113
|
-
ApplyChildResizeRestrictionsExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4114
|
-
ApplyChildResizeRestrictionsExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4423
|
+
ApplyChildResizeRestrictionsExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ApplyChildResizeRestrictionsExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4424
|
+
ApplyChildResizeRestrictionsExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ApplyChildResizeRestrictionsExecution });
|
|
4115
4425
|
ApplyChildResizeRestrictionsExecution = __decorate([
|
|
4116
4426
|
FExecutionRegister(ApplyChildResizeRestrictionsRequest)
|
|
4117
4427
|
], ApplyChildResizeRestrictionsExecution);
|
|
4118
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4428
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ApplyChildResizeRestrictionsExecution, decorators: [{
|
|
4119
4429
|
type: Injectable
|
|
4120
4430
|
}] });
|
|
4121
4431
|
|
|
@@ -4160,12 +4470,12 @@ let ApplyParentResizeRestrictionsExecution = class ApplyParentResizeRestrictions
|
|
|
4160
4470
|
}
|
|
4161
4471
|
}
|
|
4162
4472
|
};
|
|
4163
|
-
ApplyParentResizeRestrictionsExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4164
|
-
ApplyParentResizeRestrictionsExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4473
|
+
ApplyParentResizeRestrictionsExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ApplyParentResizeRestrictionsExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4474
|
+
ApplyParentResizeRestrictionsExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ApplyParentResizeRestrictionsExecution });
|
|
4165
4475
|
ApplyParentResizeRestrictionsExecution = __decorate([
|
|
4166
4476
|
FExecutionRegister(ApplyParentResizeRestrictionsRequest)
|
|
4167
4477
|
], ApplyParentResizeRestrictionsExecution);
|
|
4168
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4478
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ApplyParentResizeRestrictionsExecution, decorators: [{
|
|
4169
4479
|
type: Injectable
|
|
4170
4480
|
}] });
|
|
4171
4481
|
|
|
@@ -4193,12 +4503,12 @@ let CalculateChangedPositionExecution = class CalculateChangedPositionExecution
|
|
|
4193
4503
|
return RectExtensions.initialize(originalRect.x + (direction.x === -1 ? difference.x : 0) + changedRect.x, originalRect.y + (direction.y === -1 ? difference.y : 0) + changedRect.y, changedRect.width, changedRect.height);
|
|
4194
4504
|
}
|
|
4195
4505
|
};
|
|
4196
|
-
CalculateChangedPositionExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4197
|
-
CalculateChangedPositionExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4506
|
+
CalculateChangedPositionExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CalculateChangedPositionExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4507
|
+
CalculateChangedPositionExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CalculateChangedPositionExecution });
|
|
4198
4508
|
CalculateChangedPositionExecution = __decorate([
|
|
4199
4509
|
FExecutionRegister(CalculateChangedPositionRequest)
|
|
4200
4510
|
], CalculateChangedPositionExecution);
|
|
4201
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4511
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CalculateChangedPositionExecution, decorators: [{
|
|
4202
4512
|
type: Injectable
|
|
4203
4513
|
}] });
|
|
4204
4514
|
|
|
@@ -4227,12 +4537,12 @@ let CalculateChangedSizeExecution = class CalculateChangedSizeExecution {
|
|
|
4227
4537
|
return RectExtensions.copy(result);
|
|
4228
4538
|
}
|
|
4229
4539
|
};
|
|
4230
|
-
CalculateChangedSizeExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4231
|
-
CalculateChangedSizeExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4540
|
+
CalculateChangedSizeExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CalculateChangedSizeExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4541
|
+
CalculateChangedSizeExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CalculateChangedSizeExecution });
|
|
4232
4542
|
CalculateChangedSizeExecution = __decorate([
|
|
4233
4543
|
FExecutionRegister(CalculateChangedSizeRequest)
|
|
4234
4544
|
], CalculateChangedSizeExecution);
|
|
4235
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4545
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CalculateChangedSizeExecution, decorators: [{
|
|
4236
4546
|
type: Injectable
|
|
4237
4547
|
}] });
|
|
4238
4548
|
|
|
@@ -4265,12 +4575,12 @@ let GetNormalizedChildrenNodesRectExecution = class GetNormalizedChildrenNodesRe
|
|
|
4265
4575
|
return RectExtensions.initialize(rect.x - padding[0], rect.y - padding[1], rect.width + padding[0] + padding[2], rect.height + +padding[1] + padding[3]);
|
|
4266
4576
|
}
|
|
4267
4577
|
};
|
|
4268
|
-
GetNormalizedChildrenNodesRectExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4269
|
-
GetNormalizedChildrenNodesRectExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4578
|
+
GetNormalizedChildrenNodesRectExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetNormalizedChildrenNodesRectExecution, deps: [{ token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4579
|
+
GetNormalizedChildrenNodesRectExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetNormalizedChildrenNodesRectExecution });
|
|
4270
4580
|
GetNormalizedChildrenNodesRectExecution = __decorate([
|
|
4271
4581
|
FExecutionRegister(GetNormalizedChildrenNodesRectRequest)
|
|
4272
4582
|
], GetNormalizedChildrenNodesRectExecution);
|
|
4273
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4583
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetNormalizedChildrenNodesRectExecution, decorators: [{
|
|
4274
4584
|
type: Injectable
|
|
4275
4585
|
}], ctorParameters: function () { return [{ type: i2.FMediator }]; } });
|
|
4276
4586
|
|
|
@@ -4294,12 +4604,12 @@ let GetNodeResizeRestrictionsExecution = class GetNodeResizeRestrictionsExecutio
|
|
|
4294
4604
|
};
|
|
4295
4605
|
}
|
|
4296
4606
|
};
|
|
4297
|
-
GetNodeResizeRestrictionsExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4298
|
-
GetNodeResizeRestrictionsExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4607
|
+
GetNodeResizeRestrictionsExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetNodeResizeRestrictionsExecution, deps: [{ token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4608
|
+
GetNodeResizeRestrictionsExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetNodeResizeRestrictionsExecution });
|
|
4299
4609
|
GetNodeResizeRestrictionsExecution = __decorate([
|
|
4300
4610
|
FExecutionRegister(GetNodeResizeRestrictionsRequest)
|
|
4301
4611
|
], GetNodeResizeRestrictionsExecution);
|
|
4302
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4612
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetNodeResizeRestrictionsExecution, decorators: [{
|
|
4303
4613
|
type: Injectable
|
|
4304
4614
|
}], ctorParameters: function () { return [{ type: i2.FMediator }]; } });
|
|
4305
4615
|
|
|
@@ -4320,12 +4630,12 @@ let NodeResizeFinalizeExecution = class NodeResizeFinalizeExecution {
|
|
|
4320
4630
|
});
|
|
4321
4631
|
}
|
|
4322
4632
|
};
|
|
4323
|
-
NodeResizeFinalizeExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4324
|
-
NodeResizeFinalizeExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4633
|
+
NodeResizeFinalizeExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NodeResizeFinalizeExecution, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4634
|
+
NodeResizeFinalizeExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NodeResizeFinalizeExecution });
|
|
4325
4635
|
NodeResizeFinalizeExecution = __decorate([
|
|
4326
4636
|
FExecutionRegister(NodeResizeFinalizeRequest)
|
|
4327
4637
|
], NodeResizeFinalizeExecution);
|
|
4328
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4638
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NodeResizeFinalizeExecution, decorators: [{
|
|
4329
4639
|
type: Injectable
|
|
4330
4640
|
}], ctorParameters: function () { return [{ type: FDraggableDataContext }]; } });
|
|
4331
4641
|
|
|
@@ -4378,12 +4688,12 @@ let NodeResizeFinalizeValidator = class NodeResizeFinalizeValidator {
|
|
|
4378
4688
|
return this.fDraggableDataContext.draggableItems.some((x) => x instanceof NodeResizeDragHandler);
|
|
4379
4689
|
}
|
|
4380
4690
|
};
|
|
4381
|
-
NodeResizeFinalizeValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4382
|
-
NodeResizeFinalizeValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4691
|
+
NodeResizeFinalizeValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NodeResizeFinalizeValidator, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4692
|
+
NodeResizeFinalizeValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NodeResizeFinalizeValidator });
|
|
4383
4693
|
NodeResizeFinalizeValidator = __decorate([
|
|
4384
4694
|
FValidatorRegister(NodeResizeFinalizeRequest)
|
|
4385
4695
|
], NodeResizeFinalizeValidator);
|
|
4386
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4696
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NodeResizeFinalizeValidator, decorators: [{
|
|
4387
4697
|
type: Injectable
|
|
4388
4698
|
}], ctorParameters: function () { return [{ type: FDraggableDataContext }]; } });
|
|
4389
4699
|
|
|
@@ -4428,12 +4738,12 @@ let NodeResizePreparationExecution = class NodeResizePreparationExecution {
|
|
|
4428
4738
|
return this.fComponentsStore.findNode(targetElement);
|
|
4429
4739
|
}
|
|
4430
4740
|
};
|
|
4431
|
-
NodeResizePreparationExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4432
|
-
NodeResizePreparationExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4741
|
+
NodeResizePreparationExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NodeResizePreparationExecution, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4742
|
+
NodeResizePreparationExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NodeResizePreparationExecution });
|
|
4433
4743
|
NodeResizePreparationExecution = __decorate([
|
|
4434
4744
|
FExecutionRegister(NodeResizePreparationRequest)
|
|
4435
4745
|
], NodeResizePreparationExecution);
|
|
4436
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4746
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NodeResizePreparationExecution, decorators: [{
|
|
4437
4747
|
type: Injectable
|
|
4438
4748
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: i2.FMediator }]; } });
|
|
4439
4749
|
|
|
@@ -4460,12 +4770,12 @@ let NodeResizePreparationValidator = class NodeResizePreparationValidator {
|
|
|
4460
4770
|
return isClosestElementHasClass(targetElement, '.f-resize-handle');
|
|
4461
4771
|
}
|
|
4462
4772
|
};
|
|
4463
|
-
NodeResizePreparationValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4464
|
-
NodeResizePreparationValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4773
|
+
NodeResizePreparationValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NodeResizePreparationValidator, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4774
|
+
NodeResizePreparationValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NodeResizePreparationValidator });
|
|
4465
4775
|
NodeResizePreparationValidator = __decorate([
|
|
4466
4776
|
FValidatorRegister(NodeResizePreparationRequest)
|
|
4467
4777
|
], NodeResizePreparationValidator);
|
|
4468
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4778
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NodeResizePreparationValidator, decorators: [{
|
|
4469
4779
|
type: Injectable
|
|
4470
4780
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }]; } });
|
|
4471
4781
|
|
|
@@ -4559,12 +4869,12 @@ let SingleSelectExecution = class SingleSelectExecution {
|
|
|
4559
4869
|
this.fDraggableDataContext.selectedItems = [];
|
|
4560
4870
|
}
|
|
4561
4871
|
};
|
|
4562
|
-
SingleSelectExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4563
|
-
SingleSelectExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4872
|
+
SingleSelectExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SingleSelectExecution, deps: [{ token: i1.PlatformService }, { token: FComponentsStore }, { token: FDraggableDataContext }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4873
|
+
SingleSelectExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SingleSelectExecution });
|
|
4564
4874
|
SingleSelectExecution = __decorate([
|
|
4565
4875
|
FExecutionRegister(SingleSelectRequest)
|
|
4566
4876
|
], SingleSelectExecution);
|
|
4567
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4877
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SingleSelectExecution, decorators: [{
|
|
4568
4878
|
type: Injectable
|
|
4569
4879
|
}], ctorParameters: function () { return [{ type: i1.PlatformService }, { type: FComponentsStore }, { type: FDraggableDataContext }, { type: i2.FMediator }]; } });
|
|
4570
4880
|
|
|
@@ -4578,12 +4888,12 @@ let SingleSelectValidator = class SingleSelectValidator {
|
|
|
4578
4888
|
&& !this.fDraggableDataContext.draggableItems.length;
|
|
4579
4889
|
}
|
|
4580
4890
|
};
|
|
4581
|
-
SingleSelectValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4582
|
-
SingleSelectValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4891
|
+
SingleSelectValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SingleSelectValidator, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4892
|
+
SingleSelectValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SingleSelectValidator });
|
|
4583
4893
|
SingleSelectValidator = __decorate([
|
|
4584
4894
|
FValidatorRegister(SingleSelectRequest)
|
|
4585
4895
|
], SingleSelectValidator);
|
|
4586
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4896
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SingleSelectValidator, decorators: [{
|
|
4587
4897
|
type: Injectable
|
|
4588
4898
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }]; } });
|
|
4589
4899
|
|
|
@@ -4597,9 +4907,9 @@ class FDraggableBase extends DragAndDropBase {
|
|
|
4597
4907
|
super(ngZone);
|
|
4598
4908
|
}
|
|
4599
4909
|
}
|
|
4600
|
-
FDraggableBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4601
|
-
FDraggableBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
4602
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4910
|
+
FDraggableBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FDraggableBase, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
|
|
4911
|
+
FDraggableBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FDraggableBase, usesInheritance: true, ngImport: i0 });
|
|
4912
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FDraggableBase, decorators: [{
|
|
4603
4913
|
type: Directive
|
|
4604
4914
|
}], ctorParameters: function () { return [{ type: undefined }]; } });
|
|
4605
4915
|
|
|
@@ -4652,12 +4962,12 @@ let ExternalItemFinalizeExecution = class ExternalItemFinalizeExecution {
|
|
|
4652
4962
|
return this.fMediator.send(new GetElementRectInFlowRequest(this.dragHandler.placeholder));
|
|
4653
4963
|
}
|
|
4654
4964
|
};
|
|
4655
|
-
ExternalItemFinalizeExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4656
|
-
ExternalItemFinalizeExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4965
|
+
ExternalItemFinalizeExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ExternalItemFinalizeExecution, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: i2.FMediator }, { token: i1.BrowserService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4966
|
+
ExternalItemFinalizeExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ExternalItemFinalizeExecution });
|
|
4657
4967
|
ExternalItemFinalizeExecution = __decorate([
|
|
4658
4968
|
FExecutionRegister(ExternalItemFinalizeRequest)
|
|
4659
4969
|
], ExternalItemFinalizeExecution);
|
|
4660
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4970
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ExternalItemFinalizeExecution, decorators: [{
|
|
4661
4971
|
type: Injectable
|
|
4662
4972
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: i2.FMediator }, { type: i1.BrowserService }]; } });
|
|
4663
4973
|
|
|
@@ -4703,12 +5013,12 @@ let ExternalItemFinalizeValidator = class ExternalItemFinalizeValidator {
|
|
|
4703
5013
|
return this.fDraggableDataContext.draggableItems.some((x) => x instanceof ExternalItemDragHandler);
|
|
4704
5014
|
}
|
|
4705
5015
|
};
|
|
4706
|
-
ExternalItemFinalizeValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4707
|
-
ExternalItemFinalizeValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5016
|
+
ExternalItemFinalizeValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ExternalItemFinalizeValidator, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5017
|
+
ExternalItemFinalizeValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ExternalItemFinalizeValidator });
|
|
4708
5018
|
ExternalItemFinalizeValidator = __decorate([
|
|
4709
5019
|
FValidatorRegister(ExternalItemFinalizeRequest)
|
|
4710
5020
|
], ExternalItemFinalizeValidator);
|
|
4711
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5021
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ExternalItemFinalizeValidator, decorators: [{
|
|
4712
5022
|
type: Injectable
|
|
4713
5023
|
}], ctorParameters: function () { return [{ type: FDraggableDataContext }]; } });
|
|
4714
5024
|
|
|
@@ -4744,12 +5054,12 @@ let ExternalItemPreparationExecution = class ExternalItemPreparationExecution {
|
|
|
4744
5054
|
return this.fExternalItemService.getItem(getExternalItem(targetElement));
|
|
4745
5055
|
}
|
|
4746
5056
|
};
|
|
4747
|
-
ExternalItemPreparationExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4748
|
-
ExternalItemPreparationExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5057
|
+
ExternalItemPreparationExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ExternalItemPreparationExecution, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: FExternalItemService }, { token: i1.BrowserService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5058
|
+
ExternalItemPreparationExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ExternalItemPreparationExecution });
|
|
4749
5059
|
ExternalItemPreparationExecution = __decorate([
|
|
4750
5060
|
FExecutionRegister(ExternalItemPreparationRequest)
|
|
4751
5061
|
], ExternalItemPreparationExecution);
|
|
4752
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5062
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ExternalItemPreparationExecution, decorators: [{
|
|
4753
5063
|
type: Injectable
|
|
4754
5064
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: FExternalItemService }, { type: i1.BrowserService }]; } });
|
|
4755
5065
|
|
|
@@ -4765,12 +5075,12 @@ let ExternalItemPreparationValidator = class ExternalItemPreparationValidator {
|
|
|
4765
5075
|
return this.fExternalItemService.getItem(getExternalItem(targetElement));
|
|
4766
5076
|
}
|
|
4767
5077
|
};
|
|
4768
|
-
ExternalItemPreparationValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4769
|
-
ExternalItemPreparationValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5078
|
+
ExternalItemPreparationValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ExternalItemPreparationValidator, deps: [{ token: FExternalItemService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5079
|
+
ExternalItemPreparationValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ExternalItemPreparationValidator });
|
|
4770
5080
|
ExternalItemPreparationValidator = __decorate([
|
|
4771
5081
|
FValidatorRegister(ExternalItemPreparationRequest)
|
|
4772
5082
|
], ExternalItemPreparationValidator);
|
|
4773
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5083
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ExternalItemPreparationValidator, decorators: [{
|
|
4774
5084
|
type: Injectable
|
|
4775
5085
|
}], ctorParameters: function () { return [{ type: FExternalItemService }]; } });
|
|
4776
5086
|
|
|
@@ -4787,9 +5097,9 @@ const F_EXTERNAL_ITEM_DRAG_AND_DROP_PROVIDERS = [
|
|
|
4787
5097
|
const F_EXTERNAL_ITEM = new InjectionToken('F_EXTERNAL_ITEM');
|
|
4788
5098
|
class FExternalItemBase {
|
|
4789
5099
|
}
|
|
4790
|
-
FExternalItemBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4791
|
-
FExternalItemBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
4792
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5100
|
+
FExternalItemBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FExternalItemBase, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
5101
|
+
FExternalItemBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FExternalItemBase, ngImport: i0 });
|
|
5102
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FExternalItemBase, decorators: [{
|
|
4793
5103
|
type: Directive
|
|
4794
5104
|
}] });
|
|
4795
5105
|
|
|
@@ -4817,22 +5127,22 @@ class FExternalItemService {
|
|
|
4817
5127
|
}
|
|
4818
5128
|
}
|
|
4819
5129
|
}
|
|
4820
|
-
FExternalItemService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4821
|
-
FExternalItemService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4822
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5130
|
+
FExternalItemService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FExternalItemService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5131
|
+
FExternalItemService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FExternalItemService, providedIn: 'root' });
|
|
5132
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FExternalItemService, decorators: [{
|
|
4823
5133
|
type: Injectable,
|
|
4824
5134
|
args: [{
|
|
4825
5135
|
providedIn: 'root'
|
|
4826
5136
|
}]
|
|
4827
5137
|
}] });
|
|
4828
5138
|
|
|
4829
|
-
let uniqueId$
|
|
5139
|
+
let uniqueId$3 = 0;
|
|
4830
5140
|
class FExternalItemDirective extends FExternalItemBase {
|
|
4831
5141
|
constructor(elementReference, fExternalItemService) {
|
|
4832
5142
|
super();
|
|
4833
5143
|
this.elementReference = elementReference;
|
|
4834
5144
|
this.fExternalItemService = fExternalItemService;
|
|
4835
|
-
this.fExternalItemId = `f-external-item-${uniqueId$
|
|
5145
|
+
this.fExternalItemId = `f-external-item-${uniqueId$3++}`;
|
|
4836
5146
|
this.fDisabled = false;
|
|
4837
5147
|
}
|
|
4838
5148
|
get hostElement() {
|
|
@@ -4852,11 +5162,11 @@ class FExternalItemDirective extends FExternalItemBase {
|
|
|
4852
5162
|
this.fExternalItemService.removeItem(this);
|
|
4853
5163
|
}
|
|
4854
5164
|
}
|
|
4855
|
-
FExternalItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4856
|
-
FExternalItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
5165
|
+
FExternalItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FExternalItemDirective, deps: [{ token: i0.ElementRef }, { token: FExternalItemService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5166
|
+
FExternalItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FExternalItemDirective, selector: "[fExternalItem]", inputs: { fExternalItemId: "fExternalItemId", fData: "fData", fDisabled: "fDisabled" }, host: { properties: { "attr.id": "fExternalItemId", "class.f-external-item-disabled": "fDisabled" }, classAttribute: "f-component f-external-item" }, providers: [
|
|
4857
5167
|
{ provide: F_EXTERNAL_ITEM, useExisting: FExternalItemDirective }
|
|
4858
5168
|
], usesInheritance: true, ngImport: i0 });
|
|
4859
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5169
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FExternalItemDirective, decorators: [{
|
|
4860
5170
|
type: Directive,
|
|
4861
5171
|
args: [{
|
|
4862
5172
|
selector: "[fExternalItem]",
|
|
@@ -5002,20 +5312,22 @@ class FDraggableDirective extends FDraggableBase {
|
|
|
5002
5312
|
this.subscriptions$.unsubscribe();
|
|
5003
5313
|
}
|
|
5004
5314
|
}
|
|
5005
|
-
FDraggableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5006
|
-
FDraggableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
5007
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5315
|
+
FDraggableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FDraggableDirective, deps: [{ token: i0.ElementRef }, { token: FDraggableDataContext }, { token: NgZone, optional: true }, { token: FComponentsStore }, { token: i2.FMediator }, { token: i1.BrowserService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5316
|
+
FDraggableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FDraggableDirective, selector: "f-flow[fDraggable]", inputs: { disabled: ["fDraggableDisabled", "disabled"] }, outputs: { fSelectionChange: "fSelectionChange", fCreateNode: "fCreateNode", fReassignConnection: "fReassignConnection", fCreateConnection: "fCreateConnection" }, queries: [{ propertyName: "plugins", predicate: F_DRAG_AND_DROP_PLUGIN, descendants: true }], exportAs: ["fDraggable"], usesInheritance: true, ngImport: i0 });
|
|
5317
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FDraggableDirective, decorators: [{
|
|
5008
5318
|
type: Directive,
|
|
5009
5319
|
args: [{
|
|
5010
5320
|
selector: "f-flow[fDraggable]",
|
|
5011
5321
|
exportAs: 'fDraggable'
|
|
5012
5322
|
}]
|
|
5013
|
-
}], ctorParameters: function () {
|
|
5014
|
-
|
|
5015
|
-
|
|
5016
|
-
|
|
5017
|
-
|
|
5018
|
-
|
|
5323
|
+
}], ctorParameters: function () {
|
|
5324
|
+
return [{ type: i0.ElementRef }, { type: FDraggableDataContext }, { type: undefined, decorators: [{
|
|
5325
|
+
type: Inject,
|
|
5326
|
+
args: [NgZone]
|
|
5327
|
+
}, {
|
|
5328
|
+
type: Optional
|
|
5329
|
+
}] }, { type: FComponentsStore }, { type: i2.FMediator }, { type: i1.BrowserService }];
|
|
5330
|
+
}, propDecorators: { disabled: [{
|
|
5019
5331
|
type: Input,
|
|
5020
5332
|
args: ['fDraggableDisabled']
|
|
5021
5333
|
}], fSelectionChange: [{
|
|
@@ -5038,13 +5350,6 @@ class FSelectionChangeEvent {
|
|
|
5038
5350
|
}
|
|
5039
5351
|
}
|
|
5040
5352
|
|
|
5041
|
-
class MinimapDragPreparationRequest {
|
|
5042
|
-
constructor(event, minimap) {
|
|
5043
|
-
this.event = event;
|
|
5044
|
-
this.minimap = minimap;
|
|
5045
|
-
}
|
|
5046
|
-
}
|
|
5047
|
-
|
|
5048
5353
|
class CalculateFlowPointFromMinimapPointRequest {
|
|
5049
5354
|
constructor(flowRect, canvasPosition, eventPoint, minimap) {
|
|
5050
5355
|
this.flowRect = flowRect;
|
|
@@ -5079,15 +5384,41 @@ let CalculateFlowPointFromMinimapPointExecution = class CalculateFlowPointFromMi
|
|
|
5079
5384
|
return Point.fromPoint(eventPoint).elementTransform(minimap.element);
|
|
5080
5385
|
}
|
|
5081
5386
|
};
|
|
5082
|
-
CalculateFlowPointFromMinimapPointExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5083
|
-
CalculateFlowPointFromMinimapPointExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5387
|
+
CalculateFlowPointFromMinimapPointExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CalculateFlowPointFromMinimapPointExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5388
|
+
CalculateFlowPointFromMinimapPointExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CalculateFlowPointFromMinimapPointExecution });
|
|
5084
5389
|
CalculateFlowPointFromMinimapPointExecution = __decorate([
|
|
5085
5390
|
FExecutionRegister(CalculateFlowPointFromMinimapPointRequest)
|
|
5086
5391
|
], CalculateFlowPointFromMinimapPointExecution);
|
|
5087
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5392
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CalculateFlowPointFromMinimapPointExecution, decorators: [{
|
|
5088
5393
|
type: Injectable
|
|
5089
5394
|
}], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
|
|
5090
5395
|
|
|
5396
|
+
class MinimapDragFinalizeRequest {
|
|
5397
|
+
constructor(event) {
|
|
5398
|
+
this.event = event;
|
|
5399
|
+
}
|
|
5400
|
+
}
|
|
5401
|
+
|
|
5402
|
+
let MinimapDragFinalizeExecution = class MinimapDragFinalizeExecution {
|
|
5403
|
+
constructor(fDraggableDataContext) {
|
|
5404
|
+
this.fDraggableDataContext = fDraggableDataContext;
|
|
5405
|
+
}
|
|
5406
|
+
handle(request) {
|
|
5407
|
+
this.fDraggableDataContext.draggableItems.forEach((x) => {
|
|
5408
|
+
var _a;
|
|
5409
|
+
(_a = x.complete) === null || _a === void 0 ? void 0 : _a.call(x);
|
|
5410
|
+
});
|
|
5411
|
+
}
|
|
5412
|
+
};
|
|
5413
|
+
MinimapDragFinalizeExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: MinimapDragFinalizeExecution, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5414
|
+
MinimapDragFinalizeExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: MinimapDragFinalizeExecution });
|
|
5415
|
+
MinimapDragFinalizeExecution = __decorate([
|
|
5416
|
+
FExecutionRegister(MinimapDragFinalizeRequest)
|
|
5417
|
+
], MinimapDragFinalizeExecution);
|
|
5418
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: MinimapDragFinalizeExecution, decorators: [{
|
|
5419
|
+
type: Injectable
|
|
5420
|
+
}], ctorParameters: function () { return [{ type: FDraggableDataContext }]; } });
|
|
5421
|
+
|
|
5091
5422
|
class FMinimapDragHandler {
|
|
5092
5423
|
constructor(fComponentsStore, fMediator, flowRect, canvasPosition, eventPoint, minimap) {
|
|
5093
5424
|
this.fComponentsStore = fComponentsStore;
|
|
@@ -5123,6 +5454,35 @@ class FMinimapDragHandler {
|
|
|
5123
5454
|
}
|
|
5124
5455
|
}
|
|
5125
5456
|
|
|
5457
|
+
let MinimapDragFinalizeValidator = class MinimapDragFinalizeValidator {
|
|
5458
|
+
constructor(fDraggableDataContext) {
|
|
5459
|
+
this.fDraggableDataContext = fDraggableDataContext;
|
|
5460
|
+
}
|
|
5461
|
+
handle(request) {
|
|
5462
|
+
return this.fDraggableDataContext.draggableItems.some((x) => x instanceof FMinimapDragHandler);
|
|
5463
|
+
}
|
|
5464
|
+
};
|
|
5465
|
+
MinimapDragFinalizeValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: MinimapDragFinalizeValidator, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5466
|
+
MinimapDragFinalizeValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: MinimapDragFinalizeValidator });
|
|
5467
|
+
MinimapDragFinalizeValidator = __decorate([
|
|
5468
|
+
FValidatorRegister(MinimapDragFinalizeRequest)
|
|
5469
|
+
], MinimapDragFinalizeValidator);
|
|
5470
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: MinimapDragFinalizeValidator, decorators: [{
|
|
5471
|
+
type: Injectable
|
|
5472
|
+
}], ctorParameters: function () { return [{ type: FDraggableDataContext }]; } });
|
|
5473
|
+
|
|
5474
|
+
const MINIMAP_DRAG_FINALIZE_PROVIDERS = [
|
|
5475
|
+
MinimapDragFinalizeExecution,
|
|
5476
|
+
MinimapDragFinalizeValidator,
|
|
5477
|
+
];
|
|
5478
|
+
|
|
5479
|
+
class MinimapDragPreparationRequest {
|
|
5480
|
+
constructor(event, minimap) {
|
|
5481
|
+
this.event = event;
|
|
5482
|
+
this.minimap = minimap;
|
|
5483
|
+
}
|
|
5484
|
+
}
|
|
5485
|
+
|
|
5126
5486
|
let MinimapDragPreparationExecution = class MinimapDragPreparationExecution {
|
|
5127
5487
|
constructor(fComponentsStore, fMediator, fDraggableDataContext) {
|
|
5128
5488
|
this.fComponentsStore = fComponentsStore;
|
|
@@ -5151,12 +5511,12 @@ let MinimapDragPreparationExecution = class MinimapDragPreparationExecution {
|
|
|
5151
5511
|
return RectExtensions.fromElement(this.flowHost);
|
|
5152
5512
|
}
|
|
5153
5513
|
};
|
|
5154
|
-
MinimapDragPreparationExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5155
|
-
MinimapDragPreparationExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5514
|
+
MinimapDragPreparationExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: MinimapDragPreparationExecution, deps: [{ token: FComponentsStore }, { token: i2.FMediator }, { token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5515
|
+
MinimapDragPreparationExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: MinimapDragPreparationExecution });
|
|
5156
5516
|
MinimapDragPreparationExecution = __decorate([
|
|
5157
5517
|
FExecutionRegister(MinimapDragPreparationRequest)
|
|
5158
5518
|
], MinimapDragPreparationExecution);
|
|
5159
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5519
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: MinimapDragPreparationExecution, decorators: [{
|
|
5160
5520
|
type: Injectable
|
|
5161
5521
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: i2.FMediator }, { type: FDraggableDataContext }]; } });
|
|
5162
5522
|
|
|
@@ -5171,12 +5531,12 @@ let MinimapDragPreparationValidator = class MinimapDragPreparationValidator {
|
|
|
5171
5531
|
this.fComponentsStore.flowHost.contains(request.event.targetElement);
|
|
5172
5532
|
}
|
|
5173
5533
|
};
|
|
5174
|
-
MinimapDragPreparationValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5175
|
-
MinimapDragPreparationValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5534
|
+
MinimapDragPreparationValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: MinimapDragPreparationValidator, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5535
|
+
MinimapDragPreparationValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: MinimapDragPreparationValidator });
|
|
5176
5536
|
MinimapDragPreparationValidator = __decorate([
|
|
5177
5537
|
FValidatorRegister(MinimapDragPreparationRequest)
|
|
5178
5538
|
], MinimapDragPreparationValidator);
|
|
5179
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5539
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: MinimapDragPreparationValidator, decorators: [{
|
|
5180
5540
|
type: Injectable
|
|
5181
5541
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }]; } });
|
|
5182
5542
|
|
|
@@ -5185,53 +5545,20 @@ const MINIMAP_DRAG_PREPARATION_PROVIDERS = [
|
|
|
5185
5545
|
MinimapDragPreparationValidator,
|
|
5186
5546
|
];
|
|
5187
5547
|
|
|
5188
|
-
|
|
5189
|
-
|
|
5190
|
-
|
|
5548
|
+
function checkRectIsFinite(rect) {
|
|
5549
|
+
if (!Number.isFinite(rect.width) || !Number.isFinite(rect.height) || !Number.isFinite(rect.x) || !Number.isFinite(rect.y)) {
|
|
5550
|
+
return RectExtensions.initialize(0, 0, 0, 0);
|
|
5191
5551
|
}
|
|
5552
|
+
return rect;
|
|
5192
5553
|
}
|
|
5193
5554
|
|
|
5194
|
-
|
|
5195
|
-
constructor(
|
|
5196
|
-
this.
|
|
5197
|
-
|
|
5198
|
-
|
|
5199
|
-
this.fDraggableDataContext.draggableItems.forEach((x) => {
|
|
5200
|
-
var _a;
|
|
5201
|
-
(_a = x.complete) === null || _a === void 0 ? void 0 : _a.call(x);
|
|
5202
|
-
});
|
|
5203
|
-
}
|
|
5204
|
-
};
|
|
5205
|
-
MinimapDragFinalizeExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: MinimapDragFinalizeExecution, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5206
|
-
MinimapDragFinalizeExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: MinimapDragFinalizeExecution });
|
|
5207
|
-
MinimapDragFinalizeExecution = __decorate([
|
|
5208
|
-
FExecutionRegister(MinimapDragFinalizeRequest)
|
|
5209
|
-
], MinimapDragFinalizeExecution);
|
|
5210
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: MinimapDragFinalizeExecution, decorators: [{
|
|
5211
|
-
type: Injectable
|
|
5212
|
-
}], ctorParameters: function () { return [{ type: FDraggableDataContext }]; } });
|
|
5213
|
-
|
|
5214
|
-
let MinimapDragFinalizeValidator = class MinimapDragFinalizeValidator {
|
|
5215
|
-
constructor(fDraggableDataContext) {
|
|
5216
|
-
this.fDraggableDataContext = fDraggableDataContext;
|
|
5217
|
-
}
|
|
5218
|
-
handle(request) {
|
|
5219
|
-
return this.fDraggableDataContext.draggableItems.some((x) => x instanceof FMinimapDragHandler);
|
|
5555
|
+
class FMinimapData {
|
|
5556
|
+
constructor(element, scale = 1, viewBox = RectExtensions.initialize(0, 0, 0, 0)) {
|
|
5557
|
+
this.element = element;
|
|
5558
|
+
this.scale = scale;
|
|
5559
|
+
this.viewBox = viewBox;
|
|
5220
5560
|
}
|
|
5221
|
-
}
|
|
5222
|
-
MinimapDragFinalizeValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: MinimapDragFinalizeValidator, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5223
|
-
MinimapDragFinalizeValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: MinimapDragFinalizeValidator });
|
|
5224
|
-
MinimapDragFinalizeValidator = __decorate([
|
|
5225
|
-
FValidatorRegister(MinimapDragFinalizeRequest)
|
|
5226
|
-
], MinimapDragFinalizeValidator);
|
|
5227
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: MinimapDragFinalizeValidator, decorators: [{
|
|
5228
|
-
type: Injectable
|
|
5229
|
-
}], ctorParameters: function () { return [{ type: FDraggableDataContext }]; } });
|
|
5230
|
-
|
|
5231
|
-
const MINIMAP_DRAG_FINALIZE_PROVIDERS = [
|
|
5232
|
-
MinimapDragFinalizeExecution,
|
|
5233
|
-
MinimapDragFinalizeValidator,
|
|
5234
|
-
];
|
|
5561
|
+
}
|
|
5235
5562
|
|
|
5236
5563
|
const F_MINIMAP_DRAG_AND_DROP_PROVIDERS = [
|
|
5237
5564
|
CalculateFlowPointFromMinimapPointExecution,
|
|
@@ -5256,12 +5583,12 @@ let SelectionAreaFinalizeExecution = class SelectionAreaFinalizeExecution {
|
|
|
5256
5583
|
});
|
|
5257
5584
|
}
|
|
5258
5585
|
};
|
|
5259
|
-
SelectionAreaFinalizeExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5260
|
-
SelectionAreaFinalizeExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5586
|
+
SelectionAreaFinalizeExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SelectionAreaFinalizeExecution, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5587
|
+
SelectionAreaFinalizeExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SelectionAreaFinalizeExecution });
|
|
5261
5588
|
SelectionAreaFinalizeExecution = __decorate([
|
|
5262
5589
|
FExecutionRegister(SelectionAreaFinalizeRequest)
|
|
5263
5590
|
], SelectionAreaFinalizeExecution);
|
|
5264
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5591
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SelectionAreaFinalizeExecution, decorators: [{
|
|
5265
5592
|
type: Injectable
|
|
5266
5593
|
}], ctorParameters: function () { return [{ type: FDraggableDataContext }]; } });
|
|
5267
5594
|
|
|
@@ -5321,12 +5648,12 @@ let SelectionAreaFinalizeValidator = class SelectionAreaFinalizeValidator {
|
|
|
5321
5648
|
return this.fDraggableDataContext.draggableItems.some((x) => x instanceof SelectionAreaDragHandle);
|
|
5322
5649
|
}
|
|
5323
5650
|
};
|
|
5324
|
-
SelectionAreaFinalizeValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5325
|
-
SelectionAreaFinalizeValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5651
|
+
SelectionAreaFinalizeValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SelectionAreaFinalizeValidator, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5652
|
+
SelectionAreaFinalizeValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SelectionAreaFinalizeValidator });
|
|
5326
5653
|
SelectionAreaFinalizeValidator = __decorate([
|
|
5327
5654
|
FValidatorRegister(SelectionAreaFinalizeRequest)
|
|
5328
5655
|
], SelectionAreaFinalizeValidator);
|
|
5329
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5656
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SelectionAreaFinalizeValidator, decorators: [{
|
|
5330
5657
|
type: Injectable
|
|
5331
5658
|
}], ctorParameters: function () { return [{ type: FDraggableDataContext }]; } });
|
|
5332
5659
|
|
|
@@ -5360,12 +5687,12 @@ let SelectionAreaPreparationExecution = class SelectionAreaPreparationExecution
|
|
|
5360
5687
|
.elementTransform(this.flowHost);
|
|
5361
5688
|
}
|
|
5362
5689
|
};
|
|
5363
|
-
SelectionAreaPreparationExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5364
|
-
SelectionAreaPreparationExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5690
|
+
SelectionAreaPreparationExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SelectionAreaPreparationExecution, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5691
|
+
SelectionAreaPreparationExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SelectionAreaPreparationExecution });
|
|
5365
5692
|
SelectionAreaPreparationExecution = __decorate([
|
|
5366
5693
|
FExecutionRegister(SelectionAreaPreparationRequest)
|
|
5367
5694
|
], SelectionAreaPreparationExecution);
|
|
5368
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5695
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SelectionAreaPreparationExecution, decorators: [{
|
|
5369
5696
|
type: Injectable
|
|
5370
5697
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: i2.FMediator }]; } });
|
|
5371
5698
|
|
|
@@ -5384,12 +5711,12 @@ let SelectionAreaPreparationValidator = class SelectionAreaPreparationValidator
|
|
|
5384
5711
|
return event.shiftKey;
|
|
5385
5712
|
}
|
|
5386
5713
|
};
|
|
5387
|
-
SelectionAreaPreparationValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5388
|
-
SelectionAreaPreparationValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5714
|
+
SelectionAreaPreparationValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SelectionAreaPreparationValidator, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5715
|
+
SelectionAreaPreparationValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SelectionAreaPreparationValidator });
|
|
5389
5716
|
SelectionAreaPreparationValidator = __decorate([
|
|
5390
5717
|
FValidatorRegister(SelectionAreaPreparationRequest)
|
|
5391
5718
|
], SelectionAreaPreparationValidator);
|
|
5392
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5719
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SelectionAreaPreparationValidator, decorators: [{
|
|
5393
5720
|
type: Injectable
|
|
5394
5721
|
}], ctorParameters: function () { return [{ type: FDraggableDataContext }]; } });
|
|
5395
5722
|
|
|
@@ -5403,9 +5730,66 @@ const F_SELECTION_AREA_DRAG_AND_DROP_PROVIDERS = [
|
|
|
5403
5730
|
...SELECTION_AREA_PREPARATION_PROVIDERS
|
|
5404
5731
|
];
|
|
5405
5732
|
|
|
5406
|
-
|
|
5407
|
-
|
|
5408
|
-
|
|
5733
|
+
class FSelectionAreaBase {
|
|
5734
|
+
}
|
|
5735
|
+
FSelectionAreaBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FSelectionAreaBase, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
5736
|
+
FSelectionAreaBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FSelectionAreaBase, ngImport: i0 });
|
|
5737
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FSelectionAreaBase, decorators: [{
|
|
5738
|
+
type: Directive
|
|
5739
|
+
}] });
|
|
5740
|
+
|
|
5741
|
+
class FSelectionAreaComponent extends FSelectionAreaBase {
|
|
5742
|
+
constructor(elementReference, fMediator) {
|
|
5743
|
+
super();
|
|
5744
|
+
this.elementReference = elementReference;
|
|
5745
|
+
this.fMediator = fMediator;
|
|
5746
|
+
}
|
|
5747
|
+
get hostElement() {
|
|
5748
|
+
return this.elementReference.nativeElement;
|
|
5749
|
+
}
|
|
5750
|
+
ngOnInit() {
|
|
5751
|
+
this.hostElement.style.display = 'none';
|
|
5752
|
+
}
|
|
5753
|
+
hide() {
|
|
5754
|
+
this.hostElement.style.display = 'none';
|
|
5755
|
+
}
|
|
5756
|
+
show() {
|
|
5757
|
+
this.hostElement.style.display = 'block';
|
|
5758
|
+
}
|
|
5759
|
+
draw(object) {
|
|
5760
|
+
const style = this.hostElement.style;
|
|
5761
|
+
style.left = object.x + 'px';
|
|
5762
|
+
style.top = object.y + 'px';
|
|
5763
|
+
style.width = object.width + 'px';
|
|
5764
|
+
style.height = object.height + 'px';
|
|
5765
|
+
}
|
|
5766
|
+
onPointerDown(event) {
|
|
5767
|
+
this.fMediator.send(new SelectionAreaPreparationRequest(event, this));
|
|
5768
|
+
}
|
|
5769
|
+
onPointerUp(event) {
|
|
5770
|
+
this.fMediator.send(new SelectionAreaFinalizeRequest(event));
|
|
5771
|
+
}
|
|
5772
|
+
}
|
|
5773
|
+
FSelectionAreaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FSelectionAreaComponent, deps: [{ token: i0.ElementRef }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Component });
|
|
5774
|
+
FSelectionAreaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: FSelectionAreaComponent, selector: "f-selection-area", host: { classAttribute: "f-selection-area f-component" }, providers: [
|
|
5775
|
+
{ provide: F_DRAG_AND_DROP_PLUGIN, useExisting: FSelectionAreaComponent },
|
|
5776
|
+
], usesInheritance: true, ngImport: i0, template: ``, isInline: true, styles: [":host{position:absolute}\n"] });
|
|
5777
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FSelectionAreaComponent, decorators: [{
|
|
5778
|
+
type: Component,
|
|
5779
|
+
args: [{ selector: "f-selection-area", template: ``, host: {
|
|
5780
|
+
'class': 'f-selection-area f-component'
|
|
5781
|
+
}, providers: [
|
|
5782
|
+
{ provide: F_DRAG_AND_DROP_PLUGIN, useExisting: FSelectionAreaComponent },
|
|
5783
|
+
], styles: [":host{position:absolute}\n"] }]
|
|
5784
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i2.FMediator }]; } });
|
|
5785
|
+
|
|
5786
|
+
const F_SELECTION_AREA_PROVIDERS = [
|
|
5787
|
+
FSelectionAreaComponent
|
|
5788
|
+
];
|
|
5789
|
+
|
|
5790
|
+
const F_DRAGGABLE_PROVIDERS = [
|
|
5791
|
+
...CANVAS_PROVIDERS,
|
|
5792
|
+
...CONNECTIONS_PROVIDERS,
|
|
5409
5793
|
...DRAG_AND_DROP_COMMON_PROVIDERS,
|
|
5410
5794
|
...SINGLE_SELECT_PROVIDERS,
|
|
5411
5795
|
...F_EXTERNAL_ITEM_DRAG_AND_DROP_PROVIDERS,
|
|
@@ -5425,12 +5809,12 @@ let ClearSelectionExecution = class ClearSelectionExecution {
|
|
|
5425
5809
|
this.fDraggableDataContext.isSelectedChanged = true;
|
|
5426
5810
|
}
|
|
5427
5811
|
};
|
|
5428
|
-
ClearSelectionExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5429
|
-
ClearSelectionExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5812
|
+
ClearSelectionExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ClearSelectionExecution, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5813
|
+
ClearSelectionExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ClearSelectionExecution });
|
|
5430
5814
|
ClearSelectionExecution = __decorate([
|
|
5431
5815
|
FExecutionRegister(ClearSelectionRequest)
|
|
5432
5816
|
], ClearSelectionExecution);
|
|
5433
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5817
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ClearSelectionExecution, decorators: [{
|
|
5434
5818
|
type: Injectable
|
|
5435
5819
|
}], ctorParameters: function () { return [{ type: FDraggableDataContext }]; } });
|
|
5436
5820
|
|
|
@@ -5455,12 +5839,12 @@ let GetSelectionExecution = class GetSelectionExecution {
|
|
|
5455
5839
|
return new FSelectionChangeEvent(selectedNodes, selectedConnections);
|
|
5456
5840
|
}
|
|
5457
5841
|
};
|
|
5458
|
-
GetSelectionExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5459
|
-
GetSelectionExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5842
|
+
GetSelectionExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetSelectionExecution, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5843
|
+
GetSelectionExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetSelectionExecution });
|
|
5460
5844
|
GetSelectionExecution = __decorate([
|
|
5461
5845
|
FExecutionRegister(GetSelectionRequest)
|
|
5462
5846
|
], GetSelectionExecution);
|
|
5463
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5847
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetSelectionExecution, decorators: [{
|
|
5464
5848
|
type: Injectable
|
|
5465
5849
|
}], ctorParameters: function () { return [{ type: FDraggableDataContext }]; } });
|
|
5466
5850
|
|
|
@@ -5498,12 +5882,12 @@ let SelectExecution = class SelectExecution {
|
|
|
5498
5882
|
this.fDraggableDataContext.isSelectedChanged = true;
|
|
5499
5883
|
}
|
|
5500
5884
|
};
|
|
5501
|
-
SelectExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5502
|
-
SelectExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5885
|
+
SelectExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SelectExecution, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5886
|
+
SelectExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SelectExecution });
|
|
5503
5887
|
SelectExecution = __decorate([
|
|
5504
5888
|
FExecutionRegister(SelectRequest)
|
|
5505
5889
|
], SelectExecution);
|
|
5506
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5890
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SelectExecution, decorators: [{
|
|
5507
5891
|
type: Injectable
|
|
5508
5892
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }]; } });
|
|
5509
5893
|
|
|
@@ -5531,12 +5915,12 @@ let SelectAllExecution = class SelectAllExecution {
|
|
|
5531
5915
|
this.fDraggableDataContext.isSelectedChanged = true;
|
|
5532
5916
|
}
|
|
5533
5917
|
};
|
|
5534
|
-
SelectAllExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5535
|
-
SelectAllExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5918
|
+
SelectAllExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SelectAllExecution, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5919
|
+
SelectAllExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SelectAllExecution });
|
|
5536
5920
|
SelectAllExecution = __decorate([
|
|
5537
5921
|
FExecutionRegister(SelectAllRequest)
|
|
5538
5922
|
], SelectAllExecution);
|
|
5539
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5923
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SelectAllExecution, decorators: [{
|
|
5540
5924
|
type: Injectable
|
|
5541
5925
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }]; } });
|
|
5542
5926
|
|
|
@@ -5571,12 +5955,12 @@ let MoveFrontElementsBeforeTargetElementExecution = class MoveFrontElementsBefor
|
|
|
5571
5955
|
});
|
|
5572
5956
|
}
|
|
5573
5957
|
};
|
|
5574
|
-
MoveFrontElementsBeforeTargetElementExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5575
|
-
MoveFrontElementsBeforeTargetElementExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5958
|
+
MoveFrontElementsBeforeTargetElementExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: MoveFrontElementsBeforeTargetElementExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5959
|
+
MoveFrontElementsBeforeTargetElementExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: MoveFrontElementsBeforeTargetElementExecution });
|
|
5576
5960
|
MoveFrontElementsBeforeTargetElementExecution = __decorate([
|
|
5577
5961
|
FExecutionRegister(MoveFrontElementsBeforeTargetElementRequest)
|
|
5578
5962
|
], MoveFrontElementsBeforeTargetElementExecution);
|
|
5579
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5963
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: MoveFrontElementsBeforeTargetElementExecution, decorators: [{
|
|
5580
5964
|
type: Injectable
|
|
5581
5965
|
}] });
|
|
5582
5966
|
|
|
@@ -5612,12 +5996,12 @@ let GetDeepChildrenNodesAndGroupsExecution = class GetDeepChildrenNodesAndGroups
|
|
|
5612
5996
|
return result;
|
|
5613
5997
|
}
|
|
5614
5998
|
};
|
|
5615
|
-
GetDeepChildrenNodesAndGroupsExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5616
|
-
GetDeepChildrenNodesAndGroupsExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5999
|
+
GetDeepChildrenNodesAndGroupsExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetDeepChildrenNodesAndGroupsExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6000
|
+
GetDeepChildrenNodesAndGroupsExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetDeepChildrenNodesAndGroupsExecution });
|
|
5617
6001
|
GetDeepChildrenNodesAndGroupsExecution = __decorate([
|
|
5618
6002
|
FExecutionRegister(GetDeepChildrenNodesAndGroupsRequest)
|
|
5619
6003
|
], GetDeepChildrenNodesAndGroupsExecution);
|
|
5620
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6004
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetDeepChildrenNodesAndGroupsExecution, decorators: [{
|
|
5621
6005
|
type: Injectable
|
|
5622
6006
|
}], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
|
|
5623
6007
|
|
|
@@ -5696,12 +6080,12 @@ let UpdateItemAndChildrenLayersExecution = class UpdateItemAndChildrenLayersExec
|
|
|
5696
6080
|
return this.fMediator.send(new GetDeepChildrenNodesAndGroupsRequest(fId)).map((x) => x.hostElement);
|
|
5697
6081
|
}
|
|
5698
6082
|
};
|
|
5699
|
-
UpdateItemAndChildrenLayersExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5700
|
-
UpdateItemAndChildrenLayersExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6083
|
+
UpdateItemAndChildrenLayersExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: UpdateItemAndChildrenLayersExecution, deps: [{ token: FComponentsStore }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6084
|
+
UpdateItemAndChildrenLayersExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: UpdateItemAndChildrenLayersExecution });
|
|
5701
6085
|
UpdateItemAndChildrenLayersExecution = __decorate([
|
|
5702
6086
|
FExecutionRegister(UpdateItemAndChildrenLayersRequest)
|
|
5703
6087
|
], UpdateItemAndChildrenLayersExecution);
|
|
5704
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6088
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: UpdateItemAndChildrenLayersExecution, decorators: [{
|
|
5705
6089
|
type: Injectable
|
|
5706
6090
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: i2.FMediator }]; } });
|
|
5707
6091
|
|
|
@@ -5722,12 +6106,12 @@ let SelectAndUpdateNodeLayerExecution = class SelectAndUpdateNodeLayerExecution
|
|
|
5722
6106
|
}
|
|
5723
6107
|
}
|
|
5724
6108
|
};
|
|
5725
|
-
SelectAndUpdateNodeLayerExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5726
|
-
SelectAndUpdateNodeLayerExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6109
|
+
SelectAndUpdateNodeLayerExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SelectAndUpdateNodeLayerExecution, deps: [{ token: FDraggableDataContext }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6110
|
+
SelectAndUpdateNodeLayerExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SelectAndUpdateNodeLayerExecution });
|
|
5727
6111
|
SelectAndUpdateNodeLayerExecution = __decorate([
|
|
5728
6112
|
FExecutionRegister(SelectAndUpdateNodeLayerRequest)
|
|
5729
6113
|
], SelectAndUpdateNodeLayerExecution);
|
|
5730
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6114
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SelectAndUpdateNodeLayerExecution, decorators: [{
|
|
5731
6115
|
type: Injectable
|
|
5732
6116
|
}], ctorParameters: function () { return [{ type: FDraggableDataContext }, { type: i2.FMediator }]; } });
|
|
5733
6117
|
|
|
@@ -5739,45 +6123,6 @@ const F_SELECTION_FEATURES = [
|
|
|
5739
6123
|
SelectAndUpdateNodeLayerExecution
|
|
5740
6124
|
];
|
|
5741
6125
|
|
|
5742
|
-
class GetElementRectInFlowRequest {
|
|
5743
|
-
constructor(element) {
|
|
5744
|
-
this.element = element;
|
|
5745
|
-
}
|
|
5746
|
-
}
|
|
5747
|
-
|
|
5748
|
-
let GetElementRectInFlowExecution = class GetElementRectInFlowExecution {
|
|
5749
|
-
constructor(fComponentsStore, fMediator) {
|
|
5750
|
-
this.fComponentsStore = fComponentsStore;
|
|
5751
|
-
this.fMediator = fMediator;
|
|
5752
|
-
}
|
|
5753
|
-
get transform() {
|
|
5754
|
-
return this.fComponentsStore.transform;
|
|
5755
|
-
}
|
|
5756
|
-
get flowHost() {
|
|
5757
|
-
return this.fComponentsStore.flowHost;
|
|
5758
|
-
}
|
|
5759
|
-
handle(request) {
|
|
5760
|
-
const systemRect = this.fMediator.send(new CreateRoundedRectFromElementRequest(request.element));
|
|
5761
|
-
const position = this.transformElementPositionInFlow(systemRect);
|
|
5762
|
-
const size = this.transformElementSizeInFlow(systemRect);
|
|
5763
|
-
return new RoundedRect(position.x, position.y, size.width, size.height, systemRect.radius1, systemRect.radius2, systemRect.radius3, systemRect.radius4);
|
|
5764
|
-
}
|
|
5765
|
-
transformElementPositionInFlow(rect) {
|
|
5766
|
-
return Point.fromPoint(rect).elementTransform(this.flowHost).sub(this.transform.scaledPosition).sub(this.transform.position).div(this.transform.scale);
|
|
5767
|
-
}
|
|
5768
|
-
transformElementSizeInFlow(rect) {
|
|
5769
|
-
return SizeExtensions.initialize(rect.width / this.transform.scale, rect.height / this.transform.scale);
|
|
5770
|
-
}
|
|
5771
|
-
};
|
|
5772
|
-
GetElementRectInFlowExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GetElementRectInFlowExecution, deps: [{ token: FComponentsStore }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5773
|
-
GetElementRectInFlowExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GetElementRectInFlowExecution });
|
|
5774
|
-
GetElementRectInFlowExecution = __decorate([
|
|
5775
|
-
FExecutionRegister(GetElementRectInFlowRequest)
|
|
5776
|
-
], GetElementRectInFlowExecution);
|
|
5777
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GetElementRectInFlowExecution, decorators: [{
|
|
5778
|
-
type: Injectable
|
|
5779
|
-
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: i2.FMediator }]; } });
|
|
5780
|
-
|
|
5781
6126
|
let GetCanBeSelectedItemsExecution = class GetCanBeSelectedItemsExecution {
|
|
5782
6127
|
constructor(fComponentsStore, fDraggableDataContext, fMediator) {
|
|
5783
6128
|
this.fComponentsStore = fComponentsStore;
|
|
@@ -5815,12 +6160,12 @@ let GetCanBeSelectedItemsExecution = class GetCanBeSelectedItemsExecution {
|
|
|
5815
6160
|
});
|
|
5816
6161
|
}
|
|
5817
6162
|
};
|
|
5818
|
-
GetCanBeSelectedItemsExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5819
|
-
GetCanBeSelectedItemsExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6163
|
+
GetCanBeSelectedItemsExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetCanBeSelectedItemsExecution, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6164
|
+
GetCanBeSelectedItemsExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetCanBeSelectedItemsExecution });
|
|
5820
6165
|
GetCanBeSelectedItemsExecution = __decorate([
|
|
5821
6166
|
FExecutionRegister(GetCanBeSelectedItemsRequest)
|
|
5822
6167
|
], GetCanBeSelectedItemsExecution);
|
|
5823
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6168
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetCanBeSelectedItemsExecution, decorators: [{
|
|
5824
6169
|
type: Injectable
|
|
5825
6170
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: i2.FMediator }]; } });
|
|
5826
6171
|
|
|
@@ -5857,12 +6202,12 @@ let GetConnectionLineExecution = class GetConnectionLineExecution {
|
|
|
5857
6202
|
return new Line(positionFixedOutbound[payload.outputSide === EFConnectableSide.AUTO ? EFConnectableSide.BOTTOM : payload.outputSide](payload.outputRect), positionFixedOutbound[payload.inputSide === EFConnectableSide.AUTO ? EFConnectableSide.TOP : payload.inputSide](payload.inputRect));
|
|
5858
6203
|
}
|
|
5859
6204
|
};
|
|
5860
|
-
GetConnectionLineExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5861
|
-
GetConnectionLineExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6205
|
+
GetConnectionLineExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetConnectionLineExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6206
|
+
GetConnectionLineExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetConnectionLineExecution });
|
|
5862
6207
|
GetConnectionLineExecution = __decorate([
|
|
5863
6208
|
FExecutionRegister(GetConnectionLineRequest)
|
|
5864
6209
|
], GetConnectionLineExecution);
|
|
5865
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6210
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetConnectionLineExecution, decorators: [{
|
|
5866
6211
|
type: Injectable
|
|
5867
6212
|
}] });
|
|
5868
6213
|
const positionFixedOutbound = {
|
|
@@ -5912,12 +6257,12 @@ let GetFlowStateConnectionsExecution = class GetFlowStateConnectionsExecution {
|
|
|
5912
6257
|
});
|
|
5913
6258
|
}
|
|
5914
6259
|
};
|
|
5915
|
-
GetFlowStateConnectionsExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5916
|
-
GetFlowStateConnectionsExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6260
|
+
GetFlowStateConnectionsExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetFlowStateConnectionsExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6261
|
+
GetFlowStateConnectionsExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetFlowStateConnectionsExecution });
|
|
5917
6262
|
GetFlowStateConnectionsExecution = __decorate([
|
|
5918
6263
|
FExecutionRegister(GetFlowStateConnectionsRequest)
|
|
5919
6264
|
], GetFlowStateConnectionsExecution);
|
|
5920
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6265
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetFlowStateConnectionsExecution, decorators: [{
|
|
5921
6266
|
type: Injectable
|
|
5922
6267
|
}], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
|
|
5923
6268
|
|
|
@@ -5961,12 +6306,12 @@ let GetFlowStateNodesExecution = class GetFlowStateNodesExecution {
|
|
|
5961
6306
|
});
|
|
5962
6307
|
}
|
|
5963
6308
|
};
|
|
5964
|
-
GetFlowStateNodesExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5965
|
-
GetFlowStateNodesExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6309
|
+
GetFlowStateNodesExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetFlowStateNodesExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6310
|
+
GetFlowStateNodesExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetFlowStateNodesExecution });
|
|
5966
6311
|
GetFlowStateNodesExecution = __decorate([
|
|
5967
6312
|
FExecutionRegister(GetFlowStateNodesRequest)
|
|
5968
6313
|
], GetFlowStateNodesExecution);
|
|
5969
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6314
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetFlowStateNodesExecution, decorators: [{
|
|
5970
6315
|
type: Injectable
|
|
5971
6316
|
}], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
|
|
5972
6317
|
|
|
@@ -5991,12 +6336,12 @@ let GetFlowStateExecution = class GetFlowStateExecution {
|
|
|
5991
6336
|
return PointExtensions.sum(transform.position, transform.scaledPosition);
|
|
5992
6337
|
}
|
|
5993
6338
|
};
|
|
5994
|
-
GetFlowStateExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5995
|
-
GetFlowStateExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6339
|
+
GetFlowStateExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetFlowStateExecution, deps: [{ token: FComponentsStore }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6340
|
+
GetFlowStateExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetFlowStateExecution });
|
|
5996
6341
|
GetFlowStateExecution = __decorate([
|
|
5997
6342
|
FExecutionRegister(GetFlowStateRequest)
|
|
5998
6343
|
], GetFlowStateExecution);
|
|
5999
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6344
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetFlowStateExecution, decorators: [{
|
|
6000
6345
|
type: Injectable
|
|
6001
6346
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: i2.FMediator }]; } });
|
|
6002
6347
|
|
|
@@ -6026,12 +6371,12 @@ let GetScaledNodeRectsWithFlowPositionExecution = class GetScaledNodeRectsWithFl
|
|
|
6026
6371
|
return this.fComponentsStore.fNodes;
|
|
6027
6372
|
}
|
|
6028
6373
|
};
|
|
6029
|
-
GetScaledNodeRectsWithFlowPositionExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6030
|
-
GetScaledNodeRectsWithFlowPositionExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6374
|
+
GetScaledNodeRectsWithFlowPositionExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetScaledNodeRectsWithFlowPositionExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6375
|
+
GetScaledNodeRectsWithFlowPositionExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetScaledNodeRectsWithFlowPositionExecution });
|
|
6031
6376
|
GetScaledNodeRectsWithFlowPositionExecution = __decorate([
|
|
6032
6377
|
FExecutionRegister(GetScaledNodeRectsWithFlowPositionRequest)
|
|
6033
6378
|
], GetScaledNodeRectsWithFlowPositionExecution);
|
|
6034
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6379
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetScaledNodeRectsWithFlowPositionExecution, decorators: [{
|
|
6035
6380
|
type: Injectable
|
|
6036
6381
|
}], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
|
|
6037
6382
|
|
|
@@ -6052,12 +6397,12 @@ let GetNodesRectExecution = class GetNodesRectExecution {
|
|
|
6052
6397
|
return this.fComponentsStore.fNodes;
|
|
6053
6398
|
}
|
|
6054
6399
|
};
|
|
6055
|
-
GetNodesRectExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6056
|
-
GetNodesRectExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6400
|
+
GetNodesRectExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetNodesRectExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6401
|
+
GetNodesRectExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetNodesRectExecution });
|
|
6057
6402
|
GetNodesRectExecution = __decorate([
|
|
6058
6403
|
FExecutionRegister(GetNodesRectRequest)
|
|
6059
6404
|
], GetNodesRectExecution);
|
|
6060
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6405
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetNodesRectExecution, decorators: [{
|
|
6061
6406
|
type: Injectable
|
|
6062
6407
|
}], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
|
|
6063
6408
|
|
|
@@ -6082,12 +6427,12 @@ let GetPositionInFlowExecution = class GetPositionInFlowExecution {
|
|
|
6082
6427
|
.sub(this.transform.scaledPosition).sub(this.transform.position).div(this.transform.scale);
|
|
6083
6428
|
}
|
|
6084
6429
|
};
|
|
6085
|
-
GetPositionInFlowExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6086
|
-
GetPositionInFlowExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6430
|
+
GetPositionInFlowExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetPositionInFlowExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6431
|
+
GetPositionInFlowExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetPositionInFlowExecution });
|
|
6087
6432
|
GetPositionInFlowExecution = __decorate([
|
|
6088
6433
|
FExecutionRegister(GetPositionInFlowRequest)
|
|
6089
6434
|
], GetPositionInFlowExecution);
|
|
6090
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6435
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetPositionInFlowExecution, decorators: [{
|
|
6091
6436
|
type: Injectable
|
|
6092
6437
|
}], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
|
|
6093
6438
|
|
|
@@ -6147,12 +6492,12 @@ let IsConnectionUnderNodeExecution = class IsConnectionUnderNodeExecution {
|
|
|
6147
6492
|
});
|
|
6148
6493
|
}
|
|
6149
6494
|
};
|
|
6150
|
-
IsConnectionUnderNodeExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6151
|
-
IsConnectionUnderNodeExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6495
|
+
IsConnectionUnderNodeExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: IsConnectionUnderNodeExecution, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6496
|
+
IsConnectionUnderNodeExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: IsConnectionUnderNodeExecution });
|
|
6152
6497
|
IsConnectionUnderNodeExecution = __decorate([
|
|
6153
6498
|
FExecutionRegister(IsConnectionUnderNodeRequest)
|
|
6154
6499
|
], IsConnectionUnderNodeExecution);
|
|
6155
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6500
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: IsConnectionUnderNodeExecution, decorators: [{
|
|
6156
6501
|
type: Injectable
|
|
6157
6502
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: i2.FMediator }]; } });
|
|
6158
6503
|
|
|
@@ -6202,12 +6547,12 @@ let RedrawConnectionsExecution = class RedrawConnectionsExecution {
|
|
|
6202
6547
|
this.fMediator.send(new CreateConnectionMarkersRequest(connection));
|
|
6203
6548
|
}
|
|
6204
6549
|
};
|
|
6205
|
-
RedrawConnectionsExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6206
|
-
RedrawConnectionsExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6550
|
+
RedrawConnectionsExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: RedrawConnectionsExecution, deps: [{ token: FComponentsStore }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6551
|
+
RedrawConnectionsExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: RedrawConnectionsExecution });
|
|
6207
6552
|
RedrawConnectionsExecution = __decorate([
|
|
6208
6553
|
FExecutionRegister(RedrawConnectionsRequest)
|
|
6209
6554
|
], RedrawConnectionsExecution);
|
|
6210
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6555
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: RedrawConnectionsExecution, decorators: [{
|
|
6211
6556
|
type: Injectable
|
|
6212
6557
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: i2.FMediator }]; } });
|
|
6213
6558
|
|
|
@@ -6224,12 +6569,12 @@ let ShowConnectionsAfterCalculationsExecution = class ShowConnectionsAfterCalcul
|
|
|
6224
6569
|
});
|
|
6225
6570
|
}
|
|
6226
6571
|
};
|
|
6227
|
-
ShowConnectionsAfterCalculationsExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6228
|
-
ShowConnectionsAfterCalculationsExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6572
|
+
ShowConnectionsAfterCalculationsExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ShowConnectionsAfterCalculationsExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6573
|
+
ShowConnectionsAfterCalculationsExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ShowConnectionsAfterCalculationsExecution });
|
|
6229
6574
|
ShowConnectionsAfterCalculationsExecution = __decorate([
|
|
6230
6575
|
FExecutionRegister(ShowConnectionsAfterCalculationsRequest)
|
|
6231
6576
|
], ShowConnectionsAfterCalculationsExecution);
|
|
6232
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6577
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ShowConnectionsAfterCalculationsExecution, decorators: [{
|
|
6233
6578
|
type: Injectable
|
|
6234
6579
|
}], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
|
|
6235
6580
|
|
|
@@ -6276,12 +6621,12 @@ let SortNodeLayersExecution = class SortNodeLayersExecution {
|
|
|
6276
6621
|
this.fNodesContainer.appendChild(fragment);
|
|
6277
6622
|
}
|
|
6278
6623
|
};
|
|
6279
|
-
SortNodeLayersExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6280
|
-
SortNodeLayersExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6624
|
+
SortNodeLayersExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SortNodeLayersExecution, deps: [{ token: FComponentsStore }, { token: i2.FMediator }, { token: i1.BrowserService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6625
|
+
SortNodeLayersExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SortNodeLayersExecution });
|
|
6281
6626
|
SortNodeLayersExecution = __decorate([
|
|
6282
6627
|
FExecutionRegister(SortNodeLayersRequest)
|
|
6283
6628
|
], SortNodeLayersExecution);
|
|
6284
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6629
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SortNodeLayersExecution, decorators: [{
|
|
6285
6630
|
type: Injectable
|
|
6286
6631
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: i2.FMediator }, { type: i1.BrowserService }]; } });
|
|
6287
6632
|
|
|
@@ -6330,12 +6675,12 @@ let SortItemsByParentExecution = class SortItemsByParentExecution {
|
|
|
6330
6675
|
this.fItemsContainer.insertBefore(fragment, nextSibling);
|
|
6331
6676
|
}
|
|
6332
6677
|
};
|
|
6333
|
-
SortItemsByParentExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6334
|
-
SortItemsByParentExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6678
|
+
SortItemsByParentExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SortItemsByParentExecution, deps: [{ token: FComponentsStore }, { token: i2.FMediator }, { token: i1.BrowserService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6679
|
+
SortItemsByParentExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SortItemsByParentExecution });
|
|
6335
6680
|
SortItemsByParentExecution = __decorate([
|
|
6336
6681
|
FExecutionRegister(SortItemsByParentRequest)
|
|
6337
6682
|
], SortItemsByParentExecution);
|
|
6338
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6683
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SortItemsByParentExecution, decorators: [{
|
|
6339
6684
|
type: Injectable
|
|
6340
6685
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: i2.FMediator }, { type: i1.BrowserService }]; } });
|
|
6341
6686
|
|
|
@@ -6353,12 +6698,12 @@ let SortItemLayersExecution = class SortItemLayersExecution {
|
|
|
6353
6698
|
this.fMediator.send(new SortItemsByParentRequest(this.fComponentsStore.fCanvas.fNodesContainer.nativeElement));
|
|
6354
6699
|
}
|
|
6355
6700
|
};
|
|
6356
|
-
SortItemLayersExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6357
|
-
SortItemLayersExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6701
|
+
SortItemLayersExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SortItemLayersExecution, deps: [{ token: i2.FMediator }, { token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6702
|
+
SortItemLayersExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SortItemLayersExecution });
|
|
6358
6703
|
SortItemLayersExecution = __decorate([
|
|
6359
6704
|
FExecutionRegister(SortItemLayersRequest)
|
|
6360
6705
|
], SortItemLayersExecution);
|
|
6361
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6706
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SortItemLayersExecution, decorators: [{
|
|
6362
6707
|
type: Injectable
|
|
6363
6708
|
}], ctorParameters: function () { return [{ type: i2.FMediator }, { type: FComponentsStore }]; } });
|
|
6364
6709
|
|
|
@@ -6374,424 +6719,24 @@ let SubscribeOnTransformChangesExecution = class SubscribeOnTransformChangesExec
|
|
|
6374
6719
|
return merge(this.fTransformStore.changes, this.fComponentsStore.componentsData$, this.fComponentsStore.componentsCount$);
|
|
6375
6720
|
}
|
|
6376
6721
|
};
|
|
6377
|
-
SubscribeOnTransformChangesExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6378
|
-
SubscribeOnTransformChangesExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6722
|
+
SubscribeOnTransformChangesExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SubscribeOnTransformChangesExecution, deps: [{ token: FTransformStore }, { token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6723
|
+
SubscribeOnTransformChangesExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SubscribeOnTransformChangesExecution });
|
|
6379
6724
|
SubscribeOnTransformChangesExecution = __decorate([
|
|
6380
6725
|
FExecutionRegister(SubscribeOnTransformChangesRequest)
|
|
6381
6726
|
], SubscribeOnTransformChangesExecution);
|
|
6382
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6727
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SubscribeOnTransformChangesExecution, decorators: [{
|
|
6383
6728
|
type: Injectable
|
|
6384
6729
|
}], ctorParameters: function () { return [{ type: FTransformStore }, { type: FComponentsStore }]; } });
|
|
6385
6730
|
|
|
6386
|
-
const F_CANVAS_ANIMATION_DURATION = 150;
|
|
6387
|
-
|
|
6388
|
-
function createSVGElement(tag, fBrowser) {
|
|
6389
|
-
return fBrowser.document.createElementNS('http://www.w3.org/2000/svg', tag);
|
|
6390
|
-
}
|
|
6391
|
-
|
|
6392
|
-
class CenterGroupOrNodeRequest {
|
|
6393
|
-
constructor(id, animated) {
|
|
6394
|
-
this.id = id;
|
|
6395
|
-
this.animated = animated;
|
|
6396
|
-
}
|
|
6397
|
-
}
|
|
6398
|
-
|
|
6399
|
-
let CenterGroupOrNodeExecution = class CenterGroupOrNodeExecution {
|
|
6400
|
-
constructor(fComponentsStore) {
|
|
6401
|
-
this.fComponentsStore = fComponentsStore;
|
|
6402
|
-
}
|
|
6403
|
-
get transform() {
|
|
6404
|
-
return this.fComponentsStore.fCanvas.transform;
|
|
6405
|
-
}
|
|
6406
|
-
handle(request) {
|
|
6407
|
-
const fNode = this.getNode(request.id);
|
|
6408
|
-
if (!fNode) {
|
|
6409
|
-
return;
|
|
6410
|
-
}
|
|
6411
|
-
this.toCenter(this.getNodeRect(fNode), this.getFlowRect(), fNode.position);
|
|
6412
|
-
request.animated ? this.fComponentsStore.fCanvas.redrawWithAnimation() : this.fComponentsStore.fCanvas.redraw();
|
|
6413
|
-
this.fComponentsStore.fCanvas.emitCanvasChangeEvent();
|
|
6414
|
-
setTimeout(() => this.fComponentsStore.componentDataChanged(), F_CANVAS_ANIMATION_DURATION);
|
|
6415
|
-
}
|
|
6416
|
-
toCenter(fNodeRect, fFlowRect, position) {
|
|
6417
|
-
this.transform.scaledPosition = PointExtensions.initialize();
|
|
6418
|
-
this.transform.position = PointExtensions.initialize((fFlowRect.width - fNodeRect.width) / 2 - position.x * this.transform.scale, (fFlowRect.height - fNodeRect.height) / 2 - position.y * this.transform.scale);
|
|
6419
|
-
}
|
|
6420
|
-
getNode(id) {
|
|
6421
|
-
return this.fComponentsStore.fNodes.find((x) => x.fId === id);
|
|
6422
|
-
}
|
|
6423
|
-
getNodeRect(fNode) {
|
|
6424
|
-
return RectExtensions.fromElement(fNode.hostElement);
|
|
6425
|
-
}
|
|
6426
|
-
getFlowRect() {
|
|
6427
|
-
return RectExtensions.fromElement(this.fComponentsStore.fFlow.hostElement);
|
|
6428
|
-
}
|
|
6429
|
-
};
|
|
6430
|
-
CenterGroupOrNodeExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CenterGroupOrNodeExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6431
|
-
CenterGroupOrNodeExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CenterGroupOrNodeExecution });
|
|
6432
|
-
CenterGroupOrNodeExecution = __decorate([
|
|
6433
|
-
FExecutionRegister(CenterGroupOrNodeRequest)
|
|
6434
|
-
], CenterGroupOrNodeExecution);
|
|
6435
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CenterGroupOrNodeExecution, decorators: [{
|
|
6436
|
-
type: Injectable
|
|
6437
|
-
}], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
|
|
6438
|
-
|
|
6439
|
-
class FitToFlowRequest {
|
|
6440
|
-
constructor(toCenter, animated) {
|
|
6441
|
-
this.toCenter = toCenter;
|
|
6442
|
-
this.animated = animated;
|
|
6443
|
-
}
|
|
6444
|
-
}
|
|
6445
|
-
|
|
6446
|
-
let FitToFlowExecution = class FitToFlowExecution {
|
|
6447
|
-
constructor(fComponentsStore, fMediator) {
|
|
6448
|
-
this.fComponentsStore = fComponentsStore;
|
|
6449
|
-
this.fMediator = fMediator;
|
|
6450
|
-
}
|
|
6451
|
-
get transform() {
|
|
6452
|
-
return this.fComponentsStore.fCanvas.transform;
|
|
6453
|
-
}
|
|
6454
|
-
handle(request) {
|
|
6455
|
-
const fNodesRect = this.fMediator.send(new GetNodesRectRequest()) || RectExtensions.initialize();
|
|
6456
|
-
if (fNodesRect.width === 0 || fNodesRect.height === 0) {
|
|
6457
|
-
return;
|
|
6458
|
-
}
|
|
6459
|
-
this.fitToParent(fNodesRect, RectExtensions.fromElement(this.fComponentsStore.fFlow.hostElement), this.fComponentsStore.fNodes.map((x) => x.position), request.toCenter);
|
|
6460
|
-
request.animated ? this.fComponentsStore.fCanvas.redrawWithAnimation() : this.fComponentsStore.fCanvas.redraw();
|
|
6461
|
-
this.fComponentsStore.fCanvas.emitCanvasChangeEvent();
|
|
6462
|
-
setTimeout(() => this.fComponentsStore.componentDataChanged(), F_CANVAS_ANIMATION_DURATION);
|
|
6463
|
-
}
|
|
6464
|
-
fitToParent(rect, parentRect, points, toCenter) {
|
|
6465
|
-
this.transform.scaledPosition = PointExtensions.initialize();
|
|
6466
|
-
this.transform.position = this.getZeroPositionWithoutScale(points);
|
|
6467
|
-
const itemsContainerWidth = (rect.width / this.transform.scale) + toCenter.x;
|
|
6468
|
-
const itemsContainerHeight = (rect.height / this.transform.scale) + toCenter.y;
|
|
6469
|
-
if ((itemsContainerWidth > parentRect.width || itemsContainerHeight > parentRect.height) ||
|
|
6470
|
-
itemsContainerWidth < parentRect.width && itemsContainerHeight < parentRect.height) {
|
|
6471
|
-
this.transform.scale = Math.min(parentRect.width / itemsContainerWidth, parentRect.height / itemsContainerHeight);
|
|
6472
|
-
}
|
|
6473
|
-
const newX = (parentRect.width - itemsContainerWidth * this.transform.scale) / 2 - this.transform.position.x * this.transform.scale;
|
|
6474
|
-
const newY = (parentRect.height - itemsContainerHeight * this.transform.scale) / 2 - this.transform.position.y * this.transform.scale;
|
|
6475
|
-
this.transform.position = PointExtensions.initialize(newX + (toCenter.x / 2) * this.transform.scale, newY + (toCenter.y / 2) * this.transform.scale);
|
|
6476
|
-
}
|
|
6477
|
-
getZeroPositionWithoutScale(points) {
|
|
6478
|
-
const xPoint = points.length ? Math.min(...points.map((point) => point.x)) : 0;
|
|
6479
|
-
const yPoint = points.length ? Math.min(...points.map((point) => point.y)) : 0;
|
|
6480
|
-
return PointExtensions.initialize(xPoint, yPoint);
|
|
6481
|
-
}
|
|
6482
|
-
};
|
|
6483
|
-
FitToFlowExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FitToFlowExecution, deps: [{ token: FComponentsStore }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6484
|
-
FitToFlowExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FitToFlowExecution });
|
|
6485
|
-
FitToFlowExecution = __decorate([
|
|
6486
|
-
FExecutionRegister(FitToFlowRequest)
|
|
6487
|
-
], FitToFlowExecution);
|
|
6488
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FitToFlowExecution, decorators: [{
|
|
6489
|
-
type: Injectable
|
|
6490
|
-
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: i2.FMediator }]; } });
|
|
6491
|
-
|
|
6492
|
-
class InputCanvasPositionRequest {
|
|
6493
|
-
constructor(transform, position) {
|
|
6494
|
-
this.transform = transform;
|
|
6495
|
-
this.position = position;
|
|
6496
|
-
}
|
|
6497
|
-
}
|
|
6498
|
-
|
|
6499
|
-
let InputCanvasPositionExecution = class InputCanvasPositionExecution {
|
|
6500
|
-
constructor(fComponentsStore) {
|
|
6501
|
-
this.fComponentsStore = fComponentsStore;
|
|
6502
|
-
}
|
|
6503
|
-
handle(request) {
|
|
6504
|
-
var _a;
|
|
6505
|
-
if (!request.position) {
|
|
6506
|
-
return;
|
|
6507
|
-
}
|
|
6508
|
-
const position = PointExtensions.sum(request.transform.position, request.transform.scaledPosition);
|
|
6509
|
-
if (!PointExtensions.isEqual(position, request.position)) {
|
|
6510
|
-
request.transform.position = request.position;
|
|
6511
|
-
request.transform.scaledPosition = PointExtensions.initialize();
|
|
6512
|
-
(_a = this.fComponentsStore.fCanvas) === null || _a === void 0 ? void 0 : _a.redraw();
|
|
6513
|
-
}
|
|
6514
|
-
}
|
|
6515
|
-
};
|
|
6516
|
-
InputCanvasPositionExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: InputCanvasPositionExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6517
|
-
InputCanvasPositionExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: InputCanvasPositionExecution });
|
|
6518
|
-
InputCanvasPositionExecution = __decorate([
|
|
6519
|
-
FExecutionRegister(InputCanvasPositionRequest)
|
|
6520
|
-
], InputCanvasPositionExecution);
|
|
6521
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: InputCanvasPositionExecution, decorators: [{
|
|
6522
|
-
type: Injectable
|
|
6523
|
-
}], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
|
|
6524
|
-
|
|
6525
|
-
class InputCanvasScaleRequest {
|
|
6526
|
-
constructor(transform, scale) {
|
|
6527
|
-
this.transform = transform;
|
|
6528
|
-
this.scale = scale;
|
|
6529
|
-
}
|
|
6530
|
-
}
|
|
6531
|
-
|
|
6532
|
-
let InputCanvasScaleExecution = class InputCanvasScaleExecution {
|
|
6533
|
-
constructor(fComponentsStore) {
|
|
6534
|
-
this.fComponentsStore = fComponentsStore;
|
|
6535
|
-
}
|
|
6536
|
-
handle(request) {
|
|
6537
|
-
var _a;
|
|
6538
|
-
if (!request.scale) {
|
|
6539
|
-
return;
|
|
6540
|
-
}
|
|
6541
|
-
request.transform.scale = request.scale;
|
|
6542
|
-
(_a = this.fComponentsStore.fCanvas) === null || _a === void 0 ? void 0 : _a.redraw();
|
|
6543
|
-
}
|
|
6544
|
-
};
|
|
6545
|
-
InputCanvasScaleExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: InputCanvasScaleExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6546
|
-
InputCanvasScaleExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: InputCanvasScaleExecution });
|
|
6547
|
-
InputCanvasScaleExecution = __decorate([
|
|
6548
|
-
FExecutionRegister(InputCanvasScaleRequest)
|
|
6549
|
-
], InputCanvasScaleExecution);
|
|
6550
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: InputCanvasScaleExecution, decorators: [{
|
|
6551
|
-
type: Injectable
|
|
6552
|
-
}], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
|
|
6553
|
-
|
|
6554
|
-
class ResetScaleRequest {
|
|
6555
|
-
}
|
|
6556
|
-
|
|
6557
|
-
let ResetScaleExecution = class ResetScaleExecution {
|
|
6558
|
-
constructor(fComponentsStore) {
|
|
6559
|
-
this.fComponentsStore = fComponentsStore;
|
|
6560
|
-
}
|
|
6561
|
-
get transform() {
|
|
6562
|
-
return this.fComponentsStore.fCanvas.transform;
|
|
6563
|
-
}
|
|
6564
|
-
handle(request) {
|
|
6565
|
-
this.transform.scale = 1;
|
|
6566
|
-
this.transform.scaledPosition = PointExtensions.initialize();
|
|
6567
|
-
}
|
|
6568
|
-
};
|
|
6569
|
-
ResetScaleExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ResetScaleExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6570
|
-
ResetScaleExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ResetScaleExecution });
|
|
6571
|
-
ResetScaleExecution = __decorate([
|
|
6572
|
-
FExecutionRegister(ResetScaleRequest)
|
|
6573
|
-
], ResetScaleExecution);
|
|
6574
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ResetScaleExecution, decorators: [{
|
|
6575
|
-
type: Injectable
|
|
6576
|
-
}], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
|
|
6577
|
-
|
|
6578
|
-
class ResetScaleAndCenterRequest {
|
|
6579
|
-
constructor(animated) {
|
|
6580
|
-
this.animated = animated;
|
|
6581
|
-
}
|
|
6582
|
-
}
|
|
6583
|
-
|
|
6584
|
-
let ResetScaleAndCenterExecution = class ResetScaleAndCenterExecution {
|
|
6585
|
-
constructor(fComponentsStore, fMediator) {
|
|
6586
|
-
this.fComponentsStore = fComponentsStore;
|
|
6587
|
-
this.fMediator = fMediator;
|
|
6588
|
-
}
|
|
6589
|
-
get transform() {
|
|
6590
|
-
return this.fComponentsStore.fCanvas.transform;
|
|
6591
|
-
}
|
|
6592
|
-
handle(request) {
|
|
6593
|
-
const fNodesRect = this.fMediator.send(new GetNodesRectRequest()) || RectExtensions.initialize();
|
|
6594
|
-
if (fNodesRect.width === 0 || fNodesRect.height === 0) {
|
|
6595
|
-
return;
|
|
6596
|
-
}
|
|
6597
|
-
this.oneToOneCentering(fNodesRect, RectExtensions.fromElement(this.fComponentsStore.fFlow.hostElement), this.fComponentsStore.fNodes.map((x) => x.position));
|
|
6598
|
-
request.animated ? this.fComponentsStore.fCanvas.redrawWithAnimation() : this.fComponentsStore.fCanvas.redraw();
|
|
6599
|
-
this.fComponentsStore.fCanvas.emitCanvasChangeEvent();
|
|
6600
|
-
setTimeout(() => this.fComponentsStore.componentDataChanged(), F_CANVAS_ANIMATION_DURATION);
|
|
6601
|
-
}
|
|
6602
|
-
oneToOneCentering(rect, parentRect, points) {
|
|
6603
|
-
this.transform.scaledPosition = PointExtensions.initialize();
|
|
6604
|
-
this.transform.position = this.getZeroPositionWithoutScale(points);
|
|
6605
|
-
const newX = (parentRect.width - rect.width / this.transform.scale) / 2 - this.transform.position.x;
|
|
6606
|
-
const newY = (parentRect.height - rect.height / this.transform.scale) / 2 - this.transform.position.y;
|
|
6607
|
-
this.transform.scale = 1;
|
|
6608
|
-
this.transform.position = PointExtensions.initialize(newX, newY);
|
|
6609
|
-
}
|
|
6610
|
-
getZeroPositionWithoutScale(points) {
|
|
6611
|
-
const xPoint = points.length ? Math.min(...points.map((point) => point.x)) : 0;
|
|
6612
|
-
const yPoint = points.length ? Math.min(...points.map((point) => point.y)) : 0;
|
|
6613
|
-
return PointExtensions.initialize(xPoint, yPoint);
|
|
6614
|
-
}
|
|
6615
|
-
};
|
|
6616
|
-
ResetScaleAndCenterExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ResetScaleAndCenterExecution, deps: [{ token: FComponentsStore }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6617
|
-
ResetScaleAndCenterExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ResetScaleAndCenterExecution });
|
|
6618
|
-
ResetScaleAndCenterExecution = __decorate([
|
|
6619
|
-
FExecutionRegister(ResetScaleAndCenterRequest)
|
|
6620
|
-
], ResetScaleAndCenterExecution);
|
|
6621
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ResetScaleAndCenterExecution, decorators: [{
|
|
6622
|
-
type: Injectable
|
|
6623
|
-
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: i2.FMediator }]; } });
|
|
6624
|
-
|
|
6625
|
-
class UpdateScaleRequest {
|
|
6626
|
-
constructor(scale, toPosition) {
|
|
6627
|
-
this.scale = scale;
|
|
6628
|
-
this.toPosition = toPosition;
|
|
6629
|
-
}
|
|
6630
|
-
}
|
|
6631
|
-
|
|
6632
|
-
let UpdateScaleExecution = class UpdateScaleExecution {
|
|
6633
|
-
constructor(fComponentsStore) {
|
|
6634
|
-
this.fComponentsStore = fComponentsStore;
|
|
6635
|
-
}
|
|
6636
|
-
get transform() {
|
|
6637
|
-
return this.fComponentsStore.fCanvas.transform;
|
|
6638
|
-
}
|
|
6639
|
-
handle(request) {
|
|
6640
|
-
if (request.scale !== this.transform.scale) {
|
|
6641
|
-
const summaryPosition = PointExtensions.sum(this.transform.scaledPosition, this.transform.position);
|
|
6642
|
-
const newX = request.toPosition.x - (request.toPosition.x - summaryPosition.x) * request.scale / this.transform.scale;
|
|
6643
|
-
const newY = request.toPosition.y - (request.toPosition.y - summaryPosition.y) * request.scale / this.transform.scale;
|
|
6644
|
-
this.transform.scale = request.scale;
|
|
6645
|
-
this.transform.scaledPosition = PointExtensions.sub(PointExtensions.initialize(newX, newY), this.transform.position);
|
|
6646
|
-
}
|
|
6647
|
-
}
|
|
6648
|
-
};
|
|
6649
|
-
UpdateScaleExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: UpdateScaleExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6650
|
-
UpdateScaleExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: UpdateScaleExecution });
|
|
6651
|
-
UpdateScaleExecution = __decorate([
|
|
6652
|
-
FExecutionRegister(UpdateScaleRequest)
|
|
6653
|
-
], UpdateScaleExecution);
|
|
6654
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: UpdateScaleExecution, decorators: [{
|
|
6655
|
-
type: Injectable
|
|
6656
|
-
}], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
|
|
6657
|
-
|
|
6658
|
-
class FCanvasChangeEvent {
|
|
6659
|
-
constructor(position, scale) {
|
|
6660
|
-
this.position = position;
|
|
6661
|
-
this.scale = scale;
|
|
6662
|
-
}
|
|
6663
|
-
}
|
|
6664
|
-
|
|
6665
|
-
const F_CANVAS_FEATURES = [
|
|
6666
|
-
CenterGroupOrNodeExecution,
|
|
6667
|
-
FitToFlowExecution,
|
|
6668
|
-
InputCanvasPositionExecution,
|
|
6669
|
-
InputCanvasScaleExecution,
|
|
6670
|
-
ResetScaleExecution,
|
|
6671
|
-
ResetScaleAndCenterExecution,
|
|
6672
|
-
UpdateScaleExecution
|
|
6673
|
-
];
|
|
6674
|
-
|
|
6675
|
-
const F_CANVAS = new InjectionToken('F_CANVAS');
|
|
6676
|
-
class FCanvasBase {
|
|
6677
|
-
constructor() {
|
|
6678
|
-
this.transform = TransformModelExtensions.default();
|
|
6679
|
-
}
|
|
6680
|
-
getPosition() {
|
|
6681
|
-
return this.transform.position;
|
|
6682
|
-
}
|
|
6683
|
-
setPosition(position) {
|
|
6684
|
-
this.transform.position = position;
|
|
6685
|
-
}
|
|
6686
|
-
emitCanvasChangeEvent() {
|
|
6687
|
-
this.fCanvasChange.emit(new FCanvasChangeEvent(PointExtensions.sum(this.transform.position, this.transform.scaledPosition), this.transform.scale));
|
|
6688
|
-
}
|
|
6689
|
-
}
|
|
6690
|
-
FCanvasBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FCanvasBase, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
6691
|
-
FCanvasBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: FCanvasBase, ngImport: i0 });
|
|
6692
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FCanvasBase, decorators: [{
|
|
6693
|
-
type: Directive
|
|
6694
|
-
}] });
|
|
6695
|
-
|
|
6696
|
-
class FCanvasComponent extends FCanvasBase {
|
|
6697
|
-
constructor(elementReference, fMediator, fComponentsStore) {
|
|
6698
|
-
super();
|
|
6699
|
-
this.elementReference = elementReference;
|
|
6700
|
-
this.fMediator = fMediator;
|
|
6701
|
-
this.fComponentsStore = fComponentsStore;
|
|
6702
|
-
this.fCanvasChange = new EventEmitter();
|
|
6703
|
-
}
|
|
6704
|
-
set position(value) {
|
|
6705
|
-
this.fMediator.send(new InputCanvasPositionRequest(this.transform, value));
|
|
6706
|
-
}
|
|
6707
|
-
set scale(value) {
|
|
6708
|
-
this.fMediator.send(new InputCanvasScaleRequest(this.transform, value));
|
|
6709
|
-
}
|
|
6710
|
-
get fNodes() {
|
|
6711
|
-
return this.fComponentsStore.fNodes;
|
|
6712
|
-
}
|
|
6713
|
-
get hostElement() {
|
|
6714
|
-
return this.elementReference.nativeElement;
|
|
6715
|
-
}
|
|
6716
|
-
ngOnInit() {
|
|
6717
|
-
this.fComponentsStore.fCanvas = this;
|
|
6718
|
-
}
|
|
6719
|
-
redraw() {
|
|
6720
|
-
var _a;
|
|
6721
|
-
(_a = this.fComponentsStore.fBackground) === null || _a === void 0 ? void 0 : _a.setTransform(this.transform);
|
|
6722
|
-
this.hostElement.setAttribute("style", `transform: ${TransformModelExtensions.toString(this.transform)}`);
|
|
6723
|
-
this.fMediator.send(new EmitTransformChangesRequest());
|
|
6724
|
-
}
|
|
6725
|
-
redrawWithAnimation() {
|
|
6726
|
-
var _a;
|
|
6727
|
-
(_a = this.fComponentsStore.fBackground) === null || _a === void 0 ? void 0 : _a.setTransform(this.transform);
|
|
6728
|
-
this.hostElement.setAttribute("style", `transition: transform ${F_CANVAS_ANIMATION_DURATION}ms ease-in-out; transform: ${TransformModelExtensions.toString(this.transform)}`);
|
|
6729
|
-
setTimeout(() => {
|
|
6730
|
-
this.redraw();
|
|
6731
|
-
}, F_CANVAS_ANIMATION_DURATION);
|
|
6732
|
-
}
|
|
6733
|
-
centerGroupOrNode(id, animated = true) {
|
|
6734
|
-
this.fMediator.send(new CenterGroupOrNodeRequest(id, animated));
|
|
6735
|
-
}
|
|
6736
|
-
fitToScreen(toCenter = PointExtensions.initialize(), animated = true) {
|
|
6737
|
-
this.fMediator.send(new FitToFlowRequest(toCenter, animated));
|
|
6738
|
-
}
|
|
6739
|
-
resetScaleAndCenter(animated = true) {
|
|
6740
|
-
this.fMediator.send(new ResetScaleAndCenterRequest(animated));
|
|
6741
|
-
}
|
|
6742
|
-
setZoom(scale, toPosition = PointExtensions.initialize()) {
|
|
6743
|
-
this.fMediator.send(new UpdateScaleRequest(scale, toPosition));
|
|
6744
|
-
}
|
|
6745
|
-
resetZoom() {
|
|
6746
|
-
this.fMediator.send(new ResetScaleRequest());
|
|
6747
|
-
}
|
|
6748
|
-
}
|
|
6749
|
-
FCanvasComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FCanvasComponent, deps: [{ token: i0.ElementRef }, { token: i2.FMediator }, { token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Component });
|
|
6750
|
-
FCanvasComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: FCanvasComponent, selector: "f-canvas", inputs: { position: "position", scale: "scale" }, outputs: { fCanvasChange: "fCanvasChange" }, host: { classAttribute: "f-component f-canvas" }, providers: [
|
|
6751
|
-
{ provide: F_CANVAS, useExisting: FCanvasComponent }
|
|
6752
|
-
], viewQueries: [{ propertyName: "fGroupsContainer", first: true, predicate: ["fGroupsContainer"], descendants: true, static: true }, { propertyName: "fNodesContainer", first: true, predicate: ["fNodesContainer"], descendants: true, static: true }, { propertyName: "fConnectionsContainer", first: true, predicate: ["fConnectionsContainer"], descendants: true, static: true }], exportAs: ["fComponent"], 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}:host.f-scaled-animate{transition:transform .09s}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
6753
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FCanvasComponent, decorators: [{
|
|
6754
|
-
type: Component,
|
|
6755
|
-
args: [{
|
|
6756
|
-
selector: 'f-canvas',
|
|
6757
|
-
templateUrl: './f-canvas.component.html',
|
|
6758
|
-
styleUrls: ['./f-canvas.component.scss'],
|
|
6759
|
-
exportAs: 'fComponent',
|
|
6760
|
-
host: {
|
|
6761
|
-
'class': 'f-component f-canvas',
|
|
6762
|
-
},
|
|
6763
|
-
providers: [
|
|
6764
|
-
{ provide: F_CANVAS, useExisting: FCanvasComponent }
|
|
6765
|
-
],
|
|
6766
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
6767
|
-
}]
|
|
6768
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i2.FMediator }, { type: FComponentsStore }]; }, propDecorators: { fCanvasChange: [{
|
|
6769
|
-
type: Output
|
|
6770
|
-
}], position: [{
|
|
6771
|
-
type: Input
|
|
6772
|
-
}], scale: [{
|
|
6773
|
-
type: Input
|
|
6774
|
-
}], fGroupsContainer: [{
|
|
6775
|
-
type: ViewChild,
|
|
6776
|
-
args: ['fGroupsContainer', { static: true }]
|
|
6777
|
-
}], fNodesContainer: [{
|
|
6778
|
-
type: ViewChild,
|
|
6779
|
-
args: ['fNodesContainer', { static: true }]
|
|
6780
|
-
}], fConnectionsContainer: [{
|
|
6781
|
-
type: ViewChild,
|
|
6782
|
-
args: ['fConnectionsContainer', { static: true }]
|
|
6783
|
-
}] } });
|
|
6784
|
-
|
|
6785
|
-
const F_CANVAS_PROVIDERS = [
|
|
6786
|
-
FCanvasComponent,
|
|
6787
|
-
];
|
|
6788
|
-
|
|
6789
|
-
const F_BACKGROUND_FEATURES = [
|
|
6790
|
-
AddPatternToBackgroundExecution
|
|
6791
|
-
];
|
|
6731
|
+
const F_CANVAS_ANIMATION_DURATION = 150;
|
|
6732
|
+
|
|
6733
|
+
function createSVGElement(tag, fBrowser) {
|
|
6734
|
+
return fBrowser.document.createElementNS('http://www.w3.org/2000/svg', tag);
|
|
6735
|
+
}
|
|
6792
6736
|
|
|
6793
6737
|
const COMMON_PROVIDERS = [
|
|
6794
6738
|
...F_CANVAS_FEATURES,
|
|
6739
|
+
...F_CONNECTION_FEATURES,
|
|
6795
6740
|
...F_BACKGROUND_FEATURES,
|
|
6796
6741
|
CreateConnectionMarkersExecution,
|
|
6797
6742
|
CreateRoundedRectFromElementExecution,
|
|
@@ -6816,54 +6761,14 @@ const COMMON_PROVIDERS = [
|
|
|
6816
6761
|
MoveFrontElementsBeforeTargetElementExecution,
|
|
6817
6762
|
];
|
|
6818
6763
|
|
|
6819
|
-
let uniqueId$
|
|
6820
|
-
let AddPatternToBackgroundExecution = class AddPatternToBackgroundExecution {
|
|
6821
|
-
constructor(fComponentsStore, fBrowser) {
|
|
6822
|
-
this.fComponentsStore = fComponentsStore;
|
|
6823
|
-
this.fBrowser = fBrowser;
|
|
6824
|
-
}
|
|
6825
|
-
get fBackground() {
|
|
6826
|
-
return this.fComponentsStore.fBackground;
|
|
6827
|
-
}
|
|
6828
|
-
handle(request) {
|
|
6829
|
-
var _a, _b, _c, _d, _e, _f, _g;
|
|
6830
|
-
const children = ((_a = request.fPattern) === null || _a === void 0 ? void 0 : _a.hostElement.getElementsByTagName('pattern')) || [];
|
|
6831
|
-
const pattern = children.length ? children[0] : undefined;
|
|
6832
|
-
if (pattern) {
|
|
6833
|
-
const defs = createSVGElement('defs', this.fBrowser);
|
|
6834
|
-
pattern.id = 'f-background-pattern-' + uniqueId$4++;
|
|
6835
|
-
(_b = request.fPattern) === null || _b === void 0 ? void 0 : _b.hostElement.remove();
|
|
6836
|
-
defs.appendChild(pattern);
|
|
6837
|
-
(_d = (_c = this.fBackground.hostElement) === null || _c === void 0 ? void 0 : _c.firstChild) === null || _d === void 0 ? void 0 : _d.appendChild(defs);
|
|
6838
|
-
const rect = createSVGElement('rect', this.fBrowser);
|
|
6839
|
-
rect.setAttribute('fill', 'url(#' + pattern.id + ')');
|
|
6840
|
-
rect.setAttribute('width', '100%');
|
|
6841
|
-
rect.setAttribute('height', '100%');
|
|
6842
|
-
(_e = this.fBackground.hostElement.firstChild) === null || _e === void 0 ? void 0 : _e.appendChild(rect);
|
|
6843
|
-
const transform = ((_f = this.fComponentsStore.fCanvas) === null || _f === void 0 ? void 0 : _f.transform) || TransformModelExtensions.default();
|
|
6844
|
-
(_g = request.fPattern) === null || _g === void 0 ? void 0 : _g.setTransform(transform);
|
|
6845
|
-
}
|
|
6846
|
-
}
|
|
6847
|
-
};
|
|
6848
|
-
AddPatternToBackgroundExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: AddPatternToBackgroundExecution, deps: [{ token: FComponentsStore }, { token: i1.BrowserService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6849
|
-
AddPatternToBackgroundExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: AddPatternToBackgroundExecution });
|
|
6850
|
-
AddPatternToBackgroundExecution = __decorate([
|
|
6851
|
-
FExecutionRegister(AddPatternToBackgroundRequest)
|
|
6852
|
-
], AddPatternToBackgroundExecution);
|
|
6853
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: AddPatternToBackgroundExecution, decorators: [{
|
|
6854
|
-
type: Injectable
|
|
6855
|
-
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: i1.BrowserService }]; } });
|
|
6856
|
-
|
|
6857
|
-
const F_BACKGROUND_PATTERN = new InjectionToken('F_BACKGROUND_PATTERN');
|
|
6858
|
-
|
|
6859
|
-
let uniqueId$3 = 0;
|
|
6764
|
+
let uniqueId$2 = 0;
|
|
6860
6765
|
class FRectPatternComponent {
|
|
6861
6766
|
constructor(elementReference, fBrowser) {
|
|
6862
6767
|
this.elementReference = elementReference;
|
|
6863
6768
|
this.fBrowser = fBrowser;
|
|
6864
6769
|
this._subscription$ = new Subscription();
|
|
6865
6770
|
this._stateChanges = new Subject();
|
|
6866
|
-
this.id = `f-pattern-${uniqueId$
|
|
6771
|
+
this.id = `f-pattern-${uniqueId$2++}`;
|
|
6867
6772
|
this._vColor = 'rgba(0,0,0,0.1)';
|
|
6868
6773
|
this._hColor = 'rgba(0,0,0,0.1)';
|
|
6869
6774
|
this._vSize = 20;
|
|
@@ -6941,11 +6846,11 @@ class FRectPatternComponent {
|
|
|
6941
6846
|
this._subscription$.unsubscribe();
|
|
6942
6847
|
}
|
|
6943
6848
|
}
|
|
6944
|
-
FRectPatternComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6945
|
-
FRectPatternComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
6849
|
+
FRectPatternComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FRectPatternComponent, deps: [{ token: i0.ElementRef }, { token: i1.BrowserService }], target: i0.ɵɵFactoryTarget.Component });
|
|
6850
|
+
FRectPatternComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: FRectPatternComponent, selector: "f-rect-pattern", inputs: { id: "id", vColor: "vColor", hColor: "hColor", vSize: "vSize", hSize: "hSize" }, host: { properties: { "attr.id": "id" } }, providers: [
|
|
6946
6851
|
{ provide: F_BACKGROUND_PATTERN, useExisting: FRectPatternComponent }
|
|
6947
6852
|
], ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
6948
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6853
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FRectPatternComponent, decorators: [{
|
|
6949
6854
|
type: Component,
|
|
6950
6855
|
args: [{
|
|
6951
6856
|
selector: "f-rect-pattern",
|
|
@@ -6970,14 +6875,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
6970
6875
|
type: Input
|
|
6971
6876
|
}] } });
|
|
6972
6877
|
|
|
6973
|
-
let uniqueId$
|
|
6878
|
+
let uniqueId$1 = 0;
|
|
6974
6879
|
class FCirclePatternComponent {
|
|
6975
6880
|
constructor(elementReference, fBrowser) {
|
|
6976
6881
|
this.elementReference = elementReference;
|
|
6977
6882
|
this.fBrowser = fBrowser;
|
|
6978
6883
|
this._subscription$ = new Subscription();
|
|
6979
6884
|
this._stateChanges = new Subject();
|
|
6980
|
-
this.id = `f-pattern-${uniqueId$
|
|
6885
|
+
this.id = `f-pattern-${uniqueId$1++}`;
|
|
6981
6886
|
this._color = 'rgba(0,0,0,0.1)';
|
|
6982
6887
|
this._radius = 20;
|
|
6983
6888
|
this._scaledRadius = 20;
|
|
@@ -7041,11 +6946,11 @@ class FCirclePatternComponent {
|
|
|
7041
6946
|
this._subscription$.unsubscribe();
|
|
7042
6947
|
}
|
|
7043
6948
|
}
|
|
7044
|
-
FCirclePatternComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7045
|
-
FCirclePatternComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
6949
|
+
FCirclePatternComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FCirclePatternComponent, deps: [{ token: i0.ElementRef }, { token: i1.BrowserService }], target: i0.ɵɵFactoryTarget.Component });
|
|
6950
|
+
FCirclePatternComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: FCirclePatternComponent, selector: "f-circle-pattern", inputs: { id: "id", color: "color", radius: "radius" }, host: { properties: { "attr.id": "id" } }, providers: [
|
|
7046
6951
|
{ provide: F_BACKGROUND_PATTERN, useExisting: FCirclePatternComponent }
|
|
7047
6952
|
], ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
7048
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6953
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FCirclePatternComponent, decorators: [{
|
|
7049
6954
|
type: Component,
|
|
7050
6955
|
args: [{
|
|
7051
6956
|
selector: "f-circle-pattern",
|
|
@@ -7069,13 +6974,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
7069
6974
|
const F_BACKGROUND = new InjectionToken('F_BACKGROUND');
|
|
7070
6975
|
class FBackgroundBase {
|
|
7071
6976
|
}
|
|
7072
|
-
FBackgroundBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7073
|
-
FBackgroundBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
7074
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6977
|
+
FBackgroundBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FBackgroundBase, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
6978
|
+
FBackgroundBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FBackgroundBase, ngImport: i0 });
|
|
6979
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FBackgroundBase, decorators: [{
|
|
7075
6980
|
type: Directive
|
|
7076
6981
|
}] });
|
|
7077
6982
|
|
|
7078
|
-
let uniqueId$1 = 0;
|
|
7079
6983
|
class FBackgroundComponent extends FBackgroundBase {
|
|
7080
6984
|
constructor(elementReference, fComponentsStore, fMediator) {
|
|
7081
6985
|
super();
|
|
@@ -7103,20 +7007,13 @@ class FBackgroundComponent extends FBackgroundBase {
|
|
|
7103
7007
|
this.fComponentsStore.fBackground = undefined;
|
|
7104
7008
|
}
|
|
7105
7009
|
}
|
|
7106
|
-
FBackgroundComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7107
|
-
FBackgroundComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
7108
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7010
|
+
FBackgroundComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FBackgroundComponent, deps: [{ token: i0.ElementRef }, { token: FComponentsStore }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Component });
|
|
7011
|
+
FBackgroundComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: FBackgroundComponent, selector: "f-background", host: { classAttribute: "f-component f-background" }, providers: [{ provide: F_BACKGROUND, useExisting: FBackgroundComponent }], queries: [{ propertyName: "fBackgroundPattern", first: true, predicate: F_BACKGROUND_PATTERN, descendants: true }], usesInheritance: true, ngImport: i0, template: "<svg><ng-content></ng-content></svg>", isInline: true, 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"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
7012
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FBackgroundComponent, decorators: [{
|
|
7109
7013
|
type: Component,
|
|
7110
|
-
args: [{
|
|
7111
|
-
selector: "f-background",
|
|
7112
|
-
template: "<svg><ng-content></ng-content></svg>",
|
|
7113
|
-
styleUrls: ["./f-background.component.scss"],
|
|
7114
|
-
host: {
|
|
7014
|
+
args: [{ selector: "f-background", template: "<svg><ng-content></ng-content></svg>", host: {
|
|
7115
7015
|
'class': 'f-component f-background'
|
|
7116
|
-
},
|
|
7117
|
-
providers: [{ provide: F_BACKGROUND, useExisting: FBackgroundComponent }],
|
|
7118
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
7119
|
-
}]
|
|
7016
|
+
}, 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"] }]
|
|
7120
7017
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: FComponentsStore }, { type: i2.FMediator }]; }, propDecorators: { fBackgroundPattern: [{
|
|
7121
7018
|
type: ContentChild,
|
|
7122
7019
|
args: [F_BACKGROUND_PATTERN, { static: false }]
|
|
@@ -7128,6 +7025,119 @@ const F_BACKGROUND_PROVIDERS = [
|
|
|
7128
7025
|
FCirclePatternComponent
|
|
7129
7026
|
];
|
|
7130
7027
|
|
|
7028
|
+
class FCanvasChangeEvent {
|
|
7029
|
+
constructor(position, scale) {
|
|
7030
|
+
this.position = position;
|
|
7031
|
+
this.scale = scale;
|
|
7032
|
+
}
|
|
7033
|
+
}
|
|
7034
|
+
|
|
7035
|
+
const F_CANVAS = new InjectionToken('F_CANVAS');
|
|
7036
|
+
class FCanvasBase {
|
|
7037
|
+
constructor() {
|
|
7038
|
+
this.transform = TransformModelExtensions.default();
|
|
7039
|
+
}
|
|
7040
|
+
getPosition() {
|
|
7041
|
+
return this.transform.position;
|
|
7042
|
+
}
|
|
7043
|
+
setPosition(position) {
|
|
7044
|
+
this.transform.position = position;
|
|
7045
|
+
}
|
|
7046
|
+
emitCanvasChangeEvent() {
|
|
7047
|
+
this.fCanvasChange.emit(new FCanvasChangeEvent(PointExtensions.sum(this.transform.position, this.transform.scaledPosition), this.transform.scale));
|
|
7048
|
+
}
|
|
7049
|
+
}
|
|
7050
|
+
FCanvasBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FCanvasBase, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
7051
|
+
FCanvasBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FCanvasBase, ngImport: i0 });
|
|
7052
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FCanvasBase, decorators: [{
|
|
7053
|
+
type: Directive
|
|
7054
|
+
}] });
|
|
7055
|
+
|
|
7056
|
+
class FCanvasComponent extends FCanvasBase {
|
|
7057
|
+
constructor(elementReference, fMediator, fComponentsStore) {
|
|
7058
|
+
super();
|
|
7059
|
+
this.elementReference = elementReference;
|
|
7060
|
+
this.fMediator = fMediator;
|
|
7061
|
+
this.fComponentsStore = fComponentsStore;
|
|
7062
|
+
this.fCanvasChange = new EventEmitter();
|
|
7063
|
+
}
|
|
7064
|
+
set position(value) {
|
|
7065
|
+
this.fMediator.send(new InputCanvasPositionRequest(this.transform, value));
|
|
7066
|
+
}
|
|
7067
|
+
set scale(value) {
|
|
7068
|
+
this.fMediator.send(new InputCanvasScaleRequest(this.transform, value));
|
|
7069
|
+
}
|
|
7070
|
+
get fNodes() {
|
|
7071
|
+
return this.fComponentsStore.fNodes;
|
|
7072
|
+
}
|
|
7073
|
+
get hostElement() {
|
|
7074
|
+
return this.elementReference.nativeElement;
|
|
7075
|
+
}
|
|
7076
|
+
ngOnInit() {
|
|
7077
|
+
this.fComponentsStore.fCanvas = this;
|
|
7078
|
+
}
|
|
7079
|
+
redraw() {
|
|
7080
|
+
var _a;
|
|
7081
|
+
(_a = this.fComponentsStore.fBackground) === null || _a === void 0 ? void 0 : _a.setTransform(this.transform);
|
|
7082
|
+
this.hostElement.setAttribute("style", `transform: ${TransformModelExtensions.toString(this.transform)}`);
|
|
7083
|
+
this.fMediator.send(new EmitTransformChangesRequest());
|
|
7084
|
+
}
|
|
7085
|
+
redrawWithAnimation() {
|
|
7086
|
+
var _a;
|
|
7087
|
+
(_a = this.fComponentsStore.fBackground) === null || _a === void 0 ? void 0 : _a.setTransform(this.transform);
|
|
7088
|
+
this.hostElement.setAttribute("style", `transition: transform ${F_CANVAS_ANIMATION_DURATION}ms ease-in-out; transform: ${TransformModelExtensions.toString(this.transform)}`);
|
|
7089
|
+
setTimeout(() => {
|
|
7090
|
+
this.redraw();
|
|
7091
|
+
}, F_CANVAS_ANIMATION_DURATION);
|
|
7092
|
+
}
|
|
7093
|
+
centerGroupOrNode(id, animated = true) {
|
|
7094
|
+
this.fMediator.send(new CenterGroupOrNodeRequest(id, animated));
|
|
7095
|
+
}
|
|
7096
|
+
fitToScreen(toCenter = PointExtensions.initialize(), animated = true) {
|
|
7097
|
+
this.fMediator.send(new FitToFlowRequest(toCenter, animated));
|
|
7098
|
+
}
|
|
7099
|
+
resetScaleAndCenter(animated = true) {
|
|
7100
|
+
this.fMediator.send(new ResetScaleAndCenterRequest(animated));
|
|
7101
|
+
}
|
|
7102
|
+
setZoom(scale, toPosition = PointExtensions.initialize()) {
|
|
7103
|
+
this.fMediator.send(new UpdateScaleRequest(scale, toPosition));
|
|
7104
|
+
}
|
|
7105
|
+
resetZoom() {
|
|
7106
|
+
this.fMediator.send(new ResetScaleRequest());
|
|
7107
|
+
}
|
|
7108
|
+
}
|
|
7109
|
+
FCanvasComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FCanvasComponent, deps: [{ token: i0.ElementRef }, { token: i2.FMediator }, { token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Component });
|
|
7110
|
+
FCanvasComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: FCanvasComponent, selector: "f-canvas", inputs: { position: "position", scale: "scale" }, outputs: { fCanvasChange: "fCanvasChange" }, host: { classAttribute: "f-component f-canvas" }, providers: [
|
|
7111
|
+
{ provide: F_CANVAS, useExisting: FCanvasComponent }
|
|
7112
|
+
], viewQueries: [{ propertyName: "fGroupsContainer", first: true, predicate: ["fGroupsContainer"], descendants: true, static: true }, { propertyName: "fNodesContainer", first: true, predicate: ["fNodesContainer"], descendants: true, static: true }, { propertyName: "fConnectionsContainer", first: true, predicate: ["fConnectionsContainer"], descendants: true, static: true }], exportAs: ["fComponent"], 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}:host.f-scaled-animate{transition:transform .09s}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
7113
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FCanvasComponent, decorators: [{
|
|
7114
|
+
type: Component,
|
|
7115
|
+
args: [{ selector: 'f-canvas', exportAs: 'fComponent', host: {
|
|
7116
|
+
'class': 'f-component f-canvas',
|
|
7117
|
+
}, providers: [
|
|
7118
|
+
{ provide: F_CANVAS, useExisting: FCanvasComponent }
|
|
7119
|
+
], 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}:host.f-scaled-animate{transition:transform .09s}\n"] }]
|
|
7120
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i2.FMediator }, { type: FComponentsStore }]; }, propDecorators: { fCanvasChange: [{
|
|
7121
|
+
type: Output
|
|
7122
|
+
}], position: [{
|
|
7123
|
+
type: Input
|
|
7124
|
+
}], scale: [{
|
|
7125
|
+
type: Input
|
|
7126
|
+
}], fGroupsContainer: [{
|
|
7127
|
+
type: ViewChild,
|
|
7128
|
+
args: ['fGroupsContainer', { static: true }]
|
|
7129
|
+
}], fNodesContainer: [{
|
|
7130
|
+
type: ViewChild,
|
|
7131
|
+
args: ['fNodesContainer', { static: true }]
|
|
7132
|
+
}], fConnectionsContainer: [{
|
|
7133
|
+
type: ViewChild,
|
|
7134
|
+
args: ['fConnectionsContainer', { static: true }]
|
|
7135
|
+
}] } });
|
|
7136
|
+
|
|
7137
|
+
const F_CANVAS_PROVIDERS = [
|
|
7138
|
+
FCanvasComponent,
|
|
7139
|
+
];
|
|
7140
|
+
|
|
7131
7141
|
class LineElement {
|
|
7132
7142
|
constructor(fBrowser, hostElement) {
|
|
7133
7143
|
this.hostElement = hostElement;
|
|
@@ -7288,9 +7298,9 @@ class NearestCoordinateFinder {
|
|
|
7288
7298
|
const F_LINE_ALIGNMENT = new InjectionToken('F_LINE_ALIGNMENT');
|
|
7289
7299
|
class FLineAlignmentBase {
|
|
7290
7300
|
}
|
|
7291
|
-
FLineAlignmentBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7292
|
-
FLineAlignmentBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
7293
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7301
|
+
FLineAlignmentBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FLineAlignmentBase, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
7302
|
+
FLineAlignmentBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FLineAlignmentBase, ngImport: i0 });
|
|
7303
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FLineAlignmentBase, decorators: [{
|
|
7294
7304
|
type: Directive
|
|
7295
7305
|
}] });
|
|
7296
7306
|
|
|
@@ -7361,24 +7371,17 @@ class FLineAlignmentComponent extends FLineAlignmentBase {
|
|
|
7361
7371
|
this.lineService.hideHorizontalLine();
|
|
7362
7372
|
}
|
|
7363
7373
|
}
|
|
7364
|
-
FLineAlignmentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7365
|
-
FLineAlignmentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
7374
|
+
FLineAlignmentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FLineAlignmentComponent, deps: [{ token: i0.ElementRef }, { token: FComponentsStore }, { token: FDraggableDataContext }, { token: i2.FMediator }, { token: i1.BrowserService }], target: i0.ɵɵFactoryTarget.Component });
|
|
7375
|
+
FLineAlignmentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: FLineAlignmentComponent, selector: "f-line-alignment", inputs: { fAlignThreshold: "fAlignThreshold" }, host: { classAttribute: "f-line-alignment f-component" }, providers: [
|
|
7366
7376
|
{ provide: F_LINE_ALIGNMENT, useExisting: FLineAlignmentComponent }
|
|
7367
7377
|
], 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"] });
|
|
7368
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7378
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FLineAlignmentComponent, decorators: [{
|
|
7369
7379
|
type: Component,
|
|
7370
|
-
args: [{
|
|
7371
|
-
selector: "f-line-alignment",
|
|
7372
|
-
template: "",
|
|
7373
|
-
styleUrls: ["./f-line-alignment.component.scss"],
|
|
7374
|
-
exportAs: "fComponent",
|
|
7375
|
-
host: {
|
|
7380
|
+
args: [{ selector: "f-line-alignment", template: "", exportAs: "fComponent", host: {
|
|
7376
7381
|
'class': 'f-line-alignment f-component'
|
|
7377
|
-
},
|
|
7378
|
-
providers: [
|
|
7382
|
+
}, providers: [
|
|
7379
7383
|
{ provide: F_LINE_ALIGNMENT, useExisting: FLineAlignmentComponent }
|
|
7380
|
-
],
|
|
7381
|
-
}]
|
|
7384
|
+
], 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"] }]
|
|
7382
7385
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: FComponentsStore }, { type: FDraggableDataContext }, { type: i2.FMediator }, { type: i1.BrowserService }]; }, propDecorators: { fAlignThreshold: [{
|
|
7383
7386
|
type: Input
|
|
7384
7387
|
}] } });
|
|
@@ -7387,21 +7390,6 @@ const F_LINE_ALIGNMENT_PROVIDERS = [
|
|
|
7387
7390
|
FLineAlignmentComponent
|
|
7388
7391
|
];
|
|
7389
7392
|
|
|
7390
|
-
function checkRectIsFinite(rect) {
|
|
7391
|
-
if (!Number.isFinite(rect.width) || !Number.isFinite(rect.height) || !Number.isFinite(rect.x) || !Number.isFinite(rect.y)) {
|
|
7392
|
-
return RectExtensions.initialize(0, 0, 0, 0);
|
|
7393
|
-
}
|
|
7394
|
-
return rect;
|
|
7395
|
-
}
|
|
7396
|
-
|
|
7397
|
-
class FMinimapData {
|
|
7398
|
-
constructor(element, scale = 1, viewBox = RectExtensions.initialize(0, 0, 0, 0)) {
|
|
7399
|
-
this.element = element;
|
|
7400
|
-
this.scale = scale;
|
|
7401
|
-
this.viewBox = viewBox;
|
|
7402
|
-
}
|
|
7403
|
-
}
|
|
7404
|
-
|
|
7405
7393
|
class FMinimapFlowDirective {
|
|
7406
7394
|
constructor(elementReference, fMediator, fComponentsStore) {
|
|
7407
7395
|
this.elementReference = elementReference;
|
|
@@ -7460,9 +7448,9 @@ class FMinimapFlowDirective {
|
|
|
7460
7448
|
this.hostElement.setAttribute('viewBox', `${viewBox.x} ${viewBox.y} ${viewBox.width} ${viewBox.height}`);
|
|
7461
7449
|
}
|
|
7462
7450
|
}
|
|
7463
|
-
FMinimapFlowDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7464
|
-
FMinimapFlowDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
7465
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7451
|
+
FMinimapFlowDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FMinimapFlowDirective, deps: [{ token: i0.ElementRef }, { token: i2.FMediator }, { token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Directive });
|
|
7452
|
+
FMinimapFlowDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FMinimapFlowDirective, selector: "svg[fMinimapFlow]", inputs: { fMinSize: "fMinSize" }, ngImport: i0 });
|
|
7453
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FMinimapFlowDirective, decorators: [{
|
|
7466
7454
|
type: Directive,
|
|
7467
7455
|
args: [{
|
|
7468
7456
|
selector: 'svg[fMinimapFlow]'
|
|
@@ -7520,9 +7508,9 @@ class FMinimapCanvasDirective {
|
|
|
7520
7508
|
}
|
|
7521
7509
|
}
|
|
7522
7510
|
}
|
|
7523
|
-
FMinimapCanvasDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7524
|
-
FMinimapCanvasDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
7525
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7511
|
+
FMinimapCanvasDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FMinimapCanvasDirective, deps: [{ token: i0.ElementRef }, { token: FComponentsStore }, { token: i1.BrowserService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
7512
|
+
FMinimapCanvasDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FMinimapCanvasDirective, selector: "g[fMinimapCanvas]", ngImport: i0 });
|
|
7513
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FMinimapCanvasDirective, decorators: [{
|
|
7526
7514
|
type: Directive,
|
|
7527
7515
|
args: [{
|
|
7528
7516
|
selector: 'g[fMinimapCanvas]'
|
|
@@ -7552,9 +7540,9 @@ class FMinimapViewDirective {
|
|
|
7552
7540
|
this.hostElement.setAttribute('height', viewBox.height.toString());
|
|
7553
7541
|
}
|
|
7554
7542
|
}
|
|
7555
|
-
FMinimapViewDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7556
|
-
FMinimapViewDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
7557
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7543
|
+
FMinimapViewDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FMinimapViewDirective, deps: [{ token: i0.ElementRef }, { token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Directive });
|
|
7544
|
+
FMinimapViewDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FMinimapViewDirective, selector: "rect[fMinimapView]", host: { classAttribute: "f-component f-minimap-view" }, ngImport: i0 });
|
|
7545
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FMinimapViewDirective, decorators: [{
|
|
7558
7546
|
type: Directive,
|
|
7559
7547
|
args: [{
|
|
7560
7548
|
selector: 'rect[fMinimapView]',
|
|
@@ -7594,25 +7582,17 @@ class FMinimapComponent {
|
|
|
7594
7582
|
this.subscriptions$.unsubscribe();
|
|
7595
7583
|
}
|
|
7596
7584
|
}
|
|
7597
|
-
FMinimapComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7598
|
-
FMinimapComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
7585
|
+
FMinimapComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FMinimapComponent, deps: [{ token: i0.ElementRef }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Component });
|
|
7586
|
+
FMinimapComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: FMinimapComponent, selector: "f-minimap", inputs: { fMinSize: "fMinSize" }, host: { classAttribute: "f-component f-minimap" }, providers: [
|
|
7599
7587
|
{ provide: F_DRAG_AND_DROP_PLUGIN, useExisting: FMinimapComponent },
|
|
7600
|
-
], viewQueries: [{ propertyName: "fMinimapCanvas", first: true, predicate: FMinimapCanvasDirective, descendants: true, static: true }, { propertyName: "fMinimapFlow", first: true, predicate: FMinimapFlowDirective, descendants: true, static: true }, { propertyName: "fMinimapView", first: true, predicate: FMinimapViewDirective, descendants: true, static: true }], exportAs: ["fComponent"], ngImport: i0, template: "<svg fMinimapFlow width=\"100%\" height=\"100%\" fLockedContext [fMinSize]=\"fMinSize\">\n <g fMinimapCanvas></g>\n <rect fMinimapView x=\"0\" y=\"0\" width=\"100%\" height=\"100%\" stroke=\"none\"/>\n</svg>\n\n", styles: [":host{display:block;position:absolute}:host svg{overflow:hidden}\n"],
|
|
7601
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7588
|
+
], viewQueries: [{ propertyName: "fMinimapCanvas", first: true, predicate: FMinimapCanvasDirective, descendants: true, static: true }, { propertyName: "fMinimapFlow", first: true, predicate: FMinimapFlowDirective, descendants: true, static: true }, { propertyName: "fMinimapView", first: true, predicate: FMinimapViewDirective, descendants: true, static: true }], exportAs: ["fComponent"], ngImport: i0, template: "<svg fMinimapFlow width=\"100%\" height=\"100%\" fLockedContext [fMinSize]=\"fMinSize\">\n <g fMinimapCanvas></g>\n <rect fMinimapView x=\"0\" y=\"0\" width=\"100%\" height=\"100%\" stroke=\"none\"/>\n</svg>\n\n", styles: [":host{display:block;position:absolute}:host svg{overflow:hidden}\n"], dependencies: [{ kind: "directive", type: FMinimapCanvasDirective, selector: "g[fMinimapCanvas]" }, { kind: "directive", type: FMinimapViewDirective, selector: "rect[fMinimapView]" }, { kind: "directive", type: FMinimapFlowDirective, selector: "svg[fMinimapFlow]", inputs: ["fMinSize"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
7589
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FMinimapComponent, decorators: [{
|
|
7602
7590
|
type: Component,
|
|
7603
|
-
args: [{
|
|
7604
|
-
selector: 'f-minimap',
|
|
7605
|
-
templateUrl: './f-minimap.component.html',
|
|
7606
|
-
styleUrls: ['./f-minimap.component.scss'],
|
|
7607
|
-
exportAs: 'fComponent',
|
|
7608
|
-
host: {
|
|
7591
|
+
args: [{ selector: 'f-minimap', exportAs: 'fComponent', host: {
|
|
7609
7592
|
'class': 'f-component f-minimap',
|
|
7610
|
-
},
|
|
7611
|
-
providers: [
|
|
7593
|
+
}, providers: [
|
|
7612
7594
|
{ provide: F_DRAG_AND_DROP_PLUGIN, useExisting: FMinimapComponent },
|
|
7613
|
-
],
|
|
7614
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
7615
|
-
}]
|
|
7595
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<svg fMinimapFlow width=\"100%\" height=\"100%\" fLockedContext [fMinSize]=\"fMinSize\">\n <g fMinimapCanvas></g>\n <rect fMinimapView x=\"0\" y=\"0\" width=\"100%\" height=\"100%\" stroke=\"none\"/>\n</svg>\n\n", styles: [":host{display:block;position:absolute}:host svg{overflow:hidden}\n"] }]
|
|
7616
7596
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i2.FMediator }]; }, propDecorators: { fMinimapCanvas: [{
|
|
7617
7597
|
type: ViewChild,
|
|
7618
7598
|
args: [FMinimapCanvasDirective, { static: true }]
|
|
@@ -7633,69 +7613,6 @@ const F_MINIMAP_PROVIDERS = [
|
|
|
7633
7613
|
FMinimapFlowDirective,
|
|
7634
7614
|
];
|
|
7635
7615
|
|
|
7636
|
-
class FSelectionAreaBase {
|
|
7637
|
-
}
|
|
7638
|
-
FSelectionAreaBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FSelectionAreaBase, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
7639
|
-
FSelectionAreaBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: FSelectionAreaBase, ngImport: i0 });
|
|
7640
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FSelectionAreaBase, decorators: [{
|
|
7641
|
-
type: Directive
|
|
7642
|
-
}] });
|
|
7643
|
-
|
|
7644
|
-
class FSelectionAreaComponent extends FSelectionAreaBase {
|
|
7645
|
-
constructor(elementReference, fMediator) {
|
|
7646
|
-
super();
|
|
7647
|
-
this.elementReference = elementReference;
|
|
7648
|
-
this.fMediator = fMediator;
|
|
7649
|
-
}
|
|
7650
|
-
get hostElement() {
|
|
7651
|
-
return this.elementReference.nativeElement;
|
|
7652
|
-
}
|
|
7653
|
-
ngOnInit() {
|
|
7654
|
-
this.hostElement.style.display = 'none';
|
|
7655
|
-
}
|
|
7656
|
-
hide() {
|
|
7657
|
-
this.hostElement.style.display = 'none';
|
|
7658
|
-
}
|
|
7659
|
-
show() {
|
|
7660
|
-
this.hostElement.style.display = 'block';
|
|
7661
|
-
}
|
|
7662
|
-
draw(object) {
|
|
7663
|
-
const style = this.hostElement.style;
|
|
7664
|
-
style.left = object.x + 'px';
|
|
7665
|
-
style.top = object.y + 'px';
|
|
7666
|
-
style.width = object.width + 'px';
|
|
7667
|
-
style.height = object.height + 'px';
|
|
7668
|
-
}
|
|
7669
|
-
onPointerDown(event) {
|
|
7670
|
-
this.fMediator.send(new SelectionAreaPreparationRequest(event, this));
|
|
7671
|
-
}
|
|
7672
|
-
onPointerUp(event) {
|
|
7673
|
-
this.fMediator.send(new SelectionAreaFinalizeRequest(event));
|
|
7674
|
-
}
|
|
7675
|
-
}
|
|
7676
|
-
FSelectionAreaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FSelectionAreaComponent, deps: [{ token: i0.ElementRef }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Component });
|
|
7677
|
-
FSelectionAreaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: FSelectionAreaComponent, selector: "f-selection-area", host: { classAttribute: "f-selection-area f-component" }, providers: [
|
|
7678
|
-
{ provide: F_DRAG_AND_DROP_PLUGIN, useExisting: FSelectionAreaComponent },
|
|
7679
|
-
], usesInheritance: true, ngImport: i0, template: ``, isInline: true, styles: [":host{position:absolute}\n"] });
|
|
7680
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FSelectionAreaComponent, decorators: [{
|
|
7681
|
-
type: Component,
|
|
7682
|
-
args: [{
|
|
7683
|
-
selector: "f-selection-area",
|
|
7684
|
-
template: ``,
|
|
7685
|
-
styleUrls: ['./f-selection-area.component.scss'],
|
|
7686
|
-
host: {
|
|
7687
|
-
'class': 'f-selection-area f-component'
|
|
7688
|
-
},
|
|
7689
|
-
providers: [
|
|
7690
|
-
{ provide: F_DRAG_AND_DROP_PLUGIN, useExisting: FSelectionAreaComponent },
|
|
7691
|
-
],
|
|
7692
|
-
}]
|
|
7693
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i2.FMediator }]; } });
|
|
7694
|
-
|
|
7695
|
-
const F_SELECTION_AREA_PROVIDERS = [
|
|
7696
|
-
FSelectionAreaComponent
|
|
7697
|
-
];
|
|
7698
|
-
|
|
7699
7616
|
const F_FLOW = new InjectionToken('F_FLOW');
|
|
7700
7617
|
class FFlowBase {
|
|
7701
7618
|
}
|
|
@@ -7735,7 +7652,6 @@ class FFlowComponent extends FFlowBase {
|
|
|
7735
7652
|
return this.fComponentsStore.componentsData$.pipe(startWith(null), debounceTime(1)).subscribe(() => {
|
|
7736
7653
|
this.fMediator.send(new RedrawConnectionsRequest());
|
|
7737
7654
|
if (!this.isLoaded) {
|
|
7738
|
-
// this.fMediator.send(new ShowConnectionsAfterCalculationsRequest());
|
|
7739
7655
|
this.isLoaded = true;
|
|
7740
7656
|
this.fLoaded.emit();
|
|
7741
7657
|
}
|
|
@@ -7772,39 +7688,32 @@ class FFlowComponent extends FFlowBase {
|
|
|
7772
7688
|
this.subscription$.unsubscribe();
|
|
7773
7689
|
}
|
|
7774
7690
|
}
|
|
7775
|
-
FFlowComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7776
|
-
FFlowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
7691
|
+
FFlowComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FFlowComponent, deps: [{ token: i0.ElementRef }, { token: FComponentsStore }, { token: i2.FMediator }, { token: i1.BrowserService }], target: i0.ɵɵFactoryTarget.Component });
|
|
7692
|
+
FFlowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: FFlowComponent, selector: "f-flow", inputs: { fFlowId: "fFlowId" }, outputs: { fLoaded: "fLoaded" }, host: { properties: { "attr.id": "fFlowId" }, classAttribute: "f-component f-flow" }, providers: [
|
|
7777
7693
|
FMediator,
|
|
7778
7694
|
FComponentsStore,
|
|
7779
7695
|
FTransformStore,
|
|
7780
7696
|
FDraggableDataContext,
|
|
7781
7697
|
FConnectionFactory,
|
|
7782
|
-
...F_DRAGGABLE_PROVIDERS,
|
|
7783
7698
|
...COMMON_PROVIDERS,
|
|
7699
|
+
...F_DRAGGABLE_PROVIDERS,
|
|
7784
7700
|
{ provide: F_FLOW, useExisting: FFlowComponent },
|
|
7785
7701
|
], usesInheritance: true, ngImport: i0, template: "<ng-container>\n <ng-content select=\"[fDefinitions]\"></ng-content>\n\n <ng-content select=\"f-background\"></ng-content>\n\n <ng-content select=\"f-line-alignment\"></ng-content>\n\n <ng-content select=\"f-canvas\"></ng-content>\n\n <ng-content select=\"f-selection-area\"></ng-content>\n\n <ng-content select=\"f-minimap\"></ng-content>\n</ng-container>\n", styles: [":host{display:block;position:relative;width:100%;height:100%;overflow:hidden;pointer-events:all;-webkit-user-select:none;user-select:none;touch-action:none}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
7786
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7702
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FFlowComponent, decorators: [{
|
|
7787
7703
|
type: Component,
|
|
7788
|
-
args: [{
|
|
7789
|
-
selector: 'f-flow',
|
|
7790
|
-
templateUrl: './f-flow.component.html',
|
|
7791
|
-
styleUrls: ['./f-flow.component.scss'],
|
|
7792
|
-
host: {
|
|
7704
|
+
args: [{ selector: 'f-flow', host: {
|
|
7793
7705
|
'[attr.id]': 'fFlowId',
|
|
7794
7706
|
class: "f-component f-flow",
|
|
7795
|
-
},
|
|
7796
|
-
providers: [
|
|
7707
|
+
}, providers: [
|
|
7797
7708
|
FMediator,
|
|
7798
7709
|
FComponentsStore,
|
|
7799
7710
|
FTransformStore,
|
|
7800
7711
|
FDraggableDataContext,
|
|
7801
7712
|
FConnectionFactory,
|
|
7802
|
-
...F_DRAGGABLE_PROVIDERS,
|
|
7803
7713
|
...COMMON_PROVIDERS,
|
|
7714
|
+
...F_DRAGGABLE_PROVIDERS,
|
|
7804
7715
|
{ provide: F_FLOW, useExisting: FFlowComponent },
|
|
7805
|
-
],
|
|
7806
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
7807
|
-
}]
|
|
7716
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container>\n <ng-content select=\"[fDefinitions]\"></ng-content>\n\n <ng-content select=\"f-background\"></ng-content>\n\n <ng-content select=\"f-line-alignment\"></ng-content>\n\n <ng-content select=\"f-canvas\"></ng-content>\n\n <ng-content select=\"f-selection-area\"></ng-content>\n\n <ng-content select=\"f-minimap\"></ng-content>\n</ng-container>\n", styles: [":host{display:block;position:relative;width:100%;height:100%;overflow:hidden;pointer-events:all;-webkit-user-select:none;user-select:none;touch-action:none}\n"] }]
|
|
7808
7717
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: FComponentsStore }, { type: i2.FMediator }, { type: i1.BrowserService }]; }, propDecorators: { fFlowId: [{
|
|
7809
7718
|
type: Input
|
|
7810
7719
|
}], fLoaded: [{
|
|
@@ -7935,9 +7844,9 @@ class FZoomDirective extends FZoomBase {
|
|
|
7935
7844
|
super.unsubscribe();
|
|
7936
7845
|
}
|
|
7937
7846
|
}
|
|
7938
|
-
FZoomDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7939
|
-
FZoomDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
7940
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7847
|
+
FZoomDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FZoomDirective, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Directive });
|
|
7848
|
+
FZoomDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FZoomDirective, selector: "f-canvas[fZoom]", inputs: { fFlowZoom: ["fZoom", "fFlowZoom"], minimum: ["fZoomMinimum", "minimum"], maximum: ["fZoomMaximum", "maximum"], step: ["fZoomStep", "step"], dblClickStep: ["fZoomDblClickStep", "dblClickStep"] }, host: { classAttribute: "f-zoom f-component" }, providers: [{ provide: F_ZOOM, useExisting: FZoomDirective }], exportAs: ["fComponent"], usesInheritance: true, ngImport: i0 });
|
|
7849
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FZoomDirective, decorators: [{
|
|
7941
7850
|
type: Directive,
|
|
7942
7851
|
args: [{
|
|
7943
7852
|
selector: "f-canvas[fZoom]",
|
|
@@ -7970,12 +7879,10 @@ const F_ZOOM_PROVIDERS = [
|
|
|
7970
7879
|
|
|
7971
7880
|
class FFlowModule {
|
|
7972
7881
|
}
|
|
7973
|
-
FFlowModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7974
|
-
FFlowModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
7975
|
-
FFlowModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
7976
|
-
|
|
7977
|
-
]] });
|
|
7978
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FFlowModule, decorators: [{
|
|
7882
|
+
FFlowModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FFlowModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7883
|
+
FFlowModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: FFlowModule, declarations: [FBackgroundComponent, FRectPatternComponent, FCirclePatternComponent, FCanvasComponent, FZoomDirective, FConnectionTextComponent, FConnectionTextPathDirective, FConnectionDragHandleComponent, FConnectionGradientComponent, FConnectionPathComponent, FConnectionSelectionComponent, FConnectionComponent, FConnectionCenterDirective, FConnectionForCreateComponent, FMarkerDirective, FSnapConnectionComponent, FNodeInputDirective, FNodeOutletDirective, FNodeOutputDirective, FExternalItemDirective, FFlowComponent, FLineAlignmentComponent, FMinimapComponent, FMinimapCanvasDirective, FMinimapViewDirective, FMinimapFlowDirective, FGroupDirective, FNodeDirective, FDragHandleDirective, FResizeHandleDirective, FSelectionAreaComponent, FDraggableDirective], imports: [CommonModule], exports: [FBackgroundComponent, FRectPatternComponent, FCirclePatternComponent, FCanvasComponent, FZoomDirective, FConnectionTextComponent, FConnectionTextPathDirective, FConnectionDragHandleComponent, FConnectionGradientComponent, FConnectionPathComponent, FConnectionSelectionComponent, FConnectionComponent, FConnectionCenterDirective, FConnectionForCreateComponent, FMarkerDirective, FSnapConnectionComponent, FNodeInputDirective, FNodeOutletDirective, FNodeOutputDirective, FExternalItemDirective, FFlowComponent, FLineAlignmentComponent, FMinimapComponent, FMinimapCanvasDirective, FMinimapViewDirective, FMinimapFlowDirective, FGroupDirective, FNodeDirective, FDragHandleDirective, FResizeHandleDirective, FSelectionAreaComponent, FDraggableDirective] });
|
|
7884
|
+
FFlowModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FFlowModule, imports: [CommonModule] });
|
|
7885
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FFlowModule, decorators: [{
|
|
7979
7886
|
type: NgModule,
|
|
7980
7887
|
args: [{
|
|
7981
7888
|
declarations: [
|
|
@@ -8016,5 +7923,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
8016
7923
|
* Generated bundle index. Do not edit.
|
|
8017
7924
|
*/
|
|
8018
7925
|
|
|
8019
|
-
export { AddPatternToBackgroundExecution, AddPatternToBackgroundRequest, ApplyChildResizeRestrictionsExecution, ApplyChildResizeRestrictionsRequest, ApplyParentResizeRestrictionsExecution, ApplyParentResizeRestrictionsRequest, CANVAS_MOVE_FINALIZE_PROVIDERS, CANVAS_MOVE_PREPARATION_PROVIDERS, CANVAS_PROVIDERS, COMMON_PROVIDERS, CONNECTIONS_PROVIDERS,
|
|
8020
|
-
//# sourceMappingURL=foblex-flow.
|
|
7926
|
+
export { AddPatternToBackgroundExecution, AddPatternToBackgroundRequest, ApplyChildResizeRestrictionsExecution, ApplyChildResizeRestrictionsRequest, ApplyParentResizeRestrictionsExecution, ApplyParentResizeRestrictionsRequest, CANVAS_MOVE_FINALIZE_PROVIDERS, CANVAS_MOVE_PREPARATION_PROVIDERS, CANVAS_PROVIDERS, COMMON_PROVIDERS, CONNECTIONS_PROVIDERS, CONNECTION_GRADIENT, CONNECTION_PATH, CONNECTION_TEXT, CREATE_MOVE_NODE_DRAG_MODEL_FROM_SELECTION_PROVIDERS, CalculateCenterBetweenPointsHandler, CalculateCenterBetweenPointsRequest, CalculateChangedPositionExecution, CalculateChangedPositionRequest, CalculateChangedSizeExecution, CalculateChangedSizeRequest, CalculateConnectionCenterHandler, CalculateConnectionCenterRequest, CalculateConnectorConnectableSideHandler, CalculateConnectorConnectableSideRequest, CalculateFlowPointFromMinimapPointExecution, CalculateFlowPointFromMinimapPointRequest, CanvasDragHandler, CanvasMoveFinalizeExecution, CanvasMoveFinalizeRequest, CanvasMoveFinalizeValidator, CanvasMovePreparationExecution, CanvasMovePreparationRequest, CanvasMovePreparationValidator, CenterGroupOrNodeExecution, CenterGroupOrNodeRequest, ClearSelectionExecution, ClearSelectionRequest, ConnectionBaseDragHandler, ConnectionDragHandler, ConnectionSourceDragHandler, ConnectionTargetDragHandler, CreateConnectionDragHandler, CreateConnectionDragHandlerExecution, CreateConnectionDragHandlerRequest, CreateConnectionFinalizeExecution, CreateConnectionFinalizeRequest, CreateConnectionFinalizeValidator, CreateConnectionFromOutletPreparationExecution, CreateConnectionFromOutletPreparationRequest, CreateConnectionFromOutputPreparationExecution, CreateConnectionFromOutputPreparationRequest, CreateConnectionFromOutputPreparationValidator, CreateConnectionMarkersExecution, CreateConnectionMarkersRequest, CreateConnectionPreparationExecution, CreateConnectionPreparationRequest, CreateConnectionPreparationValidator, CreateMoveNodesDragModelFromSelectionExecution, CreateMoveNodesDragModelFromSelectionRequest, CreateRoundedRectFromElementExecution, CreateRoundedRectFromElementRequest, DRAG_AND_DROP_COMMON_PROVIDERS, EFConnectableSide, EFConnectionBehavior, EFConnectionType, EFMarkerType, EFResizeHandleType, EXTERNAL_ITEM_FINALIZE_PROVIDERS, EXTERNAL_ITEM_PREPARATION_PROVIDERS, EmitTransformChangesExecution, EmitTransformChangesRequest, ExternalItemDragHandler, ExternalItemFinalizeExecution, ExternalItemFinalizeRequest, ExternalItemFinalizeValidator, ExternalItemPreparationExecution, ExternalItemPreparationRequest, ExternalItemPreparationValidator, FBackgroundBase, FBackgroundComponent, FBezierPathBuilder, FCanvasBase, FCanvasChangeEvent, FCanvasComponent, FCirclePatternComponent, FComponentsStore, FConnectionBase, FConnectionCenterDirective, FConnectionComponent, FConnectionDragHandleComponent, FConnectionFactory, FConnectionForCreateComponent, FConnectionGradientComponent, FConnectionPathComponent, FConnectionSelectionComponent, FConnectionTextComponent, FConnectionTextPathDirective, FConnectorBase, FCreateConnectionEvent, FCreateNodeEvent, FDragHandleDirective, FDraggableBase, FDraggableDataContext, FDraggableDirective, FExternalItemBase, FExternalItemDirective, FExternalItemService, FFlowBase, FFlowComponent, FFlowModule, FGroupDirective, FLineAlignmentBase, FLineAlignmentComponent, FMarkerBase, FMarkerDirective, FMinimapCanvasDirective, FMinimapComponent, FMinimapData, FMinimapDragHandler, FMinimapFlowDirective, FMinimapViewDirective, FNodeBase, FNodeDirective, FNodeInputBase, FNodeInputDirective, FNodeOutletBase, FNodeOutletDirective, FNodeOutputBase, FNodeOutputDirective, FReassignConnectionEvent, FRectPatternComponent, FResizeHandleDirective, FResizeObserver, FRotateHandleDirective, FSegmentPathBuilder, FSelectionAreaBase, FSelectionAreaComponent, FSelectionChangeEvent, FSnapConnectionComponent, FStraightPathBuilder, FTransformStore, FZoomBase, FZoomDirective, F_BACKGROUND, F_BACKGROUND_FEATURES, F_BACKGROUND_PATTERN, F_BACKGROUND_PROVIDERS, F_CANVAS, F_CANVAS_ANIMATION_DURATION, F_CANVAS_FEATURES, F_CANVAS_PROVIDERS, F_CONNECTION_BUILDERS, F_CONNECTION_DRAG_HANDLE_CLASS, F_CONNECTION_FEATURES, F_CONNECTION_IDENTIFIERS, F_CONNECTION_PROVIDERS, F_CONNECTORS_PROVIDERS, F_DRAGGABLE_PROVIDERS, F_DRAG_AND_DROP_PLUGIN, F_DRAG_HANDLE, F_EXTERNAL_ITEM, F_EXTERNAL_ITEM_DRAG_AND_DROP_PROVIDERS, F_EXTERNAL_ITEM_PROVIDERS, F_FLOW, F_FLOW_PROVIDERS, F_LINE_ALIGNMENT, F_LINE_ALIGNMENT_PROVIDERS, F_MARKER, F_MINIMAP_DRAG_AND_DROP_PROVIDERS, F_MINIMAP_PROVIDERS, F_NODE, F_NODE_INPUT, F_NODE_OUTLET, F_NODE_OUTPUT, F_NODE_PROVIDERS, F_RESIZE_HANDLE, F_SELECTED_CLASS, F_SELECTION_AREA_DRAG_AND_DROP_PROVIDERS, F_SELECTION_AREA_PROVIDERS, F_SELECTION_FEATURES, F_ZOOM, F_ZOOM_PROVIDERS, FindClosestInputUsingSnapThresholdExecution, FindClosestInputUsingSnapThresholdRequest, FitToFlowExecution, FitToFlowRequest, GET_FLOW_STATE_PROVIDERS, GetAllCanBeConnectedInputPositionsExecution, GetAllCanBeConnectedInputPositionsRequest, GetCanBeConnectedOutputByOutletExecution, GetCanBeConnectedOutputByOutletRequest, GetCanBeConnectedOutputByOutletValidator, GetCanBeSelectedItemsExecution, GetConnectionLineExecution, GetConnectionLineRequest, GetConnectorWithRectExecution, GetConnectorWithRectRequest, GetDeepChildrenNodesAndGroupsExecution, GetDeepChildrenNodesAndGroupsRequest, GetElementRectInFlowExecution, GetElementRectInFlowRequest, GetFlowStateConnectionsExecution, GetFlowStateConnectionsRequest, GetFlowStateExecution, GetFlowStateNodesExecution, GetFlowStateNodesRequest, GetFlowStateRequest, GetInputUnderPointerExecution, GetInputUnderPointerRequest, GetInputUnderPointerValidator, GetNodeMoveRestrictionsExecution, GetNodeMoveRestrictionsRequest, GetNodePaddingExecution, GetNodePaddingRequest, GetNodeResizeRestrictionsExecution, GetNodeResizeRestrictionsRequest, GetNodesRectExecution, GetNodesRectRequest, GetNormalizedChildrenNodesRectExecution, GetNormalizedChildrenNodesRectRequest, GetNormalizedNodeRectExecution, GetNormalizedNodeRectRequest, GetNormalizedParentNodeRectExecution, GetNormalizedParentNodeRectRequest, GetParentNodesExecution, GetParentNodesRequest, GetPositionInFlowExecution, GetPositionInFlowRequest, GetScaledNodeRectsWithFlowPositionExecution, GetScaledNodeRectsWithFlowPositionRequest, GetSelectionExecution, GetSelectionRequest, InputCanvasPositionExecution, InputCanvasPositionRequest, InputCanvasScaleExecution, InputCanvasScaleRequest, IsArrayHasParentNodeExecution, IsArrayHasParentNodeRequest, IsConnectionUnderNodeExecution, LineElement, LineService, MINIMAP_DRAG_FINALIZE_PROVIDERS, MINIMAP_DRAG_PREPARATION_PROVIDERS, MinimapDragFinalizeExecution, MinimapDragFinalizeRequest, MinimapDragFinalizeValidator, MinimapDragPreparationExecution, MinimapDragPreparationRequest, MinimapDragPreparationValidator, MoveFrontElementsBeforeTargetElementExecution, MoveFrontElementsBeforeTargetElementRequest, NODE_MOVE_FINALIZE_PROVIDERS, NODE_MOVE_PREPARATION_PROVIDERS, NODE_PROVIDERS, NODE_RESIZE_FINALIZE_PROVIDERS, NODE_RESIZE_PREPARATION_PROVIDERS, NODE_RESIZE_PROVIDERS, NearestCoordinateFinder, NodeDragHandler, NodeMoveFinalizeExecution, NodeMoveFinalizeRequest, NodeMoveFinalizeValidator, NodeMovePreparationExecution, NodeMovePreparationRequest, NodeMovePreparationValidator, NodeResizeByChildDragHandler, NodeResizeDragHandler, NodeResizeFinalizeExecution, NodeResizeFinalizeRequest, NodeResizeFinalizeValidator, NodeResizePreparationExecution, NodeResizePreparationRequest, NodeResizePreparationValidator, PutInputConnectionHandlersToArrayExecution, PutInputConnectionHandlersToArrayRequest, PutOutputConnectionHandlersToArrayExecution, PutOutputConnectionHandlersToArrayRequest, RESIZE_DIRECTIONS, ReassignConnectionDragHandler, ReassignConnectionFinalizeExecution, ReassignConnectionFinalizeRequest, ReassignConnectionFinalizeValidator, ReassignConnectionPreparationExecution, ReassignConnectionPreparationRequest, ReassignConnectionPreparationValidator, RedrawConnectionsExecution, RedrawConnectionsRequest, ResetScaleAndCenterExecution, ResetScaleAndCenterRequest, ResetScaleExecution, ResetScaleRequest, SELECTION_AREA_FINALIZE_PROVIDERS, SELECTION_AREA_PREPARATION_PROVIDERS, SINGLE_SELECT_PROVIDERS, SelectAllExecution, SelectAllRequest, SelectAndUpdateNodeLayerExecution, SelectAndUpdateNodeLayerRequest, SelectExecution, SelectRequest, SelectionAreaDragHandle, SelectionAreaFinalizeExecution, SelectionAreaFinalizeRequest, SelectionAreaFinalizeValidator, SelectionAreaPreparationExecution, SelectionAreaPreparationRequest, SelectionAreaPreparationValidator, ShowConnectionsAfterCalculationsExecution, ShowConnectionsAfterCalculationsRequest, SingleSelectExecution, SingleSelectRequest, SingleSelectValidator, SortItemLayersExecution, SortItemLayersRequest, SortItemsByParentExecution, SortItemsByParentRequest, SortNodeLayersExecution, SortNodeLayersRequest, SubscribeOnTransformChangesExecution, SubscribeOnTransformChangesRequest, UpdateItemAndChildrenLayersExecution, UpdateItemAndChildrenLayersRequest, UpdateScaleExecution, UpdateScaleRequest, checkRectIsFinite, createSVGElement, getExternalItem, getMarkerEndId, getMarkerSelectedEndId, getMarkerSelectedStartId, getMarkerStartId, isExternalItem, isGroup, isNode, isNodeOutlet, isNodeOutput, mixinChangeSelection, mixinChangeVisibility };
|
|
7927
|
+
//# sourceMappingURL=foblex-flow.mjs.map
|