import { TreeGridExControlInterface } from '@ibizstudio/runtime'; import { MDControlBase } from './md-control-base'; import { IPSDETreeGridEx } from '@ibizstudio/runtime'; /** * 树表格部件基类 * * @export * @class TreeGridExControlBase * @extends {MDControlBase} */ export declare class TreeGridExControlBase extends MDControlBase implements TreeGridExControlInterface { /** * 部件模型实例对象 * * @type {*} * @memberof TreeGridExControlBase */ controlInstance: IPSDETreeGridEx; /** * 数据集合 * * @public * @type {any[]} * @memberof TreeGridExControlBase */ items: any[]; /** * 默认展开节点集合 * * @memberof TreeGridExControlBase */ defExpands: any; /** * 行节点下标 * * @memberof TreeGridExControlBase */ itemNum: any; /** * 计数下标 * * @memberof TreeGridExControlBase */ num: number; /** * 过滤属性 * * @type {string} * @memberof TreeGridExControlBase */ srfnodefilter: string; /** * 代码表数据 * * @memberof TreeGridExControlBase */ codeListData: Map; /** * 初始化部件数据 * * @memberof TreeGridExControlBase */ ctrlModelInit(): Promise; /** * 初始化列代码表 * * @public * @memberof TreeGridExControlBase */ initColumnsCodeList(): Promise; /** * 执行created后的逻辑 * * @memberof TreeGridExControlBase */ ctrlInit(): void; viewStateAction(tag: string, action: string, data: any): void; /** * 加载数据 * * @param {*} [node={}] 节点数据 * @param {*} [resolve] 渲染回调 * @memberof TreeGridExControlBase */ load(node?: any, resolve?: any): void; /** * 刷新 * * @param {*} [args] 额外参数 * @memberof TreeGridExControlBase */ refresh(args?: any): void; /** * 加载事件 * * @param {*} row 行数据 * @param {*} treeNode 节点信息 * @param {*} resolve 渲染回调 * @memberof TreeGridExControlBase */ loadTreeNode(row: any, treeNode: any, resolve: any): void; /** * 当前选中变化事件 * * @param {*} $event 行数据 * @return {*} * @memberof TreeGridExControlBase */ select($event: any): void; /** * 设置行Class * * @returns * @memberof TreeGridExControlBase */ setRowClass({ row, rowIndex }: { row: any; rowIndex: number; }): string; /** * 展开默认节点 * * @returns * @memberof TreeGridExControlBase */ expandDefNode(): void; /** * 绘制列 * * @returns * @memberof TreeGridExControlBase */ renderColumns(): import("vue").VNode | import("vue").VNode[]; /** * 获取列属性值 * * @public * @memberof TreeGridExControlBase */ getColumnValue(task: any, field: string): any; /** * 计算当前节点的上下文 * * @param {*} curNode 当前节点 * @memberof TreeGridExControlBase */ computecurNodeContext(curNode: any): any; } //# sourceMappingURL=tree-grid-ex-control-base.d.ts.map