@fluxhub/fluxhub-lib 10.0.630 → 10.0.632

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.
@@ -15870,7 +15870,7 @@
15870
15870
  }());
15871
15871
  win_log_v2.decorators = [
15872
15872
  { type: i0.Component, args: [{
15873
- 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 && c_edit\"\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 </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>c_edit {{c_edit}}</td>\n <td *ngIf=\"c_edit\"></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 *ngIf=\"c_edit\">\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 ",
15873
+ 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 && c_edit\"\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 </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 *ngIf=\"c_edit\"></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 *ngIf=\"c_edit\">\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 ",
15874
15874
  styles: [""]
15875
15875
  },] }
15876
15876
  ];
@@ -23581,6 +23581,10 @@
23581
23581
  this.m_wkf.doQuery(p).subscribe(function (data) {
23582
23582
  if (data != null)
23583
23583
  if (data.result_msg == "OK") {
23584
+ _this.m_dataService.doQuery({ sql: 'INSERT_WORKFLOW_LOG',
23585
+ values: [_this.id_applicativo, _this.user_idp, 'INSERIMENTO', 'INSERIMENTO DOCUMENTO', _this.id_documento],
23586
+ types: ['string', 'string', 'string', 'string', 'string'], names: [] }).subscribe(function (data) {
23587
+ });
23584
23588
  _this.save_agg();
23585
23589
  }
23586
23590
  });