@esfaenza/es-table 15.2.13 → 15.2.15
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/domain/externals/appsearch/AppSearch.mjs +4 -4
- package/fesm2015/esfaenza-es-table.mjs +3 -3
- package/fesm2015/esfaenza-es-table.mjs.map +1 -1
- package/fesm2020/esfaenza-es-table.mjs +3 -3
- package/fesm2020/esfaenza-es-table.mjs.map +1 -1
- package/lib/domain/externals/appsearch/AppSearch.d.ts +6 -6
- package/package.json +1 -1
|
@@ -80,21 +80,21 @@ export declare class AppSearch<T> {
|
|
|
80
80
|
* Permette di resettare un AppSearch ai valori di default.
|
|
81
81
|
* Reso statico perché fra una deserializzazione e l'altra si potrebbe perdere il prototype del costruttore
|
|
82
82
|
*
|
|
83
|
-
* @param {AppSearch<
|
|
83
|
+
* @param {AppSearch<T>} aps AppSearch da resettare
|
|
84
84
|
*/
|
|
85
|
-
static reset(aps:
|
|
85
|
+
static reset<T extends AppSearch<any>>(aps: T): void;
|
|
86
86
|
/**
|
|
87
87
|
* Partendo da un appsearch con filtri impostati permette di crearne la stessa versione solo con la ricerca impostata a "tutto"
|
|
88
88
|
*
|
|
89
|
-
* @param {AppSearch<
|
|
89
|
+
* @param {AppSearch<T>} aps AppSearch da cui partire
|
|
90
90
|
*/
|
|
91
|
-
static toSelectAll(aps:
|
|
91
|
+
static toSelectAll<T extends AppSearch<any>>(aps: T): T;
|
|
92
92
|
/**
|
|
93
93
|
* Permette di ottenere un nuovo riferimento all'AppSearch passata come parametro.
|
|
94
94
|
* Internamente utilizza il JSON.parse(JSON.stringify(X)) con la differenza che prima stacca il riferimento agli items per evitare di
|
|
95
95
|
* reserializzare potenzialmente centinaia di elementi. Il riferimento viene poi ricollegato alla nuova appsearch generata
|
|
96
96
|
*
|
|
97
|
-
* @param {AppSearch<
|
|
97
|
+
* @param {AppSearch<T>} aps AppSearch di cui estrarre un nuovo riferimento equivalente
|
|
98
98
|
*/
|
|
99
|
-
static newref
|
|
99
|
+
static newref<T extends AppSearch<any>>(aps: T, retainItems?: boolean): T;
|
|
100
100
|
}
|