@foblex/flow 14.0.0 → 16.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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/esm2022/f-draggable/connections/create-connection/create-connection.drag-handler.mjs +61 -0
- 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/{esm2020 → esm2022}/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.mjs +4 -4
- 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/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 +30 -0
- package/esm2022/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.execution.mjs +40 -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/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/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-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 +841 -841
- package/{fesm2015 → fesm2022}/foblex-flow.mjs.map +1 -1
- 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/create-connection.drag-handler.mjs +0 -61
- 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/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/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/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/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/apply-child-resize-restrictions.request.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/i-node-resize-restrictions.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/get-normalized-children-nodes-rect.request.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/node-resize.drag-handler.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
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { EventExtensions } from '@foblex/drag-toolkit';
|
|
2
|
+
import { Point, RectExtensions } from '@foblex/2d';
|
|
3
|
+
import { InjectionToken } from '@angular/core';
|
|
4
|
+
import { isNode } from '../f-node';
|
|
5
|
+
export const F_ZOOM = new InjectionToken('F_ZOOM');
|
|
6
|
+
export class FZoomBase {
|
|
7
|
+
get flowHost() {
|
|
8
|
+
return this.fComponentsStore.flowHost;
|
|
9
|
+
}
|
|
10
|
+
get fCanvas() {
|
|
11
|
+
return this.fComponentsStore.fCanvas;
|
|
12
|
+
}
|
|
13
|
+
constructor(fComponentsStore) {
|
|
14
|
+
this.fComponentsStore = fComponentsStore;
|
|
15
|
+
this.isEnabled = false;
|
|
16
|
+
this.listeners = EventExtensions.emptyListener();
|
|
17
|
+
}
|
|
18
|
+
toggleZoom() {
|
|
19
|
+
if (this.isEnabled) {
|
|
20
|
+
this.subscribe();
|
|
21
|
+
}
|
|
22
|
+
else {
|
|
23
|
+
this.unsubscribe();
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
subscribe() {
|
|
27
|
+
this.listeners();
|
|
28
|
+
if (!this.flowHost) {
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
this.flowHost.addEventListener('wheel', this.onWheel.bind(this));
|
|
32
|
+
this.flowHost.addEventListener('dblclick', this.onDoubleClick.bind(this));
|
|
33
|
+
this.listeners = () => {
|
|
34
|
+
this.flowHost.removeEventListener('wheel', this.onWheel.bind(this));
|
|
35
|
+
this.flowHost.removeEventListener('dblclick', this.onDoubleClick.bind(this));
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
getScale() {
|
|
39
|
+
return this.fCanvas.transform.scale || 1;
|
|
40
|
+
}
|
|
41
|
+
onWheel(event) {
|
|
42
|
+
event.preventDefault();
|
|
43
|
+
const targetElement = event.target;
|
|
44
|
+
if (this.fComponentsStore.fDraggable?.isDragStarted || targetElement?.closest('[fLockedContext]')) {
|
|
45
|
+
return;
|
|
46
|
+
}
|
|
47
|
+
let result = this.getScale();
|
|
48
|
+
const direction = event.deltaY > 0 ? -1 : 1;
|
|
49
|
+
const step = this.step;
|
|
50
|
+
result = result + step * direction;
|
|
51
|
+
result = Math.max(this.minimum, Math.min(result, this.maximum));
|
|
52
|
+
const pointerPositionInFlow = new Point(event.clientX, event.clientY).elementTransform(this.flowHost);
|
|
53
|
+
this.fCanvas.setZoom(result, pointerPositionInFlow);
|
|
54
|
+
this.fCanvas.redraw();
|
|
55
|
+
this.fCanvas.emitCanvasChangeEvent();
|
|
56
|
+
}
|
|
57
|
+
onDoubleClick(event) {
|
|
58
|
+
event.preventDefault();
|
|
59
|
+
const targetElement = event.target;
|
|
60
|
+
if (this.fComponentsStore.fDraggable?.isDragStarted || isNode(targetElement) || targetElement?.closest('[fLockedContext]')) {
|
|
61
|
+
return;
|
|
62
|
+
}
|
|
63
|
+
let result = this.getScale();
|
|
64
|
+
const direction = 1;
|
|
65
|
+
const step = this.dblClickStep;
|
|
66
|
+
result = result + step * direction;
|
|
67
|
+
result = Math.max(this.minimum, Math.min(result, this.maximum));
|
|
68
|
+
const pointerPositionInFlow = new Point(event.clientX, event.clientY).elementTransform(this.flowHost);
|
|
69
|
+
this.fCanvas.setZoom(result, pointerPositionInFlow);
|
|
70
|
+
this.fCanvas.redrawWithAnimation();
|
|
71
|
+
this.fCanvas.emitCanvasChangeEvent();
|
|
72
|
+
}
|
|
73
|
+
onZoomToCenter(deltaY, position) {
|
|
74
|
+
const preventDefault = () => {
|
|
75
|
+
};
|
|
76
|
+
const rect = RectExtensions.fromElement(this.flowHost);
|
|
77
|
+
this.onWheel({
|
|
78
|
+
deltaY, preventDefault, clientX: position?.x || rect.gravityCenter.x, clientY: position?.y || rect.gravityCenter.y
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
zoomIn(position) {
|
|
82
|
+
this.onZoomToCenter(-1, position);
|
|
83
|
+
}
|
|
84
|
+
zoomOut(position) {
|
|
85
|
+
this.onZoomToCenter(1, position);
|
|
86
|
+
}
|
|
87
|
+
reset() {
|
|
88
|
+
this.fCanvas.resetZoom();
|
|
89
|
+
this.fCanvas.redraw();
|
|
90
|
+
this.fCanvas.emitCanvasChangeEvent();
|
|
91
|
+
}
|
|
92
|
+
unsubscribe() {
|
|
93
|
+
this.listeners();
|
|
94
|
+
this.listeners = EventExtensions.emptyListener();
|
|
95
|
+
}
|
|
96
|
+
}
|
|
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cy5mbG93SG9zdCk7XG5cbiAgICB0aGlzLm9uV2hlZWwoe1xuICAgICAgZGVsdGFZLCBwcmV2ZW50RGVmYXVsdCwgY2xpZW50WDogcG9zaXRpb24/LnggfHwgcmVjdC5ncmF2aXR5Q2VudGVyLngsIGNsaWVudFk6IHBvc2l0aW9uPy55IHx8IHJlY3QuZ3Jhdml0eUNlbnRlci55XG4gICAgfSBhcyBXaGVlbEV2ZW50KTtcbiAgfVxuXG4gIHB1YmxpYyB6b29tSW4ocG9zaXRpb24/OiBJUG9pbnQpOiB2b2lkIHtcbiAgICB0aGlzLm9uWm9vbVRvQ2VudGVyKC0xLCBwb3NpdGlvbik7XG4gIH1cblxuICBwdWJsaWMgem9vbU91dChwb3NpdGlvbj86IElQb2ludCk6IHZvaWQge1xuICAgIHRoaXMub25ab29tVG9DZW50ZXIoMSwgcG9zaXRpb24pO1xuICB9XG5cbiAgcHVibGljIHJlc2V0KCk6IHZvaWQge1xuICAgIHRoaXMuZkNhbnZhcy5yZXNldFpvb20oKTtcbiAgICB0aGlzLmZDYW52YXMucmVkcmF3KCk7XG4gICAgdGhpcy5mQ2FudmFzLmVtaXRDYW52YXNDaGFuZ2VFdmVudCgpO1xuICB9XG5cbiAgcHJvdGVjdGVkIHVuc3Vic2NyaWJlKCk6IHZvaWQge1xuICAgIHRoaXMubGlzdGVuZXJzKCk7XG4gICAgdGhpcy5saXN0ZW5lcnMgPSBFdmVudEV4dGVuc2lvbnMuZW1wdHlMaXN0ZW5lcigpO1xuICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { Directive, Input } from "@angular/core";
|
|
2
|
+
import { F_ZOOM, FZoomBase } from './f-zoom-base';
|
|
3
|
+
import { castToBoolean } from '@foblex/utils';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "../f-storage";
|
|
6
|
+
export class FZoomDirective extends FZoomBase {
|
|
7
|
+
get fFlowZoom() {
|
|
8
|
+
return this.isEnabled;
|
|
9
|
+
}
|
|
10
|
+
set fFlowZoom(isEnabled) {
|
|
11
|
+
const value = castToBoolean(isEnabled);
|
|
12
|
+
if (value !== this.isEnabled) {
|
|
13
|
+
this.isEnabled = value;
|
|
14
|
+
this.toggleZoom();
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
constructor(fComponentsStore) {
|
|
18
|
+
super(fComponentsStore);
|
|
19
|
+
this.minimum = 0.1;
|
|
20
|
+
this.maximum = 4;
|
|
21
|
+
this.step = 0.1;
|
|
22
|
+
this.dblClickStep = 0.5;
|
|
23
|
+
}
|
|
24
|
+
ngAfterViewInit() {
|
|
25
|
+
super.toggleZoom();
|
|
26
|
+
}
|
|
27
|
+
ngOnDestroy() {
|
|
28
|
+
super.unsubscribe();
|
|
29
|
+
}
|
|
30
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FZoomDirective, deps: [{ token: i1.FComponentsStore }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
31
|
+
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 }); }
|
|
32
|
+
}
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FZoomDirective, decorators: [{
|
|
34
|
+
type: Directive,
|
|
35
|
+
args: [{
|
|
36
|
+
selector: "f-canvas[fZoom]",
|
|
37
|
+
exportAs: 'fComponent',
|
|
38
|
+
host: {
|
|
39
|
+
'class': 'f-zoom f-component'
|
|
40
|
+
},
|
|
41
|
+
providers: [{ provide: F_ZOOM, useExisting: FZoomDirective }],
|
|
42
|
+
}]
|
|
43
|
+
}], ctorParameters: function () { return [{ type: i1.FComponentsStore }]; }, propDecorators: { fFlowZoom: [{
|
|
44
|
+
type: Input,
|
|
45
|
+
args: ['fZoom']
|
|
46
|
+
}], minimum: [{
|
|
47
|
+
type: Input,
|
|
48
|
+
args: ['fZoomMinimum']
|
|
49
|
+
}], maximum: [{
|
|
50
|
+
type: Input,
|
|
51
|
+
args: ['fZoomMaximum']
|
|
52
|
+
}], step: [{
|
|
53
|
+
type: Input,
|
|
54
|
+
args: ['fZoomStep']
|
|
55
|
+
}], dblClickStep: [{
|
|
56
|
+
type: Input,
|
|
57
|
+
args: ['fZoomDblClickStep']
|
|
58
|
+
}] } });
|
|
59
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi16b29tLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi16b29tL2Ytem9vbS5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUVMLFNBQVMsRUFBRSxLQUFLLEVBQ2pCLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBRSxNQUFNLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRWxELE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSxlQUFlLENBQUM7OztBQVU5QyxNQUFNLE9BQU8sY0FBZSxTQUFRLFNBQVM7SUFFM0MsSUFDVyxTQUFTO1FBQ2xCLE9BQU8sSUFBSSxDQUFDLFNBQVMsQ0FBQztJQUN4QixDQUFDO0lBRUQsSUFBVyxTQUFTLENBQUMsU0FBdUM7UUFDMUQsTUFBTSxLQUFLLEdBQU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sdWUgPSBjYXN0VG9Cb29sZWFuKGlzRW5hYmxlZCk7XG4gICAgaWYgKHZhbHVlICE9PSB0aGlzLmlzRW5hYmxlZCkge1xuICAgICAgdGhpcy5pc0VuYWJsZWQgPSB2YWx1ZTtcbiAgICAgIHRoaXMudG9nZ2xlWm9vbSgpO1xuICAgIH1cbiAgfVxuXG4gIEBJbnB1dCgnZlpvb21NaW5pbXVtJylcbiAgcHVibGljIG92ZXJyaWRlIG1pbmltdW06IG51bWJlciA9IDAuMTtcblxuICBASW5wdXQoJ2Zab29tTWF4aW11bScpXG4gIHB1YmxpYyBvdmVycmlkZSBtYXhpbXVtOiBudW1iZXIgPSA0O1xuXG4gIEBJbnB1dCgnZlpvb21TdGVwJylcbiAgcHVibGljIG92ZXJyaWRlIHN0ZXA6IG51bWJlciA9IDAuMTtcblxuICBASW5wdXQoJ2Zab29tRGJsQ2xpY2tTdGVwJylcbiAgcHVibGljIG92ZXJyaWRlIGRibENsaWNrU3RlcDogbnVtYmVyID0gMC41O1xuXG4gIGNvbnN0cnVjdG9yKFxuICAgICAgZkNvbXBvbmVudHNTdG9yZTogRkNvbXBvbmVudHNTdG9yZSxcbiAgKSB7XG4gICAgc3VwZXIoZkNvbXBvbmVudHNTdG9yZSk7XG4gIH1cblxuICBwdWJsaWMgbmdBZnRlclZpZXdJbml0KCk6IHZvaWQge1xuICAgIHN1cGVyLnRvZ2dsZVpvb20oKTtcbiAgfVxuXG4gIHB1YmxpYyBuZ09uRGVzdHJveSgpOiB2b2lkIHtcbiAgICBzdXBlci51bnN1YnNjcmliZSgpO1xuICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export const F_SELECTED_CLASS = 'f-selected';
|
|
2
|
+
export function mixinChangeSelection(base) {
|
|
3
|
+
return class extends base {
|
|
4
|
+
deselect() {
|
|
5
|
+
this.deselectChild?.();
|
|
6
|
+
this.hostElement.classList.remove(F_SELECTED_CLASS);
|
|
7
|
+
}
|
|
8
|
+
select() {
|
|
9
|
+
this.selectChild?.();
|
|
10
|
+
if (!this.isSelected()) {
|
|
11
|
+
this.hostElement.classList.add(F_SELECTED_CLASS);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
isSelected() {
|
|
15
|
+
return this.hostElement.classList.contains(F_SELECTED_CLASS);
|
|
16
|
+
}
|
|
17
|
+
selectChild() {
|
|
18
|
+
}
|
|
19
|
+
deselectChild() {
|
|
20
|
+
}
|
|
21
|
+
constructor(...args) {
|
|
22
|
+
super(...args);
|
|
23
|
+
this.fId = '';
|
|
24
|
+
this.fSelectionDisabled = false;
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhbmdlLXNlbGVjdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvbWl4aW5zL2NoYW5nZS1zZWxlY3Rpb24vY2hhbmdlLXNlbGVjdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFJQSxNQUFNLENBQUMsTUFBTSxnQkFBZ0IsR0FBRyxZQUFZLENBQUM7QUFLN0MsTUFBTSxVQUFVLG9CQUFvQixDQUF5QyxJQUFPO0lBQ2xGLE9BQU8sS0FBTSxTQUFRLElBQUk7UUFNaEIsUUFBUTtZQUNiLElBQUksQ0FBQyxhQUFhLEVBQUUsRUFBRSxDQUFDO1lBQ3ZCLElBQUksQ0FBQyxXQUFXLENBQUMsU0FBUyxDQUFDLE1BQU0sQ0FBQyxnQkFBZ0IsQ0FBQyxDQUFDO1FBQ3RELENBQUM7UUFFTSxNQUFNO1lBQ1gsSUFBSSxDQUFDLFdBQVcsRUFBRSxFQUFFLENBQUM7WUFDckIsSUFBSSxDQUFDLElBQUksQ0FBQyxVQUFVLEVBQUUsRUFBRTtnQkFDdEIsS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xkKCk6IHZvaWQge1xuICAgIH1cblxuICAgIGNvbnN0cnVjdG9yKC4uLmFyZ3M6IGFueVtdKSB7XG4gICAgICBzdXBlciguLi5hcmdzKTtcbiAgICB9XG4gIH07XG59XG4iXX0=
|
|
@@ -8,5 +8,5 @@ export declare abstract class FBackgroundBase implements IHasHostElement {
|
|
|
8
8
|
abstract isBackgroundElement(element: HTMLElement | SVGElement): boolean;
|
|
9
9
|
abstract setTransform(transform: ITransformModel): void;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<FBackgroundBase, never>;
|
|
11
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FBackgroundBase, never, never, {}, {}, never, never, false>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FBackgroundBase, never, never, {}, {}, never, never, false, never>;
|
|
12
12
|
}
|
|
@@ -18,5 +18,5 @@ export declare class FBackgroundComponent extends FBackgroundBase implements OnI
|
|
|
18
18
|
setTransform(transform: ITransformModel): void;
|
|
19
19
|
ngOnDestroy(): void;
|
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<FBackgroundComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FBackgroundComponent, "f-background", never, {}, {}, ["fBackgroundPattern"], ["*"], false>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FBackgroundComponent, "f-background", never, {}, {}, ["fBackgroundPattern"], ["*"], false, never>;
|
|
22
22
|
}
|
|
@@ -30,5 +30,5 @@ export declare class FCirclePatternComponent implements OnInit, OnDestroy, IFBac
|
|
|
30
30
|
setTransform(transform: ITransformModel): void;
|
|
31
31
|
ngOnDestroy(): void;
|
|
32
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<FCirclePatternComponent, never>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FCirclePatternComponent, "f-circle-pattern", never, { "id": "id"; "color": "color"; "radius": "radius"; }, {}, never, never, false>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FCirclePatternComponent, "f-circle-pattern", never, { "id": { "alias": "id"; "required": false; }; "color": { "alias": "color"; "required": false; }; "radius": { "alias": "radius"; "required": false; }; }, {}, never, never, false, never>;
|
|
34
34
|
}
|
|
@@ -35,5 +35,5 @@ export declare class FRectPatternComponent implements OnInit, OnDestroy, IFBackg
|
|
|
35
35
|
setTransform(transform: ITransformModel): void;
|
|
36
36
|
ngOnDestroy(): void;
|
|
37
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<FRectPatternComponent, never>;
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FRectPatternComponent, "f-rect-pattern", never, { "id": "id"; "vColor": "vColor"; "hColor": "hColor"; "vSize": "vSize"; "hSize": "hSize"; }, {}, never, never, false>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FRectPatternComponent, "f-rect-pattern", never, { "id": { "alias": "id"; "required": false; }; "vColor": { "alias": "vColor"; "required": false; }; "hColor": { "alias": "hColor"; "required": false; }; "vSize": { "alias": "vSize"; "required": false; }; "hSize": { "alias": "hSize"; "required": false; }; }, {}, never, never, false, never>;
|
|
39
39
|
}
|
|
@@ -21,5 +21,5 @@ export declare abstract class FCanvasBase implements IHasHostElement {
|
|
|
21
21
|
abstract resetZoom(): void;
|
|
22
22
|
emitCanvasChangeEvent(): void;
|
|
23
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<FCanvasBase, never>;
|
|
24
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FCanvasBase, never, never, {}, {}, never, never, false>;
|
|
24
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FCanvasBase, never, never, {}, {}, never, never, false, never>;
|
|
25
25
|
}
|
|
@@ -28,5 +28,5 @@ export declare class FCanvasComponent extends FCanvasBase implements OnInit {
|
|
|
28
28
|
setZoom(scale: number, toPosition?: IPoint): void;
|
|
29
29
|
resetZoom(): void;
|
|
30
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<FCanvasComponent, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FCanvasComponent, "f-canvas", ["fComponent"], { "position": "position"; "scale": "scale"; }, { "fCanvasChange": "fCanvasChange"; }, never, ["[fGroup]", "f-snap-connection", "f-connection", "f-connection-for-create", "[fNode]"], false>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FCanvasComponent, "f-canvas", ["fComponent"], { "position": { "alias": "position"; "required": false; }; "scale": { "alias": "scale"; "required": false; }; }, { "fCanvasChange": "fCanvasChange"; }, never, ["[fGroup]", "f-snap-connection", "f-connection", "f-connection-for-create", "[fNode]"], false, never>;
|
|
32
32
|
}
|
|
@@ -58,6 +58,6 @@ export declare abstract class FConnectionBase extends MIXIN_BASE implements IHas
|
|
|
58
58
|
deselectChild(): void;
|
|
59
59
|
redraw(): void;
|
|
60
60
|
static ɵfac: i0.ɵɵFactoryDeclaration<FConnectionBase, never>;
|
|
61
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FConnectionBase, never, never, {}, {}, never, never, false>;
|
|
61
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FConnectionBase, never, never, {}, {}, never, never, false, never>;
|
|
62
62
|
}
|
|
63
63
|
export {};
|
|
@@ -18,5 +18,5 @@ export declare class FConnectionTextPathDirective implements IHasHostElement, On
|
|
|
18
18
|
private getFontStyles;
|
|
19
19
|
private getSymbolWidth;
|
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<FConnectionTextPathDirective, never>;
|
|
21
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FConnectionTextPathDirective, "textPath[f-connection-text-path]", never, {}, {}, never, never, false>;
|
|
21
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FConnectionTextPathDirective, "textPath[f-connection-text-path]", never, {}, {}, never, never, false, never>;
|
|
22
22
|
}
|
|
@@ -18,5 +18,5 @@ export declare class FConnectionTextComponent implements IConnectionText {
|
|
|
18
18
|
private static isTextReverse;
|
|
19
19
|
private static getTextStartOffset;
|
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<FConnectionTextComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FConnectionTextComponent, "text[f-connection-text]", never, {}, {}, never, never, false>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FConnectionTextComponent, "text[f-connection-text]", never, {}, {}, never, never, false, never>;
|
|
22
22
|
}
|
|
@@ -11,5 +11,5 @@ export declare class FConnectionDragHandleComponent implements IHasHostElement {
|
|
|
11
11
|
redraw(penultimatePoint: IPoint, endPoint: IPoint): void;
|
|
12
12
|
private calculateCircleCenter;
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<FConnectionDragHandleComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FConnectionDragHandleComponent, "circle[f-connection-drag-handle]", never, {}, {}, never, never, false>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FConnectionDragHandleComponent, "circle[f-connection-drag-handle]", never, {}, {}, never, never, false, never>;
|
|
15
15
|
}
|
|
@@ -18,5 +18,5 @@ export declare class FConnectionGradientComponent implements IConnectionGradient
|
|
|
18
18
|
private setToColor;
|
|
19
19
|
redraw(line: ILine): void;
|
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<FConnectionGradientComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FConnectionGradientComponent, "linearGradient[fConnectionGradient]", never, {}, {}, never, never, false>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FConnectionGradientComponent, "linearGradient[fConnectionGradient]", never, {}, {}, never, never, false, never>;
|
|
22
22
|
}
|
|
@@ -16,5 +16,5 @@ export declare class FConnectionPathComponent implements IConnectionPath {
|
|
|
16
16
|
select(): void;
|
|
17
17
|
deselect(): void;
|
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<FConnectionPathComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FConnectionPathComponent, "path[f-connection-path]", never, {}, {}, never, never, false>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FConnectionPathComponent, "path[f-connection-path]", never, {}, {}, never, never, false, never>;
|
|
20
20
|
}
|
|
@@ -10,5 +10,5 @@ export declare class FConnectionSelectionComponent implements IHasHostElement {
|
|
|
10
10
|
constructor(elementReference: ElementRef<SVGPathElement>, base: IHasConnectionFromTo);
|
|
11
11
|
setPath(path: string): void;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<FConnectionSelectionComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FConnectionSelectionComponent, "path[fConnectionSelection]", never, {}, {}, never, never, false>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FConnectionSelectionComponent, "path[fConnectionSelection]", never, {}, {}, never, never, false, never>;
|
|
14
14
|
}
|
|
@@ -52,5 +52,5 @@ export declare class FConnectionComponent extends FConnectionBase implements OnI
|
|
|
52
52
|
ngOnInit(): void;
|
|
53
53
|
ngOnDestroy(): void;
|
|
54
54
|
static ɵfac: i0.ɵɵFactoryDeclaration<FConnectionComponent, never>;
|
|
55
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FConnectionComponent, "f-connection", ["fComponent"], { "fId": "fConnectionId"; "fText": "fText"; "fStartColor": "fStartColor"; "fEndColor": "fEndColor"; "fOutputId": "fOutputId"; "fInputId": "fInputId"; "fRadius": "fRadius"; "fOffset": "fOffset"; "fBehavior": "fBehavior"; "fType": "fType"; "fDraggingDisabled": "fReassignDisabled"; "fSelectionDisabled": "fSelectionDisabled"; }, {}, ["fConnectionCenters"], ["*", "[fConnectionCenter]"], false>;
|
|
55
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FConnectionComponent, "f-connection", ["fComponent"], { "fId": { "alias": "fConnectionId"; "required": false; }; "fText": { "alias": "fText"; "required": false; }; "fStartColor": { "alias": "fStartColor"; "required": false; }; "fEndColor": { "alias": "fEndColor"; "required": false; }; "fOutputId": { "alias": "fOutputId"; "required": false; }; "fInputId": { "alias": "fInputId"; "required": false; }; "fRadius": { "alias": "fRadius"; "required": false; }; "fOffset": { "alias": "fOffset"; "required": false; }; "fBehavior": { "alias": "fBehavior"; "required": false; }; "fType": { "alias": "fType"; "required": false; }; "fDraggingDisabled": { "alias": "fReassignDisabled"; "required": false; }; "fSelectionDisabled": { "alias": "fSelectionDisabled"; "required": false; }; }, {}, ["fConnectionCenters"], ["*", "[fConnectionCenter]"], false, never>;
|
|
56
56
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class FConnectionCenterDirective {
|
|
3
3
|
static ɵfac: i0.ɵɵFactoryDeclaration<FConnectionCenterDirective, never>;
|
|
4
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FConnectionCenterDirective, "[fConnectionCenter]", never, {}, {}, never, never, false>;
|
|
4
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FConnectionCenterDirective, "[fConnectionCenter]", never, {}, {}, never, never, false, never>;
|
|
5
5
|
}
|
|
@@ -47,5 +47,5 @@ export declare class FConnectionForCreateComponent extends FConnectionBase imple
|
|
|
47
47
|
ngAfterViewInit(): void;
|
|
48
48
|
ngOnDestroy(): void;
|
|
49
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<FConnectionForCreateComponent, never>;
|
|
50
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FConnectionForCreateComponent, "f-connection-for-create", never, { "fStartColor": "fStartColor"; "fEndColor": "fEndColor"; "fRadius": "fRadius"; "fOffset": "fOffset"; "fBehavior": "fBehavior"; "fType": "fType"; }, {}, ["fConnectionCenters"], ["*", "[fConnectionCenter]"], false>;
|
|
50
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FConnectionForCreateComponent, "f-connection-for-create", never, { "fStartColor": { "alias": "fStartColor"; "required": false; }; "fEndColor": { "alias": "fEndColor"; "required": false; }; "fRadius": { "alias": "fRadius"; "required": false; }; "fOffset": { "alias": "fOffset"; "required": false; }; "fBehavior": { "alias": "fBehavior"; "required": false; }; "fType": { "alias": "fType"; "required": false; }; }, {}, ["fConnectionCenters"], ["*", "[fConnectionCenter]"], false, never>;
|
|
51
51
|
}
|
|
@@ -12,5 +12,5 @@ export declare abstract class FMarkerBase implements IHasHostElement {
|
|
|
12
12
|
abstract orient: 'auto' | 'auto-start-reverse' | string;
|
|
13
13
|
abstract markerUnits: 'strokeWidth' | 'userSpaceOnUse';
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<FMarkerBase, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FMarkerBase, never, never, {}, {}, never, never, false>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FMarkerBase, never, never, {}, {}, never, never, false, never>;
|
|
16
16
|
}
|
|
@@ -17,5 +17,5 @@ export declare class FMarkerDirective extends FMarkerBase implements OnInit, OnD
|
|
|
17
17
|
ngOnInit(): void;
|
|
18
18
|
ngOnDestroy(): void;
|
|
19
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<FMarkerDirective, never>;
|
|
20
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FMarkerDirective, "svg[fMarker]", never, { "hostElement": "hostElement"; "width": "width"; "height": "height"; "refX": "refX"; "refY": "refY"; "type": "type"; "orient": "orient"; "markerUnits": "markerUnits"; }, {}, never, never, false>;
|
|
20
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FMarkerDirective, "svg[fMarker]", never, { "hostElement": { "alias": "hostElement"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "refX": { "alias": "refX"; "required": false; }; "refY": { "alias": "refY"; "required": false; }; "type": { "alias": "type"; "required": false; }; "orient": { "alias": "orient"; "required": false; }; "markerUnits": { "alias": "markerUnits"; "required": false; }; }, {}, never, never, false, never>;
|
|
21
21
|
}
|
|
@@ -48,5 +48,5 @@ export declare class FSnapConnectionComponent extends FConnectionBase implements
|
|
|
48
48
|
ngAfterViewInit(): void;
|
|
49
49
|
ngOnDestroy(): void;
|
|
50
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<FSnapConnectionComponent, never>;
|
|
51
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FSnapConnectionComponent, "f-snap-connection", never, { "fStartColor": "fStartColor"; "fEndColor": "fEndColor"; "fSnapThreshold": "fSnapThreshold"; "fRadius": "fRadius"; "fOffset": "fOffset"; "fBehavior": "fBehavior"; "fType": "fType"; }, {}, ["fConnectionCenters"], ["*", "[fConnectionCenter]"], false>;
|
|
51
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FSnapConnectionComponent, "f-snap-connection", never, { "fStartColor": { "alias": "fStartColor"; "required": false; }; "fEndColor": { "alias": "fEndColor"; "required": false; }; "fSnapThreshold": { "alias": "fSnapThreshold"; "required": false; }; "fRadius": { "alias": "fRadius"; "required": false; }; "fOffset": { "alias": "fOffset"; "required": false; }; "fBehavior": { "alias": "fBehavior"; "required": false; }; "fType": { "alias": "fType"; "required": false; }; }, {}, ["fConnectionCenters"], ["*", "[fConnectionCenter]"], false, never>;
|
|
52
52
|
}
|
|
@@ -7,5 +7,5 @@ export declare abstract class FNodeInputBase extends FConnectorBase {
|
|
|
7
7
|
isConnected: boolean;
|
|
8
8
|
get canBeConnected(): boolean;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<FNodeInputBase, never>;
|
|
10
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FNodeInputBase, never, never, {}, {}, never, never, false>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FNodeInputBase, never, never, {}, {}, never, never, false, never>;
|
|
11
11
|
}
|
|
@@ -23,5 +23,5 @@ export declare class FNodeInputDirective extends FNodeInputBase implements OnIni
|
|
|
23
23
|
setConnected(isConnected: boolean): void;
|
|
24
24
|
ngOnDestroy(): void;
|
|
25
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<FNodeInputDirective, never>;
|
|
26
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FNodeInputDirective, "[fNodeInput]", ["fNodeInput"], { "id": "fInputId"; "multiple": "fInputMultiple"; "disabled": "fInputDisabled"; "_fSide": "fInputConnectableSide"; }, {}, never, never, false>;
|
|
26
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FNodeInputDirective, "[fNodeInput]", ["fNodeInput"], { "id": { "alias": "fInputId"; "required": false; }; "multiple": { "alias": "fInputMultiple"; "required": false; }; "disabled": { "alias": "fInputDisabled"; "required": false; }; "_fSide": { "alias": "fInputConnectableSide"; "required": false; }; }, {}, never, never, false, never>;
|
|
27
27
|
}
|
|
@@ -9,5 +9,5 @@ export declare abstract class FNodeOutletBase extends FConnectorBase {
|
|
|
9
9
|
get canBeConnected(): boolean;
|
|
10
10
|
setOutputs(outputs: FConnectorBase[]): void;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<FNodeOutletBase, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FNodeOutletBase, never, never, {}, {}, never, never, false>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FNodeOutletBase, never, never, {}, {}, never, never, false, never>;
|
|
13
13
|
}
|
|
@@ -20,5 +20,5 @@ export declare class FNodeOutletDirective extends FNodeOutletBase implements OnI
|
|
|
20
20
|
ngOnInit(): void;
|
|
21
21
|
ngOnDestroy(): void;
|
|
22
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<FNodeOutletDirective, never>;
|
|
23
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FNodeOutletDirective, "[fNodeOutlet]", ["fNodeOutlet"], { "id": "fOutletId"; "disabled": "fOutletDisabled"; "isConnectionFromOutlet": "isConnectionFromOutlet"; }, {}, never, never, false>;
|
|
23
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FNodeOutletDirective, "[fNodeOutlet]", ["fNodeOutlet"], { "id": { "alias": "fOutletId"; "required": false; }; "disabled": { "alias": "fOutletDisabled"; "required": false; }; "isConnectionFromOutlet": { "alias": "isConnectionFromOutlet"; "required": false; }; }, {}, never, never, false, never>;
|
|
24
24
|
}
|
|
@@ -7,5 +7,5 @@ export declare abstract class FNodeOutputBase extends FConnectorBase {
|
|
|
7
7
|
isConnected: boolean;
|
|
8
8
|
get canBeConnected(): boolean;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<FNodeOutputBase, never>;
|
|
10
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FNodeOutputBase, never, never, {}, {}, never, never, false>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FNodeOutputBase, never, never, {}, {}, never, never, false, never>;
|
|
11
11
|
}
|
|
@@ -24,5 +24,5 @@ export declare class FNodeOutputDirective extends FNodeOutputBase implements OnI
|
|
|
24
24
|
setConnected(isConnected: boolean): void;
|
|
25
25
|
ngOnDestroy(): void;
|
|
26
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<FNodeOutputDirective, never>;
|
|
27
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FNodeOutputDirective, "[fNodeOutput]", ["fNodeOutput"], { "id": "fOutputId"; "multiple": "fOutputMultiple"; "disabled": "fOutputDisabled"; "_fSide": "fOutputConnectableSide"; "isSelfConnectable": "isSelfConnectable"; }, {}, never, never, false>;
|
|
27
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FNodeOutputDirective, "[fNodeOutput]", ["fNodeOutput"], { "id": { "alias": "fOutputId"; "required": false; }; "multiple": { "alias": "fOutputMultiple"; "required": false; }; "disabled": { "alias": "fOutputDisabled"; "required": false; }; "_fSide": { "alias": "fOutputConnectableSide"; "required": false; }; "isSelfConnectable": { "alias": "isSelfConnectable"; "required": false; }; }, {}, never, never, false, never>;
|
|
28
28
|
}
|
|
@@ -11,5 +11,5 @@ export declare abstract class FDraggableBase extends DragAndDropBase {
|
|
|
11
11
|
abstract fCreateConnection: EventEmitter<FCreateConnectionEvent>;
|
|
12
12
|
protected constructor(ngZone: ICanRunOutsideAngular | undefined);
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<FDraggableBase, never>;
|
|
14
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FDraggableBase, never, never, {}, {}, never, never, false>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FDraggableBase, never, never, {}, {}, never, never, false, never>;
|
|
15
15
|
}
|
|
@@ -37,5 +37,5 @@ export declare class FDraggableDirective extends FDraggableBase implements OnIni
|
|
|
37
37
|
private emitSelectionChangeEvent;
|
|
38
38
|
ngOnDestroy(): void;
|
|
39
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<FDraggableDirective, [null, null, { optional: true; }, null, null, null]>;
|
|
40
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FDraggableDirective, "f-flow[fDraggable]", ["fDraggable"], { "disabled": "fDraggableDisabled"; }, { "fSelectionChange": "fSelectionChange"; "fCreateNode": "fCreateNode"; "fReassignConnection": "fReassignConnection"; "fCreateConnection": "fCreateConnection"; }, ["plugins"], never, false>;
|
|
40
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FDraggableDirective, "f-flow[fDraggable]", ["fDraggable"], { "disabled": { "alias": "fDraggableDisabled"; "required": false; }; }, { "fSelectionChange": "fSelectionChange"; "fCreateNode": "fCreateNode"; "fReassignConnection": "fReassignConnection"; "fCreateConnection": "fCreateConnection"; }, ["plugins"], never, false, never>;
|
|
41
41
|
}
|
|
@@ -20,5 +20,5 @@ export declare abstract class ConnectionBaseDragHandler implements IDraggableIte
|
|
|
20
20
|
protected getDifference(difference: IPoint, restrictions: INodeMoveRestrictions): IPoint;
|
|
21
21
|
protected redrawConnection(line: ILine): void;
|
|
22
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConnectionBaseDragHandler, never>;
|
|
23
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ConnectionBaseDragHandler, never, never, {}, {}, never, never, false>;
|
|
23
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ConnectionBaseDragHandler, never, never, {}, {}, never, never, false, never>;
|
|
24
24
|
}
|
|
@@ -8,5 +8,5 @@ export declare abstract class FExternalItemBase<TData = any> implements IHasHost
|
|
|
8
8
|
abstract fData: TData | undefined;
|
|
9
9
|
abstract fDisabled: boolean;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<FExternalItemBase<any>, never>;
|
|
11
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FExternalItemBase<any>, never, never, {}, {}, never, never, false>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FExternalItemBase<any>, never, never, {}, {}, never, never, false, never>;
|
|
12
12
|
}
|
|
@@ -14,5 +14,5 @@ export declare class FExternalItemDirective<TData> extends FExternalItemBase<TDa
|
|
|
14
14
|
private disablePointerEvents;
|
|
15
15
|
ngOnDestroy(): void;
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<FExternalItemDirective<any>, never>;
|
|
17
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FExternalItemDirective<any>, "[fExternalItem]", never, { "fExternalItemId": "fExternalItemId"; "fData": "fData"; "fDisabled": "fDisabled"; }, {}, never, never, false>;
|
|
17
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FExternalItemDirective<any>, "[fExternalItem]", never, { "fExternalItemId": { "alias": "fExternalItemId"; "required": false; }; "fData": { "alias": "fData"; "required": false; }; "fDisabled": { "alias": "fDisabled"; "required": false; }; }, {}, never, never, false, never>;
|
|
18
18
|
}
|
|
@@ -33,5 +33,5 @@ export declare class FFlowComponent extends FFlowBase implements OnInit, AfterCo
|
|
|
33
33
|
clearSelection(): void;
|
|
34
34
|
ngOnDestroy(): void;
|
|
35
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<FFlowComponent, never>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FFlowComponent, "f-flow", never, { "fFlowId": "fFlowId"; }, { "fLoaded": "fLoaded"; }, never, ["[fDefinitions]", "f-background", "f-line-alignment", "f-canvas", "f-selection-area", "f-minimap"], false>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FFlowComponent, "f-flow", never, { "fFlowId": { "alias": "fFlowId"; "required": false; }; }, { "fLoaded": "fLoaded"; }, never, ["[fDefinitions]", "f-background", "f-line-alignment", "f-canvas", "f-selection-area", "f-minimap"], false, never>;
|
|
37
37
|
}
|
|
@@ -12,5 +12,5 @@ export declare abstract class FLineAlignmentBase implements IHasHostElement {
|
|
|
12
12
|
abstract handle(difference: IPoint): void;
|
|
13
13
|
abstract complete(): void;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<FLineAlignmentBase, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FLineAlignmentBase, never, never, {}, {}, never, never, false>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FLineAlignmentBase, never, never, {}, {}, never, never, false, never>;
|
|
16
16
|
}
|
|
@@ -29,5 +29,5 @@ export declare class FLineAlignmentComponent extends FLineAlignmentBase implemen
|
|
|
29
29
|
findNearestCoordinate(difference: IPoint): ILineAlignmentResult;
|
|
30
30
|
complete(): void;
|
|
31
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<FLineAlignmentComponent, never>;
|
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FLineAlignmentComponent, "f-line-alignment", ["fComponent"], { "fAlignThreshold": "fAlignThreshold"; }, {}, never, never, false>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FLineAlignmentComponent, "f-line-alignment", ["fComponent"], { "fAlignThreshold": { "alias": "fAlignThreshold"; "required": false; }; }, {}, never, never, false, never>;
|
|
33
33
|
}
|
|
@@ -18,5 +18,5 @@ export declare class FMinimapCanvasDirective {
|
|
|
18
18
|
private setElementAttributes;
|
|
19
19
|
private applyClassList;
|
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<FMinimapCanvasDirective, never>;
|
|
21
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FMinimapCanvasDirective, "g[fMinimapCanvas]", never, {}, {}, never, never, false>;
|
|
21
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FMinimapCanvasDirective, "g[fMinimapCanvas]", never, {}, {}, never, never, false, never>;
|
|
22
22
|
}
|
|
@@ -24,5 +24,5 @@ export declare class FMinimapFlowDirective {
|
|
|
24
24
|
private calculateCenteredViewBox;
|
|
25
25
|
private setViewBox;
|
|
26
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<FMinimapFlowDirective, never>;
|
|
27
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FMinimapFlowDirective, "svg[fMinimapFlow]", never, { "fMinSize": "fMinSize"; }, {}, never, never, false>;
|
|
27
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FMinimapFlowDirective, "svg[fMinimapFlow]", never, { "fMinSize": { "alias": "fMinSize"; "required": false; }; }, {}, never, never, false, never>;
|
|
28
28
|
}
|
|
@@ -10,5 +10,5 @@ export declare class FMinimapViewDirective {
|
|
|
10
10
|
update(): void;
|
|
11
11
|
private setAttributes;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<FMinimapViewDirective, never>;
|
|
13
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FMinimapViewDirective, "rect[fMinimapView]", never, {}, {}, never, never, false>;
|
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FMinimapViewDirective, "rect[fMinimapView]", never, {}, {}, never, never, false, never>;
|
|
14
14
|
}
|
|
@@ -22,5 +22,5 @@ export declare class FMinimapComponent implements AfterViewInit, OnDestroy, IFDr
|
|
|
22
22
|
onPointerUp(event: IPointerEvent): void;
|
|
23
23
|
ngOnDestroy(): void;
|
|
24
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<FMinimapComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FMinimapComponent, "f-minimap", ["fComponent"], { "fMinSize": "fMinSize"; }, {}, never, never, false>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FMinimapComponent, "f-minimap", ["fComponent"], { "fMinSize": { "alias": "fMinSize"; "required": false; }; }, {}, never, never, false, never>;
|
|
26
26
|
}
|
|
@@ -7,5 +7,5 @@ export declare class FDragHandleDirective implements IHasHostElement {
|
|
|
7
7
|
get hostElement(): HTMLElement;
|
|
8
8
|
constructor(elementReference: ElementRef<HTMLElement>);
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<FDragHandleDirective, never>;
|
|
10
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FDragHandleDirective, "[fDragHandle]", never, {}, {}, never, never, false>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FDragHandleDirective, "[fDragHandle]", never, {}, {}, never, never, false, never>;
|
|
11
11
|
}
|
|
@@ -37,5 +37,5 @@ export declare class FGroupDirective extends FNodeBase implements OnInit, AfterV
|
|
|
37
37
|
refresh(): void;
|
|
38
38
|
ngOnDestroy(): void;
|
|
39
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<FGroupDirective, never>;
|
|
40
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FGroupDirective, "[fGroup]", ["fComponent"], { "fId": "fGroupId"; "fParentId": "fGroupParentId"; "position": "fGroupPosition"; "size": "fGroupSize"; "fDraggingDisabled": "fGroupDraggingDisabled"; "fSelectionDisabled": "fGroupSelectionDisabled"; "fIncludePadding": "fIncludePadding"; "fConnectOnNode": "fConnectOnNode"; }, { "positionChange": "fGroupPositionChange"; "sizeChange": "fGroupSizeChange"; }, never, never, false>;
|
|
40
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FGroupDirective, "[fGroup]", ["fComponent"], { "fId": { "alias": "fGroupId"; "required": false; }; "fParentId": { "alias": "fGroupParentId"; "required": false; }; "position": { "alias": "fGroupPosition"; "required": false; }; "size": { "alias": "fGroupSize"; "required": false; }; "fDraggingDisabled": { "alias": "fGroupDraggingDisabled"; "required": false; }; "fSelectionDisabled": { "alias": "fGroupSelectionDisabled"; "required": false; }; "fIncludePadding": { "alias": "fIncludePadding"; "required": false; }; "fConnectOnNode": { "alias": "fConnectOnNode"; "required": false; }; }, { "positionChange": "fGroupPositionChange"; "sizeChange": "fGroupSizeChange"; }, never, never, false, never>;
|
|
41
41
|
}
|
|
@@ -37,5 +37,5 @@ export declare class FNodeDirective extends FNodeBase implements OnInit, AfterVi
|
|
|
37
37
|
refresh(): void;
|
|
38
38
|
ngOnDestroy(): void;
|
|
39
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<FNodeDirective, never>;
|
|
40
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FNodeDirective, "[fNode]", ["fComponent"], { "fId": "fNodeId"; "fParentId": "fNodeParentId"; "position": "fNodePosition"; "size": "fNodeSize"; "fDraggingDisabled": "fNodeDraggingDisabled"; "fSelectionDisabled": "fNodeSelectionDisabled"; "fIncludePadding": "fIncludePadding"; "fConnectOnNode": "fConnectOnNode"; }, { "positionChange": "fNodePositionChange"; "sizeChange": "fNodeSizeChange"; }, never, never, false>;
|
|
40
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FNodeDirective, "[fNode]", ["fComponent"], { "fId": { "alias": "fNodeId"; "required": false; }; "fParentId": { "alias": "fNodeParentId"; "required": false; }; "position": { "alias": "fNodePosition"; "required": false; }; "size": { "alias": "fNodeSize"; "required": false; }; "fDraggingDisabled": { "alias": "fNodeDraggingDisabled"; "required": false; }; "fSelectionDisabled": { "alias": "fNodeSelectionDisabled"; "required": false; }; "fIncludePadding": { "alias": "fIncludePadding"; "required": false; }; "fConnectOnNode": { "alias": "fConnectOnNode"; "required": false; }; }, { "positionChange": "fNodePositionChange"; "sizeChange": "fNodeSizeChange"; }, never, never, false, never>;
|
|
41
41
|
}
|
|
@@ -12,5 +12,5 @@ export declare class FResizeHandleDirective implements IHasHostElement {
|
|
|
12
12
|
get hostElement(): HTMLElement;
|
|
13
13
|
constructor(elementReference: ElementRef<HTMLElement>);
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<FResizeHandleDirective, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FResizeHandleDirective, "[fResizeHandle]", never, { "type": "fResizeHandleType"; }, {}, never, never, false>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FResizeHandleDirective, "[fResizeHandle]", never, { "type": { "alias": "fResizeHandleType"; "required": false; }; }, {}, never, never, false, never>;
|
|
16
16
|
}
|