@esfaenza/admin-module 11.2.1 → 11.2.2
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-admin-module.umd.js +33 -19
- package/bundles/esfaenza-admin-module.umd.js.map +1 -1
- package/bundles/esfaenza-admin-module.umd.min.js +2 -2
- package/bundles/esfaenza-admin-module.umd.min.js.map +1 -1
- package/esfaenza-admin-module.metadata.json +1 -1
- package/esm2015/lib/components/audits/adm_audits.component.js +7 -5
- package/esm2015/lib/components/enqueues/adm_enq.component.js +7 -5
- package/esm2015/lib/components/metrics/metrics_search.component.js +7 -5
- package/esm2015/lib/components/profiler/adm_profiler.component.js +7 -5
- package/esm2015/lib/components/topact/topact_search.component.js +7 -5
- package/esm2015/lib/components/workers/adm_wrk.component.js +7 -5
- package/esm2015/lib/tokens.js +2 -1
- package/fesm2015/esfaenza-admin-module.js +33 -20
- package/fesm2015/esfaenza-admin-module.js.map +1 -1
- package/lib/components/audits/adm_audits.component.d.ts +2 -1
- package/lib/components/enqueues/adm_enq.component.d.ts +2 -1
- package/lib/components/metrics/metrics_search.component.d.ts +2 -1
- package/lib/components/profiler/adm_profiler.component.d.ts +2 -1
- package/lib/components/topact/topact_search.component.d.ts +2 -1
- package/lib/components/workers/adm_wrk.component.d.ts +2 -1
- package/lib/tokens.d.ts +1 -0
- package/package.json +1 -1
|
@@ -361,7 +361,8 @@
|
|
|
361
361
|
};
|
|
362
362
|
|
|
363
363
|
var ADM_LOCALE = new core.InjectionToken('ADM_LOCALE');
|
|
364
|
-
var ADM_BACKEND_URL = new core.InjectionToken('ADM_BACKEND_URL');
|
|
364
|
+
var ADM_BACKEND_URL = new core.InjectionToken('ADM_BACKEND_URL');
|
|
365
|
+
var ADM_MODULE_PATH = new core.InjectionToken('ADM_MODULE_PATH');
|
|
365
366
|
|
|
366
367
|
var AdmAuditLoc = /** @class */ (function (_super) {
|
|
367
368
|
__extends(AdmAuditLoc, _super);
|
|
@@ -394,7 +395,7 @@
|
|
|
394
395
|
]; };
|
|
395
396
|
|
|
396
397
|
var AdmAuditsComponent = /** @class */ (function () {
|
|
397
|
-
function AdmAuditsComponent(lc, localStorage, _state, http, route, location, backend) {
|
|
398
|
+
function AdmAuditsComponent(lc, localStorage, _state, http, route, location, backend, mod) {
|
|
398
399
|
this.lc = lc;
|
|
399
400
|
this.localStorage = localStorage;
|
|
400
401
|
this._state = _state;
|
|
@@ -402,6 +403,7 @@
|
|
|
402
403
|
this.route = route;
|
|
403
404
|
this.location = location;
|
|
404
405
|
this.backend = backend;
|
|
406
|
+
this.mod = mod;
|
|
405
407
|
this.searchView = new AuditsView();
|
|
406
408
|
this.Actions = [];
|
|
407
409
|
this.HttpMethods = [];
|
|
@@ -441,7 +443,7 @@
|
|
|
441
443
|
return [3 /*break*/, 4];
|
|
442
444
|
case 2:
|
|
443
445
|
this.init(null);
|
|
444
|
-
this.location.replaceState("/pages/
|
|
446
|
+
this.location.replaceState("/pages/" + this.mod + "/serveraudits");
|
|
445
447
|
this.route.snapshot.queryParams = [];
|
|
446
448
|
return [4 /*yield*/, this.localStorage.removeItem("HotAudittato").toPromise()];
|
|
447
449
|
case 3:
|
|
@@ -497,7 +499,8 @@
|
|
|
497
499
|
{ type: httpservice.HTTPService },
|
|
498
500
|
{ type: router.ActivatedRoute },
|
|
499
501
|
{ type: common.Location },
|
|
500
|
-
{ type: String, decorators: [{ type: core.Inject, args: [ADM_BACKEND_URL,] }] }
|
|
502
|
+
{ type: String, decorators: [{ type: core.Inject, args: [ADM_BACKEND_URL,] }] },
|
|
503
|
+
{ type: String, decorators: [{ type: core.Inject, args: [ADM_MODULE_PATH,] }] }
|
|
501
504
|
]; };
|
|
502
505
|
|
|
503
506
|
var ProcessesView = /** @class */ (function (_super) {
|
|
@@ -542,7 +545,7 @@
|
|
|
542
545
|
]; };
|
|
543
546
|
|
|
544
547
|
var AdmWrkComponent = /** @class */ (function () {
|
|
545
|
-
function AdmWrkComponent(utiExts, msgExts, lc, localStorage, _state, http, route, location, backend) {
|
|
548
|
+
function AdmWrkComponent(utiExts, msgExts, lc, localStorage, _state, http, route, location, backend, mod) {
|
|
546
549
|
this.utiExts = utiExts;
|
|
547
550
|
this.msgExts = msgExts;
|
|
548
551
|
this.lc = lc;
|
|
@@ -552,6 +555,7 @@
|
|
|
552
555
|
this.route = route;
|
|
553
556
|
this.location = location;
|
|
554
557
|
this.backend = backend;
|
|
558
|
+
this.mod = mod;
|
|
555
559
|
this.searchView = new ProcessesView();
|
|
556
560
|
this.DynamicOps = [];
|
|
557
561
|
this.valueToShow = "";
|
|
@@ -590,7 +594,7 @@
|
|
|
590
594
|
return [3 /*break*/, 4];
|
|
591
595
|
case 2:
|
|
592
596
|
this.init(null);
|
|
593
|
-
this.location.replaceState("/pages/
|
|
597
|
+
this.location.replaceState("/pages/" + this.mod + "/serverworkers");
|
|
594
598
|
this.route.snapshot.queryParams = [];
|
|
595
599
|
return [4 /*yield*/, this.localStorage.removeItem("HotProcessato").toPromise()];
|
|
596
600
|
case 3:
|
|
@@ -716,7 +720,8 @@
|
|
|
716
720
|
{ type: httpservice.HTTPService },
|
|
717
721
|
{ type: router.ActivatedRoute },
|
|
718
722
|
{ type: common.Location },
|
|
719
|
-
{ type: String, decorators: [{ type: core.Inject, args: [ADM_BACKEND_URL,] }] }
|
|
723
|
+
{ type: String, decorators: [{ type: core.Inject, args: [ADM_BACKEND_URL,] }] },
|
|
724
|
+
{ type: String, decorators: [{ type: core.Inject, args: [ADM_MODULE_PATH,] }] }
|
|
720
725
|
]; };
|
|
721
726
|
AdmWrkComponent.propDecorators = {
|
|
722
727
|
cgFrom: [{ type: core.ViewChild, args: ["cgFrom",] }],
|
|
@@ -861,7 +866,7 @@
|
|
|
861
866
|
]; };
|
|
862
867
|
|
|
863
868
|
var AdmProfilerComponent = /** @class */ (function () {
|
|
864
|
-
function AdmProfilerComponent(expExts, lc, localStorage, location, _state, http, route, backend) {
|
|
869
|
+
function AdmProfilerComponent(expExts, lc, localStorage, location, _state, http, route, backend, mod) {
|
|
865
870
|
this.expExts = expExts;
|
|
866
871
|
this.lc = lc;
|
|
867
872
|
this.localStorage = localStorage;
|
|
@@ -870,6 +875,7 @@
|
|
|
870
875
|
this.http = http;
|
|
871
876
|
this.route = route;
|
|
872
877
|
this.backend = backend;
|
|
878
|
+
this.mod = mod;
|
|
873
879
|
this.searchView = new ProfilerDataNodesView();
|
|
874
880
|
this._state.handleNavigation(this.lc.loc(this.route.snapshot.data["title"]), false);
|
|
875
881
|
}
|
|
@@ -895,7 +901,7 @@
|
|
|
895
901
|
return [3 /*break*/, 4];
|
|
896
902
|
case 2:
|
|
897
903
|
this.init(null);
|
|
898
|
-
this.location.replaceState("/pages/
|
|
904
|
+
this.location.replaceState("/pages/" + this.mod + "/profiler");
|
|
899
905
|
this.route.snapshot.queryParams = [];
|
|
900
906
|
return [4 /*yield*/, this.localStorage.removeItem("HotSearchProfilato").toPromise()];
|
|
901
907
|
case 3:
|
|
@@ -962,7 +968,8 @@
|
|
|
962
968
|
{ type: BaseModuleCommunicationsConsumer },
|
|
963
969
|
{ type: httpservice.HTTPService },
|
|
964
970
|
{ type: router.ActivatedRoute },
|
|
965
|
-
{ type: String, decorators: [{ type: core.Inject, args: [ADM_BACKEND_URL,] }] }
|
|
971
|
+
{ type: String, decorators: [{ type: core.Inject, args: [ADM_BACKEND_URL,] }] },
|
|
972
|
+
{ type: String, decorators: [{ type: core.Inject, args: [ADM_MODULE_PATH,] }] }
|
|
966
973
|
]; };
|
|
967
974
|
|
|
968
975
|
var TopActivitiesDataView = /** @class */ (function (_super) {
|
|
@@ -1006,7 +1013,7 @@
|
|
|
1006
1013
|
]; };
|
|
1007
1014
|
|
|
1008
1015
|
var AdmTopActivitiesComponent = /** @class */ (function () {
|
|
1009
|
-
function AdmTopActivitiesComponent(dateExts, lc, localStorage, location, _state, http, route, backend) {
|
|
1016
|
+
function AdmTopActivitiesComponent(dateExts, lc, localStorage, location, _state, http, route, backend, mod) {
|
|
1010
1017
|
var _a;
|
|
1011
1018
|
this.dateExts = dateExts;
|
|
1012
1019
|
this.lc = lc;
|
|
@@ -1016,6 +1023,7 @@
|
|
|
1016
1023
|
this.http = http;
|
|
1017
1024
|
this.route = route;
|
|
1018
1025
|
this.backend = backend;
|
|
1026
|
+
this.mod = mod;
|
|
1019
1027
|
this.searchView = new TopActivitiesDataView();
|
|
1020
1028
|
this.autoUpdate = false;
|
|
1021
1029
|
this.seconds = "5";
|
|
@@ -1054,7 +1062,7 @@
|
|
|
1054
1062
|
return [3 /*break*/, 4];
|
|
1055
1063
|
case 2:
|
|
1056
1064
|
this.init(null);
|
|
1057
|
-
this.location.replaceState("/pages/
|
|
1065
|
+
this.location.replaceState("/pages/" + this.mod + "/topact");
|
|
1058
1066
|
this.route.snapshot.queryParams = [];
|
|
1059
1067
|
return [4 /*yield*/, this.localStorage.removeItem("HotSearchTopAct").toPromise()];
|
|
1060
1068
|
case 3:
|
|
@@ -1202,7 +1210,8 @@
|
|
|
1202
1210
|
{ type: BaseModuleCommunicationsConsumer },
|
|
1203
1211
|
{ type: httpservice.HTTPService },
|
|
1204
1212
|
{ type: router.ActivatedRoute },
|
|
1205
|
-
{ type: String, decorators: [{ type: core.Inject, args: [ADM_BACKEND_URL,] }] }
|
|
1213
|
+
{ type: String, decorators: [{ type: core.Inject, args: [ADM_BACKEND_URL,] }] },
|
|
1214
|
+
{ type: String, decorators: [{ type: core.Inject, args: [ADM_MODULE_PATH,] }] }
|
|
1206
1215
|
]; };
|
|
1207
1216
|
|
|
1208
1217
|
var LocksView = /** @class */ (function (_super) {
|
|
@@ -1233,7 +1242,7 @@
|
|
|
1233
1242
|
]; };
|
|
1234
1243
|
|
|
1235
1244
|
var AdmEnqComponent = /** @class */ (function () {
|
|
1236
|
-
function AdmEnqComponent(lc, localStorage, expExts, _state, http, route, location, backend) {
|
|
1245
|
+
function AdmEnqComponent(lc, localStorage, expExts, _state, http, route, location, backend, mod) {
|
|
1237
1246
|
this.lc = lc;
|
|
1238
1247
|
this.localStorage = localStorage;
|
|
1239
1248
|
this.expExts = expExts;
|
|
@@ -1242,6 +1251,7 @@
|
|
|
1242
1251
|
this.route = route;
|
|
1243
1252
|
this.location = location;
|
|
1244
1253
|
this.backend = backend;
|
|
1254
|
+
this.mod = mod;
|
|
1245
1255
|
this.locksView = new LocksView();
|
|
1246
1256
|
this._state.handleNavigation(this.lc.loc(this.route.snapshot.data["title"]), false);
|
|
1247
1257
|
}
|
|
@@ -1266,7 +1276,7 @@
|
|
|
1266
1276
|
return [3 /*break*/, 4];
|
|
1267
1277
|
case 2:
|
|
1268
1278
|
this.init(null);
|
|
1269
|
-
this.location.replaceState("/pages/
|
|
1279
|
+
this.location.replaceState("/pages/" + this.mod + "/serverenqueues");
|
|
1270
1280
|
this.route.snapshot.queryParams = [];
|
|
1271
1281
|
return [4 /*yield*/, this.localStorage.removeItem("HotEnqueue").toPromise()];
|
|
1272
1282
|
case 3:
|
|
@@ -1317,7 +1327,8 @@
|
|
|
1317
1327
|
{ type: httpservice.HTTPService },
|
|
1318
1328
|
{ type: router.ActivatedRoute },
|
|
1319
1329
|
{ type: common.Location },
|
|
1320
|
-
{ type: String, decorators: [{ type: core.Inject, args: [ADM_BACKEND_URL,] }] }
|
|
1330
|
+
{ type: String, decorators: [{ type: core.Inject, args: [ADM_BACKEND_URL,] }] },
|
|
1331
|
+
{ type: String, decorators: [{ type: core.Inject, args: [ADM_MODULE_PATH,] }] }
|
|
1321
1332
|
]; };
|
|
1322
1333
|
|
|
1323
1334
|
var KeyValue = /** @class */ (function () {
|
|
@@ -1360,7 +1371,7 @@
|
|
|
1360
1371
|
]; };
|
|
1361
1372
|
|
|
1362
1373
|
var AdmMetricsComponent = /** @class */ (function () {
|
|
1363
|
-
function AdmMetricsComponent(dateExts, lc, localStorage, location, _state, http, route, backend) {
|
|
1374
|
+
function AdmMetricsComponent(dateExts, lc, localStorage, location, _state, http, route, backend, mod) {
|
|
1364
1375
|
this.dateExts = dateExts;
|
|
1365
1376
|
this.lc = lc;
|
|
1366
1377
|
this.localStorage = localStorage;
|
|
@@ -1369,6 +1380,7 @@
|
|
|
1369
1380
|
this.http = http;
|
|
1370
1381
|
this.route = route;
|
|
1371
1382
|
this.backend = backend;
|
|
1383
|
+
this.mod = mod;
|
|
1372
1384
|
this.MetricsChartCache = {};
|
|
1373
1385
|
this.searchView = new MetricsView();
|
|
1374
1386
|
this.autoUpdate = false;
|
|
@@ -1413,7 +1425,7 @@
|
|
|
1413
1425
|
return [3 /*break*/, 4];
|
|
1414
1426
|
case 2:
|
|
1415
1427
|
this.init(null);
|
|
1416
|
-
this.location.replaceState("/pages/
|
|
1428
|
+
this.location.replaceState("/pages/" + this.mod + "/metrics");
|
|
1417
1429
|
this.route.snapshot.queryParams = [];
|
|
1418
1430
|
return [4 /*yield*/, this.localStorage.removeItem("HotSearchMetrics").toPromise()];
|
|
1419
1431
|
case 3:
|
|
@@ -1538,7 +1550,8 @@
|
|
|
1538
1550
|
{ type: BaseModuleCommunicationsConsumer },
|
|
1539
1551
|
{ type: httpservice.HTTPService },
|
|
1540
1552
|
{ type: router.ActivatedRoute },
|
|
1541
|
-
{ type: String, decorators: [{ type: core.Inject, args: [ADM_BACKEND_URL,] }] }
|
|
1553
|
+
{ type: String, decorators: [{ type: core.Inject, args: [ADM_BACKEND_URL,] }] },
|
|
1554
|
+
{ type: String, decorators: [{ type: core.Inject, args: [ADM_MODULE_PATH,] }] }
|
|
1542
1555
|
]; };
|
|
1543
1556
|
|
|
1544
1557
|
// Angular
|
|
@@ -1637,6 +1650,7 @@
|
|
|
1637
1650
|
|
|
1638
1651
|
exports.ADM_BACKEND_URL = ADM_BACKEND_URL;
|
|
1639
1652
|
exports.ADM_LOCALE = ADM_LOCALE;
|
|
1653
|
+
exports.ADM_MODULE_PATH = ADM_MODULE_PATH;
|
|
1640
1654
|
exports.AdmModule = AdmModule;
|
|
1641
1655
|
exports.BaseModuleCommunicationsConsumer = BaseModuleCommunicationsConsumer;
|
|
1642
1656
|
exports.routeConfig = routeConfig;
|