import { NotifyService } from '@farris/ui-notify'; import { RefreshFormService, DomService } from '@farris/designer-services'; import { ControlContextMenuItem } from '../../../../../entity/control-context-menu'; import { ControlService } from '../../../../../service/control.service'; import { FarrisDesignBaseComponent } from '@farris/designer-element'; import { Injector } from '@angular/core'; import { RowNode } from '@farris/ui-treetable'; export declare class TabChildContentContextMenuService { private notifyService; private controlService; private refreshFormService; private domService; private injector; private parentRowNode; /** tab组件实例 */ private cmpInstance; private localeService; constructor(notifyService: NotifyService, controlService: ControlService, refreshFormService: RefreshFormService, domService: DomService, injector: Injector, parentRowNode: RowNode); /** * 添加子级 */ addChildContent(cmpInstance: FarrisDesignBaseComponent, menuConfig: ControlContextMenuItem, rowNode: RowNode): void; /** * 右键选中Tab:支持添加空标签页、列表组件、附件上传预览组件(后两者默认添加到新标签页) * @param menuItem 右键配置 */ private childContentAddedToTab; /** * 右键选中TabPage:支持添加列表组件、附件上传预览组件(在当前TabPage下添加) * @param menuItem 右键配置 * @param rightMenuElement 控件树右键的控件节点 */ private childContentAddedToTabPage; /** * 右键创建空标签页 */ private createEmptyTabPage; /** * 将组件相关节点插入DOM * @param componentBindingSourceContext 组件构造信息 * @param componentRefParentNode 组件引用节点的父节点 */ private insertComponent; /** * 检查是否存在同类型的组件 */ private checkComponentExisted; }