|
|
|
@ -3,9 +3,6 @@ import { Component, OnInit, ViewChild } from '@angular/core';
|
|
|
|
import { AbstractControl, FormBuilder, FormControl, FormGroup, FormsModule, ReactiveFormsModule, ValidationErrors, Validators } from '@angular/forms';
|
|
|
|
import { AbstractControl, FormBuilder, FormControl, FormGroup, FormsModule, ReactiveFormsModule, ValidationErrors, Validators } from '@angular/forms';
|
|
|
|
import { TranslateModule } from '@ngx-translate/core';
|
|
|
|
import { TranslateModule } from '@ngx-translate/core';
|
|
|
|
import { PasswordHideShowComponent } from '../../shared/components/password-hide-show/password-hide-show.component';
|
|
|
|
import { PasswordHideShowComponent } from '../../shared/components/password-hide-show/password-hide-show.component';
|
|
|
|
import { StorageService } from '../../shared/services/storage.service';
|
|
|
|
|
|
|
|
import { Router } from '@angular/router';
|
|
|
|
|
|
|
|
import { URIService } from '../../app.uri';
|
|
|
|
|
|
|
|
import { HttpURIService } from '../../app.http.uri.service';
|
|
|
|
import { HttpURIService } from '../../app.http.uri.service';
|
|
|
|
import { URIKey } from '../../utils/uri-enums';
|
|
|
|
import { URIKey } from '../../utils/uri-enums';
|
|
|
|
|
|
|
|
|
|
|
|
@ -29,7 +26,7 @@ passwordType2: string = 'password';
|
|
|
|
@ViewChild('psh') passwordHideShow?: PasswordHideShowComponent;
|
|
|
|
@ViewChild('psh') passwordHideShow?: PasswordHideShowComponent;
|
|
|
|
@ViewChild('psh1') passwordHideShow1 ?: PasswordHideShowComponent;
|
|
|
|
@ViewChild('psh1') passwordHideShow1 ?: PasswordHideShowComponent;
|
|
|
|
@ViewChild('psh2') passwordHideShow2 ?: PasswordHideShowComponent;
|
|
|
|
@ViewChild('psh2') passwordHideShow2 ?: PasswordHideShowComponent;
|
|
|
|
constructor(private fb: FormBuilder, private uriService: URIService, private httpURIService: HttpURIService){}
|
|
|
|
constructor(private fb: FormBuilder, private httpURIService: HttpURIService){}
|
|
|
|
|
|
|
|
|
|
|
|
togglePasswordType() {
|
|
|
|
togglePasswordType() {
|
|
|
|
this.passwordType = this.passwordHideShow?.showPassword ? 'password' : 'text';
|
|
|
|
this.passwordType = this.passwordHideShow?.showPassword ? 'password' : 'text';
|
|
|
|
|