import { IPSDEDRBar, IPSDEEditForm } from '@ibizstudio/runtime'; import { DrbarControlInterface } from '@ibizstudio/runtime'; import { MainControlBase } from "./main-control-base"; /** * 数据关系栏部件基类 * * @export * @class DrbarControlBase * @extends {MainControlBase} */ export declare class DrbarControlBase extends MainControlBase implements DrbarControlInterface { /** * 数据关系栏部件实例对象 * * @type {IPSDEDRBar} * @memberof DrbarControlBase */ controlInstance: IPSDEDRBar; /** * 表单实例事项 * * @type {IPSDEEditForm} * @memberof DrbarControlBase */ formInstance?: IPSDEEditForm; /** * 表单名称 * * @type {string} * @memberof DrbarControlBase */ formName: string; /** * 数据选中项 * * @type {*} * @memberof DrbarControlBase */ selection: any; /** * 关系栏数据项 * * @type {any[]} * @memberof DrbarControlBase */ items: any[]; /** * 默认打开项 * * @type {string[]} * @memberof DrbarControlBase */ defaultOpeneds: string[]; /** * 父数据 * * @type {*} * @memberof DrbarControlBase */ parentData: any; /** * 宽度 * * @type {number} * @memberof DrbarControlBase */ width: number; /** * @description 菜单方向 * @type {('horizontal' | 'vertical')} * @memberof DrbarControlBase */ menuDir: 'horizontal' | 'vertical'; /** * @description 显示模式(DEFAULT:默认模式,INDEXMODE:嵌入实体首页视图中) * @type {('DEFAULT' | 'INDEXMODE')} * @memberof DrbarControlBase */ showMode: 'DEFAULT' | 'INDEXMODE'; /** * @description 菜单项数据 * @type {any[]} * @memberof DrbarControlBase */ menuItems: any[]; /** * @description 静态参数变化 * @param {*} newVal 新值 * @param {*} oldVal 旧值 * @memberof DrbarControlBase */ onStaticPropsChange(newVal: any, oldVal: any): void; /** * 部件模型初始化 * * @memberof DrbarControlBase */ ctrlModelInit(): Promise; /** * 部件初始化 * * @memberof DrbarControlBase */ ctrlInit(): void; viewStateAction(tag: string, action: string, data: any): void; /** * @description 初始化默认选中 * @memberof DrbarControlBase */ initDefaultSelection(): void; /** * 初始化关系栏数据项 * * @memberof DrbarControlBase */ initDrbarBasicData(): void; /** * @description 初始化菜单项集合 * @memberof DrbarControlBase */ initMenuItems(): void; /** * 获取子项 * * @param {any[]} items * @param {string} id * @returns {*} * @memberof DrbarControlBase */ getItem(id: string): any; /** * 节点选中 * * @param {*} $event * @memberof DrbarControlBase */ onSelect($event: any, isFirst?: boolean): void; /** * 设置关系项状态 * * @param {any[]} items * @param {boolean} state * @memberof DrbarControlBase */ handleFormChange(args: any): void; } //# sourceMappingURL=drbar-control-base.d.ts.map