@esfaenza/es-table 11.2.119 → 11.2.121
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 +104 -38
- 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 +48 -27
- package/esm2015/lib/components/pipes/est-lookup.pipe.js +15 -0
- package/esm2015/lib/core/handlers/ColumnMetadataHandler.js +29 -11
- package/esm2015/lib/core/handlers/SelectionHandler.js +9 -1
- package/esm2015/lib/es-table.module.js +3 -2
- package/fesm2015/esfaenza-es-table.js +99 -38
- package/fesm2015/esfaenza-es-table.js.map +1 -1
- package/lib/components/es-table/es_table.component.d.ts +17 -8
- package/lib/components/pipes/est-lookup.pipe.d.ts +10 -0
- package/lib/core/handlers/ColumnMetadataHandler.d.ts +1 -0
- package/package.json +1 -1
|
@@ -426,6 +426,15 @@ export declare class EsTableComponent implements ControlValueAccessor, OnChanges
|
|
|
426
426
|
};
|
|
427
427
|
/** Chiamata reale al writeValue dopo il passaggio di **SearchThrottle** millisecondi. Solo modalità EsTableHandledSearch */
|
|
428
428
|
private callTimeout;
|
|
429
|
+
/** Cache dei th piuttosto che ricalcolarseli di continuo */
|
|
430
|
+
private thsCache;
|
|
431
|
+
/**
|
|
432
|
+
* Flag che, se **true**, per un giro di binding mantiene la visibilità impostata localmente, piuttosto che allineare alla View bindata.
|
|
433
|
+
* Usata per modificare in maniera programmatica la visibilità delle colonne dal metodo **setHeaderVisibility**,
|
|
434
|
+
*
|
|
435
|
+
* Disclaimer: **NON MODIFICARE**
|
|
436
|
+
**/
|
|
437
|
+
useLocalVisibility: boolean;
|
|
429
438
|
/** Opzioni di paginazione */
|
|
430
439
|
PagerOptions: {
|
|
431
440
|
PagerCount: number;
|
|
@@ -649,6 +658,13 @@ export declare class EsTableComponent implements ControlValueAccessor, OnChanges
|
|
|
649
658
|
internalWriteValue(): void;
|
|
650
659
|
/** Metodo eventualmente richiamabile anche dal componente esterno che permette di forzare un refresh della tabella */
|
|
651
660
|
forceRefresh(): void;
|
|
661
|
+
/**
|
|
662
|
+
* Imposta la visibilità di un header e di eventuali header collegati se questo header è un gruppo, dopodiché aggiorna l'es-table
|
|
663
|
+
*
|
|
664
|
+
* @param {string} groupOrHeader Header di cui settare la visibilità
|
|
665
|
+
* @param {boolean} visibility Visibilità da impostare
|
|
666
|
+
**/
|
|
667
|
+
setHeaderVisibility(groupOrHeader: string, visibility: boolean, refresh?: boolean): void;
|
|
652
668
|
/**
|
|
653
669
|
* Funzione che in base ai click su una cella capisce se sto effettuando un'operazione di selezione o se sto entrando nell'edit di una cella con un doppio click
|
|
654
670
|
*
|
|
@@ -694,19 +710,12 @@ export declare class EsTableComponent implements ControlValueAccessor, OnChanges
|
|
|
694
710
|
* @param {number} columnIndex Indice della colonna su cui è avvenuta la modifica
|
|
695
711
|
*/
|
|
696
712
|
finalizeUserEdit(rowItem: TdElement, item: any, columnIndex: number): void;
|
|
697
|
-
getSelected(source: {
|
|
698
|
-
id: string;
|
|
699
|
-
description: string;
|
|
700
|
-
}[], value: string): {
|
|
701
|
-
id: string;
|
|
702
|
-
description: string;
|
|
703
|
-
};
|
|
704
713
|
private mouseIsDown;
|
|
705
714
|
private firstCoordinates;
|
|
706
715
|
mousedown(event: MouseEvent, rowItem: any, item: any): void;
|
|
707
716
|
mouseenter(event: MouseEvent): void;
|
|
708
717
|
mouseup(event: any): void;
|
|
709
|
-
private
|
|
718
|
+
private EsTdsCache;
|
|
710
719
|
getCellReference(object: any, column: string): EsTd;
|
|
711
720
|
registerCell(event: EsTdReference): void;
|
|
712
721
|
}
|
|
@@ -54,6 +54,7 @@ export declare class ColumnMetadataHandler {
|
|
|
54
54
|
* dell'allineamento delle informazioni fra le colonne calcolate internamente e le informazioni sulle colonne che arrivano dall'AppSearch
|
|
55
55
|
*
|
|
56
56
|
* @param {AppSearch<any>} view AppSearch da utilizzare per questa operazione
|
|
57
|
+
* @param {boolean} useLocalVisibility Indica di utilizzare le impostazioni di visibilità locali senza allinearle alla view
|
|
57
58
|
*/
|
|
58
59
|
alignColumnsIfLoadedView(view: AppSearch<any>): void;
|
|
59
60
|
/**
|