@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
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Point } from '@foblex/2d';
|
|
2
|
+
import { CalculateFlowPointFromMinimapPointRequest } from './calculate-flow-point-from-minimap-point';
|
|
3
|
+
export class FMinimapDragHandler {
|
|
4
|
+
constructor(fComponentsStore, fMediator, flowRect, canvasPosition, eventPoint, minimap) {
|
|
5
|
+
this.fComponentsStore = fComponentsStore;
|
|
6
|
+
this.fMediator = fMediator;
|
|
7
|
+
this.flowRect = flowRect;
|
|
8
|
+
this.canvasPosition = canvasPosition;
|
|
9
|
+
this.eventPoint = eventPoint;
|
|
10
|
+
this.minimap = minimap;
|
|
11
|
+
this.lastDifference = null;
|
|
12
|
+
}
|
|
13
|
+
initialize() {
|
|
14
|
+
this.fComponentsStore.fCanvas?.hostElement.classList.add('f-scaled-animate');
|
|
15
|
+
}
|
|
16
|
+
move(difference) {
|
|
17
|
+
if (this.lastDifference && this.isSamePoint(difference, this.lastDifference)) {
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
this.lastDifference = difference;
|
|
21
|
+
this.fComponentsStore.fCanvas.setPosition(this.getNewPosition(Point.fromPoint(this.eventPoint).add(difference)));
|
|
22
|
+
this.fComponentsStore.fCanvas.redraw();
|
|
23
|
+
}
|
|
24
|
+
isSamePoint(point1, point2) {
|
|
25
|
+
return point1.x === point2.x && point1.y === point2.y;
|
|
26
|
+
}
|
|
27
|
+
getNewPosition(eventPoint) {
|
|
28
|
+
return this.fMediator.send(new CalculateFlowPointFromMinimapPointRequest(this.flowRect, this.canvasPosition, eventPoint, this.minimap));
|
|
29
|
+
}
|
|
30
|
+
complete() {
|
|
31
|
+
this.fComponentsStore.fCanvas?.hostElement.classList.remove('f-scaled-animate');
|
|
32
|
+
this.fComponentsStore.fCanvas.emitCanvasChangeEvent();
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1taW5pbWFwLmRyYWctaGFuZGxlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi1taW5pbWFwL2RvbWFpbi9mLW1pbmltYXAuZHJhZy1oYW5kbGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBaUIsS0FBSyxFQUFFLE1BQU0sWUFBWSxDQUFDO0FBSWxELE9BQU8sRUFBRSx5Q0FBeUMsRUFBRSxNQUFNLDJDQUEyQyxDQUFDO0FBR3RHLE1BQU0sT0FBTyxtQkFBbUI7SUFJOUIsWUFDVSxnQkFBa0MsRUFDbEMsU0FBb0IsRUFDcEIsUUFBZSxFQUNmLGNBQXNCLEVBQ3RCLFVBQWtCLEVBQ2xCLE9BQXFCO1FBTHJCLHFCQUFnQixHQUFoQixnQkFBZ0IsQ0FBa0I7UUFDbEMsY0FBUyxHQUFULFNBQVMsQ0FBVztRQUNwQixhQUFRLEdBQVIsUUFBUSxDQUFPO1FBQ2YsbUJBQWM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0gcG9pbnQyLnk7XG4gIH1cblxuICBwcml2YXRlIGdldE5ld1Bvc2l0aW9uKGV2ZW50UG9pbnQ6IElQb2ludCk6IElQb2ludCB7XG4gICAgcmV0dXJuIHRoaXMuZk1lZGlhdG9yLnNlbmQ8SVBvaW50PihuZXcgQ2FsY3VsYXRlRmxvd1BvaW50RnJvbU1pbmltYXBQb2ludFJlcXVlc3QoXG4gICAgICB0aGlzLmZsb3dSZWN0LCB0aGlzLmNhbnZhc1Bvc2l0aW9uLCBldmVudFBvaW50LCB0aGlzLm1pbmltYXBcbiAgICApKTtcbiAgfVxuXG4gIHB1YmxpYyBjb21wbGV0ZSgpOiB2b2lkIHtcbiAgICB0aGlzLmZDb21wb25lbnRzU3RvcmUuZkNhbnZhcz8uaG9zdEVsZW1lbnQuY2xhc3NMaXN0LnJlbW92ZSgnZi1zY2FsZWQtYW5pbWF0ZScpO1xuICAgIHRoaXMuZkNvbXBvbmVudHNTdG9yZS5mQ2FudmFzIS5lbWl0Q2FudmFzQ2hhbmdlRXZlbnQoKTtcbiAgfVxufVxuIl19
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { Injectable } from '@angular/core';
|
|
3
|
+
import { MinimapDragFinalizeRequest } from './minimap-drag-finalize.request';
|
|
4
|
+
import { FExecutionRegister } from '@foblex/mediator';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "../../../f-draggable";
|
|
7
|
+
export let MinimapDragFinalizeExecution = class MinimapDragFinalizeExecution {
|
|
8
|
+
constructor(fDraggableDataContext) {
|
|
9
|
+
this.fDraggableDataContext = fDraggableDataContext;
|
|
10
|
+
}
|
|
11
|
+
handle(request) {
|
|
12
|
+
this.fDraggableDataContext.draggableItems.forEach((x) => {
|
|
13
|
+
x.complete?.();
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MinimapDragFinalizeExecution, deps: [{ token: i1.FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
17
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MinimapDragFinalizeExecution }); }
|
|
18
|
+
};
|
|
19
|
+
MinimapDragFinalizeExecution = __decorate([
|
|
20
|
+
FExecutionRegister(MinimapDragFinalizeRequest)
|
|
21
|
+
], MinimapDragFinalizeExecution);
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MinimapDragFinalizeExecution, decorators: [{
|
|
23
|
+
type: Injectable
|
|
24
|
+
}], ctorParameters: function () { return [{ type: i1.FDraggableDataContext }]; } });
|
|
25
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWluaW1hcC1kcmFnLWZpbmFsaXplLmV4ZWN1dGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi1taW5pbWFwL2RvbWFpbi9taW5pbWFwLWRyYWctZmluYWxpemUvbWluaW1hcC1kcmFnLWZpbmFsaXplLmV4ZWN1dGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzQyxPQUFPLEVBQUUsMEJBQTBCLEVBQUUsTUFBTSxpQ0FBaUMsQ0FBQztBQUM3RSxPQUFPLEVBQUUsa0JBQWtCLEVBQWMsTUFBTSxrQkFBa0IsQ0FBQzs7O0FBSzNELFdBQU0sNEJBQTRCLEdBQWxDLE1BQU0sNEJBQTRCO0lBRXZDLFlBQ1UscUJBQTRDO1FBQTVDLDBCQUFxQixHQUFyQixxQkFBcUIsQ0FBdUI7S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YWJsZURhdGFDb250ZXh0LFxuICApIHtcbiAgfVxuXG4gIHB1YmxpYyBoYW5kbGUocmVxdWVzdDogTWluaW1hcERyYWdGaW5hbGl6ZVJlcXVlc3QpOiB2b2lkIHtcbiAgICB0aGlzLmZEcmFnZ2FibGVEYXRhQ29udGV4dC5kcmFnZ2FibGVJdGVtcy5mb3JFYWNoKCh4KSA9PiB7XG4gICAgICB4LmNvbXBsZXRlPy4oKTtcbiAgICB9KTtcbiAgfVxufVxuIl19
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { Injectable } from '@angular/core';
|
|
3
|
+
import { MinimapDragFinalizeRequest } from './minimap-drag-finalize.request';
|
|
4
|
+
import { FValidatorRegister } from '@foblex/mediator';
|
|
5
|
+
import { FMinimapDragHandler } from '../f-minimap.drag-handler';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
import * as i1 from "../../../f-draggable";
|
|
8
|
+
export let MinimapDragFinalizeValidator = class MinimapDragFinalizeValidator {
|
|
9
|
+
constructor(fDraggableDataContext) {
|
|
10
|
+
this.fDraggableDataContext = fDraggableDataContext;
|
|
11
|
+
}
|
|
12
|
+
handle(request) {
|
|
13
|
+
return this.fDraggableDataContext.draggableItems.some((x) => x instanceof FMinimapDragHandler);
|
|
14
|
+
}
|
|
15
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MinimapDragFinalizeValidator, deps: [{ token: i1.FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
16
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MinimapDragFinalizeValidator }); }
|
|
17
|
+
};
|
|
18
|
+
MinimapDragFinalizeValidator = __decorate([
|
|
19
|
+
FValidatorRegister(MinimapDragFinalizeRequest)
|
|
20
|
+
], MinimapDragFinalizeValidator);
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MinimapDragFinalizeValidator, decorators: [{
|
|
22
|
+
type: Injectable
|
|
23
|
+
}], ctorParameters: function () { return [{ type: i1.FDraggableDataContext }]; } });
|
|
24
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWluaW1hcC1kcmFnLWZpbmFsaXplLnZhbGlkYXRvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi1taW5pbWFwL2RvbWFpbi9taW5pbWFwLWRyYWctZmluYWxpemUvbWluaW1hcC1kcmFnLWZpbmFsaXplLnZhbGlkYXRvci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzQyxPQUFPLEVBQUUsMEJBQTBCLEVBQUUsTUFBTSxpQ0FBaUMsQ0FBQztBQUM3RSxPQUFPLEVBQUUsa0JBQWtCLEVBQWMsTUFBTSxrQkFBa0IsQ0FBQztBQUVsRSxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQzs7O0FBSXpELFdBQU0sNEJBQTRCLEdBQWxDLE1BQU0sNEJBQTRCO0lBRXZDLFlBQ1UscUJBQTRDO1FBQTVDLDBCQUFxQixHQUFyQixxQkFBcUIsQ0FBdUI7SUFFdEQsQ0FBQztJQUVNLE1BQU0sQ0FBQyxPQUFtQztRQUMvQyxPQUFPLElBQUksQ0FBQyxxQkFBcUIsQ0FBQyxjQUFjLENBQUMsSUFBSSxDQUNuRCxDQUFDLENBQUMsRUFBRSxFQUFFLENBQUMsQ0FBQyxZQUFZLG1CQUFtQixDQUN4QyxDQUFDO0lBQ0osQ0FBQzsrR0FYVSw0QkFBNEI7bUhBQTVCL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Z2FibGVJdGVtcy5zb21lKFxuICAgICAgKHgpID0+IHggaW5zdGFuY2VvZiBGTWluaW1hcERyYWdIYW5kbGVyXG4gICAgKTtcbiAgfVxufVxuIl19
|
package/esm2022/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.execution.mjs
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { Injectable } from '@angular/core';
|
|
3
|
+
import { MinimapDragPreparationRequest } from './minimap-drag-preparation.request';
|
|
4
|
+
import { Point, RectExtensions } from '@foblex/2d';
|
|
5
|
+
import { FExecutionRegister } from '@foblex/mediator';
|
|
6
|
+
import { FMinimapDragHandler } from '../f-minimap.drag-handler';
|
|
7
|
+
import { CalculateFlowPointFromMinimapPointRequest } from '../calculate-flow-point-from-minimap-point';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
import * as i1 from "../../../f-storage";
|
|
10
|
+
import * as i2 from "@foblex/mediator";
|
|
11
|
+
import * as i3 from "../../../f-draggable";
|
|
12
|
+
export let MinimapDragPreparationExecution = class MinimapDragPreparationExecution {
|
|
13
|
+
get flowHost() {
|
|
14
|
+
return this.fComponentsStore.fFlow.hostElement;
|
|
15
|
+
}
|
|
16
|
+
constructor(fComponentsStore, fMediator, fDraggableDataContext) {
|
|
17
|
+
this.fComponentsStore = fComponentsStore;
|
|
18
|
+
this.fMediator = fMediator;
|
|
19
|
+
this.fDraggableDataContext = fDraggableDataContext;
|
|
20
|
+
}
|
|
21
|
+
handle(request) {
|
|
22
|
+
const eventPoint = request.event.getPosition();
|
|
23
|
+
const startCanvasPosition = Point.fromPoint(this.fComponentsStore.fCanvas.transform.position);
|
|
24
|
+
this.fComponentsStore.fCanvas.setPosition(this.getNewPosition(eventPoint, request.minimap));
|
|
25
|
+
this.fComponentsStore.fCanvas.redraw();
|
|
26
|
+
this.fComponentsStore.fCanvas.emitCanvasChangeEvent();
|
|
27
|
+
this.fDraggableDataContext.onPointerDownScale = 1;
|
|
28
|
+
this.fDraggableDataContext.onPointerDownPosition = Point.fromPoint(eventPoint).elementTransform(this.flowHost);
|
|
29
|
+
this.fDraggableDataContext.draggableItems = [
|
|
30
|
+
new FMinimapDragHandler(this.fComponentsStore, this.fMediator, this.getFlowRect(), startCanvasPosition, eventPoint, request.minimap)
|
|
31
|
+
];
|
|
32
|
+
}
|
|
33
|
+
getNewPosition(eventPoint, minimap) {
|
|
34
|
+
return this.fMediator.send(new CalculateFlowPointFromMinimapPointRequest(this.getFlowRect(), Point.fromPoint(this.fComponentsStore.fCanvas.transform.position), eventPoint, minimap));
|
|
35
|
+
}
|
|
36
|
+
getFlowRect() {
|
|
37
|
+
return RectExtensions.fromElement(this.flowHost);
|
|
38
|
+
}
|
|
39
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MinimapDragPreparationExecution, deps: [{ token: i1.FComponentsStore }, { token: i2.FMediator }, { token: i3.FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
40
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MinimapDragPreparationExecution }); }
|
|
41
|
+
};
|
|
42
|
+
MinimapDragPreparationExecution = __decorate([
|
|
43
|
+
FExecutionRegister(MinimapDragPreparationRequest)
|
|
44
|
+
], MinimapDragPreparationExecution);
|
|
45
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MinimapDragPreparationExecution, decorators: [{
|
|
46
|
+
type: Injectable
|
|
47
|
+
}], ctorParameters: function () { return [{ type: i1.FComponentsStore }, { type: i2.FMediator }, { type: i3.FDraggableDataContext }]; } });
|
|
48
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWluaW1hcC1kcmFnLXByZXBhcmF0aW9uLmV4ZWN1dGlvbi5qcyIsInNvdXJjZV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dSZWN0KCksXG4gICAgICBQb2ludC5mcm9tUG9pbnQodGhpcy5mQ29tcG9uZW50c1N0b3JlLmZDYW52YXMhLnRyYW5zZm9ybS5wb3NpdGlvbiksXG4gICAgICBldmVudFBvaW50LCBtaW5pbWFwLFxuICAgICkpO1xuICB9XG5cbiAgcHJpdmF0ZSBnZXRGbG93UmVjdCgpOiBJUmVjdCB7XG4gICAgcmV0dXJuIFJlY3RFeHRlbnNpb25zLmZyb21FbGVtZW50KHRoaXMuZmxvd0hvc3QpO1xuICB9XG59XG4iXX0=
|
package/esm2022/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.validator.mjs
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { Injectable } from '@angular/core';
|
|
3
|
+
import { MinimapDragPreparationRequest } from './minimap-drag-preparation.request';
|
|
4
|
+
import { FValidatorRegister } from '@foblex/mediator';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "../../../f-storage";
|
|
7
|
+
import * as i2 from "../../../f-draggable";
|
|
8
|
+
export let MinimapDragPreparationValidator = class MinimapDragPreparationValidator {
|
|
9
|
+
constructor(fComponentsStore, fDraggableDataContext) {
|
|
10
|
+
this.fComponentsStore = fComponentsStore;
|
|
11
|
+
this.fDraggableDataContext = fDraggableDataContext;
|
|
12
|
+
}
|
|
13
|
+
handle(request) {
|
|
14
|
+
return !this.fDraggableDataContext.draggableItems.length &&
|
|
15
|
+
!!request.event.targetElement.closest('.f-minimap') &&
|
|
16
|
+
this.fComponentsStore.flowHost.contains(request.event.targetElement);
|
|
17
|
+
}
|
|
18
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MinimapDragPreparationValidator, deps: [{ token: i1.FComponentsStore }, { token: i2.FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
19
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MinimapDragPreparationValidator }); }
|
|
20
|
+
};
|
|
21
|
+
MinimapDragPreparationValidator = __decorate([
|
|
22
|
+
FValidatorRegister(MinimapDragPreparationRequest)
|
|
23
|
+
], MinimapDragPreparationValidator);
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MinimapDragPreparationValidator, decorators: [{
|
|
25
|
+
type: Injectable
|
|
26
|
+
}], ctorParameters: function () { return [{ type: i1.FComponentsStore }, { type: i2.FDraggableDataContext }]; } });
|
|
27
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWluaW1hcC1kcmFnLXByZXBhcmF0aW9uLnZhbGlkYXRvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi1taW5pbWFwL2RvbWFpbi9taW5pbWFwLWRyYWctcHJlcGFyYXRpb24vbWluaW1hcC1kcmFnLXByZXBhcmF0aW9uLnZhbGlkYXRvci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzQyxPQUFPLEVBQUUsNkJBQTZCLEVBQUUsTUFBTSxvQ0FBb0MsQ0FBQztBQUNuRixPQUFPLEVBQUUsa0JBQWtCLEVBQWMsTUFBTSxrQkFBa0IsQ0FBQzs7OztBQU0zRCxXQUFNLCtCQUErQixHQUFyQyxNQUFNLCtCQUErQjtJQUUxQyxZQUNVLGdCQUFrQyxFQUNsQyxxQkFBNEM7UUFENUMscUJBQWdCLEdBQWhCLGdCQUFnQixDQUFrQjtRQUNsQywwQkFBcUIsR0FBckIscUJBQXFCLENBQXVCO0lBRXRELENBQUM7SUFFTSxNQUFNLENBQUMsT0FBc0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ElWYWxpZGF0b3I8TWluaW1hcERyYWdQcmVwYXJhdGlvblJlcXVlc3Q+IHtcblxuICBjb25zdHJ1Y3RvcihcbiAgICBwcml2YXRlIGZDb21wb25lbnRzU3RvcmU6IEZDb21wb25lbnRzU3RvcmUsXG4gICAgcHJpdmF0ZSBmRHJhZ2dhYmxlRGF0YUNvbnRleHQ6IEZEcmFnZ2FibGVEYXRhQ29udGV4dFxuICApIHtcbiAgfVxuXG4gIHB1YmxpYyBoYW5kbGUocmVxdWVzdDogTWluaW1hcERyYWdQcmVwYXJhdGlvblJlcXVlc3QpOiBib29sZWFuIHtcbiAgICByZXR1cm4gIXRoaXMuZkRyYWdnYWJsZURhdGFDb250ZXh0LmRyYWdnYWJsZUl0ZW1zLmxlbmd0aCAmJlxuICAgICAgISFyZXF1ZXN0LmV2ZW50LnRhcmdldEVsZW1lbnQuY2xvc2VzdCgnLmYtbWluaW1hcCcpICYmXG4gICAgICB0aGlzLmZDb21wb25lbnRzU3RvcmUuZmxvd0hvc3QuY29udGFpbnMocmVxdWVzdC5ldmVudC50YXJnZXRFbGVtZW50KTtcbiAgfVxufVxuIl19
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { Directive, } from "@angular/core";
|
|
2
|
+
import { RectExtensions } from '@foblex/2d';
|
|
3
|
+
import { FNodeDirective } from '../f-node';
|
|
4
|
+
import { createSVGElement } from '../domain';
|
|
5
|
+
import { checkRectIsFinite } from './domain';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
import * as i1 from "../f-storage";
|
|
8
|
+
import * as i2 from "@foblex/platform";
|
|
9
|
+
export class FMinimapCanvasDirective {
|
|
10
|
+
get hostElement() {
|
|
11
|
+
return this.elementReference.nativeElement;
|
|
12
|
+
}
|
|
13
|
+
get flowHost() {
|
|
14
|
+
return this.fComponentsStore.flowHost;
|
|
15
|
+
}
|
|
16
|
+
get flowScale() {
|
|
17
|
+
return this.fComponentsStore.transform.scale;
|
|
18
|
+
}
|
|
19
|
+
constructor(elementReference, fComponentsStore, fBrowser) {
|
|
20
|
+
this.elementReference = elementReference;
|
|
21
|
+
this.fComponentsStore = fComponentsStore;
|
|
22
|
+
this.fBrowser = fBrowser;
|
|
23
|
+
}
|
|
24
|
+
redraw() {
|
|
25
|
+
this.clearCanvas();
|
|
26
|
+
this.fComponentsStore.fNodes.forEach((x) => this.renderNode(x));
|
|
27
|
+
}
|
|
28
|
+
clearCanvas() {
|
|
29
|
+
this.hostElement.innerHTML = '';
|
|
30
|
+
}
|
|
31
|
+
renderNode(node) {
|
|
32
|
+
const element = createSVGElement('rect', this.fBrowser);
|
|
33
|
+
this.configureNodeElement(element, node);
|
|
34
|
+
this.hostElement.appendChild(element);
|
|
35
|
+
}
|
|
36
|
+
configureNodeElement(element, node) {
|
|
37
|
+
this.setElementAttributes(element, this.getNodeRect(node));
|
|
38
|
+
this.applyClassList(element, node, node instanceof FNodeDirective);
|
|
39
|
+
}
|
|
40
|
+
getNodeRect(node) {
|
|
41
|
+
const nodeRectInFlow = RectExtensions.elementTransform(RectExtensions.fromElement(node.hostElement), this.flowHost);
|
|
42
|
+
return RectExtensions.div(nodeRectInFlow, this.flowScale);
|
|
43
|
+
}
|
|
44
|
+
setElementAttributes(element, rect) {
|
|
45
|
+
rect = checkRectIsFinite(rect);
|
|
46
|
+
element.setAttribute('x', rect.x.toString());
|
|
47
|
+
element.setAttribute('y', rect.y.toString());
|
|
48
|
+
element.setAttribute('width', rect.width.toString());
|
|
49
|
+
element.setAttribute('height', rect.height.toString());
|
|
50
|
+
}
|
|
51
|
+
applyClassList(element, node, isNode) {
|
|
52
|
+
element.classList.add('f-component', isNode ? 'f-minimap-node' : 'f-minimap-group');
|
|
53
|
+
if (node.isSelected()) {
|
|
54
|
+
element.classList.add('f-selected');
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FMinimapCanvasDirective, deps: [{ token: i0.ElementRef }, { token: i1.FComponentsStore }, { token: i2.BrowserService }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
58
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: FMinimapCanvasDirective, selector: "g[fMinimapCanvas]", ngImport: i0 }); }
|
|
59
|
+
}
|
|
60
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FMinimapCanvasDirective, decorators: [{
|
|
61
|
+
type: Directive,
|
|
62
|
+
args: [{
|
|
63
|
+
selector: 'g[fMinimapCanvas]'
|
|
64
|
+
}]
|
|
65
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.FComponentsStore }, { type: i2.BrowserService }]; } });
|
|
66
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1taW5pbWFwLWNhbnZhcy5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtbWluaW1hcC9mLW1pbmltYXAtY2FudmFzLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsU0FBUyxHQUNWLE1BQU0sZUFBZSxDQUFDO0FBRXZCLE9BQU8sRUFFTCxjQUFjLEVBQ2YsTUFBTSxZQUFZLENBQUM7QUFDcEIsT0FBTyxFQUFhLGNBQWMsRUFBRSxNQUFNLFdBQVcsQ0FBQztBQUV0RCxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxXQUFXLENBQUM7QUFDN0MsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sVUFBVSxDQUFDOzs7O0FBSzdDLE1BQU0sT0FBTyx1QkFBdUI7SUFFbEMsSUFBVyxXQUFXO1FBQ3BCLE9BQU8sSUFBSSxDQUF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gnd2lkdGgnLCByZWN0LndpZHRoLnRvU3RyaW5nKCkpO1xuICAgIGVsZW1lbnQuc2V0QXR0cmlidXRlKCdoZWlnaHQnLCByZWN0LmhlaWdodC50b1N0cmluZygpKTtcbiAgfVxuXG4gIHByaXZhdGUgYXBwbHlDbGFzc0xpc3QoZWxlbWVudDogU1ZHUmVjdEVsZW1lbnQsIG5vZGU6IEZOb2RlQmFzZSwgaXNOb2RlOiBib29sZWFuKTogdm9pZCB7XG4gICAgZWxlbWVudC5jbGFzc0xpc3QuYWRkKCdmLWNvbXBvbmVudCcsIGlzTm9kZSA/ICdmLW1pbmltYXAtbm9kZScgOiAnZi1taW5pbWFwLWdyb3VwJyk7XG4gICAgaWYgKG5vZGUuaXNTZWxlY3RlZCgpKSB7XG4gICAgICBlbGVtZW50LmNsYXNzTGlzdC5hZGQoJ2Ytc2VsZWN0ZWQnKTtcbiAgICB9XG4gIH1cbn1cbiJdfQ==
|
|
@@ -6,6 +6,12 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
import * as i1 from "@foblex/mediator";
|
|
7
7
|
import * as i2 from "../f-storage";
|
|
8
8
|
export class FMinimapFlowDirective {
|
|
9
|
+
get flowHost() {
|
|
10
|
+
return this.fComponentsStore.flowHost;
|
|
11
|
+
}
|
|
12
|
+
get hostElement() {
|
|
13
|
+
return this.elementReference.nativeElement;
|
|
14
|
+
}
|
|
9
15
|
constructor(elementReference, fMediator, fComponentsStore) {
|
|
10
16
|
this.elementReference = elementReference;
|
|
11
17
|
this.fMediator = fMediator;
|
|
@@ -13,12 +19,6 @@ export class FMinimapFlowDirective {
|
|
|
13
19
|
this.fMinSize = 1000;
|
|
14
20
|
this.model = new FMinimapData(this.hostElement);
|
|
15
21
|
}
|
|
16
|
-
get flowHost() {
|
|
17
|
-
return this.fComponentsStore.flowHost;
|
|
18
|
-
}
|
|
19
|
-
get hostElement() {
|
|
20
|
-
return this.elementReference.nativeElement;
|
|
21
|
-
}
|
|
22
22
|
update() {
|
|
23
23
|
const nodesRect = this.getProcessedNodesRect();
|
|
24
24
|
const minimapRect = this.getMinimapRect();
|
|
@@ -62,10 +62,10 @@ export class FMinimapFlowDirective {
|
|
|
62
62
|
viewBox = checkRectIsFinite(viewBox);
|
|
63
63
|
this.hostElement.setAttribute('viewBox', `${viewBox.x} ${viewBox.y} ${viewBox.width} ${viewBox.height}`);
|
|
64
64
|
}
|
|
65
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FMinimapFlowDirective, deps: [{ token: i0.ElementRef }, { token: i1.FMediator }, { token: i2.FComponentsStore }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
66
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: FMinimapFlowDirective, selector: "svg[fMinimapFlow]", inputs: { fMinSize: "fMinSize" }, ngImport: i0 }); }
|
|
65
67
|
}
|
|
66
|
-
|
|
67
|
-
FMinimapFlowDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: FMinimapFlowDirective, selector: "svg[fMinimapFlow]", inputs: { fMinSize: "fMinSize" }, ngImport: i0 });
|
|
68
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FMinimapFlowDirective, decorators: [{
|
|
68
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FMinimapFlowDirective, decorators: [{
|
|
69
69
|
type: Directive,
|
|
70
70
|
args: [{
|
|
71
71
|
selector: 'svg[fMinimapFlow]'
|
|
@@ -73,4 +73,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
73
73
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.FMediator }, { type: i2.FComponentsStore }]; }, propDecorators: { fMinSize: [{
|
|
74
74
|
type: Input
|
|
75
75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bGN1bGF0ZUNlbnRlcmVkVmlld0JveChub2Rlc1JlY3Q6IElSZWN0LCB2aWV3U2l6ZTogSVNpemUpOiBJUmVjdCB7XG4gICAgY29uc3QgY2VudGVyZWRYID0gbm9kZXNSZWN0LnggLSAodmlld1NpemUud2lkdGggLSBub2Rlc1JlY3Qud2lkdGgpIC8gMjtcbiAgICBjb25zdCBjZW50ZXJlZFkgPSBub2Rlc1JlY3QueSAtICh2aWV3U2l6ZS5oZWlnaHQgLSBub2Rlc1JlY3QuaGVpZ2h0KSAvIDI7XG4gICAgcmV0dXJuIFJlY3RFeHRlbnNpb25zLmluaXRpYWxpemUoY2VudGVyZWRYLCBjZW50ZXJlZFksIHZpZXdTaXplLndpZHRoLCB2aWV3U2l6ZS5oZWlnaHQpO1xuICB9XG5cbiAgcHJpdmF0ZSBzZXRWaWV3Qm94KHZpZXdCb3g6IElSZWN0KTogdm9pZCB7XG4gICAgdmlld0JveCA9IGNoZWNrUmVjdElzRmluaXRlKHZpZXdCb3gpO1xuICAgIHRoaXMuaG9zdEVsZW1lbnQuc2V0QXR0cmlidXRlKCd2aWV3Qm94JywgYCR7IHZpZXdCb3gueCB9ICR7IHZpZXdCb3gueSB9ICR7IHZpZXdCb3gud2lkdGggfSAkeyB2aWV3Qm94LmhlaWdodCB9YCk7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -4,16 +4,16 @@ import { checkRectIsFinite } from './domain';
|
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
import * as i1 from "../f-storage";
|
|
6
6
|
export class FMinimapViewDirective {
|
|
7
|
-
constructor(elementReference, fComponentsStore) {
|
|
8
|
-
this.elementReference = elementReference;
|
|
9
|
-
this.fComponentsStore = fComponentsStore;
|
|
10
|
-
}
|
|
11
7
|
get hostElement() {
|
|
12
8
|
return this.elementReference.nativeElement;
|
|
13
9
|
}
|
|
14
10
|
get flowScale() {
|
|
15
11
|
return this.fComponentsStore.transform.scale;
|
|
16
12
|
}
|
|
13
|
+
constructor(elementReference, fComponentsStore) {
|
|
14
|
+
this.elementReference = elementReference;
|
|
15
|
+
this.fComponentsStore = fComponentsStore;
|
|
16
|
+
}
|
|
17
17
|
update() {
|
|
18
18
|
const viewBox = RectExtensions.div(RectExtensions.fromElement(this.fComponentsStore.flowHost), this.flowScale);
|
|
19
19
|
this.setAttributes(viewBox);
|
|
@@ -25,10 +25,10 @@ export class FMinimapViewDirective {
|
|
|
25
25
|
this.hostElement.setAttribute('width', viewBox.width.toString());
|
|
26
26
|
this.hostElement.setAttribute('height', viewBox.height.toString());
|
|
27
27
|
}
|
|
28
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FMinimapViewDirective, deps: [{ token: i0.ElementRef }, { token: i1.FComponentsStore }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
29
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: FMinimapViewDirective, selector: "rect[fMinimapView]", host: { classAttribute: "f-component f-minimap-view" }, ngImport: i0 }); }
|
|
28
30
|
}
|
|
29
|
-
|
|
30
|
-
FMinimapViewDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: FMinimapViewDirective, selector: "rect[fMinimapView]", host: { classAttribute: "f-component f-minimap-view" }, ngImport: i0 });
|
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FMinimapViewDirective, decorators: [{
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FMinimapViewDirective, decorators: [{
|
|
32
32
|
type: Directive,
|
|
33
33
|
args: [{
|
|
34
34
|
selector: 'rect[fMinimapView]',
|
|
@@ -37,4 +37,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
37
37
|
}
|
|
38
38
|
}]
|
|
39
39
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.FComponentsStore }]; } });
|
|
40
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
40
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1taW5pbWFwLXZpZXcuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLW1pbmltYXAvZi1taW5pbWFwLXZpZXcuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQWMsTUFBTSxlQUFlLENBQUM7QUFFdEQsT0FBTyxFQUFTLGNBQWMsRUFBRSxNQUFNLFlBQVksQ0FBQztBQUNuRCxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxVQUFVLENBQUM7OztBQVE3QyxNQUFNLE9BQU8scUJBQXFCO0lBRWhDLElBQVcsV0FBVztRQUNwQixPQUFPLElBQUksQ0FBQyxnQkFBZ0IsQ0FBQyxhQUFhLENBQUM7SUFDN0MsQ0FBQztJQUVELElBQVksU0FBUztRQUNuQixPQUFPLElBQUksQ0FBQyxnQkFBaUIsQ0FBQyxTQUFVLENBQUMsS0FBTSxDQUFDO0lBQ2xELENBQUM7SUFFRCxZQUNVLGdCQUE0QyxFQUM1QyxnQkFBa0M7UUFEbEMscUJBQWdCLEdBQWhCLGdCQUFnQixDQUE0QjtRQUM1QyxxQkFBZ0IsR0FBaEIsZ0JBQWdCLENBQWtCO0lBRTVDLENBQUM7SUFFTSxNQUFNO1FBQ1gsTUFBTSxPQUFPLEdBQUcsY0FBYyxDQUFDLEdBQUcsQ0FBQyxjQUFjLENBQUMsV0FBVyxDQUFDLElBQUksQ0FBQyxnQkFBZ0IsQ0FBQyxRQUFRLENBQUMsRUFBRSxJQUFJLENBQUMsU0FBUyxDQU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KCd4JywgJzAnKTtcbiAgICB0aGlzLmhvc3RFbGVtZW50LnNldEF0dHJpYnV0ZSgneScsICcwJyk7XG4gICAgdGhpcy5ob3N0RWxlbWVudC5zZXRBdHRyaWJ1dGUoJ3dpZHRoJywgdmlld0JveC53aWR0aC50b1N0cmluZygpKTtcbiAgICB0aGlzLmhvc3RFbGVtZW50LnNldEF0dHJpYnV0ZSgnaGVpZ2h0Jywgdmlld0JveC5oZWlnaHQudG9TdHJpbmcoKSk7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -0,0 +1,68 @@
|
|
|
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-canvas.directive";
|
|
13
|
+
import * as i3 from "./f-minimap-view.directive";
|
|
14
|
+
import * as i4 from "./f-minimap-flow.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
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FMinimapComponent, deps: [{ token: i0.ElementRef }, { token: i1.FMediator }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
45
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FMinimapComponent, selector: "f-minimap", inputs: { fMinSize: "fMinSize" }, host: { classAttribute: "f-component f-minimap" }, providers: [
|
|
46
|
+
{ provide: F_DRAG_AND_DROP_PLUGIN, useExisting: FMinimapComponent },
|
|
47
|
+
], viewQueries: [{ propertyName: "fMinimapCanvas", first: true, predicate: FMinimapCanvasDirective, descendants: true, static: true }, { propertyName: "fMinimapFlow", first: true, predicate: FMinimapFlowDirective, descendants: true, static: true }, { propertyName: "fMinimapView", first: true, predicate: FMinimapViewDirective, descendants: true, static: true }], exportAs: ["fComponent"], ngImport: i0, template: "<svg fMinimapFlow width=\"100%\" height=\"100%\" fLockedContext [fMinSize]=\"fMinSize\">\n <g fMinimapCanvas></g>\n <rect fMinimapView x=\"0\" y=\"0\" width=\"100%\" height=\"100%\" stroke=\"none\"/>\n</svg>\n\n", styles: [":host{display:block;position:absolute}:host svg{overflow:hidden}\n"], dependencies: [{ kind: "directive", type: i2.FMinimapCanvasDirective, selector: "g[fMinimapCanvas]" }, { kind: "directive", type: i3.FMinimapViewDirective, selector: "rect[fMinimapView]" }, { kind: "directive", type: i4.FMinimapFlowDirective, selector: "svg[fMinimapFlow]", inputs: ["fMinSize"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
48
|
+
}
|
|
49
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FMinimapComponent, decorators: [{
|
|
50
|
+
type: Component,
|
|
51
|
+
args: [{ selector: 'f-minimap', exportAs: 'fComponent', host: {
|
|
52
|
+
'class': 'f-component f-minimap',
|
|
53
|
+
}, providers: [
|
|
54
|
+
{ provide: F_DRAG_AND_DROP_PLUGIN, useExisting: FMinimapComponent },
|
|
55
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<svg fMinimapFlow width=\"100%\" height=\"100%\" fLockedContext [fMinSize]=\"fMinSize\">\n <g fMinimapCanvas></g>\n <rect fMinimapView x=\"0\" y=\"0\" width=\"100%\" height=\"100%\" stroke=\"none\"/>\n</svg>\n\n", styles: [":host{display:block;position:absolute}:host svg{overflow:hidden}\n"] }]
|
|
56
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.FMediator }]; }, propDecorators: { fMinimapCanvas: [{
|
|
57
|
+
type: ViewChild,
|
|
58
|
+
args: [FMinimapCanvasDirective, { static: true }]
|
|
59
|
+
}], fMinimapFlow: [{
|
|
60
|
+
type: ViewChild,
|
|
61
|
+
args: [FMinimapFlowDirective, { static: true }]
|
|
62
|
+
}], fMinimapView: [{
|
|
63
|
+
type: ViewChild,
|
|
64
|
+
args: [FMinimapViewDirective, { static: true }]
|
|
65
|
+
}], fMinSize: [{
|
|
66
|
+
type: Input
|
|
67
|
+
}] } });
|
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Sk7XG4gIH1cblxuICBwdWJsaWMgbmdPbkRlc3Ryb3koKTogdm9pZCB7XG4gICAgdGhpcy5zdWJzY3JpcHRpb25zJC51bnN1YnNjcmliZSgpO1xuICB9XG59XG4iLCI8c3ZnIGZNaW5pbWFwRmxvdyB3aWR0aD1cIjEwMCVcIiBoZWlnaHQ9XCIxMDAlXCIgZkxvY2tlZENvbnRleHQgW2ZNaW5TaXplXT1cImZNaW5TaXplXCI+XG4gIDxnIGZNaW5pbWFwQ2FudmFzPjwvZz5cbiAgPHJlY3QgZk1pbmltYXBWaWV3IHg9XCIwXCIgeT1cIjBcIiB3aWR0aD1cIjEwMCVcIiBoZWlnaHQ9XCIxMDAlXCIgc3Ryb2tlPVwibm9uZVwiLz5cbjwvc3ZnPlxuXG4iXX0=
|
|
@@ -2,16 +2,16 @@ import { Directive, InjectionToken } from "@angular/core";
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export const F_DRAG_HANDLE = new InjectionToken('F_DRAG_HANDLE');
|
|
4
4
|
export class FDragHandleDirective {
|
|
5
|
-
constructor(elementReference) {
|
|
6
|
-
this.elementReference = elementReference;
|
|
7
|
-
}
|
|
8
5
|
get hostElement() {
|
|
9
6
|
return this.elementReference.nativeElement;
|
|
10
7
|
}
|
|
8
|
+
constructor(elementReference) {
|
|
9
|
+
this.elementReference = elementReference;
|
|
10
|
+
}
|
|
11
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FDragHandleDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
12
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: FDragHandleDirective, selector: "[fDragHandle]", host: { classAttribute: "f-drag-handle f-component" }, providers: [{ provide: F_DRAG_HANDLE, useExisting: FDragHandleDirective }], ngImport: i0 }); }
|
|
11
13
|
}
|
|
12
|
-
|
|
13
|
-
FDragHandleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: FDragHandleDirective, selector: "[fDragHandle]", host: { classAttribute: "f-drag-handle f-component" }, providers: [{ provide: F_DRAG_HANDLE, useExisting: FDragHandleDirective }], ngImport: i0 });
|
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FDragHandleDirective, decorators: [{
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FDragHandleDirective, decorators: [{
|
|
15
15
|
type: Directive,
|
|
16
16
|
args: [{
|
|
17
17
|
selector: "[fDragHandle]",
|
|
@@ -21,4 +21,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
21
21
|
providers: [{ provide: F_DRAG_HANDLE, useExisting: FDragHandleDirective }],
|
|
22
22
|
}]
|
|
23
23
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
24
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
24
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1kcmFnLWhhbmRsZS5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2Ytbm9kZS9mLWRyYWctaGFuZGxlL2YtZHJhZy1oYW5kbGUuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCxTQUFTLEVBQWMsY0FBYyxFQUN0QyxNQUFNLGVBQWUsQ0FBQzs7QUFHdkIsTUFBTSxDQUFDLE1BQU0sYUFBYSxHQUF5QyxJQUFJLGNBQWMsQ0FBdUIsZUFBZSxDQUFDLENBQUM7QUFTN0gsTUFBTSxPQUFPLG9CQUFvQj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