simpo-component-library 3.6.441 → 3.6.443

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,13 +1,109 @@
1
- import { OnInit } from '@angular/core';
2
- import { HeaderSectionModel } from './header-section.model';
1
+ import { OnInit, AfterViewInit, OnDestroy } from '@angular/core';
2
+ import { HeaderContentModel, HeaderSectionModel, HeaderStyleModel } from './header-section.model';
3
+ import { EventsService } from './../../services/events.service';
4
+ import { ActivatedRoute, Router } from '@angular/router';
5
+ import { MatDialog } from '@angular/material/dialog';
6
+ import { StorageServiceService } from '../../services/storage.service';
7
+ import { Header_Type, ProductCardTheme } from '../../styles/index';
8
+ import { RestService } from '../../services/rest.service';
9
+ import { StorageLike } from '../../services/storage-like';
10
+ import { ActionModel, LayOutModel } from '../../styles/style.model';
3
11
  import * as i0 from "@angular/core";
4
- export declare class HeaderSectionComponent implements OnInit {
12
+ export declare class HeaderSectionComponent implements OnInit, AfterViewInit, OnDestroy {
13
+ private readonly _eventService;
14
+ private readonly router;
15
+ private readonly activatedRoute;
16
+ private readonly matDialog;
17
+ private readonly storageService;
18
+ private restService;
19
+ private eventService;
20
+ private storage;
21
+ private platformId;
5
22
  data?: HeaderSectionModel;
6
23
  nextComponent: any;
7
24
  index?: number;
8
25
  customClass?: string;
9
26
  edit?: boolean;
27
+ childContainer: any;
28
+ Object: ObjectConstructor;
29
+ private resizeObserver?;
30
+ scrollValue: number;
31
+ content?: HeaderContentModel;
32
+ style?: HeaderStyleModel;
33
+ action?: ActionModel;
34
+ color: string;
35
+ searchText: string;
36
+ theme: typeof ProductCardTheme;
37
+ HeaderStyling: typeof Header_Type;
38
+ parentHeight: number;
39
+ passbookAppStatus: boolean;
40
+ showSearchBarMobile: boolean;
41
+ isNavbarOpen: boolean;
42
+ screenWidth: number;
43
+ isScrolled: boolean;
44
+ toShowInJewellery: boolean;
45
+ showLogin: boolean;
46
+ showList: boolean;
47
+ showCollections: boolean;
48
+ categoryList: any;
49
+ collectionList: any;
50
+ selectedCategory: any;
51
+ storeAvaiable: boolean;
52
+ schemeAvailable: boolean;
53
+ height: any;
54
+ showSearchBar: boolean;
55
+ showEditors: boolean;
56
+ showPincodeInput: boolean;
57
+ pincode: any;
58
+ getPincode: string;
59
+ pinError: boolean;
60
+ constructor(_eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, matDialog: MatDialog, storageService: StorageServiceService, restService: RestService, eventService: EventsService, storage: StorageLike, platformId: Object);
10
61
  ngOnInit(): void;
62
+ ngAfterViewInit(): void;
63
+ ngOnDestroy(): void;
64
+ onScroll(event: any): void;
65
+ getScreenSize(): void;
66
+ waitBeforeSearch(): void;
67
+ searchProducts(): void;
68
+ goToFav(): void;
69
+ get stylesLayout(): LayOutModel;
70
+ goToAccount(redirectTo: any): void;
71
+ get loggedIn(): boolean;
72
+ goToWishlist(): void;
73
+ goToCart(): void;
74
+ applyFilter(value: any, type: string): void;
75
+ getParentHeight(): void;
76
+ get getDropdownLinks(): string[];
77
+ get isEcommerceWebsite(): boolean;
78
+ goToHome(): void;
79
+ get isHeaderSticky(): boolean | undefined;
80
+ get backgroundInfo(): any;
81
+ get simpoColor(): any;
82
+ get accentColor(): any;
83
+ redirectTo(content: any): void;
84
+ editSection(): void;
85
+ get canShowMobileFooter(): boolean;
86
+ get showMobileHomeIcon(): boolean;
87
+ get getCartItemsCount(): number;
88
+ get getHeaderStyling(): Header_Type | undefined;
89
+ get isMobile(): boolean;
90
+ get userGender(): import("../../ecommerce/styles/user.modal").GENDER | null;
91
+ get getNavbarButton(): any[];
92
+ setColor(): "#000000" | "#ffffff";
93
+ getCategoriesHeader(): void;
94
+ applyFilterToList(obj: any, type: any): void;
95
+ filterByCategory(): void;
96
+ setPincode(): void;
97
+ goToSchemes(): void;
98
+ getRGBA(bgColor: any, opacity: number): any;
99
+ showCategoryMobileHeader(): boolean;
100
+ byMetalAndStone: any;
101
+ navigateLogin(): void;
102
+ checkPassbookApp(): void;
103
+ getValues(object: any): unknown[];
104
+ goToStores(): void;
105
+ showEditTabs(isShow: boolean): void;
106
+ get isComponentMerged(): any;
11
107
  static ɵfac: i0.ɵɵFactoryDeclaration<HeaderSectionComponent, never>;
12
108
  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>;
13
109
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "3.6.441",
3
+ "version": "3.6.443",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file