simpo-component-library 3.6.713 → 3.6.714

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.
@@ -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;
@@ -124,6 +139,19 @@ export declare class CartComponent extends BaseSection implements OnInit, OnDest
124
139
  getGradientDirection(direction: string | undefined): string;
125
140
  increaseQty(item: any): void;
126
141
  decreaseQty(item: any): void;
142
+ referEarnExist: boolean;
143
+ isPointsRedeeming: boolean;
144
+ redemptionPoints: any;
145
+ checkAppInstalled(): void;
146
+ totalSavingAmt: number;
147
+ totalSavingPoints: number;
148
+ pointsConverted: number;
149
+ usedPoints: any;
150
+ getRedeemPoints(): void;
151
+ onPointsRedeemingChange(event: Event): void;
152
+ get getRemainingPoints(): number;
153
+ get getRemainingRupees(): any;
154
+ paymentWithCompletePoints(): void;
127
155
  static ɵfac: i0.ɵɵFactoryDeclaration<CartComponent, [null, null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
128
156
  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>;
129
157
  }
@@ -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
  }
@@ -52,6 +52,7 @@ 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;
55
56
  checkPassbookApp(): void;
56
57
  closeDialog(): void;
57
58
  storeCharges: any;
@@ -130,6 +130,8 @@ 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>;
133
135
  getAllPassbookDues(bId: any, userId: any): Observable<Object>;
134
136
  getToken(): string;
135
137
  getAllTransactions(payload: any): Observable<Object>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "3.6.713",
3
+ "version": "3.6.714",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file