simpo-component-library 2.1.999 → 2.2.0

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.
@@ -1,14 +1,29 @@
1
1
  import { RestService } from '../../services/rest.service';
2
+ import { MessageService } from 'primeng/api';
3
+ import { Subscription } from 'rxjs';
2
4
  import * as i0 from "@angular/core";
3
5
  export declare class KycDetailsComponent {
4
6
  private restService;
5
- constructor(restService: RestService);
6
- ngOnInit(): void;
7
+ private readonly messageService;
8
+ constructor(restService: RestService, messageService: MessageService);
7
9
  panRequest: any;
8
10
  aadharRequest: any;
11
+ verifyAadharRequest: any;
12
+ aadharOtpArray: any[];
9
13
  isPanVerified: boolean;
10
- isAadharVerified: boolean;
14
+ isAadharverified: boolean;
15
+ aadharOtpSent: boolean;
16
+ kycDetailsSubscription?: Subscription;
17
+ ngOnInit(): void;
18
+ ngOnDestroy(): void;
19
+ getKycDetails(): void;
11
20
  verifyPanNumber(): void;
21
+ validatePan(): boolean;
22
+ sendAadharOtp(): void;
23
+ verifyAadharOtp(): void;
24
+ validateAadhaar(): boolean;
25
+ moveAadharOtpCursor(event: any, idx: number): void;
26
+ checkKycVerification(): void;
12
27
  static ɵfac: i0.ɵɵFactoryDeclaration<KycDetailsComponent, never>;
13
28
  static ɵcmp: i0.ɵɵComponentDeclaration<KycDetailsComponent, "simpo-kyc-details", never, {}, {}, never, never, true, never>;
14
29
  }
@@ -2,6 +2,7 @@ import { PropertyDetailModel } from './property-detail.model';
2
2
  import { RestService } from '../../services/rest.service';
3
3
  import { ActivatedRoute, Router } from '@angular/router';
4
4
  import { MatDialog } from '@angular/material/dialog';
5
+ import { Subscription } from 'rxjs';
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class PropertyDetailComponent {
7
8
  private restService;
@@ -12,7 +13,9 @@ export declare class PropertyDetailComponent {
12
13
  constructor(restService: RestService, activatedRoute: ActivatedRoute, router: Router, matDialog: MatDialog);
13
14
  propertyId: string;
14
15
  propertyDetails: any;
16
+ kycDetailsSubscription?: Subscription;
15
17
  ngOnInit(): void;
18
+ ngOnDestroy(): void;
16
19
  getPropertyDetails(): void;
17
20
  index: number;
18
21
  propertyNumbers: any;
@@ -23,6 +26,7 @@ export declare class PropertyDetailComponent {
23
26
  sqft: number;
24
27
  noOfSqft: number;
25
28
  purchaseProperty(): void;
29
+ getKycDetails(): void;
26
30
  static ɵfac: i0.ɵɵFactoryDeclaration<PropertyDetailComponent, never>;
27
31
  static ɵcmp: i0.ɵɵComponentDeclaration<PropertyDetailComponent, "simpo-property-detail", never, { "data": { "alias": "data"; "required": false; }; }, {}, never, never, true, never>;
28
32
  }
@@ -5,6 +5,7 @@ import { RestService } from '../../services/rest.service';
5
5
  import { ActivatedRoute, Router } from '@angular/router';
6
6
  import { MessageService } from 'primeng/api';
7
7
  import { MatDialog } from '@angular/material/dialog';
8
+ import { Subscription } from 'rxjs';
8
9
  import * as i0 from "@angular/core";
9
10
  export declare class SignupSigninComponent extends BaseSection {
10
11
  private _eventService;
@@ -20,8 +21,11 @@ export declare class SignupSigninComponent extends BaseSection {
20
21
  constructor(_eventService: EventsService, restService: RestService, router: Router, activatedRoute: ActivatedRoute, messageService: MessageService, matDialog: MatDialog);
21
22
  propertyId?: number;
22
23
  buttonLoader: boolean;
24
+ kycDetailsSubscription?: Subscription;
23
25
  ngOnInit(): void;
26
+ ngOnDestroy(): void;
24
27
  currentPage: 'LOGIN' | 'SIGN_UP' | 'OTP' | 'FORGOT_PASSWORD' | 'OTP_VERIFY';
28
+ kycDetailsSubscripition?: Subscription;
25
29
  backgroundImage: any;
26
30
  editSection(): void;
27
31
  otpArray: any[];
@@ -38,6 +42,7 @@ export declare class SignupSigninComponent extends BaseSection {
38
42
  sendOtpForLogin(): void;
39
43
  verifyOtp(): void;
40
44
  isValidEmail(email: string): boolean;
45
+ getKycDetails(): void;
41
46
  static ɵfac: i0.ɵɵFactoryDeclaration<SignupSigninComponent, never>;
42
47
  static ɵcmp: i0.ɵɵComponentDeclaration<SignupSigninComponent, "simpo-signup-signin", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; }, {}, never, never, true, never>;
43
48
  }
@@ -13,6 +13,7 @@ export declare class RestService implements OnDestroy {
13
13
  private ECOMMERCE_URL;
14
14
  private CMIS_URL;
15
15
  private environmentTypeSubscriber;
16
+ kycDetails: any;
16
17
  constructor(http: HttpClient, eventService: EventsService);
17
18
  ngOnDestroy(): void;
18
19
  getFeaturedProduct(collectionId: string | undefined | null): Observable<any>;
@@ -88,8 +89,11 @@ export declare class RestService implements OnDestroy {
88
89
  verifyOtp(email: string, otp: string): Observable<Object>;
89
90
  logout(): Observable<Object>;
90
91
  verifyPan(request: any): Observable<Object>;
92
+ sendAadharOtp(request: any): Observable<Object>;
93
+ verifyAadharOtp(request: any): Observable<Object>;
91
94
  getInvesterById(): Observable<Object>;
92
95
  purchaseProperty(payload: any): Observable<Object>;
96
+ getKycDetails(): Observable<any>;
93
97
  getFieldsToDisplay(fieldsList: any[]): any;
94
98
  static ɵfac: i0.ɵɵFactoryDeclaration<RestService, never>;
95
99
  static ɵprov: i0.ɵɵInjectableDeclaration<RestService>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "2.1.999",
3
+ "version": "2.2.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file