simpo-component-library 1.6.56 → 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 +20 -10
- package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +15 -5
- package/fesm2022/simpo-component-library.mjs +28 -9
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/ecommerce/sections/product-category-list/product-category-list.component.d.ts +4 -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.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;
|
@@ -28,7 +30,7 @@ export declare class ProductCategoryListComponent extends BaseSection implements
|
|
28
30
|
USER_CART: OrderedItems[];
|
29
31
|
selectedCategory: Category | null;
|
30
32
|
apiLoading: boolean;
|
31
|
-
constructor(restService: RestService, cartService: CartService, activatedRoute: ActivatedRoute);
|
33
|
+
constructor(restService: RestService, cartService: CartService, _eventService: EventsService, activatedRoute: ActivatedRoute);
|
32
34
|
collectionId: string | null;
|
33
35
|
ngOnInit(): void;
|
34
36
|
ngOnDestroy(): void;
|
@@ -39,6 +41,7 @@ export declare class ProductCategoryListComponent extends BaseSection implements
|
|
39
41
|
getItemVarient(product: Product, varientId: string): ItemVariant | null;
|
40
42
|
getPercentage(product: Product): string;
|
41
43
|
getSupportingColor(color: string): string;
|
44
|
+
editSection(): void;
|
42
45
|
get getSpacingLayout(): LayOutModel;
|
43
46
|
get headingSpace(): SPACING;
|
44
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
|