simpo-component-library 1.4.240 → 1.4.245

Sign up to get free protection for your applications and to get access to all the features.
@@ -61,7 +61,7 @@ export declare class UserProfileComponent extends BaseSection implements OnInit
61
61
  toggleSidepanelTab(tab: Tabs): void;
62
62
  get getUserDetails(): User | null;
63
63
  get isMobile(): boolean;
64
- get getUserProfile(): string;
64
+ get userGender(): import("../../styles/user.modal").GENDER | null;
65
65
  get getCardBGColor(): string;
66
66
  private getComplementColor;
67
67
  private convertHEX;
@@ -7,6 +7,7 @@ export interface Tabs {
7
7
  label: string;
8
8
  status: boolean;
9
9
  url: string;
10
+ image: string;
10
11
  }
11
12
  export interface UserProfileModal {
12
13
  id: string;
@@ -34,5 +34,5 @@ export interface Geolocation {
34
34
  longitude: number;
35
35
  }
36
36
  declare type ADDRESS_TYPE = "HOME" | "WORK" | "OTHER";
37
- declare type GENDER = "MALE" | "FEMALE" | "OTHERS";
37
+ export declare type GENDER = "MALE" | "FEMALE" | "OTHERS";
38
38
  export {};
@@ -0,0 +1,8 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { GENDER } from '../ecommerce/styles/user.modal';
3
+ import * as i0 from "@angular/core";
4
+ export declare class GenderIcon implements PipeTransform {
5
+ transform(gender: GENDER | string | null): string;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<GenderIcon, never>;
7
+ static ɵpipe: i0.ɵɵPipeDeclaration<GenderIcon, "genderIcon", true>;
8
+ }
@@ -54,7 +54,7 @@ export declare class NavbarSectionComponent implements OnInit {
54
54
  get getCartItemsCount(): number;
55
55
  getKeys(object: any): string[];
56
56
  getValues(object: any): unknown[];
57
- get profileImageUrl(): string | false;
57
+ get userGender(): import("../../ecommerce/styles/user.modal").GENDER | null;
58
58
  static ɵfac: i0.ɵɵFactoryDeclaration<NavbarSectionComponent, never>;
59
59
  static ɵcmp: i0.ɵɵComponentDeclaration<NavbarSectionComponent, "simpo-navbar-section", never, { "data": { "alias": "data"; "required": false; }; "nextComponent": { "alias": "nextComponent"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; }, {}, never, never, true, never>;
60
60
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "1.4.240",
3
+ "version": "1.4.245",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",