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