@fluxhub/fluxhub-lib 10.0.739 → 10.0.741

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.
@@ -15316,7 +15316,7 @@
15316
15316
  }());
15317
15317
  win_commenti_v2.decorators = [
15318
15318
  { type: i0.Component, args: [{
15319
- 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 | translate}}</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>{{'Ver' | translate}}</th>\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>{{app.v}}</td>\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 ",
15319
+ 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 | translate}}</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 width=\"20\">{{'Ver' | translate}}</th>\n <th>{{'Commento' | translate}}</th>\n <th width=\"15%\">{{'Autore' | translate}}</th>\n <th width=\"15%\">{{'Data' | translate}}</th>\n <th width=\"20\"></th>\n <th width=\"20\"></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 align=\"center\">{{app.v}}</td>\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 align=\"center\">\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 align=\"center\">\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 ",
15320
15320
  styles: [""]
15321
15321
  },] }
15322
15322
  ];
@@ -16365,7 +16365,7 @@
16365
16365
  }());
16366
16366
  win_select_level_v2.decorators = [
16367
16367
  { type: i0.Component, args: [{
16368
- template: "\n<div\u00A0fxLayout=\"column\">\n<div\u00A0\u00A0fxFlex=\"100\"\u00A0fxLayout=\"row\"\u00A0\u00A0\u00A0fxLayoutAlign=\"start\u00A0center\"\u00A0\u00A0\u00A0class=\"dialog_header\">\u00A0\n\n<div\u00A0fxLayout=\"row\"\u00A0\u00A0fxLayoutAlign=\"start\u00A0center\"\u00A0fxFlex=\"90\"><div>{{title|translate}}</div></div>\u00A0\n\n<div\u00A0\u00A0\u00A0fxFlex=\"10\"\u00A0fxLayout=\"row\"\u00A0fxLayoutAlign=\"end\u00A0center\">\n <div><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)=\"dialogRef.close(null)\"\u00A0/>\u00A0\u00A0</div>\n</div>\n\n</div>\n\n\n<mat-dialog-content>\n<hr\u00A0width=\"100%\"\u00A0size=\"0.5\"\u00A0color=\"#DDDDDD\">\n\n <br />\n <div\u00A0fxLayout=\"column\" fxLayoutGap=\"5px\">\n <div *ngFor=\"let app of trans\">\n <button mat-raised-button [style.background-color]=\"app.color\" (click)=\"sel(app)\"\n [style.color]=\"app.color_font\" style=\"font-weight:bold;font-size:18px;min-width:300px\">\n <i *ngIf=\"app.icon!=null && app.icon!=''\" class=\"fa {{app.icon}}\" aria-hidden=\"true\"></i>\n\n{{ app.description|translate}}</button>\n<br><br>\n\n\n</div>\n </div>\n</mat-dialog-content>\n\n\n "
16368
+ template: "\n<div fxLayout=\"column\">\n<div fxFlex=\"100\" fxLayout=\"row\" fxLayoutAlign=\"start center\" class=\"dialog_header\">\n\n<div fxLayout=\"row\" fxLayoutAlign=\"start center\" fxFlex=\"90\"><div>{{title|translate}}</div></div>\n\n<div fxFlex=\"10\" fxLayout=\"row\" fxLayoutAlign=\"end center\">\n <div><img src=\"assets/icons/x.png\" style=\"cursor: pointer;\" (click)=\"dialogRef.close(null)\" /> </div>\n</div>\n\n</div>\n\n\n<mat-dialog-content>\n<hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\">\n\n <br />\n <div fxLayout=\"column\" fxLayoutGap=\"5px\">\n <div *ngFor=\"let app of trans\">\n <button mat-raised-button [style.background-color]=\"app.color\" (click)=\"sel(app)\"\n [style.color]=\"app.color_font\" style=\"font-weight:bold;font-size:18px;min-width:300px\">\n <i *ngIf=\"app.icon!=null && app.icon!=''\" class=\"fa {{app.icon}}\" aria-hidden=\"true\"></i>\n\n{{ app.description|translate}}</button>\n<br><br>\n\n\n</div>\n </div>\n</mat-dialog-content>\n\n\n "
16369
16369
  },] }
16370
16370
  ];
16371
16371
  win_select_level_v2.ctorParameters = function () { return [
@@ -23318,83 +23318,6 @@
23318
23318
  this.clevel = this.check_n_levels(this.clevel);
23319
23319
  this.calcolanextandjump();
23320
23320
  };
23321
- /*
23322
- selectLevel() {
23323
- let p: QParam = new QParam();
23324
- p.sql = "SELECT_TRANSAZIONI_FROM_LVL";
23325
- p.values = [this.id_applicativo, this.clevel.step];
23326
- p.types = ["string", "int"];
23327
- this.m_dataService.doQuery(p).subscribe((data) => {
23328
- if(data.result_data.length==0){
23329
- this.alert('Nessuna transizione definita',1);
23330
- return;
23331
- }
23332
-
23333
-
23334
-
23335
- });
23336
-
23337
- this.app_s.getState().wkf_doc_info.livs = this.livs;
23338
- this.app_s.getState().wkf_doc_info.cl = this.clevel;
23339
-
23340
- let dialogRef = this.m_dialog.open(win_select_level_v2, {
23341
- disableClose: true,
23342
- });
23343
-
23344
- dialogRef.afterClosed().subscribe((result) => {
23345
- if (result == null) {
23346
- this.edit_b(true);
23347
- return;
23348
- }
23349
- let liv: number = result;
23350
- if (result.descri_livello == "Prosegui a step successivo") {
23351
- this.calcolanextandjump();
23352
- return;
23353
- }
23354
-
23355
- if (result.descri_livello == "Prosegui a chiusura") {
23356
- liv = 0;
23357
- for (var i: number = 0; i < this.livs.length; i++)
23358
- if (
23359
- this.livs[i].step < 900 &&
23360
- this.livs[i].step > liv &&
23361
- this.livs[i].notifica == 0
23362
- ) {
23363
- this.clevel = this.livs[i];
23364
- liv = this.livs[i].step;
23365
- }
23366
- this.calcolanextandjump();
23367
- return;
23368
- }
23369
-
23370
- liv = this.wkf_rule(liv);
23371
- var bfound: Boolean = false;
23372
- for (var i: number = 0; i < this.livs.length; i++)
23373
- if (
23374
- this.user_idp.toUpperCase() == this.livs[i].username.toUpperCase() &&
23375
- this.livs[i].notifica == 0
23376
- )
23377
- if (this.livs[i].step == liv) {
23378
- this.nlevel = this.livs[i];
23379
- liv = this.livs[i].step;
23380
-
23381
- bfound = true;
23382
- }
23383
-
23384
- if (!bfound) {
23385
- for (var i: number = 0; i < this.livs.length; i++)
23386
- if (this.livs[i].step == liv && this.livs[i].notifica == 0) {
23387
- this.nlevel = this.livs[i];
23388
- liv = this.livs[i].step;
23389
-
23390
- break;
23391
- }
23392
- }
23393
-
23394
- // this.doJump();
23395
- });
23396
- }
23397
- */
23398
23321
  dati_aggiuntivi_v2.prototype.wkf_rule_before = function (transazioni, step, context) {
23399
23322
  return transazioni;
23400
23323
  };
@@ -23419,7 +23342,7 @@
23419
23342
  }
23420
23343
  else {
23421
23344
  var dialogRef = _this.m_dialog.open(win_select_level_v2, {
23422
- disableClose: true, data: transazioni, width: '800px'
23345
+ disableClose: true, data: transazioni
23423
23346
  });
23424
23347
  dialogRef.afterClosed().subscribe(function (result) {
23425
23348
  console.log('ris select level', result);