tango-app-ui-auth 3.0.1 → 3.0.2
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-signup/step/modal-content/modal-content.component.mjs +3 -3
- package/esm2022/lib/components/tango-auth-signup/step/step1/step1.component.mjs +159 -91
- package/esm2022/lib/components/tango-auth-signup/step/step2/step2.component.mjs +132 -24
- package/esm2022/lib/components/tango-auth-signup/step/step3/step3.component.mjs +145 -9
- package/esm2022/lib/components/tango-auth-signup/tango-auth-signup.component.mjs +15 -15
- package/esm2022/lib/components/tango-auth-signup/vertical/vertical.component.mjs +30 -18
- package/esm2022/lib/services/auth.service.mjs +39 -4
- package/esm2022/lib/tango-auth.module.mjs +13 -8
- package/fesm2022/tango-app-ui-auth.mjs +649 -295
- package/fesm2022/tango-app-ui-auth.mjs.map +1 -1
- package/lib/components/tango-auth-signup/step/step1/step1.component.d.ts +23 -7
- package/lib/components/tango-auth-signup/step/step2/step2.component.d.ts +28 -5
- package/lib/components/tango-auth-signup/step/step3/step3.component.d.ts +26 -1
- package/lib/components/tango-auth-signup/tango-auth-signup.component.d.ts +2 -0
- package/lib/components/tango-auth-signup/vertical/vertical.component.d.ts +6 -1
- package/lib/services/auth.service.d.ts +16 -1
- package/lib/tango-auth.module.d.ts +3 -2
- package/package.json +1 -1
@@ -1,14 +1,30 @@
|
|
1
|
+
import { ChangeDetectorRef } from '@angular/core';
|
1
2
|
import { ConversionService } from '../services/conversion.service';
|
2
|
-
import {
|
3
|
+
import { AbstractControl, FormBuilder, FormGroup } from '@angular/forms';
|
4
|
+
import { AuthService } from '../../../../services/auth.service';
|
3
5
|
import * as i0 from "@angular/core";
|
4
6
|
export declare class Step1Component {
|
5
7
|
private setterservice;
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
8
|
+
private fb;
|
9
|
+
private authService;
|
10
|
+
private cd;
|
11
|
+
aboutForm: FormGroup;
|
12
|
+
passwordStrength: string;
|
13
|
+
confirmPasswordStrength: string;
|
14
|
+
isClientNameTaken: any;
|
15
|
+
isEmailTaken: any;
|
16
|
+
isMobileTaken: any;
|
17
|
+
constructor(setterservice: ConversionService, fb: FormBuilder, authService: AuthService, cd: ChangeDetectorRef);
|
18
|
+
initForm(): void;
|
19
|
+
validateAreEqual(fieldControl: AbstractControl<any>): {
|
20
|
+
NotEqual: boolean;
|
21
|
+
} | null;
|
22
|
+
checkPasswordStrength(val: string): Promise<string>;
|
23
|
+
onPasswordChange(event: any): Promise<void>;
|
24
|
+
onConfirmPasswordChange(event: any): Promise<void>;
|
25
|
+
onClientNameBlur(): void;
|
26
|
+
onEmailBlur(): void;
|
27
|
+
onMobileNumberBlur(): void;
|
12
28
|
nextStep(): void;
|
13
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<Step1Component, never>;
|
14
30
|
static ɵcmp: i0.ɵɵComponentDeclaration<Step1Component, "lib-step1", never, {}, {}, never, never, false, never>;
|
@@ -1,10 +1,15 @@
|
|
1
|
+
import { ChangeDetectorRef } from '@angular/core';
|
1
2
|
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
2
|
-
import { BehaviorSubject } from 'rxjs';
|
3
3
|
import { ConversionService } from '../services/conversion.service';
|
4
|
+
import { AuthService } from '../../../../services/auth.service';
|
5
|
+
import { FormBuilder, FormControl, FormGroup } from '@angular/forms';
|
4
6
|
import * as i0 from "@angular/core";
|
5
7
|
export declare class Step2Component {
|
6
8
|
modalService: NgbModal;
|
7
9
|
private setterservice;
|
10
|
+
private authservice;
|
11
|
+
private fb;
|
12
|
+
private cd;
|
8
13
|
storeCounts: any;
|
9
14
|
featAreaOptions: any;
|
10
15
|
selectedCounts: any;
|
@@ -14,14 +19,32 @@ export declare class Step2Component {
|
|
14
19
|
textval: string;
|
15
20
|
pricevalue: boolean;
|
16
21
|
showmore: boolean;
|
17
|
-
|
18
|
-
|
19
|
-
|
22
|
+
freeplan: string;
|
23
|
+
plan: any;
|
24
|
+
Original_price: boolean;
|
25
|
+
requestpopup: boolean;
|
26
|
+
popup: boolean;
|
27
|
+
timevalue: any;
|
28
|
+
featAreaCamera: any;
|
29
|
+
planName: any;
|
30
|
+
productForm: FormGroup;
|
31
|
+
callbackPreferredTiming: string;
|
32
|
+
callbackDescription: FormControl<any>;
|
33
|
+
aboutFormData: any;
|
34
|
+
pricingFormData: any;
|
35
|
+
constructor(modalService: NgbModal, setterservice: ConversionService, authservice: AuthService, fb: FormBuilder, cd: ChangeDetectorRef);
|
36
|
+
initForm(): void;
|
20
37
|
activeStoreCount(data: any): void;
|
21
38
|
activefeatArea(data: any): void;
|
22
39
|
showViewMore(data: any): void;
|
23
|
-
plandet(type: any): void;
|
24
40
|
prevStep(): void;
|
41
|
+
plandet(type: any): void;
|
42
|
+
selectPlan(type: any): void;
|
43
|
+
checkvalue(type: any): void;
|
44
|
+
submitvalue(): void;
|
45
|
+
close(): void;
|
46
|
+
continuesignup(): void;
|
47
|
+
getTrueKeys(obj: any): string[];
|
25
48
|
static ɵfac: i0.ɵɵFactoryDeclaration<Step2Component, never>;
|
26
49
|
static ɵcmp: i0.ɵɵComponentDeclaration<Step2Component, "lib-step2", never, {}, {}, never, never, false, never>;
|
27
50
|
}
|
@@ -1,5 +1,14 @@
|
|
1
|
+
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
2
|
+
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
3
|
+
import { AuthService } from '../../../../services/auth.service';
|
4
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
1
5
|
import * as i0 from "@angular/core";
|
2
|
-
export declare class Step3Component {
|
6
|
+
export declare class Step3Component implements OnInit {
|
7
|
+
modalService: NgbModal;
|
8
|
+
private authService;
|
9
|
+
private router;
|
10
|
+
private route;
|
11
|
+
private cd;
|
3
12
|
panelOpenState: boolean;
|
4
13
|
termsandcondition: any;
|
5
14
|
type: any;
|
@@ -7,8 +16,24 @@ export declare class Step3Component {
|
|
7
16
|
terms: any;
|
8
17
|
idvalue: any;
|
9
18
|
email: any;
|
19
|
+
showvalue: boolean;
|
20
|
+
ngOtpInputRef: any;
|
21
|
+
counter: number;
|
22
|
+
tick: number;
|
23
|
+
resend: boolean;
|
24
|
+
countDown: any;
|
25
|
+
otp: any;
|
26
|
+
aboutFormData: any;
|
27
|
+
pricingFormData: any;
|
28
|
+
returnUrl: any;
|
29
|
+
invalidOtp: boolean;
|
30
|
+
constructor(modalService: NgbModal, authService: AuthService, router: Router, route: ActivatedRoute, cd: ChangeDetectorRef);
|
31
|
+
ngOnInit(): void;
|
10
32
|
updateterms(evt: any): void;
|
11
33
|
enterpriseactivate(): void;
|
34
|
+
resendOTP(): void;
|
35
|
+
otpsubmit(): void;
|
36
|
+
onOtpChange(event: any): void;
|
12
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<Step3Component, never>;
|
13
38
|
static ɵcmp: i0.ɵɵComponentDeclaration<Step3Component, "lib-step3", never, {}, {}, never, never, false, never>;
|
14
39
|
}
|
@@ -5,11 +5,13 @@ import * as i0 from "@angular/core";
|
|
5
5
|
export declare class TangoAuthSignupComponent implements OnInit {
|
6
6
|
private setterService;
|
7
7
|
formsCount: number;
|
8
|
+
account$: BehaviorSubject<any>;
|
8
9
|
currentStep$: BehaviorSubject<number>;
|
9
10
|
isCurrentFormValid$: BehaviorSubject<boolean>;
|
10
11
|
prevStepdata: any;
|
11
12
|
constructor(setterService: ConversionService);
|
12
13
|
ngOnInit(): void;
|
14
|
+
updateAccount: (part: Partial<any>, isFormValid: boolean) => void;
|
13
15
|
nextStep(): void;
|
14
16
|
prevStep(): void;
|
15
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<TangoAuthSignupComponent, never>;
|
@@ -1,12 +1,17 @@
|
|
1
1
|
import { BehaviorSubject } from 'rxjs';
|
2
|
+
import { ConversionService } from '../step/services/conversion.service';
|
2
3
|
import * as i0 from "@angular/core";
|
3
4
|
export declare class VerticalComponent {
|
5
|
+
private setterService;
|
4
6
|
formsCount: number;
|
7
|
+
account$: BehaviorSubject<any>;
|
5
8
|
currentStep$: BehaviorSubject<number>;
|
6
9
|
isCurrentFormValid$: BehaviorSubject<boolean>;
|
7
10
|
private unsubscribe;
|
8
|
-
|
11
|
+
prevStepdata: any;
|
12
|
+
constructor(setterService: ConversionService);
|
9
13
|
ngOnInit(): void;
|
14
|
+
updateAccount: (part: Partial<any>, isFormValid: boolean) => void;
|
10
15
|
nextStep(): void;
|
11
16
|
prevStep(): void;
|
12
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<VerticalComponent, never>;
|
@@ -1,9 +1,24 @@
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
1
2
|
import { Router } from '@angular/router';
|
3
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
4
|
+
import { GlobalStateService } from 'tango-app-ui-shared';
|
2
5
|
import * as i0 from "@angular/core";
|
3
6
|
export declare class AuthService {
|
4
7
|
private router;
|
5
|
-
|
8
|
+
private http;
|
9
|
+
private gs;
|
10
|
+
aboutFormData: BehaviorSubject<any>;
|
11
|
+
pricingFormData: BehaviorSubject<any>;
|
12
|
+
leadApiUrl: string;
|
13
|
+
middlewareApiUrl: string;
|
14
|
+
constructor(router: Router, http: HttpClient, gs: GlobalStateService);
|
6
15
|
logout(): void;
|
16
|
+
sendSignupOtp(data: any): Observable<any>;
|
17
|
+
signup(data: any): Observable<any>;
|
18
|
+
requestCallback(data: any): Observable<any>;
|
19
|
+
isClientnameTaken(data: string): Observable<any>;
|
20
|
+
isEmailTaken(data: string): Observable<any>;
|
21
|
+
isMobileTaken(data: string): Observable<any>;
|
7
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<AuthService, never>;
|
8
23
|
static ɵprov: i0.ɵɵInjectableDeclaration<AuthService>;
|
9
24
|
}
|
@@ -11,9 +11,10 @@ import * as i9 from "./components/tango-auth-signup/wizards/wizards.component";
|
|
11
11
|
import * as i10 from "./components/tango-auth-signup/step/modal-content/modal-content.component";
|
12
12
|
import * as i11 from "@angular/common";
|
13
13
|
import * as i12 from "./tango-auth-routing.module";
|
14
|
-
import * as i13 from "
|
14
|
+
import * as i13 from "ng-otp-input";
|
15
|
+
import * as i14 from "@angular/forms";
|
15
16
|
export declare class TangoAuthModule {
|
16
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<TangoAuthModule, never>;
|
17
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TangoAuthModule, [typeof i1.TangoAuthComponent, typeof i2.TangoAuthLoginComponent, typeof i3.TangoAuthSignupComponent, typeof i4.TangoAuthForgotPasswordComponent, typeof i5.Step1Component, typeof i6.Step2Component, typeof i7.Step3Component, typeof i8.VerticalComponent, typeof i9.WizardsComponent, typeof i10.ModalContentComponent], [typeof i11.CommonModule, typeof i12.TangoAuthRoutingModule, typeof i13.
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TangoAuthModule, [typeof i1.TangoAuthComponent, typeof i2.TangoAuthLoginComponent, typeof i3.TangoAuthSignupComponent, typeof i4.TangoAuthForgotPasswordComponent, typeof i5.Step1Component, typeof i6.Step2Component, typeof i7.Step3Component, typeof i8.VerticalComponent, typeof i9.WizardsComponent, typeof i10.ModalContentComponent], [typeof i11.CommonModule, typeof i12.TangoAuthRoutingModule, typeof i13.NgOtpInputModule, typeof i14.ReactiveFormsModule], never>;
|
18
19
|
static ɵinj: i0.ɵɵInjectorDeclaration<TangoAuthModule>;
|
19
20
|
}
|