@annalib/anna-core 10.2.0 → 10.2.1

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.
@@ -187,10 +187,10 @@ class AnnaIconColumnComponent {
187
187
  }
188
188
  }
189
189
  AnnaIconColumnComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AnnaIconColumnComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
190
- AnnaIconColumnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", 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 <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<!-- </ng-container> -->\r\n\r\n<!-- <ng-container *ngIf=\"objectKey == 'bizRuleStatus'\"> -->\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<!-- </ng-container> -->\r\n\r\n<!-- dataObject.bizRuleStatus == 'REJECTED' -->\r\n<!-- dataObject.bizRuleStatus == 'NOTIFY' -->\r\n<!-- dataObject.bizRuleStatus == 'AWAITING_APPROVAL' -->\r\n<!-- dataObject.orderStatus == 'LIVE' && objectKey == 'orderStatus' -->\r\n<!-- dataObject.payForPerformance && dataObject.orderCategory == 'TV Revenue' && objectKey == 'payForPerformance' : Active -->\r\n<!-- dataObject.orderStatus == 'UPCOMING' && dataObject.orderCategory == 'TV Revenue' && !dataObject.payForPerformance && objectKey == 'payForPerformance' -->", styles: [""], 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: ["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 });
190
+ AnnaIconColumnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", 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: [""], 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: ["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 });
191
191
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AnnaIconColumnComponent, decorators: [{
192
192
  type: Component,
193
- args: [{ selector: 'anna-core-anna-icon-column', changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- <ng-container *ngIf=\"componentName == 'ORDER_LISTING_INFLIGHT'\"> -->\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<!-- </ng-container> -->\r\n\r\n<!-- <ng-container *ngIf=\"objectKey == 'bizRuleStatus'\"> -->\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<!-- </ng-container> -->\r\n\r\n<!-- dataObject.bizRuleStatus == 'REJECTED' -->\r\n<!-- dataObject.bizRuleStatus == 'NOTIFY' -->\r\n<!-- dataObject.bizRuleStatus == 'AWAITING_APPROVAL' -->\r\n<!-- dataObject.orderStatus == 'LIVE' && objectKey == 'orderStatus' -->\r\n<!-- dataObject.payForPerformance && dataObject.orderCategory == 'TV Revenue' && objectKey == 'payForPerformance' : Active -->\r\n<!-- dataObject.orderStatus == 'UPCOMING' && dataObject.orderCategory == 'TV Revenue' && !dataObject.payForPerformance && objectKey == 'payForPerformance' -->" }]
193
+ 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" }]
194
194
  }], ctorParameters: function () { return []; }, propDecorators: { componentName: [{
195
195
  type: Input
196
196
  }], iconToShow: [{