simpo-component-library 2.1.993 → 2.1.994

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 (34) 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 +22 -9
  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 +21 -10
  11. package/esm2022/lib/services/rest.service.mjs +5 -1
  12. package/esm2022/public-api.mjs +2 -1
  13. package/fesm2022/simpo-component-library.mjs +115 -10
  14. package/fesm2022/simpo-component-library.mjs.map +1 -1
  15. package/lib/directive/background-directive.d.ts +1 -1
  16. package/lib/directive/button-directive.directive.d.ts +1 -1
  17. package/lib/directive/color.directive.d.ts +1 -1
  18. package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts +1 -1
  19. package/lib/elements/my-documents/my-documents.component.d.ts +5 -0
  20. package/lib/elements/my-orders/my-orders.component.d.ts +5 -0
  21. package/lib/elements/my-statement/my-statement.component.d.ts +5 -0
  22. package/lib/elements/need-help/need-help.component.d.ts +5 -0
  23. package/lib/elements/properties/properties.component.d.ts +5 -0
  24. package/lib/sections/kyc-details/kyc-details.component.d.ts +5 -0
  25. package/lib/sections/navbar-section/navbar-section.component.d.ts +5 -1
  26. package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
  27. package/lib/sections/profile-section/profile-section.component.d.ts +11 -0
  28. package/lib/sections/profile-section/profile-section.modal.d.ts +5 -0
  29. package/lib/sections/signup-signin/signup-signin.component.d.ts +3 -1
  30. package/lib/services/rest.service.d.ts +1 -0
  31. package/package.json +1 -1
  32. package/public-api.d.ts +1 -0
  33. package/simpo-component-library-2.1.994.tgz +0 -0
  34. 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
+ }
@@ -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
+ }
@@ -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;
@@ -86,6 +86,7 @@ export declare class RestService implements OnDestroy {
86
86
  sendOtp(email: any): Observable<Object>;
87
87
  login(email: string, password: string, logInType?: string): 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>;
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.994",
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