[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

@@ -35,18 +35,18 @@ export interface DataColumnTypes {
export type DataColumnType = keyof DataColumnTypes;
export interface DocumentListPresetRef extends ExtensionElement {
key: string;
type: DataColumnType;
title?: string;
format?: string;
class?: string;
sortable: boolean;
template: string;
desktopOnly: boolean;
sortingKey: string;
isHidden?: boolean;
rules?: {
[key: string]: string;
visible?: string;
};
key: string;
type: DataColumnType;
title?: string;
format?: string;
class?: string;
sortable: boolean;
template: string;
desktopOnly: boolean;
sortingKey: string;
isHidden?: boolean;
rules?: {
[key: string]: string;
visible?: string;
};
}