simpo-component-library 1.4.107 → 1.4.110
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/constants/business.constant.mjs +5 -0
- package/esm2022/lib/ecommerce/sections/address/address.component.mjs +8 -10
- package/esm2022/lib/ecommerce/sections/authenticate-user/authenticate-user.component.mjs +2 -2
- package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +34 -29
- package/esm2022/lib/ecommerce/sections/checkout/checkout.component.mjs +7 -3
- package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +7 -3
- package/esm2022/lib/ecommerce/sections/featured-products/featured-products.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/order-details/order-details.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/pagnination/pagnination.component.mjs +6 -6
- package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +11 -7
- package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +19 -9
- package/esm2022/lib/ecommerce/sections/user-profile/user-profile.component.mjs +21 -4
- package/esm2022/lib/ecommerce/sections/verify-payment/verify-payment.component.mjs +22 -3
- package/esm2022/lib/ecommerce/sections/whislist/whislist.component.mjs +45 -24
- package/esm2022/lib/ecommerce/styles/OrderedItems.modal.mjs +2 -1
- package/esm2022/lib/pipes/amount.pipe.mjs +35 -0
- package/esm2022/lib/services/storage.service.mjs +1 -1
- package/fesm2022/simpo-component-library.mjs +236 -123
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/constants/business.constant.d.ts +3 -0
- package/lib/ecommerce/sections/address/address.component.d.ts +2 -4
- package/lib/ecommerce/sections/cart/cart.component.d.ts +2 -0
- package/lib/ecommerce/sections/checkout/checkout.component.d.ts +1 -0
- package/lib/ecommerce/sections/featured-products/featured-products.component.d.ts +1 -0
- package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +2 -0
- package/lib/ecommerce/sections/product-list/product-list.component.d.ts +1 -0
- package/lib/ecommerce/sections/user-profile/user-profile.component.d.ts +1 -0
- package/lib/ecommerce/sections/whislist/whislist.component.d.ts +5 -2
- package/lib/ecommerce/styles/OrderedItems.modal.d.ts +1 -0
- package/lib/pipes/amount.pipe.d.ts +7 -0
- package/package.json +1 -1
- package/simpo-component-library-1.4.110.tgz +0 -0
- package/simpo-component-library-1.4.105.tgz +0 -0
- package/simpo-component-library-1.4.107.tgz +0 -0
|
@@ -3,7 +3,6 @@ import { RestService } from '../../../services/rest.service';
|
|
|
3
3
|
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
|
4
4
|
import { Router } from '@angular/router';
|
|
5
5
|
import { StorageServiceService } from '../../../services/storage.service';
|
|
6
|
-
import { EventsService } from '../../../services/events.service';
|
|
7
6
|
import * as i0 from "@angular/core";
|
|
8
7
|
export declare class AddressComponent implements OnInit, OnChanges {
|
|
9
8
|
private readonly ngZone;
|
|
@@ -11,13 +10,12 @@ export declare class AddressComponent implements OnInit, OnChanges {
|
|
|
11
10
|
private readonly matDialog;
|
|
12
11
|
private readonly router;
|
|
13
12
|
private readonly storageService;
|
|
14
|
-
private readonly eventService;
|
|
15
13
|
matData: any;
|
|
16
14
|
matDialogRef: MatDialogRef<AddressComponent>;
|
|
17
15
|
responseData: any;
|
|
18
16
|
data: any;
|
|
19
17
|
selectedAddressIdx: number;
|
|
20
|
-
constructor(ngZone: NgZone, restService: RestService, matDialog: MatDialog, router: Router, storageService: StorageServiceService,
|
|
18
|
+
constructor(ngZone: NgZone, restService: RestService, matDialog: MatDialog, router: Router, storageService: StorageServiceService, matData: any, matDialogRef: MatDialogRef<AddressComponent>);
|
|
21
19
|
addressList: any[];
|
|
22
20
|
address: any;
|
|
23
21
|
isCart: boolean;
|
|
@@ -44,6 +42,6 @@ export declare class AddressComponent implements OnInit, OnChanges {
|
|
|
44
42
|
onLocationSelected(location: any): void;
|
|
45
43
|
onAutocompleteSelected(result: any): void;
|
|
46
44
|
updateAddress(): void;
|
|
47
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AddressComponent, [null, null, null, null, null,
|
|
45
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AddressComponent, [null, null, null, null, null, { optional: true; }, { optional: true; }]>;
|
|
48
46
|
static ɵcmp: i0.ɵɵComponentDeclaration<AddressComponent, "simpo-address", never, { "responseData": { "alias": "responseData"; "required": false; }; "data": { "alias": "data"; "required": false; }; "isCart": { "alias": "isCart"; "required": false; }; }, {}, never, never, true, never>;
|
|
49
47
|
}
|
|
@@ -32,6 +32,7 @@ export declare class CartComponent extends BaseSection {
|
|
|
32
32
|
private USER_CART_ITEMS;
|
|
33
33
|
cartInfo: any;
|
|
34
34
|
ngOnInit(): void;
|
|
35
|
+
getIndexDBData(): void;
|
|
35
36
|
proceedToCheckout(): void;
|
|
36
37
|
proceedToListPage(): void;
|
|
37
38
|
removeItem(item: any): void;
|
|
@@ -40,6 +41,7 @@ export declare class CartComponent extends BaseSection {
|
|
|
40
41
|
isItemLoading(itemId: string): boolean;
|
|
41
42
|
get getAddressList(): import("../../styles/user.modal").AddressDetails[];
|
|
42
43
|
get isMobile(): boolean;
|
|
44
|
+
get currency(): string;
|
|
43
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<CartComponent, never>;
|
|
44
46
|
static ɵcmp: i0.ɵɵComponentDeclaration<CartComponent, "simpo-cart", 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>;
|
|
45
47
|
}
|
|
@@ -18,6 +18,7 @@ export declare class CheckoutComponent extends BaseSection {
|
|
|
18
18
|
button?: ButtonModel;
|
|
19
19
|
ngOnInit(): void;
|
|
20
20
|
placeOrder(): void;
|
|
21
|
+
get currency(): string;
|
|
21
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckoutComponent, never>;
|
|
22
23
|
static ɵcmp: i0.ɵɵComponentDeclaration<CheckoutComponent, "simpo-checkout", 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>;
|
|
23
24
|
}
|
|
@@ -41,6 +41,7 @@ export declare class FeaturedProductsComponent extends BaseSection implements On
|
|
|
41
41
|
toggleItemToFav(product: Product, type: 'ADD' | 'REMOVE'): void;
|
|
42
42
|
proceedToProductDesc(productId: any): void;
|
|
43
43
|
togglePreviewImage(product: Product, idx: number): void;
|
|
44
|
+
get currency(): string;
|
|
44
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<FeaturedProductsComponent, never>;
|
|
45
46
|
static ɵcmp: i0.ɵɵComponentDeclaration<FeaturedProductsComponent, "simpo-featured-products", never, { "data": { "alias": "data"; "required": false; }; "responseData": { "alias": "responseData"; "required": false; }; "index": { "alias": "index"; "required": false; }; "isRelatedProduct": { "alias": "isRelatedProduct"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; }, {}, never, never, true, never>;
|
|
46
47
|
}
|
|
@@ -37,12 +37,14 @@ export declare class ProductDescComponent extends BaseSection {
|
|
|
37
37
|
getScreenSize(): void;
|
|
38
38
|
currentImg: any;
|
|
39
39
|
changeImg(url: any): void;
|
|
40
|
+
goToCart(): void;
|
|
40
41
|
addToCart(type?: 'ADD' | 'SUBSTRACT'): void;
|
|
41
42
|
goToFilter(category: string): void;
|
|
42
43
|
addToFavourite(): void;
|
|
43
44
|
removeToFavourite(): void;
|
|
44
45
|
get getFeatureProductData(): FeaturedProductModal;
|
|
45
46
|
getProductByCategory(): void;
|
|
47
|
+
get currency(): string;
|
|
46
48
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductDescComponent, never>;
|
|
47
49
|
static ɵcmp: i0.ɵɵComponentDeclaration<ProductDescComponent, "simpo-product-desc", 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>;
|
|
48
50
|
}
|
|
@@ -68,6 +68,7 @@ export declare class ProductListComponent extends BaseSection {
|
|
|
68
68
|
openSorting(SortingSection: any): void;
|
|
69
69
|
closeDialog(): void;
|
|
70
70
|
get getTotalPage(): number;
|
|
71
|
+
get currency(): string;
|
|
71
72
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductListComponent, never>;
|
|
72
73
|
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; }; }, {}, never, never, true, never>;
|
|
73
74
|
}
|
|
@@ -43,6 +43,7 @@ export declare class UserProfileComponent extends BaseSection implements OnInit
|
|
|
43
43
|
goToHome(): void;
|
|
44
44
|
editAddress(index: number): void;
|
|
45
45
|
deleteAddress(index: number): void;
|
|
46
|
+
logout(): void;
|
|
46
47
|
private saveProfile;
|
|
47
48
|
selectTab(tab: Tabs): void;
|
|
48
49
|
toggleSidepanelTab(tab: Tabs): void;
|
|
@@ -3,6 +3,7 @@ import { CartService } from '../../../services/cart.service';
|
|
|
3
3
|
import { EventsService } from '../../../services/events.service';
|
|
4
4
|
import { StorageServiceService } from '../../../services/storage.service';
|
|
5
5
|
import { RestService } from '../../../services/rest.service';
|
|
6
|
+
import { OrderedItems } from '../../styles/OrderedItems.modal';
|
|
6
7
|
import BaseSection from '../../../sections/BaseSection';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
export declare class WhislistComponent extends BaseSection implements OnInit {
|
|
@@ -22,9 +23,11 @@ export declare class WhislistComponent extends BaseSection implements OnInit {
|
|
|
22
23
|
private USER_WISHLIST_ITEMS;
|
|
23
24
|
wishlistInfo: any;
|
|
24
25
|
ngOnInit(): void;
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
moveToFavourite(product: OrderedItems): void;
|
|
27
|
+
getWishlistIndexDBData(): void;
|
|
28
|
+
deleteFromWhislist(product: OrderedItems): void;
|
|
27
29
|
addToFav(item: any, type: 'ADD' | 'SUBSTRACT'): void;
|
|
30
|
+
get currency(): string;
|
|
28
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<WhislistComponent, never>;
|
|
29
32
|
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>;
|
|
30
33
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FormateAmount implements PipeTransform {
|
|
4
|
+
transform(value: string | number, system?: "IND" | "INT"): string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormateAmount, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<FormateAmount, "formateAmount", true>;
|
|
7
|
+
}
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|