@esfaenza/extensions 11.2.44 → 11.2.45

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.
@@ -16,6 +16,10 @@ export declare class MessageService {
16
16
  * Template di un warning con richiesta di conferma
17
17
  */
18
18
  private warningSwalWithCancel;
19
+ /**
20
+ * Template di un warning con richiesta di conferma
21
+ */
22
+ private successSwalWithCancel;
19
23
  /**
20
24
  * Template di un errore
21
25
  */
@@ -112,6 +116,17 @@ export declare class MessageService {
112
116
  * @param {Function} onerror Callback da chimare su errori
113
117
  */
114
118
  simpleWarningWithChoice(title: string, text: string, onsuccess?: Function, onerror?: Function): void;
119
+ /**
120
+ * Mostra un messaggio di success con richiesta di conferma e gestisce il risultato chiamato i callback **onconfirm** o **onabort**
121
+ *
122
+ * @param {string} title Titolo del messaggio
123
+ * @param {string} text Contenuto del messaggio
124
+ * @param {Function} onconfirm Callback da chimare su conferma
125
+ * @param {Function} onabort Callback da chimare su annullamento
126
+ * @param {string} confirmtext Testo del pulsante di azione
127
+ * @param {string} aborttext Testo del pulsante di annullamento
128
+ */
129
+ simpleSuccessWithChoice(title: string, text: string, onconfirm?: Function, onabort?: Function, confirmtext?: string, aborttext?: string): void;
115
130
  /**
116
131
  * Mostra un messaggio di avviso con richiesta di conferma e gestisce il risultato chiamato i callback **onsuccess** o **onerror**
117
132
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esfaenza/extensions",
3
- "version": "11.2.44",
3
+ "version": "11.2.45",
4
4
  "dependencies": {
5
5
  "tslib": "^2.0.0"
6
6
  },