@fluxhub/fluxhub-lib 1.0.489 → 1.0.491
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 +32 -35
- 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 +33 -35
- package/esm5/lib/controls/fhgrid.js +33 -36
- package/fesm2015/fluxhub-fluxhub-lib.js +32 -34
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +32 -35
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/package.json +1 -1
|
@@ -7374,6 +7374,7 @@ class FHGridComponent {
|
|
|
7374
7374
|
* @return {?}
|
|
7375
7375
|
*/
|
|
7376
7376
|
ckk() {
|
|
7377
|
+
console.log('CKKK');
|
|
7377
7378
|
if (this.columnDefs == null) {
|
|
7378
7379
|
setTimeout((/**
|
|
7379
7380
|
* @return {?}
|
|
@@ -7405,36 +7406,36 @@ class FHGridComponent {
|
|
|
7405
7406
|
this.res_columns();
|
|
7406
7407
|
if (localStorage.getItem(this.grid_key + '_POS') != null)
|
|
7407
7408
|
this.b_restored = true;
|
|
7408
|
-
|
|
7409
|
-
|
|
7410
|
-
|
|
7411
|
-
|
|
7412
|
-
|
|
7413
|
-
|
|
7414
|
-
|
|
7415
|
-
|
|
7416
|
-
|
|
7417
|
-
|
|
7418
|
-
|
|
7419
|
-
|
|
7420
|
-
|
|
7421
|
-
|
|
7422
|
-
|
|
7423
|
-
|
|
7424
|
-
|
|
7425
|
-
|
|
7426
|
-
|
|
7427
|
-
|
|
7428
|
-
|
|
7429
|
-
|
|
7430
|
-
|
|
7431
|
-
|
|
7432
|
-
|
|
7433
|
-
|
|
7434
|
-
|
|
7435
|
-
|
|
7436
|
-
|
|
7437
|
-
|
|
7409
|
+
if (localStorage.getItem(this.grid_key + '_FILTER_UP') != null)
|
|
7410
|
+
if (localStorage.getItem(this.grid_key + '_FILTER_UP') != '') {
|
|
7411
|
+
this.ric_libera = localStorage.getItem(this.grid_key + '_FILTER_UP');
|
|
7412
|
+
/** @type {?} */
|
|
7413
|
+
let arr = this.ric_libera.split(' ');
|
|
7414
|
+
/** @type {?} */
|
|
7415
|
+
let arr_F = new Array();
|
|
7416
|
+
for (let i = 0; i < arr.length; i++)
|
|
7417
|
+
if (arr[i].length > 2)
|
|
7418
|
+
arr_F.push(arr[i]);
|
|
7419
|
+
else
|
|
7420
|
+
this._toast.error("ignorato termine: " + arr[i] + " troppo corto");
|
|
7421
|
+
if (arr_F.length == 0)
|
|
7422
|
+
return;
|
|
7423
|
+
/** @type {?} */
|
|
7424
|
+
let ss = "";
|
|
7425
|
+
for (let y = 0; y < this.columnDefs.length; y++)
|
|
7426
|
+
if (this.columnDefs[y] != null)
|
|
7427
|
+
if (this.columnDefs[y].no_filter == null)
|
|
7428
|
+
if (this.columnDefs[y].field != null)
|
|
7429
|
+
if (this.columnDefs[y].field != '')
|
|
7430
|
+
if (this.columnDefs[y].filter != 'agDateColumnFilter')
|
|
7431
|
+
for (let i = 0; i < arr_F.length; i++) {
|
|
7432
|
+
if (ss != "")
|
|
7433
|
+
ss = ss + " or ";
|
|
7434
|
+
ss = ss + this.columnDefs[y].field + " LIKE '%" + this.uti_s.string_sqlvalue(arr_F[i]) + "%'";
|
|
7435
|
+
}
|
|
7436
|
+
this.fix_flt_temp = ss;
|
|
7437
|
+
this.show_pulisci_filtri = true;
|
|
7438
|
+
}
|
|
7438
7439
|
if (this.init_fill) {
|
|
7439
7440
|
setTimeout((/**
|
|
7440
7441
|
* @return {?}
|
|
@@ -7672,10 +7673,7 @@ class FHGridComponent {
|
|
|
7672
7673
|
localStorage.removeItem(this.grid_key + '_FILTER_UP');
|
|
7673
7674
|
return;
|
|
7674
7675
|
}
|
|
7675
|
-
|
|
7676
|
-
* @return {?}
|
|
7677
|
-
*/
|
|
7678
|
-
() => { localStorage.setItem(this.grid_key + '_FILTER_UP', this.ric_libera); }), 200);
|
|
7676
|
+
localStorage.setItem(this.grid_key + '_FILTER_UP', this.ric_libera);
|
|
7679
7677
|
/** @type {?} */
|
|
7680
7678
|
let arr = this.ric_libera.split(' ');
|
|
7681
7679
|
/** @type {?} */
|