UNPKG

@controladad/ng-base

Version:
30 lines (29 loc) 1.08 kB
import { OnInit } from '@angular/core'; import { ButtonClickEvent } from '../../ui'; import * as i0 from "@angular/core"; interface LoginFormGroup { username: string; password: string; rememberMe: boolean; } export interface LoginFormOptions { hideRememberMe?: boolean; routeTo?: string | null | false; beforeLoginAction?: () => void; afterLoginAction?: () => void; } export declare class CacLoginFormComponent implements OnInit { private readonly auth; private readonly router; options: LoginFormOptions; logo: { url: string; alt: string; }; formBuilder: import("../form-builder").FormBuilder<LoginFormGroup, LoginFormGroup>; ngOnInit(): void; login(e: ButtonClickEvent): void; static ɵfac: i0.ɵɵFactoryDeclaration<CacLoginFormComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<CacLoginFormComponent, "cac-login-form", never, { "options": { "alias": "options"; "required": false; }; "logo": { "alias": "logo"; "required": false; }; }, {}, never, never, true, never>; } export {};