@eqproject/eqp-dynamic-module 2.8.7 → 2.8.8

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.
@@ -11223,10 +11223,22 @@ class TriggerCreatorComponent {
11223
11223
  }
11224
11224
  }
11225
11225
  onChangeFormula(formula) {
11226
+ GlobalService.debugLog('@@trigger-creator:onChangeFormula selected formula', formula);
11227
+ GlobalService.debugLog('@@trigger-creator:onChangeFormula formulas', this.formulas);
11226
11228
  this.formulaFieldsStructure = new Array();
11229
+ //------------
11227
11230
  Object.keys(this.formulas[formula.key]).forEach((res) => {
11228
- this.formulaFieldsStructure.push({ "key": res, "type": this.formulas[formula.key][res].type });
11231
+ this.formulaFieldsStructure.push({ "key": res, "type": this.formulas[formula.key][res].type,
11232
+ "tooltip": this.formulas[formula.key][res].tooltip });
11229
11233
  });
11234
+ //------------
11235
+ /* *** originale ***
11236
+ Object.keys(this.formulas[formula.key]).forEach((res) => {
11237
+ this.formulaFieldsStructure.push({"key": res, "type": this.formulas[formula.key][res].type
11238
+ });
11239
+ });
11240
+ *** */
11241
+ GlobalService.debugLog('@@trigger-creator:onChangeFormula formulaFieldsStructure', this.formulaFieldsStructure);
11230
11242
  }
11231
11243
  onFormulaFieldChange(formulaField) {
11232
11244
  }