@eqproject/eqp-dynamic-module 2.9.37 → 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.
@@ -59,7 +59,6 @@ import * as i2$4 from '@angular/platform-browser';
59
59
  import * as ss from 'simple-statistics';
60
60
  import * as i2$5 from '@canvasjs/angular-stockcharts';
61
61
  import { CanvasJSAngularStockChartsModule, CanvasJSChart, CanvasJSStockChart } from '@canvasjs/angular-stockcharts';
62
- import { LogicOperator as LogicOperator$1 } from 'projects/eqp-dynamic-module/src/lib/models/logicOperator.model';
63
62
  import * as i8$3 from '@angular/material/autocomplete';
64
63
  import { MatAutocompleteModule } from '@angular/material/autocomplete';
65
64
  import { MatDatepickerModule } from '@angular/material/datepicker';
@@ -5739,6 +5738,14 @@ class ActionButtonFieldTemplateComponent {
5739
5738
  if (this.field.FieldstyleCSS != null || this.field.FieldstyleCSS != undefined)
5740
5739
  this.FieldstyleObj = UtilityHelperService.initStyles(this.field.FieldstyleCSS);
5741
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
+ }
5742
5749
  generateAction(actionButton) {
5743
5750
  var fireTrigger = new FireTrigger();
5744
5751
  fireTrigger.trigger = new Trigger();
@@ -9521,7 +9528,7 @@ class FilterFormStatisticComponent {
9521
9528
  this.columnsOutdated.push({
9522
9529
  key: 'action', display: '',
9523
9530
  type: TypeColumn.MenuAction, buttonMenuIcon: 'settings',
9524
- styles: { flex: '0 0 5%' },
9531
+ styles: { flex: '0 0 10%' },
9525
9532
  actions: [
9526
9533
  { name: "Rimuovi", icon: 'delete', fn: (element, col, elementIndex) => this.deleteOutdatedDMFilter(element) }
9527
9534
  ]
@@ -9531,8 +9538,8 @@ class FilterFormStatisticComponent {
9531
9538
  key: "logicoperator",
9532
9539
  display: "Operatore",
9533
9540
  type: TypeColumn.Enum,
9534
- enumModel: LogicOperator$1,
9535
- styles: { flex: "0 0 10%" }
9541
+ enumModel: LogicOperator,
9542
+ styles: { flex: "0 0 30%" }
9536
9543
  });
9537
9544
  this.columnsOutdated.push({ key: "value", display: "Valore", styles: { flex: "0 0 30%" } });
9538
9545
  console.log("columnsOutdated eseguito");