@annalib/anna-core 35.4.0 → 35.5.0
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,6 +1843,8 @@ class AnnaFilterService {
|
|
|
1835
1843
|
"bookedVal",
|
|
1836
1844
|
"ModifiedCpm",
|
|
1837
1845
|
"ModifiedCpp",
|
|
1846
|
+
"Cpm",
|
|
1847
|
+
"Cpp",
|
|
1838
1848
|
]);
|
|
1839
1849
|
this.isFilterSortActive = {};
|
|
1840
1850
|
this.resetFilterSortActiveStatus = true;
|
|
@@ -2070,7 +2080,11 @@ class AnnaFilterService {
|
|
|
2070
2080
|
"actualImpressions",
|
|
2071
2081
|
"totalAmount",
|
|
2072
2082
|
"totalImps",
|
|
2073
|
-
"totalGrp"
|
|
2083
|
+
"totalGrp",
|
|
2084
|
+
"BookedNormalizedRating",
|
|
2085
|
+
"BookedNormalizedImps",
|
|
2086
|
+
"Cpp",
|
|
2087
|
+
"Cpm",
|
|
2074
2088
|
];
|
|
2075
2089
|
const calendarArr = [
|
|
2076
2090
|
"period",
|
|
@@ -3327,9 +3341,19 @@ class AnnaFilterService {
|
|
|
3327
3341
|
item.disableTooltipIcon = true;
|
|
3328
3342
|
item.filterSortObjectKeys.forEach((key) => {
|
|
3329
3343
|
const latestFilters = this.appliedFiltersArray;
|
|
3330
|
-
if (
|
|
3331
|
-
|
|
3332
|
-
|
|
3344
|
+
// if (
|
|
3345
|
+
// latestFilters.length > 0 &&
|
|
3346
|
+
// item.disableTooltipIcon &&
|
|
3347
|
+
// latestFilters[latestFilters.length - 1] === key
|
|
3348
|
+
// ) {
|
|
3349
|
+
// item.disableTooltipIcon = false;
|
|
3350
|
+
// }
|
|
3351
|
+
// Enable the tooltip icon if *any* filter is currently applied on this column
|
|
3352
|
+
// Earlier we were only enabling the icon when the column happened to be the **last**
|
|
3353
|
+
// applied filter. This caused scenarios where the icon became disabled when users
|
|
3354
|
+
// switched between easy-filters after applying a column filter (e.g. AIR DATE & TIME).
|
|
3355
|
+
// Now, as long as the column has an active filter, the icon will stay enabled.
|
|
3356
|
+
if (item.disableTooltipIcon && latestFilters.includes(key)) {
|
|
3333
3357
|
item.disableTooltipIcon = false;
|
|
3334
3358
|
}
|
|
3335
3359
|
if (item.disableTooltipIcon) {
|
|
@@ -5330,6 +5354,12 @@ class AnnaNonEditableGenericTableComponent {
|
|
|
5330
5354
|
this.tooltipRadioTextMap.set("smReviewedDateTime", "SM Reviewed At");
|
|
5331
5355
|
this.tooltipRadioTextMap.set("sentForEntryBy", "Sent For Entry By");
|
|
5332
5356
|
this.tooltipRadioTextMap.set("sentForEntryDateTime", "Sent For Entry At");
|
|
5357
|
+
this.tooltipRadioTextMap.set("sendForEcClickedAt", "Send For EC Clicked At");
|
|
5358
|
+
this.tooltipRadioTextMap.set("ecGridFileFetchedAt", "EC Grid File Fetched At");
|
|
5359
|
+
this.tooltipRadioTextMap.set("jsonSentForEntryAt", "Json Sent For Entry At");
|
|
5360
|
+
this.tooltipRadioTextMap.set("entryCompletedAt", "Entry Completed At");
|
|
5361
|
+
this.tooltipRadioTextMap.set("orderConfirmedAt", "Order Confirmed At");
|
|
5362
|
+
this.tooltipRadioTextMap.set("linesSentForEdit", "Lines Sent For Edit At");
|
|
5333
5363
|
this.tooltipRadioTextMap.set("bookedDps", "Booked DPs");
|
|
5334
5364
|
this.tooltipRadioTextMap.set("totalBookedGrp", "Total Booked GRP");
|
|
5335
5365
|
this.tooltipRadioTextMap.set("totalBookedImps", "Total Booked IMPS");
|