adb-shared 2.0.39 → 2.0.40
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/esm2020/lib/pipes/emptyValue.pipe.mjs +16 -0
- package/esm2020/lib/pipes/pipes.module.mjs +5 -4
- package/esm2020/public-api.mjs +2 -1
- package/fesm2015/adb-shared.mjs +18 -4
- package/fesm2015/adb-shared.mjs.map +1 -1
- package/fesm2020/adb-shared.mjs +18 -4
- package/fesm2020/adb-shared.mjs.map +1 -1
- package/lib/pipes/emptyValue.pipe.d.ts +7 -0
- package/lib/pipes/pipes.module.d.ts +2 -1
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
package/fesm2020/adb-shared.mjs
CHANGED
|
@@ -405,6 +405,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImpor
|
|
|
405
405
|
}]
|
|
406
406
|
}], ctorParameters: function () { return [{ type: i1$1.TranslateService }]; } });
|
|
407
407
|
|
|
408
|
+
class EmptyValuePipe {
|
|
409
|
+
transform(value) {
|
|
410
|
+
return value ?? '-';
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
/** @nocollapse */ EmptyValuePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: EmptyValuePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
414
|
+
/** @nocollapse */ EmptyValuePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: EmptyValuePipe, name: "adbEmptyValue" });
|
|
415
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: EmptyValuePipe, decorators: [{
|
|
416
|
+
type: Pipe,
|
|
417
|
+
args: [{
|
|
418
|
+
name: 'adbEmptyValue'
|
|
419
|
+
}]
|
|
420
|
+
}] });
|
|
421
|
+
|
|
408
422
|
class HighlightPipe {
|
|
409
423
|
constructor() {
|
|
410
424
|
this.forbiddenSymbols = /[`!@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?~]/;
|
|
@@ -470,14 +484,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImpor
|
|
|
470
484
|
class AdbPipesModule {
|
|
471
485
|
}
|
|
472
486
|
/** @nocollapse */ AdbPipesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: AdbPipesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
473
|
-
/** @nocollapse */ AdbPipesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: AdbPipesModule, declarations: [HighlightPipe, NumberSpacingPipe, LocaleDatePipe], exports: [HighlightPipe, NumberSpacingPipe, LocaleDatePipe] });
|
|
487
|
+
/** @nocollapse */ AdbPipesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: AdbPipesModule, declarations: [HighlightPipe, NumberSpacingPipe, LocaleDatePipe, EmptyValuePipe], exports: [HighlightPipe, NumberSpacingPipe, LocaleDatePipe, EmptyValuePipe] });
|
|
474
488
|
/** @nocollapse */ AdbPipesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: AdbPipesModule, imports: [[]] });
|
|
475
489
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: AdbPipesModule, decorators: [{
|
|
476
490
|
type: NgModule,
|
|
477
491
|
args: [{
|
|
478
492
|
imports: [],
|
|
479
|
-
declarations: [HighlightPipe, NumberSpacingPipe, LocaleDatePipe],
|
|
480
|
-
exports: [HighlightPipe, NumberSpacingPipe, LocaleDatePipe]
|
|
493
|
+
declarations: [HighlightPipe, NumberSpacingPipe, LocaleDatePipe, EmptyValuePipe],
|
|
494
|
+
exports: [HighlightPipe, NumberSpacingPipe, LocaleDatePipe, EmptyValuePipe]
|
|
481
495
|
}]
|
|
482
496
|
}] });
|
|
483
497
|
|
|
@@ -1122,5 +1136,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImpor
|
|
|
1122
1136
|
* Generated bundle index. Do not edit.
|
|
1123
1137
|
*/
|
|
1124
1138
|
|
|
1125
|
-
export { ADBHeaderComponent, ADBHeaderModule, AdbConfirmModal, AdbDatePickerComponent, AdbDatePickerDirective, AdbDatePickerModule, AdbDirectivesModule, AdbDropdownDirective, AdbDropdownModule, AdbModalModule, AdbModalService, AdbPagersModule, AdbPipesModule, AdbToast, AdbToastModule, AdbToastService, ClickOutsideDirective, FileUploadDirective, FocusDirective, HighlightPipe, InfiniteScrollComponent, LocaleDatePipe, NumberSpacingPipe, PagerComponent, ToastType };
|
|
1139
|
+
export { ADBHeaderComponent, ADBHeaderModule, AdbConfirmModal, AdbDatePickerComponent, AdbDatePickerDirective, AdbDatePickerModule, AdbDirectivesModule, AdbDropdownDirective, AdbDropdownModule, AdbModalModule, AdbModalService, AdbPagersModule, AdbPipesModule, AdbToast, AdbToastModule, AdbToastService, ClickOutsideDirective, EmptyValuePipe, FileUploadDirective, FocusDirective, HighlightPipe, InfiniteScrollComponent, LocaleDatePipe, NumberSpacingPipe, PagerComponent, ToastType };
|
|
1126
1140
|
//# sourceMappingURL=adb-shared.mjs.map
|