@fluxhub/fluxhub-lib 1.0.448 → 1.0.450

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.
@@ -5827,7 +5827,7 @@
5827
5827
  /** @type {?} */
5828
5828
  var p = new QParam();
5829
5829
  p.sql = "send_wkf_mail";
5830
- p.values = [mit, to, ogg, descri, idapp, iddoc, link, cc, nota, ical];
5830
+ p.values = [mit, to, ogg, descri.split('\n').join('<br>'), idapp, iddoc, link, cc, nota, ical];
5831
5831
  this.m_wkf.doQuery(p).subscribe((/**
5832
5832
  * @param {?} data
5833
5833
  * @return {?}
@@ -12928,7 +12928,7 @@
12928
12928
  win_uploads.decorators = [
12929
12929
  { type: core.Component, args: [{
12930
12930
  selector: 'wkf_win_upload',
12931
- template: "\n <div mat-dialog-content style=\"font-size: 12px;\">\n <mat-toolbar color=\"primary\">{{title}}\n <div style=\"width:100%;text-align: right;\">\n </div>\n\n </mat-toolbar>\n <div mat-dialog-content style=\"min-width:800px\">\n <br>\n <div *ngIf=\"enabled\">\n <mat-form-field appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}}</mat-label>\n <input matInput type=\"text\" name=\"descrizione\" [(ngModel)]=\"descrizione\" >\n </mat-form-field>\n\n <input type=\"file\" ng2FileSelect [uploader]=\"uploader\" multiple />\n <!--<button mat-flat-button *ngIf=\"b_edit_loaded\" (click)=\"download_all()\">{{label_b}}</button>-->\n </div>\n <br>\n <div [style.height]=\"(app_s.getState().body_h-450)+'px'\" style=\"overflow:auto;\">\n\n \n\n <table style=\"width: 100%;\" class=\"fh_table\">\n <thead>\n <tr>\n <th style=\"width:40px\"></th>\n <th style=\"width:50%\">Nome</th>\n <th style=\"width:60px;text-align:center\">Dim.</th>\n <th style=\"width:50%\">Descrizione</th>\n \n <th style=\"width:30%\">Utente</th>\n <th style=\"width:240px;text-align:center\">Data</th>\n <th style=\"width:40px\" class=\"actions\"></th>\n <th *ngIf=\"enabled\" style=\"width:40px\" class=\"actions\"></th>\n </tr>\n </thead>\n <tbody>\n\n <tr *ngFor=\"let app of arr_g;let odd=odd; let even=even;index as i\" [ngClass]=\"{ odd: odd, even: even }\" >\n <td style=\"text-align:center;vertical-align: middle;width:36px;height:36px;\">\n <div style=\"text-align:center;vertical-align: middle;width:28px;height:28px;\">\n <img src=\"assets/icons/square-o/{{app.icon}}\" style=\"width:28px;height:28px;\"></div> </td>\n <td>{{app.Filename}}</td>\n <td style=\"text-align:center\">{{app.Filesize}}</td>\n <td>{{app.descrizione}}</td>\n <td>{{app.nc}}</td>\n <td style=\"text-align:center\">{{app.dt_ins | date: 'dd/MM/yyyy HH:mm:ss'}}</td>\n <td style=\"text-align:center\">\n <button mat-icon-button matTooltip=\"Download File\" (click)=\"download_all(app)\">\n <mat-icon>save_alt</mat-icon>\n </button>\n </td>\n\n\n <td *ngIf=\"enabled\" style=\"text-align:center\">\n <a mat-icon-button matTooltip=\"Elimina File\" *ngIf=\"app.can_delete\" (click)=\"delete(app)\">\n <mat-icon>delete</mat-icon>\n </a>\n\n <a mat-icon-button [matTooltip]=\"'Cancellazione consentita solo a: '+app.nc\" *ngIf=\"!app.can_delete\" [disabled]=\"true\" >\n <mat-icon>delete</mat-icon>\n </a>\n\n </td>\n </tr>\n </table>\n\n </div>\n </div>\n <div style=\"width:100%;text-align:center;\">\n <button mat-flat-button style=\"background-color: #F5F5F5\" (click)=\"dialogRef.close('Option 1')\">CHIUDI</button>\n </div>\n <div *ngIf=\"!b_ini\" style=\"color:#ff0000\"><b>ATTENZIONE COMPONENTE NON INIZIALIZZATO</b></div>\n </div>\n ",
12931
+ template: "\n <div mat-dialog-content style=\"font-size: 12px;\">\n <mat-toolbar color=\"primary\">{{title}}\n <div style=\"width:100%;text-align: right;\">\n </div>\n\n </mat-toolbar>\n <div mat-dialog-content style=\"min-width:800px\">\n <br>\n <div *ngIf=\"enabled\">\n <mat-form-field appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}}</mat-label>\n <input matInput type=\"text\" name=\"descrizione\" [(ngModel)]=\"descrizione\" >\n </mat-form-field>\n\n <input type=\"file\" ng2FileSelect [uploader]=\"uploader\" multiple />\n <!--<button mat-flat-button *ngIf=\"b_edit_loaded\" (click)=\"download_all()\">{{label_b}}</button>-->\n </div>\n <br>\n <div [style.height]=\"(app_s.getState().body_h-500)+'px'\" style=\"overflow:auto;\">\n\n \n\n <table style=\"width: 100%;\" class=\"fh_table\">\n <thead>\n <tr>\n <th style=\"width:40px\"></th>\n <th style=\"width:50%\">Nome</th>\n <th style=\"width:60px;text-align:center\">Dim.</th>\n <th style=\"width:50%\">Descrizione</th>\n \n <th style=\"width:30%\">Utente</th>\n <th style=\"width:240px;text-align:center\">Data</th>\n <th style=\"width:40px\" class=\"actions\"></th>\n <th *ngIf=\"enabled\" style=\"width:40px\" class=\"actions\"></th>\n </tr>\n </thead>\n <tbody>\n\n <tr *ngFor=\"let app of arr_g;let odd=odd; let even=even;index as i\" [ngClass]=\"{ odd: odd, even: even }\" >\n <td style=\"text-align:center;vertical-align: middle;width:36px;height:36px;\">\n <div style=\"text-align:center;vertical-align: middle;width:28px;height:28px;\">\n <img src=\"assets/icons/square-o/{{app.icon}}\" style=\"width:28px;height:28px;\"></div> </td>\n <td>{{app.Filename}}</td>\n <td style=\"text-align:center\">{{app.Filesize}}</td>\n <td>{{app.descrizione}}</td>\n <td>{{app.nc}}</td>\n <td style=\"text-align:center\">{{app.dt_ins | date: 'dd/MM/yyyy HH:mm:ss'}}</td>\n <td style=\"text-align:center\">\n <button mat-icon-button matTooltip=\"Download File\" (click)=\"download_all(app)\">\n <mat-icon>save_alt</mat-icon>\n </button>\n </td>\n\n\n <td *ngIf=\"enabled\" style=\"text-align:center\">\n <a mat-icon-button matTooltip=\"Elimina File\" *ngIf=\"app.can_delete\" (click)=\"delete(app)\">\n <mat-icon>delete</mat-icon>\n </a>\n\n <a mat-icon-button [matTooltip]=\"'Cancellazione consentita solo a: '+app.nc\" *ngIf=\"!app.can_delete\" [disabled]=\"true\" >\n <mat-icon>delete</mat-icon>\n </a>\n\n </td>\n </tr>\n </table>\n\n </div>\n </div>\n <div style=\"width:100%;text-align:center;\">\n <button mat-flat-button style=\"background-color: #F5F5F5\" (click)=\"dialogRef.close('Option 1')\">CHIUDI</button>\n </div>\n <div *ngIf=\"!b_ini\" style=\"color:#ff0000\"><b>ATTENZIONE COMPONENTE NON INIZIALIZZATO</b></div>\n </div>\n ",
12932
12932
  styles: ["\n\n \n "]
12933
12933
  }] }
12934
12934
  ];
@@ -13320,7 +13320,7 @@
13320
13320
  /** @type {?} */
13321
13321
  var p = new QParam();
13322
13322
  p.sql = "send_wkf_mail";
13323
- p.values = [mit, to, ogg, descri, idapp, iddoc, link, cc, nota, ical];
13323
+ p.values = [mit, to, ogg, descri.split('\n').join('<br>'), idapp, iddoc, link, cc, nota, ical];
13324
13324
  this.m_wkf.doQuery(p).subscribe((/**
13325
13325
  * @param {?} data
13326
13326
  * @return {?}
@@ -13790,7 +13790,7 @@
13790
13790
  /** @type {?} */
13791
13791
  var p = new QParam();
13792
13792
  p.sql = "send_wkf_mail";
13793
- p.values = [mit, to, ogg, descri, idapp, iddoc, link, cc, nota, ical];
13793
+ p.values = [mit, to, ogg, descri.split('\n').join('<br>'), idapp, iddoc, link, cc, nota, ical];
13794
13794
  this.m_wkf.doQuery(p).subscribe((/**
13795
13795
  * @param {?} data
13796
13796
  * @return {?}
@@ -13887,7 +13887,7 @@
13887
13887
  };
13888
13888
  win_log.decorators = [
13889
13889
  { type: core.Component, args: [{
13890
- template: "\n\n <mat-card-content>\n \n <mat-tab-group #zz style=\"width:100%\"> \n \n <mat-tab label=\"DIAGRAMMA\" style=\"width:100%;height:100%\" *ngIf=\"b_flussook\">\n <mat-toolbar color=\"primary\" style=\"width:90%;\"><div fxFlex=\"20\">WORKFLOW</div>\n <div fxLayout=\"row\" fxLayoutAlign=\"center end\" fxFlex=\"80\" >\n \n <button mat-flat-button color=\"accent\" (click)=\"dialogRef.close('')\">\n <mat-icon>close</mat-icon>\n CHIUDI\n </button>\n </div>\n </mat-toolbar>\n <div [style.height]=\"(m_appService.getState().body_h-190)+'px'\" style=\"overflow:auto;\" >\n <div style=\"width:100%;height:100%\" id=\"canvas\"></div>\n </div>\n\n </mat-tab>\n\n <mat-tab label=\"LOGS\">\n\n <mat-toolbar color=\"primary\">\n <div fxLayout=\"row\" >\n {{title}}\n <div fxLayout=\"row\" fxLayoutAlign=\"center end\" >\n \n <button mat-flat-button color=\"accent\" (click)=\"ins()\" *ngIf=\"!b_edit && commenti_insert\">\n <mat-icon>note_add</mat-icon>\n INSERISCI\n </button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n <button mat-flat-button color=\"accent\" (click)=\"dialogRef.close('')\" *ngIf=\"!b_edit && commenti_insert\">\n <mat-icon>close</mat-icon>\n CHIUDI\n </button>\n </div></div>\n </mat-toolbar>\n <br>\n <div [style.height]=\"(m_appService.getState().body_h-190)+'px'\" style=\"overflow:auto;width:90%\">\n \n <section class=\"bs\" *ngIf=\"b_edit\">\n <br>\n <mat-form-field *ngIf=\"b_edit\" appearance=\"outline\" floatLabel=\"always\"><mat-label>Commento</mat-label>\n <textarea matInput [(ngModel)]=\"nota\" rows=\"12\"></textarea>\n </mat-form-field>\n\n <div *ngIf=\"b_edit\">\n <button mat-flat-button color=\"primary\" (click)=\"ok()\"> OK</button>&nbsp;&nbsp;&nbsp;&nbsp;\n <button mat-flat-button style=\"background-color: #F5F5F5\" (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 <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.data_creazione | date: 'dd/MM/yyyy HH:mm:ss'}}</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 \n <br>\n </div>\n \n </mat-tab>\n \n </mat-tab-group>\n </mat-card-content>\n <div style=\"width:100%;text-align:center;\" *ngIf=\"!b_edit && !commenti_insert\">\n \n <button mat-flat-button color=\"accent\" (click)=\"dialogRef.close('')\" >\n <mat-icon>close</mat-icon>\n CHIUDI\n </button>\n </div>\n ",
13890
+ template: "\n\n <mat-card-content>\n \n <mat-tab-group #zz style=\"width:100%\"> \n \n <mat-tab label=\"DIAGRAMMA\" style=\"width:100%;height:100%\" *ngIf=\"b_flussook\">\n <mat-toolbar color=\"primary\" style=\"width:90%;\"><div fxFlex=\"20\">WORKFLOW</div>\n <div fxLayout=\"row\" fxLayoutAlign=\"center end\" fxFlex=\"90\" >\n \n <button mat-flat-button color=\"accent\" (click)=\"dialogRef.close('')\">\n <mat-icon>close</mat-icon>\n CHIUDI\n </button>\n </div>\n </mat-toolbar>\n <div [style.height]=\"(m_appService.getState().body_h-190)+'px'\" style=\"overflow:auto;\" >\n <div style=\"width:100%;height:100%\" id=\"canvas\"></div>\n </div>\n\n </mat-tab>\n\n <mat-tab label=\"LOGS\">\n <mat-toolbar color=\"primary\" style=\"width:90%;\"><div fxFlex=\"20\"> {{title}}</div>\n <div fxLayout=\"row\" fxLayoutAlign=\"center end\" fxFlex=\"90\" >\n <button mat-flat-button color=\"accent\" (click)=\"ins()\" *ngIf=\"!b_edit && commenti_insert\">\n <mat-icon>note_add</mat-icon>\n INSERISCI\n </button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n <button mat-flat-button color=\"accent\" (click)=\"dialogRef.close('')\">\n <mat-icon>close</mat-icon>\n CHIUDI\n </button>\n </div>\n </mat-toolbar>\n <br>\n <div [style.height]=\"(m_appService.getState().body_h-190)+'px'\" style=\"overflow:auto;width:90%\">\n \n <section class=\"bs\" *ngIf=\"b_edit\">\n <br>\n <mat-form-field *ngIf=\"b_edit\" appearance=\"outline\" floatLabel=\"always\"><mat-label>Commento</mat-label>\n <textarea matInput [(ngModel)]=\"nota\" rows=\"12\"></textarea>\n </mat-form-field>\n\n <div *ngIf=\"b_edit\">\n <button mat-flat-button color=\"primary\" (click)=\"ok()\"> OK</button>&nbsp;&nbsp;&nbsp;&nbsp;\n <button mat-flat-button style=\"background-color: #F5F5F5\" (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 <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.data_creazione | date: 'dd/MM/yyyy HH:mm:ss'}}</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 \n <br>\n </div>\n \n </mat-tab>\n \n </mat-tab-group>\n </mat-card-content>\n \n ",
13891
13891
  styles: ["\n\n\n "]
13892
13892
  }] }
13893
13893
  ];
@@ -16411,7 +16411,7 @@
16411
16411
  ical = '';
16412
16412
  if (ical != '')
16413
16413
  ical = JSON.stringify(ical);
16414
- p.values = [mit, to, ogg, descri, idapp, iddoc, link, cc, nota, ical];
16414
+ p.values = [mit, to, ogg, descri.split('\n').join('<br>'), idapp, iddoc, link, cc, nota, ical];
16415
16415
  this.m_wkf.doQuery(p).subscribe((/**
16416
16416
  * @param {?} data
16417
16417
  * @return {?}
@@ -16557,7 +16557,7 @@
16557
16557
  var _this = this;
16558
16558
  if (inser_c === void 0) { inser_c = false; }
16559
16559
  /** @type {?} */
16560
- var dialogRef = this.m_dialog.open(win_log, { 'disableClose': true, width: "95%" });
16560
+ var dialogRef = this.m_dialog.open(win_log, { 'disableClose': true, width: "95%", height: "95%" });
16561
16561
  dialogRef.componentInstance.subject = this.app_info.descrizione_breve + ", <OP>: " + this.m_obj.codice + " " + this.getTitle();
16562
16562
  dialogRef.componentInstance.lettori = this.m_obj.lettori;
16563
16563
  dialogRef.componentInstance.link = this.app_s.COMPANY_SITE_ROOT + '#/' + this.app_info.modulo_swf + '/' + this.id_applicativo + "/" + this.id_documento + "/edit";
@@ -19824,7 +19824,7 @@
19824
19824
  /** @type {?} */
19825
19825
  var p = new QParam();
19826
19826
  p.sql = "send_wkf_mail";
19827
- p.values = [mit, to, ogg, descri, idapp, iddoc, link, cc, nota, ical];
19827
+ p.values = [mit, to, ogg, descri.split('\n').join('<br>'), idapp, iddoc, link, cc, nota, ical];
19828
19828
  this.m_wkf.doQuery(p).subscribe((/**
19829
19829
  * @param {?} data
19830
19830
  * @return {?}