simpo-component-library 2.2.0 → 2.2.3

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 (63) hide show
  1. package/esm2022/lib/elements/index.mjs +6 -6
  2. package/esm2022/lib/elements/portfolio/portfolio.component.mjs +3 -3
  3. package/esm2022/lib/elements/property/property.component.mjs +41 -0
  4. package/esm2022/lib/sections/navbar-section/navbar-section.component.mjs +10 -30
  5. package/esm2022/lib/sections/property-component/property-component.component.mjs +7 -78
  6. package/esm2022/lib/sections/property-component/property-component.modal.mjs +1 -1
  7. package/esm2022/lib/sections/property-list/property-list.component.mjs +48 -101
  8. package/esm2022/lib/services/events.service.mjs +1 -2
  9. package/esm2022/lib/services/rest.service.mjs +5 -61
  10. package/esm2022/lib/styles/index.mjs +1 -5
  11. package/esm2022/public-api.mjs +1 -4
  12. package/fesm2022/simpo-component-library.mjs +5019 -5915
  13. package/fesm2022/simpo-component-library.mjs.map +1 -1
  14. package/lib/directive/background-directive.d.ts +1 -1
  15. package/lib/directive/button-directive.directive.d.ts +1 -1
  16. package/lib/directive/color.directive.d.ts +1 -1
  17. package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts +1 -1
  18. package/lib/elements/index.d.ts +3 -3
  19. package/lib/elements/property/property.component.d.ts +8 -0
  20. package/lib/sections/banner-carousel/banner-carousel.component.d.ts +2 -2
  21. package/lib/sections/carousel-banner/carousel-banner.component.d.ts +1 -1
  22. package/lib/sections/image-section/image-section.component.d.ts +2 -2
  23. package/lib/sections/logo-showcase/logo-showcase.component.d.ts +1 -1
  24. package/lib/sections/navbar-section/navbar-section.component.d.ts +1 -7
  25. package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
  26. package/lib/sections/property-component/property-component.component.d.ts +4 -24
  27. package/lib/sections/property-component/property-component.modal.d.ts +18 -11
  28. package/lib/sections/property-list/property-list.component.d.ts +1 -7
  29. package/lib/services/events.service.d.ts +0 -1
  30. package/lib/services/rest.service.d.ts +0 -15
  31. package/lib/styles/index.d.ts +0 -3
  32. package/package.json +1 -1
  33. package/public-api.d.ts +0 -3
  34. package/simpo-component-library-2.2.3.tgz +0 -0
  35. package/esm2022/lib/elements/my-documents/my-documents.component.mjs +0 -11
  36. package/esm2022/lib/elements/my-orders/my-orders.component.mjs +0 -64
  37. package/esm2022/lib/elements/my-statement/my-statement.component.mjs +0 -26
  38. package/esm2022/lib/elements/need-help/need-help.component.mjs +0 -11
  39. package/esm2022/lib/elements/payment-confirmation/payment-confirmation.component.mjs +0 -59
  40. package/esm2022/lib/elements/properties/properties.component.mjs +0 -70
  41. package/esm2022/lib/elements/property-view/property-view.component.mjs +0 -42
  42. package/esm2022/lib/sections/kyc-details/kyc-details.component.mjs +0 -125
  43. package/esm2022/lib/sections/profile-section/profile-section.component.mjs +0 -47
  44. package/esm2022/lib/sections/profile-section/profile-section.modal.mjs +0 -2
  45. package/esm2022/lib/sections/property-detail/property-detail.component.mjs +0 -121
  46. package/esm2022/lib/sections/property-detail/property-detail.model.mjs +0 -2
  47. package/esm2022/lib/sections/signup-signin/signup-signin.component.mjs +0 -272
  48. package/esm2022/lib/sections/signup-signin/signup-signin.model.mjs +0 -2
  49. package/lib/elements/my-documents/my-documents.component.d.ts +0 -5
  50. package/lib/elements/my-orders/my-orders.component.d.ts +0 -10
  51. package/lib/elements/my-statement/my-statement.component.d.ts +0 -8
  52. package/lib/elements/need-help/need-help.component.d.ts +0 -5
  53. package/lib/elements/payment-confirmation/payment-confirmation.component.d.ts +0 -20
  54. package/lib/elements/properties/properties.component.d.ts +0 -12
  55. package/lib/elements/property-view/property-view.component.d.ts +0 -8
  56. package/lib/sections/kyc-details/kyc-details.component.d.ts +0 -29
  57. package/lib/sections/profile-section/profile-section.component.d.ts +0 -15
  58. package/lib/sections/profile-section/profile-section.modal.d.ts +0 -5
  59. package/lib/sections/property-detail/property-detail.component.d.ts +0 -32
  60. package/lib/sections/property-detail/property-detail.model.d.ts +0 -5
  61. package/lib/sections/signup-signin/signup-signin.component.d.ts +0 -48
  62. package/lib/sections/signup-signin/signup-signin.model.d.ts +0 -10
  63. package/simpo-component-library-2.2.0.tgz +0 -0
@@ -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): "#ffffff" | "#000000" | "#ffffff;";
14
+ getTextColor(bgColor: string): "#000000" | "#ffffff" | "#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): "#ffffff" | "#000000" | "#ffffff;";
18
+ getTextColor(bgColor: string): "#000000" | "#ffffff" | "#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(): "#ffffff" | "#000000" | "#ffffff;";
15
+ getTextColor(): "#000000" | "#ffffff" | "#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): "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;
@@ -9,10 +9,10 @@ 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 "./property/property.component";
13
+ import * as i12 from "./portfolio/portfolio.component";
14
14
  export declare class SimpoElementsModule {
15
15
  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]>;
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.PropertyComponent, typeof i12.PortfolioComponent], [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.PropertyComponent, typeof i12.PortfolioComponent]>;
17
17
  static ɵinj: i0.ɵɵInjectorDeclaration<SimpoElementsModule>;
18
18
  }
@@ -0,0 +1,8 @@
1
+ import { Property } from '@simpo-ui/sections/property-component/property-component.modal';
2
+ import * as i0 from "@angular/core";
3
+ export declare class PropertyComponent {
4
+ element?: Property;
5
+ obj: any;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<PropertyComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<PropertyComponent, "simpo-property", never, { "element": { "alias": "element"; "required": false; }; }, {}, never, never, true, never>;
8
+ }
@@ -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;
@@ -9,7 +9,6 @@ import { StorageServiceService } from '../../services/storage.service';
9
9
  import { MatBottomSheet } from '@angular/material/bottom-sheet';
10
10
  import { HEADER_STYLING, ProductCardTheme } from '../../styles/index';
11
11
  import { RestService } from '../../services/rest.service';
12
- import { MessageService } from 'primeng/api';
13
12
  import * as i0 from "@angular/core";
14
13
  export declare class NavbarSectionComponent implements OnInit {
15
14
  private readonly _eventService;
@@ -20,7 +19,6 @@ export declare class NavbarSectionComponent implements OnInit {
20
19
  private readonly cookieService;
21
20
  private readonly storageService;
22
21
  private readonly restService;
23
- private readonly messageService;
24
22
  data?: HeaderSectionModel;
25
23
  nextComponent: any;
26
24
  index?: number;
@@ -35,7 +33,7 @@ export declare class NavbarSectionComponent implements OnInit {
35
33
  searchText: string;
36
34
  theme: typeof ProductCardTheme;
37
35
  HeaderStyling: typeof HEADER_STYLING;
38
- constructor(_eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, matDialog: MatDialog, bottomSheet: MatBottomSheet, cookieService: CookieService, storageService: StorageServiceService, restService: RestService, messageService: MessageService);
36
+ constructor(_eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, matDialog: MatDialog, bottomSheet: MatBottomSheet, cookieService: CookieService, storageService: StorageServiceService, restService: RestService);
39
37
  searchProducts(): void;
40
38
  goToFav(): void;
41
39
  get stylesLayout(): LayOutModel;
@@ -51,7 +49,6 @@ export declare class NavbarSectionComponent implements OnInit {
51
49
  get getParentHeight(): any;
52
50
  get getDropdownLinks(): string[];
53
51
  get isEcommerceWebsite(): boolean;
54
- get isRealEstateWebsite(): boolean;
55
52
  close(): void;
56
53
  showEditors: boolean;
57
54
  showEditTabs(isShow: boolean): void;
@@ -71,12 +68,9 @@ export declare class NavbarSectionComponent implements OnInit {
71
68
  get getHeaderStyling(): HEADER_STYLING | undefined;
72
69
  get isMobile(): boolean;
73
70
  getKeys(object: any): string[];
74
- get isLoggedIn(): boolean;
75
71
  getValues(object: any): unknown[];
76
72
  get userGender(): import("../../ecommerce/styles/user.modal").GENDER | null;
77
73
  get getNavbarButton(): any[];
78
- redirectToProfile(): void;
79
- logout(): void;
80
74
  static ɵfac: i0.ɵɵFactoryDeclaration<NavbarSectionComponent, never>;
81
75
  static ɵcmp: i0.ɵɵComponentDeclaration<NavbarSectionComponent, "simpo-navbar-section", never, { "data": { "alias": "data"; "required": false; }; "nextComponent": { "alias": "nextComponent"; "required": false; }; "index": { "alias": "index"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; }, {}, never, never, true, never>;
82
76
  }
@@ -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(): "#ffffff" | "#000000";
20
+ getTextColor(): "#000000" | "#ffffff";
21
21
  get headingSpace(): SPACING;
22
22
  editSection(): void;
23
23
  redirectTo(): void;
@@ -1,30 +1,10 @@
1
- import { PropertyContentModel, PropertySectionModel, PropertyStylesModel } from './property-component.modal';
2
- import BaseSection from '../BaseSection';
3
- import { BackgroundModel, LayOutModel } from '../../styles/style.model';
4
- import { RestService } from '../../services/rest.service';
5
- import { Router } from '@angular/router';
6
- import { EventsService } from '../../services/events.service';
7
- import { Subscription } from 'rxjs';
1
+ import { PropertyContentModel, PropertySectionModel } from './property-component.modal';
8
2
  import * as i0 from "@angular/core";
9
- export declare class PropertyComponentComponent extends BaseSection {
10
- private restService;
11
- private router;
12
- private eventsService;
13
- constructor(restService: RestService, router: Router, eventsService: EventsService);
3
+ export declare class PropertyComponentComponent {
14
4
  data?: PropertySectionModel;
15
- index?: number;
16
- edit?: boolean;
17
- delete?: boolean;
18
- nextComponentColor?: BackgroundModel;
19
5
  content?: PropertyContentModel;
20
- styles?: PropertyStylesModel;
21
- propertyListEventSubscription?: Subscription;
6
+ index?: number;
22
7
  ngOnInit(): void;
23
- ngOnDestroy(): void;
24
- getPropertyList(): void;
25
- propertyList: any[];
26
- get stylesLayout(): LayOutModel;
27
- redirectToPropertyDetails(propertyId: string): void;
28
8
  static ɵfac: i0.ɵɵFactoryDeclaration<PropertyComponentComponent, never>;
29
- static ɵcmp: i0.ɵɵComponentDeclaration<PropertyComponentComponent, "simpo-property-component", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<PropertyComponentComponent, "simpo-property-component", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
30
10
  }
@@ -1,21 +1,28 @@
1
- import { Corners } from './../../styles/index';
2
- import { AnimationModel, BackgroundModel, BorderModel, DeviderModel, InputTextModel, LayOutModel } from './../../styles/style.model';
1
+ import { InputTextModel, ListItemModal } from './../../styles/style.model';
3
2
  export interface PropertySectionModel {
4
3
  id: string;
5
4
  sectionType: string;
6
5
  sectionName: string;
7
6
  content: PropertyContentModel;
8
- styles: PropertyStylesModel;
9
7
  }
10
8
  export interface PropertyContentModel {
11
9
  inputText: InputTextModel[];
12
- propertyIds: number[];
10
+ listItem: ListItemModal<Property>;
13
11
  }
14
- export interface PropertyStylesModel {
15
- layout: LayOutModel;
16
- background: BackgroundModel;
17
- animation: AnimationModel;
18
- border: BorderModel;
19
- devider: DeviderModel;
20
- corners: Corners;
12
+ export interface Location {
13
+ city: string;
14
+ state: string;
15
+ }
16
+ export interface Feature {
17
+ key: string;
18
+ value: string;
19
+ }
20
+ export interface Property {
21
+ heading: string;
22
+ location: Location;
23
+ latitude: string;
24
+ longitude: string;
25
+ minInvestment: string;
26
+ features: Feature[];
27
+ backgroundImageUrl: string;
21
28
  }
@@ -3,26 +3,20 @@ import { PropertyListContentModal, PropertyListModal, PropertyListStylesModal }
3
3
  import { LayOutModel } from '../../styles/style.model';
4
4
  import BaseSection from '../BaseSection';
5
5
  import { SPACING } from '../../styles/index';
6
- import { RestService } from '../../services/rest.service';
7
- import { Router } from '@angular/router';
8
6
  import * as i0 from "@angular/core";
9
7
  export declare class PropertyListComponent extends BaseSection implements OnInit {
10
- private restService;
11
- private router;
12
8
  data?: PropertyListModal;
13
9
  index?: number;
14
10
  edit?: boolean;
15
11
  delete?: boolean;
16
12
  customClass?: string;
17
- constructor(restService: RestService, router: Router);
13
+ constructor();
18
14
  styles?: PropertyListStylesModal;
19
15
  content?: PropertyListContentModal;
20
16
  ngOnInit(): void;
21
- getPropertyList(): void;
22
17
  propertyList: any[];
23
18
  get stylesLayout(): LayOutModel;
24
19
  get headingSpace(): SPACING;
25
- redirectToPropertyDetails(propertyId: string): void;
26
20
  static ɵfac: i0.ɵɵFactoryDeclaration<PropertyListComponent, never>;
27
21
  static ɵcmp: i0.ɵɵComponentDeclaration<PropertyListComponent, "simpo-property-list", 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; }; }, {}, never, never, true, never>;
28
22
  }
@@ -43,7 +43,6 @@ export declare class EventsService implements OnInit {
43
43
  environmentType: EventEmitter<string>;
44
44
  categoryProductList: EventEmitter<string>;
45
45
  collectionsListEvent: EventEmitter<string[]>;
46
- propertyListEvent: EventEmitter<string>;
47
46
  categoryListEvent: EventEmitter<string>;
48
47
  showLoadingScreen: EventEmitter<boolean>;
49
48
  cashFreeEvent: EventEmitter<unknown>;
@@ -13,7 +13,6 @@ export declare class RestService implements OnDestroy {
13
13
  private ECOMMERCE_URL;
14
14
  private CMIS_URL;
15
15
  private environmentTypeSubscriber;
16
- kycDetails: any;
17
16
  constructor(http: HttpClient, eventService: EventsService);
18
17
  ngOnDestroy(): void;
19
18
  getFeaturedProduct(collectionId: string | undefined | null): Observable<any>;
@@ -80,20 +79,6 @@ export declare class RestService implements OnDestroy {
80
79
  getAllDocument(payload: any): Observable<Object>;
81
80
  getLeadById(leadId: any): Observable<Object>;
82
81
  getRegistrationList(payload: any): Observable<Object>;
83
- getFeaturedProperty(propertyIds: number[]): Observable<Object>;
84
- getPropertyList(): Observable<Object>;
85
- getPropertyDetails(propertyId: string): Observable<Object>;
86
- signUp(investor: any): Observable<Object>;
87
- sendOtp(email: any): Observable<Object>;
88
- login(payload: any): Observable<Object>;
89
- verifyOtp(email: string, otp: string): Observable<Object>;
90
- logout(): Observable<Object>;
91
- verifyPan(request: any): Observable<Object>;
92
- sendAadharOtp(request: any): Observable<Object>;
93
- verifyAadharOtp(request: any): Observable<Object>;
94
- getInvesterById(): Observable<Object>;
95
- purchaseProperty(payload: any): Observable<Object>;
96
- getKycDetails(): Observable<any>;
97
82
  getFieldsToDisplay(fieldsList: any[]): any;
98
83
  static ɵfac: i0.ɵɵFactoryDeclaration<RestService, never>;
99
84
  static ɵprov: i0.ɵɵInjectableDeclaration<RestService>;
@@ -221,6 +221,3 @@ export declare const svgData: {
221
221
  rotateY: boolean;
222
222
  };
223
223
  };
224
- export declare enum StorageKeys {
225
- INVESTOR_ID = "investorId"
226
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "2.2.0",
3
+ "version": "2.2.3",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
package/public-api.d.ts CHANGED
@@ -36,9 +36,6 @@ export * from './lib/sections/registration-form/registration-form.component';
36
36
  export * from './lib/sections/property-component/property-component.component';
37
37
  export * from './lib/sections/usp-video-section/usp-video-section.component';
38
38
  export * from './lib/sections/property-list/property-list.component';
39
- export * from './lib/sections/property-detail/property-detail.component';
40
- export * from './lib/sections/signup-signin/signup-signin.component';
41
- export * from './lib/sections/profile-section/profile-section.component';
42
39
  export * from './lib/ecommerce/sections/featured-products/featured-products.component';
43
40
  export * from './lib/ecommerce/sections/featured-category/featured-category.component';
44
41
  export * from './lib/ecommerce/sections/product-desc/product-desc.component';
@@ -1,11 +0,0 @@
1
- import { Component } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class MyDocumentsComponent {
4
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: MyDocumentsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
5
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.4", type: MyDocumentsComponent, isStandalone: true, selector: "simpo-my-documents", ngImport: i0, template: "<p>my-documents works!</p>\r\n", styles: [""] }); }
6
- }
7
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: MyDocumentsComponent, decorators: [{
8
- type: Component,
9
- args: [{ selector: 'simpo-my-documents', standalone: true, imports: [], template: "<p>my-documents works!</p>\r\n" }]
10
- }] });
11
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibXktZG9jdW1lbnRzLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3NpbXBvLXVpL3NyYy9saWIvZWxlbWVudHMvbXktZG9jdW1lbnRzL215LWRvY3VtZW50cy5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9zaW1wby11aS9zcmMvbGliL2VsZW1lbnRzL215LWRvY3VtZW50cy9teS1kb2N1bWVudHMuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFTMUMsTUFBTSxPQUFPLG9CQUFvQjs4R0FBcEIsb0JBQW9CO2tHQUFwQixvQkFBb0IsOEVDVGpDLGdDQUNBOzsyRkRRYSxvQkFBb0I7a0JBUGhDLFNBQVM7K0JBQ0Usb0JBQW9CLGNBQ2xCLElBQUksV0FDUCxFQUFFIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcblxyXG5AQ29tcG9uZW50KHtcclxuICBzZWxlY3RvcjogJ3NpbXBvLW15LWRvY3VtZW50cycsXHJcbiAgc3RhbmRhbG9uZTogdHJ1ZSxcclxuICBpbXBvcnRzOiBbXSxcclxuICB0ZW1wbGF0ZVVybDogJy4vbXktZG9jdW1lbnRzLmNvbXBvbmVudC5odG1sJyxcclxuICBzdHlsZVVybDogJy4vbXktZG9jdW1lbnRzLmNvbXBvbmVudC5jc3MnXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBNeURvY3VtZW50c0NvbXBvbmVudCB7XHJcblxyXG59XHJcbiIsIjxwPm15LWRvY3VtZW50cyB3b3JrcyE8L3A+XHJcbiJdfQ==
@@ -1,64 +0,0 @@
1
- import { CommonModule } from '@angular/common';
2
- import { Component } from '@angular/core';
3
- import { MatIcon } from '@angular/material/icon';
4
- import * as i0 from "@angular/core";
5
- import * as i1 from "@angular/common";
6
- export class MyOrdersComponent {
7
- constructor() {
8
- this.activeTab = "ALL_ORDERS";
9
- this.tabs = [
10
- { viewValue: "All Orders", value: "ALL_ORDERS" },
11
- { viewValue: "Open Orders", value: "ORDERS" },
12
- { viewValue: "Successful Orders", value: "SUCCESS" },
13
- { viewValue: "Unsuccessful Orders", value: "UNSUCCESS" },
14
- { viewValue: "Sell Orders", value: "SELL" },
15
- ];
16
- this.properties = [
17
- {
18
- imgUrl: "https://prod-simpo.s3.ap-south-1.amazonaws.com/prod-images/815921c1739254843186image%20%285%29.png",
19
- status: "SUCCESS",
20
- investedOn: "10th May 2023",
21
- sqft: "450 Sq ft",
22
- investedAmount: "₹4.1 L",
23
- orderType: "Sell Order",
24
- orderPlacedOn: "10th May 2023",
25
- orderExecutedOn: "12th May 2023",
26
- propertyName: "Real Estate Debt Investment - Blue Moon",
27
- propertyLocation: "RRR Hyderabad, Telangana",
28
- },
29
- {
30
- imgUrl: "https://prod-simpo.s3.ap-south-1.amazonaws.com/prod-images/815921c1739254843186image%20%285%29.png",
31
- status: "PENDING",
32
- investedOn: "10th May 2023",
33
- sqft: "450 Sq ft",
34
- investedAmount: "₹4.1 L",
35
- orderType: "Buy Order",
36
- orderPlacedOn: "10th May 2023",
37
- orderExecutedOn: "12th May 2023",
38
- propertyName: "Real Estate Debt Investment - Blue Moon",
39
- propertyLocation: "RRR Hyderabad, Telangana",
40
- },
41
- {
42
- imgUrl: "https://prod-simpo.s3.ap-south-1.amazonaws.com/prod-images/815921c1739254843186image%20%285%29.png",
43
- status: "CANCELLED",
44
- investedOn: "10th May 2023",
45
- sqft: "450 Sq ft",
46
- investedAmount: "₹4.1 L",
47
- orderType: "Buy Order",
48
- orderPlacedOn: "10th May 2023",
49
- orderExecutedOn: "12th May 2023",
50
- propertyName: "Real Estate Debt Investment - Blue Moon",
51
- propertyLocation: "RRR Hyderabad, Telangana",
52
- }
53
- ];
54
- }
55
- ngOnInit() {
56
- }
57
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: MyOrdersComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
58
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.4", type: MyOrdersComponent, isStandalone: true, selector: "simpo-my-orders", ngImport: i0, template: "<div class=\"main-container\">\r\n <div class=\"property-tabs d-flex gap-10 mt-3 mb-3\">\r\n <div class=\"tab\" *ngFor=\"let ele of tabs\" (click)=\"activeTab = ele.value\"\r\n [class.tabActive]=\"activeTab == ele.value\">{{ele.viewValue}}</div>\r\n </div>\r\n <div class=\"cards-container\">\r\n <div class=\"property-card mb-3\" *ngFor=\"let ele of properties\">\r\n <div class=\"card-top d-flex justify-content-between\">\r\n <div class=\"card-left d-flex p-10 align-items-center\">\r\n <div class=\"br-1 p-0-10\">\r\n <div class=\"status\" [class.success]=\"ele.status == 'SUCCESS'\" [class.cancelled]=\"ele.status == 'CANCELLED'\">\r\n &#x2022;&nbsp;{{ele.status | titlecase}}\r\n </div>\r\n </div>\r\n <div class=\"investedOn p-10\">\r\n {{ele.investedOn}}\r\n </div>\r\n </div>\r\n <div class=\"card-right d-flex align-items-center\" [class.buy]=\"ele.orderType == 'Buy Order' \">\r\n {{ele.orderType}}\r\n </div>\r\n </div>\r\n <div class=\"card-middle d-flex justify-content-between p-15\">\r\n <div class=\"middle-1 d-flex gap-10\">\r\n <div class=\"image-container\">\r\n <img [src]=\"ele.imgUrl\" alt=\"property image\" class=\"property-img\">\r\n </div>\r\n <div class=\"property-details\">\r\n <div class=\"property-name\">{{ele.propertyName}}</div>\r\n <div class=\"property-location\">{{ele.propertyLocation}}</div>\r\n </div>\r\n </div>\r\n <div class=\"middle-2\">\r\n {{ele.sqft}}\r\n </div>\r\n <div class=\"middle-3\">\r\n {{ele.investedAmount}}\r\n </div>\r\n </div>\r\n <div class=\"card-bottom d-flex align-items-center\">\r\n <div class=\"round-container\">\r\n <div class=\"round-1 d-flex align-items-center justify-content-center round-1-active\"><mat-icon class=\"d-flex align-items-center justify-content-center f-16\">check</mat-icon></div>\r\n </div>\r\n <div class=\"line\"></div>\r\n <div class=\"round-container\">\r\n <div class=\"round-2 d-flex align-items-center justify-content-center\" [class.round-1-active]=\"ele.status == 'SUCCESS'\" [class.round-cancelled]=\"ele.status == 'CANCELLED'\"><mat-icon *ngIf=\"ele.status == 'CANCELLED'\" class=\"d-flex align-items-center justify-content-center f-16\">close</mat-icon><mat-icon class=\"d-flex align-items-center justify-content-center f-16\" *ngIf=\"ele.status == 'SUCCESS'\">check</mat-icon></div>\r\n </div>\r\n </div>\r\n <div class=\"card-bottom d-flex justify-content-between\">\r\n <div class=\"placed\">\r\n <p class=\"placed-text mb-0\">Order Placed</p><span class=\"date\">{{ele.orderPlacedOn}}</span>\r\n </div>\r\n <div class=\"placed\">\r\n <p class=\"placed-text mb-0\">Order {{ele.status == 'CANCELLED' ? \"Cancelled\" : \"Executed\"}}</p><span class=\"date\">{{ele.orderExecutedOn}}</span>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>", styles: ["*{font-family:DM Sans!important}mat-icon{font-family:Material Icons!important}.tab{padding:10px;background:#fff;border:1px solid rgba(0,0,0,.05);border-radius:8px;font-size:16px;line-height:24px;font-weight:500;color:#01161e;cursor:pointer}.tabActive{color:#f8a938!important;border:1px solid rgba(248,169,56,1)!important}.gap-10{gap:10px}.cards-container{height:70vh;overflow-y:scroll}.property-card{background:#fff;border:1px solid rgba(0,0,0,.04);border-radius:10px}.p-10{padding:10px}.p-15{padding:15px}.status{background:#ffd84b1a;border-radius:10px;font-size:14px;font-weight:600;line-height:21px;color:#f3be00;padding:5px}.success{background-color:#09b6000f!important;color:#09b600!important}.cancelled{background-color:#9017150d!important;color:#e43d11!important}.br-1{border-right:2px solid rgba(0,0,0,.2)}.card-bottom{width:70%;margin:0 auto}.round-1,.round-2{height:3vh;width:20px;background:#e1e1e1;border-radius:50%}.round-1-active{background:#f8a938!important;color:#fff}.f-18{font-size:18px}.line{background:#e1e1e1;height:2px;width:80%}.card-bottom-1{width:70%;margin:0 auto}.investedOn{font-size:16px;line-height:21px;font-weight:600;color:#000000b3}.card-right{background:#f86e38;border-radius:8px 0 0 8px;font-size:14px;line-height:24px;padding:5px;font-weight:600;color:#fff;margin:15px 0}.buy{background:#077b01!important}.property-name{font-size:16px;line-height:21px;font-weight:600;color:#0009}.property-location{font-size:14px;line-height:44px;font-weight:500;color:#0000004d}.middle-2{font-size:16px;line-height:21px;color:#000000b3;font-weight:600}.middle-3{font-size:26px;line-height:33px;font-weight:700;color:#000000b3}.placed-text{font-size:16px;font-weight:600;line-height:21px;color:#000000b3}.date{font-size:14px;line-height:44px;font-weight:500;color:#0000004d}.property-img{height:8vh;width:80px;border-radius:10px}.f-16{font-size:16px}.p-0-10{padding:0 10px}.round-cancelled{background-color:#fd3516!important;color:#fff!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1.TitleCasePipe, name: "titlecase" }, { kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] }); }
59
- }
60
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: MyOrdersComponent, decorators: [{
61
- type: Component,
62
- args: [{ selector: 'simpo-my-orders', standalone: true, imports: [CommonModule, MatIcon], template: "<div class=\"main-container\">\r\n <div class=\"property-tabs d-flex gap-10 mt-3 mb-3\">\r\n <div class=\"tab\" *ngFor=\"let ele of tabs\" (click)=\"activeTab = ele.value\"\r\n [class.tabActive]=\"activeTab == ele.value\">{{ele.viewValue}}</div>\r\n </div>\r\n <div class=\"cards-container\">\r\n <div class=\"property-card mb-3\" *ngFor=\"let ele of properties\">\r\n <div class=\"card-top d-flex justify-content-between\">\r\n <div class=\"card-left d-flex p-10 align-items-center\">\r\n <div class=\"br-1 p-0-10\">\r\n <div class=\"status\" [class.success]=\"ele.status == 'SUCCESS'\" [class.cancelled]=\"ele.status == 'CANCELLED'\">\r\n &#x2022;&nbsp;{{ele.status | titlecase}}\r\n </div>\r\n </div>\r\n <div class=\"investedOn p-10\">\r\n {{ele.investedOn}}\r\n </div>\r\n </div>\r\n <div class=\"card-right d-flex align-items-center\" [class.buy]=\"ele.orderType == 'Buy Order' \">\r\n {{ele.orderType}}\r\n </div>\r\n </div>\r\n <div class=\"card-middle d-flex justify-content-between p-15\">\r\n <div class=\"middle-1 d-flex gap-10\">\r\n <div class=\"image-container\">\r\n <img [src]=\"ele.imgUrl\" alt=\"property image\" class=\"property-img\">\r\n </div>\r\n <div class=\"property-details\">\r\n <div class=\"property-name\">{{ele.propertyName}}</div>\r\n <div class=\"property-location\">{{ele.propertyLocation}}</div>\r\n </div>\r\n </div>\r\n <div class=\"middle-2\">\r\n {{ele.sqft}}\r\n </div>\r\n <div class=\"middle-3\">\r\n {{ele.investedAmount}}\r\n </div>\r\n </div>\r\n <div class=\"card-bottom d-flex align-items-center\">\r\n <div class=\"round-container\">\r\n <div class=\"round-1 d-flex align-items-center justify-content-center round-1-active\"><mat-icon class=\"d-flex align-items-center justify-content-center f-16\">check</mat-icon></div>\r\n </div>\r\n <div class=\"line\"></div>\r\n <div class=\"round-container\">\r\n <div class=\"round-2 d-flex align-items-center justify-content-center\" [class.round-1-active]=\"ele.status == 'SUCCESS'\" [class.round-cancelled]=\"ele.status == 'CANCELLED'\"><mat-icon *ngIf=\"ele.status == 'CANCELLED'\" class=\"d-flex align-items-center justify-content-center f-16\">close</mat-icon><mat-icon class=\"d-flex align-items-center justify-content-center f-16\" *ngIf=\"ele.status == 'SUCCESS'\">check</mat-icon></div>\r\n </div>\r\n </div>\r\n <div class=\"card-bottom d-flex justify-content-between\">\r\n <div class=\"placed\">\r\n <p class=\"placed-text mb-0\">Order Placed</p><span class=\"date\">{{ele.orderPlacedOn}}</span>\r\n </div>\r\n <div class=\"placed\">\r\n <p class=\"placed-text mb-0\">Order {{ele.status == 'CANCELLED' ? \"Cancelled\" : \"Executed\"}}</p><span class=\"date\">{{ele.orderExecutedOn}}</span>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>", styles: ["*{font-family:DM Sans!important}mat-icon{font-family:Material Icons!important}.tab{padding:10px;background:#fff;border:1px solid rgba(0,0,0,.05);border-radius:8px;font-size:16px;line-height:24px;font-weight:500;color:#01161e;cursor:pointer}.tabActive{color:#f8a938!important;border:1px solid rgba(248,169,56,1)!important}.gap-10{gap:10px}.cards-container{height:70vh;overflow-y:scroll}.property-card{background:#fff;border:1px solid rgba(0,0,0,.04);border-radius:10px}.p-10{padding:10px}.p-15{padding:15px}.status{background:#ffd84b1a;border-radius:10px;font-size:14px;font-weight:600;line-height:21px;color:#f3be00;padding:5px}.success{background-color:#09b6000f!important;color:#09b600!important}.cancelled{background-color:#9017150d!important;color:#e43d11!important}.br-1{border-right:2px solid rgba(0,0,0,.2)}.card-bottom{width:70%;margin:0 auto}.round-1,.round-2{height:3vh;width:20px;background:#e1e1e1;border-radius:50%}.round-1-active{background:#f8a938!important;color:#fff}.f-18{font-size:18px}.line{background:#e1e1e1;height:2px;width:80%}.card-bottom-1{width:70%;margin:0 auto}.investedOn{font-size:16px;line-height:21px;font-weight:600;color:#000000b3}.card-right{background:#f86e38;border-radius:8px 0 0 8px;font-size:14px;line-height:24px;padding:5px;font-weight:600;color:#fff;margin:15px 0}.buy{background:#077b01!important}.property-name{font-size:16px;line-height:21px;font-weight:600;color:#0009}.property-location{font-size:14px;line-height:44px;font-weight:500;color:#0000004d}.middle-2{font-size:16px;line-height:21px;color:#000000b3;font-weight:600}.middle-3{font-size:26px;line-height:33px;font-weight:700;color:#000000b3}.placed-text{font-size:16px;font-weight:600;line-height:21px;color:#000000b3}.date{font-size:14px;line-height:44px;font-weight:500;color:#0000004d}.property-img{height:8vh;width:80px;border-radius:10px}.f-16{font-size:16px}.p-0-10{padding:0 10px}.round-cancelled{background-color:#fd3516!important;color:#fff!important}\n"] }]
63
- }], ctorParameters: () => [] });
64
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibXktb3JkZXJzLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3NpbXBvLXVpL3NyYy9saWIvZWxlbWVudHMvbXktb3JkZXJzL215LW9yZGVycy5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9zaW1wby11aS9zcmMvbGliL2VsZW1lbnRzL215LW9yZGVycy9teS1vcmRlcnMuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDMUMsT0FBTyxFQUFFLE9BQU8sRUFBRSxNQUFNLHdCQUF3QixDQUFDOzs7QUFTakQsTUFBTSxPQUFPLGlCQUFpQjtJQUU1QjtRQVFBLGNBQVMsR0FBUyxZQUFZLENBQUE7UUFDOUIsU0FBSSxHQUFTO1lBQ1gsRUFBQyxTQUFTLEVBQUcsWUFBWSxFQUFHLEtBQUssRUFBRyxZQUFZLEVBQUM7WUFDakQsRUFBQyxTQUFTLEVBQUcsYUFBYSxFQUFHLEtBQUssRUFBRyxRQUFRLEVBQUM7WUFDOUMsRUFBQyxTQUFTLEVBQUcsbUJBQW1CLEVBQUcsS0FBSyxFQUFHLFNBQVMsRUFBQztZQUNyRCxFQUFDLFNBQVMsRUFBRyxxQkFBcUIsRUFBRyxLQUFLLEVBQUcsV0FBVyxFQUFDO1lBQ3pELEVBQUMsU0FBUyxFQUFHLGFBQWEsRUFBRyxLQUFLLEVBQUcsTUFBTSxFQUFDO1NBQzdDLENBQUE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Y2xhc3M9XCJici0xIHAtMC0xMFwiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwic3RhdHVzXCIgW2NsYXNzLnN1Y2Nlc3NdPVwiZWxlLnN0YXR1cyA9PSAnU1VDQ0VTUydcIiBbY2xhc3MuY2FuY2VsbGVkXT1cImVsZS5zdGF0dXMgPT0gJ0NBTkNFTExFRCdcIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICYjeDIwMjI7Jm5ic3A7e3tlbGUuc3RhdHVzIHwgdGl0bGVjYXNlfX1cclxuICAgICAgICAgICAgICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cImludmVzdGVkT24gcC0xMFwiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICB7e2VsZS5pbnZlc3RlZE9ufX1cclxuICAgICAgICAgICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cImNhcmQtcmlnaHQgZC1mbGV4IGFsaWduLWl0ZW1zLWNlbnRlclwiIFtjbGFzcy5idXldPVwiZWxlLm9yZGVyVHlwZSA9PSAnQnV5IE9yZGVyJyBcIj5cclxuICAgICAgICAgICAgICAgICAgICB7e2VsZS5vcmRlclR5cGV9fVxyXG4gICAgICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgICAgICA8ZGl2IGNsYXNzPVwiY2FyZC1taWRkbGUgZC1mbGV4IGp1c3RpZnktY29udGVudC1iZXR3ZWVuIHAtMTVcIj5cclxuICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJtaWRkbGUtMSBkLWZsZXggZ2FwLTEwXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cImltYWdlLWNvbnRhaW5lclwiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8aW1nIFtzcmNdPVwiZWxlLmltZ1VybFwiIGFsdD1cInByb3BlcnR5IGltYWdlXCIgY2xhc3M9XCJwcm9wZXJ0eS1pbWdcIj5cclxuICAgICAgICAgICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwicHJvcGVydHktZGV0YWlsc1wiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwicHJvcGVydHktbmFtZVwiPnt7ZWxlLnByb3BlcnR5TmFtZX19PC9kaXY+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJwcm9wZXJ0eS1sb2NhdGlvblwiPnt7ZWxlLnByb3BlcnR5TG9jYXRpb259fTwvZGl2PlxyXG4gICAgICAgICAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwibWlkZGxlLTJcIj5cclxuICAgICAgICAgICAgICAgICAgICB7e2VsZS5zcWZ0fX1cclxuICAgICAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cIm1pZGRsZS0zXCI+XHJcbiAgICAgICAgICAgICAgICAgICAge3tlbGUuaW52ZXN0ZWRBbW91bnR9fVxyXG4gICAgICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgICAgICA8ZGl2IGNsYXNzPVwiY2FyZC1ib3R0b20gZC1mbGV4IGFsaWduLWl0ZW1zLWNlbnRlclwiPlxyXG4gICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cInJvdW5kLWNvbnRhaW5lclwiPlxyXG4gICAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJyb3VuZC0xIGQtZmxleCBhbGlnbi1pdGVtcy1jZW50ZXIganV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lbnQtYmV0d2VlblwiPlxyXG4gICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cInBsYWNlZFwiPlxyXG4gICAgICAgICAgICAgICAgICAgIDxwIGNsYXNzPVwicGxhY2VkLXRleHQgbWItMFwiPk9yZGVyIFBsYWNlZDwvcD48c3BhbiBjbGFzcz1cImRhdGVcIj57e2VsZS5vcmRlclBsYWNlZE9ufX08L3NwYW4+XHJcbiAgICAgICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJwbGFjZWRcIj5cclxuICAgICAgICAgICAgICAgICAgICA8cCBjbGFzcz1cInBsYWNlZC10ZXh0IG1iLTBcIj5PcmRlciB7e2VsZS5zdGF0dXMgPT0gJ0NBTkNFTExFRCcgPyBcIkNhbmNlbGxlZFwiIDogXCJFeGVjdXRlZFwifX08L3A+PHNwYW4gY2xhc3M9XCJkYXRlXCI+e3tlbGUub3JkZXJFeGVjdXRlZE9ufX08L3NwYW4+XHJcbiAgICAgICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgPC9kaXY+XHJcbiAgICA8L2Rpdj5cclxuPC9kaXY+Il19
@@ -1,26 +0,0 @@
1
- import { CommonModule } from '@angular/common';
2
- import { Component } from '@angular/core';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@angular/common";
5
- export class MyStatementComponent {
6
- constructor() {
7
- this.tableHeaders = ["Amount", "Status", "Payment Method", "Remarks"];
8
- this.tableData = [
9
- { amount: 12000, status: "SUCCESS", method: "Credit Card", remarks: "Property Purchased" },
10
- { amount: 12000, status: "SUCCESS", method: "UPI", remarks: "Property Purchased" },
11
- { amount: 12000, status: "PENDING", method: "Credit Card", remarks: "Property Purchased" },
12
- { amount: 12000, status: "SUCCESS", method: "Credit Card", remarks: "Property Purchased" },
13
- { amount: 12000, status: "SUCCESS", method: "Credit Card", remarks: "Property Purchased" },
14
- { amount: 12000, status: "FAILED", method: "UPI", remarks: "Property Purchased" },
15
- { amount: 12000, status: "SUCCESS", method: "UPI", remarks: "Property Purchased" },
16
- { amount: 12000, status: "FAILED", method: "Credit Card", remarks: "Property Purchased" },
17
- ];
18
- }
19
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: MyStatementComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
20
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.4", type: MyStatementComponent, isStandalone: true, selector: "simpo-my-statement", ngImport: i0, template: "<div class=\"main-container\">\r\n <div class=\"header\">Transaction History</div>\r\n <div class=\"table-container\">\r\n <table class=\"w-100\">\r\n <thead>\r\n <th *ngFor=\"let head of tableHeaders\">{{head}}</th>\r\n </thead>\r\n <tbody>\r\n <tr *ngFor=\"let data of tableData\">\r\n <td>{{data.amount}}</td>\r\n <td><div [class.success]=\"data.status == 'SUCCESS'\" [class.pending]=\"data.status == 'PENDING'\" [class.failed]=\"data.status == 'FAILED'\" class=\"common-style\"> &#x2022;&nbsp;{{data.status | titlecase}}</div></td>\r\n <td>{{data.method}}</td>\r\n <td>{{data.remarks.length > 15 ? data.remarks.substring(0,15)+\"...\" : data.remarks}}</td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </div>\r\n</div>", styles: ["*{font-family:DM Sans!important}mat-icon{font-family:Material Icons!important}.main-container{background:#fff;border:2px solid rgba(0,0,0,.06);border-radius:10px;padding:50px}.header{font-size:16px;font-weight:700;line-height:24px;color:#01161e;margin-bottom:20px}.table-container{overflow-y:scroll;height:60vh}.table-container thead{background:#f6f6f6}.table-container th{padding:10px;position:sticky}.table-container tr{background:#fdfdfd;border-bottom:1px solid rgba(0,0,0,.05)}.table-container td{padding:10px;font-weight:500;font-size:16px;line-height:24px;color:#3e3e3e}.success{background:#3bb6101a;color:#2f9335}.pending{background:#f8a9381a;color:#f8a938}.failed{background:#9017151a;color:#901715}.common-style{width:65%;padding:5px;border-radius:10px;text-align:center}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "pipe", type: i1.TitleCasePipe, name: "titlecase" }] }); }
21
- }
22
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: MyStatementComponent, decorators: [{
23
- type: Component,
24
- args: [{ selector: 'simpo-my-statement', standalone: true, imports: [CommonModule], template: "<div class=\"main-container\">\r\n <div class=\"header\">Transaction History</div>\r\n <div class=\"table-container\">\r\n <table class=\"w-100\">\r\n <thead>\r\n <th *ngFor=\"let head of tableHeaders\">{{head}}</th>\r\n </thead>\r\n <tbody>\r\n <tr *ngFor=\"let data of tableData\">\r\n <td>{{data.amount}}</td>\r\n <td><div [class.success]=\"data.status == 'SUCCESS'\" [class.pending]=\"data.status == 'PENDING'\" [class.failed]=\"data.status == 'FAILED'\" class=\"common-style\"> &#x2022;&nbsp;{{data.status | titlecase}}</div></td>\r\n <td>{{data.method}}</td>\r\n <td>{{data.remarks.length > 15 ? data.remarks.substring(0,15)+\"...\" : data.remarks}}</td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </div>\r\n</div>", styles: ["*{font-family:DM Sans!important}mat-icon{font-family:Material Icons!important}.main-container{background:#fff;border:2px solid rgba(0,0,0,.06);border-radius:10px;padding:50px}.header{font-size:16px;font-weight:700;line-height:24px;color:#01161e;margin-bottom:20px}.table-container{overflow-y:scroll;height:60vh}.table-container thead{background:#f6f6f6}.table-container th{padding:10px;position:sticky}.table-container tr{background:#fdfdfd;border-bottom:1px solid rgba(0,0,0,.05)}.table-container td{padding:10px;font-weight:500;font-size:16px;line-height:24px;color:#3e3e3e}.success{background:#3bb6101a;color:#2f9335}.pending{background:#f8a9381a;color:#f8a938}.failed{background:#9017151a;color:#901715}.common-style{width:65%;padding:5px;border-radius:10px;text-align:center}\n"] }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Fzcy5zdWNjZXNzXT1cImRhdGEuc3RhdHVzID09ICdTVUNDRVNTJ1wiIFtjbGFzcy5wZW5kaW5nXT1cImRhdGEuc3RhdHVzID09ICdQRU5ESU5HJ1wiIFtjbGFzcy5mYWlsZWRdPVwiZGF0YS5zdGF0dXMgPT0gJ0ZBSUxFRCdcIiBjbGFzcz1cImNvbW1vbi1zdHlsZVwiPiAmI3gyMDIyOyZuYnNwO3t7ZGF0YS5zdGF0dXMgfCB0aXRsZWNhc2V9fTwvZGl2PjwvdGQ+XHJcbiAgICAgICAgICAgICAgICAgICAgPHRkPnt7ZGF0YS5tZXRob2R9fTwvdGQ+XHJcbiAgICAgICAgICAgICAgICAgICAgPHRkPnt7ZGF0YS5yZW1hcmtzLmxlbmd0aCA+IDE1ID8gZGF0YS5yZW1hcmtzLnN1YnN0cmluZygwLDE1KStcIi4uLlwiIDogZGF0YS5yZW1hcmtzfX08L3RkPlxyXG4gICAgICAgICAgICAgICAgPC90cj5cclxuICAgICAgICAgICAgPC90Ym9keT5cclxuICAgICAgICA8L3RhYmxlPlxyXG4gICAgPC9kaXY+XHJcbjwvZGl2PiJdfQ==
@@ -1,11 +0,0 @@
1
- import { Component } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class NeedHelpComponent {
4
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: NeedHelpComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
5
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.4", type: NeedHelpComponent, isStandalone: true, selector: "simpo-need-help", ngImport: i0, template: "<p>need-help works!</p>\r\n", styles: [""] }); }
6
- }
7
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: NeedHelpComponent, decorators: [{
8
- type: Component,
9
- args: [{ selector: 'simpo-need-help', standalone: true, imports: [], template: "<p>need-help works!</p>\r\n" }]
10
- }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