@annalib/anna-core 10.0.24 → 10.0.25
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-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +4 -6
- package/fesm2015/annalib-anna-core.mjs +3 -5
- package/fesm2015/annalib-anna-core.mjs.map +1 -1
- package/fesm2020/annalib-anna-core.mjs +3 -5
- 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
|
@@ -1847,7 +1847,7 @@ class AnnaNonEditableGenericTableComponent {
|
|
|
1847
1847
|
let marginFromBottom = this.gtDimension.marginFromBottom;
|
|
1848
1848
|
let heightLeftForTable = viewportHeight - dataOnTopHeight - marginFromBottom;
|
|
1849
1849
|
this.maximumRowsWhichCanBeRenderedWithoutScroll =
|
|
1850
|
-
Math.
|
|
1850
|
+
Math.ceil((heightLeftForTable - headerHeight - rowHeight) / rowHeight) + 1;
|
|
1851
1851
|
// let actualTableHeight = heightLeftForTable - ((heightLeftForTable - headerHeight - rowHeight) % rowHeight);
|
|
1852
1852
|
let actualTableHeight = viewportHeight - dataOnTopHeight - marginFromBottom;
|
|
1853
1853
|
this.gtDimension.tableHeight = `${actualTableHeight}px`;
|
|
@@ -2366,8 +2366,7 @@ class AnnaNonEditableGenericTableComponent {
|
|
|
2366
2366
|
this.selectedFromTime = ["-", "-", "-"];
|
|
2367
2367
|
this.selectedToTime = ["-", "-", "-"];
|
|
2368
2368
|
}
|
|
2369
|
-
if (this.gtGeneralConfig.component === "SPOTDETAILS" || this.gtGeneralConfig.component === "EXCLUDEINVENTORYPOPUP"
|
|
2370
|
-
|| this.gtGeneralConfig.component === "ACTIVITYLOG" || this.gtGeneralConfig.component === "NOTIFICATIONS") {
|
|
2369
|
+
if (this.gtGeneralConfig.component === "SPOTDETAILS" || this.gtGeneralConfig.component === "EXCLUDEINVENTORYPOPUP" || this.gtGeneralConfig.component === "ACTIVITYLOG") {
|
|
2371
2370
|
this.setTimeFilterDataForComponentsOtherThanRatingsPage(header);
|
|
2372
2371
|
}
|
|
2373
2372
|
else if (this.gtGeneralConfig.component === "RATING") {
|
|
@@ -3171,8 +3170,7 @@ class AnnaNonEditableGenericTableComponent {
|
|
|
3171
3170
|
};
|
|
3172
3171
|
if (this.gtGeneralConfig.component === "SPOTDETAILS" ||
|
|
3173
3172
|
this.gtGeneralConfig.component === "EXCLUDEINVENTORYPOPUP" ||
|
|
3174
|
-
this.gtGeneralConfig.component === "ACTIVITYLOG"
|
|
3175
|
-
this.gtGeneralConfig.component === "NOTIFICATIONS") {
|
|
3173
|
+
this.gtGeneralConfig.component === "ACTIVITYLOG") {
|
|
3176
3174
|
let includeMulti = this.clonedTableData.findIndex((obj) => obj[key] == "<multi>") !=
|
|
3177
3175
|
-1;
|
|
3178
3176
|
let includeZero = this.clonedTableData.findIndex((obj) => obj[key] == "0") != -1;
|