@fluxhub/fluxhub-lib 10.0.682 → 10.0.684
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 +15 -3
- 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/wkf_engine_v2/win_assegna.js +6 -2
- package/esm2015/lib/wkf_engine_v2/win_riassegna_select_user.js +2 -1
- package/esm2015/lib/wkf_engine_v2/wkfdatiaggiuntivi.js +11 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +16 -2
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/wkf_engine_v2/win_assegna.d.ts +1 -0
- package/package.json +1 -1
|
@@ -21789,6 +21789,7 @@ class win_assegna_v2 {
|
|
|
21789
21789
|
this.nota_commento = "";
|
|
21790
21790
|
this.title = "";
|
|
21791
21791
|
this.comm_notrequired = 0;
|
|
21792
|
+
this.user_sel = [];
|
|
21792
21793
|
if (data != null) {
|
|
21793
21794
|
if (data.commento_default != null)
|
|
21794
21795
|
this.nota = data.commento_default;
|
|
@@ -21800,6 +21801,8 @@ class win_assegna_v2 {
|
|
|
21800
21801
|
this.lbl = data.lbl;
|
|
21801
21802
|
if (data.utenti != null)
|
|
21802
21803
|
this.arrAutori = data.utenti;
|
|
21804
|
+
if (data.user_sel != null)
|
|
21805
|
+
this.user_sel = data.user_sel;
|
|
21803
21806
|
}
|
|
21804
21807
|
this.title = this._trs.instant("ASSEGNA DOCUMENTO");
|
|
21805
21808
|
for (let i = 0; i < this.arrAutori.length; i++) {
|
|
@@ -21855,12 +21858,13 @@ win_assegna_v2.decorators = [
|
|
|
21855
21858
|
mat-dialog-content
|
|
21856
21859
|
fxLayout="column"
|
|
21857
21860
|
style="font-size: 15px;min-width: 750px"
|
|
21858
|
-
>
|
|
21861
|
+
> user_sel {{user_sel}}
|
|
21859
21862
|
<div style="width:100%;height:450px">
|
|
21860
21863
|
<FHPickUsers
|
|
21861
21864
|
#up
|
|
21862
21865
|
[users_list]="arrAutori"
|
|
21863
21866
|
[vis_buttons]="false"
|
|
21867
|
+
[user_sel]="user_sel"
|
|
21864
21868
|
></FHPickUsers>
|
|
21865
21869
|
</div>
|
|
21866
21870
|
<div *ngIf="comm_notrequired != 1">
|
|
@@ -23531,6 +23535,7 @@ win_riassegna_select_user_v2.decorators = [
|
|
|
23531
23535
|
#up
|
|
23532
23536
|
[users_list]="arrAutori"
|
|
23533
23537
|
[vis_buttons]="false"
|
|
23538
|
+
|
|
23534
23539
|
></FHPickUsers>
|
|
23535
23540
|
</div>
|
|
23536
23541
|
|
|
@@ -24695,6 +24700,14 @@ class dati_aggiuntivi_v2 {
|
|
|
24695
24700
|
return;
|
|
24696
24701
|
}
|
|
24697
24702
|
if (this.transizione_info.manual_assignment == 1) {
|
|
24703
|
+
let att_autor = {};
|
|
24704
|
+
if (this.m_obj.creatore != null)
|
|
24705
|
+
if (this.m_obj.creatore != '')
|
|
24706
|
+
arrAutori.map((v) => {
|
|
24707
|
+
if (v.idp == this.m_obj.creatore) {
|
|
24708
|
+
att_autor.push(v);
|
|
24709
|
+
}
|
|
24710
|
+
});
|
|
24698
24711
|
arrAutori = arrAutori.sort((n1, n2) => {
|
|
24699
24712
|
if (n1.nc > n2.nc) {
|
|
24700
24713
|
return 1;
|
|
@@ -24711,7 +24724,8 @@ class dati_aggiuntivi_v2 {
|
|
|
24711
24724
|
lbl: o.description,
|
|
24712
24725
|
commento_default: '',
|
|
24713
24726
|
comm_notrequired: o.comments_opt,
|
|
24714
|
-
utenti: arrAutori
|
|
24727
|
+
utenti: arrAutori,
|
|
24728
|
+
user_sel: o.pre_assegna_req == 0 ? [] : [att_autor]
|
|
24715
24729
|
},
|
|
24716
24730
|
});
|
|
24717
24731
|
dialogRef.afterClosed().subscribe((result) => {
|