@fluxhub/fluxhub-lib 11.0.49 → 11.0.50

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.
@@ -4555,6 +4555,7 @@
4555
4555
  this.show_download = true;
4556
4556
  this.description_required = false;
4557
4557
  this.selezionare_tipologia = "Selezionare la Tipologia";
4558
+ this.show_delete = true;
4558
4559
  this.b_initt = false;
4559
4560
  this.expand = new i0.EventEmitter();
4560
4561
  this.file_copy = new i0.EventEmitter();
@@ -4821,10 +4822,9 @@
4821
4822
  iconf = arrf[arrf.length - 1].toLocaleLowerCase();
4822
4823
  _this.arr_g[i].icon = iconf + ".svg";
4823
4824
  if (_this.can_delete_owner) {
4824
- _this.arr_g[i].can_delete =
4825
- !_this.access_control ||
4826
- _this.arr_g[i].idp == _this._appservice.user ||
4827
- _this.uti.hasRole(_this.ruolo_supervisore);
4825
+ _this.arr_g[i].can_delete = _this.show_delete && (!_this.access_control ||
4826
+ _this.arr_g[i].idp == _this._appservice.user ||
4827
+ _this.uti.hasRole(_this.ruolo_supervisore));
4828
4828
  if ("[ZZZ_DIS_CC]" == _this.ruolo_supervisore)
4829
4829
  _this.arr_g[i].can_delete_m = _this.arr_g[i].idp;
4830
4830
  else
@@ -4832,9 +4832,8 @@
4832
4832
  _this.arr_g[i].idp + ",[" + _this.ruolo_supervisore + "]";
4833
4833
  }
4834
4834
  else {
4835
- _this.arr_g[i].can_delete =
4836
- !_this.access_control ||
4837
- _this.uti.hasRole(_this.ruolo_supervisore);
4835
+ _this.arr_g[i].can_delete = _this.show_delete && (!_this.access_control ||
4836
+ _this.uti.hasRole(_this.ruolo_supervisore));
4838
4837
  if ("[ZZZ_DIS_CC]" == _this.ruolo_supervisore)
4839
4838
  _this.arr_g[i].can_delete_m = "";
4840
4839
  else
@@ -4899,6 +4898,7 @@
4899
4898
  show_download: [{ type: i0.Input }],
4900
4899
  description_required: [{ type: i0.Input }],
4901
4900
  selezionare_tipologia: [{ type: i0.Input }],
4901
+ show_delete: [{ type: i0.Input }],
4902
4902
  expand: [{ type: i0.Output }],
4903
4903
  file_copy: [{ type: i0.Output }],
4904
4904
  change: [{ type: i0.Output }],