simpo-component-library 3.8.25 → 3.8.27

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.
@@ -16,13 +16,13 @@ export declare class PassbookRedemptionComponent implements OnInit {
16
16
  private readonly restService;
17
17
  private readonly storageService;
18
18
  private readonly router;
19
- step: 'list' | 'otp';
20
19
  loading: boolean;
21
20
  schemes: any[];
22
21
  selectedScheme: any;
23
22
  quote: any;
24
- otp: string;
23
+ otpDigits: string[];
25
24
  error: string;
25
+ get otp(): string;
26
26
  constructor(dialogRef: MatDialogRef<PassbookRedemptionComponent>, data: {
27
27
  businessId: string;
28
28
  userId: string;
@@ -31,16 +31,21 @@ export declare class PassbookRedemptionComponent implements OnInit {
31
31
  scheme?: any;
32
32
  }, restService: RestService, storageService: StorageServiceService, router: Router);
33
33
  get isLoggedIn(): boolean;
34
+ get showEmptyOrLoginState(): boolean;
34
35
  ngOnInit(): void;
35
36
  loadEligibleSchemes(): void;
36
37
  selectScheme(scheme: any): void;
37
38
  goToAllSchemes(): void;
38
39
  goToLogin(): void;
39
40
  get appliedAmount(): number;
41
+ get amountToPay(): number;
42
+ get maskedMobile(): string;
40
43
  useScheme(): void;
41
44
  sendOtp(): void;
42
- goBackToList(): void;
43
45
  close(): void;
46
+ resendOtp(): void;
47
+ onOtpInput(index: number, event: Event): void;
48
+ onOtpKeyDown(index: number, event: KeyboardEvent): void;
44
49
  confirm(): void;
45
50
  static ɵfac: i0.ɵɵFactoryDeclaration<PassbookRedemptionComponent, [null, null, null, null, { optional: true; }]>;
46
51
  static ɵcmp: i0.ɵɵComponentDeclaration<PassbookRedemptionComponent, "simpo-passbook-redemption", never, {}, {}, never, never, true, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "3.8.25",
3
+ "version": "3.8.27",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
@@ -228,6 +228,16 @@
228
228
  }
229
229
  }
230
230
 
231
+ .otp-verify-dialog-class {
232
+ width: 440px !important;
233
+ max-width: 92vw !important;
234
+ border-radius: 16px !important;
235
+
236
+ .mat-mdc-dialog-surface {
237
+ border-radius: 16px !important;
238
+ }
239
+ }
240
+
231
241
  .logout-dialog-backdrop {
232
242
  backdrop-filter: blur(10px) !important;
233
243
  -webkit-backdrop-filter: blur(10px) !important;
Binary file