tango-app-ui-auth 3.0.14-dev → 3.0.16-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.
Files changed (23) hide show
  1. package/esm2022/lib/components/tango-auth-login/tango-auth-login.component.mjs +17 -9
  2. package/esm2022/lib/components/tango-auth-signup/step/modal-content/modal-content.component.mjs +1 -2
  3. package/esm2022/lib/components/tango-auth-signup/step/step1/step1.component.mjs +9 -9
  4. package/esm2022/lib/components/tango-auth-signup/step/step2/step2.component.mjs +50 -32
  5. package/esm2022/lib/components/tango-auth-signup/step/step3/step3.component.mjs +26 -49
  6. package/esm2022/lib/components/tango-auth-signup/tango-auth-signup.component.mjs +9 -3
  7. package/esm2022/lib/components/tango-auth-signup/vertical/vertical.component.mjs +8 -3
  8. package/esm2022/lib/guards/auth.guard.mjs +2 -2
  9. package/esm2022/lib/services/auth.service.mjs +9 -4
  10. package/esm2022/lib/tango-auth.module.mjs +1 -4
  11. package/fesm2022/tango-app-ui-auth.mjs +119 -115
  12. package/fesm2022/tango-app-ui-auth.mjs.map +1 -1
  13. package/lib/components/tango-auth-login/tango-auth-login.component.d.ts +6 -3
  14. package/lib/components/tango-auth-signup/step/step2/step2.component.d.ts +7 -2
  15. package/lib/components/tango-auth-signup/step/step3/step3.component.d.ts +2 -1
  16. package/lib/components/tango-auth-signup/tango-auth-signup.component.d.ts +5 -3
  17. package/lib/components/tango-auth-signup/vertical/vertical.component.d.ts +3 -1
  18. package/lib/guards/auth.guard.d.ts +1 -1
  19. package/lib/services/auth.service.d.ts +3 -1
  20. package/lib/tango-auth.module.d.ts +7 -8
  21. package/package.json +1 -1
  22. package/esm2022/lib/components/tango-auth-signup/wizards/wizards.component.mjs +0 -12
  23. package/lib/components/tango-auth-signup/wizards/wizards.component.d.ts +0 -5
@@ -1,10 +1,11 @@
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
- import { GlobalStateService, ToastService } from 'tango-app-ui-shared';
5
+ import { GlobalStateService } from 'tango-app-ui-global';
6
+ import { ToastService } from 'tango-app-ui-shared';
6
7
  import * as i0 from "@angular/core";
7
- export declare class TangoAuthLoginComponent implements OnInit {
8
+ export declare class TangoAuthLoginComponent implements OnInit, OnDestroy {
8
9
  private router;
9
10
  private route;
10
11
  private fb;
@@ -20,8 +21,10 @@ export declare class TangoAuthLoginComponent implements OnInit {
20
21
  credentials: any;
21
22
  isLoading: boolean;
22
23
  private authlocalStorageToken;
24
+ private readonly destroy$;
23
25
  constructor(router: Router, route: ActivatedRoute, fb: FormBuilder, service: AuthService, gs: GlobalStateService, cd: ChangeDetectorRef, toastService: ToastService);
24
26
  ngOnInit(): void;
27
+ ngOnDestroy(): void;
25
28
  initForm(): void;
26
29
  onLogin(): void;
27
30
  userProfile(): void;
@@ -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
- constructor(modalService: NgbModal, setterservice: ConversionService, authservice: AuthService, fb: FormBuilder, cd: ChangeDetectorRef);
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,7 +3,8 @@ 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
+ import { GlobalStateService } from 'tango-app-ui-global';
7
+ import { ToastService } from 'tango-app-ui-shared';
7
8
  import * as i0 from "@angular/core";
8
9
  interface InputStyles {
9
10
  [key: string]: string;
@@ -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;
@@ -1,6 +1,6 @@
1
1
  import { ActivatedRouteSnapshot, Router, RouterStateSnapshot } from '@angular/router';
2
2
  import { AuthService } from '../services/auth.service';
3
- import { GlobalStateService } from 'tango-app-ui-shared';
3
+ import { GlobalStateService } from 'tango-app-ui-global';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class AuthGuard {
6
6
  private authService;
@@ -1,7 +1,7 @@
1
1
  import { HttpClient } from '@angular/common/http';
2
2
  import { Router } from '@angular/router';
3
3
  import { BehaviorSubject, Observable } from 'rxjs';
4
- import { GlobalStateService } from 'tango-app-ui-shared';
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;
@@ -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/wizards/wizards.component";
11
- import * as i10 from "./components/tango-auth-signup/step/modal-content/modal-content.component";
12
- import * as i11 from "./components/tango-auth-signup/step/calendly-modal/calendly-modal.component";
13
- import * as i12 from "@angular/common";
14
- import * as i13 from "./tango-auth-routing.module";
15
- import * as i14 from "ng-otp-input";
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.WizardsComponent, typeof i10.ModalContentComponent, typeof i11.CalendlyModalComponent], [typeof i12.CommonModule, typeof i13.TangoAuthRoutingModule, typeof i14.NgOtpInputModule, typeof i15.ReactiveFormsModule, typeof i15.FormsModule], never>;
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,6 +1,6 @@
1
1
  {
2
2
  "name": "tango-app-ui-auth",
3
- "version": "3.0.14-dev",
3
+ "version": "3.0.16-dev",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.0.0",
6
6
  "@angular/core": "^17.0.0"
@@ -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\n</div>\r\n" }]
11
- }] });
12
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2l6YXJkcy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90YW5nby1hdXRoL3NyYy9saWIvY29tcG9uZW50cy90YW5nby1hdXRoLXNpZ251cC93aXphcmRzL3dpemFyZHMuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdGFuZ28tYXV0aC9zcmMvbGliL2NvbXBvbmVudHMvdGFuZ28tYXV0aC1zaWdudXAvd2l6YXJkcy93aXphcmRzLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7OztBQU8xQyxNQUFNLE9BQU8sZ0JBQWdCO3VHQUFoQixnQkFBZ0I7MkZBQWhCLGdCQUFnQixtRENQN0IsOEdBR0E7OzJGRElhLGdCQUFnQjtrQkFMNUIsU0FBUzsrQkFDRSxhQUFhIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcblxyXG5AQ29tcG9uZW50KHtcclxuICBzZWxlY3RvcjogJ2xpYi13aXphcmRzJyxcclxuICB0ZW1wbGF0ZVVybDogJy4vd2l6YXJkcy5jb21wb25lbnQuaHRtbCcsXHJcbiAgc3R5bGVVcmw6ICcuL3dpemFyZHMuY29tcG9uZW50LnNjc3MnXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBXaXphcmRzQ29tcG9uZW50IHtcclxuXHJcbn1cclxuIiwiPGRpdiBjbGFzcz1cInJvd1wiPlxyXG4gICAgPGxpYi12ZXJ0aWNhbCBjbGFzcz1cImNvbC1sZy00IGNvbC14bC00IGNvbC14eGwtNFwiPjwvbGliLXZlcnRpY2FsPlxyXG48L2Rpdj5cclxuIl19
@@ -1,5 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class WizardsComponent {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<WizardsComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<WizardsComponent, "lib-wizards", never, {}, {}, never, never, false, never>;
5
- }