@fluxhub/fluxhub-lib 1.0.474 → 1.0.476
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 +18 -2
- 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 +18 -3
- package/esm5/lib/controls/fhgrid.js +19 -3
- package/fesm2015/fluxhub-fluxhub-lib.js +17 -2
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +18 -2
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -7778,7 +7778,22 @@ var FHGridComponent = /** @class */ (function () {
|
|
|
7778
7778
|
* @return {?}
|
|
7779
7779
|
*/
|
|
7780
7780
|
function (forza) {
|
|
7781
|
+
var _this = this;
|
|
7781
7782
|
if (forza === void 0) { forza = false; }
|
|
7783
|
+
if (this.columnDefs == null) {
|
|
7784
|
+
setTimeout((/**
|
|
7785
|
+
* @return {?}
|
|
7786
|
+
*/
|
|
7787
|
+
function () { _this.res_columns(forza); }), 200);
|
|
7788
|
+
return;
|
|
7789
|
+
}
|
|
7790
|
+
if (this.columnDefs.length == 0) {
|
|
7791
|
+
setTimeout((/**
|
|
7792
|
+
* @return {?}
|
|
7793
|
+
*/
|
|
7794
|
+
function () { _this.res_columns(forza); }), 200);
|
|
7795
|
+
return;
|
|
7796
|
+
}
|
|
7782
7797
|
/** @type {?} */
|
|
7783
7798
|
var b_mantieni_ck = false;
|
|
7784
7799
|
if (this.toggle_mantieni != null)
|
|
@@ -7830,10 +7845,11 @@ var FHGridComponent = /** @class */ (function () {
|
|
|
7830
7845
|
catch (eer) {
|
|
7831
7846
|
console.log(eer);
|
|
7832
7847
|
}
|
|
7848
|
+
console.log('localStorage.getItem(this.grid_key + \'_FILTER\') ', localStorage.getItem(this.grid_key + '_FILTER'));
|
|
7833
7849
|
if (localStorage.getItem(this.grid_key + '_FILTER') != null && (b_mantieni_ck || forza))
|
|
7834
7850
|
if (localStorage.getItem(this.grid_key + '_FILTER') != '') {
|
|
7835
|
-
|
|
7836
|
-
|
|
7851
|
+
console.log(localStorage.getItem(this.grid_key + '_FILTER'));
|
|
7852
|
+
console.log('setto _FILTER: ' + localStorage.getItem(this.grid_key + '_FILTER'));
|
|
7837
7853
|
try {
|
|
7838
7854
|
this.gridOptions.api.setFilterModel(JSON.parse(localStorage.getItem(this.grid_key + '_FILTER')));
|
|
7839
7855
|
}
|