@eqproject/eqp-dynamic-module 2.8.29 → 2.8.30

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.
@@ -7737,8 +7737,18 @@ class ListViewFormRecordComponent {
7737
7737
  onFireTrigger(ev) {
7738
7738
  this.fireTrigger.emit(ev);
7739
7739
  }
7740
- reloadHTMLReadableValues(answerId, html) {
7741
- this.panels.find(x => x.record.ID == answerId).record.HTMLreadableValues = html;
7740
+ reloadHTMLReadableValues(answerId) {
7741
+ // preparo i dati del record
7742
+ var dynamicRecordParams = [
7743
+ {
7744
+ ParamName: "id",
7745
+ ParamValue: answerId,
7746
+ ParamType: ParamTypeEnum["Query param"],
7747
+ },
7748
+ ];
7749
+ this.utilityHelperService.RunEndPointCall(this.endPointConfiguration.Records.GetByIDEndPoint, dynamicRecordParams, (res) => {
7750
+ this.panels.find(x => x.record.ID == answerId).record.HTMLreadableValues = res.HTMLreadableValues;
7751
+ });
7742
7752
  this.libSingleLoaded = false;
7743
7753
  setTimeout(() => {
7744
7754
  this.libSingleLoaded = true;
@@ -9661,8 +9671,8 @@ class EqpDynamicModuleComponent {
9661
9671
  }
9662
9672
  return output;
9663
9673
  }
9664
- reloadHTMLReadableValues(answerId, html) {
9665
- this.listViewFormRecord.reloadHTMLReadableValues(answerId, html);
9674
+ reloadHTMLReadableValues(answerId) {
9675
+ this.listViewFormRecord.reloadHTMLReadableValues(answerId);
9666
9676
  }
9667
9677
  }
9668
9678
  EqpDynamicModuleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EqpDynamicModuleComponent, deps: [{ token: UtilityHelperService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });