|
186 | 186 | <% if (options.componentType === 'table' && options.hasSearchBar) { %> |
187 | 187 | <mat-menu data-test="column-menu" #configurationMenu="matMenu" class="column-menu"> |
188 | 188 | <<%= dasherize(name) %>-config-menu |
189 | | - [isOpenedFromMatMenu]="true" |
| 189 | + [isOpenedFromMatMenu]="true" |
190 | 190 | #configurationMenuComponent |
191 | 191 | (configChangedEvent)="triggerSetConfiguration($event)" |
192 | 192 | ></<%= dasherize(name) %>-config-menu> |
|
250 | 250 | </mat-form-field> |
251 | 251 | </ng-container> |
252 | 252 | <% } %> |
253 | | - </div> |
| 253 | + </div> |
254 | 254 | <% } %> |
255 | 255 |
|
256 | 256 | <% if (options.componentType === 'table' && options.hasSearchBar) { %> |
|
274 | 274 | <% if (options.isDateQuickFilter && property.isDate) { %> |
275 | 275 | <% if ((datePickerType(options.datePickers, property) === "startAndEndDatePicker") || (datePickerType(options.datePickers, property) === "startOrEndDatePicker")) { %> |
276 | 276 | <div mat-menu-item *ngIf="isInCollapsedMenu('start-end-<%= property.propertyName %>')" > |
277 | | - <div (click)="openInDialog<%= property.propertyName %>()">Set <%= property.propertyName %></div> |
| 277 | + <div (click)="openInDialog<%= property.propertyName %>()">Set <%= property.propertyName %></div> |
278 | 278 | </div> |
279 | 279 | <% } else if (datePickerType(options.datePickers, property) === "singleDatePicker") { %> |
280 | 280 | <div mat-menu-item *ngIf="isInCollapsedMenu('single-date-<%= property.propertyName %>')" > |
281 | | - <div (click)="openInDialog<%= property.propertyName %>()">Set <%= property.propertyName %></div> |
| 281 | + <div (click)="openInDialog<%= property.propertyName %>()">Set <%= property.propertyName %></div> |
282 | 282 | </div> |
283 | 283 | <% } %> |
284 | 284 | <% } %> |
285 | 285 | <% if (options.isEnumQuickFilter && property.isEnum) { %> |
286 | 286 | <div mat-menu-item *ngIf="isInCollapsedMenu('form-field-select-<%= property.propertyName %>')"> |
287 | | - <div (click)="openInDialog<%= property.propertyName %>()">Set <%= property.propertyName %></div> |
| 287 | + <div (click)="openInDialog<%= property.propertyName %>()">Set <%= property.propertyName %></div> |
288 | 288 | </div> |
289 | 289 | <% } %> |
290 | 290 | <% } %> |
291 | | - |
| 291 | + |
292 | 292 | <div mat-menu-item *ngIf="isInCollapsedMenu('refresh-data-button')" (click)="triggerReloadFilter()"> |
293 | 293 | <mat-icon data-test="refresh-data-icon-collapsed" class="material-icons" |
294 | 294 | >autorenew</mat-icon> |
295 | 295 | <span>Refresh</span> |
296 | | - </div> |
| 296 | + </div> |
297 | 297 |
|
298 | 298 | <div |
299 | 299 | mat-menu-item |
300 | 300 | *ngIf="isInCollapsedMenu('export-data-button')" |
301 | 301 | (click)="triggerExportToCsv()" |
302 | | - data-test="export-data-button-table-collapsed"> |
| 302 | + data-test="export-data-button-<% if (options.componentType === 'table') { %>table<% } else { %>card<% } %>-collapsed"> |
303 | 303 | <mat-icon data-test="export-data-icon-collapsed" class="material-icons" |
304 | 304 | >file_download</mat-icon> |
305 | 305 | <span>Download</span> |
|
318 | 318 | </div> |
319 | 319 | <% } %> |
320 | 320 | </mat-menu> |
321 | | - |
| 321 | + |
322 | 322 | <% for(let property of propValues) { %> |
323 | 323 | <% if (options.isDateQuickFilter && property.isDate) { %> |
324 | 324 | <% if ((datePickerType(options.datePickers, property) === "startAndEndDatePicker") || (datePickerType(options.datePickers, property) === "startOrEndDatePicker")) { %> |
|
372 | 372 | <% } %> |
373 | 373 | <% if (options.isEnumQuickFilter && property.isEnum) { %> |
374 | 374 | <ng-template #<%= property.propertyName %>> |
375 | | - <div class="padding-40" > |
| 375 | + <div class="padding-40" > |
376 | 376 | <mat-form-field data-test="form-field-select" id="form-field-select-<%= property.propertyName %>" appearance="fill"> |
377 | 377 | <mat-label data-test="select-label">{{ '<%= options.versionedAccessPrefix %><%= property.propertyValue %>.preferredName' | transloco }}</mat-label> |
378 | 378 | <mat-select data-test="select" [(value)]="filterService.<%= property.propertyName %>Selected" #<%= property.propertyName %>Select multiple> |
|
405 | 405 | </div> |
406 | 406 | </mat-select> |
407 | 407 | </mat-form-field> |
408 | | - </div> |
| 408 | + </div> |
409 | 409 | </ng-template> |
410 | 410 | <% } %> |
411 | 411 | <% } %> |
0 commit comments