|
|
|
@ -20,18 +20,27 @@ |
|
|
|
<table mat-table [dataSource]="dataSource" class="overflow-hidden bg-transparent" matSort |
|
|
|
[matSortActive]="sortOrder.property" [matSortDirection]="sortOrder.direction" matSortDisableClear> |
|
|
|
<ng-container [matColumnDef]="'name'"> |
|
|
|
<mat-header-cell mat-sort-header *matHeaderCellDef class="!w-1/4 xs:!w-1/2"> |
|
|
|
<mat-header-cell mat-sort-header *matHeaderCellDef class="!w-1/3 xs:!w-1/2"> |
|
|
|
<div tbTruncateWithTooltip>{{ 'common.name' | translate }}</div> |
|
|
|
</mat-header-cell> |
|
|
|
<mat-cell *matCellDef="let argument" class="w-1/4 xs:w-1/2"> |
|
|
|
<div tbTruncateWithTooltip>{{ argument.argumentName }}</div> |
|
|
|
<mat-cell *matCellDef="let argument" class="argument-name-cell w-1/3 xs:w-1/2"> |
|
|
|
<div class="flex items-center"> |
|
|
|
<div tbTruncateWithTooltip class="flex-1">{{ argument.argumentName }}</div> |
|
|
|
<tb-copy-button |
|
|
|
class="copy-argument-name" |
|
|
|
[copyText]="argument.argumentName" |
|
|
|
tooltipText="{{ 'calculated-fields.copy-argument-name' | translate }}" |
|
|
|
tooltipPosition="above" |
|
|
|
icon="content_copy" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</mat-cell> |
|
|
|
</ng-container> |
|
|
|
<ng-container [matColumnDef]="'entityType'"> |
|
|
|
<mat-header-cell mat-sort-header *matHeaderCellDef class="entity-type-header w-1/4 xs:hidden"> |
|
|
|
<mat-header-cell mat-sort-header *matHeaderCellDef class="entity-type-header w-1/5 xs:hidden"> |
|
|
|
{{ 'entity.entity-type' | translate }} |
|
|
|
</mat-header-cell> |
|
|
|
<mat-cell *matCellDef="let argument" class="w-1/4 xs:hidden"> |
|
|
|
<mat-cell *matCellDef="let argument" class="w-1/5 xs:hidden"> |
|
|
|
<div tbTruncateWithTooltip> |
|
|
|
@if (argument.refEntityId?.entityType === ArgumentEntityType.Tenant) { |
|
|
|
{{ 'calculated-fields.argument-current-tenant' | translate }} |
|
|
|
|