UNPKG

@ngspot/ngx-errors

Version:

<p align="center"> <img width="20%" height="20%" src="https://github.com/DmitryEfimenko/ngspot/blob/main/packages/ngx-errors/package/assets/logo.png?raw=true"> </p>

24 lines (23 loc) 1.62 kB
import { AbstractControl, FormGroupDirective, NgForm } from '@angular/forms'; import { IErrorStateMatcher } from './custom-error-state-matchers'; import * as i0 from "@angular/core"; export declare class ShowOnTouchedErrorStateMatcher implements IErrorStateMatcher { isErrorState(control: AbstractControl | null, form: FormGroupDirective | NgForm | null): boolean; static ɵfac: i0.ɵɵFactoryDeclaration<ShowOnTouchedErrorStateMatcher, never>; static ɵprov: i0.ɵɵInjectableDeclaration<ShowOnTouchedErrorStateMatcher>; } export declare class ShowOnDirtyErrorStateMatcher implements IErrorStateMatcher { isErrorState(control: AbstractControl | null, form: FormGroupDirective | NgForm | null): boolean; static ɵfac: i0.ɵɵFactoryDeclaration<ShowOnDirtyErrorStateMatcher, never>; static ɵprov: i0.ɵɵInjectableDeclaration<ShowOnDirtyErrorStateMatcher>; } export declare class ShowOnTouchedAndDirtyErrorStateMatcher implements IErrorStateMatcher { isErrorState(control: AbstractControl | null, form: FormGroupDirective | NgForm | null): boolean; static ɵfac: i0.ɵɵFactoryDeclaration<ShowOnTouchedAndDirtyErrorStateMatcher, never>; static ɵprov: i0.ɵɵInjectableDeclaration<ShowOnTouchedAndDirtyErrorStateMatcher>; } export declare class ShowOnSubmittedErrorStateMatcher implements IErrorStateMatcher { isErrorState(control: AbstractControl | null, form: FormGroupDirective | NgForm | null): boolean; static ɵfac: i0.ɵɵFactoryDeclaration<ShowOnSubmittedErrorStateMatcher, never>; static ɵprov: i0.ɵɵInjectableDeclaration<ShowOnSubmittedErrorStateMatcher>; }