@fluxhub/fluxhub-lib 1.0.483 → 1.0.485
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
|
@@ -6797,6 +6797,7 @@ class FHGridComponent {
|
|
|
6797
6797
|
localStorage.removeItem(this.grid_key + '_SORT');
|
|
6798
6798
|
localStorage.removeItem(this.grid_key + '_FILTER');
|
|
6799
6799
|
localStorage.removeItem(this.grid_key + '_CFG_DEFAULT');
|
|
6800
|
+
localStorage.removeItem(this.grid_key + '_FILTER_UP');
|
|
6800
6801
|
if (this.gf.getObj().COL != null)
|
|
6801
6802
|
if (this.gf.getObj().COL != '')
|
|
6802
6803
|
localStorage.setItem(this.grid_key + '_COLS', this.gf.getObj().COL);
|
|
@@ -7103,6 +7104,8 @@ class FHGridComponent {
|
|
|
7103
7104
|
ngOnInit() {
|
|
7104
7105
|
if (this.end_point == null)
|
|
7105
7106
|
this.end_point = this.m_appService.API_ENDPOINT + this.m_appService.GRID_ENDPOINT;
|
|
7107
|
+
if (localStorage.getItem(this.grid_key + '_FILTER_UP') != null)
|
|
7108
|
+
this.ric_libera = localStorage.getItem(this.grid_key + '_FILTER_UP');
|
|
7106
7109
|
this.onResize();
|
|
7107
7110
|
}
|
|
7108
7111
|
/**
|
|
@@ -7271,6 +7274,7 @@ class FHGridComponent {
|
|
|
7271
7274
|
if (this.ric_libera != '')
|
|
7272
7275
|
this.doFill('', true, false);
|
|
7273
7276
|
this.ric_libera = '';
|
|
7277
|
+
localStorage.removeItem(this.grid_key + '_FILTER_UP');
|
|
7274
7278
|
}
|
|
7275
7279
|
this.fix_flt_temp = '';
|
|
7276
7280
|
this.gridOptions.api.setFilterModel(null);
|
|
@@ -7486,13 +7490,12 @@ class FHGridComponent {
|
|
|
7486
7490
|
catch (eer) {
|
|
7487
7491
|
console.log(eer);
|
|
7488
7492
|
}
|
|
7489
|
-
console.log('localStorage.getItem(this.grid_key + \'_FILTER\') ', localStorage.getItem(this.grid_key + '_FILTER'));
|
|
7490
7493
|
if (localStorage.getItem(this.grid_key + '_FILTER') != null && (b_mantieni_ck || forza))
|
|
7491
7494
|
if (localStorage.getItem(this.grid_key + '_FILTER') != '') {
|
|
7492
|
-
console.log(localStorage.getItem(this.grid_key + '_FILTER'));
|
|
7493
|
-
console.log('setto _FILTER: ' + localStorage.getItem(this.grid_key + '_FILTER'));
|
|
7494
7495
|
try {
|
|
7495
7496
|
this.gridOptions.api.setFilterModel(JSON.parse(localStorage.getItem(this.grid_key + '_FILTER')));
|
|
7497
|
+
if (localStorage.getItem(this.grid_key + '_FILTER_UP') != null)
|
|
7498
|
+
this.ric_libera = localStorage.getItem(this.grid_key + '_FILTER_UP');
|
|
7496
7499
|
}
|
|
7497
7500
|
catch (eer) {
|
|
7498
7501
|
console.log(eer);
|
|
@@ -7624,6 +7627,7 @@ class FHGridComponent {
|
|
|
7624
7627
|
* @return {?}
|
|
7625
7628
|
*/
|
|
7626
7629
|
keyDownFunctioncl(event) {
|
|
7630
|
+
localStorage.setItem(this.grid_key + '_FILTER_UP', this.ric_libera);
|
|
7627
7631
|
if (event.keyCode == 13) {
|
|
7628
7632
|
this.free_search();
|
|
7629
7633
|
}
|