@fluxhub/fluxhub-lib 1.0.297 → 1.0.299
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 +18 -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/docs/components/FHGridComponent.html +24 -0
- package/docs/components/FHGridJSONComponent.html +1 -1
- package/docs/coverage.html +1 -1
- package/docs/js/search/search_index.js +2 -2
- package/esm2015/lib/controls/fhgrid.js +7 -1
- package/esm2015/lib/controls/fhgrid_json.js +4 -2
- package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +12 -6
- package/esm5/lib/controls/fhgrid.js +7 -1
- package/esm5/lib/controls/fhgrid_json.js +4 -2
- package/esm5/lib/wkf_engine/wkfdatiaggiuntivi.js +12 -6
- package/fesm2015/fluxhub-fluxhub-lib.js +19 -7
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +19 -7
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhgrid.d.ts +1 -0
- package/package.json +1 -1
|
@@ -3845,6 +3845,7 @@
|
|
|
3845
3845
|
this.sort_field = "";
|
|
3846
3846
|
this.fields = "*";
|
|
3847
3847
|
this.filters = "1=1";
|
|
3848
|
+
this.auto_height = false;
|
|
3848
3849
|
this.abilita_export = true;
|
|
3849
3850
|
this.enabled_pag = true;
|
|
3850
3851
|
this.show_help = true;
|
|
@@ -5051,6 +5052,8 @@
|
|
|
5051
5052
|
return;
|
|
5052
5053
|
}
|
|
5053
5054
|
}
|
|
5055
|
+
if (this.auto_height)
|
|
5056
|
+
this.gridOptions.api.setGridAutoHeight(true);
|
|
5054
5057
|
this.onready_go();
|
|
5055
5058
|
};
|
|
5056
5059
|
/**
|
|
@@ -5525,6 +5528,7 @@
|
|
|
5525
5528
|
sort_field: [{ type: i0.Input }],
|
|
5526
5529
|
fields: [{ type: i0.Input }],
|
|
5527
5530
|
filters: [{ type: i0.Input }],
|
|
5531
|
+
auto_height: [{ type: i0.Input }],
|
|
5528
5532
|
abilita_export: [{ type: i0.Input }],
|
|
5529
5533
|
enabled_pag: [{ type: i0.Input }],
|
|
5530
5534
|
show_help: [{ type: i0.Input }],
|
|
@@ -12298,7 +12302,7 @@
|
|
|
12298
12302
|
this.sort_field = "";
|
|
12299
12303
|
this.fields = "*";
|
|
12300
12304
|
this.filters = "1=1";
|
|
12301
|
-
this.auto_height =
|
|
12305
|
+
this.auto_height = false;
|
|
12302
12306
|
this.abilita_export = true;
|
|
12303
12307
|
this.enabled_pag = true;
|
|
12304
12308
|
this.show_help = true;
|
|
@@ -13208,6 +13212,8 @@
|
|
|
13208
13212
|
return;
|
|
13209
13213
|
}
|
|
13210
13214
|
}
|
|
13215
|
+
if (this.auto_height)
|
|
13216
|
+
this.gridOptions.api.setGridAutoHeight(true);
|
|
13211
13217
|
this.onready_go();
|
|
13212
13218
|
};
|
|
13213
13219
|
/**
|
|
@@ -16716,11 +16722,13 @@
|
|
|
16716
16722
|
this.app_s.getState().wkf_doc_info.title = 'Avanzamento';
|
|
16717
16723
|
/** @type {?} */
|
|
16718
16724
|
var sp = "";
|
|
16719
|
-
for (var i_2 = 0; i_2 < arrAutori.length; i_2++)
|
|
16720
|
-
if (
|
|
16721
|
-
sp
|
|
16722
|
-
|
|
16723
|
-
|
|
16725
|
+
for (var i_2 = 0; i_2 < arrAutori.length; i_2++)
|
|
16726
|
+
if (arrAutori[i_2].nc != null)
|
|
16727
|
+
if (sp.indexOf(arrAutori[i_2].nc) == -1) {
|
|
16728
|
+
if (sp != '')
|
|
16729
|
+
sp = sp + ';';
|
|
16730
|
+
sp = sp + arrAutori[i_2].nc;
|
|
16731
|
+
}
|
|
16724
16732
|
this.app_s.getState().wkf_doc_info.utenti = "";
|
|
16725
16733
|
if (this.nlevel.livello < 900)
|
|
16726
16734
|
this.app_s.getState().wkf_doc_info.lbl = "Il documento verrà inviato a " + this.nlevel.descri_livello;
|
|
@@ -18028,6 +18036,8 @@
|
|
|
18028
18036
|
*/
|
|
18029
18037
|
function () {
|
|
18030
18038
|
console.log('return_edit');
|
|
18039
|
+
console.log('rthis.m_obj.autori ', this.m_obj.autori);
|
|
18040
|
+
console.log('this.user_idp ', this.user_idp);
|
|
18031
18041
|
for (var i = 0; i < this.livs.length; i++)
|
|
18032
18042
|
if (this.livs[i].livello == this.m_obj.stato) {
|
|
18033
18043
|
if (this.livs[i].abilita_indietro == 1)
|
|
@@ -18036,6 +18046,8 @@
|
|
|
18036
18046
|
this.respingi_enabled = false;
|
|
18037
18047
|
break;
|
|
18038
18048
|
}
|
|
18049
|
+
if (this.m_obj.autori == null)
|
|
18050
|
+
this.m_obj.autori = '';
|
|
18039
18051
|
if (this.m_obj.autori.toLowerCase().indexOf(this.user_idp.toLowerCase()) != -1) {
|
|
18040
18052
|
this.edit_b(true);
|
|
18041
18053
|
if (this.respingi_enabled)
|