@esfaenza/es-table 11.2.118 → 11.2.119
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/esfaenza-es-table.umd.js +89 -6
- package/bundles/esfaenza-es-table.umd.js.map +1 -1
- package/bundles/esfaenza-es-table.umd.min.js +1 -1
- package/bundles/esfaenza-es-table.umd.min.js.map +1 -1
- package/esfaenza-es-table.d.ts +1 -0
- package/esfaenza-es-table.metadata.json +1 -1
- package/esm2015/esfaenza-es-table.js +2 -1
- package/esm2015/lib/components/es-table/es_table.component.js +36 -4
- package/esm2015/lib/components/pipes/est-format.pipe.js +43 -0
- package/esm2015/lib/core/handlers/ReportModeHandler.js +5 -1
- package/esm2015/lib/directives/es_td.directive.js +4 -2
- package/esm2015/lib/directives/es_th.directive.js +4 -2
- package/esm2015/lib/domain/externals/report/ReportColumn.js +1 -1
- package/esm2015/lib/domain/externals/report/ReportRow.js +1 -1
- package/esm2015/lib/es-table.module.js +3 -2
- package/fesm2015/esfaenza-es-table.js +89 -8
- package/fesm2015/esfaenza-es-table.js.map +1 -1
- package/lib/components/pipes/est-format.pipe.d.ts +7 -0
- package/lib/directives/es_td.directive.d.ts +4 -0
- package/lib/directives/es_th.directive.d.ts +4 -0
- package/lib/domain/externals/report/ReportColumn.d.ts +4 -0
- package/lib/domain/externals/report/ReportRow.d.ts +4 -0
- package/package.json +1 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from "@angular/core";
|
|
2
|
+
import { DateService } from "@esfaenza/extensions";
|
|
3
|
+
export declare class EstFormatPipe implements PipeTransform {
|
|
4
|
+
private dates;
|
|
5
|
+
constructor(dates: DateService);
|
|
6
|
+
transform(value: string, format: string): string;
|
|
7
|
+
}
|
|
@@ -18,6 +18,10 @@ export declare class EsTdDirective {
|
|
|
18
18
|
tdClass: string;
|
|
19
19
|
/** In mancanza di **Template** indica qual è la proprietà dell'oggetto contenente le informazioni da mostrare */
|
|
20
20
|
tdPropertyAccessor: string;
|
|
21
|
+
/** Allineamento dei valori della tabella */
|
|
22
|
+
tdAlignment: "Center" | "Left" | "Right";
|
|
23
|
+
/** Formato da applicare al valore se applicabile, utilizzabile solo se **tdPropertyAccessor** è valorizzato */
|
|
24
|
+
tdFormat: string;
|
|
21
25
|
/**
|
|
22
26
|
* @ignore
|
|
23
27
|
*/
|
|
@@ -68,6 +68,10 @@ export declare class EsThDirective {
|
|
|
68
68
|
thStaticContent: string;
|
|
69
69
|
/** Colore del background della cella */
|
|
70
70
|
thBackgroundColor: string;
|
|
71
|
+
/** Allineamento dei valori della tabella */
|
|
72
|
+
thAlignment: "Center" | "Left" | "Right";
|
|
73
|
+
/** Formato da applicare al valore se applicabile */
|
|
74
|
+
thFormat: string;
|
|
71
75
|
/** @ignore */
|
|
72
76
|
constructor(Template: TemplateRef<any>);
|
|
73
77
|
}
|
|
@@ -12,4 +12,8 @@ export declare class ReportColumn {
|
|
|
12
12
|
seq: number;
|
|
13
13
|
/** Ordinamento dei dati presentati */
|
|
14
14
|
order?: string;
|
|
15
|
+
/** Allineamento da tenere per questa colonna: **Center**, **Left** o **Right** */
|
|
16
|
+
alignment?: string;
|
|
17
|
+
/** Formato dei dati da presentare in questa colonna */
|
|
18
|
+
format?: string;
|
|
15
19
|
}
|