@fluxhub/fluxhub-lib 1.0.443 → 1.0.444

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.
@@ -12065,6 +12065,7 @@ class win_uploads {
12065
12065
  this.b_edit_loaded = false;
12066
12066
  this.title = "ALLEGATI";
12067
12067
  this.b_ini = false;
12068
+ this.sovrascrivi_path = '';
12068
12069
  this.single = true;
12069
12070
  this.descrizione = '';
12070
12071
  this.label = 'Descrizione Allegato';
@@ -12109,9 +12110,10 @@ class win_uploads {
12109
12110
  */
12110
12111
  download_all(ax) {
12111
12112
  if (ax.App != null)
12112
- window.open(this.app_s.COMPANY_SITE_ROOT + '/uploads/' + ax.App + '/' + ax.K + '/' + ax.Filename);
12113
- if (ax.APP != null)
12114
- window.open(this.app_s.COMPANY_SITE_ROOT + '/uploads/' + ax.APP + '/' + ax.K + '/' + ax.Filename);
12113
+ if (this.sovrascrivi_path == '')
12114
+ window.open(this.app_s.COMPANY_SITE_ROOT + '/uploads/' + ax.App + '/' + ax.K + '/' + ax.Filename);
12115
+ else
12116
+ window.open(this.sovrascrivi_path + '/uploads/' + ax.App + '/' + ax.K + '/' + ax.Filename);
12115
12117
  }
12116
12118
  /**
12117
12119
  * @param {?} ax
@@ -15929,11 +15931,13 @@ class dati_aggiuntivi {
15929
15931
  }));
15930
15932
  }
15931
15933
  /**
15934
+ * @param {?=} sovra_path
15932
15935
  * @return {?}
15933
15936
  */
15934
- open_upload() {
15937
+ open_upload(sovra_path = '') {
15935
15938
  /** @type {?} */
15936
15939
  let dialogRef = this.m_dialog.open(win_uploads, { 'disableClose': true, width: "90%", height: (this.app_s.getState().body_h - 300) + 'px' });
15940
+ dialogRef.componentInstance.sovrascrivi_path = sovra_path;
15937
15941
  dialogRef.afterClosed().subscribe((/**
15938
15942
  * @param {?} result
15939
15943
  * @return {?}