simpo-component-library 1.4.240 → 1.4.241

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
  }
@@ -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
  }
@@ -15,7 +15,7 @@ export declare class PricingSectionComponent extends BaseSection {
15
15
  style?: PricingSectionStylesModel;
16
16
  constructor(_eventService: EventsService);
17
17
  ngOnInit(): void;
18
- getTextColor(): "#ffffff" | "#000000";
18
+ getTextColor(): "#000000" | "#ffffff";
19
19
  get headingSpace(): SPACING;
20
20
  editSection(): void;
21
21
  static ɵfac: i0.ɵɵFactoryDeclaration<PricingSectionComponent, never>;
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.241",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",