import { OnInit } from '@angular/core'; import { NotifyService } from '@farris/ui-notify'; import { TreeTableComponent } from '@farris/ui-treetable'; import { ValueItem, ResourceData } from '../template-editor.interface'; import { InputConverter } from '../grid-editor/input-converter.service'; export declare class UniInputComponent implements OnInit { private notifyService; private inputConverter; _resourceData: ResourceData; resourceData: ResourceData; item: ValueItem; dialog: any; inputTypeRadioData: any[]; inputType: string; lastInputType: string; curComboListItem: any; customValue: string; enableI18N: boolean; comboValue: string; treeData: any[]; treeCols: any[]; treeTable: TreeTableComponent; fieldsTreeCols: { field: string; title: string; }[]; variableTreeCols: { field: string; title: string; }[]; modalFooter: any; customInput: any; constructor(notifyService: NotifyService, inputConverter: InputConverter); ngOnInit(): void; private resetEnableI18N; private initComponentValue; private setInputTypeRadioData; /** * 字段/变量是否可选中 * @param rowNode 行数据 */ canChecked(rowNode: any): any; changeInputType(): void; /** * 获取切换到自定义类型之前的编辑值,方便用户继续编辑 * @todo 此方法可维护性差,需要与下面的confirm合并为一份代码 */ private getLastValue; comboListValueChange($event: any): void; /** 处理确定按钮点击 */ confirm(): void; /** * 处理输入类型为字段、组件/表单变量时的确认事件 * @returns 是否成功 */ private handleTreeDataConfirm; close(): void; }