ngx-pwd-strength
Version:
Angular Package, that measure password strength and indicate how secure is it
29 lines (28 loc) • 1.17 kB
TypeScript
import { ElementRef, OnDestroy, OnInit } from '@angular/core';
import { NgxPwdStrengthService } from "./ngx-pwd-strength.service";
import { Subscription } from "rxjs";
import { PwdScore } from "./types";
import * as i0 from "@angular/core";
export declare class NgxPwdStrengthComponent implements OnInit, OnDestroy {
private ngxPwdStrengthService;
private elementRef;
display: boolean;
pwdScore: PwdScore | null;
subscription: Subscription;
popupOffset: number;
popupPosition: string;
data: any;
hostStyleTop: string;
hostStyleLeft: string;
hostStyleWidth: string;
constructor(ngxPwdStrengthService: NgxPwdStrengthService, elementRef: ElementRef);
ngOnInit(): void;
set show(value: boolean);
get show(): boolean;
get element(): any;
get elementPosition(): DOMRect;
setHostPosition(position: string): void;
ngOnDestroy(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<NgxPwdStrengthComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<NgxPwdStrengthComponent, "lib-ngx-pwd-strength", never, { "data": "data"; "show": "show"; }, {}, never, never>;
}