@fluxhub/fluxhub-lib 1.0.443 → 1.0.445

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 {?}
@@ -16566,6 +16570,7 @@ class dati_aggiuntivi {
16566
16570
  }
16567
16571
  if (this.m_obj.autori == null)
16568
16572
  this.m_obj.autori = '';
16573
+ console.log("return_edit-> ", "," + this.m_obj.autori.toLowerCase() + ",", "," + this.user_idp.toLowerCase() + ",", ("," + this.m_obj.autori.toLowerCase() + ",").indexOf("," + this.user_idp.toLowerCase() + ","));
16569
16574
  if (("," + this.m_obj.autori.toLowerCase() + ",").indexOf("," + this.user_idp.toLowerCase() + ",") != -1) {
16570
16575
  this.edit_b(true);
16571
16576
  if (this.respingi_enabled)
@@ -16573,7 +16578,7 @@ class dati_aggiuntivi {
16573
16578
  }
16574
16579
  this.r_count();
16575
16580
  /** @type {?} */
16576
- var aut = this.m_obj.autori.split(',');
16581
+ let aut = this.m_obj.autori.split(',');
16577
16582
  for (let i = 0; i < aut.length; i++)
16578
16583
  for (let y = 0; y < this.livs.length; y++)
16579
16584
  if (this.livs[y].idp == aut[i]) {