@fluxhub/fluxhub-lib 10.0.585 → 10.0.587

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.
@@ -15083,7 +15083,7 @@
15083
15083
  var ok_op = false;
15084
15084
  if (data != null)
15085
15085
  if (data.result_msg == "OK") {
15086
- _this.toastr.info("INFO", "COMMENTO INSERITO", {
15086
+ _this.toastr.info(_this._tsr.instant("INFO"), _this._tsr.instant("COMMENTO INSERITO"), {
15087
15087
  timeOut: 1000,
15088
15088
  progressBar: true,
15089
15089
  });
@@ -15100,7 +15100,7 @@
15100
15100
  if (sdest != "")
15101
15101
  _this.sendEMail_ex(_this.m_appService.getState().wkf_doc_info.curr_user, sdest, _this.subject
15102
15102
  .split("<OP>")
15103
- .join("E' stato inserito un commento"), "<br><br>Commento inserito: <br>" +
15103
+ .join(_this._tsr.instant("E' stato inserito un commento")), "<br><br>" + _this._tsr.instant("Commento inserito") + ": <br>" +
15104
15104
  _this.nota.split("\n").join("<br>"), _this.m_appService.getState().wkf_doc_info.uiid_app, _this.m_appService.getState().wkf_doc_info.uiid_doc, _this.link, _this.codice_doc, "");
15105
15105
  _this.refresh_list();
15106
15106
  }
@@ -15119,7 +15119,7 @@
15119
15119
  var ok_op = false;
15120
15120
  if (data != null)
15121
15121
  if (data.result_msg == "OK") {
15122
- _this.toastr.info("INFO", "COMMENTO AGGIORNATO", {
15122
+ _this.toastr.info(_this._tsr.instant("INFO"), _this._tsr.instant("COMMENTO AGGIORNATO"), {
15123
15123
  timeOut: 1000,
15124
15124
  progressBar: true,
15125
15125
  });
@@ -15172,7 +15172,7 @@
15172
15172
  }());
15173
15173
  win_commenti_v2.decorators = [
15174
15174
  { type: i0.Component, args: [{
15175
- template: "\n <div fxLayout=\"column\">\n\u00A0\u00A0\u00A0\u00A0<div\u00A0 fxFlex=\"100\"\u00A0fxLayout=\"row\"\u00A0\u00A0fxLayoutAlign=\"start\u00A0center\" \u00A0class=\"dialog_header\">\n\t<div fxLayout=\"row\"\u00A0fxLayoutAlign=\"start\u00A0center\" style=\"width:50%\">&nbsp;&nbsp;&nbsp;<b>{{title}}</b></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\n <div fxFlex=\"100\"\u00A0fxLayout=\"row\"\u00A0\u00A0fxLayoutAlign=\"end\u00A0center\"\n >\n <span class=\"fill-remaining-space\"></span>\n <button mat-raised-button color=\"accent\" (click)=\"ins()\" *ngIf=\"!b_edit\">\n <mat-icon>note_add</mat-icon>\n {{'INSERISCI' | translate}}\n </button>\n </div>\n\n <br />\n <div mat-dialog-content style=\"min-width:800px;font-size: 15px;\">\n <mat-form-field *ngIf=\"b_edit\" appearance=\"outline\" floatLabel=\"always\"\n ><mat-label>{{'Commento' | translate}}</mat-label>\n <textarea matInput [(ngModel)]=\"nota\" rows=\"12\"></textarea>\n </mat-form-field>\n\n <div *ngIf=\"b_edit\" fxLayoutAlign=\"center center\" fxLayout=\"row\">\n <button mat-flat-button color=\"primary\" (click)=\"ok()\"> {{'OK' | translate}}</button\n >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n <button mat-flat-button color=\"warn\" (click)=\"annulla()\"> {{'ANNULLA' | translate}}</button\n >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n <mat-checkbox\n [disabled]=\"not_comm_disabled\"\n [(ngModel)]=\"not_comm\"\n [hidden]=\"\n notifica_commenti == 0 || (notifica_commenti == 1 && lettori == '')\n \"\n >{{'Notifica Interessati' | translate}}\n\n </mat-checkbox>\n </div>\n <section class=\"bs\" *ngIf=\"!b_edit\">\n <table style=\"min-width: 100%\" class=\"fh_table\">\n <thead>\n <tr>\n <th>{{'Commento' | translate}}</th>\n <th width=\"15%\">{{'Autore' | translate}}</th>\n <th width=\"15%\">{{'Data' | translate}}</th>\n <th></th>\n <th></th>\n </tr>\n </thead>\n <tbody>\n <tr\n *ngFor=\"\n let app of commenti_list;\n let odd = odd;\n let even = even;\n index as i\n \"\n [ngClass]=\"{ odd: odd, even: even }\"\n >\n <td [innerHTML]=\"app.v_commento\"></td>\n <td>{{ app.COGNOME + \" \" + app.NOME }}</td>\n <td>{{ app.data_creazione | date: \"dd/MM/yyyy HH:mm:ss\" }}</td>\n <td>\n <mat-icon\n [matTooltip]=\"app.dest_notif\"\n *ngIf=\"app.dest_notif != null && app.dest_notif != ''\"\n >mail</mat-icon\n >\n </td>\n <td>\n <mat-icon\n *ngIf=\"\n i == 0 &&\n app.creatore ==\n m_appService.getState().wkf_doc_info.curr_user\n \"\n (click)=\"edit_comm(app)\"\n >edit\n </mat-icon>\n </td>\n </tr>\n </tbody>\n </table>\n </section>\n </div>\n <br />\n\n <div style=\"width:100%;text-align:center;\" *ngIf=\"!b_edit\">\n <button\n mat-flat-button\n style=\"background-color: #F5F5F5\"\n (click)=\"close()\"\n >\n {{'CHIUDI' | translate}}\n </button>\n </div>\n\n ",
15175
+ template: "\n <div fxLayout=\"column\">\n\u00A0\u00A0\u00A0\u00A0<div\u00A0 fxFlex=\"100\"\u00A0fxLayout=\"row\"\u00A0\u00A0fxLayoutAlign=\"start\u00A0center\" \u00A0class=\"dialog_header\">\n\t<div fxLayout=\"row\"\u00A0fxLayoutAlign=\"start\u00A0center\" style=\"width:50%\">&nbsp;&nbsp;&nbsp;<b>{{title}}</b></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\n\n <div fxFlex=\"100\"\u00A0fxLayout=\"row\"\u00A0\u00A0fxLayoutAlign=\"end\u00A0center\"\n >\n <span class=\"fill-remaining-space\"></span>\n <button mat-raised-button color=\"accent\" (click)=\"ins()\" *ngIf=\"!b_edit\">\n <mat-icon>note_add</mat-icon>\n {{'INSERISCI' | translate}}\n </button>\n </div>\n\n <br />\n <div mat-dialog-content style=\"min-width:800px;font-size: 15px;\">\n <mat-form-field *ngIf=\"b_edit\" appearance=\"outline\" floatLabel=\"always\"\n ><mat-label>{{'Commento' | translate}}</mat-label>\n <textarea matInput [(ngModel)]=\"nota\" rows=\"12\"></textarea>\n </mat-form-field>\n\n <div *ngIf=\"b_edit\" fxLayoutAlign=\"center center\" fxLayout=\"row\">\n <button mat-flat-button color=\"primary\" (click)=\"ok()\"> {{'OK' | translate}}</button\n >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n <button mat-flat-button color=\"warn\" (click)=\"annulla()\"> {{'ANNULLA' | translate}}</button\n >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n <mat-checkbox\n [disabled]=\"not_comm_disabled\"\n [(ngModel)]=\"not_comm\"\n [hidden]=\"\n notifica_commenti == 0 || (notifica_commenti == 1 && lettori == '')\n \"\n >{{'Notifica Interessati' | translate}}\n\n </mat-checkbox>\n </div>\n <section class=\"bs\" *ngIf=\"!b_edit\">\n <table style=\"min-width: 100%\" class=\"fh_table\">\n <thead>\n <tr>\n <th>{{'Commento' | translate}}</th>\n <th width=\"15%\">{{'Autore' | translate}}</th>\n <th width=\"15%\">{{'Data' | translate}}</th>\n <th></th>\n <th></th>\n </tr>\n </thead>\n <tbody>\n <tr\n *ngFor=\"\n let app of commenti_list;\n let odd = odd;\n let even = even;\n index as i\n \"\n [ngClass]=\"{ odd: odd, even: even }\"\n >\n <td [innerHTML]=\"app.v_commento\"></td>\n <td>{{ app.COGNOME + \" \" + app.NOME }}</td>\n <td>{{ app.data_creazione | date: \"dd/MM/yyyy HH:mm:ss\" }}</td>\n <td>\n <mat-icon\n [matTooltip]=\"app.dest_notif\"\n *ngIf=\"app.dest_notif != null && app.dest_notif != ''\"\n >mail</mat-icon\n >\n </td>\n <td>\n <mat-icon\n *ngIf=\"\n i == 0 &&\n app.creatore ==\n m_appService.getState().wkf_doc_info.curr_user\n \"\n (click)=\"edit_comm(app)\"\n >edit\n </mat-icon>\n </td>\n </tr>\n </tbody>\n </table>\n </section>\n </div>\n <br />\n\n <div style=\"width:100%;text-align:center;\" *ngIf=\"!b_edit\">\n <button\n mat-flat-button\n style=\"background-color: #F5F5F5\"\n (click)=\"close()\"\n >\n {{'CHIUDI' | translate}}\n </button>\n </div>\n </div>\n ",
15176
15176
  styles: [""]
15177
15177
  },] }
15178
15178
  ];