tango-app-ui-auth 3.1.1-dev → 3.1.3-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 +9 -6
- package/esm2022/lib/components/tango-auth-login/tango-auth-login.component.mjs +9 -6
- package/esm2022/lib/components/tango-auth-signup/step/step1/step1.component.mjs +8 -3
- package/esm2022/lib/components/tango-auth-signup/step/step2/step2.component.mjs +87 -55
- package/esm2022/lib/components/tango-auth-signup/step/step3/step3.component.mjs +3 -3
- package/esm2022/lib/components/tango-auth-signup/tango-auth-signup.component.mjs +14 -10
- package/fesm2022/tango-app-ui-auth.mjs +114 -69
- package/fesm2022/tango-app-ui-auth.mjs.map +1 -1
- package/lib/components/tango-auth-forgot-password/tango-auth-forgot-password.component.d.ts +3 -1
- package/lib/components/tango-auth-login/tango-auth-login.component.d.ts +3 -2
- package/lib/components/tango-auth-signup/step/step1/step1.component.d.ts +1 -0
- package/lib/components/tango-auth-signup/step/step2/step2.component.d.ts +2 -0
- package/lib/components/tango-auth-signup/tango-auth-signup.component.d.ts +3 -1
- package/package.json +1 -1
@@ -2,6 +2,7 @@ import { AbstractControl, FormBuilder, FormControl, FormGroup } from '@angular/f
|
|
2
2
|
import { ToastService } from 'tango-app-ui-shared';
|
3
3
|
import { AuthService } from '../../services/auth.service';
|
4
4
|
import { ActivatedRoute, Router } from '@angular/router';
|
5
|
+
import { PageInfoService } from 'tango-app-ui-global';
|
5
6
|
import * as i0 from "@angular/core";
|
6
7
|
export declare class TangoAuthForgotPasswordComponent {
|
7
8
|
private toast;
|
@@ -9,6 +10,7 @@ export declare class TangoAuthForgotPasswordComponent {
|
|
9
10
|
private activatedRoute;
|
10
11
|
private fb;
|
11
12
|
private router;
|
13
|
+
private pageInfo;
|
12
14
|
emailEnable: boolean;
|
13
15
|
OTP: any;
|
14
16
|
passwordEnable: boolean;
|
@@ -17,7 +19,7 @@ export declare class TangoAuthForgotPasswordComponent {
|
|
17
19
|
confirmPasswordShow: boolean;
|
18
20
|
email: FormControl<string | null>;
|
19
21
|
PasswordForm: FormGroup;
|
20
|
-
constructor(toast: ToastService, authService: AuthService, activatedRoute: ActivatedRoute, fb: FormBuilder, router: Router);
|
22
|
+
constructor(toast: ToastService, authService: AuthService, activatedRoute: ActivatedRoute, fb: FormBuilder, router: Router, pageInfo: PageInfoService);
|
21
23
|
validateAreEqual(fieldControl: AbstractControl<any>): {
|
22
24
|
NotEqual: boolean;
|
23
25
|
} | null;
|
@@ -2,7 +2,7 @@ import { ChangeDetectorRef, ElementRef, OnDestroy, OnInit } from '@angular/core'
|
|
2
2
|
import { FormBuilder } from '@angular/forms';
|
3
3
|
import { ActivatedRoute, Router } from '@angular/router';
|
4
4
|
import { AuthService } from '../../services/auth.service';
|
5
|
-
import { GlobalStateService } from 'tango-app-ui-global';
|
5
|
+
import { GlobalStateService, PageInfoService } from 'tango-app-ui-global';
|
6
6
|
import { ToastService } from 'tango-app-ui-shared';
|
7
7
|
import * as i0 from "@angular/core";
|
8
8
|
export declare class TangoAuthLoginComponent implements OnInit, OnDestroy {
|
@@ -13,6 +13,7 @@ export declare class TangoAuthLoginComponent implements OnInit, OnDestroy {
|
|
13
13
|
private gs;
|
14
14
|
private cd;
|
15
15
|
private toastService;
|
16
|
+
private pageInfo;
|
16
17
|
defaultAuth: any;
|
17
18
|
hasError: boolean;
|
18
19
|
returnUrl: string;
|
@@ -25,7 +26,7 @@ export declare class TangoAuthLoginComponent implements OnInit, OnDestroy {
|
|
25
26
|
passwordInputRef: ElementRef;
|
26
27
|
private authlocalStorageToken;
|
27
28
|
private readonly destroy$;
|
28
|
-
constructor(router: Router, route: ActivatedRoute, fb: FormBuilder, service: AuthService, gs: GlobalStateService, cd: ChangeDetectorRef, toastService: ToastService);
|
29
|
+
constructor(router: Router, route: ActivatedRoute, fb: FormBuilder, service: AuthService, gs: GlobalStateService, cd: ChangeDetectorRef, toastService: ToastService, pageInfo: PageInfoService);
|
29
30
|
ngOnInit(): void;
|
30
31
|
ngOnDestroy(): void;
|
31
32
|
initForm(): void;
|
@@ -36,6 +36,7 @@ export declare class Step1Component implements OnDestroy {
|
|
36
36
|
nextStep(): void;
|
37
37
|
showPassword(): void;
|
38
38
|
showConfirmPassword(): void;
|
39
|
+
omit_special_char(event: any): boolean;
|
39
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<Step1Component, never>;
|
40
41
|
static ɵcmp: i0.ɵɵComponentDeclaration<Step1Component, "lib-step1", never, {}, {}, never, never, false, never>;
|
41
42
|
}
|
@@ -37,6 +37,8 @@ export declare class Step2Component implements OnDestroy, OnInit {
|
|
37
37
|
subscriptions: Subscription[];
|
38
38
|
selectedFeetArea: any;
|
39
39
|
pricingData: any;
|
40
|
+
enable: boolean;
|
41
|
+
currency: any;
|
40
42
|
constructor(modalService: NgbModal, setterservice: ConversionService, authservice: AuthService, fb: FormBuilder, cd: ChangeDetectorRef, toastService: ToastService);
|
41
43
|
ngOnInit(): void;
|
42
44
|
ngOnDestroy(): void;
|
@@ -1,16 +1,18 @@
|
|
1
1
|
import { OnDestroy, OnInit } from '@angular/core';
|
2
2
|
import { ConversionService } from './step/services/conversion.service';
|
3
3
|
import { BehaviorSubject, Subscription } from 'rxjs';
|
4
|
+
import { PageInfoService } from 'tango-app-ui-global';
|
4
5
|
import * as i0 from "@angular/core";
|
5
6
|
export declare class TangoAuthSignupComponent implements OnInit, OnDestroy {
|
6
7
|
private setterService;
|
8
|
+
private pageInfo;
|
7
9
|
formsCount: number;
|
8
10
|
account$: BehaviorSubject<any>;
|
9
11
|
currentStep$: BehaviorSubject<number>;
|
10
12
|
isCurrentFormValid$: BehaviorSubject<boolean>;
|
11
13
|
prevStepdata: any;
|
12
14
|
subscriptions: Subscription[];
|
13
|
-
constructor(setterService: ConversionService);
|
15
|
+
constructor(setterService: ConversionService, pageInfo: PageInfoService);
|
14
16
|
ngOnDestroy(): void;
|
15
17
|
ngOnInit(): void;
|
16
18
|
updateAccount: (part: Partial<any>, isFormValid: boolean) => void;
|