UNPKG

@aplus-frontend/antdv

Version:

Vue basic component library maintained based on ant-design-vue

14 lines (13 loc) 615 B
import type { Key, DataNode, FieldNames } from '../interface'; import type { DefaultOptionType, InternalFieldName } from '../TreeSelect'; export declare function toArray<T>(value: T | T[]): T[]; export declare function fillFieldNames(fieldNames?: FieldNames): { _title: string[]; value: string; key: string; children: string; }; export declare function isCheckDisabled(node: DataNode): boolean; /** Loop fetch all the keys exist in the tree */ export declare function getAllKeys(treeData: DefaultOptionType[], fieldNames: InternalFieldName): Key[]; export declare function isNil(val: any): boolean;