Alert, Confirm dialog panelClass 적용.

This commit is contained in:
leejinho 2020-03-30 11:40:12 +09:00
parent 5186f3790b
commit ea8d71f52f
13 changed files with 26 additions and 3 deletions

View File

@ -890,7 +890,7 @@ export class MessagesComponent implements OnInit, OnDestroy, AfterViewInit {
AlertDialogData,
AlertDialogResult
>(AlertDialogComponent, {
width: '360px',
panelClass: 'miniSize-dialog',
data: {
title: this.translateService.instant('chat.errors.label'),
message: this.translateService.instant(
@ -1024,7 +1024,7 @@ export class MessagesComponent implements OnInit, OnDestroy, AfterViewInit {
AlertDialogData,
AlertDialogResult
>(AlertDialogComponent, {
width: '360px',
panelClass: 'miniSize-dialog',
data: {
title: '',
message: this.translateService.instant(
@ -1042,7 +1042,7 @@ export class MessagesComponent implements OnInit, OnDestroy, AfterViewInit {
AlertDialogData,
AlertDialogResult
>(AlertDialogComponent, {
width: '360px',
panelClass: 'miniSize-dialog',
data: {
title: '',
message: this.translateService.instant(
@ -1741,6 +1741,7 @@ export class MessagesComponent implements OnInit, OnDestroy, AfterViewInit {
AlertDialogData,
AlertDialogResult
>(AlertDialogComponent, {
panelClass: 'miniSize-dialog',
data: {
title: this.translateService.instant('chat.errors.label'),
html: this.translateService.instant(

View File

@ -159,6 +159,7 @@ export class RoomUserListComponent implements OnInit, OnDestroy {
AlertDialogData,
AlertDialogResult
>(AlertDialogComponent, {
panelClass: 'miniSize-dialog',
data: {
title: this.translateService.instant('chat.errors.label'),
html: this.translateService.instant(

View File

@ -766,6 +766,7 @@ export class CreateChatDialogComponent implements OnInit, OnDestroy {
AlertDialogData,
AlertDialogResult
>(AlertDialogComponent, {
panelClass: 'miniSize-dialog',
data: {
title: this.translateService.instant('group.errors.label'),
html: this.translateService.instant('group.errors.requireName')
@ -787,6 +788,7 @@ export class CreateChatDialogComponent implements OnInit, OnDestroy {
ConfirmDialogData,
ConfirmDialogResult
>(ConfirmDialogComponent, {
panelClass: 'miniSize-dialog',
data: {
title: this.translateService.instant('group.addNew'),
html: cfmMsg

View File

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

View File

@ -307,6 +307,7 @@ export class MessageDetailDialogComponent implements OnInit {
AlertDialogData,
AlertDialogResult
>(AlertDialogComponent, {
panelClass: 'miniSize-dialog',
data: {
title: '',
html: this.translateService.instant(
@ -489,6 +490,7 @@ export class MessageDetailDialogComponent implements OnInit {
ConfirmDialogData,
ConfirmDialogResult
>(ConfirmDialogComponent, {
panelClass: 'miniSize-dialog',
data: {
title: this.translateService.instant('message.remove'),
message: this.translateService.instant('message.confirmRemove')

View File

@ -247,6 +247,7 @@ export class MessageWriteDialogComponent implements OnInit {
AlertDialogData,
AlertDialogResult
>(AlertDialogComponent, {
panelClass: 'miniSize-dialog',
data: {
title: this.translateService.instant('message.errors.label'),
message: errorMsg
@ -359,6 +360,7 @@ export class MessageWriteDialogComponent implements OnInit {
AlertDialogData,
AlertDialogResult
>(AlertDialogComponent, {
panelClass: 'miniSize-dialog',
data: {
title: this.translateService.instant('message.errors.label'),
message: errorMsg

View File

@ -256,6 +256,7 @@ export class ProfileDialogComponent implements OnInit, OnDestroy {
AlertDialogData,
AlertDialogResult
>(AlertDialogComponent, {
panelClass: 'miniSize-dialog',
data: {
title: this.translateService.instant('call.errors.label'),
html: this.translateService.instant('call.errors.cannotCallToUser')
@ -310,6 +311,7 @@ export class ProfileDialogComponent implements OnInit, OnDestroy {
AlertDialogData,
AlertDialogResult
>(AlertDialogComponent, {
panelClass: 'miniSize-dialog',
data: {
title: this.translateService.instant('call.errors.label'),
html: this.translateService.instant(
@ -331,6 +333,7 @@ export class ProfileDialogComponent implements OnInit, OnDestroy {
AlertDialogData,
AlertDialogResult
>(AlertDialogComponent, {
panelClass: 'miniSize-dialog',
data: {
title: this.translateService.instant('sms.errors.label'),
html: this.translateService.instant('sms.errors.haveNoPermission')

View File

@ -374,6 +374,7 @@ export class MainPageComponent implements OnInit, OnDestroy {
AlertDialogData,
AlertDialogResult
>(AlertDialogComponent, {
panelClass: 'miniSize-dialog',
data: {
title: this.translateService.instant('call.errors.label'),
html: this.translateService.instant('call.errors.cannotCallToUser')
@ -423,6 +424,7 @@ export class MainPageComponent implements OnInit, OnDestroy {
AlertDialogData,
AlertDialogResult
>(AlertDialogComponent, {
panelClass: 'miniSize-dialog',
data: {
title: this.translateService.instant('call.errors.label'),
html: this.translateService.instant(
@ -444,6 +446,7 @@ export class MainPageComponent implements OnInit, OnDestroy {
AlertDialogData,
AlertDialogResult
>(AlertDialogComponent, {
panelClass: 'miniSize-dialog',
data: {
title: this.translateService.instant('sms.errors.label'),
html: this.translateService.instant('sms.errors.haveNoPermission')

View File

@ -155,6 +155,7 @@ export class AppMessengerResolver implements Resolve<void> {
AlertDialogData,
AlertDialogResult
>(AlertDialogComponent, {
panelClass: 'miniSize-dialog',
disableClose: true,
data: {
title: 'Warnning!!',

View File

@ -335,6 +335,7 @@ export class Effects {
ConfirmDialogData,
ConfirmDialogResult
>(ConfirmDialogComponent, {
panelClass: 'miniSize-dialog',
disableClose: true,
data: {
title: this.translateService.instant(
@ -364,6 +365,7 @@ export class Effects {
ConfirmDialogData,
ConfirmDialogResult
>(ConfirmDialogComponent, {
panelClass: 'miniSize-dialog',
disableClose: true,
data: {
title: this.translateService.instant('accounts.resetPassword'),
@ -388,6 +390,7 @@ export class Effects {
AlertDialogData,
AlertDialogResult
>(AlertDialogComponent, {
panelClass: 'miniSize-dialog',
data: {
title: this.translateService.instant(
'accounts.passwordExpired'

View File

@ -111,6 +111,7 @@ export class Effects {
AlertDialogData,
AlertDialogResult
>(AlertDialogComponent, {
panelClass: 'miniSize-dialog',
disableClose: true,
data: {
title: 'Warnning!!',
@ -298,6 +299,7 @@ export class Effects {
AlertDialogData,
AlertDialogResult
>(AlertDialogComponent, {
panelClass: 'miniSize-dialog',
data: {
title: this.translateService.instant('chat.errors.label'),
html: this.translateService.instant(

View File

@ -74,6 +74,7 @@ export class Effects {
AlertDialogData,
AlertDialogResult
>(AlertDialogComponent, {
panelClass: 'miniSize-dialog',
disableClose: true,
data: {
title: 'Warnning!!',

View File

@ -453,6 +453,7 @@ export class Effects {
AlertDialogData,
AlertDialogResult
>(AlertDialogComponent, {
panelClass: 'miniSize-dialog',
data: {
title: this.translateService.instant('chat.errors.label'),
html: this.translateService.instant(