@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
|
@@ -7845,10 +7845,11 @@ var FHGridComponent = /** @class */ (function () {
|
|
|
7845
7845
|
catch (eer) {
|
|
7846
7846
|
console.log(eer);
|
|
7847
7847
|
}
|
|
7848
|
+
console.log('localStorage.getItem(this.grid_key + \'_FILTER\') ', localStorage.getItem(this.grid_key + '_FILTER'));
|
|
7848
7849
|
if (localStorage.getItem(this.grid_key + '_FILTER') != null && (b_mantieni_ck || forza))
|
|
7849
7850
|
if (localStorage.getItem(this.grid_key + '_FILTER') != '') {
|
|
7850
|
-
|
|
7851
|
-
|
|
7851
|
+
console.log(localStorage.getItem(this.grid_key + '_FILTER'));
|
|
7852
|
+
console.log('setto _FILTER: ' + localStorage.getItem(this.grid_key + '_FILTER'));
|
|
7852
7853
|
try {
|
|
7853
7854
|
this.gridOptions.api.setFilterModel(JSON.parse(localStorage.getItem(this.grid_key + '_FILTER')));
|
|
7854
7855
|
}
|
|
@@ -8175,10 +8176,10 @@ var FHGridComponent = /** @class */ (function () {
|
|
|
8175
8176
|
function () {
|
|
8176
8177
|
if (this.no_pref)
|
|
8177
8178
|
return;
|
|
8178
|
-
|
|
8179
|
+
console.log('afterFilterChanged');
|
|
8179
8180
|
localStorage.removeItem(this.grid_key + '_POS');
|
|
8180
8181
|
if (this.b_init) {
|
|
8181
|
-
|
|
8182
|
+
console.log('salvo f: ' + JSON.stringify(this.gridOptions.api.getFilterModel()));
|
|
8182
8183
|
localStorage.setItem(this.grid_key + '_FILTER', JSON.stringify(this.gridOptions.api.getFilterModel()));
|
|
8183
8184
|
}
|
|
8184
8185
|
};
|
|
@@ -8191,9 +8192,9 @@ var FHGridComponent = /** @class */ (function () {
|
|
|
8191
8192
|
function () {
|
|
8192
8193
|
if (this.no_pref)
|
|
8193
8194
|
return;
|
|
8194
|
-
|
|
8195
|
+
console.log('onFilterModified');
|
|
8195
8196
|
if (this.b_init) {
|
|
8196
|
-
|
|
8197
|
+
console.log('salvo f: ' + JSON.stringify(this.gridOptions.api.getFilterModel()));
|
|
8197
8198
|
localStorage.setItem(this.grid_key + '_FILTER', JSON.stringify(this.gridOptions.api.getFilterModel()));
|
|
8198
8199
|
}
|
|
8199
8200
|
};
|