simpo-component-library 3.6.810 → 3.6.812

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.
@@ -38,6 +38,7 @@ export declare class HeaderSectionComponent implements OnInit {
38
38
  currentPlaceholder: string;
39
39
  placeholderIndex: number;
40
40
  animatePlaceholder: boolean;
41
+ private _eventSubscriber;
41
42
  constructor(_eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, matDialog: MatDialog, storageService: StorageServiceService, restService: RestService, eventService: EventsService, storage: StorageLike);
42
43
  searchChangeTimeout: any;
43
44
  waitBeforeSearch(): void;
@@ -59,6 +60,7 @@ export declare class HeaderSectionComponent implements OnInit {
59
60
  passbookAppStatus: boolean;
60
61
  checkPassbookApp(): void;
61
62
  showSearchBarMobile: boolean;
63
+ showDropdownDesktopSearch: boolean;
62
64
  isNavbarOpen: boolean;
63
65
  screenWidth: number;
64
66
  getScreenSize(event?: number): void;
@@ -116,6 +118,10 @@ export declare class HeaderSectionComponent implements OnInit {
116
118
  showCategoryMobileHeader(): boolean;
117
119
  byMetalAndStone: any;
118
120
  navigateLogin(): void;
121
+ megaMenu: any;
122
+ getMenuItems(): void;
123
+ redirectionsOfMenu(ele: any): void;
124
+ setChildMenu(ele: any): void;
119
125
  static ɵfac: i0.ɵɵFactoryDeclaration<HeaderSectionComponent, never>;
120
126
  static ɵcmp: i0.ɵɵComponentDeclaration<HeaderSectionComponent, "simpo-header-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>;
121
127
  }
@@ -1,4 +1,4 @@
1
- import { Header_Type, HeaderButtonStyle, headlineAnimationType, ProductCardTheme } from "./../../styles/index";
1
+ import { Header_Type, HeaderButtonStyle, headlineAnimationType, Menu_Type, ProductCardTheme } from "./../../styles/index";
2
2
  import { BackgroundModel, DisplaySection, HeaderButtonStyleModel, InputTextModel, ListItemModal, NavbarButton } from "../../styles/style.model";
3
3
  import { FooterLayoutModel, FooterLogoModel, FooterSocialLinkModel } from "../footer-section/footer-section.modal";
4
4
  import { ActionModel } from "../../styles/style.model";
@@ -35,6 +35,7 @@ export interface HeaderStyleModel {
35
35
  shrinkOnScroll?: boolean;
36
36
  navbarButtonStyle: HeaderButtonStyleModel;
37
37
  styling: Header_Type;
38
+ menuType: Menu_Type;
38
39
  theme: ProductCardTheme;
39
40
  showSearchBar: boolean;
40
41
  headline: {
@@ -52,6 +52,7 @@ export declare class EventsService implements OnInit {
52
52
  iconChanged: EventEmitter<unknown>;
53
53
  emitCountDownDate: EventEmitter<any>;
54
54
  showDummyCartItems: EventEmitter<boolean>;
55
+ menuList: EventEmitter<unknown>;
55
56
  static ɵfac: i0.ɵɵFactoryDeclaration<EventsService, never>;
56
57
  static ɵprov: i0.ɵɵInjectableDeclaration<EventsService>;
57
58
  }
@@ -151,6 +151,7 @@ export declare class RestService implements OnDestroy {
151
151
  loginWithPasswordNew(payload: any): Observable<Object>;
152
152
  flush(eventsToSend: any): void;
153
153
  getPopularSearches(): Observable<Object>;
154
+ getMenuItems(menuId: any): Observable<Object>;
154
155
  static ɵfac: i0.ɵɵFactoryDeclaration<RestService, never>;
155
156
  static ɵprov: i0.ɵɵInjectableDeclaration<RestService>;
156
157
  }
@@ -82,6 +82,10 @@ export declare enum Header_Type {
82
82
  HEADER3 = "Header3",
83
83
  HEADER4 = "Header4"
84
84
  }
85
+ export declare enum Menu_Type {
86
+ MEGA_MENU = "MEGA_MENU",
87
+ DROP_DOWN = "DROPDOWN_MENU"
88
+ }
85
89
  export declare enum TEXT_SIZE {
86
90
  Small = "Small",
87
91
  Medium = "Medium",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "3.6.810",
3
+ "version": "3.6.812",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file