@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.
- package/esm2020/lib/anna-core-shared-lib/services/anna-filter.service.mjs +15 -6
- package/esm2020/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +14 -1
- package/fesm2015/annalib-anna-core.mjs +27 -5
- package/fesm2015/annalib-anna-core.mjs.map +1 -1
- package/fesm2020/annalib-anna-core.mjs +27 -5
- package/fesm2020/annalib-anna-core.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1289,9 +1289,17 @@ class AnnaFilterService {
|
|
|
1289
1289
|
"userChanges",
|
|
1290
1290
|
"userMG",
|
|
1291
1291
|
"WeeklyAUR",
|
|
1292
|
-
"WeeklyAURatingOrImpressions"
|
|
1292
|
+
"WeeklyAURatingOrImpressions",
|
|
1293
|
+
"ApprovedMGsValue",
|
|
1294
|
+
"ApprovedADUsValue",
|
|
1295
|
+
"BuyerChangesValue",
|
|
1296
|
+
"UserChangesValue",
|
|
1297
|
+
"BookedGRPOrIMPS",
|
|
1298
|
+
"BookedCPPOrCPM",
|
|
1299
|
+
"BookedValue",
|
|
1300
|
+
"BookedSpots"
|
|
1293
1301
|
];
|
|
1294
|
-
const calendarArr = ["period", "AirDate", "flightStartDate", "flightEndDate", "date", "startDate", "endDate", "revisionStartDate"];
|
|
1302
|
+
const calendarArr = ["period", "AirDate", "flightStartDate", "flightEndDate", "date", "startDate", "endDate", "revisionStartDate", "GeneratedOn"];
|
|
1295
1303
|
const timeArr = ["StartTimeForFilter", "EndTimeForFilter", "time",
|
|
1296
1304
|
"start_time_for_filter", "end_time_for_filter", "startEndTimeMulti", "startEndTime"];
|
|
1297
1305
|
this.sliderSet = new Set(sliderArr);
|
|
@@ -1379,7 +1387,8 @@ class AnnaFilterService {
|
|
|
1379
1387
|
this.selectedRadio === "flightStartDate" ||
|
|
1380
1388
|
this.selectedRadio === "flightEndDate" ||
|
|
1381
1389
|
this.selectedRadio == "date" ||
|
|
1382
|
-
this.selectedRadio == "revisionStartDate"
|
|
1390
|
+
this.selectedRadio == "revisionStartDate" ||
|
|
1391
|
+
this.selectedRadio == "GeneratedOn") {
|
|
1383
1392
|
isFiltered =
|
|
1384
1393
|
!isEqual(this.initialValueMap.get(this.selectedRadio), this.tooltipSelectedMap.get(this.selectedRadio)) &&
|
|
1385
1394
|
!isEqual(this.tooltipSelectedMap.get(this.selectedRadio), this.flightDateRange);
|
|
@@ -1415,7 +1424,7 @@ class AnnaFilterService {
|
|
|
1415
1424
|
if (this.sliderSet.has(key)) {
|
|
1416
1425
|
filteredData = filteredData.filter((obj) => obj[key] >= value.min && obj[key] <= value.max);
|
|
1417
1426
|
}
|
|
1418
|
-
else if (key === "startDate" || key === "endDate" || key === "AirDate" || key === "flightStartDate" || key === "flightEndDate" || key == "date" || key == "revisionStartDate") {
|
|
1427
|
+
else if (key === "startDate" || key === "endDate" || key === "AirDate" || key === "flightStartDate" || key === "flightEndDate" || key == "date" || key == "revisionStartDate" || key == "GeneratedOn") {
|
|
1419
1428
|
filteredData = filteredData.filter((obj) => this.isObjectInTheRange(obj, value, key));
|
|
1420
1429
|
}
|
|
1421
1430
|
else if (key === "period") {
|
|
@@ -1588,7 +1597,7 @@ class AnnaFilterService {
|
|
|
1588
1597
|
if (this.sliderSet.has(key)) {
|
|
1589
1598
|
filteredData = filteredData.filter((obj) => obj[key] >= value.min && obj[key] <= value.max);
|
|
1590
1599
|
}
|
|
1591
|
-
else if (key === "startDate" || key === "endDate" || key === "AirDate" || key === "flightStartDate" || key === "flightEndDate" || key == "date" || key == "revisionStartDate") {
|
|
1600
|
+
else if (key === "startDate" || key === "endDate" || key === "AirDate" || key === "flightStartDate" || key === "flightEndDate" || key == "date" || key == "revisionStartDate" || key == "GeneratedOn") {
|
|
1592
1601
|
filteredData = filteredData.filter((obj) => this.isObjectInTheRange(obj, value, key));
|
|
1593
1602
|
}
|
|
1594
1603
|
else if (key === "period") {
|
|
@@ -1930,6 +1939,19 @@ class AnnaNonEditableGenericTableComponent {
|
|
|
1930
1939
|
this.tooltipRadioTextMap.set("udGrpPercent", "UD GRP %");
|
|
1931
1940
|
this.tooltipRadioTextMap.set("odImpsPercent", "OD IMPS %");
|
|
1932
1941
|
this.tooltipRadioTextMap.set("odGrpPercent", "OD GRP %");
|
|
1942
|
+
this.tooltipRadioTextMap.set("RevisionNumber", "Revision #");
|
|
1943
|
+
this.tooltipRadioTextMap.set("RevisionType", "Revision Type");
|
|
1944
|
+
this.tooltipRadioTextMap.set("GeneratedOn", "Generated On");
|
|
1945
|
+
this.tooltipRadioTextMap.set("BookedValueForDisplay", "$ BOOKED");
|
|
1946
|
+
this.tooltipRadioTextMap.set("BookedSpots", "Spots");
|
|
1947
|
+
this.tooltipRadioTextMap.set("BookedGRP", "Rating");
|
|
1948
|
+
this.tooltipRadioTextMap.set("BookedIMPS", "IMPS'(000)");
|
|
1949
|
+
this.tooltipRadioTextMap.set("BookedCPP", "CPP");
|
|
1950
|
+
this.tooltipRadioTextMap.set("BookedCPM", "CPM");
|
|
1951
|
+
this.tooltipRadioTextMap.set("ApprovedMGsValueForDisplay", "$ Approved MGS");
|
|
1952
|
+
this.tooltipRadioTextMap.set("ApprovedADUsValueForDisplay", "$ Approved ADUS");
|
|
1953
|
+
this.tooltipRadioTextMap.set("BuyerChangesValueForDisplay", "$ Buyer Change");
|
|
1954
|
+
this.tooltipRadioTextMap.set("UserChangesValueForDisplay", "$ Seller user Change");
|
|
1933
1955
|
}
|
|
1934
1956
|
generateTableDataWrapper() {
|
|
1935
1957
|
this.showSkeletonLoading = true;
|