import { IPSAppDEMultiDataView, IPSControlNavigatable, IPSDECalendar, IPSDETree, IPSExpBar, IPSSysMap, IPSDEChart } from '@ibizstudio/runtime'; import { ExpBarControlInterface } from '@ibizstudio/runtime'; import { MainControlBase } from './main-control-base'; /** * 导航栏部件基类 * * @export * @class ExpBarControlBase * @extends {MainControlBase} */ export declare class ExpBarControlBase extends MainControlBase implements ExpBarControlInterface { /** * 导航栏部件模型对象 * * @memberof ExpBarControlBase */ controlInstance: IPSExpBar; /** * 数据部件 * * @memberof ExpBarControlBase */ protected $xDataControl: IPSDECalendar | IPSControlNavigatable | IPSDETree | IPSSysMap | IPSDEChart; /** * 父导航视图模型对象 * * @memberof ExpBarControlBase */ protected parentModel: IPSAppDEMultiDataView; /** * 数据部件名称 * * @memberof ExpBarControlBase */ xDataControlName: string; /** * 视图唯一标识 * * @type {boolean} * @memberof ExpBarControlBase */ viewUID: string; /** * 导航边栏位置 * * @memberof ExpBarControlBase */ sideBarlayout: any; /** * 搜素值 * * @type {(string)} * @memberof ExpBarControlBase */ searchText: string; /** * 呈现模式,可选值:horizontal或者vertical * * @public * @type {(string)} * @memberof ExpBarControlBase */ showMode: string; /** * 控件宽度 * * @type {number} * @memberof ExpBarControlBase */ ctrlWidth: number; /** * 控件高度 * * @type {number} * @memberof ExpBarControlBase */ ctrlHeight: number; /** * 分割宽度 * * @type {number} * @memberof ExpBarControlBase */ split: number; /** * 导航视图名称 * * @type {*} * @memberof ExpBarControlBase */ navViewName: any; /** * 导航参数 * * @type {*} * @memberof ExpBarControlBase */ navParam: any; /** * 导航上下文参数 * * @type {*} * @memberof ExpBarControlBase */ navigateContext: any; /** * 导航视图参数 * * @type {*} * @memberof ExpBarControlBase */ navigateParams: any; /** * 导航过滤项 * * @type {string} * @memberof ExpBarControlBase */ navFilter: string; /** * 导航关系 * * @type {string} * @memberof ExpBarControlBase */ navPSDer: string; /** * 选中数据 * * @type {*} * @memberof ExpBarControlBase */ selection: any; /** * 工具栏模型数据 * * @protected * @type {*} * @memberof ExpBarControlBase */ protected toolbarModels: any; /** * 快速分组数据对象 * * @memberof ExpBarControlBase */ quickGroupData: any; /** * 快速分组是否有抛值 * * @memberof ExpBarControlBase */ isEmitQuickGroupValue: boolean; /** * 快速分组模型 * * @memberof ExpBarControlBase */ quickGroupModel: Array; /** * 备份当前分割宽度 * * @memberof ExpBarControlBase */ copySplit: number; /** * 导航dom节点 * * @memberof ExpBarControlBase */ expDom: any; /** * 缓存UUID * (导航部件抛出值时,renderNavView创建视图容器需要UUID来创建一个新的,才能重绘刷新右侧) * * * @type {*} * @memberof ExpBarControlBase */ cacheUUID: any; /** * 监听静态参数变化 * * @param {*} newVal * @param {*} oldVal * @memberof ExpBarControlBase */ onStaticPropsChange(newVal: any, oldVal: any): void; /** * 部件模型数据初始化实例 * * @memberof ExpBarControlBase */ ctrlModelInit(args?: any): Promise; /** * 处理数据部件参数 * * @memberof ExpBarControlBase */ handleXDataCtrlOptions(): Promise; /** * 部件初始化 * * @param {*} [args] * @memberof ExpBarControlBase */ ctrlInit(args?: any): void; viewStateAction(tag: string, action: string, data: any): void; /** * 设置导航区工具栏禁用状态 * * @param {boolean} state * @return {*} * @memberof ExpBarControlBase */ calcToolbarItemState(state: boolean): void; /** * 加载快速分组模型 * * @memberof ExpBarControlBase */ loadQuickGroupModel(): Promise; /** * 处理快速分组模型动态数据部分(%xxx%) * * @param {Array} inputArray 代码表数组 * @return {*} * @memberof ExpBarControlBase */ handleDynamicData(inputArray: Array): any[]; /** * 获取快速分组默认选中项 * * @memberof ExpBarControlBase */ getQuickGroupDefaultSelect(): any; /** * 初始化工具栏数据 * * @memberof ExpBarControlBase */ initCtrlToolBar(): void; /** * split值变化事件 * * @memberof ExpBarControlBase */ onSplitChange(): void; /** * 初始化导航参数 * * @param params 初始化参数 * @memberof ExpBarControlBase */ initNavParam(params: any): any; /** * 部件挂载 * * @param args 额外参数 * @memberof ExpBarControlBase */ ctrlMounted(args?: any): void; /** * @description 计算split值 * @memberof ExpBarControlBase */ calcSplit(): void; /** * @description 重新计算split值 * @memberof ExpBarControlBase */ resizeSplit(): void; /** * 绘制数据部件 * * @memberof ExpBarControlBase */ renderXDataControl(): import("vue").VNode; /** * 计算目标部件所需参数 * * @param {*} controlInstance 数据部件 * @return {*} * @memberof ExpBarControlBase */ computeTargetCtrlData(controlInstance: any): { targetCtrlName: string; targetCtrlParam: any; targetCtrlEvent: any; }; /** * 执行搜索 * * @memberof ExpBarControlBase */ onSearch(): void; /** * 绘制快速搜索 * * @memberof ExpBarControlBase */ renderSearch(): JSX.Element; /** * 绘制快速分组 * * @memberof ExpBarControlBase */ renderQuickGroup(): JSX.Element; /** * 绘制工具栏 * * @memberof ExpBarControlBase */ renderToolbar(): JSX.Element; /** * 工具栏点击 * * @param {*} data 事件数据 * @param {*} $event 事件对象 * @return {*} * @memberof ExpBarControlBase */ handleItemClick(data: any, $event: any): void; /** * 快速分组值变化 * * @param {*} $event 分组事件源 * @return {*} * @memberof ExpBarControlBase */ quickGroupValueChange($event: any): void; /** * 计算导航工具栏权限状态 * * @memberof ExpBarControlBase */ calcNavigationToolbarState(): void; /** * 刷新 * * @memberof ExpBarControlBase */ refresh(): void; /** * 选中数据事件 * * * @param {any[]} args 选中数据 * @return {*} {void} * @memberof ExpBarControlBase */ onSelectionChange(args: any[]): void; /** * load完成事件 * * @param {*} args 加载数据 * @param {string} [tag] * @param {*} [$event2] * @memberof ExpBarControlBase */ onLoad(args: any, tag?: string, $event2?: any): void; /** * 部件事件 * @param ctrl 部件 * @param action 行为 * @param data 数据 * * @memberof ExpBarControlBase */ onCtrlEvent(controlname: any, action: any, data: any): void; /** * 关闭编辑视图 * * @memberof ExpBarControlBase */ close(): void; /** * 绘制导航标题栏 * * @memberof ExpBarControlBase */ renderTitleBar(): JSX.Element; /** * 绘制右侧导航组件 * * @memberof ExpBarControlBase */ renderNavView(): import("vue").VNode | undefined; /** * 绘制内容 * * @param {*} [otherClassNames] 额外类名 * @return {*} * @memberof ExpBarControlBase */ renderContent(otherClassNames?: any): (JSX.Element | null)[]; /** * 绘制导航栏主体内容 * * @memberof ExpBarControlBase */ renderMainContent(): JSX.Element | null; /** * 绘制导航栏主内容 * @returns {*} * @memberof ExpBarControlBase */ render(): JSX.Element | null; } //# sourceMappingURL=expbar-control-base.d.ts.map