@fluxhub/fluxhub-lib 1.0.260 → 1.0.262

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.
@@ -11874,7 +11874,7 @@
11874
11874
  };
11875
11875
  win_riassegna_select_user.decorators = [
11876
11876
  { type: i0.Component, args: [{
11877
- template: "\n <mat-toolbar>{{title}}\n </mat-toolbar>\n\n <div mat-dialog-content style=\"min-width:700px\">\n\n <div style=\"height:370px;\">\n <FHPickUsers #up [users_list]=\"arrAutori\" [vis_buttons]=\"false\"></FHPickUsers>\n </div>\n <br><br><br>\n\n <mat-form-field>\n <textarea matInput placeholder=\"Commento {{nota_commento}}\" [hidden]=\"commento_hidden\" [(ngModel)]=\"nota\"\n rows=\"6\"></textarea>\n\n </mat-form-field>\n\n \n\n </div>\n <br>\n <div style=\"width:100%;text-align:center;\">\n <button mat-raised-button color=\"primary\" (click)=\"ok()\"> OK</button>&nbsp;&nbsp;&nbsp;\n <button mat-raised-button color=\"warn\" (click)=\"annulla()\">ANNULLA</button>\n </div>\n\n "
11877
+ template: "\n <mat-toolbar>{{title}}\n </mat-toolbar>\n\n <div mat-dialog-content style=\"min-width:700px\">\n\n <div style=\"height:370px;\">\n <FHPickUsers #up [users_list]=\"arrAutori\" [vis_buttons]=\"false\"></FHPickUsers>\n </div>\n <br><br><br>\n\n <mat-form-field [hidden]=\"commento_hidden\" >\n <textarea matInput placeholder=\"Commento {{nota_commento}}\" [(ngModel)]=\"nota\"\n rows=\"6\"></textarea>\n\n </mat-form-field>\n\n \n\n </div>\n <br>\n <div style=\"width:100%;text-align:center;\">\n <button mat-raised-button color=\"primary\" (click)=\"ok()\"> OK</button>&nbsp;&nbsp;&nbsp;\n <button mat-raised-button color=\"warn\" (click)=\"annulla()\">ANNULLA</button>\n </div>\n\n "
11878
11878
  }] }
11879
11879
  ];
11880
11880
  /** @nocollapse */
@@ -15438,9 +15438,9 @@
15438
15438
  var _this = this;
15439
15439
  /** @type {?} */
15440
15440
  var arrAutori = new Array();
15441
- for (var i = 0; i < this.livs_adm.length; i++)
15442
- if (this.livs_adm[i].livello == this.os_r.livello && this.livs_adm[i].notifica == 0)
15443
- arrAutori.push(this.livs_adm[i]);
15441
+ for (var i_1 = 0; i_1 < this.livs_adm.length; i_1++)
15442
+ if (this.livs_adm[i_1].livello == this.os_r.livello && this.livs_adm[i_1].notifica == 0)
15443
+ arrAutori.push(this.livs_adm[i_1]);
15444
15444
  // Alert.show("Confermi di voler recuperare il documento "+ wing.tbl_wkf.sRow.codice+" - "+ wing.tbl_wkf.sRow.oggetto+"?", "Conferma operazione", 3, this, okelimc1);
15445
15445
  /** @type {?} */
15446
15446
  var dialogRef = this.dialog.open(win_riassegna_select_user, { 'disableClose': true });
@@ -15449,7 +15449,14 @@
15449
15449
  if (arrAutori[i].idp != null && arrAutori[i].username == null)
15450
15450
  arrAutori[i].username = arrAutori[i].idp;
15451
15451
  }
15452
- console.log(arrAutori);
15452
+ dialogRef.componentInstance.commento_hidden = false;
15453
+ dialogRef.componentInstance.comm_notrequired = false;
15454
+ if (this.os_r.commenti_opzionali != null)
15455
+ if (this.os_r.commenti_opzionali != 0) {
15456
+ dialogRef.componentInstance.commento_hidden = true;
15457
+ dialogRef.componentInstance.comm_notrequired = true;
15458
+ }
15459
+ console.log('dialogRef.componentInstance ', dialogRef.componentInstance);
15453
15460
  dialogRef.componentInstance.arrAutori = arrAutori;
15454
15461
  dialogRef.componentInstance.title = "Riassegnazione documento: " + this.get_grid().sRow.codice + " - " + this.get_grid().sRow.oggetto;
15455
15462
  dialogRef.afterClosed().subscribe(( /**