@annalib/anna-core 20.0.10 → 20.0.12

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.
@@ -1451,14 +1451,12 @@ class AnnaFilterService {
1451
1451
  "ViolatedBookedEURValue",
1452
1452
  "ViolatingBookedEURValue",
1453
1453
  "ViolatingBookedValue",
1454
- "Rebate",
1455
- "OtherAvailableSpotsTableWeeklyAUR"
1454
+ "Rebate"
1456
1455
  ];
1457
1456
  const calendarArr = ["period", "AirDate", "flightStartDate", "flightEndDate", "date",
1458
1457
  "startDate", "endDate", "revisionStartDate", "GeneratedOn", "Week", "timeoutDate"];
1459
1458
  const timeArr = ["StartTimeForFilter", "EndTimeForFilter", "time", "startTimeForFilter", "endTimeForFilter",
1460
- "start_time_for_filter", "end_time_for_filter", "startEndTimeMulti", "startEndTime", "timeoutTime", "OtherAvailableSpotsTableStartTime",
1461
- "OtherAvailableSpotsTableEndTime"];
1459
+ "start_time_for_filter", "end_time_for_filter", "startEndTimeMulti", "startEndTime", "timeoutTime", "OtherAvailableSpotsTableStartTime"];
1462
1460
  this.sliderSet = new Set(sliderArr);
1463
1461
  this.calendarSet = new Set(calendarArr);
1464
1462
  this.timeSet = new Set(timeArr);
@@ -1524,7 +1522,6 @@ class AnnaFilterService {
1524
1522
  else if (this.selectedRadio == "StartTimeForFilter" || this.selectedRadio == "EndTimeForFilter" ||
1525
1523
  this.selectedRadio == "startTimeForFilter" || this.selectedRadio == "endTimeForFilter" ||
1526
1524
  this.selectedRadio == "time" || this.selectedRadio == "timeoutTime" || this.selectedRadio == "OtherAvailableSpotsTableStartTime"
1527
- || this.selectedRadio == "OtherAvailableSpotsTableEndTime"
1528
1525
  || this.selectedRadio == "start_time_for_filter" || this.selectedRadio == "end_time_for_filter" || this.selectedRadio == "startEndTimeMulti") {
1529
1526
  isFiltered = !isEqual(this.initialValueMap.get(this.selectedRadio), this.tooltipSelectedMap.get(this.selectedRadio)) || !this.includeZeroTime || !this.includeMultiTime;
1530
1527
  }
@@ -1610,7 +1607,6 @@ class AnnaFilterService {
1610
1607
  }
1611
1608
  else if (key === "StartTimeForFilter" || key === "EndTimeForFilter" || key == "timeoutTime" ||
1612
1609
  key === "startTimeForFilter" || key === "endTimeForFilter" || key === "OtherAvailableSpotsTableStartTime"
1613
- || key == "OtherAvailableSpotsTableEndTime"
1614
1610
  || key === "start_time_for_filter" || key === "end_time_for_filter" || key == "time") {
1615
1611
  filteredData = filteredData.filter((obj) => this.returnDataForFromAndToTimeRange(obj, value, key));
1616
1612
  }
@@ -1785,8 +1781,7 @@ class AnnaFilterService {
1785
1781
  filteredData = filteredData.filter((obj) => this.getDataInTheDateRange(obj, value, key));
1786
1782
  }
1787
1783
  else if (key === "StartTimeForFilter" || key === "EndTimeForFilter" || key == "timeoutTime" || key === "startTimeForFilter" || key === "endTimeForFilter"
1788
- || key === "start_time_for_filter" || key === "end_time_for_filter" || key == "time" || key == "OtherAvailableSpotsTableStartTime"
1789
- || key == "OtherAvailableSpotsTableEndTime") {
1784
+ || key === "start_time_for_filter" || key === "end_time_for_filter" || key == "time" || key == "OtherAvailableSpotsTableStartTime") {
1790
1785
  filteredData = filteredData.filter((obj) => this.returnDataForFromAndToTimeRange(obj, value, key));
1791
1786
  }
1792
1787
  else if (key === "startEndTimeMulti" || key == "startEndTime" || key === "TimeBand") {
@@ -2407,10 +2402,10 @@ class AnnaFilterService {
2407
2402
  }
2408
2403
  }
2409
2404
  isHourValueInvalid(hr) {
2410
- return (hr.length == 0 || !+(hr) || 1 > parseInt(hr) || parseInt(hr) > 12 || hr.includes('.'));
2405
+ return (hr.length == 0 || !+(hr) || 1 > parseInt(hr) || parseInt(hr) > 12);
2411
2406
  }
2412
2407
  isMinuteValueInvalid(min) {
2413
- return (min.length != 2 || (!+(min) && min != "00") || 0 > parseInt(min) || parseInt(min) > 59 || min.includes('.'));
2408
+ return (min.length != 2 || (!+(min) && min != "00") || 0 > parseInt(min) || parseInt(min) > 59);
2414
2409
  }
2415
2410
  //=============================================================SORT======================================================================//
2416
2411
  updateSortMap(tempSortOrder, tableData, isLurAndCsrComponent) {
@@ -2430,14 +2425,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
2430
2425
  }]
2431
2426
  }], ctorParameters: function () { return [{ type: AnnaDateTimeFormatService }, { type: AnnaSortService }]; } });
2432
2427
 
2433
- var UserActivationStatus;
2434
- (function (UserActivationStatus) {
2435
- UserActivationStatus["activationEmailSent"] = "ActivationEmailSent";
2436
- UserActivationStatus["activationEmailReSent"] = "ActivationEmailResent";
2437
- UserActivationStatus["ResendActivationEmail"] = "ResendActivationEmail";
2438
- UserActivationStatus["lastSignedIn"] = "LastSignedIn";
2439
- })(UserActivationStatus || (UserActivationStatus = {}));
2440
-
2441
2428
  // Angular import statements
2442
2429
  //Add onChange push change detection
2443
2430
  class AnnaSortComponent {
@@ -3516,7 +3503,6 @@ class AnnaNonEditableGenericTableComponent {
3516
3503
  this.start = 0;
3517
3504
  this.end = this.limit + this.start;
3518
3505
  this.isNoDataToDisplaySubject$ = new BehaviorSubject(false);
3519
- this.UserActivationStatus = UserActivationStatus;
3520
3506
  this.textActionTooltip = [];
3521
3507
  this.tooltipContainingTable = null;
3522
3508
  this.tableBottomBorderClass = null;
@@ -5324,12 +5310,9 @@ class DigitOnlyDirective {
5324
5310
  return this.inputElement.value.substring(this.inputElement.selectionStart ?? 0, this.inputElement.selectionEnd ?? 0);
5325
5311
  }
5326
5312
  forecastValue(key) {
5327
- const selectionStart = this.inputElement.selectionStart;
5328
- const selectionEnd = this.inputElement.selectionEnd;
5313
+ const selectionStart = this.inputElement.selectionStart ?? 0;
5314
+ const selectionEnd = this.inputElement.selectionEnd ?? 0;
5329
5315
  const oldValue = this.inputElement.value;
5330
- if (selectionStart == null && selectionEnd == null) {
5331
- return (oldValue + key);
5332
- }
5333
5316
  return (oldValue.substring(0, selectionStart) +
5334
5317
  key +
5335
5318
  oldValue.substring(selectionEnd));
@@ -5776,5 +5759,5 @@ OrderSources.WOZ = "WOZ";
5776
5759
  * Generated bundle index. Do not edit.
5777
5760
  */
5778
5761
 
5779
- export { AllSelectedStatus, AnnaBuyerApprovalIconTemplateComponent, AnnaCalendarFilterComponent, AnnaColumnCheckboxFilterComponent, AnnaColumnDateRangeFilterComponent, AnnaColumnSliderFilterComponent, AnnaColumnTimeFilterComponent, AnnaConvertZeroOrNullOrUndefinedPipe, AnnaCoreModule, AnnaDateFormatterPipe, AnnaDateTimeFormatService, AnnaDeletedOrderIconTemplateComponent, AnnaFilterSearchedTextPipe, AnnaFilterService, AnnaFixedRowSizeTableVirtualScrollStrategy, AnnaFixedRowSizeTableVirtualScrollStrategyDirective, AnnaGlobalConfigService, AnnaGtHelperService, AnnaIconColumnComponent, AnnaLiveIconTemplateComponent, AnnaNoDataComponent, AnnaNonEditableGenericTableComponent, AnnaNotifyIconTemplateComponent, AnnaNumberFormatService, AnnaPayForPerformanceIconTemplateComponent, AnnaPersistingFilterService, AnnaRejectedIconTemplateComponent, AnnaReplaceCharPipe, AnnaSortComponent, AnnaSortService, AnnaTableVirtualScrollViewportComponent, AnnaTypeofDataPipe, AnnaVirtualTableDirective, AnnaWeekCalendarComponent, ClickableItem, Constants, Days, DigitOnlyDirective, ErrorCodes, FixedRowsPopupTableDirective, OrderSources, SortTypeEnum, TooltipModel, UserActivationStatus, fixedSizeVirtualScrollStrategyFactory, radioButtonModel, showEllipsisTextOnHoverDirective, tooltipModelForColumnLevelFiltering };
5762
+ export { AllSelectedStatus, AnnaBuyerApprovalIconTemplateComponent, AnnaCalendarFilterComponent, AnnaColumnCheckboxFilterComponent, AnnaColumnDateRangeFilterComponent, AnnaColumnSliderFilterComponent, AnnaColumnTimeFilterComponent, AnnaConvertZeroOrNullOrUndefinedPipe, AnnaCoreModule, AnnaDateFormatterPipe, AnnaDateTimeFormatService, AnnaDeletedOrderIconTemplateComponent, AnnaFilterSearchedTextPipe, AnnaFilterService, AnnaFixedRowSizeTableVirtualScrollStrategy, AnnaFixedRowSizeTableVirtualScrollStrategyDirective, AnnaGlobalConfigService, AnnaGtHelperService, AnnaIconColumnComponent, AnnaLiveIconTemplateComponent, AnnaNoDataComponent, AnnaNonEditableGenericTableComponent, AnnaNotifyIconTemplateComponent, AnnaNumberFormatService, AnnaPayForPerformanceIconTemplateComponent, AnnaPersistingFilterService, AnnaRejectedIconTemplateComponent, AnnaReplaceCharPipe, AnnaSortComponent, AnnaSortService, AnnaTableVirtualScrollViewportComponent, AnnaTypeofDataPipe, AnnaVirtualTableDirective, AnnaWeekCalendarComponent, ClickableItem, Constants, Days, DigitOnlyDirective, ErrorCodes, FixedRowsPopupTableDirective, OrderSources, SortTypeEnum, TooltipModel, fixedSizeVirtualScrollStrategyFactory, radioButtonModel, showEllipsisTextOnHoverDirective, tooltipModelForColumnLevelFiltering };
5780
5763
  //# sourceMappingURL=annalib-anna-core.mjs.map