import { OnInit, OnDestroy } from '@angular/core'; import { FormGroup, FormControl } from '@angular/forms'; import { DynamicField } from '../fields'; import { Subscription } from 'rxjs'; /** * Base class for Dynamic Fields */ export declare class BaseDynamicFieldComponent implements OnInit, OnDestroy { field: T; form: FormGroup; editing: boolean; isHorizontal: boolean; labelWidth: number; control: FormControl; visible: boolean; hideLabelOnEdit: boolean; subscriptions: Subscription; /** If true, the read-only state will show the value obtained from the formattedValue method; * otherwise, will keep the component to manage this behavior. */ useFormattedValueOnReadonly: boolean; constructor(); ngOnInit(): void; ngOnDestroy(): void; /** * Property to be used as the Form Element ID */ readonly elementId: string; readonly instance: BaseDynamicFieldComponent; readonly isOptional: boolean; readonly isEditing: boolean; readonly formattedValue: string; displayFieldCss(): { [k: string]: boolean; }; }