wechen-agent-editor-v1 1.2.2 → 1.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1071) hide show
  1. package/README.md +31 -6
  2. package/package.json +5 -6
  3. package/node_modules/@types/d3-color/LICENSE +0 -21
  4. package/node_modules/@types/d3-color/README.md +0 -15
  5. package/node_modules/@types/d3-color/index.d.ts +0 -669
  6. package/node_modules/@types/d3-color/package.json +0 -55
  7. package/node_modules/@types/d3-drag/LICENSE +0 -21
  8. package/node_modules/@types/d3-drag/README.md +0 -15
  9. package/node_modules/@types/d3-drag/index.d.ts +0 -395
  10. package/node_modules/@types/d3-drag/package.json +0 -42
  11. package/node_modules/@types/d3-interpolate/LICENSE +0 -21
  12. package/node_modules/@types/d3-interpolate/README.md +0 -15
  13. package/node_modules/@types/d3-interpolate/index.d.ts +0 -387
  14. package/node_modules/@types/d3-interpolate/package.json +0 -47
  15. package/node_modules/@types/d3-selection/LICENSE +0 -21
  16. package/node_modules/@types/d3-selection/README.md +0 -15
  17. package/node_modules/@types/d3-selection/index.d.ts +0 -1173
  18. package/node_modules/@types/d3-selection/package.json +0 -50
  19. package/node_modules/@types/d3-transition/LICENSE +0 -21
  20. package/node_modules/@types/d3-transition/README.md +0 -15
  21. package/node_modules/@types/d3-transition/index.d.ts +0 -664
  22. package/node_modules/@types/d3-transition/package.json +0 -47
  23. package/node_modules/@types/d3-zoom/LICENSE +0 -21
  24. package/node_modules/@types/d3-zoom/README.md +0 -15
  25. package/node_modules/@types/d3-zoom/index.d.ts +0 -611
  26. package/node_modules/@types/d3-zoom/package.json +0 -48
  27. package/node_modules/@xyflow/react/LICENSE +0 -21
  28. package/node_modules/@xyflow/react/README.md +0 -135
  29. package/node_modules/@xyflow/react/dist/base.css +0 -504
  30. package/node_modules/@xyflow/react/dist/esm/additional-components/Background/Background.d.ts +0 -61
  31. package/node_modules/@xyflow/react/dist/esm/additional-components/Background/Background.d.ts.map +0 -1
  32. package/node_modules/@xyflow/react/dist/esm/additional-components/Background/Patterns.d.ts +0 -15
  33. package/node_modules/@xyflow/react/dist/esm/additional-components/Background/Patterns.d.ts.map +0 -1
  34. package/node_modules/@xyflow/react/dist/esm/additional-components/Background/index.d.ts +0 -3
  35. package/node_modules/@xyflow/react/dist/esm/additional-components/Background/index.d.ts.map +0 -1
  36. package/node_modules/@xyflow/react/dist/esm/additional-components/Background/types.d.ts +0 -59
  37. package/node_modules/@xyflow/react/dist/esm/additional-components/Background/types.d.ts.map +0 -1
  38. package/node_modules/@xyflow/react/dist/esm/additional-components/Controls/ControlButton.d.ts +0 -26
  39. package/node_modules/@xyflow/react/dist/esm/additional-components/Controls/ControlButton.d.ts.map +0 -1
  40. package/node_modules/@xyflow/react/dist/esm/additional-components/Controls/Controls.d.ts +0 -29
  41. package/node_modules/@xyflow/react/dist/esm/additional-components/Controls/Controls.d.ts.map +0 -1
  42. package/node_modules/@xyflow/react/dist/esm/additional-components/Controls/Icons/FitView.d.ts +0 -2
  43. package/node_modules/@xyflow/react/dist/esm/additional-components/Controls/Icons/FitView.d.ts.map +0 -1
  44. package/node_modules/@xyflow/react/dist/esm/additional-components/Controls/Icons/Lock.d.ts +0 -2
  45. package/node_modules/@xyflow/react/dist/esm/additional-components/Controls/Icons/Lock.d.ts.map +0 -1
  46. package/node_modules/@xyflow/react/dist/esm/additional-components/Controls/Icons/Minus.d.ts +0 -2
  47. package/node_modules/@xyflow/react/dist/esm/additional-components/Controls/Icons/Minus.d.ts.map +0 -1
  48. package/node_modules/@xyflow/react/dist/esm/additional-components/Controls/Icons/Plus.d.ts +0 -2
  49. package/node_modules/@xyflow/react/dist/esm/additional-components/Controls/Icons/Plus.d.ts.map +0 -1
  50. package/node_modules/@xyflow/react/dist/esm/additional-components/Controls/Icons/Unlock.d.ts +0 -2
  51. package/node_modules/@xyflow/react/dist/esm/additional-components/Controls/Icons/Unlock.d.ts.map +0 -1
  52. package/node_modules/@xyflow/react/dist/esm/additional-components/Controls/index.d.ts +0 -4
  53. package/node_modules/@xyflow/react/dist/esm/additional-components/Controls/index.d.ts.map +0 -1
  54. package/node_modules/@xyflow/react/dist/esm/additional-components/Controls/types.d.ts +0 -66
  55. package/node_modules/@xyflow/react/dist/esm/additional-components/Controls/types.d.ts.map +0 -1
  56. package/node_modules/@xyflow/react/dist/esm/additional-components/EdgeToolbar/EdgeToolbar.d.ts +0 -26
  57. package/node_modules/@xyflow/react/dist/esm/additional-components/EdgeToolbar/EdgeToolbar.d.ts.map +0 -1
  58. package/node_modules/@xyflow/react/dist/esm/additional-components/EdgeToolbar/index.d.ts +0 -3
  59. package/node_modules/@xyflow/react/dist/esm/additional-components/EdgeToolbar/index.d.ts.map +0 -1
  60. package/node_modules/@xyflow/react/dist/esm/additional-components/EdgeToolbar/types.d.ts +0 -13
  61. package/node_modules/@xyflow/react/dist/esm/additional-components/EdgeToolbar/types.d.ts.map +0 -1
  62. package/node_modules/@xyflow/react/dist/esm/additional-components/MiniMap/MiniMap.d.ts +0 -29
  63. package/node_modules/@xyflow/react/dist/esm/additional-components/MiniMap/MiniMap.d.ts.map +0 -1
  64. package/node_modules/@xyflow/react/dist/esm/additional-components/MiniMap/MiniMapNode.d.ts +0 -5
  65. package/node_modules/@xyflow/react/dist/esm/additional-components/MiniMap/MiniMapNode.d.ts.map +0 -1
  66. package/node_modules/@xyflow/react/dist/esm/additional-components/MiniMap/MiniMapNodes.d.ts +0 -6
  67. package/node_modules/@xyflow/react/dist/esm/additional-components/MiniMap/MiniMapNodes.d.ts.map +0 -1
  68. package/node_modules/@xyflow/react/dist/esm/additional-components/MiniMap/index.d.ts +0 -4
  69. package/node_modules/@xyflow/react/dist/esm/additional-components/MiniMap/index.d.ts.map +0 -1
  70. package/node_modules/@xyflow/react/dist/esm/additional-components/MiniMap/types.d.ts +0 -123
  71. package/node_modules/@xyflow/react/dist/esm/additional-components/MiniMap/types.d.ts.map +0 -1
  72. package/node_modules/@xyflow/react/dist/esm/additional-components/NodeResizer/NodeResizeControl.d.ts +0 -11
  73. package/node_modules/@xyflow/react/dist/esm/additional-components/NodeResizer/NodeResizeControl.d.ts.map +0 -1
  74. package/node_modules/@xyflow/react/dist/esm/additional-components/NodeResizer/NodeResizer.d.ts +0 -27
  75. package/node_modules/@xyflow/react/dist/esm/additional-components/NodeResizer/NodeResizer.d.ts.map +0 -1
  76. package/node_modules/@xyflow/react/dist/esm/additional-components/NodeResizer/index.d.ts +0 -4
  77. package/node_modules/@xyflow/react/dist/esm/additional-components/NodeResizer/index.d.ts.map +0 -1
  78. package/node_modules/@xyflow/react/dist/esm/additional-components/NodeResizer/types.d.ts +0 -97
  79. package/node_modules/@xyflow/react/dist/esm/additional-components/NodeResizer/types.d.ts.map +0 -1
  80. package/node_modules/@xyflow/react/dist/esm/additional-components/NodeToolbar/NodeToolbar.d.ts +0 -38
  81. package/node_modules/@xyflow/react/dist/esm/additional-components/NodeToolbar/NodeToolbar.d.ts.map +0 -1
  82. package/node_modules/@xyflow/react/dist/esm/additional-components/NodeToolbar/NodeToolbarPortal.d.ts +0 -5
  83. package/node_modules/@xyflow/react/dist/esm/additional-components/NodeToolbar/NodeToolbarPortal.d.ts.map +0 -1
  84. package/node_modules/@xyflow/react/dist/esm/additional-components/NodeToolbar/index.d.ts +0 -3
  85. package/node_modules/@xyflow/react/dist/esm/additional-components/NodeToolbar/index.d.ts.map +0 -1
  86. package/node_modules/@xyflow/react/dist/esm/additional-components/NodeToolbar/types.d.ts +0 -32
  87. package/node_modules/@xyflow/react/dist/esm/additional-components/NodeToolbar/types.d.ts.map +0 -1
  88. package/node_modules/@xyflow/react/dist/esm/additional-components/index.d.ts +0 -7
  89. package/node_modules/@xyflow/react/dist/esm/additional-components/index.d.ts.map +0 -1
  90. package/node_modules/@xyflow/react/dist/esm/components/A11yDescriptions/index.d.ts +0 -8
  91. package/node_modules/@xyflow/react/dist/esm/components/A11yDescriptions/index.d.ts.map +0 -1
  92. package/node_modules/@xyflow/react/dist/esm/components/Attribution/index.d.ts +0 -8
  93. package/node_modules/@xyflow/react/dist/esm/components/Attribution/index.d.ts.map +0 -1
  94. package/node_modules/@xyflow/react/dist/esm/components/BatchProvider/index.d.ts +0 -17
  95. package/node_modules/@xyflow/react/dist/esm/components/BatchProvider/index.d.ts.map +0 -1
  96. package/node_modules/@xyflow/react/dist/esm/components/BatchProvider/types.d.ts +0 -7
  97. package/node_modules/@xyflow/react/dist/esm/components/BatchProvider/types.d.ts.map +0 -1
  98. package/node_modules/@xyflow/react/dist/esm/components/BatchProvider/useQueue.d.ts +0 -11
  99. package/node_modules/@xyflow/react/dist/esm/components/BatchProvider/useQueue.d.ts.map +0 -1
  100. package/node_modules/@xyflow/react/dist/esm/components/ConnectionLine/index.d.ts +0 -12
  101. package/node_modules/@xyflow/react/dist/esm/components/ConnectionLine/index.d.ts.map +0 -1
  102. package/node_modules/@xyflow/react/dist/esm/components/EdgeLabelRenderer/index.d.ts +0 -47
  103. package/node_modules/@xyflow/react/dist/esm/components/EdgeLabelRenderer/index.d.ts.map +0 -1
  104. package/node_modules/@xyflow/react/dist/esm/components/EdgeWrapper/EdgeUpdateAnchors.d.ts +0 -15
  105. package/node_modules/@xyflow/react/dist/esm/components/EdgeWrapper/EdgeUpdateAnchors.d.ts.map +0 -1
  106. package/node_modules/@xyflow/react/dist/esm/components/EdgeWrapper/index.d.ts +0 -6
  107. package/node_modules/@xyflow/react/dist/esm/components/EdgeWrapper/index.d.ts.map +0 -1
  108. package/node_modules/@xyflow/react/dist/esm/components/EdgeWrapper/utils.d.ts +0 -11
  109. package/node_modules/@xyflow/react/dist/esm/components/EdgeWrapper/utils.d.ts.map +0 -1
  110. package/node_modules/@xyflow/react/dist/esm/components/Edges/BaseEdge.d.ts +0 -30
  111. package/node_modules/@xyflow/react/dist/esm/components/Edges/BaseEdge.d.ts.map +0 -1
  112. package/node_modules/@xyflow/react/dist/esm/components/Edges/BezierEdge.d.ts +0 -31
  113. package/node_modules/@xyflow/react/dist/esm/components/Edges/BezierEdge.d.ts.map +0 -1
  114. package/node_modules/@xyflow/react/dist/esm/components/Edges/EdgeAnchor.d.ts +0 -17
  115. package/node_modules/@xyflow/react/dist/esm/components/Edges/EdgeAnchor.d.ts.map +0 -1
  116. package/node_modules/@xyflow/react/dist/esm/components/Edges/EdgeText.d.ts +0 -34
  117. package/node_modules/@xyflow/react/dist/esm/components/Edges/EdgeText.d.ts.map +0 -1
  118. package/node_modules/@xyflow/react/dist/esm/components/Edges/SimpleBezierEdge.d.ts +0 -30
  119. package/node_modules/@xyflow/react/dist/esm/components/Edges/SimpleBezierEdge.d.ts.map +0 -1
  120. package/node_modules/@xyflow/react/dist/esm/components/Edges/SmoothStepEdge.d.ts +0 -31
  121. package/node_modules/@xyflow/react/dist/esm/components/Edges/SmoothStepEdge.d.ts.map +0 -1
  122. package/node_modules/@xyflow/react/dist/esm/components/Edges/StepEdge.d.ts +0 -31
  123. package/node_modules/@xyflow/react/dist/esm/components/Edges/StepEdge.d.ts.map +0 -1
  124. package/node_modules/@xyflow/react/dist/esm/components/Edges/StraightEdge.d.ts +0 -29
  125. package/node_modules/@xyflow/react/dist/esm/components/Edges/StraightEdge.d.ts.map +0 -1
  126. package/node_modules/@xyflow/react/dist/esm/components/Edges/index.d.ts +0 -6
  127. package/node_modules/@xyflow/react/dist/esm/components/Edges/index.d.ts.map +0 -1
  128. package/node_modules/@xyflow/react/dist/esm/components/Handle/index.d.ts +0 -39
  129. package/node_modules/@xyflow/react/dist/esm/components/Handle/index.d.ts.map +0 -1
  130. package/node_modules/@xyflow/react/dist/esm/components/NodeWrapper/index.d.ts +0 -5
  131. package/node_modules/@xyflow/react/dist/esm/components/NodeWrapper/index.d.ts.map +0 -1
  132. package/node_modules/@xyflow/react/dist/esm/components/NodeWrapper/useNodeObserver.d.ts +0 -14
  133. package/node_modules/@xyflow/react/dist/esm/components/NodeWrapper/useNodeObserver.d.ts.map +0 -1
  134. package/node_modules/@xyflow/react/dist/esm/components/NodeWrapper/utils.d.ts +0 -9
  135. package/node_modules/@xyflow/react/dist/esm/components/NodeWrapper/utils.d.ts.map +0 -1
  136. package/node_modules/@xyflow/react/dist/esm/components/Nodes/DefaultNode.d.ts +0 -3
  137. package/node_modules/@xyflow/react/dist/esm/components/Nodes/DefaultNode.d.ts.map +0 -1
  138. package/node_modules/@xyflow/react/dist/esm/components/Nodes/GroupNode.d.ts +0 -2
  139. package/node_modules/@xyflow/react/dist/esm/components/Nodes/GroupNode.d.ts.map +0 -1
  140. package/node_modules/@xyflow/react/dist/esm/components/Nodes/InputNode.d.ts +0 -3
  141. package/node_modules/@xyflow/react/dist/esm/components/Nodes/InputNode.d.ts.map +0 -1
  142. package/node_modules/@xyflow/react/dist/esm/components/Nodes/OutputNode.d.ts +0 -3
  143. package/node_modules/@xyflow/react/dist/esm/components/Nodes/OutputNode.d.ts.map +0 -1
  144. package/node_modules/@xyflow/react/dist/esm/components/Nodes/utils.d.ts +0 -13
  145. package/node_modules/@xyflow/react/dist/esm/components/Nodes/utils.d.ts.map +0 -1
  146. package/node_modules/@xyflow/react/dist/esm/components/NodesSelection/index.d.ts +0 -13
  147. package/node_modules/@xyflow/react/dist/esm/components/NodesSelection/index.d.ts.map +0 -1
  148. package/node_modules/@xyflow/react/dist/esm/components/Panel/index.d.ts +0 -45
  149. package/node_modules/@xyflow/react/dist/esm/components/Panel/index.d.ts.map +0 -1
  150. package/node_modules/@xyflow/react/dist/esm/components/ReactFlowProvider/index.d.ts +0 -83
  151. package/node_modules/@xyflow/react/dist/esm/components/ReactFlowProvider/index.d.ts.map +0 -1
  152. package/node_modules/@xyflow/react/dist/esm/components/SelectionListener/index.d.ts +0 -7
  153. package/node_modules/@xyflow/react/dist/esm/components/SelectionListener/index.d.ts.map +0 -1
  154. package/node_modules/@xyflow/react/dist/esm/components/StoreUpdater/index.d.ts +0 -9
  155. package/node_modules/@xyflow/react/dist/esm/components/StoreUpdater/index.d.ts.map +0 -1
  156. package/node_modules/@xyflow/react/dist/esm/components/UserSelection/index.d.ts +0 -2
  157. package/node_modules/@xyflow/react/dist/esm/components/UserSelection/index.d.ts.map +0 -1
  158. package/node_modules/@xyflow/react/dist/esm/components/ViewportPortal/index.d.ts +0 -30
  159. package/node_modules/@xyflow/react/dist/esm/components/ViewportPortal/index.d.ts.map +0 -1
  160. package/node_modules/@xyflow/react/dist/esm/container/EdgeRenderer/MarkerDefinitions.d.ts +0 -10
  161. package/node_modules/@xyflow/react/dist/esm/container/EdgeRenderer/MarkerDefinitions.d.ts.map +0 -1
  162. package/node_modules/@xyflow/react/dist/esm/container/EdgeRenderer/MarkerSymbols.d.ts +0 -9
  163. package/node_modules/@xyflow/react/dist/esm/container/EdgeRenderer/MarkerSymbols.d.ts.map +0 -1
  164. package/node_modules/@xyflow/react/dist/esm/container/EdgeRenderer/index.d.ts +0 -13
  165. package/node_modules/@xyflow/react/dist/esm/container/EdgeRenderer/index.d.ts.map +0 -1
  166. package/node_modules/@xyflow/react/dist/esm/container/FlowRenderer/index.d.ts +0 -14
  167. package/node_modules/@xyflow/react/dist/esm/container/FlowRenderer/index.d.ts.map +0 -1
  168. package/node_modules/@xyflow/react/dist/esm/container/GraphView/index.d.ts +0 -11
  169. package/node_modules/@xyflow/react/dist/esm/container/GraphView/index.d.ts.map +0 -1
  170. package/node_modules/@xyflow/react/dist/esm/container/GraphView/useNodeOrEdgeTypesWarning.d.ts +0 -10
  171. package/node_modules/@xyflow/react/dist/esm/container/GraphView/useNodeOrEdgeTypesWarning.d.ts.map +0 -1
  172. package/node_modules/@xyflow/react/dist/esm/container/GraphView/useStylesLoadedWarning.d.ts +0 -2
  173. package/node_modules/@xyflow/react/dist/esm/container/GraphView/useStylesLoadedWarning.d.ts.map +0 -1
  174. package/node_modules/@xyflow/react/dist/esm/container/NodeRenderer/index.d.ts +0 -10
  175. package/node_modules/@xyflow/react/dist/esm/container/NodeRenderer/index.d.ts.map +0 -1
  176. package/node_modules/@xyflow/react/dist/esm/container/NodeRenderer/useResizeObserver.d.ts +0 -2
  177. package/node_modules/@xyflow/react/dist/esm/container/NodeRenderer/useResizeObserver.d.ts.map +0 -1
  178. package/node_modules/@xyflow/react/dist/esm/container/Pane/index.d.ts +0 -11
  179. package/node_modules/@xyflow/react/dist/esm/container/Pane/index.d.ts.map +0 -1
  180. package/node_modules/@xyflow/react/dist/esm/container/ReactFlow/Wrapper.d.ts +0 -20
  181. package/node_modules/@xyflow/react/dist/esm/container/ReactFlow/Wrapper.d.ts.map +0 -1
  182. package/node_modules/@xyflow/react/dist/esm/container/ReactFlow/index.d.ts +0 -24
  183. package/node_modules/@xyflow/react/dist/esm/container/ReactFlow/index.d.ts.map +0 -1
  184. package/node_modules/@xyflow/react/dist/esm/container/ReactFlow/init-values.d.ts +0 -4
  185. package/node_modules/@xyflow/react/dist/esm/container/ReactFlow/init-values.d.ts.map +0 -1
  186. package/node_modules/@xyflow/react/dist/esm/container/Viewport/index.d.ts +0 -7
  187. package/node_modules/@xyflow/react/dist/esm/container/Viewport/index.d.ts.map +0 -1
  188. package/node_modules/@xyflow/react/dist/esm/container/ZoomPane/index.d.ts +0 -7
  189. package/node_modules/@xyflow/react/dist/esm/container/ZoomPane/index.d.ts.map +0 -1
  190. package/node_modules/@xyflow/react/dist/esm/contexts/NodeIdContext.d.ts +0 -34
  191. package/node_modules/@xyflow/react/dist/esm/contexts/NodeIdContext.d.ts.map +0 -1
  192. package/node_modules/@xyflow/react/dist/esm/contexts/StoreContext.d.ts +0 -4
  193. package/node_modules/@xyflow/react/dist/esm/contexts/StoreContext.d.ts.map +0 -1
  194. package/node_modules/@xyflow/react/dist/esm/hooks/useColorModeClass.d.ts +0 -9
  195. package/node_modules/@xyflow/react/dist/esm/hooks/useColorModeClass.d.ts.map +0 -1
  196. package/node_modules/@xyflow/react/dist/esm/hooks/useConnection.d.ts +0 -33
  197. package/node_modules/@xyflow/react/dist/esm/hooks/useConnection.d.ts.map +0 -1
  198. package/node_modules/@xyflow/react/dist/esm/hooks/useDrag.d.ts +0 -18
  199. package/node_modules/@xyflow/react/dist/esm/hooks/useDrag.d.ts.map +0 -1
  200. package/node_modules/@xyflow/react/dist/esm/hooks/useEdges.d.ts +0 -21
  201. package/node_modules/@xyflow/react/dist/esm/hooks/useEdges.d.ts.map +0 -1
  202. package/node_modules/@xyflow/react/dist/esm/hooks/useGlobalKeyHandler.d.ts +0 -11
  203. package/node_modules/@xyflow/react/dist/esm/hooks/useGlobalKeyHandler.d.ts.map +0 -1
  204. package/node_modules/@xyflow/react/dist/esm/hooks/useHandleConnections.d.ts +0 -23
  205. package/node_modules/@xyflow/react/dist/esm/hooks/useHandleConnections.d.ts.map +0 -1
  206. package/node_modules/@xyflow/react/dist/esm/hooks/useInternalNode.d.ts +0 -30
  207. package/node_modules/@xyflow/react/dist/esm/hooks/useInternalNode.d.ts.map +0 -1
  208. package/node_modules/@xyflow/react/dist/esm/hooks/useIsomorphicLayoutEffect.d.ts +0 -3
  209. package/node_modules/@xyflow/react/dist/esm/hooks/useIsomorphicLayoutEffect.d.ts.map +0 -1
  210. package/node_modules/@xyflow/react/dist/esm/hooks/useKeyPress.d.ts +0 -53
  211. package/node_modules/@xyflow/react/dist/esm/hooks/useKeyPress.d.ts.map +0 -1
  212. package/node_modules/@xyflow/react/dist/esm/hooks/useMoveSelectedNodes.d.ts +0 -12
  213. package/node_modules/@xyflow/react/dist/esm/hooks/useMoveSelectedNodes.d.ts.map +0 -1
  214. package/node_modules/@xyflow/react/dist/esm/hooks/useNodeConnections.d.ts +0 -38
  215. package/node_modules/@xyflow/react/dist/esm/hooks/useNodeConnections.d.ts.map +0 -1
  216. package/node_modules/@xyflow/react/dist/esm/hooks/useNodes.d.ts +0 -22
  217. package/node_modules/@xyflow/react/dist/esm/hooks/useNodes.d.ts.map +0 -1
  218. package/node_modules/@xyflow/react/dist/esm/hooks/useNodesData.d.ts +0 -27
  219. package/node_modules/@xyflow/react/dist/esm/hooks/useNodesData.d.ts.map +0 -1
  220. package/node_modules/@xyflow/react/dist/esm/hooks/useNodesEdgesState.d.ts +0 -105
  221. package/node_modules/@xyflow/react/dist/esm/hooks/useNodesEdgesState.d.ts.map +0 -1
  222. package/node_modules/@xyflow/react/dist/esm/hooks/useNodesInitialized.d.ts +0 -39
  223. package/node_modules/@xyflow/react/dist/esm/hooks/useNodesInitialized.d.ts.map +0 -1
  224. package/node_modules/@xyflow/react/dist/esm/hooks/useOnEdgesChangeMiddleware.d.ts +0 -10
  225. package/node_modules/@xyflow/react/dist/esm/hooks/useOnEdgesChangeMiddleware.d.ts.map +0 -1
  226. package/node_modules/@xyflow/react/dist/esm/hooks/useOnInitHandler.d.ts +0 -8
  227. package/node_modules/@xyflow/react/dist/esm/hooks/useOnInitHandler.d.ts.map +0 -1
  228. package/node_modules/@xyflow/react/dist/esm/hooks/useOnNodesChangeMiddleware.d.ts +0 -10
  229. package/node_modules/@xyflow/react/dist/esm/hooks/useOnNodesChangeMiddleware.d.ts.map +0 -1
  230. package/node_modules/@xyflow/react/dist/esm/hooks/useOnSelectionChange.d.ts +0 -43
  231. package/node_modules/@xyflow/react/dist/esm/hooks/useOnSelectionChange.d.ts.map +0 -1
  232. package/node_modules/@xyflow/react/dist/esm/hooks/useOnViewportChange.d.ts +0 -33
  233. package/node_modules/@xyflow/react/dist/esm/hooks/useOnViewportChange.d.ts.map +0 -1
  234. package/node_modules/@xyflow/react/dist/esm/hooks/useReactFlow.d.ts +0 -30
  235. package/node_modules/@xyflow/react/dist/esm/hooks/useReactFlow.d.ts.map +0 -1
  236. package/node_modules/@xyflow/react/dist/esm/hooks/useResizeHandler.d.ts +0 -8
  237. package/node_modules/@xyflow/react/dist/esm/hooks/useResizeHandler.d.ts.map +0 -1
  238. package/node_modules/@xyflow/react/dist/esm/hooks/useStore.d.ts +0 -45
  239. package/node_modules/@xyflow/react/dist/esm/hooks/useStore.d.ts.map +0 -1
  240. package/node_modules/@xyflow/react/dist/esm/hooks/useUpdateNodeInternals.d.ts +0 -48
  241. package/node_modules/@xyflow/react/dist/esm/hooks/useUpdateNodeInternals.d.ts.map +0 -1
  242. package/node_modules/@xyflow/react/dist/esm/hooks/useViewport.d.ts +0 -32
  243. package/node_modules/@xyflow/react/dist/esm/hooks/useViewport.d.ts.map +0 -1
  244. package/node_modules/@xyflow/react/dist/esm/hooks/useViewportHelper.d.ts +0 -10
  245. package/node_modules/@xyflow/react/dist/esm/hooks/useViewportHelper.d.ts.map +0 -1
  246. package/node_modules/@xyflow/react/dist/esm/hooks/useViewportSync.d.ts +0 -9
  247. package/node_modules/@xyflow/react/dist/esm/hooks/useViewportSync.d.ts.map +0 -1
  248. package/node_modules/@xyflow/react/dist/esm/hooks/useVisibleEdgeIds.d.ts +0 -9
  249. package/node_modules/@xyflow/react/dist/esm/hooks/useVisibleEdgeIds.d.ts.map +0 -1
  250. package/node_modules/@xyflow/react/dist/esm/hooks/useVisibleNodeIds.d.ts +0 -9
  251. package/node_modules/@xyflow/react/dist/esm/hooks/useVisibleNodeIds.d.ts.map +0 -1
  252. package/node_modules/@xyflow/react/dist/esm/index.d.ts +0 -41
  253. package/node_modules/@xyflow/react/dist/esm/index.d.ts.map +0 -1
  254. package/node_modules/@xyflow/react/dist/esm/index.js +0 -4987
  255. package/node_modules/@xyflow/react/dist/esm/index.mjs +0 -4987
  256. package/node_modules/@xyflow/react/dist/esm/store/index.d.ts +0 -19
  257. package/node_modules/@xyflow/react/dist/esm/store/index.d.ts.map +0 -1
  258. package/node_modules/@xyflow/react/dist/esm/store/initialState.d.ts +0 -19
  259. package/node_modules/@xyflow/react/dist/esm/store/initialState.d.ts.map +0 -1
  260. package/node_modules/@xyflow/react/dist/esm/styles/utils.d.ts +0 -3
  261. package/node_modules/@xyflow/react/dist/esm/styles/utils.d.ts.map +0 -1
  262. package/node_modules/@xyflow/react/dist/esm/types/component-props.d.ts +0 -649
  263. package/node_modules/@xyflow/react/dist/esm/types/component-props.d.ts.map +0 -1
  264. package/node_modules/@xyflow/react/dist/esm/types/edges.d.ts +0 -217
  265. package/node_modules/@xyflow/react/dist/esm/types/edges.d.ts.map +0 -1
  266. package/node_modules/@xyflow/react/dist/esm/types/general.d.ts +0 -179
  267. package/node_modules/@xyflow/react/dist/esm/types/general.d.ts.map +0 -1
  268. package/node_modules/@xyflow/react/dist/esm/types/index.d.ts +0 -7
  269. package/node_modules/@xyflow/react/dist/esm/types/index.d.ts.map +0 -1
  270. package/node_modules/@xyflow/react/dist/esm/types/instance.d.ts +0 -242
  271. package/node_modules/@xyflow/react/dist/esm/types/instance.d.ts.map +0 -1
  272. package/node_modules/@xyflow/react/dist/esm/types/nodes.d.ts +0 -101
  273. package/node_modules/@xyflow/react/dist/esm/types/nodes.d.ts.map +0 -1
  274. package/node_modules/@xyflow/react/dist/esm/types/store.d.ts +0 -115
  275. package/node_modules/@xyflow/react/dist/esm/types/store.d.ts.map +0 -1
  276. package/node_modules/@xyflow/react/dist/esm/utils/changes.d.ts +0 -87
  277. package/node_modules/@xyflow/react/dist/esm/utils/changes.d.ts.map +0 -1
  278. package/node_modules/@xyflow/react/dist/esm/utils/general.d.ts +0 -48
  279. package/node_modules/@xyflow/react/dist/esm/utils/general.d.ts.map +0 -1
  280. package/node_modules/@xyflow/react/dist/esm/utils/index.d.ts +0 -3
  281. package/node_modules/@xyflow/react/dist/esm/utils/index.d.ts.map +0 -1
  282. package/node_modules/@xyflow/react/dist/style.css +0 -624
  283. package/node_modules/@xyflow/react/dist/umd/additional-components/Background/Background.d.ts +0 -61
  284. package/node_modules/@xyflow/react/dist/umd/additional-components/Background/Background.d.ts.map +0 -1
  285. package/node_modules/@xyflow/react/dist/umd/additional-components/Background/Patterns.d.ts +0 -15
  286. package/node_modules/@xyflow/react/dist/umd/additional-components/Background/Patterns.d.ts.map +0 -1
  287. package/node_modules/@xyflow/react/dist/umd/additional-components/Background/index.d.ts +0 -3
  288. package/node_modules/@xyflow/react/dist/umd/additional-components/Background/index.d.ts.map +0 -1
  289. package/node_modules/@xyflow/react/dist/umd/additional-components/Background/types.d.ts +0 -59
  290. package/node_modules/@xyflow/react/dist/umd/additional-components/Background/types.d.ts.map +0 -1
  291. package/node_modules/@xyflow/react/dist/umd/additional-components/Controls/ControlButton.d.ts +0 -26
  292. package/node_modules/@xyflow/react/dist/umd/additional-components/Controls/ControlButton.d.ts.map +0 -1
  293. package/node_modules/@xyflow/react/dist/umd/additional-components/Controls/Controls.d.ts +0 -29
  294. package/node_modules/@xyflow/react/dist/umd/additional-components/Controls/Controls.d.ts.map +0 -1
  295. package/node_modules/@xyflow/react/dist/umd/additional-components/Controls/Icons/FitView.d.ts +0 -2
  296. package/node_modules/@xyflow/react/dist/umd/additional-components/Controls/Icons/FitView.d.ts.map +0 -1
  297. package/node_modules/@xyflow/react/dist/umd/additional-components/Controls/Icons/Lock.d.ts +0 -2
  298. package/node_modules/@xyflow/react/dist/umd/additional-components/Controls/Icons/Lock.d.ts.map +0 -1
  299. package/node_modules/@xyflow/react/dist/umd/additional-components/Controls/Icons/Minus.d.ts +0 -2
  300. package/node_modules/@xyflow/react/dist/umd/additional-components/Controls/Icons/Minus.d.ts.map +0 -1
  301. package/node_modules/@xyflow/react/dist/umd/additional-components/Controls/Icons/Plus.d.ts +0 -2
  302. package/node_modules/@xyflow/react/dist/umd/additional-components/Controls/Icons/Plus.d.ts.map +0 -1
  303. package/node_modules/@xyflow/react/dist/umd/additional-components/Controls/Icons/Unlock.d.ts +0 -2
  304. package/node_modules/@xyflow/react/dist/umd/additional-components/Controls/Icons/Unlock.d.ts.map +0 -1
  305. package/node_modules/@xyflow/react/dist/umd/additional-components/Controls/index.d.ts +0 -4
  306. package/node_modules/@xyflow/react/dist/umd/additional-components/Controls/index.d.ts.map +0 -1
  307. package/node_modules/@xyflow/react/dist/umd/additional-components/Controls/types.d.ts +0 -66
  308. package/node_modules/@xyflow/react/dist/umd/additional-components/Controls/types.d.ts.map +0 -1
  309. package/node_modules/@xyflow/react/dist/umd/additional-components/EdgeToolbar/EdgeToolbar.d.ts +0 -26
  310. package/node_modules/@xyflow/react/dist/umd/additional-components/EdgeToolbar/EdgeToolbar.d.ts.map +0 -1
  311. package/node_modules/@xyflow/react/dist/umd/additional-components/EdgeToolbar/index.d.ts +0 -3
  312. package/node_modules/@xyflow/react/dist/umd/additional-components/EdgeToolbar/index.d.ts.map +0 -1
  313. package/node_modules/@xyflow/react/dist/umd/additional-components/EdgeToolbar/types.d.ts +0 -13
  314. package/node_modules/@xyflow/react/dist/umd/additional-components/EdgeToolbar/types.d.ts.map +0 -1
  315. package/node_modules/@xyflow/react/dist/umd/additional-components/MiniMap/MiniMap.d.ts +0 -29
  316. package/node_modules/@xyflow/react/dist/umd/additional-components/MiniMap/MiniMap.d.ts.map +0 -1
  317. package/node_modules/@xyflow/react/dist/umd/additional-components/MiniMap/MiniMapNode.d.ts +0 -5
  318. package/node_modules/@xyflow/react/dist/umd/additional-components/MiniMap/MiniMapNode.d.ts.map +0 -1
  319. package/node_modules/@xyflow/react/dist/umd/additional-components/MiniMap/MiniMapNodes.d.ts +0 -6
  320. package/node_modules/@xyflow/react/dist/umd/additional-components/MiniMap/MiniMapNodes.d.ts.map +0 -1
  321. package/node_modules/@xyflow/react/dist/umd/additional-components/MiniMap/index.d.ts +0 -4
  322. package/node_modules/@xyflow/react/dist/umd/additional-components/MiniMap/index.d.ts.map +0 -1
  323. package/node_modules/@xyflow/react/dist/umd/additional-components/MiniMap/types.d.ts +0 -123
  324. package/node_modules/@xyflow/react/dist/umd/additional-components/MiniMap/types.d.ts.map +0 -1
  325. package/node_modules/@xyflow/react/dist/umd/additional-components/NodeResizer/NodeResizeControl.d.ts +0 -11
  326. package/node_modules/@xyflow/react/dist/umd/additional-components/NodeResizer/NodeResizeControl.d.ts.map +0 -1
  327. package/node_modules/@xyflow/react/dist/umd/additional-components/NodeResizer/NodeResizer.d.ts +0 -27
  328. package/node_modules/@xyflow/react/dist/umd/additional-components/NodeResizer/NodeResizer.d.ts.map +0 -1
  329. package/node_modules/@xyflow/react/dist/umd/additional-components/NodeResizer/index.d.ts +0 -4
  330. package/node_modules/@xyflow/react/dist/umd/additional-components/NodeResizer/index.d.ts.map +0 -1
  331. package/node_modules/@xyflow/react/dist/umd/additional-components/NodeResizer/types.d.ts +0 -97
  332. package/node_modules/@xyflow/react/dist/umd/additional-components/NodeResizer/types.d.ts.map +0 -1
  333. package/node_modules/@xyflow/react/dist/umd/additional-components/NodeToolbar/NodeToolbar.d.ts +0 -38
  334. package/node_modules/@xyflow/react/dist/umd/additional-components/NodeToolbar/NodeToolbar.d.ts.map +0 -1
  335. package/node_modules/@xyflow/react/dist/umd/additional-components/NodeToolbar/NodeToolbarPortal.d.ts +0 -5
  336. package/node_modules/@xyflow/react/dist/umd/additional-components/NodeToolbar/NodeToolbarPortal.d.ts.map +0 -1
  337. package/node_modules/@xyflow/react/dist/umd/additional-components/NodeToolbar/index.d.ts +0 -3
  338. package/node_modules/@xyflow/react/dist/umd/additional-components/NodeToolbar/index.d.ts.map +0 -1
  339. package/node_modules/@xyflow/react/dist/umd/additional-components/NodeToolbar/types.d.ts +0 -32
  340. package/node_modules/@xyflow/react/dist/umd/additional-components/NodeToolbar/types.d.ts.map +0 -1
  341. package/node_modules/@xyflow/react/dist/umd/additional-components/index.d.ts +0 -7
  342. package/node_modules/@xyflow/react/dist/umd/additional-components/index.d.ts.map +0 -1
  343. package/node_modules/@xyflow/react/dist/umd/components/A11yDescriptions/index.d.ts +0 -8
  344. package/node_modules/@xyflow/react/dist/umd/components/A11yDescriptions/index.d.ts.map +0 -1
  345. package/node_modules/@xyflow/react/dist/umd/components/Attribution/index.d.ts +0 -8
  346. package/node_modules/@xyflow/react/dist/umd/components/Attribution/index.d.ts.map +0 -1
  347. package/node_modules/@xyflow/react/dist/umd/components/BatchProvider/index.d.ts +0 -17
  348. package/node_modules/@xyflow/react/dist/umd/components/BatchProvider/index.d.ts.map +0 -1
  349. package/node_modules/@xyflow/react/dist/umd/components/BatchProvider/types.d.ts +0 -7
  350. package/node_modules/@xyflow/react/dist/umd/components/BatchProvider/types.d.ts.map +0 -1
  351. package/node_modules/@xyflow/react/dist/umd/components/BatchProvider/useQueue.d.ts +0 -11
  352. package/node_modules/@xyflow/react/dist/umd/components/BatchProvider/useQueue.d.ts.map +0 -1
  353. package/node_modules/@xyflow/react/dist/umd/components/ConnectionLine/index.d.ts +0 -12
  354. package/node_modules/@xyflow/react/dist/umd/components/ConnectionLine/index.d.ts.map +0 -1
  355. package/node_modules/@xyflow/react/dist/umd/components/EdgeLabelRenderer/index.d.ts +0 -47
  356. package/node_modules/@xyflow/react/dist/umd/components/EdgeLabelRenderer/index.d.ts.map +0 -1
  357. package/node_modules/@xyflow/react/dist/umd/components/EdgeWrapper/EdgeUpdateAnchors.d.ts +0 -15
  358. package/node_modules/@xyflow/react/dist/umd/components/EdgeWrapper/EdgeUpdateAnchors.d.ts.map +0 -1
  359. package/node_modules/@xyflow/react/dist/umd/components/EdgeWrapper/index.d.ts +0 -6
  360. package/node_modules/@xyflow/react/dist/umd/components/EdgeWrapper/index.d.ts.map +0 -1
  361. package/node_modules/@xyflow/react/dist/umd/components/EdgeWrapper/utils.d.ts +0 -11
  362. package/node_modules/@xyflow/react/dist/umd/components/EdgeWrapper/utils.d.ts.map +0 -1
  363. package/node_modules/@xyflow/react/dist/umd/components/Edges/BaseEdge.d.ts +0 -30
  364. package/node_modules/@xyflow/react/dist/umd/components/Edges/BaseEdge.d.ts.map +0 -1
  365. package/node_modules/@xyflow/react/dist/umd/components/Edges/BezierEdge.d.ts +0 -31
  366. package/node_modules/@xyflow/react/dist/umd/components/Edges/BezierEdge.d.ts.map +0 -1
  367. package/node_modules/@xyflow/react/dist/umd/components/Edges/EdgeAnchor.d.ts +0 -17
  368. package/node_modules/@xyflow/react/dist/umd/components/Edges/EdgeAnchor.d.ts.map +0 -1
  369. package/node_modules/@xyflow/react/dist/umd/components/Edges/EdgeText.d.ts +0 -34
  370. package/node_modules/@xyflow/react/dist/umd/components/Edges/EdgeText.d.ts.map +0 -1
  371. package/node_modules/@xyflow/react/dist/umd/components/Edges/SimpleBezierEdge.d.ts +0 -30
  372. package/node_modules/@xyflow/react/dist/umd/components/Edges/SimpleBezierEdge.d.ts.map +0 -1
  373. package/node_modules/@xyflow/react/dist/umd/components/Edges/SmoothStepEdge.d.ts +0 -31
  374. package/node_modules/@xyflow/react/dist/umd/components/Edges/SmoothStepEdge.d.ts.map +0 -1
  375. package/node_modules/@xyflow/react/dist/umd/components/Edges/StepEdge.d.ts +0 -31
  376. package/node_modules/@xyflow/react/dist/umd/components/Edges/StepEdge.d.ts.map +0 -1
  377. package/node_modules/@xyflow/react/dist/umd/components/Edges/StraightEdge.d.ts +0 -29
  378. package/node_modules/@xyflow/react/dist/umd/components/Edges/StraightEdge.d.ts.map +0 -1
  379. package/node_modules/@xyflow/react/dist/umd/components/Edges/index.d.ts +0 -6
  380. package/node_modules/@xyflow/react/dist/umd/components/Edges/index.d.ts.map +0 -1
  381. package/node_modules/@xyflow/react/dist/umd/components/Handle/index.d.ts +0 -39
  382. package/node_modules/@xyflow/react/dist/umd/components/Handle/index.d.ts.map +0 -1
  383. package/node_modules/@xyflow/react/dist/umd/components/NodeWrapper/index.d.ts +0 -5
  384. package/node_modules/@xyflow/react/dist/umd/components/NodeWrapper/index.d.ts.map +0 -1
  385. package/node_modules/@xyflow/react/dist/umd/components/NodeWrapper/useNodeObserver.d.ts +0 -14
  386. package/node_modules/@xyflow/react/dist/umd/components/NodeWrapper/useNodeObserver.d.ts.map +0 -1
  387. package/node_modules/@xyflow/react/dist/umd/components/NodeWrapper/utils.d.ts +0 -9
  388. package/node_modules/@xyflow/react/dist/umd/components/NodeWrapper/utils.d.ts.map +0 -1
  389. package/node_modules/@xyflow/react/dist/umd/components/Nodes/DefaultNode.d.ts +0 -3
  390. package/node_modules/@xyflow/react/dist/umd/components/Nodes/DefaultNode.d.ts.map +0 -1
  391. package/node_modules/@xyflow/react/dist/umd/components/Nodes/GroupNode.d.ts +0 -2
  392. package/node_modules/@xyflow/react/dist/umd/components/Nodes/GroupNode.d.ts.map +0 -1
  393. package/node_modules/@xyflow/react/dist/umd/components/Nodes/InputNode.d.ts +0 -3
  394. package/node_modules/@xyflow/react/dist/umd/components/Nodes/InputNode.d.ts.map +0 -1
  395. package/node_modules/@xyflow/react/dist/umd/components/Nodes/OutputNode.d.ts +0 -3
  396. package/node_modules/@xyflow/react/dist/umd/components/Nodes/OutputNode.d.ts.map +0 -1
  397. package/node_modules/@xyflow/react/dist/umd/components/Nodes/utils.d.ts +0 -13
  398. package/node_modules/@xyflow/react/dist/umd/components/Nodes/utils.d.ts.map +0 -1
  399. package/node_modules/@xyflow/react/dist/umd/components/NodesSelection/index.d.ts +0 -13
  400. package/node_modules/@xyflow/react/dist/umd/components/NodesSelection/index.d.ts.map +0 -1
  401. package/node_modules/@xyflow/react/dist/umd/components/Panel/index.d.ts +0 -45
  402. package/node_modules/@xyflow/react/dist/umd/components/Panel/index.d.ts.map +0 -1
  403. package/node_modules/@xyflow/react/dist/umd/components/ReactFlowProvider/index.d.ts +0 -83
  404. package/node_modules/@xyflow/react/dist/umd/components/ReactFlowProvider/index.d.ts.map +0 -1
  405. package/node_modules/@xyflow/react/dist/umd/components/SelectionListener/index.d.ts +0 -7
  406. package/node_modules/@xyflow/react/dist/umd/components/SelectionListener/index.d.ts.map +0 -1
  407. package/node_modules/@xyflow/react/dist/umd/components/StoreUpdater/index.d.ts +0 -9
  408. package/node_modules/@xyflow/react/dist/umd/components/StoreUpdater/index.d.ts.map +0 -1
  409. package/node_modules/@xyflow/react/dist/umd/components/UserSelection/index.d.ts +0 -2
  410. package/node_modules/@xyflow/react/dist/umd/components/UserSelection/index.d.ts.map +0 -1
  411. package/node_modules/@xyflow/react/dist/umd/components/ViewportPortal/index.d.ts +0 -30
  412. package/node_modules/@xyflow/react/dist/umd/components/ViewportPortal/index.d.ts.map +0 -1
  413. package/node_modules/@xyflow/react/dist/umd/container/EdgeRenderer/MarkerDefinitions.d.ts +0 -10
  414. package/node_modules/@xyflow/react/dist/umd/container/EdgeRenderer/MarkerDefinitions.d.ts.map +0 -1
  415. package/node_modules/@xyflow/react/dist/umd/container/EdgeRenderer/MarkerSymbols.d.ts +0 -9
  416. package/node_modules/@xyflow/react/dist/umd/container/EdgeRenderer/MarkerSymbols.d.ts.map +0 -1
  417. package/node_modules/@xyflow/react/dist/umd/container/EdgeRenderer/index.d.ts +0 -13
  418. package/node_modules/@xyflow/react/dist/umd/container/EdgeRenderer/index.d.ts.map +0 -1
  419. package/node_modules/@xyflow/react/dist/umd/container/FlowRenderer/index.d.ts +0 -14
  420. package/node_modules/@xyflow/react/dist/umd/container/FlowRenderer/index.d.ts.map +0 -1
  421. package/node_modules/@xyflow/react/dist/umd/container/GraphView/index.d.ts +0 -11
  422. package/node_modules/@xyflow/react/dist/umd/container/GraphView/index.d.ts.map +0 -1
  423. package/node_modules/@xyflow/react/dist/umd/container/GraphView/useNodeOrEdgeTypesWarning.d.ts +0 -10
  424. package/node_modules/@xyflow/react/dist/umd/container/GraphView/useNodeOrEdgeTypesWarning.d.ts.map +0 -1
  425. package/node_modules/@xyflow/react/dist/umd/container/GraphView/useStylesLoadedWarning.d.ts +0 -2
  426. package/node_modules/@xyflow/react/dist/umd/container/GraphView/useStylesLoadedWarning.d.ts.map +0 -1
  427. package/node_modules/@xyflow/react/dist/umd/container/NodeRenderer/index.d.ts +0 -10
  428. package/node_modules/@xyflow/react/dist/umd/container/NodeRenderer/index.d.ts.map +0 -1
  429. package/node_modules/@xyflow/react/dist/umd/container/NodeRenderer/useResizeObserver.d.ts +0 -2
  430. package/node_modules/@xyflow/react/dist/umd/container/NodeRenderer/useResizeObserver.d.ts.map +0 -1
  431. package/node_modules/@xyflow/react/dist/umd/container/Pane/index.d.ts +0 -11
  432. package/node_modules/@xyflow/react/dist/umd/container/Pane/index.d.ts.map +0 -1
  433. package/node_modules/@xyflow/react/dist/umd/container/ReactFlow/Wrapper.d.ts +0 -20
  434. package/node_modules/@xyflow/react/dist/umd/container/ReactFlow/Wrapper.d.ts.map +0 -1
  435. package/node_modules/@xyflow/react/dist/umd/container/ReactFlow/index.d.ts +0 -24
  436. package/node_modules/@xyflow/react/dist/umd/container/ReactFlow/index.d.ts.map +0 -1
  437. package/node_modules/@xyflow/react/dist/umd/container/ReactFlow/init-values.d.ts +0 -4
  438. package/node_modules/@xyflow/react/dist/umd/container/ReactFlow/init-values.d.ts.map +0 -1
  439. package/node_modules/@xyflow/react/dist/umd/container/Viewport/index.d.ts +0 -7
  440. package/node_modules/@xyflow/react/dist/umd/container/Viewport/index.d.ts.map +0 -1
  441. package/node_modules/@xyflow/react/dist/umd/container/ZoomPane/index.d.ts +0 -7
  442. package/node_modules/@xyflow/react/dist/umd/container/ZoomPane/index.d.ts.map +0 -1
  443. package/node_modules/@xyflow/react/dist/umd/contexts/NodeIdContext.d.ts +0 -34
  444. package/node_modules/@xyflow/react/dist/umd/contexts/NodeIdContext.d.ts.map +0 -1
  445. package/node_modules/@xyflow/react/dist/umd/contexts/StoreContext.d.ts +0 -4
  446. package/node_modules/@xyflow/react/dist/umd/contexts/StoreContext.d.ts.map +0 -1
  447. package/node_modules/@xyflow/react/dist/umd/hooks/useColorModeClass.d.ts +0 -9
  448. package/node_modules/@xyflow/react/dist/umd/hooks/useColorModeClass.d.ts.map +0 -1
  449. package/node_modules/@xyflow/react/dist/umd/hooks/useConnection.d.ts +0 -33
  450. package/node_modules/@xyflow/react/dist/umd/hooks/useConnection.d.ts.map +0 -1
  451. package/node_modules/@xyflow/react/dist/umd/hooks/useDrag.d.ts +0 -18
  452. package/node_modules/@xyflow/react/dist/umd/hooks/useDrag.d.ts.map +0 -1
  453. package/node_modules/@xyflow/react/dist/umd/hooks/useEdges.d.ts +0 -21
  454. package/node_modules/@xyflow/react/dist/umd/hooks/useEdges.d.ts.map +0 -1
  455. package/node_modules/@xyflow/react/dist/umd/hooks/useGlobalKeyHandler.d.ts +0 -11
  456. package/node_modules/@xyflow/react/dist/umd/hooks/useGlobalKeyHandler.d.ts.map +0 -1
  457. package/node_modules/@xyflow/react/dist/umd/hooks/useHandleConnections.d.ts +0 -23
  458. package/node_modules/@xyflow/react/dist/umd/hooks/useHandleConnections.d.ts.map +0 -1
  459. package/node_modules/@xyflow/react/dist/umd/hooks/useInternalNode.d.ts +0 -30
  460. package/node_modules/@xyflow/react/dist/umd/hooks/useInternalNode.d.ts.map +0 -1
  461. package/node_modules/@xyflow/react/dist/umd/hooks/useIsomorphicLayoutEffect.d.ts +0 -3
  462. package/node_modules/@xyflow/react/dist/umd/hooks/useIsomorphicLayoutEffect.d.ts.map +0 -1
  463. package/node_modules/@xyflow/react/dist/umd/hooks/useKeyPress.d.ts +0 -53
  464. package/node_modules/@xyflow/react/dist/umd/hooks/useKeyPress.d.ts.map +0 -1
  465. package/node_modules/@xyflow/react/dist/umd/hooks/useMoveSelectedNodes.d.ts +0 -12
  466. package/node_modules/@xyflow/react/dist/umd/hooks/useMoveSelectedNodes.d.ts.map +0 -1
  467. package/node_modules/@xyflow/react/dist/umd/hooks/useNodeConnections.d.ts +0 -38
  468. package/node_modules/@xyflow/react/dist/umd/hooks/useNodeConnections.d.ts.map +0 -1
  469. package/node_modules/@xyflow/react/dist/umd/hooks/useNodes.d.ts +0 -22
  470. package/node_modules/@xyflow/react/dist/umd/hooks/useNodes.d.ts.map +0 -1
  471. package/node_modules/@xyflow/react/dist/umd/hooks/useNodesData.d.ts +0 -27
  472. package/node_modules/@xyflow/react/dist/umd/hooks/useNodesData.d.ts.map +0 -1
  473. package/node_modules/@xyflow/react/dist/umd/hooks/useNodesEdgesState.d.ts +0 -105
  474. package/node_modules/@xyflow/react/dist/umd/hooks/useNodesEdgesState.d.ts.map +0 -1
  475. package/node_modules/@xyflow/react/dist/umd/hooks/useNodesInitialized.d.ts +0 -39
  476. package/node_modules/@xyflow/react/dist/umd/hooks/useNodesInitialized.d.ts.map +0 -1
  477. package/node_modules/@xyflow/react/dist/umd/hooks/useOnEdgesChangeMiddleware.d.ts +0 -10
  478. package/node_modules/@xyflow/react/dist/umd/hooks/useOnEdgesChangeMiddleware.d.ts.map +0 -1
  479. package/node_modules/@xyflow/react/dist/umd/hooks/useOnInitHandler.d.ts +0 -8
  480. package/node_modules/@xyflow/react/dist/umd/hooks/useOnInitHandler.d.ts.map +0 -1
  481. package/node_modules/@xyflow/react/dist/umd/hooks/useOnNodesChangeMiddleware.d.ts +0 -10
  482. package/node_modules/@xyflow/react/dist/umd/hooks/useOnNodesChangeMiddleware.d.ts.map +0 -1
  483. package/node_modules/@xyflow/react/dist/umd/hooks/useOnSelectionChange.d.ts +0 -43
  484. package/node_modules/@xyflow/react/dist/umd/hooks/useOnSelectionChange.d.ts.map +0 -1
  485. package/node_modules/@xyflow/react/dist/umd/hooks/useOnViewportChange.d.ts +0 -33
  486. package/node_modules/@xyflow/react/dist/umd/hooks/useOnViewportChange.d.ts.map +0 -1
  487. package/node_modules/@xyflow/react/dist/umd/hooks/useReactFlow.d.ts +0 -30
  488. package/node_modules/@xyflow/react/dist/umd/hooks/useReactFlow.d.ts.map +0 -1
  489. package/node_modules/@xyflow/react/dist/umd/hooks/useResizeHandler.d.ts +0 -8
  490. package/node_modules/@xyflow/react/dist/umd/hooks/useResizeHandler.d.ts.map +0 -1
  491. package/node_modules/@xyflow/react/dist/umd/hooks/useStore.d.ts +0 -45
  492. package/node_modules/@xyflow/react/dist/umd/hooks/useStore.d.ts.map +0 -1
  493. package/node_modules/@xyflow/react/dist/umd/hooks/useUpdateNodeInternals.d.ts +0 -48
  494. package/node_modules/@xyflow/react/dist/umd/hooks/useUpdateNodeInternals.d.ts.map +0 -1
  495. package/node_modules/@xyflow/react/dist/umd/hooks/useViewport.d.ts +0 -32
  496. package/node_modules/@xyflow/react/dist/umd/hooks/useViewport.d.ts.map +0 -1
  497. package/node_modules/@xyflow/react/dist/umd/hooks/useViewportHelper.d.ts +0 -10
  498. package/node_modules/@xyflow/react/dist/umd/hooks/useViewportHelper.d.ts.map +0 -1
  499. package/node_modules/@xyflow/react/dist/umd/hooks/useViewportSync.d.ts +0 -9
  500. package/node_modules/@xyflow/react/dist/umd/hooks/useViewportSync.d.ts.map +0 -1
  501. package/node_modules/@xyflow/react/dist/umd/hooks/useVisibleEdgeIds.d.ts +0 -9
  502. package/node_modules/@xyflow/react/dist/umd/hooks/useVisibleEdgeIds.d.ts.map +0 -1
  503. package/node_modules/@xyflow/react/dist/umd/hooks/useVisibleNodeIds.d.ts +0 -9
  504. package/node_modules/@xyflow/react/dist/umd/hooks/useVisibleNodeIds.d.ts.map +0 -1
  505. package/node_modules/@xyflow/react/dist/umd/index.d.ts +0 -41
  506. package/node_modules/@xyflow/react/dist/umd/index.d.ts.map +0 -1
  507. package/node_modules/@xyflow/react/dist/umd/index.js +0 -10
  508. package/node_modules/@xyflow/react/dist/umd/store/index.d.ts +0 -19
  509. package/node_modules/@xyflow/react/dist/umd/store/index.d.ts.map +0 -1
  510. package/node_modules/@xyflow/react/dist/umd/store/initialState.d.ts +0 -19
  511. package/node_modules/@xyflow/react/dist/umd/store/initialState.d.ts.map +0 -1
  512. package/node_modules/@xyflow/react/dist/umd/styles/utils.d.ts +0 -3
  513. package/node_modules/@xyflow/react/dist/umd/styles/utils.d.ts.map +0 -1
  514. package/node_modules/@xyflow/react/dist/umd/types/component-props.d.ts +0 -649
  515. package/node_modules/@xyflow/react/dist/umd/types/component-props.d.ts.map +0 -1
  516. package/node_modules/@xyflow/react/dist/umd/types/edges.d.ts +0 -217
  517. package/node_modules/@xyflow/react/dist/umd/types/edges.d.ts.map +0 -1
  518. package/node_modules/@xyflow/react/dist/umd/types/general.d.ts +0 -179
  519. package/node_modules/@xyflow/react/dist/umd/types/general.d.ts.map +0 -1
  520. package/node_modules/@xyflow/react/dist/umd/types/index.d.ts +0 -7
  521. package/node_modules/@xyflow/react/dist/umd/types/index.d.ts.map +0 -1
  522. package/node_modules/@xyflow/react/dist/umd/types/instance.d.ts +0 -242
  523. package/node_modules/@xyflow/react/dist/umd/types/instance.d.ts.map +0 -1
  524. package/node_modules/@xyflow/react/dist/umd/types/nodes.d.ts +0 -101
  525. package/node_modules/@xyflow/react/dist/umd/types/nodes.d.ts.map +0 -1
  526. package/node_modules/@xyflow/react/dist/umd/types/store.d.ts +0 -115
  527. package/node_modules/@xyflow/react/dist/umd/types/store.d.ts.map +0 -1
  528. package/node_modules/@xyflow/react/dist/umd/utils/changes.d.ts +0 -87
  529. package/node_modules/@xyflow/react/dist/umd/utils/changes.d.ts.map +0 -1
  530. package/node_modules/@xyflow/react/dist/umd/utils/general.d.ts +0 -48
  531. package/node_modules/@xyflow/react/dist/umd/utils/general.d.ts.map +0 -1
  532. package/node_modules/@xyflow/react/dist/umd/utils/index.d.ts +0 -3
  533. package/node_modules/@xyflow/react/dist/umd/utils/index.d.ts.map +0 -1
  534. package/node_modules/@xyflow/react/package.json +0 -98
  535. package/node_modules/@xyflow/system/LICENSE +0 -21
  536. package/node_modules/@xyflow/system/README.md +0 -62
  537. package/node_modules/@xyflow/system/dist/esm/constants.d.ts +0 -43
  538. package/node_modules/@xyflow/system/dist/esm/constants.d.ts.map +0 -1
  539. package/node_modules/@xyflow/system/dist/esm/index.d.ts +0 -9
  540. package/node_modules/@xyflow/system/dist/esm/index.d.ts.map +0 -1
  541. package/node_modules/@xyflow/system/dist/esm/index.js +0 -3514
  542. package/node_modules/@xyflow/system/dist/esm/index.mjs +0 -3514
  543. package/node_modules/@xyflow/system/dist/esm/types/changes.d.ts +0 -64
  544. package/node_modules/@xyflow/system/dist/esm/types/changes.d.ts.map +0 -1
  545. package/node_modules/@xyflow/system/dist/esm/types/edges.d.ts +0 -140
  546. package/node_modules/@xyflow/system/dist/esm/types/edges.d.ts.map +0 -1
  547. package/node_modules/@xyflow/system/dist/esm/types/general.d.ts +0 -296
  548. package/node_modules/@xyflow/system/dist/esm/types/general.d.ts.map +0 -1
  549. package/node_modules/@xyflow/system/dist/esm/types/handles.d.ts +0 -58
  550. package/node_modules/@xyflow/system/dist/esm/types/handles.d.ts.map +0 -1
  551. package/node_modules/@xyflow/system/dist/esm/types/index.d.ts +0 -8
  552. package/node_modules/@xyflow/system/dist/esm/types/index.d.ts.map +0 -1
  553. package/node_modules/@xyflow/system/dist/esm/types/nodes.d.ts +0 -157
  554. package/node_modules/@xyflow/system/dist/esm/types/nodes.d.ts.map +0 -1
  555. package/node_modules/@xyflow/system/dist/esm/types/panzoom.d.ts +0 -55
  556. package/node_modules/@xyflow/system/dist/esm/types/panzoom.d.ts.map +0 -1
  557. package/node_modules/@xyflow/system/dist/esm/types/utils.d.ts +0 -61
  558. package/node_modules/@xyflow/system/dist/esm/types/utils.d.ts.map +0 -1
  559. package/node_modules/@xyflow/system/dist/esm/utils/connections.d.ts +0 -13
  560. package/node_modules/@xyflow/system/dist/esm/utils/connections.d.ts.map +0 -1
  561. package/node_modules/@xyflow/system/dist/esm/utils/dom.d.ts +0 -21
  562. package/node_modules/@xyflow/system/dist/esm/utils/dom.d.ts.map +0 -1
  563. package/node_modules/@xyflow/system/dist/esm/utils/edge-toolbar.d.ts +0 -2
  564. package/node_modules/@xyflow/system/dist/esm/utils/edge-toolbar.d.ts.map +0 -1
  565. package/node_modules/@xyflow/system/dist/esm/utils/edges/bezier-edge.d.ts +0 -77
  566. package/node_modules/@xyflow/system/dist/esm/utils/edges/bezier-edge.d.ts.map +0 -1
  567. package/node_modules/@xyflow/system/dist/esm/utils/edges/general.d.ts +0 -91
  568. package/node_modules/@xyflow/system/dist/esm/utils/edges/general.d.ts.map +0 -1
  569. package/node_modules/@xyflow/system/dist/esm/utils/edges/index.d.ts +0 -6
  570. package/node_modules/@xyflow/system/dist/esm/utils/edges/index.d.ts.map +0 -1
  571. package/node_modules/@xyflow/system/dist/esm/utils/edges/positions.d.ts +0 -17
  572. package/node_modules/@xyflow/system/dist/esm/utils/edges/positions.d.ts.map +0 -1
  573. package/node_modules/@xyflow/system/dist/esm/utils/edges/smoothstep-edge.d.ts +0 -66
  574. package/node_modules/@xyflow/system/dist/esm/utils/edges/smoothstep-edge.d.ts.map +0 -1
  575. package/node_modules/@xyflow/system/dist/esm/utils/edges/straight-edge.d.ts +0 -41
  576. package/node_modules/@xyflow/system/dist/esm/utils/edges/straight-edge.d.ts.map +0 -1
  577. package/node_modules/@xyflow/system/dist/esm/utils/general.d.ts +0 -85
  578. package/node_modules/@xyflow/system/dist/esm/utils/general.d.ts.map +0 -1
  579. package/node_modules/@xyflow/system/dist/esm/utils/graph.d.ts +0 -191
  580. package/node_modules/@xyflow/system/dist/esm/utils/graph.d.ts.map +0 -1
  581. package/node_modules/@xyflow/system/dist/esm/utils/index.d.ts +0 -12
  582. package/node_modules/@xyflow/system/dist/esm/utils/index.d.ts.map +0 -1
  583. package/node_modules/@xyflow/system/dist/esm/utils/marker.d.ts +0 -9
  584. package/node_modules/@xyflow/system/dist/esm/utils/marker.d.ts.map +0 -1
  585. package/node_modules/@xyflow/system/dist/esm/utils/node-toolbar.d.ts +0 -3
  586. package/node_modules/@xyflow/system/dist/esm/utils/node-toolbar.d.ts.map +0 -1
  587. package/node_modules/@xyflow/system/dist/esm/utils/shallow-node-data.d.ts +0 -5
  588. package/node_modules/@xyflow/system/dist/esm/utils/shallow-node-data.d.ts.map +0 -1
  589. package/node_modules/@xyflow/system/dist/esm/utils/store.d.ts +0 -34
  590. package/node_modules/@xyflow/system/dist/esm/utils/store.d.ts.map +0 -1
  591. package/node_modules/@xyflow/system/dist/esm/utils/types.d.ts +0 -8
  592. package/node_modules/@xyflow/system/dist/esm/utils/types.d.ts.map +0 -1
  593. package/node_modules/@xyflow/system/dist/esm/xydrag/XYDrag.d.ts +0 -55
  594. package/node_modules/@xyflow/system/dist/esm/xydrag/XYDrag.d.ts.map +0 -1
  595. package/node_modules/@xyflow/system/dist/esm/xydrag/index.d.ts +0 -2
  596. package/node_modules/@xyflow/system/dist/esm/xydrag/index.d.ts.map +0 -1
  597. package/node_modules/@xyflow/system/dist/esm/xydrag/utils.d.ts +0 -24
  598. package/node_modules/@xyflow/system/dist/esm/xydrag/utils.d.ts.map +0 -1
  599. package/node_modules/@xyflow/system/dist/esm/xyhandle/XYHandle.d.ts +0 -3
  600. package/node_modules/@xyflow/system/dist/esm/xyhandle/XYHandle.d.ts.map +0 -1
  601. package/node_modules/@xyflow/system/dist/esm/xyhandle/index.d.ts +0 -2
  602. package/node_modules/@xyflow/system/dist/esm/xyhandle/index.d.ts.map +0 -1
  603. package/node_modules/@xyflow/system/dist/esm/xyhandle/types.d.ts +0 -50
  604. package/node_modules/@xyflow/system/dist/esm/xyhandle/types.d.ts.map +0 -1
  605. package/node_modules/@xyflow/system/dist/esm/xyhandle/utils.d.ts +0 -10
  606. package/node_modules/@xyflow/system/dist/esm/xyhandle/utils.d.ts.map +0 -1
  607. package/node_modules/@xyflow/system/dist/esm/xyminimap/index.d.ts +0 -28
  608. package/node_modules/@xyflow/system/dist/esm/xyminimap/index.d.ts.map +0 -1
  609. package/node_modules/@xyflow/system/dist/esm/xypanzoom/XYPanZoom.d.ts +0 -12
  610. package/node_modules/@xyflow/system/dist/esm/xypanzoom/XYPanZoom.d.ts.map +0 -1
  611. package/node_modules/@xyflow/system/dist/esm/xypanzoom/eventhandler.d.ts +0 -46
  612. package/node_modules/@xyflow/system/dist/esm/xypanzoom/eventhandler.d.ts.map +0 -1
  613. package/node_modules/@xyflow/system/dist/esm/xypanzoom/filter.d.ts +0 -15
  614. package/node_modules/@xyflow/system/dist/esm/xypanzoom/filter.d.ts.map +0 -1
  615. package/node_modules/@xyflow/system/dist/esm/xypanzoom/index.d.ts +0 -2
  616. package/node_modules/@xyflow/system/dist/esm/xypanzoom/index.d.ts.map +0 -1
  617. package/node_modules/@xyflow/system/dist/esm/xypanzoom/utils.d.ts +0 -9
  618. package/node_modules/@xyflow/system/dist/esm/xypanzoom/utils.d.ts.map +0 -1
  619. package/node_modules/@xyflow/system/dist/esm/xyresizer/XYResizer.d.ts +0 -49
  620. package/node_modules/@xyflow/system/dist/esm/xyresizer/XYResizer.d.ts.map +0 -1
  621. package/node_modules/@xyflow/system/dist/esm/xyresizer/index.d.ts +0 -3
  622. package/node_modules/@xyflow/system/dist/esm/xyresizer/index.d.ts.map +0 -1
  623. package/node_modules/@xyflow/system/dist/esm/xyresizer/types.d.ts +0 -59
  624. package/node_modules/@xyflow/system/dist/esm/xyresizer/types.d.ts.map +0 -1
  625. package/node_modules/@xyflow/system/dist/esm/xyresizer/utils.d.ts +0 -76
  626. package/node_modules/@xyflow/system/dist/esm/xyresizer/utils.d.ts.map +0 -1
  627. package/node_modules/@xyflow/system/dist/umd/constants.d.ts +0 -43
  628. package/node_modules/@xyflow/system/dist/umd/constants.d.ts.map +0 -1
  629. package/node_modules/@xyflow/system/dist/umd/index.d.ts +0 -9
  630. package/node_modules/@xyflow/system/dist/umd/index.d.ts.map +0 -1
  631. package/node_modules/@xyflow/system/dist/umd/index.js +0 -1
  632. package/node_modules/@xyflow/system/dist/umd/types/changes.d.ts +0 -64
  633. package/node_modules/@xyflow/system/dist/umd/types/changes.d.ts.map +0 -1
  634. package/node_modules/@xyflow/system/dist/umd/types/edges.d.ts +0 -140
  635. package/node_modules/@xyflow/system/dist/umd/types/edges.d.ts.map +0 -1
  636. package/node_modules/@xyflow/system/dist/umd/types/general.d.ts +0 -296
  637. package/node_modules/@xyflow/system/dist/umd/types/general.d.ts.map +0 -1
  638. package/node_modules/@xyflow/system/dist/umd/types/handles.d.ts +0 -58
  639. package/node_modules/@xyflow/system/dist/umd/types/handles.d.ts.map +0 -1
  640. package/node_modules/@xyflow/system/dist/umd/types/index.d.ts +0 -8
  641. package/node_modules/@xyflow/system/dist/umd/types/index.d.ts.map +0 -1
  642. package/node_modules/@xyflow/system/dist/umd/types/nodes.d.ts +0 -157
  643. package/node_modules/@xyflow/system/dist/umd/types/nodes.d.ts.map +0 -1
  644. package/node_modules/@xyflow/system/dist/umd/types/panzoom.d.ts +0 -55
  645. package/node_modules/@xyflow/system/dist/umd/types/panzoom.d.ts.map +0 -1
  646. package/node_modules/@xyflow/system/dist/umd/types/utils.d.ts +0 -61
  647. package/node_modules/@xyflow/system/dist/umd/types/utils.d.ts.map +0 -1
  648. package/node_modules/@xyflow/system/dist/umd/utils/connections.d.ts +0 -13
  649. package/node_modules/@xyflow/system/dist/umd/utils/connections.d.ts.map +0 -1
  650. package/node_modules/@xyflow/system/dist/umd/utils/dom.d.ts +0 -21
  651. package/node_modules/@xyflow/system/dist/umd/utils/dom.d.ts.map +0 -1
  652. package/node_modules/@xyflow/system/dist/umd/utils/edge-toolbar.d.ts +0 -2
  653. package/node_modules/@xyflow/system/dist/umd/utils/edge-toolbar.d.ts.map +0 -1
  654. package/node_modules/@xyflow/system/dist/umd/utils/edges/bezier-edge.d.ts +0 -77
  655. package/node_modules/@xyflow/system/dist/umd/utils/edges/bezier-edge.d.ts.map +0 -1
  656. package/node_modules/@xyflow/system/dist/umd/utils/edges/general.d.ts +0 -91
  657. package/node_modules/@xyflow/system/dist/umd/utils/edges/general.d.ts.map +0 -1
  658. package/node_modules/@xyflow/system/dist/umd/utils/edges/index.d.ts +0 -6
  659. package/node_modules/@xyflow/system/dist/umd/utils/edges/index.d.ts.map +0 -1
  660. package/node_modules/@xyflow/system/dist/umd/utils/edges/positions.d.ts +0 -17
  661. package/node_modules/@xyflow/system/dist/umd/utils/edges/positions.d.ts.map +0 -1
  662. package/node_modules/@xyflow/system/dist/umd/utils/edges/smoothstep-edge.d.ts +0 -66
  663. package/node_modules/@xyflow/system/dist/umd/utils/edges/smoothstep-edge.d.ts.map +0 -1
  664. package/node_modules/@xyflow/system/dist/umd/utils/edges/straight-edge.d.ts +0 -41
  665. package/node_modules/@xyflow/system/dist/umd/utils/edges/straight-edge.d.ts.map +0 -1
  666. package/node_modules/@xyflow/system/dist/umd/utils/general.d.ts +0 -85
  667. package/node_modules/@xyflow/system/dist/umd/utils/general.d.ts.map +0 -1
  668. package/node_modules/@xyflow/system/dist/umd/utils/graph.d.ts +0 -191
  669. package/node_modules/@xyflow/system/dist/umd/utils/graph.d.ts.map +0 -1
  670. package/node_modules/@xyflow/system/dist/umd/utils/index.d.ts +0 -12
  671. package/node_modules/@xyflow/system/dist/umd/utils/index.d.ts.map +0 -1
  672. package/node_modules/@xyflow/system/dist/umd/utils/marker.d.ts +0 -9
  673. package/node_modules/@xyflow/system/dist/umd/utils/marker.d.ts.map +0 -1
  674. package/node_modules/@xyflow/system/dist/umd/utils/node-toolbar.d.ts +0 -3
  675. package/node_modules/@xyflow/system/dist/umd/utils/node-toolbar.d.ts.map +0 -1
  676. package/node_modules/@xyflow/system/dist/umd/utils/shallow-node-data.d.ts +0 -5
  677. package/node_modules/@xyflow/system/dist/umd/utils/shallow-node-data.d.ts.map +0 -1
  678. package/node_modules/@xyflow/system/dist/umd/utils/store.d.ts +0 -34
  679. package/node_modules/@xyflow/system/dist/umd/utils/store.d.ts.map +0 -1
  680. package/node_modules/@xyflow/system/dist/umd/utils/types.d.ts +0 -8
  681. package/node_modules/@xyflow/system/dist/umd/utils/types.d.ts.map +0 -1
  682. package/node_modules/@xyflow/system/dist/umd/xydrag/XYDrag.d.ts +0 -55
  683. package/node_modules/@xyflow/system/dist/umd/xydrag/XYDrag.d.ts.map +0 -1
  684. package/node_modules/@xyflow/system/dist/umd/xydrag/index.d.ts +0 -2
  685. package/node_modules/@xyflow/system/dist/umd/xydrag/index.d.ts.map +0 -1
  686. package/node_modules/@xyflow/system/dist/umd/xydrag/utils.d.ts +0 -24
  687. package/node_modules/@xyflow/system/dist/umd/xydrag/utils.d.ts.map +0 -1
  688. package/node_modules/@xyflow/system/dist/umd/xyhandle/XYHandle.d.ts +0 -3
  689. package/node_modules/@xyflow/system/dist/umd/xyhandle/XYHandle.d.ts.map +0 -1
  690. package/node_modules/@xyflow/system/dist/umd/xyhandle/index.d.ts +0 -2
  691. package/node_modules/@xyflow/system/dist/umd/xyhandle/index.d.ts.map +0 -1
  692. package/node_modules/@xyflow/system/dist/umd/xyhandle/types.d.ts +0 -50
  693. package/node_modules/@xyflow/system/dist/umd/xyhandle/types.d.ts.map +0 -1
  694. package/node_modules/@xyflow/system/dist/umd/xyhandle/utils.d.ts +0 -10
  695. package/node_modules/@xyflow/system/dist/umd/xyhandle/utils.d.ts.map +0 -1
  696. package/node_modules/@xyflow/system/dist/umd/xyminimap/index.d.ts +0 -28
  697. package/node_modules/@xyflow/system/dist/umd/xyminimap/index.d.ts.map +0 -1
  698. package/node_modules/@xyflow/system/dist/umd/xypanzoom/XYPanZoom.d.ts +0 -12
  699. package/node_modules/@xyflow/system/dist/umd/xypanzoom/XYPanZoom.d.ts.map +0 -1
  700. package/node_modules/@xyflow/system/dist/umd/xypanzoom/eventhandler.d.ts +0 -46
  701. package/node_modules/@xyflow/system/dist/umd/xypanzoom/eventhandler.d.ts.map +0 -1
  702. package/node_modules/@xyflow/system/dist/umd/xypanzoom/filter.d.ts +0 -15
  703. package/node_modules/@xyflow/system/dist/umd/xypanzoom/filter.d.ts.map +0 -1
  704. package/node_modules/@xyflow/system/dist/umd/xypanzoom/index.d.ts +0 -2
  705. package/node_modules/@xyflow/system/dist/umd/xypanzoom/index.d.ts.map +0 -1
  706. package/node_modules/@xyflow/system/dist/umd/xypanzoom/utils.d.ts +0 -9
  707. package/node_modules/@xyflow/system/dist/umd/xypanzoom/utils.d.ts.map +0 -1
  708. package/node_modules/@xyflow/system/dist/umd/xyresizer/XYResizer.d.ts +0 -49
  709. package/node_modules/@xyflow/system/dist/umd/xyresizer/XYResizer.d.ts.map +0 -1
  710. package/node_modules/@xyflow/system/dist/umd/xyresizer/index.d.ts +0 -3
  711. package/node_modules/@xyflow/system/dist/umd/xyresizer/index.d.ts.map +0 -1
  712. package/node_modules/@xyflow/system/dist/umd/xyresizer/types.d.ts +0 -59
  713. package/node_modules/@xyflow/system/dist/umd/xyresizer/types.d.ts.map +0 -1
  714. package/node_modules/@xyflow/system/dist/umd/xyresizer/utils.d.ts +0 -76
  715. package/node_modules/@xyflow/system/dist/umd/xyresizer/utils.d.ts.map +0 -1
  716. package/node_modules/@xyflow/system/package.json +0 -79
  717. package/node_modules/classcat/LICENSE.md +0 -7
  718. package/node_modules/classcat/README.md +0 -88
  719. package/node_modules/classcat/index.cjs +0 -19
  720. package/node_modules/classcat/index.d.ts +0 -15
  721. package/node_modules/classcat/index.js +0 -19
  722. package/node_modules/classcat/package.json +0 -38
  723. package/node_modules/d3-color/LICENSE +0 -13
  724. package/node_modules/d3-color/README.md +0 -203
  725. package/node_modules/d3-color/dist/d3-color.js +0 -606
  726. package/node_modules/d3-color/dist/d3-color.min.js +0 -2
  727. package/node_modules/d3-color/package.json +0 -54
  728. package/node_modules/d3-color/src/color.js +0 -396
  729. package/node_modules/d3-color/src/cubehelix.js +0 -61
  730. package/node_modules/d3-color/src/define.js +0 -10
  731. package/node_modules/d3-color/src/index.js +0 -3
  732. package/node_modules/d3-color/src/lab.js +0 -123
  733. package/node_modules/d3-color/src/math.js +0 -2
  734. package/node_modules/d3-dispatch/LICENSE +0 -13
  735. package/node_modules/d3-dispatch/README.md +0 -94
  736. package/node_modules/d3-dispatch/dist/d3-dispatch.js +0 -95
  737. package/node_modules/d3-dispatch/dist/d3-dispatch.min.js +0 -2
  738. package/node_modules/d3-dispatch/package.json +0 -50
  739. package/node_modules/d3-dispatch/src/dispatch.js +0 -84
  740. package/node_modules/d3-dispatch/src/index.js +0 -1
  741. package/node_modules/d3-drag/LICENSE +0 -13
  742. package/node_modules/d3-drag/README.md +0 -248
  743. package/node_modules/d3-drag/dist/d3-drag.js +0 -273
  744. package/node_modules/d3-drag/dist/d3-drag.min.js +0 -2
  745. package/node_modules/d3-drag/package.json +0 -54
  746. package/node_modules/d3-drag/src/constant.js +0 -1
  747. package/node_modules/d3-drag/src/drag.js +0 -194
  748. package/node_modules/d3-drag/src/event.js +0 -28
  749. package/node_modules/d3-drag/src/index.js +0 -2
  750. package/node_modules/d3-drag/src/nodrag.js +0 -28
  751. package/node_modules/d3-drag/src/noevent.js +0 -13
  752. package/node_modules/d3-ease/LICENSE +0 -28
  753. package/node_modules/d3-ease/README.md +0 -253
  754. package/node_modules/d3-ease/dist/d3-ease.js +0 -262
  755. package/node_modules/d3-ease/dist/d3-ease.min.js +0 -2
  756. package/node_modules/d3-ease/package.json +0 -51
  757. package/node_modules/d3-ease/src/back.js +0 -37
  758. package/node_modules/d3-ease/src/bounce.js +0 -22
  759. package/node_modules/d3-ease/src/circle.js +0 -11
  760. package/node_modules/d3-ease/src/cubic.js +0 -11
  761. package/node_modules/d3-ease/src/elastic.js +0 -46
  762. package/node_modules/d3-ease/src/exp.js +0 -13
  763. package/node_modules/d3-ease/src/index.js +0 -66
  764. package/node_modules/d3-ease/src/linear.js +0 -1
  765. package/node_modules/d3-ease/src/math.js +0 -4
  766. package/node_modules/d3-ease/src/poly.js +0 -37
  767. package/node_modules/d3-ease/src/quad.js +0 -11
  768. package/node_modules/d3-ease/src/sin.js +0 -14
  769. package/node_modules/d3-interpolate/LICENSE +0 -13
  770. package/node_modules/d3-interpolate/README.md +0 -268
  771. package/node_modules/d3-interpolate/dist/d3-interpolate.js +0 -590
  772. package/node_modules/d3-interpolate/dist/d3-interpolate.min.js +0 -2
  773. package/node_modules/d3-interpolate/package.json +0 -53
  774. package/node_modules/d3-interpolate/src/array.js +0 -22
  775. package/node_modules/d3-interpolate/src/basis.js +0 -19
  776. package/node_modules/d3-interpolate/src/basisClosed.js +0 -13
  777. package/node_modules/d3-interpolate/src/color.js +0 -29
  778. package/node_modules/d3-interpolate/src/constant.js +0 -1
  779. package/node_modules/d3-interpolate/src/cubehelix.js +0 -29
  780. package/node_modules/d3-interpolate/src/date.js +0 -6
  781. package/node_modules/d3-interpolate/src/discrete.js +0 -6
  782. package/node_modules/d3-interpolate/src/hcl.js +0 -21
  783. package/node_modules/d3-interpolate/src/hsl.js +0 -21
  784. package/node_modules/d3-interpolate/src/hue.js +0 -9
  785. package/node_modules/d3-interpolate/src/index.js +0 -21
  786. package/node_modules/d3-interpolate/src/lab.js +0 -16
  787. package/node_modules/d3-interpolate/src/number.js +0 -5
  788. package/node_modules/d3-interpolate/src/numberArray.js +0 -14
  789. package/node_modules/d3-interpolate/src/object.js +0 -23
  790. package/node_modules/d3-interpolate/src/piecewise.js +0 -11
  791. package/node_modules/d3-interpolate/src/quantize.js +0 -5
  792. package/node_modules/d3-interpolate/src/rgb.js +0 -55
  793. package/node_modules/d3-interpolate/src/round.js +0 -5
  794. package/node_modules/d3-interpolate/src/string.js +0 -64
  795. package/node_modules/d3-interpolate/src/transform/decompose.js +0 -26
  796. package/node_modules/d3-interpolate/src/transform/index.js +0 -63
  797. package/node_modules/d3-interpolate/src/transform/parse.js +0 -18
  798. package/node_modules/d3-interpolate/src/value.js +0 -22
  799. package/node_modules/d3-interpolate/src/zoom.js +0 -71
  800. package/node_modules/d3-selection/LICENSE +0 -13
  801. package/node_modules/d3-selection/README.md +0 -863
  802. package/node_modules/d3-selection/dist/d3-selection.js +0 -1022
  803. package/node_modules/d3-selection/dist/d3-selection.min.js +0 -2
  804. package/node_modules/d3-selection/package.json +0 -51
  805. package/node_modules/d3-selection/src/array.js +0 -9
  806. package/node_modules/d3-selection/src/constant.js +0 -5
  807. package/node_modules/d3-selection/src/create.js +0 -6
  808. package/node_modules/d3-selection/src/creator.js +0 -25
  809. package/node_modules/d3-selection/src/identity.js +0 -3
  810. package/node_modules/d3-selection/src/index.js +0 -15
  811. package/node_modules/d3-selection/src/local.js +0 -27
  812. package/node_modules/d3-selection/src/matcher.js +0 -12
  813. package/node_modules/d3-selection/src/namespace.js +0 -7
  814. package/node_modules/d3-selection/src/namespaces.js +0 -9
  815. package/node_modules/d3-selection/src/pointer.js +0 -20
  816. package/node_modules/d3-selection/src/pointers.js +0 -11
  817. package/node_modules/d3-selection/src/select.js +0 -7
  818. package/node_modules/d3-selection/src/selectAll.js +0 -8
  819. package/node_modules/d3-selection/src/selection/append.js +0 -8
  820. package/node_modules/d3-selection/src/selection/attr.js +0 -57
  821. package/node_modules/d3-selection/src/selection/call.js +0 -6
  822. package/node_modules/d3-selection/src/selection/classed.js +0 -75
  823. package/node_modules/d3-selection/src/selection/clone.js +0 -13
  824. package/node_modules/d3-selection/src/selection/data.js +0 -128
  825. package/node_modules/d3-selection/src/selection/datum.js +0 -5
  826. package/node_modules/d3-selection/src/selection/dispatch.js +0 -34
  827. package/node_modules/d3-selection/src/selection/each.js +0 -10
  828. package/node_modules/d3-selection/src/selection/empty.js +0 -3
  829. package/node_modules/d3-selection/src/selection/enter.js +0 -22
  830. package/node_modules/d3-selection/src/selection/exit.js +0 -6
  831. package/node_modules/d3-selection/src/selection/filter.js +0 -16
  832. package/node_modules/d3-selection/src/selection/html.js +0 -25
  833. package/node_modules/d3-selection/src/selection/index.js +0 -90
  834. package/node_modules/d3-selection/src/selection/insert.js +0 -14
  835. package/node_modules/d3-selection/src/selection/iterator.js +0 -7
  836. package/node_modules/d3-selection/src/selection/join.js +0 -15
  837. package/node_modules/d3-selection/src/selection/lower.js +0 -7
  838. package/node_modules/d3-selection/src/selection/merge.js +0 -19
  839. package/node_modules/d3-selection/src/selection/node.js +0 -11
  840. package/node_modules/d3-selection/src/selection/nodes.js +0 -3
  841. package/node_modules/d3-selection/src/selection/on.js +0 -67
  842. package/node_modules/d3-selection/src/selection/order.js +0 -13
  843. package/node_modules/d3-selection/src/selection/property.js +0 -28
  844. package/node_modules/d3-selection/src/selection/raise.js +0 -7
  845. package/node_modules/d3-selection/src/selection/remove.js +0 -8
  846. package/node_modules/d3-selection/src/selection/select.js +0 -17
  847. package/node_modules/d3-selection/src/selection/selectAll.js +0 -25
  848. package/node_modules/d3-selection/src/selection/selectChild.js +0 -18
  849. package/node_modules/d3-selection/src/selection/selectChildren.js +0 -18
  850. package/node_modules/d3-selection/src/selection/size.js +0 -5
  851. package/node_modules/d3-selection/src/selection/sort.js +0 -24
  852. package/node_modules/d3-selection/src/selection/sparse.js +0 -3
  853. package/node_modules/d3-selection/src/selection/style.js +0 -35
  854. package/node_modules/d3-selection/src/selection/text.js +0 -25
  855. package/node_modules/d3-selection/src/selector.js +0 -7
  856. package/node_modules/d3-selection/src/selectorAll.js +0 -9
  857. package/node_modules/d3-selection/src/sourceEvent.js +0 -5
  858. package/node_modules/d3-selection/src/window.js +0 -5
  859. package/node_modules/d3-timer/LICENSE +0 -13
  860. package/node_modules/d3-timer/README.md +0 -87
  861. package/node_modules/d3-timer/dist/d3-timer.js +0 -153
  862. package/node_modules/d3-timer/dist/d3-timer.min.js +0 -2
  863. package/node_modules/d3-timer/package.json +0 -53
  864. package/node_modules/d3-timer/src/index.js +0 -13
  865. package/node_modules/d3-timer/src/interval.js +0 -17
  866. package/node_modules/d3-timer/src/timeout.js +0 -11
  867. package/node_modules/d3-timer/src/timer.js +0 -110
  868. package/node_modules/d3-transition/LICENSE +0 -13
  869. package/node_modules/d3-transition/README.md +0 -490
  870. package/node_modules/d3-transition/dist/d3-transition.js +0 -900
  871. package/node_modules/d3-transition/dist/d3-transition.min.js +0 -2
  872. package/node_modules/d3-transition/package.json +0 -65
  873. package/node_modules/d3-transition/src/active.js +0 -21
  874. package/node_modules/d3-transition/src/index.js +0 -4
  875. package/node_modules/d3-transition/src/interrupt.js +0 -24
  876. package/node_modules/d3-transition/src/selection/index.js +0 -6
  877. package/node_modules/d3-transition/src/selection/interrupt.js +0 -7
  878. package/node_modules/d3-transition/src/selection/transition.js +0 -42
  879. package/node_modules/d3-transition/src/transition/attr.js +0 -78
  880. package/node_modules/d3-transition/src/transition/attrTween.js +0 -44
  881. package/node_modules/d3-transition/src/transition/delay.js +0 -23
  882. package/node_modules/d3-transition/src/transition/duration.js +0 -23
  883. package/node_modules/d3-transition/src/transition/ease.js +0 -16
  884. package/node_modules/d3-transition/src/transition/easeVarying.js +0 -14
  885. package/node_modules/d3-transition/src/transition/end.js +0 -29
  886. package/node_modules/d3-transition/src/transition/filter.js +0 -16
  887. package/node_modules/d3-transition/src/transition/index.js +0 -73
  888. package/node_modules/d3-transition/src/transition/interpolate.js +0 -10
  889. package/node_modules/d3-transition/src/transition/merge.js +0 -19
  890. package/node_modules/d3-transition/src/transition/on.js +0 -32
  891. package/node_modules/d3-transition/src/transition/remove.js +0 -11
  892. package/node_modules/d3-transition/src/transition/schedule.js +0 -153
  893. package/node_modules/d3-transition/src/transition/select.js +0 -22
  894. package/node_modules/d3-transition/src/transition/selectAll.js +0 -26
  895. package/node_modules/d3-transition/src/transition/selection.js +0 -7
  896. package/node_modules/d3-transition/src/transition/style.js +0 -80
  897. package/node_modules/d3-transition/src/transition/styleTween.js +0 -24
  898. package/node_modules/d3-transition/src/transition/text.js +0 -20
  899. package/node_modules/d3-transition/src/transition/textTween.js +0 -24
  900. package/node_modules/d3-transition/src/transition/transition.js +0 -24
  901. package/node_modules/d3-transition/src/transition/tween.js +0 -81
  902. package/node_modules/d3-zoom/LICENSE +0 -13
  903. package/node_modules/d3-zoom/README.md +0 -414
  904. package/node_modules/d3-zoom/dist/d3-zoom.js +0 -531
  905. package/node_modules/d3-zoom/dist/d3-zoom.min.js +0 -2
  906. package/node_modules/d3-zoom/package.json +0 -57
  907. package/node_modules/d3-zoom/src/constant.js +0 -1
  908. package/node_modules/d3-zoom/src/event.js +0 -14
  909. package/node_modules/d3-zoom/src/index.js +0 -2
  910. package/node_modules/d3-zoom/src/noevent.js +0 -8
  911. package/node_modules/d3-zoom/src/transform.js +0 -51
  912. package/node_modules/d3-zoom/src/zoom.js +0 -447
  913. package/node_modules/use-sync-external-store/LICENSE +0 -21
  914. package/node_modules/use-sync-external-store/README.md +0 -5
  915. package/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js +0 -97
  916. package/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js +0 -85
  917. package/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +0 -95
  918. package/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.native.development.js +0 -88
  919. package/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.native.production.js +0 -59
  920. package/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +0 -66
  921. package/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.development.js +0 -96
  922. package/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.production.js +0 -84
  923. package/node_modules/use-sync-external-store/cjs/use-sync-external-store.development.js +0 -27
  924. package/node_modules/use-sync-external-store/cjs/use-sync-external-store.production.js +0 -13
  925. package/node_modules/use-sync-external-store/index.js +0 -7
  926. package/node_modules/use-sync-external-store/package.json +0 -43
  927. package/node_modules/use-sync-external-store/shim/index.js +0 -7
  928. package/node_modules/use-sync-external-store/shim/index.native.js +0 -7
  929. package/node_modules/use-sync-external-store/shim/with-selector.js +0 -7
  930. package/node_modules/use-sync-external-store/with-selector.js +0 -7
  931. package/node_modules/zustand/LICENSE +0 -21
  932. package/node_modules/zustand/context.d.ts +0 -25
  933. package/node_modules/zustand/context.js +0 -60
  934. package/node_modules/zustand/esm/context.d.mts +0 -25
  935. package/node_modules/zustand/esm/context.d.ts +0 -25
  936. package/node_modules/zustand/esm/context.js +0 -61
  937. package/node_modules/zustand/esm/context.mjs +0 -61
  938. package/node_modules/zustand/esm/index.d.mts +0 -3
  939. package/node_modules/zustand/esm/index.d.ts +0 -3
  940. package/node_modules/zustand/esm/index.js +0 -48
  941. package/node_modules/zustand/esm/index.mjs +0 -48
  942. package/node_modules/zustand/esm/middleware/combine.d.mts +0 -5
  943. package/node_modules/zustand/esm/middleware/combine.d.ts +0 -5
  944. package/node_modules/zustand/esm/middleware/devtools.d.mts +0 -49
  945. package/node_modules/zustand/esm/middleware/devtools.d.ts +0 -49
  946. package/node_modules/zustand/esm/middleware/immer.d.mts +0 -25
  947. package/node_modules/zustand/esm/middleware/immer.d.ts +0 -25
  948. package/node_modules/zustand/esm/middleware/immer.js +0 -12
  949. package/node_modules/zustand/esm/middleware/immer.mjs +0 -12
  950. package/node_modules/zustand/esm/middleware/persist.d.mts +0 -119
  951. package/node_modules/zustand/esm/middleware/persist.d.ts +0 -119
  952. package/node_modules/zustand/esm/middleware/redux.d.mts +0 -21
  953. package/node_modules/zustand/esm/middleware/redux.d.ts +0 -21
  954. package/node_modules/zustand/esm/middleware/subscribeWithSelector.d.mts +0 -25
  955. package/node_modules/zustand/esm/middleware/subscribeWithSelector.d.ts +0 -25
  956. package/node_modules/zustand/esm/middleware.d.mts +0 -5
  957. package/node_modules/zustand/esm/middleware.d.ts +0 -5
  958. package/node_modules/zustand/esm/middleware.js +0 -583
  959. package/node_modules/zustand/esm/middleware.mjs +0 -583
  960. package/node_modules/zustand/esm/react/shallow.d.mts +0 -1
  961. package/node_modules/zustand/esm/react/shallow.d.ts +0 -1
  962. package/node_modules/zustand/esm/react/shallow.js +0 -49
  963. package/node_modules/zustand/esm/react/shallow.mjs +0 -49
  964. package/node_modules/zustand/esm/react.d.mts +0 -38
  965. package/node_modules/zustand/esm/react.d.ts +0 -38
  966. package/node_modules/zustand/esm/shallow.d.mts +0 -7
  967. package/node_modules/zustand/esm/shallow.d.ts +0 -7
  968. package/node_modules/zustand/esm/shallow.js +0 -47
  969. package/node_modules/zustand/esm/shallow.mjs +0 -47
  970. package/node_modules/zustand/esm/traditional.d.mts +0 -21
  971. package/node_modules/zustand/esm/traditional.d.ts +0 -21
  972. package/node_modules/zustand/esm/traditional.js +0 -27
  973. package/node_modules/zustand/esm/traditional.mjs +0 -27
  974. package/node_modules/zustand/esm/vanilla/shallow.d.mts +0 -1
  975. package/node_modules/zustand/esm/vanilla/shallow.d.ts +0 -1
  976. package/node_modules/zustand/esm/vanilla/shallow.js +0 -38
  977. package/node_modules/zustand/esm/vanilla/shallow.mjs +0 -38
  978. package/node_modules/zustand/esm/vanilla.d.mts +0 -81
  979. package/node_modules/zustand/esm/vanilla.d.ts +0 -81
  980. package/node_modules/zustand/esm/vanilla.js +0 -40
  981. package/node_modules/zustand/esm/vanilla.mjs +0 -40
  982. package/node_modules/zustand/index.d.ts +0 -3
  983. package/node_modules/zustand/index.js +0 -60
  984. package/node_modules/zustand/middleware/combine.d.ts +0 -5
  985. package/node_modules/zustand/middleware/devtools.d.ts +0 -49
  986. package/node_modules/zustand/middleware/immer.d.ts +0 -25
  987. package/node_modules/zustand/middleware/immer.js +0 -19
  988. package/node_modules/zustand/middleware/persist.d.ts +0 -119
  989. package/node_modules/zustand/middleware/redux.d.ts +0 -21
  990. package/node_modules/zustand/middleware/subscribeWithSelector.d.ts +0 -25
  991. package/node_modules/zustand/middleware.d.ts +0 -5
  992. package/node_modules/zustand/middleware.js +0 -609
  993. package/node_modules/zustand/package.json +0 -232
  994. package/node_modules/zustand/react/shallow.d.ts +0 -1
  995. package/node_modules/zustand/react/shallow.js +0 -86
  996. package/node_modules/zustand/react.d.ts +0 -38
  997. package/node_modules/zustand/readme.md +0 -505
  998. package/node_modules/zustand/shallow.d.ts +0 -7
  999. package/node_modules/zustand/shallow.js +0 -87
  1000. package/node_modules/zustand/system/context.development.js +0 -73
  1001. package/node_modules/zustand/system/context.production.js +0 -1
  1002. package/node_modules/zustand/system/index.development.js +0 -71
  1003. package/node_modules/zustand/system/index.production.js +0 -1
  1004. package/node_modules/zustand/system/middleware/immer.development.js +0 -21
  1005. package/node_modules/zustand/system/middleware/immer.production.js +0 -1
  1006. package/node_modules/zustand/system/middleware.development.js +0 -592
  1007. package/node_modules/zustand/system/middleware.production.js +0 -5
  1008. package/node_modules/zustand/system/react/shallow.development.js +0 -60
  1009. package/node_modules/zustand/system/react/shallow.production.js +0 -1
  1010. package/node_modules/zustand/system/shallow.development.js +0 -56
  1011. package/node_modules/zustand/system/shallow.production.js +0 -1
  1012. package/node_modules/zustand/system/traditional.development.js +0 -40
  1013. package/node_modules/zustand/system/traditional.production.js +0 -1
  1014. package/node_modules/zustand/system/vanilla/shallow.development.js +0 -47
  1015. package/node_modules/zustand/system/vanilla/shallow.production.js +0 -1
  1016. package/node_modules/zustand/system/vanilla.development.js +0 -47
  1017. package/node_modules/zustand/system/vanilla.production.js +0 -1
  1018. package/node_modules/zustand/traditional.d.ts +0 -21
  1019. package/node_modules/zustand/traditional.js +0 -36
  1020. package/node_modules/zustand/ts3.4/context.d.ts +0 -25
  1021. package/node_modules/zustand/ts3.4/esm/context.d.ts +0 -25
  1022. package/node_modules/zustand/ts3.4/esm/index.d.ts +0 -3
  1023. package/node_modules/zustand/ts3.4/esm/middleware/combine.d.ts +0 -13
  1024. package/node_modules/zustand/ts3.4/esm/middleware/devtools.d.ts +0 -102
  1025. package/node_modules/zustand/ts3.4/esm/middleware/immer.d.ts +0 -60
  1026. package/node_modules/zustand/ts3.4/esm/middleware/persist.d.ts +0 -139
  1027. package/node_modules/zustand/ts3.4/esm/middleware/redux.d.ts +0 -30
  1028. package/node_modules/zustand/ts3.4/esm/middleware/subscribeWithSelector.d.ts +0 -42
  1029. package/node_modules/zustand/ts3.4/esm/middleware.d.ts +0 -5
  1030. package/node_modules/zustand/ts3.4/esm/react/shallow.d.ts +0 -1
  1031. package/node_modules/zustand/ts3.4/esm/react.d.ts +0 -48
  1032. package/node_modules/zustand/ts3.4/esm/shallow.d.ts +0 -7
  1033. package/node_modules/zustand/ts3.4/esm/traditional.d.ts +0 -31
  1034. package/node_modules/zustand/ts3.4/esm/vanilla/shallow.d.ts +0 -1
  1035. package/node_modules/zustand/ts3.4/esm/vanilla.d.ts +0 -106
  1036. package/node_modules/zustand/ts3.4/index.d.ts +0 -3
  1037. package/node_modules/zustand/ts3.4/middleware/combine.d.ts +0 -13
  1038. package/node_modules/zustand/ts3.4/middleware/devtools.d.ts +0 -102
  1039. package/node_modules/zustand/ts3.4/middleware/immer.d.ts +0 -60
  1040. package/node_modules/zustand/ts3.4/middleware/persist.d.ts +0 -139
  1041. package/node_modules/zustand/ts3.4/middleware/redux.d.ts +0 -30
  1042. package/node_modules/zustand/ts3.4/middleware/subscribeWithSelector.d.ts +0 -42
  1043. package/node_modules/zustand/ts3.4/middleware.d.ts +0 -5
  1044. package/node_modules/zustand/ts3.4/react/shallow.d.ts +0 -1
  1045. package/node_modules/zustand/ts3.4/react.d.ts +0 -48
  1046. package/node_modules/zustand/ts3.4/shallow.d.ts +0 -7
  1047. package/node_modules/zustand/ts3.4/traditional.d.ts +0 -31
  1048. package/node_modules/zustand/ts3.4/vanilla/shallow.d.ts +0 -1
  1049. package/node_modules/zustand/ts3.4/vanilla.d.ts +0 -106
  1050. package/node_modules/zustand/umd/context.development.js +0 -63
  1051. package/node_modules/zustand/umd/context.production.js +0 -1
  1052. package/node_modules/zustand/umd/index.development.js +0 -58
  1053. package/node_modules/zustand/umd/index.production.js +0 -1
  1054. package/node_modules/zustand/umd/middleware/immer.development.js +0 -23
  1055. package/node_modules/zustand/umd/middleware/immer.production.js +0 -1
  1056. package/node_modules/zustand/umd/middleware.development.js +0 -615
  1057. package/node_modules/zustand/umd/middleware.production.js +0 -1
  1058. package/node_modules/zustand/umd/react/shallow.development.js +0 -90
  1059. package/node_modules/zustand/umd/react/shallow.production.js +0 -1
  1060. package/node_modules/zustand/umd/shallow.development.js +0 -91
  1061. package/node_modules/zustand/umd/shallow.production.js +0 -1
  1062. package/node_modules/zustand/umd/traditional.development.js +0 -38
  1063. package/node_modules/zustand/umd/traditional.production.js +0 -1
  1064. package/node_modules/zustand/umd/vanilla/shallow.development.js +0 -81
  1065. package/node_modules/zustand/umd/vanilla/shallow.production.js +0 -1
  1066. package/node_modules/zustand/umd/vanilla.development.js +0 -63
  1067. package/node_modules/zustand/umd/vanilla.production.js +0 -1
  1068. package/node_modules/zustand/vanilla/shallow.d.ts +0 -1
  1069. package/node_modules/zustand/vanilla/shallow.js +0 -75
  1070. package/node_modules/zustand/vanilla.d.ts +0 -81
  1071. package/node_modules/zustand/vanilla.js +0 -59
@@ -1,505 +0,0 @@
1
- <p align="center">
2
- <img src="bear.jpg" />
3
- </p>
4
-
5
- [![Build Status](https://img.shields.io/github/actions/workflow/status/pmndrs/zustand/lint-and-type.yml?branch=main&style=flat&colorA=000000&colorB=000000)](https://github.com/pmndrs/zustand/actions?query=workflow%3ALint)
6
- [![Build Size](https://img.shields.io/bundlephobia/minzip/zustand?label=bundle%20size&style=flat&colorA=000000&colorB=000000)](https://bundlephobia.com/result?p=zustand)
7
- [![Version](https://img.shields.io/npm/v/zustand?style=flat&colorA=000000&colorB=000000)](https://www.npmjs.com/package/zustand)
8
- [![Downloads](https://img.shields.io/npm/dt/zustand.svg?style=flat&colorA=000000&colorB=000000)](https://www.npmjs.com/package/zustand)
9
- [![Discord Shield](https://img.shields.io/discord/740090768164651008?style=flat&colorA=000000&colorB=000000&label=discord&logo=discord&logoColor=ffffff)](https://discord.gg/poimandres)
10
-
11
- A small, fast and scalable bearbones state-management solution using simplified flux principles. Has a comfy API based on hooks, isn't boilerplatey or opinionated.
12
-
13
- Don't disregard it because it's cute. It has quite the claws, lots of time was spent dealing with common pitfalls, like the dreaded [zombie child problem](https://react-redux.js.org/api/hooks#stale-props-and-zombie-children), [react concurrency](https://github.com/bvaughn/rfcs/blob/useMutableSource/text/0000-use-mutable-source.md), and [context loss](https://github.com/facebook/react/issues/13332) between mixed renderers. It may be the one state-manager in the React space that gets all of these right.
14
-
15
- You can try a live demo [here](https://githubbox.com/pmndrs/zustand/tree/main/examples/demo).
16
-
17
- ```bash
18
- npm i zustand
19
- ```
20
-
21
- :warning: This readme is written for JavaScript users. If you are a TypeScript user, be sure to check out our [TypeScript Usage section](#typescript-usage).
22
-
23
- ## First create a store
24
-
25
- Your store is a hook! You can put anything in it: primitives, objects, functions. State has to be updated immutably and the `set` function [merges state](./docs/guides/immutable-state-and-merging.md) to help it.
26
-
27
- ```jsx
28
- import { create } from 'zustand'
29
-
30
- const useBearStore = create((set) => ({
31
- bears: 0,
32
- increasePopulation: () => set((state) => ({ bears: state.bears + 1 })),
33
- removeAllBears: () => set({ bears: 0 }),
34
- }))
35
- ```
36
-
37
- ## Then bind your components, and that's it!
38
-
39
- Use the hook anywhere, no providers are needed. Select your state and the component will re-render on changes.
40
-
41
- ```jsx
42
- function BearCounter() {
43
- const bears = useBearStore((state) => state.bears)
44
- return <h1>{bears} around here ...</h1>
45
- }
46
-
47
- function Controls() {
48
- const increasePopulation = useBearStore((state) => state.increasePopulation)
49
- return <button onClick={increasePopulation}>one up</button>
50
- }
51
- ```
52
-
53
- ### Why zustand over redux?
54
-
55
- - Simple and un-opinionated
56
- - Makes hooks the primary means of consuming state
57
- - Doesn't wrap your app in context providers
58
- - [Can inform components transiently (without causing render)](#transient-updates-for-often-occurring-state-changes)
59
-
60
- ### Why zustand over context?
61
-
62
- - Less boilerplate
63
- - Renders components only on changes
64
- - Centralized, action-based state management
65
-
66
- ---
67
-
68
- # Recipes
69
-
70
- ## Fetching everything
71
-
72
- You can, but bear in mind that it will cause the component to update on every state change!
73
-
74
- ```jsx
75
- const state = useBearStore()
76
- ```
77
-
78
- ## Selecting multiple state slices
79
-
80
- It detects changes with strict-equality (old === new) by default, this is efficient for atomic state picks.
81
-
82
- ```jsx
83
- const nuts = useBearStore((state) => state.nuts)
84
- const honey = useBearStore((state) => state.honey)
85
- ```
86
-
87
- If you want to construct a single object with multiple state-picks inside, similar to redux's mapStateToProps, you can use [useShallow](./docs/guides/prevent-rerenders-with-use-shallow.md) to prevent unnecessary rerenders when the selector output does not change according to shallow equal.
88
-
89
- ```jsx
90
- import { create } from 'zustand'
91
- import { useShallow } from 'zustand/react/shallow'
92
-
93
- const useBearStore = create((set) => ({
94
- bears: 0,
95
- increasePopulation: () => set((state) => ({ bears: state.bears + 1 })),
96
- removeAllBears: () => set({ bears: 0 }),
97
- }))
98
-
99
- // Object pick, re-renders the component when either state.nuts or state.honey change
100
- const { nuts, honey } = useBearStore(
101
- useShallow((state) => ({ nuts: state.nuts, honey: state.honey })),
102
- )
103
-
104
- // Array pick, re-renders the component when either state.nuts or state.honey change
105
- const [nuts, honey] = useBearStore(
106
- useShallow((state) => [state.nuts, state.honey]),
107
- )
108
-
109
- // Mapped picks, re-renders the component when state.treats changes in order, count or keys
110
- const treats = useBearStore(useShallow((state) => Object.keys(state.treats)))
111
- ```
112
-
113
- For more control over re-rendering, you may provide any custom equality function.
114
-
115
- ```jsx
116
- const treats = useBearStore(
117
- (state) => state.treats,
118
- (oldTreats, newTreats) => compare(oldTreats, newTreats),
119
- )
120
- ```
121
-
122
- ## Overwriting state
123
-
124
- The `set` function has a second argument, `false` by default. Instead of merging, it will replace the state model. Be careful not to wipe out parts you rely on, like actions.
125
-
126
- ```jsx
127
- import omit from 'lodash-es/omit'
128
-
129
- const useFishStore = create((set) => ({
130
- salmon: 1,
131
- tuna: 2,
132
- deleteEverything: () => set({}, true), // clears the entire store, actions included
133
- deleteTuna: () => set((state) => omit(state, ['tuna']), true),
134
- }))
135
- ```
136
-
137
- ## Async actions
138
-
139
- Just call `set` when you're ready, zustand doesn't care if your actions are async or not.
140
-
141
- ```jsx
142
- const useFishStore = create((set) => ({
143
- fishies: {},
144
- fetch: async (pond) => {
145
- const response = await fetch(pond)
146
- set({ fishies: await response.json() })
147
- },
148
- }))
149
- ```
150
-
151
- ## Read from state in actions
152
-
153
- `set` allows fn-updates `set(state => result)`, but you still have access to state outside of it through `get`.
154
-
155
- ```jsx
156
- const useSoundStore = create((set, get) => ({
157
- sound: 'grunt',
158
- action: () => {
159
- const sound = get().sound
160
- ...
161
- ```
162
-
163
- ## Reading/writing state and reacting to changes outside of components
164
-
165
- Sometimes you need to access state in a non-reactive way or act upon the store. For these cases, the resulting hook has utility functions attached to its prototype.
166
-
167
- :warning: This technique is not recommended for adding state in [React Server Components](https://github.com/reactjs/rfcs/blob/main/text/0188-server-components.md) (typically in Next.js 13 and above). It can lead to unexpected bugs and privacy issues for your users. For more details, see [#2200](https://github.com/pmndrs/zustand/discussions/2200).
168
-
169
- ```jsx
170
- const useDogStore = create(() => ({ paw: true, snout: true, fur: true }))
171
-
172
- // Getting non-reactive fresh state
173
- const paw = useDogStore.getState().paw
174
- // Listening to all changes, fires synchronously on every change
175
- const unsub1 = useDogStore.subscribe(console.log)
176
- // Updating state, will trigger listeners
177
- useDogStore.setState({ paw: false })
178
- // Unsubscribe listeners
179
- unsub1()
180
-
181
- // You can of course use the hook as you always would
182
- function Component() {
183
- const paw = useDogStore((state) => state.paw)
184
- ...
185
- ```
186
-
187
- ### Using subscribe with selector
188
-
189
- If you need to subscribe with a selector,
190
- `subscribeWithSelector` middleware will help.
191
-
192
- With this middleware `subscribe` accepts an additional signature:
193
-
194
- ```ts
195
- subscribe(selector, callback, options?: { equalityFn, fireImmediately }): Unsubscribe
196
- ```
197
-
198
- ```js
199
- import { subscribeWithSelector } from 'zustand/middleware'
200
- const useDogStore = create(
201
- subscribeWithSelector(() => ({ paw: true, snout: true, fur: true })),
202
- )
203
-
204
- // Listening to selected changes, in this case when "paw" changes
205
- const unsub2 = useDogStore.subscribe((state) => state.paw, console.log)
206
- // Subscribe also exposes the previous value
207
- const unsub3 = useDogStore.subscribe(
208
- (state) => state.paw,
209
- (paw, previousPaw) => console.log(paw, previousPaw),
210
- )
211
- // Subscribe also supports an optional equality function
212
- const unsub4 = useDogStore.subscribe(
213
- (state) => [state.paw, state.fur],
214
- console.log,
215
- { equalityFn: shallow },
216
- )
217
- // Subscribe and fire immediately
218
- const unsub5 = useDogStore.subscribe((state) => state.paw, console.log, {
219
- fireImmediately: true,
220
- })
221
- ```
222
-
223
- ## Using zustand without React
224
-
225
- Zustand core can be imported and used without the React dependency. The only difference is that the create function does not return a hook, but the API utilities.
226
-
227
- ```jsx
228
- import { createStore } from 'zustand/vanilla'
229
-
230
- const store = createStore((set) => ...)
231
- const { getState, setState, subscribe, getInitialState } = store
232
-
233
- export default store
234
- ```
235
-
236
- You can use a vanilla store with `useStore` hook available since v4.
237
-
238
- ```jsx
239
- import { useStore } from 'zustand'
240
- import { vanillaStore } from './vanillaStore'
241
-
242
- const useBoundStore = (selector) => useStore(vanillaStore, selector)
243
- ```
244
-
245
- :warning: Note that middlewares that modify `set` or `get` are not applied to `getState` and `setState`.
246
-
247
- ## Transient updates (for often occurring state-changes)
248
-
249
- The subscribe function allows components to bind to a state-portion without forcing re-render on changes. Best combine it with useEffect for automatic unsubscribe on unmount. This can make a [drastic](https://codesandbox.io/s/peaceful-johnson-txtws) performance impact when you are allowed to mutate the view directly.
250
-
251
- ```jsx
252
- const useScratchStore = create((set) => ({ scratches: 0, ... }))
253
-
254
- const Component = () => {
255
- // Fetch initial state
256
- const scratchRef = useRef(useScratchStore.getState().scratches)
257
- // Connect to the store on mount, disconnect on unmount, catch state-changes in a reference
258
- useEffect(() => useScratchStore.subscribe(
259
- state => (scratchRef.current = state.scratches)
260
- ), [])
261
- ...
262
- ```
263
-
264
- ## Sick of reducers and changing nested states? Use Immer!
265
-
266
- Reducing nested structures is tiresome. Have you tried [immer](https://github.com/mweststrate/immer)?
267
-
268
- ```jsx
269
- import { produce } from 'immer'
270
-
271
- const useLushStore = create((set) => ({
272
- lush: { forest: { contains: { a: 'bear' } } },
273
- clearForest: () =>
274
- set(
275
- produce((state) => {
276
- state.lush.forest.contains = null
277
- }),
278
- ),
279
- }))
280
-
281
- const clearForest = useLushStore((state) => state.clearForest)
282
- clearForest()
283
- ```
284
-
285
- [Alternatively, there are some other solutions.](./docs/guides/updating-state.md#with-immer)
286
-
287
- ## Persist middleware
288
-
289
- You can persist your store's data using any kind of storage.
290
-
291
- ```jsx
292
- import { create } from 'zustand'
293
- import { persist, createJSONStorage } from 'zustand/middleware'
294
-
295
- const useFishStore = create(
296
- persist(
297
- (set, get) => ({
298
- fishes: 0,
299
- addAFish: () => set({ fishes: get().fishes + 1 }),
300
- }),
301
- {
302
- name: 'food-storage', // name of the item in the storage (must be unique)
303
- storage: createJSONStorage(() => sessionStorage), // (optional) by default, 'localStorage' is used
304
- },
305
- ),
306
- )
307
- ```
308
-
309
- [See the full documentation for this middleware.](./docs/integrations/persisting-store-data.md)
310
-
311
- ## Immer middleware
312
-
313
- Immer is available as middleware too.
314
-
315
- ```jsx
316
- import { create } from 'zustand'
317
- import { immer } from 'zustand/middleware/immer'
318
-
319
- const useBeeStore = create(
320
- immer((set) => ({
321
- bees: 0,
322
- addBees: (by) =>
323
- set((state) => {
324
- state.bees += by
325
- }),
326
- })),
327
- )
328
- ```
329
-
330
- ## Can't live without redux-like reducers and action types?
331
-
332
- ```jsx
333
- const types = { increase: 'INCREASE', decrease: 'DECREASE' }
334
-
335
- const reducer = (state, { type, by = 1 }) => {
336
- switch (type) {
337
- case types.increase:
338
- return { grumpiness: state.grumpiness + by }
339
- case types.decrease:
340
- return { grumpiness: state.grumpiness - by }
341
- }
342
- }
343
-
344
- const useGrumpyStore = create((set) => ({
345
- grumpiness: 0,
346
- dispatch: (args) => set((state) => reducer(state, args)),
347
- }))
348
-
349
- const dispatch = useGrumpyStore((state) => state.dispatch)
350
- dispatch({ type: types.increase, by: 2 })
351
- ```
352
-
353
- Or, just use our redux-middleware. It wires up your main-reducer, sets the initial state, and adds a dispatch function to the state itself and the vanilla API.
354
-
355
- ```jsx
356
- import { redux } from 'zustand/middleware'
357
-
358
- const useGrumpyStore = create(redux(reducer, initialState))
359
- ```
360
-
361
- ## Redux devtools
362
-
363
- ```jsx
364
- import { devtools } from 'zustand/middleware'
365
-
366
- // Usage with a plain action store, it will log actions as "setState"
367
- const usePlainStore = create(devtools((set) => ...))
368
- // Usage with a redux store, it will log full action types
369
- const useReduxStore = create(devtools(redux(reducer, initialState)))
370
- ```
371
-
372
- One redux devtools connection for multiple stores
373
-
374
- ```jsx
375
- import { devtools } from 'zustand/middleware'
376
-
377
- // Usage with a plain action store, it will log actions as "setState"
378
- const usePlainStore1 = create(devtools((set) => ..., { name, store: storeName1 }))
379
- const usePlainStore2 = create(devtools((set) => ..., { name, store: storeName2 }))
380
- // Usage with a redux store, it will log full action types
381
- const useReduxStore = create(devtools(redux(reducer, initialState)), , { name, store: storeName3 })
382
- const useReduxStore = create(devtools(redux(reducer, initialState)), , { name, store: storeName4 })
383
- ```
384
-
385
- Assigning different connection names will separate stores in redux devtools. This also helps group different stores into separate redux devtools connections.
386
-
387
- devtools takes the store function as its first argument, optionally you can name the store or configure [serialize](https://github.com/zalmoxisus/redux-devtools-extension/blob/master/docs/API/Arguments.md#serialize) options with a second argument.
388
-
389
- Name store: `devtools(..., {name: "MyStore"})`, which will create a separate instance named "MyStore" in the devtools.
390
-
391
- Serialize options: `devtools(..., { serialize: { options: true } })`.
392
-
393
- #### Logging Actions
394
-
395
- devtools will only log actions from each separated store unlike in a typical _combined reducers_ redux store. See an approach to combining stores https://github.com/pmndrs/zustand/issues/163
396
-
397
- You can log a specific action type for each `set` function by passing a third parameter:
398
-
399
- ```jsx
400
- const useBearStore = create(devtools((set) => ({
401
- ...
402
- eatFish: () => set(
403
- (prev) => ({ fishes: prev.fishes > 1 ? prev.fishes - 1 : 0 }),
404
- undefined,
405
- 'bear/eatFish'
406
- ),
407
- ...
408
- ```
409
-
410
- You can also log the action's type along with its payload:
411
-
412
- ```jsx
413
- ...
414
- addFishes: (count) => set(
415
- (prev) => ({ fishes: prev.fishes + count }),
416
- undefined,
417
- { type: 'bear/addFishes', count, }
418
- ),
419
- ...
420
- ```
421
-
422
- If an action type is not provided, it is defaulted to "anonymous". You can customize this default value by providing an `anonymousActionType` parameter:
423
-
424
- ```jsx
425
- devtools(..., { anonymousActionType: 'unknown', ... })
426
- ```
427
-
428
- If you wish to disable devtools (on production for instance). You can customize this setting by providing the `enabled` parameter:
429
-
430
- ```jsx
431
- devtools(..., { enabled: false, ... })
432
- ```
433
-
434
- ## React context
435
-
436
- The store created with `create` doesn't require context providers. In some cases, you may want to use contexts for dependency injection or if you want to initialize your store with props from a component. Because the normal store is a hook, passing it as a normal context value may violate the rules of hooks.
437
-
438
- The recommended method available since v4 is to use the vanilla store.
439
-
440
- ```jsx
441
- import { createContext, useContext } from 'react'
442
- import { createStore, useStore } from 'zustand'
443
-
444
- const store = createStore(...) // vanilla store without hooks
445
-
446
- const StoreContext = createContext()
447
-
448
- const App = () => (
449
- <StoreContext.Provider value={store}>
450
- ...
451
- </StoreContext.Provider>
452
- )
453
-
454
- const Component = () => {
455
- const store = useContext(StoreContext)
456
- const slice = useStore(store, selector)
457
- ...
458
- ```
459
-
460
- ## TypeScript Usage
461
-
462
- Basic typescript usage doesn't require anything special except for writing `create<State>()(...)` instead of `create(...)`...
463
-
464
- ```ts
465
- import { create } from 'zustand'
466
- import { devtools, persist } from 'zustand/middleware'
467
- import type {} from '@redux-devtools/extension' // required for devtools typing
468
-
469
- interface BearState {
470
- bears: number
471
- increase: (by: number) => void
472
- }
473
-
474
- const useBearStore = create<BearState>()(
475
- devtools(
476
- persist(
477
- (set) => ({
478
- bears: 0,
479
- increase: (by) => set((state) => ({ bears: state.bears + by })),
480
- }),
481
- {
482
- name: 'bear-storage',
483
- },
484
- ),
485
- ),
486
- )
487
- ```
488
-
489
- A more complete TypeScript guide is [here](docs/guides/typescript.md).
490
-
491
- ## Best practices
492
-
493
- - You may wonder how to organize your code for better maintenance: [Splitting the store into separate slices](./docs/guides/slices-pattern.md).
494
- - Recommended usage for this unopinionated library: [Flux inspired practice](./docs/guides/flux-inspired-practice.md).
495
- - [Calling actions outside a React event handler in pre-React 18](./docs/guides/event-handler-in-pre-react-18.md).
496
- - [Testing](./docs/guides/testing.md)
497
- - For more, have a look [in the docs folder](./docs/)
498
-
499
- ## Third-Party Libraries
500
-
501
- Some users may want to extend Zustand's feature set which can be done using third-party libraries made by the community. For information regarding third-party libraries with Zustand, visit [the doc](./docs/integrations/third-party-libraries.md).
502
-
503
- ## Comparison with other libraries
504
-
505
- - [Difference between zustand and other state management libraries for React](https://docs.pmnd.rs/zustand/getting-started/comparison)
@@ -1,7 +0,0 @@
1
- import { shallow } from './vanilla/shallow';
2
- /**
3
- * @deprecated Use `import { shallow } from 'zustand/shallow'`
4
- */
5
- declare const _default: typeof shallow;
6
- export default _default;
7
- export { shallow };
@@ -1,87 +0,0 @@
1
- 'use strict';
2
-
3
- function _arrayLikeToArray(r, a) {
4
- (null == a || a > r.length) && (a = r.length);
5
- for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
6
- return n;
7
- }
8
- function _createForOfIteratorHelperLoose(r, e) {
9
- var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
10
- if (t) return (t = t.call(r)).next.bind(t);
11
- if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e) {
12
- t && (r = t);
13
- var o = 0;
14
- return function () {
15
- return o >= r.length ? {
16
- done: !0
17
- } : {
18
- done: !1,
19
- value: r[o++]
20
- };
21
- };
22
- }
23
- throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
24
- }
25
- function _unsupportedIterableToArray(r, a) {
26
- if (r) {
27
- if ("string" == typeof r) return _arrayLikeToArray(r, a);
28
- var t = {}.toString.call(r).slice(8, -1);
29
- return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
30
- }
31
- }
32
-
33
- function shallow$1(objA, objB) {
34
- if (Object.is(objA, objB)) {
35
- return true;
36
- }
37
- if (typeof objA !== 'object' || objA === null || typeof objB !== 'object' || objB === null) {
38
- return false;
39
- }
40
- if (objA instanceof Map && objB instanceof Map) {
41
- if (objA.size !== objB.size) return false;
42
- for (var _iterator = _createForOfIteratorHelperLoose(objA), _step; !(_step = _iterator()).done;) {
43
- var _step$value = _step.value,
44
- key = _step$value[0],
45
- value = _step$value[1];
46
- if (!Object.is(value, objB.get(key))) {
47
- return false;
48
- }
49
- }
50
- return true;
51
- }
52
- if (objA instanceof Set && objB instanceof Set) {
53
- if (objA.size !== objB.size) return false;
54
- for (var _iterator2 = _createForOfIteratorHelperLoose(objA), _step2; !(_step2 = _iterator2()).done;) {
55
- var _value = _step2.value;
56
- if (!objB.has(_value)) {
57
- return false;
58
- }
59
- }
60
- return true;
61
- }
62
- var keysA = Object.keys(objA);
63
- if (keysA.length !== Object.keys(objB).length) {
64
- return false;
65
- }
66
- for (var _i = 0, _keysA = keysA; _i < _keysA.length; _i++) {
67
- var keyA = _keysA[_i];
68
- if (!Object.prototype.hasOwnProperty.call(objB, keyA) || !Object.is(objA[keyA], objB[keyA])) {
69
- return false;
70
- }
71
- }
72
- return true;
73
- }
74
-
75
- var shallow = (function (objA, objB) {
76
- if (process.env.NODE_ENV !== 'production') {
77
- console.warn("[DEPRECATED] Default export is deprecated. Instead use `import { shallow } from 'zustand/shallow'`.");
78
- }
79
- return shallow$1(objA, objB);
80
- });
81
-
82
- exports.default = shallow;
83
- exports.shallow = shallow$1;
84
-
85
- module.exports = shallow;
86
- module.exports.shallow = shallow$1;
87
- exports.default = module.exports;
@@ -1,73 +0,0 @@
1
- System.register(['react', 'zustand/traditional'], (function (exports) {
2
- 'use strict';
3
- var ReactExports, useStoreWithEqualityFn;
4
- return {
5
- setters: [function (module) {
6
- ReactExports = module.default;
7
- }, function (module) {
8
- useStoreWithEqualityFn = module.useStoreWithEqualityFn;
9
- }],
10
- execute: (function () {
11
-
12
- exports("default", createContext);
13
-
14
- const {
15
- createElement,
16
- createContext: reactCreateContext,
17
- useContext,
18
- useMemo,
19
- useRef
20
- } = ReactExports;
21
- function createContext() {
22
- {
23
- console.warn(
24
- "[DEPRECATED] `context` will be removed in a future version. Instead use `import { createStore, useStore } from 'zustand'`. See: https://github.com/pmndrs/zustand/discussions/1180."
25
- );
26
- }
27
- const ZustandContext = reactCreateContext(void 0);
28
- const Provider = ({
29
- createStore,
30
- children
31
- }) => {
32
- const storeRef = useRef();
33
- if (!storeRef.current) {
34
- storeRef.current = createStore();
35
- }
36
- return createElement(
37
- ZustandContext.Provider,
38
- { value: storeRef.current },
39
- children
40
- );
41
- };
42
- const useContextStore = (selector, equalityFn) => {
43
- const store = useContext(ZustandContext);
44
- if (!store) {
45
- throw new Error(
46
- "Seems like you have not used zustand provider as an ancestor."
47
- );
48
- }
49
- return useStoreWithEqualityFn(
50
- store,
51
- selector,
52
- equalityFn
53
- );
54
- };
55
- const useStoreApi = () => {
56
- const store = useContext(ZustandContext);
57
- if (!store) {
58
- throw new Error(
59
- "Seems like you have not used zustand provider as an ancestor."
60
- );
61
- }
62
- return useMemo(() => ({ ...store }), [store]);
63
- };
64
- return {
65
- Provider,
66
- useStore: useContextStore,
67
- useStoreApi
68
- };
69
- }
70
-
71
- })
72
- };
73
- }));
@@ -1 +0,0 @@
1
- System.register(["react","zustand/traditional"],function(a){"use strict";var o,s;return{setters:[function(r){o=r.default},function(r){s=r.useStoreWithEqualityFn}],execute:function(){a("default",l);const{createElement:r,createContext:c,useContext:i,useMemo:d,useRef:f}=o;function l(){const n=c(void 0);return{Provider:({createStore:e,children:u})=>{const t=f();return t.current||(t.current=e()),r(n.Provider,{value:t.current},u)},useStore:(e,u)=>{const t=i(n);if(!t)throw new Error("Seems like you have not used zustand provider as an ancestor.");return s(t,e,u)},useStoreApi:()=>{const e=i(n);if(!e)throw new Error("Seems like you have not used zustand provider as an ancestor.");return d(()=>({...e}),[e])}}}}}});