simpo-component-library 3.6.126 → 3.6.128

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.
@@ -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): "#000000" | "#ffffff" | "#ffffff;";
14
+ getTextColor(bgColor: string): "#ffffff" | "#000000" | "#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
  }
@@ -16,7 +16,7 @@ export declare class ButtonDirectiveDirective implements OnChanges {
16
16
  applyButtonStyleChanges(): void;
17
17
  applyButtonType(style: ButtonStyleModel, backgroundInfo?: BackgroundModel): void;
18
18
  applyButtonShape(style: ButtonStyleModel): void;
19
- getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
19
+ getTextColor(bgColor: string): "#ffffff" | "#000000" | "#ffffff;";
20
20
  buttonStyleSubscription?: Subscription;
21
21
  buttonStyleChangeCheck(): void;
22
22
  changeButtonStyle(id: any, style: ButtonStyleModel, backgroundInfo: BackgroundModel): 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(): "#000000" | "#ffffff" | "#ffffff;";
15
+ getTextColor(): "#ffffff" | "#000000" | "#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
  }
@@ -30,7 +30,7 @@ export declare class NewCollectionComponent extends BaseSection {
30
30
  get getDirection(): "ROW" | "COLUMN" | undefined;
31
31
  get isMobile(): boolean;
32
32
  editSection(): void;
33
- getColor(color: any): "#000000" | "#ffffff";
33
+ getColor(color: any): "#ffffff" | "#000000";
34
34
  static ɵfac: i0.ɵɵFactoryDeclaration<NewCollectionComponent, never>;
35
35
  static ɵcmp: i0.ɵɵComponentDeclaration<NewCollectionComponent, "simpo-new-collection", never, { "data": { "alias": "data"; "required": false; }; "responseData": { "alias": "responseData"; "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>;
36
36
  }
@@ -101,10 +101,10 @@ export declare class ProductDescComponent extends BaseSection {
101
101
  getDifference(sellingPrice: any, mrp: any): number;
102
102
  getBackgroundColor(type: string): "#FFF4D1" | "#EFE1F4" | "linear-gradient(180deg, #FAFAFA 0%, #FFFFFF 100%)" | "#e2f6ff";
103
103
  getHeaderColor(type: string): "#FDCD33" | "#9D43B8" | "linear-gradient(180deg, #BDBDBD 0%, #E2E2E2 100%)" | "linear-gradient(159deg, rgba(65,105,225,1) 0%, rgba(137,207,240,1) 100%)";
104
- getTextColor(color: any): "#000000" | "#ffffff";
104
+ getTextColor(color: any): "#ffffff" | "#000000";
105
105
  languages: string[];
106
106
  selectedLang: string;
107
- getClass(map: any): "col-6" | "col-4" | "col-3" | "width-max";
107
+ getClass(map: any): "col-4" | "col-6" | "col-3" | "width-max";
108
108
  onFindInStore(id: string): void;
109
109
  onBookAppointment(): void;
110
110
  isDetails: boolean;
@@ -27,7 +27,7 @@ export declare class StoreListComponent extends BaseSection {
27
27
  loader: boolean;
28
28
  error: boolean;
29
29
  getStoreDetails(): void;
30
- getTextColor(bgColor: any): "#000000" | "#ffffff" | "#ffffff;";
30
+ getTextColor(bgColor: any): "#ffffff" | "#000000" | "#ffffff;";
31
31
  openWhatsapp(phone: string): void;
32
32
  viewStore(storeId: string): void;
33
33
  getTime(storeHours: any, type: string): any;
@@ -16,7 +16,7 @@ export declare class StorePageComponent extends BaseSection {
16
16
  ngOnInit(): void;
17
17
  storeData: any;
18
18
  getStoreDetails(storeId: string): void;
19
- getTextColor(bgColor: any): "#000000" | "#ffffff" | "#ffffff;";
19
+ getTextColor(bgColor: any): "#ffffff" | "#000000" | "#ffffff;";
20
20
  getTime(storeHours: any, type: string): any;
21
21
  removeUnderScore(text: string): string;
22
22
  openWhatsapp(phone: string): void;
@@ -27,7 +27,7 @@ export declare class BannerGridSectionComponent extends BaseSection implements O
27
27
  get spacingLayout(): SpacingModel;
28
28
  get alignmentLayout(): import("simpo-component-library").ALIGN | undefined;
29
29
  get fitLayout(): import("simpo-component-library").FIT | undefined;
30
- getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
30
+ getTextColor(bgColor: string): "#ffffff" | "#000000" | "#ffffff;";
31
31
  static ɵfac: i0.ɵɵFactoryDeclaration<BannerGridSectionComponent, never>;
32
32
  static ɵcmp: i0.ɵɵComponentDeclaration<BannerGridSectionComponent, "simpo-banner-grid-section", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "index": { "alias": "index"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
33
33
  }
@@ -28,7 +28,7 @@ export declare class ContactUsComponent extends BaseSection implements OnInit {
28
28
  editSection(): void;
29
29
  canShowContactField(field: any): any;
30
30
  getCardStyle(): {};
31
- getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
31
+ getTextColor(bgColor: string): "#ffffff" | "#000000" | "#ffffff;";
32
32
  static ɵfac: i0.ɵɵFactoryDeclaration<ContactUsComponent, never>;
33
33
  static ɵcmp: i0.ɵɵComponentDeclaration<ContactUsComponent, "simpo-contact-us", 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>;
34
34
  }
@@ -73,7 +73,7 @@ export declare class HeaderSectionComponent implements OnInit {
73
73
  get userGender(): import("../../ecommerce/styles/user.modal").GENDER | null;
74
74
  get getNavbarButton(): any[];
75
75
  isScrolled: boolean;
76
- setColor(): "#000000" | "#ffffff";
76
+ setColor(): "#ffffff" | "#000000";
77
77
  showList: boolean;
78
78
  showCollections: boolean;
79
79
  categoryList: any;
@@ -22,7 +22,7 @@ export declare class MovingTextComponent extends BaseSection {
22
22
  private transitionToNext;
23
23
  isItemVisible(index: number): boolean;
24
24
  getItemClass(index: number): string;
25
- getTextColor(bgColor: string): "#000000" | "#ffffff";
25
+ getTextColor(bgColor: string): "#ffffff" | "#000000";
26
26
  static ɵfac: i0.ɵɵFactoryDeclaration<MovingTextComponent, never>;
27
27
  static ɵcmp: i0.ɵɵComponentDeclaration<MovingTextComponent, "simpo-moving-text", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
28
28
  }
@@ -18,7 +18,7 @@ export declare class PricingSectionComponent extends BaseSection {
18
18
  constructor(_eventService: EventsService);
19
19
  ngOnInit(): void;
20
20
  get stylesLayout(): LayOutModel;
21
- getTextColor(): "#000000" | "#ffffff";
21
+ getTextColor(): "#ffffff" | "#000000";
22
22
  get headingSpace(): SPACING;
23
23
  getButtonId(): string;
24
24
  editSection(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "3.6.126",
3
+ "version": "3.6.128",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file