UNPKG

@lobehub/ui

Version:

Lobe UI is an open-source UI component library for building AIGC web apps

11 lines • 593 B
import { TreeDataNode, TreeFlatRow } from "./type.mjs"; //#region src/base-ui/Tree/utils.d.ts declare const flattenVisible: (data: TreeDataNode[], expanded: Set<string>, depth?: number, parentKey?: string | null, trail?: boolean[], out?: TreeFlatRow[]) => TreeFlatRow[]; declare const getAllKeys: (data: TreeDataNode[], out?: string[]) => string[]; declare const conductCheck: (data: TreeDataNode[], checkedKeys: Iterable<string>) => { checked: Set<string>; halfChecked: Set<string>; }; //#endregion export { conductCheck, flattenVisible, getAllKeys }; //# sourceMappingURL=utils.d.mts.map