@esfaenza/es-table 12.2.24 → 12.2.25
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 +29 -8
- package/bundles/esfaenza-es-table.umd.js.map +1 -1
- package/esfaenza-es-table.metadata.json +1 -1
- package/esm2015/lib/components/es-table/es_table.component.js +3 -3
- package/esm2015/lib/components/es-th/es_th.component.js +2 -2
- package/esm2015/lib/components/pager/table_pager.component.js +1 -1
- package/esm2015/lib/core/handlers/classes/ColumnMetadataHandler.js +22 -1
- package/esm2015/lib/es-table.module.js +3 -1
- package/fesm2015/esfaenza-es-table.js +26 -4
- package/fesm2015/esfaenza-es-table.js.map +1 -1
- package/lib/core/handlers/classes/ColumnMetadataHandler.d.ts +16 -0
- package/package.json +1 -1
|
@@ -7,6 +7,7 @@ import { EsTdDirective } from "../../../directives/es_td.directive";
|
|
|
7
7
|
import { EsThDirective } from "../../../directives/es_th.directive";
|
|
8
8
|
import { UtilitiesHandler, RowGroupingHandler } from "..";
|
|
9
9
|
import { AppSearch, EsTableColumn } from "../../../domain";
|
|
10
|
+
import { CdkDrag, CdkDragDrop } from "@angular/cdk/drag-drop";
|
|
10
11
|
/** Classe che gestisce tutte le informaizoni relative alle colonne: visibilità, posizione, stato di pin/unpin, ecc ecc... */
|
|
11
12
|
export declare class ColumnMetadataHandler {
|
|
12
13
|
private est;
|
|
@@ -140,6 +141,21 @@ export declare class ColumnMetadataHandler {
|
|
|
140
141
|
private refreshColumnOrdering;
|
|
141
142
|
/** Effettua la selezione o meno del check globale (**globalColVisCheck**) di visibilità in base a se tutte le **TMPColumnsList** sono visibili o no */
|
|
142
143
|
updateGlobalColVisCheck(): void;
|
|
144
|
+
/**
|
|
145
|
+
* Chiamato quando una colonna viene riordinata all'interno della lista delle visibilità/posizioni colonne
|
|
146
|
+
*
|
|
147
|
+
* @param {CdkDragDrop<EsTableColumn[]>} event Evento di drop della lista
|
|
148
|
+
*/
|
|
149
|
+
columnReordered(event: CdkDragDrop<EsTableColumn[]>): void;
|
|
150
|
+
/**
|
|
151
|
+
* Chiamato quando una colonna viene riordinata all'interno della lista delle visibilità/posizioni colonne
|
|
152
|
+
*
|
|
153
|
+
* @param {number} index Indice in cui voglio droppare l'elemento draggato
|
|
154
|
+
* @param {CdkDrag<EsTableColumn>} item Oggetto che sto draggando
|
|
155
|
+
*
|
|
156
|
+
* @returns {boolean} **true** se la colonna può essere spostata sull'indice **index**, **false** altrimenti
|
|
157
|
+
*/
|
|
158
|
+
sortPredicate(index: number, item: CdkDrag<EsTableColumn>): boolean;
|
|
143
159
|
/**
|
|
144
160
|
* Funzione che effettua la conferma della visibilità e dell'ordine delle colonne.
|
|
145
161
|
*
|