tango-app-ui-auth 3.0.18-dev → 3.0.19-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/components/tango-auth-forgot-password/tango-auth-forgot-password.component.mjs +105 -13
- package/esm2022/lib/components/tango-auth-login/tango-auth-login.component.mjs +8 -3
- package/esm2022/lib/services/auth.service.mjs +15 -6
- package/fesm2022/tango-app-ui-auth.mjs +139 -35
- package/fesm2022/tango-app-ui-auth.mjs.map +1 -1
- package/lib/components/tango-auth-forgot-password/tango-auth-forgot-password.component.d.ts +17 -3
- package/lib/services/auth.service.d.ts +6 -4
- package/package.json +1 -1
@@ -1,15 +1,29 @@
|
|
1
|
+
import { AbstractControl, FormBuilder, FormControl, FormGroup } from '@angular/forms';
|
1
2
|
import { ToastService } from 'tango-app-ui-shared';
|
3
|
+
import { AuthService } from '../../services/auth.service';
|
4
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
2
5
|
import * as i0 from "@angular/core";
|
3
6
|
export declare class TangoAuthForgotPasswordComponent {
|
4
7
|
private toast;
|
8
|
+
private authService;
|
9
|
+
private activatedRoute;
|
10
|
+
private fb;
|
11
|
+
private router;
|
5
12
|
emailEnable: boolean;
|
6
13
|
OTP: any;
|
7
14
|
passwordEnable: boolean;
|
8
|
-
|
15
|
+
newPasswordShow: boolean;
|
16
|
+
verifyPasswordShow: boolean;
|
9
17
|
confirmPasswordShow: boolean;
|
10
|
-
|
18
|
+
email: FormControl<string | null>;
|
19
|
+
PasswordForm: FormGroup;
|
20
|
+
constructor(toast: ToastService, authService: AuthService, activatedRoute: ActivatedRoute, fb: FormBuilder, router: Router);
|
21
|
+
validateAreEqual(fieldControl: AbstractControl<any>): {
|
22
|
+
NotEqual: boolean;
|
23
|
+
} | null;
|
11
24
|
onSubmit(): void;
|
12
|
-
|
25
|
+
showNewPassword(): void;
|
26
|
+
showVerifyPassword(): void;
|
13
27
|
showConfirmPassword(): void;
|
14
28
|
onPasswordSubmit(): void;
|
15
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<TangoAuthForgotPasswordComponent, never>;
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { HttpClient } from
|
2
|
-
import { Router } from
|
3
|
-
import { BehaviorSubject, Observable } from
|
4
|
-
import { GlobalStateService } from
|
1
|
+
import { HttpClient } from "@angular/common/http";
|
2
|
+
import { Router } from "@angular/router";
|
3
|
+
import { BehaviorSubject, Observable } from "rxjs";
|
4
|
+
import { GlobalStateService } from "tango-app-ui-global";
|
5
5
|
import * as i0 from "@angular/core";
|
6
6
|
export declare class AuthService {
|
7
7
|
private router;
|
@@ -33,6 +33,8 @@ export declare class AuthService {
|
|
33
33
|
getAllCountries(): Observable<any>;
|
34
34
|
handleError(res: any): Observable<never>;
|
35
35
|
getPricing(data: any): Observable<any>;
|
36
|
+
forgotPasswordTrigger(params: any): Observable<any>;
|
37
|
+
forgotPassword(data: any): Observable<any>;
|
36
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<AuthService, never>;
|
37
39
|
static ɵprov: i0.ɵɵInjectableDeclaration<AuthService>;
|
38
40
|
}
|