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.
- package/esm2022/lib/ecommerce/sections/product-category-list/product-category-list.component.mjs +19 -6
- package/esm2022/lib/elements/card-skeleton-loader/card-skeleton-loader.component.mjs +2 -2
- package/esm2022/lib/services/rest.service.mjs +8 -14
- package/esm2022/lib/services/storage.service.mjs +4 -2
- package/fesm2022/simpo-component-library.mjs +209 -199
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/ecommerce/sections/product-category-list/product-category-list.component.d.ts +2 -0
- package/lib/services/rest.service.d.ts +1 -3
- package/package.json +1 -1
- package/simpo-component-library-1.6.55.tgz +0 -0
- package/simpo-component-library-1.6.56.tgz +0 -0
@@ -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
|
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
Binary file
|
Binary file
|