<h1 mat-dialog-title class="prevent-select">Historial de estados</h1>
<div mat-dialog-content class="prevent-select">
  <div class="is-loading animated fadeIn fast" *ngIf="isLoading">
    <mat-spinner align="center"></mat-spinner>
    <h3>Cargando datos ...</h3>
  </div>
  <div class="has-error animated fadeIn pt-64" *ngIf="!isLoading && hasError">
    <mat-icon class="red_primary_font">error</mat-icon>
    <h2>{{ errorStr }}</h2>
  </div>
  <div class="dialog_details_column animated fadeIn" *ngIf="!isLoading && !hasError">
    <div class="status-history-item-container" *ngFor="let item of historyArr; let i = index">
      <div [ngClass]="{mtn_2: i > 0}" class="status-history-item">
        <div class="status-history-item-step">
          {{ i + 1 }}
        </div>
        <div class="status-history-item-content">
          <p class="status-history-item-status">{{ item.ESTADO }}</p>
          <p class="status-history-item-date">{{ item.FECHA }}</p>
          <p class="status-history-item-user">{{ item.USUARIO }}</p>
        </div>
      </div>
      <div class="status-history-item-separator" *ngIf="i < historyArr.length - 1"></div>
    </div>
  </div>
</div>
<div mat-dialog-actions align="end">
  <button mat-button mat-dialog-close>Cerrar</button>
</div>