import { GanttControlInterface } from '@ibizstudio/runtime'; import { IPSDEGantt } from '@ibizstudio/runtime'; import { MDControlBase } from './md-control-base'; export declare class GanttControlBase extends MDControlBase implements GanttControlInterface { /** * 甘特图模型实例 * * @type {*} * @memberof GanttControlBase */ controlInstance: IPSDEGantt; /** * 语言 * * @public * @type {string} * @memberof GanttControlBase */ locale: string; /** * 语言资源 - zh-cn * * @public * @type {*} * @memberof GanttControlBase */ localeZH: any; /** * 语言资源 - en-us * * @public * @type {*} * @memberof GanttControlBase */ localeEN: any; /** * 配置参数 * * @public * @type {any[]} * @memberof GanttControlBase */ options: any; /** * 样式 * * @public * @type {any[]} * @memberof GanttControlBase */ dynamicStyle: any; /** * 日程事件集合 * * @public * @type {any[]} * @memberof GanttControlBase */ tasks: any[]; /** * 代码表数据 * * @memberof GanttControlBase */ codeListData: Map; /** * 监听静态参数变化 * * @param {*} newVal * @param {*} oldVal * @memberof GanttControlBase */ ctrlModelInit(): Promise; /** * 初始化甘特图部件配置参数 * * @memberof GanttControlBase */ initOptions(): void; /** * 初始化列代码表 * * @public * @memberof GanttControlBase */ initColumnsCodeList(): Promise; /** * 部件初始化 * * @public * @memberof GanttControlBase */ ctrlInit(): void; viewStateAction(tag: string, action: string, data: any): void; /** * 加载数据 * * * @param {*} [task={}] 节点数据 * @memberof GanttControlBase */ load(task?: any, isRefresh?: boolean): void; /** * 刷新功能 * * @param {*} [args] 额外参数 * @memberof GanttControlBase */ refresh(args?: any): void; /** * 节点点击事件 * * @param {{event: any, data: any}} {event, data} 事件源,节点数据 * @memberof GanttControlBase */ taskClick({ event, data }: { event: any; data: any; }): void; /** * 节点展开事件 * * @param {*} task 当前节点 * @memberof GanttControlBase */ taskItemExpand(task: any): void; /** * 计算当前节点的上下文 * * @param {*} curNode 当前节点 * @memberof GanttControlBase */ computecurNodeContext(curNode: any): any; /** * 获取列属性值 * * @public * @memberof GanttControlBase */ getColumnValue(task: any, field: string): any; /** * 更新部件参数 * * @returns {any} * @memberof GanttControlBase */ updateOptions(): void; /** * 打开编辑数据视图 * * @param {any[]} args 数据参数 * @param {*} [fullargs] 全量参数 * @param {*} [params] 额外参数 * @param {*} [$event] 事件源数据 * @param {*} [xData] 数据部件 * @memberof GanttControlBase */ ganttOpendata(args: any[], logicTag: string, fullargs?: any, params?: any, $event?: any, xData?: any): Promise; /** * 监听语言变化 * * @public * @memberof GanttControlBase */ onLocaleChange(newval: any, val: any): void; /** * 打开目标视图 * * @param {*} openView 目标视图模型对象 * @param {*} view 视图对象 * @param {*} tempContext 临时上下文 * @param {*} data 数据 * @param {*} xData 数据部件实例 * @param {*} $event 事件源 * @param {*} deResParameters * @param {*} parameters * @param {*} args 额外参数 * @param {Function} callback 回调 * @memberof GanttControlBase */ openTargtView(openView: any, view: any, tempContext: any, data: any, xData: any, $event: any, deResParameters: any, parameters: any, args: any, callback: Function): void; } //# sourceMappingURL=gantt-control-base.d.ts.map