@annalib/anna-core 22.1.25 → 22.1.28
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
|
@@ -1334,6 +1334,7 @@ class AnnaFilterService {
|
|
|
1334
1334
|
]);
|
|
1335
1335
|
this.isFilterSortActive = {};
|
|
1336
1336
|
this.resetFilterSortActiveStatus = true;
|
|
1337
|
+
this.showSktLoaderInGTTable$ = new BehaviorSubject(null);
|
|
1337
1338
|
this.percentTranslateFunction = (data) => {
|
|
1338
1339
|
if (Math.abs(data) >= 1000) {
|
|
1339
1340
|
let isNegVal = data < 0;
|
|
@@ -3494,6 +3495,7 @@ class AnnaNonEditableGenericTableComponent {
|
|
|
3494
3495
|
this.annaSortService = annaSortService;
|
|
3495
3496
|
this.annaDateTimeFormatService = annaDateTimeFormatService;
|
|
3496
3497
|
this.annaFilterService = annaFilterService;
|
|
3498
|
+
this.showSkeletonLoading = true;
|
|
3497
3499
|
this.maximumRowsWhichCanBeRenderedWithoutScroll = 5;
|
|
3498
3500
|
this.fixNumberOfRowsForPopup = false;
|
|
3499
3501
|
this.limit = 30;
|
|
@@ -3544,6 +3546,11 @@ class AnnaNonEditableGenericTableComponent {
|
|
|
3544
3546
|
this.tableBottomBorderClass = null;
|
|
3545
3547
|
this.showCheckboxesForTimeFilter = false;
|
|
3546
3548
|
this.setTooltipRadioNames();
|
|
3549
|
+
this.annaFilterService.showSktLoaderInGTTable$.subscribe((showLoader) => {
|
|
3550
|
+
if (showLoader != null) {
|
|
3551
|
+
this.showSkeletonLoading = showLoader;
|
|
3552
|
+
}
|
|
3553
|
+
});
|
|
3547
3554
|
}
|
|
3548
3555
|
ngAfterViewChecked() {
|
|
3549
3556
|
this.setMarginLeftForFilterIcon();
|