simpo-component-library 1.4.210 → 1.4.211
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 +6 -4
- package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +14 -9
- package/esm2022/lib/services/rest.service.mjs +2 -2
- package/fesm2022/simpo-component-library.mjs +19 -12
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/ecommerce/sections/featured-products/featured-products.component.d.ts +1 -1
- package/lib/ecommerce/sections/product-list/product-list.component.d.ts +3 -2
- package/package.json +1 -1
- package/simpo-component-library-1.4.211.tgz +0 -0
@@ -43,7 +43,7 @@ export declare class FeaturedProductsComponent extends BaseSection implements On
|
|
43
43
|
getSliceParameters(): number[];
|
44
44
|
getFeatureProduct(): void;
|
45
45
|
addItemToCart(product: Product, type: 'ADD' | 'SUBSTRACT'): void;
|
46
|
-
toggleItemToFav(product: Product, type: 'ADD' | 'REMOVE'): void;
|
46
|
+
toggleItemToFav(event: PointerEvent | MouseEvent, product: Product, type: 'ADD' | 'REMOVE'): void;
|
47
47
|
proceedToProductDesc(product: Product): void;
|
48
48
|
togglePreviewImage(product: Product, idx: number): void;
|
49
49
|
isItemOutOfStock(product: Product): boolean;
|
@@ -67,8 +67,8 @@ export declare class ProductListComponent extends BaseSection {
|
|
67
67
|
getProductWidth(): string;
|
68
68
|
proceedToProductDesc(productId: any): void;
|
69
69
|
clearFilter(): void;
|
70
|
-
toggleItemToFav(product: Product, type: 'ADD' | 'REMOVE'): void;
|
71
|
-
addItemToCart(product: Product, type: 'ADD' | 'SUBSTRACT'): void;
|
70
|
+
toggleItemToFav(event: PointerEvent | MouseEvent, product: Product, type: 'ADD' | 'REMOVE'): void;
|
71
|
+
addItemToCart(event: PointerEvent | MouseEvent, product: Product, type: 'ADD' | 'SUBSTRACT'): void;
|
72
72
|
categories: BaseModel[];
|
73
73
|
collections: BaseModel[];
|
74
74
|
applyFilter(category?: any, type?: 'SORT' | 'FILTER'): void;
|
@@ -78,6 +78,7 @@ export declare class ProductListComponent extends BaseSection {
|
|
78
78
|
openSorting(SortingSection: any): void;
|
79
79
|
paginationChange(page: number): void;
|
80
80
|
closeDialog(): void;
|
81
|
+
isItemOutOfStock(product: Product): boolean;
|
81
82
|
get currency(): string;
|
82
83
|
get minSize(): number;
|
83
84
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductListComponent, never>;
|
package/package.json
CHANGED
Binary file
|