import { ChangeDetectorRef, Injector, OnChanges, SimpleChange, SimpleChanges } from '@angular/core'; import { FormControl } from '@angular/forms'; import { SampleComponentBaseDirective } from '../component-base'; import { IYoyoConfig, IErrorDef } from '../common'; import * as i0 from "@angular/core"; export declare class ValidationMessagesComponent extends SampleComponentBaseDirective implements OnChanges { cdr: ChangeDetectorRef; appConfig: IYoyoConfig; private _formCtrlInited; /** 表单控件 */ formCtrl: FormControl; /** 自定义错误 */ customErrors: IErrorDef[]; /** 所有异常 */ errorSource: any; /** 页面异常信息 */ viewErrors: string[]; constructor(injector: Injector, cdr: ChangeDetectorRef, appConfig: IYoyoConfig); ngOnChanges(changes: { [P in keyof this]?: SimpleChange; } & SimpleChanges): void; /** 更新所有定义的错误 */ private updateErrorSource; /** 更新视图错误 */ private updateViewError; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }