simpo-component-library 3.6.717 → 3.6.718
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 +13 -213
- package/esm2022/lib/ecommerce/sections/featured-category/featured-collection.component.mjs +7 -2
- package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/order-details/order-details.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +18 -17
- package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/refer-earn/refer-earn.component.mjs +4 -13
- package/esm2022/lib/ecommerce/sections/user-profile/user-profile.component.mjs +3 -10
- package/esm2022/lib/elements/below-image-card/below-image-card.component.mjs +5 -3
- package/esm2022/lib/elements/covering-image-card/covering-image-card.component.mjs +14 -3
- package/esm2022/lib/elements/top-of-image-card/top-of-image-card.component.mjs +13 -3
- package/esm2022/lib/sections/banner-carousel/banner-carousel.component.mjs +37 -13
- package/esm2022/lib/sections/header-section/header-section.component.mjs +2 -2
- package/esm2022/lib/sections/service-section/service-section.component.mjs +3 -3
- package/esm2022/lib/services/rest.service.mjs +1 -8
- package/fesm2022/simpo-component-library.mjs +333 -507
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/ecommerce/sections/cart/cart.component.d.ts +0 -28
- package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +3 -1
- package/lib/ecommerce/sections/refer-earn/refer-earn.component.d.ts +2 -6
- package/lib/ecommerce/sections/user-profile/user-profile.component.d.ts +0 -1
- package/lib/sections/banner-carousel/banner-carousel.component.d.ts +7 -2
- package/lib/services/rest.service.d.ts +0 -2
- package/package.json +1 -1
- package/simpo-component-library-3.6.718.tgz +0 -0
- package/simpo-component-library-3.6.717.tgz +0 -0
|
@@ -88,7 +88,6 @@ 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;
|
|
92
91
|
placeOrderLoader: boolean;
|
|
93
92
|
proceedToPayment(): Promise<void>;
|
|
94
93
|
addressSelected(index: number): void;
|
|
@@ -98,20 +97,6 @@ export declare class CartComponent extends BaseSection implements OnInit, OnDest
|
|
|
98
97
|
closeWindow(): void;
|
|
99
98
|
couponDialogRef: MatDialogRef<unknown> | null;
|
|
100
99
|
openDialog(container: any): void;
|
|
101
|
-
listRedemptionCoupons: any;
|
|
102
|
-
appliedVoucher: any;
|
|
103
|
-
redemptionType: "COUPONS" | "VOUCHERS";
|
|
104
|
-
redemptionCouponType: "REWARDS" | "DISCOUNTS";
|
|
105
|
-
selectedVoucherId: any;
|
|
106
|
-
selectedVoucherAmount: any;
|
|
107
|
-
selectedVoucherCode: any;
|
|
108
|
-
listRedemptionVouchers: any;
|
|
109
|
-
selectedVoucherPercentage: any;
|
|
110
|
-
percentageReduced: any;
|
|
111
|
-
couponValueType: string;
|
|
112
|
-
addRedemptionCoupon(container: any): void;
|
|
113
|
-
applyRedemptionCoupon(voucher: any): void;
|
|
114
|
-
removeRedemptionCoupon(event?: Event): void;
|
|
115
100
|
searchIfApplicable(): void;
|
|
116
101
|
closeDialogRef(): void;
|
|
117
102
|
applyCoupon(coupon: Coupon): void;
|
|
@@ -140,19 +125,6 @@ export declare class CartComponent extends BaseSection implements OnInit, OnDest
|
|
|
140
125
|
getGradientDirection(direction: string | undefined): string;
|
|
141
126
|
increaseQty(item: any): void;
|
|
142
127
|
decreaseQty(item: any): void;
|
|
143
|
-
referEarnExist: boolean;
|
|
144
|
-
isPointsRedeeming: boolean;
|
|
145
|
-
redemptionPoints: any;
|
|
146
|
-
checkAppInstalled(): void;
|
|
147
|
-
totalSavingAmt: number;
|
|
148
|
-
totalSavingPoints: number;
|
|
149
|
-
pointsConverted: number;
|
|
150
|
-
usedPoints: any;
|
|
151
|
-
getRedeemPoints(): void;
|
|
152
|
-
onPointsRedeemingChange(event: Event): void;
|
|
153
|
-
get getRemainingPoints(): number;
|
|
154
|
-
get getRemainingRupees(): any;
|
|
155
|
-
paymentWithCompletePoints(): void;
|
|
156
128
|
static ɵfac: i0.ɵɵFactoryDeclaration<CartComponent, [null, null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
|
|
157
129
|
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; }; "customClass": { "alias": "customClass"; "required": false; }; }, {}, never, never, true, never>;
|
|
158
130
|
}
|
|
@@ -14,6 +14,7 @@ import { Meta, Title } from '@angular/platform-browser';
|
|
|
14
14
|
import { MatDialog } from '@angular/material/dialog';
|
|
15
15
|
import { MatBottomSheet } from '@angular/material/bottom-sheet';
|
|
16
16
|
import { CustomerReviewComponent } from '../../sections/customer-review/customer-review.component';
|
|
17
|
+
import { AnalyticsService } from '../../../services/analytics.service';
|
|
17
18
|
import * as i0 from "@angular/core";
|
|
18
19
|
export declare class ProductDescComponent extends BaseSection {
|
|
19
20
|
private platformId;
|
|
@@ -29,6 +30,7 @@ export declare class ProductDescComponent extends BaseSection {
|
|
|
29
30
|
private readonly bottomSheet;
|
|
30
31
|
private renderer;
|
|
31
32
|
private matDialog;
|
|
33
|
+
private analyticsService;
|
|
32
34
|
reviewComponent: CustomerReviewComponent;
|
|
33
35
|
aboveHeight: ElementRef<HTMLDivElement>;
|
|
34
36
|
container: ElementRef<HTMLDivElement>;
|
|
@@ -52,7 +54,7 @@ export declare class ProductDescComponent extends BaseSection {
|
|
|
52
54
|
showReview: boolean;
|
|
53
55
|
selectedReview: any;
|
|
54
56
|
currentImageIndex: number;
|
|
55
|
-
constructor(platformId: Object, _eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, restService: RestService, cartService: CartService, storageService: StorageServiceService, messageService: MessageService, metaTagService: Meta, titleService: Title, bottomSheet: MatBottomSheet, renderer: Renderer2, matDialog: MatDialog);
|
|
57
|
+
constructor(platformId: Object, _eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, restService: RestService, cartService: CartService, storageService: StorageServiceService, messageService: MessageService, metaTagService: Meta, titleService: Title, bottomSheet: MatBottomSheet, renderer: Renderer2, matDialog: MatDialog, analyticsService: AnalyticsService);
|
|
56
58
|
buttonId?: string;
|
|
57
59
|
button?: ButtonModel;
|
|
58
60
|
styles?: ProductDescStylesModal;
|
|
@@ -3,15 +3,11 @@ 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';
|
|
7
6
|
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class ReferEarnComponent
|
|
7
|
+
export declare class ReferEarnComponent implements OnInit {
|
|
9
8
|
private readonly storageService;
|
|
10
9
|
private readonly router;
|
|
11
10
|
data?: any;
|
|
12
|
-
edit?: boolean;
|
|
13
|
-
delete?: boolean;
|
|
14
|
-
index?: number;
|
|
15
11
|
styles?: ProductDescStylesModal;
|
|
16
12
|
userDetail: any;
|
|
17
13
|
constructor(storageService: StorageServiceService, router: Router);
|
|
@@ -25,5 +21,5 @@ export declare class ReferEarnComponent extends BaseSection implements OnInit {
|
|
|
25
21
|
get getName(): any;
|
|
26
22
|
get getWebUrl(): string;
|
|
27
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<ReferEarnComponent, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ReferEarnComponent, "simpo-refer-earn", never, { "data": { "alias": "data"; "required": false; };
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ReferEarnComponent, "simpo-refer-earn", never, { "data": { "alias": "data"; "required": false; }; }, {}, never, never, true, never>;
|
|
29
25
|
}
|
|
@@ -52,7 +52,6 @@ export declare class UserProfileComponent extends BaseSection implements OnInit
|
|
|
52
52
|
getMyReferralsUrl: SafeResourceUrl;
|
|
53
53
|
getRewardsUrl: SafeResourceUrl;
|
|
54
54
|
ngOnInit(): void;
|
|
55
|
-
getTotalAmtPaid(order: any): any;
|
|
56
55
|
checkPassbookApp(): void;
|
|
57
56
|
closeDialog(): void;
|
|
58
57
|
storeCharges: any;
|
|
@@ -7,6 +7,7 @@ import { OverlayValue } from "../../styles/index";
|
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class BannerCarouselComponent extends BaseSection implements OnInit {
|
|
9
9
|
private _eventService;
|
|
10
|
+
private platformId;
|
|
10
11
|
data?: BannerCarouselModel;
|
|
11
12
|
index?: number;
|
|
12
13
|
edit?: boolean;
|
|
@@ -19,9 +20,13 @@ export declare class BannerCarouselComponent extends BaseSection implements OnIn
|
|
|
19
20
|
styles?: BannerCarouselStylesModel;
|
|
20
21
|
_mainContainer: ElementRef | null;
|
|
21
22
|
currentIndex: number;
|
|
22
|
-
|
|
23
|
-
constructor(_eventService: EventsService);
|
|
23
|
+
private intervalId;
|
|
24
|
+
constructor(_eventService: EventsService, platformId: Object);
|
|
24
25
|
ngOnInit(): void;
|
|
26
|
+
startAutoPlay(): void;
|
|
27
|
+
nextSlide(): void;
|
|
28
|
+
prevSlide(): void;
|
|
29
|
+
selectSlide(index: number): void;
|
|
25
30
|
get stylesLayout(): LayOutModel;
|
|
26
31
|
get getBlurValue(): "NONE" | "LIGHT" | "MODERATE" | "STRONG" | "VERY_STRONG" | undefined;
|
|
27
32
|
get getBackgroundColor(): BackgroundModel;
|
|
@@ -130,8 +130,6 @@ 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, rewardPoints: boolean): Observable<Object>;
|
|
134
|
-
paymentWithCompletePoints(cartId: any, data: any): Observable<Object>;
|
|
135
133
|
getAllPassbookDues(bId: any, userId: any): Observable<Object>;
|
|
136
134
|
getToken(): string;
|
|
137
135
|
getAllTransactions(payload: any): Observable<Object>;
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|