simpo-component-library 1.6.54 → 1.6.56

Sign up to get free protection for your applications and to get access to all the features.
@@ -22,6 +22,7 @@ export declare class ProductCategoryListComponent extends BaseSection implements
22
22
  customClass?: string;
23
23
  styles?: ProductCategoryListStylesModal;
24
24
  productListContainer: ElementRef<HTMLDivElement> | undefined;
25
+ productCategoryListSection: ElementRef<HTMLDivElement> | undefined;
25
26
  categories: Category[];
26
27
  productList: Product[];
27
28
  USER_CART: OrderedItems[];
@@ -33,6 +34,7 @@ export declare class ProductCategoryListComponent extends BaseSection implements
33
34
  ngOnDestroy(): void;
34
35
  getAllCategoriesById(): void;
35
36
  selectCategory(category: Category): void;
37
+ scrollElementToTop(): void;
36
38
  addItemToCart(product: Product, type: 'ADD' | 'SUBSTRACT'): void;
37
39
  getItemVarient(product: Product, varientId: string): ItemVariant | null;
38
40
  getPercentage(product: Product): string;
@@ -4,15 +4,13 @@ import { Observable } from "rxjs";
4
4
  import { EventsService } from "../../public-api";
5
5
  import { Review } from "../ecommerce/styles/review.modal";
6
6
  import { DeviceInfo } from "../ecommerce/styles/user.modal";
7
- import { StorageServiceService } from "./storage.service";
8
7
  import * as i0 from "@angular/core";
9
8
  export declare class RestService implements OnDestroy {
10
9
  private readonly http;
11
10
  private readonly eventService;
12
- private readonly storageService;
13
11
  private BASE_URL;
14
12
  private environmentTypeSubscriber;
15
- constructor(http: HttpClient, eventService: EventsService, storageService: StorageServiceService);
13
+ constructor(http: HttpClient, eventService: EventsService);
16
14
  ngOnDestroy(): void;
17
15
  getFeaturedProduct(collectionId: string | undefined | null): Observable<any>;
18
16
  getCategoriesByCollectionId(collectionId: string): Observable<any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "1.6.54",
3
+ "version": "1.6.56",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",