@annalib/anna-core 12.3.0 → 12.3.4

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.
@@ -1950,7 +1950,7 @@ class AnnaNonEditableGenericTableComponent {
1950
1950
  this.tooltipRadioTextMap.set("audienceDeficit", "$ O/S Audience");
1951
1951
  this.tooltipRadioTextMap.set("postedAudPercent", "Posted Audience %");
1952
1952
  this.tooltipRadioTextMap.set("potentialUnitsValue", "POT Units");
1953
- this.tooltipRadioTextMap.set("bookedUnitsValue", "Booked Units");
1953
+ this.tooltipRadioTextMap.set("bookedUnitsValue", "Booked Eq Units");
1954
1954
  this.tooltipRadioTextMap.set("bookedAmountWithZeroRatingValue", "Total $ Booked");
1955
1955
  this.tooltipRadioTextMap.set("bookedAmountPercentageWithZeroRatingValue", "% Against All Demos");
1956
1956
  this.tooltipRadioTextMap.set("bookedAmountWithoutZeroRatingValue", "$Booked With Imps(’000)");
@@ -2321,8 +2321,8 @@ class AnnaNonEditableGenericTableComponent {
2321
2321
  }
2322
2322
  getCheckboxData(header) {
2323
2323
  let tooltipOptions = this.createListForCheckboxFilter(header);
2324
- let selectedItems = sortBy(tooltipOptions.filter(item => item.isSelected), "label");
2325
- let unselectedItems = sortBy(tooltipOptions.filter(item => !item.isSelected), "label");
2324
+ let selectedItems = sortBy(tooltipOptions.filter(item => item.isSelected), "value");
2325
+ let unselectedItems = sortBy(tooltipOptions.filter(item => !item.isSelected), "value");
2326
2326
  this.clonedTooltipOptions = [...selectedItems, ...unselectedItems];
2327
2327
  this.tooltipOptions = cloneDeep(this.clonedTooltipOptions);
2328
2328
  let margin = 5;
@@ -3578,10 +3578,14 @@ class AnnaNonEditableGenericTableComponent {
3578
3578
  }
3579
3579
  removeTooltipOnScroll() {
3580
3580
  const elements = document.getElementsByClassName("remarks-info-tooltip");
3581
+ const tooltipElements = document.getElementsByClassName("tooltip");
3581
3582
  const gtTooltip = document.getElementsByClassName("remove-on-scroll-class");
3582
3583
  while (elements && elements.length > 0) {
3583
3584
  elements[0].remove();
3584
3585
  }
3586
+ while (tooltipElements && tooltipElements.length > 0) {
3587
+ tooltipElements[0].remove();
3588
+ }
3585
3589
  while (gtTooltip && gtTooltip.length > 0) {
3586
3590
  gtTooltip[0].remove();
3587
3591
  }