@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.
@@ -14884,6 +14884,7 @@
14884
14884
  this.nota_commento = "";
14885
14885
  this.title = "";
14886
14886
  this.comm_notrequired = 0;
14887
+ this.user_sel = [];
14887
14888
  if (data != null) {
14888
14889
  if (data.commento_default != null)
14889
14890
  this.nota = data.commento_default;
@@ -14895,6 +14896,8 @@
14895
14896
  this.lbl = data.lbl;
14896
14897
  if (data.utenti != null)
14897
14898
  this.arrAutori = data.utenti;
14899
+ if (data.user_sel != null)
14900
+ this.user_sel = data.user_sel;
14898
14901
  }
14899
14902
  this.title = this._trs.instant("ASSEGNA DOCUMENTO");
14900
14903
  for (var i = 0; i < this.arrAutori.length; i++) {
@@ -14939,7 +14942,7 @@
14939
14942
  }());
14940
14943
  win_assegna_v2.decorators = [
14941
14944
  { type: i0.Component, args: [{
14942
- 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 >&nbsp;&nbsp;&nbsp;\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 > user_sel {{user_sel}}\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 >&nbsp;&nbsp;&nbsp;\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 "
14943
14946
  },] }
14944
14947
  ];
14945
14948
  win_assegna_v2.ctorParameters = function () { return [
@@ -16133,7 +16136,7 @@
16133
16136
  }());
16134
16137
  win_riassegna_select_user_v2.decorators = [
16135
16138
  { type: i0.Component, args: [{
16136
- 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 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\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 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\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 ",
16137
16140
  styles: ["\u00A0.mat-dialog-content\u00A0{\u00A0\u00A0max-height:\u00A0unset\u00A0!important;\u00A0}\n\n"]
16138
16141
  },] }
16139
16142
  ];
@@ -23286,6 +23289,14 @@
23286
23289
  return;
23287
23290
  }
23288
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
+ });
23289
23300
  arrAutori = arrAutori.sort(function (n1, n2) {
23290
23301
  if (n1.nc > n2.nc) {
23291
23302
  return 1;
@@ -23302,7 +23313,8 @@
23302
23313
  lbl: o.description,
23303
23314
  commento_default: '',
23304
23315
  comm_notrequired: o.comments_opt,
23305
- utenti: arrAutori
23316
+ utenti: arrAutori,
23317
+ user_sel: o.pre_assegna_req == 0 ? [] : [att_autor_1]
23306
23318
  },
23307
23319
  });
23308
23320
  dialogRef.afterClosed().subscribe(function (result) {