import { IPSDBPortletPart } from '@ibizstudio/runtime'; import { PortletControlInterface } from '@ibizstudio/runtime'; import { MainControlBase } from "./main-control-base"; /** * 门户部件基类 * * @export * @class ControlBase * @extends {PortletControlBase} */ export declare class PortletControlBase extends MainControlBase implements PortletControlInterface { /** * 部件模型实例对象 * * @type {IPSDBPortletPart} * @memberof PortletControlBase */ controlInstance: IPSDBPortletPart; /** * 操作栏模型对象 * * @type {*} * @memberof PortletControlBase */ actionBarModelData: any; /** * 工具栏栏模型对象 * * @type {*} * @memberof PortletControlBase */ toolbarModels: any; /** * 是否自适应大小 * * @returns {boolean} * @memberof PortletControlBase */ isAdaptiveSize?: boolean; /** * 初始化工具栏数据 * * @memberof PortletControlBase */ initToolBar(): void; /** * 监听动态参数变化 * * @param {*} newVal * @param {*} oldVal * @memberof PortletControlBase */ onDynamicPropsChange(newVal: any, oldVal: any): void; /** * 初始化操作栏数据 * * @memberof PortletControlBase */ initActionBar(): void; /** * 触发界面行为 * * @param {*} data 触发数据源 * @param {*} $event 事件对象 * @memberof PortletControlBase */ handleItemClick(data: any, $event: any): void; /** * 初始化挂载状态集合 * * @memberof PortletControlBase */ initMountedMap(): void; /** * 门户部件模型数据加载 * * @memberof ViewBase */ ctrlModelLoad(): Promise; /** * 初始化门户部件 * * @memberof PortletControlBase */ ctrlModelInit(opts: any): Promise; /** * 初始化部件的绘制参数 * * @param {*} [opts] * @memberof PortletControlBase */ initRenderOptions(opts?: any): void; /** * 部件初始化 * * @param {*} [args] * @memberof PortletControlBase */ ctrlInit(args?: any): void; viewStateAction(tag: string, action: string, data: any): void; /** * 刷新 * * @memberof PortletControlBase */ refresh(args?: any): void; /** * 处理dashboard的refreshAll通知 * * @param {*} [args] * @memberof PortletControlBase */ handleRefreshAll(args?: any): void; /** * 计算界面行为权限 * * @param {*} [data={}] * @returns * @memberof PortletControlBase */ calcUIActionAuthState(data?: any): void; } //# sourceMappingURL=portlet-control-base.d.ts.map