jconsumer-shared 0.0.3 → 1.0.0
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/account-service.mjs +156 -7
- package/esm2022/lib/auth-service.mjs +9 -1
- package/esm2022/lib/booking-service.mjs +480 -0
- package/esm2022/lib/common.service.mjs +155 -5
- package/esm2022/lib/confirm/confirm-box.component.mjs +159 -0
- package/esm2022/lib/confirm/confirm-box.module.mjs +62 -0
- package/esm2022/lib/consumer-service.mjs +780 -0
- package/esm2022/lib/currency-service.mjs +12 -0
- package/esm2022/lib/environment.service.mjs +23 -0
- package/esm2022/lib/error-message.module.mjs +23 -0
- package/esm2022/lib/file-service.mjs +23 -17
- package/esm2022/lib/form-message/field-error-display/field-error-display.component.mjs +21 -0
- package/esm2022/lib/form-message/form-message-display.module.mjs +35 -0
- package/esm2022/lib/form-message/form-message-display.service.mjs +44 -0
- package/esm2022/lib/form-message/form-success-display/form-success-display.component.mjs +18 -0
- package/esm2022/lib/injector-resolver.mjs +28 -0
- package/esm2022/lib/media-service.mjs +49 -0
- package/esm2022/lib/order.service.mjs +16 -1
- package/esm2022/lib/payment/modes/payment-modes.component.mjs +35 -0
- package/esm2022/lib/payment/modes/payment-modes.module.mjs +24 -0
- package/esm2022/lib/payment/payment.module.mjs +26 -0
- package/esm2022/lib/paytm.service.mjs +131 -0
- package/esm2022/lib/phone-input/phone-input.component.mjs +48 -44
- package/esm2022/lib/pipes/autolink/autolink.module.mjs +20 -0
- package/esm2022/lib/pipes/date-format/date-format.module.mjs +19 -0
- package/esm2022/lib/pipes/date-format/date-format.pipe.mjs +42 -0
- package/esm2022/lib/project-constants.mjs +310 -0
- package/esm2022/lib/questionaire/edit/questionnaire.component.mjs +20 -15
- package/esm2022/lib/questionaire/edit/questionnaire.module.mjs +5 -4
- package/esm2022/lib/razorpay.service.mjs +157 -0
- package/esm2022/lib/request-dialog/request-dialog.component.mjs +29 -0
- package/esm2022/lib/request-dialog/request-dialog.module.mjs +24 -0
- package/esm2022/lib/shared-account.guard.mjs +41 -0
- package/esm2022/lib/shared-account.resolver.mjs +22 -0
- package/esm2022/lib/shared.service.mjs +85 -10
- package/esm2022/lib/showuploadfile/showuploadfile.component.mjs +3 -3
- package/esm2022/lib/theme.service.mjs +30 -0
- package/esm2022/lib/timezone-converter.mjs +49 -0
- package/esm2022/lib/toast.service.mjs +2 -2
- package/esm2022/lib/twilio-service.mjs +466 -0
- package/esm2022/public-api.mjs +32 -1
- package/fesm2022/jconsumer-shared.mjs +3852 -398
- package/fesm2022/jconsumer-shared.mjs.map +1 -1
- package/jconsumer-shared-1.0.0.tgz +0 -0
- package/lib/account-service.d.ts +41 -2
- package/lib/auth-service.d.ts +1 -0
- package/lib/booking-service.d.ts +101 -0
- package/lib/common.service.d.ts +12 -1
- package/lib/confirm/confirm-box.component.d.ts +43 -0
- package/lib/confirm/confirm-box.module.d.ts +16 -0
- package/lib/consumer-service.d.ts +178 -0
- package/lib/currency-service.d.ts +4 -0
- package/lib/environment.service.d.ts +9 -0
- package/lib/error-message.module.d.ts +7 -0
- package/lib/file-service.d.ts +5 -2
- package/lib/form-message/field-error-display/field-error-display.component.d.ts +8 -0
- package/lib/form-message/form-message-display.module.d.ts +10 -0
- package/lib/form-message/form-message-display.service.d.ts +13 -0
- package/lib/form-message/form-success-display/form-success-display.component.d.ts +7 -0
- package/lib/injector-resolver.d.ts +2 -0
- package/lib/media-service.d.ts +9 -0
- package/lib/order.service.d.ts +4 -0
- package/lib/payment/modes/payment-modes.component.d.ts +15 -0
- package/lib/payment/modes/payment-modes.module.d.ts +9 -0
- package/lib/payment/payment.module.d.ts +7 -0
- package/lib/paytm.service.d.ts +13 -0
- package/lib/phone-input/phone-input.component.d.ts +5 -3
- package/lib/pipes/autolink/autolink.module.d.ts +8 -0
- package/lib/pipes/date-format/date-format.module.d.ts +8 -0
- package/lib/pipes/date-format/date-format.pipe.d.ts +12 -0
- package/lib/project-constants.d.ts +227 -0
- package/lib/questionaire/edit/questionnaire.component.d.ts +4 -1
- package/lib/questionaire/edit/questionnaire.module.d.ts +3 -2
- package/lib/razorpay.service.d.ts +26 -0
- package/lib/request-dialog/request-dialog.component.d.ts +11 -0
- package/lib/request-dialog/request-dialog.module.d.ts +9 -0
- package/lib/shared-account.guard.d.ts +11 -0
- package/lib/shared-account.resolver.d.ts +10 -0
- package/lib/shared.service.d.ts +31 -4
- package/lib/theme.service.d.ts +10 -0
- package/lib/timezone-converter.d.ts +8 -0
- package/lib/twilio-service.d.ts +60 -0
- package/package.json +1 -1
- package/public-api.d.ts +31 -0
- package/jconsumer-shared-0.0.3.tgz +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
2
|
+
import { ControlValueAccessor, NgModel } from '@angular/forms';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class PhoneInputComponent implements AfterViewInit, ControlValueAccessor {
|
|
5
5
|
initialCountry: string;
|
|
@@ -8,9 +8,11 @@ export declare class PhoneInputComponent implements AfterViewInit, ControlValueA
|
|
|
8
8
|
separateDialCode: boolean;
|
|
9
9
|
otherOptions: any;
|
|
10
10
|
phoneInput: ElementRef;
|
|
11
|
+
ngModelRef: NgModel;
|
|
12
|
+
phoneNumberChange: EventEmitter<any>;
|
|
13
|
+
ngModelChange: EventEmitter<any>;
|
|
11
14
|
phoneNumber: any;
|
|
12
15
|
phoneInputInstance: any;
|
|
13
|
-
phoneNumberChange: EventEmitter<any>;
|
|
14
16
|
onChange: (value: any) => void;
|
|
15
17
|
onTouched: () => void;
|
|
16
18
|
ngAfterViewInit(): void;
|
|
@@ -21,5 +23,5 @@ export declare class PhoneInputComponent implements AfterViewInit, ControlValueA
|
|
|
21
23
|
registerOnTouched(fn: any): void;
|
|
22
24
|
validatePhoneNumber(): boolean;
|
|
23
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<PhoneInputComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PhoneInputComponent, "app-phone-input", never, { "initialCountry": { "alias": "initialCountry"; "required": false; }; "preferredCountries": { "alias": "preferredCountries"; "required": false; }; "nationalMode": { "alias": "nationalMode"; "required": false; }; "separateDialCode": { "alias": "separateDialCode"; "required": false; }; "otherOptions": { "alias": "otherOptions"; "required": false; }; }, { "phoneNumberChange": "phoneNumberChange"; }, never, never, false, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PhoneInputComponent, "app-phone-input", never, { "initialCountry": { "alias": "initialCountry"; "required": false; }; "preferredCountries": { "alias": "preferredCountries"; "required": false; }; "nationalMode": { "alias": "nationalMode"; "required": false; }; "separateDialCode": { "alias": "separateDialCode"; "required": false; }; "otherOptions": { "alias": "otherOptions"; "required": false; }; }, { "phoneNumberChange": "phoneNumberChange"; "ngModelChange": "ngModelChange"; }, never, never, false, never>;
|
|
25
27
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./autolink.pipe";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class AutolinkPipeModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AutolinkPipeModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AutolinkPipeModule, [typeof i1.AutolinkPipe], [typeof i2.CommonModule], [typeof i1.AutolinkPipe]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AutolinkPipeModule>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./date-format.pipe";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class DateFormatPipeModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateFormatPipeModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DateFormatPipeModule, [typeof i1.DateFormatPipe], [typeof i2.CommonModule], [typeof i1.DateFormatPipe]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DateFormatPipeModule>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class DateFormatPipe implements PipeTransform {
|
|
4
|
+
transform(value: any, args?: any): any;
|
|
5
|
+
transformTofilterDate(value: any): any;
|
|
6
|
+
transformTomciDate(value: any): any;
|
|
7
|
+
transformToDIsplayFormat(value: any): any;
|
|
8
|
+
transformToMonthlyDate(value: any): any;
|
|
9
|
+
transformToDateWithTime(value: any): any;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateFormatPipe, never>;
|
|
11
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<DateFormatPipe, "dateFormat", false>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
export declare const projectConstantsLocal: {
|
|
2
|
+
GOOGLEAPIKEY: string;
|
|
3
|
+
PERPAGING_LIMIT: number;
|
|
4
|
+
CONSUMER_DASHBOARD_REFRESH_TIME: number;
|
|
5
|
+
INBOX_REFRESH_TIME: number;
|
|
6
|
+
SMALL_DEVICE_BOUNDARY: number;
|
|
7
|
+
MY_DATE_FORMATS: {
|
|
8
|
+
parse: {
|
|
9
|
+
dateInput: string;
|
|
10
|
+
};
|
|
11
|
+
display: {
|
|
12
|
+
dateInput: string;
|
|
13
|
+
monthYearLabel: string;
|
|
14
|
+
dateA11yLabel: string;
|
|
15
|
+
monthYearA11yLabel: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
TIMEOUT_DELAY: number;
|
|
19
|
+
TIMEOUT_DELAY_SMALL: number;
|
|
20
|
+
TIMEOUT_DELAY_LARGE: number;
|
|
21
|
+
TIMEOUT_DELAY_LARGE6: number;
|
|
22
|
+
TIMEOUT_DELAY_LARGE10: number;
|
|
23
|
+
TIMEOUT_DELAY_600: number;
|
|
24
|
+
TIMEOUT_MEETING: number;
|
|
25
|
+
DISPLAY_DATE_FORMAT: string;
|
|
26
|
+
DISPLAY_DATE_FORMAT_NEW: string;
|
|
27
|
+
PIPE_DISPLAY_DATE_FORMAT: string;
|
|
28
|
+
PIPE_DISPLAY_DATE_FORMAT_WITH_DAY: string;
|
|
29
|
+
PIPE_DISPLAY_TIME_FORMAT: string;
|
|
30
|
+
PIPE_DISPLAY_DATE_TIME_FORMAT: string;
|
|
31
|
+
POST_DATE_FORMAT: string;
|
|
32
|
+
POST_DATE_FORMAT_WITHTIME: string;
|
|
33
|
+
POST_DATE_FORMAT_WITHTIME_A: string;
|
|
34
|
+
DATE_FORMAT_WITH_MONTH: string;
|
|
35
|
+
DATE_FORMAT_STARTS_MONTH: string;
|
|
36
|
+
DATE_MM_DD_YY_FORMAT: string;
|
|
37
|
+
DATE_EE_MM_DD_YY_FORMAT: string;
|
|
38
|
+
DATE_MM_DD_YY_HH_MM_A_FORMAT: string;
|
|
39
|
+
DATE_FORMAT_WITH_TIME: string;
|
|
40
|
+
DATE_FORMAT_WITH_DATE_TIME: string;
|
|
41
|
+
DEFAULT_STARTTIME: string;
|
|
42
|
+
DEFAULT_ENDTIME: string;
|
|
43
|
+
IMAGE_FORMATS: string[];
|
|
44
|
+
IMAGE_MAX_SIZE: number;
|
|
45
|
+
FILE_MAX_SIZE: number;
|
|
46
|
+
MAP_BASE_URL: string;
|
|
47
|
+
SOCIAL_MEDIA_CONSUMER: ({
|
|
48
|
+
key: string;
|
|
49
|
+
iconClass: string;
|
|
50
|
+
iconImage: string;
|
|
51
|
+
displayName: string;
|
|
52
|
+
iconImg?: undefined;
|
|
53
|
+
} | {
|
|
54
|
+
key: string;
|
|
55
|
+
iconClass: string;
|
|
56
|
+
iconImg: string;
|
|
57
|
+
displayName: string;
|
|
58
|
+
iconImage?: undefined;
|
|
59
|
+
} | {
|
|
60
|
+
key: string;
|
|
61
|
+
iconClass: string;
|
|
62
|
+
displayName: string;
|
|
63
|
+
iconImage?: undefined;
|
|
64
|
+
iconImg?: undefined;
|
|
65
|
+
})[];
|
|
66
|
+
PRIVACY_PERMISSIONS: {
|
|
67
|
+
all: string;
|
|
68
|
+
customersOnly: string;
|
|
69
|
+
self: string;
|
|
70
|
+
};
|
|
71
|
+
HealthcareService: {
|
|
72
|
+
service_cap: string;
|
|
73
|
+
};
|
|
74
|
+
PersonalFitness: {
|
|
75
|
+
personalFitness: {
|
|
76
|
+
helphint: string;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
TOOLTIP_CLS: string;
|
|
80
|
+
TOOLTIP_PRIVACYPHONE: string;
|
|
81
|
+
TOOLTIP_PRIVACYEMAIL: string;
|
|
82
|
+
TOOLTIP_MALE: string;
|
|
83
|
+
TOOLTIP_FEMALE: string;
|
|
84
|
+
VALIDATOR_BLANK_FALSE: RegExp;
|
|
85
|
+
VALIDATOR_BLANK: RegExp;
|
|
86
|
+
VALIDATOR_URL: RegExp;
|
|
87
|
+
VALIDATOR_NUMBERONLY: RegExp;
|
|
88
|
+
VALIDATOR_ONLYNUMBER: RegExp;
|
|
89
|
+
VALIDATOR_COUNTRYCODE: RegExp;
|
|
90
|
+
VALIDATOR_PHONENUMBERONLY: RegExp;
|
|
91
|
+
VALIDATOR_FLOAT: RegExp;
|
|
92
|
+
VALIDATOR_PHONENUMBERCOUNT10: RegExp;
|
|
93
|
+
VALIDATOR_CHARONLY: RegExp;
|
|
94
|
+
VALIDATOR_ALPHANUMERIC: RegExp;
|
|
95
|
+
VALIDATOR_ALPHANUMERIC_HYPHEN: RegExp;
|
|
96
|
+
VALIDATOR_ALPHANUMERIC_DOT: RegExp;
|
|
97
|
+
VALIDATOR_EMAIL: RegExp;
|
|
98
|
+
VALIDATOR_NUMBER_COMMA: RegExp;
|
|
99
|
+
VALIDATOR_MAX6: number;
|
|
100
|
+
VALIDATOR_MAX9: number;
|
|
101
|
+
VALIDATOR_MAX10: number;
|
|
102
|
+
VALIDATOR_MAX15_DEPT_CDE: number;
|
|
103
|
+
VALIDATOR_MAX100_DEPT_NME: number;
|
|
104
|
+
VALIDATOR_MAX50: number;
|
|
105
|
+
VALIDATOR_MAX100: number;
|
|
106
|
+
VALIDATOR_MAX150: number;
|
|
107
|
+
VALIDATOR_MAX200: number;
|
|
108
|
+
VALIDATOR_MAX250: number;
|
|
109
|
+
VALIDATOR_MAX500: number;
|
|
110
|
+
VALIDATOR_MAX_LAKH: number;
|
|
111
|
+
VALIDATOR_MOBILE_AND_EMAIL: RegExp;
|
|
112
|
+
VALIDATOR_SPACE_NOT_ALLOWED: RegExp;
|
|
113
|
+
QTY_MAX_VALUE: number;
|
|
114
|
+
PRICE_MAX_VALUE: number;
|
|
115
|
+
TIME_MAX_VALUE: number;
|
|
116
|
+
PERC_MAX_VALUE: number;
|
|
117
|
+
WAITLIST_CANCEL_RESON: ({
|
|
118
|
+
title: string;
|
|
119
|
+
value: string;
|
|
120
|
+
reasonkey: string;
|
|
121
|
+
type: number;
|
|
122
|
+
} | {
|
|
123
|
+
title: string;
|
|
124
|
+
value: string;
|
|
125
|
+
reasonkey: string;
|
|
126
|
+
type?: undefined;
|
|
127
|
+
})[];
|
|
128
|
+
DOMAINLIST_APIFETCH_HOURS: number;
|
|
129
|
+
COUPON_NOTES: {
|
|
130
|
+
COUPON_APPLIED: string;
|
|
131
|
+
SELF_PAY_REQUIRED: string;
|
|
132
|
+
NO_OTHER_COUPONS_ALLOWED: string;
|
|
133
|
+
EXCEEDS_APPLY_LIMIT: string;
|
|
134
|
+
ONLY_WHEN_FITST_CHECKIN: string;
|
|
135
|
+
ONLINE_CHECKIN_REQUIRED: string;
|
|
136
|
+
CANT_COMBINE_WITH_OTHER_COUPONES: string;
|
|
137
|
+
CONSUMER_CAN_NOT_APPLY_COUPON: string;
|
|
138
|
+
PROVIDER_COUPON_NOT_APPLICABLE_SERVICE: string;
|
|
139
|
+
PROVIDER_COUPON_NOT_APPLICABLE_USER: string;
|
|
140
|
+
PROVIDER_COUPON_NOT_APPLICABLE_GROUP: string;
|
|
141
|
+
PROVIDER_COUPON_NOT_APPLICABLE_ITEM: string;
|
|
142
|
+
PROVIDER_COUPON_NOT_APPLICABLE_CATALOG: string;
|
|
143
|
+
PROVIDER_COUPON_NOT_APPLICABLE_LABEL: string;
|
|
144
|
+
PROVIDER_COUPON_NOT_APPLICABLE_BOOKING_MODE: string;
|
|
145
|
+
PROVIDER_COUPON_NOT_APPLICABLE: string;
|
|
146
|
+
PROVIDER_COUPON_NOT_APPLICABLE_NOW: string;
|
|
147
|
+
JC_NOT_APPLICABLE_DAY: string;
|
|
148
|
+
ONLY_WHEN_FITST_CHECKIN_ON_PROVIDER: string;
|
|
149
|
+
MINIMUM_BILL_AMT_REQUIRED: string;
|
|
150
|
+
PROVIDER_COUPON_NOT_APPLICABLE_ORDER: string;
|
|
151
|
+
PROVIDER_COUPON_NOT_APPLICABLE_WAITLIST: string;
|
|
152
|
+
PROVIDER_COUPON_NOT_APPLICABLE_APPOINTMENT: string;
|
|
153
|
+
EXCEEDS_PRO_COUP_APPLY_LIMIT: string;
|
|
154
|
+
};
|
|
155
|
+
CHECK_IN_STATUSES: {
|
|
156
|
+
Done: string;
|
|
157
|
+
Started: string;
|
|
158
|
+
Arrived: string;
|
|
159
|
+
CheckedIn: string;
|
|
160
|
+
Cancelled: string;
|
|
161
|
+
Completed: string;
|
|
162
|
+
Rejected: string;
|
|
163
|
+
Confirmed: string;
|
|
164
|
+
Rescheduled: string;
|
|
165
|
+
PrepaymentPending: string;
|
|
166
|
+
Requested: string;
|
|
167
|
+
RequestRejected: string;
|
|
168
|
+
Failed: string;
|
|
169
|
+
};
|
|
170
|
+
MONTH: {
|
|
171
|
+
value: string;
|
|
172
|
+
name: string;
|
|
173
|
+
}[];
|
|
174
|
+
REGION_LANGUAGE: string;
|
|
175
|
+
TIME_ZONE_REGION: string;
|
|
176
|
+
KEY: string;
|
|
177
|
+
FILETYPES_UPLOAD: string[];
|
|
178
|
+
CALLING_MODES: {
|
|
179
|
+
WHATSAPP: string;
|
|
180
|
+
HANGOUTS: string;
|
|
181
|
+
SKYPE: string;
|
|
182
|
+
BOTIM: string;
|
|
183
|
+
IMO: string;
|
|
184
|
+
};
|
|
185
|
+
WAITLIST_CANCEL_REASON: ({
|
|
186
|
+
title: string;
|
|
187
|
+
value: string;
|
|
188
|
+
reasonkey: string;
|
|
189
|
+
type?: undefined;
|
|
190
|
+
} | {
|
|
191
|
+
title: string;
|
|
192
|
+
value: string;
|
|
193
|
+
reasonkey: string;
|
|
194
|
+
type: number;
|
|
195
|
+
})[];
|
|
196
|
+
BOOKING_STATUS_CLASS: {
|
|
197
|
+
value: string;
|
|
198
|
+
class: string;
|
|
199
|
+
}[];
|
|
200
|
+
ITEM_TYPES: {
|
|
201
|
+
displayName: string;
|
|
202
|
+
value: string;
|
|
203
|
+
}[];
|
|
204
|
+
INBOX_MSG_TYPES: {
|
|
205
|
+
CHAT: string;
|
|
206
|
+
ENQUIRY: string;
|
|
207
|
+
ALERT: string;
|
|
208
|
+
BOOKINGS: string;
|
|
209
|
+
};
|
|
210
|
+
WALLET_NOTES: {
|
|
211
|
+
APP_SIGNUP: string;
|
|
212
|
+
};
|
|
213
|
+
PAYTMLOCAL_URL: string;
|
|
214
|
+
PAYTM_URL: string;
|
|
215
|
+
SUPPORTEDLANGUAGES: {
|
|
216
|
+
value: string;
|
|
217
|
+
viewValue: string;
|
|
218
|
+
}[];
|
|
219
|
+
INDIAN_STATES: {
|
|
220
|
+
name: string;
|
|
221
|
+
displayName: string;
|
|
222
|
+
}[];
|
|
223
|
+
RELATIONSHIPS: {
|
|
224
|
+
name: string;
|
|
225
|
+
displayName: string;
|
|
226
|
+
}[];
|
|
227
|
+
};
|
|
@@ -12,6 +12,7 @@ import { ToastService } from '../../toast.service';
|
|
|
12
12
|
import { DateTimeProcessor } from '../../calendar/date-time/datetime-processor.service';
|
|
13
13
|
import { ErrorMessagingService } from '../../error-message.service';
|
|
14
14
|
import { WordProcessor } from '../../word-processor.service';
|
|
15
|
+
import { SharedService } from '../../shared.service';
|
|
15
16
|
import * as i0 from "@angular/core";
|
|
16
17
|
export declare class QuestionnaireComponent implements OnInit, OnChanges {
|
|
17
18
|
private activated_route;
|
|
@@ -25,6 +26,7 @@ export declare class QuestionnaireComponent implements OnInit, OnChanges {
|
|
|
25
26
|
private errorService;
|
|
26
27
|
private toastService;
|
|
27
28
|
private modalGalleryService;
|
|
29
|
+
private sharedService;
|
|
28
30
|
private location;
|
|
29
31
|
questionnaireList: any;
|
|
30
32
|
source: any;
|
|
@@ -95,7 +97,8 @@ export declare class QuestionnaireComponent implements OnInit, OnChanges {
|
|
|
95
97
|
popSearches: any;
|
|
96
98
|
serviceTotalPrice: number;
|
|
97
99
|
editableItem: any;
|
|
98
|
-
|
|
100
|
+
cdnPath: string;
|
|
101
|
+
constructor(activated_route: ActivatedRoute, wordProcessor: WordProcessor, lStorageService: LocalStorageService, dateProcessor: DateTimeProcessor, dialog: MatDialog, fileService: FileService, commonService: CommonService, questionaireService: QuestionaireService, errorService: ErrorMessagingService, toastService: ToastService, modalGalleryService: ModalGalleryService, sharedService: SharedService, location: Location);
|
|
99
102
|
ngOnDestroy(): void;
|
|
100
103
|
ngOnChanges(): void;
|
|
101
104
|
ngOnInit(): void;
|
|
@@ -11,9 +11,10 @@ import * as i9 from "@angular/material/slide-toggle";
|
|
|
11
11
|
import * as i10 from "@angular/material/core";
|
|
12
12
|
import * as i11 from "@angular/material/select";
|
|
13
13
|
import * as i12 from "../../pipes/safe-html/safehtml.module";
|
|
14
|
-
import * as i13 from "
|
|
14
|
+
import * as i13 from "../../error-message.module";
|
|
15
|
+
import * as i14 from "@angular/material/icon";
|
|
15
16
|
export declare class QuestionnaireModule {
|
|
16
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<QuestionnaireModule, never>;
|
|
17
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QuestionnaireModule, [typeof i1.QuestionnaireComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.LoadingSpinnerModule, typeof i5.CapitalizeFirstPipeModule, typeof i6.GalleryModule, typeof i7.MatDatepickerModule, typeof i8.MatCheckboxModule, typeof i9.MatSlideToggleModule, typeof i10.MatOptionModule, typeof i11.MatSelectModule, typeof i12.SafeHtmlModule, typeof i13.MatIconModule], [typeof i1.QuestionnaireComponent]>;
|
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QuestionnaireModule, [typeof i1.QuestionnaireComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.LoadingSpinnerModule, typeof i5.CapitalizeFirstPipeModule, typeof i6.GalleryModule, typeof i7.MatDatepickerModule, typeof i8.MatCheckboxModule, typeof i9.MatSlideToggleModule, typeof i10.MatOptionModule, typeof i11.MatSelectModule, typeof i12.SafeHtmlModule, typeof i13.ErrrorMessageModule, typeof i14.MatIconModule], [typeof i1.QuestionnaireComponent]>;
|
|
18
19
|
static ɵinj: i0.ɵɵInjectorDeclaration<QuestionnaireModule>;
|
|
19
20
|
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ServiceMeta } from './service-meta';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class RazorpayService {
|
|
4
|
+
private servicemeta;
|
|
5
|
+
status_check: any;
|
|
6
|
+
private paidStatus;
|
|
7
|
+
currentStatus: import("rxjs").Observable<string>;
|
|
8
|
+
paymentModes: {
|
|
9
|
+
method: string;
|
|
10
|
+
}[];
|
|
11
|
+
constructor(servicemeta: ServiceMeta);
|
|
12
|
+
changePaidStatus(value: string): void;
|
|
13
|
+
onReloadPage(): void;
|
|
14
|
+
updateResult(payload: any, accountId?: any): import("rxjs").Observable<ArrayBuffer>;
|
|
15
|
+
updateRazorPay(payload: any, accountId?: any): Promise<unknown>;
|
|
16
|
+
initializePayment(pData: any, accountId: any, referrer: any, type?: any): void;
|
|
17
|
+
get nativeWindow(): ICustomWindow;
|
|
18
|
+
getWindow(): any;
|
|
19
|
+
loadRazorpayScript(pData: any, isfrom: any): HTMLScriptElement;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RazorpayService, never>;
|
|
21
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RazorpayService>;
|
|
22
|
+
}
|
|
23
|
+
export interface ICustomWindow extends Window {
|
|
24
|
+
Razorpay: any;
|
|
25
|
+
__custom_global_stuff: string;
|
|
26
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class RequestDialogComponent {
|
|
4
|
+
dialogRef: MatDialogRef<RequestDialogComponent>;
|
|
5
|
+
data: any;
|
|
6
|
+
mode: string;
|
|
7
|
+
constructor(dialogRef: MatDialogRef<RequestDialogComponent>, data: any);
|
|
8
|
+
dismissModal(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RequestDialogComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RequestDialogComponent, "app-request-dialog", never, {}, {}, never, never, false, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./request-dialog.component";
|
|
3
|
+
import * as i2 from "@angular/material/dialog";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
export declare class RequestDialogModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RequestDialogModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<RequestDialogModule, [typeof i1.RequestDialogComponent], [typeof i2.MatDialogModule, typeof i3.CommonModule], [typeof i1.RequestDialogComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<RequestDialogModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CanLoad, Route } from "@angular/router";
|
|
2
|
+
import { SharedAccountResolver } from "./shared-account.resolver";
|
|
3
|
+
import { Observable } from "rxjs";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class SharedAccountGuard implements CanLoad {
|
|
6
|
+
private accountResolver;
|
|
7
|
+
constructor(accountResolver: SharedAccountResolver);
|
|
8
|
+
canLoad(route: Route): Observable<boolean> | Promise<boolean> | boolean;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SharedAccountGuard, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SharedAccountGuard>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ActivatedRouteSnapshot, Resolve, RouterStateSnapshot } from '@angular/router';
|
|
2
|
+
import { AccountService } from './account-service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SharedAccountResolver implements Resolve<any> {
|
|
5
|
+
private accountService;
|
|
6
|
+
constructor(accountService: AccountService);
|
|
7
|
+
resolve(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Promise<unknown>;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SharedAccountResolver, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SharedAccountResolver>;
|
|
10
|
+
}
|
package/lib/shared.service.d.ts
CHANGED
|
@@ -9,11 +9,29 @@ export declare class SharedService {
|
|
|
9
9
|
apiEndPoint: string | undefined;
|
|
10
10
|
S3EndPoint: string | undefined;
|
|
11
11
|
SAPath: string | undefined;
|
|
12
|
+
CDNPath: string;
|
|
12
13
|
routeID: string;
|
|
13
14
|
dateFormat: string;
|
|
15
|
+
theme: string;
|
|
16
|
+
accountInfo: any;
|
|
17
|
+
accountConfig: any;
|
|
18
|
+
accountCache$: any;
|
|
19
|
+
templateCache$: any;
|
|
20
|
+
templateLoaded: boolean;
|
|
14
21
|
constructor();
|
|
15
22
|
setUniqueID(uniqueId: string): void;
|
|
16
23
|
getUniqueID(): string;
|
|
24
|
+
setCDNPath(path: string): void;
|
|
25
|
+
getCDNPath(): string;
|
|
26
|
+
getUIPath(): any;
|
|
27
|
+
setUIPath(path: any): void;
|
|
28
|
+
isTemplateLoaded(): boolean;
|
|
29
|
+
setTemplateCache(templateCache: any): void;
|
|
30
|
+
getTemplateCache(): any;
|
|
31
|
+
clearTemplateCache(): void;
|
|
32
|
+
setAccountCache(accountCache: any): void;
|
|
33
|
+
getAccountCache(): any;
|
|
34
|
+
clearAccountCache(): void;
|
|
17
35
|
getI8nPath(): any;
|
|
18
36
|
setI8nPath(path: any): void;
|
|
19
37
|
setTemplateID(templateID: string): void;
|
|
@@ -21,10 +39,8 @@ export declare class SharedService {
|
|
|
21
39
|
getDateFormat(): string;
|
|
22
40
|
setDateFormat(dateFormat: string): void;
|
|
23
41
|
setTemplateJSON(templateJSON: any): void;
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
setCustomID(customID: string): void;
|
|
27
|
-
getCustomID(): string;
|
|
42
|
+
getAccountID(): any;
|
|
43
|
+
getCustomID(): any;
|
|
28
44
|
getTemplateJSON(): any;
|
|
29
45
|
getConfigPath(): string;
|
|
30
46
|
setSAPath(SAPath: string): void;
|
|
@@ -34,6 +50,17 @@ export declare class SharedService {
|
|
|
34
50
|
getAPIEndPoint(): string;
|
|
35
51
|
setRouteID(routeID: string): void;
|
|
36
52
|
getRouteID(): string;
|
|
53
|
+
setAccountInfo(accountInfo: any): void;
|
|
54
|
+
getAccountInfo(): any;
|
|
55
|
+
setAccountConfig(config: any): void;
|
|
56
|
+
getAccountConfig(): any;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @param jsonStr_Obj
|
|
60
|
+
*/
|
|
61
|
+
getJson(jsonStr_Obj: any): any;
|
|
62
|
+
getTerminologies(): any;
|
|
63
|
+
callMaintanance(): Promise<void>;
|
|
37
64
|
static ɵfac: i0.ɵɵFactoryDeclaration<SharedService, never>;
|
|
38
65
|
static ɵprov: i0.ɵɵInjectableDeclaration<SharedService>;
|
|
39
66
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { RendererFactory2 } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ThemeService {
|
|
4
|
+
private renderer;
|
|
5
|
+
private themeLinkElement;
|
|
6
|
+
constructor(rendererFactory: RendererFactory2);
|
|
7
|
+
loadTheme(themeName: string): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ThemeService, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ThemeService>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class TimezoneConverter {
|
|
3
|
+
constructor();
|
|
4
|
+
private getTimezoneAbbreviation;
|
|
5
|
+
getZonedTime(message: any): string;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TimezoneConverter, never>;
|
|
7
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TimezoneConverter>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { ElementRef, RendererFactory2 } from '@angular/core';
|
|
2
|
+
import { Observable, Subject } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class TwilioService {
|
|
5
|
+
rendererFactory: RendererFactory2;
|
|
6
|
+
remoteVideo: ElementRef;
|
|
7
|
+
localVideo: ElementRef;
|
|
8
|
+
previewContainer: ElementRef;
|
|
9
|
+
microphone: boolean;
|
|
10
|
+
video: boolean;
|
|
11
|
+
preview: boolean;
|
|
12
|
+
roomParticipants: any;
|
|
13
|
+
participantsCount: number;
|
|
14
|
+
showParticipant: boolean;
|
|
15
|
+
previewTrack: any;
|
|
16
|
+
camDeviceCount: number;
|
|
17
|
+
private renderer;
|
|
18
|
+
cameraMode: string;
|
|
19
|
+
previewTracks: any;
|
|
20
|
+
timerSubject: Subject<any>;
|
|
21
|
+
errorSubject: Subject<any>;
|
|
22
|
+
static signalStrength: any;
|
|
23
|
+
selectedVideoId: string;
|
|
24
|
+
activeCamIndex: any;
|
|
25
|
+
cam1Device: string;
|
|
26
|
+
cam2Device: string;
|
|
27
|
+
activeRoom: any;
|
|
28
|
+
previewTracksClone: any;
|
|
29
|
+
btnClicked: boolean;
|
|
30
|
+
loading: boolean;
|
|
31
|
+
constructor(rendererFactory: RendererFactory2);
|
|
32
|
+
activateTimer(timer: any): void;
|
|
33
|
+
getTimer(): Observable<any>;
|
|
34
|
+
sendError(error: any): void;
|
|
35
|
+
getError(): Observable<any>;
|
|
36
|
+
unmuteVideo(): void;
|
|
37
|
+
muteVideo(): void;
|
|
38
|
+
removePreviewTrackToDom(localTrack: any): void;
|
|
39
|
+
muteAudio(): void;
|
|
40
|
+
unmuteAudio(): void;
|
|
41
|
+
addPreviewTrackToDom(previewTrack: any): void;
|
|
42
|
+
enableVideo(): void;
|
|
43
|
+
disableVideo(): void;
|
|
44
|
+
mute(): void;
|
|
45
|
+
unmute(): void;
|
|
46
|
+
switchCamera(videoDevices: any): void;
|
|
47
|
+
connectToRoom(accessToken: any, options: any, tracks?: any): void;
|
|
48
|
+
networkQualityChanged(networkQualityLevel: any, networkQualityStats: any): void;
|
|
49
|
+
attachTracks(tracks: any, container: any, room: any): void;
|
|
50
|
+
attachParticipantTracks(participant: any, container: any, room: any): void;
|
|
51
|
+
detachTracks(tracks: any): void;
|
|
52
|
+
detachParticipantTracks(participant: any, room: any, _this: any): void;
|
|
53
|
+
stopTracks(tracks: any): void;
|
|
54
|
+
roomJoined(room: any): void;
|
|
55
|
+
removeRemoteParticipantDetails(container: any): void;
|
|
56
|
+
addRemoteParticipantDetails(container: any, participant: any): void;
|
|
57
|
+
disconnect(): void;
|
|
58
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TwilioService, never>;
|
|
59
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TwilioService>;
|
|
60
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -2,24 +2,44 @@ export * from './lib/service-meta';
|
|
|
2
2
|
export * from './lib/subscription.service';
|
|
3
3
|
export * from './lib/toast.service';
|
|
4
4
|
export * from './lib/shared.service';
|
|
5
|
+
export * from './lib/theme.service';
|
|
5
6
|
export * from './lib/i8n.module';
|
|
6
7
|
export * from './lib/order.service';
|
|
7
8
|
export * from './lib/account-service';
|
|
9
|
+
export * from './lib/shared-account.guard';
|
|
10
|
+
export * from './lib/shared-account.resolver';
|
|
8
11
|
export * from './lib/auth-service';
|
|
9
12
|
export * from './lib/file-service';
|
|
10
13
|
export * from './lib/common.service';
|
|
11
14
|
export * from './lib/storage.service';
|
|
15
|
+
export * from './lib/consumer-service';
|
|
16
|
+
export * from './lib/booking-service';
|
|
12
17
|
export * from './lib/group-storage.service';
|
|
13
18
|
export * from './lib/local-storage.service';
|
|
14
19
|
export * from './lib/error-message.service';
|
|
20
|
+
export * from './lib/error-message.module';
|
|
15
21
|
export * from './lib/session-storage.service';
|
|
22
|
+
export * from './lib/project-constants';
|
|
16
23
|
export * from './lib/word-processor.service';
|
|
24
|
+
export * from './lib/currency-service';
|
|
17
25
|
export * from './lib/project-messages';
|
|
26
|
+
export * from './lib/razorpay.service';
|
|
27
|
+
export * from './lib/paytm.service';
|
|
18
28
|
export * from './lib/pipes/safe-html/safehtml.pipe';
|
|
19
29
|
export * from './lib/pipes/limit-to/limitTo.pipe';
|
|
20
30
|
export * from './lib/pipes/filter/filter.pipe';
|
|
21
31
|
export * from './lib/pipes/capitalize/capitalize.pipe';
|
|
32
|
+
export * from './lib/pipes/capitalize/capitalize.module';
|
|
22
33
|
export * from './lib/pipes/autolink/autolink.pipe';
|
|
34
|
+
export * from './lib/pipes/autolink/autolink.module';
|
|
35
|
+
export * from './lib/pipes/date-format/date-format.module';
|
|
36
|
+
export * from './lib/pipes/date-format/date-format.pipe';
|
|
37
|
+
export * from './lib/form-message/form-message-display.service';
|
|
38
|
+
export * from './lib/form-message/form-message-display.module';
|
|
39
|
+
export * from './lib/calendar/date-time/datetime-processor.service';
|
|
40
|
+
export * from './lib/timezone-converter';
|
|
41
|
+
export * from './lib/form-message/form-success-display/form-success-display.component';
|
|
42
|
+
export * from './lib/form-message/field-error-display/field-error-display.component';
|
|
23
43
|
export * from './lib/skeleton/skeleton-loading.component';
|
|
24
44
|
export * from './lib/skeleton/skeleton-loading.module';
|
|
25
45
|
export * from './lib/spinner/loading-spinner.component';
|
|
@@ -31,3 +51,14 @@ export * from './lib/showuploadfile/showuploadfile.component';
|
|
|
31
51
|
export * from './lib/showuploadfile/showuploadfile.module';
|
|
32
52
|
export * from './lib/phone-input/phone-input.component';
|
|
33
53
|
export * from './lib/phone-input/phone-input.module';
|
|
54
|
+
export * from './lib/confirm/confirm-box.component';
|
|
55
|
+
export * from './lib/confirm/confirm-box.module';
|
|
56
|
+
export * from './lib/payment/modes/payment-modes.component';
|
|
57
|
+
export * from './lib/payment/modes/payment-modes.module';
|
|
58
|
+
export * from './lib/payment/payment.module';
|
|
59
|
+
export * from './lib/request-dialog/request-dialog.component';
|
|
60
|
+
export * from './lib/request-dialog/request-dialog.module';
|
|
61
|
+
export * from './lib/twilio-service';
|
|
62
|
+
export * from './lib/media-service';
|
|
63
|
+
export * from './lib/environment.service';
|
|
64
|
+
export * from './lib/injector-resolver';
|
|
Binary file
|