simpo-component-library 1.8.9 → 1.8.92

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): "#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
  }
@@ -8,6 +8,7 @@ import { CookieService } from 'ngx-cookie-service';
8
8
  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
+ import { RestService } from '../../services/rest.service';
11
12
  import * as i0 from "@angular/core";
12
13
  export declare class NavbarSectionComponent implements OnInit {
13
14
  private readonly _eventService;
@@ -17,6 +18,7 @@ export declare class NavbarSectionComponent implements OnInit {
17
18
  private readonly bottomSheet;
18
19
  private readonly cookieService;
19
20
  private readonly storageService;
21
+ private readonly restService;
20
22
  data?: HeaderSectionModel;
21
23
  nextComponent: any;
22
24
  index?: number;
@@ -31,7 +33,7 @@ export declare class NavbarSectionComponent implements OnInit {
31
33
  searchText: string;
32
34
  theme: typeof ProductCardTheme;
33
35
  HeaderStyling: typeof HEADER_STYLING;
34
- constructor(_eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, matDialog: MatDialog, bottomSheet: MatBottomSheet, cookieService: CookieService, storageService: StorageServiceService);
36
+ constructor(_eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, matDialog: MatDialog, bottomSheet: MatBottomSheet, cookieService: CookieService, storageService: StorageServiceService, restService: RestService);
35
37
  searchProducts(): void;
36
38
  goToFav(): void;
37
39
  goToAccount(): void;
@@ -56,6 +58,7 @@ export declare class NavbarSectionComponent implements OnInit {
56
58
  get accentColor(): any;
57
59
  get isTransparent(): any;
58
60
  redirectTo(content: any): void;
61
+ showSearchBar: boolean;
59
62
  get isComponentMerged(): any;
60
63
  editSection(): void;
61
64
  get canShowMobileFooter(): boolean;
@@ -66,6 +69,7 @@ export declare class NavbarSectionComponent implements OnInit {
66
69
  getKeys(object: any): string[];
67
70
  getValues(object: any): unknown[];
68
71
  get userGender(): import("../../ecommerce/styles/user.modal").GENDER | null;
72
+ get getNavbarButton(): any[];
69
73
  static ɵfac: i0.ɵɵFactoryDeclaration<NavbarSectionComponent, never>;
70
74
  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>;
71
75
  }
@@ -16,7 +16,7 @@ export declare class PricingSectionComponent extends BaseSection {
16
16
  style?: PricingSectionStylesModel;
17
17
  constructor(_eventService: EventsService);
18
18
  ngOnInit(): void;
19
- getTextColor(): "#ffffff" | "#000000";
19
+ getTextColor(): "#000000" | "#ffffff";
20
20
  get headingSpace(): SPACING;
21
21
  editSection(): void;
22
22
  redirectTo(): void;
@@ -63,6 +63,7 @@ export declare class RestService implements OnDestroy {
63
63
  getAllServices(businessId: any, size: number, page: number): Observable<Object>;
64
64
  getAllLocation(businessId: any, size: number, page: number): Observable<Object>;
65
65
  getAllTimeSlots(locationId: any, date: Date): Observable<Object>;
66
+ getBlogByBusinessId(): Observable<Object>;
66
67
  static ɵfac: i0.ɵɵFactoryDeclaration<RestService, never>;
67
68
  static ɵprov: i0.ɵɵInjectableDeclaration<RestService>;
68
69
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "1.8.9",
3
+ "version": "1.8.92",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file