@eqproject/eqp-dynamic-module 2.9.38 → 2.9.39

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.
@@ -5738,6 +5738,14 @@ class ActionButtonFieldTemplateComponent {
5738
5738
  if (this.field.FieldstyleCSS != null || this.field.FieldstyleCSS != undefined)
5739
5739
  this.FieldstyleObj = UtilityHelperService.initStyles(this.field.FieldstyleCSS);
5740
5740
  }
5741
+ /**
5742
+ * Metodo per aggiornare il valore del campo quando questo è rappresentato da una formula.
5743
+ */
5744
+ updateField() {
5745
+ if (this.field.VisibleIf) {
5746
+ this.field.InListView = UtilityHelperService.EvaluateFieldFormula(this.field.VisibleIf, this.record, this.formulaObject);
5747
+ }
5748
+ }
5741
5749
  generateAction(actionButton) {
5742
5750
  var fireTrigger = new FireTrigger();
5743
5751
  fireTrigger.trigger = new Trigger();
@@ -9520,7 +9528,7 @@ class FilterFormStatisticComponent {
9520
9528
  this.columnsOutdated.push({
9521
9529
  key: 'action', display: '',
9522
9530
  type: TypeColumn.MenuAction, buttonMenuIcon: 'settings',
9523
- styles: { flex: '0 0 5%' },
9531
+ styles: { flex: '0 0 10%' },
9524
9532
  actions: [
9525
9533
  { name: "Rimuovi", icon: 'delete', fn: (element, col, elementIndex) => this.deleteOutdatedDMFilter(element) }
9526
9534
  ]
@@ -9531,7 +9539,7 @@ class FilterFormStatisticComponent {
9531
9539
  display: "Operatore",
9532
9540
  type: TypeColumn.Enum,
9533
9541
  enumModel: LogicOperator,
9534
- styles: { flex: "0 0 10%" }
9542
+ styles: { flex: "0 0 30%" }
9535
9543
  });
9536
9544
  this.columnsOutdated.push({ key: "value", display: "Valore", styles: { flex: "0 0 30%" } });
9537
9545
  console.log("columnsOutdated eseguito");