feat(ui): add type filter toggles
This commit is contained in:
28
node_modules/@xyflow/system/dist/esm/xyminimap/index.d.ts
generated
vendored
Normal file
28
node_modules/@xyflow/system/dist/esm/xyminimap/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
import { pointer } from 'd3-selection';
|
||||
import type { CoordinateExtent, PanZoomInstance, Transform } from '../types';
|
||||
export type XYMinimapInstance = {
|
||||
update: (params: XYMinimapUpdate) => void;
|
||||
destroy: () => void;
|
||||
pointer: typeof pointer;
|
||||
};
|
||||
export type XYMinimapParams = {
|
||||
panZoom: PanZoomInstance;
|
||||
domNode: Element;
|
||||
getTransform: () => Transform;
|
||||
getViewScale: () => number;
|
||||
};
|
||||
export type XYMinimapUpdate = {
|
||||
translateExtent: CoordinateExtent;
|
||||
width: number;
|
||||
height: number;
|
||||
inversePan?: boolean;
|
||||
zoomStep?: number;
|
||||
pannable?: boolean;
|
||||
zoomable?: boolean;
|
||||
};
|
||||
export declare function XYMinimap({ domNode, panZoom, getTransform, getViewScale }: XYMinimapParams): {
|
||||
update: ({ translateExtent, width, height, zoomStep, pannable, zoomable, inversePan, }: XYMinimapUpdate) => void;
|
||||
destroy: () => void;
|
||||
pointer: typeof pointer;
|
||||
};
|
||||
//# sourceMappingURL=index.d.ts.map
|
||||
Reference in New Issue
Block a user