-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NVSHAS-9265: Incomplete and Incorrect Vulnerability Scan Results on P…
…RE PCI Environment (UI)
- Loading branch information
1 parent
aad97b3
commit 80b7cd6
Showing
12 changed files
with
91 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...src/app/routes/components/ui/ag-grid-no-row-overlay/ag-grid-no-row-overlay.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<div *ngIf="iconName" class="eos-icons {{ iconColor }}">{{ iconName }}</div> | ||
<div [ngClass]="noRowsClass">{{ noRowsMsg }}</div> |
Empty file.
22 changes: 22 additions & 0 deletions
22
.../app/routes/components/ui/ag-grid-no-row-overlay/ag-grid-no-row-overlay.component.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { ComponentFixture, TestBed } from '@angular/core/testing'; | ||
|
||
import { AgGridNoRowOverlayComponent } from './ag-grid-no-row-overlay.component'; | ||
|
||
describe('AgGridNoRowOverlayComponent', () => { | ||
let component: AgGridNoRowOverlayComponent; | ||
let fixture: ComponentFixture<AgGridNoRowOverlayComponent>; | ||
|
||
beforeEach(async () => { | ||
await TestBed.configureTestingModule({ | ||
declarations: [AgGridNoRowOverlayComponent], | ||
}).compileComponents(); | ||
|
||
fixture = TestBed.createComponent(AgGridNoRowOverlayComponent); | ||
component = fixture.componentInstance; | ||
fixture.detectChanges(); | ||
}); | ||
|
||
it('should create', () => { | ||
expect(component).toBeTruthy(); | ||
}); | ||
}); |
25 changes: 25 additions & 0 deletions
25
...ebsrc/app/routes/components/ui/ag-grid-no-row-overlay/ag-grid-no-row-overlay.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import { Component, OnInit, Input } from '@angular/core'; | ||
import { INoRowsOverlayAngularComp } from 'ag-grid-angular'; | ||
import { TranslateService } from '@ngx-translate/core'; | ||
import { ICellRendererParams } from 'ag-grid-community'; | ||
|
||
@Component({ | ||
selector: 'app-ag-grid-no-row-overlay', | ||
templateUrl: './ag-grid-no-row-overlay.component.html', | ||
styleUrls: ['./ag-grid-no-row-overlay.component.scss'], | ||
}) | ||
export class AgGridNoRowOverlayComponent implements INoRowsOverlayAngularComp { | ||
noRowsClass: string = ''; | ||
noRowsMsg: string = this.translate.instant('general.NO_ROWS'); | ||
iconName: string; | ||
iconColor: string; | ||
|
||
constructor(private translate: TranslateService) {} | ||
|
||
agInit(params: ICellRendererParams): void { | ||
this.noRowsMsg = params.context.noRowsMsg; | ||
this.noRowsClass = params.context.noRowsClass; | ||
this.iconName = params.context.iconName; | ||
this.iconColor = params.context.iconColor; | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
...p/websrc/app/routes/components/ui/ag-grid-no-row-overlay/ag-grid-no-row-overlay.module.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { NgModule } from '@angular/core'; | ||
import { CommonModule } from '@angular/common'; | ||
import { AgGridNoRowOverlayComponent } from './ag-grid-no-row-overlay.component'; | ||
|
||
@NgModule({ | ||
declarations: [AgGridNoRowOverlayComponent], | ||
imports: [CommonModule], | ||
exports: [AgGridNoRowOverlayComponent], | ||
}) | ||
export class AgGridNoRowOverlayModule {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters