@fluxhub/fluxhub-lib 11.0.17 → 11.0.19

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.
@@ -16652,7 +16652,7 @@
16652
16652
  wkf_header_bar_v2.prototype.evt_assegna_a = function () {
16653
16653
  this.button_clicked.emit('assegna_a');
16654
16654
  if (this.dt_agg != null)
16655
- this.dt_agg.assegna_a();
16655
+ this.dt_agg.assegna_a(this.dt_agg.in_carico);
16656
16656
  };
16657
16657
  wkf_header_bar_v2.prototype.respingi = function () {
16658
16658
  this.button_clicked.emit('respingi');
@@ -18687,6 +18687,7 @@
18687
18687
  this.title = "";
18688
18688
  this.comm_notrequired = 0;
18689
18689
  this.prendi_in_carico = true;
18690
+ this.in_carico = true;
18690
18691
  this.all_users = [];
18691
18692
  if (data != null) {
18692
18693
  if (data.commento_default != null)
@@ -18697,6 +18698,8 @@
18697
18698
  this.title = data.title;
18698
18699
  if (data.lbl != null)
18699
18700
  this.lbl = data.lbl;
18701
+ if (data.in_carico != null)
18702
+ this.in_carico = data.in_carico;
18700
18703
  if (data.only_riassegna != null) {
18701
18704
  if (data.only_riassegna) {
18702
18705
  this.op = 'A';
@@ -18757,7 +18760,7 @@
18757
18760
  }());
18758
18761
  win_assegna_a.decorators = [
18759
18762
  { type: i0.Component, args: [{
18760
- 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\" [hidden]=\"hide_row_cmd\">\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>&nbsp;&nbsp;&nbsp;&nbsp;\n <mat-radio-button value=\"A\">RIASSEGNA A</mat-radio-button>&nbsp;&nbsp;&nbsp;&nbsp;\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 >&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 "
18763
+ 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\" [hidden]=\"hide_row_cmd\">\n <div style=\"width:100px;font-weight:bold\">Operazione:*</div>\n <mat-radio-group [(ngModel)]=\"op\">\n <mat-radio-button [hidden]=\"!in_carico\" value=\"L\">LIBERA</mat-radio-button>&nbsp;&nbsp;&nbsp;&nbsp;\n <mat-radio-button value=\"A\">RIASSEGNA A</mat-radio-button>&nbsp;&nbsp;&nbsp;&nbsp;\n <mat-radio-button [hidden]=\"!prendi_in_carico || 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 >&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 "
18761
18764
  },] }
18762
18765
  ];
18763
18766
  win_assegna_a.ctorParameters = function () { return [
@@ -24057,7 +24060,7 @@
24057
24060
  });
24058
24061
  }*/
24059
24062
  };
24060
- dati_aggiuntivi_v2.prototype.assegna_a = function () {
24063
+ dati_aggiuntivi_v2.prototype.assegna_a = function (in_carico) {
24061
24064
  var _this = this;
24062
24065
  var arx = this.m_obj.assegnati_paralleli.split(",");
24063
24066
  var arrAutori = [];
@@ -24087,7 +24090,7 @@
24087
24090
  commento_default: "",
24088
24091
  comm_notrequired: "",
24089
24092
  utenti: arrAutori,
24090
- prendi_in_carico: this.m_obj.autori != this.app_s.user,
24093
+ prendi_in_carico: this.m_obj.autori != this.app_s.user, in_carico: in_carico
24091
24094
  },
24092
24095
  });
24093
24096
  dialogRef.afterClosed().subscribe(function (result) {