1 <app-save-sql-changes-dialog-component [(visible)]="showSaveColDialog">
4 <div class="card-body" style="height: 200px;">
5 <div class="modalTitle">{{EditColstatus}}</div>
6 <button *ngIf="SQLclosable" (click)="close()" aria-label="Close" class="dialog__close-btn">X</button>
8 <label>{{EditColmessage}}</label>
10 <div class="card-footer"style="width: 500px;">
11 <button (click)="close()" class="btn btn-alt btn-small">Close</button>
14 </app-save-sql-changes-dialog-component>
19 <app-columns-edit-component [(visible)]="showDialog">
21 <div class="card-header">
22 <div class="modalTitle">{{message}}</div>
23 <button *ngIf="closable" (click)="close()" aria-label="Close" class="dialog__close-btn">X</button>
26 <div class="card-body" style="width: 1000px; height: 532px; ">
27 <div style="height:500px; overflow: scroll;">
28 <div class="tab-pane">
29 <app-edit-drill-down-link *ngIf="showEditDrillDownPage" [reportId]="reportId" [drillDownObj]="drillDownObj" (completed)="onCompleted($event)" >
31 </app-edit-drill-down-link>
32 <app-column-advanced-display *ngIf="showAdvancedDisplayPage"
33 [semaphoreArr]="semaphoreList"
34 [inputSemaphoreName]="semaphoreName"
36 (completed)="finishAdvancedDisplay($event)" [columnName]="finalEditRowGetObj.colId">
38 </app-column-advanced-display>
39 <div *ngIf="!showEditDrillDownPage && !showAdvancedDisplayPage">
40 <div class="field-group">
41 <label class="defaultFontSize1">Column ID:</label><label class="boxMargin defaultFontSize">{{finalEditRowGetObj.colId}}</label>
46 <label class="defaultFontSize1">Column Name:</label><label class="boxMargin defaultFontSize">{{finalEditRowGetObj.colName}}</label>
51 <label class="defaultFontSize1">Depends on formfield:</label><label><input class=" defaultFontSize" id="depeondsOnForField" type="text" [(ngModel)]="dependsOnFormFields" value="{{finalEditRowGetObj.depeondsOnForField}}"/></label>
56 <label class="defaultFontSize1" for="dataType">Data Type:</label>
57 <select class="browser-default custom-select" required="required" placeholder="Select Report Type" [(ngModel)]="dataType" value="{{finalEditRowGetObj.dataType}}">
58 <option class="defaultFontSize1" selected>Select Data Type </option>
59 <option class="defaultFontSize1" value="Number" >Number</option>
60 <option class="defaultFontSize1" value="Date" >Date</option>
61 <option class="defaultFontSize1" value="Character" >Character</option>
62 <option class="defaultFontSize1" value="Hyperlink" >Hyperlink</option>
67 <label class="defaultFontSize1">Group By Pos:</label><label><input class="defaultFontSize" id="groupByPos" type="text" [(ngModel)]="groupByPos" value="{{finalEditRowGetObj.groupByPos}}"/></label>
72 <label class="defaultFontSize1">Custom Text for Sub-Total:</label><label><input class="defaultFontSize" id="subTotalCustomText" type="text" [(ngModel)]="customTextForSubTotal" value="{{finalEditRowGetObj.subTotalCustomText}}"/></label>
77 <label class="defaultFontSize1">Hide Repeated Values:</label>
78 <label class="defaultFontSize1" for="hideFormFieldsAfterRun" class="checkbox">
79 <input id="hideFormFieldsAfterRun" type="checkbox" class="ng-valid ng-dirty ng-valid-parse ng-touched" [(ngModel)]="hideRepeatedValues" value="{{finalEditRowGetObj.hideRepeatedKey}}"><i class="skin"></i><span></span>
85 <label class="defaultFontSize1">Multi Group Column Level:</label>
86 <label><select class="browser-default custom-select defaultFontSize" required="required" placeholder="Select Report Type" [(ngModel)]="multiGroupColumnLevel" value="{{finalEditRowGetObj.multiGroupColumnLevel}}">
87 <option class="defaultFontSize1" selected>Select Level </option>
88 <option class="defaultFontSize1" value="1" >1</option>
89 <option class="defaultFontSize1" value="2" >2</option>
90 <option class="defaultFontSize1" value="3" >3</option>
91 <option class="defaultFontSize1" value="4" >4</option>
98 <label class="defaultFontSize1">Multi group Column Range : Colspan:</label><label><input class="defaultFontSize" id="colspan" type="text" [(ngModel)]="colspan" value="{{finalEditRowGetObj.colspan}}"/></label>
103 <label class="displayName">Display Name:</label><label><input class="defaultFontSize" id="displayName" type="text" [(ngModel)]="displayName" value="{{finalEditRowGetObj.displayName}}"/></label>
108 <label class="defaultFontSize1">Display Width (In Pxls):</label><label><input class="defaultFontSize" id="displayWidthInPixel" type="text" [(ngModel)]="displayWidthInPixel" value="{{finalEditRowGetObj.displayWidthInPixel}}"/></label>
113 <label class="defaultFontSize1">No Wrap ?:</label>
114 <label class="defaultFontSize" for="noWrap" class="checkbox">
115 <input id="noWrap" type="checkbox" class="ng-valid ng-dirty ng-valid-parse ng-touched" [(ngModel)]="noWrap" value="{{finalEditRowGetObj.noWrap}}"><i class="skin"></i><span></span>
121 <label class="defaultFontSize1">Indent Parameter to display value:</label>
122 <label><select class="browser-default custom-select defaultFontSize" required="required" placeholder="Select Indent" [(ngModel)]="indentation" value="{{finalEditRowGetObj.indentation}}">
123 <option class="defaultFontSize" selected>Select Indent </option>
124 <option class="defaultFontSize" value="1" >1</option>
125 <option class="defaultFontSize" value="2" >2</option>
126 <option class="defaultFontSize" value="3" >3</option>
133 <label class="defaultFontSize1">Display Alignment:</label>
134 <label><select class="browser-default custom-select defaultFontSize" required="required" placeholder="Select Report Type" [(ngModel)]="displayAlignment" value="{{finalEditRowGetObj.displayAlignment}}">
135 <option class="defaultFontSize" selected>Select Alignment </option><option value="Left" >Left</option>
136 <option class="defaultFontSize" value="Center" >Center</option>
137 <option class="defaultFontSize" value="Right" >Right</option>
144 <label class="defaultFontSize1">Display Header Alignment:</label>
145 <label><select class="browser-default custom-select defaultFontSize" required="required" placeholder="Select Report Type" [(ngModel)]="displayHeaderAlignment" value="{{finalEditRowGetObj.displayHeaderAlignment}}">
146 <option selected>Select Header Alignment </option>
147 <option value="Left" >Left</option>
148 <option value="Center" >Center</option>
149 <option value="Right" >Right</option>
156 <label class="defaultFontSize1">Sortable:</label>
157 <label class="defaultFontSize" for="sortable" class="checkbox">
158 <input id="sortable" type="checkbox" class="ng-valid ng-dirty ng-valid-parse ng-touched" [(ngModel)]="sortable" value="{{finalEditRowGetObj.sortable}}"><i class="skin"></i><span></span>
164 <label class="defaultFontSize1">Visible:</label>
165 <label class="defaultFontSize" for="visible" class="checkbox">
166 <input id="visible" type="checkbox" class="ng-valid ng-dirty ng-valid-parse ng-touched" [(ngModel)]="visible" value="true"><i class="skin"></i><span></span>
172 <label class="defaultFontSize1">Drill-down Link: <mat-icon aria-hidden="false" aria-label="edit" (click)="drillDownLinkPage()">edit</mat-icon> </label>
173 <label><select class="browser-default custom-select defaultFontSize" required="required" placeholder="Select Report Type" [(ngModel)]="drilldownURL" value="{{finalEditRowGetObj.drilldownURL}}">
174 <option class="defaultFontSize" value="" selected>Select Drill Down Link </option>
175 <option class="defaultFontSize" *ngFor="let URLObj of URLListObjArray" value="{{URLObj.id}}" >{{URLObj.id}}|{{URLObj.name}}</option>
180 <label class="defaultFontSize1">Advanced Display
181 <mat-icon *ngIf="semaphoreName !== 'No Display'" aria-hidden="false" aria-label="edit" (click)="editDisplay()">edit</mat-icon>
182 <mat-icon aria-hidden="false" aria-label="add" (click)="addNewDisplay()">add</mat-icon>
184 <label><select class="browser-default custom-select defaultFontSize" required="required" placeholder="Select Report Type" [(ngModel)]="semaphoreName" value="{{semaphoreName}}">
185 <option class="defaultFontSize" selected>No Display </option>
186 <option class="defaultFontSize" *ngFor="let sem of semaphoreList.semaphore" value="{{sem.semaphoreName}}" >{{sem.semaphoreName}}</option>
193 <label class="defaultFontSize1">Total for the column:</label>
194 <label><select class="browser-default custom-select defaultFontSize" required="required" placeholder="Select Report Type" [(ngModel)]="displayTotal" value="{{finalEditRowGetObj.displayTotal}}">
195 <option selected value="">Select Total </option>
196 <option *ngFor="let TotalListObj of TotalColListObjArray" value="{{TotalListObj.id}}" >{{TotalListObj.name}}</option>
204 <div class="card-footer" style="width: 1000px; padding-left: 770px;">
205 <button *ngIf="!showConfirmButton && !showAdvancedDisplayPage" (click)="save();" class="btn btn-alt btn-small">Save</button>
206 <button *ngIf="showConfirmButton && !showAdvancedDisplayPage" (click)="complete();" class="btn btn-alt btn-small">Confirm</button>
207 <button (click)="close()" class="btn btn-alt btn-small">Cancel</button>
210 </app-columns-edit-component>
212 <span class="ecomp-spinner" *ngIf="showSpinner"></span>
214 <div class="app-data-table">
216 <table mat-table class="full-width-table app-data-table" matSort aria-label="Elements">
218 <ng-container matColumnDef="id">
219 <th mat-header-cell *matHeaderCellDef mat-sort-header class="defaultFontSize">ID</th>
220 <td mat-cell *matCellDef="let row">{{row.id}}</td>
224 <ng-container matColumnDef="no">
225 <th mat-header-cell *matHeaderCellDef mat-sort-header class="defaultFontSize">NO</th>
226 <td mat-cell *matCellDef="let row">{{row.no}}</td>
230 <ng-container matColumnDef="name">
231 <th mat-header-cell *matHeaderCellDef mat-sort-header class="defaultFontSize">NAME</th>
232 <td mat-cell *matCellDef="let row">{{row.name}}</td>
236 <ng-container matColumnDef="edit">
237 <th mat-header-cell *matHeaderCellDef mat-sort-header class="defaultFontSize">EDIT</th>
238 <td mat-cell *matCellDef="let row"><mat-icon aria-hidden="false" aria-label="edit" (click)="editRecord(row.id)">edit</mat-icon></td>
242 <tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
243 <tr mat-row *matRowDef="let row; columns: displayedColumns;"></tr>
246 <mat-paginator #paginator
247 [length]="dataSource?.data.length"
250 [pageSizeOptions]="[25, 50, 100, 250]">