wechen-agent-editor-v1 1.2.2 → 1.2.3
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 +31 -6
- package/package.json +5 -6
- package/node_modules/@types/d3-color/LICENSE +0 -21
- package/node_modules/@types/d3-color/README.md +0 -15
- package/node_modules/@types/d3-color/index.d.ts +0 -669
- package/node_modules/@types/d3-color/package.json +0 -55
- package/node_modules/@types/d3-drag/LICENSE +0 -21
- package/node_modules/@types/d3-drag/README.md +0 -15
- package/node_modules/@types/d3-drag/index.d.ts +0 -395
- package/node_modules/@types/d3-drag/package.json +0 -42
- package/node_modules/@types/d3-interpolate/LICENSE +0 -21
- package/node_modules/@types/d3-interpolate/README.md +0 -15
- package/node_modules/@types/d3-interpolate/index.d.ts +0 -387
- package/node_modules/@types/d3-interpolate/package.json +0 -47
- package/node_modules/@types/d3-selection/LICENSE +0 -21
- package/node_modules/@types/d3-selection/README.md +0 -15
- package/node_modules/@types/d3-selection/index.d.ts +0 -1173
- package/node_modules/@types/d3-selection/package.json +0 -50
- package/node_modules/@types/d3-transition/LICENSE +0 -21
- package/node_modules/@types/d3-transition/README.md +0 -15
- package/node_modules/@types/d3-transition/index.d.ts +0 -664
- package/node_modules/@types/d3-transition/package.json +0 -47
- package/node_modules/@types/d3-zoom/LICENSE +0 -21
- package/node_modules/@types/d3-zoom/README.md +0 -15
- package/node_modules/@types/d3-zoom/index.d.ts +0 -611
- package/node_modules/@types/d3-zoom/package.json +0 -48
- package/node_modules/@xyflow/react/LICENSE +0 -21
- package/node_modules/@xyflow/react/README.md +0 -135
- package/node_modules/@xyflow/react/dist/base.css +0 -504
- package/node_modules/@xyflow/react/dist/esm/additional-components/Background/Background.d.ts +0 -61
- package/node_modules/@xyflow/react/dist/esm/additional-components/Background/Background.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/additional-components/Background/Patterns.d.ts +0 -15
- package/node_modules/@xyflow/react/dist/esm/additional-components/Background/Patterns.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/additional-components/Background/index.d.ts +0 -3
- package/node_modules/@xyflow/react/dist/esm/additional-components/Background/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/additional-components/Background/types.d.ts +0 -59
- package/node_modules/@xyflow/react/dist/esm/additional-components/Background/types.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/additional-components/Controls/ControlButton.d.ts +0 -26
- package/node_modules/@xyflow/react/dist/esm/additional-components/Controls/ControlButton.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/additional-components/Controls/Controls.d.ts +0 -29
- package/node_modules/@xyflow/react/dist/esm/additional-components/Controls/Controls.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/additional-components/Controls/Icons/FitView.d.ts +0 -2
- package/node_modules/@xyflow/react/dist/esm/additional-components/Controls/Icons/FitView.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/additional-components/Controls/Icons/Lock.d.ts +0 -2
- package/node_modules/@xyflow/react/dist/esm/additional-components/Controls/Icons/Lock.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/additional-components/Controls/Icons/Minus.d.ts +0 -2
- package/node_modules/@xyflow/react/dist/esm/additional-components/Controls/Icons/Minus.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/additional-components/Controls/Icons/Plus.d.ts +0 -2
- package/node_modules/@xyflow/react/dist/esm/additional-components/Controls/Icons/Plus.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/additional-components/Controls/Icons/Unlock.d.ts +0 -2
- package/node_modules/@xyflow/react/dist/esm/additional-components/Controls/Icons/Unlock.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/additional-components/Controls/index.d.ts +0 -4
- package/node_modules/@xyflow/react/dist/esm/additional-components/Controls/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/additional-components/Controls/types.d.ts +0 -66
- package/node_modules/@xyflow/react/dist/esm/additional-components/Controls/types.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/additional-components/EdgeToolbar/EdgeToolbar.d.ts +0 -26
- package/node_modules/@xyflow/react/dist/esm/additional-components/EdgeToolbar/EdgeToolbar.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/additional-components/EdgeToolbar/index.d.ts +0 -3
- package/node_modules/@xyflow/react/dist/esm/additional-components/EdgeToolbar/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/additional-components/EdgeToolbar/types.d.ts +0 -13
- package/node_modules/@xyflow/react/dist/esm/additional-components/EdgeToolbar/types.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/additional-components/MiniMap/MiniMap.d.ts +0 -29
- package/node_modules/@xyflow/react/dist/esm/additional-components/MiniMap/MiniMap.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/additional-components/MiniMap/MiniMapNode.d.ts +0 -5
- package/node_modules/@xyflow/react/dist/esm/additional-components/MiniMap/MiniMapNode.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/additional-components/MiniMap/MiniMapNodes.d.ts +0 -6
- package/node_modules/@xyflow/react/dist/esm/additional-components/MiniMap/MiniMapNodes.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/additional-components/MiniMap/index.d.ts +0 -4
- package/node_modules/@xyflow/react/dist/esm/additional-components/MiniMap/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/additional-components/MiniMap/types.d.ts +0 -123
- package/node_modules/@xyflow/react/dist/esm/additional-components/MiniMap/types.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/additional-components/NodeResizer/NodeResizeControl.d.ts +0 -11
- package/node_modules/@xyflow/react/dist/esm/additional-components/NodeResizer/NodeResizeControl.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/additional-components/NodeResizer/NodeResizer.d.ts +0 -27
- package/node_modules/@xyflow/react/dist/esm/additional-components/NodeResizer/NodeResizer.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/additional-components/NodeResizer/index.d.ts +0 -4
- package/node_modules/@xyflow/react/dist/esm/additional-components/NodeResizer/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/additional-components/NodeResizer/types.d.ts +0 -97
- package/node_modules/@xyflow/react/dist/esm/additional-components/NodeResizer/types.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/additional-components/NodeToolbar/NodeToolbar.d.ts +0 -38
- package/node_modules/@xyflow/react/dist/esm/additional-components/NodeToolbar/NodeToolbar.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/additional-components/NodeToolbar/NodeToolbarPortal.d.ts +0 -5
- package/node_modules/@xyflow/react/dist/esm/additional-components/NodeToolbar/NodeToolbarPortal.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/additional-components/NodeToolbar/index.d.ts +0 -3
- package/node_modules/@xyflow/react/dist/esm/additional-components/NodeToolbar/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/additional-components/NodeToolbar/types.d.ts +0 -32
- package/node_modules/@xyflow/react/dist/esm/additional-components/NodeToolbar/types.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/additional-components/index.d.ts +0 -7
- package/node_modules/@xyflow/react/dist/esm/additional-components/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/components/A11yDescriptions/index.d.ts +0 -8
- package/node_modules/@xyflow/react/dist/esm/components/A11yDescriptions/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/components/Attribution/index.d.ts +0 -8
- package/node_modules/@xyflow/react/dist/esm/components/Attribution/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/components/BatchProvider/index.d.ts +0 -17
- package/node_modules/@xyflow/react/dist/esm/components/BatchProvider/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/components/BatchProvider/types.d.ts +0 -7
- package/node_modules/@xyflow/react/dist/esm/components/BatchProvider/types.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/components/BatchProvider/useQueue.d.ts +0 -11
- package/node_modules/@xyflow/react/dist/esm/components/BatchProvider/useQueue.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/components/ConnectionLine/index.d.ts +0 -12
- package/node_modules/@xyflow/react/dist/esm/components/ConnectionLine/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/components/EdgeLabelRenderer/index.d.ts +0 -47
- package/node_modules/@xyflow/react/dist/esm/components/EdgeLabelRenderer/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/components/EdgeWrapper/EdgeUpdateAnchors.d.ts +0 -15
- package/node_modules/@xyflow/react/dist/esm/components/EdgeWrapper/EdgeUpdateAnchors.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/components/EdgeWrapper/index.d.ts +0 -6
- package/node_modules/@xyflow/react/dist/esm/components/EdgeWrapper/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/components/EdgeWrapper/utils.d.ts +0 -11
- package/node_modules/@xyflow/react/dist/esm/components/EdgeWrapper/utils.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/components/Edges/BaseEdge.d.ts +0 -30
- package/node_modules/@xyflow/react/dist/esm/components/Edges/BaseEdge.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/components/Edges/BezierEdge.d.ts +0 -31
- package/node_modules/@xyflow/react/dist/esm/components/Edges/BezierEdge.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/components/Edges/EdgeAnchor.d.ts +0 -17
- package/node_modules/@xyflow/react/dist/esm/components/Edges/EdgeAnchor.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/components/Edges/EdgeText.d.ts +0 -34
- package/node_modules/@xyflow/react/dist/esm/components/Edges/EdgeText.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/components/Edges/SimpleBezierEdge.d.ts +0 -30
- package/node_modules/@xyflow/react/dist/esm/components/Edges/SimpleBezierEdge.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/components/Edges/SmoothStepEdge.d.ts +0 -31
- package/node_modules/@xyflow/react/dist/esm/components/Edges/SmoothStepEdge.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/components/Edges/StepEdge.d.ts +0 -31
- package/node_modules/@xyflow/react/dist/esm/components/Edges/StepEdge.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/components/Edges/StraightEdge.d.ts +0 -29
- package/node_modules/@xyflow/react/dist/esm/components/Edges/StraightEdge.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/components/Edges/index.d.ts +0 -6
- package/node_modules/@xyflow/react/dist/esm/components/Edges/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/components/Handle/index.d.ts +0 -39
- package/node_modules/@xyflow/react/dist/esm/components/Handle/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/components/NodeWrapper/index.d.ts +0 -5
- package/node_modules/@xyflow/react/dist/esm/components/NodeWrapper/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/components/NodeWrapper/useNodeObserver.d.ts +0 -14
- package/node_modules/@xyflow/react/dist/esm/components/NodeWrapper/useNodeObserver.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/components/NodeWrapper/utils.d.ts +0 -9
- package/node_modules/@xyflow/react/dist/esm/components/NodeWrapper/utils.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/components/Nodes/DefaultNode.d.ts +0 -3
- package/node_modules/@xyflow/react/dist/esm/components/Nodes/DefaultNode.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/components/Nodes/GroupNode.d.ts +0 -2
- package/node_modules/@xyflow/react/dist/esm/components/Nodes/GroupNode.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/components/Nodes/InputNode.d.ts +0 -3
- package/node_modules/@xyflow/react/dist/esm/components/Nodes/InputNode.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/components/Nodes/OutputNode.d.ts +0 -3
- package/node_modules/@xyflow/react/dist/esm/components/Nodes/OutputNode.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/components/Nodes/utils.d.ts +0 -13
- package/node_modules/@xyflow/react/dist/esm/components/Nodes/utils.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/components/NodesSelection/index.d.ts +0 -13
- package/node_modules/@xyflow/react/dist/esm/components/NodesSelection/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/components/Panel/index.d.ts +0 -45
- package/node_modules/@xyflow/react/dist/esm/components/Panel/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/components/ReactFlowProvider/index.d.ts +0 -83
- package/node_modules/@xyflow/react/dist/esm/components/ReactFlowProvider/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/components/SelectionListener/index.d.ts +0 -7
- package/node_modules/@xyflow/react/dist/esm/components/SelectionListener/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/components/StoreUpdater/index.d.ts +0 -9
- package/node_modules/@xyflow/react/dist/esm/components/StoreUpdater/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/components/UserSelection/index.d.ts +0 -2
- package/node_modules/@xyflow/react/dist/esm/components/UserSelection/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/components/ViewportPortal/index.d.ts +0 -30
- package/node_modules/@xyflow/react/dist/esm/components/ViewportPortal/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/container/EdgeRenderer/MarkerDefinitions.d.ts +0 -10
- package/node_modules/@xyflow/react/dist/esm/container/EdgeRenderer/MarkerDefinitions.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/container/EdgeRenderer/MarkerSymbols.d.ts +0 -9
- package/node_modules/@xyflow/react/dist/esm/container/EdgeRenderer/MarkerSymbols.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/container/EdgeRenderer/index.d.ts +0 -13
- package/node_modules/@xyflow/react/dist/esm/container/EdgeRenderer/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/container/FlowRenderer/index.d.ts +0 -14
- package/node_modules/@xyflow/react/dist/esm/container/FlowRenderer/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/container/GraphView/index.d.ts +0 -11
- package/node_modules/@xyflow/react/dist/esm/container/GraphView/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/container/GraphView/useNodeOrEdgeTypesWarning.d.ts +0 -10
- package/node_modules/@xyflow/react/dist/esm/container/GraphView/useNodeOrEdgeTypesWarning.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/container/GraphView/useStylesLoadedWarning.d.ts +0 -2
- package/node_modules/@xyflow/react/dist/esm/container/GraphView/useStylesLoadedWarning.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/container/NodeRenderer/index.d.ts +0 -10
- package/node_modules/@xyflow/react/dist/esm/container/NodeRenderer/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/container/NodeRenderer/useResizeObserver.d.ts +0 -2
- package/node_modules/@xyflow/react/dist/esm/container/NodeRenderer/useResizeObserver.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/container/Pane/index.d.ts +0 -11
- package/node_modules/@xyflow/react/dist/esm/container/Pane/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/container/ReactFlow/Wrapper.d.ts +0 -20
- package/node_modules/@xyflow/react/dist/esm/container/ReactFlow/Wrapper.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/container/ReactFlow/index.d.ts +0 -24
- package/node_modules/@xyflow/react/dist/esm/container/ReactFlow/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/container/ReactFlow/init-values.d.ts +0 -4
- package/node_modules/@xyflow/react/dist/esm/container/ReactFlow/init-values.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/container/Viewport/index.d.ts +0 -7
- package/node_modules/@xyflow/react/dist/esm/container/Viewport/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/container/ZoomPane/index.d.ts +0 -7
- package/node_modules/@xyflow/react/dist/esm/container/ZoomPane/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/contexts/NodeIdContext.d.ts +0 -34
- package/node_modules/@xyflow/react/dist/esm/contexts/NodeIdContext.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/contexts/StoreContext.d.ts +0 -4
- package/node_modules/@xyflow/react/dist/esm/contexts/StoreContext.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/hooks/useColorModeClass.d.ts +0 -9
- package/node_modules/@xyflow/react/dist/esm/hooks/useColorModeClass.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/hooks/useConnection.d.ts +0 -33
- package/node_modules/@xyflow/react/dist/esm/hooks/useConnection.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/hooks/useDrag.d.ts +0 -18
- package/node_modules/@xyflow/react/dist/esm/hooks/useDrag.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/hooks/useEdges.d.ts +0 -21
- package/node_modules/@xyflow/react/dist/esm/hooks/useEdges.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/hooks/useGlobalKeyHandler.d.ts +0 -11
- package/node_modules/@xyflow/react/dist/esm/hooks/useGlobalKeyHandler.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/hooks/useHandleConnections.d.ts +0 -23
- package/node_modules/@xyflow/react/dist/esm/hooks/useHandleConnections.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/hooks/useInternalNode.d.ts +0 -30
- package/node_modules/@xyflow/react/dist/esm/hooks/useInternalNode.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/hooks/useIsomorphicLayoutEffect.d.ts +0 -3
- package/node_modules/@xyflow/react/dist/esm/hooks/useIsomorphicLayoutEffect.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/hooks/useKeyPress.d.ts +0 -53
- package/node_modules/@xyflow/react/dist/esm/hooks/useKeyPress.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/hooks/useMoveSelectedNodes.d.ts +0 -12
- package/node_modules/@xyflow/react/dist/esm/hooks/useMoveSelectedNodes.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/hooks/useNodeConnections.d.ts +0 -38
- package/node_modules/@xyflow/react/dist/esm/hooks/useNodeConnections.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/hooks/useNodes.d.ts +0 -22
- package/node_modules/@xyflow/react/dist/esm/hooks/useNodes.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/hooks/useNodesData.d.ts +0 -27
- package/node_modules/@xyflow/react/dist/esm/hooks/useNodesData.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/hooks/useNodesEdgesState.d.ts +0 -105
- package/node_modules/@xyflow/react/dist/esm/hooks/useNodesEdgesState.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/hooks/useNodesInitialized.d.ts +0 -39
- package/node_modules/@xyflow/react/dist/esm/hooks/useNodesInitialized.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/hooks/useOnEdgesChangeMiddleware.d.ts +0 -10
- package/node_modules/@xyflow/react/dist/esm/hooks/useOnEdgesChangeMiddleware.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/hooks/useOnInitHandler.d.ts +0 -8
- package/node_modules/@xyflow/react/dist/esm/hooks/useOnInitHandler.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/hooks/useOnNodesChangeMiddleware.d.ts +0 -10
- package/node_modules/@xyflow/react/dist/esm/hooks/useOnNodesChangeMiddleware.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/hooks/useOnSelectionChange.d.ts +0 -43
- package/node_modules/@xyflow/react/dist/esm/hooks/useOnSelectionChange.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/hooks/useOnViewportChange.d.ts +0 -33
- package/node_modules/@xyflow/react/dist/esm/hooks/useOnViewportChange.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/hooks/useReactFlow.d.ts +0 -30
- package/node_modules/@xyflow/react/dist/esm/hooks/useReactFlow.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/hooks/useResizeHandler.d.ts +0 -8
- package/node_modules/@xyflow/react/dist/esm/hooks/useResizeHandler.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/hooks/useStore.d.ts +0 -45
- package/node_modules/@xyflow/react/dist/esm/hooks/useStore.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/hooks/useUpdateNodeInternals.d.ts +0 -48
- package/node_modules/@xyflow/react/dist/esm/hooks/useUpdateNodeInternals.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/hooks/useViewport.d.ts +0 -32
- package/node_modules/@xyflow/react/dist/esm/hooks/useViewport.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/hooks/useViewportHelper.d.ts +0 -10
- package/node_modules/@xyflow/react/dist/esm/hooks/useViewportHelper.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/hooks/useViewportSync.d.ts +0 -9
- package/node_modules/@xyflow/react/dist/esm/hooks/useViewportSync.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/hooks/useVisibleEdgeIds.d.ts +0 -9
- package/node_modules/@xyflow/react/dist/esm/hooks/useVisibleEdgeIds.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/hooks/useVisibleNodeIds.d.ts +0 -9
- package/node_modules/@xyflow/react/dist/esm/hooks/useVisibleNodeIds.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/index.d.ts +0 -41
- package/node_modules/@xyflow/react/dist/esm/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/index.js +0 -4987
- package/node_modules/@xyflow/react/dist/esm/index.mjs +0 -4987
- package/node_modules/@xyflow/react/dist/esm/store/index.d.ts +0 -19
- package/node_modules/@xyflow/react/dist/esm/store/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/store/initialState.d.ts +0 -19
- package/node_modules/@xyflow/react/dist/esm/store/initialState.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/styles/utils.d.ts +0 -3
- package/node_modules/@xyflow/react/dist/esm/styles/utils.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/types/component-props.d.ts +0 -649
- package/node_modules/@xyflow/react/dist/esm/types/component-props.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/types/edges.d.ts +0 -217
- package/node_modules/@xyflow/react/dist/esm/types/edges.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/types/general.d.ts +0 -179
- package/node_modules/@xyflow/react/dist/esm/types/general.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/types/index.d.ts +0 -7
- package/node_modules/@xyflow/react/dist/esm/types/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/types/instance.d.ts +0 -242
- package/node_modules/@xyflow/react/dist/esm/types/instance.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/types/nodes.d.ts +0 -101
- package/node_modules/@xyflow/react/dist/esm/types/nodes.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/types/store.d.ts +0 -115
- package/node_modules/@xyflow/react/dist/esm/types/store.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/utils/changes.d.ts +0 -87
- package/node_modules/@xyflow/react/dist/esm/utils/changes.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/utils/general.d.ts +0 -48
- package/node_modules/@xyflow/react/dist/esm/utils/general.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/esm/utils/index.d.ts +0 -3
- package/node_modules/@xyflow/react/dist/esm/utils/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/style.css +0 -624
- package/node_modules/@xyflow/react/dist/umd/additional-components/Background/Background.d.ts +0 -61
- package/node_modules/@xyflow/react/dist/umd/additional-components/Background/Background.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/additional-components/Background/Patterns.d.ts +0 -15
- package/node_modules/@xyflow/react/dist/umd/additional-components/Background/Patterns.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/additional-components/Background/index.d.ts +0 -3
- package/node_modules/@xyflow/react/dist/umd/additional-components/Background/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/additional-components/Background/types.d.ts +0 -59
- package/node_modules/@xyflow/react/dist/umd/additional-components/Background/types.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/additional-components/Controls/ControlButton.d.ts +0 -26
- package/node_modules/@xyflow/react/dist/umd/additional-components/Controls/ControlButton.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/additional-components/Controls/Controls.d.ts +0 -29
- package/node_modules/@xyflow/react/dist/umd/additional-components/Controls/Controls.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/additional-components/Controls/Icons/FitView.d.ts +0 -2
- package/node_modules/@xyflow/react/dist/umd/additional-components/Controls/Icons/FitView.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/additional-components/Controls/Icons/Lock.d.ts +0 -2
- package/node_modules/@xyflow/react/dist/umd/additional-components/Controls/Icons/Lock.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/additional-components/Controls/Icons/Minus.d.ts +0 -2
- package/node_modules/@xyflow/react/dist/umd/additional-components/Controls/Icons/Minus.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/additional-components/Controls/Icons/Plus.d.ts +0 -2
- package/node_modules/@xyflow/react/dist/umd/additional-components/Controls/Icons/Plus.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/additional-components/Controls/Icons/Unlock.d.ts +0 -2
- package/node_modules/@xyflow/react/dist/umd/additional-components/Controls/Icons/Unlock.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/additional-components/Controls/index.d.ts +0 -4
- package/node_modules/@xyflow/react/dist/umd/additional-components/Controls/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/additional-components/Controls/types.d.ts +0 -66
- package/node_modules/@xyflow/react/dist/umd/additional-components/Controls/types.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/additional-components/EdgeToolbar/EdgeToolbar.d.ts +0 -26
- package/node_modules/@xyflow/react/dist/umd/additional-components/EdgeToolbar/EdgeToolbar.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/additional-components/EdgeToolbar/index.d.ts +0 -3
- package/node_modules/@xyflow/react/dist/umd/additional-components/EdgeToolbar/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/additional-components/EdgeToolbar/types.d.ts +0 -13
- package/node_modules/@xyflow/react/dist/umd/additional-components/EdgeToolbar/types.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/additional-components/MiniMap/MiniMap.d.ts +0 -29
- package/node_modules/@xyflow/react/dist/umd/additional-components/MiniMap/MiniMap.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/additional-components/MiniMap/MiniMapNode.d.ts +0 -5
- package/node_modules/@xyflow/react/dist/umd/additional-components/MiniMap/MiniMapNode.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/additional-components/MiniMap/MiniMapNodes.d.ts +0 -6
- package/node_modules/@xyflow/react/dist/umd/additional-components/MiniMap/MiniMapNodes.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/additional-components/MiniMap/index.d.ts +0 -4
- package/node_modules/@xyflow/react/dist/umd/additional-components/MiniMap/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/additional-components/MiniMap/types.d.ts +0 -123
- package/node_modules/@xyflow/react/dist/umd/additional-components/MiniMap/types.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/additional-components/NodeResizer/NodeResizeControl.d.ts +0 -11
- package/node_modules/@xyflow/react/dist/umd/additional-components/NodeResizer/NodeResizeControl.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/additional-components/NodeResizer/NodeResizer.d.ts +0 -27
- package/node_modules/@xyflow/react/dist/umd/additional-components/NodeResizer/NodeResizer.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/additional-components/NodeResizer/index.d.ts +0 -4
- package/node_modules/@xyflow/react/dist/umd/additional-components/NodeResizer/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/additional-components/NodeResizer/types.d.ts +0 -97
- package/node_modules/@xyflow/react/dist/umd/additional-components/NodeResizer/types.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/additional-components/NodeToolbar/NodeToolbar.d.ts +0 -38
- package/node_modules/@xyflow/react/dist/umd/additional-components/NodeToolbar/NodeToolbar.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/additional-components/NodeToolbar/NodeToolbarPortal.d.ts +0 -5
- package/node_modules/@xyflow/react/dist/umd/additional-components/NodeToolbar/NodeToolbarPortal.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/additional-components/NodeToolbar/index.d.ts +0 -3
- package/node_modules/@xyflow/react/dist/umd/additional-components/NodeToolbar/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/additional-components/NodeToolbar/types.d.ts +0 -32
- package/node_modules/@xyflow/react/dist/umd/additional-components/NodeToolbar/types.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/additional-components/index.d.ts +0 -7
- package/node_modules/@xyflow/react/dist/umd/additional-components/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/components/A11yDescriptions/index.d.ts +0 -8
- package/node_modules/@xyflow/react/dist/umd/components/A11yDescriptions/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/components/Attribution/index.d.ts +0 -8
- package/node_modules/@xyflow/react/dist/umd/components/Attribution/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/components/BatchProvider/index.d.ts +0 -17
- package/node_modules/@xyflow/react/dist/umd/components/BatchProvider/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/components/BatchProvider/types.d.ts +0 -7
- package/node_modules/@xyflow/react/dist/umd/components/BatchProvider/types.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/components/BatchProvider/useQueue.d.ts +0 -11
- package/node_modules/@xyflow/react/dist/umd/components/BatchProvider/useQueue.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/components/ConnectionLine/index.d.ts +0 -12
- package/node_modules/@xyflow/react/dist/umd/components/ConnectionLine/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/components/EdgeLabelRenderer/index.d.ts +0 -47
- package/node_modules/@xyflow/react/dist/umd/components/EdgeLabelRenderer/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/components/EdgeWrapper/EdgeUpdateAnchors.d.ts +0 -15
- package/node_modules/@xyflow/react/dist/umd/components/EdgeWrapper/EdgeUpdateAnchors.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/components/EdgeWrapper/index.d.ts +0 -6
- package/node_modules/@xyflow/react/dist/umd/components/EdgeWrapper/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/components/EdgeWrapper/utils.d.ts +0 -11
- package/node_modules/@xyflow/react/dist/umd/components/EdgeWrapper/utils.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/components/Edges/BaseEdge.d.ts +0 -30
- package/node_modules/@xyflow/react/dist/umd/components/Edges/BaseEdge.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/components/Edges/BezierEdge.d.ts +0 -31
- package/node_modules/@xyflow/react/dist/umd/components/Edges/BezierEdge.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/components/Edges/EdgeAnchor.d.ts +0 -17
- package/node_modules/@xyflow/react/dist/umd/components/Edges/EdgeAnchor.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/components/Edges/EdgeText.d.ts +0 -34
- package/node_modules/@xyflow/react/dist/umd/components/Edges/EdgeText.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/components/Edges/SimpleBezierEdge.d.ts +0 -30
- package/node_modules/@xyflow/react/dist/umd/components/Edges/SimpleBezierEdge.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/components/Edges/SmoothStepEdge.d.ts +0 -31
- package/node_modules/@xyflow/react/dist/umd/components/Edges/SmoothStepEdge.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/components/Edges/StepEdge.d.ts +0 -31
- package/node_modules/@xyflow/react/dist/umd/components/Edges/StepEdge.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/components/Edges/StraightEdge.d.ts +0 -29
- package/node_modules/@xyflow/react/dist/umd/components/Edges/StraightEdge.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/components/Edges/index.d.ts +0 -6
- package/node_modules/@xyflow/react/dist/umd/components/Edges/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/components/Handle/index.d.ts +0 -39
- package/node_modules/@xyflow/react/dist/umd/components/Handle/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/components/NodeWrapper/index.d.ts +0 -5
- package/node_modules/@xyflow/react/dist/umd/components/NodeWrapper/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/components/NodeWrapper/useNodeObserver.d.ts +0 -14
- package/node_modules/@xyflow/react/dist/umd/components/NodeWrapper/useNodeObserver.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/components/NodeWrapper/utils.d.ts +0 -9
- package/node_modules/@xyflow/react/dist/umd/components/NodeWrapper/utils.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/components/Nodes/DefaultNode.d.ts +0 -3
- package/node_modules/@xyflow/react/dist/umd/components/Nodes/DefaultNode.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/components/Nodes/GroupNode.d.ts +0 -2
- package/node_modules/@xyflow/react/dist/umd/components/Nodes/GroupNode.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/components/Nodes/InputNode.d.ts +0 -3
- package/node_modules/@xyflow/react/dist/umd/components/Nodes/InputNode.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/components/Nodes/OutputNode.d.ts +0 -3
- package/node_modules/@xyflow/react/dist/umd/components/Nodes/OutputNode.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/components/Nodes/utils.d.ts +0 -13
- package/node_modules/@xyflow/react/dist/umd/components/Nodes/utils.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/components/NodesSelection/index.d.ts +0 -13
- package/node_modules/@xyflow/react/dist/umd/components/NodesSelection/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/components/Panel/index.d.ts +0 -45
- package/node_modules/@xyflow/react/dist/umd/components/Panel/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/components/ReactFlowProvider/index.d.ts +0 -83
- package/node_modules/@xyflow/react/dist/umd/components/ReactFlowProvider/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/components/SelectionListener/index.d.ts +0 -7
- package/node_modules/@xyflow/react/dist/umd/components/SelectionListener/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/components/StoreUpdater/index.d.ts +0 -9
- package/node_modules/@xyflow/react/dist/umd/components/StoreUpdater/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/components/UserSelection/index.d.ts +0 -2
- package/node_modules/@xyflow/react/dist/umd/components/UserSelection/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/components/ViewportPortal/index.d.ts +0 -30
- package/node_modules/@xyflow/react/dist/umd/components/ViewportPortal/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/container/EdgeRenderer/MarkerDefinitions.d.ts +0 -10
- package/node_modules/@xyflow/react/dist/umd/container/EdgeRenderer/MarkerDefinitions.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/container/EdgeRenderer/MarkerSymbols.d.ts +0 -9
- package/node_modules/@xyflow/react/dist/umd/container/EdgeRenderer/MarkerSymbols.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/container/EdgeRenderer/index.d.ts +0 -13
- package/node_modules/@xyflow/react/dist/umd/container/EdgeRenderer/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/container/FlowRenderer/index.d.ts +0 -14
- package/node_modules/@xyflow/react/dist/umd/container/FlowRenderer/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/container/GraphView/index.d.ts +0 -11
- package/node_modules/@xyflow/react/dist/umd/container/GraphView/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/container/GraphView/useNodeOrEdgeTypesWarning.d.ts +0 -10
- package/node_modules/@xyflow/react/dist/umd/container/GraphView/useNodeOrEdgeTypesWarning.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/container/GraphView/useStylesLoadedWarning.d.ts +0 -2
- package/node_modules/@xyflow/react/dist/umd/container/GraphView/useStylesLoadedWarning.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/container/NodeRenderer/index.d.ts +0 -10
- package/node_modules/@xyflow/react/dist/umd/container/NodeRenderer/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/container/NodeRenderer/useResizeObserver.d.ts +0 -2
- package/node_modules/@xyflow/react/dist/umd/container/NodeRenderer/useResizeObserver.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/container/Pane/index.d.ts +0 -11
- package/node_modules/@xyflow/react/dist/umd/container/Pane/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/container/ReactFlow/Wrapper.d.ts +0 -20
- package/node_modules/@xyflow/react/dist/umd/container/ReactFlow/Wrapper.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/container/ReactFlow/index.d.ts +0 -24
- package/node_modules/@xyflow/react/dist/umd/container/ReactFlow/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/container/ReactFlow/init-values.d.ts +0 -4
- package/node_modules/@xyflow/react/dist/umd/container/ReactFlow/init-values.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/container/Viewport/index.d.ts +0 -7
- package/node_modules/@xyflow/react/dist/umd/container/Viewport/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/container/ZoomPane/index.d.ts +0 -7
- package/node_modules/@xyflow/react/dist/umd/container/ZoomPane/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/contexts/NodeIdContext.d.ts +0 -34
- package/node_modules/@xyflow/react/dist/umd/contexts/NodeIdContext.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/contexts/StoreContext.d.ts +0 -4
- package/node_modules/@xyflow/react/dist/umd/contexts/StoreContext.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/hooks/useColorModeClass.d.ts +0 -9
- package/node_modules/@xyflow/react/dist/umd/hooks/useColorModeClass.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/hooks/useConnection.d.ts +0 -33
- package/node_modules/@xyflow/react/dist/umd/hooks/useConnection.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/hooks/useDrag.d.ts +0 -18
- package/node_modules/@xyflow/react/dist/umd/hooks/useDrag.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/hooks/useEdges.d.ts +0 -21
- package/node_modules/@xyflow/react/dist/umd/hooks/useEdges.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/hooks/useGlobalKeyHandler.d.ts +0 -11
- package/node_modules/@xyflow/react/dist/umd/hooks/useGlobalKeyHandler.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/hooks/useHandleConnections.d.ts +0 -23
- package/node_modules/@xyflow/react/dist/umd/hooks/useHandleConnections.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/hooks/useInternalNode.d.ts +0 -30
- package/node_modules/@xyflow/react/dist/umd/hooks/useInternalNode.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/hooks/useIsomorphicLayoutEffect.d.ts +0 -3
- package/node_modules/@xyflow/react/dist/umd/hooks/useIsomorphicLayoutEffect.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/hooks/useKeyPress.d.ts +0 -53
- package/node_modules/@xyflow/react/dist/umd/hooks/useKeyPress.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/hooks/useMoveSelectedNodes.d.ts +0 -12
- package/node_modules/@xyflow/react/dist/umd/hooks/useMoveSelectedNodes.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/hooks/useNodeConnections.d.ts +0 -38
- package/node_modules/@xyflow/react/dist/umd/hooks/useNodeConnections.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/hooks/useNodes.d.ts +0 -22
- package/node_modules/@xyflow/react/dist/umd/hooks/useNodes.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/hooks/useNodesData.d.ts +0 -27
- package/node_modules/@xyflow/react/dist/umd/hooks/useNodesData.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/hooks/useNodesEdgesState.d.ts +0 -105
- package/node_modules/@xyflow/react/dist/umd/hooks/useNodesEdgesState.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/hooks/useNodesInitialized.d.ts +0 -39
- package/node_modules/@xyflow/react/dist/umd/hooks/useNodesInitialized.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/hooks/useOnEdgesChangeMiddleware.d.ts +0 -10
- package/node_modules/@xyflow/react/dist/umd/hooks/useOnEdgesChangeMiddleware.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/hooks/useOnInitHandler.d.ts +0 -8
- package/node_modules/@xyflow/react/dist/umd/hooks/useOnInitHandler.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/hooks/useOnNodesChangeMiddleware.d.ts +0 -10
- package/node_modules/@xyflow/react/dist/umd/hooks/useOnNodesChangeMiddleware.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/hooks/useOnSelectionChange.d.ts +0 -43
- package/node_modules/@xyflow/react/dist/umd/hooks/useOnSelectionChange.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/hooks/useOnViewportChange.d.ts +0 -33
- package/node_modules/@xyflow/react/dist/umd/hooks/useOnViewportChange.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/hooks/useReactFlow.d.ts +0 -30
- package/node_modules/@xyflow/react/dist/umd/hooks/useReactFlow.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/hooks/useResizeHandler.d.ts +0 -8
- package/node_modules/@xyflow/react/dist/umd/hooks/useResizeHandler.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/hooks/useStore.d.ts +0 -45
- package/node_modules/@xyflow/react/dist/umd/hooks/useStore.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/hooks/useUpdateNodeInternals.d.ts +0 -48
- package/node_modules/@xyflow/react/dist/umd/hooks/useUpdateNodeInternals.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/hooks/useViewport.d.ts +0 -32
- package/node_modules/@xyflow/react/dist/umd/hooks/useViewport.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/hooks/useViewportHelper.d.ts +0 -10
- package/node_modules/@xyflow/react/dist/umd/hooks/useViewportHelper.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/hooks/useViewportSync.d.ts +0 -9
- package/node_modules/@xyflow/react/dist/umd/hooks/useViewportSync.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/hooks/useVisibleEdgeIds.d.ts +0 -9
- package/node_modules/@xyflow/react/dist/umd/hooks/useVisibleEdgeIds.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/hooks/useVisibleNodeIds.d.ts +0 -9
- package/node_modules/@xyflow/react/dist/umd/hooks/useVisibleNodeIds.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/index.d.ts +0 -41
- package/node_modules/@xyflow/react/dist/umd/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/index.js +0 -10
- package/node_modules/@xyflow/react/dist/umd/store/index.d.ts +0 -19
- package/node_modules/@xyflow/react/dist/umd/store/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/store/initialState.d.ts +0 -19
- package/node_modules/@xyflow/react/dist/umd/store/initialState.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/styles/utils.d.ts +0 -3
- package/node_modules/@xyflow/react/dist/umd/styles/utils.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/types/component-props.d.ts +0 -649
- package/node_modules/@xyflow/react/dist/umd/types/component-props.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/types/edges.d.ts +0 -217
- package/node_modules/@xyflow/react/dist/umd/types/edges.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/types/general.d.ts +0 -179
- package/node_modules/@xyflow/react/dist/umd/types/general.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/types/index.d.ts +0 -7
- package/node_modules/@xyflow/react/dist/umd/types/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/types/instance.d.ts +0 -242
- package/node_modules/@xyflow/react/dist/umd/types/instance.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/types/nodes.d.ts +0 -101
- package/node_modules/@xyflow/react/dist/umd/types/nodes.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/types/store.d.ts +0 -115
- package/node_modules/@xyflow/react/dist/umd/types/store.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/utils/changes.d.ts +0 -87
- package/node_modules/@xyflow/react/dist/umd/utils/changes.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/utils/general.d.ts +0 -48
- package/node_modules/@xyflow/react/dist/umd/utils/general.d.ts.map +0 -1
- package/node_modules/@xyflow/react/dist/umd/utils/index.d.ts +0 -3
- package/node_modules/@xyflow/react/dist/umd/utils/index.d.ts.map +0 -1
- package/node_modules/@xyflow/react/package.json +0 -98
- package/node_modules/@xyflow/system/LICENSE +0 -21
- package/node_modules/@xyflow/system/README.md +0 -62
- package/node_modules/@xyflow/system/dist/esm/constants.d.ts +0 -43
- package/node_modules/@xyflow/system/dist/esm/constants.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/esm/index.d.ts +0 -9
- package/node_modules/@xyflow/system/dist/esm/index.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/esm/index.js +0 -3514
- package/node_modules/@xyflow/system/dist/esm/index.mjs +0 -3514
- package/node_modules/@xyflow/system/dist/esm/types/changes.d.ts +0 -64
- package/node_modules/@xyflow/system/dist/esm/types/changes.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/esm/types/edges.d.ts +0 -140
- package/node_modules/@xyflow/system/dist/esm/types/edges.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/esm/types/general.d.ts +0 -296
- package/node_modules/@xyflow/system/dist/esm/types/general.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/esm/types/handles.d.ts +0 -58
- package/node_modules/@xyflow/system/dist/esm/types/handles.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/esm/types/index.d.ts +0 -8
- package/node_modules/@xyflow/system/dist/esm/types/index.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/esm/types/nodes.d.ts +0 -157
- package/node_modules/@xyflow/system/dist/esm/types/nodes.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/esm/types/panzoom.d.ts +0 -55
- package/node_modules/@xyflow/system/dist/esm/types/panzoom.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/esm/types/utils.d.ts +0 -61
- package/node_modules/@xyflow/system/dist/esm/types/utils.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/esm/utils/connections.d.ts +0 -13
- package/node_modules/@xyflow/system/dist/esm/utils/connections.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/esm/utils/dom.d.ts +0 -21
- package/node_modules/@xyflow/system/dist/esm/utils/dom.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/esm/utils/edge-toolbar.d.ts +0 -2
- package/node_modules/@xyflow/system/dist/esm/utils/edge-toolbar.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/esm/utils/edges/bezier-edge.d.ts +0 -77
- package/node_modules/@xyflow/system/dist/esm/utils/edges/bezier-edge.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/esm/utils/edges/general.d.ts +0 -91
- package/node_modules/@xyflow/system/dist/esm/utils/edges/general.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/esm/utils/edges/index.d.ts +0 -6
- package/node_modules/@xyflow/system/dist/esm/utils/edges/index.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/esm/utils/edges/positions.d.ts +0 -17
- package/node_modules/@xyflow/system/dist/esm/utils/edges/positions.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/esm/utils/edges/smoothstep-edge.d.ts +0 -66
- package/node_modules/@xyflow/system/dist/esm/utils/edges/smoothstep-edge.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/esm/utils/edges/straight-edge.d.ts +0 -41
- package/node_modules/@xyflow/system/dist/esm/utils/edges/straight-edge.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/esm/utils/general.d.ts +0 -85
- package/node_modules/@xyflow/system/dist/esm/utils/general.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/esm/utils/graph.d.ts +0 -191
- package/node_modules/@xyflow/system/dist/esm/utils/graph.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/esm/utils/index.d.ts +0 -12
- package/node_modules/@xyflow/system/dist/esm/utils/index.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/esm/utils/marker.d.ts +0 -9
- package/node_modules/@xyflow/system/dist/esm/utils/marker.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/esm/utils/node-toolbar.d.ts +0 -3
- package/node_modules/@xyflow/system/dist/esm/utils/node-toolbar.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/esm/utils/shallow-node-data.d.ts +0 -5
- package/node_modules/@xyflow/system/dist/esm/utils/shallow-node-data.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/esm/utils/store.d.ts +0 -34
- package/node_modules/@xyflow/system/dist/esm/utils/store.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/esm/utils/types.d.ts +0 -8
- package/node_modules/@xyflow/system/dist/esm/utils/types.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/esm/xydrag/XYDrag.d.ts +0 -55
- package/node_modules/@xyflow/system/dist/esm/xydrag/XYDrag.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/esm/xydrag/index.d.ts +0 -2
- package/node_modules/@xyflow/system/dist/esm/xydrag/index.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/esm/xydrag/utils.d.ts +0 -24
- package/node_modules/@xyflow/system/dist/esm/xydrag/utils.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/esm/xyhandle/XYHandle.d.ts +0 -3
- package/node_modules/@xyflow/system/dist/esm/xyhandle/XYHandle.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/esm/xyhandle/index.d.ts +0 -2
- package/node_modules/@xyflow/system/dist/esm/xyhandle/index.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/esm/xyhandle/types.d.ts +0 -50
- package/node_modules/@xyflow/system/dist/esm/xyhandle/types.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/esm/xyhandle/utils.d.ts +0 -10
- package/node_modules/@xyflow/system/dist/esm/xyhandle/utils.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/esm/xyminimap/index.d.ts +0 -28
- package/node_modules/@xyflow/system/dist/esm/xyminimap/index.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/esm/xypanzoom/XYPanZoom.d.ts +0 -12
- package/node_modules/@xyflow/system/dist/esm/xypanzoom/XYPanZoom.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/esm/xypanzoom/eventhandler.d.ts +0 -46
- package/node_modules/@xyflow/system/dist/esm/xypanzoom/eventhandler.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/esm/xypanzoom/filter.d.ts +0 -15
- package/node_modules/@xyflow/system/dist/esm/xypanzoom/filter.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/esm/xypanzoom/index.d.ts +0 -2
- package/node_modules/@xyflow/system/dist/esm/xypanzoom/index.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/esm/xypanzoom/utils.d.ts +0 -9
- package/node_modules/@xyflow/system/dist/esm/xypanzoom/utils.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/esm/xyresizer/XYResizer.d.ts +0 -49
- package/node_modules/@xyflow/system/dist/esm/xyresizer/XYResizer.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/esm/xyresizer/index.d.ts +0 -3
- package/node_modules/@xyflow/system/dist/esm/xyresizer/index.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/esm/xyresizer/types.d.ts +0 -59
- package/node_modules/@xyflow/system/dist/esm/xyresizer/types.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/esm/xyresizer/utils.d.ts +0 -76
- package/node_modules/@xyflow/system/dist/esm/xyresizer/utils.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/umd/constants.d.ts +0 -43
- package/node_modules/@xyflow/system/dist/umd/constants.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/umd/index.d.ts +0 -9
- package/node_modules/@xyflow/system/dist/umd/index.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/umd/index.js +0 -1
- package/node_modules/@xyflow/system/dist/umd/types/changes.d.ts +0 -64
- package/node_modules/@xyflow/system/dist/umd/types/changes.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/umd/types/edges.d.ts +0 -140
- package/node_modules/@xyflow/system/dist/umd/types/edges.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/umd/types/general.d.ts +0 -296
- package/node_modules/@xyflow/system/dist/umd/types/general.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/umd/types/handles.d.ts +0 -58
- package/node_modules/@xyflow/system/dist/umd/types/handles.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/umd/types/index.d.ts +0 -8
- package/node_modules/@xyflow/system/dist/umd/types/index.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/umd/types/nodes.d.ts +0 -157
- package/node_modules/@xyflow/system/dist/umd/types/nodes.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/umd/types/panzoom.d.ts +0 -55
- package/node_modules/@xyflow/system/dist/umd/types/panzoom.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/umd/types/utils.d.ts +0 -61
- package/node_modules/@xyflow/system/dist/umd/types/utils.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/umd/utils/connections.d.ts +0 -13
- package/node_modules/@xyflow/system/dist/umd/utils/connections.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/umd/utils/dom.d.ts +0 -21
- package/node_modules/@xyflow/system/dist/umd/utils/dom.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/umd/utils/edge-toolbar.d.ts +0 -2
- package/node_modules/@xyflow/system/dist/umd/utils/edge-toolbar.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/umd/utils/edges/bezier-edge.d.ts +0 -77
- package/node_modules/@xyflow/system/dist/umd/utils/edges/bezier-edge.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/umd/utils/edges/general.d.ts +0 -91
- package/node_modules/@xyflow/system/dist/umd/utils/edges/general.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/umd/utils/edges/index.d.ts +0 -6
- package/node_modules/@xyflow/system/dist/umd/utils/edges/index.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/umd/utils/edges/positions.d.ts +0 -17
- package/node_modules/@xyflow/system/dist/umd/utils/edges/positions.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/umd/utils/edges/smoothstep-edge.d.ts +0 -66
- package/node_modules/@xyflow/system/dist/umd/utils/edges/smoothstep-edge.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/umd/utils/edges/straight-edge.d.ts +0 -41
- package/node_modules/@xyflow/system/dist/umd/utils/edges/straight-edge.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/umd/utils/general.d.ts +0 -85
- package/node_modules/@xyflow/system/dist/umd/utils/general.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/umd/utils/graph.d.ts +0 -191
- package/node_modules/@xyflow/system/dist/umd/utils/graph.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/umd/utils/index.d.ts +0 -12
- package/node_modules/@xyflow/system/dist/umd/utils/index.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/umd/utils/marker.d.ts +0 -9
- package/node_modules/@xyflow/system/dist/umd/utils/marker.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/umd/utils/node-toolbar.d.ts +0 -3
- package/node_modules/@xyflow/system/dist/umd/utils/node-toolbar.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/umd/utils/shallow-node-data.d.ts +0 -5
- package/node_modules/@xyflow/system/dist/umd/utils/shallow-node-data.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/umd/utils/store.d.ts +0 -34
- package/node_modules/@xyflow/system/dist/umd/utils/store.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/umd/utils/types.d.ts +0 -8
- package/node_modules/@xyflow/system/dist/umd/utils/types.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/umd/xydrag/XYDrag.d.ts +0 -55
- package/node_modules/@xyflow/system/dist/umd/xydrag/XYDrag.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/umd/xydrag/index.d.ts +0 -2
- package/node_modules/@xyflow/system/dist/umd/xydrag/index.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/umd/xydrag/utils.d.ts +0 -24
- package/node_modules/@xyflow/system/dist/umd/xydrag/utils.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/umd/xyhandle/XYHandle.d.ts +0 -3
- package/node_modules/@xyflow/system/dist/umd/xyhandle/XYHandle.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/umd/xyhandle/index.d.ts +0 -2
- package/node_modules/@xyflow/system/dist/umd/xyhandle/index.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/umd/xyhandle/types.d.ts +0 -50
- package/node_modules/@xyflow/system/dist/umd/xyhandle/types.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/umd/xyhandle/utils.d.ts +0 -10
- package/node_modules/@xyflow/system/dist/umd/xyhandle/utils.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/umd/xyminimap/index.d.ts +0 -28
- package/node_modules/@xyflow/system/dist/umd/xyminimap/index.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/umd/xypanzoom/XYPanZoom.d.ts +0 -12
- package/node_modules/@xyflow/system/dist/umd/xypanzoom/XYPanZoom.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/umd/xypanzoom/eventhandler.d.ts +0 -46
- package/node_modules/@xyflow/system/dist/umd/xypanzoom/eventhandler.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/umd/xypanzoom/filter.d.ts +0 -15
- package/node_modules/@xyflow/system/dist/umd/xypanzoom/filter.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/umd/xypanzoom/index.d.ts +0 -2
- package/node_modules/@xyflow/system/dist/umd/xypanzoom/index.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/umd/xypanzoom/utils.d.ts +0 -9
- package/node_modules/@xyflow/system/dist/umd/xypanzoom/utils.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/umd/xyresizer/XYResizer.d.ts +0 -49
- package/node_modules/@xyflow/system/dist/umd/xyresizer/XYResizer.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/umd/xyresizer/index.d.ts +0 -3
- package/node_modules/@xyflow/system/dist/umd/xyresizer/index.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/umd/xyresizer/types.d.ts +0 -59
- package/node_modules/@xyflow/system/dist/umd/xyresizer/types.d.ts.map +0 -1
- package/node_modules/@xyflow/system/dist/umd/xyresizer/utils.d.ts +0 -76
- package/node_modules/@xyflow/system/dist/umd/xyresizer/utils.d.ts.map +0 -1
- package/node_modules/@xyflow/system/package.json +0 -79
- package/node_modules/classcat/LICENSE.md +0 -7
- package/node_modules/classcat/README.md +0 -88
- package/node_modules/classcat/index.cjs +0 -19
- package/node_modules/classcat/index.d.ts +0 -15
- package/node_modules/classcat/index.js +0 -19
- package/node_modules/classcat/package.json +0 -38
- package/node_modules/d3-color/LICENSE +0 -13
- package/node_modules/d3-color/README.md +0 -203
- package/node_modules/d3-color/dist/d3-color.js +0 -606
- package/node_modules/d3-color/dist/d3-color.min.js +0 -2
- package/node_modules/d3-color/package.json +0 -54
- package/node_modules/d3-color/src/color.js +0 -396
- package/node_modules/d3-color/src/cubehelix.js +0 -61
- package/node_modules/d3-color/src/define.js +0 -10
- package/node_modules/d3-color/src/index.js +0 -3
- package/node_modules/d3-color/src/lab.js +0 -123
- package/node_modules/d3-color/src/math.js +0 -2
- package/node_modules/d3-dispatch/LICENSE +0 -13
- package/node_modules/d3-dispatch/README.md +0 -94
- package/node_modules/d3-dispatch/dist/d3-dispatch.js +0 -95
- package/node_modules/d3-dispatch/dist/d3-dispatch.min.js +0 -2
- package/node_modules/d3-dispatch/package.json +0 -50
- package/node_modules/d3-dispatch/src/dispatch.js +0 -84
- package/node_modules/d3-dispatch/src/index.js +0 -1
- package/node_modules/d3-drag/LICENSE +0 -13
- package/node_modules/d3-drag/README.md +0 -248
- package/node_modules/d3-drag/dist/d3-drag.js +0 -273
- package/node_modules/d3-drag/dist/d3-drag.min.js +0 -2
- package/node_modules/d3-drag/package.json +0 -54
- package/node_modules/d3-drag/src/constant.js +0 -1
- package/node_modules/d3-drag/src/drag.js +0 -194
- package/node_modules/d3-drag/src/event.js +0 -28
- package/node_modules/d3-drag/src/index.js +0 -2
- package/node_modules/d3-drag/src/nodrag.js +0 -28
- package/node_modules/d3-drag/src/noevent.js +0 -13
- package/node_modules/d3-ease/LICENSE +0 -28
- package/node_modules/d3-ease/README.md +0 -253
- package/node_modules/d3-ease/dist/d3-ease.js +0 -262
- package/node_modules/d3-ease/dist/d3-ease.min.js +0 -2
- package/node_modules/d3-ease/package.json +0 -51
- package/node_modules/d3-ease/src/back.js +0 -37
- package/node_modules/d3-ease/src/bounce.js +0 -22
- package/node_modules/d3-ease/src/circle.js +0 -11
- package/node_modules/d3-ease/src/cubic.js +0 -11
- package/node_modules/d3-ease/src/elastic.js +0 -46
- package/node_modules/d3-ease/src/exp.js +0 -13
- package/node_modules/d3-ease/src/index.js +0 -66
- package/node_modules/d3-ease/src/linear.js +0 -1
- package/node_modules/d3-ease/src/math.js +0 -4
- package/node_modules/d3-ease/src/poly.js +0 -37
- package/node_modules/d3-ease/src/quad.js +0 -11
- package/node_modules/d3-ease/src/sin.js +0 -14
- package/node_modules/d3-interpolate/LICENSE +0 -13
- package/node_modules/d3-interpolate/README.md +0 -268
- package/node_modules/d3-interpolate/dist/d3-interpolate.js +0 -590
- package/node_modules/d3-interpolate/dist/d3-interpolate.min.js +0 -2
- package/node_modules/d3-interpolate/package.json +0 -53
- package/node_modules/d3-interpolate/src/array.js +0 -22
- package/node_modules/d3-interpolate/src/basis.js +0 -19
- package/node_modules/d3-interpolate/src/basisClosed.js +0 -13
- package/node_modules/d3-interpolate/src/color.js +0 -29
- package/node_modules/d3-interpolate/src/constant.js +0 -1
- package/node_modules/d3-interpolate/src/cubehelix.js +0 -29
- package/node_modules/d3-interpolate/src/date.js +0 -6
- package/node_modules/d3-interpolate/src/discrete.js +0 -6
- package/node_modules/d3-interpolate/src/hcl.js +0 -21
- package/node_modules/d3-interpolate/src/hsl.js +0 -21
- package/node_modules/d3-interpolate/src/hue.js +0 -9
- package/node_modules/d3-interpolate/src/index.js +0 -21
- package/node_modules/d3-interpolate/src/lab.js +0 -16
- package/node_modules/d3-interpolate/src/number.js +0 -5
- package/node_modules/d3-interpolate/src/numberArray.js +0 -14
- package/node_modules/d3-interpolate/src/object.js +0 -23
- package/node_modules/d3-interpolate/src/piecewise.js +0 -11
- package/node_modules/d3-interpolate/src/quantize.js +0 -5
- package/node_modules/d3-interpolate/src/rgb.js +0 -55
- package/node_modules/d3-interpolate/src/round.js +0 -5
- package/node_modules/d3-interpolate/src/string.js +0 -64
- package/node_modules/d3-interpolate/src/transform/decompose.js +0 -26
- package/node_modules/d3-interpolate/src/transform/index.js +0 -63
- package/node_modules/d3-interpolate/src/transform/parse.js +0 -18
- package/node_modules/d3-interpolate/src/value.js +0 -22
- package/node_modules/d3-interpolate/src/zoom.js +0 -71
- package/node_modules/d3-selection/LICENSE +0 -13
- package/node_modules/d3-selection/README.md +0 -863
- package/node_modules/d3-selection/dist/d3-selection.js +0 -1022
- package/node_modules/d3-selection/dist/d3-selection.min.js +0 -2
- package/node_modules/d3-selection/package.json +0 -51
- package/node_modules/d3-selection/src/array.js +0 -9
- package/node_modules/d3-selection/src/constant.js +0 -5
- package/node_modules/d3-selection/src/create.js +0 -6
- package/node_modules/d3-selection/src/creator.js +0 -25
- package/node_modules/d3-selection/src/identity.js +0 -3
- package/node_modules/d3-selection/src/index.js +0 -15
- package/node_modules/d3-selection/src/local.js +0 -27
- package/node_modules/d3-selection/src/matcher.js +0 -12
- package/node_modules/d3-selection/src/namespace.js +0 -7
- package/node_modules/d3-selection/src/namespaces.js +0 -9
- package/node_modules/d3-selection/src/pointer.js +0 -20
- package/node_modules/d3-selection/src/pointers.js +0 -11
- package/node_modules/d3-selection/src/select.js +0 -7
- package/node_modules/d3-selection/src/selectAll.js +0 -8
- package/node_modules/d3-selection/src/selection/append.js +0 -8
- package/node_modules/d3-selection/src/selection/attr.js +0 -57
- package/node_modules/d3-selection/src/selection/call.js +0 -6
- package/node_modules/d3-selection/src/selection/classed.js +0 -75
- package/node_modules/d3-selection/src/selection/clone.js +0 -13
- package/node_modules/d3-selection/src/selection/data.js +0 -128
- package/node_modules/d3-selection/src/selection/datum.js +0 -5
- package/node_modules/d3-selection/src/selection/dispatch.js +0 -34
- package/node_modules/d3-selection/src/selection/each.js +0 -10
- package/node_modules/d3-selection/src/selection/empty.js +0 -3
- package/node_modules/d3-selection/src/selection/enter.js +0 -22
- package/node_modules/d3-selection/src/selection/exit.js +0 -6
- package/node_modules/d3-selection/src/selection/filter.js +0 -16
- package/node_modules/d3-selection/src/selection/html.js +0 -25
- package/node_modules/d3-selection/src/selection/index.js +0 -90
- package/node_modules/d3-selection/src/selection/insert.js +0 -14
- package/node_modules/d3-selection/src/selection/iterator.js +0 -7
- package/node_modules/d3-selection/src/selection/join.js +0 -15
- package/node_modules/d3-selection/src/selection/lower.js +0 -7
- package/node_modules/d3-selection/src/selection/merge.js +0 -19
- package/node_modules/d3-selection/src/selection/node.js +0 -11
- package/node_modules/d3-selection/src/selection/nodes.js +0 -3
- package/node_modules/d3-selection/src/selection/on.js +0 -67
- package/node_modules/d3-selection/src/selection/order.js +0 -13
- package/node_modules/d3-selection/src/selection/property.js +0 -28
- package/node_modules/d3-selection/src/selection/raise.js +0 -7
- package/node_modules/d3-selection/src/selection/remove.js +0 -8
- package/node_modules/d3-selection/src/selection/select.js +0 -17
- package/node_modules/d3-selection/src/selection/selectAll.js +0 -25
- package/node_modules/d3-selection/src/selection/selectChild.js +0 -18
- package/node_modules/d3-selection/src/selection/selectChildren.js +0 -18
- package/node_modules/d3-selection/src/selection/size.js +0 -5
- package/node_modules/d3-selection/src/selection/sort.js +0 -24
- package/node_modules/d3-selection/src/selection/sparse.js +0 -3
- package/node_modules/d3-selection/src/selection/style.js +0 -35
- package/node_modules/d3-selection/src/selection/text.js +0 -25
- package/node_modules/d3-selection/src/selector.js +0 -7
- package/node_modules/d3-selection/src/selectorAll.js +0 -9
- package/node_modules/d3-selection/src/sourceEvent.js +0 -5
- package/node_modules/d3-selection/src/window.js +0 -5
- package/node_modules/d3-timer/LICENSE +0 -13
- package/node_modules/d3-timer/README.md +0 -87
- package/node_modules/d3-timer/dist/d3-timer.js +0 -153
- package/node_modules/d3-timer/dist/d3-timer.min.js +0 -2
- package/node_modules/d3-timer/package.json +0 -53
- package/node_modules/d3-timer/src/index.js +0 -13
- package/node_modules/d3-timer/src/interval.js +0 -17
- package/node_modules/d3-timer/src/timeout.js +0 -11
- package/node_modules/d3-timer/src/timer.js +0 -110
- package/node_modules/d3-transition/LICENSE +0 -13
- package/node_modules/d3-transition/README.md +0 -490
- package/node_modules/d3-transition/dist/d3-transition.js +0 -900
- package/node_modules/d3-transition/dist/d3-transition.min.js +0 -2
- package/node_modules/d3-transition/package.json +0 -65
- package/node_modules/d3-transition/src/active.js +0 -21
- package/node_modules/d3-transition/src/index.js +0 -4
- package/node_modules/d3-transition/src/interrupt.js +0 -24
- package/node_modules/d3-transition/src/selection/index.js +0 -6
- package/node_modules/d3-transition/src/selection/interrupt.js +0 -7
- package/node_modules/d3-transition/src/selection/transition.js +0 -42
- package/node_modules/d3-transition/src/transition/attr.js +0 -78
- package/node_modules/d3-transition/src/transition/attrTween.js +0 -44
- package/node_modules/d3-transition/src/transition/delay.js +0 -23
- package/node_modules/d3-transition/src/transition/duration.js +0 -23
- package/node_modules/d3-transition/src/transition/ease.js +0 -16
- package/node_modules/d3-transition/src/transition/easeVarying.js +0 -14
- package/node_modules/d3-transition/src/transition/end.js +0 -29
- package/node_modules/d3-transition/src/transition/filter.js +0 -16
- package/node_modules/d3-transition/src/transition/index.js +0 -73
- package/node_modules/d3-transition/src/transition/interpolate.js +0 -10
- package/node_modules/d3-transition/src/transition/merge.js +0 -19
- package/node_modules/d3-transition/src/transition/on.js +0 -32
- package/node_modules/d3-transition/src/transition/remove.js +0 -11
- package/node_modules/d3-transition/src/transition/schedule.js +0 -153
- package/node_modules/d3-transition/src/transition/select.js +0 -22
- package/node_modules/d3-transition/src/transition/selectAll.js +0 -26
- package/node_modules/d3-transition/src/transition/selection.js +0 -7
- package/node_modules/d3-transition/src/transition/style.js +0 -80
- package/node_modules/d3-transition/src/transition/styleTween.js +0 -24
- package/node_modules/d3-transition/src/transition/text.js +0 -20
- package/node_modules/d3-transition/src/transition/textTween.js +0 -24
- package/node_modules/d3-transition/src/transition/transition.js +0 -24
- package/node_modules/d3-transition/src/transition/tween.js +0 -81
- package/node_modules/d3-zoom/LICENSE +0 -13
- package/node_modules/d3-zoom/README.md +0 -414
- package/node_modules/d3-zoom/dist/d3-zoom.js +0 -531
- package/node_modules/d3-zoom/dist/d3-zoom.min.js +0 -2
- package/node_modules/d3-zoom/package.json +0 -57
- package/node_modules/d3-zoom/src/constant.js +0 -1
- package/node_modules/d3-zoom/src/event.js +0 -14
- package/node_modules/d3-zoom/src/index.js +0 -2
- package/node_modules/d3-zoom/src/noevent.js +0 -8
- package/node_modules/d3-zoom/src/transform.js +0 -51
- package/node_modules/d3-zoom/src/zoom.js +0 -447
- package/node_modules/use-sync-external-store/LICENSE +0 -21
- package/node_modules/use-sync-external-store/README.md +0 -5
- package/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js +0 -97
- package/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js +0 -85
- package/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +0 -95
- package/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.native.development.js +0 -88
- package/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.native.production.js +0 -59
- package/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +0 -66
- package/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.development.js +0 -96
- package/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.production.js +0 -84
- package/node_modules/use-sync-external-store/cjs/use-sync-external-store.development.js +0 -27
- package/node_modules/use-sync-external-store/cjs/use-sync-external-store.production.js +0 -13
- package/node_modules/use-sync-external-store/index.js +0 -7
- package/node_modules/use-sync-external-store/package.json +0 -43
- package/node_modules/use-sync-external-store/shim/index.js +0 -7
- package/node_modules/use-sync-external-store/shim/index.native.js +0 -7
- package/node_modules/use-sync-external-store/shim/with-selector.js +0 -7
- package/node_modules/use-sync-external-store/with-selector.js +0 -7
- package/node_modules/zustand/LICENSE +0 -21
- package/node_modules/zustand/context.d.ts +0 -25
- package/node_modules/zustand/context.js +0 -60
- package/node_modules/zustand/esm/context.d.mts +0 -25
- package/node_modules/zustand/esm/context.d.ts +0 -25
- package/node_modules/zustand/esm/context.js +0 -61
- package/node_modules/zustand/esm/context.mjs +0 -61
- package/node_modules/zustand/esm/index.d.mts +0 -3
- package/node_modules/zustand/esm/index.d.ts +0 -3
- package/node_modules/zustand/esm/index.js +0 -48
- package/node_modules/zustand/esm/index.mjs +0 -48
- package/node_modules/zustand/esm/middleware/combine.d.mts +0 -5
- package/node_modules/zustand/esm/middleware/combine.d.ts +0 -5
- package/node_modules/zustand/esm/middleware/devtools.d.mts +0 -49
- package/node_modules/zustand/esm/middleware/devtools.d.ts +0 -49
- package/node_modules/zustand/esm/middleware/immer.d.mts +0 -25
- package/node_modules/zustand/esm/middleware/immer.d.ts +0 -25
- package/node_modules/zustand/esm/middleware/immer.js +0 -12
- package/node_modules/zustand/esm/middleware/immer.mjs +0 -12
- package/node_modules/zustand/esm/middleware/persist.d.mts +0 -119
- package/node_modules/zustand/esm/middleware/persist.d.ts +0 -119
- package/node_modules/zustand/esm/middleware/redux.d.mts +0 -21
- package/node_modules/zustand/esm/middleware/redux.d.ts +0 -21
- package/node_modules/zustand/esm/middleware/subscribeWithSelector.d.mts +0 -25
- package/node_modules/zustand/esm/middleware/subscribeWithSelector.d.ts +0 -25
- package/node_modules/zustand/esm/middleware.d.mts +0 -5
- package/node_modules/zustand/esm/middleware.d.ts +0 -5
- package/node_modules/zustand/esm/middleware.js +0 -583
- package/node_modules/zustand/esm/middleware.mjs +0 -583
- package/node_modules/zustand/esm/react/shallow.d.mts +0 -1
- package/node_modules/zustand/esm/react/shallow.d.ts +0 -1
- package/node_modules/zustand/esm/react/shallow.js +0 -49
- package/node_modules/zustand/esm/react/shallow.mjs +0 -49
- package/node_modules/zustand/esm/react.d.mts +0 -38
- package/node_modules/zustand/esm/react.d.ts +0 -38
- package/node_modules/zustand/esm/shallow.d.mts +0 -7
- package/node_modules/zustand/esm/shallow.d.ts +0 -7
- package/node_modules/zustand/esm/shallow.js +0 -47
- package/node_modules/zustand/esm/shallow.mjs +0 -47
- package/node_modules/zustand/esm/traditional.d.mts +0 -21
- package/node_modules/zustand/esm/traditional.d.ts +0 -21
- package/node_modules/zustand/esm/traditional.js +0 -27
- package/node_modules/zustand/esm/traditional.mjs +0 -27
- package/node_modules/zustand/esm/vanilla/shallow.d.mts +0 -1
- package/node_modules/zustand/esm/vanilla/shallow.d.ts +0 -1
- package/node_modules/zustand/esm/vanilla/shallow.js +0 -38
- package/node_modules/zustand/esm/vanilla/shallow.mjs +0 -38
- package/node_modules/zustand/esm/vanilla.d.mts +0 -81
- package/node_modules/zustand/esm/vanilla.d.ts +0 -81
- package/node_modules/zustand/esm/vanilla.js +0 -40
- package/node_modules/zustand/esm/vanilla.mjs +0 -40
- package/node_modules/zustand/index.d.ts +0 -3
- package/node_modules/zustand/index.js +0 -60
- package/node_modules/zustand/middleware/combine.d.ts +0 -5
- package/node_modules/zustand/middleware/devtools.d.ts +0 -49
- package/node_modules/zustand/middleware/immer.d.ts +0 -25
- package/node_modules/zustand/middleware/immer.js +0 -19
- package/node_modules/zustand/middleware/persist.d.ts +0 -119
- package/node_modules/zustand/middleware/redux.d.ts +0 -21
- package/node_modules/zustand/middleware/subscribeWithSelector.d.ts +0 -25
- package/node_modules/zustand/middleware.d.ts +0 -5
- package/node_modules/zustand/middleware.js +0 -609
- package/node_modules/zustand/package.json +0 -232
- package/node_modules/zustand/react/shallow.d.ts +0 -1
- package/node_modules/zustand/react/shallow.js +0 -86
- package/node_modules/zustand/react.d.ts +0 -38
- package/node_modules/zustand/readme.md +0 -505
- package/node_modules/zustand/shallow.d.ts +0 -7
- package/node_modules/zustand/shallow.js +0 -87
- package/node_modules/zustand/system/context.development.js +0 -73
- package/node_modules/zustand/system/context.production.js +0 -1
- package/node_modules/zustand/system/index.development.js +0 -71
- package/node_modules/zustand/system/index.production.js +0 -1
- package/node_modules/zustand/system/middleware/immer.development.js +0 -21
- package/node_modules/zustand/system/middleware/immer.production.js +0 -1
- package/node_modules/zustand/system/middleware.development.js +0 -592
- package/node_modules/zustand/system/middleware.production.js +0 -5
- package/node_modules/zustand/system/react/shallow.development.js +0 -60
- package/node_modules/zustand/system/react/shallow.production.js +0 -1
- package/node_modules/zustand/system/shallow.development.js +0 -56
- package/node_modules/zustand/system/shallow.production.js +0 -1
- package/node_modules/zustand/system/traditional.development.js +0 -40
- package/node_modules/zustand/system/traditional.production.js +0 -1
- package/node_modules/zustand/system/vanilla/shallow.development.js +0 -47
- package/node_modules/zustand/system/vanilla/shallow.production.js +0 -1
- package/node_modules/zustand/system/vanilla.development.js +0 -47
- package/node_modules/zustand/system/vanilla.production.js +0 -1
- package/node_modules/zustand/traditional.d.ts +0 -21
- package/node_modules/zustand/traditional.js +0 -36
- package/node_modules/zustand/ts3.4/context.d.ts +0 -25
- package/node_modules/zustand/ts3.4/esm/context.d.ts +0 -25
- package/node_modules/zustand/ts3.4/esm/index.d.ts +0 -3
- package/node_modules/zustand/ts3.4/esm/middleware/combine.d.ts +0 -13
- package/node_modules/zustand/ts3.4/esm/middleware/devtools.d.ts +0 -102
- package/node_modules/zustand/ts3.4/esm/middleware/immer.d.ts +0 -60
- package/node_modules/zustand/ts3.4/esm/middleware/persist.d.ts +0 -139
- package/node_modules/zustand/ts3.4/esm/middleware/redux.d.ts +0 -30
- package/node_modules/zustand/ts3.4/esm/middleware/subscribeWithSelector.d.ts +0 -42
- package/node_modules/zustand/ts3.4/esm/middleware.d.ts +0 -5
- package/node_modules/zustand/ts3.4/esm/react/shallow.d.ts +0 -1
- package/node_modules/zustand/ts3.4/esm/react.d.ts +0 -48
- package/node_modules/zustand/ts3.4/esm/shallow.d.ts +0 -7
- package/node_modules/zustand/ts3.4/esm/traditional.d.ts +0 -31
- package/node_modules/zustand/ts3.4/esm/vanilla/shallow.d.ts +0 -1
- package/node_modules/zustand/ts3.4/esm/vanilla.d.ts +0 -106
- package/node_modules/zustand/ts3.4/index.d.ts +0 -3
- package/node_modules/zustand/ts3.4/middleware/combine.d.ts +0 -13
- package/node_modules/zustand/ts3.4/middleware/devtools.d.ts +0 -102
- package/node_modules/zustand/ts3.4/middleware/immer.d.ts +0 -60
- package/node_modules/zustand/ts3.4/middleware/persist.d.ts +0 -139
- package/node_modules/zustand/ts3.4/middleware/redux.d.ts +0 -30
- package/node_modules/zustand/ts3.4/middleware/subscribeWithSelector.d.ts +0 -42
- package/node_modules/zustand/ts3.4/middleware.d.ts +0 -5
- package/node_modules/zustand/ts3.4/react/shallow.d.ts +0 -1
- package/node_modules/zustand/ts3.4/react.d.ts +0 -48
- package/node_modules/zustand/ts3.4/shallow.d.ts +0 -7
- package/node_modules/zustand/ts3.4/traditional.d.ts +0 -31
- package/node_modules/zustand/ts3.4/vanilla/shallow.d.ts +0 -1
- package/node_modules/zustand/ts3.4/vanilla.d.ts +0 -106
- package/node_modules/zustand/umd/context.development.js +0 -63
- package/node_modules/zustand/umd/context.production.js +0 -1
- package/node_modules/zustand/umd/index.development.js +0 -58
- package/node_modules/zustand/umd/index.production.js +0 -1
- package/node_modules/zustand/umd/middleware/immer.development.js +0 -23
- package/node_modules/zustand/umd/middleware/immer.production.js +0 -1
- package/node_modules/zustand/umd/middleware.development.js +0 -615
- package/node_modules/zustand/umd/middleware.production.js +0 -1
- package/node_modules/zustand/umd/react/shallow.development.js +0 -90
- package/node_modules/zustand/umd/react/shallow.production.js +0 -1
- package/node_modules/zustand/umd/shallow.development.js +0 -91
- package/node_modules/zustand/umd/shallow.production.js +0 -1
- package/node_modules/zustand/umd/traditional.development.js +0 -38
- package/node_modules/zustand/umd/traditional.production.js +0 -1
- package/node_modules/zustand/umd/vanilla/shallow.development.js +0 -81
- package/node_modules/zustand/umd/vanilla/shallow.production.js +0 -1
- package/node_modules/zustand/umd/vanilla.development.js +0 -63
- package/node_modules/zustand/umd/vanilla.production.js +0 -1
- package/node_modules/zustand/vanilla/shallow.d.ts +0 -1
- package/node_modules/zustand/vanilla/shallow.js +0 -75
- package/node_modules/zustand/vanilla.d.ts +0 -81
- package/node_modules/zustand/vanilla.js +0 -59
|
@@ -1,217 +0,0 @@
|
|
|
1
|
-
import type { CSSProperties, SVGAttributes, ReactNode, MouseEvent as ReactMouseEvent, ComponentType, AriaRole } from 'react';
|
|
2
|
-
import type { EdgeBase, BezierPathOptions, Position, SmoothStepPathOptions, DefaultEdgeOptionsBase, HandleType, ConnectionLineType, Handle, EdgePosition, StepPathOptions, OnError, OnReconnect, FinalConnectionState, XYPosition } from '@xyflow/system';
|
|
3
|
-
import { EdgeTypes, InternalNode, Node } from '.';
|
|
4
|
-
/**
|
|
5
|
-
* @inline
|
|
6
|
-
*/
|
|
7
|
-
export type EdgeLabelOptions = {
|
|
8
|
-
/**
|
|
9
|
-
* The label or custom element to render along the edge. This is commonly a text label or some
|
|
10
|
-
* custom controls.
|
|
11
|
-
*/
|
|
12
|
-
label?: ReactNode;
|
|
13
|
-
/**
|
|
14
|
-
* Custom styles to apply to the label.
|
|
15
|
-
*/
|
|
16
|
-
labelStyle?: CSSProperties;
|
|
17
|
-
labelShowBg?: boolean;
|
|
18
|
-
labelBgStyle?: CSSProperties;
|
|
19
|
-
labelBgPadding?: [number, number];
|
|
20
|
-
labelBgBorderRadius?: number;
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* An `Edge` is the complete description with everything React Flow needs
|
|
24
|
-
* to know in order to render it.
|
|
25
|
-
* @public
|
|
26
|
-
*/
|
|
27
|
-
export type Edge<EdgeData extends Record<string, unknown> = Record<string, unknown>, EdgeType extends string | undefined = string | undefined> = EdgeBase<EdgeData, EdgeType> & EdgeLabelOptions & {
|
|
28
|
-
style?: CSSProperties;
|
|
29
|
-
className?: string;
|
|
30
|
-
/**
|
|
31
|
-
* Determines whether the edge can be updated by dragging the source or target to a new node.
|
|
32
|
-
* This property will override the default set by the `edgesReconnectable` prop on the
|
|
33
|
-
* `<ReactFlow />` component.
|
|
34
|
-
*/
|
|
35
|
-
reconnectable?: boolean | HandleType;
|
|
36
|
-
focusable?: boolean;
|
|
37
|
-
/**
|
|
38
|
-
* The ARIA role attribute for the edge, used for accessibility.
|
|
39
|
-
* @default "group"
|
|
40
|
-
*/
|
|
41
|
-
ariaRole?: AriaRole;
|
|
42
|
-
/**
|
|
43
|
-
* General escape hatch for adding custom attributes to the edge's DOM element.
|
|
44
|
-
*/
|
|
45
|
-
domAttributes?: Omit<SVGAttributes<SVGGElement>, 'id' | 'style' | 'className' | 'role' | 'aria-label' | 'dangerouslySetInnerHTML'>;
|
|
46
|
-
};
|
|
47
|
-
type SmoothStepEdge<EdgeData extends Record<string, unknown> = Record<string, unknown>> = Edge<EdgeData, 'smoothstep'> & {
|
|
48
|
-
pathOptions?: SmoothStepPathOptions;
|
|
49
|
-
};
|
|
50
|
-
type BezierEdge<EdgeData extends Record<string, unknown> = Record<string, unknown>> = Edge<EdgeData, 'default'> & {
|
|
51
|
-
pathOptions?: BezierPathOptions;
|
|
52
|
-
};
|
|
53
|
-
type StepEdge<EdgeData extends Record<string, unknown> = Record<string, unknown>> = Edge<EdgeData, 'step'> & {
|
|
54
|
-
pathOptions?: StepPathOptions;
|
|
55
|
-
};
|
|
56
|
-
type StraightEdge<EdgeData extends Record<string, unknown> = Record<string, unknown>> = Edge<EdgeData, 'straight'>;
|
|
57
|
-
export type BuiltInEdge = SmoothStepEdge | BezierEdge | StepEdge | StraightEdge;
|
|
58
|
-
export type EdgeMouseHandler<EdgeType extends Edge = Edge> = (event: ReactMouseEvent, edge: EdgeType) => void;
|
|
59
|
-
export type EdgeWrapperProps<EdgeType extends Edge = Edge> = {
|
|
60
|
-
id: string;
|
|
61
|
-
edgesFocusable: boolean;
|
|
62
|
-
edgesReconnectable: boolean;
|
|
63
|
-
elementsSelectable: boolean;
|
|
64
|
-
noPanClassName: string;
|
|
65
|
-
onClick?: EdgeMouseHandler<EdgeType>;
|
|
66
|
-
onDoubleClick?: EdgeMouseHandler<EdgeType>;
|
|
67
|
-
onReconnect?: OnReconnect<EdgeType>;
|
|
68
|
-
onContextMenu?: EdgeMouseHandler<EdgeType>;
|
|
69
|
-
onMouseEnter?: EdgeMouseHandler<EdgeType>;
|
|
70
|
-
onMouseMove?: EdgeMouseHandler<EdgeType>;
|
|
71
|
-
onMouseLeave?: EdgeMouseHandler<EdgeType>;
|
|
72
|
-
reconnectRadius?: number;
|
|
73
|
-
onReconnectStart?: (event: ReactMouseEvent, edge: EdgeType, handleType: HandleType) => void;
|
|
74
|
-
onReconnectEnd?: (event: MouseEvent | TouchEvent, edge: EdgeType, handleType: HandleType, connectionState: FinalConnectionState) => void;
|
|
75
|
-
rfId?: string;
|
|
76
|
-
edgeTypes?: EdgeTypes;
|
|
77
|
-
onError?: OnError;
|
|
78
|
-
disableKeyboardA11y?: boolean;
|
|
79
|
-
};
|
|
80
|
-
/**
|
|
81
|
-
* Many properties on an [`Edge`](/api-reference/types/edge) are optional. When a new edge is created,
|
|
82
|
-
* the properties that are not provided will be filled in with the default values
|
|
83
|
-
* passed to the `defaultEdgeOptions` prop of the [`<ReactFlow />`](/api-reference/react-flow#defaultedgeoptions) component.
|
|
84
|
-
*/
|
|
85
|
-
export type DefaultEdgeOptions = DefaultEdgeOptionsBase<Edge>;
|
|
86
|
-
export type EdgeTextProps = Omit<SVGAttributes<SVGElement>, 'x' | 'y'> & EdgeLabelOptions & {
|
|
87
|
-
/** The x position where the label should be rendered. */
|
|
88
|
-
x: number;
|
|
89
|
-
/** The y position where the label should be rendered. */
|
|
90
|
-
y: number;
|
|
91
|
-
};
|
|
92
|
-
/**
|
|
93
|
-
* When you implement a custom edge it is wrapped in a component that enables some
|
|
94
|
-
* basic functionality. The `EdgeProps` type is the props that are passed to this.
|
|
95
|
-
* @public
|
|
96
|
-
* @expand
|
|
97
|
-
*/
|
|
98
|
-
export type EdgeProps<EdgeType extends Edge = Edge> = Pick<EdgeType, 'id' | 'type' | 'animated' | 'data' | 'style' | 'selected' | 'source' | 'target' | 'selectable' | 'deletable'> & EdgePosition & EdgeLabelOptions & {
|
|
99
|
-
sourceHandleId?: string | null;
|
|
100
|
-
targetHandleId?: string | null;
|
|
101
|
-
markerStart?: string;
|
|
102
|
-
markerEnd?: string;
|
|
103
|
-
pathOptions?: any;
|
|
104
|
-
interactionWidth?: number;
|
|
105
|
-
};
|
|
106
|
-
/**
|
|
107
|
-
* BaseEdge component props
|
|
108
|
-
* @public
|
|
109
|
-
* @expand
|
|
110
|
-
*/
|
|
111
|
-
export type BaseEdgeProps = Omit<SVGAttributes<SVGPathElement>, 'd' | 'path' | 'markerStart' | 'markerEnd'> & EdgeLabelOptions & {
|
|
112
|
-
/**
|
|
113
|
-
* The width of the invisible area around the edge that the user can interact with. This is
|
|
114
|
-
* useful for making the edge easier to click or hover over.
|
|
115
|
-
* @default 20
|
|
116
|
-
*/
|
|
117
|
-
interactionWidth?: number;
|
|
118
|
-
/** The x position of edge label */
|
|
119
|
-
labelX?: number;
|
|
120
|
-
/** The y position of edge label */
|
|
121
|
-
labelY?: number;
|
|
122
|
-
/**
|
|
123
|
-
* The SVG path string that defines the edge. This should look something like
|
|
124
|
-
* `'M 0 0 L 100 100'` for a simple line. The utility functions like `getSimpleBezierEdge` can
|
|
125
|
-
* be used to generate this string for you.
|
|
126
|
-
*/
|
|
127
|
-
path: string;
|
|
128
|
-
/**
|
|
129
|
-
* The id of the SVG marker to use at the start of the edge. This should be defined in a
|
|
130
|
-
* `<defs>` element in a separate SVG document or element. Use the format "url(#markerId)" where markerId is the id of your marker definition.
|
|
131
|
-
*/
|
|
132
|
-
markerStart?: string;
|
|
133
|
-
/**
|
|
134
|
-
* The id of the SVG marker to use at the end of the edge. This should be defined in a `<defs>`
|
|
135
|
-
* element in a separate SVG document or element. Use the format "url(#markerId)" where markerId is the id of your marker definition.
|
|
136
|
-
*/
|
|
137
|
-
markerEnd?: string;
|
|
138
|
-
};
|
|
139
|
-
/**
|
|
140
|
-
* Helper type for edge components that get exported by the library
|
|
141
|
-
* @public
|
|
142
|
-
* @expand
|
|
143
|
-
*/
|
|
144
|
-
export type EdgeComponentProps = EdgePosition & EdgeLabelOptions & {
|
|
145
|
-
id?: EdgeProps['id'];
|
|
146
|
-
markerStart?: EdgeProps['markerStart'];
|
|
147
|
-
markerEnd?: EdgeProps['markerEnd'];
|
|
148
|
-
interactionWidth?: EdgeProps['interactionWidth'];
|
|
149
|
-
style?: EdgeProps['style'];
|
|
150
|
-
sourceHandleId?: EdgeProps['sourceHandleId'];
|
|
151
|
-
targetHandleId?: EdgeProps['targetHandleId'];
|
|
152
|
-
};
|
|
153
|
-
export type EdgeComponentWithPathOptions<PathOptions> = EdgeComponentProps & {
|
|
154
|
-
pathOptions?: PathOptions;
|
|
155
|
-
};
|
|
156
|
-
/**
|
|
157
|
-
* BezierEdge component props
|
|
158
|
-
* @public
|
|
159
|
-
* @expand
|
|
160
|
-
*/
|
|
161
|
-
export type BezierEdgeProps = EdgeComponentWithPathOptions<BezierPathOptions>;
|
|
162
|
-
/**
|
|
163
|
-
* SmoothStepEdge component props
|
|
164
|
-
* @public
|
|
165
|
-
* @expand
|
|
166
|
-
*/
|
|
167
|
-
export type SmoothStepEdgeProps = EdgeComponentWithPathOptions<SmoothStepPathOptions>;
|
|
168
|
-
/**
|
|
169
|
-
* StepEdge component props
|
|
170
|
-
* @public
|
|
171
|
-
* @expand
|
|
172
|
-
*/
|
|
173
|
-
export type StepEdgeProps = EdgeComponentWithPathOptions<StepPathOptions>;
|
|
174
|
-
/**
|
|
175
|
-
* StraightEdge component props
|
|
176
|
-
* @public
|
|
177
|
-
* @expand
|
|
178
|
-
*/
|
|
179
|
-
export type StraightEdgeProps = Omit<EdgeComponentProps, 'sourcePosition' | 'targetPosition'>;
|
|
180
|
-
/**
|
|
181
|
-
* SimpleBezier component props
|
|
182
|
-
* @public
|
|
183
|
-
* @expand
|
|
184
|
-
*/
|
|
185
|
-
export type SimpleBezierEdgeProps = EdgeComponentProps;
|
|
186
|
-
/**
|
|
187
|
-
* If you want to render a custom component for connection lines, you can set the
|
|
188
|
-
* `connectionLineComponent` prop on the [`<ReactFlow />`](/api-reference/react-flow#connection-connectionLineComponent)
|
|
189
|
-
* component. The `ConnectionLineComponentProps` are passed to your custom component.
|
|
190
|
-
*
|
|
191
|
-
* @public
|
|
192
|
-
*/
|
|
193
|
-
export type ConnectionLineComponentProps<NodeType extends Node = Node> = {
|
|
194
|
-
connectionLineStyle?: CSSProperties;
|
|
195
|
-
connectionLineType: ConnectionLineType;
|
|
196
|
-
/** The node the connection line originates from. */
|
|
197
|
-
fromNode: InternalNode<NodeType>;
|
|
198
|
-
/** The handle on the `fromNode` that the connection line originates from. */
|
|
199
|
-
fromHandle: Handle;
|
|
200
|
-
fromX: number;
|
|
201
|
-
fromY: number;
|
|
202
|
-
toX: number;
|
|
203
|
-
toY: number;
|
|
204
|
-
fromPosition: Position;
|
|
205
|
-
toPosition: Position;
|
|
206
|
-
/**
|
|
207
|
-
* If there is an `isValidConnection` callback, this prop will be set to `"valid"` or `"invalid"`
|
|
208
|
-
* based on the return value of that callback. Otherwise, it will be `null`.
|
|
209
|
-
*/
|
|
210
|
-
connectionStatus: 'valid' | 'invalid' | null;
|
|
211
|
-
toNode: InternalNode<NodeType> | null;
|
|
212
|
-
toHandle: Handle | null;
|
|
213
|
-
pointer: XYPosition;
|
|
214
|
-
};
|
|
215
|
-
export type ConnectionLineComponent<NodeType extends Node = Node> = ComponentType<ConnectionLineComponentProps<NodeType>>;
|
|
216
|
-
export {};
|
|
217
|
-
//# sourceMappingURL=edges.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"edges.d.ts","sourceRoot":"","sources":["../../src/types/edges.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,179 +0,0 @@
|
|
|
1
|
-
import { ComponentType } from 'react';
|
|
2
|
-
import { FitViewParamsBase, FitViewOptionsBase, ZoomInOut, ZoomTo, SetViewport, GetZoom, GetViewport, SetCenter, FitBounds, XYPosition, OnBeforeDeleteBase, Connection, NodeChange, EdgeChange, SnapGrid } from '@xyflow/system';
|
|
3
|
-
import type { Node, Edge, ReactFlowInstance, EdgeProps, NodeProps } from '.';
|
|
4
|
-
/**
|
|
5
|
-
* This type can be used to type the `onNodesChange` function with a custom node type.
|
|
6
|
-
*
|
|
7
|
-
* @public
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
*
|
|
11
|
-
* ```ts
|
|
12
|
-
* const onNodesChange: OnNodesChange<MyNodeType> = useCallback((changes) => {
|
|
13
|
-
* setNodes((nodes) => applyNodeChanges(nodes, changes));
|
|
14
|
-
* },[]);
|
|
15
|
-
* ```
|
|
16
|
-
*/
|
|
17
|
-
export type OnNodesChange<NodeType extends Node = Node> = (changes: NodeChange<NodeType>[]) => void;
|
|
18
|
-
/**
|
|
19
|
-
* This type can be used to type the `onEdgesChange` function with a custom edge type.
|
|
20
|
-
*
|
|
21
|
-
* @public
|
|
22
|
-
*
|
|
23
|
-
* @example
|
|
24
|
-
*
|
|
25
|
-
* ```ts
|
|
26
|
-
* const onEdgesChange: OnEdgesChange<MyEdgeType> = useCallback((changes) => {
|
|
27
|
-
* setEdges((edges) => applyEdgeChanges(edges, changes));
|
|
28
|
-
* },[]);
|
|
29
|
-
* ```
|
|
30
|
-
*/
|
|
31
|
-
export type OnEdgesChange<EdgeType extends Edge = Edge> = (changes: EdgeChange<EdgeType>[]) => void;
|
|
32
|
-
export type OnNodesDelete<NodeType extends Node = Node> = (nodes: NodeType[]) => void;
|
|
33
|
-
export type OnEdgesDelete<EdgeType extends Edge = Edge> = (edges: EdgeType[]) => void;
|
|
34
|
-
/**
|
|
35
|
-
* This type can be used to type the `onDelete` function with a custom node and edge type.
|
|
36
|
-
*
|
|
37
|
-
* @public
|
|
38
|
-
*/
|
|
39
|
-
export type OnDelete<NodeType extends Node = Node, EdgeType extends Edge = Edge> = (params: {
|
|
40
|
-
nodes: NodeType[];
|
|
41
|
-
edges: EdgeType[];
|
|
42
|
-
}) => void;
|
|
43
|
-
export type NodeTypes = Record<string, ComponentType<NodeProps & {
|
|
44
|
-
data: any;
|
|
45
|
-
type: any;
|
|
46
|
-
}>>;
|
|
47
|
-
export type EdgeTypes = Record<string, ComponentType<EdgeProps & {
|
|
48
|
-
data: any;
|
|
49
|
-
type: any;
|
|
50
|
-
}>>;
|
|
51
|
-
export type UnselectNodesAndEdgesParams<NodeType extends Node = Node, EdgeType extends Edge = Edge> = {
|
|
52
|
-
nodes?: NodeType[];
|
|
53
|
-
edges?: EdgeType[];
|
|
54
|
-
};
|
|
55
|
-
export type OnSelectionChangeParams<NodeType extends Node = Node, EdgeType extends Edge = Edge> = {
|
|
56
|
-
nodes: NodeType[];
|
|
57
|
-
edges: EdgeType[];
|
|
58
|
-
};
|
|
59
|
-
export type OnSelectionChangeFunc<NodeType extends Node = Node, EdgeType extends Edge = Edge> = (params: OnSelectionChangeParams<NodeType, EdgeType>) => void;
|
|
60
|
-
/**
|
|
61
|
-
* @inline
|
|
62
|
-
*/
|
|
63
|
-
export type FitViewParams<NodeType extends Node = Node> = FitViewParamsBase<NodeType>;
|
|
64
|
-
/**
|
|
65
|
-
* When calling [`fitView`](/api-reference/types/react-flow-instance#fitview) these options
|
|
66
|
-
* can be used to customize the behaviour. For example, the `duration` option can be used to
|
|
67
|
-
* transform the viewport smoothly over a given amount of time.
|
|
68
|
-
*
|
|
69
|
-
* @public
|
|
70
|
-
* @inline
|
|
71
|
-
*/
|
|
72
|
-
export type FitViewOptions<NodeType extends Node = Node> = FitViewOptionsBase<NodeType>;
|
|
73
|
-
/**
|
|
74
|
-
* @inline
|
|
75
|
-
*/
|
|
76
|
-
export type FitView<NodeType extends Node = Node> = (fitViewOptions?: FitViewOptions<NodeType>) => Promise<boolean>;
|
|
77
|
-
/**
|
|
78
|
-
* @inline
|
|
79
|
-
*/
|
|
80
|
-
export type OnInit<NodeType extends Node = Node, EdgeType extends Edge = Edge> = (reactFlowInstance: ReactFlowInstance<NodeType, EdgeType>) => void;
|
|
81
|
-
/**
|
|
82
|
-
* @inline
|
|
83
|
-
*/
|
|
84
|
-
export type ViewportHelperFunctions = {
|
|
85
|
-
/**
|
|
86
|
-
* Zooms viewport in by 1.2.
|
|
87
|
-
*
|
|
88
|
-
* @param options.duration - optional duration. If set, a transition will be applied
|
|
89
|
-
*/
|
|
90
|
-
zoomIn: ZoomInOut;
|
|
91
|
-
/**
|
|
92
|
-
* Zooms viewport out by 1 / 1.2.
|
|
93
|
-
*
|
|
94
|
-
* @param options.duration - optional duration. If set, a transition will be applied
|
|
95
|
-
*/
|
|
96
|
-
zoomOut: ZoomInOut;
|
|
97
|
-
/**
|
|
98
|
-
* Zoom the viewport to a given zoom level. Passing in a `duration` will animate the viewport to
|
|
99
|
-
* the new zoom level.
|
|
100
|
-
*
|
|
101
|
-
* @param zoomLevel - the zoom level to set
|
|
102
|
-
* @param options.duration - optional duration. If set, a transition will be applied
|
|
103
|
-
*/
|
|
104
|
-
zoomTo: ZoomTo;
|
|
105
|
-
/**
|
|
106
|
-
* Get the current zoom level of the viewport.
|
|
107
|
-
*
|
|
108
|
-
* @returns current zoom as a number
|
|
109
|
-
*/
|
|
110
|
-
getZoom: GetZoom;
|
|
111
|
-
/**
|
|
112
|
-
* Sets the current viewport.
|
|
113
|
-
*
|
|
114
|
-
* @param viewport - the viewport to set
|
|
115
|
-
* @param options.duration - optional duration. If set, a transition will be applied
|
|
116
|
-
* @param options.ease - optional ease function.
|
|
117
|
-
*/
|
|
118
|
-
setViewport: SetViewport;
|
|
119
|
-
/**
|
|
120
|
-
* Returns the current viewport.
|
|
121
|
-
*
|
|
122
|
-
* @returns Viewport
|
|
123
|
-
*/
|
|
124
|
-
getViewport: GetViewport;
|
|
125
|
-
/**
|
|
126
|
-
* Center the viewport on a given position. Passing in a `duration` will animate the viewport to
|
|
127
|
-
* the new position.
|
|
128
|
-
*
|
|
129
|
-
* @param x - x position
|
|
130
|
-
* @param y - y position
|
|
131
|
-
* @param options.zoom - optional zoom
|
|
132
|
-
* @param options.duration - optional duration. If set, a transition will be applied
|
|
133
|
-
* @param options.ease - optional ease function.
|
|
134
|
-
*/
|
|
135
|
-
setCenter: SetCenter;
|
|
136
|
-
/**
|
|
137
|
-
* A low-level utility function to fit the viewport to a given rectangle. By passing in a
|
|
138
|
-
* `duration`, the viewport will animate from its current position to the new position. The
|
|
139
|
-
* `padding` option can be used to add space around the bounds.
|
|
140
|
-
*
|
|
141
|
-
* @param bounds - the bounds ({ x: number, y: number, width: number, height: number }) to fit the view to
|
|
142
|
-
* @param options.padding - optional padding
|
|
143
|
-
* @param options.duration - optional duration. If set, a transition will be applied
|
|
144
|
-
* @param options.ease - optional ease function.
|
|
145
|
-
*/
|
|
146
|
-
fitBounds: FitBounds;
|
|
147
|
-
/**
|
|
148
|
-
* With this function you can translate a screen pixel position to a flow position. It is useful
|
|
149
|
-
* for implementing drag and drop from a sidebar for example.
|
|
150
|
-
*
|
|
151
|
-
* @param clientPosition - the screen / client position. When you are working with events you can use event.clientX and event.clientY
|
|
152
|
-
* @param options.snapToGrid - if true, the converted position will be snapped to the grid
|
|
153
|
-
* @returns position as { x: number, y: number }
|
|
154
|
-
*
|
|
155
|
-
* @example
|
|
156
|
-
* const flowPosition = screenToFlowPosition({ x: event.clientX, y: event.clientY })
|
|
157
|
-
*/
|
|
158
|
-
screenToFlowPosition: (clientPosition: XYPosition, options?: {
|
|
159
|
-
snapToGrid?: boolean;
|
|
160
|
-
snapGrid?: SnapGrid;
|
|
161
|
-
}) => XYPosition;
|
|
162
|
-
/**
|
|
163
|
-
* Translate a position inside the flow's canvas to a screen pixel position.
|
|
164
|
-
*
|
|
165
|
-
* @param flowPosition - the screen / client position. When you are working with events you can use event.clientX and event.clientY
|
|
166
|
-
* @returns position as { x: number, y: number }
|
|
167
|
-
*
|
|
168
|
-
* @example
|
|
169
|
-
* const clientPosition = flowToScreenPosition({ x: node.position.x, y: node.position.y })
|
|
170
|
-
*/
|
|
171
|
-
flowToScreenPosition: (flowPosition: XYPosition) => XYPosition;
|
|
172
|
-
};
|
|
173
|
-
export type OnBeforeDelete<NodeType extends Node = Node, EdgeType extends Edge = Edge> = OnBeforeDeleteBase<NodeType, EdgeType>;
|
|
174
|
-
/**
|
|
175
|
-
* This type can be used to type the `isValidConnection` function.
|
|
176
|
-
* If the function returns `true`, the connection is valid and can be created.
|
|
177
|
-
*/
|
|
178
|
-
export type IsValidConnection<EdgeType extends Edge = Edge> = (edge: EdgeType | Connection) => boolean;
|
|
179
|
-
//# sourceMappingURL=general.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"general.d.ts","sourceRoot":"","sources":["../../src/types/general.ts"],"names":[],"mappings":"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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC"}
|
|
@@ -1,242 +0,0 @@
|
|
|
1
|
-
import type { HandleConnection, HandleType, NodeConnection, Rect, Viewport } from '@xyflow/system';
|
|
2
|
-
import type { Node, Edge, ViewportHelperFunctions, InternalNode, FitView } from '.';
|
|
3
|
-
export type ReactFlowJsonObject<NodeType extends Node = Node, EdgeType extends Edge = Edge> = {
|
|
4
|
-
nodes: NodeType[];
|
|
5
|
-
edges: EdgeType[];
|
|
6
|
-
viewport: Viewport;
|
|
7
|
-
};
|
|
8
|
-
export type DeleteElementsOptions = {
|
|
9
|
-
nodes?: (Node | {
|
|
10
|
-
id: Node['id'];
|
|
11
|
-
})[];
|
|
12
|
-
edges?: (Edge | {
|
|
13
|
-
id: Edge['id'];
|
|
14
|
-
})[];
|
|
15
|
-
};
|
|
16
|
-
/**
|
|
17
|
-
* @inline
|
|
18
|
-
*/
|
|
19
|
-
export type GeneralHelpers<NodeType extends Node = Node, EdgeType extends Edge = Edge> = {
|
|
20
|
-
/**
|
|
21
|
-
* Returns nodes.
|
|
22
|
-
*
|
|
23
|
-
* @returns nodes array
|
|
24
|
-
*/
|
|
25
|
-
getNodes: () => NodeType[];
|
|
26
|
-
/**
|
|
27
|
-
* Set your nodes array to something else by either overwriting it with a new array or by passing
|
|
28
|
-
* in a function to update the existing array. If using a function, it is important to make sure a
|
|
29
|
-
* new array is returned instead of mutating the existing array. Calling this function will
|
|
30
|
-
* trigger the `onNodesChange` handler in a controlled flow.
|
|
31
|
-
*
|
|
32
|
-
* @param payload - the nodes to set or a function that receives the current nodes and returns the new nodes
|
|
33
|
-
*/
|
|
34
|
-
setNodes: (payload: NodeType[] | ((nodes: NodeType[]) => NodeType[])) => void;
|
|
35
|
-
/**
|
|
36
|
-
* Add one or many nodes to your existing nodes array. Calling this function will trigger the
|
|
37
|
-
* `onNodesChange` handler in a controlled flow.
|
|
38
|
-
*
|
|
39
|
-
* @param payload - the nodes to add
|
|
40
|
-
*/
|
|
41
|
-
addNodes: (payload: NodeType[] | NodeType) => void;
|
|
42
|
-
/**
|
|
43
|
-
* Returns a node by id.
|
|
44
|
-
*
|
|
45
|
-
* @param id - the node id
|
|
46
|
-
* @returns the node or undefined if no node was found
|
|
47
|
-
*/
|
|
48
|
-
getNode: (id: string) => NodeType | undefined;
|
|
49
|
-
/**
|
|
50
|
-
* Returns an internal node by id.
|
|
51
|
-
*
|
|
52
|
-
* @param id - the node id
|
|
53
|
-
* @returns the internal node or undefined if no node was found
|
|
54
|
-
*/
|
|
55
|
-
getInternalNode: (id: string) => InternalNode<NodeType> | undefined;
|
|
56
|
-
/**
|
|
57
|
-
* Returns edges.
|
|
58
|
-
*
|
|
59
|
-
* @returns edges array
|
|
60
|
-
*/
|
|
61
|
-
getEdges: () => EdgeType[];
|
|
62
|
-
/**
|
|
63
|
-
* Set your edges array to something else by either overwriting it with a new array or by passing
|
|
64
|
-
* in a function to update the existing array. If using a function, it is important to make sure a
|
|
65
|
-
* new array is returned instead of mutating the existing array. Calling this function will
|
|
66
|
-
* trigger the `onEdgesChange` handler in a controlled flow.
|
|
67
|
-
*
|
|
68
|
-
* @param payload - the edges to set or a function that receives the current edges and returns the new edges
|
|
69
|
-
*/
|
|
70
|
-
setEdges: (payload: EdgeType[] | ((edges: EdgeType[]) => EdgeType[])) => void;
|
|
71
|
-
/**
|
|
72
|
-
* Add one or many edges to your existing edges array. Calling this function will trigger the
|
|
73
|
-
* `onEdgesChange` handler in a controlled flow.
|
|
74
|
-
*
|
|
75
|
-
* @param payload - the edges to add
|
|
76
|
-
*/
|
|
77
|
-
addEdges: (payload: EdgeType[] | EdgeType) => void;
|
|
78
|
-
/**
|
|
79
|
-
* Returns an edge by id.
|
|
80
|
-
*
|
|
81
|
-
* @param id - the edge id
|
|
82
|
-
* @returns the edge or undefined if no edge was found
|
|
83
|
-
*/
|
|
84
|
-
getEdge: (id: string) => EdgeType | undefined;
|
|
85
|
-
/**
|
|
86
|
-
* Returns the nodes, edges and the viewport as a JSON object.
|
|
87
|
-
*
|
|
88
|
-
* @returns the nodes, edges and the viewport as a JSON object
|
|
89
|
-
*/
|
|
90
|
-
toObject: () => ReactFlowJsonObject<NodeType, EdgeType>;
|
|
91
|
-
/**
|
|
92
|
-
* Deletes nodes and edges.
|
|
93
|
-
*
|
|
94
|
-
* @param params.nodes - optional nodes array to delete
|
|
95
|
-
* @param params.edges - optional edges array to delete
|
|
96
|
-
*
|
|
97
|
-
* @returns a promise that resolves with the deleted nodes and edges
|
|
98
|
-
*/
|
|
99
|
-
deleteElements: (params: DeleteElementsOptions) => Promise<{
|
|
100
|
-
deletedNodes: Node[];
|
|
101
|
-
deletedEdges: Edge[];
|
|
102
|
-
}>;
|
|
103
|
-
/**
|
|
104
|
-
* Find all the nodes currently intersecting with a given node or rectangle. The `partially`
|
|
105
|
-
* parameter can be set to `true` to include nodes that are only partially intersecting.
|
|
106
|
-
*
|
|
107
|
-
* @param node - the node or rect to check for intersections
|
|
108
|
-
* @param partially - true by default, if set to false, only nodes that are fully intersecting will be returned
|
|
109
|
-
* @param nodes - optional nodes array to check for intersections
|
|
110
|
-
*
|
|
111
|
-
* @returns an array of intersecting nodes
|
|
112
|
-
*/
|
|
113
|
-
getIntersectingNodes: (node: NodeType | {
|
|
114
|
-
id: Node['id'];
|
|
115
|
-
} | Rect, partially?: boolean, nodes?: NodeType[]) => NodeType[];
|
|
116
|
-
/**
|
|
117
|
-
* Determine if a given node or rectangle is intersecting with another rectangle. The `partially`
|
|
118
|
-
* parameter can be set to true return `true` even if the node is only partially intersecting.
|
|
119
|
-
*
|
|
120
|
-
* @param node - the node or rect to check for intersections
|
|
121
|
-
* @param area - the rect to check for intersections
|
|
122
|
-
* @param partially - if true, the node is considered to be intersecting if it partially overlaps with the passed react
|
|
123
|
-
*
|
|
124
|
-
* @returns true if the node or rect intersects with the given area
|
|
125
|
-
*/
|
|
126
|
-
isNodeIntersecting: (node: NodeType | {
|
|
127
|
-
id: Node['id'];
|
|
128
|
-
} | Rect, area: Rect, partially?: boolean) => boolean;
|
|
129
|
-
/**
|
|
130
|
-
* Updates a node.
|
|
131
|
-
*
|
|
132
|
-
* @param id - id of the node to update
|
|
133
|
-
* @param nodeUpdate - the node update as an object or a function that receives the current node and returns the node update
|
|
134
|
-
* @param options.replace - if true, the node is replaced with the node update, otherwise the changes get merged
|
|
135
|
-
*
|
|
136
|
-
* @example
|
|
137
|
-
* updateNode('node-1', (node) => ({ position: { x: node.position.x + 10, y: node.position.y } }));
|
|
138
|
-
*/
|
|
139
|
-
updateNode: (id: string, nodeUpdate: Partial<NodeType> | ((node: NodeType) => Partial<NodeType>), options?: {
|
|
140
|
-
replace: boolean;
|
|
141
|
-
}) => void;
|
|
142
|
-
/**
|
|
143
|
-
* Updates the data attribute of a node.
|
|
144
|
-
*
|
|
145
|
-
* @param id - id of the node to update
|
|
146
|
-
* @param dataUpdate - the data update as an object or a function that receives the current data and returns the data update
|
|
147
|
-
* @param options.replace - if true, the data is replaced with the data update, otherwise the changes get merged
|
|
148
|
-
*
|
|
149
|
-
* @example
|
|
150
|
-
* updateNodeData('node-1', { label: 'A new label' });
|
|
151
|
-
*/
|
|
152
|
-
updateNodeData: (id: string, dataUpdate: Partial<NodeType['data']> | ((node: NodeType) => Partial<NodeType['data']>), options?: {
|
|
153
|
-
replace: boolean;
|
|
154
|
-
}) => void;
|
|
155
|
-
/**
|
|
156
|
-
* Updates an edge.
|
|
157
|
-
*
|
|
158
|
-
* @param id - id of the edge to update
|
|
159
|
-
* @param edgeUpdate - the edge update as an object or a function that receives the current edge and returns the edge update
|
|
160
|
-
* @param options.replace - if true, the edge is replaced with the edge update, otherwise the changes get merged
|
|
161
|
-
*
|
|
162
|
-
* @example
|
|
163
|
-
* updateEdge('edge-1', (edge) => ({ label: 'A new label' }));
|
|
164
|
-
*/
|
|
165
|
-
updateEdge: (id: string, edgeUpdate: Partial<EdgeType> | ((edge: EdgeType) => Partial<EdgeType>), options?: {
|
|
166
|
-
replace: boolean;
|
|
167
|
-
}) => void;
|
|
168
|
-
/**
|
|
169
|
-
* Updates the data attribute of a edge.
|
|
170
|
-
*
|
|
171
|
-
* @param id - id of the edge to update
|
|
172
|
-
* @param dataUpdate - the data update as an object or a function that receives the current data and returns the data update
|
|
173
|
-
* @param options.replace - if true, the data is replaced with the data update, otherwise the changes get merged
|
|
174
|
-
*
|
|
175
|
-
* @example
|
|
176
|
-
* updateEdgeData('edge-1', { label: 'A new label' });
|
|
177
|
-
*/
|
|
178
|
-
updateEdgeData: (id: string, dataUpdate: Partial<EdgeType['data']> | ((edge: EdgeType) => Partial<EdgeType['data']>), options?: {
|
|
179
|
-
replace: boolean;
|
|
180
|
-
}) => void;
|
|
181
|
-
/**
|
|
182
|
-
* Returns the bounds of the given nodes or node ids.
|
|
183
|
-
*
|
|
184
|
-
* @param nodes - the nodes or node ids to calculate the bounds for
|
|
185
|
-
*
|
|
186
|
-
* @returns the bounds of the given nodes
|
|
187
|
-
*/
|
|
188
|
-
getNodesBounds: (nodes: (NodeType | InternalNode | string)[]) => Rect;
|
|
189
|
-
/**
|
|
190
|
-
* Get all the connections of a handle belonging to a specific node. The type parameter be either
|
|
191
|
-
* `'source'` or `'target'`.
|
|
192
|
-
* @deprecated
|
|
193
|
-
* @param type - handle type 'source' or 'target'
|
|
194
|
-
* @param id - the handle id (this is only needed if you have multiple handles of the same type, meaning you have to provide a unique id for each handle)
|
|
195
|
-
* @param nodeId - the node id the handle belongs to
|
|
196
|
-
* @returns an array with handle connections
|
|
197
|
-
*/
|
|
198
|
-
getHandleConnections: ({ type, id, nodeId, }: {
|
|
199
|
-
type: HandleType;
|
|
200
|
-
nodeId: string;
|
|
201
|
-
id?: string | null;
|
|
202
|
-
}) => HandleConnection[];
|
|
203
|
-
/**
|
|
204
|
-
* Gets all connections to a node. Can be filtered by handle type and id.
|
|
205
|
-
* @param type - handle type 'source' or 'target'
|
|
206
|
-
* @param handleId - the handle id (this is only needed if you have multiple handles of the same type, meaning you have to provide a unique id for each handle)
|
|
207
|
-
* @param nodeId - the node id the handle belongs to
|
|
208
|
-
* @returns an array with handle connections
|
|
209
|
-
*/
|
|
210
|
-
getNodeConnections: ({ type, handleId, nodeId, }: {
|
|
211
|
-
type?: HandleType;
|
|
212
|
-
nodeId: string;
|
|
213
|
-
handleId?: string | null;
|
|
214
|
-
}) => NodeConnection[];
|
|
215
|
-
/**
|
|
216
|
-
* Fits the view based on the passed params. By default it fits the view to all nodes.
|
|
217
|
-
*
|
|
218
|
-
* @param options.padding - optional padding
|
|
219
|
-
* @param options.nodes - optional nodes to fit the view to
|
|
220
|
-
* @param options.minZoom - optional minZoom
|
|
221
|
-
* @param options.maxZoom - optional maxZoom
|
|
222
|
-
* @param options.duration - optional duration. If set, a transition will be applied
|
|
223
|
-
* @param options.includeHiddenNodes - optional includeHiddenNodes
|
|
224
|
-
*/
|
|
225
|
-
fitView: FitView<NodeType>;
|
|
226
|
-
};
|
|
227
|
-
/**
|
|
228
|
-
* The `ReactFlowInstance` provides a collection of methods to query and manipulate
|
|
229
|
-
* the internal state of your flow. You can get an instance by using the
|
|
230
|
-
* [`useReactFlow`](/api-reference/hooks/use-react-flow) hook or attaching a listener
|
|
231
|
-
* to the [`onInit`](/api-reference/react-flow#event-oninit) event.
|
|
232
|
-
*
|
|
233
|
-
* @public
|
|
234
|
-
*/
|
|
235
|
-
export type ReactFlowInstance<NodeType extends Node = Node, EdgeType extends Edge = Edge> = GeneralHelpers<NodeType, EdgeType> & ViewportHelperFunctions & {
|
|
236
|
-
/**
|
|
237
|
-
* React Flow needs to mount the viewport to the DOM and initialize its zoom and pan behavior.
|
|
238
|
-
* This property tells you when viewport is initialized.
|
|
239
|
-
*/
|
|
240
|
-
viewportInitialized: boolean;
|
|
241
|
-
};
|
|
242
|
-
//# sourceMappingURL=instance.d.ts.map
|