@fluxhub/fluxhub-lib 1.0.483 → 1.0.484
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/fluxhub-fluxhub-lib.umd.js +7 -3
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/controls/fhgrid.js +8 -4
- package/esm5/lib/controls/fhgrid.js +8 -4
- package/fesm2015/fluxhub-fluxhub-lib.js +7 -3
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +7 -3
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -7081,6 +7081,7 @@
|
|
|
7081
7081
|
localStorage.removeItem(this.grid_key + '_SORT');
|
|
7082
7082
|
localStorage.removeItem(this.grid_key + '_FILTER');
|
|
7083
7083
|
localStorage.removeItem(this.grid_key + '_CFG_DEFAULT');
|
|
7084
|
+
localStorage.removeItem(this.grid_key + '_FILTER_UP');
|
|
7084
7085
|
if (this.gf.getObj().COL != null)
|
|
7085
7086
|
if (this.gf.getObj().COL != '')
|
|
7086
7087
|
localStorage.setItem(this.grid_key + '_COLS', this.gf.getObj().COL);
|
|
@@ -7422,6 +7423,8 @@
|
|
|
7422
7423
|
function () {
|
|
7423
7424
|
if (this.end_point == null)
|
|
7424
7425
|
this.end_point = this.m_appService.API_ENDPOINT + this.m_appService.GRID_ENDPOINT;
|
|
7426
|
+
if (localStorage.getItem(this.grid_key + '_FILTER_UP') != null)
|
|
7427
|
+
this.ric_libera = localStorage.getItem(this.grid_key + '_FILTER_UP');
|
|
7425
7428
|
this.onResize();
|
|
7426
7429
|
};
|
|
7427
7430
|
/**
|
|
@@ -7624,6 +7627,7 @@
|
|
|
7624
7627
|
function (resetr) {
|
|
7625
7628
|
if (resetr === void 0) { resetr = true; }
|
|
7626
7629
|
localStorage.removeItem(this.grid_key + '_FILTER');
|
|
7630
|
+
localStorage.removeItem(this.grid_key + '_FILTER_UP');
|
|
7627
7631
|
if (resetr) {
|
|
7628
7632
|
if (this.ric_libera != '')
|
|
7629
7633
|
this.doFill('', true, false);
|
|
@@ -7867,13 +7871,12 @@
|
|
|
7867
7871
|
catch (eer) {
|
|
7868
7872
|
console.log(eer);
|
|
7869
7873
|
}
|
|
7870
|
-
console.log('localStorage.getItem(this.grid_key + \'_FILTER\') ', localStorage.getItem(this.grid_key + '_FILTER'));
|
|
7871
7874
|
if (localStorage.getItem(this.grid_key + '_FILTER') != null && (b_mantieni_ck || forza))
|
|
7872
7875
|
if (localStorage.getItem(this.grid_key + '_FILTER') != '') {
|
|
7873
|
-
console.log(localStorage.getItem(this.grid_key + '_FILTER'));
|
|
7874
|
-
console.log('setto _FILTER: ' + localStorage.getItem(this.grid_key + '_FILTER'));
|
|
7875
7876
|
try {
|
|
7876
7877
|
this.gridOptions.api.setFilterModel(JSON.parse(localStorage.getItem(this.grid_key + '_FILTER')));
|
|
7878
|
+
if (localStorage.getItem(this.grid_key + '_FILTER_UP') != null)
|
|
7879
|
+
this.ric_libera = localStorage.getItem(this.grid_key + '_FILTER_UP');
|
|
7877
7880
|
}
|
|
7878
7881
|
catch (eer) {
|
|
7879
7882
|
console.log(eer);
|
|
@@ -8048,6 +8051,7 @@
|
|
|
8048
8051
|
* @return {?}
|
|
8049
8052
|
*/
|
|
8050
8053
|
function (event) {
|
|
8054
|
+
localStorage.setItem(this.grid_key + '_FILTER_UP', this.ric_libera);
|
|
8051
8055
|
if (event.keyCode == 13) {
|
|
8052
8056
|
this.free_search();
|
|
8053
8057
|
}
|