@annalib/anna-core 4.4.5 → 5.0.1
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-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +5 -7
- package/fesm2015/annalib-anna-core.mjs +4 -6
- package/fesm2015/annalib-anna-core.mjs.map +1 -1
- package/fesm2020/annalib-anna-core.mjs +4 -6
- package/fesm2020/annalib-anna-core.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -2420,10 +2420,8 @@ class AnnaNonEditableGenericTableComponent {
|
|
|
2420
2420
|
this.disableSliderApplyButton = false;
|
|
2421
2421
|
this.incorrectSliderInput = false;
|
|
2422
2422
|
}
|
|
2423
|
-
console.log(this.sliderEnteredMinValue);
|
|
2424
2423
|
}
|
|
2425
2424
|
else {
|
|
2426
|
-
console.log('inside else condition');
|
|
2427
2425
|
this.sliderEnteredMinValue = this.options.floor;
|
|
2428
2426
|
this.isMinTextBoxEmpty = true;
|
|
2429
2427
|
this.showSliderMinValueError = false;
|
|
@@ -2480,7 +2478,6 @@ class AnnaNonEditableGenericTableComponent {
|
|
|
2480
2478
|
this.sliderEnteredMaxValue = this.options.ceil;
|
|
2481
2479
|
this.isMaxTextBoxEmpty = true;
|
|
2482
2480
|
this.showSliderMaxValueError = false;
|
|
2483
|
-
console.log(this.sliderEnteredMaxValue);
|
|
2484
2481
|
}
|
|
2485
2482
|
this.showErrorForMinAndMaxValue();
|
|
2486
2483
|
}
|
|
@@ -3281,7 +3278,6 @@ class AnnaNonEditableGenericTableComponent {
|
|
|
3281
3278
|
checkIfSortingChanged() {
|
|
3282
3279
|
this.isSortChanged = this.tempSortOrder != null && this.tempSortOrder != this.annaSortService.columnSortState.get(this.annaFilterService.selectedRadio);
|
|
3283
3280
|
;
|
|
3284
|
-
console.log(this.isSortChanged);
|
|
3285
3281
|
return this.isSortChanged;
|
|
3286
3282
|
}
|
|
3287
3283
|
disableApplyButtonOfSelectedFilter() {
|
|
@@ -3317,16 +3313,18 @@ class AnnaNonEditableGenericTableComponent {
|
|
|
3317
3313
|
return item.id;
|
|
3318
3314
|
}
|
|
3319
3315
|
setActiveStateObject() {
|
|
3320
|
-
|
|
3316
|
+
let isFilterSortActive = {};
|
|
3321
3317
|
this.tableHeaders.forEach(item => {
|
|
3322
3318
|
item.headerInfo.forEach(header => {
|
|
3323
3319
|
if (header.showTooltipIcon) {
|
|
3324
3320
|
let key = header.filterSortObjectKeys.join(',');
|
|
3325
3321
|
header.joinedFilterSortObjectKeys = key;
|
|
3326
|
-
this.annaFilterService.isFilterSortActive[key]
|
|
3322
|
+
isFilterSortActive[key] = this.annaFilterService.isFilterSortActive && this.annaFilterService.isFilterSortActive[key] ?
|
|
3323
|
+
this.annaFilterService.isFilterSortActive[key] : false;
|
|
3327
3324
|
}
|
|
3328
3325
|
});
|
|
3329
3326
|
});
|
|
3327
|
+
this.annaFilterService.isFilterSortActive = cloneDeep(isFilterSortActive);
|
|
3330
3328
|
}
|
|
3331
3329
|
setIsDifference(value) {
|
|
3332
3330
|
this.isDifferenceLessThan25Percent = value;
|