@foblex/flow 12.6.7 → 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/{esm2015/f-backgroud/f-background-base.js → esm2022/f-backgroud/f-background-base.mjs} +4 -4
- package/esm2022/f-backgroud/f-background.component.mjs +45 -0
- 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/{esm2015/f-canvas/f-canvas-base.js → 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/{esm2015/f-connection/common/f-drag-handle/f-connection-drag-handle.component.js → 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/{esm2015/f-connection/common/f-selection/f-connection-selection.component.js → 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/esm2022/f-connection/f-connection-builder/f-connection-factory.mjs +34 -0
- package/{esm2015/f-connection/f-connection-center/f-connection-center.directive.js → 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/{esm2015/f-connection/f-marker/f-marker-base.js → 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/{esm2015/f-connectors/f-node-input/f-node-input-base.js → 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/{esm2015/f-connectors/f-node-outlet/f-node-outlet-base.js → 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/{esm2015/f-connectors/f-node-output/f-node-output-base.js → 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/esm2022/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.mjs +58 -0
- package/esm2022/f-draggable/domain/get-node-padding/get-node-padding.execution.mjs +32 -0
- package/esm2022/f-draggable/domain/get-normalized-node-rect/get-normalized-node-rect.execution.mjs +28 -0
- package/esm2022/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.execution.mjs +47 -0
- package/esm2022/f-draggable/domain/get-parent-nodes/get-parent-nodes.execution.mjs +35 -0
- package/esm2022/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.execution.mjs +33 -0
- package/{esm2015/f-draggable/f-draggable-base.js → esm2022/f-draggable/f-draggable-base.mjs} +4 -4
- package/{esm2015/f-draggable/f-draggable-data-context.js → esm2022/f-draggable/f-draggable-data-context.mjs} +4 -4
- package/esm2022/f-draggable/f-draggable.directive.mjs +160 -0
- package/{esm2015/f-draggable/node/connection-base-drag-handler.js → esm2022/f-draggable/node/connection-base-drag-handler.mjs} +4 -4
- package/esm2022/f-draggable/node/connection-source.drag-handler.mjs +17 -0
- package/esm2022/f-draggable/node/connection-target.drag-handler.mjs +17 -0
- package/esm2022/f-draggable/node/connection.drag-handler.mjs +21 -0
- 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/node.drag-handler.mjs +33 -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/{esm2015/f-external-item/f-external-item-base.js → esm2022/f-external-item/f-external-item-base.mjs} +4 -4
- package/{esm2015/f-external-item/f-external-item.directive.js → esm2022/f-external-item/f-external-item.directive.mjs} +9 -9
- package/{esm2015/f-external-item/f-external-item.service.js → esm2022/f-external-item/f-external-item.service.mjs} +4 -4
- package/esm2022/f-flow/f-flow.component.mjs +118 -0
- package/{esm2015/f-flow.module.js → esm2022/f-flow.module.mjs} +5 -7
- package/{esm2015/f-line-alignment/f-line-alignment-base.js → 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/f-minimap.drag-handler.mjs +35 -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/{esm2015/f-minimap/f-minimap-flow.directive.js → esm2022/f-minimap/f-minimap-flow.directive.mjs} +10 -10
- package/{esm2015/f-minimap/f-minimap-view.directive.js → esm2022/f-minimap/f-minimap-view.directive.mjs} +8 -8
- package/esm2022/f-minimap/f-minimap.component.mjs +68 -0
- package/{esm2015/f-node/f-drag-handle/f-drag-handle.directive.js → 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/{esm2015/f-node/f-rotate-handle/f-rotate-handle.directive.js → 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/{esm2015/f-selection-area/domain/selection-area.drag-handle.js → esm2022/f-selection-area/domain/selection-area.drag-handle.mjs} +4 -4
- package/{esm2015/f-selection-area/f-selection-area-base.js → esm2022/f-selection-area/f-selection-area-base.mjs} +4 -4
- package/esm2022/f-selection-area/f-selection-area.component.mjs +51 -0
- package/esm2022/f-storage/f-components-store.mjs +50 -0
- package/{esm2015/f-storage/f-transform-store.js → 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/{fesm2015/foblex-flow.js → fesm2022/foblex-flow.mjs} +924 -1038
- package/fesm2022/foblex-flow.mjs.map +1 -0
- package/mixins/change-selection/change-selection.d.ts +1 -1
- package/mixins/change-visibility/change-visibility.d.ts +1 -1
- package/mixins/constructor.d.ts +2 -2
- package/package.json +15 -7
- package/bundles/foblex-flow.umd.js +0 -9815
- package/bundles/foblex-flow.umd.js.map +0 -1
- package/esm2015/domain/create-connection-markers/create-connection-markers.execution.js +0 -61
- package/esm2015/domain/create-rounded-rect-from-element/create-rounded-rect-from-element.execution.js +0 -39
- package/esm2015/domain/emit-transform-changes/emit-transform-changes.execution.js +0 -24
- package/esm2015/domain/f-background/add-pattern-to-background/add-pattern-to-background.execution.js +0 -48
- package/esm2015/domain/f-canvas/center-group-or-node/center-group-or-node.execution.js +0 -49
- package/esm2015/domain/f-canvas/fit-to-flow/fit-to-flow.execution.js +0 -56
- package/esm2015/domain/f-canvas/input-canvas-position/input-canvas-position.execution.js +0 -34
- package/esm2015/domain/f-canvas/input-canvas-scale/input-canvas-scale.execution.js +0 -29
- package/esm2015/domain/f-canvas/reset-scale/reset-scale.execution.js +0 -29
- package/esm2015/domain/f-canvas/reset-scale-and-center/reset-scale-and-center.execution.js +0 -51
- package/esm2015/domain/f-canvas/update-scale/update-scale.execution.js +0 -34
- package/esm2015/domain/f-connection/find-closest-input-using-snap-threshold/find-closest-input-using-snap-threshold.execution.js +0 -39
- package/esm2015/domain/f-connection/get-all-can-be-connected-input-positions/get-all-can-be-connected-input-positions.execution.js +0 -55
- package/esm2015/domain/f-connection/get-connector-with-rect/get-connector-with-rect.execution.js +0 -28
- package/esm2015/domain/f-selection/clear-selection/clear-selection.execution.js +0 -26
- package/esm2015/domain/f-selection/get-selection/get-selection.execution.js +0 -35
- package/esm2015/domain/f-selection/select/select.execution.js +0 -44
- package/esm2015/domain/f-selection/select-all/select-all.execution.js +0 -38
- package/esm2015/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.execution.js +0 -35
- package/esm2015/domain/get-can-be-selected-items/get-can-be-selected-items.execution.js +0 -57
- package/esm2015/domain/get-connection-line/get-connection-line.execution.js +0 -67
- package/esm2015/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.execution.js +0 -35
- package/esm2015/domain/get-element-rect-in-flow/get-element-rect-in-flow.execution.js +0 -43
- package/esm2015/domain/get-flow-state/get-flow-state-connections/get-flow-state-connections.execution.js +0 -33
- package/esm2015/domain/get-flow-state/get-flow-state-nodes/get-flow-state-nodes.execution.js +0 -50
- package/esm2015/domain/get-flow-state/get-flow-state.execution.js +0 -39
- package/esm2015/domain/get-nodes-rect/get-nodes-rect.execution.js +0 -31
- package/esm2015/domain/get-position-in-flow/get-position-in-flow.execution.js +0 -32
- package/esm2015/domain/get-scaled-node-rects-with-flow-position/get-scaled-node-rects-with-flow-position.execution.js +0 -34
- package/esm2015/domain/is-connection-under-node/is-connection-under-node.execution.js +0 -76
- package/esm2015/domain/redraw-connections/redraw-connections.execution.js +0 -63
- package/esm2015/domain/show-connections-after-calculations/show-connections-after-calculations.execution.js +0 -26
- package/esm2015/domain/sort-item-layers/sort-item-layers.execution.js +0 -30
- package/esm2015/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.execution.js +0 -57
- package/esm2015/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.execution.js +0 -59
- package/esm2015/domain/subscribe-on-transform-changes/subscribe-on-transform-changes.execution.js +0 -26
- package/esm2015/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element.execution.js +0 -30
- package/esm2015/domain/update-item-and-children-layers/update-item-and-children-layers.execution.js +0 -94
- package/esm2015/f-backgroud/f-background.component.js +0 -53
- package/esm2015/f-backgroud/f-circle-pattern/f-circle-pattern.component.js +0 -104
- package/esm2015/f-backgroud/f-rect-pattern/f-rect-pattern.component.js +0 -122
- package/esm2015/f-canvas/f-canvas.component.js +0 -96
- package/esm2015/f-connection/common/f-connection-base.js +0 -68
- package/esm2015/f-connection/common/f-connection-text/f-connection-text-path.directive.js +0 -70
- package/esm2015/f-connection/common/f-connection-text/f-connection-text.component.js +0 -72
- package/esm2015/f-connection/common/f-gradient/f-connection-gradient.component.js +0 -69
- package/esm2015/f-connection/common/f-path/f-connection-path.component.js +0 -59
- package/esm2015/f-connection/f-connection/f-connection.component.js +0 -179
- package/esm2015/f-connection/f-connection-builder/f-connection-factory.js +0 -34
- package/esm2015/f-connection/f-connection-for-create/f-connection-for-create.component.js +0 -143
- package/esm2015/f-connection/f-marker/f-marker.directive.js +0 -58
- package/esm2015/f-connection/f-snap-connection/f-snap-connection.component.js +0 -143
- package/esm2015/f-connectors/f-node-input/f-node-input.directive.js +0 -87
- package/esm2015/f-connectors/f-node-outlet/f-node-outlet.directive.js +0 -71
- package/esm2015/f-connectors/f-node-output/f-node-output.directive.js +0 -94
- package/esm2015/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.execution.js +0 -24
- package/esm2015/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.validator.js +0 -25
- package/esm2015/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.execution.js +0 -36
- package/esm2015/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.validator.js +0 -44
- package/esm2015/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.execution.js +0 -56
- package/esm2015/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.validator.js +0 -25
- package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.execution.js +0 -44
- package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.execution.js +0 -53
- package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.execution.js +0 -39
- package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.validator.js +0 -34
- package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.execution.js +0 -43
- package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.validator.js +0 -32
- package/esm2015/f-draggable/connections/create-connection/create-connection.drag-handler.js +0 -63
- package/esm2015/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.execution.js +0 -43
- package/esm2015/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.validator.js +0 -27
- package/esm2015/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.execution.js +0 -85
- package/esm2015/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.validator.js +0 -35
- package/esm2015/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.execution.js +0 -50
- package/esm2015/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.validator.js +0 -25
- package/esm2015/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.execution.js +0 -64
- package/esm2015/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.validator.js +0 -44
- package/esm2015/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.js +0 -60
- package/esm2015/f-draggable/domain/get-node-padding/get-node-padding.execution.js +0 -33
- package/esm2015/f-draggable/domain/get-normalized-node-rect/get-normalized-node-rect.execution.js +0 -29
- package/esm2015/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.execution.js +0 -48
- package/esm2015/f-draggable/domain/get-parent-nodes/get-parent-nodes.execution.js +0 -36
- package/esm2015/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.execution.js +0 -34
- package/esm2015/f-draggable/f-draggable.directive.js +0 -165
- package/esm2015/f-draggable/node/connection-source.drag-handler.js +0 -17
- package/esm2015/f-draggable/node/connection-target.drag-handler.js +0 -17
- package/esm2015/f-draggable/node/connection.drag-handler.js +0 -21
- package/esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.execution.js +0 -85
- package/esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/get-node-move-restrictions.execution.js +0 -44
- package/esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/put-input-connection-handlers-to-array.execution.js +0 -70
- package/esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/put-output-connection-handlers-to-array.execution.js +0 -70
- package/esm2015/f-draggable/node/node-move-finalize/node-move-finalize.execution.js +0 -54
- package/esm2015/f-draggable/node/node-move-finalize/node-move-finalize.validator.js +0 -25
- package/esm2015/f-draggable/node/node-move-preparation/node-move-preparation.execution.js +0 -60
- package/esm2015/f-draggable/node/node-move-preparation/node-move-preparation.validator.js +0 -41
- package/esm2015/f-draggable/node/node.drag-handler.js +0 -34
- package/esm2015/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.execution.js +0 -49
- package/esm2015/f-draggable/node-resize/apply-parent-resize-restrictions/apply-parent-resize-restrictions.execution.js +0 -49
- package/esm2015/f-draggable/node-resize/calculate-changed-position/calculate-changed-position.execution.js +0 -25
- package/esm2015/f-draggable/node-resize/calculate-changed-size/calculate-changed-size.execution.js +0 -34
- package/esm2015/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.execution.js +0 -31
- package/esm2015/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.execution.js +0 -41
- package/esm2015/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.execution.js +0 -27
- package/esm2015/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.validator.js +0 -25
- package/esm2015/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.execution.js +0 -53
- package/esm2015/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.validator.js +0 -41
- package/esm2015/f-draggable/single-select/single-select.execution.js +0 -89
- package/esm2015/f-draggable/single-select/single-select.validator.js +0 -27
- package/esm2015/f-external-item/domain/external-item-finalize/external-item-finalize.execution.js +0 -57
- package/esm2015/f-external-item/domain/external-item-finalize/external-item-finalize.validator.js +0 -25
- package/esm2015/f-external-item/domain/external-item-preparation/external-item-preparation.execution.js +0 -43
- package/esm2015/f-external-item/domain/external-item-preparation/external-item-preparation.validator.js +0 -29
- package/esm2015/f-flow/f-flow.component.js +0 -125
- package/esm2015/f-line-alignment/f-line-alignment.component.js +0 -99
- package/esm2015/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.execution.js +0 -42
- package/esm2015/f-minimap/domain/f-minimap.drag-handler.js +0 -37
- package/esm2015/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.execution.js +0 -27
- package/esm2015/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.validator.js +0 -25
- package/esm2015/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.execution.js +0 -49
- package/esm2015/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.validator.js +0 -28
- package/esm2015/f-minimap/f-minimap-canvas.directive.js +0 -66
- package/esm2015/f-minimap/f-minimap.component.js +0 -76
- package/esm2015/f-node/f-group.directive.js +0 -145
- package/esm2015/f-node/f-node.directive.js +0 -146
- package/esm2015/f-node/f-resize-handle/f-resize-handle.directive.js +0 -43
- package/esm2015/f-selection-area/domain/selection-area-finalize/selection-area-finalize.execution.js +0 -27
- package/esm2015/f-selection-area/domain/selection-area-finalize/selection-area-finalize.validator.js +0 -25
- package/esm2015/f-selection-area/domain/selection-area-preparation/selection-area-preparation.execution.js +0 -38
- package/esm2015/f-selection-area/domain/selection-area-preparation/selection-area-preparation.validator.js +0 -31
- package/esm2015/f-selection-area/f-selection-area.component.js +0 -57
- package/esm2015/f-storage/f-components-store.js +0 -52
- package/esm2015/f-zoom/f-zoom-base.js +0 -99
- package/esm2015/f-zoom/f-zoom.directive.js +0 -59
- package/esm2015/mixins/change-selection/change-selection.js +0 -30
- package/fesm2015/foblex-flow.js.map +0 -1
- /package/{esm2015/domain/constants.js → esm2022/domain/constants.mjs} +0 -0
- /package/{esm2015/domain/create-connection-markers/create-connection-markers-request.js → esm2022/domain/create-connection-markers/create-connection-markers-request.mjs} +0 -0
- /package/{esm2015/domain/create-connection-markers/index.js → esm2022/domain/create-connection-markers/index.mjs} +0 -0
- /package/{esm2015/domain/create-dom-element.js → esm2022/domain/create-dom-element.mjs} +0 -0
- /package/{esm2015/domain/create-rounded-rect-from-element/create-rounded-rect-from-element-request.js → esm2022/domain/create-rounded-rect-from-element/create-rounded-rect-from-element-request.mjs} +0 -0
- /package/{esm2015/domain/create-rounded-rect-from-element/index.js → esm2022/domain/create-rounded-rect-from-element/index.mjs} +0 -0
- /package/{esm2015/domain/emit-transform-changes/emit-transform-changes.request.js → esm2022/domain/emit-transform-changes/emit-transform-changes.request.mjs} +0 -0
- /package/{esm2015/domain/emit-transform-changes/index.js → esm2022/domain/emit-transform-changes/index.mjs} +0 -0
- /package/{esm2015/domain/f-background/add-pattern-to-background/add-pattern-to-background.request.js → esm2022/domain/f-background/add-pattern-to-background/add-pattern-to-background.request.mjs} +0 -0
- /package/{esm2015/domain/f-background/add-pattern-to-background/index.js → esm2022/domain/f-background/add-pattern-to-background/index.mjs} +0 -0
- /package/{esm2015/domain/f-background/index.js → esm2022/domain/f-background/index.mjs} +0 -0
- /package/{esm2015/domain/f-background/providers.js → esm2022/domain/f-background/providers.mjs} +0 -0
- /package/{esm2015/domain/f-canvas/center-group-or-node/center-group-or-node-request.js → esm2022/domain/f-canvas/center-group-or-node/center-group-or-node-request.mjs} +0 -0
- /package/{esm2015/domain/f-canvas/center-group-or-node/index.js → esm2022/domain/f-canvas/center-group-or-node/index.mjs} +0 -0
- /package/{esm2015/domain/f-canvas/fit-to-flow/fit-to-flow-request.js → esm2022/domain/f-canvas/fit-to-flow/fit-to-flow-request.mjs} +0 -0
- /package/{esm2015/domain/f-canvas/fit-to-flow/index.js → esm2022/domain/f-canvas/fit-to-flow/index.mjs} +0 -0
- /package/{esm2015/domain/f-canvas/index.js → esm2022/domain/f-canvas/index.mjs} +0 -0
- /package/{esm2015/domain/f-canvas/input-canvas-position/index.js → esm2022/domain/f-canvas/input-canvas-position/index.mjs} +0 -0
- /package/{esm2015/domain/f-canvas/input-canvas-position/input-canvas-position-request.js → esm2022/domain/f-canvas/input-canvas-position/input-canvas-position-request.mjs} +0 -0
- /package/{esm2015/domain/f-canvas/input-canvas-scale/index.js → esm2022/domain/f-canvas/input-canvas-scale/index.mjs} +0 -0
- /package/{esm2015/domain/f-canvas/input-canvas-scale/input-canvas-scale-request.js → esm2022/domain/f-canvas/input-canvas-scale/input-canvas-scale-request.mjs} +0 -0
- /package/{esm2015/domain/f-canvas/providers.js → esm2022/domain/f-canvas/providers.mjs} +0 -0
- /package/{esm2015/domain/f-canvas/reset-scale/index.js → esm2022/domain/f-canvas/reset-scale/index.mjs} +0 -0
- /package/{esm2015/domain/f-canvas/reset-scale/reset-scale-request.js → esm2022/domain/f-canvas/reset-scale/reset-scale-request.mjs} +0 -0
- /package/{esm2015/domain/f-canvas/reset-scale-and-center/index.js → esm2022/domain/f-canvas/reset-scale-and-center/index.mjs} +0 -0
- /package/{esm2015/domain/f-canvas/reset-scale-and-center/reset-scale-and-center-request.js → esm2022/domain/f-canvas/reset-scale-and-center/reset-scale-and-center-request.mjs} +0 -0
- /package/{esm2015/domain/f-canvas/update-scale/index.js → esm2022/domain/f-canvas/update-scale/index.mjs} +0 -0
- /package/{esm2015/domain/f-canvas/update-scale/update-scale-request.js → esm2022/domain/f-canvas/update-scale/update-scale-request.mjs} +0 -0
- /package/{esm2015/domain/f-connection/find-closest-input-using-snap-threshold/find-closest-input-using-snap-threshold.request.js → esm2022/domain/f-connection/find-closest-input-using-snap-threshold/find-closest-input-using-snap-threshold.request.mjs} +0 -0
- /package/{esm2015/domain/f-connection/find-closest-input-using-snap-threshold/index.js → esm2022/domain/f-connection/find-closest-input-using-snap-threshold/index.mjs} +0 -0
- /package/{esm2015/domain/f-connection/get-all-can-be-connected-input-positions/get-all-can-be-connected-input-positions.request.js → esm2022/domain/f-connection/get-all-can-be-connected-input-positions/get-all-can-be-connected-input-positions.request.mjs} +0 -0
- /package/{esm2015/domain/f-connection/get-all-can-be-connected-input-positions/index.js → esm2022/domain/f-connection/get-all-can-be-connected-input-positions/index.mjs} +0 -0
- /package/{esm2015/domain/f-connection/get-connector-with-rect/get-connector-with-rect-request.js → esm2022/domain/f-connection/get-connector-with-rect/get-connector-with-rect-request.mjs} +0 -0
- /package/{esm2015/domain/f-connection/get-connector-with-rect/i-connector-with-rect.js → esm2022/domain/f-connection/get-connector-with-rect/i-connector-with-rect.mjs} +0 -0
- /package/{esm2015/domain/f-connection/get-connector-with-rect/index.js → esm2022/domain/f-connection/get-connector-with-rect/index.mjs} +0 -0
- /package/{esm2015/domain/f-connection/index.js → esm2022/domain/f-connection/index.mjs} +0 -0
- /package/{esm2015/domain/f-connection/providers.js → esm2022/domain/f-connection/providers.mjs} +0 -0
- /package/{esm2015/domain/f-selection/clear-selection/clear-selection.request.js → esm2022/domain/f-selection/clear-selection/clear-selection.request.mjs} +0 -0
- /package/{esm2015/domain/f-selection/clear-selection/index.js → esm2022/domain/f-selection/clear-selection/index.mjs} +0 -0
- /package/{esm2015/domain/f-selection/get-selection/get-selection.request.js → esm2022/domain/f-selection/get-selection/get-selection.request.mjs} +0 -0
- /package/{esm2015/domain/f-selection/get-selection/index.js → esm2022/domain/f-selection/get-selection/index.mjs} +0 -0
- /package/{esm2015/domain/f-selection/index.js → esm2022/domain/f-selection/index.mjs} +0 -0
- /package/{esm2015/domain/f-selection/providers.js → esm2022/domain/f-selection/providers.mjs} +0 -0
- /package/{esm2015/domain/f-selection/select/index.js → esm2022/domain/f-selection/select/index.mjs} +0 -0
- /package/{esm2015/domain/f-selection/select/select.request.js → esm2022/domain/f-selection/select/select.request.mjs} +0 -0
- /package/{esm2015/domain/f-selection/select-all/index.js → esm2022/domain/f-selection/select-all/index.mjs} +0 -0
- /package/{esm2015/domain/f-selection/select-all/select-all.request.js → esm2022/domain/f-selection/select-all/select-all.request.mjs} +0 -0
- /package/{esm2015/domain/f-selection/select-and-update-node-layer/index.js → esm2022/domain/f-selection/select-and-update-node-layer/index.mjs} +0 -0
- /package/{esm2015/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.request.js → esm2022/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.request.mjs} +0 -0
- /package/{esm2015/domain/get-can-be-selected-items/get-can-be-selected-items-request.js → esm2022/domain/get-can-be-selected-items/get-can-be-selected-items-request.mjs} +0 -0
- /package/{esm2015/domain/get-can-be-selected-items/i-selectable-with-rect.js → esm2022/domain/get-can-be-selected-items/i-selectable-with-rect.mjs} +0 -0
- /package/{esm2015/domain/get-can-be-selected-items/index.js → esm2022/domain/get-can-be-selected-items/index.mjs} +0 -0
- /package/{esm2015/domain/get-connection-line/get-connection-line.request.js → esm2022/domain/get-connection-line/get-connection-line.request.mjs} +0 -0
- /package/{esm2015/domain/get-connection-line/index.js → esm2022/domain/get-connection-line/index.mjs} +0 -0
- /package/{esm2015/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.request.js → esm2022/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.request.mjs} +0 -0
- /package/{esm2015/domain/get-deep-children-nodes-and-groups/index.js → esm2022/domain/get-deep-children-nodes-and-groups/index.mjs} +0 -0
- /package/{esm2015/domain/get-element-rect-in-flow/get-element-rect-in-flow-request.js → esm2022/domain/get-element-rect-in-flow/get-element-rect-in-flow-request.mjs} +0 -0
- /package/{esm2015/domain/get-element-rect-in-flow/index.js → esm2022/domain/get-element-rect-in-flow/index.mjs} +0 -0
- /package/{esm2015/domain/get-flow-state/get-flow-state-connections/get-flow-state-connections-request.js → esm2022/domain/get-flow-state/get-flow-state-connections/get-flow-state-connections-request.mjs} +0 -0
- /package/{esm2015/domain/get-flow-state/get-flow-state-connections/index.js → esm2022/domain/get-flow-state/get-flow-state-connections/index.mjs} +0 -0
- /package/{esm2015/domain/get-flow-state/get-flow-state-nodes/get-flow-state-nodes-request.js → esm2022/domain/get-flow-state/get-flow-state-nodes/get-flow-state-nodes-request.mjs} +0 -0
- /package/{esm2015/domain/get-flow-state/get-flow-state-nodes/index.js → esm2022/domain/get-flow-state/get-flow-state-nodes/index.mjs} +0 -0
- /package/{esm2015/domain/get-flow-state/get-flow-state.request.js → esm2022/domain/get-flow-state/get-flow-state.request.mjs} +0 -0
- /package/{esm2015/domain/get-flow-state/i-f-flow-state-connection.js → esm2022/domain/get-flow-state/i-f-flow-state-connection.mjs} +0 -0
- /package/{esm2015/domain/get-flow-state/i-f-flow-state-connector.js → esm2022/domain/get-flow-state/i-f-flow-state-connector.mjs} +0 -0
- /package/{esm2015/domain/get-flow-state/i-f-flow-state-node.js → esm2022/domain/get-flow-state/i-f-flow-state-node.mjs} +0 -0
- /package/{esm2015/domain/get-flow-state/i-f-flow-state.js → esm2022/domain/get-flow-state/i-f-flow-state.mjs} +0 -0
- /package/{esm2015/domain/get-flow-state/index.js → esm2022/domain/get-flow-state/index.mjs} +0 -0
- /package/{esm2015/domain/get-flow-state/providers.js → esm2022/domain/get-flow-state/providers.mjs} +0 -0
- /package/{esm2015/domain/get-nodes-rect/get-nodes-rect.request.js → esm2022/domain/get-nodes-rect/get-nodes-rect.request.mjs} +0 -0
- /package/{esm2015/domain/get-nodes-rect/index.js → esm2022/domain/get-nodes-rect/index.mjs} +0 -0
- /package/{esm2015/domain/get-position-in-flow/get-position-in-flow-request.js → esm2022/domain/get-position-in-flow/get-position-in-flow-request.mjs} +0 -0
- /package/{esm2015/domain/get-position-in-flow/index.js → esm2022/domain/get-position-in-flow/index.mjs} +0 -0
- /package/{esm2015/domain/get-scaled-node-rects-with-flow-position/get-scaled-node-rects-with-flow-position.request.js → esm2022/domain/get-scaled-node-rects-with-flow-position/get-scaled-node-rects-with-flow-position.request.mjs} +0 -0
- /package/{esm2015/domain/get-scaled-node-rects-with-flow-position/index.js → esm2022/domain/get-scaled-node-rects-with-flow-position/index.mjs} +0 -0
- /package/{esm2015/domain/i-map.js → esm2022/domain/i-map.mjs} +0 -0
- /package/{esm2015/domain/index.js → esm2022/domain/index.mjs} +0 -0
- /package/{esm2015/domain/is-connection-under-node/index.js → esm2022/domain/is-connection-under-node/index.mjs} +0 -0
- /package/{esm2015/domain/is-connection-under-node/is-connection-under-node.request.js → esm2022/domain/is-connection-under-node/is-connection-under-node.request.mjs} +0 -0
- /package/{esm2015/domain/providers.js → esm2022/domain/providers.mjs} +0 -0
- /package/{esm2015/domain/redraw-connections/index.js → esm2022/domain/redraw-connections/index.mjs} +0 -0
- /package/{esm2015/domain/redraw-connections/redraw-connections-request.js → esm2022/domain/redraw-connections/redraw-connections-request.mjs} +0 -0
- /package/{esm2015/domain/show-connections-after-calculations/index.js → esm2022/domain/show-connections-after-calculations/index.mjs} +0 -0
- /package/{esm2015/domain/show-connections-after-calculations/show-connections-after-calculations-request.js → esm2022/domain/show-connections-after-calculations/show-connections-after-calculations-request.mjs} +0 -0
- /package/{esm2015/domain/sort-item-layers/index.js → esm2022/domain/sort-item-layers/index.mjs} +0 -0
- /package/{esm2015/domain/sort-item-layers/sort-item-layers.request.js → esm2022/domain/sort-item-layers/sort-item-layers.request.mjs} +0 -0
- /package/{esm2015/domain/sort-item-layers/sort-items-by-parent/index.js → esm2022/domain/sort-item-layers/sort-items-by-parent/index.mjs} +0 -0
- /package/{esm2015/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.request.js → esm2022/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.request.mjs} +0 -0
- /package/{esm2015/domain/sort-item-layers/sort-node-layers-by-groups/index.js → esm2022/domain/sort-item-layers/sort-node-layers-by-groups/index.mjs} +0 -0
- /package/{esm2015/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.request.js → esm2022/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.request.mjs} +0 -0
- /package/{esm2015/domain/subscribe-on-transform-changes/index.js → esm2022/domain/subscribe-on-transform-changes/index.mjs} +0 -0
- /package/{esm2015/domain/subscribe-on-transform-changes/subscribe-on-transform-changes.request.js → esm2022/domain/subscribe-on-transform-changes/subscribe-on-transform-changes.request.mjs} +0 -0
- /package/{esm2015/domain/update-item-and-children-layers/index.js → esm2022/domain/update-item-and-children-layers/index.mjs} +0 -0
- /package/{esm2015/domain/update-item-and-children-layers/move-front-elements-before-target-element/index.js → esm2022/domain/update-item-and-children-layers/move-front-elements-before-target-element/index.mjs} +0 -0
- /package/{esm2015/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element.request.js → esm2022/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element.request.mjs} +0 -0
- /package/{esm2015/domain/update-item-and-children-layers/update-item-and-children-layers.request.js → esm2022/domain/update-item-and-children-layers/update-item-and-children-layers.request.mjs} +0 -0
- /package/{esm2015/errors/conflict-error.js → esm2022/errors/conflict-error.mjs} +0 -0
- /package/{esm2015/errors/create-error-class.js → esm2022/errors/create-error-class.mjs} +0 -0
- /package/{esm2015/errors/errors.js → esm2022/errors/errors.mjs} +0 -0
- /package/{esm2015/errors/index.js → esm2022/errors/index.mjs} +0 -0
- /package/{esm2015/errors/not-found-error.js → esm2022/errors/not-found-error.mjs} +0 -0
- /package/{esm2015/f-backgroud/domain/i-f-background-pattern.js → esm2022/f-backgroud/domain/i-f-background-pattern.mjs} +0 -0
- /package/{esm2015/f-backgroud/domain/index.js → esm2022/f-backgroud/domain/index.mjs} +0 -0
- /package/{esm2015/f-backgroud/f-circle-pattern/index.js → esm2022/f-backgroud/f-circle-pattern/index.mjs} +0 -0
- /package/{esm2015/f-backgroud/f-rect-pattern/index.js → esm2022/f-backgroud/f-rect-pattern/index.mjs} +0 -0
- /package/{esm2015/f-backgroud/index.js → esm2022/f-backgroud/index.mjs} +0 -0
- /package/{esm2015/f-backgroud/providers.js → esm2022/f-backgroud/providers.mjs} +0 -0
- /package/{esm2015/f-canvas/domain/f-canvas-change.event.js → esm2022/f-canvas/domain/f-canvas-change.event.mjs} +0 -0
- /package/{esm2015/f-canvas/domain/index.js → esm2022/f-canvas/domain/index.mjs} +0 -0
- /package/{esm2015/f-canvas/index.js → esm2022/f-canvas/index.mjs} +0 -0
- /package/{esm2015/f-canvas/providers.js → esm2022/f-canvas/providers.mjs} +0 -0
- /package/{esm2015/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points-request.js → esm2022/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points-request.mjs} +0 -0
- /package/{esm2015/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points.handler.js → esm2022/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points.handler.mjs} +0 -0
- /package/{esm2015/f-connection/common/domain/calculate-center-between-points/index.js → esm2022/f-connection/common/domain/calculate-center-between-points/index.mjs} +0 -0
- /package/{esm2015/f-connection/common/domain/calculate-connection-center/calculate-connection-center-request.js → esm2022/f-connection/common/domain/calculate-connection-center/calculate-connection-center-request.mjs} +0 -0
- /package/{esm2015/f-connection/common/domain/calculate-connection-center/calculate-connection-center.handler.js → esm2022/f-connection/common/domain/calculate-connection-center/calculate-connection-center.handler.mjs} +0 -0
- /package/{esm2015/f-connection/common/domain/calculate-connection-center/index.js → esm2022/f-connection/common/domain/calculate-connection-center/index.mjs} +0 -0
- /package/{esm2015/f-connection/common/domain/f-bezier.path-builder.js → esm2022/f-connection/common/domain/f-bezier.path-builder.mjs} +0 -0
- /package/{esm2015/f-connection/common/domain/f-segment.path-builder.js → esm2022/f-connection/common/domain/f-segment.path-builder.mjs} +0 -0
- /package/{esm2015/f-connection/common/domain/f-straight.path-builder.js → esm2022/f-connection/common/domain/f-straight.path-builder.mjs} +0 -0
- /package/{esm2015/f-connection/common/domain/index.js → esm2022/f-connection/common/domain/index.mjs} +0 -0
- /package/{esm2015/f-connection/common/e-f-connection-behavior.js → esm2022/f-connection/common/e-f-connection-behavior.mjs} +0 -0
- /package/{esm2015/f-connection/common/e-f-connection-type.js → esm2022/f-connection/common/e-f-connection-type.mjs} +0 -0
- /package/{esm2015/f-connection/common/f-connection-identifiers.js → esm2022/f-connection/common/f-connection-identifiers.mjs} +0 -0
- /package/{esm2015/f-connection/common/f-connection-text/i-connection-text.js → esm2022/f-connection/common/f-connection-text/i-connection-text.mjs} +0 -0
- /package/{esm2015/f-connection/common/f-connection-text/index.js → esm2022/f-connection/common/f-connection-text/index.mjs} +0 -0
- /package/{esm2015/f-connection/common/f-connection.injection-token.js → esm2022/f-connection/common/f-connection.injection-token.mjs} +0 -0
- /package/{esm2015/f-connection/common/f-drag-handle/index.js → esm2022/f-connection/common/f-drag-handle/index.mjs} +0 -0
- /package/{esm2015/f-connection/common/f-gradient/i-connection-gradient.js → esm2022/f-connection/common/f-gradient/i-connection-gradient.mjs} +0 -0
- /package/{esm2015/f-connection/common/f-gradient/index.js → esm2022/f-connection/common/f-gradient/index.mjs} +0 -0
- /package/{esm2015/f-connection/common/f-path/get-path-marker-id.js → esm2022/f-connection/common/f-path/get-path-marker-id.mjs} +0 -0
- /package/{esm2015/f-connection/common/f-path/i-connection-path.js → esm2022/f-connection/common/f-path/i-connection-path.mjs} +0 -0
- /package/{esm2015/f-connection/common/f-path/index.js → esm2022/f-connection/common/f-path/index.mjs} +0 -0
- /package/{esm2015/f-connection/common/f-selection/index.js → esm2022/f-connection/common/f-selection/index.mjs} +0 -0
- /package/{esm2015/f-connection/common/i-has-connection-color.js → esm2022/f-connection/common/i-has-connection-color.mjs} +0 -0
- /package/{esm2015/f-connection/common/i-has-connection-from-to.js → esm2022/f-connection/common/i-has-connection-from-to.mjs} +0 -0
- /package/{esm2015/f-connection/common/i-has-connection-text.js → esm2022/f-connection/common/i-has-connection-text.mjs} +0 -0
- /package/{esm2015/f-connection/common/index.js → esm2022/f-connection/common/index.mjs} +0 -0
- /package/{esm2015/f-connection/f-connection/index.js → esm2022/f-connection/f-connection/index.mjs} +0 -0
- /package/{esm2015/f-connection/f-connection-builder/f-connection-builders.js → esm2022/f-connection/f-connection-builder/f-connection-builders.mjs} +0 -0
- /package/{esm2015/f-connection/f-connection-builder/i-f-connection-builder-request.js → esm2022/f-connection/f-connection-builder/i-f-connection-builder-request.mjs} +0 -0
- /package/{esm2015/f-connection/f-connection-builder/i-f-connection-builder-response.js → esm2022/f-connection/f-connection-builder/i-f-connection-builder-response.mjs} +0 -0
- /package/{esm2015/f-connection/f-connection-builder/i-f-connection-builder.js → esm2022/f-connection/f-connection-builder/i-f-connection-builder.mjs} +0 -0
- /package/{esm2015/f-connection/f-connection-builder/i-f-connection-factory-request.js → esm2022/f-connection/f-connection-builder/i-f-connection-factory-request.mjs} +0 -0
- /package/{esm2015/f-connection/f-connection-builder/index.js → esm2022/f-connection/f-connection-builder/index.mjs} +0 -0
- /package/{esm2015/f-connection/f-connection-center/index.js → esm2022/f-connection/f-connection-center/index.mjs} +0 -0
- /package/{esm2015/f-connection/f-connection-for-create/index.js → esm2022/f-connection/f-connection-for-create/index.mjs} +0 -0
- /package/{esm2015/f-connection/f-marker/e-f-marker-type.js → esm2022/f-connection/f-marker/e-f-marker-type.mjs} +0 -0
- /package/{esm2015/f-connection/f-marker/index.js → esm2022/f-connection/f-marker/index.mjs} +0 -0
- /package/{esm2015/f-connection/f-snap-connection/index.js → esm2022/f-connection/f-snap-connection/index.mjs} +0 -0
- /package/{esm2015/f-connection/index.js → esm2022/f-connection/index.mjs} +0 -0
- /package/{esm2015/f-connection/providers.js → esm2022/f-connection/providers.mjs} +0 -0
- /package/{esm2015/f-connectors/domain/calculate-connector-connectable-side/calculate-connector-connectable-side-request.js → esm2022/f-connectors/domain/calculate-connector-connectable-side/calculate-connector-connectable-side-request.mjs} +0 -0
- /package/{esm2015/f-connectors/domain/calculate-connector-connectable-side/calculate-connector-connectable-side.handler.js → esm2022/f-connectors/domain/calculate-connector-connectable-side/calculate-connector-connectable-side.handler.mjs} +0 -0
- /package/{esm2015/f-connectors/domain/calculate-connector-connectable-side/index.js → esm2022/f-connectors/domain/calculate-connector-connectable-side/index.mjs} +0 -0
- /package/{esm2015/f-connectors/domain/index.js → esm2022/f-connectors/domain/index.mjs} +0 -0
- /package/{esm2015/f-connectors/e-f-connectable-side.js → esm2022/f-connectors/e-f-connectable-side.mjs} +0 -0
- /package/{esm2015/f-connectors/f-connector-base.js → esm2022/f-connectors/f-connector-base.mjs} +0 -0
- /package/{esm2015/f-connectors/f-node-input/index.js → esm2022/f-connectors/f-node-input/index.mjs} +0 -0
- /package/{esm2015/f-connectors/f-node-outlet/index.js → esm2022/f-connectors/f-node-outlet/index.mjs} +0 -0
- /package/{esm2015/f-connectors/f-node-outlet/is-node-outlet.js → esm2022/f-connectors/f-node-outlet/is-node-outlet.mjs} +0 -0
- /package/{esm2015/f-connectors/f-node-output/index.js → esm2022/f-connectors/f-node-output/index.mjs} +0 -0
- /package/{esm2015/f-connectors/f-node-output/is-node-output.js → esm2022/f-connectors/f-node-output/is-node-output.mjs} +0 -0
- /package/{esm2015/f-connectors/index.js → esm2022/f-connectors/index.mjs} +0 -0
- /package/{esm2015/f-connectors/providers.js → esm2022/f-connectors/providers.mjs} +0 -0
- /package/{esm2015/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.request.js → esm2022/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.request.mjs} +0 -0
- /package/{esm2015/f-draggable/canvas/canvas-move-finalize/index.js → esm2022/f-draggable/canvas/canvas-move-finalize/index.mjs} +0 -0
- /package/{esm2015/f-draggable/canvas/canvas-move-finalize/providers.js → esm2022/f-draggable/canvas/canvas-move-finalize/providers.mjs} +0 -0
- /package/{esm2015/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.request.js → esm2022/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.request.mjs} +0 -0
- /package/{esm2015/f-draggable/canvas/canvas-move-preparation/index.js → esm2022/f-draggable/canvas/canvas-move-preparation/index.mjs} +0 -0
- /package/{esm2015/f-draggable/canvas/canvas-move-preparation/providers.js → esm2022/f-draggable/canvas/canvas-move-preparation/providers.mjs} +0 -0
- /package/{esm2015/f-draggable/canvas/canvas.drag-handler.js → esm2022/f-draggable/canvas/canvas.drag-handler.mjs} +0 -0
- /package/{esm2015/f-draggable/canvas/index.js → esm2022/f-draggable/canvas/index.mjs} +0 -0
- /package/{esm2015/f-draggable/canvas/providers.js → esm2022/f-draggable/canvas/providers.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.request.js → esm2022/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.request.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/create-connection/create-connection-finalize/index.js → esm2022/f-draggable/connections/create-connection/create-connection-finalize/index.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.request.js → esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.request.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/index.js → esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/index.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.request.js → esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.request.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/index.js → esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/index.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.request.js → esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.request.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/index.js → esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/index.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.request.js → esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.request.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/index.js → esm2022/f-draggable/connections/create-connection/create-connection-preparation/index.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/create-connection/f-create-connection.event.js → esm2022/f-draggable/connections/create-connection/f-create-connection.event.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.request.js → 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/{esm2015/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/index.js → esm2022/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/index.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/create-connection/index.js → esm2022/f-draggable/connections/create-connection/index.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.request.js → esm2022/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.request.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/get-input-under-pointer/index.js → esm2022/f-draggable/connections/get-input-under-pointer/index.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/index.js → esm2022/f-draggable/connections/index.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/providers.js → esm2022/f-draggable/connections/providers.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/reassign-connection/f-reassign-connection.event.js → esm2022/f-draggable/connections/reassign-connection/f-reassign-connection.event.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/reassign-connection/index.js → esm2022/f-draggable/connections/reassign-connection/index.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/reassign-connection/reassign-connection-finalize/index.js → esm2022/f-draggable/connections/reassign-connection/reassign-connection-finalize/index.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.request.js → esm2022/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.request.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/reassign-connection/reassign-connection-preparation/index.js → esm2022/f-draggable/connections/reassign-connection/reassign-connection-preparation/index.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.request.js → esm2022/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.request.mjs} +0 -0
- /package/{esm2015/f-draggable/domain/get-node-padding/get-node-padding.request.js → esm2022/f-draggable/domain/get-node-padding/get-node-padding.request.mjs} +0 -0
- /package/{esm2015/f-draggable/domain/get-node-padding/index.js → esm2022/f-draggable/domain/get-node-padding/index.mjs} +0 -0
- /package/{esm2015/f-draggable/domain/get-normalized-node-rect/get-normalized-node-rect.request.js → esm2022/f-draggable/domain/get-normalized-node-rect/get-normalized-node-rect.request.mjs} +0 -0
- /package/{esm2015/f-draggable/domain/get-normalized-node-rect/index.js → esm2022/f-draggable/domain/get-normalized-node-rect/index.mjs} +0 -0
- /package/{esm2015/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.request.js → esm2022/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.request.mjs} +0 -0
- /package/{esm2015/f-draggable/domain/get-normalized-parent-node-rect/index.js → esm2022/f-draggable/domain/get-normalized-parent-node-rect/index.mjs} +0 -0
- /package/{esm2015/f-draggable/domain/get-parent-nodes/get-parent-nodes.request.js → esm2022/f-draggable/domain/get-parent-nodes/get-parent-nodes.request.mjs} +0 -0
- /package/{esm2015/f-draggable/domain/get-parent-nodes/index.js → esm2022/f-draggable/domain/get-parent-nodes/index.mjs} +0 -0
- /package/{esm2015/f-draggable/domain/index.js → esm2022/f-draggable/domain/index.mjs} +0 -0
- /package/{esm2015/f-draggable/domain/is-array-has-parent-node/index.js → esm2022/f-draggable/domain/is-array-has-parent-node/index.mjs} +0 -0
- /package/{esm2015/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.request.js → esm2022/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.request.mjs} +0 -0
- /package/{esm2015/f-draggable/domain/providers.js → esm2022/f-draggable/domain/providers.mjs} +0 -0
- /package/{esm2015/f-draggable/f-selection-change-event.js → esm2022/f-draggable/f-selection-change-event.mjs} +0 -0
- /package/{esm2015/f-draggable/i-draggable-item.js → esm2022/f-draggable/i-draggable-item.mjs} +0 -0
- /package/{esm2015/f-draggable/i-f-drag-and-drop-plugin.js → esm2022/f-draggable/i-f-drag-and-drop-plugin.mjs} +0 -0
- /package/{esm2015/f-draggable/index.js → esm2022/f-draggable/index.mjs} +0 -0
- /package/{esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.request.js → esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.request.mjs} +0 -0
- /package/{esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/get-node-move-restrictions.request.js → 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/{esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/i-node-move-restrictions.js → esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/i-node-move-restrictions.mjs} +0 -0
- /package/{esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/index.js → esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/index.mjs} +0 -0
- /package/{esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/index.js → esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/index.mjs} +0 -0
- /package/{esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/put-input-connection-handlers-to-array.request.js → 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/{esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/index.js → esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/index.mjs} +0 -0
- /package/{esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/put-output-connection-handlers-to-array.request.js → 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/{esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/i-node-with-distance-restrictions.js → esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/i-node-with-distance-restrictions.mjs} +0 -0
- /package/{esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/index.js → esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/index.mjs} +0 -0
- /package/{esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/providers.js → esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/providers.mjs} +0 -0
- /package/{esm2015/f-draggable/node/index.js → esm2022/f-draggable/node/index.mjs} +0 -0
- /package/{esm2015/f-draggable/node/node-move-finalize/index.js → esm2022/f-draggable/node/node-move-finalize/index.mjs} +0 -0
- /package/{esm2015/f-draggable/node/node-move-finalize/node-move-finalize.request.js → esm2022/f-draggable/node/node-move-finalize/node-move-finalize.request.mjs} +0 -0
- /package/{esm2015/f-draggable/node/node-move-finalize/providers.js → esm2022/f-draggable/node/node-move-finalize/providers.mjs} +0 -0
- /package/{esm2015/f-draggable/node/node-move-preparation/index.js → esm2022/f-draggable/node/node-move-preparation/index.mjs} +0 -0
- /package/{esm2015/f-draggable/node/node-move-preparation/node-move-preparation.request.js → esm2022/f-draggable/node/node-move-preparation/node-move-preparation.request.mjs} +0 -0
- /package/{esm2015/f-draggable/node/node-move-preparation/providers.js → esm2022/f-draggable/node/node-move-preparation/providers.mjs} +0 -0
- /package/{esm2015/f-draggable/node/node-resize-by-child.drag-handler.js → esm2022/f-draggable/node/node-resize-by-child.drag-handler.mjs} +0 -0
- /package/{esm2015/f-draggable/node/providers.js → esm2022/f-draggable/node/providers.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.request.js → esm2022/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.request.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/apply-child-resize-restrictions/index.js → esm2022/f-draggable/node-resize/apply-child-resize-restrictions/index.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/apply-parent-resize-restrictions/apply-parent-resize-restrictions.request.js → esm2022/f-draggable/node-resize/apply-parent-resize-restrictions/apply-parent-resize-restrictions.request.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/apply-parent-resize-restrictions/index.js → esm2022/f-draggable/node-resize/apply-parent-resize-restrictions/index.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/calculate-changed-position/calculate-changed-position.request.js → esm2022/f-draggable/node-resize/calculate-changed-position/calculate-changed-position.request.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/calculate-changed-position/index.js → esm2022/f-draggable/node-resize/calculate-changed-position/index.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/calculate-changed-size/calculate-changed-size.request.js → esm2022/f-draggable/node-resize/calculate-changed-size/calculate-changed-size.request.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/calculate-changed-size/index.js → esm2022/f-draggable/node-resize/calculate-changed-size/index.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.request.js → esm2022/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.request.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/get-node-resize-restrictions/i-node-resize-restrictions.js → esm2022/f-draggable/node-resize/get-node-resize-restrictions/i-node-resize-restrictions.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/get-node-resize-restrictions/index.js → esm2022/f-draggable/node-resize/get-node-resize-restrictions/index.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.request.js → esm2022/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.request.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/get-normalized-children-nodes-rect/index.js → esm2022/f-draggable/node-resize/get-normalized-children-nodes-rect/index.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/index.js → esm2022/f-draggable/node-resize/index.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/node-resize-finalize/index.js → esm2022/f-draggable/node-resize/node-resize-finalize/index.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.request.js → esm2022/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.request.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/node-resize-finalize/providers.js → esm2022/f-draggable/node-resize/node-resize-finalize/providers.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/node-resize-preparation/index.js → esm2022/f-draggable/node-resize/node-resize-preparation/index.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.request.js → esm2022/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.request.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/node-resize-preparation/providers.js → esm2022/f-draggable/node-resize/node-resize-preparation/providers.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/node-resize.drag-handler.js → esm2022/f-draggable/node-resize/node-resize.drag-handler.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/providers.js → esm2022/f-draggable/node-resize/providers.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/resize-direction.js → esm2022/f-draggable/node-resize/resize-direction.mjs} +0 -0
- /package/{esm2015/f-draggable/providers.js → esm2022/f-draggable/providers.mjs} +0 -0
- /package/{esm2015/f-draggable/single-select/index.js → esm2022/f-draggable/single-select/index.mjs} +0 -0
- /package/{esm2015/f-draggable/single-select/providers.js → esm2022/f-draggable/single-select/providers.mjs} +0 -0
- /package/{esm2015/f-draggable/single-select/single-select.request.js → esm2022/f-draggable/single-select/single-select.request.mjs} +0 -0
- /package/{esm2015/f-external-item/domain/external-item-finalize/external-item-finalize.request.js → esm2022/f-external-item/domain/external-item-finalize/external-item-finalize.request.mjs} +0 -0
- /package/{esm2015/f-external-item/domain/external-item-finalize/index.js → esm2022/f-external-item/domain/external-item-finalize/index.mjs} +0 -0
- /package/{esm2015/f-external-item/domain/external-item-finalize/providers.js → esm2022/f-external-item/domain/external-item-finalize/providers.mjs} +0 -0
- /package/{esm2015/f-external-item/domain/external-item-preparation/external-item-preparation.request.js → esm2022/f-external-item/domain/external-item-preparation/external-item-preparation.request.mjs} +0 -0
- /package/{esm2015/f-external-item/domain/external-item-preparation/index.js → esm2022/f-external-item/domain/external-item-preparation/index.mjs} +0 -0
- /package/{esm2015/f-external-item/domain/external-item-preparation/providers.js → esm2022/f-external-item/domain/external-item-preparation/providers.mjs} +0 -0
- /package/{esm2015/f-external-item/domain/external-item.drag-handler.js → esm2022/f-external-item/domain/external-item.drag-handler.mjs} +0 -0
- /package/{esm2015/f-external-item/domain/f-create-node.event.js → esm2022/f-external-item/domain/f-create-node.event.mjs} +0 -0
- /package/{esm2015/f-external-item/domain/index.js → esm2022/f-external-item/domain/index.mjs} +0 -0
- /package/{esm2015/f-external-item/domain/providers.js → esm2022/f-external-item/domain/providers.mjs} +0 -0
- /package/{esm2015/f-external-item/index.js → esm2022/f-external-item/index.mjs} +0 -0
- /package/{esm2015/f-external-item/is-external-item.js → esm2022/f-external-item/is-external-item.mjs} +0 -0
- /package/{esm2015/f-external-item/providers.js → esm2022/f-external-item/providers.mjs} +0 -0
- /package/{esm2015/f-flow/f-flow-base.js → esm2022/f-flow/f-flow-base.mjs} +0 -0
- /package/{esm2015/f-flow/index.js → esm2022/f-flow/index.mjs} +0 -0
- /package/{esm2015/f-flow/providers.js → esm2022/f-flow/providers.mjs} +0 -0
- /package/{esm2015/f-line-alignment/domain/i-line-alignment-rect.js → esm2022/f-line-alignment/domain/i-line-alignment-rect.mjs} +0 -0
- /package/{esm2015/f-line-alignment/domain/i-line-alignment-result.js → esm2022/f-line-alignment/domain/i-line-alignment-result.mjs} +0 -0
- /package/{esm2015/f-line-alignment/domain/i-nearest-coordinate-result.js → esm2022/f-line-alignment/domain/i-nearest-coordinate-result.mjs} +0 -0
- /package/{esm2015/f-line-alignment/domain/index.js → esm2022/f-line-alignment/domain/index.mjs} +0 -0
- /package/{esm2015/f-line-alignment/domain/line-element.js → esm2022/f-line-alignment/domain/line-element.mjs} +0 -0
- /package/{esm2015/f-line-alignment/domain/line-service.js → esm2022/f-line-alignment/domain/line-service.mjs} +0 -0
- /package/{esm2015/f-line-alignment/domain/nearest-coordinate.js → esm2022/f-line-alignment/domain/nearest-coordinate.mjs} +0 -0
- /package/{esm2015/f-line-alignment/index.js → esm2022/f-line-alignment/index.mjs} +0 -0
- /package/{esm2015/f-line-alignment/providers.js → esm2022/f-line-alignment/providers.mjs} +0 -0
- /package/{esm2015/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.request.js → esm2022/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.request.mjs} +0 -0
- /package/{esm2015/f-minimap/domain/calculate-flow-point-from-minimap-point/index.js → esm2022/f-minimap/domain/calculate-flow-point-from-minimap-point/index.mjs} +0 -0
- /package/{esm2015/f-minimap/domain/check-rect-is-finite.js → esm2022/f-minimap/domain/check-rect-is-finite.mjs} +0 -0
- /package/{esm2015/f-minimap/domain/f-minimap-data.js → esm2022/f-minimap/domain/f-minimap-data.mjs} +0 -0
- /package/{esm2015/f-minimap/domain/index.js → esm2022/f-minimap/domain/index.mjs} +0 -0
- /package/{esm2015/f-minimap/domain/minimap-drag-finalize/index.js → esm2022/f-minimap/domain/minimap-drag-finalize/index.mjs} +0 -0
- /package/{esm2015/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.request.js → esm2022/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.request.mjs} +0 -0
- /package/{esm2015/f-minimap/domain/minimap-drag-finalize/providers.js → esm2022/f-minimap/domain/minimap-drag-finalize/providers.mjs} +0 -0
- /package/{esm2015/f-minimap/domain/minimap-drag-preparation/index.js → esm2022/f-minimap/domain/minimap-drag-preparation/index.mjs} +0 -0
- /package/{esm2015/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.request.js → esm2022/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.request.mjs} +0 -0
- /package/{esm2015/f-minimap/domain/minimap-drag-preparation/providers.js → esm2022/f-minimap/domain/minimap-drag-preparation/providers.mjs} +0 -0
- /package/{esm2015/f-minimap/domain/providers.js → esm2022/f-minimap/domain/providers.mjs} +0 -0
- /package/{esm2015/f-minimap/index.js → esm2022/f-minimap/index.mjs} +0 -0
- /package/{esm2015/f-minimap/providers.js → esm2022/f-minimap/providers.mjs} +0 -0
- /package/{esm2015/f-node/domain/index.js → esm2022/f-node/domain/index.mjs} +0 -0
- /package/{esm2015/f-node/domain/is-group.js → esm2022/f-node/domain/is-group.mjs} +0 -0
- /package/{esm2015/f-node/domain/is-node.js → esm2022/f-node/domain/is-node.mjs} +0 -0
- /package/{esm2015/f-node/f-drag-handle/index.js → esm2022/f-node/f-drag-handle/index.mjs} +0 -0
- /package/{esm2015/f-node/f-node-base.js → esm2022/f-node/f-node-base.mjs} +0 -0
- /package/{esm2015/f-node/f-resize-handle/e-f-resize-handle-type.js → esm2022/f-node/f-resize-handle/e-f-resize-handle-type.mjs} +0 -0
- /package/{esm2015/f-node/f-resize-handle/index.js → esm2022/f-node/f-resize-handle/index.mjs} +0 -0
- /package/{esm2015/f-node/f-resize-observer.js → esm2022/f-node/f-resize-observer.mjs} +0 -0
- /package/{esm2015/f-node/f-rotate-handle/index.js → esm2022/f-node/f-rotate-handle/index.mjs} +0 -0
- /package/{esm2015/f-node/index.js → esm2022/f-node/index.mjs} +0 -0
- /package/{esm2015/f-node/providers.js → esm2022/f-node/providers.mjs} +0 -0
- /package/{esm2015/f-selection-area/domain/index.js → esm2022/f-selection-area/domain/index.mjs} +0 -0
- /package/{esm2015/f-selection-area/domain/providers.js → esm2022/f-selection-area/domain/providers.mjs} +0 -0
- /package/{esm2015/f-selection-area/domain/selection-area-finalize/index.js → esm2022/f-selection-area/domain/selection-area-finalize/index.mjs} +0 -0
- /package/{esm2015/f-selection-area/domain/selection-area-finalize/providers.js → esm2022/f-selection-area/domain/selection-area-finalize/providers.mjs} +0 -0
- /package/{esm2015/f-selection-area/domain/selection-area-finalize/selection-area-finalize.request.js → esm2022/f-selection-area/domain/selection-area-finalize/selection-area-finalize.request.mjs} +0 -0
- /package/{esm2015/f-selection-area/domain/selection-area-preparation/index.js → esm2022/f-selection-area/domain/selection-area-preparation/index.mjs} +0 -0
- /package/{esm2015/f-selection-area/domain/selection-area-preparation/providers.js → esm2022/f-selection-area/domain/selection-area-preparation/providers.mjs} +0 -0
- /package/{esm2015/f-selection-area/domain/selection-area-preparation/selection-area-preparation.request.js → esm2022/f-selection-area/domain/selection-area-preparation/selection-area-preparation.request.mjs} +0 -0
- /package/{esm2015/f-selection-area/index.js → esm2022/f-selection-area/index.mjs} +0 -0
- /package/{esm2015/f-selection-area/providers.js → esm2022/f-selection-area/providers.mjs} +0 -0
- /package/{esm2015/f-storage/index.js → esm2022/f-storage/index.mjs} +0 -0
- /package/{esm2015/f-zoom/index.js → esm2022/f-zoom/index.mjs} +0 -0
- /package/{esm2015/f-zoom/providers.js → esm2022/f-zoom/providers.mjs} +0 -0
- /package/{esm2015/foblex-flow.js → esm2022/foblex-flow.mjs} +0 -0
- /package/{esm2015/i-has-host-element.js → esm2022/i-has-host-element.mjs} +0 -0
- /package/{esm2015/i-has-state-changes.js → esm2022/i-has-state-changes.mjs} +0 -0
- /package/{esm2015/mixins/change-selection/i-can-change-selection.js → esm2022/mixins/change-selection/i-can-change-selection.mjs} +0 -0
- /package/{esm2015/mixins/change-selection/index.js → esm2022/mixins/change-selection/index.mjs} +0 -0
- /package/{esm2015/mixins/change-visibility/change-visibility.js → esm2022/mixins/change-visibility/change-visibility.mjs} +0 -0
- /package/{esm2015/mixins/change-visibility/i-can-change-visibility.js → esm2022/mixins/change-visibility/i-can-change-visibility.mjs} +0 -0
- /package/{esm2015/mixins/change-visibility/index.js → esm2022/mixins/change-visibility/index.mjs} +0 -0
- /package/{esm2015/mixins/constructor.js → esm2022/mixins/constructor.mjs} +0 -0
- /package/{esm2015/mixins/index.js → esm2022/mixins/index.mjs} +0 -0
- /package/{esm2015/public-api.js → esm2022/public-api.mjs} +0 -0
- /package/{foblex-flow.d.ts → index.d.ts} +0 -0
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, Input, ViewChild, } from "@angular/core";
|
|
2
|
-
import { Subscription } from 'rxjs';
|
|
3
|
-
import { debounceTime } from 'rxjs/operators';
|
|
4
|
-
import { SubscribeOnTransformChangesRequest } from '../domain';
|
|
5
|
-
import { FMinimapFlowDirective } from './f-minimap-flow.directive';
|
|
6
|
-
import { FMinimapCanvasDirective } from './f-minimap-canvas.directive';
|
|
7
|
-
import { FMinimapViewDirective } from './f-minimap-view.directive';
|
|
8
|
-
import { F_DRAG_AND_DROP_PLUGIN } from '../f-draggable';
|
|
9
|
-
import { MinimapDragFinalizeRequest, MinimapDragPreparationRequest } from './domain';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
import * as i1 from "@foblex/mediator";
|
|
12
|
-
import * as i2 from "./f-minimap-flow.directive";
|
|
13
|
-
import * as i3 from "./f-minimap-canvas.directive";
|
|
14
|
-
import * as i4 from "./f-minimap-view.directive";
|
|
15
|
-
export class FMinimapComponent {
|
|
16
|
-
constructor(elementReference, fMediator) {
|
|
17
|
-
this.elementReference = elementReference;
|
|
18
|
-
this.fMediator = fMediator;
|
|
19
|
-
this.subscriptions$ = new Subscription();
|
|
20
|
-
this.fMinSize = 1000;
|
|
21
|
-
}
|
|
22
|
-
ngAfterViewInit() {
|
|
23
|
-
this.subscriptions$.add(this.subscribeOnTransformChanges());
|
|
24
|
-
}
|
|
25
|
-
subscribeOnTransformChanges() {
|
|
26
|
-
return this.getTransformChanges().pipe(debounceTime(5)).subscribe(() => {
|
|
27
|
-
this.fMinimapFlow.update();
|
|
28
|
-
this.fMinimapView.update();
|
|
29
|
-
this.fMinimapCanvas.redraw();
|
|
30
|
-
});
|
|
31
|
-
}
|
|
32
|
-
getTransformChanges() {
|
|
33
|
-
return this.fMediator.send(new SubscribeOnTransformChangesRequest());
|
|
34
|
-
}
|
|
35
|
-
onPointerDown(event) {
|
|
36
|
-
this.fMediator.send(new MinimapDragPreparationRequest(event, this.fMinimapFlow.model));
|
|
37
|
-
}
|
|
38
|
-
onPointerUp(event) {
|
|
39
|
-
this.fMediator.send(new MinimapDragFinalizeRequest(event));
|
|
40
|
-
}
|
|
41
|
-
ngOnDestroy() {
|
|
42
|
-
this.subscriptions$.unsubscribe();
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
FMinimapComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FMinimapComponent, deps: [{ token: i0.ElementRef }, { token: i1.FMediator }], target: i0.ɵɵFactoryTarget.Component });
|
|
46
|
-
FMinimapComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: FMinimapComponent, selector: "f-minimap", inputs: { fMinSize: "fMinSize" }, host: { classAttribute: "f-component f-minimap" }, providers: [
|
|
47
|
-
{ provide: F_DRAG_AND_DROP_PLUGIN, useExisting: FMinimapComponent },
|
|
48
|
-
], viewQueries: [{ propertyName: "fMinimapCanvas", first: true, predicate: FMinimapCanvasDirective, descendants: true, static: true }, { propertyName: "fMinimapFlow", first: true, predicate: FMinimapFlowDirective, descendants: true, static: true }, { propertyName: "fMinimapView", first: true, predicate: FMinimapViewDirective, descendants: true, static: true }], exportAs: ["fComponent"], ngImport: i0, template: "<svg fMinimapFlow width=\"100%\" height=\"100%\" fLockedContext [fMinSize]=\"fMinSize\">\n <g fMinimapCanvas></g>\n <rect fMinimapView x=\"0\" y=\"0\" width=\"100%\" height=\"100%\" stroke=\"none\"/>\n</svg>\n\n", styles: [":host{display:block;position:absolute}:host svg{overflow:hidden}\n"], directives: [{ type: i2.FMinimapFlowDirective, selector: "svg[fMinimapFlow]", inputs: ["fMinSize"] }, { type: i3.FMinimapCanvasDirective, selector: "g[fMinimapCanvas]" }, { type: i4.FMinimapViewDirective, selector: "rect[fMinimapView]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
49
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FMinimapComponent, decorators: [{
|
|
50
|
-
type: Component,
|
|
51
|
-
args: [{
|
|
52
|
-
selector: 'f-minimap',
|
|
53
|
-
templateUrl: './f-minimap.component.html',
|
|
54
|
-
styleUrls: ['./f-minimap.component.scss'],
|
|
55
|
-
exportAs: 'fComponent',
|
|
56
|
-
host: {
|
|
57
|
-
'class': 'f-component f-minimap',
|
|
58
|
-
},
|
|
59
|
-
providers: [
|
|
60
|
-
{ provide: F_DRAG_AND_DROP_PLUGIN, useExisting: FMinimapComponent },
|
|
61
|
-
],
|
|
62
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
63
|
-
}]
|
|
64
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.FMediator }]; }, propDecorators: { fMinimapCanvas: [{
|
|
65
|
-
type: ViewChild,
|
|
66
|
-
args: [FMinimapCanvasDirective, { static: true }]
|
|
67
|
-
}], fMinimapFlow: [{
|
|
68
|
-
type: ViewChild,
|
|
69
|
-
args: [FMinimapFlowDirective, { static: true }]
|
|
70
|
-
}], fMinimapView: [{
|
|
71
|
-
type: ViewChild,
|
|
72
|
-
args: [FMinimapViewDirective, { static: true }]
|
|
73
|
-
}], fMinSize: [{
|
|
74
|
-
type: Input
|
|
75
|
-
}] } });
|
|
76
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1taW5pbWFwLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi1taW5pbWFwL2YtbWluaW1hcC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtbWluaW1hcC9mLW1pbmltYXAuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNVLHVCQUF1QixFQUFFLFNBQVMsRUFDckMsS0FBSyxFQUFhLFNBQVMsR0FDeEMsTUFBTSxlQUFlLENBQUM7QUFFdkIsT0FBTyxFQUFjLFlBQVksRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUNoRCxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDOUMsT0FBTyxFQUFFLGtDQUFrQyxFQUFFLE1BQU0sV0FBVyxDQUFDO0FBQy9ELE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLDRCQUE0QixDQUFDO0FBQ25FLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxNQUFNLDhCQUE4QixDQUFDO0FBQ3ZFLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLDRCQUE0QixDQUFDO0FBRW5FLE9BQU8sRUFBRSxzQkFBc0IsRUFBdUIsTUFBTSxnQkFBZ0IsQ0FBQztBQUM3RSxPQUFPLEVBQUUsMEJBQTBCLEVBQUUsNkJBQTZCLEVBQUUsTUFBTSxVQ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yRXZlbnQpOiB2b2lkIHtcbiAgICB0aGlzLmZNZWRpYXRvci5zZW5kKG5ldyBNaW5pbWFwRHJhZ1ByZXBhcmF0aW9uUmVxdWVzdChldmVudCwgdGhpcy5mTWluaW1hcEZsb3cubW9kZWwpKTtcbiAgfVxuXG4gIHB1YmxpYyBvblBvaW50ZXJVcChldmVudDogSVBvaW50ZXJFdmVudCk6IHZvaWQge1xuICAgIHRoaXMuZk1lZGlhdG9yLnNlbmQobmV3IE1pbmltYXBEcmFnRmluYWxpemVSZXF1ZXN0KGV2ZW50KSk7XG4gIH1cblxuICBwdWJsaWMgbmdPbkRlc3Ryb3koKTogdm9pZCB7XG4gICAgdGhpcy5zdWJzY3JpcHRpb25zJC51bnN1YnNjcmliZSgpO1xuICB9XG59XG4iLCI8c3ZnIGZNaW5pbWFwRmxvdyB3aWR0aD1cIjEwMCVcIiBoZWlnaHQ9XCIxMDAlXCIgZkxvY2tlZENvbnRleHQgW2ZNaW5TaXplXT1cImZNaW5TaXplXCI+XG4gIDxnIGZNaW5pbWFwQ2FudmFzPjwvZz5cbiAgPHJlY3QgZk1pbmltYXBWaWV3IHg9XCIwXCIgeT1cIjBcIiB3aWR0aD1cIjEwMCVcIiBoZWlnaHQ9XCIxMDAlXCIgc3Ryb2tlPVwibm9uZVwiLz5cbjwvc3ZnPlxuXG4iXX0=
|
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
import { Directive, EventEmitter, Input, Output, } from "@angular/core";
|
|
2
|
-
import { PointExtensions } from '@foblex/2d';
|
|
3
|
-
import { F_NODE, FNodeBase } from './f-node-base';
|
|
4
|
-
import { merge, Subscription } from 'rxjs';
|
|
5
|
-
import { startWith, debounceTime } from 'rxjs/operators';
|
|
6
|
-
import { FResizeObserver } from './f-resize-observer';
|
|
7
|
-
import { CalculateConnectorConnectableSideHandler, CalculateConnectorConnectableSideRequest } from '../f-connectors';
|
|
8
|
-
import { EmitTransformChangesRequest } from '../domain';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
import * as i1 from "../f-storage";
|
|
11
|
-
import * as i2 from "@foblex/mediator";
|
|
12
|
-
import * as i3 from "@foblex/platform";
|
|
13
|
-
let uniqueId = 0;
|
|
14
|
-
export class FGroupDirective extends FNodeBase {
|
|
15
|
-
constructor(elementReference, renderer, fComponentsStore, fMediator, fBrowser) {
|
|
16
|
-
super(elementReference.nativeElement);
|
|
17
|
-
this.renderer = renderer;
|
|
18
|
-
this.fComponentsStore = fComponentsStore;
|
|
19
|
-
this.fMediator = fMediator;
|
|
20
|
-
this.fBrowser = fBrowser;
|
|
21
|
-
this.subscriptions$ = new Subscription();
|
|
22
|
-
this.fId = `f-group-${uniqueId++}`;
|
|
23
|
-
this.fParentId = null;
|
|
24
|
-
this.positionChange = new EventEmitter();
|
|
25
|
-
this.sizeChange = new EventEmitter();
|
|
26
|
-
this.fDraggingDisabled = false;
|
|
27
|
-
this.fSelectionDisabled = false;
|
|
28
|
-
this.fIncludePadding = true;
|
|
29
|
-
this.fConnectOnNode = true;
|
|
30
|
-
this.connectors = [];
|
|
31
|
-
}
|
|
32
|
-
set position(value) {
|
|
33
|
-
this._position = PointExtensions.castToPoint(value);
|
|
34
|
-
this.refresh();
|
|
35
|
-
}
|
|
36
|
-
get position() {
|
|
37
|
-
return this._position;
|
|
38
|
-
}
|
|
39
|
-
set size(value) {
|
|
40
|
-
this._size = value;
|
|
41
|
-
this.refresh();
|
|
42
|
-
}
|
|
43
|
-
get size() {
|
|
44
|
-
return this._size;
|
|
45
|
-
}
|
|
46
|
-
ngOnInit() {
|
|
47
|
-
this.setStyle('position', 'absolute');
|
|
48
|
-
this.setStyle('transform-origin', 'center');
|
|
49
|
-
this.setStyle('user-select', 'none');
|
|
50
|
-
this.setStyle('pointer-events', 'all');
|
|
51
|
-
this.setStyle('left', '0');
|
|
52
|
-
this.setStyle('top', '0');
|
|
53
|
-
super.redraw();
|
|
54
|
-
this.fComponentsStore.addComponent(this.fComponentsStore.fNodes, this);
|
|
55
|
-
}
|
|
56
|
-
setStyle(styleName, value) {
|
|
57
|
-
this.renderer.setStyle(this.hostElement, styleName, value);
|
|
58
|
-
}
|
|
59
|
-
redraw() {
|
|
60
|
-
super.redraw();
|
|
61
|
-
this.fMediator.send(new EmitTransformChangesRequest());
|
|
62
|
-
}
|
|
63
|
-
ngAfterViewInit() {
|
|
64
|
-
if (!this.fBrowser.isBrowser()) {
|
|
65
|
-
return;
|
|
66
|
-
}
|
|
67
|
-
this.subscriptions$.add(this.subscribeOnResizeChanges());
|
|
68
|
-
}
|
|
69
|
-
subscribeOnResizeChanges() {
|
|
70
|
-
return merge(new FResizeObserver(this.hostElement), this.stateChanges).pipe(debounceTime(10), startWith(null)).subscribe(() => {
|
|
71
|
-
this.connectors.forEach((fConnector) => {
|
|
72
|
-
fConnector.fConnectableSide = new CalculateConnectorConnectableSideHandler().handle(new CalculateConnectorConnectableSideRequest(fConnector, this.hostElement));
|
|
73
|
-
});
|
|
74
|
-
this.fComponentsStore.componentDataChanged();
|
|
75
|
-
});
|
|
76
|
-
}
|
|
77
|
-
addConnector(connector) {
|
|
78
|
-
this.connectors.push(connector);
|
|
79
|
-
this.stateChanges.next();
|
|
80
|
-
}
|
|
81
|
-
removeConnector(connector) {
|
|
82
|
-
const index = this.connectors.indexOf(connector);
|
|
83
|
-
if (index !== -1) {
|
|
84
|
-
this.connectors.splice(index, 1);
|
|
85
|
-
}
|
|
86
|
-
this.stateChanges.next();
|
|
87
|
-
}
|
|
88
|
-
refresh() {
|
|
89
|
-
this.stateChanges.next();
|
|
90
|
-
}
|
|
91
|
-
ngOnDestroy() {
|
|
92
|
-
this.fComponentsStore.removeComponent(this.fComponentsStore.fNodes, this);
|
|
93
|
-
this.stateChanges.complete();
|
|
94
|
-
this.subscriptions$.unsubscribe();
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
FGroupDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FGroupDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.FComponentsStore }, { token: i2.FMediator }, { token: i3.BrowserService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
98
|
-
FGroupDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: FGroupDirective, selector: "[fGroup]", inputs: { fId: ["fGroupId", "fId"], fParentId: ["fGroupParentId", "fParentId"], position: ["fGroupPosition", "position"], size: ["fGroupSize", "size"], fDraggingDisabled: ["fGroupDraggingDisabled", "fDraggingDisabled"], fSelectionDisabled: ["fGroupSelectionDisabled", "fSelectionDisabled"], fIncludePadding: "fIncludePadding", fConnectOnNode: "fConnectOnNode" }, outputs: { positionChange: "fGroupPositionChange", sizeChange: "fGroupSizeChange" }, host: { properties: { "attr.data-f-group-id": "fId", "class.f-group-dragging-disabled": "fDraggingDisabled", "class.f-group-selection-disabled": "fSelectionDisabled" }, classAttribute: "f-group f-component" }, providers: [
|
|
99
|
-
{ provide: F_NODE, useExisting: FGroupDirective }
|
|
100
|
-
], exportAs: ["fComponent"], usesInheritance: true, ngImport: i0 });
|
|
101
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FGroupDirective, decorators: [{
|
|
102
|
-
type: Directive,
|
|
103
|
-
args: [{
|
|
104
|
-
selector: "[fGroup]",
|
|
105
|
-
exportAs: "fComponent",
|
|
106
|
-
host: {
|
|
107
|
-
'[attr.data-f-group-id]': 'fId',
|
|
108
|
-
class: "f-group f-component",
|
|
109
|
-
'[class.f-group-dragging-disabled]': 'fDraggingDisabled',
|
|
110
|
-
'[class.f-group-selection-disabled]': 'fSelectionDisabled',
|
|
111
|
-
},
|
|
112
|
-
providers: [
|
|
113
|
-
{ provide: F_NODE, useExisting: FGroupDirective }
|
|
114
|
-
],
|
|
115
|
-
}]
|
|
116
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.FComponentsStore }, { type: i2.FMediator }, { type: i3.BrowserService }]; }, propDecorators: { fId: [{
|
|
117
|
-
type: Input,
|
|
118
|
-
args: ['fGroupId']
|
|
119
|
-
}], fParentId: [{
|
|
120
|
-
type: Input,
|
|
121
|
-
args: ['fGroupParentId']
|
|
122
|
-
}], position: [{
|
|
123
|
-
type: Input,
|
|
124
|
-
args: ['fGroupPosition']
|
|
125
|
-
}], positionChange: [{
|
|
126
|
-
type: Output,
|
|
127
|
-
args: ['fGroupPositionChange']
|
|
128
|
-
}], size: [{
|
|
129
|
-
type: Input,
|
|
130
|
-
args: ['fGroupSize']
|
|
131
|
-
}], sizeChange: [{
|
|
132
|
-
type: Output,
|
|
133
|
-
args: ['fGroupSizeChange']
|
|
134
|
-
}], fDraggingDisabled: [{
|
|
135
|
-
type: Input,
|
|
136
|
-
args: ['fGroupDraggingDisabled']
|
|
137
|
-
}], fSelectionDisabled: [{
|
|
138
|
-
type: Input,
|
|
139
|
-
args: ['fGroupSelectionDisabled']
|
|
140
|
-
}], fIncludePadding: [{
|
|
141
|
-
type: Input
|
|
142
|
-
}], fConnectOnNode: [{
|
|
143
|
-
type: Input
|
|
144
|
-
}] } });
|
|
145
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1ncm91cC5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2Ytbm9kZS9mLWdyb3VwLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBRUwsU0FBUyxFQUVULFlBQVksRUFDWixLQUFLLEVBR0wsTUFBTSxHQUVQLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBd0IsZUFBZSxFQUFFLE1BQU0sWUFBWSxDQUFDO0FBQ25FLE9BQU8sRUFBRSxNQUFNLEVBQUUsU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xldGUoKTtcbiAgICB0aGlzLnN1YnNjcmlwdGlvbnMkLnVuc3Vic2NyaWJlKCk7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
import { Directive, EventEmitter, Input, Output, } from "@angular/core";
|
|
2
|
-
import { PointExtensions } from '@foblex/2d';
|
|
3
|
-
import { merge, Subscription } from 'rxjs';
|
|
4
|
-
import { startWith, debounceTime } from 'rxjs/operators';
|
|
5
|
-
import { FResizeObserver } from './f-resize-observer';
|
|
6
|
-
import { CalculateConnectorConnectableSideHandler, CalculateConnectorConnectableSideRequest } from '../f-connectors';
|
|
7
|
-
import { EmitTransformChangesRequest } from '../domain';
|
|
8
|
-
import { F_NODE, FNodeBase } from './f-node-base';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
import * as i1 from "../f-storage";
|
|
11
|
-
import * as i2 from "@foblex/mediator";
|
|
12
|
-
import * as i3 from "@foblex/platform";
|
|
13
|
-
let uniqueId = 0;
|
|
14
|
-
export class FNodeDirective extends FNodeBase {
|
|
15
|
-
constructor(elementReference, renderer, fComponentsStore, fMediator, fBrowser) {
|
|
16
|
-
super(elementReference.nativeElement);
|
|
17
|
-
this.renderer = renderer;
|
|
18
|
-
this.fComponentsStore = fComponentsStore;
|
|
19
|
-
this.fMediator = fMediator;
|
|
20
|
-
this.fBrowser = fBrowser;
|
|
21
|
-
this.subscriptions$ = new Subscription();
|
|
22
|
-
this.fId = `f-node-${uniqueId++}`;
|
|
23
|
-
this.fParentId = null;
|
|
24
|
-
this.positionChange = new EventEmitter();
|
|
25
|
-
this.sizeChange = new EventEmitter();
|
|
26
|
-
this.fDraggingDisabled = false;
|
|
27
|
-
this.fSelectionDisabled = false;
|
|
28
|
-
this.fIncludePadding = true;
|
|
29
|
-
//TODO: Add ability to connect to first connectable input if node is under pointer
|
|
30
|
-
this.fConnectOnNode = true;
|
|
31
|
-
this.connectors = [];
|
|
32
|
-
}
|
|
33
|
-
set position(value) {
|
|
34
|
-
this._position = PointExtensions.castToPoint(value);
|
|
35
|
-
this.refresh();
|
|
36
|
-
}
|
|
37
|
-
get position() {
|
|
38
|
-
return this._position;
|
|
39
|
-
}
|
|
40
|
-
set size(value) {
|
|
41
|
-
this._size = value;
|
|
42
|
-
this.refresh();
|
|
43
|
-
}
|
|
44
|
-
get size() {
|
|
45
|
-
return this._size;
|
|
46
|
-
}
|
|
47
|
-
ngOnInit() {
|
|
48
|
-
this.setStyle('position', 'absolute');
|
|
49
|
-
this.setStyle('transform-origin', 'center');
|
|
50
|
-
this.setStyle('user-select', 'none');
|
|
51
|
-
this.setStyle('pointer-events', 'all');
|
|
52
|
-
this.setStyle('left', '0');
|
|
53
|
-
this.setStyle('top', '0');
|
|
54
|
-
super.redraw();
|
|
55
|
-
this.fComponentsStore.addComponent(this.fComponentsStore.fNodes, this);
|
|
56
|
-
}
|
|
57
|
-
setStyle(styleName, value) {
|
|
58
|
-
this.renderer.setStyle(this.hostElement, styleName, value);
|
|
59
|
-
}
|
|
60
|
-
redraw() {
|
|
61
|
-
super.redraw();
|
|
62
|
-
this.fMediator.send(new EmitTransformChangesRequest());
|
|
63
|
-
}
|
|
64
|
-
ngAfterViewInit() {
|
|
65
|
-
if (!this.fBrowser.isBrowser()) {
|
|
66
|
-
return;
|
|
67
|
-
}
|
|
68
|
-
this.subscriptions$.add(this.subscribeOnResizeChanges());
|
|
69
|
-
}
|
|
70
|
-
subscribeOnResizeChanges() {
|
|
71
|
-
return merge(new FResizeObserver(this.hostElement), this.stateChanges).pipe(debounceTime(10), startWith(null)).subscribe(() => {
|
|
72
|
-
this.connectors.forEach((fConnector) => {
|
|
73
|
-
fConnector.fConnectableSide = new CalculateConnectorConnectableSideHandler().handle(new CalculateConnectorConnectableSideRequest(fConnector, this.hostElement));
|
|
74
|
-
});
|
|
75
|
-
this.fComponentsStore.componentDataChanged();
|
|
76
|
-
});
|
|
77
|
-
}
|
|
78
|
-
addConnector(connector) {
|
|
79
|
-
this.connectors.push(connector);
|
|
80
|
-
this.stateChanges.next();
|
|
81
|
-
}
|
|
82
|
-
removeConnector(connector) {
|
|
83
|
-
const index = this.connectors.indexOf(connector);
|
|
84
|
-
if (index !== -1) {
|
|
85
|
-
this.connectors.splice(index, 1);
|
|
86
|
-
}
|
|
87
|
-
this.stateChanges.next();
|
|
88
|
-
}
|
|
89
|
-
refresh() {
|
|
90
|
-
this.stateChanges.next();
|
|
91
|
-
}
|
|
92
|
-
ngOnDestroy() {
|
|
93
|
-
this.fComponentsStore.removeComponent(this.fComponentsStore.fNodes, this);
|
|
94
|
-
this.stateChanges.complete();
|
|
95
|
-
this.subscriptions$.unsubscribe();
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
FNodeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FNodeDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.FComponentsStore }, { token: i2.FMediator }, { token: i3.BrowserService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
99
|
-
FNodeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: FNodeDirective, selector: "[fNode]", inputs: { fId: ["fNodeId", "fId"], fParentId: ["fNodeParentId", "fParentId"], position: ["fNodePosition", "position"], size: ["fNodeSize", "size"], fDraggingDisabled: ["fNodeDraggingDisabled", "fDraggingDisabled"], fSelectionDisabled: ["fNodeSelectionDisabled", "fSelectionDisabled"], fIncludePadding: "fIncludePadding", fConnectOnNode: "fConnectOnNode" }, outputs: { positionChange: "fNodePositionChange", sizeChange: "fNodeSizeChange" }, host: { properties: { "attr.data-f-node-id": "fId", "class.f-node-dragging-disabled": "fDraggingDisabled", "class.f-node-selection-disabled": "fSelectionDisabled" }, classAttribute: "f-node f-component" }, providers: [
|
|
100
|
-
{ provide: F_NODE, useExisting: FNodeDirective }
|
|
101
|
-
], exportAs: ["fComponent"], usesInheritance: true, ngImport: i0 });
|
|
102
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FNodeDirective, decorators: [{
|
|
103
|
-
type: Directive,
|
|
104
|
-
args: [{
|
|
105
|
-
selector: "[fNode]",
|
|
106
|
-
exportAs: "fComponent",
|
|
107
|
-
host: {
|
|
108
|
-
'[attr.data-f-node-id]': 'fId',
|
|
109
|
-
class: "f-node f-component",
|
|
110
|
-
'[class.f-node-dragging-disabled]': 'fDraggingDisabled',
|
|
111
|
-
'[class.f-node-selection-disabled]': 'fSelectionDisabled',
|
|
112
|
-
},
|
|
113
|
-
providers: [
|
|
114
|
-
{ provide: F_NODE, useExisting: FNodeDirective }
|
|
115
|
-
],
|
|
116
|
-
}]
|
|
117
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.FComponentsStore }, { type: i2.FMediator }, { type: i3.BrowserService }]; }, propDecorators: { fId: [{
|
|
118
|
-
type: Input,
|
|
119
|
-
args: ['fNodeId']
|
|
120
|
-
}], fParentId: [{
|
|
121
|
-
type: Input,
|
|
122
|
-
args: ['fNodeParentId']
|
|
123
|
-
}], position: [{
|
|
124
|
-
type: Input,
|
|
125
|
-
args: ['fNodePosition']
|
|
126
|
-
}], positionChange: [{
|
|
127
|
-
type: Output,
|
|
128
|
-
args: ['fNodePositionChange']
|
|
129
|
-
}], size: [{
|
|
130
|
-
type: Input,
|
|
131
|
-
args: ['fNodeSize']
|
|
132
|
-
}], sizeChange: [{
|
|
133
|
-
type: Output,
|
|
134
|
-
args: ['fNodeSizeChange']
|
|
135
|
-
}], fDraggingDisabled: [{
|
|
136
|
-
type: Input,
|
|
137
|
-
args: ['fNodeDraggingDisabled']
|
|
138
|
-
}], fSelectionDisabled: [{
|
|
139
|
-
type: Input,
|
|
140
|
-
args: ['fNodeSelectionDisabled']
|
|
141
|
-
}], fIncludePadding: [{
|
|
142
|
-
type: Input
|
|
143
|
-
}], fConnectOnNode: [{
|
|
144
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oYW5nZXMubmV4dCgpO1xuICB9XG5cbiAgcHVibGljIG92ZXJyaWRlIHJlbW92ZUNvbm5lY3Rvcihjb25uZWN0b3I6IEZDb25uZWN0b3JCYXNlKTogdm9pZCB7XG4gICAgY29uc3QgaW5kZXggPSB0aGlzLmNvbm5lY3RvcnMuaW5kZXhPZihjb25uZWN0b3IpO1xuICAgIGlmIChpbmRleCAhPT0gLTEpIHtcbiAgICAgIHRoaXMuY29ubmVjdG9ycy5zcGxpY2UoaW5kZXgsIDEpO1xuICAgIH1cbiAgICB0aGlzLnN0YXRlQ2hhbmdlcy5uZXh0KCk7XG4gIH1cblxuICBwdWJsaWMgcmVmcmVzaCgpOiB2b2lkIHtcbiAgICB0aGlzLnN0YXRlQ2hhbmdlcy5uZXh0KCk7XG4gIH1cblxuICBwdWJsaWMgbmdPbkRlc3Ryb3koKTogdm9pZCB7XG4gICAgdGhpcy5mQ29tcG9uZW50c1N0b3JlLnJlbW92ZUNvbXBvbmVudCh0aGlzLmZDb21wb25lbnRzU3RvcmUuZk5vZGVzLCB0aGlzKTtcbiAgICB0aGlzLnN0YXRlQ2hhbmdlcy5jb21wbGV0ZSgpO1xuICAgIHRoaXMuc3Vic2NyaXB0aW9ucyQudW5zdWJzY3JpYmUoKTtcbiAgfVxufVxuIl19
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { Directive, HostBinding, InjectionToken, Input } from "@angular/core";
|
|
2
|
-
import { EFResizeHandleType } from './e-f-resize-handle-type';
|
|
3
|
-
import { castToEnum } from '@foblex/utils';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export const F_RESIZE_HANDLE = new InjectionToken('F_RESIZE_HANDLE');
|
|
6
|
-
export class FResizeHandleDirective {
|
|
7
|
-
constructor(elementReference) {
|
|
8
|
-
this.elementReference = elementReference;
|
|
9
|
-
this._type = EFResizeHandleType.LEFT_TOP;
|
|
10
|
-
}
|
|
11
|
-
set type(type) {
|
|
12
|
-
this._type = castToEnum(type, 'fResizeHandleType', EFResizeHandleType);
|
|
13
|
-
}
|
|
14
|
-
get type() {
|
|
15
|
-
return this._type;
|
|
16
|
-
}
|
|
17
|
-
get typeClass() {
|
|
18
|
-
return `f-resize-handle-${EFResizeHandleType[this.type.toUpperCase()]}`;
|
|
19
|
-
}
|
|
20
|
-
get hostElement() {
|
|
21
|
-
return this.elementReference.nativeElement;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
FResizeHandleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FResizeHandleDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
25
|
-
FResizeHandleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: FResizeHandleDirective, selector: "[fResizeHandle]", inputs: { type: ["fResizeHandleType", "type"] }, host: { properties: { "attr.data-f-resize-handle-type": "type", "class": "this.typeClass" }, classAttribute: "f-resize-handle f-component" }, providers: [{ provide: F_RESIZE_HANDLE, useExisting: FResizeHandleDirective }], ngImport: i0 });
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FResizeHandleDirective, decorators: [{
|
|
27
|
-
type: Directive,
|
|
28
|
-
args: [{
|
|
29
|
-
selector: "[fResizeHandle]",
|
|
30
|
-
host: {
|
|
31
|
-
class: `f-resize-handle f-component`,
|
|
32
|
-
'[attr.data-f-resize-handle-type]': 'type',
|
|
33
|
-
},
|
|
34
|
-
providers: [{ provide: F_RESIZE_HANDLE, useExisting: FResizeHandleDirective }],
|
|
35
|
-
}]
|
|
36
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { type: [{
|
|
37
|
-
type: Input,
|
|
38
|
-
args: ['fResizeHandleType']
|
|
39
|
-
}], typeClass: [{
|
|
40
|
-
type: HostBinding,
|
|
41
|
-
args: ['class']
|
|
42
|
-
}] } });
|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gIHJldHVybiBgZi1yZXNpemUtaGFuZGxlLSR7IEVGUmVzaXplSGFuZGxlVHlwZVsgdGhpcy50eXBlLnRvVXBwZXJDYXNlKCkgYXMga2V5b2YgdHlwZW9mIEVGUmVzaXplSGFuZGxlVHlwZSBdIH1gO1xuICB9XG5cbiAgcHVibGljIGdldCBob3N0RWxlbWVudCgpOiBIVE1MRWxlbWVudCB7XG4gICAgcmV0dXJuIHRoaXMuZWxlbWVudFJlZmVyZW5jZS5uYXRpdmVFbGVtZW50O1xuICB9XG5cbiAgY29uc3RydWN0b3IoXG4gICAgcHJpdmF0ZSBlbGVtZW50UmVmZXJlbmNlOiBFbGVtZW50UmVmPEhUTUxFbGVtZW50PlxuICApIHtcbiAgfVxufVxuIl19
|
package/esm2015/f-selection-area/domain/selection-area-finalize/selection-area-finalize.execution.js
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { Injectable } from '@angular/core';
|
|
3
|
-
import { SelectionAreaFinalizeRequest } from './selection-area-finalize.request';
|
|
4
|
-
import { FExecutionRegister } from '@foblex/mediator';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "../../../f-draggable";
|
|
7
|
-
let SelectionAreaFinalizeExecution = class SelectionAreaFinalizeExecution {
|
|
8
|
-
constructor(fDraggableDataContext) {
|
|
9
|
-
this.fDraggableDataContext = fDraggableDataContext;
|
|
10
|
-
}
|
|
11
|
-
handle(request) {
|
|
12
|
-
this.fDraggableDataContext.draggableItems.forEach((x) => {
|
|
13
|
-
var _a;
|
|
14
|
-
(_a = x.complete) === null || _a === void 0 ? void 0 : _a.call(x);
|
|
15
|
-
});
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
SelectionAreaFinalizeExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SelectionAreaFinalizeExecution, deps: [{ token: i1.FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
19
|
-
SelectionAreaFinalizeExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SelectionAreaFinalizeExecution });
|
|
20
|
-
SelectionAreaFinalizeExecution = __decorate([
|
|
21
|
-
FExecutionRegister(SelectionAreaFinalizeRequest)
|
|
22
|
-
], SelectionAreaFinalizeExecution);
|
|
23
|
-
export { SelectionAreaFinalizeExecution };
|
|
24
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SelectionAreaFinalizeExecution, decorators: [{
|
|
25
|
-
type: Injectable
|
|
26
|
-
}], ctorParameters: function () { return [{ type: i1.FDraggableDataContext }]; } });
|
|
27
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0aW9uLWFyZWEtZmluYWxpemUuZXhlY3V0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLXNlbGVjdGlvbi1hcmVhL2RvbWFpbi9zZWxlY3Rpb24tYXJlYS1maW5hbGl6ZS9zZWxlY3Rpb24tYXJlYS1maW5hbGl6ZS5leGVjdXRpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxFQUFFLDRCQUE0QixFQUFFLE1BQU0sbUNBQW1DLENBQUM7QUFDakYsT0FBTyxFQUFFLGtCQUFrQixFQUFjLE1BQU0sa0JBQWtCLENBQUM7OztJQUtyRCw4QkFBOEIsU0FBOUIsOEJBQThCO0lBRXpDLFlBQ1UscUJBQTRDO1FBQTVDLDBCQUFxQixHQUFyQixxQkFBcUIsQ0FBdUI7SUFFdEQsQ0FBQztJQUVNLE1BQU0sQ0FBQyx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GRHJhZ2dhYmxlRGF0YUNvbnRleHQsXG4gICkge1xuICB9XG5cbiAgcHVibGljIGhhbmRsZShyZXF1ZXN0OiBTZWxlY3Rpb25BcmVhRmluYWxpemVSZXF1ZXN0KTogdm9pZCB7XG4gICAgdGhpcy5mRHJhZ2dhYmxlRGF0YUNvbnRleHQuZHJhZ2dhYmxlSXRlbXMuZm9yRWFjaCgoeCkgPT4ge1xuICAgICAgeC5jb21wbGV0ZT8uKCk7XG4gICAgfSk7XG4gIH1cbn1cbiJdfQ==
|
package/esm2015/f-selection-area/domain/selection-area-finalize/selection-area-finalize.validator.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { Injectable } from '@angular/core';
|
|
3
|
-
import { SelectionAreaFinalizeRequest } from './selection-area-finalize.request';
|
|
4
|
-
import { FValidatorRegister } from '@foblex/mediator';
|
|
5
|
-
import { SelectionAreaDragHandle } from '../selection-area.drag-handle';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "../../../f-draggable";
|
|
8
|
-
let SelectionAreaFinalizeValidator = class SelectionAreaFinalizeValidator {
|
|
9
|
-
constructor(fDraggableDataContext) {
|
|
10
|
-
this.fDraggableDataContext = fDraggableDataContext;
|
|
11
|
-
}
|
|
12
|
-
handle(request) {
|
|
13
|
-
return this.fDraggableDataContext.draggableItems.some((x) => x instanceof SelectionAreaDragHandle);
|
|
14
|
-
}
|
|
15
|
-
};
|
|
16
|
-
SelectionAreaFinalizeValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SelectionAreaFinalizeValidator, deps: [{ token: i1.FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
17
|
-
SelectionAreaFinalizeValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SelectionAreaFinalizeValidator });
|
|
18
|
-
SelectionAreaFinalizeValidator = __decorate([
|
|
19
|
-
FValidatorRegister(SelectionAreaFinalizeRequest)
|
|
20
|
-
], SelectionAreaFinalizeValidator);
|
|
21
|
-
export { SelectionAreaFinalizeValidator };
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SelectionAreaFinalizeValidator, decorators: [{
|
|
23
|
-
type: Injectable
|
|
24
|
-
}], ctorParameters: function () { return [{ type: i1.FDraggableDataContext }]; } });
|
|
25
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0aW9uLWFyZWEtZmluYWxpemUudmFsaWRhdG9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLXNlbGVjdGlvbi1hcmVhL2RvbWFpbi9zZWxlY3Rpb24tYXJlYS1maW5hbGl6ZS9zZWxlY3Rpb24tYXJlYS1maW5hbGl6ZS52YWxpZGF0b3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxFQUFFLDRCQUE0QixFQUFFLE1BQU0sbUNBQW1DLENBQUM7QUFDakYsT0FBTyxFQUFFLGtCQUFrQixFQUFjLE1BQU0sa0JBQWtCLENBQUM7QUFFbEUsT0FBTyxFQUFFLHVCQUF1QixFQUFFLE1BQU0sK0JBQStCLENBQUM7OztJQUkzRCw4QkFBOEIsU0FBOUIsOEJBQThCO0lBRXpDLFlBQ1UscUJBQTRDO1FBQTVDLDBCQUFxQixHQUFyQixxQkFBcUIsQ0FBdUI7SUFFdEQsQ0FBQztJQUVNLE1BQU0sQ0FBQyxPQUFxQztRQUNqRCxPQUFPLElBQUksQ0FBQyxxQkFBcUIsQ0FBQyxjQUFjLENBQUMsSUFBSSxDQU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VEYXRhQ29udGV4dFxuICApIHtcbiAgfVxuXG4gIHB1YmxpYyBoYW5kbGUocmVxdWVzdDogU2VsZWN0aW9uQXJlYUZpbmFsaXplUmVxdWVzdCk6IGJvb2xlYW4ge1xuICAgIHJldHVybiB0aGlzLmZEcmFnZ2FibGVEYXRhQ29udGV4dC5kcmFnZ2FibGVJdGVtcy5zb21lKCh4KSA9PlxuICAgICAgeCBpbnN0YW5jZW9mIFNlbGVjdGlvbkFyZWFEcmFnSGFuZGxlXG4gICAgKTtcbiAgfVxufVxuIl19
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { Injectable } from '@angular/core';
|
|
3
|
-
import { SelectionAreaPreparationRequest } from './selection-area-preparation.request';
|
|
4
|
-
import { Point } from '@foblex/2d';
|
|
5
|
-
import { FExecutionRegister } from '@foblex/mediator';
|
|
6
|
-
import { SelectionAreaDragHandle } from '../selection-area.drag-handle';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
import * as i1 from "../../../f-storage";
|
|
9
|
-
import * as i2 from "../../../f-draggable";
|
|
10
|
-
import * as i3 from "@foblex/mediator";
|
|
11
|
-
let SelectionAreaPreparationExecution = class SelectionAreaPreparationExecution {
|
|
12
|
-
constructor(fComponentsStore, fDraggableDataContext, fMediator) {
|
|
13
|
-
this.fComponentsStore = fComponentsStore;
|
|
14
|
-
this.fDraggableDataContext = fDraggableDataContext;
|
|
15
|
-
this.fMediator = fMediator;
|
|
16
|
-
}
|
|
17
|
-
get flowHost() {
|
|
18
|
-
return this.fComponentsStore.fFlow.hostElement;
|
|
19
|
-
}
|
|
20
|
-
handle(request) {
|
|
21
|
-
this.fDraggableDataContext.draggableItems = [
|
|
22
|
-
new SelectionAreaDragHandle(this.fComponentsStore, request.fSelectionArea, this.fDraggableDataContext, this.fMediator)
|
|
23
|
-
];
|
|
24
|
-
this.fDraggableDataContext.onPointerDownScale = 1;
|
|
25
|
-
this.fDraggableDataContext.onPointerDownPosition = Point.fromPoint(request.event.getPosition())
|
|
26
|
-
.elementTransform(this.flowHost);
|
|
27
|
-
}
|
|
28
|
-
};
|
|
29
|
-
SelectionAreaPreparationExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SelectionAreaPreparationExecution, deps: [{ token: i1.FComponentsStore }, { token: i2.FDraggableDataContext }, { token: i3.FMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
30
|
-
SelectionAreaPreparationExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SelectionAreaPreparationExecution });
|
|
31
|
-
SelectionAreaPreparationExecution = __decorate([
|
|
32
|
-
FExecutionRegister(SelectionAreaPreparationRequest)
|
|
33
|
-
], SelectionAreaPreparationExecution);
|
|
34
|
-
export { SelectionAreaPreparationExecution };
|
|
35
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SelectionAreaPreparationExecution, decorators: [{
|
|
36
|
-
type: Injectable
|
|
37
|
-
}], ctorParameters: function () { return [{ type: i1.FComponentsStore }, { type: i2.FDraggableDataContext }, { type: i3.FMediator }]; } });
|
|
38
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0aW9uLWFyZWEtcHJlcGFyYXRpb24uZXhlY3V0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLXNlbGVjdGlvbi1hcmVhL2RvbWFpbi9zZWxlY3Rpb24tYXJlYS1wcmVwYXJhdGlvbi9zZWxlY3Rpb24tYXJlYS1wcmVwYXJhdGlvbi5leGVjdXRpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxl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
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { Injectable } from '@angular/core';
|
|
3
|
-
import { SelectionAreaPreparationRequest } from './selection-area-preparation.request';
|
|
4
|
-
import { FValidatorRegister } from '@foblex/mediator';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "../../../f-draggable";
|
|
7
|
-
let SelectionAreaPreparationValidator = class SelectionAreaPreparationValidator {
|
|
8
|
-
constructor(fDraggableDataContext) {
|
|
9
|
-
this.fDraggableDataContext = fDraggableDataContext;
|
|
10
|
-
}
|
|
11
|
-
handle(request) {
|
|
12
|
-
return this.isDragHandlesEmpty()
|
|
13
|
-
&& this.isShiftPressed(request.event.originalEvent);
|
|
14
|
-
}
|
|
15
|
-
isDragHandlesEmpty() {
|
|
16
|
-
return !this.fDraggableDataContext.draggableItems.length;
|
|
17
|
-
}
|
|
18
|
-
isShiftPressed(event) {
|
|
19
|
-
return event.shiftKey;
|
|
20
|
-
}
|
|
21
|
-
};
|
|
22
|
-
SelectionAreaPreparationValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SelectionAreaPreparationValidator, deps: [{ token: i1.FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
23
|
-
SelectionAreaPreparationValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SelectionAreaPreparationValidator });
|
|
24
|
-
SelectionAreaPreparationValidator = __decorate([
|
|
25
|
-
FValidatorRegister(SelectionAreaPreparationRequest)
|
|
26
|
-
], SelectionAreaPreparationValidator);
|
|
27
|
-
export { SelectionAreaPreparationValidator };
|
|
28
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SelectionAreaPreparationValidator, decorators: [{
|
|
29
|
-
type: Injectable
|
|
30
|
-
}], ctorParameters: function () { return [{ type: i1.FDraggableDataContext }]; } });
|
|
31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