@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
|
@@ -166,7 +166,7 @@ class AppSearch {
|
|
|
166
166
|
* Permette di resettare un AppSearch ai valori di default.
|
|
167
167
|
* Reso statico perché fra una deserializzazione e l'altra si potrebbe perdere il prototype del costruttore
|
|
168
168
|
*
|
|
169
|
-
* @param {AppSearch<
|
|
169
|
+
* @param {AppSearch<T>} aps AppSearch da resettare
|
|
170
170
|
*/
|
|
171
171
|
static reset(aps) {
|
|
172
172
|
aps.pages = 1;
|
|
@@ -185,7 +185,7 @@ class AppSearch {
|
|
|
185
185
|
/**
|
|
186
186
|
* Partendo da un appsearch con filtri impostati permette di crearne la stessa versione solo con la ricerca impostata a "tutto"
|
|
187
187
|
*
|
|
188
|
-
* @param {AppSearch<
|
|
188
|
+
* @param {AppSearch<T>} aps AppSearch da cui partire
|
|
189
189
|
*/
|
|
190
190
|
static toSelectAll(aps) {
|
|
191
191
|
let niu = this.newref(aps, false);
|
|
@@ -198,7 +198,7 @@ class AppSearch {
|
|
|
198
198
|
* Internamente utilizza il JSON.parse(JSON.stringify(X)) con la differenza che prima stacca il riferimento agli items per evitare di
|
|
199
199
|
* reserializzare potenzialmente centinaia di elementi. Il riferimento viene poi ricollegato alla nuova appsearch generata
|
|
200
200
|
*
|
|
201
|
-
* @param {AppSearch<
|
|
201
|
+
* @param {AppSearch<T>} aps AppSearch di cui estrarre un nuovo riferimento equivalente
|
|
202
202
|
*/
|
|
203
203
|
static newref(aps, retainItems = true) {
|
|
204
204
|
var items = aps.items;
|