@universis/ngx-tables 0.6.6 → 0.6.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/universis-ngx-tables.umd.js +79 -74
- package/bundles/universis-ngx-tables.umd.js.map +1 -1
- package/bundles/universis-ngx-tables.umd.min.js +1 -1
- package/bundles/universis-ngx-tables.umd.min.js.map +1 -1
- package/esm2015/lib/components/advanced-table/advanced-table.component.js +17 -1
- package/esm2015/lib/components/advanced-table/advanced-table.formatters.interface.js +3 -3
- package/esm2015/lib/components/advanced-table/advanced-table.formatters.js +44 -72
- package/esm5/lib/components/advanced-table/advanced-table.component.js +17 -1
- package/esm5/lib/components/advanced-table/advanced-table.formatters.interface.js +3 -3
- package/esm5/lib/components/advanced-table/advanced-table.formatters.js +52 -69
- package/fesm2015/universis-ngx-tables.js +60 -71
- package/fesm2015/universis-ngx-tables.js.map +1 -1
- package/fesm5/universis-ngx-tables.js +68 -68
- package/fesm5/universis-ngx-tables.js.map +1 -1
- package/lib/components/advanced-table/advanced-table.formatters.d.ts +8 -2
- package/package.json +1 -1
- package/universis-ngx-tables.metadata.json +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { TableColumnConfiguration } from './advanced-table.interfaces';
|
|
2
2
|
import { Injector } from '@angular/core';
|
|
3
3
|
export declare abstract class AdvancedColumnFormatter implements TableColumnConfiguration {
|
|
4
|
+
static templateCache: Map<string, (data: any) => string>;
|
|
4
5
|
protected injector: Injector;
|
|
5
6
|
className: string;
|
|
6
7
|
defaultContent: string;
|
|
@@ -14,8 +15,12 @@ export declare abstract class AdvancedColumnFormatter implements TableColumnConf
|
|
|
14
15
|
title: string;
|
|
15
16
|
formatOptions?: any;
|
|
16
17
|
actions?: Array<any>;
|
|
18
|
+
static template(expr: string): (data: any) => string;
|
|
17
19
|
abstract render(data: any, type: string, row: any, meta: any): any;
|
|
18
20
|
}
|
|
21
|
+
export interface OnAdvancedColumnAfterRender {
|
|
22
|
+
afterRender(cell: any, cellData: any, rowData: any, rowIndex: number, colIndex: number): void;
|
|
23
|
+
}
|
|
19
24
|
export declare class NestedPropertyFormatter extends AdvancedColumnFormatter {
|
|
20
25
|
render(data: any, type: any, row: any, meta: any): any;
|
|
21
26
|
constructor();
|
|
@@ -28,9 +33,10 @@ export declare class LinkFormatter extends AdvancedColumnFormatter {
|
|
|
28
33
|
render(data: any, type: string, row: any, meta: any): any;
|
|
29
34
|
constructor();
|
|
30
35
|
}
|
|
31
|
-
export declare class ActionLinkFormatter extends AdvancedColumnFormatter {
|
|
32
|
-
render(data: any, type:
|
|
36
|
+
export declare class ActionLinkFormatter extends AdvancedColumnFormatter implements OnAdvancedColumnAfterRender {
|
|
37
|
+
render(data: any, type: string, row: any, meta: any): any;
|
|
33
38
|
constructor();
|
|
39
|
+
afterRender(cell: any, cellData: any, rowData: any, rowIndex: number, colIndex: number): void;
|
|
34
40
|
}
|
|
35
41
|
export declare class SelectRowFormatter extends AdvancedColumnFormatter {
|
|
36
42
|
render(data: any, type: any, row: any, meta: any): any;
|