tango-app-ui-auth 3.4.0-alpha.1 → 3.5.0-beta.1
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/tango-auth.component.mjs +3 -3
- package/esm2022/lib/components/tango-auth-forgot-password/tango-auth-forgot-password.component.mjs +5 -5
- package/esm2022/lib/components/tango-auth-login/tango-auth-login.component.mjs +37 -25
- package/esm2022/lib/components/tango-auth-signup/step/calendly-modal/calendly-modal.component.mjs +3 -3
- package/esm2022/lib/components/tango-auth-signup/step/modal-content/modal-content.component.mjs +3 -3
- package/esm2022/lib/components/tango-auth-signup/step/services/conversion.service.mjs +3 -3
- package/esm2022/lib/components/tango-auth-signup/step/step1/step1.component.mjs +19 -10
- package/esm2022/lib/components/tango-auth-signup/step/step2/step2.component.mjs +37 -19
- package/esm2022/lib/components/tango-auth-signup/step/step3/step3.component.mjs +4 -4
- package/esm2022/lib/components/tango-auth-signup/tango-auth-signup.component.mjs +26 -11
- package/esm2022/lib/components/tango-auth-signup/vertical/vertical.component.mjs +6 -5
- package/esm2022/lib/guards/auth.guard.mjs +3 -3
- package/esm2022/lib/services/auth.service.mjs +6 -6
- package/esm2022/lib/tango-auth-routing.module.mjs +4 -4
- package/esm2022/lib/tango-auth.module.mjs +4 -4
- package/fesm2022/tango-app-ui-auth.mjs +149 -96
- package/fesm2022/tango-app-ui-auth.mjs.map +1 -1
- package/lib/components/tango-auth-login/tango-auth-login.component.d.ts +3 -1
- package/lib/components/tango-auth-signup/step/step2/step2.component.d.ts +4 -2
- package/lib/components/tango-auth-signup/tango-auth-signup.component.d.ts +6 -2
- package/lib/services/auth.service.d.ts +1 -1
- package/package.json +1 -1
@@ -9,7 +9,7 @@ import dayjs from "dayjs";
|
|
9
9
|
import * as i0 from "@angular/core";
|
10
10
|
declare global {
|
11
11
|
interface Window {
|
12
|
-
|
12
|
+
hj: any;
|
13
13
|
}
|
14
14
|
}
|
15
15
|
export declare class TangoAuthLoginComponent implements OnInit, OnDestroy {
|
@@ -43,7 +43,9 @@ export declare class TangoAuthLoginComponent implements OnInit, OnDestroy {
|
|
43
43
|
ngOnInit(): void;
|
44
44
|
ngOnDestroy(): void;
|
45
45
|
initForm(): void;
|
46
|
+
loginAttemptCount: number;
|
46
47
|
onLogin(resend?: boolean): void;
|
48
|
+
handleLoginError(err?: any): void;
|
47
49
|
userProfile(): void;
|
48
50
|
showPassword(): void;
|
49
51
|
onOtpChange(event: any): void;
|
@@ -54,9 +54,11 @@ export declare class Step2Component implements OnDestroy, OnInit {
|
|
54
54
|
close(): void;
|
55
55
|
continuesignup(): void;
|
56
56
|
openCalendlyModal(): void;
|
57
|
+
products: any;
|
58
|
+
getTrueKeys(obj: any): any;
|
59
|
+
toggleKey(obj: any, key: any): any;
|
57
60
|
getPricingData(): void;
|
58
|
-
|
59
|
-
onPriceChange(): void;
|
61
|
+
onPriceChange(key: any): void;
|
60
62
|
checkIfAtleastOneSelected(product: string): boolean;
|
61
63
|
static ɵfac: i0.ɵɵFactoryDeclaration<Step2Component, never>;
|
62
64
|
static ɵcmp: i0.ɵɵComponentDeclaration<Step2Component, "lib-step2", never, {}, {}, never, never, false, never>;
|
@@ -1,18 +1,22 @@
|
|
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
|
+
import { GlobalStateService, PageInfoService } from 'tango-app-ui-global';
|
5
|
+
import { Router } from '@angular/router';
|
5
6
|
import * as i0 from "@angular/core";
|
6
7
|
export declare class TangoAuthSignupComponent implements OnInit, OnDestroy {
|
7
8
|
private setterService;
|
8
9
|
private pageInfo;
|
10
|
+
private gs;
|
11
|
+
private router;
|
9
12
|
formsCount: number;
|
10
13
|
account$: BehaviorSubject<any>;
|
11
14
|
currentStep$: BehaviorSubject<number>;
|
12
15
|
isCurrentFormValid$: BehaviorSubject<boolean>;
|
13
16
|
prevStepdata: any;
|
14
17
|
subscriptions: Subscription[];
|
15
|
-
|
18
|
+
authlocalStorageToken: any;
|
19
|
+
constructor(setterService: ConversionService, pageInfo: PageInfoService, gs: GlobalStateService, router: Router);
|
16
20
|
ngOnDestroy(): void;
|
17
21
|
ngOnInit(): void;
|
18
22
|
updateAccount: (part: Partial<any>, isFormValid: boolean) => void;
|
@@ -24,7 +24,7 @@ export declare class AuthService {
|
|
24
24
|
sendSignupOtp(data: any): Observable<any>;
|
25
25
|
signup(data: any): Observable<any>;
|
26
26
|
requestCallback(data: any): Observable<any>;
|
27
|
-
isClientnameTaken(data:
|
27
|
+
isClientnameTaken(data: any): Observable<any>;
|
28
28
|
isEmailTaken(data: string): Observable<any>;
|
29
29
|
isMobileTaken(data: string): Observable<any>;
|
30
30
|
getCountryCodes(): Observable<any>;
|