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,609 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
function _extends() {
|
|
4
|
-
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
5
|
-
for (var e = 1; e < arguments.length; e++) {
|
|
6
|
-
var t = arguments[e];
|
|
7
|
-
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
8
|
-
}
|
|
9
|
-
return n;
|
|
10
|
-
}, _extends.apply(null, arguments);
|
|
11
|
-
}
|
|
12
|
-
function _objectWithoutPropertiesLoose(r, e) {
|
|
13
|
-
if (null == r) return {};
|
|
14
|
-
var t = {};
|
|
15
|
-
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
16
|
-
if (e.includes(n)) continue;
|
|
17
|
-
t[n] = r[n];
|
|
18
|
-
}
|
|
19
|
-
return t;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
var reduxImpl = function reduxImpl(reducer, initial) {
|
|
23
|
-
return function (set, _get, api) {
|
|
24
|
-
api.dispatch = function (action) {
|
|
25
|
-
set(function (state) {
|
|
26
|
-
return reducer(state, action);
|
|
27
|
-
}, false, action);
|
|
28
|
-
return action;
|
|
29
|
-
};
|
|
30
|
-
api.dispatchFromDevtools = true;
|
|
31
|
-
return _extends({
|
|
32
|
-
dispatch: function dispatch() {
|
|
33
|
-
var _ref;
|
|
34
|
-
return (_ref = api).dispatch.apply(_ref, arguments);
|
|
35
|
-
}
|
|
36
|
-
}, initial);
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
var redux = reduxImpl;
|
|
40
|
-
|
|
41
|
-
var _excluded = ["enabled", "anonymousActionType", "store"],
|
|
42
|
-
_excluded2 = ["connection"];
|
|
43
|
-
var trackedConnections = new Map();
|
|
44
|
-
var getTrackedConnectionState = function getTrackedConnectionState(name) {
|
|
45
|
-
var api = trackedConnections.get(name);
|
|
46
|
-
if (!api) return {};
|
|
47
|
-
return Object.fromEntries(Object.entries(api.stores).map(function (_ref) {
|
|
48
|
-
var key = _ref[0],
|
|
49
|
-
api = _ref[1];
|
|
50
|
-
return [key, api.getState()];
|
|
51
|
-
}));
|
|
52
|
-
};
|
|
53
|
-
var extractConnectionInformation = function extractConnectionInformation(store, extensionConnector, options) {
|
|
54
|
-
if (store === undefined) {
|
|
55
|
-
return {
|
|
56
|
-
type: 'untracked',
|
|
57
|
-
connection: extensionConnector.connect(options)
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
var existingConnection = trackedConnections.get(options.name);
|
|
61
|
-
if (existingConnection) {
|
|
62
|
-
return _extends({
|
|
63
|
-
type: 'tracked',
|
|
64
|
-
store: store
|
|
65
|
-
}, existingConnection);
|
|
66
|
-
}
|
|
67
|
-
var newConnection = {
|
|
68
|
-
connection: extensionConnector.connect(options),
|
|
69
|
-
stores: {}
|
|
70
|
-
};
|
|
71
|
-
trackedConnections.set(options.name, newConnection);
|
|
72
|
-
return _extends({
|
|
73
|
-
type: 'tracked',
|
|
74
|
-
store: store
|
|
75
|
-
}, newConnection);
|
|
76
|
-
};
|
|
77
|
-
var devtoolsImpl = function devtoolsImpl(fn, devtoolsOptions) {
|
|
78
|
-
if (devtoolsOptions === void 0) {
|
|
79
|
-
devtoolsOptions = {};
|
|
80
|
-
}
|
|
81
|
-
return function (set, get, api) {
|
|
82
|
-
var _devtoolsOptions = devtoolsOptions,
|
|
83
|
-
enabled = _devtoolsOptions.enabled,
|
|
84
|
-
anonymousActionType = _devtoolsOptions.anonymousActionType,
|
|
85
|
-
store = _devtoolsOptions.store,
|
|
86
|
-
options = _objectWithoutPropertiesLoose(_devtoolsOptions, _excluded);
|
|
87
|
-
var extensionConnector;
|
|
88
|
-
try {
|
|
89
|
-
extensionConnector = (enabled != null ? enabled : process.env.NODE_ENV !== 'production') && window.__REDUX_DEVTOOLS_EXTENSION__;
|
|
90
|
-
} catch (_e) {}
|
|
91
|
-
if (!extensionConnector) {
|
|
92
|
-
if (process.env.NODE_ENV !== 'production' && enabled) {
|
|
93
|
-
console.warn('[zustand devtools middleware] Please install/enable Redux devtools extension');
|
|
94
|
-
}
|
|
95
|
-
return fn(set, get, api);
|
|
96
|
-
}
|
|
97
|
-
var _extractConnectionInf = extractConnectionInformation(store, extensionConnector, options),
|
|
98
|
-
connection = _extractConnectionInf.connection,
|
|
99
|
-
connectionInformation = _objectWithoutPropertiesLoose(_extractConnectionInf, _excluded2);
|
|
100
|
-
var isRecording = true;
|
|
101
|
-
api.setState = function (state, replace, nameOrAction) {
|
|
102
|
-
var _extends2;
|
|
103
|
-
var r = set(state, replace);
|
|
104
|
-
if (!isRecording) return r;
|
|
105
|
-
var action = nameOrAction === undefined ? {
|
|
106
|
-
type: anonymousActionType || 'anonymous'
|
|
107
|
-
} : typeof nameOrAction === 'string' ? {
|
|
108
|
-
type: nameOrAction
|
|
109
|
-
} : nameOrAction;
|
|
110
|
-
if (store === undefined) {
|
|
111
|
-
connection == null || connection.send(action, get());
|
|
112
|
-
return r;
|
|
113
|
-
}
|
|
114
|
-
connection == null || connection.send(_extends({}, action, {
|
|
115
|
-
type: store + "/" + action.type
|
|
116
|
-
}), _extends({}, getTrackedConnectionState(options.name), (_extends2 = {}, _extends2[store] = api.getState(), _extends2)));
|
|
117
|
-
return r;
|
|
118
|
-
};
|
|
119
|
-
var setStateFromDevtools = function setStateFromDevtools() {
|
|
120
|
-
var originalIsRecording = isRecording;
|
|
121
|
-
isRecording = false;
|
|
122
|
-
set.apply(void 0, arguments);
|
|
123
|
-
isRecording = originalIsRecording;
|
|
124
|
-
};
|
|
125
|
-
var initialState = fn(api.setState, get, api);
|
|
126
|
-
if (connectionInformation.type === 'untracked') {
|
|
127
|
-
connection == null || connection.init(initialState);
|
|
128
|
-
} else {
|
|
129
|
-
connectionInformation.stores[connectionInformation.store] = api;
|
|
130
|
-
connection == null || connection.init(Object.fromEntries(Object.entries(connectionInformation.stores).map(function (_ref2) {
|
|
131
|
-
var key = _ref2[0],
|
|
132
|
-
store = _ref2[1];
|
|
133
|
-
return [key, key === connectionInformation.store ? initialState : store.getState()];
|
|
134
|
-
})));
|
|
135
|
-
}
|
|
136
|
-
if (api.dispatchFromDevtools && typeof api.dispatch === 'function') {
|
|
137
|
-
var didWarnAboutReservedActionType = false;
|
|
138
|
-
var originalDispatch = api.dispatch;
|
|
139
|
-
api.dispatch = function () {
|
|
140
|
-
for (var _len = arguments.length, a = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
141
|
-
a[_key] = arguments[_key];
|
|
142
|
-
}
|
|
143
|
-
if (process.env.NODE_ENV !== 'production' && a[0].type === '__setState' && !didWarnAboutReservedActionType) {
|
|
144
|
-
console.warn('[zustand devtools middleware] "__setState" action type is reserved ' + 'to set state from the devtools. Avoid using it.');
|
|
145
|
-
didWarnAboutReservedActionType = true;
|
|
146
|
-
}
|
|
147
|
-
originalDispatch.apply(void 0, a);
|
|
148
|
-
};
|
|
149
|
-
}
|
|
150
|
-
connection.subscribe(function (message) {
|
|
151
|
-
switch (message.type) {
|
|
152
|
-
case 'ACTION':
|
|
153
|
-
if (typeof message.payload !== 'string') {
|
|
154
|
-
console.error('[zustand devtools middleware] Unsupported action format');
|
|
155
|
-
return;
|
|
156
|
-
}
|
|
157
|
-
return parseJsonThen(message.payload, function (action) {
|
|
158
|
-
if (action.type === '__setState') {
|
|
159
|
-
if (store === undefined) {
|
|
160
|
-
setStateFromDevtools(action.state);
|
|
161
|
-
return;
|
|
162
|
-
}
|
|
163
|
-
if (Object.keys(action.state).length !== 1) {
|
|
164
|
-
console.error("\n [zustand devtools middleware] Unsupported __setState action format. \n When using 'store' option in devtools(), the 'state' should have only one key, which is a value of 'store' that was passed in devtools(),\n and value of this only key should be a state object. Example: { \"type\": \"__setState\", \"state\": { \"abc123Store\": { \"foo\": \"bar\" } } }\n ");
|
|
165
|
-
}
|
|
166
|
-
var stateFromDevtools = action.state[store];
|
|
167
|
-
if (stateFromDevtools === undefined || stateFromDevtools === null) {
|
|
168
|
-
return;
|
|
169
|
-
}
|
|
170
|
-
if (JSON.stringify(api.getState()) !== JSON.stringify(stateFromDevtools)) {
|
|
171
|
-
setStateFromDevtools(stateFromDevtools);
|
|
172
|
-
}
|
|
173
|
-
return;
|
|
174
|
-
}
|
|
175
|
-
if (!api.dispatchFromDevtools) return;
|
|
176
|
-
if (typeof api.dispatch !== 'function') return;
|
|
177
|
-
api.dispatch(action);
|
|
178
|
-
});
|
|
179
|
-
case 'DISPATCH':
|
|
180
|
-
switch (message.payload.type) {
|
|
181
|
-
case 'RESET':
|
|
182
|
-
setStateFromDevtools(initialState);
|
|
183
|
-
if (store === undefined) {
|
|
184
|
-
return connection == null ? void 0 : connection.init(api.getState());
|
|
185
|
-
}
|
|
186
|
-
return connection == null ? void 0 : connection.init(getTrackedConnectionState(options.name));
|
|
187
|
-
case 'COMMIT':
|
|
188
|
-
if (store === undefined) {
|
|
189
|
-
connection == null || connection.init(api.getState());
|
|
190
|
-
return;
|
|
191
|
-
}
|
|
192
|
-
return connection == null ? void 0 : connection.init(getTrackedConnectionState(options.name));
|
|
193
|
-
case 'ROLLBACK':
|
|
194
|
-
return parseJsonThen(message.state, function (state) {
|
|
195
|
-
if (store === undefined) {
|
|
196
|
-
setStateFromDevtools(state);
|
|
197
|
-
connection == null || connection.init(api.getState());
|
|
198
|
-
return;
|
|
199
|
-
}
|
|
200
|
-
setStateFromDevtools(state[store]);
|
|
201
|
-
connection == null || connection.init(getTrackedConnectionState(options.name));
|
|
202
|
-
});
|
|
203
|
-
case 'JUMP_TO_STATE':
|
|
204
|
-
case 'JUMP_TO_ACTION':
|
|
205
|
-
return parseJsonThen(message.state, function (state) {
|
|
206
|
-
if (store === undefined) {
|
|
207
|
-
setStateFromDevtools(state);
|
|
208
|
-
return;
|
|
209
|
-
}
|
|
210
|
-
if (JSON.stringify(api.getState()) !== JSON.stringify(state[store])) {
|
|
211
|
-
setStateFromDevtools(state[store]);
|
|
212
|
-
}
|
|
213
|
-
});
|
|
214
|
-
case 'IMPORT_STATE':
|
|
215
|
-
{
|
|
216
|
-
var _nextLiftedState$comp;
|
|
217
|
-
var nextLiftedState = message.payload.nextLiftedState;
|
|
218
|
-
var lastComputedState = (_nextLiftedState$comp = nextLiftedState.computedStates.slice(-1)[0]) == null ? void 0 : _nextLiftedState$comp.state;
|
|
219
|
-
if (!lastComputedState) return;
|
|
220
|
-
if (store === undefined) {
|
|
221
|
-
setStateFromDevtools(lastComputedState);
|
|
222
|
-
} else {
|
|
223
|
-
setStateFromDevtools(lastComputedState[store]);
|
|
224
|
-
}
|
|
225
|
-
connection == null || connection.send(null, nextLiftedState);
|
|
226
|
-
return;
|
|
227
|
-
}
|
|
228
|
-
case 'PAUSE_RECORDING':
|
|
229
|
-
return isRecording = !isRecording;
|
|
230
|
-
}
|
|
231
|
-
return;
|
|
232
|
-
}
|
|
233
|
-
});
|
|
234
|
-
return initialState;
|
|
235
|
-
};
|
|
236
|
-
};
|
|
237
|
-
var devtools = devtoolsImpl;
|
|
238
|
-
var parseJsonThen = function parseJsonThen(stringified, f) {
|
|
239
|
-
var parsed;
|
|
240
|
-
try {
|
|
241
|
-
parsed = JSON.parse(stringified);
|
|
242
|
-
} catch (e) {
|
|
243
|
-
console.error('[zustand devtools middleware] Could not parse the received json', e);
|
|
244
|
-
}
|
|
245
|
-
if (parsed !== undefined) f(parsed);
|
|
246
|
-
};
|
|
247
|
-
|
|
248
|
-
var subscribeWithSelectorImpl = function subscribeWithSelectorImpl(fn) {
|
|
249
|
-
return function (set, get, api) {
|
|
250
|
-
var origSubscribe = api.subscribe;
|
|
251
|
-
api.subscribe = function (selector, optListener, options) {
|
|
252
|
-
var listener = selector;
|
|
253
|
-
if (optListener) {
|
|
254
|
-
var equalityFn = (options == null ? void 0 : options.equalityFn) || Object.is;
|
|
255
|
-
var currentSlice = selector(api.getState());
|
|
256
|
-
listener = function listener(state) {
|
|
257
|
-
var nextSlice = selector(state);
|
|
258
|
-
if (!equalityFn(currentSlice, nextSlice)) {
|
|
259
|
-
var previousSlice = currentSlice;
|
|
260
|
-
optListener(currentSlice = nextSlice, previousSlice);
|
|
261
|
-
}
|
|
262
|
-
};
|
|
263
|
-
if (options != null && options.fireImmediately) {
|
|
264
|
-
optListener(currentSlice, currentSlice);
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
return origSubscribe(listener);
|
|
268
|
-
};
|
|
269
|
-
var initialState = fn(set, get, api);
|
|
270
|
-
return initialState;
|
|
271
|
-
};
|
|
272
|
-
};
|
|
273
|
-
var subscribeWithSelector = subscribeWithSelectorImpl;
|
|
274
|
-
|
|
275
|
-
var combine = function combine(initialState, create) {
|
|
276
|
-
return function () {
|
|
277
|
-
return Object.assign({}, initialState, create.apply(void 0, arguments));
|
|
278
|
-
};
|
|
279
|
-
};
|
|
280
|
-
|
|
281
|
-
function createJSONStorage(getStorage, options) {
|
|
282
|
-
var storage;
|
|
283
|
-
try {
|
|
284
|
-
storage = getStorage();
|
|
285
|
-
} catch (_e) {
|
|
286
|
-
return;
|
|
287
|
-
}
|
|
288
|
-
var persistStorage = {
|
|
289
|
-
getItem: function getItem(name) {
|
|
290
|
-
var _getItem;
|
|
291
|
-
var parse = function parse(str) {
|
|
292
|
-
if (str === null) {
|
|
293
|
-
return null;
|
|
294
|
-
}
|
|
295
|
-
return JSON.parse(str, options == null ? void 0 : options.reviver);
|
|
296
|
-
};
|
|
297
|
-
var str = (_getItem = storage.getItem(name)) != null ? _getItem : null;
|
|
298
|
-
if (str instanceof Promise) {
|
|
299
|
-
return str.then(parse);
|
|
300
|
-
}
|
|
301
|
-
return parse(str);
|
|
302
|
-
},
|
|
303
|
-
setItem: function setItem(name, newValue) {
|
|
304
|
-
return storage.setItem(name, JSON.stringify(newValue, options == null ? void 0 : options.replacer));
|
|
305
|
-
},
|
|
306
|
-
removeItem: function removeItem(name) {
|
|
307
|
-
return storage.removeItem(name);
|
|
308
|
-
}
|
|
309
|
-
};
|
|
310
|
-
return persistStorage;
|
|
311
|
-
}
|
|
312
|
-
var _toThenable = function toThenable(fn) {
|
|
313
|
-
return function (input) {
|
|
314
|
-
try {
|
|
315
|
-
var result = fn(input);
|
|
316
|
-
if (result instanceof Promise) {
|
|
317
|
-
return result;
|
|
318
|
-
}
|
|
319
|
-
return {
|
|
320
|
-
then: function then(onFulfilled) {
|
|
321
|
-
return _toThenable(onFulfilled)(result);
|
|
322
|
-
},
|
|
323
|
-
catch: function _catch(_onRejected) {
|
|
324
|
-
return this;
|
|
325
|
-
}
|
|
326
|
-
};
|
|
327
|
-
} catch (e) {
|
|
328
|
-
return {
|
|
329
|
-
then: function then(_onFulfilled) {
|
|
330
|
-
return this;
|
|
331
|
-
},
|
|
332
|
-
catch: function _catch(onRejected) {
|
|
333
|
-
return _toThenable(onRejected)(e);
|
|
334
|
-
}
|
|
335
|
-
};
|
|
336
|
-
}
|
|
337
|
-
};
|
|
338
|
-
};
|
|
339
|
-
var oldImpl = function oldImpl(config, baseOptions) {
|
|
340
|
-
return function (set, get, api) {
|
|
341
|
-
var options = _extends({
|
|
342
|
-
getStorage: function getStorage() {
|
|
343
|
-
return localStorage;
|
|
344
|
-
},
|
|
345
|
-
serialize: JSON.stringify,
|
|
346
|
-
deserialize: JSON.parse,
|
|
347
|
-
partialize: function partialize(state) {
|
|
348
|
-
return state;
|
|
349
|
-
},
|
|
350
|
-
version: 0,
|
|
351
|
-
merge: function merge(persistedState, currentState) {
|
|
352
|
-
return _extends({}, currentState, persistedState);
|
|
353
|
-
}
|
|
354
|
-
}, baseOptions);
|
|
355
|
-
var _hasHydrated = false;
|
|
356
|
-
var hydrationListeners = new Set();
|
|
357
|
-
var finishHydrationListeners = new Set();
|
|
358
|
-
var storage;
|
|
359
|
-
try {
|
|
360
|
-
storage = options.getStorage();
|
|
361
|
-
} catch (_e) {}
|
|
362
|
-
if (!storage) {
|
|
363
|
-
return config(function () {
|
|
364
|
-
console.warn("[zustand persist middleware] Unable to update item '" + options.name + "', the given storage is currently unavailable.");
|
|
365
|
-
set.apply(void 0, arguments);
|
|
366
|
-
}, get, api);
|
|
367
|
-
}
|
|
368
|
-
var thenableSerialize = _toThenable(options.serialize);
|
|
369
|
-
var setItem = function setItem() {
|
|
370
|
-
var state = options.partialize(_extends({}, get()));
|
|
371
|
-
var errorInSync;
|
|
372
|
-
var thenable = thenableSerialize({
|
|
373
|
-
state: state,
|
|
374
|
-
version: options.version
|
|
375
|
-
}).then(function (serializedValue) {
|
|
376
|
-
return storage.setItem(options.name, serializedValue);
|
|
377
|
-
}).catch(function (e) {
|
|
378
|
-
errorInSync = e;
|
|
379
|
-
});
|
|
380
|
-
if (errorInSync) {
|
|
381
|
-
throw errorInSync;
|
|
382
|
-
}
|
|
383
|
-
return thenable;
|
|
384
|
-
};
|
|
385
|
-
var savedSetState = api.setState;
|
|
386
|
-
api.setState = function (state, replace) {
|
|
387
|
-
savedSetState(state, replace);
|
|
388
|
-
void setItem();
|
|
389
|
-
};
|
|
390
|
-
var configResult = config(function () {
|
|
391
|
-
set.apply(void 0, arguments);
|
|
392
|
-
void setItem();
|
|
393
|
-
}, get, api);
|
|
394
|
-
var stateFromStorage;
|
|
395
|
-
var hydrate = function hydrate() {
|
|
396
|
-
if (!storage) return;
|
|
397
|
-
_hasHydrated = false;
|
|
398
|
-
hydrationListeners.forEach(function (cb) {
|
|
399
|
-
return cb(get());
|
|
400
|
-
});
|
|
401
|
-
var postRehydrationCallback = (options.onRehydrateStorage == null ? void 0 : options.onRehydrateStorage(get())) || undefined;
|
|
402
|
-
return _toThenable(storage.getItem.bind(storage))(options.name).then(function (storageValue) {
|
|
403
|
-
if (storageValue) {
|
|
404
|
-
return options.deserialize(storageValue);
|
|
405
|
-
}
|
|
406
|
-
}).then(function (deserializedStorageValue) {
|
|
407
|
-
if (deserializedStorageValue) {
|
|
408
|
-
if (typeof deserializedStorageValue.version === 'number' && deserializedStorageValue.version !== options.version) {
|
|
409
|
-
if (options.migrate) {
|
|
410
|
-
return options.migrate(deserializedStorageValue.state, deserializedStorageValue.version);
|
|
411
|
-
}
|
|
412
|
-
console.error("State loaded from storage couldn't be migrated since no migrate function was provided");
|
|
413
|
-
} else {
|
|
414
|
-
return deserializedStorageValue.state;
|
|
415
|
-
}
|
|
416
|
-
}
|
|
417
|
-
}).then(function (migratedState) {
|
|
418
|
-
var _get;
|
|
419
|
-
stateFromStorage = options.merge(migratedState, (_get = get()) != null ? _get : configResult);
|
|
420
|
-
set(stateFromStorage, true);
|
|
421
|
-
return setItem();
|
|
422
|
-
}).then(function () {
|
|
423
|
-
postRehydrationCallback == null || postRehydrationCallback(stateFromStorage, undefined);
|
|
424
|
-
_hasHydrated = true;
|
|
425
|
-
finishHydrationListeners.forEach(function (cb) {
|
|
426
|
-
return cb(stateFromStorage);
|
|
427
|
-
});
|
|
428
|
-
}).catch(function (e) {
|
|
429
|
-
postRehydrationCallback == null || postRehydrationCallback(undefined, e);
|
|
430
|
-
});
|
|
431
|
-
};
|
|
432
|
-
api.persist = {
|
|
433
|
-
setOptions: function setOptions(newOptions) {
|
|
434
|
-
options = _extends({}, options, newOptions);
|
|
435
|
-
if (newOptions.getStorage) {
|
|
436
|
-
storage = newOptions.getStorage();
|
|
437
|
-
}
|
|
438
|
-
},
|
|
439
|
-
clearStorage: function clearStorage() {
|
|
440
|
-
var _storage;
|
|
441
|
-
(_storage = storage) == null || _storage.removeItem(options.name);
|
|
442
|
-
},
|
|
443
|
-
getOptions: function getOptions() {
|
|
444
|
-
return options;
|
|
445
|
-
},
|
|
446
|
-
rehydrate: function rehydrate() {
|
|
447
|
-
return hydrate();
|
|
448
|
-
},
|
|
449
|
-
hasHydrated: function hasHydrated() {
|
|
450
|
-
return _hasHydrated;
|
|
451
|
-
},
|
|
452
|
-
onHydrate: function onHydrate(cb) {
|
|
453
|
-
hydrationListeners.add(cb);
|
|
454
|
-
return function () {
|
|
455
|
-
hydrationListeners.delete(cb);
|
|
456
|
-
};
|
|
457
|
-
},
|
|
458
|
-
onFinishHydration: function onFinishHydration(cb) {
|
|
459
|
-
finishHydrationListeners.add(cb);
|
|
460
|
-
return function () {
|
|
461
|
-
finishHydrationListeners.delete(cb);
|
|
462
|
-
};
|
|
463
|
-
}
|
|
464
|
-
};
|
|
465
|
-
hydrate();
|
|
466
|
-
return stateFromStorage || configResult;
|
|
467
|
-
};
|
|
468
|
-
};
|
|
469
|
-
var newImpl = function newImpl(config, baseOptions) {
|
|
470
|
-
return function (set, get, api) {
|
|
471
|
-
var options = _extends({
|
|
472
|
-
storage: createJSONStorage(function () {
|
|
473
|
-
return localStorage;
|
|
474
|
-
}),
|
|
475
|
-
partialize: function partialize(state) {
|
|
476
|
-
return state;
|
|
477
|
-
},
|
|
478
|
-
version: 0,
|
|
479
|
-
merge: function merge(persistedState, currentState) {
|
|
480
|
-
return _extends({}, currentState, persistedState);
|
|
481
|
-
}
|
|
482
|
-
}, baseOptions);
|
|
483
|
-
var _hasHydrated2 = false;
|
|
484
|
-
var hydrationListeners = new Set();
|
|
485
|
-
var finishHydrationListeners = new Set();
|
|
486
|
-
var storage = options.storage;
|
|
487
|
-
if (!storage) {
|
|
488
|
-
return config(function () {
|
|
489
|
-
console.warn("[zustand persist middleware] Unable to update item '" + options.name + "', the given storage is currently unavailable.");
|
|
490
|
-
set.apply(void 0, arguments);
|
|
491
|
-
}, get, api);
|
|
492
|
-
}
|
|
493
|
-
var setItem = function setItem() {
|
|
494
|
-
var state = options.partialize(_extends({}, get()));
|
|
495
|
-
return storage.setItem(options.name, {
|
|
496
|
-
state: state,
|
|
497
|
-
version: options.version
|
|
498
|
-
});
|
|
499
|
-
};
|
|
500
|
-
var savedSetState = api.setState;
|
|
501
|
-
api.setState = function (state, replace) {
|
|
502
|
-
savedSetState(state, replace);
|
|
503
|
-
void setItem();
|
|
504
|
-
};
|
|
505
|
-
var configResult = config(function () {
|
|
506
|
-
set.apply(void 0, arguments);
|
|
507
|
-
void setItem();
|
|
508
|
-
}, get, api);
|
|
509
|
-
api.getInitialState = function () {
|
|
510
|
-
return configResult;
|
|
511
|
-
};
|
|
512
|
-
var stateFromStorage;
|
|
513
|
-
var hydrate = function hydrate() {
|
|
514
|
-
var _get3;
|
|
515
|
-
if (!storage) return;
|
|
516
|
-
_hasHydrated2 = false;
|
|
517
|
-
hydrationListeners.forEach(function (cb) {
|
|
518
|
-
var _get2;
|
|
519
|
-
return cb((_get2 = get()) != null ? _get2 : configResult);
|
|
520
|
-
});
|
|
521
|
-
var postRehydrationCallback = (options.onRehydrateStorage == null ? void 0 : options.onRehydrateStorage((_get3 = get()) != null ? _get3 : configResult)) || undefined;
|
|
522
|
-
return _toThenable(storage.getItem.bind(storage))(options.name).then(function (deserializedStorageValue) {
|
|
523
|
-
if (deserializedStorageValue) {
|
|
524
|
-
if (typeof deserializedStorageValue.version === 'number' && deserializedStorageValue.version !== options.version) {
|
|
525
|
-
if (options.migrate) {
|
|
526
|
-
return [true, options.migrate(deserializedStorageValue.state, deserializedStorageValue.version)];
|
|
527
|
-
}
|
|
528
|
-
console.error("State loaded from storage couldn't be migrated since no migrate function was provided");
|
|
529
|
-
} else {
|
|
530
|
-
return [false, deserializedStorageValue.state];
|
|
531
|
-
}
|
|
532
|
-
}
|
|
533
|
-
return [false, undefined];
|
|
534
|
-
}).then(function (migrationResult) {
|
|
535
|
-
var _get4;
|
|
536
|
-
var migrated = migrationResult[0],
|
|
537
|
-
migratedState = migrationResult[1];
|
|
538
|
-
stateFromStorage = options.merge(migratedState, (_get4 = get()) != null ? _get4 : configResult);
|
|
539
|
-
set(stateFromStorage, true);
|
|
540
|
-
if (migrated) {
|
|
541
|
-
return setItem();
|
|
542
|
-
}
|
|
543
|
-
}).then(function () {
|
|
544
|
-
postRehydrationCallback == null || postRehydrationCallback(stateFromStorage, undefined);
|
|
545
|
-
stateFromStorage = get();
|
|
546
|
-
_hasHydrated2 = true;
|
|
547
|
-
finishHydrationListeners.forEach(function (cb) {
|
|
548
|
-
return cb(stateFromStorage);
|
|
549
|
-
});
|
|
550
|
-
}).catch(function (e) {
|
|
551
|
-
postRehydrationCallback == null || postRehydrationCallback(undefined, e);
|
|
552
|
-
});
|
|
553
|
-
};
|
|
554
|
-
api.persist = {
|
|
555
|
-
setOptions: function setOptions(newOptions) {
|
|
556
|
-
options = _extends({}, options, newOptions);
|
|
557
|
-
if (newOptions.storage) {
|
|
558
|
-
storage = newOptions.storage;
|
|
559
|
-
}
|
|
560
|
-
},
|
|
561
|
-
clearStorage: function clearStorage() {
|
|
562
|
-
var _storage2;
|
|
563
|
-
(_storage2 = storage) == null || _storage2.removeItem(options.name);
|
|
564
|
-
},
|
|
565
|
-
getOptions: function getOptions() {
|
|
566
|
-
return options;
|
|
567
|
-
},
|
|
568
|
-
rehydrate: function rehydrate() {
|
|
569
|
-
return hydrate();
|
|
570
|
-
},
|
|
571
|
-
hasHydrated: function hasHydrated() {
|
|
572
|
-
return _hasHydrated2;
|
|
573
|
-
},
|
|
574
|
-
onHydrate: function onHydrate(cb) {
|
|
575
|
-
hydrationListeners.add(cb);
|
|
576
|
-
return function () {
|
|
577
|
-
hydrationListeners.delete(cb);
|
|
578
|
-
};
|
|
579
|
-
},
|
|
580
|
-
onFinishHydration: function onFinishHydration(cb) {
|
|
581
|
-
finishHydrationListeners.add(cb);
|
|
582
|
-
return function () {
|
|
583
|
-
finishHydrationListeners.delete(cb);
|
|
584
|
-
};
|
|
585
|
-
}
|
|
586
|
-
};
|
|
587
|
-
if (!options.skipHydration) {
|
|
588
|
-
hydrate();
|
|
589
|
-
}
|
|
590
|
-
return stateFromStorage || configResult;
|
|
591
|
-
};
|
|
592
|
-
};
|
|
593
|
-
var persistImpl = function persistImpl(config, baseOptions) {
|
|
594
|
-
if ('getStorage' in baseOptions || 'serialize' in baseOptions || 'deserialize' in baseOptions) {
|
|
595
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
596
|
-
console.warn('[DEPRECATED] `getStorage`, `serialize` and `deserialize` options are deprecated. Use `storage` option instead.');
|
|
597
|
-
}
|
|
598
|
-
return oldImpl(config, baseOptions);
|
|
599
|
-
}
|
|
600
|
-
return newImpl(config, baseOptions);
|
|
601
|
-
};
|
|
602
|
-
var persist = persistImpl;
|
|
603
|
-
|
|
604
|
-
exports.combine = combine;
|
|
605
|
-
exports.createJSONStorage = createJSONStorage;
|
|
606
|
-
exports.devtools = devtools;
|
|
607
|
-
exports.persist = persist;
|
|
608
|
-
exports.redux = redux;
|
|
609
|
-
exports.subscribeWithSelector = subscribeWithSelector;
|