2019-09-23 05:23:24 +00:00
|
|
|
<!-- CHAT -->
|
2019-09-26 05:38:21 +00:00
|
|
|
<div class="container" fxFlex fxLayout="column">
|
2019-09-23 05:23:24 +00:00
|
|
|
<!-- CHAT TOOLBAR -->
|
|
|
|
<mat-toolbar class="chat-toolbar">
|
|
|
|
<div fxFlex fxLayout="row" fxLayoutAlign="space-between center">
|
|
|
|
<div fxLayout="row" fxLayoutAlign="start center">
|
|
|
|
<!-- RESPONSIVE CHATS BUTTON-->
|
2019-10-11 02:40:35 +00:00
|
|
|
<button mat-icon-button aria-label="chats button" fxHide.gt-md class="responsive-chats-button">
|
2019-09-23 05:23:24 +00:00
|
|
|
<mat-icon>chat</mat-icon>
|
|
|
|
</button>
|
|
|
|
<!-- / RESPONSIVE CHATS BUTTON-->
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div>
|
2019-10-11 09:10:25 +00:00
|
|
|
<button *ngIf="!!roomInfo" mat-icon-button (click)="onClickReceiveAlarm($event)"
|
|
|
|
aria-label="Toggle Receive Alarm">
|
|
|
|
<mat-icon class="amber-fg" *ngIf="roomInfo.receiveAlarm">notifications_active</mat-icon>
|
|
|
|
<mat-icon class="secondary-text" *ngIf="!roomInfo.receiveAlarm">notifications_off</mat-icon>
|
2019-10-11 06:55:27 +00:00
|
|
|
</button>
|
|
|
|
|
2019-10-11 02:40:35 +00:00
|
|
|
<button mat-icon-button [matMenuTriggerFor]="contactMenu" aria-label="more">
|
2019-09-23 05:23:24 +00:00
|
|
|
<mat-icon>more_vert</mat-icon>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<mat-menu #contactMenu="matMenu">
|
2019-09-26 05:38:21 +00:00
|
|
|
<button mat-menu-item (click)="selectContact()">
|
2019-09-23 05:23:24 +00:00
|
|
|
Contact Info
|
|
|
|
</button>
|
|
|
|
</mat-menu>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</mat-toolbar>
|
|
|
|
<!-- / CHAT TOOLBAR -->
|
2019-10-11 02:40:35 +00:00
|
|
|
<mat-progress-bar *ngIf="eventListProcessing$ | async" mode="indeterminate"></mat-progress-bar>
|
2019-09-23 05:23:24 +00:00
|
|
|
<!-- CHAT CONTENT -->
|
2019-10-10 06:53:08 +00:00
|
|
|
<div fxFlex="1 1 auto" class="chat-content" #messageBoxContainer>
|
2019-10-15 02:50:23 +00:00
|
|
|
<!-- Timer Room Info -->
|
|
|
|
<span *ngIf="roomInfo && roomInfo.isTimeRoom">비밀 대화방입니다.</span>
|
|
|
|
<!-- Timer Room Info -->
|
|
|
|
|
2019-09-23 05:23:24 +00:00
|
|
|
<!-- CHAT MESSAGES -->
|
2019-10-11 09:03:01 +00:00
|
|
|
<ucap-chat-messages [messages]="eventList$ | async" [userInfos]="userInfoList$ | async" [loginRes]="loginRes"
|
2019-10-15 05:58:11 +00:00
|
|
|
[sessionVerInfo]="sessionVerInfo" (massDetail)="onMassDetail($event)" (save)="onSave($event)"
|
|
|
|
(imageViewer)="onImageViewer($event)">
|
2019-10-11 02:40:35 +00:00
|
|
|
</ucap-chat-messages>
|
2019-09-23 05:23:24 +00:00
|
|
|
<!-- CHAT MESSAGES -->
|
|
|
|
</div>
|
|
|
|
<!-- / CHAT CONTENT -->
|
|
|
|
|
|
|
|
<!-- CHAT FOOTER -->
|
2019-09-26 05:38:21 +00:00
|
|
|
<div fxFlex="0 0 auto" fxLayout="column">
|
2019-09-23 05:23:24 +00:00
|
|
|
<!-- REPLY FORM -->
|
2019-10-08 05:34:37 +00:00
|
|
|
<ucap-chat-form (send)="onSendMessage($event)"></ucap-chat-form>
|
2019-09-23 05:23:24 +00:00
|
|
|
<!-- / REPLY FORM -->
|
|
|
|
</div>
|
|
|
|
<!-- / CHAT FOOTER-->
|
|
|
|
</div>
|
|
|
|
<!-- / CHAT -->
|