mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-770] upgrade to md-menu (#2060)
* upgrade to md-menu - upgrade to md-menu - fix issue with missing icons - extend demo shell to show icons for actions - fix issue with border problems in Firefox - remove commented out samples in demo shell (there's readme for that instead) * fix unit tests * fix tests
This commit is contained in:
committed by
Eugenio Romano
parent
183dd3c990
commit
3b8cf27862
@@ -16,7 +16,6 @@
|
||||
*/
|
||||
|
||||
import { ModuleWithProviders, NgModule } from '@angular/core';
|
||||
import { MdButtonModule, MdIconModule, MdMenuModule, MdProgressSpinnerModule } from '@angular/material';
|
||||
import { CoreModule } from 'ng2-alfresco-core';
|
||||
import { DataTableModule } from 'ng2-alfresco-datatable';
|
||||
|
||||
@@ -28,6 +27,7 @@ import { ContentColumnComponent } from './src/components/content-column/content-
|
||||
import { DocumentListComponent } from './src/components/document-list.component';
|
||||
import { DocumentMenuActionComponent } from './src/components/document-menu-action.component';
|
||||
import { EmptyFolderContentComponent } from './src/components/empty-folder/empty-folder-content.component';
|
||||
import { MaterialModule } from './src/material.module';
|
||||
|
||||
import { DocumentActionsService } from './src/services/document-actions.service';
|
||||
import { DocumentListService } from './src/services/document-list.service';
|
||||
@@ -77,10 +77,7 @@ export const DOCUMENT_LIST_PROVIDERS: any[] = [
|
||||
imports: [
|
||||
CoreModule,
|
||||
DataTableModule,
|
||||
MdMenuModule,
|
||||
MdButtonModule,
|
||||
MdIconModule,
|
||||
MdProgressSpinnerModule
|
||||
MaterialModule
|
||||
],
|
||||
declarations: [
|
||||
...DOCUMENT_LIST_DIRECTIVES
|
||||
@@ -91,9 +88,7 @@ export const DOCUMENT_LIST_PROVIDERS: any[] = [
|
||||
exports: [
|
||||
DataTableModule,
|
||||
...DOCUMENT_LIST_DIRECTIVES,
|
||||
MdMenuModule,
|
||||
MdButtonModule,
|
||||
MdIconModule
|
||||
MaterialModule
|
||||
]
|
||||
})
|
||||
export class DocumentListModule {
|
||||
|
Reference in New Issue
Block a user