mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-2415] PDF Viewer - open password protected pdf files (#3022)
* pdf password dialog * PDF viewer onPassword test * pdf password dialog * PDF viewer onPassword test * test * test * test * test * test * test * test * fix password test * travis improvements
This commit is contained in:
committed by
Eugenio Romano
parent
2951374cc0
commit
ae8b7419a0
@@ -19,6 +19,7 @@ import { CommonModule } from '@angular/common';
|
||||
import { NgModule } from '@angular/core';
|
||||
import { TranslateModule } from '@ngx-translate/core';
|
||||
import { FlexLayoutModule } from '@angular/flex-layout';
|
||||
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
||||
|
||||
import { MaterialModule } from '../material.module';
|
||||
import { ToolbarModule } from '../toolbar/toolbar.module';
|
||||
@@ -26,6 +27,7 @@ import { PipeModule } from '../pipes/pipe.module';
|
||||
import { ImgViewerComponent } from './components/imgViewer.component';
|
||||
import { MediaPlayerComponent } from './components/mediaPlayer.component';
|
||||
import { PdfViewerComponent } from './components/pdfViewer.component';
|
||||
import { PdfPasswordDialogComponent } from './components/pdfViewer-password-dialog';
|
||||
import { PdfThumbComponent } from './components/pdfViewer-thumb.component';
|
||||
import { PdfThumbListComponent } from './components/pdfViewer-thumbnails.component';
|
||||
import { TxtViewerComponent } from './components/txtViewer.component';
|
||||
@@ -43,11 +45,14 @@ import { ViewerToolbarActionsComponent } from './components/viewer-toolbar-actio
|
||||
CommonModule,
|
||||
MaterialModule,
|
||||
TranslateModule,
|
||||
FormsModule,
|
||||
ReactiveFormsModule,
|
||||
ToolbarModule,
|
||||
PipeModule,
|
||||
FlexLayoutModule
|
||||
],
|
||||
declarations: [
|
||||
PdfPasswordDialogComponent,
|
||||
ViewerComponent,
|
||||
ImgViewerComponent,
|
||||
TxtViewerComponent,
|
||||
@@ -63,12 +68,16 @@ import { ViewerToolbarActionsComponent } from './components/viewer-toolbar-actio
|
||||
ViewerMoreActionsComponent,
|
||||
ViewerToolbarActionsComponent
|
||||
],
|
||||
entryComponents: [
|
||||
PdfPasswordDialogComponent
|
||||
],
|
||||
exports: [
|
||||
ViewerComponent,
|
||||
ImgViewerComponent,
|
||||
TxtViewerComponent,
|
||||
MediaPlayerComponent,
|
||||
PdfViewerComponent,
|
||||
PdfPasswordDialogComponent,
|
||||
PdfThumbComponent,
|
||||
PdfThumbListComponent,
|
||||
ViewerExtensionDirective,
|
||||
|
Reference in New Issue
Block a user