simpo-component-library 3.6.302 → 3.6.303

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.
@@ -48,6 +48,7 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
48
48
  proceedToCheckout: boolean;
49
49
  proceedToEnrollment: boolean;
50
50
  tryAtHome: boolean;
51
+ navigateToSchemeDetails: boolean;
51
52
  ngOnInit(): void;
52
53
  ngAfterViewInit(): void;
53
54
  loginType: "PASSWORD" | "OTP";
@@ -112,7 +112,7 @@ export declare class ProductDescComponent extends BaseSection {
112
112
  getTextColor(color: any): "#000000" | "#ffffff";
113
113
  languages: string[];
114
114
  selectedLang: string;
115
- getClass(map: any): "col-6" | "col-4" | "col-3" | "width-max";
115
+ getClass(map: any): "col-4" | "col-6" | "col-3" | "width-max";
116
116
  onFindInStore(id: string): void;
117
117
  onBookAppointment(): void;
118
118
  isDetails: boolean;
@@ -5,7 +5,7 @@ import { LayOutModel } from '../../../styles/style.model';
5
5
  import { EventsService } from '.././../../services/events.service';
6
6
  import { RestService } from '../../../services/rest.service';
7
7
  import { StorageServiceService } from '../../../services/storage.service';
8
- import { MatDialog } from '@angular/material/dialog';
8
+ import { MatDialog, MatDialogRef } from '@angular/material/dialog';
9
9
  import { Router } from '@angular/router';
10
10
  import * as i0 from "@angular/core";
11
11
  export declare class ReturnsCalculatorComponent extends BaseSection {
@@ -15,6 +15,7 @@ export declare class ReturnsCalculatorComponent extends BaseSection {
15
15
  private storageService;
16
16
  private readonly router;
17
17
  showChargesTemplate: TemplateRef<HTMLDivElement>;
18
+ dialogRef: MatDialogRef<any>;
18
19
  data?: ReturnsCalculatorModel;
19
20
  edit?: boolean;
20
21
  customClass?: string;
@@ -48,7 +49,7 @@ export declare class ReturnsCalculatorComponent extends BaseSection {
48
49
  getButtonStyle(index: number): import("../../../styles/style.model").ButtonStyleModel | undefined;
49
50
  getButtonData(index: number): import("../../../styles/style.model").Button | undefined;
50
51
  redirectTo(scheme: any): void;
51
- closeDialog(): void;
52
+ closeDialog(action: 'SUCCESS' | 'FAIL'): void;
52
53
  storeCharges: any;
53
54
  enrollButtonLoader: boolean;
54
55
  enrollScheme(scheme: any): void;
@@ -3,21 +3,24 @@ import { StorageServiceService } from '.././../../services/storage.service';
3
3
  import { RestService } from '.././../../services/rest.service';
4
4
  import { MatDialog } from '@angular/material/dialog';
5
5
  import { EventsService } from '.././../../services/events.service';
6
+ import { Router } from '@angular/router';
6
7
  import * as i0 from "@angular/core";
7
8
  export declare class SchemeDetailsComponent implements OnInit {
8
9
  private storageService;
9
10
  private restService;
10
11
  private matDialog;
11
12
  private readonly _eventService;
13
+ private readonly router;
12
14
  schemeDetails: any;
13
15
  data: any;
14
16
  gotoSchemeOverview: EventEmitter<void>;
15
17
  showChargesTemplate: TemplateRef<HTMLDivElement>;
16
18
  slabListTemplate: TemplateRef<HTMLDivElement>;
17
- constructor(storageService: StorageServiceService, restService: RestService, matDialog: MatDialog, _eventService: EventsService);
19
+ constructor(storageService: StorageServiceService, restService: RestService, matDialog: MatDialog, _eventService: EventsService, router: Router);
18
20
  ngOnInit(): void;
19
21
  styles: any;
20
22
  screenWidth: any;
23
+ redeemRequestLoader: boolean;
21
24
  getScreenSize(event?: any): void;
22
25
  paymentData: any[];
23
26
  getPaymentScheme(): void;
@@ -29,6 +32,7 @@ export declare class SchemeDetailsComponent implements OnInit {
29
32
  openCashfreeSdk(sessionId: string): void;
30
33
  showBenefitSlab(): void;
31
34
  getAllSchemes(): void;
35
+ confirmBtnLoader: boolean;
32
36
  confirmRequest(): void;
33
37
  slabDetails: any[];
34
38
  getvalidSlabList(): void;
@@ -21,7 +21,7 @@ export declare class SchemesComponent extends BaseSection {
21
21
  get stylesLayout(): LayOutModel;
22
22
  get spacingLayout(): SpacingModel;
23
23
  getParentClass(): "" | "overflow-scroll flex-nowrap";
24
- getClass(index: number): "col-12" | "col-6 mb-2" | "col-12 mb-2" | "col-6";
24
+ getClass(index: number): "col-12" | "col-6" | "col-6 mb-2" | "col-12 mb-2";
25
25
  showSchemeDetails(scheme: any): void;
26
26
  static ɵfac: i0.ɵɵFactoryDeclaration<SchemesComponent, never>;
27
27
  static ɵcmp: i0.ɵɵComponentDeclaration<SchemesComponent, "simpo-schemes", 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>;
@@ -15,7 +15,7 @@ export declare class PricingS1Component extends BaseSection {
15
15
  editSection(): void;
16
16
  getButtonId(): string;
17
17
  redirectTo(): void;
18
- getClass(): "col-12" | "col-4" | "col-5" | "col-3";
18
+ getClass(): "col-4" | "col-12" | "col-5" | "col-3";
19
19
  static ɵfac: i0.ɵɵFactoryDeclaration<PricingS1Component, never>;
20
20
  static ɵcmp: i0.ɵɵComponentDeclaration<PricingS1Component, "simpo-pricing-s1", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; }, {}, never, never, true, never>;
21
21
  }
@@ -23,7 +23,7 @@ export declare class PricingSectionComponent extends BaseSection {
23
23
  getButtonId(): string;
24
24
  editSection(): void;
25
25
  redirectTo(): void;
26
- getClass(): "col-12" | "col-6" | "col-4" | "col-3";
26
+ getClass(): "col-4" | "col-12" | "col-6" | "col-3";
27
27
  static ɵfac: i0.ɵɵFactoryDeclaration<PricingSectionComponent, never>;
28
28
  static ɵcmp: i0.ɵɵComponentDeclaration<PricingSectionComponent, "simpo-pricing-section", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
29
29
  }
@@ -4,7 +4,7 @@ import { LayOutModel } from '../../styles/style.model';
4
4
  import { ActivatedRoute, Router } from '@angular/router';
5
5
  import { RestService } from '../../services/rest.service';
6
6
  import { StorageServiceService } from '../../services/storage.service';
7
- import { MatDialog } from '@angular/material/dialog';
7
+ import { MatDialog, MatDialogRef } from '@angular/material/dialog';
8
8
  import { EventsService } from '../../services/events.service';
9
9
  import * as i0 from "@angular/core";
10
10
  export declare class SchemeDetailComponent {
@@ -18,6 +18,7 @@ export declare class SchemeDetailComponent {
18
18
  index?: number;
19
19
  edit?: boolean;
20
20
  showChargesTemplate: TemplateRef<HTMLDivElement>;
21
+ dialogRef: MatDialogRef<any>;
21
22
  constructor(activeRoute: ActivatedRoute, restService: RestService, storageService: StorageServiceService, matDialog: MatDialog, router: Router, _eventService: EventsService);
22
23
  ngOnInit(): void;
23
24
  getKeys(obj: any): string[];
@@ -48,7 +49,7 @@ export declare class SchemeDetailComponent {
48
49
  faqList: any[];
49
50
  getSchemeDetails(schemeId: any): void;
50
51
  enrollScheme(scheme: any): void;
51
- closeDialog(): void;
52
+ closeDialog(action: 'SUCCESS' | 'FAIL'): void;
52
53
  storeCharges: any;
53
54
  continuePayment(payload: any): void;
54
55
  openCashfreeSdk(sessionId: string): void;
@@ -108,7 +108,7 @@ export declare class RestService implements OnDestroy {
108
108
  redeemScheme(scheme: string, cartId: any, action: boolean): Observable<Object>;
109
109
  getReviewsByProductId(productId: string, pageNumber: number): Observable<Object>;
110
110
  getFieldsToDisplay(fieldsList: any[]): any;
111
- generateToken(bId: any): Observable<Object>;
111
+ generateToken(bId: any, userId: any): Observable<Object>;
112
112
  getAllEnrolledSchemes(payload: any): Observable<Object>;
113
113
  enrollScheme(payload: any, checkCharges: boolean): Observable<Object>;
114
114
  getBenefitSlab(passbookId?: any): Observable<Object>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "3.6.302",
3
+ "version": "3.6.303",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file