simpo-component-library 1.6.55 → 1.6.57
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 +36 -13
- package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +15 -5
- package/esm2022/lib/elements/card-skeleton-loader/card-skeleton-loader.component.mjs +2 -2
- package/fesm2022/simpo-component-library.mjs +45 -13
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/ecommerce/sections/product-category-list/product-category-list.component.d.ts +6 -1
- package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +1 -0
- package/package.json +1 -1
- package/simpo-component-library-1.6.56.tgz +0 -0
- package/simpo-component-library-1.6.57.tgz +0 -0
@@ -9,10 +9,12 @@ import { ActivatedRoute } from '@angular/router';
|
|
9
9
|
import { ProductCategoryListModal, ProductCategoryListStylesModal } from './product-category-list.model';
|
10
10
|
import { SPACING } from '../../../styles/index';
|
11
11
|
import { LayOutModel } from '../../../styles/style.model';
|
12
|
+
import { EventsService } from '../../../services/events.service';
|
12
13
|
import * as i0 from "@angular/core";
|
13
14
|
export declare class ProductCategoryListComponent extends BaseSection implements OnInit, OnDestroy {
|
14
15
|
private readonly restService;
|
15
16
|
private readonly cartService;
|
17
|
+
private readonly _eventService;
|
16
18
|
private readonly activatedRoute;
|
17
19
|
responseData?: any[];
|
18
20
|
data?: ProductCategoryListModal;
|
@@ -22,21 +24,24 @@ export declare class ProductCategoryListComponent extends BaseSection implements
|
|
22
24
|
customClass?: string;
|
23
25
|
styles?: ProductCategoryListStylesModal;
|
24
26
|
productListContainer: ElementRef<HTMLDivElement> | undefined;
|
27
|
+
productCategoryListSection: ElementRef<HTMLDivElement> | undefined;
|
25
28
|
categories: Category[];
|
26
29
|
productList: Product[];
|
27
30
|
USER_CART: OrderedItems[];
|
28
31
|
selectedCategory: Category | null;
|
29
32
|
apiLoading: boolean;
|
30
|
-
constructor(restService: RestService, cartService: CartService, activatedRoute: ActivatedRoute);
|
33
|
+
constructor(restService: RestService, cartService: CartService, _eventService: EventsService, activatedRoute: ActivatedRoute);
|
31
34
|
collectionId: string | null;
|
32
35
|
ngOnInit(): void;
|
33
36
|
ngOnDestroy(): void;
|
34
37
|
getAllCategoriesById(): void;
|
35
38
|
selectCategory(category: Category): void;
|
39
|
+
scrollElementToTop(): void;
|
36
40
|
addItemToCart(product: Product, type: 'ADD' | 'SUBSTRACT'): void;
|
37
41
|
getItemVarient(product: Product, varientId: string): ItemVariant | null;
|
38
42
|
getPercentage(product: Product): string;
|
39
43
|
getSupportingColor(color: string): string;
|
44
|
+
editSection(): void;
|
40
45
|
get getSpacingLayout(): LayOutModel;
|
41
46
|
get headingSpace(): SPACING;
|
42
47
|
get isMobile(): boolean;
|
@@ -51,6 +51,7 @@ export declare class ProductDescComponent extends BaseSection {
|
|
51
51
|
varientLoading: boolean;
|
52
52
|
selectVarient(key: string, value: string): void;
|
53
53
|
getItemVarient(): ItemVariant | null;
|
54
|
+
shareProduct(): void;
|
54
55
|
routeToHome(): void;
|
55
56
|
screenWidth: any;
|
56
57
|
getScreenSize(): void;
|
package/package.json
CHANGED
Binary file
|
Binary file
|