@esfaenza/core 20.3.47 → 20.3.49
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/components/index.d.ts +10 -0
- package/directives/index.d.ts +9 -2
- package/fesm2022/esfaenza-core-components.mjs +145 -112
- package/fesm2022/esfaenza-core-components.mjs.map +1 -1
- package/fesm2022/esfaenza-core-directives.mjs +65 -33
- package/fesm2022/esfaenza-core-directives.mjs.map +1 -1
- package/fesm2022/esfaenza-core-modules.mjs +12 -12
- package/fesm2022/esfaenza-core-modules.mjs.map +1 -1
- package/fesm2022/esfaenza-core-pipes.mjs +52 -20
- package/fesm2022/esfaenza-core-pipes.mjs.map +1 -1
- package/fesm2022/esfaenza-core-services.mjs +68 -46
- package/fesm2022/esfaenza-core-services.mjs.map +1 -1
- package/fesm2022/esfaenza-core.mjs +8 -8
- package/fesm2022/esfaenza-core.mjs.map +1 -1
- package/package.json +43 -43
- package/pipes/index.d.ts +25 -7
- package/services/index.d.ts +9 -3
|
@@ -30,7 +30,9 @@ class TokenService {
|
|
|
30
30
|
this.accountScope = this.getFakeAccountScope();
|
|
31
31
|
}
|
|
32
32
|
clearTokens() {
|
|
33
|
-
|
|
33
|
+
// Il token viene letto come "accessToken" (vedi getAccessToken/getJaceIdentity):
|
|
34
|
+
// la delete deve usare lo STESSO nome, altrimenti il logout non rimuove nulla.
|
|
35
|
+
this.cs.delete("accessToken");
|
|
34
36
|
}
|
|
35
37
|
getAccessToken() {
|
|
36
38
|
if (this.ANONYMOUS_MODE)
|
|
@@ -44,7 +46,10 @@ class TokenService {
|
|
|
44
46
|
if (!token)
|
|
45
47
|
return null;
|
|
46
48
|
let base64Url = token.split(".")[1];
|
|
47
|
-
|
|
49
|
+
// base64url -> base64: sostituzione GLOBALE. Con String.replace(stringa) veniva
|
|
50
|
+
// convertita solo la PRIMA occorrenza, lasciando "-"/"_" residui che fanno
|
|
51
|
+
// fallire atob per i token che ne contengono piu' di uno.
|
|
52
|
+
let base64 = base64Url.replace(/-/g, "+").replace(/_/g, "/");
|
|
48
53
|
let tokenData = JSON.parse(decodeURIComponent(window.atob(base64).split("").map(c => "%" + ("00" + c.charCodeAt(0).toString(16)).slice(-2)).join("")));
|
|
49
54
|
let identity = new JaceIdentity(this.accountScope);
|
|
50
55
|
identity.IdActor = tokenData.ACTORID;
|
|
@@ -1039,10 +1044,10 @@ class TokenService {
|
|
|
1039
1044
|
};
|
|
1040
1045
|
return accountScope;
|
|
1041
1046
|
}
|
|
1042
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1043
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1047
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: TokenService, deps: [{ token: i1.CookieService }, { token: USE_FAKE_ACCESS_TOKEN, optional: true }, { token: ANONYMOUS_MODE, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1048
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: TokenService, providedIn: "root" }); }
|
|
1044
1049
|
}
|
|
1045
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1050
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: TokenService, decorators: [{
|
|
1046
1051
|
type: Injectable,
|
|
1047
1052
|
args: [{ providedIn: "root" }]
|
|
1048
1053
|
}], ctorParameters: () => [{ type: i1.CookieService }, { type: undefined, decorators: [{
|
|
@@ -1080,10 +1085,10 @@ class GlobalSearchService {
|
|
|
1080
1085
|
generateColumnLink(column) {
|
|
1081
1086
|
return null;
|
|
1082
1087
|
}
|
|
1083
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1084
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1088
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: GlobalSearchService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1089
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: GlobalSearchService }); }
|
|
1085
1090
|
}
|
|
1086
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1091
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: GlobalSearchService, decorators: [{
|
|
1087
1092
|
type: Injectable
|
|
1088
1093
|
}] });
|
|
1089
1094
|
|
|
@@ -1123,10 +1128,10 @@ class APPErrorHandler {
|
|
|
1123
1128
|
// can be fed into btoa.
|
|
1124
1129
|
return btoa(encodeURIComponent(str).replace(/%([0-9A-F]{2})/g, (match, p1) => String.fromCharCode(("0x" + p1))));
|
|
1125
1130
|
}
|
|
1126
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1127
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1131
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: APPErrorHandler, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1132
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: APPErrorHandler }); }
|
|
1128
1133
|
}
|
|
1129
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1134
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: APPErrorHandler, decorators: [{
|
|
1130
1135
|
type: Injectable
|
|
1131
1136
|
}], ctorParameters: () => [{ type: i0.Injector }] });
|
|
1132
1137
|
|
|
@@ -1147,10 +1152,10 @@ class OutZoneEventPlugin {
|
|
|
1147
1152
|
element.addEventListener(eventOriginalName, standardHandler);
|
|
1148
1153
|
return () => element.removeEventListener(eventOriginalName, standardHandler);
|
|
1149
1154
|
}
|
|
1150
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1151
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1155
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: OutZoneEventPlugin, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1156
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: OutZoneEventPlugin, providedIn: 'root' }); }
|
|
1152
1157
|
}
|
|
1153
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1158
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: OutZoneEventPlugin, decorators: [{
|
|
1154
1159
|
type: Injectable,
|
|
1155
1160
|
args: [{ providedIn: 'root' }]
|
|
1156
1161
|
}], ctorParameters: () => [{ type: i0.NgZone }] });
|
|
@@ -1160,10 +1165,10 @@ class HTTPServiceExtensionsLoc extends LocalizationService {
|
|
|
1160
1165
|
super(injector);
|
|
1161
1166
|
super.set("it->en", "Il Server sembra essere offline, prova a ricaricare la pagina", ["Server seems to be offline, try to reload this page"]);
|
|
1162
1167
|
}
|
|
1163
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1164
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1168
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: HTTPServiceExtensionsLoc, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1169
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: HTTPServiceExtensionsLoc }); }
|
|
1165
1170
|
}
|
|
1166
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1171
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: HTTPServiceExtensionsLoc, decorators: [{
|
|
1167
1172
|
type: Injectable
|
|
1168
1173
|
}], ctorParameters: () => [{ type: i0.Injector }] });
|
|
1169
1174
|
|
|
@@ -1362,16 +1367,33 @@ class AppState {
|
|
|
1362
1367
|
return this.JaceIdentity;
|
|
1363
1368
|
}
|
|
1364
1369
|
notifyDataChanged(event, value) {
|
|
1365
|
-
|
|
1370
|
+
// NB: in passato il valore veniva anche memorizzato come proprietà sul Subject stesso
|
|
1371
|
+
// (this._data[event] = value). Con un event chiamato "next"/"error"/"complete"/"closed"/...
|
|
1372
|
+
// si sovrascrivevano i metodi del Subject, rompendo l'intero bus. Nessuno rileggeva quella
|
|
1373
|
+
// "cache", quindi è stata rimossa.
|
|
1366
1374
|
this._data.next({
|
|
1367
1375
|
event: event,
|
|
1368
|
-
data:
|
|
1376
|
+
data: value
|
|
1369
1377
|
});
|
|
1370
1378
|
}
|
|
1379
|
+
/**
|
|
1380
|
+
* Registra una callback per un evento applicativo.
|
|
1381
|
+
* @returns una funzione di disiscrizione da invocare (tipicamente in ngOnDestroy) per
|
|
1382
|
+
* rimuovere la callback. Senza chiamarla, la callback — e con essa il componente che la
|
|
1383
|
+
* possiede — resta trattenuta a vita in questa mappa (memory leak).
|
|
1384
|
+
*/
|
|
1371
1385
|
subscribe(event, callback) {
|
|
1372
1386
|
var subscribers = this._subscriptions.get(event) || [];
|
|
1373
1387
|
subscribers.push(callback);
|
|
1374
1388
|
this._subscriptions.set(event, subscribers);
|
|
1389
|
+
return () => {
|
|
1390
|
+
var current = this._subscriptions.get(event);
|
|
1391
|
+
if (!current)
|
|
1392
|
+
return;
|
|
1393
|
+
var idx = current.indexOf(callback);
|
|
1394
|
+
if (idx > -1)
|
|
1395
|
+
current.splice(idx, 1);
|
|
1396
|
+
};
|
|
1375
1397
|
}
|
|
1376
1398
|
_onEvent(data) {
|
|
1377
1399
|
var subscribers = this._subscriptions.get(data["event"]) || [];
|
|
@@ -1385,10 +1407,10 @@ class AppState {
|
|
|
1385
1407
|
setHeaderHeight(height) {
|
|
1386
1408
|
this.headerHeight = height;
|
|
1387
1409
|
}
|
|
1388
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1389
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1410
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: AppState, deps: [{ token: i1$1.Router }, { token: i4.PreferencesService }, { token: i0.Injector }, { token: TokenService }, { token: i4$1.NotificationsService }, { token: i4$1.BaseMessageService }, { token: i5.InterComService }, { token: i5.AppEmbeddingExtensions }, { token: USE_FAKE_ACCESS_TOKEN }, { token: ANONYMOUS_MODE }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1411
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: AppState, providedIn: "root" }); }
|
|
1390
1412
|
}
|
|
1391
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1413
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: AppState, decorators: [{
|
|
1392
1414
|
type: Injectable,
|
|
1393
1415
|
args: [{ providedIn: "root" }]
|
|
1394
1416
|
}], ctorParameters: () => [{ type: i1$1.Router }, { type: i4.PreferencesService }, { type: i0.Injector }, { type: TokenService }, { type: i4$1.NotificationsService }, { type: i4$1.BaseMessageService }, { type: i5.InterComService }, { type: i5.AppEmbeddingExtensions }, { type: undefined, decorators: [{
|
|
@@ -1474,10 +1496,10 @@ class HTTPServiceExtensions {
|
|
|
1474
1496
|
}
|
|
1475
1497
|
this.as.handlingError = false;
|
|
1476
1498
|
}
|
|
1477
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1478
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1499
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: HTTPServiceExtensions, deps: [{ token: i1$2.LocalizationService }, { token: TokenService }, { token: AppState }, { token: i1$1.Router }, { token: i5$1.AccessControlService }, { token: i5.MessageService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1500
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: HTTPServiceExtensions }); }
|
|
1479
1501
|
}
|
|
1480
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1502
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: HTTPServiceExtensions, decorators: [{
|
|
1481
1503
|
type: Injectable
|
|
1482
1504
|
}], ctorParameters: () => [{ type: i1$2.LocalizationService }, { type: TokenService }, { type: AppState }, { type: i1$1.Router }, { type: i5$1.AccessControlService }, { type: i5.MessageService }] });
|
|
1483
1505
|
|
|
@@ -1492,10 +1514,10 @@ class MenuFilteringService {
|
|
|
1492
1514
|
filter(rawMenus) {
|
|
1493
1515
|
return of(rawMenus);
|
|
1494
1516
|
}
|
|
1495
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1496
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1517
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: MenuFilteringService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1518
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: MenuFilteringService }); }
|
|
1497
1519
|
}
|
|
1498
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1520
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: MenuFilteringService, decorators: [{
|
|
1499
1521
|
type: Injectable
|
|
1500
1522
|
}] });
|
|
1501
1523
|
|
|
@@ -1508,10 +1530,10 @@ class CompletedJobRedirectionService {
|
|
|
1508
1530
|
*/
|
|
1509
1531
|
redirect(completedJob) {
|
|
1510
1532
|
}
|
|
1511
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1512
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1533
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: CompletedJobRedirectionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1534
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: CompletedJobRedirectionService }); }
|
|
1513
1535
|
}
|
|
1514
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1536
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: CompletedJobRedirectionService, decorators: [{
|
|
1515
1537
|
type: Injectable
|
|
1516
1538
|
}] });
|
|
1517
1539
|
|
|
@@ -1535,10 +1557,10 @@ class SessionRetriever {
|
|
|
1535
1557
|
}
|
|
1536
1558
|
return `${id.Idtenant}§${id.IdAccount}§${id.IdUser}§${global ? "GLOBAL" : (myconfig?.AppData?.ModuleId) || ""}`;
|
|
1537
1559
|
}
|
|
1538
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1539
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1560
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: SessionRetriever, deps: [{ token: TokenService }, { token: i1$1.Router }, { token: ANONYMOUS_MODE }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1561
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: SessionRetriever, providedIn: "root" }); }
|
|
1540
1562
|
}
|
|
1541
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1563
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: SessionRetriever, decorators: [{
|
|
1542
1564
|
type: Injectable,
|
|
1543
1565
|
args: [{ providedIn: "root" }]
|
|
1544
1566
|
}], ctorParameters: () => [{ type: TokenService }, { type: i1$1.Router }, { type: undefined, decorators: [{
|
|
@@ -1621,10 +1643,10 @@ class ApplicationCachePersistor extends CachePersistor {
|
|
|
1621
1643
|
getItemUrl(sessionKey, itemKey) {
|
|
1622
1644
|
return `${this.getItemsUrl(sessionKey)}/${itemKey}`;
|
|
1623
1645
|
}
|
|
1624
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1625
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1646
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: ApplicationCachePersistor, deps: [{ token: i1$2.LocalizationService }, { token: i2.HttpClient }, { token: TokenService }, { token: i4.BaseSessionRetriever }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1647
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: ApplicationCachePersistor }); }
|
|
1626
1648
|
}
|
|
1627
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1649
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: ApplicationCachePersistor, decorators: [{
|
|
1628
1650
|
type: Injectable
|
|
1629
1651
|
}], ctorParameters: () => [{ type: i1$2.LocalizationService }, { type: i2.HttpClient }, { type: TokenService }, { type: i4.BaseSessionRetriever }] });
|
|
1630
1652
|
|
|
@@ -1728,10 +1750,10 @@ class ApplicationPreferencesPersistor extends PreferencesPersistor {
|
|
|
1728
1750
|
getItemUrl(sessionKey, itemKey) {
|
|
1729
1751
|
return `${this.getItemsUrl(sessionKey)}/${itemKey}`;
|
|
1730
1752
|
}
|
|
1731
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1732
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1753
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: ApplicationPreferencesPersistor, deps: [{ token: i1$2.LocalizationService }, { token: i2.HttpClient }, { token: TokenService }, { token: i4.BaseSessionRetriever }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1754
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: ApplicationPreferencesPersistor }); }
|
|
1733
1755
|
}
|
|
1734
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1756
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: ApplicationPreferencesPersistor, decorators: [{
|
|
1735
1757
|
type: Injectable
|
|
1736
1758
|
}], ctorParameters: () => [{ type: i1$2.LocalizationService }, { type: i2.HttpClient }, { type: TokenService }, { type: i4.BaseSessionRetriever }] });
|
|
1737
1759
|
|
|
@@ -1818,10 +1840,10 @@ class UserPreferencesService {
|
|
|
1818
1840
|
this.ProfilePicture = null;
|
|
1819
1841
|
return cr;
|
|
1820
1842
|
}
|
|
1821
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1822
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1843
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: UserPreferencesService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1844
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: UserPreferencesService }); }
|
|
1823
1845
|
}
|
|
1824
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1846
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: UserPreferencesService, decorators: [{
|
|
1825
1847
|
type: Injectable
|
|
1826
1848
|
}], ctorParameters: () => [{ type: i0.Injector }] });
|
|
1827
1849
|
|
|
@@ -1833,10 +1855,10 @@ class BaseRouterGuard extends AccessControlRouteGuard {
|
|
|
1833
1855
|
if (!acc.Initialized)
|
|
1834
1856
|
acc.initializeIdentity(identity);
|
|
1835
1857
|
}
|
|
1836
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1837
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1858
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: BaseRouterGuard, deps: [{ token: i5.MessageService }, { token: i5$1.AccessControlService }, { token: i1$1.Router }, { token: TokenService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1859
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: BaseRouterGuard }); }
|
|
1838
1860
|
}
|
|
1839
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1861
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: BaseRouterGuard, decorators: [{
|
|
1840
1862
|
type: Injectable
|
|
1841
1863
|
}], ctorParameters: () => [{ type: i5.MessageService }, { type: i5$1.AccessControlService }, { type: i1$1.Router }, { type: TokenService }] });
|
|
1842
1864
|
|