@annalib/anna-core 22.1.24 → 22.1.27
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/anna-core-shared-lib/services/anna-filter.service.mjs +3 -1
- package/esm2020/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +7 -1
- package/fesm2015/annalib-anna-core.mjs +7 -0
- package/fesm2015/annalib-anna-core.mjs.map +1 -1
- package/fesm2020/annalib-anna-core.mjs +7 -0
- package/fesm2020/annalib-anna-core.mjs.map +1 -1
- package/lib/anna-core-shared-lib/services/anna-filter.service.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1332,6 +1332,7 @@ class AnnaFilterService {
|
|
|
1332
1332
|
]);
|
|
1333
1333
|
this.isFilterSortActive = {};
|
|
1334
1334
|
this.resetFilterSortActiveStatus = true;
|
|
1335
|
+
this.showSktLoaderInGTTable = new BehaviorSubject(null);
|
|
1335
1336
|
this.percentTranslateFunction = (data) => {
|
|
1336
1337
|
if (Math.abs(data) >= 1000) {
|
|
1337
1338
|
let isNegVal = data < 0;
|
|
@@ -3490,6 +3491,7 @@ class AnnaNonEditableGenericTableComponent {
|
|
|
3490
3491
|
this.annaSortService = annaSortService;
|
|
3491
3492
|
this.annaDateTimeFormatService = annaDateTimeFormatService;
|
|
3492
3493
|
this.annaFilterService = annaFilterService;
|
|
3494
|
+
this.showSkeletonLoading = true;
|
|
3493
3495
|
this.maximumRowsWhichCanBeRenderedWithoutScroll = 5;
|
|
3494
3496
|
this.fixNumberOfRowsForPopup = false;
|
|
3495
3497
|
this.limit = 30;
|
|
@@ -3540,6 +3542,11 @@ class AnnaNonEditableGenericTableComponent {
|
|
|
3540
3542
|
this.tableBottomBorderClass = null;
|
|
3541
3543
|
this.showCheckboxesForTimeFilter = false;
|
|
3542
3544
|
this.setTooltipRadioNames();
|
|
3545
|
+
this.annaFilterService.showSktLoaderInGTTable.subscribe((showLoader) => {
|
|
3546
|
+
if (showLoader != null) {
|
|
3547
|
+
this.showSkeletonLoading = showLoader;
|
|
3548
|
+
}
|
|
3549
|
+
});
|
|
3543
3550
|
}
|
|
3544
3551
|
ngAfterViewChecked() {
|
|
3545
3552
|
this.setMarginLeftForFilterIcon();
|