@arsedizioni/ars-utils 22.0.12 → 22.0.13
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/fesm2022/arsedizioni-ars-utils-clipper.common.mjs +8 -8
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-evolution.common.mjs +5 -5
- package/fesm2022/arsedizioni-ars-utils-evolution.common.mjs.map +1 -1
- package/package.json +1 -1
- package/types/arsedizioni-ars-utils-clipper.ui.d.ts +1 -1
|
@@ -2281,7 +2281,7 @@ class ClipperService {
|
|
|
2281
2281
|
next: r => {
|
|
2282
2282
|
if (!r.success) {
|
|
2283
2283
|
if ((this.flags & ClipperServiceFlags.DisplayConnectionStateMessages) > 0) {
|
|
2284
|
-
this.broadcastService.sendMessage(ClipperMessages.ERROR, "Le credenziali di accesso sono cambiate o non sono più valide. Esegui un nuovo accesso.");
|
|
2284
|
+
this.broadcastService.sendMessage(ClipperMessages.ERROR, { message: "Le credenziali di accesso sono cambiate o non sono più valide. Esegui un nuovo accesso." });
|
|
2285
2285
|
}
|
|
2286
2286
|
this.broadcastService.sendMessage(ClipperMessages.LOGIN_FAILED);
|
|
2287
2287
|
}
|
|
@@ -2301,7 +2301,7 @@ class ClipperService {
|
|
|
2301
2301
|
this.logout().subscribe(r => {
|
|
2302
2302
|
if (!r.success) {
|
|
2303
2303
|
if (r.message) {
|
|
2304
|
-
this.broadcastService.sendMessage(ClipperMessages.ERROR, "<p>" + r.message + "</p><br><br><hr><p class='small'><i>Per eliminare la configurazione di Clipper accedere a:<br><b>menu > personalizza > collegamenti</b></i></p>");
|
|
2304
|
+
this.broadcastService.sendMessage(ClipperMessages.ERROR, { message: "<p>" + r.message + "</p><br><br><hr><p class='small'><i>Per eliminare la configurazione di Clipper accedere a:<br><b>menu > personalizza > collegamenti</b></i></p>" });
|
|
2305
2305
|
}
|
|
2306
2306
|
}
|
|
2307
2307
|
else {
|
|
@@ -2364,7 +2364,7 @@ class ClipperService {
|
|
|
2364
2364
|
.subscribe({
|
|
2365
2365
|
next: r => {
|
|
2366
2366
|
if (!r.success) {
|
|
2367
|
-
this.broadcastService.sendMessage(ClipperMessages.ERROR, r.message);
|
|
2367
|
+
this.broadcastService.sendMessage(ClipperMessages.ERROR, { message: r.message });
|
|
2368
2368
|
}
|
|
2369
2369
|
else {
|
|
2370
2370
|
if (!r.value.requiresMfa) {
|
|
@@ -2375,7 +2375,7 @@ class ClipperService {
|
|
|
2375
2375
|
}
|
|
2376
2376
|
}
|
|
2377
2377
|
},
|
|
2378
|
-
error: () => { this.broadcastService.sendMessage(ClipperMessages.ERROR, "Clipper non disponibile."); }
|
|
2378
|
+
error: () => { this.broadcastService.sendMessage(ClipperMessages.ERROR, { message: "Clipper non disponibile." }); }
|
|
2379
2379
|
});
|
|
2380
2380
|
}
|
|
2381
2381
|
/**
|
|
@@ -2388,7 +2388,7 @@ class ClipperService {
|
|
|
2388
2388
|
next: r => {
|
|
2389
2389
|
if (!r.success) {
|
|
2390
2390
|
if (r.message) {
|
|
2391
|
-
this.broadcastService.sendMessage(ClipperMessages.ERROR, r.message);
|
|
2391
|
+
this.broadcastService.sendMessage(ClipperMessages.ERROR, { message: r.message });
|
|
2392
2392
|
}
|
|
2393
2393
|
this.broadcastService.sendMessage(ClipperMessages.LOGIN_CHANGED);
|
|
2394
2394
|
}
|
|
@@ -2798,7 +2798,7 @@ class ClipperService {
|
|
|
2798
2798
|
.get(this.serviceUri + '/documents/working')
|
|
2799
2799
|
.subscribe(r => {
|
|
2800
2800
|
if (!r.success) {
|
|
2801
|
-
this.broadcastService.sendMessage(ClipperMessages.ERROR, r.message);
|
|
2801
|
+
this.broadcastService.sendMessage(ClipperMessages.ERROR, { message: r.message });
|
|
2802
2802
|
}
|
|
2803
2803
|
else {
|
|
2804
2804
|
if (r.value) {
|
|
@@ -2865,7 +2865,7 @@ class ClipperService {
|
|
|
2865
2865
|
.post(this.serviceUri + '/documents/working/delete', { documentIds: [documentId] })
|
|
2866
2866
|
.subscribe((r) => {
|
|
2867
2867
|
if (!r.success) {
|
|
2868
|
-
this.broadcastService.sendMessage(ClipperMessages.ERROR, r.message);
|
|
2868
|
+
this.broadcastService.sendMessage(ClipperMessages.ERROR, { message: r.message });
|
|
2869
2869
|
}
|
|
2870
2870
|
else {
|
|
2871
2871
|
const p = this.bag().findIndex((n) => n.documentId === documentId);
|
|
@@ -2887,7 +2887,7 @@ class ClipperService {
|
|
|
2887
2887
|
.post(this.serviceUri + '/documents/working/delete', { deleteAll: true })
|
|
2888
2888
|
.subscribe((r) => {
|
|
2889
2889
|
if (!r.success) {
|
|
2890
|
-
this.broadcastService.sendMessage(ClipperMessages.ERROR, r.message);
|
|
2890
|
+
this.broadcastService.sendMessage(ClipperMessages.ERROR, { message: r.message });
|
|
2891
2891
|
}
|
|
2892
2892
|
else {
|
|
2893
2893
|
this.bag.set([]);
|