@fluxhub/fluxhub-lib 1.0.475 → 1.0.477
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 -6
- 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 -7
- package/esm5/lib/controls/fhgrid.js +8 -7
- package/fesm2015/fluxhub-fluxhub-lib.js +7 -6
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +7 -6
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/package.json +1 -1
|
@@ -7485,10 +7485,11 @@ class FHGridComponent {
|
|
|
7485
7485
|
catch (eer) {
|
|
7486
7486
|
console.log(eer);
|
|
7487
7487
|
}
|
|
7488
|
+
console.log('localStorage.getItem(this.grid_key + \'_FILTER\') ', localStorage.getItem(this.grid_key + '_FILTER'));
|
|
7488
7489
|
if (localStorage.getItem(this.grid_key + '_FILTER') != null && (b_mantieni_ck || forza))
|
|
7489
7490
|
if (localStorage.getItem(this.grid_key + '_FILTER') != '') {
|
|
7490
|
-
|
|
7491
|
-
|
|
7491
|
+
console.log(localStorage.getItem(this.grid_key + '_FILTER'));
|
|
7492
|
+
console.log('setto _FILTER: ' + localStorage.getItem(this.grid_key + '_FILTER'));
|
|
7492
7493
|
try {
|
|
7493
7494
|
this.gridOptions.api.setFilterModel(JSON.parse(localStorage.getItem(this.grid_key + '_FILTER')));
|
|
7494
7495
|
}
|
|
@@ -7734,10 +7735,10 @@ class FHGridComponent {
|
|
|
7734
7735
|
onAfterFilterChanged() {
|
|
7735
7736
|
if (this.no_pref)
|
|
7736
7737
|
return;
|
|
7737
|
-
|
|
7738
|
+
console.log('afterFilterChanged');
|
|
7738
7739
|
localStorage.removeItem(this.grid_key + '_POS');
|
|
7739
7740
|
if (this.b_init) {
|
|
7740
|
-
|
|
7741
|
+
console.log('salvo f: ' + JSON.stringify(this.gridOptions.api.getFilterModel()));
|
|
7741
7742
|
localStorage.setItem(this.grid_key + '_FILTER', JSON.stringify(this.gridOptions.api.getFilterModel()));
|
|
7742
7743
|
}
|
|
7743
7744
|
}
|
|
@@ -7747,9 +7748,9 @@ class FHGridComponent {
|
|
|
7747
7748
|
onFilterModified() {
|
|
7748
7749
|
if (this.no_pref)
|
|
7749
7750
|
return;
|
|
7750
|
-
|
|
7751
|
+
console.log('onFilterModified');
|
|
7751
7752
|
if (this.b_init) {
|
|
7752
|
-
|
|
7753
|
+
console.log('salvo f: ' + JSON.stringify(this.gridOptions.api.getFilterModel()));
|
|
7753
7754
|
localStorage.setItem(this.grid_key + '_FILTER', JSON.stringify(this.gridOptions.api.getFilterModel()));
|
|
7754
7755
|
}
|
|
7755
7756
|
}
|