UNPKG

ngx-pwd-strength

Version:

Angular Package, that measure password strength and indicate how secure is it

27 lines (26 loc) 1.23 kB
import { ApplicationRef, ComponentFactoryResolver, ElementRef, Injector } from '@angular/core'; import { DOMRect } from "./types"; import { NgxPwdStrengthService } from "./ngx-pwd-strength.service"; import * as i0 from "@angular/core"; export declare class NgxPwdStrengthDirective { private ngxPwdStrengthService; private elementRef; private componentFactoryResolver; private appRef; private injector; hostPosition: DOMRect; componentRef: any; constructor(ngxPwdStrengthService: NgxPwdStrengthService, elementRef: ElementRef, componentFactoryResolver: ComponentFactoryResolver, appRef: ApplicationRef, injector: Injector); get isPopupDestroyed(): boolean; getHostPosition(): void; onMouseEnter(value: any): void; onInput(value: string): void; onMouseLeave(): void; ratePassword(password: string): void; displayPopup(): void; buildPopup(): void; loadComponent(component: any): void; destroyPopup(): void; static ɵfac: i0.ɵɵFactoryDeclaration<NgxPwdStrengthDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<NgxPwdStrengthDirective, "input[type=password][ngxPwdStrength]", ["ngxPwdStrength"], {}, {}, never>; }