@esfaenza/es-table 11.2.67 → 11.2.68
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 +14 -13
- 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/domain/externals/appsearch/AppSearch.js +15 -14
- package/fesm2015/esfaenza-es-table.js +14 -13
- package/fesm2015/esfaenza-es-table.js.map +1 -1
- package/lib/domain/externals/appsearch/AppSearch.d.ts +3 -2
- package/package.json +1 -1
|
@@ -484,20 +484,21 @@
|
|
|
484
484
|
this.firstsearch = true;
|
|
485
485
|
}
|
|
486
486
|
/**
|
|
487
|
-
* Permette di resettare
|
|
487
|
+
* Permette di resettare un AppSearch ai valori di default.
|
|
488
|
+
* Reso statico perché fra una deserializzazione e l'altra si potrebbe perdere il prototype del costruttore
|
|
488
489
|
*/
|
|
489
|
-
AppSearch.
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
490
|
+
AppSearch.reset = function (aps) {
|
|
491
|
+
aps.pages = 1;
|
|
492
|
+
aps.objectcount = 0;
|
|
493
|
+
aps.searchinprogress = false;
|
|
494
|
+
aps.firstsearch = false;
|
|
495
|
+
aps.page = 1;
|
|
496
|
+
aps.itemsperpageoverride = 15;
|
|
497
|
+
aps.items = [];
|
|
498
|
+
aps.orders = [];
|
|
499
|
+
aps.columns = [];
|
|
500
|
+
aps.column_ordering = [];
|
|
501
|
+
aps.savedstate = false;
|
|
501
502
|
};
|
|
502
503
|
return AppSearch;
|
|
503
504
|
}());
|