Upgrade core, documentList, dataTable

This commit is contained in:
Denys Vuika
2016-09-21 17:36:29 +01:00
parent 4c7547494c
commit b09e0bc1b3
34 changed files with 203 additions and 183 deletions

View File

@@ -17,7 +17,6 @@
import {
Component,
// NgZone,
OnInit,
Input,
Output,
@@ -26,11 +25,6 @@ import {
TemplateRef
} from '@angular/core';
import {
MATERIAL_DESIGN_DIRECTIVES,
CONTEXT_MENU_DIRECTIVES
} from 'ng2-alfresco-core';
import {
DataTableAdapter,
DataRow,
@@ -47,8 +41,7 @@ declare let __moduleName: string;
moduleId: __moduleName,
selector: 'alfresco-datatable',
styleUrls: ['./datatable.component.css'],
templateUrl: './datatable.component.html',
directives: [MATERIAL_DESIGN_DIRECTIVES, CONTEXT_MENU_DIRECTIVES]
templateUrl: './datatable.component.html'
})
export class DataTableComponent implements OnInit, AfterViewChecked {
@@ -83,10 +76,6 @@ export class DataTableComponent implements OnInit, AfterViewChecked {
@Output()
executeRowAction: EventEmitter<any> = new EventEmitter();
// TODO: left for reference, will be removed during future revisions
constructor(/*private _ngZone?: NgZone*/) {
}
ngOnInit() {
if (!this.data) {
this.data = new ObjectDataTableAdapter([], []);