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