simpo-component-library 1.6.87 → 1.6.90
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/components/image-loading/image-loading.component.mjs +30 -8
- package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +7 -13
- package/esm2022/lib/ecommerce/sections/small-product-listing/small-product-listing.component.mjs +3 -3
- package/esm2022/lib/sections/text-image-section/text-image-section.component.mjs +3 -3
- package/fesm2022/simpo-component-library.mjs +38 -23
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/components/image-loading/image-loading.component.d.ts +9 -3
- 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/featured-products/featured-products.component.d.ts +0 -1
- package/lib/sections/banner-carousel/banner-carousel.component.d.ts +2 -2
- package/lib/sections/carousel-banner/carousel-banner.component.d.ts +1 -1
- package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
- package/package.json +1 -1
- package/simpo-component-library-1.6.87.tgz +0 -0
- package/simpo-component-library-1.6.90.tgz +0 -0
@@ -1,15 +1,21 @@
|
|
1
1
|
import { Renderer2 } from "@angular/core";
|
2
|
+
import { Product } from "../../ecommerce/styles/product.modal";
|
2
3
|
import * as i0 from "@angular/core";
|
3
4
|
export declare class ImageLoadingComponent {
|
4
5
|
private renderer;
|
5
|
-
hash: string | undefined
|
6
|
-
|
6
|
+
hash: string | undefined;
|
7
|
+
imageUrl: string | undefined;
|
8
|
+
index: number;
|
9
|
+
product: Product | null;
|
10
|
+
private image;
|
7
11
|
private canvas;
|
8
12
|
constructor(renderer: Renderer2);
|
9
13
|
ngOnInit(): void;
|
10
14
|
ngAfterViewInit(): void;
|
11
15
|
ngOnDestroy(): void;
|
12
16
|
private onImageLoad;
|
17
|
+
togglePreviewImage(product: Product | null, idx: number): void;
|
18
|
+
mouseLeave(): void;
|
13
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImageLoadingComponent, never>;
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ImageLoadingComponent, "image-loading", never, { "hash": { "alias": "hash"; "required": false; }; "
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ImageLoadingComponent, "image-loading", never, { "hash": { "alias": "hash"; "required": false; }; "imageUrl": { "alias": "imageUrl"; "required": false; }; "index": { "alias": "index"; "required": false; }; "product": { "alias": "product"; "required": false; }; }, {}, never, never, true, never>;
|
15
21
|
}
|
@@ -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
|
}
|
@@ -54,7 +54,6 @@ export declare class FeaturedProductsComponent extends BaseSection implements On
|
|
54
54
|
addItemToCart(product: Product, type: 'ADD' | 'SUBSTRACT'): void;
|
55
55
|
toggleItemToFav(event: PointerEvent | MouseEvent, product: Product, type: 'ADD' | 'REMOVE'): void;
|
56
56
|
proceedToProductDesc(product: Product): void;
|
57
|
-
togglePreviewImage(product: Product, idx: number): void;
|
58
57
|
isItemOutOfStock(product: Product): boolean;
|
59
58
|
getItemVarient(product: Product, varientId: string): ItemVariant | null;
|
60
59
|
selectVarient(product: Product, varient: ItemVariant): void;
|
@@ -24,8 +24,8 @@ export declare class BannerCarouselComponent extends BaseSection implements OnIn
|
|
24
24
|
get stylesLayout(): LayOutModel;
|
25
25
|
get getBlurValue(): "NONE" | "LIGHT" | "MODERATE" | "STRONG" | "VERY_STRONG" | undefined;
|
26
26
|
get getBackgroundColor(): BackgroundModel;
|
27
|
-
get getBackgroundOpacity(): "0
|
28
|
-
opacityValue(value: OverlayValue): "0
|
27
|
+
get getBackgroundOpacity(): "0" | "0.2" | "0.3" | "0.5" | "0.7";
|
28
|
+
opacityValue(value: OverlayValue): "0" | "0.2" | "0.3" | "0.5" | "0.7";
|
29
29
|
editSection(): void;
|
30
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<BannerCarouselComponent, never>;
|
31
31
|
static ɵcmp: i0.ɵɵComponentDeclaration<BannerCarouselComponent, "simpo-banner-carousel", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; }, {}, never, never, true, never>;
|
@@ -24,7 +24,7 @@ export declare class CarouselBannerComponent extends BaseSection implements OnIn
|
|
24
24
|
get canMergeNavbar(): boolean | undefined;
|
25
25
|
get isBorderlessImage(): boolean | undefined;
|
26
26
|
get getPositionLayout(): PositionLayoutModal;
|
27
|
-
opacityValue(value: OverlayValue): "0
|
27
|
+
opacityValue(value: OverlayValue): "0" | "0.2" | "0.3" | "0.5" | "0.7";
|
28
28
|
editSection(): void;
|
29
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<CarouselBannerComponent, never>;
|
30
30
|
static ɵcmp: i0.ɵɵComponentDeclaration<CarouselBannerComponent, "simpo-carousel-banner", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; }, {}, never, never, true, never>;
|
@@ -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
|
static ɵfac: i0.ɵɵFactoryDeclaration<PricingSectionComponent, never>;
|
package/package.json
CHANGED
Binary file
|
Binary file
|