@fluxhub/fluxhub-lib 10.0.311 → 10.0.313

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.
@@ -9801,15 +9801,17 @@
9801
9801
  };
9802
9802
 
9803
9803
  var win_select_level = /** @class */ (function () {
9804
- function win_select_level(dialogRef, m_appService, toastr) {
9804
+ function win_select_level(dialogRef, m_appService, toastr, tsr) {
9805
9805
  this.dialogRef = dialogRef;
9806
9806
  this.m_appService = m_appService;
9807
9807
  this.toastr = toastr;
9808
+ this.tsr = tsr;
9808
9809
  this.selval = "-1";
9809
9810
  this.errorMsg = "";
9810
9811
  this.OK_BUTTON = "OK";
9811
- this.title = 'Seleziona prossimo step';
9812
+ this.title = '';
9812
9813
  this.setStepCombo(this.m_appService.getState().wkf_doc_info.livs, this.m_appService.getState().wkf_doc_info.st, this.m_appService.getState().wkf_doc_info.cl);
9814
+ this.title = this.tsr.instant('Seleziona Prossimo Step');
9813
9815
  }
9814
9816
  win_select_level.prototype.close = function () {
9815
9817
  this.dialogRef.close(null);
@@ -9886,13 +9888,14 @@
9886
9888
  }());
9887
9889
  win_select_level.decorators = [
9888
9890
  { type: i0.Component, args: [{
9889
- template: "\n <div\u00A0 \u00A0fxLayout=\"column\" fxLayoutGap=\"5px\">\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}}</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\n <div mat-dialog-content style=\"font-size: 15px;\">\n\n <mat-dialog-content style=\"max-width:500px;font-size:12px\"\n ><br /><br />\n <mat-form-field\n appearance=\"outline\"\n floatLabel=\"always\"\n style=\"width:100%\"\n ><mat-label>Seleziona Prossimo Step:</mat-label>\n <mat-select #cmb [(ngModel)]=\"selval\" (change)=\"sc()\">\n <mat-option value=\"-1\">Seleziona</mat-option>\n <mat-option value=\"{{ app.livello }}\" *ngFor=\"let app of myData\">{{\n app.descri_livello\n }}</mat-option>\n </mat-select>\n </mat-form-field>\n\n <br /><br /><br /><br />\n <div style=\"width:100%;text-align:center;\">\n <button mat-flat-button color=\"primary\" (click)=\"ok()\">\n {{ OK_BUTTON }}</button\n >&nbsp;&nbsp;&nbsp;\n <button mat-flat-button color=\"warn\" (click)=\"close()\">\n ANNULLA\n </button>\n </div>\n <br /><br />\n </mat-dialog-content>\n <p style=\"color:#CC0000;font-size:9px;\" *ngIf=\"errorMsg != ''\">\n {{ errorMsg }}\n </p>\n </div>\n </div>\n "
9891
+ template: "\n <div\u00A0 \u00A0fxLayout=\"column\" fxLayoutGap=\"5px\">\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}}</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\n <div mat-dialog-content style=\"font-size: 15px;\">\n\n <mat-dialog-content style=\"max-width:500px;font-size:12px\"\n ><br /><br />\n <mat-form-field\n appearance=\"outline\"\n floatLabel=\"always\"\n style=\"width:100%\"\n ><mat-label>{{'Seleziona Prossimo Step' | translate}}:</mat-label>\n <mat-select #cmb [(ngModel)]=\"selval\" (change)=\"sc()\">\n <mat-option value=\"-1\">Seleziona</mat-option>\n <mat-option value=\"{{ app.livello }}\" *ngFor=\"let app of myData\">{{\n app.descri_livello | translate\n }}</mat-option>\n </mat-select>\n </mat-form-field>\n\n <br /><br /><br /><br />\n <div style=\"width:100%;text-align:center;\">\n <button mat-flat-button color=\"primary\" (click)=\"ok()\">\n {{ OK_BUTTON }}</button\n >&nbsp;&nbsp;&nbsp;\n <button mat-flat-button color=\"warn\" (click)=\"close()\">\n {{'ANNULLA' | translate}}\n </button>\n </div>\n <br /><br />\n </mat-dialog-content>\n <p style=\"color:#CC0000;font-size:9px;\" *ngIf=\"errorMsg != ''\">\n {{ errorMsg }}\n </p>\n </div>\n </div>\n "
9890
9892
  },] }
9891
9893
  ];
9892
9894
  win_select_level.ctorParameters = function () { return [
9893
9895
  { type: dialog.MatDialogRef },
9894
9896
  { type: AppService },
9895
- { type: i3.ToastrService }
9897
+ { type: i3.ToastrService },
9898
+ { type: core$1.TranslateService }
9896
9899
  ]; };
9897
9900
  win_select_level.propDecorators = {
9898
9901
  smtr: [{ type: i0.ViewChild, args: ["cmb",] }]
@@ -13871,7 +13874,7 @@
13871
13874
  }());
13872
13875
  fh_win_user_info.decorators = [
13873
13876
  { type: i0.Component, args: [{
13874
- template: "\n <div\u00A0 \u00A0fxLayout=\"column\" fxLayoutGap=\"5px\">\n\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%\">INFO UTENTE</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\n <mat-dialog-content style=\"font-size:12px\">\n <table class=\"fh_table\">\n <tbody>\n <tr class=\"odd\">\n <td>Nome</td>\n <td>\n <b>{{ user_name }}</b>\n </td>\n </tr>\n <tr class=\"even\">\n <td>Cognome</td>\n <td>\n <b>{{ user_surname }}</b>\n </td>\n </tr>\n <tr class=\"odd\">\n <td>Username</td>\n <td>\n <b>{{ user }}</b>\n </td>\n </tr>\n <tr class=\"even\">\n <td>Email</td>\n <td>\n <b>{{ user_email }}</b>\n </td>\n </tr>\n <tr class=\"odd\">\n <td>Ruoli</td>\n <td>\n <b>{{ user_roles }}</b>\n </td>\n </tr>\n <tr class=\"even\">\n <td>Lingua</td>\n <td>\n <b>{{ user_lang }}</b>\n </td>\n </tr>\n <tr *ngIf=\"isadmin == '1'\" class=\"odd\">\n <td>DEV MODE</td>\n <td>\n <b\n ><mat-checkbox\n [(ngModel)]=\"dev_mode\"\n (ngModelChange)=\"upd_dev(dev_mode)\"\n ></mat-checkbox\n ></b>\n </td>\n </tr>\n </tbody>\n </table>\n <img\n style=\"vertical-align:middle;max-height:300px\"\n *ngIf=\"b_filef\"\n aria-hidden\n src=\"{{ foto_ut }}\"\n />\n\n <div fxLayoutAlign=\"center center\" fxLayout=\"row\">\n <button mat-flat-button color=\"primary\" (click)=\"dialogRef.close()\">\n CHIUDI\n </button>\n </div>\n </mat-dialog-content>\n</div>\n "
13877
+ template: "\n <div\u00A0 \u00A0fxLayout=\"column\" fxLayoutGap=\"5px\">\n\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%\">{{'INFO UTENTE' | 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\t\t<hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\">\n\n <mat-dialog-content style=\"font-size:12px\">\n <table class=\"fh_table\">\n <tbody>\n <tr class=\"odd\">\n <td>{{'Nome' | translate}}/td>\n <td>\n <b>{{ user_name }}</b>\n </td>\n </tr>\n <tr class=\"even\">\n <td>{{'Cognome' | translate}}</td>\n <td>\n <b>{{ user_surname }}</b>\n </td>\n </tr>\n <tr class=\"odd\">\n <td>{{'Username' | translate}}</td>\n <td>\n <b>{{ user }}</b>\n </td>\n </tr>\n <tr class=\"even\">\n <td>{{'Email' | translate}}</td>\n <td>\n <b>{{ user_email }}</b>\n </td>\n </tr>\n <tr class=\"odd\">\n <td>{{'Ruoli' | translate}}</td>\n <td>\n <b>{{ user_roles }}</b>\n </td>\n </tr>\n <tr class=\"even\">\n <td>{{'Lingua' | translate}}</td>\n <td>\n <b>{{ user_lang }}</b>\n </td>\n </tr>\n <tr *ngIf=\"isadmin == '1'\" class=\"odd\">\n <td>DEV MODE</td>\n <td>\n <b\n ><mat-checkbox\n [(ngModel)]=\"dev_mode\"\n (ngModelChange)=\"upd_dev(dev_mode)\"\n ></mat-checkbox\n ></b>\n </td>\n </tr>\n </tbody>\n </table>\n <img\n style=\"vertical-align:middle;max-height:300px\"\n *ngIf=\"b_filef\"\n aria-hidden\n src=\"{{ foto_ut }}\"\n />\n\n <div fxLayoutAlign=\"center center\" fxLayout=\"row\">\n <button mat-flat-button color=\"primary\" (click)=\"dialogRef.close()\">\n {{'CHIUDI' | translate}}\n </button>\n </div>\n </mat-dialog-content>\n</div>\n "
13875
13878
  },] }
13876
13879
  ];
13877
13880
  fh_win_user_info.ctorParameters = function () { return [
@@ -15412,7 +15415,7 @@
15412
15415
  }());
15413
15416
  win_select_level_v2.decorators = [
15414
15417
  { type: i0.Component, args: [{
15415
- 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}}</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 style=\"font-size: 15px;\">\n\n <mat-dialog-content style=\"min-width:500px;font-size:12px\"\n ><br /><br />\n <mat-form-field\n appearance=\"outline\"\n floatLabel=\"always\"\n style=\"width:100%\"\n ><mat-label>Seleziona Prossimo Step:</mat-label>\n\n <mat-select #cmb [(ngModel)]=\"selval\" (ngModelChange)=\"sc()\">\n <mat-option value=\"-1\">Seleziona</mat-option>\n <mat-option value=\"{{ app.uiid }}\" *ngFor=\"let app of trans\">{{\n app.description\n }}</mat-option>\n </mat-select>\n </mat-form-field>\n\n <br /><br /><br /><br />\n <div style=\"width:100%;text-align:center;\">\n <button mat-flat-button color=\"primary\" (click)=\"ok()\">\n {{ OK_BUTTON }}</button\n >\n </div>\n <br /><br />\n </mat-dialog-content>\n <p style=\"color:#CC0000;font-size:9px;\" *ngIf=\"errorMsg != ''\">\n {{ errorMsg }}\n </p>\n </div>\n </div>\n "
15418
+ 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}}</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 style=\"font-size: 15px;\">\n\n <mat-dialog-content style=\"min-width:500px;font-size:12px\"\n ><br /><br />\n <mat-form-field\n appearance=\"outline\"\n floatLabel=\"always\"\n style=\"width:100%\"\n ><mat-label>{{'Seleziona Prossimo Step' | translate}}:</mat-label>\n\n <mat-select #cmb [(ngModel)]=\"selval\" (ngModelChange)=\"sc()\">\n <mat-option value=\"-1\">Seleziona</mat-option>\n <mat-option value=\"{{ app.uiid }}\" *ngFor=\"let app of trans\">{{\n app.description\n }}</mat-option>\n </mat-select>\n </mat-form-field>\n\n <br /><br /><br /><br />\n <div style=\"width:100%;text-align:center;\">\n <button mat-flat-button color=\"primary\" (click)=\"ok()\">\n {{ OK_BUTTON }}</button\n >\n </div>\n <br /><br />\n </mat-dialog-content>\n <p style=\"color:#CC0000;font-size:9px;\" *ngIf=\"errorMsg != ''\">\n {{ errorMsg }}\n </p>\n </div>\n </div>\n "
15416
15419
  },] }
15417
15420
  ];
15418
15421
  win_select_level_v2.ctorParameters = function () { return [
@@ -16730,7 +16733,7 @@
16730
16733
  }());
16731
16734
 
16732
16735
  var dati_aggiuntivi = /** @class */ (function () {
16733
- function dati_aggiuntivi(app_s, m_service, m_dataService, m_router, m_dialog, m_route, m_wkf, uti_s) {
16736
+ function dati_aggiuntivi(app_s, m_service, m_dataService, m_router, m_dialog, m_route, m_wkf, uti_s, tsr) {
16734
16737
  this.app_s = app_s;
16735
16738
  this.m_service = m_service;
16736
16739
  this.m_dataService = m_dataService;
@@ -16739,6 +16742,7 @@
16739
16742
  this.m_route = m_route;
16740
16743
  this.m_wkf = m_wkf;
16741
16744
  this.uti_s = uti_s;
16745
+ this.tsr = tsr;
16742
16746
  this.m_obj = {};
16743
16747
  this.b_rip_pulsanti = true;
16744
16748
  this.save_alreadypressed = false;
@@ -17113,7 +17117,7 @@
17113
17117
  return;
17114
17118
  }
17115
17119
  if (this.nlevel.assegnazione_manuale == 0) {
17116
- this.app_s.getState().wkf_doc_info.title = "Avanzamento";
17120
+ this.app_s.getState().wkf_doc_info.title = this.tsr.instant("Avanzamento");
17117
17121
  var sp = "";
17118
17122
  for (var i = 0; i < arrAutori.length; i++)
17119
17123
  if (arrAutori[i].nc != null)
@@ -17125,10 +17129,10 @@
17125
17129
  this.app_s.getState().wkf_doc_info.utenti = "";
17126
17130
  if (this.nlevel.livello < 900)
17127
17131
  this.app_s.getState().wkf_doc_info.lbl =
17128
- "Il documento verrà inviato a " + this.nlevel.descri_livello;
17132
+ this.tsr.instant("Il documento verrà inviato a") + " " + this.tsr.instant(this.nlevel.descri_livello);
17129
17133
  else
17130
17134
  this.app_s.getState().wkf_doc_info.lbl =
17131
- "La richiesta verrà chiusa con stato: " + this.nlevel.descri_livello;
17135
+ this.tsr.instant("La richiesta verrà chiusa con stato") + " " + this.tsr.instant(this.nlevel.descri_livello);
17132
17136
  this.app_s.getState().wkf_doc_info.utenti = sp;
17133
17137
  this.app_s.getState().wkf_doc_info.comm_notrequired = this.nlevel.commenti_opzionali;
17134
17138
  var dialogRef = this.m_dialog.open(win_conferma, {
@@ -17152,7 +17156,7 @@
17152
17156
  });
17153
17157
  }
17154
17158
  else {
17155
- this.app_s.getState().wkf_doc_info.title = "Assegnazione";
17159
+ this.app_s.getState().wkf_doc_info.title = this.tsr.instant("Assegnazione");
17156
17160
  this.app_s.getState().wkf_doc_info.comm_notrequired = this.nlevel.commenti_opzionali;
17157
17161
  this.app_s.getState().wkf_doc_info.arrAutori = arrAutori.sort(function (n1, n2) {
17158
17162
  if (n1.nc > n2.nc) {
@@ -19249,7 +19253,7 @@
19249
19253
  this.user_idp +
19250
19254
  "',autori)>0 then 1 else 0 end desc,codice desc";
19251
19255
  var p = new QParam();
19252
- p.sql = "SELECT_WKF_APP_INFO";
19256
+ p.sql = "SELECT_WKF_APP_INFO_V2";
19253
19257
  p.types = ["string"];
19254
19258
  p.values = [this.m_cod_documento];
19255
19259
  this.m_dataService.doQuery(p).subscribe(function (data) {