@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
|
@@ -2422,10 +2422,8 @@ class AnnaNonEditableGenericTableComponent {
|
|
|
2422
2422
|
this.disableSliderApplyButton = false;
|
|
2423
2423
|
this.incorrectSliderInput = false;
|
|
2424
2424
|
}
|
|
2425
|
-
console.log(this.sliderEnteredMinValue);
|
|
2426
2425
|
}
|
|
2427
2426
|
else {
|
|
2428
|
-
console.log('inside else condition');
|
|
2429
2427
|
this.sliderEnteredMinValue = this.options.floor;
|
|
2430
2428
|
this.isMinTextBoxEmpty = true;
|
|
2431
2429
|
this.showSliderMinValueError = false;
|
|
@@ -2482,7 +2480,6 @@ class AnnaNonEditableGenericTableComponent {
|
|
|
2482
2480
|
this.sliderEnteredMaxValue = this.options.ceil;
|
|
2483
2481
|
this.isMaxTextBoxEmpty = true;
|
|
2484
2482
|
this.showSliderMaxValueError = false;
|
|
2485
|
-
console.log(this.sliderEnteredMaxValue);
|
|
2486
2483
|
}
|
|
2487
2484
|
this.showErrorForMinAndMaxValue();
|
|
2488
2485
|
}
|
|
@@ -3283,7 +3280,6 @@ class AnnaNonEditableGenericTableComponent {
|
|
|
3283
3280
|
checkIfSortingChanged() {
|
|
3284
3281
|
this.isSortChanged = this.tempSortOrder != null && this.tempSortOrder != this.annaSortService.columnSortState.get(this.annaFilterService.selectedRadio);
|
|
3285
3282
|
;
|
|
3286
|
-
console.log(this.isSortChanged);
|
|
3287
3283
|
return this.isSortChanged;
|
|
3288
3284
|
}
|
|
3289
3285
|
disableApplyButtonOfSelectedFilter() {
|
|
@@ -3319,16 +3315,18 @@ class AnnaNonEditableGenericTableComponent {
|
|
|
3319
3315
|
return item.id;
|
|
3320
3316
|
}
|
|
3321
3317
|
setActiveStateObject() {
|
|
3322
|
-
|
|
3318
|
+
let isFilterSortActive = {};
|
|
3323
3319
|
this.tableHeaders.forEach(item => {
|
|
3324
3320
|
item.headerInfo.forEach(header => {
|
|
3325
3321
|
if (header.showTooltipIcon) {
|
|
3326
3322
|
let key = header.filterSortObjectKeys.join(',');
|
|
3327
3323
|
header.joinedFilterSortObjectKeys = key;
|
|
3328
|
-
this.annaFilterService.isFilterSortActive[key]
|
|
3324
|
+
isFilterSortActive[key] = this.annaFilterService.isFilterSortActive && this.annaFilterService.isFilterSortActive[key] ?
|
|
3325
|
+
this.annaFilterService.isFilterSortActive[key] : false;
|
|
3329
3326
|
}
|
|
3330
3327
|
});
|
|
3331
3328
|
});
|
|
3329
|
+
this.annaFilterService.isFilterSortActive = cloneDeep(isFilterSortActive);
|
|
3332
3330
|
}
|
|
3333
3331
|
setIsDifference(value) {
|
|
3334
3332
|
this.isDifferenceLessThan25Percent = value;
|