This commit is contained in:
richard-loafle 2020-02-20 15:45:07 +09:00
commit 205f71dfea
2 changed files with 34 additions and 2 deletions

View File

@ -33,6 +33,12 @@ import { FileDownloadItem } from '@ucap-webmessenger/api';
import { ModuleConfig } from '@ucap-webmessenger/api-common';
import { _MODULE_CONFIG } from 'projects/ucap-webmessenger-api-common/src/lib/config/token';
import { AppFileService } from '@app/services/file.service';
import { DialogService } from '@ucap-webmessenger/ui';
import {
FileViewerDialogComponent,
FileViewerDialogResult,
FileViewerDialogData
} from '@app/layouts/common/dialogs/file-viewer.dialog.component';
export interface FileInfoTotal {
info: FileInfo;
@ -75,6 +81,7 @@ export class AlbumBoxComponent implements OnInit, OnDestroy {
@Inject(UCAP_NATIVE_SERVICE) private nativeService: NativeService,
private appFileService: AppFileService,
@Inject(_MODULE_CONFIG) private moduleConfig: ModuleConfig,
private dialogService: DialogService,
private logger: NGXLogger
) {
this.loginRes = this.sessionStorageService.get<LoginResponse>(
@ -261,4 +268,29 @@ export class AlbumBoxComponent implements OnInit, OnDestroy {
this.playable = false;
}
}
async onFileViewer(event: MouseEvent, fileInfos: FileInfoTotal) {
// const result = await this.dialogService.open<
// FileViewerDialogComponent,
// FileViewerDialogData,
// FileViewerDialogResult
// >(FileViewerDialogComponent, {
// position: {
// top: '50px'
// },
// maxWidth: '100vw',
// maxHeight: '100vh',
// height: 'calc(100% - 50px)',
// width: '100%',
// hasBackdrop: false,
// panelClass: 'app-dialog-full',
// data: {
// fileInfo: fileInfos.info.sentMessageJson,
// downloadUrl: this.sessionVerinfo.downloadUrl,
// deviceType: this.environmentsInfo.deviceType,
// token: this.loginRes.tokenString,
// userSeq: this.loginRes.userSeq
// }
// });
}
}

View File

@ -4,8 +4,8 @@
"login": "로그인",
"logout": "로그아웃",
"fieldCompany": "회사",
"fieldLoginId": "DSP/SC 커뮤니 아이디",
"fieldLoginPw": "DSP/SC 커뮤니 비밀번호",
"fieldLoginId": "DSP/SC 커뮤 아이디",
"fieldLoginPw": "DSP/SC 커뮤 비밀번호",
"fieldPassword": "비밀번호",
"fieldCurrentPassword": "현재 비밀번호",
"fieldNewPassword": "신규 비밀번호",