@annalib/anna-core 17.0.13 → 17.0.14
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/models/anna-non-editable-gt-models.mjs +1 -1
- package/esm2020/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-time-filter/anna-column-time-filter.component.mjs +12 -9
- package/fesm2015/annalib-anna-core.mjs +12 -8
- package/fesm2015/annalib-anna-core.mjs.map +1 -1
- package/fesm2020/annalib-anna-core.mjs +11 -8
- package/fesm2020/annalib-anna-core.mjs.map +1 -1
- package/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.d.ts +1 -1
- package/package.json +1 -1
|
@@ -5631,7 +5631,6 @@ class AnnaColumnTimeFilterComponent {
|
|
|
5631
5631
|
this.totalRowColumns = null;
|
|
5632
5632
|
}
|
|
5633
5633
|
ngOnInit() {
|
|
5634
|
-
console.log(this.tableData);
|
|
5635
5634
|
this.populateTooltipDataBasedOnSelectedRadio(this.filterTabObjects[0]);
|
|
5636
5635
|
}
|
|
5637
5636
|
populateTooltipDataBasedOnSelectedRadio(activeTab) {
|
|
@@ -5878,13 +5877,17 @@ class AnnaColumnTimeFilterComponent {
|
|
|
5878
5877
|
return !(dayjs(startTime24HrFormat, timeFormat).isAfter(dayjs(endTime24HrFormat, timeFormat)));
|
|
5879
5878
|
}
|
|
5880
5879
|
applyTimeFilters() {
|
|
5881
|
-
this.
|
|
5882
|
-
|
|
5883
|
-
|
|
5884
|
-
|
|
5885
|
-
|
|
5886
|
-
|
|
5887
|
-
|
|
5880
|
+
if (this.gtGeneralConfig?.component == 'DP_RESTRICTIONS') {
|
|
5881
|
+
let timeSelected = [this.selectedFromTime, this.selectedToTime];
|
|
5882
|
+
this.timeChanges.emit(timeSelected);
|
|
5883
|
+
}
|
|
5884
|
+
else {
|
|
5885
|
+
this.applyTimeFilterOnData();
|
|
5886
|
+
this.applySortingOnFilteredData();
|
|
5887
|
+
this.emitData();
|
|
5888
|
+
this.setInitialRowsForTable();
|
|
5889
|
+
this.annaFilterService.updateStateOfAllTheKeys(this.annaSortService.columnSortState);
|
|
5890
|
+
}
|
|
5888
5891
|
this.closeTooltip.emit();
|
|
5889
5892
|
}
|
|
5890
5893
|
emitData() {
|