simpo-component-library 1.6.85 → 1.6.87
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/lib/components/image-loading/image-loading.component.mjs +49 -0
- package/esm2022/lib/ecommerce/sections/small-product-listing/small-product-listing.component.mjs +5 -3
- package/esm2022/lib/ecommerce/styles/product.modal.mjs +1 -1
- package/esm2022/lib/sections/image-section/image-section.component.mjs +3 -3
- package/esm2022/lib/styles/style.model.mjs +1 -1
- package/fesm2022/simpo-component-library.mjs +52 -4
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/components/image-loading/image-loading.component.d.ts +15 -0
- 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/styles/product.modal.d.ts +2 -5
- package/lib/sections/banner-carousel/banner-carousel.component.d.ts +1 -1
- package/lib/sections/image-section/image-section.component.d.ts +2 -2
- package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
- package/lib/styles/style.model.d.ts +1 -0
- package/package.json +1 -1
- package/simpo-component-library-1.6.87.tgz +0 -0
- package/simpo-component-library-1.6.85.tgz +0 -0
@@ -0,0 +1,15 @@
|
|
1
|
+
import { Renderer2 } from "@angular/core";
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class ImageLoadingComponent {
|
4
|
+
private renderer;
|
5
|
+
hash: string | undefined | null;
|
6
|
+
image: HTMLImageElement | undefined;
|
7
|
+
private canvas;
|
8
|
+
constructor(renderer: Renderer2);
|
9
|
+
ngOnInit(): void;
|
10
|
+
ngAfterViewInit(): void;
|
11
|
+
ngOnDestroy(): void;
|
12
|
+
private onImageLoad;
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ImageLoadingComponent, never>;
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ImageLoadingComponent, "image-loading", never, { "hash": { "alias": "hash"; "required": false; }; "image": { "alias": "image"; "required": false; }; }, {}, never, never, true, never>;
|
15
|
+
}
|
@@ -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
|
}
|
@@ -82,17 +82,13 @@ export interface ItemVariant {
|
|
82
82
|
quantity: number;
|
83
83
|
wishlist: boolean;
|
84
84
|
variantName: string;
|
85
|
-
variantImages:
|
85
|
+
variantImages: ItemImage[];
|
86
86
|
itemPacks: ItemPack[];
|
87
87
|
properties: any;
|
88
88
|
itemVariantPrice: ItemVariantPrice;
|
89
89
|
itemInventory: ItemInventory2;
|
90
90
|
itemStatus: string;
|
91
91
|
}
|
92
|
-
export interface VariantImage {
|
93
|
-
imgUrl: string;
|
94
|
-
imgDesc: string;
|
95
|
-
}
|
96
92
|
export interface ItemPack {
|
97
93
|
itemPackId: string;
|
98
94
|
packName: string;
|
@@ -135,6 +131,7 @@ export interface ItemInventory2 {
|
|
135
131
|
}
|
136
132
|
export interface ItemImage {
|
137
133
|
imgUrl: string;
|
134
|
+
blurhash: string;
|
138
135
|
imgDesc: string;
|
139
136
|
}
|
140
137
|
export interface ItemPack2 {
|
@@ -22,7 +22,7 @@ export declare class BannerCarouselComponent extends BaseSection implements OnIn
|
|
22
22
|
constructor(_eventService: EventsService);
|
23
23
|
ngOnInit(): void;
|
24
24
|
get stylesLayout(): LayOutModel;
|
25
|
-
get getBlurValue(): "
|
25
|
+
get getBlurValue(): "NONE" | "LIGHT" | "MODERATE" | "STRONG" | "VERY_STRONG" | undefined;
|
26
26
|
get getBackgroundColor(): BackgroundModel;
|
27
27
|
get getBackgroundOpacity(): "0.2" | "0.3" | "0.5" | "0.7" | "0";
|
28
28
|
opacityValue(value: OverlayValue): "0.2" | "0.3" | "0.5" | "0.7" | "0";
|
@@ -17,8 +17,8 @@ export declare class ImageSectionComponent extends BaseSection {
|
|
17
17
|
constructor(_eventService: EventsService);
|
18
18
|
ngOnInit(): void;
|
19
19
|
get canMergeNavbar(): boolean | undefined;
|
20
|
-
get getBackgroundOpacity(): "0.2" | "0.3" | "0.5" | "0.7"
|
21
|
-
opacityValue(value: OverlayValue): "0.2" | "0.3" | "0.5" | "0.7"
|
20
|
+
get getBackgroundOpacity(): "1" | "0.2" | "0.3" | "0.5" | "0.7";
|
21
|
+
opacityValue(value: OverlayValue): "1" | "0.2" | "0.3" | "0.5" | "0.7";
|
22
22
|
editSection(): void;
|
23
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImageSectionComponent, never>;
|
24
24
|
static ɵcmp: i0.ɵɵComponentDeclaration<ImageSectionComponent, "simpo-image-section", 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(): "#000000" | "#ffffff";
|
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
|