@eqproject/eqp-dynamic-module 2.8.29 → 2.8.31
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/exported/eqp-dynamic-module/eqp-dynamic-module.component.mjs +3 -3
- package/esm2020/lib/components/private/form-records/add-form-record/add-form-record.component.mjs +5 -3
- package/esm2020/lib/components/private/form-records/list-view-form-record/list-view-form-record.component.mjs +13 -3
- package/fesm2015/eqproject-eqp-dynamic-module.mjs +18 -6
- package/fesm2015/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/fesm2020/eqproject-eqp-dynamic-module.mjs +18 -6
- package/fesm2020/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/lib/components/exported/eqp-dynamic-module/eqp-dynamic-module.component.d.ts +1 -1
- package/lib/components/private/form-records/list-view-form-record/list-view-form-record.component.d.ts +1 -1
- package/package.json +1 -1
|
@@ -6240,15 +6240,17 @@ class AddFormRecordComponent {
|
|
|
6240
6240
|
baseField.AnswerStyle.InListView = (visibility == true) ? true : false;
|
|
6241
6241
|
}
|
|
6242
6242
|
if (baseField.AnswerStyle.InListView) {
|
|
6243
|
-
template += '<div class="' + this.utilityService.getFieldAnswerStyleClass(baseField) + ' d-flex flex-
|
|
6243
|
+
template += '<div class="' + this.utilityService.getFieldAnswerStyleClass(baseField) + ' d-flex flex-row dynaform-answer-field"> ' +
|
|
6244
6244
|
' <span class="dynaform-question" style="' + baseField.AnswerStyle.LabelstyleCSS + '">' + baseField.Description + ':</span>' +
|
|
6245
6245
|
' <span class="dynaform-response" style="' + baseField.AnswerStyle.FieldstyleCSS + '"> ##' + baseField.Name + '##</span>' +
|
|
6246
6246
|
'</div> \n ';
|
|
6247
6247
|
}
|
|
6248
6248
|
else if (!baseField.AnswerStyle.InListView && baseField.AnswerStyle.Invisibility == FieldInvisibilityEnum['NASCOSTO CON AREA VISIBILE']) {
|
|
6249
|
-
template += '<div class="' + this.utilityService.getFieldAnswerStyleClass(baseField) + ' d-flex flex-
|
|
6249
|
+
template += '<div class="' + this.utilityService.getFieldAnswerStyleClass(baseField) + ' d-flex flex-row dynaform-answer-field"> ' +
|
|
6250
6250
|
'</div> \n ';
|
|
6251
6251
|
}
|
|
6252
|
+
// Lo vuole uno sotto l'altro sennò "E' storto!", quindi va così
|
|
6253
|
+
template = template.replace("-11 ", "-12 ").replace("-10 ", "-12 ").replace("-9 ", "-12 ").replace("-8 ", "-12 ").replace("-7 ", "-12 ").replace("-6 ", "-12 ").replace("-5 ", "-12 ").replace("-4 ", "-12 ").replace("-3 ", "-12 ").replace("-2 ", "-12 ").replace("-1 ", "-12 ");
|
|
6252
6254
|
GlobalService.debugLog('getResposneTemplate - post - field', baseField);
|
|
6253
6255
|
});
|
|
6254
6256
|
// (attualmente non esiste il concetto di tempate di output)
|
|
@@ -7737,8 +7739,18 @@ class ListViewFormRecordComponent {
|
|
|
7737
7739
|
onFireTrigger(ev) {
|
|
7738
7740
|
this.fireTrigger.emit(ev);
|
|
7739
7741
|
}
|
|
7740
|
-
reloadHTMLReadableValues(answerId
|
|
7741
|
-
|
|
7742
|
+
reloadHTMLReadableValues(answerId) {
|
|
7743
|
+
// preparo i dati del record
|
|
7744
|
+
var dynamicRecordParams = [
|
|
7745
|
+
{
|
|
7746
|
+
ParamName: "id",
|
|
7747
|
+
ParamValue: answerId,
|
|
7748
|
+
ParamType: ParamTypeEnum["Query param"],
|
|
7749
|
+
},
|
|
7750
|
+
];
|
|
7751
|
+
this.utilityHelperService.RunEndPointCall(this.endPointConfiguration.Records.GetByIDEndPoint, dynamicRecordParams, (res) => {
|
|
7752
|
+
this.panels.find(x => x.record.ID == answerId).record.HTMLreadableValues = res.HTMLreadableValues;
|
|
7753
|
+
});
|
|
7742
7754
|
this.libSingleLoaded = false;
|
|
7743
7755
|
setTimeout(() => {
|
|
7744
7756
|
this.libSingleLoaded = true;
|
|
@@ -9661,8 +9673,8 @@ class EqpDynamicModuleComponent {
|
|
|
9661
9673
|
}
|
|
9662
9674
|
return output;
|
|
9663
9675
|
}
|
|
9664
|
-
reloadHTMLReadableValues(answerId
|
|
9665
|
-
this.listViewFormRecord.reloadHTMLReadableValues(answerId
|
|
9676
|
+
reloadHTMLReadableValues(answerId) {
|
|
9677
|
+
this.listViewFormRecord.reloadHTMLReadableValues(answerId);
|
|
9666
9678
|
}
|
|
9667
9679
|
}
|
|
9668
9680
|
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 });
|