@angflow/system 0.0.94 → 0.1.2
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/dist/esm/constants.d.ts +0 -1
- package/dist/esm/index.d.ts +0 -1
- package/dist/esm/index.js +30 -9
- package/dist/esm/index.mjs +30 -9
- package/dist/esm/types/changes.d.ts +0 -1
- package/dist/esm/types/edges.d.ts +0 -1
- package/dist/esm/types/general.d.ts +0 -1
- package/dist/esm/types/handles.d.ts +0 -1
- package/dist/esm/types/index.d.ts +0 -1
- package/dist/esm/types/nodes.d.ts +0 -1
- package/dist/esm/types/panzoom.d.ts +2 -3
- package/dist/esm/types/utils.d.ts +0 -1
- package/dist/esm/utils/connections.d.ts +0 -1
- package/dist/esm/utils/dom.d.ts +0 -1
- package/dist/esm/utils/edge-toolbar.d.ts +0 -1
- package/dist/esm/utils/edges/bezier-edge.d.ts +0 -1
- package/dist/esm/utils/edges/floating.d.ts +0 -1
- package/dist/esm/utils/edges/general.d.ts +0 -1
- package/dist/esm/utils/edges/index.d.ts +0 -1
- package/dist/esm/utils/edges/positions.d.ts +0 -1
- package/dist/esm/utils/edges/smoothstep-edge.d.ts +0 -1
- package/dist/esm/utils/edges/straight-edge.d.ts +0 -1
- package/dist/esm/utils/general.d.ts +0 -1
- package/dist/esm/utils/graph.d.ts +0 -1
- package/dist/esm/utils/index.d.ts +0 -1
- package/dist/esm/utils/marker.d.ts +0 -1
- package/dist/esm/utils/node-toolbar.d.ts +0 -1
- package/dist/esm/utils/shallow-node-data.d.ts +0 -1
- package/dist/esm/utils/store.d.ts +0 -1
- package/dist/esm/utils/types.d.ts +0 -1
- package/dist/esm/xydrag/XYDrag.d.ts +0 -1
- package/dist/esm/xydrag/index.d.ts +0 -1
- package/dist/esm/xydrag/utils.d.ts +0 -1
- package/dist/esm/xyhandle/XYHandle.d.ts +0 -1
- package/dist/esm/xyhandle/index.d.ts +0 -1
- package/dist/esm/xyhandle/types.d.ts +8 -5
- package/dist/esm/xyhandle/utils.d.ts +3 -4
- package/dist/esm/xyminimap/index.d.ts +0 -1
- package/dist/esm/xypanzoom/XYPanZoom.d.ts +0 -1
- package/dist/esm/xypanzoom/eventhandler.d.ts +0 -1
- package/dist/esm/xypanzoom/filter.d.ts +2 -3
- package/dist/esm/xypanzoom/index.d.ts +0 -1
- package/dist/esm/xypanzoom/utils.d.ts +0 -1
- package/dist/esm/xyresizer/XYResizer.d.ts +0 -1
- package/dist/esm/xyresizer/index.d.ts +0 -1
- package/dist/esm/xyresizer/types.d.ts +0 -1
- package/dist/esm/xyresizer/utils.d.ts +0 -1
- package/dist/umd/constants.d.ts +0 -1
- package/dist/umd/index.d.ts +0 -1
- package/dist/umd/index.js +1 -1
- package/dist/umd/types/changes.d.ts +0 -1
- package/dist/umd/types/edges.d.ts +0 -1
- package/dist/umd/types/general.d.ts +0 -1
- package/dist/umd/types/handles.d.ts +0 -1
- package/dist/umd/types/index.d.ts +0 -1
- package/dist/umd/types/nodes.d.ts +0 -1
- package/dist/umd/types/panzoom.d.ts +2 -3
- package/dist/umd/types/utils.d.ts +0 -1
- package/dist/umd/utils/connections.d.ts +0 -1
- package/dist/umd/utils/dom.d.ts +0 -1
- package/dist/umd/utils/edge-toolbar.d.ts +0 -1
- package/dist/umd/utils/edges/bezier-edge.d.ts +0 -1
- package/dist/umd/utils/edges/floating.d.ts +0 -1
- package/dist/umd/utils/edges/general.d.ts +0 -1
- package/dist/umd/utils/edges/index.d.ts +0 -1
- package/dist/umd/utils/edges/positions.d.ts +0 -1
- package/dist/umd/utils/edges/smoothstep-edge.d.ts +0 -1
- package/dist/umd/utils/edges/straight-edge.d.ts +0 -1
- package/dist/umd/utils/general.d.ts +0 -1
- package/dist/umd/utils/graph.d.ts +0 -1
- package/dist/umd/utils/index.d.ts +0 -1
- package/dist/umd/utils/marker.d.ts +0 -1
- package/dist/umd/utils/node-toolbar.d.ts +0 -1
- package/dist/umd/utils/shallow-node-data.d.ts +0 -1
- package/dist/umd/utils/store.d.ts +0 -1
- package/dist/umd/utils/types.d.ts +0 -1
- package/dist/umd/xydrag/XYDrag.d.ts +0 -1
- package/dist/umd/xydrag/index.d.ts +0 -1
- package/dist/umd/xydrag/utils.d.ts +0 -1
- package/dist/umd/xyhandle/XYHandle.d.ts +0 -1
- package/dist/umd/xyhandle/index.d.ts +0 -1
- package/dist/umd/xyhandle/types.d.ts +8 -5
- package/dist/umd/xyhandle/utils.d.ts +3 -4
- package/dist/umd/xyminimap/index.d.ts +0 -1
- package/dist/umd/xypanzoom/XYPanZoom.d.ts +0 -1
- package/dist/umd/xypanzoom/eventhandler.d.ts +0 -1
- package/dist/umd/xypanzoom/filter.d.ts +2 -3
- package/dist/umd/xypanzoom/index.d.ts +0 -1
- package/dist/umd/xypanzoom/utils.d.ts +0 -1
- package/dist/umd/xyresizer/XYResizer.d.ts +0 -1
- package/dist/umd/xyresizer/index.d.ts +0 -1
- package/dist/umd/xyresizer/types.d.ts +0 -1
- package/dist/umd/xyresizer/utils.d.ts +0 -1
- package/package.json +6 -2
- package/dist/esm/constants.d.ts.map +0 -1
- package/dist/esm/index.d.ts.map +0 -1
- package/dist/esm/src/constants.d.ts +0 -43
- package/dist/esm/src/constants.d.ts.map +0 -1
- package/dist/esm/src/index.d.ts +0 -9
- package/dist/esm/src/index.d.ts.map +0 -1
- package/dist/esm/src/types/changes.d.ts +0 -64
- package/dist/esm/src/types/changes.d.ts.map +0 -1
- package/dist/esm/src/types/edges.d.ts +0 -140
- package/dist/esm/src/types/edges.d.ts.map +0 -1
- package/dist/esm/src/types/general.d.ts +0 -296
- package/dist/esm/src/types/general.d.ts.map +0 -1
- package/dist/esm/src/types/handles.d.ts +0 -65
- package/dist/esm/src/types/handles.d.ts.map +0 -1
- package/dist/esm/src/types/index.d.ts +0 -8
- package/dist/esm/src/types/index.d.ts.map +0 -1
- package/dist/esm/src/types/nodes.d.ts +0 -157
- package/dist/esm/src/types/nodes.d.ts.map +0 -1
- package/dist/esm/src/types/panzoom.d.ts +0 -55
- package/dist/esm/src/types/panzoom.d.ts.map +0 -1
- package/dist/esm/src/types/utils.d.ts +0 -61
- package/dist/esm/src/types/utils.d.ts.map +0 -1
- package/dist/esm/src/utils/connections.d.ts +0 -13
- package/dist/esm/src/utils/connections.d.ts.map +0 -1
- package/dist/esm/src/utils/dom.d.ts +0 -21
- package/dist/esm/src/utils/dom.d.ts.map +0 -1
- package/dist/esm/src/utils/edge-toolbar.d.ts +0 -2
- package/dist/esm/src/utils/edge-toolbar.d.ts.map +0 -1
- package/dist/esm/src/utils/edges/bezier-edge.d.ts +0 -77
- package/dist/esm/src/utils/edges/bezier-edge.d.ts.map +0 -1
- package/dist/esm/src/utils/edges/floating.d.ts +0 -32
- package/dist/esm/src/utils/edges/floating.d.ts.map +0 -1
- package/dist/esm/src/utils/edges/general.d.ts +0 -91
- package/dist/esm/src/utils/edges/general.d.ts.map +0 -1
- package/dist/esm/src/utils/edges/index.d.ts +0 -7
- package/dist/esm/src/utils/edges/index.d.ts.map +0 -1
- package/dist/esm/src/utils/edges/positions.d.ts +0 -17
- package/dist/esm/src/utils/edges/positions.d.ts.map +0 -1
- package/dist/esm/src/utils/edges/smoothstep-edge.d.ts +0 -66
- package/dist/esm/src/utils/edges/smoothstep-edge.d.ts.map +0 -1
- package/dist/esm/src/utils/edges/straight-edge.d.ts +0 -41
- package/dist/esm/src/utils/edges/straight-edge.d.ts.map +0 -1
- package/dist/esm/src/utils/general.d.ts +0 -86
- package/dist/esm/src/utils/general.d.ts.map +0 -1
- package/dist/esm/src/utils/graph.d.ts +0 -191
- package/dist/esm/src/utils/graph.d.ts.map +0 -1
- package/dist/esm/src/utils/index.d.ts +0 -12
- package/dist/esm/src/utils/index.d.ts.map +0 -1
- package/dist/esm/src/utils/marker.d.ts +0 -9
- package/dist/esm/src/utils/marker.d.ts.map +0 -1
- package/dist/esm/src/utils/node-toolbar.d.ts +0 -3
- package/dist/esm/src/utils/node-toolbar.d.ts.map +0 -1
- package/dist/esm/src/utils/shallow-node-data.d.ts +0 -5
- package/dist/esm/src/utils/shallow-node-data.d.ts.map +0 -1
- package/dist/esm/src/utils/store.d.ts +0 -34
- package/dist/esm/src/utils/store.d.ts.map +0 -1
- package/dist/esm/src/utils/types.d.ts +0 -8
- package/dist/esm/src/utils/types.d.ts.map +0 -1
- package/dist/esm/src/xydrag/XYDrag.d.ts +0 -55
- package/dist/esm/src/xydrag/XYDrag.d.ts.map +0 -1
- package/dist/esm/src/xydrag/index.d.ts +0 -2
- package/dist/esm/src/xydrag/index.d.ts.map +0 -1
- package/dist/esm/src/xydrag/utils.d.ts +0 -24
- package/dist/esm/src/xydrag/utils.d.ts.map +0 -1
- package/dist/esm/src/xyhandle/XYHandle.d.ts +0 -3
- package/dist/esm/src/xyhandle/XYHandle.d.ts.map +0 -1
- package/dist/esm/src/xyhandle/index.d.ts +0 -2
- package/dist/esm/src/xyhandle/index.d.ts.map +0 -1
- package/dist/esm/src/xyhandle/types.d.ts +0 -51
- package/dist/esm/src/xyhandle/types.d.ts.map +0 -1
- package/dist/esm/src/xyhandle/utils.d.ts +0 -29
- package/dist/esm/src/xyhandle/utils.d.ts.map +0 -1
- package/dist/esm/src/xyminimap/index.d.ts +0 -28
- package/dist/esm/src/xyminimap/index.d.ts.map +0 -1
- package/dist/esm/src/xypanzoom/XYPanZoom.d.ts +0 -12
- package/dist/esm/src/xypanzoom/XYPanZoom.d.ts.map +0 -1
- package/dist/esm/src/xypanzoom/eventhandler.d.ts +0 -46
- package/dist/esm/src/xypanzoom/eventhandler.d.ts.map +0 -1
- package/dist/esm/src/xypanzoom/filter.d.ts +0 -15
- package/dist/esm/src/xypanzoom/filter.d.ts.map +0 -1
- package/dist/esm/src/xypanzoom/index.d.ts +0 -2
- package/dist/esm/src/xypanzoom/index.d.ts.map +0 -1
- package/dist/esm/src/xypanzoom/utils.d.ts +0 -9
- package/dist/esm/src/xypanzoom/utils.d.ts.map +0 -1
- package/dist/esm/src/xyresizer/XYResizer.d.ts +0 -49
- package/dist/esm/src/xyresizer/XYResizer.d.ts.map +0 -1
- package/dist/esm/src/xyresizer/index.d.ts +0 -3
- package/dist/esm/src/xyresizer/index.d.ts.map +0 -1
- package/dist/esm/src/xyresizer/types.d.ts +0 -59
- package/dist/esm/src/xyresizer/types.d.ts.map +0 -1
- package/dist/esm/src/xyresizer/utils.d.ts +0 -76
- package/dist/esm/src/xyresizer/utils.d.ts.map +0 -1
- package/dist/esm/types/changes.d.ts.map +0 -1
- package/dist/esm/types/edges.d.ts.map +0 -1
- package/dist/esm/types/general.d.ts.map +0 -1
- package/dist/esm/types/handles.d.ts.map +0 -1
- package/dist/esm/types/index.d.ts.map +0 -1
- package/dist/esm/types/nodes.d.ts.map +0 -1
- package/dist/esm/types/panzoom.d.ts.map +0 -1
- package/dist/esm/types/utils.d.ts.map +0 -1
- package/dist/esm/utils/connections.d.ts.map +0 -1
- package/dist/esm/utils/dom.d.ts.map +0 -1
- package/dist/esm/utils/edge-toolbar.d.ts.map +0 -1
- package/dist/esm/utils/edges/bezier-edge.d.ts.map +0 -1
- package/dist/esm/utils/edges/floating.d.ts.map +0 -1
- package/dist/esm/utils/edges/general.d.ts.map +0 -1
- package/dist/esm/utils/edges/index.d.ts.map +0 -1
- package/dist/esm/utils/edges/positions.d.ts.map +0 -1
- package/dist/esm/utils/edges/smoothstep-edge.d.ts.map +0 -1
- package/dist/esm/utils/edges/straight-edge.d.ts.map +0 -1
- package/dist/esm/utils/general.d.ts.map +0 -1
- package/dist/esm/utils/graph.d.ts.map +0 -1
- package/dist/esm/utils/index.d.ts.map +0 -1
- package/dist/esm/utils/marker.d.ts.map +0 -1
- package/dist/esm/utils/node-toolbar.d.ts.map +0 -1
- package/dist/esm/utils/shallow-node-data.d.ts.map +0 -1
- package/dist/esm/utils/store.d.ts.map +0 -1
- package/dist/esm/utils/types.d.ts.map +0 -1
- package/dist/esm/vitest.config.d.ts +0 -3
- package/dist/esm/vitest.config.d.ts.map +0 -1
- package/dist/esm/xydrag/XYDrag.d.ts.map +0 -1
- package/dist/esm/xydrag/index.d.ts.map +0 -1
- package/dist/esm/xydrag/utils.d.ts.map +0 -1
- package/dist/esm/xyhandle/XYHandle.d.ts.map +0 -1
- package/dist/esm/xyhandle/index.d.ts.map +0 -1
- package/dist/esm/xyhandle/types.d.ts.map +0 -1
- package/dist/esm/xyhandle/utils.d.ts.map +0 -1
- package/dist/esm/xyminimap/index.d.ts.map +0 -1
- package/dist/esm/xypanzoom/XYPanZoom.d.ts.map +0 -1
- package/dist/esm/xypanzoom/eventhandler.d.ts.map +0 -1
- package/dist/esm/xypanzoom/filter.d.ts.map +0 -1
- package/dist/esm/xypanzoom/index.d.ts.map +0 -1
- package/dist/esm/xypanzoom/utils.d.ts.map +0 -1
- package/dist/esm/xyresizer/XYResizer.d.ts.map +0 -1
- package/dist/esm/xyresizer/index.d.ts.map +0 -1
- package/dist/esm/xyresizer/types.d.ts.map +0 -1
- package/dist/esm/xyresizer/utils.d.ts.map +0 -1
- package/dist/umd/constants.d.ts.map +0 -1
- package/dist/umd/index.d.ts.map +0 -1
- package/dist/umd/src/constants.d.ts +0 -43
- package/dist/umd/src/constants.d.ts.map +0 -1
- package/dist/umd/src/index.d.ts +0 -9
- package/dist/umd/src/index.d.ts.map +0 -1
- package/dist/umd/src/types/changes.d.ts +0 -64
- package/dist/umd/src/types/changes.d.ts.map +0 -1
- package/dist/umd/src/types/edges.d.ts +0 -140
- package/dist/umd/src/types/edges.d.ts.map +0 -1
- package/dist/umd/src/types/general.d.ts +0 -296
- package/dist/umd/src/types/general.d.ts.map +0 -1
- package/dist/umd/src/types/handles.d.ts +0 -65
- package/dist/umd/src/types/handles.d.ts.map +0 -1
- package/dist/umd/src/types/index.d.ts +0 -8
- package/dist/umd/src/types/index.d.ts.map +0 -1
- package/dist/umd/src/types/nodes.d.ts +0 -157
- package/dist/umd/src/types/nodes.d.ts.map +0 -1
- package/dist/umd/src/types/panzoom.d.ts +0 -55
- package/dist/umd/src/types/panzoom.d.ts.map +0 -1
- package/dist/umd/src/types/utils.d.ts +0 -61
- package/dist/umd/src/types/utils.d.ts.map +0 -1
- package/dist/umd/src/utils/connections.d.ts +0 -13
- package/dist/umd/src/utils/connections.d.ts.map +0 -1
- package/dist/umd/src/utils/dom.d.ts +0 -21
- package/dist/umd/src/utils/dom.d.ts.map +0 -1
- package/dist/umd/src/utils/edge-toolbar.d.ts +0 -2
- package/dist/umd/src/utils/edge-toolbar.d.ts.map +0 -1
- package/dist/umd/src/utils/edges/bezier-edge.d.ts +0 -77
- package/dist/umd/src/utils/edges/bezier-edge.d.ts.map +0 -1
- package/dist/umd/src/utils/edges/floating.d.ts +0 -32
- package/dist/umd/src/utils/edges/floating.d.ts.map +0 -1
- package/dist/umd/src/utils/edges/general.d.ts +0 -91
- package/dist/umd/src/utils/edges/general.d.ts.map +0 -1
- package/dist/umd/src/utils/edges/index.d.ts +0 -7
- package/dist/umd/src/utils/edges/index.d.ts.map +0 -1
- package/dist/umd/src/utils/edges/positions.d.ts +0 -17
- package/dist/umd/src/utils/edges/positions.d.ts.map +0 -1
- package/dist/umd/src/utils/edges/smoothstep-edge.d.ts +0 -66
- package/dist/umd/src/utils/edges/smoothstep-edge.d.ts.map +0 -1
- package/dist/umd/src/utils/edges/straight-edge.d.ts +0 -41
- package/dist/umd/src/utils/edges/straight-edge.d.ts.map +0 -1
- package/dist/umd/src/utils/general.d.ts +0 -86
- package/dist/umd/src/utils/general.d.ts.map +0 -1
- package/dist/umd/src/utils/graph.d.ts +0 -191
- package/dist/umd/src/utils/graph.d.ts.map +0 -1
- package/dist/umd/src/utils/index.d.ts +0 -12
- package/dist/umd/src/utils/index.d.ts.map +0 -1
- package/dist/umd/src/utils/marker.d.ts +0 -9
- package/dist/umd/src/utils/marker.d.ts.map +0 -1
- package/dist/umd/src/utils/node-toolbar.d.ts +0 -3
- package/dist/umd/src/utils/node-toolbar.d.ts.map +0 -1
- package/dist/umd/src/utils/shallow-node-data.d.ts +0 -5
- package/dist/umd/src/utils/shallow-node-data.d.ts.map +0 -1
- package/dist/umd/src/utils/store.d.ts +0 -34
- package/dist/umd/src/utils/store.d.ts.map +0 -1
- package/dist/umd/src/utils/types.d.ts +0 -8
- package/dist/umd/src/utils/types.d.ts.map +0 -1
- package/dist/umd/src/xydrag/XYDrag.d.ts +0 -55
- package/dist/umd/src/xydrag/XYDrag.d.ts.map +0 -1
- package/dist/umd/src/xydrag/index.d.ts +0 -2
- package/dist/umd/src/xydrag/index.d.ts.map +0 -1
- package/dist/umd/src/xydrag/utils.d.ts +0 -24
- package/dist/umd/src/xydrag/utils.d.ts.map +0 -1
- package/dist/umd/src/xyhandle/XYHandle.d.ts +0 -3
- package/dist/umd/src/xyhandle/XYHandle.d.ts.map +0 -1
- package/dist/umd/src/xyhandle/index.d.ts +0 -2
- package/dist/umd/src/xyhandle/index.d.ts.map +0 -1
- package/dist/umd/src/xyhandle/types.d.ts +0 -51
- package/dist/umd/src/xyhandle/types.d.ts.map +0 -1
- package/dist/umd/src/xyhandle/utils.d.ts +0 -29
- package/dist/umd/src/xyhandle/utils.d.ts.map +0 -1
- package/dist/umd/src/xyminimap/index.d.ts +0 -28
- package/dist/umd/src/xyminimap/index.d.ts.map +0 -1
- package/dist/umd/src/xypanzoom/XYPanZoom.d.ts +0 -12
- package/dist/umd/src/xypanzoom/XYPanZoom.d.ts.map +0 -1
- package/dist/umd/src/xypanzoom/eventhandler.d.ts +0 -46
- package/dist/umd/src/xypanzoom/eventhandler.d.ts.map +0 -1
- package/dist/umd/src/xypanzoom/filter.d.ts +0 -15
- package/dist/umd/src/xypanzoom/filter.d.ts.map +0 -1
- package/dist/umd/src/xypanzoom/index.d.ts +0 -2
- package/dist/umd/src/xypanzoom/index.d.ts.map +0 -1
- package/dist/umd/src/xypanzoom/utils.d.ts +0 -9
- package/dist/umd/src/xypanzoom/utils.d.ts.map +0 -1
- package/dist/umd/src/xyresizer/XYResizer.d.ts +0 -49
- package/dist/umd/src/xyresizer/XYResizer.d.ts.map +0 -1
- package/dist/umd/src/xyresizer/index.d.ts +0 -3
- package/dist/umd/src/xyresizer/index.d.ts.map +0 -1
- package/dist/umd/src/xyresizer/types.d.ts +0 -59
- package/dist/umd/src/xyresizer/types.d.ts.map +0 -1
- package/dist/umd/src/xyresizer/utils.d.ts +0 -76
- package/dist/umd/src/xyresizer/utils.d.ts.map +0 -1
- package/dist/umd/types/changes.d.ts.map +0 -1
- package/dist/umd/types/edges.d.ts.map +0 -1
- package/dist/umd/types/general.d.ts.map +0 -1
- package/dist/umd/types/handles.d.ts.map +0 -1
- package/dist/umd/types/index.d.ts.map +0 -1
- package/dist/umd/types/nodes.d.ts.map +0 -1
- package/dist/umd/types/panzoom.d.ts.map +0 -1
- package/dist/umd/types/utils.d.ts.map +0 -1
- package/dist/umd/utils/connections.d.ts.map +0 -1
- package/dist/umd/utils/dom.d.ts.map +0 -1
- package/dist/umd/utils/edge-toolbar.d.ts.map +0 -1
- package/dist/umd/utils/edges/bezier-edge.d.ts.map +0 -1
- package/dist/umd/utils/edges/floating.d.ts.map +0 -1
- package/dist/umd/utils/edges/general.d.ts.map +0 -1
- package/dist/umd/utils/edges/index.d.ts.map +0 -1
- package/dist/umd/utils/edges/positions.d.ts.map +0 -1
- package/dist/umd/utils/edges/smoothstep-edge.d.ts.map +0 -1
- package/dist/umd/utils/edges/straight-edge.d.ts.map +0 -1
- package/dist/umd/utils/general.d.ts.map +0 -1
- package/dist/umd/utils/graph.d.ts.map +0 -1
- package/dist/umd/utils/index.d.ts.map +0 -1
- package/dist/umd/utils/marker.d.ts.map +0 -1
- package/dist/umd/utils/node-toolbar.d.ts.map +0 -1
- package/dist/umd/utils/shallow-node-data.d.ts.map +0 -1
- package/dist/umd/utils/store.d.ts.map +0 -1
- package/dist/umd/utils/types.d.ts.map +0 -1
- package/dist/umd/vitest.config.d.ts +0 -3
- package/dist/umd/vitest.config.d.ts.map +0 -1
- package/dist/umd/xydrag/XYDrag.d.ts.map +0 -1
- package/dist/umd/xydrag/index.d.ts.map +0 -1
- package/dist/umd/xydrag/utils.d.ts.map +0 -1
- package/dist/umd/xyhandle/XYHandle.d.ts.map +0 -1
- package/dist/umd/xyhandle/index.d.ts.map +0 -1
- package/dist/umd/xyhandle/types.d.ts.map +0 -1
- package/dist/umd/xyhandle/utils.d.ts.map +0 -1
- package/dist/umd/xyminimap/index.d.ts.map +0 -1
- package/dist/umd/xypanzoom/XYPanZoom.d.ts.map +0 -1
- package/dist/umd/xypanzoom/eventhandler.d.ts.map +0 -1
- package/dist/umd/xypanzoom/filter.d.ts.map +0 -1
- package/dist/umd/xypanzoom/index.d.ts.map +0 -1
- package/dist/umd/xypanzoom/utils.d.ts.map +0 -1
- package/dist/umd/xyresizer/XYResizer.d.ts.map +0 -1
- package/dist/umd/xyresizer/index.d.ts.map +0 -1
- package/dist/umd/xyresizer/types.d.ts.map +0 -1
- package/dist/umd/xyresizer/utils.d.ts.map +0 -1
|
@@ -1,191 +0,0 @@
|
|
|
1
|
-
import { type Transform, type XYPosition, type Rect, type NodeOrigin, type NodeBase, type EdgeBase, type FitViewParamsBase, type FitViewOptionsBase, CoordinateExtent, OnError, OnBeforeDeleteBase, NodeLookup, InternalNodeBase, NodeDragItem } from '../types';
|
|
2
|
-
/**
|
|
3
|
-
* Test whether an object is usable as an Edge
|
|
4
|
-
* @public
|
|
5
|
-
* @remarks In TypeScript this is a type guard that will narrow the type of whatever you pass in to Edge if it returns true
|
|
6
|
-
* @param element - The element to test
|
|
7
|
-
* @returns A boolean indicating whether the element is an Edge
|
|
8
|
-
*/
|
|
9
|
-
export declare const isEdgeBase: <EdgeType extends EdgeBase = EdgeBase>(element: any) => element is EdgeType;
|
|
10
|
-
/**
|
|
11
|
-
* Test whether an object is usable as a Node
|
|
12
|
-
* @public
|
|
13
|
-
* @remarks In TypeScript this is a type guard that will narrow the type of whatever you pass in to Node if it returns true
|
|
14
|
-
* @param element - The element to test
|
|
15
|
-
* @returns A boolean indicating whether the element is an Node
|
|
16
|
-
*/
|
|
17
|
-
export declare const isNodeBase: <NodeType extends NodeBase = NodeBase>(element: any) => element is NodeType;
|
|
18
|
-
export declare const isInternalNodeBase: <NodeType extends InternalNodeBase = InternalNodeBase>(element: any) => element is NodeType;
|
|
19
|
-
/**
|
|
20
|
-
* This util is used to tell you what nodes, if any, are connected to the given node
|
|
21
|
-
* as the _target_ of an edge.
|
|
22
|
-
* @public
|
|
23
|
-
* @param node - The node to get the connected nodes from.
|
|
24
|
-
* @param nodes - The array of all nodes.
|
|
25
|
-
* @param edges - The array of all edges.
|
|
26
|
-
* @returns An array of nodes that are connected over edges where the source is the given node.
|
|
27
|
-
*
|
|
28
|
-
* @example
|
|
29
|
-
* ```ts
|
|
30
|
-
*import { getOutgoers } from '@xyflow/react';
|
|
31
|
-
*
|
|
32
|
-
*const nodes = [];
|
|
33
|
-
*const edges = [];
|
|
34
|
-
*
|
|
35
|
-
*const outgoers = getOutgoers(
|
|
36
|
-
* { id: '1', position: { x: 0, y: 0 }, data: { label: 'node' } },
|
|
37
|
-
* nodes,
|
|
38
|
-
* edges,
|
|
39
|
-
*);
|
|
40
|
-
*```
|
|
41
|
-
*/
|
|
42
|
-
export declare const getOutgoers: <NodeType extends NodeBase = NodeBase, EdgeType extends EdgeBase = EdgeBase>(node: NodeType | {
|
|
43
|
-
id: string;
|
|
44
|
-
}, nodes: NodeType[], edges: EdgeType[]) => NodeType[];
|
|
45
|
-
/**
|
|
46
|
-
* This util is used to tell you what nodes, if any, are connected to the given node
|
|
47
|
-
* as the _source_ of an edge.
|
|
48
|
-
* @public
|
|
49
|
-
* @param node - The node to get the connected nodes from.
|
|
50
|
-
* @param nodes - The array of all nodes.
|
|
51
|
-
* @param edges - The array of all edges.
|
|
52
|
-
* @returns An array of nodes that are connected over edges where the target is the given node.
|
|
53
|
-
*
|
|
54
|
-
* @example
|
|
55
|
-
* ```ts
|
|
56
|
-
*import { getIncomers } from '@xyflow/react';
|
|
57
|
-
*
|
|
58
|
-
*const nodes = [];
|
|
59
|
-
*const edges = [];
|
|
60
|
-
*
|
|
61
|
-
*const incomers = getIncomers(
|
|
62
|
-
* { id: '1', position: { x: 0, y: 0 }, data: { label: 'node' } },
|
|
63
|
-
* nodes,
|
|
64
|
-
* edges,
|
|
65
|
-
*);
|
|
66
|
-
*```
|
|
67
|
-
*/
|
|
68
|
-
export declare const getIncomers: <NodeType extends NodeBase = NodeBase, EdgeType extends EdgeBase = EdgeBase>(node: NodeType | {
|
|
69
|
-
id: string;
|
|
70
|
-
}, nodes: NodeType[], edges: EdgeType[]) => NodeType[];
|
|
71
|
-
export declare const getNodePositionWithOrigin: (node: NodeBase, nodeOrigin?: NodeOrigin) => XYPosition;
|
|
72
|
-
export type GetNodesBoundsParams<NodeType extends NodeBase = NodeBase> = {
|
|
73
|
-
/**
|
|
74
|
-
* Origin of the nodes: `[0, 0]` for top-left, `[0.5, 0.5]` for center.
|
|
75
|
-
* @default [0, 0]
|
|
76
|
-
*/
|
|
77
|
-
nodeOrigin?: NodeOrigin;
|
|
78
|
-
nodeLookup?: NodeLookup<InternalNodeBase<NodeType>>;
|
|
79
|
-
};
|
|
80
|
-
/**
|
|
81
|
-
* Returns the bounding box that contains all the given nodes in an array. This can
|
|
82
|
-
* be useful when combined with [`getViewportForBounds`](/api-reference/utils/get-viewport-for-bounds)
|
|
83
|
-
* to calculate the correct transform to fit the given nodes in a viewport.
|
|
84
|
-
* @public
|
|
85
|
-
* @remarks Useful when combined with {@link getViewportForBounds} to calculate the correct transform to fit the given nodes in a viewport.
|
|
86
|
-
* @param nodes - Nodes to calculate the bounds for.
|
|
87
|
-
* @returns Bounding box enclosing all nodes.
|
|
88
|
-
*
|
|
89
|
-
* @remarks This function was previously called `getRectOfNodes`
|
|
90
|
-
*
|
|
91
|
-
* @example
|
|
92
|
-
* ```js
|
|
93
|
-
*import { getNodesBounds } from '@xyflow/react';
|
|
94
|
-
*
|
|
95
|
-
*const nodes = [
|
|
96
|
-
* {
|
|
97
|
-
* id: 'a',
|
|
98
|
-
* position: { x: 0, y: 0 },
|
|
99
|
-
* data: { label: 'a' },
|
|
100
|
-
* width: 50,
|
|
101
|
-
* height: 25,
|
|
102
|
-
* },
|
|
103
|
-
* {
|
|
104
|
-
* id: 'b',
|
|
105
|
-
* position: { x: 100, y: 100 },
|
|
106
|
-
* data: { label: 'b' },
|
|
107
|
-
* width: 50,
|
|
108
|
-
* height: 25,
|
|
109
|
-
* },
|
|
110
|
-
*];
|
|
111
|
-
*
|
|
112
|
-
*const bounds = getNodesBounds(nodes);
|
|
113
|
-
*```
|
|
114
|
-
*/
|
|
115
|
-
export declare const getNodesBounds: <NodeType extends NodeBase = NodeBase>(nodes: (NodeType | InternalNodeBase<NodeType> | string)[], params?: GetNodesBoundsParams<NodeType>) => Rect;
|
|
116
|
-
export type GetInternalNodesBoundsParams<NodeType> = {
|
|
117
|
-
useRelativePosition?: boolean;
|
|
118
|
-
filter?: (node: NodeType) => boolean;
|
|
119
|
-
};
|
|
120
|
-
/**
|
|
121
|
-
* Determines a bounding box that contains all given nodes in an array
|
|
122
|
-
* @internal
|
|
123
|
-
*/
|
|
124
|
-
export declare const getInternalNodesBounds: <NodeType extends InternalNodeBase | NodeDragItem>(nodeLookup: Map<string, NodeType>, params?: GetInternalNodesBoundsParams<NodeType>) => Rect;
|
|
125
|
-
export declare const getNodesInside: <NodeType extends NodeBase = NodeBase>(nodes: Map<string, InternalNodeBase<NodeType>>, rect: Rect, [tx, ty, tScale]?: Transform, partially?: boolean, excludeNonSelectableNodes?: boolean) => InternalNodeBase<NodeType>[];
|
|
126
|
-
/**
|
|
127
|
-
* This utility filters an array of edges, keeping only those where either the source or target
|
|
128
|
-
* node is present in the given array of nodes.
|
|
129
|
-
* @public
|
|
130
|
-
* @param nodes - Nodes you want to get the connected edges for.
|
|
131
|
-
* @param edges - All edges.
|
|
132
|
-
* @returns Array of edges that connect any of the given nodes with each other.
|
|
133
|
-
*
|
|
134
|
-
* @example
|
|
135
|
-
* ```js
|
|
136
|
-
*import { getConnectedEdges } from '@xyflow/react';
|
|
137
|
-
*
|
|
138
|
-
*const nodes = [
|
|
139
|
-
* { id: 'a', position: { x: 0, y: 0 } },
|
|
140
|
-
* { id: 'b', position: { x: 100, y: 0 } },
|
|
141
|
-
*];
|
|
142
|
-
*
|
|
143
|
-
*const edges = [
|
|
144
|
-
* { id: 'a->c', source: 'a', target: 'c' },
|
|
145
|
-
* { id: 'c->d', source: 'c', target: 'd' },
|
|
146
|
-
*];
|
|
147
|
-
*
|
|
148
|
-
*const connectedEdges = getConnectedEdges(nodes, edges);
|
|
149
|
-
* // => [{ id: 'a->c', source: 'a', target: 'c' }]
|
|
150
|
-
*```
|
|
151
|
-
*/
|
|
152
|
-
export declare const getConnectedEdges: <NodeType extends NodeBase = NodeBase, EdgeType extends EdgeBase = EdgeBase>(nodes: NodeType[], edges: EdgeType[]) => EdgeType[];
|
|
153
|
-
export declare function fitViewport<Params extends FitViewParamsBase<NodeBase>, Options extends FitViewOptionsBase<NodeBase>>({ nodes, width, height, panZoom, minZoom, maxZoom }: Params, options?: Omit<Options, 'nodes' | 'includeHiddenNodes'>): Promise<boolean>;
|
|
154
|
-
/**
|
|
155
|
-
* This function calculates the next position of a node, taking into account the node's extent, parent node, and origin.
|
|
156
|
-
*
|
|
157
|
-
* @internal
|
|
158
|
-
* @returns position, positionAbsolute
|
|
159
|
-
*/
|
|
160
|
-
export declare function calculateNodePosition<NodeType extends NodeBase>({ nodeId, nextPosition, nodeLookup, nodeOrigin, nodeExtent, onError, }: {
|
|
161
|
-
nodeId: string;
|
|
162
|
-
nextPosition: XYPosition;
|
|
163
|
-
nodeLookup: NodeLookup<InternalNodeBase<NodeType>>;
|
|
164
|
-
nodeOrigin?: NodeOrigin;
|
|
165
|
-
nodeExtent?: CoordinateExtent;
|
|
166
|
-
onError?: OnError;
|
|
167
|
-
}): {
|
|
168
|
-
position: XYPosition;
|
|
169
|
-
positionAbsolute: XYPosition;
|
|
170
|
-
};
|
|
171
|
-
/**
|
|
172
|
-
* Pass in nodes & edges to delete, get arrays of nodes and edges that actually can be deleted
|
|
173
|
-
* @internal
|
|
174
|
-
* @param param.nodesToRemove - The nodes to remove
|
|
175
|
-
* @param param.edgesToRemove - The edges to remove
|
|
176
|
-
* @param param.nodes - All nodes
|
|
177
|
-
* @param param.edges - All edges
|
|
178
|
-
* @param param.onBeforeDelete - Callback to check which nodes and edges can be deleted
|
|
179
|
-
* @returns nodes: nodes that can be deleted, edges: edges that can be deleted
|
|
180
|
-
*/
|
|
181
|
-
export declare function getElementsToRemove<NodeType extends NodeBase = NodeBase, EdgeType extends EdgeBase = EdgeBase>({ nodesToRemove, edgesToRemove, nodes, edges, onBeforeDelete, }: {
|
|
182
|
-
nodesToRemove: Partial<NodeType>[];
|
|
183
|
-
edgesToRemove: Partial<EdgeType>[];
|
|
184
|
-
nodes: NodeType[];
|
|
185
|
-
edges: EdgeType[];
|
|
186
|
-
onBeforeDelete?: OnBeforeDeleteBase<NodeType, EdgeType>;
|
|
187
|
-
}): Promise<{
|
|
188
|
-
nodes: NodeType[];
|
|
189
|
-
edges: EdgeType[];
|
|
190
|
-
}>;
|
|
191
|
-
//# sourceMappingURL=graph.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"graph.d.ts","sourceRoot":"","sources":["../../../src/utils/graph.ts"],"names":[],"mappings":"AAcA,OAAO,EACL,KAAK,SAAS,EACd,KAAK,UAAU,EACf,KAAK,IAAI,EACT,KAAK,UAAU,EACf,KAAK,QAAQ,EACb,KAAK,QAAQ,EACb,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,gBAAgB,EAChB,OAAO,EACP,kBAAkB,EAClB,UAAU,EACV,gBAAgB,EAChB,YAAY,EACb,MAAM,UAAU,CAAC;AAGlB;;;;;;GAMG;AACH,eAAO,MAAM,UAAU,GAAI,QAAQ,SAAS,QAAQ,GAAG,QAAQ,EAAE,SAAS,GAAG,KAAG,OAAO,IAAI,QAC5B,CAAC;AAEhE;;;;;;GAMG;A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AO,CAAC,OAAO,CAAC,CAyBlB;AAED;;;;;GAKG;AACH,wBAAgB,qBAAqB,CAAC,QAAQ,SAAS,QAAQ,EAAE,EAC/D,MAAM,EACN,YAAY,EACZ,UAAU,EACV,UAAmB,EACnB,UAAU,EACV,OAAO,GACR,EAAE;IACD,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,UAAU,CAAC;IACzB,UAAU,EAAE,UAAU,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAC,CAAC;IACnD,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG;IAAE,QAAQ,EAAE,UAAU,CAAC;IAAC,gBAAgB,EAAE,UAAU,CAAA;CAAE,CA4CzD;AAED;;;;;;;;;GASG;AACH,wBAAsB,mBAAmB,CAAC,QAAQ,SAAS,QAAQ,GAAG,QAAQ,EAAE,QAAQ,SAAS,QAAQ,GAAG,QAAQ,EAAE,EACpH,aAAkB,EAClB,aAAkB,EAClB,KAAK,EACL,KAAK,EACL,cAAc,GACf,EAAE;IACD,aAAa,EAAE,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAC;IACnC,aAAa,EAAE,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAC;IACnC,KAAK,EAAE,QAAQ,EAAE,CAAC;IAClB,KAAK,EAAE,QAAQ,EAAE,CAAC;IAClB,cAAc,CAAC,EAAE,kBAAkB,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;CACzD,GAAG,OAAO,CAAC;IACV,KAAK,EAAE,QAAQ,EAAE,CAAC;IAClB,KAAK,EAAE,QAAQ,EAAE,CAAC;CACnB,CAAC,CA+CD"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export * from './connections';
|
|
2
|
-
export * from './dom';
|
|
3
|
-
export * from './edges';
|
|
4
|
-
export * from './graph';
|
|
5
|
-
export * from './general';
|
|
6
|
-
export * from './marker';
|
|
7
|
-
export * from './node-toolbar';
|
|
8
|
-
export * from './edge-toolbar';
|
|
9
|
-
export * from './store';
|
|
10
|
-
export * from './types';
|
|
11
|
-
export * from './shallow-node-data';
|
|
12
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,OAAO,CAAC;AACtB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,qBAAqB,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { EdgeBase, EdgeMarkerType, MarkerProps } from '../types';
|
|
2
|
-
export declare function getMarkerId(marker: EdgeMarkerType | undefined, id?: string | null): string;
|
|
3
|
-
export declare function createMarkerIds(edges: EdgeBase[], { id, defaultColor, defaultMarkerStart, defaultMarkerEnd, }: {
|
|
4
|
-
id?: string | null;
|
|
5
|
-
defaultColor?: string | null;
|
|
6
|
-
defaultMarkerStart?: EdgeMarkerType;
|
|
7
|
-
defaultMarkerEnd?: EdgeMarkerType;
|
|
8
|
-
}): MarkerProps[];
|
|
9
|
-
//# sourceMappingURL=marker.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"marker.d.ts","sourceRoot":"","sources":["../../../src/utils/marker.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAc,cAAc,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAElF,wBAAgB,WAAW,CAAC,MAAM,EAAE,cAAc,GAAG,SAAS,EAAE,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM,CAe1F;AAED,wBAAgB,eAAe,CAC7B,KAAK,EAAE,QAAQ,EAAE,EACjB,EACE,EAAE,EACF,YAAY,EACZ,kBAAkB,EAClB,gBAAgB,GACjB,EAAE;IACD,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,kBAAkB,CAAC,EAAE,cAAc,CAAC;IACpC,gBAAgB,CAAC,EAAE,cAAc,CAAC;CACnC,iBAmBF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"node-toolbar.d.ts","sourceRoot":"","sources":["../../../src/utils/node-toolbar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,KAAK,IAAI,EAAE,KAAK,QAAQ,EAAE,KAAK,KAAK,EAAE,MAAM,KAAK,CAAC;AAErE,wBAAgB,uBAAuB,CACrC,QAAQ,EAAE,IAAI,EACd,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,QAAQ,EAClB,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,KAAK,GACX,MAAM,CA0CR"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { NodeBase } from '../types';
|
|
2
|
-
type NodeData = Pick<NodeBase, 'id' | 'type' | 'data'>;
|
|
3
|
-
export declare function shallowNodeData(a: NodeData | NodeData[] | null, b: NodeData | NodeData[] | null): boolean;
|
|
4
|
-
export {};
|
|
5
|
-
//# sourceMappingURL=shallow-node-data.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"shallow-node-data.d.ts","sourceRoot":"","sources":["../../../src/utils/shallow-node-data.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEpC,KAAK,QAAQ,GAAG,IAAI,CAAC,QAAQ,EAAE,IAAI,GAAG,MAAM,GAAG,MAAM,CAAC,CAAC;AAEvD,wBAAgB,eAAe,CAAC,CAAC,EAAE,QAAQ,GAAG,QAAQ,EAAE,GAAG,IAAI,EAAE,CAAC,EAAE,QAAQ,GAAG,QAAQ,EAAE,GAAG,IAAI,WAmB/F"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { ZIndexMode } from '..';
|
|
2
|
-
import { NodeBase, CoordinateExtent, InternalNodeUpdate, NodeOrigin, PanZoomInstance, Transform, XYPosition, ConnectionLookup, EdgeBase, EdgeLookup, InternalNodeBase, NodeLookup, NodeDimensionChange, NodePositionChange, ParentLookup } from '../types';
|
|
3
|
-
import { ParentExpandChild } from './types';
|
|
4
|
-
export declare function updateAbsolutePositions<NodeType extends NodeBase>(nodeLookup: NodeLookup<InternalNodeBase<NodeType>>, parentLookup: ParentLookup<InternalNodeBase<NodeType>>, options?: UpdateNodesOptions<NodeType>): void;
|
|
5
|
-
type UpdateNodesOptions<NodeType extends NodeBase> = {
|
|
6
|
-
nodeOrigin?: NodeOrigin;
|
|
7
|
-
nodeExtent?: CoordinateExtent;
|
|
8
|
-
elevateNodesOnSelect?: boolean;
|
|
9
|
-
defaults?: Partial<NodeType>;
|
|
10
|
-
zIndexMode?: ZIndexMode;
|
|
11
|
-
checkEquality?: boolean;
|
|
12
|
-
};
|
|
13
|
-
export declare function isManualZIndexMode(zIndexMode?: ZIndexMode): boolean;
|
|
14
|
-
type AdoptUserNodesReturn = {
|
|
15
|
-
nodesInitialized: boolean;
|
|
16
|
-
hasSelectedNodes: boolean;
|
|
17
|
-
};
|
|
18
|
-
export declare function adoptUserNodes<NodeType extends NodeBase>(nodes: NodeType[], nodeLookup: NodeLookup<InternalNodeBase<NodeType>>, parentLookup: ParentLookup<InternalNodeBase<NodeType>>, options?: UpdateNodesOptions<NodeType>): AdoptUserNodesReturn;
|
|
19
|
-
export declare function handleExpandParent(children: ParentExpandChild[], nodeLookup: NodeLookup, parentLookup: ParentLookup, nodeOrigin?: NodeOrigin): (NodeDimensionChange | NodePositionChange)[];
|
|
20
|
-
export declare function updateNodeInternals<NodeType extends InternalNodeBase>(updates: Map<string, InternalNodeUpdate>, nodeLookup: NodeLookup<NodeType>, parentLookup: ParentLookup<NodeType>, domNode: HTMLElement | null, nodeOrigin?: NodeOrigin, nodeExtent?: CoordinateExtent, zIndexMode?: ZIndexMode): {
|
|
21
|
-
changes: (NodeDimensionChange | NodePositionChange)[];
|
|
22
|
-
updatedInternals: boolean;
|
|
23
|
-
};
|
|
24
|
-
export declare function panBy({ delta, panZoom, transform, translateExtent, width, height, }: {
|
|
25
|
-
delta: XYPosition;
|
|
26
|
-
panZoom: PanZoomInstance | null;
|
|
27
|
-
transform: Transform;
|
|
28
|
-
translateExtent: CoordinateExtent;
|
|
29
|
-
width: number;
|
|
30
|
-
height: number;
|
|
31
|
-
}): Promise<boolean>;
|
|
32
|
-
export declare function updateConnectionLookup(connectionLookup: ConnectionLookup, edgeLookup: EdgeLookup, edges: EdgeBase[]): void;
|
|
33
|
-
export {};
|
|
34
|
-
//# sourceMappingURL=store.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../src/utils/store.ts"],"names":[],"mappings":"AAAA,OAAO,EAA8D,UAAU,EAAE,MAAM,IAAI,CAAC;AAC5F,OAAO,EACL,QAAQ,EACR,gBAAgB,EAChB,kBAAkB,EAClB,UAAU,EACV,eAAe,EACf,SAAS,EACT,UAAU,EACV,gBAAgB,EAChB,QAAQ,EACR,UAAU,EACV,gBAAgB,EAChB,UAAU,EAEV,mBAAmB,EACnB,kBAAkB,EAClB,YAAY,EACb,MAAM,UAAU,CAAC;AAYlB,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AA8B5C,wBAAgB,uBAAuB,CAAC,QAAQ,SAAS,QAAQ,EAC/D,UAAU,EAAE,UAAU,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAC,EAClD,YAAY,EAAE,YAAY,CAAC,gBAAgB,CAAC,QAAQ,CAAC,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W,GAAG,IAAI,EAC3B,UAAU,CAAC,EAAE,UAAU,EACvB,UAAU,CAAC,EAAE,gBAAgB,EAC7B,UAAU,CAAC,EAAE,UAAU,GACtB;IAAE,OAAO,EAAE,CAAC,mBAAmB,GAAG,kBAAkB,CAAC,EAAE,CAAC;IAAC,gBAAgB,EAAE,OAAO,CAAA;CAAE,CAgGtF;AAED,wBAAsB,KAAK,CAAC,EAC1B,KAAK,EACL,OAAO,EACP,SAAS,EACT,eAAe,EACf,KAAK,EACL,MAAM,GACP,EAAE;IACD,KAAK,EAAE,UAAU,CAAC;IAClB,OAAO,EAAE,eAAe,GAAG,IAAI,CAAC;IAChC,SAAS,EAAE,SAAS,CAAC;IACrB,eAAe,EAAE,gBAAgB,CAAC;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB,GAAG,OAAO,CAAC,OAAO,CAAC,CAuBnB;AAwCD,wBAAgB,sBAAsB,CAAC,gBAAgB,EAAE,gBAAgB,EAAE,UAAU,EAAE,UAAU,EAAE,KAAK,EAAE,QAAQ,EAAE,QAgBnH"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/utils/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAEhC,MAAM,MAAM,QAAQ,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,IAAI,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AAE9E,MAAM,MAAM,iBAAiB,GAAG;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,IAAI,CAAA;CAAE,CAAC"}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import type { NodeBase, NodeDragItem, EdgeBase, CoordinateExtent, NodeOrigin, OnError, SnapGrid, Transform, PanBy, OnSelectionDrag, UpdateNodePositions, InternalNodeBase } from '../types';
|
|
2
|
-
export type OnDrag = (event: MouseEvent, dragItems: Map<string, NodeDragItem>, node: NodeBase, nodes: NodeBase[]) => void;
|
|
3
|
-
type StoreItems<OnNodeDrag> = {
|
|
4
|
-
nodes: NodeBase[];
|
|
5
|
-
nodeLookup: Map<string, InternalNodeBase>;
|
|
6
|
-
edges: EdgeBase[];
|
|
7
|
-
nodeExtent: CoordinateExtent;
|
|
8
|
-
snapGrid: SnapGrid;
|
|
9
|
-
snapToGrid: boolean;
|
|
10
|
-
nodeOrigin: NodeOrigin;
|
|
11
|
-
multiSelectionActive: boolean;
|
|
12
|
-
domNode?: Element | null;
|
|
13
|
-
transform: Transform;
|
|
14
|
-
autoPanOnNodeDrag: boolean;
|
|
15
|
-
nodesDraggable: boolean;
|
|
16
|
-
selectNodesOnDrag: boolean;
|
|
17
|
-
nodeDragThreshold: number;
|
|
18
|
-
panBy: PanBy;
|
|
19
|
-
unselectNodesAndEdges: (params?: {
|
|
20
|
-
nodes?: NodeBase[];
|
|
21
|
-
edges?: EdgeBase[];
|
|
22
|
-
}) => void;
|
|
23
|
-
onError?: OnError;
|
|
24
|
-
onNodeDragStart?: OnNodeDrag;
|
|
25
|
-
onNodeDrag?: OnNodeDrag;
|
|
26
|
-
onNodeDragStop?: OnNodeDrag;
|
|
27
|
-
onSelectionDragStart?: OnSelectionDrag;
|
|
28
|
-
onSelectionDrag?: OnSelectionDrag;
|
|
29
|
-
onSelectionDragStop?: OnSelectionDrag;
|
|
30
|
-
updateNodePositions: UpdateNodePositions;
|
|
31
|
-
autoPanSpeed?: number;
|
|
32
|
-
};
|
|
33
|
-
export type XYDragParams<OnNodeDrag> = {
|
|
34
|
-
getStoreItems: () => StoreItems<OnNodeDrag>;
|
|
35
|
-
onDragStart?: OnDrag;
|
|
36
|
-
onDrag?: OnDrag;
|
|
37
|
-
onDragStop?: OnDrag;
|
|
38
|
-
onNodeMouseDown?: (id: string) => void;
|
|
39
|
-
autoPanSpeed?: number;
|
|
40
|
-
};
|
|
41
|
-
export type XYDragInstance = {
|
|
42
|
-
update: (params: DragUpdateParams) => void;
|
|
43
|
-
destroy: () => void;
|
|
44
|
-
};
|
|
45
|
-
export type DragUpdateParams = {
|
|
46
|
-
noDragClassName?: string;
|
|
47
|
-
handleSelector?: string;
|
|
48
|
-
isSelectable?: boolean;
|
|
49
|
-
nodeId?: string;
|
|
50
|
-
domNode: Element;
|
|
51
|
-
nodeClickDistance?: number;
|
|
52
|
-
};
|
|
53
|
-
export declare function XYDrag<OnNodeDrag extends (e: any, nodes: any, node: any) => void | undefined>({ onNodeMouseDown, getStoreItems, onDragStart, onDrag, onDragStop, }: XYDragParams<OnNodeDrag>): XYDragInstance;
|
|
54
|
-
export {};
|
|
55
|
-
//# sourceMappingURL=XYDrag.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"XYDrag.d.ts","sourceRoot":"","sources":["../../../src/xydrag/XYDrag.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EACV,QAAQ,EACR,YAAY,EAGZ,QAAQ,EACR,gBAAgB,EAChB,UAAU,EACV,OAAO,EACP,QAAQ,EACR,SAAS,EACT,KAAK,EACL,eAAe,EACf,mBAAmB,EACnB,gBAAgB,EACjB,MAAM,UAAU,CAAC;AAElB,MAAM,MAAM,MAAM,GAAG,CACnB,KAAK,EAAE,UAAU,EACjB,SAAS,EAAE,GAAG,CAAC,MAAM,EAAE,YAAY,CAAC,EACpC,IAAI,EAAE,QAAQ,EACd,KAAK,EAAE,QAAQ,EAAE,KACd,IAAI,CAAC;AAEV,KAAK,UAAU,CAAC,UAAU,IAAI;IAC5B,KAAK,EAAE,QAAQ,EAAE,CAAC;IAClB,UAAU,EAAE,GAAG,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC;IAC1C,KAAK,EAAE,QAAQ,EAAE,CAAC;IAClB,UAAU,EAAE,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3B,MAAM,EAAE,CAAC,MAAM,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAC3C,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,OAAO,CAAC;IACjB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B,CAAC;AAGF,wBAAgB,MAAM,CAAC,UAAU,SAAS,CAAC,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,KAAK,IAAI,GAAG,SAAS,EAAE,EAC7F,eAAe,EACf,aAAa,EACb,WAAW,EACX,MAAM,EACN,UAAU,GACX,EAAE,YAAY,CAAC,UAAU,CAAC,GAAG,cAAc,CAyT3C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/xydrag/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { type NodeDragItem, type XYPosition, InternalNodeBase, NodeBase, NodeLookup, SnapGrid } from '../types';
|
|
2
|
-
export declare function isParentSelected<NodeType extends NodeBase>(node: NodeType, nodeLookup: NodeLookup): boolean;
|
|
3
|
-
export declare function hasSelector(target: Element | EventTarget | null, selector: string, domNode: Element): boolean;
|
|
4
|
-
export declare function getDragItems<NodeType extends NodeBase>(nodeLookup: Map<string, InternalNodeBase<NodeType>>, nodesDraggable: boolean, mousePos: XYPosition, nodeId?: string): Map<string, NodeDragItem>;
|
|
5
|
-
export declare function getEventHandlerParams<NodeType extends InternalNodeBase>({ nodeId, dragItems, nodeLookup, dragging, }: {
|
|
6
|
-
nodeId?: string;
|
|
7
|
-
dragItems: Map<string, NodeDragItem>;
|
|
8
|
-
nodeLookup: Map<string, NodeType>;
|
|
9
|
-
dragging?: boolean;
|
|
10
|
-
}): [NodeBase, NodeBase[]];
|
|
11
|
-
/**
|
|
12
|
-
* If a selection is being dragged we want to apply the same snap offset to all nodes in the selection.
|
|
13
|
-
* This function calculates the snap offset based on the first node in the selection.
|
|
14
|
-
*/
|
|
15
|
-
export declare function calculateSnapOffset({ dragItems, snapGrid, x, y, }: {
|
|
16
|
-
dragItems: Map<string, NodeDragItem>;
|
|
17
|
-
snapGrid: SnapGrid;
|
|
18
|
-
x: number;
|
|
19
|
-
y: number;
|
|
20
|
-
}): {
|
|
21
|
-
x: number;
|
|
22
|
-
y: number;
|
|
23
|
-
} | null;
|
|
24
|
-
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/xydrag/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,UAAU,EAAE,gBAAgB,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAGhH,wBAAgB,gBAAgB,CAAC,QAAQ,SAAS,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,UAAU,GAAG,OAAO,CAgB3G;AAED,wBAAgB,WAAW,CAAC,MAAM,EAAE,OAAO,GAAG,WAAW,GAAG,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,OAAO,CAU7G;AAGD,wBAAgB,YAAY,CAAC,QAAQ,SAAS,QAAQ,EACpD,UAAU,EAAE,GAAG,CAAC,MAAM,EAAE,gBAAgB,CAAC,QAAQ,CAAC,CAAC,EACnD,cAAc,EAAE,OAAO,EACvB,QAAQ,EAAE,UAAU,EACpB,MAAM,CAAC,EAAE,MAAM,GACd,GAAG,CAAC,MAAM,EAAE,YAAY,CAAC,CAoC3B;AAOD,wBAAgB,qBAAqB,CAAC,QAAQ,SAAS,gBAAgB,EAAE,EACvE,MAAM,EACN,SAAS,EACT,UAAU,EACV,QAAe,GAChB,EAAE;IACD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,GAAG,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;IACrC,UAAU,EAAE,GAAG,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,CAAC,QAAQ,EAAE,QAAQ,EAAE,CAAC,CA+BzB;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,EAClC,SAAS,EACT,QAAQ,EACR,CAAC,EACD,CAAC,GACF,EAAE;IACD,SAAS,EAAE,GAAG,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;IACrC,QAAQ,EAAE,QAAQ,CAAC;IACnB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX;;;SAiBA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"XYHandle.d.ts","sourceRoot":"","sources":["../../../src/xyhandle/XYHandle.ts"],"names":[],"mappings":"AAkBA,OAAO,EAA8C,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAuTvF,eAAO,MAAM,QAAQ,EAAE,gBAGtB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/xyhandle/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { ConnectionMode, type Connection, type OnConnect, type OnConnectStart, type HandleType, type PanBy, type Transform, type Handle, type OnConnectEnd, type UpdateConnection, type IsValidConnection, NodeLookup, FinalConnectionState } from '../types';
|
|
2
|
-
export type OnPointerDownParams = {
|
|
3
|
-
autoPanOnConnect: boolean;
|
|
4
|
-
connectionMode: ConnectionMode;
|
|
5
|
-
connectionRadius: number;
|
|
6
|
-
domNode: HTMLDivElement | null;
|
|
7
|
-
handleId: string | null;
|
|
8
|
-
nodeId: string;
|
|
9
|
-
isTarget: boolean;
|
|
10
|
-
nodeLookup: NodeLookup;
|
|
11
|
-
lib: string;
|
|
12
|
-
flowId: string | null;
|
|
13
|
-
edgeUpdaterType?: HandleType;
|
|
14
|
-
updateConnection: UpdateConnection;
|
|
15
|
-
panBy: PanBy;
|
|
16
|
-
cancelConnection: () => void;
|
|
17
|
-
onConnectStart?: OnConnectStart;
|
|
18
|
-
onConnect?: OnConnect;
|
|
19
|
-
onConnectEnd?: OnConnectEnd;
|
|
20
|
-
isValidConnection?: IsValidConnection;
|
|
21
|
-
onReconnectEnd?: (evt: MouseEvent | TouchEvent, connectionState: FinalConnectionState) => void;
|
|
22
|
-
onConnectionTargetChange?: (nodeId: string | null) => void;
|
|
23
|
-
getTransform: () => Transform;
|
|
24
|
-
getFromHandle: () => Handle | null;
|
|
25
|
-
autoPanSpeed?: number;
|
|
26
|
-
dragThreshold?: number;
|
|
27
|
-
handleDomNode: Element;
|
|
28
|
-
};
|
|
29
|
-
export type IsValidParams = {
|
|
30
|
-
handle: Pick<Handle, 'nodeId' | 'id' | 'type'> | null;
|
|
31
|
-
connectionMode: ConnectionMode;
|
|
32
|
-
fromNodeId: string;
|
|
33
|
-
fromHandleId: string | null;
|
|
34
|
-
fromType: HandleType;
|
|
35
|
-
isValidConnection?: IsValidConnection;
|
|
36
|
-
doc: Document | ShadowRoot;
|
|
37
|
-
lib: string;
|
|
38
|
-
flowId: string | null;
|
|
39
|
-
nodeLookup: NodeLookup;
|
|
40
|
-
};
|
|
41
|
-
export type XYHandleInstance = {
|
|
42
|
-
onPointerDown: (event: MouseEvent | TouchEvent, params: OnPointerDownParams) => void;
|
|
43
|
-
isValid: (event: MouseEvent | TouchEvent, params: IsValidParams) => Result;
|
|
44
|
-
};
|
|
45
|
-
export type Result = {
|
|
46
|
-
handleDomNode: Element | null;
|
|
47
|
-
isValid: boolean;
|
|
48
|
-
connection: Connection | null;
|
|
49
|
-
toHandle: Handle | null;
|
|
50
|
-
};
|
|
51
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/xyhandle/types.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,KAAK,UAAU,EACf,KAAK,SAAS,EACd,KAAK,cAAc,EACnB,KAAK,UAAU,EACf,KAAK,KAAK,EACV,KAAK,SAAS,EACd,KAAK,MAAM,EACX,KAAK,YAAY,EACjB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,UAAU,EACV,oBAAoB,EACrB,MAAM,UAAU,CAAC;AAElB,MAAM,MAAM,mBAAmB,GAAG;IAChC,gBAAgB,EAAE,OAAO,CAAC;IAC1B,cAAc,EAAE,cAAc,CAAC;IAC/B,gBAAgB,EAAE,MAAM,CAAC;IACzB,OAAO,EAAE,cAAc,GAAG,IAAI,CAAC;IAC/B,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,UAAU,CAAC;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,eAAe,CAAC,EAAE,UAAU,CAAC;IAC7B,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,KAAK,EAAE,KAAK,CAAC;IACb,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IACtC,cAAc,CAAC,EAAE,CAAC,GAAG,EAAE,UAAU,GAAG,UAAU,EAAE,eAAe,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@ -1,29 +0,0 @@
|
|
|
1
|
-
import type { HandleType, XYPosition, Handle, NodeLookup, ConnectionMode } from '../types';
|
|
2
|
-
export declare function getClosestHandle(position: XYPosition, connectionRadius: number, nodeLookup: NodeLookup, fromHandle: {
|
|
3
|
-
nodeId: string;
|
|
4
|
-
type: HandleType;
|
|
5
|
-
id?: string | null;
|
|
6
|
-
}): Handle | null;
|
|
7
|
-
/**
|
|
8
|
-
* Stage 2 drop-target resolver for connection drags.
|
|
9
|
-
*
|
|
10
|
-
* Called when Stage 1 (`getClosestHandle`) returns null. Finds a node whose bounding
|
|
11
|
-
* rectangle contains the pointer and has at least one compatible floating handle, then
|
|
12
|
-
* returns the best floating handle on that node.
|
|
13
|
-
*
|
|
14
|
-
* Disambiguation when multiple floating handles exist on the same node:
|
|
15
|
-
* - If a handle's declared position matches the pointer's side of the node, that handle wins.
|
|
16
|
-
* - Otherwise, fall back to iteration order.
|
|
17
|
-
*
|
|
18
|
-
* Does not apply per-handle `isValidConnection` validation — that is the caller's
|
|
19
|
-
* responsibility. If the validator rejects, the caller returns null (no cascade).
|
|
20
|
-
*/
|
|
21
|
-
export declare function getFloatingDropTarget(position: XYPosition, nodeLookup: NodeLookup, fromHandle: {
|
|
22
|
-
nodeId: string;
|
|
23
|
-
type: HandleType;
|
|
24
|
-
id?: string | null;
|
|
25
|
-
}): Handle | null;
|
|
26
|
-
export declare function getHandle(nodeId: string, handleType: HandleType, handleId: string | null, nodeLookup: NodeLookup, connectionMode: ConnectionMode, withAbsolutePosition?: boolean): Handle | null;
|
|
27
|
-
export declare function getHandleType(edgeUpdaterType: HandleType | undefined, handleDomNode: Element | null): HandleType | null;
|
|
28
|
-
export declare function isConnectionValid(isInsideConnectionRadius: boolean, isHandleValid: boolean): boolean | null;
|
|
29
|
-
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/xyhandle/utils.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,EAAoB,UAAU,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AA2B7G,wBAAgB,gBAAgB,CAC9B,QAAQ,EAAE,UAAU,EACpB,gBAAgB,EAAE,MAAM,EACxB,UAAU,EAAE,UAAU,EACtB,UAAU,EAAE;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,UAAU,CAAC;IAAC,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,GACnE,MAAM,GAAG,IAAI,CA2Cf;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,qBAAqB,CACnC,QAAQ,EAAE,UAAU,EACpB,UAAU,EAAE,UAAU,EACtB,UAAU,EAAE;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,UAAU,CAAC;IAAC,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,GACnE,MAAM,GAAG,IAAI,CAmDf;AAED,wBAAgB,SAAS,CACvB,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,UAAU,EACtB,QAAQ,EAAE,MAAM,GAAG,IAAI,EACvB,UAAU,EAAE,UAAU,EACtB,cAAc,EAAE,cAAc,EAC9B,oBAAoB,UAAQ,GAC3B,MAAM,GAAG,IAAI,CAef;AAED,wBAAgB,aAAa,CAC3B,eAAe,EAAE,UAAU,GAAG,SAAS,EACvC,aAAa,EAAE,OAAO,GAAG,IAAI,GAC5B,UAAU,GAAG,IAAI,CAUnB;AAED,wBAAgB,iBAAiB,CAAC,wBAAwB,EAAE,OAAO,EAAE,aAAa,EAAE,OAAO,kBAU1F"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { pointer } from 'd3-selection';
|
|
2
|
-
import type { CoordinateExtent, PanZoomInstance, Transform } from '../types';
|
|
3
|
-
export type XYMinimapInstance = {
|
|
4
|
-
update: (params: XYMinimapUpdate) => void;
|
|
5
|
-
destroy: () => void;
|
|
6
|
-
pointer: typeof pointer;
|
|
7
|
-
};
|
|
8
|
-
export type XYMinimapParams = {
|
|
9
|
-
panZoom: PanZoomInstance;
|
|
10
|
-
domNode: Element;
|
|
11
|
-
getTransform: () => Transform;
|
|
12
|
-
getViewScale: () => number;
|
|
13
|
-
};
|
|
14
|
-
export type XYMinimapUpdate = {
|
|
15
|
-
translateExtent: CoordinateExtent;
|
|
16
|
-
width: number;
|
|
17
|
-
height: number;
|
|
18
|
-
inversePan?: boolean;
|
|
19
|
-
zoomStep?: number;
|
|
20
|
-
pannable?: boolean;
|
|
21
|
-
zoomable?: boolean;
|
|
22
|
-
};
|
|
23
|
-
export declare function XYMinimap({ domNode, panZoom, getTransform, getViewScale }: XYMinimapParams): {
|
|
24
|
-
update: ({ translateExtent, width, height, zoomStep, pannable, zoomable, inversePan, }: XYMinimapUpdate) => void;
|
|
25
|
-
destroy: () => void;
|
|
26
|
-
pointer: typeof pointer;
|
|
27
|
-
};
|
|
28
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/xyminimap/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAU,OAAO,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,KAAK,EAAE,gBAAgB,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAG7E,MAAM,MAAM,iBAAiB,GAAG;IAC9B,MAAM,EAAE,CAAC,MAAM,EAAE,eAAe,KAAK,IAAI,CAAC;IAC1C,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,EAAE,OAAO,OAAO,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,OAAO,EAAE,eAAe,CAAC;IACzB,OAAO,EAAE,OAAO,CAAC;IACjB,YAAY,EAAE,MAAM,SAAS,CAAC;IAC9B,YAAY,EAAE,MAAM,MAAM,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,eAAe,EAAE,gBAAgB,CAAC;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,wBAAgB,SAAS,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,EAAE,eAAe;4FAWtF,eAAe;;;EAqFnB"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { type Viewport, PanZoomParams, PanZoomInstance } from '../types';
|
|
2
|
-
export type ZoomPanValues = {
|
|
3
|
-
isZoomingOrPanning: boolean;
|
|
4
|
-
usedRightMouseButton: boolean;
|
|
5
|
-
prevViewport: Viewport;
|
|
6
|
-
mouseButton: number;
|
|
7
|
-
timerId: ReturnType<typeof setTimeout> | undefined;
|
|
8
|
-
panScrollTimeout: ReturnType<typeof setTimeout> | undefined;
|
|
9
|
-
isPanScrolling: boolean;
|
|
10
|
-
};
|
|
11
|
-
export declare function XYPanZoom({ domNode, minZoom, maxZoom, translateExtent, viewport, onPanZoom, onPanZoomStart, onPanZoomEnd, onDraggingChange, }: PanZoomParams): PanZoomInstance;
|
|
12
|
-
//# sourceMappingURL=XYPanZoom.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"XYPanZoom.d.ts","sourceRoot":"","sources":["../../../src/xypanzoom/XYPanZoom.ts"],"names":[],"mappings":"AAIA,OAAO,EAEL,KAAK,QAAQ,EAGb,aAAa,EACb,eAAe,EAChB,MAAM,UAAU,CAAC;AAclB,MAAM,MAAM,aAAa,GAAG;IAC1B,kBAAkB,EAAE,OAAO,CAAC;IAC5B,oBAAoB,EAAE,OAAO,CAAC;IAC9B,YAAY,EAAE,QAAQ,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,UAAU,CAAC,OAAO,UAAU,CAAC,GAAG,SAAS,CAAC;IACnD,gBAAgB,EAAE,UAAU,CAAC,OAAO,UAAU,CAAC,GAAG,SAAS,CAAC;IAC5D,cAAc,EAAE,OAAO,CAAC;CACzB,CAAC;AAEF,wBAAgB,SAAS,CAAC,EACxB,OAAO,EACP,OAAO,EACP,OAAO,EACP,eAAe,EACf,QAAQ,EACR,SAAS,EACT,cAAc,EACd,YAAY,EACZ,gBAAgB,GACjB,EAAE,aAAa,GAAG,eAAe,CA+PjC"}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import type { D3ZoomEvent } from 'd3-zoom';
|
|
2
|
-
import { PanOnScrollMode, type D3SelectionInstance, type D3ZoomHandler, type D3ZoomInstance, type OnPanZoom, type OnDraggingChange, type OnTransformChange } from '../types';
|
|
3
|
-
import { ZoomPanValues } from './XYPanZoom';
|
|
4
|
-
export type PanOnScrollParams = {
|
|
5
|
-
zoomPanValues: ZoomPanValues;
|
|
6
|
-
noWheelClassName: string;
|
|
7
|
-
d3Selection: D3SelectionInstance;
|
|
8
|
-
d3Zoom: D3ZoomInstance;
|
|
9
|
-
panOnScrollMode: PanOnScrollMode;
|
|
10
|
-
panOnScrollSpeed: number;
|
|
11
|
-
zoomOnPinch: boolean;
|
|
12
|
-
onPanZoomStart?: OnPanZoom;
|
|
13
|
-
onPanZoom?: OnPanZoom;
|
|
14
|
-
onPanZoomEnd?: OnPanZoom;
|
|
15
|
-
};
|
|
16
|
-
export type ZoomOnScrollParams = {
|
|
17
|
-
noWheelClassName: string;
|
|
18
|
-
preventScrolling: boolean;
|
|
19
|
-
d3ZoomHandler: D3ZoomHandler;
|
|
20
|
-
};
|
|
21
|
-
export type PanZoomStartParams = {
|
|
22
|
-
zoomPanValues: ZoomPanValues;
|
|
23
|
-
onDraggingChange: OnDraggingChange;
|
|
24
|
-
onPanZoomStart?: OnPanZoom;
|
|
25
|
-
};
|
|
26
|
-
export type PanZoomParams = {
|
|
27
|
-
zoomPanValues: ZoomPanValues;
|
|
28
|
-
panOnDrag: boolean | number[];
|
|
29
|
-
onPaneContextMenu: boolean;
|
|
30
|
-
onTransformChange: OnTransformChange;
|
|
31
|
-
onPanZoom?: OnPanZoom;
|
|
32
|
-
};
|
|
33
|
-
export type PanZoomEndParams = {
|
|
34
|
-
zoomPanValues: ZoomPanValues;
|
|
35
|
-
panOnDrag: boolean | number[];
|
|
36
|
-
panOnScroll: boolean;
|
|
37
|
-
onDraggingChange: (isDragging: boolean) => void;
|
|
38
|
-
onPanZoomEnd?: OnPanZoom;
|
|
39
|
-
onPaneContextMenu?: (event: any) => void;
|
|
40
|
-
};
|
|
41
|
-
export declare function createPanOnScrollHandler({ zoomPanValues, noWheelClassName, d3Selection, d3Zoom, panOnScrollMode, panOnScrollSpeed, zoomOnPinch, onPanZoomStart, onPanZoom, onPanZoomEnd, }: PanOnScrollParams): (event: any) => false | undefined;
|
|
42
|
-
export declare function createZoomOnScrollHandler({ noWheelClassName, preventScrolling, d3ZoomHandler }: ZoomOnScrollParams): (this: Element, event: any, d: unknown) => null;
|
|
43
|
-
export declare function createPanZoomStartHandler({ zoomPanValues, onDraggingChange, onPanZoomStart }: PanZoomStartParams): (event: D3ZoomEvent<HTMLDivElement, any>) => void;
|
|
44
|
-
export declare function createPanZoomHandler({ zoomPanValues, panOnDrag, onPaneContextMenu, onTransformChange, onPanZoom, }: PanZoomParams): (event: D3ZoomEvent<HTMLDivElement, any>) => void;
|
|
45
|
-
export declare function createPanZoomEndHandler({ zoomPanValues, panOnDrag, panOnScroll, onDraggingChange, onPanZoomEnd, onPaneContextMenu, }: PanZoomEndParams): (event: D3ZoomEvent<HTMLDivElement, any>) => void;
|
|
46
|
-
//# sourceMappingURL=eventhandler.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"eventhandler.d.ts","sourceRoot":"","sources":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