@obliczeniowo/elementary
Version:
Library made in Angular version 20
37 lines (32 loc) • 1.37 kB
TypeScript
import * as i0 from '@angular/core';
import { ChangeDetectorRef } from '@angular/core';
import * as i2 from '@angular/common';
type PasswordType = 'weryWeak' | 'weak' | 'strong' | 'weryStrong';
declare class PasswordStrengthComponent {
protected change: ChangeDetectorRef;
password: string;
readonly height = 1;
readonly weryWeak: number;
readonly weak: number;
readonly strong: number;
readonly weryStrong: number;
translations: {
weryWeak: string;
weak: string;
strong: string;
weryStrong: string;
};
id: string;
strengthType: PasswordType;
constructor(change: ChangeDetectorRef);
getK(): number;
getStrength(): number;
static ɵfac: i0.ɵɵFactoryDeclaration<PasswordStrengthComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<PasswordStrengthComponent, "obl-password-strength", never, { "password": { "alias": "password"; "required": false; }; }, {}, never, never, false, never>;
}
declare class PasswordModule {
static ɵfac: i0.ɵɵFactoryDeclaration<PasswordModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<PasswordModule, [typeof PasswordStrengthComponent], [typeof i2.CommonModule], [typeof PasswordStrengthComponent]>;
static ɵinj: i0.ɵɵInjectorDeclaration<PasswordModule>;
}
export { PasswordModule, PasswordStrengthComponent };