@fluxhub/fluxhub-lib 10.0.681 → 10.0.683
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 +17 -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/controls/win_user_picker.js +3 -1
- package/esm2015/lib/wkf_engine_v2/win_assegna.js +5 -1
- 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 +17 -1
- 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
|
@@ -8693,6 +8693,8 @@
|
|
|
8693
8693
|
if (_this.users_list != null)
|
|
8694
8694
|
for (var i = 0; i < _this.users_list.length; i++)
|
|
8695
8695
|
_this.users_list_sel.push(_this.users_list[i]);
|
|
8696
|
+
if (_this.users_list != null)
|
|
8697
|
+
_this.lista_utenti = JSON.parse(JSON.stringify(_this.users_list));
|
|
8696
8698
|
}
|
|
8697
8699
|
});
|
|
8698
8700
|
};
|
|
@@ -14882,6 +14884,7 @@
|
|
|
14882
14884
|
this.nota_commento = "";
|
|
14883
14885
|
this.title = "";
|
|
14884
14886
|
this.comm_notrequired = 0;
|
|
14887
|
+
this.user_sel = [];
|
|
14885
14888
|
if (data != null) {
|
|
14886
14889
|
if (data.commento_default != null)
|
|
14887
14890
|
this.nota = data.commento_default;
|
|
@@ -14893,6 +14896,8 @@
|
|
|
14893
14896
|
this.lbl = data.lbl;
|
|
14894
14897
|
if (data.utenti != null)
|
|
14895
14898
|
this.arrAutori = data.utenti;
|
|
14899
|
+
if (data.user_sel != null)
|
|
14900
|
+
this.user_sel = data.user_sel;
|
|
14896
14901
|
}
|
|
14897
14902
|
this.title = this._trs.instant("ASSEGNA DOCUMENTO");
|
|
14898
14903
|
for (var i = 0; i < this.arrAutori.length; i++) {
|
|
@@ -14937,7 +14942,7 @@
|
|
|
14937
14942
|
}());
|
|
14938
14943
|
win_assegna_v2.decorators = [
|
|
14939
14944
|
{ type: i0.Component, args: [{
|
|
14940
|
-
template: "\n <div fxLayout=\"column\">\n\u00A0\u00A0\u00A0\u00A0<div\u00A0 fxFlex=\"100\"\u00A0fxLayout=\"row\"\u00A0 \u00A0class=\"dialog_header\">\n\t<div fxLayout=\"row\"\u00A0fxLayoutAlign=\"start\u00A0center\" style=\"width:50%\">{{title | translate}}</div>\n <div style=\"width:50%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\u00A0\u00A0\u00A0\u00A0src=\"assets/icons/x.png\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0style=\"cursor:\u00A0pointer;\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0(click)=\"close()\"\u00A0/>\n</div>\n</div>\n <div\n mat-dialog-content\n fxLayout=\"column\"\n style=\"font-size: 15px;min-width: 750px\"\n >\n <div style=\"width:100%;height:450px\">\n <FHPickUsers\n #up\n [users_list]=\"arrAutori\"\n [vis_buttons]=\"false\"\n ></FHPickUsers>\n </div>\n <div *ngIf=\"comm_notrequired != 1\">\n <br />\n <mat-form-field appearance=\"outline\" floatLabel=\"always\"\n ><mat-label>{{'Commento' | translate}} {{ nota_commento }}</mat-label>\n <textarea required matInput [(ngModel)]=\"nota\" rows=\"4\"></textarea>\n </mat-form-field>\n </div>\n </div>\n <br />\n <div style=\"width:100%;text-align:center;\">\n <button mat-flat-button color=\"primary\" (click)=\"ok()\"> {{'OK' | translate }}</button\n > \n <button\n mat-flat-button\n style=\"background-color: #F5F5F5\"\n (click)=\"close()\"\n >\n {{'ANNULLA' | translate }}\n </button>\n </div>\n </div>\n "
|
|
14945
|
+
template: "\n <div fxLayout=\"column\">\n\u00A0\u00A0\u00A0\u00A0<div\u00A0 fxFlex=\"100\"\u00A0fxLayout=\"row\"\u00A0 \u00A0class=\"dialog_header\">\n\t<div fxLayout=\"row\"\u00A0fxLayoutAlign=\"start\u00A0center\" style=\"width:50%\">{{title | translate}}</div>\n <div style=\"width:50%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\u00A0\u00A0\u00A0\u00A0src=\"assets/icons/x.png\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0style=\"cursor:\u00A0pointer;\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0(click)=\"close()\"\u00A0/>\n</div>\n</div>\n <div\n mat-dialog-content\n fxLayout=\"column\"\n style=\"font-size: 15px;min-width: 750px\"\n >\n <div style=\"width:100%;height:450px\">\n <FHPickUsers\n #up\n [users_list]=\"arrAutori\"\n [vis_buttons]=\"false\"\n [user_sel]=\"user_sel\"\n ></FHPickUsers>\n </div>\n <div *ngIf=\"comm_notrequired != 1\">\n <br />\n <mat-form-field appearance=\"outline\" floatLabel=\"always\"\n ><mat-label>{{'Commento' | translate}} {{ nota_commento }}</mat-label>\n <textarea required matInput [(ngModel)]=\"nota\" rows=\"4\"></textarea>\n </mat-form-field>\n </div>\n </div>\n <br />\n <div style=\"width:100%;text-align:center;\">\n <button mat-flat-button color=\"primary\" (click)=\"ok()\"> {{'OK' | translate }}</button\n > \n <button\n mat-flat-button\n style=\"background-color: #F5F5F5\"\n (click)=\"close()\"\n >\n {{'ANNULLA' | translate }}\n </button>\n </div>\n </div>\n "
|
|
14941
14946
|
},] }
|
|
14942
14947
|
];
|
|
14943
14948
|
win_assegna_v2.ctorParameters = function () { return [
|
|
@@ -16131,7 +16136,7 @@
|
|
|
16131
16136
|
}());
|
|
16132
16137
|
win_riassegna_select_user_v2.decorators = [
|
|
16133
16138
|
{ type: i0.Component, args: [{
|
|
16134
|
-
template: "\n <div fxLayout=\"column\">\n\u00A0\u00A0\u00A0\u00A0<div\u00A0 fxFlex=\"100\"\u00A0fxLayout=\"row\"\u00A0 \u00A0class=\"dialog_header\">\n\t<div fxLayout=\"row\"\u00A0fxLayoutAlign=\"start\u00A0center\" style=\"width:50%\">{{title | translate }}</div>\n <div style=\"width:50%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\u00A0\u00A0\u00A0\u00A0src=\"assets/icons/x.png\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0style=\"cursor:\u00A0pointer;\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0(click)=\"close()\"\u00A0/>\n</div>\n</div>\n <div mat-dialog-content fxLayout=\"column\" style=\"font-size:12px\">\n <div style=\"width:100%;height:500px\">\n <FHPickUsers\n #up\n [users_list]=\"arrAutori\"\n [vis_buttons]=\"false\"\n ></FHPickUsers>\n </div>\n\n <mat-form-field\n [hidden]=\"commento_hidden\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{'Commento' | translate }} {{ nota_commento | translate }}</mat-label>\n <textarea matInput [(ngModel)]=\"nota\" rows=\"2\"></textarea>\n </mat-form-field>\n </div>\n <div mat-dialog-actions fxLayout=\"row\" fxLayoutAlign=\"center center\">\n <div>\n <button mat-flat-button color=\"primary\" (click)=\"ok()\"> {{'OK' | translate }}</button>\n </div>\n \n <div>\n <button\n mat-flat-button\n style=\"background-color: #F5F5F5\"\n (click)=\"close()\"\n >\n {{'ANNULLA' | translate }}\n </button>\n </div>\n </div>\n </div>\n ",
|
|
16139
|
+
template: "\n <div fxLayout=\"column\">\n\u00A0\u00A0\u00A0\u00A0<div\u00A0 fxFlex=\"100\"\u00A0fxLayout=\"row\"\u00A0 \u00A0class=\"dialog_header\">\n\t<div fxLayout=\"row\"\u00A0fxLayoutAlign=\"start\u00A0center\" style=\"width:50%\">{{title | translate }}</div>\n <div style=\"width:50%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\u00A0\u00A0\u00A0\u00A0src=\"assets/icons/x.png\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0style=\"cursor:\u00A0pointer;\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0(click)=\"close()\"\u00A0/>\n</div>\n</div>\n <div mat-dialog-content fxLayout=\"column\" style=\"font-size:12px\">\n <div style=\"width:100%;height:500px\">\n <FHPickUsers\n #up\n [users_list]=\"arrAutori\"\n [vis_buttons]=\"false\"\n\n ></FHPickUsers>\n </div>\n\n <mat-form-field\n [hidden]=\"commento_hidden\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{'Commento' | translate }} {{ nota_commento | translate }}</mat-label>\n <textarea matInput [(ngModel)]=\"nota\" rows=\"2\"></textarea>\n </mat-form-field>\n </div>\n <div mat-dialog-actions fxLayout=\"row\" fxLayoutAlign=\"center center\">\n <div>\n <button mat-flat-button color=\"primary\" (click)=\"ok()\"> {{'OK' | translate }}</button>\n </div>\n \n <div>\n <button\n mat-flat-button\n style=\"background-color: #F5F5F5\"\n (click)=\"close()\"\n >\n {{'ANNULLA' | translate }}\n </button>\n </div>\n </div>\n </div>\n ",
|
|
16135
16140
|
styles: ["\u00A0.mat-dialog-content\u00A0{\u00A0\u00A0max-height:\u00A0unset\u00A0!important;\u00A0}\n\n"]
|
|
16136
16141
|
},] }
|
|
16137
16142
|
];
|
|
@@ -23284,6 +23289,14 @@
|
|
|
23284
23289
|
return;
|
|
23285
23290
|
}
|
|
23286
23291
|
if (this.transizione_info.manual_assignment == 1) {
|
|
23292
|
+
var att_autor_1 = {};
|
|
23293
|
+
if (this.m_obj.creatore != null)
|
|
23294
|
+
if (this.m_obj.creatore != '')
|
|
23295
|
+
arrAutori.map(function (v) {
|
|
23296
|
+
if (v.idp == _this.m_obj.creatore) {
|
|
23297
|
+
att_autor_1.push(v);
|
|
23298
|
+
}
|
|
23299
|
+
});
|
|
23287
23300
|
arrAutori = arrAutori.sort(function (n1, n2) {
|
|
23288
23301
|
if (n1.nc > n2.nc) {
|
|
23289
23302
|
return 1;
|
|
@@ -23300,7 +23313,8 @@
|
|
|
23300
23313
|
lbl: o.description,
|
|
23301
23314
|
commento_default: '',
|
|
23302
23315
|
comm_notrequired: o.comments_opt,
|
|
23303
|
-
utenti: arrAutori
|
|
23316
|
+
utenti: arrAutori,
|
|
23317
|
+
user_sel: o.pre_assegna_req == 0 ? [] : att_autor_1
|
|
23304
23318
|
},
|
|
23305
23319
|
});
|
|
23306
23320
|
dialogRef.afterClosed().subscribe(function (result) {
|