simpo-component-library 2.2.31 → 2.2.33

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 (26) hide show
  1. package/esm2022/lib/elements/index.mjs +5 -6
  2. package/esm2022/lib/elements/portfolio/portfolio.component.mjs +27 -45
  3. package/esm2022/lib/elements/properties/properties.component.mjs +23 -58
  4. package/esm2022/lib/elements/property-view/property-view.component.mjs +46 -9
  5. package/esm2022/lib/sections/profile-section/profile-section.component.mjs +4 -4
  6. package/esm2022/lib/sections/property-component/property-component.component.mjs +15 -9
  7. package/esm2022/lib/sections/property-detail/property-detail.component.mjs +31 -8
  8. package/esm2022/lib/sections/property-list/property-list.component.mjs +10 -91
  9. package/esm2022/lib/services/rest.service.mjs +45 -16
  10. package/fesm2022/simpo-component-library.mjs +225 -276
  11. package/fesm2022/simpo-component-library.mjs.map +1 -1
  12. package/lib/elements/index.d.ts +2 -3
  13. package/lib/elements/portfolio/portfolio.component.d.ts +10 -12
  14. package/lib/elements/properties/properties.component.d.ts +7 -4
  15. package/lib/elements/property-view/property-view.component.d.ts +9 -2
  16. package/lib/sections/banner-carousel/banner-carousel.component.d.ts +2 -2
  17. package/lib/sections/carousel-banner/carousel-banner.component.d.ts +1 -1
  18. package/lib/sections/image-section/image-section.component.d.ts +2 -2
  19. package/lib/sections/logo-showcase/logo-showcase.component.d.ts +1 -1
  20. package/lib/sections/property-component/property-component.component.d.ts +1 -0
  21. package/lib/sections/property-detail/property-detail.component.d.ts +6 -1
  22. package/lib/sections/property-list/property-list.component.d.ts +2 -1
  23. package/lib/services/rest.service.d.ts +8 -0
  24. package/package.json +1 -1
  25. package/simpo-component-library-2.2.33.tgz +0 -0
  26. package/simpo-component-library-2.2.31.tgz +0 -0
@@ -9,10 +9,9 @@ import * as i7 from "./simpo-button/simpo-button.component";
9
9
  import * as i8 from "./socia-icons/socia-icons.component";
10
10
  import * as i9 from "./card-skeleton-loader/card-skeleton-loader.component";
11
11
  import * as i10 from "./svg-divider/svg-divider.component";
12
- import * as i11 from "./portfolio/portfolio.component";
13
- import * as i12 from "./payment-confirmation/payment-confirmation.component";
12
+ import * as i11 from "./payment-confirmation/payment-confirmation.component";
14
13
  export declare class SimpoElementsModule {
15
14
  static ɵfac: i0.ɵɵFactoryDeclaration<SimpoElementsModule, never>;
16
- static ɵmod: i0.ɵɵNgModuleDeclaration<SimpoElementsModule, never, [typeof i1.ButtonElementComponent, typeof i2.TextElementComponent, typeof i3.BelowImageCardComponent, typeof i4.TopOfImageCardComponent, typeof i5.CoveringImageCardComponent, typeof i6.HeadingElementComponent, typeof i7.SimpoButtonComponent, typeof i8.SociaIconsComponent, typeof i9.CardSkeletonLoaderComponent, typeof i10.SvgDividerComponent, typeof i11.PortfolioComponent, typeof i12.PaymentConfirmationComponent], [typeof i1.ButtonElementComponent, typeof i2.TextElementComponent, typeof i3.BelowImageCardComponent, typeof i4.TopOfImageCardComponent, typeof i5.CoveringImageCardComponent, typeof i6.HeadingElementComponent, typeof i7.SimpoButtonComponent, typeof i8.SociaIconsComponent, typeof i9.CardSkeletonLoaderComponent, typeof i10.SvgDividerComponent, typeof i11.PortfolioComponent, typeof i12.PaymentConfirmationComponent]>;
15
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SimpoElementsModule, never, [typeof i1.ButtonElementComponent, typeof i2.TextElementComponent, typeof i3.BelowImageCardComponent, typeof i4.TopOfImageCardComponent, typeof i5.CoveringImageCardComponent, typeof i6.HeadingElementComponent, typeof i7.SimpoButtonComponent, typeof i8.SociaIconsComponent, typeof i9.CardSkeletonLoaderComponent, typeof i10.SvgDividerComponent, typeof i11.PaymentConfirmationComponent], [typeof i1.ButtonElementComponent, typeof i2.TextElementComponent, typeof i3.BelowImageCardComponent, typeof i4.TopOfImageCardComponent, typeof i5.CoveringImageCardComponent, typeof i6.HeadingElementComponent, typeof i7.SimpoButtonComponent, typeof i8.SociaIconsComponent, typeof i9.CardSkeletonLoaderComponent, typeof i10.SvgDividerComponent, typeof i11.PaymentConfirmationComponent]>;
17
16
  static ɵinj: i0.ɵɵInjectorDeclaration<SimpoElementsModule>;
18
17
  }
@@ -1,17 +1,15 @@
1
+ import { RestService } from './../../services/rest.service';
1
2
  import * as i0 from "@angular/core";
2
3
  export declare class PortfolioComponent {
3
- property_list: {
4
- name: string;
5
- sq_ft: string;
6
- price: string;
7
- color: string;
8
- }[];
9
- dropDownValues: string[];
10
- topCards: {
11
- icon: string;
12
- text: string;
13
- count: string;
14
- }[];
4
+ private restService;
5
+ constructor(restService: RestService);
6
+ growthAmount: number;
7
+ growthPercentage: number;
8
+ portFolioData: any;
9
+ ngOnInit(): void;
10
+ getPortfolioDetails(): void;
11
+ propertyDetails: any;
12
+ getPropertyDetails(): void;
15
13
  static ɵfac: i0.ɵɵFactoryDeclaration<PortfolioComponent, never>;
16
14
  static ɵcmp: i0.ɵɵComponentDeclaration<PortfolioComponent, "simpo-portfolio", never, {}, {}, never, never, true, never>;
17
15
  }
@@ -1,11 +1,14 @@
1
+ import { RestService } from './../../services/rest.service';
1
2
  import * as i0 from "@angular/core";
2
3
  export declare class PropertiesComponent {
3
- constructor();
4
+ private restService;
5
+ constructor(restService: RestService);
4
6
  ngOnInit(): void;
5
- investments: any;
6
- activeTab: any;
7
- tabs: any;
8
7
  propertyDetails: any;
8
+ selectedId: any;
9
+ getPropertyDetails(): void;
10
+ screenWidth: any;
11
+ getScreenSize(): void;
9
12
  viewTab: boolean;
10
13
  static ɵfac: i0.ɵɵFactoryDeclaration<PropertiesComponent, never>;
11
14
  static ɵcmp: i0.ɵɵComponentDeclaration<PropertiesComponent, "simpo-properties", never, {}, {}, never, never, true, never>;
@@ -1,8 +1,15 @@
1
+ import { RestService } from './../../services/rest.service';
1
2
  import * as i0 from "@angular/core";
2
3
  export declare class PropertyViewComponent {
3
- text: string;
4
+ private restService;
5
+ id: any;
6
+ constructor(restService: RestService);
4
7
  ngOnInit(): void;
5
8
  propertyDetails: any;
9
+ srcHeight: any;
10
+ srcWidth: any;
11
+ getScreenSize(event?: any): void;
12
+ getPropertyDetails(id: any): void;
6
13
  static ɵfac: i0.ɵɵFactoryDeclaration<PropertyViewComponent, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<PropertyViewComponent, "simpo-property-view", never, { "text": { "alias": "text"; "required": false; }; }, {}, never, never, true, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<PropertyViewComponent, "simpo-property-view", never, { "id": { "alias": "id"; "required": false; }; }, {}, never, never, true, never>;
8
15
  }
@@ -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.2" | "0.3" | "0.5" | "0.7";
29
- opacityValue(value: OverlayValue): "0" | "0.2" | "0.3" | "0.5" | "0.7";
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";
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.2" | "0.3" | "0.5" | "0.7";
28
+ opacityValue(value: OverlayValue): "0" | "0.7" | "0.5" | "0.3" | "0.2";
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.2" | "0.3" | "0.5" | "0.7";
24
- opacityValue(value: OverlayValue): "1" | "0.2" | "0.3" | "0.5" | "0.7";
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";
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(): "reverse" | "normal" | logoDirection.Left;
26
+ get animationDirection(): logoDirection.Left | "reverse" | "normal";
27
27
  screenWidth: number;
28
28
  getScreenSize(event?: number): void;
29
29
  editSection(): void;
@@ -19,6 +19,7 @@ export declare class PropertyComponentComponent extends BaseSection {
19
19
  content?: PropertyContentModel;
20
20
  styles?: PropertyStylesModel;
21
21
  propertyListEventSubscription?: Subscription;
22
+ skelLoader: boolean;
22
23
  ngOnInit(): void;
23
24
  ngOnDestroy(): void;
24
25
  getPropertyList(): void;
@@ -3,18 +3,22 @@ import { RestService } from '../../services/rest.service';
3
3
  import { ActivatedRoute, Router } from '@angular/router';
4
4
  import { MatDialog } from '@angular/material/dialog';
5
5
  import { Subscription } from 'rxjs';
6
+ import { MessageService } from 'primeng/api';
6
7
  import * as i0 from "@angular/core";
7
8
  export declare class PropertyDetailComponent {
8
9
  private restService;
9
10
  private activatedRoute;
10
11
  private router;
11
12
  private readonly matDialog;
13
+ private readonly messageService;
12
14
  data?: PropertyDetailModel;
13
- constructor(restService: RestService, activatedRoute: ActivatedRoute, router: Router, matDialog: MatDialog);
15
+ constructor(restService: RestService, activatedRoute: ActivatedRoute, router: Router, matDialog: MatDialog, messageService: MessageService);
14
16
  propertyId: string;
15
17
  propertyDetails: any;
16
18
  kycDetailsSubscription?: Subscription;
17
19
  ngOnInit(): void;
20
+ skelLoader: boolean;
21
+ skelArray: any[];
18
22
  ngOnDestroy(): void;
19
23
  getPropertyDetails(): void;
20
24
  index: number;
@@ -26,6 +30,7 @@ export declare class PropertyDetailComponent {
26
30
  sqft: number;
27
31
  noOfSqft: number;
28
32
  purchaseProperty(): void;
33
+ checkMinInvestment(): boolean;
29
34
  getKycDetails(): void;
30
35
  static ɵfac: i0.ɵɵFactoryDeclaration<PropertyDetailComponent, never>;
31
36
  static ɵcmp: i0.ɵɵComponentDeclaration<PropertyDetailComponent, "simpo-property-detail", never, { "data": { "alias": "data"; "required": false; }; }, {}, never, never, true, never>;
@@ -18,8 +18,9 @@ export declare class PropertyListComponent extends BaseSection implements OnInit
18
18
  styles?: PropertyListStylesModal;
19
19
  content?: PropertyListContentModal;
20
20
  ngOnInit(): void;
21
+ skelLoader: boolean;
21
22
  getPropertyList(): void;
22
- propertyList: any[];
23
+ propertyList: any;
23
24
  get stylesLayout(): LayOutModel;
24
25
  get headingSpace(): SPACING;
25
26
  redirectToPropertyDetails(propertyId: string): void;
@@ -12,10 +12,14 @@ export declare class RestService implements OnDestroy {
12
12
  private BASE_URL;
13
13
  private ECOMMERCE_URL;
14
14
  private PAYMENT_URL;
15
+ private localInvestorUrl;
16
+ private localProperty;
17
+ private localPayment;
15
18
  private CMIS_URL;
16
19
  private environmentTypeSubscriber;
17
20
  kycDetails: any;
18
21
  investorDetail: any;
22
+ portfolioDetails: any;
19
23
  constructor(http: HttpClient, eventService: EventsService);
20
24
  ngOnDestroy(): void;
21
25
  getFeaturedProduct(collectionId: string | undefined | null): Observable<any>;
@@ -97,6 +101,10 @@ export declare class RestService implements OnDestroy {
97
101
  createPropertyPaymentToken(payload: any): Observable<Object>;
98
102
  verifyPropertyPaymentStatus(): Observable<Object>;
99
103
  getKycDetails(): Observable<any>;
104
+ getPortfolioDetails(): Observable<any>;
105
+ propertyDetails: any;
106
+ getMyPropertyDetails(): Observable<any>;
107
+ getPropertyById(propertyId: any): Observable<Object>;
100
108
  getFieldsToDisplay(fieldsList: any[]): any;
101
109
  static ɵfac: i0.ɵɵFactoryDeclaration<RestService, never>;
102
110
  static ɵprov: i0.ɵɵInjectableDeclaration<RestService>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "2.2.31",
3
+ "version": "2.2.33",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file