@fluxhub/fluxhub-lib 10.0.669 → 10.0.671
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 +14 -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_a.js +11 -3
- package/esm2015/lib/wkf_engine_v2/wkfdatiaggiuntivi.js +3 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +12 -3
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/wkf_engine_v2/win_assegna_a.d.ts +1 -0
- package/package.json +1 -1
|
@@ -18536,6 +18536,7 @@
|
|
|
18536
18536
|
this.nota_commento = "";
|
|
18537
18537
|
this.title = "";
|
|
18538
18538
|
this.comm_notrequired = 0;
|
|
18539
|
+
this.prendi_in_carico = true;
|
|
18539
18540
|
this.all_users = [];
|
|
18540
18541
|
if (data != null) {
|
|
18541
18542
|
if (data.commento_default != null)
|
|
@@ -18549,6 +18550,8 @@
|
|
|
18549
18550
|
if (data.utenti != null) {
|
|
18550
18551
|
this.arrAutori = data.utenti;
|
|
18551
18552
|
this.all_users = JSON.parse(JSON.stringify(data.utenti));
|
|
18553
|
+
if (data.prendi_in_carico != null)
|
|
18554
|
+
this.prendi_in_carico = data.prendi_in_carico;
|
|
18552
18555
|
this.title = this._trs.instant("ASSEGNA DOCUMENTO");
|
|
18553
18556
|
for (var i = 0; i < this.arrAutori.length; i++) {
|
|
18554
18557
|
if (this.arrAutori[i].username == null)
|
|
@@ -18569,6 +18572,7 @@
|
|
|
18569
18572
|
this.dialogRef.close(null);
|
|
18570
18573
|
};
|
|
18571
18574
|
win_assegna_a.prototype.ok = function () {
|
|
18575
|
+
var _this = this;
|
|
18572
18576
|
if (this.op == 'A')
|
|
18573
18577
|
if (this.up.getSelArr().length == 0) {
|
|
18574
18578
|
this.toastr.error("ERRORE", this._trs.instant("SELEZIONARE ALMENO UN UTENTE"), {
|
|
@@ -18581,8 +18585,14 @@
|
|
|
18581
18585
|
o.nota = this.nota;
|
|
18582
18586
|
if (this.op == 'A')
|
|
18583
18587
|
o.arrsel = this.up.getSelArr();
|
|
18584
|
-
else
|
|
18588
|
+
else if (this.op == 'L')
|
|
18585
18589
|
o.arrsel = this.all_users;
|
|
18590
|
+
else if (this.op == 'C') {
|
|
18591
|
+
this.all_users.map(function (v) {
|
|
18592
|
+
if (v.username == _this.m_appService.user)
|
|
18593
|
+
o.arrsel = [v];
|
|
18594
|
+
});
|
|
18595
|
+
}
|
|
18586
18596
|
this.dialogRef.close(o);
|
|
18587
18597
|
};
|
|
18588
18598
|
win_assegna_a.prototype.ngAfterViewInit = function () { };
|
|
@@ -18590,7 +18600,7 @@
|
|
|
18590
18600
|
}());
|
|
18591
18601
|
win_assegna_a.decorators = [
|
|
18592
18602
|
{ type: i0.Component, args: [{
|
|
18593
|
-
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 <br><br>\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\" fxFlexGap=\"5px\" fxFlex=\"100\">\n <div style=\"width:100px;font-weight:bold\">Operazione:*</div>\n <mat-radio-group [(ngModel)]=\"op\">\n <mat-radio-button value=\"L\">LIBERA</mat-radio-button> \n <mat-radio-button value=\"A\">ASSEGNA</mat-radio-button>\n </mat-radio-group>\n </div>\n <div style=\"width:100%;height:450px\" [hidden]=\"op!='A'\">\n <FHPickUsers\n #up\n [users_list]=\"arrAutori\"\n [vis_buttons]=\"false\"\n ></FHPickUsers>\n </div>\n\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 "
|
|
18603
|
+
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 <br><br>\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\" fxFlexGap=\"5px\" fxFlex=\"100\">\n <div style=\"width:100px;font-weight:bold\">Operazione:*</div>\n <mat-radio-group [(ngModel)]=\"op\">\n <mat-radio-button value=\"L\">LIBERA</mat-radio-button> \n <mat-radio-button value=\"A\">ASSEGNA</mat-radio-button> \n <mat-radio-button [hidden]=\"!prendi_in_carico\" value=\"C\">PRENDI IN CARICO</mat-radio-button>\n </mat-radio-group>\n </div>\n <div style=\"width:100%;height:450px\" [hidden]=\"op!='A'\">\n <FHPickUsers\n #up\n [users_list]=\"arrAutori\"\n [vis_buttons]=\"false\"\n ></FHPickUsers>\n </div>\n\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 "
|
|
18594
18604
|
},] }
|
|
18595
18605
|
];
|
|
18596
18606
|
win_assegna_a.ctorParameters = function () { return [
|
|
@@ -23448,7 +23458,8 @@
|
|
|
23448
23458
|
lbl: '',
|
|
23449
23459
|
commento_default: '',
|
|
23450
23460
|
comm_notrequired: '',
|
|
23451
|
-
utenti: arrAutori
|
|
23461
|
+
utenti: arrAutori,
|
|
23462
|
+
prendi_in_carico: this.m_obj.autori != this.app_s.user
|
|
23452
23463
|
} });
|
|
23453
23464
|
dialogRef.afterClosed().subscribe(function (result) {
|
|
23454
23465
|
if (result) {
|