diff --git a/src/app/ib-support/feedback-setup/feedback-setup.component.html b/src/app/ib-support/feedback-setup/feedback-setup.component.html index d33b163..9deeeda 100644 --- a/src/app/ib-support/feedback-setup/feedback-setup.component.html +++ b/src/app/ib-support/feedback-setup/feedback-setup.component.html @@ -1 +1,126 @@ -

feedback-setup works!

+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+ {{'credentialsTitle' | translate}} +
+
+
+
+
+
+ +
+
+ + + +
+ +
+
+
+

{{'2-stepAppPassword' | translate}}

+
+
+
+
+ +
+ + + + + +
+
+
+ +
+
+
+
+ +
+ + + + +
+
+
+
+ +
+
+
+
+ + + +
+
+ + +
+
+
+
+
+
+
+
+
+
+
+ +
+
+
\ No newline at end of file diff --git a/src/app/ib-support/feedback-setup/feedback-setup.component.ts b/src/app/ib-support/feedback-setup/feedback-setup.component.ts index 240dadc..c16cab8 100644 --- a/src/app/ib-support/feedback-setup/feedback-setup.component.ts +++ b/src/app/ib-support/feedback-setup/feedback-setup.component.ts @@ -1,11 +1,28 @@ -import { Component } from '@angular/core'; +import { CommonModule } from '@angular/common'; +import { Component, ViewChild } from '@angular/core'; +import { FormsModule, ReactiveFormsModule } from '@angular/forms'; +import { NgSelectComponent } from '@ng-select/ng-select'; +import { TranslateModule } from '@ngx-translate/core'; +import { pageSizeOptions } from '../../utils/app.constants'; +import { PasswordHideShowComponent } from '../../shared/components/password-hide-show/password-hide-show.component'; @Component({ selector: 'app-feedback-setup', - imports: [], + imports: [TranslateModule, ReactiveFormsModule, FormsModule, CommonModule, PasswordHideShowComponent], templateUrl: './feedback-setup.component.html', styleUrl: './feedback-setup.component.scss' }) export class FeedbackSetupComponent { + @ViewChild('psh') passwordHideShow ?: PasswordHideShowComponent + @ViewChild('cpsh') confirmPasswordHideShow ?: PasswordHideShowComponent + passwordType: string = 'password'; + confirmPasswordType: string = 'password'; + + togglePasswordType(){ + this.passwordType = this.passwordHideShow?.showPassword ? 'password' : 'text'; + } + toggleConfirmPasswordType(){ + this.confirmPasswordType = this.confirmPasswordHideShow?.showPassword ? 'password' : 'text'; + } }