simpo-component-library 3.6.171 → 3.6.172
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/authentication-required/authentication-required.component.mjs +4 -1
- package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +271 -31
- package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +25 -23
- package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +184 -45
- package/esm2022/lib/ecommerce/sections/scheme-details/scheme-details.component.mjs +12 -4
- package/esm2022/lib/ecommerce/sections/scheme-selection/scheme-selection.component.mjs +37 -0
- package/esm2022/lib/ecommerce/sections/store-list/store-list.component.mjs +11 -5
- package/esm2022/lib/ecommerce/sections/user-profile/user-profile.component.mjs +6 -9
- package/esm2022/lib/sections/header-section/header-section.component.mjs +21 -7
- package/esm2022/lib/services/rest.service.mjs +4 -1
- package/fesm2022/simpo-component-library.mjs +664 -222
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/ecommerce/sections/cart/cart.component.d.ts +5 -0
- package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +2 -2
- package/lib/ecommerce/sections/product-list/product-list.component.d.ts +29 -3
- package/lib/ecommerce/sections/scheme-details/scheme-details.component.d.ts +2 -0
- package/lib/ecommerce/sections/scheme-selection/scheme-selection.component.d.ts +18 -0
- package/lib/sections/header-section/header-section.component.d.ts +7 -1
- package/lib/services/rest.service.d.ts +1 -0
- package/package.json +1 -1
- package/simpo-component-library-3.6.172.tgz +0 -0
- package/simpo-component-library-3.6.171.tgz +0 -0
@@ -57,12 +57,15 @@ export declare class CartComponent extends BaseSection implements OnInit, OnDest
|
|
57
57
|
enteredCouponCode: string;
|
58
58
|
couponList: Coupon[];
|
59
59
|
trialCartItem: OrderedItems[] | null;
|
60
|
+
selectMatureScheme: boolean;
|
60
61
|
cartInfo: any;
|
61
62
|
loadingSubscription?: Subscription;
|
62
63
|
subIndustryName: string;
|
63
64
|
isJewellery: boolean;
|
65
|
+
selectedRedemption: boolean;
|
64
66
|
ngOnInit(): void;
|
65
67
|
ngOnDestroy(): void;
|
68
|
+
onToggleChange(): void;
|
66
69
|
getTrialCart(): void;
|
67
70
|
getTrialCartIndexDBData(): void;
|
68
71
|
updateUserCart(): void;
|
@@ -98,6 +101,8 @@ export declare class CartComponent extends BaseSection implements OnInit, OnDest
|
|
98
101
|
changeAddress(): void;
|
99
102
|
addAddress(): void;
|
100
103
|
scroll(e: WheelEvent): void;
|
104
|
+
selectedRedmpationData: any;
|
105
|
+
selectScheme(): void;
|
101
106
|
scheduleVideoCall(): void;
|
102
107
|
getButtonId(index: number): string;
|
103
108
|
getButtonStyle(index: number): import("../../../styles/style.model").ButtonStyleModel | undefined;
|
@@ -104,8 +104,8 @@ export declare class ProductDescComponent extends BaseSection {
|
|
104
104
|
isPriceBreakup: boolean;
|
105
105
|
togglePriceBreakDown(): void;
|
106
106
|
getDifference(sellingPrice: any, mrp: any): number;
|
107
|
-
getBackgroundColor(type: string):
|
108
|
-
getHeaderColor(type: string):
|
107
|
+
getBackgroundColor(type: string): string;
|
108
|
+
getHeaderColor(type: string): string;
|
109
109
|
getTextColor(color: any): "#000000" | "#ffffff";
|
110
110
|
languages: string[];
|
111
111
|
selectedLang: string;
|
@@ -76,16 +76,43 @@ export declare class ProductListComponent extends BaseSection {
|
|
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
78
|
get stylesLayout(): LayOutModel;
|
79
|
+
isOpen: boolean;
|
80
|
+
toggleDropdown(): void;
|
81
|
+
closeDropdown(): void;
|
82
|
+
priceRanges: {
|
83
|
+
label: string;
|
84
|
+
min: number;
|
85
|
+
max: number;
|
86
|
+
selected: boolean;
|
87
|
+
}[];
|
88
|
+
onPriceRangeChange(): void;
|
89
|
+
applyFilter(category?: any, type?: 'SORT' | 'FILTER'): void;
|
90
|
+
filterItemList(): void;
|
91
|
+
selectOption(filter: any, event: MouseEvent): void;
|
92
|
+
getSelectedName(): string;
|
79
93
|
handleProductListScroll(): void;
|
80
94
|
loadMoreProductsToList(): void;
|
81
95
|
ecomConfigs: any;
|
82
96
|
getEcommerceConfigs(): void;
|
83
97
|
ngOnInit(): void;
|
84
|
-
|
98
|
+
get selectedCategoryCollectionChips(): {
|
99
|
+
id: string;
|
100
|
+
name: string;
|
101
|
+
}[];
|
102
|
+
get selectedPriceRangeChips(): {
|
103
|
+
id: string;
|
104
|
+
name: string;
|
105
|
+
type: string;
|
106
|
+
}[];
|
107
|
+
get allActiveChips(): {
|
108
|
+
id: string;
|
109
|
+
name: string;
|
110
|
+
type: string;
|
111
|
+
}[];
|
85
112
|
getAllCategories(): void;
|
86
113
|
getAllCollections(): void;
|
87
|
-
filterItemList(): void;
|
88
114
|
updateProductCartWishlistProperties(): void;
|
115
|
+
filterByCategoryCollectionParam(qCategories: any, qCollections: any): void;
|
89
116
|
removeFilter(filter: any): void;
|
90
117
|
applyProductWidth(): boolean;
|
91
118
|
getProductWidth(): string;
|
@@ -97,7 +124,6 @@ export declare class ProductListComponent extends BaseSection {
|
|
97
124
|
selectVarient(product: Product, varient: ItemVariant): void;
|
98
125
|
private getVarientQuantity;
|
99
126
|
private isVarientPresentInWishtlist;
|
100
|
-
applyFilter(category?: any, type?: 'SORT' | 'FILTER'): void;
|
101
127
|
navigateFilter(sorting: string): void;
|
102
128
|
openFilter(FilterSection: any): void;
|
103
129
|
openSorting(SortingSection: any): void;
|
@@ -5,6 +5,8 @@ export declare class SchemeDetailsComponent implements OnInit {
|
|
5
5
|
gotoSchemeOverview: EventEmitter<void>;
|
6
6
|
constructor();
|
7
7
|
ngOnInit(): void;
|
8
|
+
paymentData: any[];
|
9
|
+
getPaymentScheme(): void;
|
8
10
|
goBack(): void;
|
9
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<SchemeDetailsComponent, never>;
|
10
12
|
static ɵcmp: i0.ɵɵComponentDeclaration<SchemeDetailsComponent, "simpo-scheme-details", never, { "schemeDetails": { "alias": "schemeDetails"; "required": false; }; }, { "gotoSchemeOverview": "gotoSchemeOverview"; }, never, never, true, never>;
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { OnInit } from '@angular/core';
|
2
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
3
|
+
import { RestService } from '@simpo-ui/services/rest.service';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export declare class SchemeSelectionComponent implements OnInit {
|
6
|
+
dialogRef: MatDialogRef<SchemeSelectionComponent>;
|
7
|
+
private readonly restService;
|
8
|
+
constructor(dialogRef: MatDialogRef<SchemeSelectionComponent>, restService: RestService);
|
9
|
+
ngOnInit(): void;
|
10
|
+
goBack(): void;
|
11
|
+
redemptionData: any;
|
12
|
+
selectedAmount: any;
|
13
|
+
getAllRedemptionSchemes(): void;
|
14
|
+
onRadioChange(): void;
|
15
|
+
applyRedmption(): void;
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SchemeSelectionComponent, never>;
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SchemeSelectionComponent, "simpo-scheme-selection", never, {}, {}, never, never, true, never>;
|
18
|
+
}
|
@@ -37,7 +37,7 @@ export declare class HeaderSectionComponent implements OnInit {
|
|
37
37
|
searchProducts(): void;
|
38
38
|
goToFav(): void;
|
39
39
|
get stylesLayout(): LayOutModel;
|
40
|
-
goToAccount(): void;
|
40
|
+
goToAccount(redirectTo: any): void;
|
41
41
|
get loggedIn(): boolean;
|
42
42
|
get getUserName(): string | undefined;
|
43
43
|
goToWishlist(): void;
|
@@ -87,6 +87,12 @@ export declare class HeaderSectionComponent implements OnInit {
|
|
87
87
|
Object: ObjectConstructor;
|
88
88
|
applyFilterToList(obj: any, type: any): void;
|
89
89
|
filterByCategory(): void;
|
90
|
+
showPincodeInput: boolean;
|
91
|
+
pincode: any;
|
92
|
+
getPincode: string;
|
93
|
+
pinError: boolean;
|
94
|
+
setPincode(): void;
|
95
|
+
showLogin: boolean;
|
90
96
|
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderSectionComponent, never>;
|
91
97
|
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderSectionComponent, "simpo-header-section", never, { "data": { "alias": "data"; "required": false; }; "nextComponent": { "alias": "nextComponent"; "required": false; }; "index": { "alias": "index"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; }, {}, never, never, true, never>;
|
92
98
|
}
|
@@ -22,6 +22,7 @@ export declare class RestService implements OnDestroy {
|
|
22
22
|
getCategoriesByCollectionId(collectionId: string): Observable<any>;
|
23
23
|
getProductBySelectedCategory(categoryId: string): Observable<Object>;
|
24
24
|
getAllSchemes(userCode?: any): any;
|
25
|
+
getAllRedemptionSchemes(): Observable<Object>;
|
25
26
|
getProductDetails(productId?: string | null): Observable<any>;
|
26
27
|
getCollectionByIds(collectionIds: string[]): Observable<any>;
|
27
28
|
getAllCategories(): Observable<any>;
|
package/package.json
CHANGED
Binary file
|
Binary file
|