simpo-component-library 3.6.168 → 3.6.169

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.
@@ -4,7 +4,7 @@ import BaseSection from '../../../sections/BaseSection';
4
4
  import { ProductListContentModal, ProductListModal, ProductListStylesModal } from './product-list.modal';
5
5
  import { EventsService } from '../../../services/events.service';
6
6
  import { RestService } from '../../../services/rest.service';
7
- import { BackgroundModel, ButtonModel } from '../../../styles/style.model';
7
+ import { BackgroundModel, ButtonModel, LayOutModel } from '../../../styles/style.model';
8
8
  import { ActivatedRoute, Router } from '@angular/router';
9
9
  import { StorageServiceService } from '../../../services/storage.service';
10
10
  import { MatBottomSheet } from '@angular/material/bottom-sheet';
@@ -75,6 +75,7 @@ export declare class ProductListComponent extends BaseSection {
75
75
  getScreenSize(): void;
76
76
  onWindowScroll(event: Event): void;
77
77
  constructor(platformId: Object, _eventService: EventsService, restService: RestService, router: Router, activatedRoute: ActivatedRoute, storageService: StorageServiceService, matBottomSheet: MatBottomSheet, matDialog: MatDialog, cartService: CartService, messageService: MessageService);
78
+ get stylesLayout(): LayOutModel;
78
79
  handleProductListScroll(): void;
79
80
  loadMoreProductsToList(): void;
80
81
  ecomConfigs: any;
@@ -118,6 +119,7 @@ export declare class ProductListComponent extends BaseSection {
118
119
  showAllCollections: boolean;
119
120
  get displayedCollections(): BaseModel[];
120
121
  toggleCollections(): void;
122
+ addToTrialCart(product: Product): Promise<void>;
121
123
  static ɵfac: i0.ɵɵFactoryDeclaration<ProductListComponent, never>;
122
124
  static ɵcmp: i0.ɵɵComponentDeclaration<ProductListComponent, "simpo-product-list", never, { "responseData": { "alias": "responseData"; "required": false; }; "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; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
123
125
  }
@@ -12,7 +12,7 @@ export declare class CartService {
12
12
  removeItemFromWishlistPage(product: OrderedItems, userWishlist: any): import("rxjs").Observable<Object>;
13
13
  addItemToCart(product: Product | OrderedItems, varientId?: string): void | IDBRequest<IDBValidKey>;
14
14
  addItemToFavourite(product: Product, varientId?: string): void;
15
- addItemToTrial(product: Product, varientId?: string): void;
15
+ addItemToTrial(product: Product, varientId?: string): Promise<boolean>;
16
16
  addItemToFavFromCart(product: OrderedItems): void;
17
17
  addOrderedItemToFavourite(orderedItem: OrderedItems): void;
18
18
  removeItemFromFavourite(varientId: string): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "3.6.168",
3
+ "version": "3.6.169",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file