simpo-component-library 1.8.91 → 1.8.92
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +3 -3
- package/esm2022/lib/sections/features-section/features-section.component.mjs +3 -3
- package/esm2022/lib/sections/navbar-section/navbar-section.component.mjs +22 -8
- package/esm2022/lib/services/rest.service.mjs +5 -1
- package/fesm2022/simpo-component-library.mjs +28 -11
- 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/navbar-section/navbar-section.component.d.ts +5 -1
- package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
- package/lib/services/rest.service.d.ts +1 -0
- package/package.json +1 -1
- package/simpo-component-library-1.8.92.tgz +0 -0
- package/simpo-component-library-1.8.91.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
|
}
|
@@ -8,6 +8,7 @@ import { CookieService } from 'ngx-cookie-service';
|
|
8
8
|
import { StorageServiceService } from '../../services/storage.service';
|
9
9
|
import { MatBottomSheet } from '@angular/material/bottom-sheet';
|
10
10
|
import { HEADER_STYLING, ProductCardTheme } from '../../styles/index';
|
11
|
+
import { RestService } from '../../services/rest.service';
|
11
12
|
import * as i0 from "@angular/core";
|
12
13
|
export declare class NavbarSectionComponent implements OnInit {
|
13
14
|
private readonly _eventService;
|
@@ -17,6 +18,7 @@ export declare class NavbarSectionComponent implements OnInit {
|
|
17
18
|
private readonly bottomSheet;
|
18
19
|
private readonly cookieService;
|
19
20
|
private readonly storageService;
|
21
|
+
private readonly restService;
|
20
22
|
data?: HeaderSectionModel;
|
21
23
|
nextComponent: any;
|
22
24
|
index?: number;
|
@@ -31,7 +33,7 @@ export declare class NavbarSectionComponent implements OnInit {
|
|
31
33
|
searchText: string;
|
32
34
|
theme: typeof ProductCardTheme;
|
33
35
|
HeaderStyling: typeof HEADER_STYLING;
|
34
|
-
constructor(_eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, matDialog: MatDialog, bottomSheet: MatBottomSheet, cookieService: CookieService, storageService: StorageServiceService);
|
36
|
+
constructor(_eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, matDialog: MatDialog, bottomSheet: MatBottomSheet, cookieService: CookieService, storageService: StorageServiceService, restService: RestService);
|
35
37
|
searchProducts(): void;
|
36
38
|
goToFav(): void;
|
37
39
|
goToAccount(): void;
|
@@ -56,6 +58,7 @@ export declare class NavbarSectionComponent implements OnInit {
|
|
56
58
|
get accentColor(): any;
|
57
59
|
get isTransparent(): any;
|
58
60
|
redirectTo(content: any): void;
|
61
|
+
showSearchBar: boolean;
|
59
62
|
get isComponentMerged(): any;
|
60
63
|
editSection(): void;
|
61
64
|
get canShowMobileFooter(): boolean;
|
@@ -66,6 +69,7 @@ export declare class NavbarSectionComponent implements OnInit {
|
|
66
69
|
getKeys(object: any): string[];
|
67
70
|
getValues(object: any): unknown[];
|
68
71
|
get userGender(): import("../../ecommerce/styles/user.modal").GENDER | null;
|
72
|
+
get getNavbarButton(): any[];
|
69
73
|
static ɵfac: i0.ɵɵFactoryDeclaration<NavbarSectionComponent, never>;
|
70
74
|
static ɵcmp: i0.ɵɵComponentDeclaration<NavbarSectionComponent, "simpo-navbar-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>;
|
71
75
|
}
|
@@ -16,7 +16,7 @@ export declare class PricingSectionComponent extends BaseSection {
|
|
16
16
|
style?: PricingSectionStylesModel;
|
17
17
|
constructor(_eventService: EventsService);
|
18
18
|
ngOnInit(): void;
|
19
|
-
getTextColor(): "#
|
19
|
+
getTextColor(): "#000000" | "#ffffff";
|
20
20
|
get headingSpace(): SPACING;
|
21
21
|
editSection(): void;
|
22
22
|
redirectTo(): void;
|
@@ -63,6 +63,7 @@ export declare class RestService implements OnDestroy {
|
|
63
63
|
getAllServices(businessId: any, size: number, page: number): Observable<Object>;
|
64
64
|
getAllLocation(businessId: any, size: number, page: number): Observable<Object>;
|
65
65
|
getAllTimeSlots(locationId: any, date: Date): Observable<Object>;
|
66
|
+
getBlogByBusinessId(): Observable<Object>;
|
66
67
|
static ɵfac: i0.ɵɵFactoryDeclaration<RestService, never>;
|
67
68
|
static ɵprov: i0.ɵɵInjectableDeclaration<RestService>;
|
68
69
|
}
|
package/package.json
CHANGED
Binary file
|
Binary file
|