simpo-component-library 3.6.260 → 3.6.262

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.
@@ -6,12 +6,14 @@ import { EventsService } from '.././../../services/events.service';
6
6
  import { RestService } from '../../../services/rest.service';
7
7
  import { StorageServiceService } from '../../../services/storage.service';
8
8
  import { MatDialog } from '@angular/material/dialog';
9
+ import { Router } from '@angular/router';
9
10
  import * as i0 from "@angular/core";
10
11
  export declare class ReturnsCalculatorComponent extends BaseSection {
11
12
  private readonly _eventService;
12
13
  private restService;
13
14
  private matDialog;
14
15
  private storageService;
16
+ private readonly router;
15
17
  showChargesTemplate: TemplateRef<HTMLDivElement>;
16
18
  data?: ReturnsCalculatorModel;
17
19
  edit?: boolean;
@@ -23,12 +25,12 @@ export declare class ReturnsCalculatorComponent extends BaseSection {
23
25
  monthlyAmount: number;
24
26
  maxAmount: number;
25
27
  minAmount: number;
26
- constructor(_eventService: EventsService, restService: RestService, matDialog: MatDialog, storageService: StorageServiceService);
28
+ constructor(_eventService: EventsService, restService: RestService, matDialog: MatDialog, storageService: StorageServiceService, router: Router);
27
29
  ngOnInit(): void;
28
30
  maturityCount: number;
29
31
  enrolledScheme: any;
30
32
  selectedStore: any;
31
- selectedStaff: string;
33
+ selectedStaff: any;
32
34
  stores: any[];
33
35
  staffMembers: any[];
34
36
  onSchemeChange(scheme: any): void;
@@ -51,6 +51,8 @@ export declare class HeaderSectionComponent implements OnInit {
51
51
  differ: any;
52
52
  ngOnInit(): void;
53
53
  ngAfterViewInit(): void;
54
+ passbookAppStatus: boolean;
55
+ checkPassbookApp(): void;
54
56
  showSearchBarMobile: boolean;
55
57
  isNavbarOpen: boolean;
56
58
  screenWidth: number;
@@ -4,17 +4,19 @@ import { Observable } from "rxjs";
4
4
  import { Review } from "../ecommerce/styles/review.modal";
5
5
  import { DeviceInfo } from "../ecommerce/styles/user.modal";
6
6
  import { checkItemAlreadyAdded, syncItemToServerDBRequest } from "../ecommerce/styles/product.modal";
7
+ import { StorageServiceService } from "./storage.service";
7
8
  import * as i0 from "@angular/core";
8
9
  export declare class RestService implements OnDestroy {
9
10
  private readonly http;
10
11
  private BASE_URL;
11
12
  private ECOMMERCE_URL;
12
13
  private CMIS_URL;
14
+ private storageService;
13
15
  private environmentTypeSubscriber;
14
16
  businessDetails: any;
15
17
  subIndustryName: any;
16
18
  isJewellery: boolean;
17
- constructor(http: HttpClient, BASE_URL: string, ECOMMERCE_URL: string, CMIS_URL: string);
19
+ constructor(http: HttpClient, BASE_URL: string, ECOMMERCE_URL: string, CMIS_URL: string, storageService: StorageServiceService);
18
20
  orraBaseUrl: string;
19
21
  passBookUrl: string;
20
22
  getBusinessDetails(): void;
@@ -106,7 +108,7 @@ export declare class RestService implements OnDestroy {
106
108
  redeemScheme(scheme: string, cartId: any, action: boolean): Observable<Object>;
107
109
  getReviewsByProductId(productId: string, pageNumber: number): Observable<Object>;
108
110
  getFieldsToDisplay(fieldsList: any[]): any;
109
- generateToken(bId: any, userId: any, storeId?: any, userType?: any): Observable<Object>;
111
+ generateToken(bId: any): Observable<Object>;
110
112
  getAllEnrolledSchemes(payload: any): Observable<Object>;
111
113
  enrollScheme(payload: any, checkCharges: boolean): Observable<Object>;
112
114
  getBenefitSlab(passbookId?: any): Observable<Object>;
@@ -26,6 +26,7 @@ export declare class StorageServiceService {
26
26
  trialCartCollectionRef: IDBObjectStore | null;
27
27
  createDataBase(): Promise<void>;
28
28
  setToken(token: any): void;
29
+ getToken(): void;
29
30
  updateAllData(): void;
30
31
  mergeAllItems(unSyncedItem: any[], syncedItem: any[]): any[];
31
32
  getUserCart(): Promise<IDBRequest<OrderedItems[]>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "3.6.260",
3
+ "version": "3.6.262",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file