@fluxhub/fluxhub-lib 1.0.361 → 1.0.363

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.
@@ -2866,8 +2866,6 @@ class FHUploadComponent {
2866
2866
  this.toastr.error(this.inserire_descrizione);
2867
2867
  return;
2868
2868
  }
2869
- console.log('this.lista_allegati ', this.lista_allegati);
2870
- console.log('fileItem ', fileItem);
2871
2869
  for (let i = 0; i < this.lista_allegati.length; i++) {
2872
2870
  if (this.lista_allegati[i].Filename.toLowerCase() == fileItem.file.name.toLowerCase()) {
2873
2871
  this.toastr.error('File già presente (cancellarlo per aggiornarlo)');
@@ -2932,7 +2930,7 @@ class FHUploadComponent {
2932
2930
  if (this.App == "")
2933
2931
  return;
2934
2932
  /** @type {?} */
2935
- var p = new QParam();
2933
+ let p = new QParam();
2936
2934
  p.sql = "SELECT_ALLEGATO_INFO";
2937
2935
  p.types = ['string', 'string'];
2938
2936
  p.values = [this.App, this.K];
@@ -2944,7 +2942,7 @@ class FHUploadComponent {
2944
2942
  if (data != null)
2945
2943
  if (data.result_msg == "OK") {
2946
2944
  /** @type {?} */
2947
- var a = data.result_data;
2945
+ let a = data.result_data;
2948
2946
  if (a.length > 0) {
2949
2947
  this.descrizione = a[0].descrizione;
2950
2948
  this.file_name = a[0].Filename;
@@ -2952,11 +2950,6 @@ class FHUploadComponent {
2952
2950
  this.b_edit_loaded = true;
2953
2951
  }
2954
2952
  }
2955
- }), (/**
2956
- * @param {?} err
2957
- * @return {?}
2958
- */
2959
- err => {
2960
2953
  }));
2961
2954
  }
2962
2955
  }
@@ -2975,8 +2968,8 @@ FHUploadComponent.decorators = [
2975
2968
  </mat-form-field>
2976
2969
  &nbsp;&nbsp;&nbsp;&nbsp;
2977
2970
  <div style="width:210px">
2978
- <input type="file" ng2FileSelect [uploader]="uploader" name="file-fh" id="file-fh" class="inputfile inputfile-fh" />
2979
- <label for="file-fh" style="width:210px"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="17" viewBox="0 0 20 17"><path d="M10 0l-5.2 4.9h3.3v5.1h3.8v-5.1h3.3l-5.2-4.9zm9.3 11.5l-3.2-2.1h-2l3.4 2.6h-3.5c-.1 0-.2.1-.2.1l-.8 2.3h-6l-.8-2.2c-.1-.1-.1-.2-.2-.2h-3.6l3.4-2.6h-2l-3.2 2.1c-.4.3-.7 1-.6 1.5l.6 3.1c.1.5.7.9 1.2.9h16.3c.6 0 1.1-.4 1.3-.9l.6-3.1c.1-.5-.2-1.2-.7-1.5z"/></svg><span>&nbsp;&nbsp;&nbsp;Upload</span></label>
2971
+ <input type="file" ng2FileSelect [uploader]="uploader" name="file-fh{{App}}" id="file-fh{{App}}" class="inputfile inputfile-fh" />
2972
+ <label for="file-fh{{App}}" style="width:210px"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="17" viewBox="0 0 20 17"><path d="M10 0l-5.2 4.9h3.3v5.1h3.8v-5.1h3.3l-5.2-4.9zm9.3 11.5l-3.2-2.1h-2l3.4 2.6h-3.5c-.1 0-.2.1-.2.1l-.8 2.3h-6l-.8-2.2c-.1-.1-.1-.2-.2-.2h-3.6l3.4-2.6h-2l-3.2 2.1c-.4.3-.7 1-.6 1.5l.6 3.1c.1.5.7.9 1.2.9h16.3c.6 0 1.1-.4 1.3-.9l.6-3.1c.1-.5-.2-1.2-.7-1.5z"/></svg><span>&nbsp;&nbsp;&nbsp;Upload</span></label>
2980
2973
  </div>
2981
2974
  <div>
2982
2975
  <button mat-raised-button *ngIf="b_edit_loaded" (click)="download_all()">{{label_b}}</button>
@@ -3072,6 +3065,7 @@ class AuthenticationService {
3072
3065
  * @return {?}
3073
3066
  */
3074
3067
  login(username, password, displayError = true) {
3068
+ console.log(' this.app_s ', this.app_s);
3075
3069
  this.url = this.app_s.API_ENDPOINT + this.app_s.LOGIN_ENDPOINT;
3076
3070
  /** @type {?} */
3077
3071
  let post_v = JSON.stringify({ username: username, password: password });