@eqproject/eqp-dynamic-module 2.6.9 → 2.6.11
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.
- package/esm2020/lib/components/private/dynamic-module-field-fix/dynamic-module-field.component.mjs +5 -2
- package/esm2020/lib/components/private/form-records/add-form-record/add-form-record.component.mjs +2 -1
- package/esm2020/lib/models/trigger.model.mjs +1 -1
- package/fesm2015/eqproject-eqp-dynamic-module.mjs +5 -1
- package/fesm2015/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/fesm2020/eqproject-eqp-dynamic-module.mjs +5 -1
- package/fesm2020/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/lib/models/trigger.model.d.ts +1 -0
- package/package.json +1 -1
|
@@ -4317,7 +4317,10 @@ class DynamicModuleFieldFixComponent {
|
|
|
4317
4317
|
this.configList.values = this.record[this.field.Name];
|
|
4318
4318
|
this.configList.showTitle = true;
|
|
4319
4319
|
this.configList.defaultListActions = new DynamicModuleListFormRecordActionsDefault();
|
|
4320
|
-
if (this.field.
|
|
4320
|
+
if (this.field.DataGetterValueBase64String != null && this.field.DataGetterValueBase64String != "") {
|
|
4321
|
+
this.field.DataGetter = JSON.parse(atob(this.field.DataGetterValueBase64String));
|
|
4322
|
+
}
|
|
4323
|
+
if (this.field.DataGetter != null && this.field.DataGetter.DataGetterType == DataGetterTypeEnum['Da modulo dinamico']) {
|
|
4321
4324
|
this.manageDMGetter();
|
|
4322
4325
|
}
|
|
4323
4326
|
}
|
|
@@ -5127,6 +5130,7 @@ class AddFormRecordComponent {
|
|
|
5127
5130
|
triggerToFire.record = record; // Il record che ha provocato il trigger
|
|
5128
5131
|
triggerToFire.trigger = trigger; // Il trigger
|
|
5129
5132
|
triggerToFire.formulas = formulas; // Le formule inviate in input al modulo dinamico, valutate nel contesto del trigger e del record
|
|
5133
|
+
triggerToFire.userPatient = this.userID; // UserID
|
|
5130
5134
|
this.fireTrigger.emit(triggerToFire);
|
|
5131
5135
|
}
|
|
5132
5136
|
});
|