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 (click)="close()" *ngIf="SQLclosable" 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>
17 <app-columns-edit-component [(visible)]="showDialog">
19 <div class="card-header">
20 <div class="modalTitle">{{message}}</div>
21 <button (click)="close()" *ngIf="closable" aria-label="Close" class="dialog__close-btn">X</button>
24 <div class="card-body" style="width: 1000px; height: 532px; ">
25 <div style="height:500px; overflow: scroll; overflow-x: hidden;">
26 <div class="tab-pane">
27 <app-edit-drill-down-link (completed)="onCompleted($event)" *ngIf="showEditDrillDownPage"
28 [drillDownObj]="drillDownObj" [reportId]="reportId">
30 </app-edit-drill-down-link>
31 <app-column-advanced-display (completed)="finishAdvancedDisplay($event)"
32 *ngIf="showAdvancedDisplayPage"
34 [columnList]="columnList"
35 [columnName]="finalEditRowGetObj.colId"
36 [inputSemaphoreName]="semaphoreName"
37 [semaphoreArr]="semaphoreList">
39 </app-column-advanced-display>
40 <div *ngIf="!showEditDrillDownPage && !showAdvancedDisplayPage">
41 <div class="field-group">
42 <label class="defaultFontSize1">Column ID:</label><label
43 class="boxMargin defaultFontSize">{{finalEditRowGetObj.colId}}</label>
48 <label class="defaultFontSize1">Column Name:</label><label
49 class="boxMargin defaultFontSize">{{finalEditRowGetObj.colName}}</label>
54 <label class="defaultFontSize1">Depends on formfield:</label><label><input
55 [(ngModel)]="dependsOnFormFields" class=" defaultFontSize" id="depeondsOnForField"
57 value="{{finalEditRowGetObj.depeondsOnForField}}"/></label>
62 <label class="defaultFontSize1" for="dataType">Data Type:</label>
63 <select [(ngModel)]="dataType" class="browser-default custom-select"
64 placeholder="Select Report Type" required="required"
65 value="{{finalEditRowGetObj.dataType}}">
66 <option class="defaultFontSize1" selected>Select Data Type</option>
67 <option class="defaultFontSize1" value="Number">Number</option>
68 <option class="defaultFontSize1" value="Date">Date</option>
69 <option class="defaultFontSize1" value="Character">Character</option>
70 <option class="defaultFontSize1" value="Hyperlink">Hyperlink</option>
75 <label class="defaultFontSize1">Group By Pos:</label><label><input [(ngModel)]="groupByPos"
76 class="defaultFontSize"
79 value="{{finalEditRowGetObj.groupByPos}}"/></label>
84 <label class="defaultFontSize1">Custom Text for Sub-Total:</label><label><input
85 [(ngModel)]="customTextForSubTotal" class="defaultFontSize" id="subTotalCustomText"
87 value="{{finalEditRowGetObj.subTotalCustomText}}"/></label>
92 <label class="defaultFontSize1">Hide Repeated Values:</label>
93 <label class="defaultFontSize1" class="checkbox" for="hideFormFieldsAfterRun">
94 <input [(ngModel)]="hideRepeatedValues" class="ng-valid ng-dirty ng-valid-parse ng-touched"
95 id="hideFormFieldsAfterRun"
97 value="{{finalEditRowGetObj.hideRepeatedKey}}"><i class="skin"></i><span></span>
103 <label class="defaultFontSize1">Multi Group Column Level:</label>
104 <label><select [(ngModel)]="multiGroupColumnLevel" class="browser-default custom-select defaultFontSize"
105 placeholder="Select Report Type" required="required"
106 value="{{finalEditRowGetObj.multiGroupColumnLevel}}">
107 <option class="defaultFontSize1" selected>Select Level</option>
108 <option class="defaultFontSize1" value="1">1</option>
109 <option class="defaultFontSize1" value="2">2</option>
110 <option class="defaultFontSize1" value="3">3</option>
111 <option class="defaultFontSize1" value="4">4</option>
118 <label class="defaultFontSize1">Multi group Column Range : Colspan:</label><label><input
119 [(ngModel)]="colspan" class="defaultFontSize" id="colspan" type="text"
120 value="{{finalEditRowGetObj.colspan}}"/></label>
125 <label class="displayName">Display Name:</label><label><input [(ngModel)]="displayName"
126 class="defaultFontSize" id="displayName"
128 value="{{finalEditRowGetObj.displayName}}"/></label>
133 <label class="defaultFontSize1">Display Width (In Pxls):</label><label><input
134 [(ngModel)]="displayWidthInPixel" class="defaultFontSize" id="displayWidthInPixel"
136 value="{{finalEditRowGetObj.displayWidthInPixel}}"/></label>
141 <label class="defaultFontSize1">No Wrap ?:</label>
142 <label class="defaultFontSize" class="checkbox" for="noWrap">
143 <input [(ngModel)]="noWrap" class="ng-valid ng-dirty ng-valid-parse ng-touched" id="noWrap"
144 type="checkbox" value="{{finalEditRowGetObj.noWrap}}"><i
145 class="skin"></i><span></span>
151 <label class="defaultFontSize1">Indent Parameter to display value:</label>
152 <label><select [(ngModel)]="indentation" class="browser-default custom-select defaultFontSize"
153 placeholder="Select Indent" required="required"
154 value="{{finalEditRowGetObj.indentation}}">
155 <option class="defaultFontSize" selected>Select Indent</option>
156 <option class="defaultFontSize" value="1">1</option>
157 <option class="defaultFontSize" value="2">2</option>
158 <option class="defaultFontSize" value="3">3</option>
165 <label class="defaultFontSize1">Display Alignment:</label>
166 <label><select [(ngModel)]="displayAlignment" class="browser-default custom-select defaultFontSize"
167 placeholder="Select Report Type" required="required"
168 value="{{finalEditRowGetObj.displayAlignment}}">
169 <option class="defaultFontSize" selected>Select Alignment</option>
170 <option value="Left">Left</option>
171 <option class="defaultFontSize" value="Center">Center</option>
172 <option class="defaultFontSize" value="Right">Right</option>
179 <label class="defaultFontSize1">Display Header Alignment:</label>
180 <label><select [(ngModel)]="displayHeaderAlignment" class="browser-default custom-select defaultFontSize"
181 placeholder="Select Report Type" required="required"
182 value="{{finalEditRowGetObj.displayHeaderAlignment}}">
183 <option selected>Select Header Alignment</option>
184 <option value="Left">Left</option>
185 <option value="Center">Center</option>
186 <option value="Right">Right</option>
193 <label class="defaultFontSize1">Sortable:</label>
194 <label class="defaultFontSize" class="checkbox" for="sortable">
195 <input [(ngModel)]="sortable" class="ng-valid ng-dirty ng-valid-parse ng-touched" id="sortable"
196 type="checkbox" value="{{finalEditRowGetObj.sortable}}"><i
197 class="skin"></i><span></span>
203 <label class="defaultFontSize1">Visible:</label>
204 <label class="defaultFontSize" class="checkbox" for="visible">
205 <input [(ngModel)]="visible" class="ng-valid ng-dirty ng-valid-parse ng-touched" id="visible"
206 type="checkbox" value="true"><i class="skin"></i><span></span>
212 <label class="defaultFontSize1">Drill-down Link:
213 <mat-icon (click)="drillDownLinkPage()" aria-hidden="false" aria-label="edit">edit
216 <label><select [(ngModel)]="drilldownURL" class="browser-default custom-select defaultFontSize"
217 placeholder="Select Report Type" required="required"
218 value="{{finalEditRowGetObj.drilldownURL}}">
219 <option class="defaultFontSize" selected value="">Select Drill Down Link</option>
220 <option *ngFor="let URLObj of URLListObjArray" class="defaultFontSize"
221 value="{{URLObj.id}}">{{URLObj.id}}|{{URLObj.name}}</option>
226 <label class="defaultFontSize1">Advanced Display
227 <mat-icon (click)="editDisplay()" *ngIf="semaphoreName !== 'No Display'" aria-hidden="false"
228 aria-label="edit">edit
230 <mat-icon (click)="addNewDisplay()" aria-hidden="false" aria-label="add">add</mat-icon>
232 <label><select [(ngModel)]="semaphoreName" class="browser-default custom-select defaultFontSize"
233 placeholder="Select Report Type" required="required"
234 value="{{semaphoreName}}">
235 <option class="defaultFontSize" selected>No Display</option>
236 <option *ngFor="let sem of semaphoreList.semaphore" class="defaultFontSize"
237 value="{{sem.semaphoreName}}">{{sem.semaphoreName}}</option>
244 <label class="defaultFontSize1">Total for the column:</label>
245 <label><select [(ngModel)]="displayTotal" class="browser-default custom-select defaultFontSize"
246 placeholder="Select Report Type" required="required"
247 value="{{finalEditRowGetObj.displayTotal}}">
248 <option selected value="">Select Total</option>
249 <option *ngFor="let TotalListObj of TotalColListObjArray"
250 value="{{TotalListObj.id}}">{{TotalListObj.name}}</option>
258 <div class="card-footer" style="width: 1000px; padding-left: 770px;">
259 <button (click)="save();" *ngIf="!showConfirmButton && !showAdvancedDisplayPage"
260 class="btn btn-alt btn-small">Save
262 <button (click)="complete();" *ngIf="showConfirmButton && !showAdvancedDisplayPage"
263 class="btn btn-alt btn-small">Confirm
264 </button>
265 <button (click)="close()" class="btn btn-alt btn-small">Cancel</button>
268 </app-columns-edit-component>
270 <span *ngIf="showSpinner" class="ecomp-spinner"></span>
272 <div class="app-data-table">
274 <table aria-label="Elements" class="full-width-table app-data-table" mat-table matSort>
276 <ng-container matColumnDef="id">
277 <th *matHeaderCellDef class="defaultFontSize" mat-header-cell mat-sort-header>ID</th>
278 <td *matCellDef="let row" mat-cell>{{row.id}}</td>
282 <ng-container matColumnDef="no">
283 <th *matHeaderCellDef class="defaultFontSize" mat-header-cell mat-sort-header>NO</th>
284 <td *matCellDef="let row" mat-cell>{{row.no}}</td>
288 <ng-container matColumnDef="name">
289 <th *matHeaderCellDef class="defaultFontSize" mat-header-cell mat-sort-header>NAME</th>
290 <td *matCellDef="let row" mat-cell>{{row.name}}</td>
294 <ng-container matColumnDef="edit">
295 <th *matHeaderCellDef class="defaultFontSize" mat-header-cell mat-sort-header>EDIT</th>
296 <td *matCellDef="let row" mat-cell>
297 <mat-icon (click)="editRecord(row.id)" aria-hidden="false" aria-label="edit">edit</mat-icon>
302 <tr *matHeaderRowDef="displayedColumns" mat-header-row></tr>
303 <tr *matRowDef="let row; columns: displayedColumns;" mat-row></tr>
306 <mat-paginator #paginator
307 [length]="dataSource?.data.length"
309 [pageSizeOptions]="[25, 50, 100, 250]"