Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub (part 6)
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useMoveSelectedNodes.d.ts.map +1 -0
- frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useNodeConnections.d.ts +25 -0
- frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useNodeConnections.d.ts.map +1 -0
- frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useNodes.d.ts +22 -0
- frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useNodes.d.ts.map +1 -0
- frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useNodesData.d.ts +27 -0
- frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useNodesData.d.ts.map +1 -0
- frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useNodesEdgesState.d.ts +105 -0
- frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useNodesEdgesState.d.ts.map +1 -0
- frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useNodesInitialized.d.ts +39 -0
- frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useNodesInitialized.d.ts.map +1 -0
- frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useOnEdgesChangeMiddleware.d.ts +10 -0
- frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useOnEdgesChangeMiddleware.d.ts.map +1 -0
- frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useOnInitHandler.d.ts +8 -0
- frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useOnInitHandler.d.ts.map +1 -0
- frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useOnNodesChangeMiddleware.d.ts +10 -0
- frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useOnNodesChangeMiddleware.d.ts.map +1 -0
- frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useOnSelectionChange.d.ts +43 -0
- frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useOnSelectionChange.d.ts.map +1 -0
- frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useOnViewportChange.d.ts +33 -0
- frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useOnViewportChange.d.ts.map +1 -0
- frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useReactFlow.d.ts +30 -0
- frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useReactFlow.d.ts.map +1 -0
- frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useResizeHandler.d.ts +8 -0
- frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useResizeHandler.d.ts.map +1 -0
- frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useStore.d.ts +45 -0
- frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useStore.d.ts.map +1 -0
- frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useUpdateNodeInternals.d.ts +48 -0
- frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useUpdateNodeInternals.d.ts.map +1 -0
- frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useViewport.d.ts +32 -0
- frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useViewport.d.ts.map +1 -0
- frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useViewportHelper.d.ts +10 -0
- frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useViewportHelper.d.ts.map +1 -0
- frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useViewportSync.d.ts +9 -0
- frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useViewportSync.d.ts.map +1 -0
- frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useVisibleEdgeIds.d.ts +9 -0
- frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useVisibleEdgeIds.d.ts.map +1 -0
- frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useVisibleNodeIds.d.ts +9 -0
- frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useVisibleNodeIds.d.ts.map +1 -0
- frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/index.d.ts +42 -0
- frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/index.d.ts.map +1 -0
- frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/index.js +0 -0
- frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/store/index.d.ts +19 -0
- frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/store/index.d.ts.map +1 -0
- frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/store/initialState.d.ts +19 -0
- frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/store/initialState.d.ts.map +1 -0
- frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/styles/utils.d.ts +3 -0
- frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/styles/utils.d.ts.map +1 -0
- frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/types/component-props.d.ts +655 -0
- frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/types/component-props.d.ts.map +1 -0
frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useMoveSelectedNodes.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"version":3,"file":"useMoveSelectedNodes.d.ts","sourceRoot":"","sources":["../../src/hooks/useMoveSelectedNodes.ts"],"names":[],"mappings":"AACA,OAAO,EAAuC,KAAK,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAQtF;;;;;GAKG;AACH,wBAAgB,oBAAoB,aAGa;IAAE,SAAS,EAAE,UAAU,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,UAiDzF"}
|
frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useNodeConnections.d.ts
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { type NodeConnection, type UseNodeConnectionsParams } from '@xyflow/system';
|
| 2 |
+
/**
|
| 3 |
+
* This hook returns an array of connections on a specific node, handle type ('source', 'target') or handle ID.
|
| 4 |
+
*
|
| 5 |
+
* @public
|
| 6 |
+
* @returns An array with connections.
|
| 7 |
+
*
|
| 8 |
+
* @example
|
| 9 |
+
* ```jsx
|
| 10 |
+
*import { useNodeConnections } from '@xyflow/react';
|
| 11 |
+
*
|
| 12 |
+
*export default function () {
|
| 13 |
+
* const connections = useNodeConnections({
|
| 14 |
+
* handleType: 'target',
|
| 15 |
+
* handleId: 'my-handle',
|
| 16 |
+
* });
|
| 17 |
+
*
|
| 18 |
+
* return (
|
| 19 |
+
* <div>There are currently {connections.length} incoming connections!</div>
|
| 20 |
+
* );
|
| 21 |
+
*}
|
| 22 |
+
*```
|
| 23 |
+
*/
|
| 24 |
+
export declare function useNodeConnections({ id, handleType, handleId, onConnect, onDisconnect, }?: UseNodeConnectionsParams): NodeConnection[];
|
| 25 |
+
//# sourceMappingURL=useNodeConnections.d.ts.map
|
frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useNodeConnections.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"version":3,"file":"useNodeConnections.d.ts","sourceRoot":"","sources":["../../src/hooks/useNodeConnections.ts"],"names":[],"mappings":"AACA,OAAO,EAIL,KAAK,cAAc,EACnB,KAAK,wBAAwB,EAC9B,MAAM,gBAAgB,CAAC;AAOxB;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,EAAE,EACF,UAAU,EACV,QAAQ,EACR,SAAS,EACT,YAAY,GACb,GAAE,wBAA6B,GAAG,cAAc,EAAE,CA8BlD"}
|
frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useNodes.d.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import type { Node } from '../types';
|
| 2 |
+
/**
|
| 3 |
+
* This hook returns an array of the current nodes. Components that use this hook
|
| 4 |
+
* will re-render **whenever any node changes**, including when a node is selected
|
| 5 |
+
* or moved.
|
| 6 |
+
*
|
| 7 |
+
* @public
|
| 8 |
+
* @returns An array of all nodes currently in the flow.
|
| 9 |
+
*
|
| 10 |
+
* @example
|
| 11 |
+
* ```jsx
|
| 12 |
+
*import { useNodes } from '@xyflow/react';
|
| 13 |
+
*
|
| 14 |
+
*export default function() {
|
| 15 |
+
* const nodes = useNodes();
|
| 16 |
+
*
|
| 17 |
+
* return <div>There are currently {nodes.length} nodes!</div>;
|
| 18 |
+
*}
|
| 19 |
+
*```
|
| 20 |
+
*/
|
| 21 |
+
export declare function useNodes<NodeType extends Node = Node>(): NodeType[];
|
| 22 |
+
//# sourceMappingURL=useNodes.d.ts.map
|
frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useNodes.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"version":3,"file":"useNodes.d.ts","sourceRoot":"","sources":["../../src/hooks/useNodes.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,IAAI,EAAkB,MAAM,UAAU,CAAC;AAIrD;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,QAAQ,CAAC,QAAQ,SAAS,IAAI,GAAG,IAAI,KAAK,QAAQ,EAAE,CAInE"}
|
frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useNodesData.d.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { DistributivePick } from '@xyflow/system';
|
| 2 |
+
import type { Node } from '../types';
|
| 3 |
+
/**
|
| 4 |
+
* This hook lets you subscribe to changes of a specific nodes `data` object.
|
| 5 |
+
*
|
| 6 |
+
* @public
|
| 7 |
+
* @returns An object (or array of object) with `id`, `type`, `data` representing each node.
|
| 8 |
+
*
|
| 9 |
+
* @example
|
| 10 |
+
*```jsx
|
| 11 |
+
*import { useNodesData } from '@xyflow/react';
|
| 12 |
+
*
|
| 13 |
+
*export default function() {
|
| 14 |
+
* const nodeData = useNodesData('nodeId-1');
|
| 15 |
+
* const nodesData = useNodesData(['nodeId-1', 'nodeId-2']);
|
| 16 |
+
*
|
| 17 |
+
* return null;
|
| 18 |
+
*}
|
| 19 |
+
*```
|
| 20 |
+
*/
|
| 21 |
+
export declare function useNodesData<NodeType extends Node = Node>(
|
| 22 |
+
/** The id of the node to get the data from. */
|
| 23 |
+
nodeId: string): DistributivePick<NodeType, 'id' | 'type' | 'data'> | null;
|
| 24 |
+
export declare function useNodesData<NodeType extends Node = Node>(
|
| 25 |
+
/** The ids of the nodes to get the data from. */
|
| 26 |
+
nodeIds: string[]): DistributivePick<NodeType, 'id' | 'type' | 'data'>[];
|
| 27 |
+
//# sourceMappingURL=useNodesData.d.ts.map
|
frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useNodesData.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"version":3,"file":"useNodesData.d.ts","sourceRoot":"","sources":["../../src/hooks/useNodesData.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAmB,MAAM,gBAAgB,CAAC;AAGnE,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAErC;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,YAAY,CAAC,QAAQ,SAAS,IAAI,GAAG,IAAI;AACvD,+CAA+C;AAC/C,MAAM,EAAE,MAAM,GACb,gBAAgB,CAAC,QAAQ,EAAE,IAAI,GAAG,MAAM,GAAG,MAAM,CAAC,GAAG,IAAI,CAAC;AAC7D,wBAAgB,YAAY,CAAC,QAAQ,SAAS,IAAI,GAAG,IAAI;AACvD,iDAAiD;AACjD,OAAO,EAAE,MAAM,EAAE,GAChB,gBAAgB,CAAC,QAAQ,EAAE,IAAI,GAAG,MAAM,GAAG,MAAM,CAAC,EAAE,CAAC"}
|
frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useNodesEdgesState.d.ts
ADDED
|
@@ -0,0 +1,105 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { type Dispatch, type SetStateAction } from 'react';
|
| 2 |
+
import type { Node, Edge, OnNodesChange, OnEdgesChange } from '../types';
|
| 3 |
+
/**
|
| 4 |
+
* This hook makes it easy to prototype a controlled flow where you manage the
|
| 5 |
+
* state of nodes and edges outside the `ReactFlowInstance`. You can think of it
|
| 6 |
+
* like React's `useState` hook with an additional helper callback.
|
| 7 |
+
*
|
| 8 |
+
* @public
|
| 9 |
+
* @returns
|
| 10 |
+
* - `nodes`: The current array of nodes. You might pass this directly to the `nodes` prop of your
|
| 11 |
+
* `<ReactFlow />` component, or you may want to manipulate it first to perform some layouting,
|
| 12 |
+
* for example.
|
| 13 |
+
* - `setNodes`: A function that you can use to update the nodes. You can pass it a new array of
|
| 14 |
+
* nodes or a callback that receives the current array of nodes and returns a new array of nodes.
|
| 15 |
+
* This is the same as the second element of the tuple returned by React's `useState` hook.
|
| 16 |
+
* - `onNodesChange`: A handy callback that can take an array of `NodeChanges` and update the nodes
|
| 17 |
+
* state accordingly. You'll typically pass this directly to the `onNodesChange` prop of your
|
| 18 |
+
* `<ReactFlow />` component.
|
| 19 |
+
* @example
|
| 20 |
+
*
|
| 21 |
+
*```tsx
|
| 22 |
+
*import { ReactFlow, useNodesState, useEdgesState } from '@xyflow/react';
|
| 23 |
+
*
|
| 24 |
+
*const initialNodes = [];
|
| 25 |
+
*const initialEdges = [];
|
| 26 |
+
*
|
| 27 |
+
*export default function () {
|
| 28 |
+
* const [nodes, setNodes, onNodesChange] = useNodesState(initialNodes);
|
| 29 |
+
* const [edges, setEdges, onEdgesChange] = useEdgesState(initialEdges);
|
| 30 |
+
*
|
| 31 |
+
* return (
|
| 32 |
+
* <ReactFlow
|
| 33 |
+
* nodes={nodes}
|
| 34 |
+
* edges={edges}
|
| 35 |
+
* onNodesChange={onNodesChange}
|
| 36 |
+
* onEdgesChange={onEdgesChange}
|
| 37 |
+
* />
|
| 38 |
+
* );
|
| 39 |
+
*}
|
| 40 |
+
*```
|
| 41 |
+
*
|
| 42 |
+
* @remarks This hook was created to make prototyping easier and our documentation
|
| 43 |
+
* examples clearer. Although it is OK to use this hook in production, in
|
| 44 |
+
* practice you may want to use a more sophisticated state management solution
|
| 45 |
+
* like Zustand {@link https://reactflow.dev/docs/guides/state-management/} instead.
|
| 46 |
+
*
|
| 47 |
+
*/
|
| 48 |
+
export declare function useNodesState<NodeType extends Node>(initialNodes: NodeType[]): [
|
| 49 |
+
nodes: NodeType[],
|
| 50 |
+
setNodes: Dispatch<SetStateAction<NodeType[]>>,
|
| 51 |
+
onNodesChange: OnNodesChange<NodeType>
|
| 52 |
+
];
|
| 53 |
+
/**
|
| 54 |
+
* This hook makes it easy to prototype a controlled flow where you manage the
|
| 55 |
+
* state of nodes and edges outside the `ReactFlowInstance`. You can think of it
|
| 56 |
+
* like React's `useState` hook with an additional helper callback.
|
| 57 |
+
*
|
| 58 |
+
* @public
|
| 59 |
+
* @returns
|
| 60 |
+
* - `edges`: The current array of edges. You might pass this directly to the `edges` prop of your
|
| 61 |
+
* `<ReactFlow />` component, or you may want to manipulate it first to perform some layouting,
|
| 62 |
+
* for example.
|
| 63 |
+
*
|
| 64 |
+
* - `setEdges`: A function that you can use to update the edges. You can pass it a new array of
|
| 65 |
+
* edges or a callback that receives the current array of edges and returns a new array of edges.
|
| 66 |
+
* This is the same as the second element of the tuple returned by React's `useState` hook.
|
| 67 |
+
*
|
| 68 |
+
* - `onEdgesChange`: A handy callback that can take an array of `EdgeChanges` and update the edges
|
| 69 |
+
* state accordingly. You'll typically pass this directly to the `onEdgesChange` prop of your
|
| 70 |
+
* `<ReactFlow />` component.
|
| 71 |
+
* @example
|
| 72 |
+
*
|
| 73 |
+
*```tsx
|
| 74 |
+
*import { ReactFlow, useNodesState, useEdgesState } from '@xyflow/react';
|
| 75 |
+
*
|
| 76 |
+
*const initialNodes = [];
|
| 77 |
+
*const initialEdges = [];
|
| 78 |
+
*
|
| 79 |
+
*export default function () {
|
| 80 |
+
* const [nodes, setNodes, onNodesChange] = useNodesState(initialNodes);
|
| 81 |
+
* const [edges, setEdges, onEdgesChange] = useEdgesState(initialEdges);
|
| 82 |
+
*
|
| 83 |
+
* return (
|
| 84 |
+
* <ReactFlow
|
| 85 |
+
* nodes={nodes}
|
| 86 |
+
* edges={edges}
|
| 87 |
+
* onNodesChange={onNodesChange}
|
| 88 |
+
* onEdgesChange={onEdgesChange}
|
| 89 |
+
* />
|
| 90 |
+
* );
|
| 91 |
+
*}
|
| 92 |
+
*```
|
| 93 |
+
*
|
| 94 |
+
* @remarks This hook was created to make prototyping easier and our documentation
|
| 95 |
+
* examples clearer. Although it is OK to use this hook in production, in
|
| 96 |
+
* practice you may want to use a more sophisticated state management solution
|
| 97 |
+
* like Zustand {@link https://reactflow.dev/docs/guides/state-management/} instead.
|
| 98 |
+
*
|
| 99 |
+
*/
|
| 100 |
+
export declare function useEdgesState<EdgeType extends Edge = Edge>(initialEdges: EdgeType[]): [
|
| 101 |
+
edges: EdgeType[],
|
| 102 |
+
setEdges: Dispatch<SetStateAction<EdgeType[]>>,
|
| 103 |
+
onEdgesChange: OnEdgesChange<EdgeType>
|
| 104 |
+
];
|
| 105 |
+
//# sourceMappingURL=useNodesEdgesState.d.ts.map
|
frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useNodesEdgesState.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"version":3,"file":"useNodesEdgesState.d.ts","sourceRoot":"","sources":["../../src/hooks/useNodesEdgesState.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyB,KAAK,QAAQ,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAGlF,OAAO,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,wBAAgB,aAAa,CAAC,QAAQ,SAAS,IAAI,EACjD,YAAY,EAAE,QAAQ,EAAE,GACvB;IAED,KAAK,EAAE,QAAQ,EAAE;IACjB,QAAQ,EAAE,QAAQ,CAAC,cAAc,CAAC,QAAQ,EAAE,CAAC,CAAC;IAC9C,aAAa,EAAE,aAAa,CAAC,QAAQ,CAAC;CACvC,CAQA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,wBAAgB,aAAa,CAAC,QAAQ,SAAS,IAAI,GAAG,IAAI,EACxD,YAAY,EAAE,QAAQ,EAAE,GACvB;IAED,KAAK,EAAE,QAAQ,EAAE;IACjB,QAAQ,EAAE,QAAQ,CAAC,cAAc,CAAC,QAAQ,EAAE,CAAC,CAAC;IAC9C,aAAa,EAAE,aAAa,CAAC,QAAQ,CAAC;CACvC,CAQA"}
|
frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useNodesInitialized.d.ts
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
export type UseNodesInitializedOptions = {
|
| 2 |
+
/** @default false */
|
| 3 |
+
includeHiddenNodes?: boolean;
|
| 4 |
+
};
|
| 5 |
+
/**
|
| 6 |
+
* This hook tells you whether all the nodes in a flow have been measured and given
|
| 7 |
+
*a width and height. When you add a node to the flow, this hook will return
|
| 8 |
+
*`false` and then `true` again once the node has been measured.
|
| 9 |
+
*
|
| 10 |
+
* @public
|
| 11 |
+
* @returns Whether or not the nodes have been initialized by the `<ReactFlow />` component and
|
| 12 |
+
* given a width and height.
|
| 13 |
+
*
|
| 14 |
+
* @example
|
| 15 |
+
* ```jsx
|
| 16 |
+
*import { useReactFlow, useNodesInitialized } from '@xyflow/react';
|
| 17 |
+
*import { useEffect, useState } from 'react';
|
| 18 |
+
*
|
| 19 |
+
*const options = {
|
| 20 |
+
* includeHiddenNodes: false,
|
| 21 |
+
*};
|
| 22 |
+
*
|
| 23 |
+
*export default function useLayout() {
|
| 24 |
+
* const { getNodes } = useReactFlow();
|
| 25 |
+
* const nodesInitialized = useNodesInitialized(options);
|
| 26 |
+
* const [layoutedNodes, setLayoutedNodes] = useState(getNodes());
|
| 27 |
+
*
|
| 28 |
+
* useEffect(() => {
|
| 29 |
+
* if (nodesInitialized) {
|
| 30 |
+
* setLayoutedNodes(yourLayoutingFunction(getNodes()));
|
| 31 |
+
* }
|
| 32 |
+
* }, [nodesInitialized]);
|
| 33 |
+
*
|
| 34 |
+
* return layoutedNodes;
|
| 35 |
+
*}
|
| 36 |
+
*```
|
| 37 |
+
*/
|
| 38 |
+
export declare function useNodesInitialized(options?: UseNodesInitializedOptions): boolean;
|
| 39 |
+
//# sourceMappingURL=useNodesInitialized.d.ts.map
|
frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useNodesInitialized.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"version":3,"file":"useNodesInitialized.d.ts","sourceRoot":"","sources":["../../src/hooks/useNodesInitialized.ts"],"names":[],"mappings":"AAKA,MAAM,MAAM,0BAA0B,GAAG;IACvC,qBAAqB;IACrB,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B,CAAC;AAoBF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,wBAAgB,mBAAmB,CACjC,OAAO,GAAE,0BAER,GACA,OAAO,CAIT"}
|
frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useOnEdgesChangeMiddleware.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import type { EdgeChange } from '@xyflow/system';
|
| 2 |
+
import type { Edge } from '../types';
|
| 3 |
+
/**
|
| 4 |
+
* Registers a middleware function to transform edge changes.
|
| 5 |
+
*
|
| 6 |
+
* @public
|
| 7 |
+
* @param fn - Middleware function. Should be memoized with useCallback to avoid re-registration.
|
| 8 |
+
*/
|
| 9 |
+
export declare function experimental_useOnEdgesChangeMiddleware<EdgeType extends Edge = Edge>(fn: (changes: EdgeChange<EdgeType>[]) => EdgeChange<EdgeType>[]): void;
|
| 10 |
+
//# sourceMappingURL=useOnEdgesChangeMiddleware.d.ts.map
|
frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useOnEdgesChangeMiddleware.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"version":3,"file":"useOnEdgesChangeMiddleware.d.ts","sourceRoot":"","sources":["../../src/hooks/useOnEdgesChangeMiddleware.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAGjD,OAAO,KAAK,EAAE,IAAI,EAAQ,MAAM,UAAU,CAAC;AAE3C;;;;;GAKG;AACH,wBAAgB,uCAAuC,CAAC,QAAQ,SAAS,IAAI,GAAG,IAAI,EAClF,EAAE,EAAE,CAAC,OAAO,EAAE,UAAU,CAAC,QAAQ,CAAC,EAAE,KAAK,UAAU,CAAC,QAAQ,CAAC,EAAE,QAgBhE"}
|
frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useOnInitHandler.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import type { OnInit, Node, Edge } from '../types';
|
| 2 |
+
/**
|
| 3 |
+
* Hook for calling onInit handler.
|
| 4 |
+
*
|
| 5 |
+
* @internal
|
| 6 |
+
*/
|
| 7 |
+
export declare function useOnInitHandler<NodeType extends Node = Node, EdgeType extends Edge = Edge>(onInit: OnInit<NodeType, EdgeType> | undefined): void;
|
| 8 |
+
//# sourceMappingURL=useOnInitHandler.d.ts.map
|
frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useOnInitHandler.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"version":3,"file":"useOnInitHandler.d.ts","sourceRoot":"","sources":["../../src/hooks/useOnInitHandler.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAEnD;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,QAAQ,SAAS,IAAI,GAAG,IAAI,EAAE,QAAQ,SAAS,IAAI,GAAG,IAAI,EACzF,MAAM,EAAE,MAAM,CAAC,QAAQ,EAAE,QAAQ,CAAC,GAAG,SAAS,QAW/C"}
|
frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useOnNodesChangeMiddleware.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import type { NodeChange } from '@xyflow/system';
|
| 2 |
+
import type { Node } from '../types';
|
| 3 |
+
/**
|
| 4 |
+
* Registers a middleware function to transform node changes.
|
| 5 |
+
*
|
| 6 |
+
* @public
|
| 7 |
+
* @param fn - Middleware function. Should be memoized with useCallback to avoid re-registration.
|
| 8 |
+
*/
|
| 9 |
+
export declare function experimental_useOnNodesChangeMiddleware<NodeType extends Node = Node>(fn: (changes: NodeChange<NodeType>[]) => NodeChange<NodeType>[]): void;
|
| 10 |
+
//# sourceMappingURL=useOnNodesChangeMiddleware.d.ts.map
|
frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useOnNodesChangeMiddleware.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"version":3,"file":"useOnNodesChangeMiddleware.d.ts","sourceRoot":"","sources":["../../src/hooks/useOnNodesChangeMiddleware.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAGjD,OAAO,KAAK,EAAQ,IAAI,EAAE,MAAM,UAAU,CAAC;AAE3C;;;;;GAKG;AACH,wBAAgB,uCAAuC,CAAC,QAAQ,SAAS,IAAI,GAAG,IAAI,EAClF,EAAE,EAAE,CAAC,OAAO,EAAE,UAAU,CAAC,QAAQ,CAAC,EAAE,KAAK,UAAU,CAAC,QAAQ,CAAC,EAAE,QAgBhE"}
|
frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useOnSelectionChange.d.ts
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import type { OnSelectionChangeFunc, Node, Edge } from '../types';
|
| 2 |
+
export type UseOnSelectionChangeOptions<NodeType extends Node = Node, EdgeType extends Edge = Edge> = {
|
| 3 |
+
/** The handler to register. */
|
| 4 |
+
onChange: OnSelectionChangeFunc<NodeType, EdgeType>;
|
| 5 |
+
};
|
| 6 |
+
/**
|
| 7 |
+
* This hook lets you listen for changes to both node and edge selection. As the
|
| 8 |
+
*name implies, the callback you provide will be called whenever the selection of
|
| 9 |
+
*_either_ nodes or edges changes.
|
| 10 |
+
*
|
| 11 |
+
* @public
|
| 12 |
+
* @example
|
| 13 |
+
* ```jsx
|
| 14 |
+
*import { useState } from 'react';
|
| 15 |
+
*import { ReactFlow, useOnSelectionChange } from '@xyflow/react';
|
| 16 |
+
*
|
| 17 |
+
*function SelectionDisplay() {
|
| 18 |
+
* const [selectedNodes, setSelectedNodes] = useState([]);
|
| 19 |
+
* const [selectedEdges, setSelectedEdges] = useState([]);
|
| 20 |
+
*
|
| 21 |
+
* // the passed handler has to be memoized, otherwise the hook will not work correctly
|
| 22 |
+
* const onChange = useCallback(({ nodes, edges }) => {
|
| 23 |
+
* setSelectedNodes(nodes.map((node) => node.id));
|
| 24 |
+
* setSelectedEdges(edges.map((edge) => edge.id));
|
| 25 |
+
* }, []);
|
| 26 |
+
*
|
| 27 |
+
* useOnSelectionChange({
|
| 28 |
+
* onChange,
|
| 29 |
+
* });
|
| 30 |
+
*
|
| 31 |
+
* return (
|
| 32 |
+
* <div>
|
| 33 |
+
* <p>Selected nodes: {selectedNodes.join(', ')}</p>
|
| 34 |
+
* <p>Selected edges: {selectedEdges.join(', ')}</p>
|
| 35 |
+
* </div>
|
| 36 |
+
* );
|
| 37 |
+
*}
|
| 38 |
+
*```
|
| 39 |
+
*
|
| 40 |
+
* @remarks You need to memoize the passed `onChange` handler, otherwise the hook will not work correctly.
|
| 41 |
+
*/
|
| 42 |
+
export declare function useOnSelectionChange<NodeType extends Node = Node, EdgeType extends Edge = Edge>({ onChange, }: UseOnSelectionChangeOptions<NodeType, EdgeType>): void;
|
| 43 |
+
//# sourceMappingURL=useOnSelectionChange.d.ts.map
|
frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useOnSelectionChange.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"version":3,"file":"useOnSelectionChange.d.ts","sourceRoot":"","sources":["../../src/hooks/useOnSelectionChange.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,qBAAqB,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAElE,MAAM,MAAM,2BAA2B,CAAC,QAAQ,SAAS,IAAI,GAAG,IAAI,EAAE,QAAQ,SAAS,IAAI,GAAG,IAAI,IAAI;IACpG,+BAA+B;IAC/B,QAAQ,EAAE,qBAAqB,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;CACrD,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,wBAAgB,oBAAoB,CAAC,QAAQ,SAAS,IAAI,GAAG,IAAI,EAAE,QAAQ,SAAS,IAAI,GAAG,IAAI,EAAE,EAC/F,QAAQ,GACT,EAAE,2BAA2B,CAAC,QAAQ,EAAE,QAAQ,CAAC,QAYjD"}
|
frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useOnViewportChange.d.ts
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import type { OnViewportChange } from '@xyflow/system';
|
| 2 |
+
export type UseOnViewportChangeOptions = {
|
| 3 |
+
/** Gets called when the viewport starts changing. */
|
| 4 |
+
onStart?: OnViewportChange;
|
| 5 |
+
/** Gets called when the viewport changes. */
|
| 6 |
+
onChange?: OnViewportChange;
|
| 7 |
+
/** Gets called when the viewport stops changing. */
|
| 8 |
+
onEnd?: OnViewportChange;
|
| 9 |
+
};
|
| 10 |
+
/**
|
| 11 |
+
* The `useOnViewportChange` hook lets you listen for changes to the viewport such
|
| 12 |
+
* as panning and zooming. You can provide a callback for each phase of a viewport
|
| 13 |
+
* change: `onStart`, `onChange`, and `onEnd`.
|
| 14 |
+
*
|
| 15 |
+
* @public
|
| 16 |
+
* @example
|
| 17 |
+
* ```jsx
|
| 18 |
+
*import { useCallback } from 'react';
|
| 19 |
+
*import { useOnViewportChange } from '@xyflow/react';
|
| 20 |
+
*
|
| 21 |
+
*function ViewportChangeLogger() {
|
| 22 |
+
* useOnViewportChange({
|
| 23 |
+
* onStart: (viewport: Viewport) => console.log('start', viewport),
|
| 24 |
+
* onChange: (viewport: Viewport) => console.log('change', viewport),
|
| 25 |
+
* onEnd: (viewport: Viewport) => console.log('end', viewport),
|
| 26 |
+
* });
|
| 27 |
+
*
|
| 28 |
+
* return null;
|
| 29 |
+
*}
|
| 30 |
+
*```
|
| 31 |
+
*/
|
| 32 |
+
export declare function useOnViewportChange({ onStart, onChange, onEnd }: UseOnViewportChangeOptions): void;
|
| 33 |
+
//# sourceMappingURL=useOnViewportChange.d.ts.map
|
frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useOnViewportChange.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"version":3,"file":"useOnViewportChange.d.ts","sourceRoot":"","sources":["../../src/hooks/useOnViewportChange.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAIvD,MAAM,MAAM,0BAA0B,GAAG;IACvC,qDAAqD;IACrD,OAAO,CAAC,EAAE,gBAAgB,CAAC;IAC3B,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,gBAAgB,CAAC;IAC5B,oDAAoD;IACpD,KAAK,CAAC,EAAE,gBAAgB,CAAC;CAC1B,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,mBAAmB,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,0BAA0B,QAc3F"}
|
frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useReactFlow.d.ts
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import type { ReactFlowInstance, Node, Edge } from '../types';
|
| 2 |
+
/**
|
| 3 |
+
* This hook returns a ReactFlowInstance that can be used to update nodes and edges, manipulate the viewport, or query the current state of the flow.
|
| 4 |
+
*
|
| 5 |
+
* @public
|
| 6 |
+
* @example
|
| 7 |
+
* ```jsx
|
| 8 |
+
*import { useCallback, useState } from 'react';
|
| 9 |
+
*import { useReactFlow } from '@xyflow/react';
|
| 10 |
+
*
|
| 11 |
+
*export function NodeCounter() {
|
| 12 |
+
* const reactFlow = useReactFlow();
|
| 13 |
+
* const [count, setCount] = useState(0);
|
| 14 |
+
* const countNodes = useCallback(() => {
|
| 15 |
+
* setCount(reactFlow.getNodes().length);
|
| 16 |
+
* // you need to pass it as a dependency if you are using it with useEffect or useCallback
|
| 17 |
+
* // because at the first render, it's not initialized yet and some functions might not work.
|
| 18 |
+
* }, [reactFlow]);
|
| 19 |
+
*
|
| 20 |
+
* return (
|
| 21 |
+
* <div>
|
| 22 |
+
* <button onClick={countNodes}>Update count</button>
|
| 23 |
+
* <p>There are {count} nodes in the flow.</p>
|
| 24 |
+
* </div>
|
| 25 |
+
* );
|
| 26 |
+
*}
|
| 27 |
+
*```
|
| 28 |
+
*/
|
| 29 |
+
export declare function useReactFlow<NodeType extends Node = Node, EdgeType extends Edge = Edge>(): ReactFlowInstance<NodeType, EdgeType>;
|
| 30 |
+
//# sourceMappingURL=useReactFlow.d.ts.map
|
frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useReactFlow.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"version":3,"file":"useReactFlow.d.ts","sourceRoot":"","sources":["../../src/hooks/useReactFlow.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EACV,iBAAiB,EACjB,IAAI,EACJ,IAAI,EAKL,MAAM,UAAU,CAAC;AAIlB;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,YAAY,CAAC,QAAQ,SAAS,IAAI,GAAG,IAAI,EAAE,QAAQ,SAAS,IAAI,GAAG,IAAI,KAAK,iBAAiB,CAC3G,QAAQ,EACR,QAAQ,CACT,CA8PA"}
|
frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useResizeHandler.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { type MutableRefObject } from 'react';
|
| 2 |
+
/**
|
| 3 |
+
* Hook for handling resize events.
|
| 4 |
+
*
|
| 5 |
+
* @internal
|
| 6 |
+
*/
|
| 7 |
+
export declare function useResizeHandler(domNode: MutableRefObject<HTMLDivElement | null>): void;
|
| 8 |
+
//# sourceMappingURL=useResizeHandler.d.ts.map
|
frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useResizeHandler.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"version":3,"file":"useResizeHandler.d.ts","sourceRoot":"","sources":["../../src/hooks/useResizeHandler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,KAAK,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAKzD;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,gBAAgB,CAAC,cAAc,GAAG,IAAI,CAAC,GAAG,IAAI,CAiCvF"}
|
frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useStore.d.ts
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import type { Edge, Node, ReactFlowState } from '../types';
|
| 2 |
+
/**
|
| 3 |
+
* This hook can be used to subscribe to internal state changes of the React Flow
|
| 4 |
+
* component. The `useStore` hook is re-exported from the [Zustand](https://github.com/pmndrs/zustand)
|
| 5 |
+
* state management library, so you should check out their docs for more details.
|
| 6 |
+
*
|
| 7 |
+
* @public
|
| 8 |
+
* @param selector - A selector function that returns a slice of the flow's internal state.
|
| 9 |
+
* Extracting or transforming just the state you need is a good practice to avoid unnecessary
|
| 10 |
+
* re-renders.
|
| 11 |
+
* @param equalityFn - A function to compare the previous and next value. This is incredibly useful
|
| 12 |
+
* for preventing unnecessary re-renders. Good sensible defaults are using `Object.is` or importing
|
| 13 |
+
* `zustand/shallow`, but you can be as granular as you like.
|
| 14 |
+
* @returns The selected state slice.
|
| 15 |
+
*
|
| 16 |
+
* @example
|
| 17 |
+
* ```ts
|
| 18 |
+
* const nodes = useStore((state) => state.nodes);
|
| 19 |
+
* ```
|
| 20 |
+
*
|
| 21 |
+
* @remarks This hook should only be used if there is no other way to access the internal
|
| 22 |
+
* state. For many of the common use cases, there are dedicated hooks available
|
| 23 |
+
* such as {@link useReactFlow}, {@link useViewport}, etc.
|
| 24 |
+
*/
|
| 25 |
+
declare function useStore<StateSlice = unknown>(selector: (state: ReactFlowState) => StateSlice, equalityFn?: (a: StateSlice, b: StateSlice) => boolean): StateSlice;
|
| 26 |
+
/**
|
| 27 |
+
* In some cases, you might need to access the store directly. This hook returns the store object which can be used on demand to access the state or dispatch actions.
|
| 28 |
+
*
|
| 29 |
+
* @returns The store object.
|
| 30 |
+
* @example
|
| 31 |
+
* ```ts
|
| 32 |
+
* const store = useStoreApi();
|
| 33 |
+
* ```
|
| 34 |
+
*
|
| 35 |
+
* @remarks This hook should only be used if there is no other way to access the internal
|
| 36 |
+
* state. For many of the common use cases, there are dedicated hooks available
|
| 37 |
+
* such as {@link useReactFlow}, {@link useViewport}, etc.
|
| 38 |
+
*/
|
| 39 |
+
declare function useStoreApi<NodeType extends Node = Node, EdgeType extends Edge = Edge>(): {
|
| 40 |
+
getState: () => ReactFlowState<NodeType, EdgeType>;
|
| 41 |
+
setState: (partial: ReactFlowState<NodeType, EdgeType> | Partial<ReactFlowState<NodeType, EdgeType>> | ((state: ReactFlowState<NodeType, EdgeType>) => ReactFlowState<NodeType, EdgeType> | Partial<ReactFlowState<NodeType, EdgeType>>), replace?: boolean | undefined) => void;
|
| 42 |
+
subscribe: (listener: (state: ReactFlowState<NodeType, EdgeType>, prevState: ReactFlowState<NodeType, EdgeType>) => void) => () => void;
|
| 43 |
+
};
|
| 44 |
+
export { useStore, useStoreApi };
|
| 45 |
+
//# sourceMappingURL=useStore.d.ts.map
|
frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useStore.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"version":3,"file":"useStore.d.ts","sourceRoot":"","sources":["../../src/hooks/useStore.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAI3D;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,iBAAS,QAAQ,CAAC,UAAU,GAAG,OAAO,EACpC,QAAQ,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,UAAU,EAC/C,UAAU,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,UAAU,KAAK,OAAO,cASvD;AAED;;;;;;;;;;;;GAYG;AACH,iBAAS,WAAW,CAAC,QAAQ,SAAS,IAAI,GAAG,IAAI,EAAE,QAAQ,SAAS,IAAI,GAAG,IAAI;;;;EAiB9E;AAED,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,CAAC"}
|
frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useUpdateNodeInternals.d.ts
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import type { UpdateNodeInternals } from '@xyflow/system';
|
| 2 |
+
/**
|
| 3 |
+
* When you programmatically add or remove handles to a node or update a node's
|
| 4 |
+
* handle position, you need to let React Flow know about it using this hook. This
|
| 5 |
+
* will update the internal dimensions of the node and properly reposition handles
|
| 6 |
+
* on the canvas if necessary.
|
| 7 |
+
*
|
| 8 |
+
* @public
|
| 9 |
+
* @returns Use this function to tell React Flow to update the internal state of one or more nodes
|
| 10 |
+
* that you have changed programmatically.
|
| 11 |
+
*
|
| 12 |
+
* @example
|
| 13 |
+
* ```jsx
|
| 14 |
+
*import { useCallback, useState } from 'react';
|
| 15 |
+
*import { Handle, useUpdateNodeInternals } from '@xyflow/react';
|
| 16 |
+
*
|
| 17 |
+
*export default function RandomHandleNode({ id }) {
|
| 18 |
+
* const updateNodeInternals = useUpdateNodeInternals();
|
| 19 |
+
* const [handleCount, setHandleCount] = useState(0);
|
| 20 |
+
* const randomizeHandleCount = useCallback(() => {
|
| 21 |
+
* setHandleCount(Math.floor(Math.random() * 10));
|
| 22 |
+
* updateNodeInternals(id);
|
| 23 |
+
* }, [id, updateNodeInternals]);
|
| 24 |
+
*
|
| 25 |
+
* return (
|
| 26 |
+
* <>
|
| 27 |
+
* {Array.from({ length: handleCount }).map((_, index) => (
|
| 28 |
+
* <Handle
|
| 29 |
+
* key={index}
|
| 30 |
+
* type="target"
|
| 31 |
+
* position="left"
|
| 32 |
+
* id={`handle-${index}`}
|
| 33 |
+
* />
|
| 34 |
+
* ))}
|
| 35 |
+
*
|
| 36 |
+
* <div>
|
| 37 |
+
* <button onClick={randomizeHandleCount}>Randomize handle count</button>
|
| 38 |
+
* <p>There are {handleCount} handles on this node.</p>
|
| 39 |
+
* </div>
|
| 40 |
+
* </>
|
| 41 |
+
* );
|
| 42 |
+
*}
|
| 43 |
+
*```
|
| 44 |
+
* @remarks This hook can only be used in a component that is a child of a
|
| 45 |
+
*{@link ReactFlowProvider} or a {@link ReactFlow} component.
|
| 46 |
+
*/
|
| 47 |
+
export declare function useUpdateNodeInternals(): UpdateNodeInternals;
|
| 48 |
+
//# sourceMappingURL=useUpdateNodeInternals.d.ts.map
|
frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useUpdateNodeInternals.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"version":3,"file":"useUpdateNodeInternals.d.ts","sourceRoot":"","sources":["../../src/hooks/useUpdateNodeInternals.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAsB,MAAM,gBAAgB,CAAC;AAI9E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,wBAAgB,sBAAsB,IAAI,mBAAmB,CAkB5D"}
|
frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useViewport.d.ts
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import type { Viewport } from '@xyflow/system';
|
| 2 |
+
/**
|
| 3 |
+
* The `useViewport` hook is a convenient way to read the current state of the
|
| 4 |
+
* {@link Viewport} in a component. Components that use this hook
|
| 5 |
+
* will re-render **whenever the viewport changes**.
|
| 6 |
+
*
|
| 7 |
+
* @public
|
| 8 |
+
* @returns The current viewport.
|
| 9 |
+
*
|
| 10 |
+
* @example
|
| 11 |
+
*
|
| 12 |
+
*```jsx
|
| 13 |
+
*import { useViewport } from '@xyflow/react';
|
| 14 |
+
*
|
| 15 |
+
*export default function ViewportDisplay() {
|
| 16 |
+
* const { x, y, zoom } = useViewport();
|
| 17 |
+
*
|
| 18 |
+
* return (
|
| 19 |
+
* <div>
|
| 20 |
+
* <p>
|
| 21 |
+
* The viewport is currently at ({x}, {y}) and zoomed to {zoom}.
|
| 22 |
+
* </p>
|
| 23 |
+
* </div>
|
| 24 |
+
* );
|
| 25 |
+
*}
|
| 26 |
+
*```
|
| 27 |
+
*
|
| 28 |
+
* @remarks This hook can only be used in a component that is a child of a
|
| 29 |
+
*{@link ReactFlowProvider} or a {@link ReactFlow} component.
|
| 30 |
+
*/
|
| 31 |
+
export declare function useViewport(): Viewport;
|
| 32 |
+
//# sourceMappingURL=useViewport.d.ts.map
|
frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useViewport.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"version":3,"file":"useViewport.d.ts","sourceRoot":"","sources":["../../src/hooks/useViewport.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAW/C;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,wBAAgB,WAAW,IAAI,QAAQ,CAItC"}
|
frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useViewportHelper.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import type { ViewportHelperFunctions } from '../types';
|
| 2 |
+
/**
|
| 3 |
+
* Hook for getting viewport helper functions.
|
| 4 |
+
*
|
| 5 |
+
* @internal
|
| 6 |
+
* @returns viewport helper functions
|
| 7 |
+
*/
|
| 8 |
+
declare const useViewportHelper: () => ViewportHelperFunctions;
|
| 9 |
+
export default useViewportHelper;
|
| 10 |
+
//# sourceMappingURL=useViewportHelper.d.ts.map
|
frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useViewportHelper.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"version":3,"file":"useViewportHelper.d.ts","sourceRoot":"","sources":["../../src/hooks/useViewportHelper.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAExD;;;;;GAKG;AACH,QAAA,MAAM,iBAAiB,QAAO,uBAsG7B,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useViewportSync.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import type { Viewport } from '@xyflow/system';
|
| 2 |
+
/**
|
| 3 |
+
* Hook for syncing the viewport with the panzoom instance.
|
| 4 |
+
*
|
| 5 |
+
* @internal
|
| 6 |
+
* @param viewport
|
| 7 |
+
*/
|
| 8 |
+
export declare function useViewportSync(viewport?: Viewport): null;
|
| 9 |
+
//# sourceMappingURL=useViewportSync.d.ts.map
|
frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useViewportSync.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"version":3,"file":"useViewportSync.d.ts","sourceRoot":"","sources":["../../src/hooks/useViewportSync.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAO/C;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,QAAQ,CAAC,EAAE,QAAQ,QAYlD"}
|
frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useVisibleEdgeIds.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/**
|
| 2 |
+
* Hook for getting the visible edge ids from the store.
|
| 3 |
+
*
|
| 4 |
+
* @internal
|
| 5 |
+
* @param onlyRenderVisible
|
| 6 |
+
* @returns array with visible edge ids
|
| 7 |
+
*/
|
| 8 |
+
export declare function useVisibleEdgeIds(onlyRenderVisible: boolean): string[];
|
| 9 |
+
//# sourceMappingURL=useVisibleEdgeIds.d.ts.map
|
frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useVisibleEdgeIds.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"version":3,"file":"useVisibleEdgeIds.d.ts","sourceRoot":"","sources":["../../src/hooks/useVisibleEdgeIds.ts"],"names":[],"mappings":"AAOA;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAC,iBAAiB,EAAE,OAAO,GAAG,MAAM,EAAE,CAuCtE"}
|
frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useVisibleNodeIds.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/**
|
| 2 |
+
* Hook for getting the visible node ids from the store.
|
| 3 |
+
*
|
| 4 |
+
* @internal
|
| 5 |
+
* @param onlyRenderVisible
|
| 6 |
+
* @returns array with visible node ids
|
| 7 |
+
*/
|
| 8 |
+
export declare function useVisibleNodeIds(onlyRenderVisible: boolean): string[];
|
| 9 |
+
//# sourceMappingURL=useVisibleNodeIds.d.ts.map
|
frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/hooks/useVisibleNodeIds.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"version":3,"file":"useVisibleNodeIds.d.ts","sourceRoot":"","sources":["../../src/hooks/useVisibleNodeIds.ts"],"names":[],"mappings":"AAeA;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAC,iBAAiB,EAAE,OAAO,YAI3D"}
|
frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/index.d.ts
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
export { default as ReactFlow } from './container/ReactFlow';
|
| 2 |
+
export { Handle, type HandleProps } from './components/Handle';
|
| 3 |
+
export { EdgeText } from './components/Edges/EdgeText';
|
| 4 |
+
export { StraightEdge } from './components/Edges/StraightEdge';
|
| 5 |
+
export { StepEdge } from './components/Edges/StepEdge';
|
| 6 |
+
export { BezierEdge } from './components/Edges/BezierEdge';
|
| 7 |
+
export { SimpleBezierEdge, getSimpleBezierPath } from './components/Edges/SimpleBezierEdge';
|
| 8 |
+
export { SmoothStepEdge } from './components/Edges/SmoothStepEdge';
|
| 9 |
+
export { BaseEdge } from './components/Edges/BaseEdge';
|
| 10 |
+
export { ReactFlowProvider } from './components/ReactFlowProvider';
|
| 11 |
+
export { Panel, type PanelProps } from './components/Panel';
|
| 12 |
+
export { EdgeLabelRenderer, type EdgeLabelRendererProps } from './components/EdgeLabelRenderer';
|
| 13 |
+
export { ViewportPortal } from './components/ViewportPortal';
|
| 14 |
+
export { useReactFlow } from './hooks/useReactFlow';
|
| 15 |
+
export { useUpdateNodeInternals } from './hooks/useUpdateNodeInternals';
|
| 16 |
+
export { useNodes } from './hooks/useNodes';
|
| 17 |
+
export { useEdges } from './hooks/useEdges';
|
| 18 |
+
export { useViewport } from './hooks/useViewport';
|
| 19 |
+
export { useKeyPress } from './hooks/useKeyPress';
|
| 20 |
+
export { useNodesState, useEdgesState } from './hooks/useNodesEdgesState';
|
| 21 |
+
export { useStore, useStoreApi } from './hooks/useStore';
|
| 22 |
+
export { useOnViewportChange, type UseOnViewportChangeOptions } from './hooks/useOnViewportChange';
|
| 23 |
+
export { useOnSelectionChange, type UseOnSelectionChangeOptions } from './hooks/useOnSelectionChange';
|
| 24 |
+
export { useNodesInitialized, type UseNodesInitializedOptions } from './hooks/useNodesInitialized';
|
| 25 |
+
export { useHandleConnections } from './hooks/useHandleConnections';
|
| 26 |
+
export { useNodeConnections } from './hooks/useNodeConnections';
|
| 27 |
+
export { useNodesData } from './hooks/useNodesData';
|
| 28 |
+
export { useConnection } from './hooks/useConnection';
|
| 29 |
+
export { useInternalNode } from './hooks/useInternalNode';
|
| 30 |
+
export { useNodeId } from './contexts/NodeIdContext';
|
| 31 |
+
export { experimental_useOnNodesChangeMiddleware } from './hooks/useOnNodesChangeMiddleware';
|
| 32 |
+
export { experimental_useOnEdgesChangeMiddleware } from './hooks/useOnEdgesChangeMiddleware';
|
| 33 |
+
export { applyNodeChanges, applyEdgeChanges } from './utils/changes';
|
| 34 |
+
export { isNode, isEdge } from './utils/general';
|
| 35 |
+
export * from './additional-components';
|
| 36 |
+
export * from './types';
|
| 37 |
+
export { type Align, type SmoothStepPathOptions, type BezierPathOptions, ConnectionLineType, type EdgeMarker, type EdgeMarkerType, MarkerType, type OnMove, type OnMoveStart, type OnMoveEnd, type Connection, ConnectionMode, type OnConnectStartParams, type OnConnectStart, type OnConnect, type OnConnectEnd, type Viewport, type SnapGrid, PanOnScrollMode, type ViewportHelperFunctionOptions, type SetCenterOptions, type FitBoundsOptions, type PanelPosition, type ProOptions, SelectionMode, type SelectionRect, type OnError, type NodeOrigin, type OnSelectionDrag, Position, type XYPosition, type XYZPosition, type Dimensions, type Rect, type Box, type Transform, type CoordinateExtent, type ColorMode, type ColorModeClass, type HandleType, type ShouldResize, type OnResizeStart, type OnResize, type OnResizeEnd, type ControlPosition, type ControlLinePosition, ResizeControlVariant, type ResizeParams, type ResizeParamsWithDirection, type ResizeDragEvent, type NodeChange, type NodeDimensionChange, type NodePositionChange, type NodeSelectionChange, type NodeRemoveChange, type NodeAddChange, type NodeReplaceChange, type EdgeChange, type EdgeSelectionChange, type EdgeRemoveChange, type EdgeAddChange, type EdgeReplaceChange, type KeyCode, type ConnectionState, type FinalConnectionState, type ConnectionInProgress, type NoConnection, type NodeConnection, type OnReconnect, type AriaLabelConfig, type SetCenter, type SetViewport, type FitBounds, type HandleConnection, type ZIndexMode, type NodeHandle, type UseNodeConnectionsParams, } from '@xyflow/system';
|
| 38 |
+
import { type Handle as HandleBound } from '@xyflow/system';
|
| 39 |
+
export type Handle = HandleBound;
|
| 40 |
+
export { type GetBezierPathParams, getBezierEdgeCenter, getBezierPath, getEdgeCenter, type GetSmoothStepPathParams, getSmoothStepPath, type GetStraightPathParams, getStraightPath, getViewportForBounds, getNodesBounds, getIncomers, getOutgoers, getConnectedEdges, } from '@xyflow/system';
|
| 41 |
+
export { addEdge, reconnectEdge } from './utils/edges';
|
| 42 |
+
//# sourceMappingURL=index.d.ts.map
|
frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MA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,KAAK,aAAa,EAClB,KAAK,QAAQ,EACb,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACxB,oBAAoB,EACpB,KAAK,YAAY,EACjB,KAAK,yBAAyB,EAC9B,KAAK,eAAe,EACpB,KAAK,UAAU,EACf,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,UAAU,EACf,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,OAAO,EACZ,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,YAAY,EACjB,KAAK,cAAc,EACnB,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,KAAK,SAAS,EACd,KAAK,WAAW,EAChB,KAAK,SAAS,EACd,KAAK,gBAAgB,EACrB,KAAK,UAAU,EACf,KAAK,UAAU,EACf,KAAK,wBAAwB,GAC9B,MAAM,gBAAgB,CAAC;AAGxB,OAAO,EAAE,KAAK,MAAM,IAAI,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC5D,MAAM,MAAM,MAAM,GAAG,WAAW,CAAC;AAGjC,OAAO,EACL,KAAK,mBAAmB,EACxB,mBAAmB,EACnB,aAAa,EACb,aAAa,EACb,KAAK,uBAAuB,EAC5B,iBAAiB,EACjB,KAAK,qBAAqB,EAC1B,eAAe,EACf,oBAAoB,EACpB,cAAc,EACd,WAAW,EACX,WAAW,EACX,iBAAiB,GAClB,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC"}
|
frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/index.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/store/index.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { NodeOrigin, CoordinateExtent, ZIndexMode } from '@xyflow/system';
|
| 2 |
+
import type { ReactFlowState, Node, Edge, FitViewOptions } from '../types';
|
| 3 |
+
declare const createStore: ({ nodes, edges, defaultNodes, defaultEdges, width, height, fitView, fitViewOptions, minZoom, maxZoom, nodeOrigin, nodeExtent, zIndexMode, }: {
|
| 4 |
+
nodes?: Node[];
|
| 5 |
+
edges?: Edge[];
|
| 6 |
+
defaultNodes?: Node[];
|
| 7 |
+
defaultEdges?: Edge[];
|
| 8 |
+
width?: number;
|
| 9 |
+
height?: number;
|
| 10 |
+
fitView?: boolean;
|
| 11 |
+
fitViewOptions?: FitViewOptions;
|
| 12 |
+
minZoom?: number;
|
| 13 |
+
maxZoom?: number;
|
| 14 |
+
nodeOrigin?: NodeOrigin;
|
| 15 |
+
nodeExtent?: CoordinateExtent;
|
| 16 |
+
zIndexMode?: ZIndexMode;
|
| 17 |
+
}) => import("zustand/traditional").UseBoundStoreWithEqualityFn<import("zustand").StoreApi<ReactFlowState>>;
|
| 18 |
+
export { createStore };
|
| 19 |
+
//# sourceMappingURL=index.d.ts.map
|
frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/store/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/store/index.ts"],"names":[],"mappings":"AACA,OAAO,EAYL,UAAU,EACV,gBAAgB,EAIhB,UAAU,EACX,MAAM,gBAAgB,CAAC;AAIxB,OAAO,KAAK,EAAE,cAAc,EAAE,IAAI,EAAE,IAAI,EAA+B,cAAc,EAAE,MAAM,UAAU,CAAC;AAExG,QAAA,MAAM,WAAW,GAAI,6IAclB;IACD,KAAK,CAAC,EAAE,IAAI,EAAE,CAAC;IACf,KAAK,CAAC,EAAE,IAAI,EAAE,CAAC;IACf,YAAY,CAAC,EAAE,IAAI,EAAE,CAAC;IACtB,YAAY,CAAC,EAAE,IAAI,EAAE,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B,UAAU,CAAC,EAAE,UAAU,CAAC;CACzB,0GA8Yc,CAAC;AAEhB,OAAO,EAAE,WAAW,EAAE,CAAC"}
|
frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/store/initialState.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { NodeOrigin, CoordinateExtent, ZIndexMode } from '@xyflow/system';
|
| 2 |
+
import type { Edge, FitViewOptions, Node, ReactFlowStore } from '../types';
|
| 3 |
+
declare const getInitialState: ({ nodes, edges, defaultNodes, defaultEdges, width, height, fitView, fitViewOptions, minZoom, maxZoom, nodeOrigin, nodeExtent, zIndexMode, }?: {
|
| 4 |
+
nodes?: Node[];
|
| 5 |
+
edges?: Edge[];
|
| 6 |
+
defaultNodes?: Node[];
|
| 7 |
+
defaultEdges?: Edge[];
|
| 8 |
+
width?: number;
|
| 9 |
+
height?: number;
|
| 10 |
+
fitView?: boolean;
|
| 11 |
+
fitViewOptions?: FitViewOptions;
|
| 12 |
+
minZoom?: number;
|
| 13 |
+
maxZoom?: number;
|
| 14 |
+
nodeOrigin?: NodeOrigin;
|
| 15 |
+
nodeExtent?: CoordinateExtent;
|
| 16 |
+
zIndexMode?: ZIndexMode;
|
| 17 |
+
}) => ReactFlowStore;
|
| 18 |
+
export default getInitialState;
|
| 19 |
+
//# sourceMappingURL=initialState.d.ts.map
|
frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/store/initialState.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"version":3,"file":"initialState.d.ts","sourceRoot":"","sources":["../../src/store/initialState.ts"],"names":[],"mappings":"AAAA,OAAO,EASL,UAAU,EAEV,gBAAgB,EAEhB,UAAU,EACX,MAAM,gBAAgB,CAAC;AAIxB,OAAO,KAAK,EAAE,IAAI,EAAE,cAAc,EAAgB,IAAI,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAEzF,QAAA,MAAM,eAAe,GAAI,8IActB;IACD,KAAK,CAAC,EAAE,IAAI,EAAE,CAAC;IACf,KAAK,CAAC,EAAE,IAAI,EAAE,CAAC;IACf,YAAY,CAAC,EAAE,IAAI,EAAE,CAAC;IACtB,YAAY,CAAC,EAAE,IAAI,EAAE,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B,UAAU,CAAC,EAAE,UAAU,CAAC;CACpB,KAAG,cA8GR,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/styles/utils.d.ts
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import type { CSSProperties } from 'react';
|
| 2 |
+
export declare const containerStyle: CSSProperties;
|
| 3 |
+
//# sourceMappingURL=utils.d.ts.map
|
frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/styles/utils.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/styles/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,eAAO,MAAM,cAAc,EAAE,aAM5B,CAAC"}
|
frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/types/component-props.d.ts
ADDED
|
@@ -0,0 +1,655 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import type { CSSProperties, HTMLAttributes, MouseEvent as ReactMouseEvent, WheelEvent } from 'react';
|
| 2 |
+
import type { ConnectionMode, ConnectionLineType, OnConnect, OnConnectStart, OnConnectEnd, CoordinateExtent, KeyCode, PanOnScrollMode, ProOptions, PanelPosition, OnMove, OnMoveStart, OnMoveEnd, Viewport, NodeOrigin, HandleType, SelectionMode, OnError, ColorMode, SnapGrid, OnReconnect, AriaLabelConfig, FinalConnectionState, ZIndexMode } from '@xyflow/system';
|
| 3 |
+
import type { OnSelectionChangeFunc, NodeTypes, EdgeTypes, Node, Edge, ConnectionLineComponent, OnInit, DefaultEdgeOptions, FitViewOptions, OnNodesDelete, OnEdgesDelete, OnDelete, OnNodesChange, OnEdgesChange, NodeMouseHandler, SelectionDragHandler, EdgeMouseHandler, OnNodeDrag, OnBeforeDelete, IsValidConnection } from '.';
|
| 4 |
+
/**
|
| 5 |
+
* ReactFlow component props.
|
| 6 |
+
* @public
|
| 7 |
+
*/
|
| 8 |
+
export interface ReactFlowProps<NodeType extends Node = Node, EdgeType extends Edge = Edge> extends Omit<HTMLAttributes<HTMLDivElement>, 'onError'> {
|
| 9 |
+
/**
|
| 10 |
+
* An array of nodes to render in a controlled flow.
|
| 11 |
+
* @default []
|
| 12 |
+
* @example
|
| 13 |
+
* const nodes = [
|
| 14 |
+
* {
|
| 15 |
+
* id: 'node-1',
|
| 16 |
+
* type: 'input',
|
| 17 |
+
* data: { label: 'Node 1' },
|
| 18 |
+
* position: { x: 250, y: 50 }
|
| 19 |
+
* }
|
| 20 |
+
* ];
|
| 21 |
+
*/
|
| 22 |
+
nodes?: NodeType[];
|
| 23 |
+
/**
|
| 24 |
+
* An array of edges to render in a controlled flow.
|
| 25 |
+
* @default []
|
| 26 |
+
* @example
|
| 27 |
+
* const edges = [
|
| 28 |
+
* {
|
| 29 |
+
* id: 'edge-1-2',
|
| 30 |
+
* source: 'node-1',
|
| 31 |
+
* target: 'node-2',
|
| 32 |
+
* }
|
| 33 |
+
* ];
|
| 34 |
+
*/
|
| 35 |
+
edges?: EdgeType[];
|
| 36 |
+
/** The initial nodes to render in an uncontrolled flow. */
|
| 37 |
+
defaultNodes?: NodeType[];
|
| 38 |
+
/** The initial edges to render in an uncontrolled flow. */
|
| 39 |
+
defaultEdges?: EdgeType[];
|
| 40 |
+
/**
|
| 41 |
+
* Defaults to be applied to all new edges that are added to the flow.
|
| 42 |
+
* Properties on a new edge will override these defaults if they exist.
|
| 43 |
+
* @example
|
| 44 |
+
* const defaultEdgeOptions = {
|
| 45 |
+
* type: 'customEdgeType',
|
| 46 |
+
* animated: true
|
| 47 |
+
* }
|
| 48 |
+
*/
|
| 49 |
+
defaultEdgeOptions?: DefaultEdgeOptions;
|
| 50 |
+
/** This event handler is called when a user clicks on a node. */
|
| 51 |
+
onNodeClick?: NodeMouseHandler<NodeType>;
|
| 52 |
+
/** This event handler is called when a user double-clicks on a node. */
|
| 53 |
+
onNodeDoubleClick?: NodeMouseHandler<NodeType>;
|
| 54 |
+
/** This event handler is called when mouse of a user enters a node. */
|
| 55 |
+
onNodeMouseEnter?: NodeMouseHandler<NodeType>;
|
| 56 |
+
/** This event handler is called when mouse of a user moves over a node. */
|
| 57 |
+
onNodeMouseMove?: NodeMouseHandler<NodeType>;
|
| 58 |
+
/** This event handler is called when mouse of a user leaves a node. */
|
| 59 |
+
onNodeMouseLeave?: NodeMouseHandler<NodeType>;
|
| 60 |
+
/** This event handler is called when a user right-clicks on a node. */
|
| 61 |
+
onNodeContextMenu?: NodeMouseHandler<NodeType>;
|
| 62 |
+
/** This event handler is called when a user starts to drag a node. */
|
| 63 |
+
onNodeDragStart?: OnNodeDrag<NodeType>;
|
| 64 |
+
/** This event handler is called when a user drags a node. */
|
| 65 |
+
onNodeDrag?: OnNodeDrag<NodeType>;
|
| 66 |
+
/** This event handler is called when a user stops dragging a node. */
|
| 67 |
+
onNodeDragStop?: OnNodeDrag<NodeType>;
|
| 68 |
+
/** This event handler is called when a user clicks on an edge. */
|
| 69 |
+
onEdgeClick?: (event: ReactMouseEvent, edge: EdgeType) => void;
|
| 70 |
+
/** This event handler is called when a user right-clicks on an edge. */
|
| 71 |
+
onEdgeContextMenu?: EdgeMouseHandler<EdgeType>;
|
| 72 |
+
/** This event handler is called when mouse of a user enters an edge. */
|
| 73 |
+
onEdgeMouseEnter?: EdgeMouseHandler<EdgeType>;
|
| 74 |
+
/** This event handler is called when mouse of a user moves over an edge. */
|
| 75 |
+
onEdgeMouseMove?: EdgeMouseHandler<EdgeType>;
|
| 76 |
+
/** This event handler is called when mouse of a user leaves an edge. */
|
| 77 |
+
onEdgeMouseLeave?: EdgeMouseHandler<EdgeType>;
|
| 78 |
+
/** This event handler is called when a user double-clicks on an edge. */
|
| 79 |
+
onEdgeDoubleClick?: EdgeMouseHandler<EdgeType>;
|
| 80 |
+
/**
|
| 81 |
+
* This handler is called when the source or target of a reconnectable edge is dragged from the
|
| 82 |
+
* current node. It will fire even if the edge's source or target do not end up changing.
|
| 83 |
+
* You can use the `reconnectEdge` utility to convert the connection to a new edge.
|
| 84 |
+
*/
|
| 85 |
+
onReconnect?: OnReconnect<EdgeType>;
|
| 86 |
+
/**
|
| 87 |
+
* This event fires when the user begins dragging the source or target of an editable edge.
|
| 88 |
+
*/
|
| 89 |
+
onReconnectStart?: (event: ReactMouseEvent, edge: EdgeType, handleType: HandleType) => void;
|
| 90 |
+
/**
|
| 91 |
+
* This event fires when the user releases the source or target of an editable edge. It is called
|
| 92 |
+
* even if an edge update does not occur.
|
| 93 |
+
*/
|
| 94 |
+
onReconnectEnd?: (event: MouseEvent | TouchEvent, edge: EdgeType, handleType: HandleType, connectionState: FinalConnectionState) => void;
|
| 95 |
+
/**
|
| 96 |
+
* Use this event handler to add interactivity to a controlled flow.
|
| 97 |
+
* It is called on node drag, select, and move.
|
| 98 |
+
* @example // Use NodesState hook to create edges and get onNodesChange handler
|
| 99 |
+
* import ReactFlow, { useNodesState } from '@xyflow/react';
|
| 100 |
+
* const [nodes, setNodes, onNodesChange] = useNodesState(initialNodes);
|
| 101 |
+
*
|
| 102 |
+
* return (<ReactFlow onNodeChange={onNodeChange} {...rest} />)
|
| 103 |
+
* @example // Use helper function to update node
|
| 104 |
+
* import ReactFlow, { applyNodeChanges } from '@xyflow/react';
|
| 105 |
+
*
|
| 106 |
+
* const onNodeChange = useCallback(
|
| 107 |
+
* (changes) => setNode((nds) => applyNodeChanges(changes, nds)),
|
| 108 |
+
* [],
|
| 109 |
+
* );
|
| 110 |
+
*
|
| 111 |
+
* return (<ReactFlow onNodeChange={onNodeChange} {...rest} />)
|
| 112 |
+
*/
|
| 113 |
+
onNodesChange?: OnNodesChange<NodeType>;
|
| 114 |
+
/**
|
| 115 |
+
* Use this event handler to add interactivity to a controlled flow. It is called on edge select
|
| 116 |
+
* and remove.
|
| 117 |
+
* @example // Use EdgesState hook to create edges and get onEdgesChange handler
|
| 118 |
+
* import ReactFlow, { useEdgesState } from '@xyflow/react';
|
| 119 |
+
* const [edges, setEdges, onEdgesChange] = useEdgesState(initialEdges);
|
| 120 |
+
*
|
| 121 |
+
* return (<ReactFlow onEdgesChange={onEdgesChange} {...rest} />)
|
| 122 |
+
* @example // Use helper function to update edge
|
| 123 |
+
* import ReactFlow, { applyEdgeChanges } from '@xyflow/react';
|
| 124 |
+
*
|
| 125 |
+
* const onEdgesChange = useCallback(
|
| 126 |
+
* (changes) => setEdges((eds) => applyEdgeChanges(changes, eds)),
|
| 127 |
+
* [],
|
| 128 |
+
* );
|
| 129 |
+
*
|
| 130 |
+
* return (<ReactFlow onEdgesChange={onEdgesChange} {...rest} />)
|
| 131 |
+
*/
|
| 132 |
+
onEdgesChange?: OnEdgesChange<EdgeType>;
|
| 133 |
+
/** This event handler gets called when a node is deleted. */
|
| 134 |
+
onNodesDelete?: OnNodesDelete<NodeType>;
|
| 135 |
+
/** This event handler gets called when an edge is deleted. */
|
| 136 |
+
onEdgesDelete?: OnEdgesDelete<EdgeType>;
|
| 137 |
+
/** This event handler gets called when a node or edge is deleted. */
|
| 138 |
+
onDelete?: OnDelete<NodeType, EdgeType>;
|
| 139 |
+
/** This event handler gets called when a user starts to drag a selection box. */
|
| 140 |
+
onSelectionDragStart?: SelectionDragHandler<NodeType>;
|
| 141 |
+
/** This event handler gets called when a user drags a selection box. */
|
| 142 |
+
onSelectionDrag?: SelectionDragHandler<NodeType>;
|
| 143 |
+
/** This event handler gets called when a user stops dragging a selection box. */
|
| 144 |
+
onSelectionDragStop?: SelectionDragHandler<NodeType>;
|
| 145 |
+
onSelectionStart?: (event: ReactMouseEvent) => void;
|
| 146 |
+
onSelectionEnd?: (event: ReactMouseEvent) => void;
|
| 147 |
+
/**
|
| 148 |
+
* This event handler is called when a user right-clicks on a node selection.
|
| 149 |
+
*/
|
| 150 |
+
onSelectionContextMenu?: (event: ReactMouseEvent, nodes: NodeType[]) => void;
|
| 151 |
+
/**
|
| 152 |
+
* When a connection line is completed and two nodes are connected by the user, this event fires with the new connection.
|
| 153 |
+
* You can use the `addEdge` utility to convert the connection to a complete edge.
|
| 154 |
+
* @example // Use helper function to update edges onConnect
|
| 155 |
+
* import ReactFlow, { addEdge } from '@xyflow/react';
|
| 156 |
+
*
|
| 157 |
+
* const onConnect = useCallback(
|
| 158 |
+
* (params) => setEdges((eds) => addEdge(params, eds)),
|
| 159 |
+
* [],
|
| 160 |
+
* );
|
| 161 |
+
*
|
| 162 |
+
* return (<ReactFlow onConnect={onConnect} {...rest} />)
|
| 163 |
+
*/
|
| 164 |
+
onConnect?: OnConnect;
|
| 165 |
+
/** This event handler gets called when a user starts to drag a connection line. */
|
| 166 |
+
onConnectStart?: OnConnectStart;
|
| 167 |
+
/**
|
| 168 |
+
* This callback will fire regardless of whether a valid connection could be made or not. You can
|
| 169 |
+
* use the second `connectionState` parameter to have different behavior when a connection was
|
| 170 |
+
* unsuccessful.
|
| 171 |
+
*/
|
| 172 |
+
onConnectEnd?: OnConnectEnd;
|
| 173 |
+
onClickConnectStart?: OnConnectStart;
|
| 174 |
+
onClickConnectEnd?: OnConnectEnd;
|
| 175 |
+
/**
|
| 176 |
+
* The `onInit` callback is called when the viewport is initialized. At this point you can use the
|
| 177 |
+
* instance to call methods like `fitView` or `zoomTo`.
|
| 178 |
+
*/
|
| 179 |
+
onInit?: OnInit<NodeType, EdgeType>;
|
| 180 |
+
/** This event handler is called while the user is either panning or zooming the viewport. */
|
| 181 |
+
onMove?: OnMove;
|
| 182 |
+
/** This event handler is called when the user begins to pan or zoom the viewport. */
|
| 183 |
+
onMoveStart?: OnMoveStart;
|
| 184 |
+
/**
|
| 185 |
+
* This event handler is called when panning or zooming viewport movement stops.
|
| 186 |
+
* If the movement is not user-initiated, the event parameter will be `null`.
|
| 187 |
+
*/
|
| 188 |
+
onMoveEnd?: OnMoveEnd;
|
| 189 |
+
/** This event handler gets called when a user changes group of selected elements in the flow. */
|
| 190 |
+
onSelectionChange?: OnSelectionChangeFunc<NodeType, EdgeType>;
|
| 191 |
+
/** This event handler gets called when user scroll inside the pane. */
|
| 192 |
+
onPaneScroll?: (event?: WheelEvent) => void;
|
| 193 |
+
/** This event handler gets called when user clicks inside the pane. */
|
| 194 |
+
onPaneClick?: (event: ReactMouseEvent) => void;
|
| 195 |
+
/** This event handler gets called when user right clicks inside the pane. */
|
| 196 |
+
onPaneContextMenu?: (event: ReactMouseEvent | MouseEvent) => void;
|
| 197 |
+
/** This event handler gets called when mouse enters the pane. */
|
| 198 |
+
onPaneMouseEnter?: (event: ReactMouseEvent) => void;
|
| 199 |
+
/** This event handler gets called when mouse moves over the pane. */
|
| 200 |
+
onPaneMouseMove?: (event: ReactMouseEvent) => void;
|
| 201 |
+
/** This event handler gets called when mouse leaves the pane. */
|
| 202 |
+
onPaneMouseLeave?: (event: ReactMouseEvent) => void;
|
| 203 |
+
/**
|
| 204 |
+
* Distance that the mouse can move between mousedown/up that will trigger a click.
|
| 205 |
+
* @default 0
|
| 206 |
+
*/
|
| 207 |
+
paneClickDistance?: number;
|
| 208 |
+
/**
|
| 209 |
+
* Distance that the mouse can move between mousedown/up that will trigger a click.
|
| 210 |
+
* @default 0
|
| 211 |
+
*/
|
| 212 |
+
nodeClickDistance?: number;
|
| 213 |
+
/**
|
| 214 |
+
* This handler is called before nodes or edges are deleted, allowing the deletion to be aborted
|
| 215 |
+
* by returning `false` or modified by returning updated nodes and edges.
|
| 216 |
+
*/
|
| 217 |
+
onBeforeDelete?: OnBeforeDelete<NodeType, EdgeType>;
|
| 218 |
+
/**
|
| 219 |
+
* Custom node types to be available in a flow.
|
| 220 |
+
* React Flow matches a node's type to a component in the `nodeTypes` object.
|
| 221 |
+
* @default {
|
| 222 |
+
* input: InputNode,
|
| 223 |
+
* default: DefaultNode,
|
| 224 |
+
* output: OutputNode,
|
| 225 |
+
* group: GroupNode
|
| 226 |
+
* }
|
| 227 |
+
* @example
|
| 228 |
+
* import CustomNode from './CustomNode';
|
| 229 |
+
*
|
| 230 |
+
* const nodeTypes = { nameOfNodeType: CustomNode };
|
| 231 |
+
*/
|
| 232 |
+
nodeTypes?: NodeTypes;
|
| 233 |
+
/**
|
| 234 |
+
* Custom edge types to be available in a flow.
|
| 235 |
+
* React Flow matches an edge's type to a component in the `edgeTypes` object.
|
| 236 |
+
* @default {
|
| 237 |
+
* default: BezierEdge,
|
| 238 |
+
* straight: StraightEdge,
|
| 239 |
+
* step: StepEdge,
|
| 240 |
+
* smoothstep: SmoothStepEdge,
|
| 241 |
+
* simplebezier: SimpleBezier
|
| 242 |
+
* }
|
| 243 |
+
* @example
|
| 244 |
+
* import CustomEdge from './CustomEdge';
|
| 245 |
+
*
|
| 246 |
+
* const edgeTypes = { nameOfEdgeType: CustomEdge };
|
| 247 |
+
*/
|
| 248 |
+
edgeTypes?: EdgeTypes;
|
| 249 |
+
/**
|
| 250 |
+
* The type of edge path to use for connection lines.
|
| 251 |
+
* Although created edges can be of any type, React Flow needs to know what type of path to render for the connection line before the edge is created!
|
| 252 |
+
* @default ConnectionLineType.Bezier
|
| 253 |
+
*/
|
| 254 |
+
connectionLineType?: ConnectionLineType;
|
| 255 |
+
/** Styles to be applied to the connection line. */
|
| 256 |
+
connectionLineStyle?: CSSProperties;
|
| 257 |
+
/** React Component to be used as a connection line. */
|
| 258 |
+
connectionLineComponent?: ConnectionLineComponent<NodeType>;
|
| 259 |
+
/** Styles to be applied to the container of the connection line. */
|
| 260 |
+
connectionLineContainerStyle?: CSSProperties;
|
| 261 |
+
/**
|
| 262 |
+
* A loose connection mode will allow you to connect handles with differing types, including
|
| 263 |
+
* source-to-source connections. However, it does not support target-to-target connections. Strict
|
| 264 |
+
* mode allows only connections between source handles and target handles.
|
| 265 |
+
* @default 'strict'
|
| 266 |
+
*/
|
| 267 |
+
connectionMode?: ConnectionMode;
|
| 268 |
+
/**
|
| 269 |
+
* If set, pressing the key or chord will delete any selected nodes and edges. Passing an array
|
| 270 |
+
* represents multiple keys that can be pressed.
|
| 271 |
+
|
| 272 |
+
* For example, `["Delete", "Backspace"]` will delete selected elements when either key is pressed.
|
| 273 |
+
* @default 'Backspace'
|
| 274 |
+
*/
|
| 275 |
+
deleteKeyCode?: KeyCode | null;
|
| 276 |
+
/**
|
| 277 |
+
* If set, holding this key will let you click and drag to draw a selection box around multiple
|
| 278 |
+
* nodes and edges. Passing an array represents multiple keys that can be pressed.
|
| 279 |
+
*
|
| 280 |
+
* For example, `["Shift", "Meta"]` will allow you to draw a selection box when either key is
|
| 281 |
+
* pressed.
|
| 282 |
+
* @default 'Shift'
|
| 283 |
+
*/
|
| 284 |
+
selectionKeyCode?: KeyCode | null;
|
| 285 |
+
/**
|
| 286 |
+
* Select multiple elements with a selection box, without pressing down `selectionKey`.
|
| 287 |
+
* @default false
|
| 288 |
+
*/
|
| 289 |
+
selectionOnDrag?: boolean;
|
| 290 |
+
/**
|
| 291 |
+
* When set to `"partial"`, when the user creates a selection box by click and dragging nodes that
|
| 292 |
+
* are only partially in the box are still selected.
|
| 293 |
+
* @default 'full'
|
| 294 |
+
*/
|
| 295 |
+
selectionMode?: SelectionMode;
|
| 296 |
+
/**
|
| 297 |
+
* If a key is set, you can pan the viewport while that key is held down even if `panOnScroll`
|
| 298 |
+
* is set to `false`.
|
| 299 |
+
*
|
| 300 |
+
* By setting this prop to `null` you can disable this functionality.
|
| 301 |
+
* @default 'Space'
|
| 302 |
+
*/
|
| 303 |
+
panActivationKeyCode?: KeyCode | null;
|
| 304 |
+
/**
|
| 305 |
+
* Pressing down this key you can select multiple elements by clicking.
|
| 306 |
+
* @default "Meta" for macOS, "Control" for other systems
|
| 307 |
+
*/
|
| 308 |
+
multiSelectionKeyCode?: KeyCode | null;
|
| 309 |
+
/**
|
| 310 |
+
* If a key is set, you can zoom the viewport while that key is held down even if `panOnScroll`
|
| 311 |
+
* is set to `false`.
|
| 312 |
+
*
|
| 313 |
+
* By setting this prop to `null` you can disable this functionality.
|
| 314 |
+
* @default "Meta" for macOS, "Control" for other systems
|
| 315 |
+
*
|
| 316 |
+
*/
|
| 317 |
+
zoomActivationKeyCode?: KeyCode | null;
|
| 318 |
+
/** When enabled, nodes will snap to the grid when dragged. */
|
| 319 |
+
snapToGrid?: boolean;
|
| 320 |
+
/**
|
| 321 |
+
* If `snapToGrid` is enabled, this prop configures the grid that nodes will snap to.
|
| 322 |
+
* @example [20, 20]
|
| 323 |
+
*/
|
| 324 |
+
snapGrid?: SnapGrid;
|
| 325 |
+
/**
|
| 326 |
+
* You can enable this optimisation to instruct React Flow to only render nodes and edges that would be visible in the viewport.
|
| 327 |
+
*
|
| 328 |
+
* This might improve performance when you have a large number of nodes and edges but also adds an overhead.
|
| 329 |
+
* @default false
|
| 330 |
+
*/
|
| 331 |
+
onlyRenderVisibleElements?: boolean;
|
| 332 |
+
/**
|
| 333 |
+
* Controls whether all nodes should be draggable or not. Individual nodes can override this
|
| 334 |
+
* setting by setting their `draggable` prop. If you want to use the mouse handlers on
|
| 335 |
+
* non-draggable nodes, you need to add the `"nopan"` class to those nodes.
|
| 336 |
+
* @default true
|
| 337 |
+
*/
|
| 338 |
+
nodesDraggable?: boolean;
|
| 339 |
+
/**
|
| 340 |
+
* When `true`, the viewport will pan when a node is focused.
|
| 341 |
+
* @default true
|
| 342 |
+
*/
|
| 343 |
+
autoPanOnNodeFocus?: boolean;
|
| 344 |
+
/**
|
| 345 |
+
* Controls whether all nodes should be connectable or not. Individual nodes can override this
|
| 346 |
+
* setting by setting their `connectable` prop.
|
| 347 |
+
* @default true
|
| 348 |
+
*/
|
| 349 |
+
nodesConnectable?: boolean;
|
| 350 |
+
/**
|
| 351 |
+
* When `true`, focus between nodes can be cycled with the `Tab` key and selected with the `Enter`
|
| 352 |
+
* key. This option can be overridden by individual nodes by setting their `focusable` prop.
|
| 353 |
+
* @default true
|
| 354 |
+
*/
|
| 355 |
+
nodesFocusable?: boolean;
|
| 356 |
+
/**
|
| 357 |
+
* The origin of the node to use when placing it in the flow or looking up its `x` and `y`
|
| 358 |
+
* position. An origin of `[0, 0]` means that a node's top left corner will be placed at the `x`
|
| 359 |
+
* and `y` position.
|
| 360 |
+
* @default [0, 0]
|
| 361 |
+
* @example
|
| 362 |
+
* [0, 0] // default, top left
|
| 363 |
+
* [0.5, 0.5] // center
|
| 364 |
+
* [1, 1] // bottom right
|
| 365 |
+
*/
|
| 366 |
+
nodeOrigin?: NodeOrigin;
|
| 367 |
+
/**
|
| 368 |
+
* When `true`, focus between edges can be cycled with the `Tab` key and selected with the `Enter`
|
| 369 |
+
* key. This option can be overridden by individual edges by setting their `focusable` prop.
|
| 370 |
+
* @default true
|
| 371 |
+
*/
|
| 372 |
+
edgesFocusable?: boolean;
|
| 373 |
+
/**
|
| 374 |
+
* Whether edges can be updated once they are created. When both this prop is `true` and an
|
| 375 |
+
* `onReconnect` handler is provided, the user can drag an existing edge to a new source or
|
| 376 |
+
* target. Individual edges can override this value with their reconnectable property.
|
| 377 |
+
* @default true
|
| 378 |
+
*/
|
| 379 |
+
edgesReconnectable?: boolean;
|
| 380 |
+
/**
|
| 381 |
+
* When `true`, elements (nodes and edges) can be selected by clicking on them. This option can be
|
| 382 |
+
* overridden by individual elements by setting their `selectable` prop.
|
| 383 |
+
* @default true
|
| 384 |
+
*/
|
| 385 |
+
elementsSelectable?: boolean;
|
| 386 |
+
/**
|
| 387 |
+
* If `true`, nodes get selected on drag.
|
| 388 |
+
* @default true
|
| 389 |
+
*/
|
| 390 |
+
selectNodesOnDrag?: boolean;
|
| 391 |
+
/**
|
| 392 |
+
* Enabling this prop allows users to pan the viewport by clicking and dragging.
|
| 393 |
+
* You can also set this prop to an array of numbers to limit which mouse buttons can activate panning.
|
| 394 |
+
* @default true
|
| 395 |
+
* @example [0, 2] // allows panning with the left and right mouse buttons
|
| 396 |
+
* [0, 1, 2, 3, 4] // allows panning with all mouse buttons
|
| 397 |
+
*/
|
| 398 |
+
panOnDrag?: boolean | number[];
|
| 399 |
+
/**
|
| 400 |
+
* Minimum zoom level.
|
| 401 |
+
* @default 0.5
|
| 402 |
+
*/
|
| 403 |
+
minZoom?: number;
|
| 404 |
+
/**
|
| 405 |
+
* Maximum zoom level.
|
| 406 |
+
* @default 2
|
| 407 |
+
*/
|
| 408 |
+
maxZoom?: number;
|
| 409 |
+
/**
|
| 410 |
+
* When you pass a `viewport` prop, it's controlled, and you also need to pass `onViewportChange`
|
| 411 |
+
* to handle internal changes.
|
| 412 |
+
*/
|
| 413 |
+
viewport?: Viewport;
|
| 414 |
+
/**
|
| 415 |
+
* Sets the initial position and zoom of the viewport. If a default viewport is provided but
|
| 416 |
+
* `fitView` is enabled, the default viewport will be ignored.
|
| 417 |
+
* @default { x: 0, y: 0, zoom: 1 }
|
| 418 |
+
* @example
|
| 419 |
+
* const initialViewport = {
|
| 420 |
+
* zoom: 0.5,
|
| 421 |
+
* position: { x: 0, y: 0 }
|
| 422 |
+
* };
|
| 423 |
+
*/
|
| 424 |
+
defaultViewport?: Viewport;
|
| 425 |
+
/**
|
| 426 |
+
* Used when working with a controlled viewport for updating the user viewport state.
|
| 427 |
+
*/
|
| 428 |
+
onViewportChange?: (viewport: Viewport) => void;
|
| 429 |
+
/**
|
| 430 |
+
* By default, the viewport extends infinitely. You can use this prop to set a boundary.
|
| 431 |
+
* The first pair of coordinates is the top left boundary and the second pair is the bottom right.
|
| 432 |
+
* @default [[-∞, -∞], [+∞, +∞]]
|
| 433 |
+
* @example [[-1000, -10000], [1000, 1000]]
|
| 434 |
+
*/
|
| 435 |
+
translateExtent?: CoordinateExtent;
|
| 436 |
+
/**
|
| 437 |
+
* Disabling this prop will allow the user to scroll the page even when their pointer is over the flow.
|
| 438 |
+
* @default true
|
| 439 |
+
*/
|
| 440 |
+
preventScrolling?: boolean;
|
| 441 |
+
/**
|
| 442 |
+
* By default, nodes can be placed on an infinite flow. You can use this prop to set a boundary.
|
| 443 |
+
* The first pair of coordinates is the top left boundary and the second pair is the bottom right.
|
| 444 |
+
* @example [[-1000, -10000], [1000, 1000]]
|
| 445 |
+
*/
|
| 446 |
+
nodeExtent?: CoordinateExtent;
|
| 447 |
+
/**
|
| 448 |
+
* Color of edge markers.
|
| 449 |
+
* You can pass `null` to use the CSS variable `--xy-edge-stroke` for the marker color.
|
| 450 |
+
* @default '#b1b1b7'
|
| 451 |
+
*/
|
| 452 |
+
defaultMarkerColor?: string | null;
|
| 453 |
+
/**
|
| 454 |
+
* Controls if the viewport should zoom by scrolling inside the container.
|
| 455 |
+
* @default true
|
| 456 |
+
*/
|
| 457 |
+
zoomOnScroll?: boolean;
|
| 458 |
+
/**
|
| 459 |
+
* Controls if the viewport should zoom by pinching on a touch screen.
|
| 460 |
+
* @default true
|
| 461 |
+
*/
|
| 462 |
+
zoomOnPinch?: boolean;
|
| 463 |
+
/**
|
| 464 |
+
* Controls if the viewport should pan by scrolling inside the container.
|
| 465 |
+
* Can be limited to a specific direction with `panOnScrollMode`.
|
| 466 |
+
* @default false
|
| 467 |
+
*/
|
| 468 |
+
panOnScroll?: boolean;
|
| 469 |
+
/**
|
| 470 |
+
* Controls how fast viewport should be panned on scroll.
|
| 471 |
+
* Use together with `panOnScroll` prop.
|
| 472 |
+
* @default 0.5
|
| 473 |
+
*/
|
| 474 |
+
panOnScrollSpeed?: number;
|
| 475 |
+
/**
|
| 476 |
+
* This prop is used to limit the direction of panning when `panOnScroll` is enabled.
|
| 477 |
+
* The `"free"` option allows panning in any direction.
|
| 478 |
+
* @default "free"
|
| 479 |
+
* @example "horizontal" | "vertical"
|
| 480 |
+
*/
|
| 481 |
+
panOnScrollMode?: PanOnScrollMode;
|
| 482 |
+
/**
|
| 483 |
+
* Controls if the viewport should zoom by double-clicking somewhere on the flow.
|
| 484 |
+
* @default true
|
| 485 |
+
*/
|
| 486 |
+
zoomOnDoubleClick?: boolean;
|
| 487 |
+
/**
|
| 488 |
+
* The radius around an edge connection that can trigger an edge reconnection.
|
| 489 |
+
* @default 10
|
| 490 |
+
*/
|
| 491 |
+
reconnectRadius?: number;
|
| 492 |
+
/**
|
| 493 |
+
* If a node is draggable, clicking and dragging that node will move it around the canvas. Adding
|
| 494 |
+
* the `"nodrag"` class prevents this behavior and this prop allows you to change the name of that
|
| 495 |
+
* class.
|
| 496 |
+
* @default "nodrag"
|
| 497 |
+
*/
|
| 498 |
+
noDragClassName?: string;
|
| 499 |
+
/**
|
| 500 |
+
* Typically, scrolling the mouse wheel when the mouse is over the canvas will zoom the viewport.
|
| 501 |
+
* Adding the `"nowheel"` class to an element in the canvas will prevent this behavior and this prop
|
| 502 |
+
* allows you to change the name of that class.
|
| 503 |
+
* @default "nowheel"
|
| 504 |
+
*/
|
| 505 |
+
noWheelClassName?: string;
|
| 506 |
+
/**
|
| 507 |
+
* If an element in the canvas does not stop mouse events from propagating, clicking and dragging
|
| 508 |
+
* that element will pan the viewport. Adding the `"nopan"` class prevents this behavior and this
|
| 509 |
+
* prop allows you to change the name of that class.
|
| 510 |
+
* @default "nopan"
|
| 511 |
+
*/
|
| 512 |
+
noPanClassName?: string;
|
| 513 |
+
/** When `true`, the flow will be zoomed and panned to fit all the nodes initially provided. */
|
| 514 |
+
fitView?: boolean;
|
| 515 |
+
/**
|
| 516 |
+
* When you typically call `fitView` on a `ReactFlowInstance`, you can provide an object of
|
| 517 |
+
* options to customize its behavior. This prop lets you do the same for the initial `fitView`
|
| 518 |
+
* call.
|
| 519 |
+
* @example
|
| 520 |
+
* const fitViewOptions = {
|
| 521 |
+
* padding: 0.1,
|
| 522 |
+
* includeHiddenNodes: false,
|
| 523 |
+
* minZoom: 0.1,
|
| 524 |
+
* maxZoom: 1,
|
| 525 |
+
* duration: 200,
|
| 526 |
+
* nodes: [{id: 'node-1'}, {id: 'node-2'}], // nodes to fit
|
| 527 |
+
* };
|
| 528 |
+
*/
|
| 529 |
+
fitViewOptions?: FitViewOptions;
|
| 530 |
+
/**
|
| 531 |
+
* The `connectOnClick` option lets you click or tap on a source handle to start a connection
|
| 532 |
+
* and then click on a target handle to complete the connection.
|
| 533 |
+
*
|
| 534 |
+
* If you set this option to `false`, users will need to drag the connection line to the target
|
| 535 |
+
* handle to create a connection.
|
| 536 |
+
* @default true
|
| 537 |
+
*/
|
| 538 |
+
connectOnClick?: boolean;
|
| 539 |
+
/**
|
| 540 |
+
* By default, React Flow will render a small attribution in the bottom right corner of the flow.
|
| 541 |
+
*
|
| 542 |
+
* You can use this prop to change its position in case you want to place something else there.
|
| 543 |
+
* @default 'bottom-right'
|
| 544 |
+
* @example 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right'
|
| 545 |
+
*/
|
| 546 |
+
attributionPosition?: PanelPosition;
|
| 547 |
+
/**
|
| 548 |
+
* By default, we render a small attribution in the corner of your flows that links back to the project.
|
| 549 |
+
*
|
| 550 |
+
* Anyone is free to remove this attribution whether they're a Pro subscriber or not
|
| 551 |
+
* but we ask that you take a quick look at our {@link https://reactflow.dev/learn/troubleshooting/remove-attribution | removing attribution guide}
|
| 552 |
+
* before doing so.
|
| 553 |
+
*/
|
| 554 |
+
proOptions?: ProOptions;
|
| 555 |
+
/**
|
| 556 |
+
* Enabling this option will raise the z-index of nodes when they are selected.
|
| 557 |
+
* @default true
|
| 558 |
+
*/
|
| 559 |
+
elevateNodesOnSelect?: boolean;
|
| 560 |
+
/**
|
| 561 |
+
* Enabling this option will raise the z-index of edges when they are selected.
|
| 562 |
+
* @default false
|
| 563 |
+
*/
|
| 564 |
+
elevateEdgesOnSelect?: boolean;
|
| 565 |
+
/**
|
| 566 |
+
* You can use this prop to disable keyboard accessibility features such as selecting nodes or
|
| 567 |
+
* moving selected nodes with the arrow keys.
|
| 568 |
+
* @default false
|
| 569 |
+
*/
|
| 570 |
+
disableKeyboardA11y?: boolean;
|
| 571 |
+
/**
|
| 572 |
+
* When `true`, the viewport will pan automatically when the cursor moves to the edge of the
|
| 573 |
+
* viewport while dragging a node.
|
| 574 |
+
* @default true
|
| 575 |
+
*/
|
| 576 |
+
autoPanOnNodeDrag?: boolean;
|
| 577 |
+
/**
|
| 578 |
+
* When `true`, the viewport will pan automatically when the cursor moves to the edge of the
|
| 579 |
+
* viewport while creating a connection.
|
| 580 |
+
* @default true
|
| 581 |
+
*/
|
| 582 |
+
autoPanOnConnect?: boolean;
|
| 583 |
+
/**
|
| 584 |
+
* When `true`, the viewport will pan automatically when the cursor moves to the edge of the
|
| 585 |
+
* viewport while creating a selection box.
|
| 586 |
+
* @default true
|
| 587 |
+
*/
|
| 588 |
+
autoPanOnSelection?: boolean;
|
| 589 |
+
/**
|
| 590 |
+
* The speed at which the viewport pans while dragging a node or a selection box.
|
| 591 |
+
* @default 15
|
| 592 |
+
*/
|
| 593 |
+
autoPanSpeed?: number;
|
| 594 |
+
/**
|
| 595 |
+
* The radius around a handle where you drop a connection line to create a new edge.
|
| 596 |
+
* @default 20
|
| 597 |
+
*/
|
| 598 |
+
connectionRadius?: number;
|
| 599 |
+
/**
|
| 600 |
+
* Occasionally something may happen that causes React Flow to throw an error.
|
| 601 |
+
*
|
| 602 |
+
* Instead of exploding your application, we log a message to the console and then call this event handler.
|
| 603 |
+
* You might use it for additional logging or to show a message to the user.
|
| 604 |
+
*/
|
| 605 |
+
onError?: OnError;
|
| 606 |
+
/**
|
| 607 |
+
* This callback can be used to validate a new connection
|
| 608 |
+
*
|
| 609 |
+
* If you return `false`, the edge will not be added to your flow.
|
| 610 |
+
* If you have custom connection logic its preferred to use this callback over the
|
| 611 |
+
* `isValidConnection` prop on the handle component for performance reasons.
|
| 612 |
+
*/
|
| 613 |
+
isValidConnection?: IsValidConnection<EdgeType>;
|
| 614 |
+
/**
|
| 615 |
+
* With a threshold greater than zero you can delay node drag events.
|
| 616 |
+
* If threshold equals 1, you need to drag the node 1 pixel before a drag event is fired.
|
| 617 |
+
* 1 is the default value, so that clicks don't trigger drag events.
|
| 618 |
+
* @default 1
|
| 619 |
+
*/
|
| 620 |
+
nodeDragThreshold?: number;
|
| 621 |
+
/**
|
| 622 |
+
* The threshold in pixels that the mouse must move before a connection line starts to drag.
|
| 623 |
+
* This is useful to prevent accidental connections when clicking on a handle.
|
| 624 |
+
* @default 1
|
| 625 |
+
*/
|
| 626 |
+
connectionDragThreshold?: number;
|
| 627 |
+
/** Sets a fixed width for the flow. */
|
| 628 |
+
width?: number;
|
| 629 |
+
/** Sets a fixed height for the flow. */
|
| 630 |
+
height?: number;
|
| 631 |
+
/**
|
| 632 |
+
* Controls color scheme used for styling the flow.
|
| 633 |
+
* @default 'light'
|
| 634 |
+
* @example 'system' | 'light' | 'dark'
|
| 635 |
+
*/
|
| 636 |
+
colorMode?: ColorMode;
|
| 637 |
+
/**
|
| 638 |
+
* If set `true`, some debug information will be logged to the console like which events are fired.
|
| 639 |
+
* @default false
|
| 640 |
+
*/
|
| 641 |
+
debug?: boolean;
|
| 642 |
+
/**
|
| 643 |
+
* Configuration for customizable labels, descriptions, and UI text. Provided keys will override the corresponding defaults.
|
| 644 |
+
* Allows localization, customization of ARIA descriptions, control labels, minimap labels, and other UI strings.
|
| 645 |
+
*/
|
| 646 |
+
ariaLabelConfig?: Partial<AriaLabelConfig>;
|
| 647 |
+
/**
|
| 648 |
+
* Used to define how z-indexing is calculated for nodes and edges.
|
| 649 |
+
* 'auto' is for selections and sub flows, 'basic' for selections only, and 'manual' for no auto z-indexing.
|
| 650 |
+
*
|
| 651 |
+
* @default 'basic'
|
| 652 |
+
*/
|
| 653 |
+
zIndexMode?: ZIndexMode;
|
| 654 |
+
}
|
| 655 |
+
//# sourceMappingURL=component-props.d.ts.map
|
frontend/node_modules/.pnpm/@xyflow+react@12.11.2_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.1_4449a809c64647816bd89ebca5fbd811/node_modules/@xyflow/react/dist/umd/types/component-props.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"version":3,"file":"component-props.d.ts","sourceRoot":"","sources":["../../src/types/component-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,UAAU,IAAI,eAAe,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACtG,OAAO,KAAK,EACV,cAAc,EACd,kBAAkB,EAClB,SAAS,EACT,cAAc,EACd,YAAY,EACZ,gBAAgB,EAChB,OAAO,EACP,eAAe,EACf,UAAU,EACV,aAAa,EACb,MAAM,EACN,WAAW,EACX,SAAS,EACT,QAAQ,EACR,UAAU,EACV,UAAU,EACV,aAAa,EACb,OAAO,EACP,SAAS,EACT,QAAQ,EACR,WAAW,EACX,eAAe,EACf,oBAAoB,EACpB,UAAU,EACX,MAAM,gBAAgB,CAAC;AAExB,OAAO,KAAK,EACV,qBAAqB,EACrB,SAAS,EACT,SAAS,EACT,IAAI,EACJ,IAAI,EACJ,uBAAuB,EACvB,MAAM,EACN,kBAAkB,EAClB,cAAc,EACd,aAAa,EACb,aAAa,EACb,QAAQ,EACR,aAAa,EACb,aAAa,EACb,gBAAgB,EAChB,oBAAoB,EACpB,gBAAgB,EAChB,UAAU,EACV,cAAc,EACd,iBAAiB,EAClB,MAAM,GAAG,CAAC;AAEX;;;GAGG;AACH,MAAM,WAAW,cAAc,CAAC,QAAQ,SAAS,IAAI,GAAG,IAAI,EAAE,QAAQ,SAAS,IAAI,GAAG,IAAI,CACxF,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,SAAS,CAAC;IACvD;;;;;;;;;;;;OAYG;IACH,KAAK,CAAC,EAAE,QAAQ,EAAE,CAAC;IACnB;;;;;;;;;;;OAWG;IACH,KAAK,CAAC,EAAE,QAAQ,EAA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