@esfaenza/admin-module 11.2.11 → 11.2.14

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.
Files changed (29) hide show
  1. package/bundles/esfaenza-admin-module.umd.js +187 -12
  2. package/bundles/esfaenza-admin-module.umd.js.map +1 -1
  3. package/bundles/esfaenza-admin-module.umd.min.js +2 -2
  4. package/bundles/esfaenza-admin-module.umd.min.js.map +1 -1
  5. package/esfaenza-admin-module.d.ts +6 -3
  6. package/esfaenza-admin-module.metadata.json +1 -1
  7. package/esm2015/esfaenza-admin-module.js +7 -4
  8. package/esm2015/lib/admin-module.module.js +17 -9
  9. package/esm2015/lib/components/_shared/node_detail.component.js +2 -2
  10. package/esm2015/lib/components/_shared/node_detail.component.loc.js +3 -1
  11. package/esm2015/lib/components/dynamic_views/adm_dynamic_views.component.js +113 -0
  12. package/esm2015/lib/components/dynamic_views/adm_dynamic_views.component.loc.js +19 -0
  13. package/esm2015/lib/components/profiler/adm_profiler.component.js +2 -2
  14. package/esm2015/lib/models/components/DynamicViewsView.js +5 -0
  15. package/esm2015/lib/models/components/NodeStats.js +1 -1
  16. package/esm2015/lib/models/components/NodeWaitStack.js +3 -0
  17. package/esm2015/lib/models/externals/Repository.js +3 -1
  18. package/esm2015/lib/pipes/format_time.pipe.js +23 -0
  19. package/fesm2015/esfaenza-admin-module.js +159 -11
  20. package/fesm2015/esfaenza-admin-module.js.map +1 -1
  21. package/lib/admin-module.module.d.ts +8 -0
  22. package/lib/components/dynamic_views/adm_dynamic_views.component.d.ts +31 -0
  23. package/lib/components/dynamic_views/adm_dynamic_views.component.loc.d.ts +4 -0
  24. package/lib/models/components/DynamicViewsView.d.ts +5 -0
  25. package/lib/models/components/NodeStats.d.ts +2 -0
  26. package/lib/models/components/NodeWaitStack.d.ts +6 -0
  27. package/lib/models/externals/Repository.d.ts +2 -0
  28. package/lib/pipes/format_time.pipe.d.ts +6 -0
  29. package/package.json +1 -1
@@ -5,6 +5,7 @@ import { AdmTopActivitiesComponent } from "./components/topact/topact_search.com
5
5
  import { AdmEnqComponent } from "./components/enqueues/adm_enq.component";
6
6
  import { AdmMetricsComponent } from "./components/metrics/metrics_search.component";
7
7
  import { AdmLogsComponent } from "./components/logs/adm_logs.component";
8
+ import { AdmDynamicViewsComponent } from "./components/dynamic_views/adm_dynamic_views.component";
8
9
  import { AdminModuleCommService } from "./admin-module.comms.service";
9
10
  export declare const routeConfig: {
10
11
  path: string;
@@ -57,6 +58,13 @@ export declare const routeConfig: {
57
58
  title: string;
58
59
  internalNavigation: boolean;
59
60
  };
61
+ } | {
62
+ path: string;
63
+ component: typeof AdmDynamicViewsComponent;
64
+ data: {
65
+ title: string;
66
+ internalNavigation: boolean;
67
+ };
60
68
  })[];
61
69
  }[];
62
70
  export declare class AdmModule {
@@ -0,0 +1,31 @@
1
+ import { ActivatedRoute } from "@angular/router";
2
+ import { Location } from "@angular/common";
3
+ import { LocalizationService } from "@esfaenza/localizations";
4
+ import { PreferencesService } from "@esfaenza/preferences";
5
+ import { InterComService } from "@esfaenza/extensions";
6
+ import { HTTPService } from "@esfaenza/httpservice";
7
+ import { DynamicViewsView } from "../../models/components/DynamicViewsView";
8
+ import { KeyValue } from "../../models/shared/KeyValue";
9
+ export declare class AdmDynamicViewsComponent {
10
+ lc: LocalizationService;
11
+ private intercom;
12
+ private localStorage;
13
+ private http;
14
+ private route;
15
+ private location;
16
+ private backend;
17
+ private mod;
18
+ searchView: DynamicViewsView;
19
+ Names: KeyValue[];
20
+ searchInProgress: boolean;
21
+ storageSub: any;
22
+ badSearch: boolean;
23
+ currentName: string;
24
+ constructor(lc: LocalizationService, intercom: InterComService, localStorage: PreferencesService, http: HTTPService, route: ActivatedRoute, location: Location, backend: string, mod: string);
25
+ ngOnInit(): void;
26
+ ngOnDestroy(): void;
27
+ Init(ignoreStorage: any): Promise<void>;
28
+ init(HotPotato: DynamicViewsView): void;
29
+ sendSearch(resetPage?: boolean): void;
30
+ POSTGetItems(url: string, data: DynamicViewsView): void;
31
+ }
@@ -0,0 +1,4 @@
1
+ import { LocalizationService } from "@esfaenza/localizations";
2
+ export declare class AdmDynamicViewsLoc extends LocalizationService {
3
+ constructor(LOC_LOCALE: string);
4
+ }
@@ -0,0 +1,5 @@
1
+ import { AppSearch, GenericItem } from "@esfaenza/es-table";
2
+ export declare class DynamicViewsView extends AppSearch<GenericItem> {
3
+ constructor();
4
+ filtername: string;
5
+ }
@@ -1,4 +1,5 @@
1
1
  import { DateValue, LineChartData, PieChartData } from "@esfaenza/es-charts";
2
+ import { NodeWaitStack } from "./NodeWaitStack";
2
3
  export declare class NodeStats {
3
4
  nodeid: string;
4
5
  nodedescription: string;
@@ -16,6 +17,7 @@ export declare class NodeStats {
16
17
  networkperc: number;
17
18
  throttleperc: number;
18
19
  sleepperc: number;
20
+ waitstack: NodeWaitStack[];
19
21
  sessionchart: LineChartData;
20
22
  loadchart: PieChartData;
21
23
  }
@@ -0,0 +1,6 @@
1
+ export declare class NodeWaitStack {
2
+ nodeid: string;
3
+ nodedescription: string;
4
+ eventtypedesc: string;
5
+ waitclassname: string;
6
+ }
@@ -7,8 +7,10 @@ export declare const Repository: {
7
7
  POST_Adm_GetMetrics: string;
8
8
  POST_Adm_GetProfilerDataNodes: string;
9
9
  POST_Adm_GetServerAudits: string;
10
+ POST_Adm_GetDynamicViewData: string;
10
11
  POST_Adm_GetServerLocks: string;
11
12
  GET_Adm_GetServerLogs: string;
13
+ GET_Adm_GetDynamicViews: string;
12
14
  POST_Adm_GetServerWorkers: string;
13
15
  POST_Adm_GetTopActivities: string;
14
16
  GET_Adm_GetWorkerStatus: string;
@@ -0,0 +1,6 @@
1
+ import { PipeTransform } from "@angular/core";
2
+ export declare class FormatTimePipe implements PipeTransform {
3
+ constructor();
4
+ transform(value: number | string): string;
5
+ secondsToHms(d: number | string): string;
6
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esfaenza/admin-module",
3
- "version": "11.2.11",
3
+ "version": "11.2.14",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "11.2.14",
6
6
  "@angular/core": "11.2.14",