@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
|
@@ -58,7 +58,8 @@ const Repository = {
|
|
|
58
58
|
};
|
|
59
59
|
|
|
60
60
|
const ADM_LOCALE = new InjectionToken('ADM_LOCALE');
|
|
61
|
-
const ADM_BACKEND_URL = new InjectionToken('ADM_BACKEND_URL');
|
|
61
|
+
const ADM_BACKEND_URL = new InjectionToken('ADM_BACKEND_URL');
|
|
62
|
+
const ADM_MODULE_PATH = new InjectionToken('ADM_MODULE_PATH');
|
|
62
63
|
|
|
63
64
|
class AdmAuditLoc extends LocalizationService {
|
|
64
65
|
constructor(LOC_LOCALE) {
|
|
@@ -88,7 +89,7 @@ AdmAuditLoc.ctorParameters = () => [
|
|
|
88
89
|
];
|
|
89
90
|
|
|
90
91
|
class AdmAuditsComponent {
|
|
91
|
-
constructor(lc, localStorage, _state, http, route, location, backend) {
|
|
92
|
+
constructor(lc, localStorage, _state, http, route, location, backend, mod) {
|
|
92
93
|
this.lc = lc;
|
|
93
94
|
this.localStorage = localStorage;
|
|
94
95
|
this._state = _state;
|
|
@@ -96,6 +97,7 @@ class AdmAuditsComponent {
|
|
|
96
97
|
this.route = route;
|
|
97
98
|
this.location = location;
|
|
98
99
|
this.backend = backend;
|
|
100
|
+
this.mod = mod;
|
|
99
101
|
this.searchView = new AuditsView();
|
|
100
102
|
this.Actions = [];
|
|
101
103
|
this.HttpMethods = [];
|
|
@@ -129,7 +131,7 @@ class AdmAuditsComponent {
|
|
|
129
131
|
}
|
|
130
132
|
else {
|
|
131
133
|
this.init(null);
|
|
132
|
-
this.location.replaceState(
|
|
134
|
+
this.location.replaceState(`/pages/${this.mod}/serveraudits`);
|
|
133
135
|
this.route.snapshot.queryParams = [];
|
|
134
136
|
yield this.localStorage.removeItem("HotAudittato").toPromise();
|
|
135
137
|
}
|
|
@@ -177,7 +179,8 @@ AdmAuditsComponent.ctorParameters = () => [
|
|
|
177
179
|
{ type: HTTPService },
|
|
178
180
|
{ type: ActivatedRoute },
|
|
179
181
|
{ type: Location },
|
|
180
|
-
{ type: String, decorators: [{ type: Inject, args: [ADM_BACKEND_URL,] }] }
|
|
182
|
+
{ type: String, decorators: [{ type: Inject, args: [ADM_BACKEND_URL,] }] },
|
|
183
|
+
{ type: String, decorators: [{ type: Inject, args: [ADM_MODULE_PATH,] }] }
|
|
181
184
|
];
|
|
182
185
|
|
|
183
186
|
class ProcessesView extends AppSearch {
|
|
@@ -215,7 +218,7 @@ AdmWrkLoc.ctorParameters = () => [
|
|
|
215
218
|
];
|
|
216
219
|
|
|
217
220
|
class AdmWrkComponent {
|
|
218
|
-
constructor(utiExts, msgExts, lc, localStorage, _state, http, route, location, backend) {
|
|
221
|
+
constructor(utiExts, msgExts, lc, localStorage, _state, http, route, location, backend, mod) {
|
|
219
222
|
this.utiExts = utiExts;
|
|
220
223
|
this.msgExts = msgExts;
|
|
221
224
|
this.lc = lc;
|
|
@@ -225,6 +228,7 @@ class AdmWrkComponent {
|
|
|
225
228
|
this.route = route;
|
|
226
229
|
this.location = location;
|
|
227
230
|
this.backend = backend;
|
|
231
|
+
this.mod = mod;
|
|
228
232
|
this.searchView = new ProcessesView();
|
|
229
233
|
this.DynamicOps = [];
|
|
230
234
|
this.valueToShow = "";
|
|
@@ -257,7 +261,7 @@ class AdmWrkComponent {
|
|
|
257
261
|
}
|
|
258
262
|
else {
|
|
259
263
|
this.init(null);
|
|
260
|
-
this.location.replaceState(
|
|
264
|
+
this.location.replaceState(`/pages/${this.mod}/serverworkers`);
|
|
261
265
|
this.route.snapshot.queryParams = [];
|
|
262
266
|
yield this.localStorage.removeItem("HotProcessato").toPromise();
|
|
263
267
|
}
|
|
@@ -370,7 +374,8 @@ AdmWrkComponent.ctorParameters = () => [
|
|
|
370
374
|
{ type: HTTPService },
|
|
371
375
|
{ type: ActivatedRoute },
|
|
372
376
|
{ type: Location },
|
|
373
|
-
{ type: String, decorators: [{ type: Inject, args: [ADM_BACKEND_URL,] }] }
|
|
377
|
+
{ type: String, decorators: [{ type: Inject, args: [ADM_BACKEND_URL,] }] },
|
|
378
|
+
{ type: String, decorators: [{ type: Inject, args: [ADM_MODULE_PATH,] }] }
|
|
374
379
|
];
|
|
375
380
|
AdmWrkComponent.propDecorators = {
|
|
376
381
|
cgFrom: [{ type: ViewChild, args: ["cgFrom",] }],
|
|
@@ -505,7 +510,7 @@ AdmProfilerComponentLoc.ctorParameters = () => [
|
|
|
505
510
|
];
|
|
506
511
|
|
|
507
512
|
class AdmProfilerComponent {
|
|
508
|
-
constructor(expExts, lc, localStorage, location, _state, http, route, backend) {
|
|
513
|
+
constructor(expExts, lc, localStorage, location, _state, http, route, backend, mod) {
|
|
509
514
|
this.expExts = expExts;
|
|
510
515
|
this.lc = lc;
|
|
511
516
|
this.localStorage = localStorage;
|
|
@@ -514,6 +519,7 @@ class AdmProfilerComponent {
|
|
|
514
519
|
this.http = http;
|
|
515
520
|
this.route = route;
|
|
516
521
|
this.backend = backend;
|
|
522
|
+
this.mod = mod;
|
|
517
523
|
this.searchView = new ProfilerDataNodesView();
|
|
518
524
|
this._state.handleNavigation(this.lc.loc(this.route.snapshot.data["title"]), false);
|
|
519
525
|
}
|
|
@@ -533,7 +539,7 @@ class AdmProfilerComponent {
|
|
|
533
539
|
}
|
|
534
540
|
else {
|
|
535
541
|
this.init(null);
|
|
536
|
-
this.location.replaceState(
|
|
542
|
+
this.location.replaceState(`/pages/${this.mod}/profiler`);
|
|
537
543
|
this.route.snapshot.queryParams = [];
|
|
538
544
|
yield this.localStorage.removeItem("HotSearchProfilato").toPromise();
|
|
539
545
|
}
|
|
@@ -591,7 +597,8 @@ AdmProfilerComponent.ctorParameters = () => [
|
|
|
591
597
|
{ type: BaseModuleCommunicationsConsumer },
|
|
592
598
|
{ type: HTTPService },
|
|
593
599
|
{ type: ActivatedRoute },
|
|
594
|
-
{ type: String, decorators: [{ type: Inject, args: [ADM_BACKEND_URL,] }] }
|
|
600
|
+
{ type: String, decorators: [{ type: Inject, args: [ADM_BACKEND_URL,] }] },
|
|
601
|
+
{ type: String, decorators: [{ type: Inject, args: [ADM_MODULE_PATH,] }] }
|
|
595
602
|
];
|
|
596
603
|
|
|
597
604
|
class TopActivitiesDataView extends AppSearch {
|
|
@@ -628,7 +635,7 @@ AdmTopActivitieLoc.ctorParameters = () => [
|
|
|
628
635
|
];
|
|
629
636
|
|
|
630
637
|
class AdmTopActivitiesComponent {
|
|
631
|
-
constructor(dateExts, lc, localStorage, location, _state, http, route, backend) {
|
|
638
|
+
constructor(dateExts, lc, localStorage, location, _state, http, route, backend, mod) {
|
|
632
639
|
this.dateExts = dateExts;
|
|
633
640
|
this.lc = lc;
|
|
634
641
|
this.localStorage = localStorage;
|
|
@@ -637,6 +644,7 @@ class AdmTopActivitiesComponent {
|
|
|
637
644
|
this.http = http;
|
|
638
645
|
this.route = route;
|
|
639
646
|
this.backend = backend;
|
|
647
|
+
this.mod = mod;
|
|
640
648
|
this.searchView = new TopActivitiesDataView();
|
|
641
649
|
this.autoUpdate = false;
|
|
642
650
|
this.seconds = "5";
|
|
@@ -669,7 +677,7 @@ class AdmTopActivitiesComponent {
|
|
|
669
677
|
}
|
|
670
678
|
else {
|
|
671
679
|
this.init(null);
|
|
672
|
-
this.location.replaceState(
|
|
680
|
+
this.location.replaceState(`/pages/${this.mod}/topact`);
|
|
673
681
|
this.route.snapshot.queryParams = [];
|
|
674
682
|
yield this.localStorage.removeItem("HotSearchTopAct").toPromise();
|
|
675
683
|
}
|
|
@@ -796,7 +804,8 @@ AdmTopActivitiesComponent.ctorParameters = () => [
|
|
|
796
804
|
{ type: BaseModuleCommunicationsConsumer },
|
|
797
805
|
{ type: HTTPService },
|
|
798
806
|
{ type: ActivatedRoute },
|
|
799
|
-
{ type: String, decorators: [{ type: Inject, args: [ADM_BACKEND_URL,] }] }
|
|
807
|
+
{ type: String, decorators: [{ type: Inject, args: [ADM_BACKEND_URL,] }] },
|
|
808
|
+
{ type: String, decorators: [{ type: Inject, args: [ADM_MODULE_PATH,] }] }
|
|
800
809
|
];
|
|
801
810
|
|
|
802
811
|
class LocksView extends AppSearch {
|
|
@@ -820,7 +829,7 @@ AdmEnqLoc.ctorParameters = () => [
|
|
|
820
829
|
];
|
|
821
830
|
|
|
822
831
|
class AdmEnqComponent {
|
|
823
|
-
constructor(lc, localStorage, expExts, _state, http, route, location, backend) {
|
|
832
|
+
constructor(lc, localStorage, expExts, _state, http, route, location, backend, mod) {
|
|
824
833
|
this.lc = lc;
|
|
825
834
|
this.localStorage = localStorage;
|
|
826
835
|
this.expExts = expExts;
|
|
@@ -829,6 +838,7 @@ class AdmEnqComponent {
|
|
|
829
838
|
this.route = route;
|
|
830
839
|
this.location = location;
|
|
831
840
|
this.backend = backend;
|
|
841
|
+
this.mod = mod;
|
|
832
842
|
this.locksView = new LocksView();
|
|
833
843
|
this._state.handleNavigation(this.lc.loc(this.route.snapshot.data["title"]), false);
|
|
834
844
|
}
|
|
@@ -847,7 +857,7 @@ class AdmEnqComponent {
|
|
|
847
857
|
}
|
|
848
858
|
else {
|
|
849
859
|
this.init(null);
|
|
850
|
-
this.location.replaceState(
|
|
860
|
+
this.location.replaceState(`/pages/${this.mod}/serverenqueues`);
|
|
851
861
|
this.route.snapshot.queryParams = [];
|
|
852
862
|
yield this.localStorage.removeItem("HotEnqueue").toPromise();
|
|
853
863
|
}
|
|
@@ -890,7 +900,8 @@ AdmEnqComponent.ctorParameters = () => [
|
|
|
890
900
|
{ type: HTTPService },
|
|
891
901
|
{ type: ActivatedRoute },
|
|
892
902
|
{ type: Location },
|
|
893
|
-
{ type: String, decorators: [{ type: Inject, args: [ADM_BACKEND_URL,] }] }
|
|
903
|
+
{ type: String, decorators: [{ type: Inject, args: [ADM_BACKEND_URL,] }] },
|
|
904
|
+
{ type: String, decorators: [{ type: Inject, args: [ADM_MODULE_PATH,] }] }
|
|
894
905
|
];
|
|
895
906
|
|
|
896
907
|
class KeyValue {
|
|
@@ -925,7 +936,7 @@ AdmMetricsLoc.ctorParameters = () => [
|
|
|
925
936
|
];
|
|
926
937
|
|
|
927
938
|
class AdmMetricsComponent {
|
|
928
|
-
constructor(dateExts, lc, localStorage, location, _state, http, route, backend) {
|
|
939
|
+
constructor(dateExts, lc, localStorage, location, _state, http, route, backend, mod) {
|
|
929
940
|
this.dateExts = dateExts;
|
|
930
941
|
this.lc = lc;
|
|
931
942
|
this.localStorage = localStorage;
|
|
@@ -934,6 +945,7 @@ class AdmMetricsComponent {
|
|
|
934
945
|
this.http = http;
|
|
935
946
|
this.route = route;
|
|
936
947
|
this.backend = backend;
|
|
948
|
+
this.mod = mod;
|
|
937
949
|
this.MetricsChartCache = {};
|
|
938
950
|
this.searchView = new MetricsView();
|
|
939
951
|
this.autoUpdate = false;
|
|
@@ -971,7 +983,7 @@ class AdmMetricsComponent {
|
|
|
971
983
|
}
|
|
972
984
|
else {
|
|
973
985
|
this.init(null);
|
|
974
|
-
this.location.replaceState(
|
|
986
|
+
this.location.replaceState(`/pages/${this.mod}/metrics`);
|
|
975
987
|
this.route.snapshot.queryParams = [];
|
|
976
988
|
yield this.localStorage.removeItem("HotSearchMetrics").toPromise();
|
|
977
989
|
}
|
|
@@ -1079,7 +1091,8 @@ AdmMetricsComponent.ctorParameters = () => [
|
|
|
1079
1091
|
{ type: BaseModuleCommunicationsConsumer },
|
|
1080
1092
|
{ type: HTTPService },
|
|
1081
1093
|
{ type: ActivatedRoute },
|
|
1082
|
-
{ type: String, decorators: [{ type: Inject, args: [ADM_BACKEND_URL,] }] }
|
|
1094
|
+
{ type: String, decorators: [{ type: Inject, args: [ADM_BACKEND_URL,] }] },
|
|
1095
|
+
{ type: String, decorators: [{ type: Inject, args: [ADM_MODULE_PATH,] }] }
|
|
1083
1096
|
];
|
|
1084
1097
|
|
|
1085
1098
|
// Angular
|
|
@@ -1172,5 +1185,5 @@ AdmModule.decorators = [
|
|
|
1172
1185
|
* Generated bundle index. Do not edit.
|
|
1173
1186
|
*/
|
|
1174
1187
|
|
|
1175
|
-
export { ADM_BACKEND_URL, ADM_LOCALE, AdmModule, BaseModuleCommunicationsConsumer, routeConfig, ɵ0, ɵ1, ɵ2, ɵ3, ɵ4, ɵ5, ɵ6, AdmWrkComponent as ɵa, AdmWrkLoc as ɵb, AdmProfilerComponent as ɵc, AdmProfilerComponentLoc as ɵd, AdmTopActivitiesComponent as ɵe, AdmTopActivitieLoc as ɵf, AdmMetricsComponent as ɵg, AdmMetricsLoc as ɵh, AdmLogsComponent as ɵi, AdmAuditsComponent as ɵj, AdmAuditLoc as ɵk, AdmEnqComponent as ɵl, AdmEnqLoc as ɵm };
|
|
1188
|
+
export { ADM_BACKEND_URL, ADM_LOCALE, ADM_MODULE_PATH, AdmModule, BaseModuleCommunicationsConsumer, routeConfig, ɵ0, ɵ1, ɵ2, ɵ3, ɵ4, ɵ5, ɵ6, AdmWrkComponent as ɵa, AdmWrkLoc as ɵb, AdmProfilerComponent as ɵc, AdmProfilerComponentLoc as ɵd, AdmTopActivitiesComponent as ɵe, AdmTopActivitieLoc as ɵf, AdmMetricsComponent as ɵg, AdmMetricsLoc as ɵh, AdmLogsComponent as ɵi, AdmAuditsComponent as ɵj, AdmAuditLoc as ɵk, AdmEnqComponent as ɵl, AdmEnqLoc as ɵm };
|
|
1176
1189
|
//# sourceMappingURL=esfaenza-admin-module.js.map
|