/**
* @file tree.js 树组件
* @author fuqiangqiang@baidu.com
*/
///
import * as I from './interface';
import Base from 'santd/base';
import './style/index';
import treeNode from './TreeNode';
import Directory from './DirectoryTree';
export declare function traverseNodesKey(root: I.TBase[] | undefined, callback: (args0: string, args1: I.TBase) => boolean): void;
export default class Tree extends Base {
static components: {
's-tree-node': typeof treeNode;
};
static TreeNode: typeof treeNode;
static Directory: typeof Directory;
static computed: {
classes(this: Tree): string[];
isVirtual(this: Tree): boolean | "" | 0;
expandedNodesV(this: Tree): any;
visibleCountV(this: Tree): number;
visibleNodeV(this: Tree): any;
listHeightV(this: Tree): any;
translateV(this: Tree): string;
endV(this: Tree): any;
};
initData(): I.State;
treeNodes: I.TBase[];
multipleItem: never[];
selectedNodes: never[];
paramsArr: string[];
inited(): void;
getAllCheckedKeys(checkedKeys?: I.keysArray): I.allKeysType;
getCheckedNodes(treeNodes: I.TBase[], keys: I.keysArray): I.TBase[];
getChangedCheckedKeys(key: string, isCheck: boolean, checkedKeys: I.keysArray | undefined, halfCheckedKeys: I.keysArray | undefined, checkStrictly: boolean, treeNodeDataV: I.TBase): I.allKeysType;
attached(): void;
autoExpand(): void;
updateTreeNodes(): void;
findExpandComponents(): I.TBase[];
scrollTimeoutIDV: NodeJS.Timeout | null;
scrollEventV(): void;
flattenTreeData(treeData: I.TBase[]): I.TBase[];
handleSelect(key: string, info: I.clickTreeNodePayloadValueType): void;
static messages: {
santd_tree_addTreeNode(this: Tree, payload: I.addTreeNodePayloadType): void;
santd_tree_clickTreeNode(this: Tree, payload: I.clickTreeNodePayloadType): void;
santd_tree_checkTreeNode(this: Tree, payload: I.checkTreeNodePayloadType): void;
santd_tree_expandTreeNode(this: Tree, payload: I.expandTreeNodePayloadType): void;
santd_tree_expandAll(this: Tree, payload: I.expandAllPayloadType): void;
santd_tree_dataLoaded(this: Tree, payload: I.dataLoadedPayloadType): void;
};
handleMouseOver(e: MouseEvent): void;
static template: string;
}