import { OnChanges, SimpleChanges } from '@angular/core'; import { RhSelectItem, RhDynamicFieldType, RhSelectableDto, RhDisplayMode, RhPortType } from 'rh-base/model'; import { RhBooleanPipe, RhSelectItemPipe } from '../../../pipes/index'; import { DecimalPipe } from '@angular/common'; import * as i0 from "@angular/core"; export declare class ListFieldComponent implements OnChanges { private selectItemPipe; private decimalPipe; private boolPipe; /** 管道格式化 */ rhPipe: string; /** 设置使用数据源管道格式化 */ rhPipeDatas: RhSelectItem[]; /** 对应的description数据 */ rhData: RhSelectableDto; /** description字段名称 */ rhField: string; /** 默认值 */ rhDefaultValue: string; /** 显示模式 */ rhDisplayMode: RhDisplayMode; /** 字段中文名称 */ rhDisplayName: string; /** 显示值 */ displayValue: string | number; /** * 输入控件类型 * @description 当输入控价类型是`array`时,必须指定`rhPort`/`rhController`/`rhInterface` */ rhType: RhDynamicFieldType; rhPort: RhPortType; rhController: string; rhInterface: string; rhColor: string; constructor(selectItemPipe: RhSelectItemPipe, decimalPipe: DecimalPipe, boolPipe: RhBooleanPipe); ngOnChanges(changes: SimpleChanges): void; /** */ private setDisplayValue; /** `selector`展示模式,默认为`2` * @description * `0`表示展示`Value`和`Text`; * `1`表示只展示`Value`; * `2`表示只展示`Text`; * `3`表示展示`Text`和`Value`; */ getDisplayNameByMode(mode: RhDisplayMode, name: string, value: string): string; private setFnData; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }