feat(ui): add type filter toggles
This commit is contained in:
17
node_modules/@xyflow/react/dist/umd/components/BatchProvider/index.d.ts
generated
vendored
Normal file
17
node_modules/@xyflow/react/dist/umd/components/BatchProvider/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
import { ReactNode } from 'react';
|
||||
import { Queue } from './types';
|
||||
import type { Edge, Node } from '../../types';
|
||||
/**
|
||||
* This is a context provider that holds and processes the node and edge update queues
|
||||
* that are needed to handle setNodes, addNodes, setEdges and addEdges.
|
||||
*
|
||||
* @internal
|
||||
*/
|
||||
export declare function BatchProvider<NodeType extends Node = Node, EdgeType extends Edge = Edge>({ children, }: {
|
||||
children: ReactNode;
|
||||
}): import("react/jsx-runtime").JSX.Element;
|
||||
export declare function useBatchContext(): {
|
||||
nodeQueue: Queue<any>;
|
||||
edgeQueue: Queue<any>;
|
||||
};
|
||||
//# sourceMappingURL=index.d.ts.map
|
||||
1
node_modules/@xyflow/react/dist/umd/components/BatchProvider/index.d.ts.map
generated
vendored
Normal file
1
node_modules/@xyflow/react/dist/umd/components/BatchProvider/index.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/BatchProvider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,SAAS,EAAoC,MAAM,OAAO,CAAC;AAKnF,OAAO,EAAE,KAAK,EAAa,MAAM,SAAS,CAAC;AAC3C,OAAO,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAU9C;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,QAAQ,SAAS,IAAI,GAAG,IAAI,EAAE,QAAQ,SAAS,IAAI,GAAG,IAAI,EAAE,EACxF,QAAQ,GACT,EAAE;IACD,QAAQ,EAAE,SAAS,CAAC;CACrB,2CA8EA;AAED,wBAAgB,eAAe;eA/FlB,KAAK,CAAC,GAAG,CAAC;eAEV,KAAK,CAAC,GAAG,CAAC;EAqGtB"}
|
||||
7
node_modules/@xyflow/react/dist/umd/components/BatchProvider/types.d.ts
generated
vendored
Normal file
7
node_modules/@xyflow/react/dist/umd/components/BatchProvider/types.d.ts
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
export type QueueItem<T> = T[] | ((items: T[]) => T[]);
|
||||
export type Queue<T> = {
|
||||
get: () => QueueItem<T>[];
|
||||
reset: () => void;
|
||||
push: (item: QueueItem<T>) => void;
|
||||
};
|
||||
//# sourceMappingURL=types.d.ts.map
|
||||
1
node_modules/@xyflow/react/dist/umd/components/BatchProvider/types.d.ts.map
generated
vendored
Normal file
1
node_modules/@xyflow/react/dist/umd/components/BatchProvider/types.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/BatchProvider/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,CAAC,CAAC,IAAI,CAAC,EAAE,GAAG,CAAC,CAAC,KAAK,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC,CAAC;AAEvD,MAAM,MAAM,KAAK,CAAC,CAAC,IAAI;IACrB,GAAG,EAAE,MAAM,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC;IAC1B,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,IAAI,EAAE,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;CACpC,CAAC"}
|
||||
11
node_modules/@xyflow/react/dist/umd/components/BatchProvider/useQueue.d.ts
generated
vendored
Normal file
11
node_modules/@xyflow/react/dist/umd/components/BatchProvider/useQueue.d.ts
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
import { Queue, QueueItem } from './types';
|
||||
/**
|
||||
* This hook returns a queue that can be used to batch updates.
|
||||
*
|
||||
* @param runQueue - a function that gets called when the queue is flushed
|
||||
* @internal
|
||||
*
|
||||
* @returns a Queue object
|
||||
*/
|
||||
export declare function useQueue<T>(runQueue: (items: QueueItem<T>[]) => void): Queue<T>;
|
||||
//# sourceMappingURL=useQueue.d.ts.map
|
||||
1
node_modules/@xyflow/react/dist/umd/components/BatchProvider/useQueue.d.ts.map
generated
vendored
Normal file
1
node_modules/@xyflow/react/dist/umd/components/BatchProvider/useQueue.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"useQueue.d.ts","sourceRoot":"","sources":["../../../src/components/BatchProvider/useQueue.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAE3C;;;;;;;GAOG;AACH,wBAAgB,QAAQ,CAAC,CAAC,EAAE,QAAQ,EAAE,CAAC,KAAK,EAAE,SAAS,CAAC,CAAC,CAAC,EAAE,KAAK,IAAI,YAiCpE"}
|
||||
Reference in New Issue
Block a user