tango-app-ui-auth 3.0.13-dev → 3.0.15-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-login/tango-auth-login.component.mjs +10 -4
- package/esm2022/lib/components/tango-auth-signup/step/calendly-modal/calendly-modal.component.mjs +8 -5
- package/esm2022/lib/components/tango-auth-signup/step/modal-content/modal-content.component.mjs +1 -2
- package/esm2022/lib/components/tango-auth-signup/step/step1/step1.component.mjs +9 -9
- package/esm2022/lib/components/tango-auth-signup/step/step2/step2.component.mjs +55 -32
- package/esm2022/lib/components/tango-auth-signup/step/step3/step3.component.mjs +53 -47
- package/esm2022/lib/components/tango-auth-signup/tango-auth-signup.component.mjs +9 -3
- package/esm2022/lib/components/tango-auth-signup/vertical/vertical.component.mjs +8 -3
- package/esm2022/lib/services/auth.service.mjs +8 -3
- package/esm2022/lib/tango-auth.module.mjs +1 -4
- package/fesm2022/tango-app-ui-auth.mjs +147 -108
- package/fesm2022/tango-app-ui-auth.mjs.map +1 -1
- package/lib/components/tango-auth-login/tango-auth-login.component.d.ts +4 -2
- package/lib/components/tango-auth-signup/step/calendly-modal/calendly-modal.component.d.ts +2 -1
- package/lib/components/tango-auth-signup/step/step2/step2.component.d.ts +7 -2
- package/lib/components/tango-auth-signup/step/step3/step3.component.d.ts +6 -1
- package/lib/components/tango-auth-signup/tango-auth-signup.component.d.ts +5 -3
- package/lib/components/tango-auth-signup/vertical/vertical.component.d.ts +3 -1
- package/lib/services/auth.service.d.ts +2 -0
- package/lib/tango-auth.module.d.ts +7 -8
- package/package.json +1 -1
- package/esm2022/lib/components/tango-auth-signup/wizards/wizards.component.mjs +0 -12
- package/lib/components/tango-auth-signup/wizards/wizards.component.d.ts +0 -5
@@ -1,10 +1,10 @@
|
|
1
|
-
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
1
|
+
import { ChangeDetectorRef, 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
5
|
import { GlobalStateService, ToastService } from 'tango-app-ui-shared';
|
6
6
|
import * as i0 from "@angular/core";
|
7
|
-
export declare class TangoAuthLoginComponent implements OnInit {
|
7
|
+
export declare class TangoAuthLoginComponent implements OnInit, OnDestroy {
|
8
8
|
private router;
|
9
9
|
private route;
|
10
10
|
private fb;
|
@@ -20,8 +20,10 @@ export declare class TangoAuthLoginComponent implements OnInit {
|
|
20
20
|
credentials: any;
|
21
21
|
isLoading: boolean;
|
22
22
|
private authlocalStorageToken;
|
23
|
+
private readonly destroy$;
|
23
24
|
constructor(router: Router, route: ActivatedRoute, fb: FormBuilder, service: AuthService, gs: GlobalStateService, cd: ChangeDetectorRef, toastService: ToastService);
|
24
25
|
ngOnInit(): void;
|
26
|
+
ngOnDestroy(): void;
|
25
27
|
initForm(): void;
|
26
28
|
onLogin(): void;
|
27
29
|
userProfile(): void;
|
@@ -8,10 +8,11 @@ declare global {
|
|
8
8
|
}
|
9
9
|
export declare class CalendlyModalComponent implements OnInit, OnDestroy {
|
10
10
|
private modalRef;
|
11
|
+
userData: any;
|
11
12
|
constructor(modalRef: NgbActiveModal);
|
12
13
|
ngOnInit(): void;
|
13
14
|
ngOnDestroy(): void;
|
14
15
|
messageHandler(event: MessageEvent): void;
|
15
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<CalendlyModalComponent, never>;
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CalendlyModalComponent, "lib-calendly-modal", never, {}, {}, never, never, false, never>;
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CalendlyModalComponent, "lib-calendly-modal", never, { "userData": { "alias": "userData"; "required": false; }; }, {}, never, never, false, never>;
|
17
18
|
}
|
@@ -4,6 +4,7 @@ import { ConversionService } from '../services/conversion.service';
|
|
4
4
|
import { AuthService } from '../../../../services/auth.service';
|
5
5
|
import { FormBuilder, FormControl, FormGroup } from '@angular/forms';
|
6
6
|
import { Subscription } from 'rxjs';
|
7
|
+
import { ToastService } from 'tango-app-ui-shared';
|
7
8
|
import * as i0 from "@angular/core";
|
8
9
|
export declare class Step2Component implements OnDestroy, OnInit {
|
9
10
|
modalService: NgbModal;
|
@@ -11,6 +12,7 @@ export declare class Step2Component implements OnDestroy, OnInit {
|
|
11
12
|
private authservice;
|
12
13
|
private fb;
|
13
14
|
private cd;
|
15
|
+
private toastService;
|
14
16
|
storeCounts: any;
|
15
17
|
featAreaOptions: any;
|
16
18
|
selectedCounts: any;
|
@@ -22,7 +24,6 @@ export declare class Step2Component implements OnDestroy, OnInit {
|
|
22
24
|
showmore: boolean;
|
23
25
|
freeplan: string;
|
24
26
|
plan: any;
|
25
|
-
Original_price: boolean;
|
26
27
|
requestpopup: boolean;
|
27
28
|
popup: boolean;
|
28
29
|
timevalue: any;
|
@@ -35,7 +36,8 @@ export declare class Step2Component implements OnDestroy, OnInit {
|
|
35
36
|
pricingFormData: any;
|
36
37
|
subscriptions: Subscription[];
|
37
38
|
selectedFeetArea: any;
|
38
|
-
|
39
|
+
pricingData: any;
|
40
|
+
constructor(modalService: NgbModal, setterservice: ConversionService, authservice: AuthService, fb: FormBuilder, cd: ChangeDetectorRef, toastService: ToastService);
|
39
41
|
ngOnInit(): void;
|
40
42
|
ngOnDestroy(): void;
|
41
43
|
initForm(): void;
|
@@ -50,6 +52,9 @@ export declare class Step2Component implements OnDestroy, OnInit {
|
|
50
52
|
close(): void;
|
51
53
|
continuesignup(): void;
|
52
54
|
openCalendlyModal(): void;
|
55
|
+
getPricingData(): void;
|
56
|
+
getTrueKeys(obj: any): string[];
|
57
|
+
onPriceChange(): void;
|
53
58
|
static ɵfac: i0.ɵɵFactoryDeclaration<Step2Component, never>;
|
54
59
|
static ɵcmp: i0.ɵɵComponentDeclaration<Step2Component, "lib-step2", never, {}, {}, never, never, false, never>;
|
55
60
|
}
|
@@ -3,6 +3,7 @@ import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
3
3
|
import { Subscription } from 'rxjs';
|
4
4
|
import { AuthService } from '../../../../services/auth.service';
|
5
5
|
import { ActivatedRoute, Router } from '@angular/router';
|
6
|
+
import { GlobalStateService, ToastService } from 'tango-app-ui-shared';
|
6
7
|
import * as i0 from "@angular/core";
|
7
8
|
interface InputStyles {
|
8
9
|
[key: string]: string;
|
@@ -13,10 +14,13 @@ export declare class Step3Component implements OnInit, OnDestroy {
|
|
13
14
|
private router;
|
14
15
|
private route;
|
15
16
|
private cd;
|
17
|
+
private gs;
|
18
|
+
private toastService;
|
16
19
|
inputValue: string;
|
17
20
|
isActive: boolean;
|
18
21
|
isHovered: boolean;
|
19
22
|
isDisabled: boolean;
|
23
|
+
authlocalStorageToken: string;
|
20
24
|
onMouseEnter(): void;
|
21
25
|
onMouseLeave(): void;
|
22
26
|
onInputChange(value: string): void;
|
@@ -40,7 +44,7 @@ export declare class Step3Component implements OnInit, OnDestroy {
|
|
40
44
|
returnUrl: any;
|
41
45
|
invalidOtp: boolean;
|
42
46
|
subscriptions: Subscription[];
|
43
|
-
constructor(modalService: NgbModal, authService: AuthService, router: Router, route: ActivatedRoute, cd: ChangeDetectorRef);
|
47
|
+
constructor(modalService: NgbModal, authService: AuthService, router: Router, route: ActivatedRoute, cd: ChangeDetectorRef, gs: GlobalStateService, toastService: ToastService);
|
44
48
|
ngOnDestroy(): void;
|
45
49
|
ngOnInit(): void;
|
46
50
|
updateterms(evt: any): void;
|
@@ -49,6 +53,7 @@ export declare class Step3Component implements OnInit, OnDestroy {
|
|
49
53
|
otpsubmit(): void;
|
50
54
|
onOtpChange(event: any): void;
|
51
55
|
getTrueKeys(obj: any): string[];
|
56
|
+
userProfile(): void;
|
52
57
|
static ɵfac: i0.ɵɵFactoryDeclaration<Step3Component, never>;
|
53
58
|
static ɵcmp: i0.ɵɵComponentDeclaration<Step3Component, "lib-step3", never, {}, {}, never, never, false, never>;
|
54
59
|
}
|
@@ -1,15 +1,17 @@
|
|
1
|
-
import { OnInit } from '@angular/core';
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
2
2
|
import { ConversionService } from './step/services/conversion.service';
|
3
|
-
import { BehaviorSubject } from 'rxjs';
|
3
|
+
import { BehaviorSubject, Subscription } from 'rxjs';
|
4
4
|
import * as i0 from "@angular/core";
|
5
|
-
export declare class TangoAuthSignupComponent implements OnInit {
|
5
|
+
export declare class TangoAuthSignupComponent implements OnInit, OnDestroy {
|
6
6
|
private setterService;
|
7
7
|
formsCount: number;
|
8
8
|
account$: BehaviorSubject<any>;
|
9
9
|
currentStep$: BehaviorSubject<number>;
|
10
10
|
isCurrentFormValid$: BehaviorSubject<boolean>;
|
11
11
|
prevStepdata: any;
|
12
|
+
subscriptions: Subscription[];
|
12
13
|
constructor(setterService: ConversionService);
|
14
|
+
ngOnDestroy(): void;
|
13
15
|
ngOnInit(): void;
|
14
16
|
updateAccount: (part: Partial<any>, isFormValid: boolean) => void;
|
15
17
|
nextStep(): void;
|
@@ -1,7 +1,8 @@
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
1
2
|
import { BehaviorSubject } from 'rxjs';
|
2
3
|
import { ConversionService } from '../step/services/conversion.service';
|
3
4
|
import * as i0 from "@angular/core";
|
4
|
-
export declare class VerticalComponent {
|
5
|
+
export declare class VerticalComponent implements OnInit, OnDestroy {
|
5
6
|
private setterService;
|
6
7
|
formsCount: number;
|
7
8
|
account$: BehaviorSubject<any>;
|
@@ -10,6 +11,7 @@ export declare class VerticalComponent {
|
|
10
11
|
private unsubscribe;
|
11
12
|
prevStepdata: any;
|
12
13
|
constructor(setterService: ConversionService);
|
14
|
+
ngOnDestroy(): void;
|
13
15
|
ngOnInit(): void;
|
14
16
|
updateAccount: (part: Partial<any>, isFormValid: boolean) => void;
|
15
17
|
nextStep(): void;
|
@@ -14,6 +14,7 @@ export declare class AuthService {
|
|
14
14
|
middlewareApiUrl: string;
|
15
15
|
userApiUrl: string;
|
16
16
|
authlocalStorageToken: string;
|
17
|
+
paymentSubscriptionApiUrl: string;
|
17
18
|
get currentUserValue(): any;
|
18
19
|
constructor(router: Router, http: HttpClient, gs: GlobalStateService);
|
19
20
|
getHeaders(): {
|
@@ -31,6 +32,7 @@ export declare class AuthService {
|
|
31
32
|
userProfileDet(): Observable<any>;
|
32
33
|
getAllCountries(): Observable<any>;
|
33
34
|
handleError(res: any): Observable<never>;
|
35
|
+
getPricing(data: any): Observable<any>;
|
34
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<AuthService, never>;
|
35
37
|
static ɵprov: i0.ɵɵInjectableDeclaration<AuthService>;
|
36
38
|
}
|
@@ -7,15 +7,14 @@ import * as i5 from "./components/tango-auth-signup/step/step1/step1.component";
|
|
7
7
|
import * as i6 from "./components/tango-auth-signup/step/step2/step2.component";
|
8
8
|
import * as i7 from "./components/tango-auth-signup/step/step3/step3.component";
|
9
9
|
import * as i8 from "./components/tango-auth-signup/vertical/vertical.component";
|
10
|
-
import * as i9 from "./components/tango-auth-signup/
|
11
|
-
import * as i10 from "./components/tango-auth-signup/step/modal-
|
12
|
-
import * as i11 from "
|
13
|
-
import * as i12 from "
|
14
|
-
import * as i13 from "
|
15
|
-
import * as i14 from "
|
16
|
-
import * as i15 from "@angular/forms";
|
10
|
+
import * as i9 from "./components/tango-auth-signup/step/modal-content/modal-content.component";
|
11
|
+
import * as i10 from "./components/tango-auth-signup/step/calendly-modal/calendly-modal.component";
|
12
|
+
import * as i11 from "@angular/common";
|
13
|
+
import * as i12 from "./tango-auth-routing.module";
|
14
|
+
import * as i13 from "ng-otp-input";
|
15
|
+
import * as i14 from "@angular/forms";
|
17
16
|
export declare class TangoAuthModule {
|
18
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<TangoAuthModule, never>;
|
19
|
-
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.
|
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.ModalContentComponent, typeof i10.CalendlyModalComponent], [typeof i11.CommonModule, typeof i12.TangoAuthRoutingModule, typeof i13.NgOtpInputModule, typeof i14.ReactiveFormsModule, typeof i14.FormsModule], never>;
|
20
19
|
static ɵinj: i0.ɵɵInjectorDeclaration<TangoAuthModule>;
|
21
20
|
}
|
package/package.json
CHANGED
@@ -1,12 +0,0 @@
|
|
1
|
-
import { Component } from '@angular/core';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
import * as i1 from "../vertical/vertical.component";
|
4
|
-
export class WizardsComponent {
|
5
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: WizardsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
6
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.8", type: WizardsComponent, selector: "lib-wizards", ngImport: i0, template: "<div class=\"row\">\r\n <lib-vertical class=\"col-lg-4 col-xl-4 col-xxl-4\"></lib-vertical>\r\n</div>\r\n", styles: [""], dependencies: [{ kind: "component", type: i1.VerticalComponent, selector: "lib-vertical" }] });
|
7
|
-
}
|
8
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: WizardsComponent, decorators: [{
|
9
|
-
type: Component,
|
10
|
-
args: [{ selector: 'lib-wizards', template: "<div class=\"row\">\r\n <lib-vertical class=\"col-lg-4 col-xl-4 col-xxl-4\"></lib-vertical>\r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