simpo-component-library 3.6.820 → 3.6.821
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/directive/merge-header.directive.mjs +21 -7
- package/esm2022/lib/directive/sticky-directive.mjs +19 -8
- package/esm2022/lib/elements/below-image-card/below-image-card.component.mjs +3 -3
- package/esm2022/lib/sections/banner-section/banner-section.component.mjs +3 -3
- package/esm2022/lib/sections/choose-us-section/choose-us-section.component.mjs +3 -3
- package/esm2022/lib/sections/feature-experience-section/feature-experience-section.component.mjs +3 -3
- package/esm2022/lib/sections/features-section/features-section.component.mjs +3 -3
- package/esm2022/lib/sections/header-section/header-section.component.mjs +79 -20
- package/esm2022/lib/sections/testimonial-slider/testimonial-slider.component.mjs +3 -3
- package/esm2022/lib/sections/video-grid-section/video-grid-section.component.mjs +3 -3
- package/fesm2022/simpo-component-library.mjs +123 -43
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/directive/merge-header.directive.d.ts +7 -3
- package/lib/directive/sticky-directive.d.ts +4 -2
- package/lib/sections/header-section/header-section.component.d.ts +14 -4
- package/package.json +1 -1
- package/simpo-component-library-3.6.821.tgz +0 -0
- package/simpo-component-library-3.6.820.tgz +0 -0
|
@@ -1,15 +1,19 @@
|
|
|
1
|
-
import { ElementRef,
|
|
1
|
+
import { ElementRef, OnChanges, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { EventsService } from '../services/events.service';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class MergeHeaderDirective implements OnInit, OnChanges {
|
|
4
|
+
export declare class MergeHeaderDirective implements OnInit, OnChanges, OnDestroy {
|
|
5
5
|
private eventsService;
|
|
6
6
|
private el;
|
|
7
|
+
private platformId;
|
|
7
8
|
merge?: boolean;
|
|
8
9
|
backgroundInfo: any;
|
|
9
10
|
private top;
|
|
10
|
-
|
|
11
|
+
private isBrowser;
|
|
12
|
+
private elementHeightSubscription?;
|
|
13
|
+
constructor(eventsService: EventsService, el: ElementRef, platformId: object);
|
|
11
14
|
ngOnInit(): void;
|
|
12
15
|
ngOnChanges(): void;
|
|
16
|
+
ngOnDestroy(): void;
|
|
13
17
|
private applyBackgroundPosition;
|
|
14
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<MergeHeaderDirective, never>;
|
|
15
19
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MergeHeaderDirective, "[simpoMergeHeader]", never, { "merge": { "alias": "simpoMergeHeader"; "required": false; }; "backgroundInfo": { "alias": "backgroundInfo"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -4,11 +4,13 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class SimpoStickyDirective {
|
|
5
5
|
private el;
|
|
6
6
|
private router;
|
|
7
|
+
private platformId;
|
|
7
8
|
simpoSticky?: boolean;
|
|
8
9
|
categoryHeader?: boolean;
|
|
9
|
-
|
|
10
|
+
private isBrowser;
|
|
11
|
+
private resizeObserver?;
|
|
12
|
+
constructor(el: ElementRef, router: Router, platformId: object);
|
|
10
13
|
ngOnChanges(): void;
|
|
11
|
-
private resizeObserver;
|
|
12
14
|
ngAfterViewInit(): void;
|
|
13
15
|
private addParentMargin;
|
|
14
16
|
private removeParentMargin;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, OnDestroy, OnInit } 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';
|
|
@@ -10,7 +10,7 @@ import { MovingTextModal } from '../moving-text/moving-text.modal';
|
|
|
10
10
|
import { RestService } from '../../services/rest.service';
|
|
11
11
|
import { StorageLike } from '../../services/storage-like';
|
|
12
12
|
import * as i0 from "@angular/core";
|
|
13
|
-
export declare class HeaderSectionComponent implements OnInit {
|
|
13
|
+
export declare class HeaderSectionComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
14
14
|
private readonly _eventService;
|
|
15
15
|
private readonly router;
|
|
16
16
|
private readonly activatedRoute;
|
|
@@ -19,13 +19,18 @@ export declare class HeaderSectionComponent implements OnInit {
|
|
|
19
19
|
private restService;
|
|
20
20
|
private eventService;
|
|
21
21
|
private storage;
|
|
22
|
+
private platformId;
|
|
23
|
+
private document;
|
|
22
24
|
data?: HeaderSectionModel;
|
|
23
25
|
nextComponent: any;
|
|
24
26
|
index?: number;
|
|
25
27
|
customClass?: string;
|
|
26
28
|
edit?: boolean;
|
|
27
29
|
childContainer: any;
|
|
28
|
-
private resizeObserver
|
|
30
|
+
private resizeObserver?;
|
|
31
|
+
private queryParamSubscription?;
|
|
32
|
+
private routerSubscription?;
|
|
33
|
+
private isBrowser;
|
|
29
34
|
scrollValue: number;
|
|
30
35
|
content?: HeaderContentModel | any;
|
|
31
36
|
style?: HeaderStyleModel;
|
|
@@ -39,7 +44,7 @@ export declare class HeaderSectionComponent implements OnInit {
|
|
|
39
44
|
placeholderIndex: number;
|
|
40
45
|
animatePlaceholder: boolean;
|
|
41
46
|
private _eventSubscriber;
|
|
42
|
-
constructor(_eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, matDialog: MatDialog, storageService: StorageServiceService, restService: RestService, eventService: EventsService, storage: StorageLike);
|
|
47
|
+
constructor(_eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, matDialog: MatDialog, storageService: StorageServiceService, restService: RestService, eventService: EventsService, storage: StorageLike, platformId: object, document: Document);
|
|
43
48
|
searchChangeTimeout: any;
|
|
44
49
|
waitBeforeSearch(): void;
|
|
45
50
|
searchProducts(): void;
|
|
@@ -57,6 +62,7 @@ export declare class HeaderSectionComponent implements OnInit {
|
|
|
57
62
|
differ: any;
|
|
58
63
|
ngOnInit(): void;
|
|
59
64
|
ngAfterViewInit(): void;
|
|
65
|
+
ngOnDestroy(): void;
|
|
60
66
|
passbookAppStatus: boolean;
|
|
61
67
|
checkPassbookApp(): void;
|
|
62
68
|
showSearchBarMobile: boolean;
|
|
@@ -65,6 +71,8 @@ export declare class HeaderSectionComponent implements OnInit {
|
|
|
65
71
|
screenWidth: number;
|
|
66
72
|
getScreenSize(event?: number): void;
|
|
67
73
|
height: any;
|
|
74
|
+
private scheduleParentHeightCalculation;
|
|
75
|
+
private syncScrollState;
|
|
68
76
|
getParentHeight(): void;
|
|
69
77
|
get getDropdownLinks(): string[];
|
|
70
78
|
get isEcommerceWebsite(): boolean;
|
|
@@ -82,6 +90,8 @@ export declare class HeaderSectionComponent implements OnInit {
|
|
|
82
90
|
get isComponentMerged(): any;
|
|
83
91
|
editSection(): void;
|
|
84
92
|
get canShowMobileFooter(): boolean;
|
|
93
|
+
get shouldReserveMobileHeaderSpace(): boolean | undefined;
|
|
94
|
+
get shouldShowMobileCategoryHeader(): boolean;
|
|
85
95
|
get showMobileHomeIcon(): boolean;
|
|
86
96
|
get getCartItemsCount(): number;
|
|
87
97
|
get getCartTotalAmount(): number;
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|