@fluxhub/fluxhub-lib 10.0.161 → 10.0.163

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.
@@ -4494,7 +4494,6 @@
4494
4494
  FHUploadComponent.prototype.onFileDrop = function (o) {
4495
4495
  };
4496
4496
  FHUploadComponent.prototype.fileOverBase = function (e) {
4497
- console.log(e);
4498
4497
  this.hasBaseDropZoneOver = e;
4499
4498
  };
4500
4499
  FHUploadComponent.prototype.del_doc = function () {
@@ -4557,6 +4556,7 @@
4557
4556
  _this.uploader.onCompleteAll = function () {
4558
4557
  _this.loading = false;
4559
4558
  _this.upload_ended.emit(_this.last_result);
4559
+ _this.ref_allegato();
4560
4560
  if (_this.dialogRef != null)
4561
4561
  if (_this.dialogRef.componentInstance != null) {
4562
4562
  _this.dialogRef.componentInstance.update_progess(100);
@@ -10274,7 +10274,7 @@
10274
10274
  }());
10275
10275
  win_commenti.decorators = [
10276
10276
  { type: i0.Component, args: [{
10277
- 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 <mat-toolbar color=\"primary\"\n >{{ title }}\n <span class=\"fill-remaining-space\"></span>\n <button color=\"primary\" (click)=\"ins()\" *ngIf=\"!b_edit\">\n <mat-icon>note_add</mat-icon>\n INSERISCI\n </button>\n </mat-toolbar>\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</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;&nbsp;\n <button mat-flat-button color=\"warn\" (click)=\"annulla()\">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 || (notifica_commenti == 1 && lettori == '')\n \"\n >\n Notifica Interessati\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</th>\n <th width=\"15%\">Autore</th>\n <th width=\"15%\">Data</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\n </button>\n </div>\n ",
10277
+ 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 <mat-toolbar color=\"primary\"\n >{{ title }}\n <span class=\"fill-remaining-space\"></span>\n <div>\n <button mat-mat-flat-button color=\"accent\" (click)=\"ins()\" *ngIf=\"!b_edit\">\n <mat-icon>note_add</mat-icon>\n INSERISCI\n </button>\n </div>\n </mat-toolbar>\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</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;&nbsp;\n <button mat-flat-button color=\"warn\" (click)=\"annulla()\">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 || (notifica_commenti == 1 && lettori == '')\n \"\n >\n Notifica Interessati\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</th>\n <th width=\"15%\">Autore</th>\n <th width=\"15%\">Data</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\n </button>\n </div>\n ",
10278
10278
  styles: [""]
10279
10279
  },] }
10280
10280
  ];
@@ -15178,7 +15178,7 @@
15178
15178
  // console.log('user_idp: '+ this.user_idp);
15179
15179
  }
15180
15180
  dati_aggiuntivi.prototype.init_user_i = function () {
15181
- console.log('init_user_i() ', this.app_s.user);
15181
+ //console.log('init_user_i() ',this.app_s.user);
15182
15182
  this.user_idp = this.app_s.user;
15183
15183
  this.user_nome = this.app_s.user_name;
15184
15184
  this.user_cognome = this.app_s.user_surname;
@@ -15202,7 +15202,7 @@
15202
15202
  if (check_on_save === void 0) { check_on_save = false; }
15203
15203
  this.b_rip_pulsanti = rip_pulsanti;
15204
15204
  this.btnprocedi = false;
15205
- console.log(check_on_save);
15205
+ //console.log(check_on_save);
15206
15206
  if (check_on_save)
15207
15207
  if (!this.ck_field())
15208
15208
  return;
@@ -15309,7 +15309,7 @@
15309
15309
  if (this.clevel.livelli_jump == null)
15310
15310
  this.clevel.livelli_jump = "";
15311
15311
  if (this.clevel.livelli_jump != "") {
15312
- console.log("selectLevel " + this.clevel.livelli_jump);
15312
+ //console.log("selectLevel " + this.clevel.livelli_jump);
15313
15313
  this.selectLevel(this.clevel.livelli_jump);
15314
15314
  return;
15315
15315
  }
@@ -15441,28 +15441,33 @@
15441
15441
  var arrayNexl = new Array();
15442
15442
  var arrAutori = new Array();
15443
15443
  if (this.clevel.gruppo_parallelo == "") {
15444
- console.log("senza gp ", this.clevel.gruppo_parallelo + " " + this.nlevel.livello);
15444
+ /*console.log(
15445
+ "senza gp ",
15446
+ this.clevel.gruppo_parallelo + " " + this.nlevel.livello
15447
+ );*/
15445
15448
  for (var i = 0; i < this.livs.length; i++)
15446
15449
  if (this.livs[i].livello == this.nlevel.livello &&
15447
15450
  this.livs[i].notifica == 0)
15448
15451
  arrAutori.push(this.livs[i]);
15449
- console.log("arrAutori ", arrAutori);
15452
+ // console.log("arrAutori ", arrAutori);
15450
15453
  }
15451
15454
  else {
15452
15455
  var b_canale = false;
15453
- console.log("con gp ", this.clevel.gruppo_parallelo);
15456
+ //console.log("con gp ", this.clevel.gruppo_parallelo);
15454
15457
  for (var i = 0; i < this.livs.length; i++)
15455
15458
  if (this.livs[i].livello == this.nlevel.livello &&
15456
15459
  this.livs[i].gruppo_parallelo != "")
15457
15460
  b_canale = true;
15458
- console.log("canale: " + this.clevel.gruppo_parallelo);
15461
+ //console.log("canale: " + this.clevel.gruppo_parallelo);
15459
15462
  for (var i = 0; i < this.livs.length; i++)
15460
15463
  if (this.livs[i].livello == this.nlevel.livello &&
15461
15464
  this.livs[i].notifica == 0) {
15462
- console.log("canale: " +
15465
+ /*console.log(
15466
+ "canale: " +
15463
15467
  this.clevel.gruppo_parallelo +
15464
15468
  " " +
15465
- this.livs[i].gruppo_parallelo);
15469
+ this.livs[i].gruppo_parallelo
15470
+ );*/
15466
15471
  if (this.clevel.gruppo_parallelo == this.livs[i].gruppo_parallelo ||
15467
15472
  !b_canale) {
15468
15473
  arrAutori.push(this.livs[i]);
@@ -16817,7 +16822,14 @@
16817
16822
  }
16818
16823
  if (this.m_obj.autori == null)
16819
16824
  this.m_obj.autori = "";
16820
- console.log("return_edit-> ", "," + this.m_obj.autori.toLowerCase() + ",", "," + this.user_idp.toLowerCase() + ",", ("," + this.m_obj.autori.toLowerCase() + ",").indexOf("," + this.user_idp.toLowerCase() + ","));
16825
+ /*console.log(
16826
+ "return_edit-> ",
16827
+ "," + this.m_obj.autori.toLowerCase() + ",",
16828
+ "," + this.user_idp.toLowerCase() + ",",
16829
+ ("," + this.m_obj.autori.toLowerCase() + ",").indexOf(
16830
+ "," + this.user_idp.toLowerCase() + ","
16831
+ )
16832
+ );*/
16821
16833
  if (("," + this.m_obj.autori.toLowerCase() + ",").indexOf("," + this.user_idp.toLowerCase() + ",") != -1) {
16822
16834
  this.edit_b(true);
16823
16835
  if (this.respingi_enabled)