@esfaenza/es-table 11.2.75 → 11.2.78
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 +37 -1
- 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.metadata.json +1 -1
- package/esm2015/lib/components/es-table/es_table.component.js +15 -1
- package/esm2015/lib/core/handlers/ColumnMetadataHandler.js +7 -2
- package/esm2015/lib/domain/externals/appsearch/AppSearch.js +18 -1
- package/fesm2015/esfaenza-es-table.js +37 -1
- package/fesm2015/esfaenza-es-table.js.map +1 -1
- package/lib/components/es-table/es_table.component.d.ts +2 -0
- package/lib/core/handlers/ColumnMetadataHandler.d.ts +1 -1
- package/lib/domain/externals/appsearch/AppSearch.d.ts +12 -0
- package/package.json +1 -1
|
@@ -179,6 +179,8 @@ export declare class EsTableComponent implements ControlValueAccessor, OnChanges
|
|
|
179
179
|
ColumnsPinnable: boolean;
|
|
180
180
|
/** Indica se dev'essere disponibile il sistema di aggiornamento automatico */
|
|
181
181
|
AutoUpdate: boolean;
|
|
182
|
+
/** Indica se dev'essere l'estable a gestire la ricerca, anche la prima */
|
|
183
|
+
EsTableHandledSearch: boolean;
|
|
182
184
|
/**
|
|
183
185
|
* Decide se utilizzare o meno le CustomCells. Impostandolo a **true** l'es-table diventa in grado di gestire nativamente:
|
|
184
186
|
*
|
|
@@ -29,7 +29,7 @@ export declare class ColumnMetadataHandler {
|
|
|
29
29
|
*
|
|
30
30
|
* @param {any} castedView View di cui salvare colonne e ordinamento colonne
|
|
31
31
|
*/
|
|
32
|
-
registerViewPreferences(castedView: any): boolean;
|
|
32
|
+
registerViewPreferences(castedView: AppSearch<any>): boolean;
|
|
33
33
|
/**
|
|
34
34
|
* Partendo dagli **EsThs** estrappolo la lista di **EsTableColumn** che questa tabella dovrà eventualmente gestire per Visibilità e Ordine
|
|
35
35
|
*
|
|
@@ -51,6 +51,8 @@ export declare class AppSearch<T> {
|
|
|
51
51
|
savedstate: boolean;
|
|
52
52
|
/** Indica se bisogna ancora effettuare la prima ricerca */
|
|
53
53
|
firstsearch: boolean;
|
|
54
|
+
/** Indica se sto effettuando la ricerca post bind */
|
|
55
|
+
selfsearch: boolean;
|
|
54
56
|
/**
|
|
55
57
|
* Oggetto che indica la selezione corrente.
|
|
56
58
|
*
|
|
@@ -77,6 +79,16 @@ export declare class AppSearch<T> {
|
|
|
77
79
|
/**
|
|
78
80
|
* Permette di resettare un AppSearch ai valori di default.
|
|
79
81
|
* Reso statico perché fra una deserializzazione e l'altra si potrebbe perdere il prototype del costruttore
|
|
82
|
+
*
|
|
83
|
+
* @param {AppSearch<any>} aps AppSearch da resettare
|
|
80
84
|
*/
|
|
81
85
|
static reset(aps: AppSearch<any>): void;
|
|
86
|
+
/**
|
|
87
|
+
* Permette di ottenere un nuovo riferimento all'AppSearch passata come parametro.
|
|
88
|
+
* Internamente utilizza il JSON.parse(JSON.stringify(X)) con la differenza che prima stacca il riferimento agli items per evitare di
|
|
89
|
+
* reserializzare potenzialmente centinaia di elementi. Il riferimento viene poi ricollegato alla nuova appsearch generata
|
|
90
|
+
*
|
|
91
|
+
* @param {AppSearch<any>} aps AppSearch di cui estrarre un nuovo riferimento equivalente
|
|
92
|
+
*/
|
|
93
|
+
static newref(aps: AppSearch<any>): any;
|
|
82
94
|
}
|