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.
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "1.4.210",
3
+ "version": "1.4.211",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",