@fluxhub/fluxhub-lib 11.0.47 → 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 }],
@@ -5623,6 +5623,7 @@
5623
5623
  this.toolbar_wkfapp = null;
5624
5624
  this.toolbar_custom_commands = [];
5625
5625
  this.command = new i0.EventEmitter();
5626
+ this.filter_creared = new i0.EventEmitter();
5626
5627
  this.b_ensure = false;
5627
5628
  this.curr_config = "-1";
5628
5629
  this.init_end = new i0.EventEmitter();
@@ -6768,6 +6769,7 @@
6768
6769
  filtrtm[v.field]={type:'set',values:[]}
6769
6770
  }
6770
6771
  });*/
6772
+ this.filter_creared.emit();
6771
6773
  this.gridOptions.api.setFilterModel(filtrtm);
6772
6774
  };
6773
6775
  FHGridComponent.prototype.export_excel = function (format) {
@@ -7476,6 +7478,7 @@
7476
7478
  toolbar_wkfapp: [{ type: i0.Input }],
7477
7479
  toolbar_custom_commands: [{ type: i0.Input }],
7478
7480
  command: [{ type: i0.Output }],
7481
+ filter_creared: [{ type: i0.Output }],
7479
7482
  gf: [{ type: i0.ViewChild, args: ["gf",] }],
7480
7483
  toggle_mantieni: [{ type: i0.ViewChild, args: ["toggle_mantieni",] }],
7481
7484
  init_end: [{ type: i0.Output }],