simpo-component-library 3.2.67 → 3.2.68
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 +24 -6
- package/fesm2022/simpo-component-library.mjs +23 -5
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/directive/background-directive.d.ts +1 -1
- package/lib/directive/button-directive.directive.d.ts +1 -1
- package/lib/directive/color.directive.d.ts +1 -1
- package/lib/sections/header-section/header-section.component.d.ts +6 -2
- package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
- package/package.json +1 -1
- package/simpo-component-library-3.2.68.tgz +0 -0
- package/simpo-component-library-3.2.67.tgz +0 -0
@@ -11,7 +11,7 @@ export declare class BackgroundDirective implements OnChanges {
|
|
11
11
|
constructor(el: ElementRef, eventService: EventsService);
|
12
12
|
ngOnDestroy(): void;
|
13
13
|
ngOnChanges(change: SimpleChanges): void;
|
14
|
-
getTextColor(bgColor: string): "#
|
14
|
+
getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<BackgroundDirective, never>;
|
16
16
|
static ɵdir: i0.ɵɵDirectiveDeclaration<BackgroundDirective, "[simpoBackground]", never, { "simpoBackground": { "alias": "simpoBackground"; "required": false; }; "scrollValue": { "alias": "scrollValue"; "required": false; }; }, {}, never, never, true, never>;
|
17
17
|
}
|
@@ -15,7 +15,7 @@ export declare class ButtonDirectiveDirective implements OnChanges {
|
|
15
15
|
applyButtonStyleChanges(): void;
|
16
16
|
applyButtonType(style: ButtonStyleModel, color: string): void;
|
17
17
|
applyButtonShape(style: ButtonStyleModel): void;
|
18
|
-
getTextColor(bgColor: string): "#
|
18
|
+
getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
|
19
19
|
buttonStyleSubscription?: Subscription;
|
20
20
|
buttonStyleChangeCheck(): void;
|
21
21
|
changeButtonStyle(id: any, style: ButtonStyleModel, bgColor: string): void;
|
@@ -12,7 +12,7 @@ export declare class ColorDirective implements OnChanges {
|
|
12
12
|
ngOnDestroy(): void;
|
13
13
|
applyColor(): void;
|
14
14
|
bgColorChangeCheck(): void;
|
15
|
-
getTextColor(): "#
|
15
|
+
getTextColor(): "#000000" | "#ffffff" | "#ffffff;";
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<ColorDirective, never>;
|
17
17
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ColorDirective, "[simpoColor]", never, { "bgColor": { "alias": "simpoColor"; "required": false; }; }, {}, never, never, true, never>;
|
18
18
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { OnInit } from '@angular/core';
|
1
|
+
import { ChangeDetectorRef, 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';
|
@@ -13,6 +13,7 @@ export declare class HeaderSectionComponent implements OnInit {
|
|
13
13
|
private readonly activatedRoute;
|
14
14
|
private readonly matDialog;
|
15
15
|
private readonly storageService;
|
16
|
+
private cdRef;
|
16
17
|
data?: HeaderSectionModel;
|
17
18
|
nextComponent: any;
|
18
19
|
index?: number;
|
@@ -27,7 +28,8 @@ export declare class HeaderSectionComponent implements OnInit {
|
|
27
28
|
searchText: string;
|
28
29
|
theme: typeof ProductCardTheme;
|
29
30
|
HeaderStyling: typeof Header_Type;
|
30
|
-
|
31
|
+
parentHeight: number;
|
32
|
+
constructor(_eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, matDialog: MatDialog, storageService: StorageServiceService, cdRef: ChangeDetectorRef);
|
31
33
|
searchProducts(): void;
|
32
34
|
goToFav(): void;
|
33
35
|
get stylesLayout(): LayOutModel;
|
@@ -39,6 +41,8 @@ export declare class HeaderSectionComponent implements OnInit {
|
|
39
41
|
applyFilter(value: any, type: string): void;
|
40
42
|
onScroll(event: any): void;
|
41
43
|
ngOnInit(): void;
|
44
|
+
ngAfterViewInit(): void;
|
45
|
+
updateParentHeight(): void;
|
42
46
|
isNavbarOpen: boolean;
|
43
47
|
screenWidth: number;
|
44
48
|
getScreenSize(event?: number): void;
|
@@ -17,7 +17,7 @@ export declare class PricingSectionComponent extends BaseSection {
|
|
17
17
|
style?: PricingSectionStylesModel;
|
18
18
|
constructor(_eventService: EventsService);
|
19
19
|
ngOnInit(): void;
|
20
|
-
getTextColor(): "#
|
20
|
+
getTextColor(): "#000000" | "#ffffff";
|
21
21
|
get headingSpace(): SPACING;
|
22
22
|
editSection(): void;
|
23
23
|
redirectTo(): void;
|
package/package.json
CHANGED
Binary file
|
Binary file
|