jconsumer-shared 1.2.4 → 1.2.6
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/calendar/time/jaldee-time-service.mjs +203 -0
- package/esm2022/lib/consumer-service.mjs +21 -45
- package/esm2022/lib/order.service.mjs +9 -1
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/jconsumer-shared.mjs +229 -45
- package/fesm2022/jconsumer-shared.mjs.map +1 -1
- package/jconsumer-shared-1.2.6.tgz +0 -0
- package/lib/calendar/time/jaldee-time-service.d.ts +28 -0
- package/lib/consumer-service.d.ts +3 -5
- package/lib/order.service.d.ts +2 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/jconsumer-shared-1.2.4.tgz +0 -0
|
Binary file
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { DateTimeProcessor } from "../date-time/datetime-processor.service";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class JaldeeTimeService {
|
|
4
|
+
private dateTimeProcessor;
|
|
5
|
+
moment: any;
|
|
6
|
+
constructor(dateTimeProcessor: DateTimeProcessor);
|
|
7
|
+
/**
|
|
8
|
+
*
|
|
9
|
+
* @param interval
|
|
10
|
+
* @param startTime
|
|
11
|
+
* @param endTime
|
|
12
|
+
* @returns
|
|
13
|
+
*/
|
|
14
|
+
getTimeSlotsFromQTimings(interval: any, startTime: any, endTime: any): any[];
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @param schedule_arr
|
|
18
|
+
* @returns
|
|
19
|
+
*/
|
|
20
|
+
arrageScheduleforDisplay(schedule_arr: any): any[];
|
|
21
|
+
getminutesOfDay(m: any): number;
|
|
22
|
+
getTimeinMin(time: any): number;
|
|
23
|
+
prepareScheduleforSaving(schedule_arr: any): any[];
|
|
24
|
+
formatTime(hours: any, minutes: any): string;
|
|
25
|
+
AMHourto24Time(time12: any): string;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<JaldeeTimeService, never>;
|
|
27
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<JaldeeTimeService>;
|
|
28
|
+
}
|
|
@@ -10,20 +10,17 @@ export declare class ConsumerService {
|
|
|
10
10
|
updateSPConsumer(post_data: any): import("rxjs").Observable<ArrayBuffer>;
|
|
11
11
|
getFavProvider(): import("rxjs").Observable<ArrayBuffer>;
|
|
12
12
|
removeProviderfromFavourite(accountid: any): import("rxjs").Observable<ArrayBuffer>;
|
|
13
|
-
doDeleteFavProvider(fav: any, cthis?: any): Promise<unknown>;
|
|
14
|
-
deleteFavProvider(id: any): Promise<unknown>;
|
|
15
|
-
addProvidertoFavourite(accountid: any): import("rxjs").Observable<ArrayBuffer>;
|
|
16
13
|
changePasswordProfile(data: any, origin?: any): import("rxjs").Observable<ArrayBuffer>;
|
|
17
14
|
consumertelegramChat(countryCode: any, loginId: any): import("rxjs").Observable<ArrayBuffer>;
|
|
18
15
|
getConsumerRateService(params: any, type: any): import("rxjs").Observable<ArrayBuffer>;
|
|
19
16
|
updateConsumerRateService(params: any, data: any, type: any): import("rxjs").Observable<ArrayBuffer>;
|
|
20
17
|
postConsumerRateService(params: any, data: any, type: any): import("rxjs").Observable<ArrayBuffer>;
|
|
21
18
|
getWaitlist(params: any): import("rxjs").Observable<ArrayBuffer>;
|
|
22
|
-
|
|
19
|
+
getWaitlistToday(filter?: {}): import("rxjs").Observable<ArrayBuffer>;
|
|
20
|
+
getWaitlistFuture(filter?: {}): import("rxjs").Observable<ArrayBuffer>;
|
|
23
21
|
addConsumerWaitlistAttachment(accountid: any, uuid: any, body: any): import("rxjs").Observable<ArrayBuffer>;
|
|
24
22
|
addWaitlistAttachment(accountid: any, uuid: any, body: any): import("rxjs").Observable<ArrayBuffer>;
|
|
25
23
|
getConsumerWaitlistAttachmentsByUuid(uuid: any, accountid: any): import("rxjs").Observable<ArrayBuffer>;
|
|
26
|
-
getWaitlistToday(): import("rxjs").Observable<ArrayBuffer>;
|
|
27
24
|
getAppointmentFuture(params?: any): import("rxjs").Observable<ArrayBuffer>;
|
|
28
25
|
getApptlist(params: any): import("rxjs").Observable<ArrayBuffer>;
|
|
29
26
|
getAppointmentToday(params?: any): import("rxjs").Observable<ArrayBuffer>;
|
|
@@ -115,6 +112,7 @@ export declare class ConsumerService {
|
|
|
115
112
|
getConsumeraddress(): import("rxjs").Observable<ArrayBuffer>;
|
|
116
113
|
getCartdetails(accountid: any, data: any): import("rxjs").Observable<ArrayBuffer>;
|
|
117
114
|
getUserApptTime(prov_arr: any): import("rxjs").Observable<ArrayBuffer>;
|
|
115
|
+
getUserEstimatedWaitingTime(prov_arr: any): import("rxjs").Observable<ArrayBuffer>;
|
|
118
116
|
getOrderSettings(accountid: any): import("rxjs").Observable<ArrayBuffer>;
|
|
119
117
|
addConsumertoProviderNote(message: any, filter: any): import("rxjs").Observable<ArrayBuffer>;
|
|
120
118
|
telegramChat(countryCode: any, phNumber: any): import("rxjs").Observable<ArrayBuffer>;
|
package/lib/order.service.d.ts
CHANGED
|
@@ -22,6 +22,8 @@ export declare class OrderService {
|
|
|
22
22
|
updateConsumeraddress(data: any): import("rxjs").Observable<ArrayBuffer>;
|
|
23
23
|
consumerSoPayment(data: any): import("rxjs").Observable<ArrayBuffer>;
|
|
24
24
|
getItemCategory(accountId: string): import("rxjs").Observable<ArrayBuffer>;
|
|
25
|
+
getItemType(accountId: string): import("rxjs").Observable<ArrayBuffer>;
|
|
26
|
+
getItemGroup(accountId: string): import("rxjs").Observable<ArrayBuffer>;
|
|
25
27
|
applyCoupon(cartUid: string, data: any): import("rxjs").Observable<ArrayBuffer>;
|
|
26
28
|
getSoCoupons(catalogId: string): import("rxjs").Observable<ArrayBuffer>;
|
|
27
29
|
removeCoupon(cartUid: string, data: any): import("rxjs").Observable<ArrayBuffer>;
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -43,6 +43,7 @@ export * from './lib/pipes/short-filename/short-file-name.pipe';
|
|
|
43
43
|
export * from './lib/form-message/form-message-display.service';
|
|
44
44
|
export * from './lib/form-message/form-message-display.module';
|
|
45
45
|
export * from './lib/calendar/date-time/datetime-processor.service';
|
|
46
|
+
export * from './lib/calendar/time/jaldee-time-service';
|
|
46
47
|
export * from './lib/timezone-converter';
|
|
47
48
|
export * from './lib/form-message/form-success-display/form-success-display.component';
|
|
48
49
|
export * from './lib/form-message/field-error-display/field-error-display.component';
|
|
Binary file
|