@foblex/flow 14.0.0 → 16.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/domain/create-connection-markers/create-connection-markers.execution.mjs +60 -0
- package/esm2022/domain/create-rounded-rect-from-element/create-rounded-rect-from-element.execution.mjs +38 -0
- package/esm2022/domain/emit-transform-changes/emit-transform-changes.execution.mjs +23 -0
- package/esm2022/domain/f-background/add-pattern-to-background/add-pattern-to-background.execution.mjs +46 -0
- package/esm2022/domain/f-canvas/center-group-or-node/center-group-or-node.execution.mjs +48 -0
- package/esm2022/domain/f-canvas/fit-to-flow/fit-to-flow.execution.mjs +55 -0
- package/esm2022/domain/f-canvas/input-canvas-position/input-canvas-position.execution.mjs +32 -0
- package/esm2022/domain/f-canvas/input-canvas-scale/input-canvas-scale.execution.mjs +27 -0
- package/esm2022/domain/f-canvas/reset-scale/reset-scale.execution.mjs +28 -0
- package/esm2022/domain/f-canvas/reset-scale-and-center/reset-scale-and-center.execution.mjs +50 -0
- package/esm2022/domain/f-canvas/update-scale/update-scale.execution.mjs +33 -0
- package/esm2022/domain/f-connection/find-closest-input-using-snap-threshold/find-closest-input-using-snap-threshold.execution.mjs +38 -0
- package/esm2022/domain/f-connection/get-all-can-be-connected-input-positions/get-all-can-be-connected-input-positions.execution.mjs +54 -0
- package/esm2022/domain/f-connection/get-connector-with-rect/get-connector-with-rect.execution.mjs +27 -0
- package/esm2022/domain/f-selection/clear-selection/clear-selection.execution.mjs +25 -0
- package/esm2022/domain/f-selection/get-selection/get-selection.execution.mjs +34 -0
- package/esm2022/domain/f-selection/select/select.execution.mjs +43 -0
- package/esm2022/domain/f-selection/select-all/select-all.execution.mjs +37 -0
- package/esm2022/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.execution.mjs +34 -0
- package/esm2022/domain/get-can-be-selected-items/get-can-be-selected-items.execution.mjs +56 -0
- package/esm2022/domain/get-connection-line/get-connection-line.execution.mjs +66 -0
- package/esm2022/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.execution.mjs +34 -0
- package/esm2022/domain/get-element-rect-in-flow/get-element-rect-in-flow.execution.mjs +42 -0
- package/esm2022/domain/get-flow-state/get-flow-state-connections/get-flow-state-connections.execution.mjs +32 -0
- package/esm2022/domain/get-flow-state/get-flow-state-nodes/get-flow-state-nodes.execution.mjs +49 -0
- package/esm2022/domain/get-flow-state/get-flow-state.execution.mjs +38 -0
- package/esm2022/domain/get-nodes-rect/get-nodes-rect.execution.mjs +30 -0
- package/esm2022/domain/get-position-in-flow/get-position-in-flow.execution.mjs +31 -0
- package/esm2022/domain/get-scaled-node-rects-with-flow-position/get-scaled-node-rects-with-flow-position.execution.mjs +33 -0
- package/esm2022/domain/is-connection-under-node/is-connection-under-node.execution.mjs +75 -0
- package/esm2022/domain/redraw-connections/redraw-connections.execution.mjs +62 -0
- package/esm2022/domain/show-connections-after-calculations/show-connections-after-calculations.execution.mjs +25 -0
- package/esm2022/domain/sort-item-layers/sort-item-layers.execution.mjs +29 -0
- package/esm2022/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.execution.mjs +56 -0
- package/esm2022/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.execution.mjs +58 -0
- package/esm2022/domain/subscribe-on-transform-changes/subscribe-on-transform-changes.execution.mjs +25 -0
- package/esm2022/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element.execution.mjs +29 -0
- package/esm2022/domain/update-item-and-children-layers/update-item-and-children-layers.execution.mjs +93 -0
- package/{esm2020 → esm2022}/f-backgroud/f-background-base.mjs +4 -4
- package/{esm2020 → esm2022}/f-backgroud/f-background.component.mjs +7 -7
- package/esm2022/f-backgroud/f-circle-pattern/f-circle-pattern.component.mjs +104 -0
- package/esm2022/f-backgroud/f-rect-pattern/f-rect-pattern.component.mjs +122 -0
- package/{esm2020 → esm2022}/f-canvas/f-canvas-base.mjs +4 -4
- package/esm2022/f-canvas/f-canvas.component.mjs +86 -0
- package/esm2022/f-connection/common/f-connection-base.mjs +66 -0
- package/esm2022/f-connection/common/f-connection-text/f-connection-text-path.directive.mjs +70 -0
- package/esm2022/f-connection/common/f-connection-text/f-connection-text.component.mjs +66 -0
- package/{esm2020 → esm2022}/f-connection/common/f-drag-handle/f-connection-drag-handle.component.mjs +7 -7
- package/esm2022/f-connection/common/f-gradient/f-connection-gradient.component.mjs +63 -0
- package/esm2022/f-connection/common/f-path/f-connection-path.component.mjs +59 -0
- package/{esm2020 → esm2022}/f-connection/common/f-selection/f-connection-selection.component.mjs +8 -8
- package/esm2022/f-connection/f-connection/f-connection.component.mjs +171 -0
- package/{esm2020 → esm2022}/f-connection/f-connection-builder/f-connection-factory.mjs +4 -4
- package/{esm2020 → esm2022}/f-connection/f-connection-center/f-connection-center.directive.mjs +4 -4
- package/esm2022/f-connection/f-connection-for-create/f-connection-for-create.component.mjs +136 -0
- package/{esm2020 → esm2022}/f-connection/f-marker/f-marker-base.mjs +4 -4
- package/esm2022/f-connection/f-marker/f-marker.directive.mjs +58 -0
- package/esm2022/f-connection/f-snap-connection/f-snap-connection.component.mjs +136 -0
- package/{esm2020 → esm2022}/f-connectors/f-node-input/f-node-input-base.mjs +4 -4
- package/esm2022/f-connectors/f-node-input/f-node-input.directive.mjs +87 -0
- package/{esm2020 → esm2022}/f-connectors/f-node-outlet/f-node-outlet-base.mjs +4 -4
- package/esm2022/f-connectors/f-node-outlet/f-node-outlet.directive.mjs +71 -0
- package/{esm2020 → esm2022}/f-connectors/f-node-output/f-node-output-base.mjs +4 -4
- package/esm2022/f-connectors/f-node-output/f-node-output.directive.mjs +94 -0
- package/esm2022/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.execution.mjs +23 -0
- package/esm2022/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.validator.mjs +24 -0
- package/esm2022/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.execution.mjs +35 -0
- package/esm2022/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.validator.mjs +42 -0
- package/esm2022/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.execution.mjs +54 -0
- package/esm2022/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.validator.mjs +24 -0
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.execution.mjs +43 -0
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.execution.mjs +52 -0
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.execution.mjs +38 -0
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.validator.mjs +33 -0
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.execution.mjs +42 -0
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.validator.mjs +31 -0
- package/{esm2020 → esm2022}/f-draggable/connections/create-connection/create-connection.drag-handler.mjs +13 -8
- package/esm2022/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.execution.mjs +42 -0
- package/esm2022/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.validator.mjs +26 -0
- package/esm2022/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.execution.mjs +84 -0
- package/esm2022/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.validator.mjs +34 -0
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.execution.mjs +49 -0
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.validator.mjs +24 -0
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.execution.mjs +63 -0
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.validator.mjs +43 -0
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.mjs +66 -0
- package/esm2022/f-draggable/domain/get-node-padding/get-node-padding.execution.mjs +32 -0
- package/esm2022/f-draggable/domain/get-normalized-node-rect/get-normalized-node-rect.execution.mjs +28 -0
- package/esm2022/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.execution.mjs +47 -0
- package/esm2022/f-draggable/domain/get-parent-nodes/get-parent-nodes.execution.mjs +35 -0
- package/esm2022/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.execution.mjs +33 -0
- package/{esm2020 → esm2022}/f-draggable/f-draggable-base.mjs +4 -4
- package/{esm2020 → esm2022}/f-draggable/f-draggable-data-context.mjs +4 -4
- package/esm2022/f-draggable/f-draggable.directive.mjs +160 -0
- package/{esm2020 → esm2022}/f-draggable/node/connection-base-drag-handler.mjs +4 -4
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.execution.mjs +84 -0
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/get-node-move-restrictions.execution.mjs +43 -0
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/put-input-connection-handlers-to-array.execution.mjs +69 -0
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/put-output-connection-handlers-to-array.execution.mjs +69 -0
- package/esm2022/f-draggable/node/node-move-finalize/node-move-finalize.execution.mjs +50 -0
- package/esm2022/f-draggable/node/node-move-finalize/node-move-finalize.validator.mjs +24 -0
- package/esm2022/f-draggable/node/node-move-preparation/node-move-preparation.execution.mjs +58 -0
- package/esm2022/f-draggable/node/node-move-preparation/node-move-preparation.validator.mjs +40 -0
- package/esm2022/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.execution.mjs +48 -0
- package/{esm2020 → esm2022}/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.request.mjs +1 -1
- package/esm2022/f-draggable/node-resize/apply-parent-resize-restrictions/apply-parent-resize-restrictions.execution.mjs +48 -0
- package/esm2022/f-draggable/node-resize/calculate-changed-position/calculate-changed-position.execution.mjs +24 -0
- package/esm2022/f-draggable/node-resize/calculate-changed-size/calculate-changed-size.execution.mjs +33 -0
- package/esm2022/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.execution.mjs +36 -0
- package/{esm2020 → esm2022}/f-draggable/node-resize/get-node-resize-restrictions/i-node-resize-restrictions.mjs +1 -1
- package/esm2022/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.execution.mjs +37 -0
- package/esm2022/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.request.mjs +7 -0
- package/esm2022/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.execution.mjs +25 -0
- package/esm2022/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.validator.mjs +24 -0
- package/esm2022/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.execution.mjs +52 -0
- package/esm2022/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.validator.mjs +40 -0
- package/esm2022/f-draggable/node-resize/node-resize.drag-handler.mjs +49 -0
- package/esm2022/f-draggable/single-select/single-select.execution.mjs +88 -0
- package/esm2022/f-draggable/single-select/single-select.validator.mjs +26 -0
- package/esm2022/f-external-item/domain/external-item-finalize/external-item-finalize.execution.mjs +56 -0
- package/esm2022/f-external-item/domain/external-item-finalize/external-item-finalize.validator.mjs +24 -0
- package/esm2022/f-external-item/domain/external-item-preparation/external-item-preparation.execution.mjs +42 -0
- package/esm2022/f-external-item/domain/external-item-preparation/external-item-preparation.validator.mjs +28 -0
- package/{esm2020 → esm2022}/f-external-item/f-external-item-base.mjs +4 -4
- package/{esm2020 → esm2022}/f-external-item/f-external-item.directive.mjs +9 -9
- package/{esm2020 → esm2022}/f-external-item/f-external-item.service.mjs +4 -4
- package/esm2022/f-flow/f-flow.component.mjs +118 -0
- package/{esm2020 → esm2022}/f-flow.module.mjs +5 -5
- package/{esm2020 → esm2022}/f-line-alignment/f-line-alignment-base.mjs +4 -4
- package/esm2022/f-line-alignment/f-line-alignment.component.mjs +92 -0
- package/esm2022/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.execution.mjs +41 -0
- package/esm2022/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.execution.mjs +25 -0
- package/esm2022/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.validator.mjs +24 -0
- package/esm2022/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.execution.mjs +48 -0
- package/esm2022/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.validator.mjs +27 -0
- package/esm2022/f-minimap/f-minimap-canvas.directive.mjs +66 -0
- package/{esm2020 → esm2022}/f-minimap/f-minimap-flow.directive.mjs +10 -10
- package/{esm2020 → esm2022}/f-minimap/f-minimap-view.directive.mjs +8 -8
- package/{esm2020 → esm2022}/f-minimap/f-minimap.component.mjs +6 -6
- package/{esm2020 → esm2022}/f-node/f-drag-handle/f-drag-handle.directive.mjs +7 -7
- package/esm2022/f-node/f-group.directive.mjs +145 -0
- package/esm2022/f-node/f-node.directive.mjs +146 -0
- package/esm2022/f-node/f-resize-handle/f-resize-handle.directive.mjs +43 -0
- package/{esm2020 → esm2022}/f-node/f-rotate-handle/f-rotate-handle.directive.mjs +5 -5
- package/esm2022/f-selection-area/domain/selection-area-finalize/selection-area-finalize.execution.mjs +25 -0
- package/esm2022/f-selection-area/domain/selection-area-finalize/selection-area-finalize.validator.mjs +24 -0
- package/esm2022/f-selection-area/domain/selection-area-preparation/selection-area-preparation.execution.mjs +37 -0
- package/esm2022/f-selection-area/domain/selection-area-preparation/selection-area-preparation.validator.mjs +30 -0
- package/{esm2020 → esm2022}/f-selection-area/domain/selection-area.drag-handle.mjs +4 -4
- package/{esm2020 → esm2022}/f-selection-area/f-selection-area-base.mjs +4 -4
- package/{esm2020 → esm2022}/f-selection-area/f-selection-area.component.mjs +9 -9
- package/{esm2020 → esm2022}/f-storage/f-components-store.mjs +4 -4
- package/{esm2020 → esm2022}/f-storage/f-transform-store.mjs +4 -4
- package/esm2022/f-zoom/f-zoom-base.mjs +97 -0
- package/esm2022/f-zoom/f-zoom.directive.mjs +59 -0
- package/esm2022/mixins/change-selection/change-selection.mjs +28 -0
- 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/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/providers.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 +1 -1
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/providers.d.ts +1 -1
- package/f-draggable/node/providers.d.ts +1 -1
- package/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.execution.d.ts +1 -0
- package/f-draggable/node-resize/get-node-resize-restrictions/i-node-resize-restrictions.d.ts +2 -1
- package/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.execution.d.ts +0 -1
- package/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.request.d.ts +2 -3
- package/f-draggable/node-resize/providers.d.ts +1 -1
- 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/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-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/{fesm2020 → fesm2022}/foblex-flow.mjs +870 -854
- package/fesm2022/foblex-flow.mjs.map +1 -0
- package/mixins/change-selection/change-selection.d.ts +1 -1
- package/mixins/change-visibility/change-visibility.d.ts +1 -1
- package/mixins/constructor.d.ts +2 -2
- package/package.json +5 -11
- package/esm2020/domain/create-connection-markers/create-connection-markers.execution.mjs +0 -61
- package/esm2020/domain/create-rounded-rect-from-element/create-rounded-rect-from-element.execution.mjs +0 -39
- package/esm2020/domain/emit-transform-changes/emit-transform-changes.execution.mjs +0 -24
- package/esm2020/domain/f-background/add-pattern-to-background/add-pattern-to-background.execution.mjs +0 -47
- package/esm2020/domain/f-canvas/center-group-or-node/center-group-or-node.execution.mjs +0 -49
- package/esm2020/domain/f-canvas/fit-to-flow/fit-to-flow.execution.mjs +0 -56
- package/esm2020/domain/f-canvas/input-canvas-position/input-canvas-position.execution.mjs +0 -33
- package/esm2020/domain/f-canvas/input-canvas-scale/input-canvas-scale.execution.mjs +0 -28
- package/esm2020/domain/f-canvas/reset-scale/reset-scale.execution.mjs +0 -29
- package/esm2020/domain/f-canvas/reset-scale-and-center/reset-scale-and-center.execution.mjs +0 -51
- package/esm2020/domain/f-canvas/update-scale/update-scale.execution.mjs +0 -34
- package/esm2020/domain/f-connection/find-closest-input-using-snap-threshold/find-closest-input-using-snap-threshold.execution.mjs +0 -39
- package/esm2020/domain/f-connection/get-all-can-be-connected-input-positions/get-all-can-be-connected-input-positions.execution.mjs +0 -55
- package/esm2020/domain/f-connection/get-connector-with-rect/get-connector-with-rect.execution.mjs +0 -28
- package/esm2020/domain/f-selection/clear-selection/clear-selection.execution.mjs +0 -26
- package/esm2020/domain/f-selection/get-selection/get-selection.execution.mjs +0 -35
- package/esm2020/domain/f-selection/select/select.execution.mjs +0 -44
- package/esm2020/domain/f-selection/select-all/select-all.execution.mjs +0 -38
- package/esm2020/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.execution.mjs +0 -35
- package/esm2020/domain/get-can-be-selected-items/get-can-be-selected-items.execution.mjs +0 -57
- package/esm2020/domain/get-connection-line/get-connection-line.execution.mjs +0 -67
- package/esm2020/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.execution.mjs +0 -35
- package/esm2020/domain/get-element-rect-in-flow/get-element-rect-in-flow.execution.mjs +0 -43
- package/esm2020/domain/get-flow-state/get-flow-state-connections/get-flow-state-connections.execution.mjs +0 -33
- package/esm2020/domain/get-flow-state/get-flow-state-nodes/get-flow-state-nodes.execution.mjs +0 -50
- package/esm2020/domain/get-flow-state/get-flow-state.execution.mjs +0 -39
- package/esm2020/domain/get-nodes-rect/get-nodes-rect.execution.mjs +0 -31
- package/esm2020/domain/get-position-in-flow/get-position-in-flow.execution.mjs +0 -32
- package/esm2020/domain/get-scaled-node-rects-with-flow-position/get-scaled-node-rects-with-flow-position.execution.mjs +0 -34
- package/esm2020/domain/is-connection-under-node/is-connection-under-node.execution.mjs +0 -76
- package/esm2020/domain/redraw-connections/redraw-connections.execution.mjs +0 -63
- package/esm2020/domain/show-connections-after-calculations/show-connections-after-calculations.execution.mjs +0 -26
- package/esm2020/domain/sort-item-layers/sort-item-layers.execution.mjs +0 -30
- package/esm2020/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.execution.mjs +0 -57
- package/esm2020/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.execution.mjs +0 -59
- package/esm2020/domain/subscribe-on-transform-changes/subscribe-on-transform-changes.execution.mjs +0 -26
- package/esm2020/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element.execution.mjs +0 -30
- package/esm2020/domain/update-item-and-children-layers/update-item-and-children-layers.execution.mjs +0 -94
- package/esm2020/f-backgroud/f-circle-pattern/f-circle-pattern.component.mjs +0 -104
- package/esm2020/f-backgroud/f-rect-pattern/f-rect-pattern.component.mjs +0 -122
- package/esm2020/f-canvas/f-canvas.component.mjs +0 -86
- package/esm2020/f-connection/common/f-connection-base.mjs +0 -66
- package/esm2020/f-connection/common/f-connection-text/f-connection-text-path.directive.mjs +0 -70
- package/esm2020/f-connection/common/f-connection-text/f-connection-text.component.mjs +0 -66
- package/esm2020/f-connection/common/f-gradient/f-connection-gradient.component.mjs +0 -63
- package/esm2020/f-connection/common/f-path/f-connection-path.component.mjs +0 -59
- package/esm2020/f-connection/f-connection/f-connection.component.mjs +0 -171
- package/esm2020/f-connection/f-connection-for-create/f-connection-for-create.component.mjs +0 -136
- package/esm2020/f-connection/f-marker/f-marker.directive.mjs +0 -58
- package/esm2020/f-connection/f-snap-connection/f-snap-connection.component.mjs +0 -136
- package/esm2020/f-connectors/f-node-input/f-node-input.directive.mjs +0 -87
- package/esm2020/f-connectors/f-node-outlet/f-node-outlet.directive.mjs +0 -71
- package/esm2020/f-connectors/f-node-output/f-node-output.directive.mjs +0 -94
- package/esm2020/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.execution.mjs +0 -24
- package/esm2020/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.validator.mjs +0 -25
- package/esm2020/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.execution.mjs +0 -36
- package/esm2020/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.validator.mjs +0 -43
- package/esm2020/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.execution.mjs +0 -55
- package/esm2020/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.validator.mjs +0 -25
- package/esm2020/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.execution.mjs +0 -44
- package/esm2020/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.execution.mjs +0 -53
- package/esm2020/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.execution.mjs +0 -39
- package/esm2020/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.validator.mjs +0 -34
- package/esm2020/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.execution.mjs +0 -43
- package/esm2020/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.validator.mjs +0 -32
- package/esm2020/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.execution.mjs +0 -43
- package/esm2020/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.validator.mjs +0 -27
- package/esm2020/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.execution.mjs +0 -85
- package/esm2020/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.validator.mjs +0 -35
- package/esm2020/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.execution.mjs +0 -50
- package/esm2020/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.validator.mjs +0 -25
- package/esm2020/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.execution.mjs +0 -64
- package/esm2020/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.validator.mjs +0 -44
- package/esm2020/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.mjs +0 -58
- package/esm2020/f-draggable/domain/get-node-padding/get-node-padding.execution.mjs +0 -33
- package/esm2020/f-draggable/domain/get-normalized-node-rect/get-normalized-node-rect.execution.mjs +0 -29
- package/esm2020/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.execution.mjs +0 -48
- package/esm2020/f-draggable/domain/get-parent-nodes/get-parent-nodes.execution.mjs +0 -36
- package/esm2020/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.execution.mjs +0 -34
- package/esm2020/f-draggable/f-draggable.directive.mjs +0 -160
- package/esm2020/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.execution.mjs +0 -85
- package/esm2020/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/get-node-move-restrictions.execution.mjs +0 -44
- package/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 +0 -70
- package/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 +0 -70
- package/esm2020/f-draggable/node/node-move-finalize/node-move-finalize.execution.mjs +0 -51
- package/esm2020/f-draggable/node/node-move-finalize/node-move-finalize.validator.mjs +0 -25
- package/esm2020/f-draggable/node/node-move-preparation/node-move-preparation.execution.mjs +0 -59
- package/esm2020/f-draggable/node/node-move-preparation/node-move-preparation.validator.mjs +0 -41
- package/esm2020/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.execution.mjs +0 -49
- package/esm2020/f-draggable/node-resize/apply-parent-resize-restrictions/apply-parent-resize-restrictions.execution.mjs +0 -49
- package/esm2020/f-draggable/node-resize/calculate-changed-position/calculate-changed-position.execution.mjs +0 -25
- package/esm2020/f-draggable/node-resize/calculate-changed-size/calculate-changed-size.execution.mjs +0 -34
- package/esm2020/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.execution.mjs +0 -31
- package/esm2020/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.execution.mjs +0 -41
- package/esm2020/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.request.mjs +0 -7
- package/esm2020/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.execution.mjs +0 -26
- package/esm2020/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.validator.mjs +0 -25
- package/esm2020/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.execution.mjs +0 -53
- package/esm2020/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.validator.mjs +0 -41
- package/esm2020/f-draggable/node-resize/node-resize.drag-handler.mjs +0 -48
- package/esm2020/f-draggable/single-select/single-select.execution.mjs +0 -89
- package/esm2020/f-draggable/single-select/single-select.validator.mjs +0 -27
- package/esm2020/f-external-item/domain/external-item-finalize/external-item-finalize.execution.mjs +0 -57
- package/esm2020/f-external-item/domain/external-item-finalize/external-item-finalize.validator.mjs +0 -25
- package/esm2020/f-external-item/domain/external-item-preparation/external-item-preparation.execution.mjs +0 -43
- package/esm2020/f-external-item/domain/external-item-preparation/external-item-preparation.validator.mjs +0 -29
- package/esm2020/f-flow/f-flow.component.mjs +0 -118
- package/esm2020/f-line-alignment/f-line-alignment.component.mjs +0 -92
- package/esm2020/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.execution.mjs +0 -42
- package/esm2020/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.execution.mjs +0 -26
- package/esm2020/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.validator.mjs +0 -25
- package/esm2020/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.execution.mjs +0 -49
- package/esm2020/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.validator.mjs +0 -28
- package/esm2020/f-minimap/f-minimap-canvas.directive.mjs +0 -66
- package/esm2020/f-node/f-group.directive.mjs +0 -145
- package/esm2020/f-node/f-node.directive.mjs +0 -146
- package/esm2020/f-node/f-resize-handle/f-resize-handle.directive.mjs +0 -43
- package/esm2020/f-selection-area/domain/selection-area-finalize/selection-area-finalize.execution.mjs +0 -26
- package/esm2020/f-selection-area/domain/selection-area-finalize/selection-area-finalize.validator.mjs +0 -25
- package/esm2020/f-selection-area/domain/selection-area-preparation/selection-area-preparation.execution.mjs +0 -38
- package/esm2020/f-selection-area/domain/selection-area-preparation/selection-area-preparation.validator.mjs +0 -31
- package/esm2020/f-zoom/f-zoom-base.mjs +0 -97
- package/esm2020/f-zoom/f-zoom.directive.mjs +0 -59
- package/esm2020/mixins/change-selection/change-selection.mjs +0 -28
- package/fesm2015/foblex-flow.mjs +0 -7927
- package/fesm2015/foblex-flow.mjs.map +0 -1
- package/fesm2020/foblex-flow.mjs.map +0 -1
- /package/{esm2020 → esm2022}/domain/constants.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/create-connection-markers/create-connection-markers-request.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/create-connection-markers/index.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/create-dom-element.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/create-rounded-rect-from-element/create-rounded-rect-from-element-request.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/create-rounded-rect-from-element/index.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/emit-transform-changes/emit-transform-changes.request.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/emit-transform-changes/index.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/f-background/add-pattern-to-background/add-pattern-to-background.request.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/f-background/add-pattern-to-background/index.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/f-background/index.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/f-background/providers.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/f-canvas/center-group-or-node/center-group-or-node-request.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/f-canvas/center-group-or-node/index.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/f-canvas/fit-to-flow/fit-to-flow-request.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/f-canvas/fit-to-flow/index.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/f-canvas/index.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/f-canvas/input-canvas-position/index.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/f-canvas/input-canvas-position/input-canvas-position-request.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/f-canvas/input-canvas-scale/index.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/f-canvas/input-canvas-scale/input-canvas-scale-request.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/f-canvas/providers.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/f-canvas/reset-scale/index.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/f-canvas/reset-scale/reset-scale-request.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/f-canvas/reset-scale-and-center/index.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/f-canvas/reset-scale-and-center/reset-scale-and-center-request.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/f-canvas/update-scale/index.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/f-canvas/update-scale/update-scale-request.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/f-connection/find-closest-input-using-snap-threshold/find-closest-input-using-snap-threshold.request.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/f-connection/find-closest-input-using-snap-threshold/index.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/f-connection/get-all-can-be-connected-input-positions/get-all-can-be-connected-input-positions.request.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/f-connection/get-all-can-be-connected-input-positions/index.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/f-connection/get-connector-with-rect/get-connector-with-rect-request.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/f-connection/get-connector-with-rect/i-connector-with-rect.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/f-connection/get-connector-with-rect/index.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/f-connection/index.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/f-connection/providers.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/f-selection/clear-selection/clear-selection.request.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/f-selection/clear-selection/index.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/f-selection/get-selection/get-selection.request.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/f-selection/get-selection/index.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/f-selection/index.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/f-selection/providers.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/f-selection/select/index.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/f-selection/select/select.request.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/f-selection/select-all/index.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/f-selection/select-all/select-all.request.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/f-selection/select-and-update-node-layer/index.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.request.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/get-can-be-selected-items/get-can-be-selected-items-request.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/get-can-be-selected-items/i-selectable-with-rect.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/get-can-be-selected-items/index.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/get-connection-line/get-connection-line.request.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/get-connection-line/index.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.request.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/get-deep-children-nodes-and-groups/index.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/get-element-rect-in-flow/get-element-rect-in-flow-request.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/get-element-rect-in-flow/index.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/get-flow-state/get-flow-state-connections/get-flow-state-connections-request.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/get-flow-state/get-flow-state-connections/index.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/get-flow-state/get-flow-state-nodes/get-flow-state-nodes-request.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/get-flow-state/get-flow-state-nodes/index.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/get-flow-state/get-flow-state.request.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/get-flow-state/i-f-flow-state-connection.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/get-flow-state/i-f-flow-state-connector.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/get-flow-state/i-f-flow-state-node.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/get-flow-state/i-f-flow-state.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/get-flow-state/index.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/get-flow-state/providers.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/get-nodes-rect/get-nodes-rect.request.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/get-nodes-rect/index.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/get-position-in-flow/get-position-in-flow-request.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/get-position-in-flow/index.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/get-scaled-node-rects-with-flow-position/get-scaled-node-rects-with-flow-position.request.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/get-scaled-node-rects-with-flow-position/index.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/i-map.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/index.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/is-connection-under-node/index.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/is-connection-under-node/is-connection-under-node.request.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/providers.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/redraw-connections/index.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/redraw-connections/redraw-connections-request.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/show-connections-after-calculations/index.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/show-connections-after-calculations/show-connections-after-calculations-request.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/sort-item-layers/index.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/sort-item-layers/sort-item-layers.request.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/sort-item-layers/sort-items-by-parent/index.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.request.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/sort-item-layers/sort-node-layers-by-groups/index.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.request.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/subscribe-on-transform-changes/index.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/subscribe-on-transform-changes/subscribe-on-transform-changes.request.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/update-item-and-children-layers/index.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/update-item-and-children-layers/move-front-elements-before-target-element/index.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element.request.mjs +0 -0
- /package/{esm2020 → esm2022}/domain/update-item-and-children-layers/update-item-and-children-layers.request.mjs +0 -0
- /package/{esm2020 → esm2022}/errors/conflict-error.mjs +0 -0
- /package/{esm2020 → esm2022}/errors/create-error-class.mjs +0 -0
- /package/{esm2020 → esm2022}/errors/errors.mjs +0 -0
- /package/{esm2020 → esm2022}/errors/index.mjs +0 -0
- /package/{esm2020 → esm2022}/errors/not-found-error.mjs +0 -0
- /package/{esm2020 → esm2022}/f-backgroud/domain/i-f-background-pattern.mjs +0 -0
- /package/{esm2020 → esm2022}/f-backgroud/domain/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-backgroud/f-circle-pattern/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-backgroud/f-rect-pattern/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-backgroud/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-backgroud/providers.mjs +0 -0
- /package/{esm2020 → esm2022}/f-canvas/domain/f-canvas-change.event.mjs +0 -0
- /package/{esm2020 → esm2022}/f-canvas/domain/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-canvas/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-canvas/providers.mjs +0 -0
- /package/{esm2020 → esm2022}/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points-request.mjs +0 -0
- /package/{esm2020 → esm2022}/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points.handler.mjs +0 -0
- /package/{esm2020 → esm2022}/f-connection/common/domain/calculate-center-between-points/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-connection/common/domain/calculate-connection-center/calculate-connection-center-request.mjs +0 -0
- /package/{esm2020 → esm2022}/f-connection/common/domain/calculate-connection-center/calculate-connection-center.handler.mjs +0 -0
- /package/{esm2020 → esm2022}/f-connection/common/domain/calculate-connection-center/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-connection/common/domain/f-bezier.path-builder.mjs +0 -0
- /package/{esm2020 → esm2022}/f-connection/common/domain/f-segment.path-builder.mjs +0 -0
- /package/{esm2020 → esm2022}/f-connection/common/domain/f-straight.path-builder.mjs +0 -0
- /package/{esm2020 → esm2022}/f-connection/common/domain/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-connection/common/e-f-connection-behavior.mjs +0 -0
- /package/{esm2020 → esm2022}/f-connection/common/e-f-connection-type.mjs +0 -0
- /package/{esm2020 → esm2022}/f-connection/common/f-connection-identifiers.mjs +0 -0
- /package/{esm2020 → esm2022}/f-connection/common/f-connection-text/i-connection-text.mjs +0 -0
- /package/{esm2020 → esm2022}/f-connection/common/f-connection-text/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-connection/common/f-connection.injection-token.mjs +0 -0
- /package/{esm2020 → esm2022}/f-connection/common/f-drag-handle/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-connection/common/f-gradient/i-connection-gradient.mjs +0 -0
- /package/{esm2020 → esm2022}/f-connection/common/f-gradient/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-connection/common/f-path/get-path-marker-id.mjs +0 -0
- /package/{esm2020 → esm2022}/f-connection/common/f-path/i-connection-path.mjs +0 -0
- /package/{esm2020 → esm2022}/f-connection/common/f-path/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-connection/common/f-selection/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-connection/common/i-has-connection-color.mjs +0 -0
- /package/{esm2020 → esm2022}/f-connection/common/i-has-connection-from-to.mjs +0 -0
- /package/{esm2020 → esm2022}/f-connection/common/i-has-connection-text.mjs +0 -0
- /package/{esm2020 → esm2022}/f-connection/common/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-connection/f-connection/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-connection/f-connection-builder/f-connection-builders.mjs +0 -0
- /package/{esm2020 → esm2022}/f-connection/f-connection-builder/i-f-connection-builder-request.mjs +0 -0
- /package/{esm2020 → esm2022}/f-connection/f-connection-builder/i-f-connection-builder-response.mjs +0 -0
- /package/{esm2020 → esm2022}/f-connection/f-connection-builder/i-f-connection-builder.mjs +0 -0
- /package/{esm2020 → esm2022}/f-connection/f-connection-builder/i-f-connection-factory-request.mjs +0 -0
- /package/{esm2020 → esm2022}/f-connection/f-connection-builder/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-connection/f-connection-center/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-connection/f-connection-for-create/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-connection/f-marker/e-f-marker-type.mjs +0 -0
- /package/{esm2020 → esm2022}/f-connection/f-marker/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-connection/f-snap-connection/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-connection/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-connection/providers.mjs +0 -0
- /package/{esm2020 → esm2022}/f-connectors/domain/calculate-connector-connectable-side/calculate-connector-connectable-side-request.mjs +0 -0
- /package/{esm2020 → esm2022}/f-connectors/domain/calculate-connector-connectable-side/calculate-connector-connectable-side.handler.mjs +0 -0
- /package/{esm2020 → esm2022}/f-connectors/domain/calculate-connector-connectable-side/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-connectors/domain/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-connectors/e-f-connectable-side.mjs +0 -0
- /package/{esm2020 → esm2022}/f-connectors/f-connector-base.mjs +0 -0
- /package/{esm2020 → esm2022}/f-connectors/f-node-input/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-connectors/f-node-outlet/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-connectors/f-node-outlet/is-node-outlet.mjs +0 -0
- /package/{esm2020 → esm2022}/f-connectors/f-node-output/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-connectors/f-node-output/is-node-output.mjs +0 -0
- /package/{esm2020 → esm2022}/f-connectors/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-connectors/providers.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.request.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/canvas/canvas-move-finalize/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/canvas/canvas-move-finalize/providers.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.request.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/canvas/canvas-move-preparation/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/canvas/canvas-move-preparation/providers.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/canvas/canvas.drag-handler.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/canvas/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/canvas/providers.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.request.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/connections/create-connection/create-connection-finalize/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.request.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.request.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.request.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.request.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/connections/create-connection/create-connection-preparation/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/connections/create-connection/f-create-connection.event.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.request.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/connections/create-connection/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.request.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/connections/get-input-under-pointer/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/connections/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/connections/providers.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/connections/reassign-connection/f-reassign-connection.event.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/connections/reassign-connection/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/connections/reassign-connection/reassign-connection-finalize/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.request.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/connections/reassign-connection/reassign-connection-preparation/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.request.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/domain/get-node-padding/get-node-padding.request.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/domain/get-node-padding/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/domain/get-normalized-node-rect/get-normalized-node-rect.request.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/domain/get-normalized-node-rect/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.request.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/domain/get-normalized-parent-node-rect/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/domain/get-parent-nodes/get-parent-nodes.request.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/domain/get-parent-nodes/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/domain/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/domain/is-array-has-parent-node/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.request.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/domain/providers.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/f-selection-change-event.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/i-draggable-item.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/i-f-drag-and-drop-plugin.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/node/connection-source.drag-handler.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/node/connection-target.drag-handler.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/node/connection.drag-handler.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.request.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/get-node-move-restrictions.request.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/i-node-move-restrictions.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/put-input-connection-handlers-to-array.request.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/put-output-connection-handlers-to-array.request.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/node/create-move-nodes-drag-model-from-selection/i-node-with-distance-restrictions.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/node/create-move-nodes-drag-model-from-selection/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/node/create-move-nodes-drag-model-from-selection/providers.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/node/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/node/node-move-finalize/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/node/node-move-finalize/node-move-finalize.request.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/node/node-move-finalize/providers.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/node/node-move-preparation/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/node/node-move-preparation/node-move-preparation.request.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/node/node-move-preparation/providers.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/node/node-resize-by-child.drag-handler.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/node/node.drag-handler.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/node/providers.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/node-resize/apply-child-resize-restrictions/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/node-resize/apply-parent-resize-restrictions/apply-parent-resize-restrictions.request.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/node-resize/apply-parent-resize-restrictions/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/node-resize/calculate-changed-position/calculate-changed-position.request.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/node-resize/calculate-changed-position/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/node-resize/calculate-changed-size/calculate-changed-size.request.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/node-resize/calculate-changed-size/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.request.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/node-resize/get-node-resize-restrictions/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/node-resize/get-normalized-children-nodes-rect/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/node-resize/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/node-resize/node-resize-finalize/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.request.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/node-resize/node-resize-finalize/providers.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/node-resize/node-resize-preparation/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.request.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/node-resize/node-resize-preparation/providers.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/node-resize/providers.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/node-resize/resize-direction.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/providers.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/single-select/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/single-select/providers.mjs +0 -0
- /package/{esm2020 → esm2022}/f-draggable/single-select/single-select.request.mjs +0 -0
- /package/{esm2020 → esm2022}/f-external-item/domain/external-item-finalize/external-item-finalize.request.mjs +0 -0
- /package/{esm2020 → esm2022}/f-external-item/domain/external-item-finalize/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-external-item/domain/external-item-finalize/providers.mjs +0 -0
- /package/{esm2020 → esm2022}/f-external-item/domain/external-item-preparation/external-item-preparation.request.mjs +0 -0
- /package/{esm2020 → esm2022}/f-external-item/domain/external-item-preparation/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-external-item/domain/external-item-preparation/providers.mjs +0 -0
- /package/{esm2020 → esm2022}/f-external-item/domain/external-item.drag-handler.mjs +0 -0
- /package/{esm2020 → esm2022}/f-external-item/domain/f-create-node.event.mjs +0 -0
- /package/{esm2020 → esm2022}/f-external-item/domain/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-external-item/domain/providers.mjs +0 -0
- /package/{esm2020 → esm2022}/f-external-item/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-external-item/is-external-item.mjs +0 -0
- /package/{esm2020 → esm2022}/f-external-item/providers.mjs +0 -0
- /package/{esm2020 → esm2022}/f-flow/f-flow-base.mjs +0 -0
- /package/{esm2020 → esm2022}/f-flow/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-flow/providers.mjs +0 -0
- /package/{esm2020 → esm2022}/f-line-alignment/domain/i-line-alignment-rect.mjs +0 -0
- /package/{esm2020 → esm2022}/f-line-alignment/domain/i-line-alignment-result.mjs +0 -0
- /package/{esm2020 → esm2022}/f-line-alignment/domain/i-nearest-coordinate-result.mjs +0 -0
- /package/{esm2020 → esm2022}/f-line-alignment/domain/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-line-alignment/domain/line-element.mjs +0 -0
- /package/{esm2020 → esm2022}/f-line-alignment/domain/line-service.mjs +0 -0
- /package/{esm2020 → esm2022}/f-line-alignment/domain/nearest-coordinate.mjs +0 -0
- /package/{esm2020 → esm2022}/f-line-alignment/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-line-alignment/providers.mjs +0 -0
- /package/{esm2020 → esm2022}/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.request.mjs +0 -0
- /package/{esm2020 → esm2022}/f-minimap/domain/calculate-flow-point-from-minimap-point/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-minimap/domain/check-rect-is-finite.mjs +0 -0
- /package/{esm2020 → esm2022}/f-minimap/domain/f-minimap-data.mjs +0 -0
- /package/{esm2020 → esm2022}/f-minimap/domain/f-minimap.drag-handler.mjs +0 -0
- /package/{esm2020 → esm2022}/f-minimap/domain/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-minimap/domain/minimap-drag-finalize/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.request.mjs +0 -0
- /package/{esm2020 → esm2022}/f-minimap/domain/minimap-drag-finalize/providers.mjs +0 -0
- /package/{esm2020 → esm2022}/f-minimap/domain/minimap-drag-preparation/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.request.mjs +0 -0
- /package/{esm2020 → esm2022}/f-minimap/domain/minimap-drag-preparation/providers.mjs +0 -0
- /package/{esm2020 → esm2022}/f-minimap/domain/providers.mjs +0 -0
- /package/{esm2020 → esm2022}/f-minimap/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-minimap/providers.mjs +0 -0
- /package/{esm2020 → esm2022}/f-node/domain/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-node/domain/is-group.mjs +0 -0
- /package/{esm2020 → esm2022}/f-node/domain/is-node.mjs +0 -0
- /package/{esm2020 → esm2022}/f-node/f-drag-handle/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-node/f-node-base.mjs +0 -0
- /package/{esm2020 → esm2022}/f-node/f-resize-handle/e-f-resize-handle-type.mjs +0 -0
- /package/{esm2020 → esm2022}/f-node/f-resize-handle/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-node/f-resize-observer.mjs +0 -0
- /package/{esm2020 → esm2022}/f-node/f-rotate-handle/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-node/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-node/providers.mjs +0 -0
- /package/{esm2020 → esm2022}/f-selection-area/domain/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-selection-area/domain/providers.mjs +0 -0
- /package/{esm2020 → esm2022}/f-selection-area/domain/selection-area-finalize/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-selection-area/domain/selection-area-finalize/providers.mjs +0 -0
- /package/{esm2020 → esm2022}/f-selection-area/domain/selection-area-finalize/selection-area-finalize.request.mjs +0 -0
- /package/{esm2020 → esm2022}/f-selection-area/domain/selection-area-preparation/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-selection-area/domain/selection-area-preparation/providers.mjs +0 -0
- /package/{esm2020 → esm2022}/f-selection-area/domain/selection-area-preparation/selection-area-preparation.request.mjs +0 -0
- /package/{esm2020 → esm2022}/f-selection-area/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-selection-area/providers.mjs +0 -0
- /package/{esm2020 → esm2022}/f-storage/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-zoom/index.mjs +0 -0
- /package/{esm2020 → esm2022}/f-zoom/providers.mjs +0 -0
- /package/{esm2020 → esm2022}/foblex-flow.mjs +0 -0
- /package/{esm2020 → esm2022}/i-has-host-element.mjs +0 -0
- /package/{esm2020 → esm2022}/i-has-state-changes.mjs +0 -0
- /package/{esm2020 → esm2022}/mixins/change-selection/i-can-change-selection.mjs +0 -0
- /package/{esm2020 → esm2022}/mixins/change-selection/index.mjs +0 -0
- /package/{esm2020 → esm2022}/mixins/change-visibility/change-visibility.mjs +0 -0
- /package/{esm2020 → esm2022}/mixins/change-visibility/i-can-change-visibility.mjs +0 -0
- /package/{esm2020 → esm2022}/mixins/change-visibility/index.mjs +0 -0
- /package/{esm2020 → esm2022}/mixins/constructor.mjs +0 -0
- /package/{esm2020 → esm2022}/mixins/index.mjs +0 -0
- /package/{esm2020 → esm2022}/public-api.mjs +0 -0
|
@@ -61,10 +61,10 @@ class FComponentsStore {
|
|
|
61
61
|
componentDataChanged() {
|
|
62
62
|
this.componentsDataChanges.next();
|
|
63
63
|
}
|
|
64
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FComponentsStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
65
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FComponentsStore }); }
|
|
64
66
|
}
|
|
65
|
-
|
|
66
|
-
FComponentsStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FComponentsStore });
|
|
67
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FComponentsStore, decorators: [{
|
|
67
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FComponentsStore, decorators: [{
|
|
68
68
|
type: Injectable
|
|
69
69
|
}] });
|
|
70
70
|
|
|
@@ -72,10 +72,10 @@ class FTransformStore {
|
|
|
72
72
|
constructor() {
|
|
73
73
|
this.changes = new Subject();
|
|
74
74
|
}
|
|
75
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FTransformStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
76
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FTransformStore }); }
|
|
75
77
|
}
|
|
76
|
-
|
|
77
|
-
FTransformStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FTransformStore });
|
|
78
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FTransformStore, decorators: [{
|
|
78
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FTransformStore, decorators: [{
|
|
79
79
|
type: Injectable
|
|
80
80
|
}] });
|
|
81
81
|
|
|
@@ -118,13 +118,13 @@ let CreateConnectionMarkersExecution = class CreateConnectionMarkersExecution {
|
|
|
118
118
|
markerElement.setAttribute('markerUnits', `${marker.markerUnits}`);
|
|
119
119
|
return markerElement;
|
|
120
120
|
}
|
|
121
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CreateConnectionMarkersExecution, deps: [{ token: i1.BrowserService }, { token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
122
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CreateConnectionMarkersExecution }); }
|
|
121
123
|
};
|
|
122
|
-
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 });
|
|
123
|
-
CreateConnectionMarkersExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CreateConnectionMarkersExecution });
|
|
124
124
|
CreateConnectionMarkersExecution = __decorate([
|
|
125
125
|
FExecutionRegister(CreateConnectionMarkersRequest)
|
|
126
126
|
], CreateConnectionMarkersExecution);
|
|
127
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
127
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CreateConnectionMarkersExecution, decorators: [{
|
|
128
128
|
type: Injectable
|
|
129
129
|
}], ctorParameters: function () { return [{ type: i1.BrowserService }, { type: FComponentsStore }]; } });
|
|
130
130
|
function createSVGElement$1(tag, fBrowser) {
|
|
@@ -158,13 +158,13 @@ let CreateRoundedRectFromElementExecution = class CreateRoundedRectFromElementEx
|
|
|
158
158
|
toPixels(value, element, fontSize) {
|
|
159
159
|
return this.fBrowser.toPixels(value, element.clientWidth, element.clientHeight, fontSize) || 0;
|
|
160
160
|
}
|
|
161
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CreateRoundedRectFromElementExecution, deps: [{ token: i1.BrowserService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
162
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CreateRoundedRectFromElementExecution }); }
|
|
161
163
|
};
|
|
162
|
-
CreateRoundedRectFromElementExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CreateRoundedRectFromElementExecution, deps: [{ token: i1.BrowserService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
163
|
-
CreateRoundedRectFromElementExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CreateRoundedRectFromElementExecution });
|
|
164
164
|
CreateRoundedRectFromElementExecution = __decorate([
|
|
165
165
|
FExecutionRegister(CreateRoundedRectFromElementRequest)
|
|
166
166
|
], CreateRoundedRectFromElementExecution);
|
|
167
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
167
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CreateRoundedRectFromElementExecution, decorators: [{
|
|
168
168
|
type: Injectable
|
|
169
169
|
}], ctorParameters: function () { return [{ type: i1.BrowserService }]; } });
|
|
170
170
|
|
|
@@ -178,13 +178,13 @@ let EmitTransformChangesExecution = class EmitTransformChangesExecution {
|
|
|
178
178
|
handle(request) {
|
|
179
179
|
this.fTransformStore.changes.next();
|
|
180
180
|
}
|
|
181
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EmitTransformChangesExecution, deps: [{ token: FTransformStore }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
182
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EmitTransformChangesExecution }); }
|
|
181
183
|
};
|
|
182
|
-
EmitTransformChangesExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EmitTransformChangesExecution, deps: [{ token: FTransformStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
183
|
-
EmitTransformChangesExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EmitTransformChangesExecution });
|
|
184
184
|
EmitTransformChangesExecution = __decorate([
|
|
185
185
|
FExecutionRegister(EmitTransformChangesRequest)
|
|
186
186
|
], EmitTransformChangesExecution);
|
|
187
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
187
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EmitTransformChangesExecution, decorators: [{
|
|
188
188
|
type: Injectable
|
|
189
189
|
}], ctorParameters: function () { return [{ type: FTransformStore }]; } });
|
|
190
190
|
|
|
@@ -196,13 +196,13 @@ class AddPatternToBackgroundRequest {
|
|
|
196
196
|
|
|
197
197
|
let uniqueId$c = 0;
|
|
198
198
|
let AddPatternToBackgroundExecution = class AddPatternToBackgroundExecution {
|
|
199
|
+
get fBackground() {
|
|
200
|
+
return this.fComponentsStore.fBackground;
|
|
201
|
+
}
|
|
199
202
|
constructor(fComponentsStore, fBrowser) {
|
|
200
203
|
this.fComponentsStore = fComponentsStore;
|
|
201
204
|
this.fBrowser = fBrowser;
|
|
202
205
|
}
|
|
203
|
-
get fBackground() {
|
|
204
|
-
return this.fComponentsStore.fBackground;
|
|
205
|
-
}
|
|
206
206
|
handle(request) {
|
|
207
207
|
const children = request.fPattern?.hostElement.getElementsByTagName('pattern') || [];
|
|
208
208
|
const pattern = children.length ? children[0] : undefined;
|
|
@@ -221,13 +221,13 @@ let AddPatternToBackgroundExecution = class AddPatternToBackgroundExecution {
|
|
|
221
221
|
request.fPattern?.setTransform(transform);
|
|
222
222
|
}
|
|
223
223
|
}
|
|
224
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AddPatternToBackgroundExecution, deps: [{ token: FComponentsStore }, { token: i1.BrowserService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
225
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AddPatternToBackgroundExecution }); }
|
|
224
226
|
};
|
|
225
|
-
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 });
|
|
226
|
-
AddPatternToBackgroundExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AddPatternToBackgroundExecution });
|
|
227
227
|
AddPatternToBackgroundExecution = __decorate([
|
|
228
228
|
FExecutionRegister(AddPatternToBackgroundRequest)
|
|
229
229
|
], AddPatternToBackgroundExecution);
|
|
230
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
230
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AddPatternToBackgroundExecution, decorators: [{
|
|
231
231
|
type: Injectable
|
|
232
232
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: i1.BrowserService }]; } });
|
|
233
233
|
|
|
@@ -243,12 +243,12 @@ class CenterGroupOrNodeRequest {
|
|
|
243
243
|
}
|
|
244
244
|
|
|
245
245
|
let CenterGroupOrNodeExecution = class CenterGroupOrNodeExecution {
|
|
246
|
-
constructor(fComponentsStore) {
|
|
247
|
-
this.fComponentsStore = fComponentsStore;
|
|
248
|
-
}
|
|
249
246
|
get transform() {
|
|
250
247
|
return this.fComponentsStore.fCanvas.transform;
|
|
251
248
|
}
|
|
249
|
+
constructor(fComponentsStore) {
|
|
250
|
+
this.fComponentsStore = fComponentsStore;
|
|
251
|
+
}
|
|
252
252
|
handle(request) {
|
|
253
253
|
const fNode = this.getNode(request.id);
|
|
254
254
|
if (!fNode) {
|
|
@@ -272,13 +272,13 @@ let CenterGroupOrNodeExecution = class CenterGroupOrNodeExecution {
|
|
|
272
272
|
getFlowRect() {
|
|
273
273
|
return RectExtensions.fromElement(this.fComponentsStore.fFlow.hostElement);
|
|
274
274
|
}
|
|
275
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CenterGroupOrNodeExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
276
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CenterGroupOrNodeExecution }); }
|
|
275
277
|
};
|
|
276
|
-
CenterGroupOrNodeExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CenterGroupOrNodeExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
277
|
-
CenterGroupOrNodeExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CenterGroupOrNodeExecution });
|
|
278
278
|
CenterGroupOrNodeExecution = __decorate([
|
|
279
279
|
FExecutionRegister(CenterGroupOrNodeRequest)
|
|
280
280
|
], CenterGroupOrNodeExecution);
|
|
281
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
281
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CenterGroupOrNodeExecution, decorators: [{
|
|
282
282
|
type: Injectable
|
|
283
283
|
}], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
|
|
284
284
|
|
|
@@ -290,13 +290,13 @@ class FitToFlowRequest {
|
|
|
290
290
|
}
|
|
291
291
|
|
|
292
292
|
let FitToFlowExecution = class FitToFlowExecution {
|
|
293
|
+
get transform() {
|
|
294
|
+
return this.fComponentsStore.fCanvas.transform;
|
|
295
|
+
}
|
|
293
296
|
constructor(fComponentsStore, fMediator) {
|
|
294
297
|
this.fComponentsStore = fComponentsStore;
|
|
295
298
|
this.fMediator = fMediator;
|
|
296
299
|
}
|
|
297
|
-
get transform() {
|
|
298
|
-
return this.fComponentsStore.fCanvas.transform;
|
|
299
|
-
}
|
|
300
300
|
handle(request) {
|
|
301
301
|
const fNodesRect = this.fMediator.send(new GetNodesRectRequest()) || RectExtensions.initialize();
|
|
302
302
|
if (fNodesRect.width === 0 || fNodesRect.height === 0) {
|
|
@@ -325,13 +325,13 @@ let FitToFlowExecution = class FitToFlowExecution {
|
|
|
325
325
|
const yPoint = points.length ? Math.min(...points.map((point) => point.y)) : 0;
|
|
326
326
|
return PointExtensions.initialize(xPoint, yPoint);
|
|
327
327
|
}
|
|
328
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FitToFlowExecution, deps: [{ token: FComponentsStore }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
329
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FitToFlowExecution }); }
|
|
328
330
|
};
|
|
329
|
-
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 });
|
|
330
|
-
FitToFlowExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FitToFlowExecution });
|
|
331
331
|
FitToFlowExecution = __decorate([
|
|
332
332
|
FExecutionRegister(FitToFlowRequest)
|
|
333
333
|
], FitToFlowExecution);
|
|
334
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
334
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FitToFlowExecution, decorators: [{
|
|
335
335
|
type: Injectable
|
|
336
336
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: i2.FMediator }]; } });
|
|
337
337
|
|
|
@@ -357,13 +357,13 @@ let InputCanvasPositionExecution = class InputCanvasPositionExecution {
|
|
|
357
357
|
this.fComponentsStore.fCanvas?.redraw();
|
|
358
358
|
}
|
|
359
359
|
}
|
|
360
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: InputCanvasPositionExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
361
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: InputCanvasPositionExecution }); }
|
|
360
362
|
};
|
|
361
|
-
InputCanvasPositionExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: InputCanvasPositionExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
362
|
-
InputCanvasPositionExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: InputCanvasPositionExecution });
|
|
363
363
|
InputCanvasPositionExecution = __decorate([
|
|
364
364
|
FExecutionRegister(InputCanvasPositionRequest)
|
|
365
365
|
], InputCanvasPositionExecution);
|
|
366
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
366
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: InputCanvasPositionExecution, decorators: [{
|
|
367
367
|
type: Injectable
|
|
368
368
|
}], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
|
|
369
369
|
|
|
@@ -385,13 +385,13 @@ let InputCanvasScaleExecution = class InputCanvasScaleExecution {
|
|
|
385
385
|
request.transform.scale = request.scale;
|
|
386
386
|
this.fComponentsStore.fCanvas?.redraw();
|
|
387
387
|
}
|
|
388
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: InputCanvasScaleExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
389
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: InputCanvasScaleExecution }); }
|
|
388
390
|
};
|
|
389
|
-
InputCanvasScaleExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: InputCanvasScaleExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
390
|
-
InputCanvasScaleExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: InputCanvasScaleExecution });
|
|
391
391
|
InputCanvasScaleExecution = __decorate([
|
|
392
392
|
FExecutionRegister(InputCanvasScaleRequest)
|
|
393
393
|
], InputCanvasScaleExecution);
|
|
394
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
394
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: InputCanvasScaleExecution, decorators: [{
|
|
395
395
|
type: Injectable
|
|
396
396
|
}], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
|
|
397
397
|
|
|
@@ -399,23 +399,23 @@ class ResetScaleRequest {
|
|
|
399
399
|
}
|
|
400
400
|
|
|
401
401
|
let ResetScaleExecution = class ResetScaleExecution {
|
|
402
|
-
constructor(fComponentsStore) {
|
|
403
|
-
this.fComponentsStore = fComponentsStore;
|
|
404
|
-
}
|
|
405
402
|
get transform() {
|
|
406
403
|
return this.fComponentsStore.fCanvas.transform;
|
|
407
404
|
}
|
|
405
|
+
constructor(fComponentsStore) {
|
|
406
|
+
this.fComponentsStore = fComponentsStore;
|
|
407
|
+
}
|
|
408
408
|
handle(request) {
|
|
409
409
|
this.transform.scale = 1;
|
|
410
410
|
this.transform.scaledPosition = PointExtensions.initialize();
|
|
411
411
|
}
|
|
412
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ResetScaleExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
413
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ResetScaleExecution }); }
|
|
412
414
|
};
|
|
413
|
-
ResetScaleExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ResetScaleExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
414
|
-
ResetScaleExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ResetScaleExecution });
|
|
415
415
|
ResetScaleExecution = __decorate([
|
|
416
416
|
FExecutionRegister(ResetScaleRequest)
|
|
417
417
|
], ResetScaleExecution);
|
|
418
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
418
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ResetScaleExecution, decorators: [{
|
|
419
419
|
type: Injectable
|
|
420
420
|
}], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
|
|
421
421
|
|
|
@@ -426,13 +426,13 @@ class ResetScaleAndCenterRequest {
|
|
|
426
426
|
}
|
|
427
427
|
|
|
428
428
|
let ResetScaleAndCenterExecution = class ResetScaleAndCenterExecution {
|
|
429
|
+
get transform() {
|
|
430
|
+
return this.fComponentsStore.fCanvas.transform;
|
|
431
|
+
}
|
|
429
432
|
constructor(fComponentsStore, fMediator) {
|
|
430
433
|
this.fComponentsStore = fComponentsStore;
|
|
431
434
|
this.fMediator = fMediator;
|
|
432
435
|
}
|
|
433
|
-
get transform() {
|
|
434
|
-
return this.fComponentsStore.fCanvas.transform;
|
|
435
|
-
}
|
|
436
436
|
handle(request) {
|
|
437
437
|
const fNodesRect = this.fMediator.send(new GetNodesRectRequest()) || RectExtensions.initialize();
|
|
438
438
|
if (fNodesRect.width === 0 || fNodesRect.height === 0) {
|
|
@@ -456,13 +456,13 @@ let ResetScaleAndCenterExecution = class ResetScaleAndCenterExecution {
|
|
|
456
456
|
const yPoint = points.length ? Math.min(...points.map((point) => point.y)) : 0;
|
|
457
457
|
return PointExtensions.initialize(xPoint, yPoint);
|
|
458
458
|
}
|
|
459
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ResetScaleAndCenterExecution, deps: [{ token: FComponentsStore }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
460
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ResetScaleAndCenterExecution }); }
|
|
459
461
|
};
|
|
460
|
-
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 });
|
|
461
|
-
ResetScaleAndCenterExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ResetScaleAndCenterExecution });
|
|
462
462
|
ResetScaleAndCenterExecution = __decorate([
|
|
463
463
|
FExecutionRegister(ResetScaleAndCenterRequest)
|
|
464
464
|
], ResetScaleAndCenterExecution);
|
|
465
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
465
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ResetScaleAndCenterExecution, decorators: [{
|
|
466
466
|
type: Injectable
|
|
467
467
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: i2.FMediator }]; } });
|
|
468
468
|
|
|
@@ -474,12 +474,12 @@ class UpdateScaleRequest {
|
|
|
474
474
|
}
|
|
475
475
|
|
|
476
476
|
let UpdateScaleExecution = class UpdateScaleExecution {
|
|
477
|
-
constructor(fComponentsStore) {
|
|
478
|
-
this.fComponentsStore = fComponentsStore;
|
|
479
|
-
}
|
|
480
477
|
get transform() {
|
|
481
478
|
return this.fComponentsStore.fCanvas.transform;
|
|
482
479
|
}
|
|
480
|
+
constructor(fComponentsStore) {
|
|
481
|
+
this.fComponentsStore = fComponentsStore;
|
|
482
|
+
}
|
|
483
483
|
handle(request) {
|
|
484
484
|
if (request.scale !== this.transform.scale) {
|
|
485
485
|
const summaryPosition = PointExtensions.sum(this.transform.scaledPosition, this.transform.position);
|
|
@@ -489,13 +489,13 @@ let UpdateScaleExecution = class UpdateScaleExecution {
|
|
|
489
489
|
this.transform.scaledPosition = PointExtensions.sub(PointExtensions.initialize(newX, newY), this.transform.position);
|
|
490
490
|
}
|
|
491
491
|
}
|
|
492
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: UpdateScaleExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
493
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: UpdateScaleExecution }); }
|
|
492
494
|
};
|
|
493
|
-
UpdateScaleExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: UpdateScaleExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
494
|
-
UpdateScaleExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: UpdateScaleExecution });
|
|
495
495
|
UpdateScaleExecution = __decorate([
|
|
496
496
|
FExecutionRegister(UpdateScaleRequest)
|
|
497
497
|
], UpdateScaleExecution);
|
|
498
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
498
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: UpdateScaleExecution, decorators: [{
|
|
499
499
|
type: Injectable
|
|
500
500
|
}], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
|
|
501
501
|
|
|
@@ -540,13 +540,13 @@ let FindClosestInputUsingSnapThresholdExecution = class FindClosestInputUsingSna
|
|
|
540
540
|
clamp(value, min, max) {
|
|
541
541
|
return Math.max(min, Math.min(max, value));
|
|
542
542
|
}
|
|
543
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FindClosestInputUsingSnapThresholdExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
544
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FindClosestInputUsingSnapThresholdExecution }); }
|
|
543
545
|
};
|
|
544
|
-
FindClosestInputUsingSnapThresholdExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FindClosestInputUsingSnapThresholdExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
545
|
-
FindClosestInputUsingSnapThresholdExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FindClosestInputUsingSnapThresholdExecution });
|
|
546
546
|
FindClosestInputUsingSnapThresholdExecution = __decorate([
|
|
547
547
|
FExecutionRegister(FindClosestInputUsingSnapThresholdRequest)
|
|
548
548
|
], FindClosestInputUsingSnapThresholdExecution);
|
|
549
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
549
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FindClosestInputUsingSnapThresholdExecution, decorators: [{
|
|
550
550
|
type: Injectable
|
|
551
551
|
}] });
|
|
552
552
|
|
|
@@ -569,16 +569,16 @@ class GetElementRectInFlowRequest {
|
|
|
569
569
|
}
|
|
570
570
|
|
|
571
571
|
let GetElementRectInFlowExecution = class GetElementRectInFlowExecution {
|
|
572
|
-
constructor(fComponentsStore, fMediator) {
|
|
573
|
-
this.fComponentsStore = fComponentsStore;
|
|
574
|
-
this.fMediator = fMediator;
|
|
575
|
-
}
|
|
576
572
|
get transform() {
|
|
577
573
|
return this.fComponentsStore.transform;
|
|
578
574
|
}
|
|
579
575
|
get flowHost() {
|
|
580
576
|
return this.fComponentsStore.flowHost;
|
|
581
577
|
}
|
|
578
|
+
constructor(fComponentsStore, fMediator) {
|
|
579
|
+
this.fComponentsStore = fComponentsStore;
|
|
580
|
+
this.fMediator = fMediator;
|
|
581
|
+
}
|
|
582
582
|
handle(request) {
|
|
583
583
|
const systemRect = this.fMediator.send(new CreateRoundedRectFromElementRequest(request.element));
|
|
584
584
|
const position = this.transformElementPositionInFlow(systemRect);
|
|
@@ -591,13 +591,13 @@ let GetElementRectInFlowExecution = class GetElementRectInFlowExecution {
|
|
|
591
591
|
transformElementSizeInFlow(rect) {
|
|
592
592
|
return SizeExtensions.initialize(rect.width / this.transform.scale, rect.height / this.transform.scale);
|
|
593
593
|
}
|
|
594
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetElementRectInFlowExecution, deps: [{ token: FComponentsStore }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
595
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetElementRectInFlowExecution }); }
|
|
594
596
|
};
|
|
595
|
-
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 });
|
|
596
|
-
GetElementRectInFlowExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetElementRectInFlowExecution });
|
|
597
597
|
GetElementRectInFlowExecution = __decorate([
|
|
598
598
|
FExecutionRegister(GetElementRectInFlowRequest)
|
|
599
599
|
], GetElementRectInFlowExecution);
|
|
600
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
600
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetElementRectInFlowExecution, decorators: [{
|
|
601
601
|
type: Injectable
|
|
602
602
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: i2.FMediator }]; } });
|
|
603
603
|
|
|
@@ -611,27 +611,27 @@ let GetConnectorWithRectExecution = class GetConnectorWithRectExecution {
|
|
|
611
611
|
fRect: this.fMediator.send(new GetElementRectInFlowRequest(request.connector.hostElement))
|
|
612
612
|
};
|
|
613
613
|
}
|
|
614
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetConnectorWithRectExecution, deps: [{ token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
615
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetConnectorWithRectExecution }); }
|
|
614
616
|
};
|
|
615
|
-
GetConnectorWithRectExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetConnectorWithRectExecution, deps: [{ token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
616
|
-
GetConnectorWithRectExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetConnectorWithRectExecution });
|
|
617
617
|
GetConnectorWithRectExecution = __decorate([
|
|
618
618
|
FExecutionRegister(GetConnectorWithRectRequest)
|
|
619
619
|
], GetConnectorWithRectExecution);
|
|
620
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
620
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetConnectorWithRectExecution, decorators: [{
|
|
621
621
|
type: Injectable
|
|
622
622
|
}], ctorParameters: function () { return [{ type: i2.FMediator }]; } });
|
|
623
623
|
|
|
624
624
|
let GetAllCanBeConnectedInputPositionsExecution = class GetAllCanBeConnectedInputPositionsExecution {
|
|
625
|
-
constructor(fComponentsStore, fMediator) {
|
|
626
|
-
this.fComponentsStore = fComponentsStore;
|
|
627
|
-
this.fMediator = fMediator;
|
|
628
|
-
}
|
|
629
625
|
get fNodes() {
|
|
630
626
|
return this.fComponentsStore.fNodes;
|
|
631
627
|
}
|
|
632
628
|
get fInputs() {
|
|
633
629
|
return this.fComponentsStore.fInputs;
|
|
634
630
|
}
|
|
631
|
+
constructor(fComponentsStore, fMediator) {
|
|
632
|
+
this.fComponentsStore = fComponentsStore;
|
|
633
|
+
this.fMediator = fMediator;
|
|
634
|
+
}
|
|
635
635
|
handle(payload) {
|
|
636
636
|
return this.getCanBeConnectedInputs(this.getOutput(payload.fOutputId)).map((x) => {
|
|
637
637
|
return this.fMediator.send(new GetConnectorWithRectRequest(x));
|
|
@@ -657,13 +657,13 @@ let GetAllCanBeConnectedInputPositionsExecution = class GetAllCanBeConnectedInpu
|
|
|
657
657
|
getNodeOfConnector(connector) {
|
|
658
658
|
return this.fNodes.find((x) => x.isContains(connector.hostElement));
|
|
659
659
|
}
|
|
660
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetAllCanBeConnectedInputPositionsExecution, deps: [{ token: FComponentsStore }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
661
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetAllCanBeConnectedInputPositionsExecution }); }
|
|
660
662
|
};
|
|
661
|
-
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 });
|
|
662
|
-
GetAllCanBeConnectedInputPositionsExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetAllCanBeConnectedInputPositionsExecution });
|
|
663
663
|
GetAllCanBeConnectedInputPositionsExecution = __decorate([
|
|
664
664
|
FExecutionRegister(GetAllCanBeConnectedInputPositionsRequest)
|
|
665
665
|
], GetAllCanBeConnectedInputPositionsExecution);
|
|
666
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
666
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetAllCanBeConnectedInputPositionsExecution, decorators: [{
|
|
667
667
|
type: Injectable
|
|
668
668
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: i2.FMediator }]; } });
|
|
669
669
|
|
|
@@ -698,10 +698,10 @@ class FDraggableDataContext {
|
|
|
698
698
|
markSelectionAsChanged() {
|
|
699
699
|
this.isSelectedChanged = true;
|
|
700
700
|
}
|
|
701
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FDraggableDataContext, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
702
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FDraggableDataContext }); }
|
|
701
703
|
}
|
|
702
|
-
|
|
703
|
-
FDraggableDataContext.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FDraggableDataContext });
|
|
704
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FDraggableDataContext, decorators: [{
|
|
704
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FDraggableDataContext, decorators: [{
|
|
705
705
|
type: Injectable
|
|
706
706
|
}] });
|
|
707
707
|
|
|
@@ -712,13 +712,13 @@ let CanvasMoveFinalizeExecution = class CanvasMoveFinalizeExecution {
|
|
|
712
712
|
handle(request) {
|
|
713
713
|
this.fDraggableDataContext.draggableItems.forEach((x) => x.complete?.());
|
|
714
714
|
}
|
|
715
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CanvasMoveFinalizeExecution, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
716
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CanvasMoveFinalizeExecution }); }
|
|
715
717
|
};
|
|
716
|
-
CanvasMoveFinalizeExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CanvasMoveFinalizeExecution, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
717
|
-
CanvasMoveFinalizeExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CanvasMoveFinalizeExecution });
|
|
718
718
|
CanvasMoveFinalizeExecution = __decorate([
|
|
719
719
|
FExecutionRegister(CanvasMoveFinalizeRequest)
|
|
720
720
|
], CanvasMoveFinalizeExecution);
|
|
721
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
721
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CanvasMoveFinalizeExecution, decorators: [{
|
|
722
722
|
type: Injectable
|
|
723
723
|
}], ctorParameters: function () { return [{ type: FDraggableDataContext }]; } });
|
|
724
724
|
|
|
@@ -746,13 +746,13 @@ let CanvasMoveFinalizeValidator = class CanvasMoveFinalizeValidator {
|
|
|
746
746
|
handle(request) {
|
|
747
747
|
return this.fDraggableDataContext.draggableItems.some((x) => x instanceof CanvasDragHandler);
|
|
748
748
|
}
|
|
749
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CanvasMoveFinalizeValidator, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
750
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CanvasMoveFinalizeValidator }); }
|
|
749
751
|
};
|
|
750
|
-
CanvasMoveFinalizeValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CanvasMoveFinalizeValidator, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
751
|
-
CanvasMoveFinalizeValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CanvasMoveFinalizeValidator });
|
|
752
752
|
CanvasMoveFinalizeValidator = __decorate([
|
|
753
753
|
FValidatorRegister(CanvasMoveFinalizeRequest)
|
|
754
754
|
], CanvasMoveFinalizeValidator);
|
|
755
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
755
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CanvasMoveFinalizeValidator, decorators: [{
|
|
756
756
|
type: Injectable
|
|
757
757
|
}], ctorParameters: function () { return [{ type: FDraggableDataContext }]; } });
|
|
758
758
|
|
|
@@ -768,13 +768,13 @@ class CanvasMovePreparationRequest {
|
|
|
768
768
|
}
|
|
769
769
|
|
|
770
770
|
let CanvasMovePreparationExecution = class CanvasMovePreparationExecution {
|
|
771
|
+
get flowHost() {
|
|
772
|
+
return this.fComponentsStore.fFlow.hostElement;
|
|
773
|
+
}
|
|
771
774
|
constructor(fComponentsStore, fDraggableDataContext) {
|
|
772
775
|
this.fComponentsStore = fComponentsStore;
|
|
773
776
|
this.fDraggableDataContext = fDraggableDataContext;
|
|
774
777
|
}
|
|
775
|
-
get flowHost() {
|
|
776
|
-
return this.fComponentsStore.fFlow.hostElement;
|
|
777
|
-
}
|
|
778
778
|
handle(request) {
|
|
779
779
|
this.fDraggableDataContext.onPointerDownScale = 1;
|
|
780
780
|
this.fDraggableDataContext.onPointerDownPosition = Point.fromPoint(request.event.getPosition())
|
|
@@ -783,24 +783,24 @@ let CanvasMovePreparationExecution = class CanvasMovePreparationExecution {
|
|
|
783
783
|
new CanvasDragHandler(this.fComponentsStore)
|
|
784
784
|
];
|
|
785
785
|
}
|
|
786
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CanvasMovePreparationExecution, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
787
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CanvasMovePreparationExecution }); }
|
|
786
788
|
};
|
|
787
|
-
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 });
|
|
788
|
-
CanvasMovePreparationExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CanvasMovePreparationExecution });
|
|
789
789
|
CanvasMovePreparationExecution = __decorate([
|
|
790
790
|
FExecutionRegister(CanvasMovePreparationRequest)
|
|
791
791
|
], CanvasMovePreparationExecution);
|
|
792
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
792
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CanvasMovePreparationExecution, decorators: [{
|
|
793
793
|
type: Injectable
|
|
794
794
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }]; } });
|
|
795
795
|
|
|
796
796
|
let CanvasMovePreparationValidator = class CanvasMovePreparationValidator {
|
|
797
|
+
get flowHost() {
|
|
798
|
+
return this.fComponentsStore.fFlow.hostElement;
|
|
799
|
+
}
|
|
797
800
|
constructor(fComponentsStore, fDraggableDataContext) {
|
|
798
801
|
this.fComponentsStore = fComponentsStore;
|
|
799
802
|
this.fDraggableDataContext = fDraggableDataContext;
|
|
800
803
|
}
|
|
801
|
-
get flowHost() {
|
|
802
|
-
return this.fComponentsStore.fFlow.hostElement;
|
|
803
|
-
}
|
|
804
804
|
handle(request) {
|
|
805
805
|
return !this.fDraggableDataContext.draggableItems.length &&
|
|
806
806
|
(this.isBackgroundElement(request.event.targetElement) || this.isDragOnHost(request.event.targetElement));
|
|
@@ -818,13 +818,13 @@ let CanvasMovePreparationValidator = class CanvasMovePreparationValidator {
|
|
|
818
818
|
}
|
|
819
819
|
return result;
|
|
820
820
|
}
|
|
821
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CanvasMovePreparationValidator, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
822
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CanvasMovePreparationValidator }); }
|
|
821
823
|
};
|
|
822
|
-
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 });
|
|
823
|
-
CanvasMovePreparationValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CanvasMovePreparationValidator });
|
|
824
824
|
CanvasMovePreparationValidator = __decorate([
|
|
825
825
|
FValidatorRegister(CanvasMovePreparationRequest)
|
|
826
826
|
], CanvasMovePreparationValidator);
|
|
827
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
827
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CanvasMovePreparationValidator, decorators: [{
|
|
828
828
|
type: Injectable
|
|
829
829
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }]; } });
|
|
830
830
|
|
|
@@ -914,10 +914,10 @@ class FNodeInputBase extends FConnectorBase {
|
|
|
914
914
|
get canBeConnected() {
|
|
915
915
|
return !this.disabled && (this.multiple ? true : !this.isConnected);
|
|
916
916
|
}
|
|
917
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FNodeInputBase, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
918
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: FNodeInputBase, usesInheritance: true, ngImport: i0 }); }
|
|
917
919
|
}
|
|
918
|
-
|
|
919
|
-
FNodeInputBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FNodeInputBase, usesInheritance: true, ngImport: i0 });
|
|
920
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FNodeInputBase, decorators: [{
|
|
920
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FNodeInputBase, decorators: [{
|
|
921
921
|
type: Directive
|
|
922
922
|
}] });
|
|
923
923
|
|
|
@@ -931,16 +931,16 @@ function isNode(element) {
|
|
|
931
931
|
|
|
932
932
|
const F_DRAG_HANDLE = new InjectionToken('F_DRAG_HANDLE');
|
|
933
933
|
class FDragHandleDirective {
|
|
934
|
-
constructor(elementReference) {
|
|
935
|
-
this.elementReference = elementReference;
|
|
936
|
-
}
|
|
937
934
|
get hostElement() {
|
|
938
935
|
return this.elementReference.nativeElement;
|
|
939
936
|
}
|
|
937
|
+
constructor(elementReference) {
|
|
938
|
+
this.elementReference = elementReference;
|
|
939
|
+
}
|
|
940
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FDragHandleDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
941
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: FDragHandleDirective, selector: "[fDragHandle]", host: { classAttribute: "f-drag-handle f-component" }, providers: [{ provide: F_DRAG_HANDLE, useExisting: FDragHandleDirective }], ngImport: i0 }); }
|
|
940
942
|
}
|
|
941
|
-
|
|
942
|
-
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 });
|
|
943
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FDragHandleDirective, decorators: [{
|
|
943
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FDragHandleDirective, decorators: [{
|
|
944
944
|
type: Directive,
|
|
945
945
|
args: [{
|
|
946
946
|
selector: "[fDragHandle]",
|
|
@@ -961,10 +961,6 @@ var EFResizeHandleType;
|
|
|
961
961
|
|
|
962
962
|
const F_RESIZE_HANDLE = new InjectionToken('F_RESIZE_HANDLE');
|
|
963
963
|
class FResizeHandleDirective {
|
|
964
|
-
constructor(elementReference) {
|
|
965
|
-
this.elementReference = elementReference;
|
|
966
|
-
this._type = EFResizeHandleType.LEFT_TOP;
|
|
967
|
-
}
|
|
968
964
|
set type(type) {
|
|
969
965
|
this._type = castToEnum(type, 'fResizeHandleType', EFResizeHandleType);
|
|
970
966
|
}
|
|
@@ -977,10 +973,14 @@ class FResizeHandleDirective {
|
|
|
977
973
|
get hostElement() {
|
|
978
974
|
return this.elementReference.nativeElement;
|
|
979
975
|
}
|
|
976
|
+
constructor(elementReference) {
|
|
977
|
+
this.elementReference = elementReference;
|
|
978
|
+
this._type = EFResizeHandleType.LEFT_TOP;
|
|
979
|
+
}
|
|
980
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FResizeHandleDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
981
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", 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 }); }
|
|
980
982
|
}
|
|
981
|
-
|
|
982
|
-
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 });
|
|
983
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FResizeHandleDirective, decorators: [{
|
|
983
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FResizeHandleDirective, decorators: [{
|
|
984
984
|
type: Directive,
|
|
985
985
|
args: [{
|
|
986
986
|
selector: "[fResizeHandle]",
|
|
@@ -1009,10 +1009,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
1009
1009
|
// providers: [ { provide: F_ROTATE_HANDLE, useExisting: FRotateHandleDirective } ],
|
|
1010
1010
|
// })
|
|
1011
1011
|
class FRotateHandleDirective {
|
|
1012
|
-
constructor(elementReference) {
|
|
1013
|
-
this.elementReference = elementReference;
|
|
1014
|
-
this.isDisabled = false;
|
|
1015
|
-
}
|
|
1016
1012
|
// @Input('fRotateHandleDisabled')
|
|
1017
1013
|
// public set disabled(isDisabled: boolean | undefined | string) {
|
|
1018
1014
|
// this.isDisabled = BooleanExtensions.castToBoolean(isDisabled);
|
|
@@ -1023,16 +1019,15 @@ class FRotateHandleDirective {
|
|
|
1023
1019
|
get hostElement() {
|
|
1024
1020
|
return this.elementReference.nativeElement;
|
|
1025
1021
|
}
|
|
1022
|
+
constructor(elementReference) {
|
|
1023
|
+
this.elementReference = elementReference;
|
|
1024
|
+
this.isDisabled = false;
|
|
1025
|
+
}
|
|
1026
1026
|
}
|
|
1027
1027
|
|
|
1028
1028
|
const F_SELECTED_CLASS = 'f-selected';
|
|
1029
1029
|
function mixinChangeSelection(base) {
|
|
1030
1030
|
return class extends base {
|
|
1031
|
-
constructor(...args) {
|
|
1032
|
-
super(...args);
|
|
1033
|
-
this.fId = '';
|
|
1034
|
-
this.fSelectionDisabled = false;
|
|
1035
|
-
}
|
|
1036
1031
|
deselect() {
|
|
1037
1032
|
this.deselectChild?.();
|
|
1038
1033
|
this.hostElement.classList.remove(F_SELECTED_CLASS);
|
|
@@ -1050,6 +1045,11 @@ function mixinChangeSelection(base) {
|
|
|
1050
1045
|
}
|
|
1051
1046
|
deselectChild() {
|
|
1052
1047
|
}
|
|
1048
|
+
constructor(...args) {
|
|
1049
|
+
super(...args);
|
|
1050
|
+
this.fId = '';
|
|
1051
|
+
this.fSelectionDisabled = false;
|
|
1052
|
+
}
|
|
1053
1053
|
};
|
|
1054
1054
|
}
|
|
1055
1055
|
|
|
@@ -1115,6 +1115,20 @@ class FResizeObserver extends Observable {
|
|
|
1115
1115
|
|
|
1116
1116
|
let uniqueId$b = 0;
|
|
1117
1117
|
class FGroupDirective extends FNodeBase {
|
|
1118
|
+
set position(value) {
|
|
1119
|
+
this._position = PointExtensions.castToPoint(value);
|
|
1120
|
+
this.refresh();
|
|
1121
|
+
}
|
|
1122
|
+
get position() {
|
|
1123
|
+
return this._position;
|
|
1124
|
+
}
|
|
1125
|
+
set size(value) {
|
|
1126
|
+
this._size = value;
|
|
1127
|
+
this.refresh();
|
|
1128
|
+
}
|
|
1129
|
+
get size() {
|
|
1130
|
+
return this._size;
|
|
1131
|
+
}
|
|
1118
1132
|
constructor(elementReference, renderer, fComponentsStore, fMediator, fBrowser) {
|
|
1119
1133
|
super(elementReference.nativeElement);
|
|
1120
1134
|
this.renderer = renderer;
|
|
@@ -1132,20 +1146,6 @@ class FGroupDirective extends FNodeBase {
|
|
|
1132
1146
|
this.fConnectOnNode = true;
|
|
1133
1147
|
this.connectors = [];
|
|
1134
1148
|
}
|
|
1135
|
-
set position(value) {
|
|
1136
|
-
this._position = PointExtensions.castToPoint(value);
|
|
1137
|
-
this.refresh();
|
|
1138
|
-
}
|
|
1139
|
-
get position() {
|
|
1140
|
-
return this._position;
|
|
1141
|
-
}
|
|
1142
|
-
set size(value) {
|
|
1143
|
-
this._size = value;
|
|
1144
|
-
this.refresh();
|
|
1145
|
-
}
|
|
1146
|
-
get size() {
|
|
1147
|
-
return this._size;
|
|
1148
|
-
}
|
|
1149
1149
|
ngOnInit() {
|
|
1150
1150
|
this.setStyle('position', 'absolute');
|
|
1151
1151
|
this.setStyle('transform-origin', 'center');
|
|
@@ -1196,12 +1196,12 @@ class FGroupDirective extends FNodeBase {
|
|
|
1196
1196
|
this.stateChanges.complete();
|
|
1197
1197
|
this.subscriptions$.unsubscribe();
|
|
1198
1198
|
}
|
|
1199
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FGroupDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: FComponentsStore }, { token: i2.FMediator }, { token: i1.BrowserService }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1200
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", 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: [
|
|
1201
|
+
{ provide: F_NODE, useExisting: FGroupDirective }
|
|
1202
|
+
], exportAs: ["fComponent"], usesInheritance: true, ngImport: i0 }); }
|
|
1199
1203
|
}
|
|
1200
|
-
|
|
1201
|
-
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: [
|
|
1202
|
-
{ provide: F_NODE, useExisting: FGroupDirective }
|
|
1203
|
-
], exportAs: ["fComponent"], usesInheritance: true, ngImport: i0 });
|
|
1204
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FGroupDirective, decorators: [{
|
|
1204
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FGroupDirective, decorators: [{
|
|
1205
1205
|
type: Directive,
|
|
1206
1206
|
args: [{
|
|
1207
1207
|
selector: "[fGroup]",
|
|
@@ -1248,6 +1248,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
1248
1248
|
|
|
1249
1249
|
let uniqueId$a = 0;
|
|
1250
1250
|
class FNodeDirective extends FNodeBase {
|
|
1251
|
+
set position(value) {
|
|
1252
|
+
this._position = PointExtensions.castToPoint(value);
|
|
1253
|
+
this.refresh();
|
|
1254
|
+
}
|
|
1255
|
+
get position() {
|
|
1256
|
+
return this._position;
|
|
1257
|
+
}
|
|
1258
|
+
set size(value) {
|
|
1259
|
+
this._size = value;
|
|
1260
|
+
this.refresh();
|
|
1261
|
+
}
|
|
1262
|
+
get size() {
|
|
1263
|
+
return this._size;
|
|
1264
|
+
}
|
|
1251
1265
|
constructor(elementReference, renderer, fComponentsStore, fMediator, fBrowser) {
|
|
1252
1266
|
super(elementReference.nativeElement);
|
|
1253
1267
|
this.renderer = renderer;
|
|
@@ -1266,20 +1280,6 @@ class FNodeDirective extends FNodeBase {
|
|
|
1266
1280
|
this.fConnectOnNode = true;
|
|
1267
1281
|
this.connectors = [];
|
|
1268
1282
|
}
|
|
1269
|
-
set position(value) {
|
|
1270
|
-
this._position = PointExtensions.castToPoint(value);
|
|
1271
|
-
this.refresh();
|
|
1272
|
-
}
|
|
1273
|
-
get position() {
|
|
1274
|
-
return this._position;
|
|
1275
|
-
}
|
|
1276
|
-
set size(value) {
|
|
1277
|
-
this._size = value;
|
|
1278
|
-
this.refresh();
|
|
1279
|
-
}
|
|
1280
|
-
get size() {
|
|
1281
|
-
return this._size;
|
|
1282
|
-
}
|
|
1283
1283
|
ngOnInit() {
|
|
1284
1284
|
this.setStyle('position', 'absolute');
|
|
1285
1285
|
this.setStyle('transform-origin', 'center');
|
|
@@ -1330,12 +1330,12 @@ class FNodeDirective extends FNodeBase {
|
|
|
1330
1330
|
this.stateChanges.complete();
|
|
1331
1331
|
this.subscriptions$.unsubscribe();
|
|
1332
1332
|
}
|
|
1333
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FNodeDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: FComponentsStore }, { token: i2.FMediator }, { token: i1.BrowserService }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1334
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", 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: [
|
|
1335
|
+
{ provide: F_NODE, useExisting: FNodeDirective }
|
|
1336
|
+
], exportAs: ["fComponent"], usesInheritance: true, ngImport: i0 }); }
|
|
1333
1337
|
}
|
|
1334
|
-
|
|
1335
|
-
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: [
|
|
1336
|
-
{ provide: F_NODE, useExisting: FNodeDirective }
|
|
1337
|
-
], exportAs: ["fComponent"], usesInheritance: true, ngImport: i0 });
|
|
1338
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FNodeDirective, decorators: [{
|
|
1338
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FNodeDirective, decorators: [{
|
|
1339
1339
|
type: Directive,
|
|
1340
1340
|
args: [{
|
|
1341
1341
|
selector: "[fNode]",
|
|
@@ -1389,17 +1389,6 @@ const F_NODE_PROVIDERS = [
|
|
|
1389
1389
|
|
|
1390
1390
|
let uniqueId$9 = 0;
|
|
1391
1391
|
class FNodeInputDirective extends FNodeInputBase {
|
|
1392
|
-
constructor(elementReference, fNode, fComponentsStore) {
|
|
1393
|
-
super();
|
|
1394
|
-
this.elementReference = elementReference;
|
|
1395
|
-
this.fNode = fNode;
|
|
1396
|
-
this.fComponentsStore = fComponentsStore;
|
|
1397
|
-
this.id = `f-node-input-${uniqueId$9++}`;
|
|
1398
|
-
this.multiple = true;
|
|
1399
|
-
this.isDisabled = false;
|
|
1400
|
-
this._fConnectableSide = EFConnectableSide.AUTO;
|
|
1401
|
-
this.isConnected = false;
|
|
1402
|
-
}
|
|
1403
1392
|
get disabled() {
|
|
1404
1393
|
return this.isDisabled;
|
|
1405
1394
|
}
|
|
@@ -1420,6 +1409,17 @@ class FNodeInputDirective extends FNodeInputBase {
|
|
|
1420
1409
|
get hostElement() {
|
|
1421
1410
|
return this.elementReference.nativeElement;
|
|
1422
1411
|
}
|
|
1412
|
+
constructor(elementReference, fNode, fComponentsStore) {
|
|
1413
|
+
super();
|
|
1414
|
+
this.elementReference = elementReference;
|
|
1415
|
+
this.fNode = fNode;
|
|
1416
|
+
this.fComponentsStore = fComponentsStore;
|
|
1417
|
+
this.id = `f-node-input-${uniqueId$9++}`;
|
|
1418
|
+
this.multiple = true;
|
|
1419
|
+
this.isDisabled = false;
|
|
1420
|
+
this._fConnectableSide = EFConnectableSide.AUTO;
|
|
1421
|
+
this.isConnected = false;
|
|
1422
|
+
}
|
|
1423
1423
|
ngOnInit() {
|
|
1424
1424
|
this.fComponentsStore.addComponent(this.fComponentsStore.fInputs, this);
|
|
1425
1425
|
this.fNode.addConnector(this);
|
|
@@ -1432,10 +1432,10 @@ class FNodeInputDirective extends FNodeInputBase {
|
|
|
1432
1432
|
this.fNode.removeConnector(this);
|
|
1433
1433
|
this.fComponentsStore.removeComponent(this.fComponentsStore.fInputs, this);
|
|
1434
1434
|
}
|
|
1435
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FNodeInputDirective, deps: [{ token: i0.ElementRef }, { token: F_NODE }, { token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1436
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", 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 }); }
|
|
1435
1437
|
}
|
|
1436
|
-
|
|
1437
|
-
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 });
|
|
1438
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FNodeInputDirective, decorators: [{
|
|
1438
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FNodeInputDirective, decorators: [{
|
|
1439
1439
|
type: Directive,
|
|
1440
1440
|
args: [{
|
|
1441
1441
|
selector: "[fNodeInput]",
|
|
@@ -1479,10 +1479,10 @@ class FNodeOutletBase extends FConnectorBase {
|
|
|
1479
1479
|
setOutputs(outputs) {
|
|
1480
1480
|
this.outputs = outputs;
|
|
1481
1481
|
}
|
|
1482
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FNodeOutletBase, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1483
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: FNodeOutletBase, usesInheritance: true, ngImport: i0 }); }
|
|
1482
1484
|
}
|
|
1483
|
-
|
|
1484
|
-
FNodeOutletBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FNodeOutletBase, usesInheritance: true, ngImport: i0 });
|
|
1485
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FNodeOutletBase, decorators: [{
|
|
1485
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FNodeOutletBase, decorators: [{
|
|
1486
1486
|
type: Directive
|
|
1487
1487
|
}] });
|
|
1488
1488
|
|
|
@@ -1492,17 +1492,6 @@ function isNodeOutlet(element) {
|
|
|
1492
1492
|
|
|
1493
1493
|
let uniqueId$8 = 0;
|
|
1494
1494
|
class FNodeOutletDirective extends FNodeOutletBase {
|
|
1495
|
-
constructor(elementReference, fNode, fComponentsStore) {
|
|
1496
|
-
super();
|
|
1497
|
-
this.elementReference = elementReference;
|
|
1498
|
-
this.fNode = fNode;
|
|
1499
|
-
this.fComponentsStore = fComponentsStore;
|
|
1500
|
-
this.id = `f-node-outlet-${uniqueId$8++}`;
|
|
1501
|
-
this.isDisabled = false;
|
|
1502
|
-
this.fConnectableSide = EFConnectableSide.AUTO;
|
|
1503
|
-
this._fConnectableSide = EFConnectableSide.AUTO;
|
|
1504
|
-
this.isConnectionFromOutlet = false;
|
|
1505
|
-
}
|
|
1506
1495
|
get disabled() {
|
|
1507
1496
|
return this.isDisabled;
|
|
1508
1497
|
}
|
|
@@ -1516,6 +1505,17 @@ class FNodeOutletDirective extends FNodeOutletBase {
|
|
|
1516
1505
|
get hostElement() {
|
|
1517
1506
|
return this.elementReference.nativeElement;
|
|
1518
1507
|
}
|
|
1508
|
+
constructor(elementReference, fNode, fComponentsStore) {
|
|
1509
|
+
super();
|
|
1510
|
+
this.elementReference = elementReference;
|
|
1511
|
+
this.fNode = fNode;
|
|
1512
|
+
this.fComponentsStore = fComponentsStore;
|
|
1513
|
+
this.id = `f-node-outlet-${uniqueId$8++}`;
|
|
1514
|
+
this.isDisabled = false;
|
|
1515
|
+
this.fConnectableSide = EFConnectableSide.AUTO;
|
|
1516
|
+
this._fConnectableSide = EFConnectableSide.AUTO;
|
|
1517
|
+
this.isConnectionFromOutlet = false;
|
|
1518
|
+
}
|
|
1519
1519
|
ngOnInit() {
|
|
1520
1520
|
if (!this.fNode) {
|
|
1521
1521
|
throw new Error('fNodeOutlet must be inside fNode Directive');
|
|
@@ -1525,10 +1525,10 @@ class FNodeOutletDirective extends FNodeOutletBase {
|
|
|
1525
1525
|
ngOnDestroy() {
|
|
1526
1526
|
this.fComponentsStore.removeComponent(this.fComponentsStore.fOutlets, this);
|
|
1527
1527
|
}
|
|
1528
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FNodeOutletDirective, deps: [{ token: i0.ElementRef }, { token: F_NODE }, { token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1529
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", 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 }); }
|
|
1528
1530
|
}
|
|
1529
|
-
|
|
1530
|
-
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 });
|
|
1531
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FNodeOutletDirective, decorators: [{
|
|
1531
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FNodeOutletDirective, decorators: [{
|
|
1532
1532
|
type: Directive,
|
|
1533
1533
|
args: [{
|
|
1534
1534
|
selector: "[fNodeOutlet]",
|
|
@@ -1562,10 +1562,10 @@ class FNodeOutputBase extends FConnectorBase {
|
|
|
1562
1562
|
get canBeConnected() {
|
|
1563
1563
|
return !this.disabled && (this.multiple ? true : !this.isConnected);
|
|
1564
1564
|
}
|
|
1565
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FNodeOutputBase, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1566
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: FNodeOutputBase, usesInheritance: true, ngImport: i0 }); }
|
|
1565
1567
|
}
|
|
1566
|
-
|
|
1567
|
-
FNodeOutputBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FNodeOutputBase, usesInheritance: true, ngImport: i0 });
|
|
1568
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FNodeOutputBase, decorators: [{
|
|
1568
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FNodeOutputBase, decorators: [{
|
|
1569
1569
|
type: Directive
|
|
1570
1570
|
}] });
|
|
1571
1571
|
|
|
@@ -1575,18 +1575,6 @@ function isNodeOutput(element) {
|
|
|
1575
1575
|
|
|
1576
1576
|
let uniqueId$7 = 0;
|
|
1577
1577
|
class FNodeOutputDirective extends FNodeOutputBase {
|
|
1578
|
-
constructor(elementReference, fNode, fComponentsStore) {
|
|
1579
|
-
super();
|
|
1580
|
-
this.elementReference = elementReference;
|
|
1581
|
-
this.fNode = fNode;
|
|
1582
|
-
this.fComponentsStore = fComponentsStore;
|
|
1583
|
-
this.id = `f-node-output-${uniqueId$7++}`;
|
|
1584
|
-
this.multiple = false;
|
|
1585
|
-
this.isDisabled = false;
|
|
1586
|
-
this._fConnectableSide = EFConnectableSide.AUTO;
|
|
1587
|
-
this.isConnected = false;
|
|
1588
|
-
this.isSelfConnectable = true;
|
|
1589
|
-
}
|
|
1590
1578
|
get disabled() {
|
|
1591
1579
|
return this.isDisabled;
|
|
1592
1580
|
}
|
|
@@ -1607,6 +1595,18 @@ class FNodeOutputDirective extends FNodeOutputBase {
|
|
|
1607
1595
|
get hostElement() {
|
|
1608
1596
|
return this.elementReference.nativeElement;
|
|
1609
1597
|
}
|
|
1598
|
+
constructor(elementReference, fNode, fComponentsStore) {
|
|
1599
|
+
super();
|
|
1600
|
+
this.elementReference = elementReference;
|
|
1601
|
+
this.fNode = fNode;
|
|
1602
|
+
this.fComponentsStore = fComponentsStore;
|
|
1603
|
+
this.id = `f-node-output-${uniqueId$7++}`;
|
|
1604
|
+
this.multiple = false;
|
|
1605
|
+
this.isDisabled = false;
|
|
1606
|
+
this._fConnectableSide = EFConnectableSide.AUTO;
|
|
1607
|
+
this.isConnected = false;
|
|
1608
|
+
this.isSelfConnectable = true;
|
|
1609
|
+
}
|
|
1610
1610
|
ngOnInit() {
|
|
1611
1611
|
if (!this.fNode) {
|
|
1612
1612
|
throw new Error('fNodeOutput must be inside fNode Directive');
|
|
@@ -1622,10 +1622,10 @@ class FNodeOutputDirective extends FNodeOutputBase {
|
|
|
1622
1622
|
this.fNode.removeConnector(this);
|
|
1623
1623
|
this.fComponentsStore.removeComponent(this.fComponentsStore.fOutputs, this);
|
|
1624
1624
|
}
|
|
1625
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FNodeOutputDirective, deps: [{ token: i0.ElementRef }, { token: F_NODE }, { token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1626
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", 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 }); }
|
|
1625
1627
|
}
|
|
1626
|
-
|
|
1627
|
-
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 });
|
|
1628
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FNodeOutputDirective, decorators: [{
|
|
1628
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FNodeOutputDirective, decorators: [{
|
|
1629
1629
|
type: Directive,
|
|
1630
1630
|
args: [{
|
|
1631
1631
|
selector: "[fNodeOutput]",
|
|
@@ -1710,15 +1710,15 @@ class GetCanBeConnectedOutputByOutletRequest {
|
|
|
1710
1710
|
}
|
|
1711
1711
|
|
|
1712
1712
|
let GetCanBeConnectedOutputByOutletExecution = class GetCanBeConnectedOutputByOutletExecution {
|
|
1713
|
-
constructor(fComponentsStore) {
|
|
1714
|
-
this.fComponentsStore = fComponentsStore;
|
|
1715
|
-
}
|
|
1716
1713
|
get fNodes() {
|
|
1717
1714
|
return this.fComponentsStore.fNodes;
|
|
1718
1715
|
}
|
|
1719
1716
|
get fOutputs() {
|
|
1720
1717
|
return this.fComponentsStore.fOutputs;
|
|
1721
1718
|
}
|
|
1719
|
+
constructor(fComponentsStore) {
|
|
1720
|
+
this.fComponentsStore = fComponentsStore;
|
|
1721
|
+
}
|
|
1722
1722
|
handle(request) {
|
|
1723
1723
|
const outputs = this.getConnectableOutputs(this.getNode(request.outlet));
|
|
1724
1724
|
if (!outputs.length) {
|
|
@@ -1734,33 +1734,33 @@ let GetCanBeConnectedOutputByOutletExecution = class GetCanBeConnectedOutputByOu
|
|
|
1734
1734
|
getNode(outlet) {
|
|
1735
1735
|
return this.fNodes.find((x) => x.isContains(outlet.hostElement));
|
|
1736
1736
|
}
|
|
1737
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetCanBeConnectedOutputByOutletExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1738
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetCanBeConnectedOutputByOutletExecution }); }
|
|
1737
1739
|
};
|
|
1738
|
-
GetCanBeConnectedOutputByOutletExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetCanBeConnectedOutputByOutletExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1739
|
-
GetCanBeConnectedOutputByOutletExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetCanBeConnectedOutputByOutletExecution });
|
|
1740
1740
|
GetCanBeConnectedOutputByOutletExecution = __decorate([
|
|
1741
1741
|
FExecutionRegister(GetCanBeConnectedOutputByOutletRequest)
|
|
1742
1742
|
], GetCanBeConnectedOutputByOutletExecution);
|
|
1743
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1743
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetCanBeConnectedOutputByOutletExecution, decorators: [{
|
|
1744
1744
|
type: Injectable
|
|
1745
1745
|
}], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
|
|
1746
1746
|
|
|
1747
1747
|
let GetCanBeConnectedOutputByOutletValidator = class GetCanBeConnectedOutputByOutletValidator {
|
|
1748
|
-
constructor(fComponentsStore) {
|
|
1749
|
-
this.fComponentsStore = fComponentsStore;
|
|
1750
|
-
}
|
|
1751
1748
|
get fNodes() {
|
|
1752
1749
|
return this.fComponentsStore.fNodes;
|
|
1753
1750
|
}
|
|
1751
|
+
constructor(fComponentsStore) {
|
|
1752
|
+
this.fComponentsStore = fComponentsStore;
|
|
1753
|
+
}
|
|
1754
1754
|
handle(request) {
|
|
1755
1755
|
return !!this.fNodes.find((x) => x.isContains(request.outlet.hostElement));
|
|
1756
1756
|
}
|
|
1757
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetCanBeConnectedOutputByOutletValidator, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1758
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetCanBeConnectedOutputByOutletValidator }); }
|
|
1757
1759
|
};
|
|
1758
|
-
GetCanBeConnectedOutputByOutletValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetCanBeConnectedOutputByOutletValidator, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1759
|
-
GetCanBeConnectedOutputByOutletValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetCanBeConnectedOutputByOutletValidator });
|
|
1760
1760
|
GetCanBeConnectedOutputByOutletValidator = __decorate([
|
|
1761
1761
|
FValidatorRegister(GetCanBeConnectedOutputByOutletRequest)
|
|
1762
1762
|
], GetCanBeConnectedOutputByOutletValidator);
|
|
1763
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1763
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetCanBeConnectedOutputByOutletValidator, decorators: [{
|
|
1764
1764
|
type: Injectable
|
|
1765
1765
|
}], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
|
|
1766
1766
|
|
|
@@ -1780,17 +1780,17 @@ class GetInputUnderPointerRequest {
|
|
|
1780
1780
|
}
|
|
1781
1781
|
|
|
1782
1782
|
let GetInputUnderPointerExecution = class GetInputUnderPointerExecution {
|
|
1783
|
-
constructor(fComponentsStore, fDraggableDataContext, fBrowser) {
|
|
1784
|
-
this.fComponentsStore = fComponentsStore;
|
|
1785
|
-
this.fDraggableDataContext = fDraggableDataContext;
|
|
1786
|
-
this.fBrowser = fBrowser;
|
|
1787
|
-
}
|
|
1788
1783
|
get fNodes() {
|
|
1789
1784
|
return this.fComponentsStore.fNodes;
|
|
1790
1785
|
}
|
|
1791
1786
|
get fInputs() {
|
|
1792
1787
|
return this.fComponentsStore.fInputs;
|
|
1793
1788
|
}
|
|
1789
|
+
constructor(fComponentsStore, fDraggableDataContext, fBrowser) {
|
|
1790
|
+
this.fComponentsStore = fComponentsStore;
|
|
1791
|
+
this.fDraggableDataContext = fDraggableDataContext;
|
|
1792
|
+
this.fBrowser = fBrowser;
|
|
1793
|
+
}
|
|
1794
1794
|
handle(payload) {
|
|
1795
1795
|
const output = (this.getOutput(payload.dragHandler) || this.getOutlet(payload.dragHandler));
|
|
1796
1796
|
const inputsUnderPointer = this.getInputsUnderPointer(payload.event.getPosition(), payload.dragHandler);
|
|
@@ -1844,13 +1844,13 @@ let GetInputUnderPointerExecution = class GetInputUnderPointerExecution {
|
|
|
1844
1844
|
return sourceNode?.hostElement !== targetNode?.hostElement;
|
|
1845
1845
|
});
|
|
1846
1846
|
}
|
|
1847
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetInputUnderPointerExecution, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: i1.BrowserService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1848
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetInputUnderPointerExecution }); }
|
|
1847
1849
|
};
|
|
1848
|
-
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 });
|
|
1849
|
-
GetInputUnderPointerExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetInputUnderPointerExecution });
|
|
1850
1850
|
GetInputUnderPointerExecution = __decorate([
|
|
1851
1851
|
FExecutionRegister(GetInputUnderPointerRequest)
|
|
1852
1852
|
], GetInputUnderPointerExecution);
|
|
1853
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1853
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetInputUnderPointerExecution, decorators: [{
|
|
1854
1854
|
type: Injectable
|
|
1855
1855
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: i1.BrowserService }]; } });
|
|
1856
1856
|
|
|
@@ -1871,25 +1871,25 @@ let GetInputUnderPointerValidator = class GetInputUnderPointerValidator {
|
|
|
1871
1871
|
getOutlet(dragHandler) {
|
|
1872
1872
|
return this.fComponentsStore.fOutlets.find((x) => x.id === dragHandler.fConnection.fOutputId);
|
|
1873
1873
|
}
|
|
1874
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetInputUnderPointerValidator, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1875
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetInputUnderPointerValidator }); }
|
|
1874
1876
|
};
|
|
1875
|
-
GetInputUnderPointerValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetInputUnderPointerValidator, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1876
|
-
GetInputUnderPointerValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetInputUnderPointerValidator });
|
|
1877
1877
|
GetInputUnderPointerValidator = __decorate([
|
|
1878
1878
|
FValidatorRegister(GetInputUnderPointerRequest)
|
|
1879
1879
|
], GetInputUnderPointerValidator);
|
|
1880
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1880
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetInputUnderPointerValidator, decorators: [{
|
|
1881
1881
|
type: Injectable
|
|
1882
1882
|
}], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
|
|
1883
1883
|
|
|
1884
1884
|
let CreateConnectionFinalizeExecution = class CreateConnectionFinalizeExecution {
|
|
1885
|
+
get dragHandler() {
|
|
1886
|
+
return this.fDraggableDataContext.draggableItems[0];
|
|
1887
|
+
}
|
|
1885
1888
|
constructor(fComponentsStore, fDraggableDataContext, fMediator) {
|
|
1886
1889
|
this.fComponentsStore = fComponentsStore;
|
|
1887
1890
|
this.fDraggableDataContext = fDraggableDataContext;
|
|
1888
1891
|
this.fMediator = fMediator;
|
|
1889
1892
|
}
|
|
1890
|
-
get dragHandler() {
|
|
1891
|
-
return this.fDraggableDataContext.draggableItems[0];
|
|
1892
|
-
}
|
|
1893
1893
|
handle(request) {
|
|
1894
1894
|
this.emitEvent(request.event);
|
|
1895
1895
|
this.dragHandler.complete();
|
|
@@ -1912,17 +1912,23 @@ let CreateConnectionFinalizeExecution = class CreateConnectionFinalizeExecution
|
|
|
1912
1912
|
getInputUnderPointer(event) {
|
|
1913
1913
|
return this.fMediator.send(new GetInputUnderPointerRequest(event, this.dragHandler));
|
|
1914
1914
|
}
|
|
1915
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CreateConnectionFinalizeExecution, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1916
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CreateConnectionFinalizeExecution }); }
|
|
1915
1917
|
};
|
|
1916
|
-
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 });
|
|
1917
|
-
CreateConnectionFinalizeExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CreateConnectionFinalizeExecution });
|
|
1918
1918
|
CreateConnectionFinalizeExecution = __decorate([
|
|
1919
1919
|
FExecutionRegister(CreateConnectionFinalizeRequest)
|
|
1920
1920
|
], CreateConnectionFinalizeExecution);
|
|
1921
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1921
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CreateConnectionFinalizeExecution, decorators: [{
|
|
1922
1922
|
type: Injectable
|
|
1923
1923
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: i2.FMediator }]; } });
|
|
1924
1924
|
|
|
1925
1925
|
class CreateConnectionDragHandler {
|
|
1926
|
+
get fConnection() {
|
|
1927
|
+
return this.fComponentsStore.fTempConnection;
|
|
1928
|
+
}
|
|
1929
|
+
get fSnapConnection() {
|
|
1930
|
+
return this.fComponentsStore.fSnapConnection;
|
|
1931
|
+
}
|
|
1926
1932
|
constructor(fMediator, fComponentsStore, fOutput, onPointerDownPosition) {
|
|
1927
1933
|
this.fMediator = fMediator;
|
|
1928
1934
|
this.fComponentsStore = fComponentsStore;
|
|
@@ -1931,12 +1937,6 @@ class CreateConnectionDragHandler {
|
|
|
1931
1937
|
this.toConnectorRect = new RoundedRect();
|
|
1932
1938
|
this.canBeConnectedInputs = [];
|
|
1933
1939
|
}
|
|
1934
|
-
get fConnection() {
|
|
1935
|
-
return this.fComponentsStore.fTempConnection;
|
|
1936
|
-
}
|
|
1937
|
-
get fSnapConnection() {
|
|
1938
|
-
return this.fComponentsStore.fSnapConnection;
|
|
1939
|
-
}
|
|
1940
1940
|
initialize() {
|
|
1941
1941
|
if (this.fSnapConnection) {
|
|
1942
1942
|
this.fSnapConnection.fOutputId = this.fOutput.id;
|
|
@@ -1952,7 +1952,9 @@ class CreateConnectionDragHandler {
|
|
|
1952
1952
|
}
|
|
1953
1953
|
move(difference) {
|
|
1954
1954
|
this.drawTempConnection(this.toConnectorRect.addPoint(difference));
|
|
1955
|
-
|
|
1955
|
+
if (this.fSnapConnection) {
|
|
1956
|
+
this.drawSnapConnection(this.getClosetInput(difference));
|
|
1957
|
+
}
|
|
1956
1958
|
}
|
|
1957
1959
|
drawTempConnection(fInputRect) {
|
|
1958
1960
|
const line = this.fMediator.send(new GetConnectionLineRequest(this.fOutputWithRect.fRect, fInputRect, this.fConnection.fBehavior, this.fOutputWithRect.fConnector.fConnectableSide, EFConnectableSide.TOP));
|
|
@@ -1971,6 +1973,9 @@ class CreateConnectionDragHandler {
|
|
|
1971
1973
|
}
|
|
1972
1974
|
}
|
|
1973
1975
|
getClosetInput(difference) {
|
|
1976
|
+
if (!this.fSnapConnection) {
|
|
1977
|
+
return undefined;
|
|
1978
|
+
}
|
|
1974
1979
|
return this.fMediator.send(new FindClosestInputUsingSnapThresholdRequest(Point.fromPoint(this.toConnectorRect).add(difference), this.canBeConnectedInputs, this.fSnapConnection.fSnapThreshold));
|
|
1975
1980
|
}
|
|
1976
1981
|
complete() {
|
|
@@ -1987,13 +1992,13 @@ let CreateConnectionFinalizeValidator = class CreateConnectionFinalizeValidator
|
|
|
1987
1992
|
handle(request) {
|
|
1988
1993
|
return this.fDraggableDataContext.draggableItems.some((x) => x instanceof CreateConnectionDragHandler);
|
|
1989
1994
|
}
|
|
1995
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CreateConnectionFinalizeValidator, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1996
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CreateConnectionFinalizeValidator }); }
|
|
1990
1997
|
};
|
|
1991
|
-
CreateConnectionFinalizeValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CreateConnectionFinalizeValidator, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1992
|
-
CreateConnectionFinalizeValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CreateConnectionFinalizeValidator });
|
|
1993
1998
|
CreateConnectionFinalizeValidator = __decorate([
|
|
1994
1999
|
FValidatorRegister(CreateConnectionFinalizeRequest)
|
|
1995
2000
|
], CreateConnectionFinalizeValidator);
|
|
1996
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2001
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CreateConnectionFinalizeValidator, decorators: [{
|
|
1997
2002
|
type: Injectable
|
|
1998
2003
|
}], ctorParameters: function () { return [{ type: FDraggableDataContext }]; } });
|
|
1999
2004
|
|
|
@@ -2005,17 +2010,17 @@ class CreateConnectionDragHandlerRequest {
|
|
|
2005
2010
|
}
|
|
2006
2011
|
|
|
2007
2012
|
let CreateConnectionDragHandlerExecution = class CreateConnectionDragHandlerExecution {
|
|
2008
|
-
constructor(fComponentsStore, fDraggableDataContext, fMediator) {
|
|
2009
|
-
this.fComponentsStore = fComponentsStore;
|
|
2010
|
-
this.fDraggableDataContext = fDraggableDataContext;
|
|
2011
|
-
this.fMediator = fMediator;
|
|
2012
|
-
}
|
|
2013
2013
|
get flowHost() {
|
|
2014
2014
|
return this.fComponentsStore.flowHost;
|
|
2015
2015
|
}
|
|
2016
2016
|
get transform() {
|
|
2017
2017
|
return this.fComponentsStore.fCanvas.transform;
|
|
2018
2018
|
}
|
|
2019
|
+
constructor(fComponentsStore, fDraggableDataContext, fMediator) {
|
|
2020
|
+
this.fComponentsStore = fComponentsStore;
|
|
2021
|
+
this.fDraggableDataContext = fDraggableDataContext;
|
|
2022
|
+
this.fMediator = fMediator;
|
|
2023
|
+
}
|
|
2019
2024
|
handle(request) {
|
|
2020
2025
|
this.fDraggableDataContext.onPointerDownScale = this.transform.scale;
|
|
2021
2026
|
const positionRelativeToFlowComponent = Point.fromPoint(request.onPointerDownPosition)
|
|
@@ -2027,13 +2032,13 @@ let CreateConnectionDragHandlerExecution = class CreateConnectionDragHandlerExec
|
|
|
2027
2032
|
new CreateConnectionDragHandler(this.fMediator, this.fComponentsStore, request.connector, positionRelativeToCanvasComponent)
|
|
2028
2033
|
];
|
|
2029
2034
|
}
|
|
2035
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CreateConnectionDragHandlerExecution, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2036
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CreateConnectionDragHandlerExecution }); }
|
|
2030
2037
|
};
|
|
2031
|
-
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 });
|
|
2032
|
-
CreateConnectionDragHandlerExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CreateConnectionDragHandlerExecution });
|
|
2033
2038
|
CreateConnectionDragHandlerExecution = __decorate([
|
|
2034
2039
|
FExecutionRegister(CreateConnectionDragHandlerRequest)
|
|
2035
2040
|
], CreateConnectionDragHandlerExecution);
|
|
2036
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2041
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CreateConnectionDragHandlerExecution, decorators: [{
|
|
2037
2042
|
type: Injectable
|
|
2038
2043
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: i2.FMediator }]; } });
|
|
2039
2044
|
|
|
@@ -2075,13 +2080,13 @@ let CreateConnectionFromOutletPreparationExecution = class CreateConnectionFromO
|
|
|
2075
2080
|
createDragHandler(position, output) {
|
|
2076
2081
|
this.fMediator.send(new CreateConnectionDragHandlerRequest(position, output));
|
|
2077
2082
|
}
|
|
2083
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CreateConnectionFromOutletPreparationExecution, deps: [{ token: FComponentsStore }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2084
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CreateConnectionFromOutletPreparationExecution }); }
|
|
2078
2085
|
};
|
|
2079
|
-
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 });
|
|
2080
|
-
CreateConnectionFromOutletPreparationExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CreateConnectionFromOutletPreparationExecution });
|
|
2081
2086
|
CreateConnectionFromOutletPreparationExecution = __decorate([
|
|
2082
2087
|
FExecutionRegister(CreateConnectionFromOutletPreparationRequest)
|
|
2083
2088
|
], CreateConnectionFromOutletPreparationExecution);
|
|
2084
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2089
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CreateConnectionFromOutletPreparationExecution, decorators: [{
|
|
2085
2090
|
type: Injectable
|
|
2086
2091
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: i2.FMediator }]; } });
|
|
2087
2092
|
|
|
@@ -2111,13 +2116,13 @@ let CreateConnectionFromOutputPreparationExecution = class CreateConnectionFromO
|
|
|
2111
2116
|
createDragHandler(position, output) {
|
|
2112
2117
|
this.fMediator.send(new CreateConnectionDragHandlerRequest(position, output));
|
|
2113
2118
|
}
|
|
2119
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CreateConnectionFromOutputPreparationExecution, deps: [{ token: FComponentsStore }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2120
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CreateConnectionFromOutputPreparationExecution }); }
|
|
2114
2121
|
};
|
|
2115
|
-
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 });
|
|
2116
|
-
CreateConnectionFromOutputPreparationExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CreateConnectionFromOutputPreparationExecution });
|
|
2117
2122
|
CreateConnectionFromOutputPreparationExecution = __decorate([
|
|
2118
2123
|
FExecutionRegister(CreateConnectionFromOutputPreparationRequest)
|
|
2119
2124
|
], CreateConnectionFromOutputPreparationExecution);
|
|
2120
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2125
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CreateConnectionFromOutputPreparationExecution, decorators: [{
|
|
2121
2126
|
type: Injectable
|
|
2122
2127
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: i2.FMediator }]; } });
|
|
2123
2128
|
|
|
@@ -2137,13 +2142,13 @@ let CreateConnectionFromOutputPreparationValidator = class CreateConnectionFromO
|
|
|
2137
2142
|
getOutlets(node) {
|
|
2138
2143
|
return this.fComponentsStore.fOutlets.filter((x) => node.isContains(x.hostElement));
|
|
2139
2144
|
}
|
|
2145
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CreateConnectionFromOutputPreparationValidator, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2146
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CreateConnectionFromOutputPreparationValidator }); }
|
|
2140
2147
|
};
|
|
2141
|
-
CreateConnectionFromOutputPreparationValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CreateConnectionFromOutputPreparationValidator, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2142
|
-
CreateConnectionFromOutputPreparationValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CreateConnectionFromOutputPreparationValidator });
|
|
2143
2148
|
CreateConnectionFromOutputPreparationValidator = __decorate([
|
|
2144
2149
|
FValidatorRegister(CreateConnectionFromOutputPreparationRequest)
|
|
2145
2150
|
], CreateConnectionFromOutputPreparationValidator);
|
|
2146
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2151
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CreateConnectionFromOutputPreparationValidator, decorators: [{
|
|
2147
2152
|
type: Injectable
|
|
2148
2153
|
}], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
|
|
2149
2154
|
|
|
@@ -2175,13 +2180,13 @@ let CreateConnectionPreparationExecution = class CreateConnectionPreparationExec
|
|
|
2175
2180
|
getOutlets(node) {
|
|
2176
2181
|
return this.fComponentsStore.fOutlets.filter((x) => node.isContains(x.hostElement));
|
|
2177
2182
|
}
|
|
2183
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CreateConnectionPreparationExecution, deps: [{ token: FComponentsStore }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2184
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CreateConnectionPreparationExecution }); }
|
|
2178
2185
|
};
|
|
2179
|
-
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 });
|
|
2180
|
-
CreateConnectionPreparationExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CreateConnectionPreparationExecution });
|
|
2181
2186
|
CreateConnectionPreparationExecution = __decorate([
|
|
2182
2187
|
FExecutionRegister(CreateConnectionPreparationRequest)
|
|
2183
2188
|
], CreateConnectionPreparationExecution);
|
|
2184
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2189
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CreateConnectionPreparationExecution, decorators: [{
|
|
2185
2190
|
type: Injectable
|
|
2186
2191
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: i2.FMediator }]; } });
|
|
2187
2192
|
|
|
@@ -2199,13 +2204,13 @@ let CreateConnectionPreparationValidator = class CreateConnectionPreparationVali
|
|
|
2199
2204
|
isValidConditions() {
|
|
2200
2205
|
return !this.fDraggableDataContext.draggableItems.length && !!this.fComponentsStore.fTempConnection;
|
|
2201
2206
|
}
|
|
2207
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CreateConnectionPreparationValidator, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2208
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CreateConnectionPreparationValidator }); }
|
|
2202
2209
|
};
|
|
2203
|
-
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 });
|
|
2204
|
-
CreateConnectionPreparationValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CreateConnectionPreparationValidator });
|
|
2205
2210
|
CreateConnectionPreparationValidator = __decorate([
|
|
2206
2211
|
FValidatorRegister(CreateConnectionPreparationRequest)
|
|
2207
2212
|
], CreateConnectionPreparationValidator);
|
|
2208
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2213
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CreateConnectionPreparationValidator, decorators: [{
|
|
2209
2214
|
type: Injectable
|
|
2210
2215
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }]; } });
|
|
2211
2216
|
|
|
@@ -2225,17 +2230,17 @@ class FReassignConnectionEvent {
|
|
|
2225
2230
|
}
|
|
2226
2231
|
|
|
2227
2232
|
let ReassignConnectionFinalizeExecution = class ReassignConnectionFinalizeExecution {
|
|
2228
|
-
constructor(fComponentsStore, fDraggableDataContext, fMediator) {
|
|
2229
|
-
this.fComponentsStore = fComponentsStore;
|
|
2230
|
-
this.fDraggableDataContext = fDraggableDataContext;
|
|
2231
|
-
this.fMediator = fMediator;
|
|
2232
|
-
}
|
|
2233
2233
|
get fDraggable() {
|
|
2234
2234
|
return this.fComponentsStore.fDraggable;
|
|
2235
2235
|
}
|
|
2236
2236
|
get dragHandler() {
|
|
2237
2237
|
return this.fDraggableDataContext.draggableItems[0];
|
|
2238
2238
|
}
|
|
2239
|
+
constructor(fComponentsStore, fDraggableDataContext, fMediator) {
|
|
2240
|
+
this.fComponentsStore = fComponentsStore;
|
|
2241
|
+
this.fDraggableDataContext = fDraggableDataContext;
|
|
2242
|
+
this.fMediator = fMediator;
|
|
2243
|
+
}
|
|
2239
2244
|
handle(request) {
|
|
2240
2245
|
this.emitEvent(request.event);
|
|
2241
2246
|
this.dragHandler.complete();
|
|
@@ -2253,17 +2258,20 @@ let ReassignConnectionFinalizeExecution = class ReassignConnectionFinalizeExecut
|
|
|
2253
2258
|
isReassignToDifferentInput(inputsUnderPointer) {
|
|
2254
2259
|
return this.dragHandler.fConnection.fInputId !== inputsUnderPointer.id;
|
|
2255
2260
|
}
|
|
2261
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ReassignConnectionFinalizeExecution, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2262
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ReassignConnectionFinalizeExecution }); }
|
|
2256
2263
|
};
|
|
2257
|
-
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 });
|
|
2258
|
-
ReassignConnectionFinalizeExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ReassignConnectionFinalizeExecution });
|
|
2259
2264
|
ReassignConnectionFinalizeExecution = __decorate([
|
|
2260
2265
|
FExecutionRegister(ReassignConnectionFinalizeRequest)
|
|
2261
2266
|
], ReassignConnectionFinalizeExecution);
|
|
2262
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2267
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ReassignConnectionFinalizeExecution, decorators: [{
|
|
2263
2268
|
type: Injectable
|
|
2264
2269
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: i2.FMediator }]; } });
|
|
2265
2270
|
|
|
2266
2271
|
class ReassignConnectionDragHandler {
|
|
2272
|
+
get fSnapConnection() {
|
|
2273
|
+
return this.fComponentsStore.fSnapConnection;
|
|
2274
|
+
}
|
|
2267
2275
|
constructor(fMediator, fComponentsStore, fConnection) {
|
|
2268
2276
|
this.fMediator = fMediator;
|
|
2269
2277
|
this.fComponentsStore = fComponentsStore;
|
|
@@ -2271,9 +2279,6 @@ class ReassignConnectionDragHandler {
|
|
|
2271
2279
|
this.toConnectorRect = new RoundedRect();
|
|
2272
2280
|
this.canBeConnectedInputs = [];
|
|
2273
2281
|
}
|
|
2274
|
-
get fSnapConnection() {
|
|
2275
|
-
return this.fComponentsStore.fSnapConnection;
|
|
2276
|
-
}
|
|
2277
2282
|
initialize() {
|
|
2278
2283
|
if (this.fSnapConnection) {
|
|
2279
2284
|
this.fSnapConnection.fOutputId = this.fConnection.fOutputId;
|
|
@@ -2291,8 +2296,13 @@ class ReassignConnectionDragHandler {
|
|
|
2291
2296
|
return this.fComponentsStore.fInputs.find((x) => x.id === this.fConnection.fInputId);
|
|
2292
2297
|
}
|
|
2293
2298
|
move(difference) {
|
|
2294
|
-
this.drawConnection({
|
|
2295
|
-
|
|
2299
|
+
this.drawConnection({
|
|
2300
|
+
fRect: this.toConnectorRect.addPoint(difference),
|
|
2301
|
+
fConnector: this.fInputWithRect.fConnector
|
|
2302
|
+
});
|
|
2303
|
+
if (this.fSnapConnection) {
|
|
2304
|
+
this.drawSnapConnection(this.getClosetInput(difference));
|
|
2305
|
+
}
|
|
2296
2306
|
}
|
|
2297
2307
|
drawConnection(fInputWithRect) {
|
|
2298
2308
|
const line = this.fMediator.send(new GetConnectionLineRequest(this.fOutputWithRect.fRect, fInputWithRect.fRect, this.fConnection.fBehavior, this.fOutputWithRect.fConnector.fConnectableSide, fInputWithRect.fConnector.fConnectableSide));
|
|
@@ -2311,6 +2321,9 @@ class ReassignConnectionDragHandler {
|
|
|
2311
2321
|
}
|
|
2312
2322
|
}
|
|
2313
2323
|
getClosetInput(difference) {
|
|
2324
|
+
if (!this.fSnapConnection) {
|
|
2325
|
+
return undefined;
|
|
2326
|
+
}
|
|
2314
2327
|
return this.fMediator.send(new FindClosestInputUsingSnapThresholdRequest(Point.fromPoint(this.toConnectorRect).add(difference), this.canBeConnectedInputs, this.fSnapConnection.fSnapThreshold));
|
|
2315
2328
|
}
|
|
2316
2329
|
complete() {
|
|
@@ -2326,13 +2339,13 @@ let ReassignConnectionFinalizeValidator = class ReassignConnectionFinalizeValida
|
|
|
2326
2339
|
handle(request) {
|
|
2327
2340
|
return this.fDraggableDataContext.draggableItems.some((x) => x instanceof ReassignConnectionDragHandler);
|
|
2328
2341
|
}
|
|
2342
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ReassignConnectionFinalizeValidator, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2343
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ReassignConnectionFinalizeValidator }); }
|
|
2329
2344
|
};
|
|
2330
|
-
ReassignConnectionFinalizeValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ReassignConnectionFinalizeValidator, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2331
|
-
ReassignConnectionFinalizeValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ReassignConnectionFinalizeValidator });
|
|
2332
2345
|
ReassignConnectionFinalizeValidator = __decorate([
|
|
2333
2346
|
FValidatorRegister(ReassignConnectionFinalizeRequest)
|
|
2334
2347
|
], ReassignConnectionFinalizeValidator);
|
|
2335
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2348
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ReassignConnectionFinalizeValidator, decorators: [{
|
|
2336
2349
|
type: Injectable
|
|
2337
2350
|
}], ctorParameters: function () { return [{ type: FDraggableDataContext }]; } });
|
|
2338
2351
|
|
|
@@ -2607,6 +2620,12 @@ const F_CONNECTION_IDENTIFIERS = {
|
|
|
2607
2620
|
const F_CONNECTION = new InjectionToken('F_CONNECTION');
|
|
2608
2621
|
|
|
2609
2622
|
class FConnectionTextPathDirective {
|
|
2623
|
+
get linkToConnection() {
|
|
2624
|
+
return F_CONNECTION_IDENTIFIERS.linkToConnection(this.base.fId + this.base.fOutputId + this.base.fInputId);
|
|
2625
|
+
}
|
|
2626
|
+
get hostElement() {
|
|
2627
|
+
return this.elementReference.nativeElement;
|
|
2628
|
+
}
|
|
2610
2629
|
constructor(elementReference, base, fBrowser) {
|
|
2611
2630
|
this.elementReference = elementReference;
|
|
2612
2631
|
this.base = base;
|
|
@@ -2614,12 +2633,6 @@ class FConnectionTextPathDirective {
|
|
|
2614
2633
|
this.symbolWidth = 8;
|
|
2615
2634
|
this.fontSize = '12px';
|
|
2616
2635
|
}
|
|
2617
|
-
get linkToConnection() {
|
|
2618
|
-
return F_CONNECTION_IDENTIFIERS.linkToConnection(this.base.fId + this.base.fOutputId + this.base.fInputId);
|
|
2619
|
-
}
|
|
2620
|
-
get hostElement() {
|
|
2621
|
-
return this.elementReference.nativeElement;
|
|
2622
|
-
}
|
|
2623
2636
|
ngOnInit() {
|
|
2624
2637
|
this.hostElement.setAttribute('startOffset', '50%');
|
|
2625
2638
|
this.hostElement.setAttribute('text-anchor', `middle`);
|
|
@@ -2655,10 +2668,10 @@ class FConnectionTextPathDirective {
|
|
|
2655
2668
|
const symbolWidth = metrics.width / text.length;
|
|
2656
2669
|
return symbolWidth;
|
|
2657
2670
|
}
|
|
2671
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FConnectionTextPathDirective, deps: [{ token: i0.ElementRef }, { token: F_CONNECTION }, { token: i1.BrowserService }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2672
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: FConnectionTextPathDirective, selector: "textPath[f-connection-text-path]", host: { properties: { "attr.href": "linkToConnection" } }, ngImport: i0 }); }
|
|
2658
2673
|
}
|
|
2659
|
-
|
|
2660
|
-
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 });
|
|
2661
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FConnectionTextPathDirective, decorators: [{
|
|
2674
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FConnectionTextPathDirective, decorators: [{
|
|
2662
2675
|
type: Directive,
|
|
2663
2676
|
args: [{
|
|
2664
2677
|
selector: 'textPath[f-connection-text-path]',
|
|
@@ -2674,10 +2687,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
2674
2687
|
const CONNECTION_TEXT = new InjectionToken('CONNECTION_TEXT');
|
|
2675
2688
|
|
|
2676
2689
|
class FConnectionTextComponent {
|
|
2677
|
-
constructor(elementReference, base) {
|
|
2678
|
-
this.elementReference = elementReference;
|
|
2679
|
-
this.base = base;
|
|
2680
|
-
}
|
|
2681
2690
|
get textId() {
|
|
2682
2691
|
return F_CONNECTION_IDENTIFIERS.textId(this.base.fId + this.base.fOutputId + this.base.fInputId);
|
|
2683
2692
|
}
|
|
@@ -2687,6 +2696,10 @@ class FConnectionTextComponent {
|
|
|
2687
2696
|
get text() {
|
|
2688
2697
|
return this.base.fText || '';
|
|
2689
2698
|
}
|
|
2699
|
+
constructor(elementReference, base) {
|
|
2700
|
+
this.elementReference = elementReference;
|
|
2701
|
+
this.base = base;
|
|
2702
|
+
}
|
|
2690
2703
|
redraw(line) {
|
|
2691
2704
|
const isTextReverse = FConnectionTextComponent.isTextReverse(line);
|
|
2692
2705
|
const dyValue = this.calculateDy(this.textPathDirective.fontSize, isTextReverse);
|
|
@@ -2714,10 +2727,10 @@ class FConnectionTextComponent {
|
|
|
2714
2727
|
const vectorLength = PointExtensions.hypotenuse(line.point1, line.point2);
|
|
2715
2728
|
return vectorLength / 2 - ((name || '').length * symbolWidth) / 2;
|
|
2716
2729
|
}
|
|
2730
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FConnectionTextComponent, deps: [{ token: i0.ElementRef }, { token: F_CONNECTION }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2731
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", 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 }); }
|
|
2717
2732
|
}
|
|
2718
|
-
|
|
2719
|
-
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 });
|
|
2720
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FConnectionTextComponent, decorators: [{
|
|
2733
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FConnectionTextComponent, decorators: [{
|
|
2721
2734
|
type: Component,
|
|
2722
2735
|
args: [{ selector: "text[f-connection-text]", changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
2723
2736
|
class: "f-component f-connection-text",
|
|
@@ -2733,13 +2746,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
2733
2746
|
|
|
2734
2747
|
const F_CONNECTION_DRAG_HANDLE_CLASS = 'f-connection-drag-handle';
|
|
2735
2748
|
class FConnectionDragHandleComponent {
|
|
2749
|
+
get hostElement() {
|
|
2750
|
+
return this.elementReference.nativeElement;
|
|
2751
|
+
}
|
|
2736
2752
|
constructor(elementReference) {
|
|
2737
2753
|
this.elementReference = elementReference;
|
|
2738
2754
|
this.class = F_CONNECTION_DRAG_HANDLE_CLASS;
|
|
2739
2755
|
}
|
|
2740
|
-
get hostElement() {
|
|
2741
|
-
return this.elementReference.nativeElement;
|
|
2742
|
-
}
|
|
2743
2756
|
redraw(penultimatePoint, endPoint) {
|
|
2744
2757
|
const point = this.calculateCircleCenter(penultimatePoint, endPoint, 8);
|
|
2745
2758
|
this.hostElement.setAttribute('cx', point.x.toString());
|
|
@@ -2752,10 +2765,10 @@ class FConnectionDragHandleComponent {
|
|
|
2752
2765
|
const scaledDirection = { x: unitDirection.x * radius, y: unitDirection.y * radius };
|
|
2753
2766
|
return { x: end.x - scaledDirection.x, y: end.y - scaledDirection.y };
|
|
2754
2767
|
}
|
|
2768
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FConnectionDragHandleComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2769
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FConnectionDragHandleComponent, selector: "circle[f-connection-drag-handle]", host: { properties: { "class": "class" } }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2755
2770
|
}
|
|
2756
|
-
|
|
2757
|
-
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 });
|
|
2758
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FConnectionDragHandleComponent, decorators: [{
|
|
2771
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FConnectionDragHandleComponent, decorators: [{
|
|
2759
2772
|
type: Component,
|
|
2760
2773
|
args: [{
|
|
2761
2774
|
selector: "circle[f-connection-drag-handle]",
|
|
@@ -2770,10 +2783,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
2770
2783
|
const CONNECTION_GRADIENT = new InjectionToken('CONNECTION_GRADIENT');
|
|
2771
2784
|
|
|
2772
2785
|
class FConnectionGradientComponent {
|
|
2773
|
-
constructor(elementReference, base) {
|
|
2774
|
-
this.elementReference = elementReference;
|
|
2775
|
-
this.base = base;
|
|
2776
|
-
}
|
|
2777
2786
|
get gradientId() {
|
|
2778
2787
|
return F_CONNECTION_IDENTIFIERS.gradientId(this.base.fId + this.base.fOutputId + this.base.fInputId);
|
|
2779
2788
|
}
|
|
@@ -2786,6 +2795,10 @@ class FConnectionGradientComponent {
|
|
|
2786
2795
|
get stop2Element() {
|
|
2787
2796
|
return this.elementReference.nativeElement.children.item(1);
|
|
2788
2797
|
}
|
|
2798
|
+
constructor(elementReference, base) {
|
|
2799
|
+
this.elementReference = elementReference;
|
|
2800
|
+
this.base = base;
|
|
2801
|
+
}
|
|
2789
2802
|
initialize() {
|
|
2790
2803
|
this.stop1Element.setAttribute('offset', '0%');
|
|
2791
2804
|
this.stop2Element.setAttribute('offset', '100%');
|
|
@@ -2812,10 +2825,10 @@ class FConnectionGradientComponent {
|
|
|
2812
2825
|
this.hostElement.setAttribute('y2', to.y.toString());
|
|
2813
2826
|
this.updateGradient();
|
|
2814
2827
|
}
|
|
2828
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FConnectionGradientComponent, deps: [{ token: i0.ElementRef }, { token: F_CONNECTION }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2829
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", 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 }); }
|
|
2815
2830
|
}
|
|
2816
|
-
|
|
2817
|
-
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 });
|
|
2818
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FConnectionGradientComponent, decorators: [{
|
|
2831
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FConnectionGradientComponent, decorators: [{
|
|
2819
2832
|
type: Component,
|
|
2820
2833
|
args: [{ selector: "linearGradient[fConnectionGradient]", changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
2821
2834
|
class: "f-component f-connection-gradient",
|
|
@@ -2842,10 +2855,6 @@ function getMarkerSelectedEndId(fConnectionId) {
|
|
|
2842
2855
|
}
|
|
2843
2856
|
|
|
2844
2857
|
class FConnectionPathComponent {
|
|
2845
|
-
constructor(elementReference, base) {
|
|
2846
|
-
this.elementReference = elementReference;
|
|
2847
|
-
this.base = base;
|
|
2848
|
-
}
|
|
2849
2858
|
get fPathId() {
|
|
2850
2859
|
return this.base.fId;
|
|
2851
2860
|
}
|
|
@@ -2858,6 +2867,10 @@ class FConnectionPathComponent {
|
|
|
2858
2867
|
get hostElement() {
|
|
2859
2868
|
return this.elementReference.nativeElement;
|
|
2860
2869
|
}
|
|
2870
|
+
constructor(elementReference, base) {
|
|
2871
|
+
this.elementReference = elementReference;
|
|
2872
|
+
this.base = base;
|
|
2873
|
+
}
|
|
2861
2874
|
initialize() {
|
|
2862
2875
|
this.deselect();
|
|
2863
2876
|
}
|
|
@@ -2872,10 +2885,10 @@ class FConnectionPathComponent {
|
|
|
2872
2885
|
this.hostElement.setAttribute('marker-start', `url(#${getMarkerStartId(this.base.fId)})`);
|
|
2873
2886
|
this.hostElement.setAttribute('marker-end', `url(#${getMarkerEndId(this.base.fId)})`);
|
|
2874
2887
|
}
|
|
2888
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FConnectionPathComponent, deps: [{ token: i0.ElementRef }, { token: F_CONNECTION }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2889
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", 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 }); }
|
|
2875
2890
|
}
|
|
2876
|
-
|
|
2877
|
-
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 });
|
|
2878
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FConnectionPathComponent, decorators: [{
|
|
2891
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FConnectionPathComponent, decorators: [{
|
|
2879
2892
|
type: Component,
|
|
2880
2893
|
args: [{
|
|
2881
2894
|
selector: "path[f-connection-path]",
|
|
@@ -2895,23 +2908,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
2895
2908
|
}] }]; } });
|
|
2896
2909
|
|
|
2897
2910
|
class FConnectionSelectionComponent {
|
|
2898
|
-
constructor(elementReference, base) {
|
|
2899
|
-
this.elementReference = elementReference;
|
|
2900
|
-
this.base = base;
|
|
2901
|
-
}
|
|
2902
2911
|
get connectionForSelectionId() {
|
|
2903
2912
|
return F_CONNECTION_IDENTIFIERS.connectionForSelectionId(this.base.fId + this.base.fOutputId + this.base.fInputId);
|
|
2904
2913
|
}
|
|
2905
2914
|
get hostElement() {
|
|
2906
2915
|
return this.elementReference.nativeElement;
|
|
2907
2916
|
}
|
|
2917
|
+
constructor(elementReference, base) {
|
|
2918
|
+
this.elementReference = elementReference;
|
|
2919
|
+
this.base = base;
|
|
2920
|
+
}
|
|
2908
2921
|
setPath(path) {
|
|
2909
2922
|
this.hostElement.setAttribute("d", `${path}`);
|
|
2910
2923
|
}
|
|
2924
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FConnectionSelectionComponent, deps: [{ token: i0.ElementRef }, { token: F_CONNECTION }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2925
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", 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 }); }
|
|
2911
2926
|
}
|
|
2912
|
-
|
|
2913
|
-
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 });
|
|
2914
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FConnectionSelectionComponent, decorators: [{
|
|
2927
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FConnectionSelectionComponent, decorators: [{
|
|
2915
2928
|
type: Component,
|
|
2916
2929
|
args: [{
|
|
2917
2930
|
selector: "path[fConnectionSelection]",
|
|
@@ -2947,10 +2960,10 @@ class FConnectionFactory {
|
|
|
2947
2960
|
}
|
|
2948
2961
|
return builder.handle(request.payload);
|
|
2949
2962
|
}
|
|
2963
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FConnectionFactory, deps: [{ token: F_CONNECTION_BUILDERS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2964
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FConnectionFactory }); }
|
|
2950
2965
|
}
|
|
2951
|
-
|
|
2952
|
-
FConnectionFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FConnectionFactory });
|
|
2953
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FConnectionFactory, decorators: [{
|
|
2966
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FConnectionFactory, decorators: [{
|
|
2954
2967
|
type: Injectable
|
|
2955
2968
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
2956
2969
|
type: Optional
|
|
@@ -2979,7 +2992,7 @@ class FConnectionBase extends MIXIN_BASE {
|
|
|
2979
2992
|
this.redraw();
|
|
2980
2993
|
}
|
|
2981
2994
|
isContains(element) {
|
|
2982
|
-
return this.hostElement.firstChild?.lastChild.contains(element);
|
|
2995
|
+
return (this.hostElement.firstChild?.lastChild).contains(element);
|
|
2983
2996
|
}
|
|
2984
2997
|
setLine(source, sourceSide, target, targetSide) {
|
|
2985
2998
|
this.line = LineExtensions.initialize(source, target);
|
|
@@ -3012,10 +3025,10 @@ class FConnectionBase extends MIXIN_BASE {
|
|
|
3012
3025
|
this.fDragHandle.redraw(this.penultimatePoint, this.line.point2);
|
|
3013
3026
|
this.fTextComponent.redraw(this.line);
|
|
3014
3027
|
}
|
|
3028
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FConnectionBase, deps: [{ token: i0.ElementRef }, { token: FConnectionFactory }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3029
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: FConnectionBase, usesInheritance: true, ngImport: i0 }); }
|
|
3015
3030
|
}
|
|
3016
|
-
|
|
3017
|
-
FConnectionBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FConnectionBase, usesInheritance: true, ngImport: i0 });
|
|
3018
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FConnectionBase, decorators: [{
|
|
3031
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FConnectionBase, decorators: [{
|
|
3019
3032
|
type: Directive
|
|
3020
3033
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: FConnectionFactory }]; } });
|
|
3021
3034
|
|
|
@@ -3034,10 +3047,10 @@ var EFConnectionType;
|
|
|
3034
3047
|
})(EFConnectionType || (EFConnectionType = {}));
|
|
3035
3048
|
|
|
3036
3049
|
class FConnectionCenterDirective {
|
|
3050
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FConnectionCenterDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3051
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: FConnectionCenterDirective, selector: "[fConnectionCenter]", ngImport: i0 }); }
|
|
3037
3052
|
}
|
|
3038
|
-
|
|
3039
|
-
FConnectionCenterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FConnectionCenterDirective, selector: "[fConnectionCenter]", ngImport: i0 });
|
|
3040
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FConnectionCenterDirective, decorators: [{
|
|
3053
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FConnectionCenterDirective, decorators: [{
|
|
3041
3054
|
type: Directive,
|
|
3042
3055
|
args: [{
|
|
3043
3056
|
selector: "[fConnectionCenter]"
|
|
@@ -3046,20 +3059,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
3046
3059
|
|
|
3047
3060
|
let uniqueId$6 = 0;
|
|
3048
3061
|
class FConnectionForCreateComponent extends FConnectionBase {
|
|
3049
|
-
constructor(elementReference, fConnectionFactory, fComponentsStore) {
|
|
3050
|
-
super(elementReference, fConnectionFactory);
|
|
3051
|
-
this.fComponentsStore = fComponentsStore;
|
|
3052
|
-
this.fId = `f-connection-for-create-${uniqueId$6++}`;
|
|
3053
|
-
this.fText = '';
|
|
3054
|
-
this._fStartColor = 'black';
|
|
3055
|
-
this._fEndColor = 'black';
|
|
3056
|
-
this._fRadius = 8;
|
|
3057
|
-
this._fOffset = 32;
|
|
3058
|
-
this._behavior = EFConnectionBehavior.FIXED;
|
|
3059
|
-
this._type = EFConnectionType.STRAIGHT;
|
|
3060
|
-
this.fDraggingDisabled = false;
|
|
3061
|
-
this.fSelectionDisabled = false;
|
|
3062
|
-
}
|
|
3063
3062
|
set fStartColor(value) {
|
|
3064
3063
|
this._fStartColor = value;
|
|
3065
3064
|
this.fComponentsStore.componentDataChanged();
|
|
@@ -3105,6 +3104,20 @@ class FConnectionForCreateComponent extends FConnectionBase {
|
|
|
3105
3104
|
get boundingElement() {
|
|
3106
3105
|
return this.fPath.hostElement;
|
|
3107
3106
|
}
|
|
3107
|
+
constructor(elementReference, fConnectionFactory, fComponentsStore) {
|
|
3108
|
+
super(elementReference, fConnectionFactory);
|
|
3109
|
+
this.fComponentsStore = fComponentsStore;
|
|
3110
|
+
this.fId = `f-connection-for-create-${uniqueId$6++}`;
|
|
3111
|
+
this.fText = '';
|
|
3112
|
+
this._fStartColor = 'black';
|
|
3113
|
+
this._fEndColor = 'black';
|
|
3114
|
+
this._fRadius = 8;
|
|
3115
|
+
this._fOffset = 32;
|
|
3116
|
+
this._behavior = EFConnectionBehavior.FIXED;
|
|
3117
|
+
this._type = EFConnectionType.STRAIGHT;
|
|
3118
|
+
this.fDraggingDisabled = false;
|
|
3119
|
+
this.fSelectionDisabled = false;
|
|
3120
|
+
}
|
|
3108
3121
|
ngOnInit() {
|
|
3109
3122
|
this.fComponentsStore.fTempConnection = this;
|
|
3110
3123
|
}
|
|
@@ -3114,10 +3127,10 @@ class FConnectionForCreateComponent extends FConnectionBase {
|
|
|
3114
3127
|
ngOnDestroy() {
|
|
3115
3128
|
this.fComponentsStore.fTempConnection = undefined;
|
|
3116
3129
|
}
|
|
3130
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FConnectionForCreateComponent, deps: [{ token: i0.ElementRef }, { token: FConnectionFactory }, { token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3131
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", 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 }); }
|
|
3117
3132
|
}
|
|
3118
|
-
|
|
3119
|
-
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 });
|
|
3120
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FConnectionForCreateComponent, decorators: [{
|
|
3133
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FConnectionForCreateComponent, decorators: [{
|
|
3121
3134
|
type: Component,
|
|
3122
3135
|
args: [{ selector: "f-connection-for-create", changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
3123
3136
|
class: "f-component f-connection f-connection-for-create"
|
|
@@ -3162,20 +3175,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
3162
3175
|
|
|
3163
3176
|
let uniqueId$5 = 0;
|
|
3164
3177
|
class FConnectionComponent extends FConnectionBase {
|
|
3165
|
-
constructor(elementReference, fConnectionFactory, fComponentsStore) {
|
|
3166
|
-
super(elementReference, fConnectionFactory);
|
|
3167
|
-
this.fComponentsStore = fComponentsStore;
|
|
3168
|
-
this.fId = `f-connection-${uniqueId$5++}`;
|
|
3169
|
-
this._fText = '';
|
|
3170
|
-
this._fStartColor = 'black';
|
|
3171
|
-
this._fEndColor = 'black';
|
|
3172
|
-
this._fRadius = 8;
|
|
3173
|
-
this._fOffset = 32;
|
|
3174
|
-
this._behavior = EFConnectionBehavior.FIXED;
|
|
3175
|
-
this._type = EFConnectionType.STRAIGHT;
|
|
3176
|
-
this.fDraggingDisabled = false;
|
|
3177
|
-
this.fSelectionDisabled = false;
|
|
3178
|
-
}
|
|
3179
3178
|
set fText(value) {
|
|
3180
3179
|
this._fText = value;
|
|
3181
3180
|
this.fComponentsStore.componentDataChanged();
|
|
@@ -3242,16 +3241,30 @@ class FConnectionComponent extends FConnectionBase {
|
|
|
3242
3241
|
get boundingElement() {
|
|
3243
3242
|
return this.fPath.hostElement;
|
|
3244
3243
|
}
|
|
3244
|
+
constructor(elementReference, fConnectionFactory, fComponentsStore) {
|
|
3245
|
+
super(elementReference, fConnectionFactory);
|
|
3246
|
+
this.fComponentsStore = fComponentsStore;
|
|
3247
|
+
this.fId = `f-connection-${uniqueId$5++}`;
|
|
3248
|
+
this._fText = '';
|
|
3249
|
+
this._fStartColor = 'black';
|
|
3250
|
+
this._fEndColor = 'black';
|
|
3251
|
+
this._fRadius = 8;
|
|
3252
|
+
this._fOffset = 32;
|
|
3253
|
+
this._behavior = EFConnectionBehavior.FIXED;
|
|
3254
|
+
this._type = EFConnectionType.STRAIGHT;
|
|
3255
|
+
this.fDraggingDisabled = false;
|
|
3256
|
+
this.fSelectionDisabled = false;
|
|
3257
|
+
}
|
|
3245
3258
|
ngOnInit() {
|
|
3246
3259
|
this.fComponentsStore.addComponent(this.fComponentsStore.fConnections, this);
|
|
3247
3260
|
}
|
|
3248
3261
|
ngOnDestroy() {
|
|
3249
3262
|
this.fComponentsStore.removeComponent(this.fComponentsStore.fConnections, this);
|
|
3250
3263
|
}
|
|
3264
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FConnectionComponent, deps: [{ token: i0.ElementRef }, { token: FConnectionFactory }, { token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3265
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", 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 }); }
|
|
3251
3266
|
}
|
|
3252
|
-
|
|
3253
|
-
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 });
|
|
3254
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FConnectionComponent, decorators: [{
|
|
3267
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FConnectionComponent, decorators: [{
|
|
3255
3268
|
type: Component,
|
|
3256
3269
|
args: [{ selector: "f-connection", exportAs: 'fComponent', changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
3257
3270
|
'[attr.id]': 'fId',
|
|
@@ -3321,14 +3334,17 @@ var EFMarkerType;
|
|
|
3321
3334
|
|
|
3322
3335
|
const F_MARKER = new InjectionToken('F_MARKER');
|
|
3323
3336
|
class FMarkerBase {
|
|
3337
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FMarkerBase, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3338
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: FMarkerBase, ngImport: i0 }); }
|
|
3324
3339
|
}
|
|
3325
|
-
|
|
3326
|
-
FMarkerBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FMarkerBase, ngImport: i0 });
|
|
3327
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FMarkerBase, decorators: [{
|
|
3340
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FMarkerBase, decorators: [{
|
|
3328
3341
|
type: Directive
|
|
3329
3342
|
}] });
|
|
3330
3343
|
|
|
3331
3344
|
class FMarkerDirective extends FMarkerBase {
|
|
3345
|
+
get hostElement() {
|
|
3346
|
+
return this.elementReference.nativeElement;
|
|
3347
|
+
}
|
|
3332
3348
|
constructor(fComponentsStore, elementReference) {
|
|
3333
3349
|
super();
|
|
3334
3350
|
this.fComponentsStore = fComponentsStore;
|
|
@@ -3342,19 +3358,16 @@ class FMarkerDirective extends FMarkerBase {
|
|
|
3342
3358
|
this.markerUnits = 'strokeWidth';
|
|
3343
3359
|
this.hostElement.style.display = 'none';
|
|
3344
3360
|
}
|
|
3345
|
-
get hostElement() {
|
|
3346
|
-
return this.elementReference.nativeElement;
|
|
3347
|
-
}
|
|
3348
3361
|
ngOnInit() {
|
|
3349
3362
|
this.fComponentsStore.addComponent(this.fComponentsStore.fMarkers, this);
|
|
3350
3363
|
}
|
|
3351
3364
|
ngOnDestroy() {
|
|
3352
3365
|
this.fComponentsStore.removeComponent(this.fComponentsStore.fMarkers, this);
|
|
3353
3366
|
}
|
|
3367
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FMarkerDirective, deps: [{ token: FComponentsStore }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3368
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", 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 }); }
|
|
3354
3369
|
}
|
|
3355
|
-
|
|
3356
|
-
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 });
|
|
3357
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FMarkerDirective, decorators: [{
|
|
3370
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FMarkerDirective, decorators: [{
|
|
3358
3371
|
type: Directive,
|
|
3359
3372
|
args: [{
|
|
3360
3373
|
selector: "svg[fMarker]",
|
|
@@ -3383,21 +3396,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
3383
3396
|
|
|
3384
3397
|
let uniqueId$4 = 0;
|
|
3385
3398
|
class FSnapConnectionComponent extends FConnectionBase {
|
|
3386
|
-
constructor(elementReference, fConnectionFactory, fComponentsStore) {
|
|
3387
|
-
super(elementReference, fConnectionFactory);
|
|
3388
|
-
this.fComponentsStore = fComponentsStore;
|
|
3389
|
-
this.fId = `f-snap-connection-${uniqueId$4++}`;
|
|
3390
|
-
this.fText = '';
|
|
3391
|
-
this._fStartColor = 'black';
|
|
3392
|
-
this._fEndColor = 'black';
|
|
3393
|
-
this.fSnapThreshold = 20;
|
|
3394
|
-
this._fRadius = 8;
|
|
3395
|
-
this._fOffset = 32;
|
|
3396
|
-
this._behavior = EFConnectionBehavior.FIXED;
|
|
3397
|
-
this._type = EFConnectionType.STRAIGHT;
|
|
3398
|
-
this.fDraggingDisabled = false;
|
|
3399
|
-
this.fSelectionDisabled = false;
|
|
3400
|
-
}
|
|
3401
3399
|
set fStartColor(value) {
|
|
3402
3400
|
this._fStartColor = value;
|
|
3403
3401
|
this.fComponentsStore.componentDataChanged();
|
|
@@ -3443,6 +3441,21 @@ class FSnapConnectionComponent extends FConnectionBase {
|
|
|
3443
3441
|
get boundingElement() {
|
|
3444
3442
|
return this.fPath.hostElement;
|
|
3445
3443
|
}
|
|
3444
|
+
constructor(elementReference, fConnectionFactory, fComponentsStore) {
|
|
3445
|
+
super(elementReference, fConnectionFactory);
|
|
3446
|
+
this.fComponentsStore = fComponentsStore;
|
|
3447
|
+
this.fId = `f-snap-connection-${uniqueId$4++}`;
|
|
3448
|
+
this.fText = '';
|
|
3449
|
+
this._fStartColor = 'black';
|
|
3450
|
+
this._fEndColor = 'black';
|
|
3451
|
+
this.fSnapThreshold = 20;
|
|
3452
|
+
this._fRadius = 8;
|
|
3453
|
+
this._fOffset = 32;
|
|
3454
|
+
this._behavior = EFConnectionBehavior.FIXED;
|
|
3455
|
+
this._type = EFConnectionType.STRAIGHT;
|
|
3456
|
+
this.fDraggingDisabled = false;
|
|
3457
|
+
this.fSelectionDisabled = false;
|
|
3458
|
+
}
|
|
3446
3459
|
ngOnInit() {
|
|
3447
3460
|
this.fComponentsStore.fSnapConnection = this;
|
|
3448
3461
|
}
|
|
@@ -3452,10 +3465,10 @@ class FSnapConnectionComponent extends FConnectionBase {
|
|
|
3452
3465
|
ngOnDestroy() {
|
|
3453
3466
|
this.fComponentsStore.fSnapConnection = undefined;
|
|
3454
3467
|
}
|
|
3468
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FSnapConnectionComponent, deps: [{ token: i0.ElementRef }, { token: FConnectionFactory }, { token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3469
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", 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 }); }
|
|
3455
3470
|
}
|
|
3456
|
-
|
|
3457
|
-
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 });
|
|
3458
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FSnapConnectionComponent, decorators: [{
|
|
3471
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FSnapConnectionComponent, decorators: [{
|
|
3459
3472
|
type: Component,
|
|
3460
3473
|
args: [{ selector: "f-snap-connection", changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
3461
3474
|
class: "f-component f-connection f-snap-connection"
|
|
@@ -3515,12 +3528,6 @@ const F_CONNECTION_PROVIDERS = [
|
|
|
3515
3528
|
];
|
|
3516
3529
|
|
|
3517
3530
|
let ReassignConnectionPreparationExecution = class ReassignConnectionPreparationExecution {
|
|
3518
|
-
constructor(fComponentsStore, fDraggableDataContext, fMediator, fBrowser) {
|
|
3519
|
-
this.fComponentsStore = fComponentsStore;
|
|
3520
|
-
this.fDraggableDataContext = fDraggableDataContext;
|
|
3521
|
-
this.fMediator = fMediator;
|
|
3522
|
-
this.fBrowser = fBrowser;
|
|
3523
|
-
}
|
|
3524
3531
|
get transform() {
|
|
3525
3532
|
return this.fComponentsStore.fCanvas.transform;
|
|
3526
3533
|
}
|
|
@@ -3530,6 +3537,12 @@ let ReassignConnectionPreparationExecution = class ReassignConnectionPreparation
|
|
|
3530
3537
|
get fConnections() {
|
|
3531
3538
|
return this.fComponentsStore.fConnections;
|
|
3532
3539
|
}
|
|
3540
|
+
constructor(fComponentsStore, fDraggableDataContext, fMediator, fBrowser) {
|
|
3541
|
+
this.fComponentsStore = fComponentsStore;
|
|
3542
|
+
this.fDraggableDataContext = fDraggableDataContext;
|
|
3543
|
+
this.fMediator = fMediator;
|
|
3544
|
+
this.fBrowser = fBrowser;
|
|
3545
|
+
}
|
|
3533
3546
|
handle(request) {
|
|
3534
3547
|
const connectionToReassign = this.getConnectionHandler(this.getDragHandleElement(request.event.getPosition()));
|
|
3535
3548
|
if (connectionToReassign.fDraggingDisabled) {
|
|
@@ -3554,25 +3567,25 @@ let ReassignConnectionPreparationExecution = class ReassignConnectionPreparation
|
|
|
3554
3567
|
getConnectionHandler(element) {
|
|
3555
3568
|
return this.fConnections.find(c => c.isContains(element));
|
|
3556
3569
|
}
|
|
3570
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ReassignConnectionPreparationExecution, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: i2.FMediator }, { token: i1.BrowserService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3571
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ReassignConnectionPreparationExecution }); }
|
|
3557
3572
|
};
|
|
3558
|
-
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 });
|
|
3559
|
-
ReassignConnectionPreparationExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ReassignConnectionPreparationExecution });
|
|
3560
3573
|
ReassignConnectionPreparationExecution = __decorate([
|
|
3561
3574
|
FExecutionRegister(ReassignConnectionPreparationRequest)
|
|
3562
3575
|
], ReassignConnectionPreparationExecution);
|
|
3563
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3576
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ReassignConnectionPreparationExecution, decorators: [{
|
|
3564
3577
|
type: Injectable
|
|
3565
3578
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: i2.FMediator }, { type: i1.BrowserService }]; } });
|
|
3566
3579
|
|
|
3567
3580
|
let ReassignConnectionPreparationValidator = class ReassignConnectionPreparationValidator {
|
|
3581
|
+
get fConnections() {
|
|
3582
|
+
return this.fComponentsStore.fConnections;
|
|
3583
|
+
}
|
|
3568
3584
|
constructor(fComponentsStore, fDraggableDataContext, fBrowser) {
|
|
3569
3585
|
this.fComponentsStore = fComponentsStore;
|
|
3570
3586
|
this.fDraggableDataContext = fDraggableDataContext;
|
|
3571
3587
|
this.fBrowser = fBrowser;
|
|
3572
3588
|
}
|
|
3573
|
-
get fConnections() {
|
|
3574
|
-
return this.fComponentsStore.fConnections;
|
|
3575
|
-
}
|
|
3576
3589
|
handle(request) {
|
|
3577
3590
|
return !!this.getDragHandleElements(request.event.getPosition()).length
|
|
3578
3591
|
&& !this.fDraggableDataContext.draggableItems.length;
|
|
@@ -3588,13 +3601,13 @@ let ReassignConnectionPreparationValidator = class ReassignConnectionPreparation
|
|
|
3588
3601
|
getConnectionHandler(element) {
|
|
3589
3602
|
return this.fConnections.find(c => c.isContains(element));
|
|
3590
3603
|
}
|
|
3604
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ReassignConnectionPreparationValidator, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: i1.BrowserService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3605
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ReassignConnectionPreparationValidator }); }
|
|
3591
3606
|
};
|
|
3592
|
-
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 });
|
|
3593
|
-
ReassignConnectionPreparationValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ReassignConnectionPreparationValidator });
|
|
3594
3607
|
ReassignConnectionPreparationValidator = __decorate([
|
|
3595
3608
|
FValidatorRegister(ReassignConnectionPreparationRequest)
|
|
3596
3609
|
], ReassignConnectionPreparationValidator);
|
|
3597
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3610
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ReassignConnectionPreparationValidator, decorators: [{
|
|
3598
3611
|
type: Injectable
|
|
3599
3612
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: i1.BrowserService }]; } });
|
|
3600
3613
|
|
|
@@ -3640,13 +3653,13 @@ let GetNodePaddingExecution = class GetNodePaddingExecution {
|
|
|
3640
3653
|
this.fBrowser.toPixels(style.paddingBottom, rect.width, rect.height, style.fontSize)
|
|
3641
3654
|
];
|
|
3642
3655
|
}
|
|
3656
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetNodePaddingExecution, deps: [{ token: i1.BrowserService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3657
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetNodePaddingExecution }); }
|
|
3643
3658
|
};
|
|
3644
|
-
GetNodePaddingExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetNodePaddingExecution, deps: [{ token: i1.BrowserService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3645
|
-
GetNodePaddingExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetNodePaddingExecution });
|
|
3646
3659
|
GetNodePaddingExecution = __decorate([
|
|
3647
3660
|
FExecutionRegister(GetNodePaddingRequest)
|
|
3648
3661
|
], GetNodePaddingExecution);
|
|
3649
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3662
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetNodePaddingExecution, decorators: [{
|
|
3650
3663
|
type: Injectable
|
|
3651
3664
|
}], ctorParameters: function () { return [{ type: i1.BrowserService }]; } });
|
|
3652
3665
|
|
|
@@ -3667,13 +3680,13 @@ let GetNormalizedNodeRectExecution = class GetNormalizedNodeRectExecution {
|
|
|
3667
3680
|
const rect = RectExtensions.div(scaledRect, this.fComponentsStore.fCanvas.transform.scale);
|
|
3668
3681
|
return RectExtensions.initialize(position.x, position.y, rect.width, rect.height);
|
|
3669
3682
|
}
|
|
3683
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetNormalizedNodeRectExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3684
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetNormalizedNodeRectExecution }); }
|
|
3670
3685
|
};
|
|
3671
|
-
GetNormalizedNodeRectExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetNormalizedNodeRectExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3672
|
-
GetNormalizedNodeRectExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetNormalizedNodeRectExecution });
|
|
3673
3686
|
GetNormalizedNodeRectExecution = __decorate([
|
|
3674
3687
|
FExecutionRegister(GetNormalizedNodeRectRequest)
|
|
3675
3688
|
], GetNormalizedNodeRectExecution);
|
|
3676
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3689
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetNormalizedNodeRectExecution, decorators: [{
|
|
3677
3690
|
type: Injectable
|
|
3678
3691
|
}], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
|
|
3679
3692
|
|
|
@@ -3710,13 +3723,13 @@ let GetNormalizedParentNodeRectExecution = class GetNormalizedParentNodeRectExec
|
|
|
3710
3723
|
getNodePadding(node, rect) {
|
|
3711
3724
|
return this.fMediator.send(new GetNodePaddingRequest(node, rect));
|
|
3712
3725
|
}
|
|
3726
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetNormalizedParentNodeRectExecution, deps: [{ token: FComponentsStore }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3727
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetNormalizedParentNodeRectExecution }); }
|
|
3713
3728
|
};
|
|
3714
|
-
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 });
|
|
3715
|
-
GetNormalizedParentNodeRectExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetNormalizedParentNodeRectExecution });
|
|
3716
3729
|
GetNormalizedParentNodeRectExecution = __decorate([
|
|
3717
3730
|
FExecutionRegister(GetNormalizedParentNodeRectRequest)
|
|
3718
3731
|
], GetNormalizedParentNodeRectExecution);
|
|
3719
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3732
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetNormalizedParentNodeRectExecution, decorators: [{
|
|
3720
3733
|
type: Injectable
|
|
3721
3734
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: i2.FMediator }]; } });
|
|
3722
3735
|
|
|
@@ -3745,13 +3758,13 @@ let GetParentNodesExecution = class GetParentNodesExecution {
|
|
|
3745
3758
|
result.push(parent);
|
|
3746
3759
|
return this.getParentNodes(parent, visited, result);
|
|
3747
3760
|
}
|
|
3761
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetParentNodesExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3762
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetParentNodesExecution }); }
|
|
3748
3763
|
};
|
|
3749
|
-
GetParentNodesExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetParentNodesExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3750
|
-
GetParentNodesExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetParentNodesExecution });
|
|
3751
3764
|
GetParentNodesExecution = __decorate([
|
|
3752
3765
|
FExecutionRegister(GetParentNodesRequest)
|
|
3753
3766
|
], GetParentNodesExecution);
|
|
3754
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3767
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetParentNodesExecution, decorators: [{
|
|
3755
3768
|
type: Injectable
|
|
3756
3769
|
}], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
|
|
3757
3770
|
|
|
@@ -3778,13 +3791,13 @@ let IsArrayHasParentNodeExecution = class IsArrayHasParentNodeExecution {
|
|
|
3778
3791
|
isParentNodeInArray(parentNodeIds, fNodes) {
|
|
3779
3792
|
return fNodes.some((x) => parentNodeIds.includes(x.fId));
|
|
3780
3793
|
}
|
|
3794
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IsArrayHasParentNodeExecution, deps: [{ token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3795
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IsArrayHasParentNodeExecution }); }
|
|
3781
3796
|
};
|
|
3782
|
-
IsArrayHasParentNodeExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: IsArrayHasParentNodeExecution, deps: [{ token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3783
|
-
IsArrayHasParentNodeExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: IsArrayHasParentNodeExecution });
|
|
3784
3797
|
IsArrayHasParentNodeExecution = __decorate([
|
|
3785
3798
|
FExecutionRegister(IsArrayHasParentNodeRequest)
|
|
3786
3799
|
], IsArrayHasParentNodeExecution);
|
|
3787
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3800
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IsArrayHasParentNodeExecution, decorators: [{
|
|
3788
3801
|
type: Injectable
|
|
3789
3802
|
}], ctorParameters: function () { return [{ type: i2.FMediator }]; } });
|
|
3790
3803
|
|
|
@@ -3830,10 +3843,10 @@ class ConnectionBaseDragHandler {
|
|
|
3830
3843
|
this.connection.setLine(line.point1, this.fOutputWithRect.fConnector.fConnectableSide, line.point2, this.fInputWithRect.fConnector.fConnectableSide);
|
|
3831
3844
|
this.connection.redraw();
|
|
3832
3845
|
}
|
|
3846
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ConnectionBaseDragHandler, deps: [{ token: i2.FMediator }, { token: FComponentsStore }, { token: FConnectionBase }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3847
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: ConnectionBaseDragHandler, ngImport: i0 }); }
|
|
3833
3848
|
}
|
|
3834
|
-
|
|
3835
|
-
ConnectionBaseDragHandler.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: ConnectionBaseDragHandler, ngImport: i0 });
|
|
3836
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ConnectionBaseDragHandler, decorators: [{
|
|
3849
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ConnectionBaseDragHandler, decorators: [{
|
|
3837
3850
|
type: Directive
|
|
3838
3851
|
}], ctorParameters: function () { return [{ type: i2.FMediator }, { type: FComponentsStore }, { type: FConnectionBase }]; } });
|
|
3839
3852
|
|
|
@@ -3870,13 +3883,13 @@ class ConnectionTargetDragHandler extends ConnectionBaseDragHandler {
|
|
|
3870
3883
|
}
|
|
3871
3884
|
|
|
3872
3885
|
let PutInputConnectionHandlersToArrayExecution = class PutInputConnectionHandlersToArrayExecution {
|
|
3886
|
+
get fConnections() {
|
|
3887
|
+
return this.fComponentsStore.fConnections;
|
|
3888
|
+
}
|
|
3873
3889
|
constructor(fComponentsStore, fMediator) {
|
|
3874
3890
|
this.fComponentsStore = fComponentsStore;
|
|
3875
3891
|
this.fMediator = fMediator;
|
|
3876
3892
|
}
|
|
3877
|
-
get fConnections() {
|
|
3878
|
-
return this.fComponentsStore.fConnections;
|
|
3879
|
-
}
|
|
3880
3893
|
handle(request) {
|
|
3881
3894
|
this.getInputConnections(request.nodeDragHandler.fNode).forEach((connection) => {
|
|
3882
3895
|
const index = this.getExistingConnectionHandlerIndex(request.result, connection);
|
|
@@ -3919,13 +3932,13 @@ let PutInputConnectionHandlersToArrayExecution = class PutInputConnectionHandler
|
|
|
3919
3932
|
getNewSourceConnectionHandler(connection, nodeDragHandler) {
|
|
3920
3933
|
return new ConnectionTargetDragHandler(this.fMediator, this.fComponentsStore, connection, nodeDragHandler.minDistance, nodeDragHandler.maxDistance);
|
|
3921
3934
|
}
|
|
3935
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PutInputConnectionHandlersToArrayExecution, deps: [{ token: FComponentsStore }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3936
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PutInputConnectionHandlersToArrayExecution }); }
|
|
3922
3937
|
};
|
|
3923
|
-
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 });
|
|
3924
|
-
PutInputConnectionHandlersToArrayExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PutInputConnectionHandlersToArrayExecution });
|
|
3925
3938
|
PutInputConnectionHandlersToArrayExecution = __decorate([
|
|
3926
3939
|
FExecutionRegister(PutInputConnectionHandlersToArrayRequest)
|
|
3927
3940
|
], PutInputConnectionHandlersToArrayExecution);
|
|
3928
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3941
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PutInputConnectionHandlersToArrayExecution, decorators: [{
|
|
3929
3942
|
type: Injectable
|
|
3930
3943
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: i2.FMediator }]; } });
|
|
3931
3944
|
|
|
@@ -3952,13 +3965,13 @@ class ConnectionSourceDragHandler extends ConnectionBaseDragHandler {
|
|
|
3952
3965
|
}
|
|
3953
3966
|
|
|
3954
3967
|
let PutOutputConnectionHandlersToArrayExecution = class PutOutputConnectionHandlersToArrayExecution {
|
|
3968
|
+
get fConnections() {
|
|
3969
|
+
return this.fComponentsStore.fConnections;
|
|
3970
|
+
}
|
|
3955
3971
|
constructor(fComponentsStore, fMediator) {
|
|
3956
3972
|
this.fComponentsStore = fComponentsStore;
|
|
3957
3973
|
this.fMediator = fMediator;
|
|
3958
3974
|
}
|
|
3959
|
-
get fConnections() {
|
|
3960
|
-
return this.fComponentsStore.fConnections;
|
|
3961
|
-
}
|
|
3962
3975
|
handle(request) {
|
|
3963
3976
|
this.getOutputConnections(request.nodeDragHandler.fNode).forEach((connection) => {
|
|
3964
3977
|
const index = this.getExistingConnectionHandlerIndex(request.result, connection);
|
|
@@ -4001,13 +4014,13 @@ let PutOutputConnectionHandlersToArrayExecution = class PutOutputConnectionHandl
|
|
|
4001
4014
|
getNewSourceConnectionHandler(connection, nodeDragHandler) {
|
|
4002
4015
|
return new ConnectionSourceDragHandler(this.fMediator, this.fComponentsStore, connection, nodeDragHandler.minDistance, nodeDragHandler.maxDistance);
|
|
4003
4016
|
}
|
|
4017
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PutOutputConnectionHandlersToArrayExecution, deps: [{ token: FComponentsStore }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4018
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PutOutputConnectionHandlersToArrayExecution }); }
|
|
4004
4019
|
};
|
|
4005
|
-
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 });
|
|
4006
|
-
PutOutputConnectionHandlersToArrayExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PutOutputConnectionHandlersToArrayExecution });
|
|
4007
4020
|
PutOutputConnectionHandlersToArrayExecution = __decorate([
|
|
4008
4021
|
FExecutionRegister(PutOutputConnectionHandlersToArrayRequest)
|
|
4009
4022
|
], PutOutputConnectionHandlersToArrayExecution);
|
|
4010
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4023
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PutOutputConnectionHandlersToArrayExecution, decorators: [{
|
|
4011
4024
|
type: Injectable
|
|
4012
4025
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: i2.FMediator }]; } });
|
|
4013
4026
|
|
|
@@ -4039,13 +4052,13 @@ let GetNodeMoveRestrictionsExecution = class GetNodeMoveRestrictionsExecution {
|
|
|
4039
4052
|
getParentNodeRect(fNode) {
|
|
4040
4053
|
return this.fMediator.send(new GetNormalizedParentNodeRectRequest(fNode));
|
|
4041
4054
|
}
|
|
4055
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetNodeMoveRestrictionsExecution, deps: [{ token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4056
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetNodeMoveRestrictionsExecution }); }
|
|
4042
4057
|
};
|
|
4043
|
-
GetNodeMoveRestrictionsExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetNodeMoveRestrictionsExecution, deps: [{ token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4044
|
-
GetNodeMoveRestrictionsExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetNodeMoveRestrictionsExecution });
|
|
4045
4058
|
GetNodeMoveRestrictionsExecution = __decorate([
|
|
4046
4059
|
FExecutionRegister(GetNodeMoveRestrictionsRequest)
|
|
4047
4060
|
], GetNodeMoveRestrictionsExecution);
|
|
4048
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4061
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetNodeMoveRestrictionsExecution, decorators: [{
|
|
4049
4062
|
type: Injectable
|
|
4050
4063
|
}], ctorParameters: function () { return [{ type: i2.FMediator }]; } });
|
|
4051
4064
|
const DEFAULT_RESTRICTIONS = {
|
|
@@ -4158,13 +4171,13 @@ let CreateMoveNodesDragModelFromSelectionExecution = class CreateMoveNodesDragMo
|
|
|
4158
4171
|
});
|
|
4159
4172
|
return result;
|
|
4160
4173
|
}
|
|
4174
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CreateMoveNodesDragModelFromSelectionExecution, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4175
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CreateMoveNodesDragModelFromSelectionExecution }); }
|
|
4161
4176
|
};
|
|
4162
|
-
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 });
|
|
4163
|
-
CreateMoveNodesDragModelFromSelectionExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CreateMoveNodesDragModelFromSelectionExecution });
|
|
4164
4177
|
CreateMoveNodesDragModelFromSelectionExecution = __decorate([
|
|
4165
4178
|
FExecutionRegister(CreateMoveNodesDragModelFromSelectionRequest)
|
|
4166
4179
|
], CreateMoveNodesDragModelFromSelectionExecution);
|
|
4167
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4180
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CreateMoveNodesDragModelFromSelectionExecution, decorators: [{
|
|
4168
4181
|
type: Injectable
|
|
4169
4182
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: i2.FMediator }]; } });
|
|
4170
4183
|
|
|
@@ -4182,17 +4195,17 @@ class NodeMovePreparationRequest {
|
|
|
4182
4195
|
}
|
|
4183
4196
|
|
|
4184
4197
|
let NodeMovePreparationExecution = class NodeMovePreparationExecution {
|
|
4185
|
-
constructor(fComponentsStore, fDraggableDataContext, fMediator) {
|
|
4186
|
-
this.fComponentsStore = fComponentsStore;
|
|
4187
|
-
this.fDraggableDataContext = fDraggableDataContext;
|
|
4188
|
-
this.fMediator = fMediator;
|
|
4189
|
-
}
|
|
4190
4198
|
get transform() {
|
|
4191
4199
|
return this.fComponentsStore.fCanvas.transform;
|
|
4192
4200
|
}
|
|
4193
4201
|
get flowHost() {
|
|
4194
4202
|
return this.fComponentsStore.fFlow.hostElement;
|
|
4195
4203
|
}
|
|
4204
|
+
constructor(fComponentsStore, fDraggableDataContext, fMediator) {
|
|
4205
|
+
this.fComponentsStore = fComponentsStore;
|
|
4206
|
+
this.fDraggableDataContext = fDraggableDataContext;
|
|
4207
|
+
this.fMediator = fMediator;
|
|
4208
|
+
}
|
|
4196
4209
|
handle(request) {
|
|
4197
4210
|
this.selectAndUpdateNodeLayer(request.event.targetElement);
|
|
4198
4211
|
const itemsToDrag = this.createDragModelFromSelection();
|
|
@@ -4217,13 +4230,13 @@ let NodeMovePreparationExecution = class NodeMovePreparationExecution {
|
|
|
4217
4230
|
filterNodesFromDraggableItems(items) {
|
|
4218
4231
|
return items.filter((x) => x instanceof NodeDragHandler).map(x => x.fNode);
|
|
4219
4232
|
}
|
|
4233
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NodeMovePreparationExecution, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4234
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NodeMovePreparationExecution }); }
|
|
4220
4235
|
};
|
|
4221
|
-
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 });
|
|
4222
|
-
NodeMovePreparationExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NodeMovePreparationExecution });
|
|
4223
4236
|
NodeMovePreparationExecution = __decorate([
|
|
4224
4237
|
FExecutionRegister(NodeMovePreparationRequest)
|
|
4225
4238
|
], NodeMovePreparationExecution);
|
|
4226
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4239
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NodeMovePreparationExecution, decorators: [{
|
|
4227
4240
|
type: Injectable
|
|
4228
4241
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: i2.FMediator }]; } });
|
|
4229
4242
|
|
|
@@ -4249,13 +4262,13 @@ let NodeMovePreparationValidator = class NodeMovePreparationValidator {
|
|
|
4249
4262
|
isDragHandleElement(targetElement) {
|
|
4250
4263
|
return isClosestElementHasClass(targetElement, '.f-drag-handle');
|
|
4251
4264
|
}
|
|
4265
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NodeMovePreparationValidator, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4266
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NodeMovePreparationValidator }); }
|
|
4252
4267
|
};
|
|
4253
|
-
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 });
|
|
4254
|
-
NodeMovePreparationValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NodeMovePreparationValidator });
|
|
4255
4268
|
NodeMovePreparationValidator = __decorate([
|
|
4256
4269
|
FValidatorRegister(NodeMovePreparationRequest)
|
|
4257
4270
|
], NodeMovePreparationValidator);
|
|
4258
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4271
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NodeMovePreparationValidator, decorators: [{
|
|
4259
4272
|
type: Injectable
|
|
4260
4273
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }]; } });
|
|
4261
4274
|
|
|
@@ -4274,14 +4287,14 @@ class IsConnectionUnderNodeRequest {
|
|
|
4274
4287
|
}
|
|
4275
4288
|
|
|
4276
4289
|
let NodeMoveFinalizeExecution = class NodeMoveFinalizeExecution {
|
|
4290
|
+
get flowHost() {
|
|
4291
|
+
return this.fComponentsStore.fFlow.hostElement;
|
|
4292
|
+
}
|
|
4277
4293
|
constructor(fComponentsStore, fDraggableDataContext, fMediator) {
|
|
4278
4294
|
this.fComponentsStore = fComponentsStore;
|
|
4279
4295
|
this.fDraggableDataContext = fDraggableDataContext;
|
|
4280
4296
|
this.fMediator = fMediator;
|
|
4281
4297
|
}
|
|
4282
|
-
get flowHost() {
|
|
4283
|
-
return this.fComponentsStore.fFlow.hostElement;
|
|
4284
|
-
}
|
|
4285
4298
|
handle(request) {
|
|
4286
4299
|
const difference = this.getDifferenceWithLineAlignment(this.getDifferenceBetweenPreparationAndFinalize(request.event.getPosition()));
|
|
4287
4300
|
this.fDraggableDataContext.draggableItems.forEach((x) => {
|
|
@@ -4303,13 +4316,13 @@ let NodeMoveFinalizeExecution = class NodeMoveFinalizeExecution {
|
|
|
4303
4316
|
}
|
|
4304
4317
|
return difference;
|
|
4305
4318
|
}
|
|
4319
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NodeMoveFinalizeExecution, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4320
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NodeMoveFinalizeExecution }); }
|
|
4306
4321
|
};
|
|
4307
|
-
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 });
|
|
4308
|
-
NodeMoveFinalizeExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NodeMoveFinalizeExecution });
|
|
4309
4322
|
NodeMoveFinalizeExecution = __decorate([
|
|
4310
4323
|
FExecutionRegister(NodeMoveFinalizeRequest)
|
|
4311
4324
|
], NodeMoveFinalizeExecution);
|
|
4312
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4325
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NodeMoveFinalizeExecution, decorators: [{
|
|
4313
4326
|
type: Injectable
|
|
4314
4327
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: i2.FMediator }]; } });
|
|
4315
4328
|
|
|
@@ -4320,13 +4333,13 @@ let NodeMoveFinalizeValidator = class NodeMoveFinalizeValidator {
|
|
|
4320
4333
|
handle(request) {
|
|
4321
4334
|
return this.fDraggableDataContext.draggableItems.some((x) => x instanceof NodeDragHandler);
|
|
4322
4335
|
}
|
|
4336
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NodeMoveFinalizeValidator, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4337
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NodeMoveFinalizeValidator }); }
|
|
4323
4338
|
};
|
|
4324
|
-
NodeMoveFinalizeValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NodeMoveFinalizeValidator, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4325
|
-
NodeMoveFinalizeValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NodeMoveFinalizeValidator });
|
|
4326
4339
|
NodeMoveFinalizeValidator = __decorate([
|
|
4327
4340
|
FValidatorRegister(NodeMoveFinalizeRequest)
|
|
4328
4341
|
], NodeMoveFinalizeValidator);
|
|
4329
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4342
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NodeMoveFinalizeValidator, decorators: [{
|
|
4330
4343
|
type: Injectable
|
|
4331
4344
|
}], ctorParameters: function () { return [{ type: FDraggableDataContext }]; } });
|
|
4332
4345
|
|
|
@@ -4381,13 +4394,13 @@ let ApplyChildResizeRestrictionsExecution = class ApplyChildResizeRestrictionsEx
|
|
|
4381
4394
|
rect.height = restrictionsRect.y + restrictionsRect.height - rect.y + OFFSET$1;
|
|
4382
4395
|
}
|
|
4383
4396
|
}
|
|
4397
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ApplyChildResizeRestrictionsExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4398
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ApplyChildResizeRestrictionsExecution }); }
|
|
4384
4399
|
};
|
|
4385
|
-
ApplyChildResizeRestrictionsExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ApplyChildResizeRestrictionsExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4386
|
-
ApplyChildResizeRestrictionsExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ApplyChildResizeRestrictionsExecution });
|
|
4387
4400
|
ApplyChildResizeRestrictionsExecution = __decorate([
|
|
4388
4401
|
FExecutionRegister(ApplyChildResizeRestrictionsRequest)
|
|
4389
4402
|
], ApplyChildResizeRestrictionsExecution);
|
|
4390
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4403
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ApplyChildResizeRestrictionsExecution, decorators: [{
|
|
4391
4404
|
type: Injectable
|
|
4392
4405
|
}] });
|
|
4393
4406
|
|
|
@@ -4431,13 +4444,13 @@ let ApplyParentResizeRestrictionsExecution = class ApplyParentResizeRestrictions
|
|
|
4431
4444
|
rect.height = restrictionsRect.y + restrictionsRect.height - rect.y - OFFSET;
|
|
4432
4445
|
}
|
|
4433
4446
|
}
|
|
4447
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ApplyParentResizeRestrictionsExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4448
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ApplyParentResizeRestrictionsExecution }); }
|
|
4434
4449
|
};
|
|
4435
|
-
ApplyParentResizeRestrictionsExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ApplyParentResizeRestrictionsExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4436
|
-
ApplyParentResizeRestrictionsExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ApplyParentResizeRestrictionsExecution });
|
|
4437
4450
|
ApplyParentResizeRestrictionsExecution = __decorate([
|
|
4438
4451
|
FExecutionRegister(ApplyParentResizeRestrictionsRequest)
|
|
4439
4452
|
], ApplyParentResizeRestrictionsExecution);
|
|
4440
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4453
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ApplyParentResizeRestrictionsExecution, decorators: [{
|
|
4441
4454
|
type: Injectable
|
|
4442
4455
|
}] });
|
|
4443
4456
|
|
|
@@ -4464,13 +4477,13 @@ let CalculateChangedPositionExecution = class CalculateChangedPositionExecution
|
|
|
4464
4477
|
change(originalRect, difference, direction, changedRect) {
|
|
4465
4478
|
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);
|
|
4466
4479
|
}
|
|
4480
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CalculateChangedPositionExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4481
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CalculateChangedPositionExecution }); }
|
|
4467
4482
|
};
|
|
4468
|
-
CalculateChangedPositionExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CalculateChangedPositionExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4469
|
-
CalculateChangedPositionExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CalculateChangedPositionExecution });
|
|
4470
4483
|
CalculateChangedPositionExecution = __decorate([
|
|
4471
4484
|
FExecutionRegister(CalculateChangedPositionRequest)
|
|
4472
4485
|
], CalculateChangedPositionExecution);
|
|
4473
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4486
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CalculateChangedPositionExecution, decorators: [{
|
|
4474
4487
|
type: Injectable
|
|
4475
4488
|
}] });
|
|
4476
4489
|
|
|
@@ -4498,20 +4511,20 @@ let CalculateChangedSizeExecution = class CalculateChangedSizeExecution {
|
|
|
4498
4511
|
}
|
|
4499
4512
|
return RectExtensions.copy(result);
|
|
4500
4513
|
}
|
|
4514
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CalculateChangedSizeExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4515
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CalculateChangedSizeExecution }); }
|
|
4501
4516
|
};
|
|
4502
|
-
CalculateChangedSizeExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CalculateChangedSizeExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4503
|
-
CalculateChangedSizeExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CalculateChangedSizeExecution });
|
|
4504
4517
|
CalculateChangedSizeExecution = __decorate([
|
|
4505
4518
|
FExecutionRegister(CalculateChangedSizeRequest)
|
|
4506
4519
|
], CalculateChangedSizeExecution);
|
|
4507
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4520
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CalculateChangedSizeExecution, decorators: [{
|
|
4508
4521
|
type: Injectable
|
|
4509
4522
|
}] });
|
|
4510
4523
|
|
|
4511
4524
|
class GetNormalizedChildrenNodesRectRequest {
|
|
4512
|
-
constructor(fNode,
|
|
4525
|
+
constructor(fNode, paddings) {
|
|
4513
4526
|
this.fNode = fNode;
|
|
4514
|
-
this.
|
|
4527
|
+
this.paddings = paddings;
|
|
4515
4528
|
}
|
|
4516
4529
|
}
|
|
4517
4530
|
|
|
@@ -4522,7 +4535,7 @@ let GetNormalizedChildrenNodesRectExecution = class GetNormalizedChildrenNodesRe
|
|
|
4522
4535
|
handle(request) {
|
|
4523
4536
|
const childNodeRect = RectExtensions.union(this.getChildrenNodes(request.fNode.fId).map((x) => this.normalizeRect(x)));
|
|
4524
4537
|
return childNodeRect ?
|
|
4525
|
-
this.concatRectWithParentPadding(childNodeRect,
|
|
4538
|
+
this.concatRectWithParentPadding(childNodeRect, request.paddings) : null;
|
|
4526
4539
|
}
|
|
4527
4540
|
getChildrenNodes(fId) {
|
|
4528
4541
|
return this.fMediator.send(new GetDeepChildrenNodesAndGroupsRequest(fId));
|
|
@@ -4530,19 +4543,16 @@ let GetNormalizedChildrenNodesRectExecution = class GetNormalizedChildrenNodesRe
|
|
|
4530
4543
|
normalizeRect(node) {
|
|
4531
4544
|
return this.fMediator.send(new GetNormalizedNodeRectRequest(node));
|
|
4532
4545
|
}
|
|
4533
|
-
getNodePadding(node, rect) {
|
|
4534
|
-
return this.fMediator.send(new GetNodePaddingRequest(node, rect));
|
|
4535
|
-
}
|
|
4536
4546
|
concatRectWithParentPadding(rect, padding) {
|
|
4537
4547
|
return RectExtensions.initialize(rect.x - padding[0], rect.y - padding[1], rect.width + padding[0] + padding[2], rect.height + +padding[1] + padding[3]);
|
|
4538
4548
|
}
|
|
4549
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetNormalizedChildrenNodesRectExecution, deps: [{ token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4550
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetNormalizedChildrenNodesRectExecution }); }
|
|
4539
4551
|
};
|
|
4540
|
-
GetNormalizedChildrenNodesRectExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetNormalizedChildrenNodesRectExecution, deps: [{ token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4541
|
-
GetNormalizedChildrenNodesRectExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetNormalizedChildrenNodesRectExecution });
|
|
4542
4552
|
GetNormalizedChildrenNodesRectExecution = __decorate([
|
|
4543
4553
|
FExecutionRegister(GetNormalizedChildrenNodesRectRequest)
|
|
4544
4554
|
], GetNormalizedChildrenNodesRectExecution);
|
|
4545
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4555
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetNormalizedChildrenNodesRectExecution, decorators: [{
|
|
4546
4556
|
type: Injectable
|
|
4547
4557
|
}], ctorParameters: function () { return [{ type: i2.FMediator }]; } });
|
|
4548
4558
|
|
|
@@ -4558,20 +4568,25 @@ let GetNodeResizeRestrictionsExecution = class GetNodeResizeRestrictionsExecutio
|
|
|
4558
4568
|
this.fMediator = fMediator;
|
|
4559
4569
|
}
|
|
4560
4570
|
handle(request) {
|
|
4561
|
-
const
|
|
4571
|
+
const fNodePaddings = this.getNodePaddings(request.fNode, request.rect);
|
|
4572
|
+
const childRect = this.fMediator.send(new GetNormalizedChildrenNodesRectRequest(request.fNode, fNodePaddings));
|
|
4562
4573
|
const parentRect = this.fMediator.send(new GetNormalizedParentNodeRectRequest(request.fNode));
|
|
4563
4574
|
return {
|
|
4564
4575
|
parentRect,
|
|
4565
4576
|
childRect,
|
|
4577
|
+
minSize: SizeExtensions.initialize(fNodePaddings[0] + fNodePaddings[2], fNodePaddings[1] + fNodePaddings[3])
|
|
4566
4578
|
};
|
|
4567
4579
|
}
|
|
4580
|
+
getNodePaddings(node, rect) {
|
|
4581
|
+
return this.fMediator.send(new GetNodePaddingRequest(node, rect));
|
|
4582
|
+
}
|
|
4583
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetNodeResizeRestrictionsExecution, deps: [{ token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4584
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetNodeResizeRestrictionsExecution }); }
|
|
4568
4585
|
};
|
|
4569
|
-
GetNodeResizeRestrictionsExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetNodeResizeRestrictionsExecution, deps: [{ token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4570
|
-
GetNodeResizeRestrictionsExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetNodeResizeRestrictionsExecution });
|
|
4571
4586
|
GetNodeResizeRestrictionsExecution = __decorate([
|
|
4572
4587
|
FExecutionRegister(GetNodeResizeRestrictionsRequest)
|
|
4573
4588
|
], GetNodeResizeRestrictionsExecution);
|
|
4574
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4589
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetNodeResizeRestrictionsExecution, decorators: [{
|
|
4575
4590
|
type: Injectable
|
|
4576
4591
|
}], ctorParameters: function () { return [{ type: i2.FMediator }]; } });
|
|
4577
4592
|
|
|
@@ -4590,13 +4605,13 @@ let NodeResizeFinalizeExecution = class NodeResizeFinalizeExecution {
|
|
|
4590
4605
|
x.complete?.();
|
|
4591
4606
|
});
|
|
4592
4607
|
}
|
|
4608
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NodeResizeFinalizeExecution, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4609
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NodeResizeFinalizeExecution }); }
|
|
4593
4610
|
};
|
|
4594
|
-
NodeResizeFinalizeExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NodeResizeFinalizeExecution, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4595
|
-
NodeResizeFinalizeExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NodeResizeFinalizeExecution });
|
|
4596
4611
|
NodeResizeFinalizeExecution = __decorate([
|
|
4597
4612
|
FExecutionRegister(NodeResizeFinalizeRequest)
|
|
4598
4613
|
], NodeResizeFinalizeExecution);
|
|
4599
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4614
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NodeResizeFinalizeExecution, decorators: [{
|
|
4600
4615
|
type: Injectable
|
|
4601
4616
|
}], ctorParameters: function () { return [{ type: FDraggableDataContext }]; } });
|
|
4602
4617
|
|
|
@@ -4605,7 +4620,8 @@ class NodeResizeDragHandler {
|
|
|
4605
4620
|
this.fMediator = fMediator;
|
|
4606
4621
|
this.fNode = fNode;
|
|
4607
4622
|
this.fResizeHandleType = fResizeHandleType;
|
|
4608
|
-
this.childRestrictions = () => {
|
|
4623
|
+
this.childRestrictions = () => {
|
|
4624
|
+
};
|
|
4609
4625
|
}
|
|
4610
4626
|
initialize() {
|
|
4611
4627
|
this.originalRect = this.fMediator.send(new GetNormalizedNodeRectRequest(this.fNode));
|
|
@@ -4617,14 +4633,14 @@ class NodeResizeDragHandler {
|
|
|
4617
4633
|
}
|
|
4618
4634
|
}
|
|
4619
4635
|
move(difference) {
|
|
4620
|
-
const changedRect = this.changePosition(difference, this.changeSize(difference));
|
|
4636
|
+
const changedRect = this.changePosition(difference, this.changeSize(difference, this.restrictions.minSize));
|
|
4621
4637
|
this.childRestrictions(changedRect, this.restrictions.childRect);
|
|
4622
4638
|
this.applyParentRestrictions(changedRect, this.restrictions.parentRect);
|
|
4623
4639
|
this.fNode.updatePosition(changedRect);
|
|
4624
4640
|
this.fNode.updateSize(changedRect);
|
|
4625
4641
|
this.fNode.redraw();
|
|
4626
4642
|
}
|
|
4627
|
-
changeSize(difference) {
|
|
4643
|
+
changeSize(difference, minSize) {
|
|
4628
4644
|
return this.fMediator.send(new CalculateChangedSizeRequest(this.originalRect, difference, this.fResizeHandleType));
|
|
4629
4645
|
}
|
|
4630
4646
|
changePosition(difference, changedRect) {
|
|
@@ -4648,13 +4664,13 @@ let NodeResizeFinalizeValidator = class NodeResizeFinalizeValidator {
|
|
|
4648
4664
|
handle(request) {
|
|
4649
4665
|
return this.fDraggableDataContext.draggableItems.some((x) => x instanceof NodeResizeDragHandler);
|
|
4650
4666
|
}
|
|
4667
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NodeResizeFinalizeValidator, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4668
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NodeResizeFinalizeValidator }); }
|
|
4651
4669
|
};
|
|
4652
|
-
NodeResizeFinalizeValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NodeResizeFinalizeValidator, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4653
|
-
NodeResizeFinalizeValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NodeResizeFinalizeValidator });
|
|
4654
4670
|
NodeResizeFinalizeValidator = __decorate([
|
|
4655
4671
|
FValidatorRegister(NodeResizeFinalizeRequest)
|
|
4656
4672
|
], NodeResizeFinalizeValidator);
|
|
4657
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4673
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NodeResizeFinalizeValidator, decorators: [{
|
|
4658
4674
|
type: Injectable
|
|
4659
4675
|
}], ctorParameters: function () { return [{ type: FDraggableDataContext }]; } });
|
|
4660
4676
|
|
|
@@ -4670,17 +4686,17 @@ class NodeResizePreparationRequest {
|
|
|
4670
4686
|
}
|
|
4671
4687
|
|
|
4672
4688
|
let NodeResizePreparationExecution = class NodeResizePreparationExecution {
|
|
4673
|
-
constructor(fComponentsStore, fDraggableDataContext, fMediator) {
|
|
4674
|
-
this.fComponentsStore = fComponentsStore;
|
|
4675
|
-
this.fDraggableDataContext = fDraggableDataContext;
|
|
4676
|
-
this.fMediator = fMediator;
|
|
4677
|
-
}
|
|
4678
4689
|
get transform() {
|
|
4679
4690
|
return this.fComponentsStore.fCanvas.transform;
|
|
4680
4691
|
}
|
|
4681
4692
|
get flowHost() {
|
|
4682
4693
|
return this.fComponentsStore.fFlow.hostElement;
|
|
4683
4694
|
}
|
|
4695
|
+
constructor(fComponentsStore, fDraggableDataContext, fMediator) {
|
|
4696
|
+
this.fComponentsStore = fComponentsStore;
|
|
4697
|
+
this.fDraggableDataContext = fDraggableDataContext;
|
|
4698
|
+
this.fMediator = fMediator;
|
|
4699
|
+
}
|
|
4684
4700
|
handle(request) {
|
|
4685
4701
|
this.selectAndUpdateNodeLayer(request.event.targetElement);
|
|
4686
4702
|
const handleType = getDataAttrValueFromClosestElementWithClass(request.event.targetElement, 'fResizeHandleType', '.f-resize-handle');
|
|
@@ -4698,13 +4714,13 @@ let NodeResizePreparationExecution = class NodeResizePreparationExecution {
|
|
|
4698
4714
|
getNode(targetElement) {
|
|
4699
4715
|
return this.fComponentsStore.findNode(targetElement);
|
|
4700
4716
|
}
|
|
4717
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NodeResizePreparationExecution, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4718
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NodeResizePreparationExecution }); }
|
|
4701
4719
|
};
|
|
4702
|
-
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 });
|
|
4703
|
-
NodeResizePreparationExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NodeResizePreparationExecution });
|
|
4704
4720
|
NodeResizePreparationExecution = __decorate([
|
|
4705
4721
|
FExecutionRegister(NodeResizePreparationRequest)
|
|
4706
4722
|
], NodeResizePreparationExecution);
|
|
4707
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4723
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NodeResizePreparationExecution, decorators: [{
|
|
4708
4724
|
type: Injectable
|
|
4709
4725
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: i2.FMediator }]; } });
|
|
4710
4726
|
|
|
@@ -4730,13 +4746,13 @@ let NodeResizePreparationValidator = class NodeResizePreparationValidator {
|
|
|
4730
4746
|
isDragHandleElement(targetElement) {
|
|
4731
4747
|
return isClosestElementHasClass(targetElement, '.f-resize-handle');
|
|
4732
4748
|
}
|
|
4749
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NodeResizePreparationValidator, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4750
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NodeResizePreparationValidator }); }
|
|
4733
4751
|
};
|
|
4734
|
-
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 });
|
|
4735
|
-
NodeResizePreparationValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NodeResizePreparationValidator });
|
|
4736
4752
|
NodeResizePreparationValidator = __decorate([
|
|
4737
4753
|
FValidatorRegister(NodeResizePreparationRequest)
|
|
4738
4754
|
], NodeResizePreparationValidator);
|
|
4739
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4755
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NodeResizePreparationValidator, decorators: [{
|
|
4740
4756
|
type: Injectable
|
|
4741
4757
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }]; } });
|
|
4742
4758
|
|
|
@@ -4829,13 +4845,13 @@ let SingleSelectExecution = class SingleSelectExecution {
|
|
|
4829
4845
|
});
|
|
4830
4846
|
this.fDraggableDataContext.selectedItems = [];
|
|
4831
4847
|
}
|
|
4848
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SingleSelectExecution, deps: [{ token: i1.PlatformService }, { token: FComponentsStore }, { token: FDraggableDataContext }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4849
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SingleSelectExecution }); }
|
|
4832
4850
|
};
|
|
4833
|
-
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 });
|
|
4834
|
-
SingleSelectExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SingleSelectExecution });
|
|
4835
4851
|
SingleSelectExecution = __decorate([
|
|
4836
4852
|
FExecutionRegister(SingleSelectRequest)
|
|
4837
4853
|
], SingleSelectExecution);
|
|
4838
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4854
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SingleSelectExecution, decorators: [{
|
|
4839
4855
|
type: Injectable
|
|
4840
4856
|
}], ctorParameters: function () { return [{ type: i1.PlatformService }, { type: FComponentsStore }, { type: FDraggableDataContext }, { type: i2.FMediator }]; } });
|
|
4841
4857
|
|
|
@@ -4848,13 +4864,13 @@ let SingleSelectValidator = class SingleSelectValidator {
|
|
|
4848
4864
|
return this.fComponentsStore.fFlow.hostElement.contains(request.event.targetElement)
|
|
4849
4865
|
&& !this.fDraggableDataContext.draggableItems.length;
|
|
4850
4866
|
}
|
|
4867
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SingleSelectValidator, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4868
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SingleSelectValidator }); }
|
|
4851
4869
|
};
|
|
4852
|
-
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 });
|
|
4853
|
-
SingleSelectValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SingleSelectValidator });
|
|
4854
4870
|
SingleSelectValidator = __decorate([
|
|
4855
4871
|
FValidatorRegister(SingleSelectRequest)
|
|
4856
4872
|
], SingleSelectValidator);
|
|
4857
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4873
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SingleSelectValidator, decorators: [{
|
|
4858
4874
|
type: Injectable
|
|
4859
4875
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }]; } });
|
|
4860
4876
|
|
|
@@ -4867,10 +4883,10 @@ class FDraggableBase extends DragAndDropBase {
|
|
|
4867
4883
|
constructor(ngZone) {
|
|
4868
4884
|
super(ngZone);
|
|
4869
4885
|
}
|
|
4886
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FDraggableBase, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4887
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: FDraggableBase, usesInheritance: true, ngImport: i0 }); }
|
|
4870
4888
|
}
|
|
4871
|
-
|
|
4872
|
-
FDraggableBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FDraggableBase, usesInheritance: true, ngImport: i0 });
|
|
4873
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FDraggableBase, decorators: [{
|
|
4889
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FDraggableBase, decorators: [{
|
|
4874
4890
|
type: Directive
|
|
4875
4891
|
}], ctorParameters: function () { return [{ type: undefined }]; } });
|
|
4876
4892
|
|
|
@@ -4887,13 +4903,7 @@ class FCreateNodeEvent {
|
|
|
4887
4903
|
}
|
|
4888
4904
|
}
|
|
4889
4905
|
|
|
4890
|
-
let ExternalItemFinalizeExecution = class ExternalItemFinalizeExecution {
|
|
4891
|
-
constructor(fComponentsStore, fDraggableDataContext, fMediator, fBrowser) {
|
|
4892
|
-
this.fComponentsStore = fComponentsStore;
|
|
4893
|
-
this.fDraggableDataContext = fDraggableDataContext;
|
|
4894
|
-
this.fMediator = fMediator;
|
|
4895
|
-
this.fBrowser = fBrowser;
|
|
4896
|
-
}
|
|
4906
|
+
let ExternalItemFinalizeExecution = class ExternalItemFinalizeExecution {
|
|
4897
4907
|
get flowHost() {
|
|
4898
4908
|
return this.fComponentsStore.fFlow.hostElement;
|
|
4899
4909
|
}
|
|
@@ -4903,6 +4913,12 @@ let ExternalItemFinalizeExecution = class ExternalItemFinalizeExecution {
|
|
|
4903
4913
|
get dragHandler() {
|
|
4904
4914
|
return this.fDraggableDataContext.draggableItems[0];
|
|
4905
4915
|
}
|
|
4916
|
+
constructor(fComponentsStore, fDraggableDataContext, fMediator, fBrowser) {
|
|
4917
|
+
this.fComponentsStore = fComponentsStore;
|
|
4918
|
+
this.fDraggableDataContext = fDraggableDataContext;
|
|
4919
|
+
this.fMediator = fMediator;
|
|
4920
|
+
this.fBrowser = fBrowser;
|
|
4921
|
+
}
|
|
4906
4922
|
handle(request) {
|
|
4907
4923
|
this.emitEvent(this.getExternalItemElementsFromPoint(request.event.getPosition()));
|
|
4908
4924
|
this.dragHandler.complete();
|
|
@@ -4922,13 +4938,13 @@ let ExternalItemFinalizeExecution = class ExternalItemFinalizeExecution {
|
|
|
4922
4938
|
getRectInCanvas() {
|
|
4923
4939
|
return this.fMediator.send(new GetElementRectInFlowRequest(this.dragHandler.placeholder));
|
|
4924
4940
|
}
|
|
4941
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ExternalItemFinalizeExecution, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: i2.FMediator }, { token: i1.BrowserService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4942
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ExternalItemFinalizeExecution }); }
|
|
4925
4943
|
};
|
|
4926
|
-
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 });
|
|
4927
|
-
ExternalItemFinalizeExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ExternalItemFinalizeExecution });
|
|
4928
4944
|
ExternalItemFinalizeExecution = __decorate([
|
|
4929
4945
|
FExecutionRegister(ExternalItemFinalizeRequest)
|
|
4930
4946
|
], ExternalItemFinalizeExecution);
|
|
4931
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4947
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ExternalItemFinalizeExecution, decorators: [{
|
|
4932
4948
|
type: Injectable
|
|
4933
4949
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: i2.FMediator }, { type: i1.BrowserService }]; } });
|
|
4934
4950
|
|
|
@@ -4973,13 +4989,13 @@ let ExternalItemFinalizeValidator = class ExternalItemFinalizeValidator {
|
|
|
4973
4989
|
handle(request) {
|
|
4974
4990
|
return this.fDraggableDataContext.draggableItems.some((x) => x instanceof ExternalItemDragHandler);
|
|
4975
4991
|
}
|
|
4992
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ExternalItemFinalizeValidator, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4993
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ExternalItemFinalizeValidator }); }
|
|
4976
4994
|
};
|
|
4977
|
-
ExternalItemFinalizeValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ExternalItemFinalizeValidator, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4978
|
-
ExternalItemFinalizeValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ExternalItemFinalizeValidator });
|
|
4979
4995
|
ExternalItemFinalizeValidator = __decorate([
|
|
4980
4996
|
FValidatorRegister(ExternalItemFinalizeRequest)
|
|
4981
4997
|
], ExternalItemFinalizeValidator);
|
|
4982
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4998
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ExternalItemFinalizeValidator, decorators: [{
|
|
4983
4999
|
type: Injectable
|
|
4984
5000
|
}], ctorParameters: function () { return [{ type: FDraggableDataContext }]; } });
|
|
4985
5001
|
|
|
@@ -4995,15 +5011,15 @@ class ExternalItemPreparationRequest {
|
|
|
4995
5011
|
}
|
|
4996
5012
|
|
|
4997
5013
|
let ExternalItemPreparationExecution = class ExternalItemPreparationExecution {
|
|
5014
|
+
get flowHost() {
|
|
5015
|
+
return this.fComponentsStore.fFlow.hostElement;
|
|
5016
|
+
}
|
|
4998
5017
|
constructor(fComponentsStore, fDraggableDataContext, fExternalItemService, fBrowser) {
|
|
4999
5018
|
this.fComponentsStore = fComponentsStore;
|
|
5000
5019
|
this.fDraggableDataContext = fDraggableDataContext;
|
|
5001
5020
|
this.fExternalItemService = fExternalItemService;
|
|
5002
5021
|
this.fBrowser = fBrowser;
|
|
5003
5022
|
}
|
|
5004
|
-
get flowHost() {
|
|
5005
|
-
return this.fComponentsStore.fFlow.hostElement;
|
|
5006
|
-
}
|
|
5007
5023
|
handle(request) {
|
|
5008
5024
|
this.fDraggableDataContext.onPointerDownScale = 1;
|
|
5009
5025
|
this.fDraggableDataContext.onPointerDownPosition = Point.fromPoint(request.event.getPosition()).elementTransform(this.flowHost);
|
|
@@ -5014,13 +5030,13 @@ let ExternalItemPreparationExecution = class ExternalItemPreparationExecution {
|
|
|
5014
5030
|
getExternalItem(targetElement) {
|
|
5015
5031
|
return this.fExternalItemService.getItem(getExternalItem(targetElement));
|
|
5016
5032
|
}
|
|
5033
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ExternalItemPreparationExecution, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: FExternalItemService }, { token: i1.BrowserService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5034
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ExternalItemPreparationExecution }); }
|
|
5017
5035
|
};
|
|
5018
|
-
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 });
|
|
5019
|
-
ExternalItemPreparationExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ExternalItemPreparationExecution });
|
|
5020
5036
|
ExternalItemPreparationExecution = __decorate([
|
|
5021
5037
|
FExecutionRegister(ExternalItemPreparationRequest)
|
|
5022
5038
|
], ExternalItemPreparationExecution);
|
|
5023
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5039
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ExternalItemPreparationExecution, decorators: [{
|
|
5024
5040
|
type: Injectable
|
|
5025
5041
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: FExternalItemService }, { type: i1.BrowserService }]; } });
|
|
5026
5042
|
|
|
@@ -5035,13 +5051,13 @@ let ExternalItemPreparationValidator = class ExternalItemPreparationValidator {
|
|
|
5035
5051
|
getExternalItem(targetElement) {
|
|
5036
5052
|
return this.fExternalItemService.getItem(getExternalItem(targetElement));
|
|
5037
5053
|
}
|
|
5054
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ExternalItemPreparationValidator, deps: [{ token: FExternalItemService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5055
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ExternalItemPreparationValidator }); }
|
|
5038
5056
|
};
|
|
5039
|
-
ExternalItemPreparationValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ExternalItemPreparationValidator, deps: [{ token: FExternalItemService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5040
|
-
ExternalItemPreparationValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ExternalItemPreparationValidator });
|
|
5041
5057
|
ExternalItemPreparationValidator = __decorate([
|
|
5042
5058
|
FValidatorRegister(ExternalItemPreparationRequest)
|
|
5043
5059
|
], ExternalItemPreparationValidator);
|
|
5044
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5060
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ExternalItemPreparationValidator, decorators: [{
|
|
5045
5061
|
type: Injectable
|
|
5046
5062
|
}], ctorParameters: function () { return [{ type: FExternalItemService }]; } });
|
|
5047
5063
|
|
|
@@ -5057,10 +5073,10 @@ const F_EXTERNAL_ITEM_DRAG_AND_DROP_PROVIDERS = [
|
|
|
5057
5073
|
|
|
5058
5074
|
const F_EXTERNAL_ITEM = new InjectionToken('F_EXTERNAL_ITEM');
|
|
5059
5075
|
class FExternalItemBase {
|
|
5076
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FExternalItemBase, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5077
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: FExternalItemBase, ngImport: i0 }); }
|
|
5060
5078
|
}
|
|
5061
|
-
|
|
5062
|
-
FExternalItemBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FExternalItemBase, ngImport: i0 });
|
|
5063
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FExternalItemBase, decorators: [{
|
|
5079
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FExternalItemBase, decorators: [{
|
|
5064
5080
|
type: Directive
|
|
5065
5081
|
}] });
|
|
5066
5082
|
|
|
@@ -5087,10 +5103,10 @@ class FExternalItemService {
|
|
|
5087
5103
|
this.items.splice(index, 1);
|
|
5088
5104
|
}
|
|
5089
5105
|
}
|
|
5106
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FExternalItemService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5107
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FExternalItemService, providedIn: 'root' }); }
|
|
5090
5108
|
}
|
|
5091
|
-
|
|
5092
|
-
FExternalItemService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FExternalItemService, providedIn: 'root' });
|
|
5093
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FExternalItemService, decorators: [{
|
|
5109
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FExternalItemService, decorators: [{
|
|
5094
5110
|
type: Injectable,
|
|
5095
5111
|
args: [{
|
|
5096
5112
|
providedIn: 'root'
|
|
@@ -5099,6 +5115,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
5099
5115
|
|
|
5100
5116
|
let uniqueId$3 = 0;
|
|
5101
5117
|
class FExternalItemDirective extends FExternalItemBase {
|
|
5118
|
+
get hostElement() {
|
|
5119
|
+
return this.elementReference.nativeElement;
|
|
5120
|
+
}
|
|
5102
5121
|
constructor(elementReference, fExternalItemService) {
|
|
5103
5122
|
super();
|
|
5104
5123
|
this.elementReference = elementReference;
|
|
@@ -5106,9 +5125,6 @@ class FExternalItemDirective extends FExternalItemBase {
|
|
|
5106
5125
|
this.fExternalItemId = `f-external-item-${uniqueId$3++}`;
|
|
5107
5126
|
this.fDisabled = false;
|
|
5108
5127
|
}
|
|
5109
|
-
get hostElement() {
|
|
5110
|
-
return this.elementReference.nativeElement;
|
|
5111
|
-
}
|
|
5112
5128
|
ngOnInit() {
|
|
5113
5129
|
this.fExternalItemService.registerItem(this);
|
|
5114
5130
|
this.disablePointerEvents(Array.from(this.hostElement.children));
|
|
@@ -5122,12 +5138,12 @@ class FExternalItemDirective extends FExternalItemBase {
|
|
|
5122
5138
|
ngOnDestroy() {
|
|
5123
5139
|
this.fExternalItemService.removeItem(this);
|
|
5124
5140
|
}
|
|
5141
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FExternalItemDirective, deps: [{ token: i0.ElementRef }, { token: FExternalItemService }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5142
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", 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: [
|
|
5143
|
+
{ provide: F_EXTERNAL_ITEM, useExisting: FExternalItemDirective }
|
|
5144
|
+
], usesInheritance: true, ngImport: i0 }); }
|
|
5125
5145
|
}
|
|
5126
|
-
|
|
5127
|
-
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: [
|
|
5128
|
-
{ provide: F_EXTERNAL_ITEM, useExisting: FExternalItemDirective }
|
|
5129
|
-
], usesInheritance: true, ngImport: i0 });
|
|
5130
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FExternalItemDirective, decorators: [{
|
|
5146
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FExternalItemDirective, decorators: [{
|
|
5131
5147
|
type: Directive,
|
|
5132
5148
|
args: [{
|
|
5133
5149
|
selector: "[fExternalItem]",
|
|
@@ -5155,6 +5171,9 @@ const F_EXTERNAL_ITEM_PROVIDERS = [
|
|
|
5155
5171
|
const F_DRAG_AND_DROP_PLUGIN = new InjectionToken('F_DRAG_AND_DROP_PLUGIN');
|
|
5156
5172
|
|
|
5157
5173
|
class FDraggableDirective extends FDraggableBase {
|
|
5174
|
+
get hostElement() {
|
|
5175
|
+
return this.elementReference.nativeElement;
|
|
5176
|
+
}
|
|
5158
5177
|
constructor(elementReference, fDraggableDataContext, ngZone, fComponentsStore, fMediator, fBrowser) {
|
|
5159
5178
|
super(ngZone);
|
|
5160
5179
|
this.elementReference = elementReference;
|
|
@@ -5171,9 +5190,6 @@ class FDraggableDirective extends FDraggableBase {
|
|
|
5171
5190
|
this.fReassignConnection = new EventEmitter();
|
|
5172
5191
|
this.fCreateConnection = new EventEmitter();
|
|
5173
5192
|
}
|
|
5174
|
-
get hostElement() {
|
|
5175
|
-
return this.elementReference.nativeElement;
|
|
5176
|
-
}
|
|
5177
5193
|
ngOnInit() {
|
|
5178
5194
|
this.fComponentsStore.fDraggable = this;
|
|
5179
5195
|
}
|
|
@@ -5267,10 +5283,10 @@ class FDraggableDirective extends FDraggableBase {
|
|
|
5267
5283
|
super.unsubscribe();
|
|
5268
5284
|
this.subscriptions$.unsubscribe();
|
|
5269
5285
|
}
|
|
5286
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", 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 }); }
|
|
5287
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", 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 }); }
|
|
5270
5288
|
}
|
|
5271
|
-
|
|
5272
|
-
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 });
|
|
5273
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FDraggableDirective, decorators: [{
|
|
5289
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FDraggableDirective, decorators: [{
|
|
5274
5290
|
type: Directive,
|
|
5275
5291
|
args: [{
|
|
5276
5292
|
selector: "f-flow[fDraggable]",
|
|
@@ -5314,12 +5330,12 @@ class CalculateFlowPointFromMinimapPointRequest {
|
|
|
5314
5330
|
}
|
|
5315
5331
|
|
|
5316
5332
|
let CalculateFlowPointFromMinimapPointExecution = class CalculateFlowPointFromMinimapPointExecution {
|
|
5317
|
-
constructor(fComponentsStore) {
|
|
5318
|
-
this.fComponentsStore = fComponentsStore;
|
|
5319
|
-
}
|
|
5320
5333
|
get canvasScale() {
|
|
5321
5334
|
return this.fComponentsStore.fCanvas.transform.scale;
|
|
5322
5335
|
}
|
|
5336
|
+
constructor(fComponentsStore) {
|
|
5337
|
+
this.fComponentsStore = fComponentsStore;
|
|
5338
|
+
}
|
|
5323
5339
|
handle(payload) {
|
|
5324
5340
|
return PointExtensions.sub(payload.canvasPosition, PointExtensions.sub(this.getPositionInViewBox(payload.eventPoint, payload.minimap), this.getNormalizedFlowCenter(payload.flowRect)));
|
|
5325
5341
|
}
|
|
@@ -5337,13 +5353,13 @@ let CalculateFlowPointFromMinimapPointExecution = class CalculateFlowPointFromMi
|
|
|
5337
5353
|
getEventPointInMinimap(eventPoint, minimap) {
|
|
5338
5354
|
return Point.fromPoint(eventPoint).elementTransform(minimap.element);
|
|
5339
5355
|
}
|
|
5356
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CalculateFlowPointFromMinimapPointExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5357
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CalculateFlowPointFromMinimapPointExecution }); }
|
|
5340
5358
|
};
|
|
5341
|
-
CalculateFlowPointFromMinimapPointExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CalculateFlowPointFromMinimapPointExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5342
|
-
CalculateFlowPointFromMinimapPointExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CalculateFlowPointFromMinimapPointExecution });
|
|
5343
5359
|
CalculateFlowPointFromMinimapPointExecution = __decorate([
|
|
5344
5360
|
FExecutionRegister(CalculateFlowPointFromMinimapPointRequest)
|
|
5345
5361
|
], CalculateFlowPointFromMinimapPointExecution);
|
|
5346
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5362
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CalculateFlowPointFromMinimapPointExecution, decorators: [{
|
|
5347
5363
|
type: Injectable
|
|
5348
5364
|
}], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
|
|
5349
5365
|
|
|
@@ -5362,13 +5378,13 @@ let MinimapDragFinalizeExecution = class MinimapDragFinalizeExecution {
|
|
|
5362
5378
|
x.complete?.();
|
|
5363
5379
|
});
|
|
5364
5380
|
}
|
|
5381
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MinimapDragFinalizeExecution, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5382
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MinimapDragFinalizeExecution }); }
|
|
5365
5383
|
};
|
|
5366
|
-
MinimapDragFinalizeExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: MinimapDragFinalizeExecution, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5367
|
-
MinimapDragFinalizeExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: MinimapDragFinalizeExecution });
|
|
5368
5384
|
MinimapDragFinalizeExecution = __decorate([
|
|
5369
5385
|
FExecutionRegister(MinimapDragFinalizeRequest)
|
|
5370
5386
|
], MinimapDragFinalizeExecution);
|
|
5371
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5387
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MinimapDragFinalizeExecution, decorators: [{
|
|
5372
5388
|
type: Injectable
|
|
5373
5389
|
}], ctorParameters: function () { return [{ type: FDraggableDataContext }]; } });
|
|
5374
5390
|
|
|
@@ -5412,13 +5428,13 @@ let MinimapDragFinalizeValidator = class MinimapDragFinalizeValidator {
|
|
|
5412
5428
|
handle(request) {
|
|
5413
5429
|
return this.fDraggableDataContext.draggableItems.some((x) => x instanceof FMinimapDragHandler);
|
|
5414
5430
|
}
|
|
5431
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MinimapDragFinalizeValidator, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5432
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MinimapDragFinalizeValidator }); }
|
|
5415
5433
|
};
|
|
5416
|
-
MinimapDragFinalizeValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: MinimapDragFinalizeValidator, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5417
|
-
MinimapDragFinalizeValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: MinimapDragFinalizeValidator });
|
|
5418
5434
|
MinimapDragFinalizeValidator = __decorate([
|
|
5419
5435
|
FValidatorRegister(MinimapDragFinalizeRequest)
|
|
5420
5436
|
], MinimapDragFinalizeValidator);
|
|
5421
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5437
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MinimapDragFinalizeValidator, decorators: [{
|
|
5422
5438
|
type: Injectable
|
|
5423
5439
|
}], ctorParameters: function () { return [{ type: FDraggableDataContext }]; } });
|
|
5424
5440
|
|
|
@@ -5435,14 +5451,14 @@ class MinimapDragPreparationRequest {
|
|
|
5435
5451
|
}
|
|
5436
5452
|
|
|
5437
5453
|
let MinimapDragPreparationExecution = class MinimapDragPreparationExecution {
|
|
5454
|
+
get flowHost() {
|
|
5455
|
+
return this.fComponentsStore.fFlow.hostElement;
|
|
5456
|
+
}
|
|
5438
5457
|
constructor(fComponentsStore, fMediator, fDraggableDataContext) {
|
|
5439
5458
|
this.fComponentsStore = fComponentsStore;
|
|
5440
5459
|
this.fMediator = fMediator;
|
|
5441
5460
|
this.fDraggableDataContext = fDraggableDataContext;
|
|
5442
5461
|
}
|
|
5443
|
-
get flowHost() {
|
|
5444
|
-
return this.fComponentsStore.fFlow.hostElement;
|
|
5445
|
-
}
|
|
5446
5462
|
handle(request) {
|
|
5447
5463
|
const eventPoint = request.event.getPosition();
|
|
5448
5464
|
const startCanvasPosition = Point.fromPoint(this.fComponentsStore.fCanvas.transform.position);
|
|
@@ -5461,13 +5477,13 @@ let MinimapDragPreparationExecution = class MinimapDragPreparationExecution {
|
|
|
5461
5477
|
getFlowRect() {
|
|
5462
5478
|
return RectExtensions.fromElement(this.flowHost);
|
|
5463
5479
|
}
|
|
5480
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MinimapDragPreparationExecution, deps: [{ token: FComponentsStore }, { token: i2.FMediator }, { token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5481
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MinimapDragPreparationExecution }); }
|
|
5464
5482
|
};
|
|
5465
|
-
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 });
|
|
5466
|
-
MinimapDragPreparationExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: MinimapDragPreparationExecution });
|
|
5467
5483
|
MinimapDragPreparationExecution = __decorate([
|
|
5468
5484
|
FExecutionRegister(MinimapDragPreparationRequest)
|
|
5469
5485
|
], MinimapDragPreparationExecution);
|
|
5470
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5486
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MinimapDragPreparationExecution, decorators: [{
|
|
5471
5487
|
type: Injectable
|
|
5472
5488
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: i2.FMediator }, { type: FDraggableDataContext }]; } });
|
|
5473
5489
|
|
|
@@ -5481,13 +5497,13 @@ let MinimapDragPreparationValidator = class MinimapDragPreparationValidator {
|
|
|
5481
5497
|
!!request.event.targetElement.closest('.f-minimap') &&
|
|
5482
5498
|
this.fComponentsStore.flowHost.contains(request.event.targetElement);
|
|
5483
5499
|
}
|
|
5500
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MinimapDragPreparationValidator, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5501
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MinimapDragPreparationValidator }); }
|
|
5484
5502
|
};
|
|
5485
|
-
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 });
|
|
5486
|
-
MinimapDragPreparationValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: MinimapDragPreparationValidator });
|
|
5487
5503
|
MinimapDragPreparationValidator = __decorate([
|
|
5488
5504
|
FValidatorRegister(MinimapDragPreparationRequest)
|
|
5489
5505
|
], MinimapDragPreparationValidator);
|
|
5490
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5506
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MinimapDragPreparationValidator, decorators: [{
|
|
5491
5507
|
type: Injectable
|
|
5492
5508
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }]; } });
|
|
5493
5509
|
|
|
@@ -5532,13 +5548,13 @@ let SelectionAreaFinalizeExecution = class SelectionAreaFinalizeExecution {
|
|
|
5532
5548
|
x.complete?.();
|
|
5533
5549
|
});
|
|
5534
5550
|
}
|
|
5551
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectionAreaFinalizeExecution, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5552
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectionAreaFinalizeExecution }); }
|
|
5535
5553
|
};
|
|
5536
|
-
SelectionAreaFinalizeExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SelectionAreaFinalizeExecution, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5537
|
-
SelectionAreaFinalizeExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SelectionAreaFinalizeExecution });
|
|
5538
5554
|
SelectionAreaFinalizeExecution = __decorate([
|
|
5539
5555
|
FExecutionRegister(SelectionAreaFinalizeRequest)
|
|
5540
5556
|
], SelectionAreaFinalizeExecution);
|
|
5541
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5557
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectionAreaFinalizeExecution, decorators: [{
|
|
5542
5558
|
type: Injectable
|
|
5543
5559
|
}], ctorParameters: function () { return [{ type: FDraggableDataContext }]; } });
|
|
5544
5560
|
|
|
@@ -5546,6 +5562,9 @@ class GetCanBeSelectedItemsRequest {
|
|
|
5546
5562
|
}
|
|
5547
5563
|
|
|
5548
5564
|
class SelectionAreaDragHandle {
|
|
5565
|
+
get canvasPosition() {
|
|
5566
|
+
return Point.fromPoint(this.fComponentsStore.fCanvas.transform.position).add(this.fComponentsStore.fCanvas.transform.scaledPosition);
|
|
5567
|
+
}
|
|
5549
5568
|
constructor(fComponentsStore, fSelectionArea, fDraggableDataContext, fMediator) {
|
|
5550
5569
|
this.fComponentsStore = fComponentsStore;
|
|
5551
5570
|
this.fSelectionArea = fSelectionArea;
|
|
@@ -5554,9 +5573,6 @@ class SelectionAreaDragHandle {
|
|
|
5554
5573
|
this.canBeSelected = [];
|
|
5555
5574
|
this.selectedByMove = [];
|
|
5556
5575
|
}
|
|
5557
|
-
get canvasPosition() {
|
|
5558
|
-
return Point.fromPoint(this.fComponentsStore.fCanvas.transform.position).add(this.fComponentsStore.fCanvas.transform.scaledPosition);
|
|
5559
|
-
}
|
|
5560
5576
|
initialize() {
|
|
5561
5577
|
this.canBeSelected = this.fMediator.send(new GetCanBeSelectedItemsRequest());
|
|
5562
5578
|
this.fSelectionArea.show();
|
|
@@ -5597,13 +5613,13 @@ let SelectionAreaFinalizeValidator = class SelectionAreaFinalizeValidator {
|
|
|
5597
5613
|
handle(request) {
|
|
5598
5614
|
return this.fDraggableDataContext.draggableItems.some((x) => x instanceof SelectionAreaDragHandle);
|
|
5599
5615
|
}
|
|
5616
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectionAreaFinalizeValidator, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5617
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectionAreaFinalizeValidator }); }
|
|
5600
5618
|
};
|
|
5601
|
-
SelectionAreaFinalizeValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SelectionAreaFinalizeValidator, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5602
|
-
SelectionAreaFinalizeValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SelectionAreaFinalizeValidator });
|
|
5603
5619
|
SelectionAreaFinalizeValidator = __decorate([
|
|
5604
5620
|
FValidatorRegister(SelectionAreaFinalizeRequest)
|
|
5605
5621
|
], SelectionAreaFinalizeValidator);
|
|
5606
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5622
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectionAreaFinalizeValidator, decorators: [{
|
|
5607
5623
|
type: Injectable
|
|
5608
5624
|
}], ctorParameters: function () { return [{ type: FDraggableDataContext }]; } });
|
|
5609
5625
|
|
|
@@ -5620,14 +5636,14 @@ class SelectionAreaPreparationRequest {
|
|
|
5620
5636
|
}
|
|
5621
5637
|
|
|
5622
5638
|
let SelectionAreaPreparationExecution = class SelectionAreaPreparationExecution {
|
|
5639
|
+
get flowHost() {
|
|
5640
|
+
return this.fComponentsStore.fFlow.hostElement;
|
|
5641
|
+
}
|
|
5623
5642
|
constructor(fComponentsStore, fDraggableDataContext, fMediator) {
|
|
5624
5643
|
this.fComponentsStore = fComponentsStore;
|
|
5625
5644
|
this.fDraggableDataContext = fDraggableDataContext;
|
|
5626
5645
|
this.fMediator = fMediator;
|
|
5627
5646
|
}
|
|
5628
|
-
get flowHost() {
|
|
5629
|
-
return this.fComponentsStore.fFlow.hostElement;
|
|
5630
|
-
}
|
|
5631
5647
|
handle(request) {
|
|
5632
5648
|
this.fDraggableDataContext.draggableItems = [
|
|
5633
5649
|
new SelectionAreaDragHandle(this.fComponentsStore, request.fSelectionArea, this.fDraggableDataContext, this.fMediator)
|
|
@@ -5636,13 +5652,13 @@ let SelectionAreaPreparationExecution = class SelectionAreaPreparationExecution
|
|
|
5636
5652
|
this.fDraggableDataContext.onPointerDownPosition = Point.fromPoint(request.event.getPosition())
|
|
5637
5653
|
.elementTransform(this.flowHost);
|
|
5638
5654
|
}
|
|
5655
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectionAreaPreparationExecution, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5656
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectionAreaPreparationExecution }); }
|
|
5639
5657
|
};
|
|
5640
|
-
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 });
|
|
5641
|
-
SelectionAreaPreparationExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SelectionAreaPreparationExecution });
|
|
5642
5658
|
SelectionAreaPreparationExecution = __decorate([
|
|
5643
5659
|
FExecutionRegister(SelectionAreaPreparationRequest)
|
|
5644
5660
|
], SelectionAreaPreparationExecution);
|
|
5645
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5661
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectionAreaPreparationExecution, decorators: [{
|
|
5646
5662
|
type: Injectable
|
|
5647
5663
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: i2.FMediator }]; } });
|
|
5648
5664
|
|
|
@@ -5660,13 +5676,13 @@ let SelectionAreaPreparationValidator = class SelectionAreaPreparationValidator
|
|
|
5660
5676
|
isShiftPressed(event) {
|
|
5661
5677
|
return event.shiftKey;
|
|
5662
5678
|
}
|
|
5679
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectionAreaPreparationValidator, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5680
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectionAreaPreparationValidator }); }
|
|
5663
5681
|
};
|
|
5664
|
-
SelectionAreaPreparationValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SelectionAreaPreparationValidator, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5665
|
-
SelectionAreaPreparationValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SelectionAreaPreparationValidator });
|
|
5666
5682
|
SelectionAreaPreparationValidator = __decorate([
|
|
5667
5683
|
FValidatorRegister(SelectionAreaPreparationRequest)
|
|
5668
5684
|
], SelectionAreaPreparationValidator);
|
|
5669
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5685
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectionAreaPreparationValidator, decorators: [{
|
|
5670
5686
|
type: Injectable
|
|
5671
5687
|
}], ctorParameters: function () { return [{ type: FDraggableDataContext }]; } });
|
|
5672
5688
|
|
|
@@ -5681,22 +5697,22 @@ const F_SELECTION_AREA_DRAG_AND_DROP_PROVIDERS = [
|
|
|
5681
5697
|
];
|
|
5682
5698
|
|
|
5683
5699
|
class FSelectionAreaBase {
|
|
5700
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FSelectionAreaBase, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5701
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: FSelectionAreaBase, ngImport: i0 }); }
|
|
5684
5702
|
}
|
|
5685
|
-
|
|
5686
|
-
FSelectionAreaBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FSelectionAreaBase, ngImport: i0 });
|
|
5687
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FSelectionAreaBase, decorators: [{
|
|
5703
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FSelectionAreaBase, decorators: [{
|
|
5688
5704
|
type: Directive
|
|
5689
5705
|
}] });
|
|
5690
5706
|
|
|
5691
5707
|
class FSelectionAreaComponent extends FSelectionAreaBase {
|
|
5708
|
+
get hostElement() {
|
|
5709
|
+
return this.elementReference.nativeElement;
|
|
5710
|
+
}
|
|
5692
5711
|
constructor(elementReference, fMediator) {
|
|
5693
5712
|
super();
|
|
5694
5713
|
this.elementReference = elementReference;
|
|
5695
5714
|
this.fMediator = fMediator;
|
|
5696
5715
|
}
|
|
5697
|
-
get hostElement() {
|
|
5698
|
-
return this.elementReference.nativeElement;
|
|
5699
|
-
}
|
|
5700
5716
|
ngOnInit() {
|
|
5701
5717
|
this.hostElement.style.display = 'none';
|
|
5702
5718
|
}
|
|
@@ -5719,12 +5735,12 @@ class FSelectionAreaComponent extends FSelectionAreaBase {
|
|
|
5719
5735
|
onPointerUp(event) {
|
|
5720
5736
|
this.fMediator.send(new SelectionAreaFinalizeRequest(event));
|
|
5721
5737
|
}
|
|
5738
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FSelectionAreaComponent, deps: [{ token: i0.ElementRef }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5739
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FSelectionAreaComponent, selector: "f-selection-area", host: { classAttribute: "f-selection-area f-component" }, providers: [
|
|
5740
|
+
{ provide: F_DRAG_AND_DROP_PLUGIN, useExisting: FSelectionAreaComponent },
|
|
5741
|
+
], usesInheritance: true, ngImport: i0, template: ``, isInline: true, styles: [":host{position:absolute}\n"] }); }
|
|
5722
5742
|
}
|
|
5723
|
-
|
|
5724
|
-
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: [
|
|
5725
|
-
{ provide: F_DRAG_AND_DROP_PLUGIN, useExisting: FSelectionAreaComponent },
|
|
5726
|
-
], usesInheritance: true, ngImport: i0, template: ``, isInline: true, styles: [":host{position:absolute}\n"] });
|
|
5727
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FSelectionAreaComponent, decorators: [{
|
|
5743
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FSelectionAreaComponent, decorators: [{
|
|
5728
5744
|
type: Component,
|
|
5729
5745
|
args: [{ selector: "f-selection-area", template: ``, host: {
|
|
5730
5746
|
'class': 'f-selection-area f-component'
|
|
@@ -5758,13 +5774,13 @@ let ClearSelectionExecution = class ClearSelectionExecution {
|
|
|
5758
5774
|
this.fDraggableDataContext.selectedItems = [];
|
|
5759
5775
|
this.fDraggableDataContext.isSelectedChanged = true;
|
|
5760
5776
|
}
|
|
5777
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ClearSelectionExecution, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5778
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ClearSelectionExecution }); }
|
|
5761
5779
|
};
|
|
5762
|
-
ClearSelectionExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ClearSelectionExecution, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5763
|
-
ClearSelectionExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ClearSelectionExecution });
|
|
5764
5780
|
ClearSelectionExecution = __decorate([
|
|
5765
5781
|
FExecutionRegister(ClearSelectionRequest)
|
|
5766
5782
|
], ClearSelectionExecution);
|
|
5767
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5783
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ClearSelectionExecution, decorators: [{
|
|
5768
5784
|
type: Injectable
|
|
5769
5785
|
}], ctorParameters: function () { return [{ type: FDraggableDataContext }]; } });
|
|
5770
5786
|
|
|
@@ -5788,13 +5804,13 @@ let GetSelectionExecution = class GetSelectionExecution {
|
|
|
5788
5804
|
});
|
|
5789
5805
|
return new FSelectionChangeEvent(selectedNodes, selectedConnections);
|
|
5790
5806
|
}
|
|
5807
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetSelectionExecution, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5808
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetSelectionExecution }); }
|
|
5791
5809
|
};
|
|
5792
|
-
GetSelectionExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetSelectionExecution, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5793
|
-
GetSelectionExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetSelectionExecution });
|
|
5794
5810
|
GetSelectionExecution = __decorate([
|
|
5795
5811
|
FExecutionRegister(GetSelectionRequest)
|
|
5796
5812
|
], GetSelectionExecution);
|
|
5797
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5813
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetSelectionExecution, decorators: [{
|
|
5798
5814
|
type: Injectable
|
|
5799
5815
|
}], ctorParameters: function () { return [{ type: FDraggableDataContext }]; } });
|
|
5800
5816
|
|
|
@@ -5831,13 +5847,13 @@ let SelectExecution = class SelectExecution {
|
|
|
5831
5847
|
});
|
|
5832
5848
|
this.fDraggableDataContext.isSelectedChanged = true;
|
|
5833
5849
|
}
|
|
5850
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectExecution, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5851
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectExecution }); }
|
|
5834
5852
|
};
|
|
5835
|
-
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 });
|
|
5836
|
-
SelectExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SelectExecution });
|
|
5837
5853
|
SelectExecution = __decorate([
|
|
5838
5854
|
FExecutionRegister(SelectRequest)
|
|
5839
5855
|
], SelectExecution);
|
|
5840
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5856
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectExecution, decorators: [{
|
|
5841
5857
|
type: Injectable
|
|
5842
5858
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }]; } });
|
|
5843
5859
|
|
|
@@ -5864,13 +5880,13 @@ let SelectAllExecution = class SelectAllExecution {
|
|
|
5864
5880
|
});
|
|
5865
5881
|
this.fDraggableDataContext.isSelectedChanged = true;
|
|
5866
5882
|
}
|
|
5883
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectAllExecution, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5884
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectAllExecution }); }
|
|
5867
5885
|
};
|
|
5868
|
-
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 });
|
|
5869
|
-
SelectAllExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SelectAllExecution });
|
|
5870
5886
|
SelectAllExecution = __decorate([
|
|
5871
5887
|
FExecutionRegister(SelectAllRequest)
|
|
5872
5888
|
], SelectAllExecution);
|
|
5873
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5889
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectAllExecution, decorators: [{
|
|
5874
5890
|
type: Injectable
|
|
5875
5891
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }]; } });
|
|
5876
5892
|
|
|
@@ -5904,13 +5920,13 @@ let MoveFrontElementsBeforeTargetElementExecution = class MoveFrontElementsBefor
|
|
|
5904
5920
|
request.fItemsContainer.insertBefore(x, request.allElements[request.targetIndex]);
|
|
5905
5921
|
});
|
|
5906
5922
|
}
|
|
5923
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MoveFrontElementsBeforeTargetElementExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5924
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MoveFrontElementsBeforeTargetElementExecution }); }
|
|
5907
5925
|
};
|
|
5908
|
-
MoveFrontElementsBeforeTargetElementExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: MoveFrontElementsBeforeTargetElementExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5909
|
-
MoveFrontElementsBeforeTargetElementExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: MoveFrontElementsBeforeTargetElementExecution });
|
|
5910
5926
|
MoveFrontElementsBeforeTargetElementExecution = __decorate([
|
|
5911
5927
|
FExecutionRegister(MoveFrontElementsBeforeTargetElementRequest)
|
|
5912
5928
|
], MoveFrontElementsBeforeTargetElementExecution);
|
|
5913
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5929
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MoveFrontElementsBeforeTargetElementExecution, decorators: [{
|
|
5914
5930
|
type: Injectable
|
|
5915
5931
|
}] });
|
|
5916
5932
|
|
|
@@ -5945,21 +5961,17 @@ let GetDeepChildrenNodesAndGroupsExecution = class GetDeepChildrenNodesAndGroups
|
|
|
5945
5961
|
});
|
|
5946
5962
|
return result;
|
|
5947
5963
|
}
|
|
5964
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetDeepChildrenNodesAndGroupsExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5965
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetDeepChildrenNodesAndGroupsExecution }); }
|
|
5948
5966
|
};
|
|
5949
|
-
GetDeepChildrenNodesAndGroupsExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetDeepChildrenNodesAndGroupsExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5950
|
-
GetDeepChildrenNodesAndGroupsExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetDeepChildrenNodesAndGroupsExecution });
|
|
5951
5967
|
GetDeepChildrenNodesAndGroupsExecution = __decorate([
|
|
5952
5968
|
FExecutionRegister(GetDeepChildrenNodesAndGroupsRequest)
|
|
5953
5969
|
], GetDeepChildrenNodesAndGroupsExecution);
|
|
5954
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5970
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetDeepChildrenNodesAndGroupsExecution, decorators: [{
|
|
5955
5971
|
type: Injectable
|
|
5956
5972
|
}], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
|
|
5957
5973
|
|
|
5958
5974
|
let UpdateItemAndChildrenLayersExecution = class UpdateItemAndChildrenLayersExecution {
|
|
5959
|
-
constructor(fComponentsStore, fMediator) {
|
|
5960
|
-
this.fComponentsStore = fComponentsStore;
|
|
5961
|
-
this.fMediator = fMediator;
|
|
5962
|
-
}
|
|
5963
5975
|
get fGroupsContainer() {
|
|
5964
5976
|
return this.fComponentsStore.fCanvas.fGroupsContainer.nativeElement;
|
|
5965
5977
|
}
|
|
@@ -5969,6 +5981,10 @@ let UpdateItemAndChildrenLayersExecution = class UpdateItemAndChildrenLayersExec
|
|
|
5969
5981
|
get fConnectionsContainer() {
|
|
5970
5982
|
return this.fComponentsStore.fCanvas.fConnectionsContainer.nativeElement;
|
|
5971
5983
|
}
|
|
5984
|
+
constructor(fComponentsStore, fMediator) {
|
|
5985
|
+
this.fComponentsStore = fComponentsStore;
|
|
5986
|
+
this.fMediator = fMediator;
|
|
5987
|
+
}
|
|
5972
5988
|
handle(request) {
|
|
5973
5989
|
switch (request.itemContainer) {
|
|
5974
5990
|
case this.fGroupsContainer:
|
|
@@ -6029,13 +6045,13 @@ let UpdateItemAndChildrenLayersExecution = class UpdateItemAndChildrenLayersExec
|
|
|
6029
6045
|
getChildrenNodesAndGroups(fId) {
|
|
6030
6046
|
return this.fMediator.send(new GetDeepChildrenNodesAndGroupsRequest(fId)).map((x) => x.hostElement);
|
|
6031
6047
|
}
|
|
6048
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: UpdateItemAndChildrenLayersExecution, deps: [{ token: FComponentsStore }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6049
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: UpdateItemAndChildrenLayersExecution }); }
|
|
6032
6050
|
};
|
|
6033
|
-
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 });
|
|
6034
|
-
UpdateItemAndChildrenLayersExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: UpdateItemAndChildrenLayersExecution });
|
|
6035
6051
|
UpdateItemAndChildrenLayersExecution = __decorate([
|
|
6036
6052
|
FExecutionRegister(UpdateItemAndChildrenLayersRequest)
|
|
6037
6053
|
], UpdateItemAndChildrenLayersExecution);
|
|
6038
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6054
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: UpdateItemAndChildrenLayersExecution, decorators: [{
|
|
6039
6055
|
type: Injectable
|
|
6040
6056
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: i2.FMediator }]; } });
|
|
6041
6057
|
|
|
@@ -6055,13 +6071,13 @@ let SelectAndUpdateNodeLayerExecution = class SelectAndUpdateNodeLayerExecution
|
|
|
6055
6071
|
this.fDraggableDataContext.isSelectedChanged = true;
|
|
6056
6072
|
}
|
|
6057
6073
|
}
|
|
6074
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectAndUpdateNodeLayerExecution, deps: [{ token: FDraggableDataContext }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6075
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectAndUpdateNodeLayerExecution }); }
|
|
6058
6076
|
};
|
|
6059
|
-
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 });
|
|
6060
|
-
SelectAndUpdateNodeLayerExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SelectAndUpdateNodeLayerExecution });
|
|
6061
6077
|
SelectAndUpdateNodeLayerExecution = __decorate([
|
|
6062
6078
|
FExecutionRegister(SelectAndUpdateNodeLayerRequest)
|
|
6063
6079
|
], SelectAndUpdateNodeLayerExecution);
|
|
6064
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6080
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectAndUpdateNodeLayerExecution, decorators: [{
|
|
6065
6081
|
type: Injectable
|
|
6066
6082
|
}], ctorParameters: function () { return [{ type: FDraggableDataContext }, { type: i2.FMediator }]; } });
|
|
6067
6083
|
|
|
@@ -6074,11 +6090,6 @@ const F_SELECTION_FEATURES = [
|
|
|
6074
6090
|
];
|
|
6075
6091
|
|
|
6076
6092
|
let GetCanBeSelectedItemsExecution = class GetCanBeSelectedItemsExecution {
|
|
6077
|
-
constructor(fComponentsStore, fDraggableDataContext, fMediator) {
|
|
6078
|
-
this.fComponentsStore = fComponentsStore;
|
|
6079
|
-
this.fDraggableDataContext = fDraggableDataContext;
|
|
6080
|
-
this.fMediator = fMediator;
|
|
6081
|
-
}
|
|
6082
6093
|
get fNodes() {
|
|
6083
6094
|
return this.fComponentsStore.fNodes;
|
|
6084
6095
|
}
|
|
@@ -6088,6 +6099,11 @@ let GetCanBeSelectedItemsExecution = class GetCanBeSelectedItemsExecution {
|
|
|
6088
6099
|
get transform() {
|
|
6089
6100
|
return this.fComponentsStore.fCanvas.transform;
|
|
6090
6101
|
}
|
|
6102
|
+
constructor(fComponentsStore, fDraggableDataContext, fMediator) {
|
|
6103
|
+
this.fComponentsStore = fComponentsStore;
|
|
6104
|
+
this.fDraggableDataContext = fDraggableDataContext;
|
|
6105
|
+
this.fMediator = fMediator;
|
|
6106
|
+
}
|
|
6091
6107
|
handle() {
|
|
6092
6108
|
return [...this.getNodesWithRects(), ...this.getConnectionsWithRects()].filter((x) => {
|
|
6093
6109
|
return !this.fDraggableDataContext.selectedItems.includes(x.element);
|
|
@@ -6109,13 +6125,13 @@ let GetCanBeSelectedItemsExecution = class GetCanBeSelectedItemsExecution {
|
|
|
6109
6125
|
};
|
|
6110
6126
|
});
|
|
6111
6127
|
}
|
|
6128
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetCanBeSelectedItemsExecution, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6129
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetCanBeSelectedItemsExecution }); }
|
|
6112
6130
|
};
|
|
6113
|
-
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 });
|
|
6114
|
-
GetCanBeSelectedItemsExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetCanBeSelectedItemsExecution });
|
|
6115
6131
|
GetCanBeSelectedItemsExecution = __decorate([
|
|
6116
6132
|
FExecutionRegister(GetCanBeSelectedItemsRequest)
|
|
6117
6133
|
], GetCanBeSelectedItemsExecution);
|
|
6118
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6134
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetCanBeSelectedItemsExecution, decorators: [{
|
|
6119
6135
|
type: Injectable
|
|
6120
6136
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: i2.FMediator }]; } });
|
|
6121
6137
|
|
|
@@ -6151,13 +6167,13 @@ let GetConnectionLineExecution = class GetConnectionLineExecution {
|
|
|
6151
6167
|
fixedOutboundBehaviour(payload) {
|
|
6152
6168
|
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));
|
|
6153
6169
|
}
|
|
6170
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetConnectionLineExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6171
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetConnectionLineExecution }); }
|
|
6154
6172
|
};
|
|
6155
|
-
GetConnectionLineExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetConnectionLineExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6156
|
-
GetConnectionLineExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetConnectionLineExecution });
|
|
6157
6173
|
GetConnectionLineExecution = __decorate([
|
|
6158
6174
|
FExecutionRegister(GetConnectionLineRequest)
|
|
6159
6175
|
], GetConnectionLineExecution);
|
|
6160
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6176
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetConnectionLineExecution, decorators: [{
|
|
6161
6177
|
type: Injectable
|
|
6162
6178
|
}] });
|
|
6163
6179
|
const positionFixedOutbound = {
|
|
@@ -6206,13 +6222,13 @@ let GetFlowStateConnectionsExecution = class GetFlowStateConnectionsExecution {
|
|
|
6206
6222
|
};
|
|
6207
6223
|
});
|
|
6208
6224
|
}
|
|
6225
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetFlowStateConnectionsExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6226
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetFlowStateConnectionsExecution }); }
|
|
6209
6227
|
};
|
|
6210
|
-
GetFlowStateConnectionsExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetFlowStateConnectionsExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6211
|
-
GetFlowStateConnectionsExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetFlowStateConnectionsExecution });
|
|
6212
6228
|
GetFlowStateConnectionsExecution = __decorate([
|
|
6213
6229
|
FExecutionRegister(GetFlowStateConnectionsRequest)
|
|
6214
6230
|
], GetFlowStateConnectionsExecution);
|
|
6215
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6231
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetFlowStateConnectionsExecution, decorators: [{
|
|
6216
6232
|
type: Injectable
|
|
6217
6233
|
}], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
|
|
6218
6234
|
|
|
@@ -6255,13 +6271,13 @@ let GetFlowStateNodesExecution = class GetFlowStateNodesExecution {
|
|
|
6255
6271
|
};
|
|
6256
6272
|
});
|
|
6257
6273
|
}
|
|
6274
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetFlowStateNodesExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6275
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetFlowStateNodesExecution }); }
|
|
6258
6276
|
};
|
|
6259
|
-
GetFlowStateNodesExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetFlowStateNodesExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6260
|
-
GetFlowStateNodesExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetFlowStateNodesExecution });
|
|
6261
6277
|
GetFlowStateNodesExecution = __decorate([
|
|
6262
6278
|
FExecutionRegister(GetFlowStateNodesRequest)
|
|
6263
6279
|
], GetFlowStateNodesExecution);
|
|
6264
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6280
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetFlowStateNodesExecution, decorators: [{
|
|
6265
6281
|
type: Injectable
|
|
6266
6282
|
}], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
|
|
6267
6283
|
|
|
@@ -6285,13 +6301,13 @@ let GetFlowStateExecution = class GetFlowStateExecution {
|
|
|
6285
6301
|
getCanvasPosition(transform) {
|
|
6286
6302
|
return PointExtensions.sum(transform.position, transform.scaledPosition);
|
|
6287
6303
|
}
|
|
6304
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetFlowStateExecution, deps: [{ token: FComponentsStore }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6305
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetFlowStateExecution }); }
|
|
6288
6306
|
};
|
|
6289
|
-
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 });
|
|
6290
|
-
GetFlowStateExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetFlowStateExecution });
|
|
6291
6307
|
GetFlowStateExecution = __decorate([
|
|
6292
6308
|
FExecutionRegister(GetFlowStateRequest)
|
|
6293
6309
|
], GetFlowStateExecution);
|
|
6294
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6310
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetFlowStateExecution, decorators: [{
|
|
6295
6311
|
type: Injectable
|
|
6296
6312
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: i2.FMediator }]; } });
|
|
6297
6313
|
|
|
@@ -6320,13 +6336,13 @@ let GetScaledNodeRectsWithFlowPositionExecution = class GetScaledNodeRectsWithFl
|
|
|
6320
6336
|
getNodes() {
|
|
6321
6337
|
return this.fComponentsStore.fNodes;
|
|
6322
6338
|
}
|
|
6339
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetScaledNodeRectsWithFlowPositionExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6340
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetScaledNodeRectsWithFlowPositionExecution }); }
|
|
6323
6341
|
};
|
|
6324
|
-
GetScaledNodeRectsWithFlowPositionExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetScaledNodeRectsWithFlowPositionExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6325
|
-
GetScaledNodeRectsWithFlowPositionExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetScaledNodeRectsWithFlowPositionExecution });
|
|
6326
6342
|
GetScaledNodeRectsWithFlowPositionExecution = __decorate([
|
|
6327
6343
|
FExecutionRegister(GetScaledNodeRectsWithFlowPositionRequest)
|
|
6328
6344
|
], GetScaledNodeRectsWithFlowPositionExecution);
|
|
6329
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6345
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetScaledNodeRectsWithFlowPositionExecution, decorators: [{
|
|
6330
6346
|
type: Injectable
|
|
6331
6347
|
}], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
|
|
6332
6348
|
|
|
@@ -6346,13 +6362,13 @@ let GetNodesRectExecution = class GetNodesRectExecution {
|
|
|
6346
6362
|
getNodes() {
|
|
6347
6363
|
return this.fComponentsStore.fNodes;
|
|
6348
6364
|
}
|
|
6365
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetNodesRectExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6366
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetNodesRectExecution }); }
|
|
6349
6367
|
};
|
|
6350
|
-
GetNodesRectExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetNodesRectExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6351
|
-
GetNodesRectExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetNodesRectExecution });
|
|
6352
6368
|
GetNodesRectExecution = __decorate([
|
|
6353
6369
|
FExecutionRegister(GetNodesRectRequest)
|
|
6354
6370
|
], GetNodesRectExecution);
|
|
6355
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6371
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetNodesRectExecution, decorators: [{
|
|
6356
6372
|
type: Injectable
|
|
6357
6373
|
}], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
|
|
6358
6374
|
|
|
@@ -6363,41 +6379,41 @@ class GetPositionInFlowRequest {
|
|
|
6363
6379
|
}
|
|
6364
6380
|
|
|
6365
6381
|
let GetPositionInFlowExecution = class GetPositionInFlowExecution {
|
|
6366
|
-
constructor(fComponentsStore) {
|
|
6367
|
-
this.fComponentsStore = fComponentsStore;
|
|
6368
|
-
}
|
|
6369
6382
|
get transform() {
|
|
6370
6383
|
return this.fComponentsStore.transform;
|
|
6371
6384
|
}
|
|
6372
6385
|
get flowHost() {
|
|
6373
6386
|
return this.fComponentsStore.flowHost;
|
|
6374
6387
|
}
|
|
6388
|
+
constructor(fComponentsStore) {
|
|
6389
|
+
this.fComponentsStore = fComponentsStore;
|
|
6390
|
+
}
|
|
6375
6391
|
handle(request) {
|
|
6376
6392
|
return Point.fromPoint(request.position).elementTransform(this.flowHost)
|
|
6377
6393
|
.sub(this.transform.scaledPosition).sub(this.transform.position).div(this.transform.scale);
|
|
6378
6394
|
}
|
|
6395
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetPositionInFlowExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6396
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetPositionInFlowExecution }); }
|
|
6379
6397
|
};
|
|
6380
|
-
GetPositionInFlowExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetPositionInFlowExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6381
|
-
GetPositionInFlowExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GetPositionInFlowExecution });
|
|
6382
6398
|
GetPositionInFlowExecution = __decorate([
|
|
6383
6399
|
FExecutionRegister(GetPositionInFlowRequest)
|
|
6384
6400
|
], GetPositionInFlowExecution);
|
|
6385
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6401
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetPositionInFlowExecution, decorators: [{
|
|
6386
6402
|
type: Injectable
|
|
6387
6403
|
}], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
|
|
6388
6404
|
|
|
6389
6405
|
let IsConnectionUnderNodeExecution = class IsConnectionUnderNodeExecution {
|
|
6390
|
-
constructor(fComponentsStore, fDraggableDataContext, fMediator) {
|
|
6391
|
-
this.fComponentsStore = fComponentsStore;
|
|
6392
|
-
this.fDraggableDataContext = fDraggableDataContext;
|
|
6393
|
-
this.fMediator = fMediator;
|
|
6394
|
-
}
|
|
6395
6406
|
get transform() {
|
|
6396
6407
|
return this.fComponentsStore.fCanvas.transform;
|
|
6397
6408
|
}
|
|
6398
6409
|
get flowHost() {
|
|
6399
6410
|
return this.fComponentsStore.fFlow.hostElement;
|
|
6400
6411
|
}
|
|
6412
|
+
constructor(fComponentsStore, fDraggableDataContext, fMediator) {
|
|
6413
|
+
this.fComponentsStore = fComponentsStore;
|
|
6414
|
+
this.fDraggableDataContext = fDraggableDataContext;
|
|
6415
|
+
this.fMediator = fMediator;
|
|
6416
|
+
}
|
|
6401
6417
|
handle() {
|
|
6402
6418
|
const isValid = this.isValidRequest();
|
|
6403
6419
|
if (!isValid) {
|
|
@@ -6441,13 +6457,13 @@ let IsConnectionUnderNodeExecution = class IsConnectionUnderNodeExecution {
|
|
|
6441
6457
|
return ([]).length > 0;
|
|
6442
6458
|
});
|
|
6443
6459
|
}
|
|
6460
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IsConnectionUnderNodeExecution, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6461
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IsConnectionUnderNodeExecution }); }
|
|
6444
6462
|
};
|
|
6445
|
-
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 });
|
|
6446
|
-
IsConnectionUnderNodeExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: IsConnectionUnderNodeExecution });
|
|
6447
6463
|
IsConnectionUnderNodeExecution = __decorate([
|
|
6448
6464
|
FExecutionRegister(IsConnectionUnderNodeRequest)
|
|
6449
6465
|
], IsConnectionUnderNodeExecution);
|
|
6450
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6466
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IsConnectionUnderNodeExecution, decorators: [{
|
|
6451
6467
|
type: Injectable
|
|
6452
6468
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: i2.FMediator }]; } });
|
|
6453
6469
|
|
|
@@ -6496,13 +6512,13 @@ let RedrawConnectionsExecution = class RedrawConnectionsExecution {
|
|
|
6496
6512
|
setMarkers(connection) {
|
|
6497
6513
|
this.fMediator.send(new CreateConnectionMarkersRequest(connection));
|
|
6498
6514
|
}
|
|
6515
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RedrawConnectionsExecution, deps: [{ token: FComponentsStore }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6516
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RedrawConnectionsExecution }); }
|
|
6499
6517
|
};
|
|
6500
|
-
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 });
|
|
6501
|
-
RedrawConnectionsExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: RedrawConnectionsExecution });
|
|
6502
6518
|
RedrawConnectionsExecution = __decorate([
|
|
6503
6519
|
FExecutionRegister(RedrawConnectionsRequest)
|
|
6504
6520
|
], RedrawConnectionsExecution);
|
|
6505
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6521
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RedrawConnectionsExecution, decorators: [{
|
|
6506
6522
|
type: Injectable
|
|
6507
6523
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: i2.FMediator }]; } });
|
|
6508
6524
|
|
|
@@ -6518,13 +6534,13 @@ let ShowConnectionsAfterCalculationsExecution = class ShowConnectionsAfterCalcul
|
|
|
6518
6534
|
connection.hostElement.style.display = 'unset';
|
|
6519
6535
|
});
|
|
6520
6536
|
}
|
|
6537
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ShowConnectionsAfterCalculationsExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6538
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ShowConnectionsAfterCalculationsExecution }); }
|
|
6521
6539
|
};
|
|
6522
|
-
ShowConnectionsAfterCalculationsExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ShowConnectionsAfterCalculationsExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6523
|
-
ShowConnectionsAfterCalculationsExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ShowConnectionsAfterCalculationsExecution });
|
|
6524
6540
|
ShowConnectionsAfterCalculationsExecution = __decorate([
|
|
6525
6541
|
FExecutionRegister(ShowConnectionsAfterCalculationsRequest)
|
|
6526
6542
|
], ShowConnectionsAfterCalculationsExecution);
|
|
6527
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6543
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ShowConnectionsAfterCalculationsExecution, decorators: [{
|
|
6528
6544
|
type: Injectable
|
|
6529
6545
|
}], ctorParameters: function () { return [{ type: FComponentsStore }]; } });
|
|
6530
6546
|
|
|
@@ -6532,11 +6548,6 @@ class SortNodeLayersRequest {
|
|
|
6532
6548
|
}
|
|
6533
6549
|
|
|
6534
6550
|
let SortNodeLayersExecution = class SortNodeLayersExecution {
|
|
6535
|
-
constructor(fComponentsStore, fMediator, fBrowser) {
|
|
6536
|
-
this.fComponentsStore = fComponentsStore;
|
|
6537
|
-
this.fMediator = fMediator;
|
|
6538
|
-
this.fBrowser = fBrowser;
|
|
6539
|
-
}
|
|
6540
6551
|
get fGroupsContainer() {
|
|
6541
6552
|
return this.fComponentsStore.fCanvas.fGroupsContainer.nativeElement;
|
|
6542
6553
|
}
|
|
@@ -6546,6 +6557,11 @@ let SortNodeLayersExecution = class SortNodeLayersExecution {
|
|
|
6546
6557
|
get fNodesContainerElements() {
|
|
6547
6558
|
return Array.from(this.fNodesContainer.children);
|
|
6548
6559
|
}
|
|
6560
|
+
constructor(fComponentsStore, fMediator, fBrowser) {
|
|
6561
|
+
this.fComponentsStore = fComponentsStore;
|
|
6562
|
+
this.fMediator = fMediator;
|
|
6563
|
+
this.fBrowser = fBrowser;
|
|
6564
|
+
}
|
|
6549
6565
|
handle(request) {
|
|
6550
6566
|
this.getGroups().forEach((parent) => {
|
|
6551
6567
|
this.moveChildrenNodes(this.getSortedChildrenNodes(parent));
|
|
@@ -6570,13 +6586,13 @@ let SortNodeLayersExecution = class SortNodeLayersExecution {
|
|
|
6570
6586
|
});
|
|
6571
6587
|
this.fNodesContainer.appendChild(fragment);
|
|
6572
6588
|
}
|
|
6589
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SortNodeLayersExecution, deps: [{ token: FComponentsStore }, { token: i2.FMediator }, { token: i1.BrowserService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6590
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SortNodeLayersExecution }); }
|
|
6573
6591
|
};
|
|
6574
|
-
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 });
|
|
6575
|
-
SortNodeLayersExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SortNodeLayersExecution });
|
|
6576
6592
|
SortNodeLayersExecution = __decorate([
|
|
6577
6593
|
FExecutionRegister(SortNodeLayersRequest)
|
|
6578
6594
|
], SortNodeLayersExecution);
|
|
6579
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6595
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SortNodeLayersExecution, decorators: [{
|
|
6580
6596
|
type: Injectable
|
|
6581
6597
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: i2.FMediator }, { type: i1.BrowserService }]; } });
|
|
6582
6598
|
|
|
@@ -6588,14 +6604,14 @@ class SortItemsByParentRequest {
|
|
|
6588
6604
|
}
|
|
6589
6605
|
|
|
6590
6606
|
let SortItemsByParentExecution = class SortItemsByParentExecution {
|
|
6607
|
+
get fItemsFromContainer() {
|
|
6608
|
+
return Array.from(this.fItemsContainer.children);
|
|
6609
|
+
}
|
|
6591
6610
|
constructor(fComponentsStore, fMediator, fBrowser) {
|
|
6592
6611
|
this.fComponentsStore = fComponentsStore;
|
|
6593
6612
|
this.fMediator = fMediator;
|
|
6594
6613
|
this.fBrowser = fBrowser;
|
|
6595
6614
|
}
|
|
6596
|
-
get fItemsFromContainer() {
|
|
6597
|
-
return Array.from(this.fItemsContainer.children);
|
|
6598
|
-
}
|
|
6599
6615
|
handle(request) {
|
|
6600
6616
|
this.fItemsContainer = request.fItemsContainer;
|
|
6601
6617
|
this.getItems().forEach((parent) => {
|
|
@@ -6624,13 +6640,13 @@ let SortItemsByParentExecution = class SortItemsByParentExecution {
|
|
|
6624
6640
|
});
|
|
6625
6641
|
this.fItemsContainer.insertBefore(fragment, nextSibling);
|
|
6626
6642
|
}
|
|
6643
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SortItemsByParentExecution, deps: [{ token: FComponentsStore }, { token: i2.FMediator }, { token: i1.BrowserService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6644
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SortItemsByParentExecution }); }
|
|
6627
6645
|
};
|
|
6628
|
-
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 });
|
|
6629
|
-
SortItemsByParentExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SortItemsByParentExecution });
|
|
6630
6646
|
SortItemsByParentExecution = __decorate([
|
|
6631
6647
|
FExecutionRegister(SortItemsByParentRequest)
|
|
6632
6648
|
], SortItemsByParentExecution);
|
|
6633
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6649
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SortItemsByParentExecution, decorators: [{
|
|
6634
6650
|
type: Injectable
|
|
6635
6651
|
}], ctorParameters: function () { return [{ type: FComponentsStore }, { type: i2.FMediator }, { type: i1.BrowserService }]; } });
|
|
6636
6652
|
|
|
@@ -6647,13 +6663,13 @@ let SortItemLayersExecution = class SortItemLayersExecution {
|
|
|
6647
6663
|
this.fMediator.send(new SortNodeLayersRequest());
|
|
6648
6664
|
this.fMediator.send(new SortItemsByParentRequest(this.fComponentsStore.fCanvas.fNodesContainer.nativeElement));
|
|
6649
6665
|
}
|
|
6666
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SortItemLayersExecution, deps: [{ token: i2.FMediator }, { token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6667
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SortItemLayersExecution }); }
|
|
6650
6668
|
};
|
|
6651
|
-
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 });
|
|
6652
|
-
SortItemLayersExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SortItemLayersExecution });
|
|
6653
6669
|
SortItemLayersExecution = __decorate([
|
|
6654
6670
|
FExecutionRegister(SortItemLayersRequest)
|
|
6655
6671
|
], SortItemLayersExecution);
|
|
6656
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6672
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SortItemLayersExecution, decorators: [{
|
|
6657
6673
|
type: Injectable
|
|
6658
6674
|
}], ctorParameters: function () { return [{ type: i2.FMediator }, { type: FComponentsStore }]; } });
|
|
6659
6675
|
|
|
@@ -6668,13 +6684,13 @@ let SubscribeOnTransformChangesExecution = class SubscribeOnTransformChangesExec
|
|
|
6668
6684
|
handle(request) {
|
|
6669
6685
|
return merge(this.fTransformStore.changes, this.fComponentsStore.componentsData$, this.fComponentsStore.componentsCount$);
|
|
6670
6686
|
}
|
|
6687
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SubscribeOnTransformChangesExecution, deps: [{ token: FTransformStore }, { token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6688
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SubscribeOnTransformChangesExecution }); }
|
|
6671
6689
|
};
|
|
6672
|
-
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 });
|
|
6673
|
-
SubscribeOnTransformChangesExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SubscribeOnTransformChangesExecution });
|
|
6674
6690
|
SubscribeOnTransformChangesExecution = __decorate([
|
|
6675
6691
|
FExecutionRegister(SubscribeOnTransformChangesRequest)
|
|
6676
6692
|
], SubscribeOnTransformChangesExecution);
|
|
6677
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6693
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SubscribeOnTransformChangesExecution, decorators: [{
|
|
6678
6694
|
type: Injectable
|
|
6679
6695
|
}], ctorParameters: function () { return [{ type: FTransformStore }, { type: FComponentsStore }]; } });
|
|
6680
6696
|
|
|
@@ -6713,21 +6729,6 @@ const COMMON_PROVIDERS = [
|
|
|
6713
6729
|
|
|
6714
6730
|
let uniqueId$2 = 0;
|
|
6715
6731
|
class FRectPatternComponent {
|
|
6716
|
-
constructor(elementReference, fBrowser) {
|
|
6717
|
-
this.elementReference = elementReference;
|
|
6718
|
-
this.fBrowser = fBrowser;
|
|
6719
|
-
this._subscription$ = new Subscription();
|
|
6720
|
-
this._stateChanges = new Subject();
|
|
6721
|
-
this.id = `f-pattern-${uniqueId$2++}`;
|
|
6722
|
-
this._vColor = 'rgba(0,0,0,0.1)';
|
|
6723
|
-
this._hColor = 'rgba(0,0,0,0.1)';
|
|
6724
|
-
this._vSize = 20;
|
|
6725
|
-
this._hSize = 20;
|
|
6726
|
-
this._transform = TransformModelExtensions.default();
|
|
6727
|
-
this._position = PointExtensions.initialize();
|
|
6728
|
-
this._size = SizeExtensions.initialize(this._hSize, this._vSize);
|
|
6729
|
-
this.createPattern();
|
|
6730
|
-
}
|
|
6731
6732
|
get hostElement() {
|
|
6732
6733
|
return this.elementReference.nativeElement;
|
|
6733
6734
|
}
|
|
@@ -6747,6 +6748,21 @@ class FRectPatternComponent {
|
|
|
6747
6748
|
this._hSize = value;
|
|
6748
6749
|
this._stateChanges.next();
|
|
6749
6750
|
}
|
|
6751
|
+
constructor(elementReference, fBrowser) {
|
|
6752
|
+
this.elementReference = elementReference;
|
|
6753
|
+
this.fBrowser = fBrowser;
|
|
6754
|
+
this._subscription$ = new Subscription();
|
|
6755
|
+
this._stateChanges = new Subject();
|
|
6756
|
+
this.id = `f-pattern-${uniqueId$2++}`;
|
|
6757
|
+
this._vColor = 'rgba(0,0,0,0.1)';
|
|
6758
|
+
this._hColor = 'rgba(0,0,0,0.1)';
|
|
6759
|
+
this._vSize = 20;
|
|
6760
|
+
this._hSize = 20;
|
|
6761
|
+
this._transform = TransformModelExtensions.default();
|
|
6762
|
+
this._position = PointExtensions.initialize();
|
|
6763
|
+
this._size = SizeExtensions.initialize(this._hSize, this._vSize);
|
|
6764
|
+
this.createPattern();
|
|
6765
|
+
}
|
|
6750
6766
|
createPattern() {
|
|
6751
6767
|
this._pattern = createSVGElement('pattern', this.fBrowser);
|
|
6752
6768
|
this._pattern.setAttribute('patternUnits', 'userSpaceOnUse');
|
|
@@ -6795,12 +6811,12 @@ class FRectPatternComponent {
|
|
|
6795
6811
|
ngOnDestroy() {
|
|
6796
6812
|
this._subscription$.unsubscribe();
|
|
6797
6813
|
}
|
|
6814
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FRectPatternComponent, deps: [{ token: i0.ElementRef }, { token: i1.BrowserService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6815
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FRectPatternComponent, selector: "f-rect-pattern", inputs: { id: "id", vColor: "vColor", hColor: "hColor", vSize: "vSize", hSize: "hSize" }, host: { properties: { "attr.id": "id" } }, providers: [
|
|
6816
|
+
{ provide: F_BACKGROUND_PATTERN, useExisting: FRectPatternComponent }
|
|
6817
|
+
], ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
6798
6818
|
}
|
|
6799
|
-
|
|
6800
|
-
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: [
|
|
6801
|
-
{ provide: F_BACKGROUND_PATTERN, useExisting: FRectPatternComponent }
|
|
6802
|
-
], ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
6803
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FRectPatternComponent, decorators: [{
|
|
6819
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FRectPatternComponent, decorators: [{
|
|
6804
6820
|
type: Component,
|
|
6805
6821
|
args: [{
|
|
6806
6822
|
selector: "f-rect-pattern",
|
|
@@ -6827,6 +6843,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
6827
6843
|
|
|
6828
6844
|
let uniqueId$1 = 0;
|
|
6829
6845
|
class FCirclePatternComponent {
|
|
6846
|
+
get hostElement() {
|
|
6847
|
+
return this.elementReference.nativeElement;
|
|
6848
|
+
}
|
|
6849
|
+
set color(value) {
|
|
6850
|
+
this._color = value;
|
|
6851
|
+
this._stateChanges.next();
|
|
6852
|
+
}
|
|
6853
|
+
set radius(value) {
|
|
6854
|
+
this._radius = value;
|
|
6855
|
+
this._stateChanges.next();
|
|
6856
|
+
}
|
|
6830
6857
|
constructor(elementReference, fBrowser) {
|
|
6831
6858
|
this.elementReference = elementReference;
|
|
6832
6859
|
this.fBrowser = fBrowser;
|
|
@@ -6840,17 +6867,6 @@ class FCirclePatternComponent {
|
|
|
6840
6867
|
this._position = PointExtensions.initialize();
|
|
6841
6868
|
this.createPattern();
|
|
6842
6869
|
}
|
|
6843
|
-
get hostElement() {
|
|
6844
|
-
return this.elementReference.nativeElement;
|
|
6845
|
-
}
|
|
6846
|
-
set color(value) {
|
|
6847
|
-
this._color = value;
|
|
6848
|
-
this._stateChanges.next();
|
|
6849
|
-
}
|
|
6850
|
-
set radius(value) {
|
|
6851
|
-
this._radius = value;
|
|
6852
|
-
this._stateChanges.next();
|
|
6853
|
-
}
|
|
6854
6870
|
createPattern() {
|
|
6855
6871
|
this._pattern = createSVGElement('pattern', this.fBrowser);
|
|
6856
6872
|
this._pattern.setAttribute('patternUnits', 'userSpaceOnUse');
|
|
@@ -6895,12 +6911,12 @@ class FCirclePatternComponent {
|
|
|
6895
6911
|
ngOnDestroy() {
|
|
6896
6912
|
this._subscription$.unsubscribe();
|
|
6897
6913
|
}
|
|
6914
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FCirclePatternComponent, deps: [{ token: i0.ElementRef }, { token: i1.BrowserService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6915
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FCirclePatternComponent, selector: "f-circle-pattern", inputs: { id: "id", color: "color", radius: "radius" }, host: { properties: { "attr.id": "id" } }, providers: [
|
|
6916
|
+
{ provide: F_BACKGROUND_PATTERN, useExisting: FCirclePatternComponent }
|
|
6917
|
+
], ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
6898
6918
|
}
|
|
6899
|
-
|
|
6900
|
-
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: [
|
|
6901
|
-
{ provide: F_BACKGROUND_PATTERN, useExisting: FCirclePatternComponent }
|
|
6902
|
-
], ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
6903
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FCirclePatternComponent, decorators: [{
|
|
6919
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FCirclePatternComponent, decorators: [{
|
|
6904
6920
|
type: Component,
|
|
6905
6921
|
args: [{
|
|
6906
6922
|
selector: "f-circle-pattern",
|
|
@@ -6923,23 +6939,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
6923
6939
|
|
|
6924
6940
|
const F_BACKGROUND = new InjectionToken('F_BACKGROUND');
|
|
6925
6941
|
class FBackgroundBase {
|
|
6942
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FBackgroundBase, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6943
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: FBackgroundBase, ngImport: i0 }); }
|
|
6926
6944
|
}
|
|
6927
|
-
|
|
6928
|
-
FBackgroundBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FBackgroundBase, ngImport: i0 });
|
|
6929
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FBackgroundBase, decorators: [{
|
|
6945
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FBackgroundBase, decorators: [{
|
|
6930
6946
|
type: Directive
|
|
6931
6947
|
}] });
|
|
6932
6948
|
|
|
6933
6949
|
class FBackgroundComponent extends FBackgroundBase {
|
|
6950
|
+
get hostElement() {
|
|
6951
|
+
return this.elementReference.nativeElement;
|
|
6952
|
+
}
|
|
6934
6953
|
constructor(elementReference, fComponentsStore, fMediator) {
|
|
6935
6954
|
super();
|
|
6936
6955
|
this.elementReference = elementReference;
|
|
6937
6956
|
this.fComponentsStore = fComponentsStore;
|
|
6938
6957
|
this.fMediator = fMediator;
|
|
6939
6958
|
}
|
|
6940
|
-
get hostElement() {
|
|
6941
|
-
return this.elementReference.nativeElement;
|
|
6942
|
-
}
|
|
6943
6959
|
ngOnInit() {
|
|
6944
6960
|
this.fComponentsStore.fBackground = this;
|
|
6945
6961
|
}
|
|
@@ -6955,10 +6971,10 @@ class FBackgroundComponent extends FBackgroundBase {
|
|
|
6955
6971
|
ngOnDestroy() {
|
|
6956
6972
|
this.fComponentsStore.fBackground = undefined;
|
|
6957
6973
|
}
|
|
6974
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FBackgroundComponent, deps: [{ token: i0.ElementRef }, { token: FComponentsStore }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6975
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", 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 }); }
|
|
6958
6976
|
}
|
|
6959
|
-
|
|
6960
|
-
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 });
|
|
6961
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FBackgroundComponent, decorators: [{
|
|
6977
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FBackgroundComponent, decorators: [{
|
|
6962
6978
|
type: Component,
|
|
6963
6979
|
args: [{ selector: "f-background", template: "<svg><ng-content></ng-content></svg>", host: {
|
|
6964
6980
|
'class': 'f-component f-background'
|
|
@@ -6995,21 +7011,14 @@ class FCanvasBase {
|
|
|
6995
7011
|
emitCanvasChangeEvent() {
|
|
6996
7012
|
this.fCanvasChange.emit(new FCanvasChangeEvent(PointExtensions.sum(this.transform.position, this.transform.scaledPosition), this.transform.scale));
|
|
6997
7013
|
}
|
|
7014
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FCanvasBase, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
7015
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: FCanvasBase, ngImport: i0 }); }
|
|
6998
7016
|
}
|
|
6999
|
-
|
|
7000
|
-
FCanvasBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FCanvasBase, ngImport: i0 });
|
|
7001
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FCanvasBase, decorators: [{
|
|
7017
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FCanvasBase, decorators: [{
|
|
7002
7018
|
type: Directive
|
|
7003
7019
|
}] });
|
|
7004
7020
|
|
|
7005
7021
|
class FCanvasComponent extends FCanvasBase {
|
|
7006
|
-
constructor(elementReference, fMediator, fComponentsStore) {
|
|
7007
|
-
super();
|
|
7008
|
-
this.elementReference = elementReference;
|
|
7009
|
-
this.fMediator = fMediator;
|
|
7010
|
-
this.fComponentsStore = fComponentsStore;
|
|
7011
|
-
this.fCanvasChange = new EventEmitter();
|
|
7012
|
-
}
|
|
7013
7022
|
set position(value) {
|
|
7014
7023
|
this.fMediator.send(new InputCanvasPositionRequest(this.transform, value));
|
|
7015
7024
|
}
|
|
@@ -7022,6 +7031,13 @@ class FCanvasComponent extends FCanvasBase {
|
|
|
7022
7031
|
get hostElement() {
|
|
7023
7032
|
return this.elementReference.nativeElement;
|
|
7024
7033
|
}
|
|
7034
|
+
constructor(elementReference, fMediator, fComponentsStore) {
|
|
7035
|
+
super();
|
|
7036
|
+
this.elementReference = elementReference;
|
|
7037
|
+
this.fMediator = fMediator;
|
|
7038
|
+
this.fComponentsStore = fComponentsStore;
|
|
7039
|
+
this.fCanvasChange = new EventEmitter();
|
|
7040
|
+
}
|
|
7025
7041
|
ngOnInit() {
|
|
7026
7042
|
this.fComponentsStore.fCanvas = this;
|
|
7027
7043
|
}
|
|
@@ -7052,12 +7068,12 @@ class FCanvasComponent extends FCanvasBase {
|
|
|
7052
7068
|
resetZoom() {
|
|
7053
7069
|
this.fMediator.send(new ResetScaleRequest());
|
|
7054
7070
|
}
|
|
7071
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FCanvasComponent, deps: [{ token: i0.ElementRef }, { token: i2.FMediator }, { token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7072
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FCanvasComponent, selector: "f-canvas", inputs: { position: "position", scale: "scale" }, outputs: { fCanvasChange: "fCanvasChange" }, host: { classAttribute: "f-component f-canvas" }, providers: [
|
|
7073
|
+
{ provide: F_CANVAS, useExisting: FCanvasComponent }
|
|
7074
|
+
], 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 }); }
|
|
7055
7075
|
}
|
|
7056
|
-
|
|
7057
|
-
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: [
|
|
7058
|
-
{ provide: F_CANVAS, useExisting: FCanvasComponent }
|
|
7059
|
-
], 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 });
|
|
7060
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FCanvasComponent, decorators: [{
|
|
7076
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FCanvasComponent, decorators: [{
|
|
7061
7077
|
type: Component,
|
|
7062
7078
|
args: [{ selector: 'f-canvas', exportAs: 'fComponent', host: {
|
|
7063
7079
|
'class': 'f-component f-canvas',
|
|
@@ -7244,14 +7260,23 @@ class NearestCoordinateFinder {
|
|
|
7244
7260
|
|
|
7245
7261
|
const F_LINE_ALIGNMENT = new InjectionToken('F_LINE_ALIGNMENT');
|
|
7246
7262
|
class FLineAlignmentBase {
|
|
7263
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FLineAlignmentBase, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
7264
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: FLineAlignmentBase, ngImport: i0 }); }
|
|
7247
7265
|
}
|
|
7248
|
-
|
|
7249
|
-
FLineAlignmentBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FLineAlignmentBase, ngImport: i0 });
|
|
7250
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FLineAlignmentBase, decorators: [{
|
|
7266
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FLineAlignmentBase, decorators: [{
|
|
7251
7267
|
type: Directive
|
|
7252
7268
|
}] });
|
|
7253
7269
|
|
|
7254
7270
|
class FLineAlignmentComponent extends FLineAlignmentBase {
|
|
7271
|
+
get hostElement() {
|
|
7272
|
+
return this.elementReference.nativeElement;
|
|
7273
|
+
}
|
|
7274
|
+
get transform() {
|
|
7275
|
+
return this.fComponentsStore.fCanvas.transform;
|
|
7276
|
+
}
|
|
7277
|
+
get flowHost() {
|
|
7278
|
+
return this.fComponentsStore.fFlow.hostElement;
|
|
7279
|
+
}
|
|
7255
7280
|
constructor(elementReference, fComponentsStore, fDraggableDataContext, fMediator, fBrowser) {
|
|
7256
7281
|
super();
|
|
7257
7282
|
this.elementReference = elementReference;
|
|
@@ -7264,15 +7289,6 @@ class FLineAlignmentComponent extends FLineAlignmentBase {
|
|
|
7264
7289
|
this.rects = [];
|
|
7265
7290
|
this.lineService = new LineService(fBrowser, this.hostElement);
|
|
7266
7291
|
}
|
|
7267
|
-
get hostElement() {
|
|
7268
|
-
return this.elementReference.nativeElement;
|
|
7269
|
-
}
|
|
7270
|
-
get transform() {
|
|
7271
|
-
return this.fComponentsStore.fCanvas.transform;
|
|
7272
|
-
}
|
|
7273
|
-
get flowHost() {
|
|
7274
|
-
return this.fComponentsStore.fFlow.hostElement;
|
|
7275
|
-
}
|
|
7276
7292
|
ngOnInit() {
|
|
7277
7293
|
this.fDraggableDataContext.fLineAlignment = this;
|
|
7278
7294
|
}
|
|
@@ -7317,12 +7333,12 @@ class FLineAlignmentComponent extends FLineAlignmentBase {
|
|
|
7317
7333
|
this.lineService.hideVerticalLine();
|
|
7318
7334
|
this.lineService.hideHorizontalLine();
|
|
7319
7335
|
}
|
|
7336
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FLineAlignmentComponent, deps: [{ token: i0.ElementRef }, { token: FComponentsStore }, { token: FDraggableDataContext }, { token: i2.FMediator }, { token: i1.BrowserService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7337
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FLineAlignmentComponent, selector: "f-line-alignment", inputs: { fAlignThreshold: "fAlignThreshold" }, host: { classAttribute: "f-line-alignment f-component" }, providers: [
|
|
7338
|
+
{ provide: F_LINE_ALIGNMENT, useExisting: FLineAlignmentComponent }
|
|
7339
|
+
], 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"] }); }
|
|
7320
7340
|
}
|
|
7321
|
-
|
|
7322
|
-
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: [
|
|
7323
|
-
{ provide: F_LINE_ALIGNMENT, useExisting: FLineAlignmentComponent }
|
|
7324
|
-
], 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"] });
|
|
7325
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FLineAlignmentComponent, decorators: [{
|
|
7341
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FLineAlignmentComponent, decorators: [{
|
|
7326
7342
|
type: Component,
|
|
7327
7343
|
args: [{ selector: "f-line-alignment", template: "", exportAs: "fComponent", host: {
|
|
7328
7344
|
'class': 'f-line-alignment f-component'
|
|
@@ -7338,6 +7354,12 @@ const F_LINE_ALIGNMENT_PROVIDERS = [
|
|
|
7338
7354
|
];
|
|
7339
7355
|
|
|
7340
7356
|
class FMinimapFlowDirective {
|
|
7357
|
+
get flowHost() {
|
|
7358
|
+
return this.fComponentsStore.flowHost;
|
|
7359
|
+
}
|
|
7360
|
+
get hostElement() {
|
|
7361
|
+
return this.elementReference.nativeElement;
|
|
7362
|
+
}
|
|
7341
7363
|
constructor(elementReference, fMediator, fComponentsStore) {
|
|
7342
7364
|
this.elementReference = elementReference;
|
|
7343
7365
|
this.fMediator = fMediator;
|
|
@@ -7345,12 +7367,6 @@ class FMinimapFlowDirective {
|
|
|
7345
7367
|
this.fMinSize = 1000;
|
|
7346
7368
|
this.model = new FMinimapData(this.hostElement);
|
|
7347
7369
|
}
|
|
7348
|
-
get flowHost() {
|
|
7349
|
-
return this.fComponentsStore.flowHost;
|
|
7350
|
-
}
|
|
7351
|
-
get hostElement() {
|
|
7352
|
-
return this.elementReference.nativeElement;
|
|
7353
|
-
}
|
|
7354
7370
|
update() {
|
|
7355
7371
|
const nodesRect = this.getProcessedNodesRect();
|
|
7356
7372
|
const minimapRect = this.getMinimapRect();
|
|
@@ -7394,10 +7410,10 @@ class FMinimapFlowDirective {
|
|
|
7394
7410
|
viewBox = checkRectIsFinite(viewBox);
|
|
7395
7411
|
this.hostElement.setAttribute('viewBox', `${viewBox.x} ${viewBox.y} ${viewBox.width} ${viewBox.height}`);
|
|
7396
7412
|
}
|
|
7413
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FMinimapFlowDirective, deps: [{ token: i0.ElementRef }, { token: i2.FMediator }, { token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
7414
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: FMinimapFlowDirective, selector: "svg[fMinimapFlow]", inputs: { fMinSize: "fMinSize" }, ngImport: i0 }); }
|
|
7397
7415
|
}
|
|
7398
|
-
|
|
7399
|
-
FMinimapFlowDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FMinimapFlowDirective, selector: "svg[fMinimapFlow]", inputs: { fMinSize: "fMinSize" }, ngImport: i0 });
|
|
7400
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FMinimapFlowDirective, decorators: [{
|
|
7416
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FMinimapFlowDirective, decorators: [{
|
|
7401
7417
|
type: Directive,
|
|
7402
7418
|
args: [{
|
|
7403
7419
|
selector: 'svg[fMinimapFlow]'
|
|
@@ -7407,11 +7423,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
7407
7423
|
}] } });
|
|
7408
7424
|
|
|
7409
7425
|
class FMinimapCanvasDirective {
|
|
7410
|
-
constructor(elementReference, fComponentsStore, fBrowser) {
|
|
7411
|
-
this.elementReference = elementReference;
|
|
7412
|
-
this.fComponentsStore = fComponentsStore;
|
|
7413
|
-
this.fBrowser = fBrowser;
|
|
7414
|
-
}
|
|
7415
7426
|
get hostElement() {
|
|
7416
7427
|
return this.elementReference.nativeElement;
|
|
7417
7428
|
}
|
|
@@ -7421,6 +7432,11 @@ class FMinimapCanvasDirective {
|
|
|
7421
7432
|
get flowScale() {
|
|
7422
7433
|
return this.fComponentsStore.transform.scale;
|
|
7423
7434
|
}
|
|
7435
|
+
constructor(elementReference, fComponentsStore, fBrowser) {
|
|
7436
|
+
this.elementReference = elementReference;
|
|
7437
|
+
this.fComponentsStore = fComponentsStore;
|
|
7438
|
+
this.fBrowser = fBrowser;
|
|
7439
|
+
}
|
|
7424
7440
|
redraw() {
|
|
7425
7441
|
this.clearCanvas();
|
|
7426
7442
|
this.fComponentsStore.fNodes.forEach((x) => this.renderNode(x));
|
|
@@ -7454,10 +7470,10 @@ class FMinimapCanvasDirective {
|
|
|
7454
7470
|
element.classList.add('f-selected');
|
|
7455
7471
|
}
|
|
7456
7472
|
}
|
|
7473
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FMinimapCanvasDirective, deps: [{ token: i0.ElementRef }, { token: FComponentsStore }, { token: i1.BrowserService }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
7474
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: FMinimapCanvasDirective, selector: "g[fMinimapCanvas]", ngImport: i0 }); }
|
|
7457
7475
|
}
|
|
7458
|
-
|
|
7459
|
-
FMinimapCanvasDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FMinimapCanvasDirective, selector: "g[fMinimapCanvas]", ngImport: i0 });
|
|
7460
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FMinimapCanvasDirective, decorators: [{
|
|
7476
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FMinimapCanvasDirective, decorators: [{
|
|
7461
7477
|
type: Directive,
|
|
7462
7478
|
args: [{
|
|
7463
7479
|
selector: 'g[fMinimapCanvas]'
|
|
@@ -7465,16 +7481,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
7465
7481
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: FComponentsStore }, { type: i1.BrowserService }]; } });
|
|
7466
7482
|
|
|
7467
7483
|
class FMinimapViewDirective {
|
|
7468
|
-
constructor(elementReference, fComponentsStore) {
|
|
7469
|
-
this.elementReference = elementReference;
|
|
7470
|
-
this.fComponentsStore = fComponentsStore;
|
|
7471
|
-
}
|
|
7472
7484
|
get hostElement() {
|
|
7473
7485
|
return this.elementReference.nativeElement;
|
|
7474
7486
|
}
|
|
7475
7487
|
get flowScale() {
|
|
7476
7488
|
return this.fComponentsStore.transform.scale;
|
|
7477
7489
|
}
|
|
7490
|
+
constructor(elementReference, fComponentsStore) {
|
|
7491
|
+
this.elementReference = elementReference;
|
|
7492
|
+
this.fComponentsStore = fComponentsStore;
|
|
7493
|
+
}
|
|
7478
7494
|
update() {
|
|
7479
7495
|
const viewBox = RectExtensions.div(RectExtensions.fromElement(this.fComponentsStore.flowHost), this.flowScale);
|
|
7480
7496
|
this.setAttributes(viewBox);
|
|
@@ -7486,10 +7502,10 @@ class FMinimapViewDirective {
|
|
|
7486
7502
|
this.hostElement.setAttribute('width', viewBox.width.toString());
|
|
7487
7503
|
this.hostElement.setAttribute('height', viewBox.height.toString());
|
|
7488
7504
|
}
|
|
7505
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FMinimapViewDirective, deps: [{ token: i0.ElementRef }, { token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
7506
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: FMinimapViewDirective, selector: "rect[fMinimapView]", host: { classAttribute: "f-component f-minimap-view" }, ngImport: i0 }); }
|
|
7489
7507
|
}
|
|
7490
|
-
|
|
7491
|
-
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 });
|
|
7492
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FMinimapViewDirective, decorators: [{
|
|
7508
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FMinimapViewDirective, decorators: [{
|
|
7493
7509
|
type: Directive,
|
|
7494
7510
|
args: [{
|
|
7495
7511
|
selector: 'rect[fMinimapView]',
|
|
@@ -7528,12 +7544,12 @@ class FMinimapComponent {
|
|
|
7528
7544
|
ngOnDestroy() {
|
|
7529
7545
|
this.subscriptions$.unsubscribe();
|
|
7530
7546
|
}
|
|
7547
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FMinimapComponent, deps: [{ token: i0.ElementRef }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7548
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FMinimapComponent, selector: "f-minimap", inputs: { fMinSize: "fMinSize" }, host: { classAttribute: "f-component f-minimap" }, providers: [
|
|
7549
|
+
{ provide: F_DRAG_AND_DROP_PLUGIN, useExisting: FMinimapComponent },
|
|
7550
|
+
], 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 }); }
|
|
7531
7551
|
}
|
|
7532
|
-
|
|
7533
|
-
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: [
|
|
7534
|
-
{ provide: F_DRAG_AND_DROP_PLUGIN, useExisting: FMinimapComponent },
|
|
7535
|
-
], 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 });
|
|
7536
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FMinimapComponent, decorators: [{
|
|
7552
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FMinimapComponent, decorators: [{
|
|
7537
7553
|
type: Component,
|
|
7538
7554
|
args: [{ selector: 'f-minimap', exportAs: 'fComponent', host: {
|
|
7539
7555
|
'class': 'f-component f-minimap',
|
|
@@ -7566,6 +7582,9 @@ class FFlowBase {
|
|
|
7566
7582
|
|
|
7567
7583
|
let uniqueId = 0;
|
|
7568
7584
|
class FFlowComponent extends FFlowBase {
|
|
7585
|
+
get hostElement() {
|
|
7586
|
+
return this.elementReference.nativeElement;
|
|
7587
|
+
}
|
|
7569
7588
|
constructor(elementReference, fComponentsStore, fMediator, fBrowser) {
|
|
7570
7589
|
super();
|
|
7571
7590
|
this.elementReference = elementReference;
|
|
@@ -7577,9 +7596,6 @@ class FFlowComponent extends FFlowBase {
|
|
|
7577
7596
|
this.fLoaded = new EventEmitter();
|
|
7578
7597
|
this.isLoaded = false;
|
|
7579
7598
|
}
|
|
7580
|
-
get hostElement() {
|
|
7581
|
-
return this.elementReference.nativeElement;
|
|
7582
|
-
}
|
|
7583
7599
|
ngOnInit() {
|
|
7584
7600
|
this.fComponentsStore.fFlow = this;
|
|
7585
7601
|
}
|
|
@@ -7634,19 +7650,19 @@ class FFlowComponent extends FFlowBase {
|
|
|
7634
7650
|
ngOnDestroy() {
|
|
7635
7651
|
this.subscription$.unsubscribe();
|
|
7636
7652
|
}
|
|
7637
|
-
}
|
|
7638
|
-
|
|
7639
|
-
|
|
7640
|
-
|
|
7641
|
-
|
|
7642
|
-
|
|
7643
|
-
|
|
7644
|
-
|
|
7645
|
-
|
|
7646
|
-
|
|
7647
|
-
|
|
7648
|
-
|
|
7649
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7653
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FFlowComponent, deps: [{ token: i0.ElementRef }, { token: FComponentsStore }, { token: i2.FMediator }, { token: i1.BrowserService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7654
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FFlowComponent, selector: "f-flow", inputs: { fFlowId: "fFlowId" }, outputs: { fLoaded: "fLoaded" }, host: { properties: { "attr.id": "fFlowId" }, classAttribute: "f-component f-flow" }, providers: [
|
|
7655
|
+
FMediator,
|
|
7656
|
+
FComponentsStore,
|
|
7657
|
+
FTransformStore,
|
|
7658
|
+
FDraggableDataContext,
|
|
7659
|
+
FConnectionFactory,
|
|
7660
|
+
...COMMON_PROVIDERS,
|
|
7661
|
+
...F_DRAGGABLE_PROVIDERS,
|
|
7662
|
+
{ provide: F_FLOW, useExisting: FFlowComponent },
|
|
7663
|
+
], 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 }); }
|
|
7664
|
+
}
|
|
7665
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FFlowComponent, decorators: [{
|
|
7650
7666
|
type: Component,
|
|
7651
7667
|
args: [{ selector: 'f-flow', host: {
|
|
7652
7668
|
'[attr.id]': 'fFlowId',
|
|
@@ -7673,17 +7689,17 @@ const F_FLOW_PROVIDERS = [
|
|
|
7673
7689
|
|
|
7674
7690
|
const F_ZOOM = new InjectionToken('F_ZOOM');
|
|
7675
7691
|
class FZoomBase {
|
|
7676
|
-
constructor(fComponentsStore) {
|
|
7677
|
-
this.fComponentsStore = fComponentsStore;
|
|
7678
|
-
this.isEnabled = false;
|
|
7679
|
-
this.listeners = EventExtensions.emptyListener();
|
|
7680
|
-
}
|
|
7681
7692
|
get flowHost() {
|
|
7682
7693
|
return this.fComponentsStore.flowHost;
|
|
7683
7694
|
}
|
|
7684
7695
|
get fCanvas() {
|
|
7685
7696
|
return this.fComponentsStore.fCanvas;
|
|
7686
7697
|
}
|
|
7698
|
+
constructor(fComponentsStore) {
|
|
7699
|
+
this.fComponentsStore = fComponentsStore;
|
|
7700
|
+
this.isEnabled = false;
|
|
7701
|
+
this.listeners = EventExtensions.emptyListener();
|
|
7702
|
+
}
|
|
7687
7703
|
toggleZoom() {
|
|
7688
7704
|
if (this.isEnabled) {
|
|
7689
7705
|
this.subscribe();
|
|
@@ -7765,13 +7781,6 @@ class FZoomBase {
|
|
|
7765
7781
|
}
|
|
7766
7782
|
|
|
7767
7783
|
class FZoomDirective extends FZoomBase {
|
|
7768
|
-
constructor(fComponentsStore) {
|
|
7769
|
-
super(fComponentsStore);
|
|
7770
|
-
this.minimum = 0.1;
|
|
7771
|
-
this.maximum = 4;
|
|
7772
|
-
this.step = 0.1;
|
|
7773
|
-
this.dblClickStep = 0.5;
|
|
7774
|
-
}
|
|
7775
7784
|
get fFlowZoom() {
|
|
7776
7785
|
return this.isEnabled;
|
|
7777
7786
|
}
|
|
@@ -7782,16 +7791,23 @@ class FZoomDirective extends FZoomBase {
|
|
|
7782
7791
|
this.toggleZoom();
|
|
7783
7792
|
}
|
|
7784
7793
|
}
|
|
7794
|
+
constructor(fComponentsStore) {
|
|
7795
|
+
super(fComponentsStore);
|
|
7796
|
+
this.minimum = 0.1;
|
|
7797
|
+
this.maximum = 4;
|
|
7798
|
+
this.step = 0.1;
|
|
7799
|
+
this.dblClickStep = 0.5;
|
|
7800
|
+
}
|
|
7785
7801
|
ngAfterViewInit() {
|
|
7786
7802
|
super.toggleZoom();
|
|
7787
7803
|
}
|
|
7788
7804
|
ngOnDestroy() {
|
|
7789
7805
|
super.unsubscribe();
|
|
7790
7806
|
}
|
|
7807
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FZoomDirective, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
7808
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", 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 }); }
|
|
7791
7809
|
}
|
|
7792
|
-
|
|
7793
|
-
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 });
|
|
7794
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FZoomDirective, decorators: [{
|
|
7810
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FZoomDirective, decorators: [{
|
|
7795
7811
|
type: Directive,
|
|
7796
7812
|
args: [{
|
|
7797
7813
|
selector: "f-canvas[fZoom]",
|
|
@@ -7823,11 +7839,11 @@ const F_ZOOM_PROVIDERS = [
|
|
|
7823
7839
|
];
|
|
7824
7840
|
|
|
7825
7841
|
class FFlowModule {
|
|
7842
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FFlowModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
7843
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", 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] }); }
|
|
7844
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FFlowModule, imports: [CommonModule] }); }
|
|
7826
7845
|
}
|
|
7827
|
-
|
|
7828
|
-
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] });
|
|
7829
|
-
FFlowModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FFlowModule, imports: [CommonModule] });
|
|
7830
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FFlowModule, decorators: [{
|
|
7846
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FFlowModule, decorators: [{
|
|
7831
7847
|
type: NgModule,
|
|
7832
7848
|
args: [{
|
|
7833
7849
|
declarations: [
|