2019-09-23 05:23:24 +00:00
|
|
|
<div
|
2019-09-26 05:38:21 +00:00
|
|
|
class="container"
|
2019-09-23 05:23:24 +00:00
|
|
|
fxFlex="0 0 auto"
|
|
|
|
fxLayout="row"
|
|
|
|
fxLayoutAlign="center center"
|
|
|
|
>
|
2019-10-21 04:20:14 +00:00
|
|
|
<div class="add-option">
|
2019-10-29 09:17:48 +00:00
|
|
|
<button mat-icon-button class="material-icons" (click)="onClickFileInput()">
|
2019-10-24 07:28:19 +00:00
|
|
|
<mat-icon>attach_file</mat-icon>
|
|
|
|
</button>
|
2019-10-29 09:17:48 +00:00
|
|
|
<input
|
|
|
|
type="file"
|
|
|
|
#fileInput
|
|
|
|
style="display: none"
|
|
|
|
multiple
|
|
|
|
(change)="onChangeFileInput()"
|
|
|
|
/>
|
2019-10-24 07:28:19 +00:00
|
|
|
|
2019-11-20 09:04:24 +00:00
|
|
|
<button
|
|
|
|
mat-icon-button
|
|
|
|
class="material-icons"
|
|
|
|
(click)="onClickStickerSelector()"
|
|
|
|
>
|
2019-10-24 07:28:19 +00:00
|
|
|
<mat-icon>sentiment_satisfied_alt</mat-icon>
|
|
|
|
</button>
|
|
|
|
|
2019-11-20 09:04:24 +00:00
|
|
|
<!-- <button mat-icon-button class="material-icons">
|
2019-10-24 07:28:19 +00:00
|
|
|
<mat-icon>g_translate</mat-icon>
|
2019-11-20 09:04:24 +00:00
|
|
|
</button> -->
|
2019-10-21 04:20:14 +00:00
|
|
|
</div>
|
|
|
|
|
2019-09-23 05:23:24 +00:00
|
|
|
<form
|
|
|
|
#replyForm="ngForm"
|
2019-10-08 05:34:37 +00:00
|
|
|
(ngSubmit)="onSend($event)"
|
|
|
|
(keydown.enter)="onSend($event)"
|
2019-09-23 05:23:24 +00:00
|
|
|
fxFlex
|
|
|
|
fxLayout="row"
|
|
|
|
fxLayoutAlign="start center"
|
|
|
|
>
|
|
|
|
<mat-form-field
|
|
|
|
class="message-text"
|
|
|
|
fxFlex
|
|
|
|
floatLabel="never"
|
|
|
|
appearance="standard"
|
|
|
|
>
|
|
|
|
<textarea
|
|
|
|
matInput
|
|
|
|
#replyInput
|
|
|
|
placeholder="Type your message"
|
|
|
|
ngModel
|
|
|
|
name="message"
|
|
|
|
[matTextareaAutosize]="true"
|
2019-11-20 02:02:14 +00:00
|
|
|
[matAutosizeMinRows]="1"
|
|
|
|
[matAutosizeMaxRows]="20"
|
2019-09-23 05:23:24 +00:00
|
|
|
></textarea>
|
|
|
|
</mat-form-field>
|
|
|
|
|
|
|
|
<button
|
2019-11-25 00:05:35 +00:00
|
|
|
class="send-message-button bg-primary-darkest"
|
2019-09-23 05:23:24 +00:00
|
|
|
mat-icon-button
|
|
|
|
type="submit"
|
|
|
|
aria-label="Send message"
|
2019-10-08 05:34:37 +00:00
|
|
|
>
|
2019-11-22 06:49:39 +00:00
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor"
|
|
|
|
stroke-width="2" stroke-linecap="butt" stroke-linejoin="round">
|
|
|
|
<path d="M12 19V6M5 12l7-7 7 7" /></svg>
|
2019-10-08 05:34:37 +00:00
|
|
|
</button>
|
2019-09-23 05:23:24 +00:00
|
|
|
</form>
|
|
|
|
</div>
|