simpo-component-library 3.6.168 → 3.6.170
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/product-list/product-list.component.mjs +26 -4
- package/esm2022/lib/ecommerce/sections/user-profile/user-profile.component.mjs +2 -1
- package/esm2022/lib/elements/list-home-appointment/list-home-appointment.component.mjs +3 -3
- package/esm2022/lib/services/cart.service.mjs +33 -7
- package/fesm2022/simpo-component-library.mjs +59 -12
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/ecommerce/sections/product-list/product-list.component.d.ts +3 -1
- package/lib/services/cart.service.d.ts +1 -1
- package/package.json +1 -1
- package/simpo-component-library-3.6.170.tgz +0 -0
- package/simpo-component-library-3.6.168.tgz +0 -0
@@ -4,7 +4,7 @@ import BaseSection from '../../../sections/BaseSection';
|
|
4
4
|
import { ProductListContentModal, ProductListModal, ProductListStylesModal } from './product-list.modal';
|
5
5
|
import { EventsService } from '../../../services/events.service';
|
6
6
|
import { RestService } from '../../../services/rest.service';
|
7
|
-
import { BackgroundModel, ButtonModel } from '../../../styles/style.model';
|
7
|
+
import { BackgroundModel, ButtonModel, LayOutModel } from '../../../styles/style.model';
|
8
8
|
import { ActivatedRoute, Router } from '@angular/router';
|
9
9
|
import { StorageServiceService } from '../../../services/storage.service';
|
10
10
|
import { MatBottomSheet } from '@angular/material/bottom-sheet';
|
@@ -75,6 +75,7 @@ export declare class ProductListComponent extends BaseSection {
|
|
75
75
|
getScreenSize(): void;
|
76
76
|
onWindowScroll(event: Event): void;
|
77
77
|
constructor(platformId: Object, _eventService: EventsService, restService: RestService, router: Router, activatedRoute: ActivatedRoute, storageService: StorageServiceService, matBottomSheet: MatBottomSheet, matDialog: MatDialog, cartService: CartService, messageService: MessageService);
|
78
|
+
get stylesLayout(): LayOutModel;
|
78
79
|
handleProductListScroll(): void;
|
79
80
|
loadMoreProductsToList(): void;
|
80
81
|
ecomConfigs: any;
|
@@ -118,6 +119,7 @@ export declare class ProductListComponent extends BaseSection {
|
|
118
119
|
showAllCollections: boolean;
|
119
120
|
get displayedCollections(): BaseModel[];
|
120
121
|
toggleCollections(): void;
|
122
|
+
addToTrialCart(product: Product): Promise<void>;
|
121
123
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductListComponent, never>;
|
122
124
|
static ɵcmp: i0.ɵɵComponentDeclaration<ProductListComponent, "simpo-product-list", never, { "responseData": { "alias": "responseData"; "required": false; }; "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
|
123
125
|
}
|
@@ -12,7 +12,7 @@ export declare class CartService {
|
|
12
12
|
removeItemFromWishlistPage(product: OrderedItems, userWishlist: any): import("rxjs").Observable<Object>;
|
13
13
|
addItemToCart(product: Product | OrderedItems, varientId?: string): void | IDBRequest<IDBValidKey>;
|
14
14
|
addItemToFavourite(product: Product, varientId?: string): void;
|
15
|
-
addItemToTrial(product: Product, varientId?: string):
|
15
|
+
addItemToTrial(product: Product, varientId?: string): Promise<boolean>;
|
16
16
|
addItemToFavFromCart(product: OrderedItems): void;
|
17
17
|
addOrderedItemToFavourite(orderedItem: OrderedItems): void;
|
18
18
|
removeItemFromFavourite(varientId: string): void;
|
package/package.json
CHANGED
Binary file
|
Binary file
|