@esfaenza/es-table 11.2.117 → 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.
@@ -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
  }
@@ -1,4 +1,5 @@
1
1
  import { InputType } from "../types";
2
+ import { AvailableOptions } from "@esfaenza/forms-and-validations";
2
3
  /** Classe che identifica una colonna. Utilizzata in modalità "Colonne dinamiche" */
3
4
  export declare class EsTableColumnsDefinition {
4
5
  Description: string;
@@ -19,7 +20,7 @@ export declare class EsTableColumnsDefinition {
19
20
  EditorName: string;
20
21
  RendererName: string;
21
22
  EditorOptions: {
22
- [id: string]: any;
23
+ [id in AvailableOptions]?: any;
23
24
  };
24
25
  edits: {
25
26
  [index: string]: {
@@ -50,7 +51,7 @@ export declare class EsTableColumnsDefinition {
50
51
  id: string;
51
52
  description: string;
52
53
  }[], EditorName?: string, RendererName?: string, EditorOptions?: {
53
- [id: string]: any;
54
+ [id in AvailableOptions]?: any;
54
55
  });
55
56
  static build(parsObj: any): EsTableColumnsDefinition;
56
57
  /** Routerlink che verrà generato a runtime basandosi sulle informazioni di **routePath** e **routeParameterProperties** */
@@ -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
  }
@@ -2,4 +2,8 @@
2
2
  export declare class ReportRow {
3
3
  /** Valori dell'oggetto in ordine sequenziale */
4
4
  values: string[];
5
+ /** Colore di foreground per ogni cella */
6
+ forecolors?: string[];
7
+ /** Colore di background per ogni cella */
8
+ backcolors?: string[];
5
9
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esfaenza/es-table",
3
- "version": "11.2.117",
3
+ "version": "11.2.119",
4
4
  "dependencies": {
5
5
  "tslib": "^2.0.0"
6
6
  },