@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.
- package/bundles/esfaenza-extensions.umd.js +55 -11
- package/bundles/esfaenza-extensions.umd.js.map +1 -1
- package/bundles/esfaenza-extensions.umd.min.js +1 -1
- package/bundles/esfaenza-extensions.umd.min.js.map +1 -1
- package/esfaenza-extensions.metadata.json +1 -1
- package/esm2015/lib/services/extensions.messages.service.js +52 -12
- package/fesm2015/esfaenza-extensions.js +51 -11
- package/fesm2015/esfaenza-extensions.js.map +1 -1
- package/lib/services/extensions.messages.service.d.ts +15 -0
- package/package.json +1 -1
|
@@ -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
|
*
|