@esfaenza/es-table 15.2.11 → 15.2.12

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.
@@ -1,4 +1,4 @@
1
- import { QueryList, ChangeDetectorRef, EventEmitter, OnChanges, SimpleChanges, ElementRef, TemplateRef } from '@angular/core';
1
+ import { QueryList, ChangeDetectorRef, EventEmitter, OnChanges, SimpleChanges, ElementRef, TemplateRef, Type } from '@angular/core';
2
2
  import { ControlValueAccessor, NgControl } from '@angular/forms';
3
3
  import { UtilityService, ExportService, MessageService, DateService, ClipboardService } from '@esfaenza/extensions';
4
4
  import { LocalizationService } from '@esfaenza/localizations';
@@ -243,12 +243,8 @@ export declare class EsTableComponent implements ControlValueAccessor, OnChanges
243
243
  ExportFileName: string;
244
244
  /** Classe (HTML) di default della tabella */
245
245
  TableClass: any;
246
- /**
247
- * Funzione da utilizzare in esportazione. Nel formato "Report" avrà un unico parametro "Formato" e nessun valore di ritorno.
248
- *
249
- * Nel formato "View" ha come parametro una callback con i dati completi da esportare (dato che di default la ricerca è paginata)
250
- */
251
- ExportFunction: any;
246
+ /** Funzione da utilizzare in esportazione. Ha come parametro una callback con i dati completi da esportare (dato che di default la ricerca è paginata) */
247
+ ExportFunction: (callback: (data: any[], type: Type<any>) => void, format: "CSV" | "XLSX") => void;
252
248
  /** Indica di esportare solo le colonne attualmente visibili della view */
253
249
  ExportOnlyVisibleColumns: boolean;
254
250
  /** @deprecated Indica la presenza di raggruppamenti a livello di header */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esfaenza/es-table",
3
- "version": "15.2.11",
3
+ "version": "15.2.12",
4
4
  "dependencies": {
5
5
  "tslib": "^2.0.0"
6
6
  },
@@ -9,7 +9,7 @@
9
9
  "@angular/core": "^15.2.9",
10
10
  "@angular/material": "^15.2.9",
11
11
  "@esfaenza/localizations": "^15.2.8",
12
- "@esfaenza/extensions": "^15.2.10",
12
+ "@esfaenza/extensions": "^15.2.13",
13
13
  "@esfaenza/forms-and-validations": "^15.2.7",
14
14
  "@esfaenza/ngx-contextmenu": "^15.2.0",
15
15
  "@esfaenza/preferences": "^15.2.0",