1 <app-definition-save-dialog-component [(visible)]="showDialog">
4 <div class="card-body">
5 <div class="modalTitle">Remove Report?</div>
6 <button *ngIf="closable" (click)="close()" aria-label="Close" class="dialog__close-btn">X</button>
8 <label>The selected report will be removed. Do you wish to continue?</label>
10 <div class="card-footer">
11 <button style="font-size: 17px;" (click)="deleteReport();" class="btn btn-alt btn-small">Delete</button> <button style="font-size: 17px;" (click)="close()" class="btn btn-alt btn-small">Cancel</button>
14 </app-definition-save-dialog-component>
16 <div *ngIf="!toggle1">
17 <div class="tab-content">
18 <h3>Report Search</h3>
20 <span class="ecomp-spinner" *ngIf="showSpinner"></span>
23 <input matInput (keyup)="applyFilter($event.target.value)" placeholder="Search Report">
25 <table mat-table [dataSource]="dataSource1" class="full-width-table" matSort aria-label="Elements">>
28 <ng-container matColumnDef="rep_id">
29 <th mat-header-cell *matHeaderCellDef mat-sort-header>Report Id</th>
30 <td style="font-weight: bold;" mat-cell *matCellDef="let row">{{row.rep_id}}</td>
33 <ng-container matColumnDef="rep_name">
34 <th mat-header-cell *matHeaderCellDef mat-sort-header>Report Name</th>
35 <td mat-cell *matCellDef="let row">{{row.rep_name}}</td>
38 <ng-container matColumnDef="descr">
39 <th mat-header-cell *matHeaderCellDef mat-sort-header>Description</th>
40 <td mat-cell *matCellDef="let row">{{row.descr}}</td>
43 <ng-container matColumnDef="owner">
44 <th mat-header-cell *matHeaderCellDef mat-sort-header>Report Owner</th>
45 <td mat-cell *matCellDef="let row">{{row.owner}}</td>
48 <ng-container matColumnDef="create_date">
49 <th mat-header-cell *matHeaderCellDef mat-sort-header>Create Date</th>
50 <td mat-cell *matCellDef="let row">{{row.create_date}}</td>
53 <ng-container matColumnDef="copy">
54 <th mat-header-cell *matHeaderCellDef mat-sort-header>Copy</th>
55 <td mat-cell *matCellDef="let row"><mat-icon aria-hidden="false" aria-label="file_copy" (click)="copydisplayReport(row.rep_id)">file_copy</mat-icon></td>
58 <ng-container matColumnDef="edit">
59 <th mat-header-cell *matHeaderCellDef mat-sort-header>Edit</th>
60 <td mat-cell *matCellDef="let row"><mat-icon aria-hidden="false" aria-label="edit" *ngIf="row.canEdit" (click)="displayReport(row.rep_id)">edit</mat-icon></td>
63 <ng-container matColumnDef="delete">
64 <th mat-header-cell *matHeaderCellDef mat-sort-header>Delete</th>
65 <td mat-cell *matCellDef="let row"><mat-icon aria-hidden="false" aria-label="delete" *ngIf="row.canDelete" (click)="confirmDelete(row.rep_id)">delete</mat-icon></td>
68 <ng-container matColumnDef="schedule">
69 <th mat-header-cell *matHeaderCellDef mat-sort-header>Schedule</th>
70 <td mat-cell *matCellDef="let row"><mat-icon *ngIf="row.schedule" aria-hidden="false" aria-label="schedule" (click)="openReportSchedule(row.rep_id)">date_range</mat-icon></td>
73 <ng-container matColumnDef="run">
74 <th mat-header-cell *matHeaderCellDef mat-sort-header>Run</th>
75 <td mat-cell *matCellDef="let row"><mat-icon aria-hidden="false" aria-label="play" (click)="runReport(row.rep_id)">play_arrow</mat-icon></td>
78 <tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
79 <tr mat-row *matRowDef="let row; columns: displayedColumns;"></tr>
83 <mat-paginator #paginator
84 [length]="dataSource1?.data.length"
87 [pageSizeOptions]="[20]">
97 <app-run-report [reportId]="reportId"></app-run-report>
102 ::ng-deep .mat-sort-header-arrow.ng-trigger.ng-trigger-arrowPosition {
107 ::ng-deep .mat-sort-header-pointer-left.ng-trigger.ng-trigger-leftPointer {
108 transform: rotate(-45deg);
111 ::ng-deep .mat-sort-header-pointer-right.ng-trigger.ng-trigger-rightPointer {
112 transform: rotate(45deg);