@fluxhub/fluxhub-lib 10.0.404 → 10.0.406

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.
@@ -15848,7 +15848,7 @@
15848
15848
  fh_win_ask_richtext.decorators = [
15849
15849
  { type: i0.Component, args: [{
15850
15850
  selector: "app-win_ask_richtext",
15851
- template: "\n <div\u00A0 \u00A0fxLayout=\"column\" fxLayoutGap=\"5px\">\n \u00A0\u00A0\u00A0\u00A0\u00A0\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%\">{{\u00A0title\u00A0}}</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\t\t<hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\">\n <mat-dialog-content style=\"width:630px;font-size: 15px;\">\n <b *ngIf=\"label != ''\">{{ label }}</b>\n <quill-editor\n\n [(ngModel)]=\"value\"\n ></quill-editor>\n\n </mat-dialog-content>\n <mat-dialog-actions>\n <div\n fxLayout=\"row\"\n fxLayoutAlign=\"center center\"\n style=\"width: 100%\"\n [hidden]=\"readonly\"\n >\n <button\n *ngIf=\"show_ok\"\n mat-flat-button\n color=\"primary\"\n (click)=\"do_check()\"\n >\n OK</button\n >&nbsp;&nbsp;&nbsp;\n <button\n *ngIf=\"show_annulla\"\n mat-flat-button\n color=\"warn\"\n (click)=\"chiudi()\"\n >\n ANNULLA\n </button>\n </div>\n <div\n fxLayout=\"row\"\n fxLayoutAlign=\"center center\"\n style=\"width: 100%\"\n [hidden]=\"!readonly\"\n >\n <button\n *ngIf=\"show_annulla\"\n mat-flat-button\n color=\"warn\"\n (click)=\"chiudi()\"\n >\n CHIUDI\n </button>\n </div>\n </mat-dialog-actions>\n</div>\n "
15851
+ template: "\n <div\u00A0 \u00A0fxLayout=\"column\" fxLayoutGap=\"5px\">\n \u00A0\u00A0\u00A0\u00A0\u00A0\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%\">{{\u00A0title\u00A0}}</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\t\t<hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\">\n <mat-dialog-content style=\"width:630px;font-size: 15px;\">\n <b *ngIf=\"label != ''\">{{ label }}</b>\n <quill-editor\n theme=\"snow\"\n format=\"html\"\n\n [(ngModel)]=\"value\"\n ></quill-editor>\n\n </mat-dialog-content>\n <mat-dialog-actions>\n <div\n fxLayout=\"row\"\n fxLayoutAlign=\"center center\"\n style=\"width: 100%\"\n [hidden]=\"readonly\"\n >\n <button\n *ngIf=\"show_ok\"\n mat-flat-button\n color=\"primary\"\n (click)=\"do_check()\"\n >\n OK</button\n >&nbsp;&nbsp;&nbsp;\n <button\n *ngIf=\"show_annulla\"\n mat-flat-button\n color=\"warn\"\n (click)=\"chiudi()\"\n >\n ANNULLA\n </button>\n </div>\n <div\n fxLayout=\"row\"\n fxLayoutAlign=\"center center\"\n style=\"width: 100%\"\n [hidden]=\"!readonly\"\n >\n <button\n *ngIf=\"show_annulla\"\n mat-flat-button\n color=\"warn\"\n (click)=\"chiudi()\"\n >\n CHIUDI\n </button>\n </div>\n </mat-dialog-actions>\n</div>\n "
15852
15852
  },] }
15853
15853
  ];
15854
15854
  fh_win_ask_richtext.ctorParameters = function () { return [
@@ -20184,7 +20184,7 @@
20184
20184
  _this.resp_b(true);
20185
20185
  return;
20186
20186
  }
20187
- _this.exec_wkf(o, _this.nlevel, result.arrsel, result.nota);
20187
+ _this.exec_wkf(o, _this.nlevel, result.arrsel, result.nota, _this.transizione_info.create_ver);
20188
20188
  });
20189
20189
  }
20190
20190
  else {
@@ -20219,7 +20219,7 @@
20219
20219
  _this.resp_b(true);
20220
20220
  return;
20221
20221
  }
20222
- _this.exec_wkf(o, _this.nlevel, arrAutori, result);
20222
+ _this.exec_wkf(o, _this.nlevel, arrAutori, result, _this.transizione_info.create_ver);
20223
20223
  });
20224
20224
  }
20225
20225
  /*
@@ -20301,16 +20301,21 @@
20301
20301
  });
20302
20302
  }*/
20303
20303
  };
20304
- dati_aggiuntivi_v2.prototype.exec_wkf = function (trans, liv, arrdest, comm) {
20304
+ dati_aggiuntivi_v2.prototype.exec_wkf = function (trans, liv, arrdest, comm, crea_ver) {
20305
20305
  var _this = this;
20306
- console.log(trans, liv, arrdest, comm);
20306
+ if (crea_ver === void 0) { crea_ver = false; }
20307
+ if (crea_ver == null)
20308
+ crea_ver = false;
20307
20309
  this.dialogRef_ww = this.m_dialog.open(fh_win_wait, {
20308
20310
  disableClose: true, data: { label: 'Attendere' }
20309
20311
  });
20310
20312
  this.ttw = 0;
20311
20313
  var fs = new FSInput();
20312
20314
  fs.command = "exec_app";
20313
- fs.p1 = 'exec_wkf';
20315
+ if (!crea_ver)
20316
+ fs.p1 = 'exec_wkf';
20317
+ else
20318
+ fs.p1 = 'create_ver';
20314
20319
  fs.p2 = JSON.stringify({
20315
20320
  transizione: trans,
20316
20321
  destinatari: arrdest,