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