[ADF-1404] Data Column enhancements for Document List (#2220)

* support 'timeAgo' format for data-column

* file size column type and bug fixes

* readme updates

* location column type

* readme fixes

* update unit tests

* file size pipe tests
This commit is contained in:
Denys Vuika
2017-08-16 09:53:39 +01:00
committed by Maurizio Vitale
parent 0fdb995633
commit a447de1f3f
14 changed files with 295 additions and 50 deletions

View File

@@ -18,6 +18,7 @@
import { SimpleChange } from '@angular/core';
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { MdCheckboxChange } from '@angular/material';
import { RouterTestingModule } from '@angular/router/testing';
import { CoreModule } from 'ng2-alfresco-core';
import { MaterialModule } from '../../material.module';
import {
@@ -29,6 +30,7 @@ import {
} from './../../data/index';
import { DataTableCellComponent } from './datatable-cell.component';
import { DataTableComponent } from './datatable.component';
import { LocationCellComponent } from './location-cell.component';
describe('DataTable', () => {
@@ -40,11 +42,13 @@ describe('DataTable', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
imports: [
CoreModule.forRoot(),
RouterTestingModule,
CoreModule,
MaterialModule
],
declarations: [
DataTableCellComponent,
LocationCellComponent,
DataTableComponent
]
}).compileComponents();