@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
|
@@ -7059,6 +7059,7 @@ var FHGridComponent = /** @class */ (function () {
|
|
|
7059
7059
|
localStorage.removeItem(this.grid_key + '_SORT');
|
|
7060
7060
|
localStorage.removeItem(this.grid_key + '_FILTER');
|
|
7061
7061
|
localStorage.removeItem(this.grid_key + '_CFG_DEFAULT');
|
|
7062
|
+
localStorage.removeItem(this.grid_key + '_FILTER_UP');
|
|
7062
7063
|
if (this.gf.getObj().COL != null)
|
|
7063
7064
|
if (this.gf.getObj().COL != '')
|
|
7064
7065
|
localStorage.setItem(this.grid_key + '_COLS', this.gf.getObj().COL);
|
|
@@ -7400,6 +7401,8 @@ var FHGridComponent = /** @class */ (function () {
|
|
|
7400
7401
|
function () {
|
|
7401
7402
|
if (this.end_point == null)
|
|
7402
7403
|
this.end_point = this.m_appService.API_ENDPOINT + this.m_appService.GRID_ENDPOINT;
|
|
7404
|
+
if (localStorage.getItem(this.grid_key + '_FILTER_UP') != null)
|
|
7405
|
+
this.ric_libera = localStorage.getItem(this.grid_key + '_FILTER_UP');
|
|
7403
7406
|
this.onResize();
|
|
7404
7407
|
};
|
|
7405
7408
|
/**
|
|
@@ -7602,6 +7605,7 @@ var FHGridComponent = /** @class */ (function () {
|
|
|
7602
7605
|
function (resetr) {
|
|
7603
7606
|
if (resetr === void 0) { resetr = true; }
|
|
7604
7607
|
localStorage.removeItem(this.grid_key + '_FILTER');
|
|
7608
|
+
localStorage.removeItem(this.grid_key + '_FILTER_UP');
|
|
7605
7609
|
if (resetr) {
|
|
7606
7610
|
if (this.ric_libera != '')
|
|
7607
7611
|
this.doFill('', true, false);
|
|
@@ -7845,13 +7849,12 @@ var FHGridComponent = /** @class */ (function () {
|
|
|
7845
7849
|
catch (eer) {
|
|
7846
7850
|
console.log(eer);
|
|
7847
7851
|
}
|
|
7848
|
-
console.log('localStorage.getItem(this.grid_key + \'_FILTER\') ', localStorage.getItem(this.grid_key + '_FILTER'));
|
|
7849
7852
|
if (localStorage.getItem(this.grid_key + '_FILTER') != null && (b_mantieni_ck || forza))
|
|
7850
7853
|
if (localStorage.getItem(this.grid_key + '_FILTER') != '') {
|
|
7851
|
-
console.log(localStorage.getItem(this.grid_key + '_FILTER'));
|
|
7852
|
-
console.log('setto _FILTER: ' + localStorage.getItem(this.grid_key + '_FILTER'));
|
|
7853
7854
|
try {
|
|
7854
7855
|
this.gridOptions.api.setFilterModel(JSON.parse(localStorage.getItem(this.grid_key + '_FILTER')));
|
|
7856
|
+
if (localStorage.getItem(this.grid_key + '_FILTER_UP') != null)
|
|
7857
|
+
this.ric_libera = localStorage.getItem(this.grid_key + '_FILTER_UP');
|
|
7855
7858
|
}
|
|
7856
7859
|
catch (eer) {
|
|
7857
7860
|
console.log(eer);
|
|
@@ -8026,6 +8029,7 @@ var FHGridComponent = /** @class */ (function () {
|
|
|
8026
8029
|
* @return {?}
|
|
8027
8030
|
*/
|
|
8028
8031
|
function (event) {
|
|
8032
|
+
localStorage.setItem(this.grid_key + '_FILTER_UP', this.ric_libera);
|
|
8029
8033
|
if (event.keyCode == 13) {
|
|
8030
8034
|
this.free_search();
|
|
8031
8035
|
}
|