simpo-component-library 2.2.21 → 2.2.31

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 (24) hide show
  1. package/esm2022/lib/elements/payment-confirmation/payment-confirmation.component.mjs +45 -14
  2. package/esm2022/lib/sections/navbar-section/navbar-section.component.mjs +3 -3
  3. package/esm2022/lib/sections/profile-section/profile-section.component.mjs +8 -31
  4. package/esm2022/lib/sections/property-list/property-list.component.mjs +3 -3
  5. package/esm2022/lib/sections/verify-property-payment/verify-property-payment.component.mjs +55 -0
  6. package/esm2022/lib/services/rest.service.mjs +17 -5
  7. package/esm2022/lib/styles/index.mjs +2 -1
  8. package/esm2022/public-api.mjs +2 -1
  9. package/fesm2022/simpo-component-library.mjs +114 -47
  10. package/fesm2022/simpo-component-library.mjs.map +1 -1
  11. package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts +1 -1
  12. package/lib/elements/payment-confirmation/payment-confirmation.component.d.ts +6 -1
  13. package/lib/sections/banner-carousel/banner-carousel.component.d.ts +2 -2
  14. package/lib/sections/carousel-banner/carousel-banner.component.d.ts +1 -1
  15. package/lib/sections/image-section/image-section.component.d.ts +2 -2
  16. package/lib/sections/logo-showcase/logo-showcase.component.d.ts +1 -1
  17. package/lib/sections/profile-section/profile-section.component.d.ts +3 -10
  18. package/lib/sections/verify-property-payment/verify-property-payment.component.d.ts +16 -0
  19. package/lib/services/rest.service.d.ts +5 -2
  20. package/lib/styles/index.d.ts +2 -1
  21. package/package.json +1 -1
  22. package/public-api.d.ts +1 -0
  23. package/simpo-component-library-2.2.31.tgz +0 -0
  24. package/simpo-component-library-2.2.21.tgz +0 -0
@@ -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): "yellow" | "tomato" | "#d3d3d3ba" | "orange" | "lightgreen";
48
+ getStrengthColor(index: number): "tomato" | "#d3d3d3ba" | "orange" | "yellow" | "lightgreen";
49
49
  get isEmailValid(): boolean;
50
50
  get isPasswordValid(): boolean;
51
51
  get isMobile(): boolean;
@@ -1,20 +1,25 @@
1
1
  import { MatDialogRef } from '@angular/material/dialog';
2
2
  import { RestService } from '../../services/rest.service';
3
+ import { EventsService } from '../../services/events.service';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class PaymentConfirmationComponent {
5
6
  dialogRef: MatDialogRef<PaymentConfirmationComponent>;
6
7
  data: any;
7
8
  private restService;
8
- constructor(dialogRef: MatDialogRef<PaymentConfirmationComponent>, data: any, restService: RestService);
9
+ private _eventService;
10
+ constructor(dialogRef: MatDialogRef<PaymentConfirmationComponent>, data: any, restService: RestService, _eventService: EventsService);
9
11
  propertyDetails: any;
10
12
  sqFeetArea: number;
11
13
  payload: any;
14
+ investorDetails: any;
15
+ tokenRequest: any;
12
16
  ngOnInit(): void;
13
17
  close(): void;
14
18
  addOrRemoveProperty(): void;
15
19
  addSqFeet(): void;
16
20
  removeSqFeet(): void;
17
21
  purchaseProperty(): void;
22
+ getInvestorDetails(): void;
18
23
  static ɵfac: i0.ɵɵFactoryDeclaration<PaymentConfirmationComponent, never>;
19
24
  static ɵcmp: i0.ɵɵComponentDeclaration<PaymentConfirmationComponent, "simpo-payment-confirmation", never, {}, {}, never, never, true, never>;
20
25
  }
@@ -25,8 +25,8 @@ export declare class BannerCarouselComponent extends BaseSection implements OnIn
25
25
  get stylesLayout(): LayOutModel;
26
26
  get getBlurValue(): "NONE" | "LIGHT" | "MODERATE" | "STRONG" | "VERY_STRONG" | undefined;
27
27
  get getBackgroundColor(): BackgroundModel;
28
- get getBackgroundOpacity(): "0" | "0.7" | "0.5" | "0.3" | "0.2";
29
- opacityValue(value: OverlayValue): "0" | "0.7" | "0.5" | "0.3" | "0.2";
28
+ get getBackgroundOpacity(): "0" | "0.2" | "0.3" | "0.5" | "0.7";
29
+ opacityValue(value: OverlayValue): "0" | "0.2" | "0.3" | "0.5" | "0.7";
30
30
  editSection(): void;
31
31
  static ɵfac: i0.ɵɵFactoryDeclaration<BannerCarouselComponent, never>;
32
32
  static ɵcmp: i0.ɵɵComponentDeclaration<BannerCarouselComponent, "simpo-banner-carousel", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
@@ -25,7 +25,7 @@ export declare class CarouselBannerComponent extends BaseSection implements OnIn
25
25
  get canMergeNavbar(): boolean | undefined;
26
26
  get isBorderlessImage(): boolean | undefined;
27
27
  get getPositionLayout(): PositionLayoutModal;
28
- opacityValue(value: OverlayValue): "0" | "0.7" | "0.5" | "0.3" | "0.2";
28
+ opacityValue(value: OverlayValue): "0" | "0.2" | "0.3" | "0.5" | "0.7";
29
29
  editSection(): void;
30
30
  static ɵfac: i0.ɵɵFactoryDeclaration<CarouselBannerComponent, never>;
31
31
  static ɵcmp: i0.ɵɵComponentDeclaration<CarouselBannerComponent, "simpo-carousel-banner", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
@@ -20,8 +20,8 @@ export declare class ImageSectionComponent extends BaseSection {
20
20
  constructor(_eventService: EventsService);
21
21
  ngOnInit(): void;
22
22
  get canMergeNavbar(): boolean | undefined;
23
- get getBackgroundOpacity(): "1" | "0.7" | "0.5" | "0.3" | "0.2";
24
- opacityValue(value: OverlayValue): "1" | "0.7" | "0.5" | "0.3" | "0.2";
23
+ get getBackgroundOpacity(): "1" | "0.2" | "0.3" | "0.5" | "0.7";
24
+ opacityValue(value: OverlayValue): "1" | "0.2" | "0.3" | "0.5" | "0.7";
25
25
  editSection(): void;
26
26
  redirectTo(): void;
27
27
  static ɵfac: i0.ɵɵFactoryDeclaration<ImageSectionComponent, never>;
@@ -23,7 +23,7 @@ export declare class LogoShowcaseComponent extends BaseSection implements OnInit
23
23
  constructor(_eventService: EventsService);
24
24
  ngOnInit(): void;
25
25
  get animationDuration(): logoSpeed;
26
- get animationDirection(): logoDirection.Left | "reverse" | "normal";
26
+ get animationDirection(): "reverse" | "normal" | logoDirection.Left;
27
27
  screenWidth: number;
28
28
  getScreenSize(event?: number): void;
29
29
  editSection(): void;
@@ -1,23 +1,16 @@
1
- import { EventEmitter } from '@angular/core';
2
1
  import { ProfileSectionModel } from './profile-section.modal';
3
2
  import { RestService } from '../../services/rest.service';
4
- import { ActivatedRoute, Router } from '@angular/router';
5
3
  import * as i0 from "@angular/core";
6
4
  export declare class ProfileSectionComponent {
7
5
  private restService;
8
- private activatedRoute;
9
- private router;
10
6
  data?: ProfileSectionModel;
11
- selectedPanel: string;
12
- tabChanged: EventEmitter<void>;
13
- constructor(restService: RestService, activatedRoute: ActivatedRoute, router: Router);
7
+ constructor(restService: RestService);
14
8
  ngOnInit(): void;
9
+ selectedPanel: string;
15
10
  sidePanelTabs: any[];
16
11
  investorDetails: any;
17
12
  getInvestorDetails(): void;
18
13
  getInitials(): string;
19
- get isMobile(): boolean;
20
- changeTab(tab: any): void;
21
14
  static ɵfac: i0.ɵɵFactoryDeclaration<ProfileSectionComponent, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<ProfileSectionComponent, "simpo-profile-section", never, { "data": { "alias": "data"; "required": false; }; "selectedPanel": { "alias": "selectedPanel"; "required": false; }; }, { "tabChanged": "tabChanged"; }, never, never, true, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<ProfileSectionComponent, "simpo-profile-section", never, { "data": { "alias": "data"; "required": false; }; }, {}, never, never, true, never>;
23
16
  }
@@ -0,0 +1,16 @@
1
+ import { RestService } from '../../services/rest.service';
2
+ import { Router } from '@angular/router';
3
+ import * as i0 from "@angular/core";
4
+ export declare class VerifyPropertyPaymentComponent {
5
+ private restService;
6
+ private router;
7
+ paymentStatus: 'ONGOING' | 'SUCCESS' | 'FAILED';
8
+ private API_COUNT;
9
+ private MAX_API_COUNT;
10
+ constructor(restService: RestService, router: Router);
11
+ ngOnInit(): void;
12
+ checkPaymentStatus(): void;
13
+ redirectToPage(pageUrl: string): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<VerifyPropertyPaymentComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<VerifyPropertyPaymentComponent, "simpo-verify-property-payment", never, {}, {}, never, never, true, never>;
16
+ }
@@ -11,9 +11,11 @@ export declare class RestService implements OnDestroy {
11
11
  private readonly eventService;
12
12
  private BASE_URL;
13
13
  private ECOMMERCE_URL;
14
+ private PAYMENT_URL;
14
15
  private CMIS_URL;
15
16
  private environmentTypeSubscriber;
16
17
  kycDetails: any;
18
+ investorDetail: any;
17
19
  constructor(http: HttpClient, eventService: EventsService);
18
20
  ngOnDestroy(): void;
19
21
  getFeaturedProduct(collectionId: string | undefined | null): Observable<any>;
@@ -91,8 +93,9 @@ export declare class RestService implements OnDestroy {
91
93
  verifyPan(request: any): Observable<Object>;
92
94
  sendAadharOtp(request: any): Observable<Object>;
93
95
  verifyAadharOtp(request: any): Observable<Object>;
94
- getInvesterById(): Observable<Object>;
95
- purchaseProperty(payload: any): Observable<Object>;
96
+ getInvesterById(): Observable<any>;
97
+ createPropertyPaymentToken(payload: any): Observable<Object>;
98
+ verifyPropertyPaymentStatus(): Observable<Object>;
96
99
  getKycDetails(): Observable<any>;
97
100
  getFieldsToDisplay(fieldsList: any[]): any;
98
101
  static ɵfac: i0.ɵɵFactoryDeclaration<RestService, never>;
@@ -222,5 +222,6 @@ export declare const svgData: {
222
222
  };
223
223
  };
224
224
  export declare enum StorageKeys {
225
- INVESTOR_ID = "investorId"
225
+ INVESTOR_ID = "investorId",
226
+ ORDER_ID = "orderId"
226
227
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "2.2.21",
3
+ "version": "2.2.31",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
package/public-api.d.ts CHANGED
@@ -39,6 +39,7 @@ export * from './lib/sections/property-list/property-list.component';
39
39
  export * from './lib/sections/property-detail/property-detail.component';
40
40
  export * from './lib/sections/signup-signin/signup-signin.component';
41
41
  export * from './lib/sections/profile-section/profile-section.component';
42
+ export * from './lib/sections/verify-property-payment/verify-property-payment.component';
42
43
  export * from './lib/ecommerce/sections/featured-products/featured-products.component';
43
44
  export * from './lib/ecommerce/sections/featured-category/featured-category.component';
44
45
  export * from './lib/ecommerce/sections/product-desc/product-desc.component';
Binary file