amis-rpc-design/node_modules/antd/es/tree/utils/dictUtil.d.ts
2023-10-07 19:42:30 +08:00

10 lines
414 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 type { DataNode, Key } from 'rc-tree/lib/interface';
/** 计算选中范围只考虑expanded情况以优化性能 */
export declare function calcRangeKeys({ treeData, expandedKeys, startKey, endKey, }: {
treeData: DataNode[];
expandedKeys: Key[];
startKey?: Key;
endKey?: Key;
}): Key[];
export declare function convertDirectoryKeysToNodes(treeData: DataNode[], keys: Key[]): DataNode[];