simpo-component-library 1.4.213 → 1.4.214
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 +4 -2
- package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +25 -45
- package/fesm2022/simpo-component-library.mjs +19 -40
- 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/ecommerce/sections/product-desc/product-desc.component.d.ts +3 -1
- package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
- package/package.json +1 -1
- package/simpo-component-library-1.4.214.tgz +0 -0
- package/simpo-component-library-1.4.213.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
|
}
|
@@ -10,6 +10,7 @@ import { FeaturedProductModal } from '../featured-products/featured-products.mod
|
|
10
10
|
import { StorageServiceService } from '../../../services/storage.service';
|
11
11
|
import { MessageService } from 'primeng/api';
|
12
12
|
import { Meta, Title } from '@angular/platform-browser';
|
13
|
+
import { MatBottomSheet } from '@angular/material/bottom-sheet';
|
13
14
|
import * as i0 from "@angular/core";
|
14
15
|
export declare class ProductDescComponent extends BaseSection {
|
15
16
|
private platformId;
|
@@ -22,6 +23,7 @@ export declare class ProductDescComponent extends BaseSection {
|
|
22
23
|
private readonly messageService;
|
23
24
|
private readonly metaTagService;
|
24
25
|
private readonly titleService;
|
26
|
+
private readonly bottomSheet;
|
25
27
|
data?: ProductDescModal;
|
26
28
|
responseData: Product;
|
27
29
|
index?: number;
|
@@ -32,7 +34,7 @@ export declare class ProductDescComponent extends BaseSection {
|
|
32
34
|
varients: Map<string, string[]>;
|
33
35
|
selectedVarient: Map<string, string>;
|
34
36
|
relatedProductData: Product[];
|
35
|
-
constructor(platformId: Object, _eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, restService: RestService, cartService: CartService, storageService: StorageServiceService, messageService: MessageService, metaTagService: Meta, titleService: Title);
|
37
|
+
constructor(platformId: Object, _eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, restService: RestService, cartService: CartService, storageService: StorageServiceService, messageService: MessageService, metaTagService: Meta, titleService: Title, bottomSheet: MatBottomSheet);
|
36
38
|
buttonId?: string;
|
37
39
|
button?: ButtonModel;
|
38
40
|
styles?: ProductDescStylesModal;
|
@@ -15,7 +15,7 @@ export declare class PricingSectionComponent extends BaseSection {
|
|
15
15
|
style?: PricingSectionStylesModel;
|
16
16
|
constructor(_eventService: EventsService);
|
17
17
|
ngOnInit(): void;
|
18
|
-
getTextColor(): "#
|
18
|
+
getTextColor(): "#ffffff" | "#000000";
|
19
19
|
get headingSpace(): SPACING;
|
20
20
|
editSection(): void;
|
21
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<PricingSectionComponent, never>;
|
package/package.json
CHANGED
Binary file
|
Binary file
|