simpo-component-library 3.6.701 → 3.6.704
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/cart/cart.component.mjs +133 -26
- package/esm2022/lib/ecommerce/sections/order-details/order-details.component.mjs +21 -6
- package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/refer-earn/refer-earn.component.mjs +13 -4
- package/esm2022/lib/sections/banner-carousel/banner-carousel.component.mjs +19 -3
- package/esm2022/lib/sections/footer/footer.component.mjs +19 -5
- package/esm2022/lib/sections/footer/footer.modal.mjs +1 -1
- package/esm2022/lib/sections/service-section/service-section.component.mjs +3 -3
- package/esm2022/lib/services/rest.service.mjs +7 -3
- package/fesm2022/simpo-component-library.mjs +203 -39
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/components/input-fields/input-fields.component.d.ts +1 -1
- package/lib/ecommerce/sections/cart/cart.component.d.ts +16 -0
- package/lib/ecommerce/sections/featured-category/featured-category.component.d.ts +1 -1
- package/lib/ecommerce/sections/featured-category/featured-collection.component.d.ts +1 -1
- package/lib/ecommerce/sections/new-collection/new-collection.component.d.ts +1 -1
- package/lib/ecommerce/sections/refer-earn/refer-earn.component.d.ts +6 -2
- package/lib/sections/banner-carousel/banner-carousel.component.d.ts +3 -1
- package/lib/sections/footer/footer.component.d.ts +4 -1
- package/lib/sections/footer/footer.modal.d.ts +5 -0
- package/lib/sections/image-grid-hotspot/image-grid-hotspot.component.d.ts +1 -1
- package/lib/sections/image-grid-section/image-grid-section.component.d.ts +1 -1
- package/lib/services/rest.service.d.ts +2 -1
- package/package.json +1 -1
- package/simpo-component-library-3.6.704.tgz +0 -0
- package/simpo-component-library-3.6.701.tgz +0 -0
|
@@ -13,7 +13,7 @@ export declare class InputFieldsComponent implements OnChanges {
|
|
|
13
13
|
constructor(elementRef: ElementRef);
|
|
14
14
|
ngOnChanges(changes: SimpleChanges): void;
|
|
15
15
|
handleMoneyInput(event: any): void;
|
|
16
|
-
get getTextColor(): "#
|
|
16
|
+
get getTextColor(): "#000" | "#FFF";
|
|
17
17
|
interpolateColor(color1: string, color2: string, factor: number): string;
|
|
18
18
|
padZero(str: string, length: number): string;
|
|
19
19
|
generateColorBasedOnNumber(number: number): string;
|
|
@@ -88,6 +88,7 @@ export declare class CartComponent extends BaseSection implements OnInit, OnDest
|
|
|
88
88
|
private moveItemToWishlist;
|
|
89
89
|
private removeItemFromCart;
|
|
90
90
|
addToCart(item: OrderedItems, quantity: number): void;
|
|
91
|
+
cartId: any;
|
|
91
92
|
proceedToPayment(): Promise<void>;
|
|
92
93
|
addressSelected(index: number): void;
|
|
93
94
|
isItemOutOfStock(product: OrderedItems): boolean;
|
|
@@ -96,6 +97,20 @@ export declare class CartComponent extends BaseSection implements OnInit, OnDest
|
|
|
96
97
|
closeWindow(): void;
|
|
97
98
|
couponDialogRef: MatDialogRef<unknown> | null;
|
|
98
99
|
openDialog(container: any): void;
|
|
100
|
+
listRedemptionCoupons: any;
|
|
101
|
+
appliedVoucher: any;
|
|
102
|
+
redemptionType: "COUPONS" | "VOUCHERS";
|
|
103
|
+
redemptionCouponType: "REWARDS" | "DISCOUNTS";
|
|
104
|
+
selectedVoucherId: any;
|
|
105
|
+
selectedVoucherAmount: any;
|
|
106
|
+
selectedVoucherCode: any;
|
|
107
|
+
listRedemptionVouchers: any;
|
|
108
|
+
selectedVoucherPercentage: any;
|
|
109
|
+
percentageReduced: any;
|
|
110
|
+
couponValueType: string;
|
|
111
|
+
addRedemptionCoupon(container: any): void;
|
|
112
|
+
applyRedemptionCoupon(voucher: any): void;
|
|
113
|
+
removeRedemptionCoupon(event?: Event): void;
|
|
99
114
|
searchIfApplicable(): void;
|
|
100
115
|
closeDialogRef(): void;
|
|
101
116
|
applyCoupon(coupon: Coupon): void;
|
|
@@ -133,6 +148,7 @@ export declare class CartComponent extends BaseSection implements OnInit, OnDest
|
|
|
133
148
|
pointsConverted: number;
|
|
134
149
|
usedPoints: any;
|
|
135
150
|
getRedeemPoints(): void;
|
|
151
|
+
onPointsRedeemingChange(event: Event): void;
|
|
136
152
|
get getRemainingPoints(): number;
|
|
137
153
|
get getRemainingRupees(): any;
|
|
138
154
|
paymentWithCompletePoints(): void;
|
|
@@ -36,7 +36,7 @@ export declare class FeaturedCategoryComponent extends BaseSection {
|
|
|
36
36
|
get getDirection(): "ROW" | "COLUMN" | undefined;
|
|
37
37
|
get stylesLayout(): LayOutModel;
|
|
38
38
|
get isMobile(): boolean;
|
|
39
|
-
getJustifyContent():
|
|
39
|
+
getJustifyContent(): import("simpo-component-library").ALIGN | "" | "flex-start";
|
|
40
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<FeaturedCategoryComponent, never>;
|
|
41
41
|
static ɵcmp: i0.ɵɵComponentDeclaration<FeaturedCategoryComponent, "simpo-featured-category", 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; }; "customClass": { "alias": "customClass"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
|
|
42
42
|
}
|
|
@@ -32,7 +32,7 @@ export declare class FeaturedCollectionComponent extends BaseSection {
|
|
|
32
32
|
get getDirection(): "ROW" | "COLUMN" | undefined;
|
|
33
33
|
get isMobile(): boolean;
|
|
34
34
|
editSection(): void;
|
|
35
|
-
getJustifyContent():
|
|
35
|
+
getJustifyContent(): import("simpo-component-library").ALIGN | "" | "flex-start";
|
|
36
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<FeaturedCollectionComponent, never>;
|
|
37
37
|
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; }; "customClass": { "alias": "customClass"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
|
|
38
38
|
}
|
|
@@ -33,7 +33,7 @@ export declare class NewCollectionComponent extends BaseSection {
|
|
|
33
33
|
get isMobile(): boolean;
|
|
34
34
|
editSection(): void;
|
|
35
35
|
getColor(color: any): "#000000" | "#ffffff";
|
|
36
|
-
getJustifyContent():
|
|
36
|
+
getJustifyContent(): import("simpo-component-library").ALIGN | "" | "flex-start";
|
|
37
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<NewCollectionComponent, never>;
|
|
38
38
|
static ɵcmp: i0.ɵɵComponentDeclaration<NewCollectionComponent, "simpo-new-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; }; "customClass": { "alias": "customClass"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
|
|
39
39
|
}
|
|
@@ -3,11 +3,15 @@ import { LayOutModel } from '../../../styles/style.model';
|
|
|
3
3
|
import { ProductDescStylesModal } from './refer-earn.modal';
|
|
4
4
|
import { StorageServiceService } from '../../../services/storage.service';
|
|
5
5
|
import { Router } from '@angular/router';
|
|
6
|
+
import BaseSection from '../../../sections/BaseSection';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class ReferEarnComponent implements OnInit {
|
|
8
|
+
export declare class ReferEarnComponent extends BaseSection implements OnInit {
|
|
8
9
|
private readonly storageService;
|
|
9
10
|
private readonly router;
|
|
10
11
|
data?: any;
|
|
12
|
+
edit?: boolean;
|
|
13
|
+
delete?: boolean;
|
|
14
|
+
index?: number;
|
|
11
15
|
styles?: ProductDescStylesModal;
|
|
12
16
|
userDetail: any;
|
|
13
17
|
constructor(storageService: StorageServiceService, router: Router);
|
|
@@ -21,5 +25,5 @@ export declare class ReferEarnComponent implements OnInit {
|
|
|
21
25
|
get getName(): any;
|
|
22
26
|
get getWebUrl(): string;
|
|
23
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<ReferEarnComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ReferEarnComponent, "simpo-refer-earn", never, { "data": { "alias": "data"; "required": false; }; }, {}, never, never, true, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ReferEarnComponent, "simpo-refer-earn", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
|
|
25
29
|
}
|
|
@@ -25,10 +25,12 @@ export declare class BannerCarouselComponent extends BaseSection implements OnIn
|
|
|
25
25
|
get stylesLayout(): LayOutModel;
|
|
26
26
|
get getBlurValue(): "NONE" | "LIGHT" | "MODERATE" | "STRONG" | "VERY_STRONG" | undefined;
|
|
27
27
|
get getBackgroundColor(): BackgroundModel;
|
|
28
|
-
get getBackgroundOpacity(): "
|
|
28
|
+
get getBackgroundOpacity(): "1" | "0" | "0.7" | "0.5" | "0.6" | "0.8";
|
|
29
29
|
opacityValue(value: OverlayValue): "1" | "0.7" | "0.5" | "0.6" | "0.8";
|
|
30
30
|
editSection(): void;
|
|
31
31
|
getScreenSize(): number;
|
|
32
|
+
getSectionMinHeight(): string;
|
|
33
|
+
getImagePosition(image: any): string;
|
|
32
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<BannerCarouselComponent, never>;
|
|
33
35
|
static ɵcmp: i0.ɵɵComponentDeclaration<BannerCarouselComponent, "simpo-banner-carousel", never, { "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>;
|
|
34
36
|
}
|
|
@@ -35,7 +35,10 @@ export declare class FooterComponent extends BaseSection {
|
|
|
35
35
|
redirectToPage(pageData: any): void;
|
|
36
36
|
createNewLink(folderIndex: number): void;
|
|
37
37
|
createNewFolder(): void;
|
|
38
|
-
|
|
38
|
+
navigateToHome(): void;
|
|
39
|
+
popularSearchedCategories: any[];
|
|
40
|
+
getPopularSearches(): void;
|
|
41
|
+
redirectToCollection(collectionName: string, categoryName: string): void;
|
|
39
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<FooterComponent, never>;
|
|
40
43
|
static ɵcmp: i0.ɵɵComponentDeclaration<FooterComponent, "simpo-footer", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; }, {}, never, never, true, never>;
|
|
41
44
|
}
|
|
@@ -28,6 +28,11 @@ export interface FooterContentModel {
|
|
|
28
28
|
socialLinks: FooterSocialLinkModel;
|
|
29
29
|
displayBranding: boolean;
|
|
30
30
|
folder: FolderModel[];
|
|
31
|
+
popularSearches: boolean;
|
|
32
|
+
textDescription: {
|
|
33
|
+
display: boolean;
|
|
34
|
+
content: string;
|
|
35
|
+
};
|
|
31
36
|
}
|
|
32
37
|
export interface FooterLogoModel {
|
|
33
38
|
isImage: boolean;
|
|
@@ -23,7 +23,7 @@ export declare class ImageGridHotspotComponent extends BaseSection {
|
|
|
23
23
|
get headingSpace(): SPACING;
|
|
24
24
|
editSection(): void;
|
|
25
25
|
getLength(): number;
|
|
26
|
-
getJustifyContent():
|
|
26
|
+
getJustifyContent(): import("simpo-component-library").ALIGN | "" | "flex-start";
|
|
27
27
|
private get scrollStep();
|
|
28
28
|
scrollRight(): void;
|
|
29
29
|
isOverflowing: boolean;
|
|
@@ -23,7 +23,7 @@ export declare class ImageGridSectionComponent extends BaseSection {
|
|
|
23
23
|
get headingSpace(): SPACING;
|
|
24
24
|
editSection(): void;
|
|
25
25
|
getLength(): number;
|
|
26
|
-
getJustifyContent():
|
|
26
|
+
getJustifyContent(): import("simpo-component-library").ALIGN | "" | "flex-start";
|
|
27
27
|
private get scrollStep();
|
|
28
28
|
scrollRight(): void;
|
|
29
29
|
isOverflowing: boolean;
|
|
@@ -130,7 +130,7 @@ export declare class RestService implements OnDestroy {
|
|
|
130
130
|
requestRedeemption(passbookId: any): Observable<Object>;
|
|
131
131
|
PassbookAppStatus(bId: any): Observable<Object>;
|
|
132
132
|
checkAppInstalled(bId: any, appName: string): Observable<Object>;
|
|
133
|
-
getRedeemPoints(bId: any, userId: any, evetType: string, orderValue: any): Observable<Object>;
|
|
133
|
+
getRedeemPoints(bId: any, userId: any, evetType: string, orderValue: any, rewardPoints: boolean): Observable<Object>;
|
|
134
134
|
paymentWithCompletePoints(cartId: any, data: any): Observable<Object>;
|
|
135
135
|
getAllPassbookDues(bId: any, userId: any): Observable<Object>;
|
|
136
136
|
getToken(): string;
|
|
@@ -141,6 +141,7 @@ export declare class RestService implements OnDestroy {
|
|
|
141
141
|
getAppointmentPaymentStatus(orderId: any): Observable<Object>;
|
|
142
142
|
getOtpForLogin(payload: any): Observable<Object>;
|
|
143
143
|
flush(eventsToSend: any): void;
|
|
144
|
+
getPopularSearches(): Observable<Object>;
|
|
144
145
|
static ɵfac: i0.ɵɵFactoryDeclaration<RestService, never>;
|
|
145
146
|
static ɵprov: i0.ɵɵInjectableDeclaration<RestService>;
|
|
146
147
|
}
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|