simpo-component-library 1.6.84 → 1.6.86
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/featured-category/featured-collection.component.mjs +14 -1
- 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 +22 -3
- package/fesm2022/simpo-component-library.mjs +84 -5
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/components/image-loading/image-loading.component.d.ts +15 -0
- package/lib/ecommerce/sections/featured-category/featured-collection.component.d.ts +1 -0
- 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 +3 -0
- package/package.json +1 -1
- package/simpo-component-library-1.6.86.tgz +0 -0
- package/simpo-component-library-1.6.83.tgz +0 -0
- package/simpo-component-library-1.6.84.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
|
+
}
|
@@ -23,6 +23,7 @@ export declare class FeaturedCollectionComponent extends BaseSection {
|
|
23
23
|
ngOnInit(): void;
|
24
24
|
getSliceParameters(): number[];
|
25
25
|
getCollectionsIds(): void;
|
26
|
+
dropCollection(startIdx: number, endIdx: number): void;
|
26
27
|
redirectToListPage(collection: any): void;
|
27
28
|
get stylesLayout(): LayOutModel;
|
28
29
|
get getDirection(): "ROW" | "COLUMN" | undefined;
|
@@ -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(): "LIGHT" | "MODERATE" | "STRONG" | "VERY_STRONG" | "NONE" | 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";
|
@@ -2,6 +2,7 @@ import { ElementRef } from '@angular/core';
|
|
2
2
|
import { ImageContentModal, imageSectionModel, imageSectionStylesModel } from './image-section.model';
|
3
3
|
import { EventsService } from './../../services/events.service';
|
4
4
|
import BaseSection from '../BaseSection';
|
5
|
+
import { OverlayValue } from "../../styles/index";
|
5
6
|
import * as i0 from "@angular/core";
|
6
7
|
export declare class ImageSectionComponent extends BaseSection {
|
7
8
|
private _eventService;
|
@@ -16,6 +17,8 @@ export declare class ImageSectionComponent extends BaseSection {
|
|
16
17
|
constructor(_eventService: EventsService);
|
17
18
|
ngOnInit(): void;
|
18
19
|
get canMergeNavbar(): boolean | undefined;
|
20
|
+
get getBackgroundOpacity(): "0.2" | "0.3" | "0.5" | "0.7" | "1";
|
21
|
+
opacityValue(value: OverlayValue): "0.2" | "0.3" | "0.5" | "0.7" | "1";
|
19
22
|
editSection(): void;
|
20
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImageSectionComponent, never>;
|
21
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>;
|
package/package.json
CHANGED
Binary file
|
Binary file
|
Binary file
|