@annalib/anna-core 35.0.18 → 35.0.20
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.
|
@@ -570,7 +570,15 @@ class ShowEllipsisTextOnHoverDirective {
|
|
|
570
570
|
}
|
|
571
571
|
onMouseEnter() {
|
|
572
572
|
const domElement = this.elementRef.nativeElement;
|
|
573
|
-
|
|
573
|
+
const clone = document.createElement('span');
|
|
574
|
+
clone.style.visibility = 'hidden';
|
|
575
|
+
clone.style.whiteSpace = 'nowrap';
|
|
576
|
+
clone.style.position = 'absolute';
|
|
577
|
+
clone.style.font = window?.getComputedStyle(domElement)?.font;
|
|
578
|
+
clone.textContent = domElement.textContent;
|
|
579
|
+
document.body.appendChild(clone);
|
|
580
|
+
const fullWidth = clone.offsetWidth;
|
|
581
|
+
if (domElement.offsetWidth < domElement.scrollWidth || this.checkPositionsInDecimals(domElement) || fullWidth > domElement.offsetWidth) {
|
|
574
582
|
domElement.title = domElement.textContent === "" ? domElement.value : domElement.textContent;
|
|
575
583
|
}
|
|
576
584
|
else if (domElement.title)
|
|
@@ -1835,8 +1843,6 @@ class AnnaFilterService {
|
|
|
1835
1843
|
"bookedVal",
|
|
1836
1844
|
"ModifiedCpm",
|
|
1837
1845
|
"ModifiedCpp",
|
|
1838
|
-
"Cpm",
|
|
1839
|
-
"Cpp",
|
|
1840
1846
|
]);
|
|
1841
1847
|
this.isFilterSortActive = {};
|
|
1842
1848
|
this.resetFilterSortActiveStatus = true;
|
|
@@ -2072,11 +2078,7 @@ class AnnaFilterService {
|
|
|
2072
2078
|
"actualImpressions",
|
|
2073
2079
|
"totalAmount",
|
|
2074
2080
|
"totalImps",
|
|
2075
|
-
"totalGrp"
|
|
2076
|
-
"BookedNormalizedRating",
|
|
2077
|
-
"BookedNormalizedImps",
|
|
2078
|
-
"Cpp",
|
|
2079
|
-
"Cpm",
|
|
2081
|
+
"totalGrp"
|
|
2080
2082
|
];
|
|
2081
2083
|
const calendarArr = [
|
|
2082
2084
|
"period",
|