import { Subscription } from 'rxjs'; import { CtrlLoadingService } from '..'; import { ControlBase } from './control-base'; import { MainControlInterface } from '@ibizstudio/runtime'; /** * 实体部件基础公共基类 * * @export * @class MainControlBase * @extends {ControlBase} */ export declare class MainControlBase extends ControlBase implements MainControlInterface { /** * 编辑视图 * * @type {*} * @memberof MainControlBase */ opendata?: any; /** * 新建视图 * * @type {*} * @memberof MainControlBase */ newdata?: any; /** * 视图loading服务 * * @type {*} * @memberof MainControlBase */ viewLoadingService: any; /** * 加载服务 * * @type {AppLoading} * @memberof MainControlBase */ ctrlLoadingService: CtrlLoadingService; /** * 应用状态事件 * * @public * @type {(Subscription | undefined)} * @memberof MainControlBase */ appStateEvent: Subscription | undefined; /** * 界面UI服务对象 * * @type {*} * @memberof MainControlBase */ appUIService: any; /** * 界面行为模型 * * @type {*} * @memberof MainControlBase */ actionModel: any; /** * 应用实体codeName * * @readonly * @memberof MainControlBase */ get appDeCodeName(): any; /** * 应用实体映射实体名称 * * @readonly * @memberof MainControlBase */ get deName(): any; /** * 应用实体主键属性codeName * * @readonly * @memberof MainControlBase */ get appDeKeyFieldName(): string; /** * 应用实体主信息属性codeName * * @readonly * @memberof MainControlBase */ get appDeMajorFieldName(): string; /** * 监听静态参数变化 * * @param {*} newVal * @param {*} oldVal * @memberof MainControlBase */ onStaticPropsChange(newVal: any, oldVal: any): void; /** * 部件模型数据初始化 * * @memberof MainControlBase */ ctrlModelInit(args?: any): Promise; /** * 初始化界面行为模型 * * @type {*} * @memberof MainControlBase */ initCtrlActionModel(): void; /** * 部件初始化 * * @param {*} [args] * @memberof MainControlBase */ ctrlInit(args?: any): void; /** * 部件销毁 * * @memberof MainControlBase */ ctrlDestroyed(): void; /** * 部件刷新数据 * * @param {*} args * @memberof MainControlBase */ refresh(args?: any): void; /** * 开始加载 * * @memberof MainControlBase */ ctrlBeginLoading(): void; /** * 结束加载 * * @memberof MainControlBase */ ctrlEndLoading(): void; /** * 处理部件UI请求 * * @param {string} action 行为名称 * @param {*} context 上下文 * @param {*} viewparam 视图参数 * @memberof MainControlBase */ onControlRequset(action: string, context: any, viewparam: any): void; /** * 处理部件UI响应 * * @param {string} action 行为 * @param {*} response 响应对象 * @memberof MainControlBase */ onControlResponse(action: string, response: any): void; /** * 转化数据 * * @param {*} args 数据 * @memberof MainControlBase */ transformData(args: any): any; /** * 获取视图逻辑标识(拼合逻辑:部件标识_列标识_成员标识_click) * * @param {*} args * @memberof MainControlBase */ getViewLogicTag(ctrlTag: string, columnTag: any, detailTag: string): string; } //# sourceMappingURL=main-control-base.d.ts.map