@foblex/flow 18.1.2 → 18.2.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/README.md +71 -35
- package/domain/f-canvas/add-canvas-to-store/add-canvas-to-store-request.d.ts +2 -2
- package/domain/f-canvas/add-canvas-to-store/add-canvas-to-store.d.ts +12 -0
- package/domain/f-canvas/add-canvas-to-store/index.d.ts +1 -1
- package/domain/f-canvas/center-group-or-node/center-group-or-node.d.ts +17 -0
- package/domain/f-canvas/center-group-or-node/index.d.ts +1 -1
- package/domain/f-canvas/fit-to-flow/fit-to-flow-request.d.ts +2 -2
- package/domain/f-canvas/fit-to-flow/fit-to-flow.d.ts +17 -0
- package/domain/f-canvas/fit-to-flow/index.d.ts +1 -1
- package/domain/f-canvas/index.d.ts +0 -1
- package/domain/f-canvas/input-canvas-position/index.d.ts +1 -1
- package/domain/f-canvas/input-canvas-position/input-canvas-position-request.d.ts +2 -2
- package/domain/f-canvas/input-canvas-position/input-canvas-position.d.ts +13 -0
- package/domain/f-canvas/input-canvas-scale/index.d.ts +1 -1
- package/domain/f-canvas/input-canvas-scale/input-canvas-scale.d.ts +13 -0
- package/domain/f-canvas/providers.d.ts +11 -12
- package/domain/f-canvas/redraw-canvas-with-animation/index.d.ts +1 -1
- package/domain/f-canvas/redraw-canvas-with-animation/redraw-canvas-with-animation.d.ts +17 -0
- package/domain/f-canvas/remove-canvas-from-store/index.d.ts +1 -1
- package/domain/f-canvas/remove-canvas-from-store/remove-canvas-from-store.d.ts +12 -0
- package/domain/f-canvas/reset-scale/index.d.ts +1 -1
- package/domain/f-canvas/reset-scale/reset-scale.d.ts +13 -0
- package/domain/f-canvas/reset-scale-and-center/index.d.ts +1 -1
- package/domain/f-canvas/reset-scale-and-center/reset-scale-and-center-request.d.ts +1 -1
- package/domain/f-canvas/reset-scale-and-center/reset-scale-and-center.d.ts +17 -0
- package/domain/f-canvas/update-scale/index.d.ts +1 -1
- package/domain/f-canvas/update-scale/update-scale-request.d.ts +2 -2
- package/domain/f-canvas/update-scale/update-scale.d.ts +14 -0
- package/domain/f-connection/redraw-connections/redraw-connections.d.ts +17 -2
- package/domain/f-connectors/add-connector-to-store/add-connector-to-store.d.ts +2 -0
- package/domain/f-connectors/find-connectable-connector-using-priority-and-position/find-connectable-connector-using-priority-and-position.d.ts +30 -0
- package/domain/f-connectors/find-connectable-connector-using-priority-and-position/index.d.ts +2 -2
- package/domain/f-connectors/providers.d.ts +2 -2
- package/domain/f-connectors/remove-connector-from-store/remove-connector-from-store.d.ts +2 -0
- package/domain/f-draggable/add-dnd-to-store/add-dnd-to-store.d.ts +12 -0
- package/domain/f-draggable/add-dnd-to-store/index.d.ts +1 -1
- package/domain/f-draggable/initialize-drag-sequence/index.d.ts +1 -1
- package/domain/f-draggable/initialize-drag-sequence/initialize-drag-sequence.d.ts +12 -0
- package/domain/f-draggable/is-drag-started/is-drag-started.d.ts +1 -1
- package/domain/f-draggable/on-pointer-move/index.d.ts +1 -1
- package/domain/f-draggable/on-pointer-move/on-pointer-move.d.ts +19 -0
- package/domain/f-draggable/prepare-drag-sequence/index.d.ts +1 -1
- package/domain/f-draggable/prepare-drag-sequence/prepare-drag-sequence.d.ts +14 -0
- package/domain/f-draggable/providers.d.ts +6 -6
- package/domain/f-draggable/remove-dnd-from-store/index.d.ts +1 -1
- package/domain/f-draggable/remove-dnd-from-store/remove-dnd-from-store.d.ts +12 -0
- package/domain/f-flow/add-flow-to-store/add-flow-to-store.d.ts +12 -0
- package/domain/f-flow/add-flow-to-store/index.d.ts +1 -1
- package/domain/f-flow/get-flow/get-flow.d.ts +13 -0
- package/domain/f-flow/get-flow/index.d.ts +1 -1
- package/domain/f-flow/providers.d.ts +4 -4
- package/domain/f-flow/remove-flow-from-store/index.d.ts +1 -1
- package/domain/f-flow/remove-flow-from-store/remove-flow-from-store.d.ts +12 -0
- package/domain/f-node/add-node-to-store/add-node-to-store.d.ts +1 -0
- package/domain/f-node/calculate-nodes-bounding-box/calculate-nodes-bounding-box.d.ts +2 -2
- package/domain/f-node/calculate-nodes-bounding-box/index.d.ts +1 -1
- package/domain/f-node/calculate-nodes-bounding-box-normalized-position/calculate-nodes-bounding-box-normalized-position.d.ts +3 -1
- package/domain/f-node/calculate-nodes-bounding-box-normalized-position/index.d.ts +1 -1
- package/domain/f-node/get-child-node-ids/get-child-node-ids.d.ts +1 -1
- package/domain/f-node/get-child-node-ids/index.d.ts +1 -1
- package/domain/f-node/get-node-padding/get-node-padding.d.ts +8 -3
- package/domain/f-node/get-node-padding/index.d.ts +1 -1
- package/domain/f-node/get-parent-nodes/get-parent-nodes.d.ts +1 -1
- package/domain/f-node/get-parent-nodes/index.d.ts +1 -1
- package/domain/f-node/remove-node-from-store/remove-node-from-store.d.ts +1 -0
- package/domain/f-selection/calculate-selectable-items/calculate-selectable-items.d.ts +0 -1
- package/domain/f-selection/clear-selection/clear-selection.d.ts +12 -0
- package/domain/f-selection/clear-selection/index.d.ts +2 -2
- package/domain/f-selection/get-current-selection/get-current-selection.d.ts +16 -0
- package/domain/f-selection/get-current-selection/index.d.ts +2 -2
- package/domain/f-selection/index.d.ts +1 -1
- package/domain/f-selection/providers.d.ts +4 -4
- package/domain/f-selection/select-items/index.d.ts +2 -0
- package/domain/f-selection/select-items/select.d.ts +13 -0
- package/domain/f-zoom/set-zoom/set-zoom-request.d.ts +4 -4
- package/domain/f-zoom/set-zoom/set-zoom.d.ts +3 -0
- package/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups-request.d.ts +5 -0
- package/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.d.ts +15 -0
- package/domain/get-deep-children-nodes-and-groups/index.d.ts +2 -2
- package/domain/get-normalized-connector-rect/get-normalized-connector-rect-request.d.ts +3 -2
- package/domain/get-normalized-connector-rect/get-normalized-connector-rect.d.ts +26 -0
- package/domain/get-normalized-connector-rect/index.d.ts +1 -1
- package/domain/get-normalized-element-rect/get-normalized-element-rect.d.ts +22 -0
- package/domain/get-normalized-element-rect/index.d.ts +1 -1
- package/domain/get-normalized-point/get-normalized-point-request.d.ts +1 -1
- package/domain/get-normalized-point/get-normalized-point.d.ts +15 -0
- package/domain/get-normalized-point/index.d.ts +1 -1
- package/domain/index.d.ts +1 -2
- package/domain/minimap/f-minimap-state.d.ts +7 -0
- package/domain/minimap/index.d.ts +5 -0
- package/domain/minimap/minimap-calculate-view-rect/index.d.ts +2 -0
- package/domain/minimap/minimap-calculate-view-rect/minimap-calculate-view-rect-request.d.ts +3 -0
- package/domain/minimap/minimap-calculate-view-rect/minimap-calculate-view-rect.d.ts +10 -0
- package/domain/minimap/minimap-calculate-viewport/i-minimap-viewport.d.ts +5 -0
- package/domain/minimap/minimap-calculate-viewport/index.d.ts +3 -0
- package/domain/minimap/minimap-calculate-viewport/minimap-calculate-viewport-request.d.ts +6 -0
- package/domain/minimap/minimap-calculate-viewport/minimap-calculate-viewport.d.ts +17 -0
- package/domain/minimap/minimap-draw-nodes/index.d.ts +2 -0
- package/domain/minimap/minimap-draw-nodes/minimap-draw-nodes.d.ts +13 -0
- package/domain/minimap/providers.d.ts +4 -0
- package/domain/providers.d.ts +6 -7
- package/domain/sort-item-layers/sort-item-layers.d.ts +1 -1
- package/domain/sort-item-layers/sort-items-by-parent/index.d.ts +2 -2
- package/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent-request.d.ts +5 -0
- package/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.d.ts +20 -0
- package/domain/sort-item-layers/sort-node-layers-by-groups/index.d.ts +2 -2
- package/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.d.ts +24 -0
- package/esm2022/domain/f-canvas/add-canvas-to-store/add-canvas-to-store-request.mjs +4 -4
- package/esm2022/domain/f-canvas/add-canvas-to-store/add-canvas-to-store.mjs +25 -0
- package/esm2022/domain/f-canvas/add-canvas-to-store/index.mjs +2 -2
- package/esm2022/domain/f-canvas/center-group-or-node/center-group-or-node.mjs +46 -0
- package/esm2022/domain/f-canvas/center-group-or-node/index.mjs +2 -2
- package/esm2022/domain/f-canvas/fit-to-flow/fit-to-flow-request.mjs +1 -1
- package/esm2022/domain/f-canvas/fit-to-flow/fit-to-flow.mjs +58 -0
- package/esm2022/domain/f-canvas/fit-to-flow/index.mjs +2 -2
- package/esm2022/domain/f-canvas/index.mjs +1 -2
- package/esm2022/domain/f-canvas/input-canvas-position/index.mjs +2 -2
- package/esm2022/domain/f-canvas/input-canvas-position/input-canvas-position-request.mjs +1 -1
- package/esm2022/domain/f-canvas/input-canvas-position/input-canvas-position.mjs +36 -0
- package/esm2022/domain/f-canvas/input-canvas-scale/index.mjs +2 -2
- package/esm2022/domain/f-canvas/input-canvas-scale/input-canvas-scale.mjs +30 -0
- package/esm2022/domain/f-canvas/providers.mjs +21 -23
- package/esm2022/domain/f-canvas/redraw-canvas-with-animation/index.mjs +2 -2
- package/esm2022/domain/f-canvas/redraw-canvas-with-animation/redraw-canvas-with-animation.mjs +40 -0
- package/esm2022/domain/f-canvas/remove-canvas-from-store/index.mjs +2 -2
- package/esm2022/domain/f-canvas/remove-canvas-from-store/remove-canvas-from-store.mjs +25 -0
- package/esm2022/domain/f-canvas/reset-scale/index.mjs +2 -2
- package/esm2022/domain/f-canvas/reset-scale/reset-scale.mjs +30 -0
- package/esm2022/domain/f-canvas/reset-scale-and-center/index.mjs +2 -2
- package/esm2022/domain/f-canvas/reset-scale-and-center/reset-scale-and-center-request.mjs +1 -1
- package/esm2022/domain/f-canvas/reset-scale-and-center/reset-scale-and-center.mjs +50 -0
- package/esm2022/domain/f-canvas/update-scale/index.mjs +2 -2
- package/esm2022/domain/f-canvas/update-scale/update-scale-request.mjs +1 -1
- package/esm2022/domain/f-canvas/update-scale/update-scale.mjs +37 -0
- package/esm2022/domain/f-connection/add-connection-marker-to-store/add-connection-marker-to-store.mjs +2 -2
- package/esm2022/domain/f-connection/add-connection-to-store/add-connection-to-store.mjs +2 -2
- package/esm2022/domain/f-connection/redraw-connections/redraw-connections.mjs +173 -17
- package/esm2022/domain/f-connection/remove-connection-from-store/remove-connection-from-store.mjs +2 -2
- package/esm2022/domain/f-connection/remove-connection-marker-from-store/remove-connection-marker-from-store.mjs +2 -2
- package/esm2022/domain/f-connectors/add-connector-to-store/add-connector-to-store.mjs +13 -5
- package/esm2022/domain/f-connectors/find-connectable-connector-using-priority-and-position/find-connectable-connector-using-priority-and-position-request.mjs +10 -0
- package/esm2022/domain/f-connectors/find-connectable-connector-using-priority-and-position/find-connectable-connector-using-priority-and-position.mjs +98 -0
- package/esm2022/domain/f-connectors/find-connectable-connector-using-priority-and-position/index.mjs +3 -3
- package/esm2022/domain/f-connectors/get-connector-rect-reference/get-connector-rect-reference.mjs +1 -1
- package/esm2022/domain/f-connectors/providers.mjs +3 -3
- package/esm2022/domain/f-connectors/remove-connector-from-store/remove-connector-from-store.mjs +13 -5
- package/esm2022/domain/f-draggable/add-dnd-to-store/add-dnd-to-store.mjs +25 -0
- package/esm2022/domain/f-draggable/add-dnd-to-store/index.mjs +2 -2
- package/esm2022/domain/f-draggable/initialize-drag-sequence/index.mjs +2 -2
- package/esm2022/domain/f-draggable/initialize-drag-sequence/initialize-drag-sequence.mjs +25 -0
- package/esm2022/domain/f-draggable/is-drag-started/is-drag-started.mjs +2 -2
- package/esm2022/domain/f-draggable/on-pointer-move/index.mjs +2 -2
- package/esm2022/domain/f-draggable/on-pointer-move/on-pointer-move.mjs +46 -0
- package/esm2022/domain/f-draggable/prepare-drag-sequence/index.mjs +2 -2
- package/esm2022/domain/f-draggable/prepare-drag-sequence/prepare-drag-sequence.mjs +30 -0
- package/esm2022/domain/f-draggable/providers.mjs +11 -11
- package/esm2022/domain/f-draggable/remove-dnd-from-store/index.mjs +2 -2
- package/esm2022/domain/f-draggable/remove-dnd-from-store/remove-dnd-from-store.mjs +25 -0
- package/esm2022/domain/f-flow/add-flow-to-store/add-flow-to-store.mjs +25 -0
- package/esm2022/domain/f-flow/add-flow-to-store/index.mjs +2 -2
- package/esm2022/domain/f-flow/get-flow/get-flow.mjs +29 -0
- package/esm2022/domain/f-flow/get-flow/index.mjs +2 -2
- package/esm2022/domain/f-flow/providers.mjs +7 -7
- package/esm2022/domain/f-flow/remove-flow-from-store/index.mjs +2 -2
- package/esm2022/domain/f-flow/remove-flow-from-store/remove-flow-from-store.mjs +25 -0
- package/esm2022/domain/f-node/add-node-to-store/add-node-to-store.mjs +6 -3
- package/esm2022/domain/f-node/calculate-connectors-connectable-sides/calculate-connectable-side-by-connected-positions/calculate-connectable-side-by-connected-positions.mjs +1 -1
- package/esm2022/domain/f-node/calculate-nodes-bounding-box/calculate-nodes-bounding-box-request.mjs +4 -0
- package/esm2022/domain/f-node/calculate-nodes-bounding-box/calculate-nodes-bounding-box.mjs +3 -3
- package/esm2022/domain/f-node/calculate-nodes-bounding-box/index.mjs +2 -2
- package/esm2022/domain/f-node/calculate-nodes-bounding-box-normalized-position/calculate-nodes-bounding-box-normalized-position-request.mjs +8 -0
- package/esm2022/domain/f-node/calculate-nodes-bounding-box-normalized-position/calculate-nodes-bounding-box-normalized-position.mjs +17 -8
- package/esm2022/domain/f-node/calculate-nodes-bounding-box-normalized-position/index.mjs +2 -2
- package/esm2022/domain/f-node/fit-to-child-nodes-and-groups/fit-to-child-nodes-and-groups.mjs +2 -2
- package/esm2022/domain/f-node/get-child-node-ids/get-child-node-ids-request.mjs +8 -0
- package/esm2022/domain/f-node/get-child-node-ids/get-child-node-ids.mjs +2 -2
- package/esm2022/domain/f-node/get-child-node-ids/index.mjs +2 -2
- package/esm2022/domain/f-node/get-node-padding/get-node-padding-request.mjs +10 -0
- package/esm2022/domain/f-node/get-node-padding/get-node-padding.mjs +6 -4
- package/esm2022/domain/f-node/get-node-padding/index.mjs +2 -2
- package/esm2022/domain/f-node/get-parent-nodes/get-parent-nodes-request.mjs +8 -0
- package/esm2022/domain/f-node/get-parent-nodes/get-parent-nodes.mjs +2 -2
- package/esm2022/domain/f-node/get-parent-nodes/index.mjs +2 -2
- package/esm2022/domain/f-node/remove-node-from-store/remove-node-from-store.mjs +6 -3
- package/esm2022/domain/f-node/update-node-when-state-or-size-changed/update-node-when-state-or-size-changed.mjs +7 -6
- package/esm2022/domain/f-selection/calculate-selectable-items/calculate-selectable-items.mjs +3 -7
- package/esm2022/domain/f-selection/clear-selection/clear-selection-request.mjs +4 -0
- package/esm2022/domain/f-selection/clear-selection/clear-selection.mjs +27 -0
- package/esm2022/domain/f-selection/clear-selection/index.mjs +3 -3
- package/esm2022/domain/f-selection/get-current-selection/get-current-selection-request.mjs +4 -0
- package/esm2022/domain/f-selection/get-current-selection/get-current-selection.mjs +45 -0
- package/esm2022/domain/f-selection/get-current-selection/index.mjs +3 -3
- package/esm2022/domain/f-selection/index.mjs +2 -2
- package/esm2022/domain/f-selection/providers.mjs +7 -7
- package/esm2022/domain/f-selection/select-items/index.mjs +3 -0
- package/esm2022/domain/f-selection/select-items/select-request.mjs +12 -0
- package/esm2022/domain/f-selection/select-items/select.mjs +45 -0
- package/esm2022/domain/f-zoom/set-zoom/set-zoom-request.mjs +1 -1
- package/esm2022/domain/f-zoom/set-zoom/set-zoom.mjs +62 -4
- package/esm2022/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups-request.mjs +8 -0
- package/esm2022/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.mjs +38 -0
- package/esm2022/domain/get-deep-children-nodes-and-groups/index.mjs +3 -3
- package/esm2022/domain/get-normalized-connector-rect/get-normalized-connector-rect-request.mjs +4 -2
- package/esm2022/domain/get-normalized-connector-rect/get-normalized-connector-rect.mjs +71 -0
- package/esm2022/domain/get-normalized-connector-rect/index.mjs +2 -2
- package/esm2022/domain/get-normalized-element-rect/get-normalized-element-rect.mjs +60 -0
- package/esm2022/domain/get-normalized-element-rect/index.mjs +2 -2
- package/esm2022/domain/get-normalized-point/get-normalized-point-request.mjs +1 -1
- package/esm2022/domain/get-normalized-point/get-normalized-point.mjs +28 -0
- package/esm2022/domain/get-normalized-point/index.mjs +2 -2
- package/esm2022/domain/index.mjs +2 -3
- package/esm2022/domain/minimap/f-minimap-state.mjs +12 -0
- package/esm2022/domain/minimap/index.mjs +6 -0
- package/esm2022/domain/minimap/minimap-calculate-view-rect/index.mjs +3 -0
- package/esm2022/domain/minimap/minimap-calculate-view-rect/minimap-calculate-view-rect-request.mjs +4 -0
- package/esm2022/domain/minimap/minimap-calculate-view-rect/minimap-calculate-view-rect.mjs +32 -0
- package/esm2022/domain/minimap/minimap-calculate-viewport/i-minimap-viewport.mjs +2 -0
- package/esm2022/domain/minimap/minimap-calculate-viewport/index.mjs +4 -0
- package/esm2022/domain/minimap/minimap-calculate-viewport/minimap-calculate-viewport-request.mjs +10 -0
- package/esm2022/domain/minimap/minimap-calculate-viewport/minimap-calculate-viewport.mjs +62 -0
- package/esm2022/domain/minimap/minimap-draw-nodes/index.mjs +3 -0
- package/esm2022/domain/minimap/minimap-draw-nodes/minimap-draw-nodes-request.mjs +4 -0
- package/esm2022/domain/minimap/minimap-draw-nodes/minimap-draw-nodes.mjs +52 -0
- package/esm2022/domain/minimap/providers.mjs +9 -0
- package/esm2022/domain/providers.mjs +16 -14
- package/esm2022/domain/sort-item-layers/sort-item-layers.mjs +9 -5
- package/esm2022/domain/sort-item-layers/sort-items-by-parent/index.mjs +3 -3
- package/esm2022/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent-request.mjs +8 -0
- package/esm2022/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.mjs +124 -0
- package/esm2022/domain/sort-item-layers/sort-node-layers-by-groups/index.mjs +3 -3
- package/esm2022/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers-request.mjs +4 -0
- package/esm2022/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.mjs +65 -0
- package/esm2022/f-cache/config/f-cache-options.mjs +20 -0
- package/esm2022/f-cache/config/index.mjs +2 -0
- package/esm2022/f-cache/features/f-cache-connectors/index.mjs +3 -0
- package/esm2022/f-cache/features/f-cache-connectors/register-connector/index.mjs +3 -0
- package/esm2022/f-cache/features/f-cache-connectors/register-connector/register-connector-request.mjs +14 -0
- package/esm2022/f-cache/features/f-cache-connectors/register-connector/register-connector.mjs +51 -0
- package/esm2022/f-cache/features/f-cache-connectors/unregister-connector/index.mjs +3 -0
- package/esm2022/f-cache/features/f-cache-connectors/unregister-connector/unregister-connector-request.mjs +10 -0
- package/esm2022/f-cache/features/f-cache-connectors/unregister-connector/unregister-connector.mjs +49 -0
- package/esm2022/f-cache/features/f-cache-nodes/index.mjs +4 -0
- package/esm2022/f-cache/features/f-cache-nodes/invalidate-node/index.mjs +3 -0
- package/esm2022/f-cache/features/f-cache-nodes/invalidate-node/invalidate-node-request.mjs +10 -0
- package/esm2022/f-cache/features/f-cache-nodes/invalidate-node/invalidate-node.mjs +41 -0
- package/esm2022/f-cache/features/f-cache-nodes/register-node/index.mjs +3 -0
- package/esm2022/f-cache/features/f-cache-nodes/register-node/register-node-request.mjs +12 -0
- package/esm2022/f-cache/features/f-cache-nodes/register-node/register-node.mjs +30 -0
- package/esm2022/f-cache/features/f-cache-nodes/unregister-node/index.mjs +3 -0
- package/esm2022/f-cache/features/f-cache-nodes/unregister-node/unregister-node-request.mjs +8 -0
- package/esm2022/f-cache/features/f-cache-nodes/unregister-node/unregister-node.mjs +43 -0
- package/esm2022/f-cache/features/f-cache-rects/get-cached-rect/get-cached-rect-request.mjs +8 -0
- package/esm2022/f-cache/features/f-cache-rects/get-cached-rect/get-cached-rect.mjs +38 -0
- package/esm2022/f-cache/features/f-cache-rects/get-cached-rect/index.mjs +3 -0
- package/esm2022/f-cache/features/f-cache-rects/index.mjs +5 -0
- package/esm2022/f-cache/features/f-cache-rects/set-connector-rect/index.mjs +3 -0
- package/esm2022/f-cache/features/f-cache-rects/set-connector-rect/set-connector-rect-request.mjs +12 -0
- package/esm2022/f-cache/features/f-cache-rects/set-connector-rect/set-connector-rect.mjs +33 -0
- package/esm2022/f-cache/features/f-cache-rects/set-node-rect/index.mjs +3 -0
- package/esm2022/f-cache/features/f-cache-rects/set-node-rect/set-node-rect-request.mjs +10 -0
- package/esm2022/f-cache/features/f-cache-rects/set-node-rect/set-node-rect.mjs +64 -0
- package/esm2022/f-cache/features/f-cache-rects/update-rect-by-element/index.mjs +3 -0
- package/esm2022/f-cache/features/f-cache-rects/update-rect-by-element/update-rect-by-element-request.mjs +10 -0
- package/esm2022/f-cache/features/f-cache-rects/update-rect-by-element/update-rect-by-element.mjs +42 -0
- package/esm2022/f-cache/features/index.mjs +4 -0
- package/esm2022/f-cache/index.mjs +5 -0
- package/esm2022/f-cache/model/f-cache-connector-key.mjs +6 -0
- package/esm2022/f-cache/model/f-cache-connector.mjs +17 -0
- package/esm2022/f-cache/model/f-cache-node.mjs +13 -0
- package/esm2022/f-cache/model/f-cache.mjs +15 -0
- package/esm2022/f-cache/model/i-f-cache-node-ref.mjs +2 -0
- package/esm2022/f-cache/model/index.mjs +6 -0
- package/esm2022/f-cache/providers.mjs +15 -0
- package/esm2022/f-canvas/f-canvas.component.mjs +9 -7
- package/esm2022/f-connection/f-connection/f-connection.component.mjs +3 -3
- package/esm2022/f-connection/f-connection-for-create/f-connection-for-create.component.mjs +3 -3
- package/esm2022/f-connection/f-snap-connection/f-snap-connection.component.mjs +3 -3
- package/esm2022/f-connection-v2/components/connection-content/f-connection-content.mjs +3 -3
- package/esm2022/f-connection-v2/components/connection-content/utils/polyline-content-place.mjs +3 -3
- package/esm2022/f-connection-v2/components/connection-waypoints/f-connection-waypoints.mjs +3 -3
- package/esm2022/f-connection-worker/features/calculate-connection-worker-connector-rect/calculate-connection-worker-connector-rect-request.mjs +10 -0
- package/esm2022/f-connection-worker/features/calculate-connection-worker-connector-rect/calculate-connection-worker-connector-rect.mjs +31 -0
- package/esm2022/f-connection-worker/features/calculate-connection-worker-connector-rect/index.mjs +3 -0
- package/esm2022/f-connection-worker/features/calculate-connection-worker-payload-item/calculate-connection-worker-payload-item-request.mjs +10 -0
- package/esm2022/f-connection-worker/features/calculate-connection-worker-payload-item/calculate-connection-worker-payload-item.mjs +45 -0
- package/esm2022/f-connection-worker/features/calculate-connection-worker-payload-item/index.mjs +3 -0
- package/esm2022/f-connection-worker/features/calculate-connections-using-connection-worker/calculate-connections-using-connection-worker-request.mjs +10 -0
- package/esm2022/f-connection-worker/features/calculate-connections-using-connection-worker/calculate-connections-using-connection-worker.mjs +41 -0
- package/esm2022/f-connection-worker/features/calculate-connections-using-connection-worker/index.mjs +3 -0
- package/esm2022/f-connection-worker/features/connection-worker-run/connection-worker-run-request.mjs +8 -0
- package/esm2022/f-connection-worker/features/connection-worker-run/connection-worker-run.mjs +59 -0
- package/esm2022/f-connection-worker/features/connection-worker-run/index.mjs +3 -0
- package/esm2022/f-connection-worker/features/disable-connection-worker/disable-connection-worker-request.mjs +8 -0
- package/esm2022/f-connection-worker/features/disable-connection-worker/disable-connection-worker.mjs +25 -0
- package/esm2022/f-connection-worker/features/disable-connection-worker/index.mjs +3 -0
- package/esm2022/f-connection-worker/features/ensure-connection-worker/ensure-connection-worker-request.mjs +4 -0
- package/esm2022/f-connection-worker/features/ensure-connection-worker/ensure-connection-worker.mjs +61 -0
- package/esm2022/f-connection-worker/features/ensure-connection-worker/index.mjs +3 -0
- package/esm2022/f-connection-worker/features/handle-connection-worker-message/handle-connection-worker-message-request.mjs +8 -0
- package/esm2022/f-connection-worker/features/handle-connection-worker-message/handle-connection-worker-message.mjs +34 -0
- package/esm2022/f-connection-worker/features/handle-connection-worker-message/index.mjs +3 -0
- package/esm2022/f-connection-worker/features/index.mjs +13 -0
- package/esm2022/f-connection-worker/features/is-connection-worker-enabled/index.mjs +3 -0
- package/esm2022/f-connection-worker/features/is-connection-worker-enabled/is-connection-worker-enabled-request.mjs +4 -0
- package/esm2022/f-connection-worker/features/is-connection-worker-enabled/is-connection-worker-enabled.mjs +34 -0
- package/esm2022/f-connection-worker/features/reset-connection-worker-runtime/index.mjs +3 -0
- package/esm2022/f-connection-worker/features/reset-connection-worker-runtime/reset-connection-worker-runtime-request.mjs +8 -0
- package/esm2022/f-connection-worker/features/reset-connection-worker-runtime/reset-connection-worker-runtime.mjs +22 -0
- package/esm2022/f-connection-worker/features/resolve-connection-worker-connectors/index.mjs +3 -0
- package/esm2022/f-connection-worker/features/resolve-connection-worker-connectors/resolve-connection-worker-connectors-request.mjs +8 -0
- package/esm2022/f-connection-worker/features/resolve-connection-worker-connectors/resolve-connection-worker-connectors.mjs +27 -0
- package/esm2022/f-connection-worker/features/resolve-connection-worker-context/index.mjs +3 -0
- package/esm2022/f-connection-worker/features/resolve-connection-worker-context/resolve-connection-worker-context-request.mjs +10 -0
- package/esm2022/f-connection-worker/features/resolve-connection-worker-context/resolve-connection-worker-context.mjs +36 -0
- package/esm2022/f-connection-worker/features/should-use-connection-worker/index.mjs +3 -0
- package/esm2022/f-connection-worker/features/should-use-connection-worker/should-use-connection-worker-request.mjs +8 -0
- package/esm2022/f-connection-worker/features/should-use-connection-worker/should-use-connection-worker.mjs +22 -0
- package/esm2022/f-connection-worker/index.mjs +4 -0
- package/esm2022/f-connection-worker/model/f-connection-worker.mjs +23 -0
- package/esm2022/f-connection-worker/model/i-f-connection-worker-rect.mjs +2 -0
- package/esm2022/f-connection-worker/model/i-f-connection-worker-request-item.mjs +2 -0
- package/esm2022/f-connection-worker/model/i-f-connection-worker-response.mjs +2 -0
- package/esm2022/f-connection-worker/model/i-f-connection-worker-result-item.mjs +2 -0
- package/esm2022/f-connection-worker/model/index.mjs +7 -0
- package/esm2022/f-connection-worker/model/t-f-connection-worker-pending-request.mjs +2 -0
- package/esm2022/f-connection-worker/providers.mjs +18 -0
- package/esm2022/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-preparation/drag-connection-waypoint-preparation.mjs +2 -2
- package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.mjs +2 -2
- package/esm2022/f-draggable/domain/detect-connections-under-drag-node/detect-connections-under-drag-node.mjs +2 -2
- package/esm2022/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect-request.mjs +8 -0
- package/esm2022/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.mjs +67 -0
- package/esm2022/f-draggable/domain/get-normalized-parent-node-rect/index.mjs +3 -3
- package/esm2022/f-draggable/domain/is-array-has-parent-node/index.mjs +3 -3
- package/esm2022/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node-request.mjs +10 -0
- package/esm2022/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.mjs +26 -0
- package/esm2022/f-draggable/domain/providers.mjs +5 -5
- package/esm2022/f-draggable/drag-external-item/constraints/external-rect-constraint.mjs +46 -0
- package/esm2022/f-draggable/drag-external-item/constraints/index.mjs +2 -0
- package/esm2022/f-draggable/drag-external-item/drag-external-item-create-placeholder/drag-external-item-create-placeholder-request.mjs +8 -0
- package/esm2022/f-draggable/drag-external-item/drag-external-item-create-placeholder/drag-external-item-create-placeholder.mjs +42 -0
- package/esm2022/f-draggable/drag-external-item/drag-external-item-create-placeholder/index.mjs +3 -0
- package/esm2022/f-draggable/drag-external-item/drag-external-item-create-preview/drag-external-item-create-preview-request.mjs +8 -0
- package/esm2022/f-draggable/drag-external-item/drag-external-item-create-preview/drag-external-item-create-preview.mjs +53 -0
- package/esm2022/f-draggable/drag-external-item/drag-external-item-create-preview/index.mjs +3 -0
- package/esm2022/f-draggable/drag-external-item/drag-external-item-finalize/drag-external-item-finalize-request.mjs +8 -0
- package/esm2022/f-draggable/drag-external-item/drag-external-item-finalize/drag-external-item-finalize.mjs +75 -0
- package/esm2022/f-draggable/drag-external-item/drag-external-item-finalize/index.mjs +3 -0
- package/esm2022/f-draggable/drag-external-item/drag-external-item-handler/drag-external-item-handler.mjs +206 -0
- package/esm2022/f-draggable/drag-external-item/drag-external-item-handler/index.mjs +2 -0
- package/esm2022/f-draggable/drag-external-item/drag-external-item-preparation/drag-external-item-preparation-request.mjs +10 -0
- package/esm2022/f-draggable/drag-external-item/drag-external-item-preparation/drag-external-item-preparation.mjs +55 -0
- package/esm2022/f-draggable/drag-external-item/drag-external-item-preparation/index.mjs +3 -0
- package/esm2022/f-draggable/drag-external-item/f-create-node-event.mjs +35 -0
- package/esm2022/f-draggable/drag-external-item/f-drag-external-item-start-event-data.mjs +7 -0
- package/esm2022/f-draggable/drag-external-item/i-drag-external-item-drag-result.mjs +2 -0
- package/esm2022/f-draggable/drag-external-item/index.mjs +13 -0
- package/esm2022/f-draggable/drag-external-item/is-drag-external-item-handler.mjs +7 -0
- package/esm2022/f-draggable/drag-external-item/prevent-default-is-external-item/index.mjs +3 -0
- package/esm2022/f-draggable/drag-external-item/prevent-default-is-external-item/prevent-default-is-external-item-request.mjs +8 -0
- package/esm2022/f-draggable/drag-external-item/prevent-default-is-external-item/prevent-default-is-external-item.mjs +38 -0
- package/esm2022/f-draggable/drag-external-item/providers.mjs +13 -0
- package/esm2022/f-draggable/drag-minimap/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point-request.mjs +14 -0
- package/esm2022/f-draggable/drag-minimap/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.mjs +39 -0
- package/esm2022/f-draggable/drag-minimap/calculate-flow-point-from-minimap-point/index.mjs +3 -0
- package/esm2022/f-draggable/drag-minimap/drag-minimap-finalize/drag-minimap-finalize-request.mjs +8 -0
- package/esm2022/f-draggable/drag-minimap/drag-minimap-finalize/drag-minimap-finalize.mjs +30 -0
- package/esm2022/f-draggable/drag-minimap/drag-minimap-finalize/index.mjs +3 -0
- package/esm2022/f-draggable/drag-minimap/drag-minimap-handler/drag-minimap-handler.mjs +52 -0
- package/esm2022/f-draggable/drag-minimap/drag-minimap-handler/index.mjs +2 -0
- package/esm2022/f-draggable/drag-minimap/drag-minimap-preparation/drag-minimap-preparation-request.mjs +8 -0
- package/esm2022/f-draggable/drag-minimap/drag-minimap-preparation/drag-minimap-preparation.mjs +68 -0
- package/esm2022/f-draggable/drag-minimap/drag-minimap-preparation/index.mjs +3 -0
- package/esm2022/f-draggable/drag-minimap/index.mjs +7 -0
- package/esm2022/f-draggable/drag-minimap/is-drag-minimap-handler.mjs +7 -0
- package/esm2022/f-draggable/drag-minimap/providers.mjs +9 -0
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-drag-node-handler-from-selection.mjs +1 -1
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-soft-parent-connection-drag-handlers-to-node/attach-soft-parent-connection-drag-handlers-to-node-request.mjs +18 -0
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-soft-parent-connection-drag-handlers-to-node/attach-soft-parent-connection-drag-handlers-to-node.mjs +95 -0
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-soft-parent-connection-drag-handlers-to-node/index.mjs +3 -0
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-handler/create-drag-node-handler.mjs +23 -4
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/index.mjs +2 -1
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/providers.mjs +3 -1
- package/esm2022/f-draggable/drag-node/drag-node-dependent-connection-handlers/drag-node-connection-handler-base.mjs +7 -1
- package/esm2022/f-draggable/drag-node/drag-node-finalize/drag-node-finalize.mjs +3 -3
- package/esm2022/f-draggable/drag-node/drag-node-handler/drag-node-handler.mjs +5 -4
- package/esm2022/f-draggable/drag-node/drag-node-handler/drag-node-item-handler.mjs +49 -5
- package/esm2022/f-draggable/drag-node/drag-node-handler/i-soft-parent-connection-handlers.mjs +2 -0
- package/esm2022/f-draggable/drag-node/drag-node-handler/index.mjs +2 -1
- package/esm2022/f-draggable/drag-node/index.mjs +2 -1
- package/esm2022/f-draggable/drag-node/is-drag-node-handler.mjs +7 -0
- package/esm2022/f-draggable/drop-to-group/drop-to-group-handler/drop-to-group-handler.mjs +11 -9
- package/esm2022/f-draggable/drop-to-group/drop-to-group-preparation/drop-to-group-preparation.mjs +4 -15
- package/esm2022/f-draggable/f-draggable-base.mjs +1 -1
- package/esm2022/f-draggable/f-draggable.directive.mjs +16 -29
- package/esm2022/f-draggable/index.mjs +5 -4
- package/esm2022/f-draggable/infrastructure/drag-handler-injector.mjs +16 -1
- package/esm2022/f-draggable/pinch-to-zoom/index.mjs +3 -3
- package/esm2022/f-draggable/pinch-to-zoom/pinch-to-zoom-finalize/index.mjs +3 -0
- package/esm2022/f-draggable/pinch-to-zoom/pinch-to-zoom-finalize/pinch-to-zoom-finalize-request.mjs +8 -0
- package/esm2022/f-draggable/pinch-to-zoom/pinch-to-zoom-finalize/pinch-to-zoom-finalize.mjs +31 -0
- package/esm2022/f-draggable/pinch-to-zoom/pinch-to-zoom-preparation/index.mjs +3 -0
- package/esm2022/f-draggable/pinch-to-zoom/pinch-to-zoom-preparation/pinch-to-zoom-preparation-request.mjs +8 -0
- package/esm2022/f-draggable/pinch-to-zoom/pinch-to-zoom-preparation/pinch-to-zoom-preparation.mjs +47 -0
- package/esm2022/f-draggable/pinch-to-zoom/providers.mjs +3 -3
- package/esm2022/f-draggable/providers.mjs +7 -7
- package/esm2022/f-draggable/resize-node/apply-child-resize-constraints/apply-child-resize-constraints-request.mjs +10 -0
- package/esm2022/f-draggable/resize-node/apply-child-resize-constraints/apply-child-resize-constraints.mjs +57 -0
- package/esm2022/f-draggable/resize-node/apply-child-resize-constraints/index.mjs +3 -0
- package/esm2022/f-draggable/resize-node/apply-parent-resize-constraints/apply-parent-resize-constraints-request.mjs +10 -0
- package/esm2022/f-draggable/resize-node/apply-parent-resize-constraints/apply-parent-resize-constraints.mjs +150 -0
- package/esm2022/f-draggable/resize-node/apply-parent-resize-constraints/index.mjs +3 -0
- package/esm2022/f-draggable/resize-node/calculate-changed-rect-from-difference/calculate-changed-rect-from-difference-request.mjs +14 -0
- package/esm2022/f-draggable/resize-node/calculate-changed-rect-from-difference/calculate-changed-rect-from-difference.mjs +55 -0
- package/esm2022/f-draggable/resize-node/calculate-changed-rect-from-difference/index.mjs +3 -0
- package/esm2022/f-draggable/resize-node/calculate-direct-children-union-rect/calculate-direct-children-union-rect-request.mjs +10 -0
- package/esm2022/f-draggable/resize-node/calculate-direct-children-union-rect/calculate-direct-children-union-rect.mjs +38 -0
- package/esm2022/f-draggable/resize-node/calculate-direct-children-union-rect/index.mjs +3 -0
- package/esm2022/f-draggable/resize-node/calculate-resize-limits/calculate-resize-limits-request.mjs +10 -0
- package/esm2022/f-draggable/resize-node/calculate-resize-limits/calculate-resize-limits.mjs +69 -0
- package/esm2022/f-draggable/resize-node/calculate-resize-limits/index.mjs +3 -0
- package/esm2022/f-draggable/resize-node/constraint/i-resize-constraint.mjs +2 -0
- package/esm2022/f-draggable/resize-node/constraint/i-resize-limit.mjs +2 -0
- package/esm2022/f-draggable/resize-node/constraint/i-resize-limits.mjs +2 -0
- package/esm2022/f-draggable/resize-node/constraint/i-resize-overflow.mjs +2 -0
- package/esm2022/f-draggable/resize-node/constraint/index.mjs +6 -0
- package/esm2022/f-draggable/resize-node/constraint/resize-direction.mjs +12 -0
- package/esm2022/f-draggable/resize-node/f-resize-node-start-event-data.mjs +7 -0
- package/esm2022/f-draggable/resize-node/index.mjs +13 -0
- package/esm2022/f-draggable/resize-node/is-resize-node-handler.mjs +7 -0
- package/esm2022/f-draggable/resize-node/providers.mjs +19 -0
- package/esm2022/f-draggable/resize-node/resize-node-finalize/index.mjs +3 -0
- package/esm2022/f-draggable/resize-node/resize-node-finalize/resize-node-finalize-request.mjs +8 -0
- package/esm2022/f-draggable/resize-node/resize-node-finalize/resize-node-finalize.mjs +29 -0
- package/esm2022/f-draggable/resize-node/resize-node-handler/i-resize-node-connection-handlers.mjs +2 -0
- package/esm2022/f-draggable/resize-node/resize-node-handler/index.mjs +4 -0
- package/esm2022/f-draggable/resize-node/resize-node-handler/resize-node-dependent-connection-handlers/index.mjs +5 -0
- package/esm2022/f-draggable/resize-node/resize-node-handler/resize-node-dependent-connection-handlers/resize-node-connection-both-sides-handler.mjs +31 -0
- package/esm2022/f-draggable/resize-node/resize-node-handler/resize-node-dependent-connection-handlers/resize-node-connection-handler-base.mjs +53 -0
- package/esm2022/f-draggable/resize-node/resize-node-handler/resize-node-dependent-connection-handlers/resize-node-connection-source-handler.mjs +15 -0
- package/esm2022/f-draggable/resize-node/resize-node-handler/resize-node-dependent-connection-handlers/resize-node-connection-target-handler.mjs +15 -0
- package/esm2022/f-draggable/resize-node/resize-node-handler/resize-node-handler.mjs +116 -0
- package/esm2022/f-draggable/resize-node/resize-preparation/attach-resize-connection-drag-handlers-to-node/attach-resize-connection-drag-handlers-to-node-request.mjs +10 -0
- package/esm2022/f-draggable/resize-node/resize-preparation/attach-resize-connection-drag-handlers-to-node/attach-resize-connection-drag-handlers-to-node.mjs +99 -0
- package/esm2022/f-draggable/resize-node/resize-preparation/attach-resize-connection-drag-handlers-to-node/index.mjs +3 -0
- package/esm2022/f-draggable/resize-node/resize-preparation/index.mjs +4 -0
- package/esm2022/f-draggable/resize-node/resize-preparation/resize-node-preparation-request.mjs +10 -0
- package/esm2022/f-draggable/resize-node/resize-preparation/resize-node-preparation.mjs +77 -0
- package/esm2022/f-draggable/rotate-node/calculate-difference-after-rotation.mjs +19 -0
- package/esm2022/f-draggable/rotate-node/f-rotate-node-start-event-data.mjs +7 -0
- package/esm2022/f-draggable/rotate-node/index.mjs +8 -0
- package/esm2022/f-draggable/rotate-node/is-rotate-node-handler.mjs +7 -0
- package/esm2022/f-draggable/rotate-node/providers.mjs +4 -0
- package/esm2022/f-draggable/rotate-node/rotate-node-finalize/index.mjs +3 -0
- package/esm2022/f-draggable/rotate-node/rotate-node-finalize/rotate-node-finalize-request.mjs +8 -0
- package/esm2022/f-draggable/rotate-node/rotate-node-finalize/rotate-node-finalize.mjs +31 -0
- package/esm2022/f-draggable/rotate-node/rotate-node-handler/index.mjs +2 -0
- package/esm2022/f-draggable/rotate-node/rotate-node-handler/rotate-node-handler.mjs +89 -0
- package/esm2022/f-draggable/rotate-node/rotate-node-preparation/index.mjs +3 -0
- package/esm2022/f-draggable/rotate-node/rotate-node-preparation/rotate-node-preparation-request.mjs +10 -0
- package/esm2022/f-draggable/rotate-node/rotate-node-preparation/rotate-node-preparation.mjs +99 -0
- package/esm2022/f-draggable/selection-area/selection-area-handler/selection-area-handler.mjs +2 -2
- package/esm2022/f-external-item/f-external-item-base.mjs +5 -2
- package/esm2022/f-external-item/f-external-item-placeholder.mjs +26 -0
- package/esm2022/f-external-item/f-external-item-preview.mjs +26 -0
- package/esm2022/f-external-item/f-external-item.mjs +63 -0
- package/esm2022/f-external-item/f-external-item.service.mjs +37 -11
- package/esm2022/f-external-item/index.mjs +4 -6
- package/esm2022/f-external-item/is-external-item.mjs +6 -3
- package/esm2022/f-external-item/providers.mjs +3 -5
- package/esm2022/f-flow/f-flow-base.mjs +2 -2
- package/esm2022/f-flow/f-flow.component.mjs +47 -27
- package/esm2022/f-flow.module.mjs +24 -20
- package/esm2022/f-magnetic-lines/f-magnetic-lines.mjs +4 -4
- package/esm2022/f-magnetic-rects/f-magnetic-rects.mjs +4 -4
- package/esm2022/f-minimap/f-minimap-base.mjs +12 -0
- package/esm2022/f-minimap/f-minimap-canvas.directive.mjs +12 -8
- package/esm2022/f-minimap/f-minimap-flow.directive.mjs +7 -6
- package/esm2022/f-minimap/f-minimap-view.directive.mjs +5 -4
- package/esm2022/f-minimap/f-minimap.component.mjs +25 -16
- package/esm2022/f-minimap/index.mjs +2 -2
- package/esm2022/f-node/f-group.directive.mjs +4 -1
- package/esm2022/f-node/f-node.directive.mjs +4 -1
- package/esm2022/f-storage/f-components-store.mjs +18 -11
- package/esm2022/f-storage/features/emit-connections-changes/emit-connections-changes-request.mjs +4 -0
- package/esm2022/f-storage/features/emit-connections-changes/emit-connections-changes.mjs +22 -0
- package/esm2022/f-storage/features/emit-connections-changes/index.mjs +3 -0
- package/esm2022/f-storage/features/index.mjs +4 -4
- package/esm2022/f-storage/features/listen-connections-changes/index.mjs +3 -0
- package/esm2022/f-storage/features/listen-connections-changes/listen-connections-changes-request.mjs +8 -0
- package/esm2022/f-storage/features/listen-connections-changes/listen-connections-changes.mjs +25 -0
- package/esm2022/f-storage/features/listen-nodes-changes/index.mjs +3 -0
- package/esm2022/f-storage/features/listen-nodes-changes/listen-nodes-changes-request.mjs +4 -0
- package/esm2022/f-storage/features/listen-nodes-changes/listen-nodes-changes.mjs +23 -0
- package/esm2022/f-storage/features/listen-transform-changes/listen-transform-changes.mjs +3 -3
- package/esm2022/f-storage/providers.mjs +6 -6
- package/esm2022/f-virtual/f-virtual-for.mjs +56 -0
- package/esm2022/f-virtual/index.mjs +3 -0
- package/esm2022/f-virtual/providers.mjs +3 -0
- package/esm2022/f-zoom/f-zoom.directive.mjs +17 -9
- package/esm2022/public-api.mjs +4 -1
- package/esm2022/reactivity/after-next-paint.mjs +27 -0
- package/esm2022/reactivity/index.mjs +2 -1
- package/esm2022/utils/calculate-pointer-in-flow.mjs +6 -3
- package/f-cache/config/f-cache-options.d.ts +6 -0
- package/f-cache/config/index.d.ts +1 -0
- package/f-cache/features/f-cache-connectors/index.d.ts +2 -0
- package/f-cache/features/f-cache-connectors/register-connector/index.d.ts +2 -0
- package/f-cache/features/f-cache-connectors/register-connector/register-connector-request.d.ts +8 -0
- package/f-cache/features/f-cache-connectors/register-connector/register-connector.d.ts +12 -0
- package/f-cache/features/f-cache-connectors/unregister-connector/index.d.ts +2 -0
- package/f-cache/features/f-cache-connectors/unregister-connector/unregister-connector-request.d.ts +6 -0
- package/f-cache/features/f-cache-connectors/unregister-connector/unregister-connector.d.ts +12 -0
- package/f-cache/features/f-cache-nodes/index.d.ts +3 -0
- package/f-cache/features/f-cache-nodes/invalidate-node/index.d.ts +2 -0
- package/f-cache/features/f-cache-nodes/invalidate-node/invalidate-node-request.d.ts +6 -0
- package/f-cache/features/f-cache-nodes/invalidate-node/invalidate-node.d.ts +10 -0
- package/f-cache/features/f-cache-nodes/register-node/index.d.ts +2 -0
- package/f-cache/features/f-cache-nodes/register-node/register-node-request.d.ts +8 -0
- package/f-cache/features/f-cache-nodes/register-node/register-node.d.ts +10 -0
- package/f-cache/features/f-cache-nodes/unregister-node/index.d.ts +2 -0
- package/f-cache/features/f-cache-nodes/unregister-node/unregister-node-request.d.ts +5 -0
- package/f-cache/features/f-cache-nodes/unregister-node/unregister-node.d.ts +11 -0
- package/f-cache/features/f-cache-rects/get-cached-rect/get-cached-rect-request.d.ts +5 -0
- package/f-cache/features/f-cache-rects/get-cached-rect/get-cached-rect.d.ts +11 -0
- package/f-cache/features/f-cache-rects/get-cached-rect/index.d.ts +2 -0
- package/f-cache/features/f-cache-rects/index.d.ts +4 -0
- package/f-cache/features/f-cache-rects/set-connector-rect/index.d.ts +2 -0
- package/f-cache/features/f-cache-rects/set-connector-rect/set-connector-rect-request.d.ts +8 -0
- package/f-cache/features/f-cache-rects/set-connector-rect/set-connector-rect.d.ts +10 -0
- package/f-cache/features/f-cache-rects/set-node-rect/index.d.ts +2 -0
- package/f-cache/features/f-cache-rects/set-node-rect/set-node-rect-request.d.ts +7 -0
- package/f-cache/features/f-cache-rects/set-node-rect/set-node-rect.d.ts +11 -0
- package/f-cache/features/f-cache-rects/update-rect-by-element/index.d.ts +2 -0
- package/f-cache/features/f-cache-rects/update-rect-by-element/update-rect-by-element-request.d.ts +7 -0
- package/f-cache/features/f-cache-rects/update-rect-by-element/update-rect-by-element.d.ts +10 -0
- package/f-cache/features/index.d.ts +3 -0
- package/f-cache/index.d.ts +4 -0
- package/f-cache/model/f-cache-connector-key.d.ts +4 -0
- package/f-cache/model/f-cache-connector.d.ts +11 -0
- package/f-cache/model/f-cache-node.d.ts +9 -0
- package/f-cache/model/f-cache.d.ts +12 -0
- package/f-cache/model/i-f-cache-node-ref.d.ts +6 -0
- package/f-cache/model/index.d.ts +5 -0
- package/f-cache/providers.d.ts +3 -0
- package/f-connection-worker/features/calculate-connection-worker-connector-rect/calculate-connection-worker-connector-rect-request.d.ts +8 -0
- package/f-connection-worker/features/calculate-connection-worker-connector-rect/calculate-connection-worker-connector-rect.d.ts +12 -0
- package/f-connection-worker/features/calculate-connection-worker-connector-rect/index.d.ts +2 -0
- package/f-connection-worker/features/calculate-connection-worker-payload-item/calculate-connection-worker-payload-item-request.d.ts +8 -0
- package/f-connection-worker/features/calculate-connection-worker-payload-item/calculate-connection-worker-payload-item.d.ts +10 -0
- package/f-connection-worker/features/calculate-connection-worker-payload-item/index.d.ts +2 -0
- package/f-connection-worker/features/calculate-connections-using-connection-worker/calculate-connections-using-connection-worker-request.d.ts +8 -0
- package/f-connection-worker/features/calculate-connections-using-connection-worker/calculate-connections-using-connection-worker.d.ts +12 -0
- package/f-connection-worker/features/calculate-connections-using-connection-worker/index.d.ts +2 -0
- package/f-connection-worker/features/connection-worker-run/connection-worker-run-request.d.ts +6 -0
- package/f-connection-worker/features/connection-worker-run/connection-worker-run.d.ts +12 -0
- package/f-connection-worker/features/connection-worker-run/index.d.ts +2 -0
- package/f-connection-worker/features/disable-connection-worker/disable-connection-worker-request.d.ts +5 -0
- package/f-connection-worker/features/disable-connection-worker/disable-connection-worker.d.ts +10 -0
- package/f-connection-worker/features/disable-connection-worker/index.d.ts +2 -0
- package/f-connection-worker/features/ensure-connection-worker/ensure-connection-worker-request.d.ts +3 -0
- package/f-connection-worker/features/ensure-connection-worker/ensure-connection-worker.d.ts +13 -0
- package/f-connection-worker/features/ensure-connection-worker/index.d.ts +2 -0
- package/f-connection-worker/features/handle-connection-worker-message/handle-connection-worker-message-request.d.ts +6 -0
- package/f-connection-worker/features/handle-connection-worker-message/handle-connection-worker-message.d.ts +9 -0
- package/f-connection-worker/features/handle-connection-worker-message/index.d.ts +2 -0
- package/f-connection-worker/features/index.d.ts +12 -0
- package/f-connection-worker/features/is-connection-worker-enabled/index.d.ts +2 -0
- package/f-connection-worker/features/is-connection-worker-enabled/is-connection-worker-enabled-request.d.ts +3 -0
- package/f-connection-worker/features/is-connection-worker-enabled/is-connection-worker-enabled.d.ts +11 -0
- package/f-connection-worker/features/reset-connection-worker-runtime/index.d.ts +2 -0
- package/f-connection-worker/features/reset-connection-worker-runtime/reset-connection-worker-runtime-request.d.ts +5 -0
- package/f-connection-worker/features/reset-connection-worker-runtime/reset-connection-worker-runtime.d.ts +9 -0
- package/f-connection-worker/features/resolve-connection-worker-connectors/index.d.ts +2 -0
- package/f-connection-worker/features/resolve-connection-worker-connectors/resolve-connection-worker-connectors-request.d.ts +11 -0
- package/f-connection-worker/features/resolve-connection-worker-connectors/resolve-connection-worker-connectors.d.ts +9 -0
- package/f-connection-worker/features/resolve-connection-worker-context/index.d.ts +2 -0
- package/f-connection-worker/features/resolve-connection-worker-context/resolve-connection-worker-context-request.d.ts +13 -0
- package/f-connection-worker/features/resolve-connection-worker-context/resolve-connection-worker-context.d.ts +10 -0
- package/f-connection-worker/features/should-use-connection-worker/index.d.ts +2 -0
- package/f-connection-worker/features/should-use-connection-worker/should-use-connection-worker-request.d.ts +5 -0
- package/f-connection-worker/features/should-use-connection-worker/should-use-connection-worker.d.ts +9 -0
- package/f-connection-worker/index.d.ts +3 -0
- package/f-connection-worker/model/f-connection-worker.d.ts +12 -0
- package/f-connection-worker/model/i-f-connection-worker-rect.d.ts +6 -0
- package/f-connection-worker/model/i-f-connection-worker-request-item.d.ts +11 -0
- package/f-connection-worker/model/i-f-connection-worker-response.d.ts +6 -0
- package/f-connection-worker/model/i-f-connection-worker-result-item.d.ts +8 -0
- package/f-connection-worker/model/index.d.ts +6 -0
- package/f-connection-worker/model/t-f-connection-worker-pending-request.d.ts +5 -0
- package/f-connection-worker/providers.d.ts +3 -0
- package/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.d.ts +15 -0
- package/f-draggable/domain/get-normalized-parent-node-rect/index.d.ts +2 -2
- package/f-draggable/domain/is-array-has-parent-node/index.d.ts +2 -2
- package/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.d.ts +10 -0
- package/f-draggable/domain/providers.d.ts +3 -3
- package/f-draggable/drag-external-item/drag-external-item-create-placeholder/drag-external-item-create-placeholder-request.d.ts +6 -0
- package/f-draggable/drag-external-item/drag-external-item-create-placeholder/drag-external-item-create-placeholder.d.ts +13 -0
- package/f-draggable/drag-external-item/drag-external-item-create-placeholder/index.d.ts +2 -0
- package/f-draggable/drag-external-item/drag-external-item-create-preview/drag-external-item-create-preview-request.d.ts +6 -0
- package/f-draggable/drag-external-item/drag-external-item-create-preview/drag-external-item-create-preview.d.ts +14 -0
- package/f-draggable/drag-external-item/drag-external-item-create-preview/index.d.ts +2 -0
- package/f-draggable/drag-external-item/drag-external-item-finalize/drag-external-item-finalize-request.d.ts +6 -0
- package/f-draggable/drag-external-item/drag-external-item-finalize/drag-external-item-finalize.d.ts +21 -0
- package/f-draggable/drag-external-item/drag-external-item-finalize/index.d.ts +2 -0
- package/f-draggable/drag-external-item/drag-external-item-handler/drag-external-item-handler.d.ts +50 -0
- package/f-draggable/drag-external-item/drag-external-item-handler/index.d.ts +1 -0
- package/f-draggable/drag-external-item/drag-external-item-preparation/drag-external-item-preparation-request.d.ts +8 -0
- package/f-draggable/drag-external-item/drag-external-item-preparation/drag-external-item-preparation.d.ts +15 -0
- package/f-draggable/drag-external-item/drag-external-item-preparation/index.d.ts +2 -0
- package/f-draggable/drag-external-item/f-create-node-event.d.ts +18 -0
- package/f-draggable/drag-external-item/f-drag-external-item-start-event-data.d.ts +4 -0
- package/f-draggable/drag-external-item/i-drag-external-item-drag-result.d.ts +5 -0
- package/f-draggable/drag-external-item/index.d.ts +12 -0
- package/f-draggable/drag-external-item/is-drag-external-item-handler.d.ts +5 -0
- package/f-draggable/drag-external-item/prevent-default-is-external-item/index.d.ts +2 -0
- package/f-draggable/drag-external-item/prevent-default-is-external-item/prevent-default-is-external-item-request.d.ts +5 -0
- package/f-draggable/drag-external-item/prevent-default-is-external-item/prevent-default-is-external-item.d.ts +10 -0
- package/f-draggable/drag-external-item/providers.d.ts +6 -0
- package/f-draggable/drag-minimap/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point-request.d.ts +10 -0
- package/f-draggable/drag-minimap/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.d.ts +16 -0
- package/f-draggable/drag-minimap/calculate-flow-point-from-minimap-point/index.d.ts +2 -0
- package/f-draggable/drag-minimap/drag-minimap-finalize/drag-minimap-finalize-request.d.ts +6 -0
- package/f-draggable/drag-minimap/drag-minimap-finalize/drag-minimap-finalize.d.ts +10 -0
- package/f-draggable/drag-minimap/drag-minimap-finalize/index.d.ts +2 -0
- package/f-draggable/drag-minimap/drag-minimap-handler/drag-minimap-handler.d.ts +23 -0
- package/f-draggable/drag-minimap/drag-minimap-handler/index.d.ts +1 -0
- package/f-draggable/drag-minimap/drag-minimap-preparation/drag-minimap-preparation-request.d.ts +6 -0
- package/f-draggable/drag-minimap/drag-minimap-preparation/drag-minimap-preparation.d.ts +16 -0
- package/f-draggable/drag-minimap/drag-minimap-preparation/index.d.ts +2 -0
- package/f-draggable/drag-minimap/index.d.ts +6 -0
- package/f-draggable/drag-minimap/is-drag-minimap-handler.d.ts +5 -0
- package/f-draggable/drag-minimap/providers.d.ts +4 -0
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-soft-parent-connection-drag-handlers-to-node/attach-soft-parent-connection-drag-handlers-to-node-request.d.ts +19 -0
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-soft-parent-connection-drag-handlers-to-node/attach-soft-parent-connection-drag-handlers-to-node.d.ts +15 -0
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-soft-parent-connection-drag-handlers-to-node/index.d.ts +2 -0
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-handler/create-drag-node-handler.d.ts +2 -0
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/index.d.ts +1 -0
- package/f-draggable/drag-node/attach-drag-node-handler-from-selection/providers.d.ts +2 -1
- package/f-draggable/drag-node/drag-node-dependent-connection-handlers/drag-node-connection-handler-base.d.ts +1 -0
- package/f-draggable/drag-node/drag-node-handler/drag-node-item-handler.d.ts +6 -0
- package/f-draggable/drag-node/drag-node-handler/i-soft-parent-connection-handlers.d.ts +12 -0
- package/f-draggable/drag-node/drag-node-handler/index.d.ts +1 -0
- package/f-draggable/drag-node/index.d.ts +1 -0
- package/f-draggable/drag-node/is-drag-node-handler.d.ts +5 -0
- package/f-draggable/drag-node/providers.d.ts +1 -1
- package/f-draggable/drop-to-group/drop-to-group-handler/drop-to-group-handler.d.ts +2 -3
- package/f-draggable/drop-to-group/drop-to-group-preparation/drop-to-group-preparation.d.ts +0 -3
- package/f-draggable/f-draggable-base.d.ts +1 -1
- package/f-draggable/f-draggable.directive.d.ts +2 -4
- package/f-draggable/index.d.ts +4 -3
- package/f-draggable/pinch-to-zoom/index.d.ts +2 -2
- package/f-draggable/pinch-to-zoom/providers.d.ts +2 -2
- package/f-draggable/providers.d.ts +1 -1
- package/f-draggable/resize-node/apply-parent-resize-constraints/apply-parent-resize-constraints-request.d.ts +8 -0
- package/f-draggable/resize-node/apply-parent-resize-constraints/apply-parent-resize-constraints.d.ts +37 -0
- package/f-draggable/resize-node/calculate-changed-rect-from-difference/calculate-changed-rect-from-difference.d.ts +11 -0
- package/f-draggable/resize-node/calculate-resize-limits/calculate-resize-limits-request.d.ts +8 -0
- package/f-draggable/resize-node/constraint/i-resize-constraint.d.ts +7 -0
- package/f-draggable/resize-node/constraint/i-resize-limit.d.ts +7 -0
- package/f-draggable/resize-node/constraint/i-resize-limits.d.ts +5 -0
- package/f-draggable/resize-node/constraint/index.d.ts +5 -0
- package/f-draggable/resize-node/f-resize-node-start-event-data.d.ts +4 -0
- package/f-draggable/resize-node/index.d.ts +12 -0
- package/f-draggable/resize-node/is-resize-node-handler.d.ts +5 -0
- package/f-draggable/resize-node/providers.d.ts +9 -0
- package/f-draggable/resize-node/resize-node-finalize/index.d.ts +2 -0
- package/f-draggable/resize-node/resize-node-finalize/resize-node-finalize-request.d.ts +6 -0
- package/f-draggable/resize-node/resize-node-finalize/resize-node-finalize.d.ts +10 -0
- package/f-draggable/resize-node/resize-node-handler/i-resize-node-connection-handlers.d.ts +10 -0
- package/f-draggable/resize-node/resize-node-handler/index.d.ts +3 -0
- package/f-draggable/resize-node/resize-node-handler/resize-node-dependent-connection-handlers/index.d.ts +4 -0
- package/f-draggable/resize-node/resize-node-handler/resize-node-dependent-connection-handlers/resize-node-connection-both-sides-handler.d.ts +12 -0
- package/f-draggable/resize-node/resize-node-handler/resize-node-dependent-connection-handlers/resize-node-connection-handler-base.d.ts +20 -0
- package/f-draggable/resize-node/resize-node-handler/resize-node-dependent-connection-handlers/resize-node-connection-source-handler.d.ts +8 -0
- package/f-draggable/resize-node/resize-node-handler/resize-node-dependent-connection-handlers/resize-node-connection-target-handler.d.ts +8 -0
- package/f-draggable/resize-node/resize-node-handler/resize-node-handler.d.ts +35 -0
- package/f-draggable/resize-node/resize-preparation/attach-resize-connection-drag-handlers-to-node/attach-resize-connection-drag-handlers-to-node-request.d.ts +8 -0
- package/f-draggable/resize-node/resize-preparation/attach-resize-connection-drag-handlers-to-node/attach-resize-connection-drag-handlers-to-node.d.ts +16 -0
- package/f-draggable/resize-node/resize-preparation/attach-resize-connection-drag-handlers-to-node/index.d.ts +2 -0
- package/f-draggable/resize-node/resize-preparation/index.d.ts +3 -0
- package/f-draggable/resize-node/resize-preparation/resize-node-preparation-request.d.ts +8 -0
- package/f-draggable/resize-node/resize-preparation/resize-node-preparation.d.ts +17 -0
- package/f-draggable/rotate-node/f-rotate-node-start-event-data.d.ts +4 -0
- package/f-draggable/rotate-node/index.d.ts +7 -0
- package/f-draggable/rotate-node/is-rotate-node-handler.d.ts +5 -0
- package/f-draggable/rotate-node/providers.d.ts +3 -0
- package/f-draggable/rotate-node/rotate-node-finalize/index.d.ts +2 -0
- package/f-draggable/rotate-node/rotate-node-finalize/rotate-node-finalize-request.d.ts +6 -0
- package/f-draggable/rotate-node/rotate-node-finalize/rotate-node-finalize.d.ts +10 -0
- package/f-draggable/rotate-node/rotate-node-handler/index.d.ts +1 -0
- package/f-draggable/rotate-node/rotate-node-handler/rotate-node-handler.d.ts +43 -0
- package/f-draggable/rotate-node/rotate-node-preparation/index.d.ts +2 -0
- package/f-draggable/rotate-node/rotate-node-preparation/rotate-node-preparation-request.d.ts +8 -0
- package/f-draggable/rotate-node/rotate-node-preparation/rotate-node-preparation.d.ts +18 -0
- package/f-external-item/f-external-item-base.d.ts +10 -10
- package/f-external-item/f-external-item-placeholder.d.ts +10 -0
- package/f-external-item/f-external-item-preview.d.ts +10 -0
- package/f-external-item/f-external-item.d.ts +23 -0
- package/f-external-item/f-external-item.service.d.ts +10 -3
- package/f-external-item/index.d.ts +3 -5
- package/f-external-item/is-external-item.d.ts +1 -1
- package/f-external-item/providers.d.ts +2 -2
- package/f-flow/f-flow-base.d.ts +2 -1
- package/f-flow/f-flow.component.d.ts +11 -7
- package/f-flow.module.d.ts +21 -20
- package/f-minimap/f-minimap-base.d.ts +10 -0
- package/f-minimap/f-minimap-canvas.directive.d.ts +3 -2
- package/f-minimap/f-minimap-flow.directive.d.ts +3 -3
- package/f-minimap/f-minimap-view.directive.d.ts +1 -1
- package/f-minimap/f-minimap.component.d.ts +10 -7
- package/f-minimap/index.d.ts +1 -1
- package/f-storage/f-components-store.d.ts +10 -6
- package/f-storage/features/emit-connections-changes/emit-connections-changes-request.d.ts +3 -0
- package/f-storage/features/emit-connections-changes/emit-connections-changes.d.ts +9 -0
- package/f-storage/features/emit-connections-changes/index.d.ts +2 -0
- package/f-storage/features/index.d.ts +3 -3
- package/f-storage/features/listen-connections-changes/index.d.ts +2 -0
- package/f-storage/features/listen-connections-changes/listen-connections-changes-request.d.ts +5 -0
- package/f-storage/features/listen-connections-changes/listen-connections-changes.d.ts +10 -0
- package/f-storage/features/listen-nodes-changes/index.d.ts +2 -0
- package/f-storage/features/listen-nodes-changes/listen-nodes-changes-request.d.ts +3 -0
- package/f-storage/features/listen-nodes-changes/listen-nodes-changes.d.ts +10 -0
- package/f-storage/features/listen-transform-changes/listen-transform-changes.d.ts +1 -1
- package/f-storage/providers.d.ts +3 -3
- package/f-virtual/f-virtual-for.d.ts +15 -0
- package/f-virtual/index.d.ts +2 -0
- package/f-virtual/providers.d.ts +2 -0
- package/f-zoom/f-zoom.directive.d.ts +1 -0
- package/fesm2022/foblex-flow.mjs +8506 -6560
- package/fesm2022/foblex-flow.mjs.map +1 -1
- package/package.json +8 -5
- package/public-api.d.ts +3 -0
- package/reactivity/after-next-paint.d.ts +2 -0
- package/reactivity/index.d.ts +1 -0
- package/utils/calculate-pointer-in-flow.d.ts +1 -3
- package/domain/drag-rect-cache.d.ts +0 -8
- package/domain/f-canvas/add-canvas-to-store/add-canvas-to-store.execution.d.ts +0 -12
- package/domain/f-canvas/center-group-or-node/center-group-or-node.execution.d.ts +0 -18
- package/domain/f-canvas/fit-to-flow/fit-to-flow.execution.d.ts +0 -17
- package/domain/f-canvas/get-canvas/get-canvas-request.d.ts +0 -3
- package/domain/f-canvas/get-canvas/get-canvas.execution.d.ts +0 -13
- package/domain/f-canvas/get-canvas/index.d.ts +0 -2
- package/domain/f-canvas/input-canvas-position/input-canvas-position.execution.d.ts +0 -12
- package/domain/f-canvas/input-canvas-scale/input-canvas-scale.execution.d.ts +0 -13
- package/domain/f-canvas/redraw-canvas-with-animation/redraw-canvas-with-animation.execution.d.ts +0 -17
- package/domain/f-canvas/remove-canvas-from-store/remove-canvas-from-store.execution.d.ts +0 -12
- package/domain/f-canvas/reset-scale/reset-scale.execution.d.ts +0 -13
- package/domain/f-canvas/reset-scale-and-center/reset-scale-and-center.execution.d.ts +0 -17
- package/domain/f-canvas/update-scale/update-scale.execution.d.ts +0 -14
- package/domain/f-connectors/find-connectable-connector-using-priority-and-position/find-connectable-connector-using-priority-and-position.execution.d.ts +0 -30
- package/domain/f-draggable/add-dnd-to-store/add-dnd-to-store.execution.d.ts +0 -12
- package/domain/f-draggable/initialize-drag-sequence/initialize-drag-sequence.execution.d.ts +0 -12
- package/domain/f-draggable/on-pointer-move/on-pointer-move.execution.d.ts +0 -19
- package/domain/f-draggable/prepare-drag-sequence/prepare-drag-sequence.execution.d.ts +0 -14
- package/domain/f-draggable/remove-dnd-from-store/remove-dnd-from-store.execution.d.ts +0 -12
- package/domain/f-flow/add-flow-to-store/add-flow-to-store.execution.d.ts +0 -12
- package/domain/f-flow/get-flow/get-flow.execution.d.ts +0 -13
- package/domain/f-flow/remove-flow-from-store/remove-flow-from-store.execution.d.ts +0 -12
- package/domain/f-selection/clear-selection/clear-selection.execution.d.ts +0 -12
- package/domain/f-selection/get-current-selection/get-current-selection.execution.d.ts +0 -16
- package/domain/f-selection/select/index.d.ts +0 -2
- package/domain/f-selection/select/select.execution.d.ts +0 -13
- package/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.execution.d.ts +0 -15
- package/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.request.d.ts +0 -5
- package/domain/get-element-rounded-rect/get-element-rounded-rect-request.d.ts +0 -5
- package/domain/get-element-rounded-rect/get-element-rounded-rect.execution.d.ts +0 -17
- package/domain/get-element-rounded-rect/index.d.ts +0 -2
- package/domain/get-normalized-connector-rect/get-normalized-connector-rect.execution.d.ts +0 -22
- package/domain/get-normalized-element-rect/get-normalized-element-rect.execution.d.ts +0 -22
- package/domain/get-normalized-point/get-normalized-point.execution.d.ts +0 -16
- package/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.execution.d.ts +0 -22
- package/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.request.d.ts +0 -5
- package/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.execution.d.ts +0 -24
- package/esm2022/domain/drag-rect-cache.mjs +0 -19
- package/esm2022/domain/f-canvas/add-canvas-to-store/add-canvas-to-store.execution.mjs +0 -25
- package/esm2022/domain/f-canvas/center-group-or-node/center-group-or-node.execution.mjs +0 -46
- package/esm2022/domain/f-canvas/fit-to-flow/fit-to-flow.execution.mjs +0 -58
- package/esm2022/domain/f-canvas/get-canvas/get-canvas-request.mjs +0 -4
- package/esm2022/domain/f-canvas/get-canvas/get-canvas.execution.mjs +0 -29
- package/esm2022/domain/f-canvas/get-canvas/index.mjs +0 -3
- package/esm2022/domain/f-canvas/input-canvas-position/input-canvas-position.execution.mjs +0 -35
- package/esm2022/domain/f-canvas/input-canvas-scale/input-canvas-scale.execution.mjs +0 -30
- package/esm2022/domain/f-canvas/redraw-canvas-with-animation/redraw-canvas-with-animation.execution.mjs +0 -40
- package/esm2022/domain/f-canvas/remove-canvas-from-store/remove-canvas-from-store.execution.mjs +0 -25
- package/esm2022/domain/f-canvas/reset-scale/reset-scale.execution.mjs +0 -30
- package/esm2022/domain/f-canvas/reset-scale-and-center/reset-scale-and-center.execution.mjs +0 -50
- package/esm2022/domain/f-canvas/update-scale/update-scale.execution.mjs +0 -36
- package/esm2022/domain/f-connectors/find-connectable-connector-using-priority-and-position/find-connectable-connector-using-priority-and-position.execution.mjs +0 -101
- package/esm2022/domain/f-connectors/find-connectable-connector-using-priority-and-position/find-connectable-connector-using-priority-and-position.request.mjs +0 -10
- package/esm2022/domain/f-draggable/add-dnd-to-store/add-dnd-to-store.execution.mjs +0 -25
- package/esm2022/domain/f-draggable/initialize-drag-sequence/initialize-drag-sequence.execution.mjs +0 -25
- package/esm2022/domain/f-draggable/on-pointer-move/on-pointer-move.execution.mjs +0 -46
- package/esm2022/domain/f-draggable/prepare-drag-sequence/prepare-drag-sequence.execution.mjs +0 -30
- package/esm2022/domain/f-draggable/remove-dnd-from-store/remove-dnd-from-store.execution.mjs +0 -25
- package/esm2022/domain/f-flow/add-flow-to-store/add-flow-to-store.execution.mjs +0 -25
- package/esm2022/domain/f-flow/get-flow/get-flow.execution.mjs +0 -29
- package/esm2022/domain/f-flow/remove-flow-from-store/remove-flow-from-store.execution.mjs +0 -25
- package/esm2022/domain/f-node/calculate-nodes-bounding-box/calculate-nodes-bounding-box.request.mjs +0 -4
- package/esm2022/domain/f-node/calculate-nodes-bounding-box-normalized-position/calculate-nodes-bounding-box-normalized-position.request.mjs +0 -8
- package/esm2022/domain/f-node/get-child-node-ids/get-child-node-ids.request.mjs +0 -8
- package/esm2022/domain/f-node/get-node-padding/get-node-padding.request.mjs +0 -10
- package/esm2022/domain/f-node/get-parent-nodes/get-parent-nodes.request.mjs +0 -8
- package/esm2022/domain/f-selection/clear-selection/clear-selection.execution.mjs +0 -27
- package/esm2022/domain/f-selection/clear-selection/clear-selection.request.mjs +0 -4
- package/esm2022/domain/f-selection/get-current-selection/get-current-selection.execution.mjs +0 -44
- package/esm2022/domain/f-selection/get-current-selection/get-current-selection.request.mjs +0 -4
- package/esm2022/domain/f-selection/select/index.mjs +0 -3
- package/esm2022/domain/f-selection/select/select.execution.mjs +0 -45
- package/esm2022/domain/f-selection/select/select.request.mjs +0 -12
- package/esm2022/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.execution.mjs +0 -36
- package/esm2022/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.request.mjs +0 -8
- package/esm2022/domain/get-element-rounded-rect/get-element-rounded-rect-request.mjs +0 -8
- package/esm2022/domain/get-element-rounded-rect/get-element-rounded-rect.execution.mjs +0 -36
- package/esm2022/domain/get-element-rounded-rect/index.mjs +0 -3
- package/esm2022/domain/get-normalized-connector-rect/get-normalized-connector-rect.execution.mjs +0 -54
- package/esm2022/domain/get-normalized-element-rect/get-normalized-element-rect.execution.mjs +0 -53
- package/esm2022/domain/get-normalized-point/get-normalized-point.execution.mjs +0 -56
- package/esm2022/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.execution.mjs +0 -61
- package/esm2022/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.request.mjs +0 -8
- package/esm2022/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.execution.mjs +0 -65
- package/esm2022/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.request.mjs +0 -4
- package/esm2022/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.execution.mjs +0 -67
- package/esm2022/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.request.mjs +0 -8
- package/esm2022/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.execution.mjs +0 -26
- package/esm2022/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.request.mjs +0 -10
- package/esm2022/f-draggable/f-node-resize/apply-child-resize-constraints/apply-child-resize-constraints-request.mjs +0 -10
- package/esm2022/f-draggable/f-node-resize/apply-child-resize-constraints/apply-child-resize-constraints.mjs +0 -57
- package/esm2022/f-draggable/f-node-resize/apply-child-resize-constraints/index.mjs +0 -3
- package/esm2022/f-draggable/f-node-resize/apply-parent-resize-constraints/apply-parent-resize-constraints-request.mjs +0 -10
- package/esm2022/f-draggable/f-node-resize/apply-parent-resize-constraints/apply-parent-resize-constraints.mjs +0 -147
- package/esm2022/f-draggable/f-node-resize/apply-parent-resize-constraints/index.mjs +0 -3
- package/esm2022/f-draggable/f-node-resize/calculate-changed-rect-from-difference/calculate-changed-rect-from-difference-request.mjs +0 -14
- package/esm2022/f-draggable/f-node-resize/calculate-changed-rect-from-difference/calculate-changed-rect-from-difference.mjs +0 -55
- package/esm2022/f-draggable/f-node-resize/calculate-changed-rect-from-difference/index.mjs +0 -3
- package/esm2022/f-draggable/f-node-resize/calculate-direct-children-union-rect/calculate-direct-children-union-rect-request.mjs +0 -10
- package/esm2022/f-draggable/f-node-resize/calculate-direct-children-union-rect/calculate-direct-children-union-rect.mjs +0 -38
- package/esm2022/f-draggable/f-node-resize/calculate-direct-children-union-rect/index.mjs +0 -3
- package/esm2022/f-draggable/f-node-resize/calculate-resize-limits/calculate-resize-limits-request.mjs +0 -10
- package/esm2022/f-draggable/f-node-resize/calculate-resize-limits/calculate-resize-limits.mjs +0 -69
- package/esm2022/f-draggable/f-node-resize/calculate-resize-limits/index.mjs +0 -3
- package/esm2022/f-draggable/f-node-resize/constraint/i-resize-constraint.mjs +0 -2
- package/esm2022/f-draggable/f-node-resize/constraint/i-resize-limit.mjs +0 -2
- package/esm2022/f-draggable/f-node-resize/constraint/i-resize-limits.mjs +0 -2
- package/esm2022/f-draggable/f-node-resize/constraint/i-resize-overflow.mjs +0 -2
- package/esm2022/f-draggable/f-node-resize/constraint/index.mjs +0 -5
- package/esm2022/f-draggable/f-node-resize/i-node-resize-event-data.mjs +0 -2
- package/esm2022/f-draggable/f-node-resize/index.mjs +0 -13
- package/esm2022/f-draggable/f-node-resize/node-resize.drag-handler.mjs +0 -66
- package/esm2022/f-draggable/f-node-resize/providers.mjs +0 -17
- package/esm2022/f-draggable/f-node-resize/resize-direction.mjs +0 -12
- package/esm2022/f-draggable/f-node-resize/resize-finalize/index.mjs +0 -3
- package/esm2022/f-draggable/f-node-resize/resize-finalize/node-resize-finalize-request.mjs +0 -8
- package/esm2022/f-draggable/f-node-resize/resize-finalize/node-resize-finalize.mjs +0 -29
- package/esm2022/f-draggable/f-node-resize/resize-preparation/index.mjs +0 -3
- package/esm2022/f-draggable/f-node-resize/resize-preparation/node-resize-preparation-request.mjs +0 -10
- package/esm2022/f-draggable/f-node-resize/resize-preparation/node-resize-preparation.mjs +0 -69
- package/esm2022/f-draggable/f-node-rotate/calculate-difference-after-rotation.mjs +0 -19
- package/esm2022/f-draggable/f-node-rotate/f-node-rotate.drag-handler.mjs +0 -75
- package/esm2022/f-draggable/f-node-rotate/i-node-rotate-event-data.mjs +0 -2
- package/esm2022/f-draggable/f-node-rotate/index.mjs +0 -6
- package/esm2022/f-draggable/f-node-rotate/providers.mjs +0 -7
- package/esm2022/f-draggable/f-node-rotate/rotate-finalize/f-node-rotate-finalize.execution.mjs +0 -32
- package/esm2022/f-draggable/f-node-rotate/rotate-finalize/f-node-rotate-finalize.request.mjs +0 -8
- package/esm2022/f-draggable/f-node-rotate/rotate-finalize/index.mjs +0 -3
- package/esm2022/f-draggable/f-node-rotate/rotate-preparation/f-node-rotate-preparation.execution.mjs +0 -94
- package/esm2022/f-draggable/f-node-rotate/rotate-preparation/f-node-rotate-preparation.request.mjs +0 -10
- package/esm2022/f-draggable/f-node-rotate/rotate-preparation/index.mjs +0 -3
- package/esm2022/f-draggable/i-f-drag-and-drop-plugin.mjs +0 -4
- package/esm2022/f-draggable/pinch-to-zoom/finalize/index.mjs +0 -3
- package/esm2022/f-draggable/pinch-to-zoom/finalize/pinch-to-zoom-finalize-request.mjs +0 -8
- package/esm2022/f-draggable/pinch-to-zoom/finalize/pinch-to-zoom-finalize.mjs +0 -31
- package/esm2022/f-draggable/pinch-to-zoom/preparation/index.mjs +0 -3
- package/esm2022/f-draggable/pinch-to-zoom/preparation/pinch-to-zoom-preparation-request.mjs +0 -8
- package/esm2022/f-draggable/pinch-to-zoom/preparation/pinch-to-zoom-preparation.mjs +0 -47
- package/esm2022/f-external-item/domain/constraint/external-rect-constraint.mjs +0 -44
- package/esm2022/f-external-item/domain/constraint/index.mjs +0 -2
- package/esm2022/f-external-item/domain/create-placeholder/f-external-item-create-placeholder.execution.mjs +0 -41
- package/esm2022/f-external-item/domain/create-placeholder/f-external-item-create-placeholder.request.mjs +0 -8
- package/esm2022/f-external-item/domain/create-placeholder/index.mjs +0 -3
- package/esm2022/f-external-item/domain/create-preview/f-external-item-create-preview.execution.mjs +0 -52
- package/esm2022/f-external-item/domain/create-preview/f-external-item-create-preview.request.mjs +0 -8
- package/esm2022/f-external-item/domain/create-preview/index.mjs +0 -3
- package/esm2022/f-external-item/domain/f-create-node.event.mjs +0 -13
- package/esm2022/f-external-item/domain/f-external-item.drag-handler.mjs +0 -104
- package/esm2022/f-external-item/domain/finalize/f-external-item-finalize.execution.mjs +0 -75
- package/esm2022/f-external-item/domain/finalize/f-external-item-finalize.request.mjs +0 -8
- package/esm2022/f-external-item/domain/finalize/index.mjs +0 -3
- package/esm2022/f-external-item/domain/i-f-external-item-drag-result.mjs +0 -2
- package/esm2022/f-external-item/domain/index.mjs +0 -11
- package/esm2022/f-external-item/domain/preparation/f-external-item-preparation.execution.mjs +0 -56
- package/esm2022/f-external-item/domain/preparation/f-external-item-preparation.request.mjs +0 -10
- package/esm2022/f-external-item/domain/preparation/index.mjs +0 -3
- package/esm2022/f-external-item/domain/prevent-default-is-external-item/index.mjs +0 -3
- package/esm2022/f-external-item/domain/prevent-default-is-external-item/prevent-default-is-external-item.execution.mjs +0 -37
- package/esm2022/f-external-item/domain/prevent-default-is-external-item/prevent-default-is-external-item.request.mjs +0 -8
- package/esm2022/f-external-item/domain/providers.mjs +0 -13
- package/esm2022/f-external-item/f-external-item-placeholder.directive.mjs +0 -26
- package/esm2022/f-external-item/f-external-item-preview.directive.mjs +0 -26
- package/esm2022/f-external-item/f-external-item-token.mjs +0 -3
- package/esm2022/f-external-item/f-external-item.directive.mjs +0 -59
- package/esm2022/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.execution.mjs +0 -39
- package/esm2022/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.request.mjs +0 -14
- package/esm2022/f-minimap/domain/calculate-flow-point-from-minimap-point/index.mjs +0 -3
- package/esm2022/f-minimap/domain/f-minimap-data.mjs +0 -12
- package/esm2022/f-minimap/domain/f-minimap.drag-handler.mjs +0 -45
- package/esm2022/f-minimap/domain/index.mjs +0 -10
- package/esm2022/f-minimap/domain/minimap-calculate-svg-scale-and-view-box/i-f-minimap-scale-and-view-box.mjs +0 -2
- package/esm2022/f-minimap/domain/minimap-calculate-svg-scale-and-view-box/index.mjs +0 -4
- package/esm2022/f-minimap/domain/minimap-calculate-svg-scale-and-view-box/minimap-calculate-svg-scale-and-view-box.execution.mjs +0 -73
- package/esm2022/f-minimap/domain/minimap-calculate-svg-scale-and-view-box/minimap-calculate-svg-scale-and-view-box.request.mjs +0 -10
- package/esm2022/f-minimap/domain/minimap-calculate-view-box/index.mjs +0 -3
- package/esm2022/f-minimap/domain/minimap-calculate-view-box/minimap-calculate-view-box.execution.mjs +0 -42
- package/esm2022/f-minimap/domain/minimap-calculate-view-box/minimap-calculate-view-box.request.mjs +0 -4
- package/esm2022/f-minimap/domain/minimap-drag-finalize/index.mjs +0 -4
- package/esm2022/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.execution.mjs +0 -32
- package/esm2022/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.request.mjs +0 -8
- package/esm2022/f-minimap/domain/minimap-drag-finalize/providers.mjs +0 -5
- package/esm2022/f-minimap/domain/minimap-drag-preparation/index.mjs +0 -4
- package/esm2022/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.execution.mjs +0 -54
- package/esm2022/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.request.mjs +0 -10
- package/esm2022/f-minimap/domain/minimap-drag-preparation/providers.mjs +0 -5
- package/esm2022/f-minimap/domain/minimap-draw-nodes/index.mjs +0 -3
- package/esm2022/f-minimap/domain/minimap-draw-nodes/minimap-draw-nodes.execution.mjs +0 -70
- package/esm2022/f-minimap/domain/minimap-draw-nodes/minimap-draw-nodes.request.mjs +0 -4
- package/esm2022/f-minimap/domain/providers.mjs +0 -15
- package/esm2022/f-storage/features/listen-count-changes/index.mjs +0 -3
- package/esm2022/f-storage/features/listen-count-changes/listen-count-changes-request.mjs +0 -4
- package/esm2022/f-storage/features/listen-count-changes/listen-count-changes.mjs +0 -23
- package/esm2022/f-storage/features/listen-data-changed/index.mjs +0 -3
- package/esm2022/f-storage/features/listen-data-changed/listen-data-changes-request.mjs +0 -8
- package/esm2022/f-storage/features/listen-data-changed/listen-data-changes.mjs +0 -25
- package/esm2022/f-storage/features/notify-data-changed/index.mjs +0 -3
- package/esm2022/f-storage/features/notify-data-changed/notify-data-changed-request.mjs +0 -4
- package/esm2022/f-storage/features/notify-data-changed/notify-data-changed.mjs +0 -22
- package/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.execution.d.ts +0 -15
- package/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.execution.d.ts +0 -10
- package/f-draggable/f-node-resize/apply-parent-resize-constraints/apply-parent-resize-constraints-request.d.ts +0 -8
- package/f-draggable/f-node-resize/apply-parent-resize-constraints/apply-parent-resize-constraints.d.ts +0 -36
- package/f-draggable/f-node-resize/calculate-changed-rect-from-difference/calculate-changed-rect-from-difference.d.ts +0 -11
- package/f-draggable/f-node-resize/calculate-resize-limits/calculate-resize-limits-request.d.ts +0 -8
- package/f-draggable/f-node-resize/constraint/i-resize-constraint.d.ts +0 -7
- package/f-draggable/f-node-resize/constraint/i-resize-limit.d.ts +0 -7
- package/f-draggable/f-node-resize/constraint/i-resize-limits.d.ts +0 -5
- package/f-draggable/f-node-resize/constraint/index.d.ts +0 -4
- package/f-draggable/f-node-resize/i-node-resize-event-data.d.ts +0 -3
- package/f-draggable/f-node-resize/index.d.ts +0 -12
- package/f-draggable/f-node-resize/node-resize.drag-handler.d.ts +0 -29
- package/f-draggable/f-node-resize/providers.d.ts +0 -8
- package/f-draggable/f-node-resize/resize-finalize/index.d.ts +0 -2
- package/f-draggable/f-node-resize/resize-finalize/node-resize-finalize-request.d.ts +0 -6
- package/f-draggable/f-node-resize/resize-finalize/node-resize-finalize.d.ts +0 -10
- package/f-draggable/f-node-resize/resize-preparation/index.d.ts +0 -2
- package/f-draggable/f-node-resize/resize-preparation/node-resize-preparation-request.d.ts +0 -8
- package/f-draggable/f-node-resize/resize-preparation/node-resize-preparation.d.ts +0 -21
- package/f-draggable/f-node-rotate/f-node-rotate.drag-handler.d.ts +0 -39
- package/f-draggable/f-node-rotate/i-node-rotate-event-data.d.ts +0 -3
- package/f-draggable/f-node-rotate/index.d.ts +0 -5
- package/f-draggable/f-node-rotate/providers.d.ts +0 -3
- package/f-draggable/f-node-rotate/rotate-finalize/f-node-rotate-finalize.execution.d.ts +0 -10
- package/f-draggable/f-node-rotate/rotate-finalize/f-node-rotate-finalize.request.d.ts +0 -6
- package/f-draggable/f-node-rotate/rotate-finalize/index.d.ts +0 -2
- package/f-draggable/f-node-rotate/rotate-preparation/f-node-rotate-preparation.execution.d.ts +0 -23
- package/f-draggable/f-node-rotate/rotate-preparation/f-node-rotate-preparation.request.d.ts +0 -8
- package/f-draggable/f-node-rotate/rotate-preparation/index.d.ts +0 -2
- package/f-draggable/i-f-drag-and-drop-plugin.d.ts +0 -10
- package/f-external-item/domain/create-placeholder/f-external-item-create-placeholder.execution.d.ts +0 -13
- package/f-external-item/domain/create-placeholder/f-external-item-create-placeholder.request.d.ts +0 -6
- package/f-external-item/domain/create-placeholder/index.d.ts +0 -2
- package/f-external-item/domain/create-preview/f-external-item-create-preview.execution.d.ts +0 -14
- package/f-external-item/domain/create-preview/f-external-item-create-preview.request.d.ts +0 -6
- package/f-external-item/domain/create-preview/index.d.ts +0 -2
- package/f-external-item/domain/f-create-node.event.d.ts +0 -8
- package/f-external-item/domain/f-external-item.drag-handler.d.ts +0 -35
- package/f-external-item/domain/finalize/f-external-item-finalize.execution.d.ts +0 -22
- package/f-external-item/domain/finalize/f-external-item-finalize.request.d.ts +0 -6
- package/f-external-item/domain/finalize/index.d.ts +0 -2
- package/f-external-item/domain/i-f-external-item-drag-result.d.ts +0 -5
- package/f-external-item/domain/index.d.ts +0 -10
- package/f-external-item/domain/preparation/f-external-item-preparation.execution.d.ts +0 -18
- package/f-external-item/domain/preparation/f-external-item-preparation.request.d.ts +0 -8
- package/f-external-item/domain/preparation/index.d.ts +0 -2
- package/f-external-item/domain/prevent-default-is-external-item/index.d.ts +0 -2
- package/f-external-item/domain/prevent-default-is-external-item/prevent-default-is-external-item.execution.d.ts +0 -10
- package/f-external-item/domain/prevent-default-is-external-item/prevent-default-is-external-item.request.d.ts +0 -5
- package/f-external-item/domain/providers.d.ts +0 -6
- package/f-external-item/f-external-item-placeholder.directive.d.ts +0 -10
- package/f-external-item/f-external-item-preview.directive.d.ts +0 -10
- package/f-external-item/f-external-item-token.d.ts +0 -3
- package/f-external-item/f-external-item.directive.d.ts +0 -20
- package/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.execution.d.ts +0 -16
- package/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.request.d.ts +0 -10
- package/f-minimap/domain/calculate-flow-point-from-minimap-point/index.d.ts +0 -2
- package/f-minimap/domain/f-minimap-data.d.ts +0 -7
- package/f-minimap/domain/f-minimap.drag-handler.d.ts +0 -22
- package/f-minimap/domain/index.d.ts +0 -9
- package/f-minimap/domain/minimap-calculate-svg-scale-and-view-box/i-f-minimap-scale-and-view-box.d.ts +0 -5
- package/f-minimap/domain/minimap-calculate-svg-scale-and-view-box/index.d.ts +0 -3
- package/f-minimap/domain/minimap-calculate-svg-scale-and-view-box/minimap-calculate-svg-scale-and-view-box.execution.d.ts +0 -22
- package/f-minimap/domain/minimap-calculate-svg-scale-and-view-box/minimap-calculate-svg-scale-and-view-box.request.d.ts +0 -6
- package/f-minimap/domain/minimap-calculate-view-box/index.d.ts +0 -2
- package/f-minimap/domain/minimap-calculate-view-box/minimap-calculate-view-box.execution.d.ts +0 -14
- package/f-minimap/domain/minimap-calculate-view-box/minimap-calculate-view-box.request.d.ts +0 -3
- package/f-minimap/domain/minimap-drag-finalize/index.d.ts +0 -3
- package/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.execution.d.ts +0 -10
- package/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.request.d.ts +0 -6
- package/f-minimap/domain/minimap-drag-finalize/providers.d.ts +0 -2
- package/f-minimap/domain/minimap-drag-preparation/index.d.ts +0 -3
- package/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.execution.d.ts +0 -15
- package/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.request.d.ts +0 -8
- package/f-minimap/domain/minimap-drag-preparation/providers.d.ts +0 -2
- package/f-minimap/domain/minimap-draw-nodes/index.d.ts +0 -2
- package/f-minimap/domain/minimap-draw-nodes/minimap-draw-nodes.execution.d.ts +0 -19
- package/f-minimap/domain/providers.d.ts +0 -5
- package/f-storage/features/listen-count-changes/index.d.ts +0 -2
- package/f-storage/features/listen-count-changes/listen-count-changes-request.d.ts +0 -3
- package/f-storage/features/listen-count-changes/listen-count-changes.d.ts +0 -10
- package/f-storage/features/listen-data-changed/index.d.ts +0 -2
- package/f-storage/features/listen-data-changed/listen-data-changes-request.d.ts +0 -5
- package/f-storage/features/listen-data-changed/listen-data-changes.d.ts +0 -10
- package/f-storage/features/notify-data-changed/index.d.ts +0 -2
- package/f-storage/features/notify-data-changed/notify-data-changed-request.d.ts +0 -3
- package/f-storage/features/notify-data-changed/notify-data-changed.d.ts +0 -9
- /package/domain/f-connectors/find-connectable-connector-using-priority-and-position/{find-connectable-connector-using-priority-and-position.request.d.ts → find-connectable-connector-using-priority-and-position-request.d.ts} +0 -0
- /package/domain/f-node/calculate-nodes-bounding-box/{calculate-nodes-bounding-box.request.d.ts → calculate-nodes-bounding-box-request.d.ts} +0 -0
- /package/domain/f-node/calculate-nodes-bounding-box-normalized-position/{calculate-nodes-bounding-box-normalized-position.request.d.ts → calculate-nodes-bounding-box-normalized-position-request.d.ts} +0 -0
- /package/domain/f-node/get-child-node-ids/{get-child-node-ids.request.d.ts → get-child-node-ids-request.d.ts} +0 -0
- /package/domain/f-node/get-node-padding/{get-node-padding.request.d.ts → get-node-padding-request.d.ts} +0 -0
- /package/domain/f-node/get-parent-nodes/{get-parent-nodes.request.d.ts → get-parent-nodes-request.d.ts} +0 -0
- /package/domain/f-selection/clear-selection/{clear-selection.request.d.ts → clear-selection-request.d.ts} +0 -0
- /package/domain/f-selection/get-current-selection/{get-current-selection.request.d.ts → get-current-selection-request.d.ts} +0 -0
- /package/domain/f-selection/{select/select.request.d.ts → select-items/select-request.d.ts} +0 -0
- /package/{f-minimap/domain/minimap-draw-nodes/minimap-draw-nodes.request.d.ts → domain/minimap/minimap-draw-nodes/minimap-draw-nodes-request.d.ts} +0 -0
- /package/domain/sort-item-layers/sort-node-layers-by-groups/{sort-node-layers.request.d.ts → sort-node-layers-request.d.ts} +0 -0
- /package/f-draggable/domain/get-normalized-parent-node-rect/{get-normalized-parent-node-rect.request.d.ts → get-normalized-parent-node-rect-request.d.ts} +0 -0
- /package/f-draggable/domain/is-array-has-parent-node/{is-array-has-parent-node.request.d.ts → is-array-has-parent-node-request.d.ts} +0 -0
- /package/{f-external-item/domain/constraint → f-draggable/drag-external-item/constraints}/external-rect-constraint.d.ts +0 -0
- /package/{f-external-item/domain/constraint → f-draggable/drag-external-item/constraints}/index.d.ts +0 -0
- /package/f-draggable/pinch-to-zoom/{finalize → pinch-to-zoom-finalize}/index.d.ts +0 -0
- /package/f-draggable/pinch-to-zoom/{finalize → pinch-to-zoom-finalize}/pinch-to-zoom-finalize-request.d.ts +0 -0
- /package/f-draggable/pinch-to-zoom/{finalize → pinch-to-zoom-finalize}/pinch-to-zoom-finalize.d.ts +0 -0
- /package/f-draggable/pinch-to-zoom/{preparation → pinch-to-zoom-preparation}/index.d.ts +0 -0
- /package/f-draggable/pinch-to-zoom/{preparation → pinch-to-zoom-preparation}/pinch-to-zoom-preparation-request.d.ts +0 -0
- /package/f-draggable/pinch-to-zoom/{preparation → pinch-to-zoom-preparation}/pinch-to-zoom-preparation.d.ts +0 -0
- /package/f-draggable/{f-node-resize → resize-node}/apply-child-resize-constraints/apply-child-resize-constraints-request.d.ts +0 -0
- /package/f-draggable/{f-node-resize → resize-node}/apply-child-resize-constraints/apply-child-resize-constraints.d.ts +0 -0
- /package/f-draggable/{f-node-resize → resize-node}/apply-child-resize-constraints/index.d.ts +0 -0
- /package/f-draggable/{f-node-resize → resize-node}/apply-parent-resize-constraints/index.d.ts +0 -0
- /package/f-draggable/{f-node-resize → resize-node}/calculate-changed-rect-from-difference/calculate-changed-rect-from-difference-request.d.ts +0 -0
- /package/f-draggable/{f-node-resize → resize-node}/calculate-changed-rect-from-difference/index.d.ts +0 -0
- /package/f-draggable/{f-node-resize → resize-node}/calculate-direct-children-union-rect/calculate-direct-children-union-rect-request.d.ts +0 -0
- /package/f-draggable/{f-node-resize → resize-node}/calculate-direct-children-union-rect/calculate-direct-children-union-rect.d.ts +0 -0
- /package/f-draggable/{f-node-resize → resize-node}/calculate-direct-children-union-rect/index.d.ts +0 -0
- /package/f-draggable/{f-node-resize → resize-node}/calculate-resize-limits/calculate-resize-limits.d.ts +0 -0
- /package/f-draggable/{f-node-resize → resize-node}/calculate-resize-limits/index.d.ts +0 -0
- /package/f-draggable/{f-node-resize → resize-node}/constraint/i-resize-overflow.d.ts +0 -0
- /package/f-draggable/{f-node-resize → resize-node/constraint}/resize-direction.d.ts +0 -0
- /package/f-draggable/{f-node-rotate → rotate-node}/calculate-difference-after-rotation.d.ts +0 -0
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { Point, RectExtensions } from '@foblex/2d';
|
|
3
|
-
import { FindConnectableConnectorUsingPriorityAndPositionRequest } from './find-connectable-connector-using-priority-and-position.request';
|
|
4
|
-
import { inject, Injectable } from '@angular/core';
|
|
5
|
-
import { BrowserService } from '@foblex/platform';
|
|
6
|
-
import { FExecutionRegister, FMediator } from '@foblex/mediator';
|
|
7
|
-
import { FComponentsStore } from '../../../f-storage';
|
|
8
|
-
import { CalculateClosestConnectorRequest } from '../calculate-closest-connector';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
/**
|
|
11
|
-
* Execution that finds a connectable connector at a given position with priority.
|
|
12
|
-
* It checks for connectors at the position, the closest connector if snap connection is enabled,
|
|
13
|
-
* and the first connectable connector of the node at that position.
|
|
14
|
-
*/
|
|
15
|
-
let FindConnectableConnectorUsingPriorityAndPositionExecution = class FindConnectableConnectorUsingPriorityAndPositionExecution {
|
|
16
|
-
_mediator = inject(FMediator);
|
|
17
|
-
_store = inject(FComponentsStore);
|
|
18
|
-
_browser = inject(BrowserService);
|
|
19
|
-
get _transform() {
|
|
20
|
-
return this._store.transform;
|
|
21
|
-
}
|
|
22
|
-
get _fHost() {
|
|
23
|
-
return this._store.flowHost;
|
|
24
|
-
}
|
|
25
|
-
get _fNodes() {
|
|
26
|
-
return this._store.nodes.getAll();
|
|
27
|
-
}
|
|
28
|
-
get _snapConnection() {
|
|
29
|
-
return this._store.connections.getForSnap();
|
|
30
|
-
}
|
|
31
|
-
handle(payload) {
|
|
32
|
-
const connectors = this._findConnectorAtPosition(payload);
|
|
33
|
-
return connectors.length > 0 ? connectors[0] : undefined;
|
|
34
|
-
}
|
|
35
|
-
_findConnectorAtPosition(request) {
|
|
36
|
-
const result = [];
|
|
37
|
-
result.push(...this._filterConnectorsThatLocatedAtPosition(request));
|
|
38
|
-
// Closest connector is only added if snap connection is enabled and there is a closest connector found
|
|
39
|
-
// Closest connector has more priority than the first connectable input of the node at position
|
|
40
|
-
const closestConnector = this._isSnapConnectionEnabledAndHasClosestConnector(request);
|
|
41
|
-
if (closestConnector) {
|
|
42
|
-
result.unshift(closestConnector.connector);
|
|
43
|
-
}
|
|
44
|
-
const fInput = this._getFirstConnectableConnectorOfNodeAtPosition(request);
|
|
45
|
-
if (fInput) {
|
|
46
|
-
result.push(fInput);
|
|
47
|
-
}
|
|
48
|
-
return result;
|
|
49
|
-
}
|
|
50
|
-
_filterConnectorsThatLocatedAtPosition(request) {
|
|
51
|
-
return request.connectableConnectors
|
|
52
|
-
.filter((x) => {
|
|
53
|
-
return RectExtensions.isIncludePoint(x.rect, this._getPointInFlow(request.pointerPosition));
|
|
54
|
-
})
|
|
55
|
-
.map((x) => x.connector);
|
|
56
|
-
}
|
|
57
|
-
_getPointInFlow(position) {
|
|
58
|
-
return Point.fromPoint(position)
|
|
59
|
-
.elementTransform(this._fHost)
|
|
60
|
-
.sub(this._transform.scaledPosition)
|
|
61
|
-
.sub(this._transform.position)
|
|
62
|
-
.div(this._transform.scale);
|
|
63
|
-
}
|
|
64
|
-
_isSnapConnectionEnabledAndHasClosestConnector(request) {
|
|
65
|
-
if (!this._snapConnection) {
|
|
66
|
-
return undefined;
|
|
67
|
-
}
|
|
68
|
-
const closestConnector = this._mediator.execute(new CalculateClosestConnectorRequest(this._getPointInFlow(request.pointerPosition), request.connectableConnectors));
|
|
69
|
-
return this._isValidClosestInput(closestConnector) ? closestConnector : undefined;
|
|
70
|
-
}
|
|
71
|
-
_isValidClosestInput(closestConnector) {
|
|
72
|
-
return !!closestConnector && closestConnector.distance < this._snapConnection.fSnapThreshold;
|
|
73
|
-
}
|
|
74
|
-
//if node placed in position and fConnectOnNode is true, return the first connectable connector of the node
|
|
75
|
-
_getFirstConnectableConnectorOfNodeAtPosition(request) {
|
|
76
|
-
return this._getElementsFromPoint(request.pointerPosition)
|
|
77
|
-
.map((x) => this._findConnectableNode(x))
|
|
78
|
-
.filter((x) => !!x)
|
|
79
|
-
.map((x) => this._findFirstConnectableConnectorOfNode(request.connectableConnectors, x))
|
|
80
|
-
.find((x) => !!x);
|
|
81
|
-
}
|
|
82
|
-
_getElementsFromPoint(position) {
|
|
83
|
-
return this._browser.document.elementsFromPoint(position.x, position.y);
|
|
84
|
-
}
|
|
85
|
-
_findConnectableNode(element) {
|
|
86
|
-
return this._fNodes.find((x) => x.isContains(element) && x.fConnectOnNode());
|
|
87
|
-
}
|
|
88
|
-
_findFirstConnectableConnectorOfNode(connectableInputs, fNode) {
|
|
89
|
-
return connectableInputs.find((x) => x.connector.fNodeId === fNode.fId())?.connector;
|
|
90
|
-
}
|
|
91
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FindConnectableConnectorUsingPriorityAndPositionExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
92
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FindConnectableConnectorUsingPriorityAndPositionExecution });
|
|
93
|
-
};
|
|
94
|
-
FindConnectableConnectorUsingPriorityAndPositionExecution = __decorate([
|
|
95
|
-
FExecutionRegister(FindConnectableConnectorUsingPriorityAndPositionRequest)
|
|
96
|
-
], FindConnectableConnectorUsingPriorityAndPositionExecution);
|
|
97
|
-
export { FindConnectableConnectorUsingPriorityAndPositionExecution };
|
|
98
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FindConnectableConnectorUsingPriorityAndPositionExecution, decorators: [{
|
|
99
|
-
type: Injectable
|
|
100
|
-
}] });
|
|
101
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmluZC1jb25uZWN0YWJsZS1jb25uZWN0b3ItdXNpbmctcHJpb3JpdHktYW5kLXBvc2l0aW9uLmV4ZWN1dGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZG9tYWluL2YtY29ubmVjdG9ycy9maW5kLWNvbm5lY3RhYmxlLWNvbm5lY3Rvci11c2luZy1wcmlvcml0eS1hbmQtcG9zaXRpb24vZmluZC1jb25uZWN0YWJsZS1jb25uZWN0b3ItdXNpbmctcHJpb3JpdHktYW5kLXBvc2l0aW9uLmV4ZWN1dGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUEyQixLQUFLLEVBQUUsY0FBYyxFQUFFLE1BQU0sWUFBWSxDQUFDO0FBQzVFLE9BQU8sRUFBRSx1REFBdUQsRUFBRSxNQUFNLGtFQUFrRSxDQUFDO0FBQzNJLE9BQU8sRUFBRSxNQUFNLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ25ELE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQztBQUNsRCxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsU0FBUyxFQUFjLE1BQU0sa0JBQWtCLENBQUM7QUFHN0UsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sb0JBQW9CLENBQUM7QUFFdEQsT0FBTyxFQUFFLGdDQUFnQyxFQUFFLE1BQU0sZ0NBQWdDLENBQUM7O0FBSWxGOzs7O0dBSUc7QUFHSSx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
2
|
-
pointerPosition;
|
|
3
|
-
connectableConnectors;
|
|
4
|
-
static fToken = Symbol('FindConnectableConnectorUsingPriorityAndPositionRequest');
|
|
5
|
-
constructor(pointerPosition, connectableConnectors) {
|
|
6
|
-
this.pointerPosition = pointerPosition;
|
|
7
|
-
this.connectableConnectors = connectableConnectors;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmluZC1jb25uZWN0YWJsZS1jb25uZWN0b3ItdXNpbmctcHJpb3JpdHktYW5kLXBvc2l0aW9uLnJlcXVlc3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2RvbWFpbi9mLWNvbm5lY3RvcnMvZmluZC1jb25uZWN0YWJsZS1jb25uZWN0b3ItdXNpbmctcHJpb3JpdHktYW5kLXBvc2l0aW9uL2ZpbmQtY29ubmVjdGFibGUtY29ubmVjdG9yLXVzaW5nLXByaW9yaXR5LWFuZC1wb3NpdGlvbi5yZXF1ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUdBLE1BQU0sT0FBTyx1REFBdUQ7SUFHekQ7SUFDQTtJQUhULE1BQU0sQ0FBVSxNQUFNLEdBQUcsTUFBTSxDQUFDLHlEQUF5RCxDQUFDLENBQUM7SUFDM0YsWUFDUyxlQUF1QixFQUN2QixxQkFBMEM7UUFEMUMsb0JBQWUsR0FBZixlQUFlLENBQVE7UUFDdkIsMEJBQXFCLEdBQXJCLHFCQUFxQixDQUFxQjtJQUNoRCxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSVBvaW50IH0gZnJvbSAnQGZvYmxleC8yZCc7XG5pbXBvcnQgeyBJQ29ubmVjdG9yUmVjdFJlZiB9IGZyb20gJy4uL2ktY29ubmVjdG9yLXJlY3QtcmVmJztcblxuZXhwb3J0IGNsYXNzIEZpbmRDb25uZWN0YWJsZUNvbm5lY3RvclVzaW5nUHJpb3JpdHlBbmRQb3NpdGlvblJlcXVlc3Qge1xuICBzdGF0aWMgcmVhZG9ubHkgZlRva2VuID0gU3ltYm9sKCdGaW5kQ29ubmVjdGFibGVDb25uZWN0b3JVc2luZ1ByaW9yaXR5QW5kUG9zaXRpb25SZXF1ZXN0Jyk7XG4gIGNvbnN0cnVjdG9yKFxuICAgIHB1YmxpYyBwb2ludGVyUG9zaXRpb246IElQb2ludCxcbiAgICBwdWJsaWMgY29ubmVjdGFibGVDb25uZWN0b3JzOiBJQ29ubmVjdG9yUmVjdFJlZltdLFxuICApIHt9XG59XG4iXX0=
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { inject, Injectable } from '@angular/core';
|
|
3
|
-
import { FExecutionRegister } from '@foblex/mediator';
|
|
4
|
-
import { AddDndToStoreRequest } from './add-dnd-to-store-request';
|
|
5
|
-
import { FComponentsStore } from '../../../f-storage';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Execution that adds a drag and drop directive to the FComponentsStore.
|
|
9
|
-
*/
|
|
10
|
-
let AddDndToStoreExecution = class AddDndToStoreExecution {
|
|
11
|
-
_store = inject(FComponentsStore);
|
|
12
|
-
handle(request) {
|
|
13
|
-
this._store.fDraggable = request.fComponent;
|
|
14
|
-
}
|
|
15
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AddDndToStoreExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
16
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AddDndToStoreExecution });
|
|
17
|
-
};
|
|
18
|
-
AddDndToStoreExecution = __decorate([
|
|
19
|
-
FExecutionRegister(AddDndToStoreRequest)
|
|
20
|
-
], AddDndToStoreExecution);
|
|
21
|
-
export { AddDndToStoreExecution };
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AddDndToStoreExecution, decorators: [{
|
|
23
|
-
type: Injectable
|
|
24
|
-
}] });
|
|
25
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWRkLWRuZC10by1zdG9yZS5leGVjdXRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2RvbWFpbi9mLWRyYWdnYWJsZS9hZGQtZG5kLXRvLXN0b3JlL2FkZC1kbmQtdG8tc3RvcmUuZXhlY3V0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsTUFBTSxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNuRCxPQUFPLEVBQUUsa0JBQWtCLEVBQWMsTUFBTSxrQkFBa0IsQ0FBQztBQUNsRSxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSw0QkFBNEIsQ0FBQztBQUNsRSxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQzs7QUFFdEQ7O0dBRUc7QUFHSSxJQUFNLHNCQUFzQixHQUE1QixNQUFNLHNCQUFzQjtJQUVoQixNQUFNLEdBQUcsTUFBTSxDQUFDLGdCQUFnQixDQUFDLENBQUM7SUFFNUMsTUFBTSxDQUFDLE9BQTZCO1FBQ3pDLElBQUksQ0FBQyxNQUFNLENBQUMsVUFBVSxHQUFHLE9BQU8sQ0FBQyxVQUFVLENBQUM7SUFDOUMsQ0FBQzt3R0FOVSxzQkFBc0I7NEdBQXRCLHNCQUFzQjs7QUFBdEIsc0JBQXNCO0lBRGxDLGtCQUFrQixDQUFDLG9CQUFvQixDQUF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ate } from "tslib";
|
|
2
|
-
import { inject, Injectable } from '@angular/core';
|
|
3
|
-
import { FExecutionRegister } from '@foblex/mediator';
|
|
4
|
-
import { InitializeDragSequenceRequest } from './initialize-drag-sequence-request';
|
|
5
|
-
import { FDraggableDataContext } from '../../../f-draggable';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Execution that initializes the drag sequence by resetting the FDraggableDataContext.
|
|
9
|
-
*/
|
|
10
|
-
let InitializeDragSequenceExecution = class InitializeDragSequenceExecution {
|
|
11
|
-
_dragContext = inject(FDraggableDataContext);
|
|
12
|
-
handle(request) {
|
|
13
|
-
this._dragContext.reset();
|
|
14
|
-
}
|
|
15
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: InitializeDragSequenceExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
16
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: InitializeDragSequenceExecution });
|
|
17
|
-
};
|
|
18
|
-
InitializeDragSequenceExecution = __decorate([
|
|
19
|
-
FExecutionRegister(InitializeDragSequenceRequest)
|
|
20
|
-
], InitializeDragSequenceExecution);
|
|
21
|
-
export { InitializeDragSequenceExecution };
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: InitializeDragSequenceExecution, decorators: [{
|
|
23
|
-
type: Injectable
|
|
24
|
-
}] });
|
|
25
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5pdGlhbGl6ZS1kcmFnLXNlcXVlbmNlLmV4ZWN1dGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZG9tYWluL2YtZHJhZ2dhYmxlL2luaXRpY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hYmxlRGF0YUNvbnRleHQgfSBmcm9tICcuLi8uLi8uLi9mLWRyYWdnYWJsZSc7XG5cbi8qKlxuICogRXhlY3V0aW9uIHRoYXQgaW5pdGlhbGl6ZXMgdGhlIGRyYWcgc2VxdWVuY2UgYnkgcmVzZXR0aW5nIHRoZSBGRHJhZ2dhYmxlRGF0YUNvbnRleHQuXG4gKi9cbkBJbmplY3RhYmxlKClcbkBGRXhlY3V0aW9uUmVnaXN0ZXIoSW5pdGlhbGl6ZURyYWdTZXF1ZW5jZVJlcXVlc3QpXG5leHBvcnQgY2xhc3MgSW5pdGlhbGl6ZURyYWdTZXF1ZW5jZUV4ZWN1dGlvbiBpbXBsZW1lbnRzIElFeGVjdXRpb248SW5pdGlhbGl6ZURyYWdTZXF1ZW5jZVJlcXVlc3QsIHZvaWQ+IHtcblxuICBwcml2YXRlIHJlYWRvbmx5IF9kcmFnQ29udGV4dCA9IGluamVjdChGRHJhZ2dhYmxlRGF0YUNvbnRleHQpO1xuXG4gIHB1YmxpYyBoYW5kbGUocmVxdWVzdDogSW5pdGlhbGl6ZURyYWdTZXF1ZW5jZVJlcXVlc3QpOiB2b2lkIHtcbiAgICB0aGlzLl9kcmFnQ29udGV4dC5yZXNldCgpO1xuICB9XG59XG4iXX0=
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { inject, Injectable } from '@angular/core';
|
|
3
|
-
import { FExecutionRegister } from '@foblex/mediator';
|
|
4
|
-
import { OnPointerMoveRequest } from './on-pointer-move-request';
|
|
5
|
-
import { FDraggableDataContext } from '../../../f-draggable';
|
|
6
|
-
import { Point } from '@foblex/2d';
|
|
7
|
-
import { FComponentsStore } from '../../../f-storage';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
/**
|
|
10
|
-
* Execution that handles pointer move events during a drag operation.
|
|
11
|
-
* It calculates the difference between the current pointer position and the position
|
|
12
|
-
* when the drag started, and updates the draggable items accordingly.
|
|
13
|
-
*/
|
|
14
|
-
let OnPointerMoveExecution = class OnPointerMoveExecution {
|
|
15
|
-
_store = inject(FComponentsStore);
|
|
16
|
-
get _hostElement() {
|
|
17
|
-
return this._store.fDraggable.hostElement;
|
|
18
|
-
}
|
|
19
|
-
_dragContext = inject(FDraggableDataContext);
|
|
20
|
-
handle({ event }) {
|
|
21
|
-
this._setDifferenceToDraggableItems(this._getDifferenceBetweenPointerAndPointerDown(event), event);
|
|
22
|
-
}
|
|
23
|
-
_setDifferenceToDraggableItems(difference, event) {
|
|
24
|
-
this._dragContext.draggableItems.forEach((item) => {
|
|
25
|
-
item.onPointerMove({ ...difference }, event);
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
_getDifferenceBetweenPointerAndPointerDown(event) {
|
|
29
|
-
return this._getPointerPositionInCanvas(event)
|
|
30
|
-
.div(this._dragContext.onPointerDownScale)
|
|
31
|
-
.sub(this._dragContext.onPointerDownPosition);
|
|
32
|
-
}
|
|
33
|
-
_getPointerPositionInCanvas(event) {
|
|
34
|
-
return Point.fromPoint(event.getPosition()).elementTransform(this._hostElement);
|
|
35
|
-
}
|
|
36
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: OnPointerMoveExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
37
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: OnPointerMoveExecution });
|
|
38
|
-
};
|
|
39
|
-
OnPointerMoveExecution = __decorate([
|
|
40
|
-
FExecutionRegister(OnPointerMoveRequest)
|
|
41
|
-
], OnPointerMoveExecution);
|
|
42
|
-
export { OnPointerMoveExecution };
|
|
43
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: OnPointerMoveExecution, decorators: [{
|
|
44
|
-
type: Injectable
|
|
45
|
-
}] });
|
|
46
|
-
//# sourceMappingURL=data:application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2dldFBvaW50ZXJQb3NpdGlvbkluQ2FudmFzKGV2ZW50OiBJUG9pbnRlckV2ZW50KTogUG9pbnQge1xuICAgIHJldHVybiBQb2ludC5mcm9tUG9pbnQoZXZlbnQuZ2V0UG9zaXRpb24oKSkuZWxlbWVudFRyYW5zZm9ybSh0aGlzLl9ob3N0RWxlbWVudCk7XG4gIH1cbn1cbiJdfQ==
|
package/esm2022/domain/f-draggable/prepare-drag-sequence/prepare-drag-sequence.execution.mjs
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { inject, Injectable } from '@angular/core';
|
|
3
|
-
import { FExecutionRegister, FMediator } from '@foblex/mediator';
|
|
4
|
-
import { PrepareDragSequenceRequest } from './prepare-drag-sequence-request';
|
|
5
|
-
import { EmitStartDragSequenceEventRequest, FDraggableDataContext } from '../../../f-draggable';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Execution that prepares the drag sequence by invoking the prepareDragSequence method on each draggable item.
|
|
9
|
-
*/
|
|
10
|
-
let PrepareDragSequenceExecution = class PrepareDragSequenceExecution {
|
|
11
|
-
_mediator = inject(FMediator);
|
|
12
|
-
_dragContext = inject(FDraggableDataContext);
|
|
13
|
-
handle(_request) {
|
|
14
|
-
this._callPrepareDragSequence();
|
|
15
|
-
this._mediator.execute(new EmitStartDragSequenceEventRequest());
|
|
16
|
-
}
|
|
17
|
-
_callPrepareDragSequence() {
|
|
18
|
-
this._dragContext.draggableItems.forEach((x) => x.prepareDragSequence?.());
|
|
19
|
-
}
|
|
20
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: PrepareDragSequenceExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
21
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: PrepareDragSequenceExecution });
|
|
22
|
-
};
|
|
23
|
-
PrepareDragSequenceExecution = __decorate([
|
|
24
|
-
FExecutionRegister(PrepareDragSequenceRequest)
|
|
25
|
-
], PrepareDragSequenceExecution);
|
|
26
|
-
export { PrepareDragSequenceExecution };
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: PrepareDragSequenceExecution, decorators: [{
|
|
28
|
-
type: Injectable
|
|
29
|
-
}] });
|
|
30
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJlcGFyZS1kcmFnLXNlcXVlbmNlLmV4ZWN1dGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZG9tYWluL2YtZHJhZ2dhYmxlL3ByZXBhcmUtZHJhZy1zZXF1ZW5jZS9wcmVwYXJlLWRyYWctc2VxdWVuY2UuZXhlY3V0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsTUFBTSxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNuRCxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsU0FBUyxFQUFjLE1BQU0sa0JBQWtCLENBQUM7QUFDN0UsT0FBTyxFQUFFLDBCQUEwQixFQUFFLE1BQU0saUNBQWlDLENBQUM7QUFDN0UsT0FBTyxFQUFFLGlDQUFpQyxFQUFFLHFCQUFxQixFQUFFLE1BQU0sc0JBQXNCLENBQUM7O0FBRWhHOztHQUVHO0FBR0ksSUFBTSw0QkFBNEIsR0FBbEMsTUFBTSw0QkFBNEI7SUFDdEIsU0FBUyxHQUFHLE1BQU0sQ0FBQyxTQUFTLENBQUMsQ0FBQztJQUU5QixZQUFZLEdBQUcsTUFBTSxDQUFDLHFCQUFxQixDQUFDLENBQUM7SUFFdkQsTUFBTSxDQUFDLFF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GhvZCBvbiBlYWNoIGRyYWdnYWJsZSBpdGVtLlxuICovXG5ASW5qZWN0YWJsZSgpXG5ARkV4ZWN1dGlvblJlZ2lzdGVyKFByZXBhcmVEcmFnU2VxdWVuY2VSZXF1ZXN0KVxuZXhwb3J0IGNsYXNzIFByZXBhcmVEcmFnU2VxdWVuY2VFeGVjdXRpb24gaW1wbGVtZW50cyBJRXhlY3V0aW9uPFByZXBhcmVEcmFnU2VxdWVuY2VSZXF1ZXN0LCB2b2lkPiB7XG4gIHByaXZhdGUgcmVhZG9ubHkgX21lZGlhdG9yID0gaW5qZWN0KEZNZWRpYXRvcik7XG5cbiAgcHJpdmF0ZSByZWFkb25seSBfZHJhZ0NvbnRleHQgPSBpbmplY3QoRkRyYWdnYWJsZURhdGFDb250ZXh0KTtcblxuICBwdWJsaWMgaGFuZGxlKF9yZXF1ZXN0OiBQcmVwYXJlRHJhZ1NlcXVlbmNlUmVxdWVzdCk6IHZvaWQge1xuICAgIHRoaXMuX2NhbGxQcmVwYXJlRHJhZ1NlcXVlbmNlKCk7XG5cbiAgICB0aGlzLl9tZWRpYXRvci5leGVjdXRlPHZvaWQ+KG5ldyBFbWl0U3RhcnREcmFnU2VxdWVuY2VFdmVudFJlcXVlc3QoKSk7XG4gIH1cblxuICBwcml2YXRlIF9jYWxsUHJlcGFyZURyYWdTZXF1ZW5jZSgpOiB2b2lkIHtcbiAgICB0aGlzLl9kcmFnQ29udGV4dC5kcmFnZ2FibGVJdGVtcy5mb3JFYWNoKCh4KSA9PiB4LnByZXBhcmVEcmFnU2VxdWVuY2U/LigpKTtcbiAgfVxufVxuIl19
|
package/esm2022/domain/f-draggable/remove-dnd-from-store/remove-dnd-from-store.execution.mjs
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { inject, Injectable } from '@angular/core';
|
|
3
|
-
import { FExecutionRegister } from '@foblex/mediator';
|
|
4
|
-
import { RemoveDndFromStoreRequest } from './remove-dnd-from-store-request';
|
|
5
|
-
import { FComponentsStore } from '../../../f-storage';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Execution that removes the drag and drop directive from the FComponentsStore.
|
|
9
|
-
*/
|
|
10
|
-
let RemoveDndFromStoreExecution = class RemoveDndFromStoreExecution {
|
|
11
|
-
_store = inject(FComponentsStore);
|
|
12
|
-
handle(request) {
|
|
13
|
-
this._store.fDraggable = undefined;
|
|
14
|
-
}
|
|
15
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: RemoveDndFromStoreExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
16
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: RemoveDndFromStoreExecution });
|
|
17
|
-
};
|
|
18
|
-
RemoveDndFromStoreExecution = __decorate([
|
|
19
|
-
FExecutionRegister(RemoveDndFromStoreRequest)
|
|
20
|
-
], RemoveDndFromStoreExecution);
|
|
21
|
-
export { RemoveDndFromStoreExecution };
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: RemoveDndFromStoreExecution, decorators: [{
|
|
23
|
-
type: Injectable
|
|
24
|
-
}] });
|
|
25
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVtb3ZlLWRuZC1mcm9tLXN0b3JlLmV4ZWN1dGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZG9tYWluL2YtZHJhZ2dhYmxlL3JlbW92ZS1kbmQtZnJvbS1zdG9yZS9yZW1vdmUtZG5kLWZyb20tc3RvcmUuZXhlY3V0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQ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yBhbmQgZHJvcCBkaXJlY3RpdmUgZnJvbSB0aGUgRkNvbXBvbmVudHNTdG9yZS5cbiAqL1xuQEluamVjdGFibGUoKVxuQEZFeGVjdXRpb25SZWdpc3RlcihSZW1vdmVEbmRGcm9tU3RvcmVSZXF1ZXN0KVxuZXhwb3J0IGNsYXNzIFJlbW92ZURuZEZyb21TdG9yZUV4ZWN1dGlvbiBpbXBsZW1lbnRzIElFeGVjdXRpb248UmVtb3ZlRG5kRnJvbVN0b3JlUmVxdWVzdCwgdm9pZD4ge1xuXG4gIHByaXZhdGUgcmVhZG9ubHkgX3N0b3JlID0gaW5qZWN0KEZDb21wb25lbnRzU3RvcmUpO1xuXG4gIHB1YmxpYyBoYW5kbGUocmVxdWVzdDogUmVtb3ZlRG5kRnJvbVN0b3JlUmVxdWVzdCk6IHZvaWQge1xuICAgIHRoaXMuX3N0b3JlLmZEcmFnZ2FibGUgPSB1bmRlZmluZWQ7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { inject, Injectable } from '@angular/core';
|
|
3
|
-
import { FExecutionRegister } from '@foblex/mediator';
|
|
4
|
-
import { AddFlowToStoreRequest } from './add-flow-to-store-request';
|
|
5
|
-
import { FComponentsStore } from '../../../f-storage';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Execution that adds a Flow to the FComponentsStore.
|
|
9
|
-
*/
|
|
10
|
-
let AddFlowToStoreExecution = class AddFlowToStoreExecution {
|
|
11
|
-
_store = inject(FComponentsStore);
|
|
12
|
-
handle(request) {
|
|
13
|
-
this._store.fFlow = request.fComponent;
|
|
14
|
-
}
|
|
15
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AddFlowToStoreExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
16
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AddFlowToStoreExecution });
|
|
17
|
-
};
|
|
18
|
-
AddFlowToStoreExecution = __decorate([
|
|
19
|
-
FExecutionRegister(AddFlowToStoreRequest)
|
|
20
|
-
], AddFlowToStoreExecution);
|
|
21
|
-
export { AddFlowToStoreExecution };
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AddFlowToStoreExecution, decorators: [{
|
|
23
|
-
type: Injectable
|
|
24
|
-
}] });
|
|
25
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWRkLWZsb3ctdG8tc3RvcmUuZXhlY3V0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9kb21haW4vZi1mbG93L2FkZC1mbG93LXRvLXN0b3JlL2FkZC1mbG93LXRvLXN0b3JlLmV4ZWN1dGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLE1BQU0sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDbkQsT0FBTyxFQUFFLGtCQUFrQixFQUFjLE1BQU0sa0JBQWtCLENBQUM7QUFDbEUsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0sNkJBQTZCLENBQUM7QUFDcEUsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sb0JBQW9CLENBQUM7O0FBRXREOztHQUVHO0FBR0ksSUFBTSx1QkFBdUIsR0FBN0IsTUFBTSx1QkFBdUI7SUFFakIsTUFBTSxHQUFHLE1BQU0sQ0FBQyxnQkFBZ0IsQ0FBQyxDQUFDO0lBRTVDLE1BQU0sQ0FBQyxPQUE4QjtRQUMxQyxJQUFJLENBQUMsTUFBTSxDQUFDLEtBQUssR0FBRyxP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O1xuICB9XG59XG4iXX0=
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { inject, Injectable } from '@angular/core';
|
|
3
|
-
import { FExecutionRegister } from '@foblex/mediator';
|
|
4
|
-
import { GetFlowRequest } from './get-flow-request';
|
|
5
|
-
import { FComponentsStore } from '../../../f-storage';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Execution that retrieves the current Flow from the FComponentsStore.
|
|
9
|
-
*/
|
|
10
|
-
let GetFlowExecution = class GetFlowExecution {
|
|
11
|
-
_store = inject(FComponentsStore);
|
|
12
|
-
handle(request) {
|
|
13
|
-
const result = this._store.fFlow;
|
|
14
|
-
if (!result) {
|
|
15
|
-
throw new Error(`Flow not found in store`);
|
|
16
|
-
}
|
|
17
|
-
return result;
|
|
18
|
-
}
|
|
19
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GetFlowExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
20
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GetFlowExecution });
|
|
21
|
-
};
|
|
22
|
-
GetFlowExecution = __decorate([
|
|
23
|
-
FExecutionRegister(GetFlowRequest)
|
|
24
|
-
], GetFlowExecution);
|
|
25
|
-
export { GetFlowExecution };
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GetFlowExecution, decorators: [{
|
|
27
|
-
type: Injectable
|
|
28
|
-
}] });
|
|
29
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LWZsb3cuZXhlY3V0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy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1wb3J0IHsgR2V0Rmxvd1JlcXVlc3QgfSBmcm9tICcuL2dldC1mbG93LXJlcXVlc3QnO1xuaW1wb3J0IHsgRkNvbXBvbmVudHNTdG9yZSB9IGZyb20gJy4uLy4uLy4uL2Ytc3RvcmFnZSc7XG5pbXBvcnQgeyBGRmxvd0Jhc2UgfSBmcm9tICcuLi8uLi8uLi9mLWZsb3cnO1xuXG4vKipcbiAqIEV4ZWN1dGlvbiB0aGF0IHJldHJpZXZlcyB0aGUgY3VycmVudCBGbG93IGZyb20gdGhlIEZDb21wb25lbnRzU3RvcmUuXG4gKi9cbkBJbmplY3RhYmxlKClcbkBGRXhlY3V0aW9uUmVnaXN0ZXIoR2V0Rmxvd1JlcXVlc3QpXG5leHBvcnQgY2xhc3MgR2V0Rmxvd0V4ZWN1dGlvbiBpbXBsZW1lbnRzIElFeGVjdXRpb248R2V0Rmxvd1JlcXVlc3QsIEZGbG93QmFzZT4ge1xuXG4gIHByaXZhdGUgcmVhZG9ubHkgX3N0b3JlID0gaW5qZWN0KEZDb21wb25lbnRzU3RvcmUpO1xuXG4gIHB1YmxpYyBoYW5kbGUocmVxdWVzdDogR2V0Rmxvd1JlcXVlc3QpOiBGRmxvd0Jhc2Uge1xuICAgIGNvbnN0IHJlc3VsdCA9IHRoaXMuX3N0b3JlLmZGbG93O1xuICAgIGlmICghcmVzdWx0KSB7XG4gICAgICB0aHJvdyBuZXcgRXJyb3IoYEZsb3cgbm90IGZvdW5kIGluIHN0b3JlYCk7XG4gICAgfVxuXG4gICAgcmV0dXJuIHJlc3VsdDtcbiAgfVxufVxuIl19
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { inject, Injectable } from '@angular/core';
|
|
3
|
-
import { FExecutionRegister } from '@foblex/mediator';
|
|
4
|
-
import { RemoveFlowFromStoreRequest } from './remove-flow-from-store-request';
|
|
5
|
-
import { FComponentsStore } from '../../../f-storage';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Execution that removes a Flow from the FComponentsStore.
|
|
9
|
-
*/
|
|
10
|
-
let RemoveFlowFromStoreExecution = class RemoveFlowFromStoreExecution {
|
|
11
|
-
_store = inject(FComponentsStore);
|
|
12
|
-
handle(request) {
|
|
13
|
-
this._store.fFlow = undefined;
|
|
14
|
-
}
|
|
15
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: RemoveFlowFromStoreExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
16
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: RemoveFlowFromStoreExecution });
|
|
17
|
-
};
|
|
18
|
-
RemoveFlowFromStoreExecution = __decorate([
|
|
19
|
-
FExecutionRegister(RemoveFlowFromStoreRequest)
|
|
20
|
-
], RemoveFlowFromStoreExecution);
|
|
21
|
-
export { RemoveFlowFromStoreExecution };
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: RemoveFlowFromStoreExecution, decorators: [{
|
|
23
|
-
type: Injectable
|
|
24
|
-
}] });
|
|
25
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVtb3ZlLWZsb3ctZnJvbS1zdG9yZS5leGVjdXRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2RvbWFpbi9mLWZsb3cvcmVtb3ZlLWZsb3ctZnJvbS1zdG9yZS9yZW1vdmUtZmxvdy1mcm9tLXN0b3JlLmV4ZWN1dGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLE1BQU0sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFD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ZFeGVjdXRpb25SZWdpc3RlcihSZW1vdmVGbG93RnJvbVN0b3JlUmVxdWVzdClcbmV4cG9ydCBjbGFzcyBSZW1vdmVGbG93RnJvbVN0b3JlRXhlY3V0aW9uIGltcGxlbWVudHMgSUV4ZWN1dGlvbjxSZW1vdmVGbG93RnJvbVN0b3JlUmVxdWVzdCwgdm9pZD4ge1xuXG4gIHByaXZhdGUgcmVhZG9ubHkgX3N0b3JlID0gaW5qZWN0KEZDb21wb25lbnRzU3RvcmUpO1xuXG4gIHB1YmxpYyBoYW5kbGUocmVxdWVzdDogUmVtb3ZlRmxvd0Zyb21TdG9yZVJlcXVlc3QpOiB2b2lkIHtcbiAgICB0aGlzLl9zdG9yZS5mRmxvdyA9IHVuZGVmaW5lZDtcbiAgfVxufVxuIl19
|
package/esm2022/domain/f-node/calculate-nodes-bounding-box/calculate-nodes-bounding-box.request.mjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export class CalculateNodesBoundingBoxRequest {
|
|
2
|
-
static fToken = Symbol('CalculateNodesBoundingBoxRequest');
|
|
3
|
-
}
|
|
4
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FsY3VsYXRlLW5vZGVzLWJvdW5kaW5nLWJveC5yZXF1ZXN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9kb21haW4vZi1ub2RlL2NhbGN1bGF0ZS1ub2Rlcy1ib3VuZGluZy1ib3gvY2FsY3VsYXRlLW5vZGVzLWJvdW5kaW5nLWJveC5yZXF1ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sT0FBTyxnQ0FBZ0M7SUFDM0MsTUFBTSxDQUFVLE1BQU0sR0FBRyxNQUFNLENBQUMsa0NBQWtDLENBQUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBjbGFzcyBDYWxjdWxhdGVOb2Rlc0JvdW5kaW5nQm94UmVxdWVzdCB7XG4gIHN0YXRpYyByZWFkb25seSBmVG9rZW4gPSBTeW1ib2woJ0NhbGN1bGF0ZU5vZGVzQm91bmRpbmdCb3hSZXF1ZXN0Jyk7XG59XG4iXX0=
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export class CalculateNodesBoundingBoxNormalizedPositionRequest {
|
|
2
|
-
fNodes;
|
|
3
|
-
static fToken = Symbol('CalculateNodesBoundingBoxNormalizedPositionRequest');
|
|
4
|
-
constructor(fNodes) {
|
|
5
|
-
this.fNodes = fNodes;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FsY3VsYXRlLW5vZGVzLWJvdW5kaW5nLWJveC1ub3JtYWxpemVkLXBvc2l0aW9uLnJlcXVlc3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2RvbWFpbi9mLW5vZGUvY2FsY3VsYXRlLW5vZGVzLWJvdW5kaW5nLWJveC1ub3JtYWxpemVkLXBvc2l0aW9uL2NhbGN1bGF0ZS1ub2Rlcy1ib3VuZGluZy1ib3gtbm9ybWFsaXplZC1wb3NpdGlvbi5yZXF1ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE1BQU0sT0FBTyxrREFBa0Q7SUFHcEQ7SUFGVCxNQUFNLENBQVUsTUFBTSxHQUFHLE1BQU0sQ0FBQyxvREFBb0QsQ0FBQyxDQUFDO0lBQ3RGLFlBQ1MsTUFBb0I7UUFBcEIsV0FBTSxHQUFOLE1BQU0sQ0FBYztJQUU3QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgRk5vZGVCYXNlIH0gZnJvbSAnLi4vLi4vLi4vZi1ub2RlJztcblxuZXhwb3J0IGNsYXNzIENhbGN1bGF0ZU5vZGVzQm91bmRpbmdCb3hOb3JtYWxpemVkUG9zaXRpb25SZXF1ZXN0IHtcbiAgc3RhdGljIHJlYWRvbmx5IGZUb2tlbiA9IFN5bWJvbCgnQ2FsY3VsYXRlTm9kZXNCb3VuZGluZ0JveE5vcm1hbGl6ZWRQb3NpdGlvblJlcXVlc3QnKTtcbiAgY29uc3RydWN0b3IoXG4gICAgcHVibGljIGZOb2Rlcz86IEZOb2RlQmFzZVtdLFxuICApIHtcbiAgfVxufVxuIl19
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export class GetChildNodeIdsRequest {
|
|
2
|
-
id;
|
|
3
|
-
static fToken = Symbol('GetChildNodeIdsRequest');
|
|
4
|
-
constructor(id) {
|
|
5
|
-
this.id = id;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LWNoaWxkLW5vZGUtaWRzLnJlcXVlc3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2RvbWFpbi9mLW5vZGUvZ2V0LWNoaWxkLW5vZGUtaWRzL2dldC1jaGlsZC1ub2RlLWlkcy5yZXF1ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sT0FBTyxzQkFBc0I7SUFFZDtJQURuQixNQUFNLENBQVUsTUFBTSxHQUFHLE1BQU0sQ0FBQyx3QkFBd0IsQ0FBQyxDQUFDO0lBQzFELFlBQW1CLEVBQWtCO1FBQWxCLE9BQUUsR0FBRixFQUFFLENBQWdCO0lBQUcsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBjbGFzcyBHZXRDaGlsZE5vZGVJZHNSZXF1ZXN0IHtcbiAgc3RhdGljIHJlYWRvbmx5IGZUb2tlbiA9IFN5bWJvbCgnR2V0Q2hpbGROb2RlSWRzUmVxdWVzdCcpO1xuICBjb25zdHJ1Y3RvcihwdWJsaWMgaWQ/OiBzdHJpbmcgfCBudWxsKSB7fVxufVxuIl19
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export class GetNodePaddingRequest {
|
|
2
|
-
fNode;
|
|
3
|
-
rect;
|
|
4
|
-
static fToken = Symbol('GetNodePaddingRequest');
|
|
5
|
-
constructor(fNode, rect) {
|
|
6
|
-
this.fNode = fNode;
|
|
7
|
-
this.rect = rect;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LW5vZGUtcGFkZGluZy5yZXF1ZXN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9kb21haW4vZi1ub2RlL2dldC1ub2RlLXBhZGRpbmcvZ2V0LW5vZGUtcGFkZGluZy5yZXF1ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUdBLE1BQU0sT0FBTyxxQkFBcUI7SUFHdkI7SUFDQTtJQUhULE1BQU0sQ0FBVSxNQUFNLEdBQUcsTUFBTSxDQUFDLHVCQUF1QixDQUFDLENBQUM7SUFDekQsWUFDUyxLQUFnQixFQUNoQixJQUFXO1FBRFgsVUFBSyxHQUFMLEtBQUssQ0FBVztRQUNoQixTQUFJLEdBQUosSUFBSSxDQUFPO0lBRXBCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBGTm9kZUJhc2UgfSBmcm9tICcuLi8uLi8uLi9mLW5vZGUnO1xuaW1wb3J0IHsgSVJlY3QgfSBmcm9tICdAZm9ibGV4LzJkJztcblxuZXhwb3J0IGNsYXNzIEdldE5vZGVQYWRkaW5nUmVxdWVzdCB7XG4gIHN0YXRpYyByZWFkb25seSBmVG9rZW4gPSBTeW1ib2woJ0dldE5vZGVQYWRkaW5nUmVxdWVzdCcpO1xuICBjb25zdHJ1Y3RvcihcbiAgICBwdWJsaWMgZk5vZGU6IEZOb2RlQmFzZSxcbiAgICBwdWJsaWMgcmVjdDogSVJlY3QsXG4gICkge1xuICB9XG59XG4iXX0=
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export class GetParentNodesRequest {
|
|
2
|
-
nodeOrGroup;
|
|
3
|
-
static fToken = Symbol('GetParentNodesRequest');
|
|
4
|
-
constructor(nodeOrGroup) {
|
|
5
|
-
this.nodeOrGroup = nodeOrGroup;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LXBhcmVudC1ub2Rlcy5yZXF1ZXN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9kb21haW4vZi1ub2RlL2dldC1wYXJlbnQtbm9kZXMvZ2V0LXBhcmVudC1ub2Rlcy5yZXF1ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE1BQU0sT0FBTyxxQkFBcUI7SUFFSjtJQUQ1QixNQUFNLENBQVUsTUFBTSxHQUFHLE1BQU0sQ0FBQyx1QkFBdUIsQ0FBQyxDQUFDO0lBQ3pELFlBQTRCLFdBQXNCO1FBQXRCLGdCQUFXLEdBQVgsV0FBVyxDQUFXO0lBQUcsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEZOb2RlQmFzZSB9IGZyb20gJy4uLy4uLy4uL2Ytbm9kZSc7XG5cbmV4cG9ydCBjbGFzcyBHZXRQYXJlbnROb2Rlc1JlcXVlc3Qge1xuICBzdGF0aWMgcmVhZG9ubHkgZlRva2VuID0gU3ltYm9sKCdHZXRQYXJlbnROb2Rlc1JlcXVlc3QnKTtcbiAgY29uc3RydWN0b3IocHVibGljIHJlYWRvbmx5IG5vZGVPckdyb3VwOiBGTm9kZUJhc2UpIHt9XG59XG4iXX0=
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { ClearSelectionRequest } from './clear-selection.request';
|
|
3
|
-
import { inject, Injectable } from '@angular/core';
|
|
4
|
-
import { FExecutionRegister } from '@foblex/mediator';
|
|
5
|
-
import { FDraggableDataContext } from '../../../f-draggable';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Execution that clears the selection of items in the FDraggableDataContext.
|
|
9
|
-
*/
|
|
10
|
-
let ClearSelectionExecution = class ClearSelectionExecution {
|
|
11
|
-
_dragContext = inject(FDraggableDataContext);
|
|
12
|
-
handle(request) {
|
|
13
|
-
this._dragContext.selectedItems.forEach((x) => x.unmarkAsSelected());
|
|
14
|
-
this._dragContext.selectedItems = [];
|
|
15
|
-
this._dragContext.isSelectedChanged = true;
|
|
16
|
-
}
|
|
17
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ClearSelectionExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
18
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ClearSelectionExecution });
|
|
19
|
-
};
|
|
20
|
-
ClearSelectionExecution = __decorate([
|
|
21
|
-
FExecutionRegister(ClearSelectionRequest)
|
|
22
|
-
], ClearSelectionExecution);
|
|
23
|
-
export { ClearSelectionExecution };
|
|
24
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ClearSelectionExecution, decorators: [{
|
|
25
|
-
type: Injectable
|
|
26
|
-
}] });
|
|
27
|
-
//# sourceMappingURL=data:application/json;base64,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cyA9IFtdO1xuICAgIHRoaXMuX2RyYWdDb250ZXh0LmlzU2VsZWN0ZWRDaGFuZ2VkID0gdHJ1ZTtcbiAgfVxufVxuIl19
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export class ClearSelectionRequest {
|
|
2
|
-
static fToken = Symbol('ClearSelectionRequest');
|
|
3
|
-
}
|
|
4
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xlYXItc2VsZWN0aW9uLnJlcXVlc3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2RvbWFpbi9mLXNlbGVjdGlvbi9jbGVhci1zZWxlY3Rpb24vY2xlYXItc2VsZWN0aW9uLnJlcXVlc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxPQUFPLHFCQUFxQjtJQUNoQyxNQUFNLENBQVUsTUFBTSxHQUFHLE1BQU0sQ0FBQyx1QkFBdUIsQ0FBQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGNsYXNzIENsZWFyU2VsZWN0aW9uUmVxdWVzdCB7XG4gIHN0YXRpYyByZWFkb25seSBmVG9rZW4gPSBTeW1ib2woJ0NsZWFyU2VsZWN0aW9uUmVxdWVzdCcpO1xufVxuIl19
|
package/esm2022/domain/f-selection/get-current-selection/get-current-selection.execution.mjs
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { GetCurrentSelectionRequest } from './get-current-selection.request';
|
|
3
|
-
import { inject, Injectable } from '@angular/core';
|
|
4
|
-
import { FExecutionRegister } from '@foblex/mediator';
|
|
5
|
-
import { FDraggableDataContext } from '../../../f-draggable';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Execution that retrieves the current selection of items in the FDraggableDataContext.
|
|
9
|
-
*/
|
|
10
|
-
let GetCurrentSelectionExecution = class GetCurrentSelectionExecution {
|
|
11
|
-
_dragContext = inject(FDraggableDataContext);
|
|
12
|
-
handle() {
|
|
13
|
-
return {
|
|
14
|
-
fNodeIds: this._getSelectedNodes(),
|
|
15
|
-
fGroupIds: this._getSelectedGroups(),
|
|
16
|
-
fConnectionIds: this._getSelectedConnections(),
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
_getSelectedNodes() {
|
|
20
|
-
return this._dragContext.selectedItems
|
|
21
|
-
.filter(x => x.hostElement.classList.contains('f-node'))
|
|
22
|
-
.map(x => x.hostElement.dataset['fNodeId']);
|
|
23
|
-
}
|
|
24
|
-
_getSelectedGroups() {
|
|
25
|
-
return this._dragContext.selectedItems
|
|
26
|
-
.filter(x => x.hostElement.classList.contains('f-group'))
|
|
27
|
-
.map(x => x.hostElement.dataset['fGroupId']);
|
|
28
|
-
}
|
|
29
|
-
_getSelectedConnections() {
|
|
30
|
-
return this._dragContext.selectedItems
|
|
31
|
-
.filter(x => !x.hostElement.classList.contains('f-node') && !x.hostElement.classList.contains('f-group'))
|
|
32
|
-
.map(x => x.hostElement.id);
|
|
33
|
-
}
|
|
34
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GetCurrentSelectionExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
35
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GetCurrentSelectionExecution });
|
|
36
|
-
};
|
|
37
|
-
GetCurrentSelectionExecution = __decorate([
|
|
38
|
-
FExecutionRegister(GetCurrentSelectionRequest)
|
|
39
|
-
], GetCurrentSelectionExecution);
|
|
40
|
-
export { GetCurrentSelectionExecution };
|
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GetCurrentSelectionExecution, decorators: [{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X0=
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export class GetCurrentSelectionRequest {
|
|
2
|
-
static fToken = Symbol('GetCurrentSelectionRequest');
|
|
3
|
-
}
|
|
4
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LWN1cnJlbnQtc2VsZWN0aW9uLnJlcXVlc3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2RvbWFpbi9mLXNlbGVjdGlvbi9nZXQtY3VycmVudC1zZWxlY3Rpb24vZ2V0LWN1cnJlbnQtc2VsZWN0aW9uLnJlcXVlc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxPQUFPLDBCQUEwQjtJQUNyQyxNQUFNLENBQVUsTUFBTSxHQUFHLE1BQU0sQ0FBQyw0QkFBNEIsQ0FBQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGNsYXNzIEdldEN1cnJlbnRTZWxlY3Rpb25SZXF1ZXN0IHtcbiAgc3RhdGljIHJlYWRvbmx5IGZUb2tlbiA9IFN5bWJvbCgnR2V0Q3VycmVudFNlbGVjdGlvblJlcXVlc3QnKTtcbn1cbiJdfQ==
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export * from './select.execution';
|
|
2
|
-
export * from './select.request';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2RvbWFpbi9mLXNlbGVjdGlvbi9zZWxlY3QvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxvQkFBb0IsQ0FBQztBQUVuQyxjQUFjLGtCQUFrQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9zZWxlY3QuZXhlY3V0aW9uJztcblxuZXhwb3J0ICogZnJvbSAnLi9zZWxlY3QucmVxdWVzdCc7XG4iXX0=
|