@fluxhub/fluxhub-lib 10.0.270 → 10.0.272
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 +16 -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/fhuserfield.js +6 -1
- package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +12 -12
- package/fesm2015/fluxhub-fluxhub-lib.js +16 -11
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/lib/controls/fhuserfield.d.ts +1 -0
- package/lib/wkf_engine/wkfdatiaggiuntivi.d.ts +1 -1
- package/package.json +1 -1
|
@@ -6453,6 +6453,7 @@ class FHUserFieldComponent {
|
|
|
6453
6453
|
this.userName = "";
|
|
6454
6454
|
this.selectedUser = [];
|
|
6455
6455
|
this.all_user = null;
|
|
6456
|
+
this.opened = false;
|
|
6456
6457
|
this.onChange = (_) => { };
|
|
6457
6458
|
this.onTouched = () => { };
|
|
6458
6459
|
}
|
|
@@ -6597,6 +6598,9 @@ class FHUserFieldComponent {
|
|
|
6597
6598
|
});
|
|
6598
6599
|
}
|
|
6599
6600
|
open_pick() {
|
|
6601
|
+
if (this.opened)
|
|
6602
|
+
return;
|
|
6603
|
+
this.opened = true;
|
|
6600
6604
|
if (this.all_user == null) {
|
|
6601
6605
|
this.load_all_users();
|
|
6602
6606
|
return;
|
|
@@ -6615,6 +6619,7 @@ class FHUserFieldComponent {
|
|
|
6615
6619
|
dialogRef.componentInstance.filtra();
|
|
6616
6620
|
});
|
|
6617
6621
|
dialogRef.afterClosed().subscribe((result) => {
|
|
6622
|
+
this.opened = false;
|
|
6618
6623
|
if (result == null)
|
|
6619
6624
|
return;
|
|
6620
6625
|
if (result != null) {
|
|
@@ -15902,7 +15907,7 @@ class dati_aggiuntivi {
|
|
|
15902
15907
|
});
|
|
15903
15908
|
dialogRef.afterClosed().subscribe((result) => {
|
|
15904
15909
|
if (result == null) {
|
|
15905
|
-
this.edit_b(true);
|
|
15910
|
+
this.edit_b(true, false);
|
|
15906
15911
|
return;
|
|
15907
15912
|
}
|
|
15908
15913
|
let liv = result;
|
|
@@ -16074,7 +16079,7 @@ class dati_aggiuntivi {
|
|
|
16074
16079
|
this.app_s.temp_var4 = "";
|
|
16075
16080
|
dialogRef.afterClosed().subscribe((result) => {
|
|
16076
16081
|
if (result == "abort") {
|
|
16077
|
-
this.edit_b(true);
|
|
16082
|
+
this.edit_b(true, false);
|
|
16078
16083
|
if (this.respingi_enabled)
|
|
16079
16084
|
this.resp_b(true);
|
|
16080
16085
|
return;
|
|
@@ -16108,7 +16113,7 @@ class dati_aggiuntivi {
|
|
|
16108
16113
|
this.app_s.temp_var4 = "";
|
|
16109
16114
|
dialogRef.afterClosed().subscribe((result) => {
|
|
16110
16115
|
if (result == "" || result == null) {
|
|
16111
|
-
this.edit_b(true);
|
|
16116
|
+
this.edit_b(true, false);
|
|
16112
16117
|
if (this.respingi_enabled)
|
|
16113
16118
|
this.resp_b(true);
|
|
16114
16119
|
return;
|
|
@@ -16649,17 +16654,17 @@ class dati_aggiuntivi {
|
|
|
16649
16654
|
respingi() {
|
|
16650
16655
|
this.oper = "respingi";
|
|
16651
16656
|
this.btnprocedi = true;
|
|
16652
|
-
this.edit_b(false);
|
|
16657
|
+
this.edit_b(false, false);
|
|
16653
16658
|
this.resp_b(false);
|
|
16654
16659
|
this.salva();
|
|
16655
16660
|
}
|
|
16656
16661
|
procedi() {
|
|
16657
16662
|
this.oper = "procedi";
|
|
16658
16663
|
this.btnprocedi = true;
|
|
16659
|
-
this.edit_b(false);
|
|
16664
|
+
this.edit_b(false, false);
|
|
16660
16665
|
this.resp_b(false);
|
|
16661
16666
|
if (!this.ck_field()) {
|
|
16662
|
-
this.edit_b(true);
|
|
16667
|
+
this.edit_b(true, false);
|
|
16663
16668
|
if (this.respingi_enabled)
|
|
16664
16669
|
this.resp_b(true);
|
|
16665
16670
|
return;
|
|
@@ -16770,7 +16775,7 @@ class dati_aggiuntivi {
|
|
|
16770
16775
|
}
|
|
16771
16776
|
save_agg() {
|
|
16772
16777
|
this.b_edit_before = this.b_edit && this.b_rip_pulsanti;
|
|
16773
|
-
this.edit_b(false);
|
|
16778
|
+
this.edit_b(false, false);
|
|
16774
16779
|
let arr = this.getfieldvalues();
|
|
16775
16780
|
// console.log('arr',arr);
|
|
16776
16781
|
let p = new QParam();
|
|
@@ -16840,7 +16845,7 @@ class dati_aggiuntivi {
|
|
|
16840
16845
|
ok_insert_aggiuntivi() {
|
|
16841
16846
|
if (!this.btnprocedi) {
|
|
16842
16847
|
this.alert("DOCUMENTO SALVATO", 0);
|
|
16843
|
-
this.edit_b(this.b_edit_before);
|
|
16848
|
+
this.edit_b(this.b_edit_before, true);
|
|
16844
16849
|
if (!this.b_edit && !this.btnprocedi)
|
|
16845
16850
|
this.m_router.navigate([
|
|
16846
16851
|
this.app_info.modulo_swf,
|
|
@@ -16884,7 +16889,7 @@ class dati_aggiuntivi {
|
|
|
16884
16889
|
}
|
|
16885
16890
|
ok_load_document(o) {
|
|
16886
16891
|
this.m_obj = (JSON.parse(JSON.stringify(o)));
|
|
16887
|
-
this.edit_b(false);
|
|
16892
|
+
this.edit_b(false, false);
|
|
16888
16893
|
this.save_to_app_state();
|
|
16889
16894
|
let p = new QParam();
|
|
16890
16895
|
p.sql = "SELECT_LIVELLI_DOC";
|
|
@@ -17353,7 +17358,7 @@ class dati_aggiuntivi {
|
|
|
17353
17358
|
this.respingi_enabled = true;
|
|
17354
17359
|
else
|
|
17355
17360
|
this.respingi_enabled = false;
|
|
17356
|
-
this.edit_b(true);
|
|
17361
|
+
this.edit_b(true, false);
|
|
17357
17362
|
break;
|
|
17358
17363
|
}
|
|
17359
17364
|
}
|
|
@@ -17381,7 +17386,7 @@ class dati_aggiuntivi {
|
|
|
17381
17386
|
)
|
|
17382
17387
|
);*/
|
|
17383
17388
|
if (("," + this.m_obj.autori.toLowerCase() + ",").indexOf("," + this.user_idp.toLowerCase() + ",") != -1) {
|
|
17384
|
-
this.edit_b(true);
|
|
17389
|
+
this.edit_b(true, false);
|
|
17385
17390
|
if (this.respingi_enabled)
|
|
17386
17391
|
this.resp_b(true);
|
|
17387
17392
|
}
|