simpo-component-library 1.6.60 → 1.6.62
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +10 -3
- package/esm2022/lib/ecommerce/styles/PincodeLocation.model.mjs +15 -0
- package/esm2022/lib/ecommerce/styles/PincodeLocationInter.model.mjs +18 -0
- package/esm2022/lib/services/rest.service.mjs +10 -1
- package/fesm2022/simpo-component-library.mjs +32 -2
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/ecommerce/sections/product-list/product-list.component.d.ts +2 -0
- package/lib/ecommerce/styles/PincodeLocation.model.d.ts +15 -0
- package/lib/ecommerce/styles/PincodeLocationInter.model.d.ts +19 -0
- package/lib/services/rest.service.d.ts +3 -0
- package/package.json +1 -1
- package/simpo-component-library-1.6.62.tgz +0 -0
- package/simpo-component-library-1.6.60.tgz +0 -0
@@ -40,6 +40,8 @@ export declare class ProductListComponent extends BaseSection {
|
|
40
40
|
content?: ProductListContentModal;
|
41
41
|
button?: ButtonModel;
|
42
42
|
totalPages: number;
|
43
|
+
scrollingValue: number;
|
44
|
+
onWindowScroll(event: Event): void;
|
43
45
|
constructor(platformId: Object, _eventService: EventsService, restService: RestService, router: Router, activatedRoute: ActivatedRoute, storageService: StorageServiceService, matBottomSheet: MatBottomSheet, matDialog: MatDialog, cartService: CartService, messageService: MessageService);
|
44
46
|
items: MenuItem[] | null;
|
45
47
|
private filterBottomSheetRef;
|
@@ -0,0 +1,15 @@
|
|
1
|
+
export declare class PincodeLocation {
|
2
|
+
name: string | undefined;
|
3
|
+
description: string | undefined;
|
4
|
+
state: string | undefined;
|
5
|
+
country: string | undefined;
|
6
|
+
pincode: string | undefined;
|
7
|
+
block: string | undefined;
|
8
|
+
region: string | undefined;
|
9
|
+
division: string | undefined;
|
10
|
+
district: string | undefined;
|
11
|
+
circle: string | undefined;
|
12
|
+
constructor(json?: {
|
13
|
+
[key: string]: string;
|
14
|
+
});
|
15
|
+
}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
export declare class PinCodeLocationInter {
|
2
|
+
postCode: string | undefined;
|
3
|
+
country: string | undefined;
|
4
|
+
countryAbr: string | undefined;
|
5
|
+
places: Places[] | undefined;
|
6
|
+
constructor(json?: {
|
7
|
+
[key: string]: any;
|
8
|
+
});
|
9
|
+
}
|
10
|
+
export declare class Places {
|
11
|
+
placeName: string | undefined;
|
12
|
+
longitude: string | undefined;
|
13
|
+
latitude: string | undefined;
|
14
|
+
state: string | undefined;
|
15
|
+
stateAbr: string | undefined;
|
16
|
+
constructor(json?: {
|
17
|
+
[key: string]: string;
|
18
|
+
});
|
19
|
+
}
|
@@ -4,6 +4,7 @@ import { Observable } from "rxjs";
|
|
4
4
|
import { EventsService } from "../../public-api";
|
5
5
|
import { Review } from "../ecommerce/styles/review.modal";
|
6
6
|
import { DeviceInfo } from "../ecommerce/styles/user.modal";
|
7
|
+
import { PincodeLocation } from "../ecommerce/styles/PincodeLocation.model";
|
7
8
|
import * as i0 from "@angular/core";
|
8
9
|
export declare class RestService implements OnDestroy {
|
9
10
|
private readonly http;
|
@@ -49,6 +50,8 @@ export declare class RestService implements OnDestroy {
|
|
49
50
|
createPaymentToken(payload: any): Observable<Object>;
|
50
51
|
refundPayment(orderId: string, payload: any): Observable<Object>;
|
51
52
|
checkPaymentStatus(payload: any): Observable<Object>;
|
53
|
+
getLocationByPinCode(pincode: string): Observable<PincodeLocation>;
|
54
|
+
getLocationByPinCodeInternational(pincode: string): Observable<Object>;
|
52
55
|
static ɵfac: i0.ɵɵFactoryDeclaration<RestService, never>;
|
53
56
|
static ɵprov: i0.ɵɵInjectableDeclaration<RestService>;
|
54
57
|
}
|
package/package.json
CHANGED
Binary file
|
Binary file
|