@fluxhub/fluxhub-lib 1.0.406 → 1.0.408
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 +8 -11
- 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 +6 -8
- package/esm2015/lib/controls/fhgrid_json.js +4 -3
- package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +1 -3
- package/esm5/lib/controls/fhgrid.js +6 -8
- package/esm5/lib/controls/fhgrid_json.js +4 -3
- package/esm5/lib/wkf_engine/wkfdatiaggiuntivi.js +1 -3
- package/fesm2015/fluxhub-fluxhub-lib.js +8 -11
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +8 -11
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/package.json +1 -1
|
@@ -7487,7 +7487,6 @@ class FHGridComponent {
|
|
|
7487
7487
|
*/
|
|
7488
7488
|
setAutoHeight() {
|
|
7489
7489
|
this.gridApi.setDomLayout("autoHeight");
|
|
7490
|
-
console.log(this.agGrid);
|
|
7491
7490
|
}
|
|
7492
7491
|
/**
|
|
7493
7492
|
* @return {?}
|
|
@@ -7542,10 +7541,6 @@ class FHGridComponent {
|
|
|
7542
7541
|
// console.log(this.header_h);
|
|
7543
7542
|
this.gridApi = event.api;
|
|
7544
7543
|
this.setHeaderHeight(this.header_h);
|
|
7545
|
-
/** @type {?} */
|
|
7546
|
-
let ua = window.navigator.userAgent;
|
|
7547
|
-
if (ua.toLowerCase().indexOf('ipad') != -1)
|
|
7548
|
-
this.setAutoHeight();
|
|
7549
7544
|
if (this.gf != null) {
|
|
7550
7545
|
this.gf.sql = 'SELECT_CFG_GRID';
|
|
7551
7546
|
this.gf.types = ['string'];
|
|
@@ -7556,8 +7551,11 @@ class FHGridComponent {
|
|
|
7556
7551
|
return;
|
|
7557
7552
|
}
|
|
7558
7553
|
}
|
|
7559
|
-
|
|
7560
|
-
|
|
7554
|
+
/** @type {?} */
|
|
7555
|
+
let iOS = /iPad|iPhone|iPod/.test(navigator.userAgent);
|
|
7556
|
+
this.gridOptions.api.setGridAutoHeight(!iOS);
|
|
7557
|
+
if (!iOS)
|
|
7558
|
+
this.setAutoHeight();
|
|
7561
7559
|
this.onready_go();
|
|
7562
7560
|
}
|
|
7563
7561
|
/**
|
|
@@ -14364,8 +14362,9 @@ class FHGridJSONComponent {
|
|
|
14364
14362
|
return;
|
|
14365
14363
|
}
|
|
14366
14364
|
}
|
|
14367
|
-
|
|
14368
|
-
|
|
14365
|
+
/** @type {?} */
|
|
14366
|
+
let iOS = /iPad|iPhone|iPod/.test(navigator.userAgent);
|
|
14367
|
+
this.gridOptions.api.setGridAutoHeight(!iOS);
|
|
14369
14368
|
this.onready_go();
|
|
14370
14369
|
}
|
|
14371
14370
|
/**
|
|
@@ -15240,12 +15239,10 @@ class dati_aggiuntivi {
|
|
|
15240
15239
|
/** @type {?} */
|
|
15241
15240
|
let cliv = 100000;
|
|
15242
15241
|
liv = this.clevel.livello;
|
|
15243
|
-
console.log('liv: ' + liv);
|
|
15244
15242
|
for (let i = 0; i < this.livs.length; i++)
|
|
15245
15243
|
if (liv == 0 || (liv < this.livs[i].livello && cliv > this.livs[i].livello)) {
|
|
15246
15244
|
this.nlevel = this.livs[i];
|
|
15247
15245
|
cliv = this.livs[i].livello;
|
|
15248
|
-
console.log('calcolo next ', this.nlevel);
|
|
15249
15246
|
}
|
|
15250
15247
|
liv = this.wkf_rule(cliv);
|
|
15251
15248
|
/** @type {?} */
|