@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.
- package/esm2020/lib/components/es-table/es_table.component.mjs +1 -1
- package/esm2020/lib/core/handlers/ExportHandler.mjs +3 -5
- package/fesm2015/esfaenza-es-table.mjs +2 -4
- package/fesm2015/esfaenza-es-table.mjs.map +1 -1
- package/fesm2020/esfaenza-es-table.mjs +2 -4
- package/fesm2020/esfaenza-es-table.mjs.map +1 -1
- package/lib/components/es-table/es_table.component.d.ts +3 -7
- package/package.json +2 -2
|
@@ -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
|
-
|
|
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.
|
|
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.
|
|
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",
|