import { ChangeDetectorRef, ElementRef, EventEmitter, OnInit } from '@angular/core'; import { AbstractControl } from '@angular/forms'; import { Observable } from 'rxjs'; import { AnnotationIndicatorStatus } from '@mtna/annotations-ui'; import { FormItemGroupImpl, FormItemImpl, RepeatableItem } from '../../models/form/index'; import { MtnaWfUIService } from '../core/services/ui.service'; import { FormStep } from '../form-stepper/form-step.model'; /** * Component that wraps an MtnaForm item. * * ChangeDetectionStrategy.OnPush was not working as of 9/19/2018. * Dynamic components in the ValueItemComponent were not being initialized (ngOnInit was never called). * * @export */ export declare class FormItemComponent implements OnInit { private cdr; private _elementRef; private uiService; visible: boolean; readonly elementId: string; item: FormItemImpl | RepeatableItem | FormItemGroupImpl; readonly: boolean; control: AbstractControl; parentIds: string[]; step: FormStep; focusedSection: EventEmitter; annotations$: Observable; indicatorStatus: AnnotationIndicatorStatus; constructor(cdr: ChangeDetectorRef, _elementRef: ElementRef, uiService: MtnaWfUIService); ngOnInit(): void; }