@esfaenza/admin-module 20.3.22 → 20.3.24

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/index.d.ts CHANGED
@@ -1,33 +1,33 @@
1
- import * as i32 from '@angular/router';
1
+ import * as i34 from '@angular/router';
2
2
  import { ActivatedRoute, Router, CanMatchFn } from '@angular/router';
3
- import * as i18 from '@angular/common';
3
+ import * as i20 from '@angular/common';
4
4
  import { Location } from '@angular/common';
5
- import * as i24 from '@esfaenza/localizations';
5
+ import * as i26 from '@esfaenza/localizations';
6
6
  import { LocalizationService } from '@esfaenza/localizations';
7
7
  import { PreferencesService } from '@esfaenza/preferences';
8
- import * as i25 from '@esfaenza/extensions';
8
+ import * as i27 from '@esfaenza/extensions';
9
9
  import { MessageService, ClipboardService, InterComService, UtilityService, DateService, ExportService } from '@esfaenza/extensions';
10
- import * as i26 from '@esfaenza/es-table';
10
+ import * as i28 from '@esfaenza/es-table';
11
11
  import { AppSearch, GenericItem, EsTableOperationDefinition, ItemsSelection } from '@esfaenza/es-table';
12
12
  import * as i0 from '@angular/core';
13
- import { Injector, ElementRef, OnInit, OnChanges, OnDestroy, EventEmitter, NgZone, PipeTransform, InjectionToken } from '@angular/core';
13
+ import { Injector, OnChanges, OnDestroy, EventEmitter, ElementRef, OnInit, NgZone, PipeTransform, InjectionToken } from '@angular/core';
14
14
  import { HTTPService } from '@esfaenza/httpservice';
15
15
  import { Observable, ReplaySubject } from 'rxjs';
16
16
  import { KeyValue as KeyValue$1 } from '@esfaenza/core/domain';
17
- import * as i29 from '@esfaenza/es-charts';
17
+ import * as i31 from '@esfaenza/es-charts';
18
18
  import { DateValue, LineChartData, PieChartData, LineSerie, BaseChartComponent } from '@esfaenza/es-charts';
19
- import * as i19 from '@angular/forms';
19
+ import * as i21 from '@angular/forms';
20
20
  import { NgForm } from '@angular/forms';
21
- import * as i20 from 'ngx-bootstrap/modal';
21
+ import * as i22 from 'ngx-bootstrap/modal';
22
22
  import { ModalDirective } from 'ngx-bootstrap/modal';
23
23
  import { SafeHtml, DomSanitizer } from '@angular/platform-browser';
24
- import * as i21 from 'ngx-bootstrap/tooltip';
25
- import * as i22 from 'ngx-bootstrap/dropdown';
26
- import * as i23 from '@esfaenza/ngx-contextmenu';
27
- import * as i27 from '@esfaenza/forms-and-validations';
28
- import * as i28 from '@esfaenza/gertrude';
29
- import * as i30 from '@esfaenza/core/components';
30
- import * as i31 from '@esfaenza/core/directives';
24
+ import * as i23 from 'ngx-bootstrap/tooltip';
25
+ import * as i24 from 'ngx-bootstrap/dropdown';
26
+ import * as i25 from '@esfaenza/ngx-contextmenu';
27
+ import * as i29 from '@esfaenza/forms-and-validations';
28
+ import * as i30 from '@esfaenza/gertrude';
29
+ import * as i32 from '@esfaenza/core/components';
30
+ import * as i33 from '@esfaenza/core/directives';
31
31
 
32
32
  declare class Audit {
33
33
  timestamp: Date;
@@ -151,7 +151,8 @@ declare enum TopActivityDimension {
151
151
  ConsumerGroup = 10,
152
152
  ThreadType = 11,
153
153
  Api = 12,
154
- Machine = 13
154
+ Machine = 13,
155
+ Thread = 14
155
156
  }
156
157
  declare enum TopActivityDataSource {
157
158
  Memory = 0,
@@ -628,6 +629,158 @@ declare class MetricsV2Sample {
628
629
  intervalMean: number;
629
630
  }
630
631
 
632
+ declare class NodeDetailV2Request {
633
+ nodeId: string;
634
+ realTime: boolean;
635
+ global?: boolean;
636
+ instanceId?: string;
637
+ snapFrom?: string;
638
+ snapTo?: string;
639
+ }
640
+ declare class SessionDetailV2Request {
641
+ instanceId: string;
642
+ sid: number;
643
+ serial: number;
644
+ realTime: boolean;
645
+ snapFrom?: string;
646
+ snapTo?: string;
647
+ dimension?: TopActivityDimension;
648
+ resolution?: TopActivityResolution;
649
+ }
650
+ declare class NodeDetailV2PathItem {
651
+ nodeId: string;
652
+ nodeName: string;
653
+ eventTypeName: string;
654
+ waitClassName: string;
655
+ }
656
+ declare class NodeDetailV2Descendant extends NodeDetailV2PathItem {
657
+ depth: number;
658
+ executions: number;
659
+ elapsedTime: number;
660
+ elapsedTimeLessChildren: number;
661
+ percentage: number;
662
+ }
663
+ declare class NodeDetailV2Instance {
664
+ instanceId: string;
665
+ executions: number;
666
+ elapsedTime: number;
667
+ elapsedTimeLessChildren: number;
668
+ activeThreads: number;
669
+ }
670
+ declare class NodeDetailV2ActivityPoint {
671
+ timestamp: string;
672
+ activity: number;
673
+ }
674
+ declare class NodeDetailV2ActivityClass {
675
+ key: string;
676
+ label: string;
677
+ other: boolean;
678
+ activity: number;
679
+ percentage: number;
680
+ values: number[];
681
+ }
682
+ declare class NodeDetailV2 {
683
+ nodeId: string;
684
+ nodeName: string;
685
+ eventTypeName: string;
686
+ waitClassName: string;
687
+ fullWaitStack: NodeDetailV2PathItem[];
688
+ foundInInstanceIds: string[];
689
+ parentNodeId: string;
690
+ numChildren: number;
691
+ numDescendants: number;
692
+ instances: NodeDetailV2Instance[];
693
+ snapFrom: string;
694
+ snapTo: string;
695
+ executions: number;
696
+ elapsedTime: number;
697
+ elapsedTimeLessChildren: number;
698
+ avgTime: number;
699
+ peakTime: number;
700
+ minTime: number;
701
+ snapDeltaExecutions: number;
702
+ snapDeltaElapsedTime: number;
703
+ snapDeltaElapsedTimeLessChildren: number;
704
+ snapDeltaAvgTime: number;
705
+ snapDeltaPeakTime: number;
706
+ snapDeltaMinTime: number;
707
+ activeThreads: number;
708
+ activeMaxTime: number;
709
+ lastExitTime: string;
710
+ cpuPerc: number;
711
+ waitPerc: number;
712
+ dbPerc: number;
713
+ scriptPerc: number;
714
+ ioPerc: number;
715
+ networkPerc: number;
716
+ throttlePerc: number;
717
+ sleepPerc: number;
718
+ idlePerc: number;
719
+ topDescendants: NodeDetailV2Descendant[];
720
+ activityFrom: string;
721
+ activityTo: string;
722
+ bucketSeconds: number;
723
+ activeSessions: NodeDetailV2ActivityPoint[];
724
+ activityByClass: NodeDetailV2ActivityClass[];
725
+ averageActiveSessions: number;
726
+ peakActiveSessions: number;
727
+ memoryFrom: string;
728
+ }
729
+ declare class SessionThreadV2 {
730
+ tid: number;
731
+ name: string;
732
+ type: string;
733
+ currentStatus: string;
734
+ priority: string;
735
+ creationTime: string;
736
+ currentApi: string;
737
+ machineName: string;
738
+ inWait: boolean;
739
+ currentWait: string;
740
+ currentWaitNodeId: string;
741
+ waitEventTypeName: string;
742
+ waitClassName: string;
743
+ waitParam1: string;
744
+ waitParam2: string;
745
+ waitParam3: string;
746
+ waitStartTime: string;
747
+ waitTime: number;
748
+ fullWaitStack: string;
749
+ }
750
+ declare class SessionLongOpV2 {
751
+ tid: number;
752
+ opName: string;
753
+ target: string;
754
+ targetDesc: string;
755
+ soFar: number;
756
+ totalWork: number;
757
+ units: string;
758
+ startTime: string;
759
+ lastUpdateTime: string;
760
+ elapsedSeconds: number;
761
+ timeRemaining: number;
762
+ message: string;
763
+ }
764
+ declare class SessionDetailV2 {
765
+ instanceId: string;
766
+ sid: number;
767
+ serialNo: number;
768
+ connected: boolean;
769
+ currentStatus: string;
770
+ user: string;
771
+ tenant: string;
772
+ type: string;
773
+ resourceConsumerGroup: string;
774
+ bgSessionName: string;
775
+ jobName: string;
776
+ startTime: string;
777
+ numThreads: number;
778
+ lastSampleTime: string;
779
+ topActivity: TopActivityV2Response;
780
+ threads: SessionThreadV2[];
781
+ longOps: SessionLongOpV2[];
782
+ }
783
+
631
784
  declare class MetricChart extends LineChartData {
632
785
  xtitle: string;
633
786
  ytitle: string;
@@ -718,6 +871,9 @@ declare class AdminModuleBaseService {
718
871
  getInfos(be: string): Promise<DirectorInfos>;
719
872
  getNodeStats(be: string, nodeId: string, global?: boolean): Promise<NodeStats>;
720
873
  getSessionStats(be: string, sid: string, serial: string, instance: string): Promise<SessionStats>;
874
+ getNodeDetailV2(be: string, req: NodeDetailV2Request): Promise<NodeDetailV2>;
875
+ getSessionDetailV2(be: string, req: SessionDetailV2Request): Promise<SessionDetailV2>;
876
+ private queryParams;
721
877
  getProfilerDataNodes(be: string, sv: ProfilerDataNodesView): Promise<ProfilerDataNodesView>;
722
878
  downloadWorkloadReport(be: string, from: string, to: string, global?: boolean): void;
723
879
  getWorkloadReportV2(be: string, req: WorkloadReportV2Request): Observable<string>;
@@ -817,6 +973,185 @@ declare class AdmWrkComponent {
817
973
  static ɵcmp: i0.ɵɵComponentDeclaration<AdmWrkComponent, "adm_wrk", never, {}, {}, never, never, false, never>;
818
974
  }
819
975
 
976
+ declare class ActivityChartV2Component_Item {
977
+ key: string;
978
+ label: string;
979
+ other: boolean;
980
+ activity: number;
981
+ percentage: number;
982
+ values: number[];
983
+ }
984
+ declare class LegendItem {
985
+ label: string;
986
+ color: string;
987
+ percentage: number;
988
+ }
989
+ /**
990
+ * Grafico impilato delle sessioni attive medie, con le regole e i colori del grafico della Top Activity v2:
991
+ * un gradino per bucket, una serie per componente (l'ultimo, "altri", in grigio) e la legenda sotto.
992
+ * Lo usano i dettagli v2 di nodo (per classe di attesa) e di sessione (la sua Top Activity)
993
+ */
994
+ declare class ActivityChartV2Component implements OnChanges {
995
+ Times: string[];
996
+ Components: ActivityChartV2Component_Item[];
997
+ BucketSeconds: number;
998
+ FixedColors: boolean;
999
+ Uom: string;
1000
+ EmptyText: string;
1001
+ name: string;
1002
+ chartData: LineChartData;
1003
+ legend: LegendItem[];
1004
+ get emptyText(): string;
1005
+ ngOnChanges(): void;
1006
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActivityChartV2Component, never>;
1007
+ static ɵcmp: i0.ɵɵComponentDeclaration<ActivityChartV2Component, "activity-chart-v2", never, { "Times": { "alias": "Times"; "required": false; }; "Components": { "alias": "Components"; "required": false; }; "BucketSeconds": { "alias": "BucketSeconds"; "required": false; }; "FixedColors": { "alias": "FixedColors"; "required": false; }; "Uom": { "alias": "Uom"; "required": false; }; "EmptyText": { "alias": "EmptyText"; "required": false; }; "name": { "alias": "name"; "required": false; }; }, {}, never, never, false, never>;
1008
+ }
1009
+
1010
+ declare class DetailsV2Entry {
1011
+ kind: "node" | "session";
1012
+ nodeId?: string;
1013
+ global?: boolean;
1014
+ instanceId?: string;
1015
+ sid?: number;
1016
+ serial?: number;
1017
+ dimension?: TopActivityDimension;
1018
+ resolution?: TopActivityResolution;
1019
+ from: number;
1020
+ to: number;
1021
+ anchored: boolean;
1022
+ realTime: boolean;
1023
+ }
1024
+ declare class DetailsV2Options {
1025
+ from: Date;
1026
+ to: Date;
1027
+ global?: boolean;
1028
+ instanceId?: string;
1029
+ memoryFrom?: Date;
1030
+ realTime?: boolean;
1031
+ refreshSeconds?: number;
1032
+ }
1033
+ declare class DetailsV2EventLink {
1034
+ nodeId: string;
1035
+ nodeName: string;
1036
+ from: Date;
1037
+ to: Date;
1038
+ }
1039
+ declare class StatRow {
1040
+ label: string;
1041
+ total: number;
1042
+ snap: number;
1043
+ kind: "int" | "dur";
1044
+ }
1045
+ declare class TypePart {
1046
+ label: string;
1047
+ color: string;
1048
+ percentage: number;
1049
+ idle: boolean;
1050
+ }
1051
+ /**
1052
+ * Dettaglio di un nodo del profiler e di una sessione (specifica "Dettaglio nodo e sessione"), in una finestra di dialogo con la pila
1053
+ * di navigazione: dalla sessione si apre il nodo di un evento, dal nodo i suoi antenati e discendenti, "Indietro" torna al precedente.
1054
+ * Le chiamate sono GetNodeStats e GetSessionStats con DirectorFeature.DetailsV2 attivo
1055
+ */
1056
+ declare class AdmDetailsV2Component implements OnDestroy {
1057
+ lc: LocalizationService;
1058
+ private dateExts;
1059
+ private adms;
1060
+ Be: string;
1061
+ CanShowSessions: boolean;
1062
+ CanOpenProfiler: boolean;
1063
+ closed: EventEmitter<void>;
1064
+ sessionsOnEvent: EventEmitter<DetailsV2EventLink>;
1065
+ openProfiler: EventEmitter<string>;
1066
+ readonly Dim: typeof TopActivityDimension;
1067
+ readonly QuickRanges: number[];
1068
+ stack: DetailsV2Entry[];
1069
+ node: NodeDetailV2;
1070
+ session: SessionDetailV2;
1071
+ loading: boolean;
1072
+ notFound: boolean;
1073
+ error: string;
1074
+ updatedAt: Date;
1075
+ paused: boolean;
1076
+ refreshSeconds: number;
1077
+ filterfrom: string;
1078
+ filterto: string;
1079
+ windowClamped: boolean;
1080
+ nodeChartTimes: string[];
1081
+ nodeChart: ActivityChartV2Component_Item[];
1082
+ nodeStats: StatRow[];
1083
+ typeParts: TypePart[];
1084
+ sessionChart: ActivityChartV2Component_Item[];
1085
+ sessionTables: TopActivityV2Table[];
1086
+ expandedTid: number;
1087
+ highlightedTid: number;
1088
+ copied: boolean;
1089
+ Dimensions: KeyValue[];
1090
+ Resolutions: KeyValue[];
1091
+ now: number;
1092
+ private loadedAt;
1093
+ private colors;
1094
+ private refreshTimer;
1095
+ private tickTimer;
1096
+ private visible;
1097
+ private requestId;
1098
+ constructor(lc: LocalizationService, dateExts: DateService, adms: AdminModuleBaseService);
1099
+ ngOnDestroy(): void;
1100
+ get current(): DetailsV2Entry;
1101
+ openNode(nodeId: string, o: DetailsV2Options): void;
1102
+ openSession(instanceId: string, sid: number, serial: number, o: DetailsV2Options): void;
1103
+ pushNode(nodeId: string): void;
1104
+ back(): void;
1105
+ close(): void;
1106
+ stop(): void;
1107
+ private start;
1108
+ private window;
1109
+ load(refresh?: boolean): Promise<void>;
1110
+ private nodeRequest;
1111
+ private sessionRequest;
1112
+ quickRange(hours: number): void;
1113
+ applyDates(): void;
1114
+ setRealTime(realTime: boolean): void;
1115
+ setDimension(id: string): void;
1116
+ setResolution(id: string): void;
1117
+ togglePause(): void;
1118
+ get autoRefresh(): boolean;
1119
+ get windowLabel(): string;
1120
+ private startTimers;
1121
+ private stopTimers;
1122
+ private autoRefreshTick;
1123
+ private syncWindowFields;
1124
+ get nodeLive(): boolean;
1125
+ private buildNodeView;
1126
+ get nodeHistoryBefore(): string;
1127
+ copyName(): void;
1128
+ showSessions(): void;
1129
+ private buildSessionView;
1130
+ get sessionFixedColors(): boolean;
1131
+ tableTitle(table: TopActivityV2Table): string;
1132
+ itemLabel(item: TopActivityV2TableItem, table: TopActivityV2Table): string;
1133
+ isItemClickable(item: TopActivityV2TableItem, table: TopActivityV2Table): boolean;
1134
+ itemClicked(item: TopActivityV2TableItem, table: TopActivityV2Table): void;
1135
+ breakdownWidth(item: TopActivityV2TableItem, part: TopActivityV2Breakdown): number;
1136
+ breakdownColor(part: TopActivityV2Breakdown): string;
1137
+ toggleThread(thread: SessionThreadV2): void;
1138
+ runningSeconds(thread: SessionThreadV2): number;
1139
+ progress(op: SessionLongOpV2): number;
1140
+ connectedFor(): number;
1141
+ private tidOf;
1142
+ private isThreadAlive;
1143
+ localTime(value: string): string;
1144
+ shortTime(value: string): string;
1145
+ typeColor(type: string, waitClass: string): string;
1146
+ typeLabel(type: string, waitClass: string): string;
1147
+ private valueLabel;
1148
+ private timeZone;
1149
+ private toDate;
1150
+ private fmt;
1151
+ static ɵfac: i0.ɵɵFactoryDeclaration<AdmDetailsV2Component, never>;
1152
+ static ɵcmp: i0.ɵɵComponentDeclaration<AdmDetailsV2Component, "adm-details-v2", never, { "Be": { "alias": "Be"; "required": false; }; "CanShowSessions": { "alias": "CanShowSessions"; "required": false; }; "CanOpenProfiler": { "alias": "CanOpenProfiler"; "required": false; }; }, { "closed": "closed"; "sessionsOnEvent": "sessionsOnEvent"; "openProfiler": "openProfiler"; }, never, never, false, never>;
1153
+ }
1154
+
820
1155
  declare class AdmProfilerComponent {
821
1156
  lc: LocalizationService;
822
1157
  private localStorage;
@@ -827,11 +1162,17 @@ declare class AdmProfilerComponent {
827
1162
  private router;
828
1163
  private mod;
829
1164
  workloadV2: boolean;
1165
+ private dateExts;
1166
+ detailsV2Enabled: boolean;
1167
+ topActV2Enabled: boolean;
830
1168
  searchView: ProfilerDataNodesView;
831
1169
  storageSub: any;
832
1170
  NodeDetails: NodeStats;
833
- private be;
834
- constructor(lc: LocalizationService, localStorage: PreferencesService, location: Location, intercom: InterComService, route: ActivatedRoute, adms: AdminModuleBaseService, router: Router, mod: string, workloadV2: boolean);
1171
+ dlgNodeDetails: ModalDirective;
1172
+ dlgDetailsV2: ModalDirective;
1173
+ detailsV2: AdmDetailsV2Component;
1174
+ be: string;
1175
+ constructor(lc: LocalizationService, localStorage: PreferencesService, location: Location, intercom: InterComService, route: ActivatedRoute, adms: AdminModuleBaseService, router: Router, mod: string, workloadV2: boolean, dateExts: DateService, detailsV2Enabled: boolean, topActV2Enabled: boolean);
835
1176
  ngOnInit(): void;
836
1177
  Init(ignoreStore: any): void;
837
1178
  doInit(ignoreStorage: any): Promise<void>;
@@ -841,8 +1182,11 @@ declare class AdmProfilerComponent {
841
1182
  downloadWorkloadReport(): void;
842
1183
  POSTGetItems(data: ProfilerDataNodesView): Promise<void>;
843
1184
  prepareExport(dataCallBack: any): Promise<void>;
1185
+ openNodeDetails(nodeId: string): void;
1186
+ showEventSessions(link: DetailsV2EventLink): void;
1187
+ openInProfiler(nodeId: string): void;
844
1188
  loadNodeDetails(nodeId: string): void;
845
- static ɵfac: i0.ɵɵFactoryDeclaration<AdmProfilerComponent, [null, null, null, null, null, null, null, null, { optional: true; }]>;
1189
+ static ɵfac: i0.ɵɵFactoryDeclaration<AdmProfilerComponent, [null, null, null, null, null, null, null, null, { optional: true; }, null, { optional: true; }, { optional: true; }]>;
846
1190
  static ɵcmp: i0.ɵɵComponentDeclaration<AdmProfilerComponent, "adm_profiler", never, {}, {}, never, never, false, never>;
847
1191
  }
848
1192
 
@@ -885,6 +1229,10 @@ declare class AdmProfilerV2Component {
885
1229
  private adms;
886
1230
  private mod;
887
1231
  workloadV2: boolean;
1232
+ detailsV2Enabled: boolean;
1233
+ topActV2Enabled: boolean;
1234
+ dlgDetailsV2: ModalDirective;
1235
+ detailsV2: AdmDetailsV2Component;
888
1236
  readonly EventTypes: string[];
889
1237
  live: boolean;
890
1238
  instance: string;
@@ -929,7 +1277,7 @@ declare class AdmProfilerV2Component {
929
1277
  ThresholdOptions: KeyValue[];
930
1278
  FlatTypes: KeyValue[];
931
1279
  FlatRows: KeyValue[];
932
- private be;
1280
+ be: string;
933
1281
  private instanceId;
934
1282
  private instanceIds;
935
1283
  private rootId;
@@ -946,7 +1294,7 @@ declare class AdmProfilerV2Component {
946
1294
  private flatSearchTimer;
947
1295
  private datesTimer;
948
1296
  private detailTimer;
949
- constructor(dateExts: DateService, lc: LocalizationService, localStorage: PreferencesService, intercom: InterComService, route: ActivatedRoute, router: Router, location: Location, adms: AdminModuleBaseService, mod: string, workloadV2: boolean);
1297
+ constructor(dateExts: DateService, lc: LocalizationService, localStorage: PreferencesService, intercom: InterComService, route: ActivatedRoute, router: Router, location: Location, adms: AdminModuleBaseService, mod: string, workloadV2: boolean, detailsV2Enabled: boolean, topActV2Enabled: boolean);
950
1298
  ngOnInit(): Promise<void>;
951
1299
  ngOnDestroy(): void;
952
1300
  setLive(live: boolean): void;
@@ -1011,6 +1359,9 @@ declare class AdmProfilerV2Component {
1011
1359
  flatKey(item: ProfilerV2FlatItem): string;
1012
1360
  toggleFlat(item: ProfilerV2FlatItem): void;
1013
1361
  openInTree(nodeId: string, event: Event): void;
1362
+ openFullDetail(): void;
1363
+ rootFromDetails(nodeId: string): void;
1364
+ showEventSessions(link: DetailsV2EventLink): void;
1014
1365
  showDetail(nodeId: string, event: Event): void;
1015
1366
  select(nodeId: string, delayed?: boolean): void;
1016
1367
  loadDetail(nodeId: string): Promise<void>;
@@ -1039,7 +1390,7 @@ declare class AdmProfilerV2Component {
1039
1390
  private toDate;
1040
1391
  private fmt;
1041
1392
  private floorHour;
1042
- static ɵfac: i0.ɵɵFactoryDeclaration<AdmProfilerV2Component, [null, null, null, null, null, null, null, null, null, { optional: true; }]>;
1393
+ static ɵfac: i0.ɵɵFactoryDeclaration<AdmProfilerV2Component, [null, null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
1043
1394
  static ɵcmp: i0.ɵɵComponentDeclaration<AdmProfilerV2Component, "profiler_v2", never, {}, {}, never, never, false, never>;
1044
1395
  }
1045
1396
 
@@ -1464,6 +1815,9 @@ declare class AdmTopActivitiesComponent {
1464
1815
  private route;
1465
1816
  private adms;
1466
1817
  private mod;
1818
+ private router;
1819
+ detailsV2Enabled: boolean;
1820
+ profilerV2Enabled: boolean;
1467
1821
  searchView: TopActivitiesDataView;
1468
1822
  storageSub: any;
1469
1823
  private LastDataPoint;
@@ -1473,8 +1827,12 @@ declare class AdmTopActivitiesComponent {
1473
1827
  NodeDetails: NodeStats;
1474
1828
  private rtWindow;
1475
1829
  protected destroyed$: ReplaySubject<boolean>;
1476
- private be;
1477
- constructor(dateExts: DateService, lc: LocalizationService, localStorage: PreferencesService, location: Location, intercom: InterComService, route: ActivatedRoute, adms: AdminModuleBaseService, mod: string);
1830
+ dlgNodeDetails: ModalDirective;
1831
+ dlgSessionDetails: ModalDirective;
1832
+ dlgDetailsV2: ModalDirective;
1833
+ detailsV2: AdmDetailsV2Component;
1834
+ be: string;
1835
+ constructor(dateExts: DateService, lc: LocalizationService, localStorage: PreferencesService, location: Location, intercom: InterComService, route: ActivatedRoute, adms: AdminModuleBaseService, mod: string, router: Router, detailsV2Enabled: boolean, profilerV2Enabled: boolean);
1478
1836
  ngOnInit(): void;
1479
1837
  updateRealTimeWindow(): Promise<void>;
1480
1838
  Init(ignoreStore: any): void;
@@ -1483,6 +1841,11 @@ declare class AdmTopActivitiesComponent {
1483
1841
  ngOnDestroy(): void;
1484
1842
  sendSearch(resetPage?: boolean, update?: boolean, searchViewOverride?: TopActivitiesDataView): Promise<void>;
1485
1843
  POSTGetItems(data: TopActivitiesDataView, update: boolean): Promise<void>;
1844
+ openNodeDetails(nodeId: string): void;
1845
+ openSessionDetails(sessionId: number, serialNo: number, instanceid: string): void;
1846
+ private detailsWindow;
1847
+ showEventSessions(link: DetailsV2EventLink): void;
1848
+ openInProfiler(nodeId: string): void;
1486
1849
  loadNodeDetails(nodeId: string): void;
1487
1850
  TopActiveSessions: LineChartData;
1488
1851
  TopNodes: TopNode[];
@@ -1514,7 +1877,7 @@ declare class AdmTopActivitiesComponent {
1514
1877
  };
1515
1878
  loadSessionDetails(sessionId: number, serialNo: number, instanceid: string): void;
1516
1879
  threadSelectionChanged(selection?: ItemsSelection<SessionThread>): void;
1517
- static ɵfac: i0.ɵɵFactoryDeclaration<AdmTopActivitiesComponent, never>;
1880
+ static ɵfac: i0.ɵɵFactoryDeclaration<AdmTopActivitiesComponent, [null, null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
1518
1881
  static ɵcmp: i0.ɵɵComponentDeclaration<AdmTopActivitiesComponent, "topact_search", never, {}, {}, never, never, false, never>;
1519
1882
  }
1520
1883
 
@@ -1538,8 +1901,14 @@ declare class AdmTopActivityV2Component {
1538
1901
  private route;
1539
1902
  private adms;
1540
1903
  private zone;
1904
+ private router;
1905
+ private mod;
1906
+ detailsV2Enabled: boolean;
1907
+ profilerV2Enabled: boolean;
1541
1908
  dlgNodeDetails: ModalDirective;
1542
1909
  dlgSessionDetails: ModalDirective;
1910
+ dlgDetailsV2: ModalDirective;
1911
+ detailsV2: AdmDetailsV2Component;
1543
1912
  readonly Dim: typeof TopActivityDimension;
1544
1913
  readonly TotalColor = "#263238";
1545
1914
  readonly LimitColor = "#e53935";
@@ -1580,7 +1949,7 @@ declare class AdmTopActivityV2Component {
1580
1949
  DirInfos: DirectorInfos;
1581
1950
  NodeDetails: NodeStats;
1582
1951
  SessionDetails: SessionStats;
1583
- private be;
1952
+ be: string;
1584
1953
  private chartFrom;
1585
1954
  private chartTo;
1586
1955
  private colors;
@@ -1589,7 +1958,7 @@ declare class AdmTopActivityV2Component {
1589
1958
  private windowAxis;
1590
1959
  private windowRange;
1591
1960
  private refreshTimer;
1592
- constructor(dateExts: DateService, lc: LocalizationService, localStorage: PreferencesService, intercom: InterComService, route: ActivatedRoute, adms: AdminModuleBaseService, zone: NgZone);
1961
+ constructor(dateExts: DateService, lc: LocalizationService, localStorage: PreferencesService, intercom: InterComService, route: ActivatedRoute, adms: AdminModuleBaseService, zone: NgZone, router: Router, mod: string, detailsV2Enabled: boolean, profilerV2Enabled: boolean);
1593
1962
  ngOnInit(): Promise<void>;
1594
1963
  ngOnDestroy(): void;
1595
1964
  searchClicked(): void;
@@ -1618,6 +1987,10 @@ declare class AdmTopActivityV2Component {
1618
1987
  itemLabel(item: TopActivityV2TableItem, table: TopActivityV2Table): string;
1619
1988
  loadNodeDetails(nodeId: string): void;
1620
1989
  loadSessionDetails(session: TopActivityV2Session): void;
1990
+ private detailsWindow;
1991
+ showEventSessions(link: DetailsV2EventLink): void;
1992
+ openInProfiler(nodeId: string): void;
1993
+ private applyEventFilter;
1621
1994
  refreshChanged(): void;
1622
1995
  private shiftWindow;
1623
1996
  private buildSources;
@@ -1630,8 +2003,7 @@ declare class AdmTopActivityV2Component {
1630
2003
  private setLastHours;
1631
2004
  private toDate;
1632
2005
  private fmt;
1633
- private parseUtc;
1634
- static ɵfac: i0.ɵɵFactoryDeclaration<AdmTopActivityV2Component, never>;
2006
+ static ɵfac: i0.ɵɵFactoryDeclaration<AdmTopActivityV2Component, [null, null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
1635
2007
  static ɵcmp: i0.ɵɵComponentDeclaration<AdmTopActivityV2Component, "topact_v2", never, {}, {}, never, never, false, never>;
1636
2008
  }
1637
2009
 
@@ -1979,7 +2351,7 @@ declare class AdmModule {
1979
2351
  private commService;
1980
2352
  constructor(commService: AdminModuleCommService);
1981
2353
  static ɵfac: i0.ɵɵFactoryDeclaration<AdmModule, never>;
1982
- static ɵmod: i0.ɵɵNgModuleDeclaration<AdmModule, [typeof AdmWrkComponent, typeof AdmProfilerComponent, typeof AdmProfilerV2Component, typeof AdmWorkloadV2Component, typeof AdmMetricsV2Component, typeof MetricsV2ChartComponent, typeof AdmTopActivitiesComponent, typeof AdmTopActivityV2Component, typeof SessionDetailComponent, typeof AdmDynamicViewsComponent, typeof AdmLogsComponent, typeof AdmAuditsComponent, typeof AdmEnqComponent, typeof AdmMetricsComponent, typeof NodeDetailComponent, typeof MtdQueryComponent, typeof AdmSystemParametersComponent], [typeof i18.CommonModule, typeof i19.FormsModule, typeof i20.ModalModule, typeof i21.TooltipModule, typeof i22.BsDropdownModule, typeof i23.ContextMenuModule, typeof i24.LocalizationModule, typeof i25.ExtensionsModule, typeof i26.EsTableModule, typeof i27.FormsAndValidationsModule, typeof i28.EsGertrudeModule, typeof i29.EsChartsModule, typeof i30.ComponentsModule, typeof i31.DirectivesModule, typeof i32.RouterModule, typeof FormatTimePipe, typeof ProfilerFormatPipe], never>;
2354
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AdmModule, [typeof AdmWrkComponent, typeof AdmProfilerComponent, typeof AdmProfilerV2Component, typeof AdmWorkloadV2Component, typeof AdmMetricsV2Component, typeof MetricsV2ChartComponent, typeof AdmDetailsV2Component, typeof ActivityChartV2Component, typeof AdmTopActivitiesComponent, typeof AdmTopActivityV2Component, typeof SessionDetailComponent, typeof AdmDynamicViewsComponent, typeof AdmLogsComponent, typeof AdmAuditsComponent, typeof AdmEnqComponent, typeof AdmMetricsComponent, typeof NodeDetailComponent, typeof MtdQueryComponent, typeof AdmSystemParametersComponent], [typeof i20.CommonModule, typeof i21.FormsModule, typeof i22.ModalModule, typeof i23.TooltipModule, typeof i24.BsDropdownModule, typeof i25.ContextMenuModule, typeof i26.LocalizationModule, typeof i27.ExtensionsModule, typeof i28.EsTableModule, typeof i29.FormsAndValidationsModule, typeof i30.EsGertrudeModule, typeof i31.EsChartsModule, typeof i32.ComponentsModule, typeof i33.DirectivesModule, typeof i34.RouterModule, typeof FormatTimePipe, typeof ProfilerFormatPipe], never>;
1983
2355
  static ɵinj: i0.ɵɵInjectorDeclaration<AdmModule>;
1984
2356
  }
1985
2357
 
@@ -1989,6 +2361,7 @@ declare const ADM_TOPACT_V2: InjectionToken<boolean>;
1989
2361
  declare const ADM_PROFILER_V2: InjectionToken<boolean>;
1990
2362
  declare const ADM_WORKLOAD_V2: InjectionToken<boolean>;
1991
2363
  declare const ADM_METRICS_V2: InjectionToken<boolean>;
2364
+ declare const ADM_DETAILS_V2: InjectionToken<boolean>;
1992
2365
 
1993
2366
  /** Chiave di questo modulo, da utilizzare per i messaggi */
1994
2367
  declare const MK_ADM = "EsAdminModule";
@@ -1997,4 +2370,4 @@ declare enum AdmMessageTypes {
1997
2370
  Message = 0
1998
2371
  }
1999
2372
 
2000
- export { ADM_CONVERSATIONS, ADM_METRICS_V2, ADM_MODULE_PATH, ADM_PROFILER_V2, ADM_TOPACT_V2, ADM_WORKLOAD_V2, AdmMessageTypes, AdmModule, MK_ADM, metricsV2Enabled, profilerV2Enabled, routeConfig, topActivityV2Enabled, workloadReportV2Enabled };
2373
+ export { ADM_CONVERSATIONS, ADM_DETAILS_V2, ADM_METRICS_V2, ADM_MODULE_PATH, ADM_PROFILER_V2, ADM_TOPACT_V2, ADM_WORKLOAD_V2, AdmMessageTypes, AdmModule, MK_ADM, metricsV2Enabled, profilerV2Enabled, routeConfig, topActivityV2Enabled, workloadReportV2Enabled };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esfaenza/admin-module",
3
- "version": "20.3.22",
3
+ "version": "20.3.24",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^20.3.34",
6
6
  "@angular/common": "^20.3.34",