@fluxhub/fluxhub-lib 10.0.314 → 10.0.316

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.
@@ -978,6 +978,13 @@
978
978
  adds +
979
979
  "',127)");
980
980
  };
981
+ UtilityService.prototype.properCase = function (ss) {
982
+ var sentence = ss.toLowerCase().split(" ");
983
+ for (var i = 0; i < sentence.length; i++) {
984
+ sentence[i] = sentence[i][0].toUpperCase() + sentence[i].slice(1);
985
+ }
986
+ return sentence.join(" ");
987
+ };
981
988
  UtilityService.prototype.DateAdd = function (timeU, byMany, dateObj) {
982
989
  var millisecond = 1;
983
990
  var second = millisecond * 1000;
@@ -10713,7 +10720,7 @@
10713
10720
  }());
10714
10721
  win_log.decorators = [
10715
10722
  { type: i0.Component, args: [{
10716
- template: "\n <div style=\"width:100%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\n src=\"assets/icons/x.png\"\n style=\"cursor: pointer;\"\n (click)=\"close()\"\n />\n </div>\n <hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\" />\n\n <div\n style=\"font-size: 12px\"\n [style.height]=\"m_appService.getState().body_h - 130 + 'px'\"\n >\n <mat-tab-group\n #zz\n style=\"width:100%\"\n [style.height]=\"m_appService.getState().body_h - 140 + 'px'\"\n >\n <mat-tab label=\"WORKFLOW\" *ngIf=\"b_flussook\">\n <div [style.height]=\"m_appService.getState().body_h - 160 + 'px'\">\n <div style=\"width:100%;height:100%\" id=\"canvas\"></div>\n </div>\n </mat-tab>\n\n <mat-tab label=\"LOGS\">\n <div\n fxLayout=\"row\"\n fxLayoutAlign=\"center end\"\n fxFlex=\"90\"\n *ngIf=\"!b_edit && commenti_insert\"\n >\n <button mat-flat-button color=\"accent\" (click)=\"ins()\">\n <mat-icon>note_add</mat-icon>\n INSERISCI</button\n >&nbsp;&nbsp;&nbsp;&nbsp;\n </div>\n\n <div fxLayout=\"column\" *ngIf=\"b_edit\">\n <br />\n <mat-form-field\n *ngIf=\"b_edit\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>Commento</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</button\n >&nbsp;&nbsp;&nbsp;&nbsp;\n <button\n mat-flat-button\n style=\"background-color: #F5F5F5\"\n (click)=\"annulla()\"\n >\n ANNULLA</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 ||\n (notifica_commenti == 1 && lettori == '')\n \"\n >\n Notifica Interessati\n </mat-checkbox>\n </div>\n <br /><br />\n </div>\n <table *ngIf=\"!b_edit\" class=\"fh_table\" style=\"width:90%\">\n <thead>\n <tr>\n <th width=\"15%\">Data</th>\n <th width=\"15%\">Utente</th>\n <th>Operazione</th>\n <td></td>\n <td></td>\n </tr>\n </thead>\n <tbody>\n <tr\n *ngFor=\"\n let app of logs;\n let odd = odd;\n let even = even;\n index as i\n \"\n [ngClass]=\"{ odd: odd, even: even }\"\n >\n <td>{{ app.data_creazione | date: \"dd/MM/yyyy HH:mm:ss\" }}</td>\n <td>{{ app.nc }}</td>\n <td [innerHTML]=\"app.v_commento\"></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 </mat-tab>\n </mat-tab-group>\n </div>\n ",
10723
+ template: "\n <div style=\"width:100%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\n src=\"assets/icons/x.png\"\n style=\"cursor: pointer;\"\n (click)=\"close()\"\n />\n </div>\n <hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\" />\n\n <div\n style=\"font-size: 12px\"\n [style.height]=\"m_appService.getState().body_h - 130 + 'px'\"\n >\n <mat-tab-group\n #zz\n style=\"width:100%\"\n [style.height]=\"m_appService.getState().body_h - 140 + 'px'\"\n >\n <mat-tab label=\"WORKFLOW\" *ngIf=\"b_flussook\">\n <div [style.height]=\"m_appService.getState().body_h - 160 + 'px'\">\n <div style=\"width:100%;height:100%\" id=\"canvas\"></div>\n </div>\n </mat-tab>\n\n <mat-tab label=\"LOGS\">\n <div\n fxLayout=\"row\"\n fxLayoutAlign=\"center end\"\n fxFlex=\"90\"\n *ngIf=\"!b_edit && commenti_insert\"\n >\n <button mat-flat-button color=\"accent\" (click)=\"ins()\">\n <mat-icon>note_add</mat-icon>\n {{'INSERISCI' | translate}}</button\n >&nbsp;&nbsp;&nbsp;&nbsp;\n </div>\n\n <div fxLayout=\"column\" *ngIf=\"b_edit\">\n <br />\n <mat-form-field\n *ngIf=\"b_edit\"\n appearance=\"outline\"\n 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</button\n >&nbsp;&nbsp;&nbsp;&nbsp;\n <button\n mat-flat-button\n style=\"background-color: #F5F5F5\"\n (click)=\"annulla()\"\n >\n {{'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 ||\n (notifica_commenti == 1 && lettori == '')\n \"\n >\n {{'Notifica Interessati' | translate}}\n\n </mat-checkbox>\n </div>\n <br /><br />\n </div>\n <table *ngIf=\"!b_edit\" class=\"fh_table\" style=\"width:90%\">\n <thead>\n <tr>\n <th width=\"15%\">{{'Data' | translate}}</th>\n <th width=\"15%\">{{'Utente' | translate}}</th>\n <th>{{'Operazione' | translate}}</th>\n <td></td>\n <td></td>\n </tr>\n </thead>\n <tbody>\n <tr\n *ngFor=\"\n let app of logs;\n let odd = odd;\n let even = even;\n index as i\n \"\n [ngClass]=\"{ odd: odd, even: even }\"\n >\n <td>{{ app.data_creazione | date: \"dd/MM/yyyy HH:mm:ss\" }}</td>\n <td>{{ app.nc }}</td>\n <td [innerHTML]=\"app.v_commento\"></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 </mat-tab>\n </mat-tab-group>\n </div>\n ",
10717
10724
  styles: [""]
10718
10725
  },] }
10719
10726
  ];
@@ -16028,7 +16035,7 @@
16028
16035
  }());
16029
16036
 
16030
16037
  var wkfapp = /** @class */ (function () {
16031
- function wkfapp(app_s, m_service, m_dataService, m_fservice, m_router, _toastr, dialog, m_wkf, m_uti) {
16038
+ function wkfapp(app_s, m_service, m_dataService, m_fservice, m_router, _toastr, dialog, m_wkf, m_uti, tsr) {
16032
16039
  this.app_s = app_s;
16033
16040
  this.m_service = m_service;
16034
16041
  this.m_dataService = m_dataService;
@@ -16038,6 +16045,7 @@
16038
16045
  this.dialog = dialog;
16039
16046
  this.m_wkf = m_wkf;
16040
16047
  this.m_uti = m_uti;
16048
+ this.tsr = tsr;
16041
16049
  this.b_editing = false;
16042
16050
  this.is_Supervisor = false;
16043
16051
  this.is_Visor = false;
@@ -18625,7 +18633,7 @@
18625
18633
  };
18626
18634
 
18627
18635
  var wkfapp_v2 = /** @class */ (function () {
18628
- function wkfapp_v2(app_s, m_service, m_dataService, m_router, _toastr, dialog, m_wkf, m_uti) {
18636
+ function wkfapp_v2(app_s, m_service, m_dataService, m_router, _toastr, dialog, m_wkf, m_uti, tsr) {
18629
18637
  this.app_s = app_s;
18630
18638
  this.m_service = m_service;
18631
18639
  this.m_dataService = m_dataService;
@@ -18634,6 +18642,7 @@
18634
18642
  this.dialog = dialog;
18635
18643
  this.m_wkf = m_wkf;
18636
18644
  this.m_uti = m_uti;
18645
+ this.tsr = tsr;
18637
18646
  this.b_editing = false;
18638
18647
  this.is_Supervisor = false;
18639
18648
  this.is_Visor = false;
@@ -19383,11 +19392,12 @@
19383
19392
  { type: i3.ToastrService },
19384
19393
  { type: dialog.MatDialog },
19385
19394
  { type: WkfService },
19386
- { type: UtilityService }
19395
+ { type: UtilityService },
19396
+ { type: core$1.TranslateService }
19387
19397
  ]; };
19388
19398
 
19389
19399
  var dati_aggiuntivi_v2 = /** @class */ (function () {
19390
- function dati_aggiuntivi_v2(app_s, m_dataService, m_router, m_dialog, m_route, m_wkf, uti_s, m_fileservice) {
19400
+ function dati_aggiuntivi_v2(app_s, m_dataService, m_router, m_dialog, m_route, m_wkf, uti_s, m_fileservice, tsr) {
19391
19401
  this.app_s = app_s;
19392
19402
  this.m_dataService = m_dataService;
19393
19403
  this.m_router = m_router;
@@ -19396,6 +19406,7 @@
19396
19406
  this.m_wkf = m_wkf;
19397
19407
  this.uti_s = uti_s;
19398
19408
  this.m_fileservice = m_fileservice;
19409
+ this.tsr = tsr;
19399
19410
  this.m_obj = {};
19400
19411
  this.wkf_users_roles = '';
19401
19412
  this.b_rip_pulsanti = true;
@@ -21038,7 +21049,8 @@
21038
21049
  { type: i3$1.ActivatedRoute },
21039
21050
  { type: WkfService },
21040
21051
  { type: UtilityService },
21041
- { type: FileService }
21052
+ { type: FileService },
21053
+ { type: core$1.TranslateService }
21042
21054
  ]; };
21043
21055
  dati_aggiuntivi_v2.propDecorators = {
21044
21056
  onResize: [{ type: i0.HostListener, args: ["window:resize", ["event"],] }]