simpo-component-library 3.6.60 → 3.6.62

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.
@@ -1,4 +1,4 @@
1
- import { OnInit } from '@angular/core';
1
+ import { NgZone, OnInit, Renderer2 } from '@angular/core';
2
2
  import { HeaderContentModel, HeaderSectionModel, HeaderStyleModel } from './header-section.model';
3
3
  import { EventsService } from './../../services/events.service';
4
4
  import { ActionModel, LayOutModel } from '../../styles/style.model';
@@ -14,6 +14,9 @@ export declare class HeaderSectionComponent implements OnInit {
14
14
  private readonly activatedRoute;
15
15
  private readonly matDialog;
16
16
  private readonly storageService;
17
+ private ngZone;
18
+ private renderer;
19
+ private platformId;
17
20
  data?: HeaderSectionModel;
18
21
  nextComponent: any;
19
22
  index?: number;
@@ -29,7 +32,7 @@ export declare class HeaderSectionComponent implements OnInit {
29
32
  theme: typeof ProductCardTheme;
30
33
  HeaderStyling: typeof Header_Type;
31
34
  parentHeight: number;
32
- constructor(_eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, matDialog: MatDialog, storageService: StorageServiceService);
35
+ constructor(_eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, matDialog: MatDialog, storageService: StorageServiceService, ngZone: NgZone, renderer: Renderer2, platformId: Object);
33
36
  searchProducts(): void;
34
37
  goToFav(): void;
35
38
  get stylesLayout(): LayOutModel;
@@ -39,9 +42,12 @@ export declare class HeaderSectionComponent implements OnInit {
39
42
  goToWishlist(): void;
40
43
  goToCart(): void;
41
44
  applyFilter(value: any, type: string): void;
42
- onScroll(event: any): void;
45
+ private removeScrollListener;
46
+ private scrollSubscription;
43
47
  movingText?: MovingTextModal;
44
48
  ngOnInit(): void;
49
+ private checkScroll;
50
+ ngOnDestroy(): void;
45
51
  isNavbarOpen: boolean;
46
52
  screenWidth: number;
47
53
  getScreenSize(event?: number): void;
@@ -71,7 +77,6 @@ export declare class HeaderSectionComponent implements OnInit {
71
77
  get userGender(): import("../../ecommerce/styles/user.modal").GENDER | null;
72
78
  get getNavbarButton(): any[];
73
79
  isScrolled: boolean;
74
- onWindowScroll(): void;
75
80
  static ɵfac: i0.ɵɵFactoryDeclaration<HeaderSectionComponent, never>;
76
81
  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>;
77
82
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "3.6.60",
3
+ "version": "3.6.62",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file