simpo-component-library 2.0.19 → 2.0.21
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 +5 -1
- package/esm2022/lib/services/cart.service.mjs +8 -10
- package/esm2022/lib/services/storage.service.mjs +4 -6
- package/fesm2022/simpo-component-library.mjs +14 -12
- 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/pricing-section/pricing-section.component.d.ts +1 -1
- package/lib/services/cart.service.d.ts +1 -3
- package/lib/services/storage.service.d.ts +1 -3
- package/package.json +1 -1
- package/simpo-component-library-2.0.21.tgz +0 -0
- package/simpo-component-library-2.0.19.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): "#ffffff" | "#000000" | "#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): "#ffffff" | "#000000" | "#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(): "#ffffff" | "#000000" | "#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
|
}
|
@@ -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(): "#ffffff" | "#000000";
|
20
20
|
get headingSpace(): SPACING;
|
21
21
|
editSection(): void;
|
22
22
|
redirectTo(): void;
|
@@ -3,13 +3,11 @@ import { ItemVariant, Product } from '../ecommerce/styles/product.modal';
|
|
3
3
|
import { RestService } from './rest.service';
|
4
4
|
import { StorageServiceService } from './storage.service';
|
5
5
|
import { Cart } from '../ecommerce/styles/cart.modal';
|
6
|
-
import { MessageService } from 'primeng/api';
|
7
6
|
import * as i0 from "@angular/core";
|
8
7
|
export declare class CartService {
|
9
8
|
private readonly storageService;
|
10
9
|
private readonly restService;
|
11
|
-
|
12
|
-
constructor(storageService: StorageServiceService, restService: RestService, messageService: MessageService);
|
10
|
+
constructor(storageService: StorageServiceService, restService: RestService);
|
13
11
|
addItemFromCartPage(product: OrderedItems, userCart: any): import("rxjs").Observable<Object>;
|
14
12
|
addItemFromWishlistPage(product: OrderedItems, userWishlist: any): import("rxjs").Observable<Object>;
|
15
13
|
removeItemFromWishlistPage(product: OrderedItems, userWishlist: any): import("rxjs").Observable<Object>;
|
@@ -4,15 +4,13 @@ import { EventsService } from './events.service';
|
|
4
4
|
import { CookieService } from 'ngx-cookie-service';
|
5
5
|
import { RestService } from './rest.service';
|
6
6
|
import { Router } from '@angular/router';
|
7
|
-
import { MessageService } from 'primeng/api';
|
8
7
|
import * as i0 from "@angular/core";
|
9
8
|
export declare class StorageServiceService {
|
10
9
|
private readonly eventService;
|
11
10
|
private readonly cookieService;
|
12
11
|
private readonly restService;
|
13
12
|
private router;
|
14
|
-
|
15
|
-
constructor(eventService: EventsService, cookieService: CookieService, restService: RestService, router: Router, messageService: MessageService);
|
13
|
+
constructor(eventService: EventsService, cookieService: CookieService, restService: RestService, router: Router);
|
16
14
|
private totalCartItems;
|
17
15
|
get getTotalCartItems(): number;
|
18
16
|
databaseName: string;
|
package/package.json
CHANGED
Binary file
|
Binary file
|