@annalib/anna-core 8.0.12 → 8.0.14

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.
@@ -1299,9 +1299,17 @@ class AnnaFilterService {
1299
1299
  "userChanges",
1300
1300
  "userMG",
1301
1301
  "WeeklyAUR",
1302
- "WeeklyAURatingOrImpressions"
1302
+ "WeeklyAURatingOrImpressions",
1303
+ "ApprovedMGsValue",
1304
+ "ApprovedADUsValue",
1305
+ "BuyerChangesValue",
1306
+ "UserChangesValue",
1307
+ "BookedGRPOrIMPS",
1308
+ "BookedCPPOrCPM",
1309
+ "BookedValue",
1310
+ "BookedSpots"
1303
1311
  ];
1304
- const calendarArr = ["period", "AirDate", "flightStartDate", "flightEndDate", "date", "startDate", "endDate", "revisionStartDate"];
1312
+ const calendarArr = ["period", "AirDate", "flightStartDate", "flightEndDate", "date", "startDate", "endDate", "revisionStartDate", "GeneratedOn"];
1305
1313
  const timeArr = ["StartTimeForFilter", "EndTimeForFilter", "time",
1306
1314
  "start_time_for_filter", "end_time_for_filter", "startEndTimeMulti", "startEndTime"];
1307
1315
  this.sliderSet = new Set(sliderArr);
@@ -1389,7 +1397,8 @@ class AnnaFilterService {
1389
1397
  this.selectedRadio === "flightStartDate" ||
1390
1398
  this.selectedRadio === "flightEndDate" ||
1391
1399
  this.selectedRadio == "date" ||
1392
- this.selectedRadio == "revisionStartDate") {
1400
+ this.selectedRadio == "revisionStartDate" ||
1401
+ this.selectedRadio == "GeneratedOn") {
1393
1402
  isFiltered =
1394
1403
  !isEqual(this.initialValueMap.get(this.selectedRadio), this.tooltipSelectedMap.get(this.selectedRadio)) &&
1395
1404
  !isEqual(this.tooltipSelectedMap.get(this.selectedRadio), this.flightDateRange);
@@ -1425,7 +1434,7 @@ class AnnaFilterService {
1425
1434
  if (this.sliderSet.has(key)) {
1426
1435
  filteredData = filteredData.filter((obj) => obj[key] >= value.min && obj[key] <= value.max);
1427
1436
  }
1428
- else if (key === "startDate" || key === "endDate" || key === "AirDate" || key === "flightStartDate" || key === "flightEndDate" || key == "date" || key == "revisionStartDate") {
1437
+ else if (key === "startDate" || key === "endDate" || key === "AirDate" || key === "flightStartDate" || key === "flightEndDate" || key == "date" || key == "revisionStartDate" || key == "GeneratedOn") {
1429
1438
  filteredData = filteredData.filter((obj) => this.isObjectInTheRange(obj, value, key));
1430
1439
  }
1431
1440
  else if (key === "period") {
@@ -1598,7 +1607,7 @@ class AnnaFilterService {
1598
1607
  if (this.sliderSet.has(key)) {
1599
1608
  filteredData = filteredData.filter((obj) => obj[key] >= value.min && obj[key] <= value.max);
1600
1609
  }
1601
- else if (key === "startDate" || key === "endDate" || key === "AirDate" || key === "flightStartDate" || key === "flightEndDate" || key == "date" || key == "revisionStartDate") {
1610
+ else if (key === "startDate" || key === "endDate" || key === "AirDate" || key === "flightStartDate" || key === "flightEndDate" || key == "date" || key == "revisionStartDate" || key == "GeneratedOn") {
1602
1611
  filteredData = filteredData.filter((obj) => this.isObjectInTheRange(obj, value, key));
1603
1612
  }
1604
1613
  else if (key === "period") {
@@ -1932,6 +1941,19 @@ class AnnaNonEditableGenericTableComponent {
1932
1941
  this.tooltipRadioTextMap.set("udGrpPercent", "UD GRP %");
1933
1942
  this.tooltipRadioTextMap.set("odImpsPercent", "OD IMPS %");
1934
1943
  this.tooltipRadioTextMap.set("odGrpPercent", "OD GRP %");
1944
+ this.tooltipRadioTextMap.set("RevisionNumber", "Revision #");
1945
+ this.tooltipRadioTextMap.set("RevisionType", "Revision Type");
1946
+ this.tooltipRadioTextMap.set("GeneratedOn", "Generated On");
1947
+ this.tooltipRadioTextMap.set("BookedValueForDisplay", "$ BOOKED");
1948
+ this.tooltipRadioTextMap.set("BookedSpots", "Spots");
1949
+ this.tooltipRadioTextMap.set("BookedGRP", "Rating");
1950
+ this.tooltipRadioTextMap.set("BookedIMPS", "IMPS'(000)");
1951
+ this.tooltipRadioTextMap.set("BookedCPP", "CPP");
1952
+ this.tooltipRadioTextMap.set("BookedCPM", "CPM");
1953
+ this.tooltipRadioTextMap.set("ApprovedMGsValueForDisplay", "$ Approved MGS");
1954
+ this.tooltipRadioTextMap.set("ApprovedADUsValueForDisplay", "$ Approved ADUS");
1955
+ this.tooltipRadioTextMap.set("BuyerChangesValueForDisplay", "$ Buyer Change");
1956
+ this.tooltipRadioTextMap.set("UserChangesValueForDisplay", "$ Seller user Change");
1935
1957
  }
1936
1958
  generateTableDataWrapper() {
1937
1959
  this.showSkeletonLoading = true;