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.
- package/esm2022/lib/ecommerce/sections/authentication-required/authentication-required.component.mjs +10 -1
- package/esm2022/lib/ecommerce/sections/returns-calculator/returns-calculator.component.mjs +41 -33
- package/esm2022/lib/ecommerce/sections/scheme-details/scheme-details.component.mjs +2 -2
- package/esm2022/lib/sections/header-section/header-section.component.mjs +12 -3
- package/esm2022/lib/services/rest.service.mjs +11 -9
- package/esm2022/lib/services/storage.service.mjs +6 -2
- package/fesm2022/simpo-component-library.mjs +440 -410
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/ecommerce/sections/returns-calculator/returns-calculator.component.d.ts +4 -2
- package/lib/sections/header-section/header-section.component.d.ts +2 -0
- package/lib/services/rest.service.d.ts +4 -2
- package/lib/services/storage.service.d.ts +1 -0
- package/package.json +1 -1
- package/simpo-component-library-3.6.262.tgz +0 -0
- package/simpo-component-library-3.6.260.tgz +0 -0
@@ -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:
|
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
|
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
Binary file
|
Binary file
|