import { IPSDEDashboard } from '@ibizstudio/runtime'; import { DashboardControlInterface } from '@ibizstudio/runtime'; import { MainControlBase } from "./main-control-base"; /** * 数据看板部件基类 * * @export * @class ControlBase * @extends {DashboardControlBase} */ export declare class DashboardControlBase extends MainControlBase implements DashboardControlInterface { /** * 部件模型实例对象 * * @type {IPSDEDashboard} * @memberof DashboardControlBase */ controlInstance: IPSDEDashboard; /** * 是否支持看板定制 * * @public * @type {(boolean)} * @memberof DashboardControlBase */ isEnableCustomized: boolean; /** * 看板定制状态描述 * * @type {string} unknown 未确定, default 默认, custom 自定义 * @memberof DashboardControlBase */ dashboardType: string; /** * 自定义模型数据 * * @public * @type {(*)} * @memberof DashboardControlBase */ customModelData: any; /** * modleId * * @type {string} * @memberof DashboardControlBase */ modelId: string; /** * 功能服务名称 * * @type {string} * @memberof DashboardControlBase */ utilServiceName: string; /** * 动态设计水平列数 * * @memberof DashboardControlBase */ layoutColNum: number; /** * 动态设计单元格高度,80px * * @memberof DashboardControlBase */ layoutRowH: number; /** * 所有的门户部件实例集合 * * @type {*} * @memberof DashboardControlBase */ portletList: any; /** * 看板初始化时 * * @memberof DashboardControlBase */ initMountedMap(): void; /** * 初始化挂载状态集合(默认看板时) * * @memberof ControlBase */ initStaticMountedMap(): void; /** * 初始化挂载状态集合(自定义动态看板时) * * @memberof ControlBase */ initDynamicMountedMap(): void; /** * 设置已经绘制完成状态 * * @memberof ControlBase */ setIsMounted(name?: string): void; /** * 初始化数据看板部件实例 * * @memberof AppDefaultDashboard */ ctrlModelInit(opts: any): Promise; /** * 加载门户部件集合 * * @memberof AppDashboardDesignService */ loadPortletList(): Promise; /** * 获取门户部件实例 * * @param {*} layoutModel * @returns * @memberof DashboardControlBase */ getPortletInstance(layoutModel: any): any; /** * 部件初始化 * * @param {*} [args] * @memberof DashboardControlBase */ ctrlInit(args?: any): void; viewStateAction(tag: string, action: string, data: any): void; /** * 部件挂载 * * @memberof DashboardControlBase */ ctrlMounted(args?: any): void; /** * 通知状态 * * @memberof DashboardControlBase */ notifyState(): void; /** * 加载布局与数据模型 * * @memberof DashboardControlBase */ loadModel(): Promise; /** * 处理私人定制按钮 * * @memberof DashboardControlBase */ handleClick(): void; /** * 部件事件 * * @param {string} controlname * @param {string} action * @param {*} data * @memberof KanbanControlBase */ onCtrlEvent(controlname: string, action: string, data: any): void; } //# sourceMappingURL=dashboard-control-base.d.ts.map