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