@annalib/anna-core 20.2.32 → 20.2.33

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.
@@ -3181,6 +3181,7 @@ class AnnaColumnSliderFilterComponent {
3181
3181
  minValueChanged(val) {
3182
3182
  if (val || val == '0') {
3183
3183
  this.sliderEnteredMinValue = +val;
3184
+ this.sliderEnteredMaxValue = this.sliderMaxValue;
3184
3185
  this.isMinTextBoxEmpty = false;
3185
3186
  if (this.isMaxTextBoxEmpty) {
3186
3187
  if (this.sliderEnteredMinValue > this.options.ceil || this.sliderEnteredMinValue < this.options.floor) {
@@ -3228,12 +3229,13 @@ class AnnaColumnSliderFilterComponent {
3228
3229
  this.isMinTextBoxEmpty = true;
3229
3230
  this.showSliderMinValueError = false;
3230
3231
  }
3231
- this.sliderEnteredMaxValue = this.sliderMaxValue;
3232
3232
  this.showErrorForMinAndMaxValue();
3233
+ this.sliderEnteredMaxValue = this.sliderMaxValue;
3233
3234
  }
3234
3235
  maxValueChanged(val) {
3235
3236
  if (val || val == '0') {
3236
3237
  this.sliderEnteredMaxValue = +val;
3238
+ this.sliderEnteredMinValue = this.sliderMinValue;
3237
3239
  this.isMaxTextBoxEmpty = false;
3238
3240
  if (this.isMinTextBoxEmpty) {
3239
3241
  if (this.sliderEnteredMaxValue < this.options.floor || this.sliderEnteredMaxValue > this.options.ceil) {
@@ -3956,8 +3958,8 @@ class AnnaNonEditableGenericTableComponent {
3956
3958
  this.tooltipRadioTextMap.set('dollarRTGImpact', '$ RTG IMPACT');
3957
3959
  this.tooltipRadioTextMap.set('IMPSImpact', "IMPS ('000) IMPACT");
3958
3960
  this.tooltipRadioTextMap.set('RTGImpact', 'RTG Impact');
3959
- this.tooltipRadioTextMap.set('inventoryFillPercentageSameWeek', 'Inv Fill Same Week');
3960
- this.tooltipRadioTextMap.set('inventoryFillPercentageFinal', 'Inv Fill Final');
3961
+ this.tooltipRadioTextMap.set('inventoryFillPercentageSameWeek', 'Inv Fill Same Week (LY)');
3962
+ this.tooltipRadioTextMap.set('inventoryFillPercentageFinal', 'Inv Fill Final (LY)');
3961
3963
  this.tooltipRadioTextMap.set('projectedRTG', 'Projected RTG');
3962
3964
  this.tooltipRadioTextMap.set('projectedIMPS', "Projected IMPS('000)");
3963
3965
  this.tooltipRadioTextMap.set('desiredCPM', 'Desired CPM');
@@ -4306,13 +4308,14 @@ class AnnaNonEditableGenericTableComponent {
4306
4308
  const elements = document.getElementsByClassName('remarks-info-tooltip');
4307
4309
  // const tooltipElements = document.getElementsByClassName("tooltip");
4308
4310
  const gtTooltip = document.getElementsByClassName('remove-on-scroll-class');
4309
- document.querySelectorAll(".tooltip:not(.keep-on-scroll-tooltip)").forEach(e => {
4310
- e.remove();
4311
- this.tooltip = null;
4312
- });
4311
+ const tooltipElements = document.getElementsByClassName('tooltip');
4313
4312
  while (elements && elements.length > 0) {
4314
4313
  elements[0].remove();
4315
4314
  }
4315
+ while (tooltipElements && tooltipElements.length > 0) {
4316
+ tooltipElements[0].remove();
4317
+ this.tooltip = null;
4318
+ }
4316
4319
  while (gtTooltip && gtTooltip.length > 0) {
4317
4320
  gtTooltip[0].remove();
4318
4321
  }