leaf-framework
Version:
Light Everis Angular Frontend Framework
20 lines (19 loc) • 743 B
TypeScript
import { OnInit } from '@angular/core';
import { Router, ActivatedRoute } from '@angular/router';
import { FormBuilder, FormGroup, FormControl } from '@angular/forms';
import { AuthService } from '../../services/auth.service';
export declare class LoginComponent implements OnInit {
private formBuilder;
private route;
private router;
private authService;
f: FormGroup;
authError: string | null;
loading: boolean;
constructor(formBuilder: FormBuilder, route: ActivatedRoute, router: Router, authService: AuthService);
ngOnInit(): void;
isInvalid(control: FormControl): boolean;
errorClass(control: FormControl): any;
login(): void;
showAuthError(message: string): void;
}