@esfaenza/extensions 13.3.1 → 13.3.4

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.
@@ -1,4 +1,5 @@
1
1
  import { ToastrService } from "ngx-toastr";
2
+ import { Observable } from "rxjs";
2
3
  import { CallResult } from "../models/CallResult";
3
4
  import * as i0 from "@angular/core";
4
5
  /**
@@ -112,6 +113,13 @@ export declare class MessageService {
112
113
  * @param {Function} onerror Callback da chimare su errori
113
114
  */
114
115
  simpleWarningWithChoice(title: string, text: string, onsuccess?: Function, onerror?: Function): void;
116
+ /**
117
+ * Mostra un messaggio di avviso con richiesta di conferma e gestisce il risultato chiamato i callback **onsuccess** o **onerror**
118
+ *
119
+ * @param {string} title Titolo del messaggio
120
+ * @param {string} text Contenuto del messaggio
121
+ */
122
+ observableSimpleWarningWithChoice(title: string, text: string): Observable<boolean>;
115
123
  /**
116
124
  * Mostra un messaggio di avviso che la sessione corrente è scaduta e propone all'utente di navigare al login. Qualora l'utente decidesse di farlo
117
125
  * verrà chiamata la funzione di callback **onnavigate
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esfaenza/extensions",
3
- "version": "13.3.1",
3
+ "version": "13.3.4",
4
4
  "dependencies": {
5
5
  "tslib": "^2.0.0"
6
6
  },