@foblex/flow 18.1.2 → 18.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +80 -34
- 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 +51 -28
- 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 +34 -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 +86 -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 +12 -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 +15 -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 +21 -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 +8290 -6296
- 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,3 +0,0 @@
|
|
|
1
|
-
export * from './f-node-rotate-finalize.execution';
|
|
2
|
-
export * from './f-node-rotate-finalize.request';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtZHJhZ2dhYmxlL2Ytbm9kZS1yb3RhdGUvcm90YXRlLWZpbmFsaXplL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsb0NBQW9DLENBQUM7QUFFbkQsY0FBYyxrQ0FBa0MsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZi1ub2RlLXJvdGF0ZS1maW5hbGl6ZS5leGVjdXRpb24nO1xuXG5leHBvcnQgKiBmcm9tICcuL2Ytbm9kZS1yb3RhdGUtZmluYWxpemUucmVxdWVzdCc7XG4iXX0=
|
package/esm2022/f-draggable/f-node-rotate/rotate-preparation/f-node-rotate-preparation.execution.mjs
DELETED
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { inject, Injectable, Injector } from '@angular/core';
|
|
3
|
-
import { FNodeRotatePreparationRequest } from './f-node-rotate-preparation.request';
|
|
4
|
-
import { Point } from '@foblex/2d';
|
|
5
|
-
import { FExecutionRegister, FMediator } from '@foblex/mediator';
|
|
6
|
-
import { FComponentsStore } from '../../../f-storage';
|
|
7
|
-
import { FDraggableDataContext } from '../../f-draggable-data-context';
|
|
8
|
-
import { CalculateInputConnectionsRequest, CalculateOutputConnectionsRequest, GetNormalizedElementRectRequest, isValidEventTrigger, SelectAndUpdateNodeLayerRequest, } from '../../../domain';
|
|
9
|
-
import { isRotateHandle } from '../../../f-node';
|
|
10
|
-
import { FNodeRotateDragHandler } from '../f-node-rotate.drag-handler';
|
|
11
|
-
import { DragNodeConnectionSourceHandler, DragNodeConnectionTargetHandler, } from '../../drag-node';
|
|
12
|
-
import { DragHandlerInjector } from '../../infrastructure';
|
|
13
|
-
import * as i0 from "@angular/core";
|
|
14
|
-
let FNodeRotatePreparationExecution = class FNodeRotatePreparationExecution {
|
|
15
|
-
_mediator = inject(FMediator);
|
|
16
|
-
_store = inject(FComponentsStore);
|
|
17
|
-
_dragContext = inject(FDraggableDataContext);
|
|
18
|
-
_injector = inject(Injector);
|
|
19
|
-
_dragInjector = inject(DragHandlerInjector);
|
|
20
|
-
get _transform() {
|
|
21
|
-
return this._store.transform;
|
|
22
|
-
}
|
|
23
|
-
get _flowHost() {
|
|
24
|
-
return this._store.flowHost;
|
|
25
|
-
}
|
|
26
|
-
_fNode;
|
|
27
|
-
handle(request) {
|
|
28
|
-
if (!this._isValid(request) || !this._isValidTrigger(request)) {
|
|
29
|
-
return;
|
|
30
|
-
}
|
|
31
|
-
this._selectAndUpdateNodeLayer();
|
|
32
|
-
this._dragContext.onPointerDownScale = this._transform.scale;
|
|
33
|
-
this._dragContext.onPointerDownPosition = Point.fromPoint(request.event.getPosition())
|
|
34
|
-
.elementTransform(this._flowHost)
|
|
35
|
-
.div(this._transform.scale);
|
|
36
|
-
this._dragContext.draggableItems = [
|
|
37
|
-
new FNodeRotateDragHandler(this._injector, this._fNode, this._calculateOutputConnectionsDragHandlers(), this._calculateInputConnectionsDragHandlers()),
|
|
38
|
-
];
|
|
39
|
-
}
|
|
40
|
-
_isValid(request) {
|
|
41
|
-
return (this._dragContext.isEmpty() &&
|
|
42
|
-
isRotateHandle(request.event.targetElement) &&
|
|
43
|
-
this._isNodeCanBeDragged(this._getNode(request.event.targetElement)));
|
|
44
|
-
}
|
|
45
|
-
_isNodeCanBeDragged(fNode) {
|
|
46
|
-
return !!fNode && !fNode.fDraggingDisabled();
|
|
47
|
-
}
|
|
48
|
-
_getNode(element) {
|
|
49
|
-
this._fNode = this._store.nodes.getAll().find((x) => x.isContains(element));
|
|
50
|
-
return this._fNode;
|
|
51
|
-
}
|
|
52
|
-
_isValidTrigger(request) {
|
|
53
|
-
return isValidEventTrigger(request.event.originalEvent, request.fTrigger);
|
|
54
|
-
}
|
|
55
|
-
_selectAndUpdateNodeLayer() {
|
|
56
|
-
this._mediator.execute(new SelectAndUpdateNodeLayerRequest(this._fNode));
|
|
57
|
-
}
|
|
58
|
-
_calculateInputConnectionsDragHandlers() {
|
|
59
|
-
return this._mediator
|
|
60
|
-
.execute(new CalculateInputConnectionsRequest(this._fNode))
|
|
61
|
-
.map((x) => {
|
|
62
|
-
const connectorHost = this._store.inputs.require(x.fInputId())?.hostElement;
|
|
63
|
-
const handler = this._dragInjector.get(DragNodeConnectionTargetHandler);
|
|
64
|
-
handler.initialize(x);
|
|
65
|
-
return {
|
|
66
|
-
connection: handler,
|
|
67
|
-
connector: this._mediator.execute(new GetNormalizedElementRectRequest(connectorHost)).gravityCenter,
|
|
68
|
-
};
|
|
69
|
-
});
|
|
70
|
-
}
|
|
71
|
-
_calculateOutputConnectionsDragHandlers() {
|
|
72
|
-
return this._mediator
|
|
73
|
-
.execute(new CalculateOutputConnectionsRequest(this._fNode))
|
|
74
|
-
.map((x) => {
|
|
75
|
-
const connectorHost = this._store.outputs.require(x.fOutputId())?.hostElement;
|
|
76
|
-
const handler = this._dragInjector.get(DragNodeConnectionSourceHandler);
|
|
77
|
-
handler.initialize(x);
|
|
78
|
-
return {
|
|
79
|
-
connection: handler,
|
|
80
|
-
connector: this._mediator.execute(new GetNormalizedElementRectRequest(connectorHost)).gravityCenter,
|
|
81
|
-
};
|
|
82
|
-
});
|
|
83
|
-
}
|
|
84
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FNodeRotatePreparationExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
85
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FNodeRotatePreparationExecution });
|
|
86
|
-
};
|
|
87
|
-
FNodeRotatePreparationExecution = __decorate([
|
|
88
|
-
FExecutionRegister(FNodeRotatePreparationRequest)
|
|
89
|
-
], FNodeRotatePreparationExecution);
|
|
90
|
-
export { FNodeRotatePreparationExecution };
|
|
91
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FNodeRotatePreparationExecution, decorators: [{
|
|
92
|
-
type: Injectable
|
|
93
|
-
}] });
|
|
94
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1ub2RlLXJvdGF0ZS1wcmVwYXJhdGlvbi5leGVjdXRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtZHJhZ2dhYmxlL2Ytbm9kZS1yb3RhdGUvcm90YXRlLXByZXBhcmF0aW9uL2Ytbm9kZS1yb3RhdGUtcHJlcGFyYXRpb24uZXhlY3V0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsTUFBTSxFQUFFLFVBQVUsRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDN0QsT0FBTyxFQUFFLDZCQUE2QixFQUFFLE1BQU0scUNBQXFDLENBQUM7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WxpemVkRWxlbWVudFJlY3RSZXF1ZXN0KGNvbm5lY3Rvckhvc3QpLFxuICAgICAgICAgICkuZ3Jhdml0eUNlbnRlcixcbiAgICAgICAgfTtcbiAgICAgIH0pO1xuICB9XG59XG4iXX0=
|
package/esm2022/f-draggable/f-node-rotate/rotate-preparation/f-node-rotate-preparation.request.mjs
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export class FNodeRotatePreparationRequest {
|
|
2
|
-
event;
|
|
3
|
-
fTrigger;
|
|
4
|
-
static fToken = Symbol('FNodeRotatePreparationRequest');
|
|
5
|
-
constructor(event, fTrigger) {
|
|
6
|
-
this.event = event;
|
|
7
|
-
this.fTrigger = fTrigger;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1ub2RlLXJvdGF0ZS1wcmVwYXJhdGlvbi5yZXF1ZXN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWRyYWdnYWJsZS9mLW5vZGUtcm90YXRlL3JvdGF0ZS1wcmVwYXJhdGlvbi9mLW5vZGUtcm90YXRlLXByZXBhcmF0aW9uLnJlcXVlc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBR0EsTUFBTSxPQUFPLDZCQUE2QjtJQUkvQjtJQUNBO0lBSlQsTUFBTSxDQUFVLE1BQU0sR0FBRyxNQUFNLENBQUMsK0JBQStCLENBQUMsQ0FBQztJQUVqRSxZQUNTLEtBQW9CLEVBQ3BCLFFBQXVCO1FBRHZCLFVBQUssR0FBTCxLQUFLLENBQWU7UUFDcEIsYUFBUSxHQUFSLFFBQVEsQ0FBZTtJQUVoQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgRkV2ZW50VHJpZ2dlciB9IGZyb20gJy4uLy4uLy4uL2RvbWFpbic7XG5pbXBvcnQgeyBJUG9pbnRlckV2ZW50IH0gZnJvbSBcIi4uLy4uLy4uL2RyYWctdG9vbGtpdFwiO1xuXG5leHBvcnQgY2xhc3MgRk5vZGVSb3RhdGVQcmVwYXJhdGlvblJlcXVlc3Qge1xuICBzdGF0aWMgcmVhZG9ubHkgZlRva2VuID0gU3ltYm9sKCdGTm9kZVJvdGF0ZVByZXBhcmF0aW9uUmVxdWVzdCcpO1xuXG4gIGNvbnN0cnVjdG9yKFxuICAgIHB1YmxpYyBldmVudDogSVBvaW50ZXJFdmVudCxcbiAgICBwdWJsaWMgZlRyaWdnZXI6IEZFdmVudFRyaWdnZXIsXG4gICkge1xuICB9XG59XG4iXX0=
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export * from './f-node-rotate-preparation.execution';
|
|
2
|
-
export * from './f-node-rotate-preparation.request';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtZHJhZ2dhYmxlL2Ytbm9kZS1yb3RhdGUvcm90YXRlLXByZXBhcmF0aW9uL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsdUNBQXVDLENBQUM7QUFFdEQsY0FBYyxxQ0FBcUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZi1ub2RlLXJvdGF0ZS1wcmVwYXJhdGlvbi5leGVjdXRpb24nO1xuXG5leHBvcnQgKiBmcm9tICcuL2Ytbm9kZS1yb3RhdGUtcHJlcGFyYXRpb24ucmVxdWVzdCc7XG4iXX0=
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
export const F_BEFORE_MAIN_PLUGIN = new InjectionToken('F_BEFORE_MAIN_PLUGIN');
|
|
3
|
-
export const F_AFTER_MAIN_PLUGIN = new InjectionToken('F_AFTER_MAIN_PLUGIN');
|
|
4
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1mLWRyYWctYW5kLWRyb3AtcGx1Z2luLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWRyYWdnYWJsZS9pLWYtZHJhZy1hbmQtZHJvcC1wbHVnaW4udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUcvQyxNQUFNLENBQUMsTUFBTSxvQkFBb0IsR0FBRyxJQUFJLGNBQWMsQ0FBc0Isc0JBQXNCLENBQUMsQ0FBQztBQUNwRyxNQUFNLENBQUMsTUFBTSxtQkFBbUIsR0FBRyxJQUFJLGNBQWMsQ0FBc0IscUJBQXFCLENBQUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEluamVjdGlvblRva2VuIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBJUG9pbnRlckV2ZW50IH0gZnJvbSBcIi4uL2RyYWctdG9vbGtpdFwiO1xuXG5leHBvcnQgY29uc3QgRl9CRUZPUkVfTUFJTl9QTFVHSU4gPSBuZXcgSW5qZWN0aW9uVG9rZW48SUZEcmFnQW5kRHJvcFBsdWdpbj4oJ0ZfQkVGT1JFX01BSU5fUExVR0lOJyk7XG5leHBvcnQgY29uc3QgRl9BRlRFUl9NQUlOX1BMVUdJTiA9IG5ldyBJbmplY3Rpb25Ub2tlbjxJRkRyYWdBbmREcm9wUGx1Z2luPignRl9BRlRFUl9NQUlOX1BMVUdJTicpO1xuXG5leHBvcnQgaW50ZXJmYWNlIElGRHJhZ0FuZERyb3BQbHVnaW4ge1xuXG4gIG9uU2VsZWN0PyhldmVudDogRXZlbnQpOiB2b2lkO1xuXG4gIG9uUG9pbnRlckRvd24/KGV2ZW50OiBJUG9pbnRlckV2ZW50KTogdm9pZDtcblxuICBwcmVwYXJlRHJhZ1NlcXVlbmNlPyhldmVudDogSVBvaW50ZXJFdmVudCk6IHZvaWQ7XG5cbiAgb25Qb2ludGVyVXA/KGV2ZW50OiBJUG9pbnRlckV2ZW50KTogdm9pZDtcbn1cbiJdfQ==
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export * from './pinch-to-zoom-finalize';
|
|
2
|
-
export * from './pinch-to-zoom-finalize-request';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtZHJhZ2dhYmxlL3BpbmNoLXRvLXpvb20vZmluYWxpemUvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYywwQkFBMEIsQ0FBQztBQUV6QyxjQUFjLGtDQUFrQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9waW5jaC10by16b29tLWZpbmFsaXplJztcblxuZXhwb3J0ICogZnJvbSAnLi9waW5jaC10by16b29tLWZpbmFsaXplLXJlcXVlc3QnO1xuIl19
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export class PinchToZoomFinalizeRequest {
|
|
2
|
-
event;
|
|
3
|
-
static fToken = Symbol('PinchToZoomFinalizeRequest');
|
|
4
|
-
constructor(event) {
|
|
5
|
-
this.event = event;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGluY2gtdG8tem9vbS1maW5hbGl6ZS1yZXF1ZXN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWRyYWdnYWJsZS9waW5jaC10by16b29tL2ZpbmFsaXplL3BpbmNoLXRvLXpvb20tZmluYWxpemUtcmVxdWVzdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxNQUFNLE9BQU8sMEJBQTBCO0lBRVQ7SUFENUIsTUFBTSxDQUFVLE1BQU0sR0FBRyxNQUFNLENBQUMsNEJBQTRCLENBQUMsQ0FBQztJQUM5RCxZQUE0QixLQUFvQjtRQUFwQixVQUFLLEdBQUwsS0FBSyxDQUFlO0lBQUcsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IElQb2ludGVyRXZlbnQgfSBmcm9tICcuLi8uLi8uLi9kcmFnLXRvb2xraXQnO1xuXG5leHBvcnQgY2xhc3MgUGluY2hUb1pvb21GaW5hbGl6ZVJlcXVlc3Qge1xuICBzdGF0aWMgcmVhZG9ubHkgZlRva2VuID0gU3ltYm9sKCdQaW5jaFRvWm9vbUZpbmFsaXplUmVxdWVzdCcpO1xuICBjb25zdHJ1Y3RvcihwdWJsaWMgcmVhZG9ubHkgZXZlbnQ6IElQb2ludGVyRXZlbnQpIHt9XG59XG4iXX0=
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { inject, Injectable } from '@angular/core';
|
|
3
|
-
import { PinchToZoomFinalizeRequest } from './pinch-to-zoom-finalize-request';
|
|
4
|
-
import { FExecutionRegister } from '@foblex/mediator';
|
|
5
|
-
import { FDraggableDataContext } from '../../f-draggable-data-context';
|
|
6
|
-
import { PinchToZoomHandler } from '../handler';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
let PinchToZoomFinalize = class PinchToZoomFinalize {
|
|
9
|
-
_dragSession = inject(FDraggableDataContext);
|
|
10
|
-
handle(_) {
|
|
11
|
-
if (!this._hasPinchZoomHandler()) {
|
|
12
|
-
return;
|
|
13
|
-
}
|
|
14
|
-
for (const item of this._dragSession.draggableItems) {
|
|
15
|
-
item.onPointerUp?.();
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
_hasPinchZoomHandler() {
|
|
19
|
-
return this._dragSession.draggableItems.some((x) => x instanceof PinchToZoomHandler);
|
|
20
|
-
}
|
|
21
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: PinchToZoomFinalize, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
22
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: PinchToZoomFinalize });
|
|
23
|
-
};
|
|
24
|
-
PinchToZoomFinalize = __decorate([
|
|
25
|
-
FExecutionRegister(PinchToZoomFinalizeRequest)
|
|
26
|
-
], PinchToZoomFinalize);
|
|
27
|
-
export { PinchToZoomFinalize };
|
|
28
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: PinchToZoomFinalize, decorators: [{
|
|
29
|
-
type: Injectable
|
|
30
|
-
}] });
|
|
31
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGluY2gtdG8tem9vbS1maW5hbGl6ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi1kcmFnZ2FibGUvcGluY2gtdG8tem9vbS9maW5hbGl6ZS9waW5jaC10by16b29tLWZpbmFsaXplLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsTUFBTSxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNuRCxP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W1zLnNvbWUoKHgpID0+IHggaW5zdGFuY2VvZiBQaW5jaFRvWm9vbUhhbmRsZXIpO1xuICB9XG59XG4iXX0=
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export * from './pinch-to-zoom-preparation';
|
|
2
|
-
export * from './pinch-to-zoom-preparation-request';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtZHJhZ2dhYmxlL3BpbmNoLXRvLXpvb20vcHJlcGFyYXRpb24vaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyw2QkFBNkIsQ0FBQztBQUU1QyxjQUFjLHFDQUFxQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9waW5jaC10by16b29tLXByZXBhcmF0aW9uJztcblxuZXhwb3J0ICogZnJvbSAnLi9waW5jaC10by16b29tLXByZXBhcmF0aW9uLXJlcXVlc3QnO1xuIl19
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export class PinchToZoomPreparationRequest {
|
|
2
|
-
event;
|
|
3
|
-
static fToken = Symbol('PinchToZoomPreparationRequest');
|
|
4
|
-
constructor(event) {
|
|
5
|
-
this.event = event;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGluY2gtdG8tem9vbS1wcmVwYXJhdGlvbi1yZXF1ZXN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWRyYWdnYWJsZS9waW5jaC10by16b29tL3ByZXBhcmF0aW9uL3BpbmNoLXRvLXpvb20tcHJlcGFyYXRpb24tcmVxdWVzdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxNQUFNLE9BQU8sNkJBQTZCO0lBRVo7SUFENUIsTUFBTSxDQUFVLE1BQU0sR0FBRyxNQUFNLENBQUMsK0JBQStCLENBQUMsQ0FBQztJQUNqRSxZQUE0QixLQUFvQjtRQUFwQixVQUFLLEdBQUwsS0FBSyxDQUFlO0lBQUcsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IElQb2ludGVyRXZlbnQgfSBmcm9tICcuLi8uLi8uLi9kcmFnLXRvb2xraXQnO1xuXG5leHBvcnQgY2xhc3MgUGluY2hUb1pvb21QcmVwYXJhdGlvblJlcXVlc3Qge1xuICBzdGF0aWMgcmVhZG9ubHkgZlRva2VuID0gU3ltYm9sKCdQaW5jaFRvWm9vbVByZXBhcmF0aW9uUmVxdWVzdCcpO1xuICBjb25zdHJ1Y3RvcihwdWJsaWMgcmVhZG9ubHkgZXZlbnQ6IElQb2ludGVyRXZlbnQpIHt9XG59XG4iXX0=
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { inject, Injectable } from '@angular/core';
|
|
3
|
-
import { PinchToZoomPreparationRequest } from './pinch-to-zoom-preparation-request';
|
|
4
|
-
import { FExecutionRegister } from '@foblex/mediator';
|
|
5
|
-
import { FDraggableDataContext } from '../../f-draggable-data-context';
|
|
6
|
-
import { Point } from '@foblex/2d';
|
|
7
|
-
import { FComponentsStore, INSTANCES } from '../../../f-storage';
|
|
8
|
-
import { PinchToZoomHandler } from '../handler';
|
|
9
|
-
import { DragHandlerInjector } from '../../infrastructure';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
let PinchToZoomPreparation = class PinchToZoomPreparation {
|
|
12
|
-
_dragInjector = inject(DragHandlerInjector);
|
|
13
|
-
_store = inject(FComponentsStore);
|
|
14
|
-
_dragSession = inject(FDraggableDataContext);
|
|
15
|
-
handle({ event }) {
|
|
16
|
-
if (!this._canStart(event)) {
|
|
17
|
-
return;
|
|
18
|
-
}
|
|
19
|
-
this._dragSession.onPointerDownScale = 1;
|
|
20
|
-
this._dragSession.onPointerDownPosition = new Point();
|
|
21
|
-
this._dragSession.draggableItems = [this._getHandler(event)];
|
|
22
|
-
}
|
|
23
|
-
_canStart(event) {
|
|
24
|
-
return (this._dragSession.isEmpty() &&
|
|
25
|
-
event.touches?.length === 2 &&
|
|
26
|
-
!event.isEventInLockedContext &&
|
|
27
|
-
this._hasZoomComponent());
|
|
28
|
-
}
|
|
29
|
-
_hasZoomComponent() {
|
|
30
|
-
return this._store.instances.has(INSTANCES.ZOOM);
|
|
31
|
-
}
|
|
32
|
-
_getHandler(event) {
|
|
33
|
-
const handler = this._dragInjector.get(PinchToZoomHandler);
|
|
34
|
-
handler.initialize(event.touches);
|
|
35
|
-
return handler;
|
|
36
|
-
}
|
|
37
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: PinchToZoomPreparation, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
38
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: PinchToZoomPreparation });
|
|
39
|
-
};
|
|
40
|
-
PinchToZoomPreparation = __decorate([
|
|
41
|
-
FExecutionRegister(PinchToZoomPreparationRequest)
|
|
42
|
-
], PinchToZoomPreparation);
|
|
43
|
-
export { PinchToZoomPreparation };
|
|
44
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: PinchToZoomPreparation, decorators: [{
|
|
45
|
-
type: Injectable
|
|
46
|
-
}] });
|
|
47
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGluY2gtdG8tem9vbS1wcmVwYXJhdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJz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1xuICAgIGNvbnN0IGhhbmRsZXIgPSB0aGlzLl9kcmFnSW5qZWN0b3IuZ2V0KFBpbmNoVG9ab29tSGFuZGxlcik7XG4gICAgaGFuZGxlci5pbml0aWFsaXplKGV2ZW50LnRvdWNoZXMpO1xuXG4gICAgcmV0dXJuIGhhbmRsZXI7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { FComponentsStore } from "../../../f-storage";
|
|
2
|
-
export class ExternalRectConstraint {
|
|
3
|
-
_onPointerDown;
|
|
4
|
-
_limit;
|
|
5
|
-
_vCellSize;
|
|
6
|
-
_hCellSize;
|
|
7
|
-
_adjustCellSize;
|
|
8
|
-
constructor(injector, _onPointerDown, _limit) {
|
|
9
|
-
this._onPointerDown = _onPointerDown;
|
|
10
|
-
this._limit = _limit;
|
|
11
|
-
const store = injector.get(FComponentsStore);
|
|
12
|
-
this._vCellSize = store.fDraggable.vCellSize();
|
|
13
|
-
this._hCellSize = store.fDraggable.hCellSize();
|
|
14
|
-
this._adjustCellSize = store.fDraggable.fCellSizeWhileDragging();
|
|
15
|
-
}
|
|
16
|
-
limit(difference) {
|
|
17
|
-
const { min, max } = this._limit;
|
|
18
|
-
const { x, y } = this._cellSizeStrategies[+this._adjustCellSize](difference);
|
|
19
|
-
return {
|
|
20
|
-
x: this._clamp(x, min.x, max.x),
|
|
21
|
-
y: this._clamp(y, min.y, max.y),
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
_cellSizeStrategies = {
|
|
25
|
-
0: this._skipCellSize.bind(this),
|
|
26
|
-
1: this._applyCellSize.bind(this),
|
|
27
|
-
};
|
|
28
|
-
_applyCellSize(difference) {
|
|
29
|
-
return {
|
|
30
|
-
x: this._snapToGrid(this._onPointerDown.x + difference.x, this._hCellSize) - this._onPointerDown.x,
|
|
31
|
-
y: this._snapToGrid(this._onPointerDown.y + difference.y, this._vCellSize) - this._onPointerDown.y,
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
_skipCellSize(difference) {
|
|
35
|
-
return difference;
|
|
36
|
-
}
|
|
37
|
-
_clamp(value, min, max) {
|
|
38
|
-
return Math.min(Math.max(value, min), max);
|
|
39
|
-
}
|
|
40
|
-
_snapToGrid(value, cellSize) {
|
|
41
|
-
return Math.round(value / cellSize) * cellSize;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXh0ZXJuYWwtcmVjdC1jb25zdHJhaW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWV4dGVybmFsLWl0ZW0vZG9tYWluL2NvbnN0cmFpbnQvZXh0ZXJuYWwtcmVjdC1jb25zdHJhaW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBRXRELE1BQU0sT0FBTyxzQkFBc0I7SUFRdkI7SUFDUztJQVBGLFVBQVUsQ0FBUztJQUNuQixVQUFVLENBQVM7SUFDbkIsZUFBZSxDQUFVO0lBRTFDLFlBQ0UsUUFBa0IsRUFDVixjQUFzQixFQUNiLE1BQW9CO1FBRDdCLG1CQUFjLEdBQWQsY0FBYyxDQUFRO1FBQ2IsV0FBTSxHQUFOLE1BQU0sQ0FBYztRQUVyQyxNQUFNLEtBQUssR0FBRyxRQUFRLENBQUMsR0FBRyxDQUFDLGdCQUFnQixDQUFDLENBQUM7UUFDN0MsSUFBSSxDQUFDLFVBQVUsR0FBRyxLQUFLLENBQUMsVUFBVyxDQUFDLFNBQVMsRUFBRSxDQUFDO1FBQ2hELElBQUksQ0FBQyxVQUFVLEdBQUcsS0FBSyxDQUFDLFVBQVcsQ0FBQyxTQUFTLEVBQUUsQ0FBQztRQUNoRCxJQUFJLENBQUMs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wcml2YXRlIF9hcHBseUNlbGxTaXplKGRpZmZlcmVuY2U6IElQb2ludCk6IElQb2ludCB7XG4gICAgcmV0dXJuIHtcbiAgICAgIHg6IHRoaXMuX3NuYXBUb0dyaWQodGhpcy5fb25Qb2ludGVyRG93bi54ICsgZGlmZmVyZW5jZS54LCB0aGlzLl9oQ2VsbFNpemUpIC0gdGhpcy5fb25Qb2ludGVyRG93bi54LFxuICAgICAgeTogdGhpcy5fc25hcFRvR3JpZCh0aGlzLl9vblBvaW50ZXJEb3duLnkgKyBkaWZmZXJlbmNlLnksIHRoaXMuX3ZDZWxsU2l6ZSkgLSB0aGlzLl9vblBvaW50ZXJEb3duLnksXG4gICAgfTtcbiAgfVxuXG4gIHByaXZhdGUgX3NraXBDZWxsU2l6ZShkaWZmZXJlbmNlOiBJUG9pbnQpOiBJUG9pbnQge1xuICAgIHJldHVybiBkaWZmZXJlbmNlO1xuICB9XG5cbiAgcHJpdmF0ZSBfY2xhbXAodmFsdWU6IG51bWJlciwgbWluOiBudW1iZXIsIG1heDogbnVtYmVyKTogbnVtYmVyIHtcbiAgICByZXR1cm4gTWF0aC5taW4oTWF0aC5tYXgodmFsdWUsIG1pbiksIG1heCk7XG4gIH1cblxuICBwcml2YXRlIF9zbmFwVG9HcmlkKHZhbHVlOiBudW1iZXIsIGNlbGxTaXplOiBudW1iZXIpOiBudW1iZXIge1xuICAgIHJldHVybiBNYXRoLnJvdW5kKHZhbHVlIC8gY2VsbFNpemUpICogY2VsbFNpemU7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export * from './external-rect-constraint';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtZXh0ZXJuYWwtaXRlbS9kb21haW4vY29uc3RyYWludC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDRCQUE0QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9leHRlcm5hbC1yZWN0LWNvbnN0cmFpbnQnO1xuIl19
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { FExternalItemCreatePlaceholderRequest } from './f-external-item-create-placeholder.request';
|
|
3
|
-
import { FExecutionRegister } from '@foblex/mediator';
|
|
4
|
-
import { inject, Injectable, ViewContainerRef } from '@angular/core';
|
|
5
|
-
import { deepCloneNode, getOrCreateRootNodeForViewRef } from '@foblex/utils';
|
|
6
|
-
import { BrowserService } from '@foblex/platform';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
let FExternalItemCreatePlaceholderExecution = class FExternalItemCreatePlaceholderExecution {
|
|
9
|
-
_fBrowser = inject(BrowserService);
|
|
10
|
-
_containerRef = inject(ViewContainerRef);
|
|
11
|
-
handle(request) {
|
|
12
|
-
const { hostElement, fPlaceholder } = request.fExternalItem;
|
|
13
|
-
const result = fPlaceholder ?
|
|
14
|
-
this._fromTemplate(fPlaceholder) :
|
|
15
|
-
this._fromHost(hostElement);
|
|
16
|
-
result.classList.add('f-external-item-placeholder');
|
|
17
|
-
result.style.pointerEvents = 'none';
|
|
18
|
-
return result;
|
|
19
|
-
}
|
|
20
|
-
_fromTemplate(template) {
|
|
21
|
-
return getOrCreateRootNodeForViewRef(this._createViewRef(template), this._fBrowser.document);
|
|
22
|
-
}
|
|
23
|
-
_fromHost(element) {
|
|
24
|
-
return deepCloneNode(element);
|
|
25
|
-
}
|
|
26
|
-
_createViewRef(template) {
|
|
27
|
-
const result = this._containerRef.createEmbeddedView(template);
|
|
28
|
-
result.detectChanges();
|
|
29
|
-
return result;
|
|
30
|
-
}
|
|
31
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FExternalItemCreatePlaceholderExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
32
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FExternalItemCreatePlaceholderExecution });
|
|
33
|
-
};
|
|
34
|
-
FExternalItemCreatePlaceholderExecution = __decorate([
|
|
35
|
-
FExecutionRegister(FExternalItemCreatePlaceholderRequest)
|
|
36
|
-
], FExternalItemCreatePlaceholderExecution);
|
|
37
|
-
export { FExternalItemCreatePlaceholderExecution };
|
|
38
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FExternalItemCreatePlaceholderExecution, decorators: [{
|
|
39
|
-
type: Injectable
|
|
40
|
-
}] });
|
|
41
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1leHRlcm5hbC1pdGVtLWNyZWF0ZS1wbGFjZWhvbGRlci5leGVjdXRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtZXh0ZXJuYWwtaXRlbS9kb21haW4vY3JlYXRlLXBsYWNlaG9sZGVyL2YtZXh0ZXJuYWwtaXRlbS1jcmVhdGUtcGxhY2Vob2xkZXIuZXhlY3V0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUscUNBQXFDLEVBQUUsTUFBTSw4Q0FBOEMsQ0FBQztBQUNyRyxPQUFPLEVBQUUsa0JBQWtCLEVBQWMsTUFBTSxrQkFBa0IsQ0FBQztBQUNsRSxPQUFPLEVBQW1CLE1BQU0sRUFBRSxVQUFVLEVBQWUsZ0JBQWdCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDbkcsT0FBTyxFQUFFLGFBQWEsRUFBR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IHByaXZhdGUgX2Zyb21Ib3N0KGVsZW1lbnQ6IEhUTUxFbGVtZW50KTogSFRNTEVsZW1lbnQge1xuICAgIHJldHVybiBkZWVwQ2xvbmVOb2RlKGVsZW1lbnQpO1xuICB9XG5cbiAgcHJpdmF0ZSBfY3JlYXRlVmlld1JlZih0ZW1wbGF0ZTogVGVtcGxhdGVSZWY8YW55Pik6IEVtYmVkZGVkVmlld1JlZjxhbnk+IHtcbiAgICBjb25zdCByZXN1bHQgPSB0aGlzLl9jb250YWluZXJSZWYuY3JlYXRlRW1iZWRkZWRWaWV3KHRlbXBsYXRlKTtcbiAgICByZXN1bHQuZGV0ZWN0Q2hhbmdlcygpO1xuXG4gICAgcmV0dXJuIHJlc3VsdDtcbiAgfVxufVxuIl19
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export class FExternalItemCreatePlaceholderRequest {
|
|
2
|
-
fExternalItem;
|
|
3
|
-
static fToken = Symbol('FExternalItemCreatePlaceholderRequest');
|
|
4
|
-
constructor(fExternalItem) {
|
|
5
|
-
this.fExternalItem = fExternalItem;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1leHRlcm5hbC1pdGVtLWNyZWF0ZS1wbGFjZWhvbGRlci5yZXF1ZXN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWV4dGVybmFsLWl0ZW0vZG9tYWluL2NyZWF0ZS1wbGFjZWhvbGRlci9mLWV4dGVybmFsLWl0ZW0tY3JlYXRlLXBsYWNlaG9sZGVyLnJlcXVlc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsTUFBTSxPQUFPLHFDQUFxQztJQUl2QztJQUhULE1BQU0sQ0FBVSxNQUFNLEdBQUcsTUFBTSxDQUFDLHVDQUF1QyxDQUFDLENBQUM7SUFFekUsWUFDUyxhQUFnQztRQUFoQyxrQkFBYSxHQUFiLGFBQWEsQ0FBbUI7SUFFekMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEZFeHRlcm5hbEl0ZW1CYXNlIH0gZnJvbSAnLi4vLi4vZi1leHRlcm5hbC1pdGVtLWJhc2UnO1xuXG5leHBvcnQgY2xhc3MgRkV4dGVybmFsSXRlbUNyZWF0ZVBsYWNlaG9sZGVyUmVxdWVzdCB7XG4gIHN0YXRpYyByZWFkb25seSBmVG9rZW4gPSBTeW1ib2woJ0ZFeHRlcm5hbEl0ZW1DcmVhdGVQbGFjZWhvbGRlclJlcXVlc3QnKTtcblxuICBjb25zdHJ1Y3RvcihcbiAgICBwdWJsaWMgZkV4dGVybmFsSXRlbTogRkV4dGVybmFsSXRlbUJhc2UsXG4gICkge1xuICB9XG59XG4iXX0=
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export * from './f-external-item-create-placeholder.execution';
|
|
2
|
-
export * from './f-external-item-create-placeholder.request';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtZXh0ZXJuYWwtaXRlbS9kb21haW4vY3JlYXRlLXBsYWNlaG9sZGVyL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsZ0RBQWdELENBQUM7QUFFL0QsY0FBYyw4Q0FBOEMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZi1leHRlcm5hbC1pdGVtLWNyZWF0ZS1wbGFjZWhvbGRlci5leGVjdXRpb24nO1xuXG5leHBvcnQgKiBmcm9tICcuL2YtZXh0ZXJuYWwtaXRlbS1jcmVhdGUtcGxhY2Vob2xkZXIucmVxdWVzdCc7XG4iXX0=
|
package/esm2022/f-external-item/domain/create-preview/f-external-item-create-preview.execution.mjs
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { FExternalItemCreatePreviewRequest } from './f-external-item-create-preview.request';
|
|
3
|
-
import { FExecutionRegister } from '@foblex/mediator';
|
|
4
|
-
import { inject, Injectable, ViewContainerRef } from '@angular/core';
|
|
5
|
-
import { deepCloneNode, disableDragInteractions, extendStyles, getOrCreateRootNodeForViewRef } from '@foblex/utils';
|
|
6
|
-
import { BrowserService } from '@foblex/platform';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
let FExternalItemCreatePreviewExecution = class FExternalItemCreatePreviewExecution {
|
|
9
|
-
_fBrowser = inject(BrowserService);
|
|
10
|
-
_containerRef = inject(ViewContainerRef);
|
|
11
|
-
handle(request) {
|
|
12
|
-
const { hostElement, fPreview } = request.fExternalItem;
|
|
13
|
-
const result = fPreview ?
|
|
14
|
-
this._fromTemplate(fPreview) :
|
|
15
|
-
this._fromHost(hostElement);
|
|
16
|
-
this._setPreviewStyles(result);
|
|
17
|
-
disableDragInteractions(result);
|
|
18
|
-
result.classList.add('f-external-item-preview');
|
|
19
|
-
return result;
|
|
20
|
-
}
|
|
21
|
-
_fromTemplate(template) {
|
|
22
|
-
return getOrCreateRootNodeForViewRef(this._createViewRef(template), this._fBrowser.document);
|
|
23
|
-
}
|
|
24
|
-
_fromHost(element) {
|
|
25
|
-
return deepCloneNode(element);
|
|
26
|
-
}
|
|
27
|
-
_createViewRef(template) {
|
|
28
|
-
const result = this._containerRef.createEmbeddedView(template);
|
|
29
|
-
result.detectChanges();
|
|
30
|
-
return result;
|
|
31
|
-
}
|
|
32
|
-
_setPreviewStyles(element) {
|
|
33
|
-
extendStyles(element.style, {
|
|
34
|
-
'pointer-events': 'none',
|
|
35
|
-
'margin': 'showPopover' in element ? '0 auto 0 0' : '0',
|
|
36
|
-
'position': 'fixed',
|
|
37
|
-
'top': '0',
|
|
38
|
-
'left': '0',
|
|
39
|
-
'z-index': '1000',
|
|
40
|
-
}, new Set(['position']));
|
|
41
|
-
}
|
|
42
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FExternalItemCreatePreviewExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
43
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FExternalItemCreatePreviewExecution });
|
|
44
|
-
};
|
|
45
|
-
FExternalItemCreatePreviewExecution = __decorate([
|
|
46
|
-
FExecutionRegister(FExternalItemCreatePreviewRequest)
|
|
47
|
-
], FExternalItemCreatePreviewExecution);
|
|
48
|
-
export { FExternalItemCreatePreviewExecution };
|
|
49
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FExternalItemCreatePreviewExecution, decorators: [{
|
|
50
|
-
type: Injectable
|
|
51
|
-
}] });
|
|
52
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1leHRlcm5hbC1pdGVtLWNyZWF0ZS1wcmV2aWV3LmV4ZWN1dGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi1leHRlcm5hbC1pdGVtL2RvbWFpbi9jcmVhdGUtcHJldmlldy9mLWV4dGVybmFsLWl0ZW0tY3JlYXRlLXByZXZpZXcuZXhlY3V0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsaUNBQWlDLEVBQUUsTUFBTSwwQ0FBMEMsQ0FBQztBQUM3RixPQUFPLEVBQUUsa0JBQWtCLEVBQWMsTUFBTSxrQkFBa0IsQ0F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bGVzKGVsZW1lbnQ6IEhUTUxFbGVtZW50KTogdm9pZCB7XG4gICAgZXh0ZW5kU3R5bGVzKFxuICAgICAgZWxlbWVudC5zdHlsZSxcbiAgICAgIHtcbiAgICAgICAgJ3BvaW50ZXItZXZlbnRzJzogJ25vbmUnLFxuICAgICAgICAnbWFyZ2luJzogJ3Nob3dQb3BvdmVyJyBpbiBlbGVtZW50ID8gJzAgYXV0byAwIDAnIDogJzAnLFxuICAgICAgICAncG9zaXRpb24nOiAnZml4ZWQnLFxuICAgICAgICAndG9wJzogJzAnLFxuICAgICAgICAnbGVmdCc6ICcwJyxcbiAgICAgICAgJ3otaW5kZXgnOiAnMTAwMCcsXG4gICAgICB9LFxuICAgICAgbmV3IFNldChbICdwb3NpdGlvbicgXSksXG4gICAgKTtcbiAgfVxufVxuIl19
|
package/esm2022/f-external-item/domain/create-preview/f-external-item-create-preview.request.mjs
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export class FExternalItemCreatePreviewRequest {
|
|
2
|
-
fExternalItem;
|
|
3
|
-
static fToken = Symbol('FExternalItemCreatePreviewRequest');
|
|
4
|
-
constructor(fExternalItem) {
|
|
5
|
-
this.fExternalItem = fExternalItem;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1leHRlcm5hbC1pdGVtLWNyZWF0ZS1wcmV2aWV3LnJlcXVlc3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtZXh0ZXJuYWwtaXRlbS9kb21haW4vY3JlYXRlLXByZXZpZXcvZi1leHRlcm5hbC1pdGVtLWNyZWF0ZS1wcmV2aWV3LnJlcXVlc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsTUFBTSxPQUFPLGlDQUFpQztJQUluQztJQUhULE1BQU0sQ0FBVSxNQUFNLEdBQUcsTUFBTSxDQUFDLG1DQUFtQyxDQUFDLENBQUM7SUFFckUsWUFDUyxhQUFnQztRQUFoQyxrQkFBYSxHQUFiLGFBQWEsQ0FBbUI7SUFFekMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEZFeHRlcm5hbEl0ZW1CYXNlIH0gZnJvbSAnLi4vLi4vZi1leHRlcm5hbC1pdGVtLWJhc2UnO1xuXG5leHBvcnQgY2xhc3MgRkV4dGVybmFsSXRlbUNyZWF0ZVByZXZpZXdSZXF1ZXN0IHtcbiAgc3RhdGljIHJlYWRvbmx5IGZUb2tlbiA9IFN5bWJvbCgnRkV4dGVybmFsSXRlbUNyZWF0ZVByZXZpZXdSZXF1ZXN0Jyk7XG5cbiAgY29uc3RydWN0b3IoXG4gICAgcHVibGljIGZFeHRlcm5hbEl0ZW06IEZFeHRlcm5hbEl0ZW1CYXNlLFxuICApIHtcbiAgfVxufVxuIl19
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export * from './f-external-item-create-preview.execution';
|
|
2
|
-
export * from './f-external-item-create-preview.request';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtZXh0ZXJuYWwtaXRlbS9kb21haW4vY3JlYXRlLXByZXZpZXcvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyw0Q0FBNEMsQ0FBQztBQUUzRCxjQUFjLDBDQUEwQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9mLWV4dGVybmFsLWl0ZW0tY3JlYXRlLXByZXZpZXcuZXhlY3V0aW9uJztcblxuZXhwb3J0ICogZnJvbSAnLi9mLWV4dGVybmFsLWl0ZW0tY3JlYXRlLXByZXZpZXcucmVxdWVzdCc7XG4iXX0=
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export class FCreateNodeEvent {
|
|
2
|
-
rect;
|
|
3
|
-
data;
|
|
4
|
-
fTargetNode;
|
|
5
|
-
fDropPosition;
|
|
6
|
-
constructor(rect, data, fTargetNode, fDropPosition) {
|
|
7
|
-
this.rect = rect;
|
|
8
|
-
this.data = data;
|
|
9
|
-
this.fTargetNode = fTargetNode;
|
|
10
|
-
this.fDropPosition = fDropPosition;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1jcmVhdGUtbm9kZS5ldmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi1leHRlcm5hbC1pdGVtL2RvbWFpbi9mLWNyZWF0ZS1ub2RlLmV2ZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE1BQU0sT0FBTyxnQkFBZ0I7SUFHbEI7SUFDQTtJQUNBO0lBQ0E7SUFKVCxZQUNTLElBQVcsRUFDWCxJQUFXLEVBQ1gsV0FBb0IsRUFDcEIsYUFBc0I7UUFIdEIsU0FBSSxHQUFKLElBQUksQ0FBTztRQUNYLFNBQUksR0FBSixJQUFJLENBQU87UUFDWCxnQkFBVyxHQUFYLFdBQVcsQ0FBUztRQUNwQixrQkFBYSxHQUFiLGFBQWEsQ0FBUztJQUUvQixDQUFDO0NBQ0YiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJUG9pbnQsIElSZWN0IH0gZnJvbSAnQGZvYmxleC8yZCc7XG5cbmV4cG9ydCBjbGFzcyBGQ3JlYXRlTm9kZUV2ZW50PFREYXRhID0gYW55PiB7XG5cbiAgY29uc3RydWN0b3IoXG4gICAgcHVibGljIHJlY3Q6IElSZWN0LFxuICAgIHB1YmxpYyBkYXRhOiBURGF0YSxcbiAgICBwdWJsaWMgZlRhcmdldE5vZGU/OiBzdHJpbmcsXG4gICAgcHVibGljIGZEcm9wUG9zaXRpb24/OiBJUG9pbnQsXG4gICkge1xuICB9XG59XG4iXX0=
|