simpo-component-library 2.1.998 → 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.
@@ -11,7 +11,7 @@ export declare class BackgroundDirective implements OnChanges {
11
11
  constructor(el: ElementRef, eventService: EventsService);
12
12
  ngOnDestroy(): void;
13
13
  ngOnChanges(change: SimpleChanges): void;
14
- getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
14
+ getTextColor(bgColor: string): "#ffffff" | "#000000" | "#ffffff;";
15
15
  static ɵfac: i0.ɵɵFactoryDeclaration<BackgroundDirective, never>;
16
16
  static ɵdir: i0.ɵɵDirectiveDeclaration<BackgroundDirective, "[simpoBackground]", never, { "simpoBackground": { "alias": "simpoBackground"; "required": false; }; "scrollValue": { "alias": "scrollValue"; "required": false; }; }, {}, never, never, true, never>;
17
17
  }
@@ -15,7 +15,7 @@ export declare class ButtonDirectiveDirective implements OnChanges {
15
15
  applyButtonStyleChanges(): void;
16
16
  applyButtonType(style: ButtonStyleModel, color: string): void;
17
17
  applyButtonShape(style: ButtonStyleModel): void;
18
- getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
18
+ getTextColor(bgColor: string): "#ffffff" | "#000000" | "#ffffff;";
19
19
  buttonStyleSubscription?: Subscription;
20
20
  buttonStyleChangeCheck(): void;
21
21
  changeButtonStyle(id: any, style: ButtonStyleModel, bgColor: string): void;
@@ -12,7 +12,7 @@ export declare class ColorDirective implements OnChanges {
12
12
  ngOnDestroy(): void;
13
13
  applyColor(): void;
14
14
  bgColorChangeCheck(): void;
15
- getTextColor(): "#000000" | "#ffffff" | "#ffffff;";
15
+ getTextColor(): "#ffffff" | "#000000" | "#ffffff;";
16
16
  static ɵfac: i0.ɵɵFactoryDeclaration<ColorDirective, never>;
17
17
  static ɵdir: i0.ɵɵDirectiveDeclaration<ColorDirective, "[simpoColor]", never, { "bgColor": { "alias": "simpoColor"; "required": false; }; }, {}, never, never, true, never>;
18
18
  }
@@ -45,7 +45,7 @@ export declare class AuthenticationRequiredComponent {
45
45
  validateNumber(event: KeyboardEvent): void;
46
46
  validateOTP(event: KeyboardEvent): void;
47
47
  checkStrength(): void;
48
- getStrengthColor(index: number): "tomato" | "#d3d3d3ba" | "orange" | "yellow" | "lightgreen";
48
+ getStrengthColor(index: number): "yellow" | "tomato" | "#d3d3d3ba" | "orange" | "lightgreen";
49
49
  get isEmailValid(): boolean;
50
50
  get isPasswordValid(): boolean;
51
51
  get isMobile(): boolean;
@@ -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
  }
@@ -17,7 +17,7 @@ export declare class PricingSectionComponent extends BaseSection {
17
17
  style?: PricingSectionStylesModel;
18
18
  constructor(_eventService: EventsService);
19
19
  ngOnInit(): void;
20
- getTextColor(): "#000000" | "#ffffff";
20
+ getTextColor(): "#ffffff" | "#000000";
21
21
  get headingSpace(): SPACING;
22
22
  editSection(): void;
23
23
  redirectTo(): void;
@@ -2,17 +2,20 @@ 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;
8
9
  private activatedRoute;
9
10
  private router;
10
- private matDialog;
11
+ private readonly matDialog;
11
12
  data?: PropertyDetailModel;
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.998",
3
+ "version": "2.2.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file