<mat-card class="confirm-card mat-elevation-z">
  <mat-card-header>
    <mat-card-title>
      {{ (isModify ? 'message.modify' : 'message.sendTo') | translate }}
    </mat-card-title>
  </mat-card-header>
  <mat-card-content>
    <ucap-message-write
      #messageWrite
      [isModify]="isModify"
      [detail]="data.detail"
      [detailContents]="data.detailContents"
      [curReceiverList]="data.receiverList"
      [fileAllowSize]="fileAllowSize"
      (send)="onSend($event)"
      (selectReceiver)="onSelectReceiver($event)"
      (cancel)="onCancel()"
    ></ucap-message-write>
  </mat-card-content>
</mat-card>
