Current folder ID: {{ documentList.currentFolderId }}
diff --git a/demo-shell/src/app/components/files/files.component.ts b/demo-shell/src/app/components/files/files.component.ts index afebf5d579..d5544cff06 100644 --- a/demo-shell/src/app/components/files/files.component.ts +++ b/demo-shell/src/app/components/files/files.component.ts @@ -23,14 +23,16 @@ import { MatDialog } from '@angular/material'; import { ActivatedRoute, Params, Router } from '@angular/router'; import { MinimalNodeEntity, NodePaging, Pagination, MinimalNodeEntryEntity, SiteEntry } from 'alfresco-js-api'; import { - AlfrescoApiService, ContentService, TranslationService, + AlfrescoApiService, AuthenticationService, ContentService, TranslationService, FileUploadEvent, FolderCreatedEvent, LogService, NotificationService, UploadService, DataColumn, DataRow, UserPreferencesService, - PaginationComponent + PaginationComponent, FormValues } from '@alfresco/adf-core'; import { DocumentListComponent, PermissionStyleModel, DownloadZipDialogComponent } from '@alfresco/adf-content-services'; +import { SelectAppsDialogComponent } from '@alfresco/adf-process-services'; + import { VersionManagerDialogAdapterComponent } from './version-manager-dialog-adapter.component'; import { Subscription } from 'rxjs/Rx'; @@ -60,6 +62,10 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy { // The identifier of a node. You can also use one of these well-known aliases: -my- | -shared- | -root- currentFolderId: string = DEFAULT_FOLDER_TO_SHOW; + formValues: FormValues = {}; + + processId; + @Input() selectionMode = 'multiple'; @@ -143,7 +149,8 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy { private router: Router, private logService: LogService, private preference: UserPreferencesService, - @Optional() private route: ActivatedRoute) { + @Optional() private route: ActivatedRoute, + public authenticationService: AuthenticationService) { } showFile(event) { @@ -208,7 +215,7 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy { } giveDefaultPaginationWhenNotDefined() { - this.pagination =