UNPKG

@taiga-ui/kit

Version:
24 lines (23 loc) 1.17 kB
import { ChangeDetectorRef } from '@angular/core'; import { NgControl } from '@angular/forms'; import { AbstractTuiControl, TuiFocusableElementAccessor, TuiNativeFocusableElement } from '@taiga-ui/cdk'; import { TuiTextfieldSizeDirective } from '@taiga-ui/core'; import { Observable } from 'rxjs'; export declare class TuiInputPasswordComponent extends AbstractTuiControl<string> implements TuiFocusableElementAccessor { private readonly textfieldSize; readonly passwordTexts$: Observable<[string, string]>; isPasswordHidden: boolean; private readonly textfield?; constructor(control: NgControl | null, changeDetectorRef: ChangeDetectorRef, textfieldSize: TuiTextfieldSizeDirective, passwordTexts$: Observable<[string, string]>); get nativeFocusableElement(): TuiNativeFocusableElement | null; get focused(): boolean; get icon(): string; get inputType(): string; get hasEyeIcon(): boolean; onValueChange(textValue: string): void; onFocused(focused: boolean): void; onHovered(hovered: boolean): void; onPressed(pressed: boolean): void; togglePasswordVisibility(): void; protected getFallbackValue(): string; }