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

View File

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

View File

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

View File

@ -215,6 +215,7 @@ export class SelectGroupDialogComponent implements OnInit {
ConfirmDialogData, ConfirmDialogData,
ConfirmDialogResult ConfirmDialogResult
>(ConfirmDialogComponent, { >(ConfirmDialogComponent, {
panelClass: 'miniSize-dialog',
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

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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