jconsumer-shared 1.1.1 → 1.1.3
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/consumer-service.mjs +13 -13
- package/esm2022/lib/pipes/short-filename/short-file-name.module.mjs +24 -0
- package/esm2022/lib/pipes/short-filename/short-file-name.pipe.mjs +21 -0
- package/esm2022/public-api.mjs +3 -1
- package/fesm2022/jconsumer-shared.mjs +52 -13
- package/fesm2022/jconsumer-shared.mjs.map +1 -1
- package/jconsumer-shared-1.1.3.tgz +0 -0
- package/lib/consumer-service.d.ts +3 -0
- package/lib/pipes/short-filename/short-file-name.module.d.ts +8 -0
- package/lib/pipes/short-filename/short-file-name.pipe.d.ts +7 -0
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
- package/jconsumer-shared-1.1.1.tgz +0 -0
|
@@ -2323,18 +2323,18 @@ class ConsumerService {
|
|
|
2323
2323
|
const url = 'consumer/ivr/' + uuid + '?account=' + accountid;
|
|
2324
2324
|
return this.servicemeta.httpGet(url);
|
|
2325
2325
|
}
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2326
|
+
getAppointmentById(appmntId) {
|
|
2327
|
+
const url = 'provider/appointment/' + appmntId;
|
|
2328
|
+
return this.servicemeta.httpGet(url);
|
|
2329
|
+
}
|
|
2330
|
+
getProviderOrderDetailById(uuid) {
|
|
2331
|
+
const url = 'provider/orders/' + uuid;
|
|
2332
|
+
return this.servicemeta.httpGet(url);
|
|
2333
|
+
}
|
|
2334
|
+
getProviderWaitlistDetailById(uuid) {
|
|
2335
|
+
const url = 'provider/waitlist/' + uuid;
|
|
2336
|
+
return this.servicemeta.httpGet(url);
|
|
2337
|
+
}
|
|
2338
2338
|
Paymentlinkcheck(uuid) {
|
|
2339
2339
|
const url = 'consumer/payment/pay/' + uuid;
|
|
2340
2340
|
return this.servicemeta.httpGet(url);
|
|
@@ -4274,6 +4274,45 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
4274
4274
|
}]
|
|
4275
4275
|
}] });
|
|
4276
4276
|
|
|
4277
|
+
class ShortFileNamePipe {
|
|
4278
|
+
transform(value, len) {
|
|
4279
|
+
const dotIndex = value.lastIndexOf('.');
|
|
4280
|
+
if (dotIndex === -1)
|
|
4281
|
+
return value;
|
|
4282
|
+
const prefix = value.slice(0, len);
|
|
4283
|
+
const extension = value.slice(dotIndex);
|
|
4284
|
+
return `${prefix}...${extension}`;
|
|
4285
|
+
}
|
|
4286
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ShortFileNamePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4287
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: ShortFileNamePipe, name: "shortFileName" });
|
|
4288
|
+
}
|
|
4289
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ShortFileNamePipe, decorators: [{
|
|
4290
|
+
type: Pipe,
|
|
4291
|
+
args: [{
|
|
4292
|
+
name: 'shortFileName'
|
|
4293
|
+
}]
|
|
4294
|
+
}] });
|
|
4295
|
+
|
|
4296
|
+
class ShortFileNameModule {
|
|
4297
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ShortFileNameModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4298
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: ShortFileNameModule, declarations: [ShortFileNamePipe], imports: [CommonModule], exports: [ShortFileNamePipe] });
|
|
4299
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ShortFileNameModule, imports: [CommonModule] });
|
|
4300
|
+
}
|
|
4301
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ShortFileNameModule, decorators: [{
|
|
4302
|
+
type: NgModule,
|
|
4303
|
+
args: [{
|
|
4304
|
+
declarations: [
|
|
4305
|
+
ShortFileNamePipe
|
|
4306
|
+
],
|
|
4307
|
+
imports: [
|
|
4308
|
+
CommonModule
|
|
4309
|
+
],
|
|
4310
|
+
exports: [
|
|
4311
|
+
ShortFileNamePipe
|
|
4312
|
+
]
|
|
4313
|
+
}]
|
|
4314
|
+
}] });
|
|
4315
|
+
|
|
4277
4316
|
class FormMessageDisplayModule {
|
|
4278
4317
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormMessageDisplayModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4279
4318
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: FormMessageDisplayModule, declarations: [FieldErrorDisplayComponent,
|
|
@@ -7447,5 +7486,5 @@ function setupInjectionContextForLoadChildren(route) {
|
|
|
7447
7486
|
* Generated bundle index. Do not edit.
|
|
7448
7487
|
*/
|
|
7449
7488
|
|
|
7450
|
-
export { AccountService, AuthService, AutolinkPipe, AutolinkPipeModule, BookingService, CapitalizeFirstPipe, CapitalizeFirstPipeModule, CommonService, ConfirmBoxComponent, ConfirmBoxModule, ConsumerService, CurrencyService, DateFormatPipe, DateFormatPipeModule, DateTimeProcessor, EnvironmentService, ErrorMessagingService, ErrrorMessageModule, FieldErrorDisplayComponent, FileService, FilterPipe, FormMessageDisplayModule, FormMessageDisplayService, FormSuccessDisplayComponent, GroupStorageService, HttpLoaderFactory, I8nModule, JGalleryComponent, JGalleryModule, JGalleryService, LoadingSpinnerComponent, LoadingSpinnerModule, LocalStorageService, MediaService, Messages, OrderService, PaymentModesComponent, PaymentModesModule, PaymentsModule, PaytmService, PhoneInputComponent, PhoneInputModule, QuestionaireService, QuestionnaireComponent, QuestionnaireModule, RazorpayService, RequestDialogComponent, RequestDialogModule, SafeHtmlPipe, ServiceMeta, SessionStorageService, SharedAccountGuard, SharedAccountResolver, SharedService, ShowuploadfileComponent, ShowuploadfileModule, SkeletonLoadingComponent, SkeletonLoadingModule, StorageService, SubscriptionService, ThemeService, TimezoneConverter, ToastService, TruncatePipe, TwilioService, WordProcessor, loadRemoteModuleWithCache, projectConstantsLocal, setupInjectionContextForLoadChildren };
|
|
7489
|
+
export { AccountService, AuthService, AutolinkPipe, AutolinkPipeModule, BookingService, CapitalizeFirstPipe, CapitalizeFirstPipeModule, CommonService, ConfirmBoxComponent, ConfirmBoxModule, ConsumerService, CurrencyService, DateFormatPipe, DateFormatPipeModule, DateTimeProcessor, EnvironmentService, ErrorMessagingService, ErrrorMessageModule, FieldErrorDisplayComponent, FileService, FilterPipe, FormMessageDisplayModule, FormMessageDisplayService, FormSuccessDisplayComponent, GroupStorageService, HttpLoaderFactory, I8nModule, JGalleryComponent, JGalleryModule, JGalleryService, LoadingSpinnerComponent, LoadingSpinnerModule, LocalStorageService, MediaService, Messages, OrderService, PaymentModesComponent, PaymentModesModule, PaymentsModule, PaytmService, PhoneInputComponent, PhoneInputModule, QuestionaireService, QuestionnaireComponent, QuestionnaireModule, RazorpayService, RequestDialogComponent, RequestDialogModule, SafeHtmlPipe, ServiceMeta, SessionStorageService, SharedAccountGuard, SharedAccountResolver, SharedService, ShortFileNameModule, ShortFileNamePipe, ShowuploadfileComponent, ShowuploadfileModule, SkeletonLoadingComponent, SkeletonLoadingModule, StorageService, SubscriptionService, ThemeService, TimezoneConverter, ToastService, TruncatePipe, TwilioService, WordProcessor, loadRemoteModuleWithCache, projectConstantsLocal, setupInjectionContextForLoadChildren };
|
|
7451
7490
|
//# sourceMappingURL=jconsumer-shared.mjs.map
|