simpo-component-library 1.4.217 → 1.4.219
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +13 -10
- package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +4 -4
- package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +8 -5
- package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +40 -6
- package/esm2022/lib/ecommerce/sections/user-profile/user-profile.component.mjs +1 -3
- package/esm2022/lib/ecommerce/sections/whislist/whislist.component.mjs +10 -7
- package/esm2022/lib/ecommerce/styles/OrderedItems.modal.mjs +7 -1
- package/esm2022/lib/services/rest.service.mjs +19 -4
- package/fesm2022/simpo-component-library.mjs +94 -32
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/ecommerce/sections/cart/cart.component.d.ts +3 -2
- package/lib/ecommerce/sections/product-list/product-list.component.d.ts +3 -0
- package/lib/ecommerce/sections/whislist/whislist.component.d.ts +1 -0
- package/lib/ecommerce/styles/OrderedItems.modal.d.ts +2 -0
- package/lib/services/rest.service.d.ts +12 -3
- package/package.json +1 -1
- package/simpo-component-library-1.4.218.tgz +0 -0
- package/simpo-component-library-1.4.219.tgz +0 -0
@@ -39,11 +39,12 @@ export declare class CartComponent extends BaseSection implements OnInit {
|
|
39
39
|
removeItem(item: OrderedItems): void;
|
40
40
|
private moveItemToWishlist;
|
41
41
|
private removeItemFromCart;
|
42
|
-
addToCart(item:
|
42
|
+
addToCart(item: OrderedItems, type: 'ADD' | 'SUBSTRACT'): void;
|
43
43
|
proceedToPayment(): void;
|
44
|
-
isItemLoading(
|
44
|
+
isItemLoading(varientId: string): boolean;
|
45
45
|
addressSelected(index: number): void;
|
46
46
|
isItemOutOfStock(product: OrderedItems): boolean;
|
47
|
+
getKeys(object: Object): string[];
|
47
48
|
get getAddressList(): import("../../styles/user.modal").AddressDetails[];
|
48
49
|
get isMobile(): boolean;
|
49
50
|
get currency(): string;
|
@@ -71,6 +71,9 @@ export declare class ProductListComponent extends BaseSection {
|
|
71
71
|
toggleItemToFav(event: PointerEvent | MouseEvent, product: Product, type: 'ADD' | 'REMOVE'): void;
|
72
72
|
addItemToCart(event: PointerEvent | MouseEvent, product: Product, type: 'ADD' | 'SUBSTRACT'): void;
|
73
73
|
searchProduct(): void;
|
74
|
+
selectVarient(product: Product, varient: ItemVariant): void;
|
75
|
+
private getVarientQuantity;
|
76
|
+
private isVarientPresentInWishtlist;
|
74
77
|
categories: BaseModel[];
|
75
78
|
collections: BaseModel[];
|
76
79
|
applyFilter(category?: any, type?: 'SORT' | 'FILTER'): void;
|
@@ -30,6 +30,7 @@ export declare class WhislistComponent extends BaseSection implements OnInit {
|
|
30
30
|
getWishlistIndexDBData(): void;
|
31
31
|
deleteFromWhislist(product: OrderedItems): void;
|
32
32
|
addToFav(item: OrderedItems, type: 'ADD' | 'SUBSTRACT'): void;
|
33
|
+
getKeys(object: Object): string[];
|
33
34
|
get currency(): string;
|
34
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<WhislistComponent, never>;
|
35
36
|
static ɵcmp: i0.ɵɵComponentDeclaration<WhislistComponent, "simpo-whislist", 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; }; }, {}, never, never, true, never>;
|
@@ -14,9 +14,18 @@ export declare class RestService implements OnDestroy {
|
|
14
14
|
getProductDetails(productId?: string | null): Observable<any>;
|
15
15
|
getAllCategories(): Observable<any>;
|
16
16
|
getAllCollections(): Observable<any>;
|
17
|
-
getFilteredProduct(collectionIds: string[], categoryIds: string[], searchText: string, minPrice: number, maxPrice: number, sortBy: string, pageNo: number, size: number): Observable<
|
18
|
-
|
19
|
-
|
17
|
+
getFilteredProduct(collectionIds: string[], categoryIds: string[], searchText: string, minPrice: number, maxPrice: number, sortBy: string, pageNo: number, size: number): Observable<{
|
18
|
+
count: any;
|
19
|
+
data: any;
|
20
|
+
}>;
|
21
|
+
getProductByCategoryId(categoryId: string): Observable<{
|
22
|
+
count: any;
|
23
|
+
data: any;
|
24
|
+
}>;
|
25
|
+
getProductByCollectionId(collectionId: string): Observable<{
|
26
|
+
count: any;
|
27
|
+
data: any;
|
28
|
+
}>;
|
20
29
|
generateOTP(mobile: string, countryCode: string): Observable<Object>;
|
21
30
|
verifyOTP(mobile: string, otp: string): Observable<Object>;
|
22
31
|
resendOTP(mobile: string, countryCode: string): Observable<Object>;
|
package/package.json
CHANGED
Binary file
|
Binary file
|