@esfaenza/extensions 15.2.26 → 15.2.28
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/esm2020/lib/services/extensions.embedding.service.mjs +5 -3
- package/esm2020/lib/services/extensions.messages.service.mjs +29 -27
- package/fesm2015/esfaenza-extensions.mjs +31 -26
- package/fesm2015/esfaenza-extensions.mjs.map +1 -1
- package/fesm2020/esfaenza-extensions.mjs +31 -26
- package/fesm2020/esfaenza-extensions.mjs.map +1 -1
- package/lib/services/extensions.embedding.service.d.ts +1 -1
- package/lib/services/extensions.messages.service.d.ts +24 -34
- package/package.json +1 -1
|
@@ -13,7 +13,7 @@ export declare class AppEmbeddingExtensions {
|
|
|
13
13
|
data: any;
|
|
14
14
|
}>;
|
|
15
15
|
constructor(msgService: MessageService, router: Router);
|
|
16
|
-
|
|
16
|
+
configureEmbeddability(): void;
|
|
17
17
|
refreshBoundariesOnMenuCollapse(): void;
|
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<AppEmbeddingExtensions, never>;
|
|
19
19
|
static ɵprov: i0.ɵɵInjectableDeclaration<AppEmbeddingExtensions>;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Injector } from "@angular/core";
|
|
2
2
|
import { BaseLocalization } from "@esfaenza/localizations";
|
|
3
|
-
import { Observable } from "rxjs";
|
|
3
|
+
import { Observable, Subject } from "rxjs";
|
|
4
4
|
import { CallResult } from "../models/CallResult";
|
|
5
|
-
import { AppEmbeddingExtensions } from "./extensions.embedding.service";
|
|
6
5
|
import { HashingService } from "./extensions.hashing.service";
|
|
7
6
|
import * as i0 from "@angular/core";
|
|
8
7
|
/**
|
|
@@ -11,47 +10,38 @@ import * as i0 from "@angular/core";
|
|
|
11
10
|
export declare class MessageService {
|
|
12
11
|
private injector;
|
|
13
12
|
private locProvider;
|
|
14
|
-
private emb;
|
|
15
13
|
private hash;
|
|
16
|
-
/**
|
|
17
|
-
* Oggetto statico in supporto alla localizzazione
|
|
18
|
-
*/
|
|
14
|
+
/** Oggetto statico in supporto alla localizzazione */
|
|
19
15
|
private loc;
|
|
20
|
-
/**
|
|
21
|
-
* Template di un warning con richiesta di conferma
|
|
22
|
-
*/
|
|
16
|
+
/** Template di un warning con richiesta di conferma */
|
|
23
17
|
private warningSwalWithCancel;
|
|
24
|
-
/**
|
|
25
|
-
* Template di un warning con richiesta di conferma
|
|
26
|
-
*/
|
|
18
|
+
/** Template di un warning con richiesta di conferma */
|
|
27
19
|
private successSwalWithCancel;
|
|
28
|
-
/**
|
|
29
|
-
* Template di un errore
|
|
30
|
-
*/
|
|
20
|
+
/** Template di un errore */
|
|
31
21
|
private errorSwal;
|
|
32
|
-
/**
|
|
33
|
-
* Template di un messaggio di successo
|
|
34
|
-
*/
|
|
22
|
+
/** Template di un messaggio di successo */
|
|
35
23
|
private successSwal;
|
|
36
|
-
/**
|
|
37
|
-
* Template di un avviso
|
|
38
|
-
*/
|
|
24
|
+
/** Template di un avviso */
|
|
39
25
|
private warningSwal;
|
|
40
|
-
/**
|
|
41
|
-
* Template di un messaggio informativo
|
|
42
|
-
*/
|
|
26
|
+
/** Template di un messaggio informativo */
|
|
43
27
|
private infoSwal;
|
|
44
|
-
/**
|
|
45
|
-
* Template di un warning per la sessione scaduta
|
|
46
|
-
*/
|
|
28
|
+
/** Template di un warning per la sessione scaduta */
|
|
47
29
|
private expiredSessionSwal;
|
|
30
|
+
/** Getter per il servizio dei toast. ngx-toastr è fatta talmente male che la service dev'essere recuperata in questo modo */
|
|
48
31
|
private get toastr();
|
|
49
|
-
/**
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
32
|
+
/** Supporto all'Embedding */
|
|
33
|
+
Embedded: boolean;
|
|
34
|
+
MainWindow: Window;
|
|
35
|
+
MessageObserver: Subject<{
|
|
36
|
+
event: any;
|
|
37
|
+
data: any;
|
|
38
|
+
}>;
|
|
39
|
+
/** Costruttore @ignore */
|
|
40
|
+
constructor(injector: Injector, locProvider: BaseLocalization, hash: HashingService);
|
|
41
|
+
configureEmbeddability(mainWindow: Window, messageObserver: Subject<{
|
|
42
|
+
event: any;
|
|
43
|
+
data: any;
|
|
44
|
+
}>): void;
|
|
55
45
|
init(): Promise<void>;
|
|
56
46
|
/**
|
|
57
47
|
* Presentazione di un semplice messaggio di successo
|
|
@@ -188,6 +178,6 @@ export declare class MessageService {
|
|
|
188
178
|
* @param {Function} postFailure Callback da chimare in caso di fallimento
|
|
189
179
|
*/
|
|
190
180
|
manageStringResponseBool(response: boolean, successMsg: string, errorMsg: string, postSuccess?: Function, postFailure?: Function): void;
|
|
191
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MessageService, [null, { optional: true; }, null
|
|
181
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MessageService, [null, { optional: true; }, null]>;
|
|
192
182
|
static ɵprov: i0.ɵɵInjectableDeclaration<MessageService>;
|
|
193
183
|
}
|