@fluxhub/fluxhub-lib 1.0.436 → 1.0.439

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.
@@ -12931,7 +12931,7 @@
12931
12931
  win_uploads.decorators = [
12932
12932
  { type: core.Component, args: [{
12933
12933
  selector: 'wkf_win_upload',
12934
- 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-350)+'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 ",
12934
+ 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 ",
12935
12935
  styles: ["\n\n \n "]
12936
12936
  }] }
12937
12937
  ];
@@ -15584,6 +15584,7 @@
15584
15584
  */
15585
15585
  var dati_aggiuntivi = /** @class */ (function () {
15586
15586
  function dati_aggiuntivi(app_s, m_service, m_dataService, m_router, m_dialog, m_route, m_wkf, uti_s) {
15587
+ // console.log('user_idp: '+ this.user_idp);
15587
15588
  this.app_s = app_s;
15588
15589
  this.m_service = m_service;
15589
15590
  this.m_dataService = m_dataService;
@@ -15592,7 +15593,7 @@
15592
15593
  this.m_route = m_route;
15593
15594
  this.m_wkf = m_wkf;
15594
15595
  this.uti_s = uti_s;
15595
- this.m_obj = new Object();
15596
+ this.m_obj = {};
15596
15597
  this.b_user_email = false;
15597
15598
  this.b_respingi = false;
15598
15599
  this.limite_salto_after = -1;
@@ -15662,8 +15663,6 @@
15662
15663
  this.b_valid = true;
15663
15664
  this.s_uto = "";
15664
15665
  this.b_apprf = false;
15665
- this.init_user_i();
15666
- console.log('user_idp: ' + this.user_idp);
15667
15666
  }
15668
15667
  /**
15669
15668
  * @private
@@ -15674,6 +15673,7 @@
15674
15673
  * @return {?}
15675
15674
  */
15676
15675
  function () {
15676
+ console.log('init_user_i ', this.b_user_email);
15677
15677
  if (!this.b_user_email)
15678
15678
  this.user_idp = this.app_s.user;
15679
15679
  else
@@ -16668,7 +16668,7 @@
16668
16668
  p.types.push(arr[i].types);
16669
16669
  p.names.push(arr[i].names);
16670
16670
  if (arr[i].values != null) {
16671
- if (arr[i].types[i] == 'boolean')
16671
+ if (arr[i].types == 'boolean')
16672
16672
  if (arr[i].values[i])
16673
16673
  p.values.push('1');
16674
16674
  else
@@ -17364,7 +17364,7 @@
17364
17364
  setTimeout((/**
17365
17365
  * @return {?}
17366
17366
  */
17367
- function () { _this.init_user_i(); _this.init_engine(); }), 500);
17367
+ function () { _this.init_user_i(); _this.init_engine(); }), 100);
17368
17368
  return;
17369
17369
  }
17370
17370
  console.log('init_engine ');