@annalib/anna-core 4.2.6 → 4.2.7

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.
@@ -1179,7 +1179,21 @@ class AnnaFilterService {
1179
1179
  this.tooltipMap = new Map();
1180
1180
  this.tooltipSelectedMap = new Map();
1181
1181
  this.appliedFiltersArray = [];
1182
- this.sliderCurrencySet = new Set(["booked", "cpp", "cpm", "rcvPreempt", "osPreempt", "postedAdu", "scheduledAdu", "audienceDeficit", "Rate"]);
1182
+ this.sliderCurrencySet = new Set([
1183
+ 'booked',
1184
+ 'cpp',
1185
+ 'cpm',
1186
+ 'rcvPreempt',
1187
+ 'osPreempt',
1188
+ 'postedAdu',
1189
+ 'scheduledAdu',
1190
+ 'audienceDeficit',
1191
+ 'Rate',
1192
+ 'userADUs',
1193
+ 'buyerChanges',
1194
+ 'userChanges',
1195
+ 'userMG',
1196
+ ]);
1183
1197
  this.isFilterSortActive = null;
1184
1198
  this.percentTranslateFunction = (data) => {
1185
1199
  const val = data.toFixed(1) + "%";
@@ -2429,12 +2443,6 @@ class AnnaNonEditableGenericTableComponent {
2429
2443
  this.disableSliderApplyButton = true;
2430
2444
  this.incorrectSliderInput = true;
2431
2445
  }
2432
- else if (this.showSliderMaxValueError || this.showSliderMinValueError) {
2433
- this.incorrectSliderInput = true;
2434
- }
2435
- else {
2436
- this.incorrectSliderInput = false;
2437
- }
2438
2446
  this.disableSliderApplyBtn();
2439
2447
  }
2440
2448
  isValueInRange(val) {
@@ -3274,6 +3282,10 @@ class AnnaNonEditableGenericTableComponent {
3274
3282
  const tableViewHeight = e.target.offsetHeight; // viewport
3275
3283
  const tableScrollHeight = e.target.scrollHeight; // length of all table
3276
3284
  const scrollLocation = e.target.scrollTop; // how far user scrolled
3285
+ const elements = document.getElementsByClassName("remarks-info-tooltip");
3286
+ while (elements.length > 0) {
3287
+ elements[0].remove();
3288
+ }
3277
3289
  // If the user has scrolled within 150px of the bottom, add more data
3278
3290
  const buffer = 150;
3279
3291
  const limit = tableScrollHeight - tableViewHeight - buffer;