import { IPSAppDEPickupView, IPSDEPickupViewPanel, IPSTreeExpBar } from '@ibizstudio/runtime'; import { MPickupView2Engine, MPickUpView2Interface } from '@ibizstudio/runtime'; import { MainViewBase } from './mainview-base'; /** * 数据多项选择视图基类 * * @export * @class MPickUpViewBase * @extends {MainViewBase} */ export declare class MPickUpView2Base extends MainViewBase implements MPickUpView2Interface { /** * 视图实例 * * @memberof MPickUpViewBase */ viewInstance: IPSAppDEPickupView; /** * 选择视图面板实例 * * @memberof MPickUpViewBase */ pickUpViewPanelInstance: IPSDEPickupViewPanel; treeExpbarIntance: IPSTreeExpBar; /** * 视图引擎 * * @public * @type {Engine} * @memberof MPickUpViewBase */ engine: MPickupView2Engine; /** * 是否显示按钮 * * @type {boolean} * @memberof MPickUpViewBase */ isShowButton: boolean; /** * 选中数据的字符串 * * @type {string} * @memberof MPickUpViewBase */ selectedData: string; /** * 是否初始化已选中项 * * @type {any[]} * @memberof MPickUpViewBase */ isInitSelected: boolean; /** * 视图选中数据 * * @type {any[]} * @memberof MPickUpViewBase */ viewSelections: any[]; /** * 是否单选 * * @type {boolean} * @memberof MPickUpViewBase */ isSingleSelect: boolean; /** * 监听部件动态参数变化 * * @param {*} newVal * @param {*} oldVal * @memberof MPickUpViewBase */ onDynamicPropsChange(newVal: any, oldVal: any): void; /** * 监听部件静态参数变化 * * @param {*} newVal * @param {*} oldVal * @memberof MPickUpViewBase */ onStaticPropsChange(newVal: any, oldVal: any): void; /** * 引擎初始化 * * @public * @memberof MPickUpViewBase */ engineInit(): void; /** * 视图初始化 * * @memberof MPickUpViewBase */ viewMounted(): Promise; /** * 初始化分页导航视图实例 * * @memberof MPickUpViewBase */ viewModelInit(): Promise; /** * 渲染视图主体内容区 * * @memberof MPickUpViewBase */ renderMainContent(): (false | JSX.Element | null)[]; /** * 渲染视图底部按钮 * @memberof MPickUpViewBase */ renderFooter(): JSX.Element; /** * 渲染按钮 * * @memberof MPickUpViewBase */ renderButtons(): JSX.Element; /** * 渲染多数据选择 * * @memberof MPickUpViewBase */ renderMpickerSelect(): JSX.Element; /** * 渲染选择视图面板 * * @memberof MPickUpViewBase */ renderControlContent(): import("vue").VNode; renderTreeExpBar(): import("vue").VNode; /** * 计算目标部件所需参数 * * @param {string} [controlType] * @returns * @memberof MPickUpViewBase */ computeTargetCtrlData(controlInstance: any): { targetCtrlName: string; targetCtrlParam: any; targetCtrlEvent: any; }; /** * 选中数据单击 * * @param {*} item * @memberof MPickUpViewBase */ selectionsClick(item: any): void; /** * 选中树双击 * * @param {*} item * @memberof MPickUpViewBase */ selectionsDBLClick(item: any): void; /** * 删除右侧全部选中数据 * * @memberof MPickUpViewBase */ onCLickLeft(): void; /** * 添加左侧选中数据 * * @memberof MPickUpViewBase */ onCLickRight(): void; /** * 去重 * * @memberof MPickUpViewBase */ removeDuplicates(data: any): Array; /** * 选中数据全部删除 * * @memberof MPickUpViewBase */ onCLickAllLeft(): void; /** * 添加左侧面板所有数据到右侧 * * @memberof MPickUpViewBase */ onCLickAllRight(): void; /** * 确定 * * @memberof MPickUpViewBase */ onClickOk(): void; /** * 取消 * * @memberof MPickUpViewBase */ onClickCancel(): void; } //# sourceMappingURL=mpickupview2-base.d.ts.map