팝업 전체 사이즈 조정(사이즈 이슈 발생 할 수 있음), 앨범뷰어 저장, 다른이름 저장, 다수대화방 오프라인 표시 적용

This commit is contained in:
khk 2020-03-29 11:27:13 +09:00
parent 4c751b294d
commit 6beb8e5e2b
53 changed files with 619 additions and 450 deletions

View File

@ -156,7 +156,8 @@ export class LeftSideComponent implements OnInit, OnDestroy {
CreateChatDialogData, CreateChatDialogData,
CreateChatDialogResult CreateChatDialogResult
>(CreateChatDialogComponent, { >(CreateChatDialogComponent, {
width: '600px', maxWidth: '94vw',
maxHeight: '90vh',
data: { data: {
type: UserSelectDialogType.NewChat, type: UserSelectDialogType.NewChat,
title: title:
@ -188,7 +189,8 @@ export class LeftSideComponent implements OnInit, OnDestroy {
CreateChatDialogData, CreateChatDialogData,
CreateChatDialogResult CreateChatDialogResult
>(CreateChatDialogComponent, { >(CreateChatDialogComponent, {
width: '600px', maxWidth: '94vw',
maxHeight: '90vh',
data: { data: {
type: UserSelectDialogType.NewGroup, type: UserSelectDialogType.NewGroup,
title: this.translateService.instant('group.addNew') title: this.translateService.instant('group.addNew')
@ -220,8 +222,8 @@ export class LeftSideComponent implements OnInit, OnDestroy {
MessageWriteDialogData, MessageWriteDialogData,
MessageWriteDialogResult MessageWriteDialogResult
>(MessageWriteDialogComponent, { >(MessageWriteDialogComponent, {
width: '600px', maxWidth: '90vw',
height: '600px', maxHeight: '94vh',
disableClose: true, disableClose: true,
hasBackdrop: false, hasBackdrop: false,
data: { data: {

View File

@ -269,6 +269,7 @@ export class ChatComponent implements OnInit, OnDestroy, AfterViewChecked {
ConfirmDialogData, ConfirmDialogData,
ConfirmDialogResult ConfirmDialogResult
>(ConfirmDialogComponent, { >(ConfirmDialogComponent, {
panelClass: 'miniSize-dialog',
data: { data: {
title: this.translateService.instant('chat.exitFromRoom'), title: this.translateService.instant('chat.exitFromRoom'),
html: this.translateService.instant('chat.confirmExitFromRoom') html: this.translateService.instant('chat.confirmExitFromRoom')

View File

@ -512,7 +512,7 @@ export class GroupComponent implements OnInit, OnDestroy {
ConfirmDialogData, ConfirmDialogData,
ConfirmDialogResult ConfirmDialogResult
>(ConfirmDialogComponent, { >(ConfirmDialogComponent, {
width: '360px', panelClass: 'miniSize-dialog',
data: { data: {
title: this.translateService.instant( title: this.translateService.instant(
'group.removeBuddyFromGroup' 'group.removeBuddyFromGroup'
@ -547,7 +547,6 @@ export class GroupComponent implements OnInit, OnDestroy {
SelectGroupDialogData, SelectGroupDialogData,
SelectGroupDialogResult SelectGroupDialogResult
>(SelectGroupDialogComponent, { >(SelectGroupDialogComponent, {
width: '600px',
data: { data: {
title: this.translateService.instant('group.selectTargetGroup') title: this.translateService.instant('group.selectTargetGroup')
} }
@ -586,7 +585,6 @@ export class GroupComponent implements OnInit, OnDestroy {
SelectGroupDialogData, SelectGroupDialogData,
SelectGroupDialogResult SelectGroupDialogResult
>(SelectGroupDialogComponent, { >(SelectGroupDialogComponent, {
width: '600px',
data: { data: {
title: this.translateService.instant('group.selectTargetGroup'), title: this.translateService.instant('group.selectTargetGroup'),
ignoreGroup: [group] ignoreGroup: [group]
@ -621,8 +619,8 @@ export class GroupComponent implements OnInit, OnDestroy {
MessageWriteDialogData, MessageWriteDialogData,
MessageWriteDialogResult MessageWriteDialogResult
>(MessageWriteDialogComponent, { >(MessageWriteDialogComponent, {
width: '600px', maxWidth: '90vw',
height: '600px', maxHeight: '94vh',
disableClose: true, disableClose: true,
hasBackdrop: false, hasBackdrop: false,
data: { data: {
@ -715,8 +713,9 @@ export class GroupComponent implements OnInit, OnDestroy {
MessageWriteDialogData, MessageWriteDialogData,
MessageWriteDialogResult MessageWriteDialogResult
>(MessageWriteDialogComponent, { >(MessageWriteDialogComponent, {
width: '600px', minWidth: '600px',
height: '600px', maxWidth: '90vw',
maxHeight: '94vh',
disableClose: true, disableClose: true,
hasBackdrop: false, hasBackdrop: false,
data: { data: {
@ -737,6 +736,7 @@ export class GroupComponent implements OnInit, OnDestroy {
EditGroupDialogData, EditGroupDialogData,
EditGroupDialogResult EditGroupDialogResult
>(EditGroupDialogComponent, { >(EditGroupDialogComponent, {
panelClass: 'miniSize-dialog',
data: { data: {
title: this.translateService.instant('group.changeGroupName'), title: this.translateService.instant('group.changeGroupName'),
group group
@ -765,7 +765,8 @@ export class GroupComponent implements OnInit, OnDestroy {
CreateChatDialogData, CreateChatDialogData,
CreateChatDialogResult CreateChatDialogResult
>(CreateChatDialogComponent, { >(CreateChatDialogComponent, {
width: '600px', maxWidth: '90vh',
maxHeight: '94vh',
data: { data: {
type: UserSelectDialogType.EditMember, type: UserSelectDialogType.EditMember,
title: this.translateService.instant('group.modifyGroupMember'), title: this.translateService.instant('group.modifyGroupMember'),
@ -797,7 +798,7 @@ export class GroupComponent implements OnInit, OnDestroy {
ConfirmDialogData, ConfirmDialogData,
ConfirmDialogResult ConfirmDialogResult
>(ConfirmDialogComponent, { >(ConfirmDialogComponent, {
width: '360px', panelClass: 'miniSize-dialog',
data: { data: {
title: this.translateService.instant('group.removeGroup'), title: this.translateService.instant('group.removeGroup'),
html: this.translateService.instant( html: this.translateService.instant(

View File

@ -202,7 +202,6 @@ export class MessageBoxComponent
MessageDetailDialogData, MessageDetailDialogData,
MessageDetailDialogResult MessageDetailDialogResult
>(MessageDetailDialogComponent, { >(MessageDetailDialogComponent, {
width: '600px',
hasBackdrop: false, hasBackdrop: false,
data: { data: {
detail: info, detail: info,
@ -243,7 +242,7 @@ export class MessageBoxComponent
AlertDialogData, AlertDialogData,
AlertDialogResult AlertDialogResult
>(AlertDialogComponent, { >(AlertDialogComponent, {
width: '360px', panelClass: 'miniSize-dialog',
data: { data: {
title: this.translateService.instant('message.errors.label'), title: this.translateService.instant('message.errors.label'),
message: this.translateService.instant( message: this.translateService.instant(
@ -417,8 +416,8 @@ export class MessageBoxComponent
MessageWriteDialogData, MessageWriteDialogData,
MessageWriteDialogResult MessageWriteDialogResult
>(MessageWriteDialogComponent, { >(MessageWriteDialogComponent, {
width: '600px', maxWidth: '90vw',
height: '600px', maxHeight: '94vh',
disableClose: true, disableClose: true,
hasBackdrop: false, hasBackdrop: false,
data: { data: {

View File

@ -595,6 +595,8 @@ export class OrganizationComponent
SelectedUserListDialogData, SelectedUserListDialogData,
SelectedUserListDialogResult SelectedUserListDialogResult
>(SelectedUserListDialogComponent, { >(SelectedUserListDialogComponent, {
maxWidth: '90vw',
maxHeight: '94vh',
data: { data: {
title: this.translateService.instant('organization.selectedUser'), title: this.translateService.instant('organization.selectedUser'),
selectedUserList: this.selectedUserList selectedUserList: this.selectedUserList
@ -617,7 +619,8 @@ export class OrganizationComponent
SelectGroupDialogData, SelectGroupDialogData,
SelectGroupDialogResult SelectGroupDialogResult
>(SelectGroupDialogComponent, { >(SelectGroupDialogComponent, {
width: '600px', maxWidth: '90vw',
maxHeight: '94vh',
data: { data: {
title: this.translateService.instant('group.selectTargetGroup') title: this.translateService.instant('group.selectTargetGroup')
} }
@ -747,8 +750,8 @@ export class OrganizationComponent
MessageWriteDialogData, MessageWriteDialogData,
MessageWriteDialogResult MessageWriteDialogResult
>(MessageWriteDialogComponent, { >(MessageWriteDialogComponent, {
width: '600px', maxWidth: '90vw',
height: '600px', maxHeight: '94vh',
disableClose: true, disableClose: true,
hasBackdrop: false, hasBackdrop: false,
data: { data: {

View File

@ -48,37 +48,15 @@
</button> </button>
</div> </div>
<div class="room-info"> <div class="room-info">
<div
*ngIf="roomInfoSubject.value && roomInfoSubject.value.isTimeRoom"
class="room-type text-accent-color"
>
<span class="bg-accent-darkest"
>{{ getConvertTimer(roomInfoSubject.value.timeRoomInterval) }}
</span>
</div>
<div
*ngIf="
roomInfoSubject.value &&
(roomInfoSubject.value.roomType === RoomType.Single ||
roomInfoSubject.value.roomType === RoomType.Multi) &&
offLineUsers.length > 0
"
class="room-type text-accent-color"
>
<span
*ngIf="roomInfoSubject.value.roomType === RoomType.Single"
class="bg-accent-darkest"
>
{{ 'chat.existOfflineUser' | translate }}
</span>
<span
*ngIf="roomInfoSubject.value.roomType === RoomType.Multi"
class="bg-accent-darkest"
>
{{ 'chat.existOfflineUsers' | translate }}
</span>
</div>
<h3 class="room-name"> <h3 class="room-name">
<span
*ngIf="roomInfoSubject.value && roomInfoSubject.value.isTimeRoom"
class="room-type text-accent-color"
>
<span class="bg-accent-darkest"
>{{ getConvertTimer(roomInfoSubject.value.timeRoomInterval) }}
</span>
</span>
<ng-container <ng-container
*ngIf="!roomInfoSubject.value || !userInfoListSubject.value" *ngIf="!roomInfoSubject.value || !userInfoListSubject.value"
> >
@ -148,18 +126,22 @@
</ng-container> </ng-container>
</ng-container> </ng-container>
</h3> </h3>
<!-- Timer Room Info --> <div
<!--<div *ngIf="
*ngIf="roomInfoSubject.value && roomInfoSubject.value.isTimeRoom" roomInfoSubject.value &&
class="room-type text-accent-color " (roomInfoSubject.value.roomType === RoomType.Single ||
roomInfoSubject.value.roomType === RoomType.Multi) &&
offLineUsers.length > 0
"
class="member-state-msg text-warn-color"
> >
<span class="bg-accent-darkest" <span *ngIf="roomInfoSubject.value.roomType === RoomType.Single">
>{{ {{ 'chat.existOfflineUser' | translate }}
getConvertTimer(roomInfoSubject.value.timeRoomInterval) </span>
}} </span <span *ngIf="roomInfoSubject.value.roomType === RoomType.Multi">
>{{ 'chat.isRoomTypeSecret' | translate }} {{ 'chat.existOfflineUsers' | translate }}
</div>--> </span>
<!-- Timer Room Info --> </div>
</div> </div>
<div class="room-option"> <div class="room-option">
<button <button
@ -168,11 +150,6 @@
(click)="onClickReceiveAlarm()" (click)="onClickReceiveAlarm()"
aria-label="Toggle Receive Alarm" aria-label="Toggle Receive Alarm"
> >
<!--<mat-icon
class="amber-fg"
*ngIf="roomInfoSubject.value.receiveAlarm"
matTooltip="{{ 'chat.notificationIsOn' | translate }}"
>notifications_active</mat-icon>-->
<mat-icon <mat-icon
class="icon-button" class="icon-button"
*ngIf="roomInfoSubject.value.receiveAlarm" *ngIf="roomInfoSubject.value.receiveAlarm"

View File

@ -70,14 +70,18 @@
} }
.room-info { .room-info {
display: flex; display: flex;
flex-flow: row; flex-flow: column;
overflow: hidden; overflow: hidden;
align-items: center; align-items: center;
.room-name { .room-name {
position: relative;
display: flex;
flex-flow: row;
height: 20px;
font-size: 0.94rem; font-size: 0.94rem;
line-height: normal; line-height: normal;
width: 100%;
@include ellipsis(1); @include ellipsis(1);
.more-info { .more-info {
font-size: 0.9rem; font-size: 0.9rem;
color: #656565; color: #656565;
@ -86,6 +90,7 @@
} }
} }
} }
.room-type { .room-type {
font-size: 0.9rem; font-size: 0.9rem;
line-height: normal; line-height: normal;
@ -98,6 +103,14 @@
} }
} }
} }
.member-state-msg {
display: flex;
align-items: center;
align-self: self-start;
padding: 0;
font-size: 11px;
height: 16px;
}
.room-option { .room-option {
margin-left: auto; margin-left: auto;
margin-right: -10px; margin-right: -10px;

View File

@ -777,13 +777,13 @@ export class MessagesComponent implements OnInit, OnDestroy, AfterViewInit {
AlertDialogData, AlertDialogData,
AlertDialogResult AlertDialogResult
>(AlertDialogComponent, { >(AlertDialogComponent, {
width: '360px',
data: { data: {
title: this.translateService.instant('chat.errors.label'), title: this.translateService.instant('chat.errors.label'),
message: this.translateService.instant( message: this.translateService.instant(
'chat.errors.inputChatMessage' 'chat.errors.inputChatMessage'
) )
} },
panelClass: 'miniSize-dialog'
}); });
return; return;
} }
@ -1575,7 +1575,7 @@ export class MessagesComponent implements OnInit, OnDestroy, AfterViewInit {
ConfirmDialogData, ConfirmDialogData,
ConfirmDialogResult ConfirmDialogResult
>(ConfirmDialogComponent, { >(ConfirmDialogComponent, {
width: '400px', panelClass: 'miniSize-dialog',
data: { data: {
title: this.translateService.instant('chat.removeEvent'), title: this.translateService.instant('chat.removeEvent'),
html: this.translateService.instant('chat.confirmRemoveEvent') html: this.translateService.instant('chat.confirmRemoveEvent')
@ -1599,7 +1599,7 @@ export class MessagesComponent implements OnInit, OnDestroy, AfterViewInit {
ConfirmDialogData, ConfirmDialogData,
ConfirmDialogResult ConfirmDialogResult
>(ConfirmDialogComponent, { >(ConfirmDialogComponent, {
width: '400px', panelClass: 'miniSize-dialog',
data: { data: {
title: this.translateService.instant('chat.recallEvent'), title: this.translateService.instant('chat.recallEvent'),
html: this.translateService.instant('chat.confirmRecallEvent') html: this.translateService.instant('chat.confirmRecallEvent')
@ -1716,7 +1716,6 @@ export class MessagesComponent implements OnInit, OnDestroy, AfterViewInit {
CreateChatDialogData, CreateChatDialogData,
CreateChatDialogResult CreateChatDialogResult
>(CreateChatDialogComponent, { >(CreateChatDialogComponent, {
width: '600px',
data: { data: {
type: UserSelectDialogType.EditChatMember, type: UserSelectDialogType.EditChatMember,
title: this.translateService.instant('chat.modifyRoomMember'), title: this.translateService.instant('chat.modifyRoomMember'),
@ -1783,7 +1782,6 @@ export class MessagesComponent implements OnInit, OnDestroy, AfterViewInit {
SelectGroupDialogData, SelectGroupDialogData,
SelectGroupDialogResult SelectGroupDialogResult
>(SelectGroupDialogComponent, { >(SelectGroupDialogComponent, {
width: '600px',
data: { data: {
title: this.translateService.instant('chat.addMemberToGroup') title: this.translateService.instant('chat.addMemberToGroup')
} }
@ -1819,6 +1817,7 @@ export class MessagesComponent implements OnInit, OnDestroy, AfterViewInit {
EditChatRoomDialogResult EditChatRoomDialogResult
>(EditChatRoomDialogComponent, { >(EditChatRoomDialogComponent, {
width: '600px', width: '600px',
height: '320px',
data: { data: {
title: this.translateService.instant('chat.settingsOfRoom'), title: this.translateService.instant('chat.settingsOfRoom'),
roomInfo: this.roomInfoSubject.value roomInfo: this.roomInfoSubject.value

View File

@ -308,7 +308,6 @@ export class FileBoxComponent implements OnInit, OnDestroy {
CreateChatDialogData, CreateChatDialogData,
CreateChatDialogResult CreateChatDialogResult
>(CreateChatDialogComponent, { >(CreateChatDialogComponent, {
width: '600px',
data: { data: {
type: UserSelectDialogType.MessageForward, type: UserSelectDialogType.MessageForward,
title: this.translateService.instant('chat.forwardFileTo'), title: this.translateService.instant('chat.forwardFileTo'),
@ -350,7 +349,7 @@ export class FileBoxComponent implements OnInit, OnDestroy {
ConfirmDialogData, ConfirmDialogData,
ConfirmDialogResult ConfirmDialogResult
>(ConfirmDialogComponent, { >(ConfirmDialogComponent, {
width: '400px', panelClass: 'miniSize-dialog',
data: { data: {
title: 'Delete', title: 'Delete',
html: this.translateService.instant('chat.confirmDeleteFile') html: this.translateService.instant('chat.confirmDeleteFile')

View File

@ -106,7 +106,7 @@ export class NoticeComponent implements OnInit, OnDestroy, AfterViewInit {
NoticeDetailDialogData NoticeDetailDialogData
>(NoticeDetailDialogComponent, { >(NoticeDetailDialogComponent, {
disableClose: false, disableClose: false,
width: '550px', //width: '550px',
data: { data: {
notice notice
} }

View File

@ -181,7 +181,6 @@ export class RoomUserListComponent implements OnInit, OnDestroy {
CreateChatDialogData, CreateChatDialogData,
CreateChatDialogResult CreateChatDialogResult
>(CreateChatDialogComponent, { >(CreateChatDialogComponent, {
width: '600px',
data: { data: {
type: UserSelectDialogType.EditChatMember, type: UserSelectDialogType.EditChatMember,
title: this.translateService.instant('chat.modifyRoomMember'), title: this.translateService.instant('chat.modifyRoomMember'),
@ -237,7 +236,6 @@ export class RoomUserListComponent implements OnInit, OnDestroy {
SelectGroupDialogData, SelectGroupDialogData,
SelectGroupDialogResult SelectGroupDialogResult
>(SelectGroupDialogComponent, { >(SelectGroupDialogComponent, {
width: '600px',
data: { data: {
title: this.translateService.instant('group.selectTargetGroup') title: this.translateService.instant('group.selectTargetGroup')
} }
@ -291,6 +289,7 @@ export class RoomUserListComponent implements OnInit, OnDestroy {
ConfirmDialogData, ConfirmDialogData,
ConfirmDialogResult ConfirmDialogResult
>(ConfirmDialogComponent, { >(ConfirmDialogComponent, {
panelClass: 'miniSize-dialog',
data: { data: {
title: this.translateService.instant('chat.ejectFromRoom'), title: this.translateService.instant('chat.ejectFromRoom'),
html: this.translateService.instant('chat.confirmEjectFromRoom', { html: this.translateService.instant('chat.confirmEjectFromRoom', {

View File

@ -1,9 +1,11 @@
::ng-deep .use-caution { .use-caution {
.btn-dialog-close { .btn-dialog-close {
margin-left: auto; margin-left: auto;
} }
.mat-card-header-text { .mat-card-header {
width: 100%; width: 100%;
justify-content: center;
color: #ffffff;
.mat-card-title { .mat-card-title {
justify-content: center; justify-content: center;
color: #ffffff; color: #ffffff;
@ -28,9 +30,17 @@
} }
} }
} }
::ng-deep.use-caution {
form { .notice {
.mat-form-field { ol {
width: 100%; li {
list-style: decimal;
margin-bottom: 14px;
margin-left: 20px;
span {
color: #ff5722;
}
}
}
} }
} }

View File

@ -11,7 +11,10 @@
</button> </button>
</mat-card-header> </mat-card-header>
<mat-card-content> <mat-card-content>
<div *ngIf="data.type === UserSelectDialogType.NewGroup"> <div
*ngIf="data.type === UserSelectDialogType.NewGroup"
class="newgroup-form"
>
<form name="inputForm" [formGroup]="inputForm" novalidate> <form name="inputForm" [formGroup]="inputForm" novalidate>
<mat-form-field <mat-form-field
hintLabel="{{ hintLabel="{{
@ -52,6 +55,7 @@
fxLayoutAlign="center" fxLayoutAlign="center"
fxLayoutGap="10px" fxLayoutGap="10px"
fxLayoutGap.xs="0" fxLayoutGap.xs="0"
class="mat-card-content-frame"
> >
<div fxFlex class="container"> <div fxFlex class="container">
<mat-tab-group <mat-tab-group
@ -60,25 +64,6 @@
> >
<mat-tab> <mat-tab>
<ng-template mat-tab-label> <ng-template mat-tab-label>
<!--<mat-icon>group</mat-icon>
<svg
xmlns="http://www.w3.org/2000/svg"
width="20"
height="20"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="1.5"
stroke-linecap="butt"
stroke-linejoin="round"
matTooltip="{{ 'group.label' | translate }}"
matTooltipPosition="after"
>
<path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path>
<circle cx="9" cy="7" r="4"></circle>
<path d="M23 21v-2a4 4 0 0 0-3-3.87"></path>
<path d="M16 3.13a4 4 0 0 1 0 7.75"></path>
</svg>-->
<button class="icon-button"> <button class="icon-button">
<i class="mid mid-24 mdi-account-multiple"></i> <i class="mid mid-24 mdi-account-multiple"></i>
</button> </button>
@ -227,24 +212,24 @@
</mat-tab-group> </mat-tab-group>
</div> </div>
</div> </div>
<mat-card-actions class="button-form flex-row">
<button
mat-stroked-button
(click)="onClickChoice(false)"
class="mat-primary"
>
{{ 'common.messages.no' | translate }}
</button>
<button
mat-flat-button
[disabled]="getBtnValid()"
(click)="onClickChoice(true)"
class="mat-primary"
>
{{ 'common.messages.yes' | translate }}
</button>
</mat-card-actions>
</mat-card-content> </mat-card-content>
<mat-card-actions class="button-form flex-row">
<button
mat-stroked-button
(click)="onClickChoice(false)"
class="mat-primary"
>
{{ 'common.messages.no' | translate }}
</button>
<button
mat-flat-button
[disabled]="getBtnValid()"
(click)="onClickChoice(true)"
class="mat-primary"
>
{{ 'common.messages.yes' | translate }}
</button>
</mat-card-actions>
</mat-card> </mat-card>
<ng-template #selectedUserListTemplate> <ng-template #selectedUserListTemplate>
@ -254,6 +239,7 @@
*ngFor="let userInfo of selectedUserList" *ngFor="let userInfo of selectedUserList"
[selected]="getChipsRemoveYn(userInfo)" [selected]="getChipsRemoveYn(userInfo)"
(removed)="onClickDeleteUser(userInfo)" (removed)="onClickDeleteUser(userInfo)"
[matTooltip]="userInfo.deptName"
> >
{{ userInfo | ucapTranslate: 'name' }} {{ userInfo | ucapTranslate: 'name' }}
<mat-icon matChipRemove *ngIf="getChipsRemoveYn(userInfo)" <mat-icon matChipRemove *ngIf="getChipsRemoveYn(userInfo)"

View File

@ -10,24 +10,27 @@
} }
} }
& > .mat-card-content { & > .mat-card-content {
//height: 568px;
position: relative; position: relative;
.container { .mat-card-content-frame {
height: 100%; height: calc(100% - 50px);
.container-frame { .container {
height: 530px; height: 100%;
.container-frame {
height: 530px;
}
} }
} }
//그룹이름 있는 경우 //그룹이름 있는 경우
.newgroup-form { .newgroup-form {
height: 70px; height: 70px;
+ .container { & + .mat-card-content-frame {
height: calc(100% - 70px); height: calc(100% - 120px);
.container-frame { .container {
.mat-tab-group { .mat-tab-frame {
& > .mat-tab-body { .mat-tab-group {
height: 380px; & > .mat-tab-body {
height: 380px;
}
} }
} }
} }
@ -44,7 +47,7 @@
} }
.dialog-tab-grouplist { .dialog-tab-grouplist {
height: 380px; height: calc(100% - 140px);
width: 100%; width: 100%;
.group, .group,
.search-result { .search-result {
@ -82,7 +85,7 @@
::ng-deep .dialog-tab-orglist { ::ng-deep .dialog-tab-orglist {
width: 100%; width: 100%;
height: 380px; height: calc(100% - 150px);
border-bottom: 1px solid #dddddd; border-bottom: 1px solid #dddddd;
position: relative; position: relative;
.oraganization { .oraganization {
@ -147,7 +150,7 @@
} }
} }
/*:ng-deep .dialog-creat-chat { /*::ng-deep .dialog-creat-chat {
& > .mat-tab-body-wrapper { & > .mat-tab-body-wrapper {
.mat-tab-body { .mat-tab-body {
height: 380px; height: 380px;
@ -162,3 +165,15 @@
} }
} }
*/ */
.mat-card-content {
.mat-card-content-frame {
height: 100%;
.container {
height: 100%;
.mat-tab-group {
height: 100%;
}
}
}
}

View File

@ -787,7 +787,6 @@ export class CreateChatDialogComponent implements OnInit, OnDestroy {
ConfirmDialogData, ConfirmDialogData,
ConfirmDialogResult ConfirmDialogResult
>(ConfirmDialogComponent, { >(ConfirmDialogComponent, {
width: '400px',
data: { data: {
title: this.translateService.instant('group.addNew'), title: this.translateService.instant('group.addNew'),
html: cfmMsg html: cfmMsg

View File

@ -1,4 +1,4 @@
<mat-card class="confirm-card mat-elevation-z"> <mat-card class="confirm-card mat-elevation-z edit-group">
<mat-card-header> <mat-card-header>
<mat-card-title <mat-card-title
cdkDrag cdkDrag
@ -41,22 +41,22 @@
</mat-error> </mat-error>
</mat-form-field> </mat-form-field>
</form> </form>
<mat-card-actions class="button-form flex-row">
<button
mat-stroked-button
(click)="onClickChoice(false)"
class="mat-primary"
>
{{ 'common.messages.no' | translate }}
</button>
<button
mat-flat-button
(click)="onClickChoice(true)"
[disabled]="inputForm.invalid"
class="mat-primary"
>
{{ 'common.messages.yes' | translate }}
</button>
</mat-card-actions>
</mat-card-content> </mat-card-content>
<mat-card-actions class="button-form flex-row">
<button
mat-stroked-button
(click)="onClickChoice(false)"
class="mat-primary"
>
{{ 'common.messages.no' | translate }}
</button>
<button
mat-flat-button
(click)="onClickChoice(true)"
[disabled]="inputForm.invalid"
class="mat-primary"
>
{{ 'common.messages.yes' | translate }}
</button>
</mat-card-actions>
</mat-card> </mat-card>

View File

@ -1,18 +1,32 @@
.mat-card-header { .edit-group {
.mat-card-header-text { width: 100%;
margin: 0; height: 100%;
}
.btn-dialog-close {
font-size: 20px;
display: flex;
margin-left: auto;
align-self: flex-start;
color: #444444;
}
}
form { .mat-card-header {
.mat-form-field { .mat-card-header-text {
width: 100%; margin: 0;
}
.btn-dialog-close {
font-size: 20px;
display: flex;
margin-left: auto;
align-self: flex-start;
color: #444444;
}
}
.mat-card-content {
display: flex;
flex-flow: column;
form {
.mat-form-field {
width: 100%;
}
}
.mat-card-actions {
display: flex;
align-self: flex-end;
flex-flow: row;
margin-top: auto;
}
} }
} }

View File

@ -1,4 +1,4 @@
<mat-card class="confirm-card mat-elevation-z"> <mat-card class="confirm-card mat-elevation-z selected-user">
<mat-card-header> <mat-card-header>
<mat-card-title>{{ data.title }}</mat-card-title> <mat-card-title>{{ data.title }}</mat-card-title>
<button class="icon-button btn-dialog-close" (click)="onClickChoice(false)"> <button class="icon-button btn-dialog-close" (click)="onClickChoice(false)">
@ -16,96 +16,98 @@
<mat-icon>add</mat-icon> <mat-icon>add</mat-icon>
<span class="mat-fab__label">{{ 'group.addNew' | translate }}</span> <span class="mat-fab__label">{{ 'group.addNew' | translate }}</span>
</button> </button>
</div>
<div *ngIf="isShowAddGroupField" class="input-groupname-box"> <div *ngIf="isShowAddGroupField" class="input-groupname-box">
<form name="inputForm" [formGroup]="inputForm" novalidate> <form name="inputForm" [formGroup]="inputForm" novalidate>
<mat-form-field <mat-form-field
hintLabel="{{ hintLabel="{{
'common.useOnlyForSpecialCharacter' 'common.useOnlyForSpecialCharacter'
| translate: { specialCharacter: '-,_' } | translate: { specialCharacter: '-,_' }
}}" }}"
> >
<input <input
matInput matInput
#inputGroupName #inputGroupName
type="text" type="text"
maxlength="20" maxlength="20"
placeholder="{{ 'group.name' | translate }}" placeholder="{{ 'group.name' | translate }}"
value="" value=""
formControlName="groupName" formControlName="groupName"
/> />
<button
mat-button
matSuffix
mat-icon-button
aria-label="Clear"
(click)="inputGroupName.value = ''"
>
<mat-icon>close</mat-icon>
</button>
<mat-hint align="end"
>{{ inputGroupName.value?.length || 0 }}/20</mat-hint
>
<mat-error
*ngIf="inputForm.get('groupName').hasError('groupNameBanned')"
>
{{
'group.errors.bannedWords'
| translate: { bannedWords: bannedWords.join(',') }
}}
</mat-error>
<mat-error
*ngIf="inputForm.get('groupName').hasError('groupNameSamed')"
>
{{ 'group.errors.sameNameExist' | translate }}
</mat-error>
</mat-form-field>
</form>
<div class="btn-box">
<button mat-stroked-button (click)="onClickAddGroupCancel()">
{{ 'common.messages.close' | translate }}
</button>
<button <button
mat-stroked-button mat-button
color="accent" matSuffix
(click)="onClickAddGroup(inputGroupName.value)" mat-icon-button
class="mat-accent" aria-label="Clear"
[disabled]="inputForm.invalid" (click)="inputGroupName.value = ''"
> >
{{ 'group.addNew' | translate }} <mat-icon>close</mat-icon>
</button> </button>
</div> <mat-hint align="end"
>{{ inputGroupName.value?.length || 0 }}/20</mat-hint
>
<mat-error
*ngIf="inputForm.get('groupName').hasError('groupNameBanned')"
>
{{
'group.errors.bannedWords'
| translate: { bannedWords: bannedWords.join(',') }
}}
</mat-error>
<mat-error
*ngIf="inputForm.get('groupName').hasError('groupNameSamed')"
>
{{ 'group.errors.sameNameExist' | translate }}
</mat-error>
</mat-form-field>
</form>
<div class="btn-box">
<button mat-stroked-button (click)="onClickAddGroupCancel()">
{{ 'common.messages.close' | translate }}
</button>
<button
mat-stroked-button
color="accent"
(click)="onClickAddGroup(inputGroupName.value)"
class="mat-accent"
[disabled]="inputForm.invalid"
>
{{ 'group.addNew' | translate }}
</button>
</div> </div>
</div> </div>
<mat-selection-list #groups> <mat-selection-list #groups>
<mat-list-option <perfect-scrollbar fxFlex="1 1 auto">
*ngFor="let groupBuddy of groupBuddyList$ | async" <mat-list-option
[value]="groupBuddy.group" *ngFor="let groupBuddy of groupBuddyList$ | async"
[disabled]="getDisabled(groupBuddy)" [value]="groupBuddy.group"
class="group-list" [disabled]="getDisabled(groupBuddy)"
> class="group-list"
<div class="group-name"> >
<span class="title-name ellipsis"> {{ groupBuddy.group.name }} </span> <div class="group-name">
<span class="text-accent-color number" <span class="title-name ellipsis">
>({{ groupBuddy.buddyList.length {{ groupBuddy.group.name }}
}}{{ 'common.units.persons' | translate }})</span </span>
> <span class="text-accent-color number"
</div> >({{ groupBuddy.buddyList.length
</mat-list-option> }}{{ 'common.units.persons' | translate }})</span
>
</div>
</mat-list-option>
</perfect-scrollbar>
</mat-selection-list> </mat-selection-list>
<mat-card-actions class="button-form flex-row">
<button
mat-stroked-button
(click)="onClickChoice(false)"
class="mat-primary"
>
{{ 'common.messages.no' | translate }}
</button>
<button mat-flat-button (click)="onClickChoice(true)" class="mat-primary">
{{ 'common.messages.yes' | translate }}
</button>
</mat-card-actions>
</mat-card-content> </mat-card-content>
<mat-card-actions class="button-form flex-row">
<button
mat-stroked-button
(click)="onClickChoice(false)"
class="mat-primary"
>
{{ 'common.messages.no' | translate }}
</button>
<button mat-flat-button (click)="onClickChoice(true)" class="mat-primary">
{{ 'common.messages.yes' | translate }}
</button>
</mat-card-actions>
</mat-card> </mat-card>

View File

@ -14,9 +14,10 @@
width: 100%; width: 100%;
padding: 10px; padding: 10px;
} }
.confirm-card { .selected-user {
min-width: 500px; height: 100%;
.mat-card-content { .mat-card-content {
position: relative;
} }
.button-form { .button-form {
text-align: right; text-align: right;
@ -40,12 +41,17 @@
margin-left: 10px; margin-left: 10px;
} }
} }
+ .mat-selection-list {
border-top: 1px solid #999999;
height: calc(100% - 100px);
}
} }
.input-groupname-box {
.mat-selection-list { + .mat-selection-list {
border-top: 1px solid #999999; border-top: 1px solid #999999;
height: calc(100% - 200px);
}
} }
.group-list { .group-list {
&.mat-list-item { &.mat-list-item {
border-bottom: 1px solid #dddddd; border-bottom: 1px solid #dddddd;

View File

@ -215,7 +215,6 @@ export class SelectGroupDialogComponent implements OnInit {
ConfirmDialogData, ConfirmDialogData,
ConfirmDialogResult ConfirmDialogResult
>(ConfirmDialogComponent, { >(ConfirmDialogComponent, {
width: '300px',
data: { data: {
title: this.translateService.instant('group.addNew'), title: this.translateService.instant('group.addNew'),
html: this.translateService.instant('group.confirmAddNewWith', { html: this.translateService.instant('group.confirmAddNewWith', {

View File

@ -1,4 +1,4 @@
<mat-card class="confirm-card mat-elevation-z"> <mat-card class="confirm-card mat-elevation-z message-detail">
<mat-card-header> <mat-card-header>
<mat-card-title <mat-card-title
cdkDrag cdkDrag
@ -257,20 +257,20 @@
</mat-tab-group> </mat-tab-group>
</mat-drawer> </mat-drawer>
</mat-drawer-container> </mat-drawer-container>
<mat-card-actions class="button-form flex-row">
<button mat-stroked-button (click)="onClickConfirm()" class="mat-primary">
{{ 'common.messages.confirm' | translate }}
</button>
<button
mat-flat-button
*ngIf="messageDetail.msgInfo.type === MessageType.Receive"
(click)="onClickReply()"
class="mat-primary"
>
{{ 'message.sendReply' | translate }}
</button>
</mat-card-actions>
</mat-card-content> </mat-card-content>
<mat-card-actions class="button-form flex-row">
<button mat-stroked-button (click)="onClickConfirm()" class="mat-primary">
{{ 'common.messages.confirm' | translate }}
</button>
<button
mat-flat-button
*ngIf="messageDetail.msgInfo.type === MessageType.Receive"
(click)="onClickReply()"
class="mat-primary"
>
{{ 'message.sendReply' | translate }}
</button>
</mat-card-actions>
</mat-card> </mat-card>
<mat-menu #messageMenu="matMenu" xPosition="after" yPosition="below"> <mat-menu #messageMenu="matMenu" xPosition="after" yPosition="below">

View File

@ -1,24 +1,27 @@
.mat-card-header { .message-detail {
.mat-card-header-text { width: 100%;
margin: 0; height: 100%;
.mat-card-header {
.mat-card-header-text {
margin: 0;
}
.btn-dialog-close {
font-size: 20px;
display: flex;
margin-left: auto;
align-self: flex-start;
color: #444444;
}
} }
.btn-dialog-close {
font-size: 20px;
display: flex;
margin-left: auto;
align-self: flex-start;
color: #444444;
}
}
.confirm-card {
min-width: 500px;
.mat-card-content { .mat-card-content {
} mat-drawer-container {
.button-form { height: calc(100% - 40px);
text-align: right; }
.mat-primary { .button-form {
margin-left: 4px; text-align: right;
.mat-primary {
margin-left: 4px;
}
} }
} }
} }

View File

@ -465,6 +465,7 @@ export class MessageDetailDialogComponent implements OnInit {
ConfirmDialogData, ConfirmDialogData,
ConfirmDialogResult ConfirmDialogResult
>(ConfirmDialogComponent, { >(ConfirmDialogComponent, {
panelClass: 'miniSize-dialog',
data: { data: {
title: this.translateService.instant('message.cancelReservation'), title: this.translateService.instant('message.cancelReservation'),
html: this.translateService.instant( html: this.translateService.instant(
@ -509,8 +510,8 @@ export class MessageDetailDialogComponent implements OnInit {
MessageWriteDialogData, MessageWriteDialogData,
MessageWriteDialogResult MessageWriteDialogResult
>(MessageWriteDialogComponent, { >(MessageWriteDialogComponent, {
width: '600px', maxWidth: '90vw',
height: '600px', maxHeight: '94vh',
disableClose: true, disableClose: true,
hasBackdrop: false, hasBackdrop: false,
data: { data: {
@ -558,6 +559,7 @@ export class MessageDetailDialogComponent implements OnInit {
ConfirmDialogData, ConfirmDialogData,
ConfirmDialogResult ConfirmDialogResult
>(ConfirmDialogComponent, { >(ConfirmDialogComponent, {
panelClass: 'miniSize-dialog',
data: { data: {
title: this.translateService.instant('message.cancelSending'), title: this.translateService.instant('message.cancelSending'),
message: this.translateService.instant('message.confirmCancelSending') message: this.translateService.instant('message.confirmCancelSending')

View File

@ -1,4 +1,4 @@
<mat-card class="confirm-card mat-elevation-z"> <mat-card class="confirm-card mat-elevation-z message-write">
<mat-card-header> <mat-card-header>
<mat-card-title <mat-card-title
cdkDrag cdkDrag

View File

@ -1,21 +1,17 @@
.mat-card-header { .message-write {
.mat-card-header-text { width: 100%;
margin: 0;
}
.btn-dialog-close {
font-size: 20px;
display: flex;
margin-left: auto;
align-self: flex-start;
color: #444444;
}
}
.confirm-card {
min-width: 500px;
height: 100%; height: 100%;
mat-card-content { .mat-card-header {
height: calc(100% - 40px); .mat-card-header-text {
margin: 0;
}
.btn-dialog-close {
font-size: 20px;
display: flex;
margin-left: auto;
align-self: flex-start;
color: #444444;
}
} }
} }

View File

@ -124,7 +124,7 @@ export class MessageWriteDialogComponent implements OnInit {
CreateChatDialogData, CreateChatDialogData,
CreateChatDialogResult CreateChatDialogResult
>(CreateChatDialogComponent, { >(CreateChatDialogComponent, {
width: '600px', //width: '600px',
data: { data: {
type: UserSelectDialogType.EditChatMember, type: UserSelectDialogType.EditChatMember,
title: this.translateService.instant('message.selectRecipient'), title: this.translateService.instant('message.selectRecipient'),

View File

@ -68,17 +68,17 @@
</ucap-profile-user-list-item> --> </ucap-profile-user-list-item> -->
</cdk-virtual-scroll-viewport> </cdk-virtual-scroll-viewport>
</div> </div>
<mat-card-actions class="button-frame flex-row">
<button
mat-stroked-button
(click)="onClickChoice(false)"
class="mat-primary"
>
{{ 'common.messages.cancel' | translate }}
</button>
<button mat-flat-button (click)="onClickChoice(true)" class="mat-primary">
{{ 'common.messages.apply' | translate }}
</button>
</mat-card-actions>
</mat-card-content> </mat-card-content>
<mat-card-actions class="button-frame flex-row">
<button
mat-stroked-button
(click)="onClickChoice(false)"
class="mat-primary"
>
{{ 'common.messages.cancel' | translate }}
</button>
<button mat-flat-button (click)="onClickChoice(true)" class="mat-primary">
{{ 'common.messages.apply' | translate }}
</button>
</mat-card-actions>
</mat-card> </mat-card>

View File

@ -11,22 +11,24 @@
} }
} }
.confirm-card { .selected-user-dialog {
min-width: 500px;
.mat-card-content { .mat-card-content {
height: calc(100% - 80px);
.item-list { .item-list {
height: 450px; height: calc(100% - 40px);
} }
} .button-frame {
.button-frame { text-align: right;
text-align: right; margin: 0;
.mat-primary { .mat-primary {
margin-left: 4px; margin-left: 4px;
}
} }
} }
} }
.selected-user-dialog { .selected-user-dialog {
height: 100%;
.check-all { .check-all {
display: flex; display: flex;
border-bottom: 2px solid #444444; border-bottom: 2px solid #444444;

View File

@ -235,8 +235,8 @@ export class ProfileDialogComponent implements OnInit, OnDestroy {
MessageWriteDialogData, MessageWriteDialogData,
MessageWriteDialogResult MessageWriteDialogResult
>(MessageWriteDialogComponent, { >(MessageWriteDialogComponent, {
width: '600px', maxWidth: '90vw',
height: '600px', maxHeight: '94vh',
disableClose: true, disableClose: true,
hasBackdrop: false, hasBackdrop: false,
data: { data: {
@ -273,7 +273,7 @@ export class ProfileDialogComponent implements OnInit, OnDestroy {
ConfirmDialogData, ConfirmDialogData,
ConfirmDialogResult ConfirmDialogResult
>(ConfirmDialogComponent, { >(ConfirmDialogComponent, {
width: '360px', panelClass: 'miniSize-dialog',
data: { data: {
title: this.translateService.instant('call.callTo'), title: this.translateService.instant('call.callTo'),
html: this.translateService.instant('call.callWithNumber', { html: this.translateService.instant('call.callWithNumber', {
@ -359,7 +359,6 @@ export class ProfileDialogComponent implements OnInit, OnDestroy {
SelectGroupDialogData, SelectGroupDialogData,
SelectGroupDialogResult SelectGroupDialogResult
>(SelectGroupDialogComponent, { >(SelectGroupDialogComponent, {
width: '600px',
data: { data: {
title: this.translateService.instant('group.selectTargetGroup') title: this.translateService.instant('group.selectTargetGroup')
} }
@ -387,7 +386,7 @@ export class ProfileDialogComponent implements OnInit, OnDestroy {
ConfirmDialogData, ConfirmDialogData,
ConfirmDialogResult ConfirmDialogResult
>(ConfirmDialogComponent, { >(ConfirmDialogComponent, {
width: '360px', panelClass: 'miniSize-dialog',
data: { data: {
title: this.translateService.instant('group.removeBuddyFromGroup'), title: this.translateService.instant('group.removeBuddyFromGroup'),
html: this.translateService.instant( html: this.translateService.instant(

View File

@ -1,4 +1,4 @@
<mat-card class="confirm-card mat-elevation-z"> <mat-card class="confirm-card mat-elevation-z integrated-search">
<mat-card-header> <mat-card-header>
<mat-card-title <mat-card-title
cdkDrag cdkDrag

View File

@ -1,12 +1,20 @@
.mat-card-header { .integrated-search {
.mat-card-header-text { height: 100%;
margin: 0; .mat-card-header {
.mat-card-header-text {
margin: 0;
}
.btn-dialog-close {
font-size: 20px;
display: flex;
margin-left: auto;
align-self: flex-start;
color: #444444;
}
} }
.btn-dialog-close { .mat-card-content {
font-size: 20px; ucap-integrated-search {
display: flex; height: 100%;
margin-left: auto; }
align-self: flex-start;
color: #444444;
} }
} }

View File

@ -219,6 +219,8 @@ export class IntegratedSearchDialogComponent implements OnInit, OnDestroy {
ProfileDialogData, ProfileDialogData,
ProfileDialogResult ProfileDialogResult
>(ProfileDialogComponent, { >(ProfileDialogComponent, {
maxWidth: '90vw',
height: '500px',
data: { data: {
userInfo: res.userInfo userInfo: res.userInfo
} }

View File

@ -1,6 +1,6 @@
.setting-frame { .setting-frame {
padding: 16px; padding: 16px;
height: calc(90vh - 40px); height: calc(90vh - 50px);
width: 100%; width: 100%;
position: relative; position: relative;

View File

@ -406,6 +406,8 @@ export class TopBarComponent implements OnInit, OnDestroy {
ProfileDialogData, ProfileDialogData,
ProfileDialogResult ProfileDialogResult
>(ProfileDialogComponent, { >(ProfileDialogComponent, {
maxWidth: '90vw',
height: '500px',
data: { data: {
userInfo: res.userInfo userInfo: res.userInfo
} }
@ -687,7 +689,8 @@ export class TopBarComponent implements OnInit, OnDestroy {
data: { data: {
keyword keyword
}, },
restoreFocus: false restoreFocus: false,
panelClass: 'fullSize-dialog'
}); });
this.integratedSearchWord = ''; this.integratedSearchWord = '';
@ -699,7 +702,7 @@ export class TopBarComponent implements OnInit, OnDestroy {
ConfirmDialogData, ConfirmDialogData,
ConfirmDialogResult ConfirmDialogResult
>(ConfirmDialogComponent, { >(ConfirmDialogComponent, {
width: '400px', panelClass: 'miniSize-dialog',
data: { data: {
title: 'Clear & Logout?', title: 'Clear & Logout?',
html: 'Clear General Setting And Logout?' html: 'Clear General Setting And Logout?'

View File

@ -53,7 +53,6 @@ $ease-in-out: cubic-bezier(0.785, 0.135, 0.15, 0.86);
position: relative; position: relative;
height: 100%; height: 100%;
width: 100%; width: 100%;
//background: $main;
overflow: hidden; overflow: hidden;
&_wrap { &_wrap {
position: absolute; position: absolute;
@ -333,20 +332,6 @@ $ease-in-out: cubic-bezier(0.785, 0.135, 0.15, 0.86);
padding-top: 10px; padding-top: 10px;
}*/ }*/
} }
::ng-deep .notice {
ol {
li {
list-style: decimal;
margin-bottom: 14px;
margin-left: 20px;
span {
color: #ff5722;
}
}
}
}
@media all and (max-width: 1400px) { @media all and (max-width: 1400px) {
.slider { .slider {
&_content { &_content {

View File

@ -168,7 +168,7 @@ export class LoginPageComponent implements OnInit, OnDestroy {
AlertDialogData, AlertDialogData,
AlertDialogResult AlertDialogResult
>(AlertDialogComponent, { >(AlertDialogComponent, {
width: '360px', panelClass: 'miniSize-dialog',
data: { data: {
title: '', title: '',
html: this.translateService.instant( html: this.translateService.instant(
@ -184,7 +184,7 @@ export class LoginPageComponent implements OnInit, OnDestroy {
AlertDialogData, AlertDialogData,
AlertDialogResult AlertDialogResult
>(AlertDialogComponent, { >(AlertDialogComponent, {
width: '360px', panelClass: 'miniSize-dialog',
data: { data: {
title: '', title: '',
html: this.translateService.instant( html: this.translateService.instant(
@ -234,7 +234,7 @@ export class LoginPageComponent implements OnInit, OnDestroy {
AlertDialogData, AlertDialogData,
AlertDialogResult AlertDialogResult
>(AlertDialogComponent, { >(AlertDialogComponent, {
width: '360px', panelClass: 'miniSize-dialog',
data: { data: {
title: '', title: '',
html: this.translateService.instant( html: this.translateService.instant(
@ -256,7 +256,7 @@ export class LoginPageComponent implements OnInit, OnDestroy {
AlertDialogData, AlertDialogData,
AlertDialogResult AlertDialogResult
>(AlertDialogComponent, { >(AlertDialogComponent, {
width: '360px', panelClass: 'miniSize-dialog',
data: { data: {
title: this.translateService.instant( title: this.translateService.instant(
'accounts.errors.loginFailed' 'accounts.errors.loginFailed'
@ -298,7 +298,7 @@ export class LoginPageComponent implements OnInit, OnDestroy {
AlertDialogData, AlertDialogData,
AlertDialogResult AlertDialogResult
>(AlertDialogComponent, { >(AlertDialogComponent, {
width: '360px', panelClass: 'miniSize-dialog',
data: { data: {
title: '', title: '',
html: msg html: msg
@ -381,7 +381,7 @@ export class LoginPageComponent implements OnInit, OnDestroy {
AlertDialogData, AlertDialogData,
AlertDialogResult AlertDialogResult
>(AlertDialogComponent, { >(AlertDialogComponent, {
width: '360px', panelClass: 'miniSize-dialog',
data: { data: {
title: this.translateService.instant( title: this.translateService.instant(
'accounts.errors.loginFailed' 'accounts.errors.loginFailed'
@ -402,7 +402,7 @@ export class LoginPageComponent implements OnInit, OnDestroy {
AlertDialogData, AlertDialogData,
AlertDialogResult AlertDialogResult
>(AlertDialogComponent, { >(AlertDialogComponent, {
width: '360px', panelClass: 'miniSize-dialog',
data: { data: {
title: this.translateService.instant( title: this.translateService.instant(
'accounts.errors.loginFailed' 'accounts.errors.loginFailed'
@ -442,6 +442,8 @@ export class LoginPageComponent implements OnInit, OnDestroy {
NoticeDialogResult NoticeDialogResult
>(NoticeDialogComponent, { >(NoticeDialogComponent, {
width: '600px', width: '600px',
height: '540px',
panelClass: 'notice-dialog',
data: { data: {
title: '이용시 주의사항', title: '이용시 주의사항',
html: ` html: `

View File

@ -353,6 +353,8 @@ export class MainPageComponent implements OnInit, OnDestroy {
ProfileDialogData, ProfileDialogData,
ProfileDialogResult ProfileDialogResult
>(ProfileDialogComponent, { >(ProfileDialogComponent, {
maxWidth: '90vw',
height: '500px',
data: { data: {
userInfo: res.userInfo, userInfo: res.userInfo,
openProfileOptions: params.openProfileOptions openProfileOptions: params.openProfileOptions
@ -389,7 +391,7 @@ export class MainPageComponent implements OnInit, OnDestroy {
ConfirmDialogData, ConfirmDialogData,
ConfirmDialogResult ConfirmDialogResult
>(ConfirmDialogComponent, { >(ConfirmDialogComponent, {
width: '360px', panelClass: 'miniSize-dialog',
data: { data: {
title: this.translateService.instant('call.callTo'), title: this.translateService.instant('call.callTo'),
html: this.translateService.instant('call.callWithNumber', { html: this.translateService.instant('call.callWithNumber', {

View File

@ -283,6 +283,7 @@ export class Effects {
ConfirmDialogData, ConfirmDialogData,
ConfirmDialogResult ConfirmDialogResult
>(ConfirmDialogComponent, { >(ConfirmDialogComponent, {
panelClass: 'miniSize-dialog',
data: { data: {
title: this.translateService.instant('accounts.logout'), title: this.translateService.instant('accounts.logout'),
message: this.translateService.instant('accounts.confirmLogout') message: this.translateService.instant('accounts.confirmLogout')
@ -334,8 +335,6 @@ export class Effects {
ConfirmDialogData, ConfirmDialogData,
ConfirmDialogResult ConfirmDialogResult
>(ConfirmDialogComponent, { >(ConfirmDialogComponent, {
width: '100%',
height: '500px',
disableClose: true, disableClose: true,
data: { data: {
title: this.translateService.instant( title: this.translateService.instant(
@ -365,8 +364,6 @@ export class Effects {
ConfirmDialogData, ConfirmDialogData,
ConfirmDialogResult ConfirmDialogResult
>(ConfirmDialogComponent, { >(ConfirmDialogComponent, {
width: '100%',
height: '500px',
disableClose: true, disableClose: true,
data: { data: {
title: this.translateService.instant('accounts.resetPassword'), title: this.translateService.instant('accounts.resetPassword'),
@ -526,7 +523,7 @@ export class Effects {
AlertDialogData, AlertDialogData,
AlertDialogResult AlertDialogResult
>(AlertDialogComponent, { >(AlertDialogComponent, {
width: '360px', panelClass: 'miniSize-dialog',
disableClose: true, disableClose: true,
data: { data: {
title: this.translateService.instant('accounts.changePassword'), title: this.translateService.instant('accounts.changePassword'),

View File

@ -371,7 +371,7 @@ export class Effects {
AlertDialogData, AlertDialogData,
AlertDialogResult AlertDialogResult
>(AlertDialogComponent, { >(AlertDialogComponent, {
width: '360px', panelClass: 'miniSize-dialog',
disableClose: true, disableClose: true,
data: { data: {
title: '', title: '',

View File

@ -43,10 +43,8 @@ export class Effects {
MessengerSettingsDialogData, MessengerSettingsDialogData,
MessengerSettingsDialogResult MessengerSettingsDialogResult
>(MessengerSettingsDialogComponent, { >(MessengerSettingsDialogComponent, {
width: '800px',
maxWidth: '94vw', maxWidth: '94vw',
maxHeight: '90vh', maxHeight: '90vh',
minHeight: '500px',
disableClose: false, disableClose: false,
data: {} data: {}
}); });

View File

@ -540,6 +540,16 @@ $daesang-grey: (
} }
} }
} }
.mat-calendar {
mat-calendar-header {
.mat-calendar-header {
.mat-calendar-controls {
margin: 0;
}
}
}
}
.mat-calendar-body-selected { .mat-calendar-body-selected {
background-color: mat-color($accent); background-color: mat-color($accent);
} }

View File

@ -2,12 +2,13 @@
width: 100%; width: 100%;
height: 100%; height: 100%;
form { form {
height: 400px; height: calc(100% - 100px);
perfect-scrollbar { perfect-scrollbar {
.ps--active-x > .ps__rail-x { .ps--active-x > .ps__rail-x {
display: none; display: none;
} }
.write-form { .write-form {
height: 100%;
padding-right: 10px; padding-right: 10px;
} }
} }
@ -56,6 +57,8 @@
flex-flow: row; flex-flow: row;
position: relative; position: relative;
width: 100%; width: 100%;
min-height: calc(100% - 150px);
margin-top: 10px;
.message-receiver-list { .message-receiver-list {
position: relative; position: relative;
width: 30%; width: 30%;
@ -64,15 +67,15 @@
} }
.message-write-body { .message-write-body {
display: flex; display: flex;
flex: 1 1 auto; flex: 1 1 100%;
flex-flow: column; flex-flow: column;
margin: 0; margin: 0;
height: auto;
.ucap-message-write-editor { .ucap-message-write-editor {
display: inline-block; display: inline-block;
width: 100%; width: 100%;
height: 100%; height: 100%;
padding: 10px; padding: 10px;
min-height: 250px;
border: 1px solid #dddddd; border: 1px solid #dddddd;
word-break: break-all; word-break: break-all;
} }

View File

@ -372,7 +372,7 @@ export class WriteComponent implements OnInit, OnDestroy, AfterViewInit {
ScheduleSendDialogResult ScheduleSendDialogResult
>(ScheduleSendDialogComponent, { >(ScheduleSendDialogComponent, {
width: '600px', width: '600px',
height: '600px', height: '560px',
disableClose: true, disableClose: true,
data: { data: {
reservationDate reservationDate

View File

@ -6,7 +6,7 @@
</mat-card-header> </mat-card-header>
<mat-card-content> <mat-card-content>
<div fxLayout="row"> <div fxLayout="row">
<div fxFlex="60%"> <div flFlex="0 0 100%" style="width:50%;">
<div fxLayout="column"> <div fxLayout="column">
<div fxFlexFill> <div fxFlexFill>
<ucap-pick-date <ucap-pick-date
@ -101,31 +101,31 @@
</div> </div>
</div> </div>
</div> </div>
</mat-card-content> <div class="actions-message text-warn-color">
<mat-card-actions> <span *ngIf="dateIsToEarly">
<div class="actions-container"> {{ 'message.errors.minTimeReservation' | translate }}
<div class="actions-message text-warn-color"> </span>
<span *ngIf="dateIsToEarly">
{{ 'message.errors.minTimeReservation' | translate }}
</span>
</div>
<div class="actions">
<button
mat-stroked-button
(click)="onClickCancel()"
class="mat-primary"
>
{{ 'common.messages.cancel' | translate }}
</button>
<button
mat-flat-button
[disabled]="dateIsToEarly"
(click)="onClickSend()"
class="mat-primary"
>
{{ 'message.sendReservation' | translate }}
</button>
</div>
</div> </div>
</mat-card-actions> <mat-card-actions>
<div class="actions-container">
<div class="actions">
<button
mat-stroked-button
(click)="onClickCancel()"
class="mat-primary"
>
{{ 'common.messages.cancel' | translate }}
</button>
<button
mat-flat-button
[disabled]="dateIsToEarly"
(click)="onClickSend()"
class="mat-primary"
>
{{ 'message.sendReservation' | translate }}
</button>
</div>
</div>
</mat-card-actions>
</mat-card-content>
</mat-card> </mat-card>

View File

@ -8,6 +8,7 @@
.actions-message { .actions-message {
font-size: 0.9em; font-size: 0.9em;
height: 30px;
} }
.actions-spacer { .actions-spacer {
@ -36,6 +37,10 @@
} }
.Reservation-dete { .Reservation-dete {
margin-top: 30px; margin-top: 10px;
font-size: 1.6em; font-size: 1.6em;
} }
.actions-message {
height: 30px;
}

View File

@ -33,7 +33,6 @@ $login-max-height: 800px;
.mat-card.profile { .mat-card.profile {
display: flex; display: flex;
min-width: 600px;
flex-flow: row; flex-flow: row;
flex: 0 0 auto; flex: 0 0 auto;
width: 100%; width: 100%;
@ -228,7 +227,8 @@ $login-max-height: 800px;
} }
} }
/*.btn-elephant { /* 프로필사진 옆에 보여줄때
.btn-elephant {
position: absolute; position: absolute;
background-color: #ffffff !important; background-color: #ffffff !important;
justify-content: center; justify-content: center;

View File

@ -63,6 +63,10 @@
color: #444444; color: #444444;
} }
} }
.mat-card-content {
position: relative;
height: calc(100% - 50px);
}
.button-form { .button-form {
text-align: right; text-align: right;
.mat-primary { .mat-primary {
@ -70,3 +74,56 @@
} }
} }
} }
//기본 다이얼로그
.cdk-overlay-pane {
max-width: 90vw;
max-height: 94vh;
.mat-dialog-container {
position: relative;
width: 800px;
height: 90vh;
@media screen and (max-width: 1000px) {
width: 800px;
height: 90vh;
}
@media screen and (max-width: 800px) {
width: 90vw;
height: 94vh;
}
& > .mat-card {
width: 100%;
height: 100%;
}
}
}
//통합검색
.fullSize-dialog {
width: 90vw;
height: 94vh;
.mat-dialog-container {
position: relative;
width: 100%;
height: 100%;
}
}
//confirm-dialog
.miniSize-dialog {
width: 400px;
height: 260px;
.mat-dialog-container {
position: relative;
width: 100%;
height: 100%;
}
}
//viwer-dialog
.app-dialog-full {
.mat-dialog-container {
width: 100%;
height: 100%;
}
}

View File

@ -20,3 +20,10 @@ body:not(.is-mobile) {
border-radius: 12px; border-radius: 12px;
} }
} }
perfect-scrollbar {
.ps-content {
position: inherit;
width: inherit;
height: inherit;
}
}

View File

@ -110,6 +110,7 @@
<line x1="8" y1="11" x2="14" y2="11"></line> <line x1="8" y1="11" x2="14" y2="11"></line>
</svg> </svg>
</button> </button>
<!--
<button <button
*ngIf="!imageOnly" *ngIf="!imageOnly"
mat-icon-button mat-icon-button
@ -119,7 +120,6 @@
aria-label="" aria-label=""
(click)="onClickDownload()" (click)="onClickDownload()"
> >
<!--<mat-icon>get_app</mat-icon>-->
<svg <svg
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
width="21" width="21"
@ -136,6 +136,8 @@
/> />
</svg> </svg>
</button> </button>
-->
<!--
<button <button
*ngIf="!imageOnly" *ngIf="!imageOnly"
mat-icon-button mat-icon-button
@ -145,7 +147,7 @@
aria-label="" aria-label=""
(click)="onClickSaveAs()" (click)="onClickSaveAs()"
> >
<!--<mat-icon>get_app</mat-icon>-->
<svg <svg
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
width="21" width="21"
@ -162,6 +164,58 @@
/> />
</svg> </svg>
</button> </button>
-->
<button
*ngIf="!imageOnly"
mat-icon-button
class="ucap-image-viewer-action"
matTooltip="{{ 'common.file.download' | translate }}"
matTooltipPosition="below"
aria-label=""
(click)="onClickDownload()"
>
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 20 19.01"
width="20"
height="20"
fill="currentColor"
>
<polygon
points="12.01 9 11.96 0 7.96 0.02 8.01 9.02 3.01 9.05 10.04 15.01 17.01 8.97 12.01 9"
/>
<rect y="17.01" width="20" height="2" />
</svg>
</button>
<button
*ngIf="!imageOnly"
mat-icon-button
class="ucap-image-viewer-action"
matTooltip="{{ 'common.file.saveAs' | translate }}"
matTooltipPosition="below"
aria-label=""
(click)="onClickSaveAs()"
>
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
width="24"
height="24"
fill="currentColor"
>
<path
d="M10.2,18.6l0.7,2.9l2.9-0.7l6.3-10.6l-3.5-2.2L10.2,18.6z M21.4,6.4L19.3,5c-0.2-0.1-0.4-0.1-0.6-0.1
c-0.2,0-0.3,0.2-0.5,0.3l-1,1.7l3.5,2.2l1.1-1.8C22,7,21.9,6.6,21.4,6.4z"
/>
<g>
<polygon class="st0" points="7.1,15.4 12.9,10.4 1.4,10.4 " />
<rect x="5.5" y="2.9" class="st0" width="3.3" height="7.5" />
</g>
<rect x="1.4" y="16.6" class="st0" width="8.2" height="2" />
</svg>
</button>
<span class="stroke-bar"></span> <span class="stroke-bar"></span>
<button <button
mat-icon-button mat-icon-button

View File

@ -1,4 +1,4 @@
<div fxLayout="column" fxFlex="1 1 auto" class="rightDrawer-notice"> <div fxLayout="column" fxFlex="1 1 auto" class="integrated-search-frame">
<div class="search-area"> <div class="search-area">
<ucap-integrated-search-form <ucap-integrated-search-form
[searchWord]="!!searchWord ? searchWord : ''" [searchWord]="!!searchWord ? searchWord : ''"

View File

@ -54,6 +54,7 @@
width: 100%; width: 100%;
overflow: hidden; overflow: hidden;
display: flex; display: flex;
height: calc(100% - 160px);
table { table {
table-layout: fixed; table-layout: fixed;
width: 100%; width: 100%;

View File

@ -14,17 +14,17 @@
<div #messageContainer class="notice"> <div #messageContainer class="notice">
{{ data.message }} {{ data.message }}
</div> </div>
<mat-card-actions *ngIf="!hideAction" class="button-form flex-row">
<button
mat-stroked-button
(click)="onClickChoice(false)"
class="mat-primary"
>
{{ 'common.messages.no' | translate }}
</button>
<button mat-flat-button (click)="onClickChoice(true)" class="mat-primary">
{{ 'common.messages.yes' | translate }}
</button>
</mat-card-actions>
</mat-card-content> </mat-card-content>
<mat-card-actions *ngIf="!hideAction" class="button-form flex-row">
<button
mat-stroked-button
(click)="onClickChoice(false)"
class="mat-primary"
>
{{ 'common.messages.no' | translate }}
</button>
<button mat-flat-button (click)="onClickChoice(true)" class="mat-primary">
{{ 'common.messages.yes' | translate }}
</button>
</mat-card-actions>
</mat-card> </mat-card>

View File

@ -1,18 +1,27 @@
.mat-card-header { .confirm-card {
.mat-card-header-text { width: 100%;
margin: 0; height: 100%;
}
.btn-dialog-close {
font-size: 20px;
display: flex;
margin-left: auto;
align-self: flex-start;
color: #444444;
}
}
form { .mat-card-header {
.mat-form-field { .mat-card-header-text {
width: 100%; margin: 0;
}
.btn-dialog-close {
font-size: 20px;
display: flex;
margin-left: auto;
align-self: flex-start;
color: #444444;
}
}
.mat-card-content {
display: flex;
flex-flow: column;
.mat-card-actions {
display: flex;
align-self: flex-end;
flex-flow: row;
margin-top: auto;
}
} }
} }