mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-10-08 14:51:32 +00:00
[ADF-1403] Upload Dialog - Delete files event (#2234)
* remove provisional service * Error and Delete events * delete status * separate upload events * update demo * files upload counter and errors * pendig files icon and action * remove multiple files error key * handle cancel files * fixed component theme * remove fdescribe * resolved comments * throw error
This commit is contained in:
committed by
Mario Romano
parent
1deaa22570
commit
07ba8bc15f
@@ -26,7 +26,6 @@ import { FileUploadingListComponent } from './src/components/file-uploading-list
|
||||
import { UploadButtonComponent } from './src/components/upload-button.component';
|
||||
import { UploadDragAreaComponent } from './src/components/upload-drag-area.component';
|
||||
import { FileDraggableDirective } from './src/directives/file-draggable.directive';
|
||||
import { FileUploadService } from './src/services/file-uploading.service';
|
||||
|
||||
export * from './src/components/upload-button.component';
|
||||
export * from './src/components/file-uploading-dialog.component';
|
||||
@@ -35,7 +34,6 @@ export * from './src/directives/file-draggable.directive';
|
||||
export * from './src/components/file-uploading-list.component';
|
||||
export * from './src/components/file-uploading-list-row.component';
|
||||
export * from './src/models/permissions.model';
|
||||
export * from './src/services/file-uploading.service';
|
||||
|
||||
export const UPLOAD_DIRECTIVES: any[] = [
|
||||
FileDraggableDirective,
|
||||
@@ -46,10 +44,6 @@ export const UPLOAD_DIRECTIVES: any[] = [
|
||||
FileUploadingListRowComponent
|
||||
];
|
||||
|
||||
export const UPLOAD_PROVIDERS: any[] = [
|
||||
FileUploadService
|
||||
];
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
CoreModule,
|
||||
@@ -59,7 +53,6 @@ export const UPLOAD_PROVIDERS: any[] = [
|
||||
...UPLOAD_DIRECTIVES
|
||||
],
|
||||
providers: [
|
||||
...UPLOAD_PROVIDERS,
|
||||
{
|
||||
provide: TRANSLATION_PROVIDER,
|
||||
multi: true,
|
||||
@@ -76,10 +69,7 @@ export const UPLOAD_PROVIDERS: any[] = [
|
||||
export class UploadModule {
|
||||
static forRoot(): ModuleWithProviders {
|
||||
return {
|
||||
ngModule: UploadModule,
|
||||
providers: [
|
||||
...UPLOAD_PROVIDERS
|
||||
]
|
||||
ngModule: UploadModule
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user