@eqproject/eqp-dynamic-module 2.10.52 → 2.10.53
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-configurator/eqp-dynamic-module-configurator.component.mjs +5 -2
- package/esm2020/lib/services/eqp-dynamic-module-dialog.service.mjs +2 -2
- package/esm2020/lib/services/utilityHelper.services.mjs +1 -1
- package/fesm2015/eqproject-eqp-dynamic-module.mjs +5 -2
- package/fesm2015/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/fesm2020/eqproject-eqp-dynamic-module.mjs +5 -2
- package/fesm2020/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/lib/services/utilityHelper.services.d.ts +6 -1
- package/package.json +1 -1
|
@@ -657,7 +657,7 @@ class EqpDynamicModuleDialogService {
|
|
|
657
657
|
static Warning(message, title = null, isToast = null) {
|
|
658
658
|
let currentTitle = title != null ? title : "Attenzione!";
|
|
659
659
|
if (Array.isArray(message)) {
|
|
660
|
-
|
|
660
|
+
const htmlWarnings = `<div style="max-height:40vh;overflow-y:auto;text-align:left;padding-right:6px;">${message.join('<br><br>')}</div>`;
|
|
661
661
|
Swal.fire({
|
|
662
662
|
title: currentTitle,
|
|
663
663
|
html: htmlWarnings,
|
|
@@ -15720,8 +15720,11 @@ class EqpDynamicModuleConfiguratorComponent {
|
|
|
15720
15720
|
this.utilityHelperService.RunEndPointCall(this.endPointConfiguration.Forms.SpeechToFormEditEndPoint, dynamicModuleParams, (res) => {
|
|
15721
15721
|
this.aiEditLoading = false;
|
|
15722
15722
|
this.closeAiEditDialog();
|
|
15723
|
-
this.setFormAndConfigure(res);
|
|
15723
|
+
this.setFormAndConfigure(res.Form);
|
|
15724
15724
|
EqpDynamicModuleDialogService.Success("Form modificata con AI!");
|
|
15725
|
+
if (res.Warnings && res.Warnings.length > 0) {
|
|
15726
|
+
EqpDynamicModuleDialogService.Warning(res.Warnings);
|
|
15727
|
+
}
|
|
15725
15728
|
}, (error) => {
|
|
15726
15729
|
this.aiEditLoading = false;
|
|
15727
15730
|
EqpDynamicModuleDialogService.Error("Errore nella modifica della form con AI");
|