@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.
@@ -12678,6 +12678,7 @@ var win_uploads = /** @class */ (function () {
12678
12678
  this.b_edit_loaded = false;
12679
12679
  this.title = "ALLEGATI";
12680
12680
  this.b_ini = false;
12681
+ this.sovrascrivi_path = '';
12681
12682
  this.single = true;
12682
12683
  this.descrizione = '';
12683
12684
  this.label = 'Descrizione Allegato';
@@ -12726,9 +12727,10 @@ var win_uploads = /** @class */ (function () {
12726
12727
  */
12727
12728
  function (ax) {
12728
12729
  if (ax.App != null)
12729
- window.open(this.app_s.COMPANY_SITE_ROOT + '/uploads/' + ax.App + '/' + ax.K + '/' + ax.Filename);
12730
- if (ax.APP != null)
12731
- window.open(this.app_s.COMPANY_SITE_ROOT + '/uploads/' + ax.APP + '/' + ax.K + '/' + ax.Filename);
12730
+ if (this.sovrascrivi_path == '')
12731
+ window.open(this.app_s.COMPANY_SITE_ROOT + '/uploads/' + ax.App + '/' + ax.K + '/' + ax.Filename);
12732
+ else
12733
+ window.open(this.sovrascrivi_path + '/uploads/' + ax.App + '/' + ax.K + '/' + ax.Filename);
12732
12734
  };
12733
12735
  /**
12734
12736
  * @param {?} ax
@@ -16576,15 +16578,19 @@ var dati_aggiuntivi = /** @class */ (function () {
16576
16578
  }));
16577
16579
  };
16578
16580
  /**
16581
+ * @param {?=} sovra_path
16579
16582
  * @return {?}
16580
16583
  */
16581
16584
  dati_aggiuntivi.prototype.open_upload = /**
16585
+ * @param {?=} sovra_path
16582
16586
  * @return {?}
16583
16587
  */
16584
- function () {
16588
+ function (sovra_path) {
16585
16589
  var _this = this;
16590
+ if (sovra_path === void 0) { sovra_path = ''; }
16586
16591
  /** @type {?} */
16587
16592
  var dialogRef = this.m_dialog.open(win_uploads, { 'disableClose': true, width: "90%", height: (this.app_s.getState().body_h - 300) + 'px' });
16593
+ dialogRef.componentInstance.sovrascrivi_path = sovra_path;
16588
16594
  dialogRef.afterClosed().subscribe((/**
16589
16595
  * @param {?} result
16590
16596
  * @return {?}
@@ -17289,6 +17295,7 @@ var dati_aggiuntivi = /** @class */ (function () {
17289
17295
  }
17290
17296
  if (this.m_obj.autori == null)
17291
17297
  this.m_obj.autori = '';
17298
+ console.log("return_edit-> ", "," + this.m_obj.autori.toLowerCase() + ",", "," + this.user_idp.toLowerCase() + ",", ("," + this.m_obj.autori.toLowerCase() + ",").indexOf("," + this.user_idp.toLowerCase() + ","));
17292
17299
  if (("," + this.m_obj.autori.toLowerCase() + ",").indexOf("," + this.user_idp.toLowerCase() + ",") != -1) {
17293
17300
  this.edit_b(true);
17294
17301
  if (this.respingi_enabled)