forgeplus-react/node_modules/antd/lib/tree/util.d.ts

8 lines
603 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import * as React from 'react';
import { AntTreeNode } from './Tree';
export declare function getFullKeyList(children: React.ReactNode | React.ReactNode[]): string[];
/** 计算选中范围只考虑expanded情况以优化性能 */
export declare function calcRangeKeys(rootChildren: React.ReactNode | React.ReactNode[], expandedKeys: string[], startKey?: string, endKey?: string): string[];
export declare function convertDirectoryKeysToNodes(rootChildren: React.ReactNode | React.ReactNode[], keys: string[]): AntTreeNode[];
export declare function getFullKeyListByTreeData(treeData: any[]): any[];