@fluxhub/fluxhub-lib 1.0.278 → 1.0.280

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.
@@ -11585,7 +11585,7 @@
11585
11585
  };
11586
11586
  win_log.decorators = [
11587
11587
  { type: i0.Component, args: [{
11588
- template: "\n <mat-tab-group #zz style=\"min-width:950px\"\n [style.height]=\"m_appService.getState().body_height\">\n <mat-tab label=\"DIAGRAMMA\" style=\"width:100%;height:100%\" *ngIf=\"b_flussook\">\n\n <div style=\"width:100%;height:100%\" id=\"canvas\"></div>\n \n\n </mat-tab>\n\n <mat-tab label=\"LOGS\">\n <mat-toolbar color=\"primary\">{{title}}\n <div style=\"width:100%;text-align: right;\">\n\n </div>\n <button color=\"primary\" (click)=\"ins()\" *ngIf=\"!b_edit\">\n <mat-icon>note_add</mat-icon>\n INSERISCI\n </button>\n\n </mat-toolbar>\n <br>\n <div mat-dialog-content>\n <section class=\"bs\" *ngIf=\"b_edit\">\n <br>\n <mat-form-field *ngIf=\"b_edit\">\n <textarea matInput placeholder=\"Commento\" [(ngModel)]=\"nota\" rows=\"12\"></textarea>\n </mat-form-field>\n\n <div *ngIf=\"b_edit\">\n <button mat-raised-button color=\"primary\" (click)=\"ok()\"> OK</button>&nbsp;&nbsp;&nbsp;&nbsp;\n <button mat-raised-button color=\"warn\" (click)=\"annulla()\">ANNULLA</button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n <mat-checkbox [(ngModel)]=\"not_int\" [hidden]=\"lettori===''\">\n Notifica Interessati\n </mat-checkbox>\n </div>\n <br><br>\n </section>\n <table *ngIf=\"!b_edit\" class=\"fh_table\">\n\n <thead>\n <tr>\n <th width=\"15%\">Data</th>\n <th width=\"15%\">Utente</th>\n <th>Operazione</th>\n\n <td></td>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let app of logs;let odd=odd; let even=even;index as i\" [ngClass]=\"{ odd: odd, even: even }\">\n\n <td>{{app.v_data_creazione}}</td>\n <td>{{app.nc}}</td>\n <td>{{app.operazione}}</td>\n\n <td>\n <mat-icon *ngIf=\"i==0 && app.creatore==m_appService.getState().wkf_doc_info.curr_user\"\n (click)=\"edit_comm(app)\">edit\n </mat-icon>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n <br>\n </mat-tab>\n </mat-tab-group>\n <div style=\"width:100%;text-align:center;\" *ngIf=\"!b_edit\">\n <button mat-raised-button (click)=\"dialogRef.close('')\">CHIUDI</button>\n\n </div>\n ",
11588
+ template: "\n <mat-tab-group #zz style=\"min-width:950px\"\n [style.height]=\"m_appService.getState().body_height\">\n <mat-tab label=\"DIAGRAMMA\" style=\"width:100%;height:100%\" *ngIf=\"b_flussook\">\n\n <div style=\"width:100%;height:100%\" id=\"canvas\"></div>\n \n\n </mat-tab>\n\n <mat-tab label=\"LOGS\">\n <mat-toolbar color=\"primary\">{{title}}\n <div style=\"width:100%;text-align: right;\">\n\n </div>\n <!--\n <button color=\"primary\" (click)=\"ins()\" *ngIf=\"!b_edit\">\n <mat-icon>note_add</mat-icon>\n INSERISCI\n </button>\n-->\n </mat-toolbar>\n <br>\n <div mat-dialog-content>\n <section class=\"bs\" *ngIf=\"b_edit\">\n <br>\n <mat-form-field *ngIf=\"b_edit\">\n <textarea matInput placeholder=\"Commento\" [(ngModel)]=\"nota\" rows=\"12\"></textarea>\n </mat-form-field>\n\n <div *ngIf=\"b_edit\">\n <button mat-raised-button color=\"primary\" (click)=\"ok()\"> OK</button>&nbsp;&nbsp;&nbsp;&nbsp;\n <button mat-raised-button color=\"warn\" (click)=\"annulla()\">ANNULLA</button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n <mat-checkbox [(ngModel)]=\"not_int\" [hidden]=\"lettori===''\">\n Notifica Interessati\n </mat-checkbox>\n </div>\n <br><br>\n </section>\n <table *ngIf=\"!b_edit\" class=\"fh_table\">\n\n <thead>\n <tr>\n <th width=\"15%\">Data</th>\n <th width=\"15%\">Utente</th>\n <th>Operazione</th>\n\n <td></td>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let app of logs;let odd=odd; let even=even;index as i\" [ngClass]=\"{ odd: odd, even: even }\">\n\n <td>{{app.v_data_creazione}}</td>\n <td>{{app.nc}}</td>\n <td>{{app.operazione}}</td>\n\n <td>\n <mat-icon *ngIf=\"i==0 && app.creatore==m_appService.getState().wkf_doc_info.curr_user\"\n (click)=\"edit_comm(app)\">edit\n </mat-icon>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n <br>\n </mat-tab>\n </mat-tab-group>\n <div style=\"width:100%;text-align:center;\" *ngIf=\"!b_edit\">\n <button mat-raised-button (click)=\"dialogRef.close('')\">CHIUDI</button>\n\n </div>\n ",
11589
11589
  styles: ["\n\n\n "]
11590
11590
  }] }
11591
11591
  ];
@@ -16394,7 +16394,7 @@
16394
16394
  this.user_nome = this.app_s.user_name;
16395
16395
  this.user_cognome = this.app_s.user_surname;
16396
16396
  this.user_email = this.app_s.user_email;
16397
- // console.log('user_idp: '+ this.user_idp);
16397
+ console.log('user_idp: ' + this.user_idp);
16398
16398
  }
16399
16399
  /**
16400
16400
  * @return {?}
@@ -16821,7 +16821,6 @@
16821
16821
  this.m_lettori = this.m_lettori + ",";
16822
16822
  this.m_lettori = this.m_lettori + this.arrUsersSelected[i].idp;
16823
16823
  }
16824
- console.log('m_lettori2 ' + this.m_lettori);
16825
16824
  if (this.m_autori.toLowerCase().indexOf(this.arrUsersSelected[i].idp.toLowerCase()) == -1) {
16826
16825
  if (this.m_autori != "")
16827
16826
  this.m_autori = this.m_autori + ",";
@@ -16830,7 +16829,6 @@
16830
16829
  this.m_autori = this.m_autori + this.arrUsersSelected[i].idp;
16831
16830
  nomi_autori = nomi_autori + this.arrUsersSelected[i].nc;
16832
16831
  }
16833
- console.log('m_lettori3 ' + this.m_lettori);
16834
16832
  }
16835
16833
  if (this.nota != "") {
16836
16834
  this.insert_commento(this.id_applicativo, this.id_documento, this.nota, this.user_idp); //id_applicativo,uiid,commento,creatore
@@ -16841,7 +16839,10 @@
16841
16839
  this.m_obj.assegnati_paralleli = "";
16842
16840
  this.chstato(this.m_liv);
16843
16841
  if (this.m_obj.stato <= 10) {
16844
- this.insert_wkf_variabile(this.id_applicativo, this.id_documento, "REQUESTER", this.user_idp);
16842
+ if (this.m_obj.creatore == null || this.m_obj.creatore == '')
16843
+ this.insert_wkf_variabile(this.id_applicativo, this.id_documento, "REQUESTER", this.user_idp);
16844
+ else
16845
+ this.insert_wkf_variabile(this.id_applicativo, this.id_documento, "REQUESTER", this.m_obj.creatore);
16845
16846
  }
16846
16847
  for (var i = 0; i < this.livs.length; i++)
16847
16848
  if (this.livs[i].livello == this.m_liv && this.livs[i].notifica == 1) {
@@ -17498,7 +17499,6 @@
17498
17499
  */
17499
17500
  function (o) {
17500
17501
  var _this = this;
17501
- console.log(o);
17502
17502
  this.m_obj = (JSON.parse(JSON.stringify(o)));
17503
17503
  this.edit_b(false);
17504
17504
  this.save_to_app_state();
@@ -18037,6 +18037,7 @@
18037
18037
  */
18038
18038
  function () {
18039
18039
  var _this = this;
18040
+ console.log('ngOnInit ');
18040
18041
  this.m_route.params.subscribe(( /**
18041
18042
  * @param {?} params
18042
18043
  * @return {?}