2019-10-16 08:46:53 +00:00
|
|
|
<mat-card class="confirm-card">
|
|
|
|
<mat-card-header cdkDrag cdkDragRootElement=".cdk-overlay-pane" cdkDragHandle>
|
|
|
|
<mat-card-title>{{ data.title }}</mat-card-title>
|
|
|
|
</mat-card-header>
|
2019-10-18 00:48:38 +00:00
|
|
|
<mat-card-content
|
|
|
|
fxLayout
|
|
|
|
fxLayout.xs="column"
|
|
|
|
fxLayoutAlign="center"
|
|
|
|
fxLayoutGap="10px"
|
|
|
|
fxLayoutGap.xs="0"
|
|
|
|
>
|
2019-10-16 08:46:53 +00:00
|
|
|
<div fxFlex class="container">
|
|
|
|
<mat-tab-group mat-stretch-tabs>
|
|
|
|
<mat-tab>
|
|
|
|
<ng-template mat-tab-label>
|
|
|
|
<mat-icon>group</mat-icon>
|
|
|
|
</ng-template>
|
2019-10-17 02:49:41 +00:00
|
|
|
|
2019-10-18 00:48:38 +00:00
|
|
|
<ucap-organization-tenant-search
|
|
|
|
[companyList]="companyList$ | async"
|
|
|
|
[companyCode]="companyCode"
|
|
|
|
(keyDownEnter)="onKeyDownEnterOrganizationTenantSearch($event)"
|
|
|
|
></ucap-organization-tenant-search>
|
|
|
|
<ucap-group-expansion-panel
|
|
|
|
#groupExpansionPanel
|
|
|
|
[groupBuddyList]="groupBuddyList$ | async"
|
|
|
|
[favoritBuddyList]="favoritBuddyList$ | async"
|
|
|
|
[selectedUserList]="selectedUserList"
|
|
|
|
[checkable]="true"
|
|
|
|
(checkGroup)="onCheckGroup($event)"
|
|
|
|
>
|
|
|
|
<ucap-profile-user-list-item
|
|
|
|
*ucapGroupExpansionPanelItem="let userInfo"
|
|
|
|
[userInfo]="userInfo"
|
|
|
|
[sessionVerinfo]="sessionVerinfo"
|
|
|
|
[selectedUserList]="selectedUserList"
|
|
|
|
[isChecked]="getCheckedUser(userInfo)"
|
|
|
|
[checkable]="true"
|
|
|
|
(checkUser)="onCheckUser($event)"
|
|
|
|
>
|
2019-10-17 02:49:41 +00:00
|
|
|
</ucap-profile-user-list-item>
|
|
|
|
</ucap-group-expansion-panel>
|
2019-10-16 08:46:53 +00:00
|
|
|
</mat-tab>
|
|
|
|
<mat-tab>
|
|
|
|
<ng-template mat-tab-label>
|
|
|
|
<mat-icon>device_hub</mat-icon>
|
|
|
|
</ng-template>
|
2019-10-18 00:48:38 +00:00
|
|
|
<app-layout-chat-left-sidenav-organization
|
|
|
|
[selectedUserList]="selectedUserList"
|
|
|
|
[isUserSelect]="true"
|
|
|
|
(checkUser)="onCheckUser($event)"
|
|
|
|
>
|
2019-10-17 08:02:20 +00:00
|
|
|
</app-layout-chat-left-sidenav-organization>
|
2019-10-16 08:46:53 +00:00
|
|
|
</mat-tab>
|
2019-10-18 00:48:38 +00:00
|
|
|
<mat-tab *ngIf="data.type === UserSelectDialogType.MessageForward">
|
2019-10-16 08:46:53 +00:00
|
|
|
<ng-template mat-tab-label>
|
|
|
|
<mat-icon>chat</mat-icon>
|
|
|
|
</ng-template>
|
2019-10-18 00:48:38 +00:00
|
|
|
<ucap-room-list-item
|
|
|
|
*ngFor="let room of roomList"
|
|
|
|
[loginRes]="loginRes"
|
|
|
|
[roomInfo]="room"
|
|
|
|
[roomUserInfo]="getRoomUserList(room)"
|
|
|
|
[sessionVerinfo]="sessionVerinfo"
|
|
|
|
>
|
2019-10-17 02:49:41 +00:00
|
|
|
</ucap-room-list-item>
|
2019-10-16 08:46:53 +00:00
|
|
|
</mat-tab>
|
|
|
|
</mat-tab-group>
|
|
|
|
</div>
|
2019-10-18 00:48:38 +00:00
|
|
|
<div fxFlex="150px">
|
2019-10-17 02:49:41 +00:00
|
|
|
<ul>
|
|
|
|
<li *ngFor="let userInfo of selectedUserList">
|
|
|
|
{{ userInfo.name }}
|
2019-10-18 00:48:38 +00:00
|
|
|
<button
|
|
|
|
mat-icon-button
|
|
|
|
aria-label="Delete user"
|
|
|
|
(click)="onClickDeleteUser(userInfo)"
|
|
|
|
>
|
|
|
|
<mat-icon>close</mat-icon>
|
|
|
|
</button>
|
|
|
|
<mat-icon></mat-icon>
|
2019-10-17 02:49:41 +00:00
|
|
|
</li>
|
|
|
|
</ul>
|
2019-10-16 08:46:53 +00:00
|
|
|
</div>
|
|
|
|
</mat-card-content>
|
|
|
|
<mat-card-actions class="button-farm flex-row">
|
2019-10-18 00:48:38 +00:00
|
|
|
<button
|
|
|
|
mat-stroked-button
|
|
|
|
(click)="onClickChoice(false)"
|
|
|
|
class="mat-primary"
|
|
|
|
>
|
2019-10-16 08:46:53 +00:00
|
|
|
No
|
|
|
|
</button>
|
|
|
|
<button mat-flat-button (click)="onClickChoice(true)" class="mat-primary">
|
|
|
|
Yes
|
|
|
|
</button>
|
|
|
|
</mat-card-actions>
|
|
|
|
</mat-card>
|