simpo-component-library 2.1.993 → 2.1.995

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 (40) hide show
  1. package/esm2022/lib/elements/my-documents/my-documents.component.mjs +11 -0
  2. package/esm2022/lib/elements/my-orders/my-orders.component.mjs +11 -0
  3. package/esm2022/lib/elements/my-statement/my-statement.component.mjs +11 -0
  4. package/esm2022/lib/elements/need-help/need-help.component.mjs +11 -0
  5. package/esm2022/lib/elements/properties/properties.component.mjs +11 -0
  6. package/esm2022/lib/sections/kyc-details/kyc-details.component.mjs +16 -0
  7. package/esm2022/lib/sections/navbar-section/navbar-section.component.mjs +24 -11
  8. package/esm2022/lib/sections/profile-section/profile-section.component.mjs +39 -0
  9. package/esm2022/lib/sections/profile-section/profile-section.modal.mjs +2 -0
  10. package/esm2022/lib/sections/signup-signin/signup-signin.component.mjs +25 -13
  11. package/esm2022/lib/services/rest.service.mjs +8 -4
  12. package/esm2022/lib/styles/index.mjs +5 -1
  13. package/esm2022/public-api.mjs +2 -1
  14. package/fesm2022/simpo-component-library.mjs +127 -17
  15. package/fesm2022/simpo-component-library.mjs.map +1 -1
  16. package/lib/directive/background-directive.d.ts +1 -1
  17. package/lib/directive/button-directive.directive.d.ts +1 -1
  18. package/lib/directive/color.directive.d.ts +1 -1
  19. package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts +1 -1
  20. package/lib/elements/my-documents/my-documents.component.d.ts +5 -0
  21. package/lib/elements/my-orders/my-orders.component.d.ts +5 -0
  22. package/lib/elements/my-statement/my-statement.component.d.ts +5 -0
  23. package/lib/elements/need-help/need-help.component.d.ts +5 -0
  24. package/lib/elements/properties/properties.component.d.ts +5 -0
  25. package/lib/sections/banner-carousel/banner-carousel.component.d.ts +2 -2
  26. package/lib/sections/carousel-banner/carousel-banner.component.d.ts +1 -1
  27. package/lib/sections/image-section/image-section.component.d.ts +2 -2
  28. package/lib/sections/kyc-details/kyc-details.component.d.ts +5 -0
  29. package/lib/sections/logo-showcase/logo-showcase.component.d.ts +1 -1
  30. package/lib/sections/navbar-section/navbar-section.component.d.ts +5 -1
  31. package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
  32. package/lib/sections/profile-section/profile-section.component.d.ts +11 -0
  33. package/lib/sections/profile-section/profile-section.modal.d.ts +5 -0
  34. package/lib/sections/signup-signin/signup-signin.component.d.ts +3 -1
  35. package/lib/services/rest.service.d.ts +2 -1
  36. package/lib/styles/index.d.ts +3 -0
  37. package/package.json +1 -1
  38. package/public-api.d.ts +1 -0
  39. package/simpo-component-library-2.1.995.tgz +0 -0
  40. package/simpo-component-library-2.1.993.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;
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class MyDocumentsComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<MyDocumentsComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<MyDocumentsComponent, "simpo-my-documents", never, {}, {}, never, never, true, never>;
5
+ }
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class MyOrdersComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<MyOrdersComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<MyOrdersComponent, "simpo-my-orders", never, {}, {}, never, never, true, never>;
5
+ }
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class MyStatementComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<MyStatementComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<MyStatementComponent, "simpo-my-statement", never, {}, {}, never, never, true, never>;
5
+ }
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class NeedHelpComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<NeedHelpComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<NeedHelpComponent, "simpo-need-help", never, {}, {}, never, never, true, never>;
5
+ }
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class PropertiesComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<PropertiesComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<PropertiesComponent, "simpo-properties", never, {}, {}, never, never, true, never>;
5
+ }
@@ -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.2" | "0.3" | "0.5" | "0.7" | "0";
29
+ opacityValue(value: OverlayValue): "0.2" | "0.3" | "0.5" | "0.7" | "0";
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.2" | "0.3" | "0.5" | "0.7" | "0";
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(): "0.2" | "0.3" | "0.5" | "0.7" | "1";
24
+ opacityValue(value: OverlayValue): "0.2" | "0.3" | "0.5" | "0.7" | "1";
25
25
  editSection(): void;
26
26
  redirectTo(): void;
27
27
  static ɵfac: i0.ɵɵFactoryDeclaration<ImageSectionComponent, never>;
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class KycDetailsComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<KycDetailsComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<KycDetailsComponent, "simpo-kyc-details", never, {}, {}, never, never, true, never>;
5
+ }
@@ -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,6 +9,7 @@ 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';
12
13
  import * as i0 from "@angular/core";
13
14
  export declare class NavbarSectionComponent implements OnInit {
14
15
  private readonly _eventService;
@@ -19,6 +20,7 @@ export declare class NavbarSectionComponent implements OnInit {
19
20
  private readonly cookieService;
20
21
  private readonly storageService;
21
22
  private readonly restService;
23
+ private readonly messageService;
22
24
  data?: HeaderSectionModel;
23
25
  nextComponent: any;
24
26
  index?: number;
@@ -33,7 +35,7 @@ export declare class NavbarSectionComponent implements OnInit {
33
35
  searchText: string;
34
36
  theme: typeof ProductCardTheme;
35
37
  HeaderStyling: typeof HEADER_STYLING;
36
- constructor(_eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, matDialog: MatDialog, bottomSheet: MatBottomSheet, cookieService: CookieService, storageService: StorageServiceService, restService: RestService);
38
+ constructor(_eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, matDialog: MatDialog, bottomSheet: MatBottomSheet, cookieService: CookieService, storageService: StorageServiceService, restService: RestService, messageService: MessageService);
37
39
  searchProducts(): void;
38
40
  goToFav(): void;
39
41
  get stylesLayout(): LayOutModel;
@@ -73,6 +75,8 @@ export declare class NavbarSectionComponent implements OnInit {
73
75
  getValues(object: any): unknown[];
74
76
  get userGender(): import("../../ecommerce/styles/user.modal").GENDER | null;
75
77
  get getNavbarButton(): any[];
78
+ redirectToProfile(): void;
79
+ logout(): void;
76
80
  static ɵfac: i0.ɵɵFactoryDeclaration<NavbarSectionComponent, never>;
77
81
  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>;
78
82
  }
@@ -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;
@@ -0,0 +1,11 @@
1
+ import { ProfileSectionModel } from './profile-section.modal';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ProfileSectionComponent {
4
+ data?: ProfileSectionModel;
5
+ constructor();
6
+ ngOnInit(): void;
7
+ selectedPanel: string;
8
+ sidePanelTabs: any[];
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProfileSectionComponent, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<ProfileSectionComponent, "simpo-profile-section", never, { "data": { "alias": "data"; "required": false; }; }, {}, never, never, true, never>;
11
+ }
@@ -0,0 +1,5 @@
1
+ export interface ProfileSectionModel {
2
+ id: string;
3
+ sectionType: string;
4
+ sectionName: string;
5
+ }
@@ -4,6 +4,7 @@ import { EventsService } from './../../services/events.service';
4
4
  import { RestService } from '../../services/rest.service';
5
5
  import { ActivatedRoute, Router } from '@angular/router';
6
6
  import { MessageService } from 'primeng/api';
7
+ import { MatDialog } from '@angular/material/dialog';
7
8
  import * as i0 from "@angular/core";
8
9
  export declare class SignupSigninComponent extends BaseSection {
9
10
  private _eventService;
@@ -11,11 +12,12 @@ export declare class SignupSigninComponent extends BaseSection {
11
12
  private router;
12
13
  private activatedRoute;
13
14
  private readonly messageService;
15
+ private matDialog;
14
16
  data?: SignUpSignInModel;
15
17
  index?: number;
16
18
  edit?: boolean;
17
19
  delete?: boolean;
18
- constructor(_eventService: EventsService, restService: RestService, router: Router, activatedRoute: ActivatedRoute, messageService: MessageService);
20
+ constructor(_eventService: EventsService, restService: RestService, router: Router, activatedRoute: ActivatedRoute, messageService: MessageService, matDialog: MatDialog);
19
21
  ngOnInit(): void;
20
22
  currentPage: 'LOGIN' | 'SIGN_UP' | 'OTP' | 'FORGOT_PASSWORD' | 'OTP_VERIFY';
21
23
  backgroundImage: any;
@@ -84,8 +84,9 @@ export declare class RestService implements OnDestroy {
84
84
  getPropertyDetails(propertyId: string): Observable<Object>;
85
85
  signUp(investor: any): Observable<Object>;
86
86
  sendOtp(email: any): Observable<Object>;
87
- login(email: string, password: string, logInType?: string): Observable<Object>;
87
+ login(payload: any): Observable<Object>;
88
88
  verifyOtp(email: string, otp: string): Observable<Object>;
89
+ logout(): Observable<Object>;
89
90
  getFieldsToDisplay(fieldsList: any[]): any;
90
91
  static ɵfac: i0.ɵɵFactoryDeclaration<RestService, never>;
91
92
  static ɵprov: i0.ɵɵInjectableDeclaration<RestService>;
@@ -221,3 +221,6 @@ 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.1.993",
3
+ "version": "2.1.995",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
package/public-api.d.ts CHANGED
@@ -38,6 +38,7 @@ export * from './lib/sections/usp-video-section/usp-video-section.component';
38
38
  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
+ export * from './lib/sections/profile-section/profile-section.component';
41
42
  export * from './lib/ecommerce/sections/featured-products/featured-products.component';
42
43
  export * from './lib/ecommerce/sections/featured-category/featured-category.component';
43
44
  export * from './lib/ecommerce/sections/product-desc/product-desc.component';
Binary file