@arsedizioni/ars-utils 20.3.48 → 20.3.50

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/core/index.d.ts CHANGED
@@ -816,16 +816,16 @@ declare class BroadcastService implements OnDestroy {
816
816
  sendMessage(id: string, data?: any, delay?: number): void;
817
817
  /**
818
818
  * Send a channel message
819
- * @param bag : the message bag
819
+ * @param id : the message bag
820
820
  * @param delay : the number of milliseconds to wait before sending the message
821
821
  */
822
- sendChannelMessage<T>(bag: BroadcastChannelMessageBag<T>, delay?: number): void;
822
+ sendChannelMessage(id: string, delay?: number): void;
823
823
  /**
824
824
  * Subscribe channel message
825
- * @param messageId : the message id
826
- * @param action : the actionto perform
825
+ * @param id : the message id
826
+ * @param action : the actionto perform
827
827
  */
828
- subscribeChannelMessage(messageId: string, action: (bag: BroadcastChannelMessageBag<any>) => void): void;
828
+ subscribeChannelMessage(id: string, action: (bag: BroadcastChannelMessageBag<any>) => void): void;
829
829
  /**
830
830
  * Get the next message as observable
831
831
  * @returns : the observable object
@@ -2075,9 +2075,7 @@ class ClipperService {
2075
2075
  this.login(null, null, true).subscribe({
2076
2076
  next: r => {
2077
2077
  if (!r.success) {
2078
- if (r.message) {
2079
- this.dialogService.error(r.message, undefined, "Errore di Clipper");
2080
- }
2078
+ this.dialogService.error("Le credenziali di accesso sono cambiate o non sono più valide. Esegui un nuovo accesso.", undefined, "Errore di Clipper");
2081
2079
  }
2082
2080
  else {
2083
2081
  if ((this.flags & ClipperServiceFlags.DisplayConnectionStateMessages) > 0) {