mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[ADF-1534] Automatic PDF rendering for unsupported types. (#2313)
* move viewer dialog to a separate folder * make dialog take full screen size * automatic PDF conversion * mime type icon in the title * [ADF-1530] correct plain text viewer resolving * separate lightweigh pdf view for the dialog
This commit is contained in:
committed by
Popovics András
parent
3ba93a6840
commit
1cf2db48ac
@@ -26,15 +26,16 @@ import { MediaPlayerComponent } from './src/components/mediaPlayer.component';
|
||||
import { NotSupportedFormatComponent } from './src/components/notSupportedFormat.component';
|
||||
import { PdfViewerComponent } from './src/components/pdfViewer.component';
|
||||
import { TxtViewerComponent } from './src/components/txtViewer.component';
|
||||
import { ViewerDialogComponent } from './src/components/viewer-dialog.component';
|
||||
import { PdfViewComponent } from './src/components/viewer-dialog/pdf-view/pdf-view.component';
|
||||
import { ViewerDialogComponent } from './src/components/viewer-dialog/viewer-dialog.component';
|
||||
import { ViewerComponent } from './src/components/viewer.component';
|
||||
import { ExtensionViewerDirective } from './src/directives/extension-viewer.directive';
|
||||
|
||||
import { RenderingQueueServices } from './src/services/rendering-queue.services';
|
||||
import { ViewerService } from './src/services/viewer.service';
|
||||
|
||||
export { ViewerDialogComponent } from './src/components/viewer-dialog.component';
|
||||
export { ViewerDialogSettings } from './src/components/viewer-dialog.settings';
|
||||
export { ViewerDialogComponent } from './src/components/viewer-dialog/viewer-dialog.component';
|
||||
export { ViewerDialogSettings } from './src/components/viewer-dialog/viewer-dialog.settings';
|
||||
export { ViewerService } from './src/services/viewer.service';
|
||||
|
||||
export const VIEWER_DIRECTIVES: any[] = [
|
||||
@@ -45,7 +46,8 @@ export const VIEWER_DIRECTIVES: any[] = [
|
||||
NotSupportedFormatComponent,
|
||||
PdfViewerComponent,
|
||||
ExtensionViewerDirective,
|
||||
ViewerDialogComponent
|
||||
ViewerDialogComponent,
|
||||
PdfViewComponent
|
||||
];
|
||||
|
||||
@NgModule({
|
||||
|
Reference in New Issue
Block a user