[AAE-16965] Improve data table date column (#9038)

* [AAE-16965] Improve Date data table column type

* [AAE-16965] Date unit tests

* update docs

* cleanup cells after implement inject

* bring back removed constructors

* remove empty constructors

* replace constructor token injection by inject function

* [AAE-16965] Use other variable for template

* implement suggestions

* update demo shell module

* fix unit test

* fix timeAgo problem

* add some more unit tests

* fake change in extensions

* [AAE-16965] fix for backward compatibility
This commit is contained in:
Tomasz Gnyp
2023-11-03 10:31:13 +01:00
committed by GitHub
parent 85ddcdf22c
commit 9278d9296f
22 changed files with 452 additions and 171 deletions

View File

@@ -56,6 +56,7 @@ import { DataColumnModule } from './data-column/data-column.module';
import { BooleanCellComponent } from './components/boolean-cell/boolean-cell.component';
import { AmountCellComponent } from './components/amount-cell/amount-cell.component';
import { NumberCellComponent } from './components/number-cell/number-cell.component';
import { LocalizedDatePipe } from '../pipes';
@NgModule({
imports: [
@@ -76,7 +77,9 @@ import { NumberCellComponent } from './components/number-cell/number-cell.compon
BooleanCellComponent,
AmountCellComponent,
NumberCellComponent,
LocationCellComponent
LocationCellComponent,
DateCellComponent,
LocalizedDatePipe
],
declarations: [
DataTableComponent,
@@ -86,7 +89,6 @@ import { NumberCellComponent } from './components/number-cell/number-cell.compon
EmptyListFooterDirective,
DataTableCellComponent,
DataTableRowComponent,
DateCellComponent,
FileSizeCellComponent,
JsonCellComponent,
ColumnsSelectorComponent,
@@ -108,7 +110,6 @@ import { NumberCellComponent } from './components/number-cell/number-cell.compon
EmptyListFooterDirective,
DataTableCellComponent,
DataTableRowComponent,
DateCellComponent,
ColumnsSelectorComponent,
FileSizeCellComponent,
JsonCellComponent,