|
|
|
@ -160,17 +160,41 @@ |
|
|
|
</ng-container> |
|
|
|
<ng-container matColumnDef="key"> |
|
|
|
<mat-header-cell *matHeaderCellDef mat-sort-header style="width: 40%"> {{ 'attribute.key' | translate }} </mat-header-cell> |
|
|
|
<mat-cell *matCellDef="let attribute"> |
|
|
|
{{ attribute.key }} |
|
|
|
<mat-cell *matCellDef="let attribute" class="attribute"> |
|
|
|
<div fxLayout="row" style="align-items: center"> |
|
|
|
<span class="ellipsis">{{ attribute.key }}</span> |
|
|
|
<tb-copy-button |
|
|
|
class="attribute-copy" |
|
|
|
[disabled]="isLoading$ | async" |
|
|
|
[copyText]="attribute.key" |
|
|
|
tooltipText="{{ 'attribute.copy-key' | translate }}" |
|
|
|
tooltipPosition="above" |
|
|
|
icon="content_copy" |
|
|
|
[style]="{padding: '4px', 'font-size': '16px', color: 'rgba(0,0,0,.87)'}" |
|
|
|
> |
|
|
|
</tb-copy-button> |
|
|
|
</div> |
|
|
|
</mat-cell> |
|
|
|
</ng-container> |
|
|
|
<ng-container matColumnDef="value"> |
|
|
|
<mat-header-cell *matHeaderCellDef style="width: 60%"> {{ 'attribute.value' | translate }} </mat-header-cell> |
|
|
|
<mat-cell *matCellDef="let attribute" |
|
|
|
class="tb-value-cell" |
|
|
|
class="tb-value-cell attribute" |
|
|
|
(click)="editAttribute($event, attribute)"> |
|
|
|
<div fxLayout="row" style="align-items: center"> |
|
|
|
<span style="overflow: hidden;text-overflow: ellipsis;" fxFlex>{{attribute.value | tbJson}}</span> |
|
|
|
<div fxFlex fxLayout="row" style="align-items: center"> |
|
|
|
<div fxFlex fxLayout="row" style="overflow: hidden; align-items: center;"> |
|
|
|
<span class="ellipsis">{{attribute.value | tbJson}}</span> |
|
|
|
<tb-copy-button |
|
|
|
class="attribute-copy" |
|
|
|
[disabled]="isLoading$ | async" |
|
|
|
[copyText]="attribute.value | tbJson" |
|
|
|
tooltipText="{{ 'attribute.copy-value' | translate }}" |
|
|
|
tooltipPosition="above" |
|
|
|
icon="content_copy" |
|
|
|
[style]="{padding: '4px', 'font-size': '16px', color: 'rgba(0,0,0,.87)'}" |
|
|
|
> |
|
|
|
</tb-copy-button> |
|
|
|
</div> |
|
|
|
<span [fxShow]="!isClientSideTelemetryTypeMap.get(attributeScope)"> |
|
|
|
<mat-icon>edit</mat-icon> |
|
|
|
</span> |
|
|
|
|