simpo-component-library 3.8.22 → 3.8.23
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 +4 -42
- package/esm2022/lib/ecommerce/sections/passbook-redemption/passbook-redemption.component.mjs +21 -15
- package/fesm2022/simpo-component-library.mjs +19 -52
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/ecommerce/sections/cart/cart.component.d.ts +0 -7
- package/lib/ecommerce/sections/passbook-redemption/passbook-redemption.component.d.ts +6 -4
- package/package.json +1 -1
- package/simpo-component-library-3.8.23.tgz +0 -0
- package/simpo-component-library-3.8.22.tgz +0 -0
|
@@ -190,14 +190,7 @@ export declare class CartComponent extends BaseSection implements OnInit, OnDest
|
|
|
190
190
|
redemptionPoints: any;
|
|
191
191
|
checkAppInstalled(): void;
|
|
192
192
|
passbookAppInstalled: boolean;
|
|
193
|
-
isLoggedInForSchemes: boolean;
|
|
194
|
-
jewellerySchemes: any[];
|
|
195
|
-
jewellerySchemesLoaded: boolean;
|
|
196
|
-
get hasAnyJewellerySchemes(): boolean;
|
|
197
|
-
get jewellerySchemeAvailableAmount(): number;
|
|
198
193
|
checkPassbookAppInstalled(): void;
|
|
199
|
-
loadJewellerySchemesForCart(): void;
|
|
200
|
-
goToLoginForSchemes(): void;
|
|
201
194
|
totalSavingAmt: number;
|
|
202
195
|
totalSavingPoints: number;
|
|
203
196
|
pointsConverted: number;
|
|
@@ -2,6 +2,7 @@ import { OnInit } from '@angular/core';
|
|
|
2
2
|
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
3
|
import { Router } from '@angular/router';
|
|
4
4
|
import { RestService } from '../../../services/rest.service';
|
|
5
|
+
import { StorageServiceService } from '../../../services/storage.service';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class PassbookRedemptionComponent implements OnInit {
|
|
7
8
|
dialogRef: MatDialogRef<PassbookRedemptionComponent>;
|
|
@@ -9,9 +10,9 @@ export declare class PassbookRedemptionComponent implements OnInit {
|
|
|
9
10
|
businessId: string;
|
|
10
11
|
userId: string;
|
|
11
12
|
cartTotal: number;
|
|
12
|
-
preloadedSchemes?: any[];
|
|
13
13
|
};
|
|
14
14
|
private readonly restService;
|
|
15
|
+
private readonly storageService;
|
|
15
16
|
private readonly router;
|
|
16
17
|
step: 'list' | 'otp';
|
|
17
18
|
loading: boolean;
|
|
@@ -24,17 +25,18 @@ export declare class PassbookRedemptionComponent implements OnInit {
|
|
|
24
25
|
businessId: string;
|
|
25
26
|
userId: string;
|
|
26
27
|
cartTotal: number;
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
}, restService: RestService, storageService: StorageServiceService, router: Router);
|
|
29
|
+
get isLoggedIn(): boolean;
|
|
29
30
|
ngOnInit(): void;
|
|
30
31
|
loadEligibleSchemes(): void;
|
|
31
32
|
selectScheme(scheme: any): void;
|
|
32
33
|
goToAllSchemes(): void;
|
|
34
|
+
goToLogin(): void;
|
|
33
35
|
get appliedAmount(): number;
|
|
34
36
|
sendOtp(): void;
|
|
35
37
|
goBackToList(): void;
|
|
36
38
|
close(): void;
|
|
37
39
|
confirm(): void;
|
|
38
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PassbookRedemptionComponent, [null, null, null, { optional: true; }]>;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PassbookRedemptionComponent, [null, null, null, null, { optional: true; }]>;
|
|
39
41
|
static ɵcmp: i0.ɵɵComponentDeclaration<PassbookRedemptionComponent, "simpo-passbook-redemption", never, {}, {}, never, never, true, never>;
|
|
40
42
|
}
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|