import { RhPortType } from 'rh-base/model';
import { RhDynamicFieldType, RhSelectableDto, RhDynamicInterfaceDto } from 'rh-base/model';
import { OnInit, OnChanges, SimpleChanges, EventEmitter } from '@angular/core';
import * as i0 from "@angular/core";
/**
* 可编辑的输入框
* @usage
*
*
*/
export declare class RhEditableFieldComponent implements OnInit, OnChanges {
/** 悬浮时展示的模板 */
rhIconvisible: boolean;
/** hover是否显示 */
rhExtraVisible: boolean;
/** 管道格式化 */
rhPipe: string;
rhData: RhSelectableDto & {
oldValue: number | string;
};
rhField: string;
rhSourceConfig: RhDynamicInterfaceDto;
/**
* 输入控件类型
* @description 当输入控价类型是`array`时,必须指定`rhPort`/`rhController`/`rhInterface`
*/
rhType: RhDynamicFieldType;
/** 是否关键字段,默认关键字段才会展示悬浮模板`rhExtraTpl` */
rhKey: boolean;
rhPlaceHolder: string;
/** 点击确认修改的回调 */
rhValueChange: EventEmitter;
rhPort: RhPortType;
rhController: string;
rhInterface: string;
rhMax: number;
rhMin: number;
rhEditable: boolean;
oldValue: string | number;
ngOnInit(): void;
ngOnChanges(changes: SimpleChanges): void;
enableEdit(): void;
check($event: Event): void;
close($event: Event): void;
/** */
private setPipeSetting;
private reset;
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵcmp: i0.ɵɵComponentDeclaration;
}