import { UpdatePasswordDto, RhLoginedUserDto, RhSafeAny } from 'rh-base/model'; import { RhStorageService } from 'rh-base/core'; import { OnInit, EventEmitter } from '@angular/core'; import { UntypedFormGroup, UntypedFormBuilder, UntypedFormControl } from '@angular/forms'; import { RhAacService } from '../../aac.service'; import * as i0 from "@angular/core"; interface IUpdatePassword { /** 用户英文名称 */ UserName: string; } export declare class UpdatePasswordSnippetComponent implements OnInit { fb: UntypedFormBuilder; operator: RhAacService; localDb: RhStorageService; updatePasswordDto: UpdatePasswordDto | RhSafeAny; updatePasswordForm: UntypedFormGroup; newPwd: null; isShowUpdatePasswordModal: boolean; updateLoading: boolean; /** 密码输入框是否显示明文 */ oldpasswordVisible: boolean; newpasswordVisible: boolean; newpasswordVisible2: boolean; userAccountInfo: IUpdatePassword | null; closeSign: EventEmitter; user: RhLoginedUserDto; isCorrectPwd: boolean; constructor(fb: UntypedFormBuilder, operator: RhAacService, localDb: RhStorageService); ngOnInit(): void; initUpdatePasswordDto(): UpdatePasswordDto; confirmValidator: (control: UntypedFormControl) => { [s: string]: boolean; }; createUpdatePasswordForm(dto: UpdatePasswordDto): void; submitUpdatePasswordForm($event: Event): void; resetUpdatePasswordForm($event: Event | null): void; checkUserPassword(): void; updatePassword(dto: UpdatePasswordDto): void; openUpdatePasswordModal(item: IUpdatePassword): void; closeUpdatePasswordModal(): void; /** 是否启用新密码和重复新密码输入框 */ private changePwdControlStatus; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export {};