@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
|
@@ -7727,6 +7727,7 @@ var FHGridComponent = /** @class */ (function () {
|
|
|
7727
7727
|
*/
|
|
7728
7728
|
function () {
|
|
7729
7729
|
var _this = this;
|
|
7730
|
+
console.log('CKKK');
|
|
7730
7731
|
if (this.columnDefs == null) {
|
|
7731
7732
|
setTimeout((/**
|
|
7732
7733
|
* @return {?}
|
|
@@ -7758,36 +7759,36 @@ var FHGridComponent = /** @class */ (function () {
|
|
|
7758
7759
|
this.res_columns();
|
|
7759
7760
|
if (localStorage.getItem(this.grid_key + '_POS') != null)
|
|
7760
7761
|
this.b_restored = true;
|
|
7761
|
-
|
|
7762
|
-
|
|
7763
|
-
|
|
7764
|
-
|
|
7765
|
-
|
|
7766
|
-
|
|
7767
|
-
|
|
7768
|
-
|
|
7769
|
-
|
|
7770
|
-
|
|
7771
|
-
|
|
7772
|
-
|
|
7773
|
-
|
|
7774
|
-
|
|
7775
|
-
|
|
7776
|
-
|
|
7777
|
-
|
|
7778
|
-
|
|
7779
|
-
|
|
7780
|
-
|
|
7781
|
-
|
|
7782
|
-
|
|
7783
|
-
|
|
7784
|
-
|
|
7785
|
-
|
|
7786
|
-
|
|
7787
|
-
|
|
7788
|
-
|
|
7789
|
-
|
|
7790
|
-
|
|
7762
|
+
if (localStorage.getItem(this.grid_key + '_FILTER_UP') != null)
|
|
7763
|
+
if (localStorage.getItem(this.grid_key + '_FILTER_UP') != '') {
|
|
7764
|
+
this.ric_libera = localStorage.getItem(this.grid_key + '_FILTER_UP');
|
|
7765
|
+
/** @type {?} */
|
|
7766
|
+
var arr = this.ric_libera.split(' ');
|
|
7767
|
+
/** @type {?} */
|
|
7768
|
+
var arr_F = new Array();
|
|
7769
|
+
for (var i = 0; i < arr.length; i++)
|
|
7770
|
+
if (arr[i].length > 2)
|
|
7771
|
+
arr_F.push(arr[i]);
|
|
7772
|
+
else
|
|
7773
|
+
this._toast.error("ignorato termine: " + arr[i] + " troppo corto");
|
|
7774
|
+
if (arr_F.length == 0)
|
|
7775
|
+
return;
|
|
7776
|
+
/** @type {?} */
|
|
7777
|
+
var ss = "";
|
|
7778
|
+
for (var y = 0; y < this.columnDefs.length; y++)
|
|
7779
|
+
if (this.columnDefs[y] != null)
|
|
7780
|
+
if (this.columnDefs[y].no_filter == null)
|
|
7781
|
+
if (this.columnDefs[y].field != null)
|
|
7782
|
+
if (this.columnDefs[y].field != '')
|
|
7783
|
+
if (this.columnDefs[y].filter != 'agDateColumnFilter')
|
|
7784
|
+
for (var i = 0; i < arr_F.length; i++) {
|
|
7785
|
+
if (ss != "")
|
|
7786
|
+
ss = ss + " or ";
|
|
7787
|
+
ss = ss + this.columnDefs[y].field + " LIKE '%" + this.uti_s.string_sqlvalue(arr_F[i]) + "%'";
|
|
7788
|
+
}
|
|
7789
|
+
this.fix_flt_temp = ss;
|
|
7790
|
+
this.show_pulisci_filtri = true;
|
|
7791
|
+
}
|
|
7791
7792
|
if (this.init_fill) {
|
|
7792
7793
|
setTimeout((/**
|
|
7793
7794
|
* @return {?}
|
|
@@ -8071,7 +8072,6 @@ var FHGridComponent = /** @class */ (function () {
|
|
|
8071
8072
|
* @return {?}
|
|
8072
8073
|
*/
|
|
8073
8074
|
function () {
|
|
8074
|
-
var _this = this;
|
|
8075
8075
|
if (this.ric_libera == '') {
|
|
8076
8076
|
this.pulisci_filtri();
|
|
8077
8077
|
this.fix_flt_temp = '';
|
|
@@ -8079,10 +8079,7 @@ var FHGridComponent = /** @class */ (function () {
|
|
|
8079
8079
|
localStorage.removeItem(this.grid_key + '_FILTER_UP');
|
|
8080
8080
|
return;
|
|
8081
8081
|
}
|
|
8082
|
-
|
|
8083
|
-
* @return {?}
|
|
8084
|
-
*/
|
|
8085
|
-
function () { localStorage.setItem(_this.grid_key + '_FILTER_UP', _this.ric_libera); }), 200);
|
|
8082
|
+
localStorage.setItem(this.grid_key + '_FILTER_UP', this.ric_libera);
|
|
8086
8083
|
/** @type {?} */
|
|
8087
8084
|
var arr = this.ric_libera.split(' ');
|
|
8088
8085
|
/** @type {?} */
|