@fluxhub/fluxhub-lib 10.0.352 → 10.0.354

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.
@@ -4062,10 +4062,12 @@
4062
4062
  this.allegati = [];
4063
4063
  this.App = "";
4064
4064
  this.K = "";
4065
+ this.Filename = "";
4065
4066
  this.email_obj = {};
4066
4067
  this.title = "ANTEPRIMA EMAIL";
4067
4068
  this.App = data.App;
4068
4069
  this.K = data.K;
4070
+ this.Filename = data.Filename;
4069
4071
  var fs = new FSInput();
4070
4072
  fs.command = "exec_app";
4071
4073
  fs.p1 = "Email_Reader";
@@ -4077,6 +4079,15 @@
4077
4079
  }
4078
4080
  fh_win_show_email.prototype.init_w = function () {
4079
4081
  };
4082
+ fh_win_show_email.prototype.open_eml = function () {
4083
+ window.open(this.m_appService.COMPANY_SITE_ROOT +
4084
+ "/uploads/" +
4085
+ this.App +
4086
+ "/" +
4087
+ this.K +
4088
+ "/" +
4089
+ this.Filename);
4090
+ };
4080
4091
  fh_win_show_email.prototype.open_all = function (u) {
4081
4092
  window.open(this.m_appService.COMPANY_SITE_ROOT +
4082
4093
  "/uploads/" +
@@ -4090,7 +4101,7 @@
4090
4101
  }());
4091
4102
  fh_win_show_email.decorators = [
4092
4103
  { type: i0.Component, args: [{
4093
- template: "\n <div style=\"width:100%\" fxLayout=\"row\" fxLayoutAlign=\"end start\"><img src=\"assets/icons/x.png\" style=\"cursor: pointer;\" (click)=\"dialogRef.close(null)\" /> </div><br>\n <div style=\"width:100%;overflow:auto;\" [style.height]=\"(m_appService.getState().body_h-240)+'px'\">\n <mat-toolbar color=\"primary\">{{title}}\n <span class=\"fill-remaining-space\"></span>\n\n </mat-toolbar>\n <br>\n\n <div style=\"width:100%;height:500px\">\n <div style=\"width:100%;height:100%\">\n <div fxLayout=\"column\">\n <div fxLayout=\"row\">\n <div style=\"width:100px\">Data:</div>\n <div>{{email_obj.dt}}</div>\n </div>\n <div fxLayout=\"row\">\n <div style=\"width:100px\">From:</div>\n <div \u00A0[innerHTML]=\"email_obj.from\"\u00A0></div>\n </div>\n <div fxLayout=\"row\">\n <div style=\"width:100px\">To:</div>\n <div \u00A0[innerHTML]=\"email_obj.to\"\u00A0></div>\n </div>\n <div fxLayout=\"row\">\n <div style=\"width:100px\">CC:</div>\n <div \u00A0[innerHTML]=\"email_obj.cc\"\u00A0></div>\n </div>\n <div fxLayout=\"row\">\n <div style=\"width:100px\">Subject:</div>\n <div \u00A0[innerHTML]=\"email_obj.subject\"\u00A0></div>\n </div>\n <div style=\"width:100px\">Body:</div>\n <div style=\"overflow:auto;\" [style.height]=\"(m_appService.getState().body_h-490)+'px'\">\n <div fxLayout=\"row\" [hidden]=\"email_obj.is_html=='NO'\">\n\n <div \u00A0[innerHTML]=\"email_obj.body\"\u00A0></div>\n </div>\n <div fxLayout=\"row\" [hidden]=\"email_obj.is_html=='SI'\">\n\n <div>{{email_obj.body}}</div>\n </div>\n </div>\n <hr style=\"width:100%\">\n <div fxLayout=\"row\" fxLayoutGap=\"10px\">\n <div style=\"width:100px\">Allegati:</div>\n <div *ngFor=\"let u of allegati\" >\n <button mat-flat-button color=\"primary\" (click)=\"open_all(u)\">{{u}}</button>\n </div>\n\n\n\n </div>\n\n\n </div>\n </div>\n </div>\n "
4104
+ template: "\n <div style=\"width:100%\" fxLayout=\"row\" fxLayoutAlign=\"end start\"><img src=\"assets/icons/x.png\" style=\"cursor: pointer;\" (click)=\"dialogRef.close(null)\" /> </div><br>\n <div style=\"width:100%;overflow:auto;\" [style.height]=\"(m_appService.getState().body_h-240)+'px'\">\n <mat-toolbar color=\"primary\">{{title}}\n <span class=\"fill-remaining-space\"></span>\n\n </mat-toolbar>\n <br>\n\n <div style=\"width:100%;height:500px\">\n <div style=\"width:100%;height:100%\">\n <div fxLayout=\"column\">\n <div fxLayout=\"row\">\n <div style=\"width:100px\">Data:</div>\n <div>{{email_obj.dt}}</div>\n </div>\n <div fxLayout=\"row\">\n <div style=\"width:100px\">From:</div>\n <div \u00A0[innerHTML]=\"email_obj.from\"\u00A0></div>\n </div>\n <div fxLayout=\"row\">\n <div style=\"width:100px\">To:</div>\n <div \u00A0[innerHTML]=\"email_obj.to\"\u00A0></div>\n </div>\n <div fxLayout=\"row\">\n <div style=\"width:100px\">CC:</div>\n <div \u00A0[innerHTML]=\"email_obj.cc\"\u00A0></div>\n </div>\n <div fxLayout=\"row\">\n <div style=\"width:100px\">Subject:</div>\n <div \u00A0[innerHTML]=\"email_obj.subject\"\u00A0></div>\n </div>\n <div style=\"width:100px\">Body:</div>\n <div style=\"overflow:auto;\" [style.height]=\"(m_appService.getState().body_h-490)+'px'\">\n <div fxLayout=\"row\" [hidden]=\"email_obj.is_html=='NO'\">\n\n <div \u00A0[innerHTML]=\"email_obj.body\"\u00A0></div>\n </div>\n <div fxLayout=\"row\" [hidden]=\"email_obj.is_html=='SI'\">\n\n <div>{{email_obj.body}}</div>\n </div>\n </div>\n <hr style=\"width:100%\">\n <div fxLayout=\"row\" fxLayoutGap=\"15px\">\n <div style=\"width:100px\">Download Eml:</div>\n <button mat-flat-button color=\"primary\" (click)=\"open_eml()\">Download</button>\n <div>&nbsp;&nbsp;&nbsp;</div>\n <div style=\"width:100px\">Allegati:</div>\n <div *ngFor=\"let u of allegati\" >\n <button mat-flat-button color=\"primary\" (click)=\"open_all(u)\">{{u}}</button>\n </div>\n\n\n\n </div>\n\n\n </div>\n </div>\n </div>\n "
4094
4105
  },] }
4095
4106
  ];
4096
4107
  fh_win_show_email.ctorParameters = function () { return [
@@ -16361,6 +16372,7 @@
16361
16372
  a_partecipanti = this.get_grid().sRow.partecipanti;
16362
16373
  var a_datanot = "";
16363
16374
  var old_grp = "XCXXX";
16375
+ console.log('this.wax ', this.wax);
16364
16376
  for (var i = 0; i < this.wax.length; i++) {
16365
16377
  var app_op_1 = new QParam();
16366
16378
  app_op_1.sql = 'INSERT_TODO_GEST';
@@ -19032,6 +19044,7 @@
19032
19044
  a_partecipanti = this.get_grid().sRow.partecipanti;
19033
19045
  var a_datanot = "";
19034
19046
  var old_grp = "XCXXX";
19047
+ console.log('this.wax ', this.wax);
19035
19048
  for (var i = 0; i < this.wax.length; i++) {
19036
19049
  var app_op_1 = new QParam();
19037
19050
  app_op_1.sql = 'INSERT_TODO_GEST';