simpo-component-library 1.6.3 → 1.6.4
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.
- package/esm2022/lib/ecommerce/sections/category-product/category-product.component.mjs +15 -15
- package/esm2022/lib/ecommerce/sections/featured-category/featured-category.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/featured-category/featured-collection.component.mjs +6 -3
- package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +44 -4
- package/esm2022/lib/ecommerce/sections/product-category-list/product-category-list.component.mjs +7 -5
- package/esm2022/lib/ecommerce/sections/small-product-listing/small-product-listing.component.mjs +2 -2
- package/fesm2022/simpo-component-library.mjs +71 -26
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/ecommerce/sections/category-product/category-product.component.d.ts +1 -1
- package/lib/ecommerce/sections/featured-category/featured-collection.component.d.ts +1 -0
- package/lib/ecommerce/sections/featured-products/featured-products.component.d.ts +7 -1
- package/package.json +1 -1
- package/simpo-component-library-1.6.4.tgz +0 -0
- package/simpo-component-library-1.6.3.tgz +0 -0
@@ -32,11 +32,11 @@ export declare class CategoryProductComponent extends BaseSection implements OnI
|
|
32
32
|
getAllCategoriesById(): void;
|
33
33
|
dataList: Product[];
|
34
34
|
selectCategory(categoryId: string): void;
|
35
|
-
scrollRight(): void;
|
36
35
|
addItemToCart(product: Product, type: 'ADD' | 'SUBSTRACT'): void;
|
37
36
|
getItemVarient(product: Product, varientId: string): ItemVariant | null;
|
38
37
|
getPercentage(product: Product): string;
|
39
38
|
getSupportingColor(color: string): string;
|
39
|
+
scrollRight(): void;
|
40
40
|
scrollLeft(): void;
|
41
41
|
showRightArrow: boolean;
|
42
42
|
showLeftArrow: boolean;
|
@@ -24,6 +24,7 @@ export declare class FeaturedCollectionComponent extends BaseSection {
|
|
24
24
|
getCollectionsIds(): void;
|
25
25
|
redirectToListPage(collection: any): void;
|
26
26
|
get stylesLayout(): LayOutModel;
|
27
|
+
get isMobile(): boolean;
|
27
28
|
editSection(): void;
|
28
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<FeaturedCollectionComponent, never>;
|
29
30
|
static ɵcmp: i0.ɵɵComponentDeclaration<FeaturedCollectionComponent, "simpo-featured-collection", never, { "data": { "alias": "data"; "required": false; }; "responseData": { "alias": "responseData"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; }, {}, never, never, true, never>;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
1
|
+
import { ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
2
2
|
import { FeaturedProductContentModal, FeaturedProductModal, FeaturedProductStylesModel } from './featured-products.modal';
|
3
3
|
import { Product, ItemVariant } from '../../styles/product.modal';
|
4
4
|
import { EventsService } from '.././../../services/events.service';
|
@@ -33,6 +33,7 @@ export declare class FeaturedProductsComponent extends BaseSection implements On
|
|
33
33
|
content?: FeaturedProductContentModal;
|
34
34
|
styles?: FeaturedProductStylesModel;
|
35
35
|
button?: ButtonModel;
|
36
|
+
containerRef: ElementRef<HTMLDivElement> | undefined;
|
36
37
|
private _eventSubscriber;
|
37
38
|
constructor(platformId: Object, _eventService: EventsService, restService: RestService, router: Router, cartService: CartService, bottomSheet: MatBottomSheet, storageService: StorageServiceService, messageService: MessageService);
|
38
39
|
screenWidth: number;
|
@@ -54,6 +55,11 @@ export declare class FeaturedProductsComponent extends BaseSection implements On
|
|
54
55
|
isItemOutOfStock(product: Product): boolean;
|
55
56
|
getItemVarient(product: Product, varientId: string): ItemVariant | null;
|
56
57
|
selectVarient(product: Product, varient: ItemVariant): void;
|
58
|
+
scrollRight(): void;
|
59
|
+
scrollLeft(): void;
|
60
|
+
showRightArrow: boolean;
|
61
|
+
showLeftArrow: boolean;
|
62
|
+
updateArrows(): void;
|
57
63
|
get currency(): string;
|
58
64
|
get isMobile(): boolean;
|
59
65
|
private getVarientQuantity;
|
package/package.json
CHANGED
Binary file
|
Binary file
|