@annalib/anna-core 12.10.4 → 12.10.8

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.
@@ -197,10 +197,10 @@ class AnnaIconColumnComponent {
197
197
  }
198
198
  }
199
199
  AnnaIconColumnComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AnnaIconColumnComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
200
- AnnaIconColumnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: AnnaIconColumnComponent, selector: "anna-core-anna-icon-column", inputs: { componentName: "componentName", iconToShow: "iconToShow", dataObject: "dataObject" }, outputs: { onColumnIconClicked: "onColumnIconClicked" }, ngImport: i0, template: "<!-- <ng-container *ngIf=\"componentName == 'ORDER_LISTING_INFLIGHT'\">\r\n <ng-container *ngIf=\"(objectKey == 'payForPerformance' && dataObject.showPFPViewOnlyModeForBuyer); else showPFPForSellerSide\">\r\n <span *ngIf=\"dataObject.payForPerformance\" class=\"cursor-not-allowed\" (click)=\"$event.stopPropagation()\">\r\n <anna-pay-for-performance-icon-template [color]=\"PfpIconActiveColor\" [width]=\"'15px'\" [height]=\"'15px'\">\r\n </anna-pay-for-performance-icon-template>\r\n </span>\r\n </ng-container>\r\n\r\n <ng-template #showPFPForSellerSide>\r\n <span\r\n *ngIf=\"(dataObject.payForPerformance && dataObject.orderCategory == 'TV Revenue' && objectKey == 'payForPerformance')\"\r\n class=\"cursor-not-allowed\" (click)=\"$event.stopPropagation()\">\r\n <anna-pay-for-performance-icon-template [color]=\"PfpIconActiveColor\" [width]=\"'15px'\" [height]=\"'15px'\">\r\n </anna-pay-for-performance-icon-template>\r\n </span>\r\n\r\n <span\r\n *ngIf=\"dataObject.orderStatus == 'UPCOMING' && dataObject.orderCategory == 'TV Revenue' && !dataObject.payForPerformance && objectKey == 'payForPerformance'\"\r\n (click)=\"svgIconClicked(dataObject,'payForPerformance')\">\r\n <anna-pay-for-performance-icon-template [color]=\"PfpIconDisableColor\" [width]=\"'15px'\" [height]=\"'15px'\">\r\n </anna-pay-for-performance-icon-template>\r\n </span>\r\n </ng-template>\r\n\r\n <anna-live-icon-template *ngIf=\"dataObject.orderStatus == 'LIVE' && objectKey == 'orderStatus' \"></anna-live-icon-template>\r\n</ng-container>\r\n\r\n<ng-container *ngIf=\"objectKey == 'bizRuleStatus'\">\r\n <anna-rejected-icon-template *ngIf=\"dataObject.bizRuleStatus == 'REJECTED'\"></anna-rejected-icon-template>\r\n <anna-notify-icon-template *ngIf=\"dataObject.bizRuleStatus == 'NOTIFY'\"></anna-notify-icon-template>\r\n <anna-buyer-approval-icon-template\r\n *ngIf=\"dataObject.bizRuleStatus == 'AWAITING_APPROVAL'\"></anna-buyer-approval-icon-template>\r\n</ng-container> -->\r\n<span\r\n *ngIf=\"iconToShow == 'PAY_FOR_PERFORMANCE_ACTIVE' \"\r\n class=\"cursor-not-allowed\"\r\n (click)=\"$event.stopPropagation()\"\r\n>\r\n <anna-pay-for-performance-icon-template\r\n [color]=\"PfpIconActiveColor\"\r\n [width]=\"'15px'\"\r\n [height]=\"'15px'\"\r\n >\r\n </anna-pay-for-performance-icon-template>\r\n</span>\r\n<span\r\n *ngIf=\"iconToShow == 'PAY_FOR_PERFORMANCE' \"\r\n (click)=\"svgIconClicked(dataObject,'payForPerformance')\"\r\n >\r\n <anna-pay-for-performance-icon-template\r\n [color]=\"PfpIconDisableColor\"\r\n [width]=\"'15px'\"\r\n [height]=\"'15px'\"\r\n >\r\n </anna-pay-for-performance-icon-template>\r\n</span>\r\n\r\n<anna-live-icon-template *ngIf=\"iconToShow == 'LIVE'\"></anna-live-icon-template>\r\n\r\n<anna-rejected-icon-template *ngIf=\"iconToShow == 'REJECTED'\"></anna-rejected-icon-template>\r\n<anna-notify-icon-template *ngIf=\"iconToShow == 'NOTIFY'\"></anna-notify-icon-template>\r\n<anna-buyer-approval-icon-template *ngIf=\"iconToShow == 'AWAITING_APPROVAL'\"></anna-buyer-approval-icon-template>\r\n<anna-deleted-order-icon-template *ngIf=\"iconToShow == 'DELETED_ORDER' \"></anna-deleted-order-icon-template>\r\n\r\n", styles: [".cursor-not-allowed{cursor:not-allowed!important}\n"], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: AnnaBuyerApprovalIconTemplateComponent, selector: "anna-buyer-approval-icon-template" }, { kind: "component", type: AnnaLiveIconTemplateComponent, selector: "anna-live-icon-template" }, { kind: "component", type: AnnaNotifyIconTemplateComponent, selector: "anna-notify-icon-template" }, { kind: "component", type: AnnaPayForPerformanceIconTemplateComponent, selector: "anna-pay-for-performance-icon-template", inputs: ["isTitle", "color", "width", "height"] }, { kind: "component", type: AnnaRejectedIconTemplateComponent, selector: "anna-rejected-icon-template" }, { kind: "component", type: AnnaDeletedOrderIconTemplateComponent, selector: "anna-deleted-order-icon-template" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
200
+ AnnaIconColumnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: AnnaIconColumnComponent, selector: "anna-core-anna-icon-column", inputs: { componentName: "componentName", iconToShow: "iconToShow", dataObject: "dataObject" }, outputs: { onColumnIconClicked: "onColumnIconClicked" }, ngImport: i0, template: "<span\r\n *ngIf=\"iconToShow == 'PAY_FOR_PERFORMANCE_ACTIVE' \"\r\n class=\"cursor-not-allowed\"\r\n (click)=\"$event.stopPropagation()\"\r\n>\r\n <anna-pay-for-performance-icon-template\r\n [color]=\"PfpIconActiveColor\"\r\n [width]=\"'15px'\"\r\n [height]=\"'15px'\"\r\n >\r\n </anna-pay-for-performance-icon-template>\r\n</span>\r\n<span\r\n *ngIf=\"iconToShow == 'PAY_FOR_PERFORMANCE' \"\r\n (click)=\"svgIconClicked(dataObject,'payForPerformance')\"\r\n >\r\n <anna-pay-for-performance-icon-template\r\n [color]=\"PfpIconDisableColor\"\r\n [width]=\"'15px'\"\r\n [height]=\"'15px'\"\r\n >\r\n </anna-pay-for-performance-icon-template>\r\n</span>\r\n\r\n<anna-live-icon-template *ngIf=\"iconToShow == 'LIVE'\"></anna-live-icon-template>\r\n\r\n<anna-rejected-icon-template *ngIf=\"iconToShow == 'REJECTED'\"></anna-rejected-icon-template>\r\n<anna-notify-icon-template *ngIf=\"iconToShow == 'NOTIFY'\"></anna-notify-icon-template>\r\n<anna-buyer-approval-icon-template *ngIf=\"iconToShow == 'AWAITING_APPROVAL'\"></anna-buyer-approval-icon-template>\r\n<anna-deleted-order-icon-template *ngIf=\"iconToShow == 'DELETED_ORDER' \"></anna-deleted-order-icon-template>\r\n\r\n", styles: [".cursor-not-allowed{cursor:not-allowed!important}\n"], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: AnnaBuyerApprovalIconTemplateComponent, selector: "anna-buyer-approval-icon-template" }, { kind: "component", type: AnnaLiveIconTemplateComponent, selector: "anna-live-icon-template" }, { kind: "component", type: AnnaNotifyIconTemplateComponent, selector: "anna-notify-icon-template" }, { kind: "component", type: AnnaPayForPerformanceIconTemplateComponent, selector: "anna-pay-for-performance-icon-template", inputs: ["isTitle", "color", "width", "height"] }, { kind: "component", type: AnnaRejectedIconTemplateComponent, selector: "anna-rejected-icon-template" }, { kind: "component", type: AnnaDeletedOrderIconTemplateComponent, selector: "anna-deleted-order-icon-template" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
201
201
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AnnaIconColumnComponent, decorators: [{
202
202
  type: Component,
203
- args: [{ selector: 'anna-core-anna-icon-column', changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- <ng-container *ngIf=\"componentName == 'ORDER_LISTING_INFLIGHT'\">\r\n <ng-container *ngIf=\"(objectKey == 'payForPerformance' && dataObject.showPFPViewOnlyModeForBuyer); else showPFPForSellerSide\">\r\n <span *ngIf=\"dataObject.payForPerformance\" class=\"cursor-not-allowed\" (click)=\"$event.stopPropagation()\">\r\n <anna-pay-for-performance-icon-template [color]=\"PfpIconActiveColor\" [width]=\"'15px'\" [height]=\"'15px'\">\r\n </anna-pay-for-performance-icon-template>\r\n </span>\r\n </ng-container>\r\n\r\n <ng-template #showPFPForSellerSide>\r\n <span\r\n *ngIf=\"(dataObject.payForPerformance && dataObject.orderCategory == 'TV Revenue' && objectKey == 'payForPerformance')\"\r\n class=\"cursor-not-allowed\" (click)=\"$event.stopPropagation()\">\r\n <anna-pay-for-performance-icon-template [color]=\"PfpIconActiveColor\" [width]=\"'15px'\" [height]=\"'15px'\">\r\n </anna-pay-for-performance-icon-template>\r\n </span>\r\n\r\n <span\r\n *ngIf=\"dataObject.orderStatus == 'UPCOMING' && dataObject.orderCategory == 'TV Revenue' && !dataObject.payForPerformance && objectKey == 'payForPerformance'\"\r\n (click)=\"svgIconClicked(dataObject,'payForPerformance')\">\r\n <anna-pay-for-performance-icon-template [color]=\"PfpIconDisableColor\" [width]=\"'15px'\" [height]=\"'15px'\">\r\n </anna-pay-for-performance-icon-template>\r\n </span>\r\n </ng-template>\r\n\r\n <anna-live-icon-template *ngIf=\"dataObject.orderStatus == 'LIVE' && objectKey == 'orderStatus' \"></anna-live-icon-template>\r\n</ng-container>\r\n\r\n<ng-container *ngIf=\"objectKey == 'bizRuleStatus'\">\r\n <anna-rejected-icon-template *ngIf=\"dataObject.bizRuleStatus == 'REJECTED'\"></anna-rejected-icon-template>\r\n <anna-notify-icon-template *ngIf=\"dataObject.bizRuleStatus == 'NOTIFY'\"></anna-notify-icon-template>\r\n <anna-buyer-approval-icon-template\r\n *ngIf=\"dataObject.bizRuleStatus == 'AWAITING_APPROVAL'\"></anna-buyer-approval-icon-template>\r\n</ng-container> -->\r\n<span\r\n *ngIf=\"iconToShow == 'PAY_FOR_PERFORMANCE_ACTIVE' \"\r\n class=\"cursor-not-allowed\"\r\n (click)=\"$event.stopPropagation()\"\r\n>\r\n <anna-pay-for-performance-icon-template\r\n [color]=\"PfpIconActiveColor\"\r\n [width]=\"'15px'\"\r\n [height]=\"'15px'\"\r\n >\r\n </anna-pay-for-performance-icon-template>\r\n</span>\r\n<span\r\n *ngIf=\"iconToShow == 'PAY_FOR_PERFORMANCE' \"\r\n (click)=\"svgIconClicked(dataObject,'payForPerformance')\"\r\n >\r\n <anna-pay-for-performance-icon-template\r\n [color]=\"PfpIconDisableColor\"\r\n [width]=\"'15px'\"\r\n [height]=\"'15px'\"\r\n >\r\n </anna-pay-for-performance-icon-template>\r\n</span>\r\n\r\n<anna-live-icon-template *ngIf=\"iconToShow == 'LIVE'\"></anna-live-icon-template>\r\n\r\n<anna-rejected-icon-template *ngIf=\"iconToShow == 'REJECTED'\"></anna-rejected-icon-template>\r\n<anna-notify-icon-template *ngIf=\"iconToShow == 'NOTIFY'\"></anna-notify-icon-template>\r\n<anna-buyer-approval-icon-template *ngIf=\"iconToShow == 'AWAITING_APPROVAL'\"></anna-buyer-approval-icon-template>\r\n<anna-deleted-order-icon-template *ngIf=\"iconToShow == 'DELETED_ORDER' \"></anna-deleted-order-icon-template>\r\n\r\n", styles: [".cursor-not-allowed{cursor:not-allowed!important}\n"] }]
203
+ args: [{ selector: 'anna-core-anna-icon-column', changeDetection: ChangeDetectionStrategy.OnPush, template: "<span\r\n *ngIf=\"iconToShow == 'PAY_FOR_PERFORMANCE_ACTIVE' \"\r\n class=\"cursor-not-allowed\"\r\n (click)=\"$event.stopPropagation()\"\r\n>\r\n <anna-pay-for-performance-icon-template\r\n [color]=\"PfpIconActiveColor\"\r\n [width]=\"'15px'\"\r\n [height]=\"'15px'\"\r\n >\r\n </anna-pay-for-performance-icon-template>\r\n</span>\r\n<span\r\n *ngIf=\"iconToShow == 'PAY_FOR_PERFORMANCE' \"\r\n (click)=\"svgIconClicked(dataObject,'payForPerformance')\"\r\n >\r\n <anna-pay-for-performance-icon-template\r\n [color]=\"PfpIconDisableColor\"\r\n [width]=\"'15px'\"\r\n [height]=\"'15px'\"\r\n >\r\n </anna-pay-for-performance-icon-template>\r\n</span>\r\n\r\n<anna-live-icon-template *ngIf=\"iconToShow == 'LIVE'\"></anna-live-icon-template>\r\n\r\n<anna-rejected-icon-template *ngIf=\"iconToShow == 'REJECTED'\"></anna-rejected-icon-template>\r\n<anna-notify-icon-template *ngIf=\"iconToShow == 'NOTIFY'\"></anna-notify-icon-template>\r\n<anna-buyer-approval-icon-template *ngIf=\"iconToShow == 'AWAITING_APPROVAL'\"></anna-buyer-approval-icon-template>\r\n<anna-deleted-order-icon-template *ngIf=\"iconToShow == 'DELETED_ORDER' \"></anna-deleted-order-icon-template>\r\n\r\n", styles: [".cursor-not-allowed{cursor:not-allowed!important}\n"] }]
204
204
  }], ctorParameters: function () { return []; }, propDecorators: { componentName: [{
205
205
  type: Input
206
206
  }], iconToShow: [{
@@ -1402,7 +1402,7 @@ class AnnaFilterService {
1402
1402
  if (this.selectedRadio == "user" && !this.tooltipMap.has("user")) {
1403
1403
  isFiltered = cloneDeep(isHierarchialUserFiltered);
1404
1404
  }
1405
- else if (this.selectedRadio == "StartTimeForFilter" || this.selectedRadio == "EndTimeForFilter" || this.selectedRadio == "time"
1405
+ else if (this.selectedRadio == "StartTimeForFilter" || this.selectedRadio == "EndTimeForFilter" || this.selectedRadio == "time" || this.selectedRadio == "timeoutTime"
1406
1406
  || this.selectedRadio == "start_time_for_filter" || this.selectedRadio == "end_time_for_filter" || this.selectedRadio == "startEndTimeMulti") {
1407
1407
  isFiltered = !isEqual(this.initialValueMap.get(this.selectedRadio), this.tooltipSelectedMap.get(this.selectedRadio)) || !this.includeZeroTime || !this.includeMultiTime;
1408
1408
  }
@@ -1469,7 +1469,7 @@ class AnnaFilterService {
1469
1469
  else if (key === "period") {
1470
1470
  filteredData = filteredData.filter((obj) => this.getDataInTheDateRange(obj, value, key));
1471
1471
  }
1472
- else if (key === "StartTimeForFilter" || key === "EndTimeForFilter"
1472
+ else if (key === "StartTimeForFilter" || key === "EndTimeForFilter" || key == "timeoutTime"
1473
1473
  || key === "start_time_for_filter" || key === "end_time_for_filter" || key == "time") {
1474
1474
  filteredData = filteredData.filter((obj) => this.returnDataForFromAndToTimeRange(obj, value, key));
1475
1475
  }
@@ -1642,7 +1642,7 @@ class AnnaFilterService {
1642
1642
  else if (key === "period") {
1643
1643
  filteredData = filteredData.filter((obj) => this.getDataInTheDateRange(obj, value, key));
1644
1644
  }
1645
- else if (key === "StartTimeForFilter" || key === "EndTimeForFilter"
1645
+ else if (key === "StartTimeForFilter" || key === "EndTimeForFilter" || key == "timeoutTime"
1646
1646
  || key === "start_time_for_filter" || key === "end_time_for_filter" || key == "time") {
1647
1647
  filteredData = filteredData.filter((obj) => this.returnDataForFromAndToTimeRange(obj, value, key));
1648
1648
  }