[ADF-1300] Download as Zip feature and dialog (#2174)

* Download API demo

- download single selected file
- download multiple selected files as ZIP
- download one or multiple selected folders as ZIP
- download all mixed content as ZIP (file + folder)

* download dialog (first cut)

* code cleanup
This commit is contained in:
Denys Vuika
2017-08-04 14:55:15 +01:00
committed by Mario Romano
parent abe5ed5a67
commit 0f239a1fa3
5 changed files with 249 additions and 13 deletions

View File

@@ -40,10 +40,12 @@ import { ChartsModule } from 'ng2-charts';
import { AppComponent } from './app.component';
import { routing } from './app.routes';
import { CustomEditorsModule } from './components/activiti/custom-editor/custom-editor.component';
import { CreateFolderDialogComponent } from './dialogs/create-folder.dialog';
import { MaterialModule } from './material.module';
import { DebugAppConfigService } from './services/debug-app-config.service';
import { CreateFolderDialogComponent } from './dialogs/create-folder.dialog';
import { DownloadZipDialogComponent } from './dialogs/download-zip.dialog';
import { FormListDemoComponent } from './components/form/form-list-demo.component';
import {
@@ -120,6 +122,7 @@ if (process.env.ENV === 'production') {
FilesComponent,
FormNodeViewerComponent,
CreateFolderDialogComponent,
DownloadZipDialogComponent,
SettingsComponent,
FormDemoComponent,
FormListDemoComponent
@@ -129,7 +132,8 @@ if (process.env.ENV === 'production') {
],
bootstrap: [ AppComponent ],
entryComponents: [
CreateFolderDialogComponent
CreateFolderDialogComponent,
DownloadZipDialogComponent
]
})
export class AppModule { }