react-aiops 0.1.9 → 0.1.10
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/dist/AIOPsDashboard.d.ts +32 -11
- package/dist/AIOPsDashboard.d.ts.map +1 -1
- package/dist/data/CredentialsModal.d.ts.map +1 -1
- package/dist/data/DataProvider.d.ts +37 -15
- package/dist/data/DataProvider.d.ts.map +1 -1
- package/dist/data/index.d.ts +2 -2
- package/dist/data/index.d.ts.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +724 -665
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { jsxs as d, jsx as e, Fragment as
|
|
2
|
-
import
|
|
3
|
-
const
|
|
1
|
+
import { jsxs as d, jsx as e, Fragment as Ee } from "react/jsx-runtime";
|
|
2
|
+
import j, { createContext as Ue, useContext as re, useState as R, useEffect as Ae, useMemo as yt, useRef as K, useCallback as dt } from "react";
|
|
3
|
+
const Dt = {
|
|
4
4
|
info: { color: "#00ff88", bg: "rgba(0, 255, 136, 0.1)", border: "#00ff88", icon: "✅" },
|
|
5
5
|
warning: { color: "#ff8c00", bg: "rgba(255, 140, 0, 0.1)", border: "#ff8c00", icon: "⚠️" },
|
|
6
6
|
critical: { color: "#ff2255", bg: "rgba(255, 34, 85, 0.1)", border: "#ff2255", icon: "🛑" }
|
|
7
7
|
};
|
|
8
|
-
function
|
|
8
|
+
function Nt({
|
|
9
9
|
name: t,
|
|
10
10
|
status: n,
|
|
11
11
|
dbSync: o = !0,
|
|
@@ -146,7 +146,7 @@ function Lt({
|
|
|
146
146
|
}
|
|
147
147
|
),
|
|
148
148
|
c.map((p, f) => {
|
|
149
|
-
const g =
|
|
149
|
+
const g = Dt[p.level];
|
|
150
150
|
return /* @__PURE__ */ d(
|
|
151
151
|
"div",
|
|
152
152
|
{
|
|
@@ -177,13 +177,13 @@ function Lt({
|
|
|
177
177
|
}
|
|
178
178
|
);
|
|
179
179
|
}
|
|
180
|
-
const
|
|
180
|
+
const P = {
|
|
181
181
|
online: { color: "#00e5ff", glow: "rgba(0,229,255,0.55)" },
|
|
182
182
|
warning: { color: "#ff8c00", glow: "rgba(255,140,0,0.55)" },
|
|
183
183
|
critical: { color: "#ff2255", glow: "rgba(255,34,85,0.55)" },
|
|
184
184
|
offline: { color: "#1e3a5a", glow: "rgba(30,58,90,0.25)" }
|
|
185
|
-
},
|
|
186
|
-
function
|
|
185
|
+
}, Pi = "#00e5ff", Ci = "#0055cc", Te = "linear-gradient(180deg, #071428 0%, #040c1c 60%, #030810 100%)", Ze = "linear-gradient(180deg, rgba(10,25,50,0.35) 0%, rgba(5,15,35,0.25) 60%, rgba(3,10,20,0.15) 100%)";
|
|
186
|
+
function Je(t, n, o) {
|
|
187
187
|
const i = {
|
|
188
188
|
position: "absolute",
|
|
189
189
|
overflow: "hidden",
|
|
@@ -233,56 +233,56 @@ function Ke(t, n, o) {
|
|
|
233
233
|
}
|
|
234
234
|
};
|
|
235
235
|
}
|
|
236
|
-
const
|
|
237
|
-
function
|
|
238
|
-
return
|
|
236
|
+
const Qe = "cubic-bezier(0.34, 1.56, 0.64, 1)", Ge = "cubic-bezier(0.16, 1, 0.3, 1)";
|
|
237
|
+
function mt(t) {
|
|
238
|
+
return P[t]?.color ?? P.online.color;
|
|
239
239
|
}
|
|
240
|
-
function
|
|
240
|
+
function Wt(t, n, o) {
|
|
241
241
|
return t >= o ? "#ff2255" : t >= n ? "#ff8c00" : "#00e5ff";
|
|
242
242
|
}
|
|
243
|
-
function
|
|
243
|
+
function We(t, n, o, i) {
|
|
244
244
|
return t === "offline" ? "offline" : t === "critical" && n >= i ? "critical" : (t === "critical" || t === "warning") && n >= o ? "warning" : "online";
|
|
245
245
|
}
|
|
246
|
-
function
|
|
246
|
+
function Mt({
|
|
247
247
|
component: t,
|
|
248
248
|
onClose: n,
|
|
249
249
|
visible: o,
|
|
250
250
|
sceneWidth: i = 660,
|
|
251
251
|
sceneHeight: r = 600
|
|
252
252
|
}) {
|
|
253
|
-
const { type: a, name: s, status: l, ex: h, ey: c, context: p = {} } = t, f =
|
|
253
|
+
const { type: a, name: s, status: l, ex: h, ey: c, context: p = {} } = t, f = mt(l), g = h >= i / 2, u = c >= r / 2, y = {
|
|
254
254
|
position: "fixed",
|
|
255
255
|
...g ? { right: 28 } : { left: 28 },
|
|
256
256
|
...u ? { bottom: 110 } : { top: 72 }
|
|
257
|
-
}, m = g ? 40 : -40,
|
|
258
|
-
let
|
|
259
|
-
if (
|
|
260
|
-
|
|
261
|
-
const
|
|
257
|
+
}, m = g ? 40 : -40, v = u ? 30 : -30, x = t.dialogMetrics ?? p.dialogMetrics;
|
|
258
|
+
let w;
|
|
259
|
+
if (x && x.length > 0)
|
|
260
|
+
w = x.map((b, k) => {
|
|
261
|
+
const T = b.warnAt ?? 70, $ = b.critAt ?? 85;
|
|
262
262
|
return {
|
|
263
263
|
id: b.id,
|
|
264
264
|
label: b.label,
|
|
265
265
|
sublabel: b.sublabel,
|
|
266
266
|
value: b.value,
|
|
267
267
|
unit: b.unit ?? "%",
|
|
268
|
-
status:
|
|
268
|
+
status: We(l, b.value, T, $),
|
|
269
269
|
icon: b.icon ?? "cpu",
|
|
270
|
-
delay:
|
|
270
|
+
delay: k,
|
|
271
271
|
colorOverride: b.color,
|
|
272
|
-
warnAt:
|
|
273
|
-
critAt:
|
|
272
|
+
warnAt: T,
|
|
273
|
+
critAt: $
|
|
274
274
|
};
|
|
275
275
|
});
|
|
276
276
|
else {
|
|
277
|
-
const b = p.cpuLoad ?? p.traffic ?? 50,
|
|
278
|
-
|
|
277
|
+
const b = p.cpuLoad ?? p.traffic ?? 50, k = p.memLoad ?? p.queueDepth ?? 60, T = p.capacity ?? 72, $ = We(l, b, 70, 85), S = We(l, k, 75, 88), N = We(l, T, 75, 90);
|
|
278
|
+
w = [
|
|
279
279
|
{
|
|
280
280
|
id: "cpu",
|
|
281
281
|
label: a === "dispatcher" ? "TRAFFIC" : a === "messageServer" ? "QUEUE" : "CPU",
|
|
282
282
|
sublabel: a === "dispatcher" ? "PORT LOAD" : a === "messageServer" ? "QUEUE DEPTH" : "PROCESSOR",
|
|
283
283
|
value: b,
|
|
284
284
|
unit: "%",
|
|
285
|
-
status:
|
|
285
|
+
status: $,
|
|
286
286
|
icon: "cpu",
|
|
287
287
|
delay: 0
|
|
288
288
|
},
|
|
@@ -290,9 +290,9 @@ function Nt({
|
|
|
290
290
|
id: "mem",
|
|
291
291
|
label: "MEMORY",
|
|
292
292
|
sublabel: a === "database" ? "BUFFER POOL" : "HEAP USAGE",
|
|
293
|
-
value:
|
|
293
|
+
value: k,
|
|
294
294
|
unit: "%",
|
|
295
|
-
status:
|
|
295
|
+
status: S,
|
|
296
296
|
icon: "mem",
|
|
297
297
|
delay: 1
|
|
298
298
|
},
|
|
@@ -300,9 +300,9 @@ function Nt({
|
|
|
300
300
|
id: "storage",
|
|
301
301
|
label: "STORAGE",
|
|
302
302
|
sublabel: a === "database" ? "TABLESPACE" : "DISK I/O",
|
|
303
|
-
value:
|
|
303
|
+
value: T,
|
|
304
304
|
unit: "%",
|
|
305
|
-
status:
|
|
305
|
+
status: N,
|
|
306
306
|
icon: "disk",
|
|
307
307
|
delay: 2
|
|
308
308
|
}
|
|
@@ -322,8 +322,8 @@ function Nt({
|
|
|
322
322
|
fontFamily: "'Courier New', monospace",
|
|
323
323
|
overflow: "hidden",
|
|
324
324
|
opacity: o ? 1 : 0,
|
|
325
|
-
transform: o ? "scale(1) translate(0, 0)" : `scale(0.7) translate(${m}px, ${
|
|
326
|
-
transition: `opacity 0.45s ${
|
|
325
|
+
transform: o ? "scale(1) translate(0, 0)" : `scale(0.7) translate(${m}px, ${v}px)`,
|
|
326
|
+
transition: `opacity 0.45s ${Ge}, transform 0.55s ${Qe}`,
|
|
327
327
|
pointerEvents: o ? "auto" : "none",
|
|
328
328
|
zIndex: 9999,
|
|
329
329
|
animation: o ? "comp-dialog-border-glow 3s ease-in-out infinite" : "none",
|
|
@@ -393,12 +393,12 @@ function Nt({
|
|
|
393
393
|
borderRight: `2px solid ${f}66`,
|
|
394
394
|
borderRadius: "0 0 14px 0"
|
|
395
395
|
}
|
|
396
|
-
].map((b,
|
|
396
|
+
].map((b, k) => /* @__PURE__ */ e(
|
|
397
397
|
"div",
|
|
398
398
|
{
|
|
399
399
|
style: { position: "absolute", width: 18, height: 18, pointerEvents: "none", ...b }
|
|
400
400
|
},
|
|
401
|
-
|
|
401
|
+
k
|
|
402
402
|
)),
|
|
403
403
|
/* @__PURE__ */ d(
|
|
404
404
|
"div",
|
|
@@ -519,7 +519,7 @@ function Nt({
|
|
|
519
519
|
position: "relative",
|
|
520
520
|
zIndex: 2
|
|
521
521
|
},
|
|
522
|
-
children:
|
|
522
|
+
children: w.map((b) => /* @__PURE__ */ e(zt, { metric: b, visible: o, accentColor: f }, b.id))
|
|
523
523
|
}
|
|
524
524
|
),
|
|
525
525
|
/* @__PURE__ */ d(
|
|
@@ -568,7 +568,7 @@ function Nt({
|
|
|
568
568
|
}
|
|
569
569
|
);
|
|
570
570
|
}
|
|
571
|
-
function
|
|
571
|
+
function zt({
|
|
572
572
|
metric: t,
|
|
573
573
|
visible: n,
|
|
574
574
|
accentColor: o
|
|
@@ -584,7 +584,7 @@ function Wt({
|
|
|
584
584
|
colorOverride: p,
|
|
585
585
|
warnAt: f = 70,
|
|
586
586
|
critAt: g = 85
|
|
587
|
-
} = t, u = p ??
|
|
587
|
+
} = t, u = p ?? Wt(a, f, g), y = p ?? mt(l);
|
|
588
588
|
return /* @__PURE__ */ d(
|
|
589
589
|
"div",
|
|
590
590
|
{
|
|
@@ -594,7 +594,7 @@ function Wt({
|
|
|
594
594
|
gap: 16,
|
|
595
595
|
opacity: n ? 1 : 0,
|
|
596
596
|
transform: n ? "translateY(0)" : "translateY(12px)",
|
|
597
|
-
transition: `opacity 0.4s ${
|
|
597
|
+
transition: `opacity 0.4s ${Ge} ${0.3 + c * 0.12}s, transform 0.5s ${Qe} ${0.3 + c * 0.12}s`
|
|
598
598
|
},
|
|
599
599
|
children: [
|
|
600
600
|
/* @__PURE__ */ d(
|
|
@@ -612,10 +612,10 @@ function Wt({
|
|
|
612
612
|
flexShrink: 0,
|
|
613
613
|
position: "relative",
|
|
614
614
|
overflow: "hidden",
|
|
615
|
-
animation: n ? `comp-dialog-icon-pop 0.5s ${
|
|
615
|
+
animation: n ? `comp-dialog-icon-pop 0.5s ${Qe} ${0.35 + c * 0.12}s both` : "none"
|
|
616
616
|
},
|
|
617
617
|
children: [
|
|
618
|
-
/* @__PURE__ */ e(
|
|
618
|
+
/* @__PURE__ */ e(Bt, { type: h, color: y }),
|
|
619
619
|
(l === "warning" || l === "critical") && /* @__PURE__ */ e(
|
|
620
620
|
"div",
|
|
621
621
|
{
|
|
@@ -714,7 +714,7 @@ function Wt({
|
|
|
714
714
|
background: `linear-gradient(90deg, ${u}66, ${u})`,
|
|
715
715
|
boxShadow: `0 0 8px ${u}44`,
|
|
716
716
|
transformOrigin: "left center",
|
|
717
|
-
animation: n ? `comp-dialog-metric-fill 0.8s ${
|
|
717
|
+
animation: n ? `comp-dialog-metric-fill 0.8s ${Ge} ${0.4 + c * 0.12}s both` : "none"
|
|
718
718
|
}
|
|
719
719
|
}
|
|
720
720
|
),
|
|
@@ -808,7 +808,7 @@ function Wt({
|
|
|
808
808
|
}
|
|
809
809
|
);
|
|
810
810
|
}
|
|
811
|
-
function
|
|
811
|
+
function Bt({ type: t, color: n }) {
|
|
812
812
|
return t === "cpu" ? /* @__PURE__ */ d("svg", { width: 28, height: 28, viewBox: "0 0 24 24", fill: "none", children: [
|
|
813
813
|
/* @__PURE__ */ e("rect", { x: "6", y: "6", width: "12", height: "12", rx: "2", stroke: n, strokeWidth: "1.5" }),
|
|
814
814
|
/* @__PURE__ */ e(
|
|
@@ -893,14 +893,14 @@ function Mt({ type: t, color: n }) {
|
|
|
893
893
|
/* @__PURE__ */ e("line", { x1: "18", y1: "12", x2: "21", y2: "12", stroke: n, strokeWidth: "0.8" })
|
|
894
894
|
] });
|
|
895
895
|
}
|
|
896
|
-
const
|
|
897
|
-
function
|
|
898
|
-
return
|
|
896
|
+
const et = Ue(null), tt = Ue({ index: 0 });
|
|
897
|
+
function Ei() {
|
|
898
|
+
return re(et);
|
|
899
899
|
}
|
|
900
|
-
function
|
|
901
|
-
return
|
|
900
|
+
function Ai() {
|
|
901
|
+
return re(tt);
|
|
902
902
|
}
|
|
903
|
-
function
|
|
903
|
+
function Ft({
|
|
904
904
|
children: t,
|
|
905
905
|
logoUrl: n,
|
|
906
906
|
viewState: o,
|
|
@@ -917,28 +917,28 @@ function zt({
|
|
|
917
917
|
width: u = 950,
|
|
918
918
|
height: y = 790,
|
|
919
919
|
onSelectSystem: m,
|
|
920
|
-
onBackgroundClick:
|
|
921
|
-
onComponentClick:
|
|
922
|
-
onCloseDrill:
|
|
920
|
+
onBackgroundClick: v,
|
|
921
|
+
onComponentClick: x,
|
|
922
|
+
onCloseDrill: w,
|
|
923
923
|
selectedSystemStatus: b = "online",
|
|
924
|
-
selectedSystemDbSync:
|
|
925
|
-
selectedSystemMetrics:
|
|
926
|
-
selectedSystemAlerts:
|
|
924
|
+
selectedSystemDbSync: k = !0,
|
|
925
|
+
selectedSystemMetrics: T,
|
|
926
|
+
selectedSystemAlerts: $
|
|
927
927
|
}) {
|
|
928
|
-
const [
|
|
929
|
-
|
|
930
|
-
let
|
|
928
|
+
const [S, N] = R(0);
|
|
929
|
+
Ae(() => {
|
|
930
|
+
let I;
|
|
931
931
|
if ((o === "compact" || o === "collapsing") && f) {
|
|
932
932
|
const U = () => {
|
|
933
|
-
|
|
933
|
+
N((se) => se + g), I = requestAnimationFrame(U);
|
|
934
934
|
};
|
|
935
|
-
|
|
935
|
+
I = requestAnimationFrame(U);
|
|
936
936
|
}
|
|
937
|
-
return () => cancelAnimationFrame(
|
|
937
|
+
return () => cancelAnimationFrame(I);
|
|
938
938
|
}, [o, f, g]);
|
|
939
|
-
const
|
|
940
|
-
totalSystems:
|
|
941
|
-
carouselRotation:
|
|
939
|
+
const B = j.Children.toArray(t), z = B.length, H = yt(() => ({
|
|
940
|
+
totalSystems: z,
|
|
941
|
+
carouselRotation: S,
|
|
942
942
|
viewState: o,
|
|
943
943
|
animPhase: i,
|
|
944
944
|
selectedSystem: r,
|
|
@@ -948,11 +948,11 @@ function zt({
|
|
|
948
948
|
componentScale: c,
|
|
949
949
|
drillZoom: p,
|
|
950
950
|
onSelectSystem: m,
|
|
951
|
-
onComponentClick:
|
|
951
|
+
onComponentClick: x,
|
|
952
952
|
containerWidth: u
|
|
953
953
|
}), [
|
|
954
|
-
|
|
955
|
-
|
|
954
|
+
z,
|
|
955
|
+
S,
|
|
956
956
|
o,
|
|
957
957
|
i,
|
|
958
958
|
r,
|
|
@@ -962,10 +962,10 @@ function zt({
|
|
|
962
962
|
c,
|
|
963
963
|
p,
|
|
964
964
|
m,
|
|
965
|
-
|
|
965
|
+
x,
|
|
966
966
|
u
|
|
967
|
-
]),
|
|
968
|
-
return /* @__PURE__ */ d(
|
|
967
|
+
]), ae = B.map((I, U) => /* @__PURE__ */ e(tt.Provider, { value: { index: U }, children: I }, U)), le = o === "expanded" || o === "expanding" && i >= 4;
|
|
968
|
+
return /* @__PURE__ */ d(et.Provider, { value: H, children: [
|
|
969
969
|
/* @__PURE__ */ d("div", { style: { position: "relative", width: u, height: y, margin: "0 auto", flexShrink: 0 }, children: [
|
|
970
970
|
n && (o === "compact" || o === "collapsing") && /* @__PURE__ */ e(
|
|
971
971
|
"img",
|
|
@@ -987,24 +987,24 @@ function zt({
|
|
|
987
987
|
}
|
|
988
988
|
}
|
|
989
989
|
),
|
|
990
|
-
|
|
990
|
+
ae
|
|
991
991
|
] }),
|
|
992
|
-
r && /* @__PURE__ */ e("div", { onClick: (
|
|
993
|
-
|
|
992
|
+
r && /* @__PURE__ */ e("div", { onClick: (I) => I.stopPropagation(), children: /* @__PURE__ */ e(
|
|
993
|
+
Nt,
|
|
994
994
|
{
|
|
995
995
|
name: r,
|
|
996
996
|
status: b,
|
|
997
|
-
dbSync:
|
|
998
|
-
visible:
|
|
999
|
-
metrics:
|
|
1000
|
-
alerts:
|
|
997
|
+
dbSync: k,
|
|
998
|
+
visible: le && !a,
|
|
999
|
+
metrics: T,
|
|
1000
|
+
alerts: $
|
|
1001
1001
|
}
|
|
1002
1002
|
) }),
|
|
1003
|
-
a && /* @__PURE__ */ e("div", { onClick: (
|
|
1004
|
-
|
|
1003
|
+
a && /* @__PURE__ */ e("div", { onClick: (I) => I.stopPropagation(), children: /* @__PURE__ */ e(
|
|
1004
|
+
Mt,
|
|
1005
1005
|
{
|
|
1006
1006
|
component: a,
|
|
1007
|
-
onClose:
|
|
1007
|
+
onClose: w,
|
|
1008
1008
|
visible: s >= 0.3,
|
|
1009
1009
|
sceneWidth: u,
|
|
1010
1010
|
sceneHeight: y
|
|
@@ -1012,7 +1012,7 @@ function zt({
|
|
|
1012
1012
|
) })
|
|
1013
1013
|
] });
|
|
1014
1014
|
}
|
|
1015
|
-
function
|
|
1015
|
+
function Ht({
|
|
1016
1016
|
x1: t,
|
|
1017
1017
|
y1: n,
|
|
1018
1018
|
x2: o,
|
|
@@ -1059,7 +1059,7 @@ function Bt({
|
|
|
1059
1059
|
)
|
|
1060
1060
|
}
|
|
1061
1061
|
),
|
|
1062
|
-
r && /* @__PURE__ */ d(
|
|
1062
|
+
r && /* @__PURE__ */ d(Ee, { children: [
|
|
1063
1063
|
/* @__PURE__ */ e("circle", { r: "3", fill: a, opacity: 0.85, children: /* @__PURE__ */ e(
|
|
1064
1064
|
"animateMotion",
|
|
1065
1065
|
{
|
|
@@ -1079,14 +1079,14 @@ function Bt({
|
|
|
1079
1079
|
] })
|
|
1080
1080
|
] });
|
|
1081
1081
|
}
|
|
1082
|
-
const
|
|
1082
|
+
const Ut = [
|
|
1083
1083
|
{ scale: 1, op: 1, delay: "0.0s", bw: "2px", glow: 1 },
|
|
1084
1084
|
{ scale: 0.82, op: 0.88, delay: "0.5s", bw: "1.5px", glow: 0.7 },
|
|
1085
1085
|
{ scale: 0.64, op: 0.72, delay: "1.0s", bw: "1px", glow: 0.5 },
|
|
1086
1086
|
{ scale: 0.47, op: 0.58, delay: "1.5s", bw: "1px", glow: 0.35 },
|
|
1087
1087
|
{ scale: 0.3, op: 0.45, delay: "2.0s", bw: "1px", glow: 0.25 }
|
|
1088
1088
|
];
|
|
1089
|
-
function
|
|
1089
|
+
function Yt({
|
|
1090
1090
|
children: t,
|
|
1091
1091
|
size: n = 230,
|
|
1092
1092
|
widthRatio: o = 1,
|
|
@@ -1252,7 +1252,7 @@ function Ht({
|
|
|
1252
1252
|
background: `radial-gradient(ellipse, ${i}88 0%, ${i}33 40%, transparent 72%)`,
|
|
1253
1253
|
filter: "blur(12px)"
|
|
1254
1254
|
} }),
|
|
1255
|
-
|
|
1255
|
+
Ut.map((s, l) => /* @__PURE__ */ e("div", { style: {
|
|
1256
1256
|
position: "absolute",
|
|
1257
1257
|
width: a * s.scale,
|
|
1258
1258
|
height: n * s.scale,
|
|
@@ -1295,8 +1295,8 @@ function Ht({
|
|
|
1295
1295
|
}, children: r })
|
|
1296
1296
|
] });
|
|
1297
1297
|
}
|
|
1298
|
-
const
|
|
1299
|
-
function
|
|
1298
|
+
const ue = Ue(null), Vt = "cubic-bezier(0.34, 1.56, 0.64, 1)", ct = 330, pt = 340, _t = 660;
|
|
1299
|
+
function xt({
|
|
1300
1300
|
name: t,
|
|
1301
1301
|
status: n = "online",
|
|
1302
1302
|
connections: o = [],
|
|
@@ -1313,28 +1313,28 @@ function ut({
|
|
|
1313
1313
|
_autoRotateComponents: u,
|
|
1314
1314
|
_componentScale: y,
|
|
1315
1315
|
_drillZoom: m,
|
|
1316
|
-
_onSelectSystem:
|
|
1317
|
-
_onComponentClick:
|
|
1318
|
-
_containerWidth:
|
|
1316
|
+
_onSelectSystem: v,
|
|
1317
|
+
_onComponentClick: x,
|
|
1318
|
+
_containerWidth: w
|
|
1319
1319
|
}) {
|
|
1320
|
-
const b =
|
|
1320
|
+
const b = re(et), k = re(tt), T = a ?? k.index, $ = s ?? b?.totalSystems ?? 1, S = l ?? b?.carouselRotation ?? 0, N = h ?? b?.viewState ?? "compact", B = c ?? b?.animPhase ?? 0, z = p ?? b?.selectedSystem ?? null, H = f ?? b?.selectedComponent ?? null, ae = g ?? b?.rotateY ?? 20, le = u ?? b?.autoRotateComponents ?? !0, I = y ?? b?.componentScale ?? 0.35, U = m ?? b?.drillZoom ?? 3.3, se = v ?? b?.onSelectSystem, Ie = x ?? b?.onComponentClick, Oe = w ?? b?.containerWidth ?? 950, Y = z === t, L = Y && (N === "expanded" || N === "expanding" && B >= 1), Q = !L, Le = (Oe - _t) / 2, be = ct + Le, ge = T / $ * Math.PI * 2 + S, Ye = 420, Ve = 160, de = be + Math.cos(ge) * Ye, C = 450 + Math.sin(ge) * Ve, ce = Math.round(C), ee = !Y && (N === "expanding" || N === "expanded"), pe = ee ? 0 : 1, Z = Q ? 0.3 + (Math.sin(ge) + 1) * 0.1 : 1, V = Q ? Z : I, ye = N === "compact" || N === "collapsing" ? "none" : "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)", De = Y && H, _e = De ? U : 1, Ct = H?.ex ?? 330, Et = H?.ey ?? 300, { size: At = 90, color: Tt = "#00e5ff", widthRatio: It = 3 } = i ?? {}, Ot = {
|
|
1321
1321
|
name: t,
|
|
1322
|
-
isSelected:
|
|
1323
|
-
isExpandedPos:
|
|
1322
|
+
isSelected: Y,
|
|
1323
|
+
isExpandedPos: L,
|
|
1324
1324
|
isCompact: Q,
|
|
1325
|
-
animPhase:
|
|
1326
|
-
compactCx:
|
|
1327
|
-
compactCy:
|
|
1328
|
-
groupScale:
|
|
1329
|
-
effectiveScale:
|
|
1330
|
-
transitionValue:
|
|
1331
|
-
rotateY:
|
|
1332
|
-
autoRotateComponents:
|
|
1333
|
-
onComponentClick:
|
|
1334
|
-
selectedComponentName:
|
|
1335
|
-
expandedOffsetX:
|
|
1325
|
+
animPhase: B,
|
|
1326
|
+
compactCx: de,
|
|
1327
|
+
compactCy: C,
|
|
1328
|
+
groupScale: Z,
|
|
1329
|
+
effectiveScale: V,
|
|
1330
|
+
transitionValue: ye,
|
|
1331
|
+
rotateY: ae,
|
|
1332
|
+
autoRotateComponents: le,
|
|
1333
|
+
onComponentClick: Ie,
|
|
1334
|
+
selectedComponentName: H?.name ?? null,
|
|
1335
|
+
expandedOffsetX: Le
|
|
1336
1336
|
};
|
|
1337
|
-
return /* @__PURE__ */ e(
|
|
1337
|
+
return /* @__PURE__ */ e(ue.Provider, { value: Ot, children: /* @__PURE__ */ d(
|
|
1338
1338
|
"div",
|
|
1339
1339
|
{
|
|
1340
1340
|
style: {
|
|
@@ -1344,21 +1344,21 @@ function ut({
|
|
|
1344
1344
|
width: "100%",
|
|
1345
1345
|
height: "100%",
|
|
1346
1346
|
pointerEvents: "none",
|
|
1347
|
-
opacity:
|
|
1348
|
-
transition: `opacity 0.8s ease, filter 0.5s ease, transform 0.6s ${
|
|
1349
|
-
filter: Q && Math.sin(
|
|
1350
|
-
zIndex:
|
|
1351
|
-
transformOrigin: `${
|
|
1352
|
-
transform:
|
|
1347
|
+
opacity: pe,
|
|
1348
|
+
transition: `opacity 0.8s ease, filter 0.5s ease, transform 0.6s ${Vt}`,
|
|
1349
|
+
filter: Q && Math.sin(ge) < -0.5 ? "brightness(0.5) blur(2px)" : "none",
|
|
1350
|
+
zIndex: Y ? 500 : ee ? 0 : ce,
|
|
1351
|
+
transformOrigin: `${be}px ${pt}px`,
|
|
1352
|
+
transform: De ? `translate(${-(Ct - ct) * _e}px, ${-(Et - pt) * _e}px) scale(${_e})` : "none"
|
|
1353
1353
|
},
|
|
1354
1354
|
children: [
|
|
1355
|
-
Q && !
|
|
1355
|
+
Q && !ee && /* @__PURE__ */ e(
|
|
1356
1356
|
"div",
|
|
1357
1357
|
{
|
|
1358
1358
|
style: {
|
|
1359
1359
|
position: "absolute",
|
|
1360
|
-
left:
|
|
1361
|
-
top:
|
|
1360
|
+
left: de,
|
|
1361
|
+
top: C,
|
|
1362
1362
|
width: 160,
|
|
1363
1363
|
height: 180,
|
|
1364
1364
|
transform: "translate(-50%, -80%)",
|
|
@@ -1366,8 +1366,8 @@ function ut({
|
|
|
1366
1366
|
cursor: "pointer",
|
|
1367
1367
|
zIndex: 101
|
|
1368
1368
|
},
|
|
1369
|
-
onClick: (
|
|
1370
|
-
|
|
1369
|
+
onClick: (J) => {
|
|
1370
|
+
J.stopPropagation(), se?.(t);
|
|
1371
1371
|
}
|
|
1372
1372
|
}
|
|
1373
1373
|
),
|
|
@@ -1376,9 +1376,9 @@ function ut({
|
|
|
1376
1376
|
{
|
|
1377
1377
|
style: {
|
|
1378
1378
|
position: "absolute",
|
|
1379
|
-
left:
|
|
1380
|
-
top:
|
|
1381
|
-
transform: `translate(-50%, -50%) scale(${
|
|
1379
|
+
left: de,
|
|
1380
|
+
top: C - 200,
|
|
1381
|
+
transform: `translate(-50%, -50%) scale(${Z})`,
|
|
1382
1382
|
zIndex: 110,
|
|
1383
1383
|
pointerEvents: "none",
|
|
1384
1384
|
animation: "holo-led-blink 1.5s infinite",
|
|
@@ -1424,13 +1424,13 @@ function ut({
|
|
|
1424
1424
|
{
|
|
1425
1425
|
style: {
|
|
1426
1426
|
position: "absolute",
|
|
1427
|
-
left:
|
|
1428
|
-
top:
|
|
1429
|
-
transform: `translate(-50%, -50%) scale(${
|
|
1427
|
+
left: L ? be : de,
|
|
1428
|
+
top: L ? 48 : C - 180,
|
|
1429
|
+
transform: `translate(-50%, -50%) scale(${L ? 1.2 : Z * 1.5})`,
|
|
1430
1430
|
opacity: 1,
|
|
1431
1431
|
pointerEvents: "none",
|
|
1432
1432
|
zIndex: 100,
|
|
1433
|
-
transition:
|
|
1433
|
+
transition: ye,
|
|
1434
1434
|
fontSize: 36,
|
|
1435
1435
|
fontWeight: 700,
|
|
1436
1436
|
letterSpacing: "0.18em",
|
|
@@ -1450,25 +1450,25 @@ function ut({
|
|
|
1450
1450
|
style: {
|
|
1451
1451
|
position: "absolute",
|
|
1452
1452
|
top: 0,
|
|
1453
|
-
left:
|
|
1453
|
+
left: L ? Le : 0,
|
|
1454
1454
|
width: 660,
|
|
1455
1455
|
height: 640,
|
|
1456
1456
|
pointerEvents: "none",
|
|
1457
1457
|
zIndex: 0,
|
|
1458
|
-
transition:
|
|
1458
|
+
transition: ye
|
|
1459
1459
|
},
|
|
1460
|
-
children: o.map((
|
|
1461
|
-
|
|
1460
|
+
children: o.map((J, Lt) => /* @__PURE__ */ e(
|
|
1461
|
+
Ht,
|
|
1462
1462
|
{
|
|
1463
|
-
x1:
|
|
1464
|
-
y1:
|
|
1465
|
-
x2:
|
|
1466
|
-
y2:
|
|
1467
|
-
show:
|
|
1468
|
-
color:
|
|
1469
|
-
dur:
|
|
1463
|
+
x1: J.from[0],
|
|
1464
|
+
y1: J.from[1],
|
|
1465
|
+
x2: J.to[0],
|
|
1466
|
+
y2: J.to[1],
|
|
1467
|
+
show: Y && B >= (J.visibleAtPhase ?? 0),
|
|
1468
|
+
color: J.color,
|
|
1469
|
+
dur: J.duration
|
|
1470
1470
|
},
|
|
1471
|
-
|
|
1471
|
+
Lt
|
|
1472
1472
|
))
|
|
1473
1473
|
}
|
|
1474
1474
|
),
|
|
@@ -1477,13 +1477,13 @@ function ut({
|
|
|
1477
1477
|
{
|
|
1478
1478
|
style: {
|
|
1479
1479
|
position: "absolute",
|
|
1480
|
-
left:
|
|
1481
|
-
top:
|
|
1482
|
-
transform: `translate(-50%, -50%) scaleX(${
|
|
1483
|
-
transition:
|
|
1480
|
+
left: L ? be : de,
|
|
1481
|
+
top: L ? 570 : C + 70,
|
|
1482
|
+
transform: `translate(-50%, -50%) scaleX(${L ? 1 : 0.4}) scaleY(${L ? 1 : 0.6}) scale(${L ? 1 : Z})`,
|
|
1483
|
+
transition: ye,
|
|
1484
1484
|
zIndex: 1
|
|
1485
1485
|
},
|
|
1486
|
-
children: /* @__PURE__ */ e(
|
|
1486
|
+
children: /* @__PURE__ */ e(Yt, { size: At, color: Tt, widthRatio: It, children: /* @__PURE__ */ e("div", { className: "base-hotspot" }) })
|
|
1487
1487
|
}
|
|
1488
1488
|
),
|
|
1489
1489
|
r
|
|
@@ -1503,20 +1503,20 @@ function W({
|
|
|
1503
1503
|
align: h = "right",
|
|
1504
1504
|
internalRef: c
|
|
1505
1505
|
}) {
|
|
1506
|
-
const p =
|
|
1506
|
+
const p = re(ue), f = p?.expandedOffsetX ?? 0;
|
|
1507
1507
|
if (o === "online") return null;
|
|
1508
|
-
const g = l && !!p?.isExpandedPos, u =
|
|
1508
|
+
const g = l && !!p?.isExpandedPos, u = P[o]?.color ?? P.warning.color, y = Math.abs(a) > Math.abs(s), m = t + f + (y ? Math.sign(a) * 45 : 0), v = n + (y ? 0 : Math.sign(s) * 40), x = t + f + a, w = n + s;
|
|
1509
1509
|
let b = "";
|
|
1510
1510
|
if (y) {
|
|
1511
|
-
const
|
|
1512
|
-
b = `M ${m} ${
|
|
1511
|
+
const S = m + (x - m) / 2;
|
|
1512
|
+
b = `M ${m} ${v} L ${S} ${v} L ${S} ${w} L ${x} ${w}`;
|
|
1513
1513
|
} else {
|
|
1514
|
-
const
|
|
1515
|
-
b = `M ${m} ${
|
|
1514
|
+
const S = v + (w - v) / 2;
|
|
1515
|
+
b = `M ${m} ${v} L ${m} ${S} L ${x} ${S} L ${x} ${w}`;
|
|
1516
1516
|
}
|
|
1517
|
-
let
|
|
1518
|
-
h === "left" && (
|
|
1519
|
-
const
|
|
1517
|
+
let k = "translate(0, -50%)";
|
|
1518
|
+
h === "left" && (k = "translate(-100%, -50%)"), h === "top" && (k = "translate(-50%, -100%)"), h === "bottom" && (k = "translate(-50%, 0)");
|
|
1519
|
+
const T = h === "left" ? -8 : h === "right" ? 8 : 0, $ = h === "top" ? -8 : h === "bottom" ? 8 : 0;
|
|
1520
1520
|
return /* @__PURE__ */ d(
|
|
1521
1521
|
"div",
|
|
1522
1522
|
{
|
|
@@ -1562,11 +1562,11 @@ function W({
|
|
|
1562
1562
|
{
|
|
1563
1563
|
style: {
|
|
1564
1564
|
position: "absolute",
|
|
1565
|
-
left:
|
|
1566
|
-
top:
|
|
1567
|
-
transform:
|
|
1568
|
-
marginLeft:
|
|
1569
|
-
marginTop:
|
|
1565
|
+
left: x,
|
|
1566
|
+
top: w,
|
|
1567
|
+
transform: k,
|
|
1568
|
+
marginLeft: T,
|
|
1569
|
+
marginTop: $,
|
|
1570
1570
|
background: "repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,0.03) 2px, rgba(255,255,255,0.03) 4px), rgba(2, 8, 16, 0.82)",
|
|
1571
1571
|
border: `1px solid ${u}55`,
|
|
1572
1572
|
borderLeft: `2px solid ${u}`,
|
|
@@ -1654,21 +1654,21 @@ function A({
|
|
|
1654
1654
|
bare: g = !1,
|
|
1655
1655
|
alert: u
|
|
1656
1656
|
}) {
|
|
1657
|
-
const y =
|
|
1657
|
+
const y = re(ue);
|
|
1658
1658
|
if (!y)
|
|
1659
1659
|
throw new Error("ServiceNode must be used inside a <Service> component.");
|
|
1660
1660
|
const {
|
|
1661
1661
|
isExpandedPos: m,
|
|
1662
|
-
animPhase:
|
|
1663
|
-
compactCx:
|
|
1664
|
-
compactCy:
|
|
1662
|
+
animPhase: v,
|
|
1663
|
+
compactCx: x,
|
|
1664
|
+
compactCy: w,
|
|
1665
1665
|
groupScale: b,
|
|
1666
|
-
effectiveScale:
|
|
1667
|
-
transitionValue:
|
|
1668
|
-
onComponentClick:
|
|
1669
|
-
selectedComponentName:
|
|
1670
|
-
expandedOffsetX:
|
|
1671
|
-
} = y,
|
|
1666
|
+
effectiveScale: k,
|
|
1667
|
+
transitionValue: T,
|
|
1668
|
+
onComponentClick: $,
|
|
1669
|
+
selectedComponentName: S,
|
|
1670
|
+
expandedOffsetX: N
|
|
1671
|
+
} = y, z = p === 0 || y.isSelected && v >= p ? 1 : 0, H = x + o.x, ae = w + o.y, le = m ? t + N : H, I = m ? n : ae, U = f !== void 0 ? f : y.isCompact ? b : k, se = !!c && !!S && c.name === S, Ie = c?.status ? P[c.status]?.color ?? a : a, Oe = c?.status === "offline" ? "#4a6a8a" : Ie, Y = c && m && $ ? () => $({
|
|
1672
1672
|
type: c.type,
|
|
1673
1673
|
name: c.name,
|
|
1674
1674
|
status: c.status,
|
|
@@ -1678,32 +1678,32 @@ function A({
|
|
|
1678
1678
|
dialogMetrics: c.dialogMetrics,
|
|
1679
1679
|
subComponents: c.subComponents,
|
|
1680
1680
|
graphSeries: c.graphSeries
|
|
1681
|
-
}) : void 0,
|
|
1682
|
-
return /* @__PURE__ */ d(
|
|
1681
|
+
}) : void 0, L = c?.status ?? "online", Q = c?.name ?? s ?? "";
|
|
1682
|
+
return /* @__PURE__ */ d(Ee, { children: [
|
|
1683
1683
|
/* @__PURE__ */ e(
|
|
1684
1684
|
"div",
|
|
1685
1685
|
{
|
|
1686
1686
|
style: {
|
|
1687
1687
|
position: "absolute",
|
|
1688
|
-
left:
|
|
1689
|
-
top:
|
|
1688
|
+
left: le,
|
|
1689
|
+
top: I,
|
|
1690
1690
|
transform: `translate(-50%, -50%) scale(${U})`,
|
|
1691
|
-
opacity:
|
|
1691
|
+
opacity: z,
|
|
1692
1692
|
zIndex: i,
|
|
1693
|
-
transition:
|
|
1694
|
-
pointerEvents: m &&
|
|
1693
|
+
transition: T || "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)",
|
|
1694
|
+
pointerEvents: m && z >= 0.5 ? "auto" : "none"
|
|
1695
1695
|
},
|
|
1696
1696
|
children: g ? r : /* @__PURE__ */ e(
|
|
1697
|
-
|
|
1697
|
+
jt,
|
|
1698
1698
|
{
|
|
1699
|
-
statusColor:
|
|
1699
|
+
statusColor: Oe,
|
|
1700
1700
|
label: s,
|
|
1701
1701
|
subLabel: l,
|
|
1702
1702
|
delay: h,
|
|
1703
1703
|
showLabels: m,
|
|
1704
1704
|
isCompact: y.isCompact,
|
|
1705
|
-
onClick:
|
|
1706
|
-
isSelected:
|
|
1705
|
+
onClick: Y,
|
|
1706
|
+
isSelected: se,
|
|
1707
1707
|
children: r
|
|
1708
1708
|
}
|
|
1709
1709
|
)
|
|
@@ -1714,7 +1714,7 @@ function A({
|
|
|
1714
1714
|
{
|
|
1715
1715
|
ex: t,
|
|
1716
1716
|
ey: n,
|
|
1717
|
-
status:
|
|
1717
|
+
status: L,
|
|
1718
1718
|
title: Q,
|
|
1719
1719
|
msg: u.msg,
|
|
1720
1720
|
offsetX: u.offsetX ?? 110,
|
|
@@ -1726,7 +1726,7 @@ function A({
|
|
|
1726
1726
|
)
|
|
1727
1727
|
] });
|
|
1728
1728
|
}
|
|
1729
|
-
function
|
|
1729
|
+
function jt({
|
|
1730
1730
|
children: t,
|
|
1731
1731
|
statusColor: n,
|
|
1732
1732
|
label: o,
|
|
@@ -1737,7 +1737,7 @@ function Vt({
|
|
|
1737
1737
|
onClick: l,
|
|
1738
1738
|
isSelected: h = !1
|
|
1739
1739
|
}) {
|
|
1740
|
-
const [c, p] =
|
|
1740
|
+
const [c, p] = R(!1), f = h ? `brightness(1.5) drop-shadow(0 0 24px ${n}cc) drop-shadow(0 0 8px ${n}88)` : c && l ? `brightness(1.2) drop-shadow(0 0 12px ${n}77)` : "";
|
|
1741
1741
|
return /* @__PURE__ */ d(
|
|
1742
1742
|
"div",
|
|
1743
1743
|
{
|
|
@@ -1766,7 +1766,7 @@ function Vt({
|
|
|
1766
1766
|
}
|
|
1767
1767
|
}
|
|
1768
1768
|
),
|
|
1769
|
-
/* @__PURE__ */ e("div", { style: s ? { background: "#040c1a", borderRadius: 2 } : void 0, children: s &&
|
|
1769
|
+
/* @__PURE__ */ e("div", { style: s ? { background: "#040c1a", borderRadius: 2 } : void 0, children: s && j.isValidElement(t) ? j.cloneElement(t, {
|
|
1770
1770
|
_compact: !0
|
|
1771
1771
|
}) : t })
|
|
1772
1772
|
] }),
|
|
@@ -1787,7 +1787,7 @@ function Vt({
|
|
|
1787
1787
|
}
|
|
1788
1788
|
);
|
|
1789
1789
|
}
|
|
1790
|
-
function
|
|
1790
|
+
function vt({ synced: t, latencyMs: n }) {
|
|
1791
1791
|
const o = t ? "#00ff88" : "#ff8c00";
|
|
1792
1792
|
return /* @__PURE__ */ d("div", { className: "sync-bridge", children: [
|
|
1793
1793
|
/* @__PURE__ */ d("div", { className: "sync-arrows", children: [
|
|
@@ -1822,8 +1822,8 @@ function bt({ synced: t, latencyMs: n }) {
|
|
|
1822
1822
|
] })
|
|
1823
1823
|
] });
|
|
1824
1824
|
}
|
|
1825
|
-
const te = 140,
|
|
1826
|
-
function
|
|
1825
|
+
const te = 140, _ = 240, oe = 160, me = Je(te, _, oe);
|
|
1826
|
+
function Xt({
|
|
1827
1827
|
cfg: t,
|
|
1828
1828
|
name: n,
|
|
1829
1829
|
cpuLoad: o,
|
|
@@ -1843,8 +1843,8 @@ function _t({
|
|
|
1843
1843
|
{
|
|
1844
1844
|
style: {
|
|
1845
1845
|
width: te,
|
|
1846
|
-
height:
|
|
1847
|
-
background: a ?
|
|
1846
|
+
height: _,
|
|
1847
|
+
background: a ? Te : Ze,
|
|
1848
1848
|
position: "relative",
|
|
1849
1849
|
overflow: "hidden",
|
|
1850
1850
|
fontFamily: "'Courier New', monospace",
|
|
@@ -2235,13 +2235,13 @@ function _t({
|
|
|
2235
2235
|
}
|
|
2236
2236
|
);
|
|
2237
2237
|
}
|
|
2238
|
-
function
|
|
2238
|
+
function qt() {
|
|
2239
2239
|
return /* @__PURE__ */ d(
|
|
2240
2240
|
"div",
|
|
2241
2241
|
{
|
|
2242
2242
|
style: {
|
|
2243
2243
|
width: te,
|
|
2244
|
-
height:
|
|
2244
|
+
height: _,
|
|
2245
2245
|
background: "linear-gradient(180deg, #040c1a 0%, #030810 100%)",
|
|
2246
2246
|
position: "relative",
|
|
2247
2247
|
overflow: "hidden",
|
|
@@ -2349,7 +2349,7 @@ function jt() {
|
|
|
2349
2349
|
}
|
|
2350
2350
|
);
|
|
2351
2351
|
}
|
|
2352
|
-
function
|
|
2352
|
+
function ft({
|
|
2353
2353
|
side: t,
|
|
2354
2354
|
color: n,
|
|
2355
2355
|
brandLabel: o
|
|
@@ -2360,7 +2360,7 @@ function dt({
|
|
|
2360
2360
|
{
|
|
2361
2361
|
style: {
|
|
2362
2362
|
width: oe,
|
|
2363
|
-
height:
|
|
2363
|
+
height: _,
|
|
2364
2364
|
background: i ? "linear-gradient(90deg, #040c1c 0%, #071428 60%, #040c1c 100%)" : "linear-gradient(90deg, #040c1c 0%, #071428 40%, #040c1c 100%)",
|
|
2365
2365
|
position: "relative",
|
|
2366
2366
|
overflow: "hidden"
|
|
@@ -2379,7 +2379,7 @@ function dt({
|
|
|
2379
2379
|
}
|
|
2380
2380
|
}
|
|
2381
2381
|
),
|
|
2382
|
-
[8,
|
|
2382
|
+
[8, _ - 20].map((r) => /* @__PURE__ */ e(
|
|
2383
2383
|
"div",
|
|
2384
2384
|
{
|
|
2385
2385
|
style: {
|
|
@@ -2401,8 +2401,8 @@ function dt({
|
|
|
2401
2401
|
{
|
|
2402
2402
|
style: {
|
|
2403
2403
|
position: "absolute",
|
|
2404
|
-
top:
|
|
2405
|
-
bottom:
|
|
2404
|
+
top: _ * 0.35,
|
|
2405
|
+
bottom: _ * 0.15,
|
|
2406
2406
|
left: i ? 22 : 18,
|
|
2407
2407
|
right: i ? 18 : 22,
|
|
2408
2408
|
display: "flex",
|
|
@@ -2430,7 +2430,7 @@ function dt({
|
|
|
2430
2430
|
{
|
|
2431
2431
|
style: {
|
|
2432
2432
|
position: "absolute",
|
|
2433
|
-
top:
|
|
2433
|
+
top: _ * 0.18,
|
|
2434
2434
|
left: i ? 12 : oe - 78,
|
|
2435
2435
|
fontSize: 7,
|
|
2436
2436
|
color: "#1a3050",
|
|
@@ -2449,7 +2449,7 @@ function dt({
|
|
|
2449
2449
|
}
|
|
2450
2450
|
);
|
|
2451
2451
|
}
|
|
2452
|
-
function
|
|
2452
|
+
function Qt({ cpuLoad: t }) {
|
|
2453
2453
|
const n = t / 100, o = n > 0.75 ? "rgba(255,34,85,0.16)" : n > 0.45 ? "rgba(255,140,0,0.12)" : "rgba(0,229,255,0.08)", i = Math.floor((oe - 18) / 7);
|
|
2454
2454
|
return /* @__PURE__ */ d(
|
|
2455
2455
|
"div",
|
|
@@ -2529,7 +2529,7 @@ function Xt({ cpuLoad: t }) {
|
|
|
2529
2529
|
}
|
|
2530
2530
|
);
|
|
2531
2531
|
}
|
|
2532
|
-
function
|
|
2532
|
+
function he({
|
|
2533
2533
|
rotateX: t = -22,
|
|
2534
2534
|
rotateY: n = 20,
|
|
2535
2535
|
rotateZ: o = 0,
|
|
@@ -2542,26 +2542,26 @@ function se({
|
|
|
2542
2542
|
brandLabel: c = "BUSAUD",
|
|
2543
2543
|
_compact: p
|
|
2544
2544
|
}) {
|
|
2545
|
-
const [f, g] =
|
|
2546
|
-
|
|
2545
|
+
const [f, g] = R(n), u = K(0), y = K(0);
|
|
2546
|
+
Ae(() => {
|
|
2547
2547
|
if (!r) {
|
|
2548
2548
|
g(n);
|
|
2549
2549
|
return;
|
|
2550
2550
|
}
|
|
2551
|
-
const
|
|
2552
|
-
y.current && g((
|
|
2551
|
+
const v = (x) => {
|
|
2552
|
+
y.current && g((w) => w + (x - y.current) * 0.027), y.current = x, u.current = requestAnimationFrame(v);
|
|
2553
2553
|
};
|
|
2554
|
-
return u.current = requestAnimationFrame(
|
|
2554
|
+
return u.current = requestAnimationFrame(v), () => {
|
|
2555
2555
|
cancelAnimationFrame(u.current), y.current = 0;
|
|
2556
2556
|
};
|
|
2557
2557
|
}, [r, n]);
|
|
2558
|
-
const m =
|
|
2558
|
+
const m = P[a] ?? P.online;
|
|
2559
2559
|
return /* @__PURE__ */ d(
|
|
2560
2560
|
"div",
|
|
2561
2561
|
{
|
|
2562
2562
|
style: {
|
|
2563
2563
|
width: te * i,
|
|
2564
|
-
height:
|
|
2564
|
+
height: _ * i,
|
|
2565
2565
|
position: "relative",
|
|
2566
2566
|
display: "flex",
|
|
2567
2567
|
alignItems: "center",
|
|
@@ -2614,7 +2614,7 @@ function se({
|
|
|
2614
2614
|
style: {
|
|
2615
2615
|
position: "absolute",
|
|
2616
2616
|
width: te * 1.4 * i,
|
|
2617
|
-
height:
|
|
2617
|
+
height: _ * 0.8 * i,
|
|
2618
2618
|
background: `radial-gradient(ellipse, ${m.glow} 0%, transparent 65%)`,
|
|
2619
2619
|
filter: `blur(${Math.round(45 * i)}px)`,
|
|
2620
2620
|
pointerEvents: "none",
|
|
@@ -2638,15 +2638,15 @@ function se({
|
|
|
2638
2638
|
{
|
|
2639
2639
|
style: {
|
|
2640
2640
|
width: te,
|
|
2641
|
-
height:
|
|
2641
|
+
height: _,
|
|
2642
2642
|
position: "relative",
|
|
2643
2643
|
transformStyle: "preserve-3d",
|
|
2644
2644
|
transform: `rotateX(${t}deg) rotateY(${f}deg) rotateZ(${o}deg)`,
|
|
2645
2645
|
transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
|
|
2646
2646
|
},
|
|
2647
2647
|
children: [
|
|
2648
|
-
/* @__PURE__ */ e("div", { style:
|
|
2649
|
-
|
|
2648
|
+
/* @__PURE__ */ e("div", { style: me.front, children: /* @__PURE__ */ e(
|
|
2649
|
+
Xt,
|
|
2650
2650
|
{
|
|
2651
2651
|
cfg: m,
|
|
2652
2652
|
name: s,
|
|
@@ -2657,11 +2657,11 @@ function se({
|
|
|
2657
2657
|
brandLabel: c
|
|
2658
2658
|
}
|
|
2659
2659
|
) }),
|
|
2660
|
-
/* @__PURE__ */ e("div", { style:
|
|
2661
|
-
/* @__PURE__ */ e("div", { style:
|
|
2662
|
-
/* @__PURE__ */ e("div", { style:
|
|
2663
|
-
/* @__PURE__ */ e("div", { style:
|
|
2664
|
-
/* @__PURE__ */ e("div", { style:
|
|
2660
|
+
/* @__PURE__ */ e("div", { style: me.back, children: /* @__PURE__ */ e(qt, {}) }),
|
|
2661
|
+
/* @__PURE__ */ e("div", { style: me.left, children: /* @__PURE__ */ e(ft, { side: "left", color: m.color, brandLabel: c }) }),
|
|
2662
|
+
/* @__PURE__ */ e("div", { style: me.right, children: /* @__PURE__ */ e(ft, { side: "right", color: m.color, brandLabel: c }) }),
|
|
2663
|
+
/* @__PURE__ */ e("div", { style: me.top, children: /* @__PURE__ */ e(Qt, { cpuLoad: l }) }),
|
|
2664
|
+
/* @__PURE__ */ e("div", { style: me.bottom, children: /* @__PURE__ */ e(
|
|
2665
2665
|
"div",
|
|
2666
2666
|
{
|
|
2667
2667
|
style: {
|
|
@@ -2680,7 +2680,7 @@ function se({
|
|
|
2680
2680
|
}
|
|
2681
2681
|
);
|
|
2682
2682
|
}
|
|
2683
|
-
function
|
|
2683
|
+
function Ti({
|
|
2684
2684
|
ex: t,
|
|
2685
2685
|
ey: n,
|
|
2686
2686
|
compactOffset: o,
|
|
@@ -2697,7 +2697,7 @@ function Pi({
|
|
|
2697
2697
|
dialogMetrics: u,
|
|
2698
2698
|
subComponents: y,
|
|
2699
2699
|
graphSeries: m,
|
|
2700
|
-
alert:
|
|
2700
|
+
alert: v
|
|
2701
2701
|
}) {
|
|
2702
2702
|
return /* @__PURE__ */ e(
|
|
2703
2703
|
A,
|
|
@@ -2720,16 +2720,16 @@ function Pi({
|
|
|
2720
2720
|
subComponents: y,
|
|
2721
2721
|
graphSeries: m
|
|
2722
2722
|
},
|
|
2723
|
-
alert:
|
|
2724
|
-
children: /* @__PURE__ */ e(
|
|
2723
|
+
alert: v,
|
|
2724
|
+
children: /* @__PURE__ */ e(he, { status: a, cpuLoad: p, memLoad: f, brandLabel: g })
|
|
2725
2725
|
}
|
|
2726
2726
|
);
|
|
2727
2727
|
}
|
|
2728
|
-
const
|
|
2729
|
-
function
|
|
2728
|
+
const Ke = 12, fe = 55, G = fe * 2, Se = 52, it = 10, je = 3 * Se + 2 * it, xe = 2 * Math.PI * fe / Ke, Xe = Array.from({ length: Ke }, (t, n) => n / Ke * 360);
|
|
2729
|
+
function qe(t) {
|
|
2730
2730
|
return Math.cos(t * Math.PI / 180) * 0.42 + 0.58;
|
|
2731
2731
|
}
|
|
2732
|
-
function
|
|
2732
|
+
function Gt({
|
|
2733
2733
|
diskY: t,
|
|
2734
2734
|
diskIdx: n,
|
|
2735
2735
|
cfg: o,
|
|
@@ -2737,25 +2737,25 @@ function Qt({
|
|
|
2737
2737
|
capacity: r,
|
|
2738
2738
|
compact: a
|
|
2739
2739
|
}) {
|
|
2740
|
-
return /* @__PURE__ */ d(
|
|
2741
|
-
|
|
2742
|
-
const h =
|
|
2740
|
+
return /* @__PURE__ */ d(Ee, { children: [
|
|
2741
|
+
Xe.map((s, l) => {
|
|
2742
|
+
const h = qe(s), c = l === 0, p = Math.round(4 + h * 9), f = Math.round(12 + h * 22), g = Math.round(28 + h * 44), u = Math.round(h * 0.55 * 255).toString(16).padStart(2, "0");
|
|
2743
2743
|
return /* @__PURE__ */ e(
|
|
2744
2744
|
"div",
|
|
2745
2745
|
{
|
|
2746
2746
|
style: {
|
|
2747
2747
|
position: "absolute",
|
|
2748
|
-
width:
|
|
2749
|
-
height:
|
|
2750
|
-
left: (
|
|
2748
|
+
width: xe,
|
|
2749
|
+
height: Se,
|
|
2750
|
+
left: (G - xe) / 2,
|
|
2751
2751
|
top: t,
|
|
2752
|
-
transform: `rotateY(${s}deg) translateZ(${
|
|
2752
|
+
transform: `rotateY(${s}deg) translateZ(${fe}px)`,
|
|
2753
2753
|
backfaceVisibility: "hidden",
|
|
2754
2754
|
background: c ? a ? "linear-gradient(180deg, rgb(0,28,62), rgb(0,18,44))" : "linear-gradient(180deg, rgba(0,28,62,0.70), rgba(0,18,44,0.76))" : `rgb(${p},${f},${g})`,
|
|
2755
2755
|
borderLeft: `1px solid ${o.color}${u}`,
|
|
2756
2756
|
boxShadow: c ? `inset 0 0 18px ${o.color}28` : "none"
|
|
2757
2757
|
},
|
|
2758
|
-
children: c && /* @__PURE__ */ d(
|
|
2758
|
+
children: c && /* @__PURE__ */ d(Ee, { children: [
|
|
2759
2759
|
/* @__PURE__ */ e(
|
|
2760
2760
|
"div",
|
|
2761
2761
|
{
|
|
@@ -2808,10 +2808,10 @@ function Qt({
|
|
|
2808
2808
|
{
|
|
2809
2809
|
style: {
|
|
2810
2810
|
position: "absolute",
|
|
2811
|
-
width:
|
|
2812
|
-
height:
|
|
2811
|
+
width: G + 4,
|
|
2812
|
+
height: G + 4,
|
|
2813
2813
|
left: -2,
|
|
2814
|
-
top: t -
|
|
2814
|
+
top: t - fe,
|
|
2815
2815
|
borderRadius: "50%",
|
|
2816
2816
|
transform: "rotateX(90deg)",
|
|
2817
2817
|
backfaceVisibility: "hidden",
|
|
@@ -2869,10 +2869,10 @@ function Qt({
|
|
|
2869
2869
|
{
|
|
2870
2870
|
style: {
|
|
2871
2871
|
position: "absolute",
|
|
2872
|
-
width:
|
|
2873
|
-
height:
|
|
2872
|
+
width: G + 4,
|
|
2873
|
+
height: G + 4,
|
|
2874
2874
|
left: -2,
|
|
2875
|
-
top: t +
|
|
2875
|
+
top: t + Se - fe,
|
|
2876
2876
|
borderRadius: "50%",
|
|
2877
2877
|
transform: "rotateX(-90deg)",
|
|
2878
2878
|
backfaceVisibility: "hidden",
|
|
@@ -2896,18 +2896,18 @@ function Qt({
|
|
|
2896
2896
|
)
|
|
2897
2897
|
}
|
|
2898
2898
|
),
|
|
2899
|
-
i &&
|
|
2900
|
-
const h =
|
|
2899
|
+
i && Xe.map((s, l) => {
|
|
2900
|
+
const h = qe(s);
|
|
2901
2901
|
return /* @__PURE__ */ e(
|
|
2902
2902
|
"div",
|
|
2903
2903
|
{
|
|
2904
2904
|
style: {
|
|
2905
2905
|
position: "absolute",
|
|
2906
|
-
width:
|
|
2906
|
+
width: xe + 1.5,
|
|
2907
2907
|
height: 6,
|
|
2908
|
-
left: (
|
|
2909
|
-
top: t +
|
|
2910
|
-
transform: `rotateY(${s}deg) translateZ(${
|
|
2908
|
+
left: (G - xe - 1.5) / 2,
|
|
2909
|
+
top: t + Se - 3,
|
|
2910
|
+
transform: `rotateY(${s}deg) translateZ(${fe + 1.5}px)`,
|
|
2911
2911
|
backfaceVisibility: "hidden",
|
|
2912
2912
|
background: o.color,
|
|
2913
2913
|
boxShadow: `0 0 8px ${o.color}, 0 0 18px ${o.color}aa, 0 0 30px ${o.glow}`,
|
|
@@ -2917,18 +2917,18 @@ function Qt({
|
|
|
2917
2917
|
`rng${n}${l}`
|
|
2918
2918
|
);
|
|
2919
2919
|
}),
|
|
2920
|
-
i &&
|
|
2921
|
-
const h =
|
|
2920
|
+
i && Xe.map((s, l) => {
|
|
2921
|
+
const h = qe(s), c = Math.round(2 + h * 4), p = Math.round(5 + h * 10), f = Math.round(12 + h * 20);
|
|
2922
2922
|
return /* @__PURE__ */ e(
|
|
2923
2923
|
"div",
|
|
2924
2924
|
{
|
|
2925
2925
|
style: {
|
|
2926
2926
|
position: "absolute",
|
|
2927
|
-
width:
|
|
2928
|
-
height:
|
|
2929
|
-
left: (
|
|
2930
|
-
top: t +
|
|
2931
|
-
transform: `rotateY(${s}deg) translateZ(${
|
|
2927
|
+
width: xe,
|
|
2928
|
+
height: it,
|
|
2929
|
+
left: (G - xe) / 2,
|
|
2930
|
+
top: t + Se,
|
|
2931
|
+
transform: `rotateY(${s}deg) translateZ(${fe}px)`,
|
|
2932
2932
|
backfaceVisibility: "hidden",
|
|
2933
2933
|
background: `rgb(${c},${p},${f})`
|
|
2934
2934
|
}
|
|
@@ -2938,7 +2938,7 @@ function Qt({
|
|
|
2938
2938
|
})
|
|
2939
2939
|
] });
|
|
2940
2940
|
}
|
|
2941
|
-
function
|
|
2941
|
+
function Ne({
|
|
2942
2942
|
rotateX: t = -22,
|
|
2943
2943
|
rotateY: n = -15,
|
|
2944
2944
|
rotateZ: o = 0,
|
|
@@ -2950,8 +2950,8 @@ function Ae({
|
|
|
2950
2950
|
// connections = 284,
|
|
2951
2951
|
_compact: l
|
|
2952
2952
|
}) {
|
|
2953
|
-
const [h, c] =
|
|
2954
|
-
|
|
2953
|
+
const [h, c] = R(n), p = K(0), f = K(0);
|
|
2954
|
+
Ae(() => {
|
|
2955
2955
|
if (!r) {
|
|
2956
2956
|
c(n);
|
|
2957
2957
|
return;
|
|
@@ -2963,13 +2963,13 @@ function Ae({
|
|
|
2963
2963
|
cancelAnimationFrame(p.current), f.current = 0;
|
|
2964
2964
|
};
|
|
2965
2965
|
}, [r, n]);
|
|
2966
|
-
const g =
|
|
2966
|
+
const g = P[a] ?? P.online;
|
|
2967
2967
|
return /* @__PURE__ */ d(
|
|
2968
2968
|
"div",
|
|
2969
2969
|
{
|
|
2970
2970
|
style: {
|
|
2971
|
-
width:
|
|
2972
|
-
height:
|
|
2971
|
+
width: G * i,
|
|
2972
|
+
height: je * i,
|
|
2973
2973
|
position: "relative",
|
|
2974
2974
|
display: "flex",
|
|
2975
2975
|
alignItems: "center",
|
|
@@ -3029,8 +3029,8 @@ function Ae({
|
|
|
3029
3029
|
{
|
|
3030
3030
|
style: {
|
|
3031
3031
|
position: "absolute",
|
|
3032
|
-
width:
|
|
3033
|
-
height:
|
|
3032
|
+
width: G * 2.8 * i,
|
|
3033
|
+
height: je * 0.85 * i,
|
|
3034
3034
|
background: `radial-gradient(ellipse, ${g.glow} 0%, transparent 65%)`,
|
|
3035
3035
|
filter: `blur(${Math.round(50 * i)}px)`,
|
|
3036
3036
|
pointerEvents: "none",
|
|
@@ -3053,17 +3053,17 @@ function Ae({
|
|
|
3053
3053
|
"div",
|
|
3054
3054
|
{
|
|
3055
3055
|
style: {
|
|
3056
|
-
width:
|
|
3057
|
-
height:
|
|
3056
|
+
width: G,
|
|
3057
|
+
height: je,
|
|
3058
3058
|
position: "relative",
|
|
3059
3059
|
transformStyle: "preserve-3d",
|
|
3060
3060
|
transform: `rotateX(${t}deg) rotateY(${h}deg) rotateZ(${o}deg)`,
|
|
3061
3061
|
transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
|
|
3062
3062
|
},
|
|
3063
3063
|
children: [0, 1, 2].map((u) => /* @__PURE__ */ e(
|
|
3064
|
-
|
|
3064
|
+
Gt,
|
|
3065
3065
|
{
|
|
3066
|
-
diskY: u * (
|
|
3066
|
+
diskY: u * (Se + it),
|
|
3067
3067
|
diskIdx: u,
|
|
3068
3068
|
cfg: g,
|
|
3069
3069
|
hasRingBelow: u < 2,
|
|
@@ -3080,7 +3080,7 @@ function Ae({
|
|
|
3080
3080
|
}
|
|
3081
3081
|
);
|
|
3082
3082
|
}
|
|
3083
|
-
function
|
|
3083
|
+
function Ii({
|
|
3084
3084
|
ex: t,
|
|
3085
3085
|
ey: n,
|
|
3086
3086
|
compactOffset: o,
|
|
@@ -3119,12 +3119,12 @@ function Ci({
|
|
|
3119
3119
|
graphSeries: u
|
|
3120
3120
|
},
|
|
3121
3121
|
alert: y,
|
|
3122
|
-
children: /* @__PURE__ */ e(
|
|
3122
|
+
children: /* @__PURE__ */ e(Ne, { status: a, capacity: p })
|
|
3123
3123
|
}
|
|
3124
3124
|
);
|
|
3125
3125
|
}
|
|
3126
|
-
function
|
|
3127
|
-
const i = (
|
|
3126
|
+
function nt({ status: t = "online", scale: n = 1 }) {
|
|
3127
|
+
const i = (P[t] ?? P.online).color;
|
|
3128
3128
|
return /* @__PURE__ */ e(
|
|
3129
3129
|
"div",
|
|
3130
3130
|
{
|
|
@@ -3235,7 +3235,7 @@ function tt({ status: t = "online", scale: n = 1 }) {
|
|
|
3235
3235
|
}
|
|
3236
3236
|
);
|
|
3237
3237
|
}
|
|
3238
|
-
function
|
|
3238
|
+
function Oi({
|
|
3239
3239
|
ex: t,
|
|
3240
3240
|
ey: n,
|
|
3241
3241
|
compactOffset: o,
|
|
@@ -3254,12 +3254,12 @@ function Ei({
|
|
|
3254
3254
|
zIndex: i,
|
|
3255
3255
|
color: s,
|
|
3256
3256
|
visibleAtPhase: l,
|
|
3257
|
-
children: /* @__PURE__ */ e(
|
|
3257
|
+
children: /* @__PURE__ */ e(nt, { status: r, scale: a })
|
|
3258
3258
|
}
|
|
3259
3259
|
);
|
|
3260
3260
|
}
|
|
3261
|
-
const ie = 190,
|
|
3262
|
-
function
|
|
3261
|
+
const ie = 190, X = 72, $e = 120, ve = Je(ie, X, $e);
|
|
3262
|
+
function Kt({
|
|
3263
3263
|
cfg: t,
|
|
3264
3264
|
name: n,
|
|
3265
3265
|
traffic: o,
|
|
@@ -3272,8 +3272,8 @@ function qt({
|
|
|
3272
3272
|
{
|
|
3273
3273
|
style: {
|
|
3274
3274
|
width: ie,
|
|
3275
|
-
height:
|
|
3276
|
-
background: r ?
|
|
3275
|
+
height: X,
|
|
3276
|
+
background: r ? Te : Ze,
|
|
3277
3277
|
position: "relative",
|
|
3278
3278
|
overflow: "hidden",
|
|
3279
3279
|
fontFamily: "'Courier New', monospace",
|
|
@@ -3521,13 +3521,13 @@ function qt({
|
|
|
3521
3521
|
}
|
|
3522
3522
|
);
|
|
3523
3523
|
}
|
|
3524
|
-
function
|
|
3524
|
+
function Zt() {
|
|
3525
3525
|
return /* @__PURE__ */ d(
|
|
3526
3526
|
"div",
|
|
3527
3527
|
{
|
|
3528
3528
|
style: {
|
|
3529
3529
|
width: ie,
|
|
3530
|
-
height:
|
|
3530
|
+
height: X,
|
|
3531
3531
|
background: "linear-gradient(180deg, #040c1a, #030810)",
|
|
3532
3532
|
position: "relative",
|
|
3533
3533
|
overflow: "hidden",
|
|
@@ -3542,7 +3542,7 @@ function Gt() {
|
|
|
3542
3542
|
{
|
|
3543
3543
|
style: {
|
|
3544
3544
|
width: 40,
|
|
3545
|
-
height:
|
|
3545
|
+
height: X - 16,
|
|
3546
3546
|
background: "#020710",
|
|
3547
3547
|
border: "1px solid #1a2d40",
|
|
3548
3548
|
borderRadius: 2,
|
|
@@ -3598,7 +3598,7 @@ function Gt() {
|
|
|
3598
3598
|
style: {
|
|
3599
3599
|
marginLeft: "auto",
|
|
3600
3600
|
width: 12,
|
|
3601
|
-
height:
|
|
3601
|
+
height: X - 16,
|
|
3602
3602
|
background: "#020710",
|
|
3603
3603
|
border: "1px solid #1a3050",
|
|
3604
3604
|
borderRadius: 1
|
|
@@ -3609,13 +3609,13 @@ function Gt() {
|
|
|
3609
3609
|
}
|
|
3610
3610
|
);
|
|
3611
3611
|
}
|
|
3612
|
-
function
|
|
3612
|
+
function ht({ side: t, color: n }) {
|
|
3613
3613
|
return /* @__PURE__ */ d(
|
|
3614
3614
|
"div",
|
|
3615
3615
|
{
|
|
3616
3616
|
style: {
|
|
3617
|
-
width:
|
|
3618
|
-
height:
|
|
3617
|
+
width: $e,
|
|
3618
|
+
height: X,
|
|
3619
3619
|
background: t === "right" ? "linear-gradient(90deg, #04091a 0%, #071428 60%, #040c1c 100%)" : "linear-gradient(90deg, #040c1c 0%, #071428 40%, #04091a 100%)",
|
|
3620
3620
|
position: "relative",
|
|
3621
3621
|
overflow: "hidden"
|
|
@@ -3639,8 +3639,8 @@ function ct({ side: t, color: n }) {
|
|
|
3639
3639
|
{
|
|
3640
3640
|
style: {
|
|
3641
3641
|
position: "absolute",
|
|
3642
|
-
top:
|
|
3643
|
-
bottom:
|
|
3642
|
+
top: X * 0.25,
|
|
3643
|
+
bottom: X * 0.25,
|
|
3644
3644
|
left: 14,
|
|
3645
3645
|
right: 14,
|
|
3646
3646
|
display: "flex",
|
|
@@ -3666,14 +3666,14 @@ function ct({ side: t, color: n }) {
|
|
|
3666
3666
|
}
|
|
3667
3667
|
);
|
|
3668
3668
|
}
|
|
3669
|
-
function
|
|
3670
|
-
const n = Math.floor((
|
|
3669
|
+
function Jt({ traffic: t }) {
|
|
3670
|
+
const n = Math.floor(($e - 14) / 7);
|
|
3671
3671
|
return /* @__PURE__ */ d(
|
|
3672
3672
|
"div",
|
|
3673
3673
|
{
|
|
3674
3674
|
style: {
|
|
3675
3675
|
width: ie,
|
|
3676
|
-
height:
|
|
3676
|
+
height: $e,
|
|
3677
3677
|
background: "linear-gradient(180deg, #0c1c30 0%, #07101e 40%, #040c1a 100%)",
|
|
3678
3678
|
position: "relative",
|
|
3679
3679
|
overflow: "hidden"
|
|
@@ -3687,7 +3687,7 @@ function Kt({ traffic: t }) {
|
|
|
3687
3687
|
top: 0,
|
|
3688
3688
|
left: 0,
|
|
3689
3689
|
right: 0,
|
|
3690
|
-
height:
|
|
3690
|
+
height: $e * 0.35,
|
|
3691
3691
|
background: `radial-gradient(ellipse at 50% 0%,
|
|
3692
3692
|
${t > 70 ? "rgba(255,34,85,0.14)" : "rgba(0,229,255,0.08)"} 0%,
|
|
3693
3693
|
transparent 70%)`
|
|
@@ -3725,7 +3725,7 @@ function Kt({ traffic: t }) {
|
|
|
3725
3725
|
}
|
|
3726
3726
|
);
|
|
3727
3727
|
}
|
|
3728
|
-
function
|
|
3728
|
+
function ot({
|
|
3729
3729
|
rotateX: t = -20,
|
|
3730
3730
|
rotateY: n = 20,
|
|
3731
3731
|
rotateZ: o = 0,
|
|
@@ -3737,26 +3737,26 @@ function it({
|
|
|
3737
3737
|
activeRoutes: h = 12,
|
|
3738
3738
|
_compact: c
|
|
3739
3739
|
}) {
|
|
3740
|
-
const [p, f] =
|
|
3741
|
-
|
|
3740
|
+
const [p, f] = R(n), g = K(0), u = K(0);
|
|
3741
|
+
Ae(() => {
|
|
3742
3742
|
if (!r) {
|
|
3743
3743
|
f(n);
|
|
3744
3744
|
return;
|
|
3745
3745
|
}
|
|
3746
|
-
const m = (
|
|
3747
|
-
u.current && f((
|
|
3746
|
+
const m = (v) => {
|
|
3747
|
+
u.current && f((x) => x + (v - u.current) * 0.027), u.current = v, g.current = requestAnimationFrame(m);
|
|
3748
3748
|
};
|
|
3749
3749
|
return g.current = requestAnimationFrame(m), () => {
|
|
3750
3750
|
cancelAnimationFrame(g.current), u.current = 0;
|
|
3751
3751
|
};
|
|
3752
3752
|
}, [r, n]);
|
|
3753
|
-
const y =
|
|
3753
|
+
const y = P[a] ?? P.online;
|
|
3754
3754
|
return /* @__PURE__ */ d(
|
|
3755
3755
|
"div",
|
|
3756
3756
|
{
|
|
3757
3757
|
style: {
|
|
3758
3758
|
width: ie * i,
|
|
3759
|
-
height:
|
|
3759
|
+
height: X * i,
|
|
3760
3760
|
position: "relative",
|
|
3761
3761
|
display: "flex",
|
|
3762
3762
|
alignItems: "center",
|
|
@@ -3817,7 +3817,7 @@ function it({
|
|
|
3817
3817
|
style: {
|
|
3818
3818
|
position: "absolute",
|
|
3819
3819
|
width: ie * 1.3 * i,
|
|
3820
|
-
height:
|
|
3820
|
+
height: X * 2 * i,
|
|
3821
3821
|
background: `radial-gradient(ellipse, ${y.glow} 0%, transparent 65%)`,
|
|
3822
3822
|
filter: `blur(${Math.round(40 * i)}px)`,
|
|
3823
3823
|
pointerEvents: "none",
|
|
@@ -3841,15 +3841,15 @@ function it({
|
|
|
3841
3841
|
{
|
|
3842
3842
|
style: {
|
|
3843
3843
|
width: ie,
|
|
3844
|
-
height:
|
|
3844
|
+
height: X,
|
|
3845
3845
|
position: "relative",
|
|
3846
3846
|
transformStyle: "preserve-3d",
|
|
3847
3847
|
transform: `rotateX(${t}deg) rotateY(${p}deg) rotateZ(${o}deg)`,
|
|
3848
3848
|
transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
|
|
3849
3849
|
},
|
|
3850
3850
|
children: [
|
|
3851
|
-
/* @__PURE__ */ e("div", { style:
|
|
3852
|
-
|
|
3851
|
+
/* @__PURE__ */ e("div", { style: ve.front, children: /* @__PURE__ */ e(
|
|
3852
|
+
Kt,
|
|
3853
3853
|
{
|
|
3854
3854
|
cfg: y,
|
|
3855
3855
|
name: s,
|
|
@@ -3858,11 +3858,11 @@ function it({
|
|
|
3858
3858
|
compact: c
|
|
3859
3859
|
}
|
|
3860
3860
|
) }),
|
|
3861
|
-
/* @__PURE__ */ e("div", { style:
|
|
3862
|
-
/* @__PURE__ */ e("div", { style:
|
|
3863
|
-
/* @__PURE__ */ e("div", { style:
|
|
3864
|
-
/* @__PURE__ */ e("div", { style:
|
|
3865
|
-
/* @__PURE__ */ e("div", { style:
|
|
3861
|
+
/* @__PURE__ */ e("div", { style: ve.back, children: /* @__PURE__ */ e(Zt, {}) }),
|
|
3862
|
+
/* @__PURE__ */ e("div", { style: ve.left, children: /* @__PURE__ */ e(ht, { side: "left", color: y.color }) }),
|
|
3863
|
+
/* @__PURE__ */ e("div", { style: ve.right, children: /* @__PURE__ */ e(ht, { side: "right", color: y.color }) }),
|
|
3864
|
+
/* @__PURE__ */ e("div", { style: ve.top, children: /* @__PURE__ */ e(Jt, { traffic: l }) }),
|
|
3865
|
+
/* @__PURE__ */ e("div", { style: ve.bottom, children: /* @__PURE__ */ e("div", { style: { width: ie, height: $e, background: "#020508" } }) })
|
|
3866
3866
|
]
|
|
3867
3867
|
}
|
|
3868
3868
|
)
|
|
@@ -3872,7 +3872,7 @@ function it({
|
|
|
3872
3872
|
}
|
|
3873
3873
|
);
|
|
3874
3874
|
}
|
|
3875
|
-
function
|
|
3875
|
+
function Li({
|
|
3876
3876
|
ex: t,
|
|
3877
3877
|
ey: n,
|
|
3878
3878
|
compactOffset: o,
|
|
@@ -3912,17 +3912,17 @@ function Ti({
|
|
|
3912
3912
|
graphSeries: y
|
|
3913
3913
|
},
|
|
3914
3914
|
alert: m,
|
|
3915
|
-
children: /* @__PURE__ */ e(
|
|
3915
|
+
children: /* @__PURE__ */ e(ot, { status: a, traffic: p, activeRoutes: f })
|
|
3916
3916
|
}
|
|
3917
3917
|
);
|
|
3918
3918
|
}
|
|
3919
|
-
const ne = 190,
|
|
3919
|
+
const ne = 190, q = 72, ke = 120, we = Je(ne, q, ke), ut = {
|
|
3920
3920
|
online: { color: "#bb55ff", glow: "rgba(187,85,255,0.50)" },
|
|
3921
3921
|
warning: { color: "#ff8c00", glow: "rgba(255,140,0,0.50)" },
|
|
3922
3922
|
critical: { color: "#ff2255", glow: "rgba(255,34,85,0.50)" },
|
|
3923
3923
|
offline: { color: "#1e3a5a", glow: "rgba(30,58,90,0.25)" }
|
|
3924
3924
|
};
|
|
3925
|
-
function
|
|
3925
|
+
function ei({
|
|
3926
3926
|
cfg: t,
|
|
3927
3927
|
name: n,
|
|
3928
3928
|
queueDepth: o,
|
|
@@ -3936,8 +3936,8 @@ function Zt({
|
|
|
3936
3936
|
{
|
|
3937
3937
|
style: {
|
|
3938
3938
|
width: ne,
|
|
3939
|
-
height:
|
|
3940
|
-
background: a ?
|
|
3939
|
+
height: q,
|
|
3940
|
+
background: a ? Te : Ze,
|
|
3941
3941
|
position: "relative",
|
|
3942
3942
|
overflow: "hidden",
|
|
3943
3943
|
fontFamily: "'Courier New', monospace",
|
|
@@ -4181,13 +4181,13 @@ function Zt({
|
|
|
4181
4181
|
}
|
|
4182
4182
|
);
|
|
4183
4183
|
}
|
|
4184
|
-
function
|
|
4184
|
+
function ti() {
|
|
4185
4185
|
return /* @__PURE__ */ d(
|
|
4186
4186
|
"div",
|
|
4187
4187
|
{
|
|
4188
4188
|
style: {
|
|
4189
4189
|
width: ne,
|
|
4190
|
-
height:
|
|
4190
|
+
height: q,
|
|
4191
4191
|
background: "linear-gradient(180deg, #040c1a, #030810)",
|
|
4192
4192
|
position: "relative",
|
|
4193
4193
|
overflow: "hidden",
|
|
@@ -4202,7 +4202,7 @@ function Jt() {
|
|
|
4202
4202
|
{
|
|
4203
4203
|
style: {
|
|
4204
4204
|
width: 40,
|
|
4205
|
-
height:
|
|
4205
|
+
height: q - 16,
|
|
4206
4206
|
background: "#020710",
|
|
4207
4207
|
border: "1px solid #1a2d40",
|
|
4208
4208
|
borderRadius: 2,
|
|
@@ -4258,7 +4258,7 @@ function Jt() {
|
|
|
4258
4258
|
style: {
|
|
4259
4259
|
marginLeft: "auto",
|
|
4260
4260
|
width: 12,
|
|
4261
|
-
height:
|
|
4261
|
+
height: q - 16,
|
|
4262
4262
|
background: "#020710",
|
|
4263
4263
|
border: "1px solid #1a3050",
|
|
4264
4264
|
borderRadius: 1
|
|
@@ -4269,13 +4269,13 @@ function Jt() {
|
|
|
4269
4269
|
}
|
|
4270
4270
|
);
|
|
4271
4271
|
}
|
|
4272
|
-
function
|
|
4272
|
+
function bt({ side: t, color: n }) {
|
|
4273
4273
|
return /* @__PURE__ */ d(
|
|
4274
4274
|
"div",
|
|
4275
4275
|
{
|
|
4276
4276
|
style: {
|
|
4277
|
-
width:
|
|
4278
|
-
height:
|
|
4277
|
+
width: ke,
|
|
4278
|
+
height: q,
|
|
4279
4279
|
background: t === "right" ? "linear-gradient(90deg, #04091a 0%, #071428 60%, #040c1c 100%)" : "linear-gradient(90deg, #040c1c 0%, #071428 40%, #04091a 100%)",
|
|
4280
4280
|
position: "relative",
|
|
4281
4281
|
overflow: "hidden"
|
|
@@ -4299,8 +4299,8 @@ function ft({ side: t, color: n }) {
|
|
|
4299
4299
|
{
|
|
4300
4300
|
style: {
|
|
4301
4301
|
position: "absolute",
|
|
4302
|
-
top:
|
|
4303
|
-
bottom:
|
|
4302
|
+
top: q * 0.25,
|
|
4303
|
+
bottom: q * 0.25,
|
|
4304
4304
|
left: 14,
|
|
4305
4305
|
right: 14,
|
|
4306
4306
|
display: "flex",
|
|
@@ -4326,14 +4326,14 @@ function ft({ side: t, color: n }) {
|
|
|
4326
4326
|
}
|
|
4327
4327
|
);
|
|
4328
4328
|
}
|
|
4329
|
-
function
|
|
4330
|
-
const o = Math.floor((
|
|
4329
|
+
function ii({ queueDepth: t, color: n }) {
|
|
4330
|
+
const o = Math.floor((ke - 14) / 7);
|
|
4331
4331
|
return /* @__PURE__ */ d(
|
|
4332
4332
|
"div",
|
|
4333
4333
|
{
|
|
4334
4334
|
style: {
|
|
4335
4335
|
width: ne,
|
|
4336
|
-
height:
|
|
4336
|
+
height: ke,
|
|
4337
4337
|
background: "linear-gradient(180deg, #0c1c30 0%, #07101e 40%, #040c1a 100%)",
|
|
4338
4338
|
position: "relative",
|
|
4339
4339
|
overflow: "hidden"
|
|
@@ -4347,7 +4347,7 @@ function ei({ queueDepth: t, color: n }) {
|
|
|
4347
4347
|
top: 0,
|
|
4348
4348
|
left: 0,
|
|
4349
4349
|
right: 0,
|
|
4350
|
-
height:
|
|
4350
|
+
height: ke * 0.35,
|
|
4351
4351
|
background: `radial-gradient(ellipse at 50% 0%,
|
|
4352
4352
|
${t > 70 ? "rgba(255,34,85,0.14)" : `${n}15`} 0%,
|
|
4353
4353
|
transparent 70%)`
|
|
@@ -4385,7 +4385,7 @@ function ei({ queueDepth: t, color: n }) {
|
|
|
4385
4385
|
}
|
|
4386
4386
|
);
|
|
4387
4387
|
}
|
|
4388
|
-
function
|
|
4388
|
+
function wt({
|
|
4389
4389
|
rotateX: t = -20,
|
|
4390
4390
|
rotateY: n = 20,
|
|
4391
4391
|
rotateZ: o = 0,
|
|
@@ -4398,26 +4398,26 @@ function gt({
|
|
|
4398
4398
|
instances: c = 3,
|
|
4399
4399
|
_compact: p
|
|
4400
4400
|
}) {
|
|
4401
|
-
const [f, g] =
|
|
4402
|
-
|
|
4401
|
+
const [f, g] = R(n), u = K(0), y = K(0);
|
|
4402
|
+
Ae(() => {
|
|
4403
4403
|
if (!r) {
|
|
4404
4404
|
g(n);
|
|
4405
4405
|
return;
|
|
4406
4406
|
}
|
|
4407
|
-
const
|
|
4408
|
-
y.current && g((
|
|
4407
|
+
const v = (x) => {
|
|
4408
|
+
y.current && g((w) => w + (x - y.current) * 0.027), y.current = x, u.current = requestAnimationFrame(v);
|
|
4409
4409
|
};
|
|
4410
|
-
return u.current = requestAnimationFrame(
|
|
4410
|
+
return u.current = requestAnimationFrame(v), () => {
|
|
4411
4411
|
cancelAnimationFrame(u.current), y.current = 0;
|
|
4412
4412
|
};
|
|
4413
4413
|
}, [r, n]);
|
|
4414
|
-
const m =
|
|
4414
|
+
const m = ut[a] ?? ut.online;
|
|
4415
4415
|
return /* @__PURE__ */ d(
|
|
4416
4416
|
"div",
|
|
4417
4417
|
{
|
|
4418
4418
|
style: {
|
|
4419
4419
|
width: ne * i,
|
|
4420
|
-
height:
|
|
4420
|
+
height: q * i,
|
|
4421
4421
|
position: "relative",
|
|
4422
4422
|
display: "flex",
|
|
4423
4423
|
alignItems: "center",
|
|
@@ -4478,7 +4478,7 @@ function gt({
|
|
|
4478
4478
|
style: {
|
|
4479
4479
|
position: "absolute",
|
|
4480
4480
|
width: ne * 1.3 * i,
|
|
4481
|
-
height:
|
|
4481
|
+
height: q * 2 * i,
|
|
4482
4482
|
background: `radial-gradient(ellipse, ${m.glow} 0%, transparent 65%)`,
|
|
4483
4483
|
filter: `blur(${Math.round(40 * i)}px)`,
|
|
4484
4484
|
pointerEvents: "none",
|
|
@@ -4502,15 +4502,15 @@ function gt({
|
|
|
4502
4502
|
{
|
|
4503
4503
|
style: {
|
|
4504
4504
|
width: ne,
|
|
4505
|
-
height:
|
|
4505
|
+
height: q,
|
|
4506
4506
|
position: "relative",
|
|
4507
4507
|
transformStyle: "preserve-3d",
|
|
4508
4508
|
transform: `rotateX(${t}deg) rotateY(${f}deg) rotateZ(${o}deg)`,
|
|
4509
4509
|
transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
|
|
4510
4510
|
},
|
|
4511
4511
|
children: [
|
|
4512
|
-
/* @__PURE__ */ e("div", { style:
|
|
4513
|
-
|
|
4512
|
+
/* @__PURE__ */ e("div", { style: we.front, children: /* @__PURE__ */ e(
|
|
4513
|
+
ei,
|
|
4514
4514
|
{
|
|
4515
4515
|
cfg: m,
|
|
4516
4516
|
name: s,
|
|
@@ -4520,11 +4520,11 @@ function gt({
|
|
|
4520
4520
|
compact: p
|
|
4521
4521
|
}
|
|
4522
4522
|
) }),
|
|
4523
|
-
/* @__PURE__ */ e("div", { style:
|
|
4524
|
-
/* @__PURE__ */ e("div", { style:
|
|
4525
|
-
/* @__PURE__ */ e("div", { style:
|
|
4526
|
-
/* @__PURE__ */ e("div", { style:
|
|
4527
|
-
/* @__PURE__ */ e("div", { style:
|
|
4523
|
+
/* @__PURE__ */ e("div", { style: we.back, children: /* @__PURE__ */ e(ti, {}) }),
|
|
4524
|
+
/* @__PURE__ */ e("div", { style: we.left, children: /* @__PURE__ */ e(bt, { side: "left", color: m.color }) }),
|
|
4525
|
+
/* @__PURE__ */ e("div", { style: we.right, children: /* @__PURE__ */ e(bt, { side: "right", color: m.color }) }),
|
|
4526
|
+
/* @__PURE__ */ e("div", { style: we.top, children: /* @__PURE__ */ e(ii, { queueDepth: l, color: m.color }) }),
|
|
4527
|
+
/* @__PURE__ */ e("div", { style: we.bottom, children: /* @__PURE__ */ e("div", { style: { width: ne, height: ke, background: "#020508" } }) })
|
|
4528
4528
|
]
|
|
4529
4529
|
}
|
|
4530
4530
|
)
|
|
@@ -4534,7 +4534,7 @@ function gt({
|
|
|
4534
4534
|
}
|
|
4535
4535
|
);
|
|
4536
4536
|
}
|
|
4537
|
-
function
|
|
4537
|
+
function Di({
|
|
4538
4538
|
ex: t,
|
|
4539
4539
|
ey: n,
|
|
4540
4540
|
compactOffset: o,
|
|
@@ -4551,7 +4551,7 @@ function Ai({
|
|
|
4551
4551
|
dialogMetrics: u,
|
|
4552
4552
|
subComponents: y,
|
|
4553
4553
|
graphSeries: m,
|
|
4554
|
-
alert:
|
|
4554
|
+
alert: v
|
|
4555
4555
|
}) {
|
|
4556
4556
|
return /* @__PURE__ */ e(
|
|
4557
4557
|
A,
|
|
@@ -4574,9 +4574,9 @@ function Ai({
|
|
|
4574
4574
|
subComponents: y,
|
|
4575
4575
|
graphSeries: m
|
|
4576
4576
|
},
|
|
4577
|
-
alert:
|
|
4577
|
+
alert: v,
|
|
4578
4578
|
children: /* @__PURE__ */ e(
|
|
4579
|
-
|
|
4579
|
+
wt,
|
|
4580
4580
|
{
|
|
4581
4581
|
status: a,
|
|
4582
4582
|
queueDepth: p,
|
|
@@ -4593,7 +4593,7 @@ function O(t, n, o = 24) {
|
|
|
4593
4593
|
return Math.min(100, Math.max(0, t + Math.sin(a * Math.PI * 2) * n + (Math.random() - 0.5) * 10));
|
|
4594
4594
|
});
|
|
4595
4595
|
}
|
|
4596
|
-
function
|
|
4596
|
+
function ni({ data: t, color: n, height: o = 28 }) {
|
|
4597
4597
|
const r = o, a = Math.max(...t, 1), s = t.map((l, h) => {
|
|
4598
4598
|
const c = h / (t.length - 1) * 120, p = r - l / a * (r - 4) - 2;
|
|
4599
4599
|
return `${c},${p}`;
|
|
@@ -4611,7 +4611,7 @@ function ti({ data: t, color: n, height: o = 28 }) {
|
|
|
4611
4611
|
}
|
|
4612
4612
|
) });
|
|
4613
4613
|
}
|
|
4614
|
-
function
|
|
4614
|
+
function oi({
|
|
4615
4615
|
type: t,
|
|
4616
4616
|
name: n,
|
|
4617
4617
|
context: o = {},
|
|
@@ -4619,7 +4619,7 @@ function ii({
|
|
|
4619
4619
|
animPhase: r,
|
|
4620
4620
|
series: a
|
|
4621
4621
|
}) {
|
|
4622
|
-
const s = i === "critical" || i === "offline" ? "#ff2255" : i === "warning" ? "#ff8c00" : "#00e5ff", l = a ? a.map((p) => ({ ...p })) :
|
|
4622
|
+
const s = i === "critical" || i === "offline" ? "#ff2255" : i === "warning" ? "#ff8c00" : "#00e5ff", l = a ? a.map((p) => ({ ...p })) : ri(t, o), h = r >= 0.3 ? 0 : -280, c = r >= 0.2 ? 1 : 0;
|
|
4623
4623
|
return /* @__PURE__ */ d(
|
|
4624
4624
|
"div",
|
|
4625
4625
|
{
|
|
@@ -4674,7 +4674,7 @@ function ii({
|
|
|
4674
4674
|
p.unit
|
|
4675
4675
|
] })
|
|
4676
4676
|
] }),
|
|
4677
|
-
/* @__PURE__ */ e(
|
|
4677
|
+
/* @__PURE__ */ e(ni, { data: p.data, color: p.color, height: 26 })
|
|
4678
4678
|
]
|
|
4679
4679
|
},
|
|
4680
4680
|
p.id
|
|
@@ -4683,7 +4683,7 @@ function ii({
|
|
|
4683
4683
|
}
|
|
4684
4684
|
);
|
|
4685
4685
|
}
|
|
4686
|
-
function
|
|
4686
|
+
function ri(t, n) {
|
|
4687
4687
|
if (t === "server") {
|
|
4688
4688
|
const o = n.cpuLoad ?? 50, i = n.memLoad ?? 60;
|
|
4689
4689
|
return [
|
|
@@ -4719,7 +4719,7 @@ function ni(t, n) {
|
|
|
4719
4719
|
}
|
|
4720
4720
|
return [];
|
|
4721
4721
|
}
|
|
4722
|
-
function
|
|
4722
|
+
function St({
|
|
4723
4723
|
w: t,
|
|
4724
4724
|
h: n,
|
|
4725
4725
|
color: o,
|
|
@@ -4728,14 +4728,14 @@ function yt({
|
|
|
4728
4728
|
delay: a = "0s",
|
|
4729
4729
|
children: s
|
|
4730
4730
|
}) {
|
|
4731
|
-
const l = r ?
|
|
4731
|
+
const l = r ? P[r]?.glow ?? "rgba(0,229,255,0.4)" : "rgba(0,229,255,0.4)";
|
|
4732
4732
|
return /* @__PURE__ */ d(
|
|
4733
4733
|
"div",
|
|
4734
4734
|
{
|
|
4735
4735
|
style: {
|
|
4736
4736
|
width: t,
|
|
4737
4737
|
height: n,
|
|
4738
|
-
background:
|
|
4738
|
+
background: Te,
|
|
4739
4739
|
position: "relative",
|
|
4740
4740
|
overflow: "hidden",
|
|
4741
4741
|
borderRadius: 2,
|
|
@@ -4769,8 +4769,8 @@ function yt({
|
|
|
4769
4769
|
width: 4,
|
|
4770
4770
|
height: 4,
|
|
4771
4771
|
borderRadius: "50%",
|
|
4772
|
-
background:
|
|
4773
|
-
boxShadow: `0 0 6px ${
|
|
4772
|
+
background: P[r]?.color,
|
|
4773
|
+
boxShadow: `0 0 6px ${P[r]?.color}`,
|
|
4774
4774
|
animation: "holo-led-blink 1.2s infinite"
|
|
4775
4775
|
}
|
|
4776
4776
|
}
|
|
@@ -4812,7 +4812,7 @@ function yt({
|
|
|
4812
4812
|
}
|
|
4813
4813
|
);
|
|
4814
4814
|
}
|
|
4815
|
-
function
|
|
4815
|
+
function ze({
|
|
4816
4816
|
color: t = "#00e5ff",
|
|
4817
4817
|
label: n = "CPU-0",
|
|
4818
4818
|
status: o = "online",
|
|
@@ -4825,7 +4825,7 @@ function We({
|
|
|
4825
4825
|
style: {
|
|
4826
4826
|
width: 52,
|
|
4827
4827
|
height: 36,
|
|
4828
|
-
background:
|
|
4828
|
+
background: Te,
|
|
4829
4829
|
position: "relative",
|
|
4830
4830
|
borderRadius: 2,
|
|
4831
4831
|
border: `1px solid ${t}55`,
|
|
@@ -4896,8 +4896,8 @@ function We({
|
|
|
4896
4896
|
width: 4,
|
|
4897
4897
|
height: 4,
|
|
4898
4898
|
borderRadius: "50%",
|
|
4899
|
-
background:
|
|
4900
|
-
boxShadow: `0 0 6px ${
|
|
4899
|
+
background: P[o]?.color,
|
|
4900
|
+
boxShadow: `0 0 6px ${P[o]?.color}`,
|
|
4901
4901
|
animation: "holo-led-blink 1.2s infinite"
|
|
4902
4902
|
}
|
|
4903
4903
|
}
|
|
@@ -4923,7 +4923,7 @@ function We({
|
|
|
4923
4923
|
)
|
|
4924
4924
|
] });
|
|
4925
4925
|
}
|
|
4926
|
-
function
|
|
4926
|
+
function Be({
|
|
4927
4927
|
color: t = "#00e5ff",
|
|
4928
4928
|
label: n = "HEAP-0",
|
|
4929
4929
|
status: o = "online",
|
|
@@ -4994,7 +4994,7 @@ function Me({
|
|
|
4994
4994
|
width: 3,
|
|
4995
4995
|
height: 3,
|
|
4996
4996
|
borderRadius: "50%",
|
|
4997
|
-
background:
|
|
4997
|
+
background: P[o]?.color,
|
|
4998
4998
|
animation: "holo-led-blink 1.2s infinite"
|
|
4999
4999
|
}
|
|
5000
5000
|
}
|
|
@@ -5020,13 +5020,13 @@ function Me({
|
|
|
5020
5020
|
)
|
|
5021
5021
|
] });
|
|
5022
5022
|
}
|
|
5023
|
-
function
|
|
5023
|
+
function Re({
|
|
5024
5024
|
color: t = "#00e5ff",
|
|
5025
5025
|
label: n = "DRIVE-1",
|
|
5026
5026
|
status: o = "online",
|
|
5027
5027
|
activity: i = !1
|
|
5028
5028
|
}) {
|
|
5029
|
-
return /* @__PURE__ */ d(
|
|
5029
|
+
return /* @__PURE__ */ d(St, { w: 56, h: 22, color: t, label: n, status: o, children: [
|
|
5030
5030
|
/* @__PURE__ */ e(
|
|
5031
5031
|
"div",
|
|
5032
5032
|
{
|
|
@@ -5059,7 +5059,7 @@ function ve({
|
|
|
5059
5059
|
)
|
|
5060
5060
|
] });
|
|
5061
5061
|
}
|
|
5062
|
-
function
|
|
5062
|
+
function $t({
|
|
5063
5063
|
color: t = "#00e5ff",
|
|
5064
5064
|
label: n = "NET",
|
|
5065
5065
|
status: o = "online"
|
|
@@ -5070,7 +5070,7 @@ function mt({
|
|
|
5070
5070
|
style: {
|
|
5071
5071
|
width: 48,
|
|
5072
5072
|
height: 28,
|
|
5073
|
-
background:
|
|
5073
|
+
background: Te,
|
|
5074
5074
|
position: "relative",
|
|
5075
5075
|
borderRadius: 2,
|
|
5076
5076
|
border: `1px solid ${t}44`,
|
|
@@ -5128,9 +5128,9 @@ function M({
|
|
|
5128
5128
|
label: n = "THREAD",
|
|
5129
5129
|
status: o = "online"
|
|
5130
5130
|
}) {
|
|
5131
|
-
return /* @__PURE__ */ e(
|
|
5131
|
+
return /* @__PURE__ */ e(St, { w: 44, h: 28, color: t, label: n, status: o });
|
|
5132
5132
|
}
|
|
5133
|
-
function
|
|
5133
|
+
function Me({
|
|
5134
5134
|
color: t = "#ff8c00",
|
|
5135
5135
|
label: n = "PLATTER-0",
|
|
5136
5136
|
status: o = "online",
|
|
@@ -5188,7 +5188,7 @@ function Ne({
|
|
|
5188
5188
|
width: 4,
|
|
5189
5189
|
height: 4,
|
|
5190
5190
|
borderRadius: "50%",
|
|
5191
|
-
background:
|
|
5191
|
+
background: P[o]?.color,
|
|
5192
5192
|
animation: "holo-led-blink 1.2s infinite"
|
|
5193
5193
|
}
|
|
5194
5194
|
}
|
|
@@ -5214,7 +5214,7 @@ function Ne({
|
|
|
5214
5214
|
)
|
|
5215
5215
|
] });
|
|
5216
5216
|
}
|
|
5217
|
-
function
|
|
5217
|
+
function F({
|
|
5218
5218
|
color: t = "#00e5ff",
|
|
5219
5219
|
label: n = "PORT-1",
|
|
5220
5220
|
status: o = "online"
|
|
@@ -5243,7 +5243,7 @@ function H({
|
|
|
5243
5243
|
width: 4,
|
|
5244
5244
|
height: 4,
|
|
5245
5245
|
borderRadius: "50%",
|
|
5246
|
-
background: o && o !== "online" ?
|
|
5246
|
+
background: o && o !== "online" ? P[o]?.color ?? t : t,
|
|
5247
5247
|
boxShadow: `0 0 4px ${t}`,
|
|
5248
5248
|
animation: o && o !== "online" && o !== "offline" ? "holo-led-blink 1s infinite" : "none"
|
|
5249
5249
|
}
|
|
@@ -5284,7 +5284,7 @@ function H({
|
|
|
5284
5284
|
}
|
|
5285
5285
|
);
|
|
5286
5286
|
}
|
|
5287
|
-
function
|
|
5287
|
+
function ai(t, n, o, i) {
|
|
5288
5288
|
const r = o === "online" ? "online" : o;
|
|
5289
5289
|
return t === "server" ? [
|
|
5290
5290
|
{
|
|
@@ -5388,8 +5388,8 @@ function oi(t, n, o, i) {
|
|
|
5388
5388
|
}
|
|
5389
5389
|
] : [];
|
|
5390
5390
|
}
|
|
5391
|
-
const D = "cubic-bezier(0.34, 1.56, 0.64, 1)",
|
|
5392
|
-
function
|
|
5391
|
+
const D = "cubic-bezier(0.34, 1.56, 0.64, 1)", li = "cubic-bezier(0.16, 1, 0.3, 1)";
|
|
5392
|
+
function si({ items: t, revealPhase: n }) {
|
|
5393
5393
|
return /* @__PURE__ */ e(
|
|
5394
5394
|
"div",
|
|
5395
5395
|
{
|
|
@@ -5416,21 +5416,21 @@ function ai({ items: t, revealPhase: n }) {
|
|
|
5416
5416
|
}
|
|
5417
5417
|
);
|
|
5418
5418
|
}
|
|
5419
|
-
function
|
|
5419
|
+
function di({
|
|
5420
5420
|
type: t,
|
|
5421
5421
|
status: n,
|
|
5422
5422
|
context: o,
|
|
5423
5423
|
internal: i,
|
|
5424
5424
|
revealPhase: r
|
|
5425
5425
|
}) {
|
|
5426
|
-
const a =
|
|
5426
|
+
const a = P[n]?.color ?? P.online.color, s = "#ff8c00";
|
|
5427
5427
|
if (t === "server") {
|
|
5428
5428
|
const l = o.cpuLoad ?? 50, h = o.memLoad ?? 60, c = [
|
|
5429
5429
|
{
|
|
5430
5430
|
key: "cpu0",
|
|
5431
5431
|
delay: 0,
|
|
5432
5432
|
el: /* @__PURE__ */ e(
|
|
5433
|
-
|
|
5433
|
+
ze,
|
|
5434
5434
|
{
|
|
5435
5435
|
color: a,
|
|
5436
5436
|
label: "CPU-0",
|
|
@@ -5444,7 +5444,7 @@ function li({
|
|
|
5444
5444
|
key: "cpu1",
|
|
5445
5445
|
delay: 1,
|
|
5446
5446
|
el: /* @__PURE__ */ e(
|
|
5447
|
-
|
|
5447
|
+
ze,
|
|
5448
5448
|
{
|
|
5449
5449
|
color: a,
|
|
5450
5450
|
label: "CPU-1",
|
|
@@ -5458,7 +5458,7 @@ function li({
|
|
|
5458
5458
|
key: "heap0",
|
|
5459
5459
|
delay: 2,
|
|
5460
5460
|
el: /* @__PURE__ */ e(
|
|
5461
|
-
|
|
5461
|
+
Be,
|
|
5462
5462
|
{
|
|
5463
5463
|
color: "#8855ee",
|
|
5464
5464
|
label: "HEAP-0",
|
|
@@ -5472,7 +5472,7 @@ function li({
|
|
|
5472
5472
|
key: "heap1",
|
|
5473
5473
|
delay: 3,
|
|
5474
5474
|
el: /* @__PURE__ */ e(
|
|
5475
|
-
|
|
5475
|
+
Be,
|
|
5476
5476
|
{
|
|
5477
5477
|
color: "#8855ee",
|
|
5478
5478
|
label: "HEAP-1",
|
|
@@ -5485,13 +5485,13 @@ function li({
|
|
|
5485
5485
|
{
|
|
5486
5486
|
key: "d1",
|
|
5487
5487
|
delay: 4,
|
|
5488
|
-
el: /* @__PURE__ */ e(
|
|
5488
|
+
el: /* @__PURE__ */ e(Re, { color: a, label: "DRIVE-1", status: i[4]?.status, activity: !0 })
|
|
5489
5489
|
},
|
|
5490
5490
|
{
|
|
5491
5491
|
key: "d2",
|
|
5492
5492
|
delay: 5,
|
|
5493
5493
|
el: /* @__PURE__ */ e(
|
|
5494
|
-
|
|
5494
|
+
Re,
|
|
5495
5495
|
{
|
|
5496
5496
|
color: a,
|
|
5497
5497
|
label: "DRIVE-2",
|
|
@@ -5504,7 +5504,7 @@ function li({
|
|
|
5504
5504
|
key: "d3",
|
|
5505
5505
|
delay: 6,
|
|
5506
5506
|
el: /* @__PURE__ */ e(
|
|
5507
|
-
|
|
5507
|
+
Re,
|
|
5508
5508
|
{
|
|
5509
5509
|
color: a,
|
|
5510
5510
|
label: "DRIVE-3",
|
|
@@ -5521,7 +5521,7 @@ function li({
|
|
|
5521
5521
|
{
|
|
5522
5522
|
key: "net",
|
|
5523
5523
|
delay: 8,
|
|
5524
|
-
el: /* @__PURE__ */ e(
|
|
5524
|
+
el: /* @__PURE__ */ e($t, { color: a, label: "NET", status: i[8]?.status })
|
|
5525
5525
|
}
|
|
5526
5526
|
];
|
|
5527
5527
|
return /* @__PURE__ */ e(
|
|
@@ -5561,7 +5561,7 @@ function li({
|
|
|
5561
5561
|
transform: `scale(${r >= 0.25 + c * 0.04 ? 1 : 0.5})`,
|
|
5562
5562
|
transition: `opacity 0.35s ${D} ${c * 0.04}s, transform 0.4s ${D} ${c * 0.04}s`
|
|
5563
5563
|
},
|
|
5564
|
-
children: /* @__PURE__ */ e(
|
|
5564
|
+
children: /* @__PURE__ */ e(F, { color: a, label: `PORT-${c + 1}`, status: p?.status })
|
|
5565
5565
|
},
|
|
5566
5566
|
`p${c}`
|
|
5567
5567
|
);
|
|
@@ -5627,7 +5627,7 @@ function li({
|
|
|
5627
5627
|
transform: `scale(${r >= 0.25 + l * 0.1 ? 1 : 0.6})`,
|
|
5628
5628
|
transition: `all 0.4s ${D} ${l * 0.08}s`
|
|
5629
5629
|
},
|
|
5630
|
-
children: /* @__PURE__ */ e(
|
|
5630
|
+
children: /* @__PURE__ */ e(F, { color: "#bb55ff", label: `INST-${l}`, status: i[l]?.status })
|
|
5631
5631
|
},
|
|
5632
5632
|
l
|
|
5633
5633
|
)),
|
|
@@ -5687,7 +5687,7 @@ function li({
|
|
|
5687
5687
|
transition: `all 0.45s ${D} ${h * 0.1}s`
|
|
5688
5688
|
},
|
|
5689
5689
|
children: /* @__PURE__ */ e(
|
|
5690
|
-
|
|
5690
|
+
Me,
|
|
5691
5691
|
{
|
|
5692
5692
|
color: s,
|
|
5693
5693
|
label: `PLATTER-${h}`,
|
|
@@ -5726,7 +5726,7 @@ function li({
|
|
|
5726
5726
|
}
|
|
5727
5727
|
return null;
|
|
5728
5728
|
}
|
|
5729
|
-
function
|
|
5729
|
+
function Ni({
|
|
5730
5730
|
type: t,
|
|
5731
5731
|
name: n,
|
|
5732
5732
|
status: o,
|
|
@@ -5736,7 +5736,7 @@ function Ii({
|
|
|
5736
5736
|
subComponents: s,
|
|
5737
5737
|
graphSeries: l
|
|
5738
5738
|
}) {
|
|
5739
|
-
const h =
|
|
5739
|
+
const h = ai(t, n, o, a), c = P[o]?.color ?? P.online.color, p = r >= 0.1 ? 1 : r * 10, f = r >= 0.2 ? "-50%" : "0%", g = r >= 0.2 ? "50%" : "0%", u = r >= 0.25 ? Math.min(1, (r - 0.25) * 1.5) : 0;
|
|
5740
5740
|
return /* @__PURE__ */ d(
|
|
5741
5741
|
"div",
|
|
5742
5742
|
{
|
|
@@ -5760,13 +5760,13 @@ function Ii({
|
|
|
5760
5760
|
backdropFilter: "blur(10px)",
|
|
5761
5761
|
WebkitBackdropFilter: "blur(10px)",
|
|
5762
5762
|
opacity: p,
|
|
5763
|
-
transition: `opacity 0.4s ${
|
|
5763
|
+
transition: `opacity 0.4s ${li}`
|
|
5764
5764
|
},
|
|
5765
5765
|
onClick: i
|
|
5766
5766
|
}
|
|
5767
5767
|
),
|
|
5768
5768
|
/* @__PURE__ */ e(
|
|
5769
|
-
|
|
5769
|
+
oi,
|
|
5770
5770
|
{
|
|
5771
5771
|
type: t,
|
|
5772
5772
|
name: n,
|
|
@@ -5936,8 +5936,8 @@ function Ii({
|
|
|
5936
5936
|
}
|
|
5937
5937
|
}
|
|
5938
5938
|
),
|
|
5939
|
-
/* @__PURE__ */ e("div", { style: { flex: 1, padding: "8px 0 24px" }, children: s ? /* @__PURE__ */ e(
|
|
5940
|
-
|
|
5939
|
+
/* @__PURE__ */ e("div", { style: { flex: 1, padding: "8px 0 24px" }, children: s ? /* @__PURE__ */ e(si, { items: s, revealPhase: u }) : /* @__PURE__ */ e(
|
|
5940
|
+
di,
|
|
5941
5941
|
{
|
|
5942
5942
|
type: t,
|
|
5943
5943
|
name: n,
|
|
@@ -5957,8 +5957,8 @@ function Ii({
|
|
|
5957
5957
|
}
|
|
5958
5958
|
);
|
|
5959
5959
|
}
|
|
5960
|
-
function
|
|
5961
|
-
const [n, o] =
|
|
5960
|
+
function ci({ onSubmit: t }) {
|
|
5961
|
+
const [n, o] = R(""), [i, r] = R(""), [a, s] = R(null), [l, h] = R(!1), c = n.trim().length > 0 && i.trim().length > 0;
|
|
5962
5962
|
return /* @__PURE__ */ e("div", { className: "cred-overlay", children: /* @__PURE__ */ d("form", { className: "cred-panel", onSubmit: (f) => {
|
|
5963
5963
|
f.preventDefault(), c && t({ accessKey: n.trim(), secretKey: i.trim() });
|
|
5964
5964
|
}, onClick: (f) => f.stopPropagation(), children: [
|
|
@@ -5967,10 +5967,21 @@ function si({ onSubmit: t }) {
|
|
|
5967
5967
|
/* @__PURE__ */ e("span", { className: "cred-corner cred-corner--tr" }),
|
|
5968
5968
|
/* @__PURE__ */ e("span", { className: "cred-corner cred-corner--bl" }),
|
|
5969
5969
|
/* @__PURE__ */ e("span", { className: "cred-corner cred-corner--br" }),
|
|
5970
|
-
/* @__PURE__ */ e("div", { className: "cred-icon", children: /* @__PURE__ */ d(
|
|
5971
|
-
|
|
5972
|
-
|
|
5973
|
-
|
|
5970
|
+
/* @__PURE__ */ e("div", { className: "cred-icon", children: /* @__PURE__ */ d(
|
|
5971
|
+
"svg",
|
|
5972
|
+
{
|
|
5973
|
+
width: "32",
|
|
5974
|
+
height: "32",
|
|
5975
|
+
viewBox: "0 0 24 24",
|
|
5976
|
+
fill: "none",
|
|
5977
|
+
stroke: "#00e5ff",
|
|
5978
|
+
strokeWidth: "1.5",
|
|
5979
|
+
children: [
|
|
5980
|
+
/* @__PURE__ */ e("rect", { x: "5", y: "11", width: "14", height: "10", rx: "2" }),
|
|
5981
|
+
/* @__PURE__ */ e("path", { d: "M8 11V7a4 4 0 118 0v4" })
|
|
5982
|
+
]
|
|
5983
|
+
}
|
|
5984
|
+
) }),
|
|
5974
5985
|
/* @__PURE__ */ e("div", { className: "cred-title", children: "DATA SOURCE ACCESS" }),
|
|
5975
5986
|
/* @__PURE__ */ e("div", { className: "cred-subtitle", children: "AUTHENTICATION REQUIRED" }),
|
|
5976
5987
|
/* @__PURE__ */ d("div", { className: "cred-field", children: [
|
|
@@ -6037,79 +6048,127 @@ function si({ onSubmit: t }) {
|
|
|
6037
6048
|
/* @__PURE__ */ e("div", { className: "cred-footer", children: "CREDENTIALS ARE STORED IN MEMORY ONLY" })
|
|
6038
6049
|
] }) });
|
|
6039
6050
|
}
|
|
6040
|
-
const
|
|
6041
|
-
function
|
|
6042
|
-
const t =
|
|
6043
|
-
if (!t)
|
|
6051
|
+
const rt = Ue(null);
|
|
6052
|
+
function pi() {
|
|
6053
|
+
const t = re(rt);
|
|
6054
|
+
if (!t)
|
|
6055
|
+
throw new Error("useAIOpsData must be used within an AIOPsDashboard with dataEndpoint configured");
|
|
6044
6056
|
return t;
|
|
6045
6057
|
}
|
|
6046
|
-
function
|
|
6047
|
-
|
|
6058
|
+
function fi() {
|
|
6059
|
+
return re(rt);
|
|
6060
|
+
}
|
|
6061
|
+
function Wi(t) {
|
|
6062
|
+
const { data: n } = pi();
|
|
6048
6063
|
return n[t] ?? null;
|
|
6049
6064
|
}
|
|
6050
|
-
function
|
|
6051
|
-
const
|
|
6052
|
-
|
|
6053
|
-
|
|
6054
|
-
|
|
6055
|
-
|
|
6056
|
-
|
|
6057
|
-
|
|
6058
|
-
|
|
6059
|
-
|
|
6060
|
-
|
|
6065
|
+
function hi(t) {
|
|
6066
|
+
const n = /* @__PURE__ */ new Set();
|
|
6067
|
+
for (const o of Object.values(t))
|
|
6068
|
+
for (const i of Object.values(o))
|
|
6069
|
+
n.add(typeof i == "string" ? i : i.query);
|
|
6070
|
+
return Array.from(n);
|
|
6071
|
+
}
|
|
6072
|
+
function ui(t) {
|
|
6073
|
+
try {
|
|
6074
|
+
const i = t?.data?.result;
|
|
6075
|
+
if (Array.isArray(i) && i.length > 0) {
|
|
6076
|
+
const a = i[0]?.value;
|
|
6077
|
+
if (Array.isArray(a) && a.length === 2) {
|
|
6078
|
+
const s = a[1], l = Number(s);
|
|
6079
|
+
return isNaN(l) ? s : l;
|
|
6080
|
+
}
|
|
6081
|
+
}
|
|
6082
|
+
if (Array.isArray(i) && i.length === 2 && typeof i[0] == "number") {
|
|
6083
|
+
const r = i[1], a = Number(r);
|
|
6084
|
+
return isNaN(a) ? r : a;
|
|
6085
|
+
}
|
|
6086
|
+
return t;
|
|
6087
|
+
} catch {
|
|
6088
|
+
return t;
|
|
6089
|
+
}
|
|
6090
|
+
}
|
|
6091
|
+
function bi({ config: t, children: n }) {
|
|
6092
|
+
const [o, i] = R({}), [r, a] = R(null), [s, l] = R(!1), [h, c] = R(null), [p, f] = R(null), g = K(t);
|
|
6093
|
+
g.current = t;
|
|
6094
|
+
const u = K(r);
|
|
6095
|
+
u.current = r;
|
|
6096
|
+
const y = dt(async () => {
|
|
6097
|
+
const x = u.current, w = g.current;
|
|
6098
|
+
if (x) {
|
|
6099
|
+
l(!0);
|
|
6061
6100
|
try {
|
|
6062
|
-
const
|
|
6063
|
-
|
|
6064
|
-
const
|
|
6065
|
-
return fetch(
|
|
6101
|
+
const b = await Promise.allSettled(
|
|
6102
|
+
w.queries.map((S) => {
|
|
6103
|
+
const N = w.endpoint.includes("?") ? "&" : "?", B = `${w.endpoint}${N}query=${encodeURIComponent(S)}`;
|
|
6104
|
+
return fetch(B, {
|
|
6066
6105
|
method: "GET",
|
|
6067
6106
|
headers: {
|
|
6068
|
-
"access-key":
|
|
6069
|
-
"access-secret-key":
|
|
6107
|
+
"access-key": x.accessKey,
|
|
6108
|
+
"access-secret-key": x.secretKey
|
|
6070
6109
|
}
|
|
6071
|
-
}).then((
|
|
6072
|
-
if (!
|
|
6073
|
-
return
|
|
6074
|
-
}).then((
|
|
6110
|
+
}).then((z) => {
|
|
6111
|
+
if (!z.ok) throw new Error(`HTTP ${z.status}`);
|
|
6112
|
+
return z.json();
|
|
6113
|
+
}).then((z) => ({ query: S, data: z }));
|
|
6075
6114
|
})
|
|
6076
|
-
),
|
|
6077
|
-
let
|
|
6078
|
-
for (const
|
|
6079
|
-
|
|
6080
|
-
|
|
6081
|
-
const
|
|
6082
|
-
|
|
6083
|
-
|
|
6084
|
-
|
|
6085
|
-
|
|
6115
|
+
), k = {};
|
|
6116
|
+
let T = 0;
|
|
6117
|
+
for (const S of b)
|
|
6118
|
+
S.status === "fulfilled" ? k[S.value.query] = S.value.data : T++;
|
|
6119
|
+
i((S) => ({ ...S, ...k }));
|
|
6120
|
+
const $ = w.queries.length;
|
|
6121
|
+
c(
|
|
6122
|
+
T > 0 ? `${T} of ${$} queries failed to refresh` : null
|
|
6123
|
+
), T < $ && f(/* @__PURE__ */ new Date());
|
|
6124
|
+
} catch (b) {
|
|
6125
|
+
const k = b instanceof Error ? b.message : "Refresh failed";
|
|
6126
|
+
c(k);
|
|
6086
6127
|
} finally {
|
|
6087
|
-
|
|
6128
|
+
l(!1);
|
|
6088
6129
|
}
|
|
6089
6130
|
}
|
|
6090
6131
|
}, []);
|
|
6091
|
-
|
|
6092
|
-
if (!
|
|
6093
|
-
|
|
6094
|
-
const
|
|
6095
|
-
return () => clearInterval(
|
|
6096
|
-
}, [
|
|
6097
|
-
const
|
|
6098
|
-
|
|
6099
|
-
}, []),
|
|
6100
|
-
data:
|
|
6101
|
-
isRefreshing:
|
|
6102
|
-
lastRefreshError:
|
|
6103
|
-
lastRefreshTime:
|
|
6104
|
-
credentialsSet: !!
|
|
6105
|
-
setCredentials:
|
|
6132
|
+
Ae(() => {
|
|
6133
|
+
if (!r) return;
|
|
6134
|
+
y();
|
|
6135
|
+
const x = g.current.refreshInterval ?? 6e4, w = window.setInterval(y, x);
|
|
6136
|
+
return () => clearInterval(w);
|
|
6137
|
+
}, [r, y]);
|
|
6138
|
+
const m = dt((x) => {
|
|
6139
|
+
a(x);
|
|
6140
|
+
}, []), v = {
|
|
6141
|
+
data: o,
|
|
6142
|
+
isRefreshing: s,
|
|
6143
|
+
lastRefreshError: h,
|
|
6144
|
+
lastRefreshTime: p,
|
|
6145
|
+
credentialsSet: !!r,
|
|
6146
|
+
setCredentials: m
|
|
6106
6147
|
};
|
|
6107
|
-
return /* @__PURE__ */ d(
|
|
6148
|
+
return /* @__PURE__ */ d(rt.Provider, { value: v, children: [
|
|
6108
6149
|
n,
|
|
6109
|
-
!
|
|
6150
|
+
!r && /* @__PURE__ */ e(ci, { onSubmit: m })
|
|
6110
6151
|
] });
|
|
6111
6152
|
}
|
|
6112
|
-
function
|
|
6153
|
+
function Mi(t) {
|
|
6154
|
+
const { dataEndpoint: n, dataBindings: o, dataRefreshInterval: i } = t;
|
|
6155
|
+
if (n && o) {
|
|
6156
|
+
const r = hi(o);
|
|
6157
|
+
return /* @__PURE__ */ e(
|
|
6158
|
+
bi,
|
|
6159
|
+
{
|
|
6160
|
+
config: {
|
|
6161
|
+
endpoint: n,
|
|
6162
|
+
queries: r,
|
|
6163
|
+
refreshInterval: i
|
|
6164
|
+
},
|
|
6165
|
+
children: /* @__PURE__ */ e(gt, { ...t })
|
|
6166
|
+
}
|
|
6167
|
+
);
|
|
6168
|
+
}
|
|
6169
|
+
return /* @__PURE__ */ e(gt, { ...t });
|
|
6170
|
+
}
|
|
6171
|
+
function gt({
|
|
6113
6172
|
brandName: t = "BUSAUD AIOps",
|
|
6114
6173
|
brandTag: n = "3D MONITOR",
|
|
6115
6174
|
services: o = [],
|
|
@@ -6117,33 +6176,43 @@ function Li({
|
|
|
6117
6176
|
logoUrl: r,
|
|
6118
6177
|
carouselSpeed: a = 6e-3,
|
|
6119
6178
|
fontFamily: s,
|
|
6120
|
-
|
|
6121
|
-
|
|
6122
|
-
|
|
6123
|
-
children: p
|
|
6179
|
+
dataBindings: l,
|
|
6180
|
+
dataTransform: h,
|
|
6181
|
+
children: c
|
|
6124
6182
|
}) {
|
|
6125
|
-
const [f] =
|
|
6126
|
-
|
|
6127
|
-
b(6),
|
|
6183
|
+
const p = fi(), [f] = R(20), [g] = R(!1), [u] = R(!0), [y] = R(0.45), [m] = R(3.3), [v, x] = R("compact"), [w, b] = R(0), [k, T] = R(null), [$, S] = R(null), [N, B] = R(0), z = (C) => {
|
|
6184
|
+
v === "compact" && (T(C), x("expanding"), b(0), setTimeout(() => b(1), 50), setTimeout(() => b(2), 800), setTimeout(() => b(3), 1200), setTimeout(() => b(4), 1600), setTimeout(() => b(5), 2e3), setTimeout(() => {
|
|
6185
|
+
b(6), x("expanded");
|
|
6128
6186
|
}, 2400));
|
|
6129
|
-
},
|
|
6130
|
-
|
|
6131
|
-
|
|
6187
|
+
}, H = () => {
|
|
6188
|
+
$ ? (S(null), B(0)) : v === "expanded" && (x("collapsing"), b(0), T(null), setTimeout(() => {
|
|
6189
|
+
x((C) => C === "collapsing" ? "compact" : C);
|
|
6132
6190
|
}, 1e3));
|
|
6133
|
-
},
|
|
6134
|
-
|
|
6191
|
+
}, ae = (C) => {
|
|
6192
|
+
S(C), B(0);
|
|
6135
6193
|
};
|
|
6136
|
-
|
|
6137
|
-
if (
|
|
6138
|
-
const
|
|
6139
|
-
const
|
|
6140
|
-
|
|
6141
|
-
},
|
|
6142
|
-
return () => cancelAnimationFrame(
|
|
6143
|
-
}, [
|
|
6144
|
-
const
|
|
6145
|
-
|
|
6146
|
-
},
|
|
6194
|
+
j.useEffect(() => {
|
|
6195
|
+
if (!$) return;
|
|
6196
|
+
const C = performance.now(), ce = 1200, ee = () => {
|
|
6197
|
+
const Z = performance.now() - C, V = Math.min(1, Z / ce);
|
|
6198
|
+
B(V), V < 1 && requestAnimationFrame(ee);
|
|
6199
|
+
}, pe = requestAnimationFrame(ee);
|
|
6200
|
+
return () => cancelAnimationFrame(pe);
|
|
6201
|
+
}, [$]);
|
|
6202
|
+
const le = () => {
|
|
6203
|
+
S(null), B(0);
|
|
6204
|
+
}, I = o.find((C) => C.name === k), U = I?.status ?? "online", se = I?.dbSync ?? !0, Ie = I?.metrics, Oe = I?.alerts, Y = h ?? ui, L = p?.data, Q = yt(() => !L || !l ? c : j.Children.map(c, (C) => {
|
|
6205
|
+
if (!j.isValidElement(C)) return C;
|
|
6206
|
+
const ce = C.props.name;
|
|
6207
|
+
if (!ce || !l[ce]) return C;
|
|
6208
|
+
const ee = l[ce], pe = {};
|
|
6209
|
+
for (const [Z, V] of Object.entries(ee)) {
|
|
6210
|
+
const st = typeof V == "string" ? V : V.query, ye = typeof V == "object" && V.transform ? V.transform : Y, De = L[st];
|
|
6211
|
+
De !== void 0 && (pe[Z] = ye(De));
|
|
6212
|
+
}
|
|
6213
|
+
return Object.keys(pe).length > 0 ? j.cloneElement(C, pe) : C;
|
|
6214
|
+
}), [c, L, l, Y]), Le = p?.lastRefreshError ?? null, be = 330, ge = 340, Ye = $ ? 1.15 : 1, Ve = $ ? -($.ex - be) * 0.06 : 0, de = $ ? -($.ey - ge) * 0.06 : 0;
|
|
6215
|
+
return /* @__PURE__ */ d("div", { className: "app", style: s ? { fontFamily: s } : void 0, children: [
|
|
6147
6216
|
/* @__PURE__ */ e(
|
|
6148
6217
|
"div",
|
|
6149
6218
|
{
|
|
@@ -6157,7 +6226,7 @@ function Li({
|
|
|
6157
6226
|
backgroundPosition: "center center",
|
|
6158
6227
|
backgroundRepeat: "no-repeat",
|
|
6159
6228
|
transition: "transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1)",
|
|
6160
|
-
transform: `translate(${
|
|
6229
|
+
transform: `translate(${Ve}px, ${de}px) scale(${Ye})`,
|
|
6161
6230
|
willChange: "transform"
|
|
6162
6231
|
}
|
|
6163
6232
|
}
|
|
@@ -6168,7 +6237,7 @@ function Li({
|
|
|
6168
6237
|
/* @__PURE__ */ e("span", { className: "brand-text", children: t })
|
|
6169
6238
|
] }),
|
|
6170
6239
|
/* @__PURE__ */ d("div", { className: "hdr-right", children: [
|
|
6171
|
-
|
|
6240
|
+
Le && /* @__PURE__ */ d("div", { className: "hdr-refresh-error", children: [
|
|
6172
6241
|
/* @__PURE__ */ e("span", { className: "refresh-error-dot" }),
|
|
6173
6242
|
/* @__PURE__ */ e("span", { className: "refresh-error-text", children: "DATA REFRESH FAILED" })
|
|
6174
6243
|
] }),
|
|
@@ -6180,17 +6249,17 @@ function Li({
|
|
|
6180
6249
|
{
|
|
6181
6250
|
className: "scene",
|
|
6182
6251
|
style: {
|
|
6183
|
-
cursor:
|
|
6252
|
+
cursor: v === "expanded" ? "zoom-out" : "default"
|
|
6184
6253
|
},
|
|
6185
|
-
onClick:
|
|
6254
|
+
onClick: H,
|
|
6186
6255
|
children: /* @__PURE__ */ e(
|
|
6187
|
-
|
|
6256
|
+
Ft,
|
|
6188
6257
|
{
|
|
6189
|
-
viewState:
|
|
6190
|
-
animPhase:
|
|
6191
|
-
selectedSystem:
|
|
6192
|
-
selectedComponent:
|
|
6193
|
-
drillAnimPhase:
|
|
6258
|
+
viewState: v,
|
|
6259
|
+
animPhase: w,
|
|
6260
|
+
selectedSystem: k,
|
|
6261
|
+
selectedComponent: $,
|
|
6262
|
+
drillAnimPhase: N,
|
|
6194
6263
|
rotateY: f,
|
|
6195
6264
|
autoRotateComponents: g,
|
|
6196
6265
|
componentScale: y,
|
|
@@ -6198,32 +6267,20 @@ function Li({
|
|
|
6198
6267
|
autoRotateCarousel: u,
|
|
6199
6268
|
carouselSpeed: a,
|
|
6200
6269
|
logoUrl: r,
|
|
6201
|
-
onSelectSystem:
|
|
6202
|
-
onBackgroundClick:
|
|
6203
|
-
onComponentClick:
|
|
6204
|
-
onCloseDrill:
|
|
6270
|
+
onSelectSystem: z,
|
|
6271
|
+
onBackgroundClick: H,
|
|
6272
|
+
onComponentClick: ae,
|
|
6273
|
+
onCloseDrill: le,
|
|
6205
6274
|
selectedSystemStatus: U,
|
|
6206
|
-
selectedSystemDbSync:
|
|
6207
|
-
selectedSystemMetrics:
|
|
6208
|
-
selectedSystemAlerts:
|
|
6209
|
-
children:
|
|
6275
|
+
selectedSystemDbSync: se,
|
|
6276
|
+
selectedSystemMetrics: Ie,
|
|
6277
|
+
selectedSystemAlerts: Oe,
|
|
6278
|
+
children: Q
|
|
6210
6279
|
}
|
|
6211
6280
|
)
|
|
6212
6281
|
}
|
|
6213
6282
|
)
|
|
6214
6283
|
] });
|
|
6215
|
-
return l && h ? /* @__PURE__ */ e(
|
|
6216
|
-
ci,
|
|
6217
|
-
{
|
|
6218
|
-
config: {
|
|
6219
|
-
endpoint: l,
|
|
6220
|
-
queries: h,
|
|
6221
|
-
refreshInterval: c
|
|
6222
|
-
},
|
|
6223
|
-
onRefreshStatusChange: B,
|
|
6224
|
-
children: Ie
|
|
6225
|
-
}
|
|
6226
|
-
) : Ie;
|
|
6227
6284
|
}
|
|
6228
6285
|
function E(t, n, o = 24) {
|
|
6229
6286
|
return Array.from({ length: o }, (i, r) => {
|
|
@@ -6231,24 +6288,24 @@ function E(t, n, o = 24) {
|
|
|
6231
6288
|
return Math.min(100, Math.max(0, t + Math.sin(a * Math.PI * 2) * n + (Math.random() - 0.5) * 10));
|
|
6232
6289
|
});
|
|
6233
6290
|
}
|
|
6234
|
-
function
|
|
6291
|
+
function kt(t) {
|
|
6235
6292
|
return t === "critical" || t === "offline" ? "#ff2255" : t === "warning" ? "#ff8c00" : "#00e5ff";
|
|
6236
6293
|
}
|
|
6237
|
-
function
|
|
6238
|
-
const i = t === "online" ? "online" : t, r =
|
|
6294
|
+
function Pe(t, n, o) {
|
|
6295
|
+
const i = t === "online" ? "online" : t, r = kt(t), a = o?.cpuLoad ?? 50, s = o?.memLoad ?? 60, l = i === "critical" || i === "warning" && a > 80 ? i : "online", h = i === "warning" && s > 85 ? "warning" : i === "critical" ? "critical" : "online", c = i === "critical" && n === "APP-03" ? "critical" : "online", p = i === "offline" ? "offline" : "online";
|
|
6239
6296
|
return [
|
|
6240
|
-
{ id: "cpu-0", label: "CPU-0", status: l, detail: i === "critical" ? "Core overload" : i === "warning" ? "Load spike" : void 0, element: /* @__PURE__ */ e(
|
|
6241
|
-
{ id: "cpu-1", label: "CPU-1", status: "online", element: /* @__PURE__ */ e(
|
|
6242
|
-
{ id: "heap-0", label: "HEAP-0", status: h, detail: h === "warning" ? "Memory heap usage" : h === "critical" ? "OOM risk" : void 0, element: /* @__PURE__ */ e(
|
|
6243
|
-
{ id: "heap-1", label: "HEAP-1", status: "online", element: /* @__PURE__ */ e(
|
|
6244
|
-
{ id: "drive-1", label: "DRIVE-1", status: "online", element: /* @__PURE__ */ e(
|
|
6245
|
-
{ id: "drive-2", label: "DRIVE-2", status: "online", element: /* @__PURE__ */ e(
|
|
6246
|
-
{ id: "drive-3", label: "DRIVE-3", status: "online", element: /* @__PURE__ */ e(
|
|
6297
|
+
{ id: "cpu-0", label: "CPU-0", status: l, detail: i === "critical" ? "Core overload" : i === "warning" ? "Load spike" : void 0, element: /* @__PURE__ */ e(ze, { color: r, label: "CPU-0", status: l, load: a }) },
|
|
6298
|
+
{ id: "cpu-1", label: "CPU-1", status: "online", element: /* @__PURE__ */ e(ze, { color: r, label: "CPU-1", status: "online", load: a * 0.7 }) },
|
|
6299
|
+
{ id: "heap-0", label: "HEAP-0", status: h, detail: h === "warning" ? "Memory heap usage" : h === "critical" ? "OOM risk" : void 0, element: /* @__PURE__ */ e(Be, { color: "#8855ee", label: "HEAP-0", status: h, usedPercent: s }) },
|
|
6300
|
+
{ id: "heap-1", label: "HEAP-1", status: "online", element: /* @__PURE__ */ e(Be, { color: "#8855ee", label: "HEAP-1", status: "online", usedPercent: s * 0.85 }) },
|
|
6301
|
+
{ id: "drive-1", label: "DRIVE-1", status: "online", element: /* @__PURE__ */ e(Re, { color: r, label: "DRIVE-1", status: "online", activity: !0 }) },
|
|
6302
|
+
{ id: "drive-2", label: "DRIVE-2", status: "online", element: /* @__PURE__ */ e(Re, { color: r, label: "DRIVE-2", status: "online", activity: a > 30 }) },
|
|
6303
|
+
{ id: "drive-3", label: "DRIVE-3", status: "online", element: /* @__PURE__ */ e(Re, { color: r, label: "DRIVE-3", status: "online", activity: a > 50 }) },
|
|
6247
6304
|
{ id: "thread-pool", label: "THREAD-POOL", status: c, detail: c === "critical" ? "Thread exhaustion" : void 0, element: /* @__PURE__ */ e(M, { color: r, label: "THREAD-POOL", status: c }) },
|
|
6248
|
-
{ id: "network", label: "NET", status: p, element: /* @__PURE__ */ e(
|
|
6305
|
+
{ id: "network", label: "NET", status: p, element: /* @__PURE__ */ e($t, { color: r, label: "NET", status: p }) }
|
|
6249
6306
|
];
|
|
6250
6307
|
}
|
|
6251
|
-
function
|
|
6308
|
+
function Ce(t) {
|
|
6252
6309
|
const n = t?.cpuLoad ?? 50, o = t?.memLoad ?? 60;
|
|
6253
6310
|
return [
|
|
6254
6311
|
{ id: "cpu", label: "CPU-0", unit: "%", color: "#00e5ff", data: E(n, 15) },
|
|
@@ -6261,22 +6318,22 @@ function Se(t) {
|
|
|
6261
6318
|
{ id: "thread", label: "THREAD-POOL", unit: "%", color: "#22aaff", data: E(55, 20) }
|
|
6262
6319
|
];
|
|
6263
6320
|
}
|
|
6264
|
-
function
|
|
6265
|
-
const i = t === "online" ? "online" : t, r =
|
|
6321
|
+
function Rt(t, n, o) {
|
|
6322
|
+
const i = t === "online" ? "online" : t, r = kt(t), a = i === "critical" || i === "offline" ? i : "online", s = i === "warning" ? "warning" : "online", l = i === "critical" ? "critical" : "online";
|
|
6266
6323
|
return [
|
|
6267
|
-
{ id: "port-1", label: "PORT-1", status: "online", element: /* @__PURE__ */ e(
|
|
6268
|
-
{ id: "port-2", label: "PORT-2", status: "online", element: /* @__PURE__ */ e(
|
|
6269
|
-
{ id: "port-3", label: "PORT-3", status: a, detail: i === "critical" ? "Gateway timeout" : i === "offline" ? "Unreachable" : void 0, element: /* @__PURE__ */ e(
|
|
6270
|
-
{ id: "port-4", label: "PORT-4", status: "online", element: /* @__PURE__ */ e(
|
|
6271
|
-
{ id: "port-5", label: "PORT-5", status: s, detail: s === "warning" ? "Latency spike" : void 0, element: /* @__PURE__ */ e(
|
|
6272
|
-
{ id: "port-6", label: "PORT-6", status: "online", element: /* @__PURE__ */ e(
|
|
6273
|
-
{ id: "port-7", label: "PORT-7", status: "online", element: /* @__PURE__ */ e(
|
|
6274
|
-
{ id: "port-8", label: "PORT-8", status: "online", element: /* @__PURE__ */ e(
|
|
6324
|
+
{ id: "port-1", label: "PORT-1", status: "online", element: /* @__PURE__ */ e(F, { color: r, label: "PORT-1", status: "online" }) },
|
|
6325
|
+
{ id: "port-2", label: "PORT-2", status: "online", element: /* @__PURE__ */ e(F, { color: r, label: "PORT-2", status: "online" }) },
|
|
6326
|
+
{ id: "port-3", label: "PORT-3", status: a, detail: i === "critical" ? "Gateway timeout" : i === "offline" ? "Unreachable" : void 0, element: /* @__PURE__ */ e(F, { color: r, label: "PORT-3", status: a }) },
|
|
6327
|
+
{ id: "port-4", label: "PORT-4", status: "online", element: /* @__PURE__ */ e(F, { color: r, label: "PORT-4", status: "online" }) },
|
|
6328
|
+
{ id: "port-5", label: "PORT-5", status: s, detail: s === "warning" ? "Latency spike" : void 0, element: /* @__PURE__ */ e(F, { color: r, label: "PORT-5", status: s }) },
|
|
6329
|
+
{ id: "port-6", label: "PORT-6", status: "online", element: /* @__PURE__ */ e(F, { color: r, label: "PORT-6", status: "online" }) },
|
|
6330
|
+
{ id: "port-7", label: "PORT-7", status: "online", element: /* @__PURE__ */ e(F, { color: r, label: "PORT-7", status: "online" }) },
|
|
6331
|
+
{ id: "port-8", label: "PORT-8", status: "online", element: /* @__PURE__ */ e(F, { color: r, label: "PORT-8", status: "online" }) },
|
|
6275
6332
|
{ id: "http-worker", label: "HTTP-WORKER", status: l, detail: l === "critical" ? "Worker timeout" : void 0, element: /* @__PURE__ */ e(M, { color: r, label: "HTTP-WORKER", status: l }) },
|
|
6276
6333
|
{ id: "https-worker", label: "HTTPS-WORKER", status: "online", element: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "HTTPS-WORKER", status: "online" }) }
|
|
6277
6334
|
];
|
|
6278
6335
|
}
|
|
6279
|
-
function
|
|
6336
|
+
function Pt(t) {
|
|
6280
6337
|
const n = t?.traffic ?? 50;
|
|
6281
6338
|
return [
|
|
6282
6339
|
{ id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: E(n, 20) },
|
|
@@ -6286,19 +6343,19 @@ function St(t) {
|
|
|
6286
6343
|
{ id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: E(n * 0.9, 15) }
|
|
6287
6344
|
];
|
|
6288
6345
|
}
|
|
6289
|
-
function
|
|
6346
|
+
function gi(t, n, o) {
|
|
6290
6347
|
const i = t === "online" ? "online" : t, r = i === "critical" ? "critical" : "online", a = i === "critical" || i === "offline" ? i : i === "warning" ? "warning" : "online", s = i === "critical" ? "critical" : "online";
|
|
6291
6348
|
return [
|
|
6292
|
-
{ id: "inst-0", label: "INST-0", status: "online", element: /* @__PURE__ */ e(
|
|
6293
|
-
{ id: "inst-1", label: "INST-1", status: "online", element: /* @__PURE__ */ e(
|
|
6294
|
-
{ id: "inst-2", label: "INST-2", status: r, detail: r === "critical" ? "Instance unreachable" : void 0, element: /* @__PURE__ */ e(
|
|
6349
|
+
{ id: "inst-0", label: "INST-0", status: "online", element: /* @__PURE__ */ e(F, { color: "#bb55ff", label: "INST-0", status: "online" }) },
|
|
6350
|
+
{ id: "inst-1", label: "INST-1", status: "online", element: /* @__PURE__ */ e(F, { color: "#bb55ff", label: "INST-1", status: "online" }) },
|
|
6351
|
+
{ id: "inst-2", label: "INST-2", status: r, detail: r === "critical" ? "Instance unreachable" : void 0, element: /* @__PURE__ */ e(F, { color: "#bb55ff", label: "INST-2", status: r }) },
|
|
6295
6352
|
{ id: "queue-0", label: "QUEUE-0", status: a, detail: i === "critical" ? "Queue full" : i === "offline" ? "Unreachable" : i === "warning" ? "Queue depth warning" : void 0, element: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "QUEUE-0", status: a }) },
|
|
6296
6353
|
{ id: "worker-1", label: "WORKER-1", status: "online", element: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "WORKER-1", status: "online" }) },
|
|
6297
6354
|
{ id: "worker-2", label: "WORKER-2", status: "online", element: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "WORKER-2", status: "online" }) },
|
|
6298
6355
|
{ id: "worker-3", label: "WORKER-3", status: s, detail: s === "critical" ? "Worker timeout" : void 0, element: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "WORKER-3", status: s }) }
|
|
6299
6356
|
];
|
|
6300
6357
|
}
|
|
6301
|
-
function
|
|
6358
|
+
function yi(t) {
|
|
6302
6359
|
const n = t?.queueDepth ?? 50;
|
|
6303
6360
|
return [
|
|
6304
6361
|
{ id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: E(n, 20) },
|
|
@@ -6308,17 +6365,17 @@ function fi(t) {
|
|
|
6308
6365
|
{ id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: E(n * 0.9, 15) }
|
|
6309
6366
|
];
|
|
6310
6367
|
}
|
|
6311
|
-
function
|
|
6368
|
+
function Fe(t, n, o) {
|
|
6312
6369
|
const i = t === "online" ? "online" : t, r = "#ff8c00", a = o?.capacity ?? 72, s = i === "critical" || i === "offline" ? i : i === "warning" ? "warning" : "online", l = i === "warning" && n === "DB-STB" ? "warning" : "online", h = i === "critical" ? "critical" : "online", c = i === "warning" ? "warning" : "online";
|
|
6313
6370
|
return [
|
|
6314
|
-
{ id: "platter-0", label: "PLATTER-0", status: "online", element: /* @__PURE__ */ e(
|
|
6315
|
-
{ id: "platter-1", label: "PLATTER-1", status: s, detail: i === "critical" ? "I/O failure" : i === "offline" ? "Connection lost" : i === "warning" ? "Slow queries" : void 0, element: /* @__PURE__ */ e(
|
|
6316
|
-
{ id: "platter-2", label: "PLATTER-2", status: l, detail: l === "warning" ? "Replication lag" : void 0, element: /* @__PURE__ */ e(
|
|
6371
|
+
{ id: "platter-0", label: "PLATTER-0", status: "online", element: /* @__PURE__ */ e(Me, { color: r, label: "PLATTER-0", status: "online", capacityPercent: a }) },
|
|
6372
|
+
{ id: "platter-1", label: "PLATTER-1", status: s, detail: i === "critical" ? "I/O failure" : i === "offline" ? "Connection lost" : i === "warning" ? "Slow queries" : void 0, element: /* @__PURE__ */ e(Me, { color: r, label: "PLATTER-1", status: s, capacityPercent: a }) },
|
|
6373
|
+
{ id: "platter-2", label: "PLATTER-2", status: l, detail: l === "warning" ? "Replication lag" : void 0, element: /* @__PURE__ */ e(Me, { color: r, label: "PLATTER-2", status: l, capacityPercent: a }) },
|
|
6317
6374
|
{ id: "conn-pool", label: "CONN-POOL", status: h, detail: h === "critical" ? "Pool exhausted" : void 0, element: /* @__PURE__ */ e(M, { color: r, label: "CONN-POOL", status: h }) },
|
|
6318
6375
|
{ id: "query-cache", label: "QUERY-CACHE", status: c, detail: c === "warning" ? "Cache miss rate" : void 0, element: /* @__PURE__ */ e(M, { color: "#00ff88", label: "QUERY-CACHE", status: c }) }
|
|
6319
6376
|
];
|
|
6320
6377
|
}
|
|
6321
|
-
function
|
|
6378
|
+
function He(t) {
|
|
6322
6379
|
const n = t?.capacity ?? 70;
|
|
6323
6380
|
return [
|
|
6324
6381
|
{ id: "platter0", label: "PLATTER-0 I/O", unit: "%", color: "#ff8c00", data: E(40, 20) },
|
|
@@ -6328,7 +6385,7 @@ function Be(t) {
|
|
|
6328
6385
|
{ id: "cache", label: "QUERY-CACHE", unit: "%", color: "#00ff88", data: E(75, 12) }
|
|
6329
6386
|
];
|
|
6330
6387
|
}
|
|
6331
|
-
function
|
|
6388
|
+
function at(t) {
|
|
6332
6389
|
const n = [
|
|
6333
6390
|
t.wdStatus,
|
|
6334
6391
|
t.msStatus,
|
|
@@ -6340,8 +6397,8 @@ function nt(t) {
|
|
|
6340
6397
|
];
|
|
6341
6398
|
return n.includes("critical") ? "critical" : n.includes("warning") ? "warning" : n.includes("offline") ? "offline" : "online";
|
|
6342
6399
|
}
|
|
6343
|
-
function
|
|
6344
|
-
const n =
|
|
6400
|
+
function zi(t) {
|
|
6401
|
+
const n = at(t), o = n === "critical" || n === "offline", i = n === "warning";
|
|
6345
6402
|
return [
|
|
6346
6403
|
{
|
|
6347
6404
|
label: "Uptime",
|
|
@@ -6362,8 +6419,8 @@ function Di(t) {
|
|
|
6362
6419
|
}
|
|
6363
6420
|
];
|
|
6364
6421
|
}
|
|
6365
|
-
function
|
|
6366
|
-
const n =
|
|
6422
|
+
function Bi(t) {
|
|
6423
|
+
const n = at(t), o = n === "critical" || n === "offline", i = n === "warning";
|
|
6367
6424
|
return [
|
|
6368
6425
|
...t.dbSync ? [] : [{ level: "warning", message: "DB Replication Lag Detected" }],
|
|
6369
6426
|
...o ? [{ level: "critical", message: "Critical Component Failure" }] : [],
|
|
@@ -6371,7 +6428,7 @@ function Ni(t) {
|
|
|
6371
6428
|
...!o && !i && t.dbSync ? [{ level: "info", message: "All Systems Nominal" }] : []
|
|
6372
6429
|
];
|
|
6373
6430
|
}
|
|
6374
|
-
const
|
|
6431
|
+
const mi = [
|
|
6375
6432
|
{ from: [330, 120], to: [220, 260], visibleAtPhase: 3 },
|
|
6376
6433
|
{ from: [330, 120], to: [440, 260], visibleAtPhase: 3 },
|
|
6377
6434
|
{ from: [220, 260], to: [165, 390], visibleAtPhase: 4 },
|
|
@@ -6384,9 +6441,9 @@ const hi = [
|
|
|
6384
6441
|
{ from: [330, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" },
|
|
6385
6442
|
{ from: [495, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" }
|
|
6386
6443
|
];
|
|
6387
|
-
function
|
|
6388
|
-
const n =
|
|
6389
|
-
return /* @__PURE__ */ d(
|
|
6444
|
+
function xi({ config: t }) {
|
|
6445
|
+
const n = j.useContext(ue), o = n?.rotateY ?? 20, i = n?.autoRotateComponents ?? !0, { wdStatus: r, msStatus: a, srv1Status: s, srv2Status: l, srv3Status: h, pdbStatus: c, sdbStatus: p, dbSync: f } = t;
|
|
6446
|
+
return /* @__PURE__ */ d(Ee, { children: [
|
|
6390
6447
|
/* @__PURE__ */ e(
|
|
6391
6448
|
A,
|
|
6392
6449
|
{
|
|
@@ -6396,7 +6453,7 @@ function ui({ config: t }) {
|
|
|
6396
6453
|
zIndex: 10,
|
|
6397
6454
|
visibleAtPhase: 2,
|
|
6398
6455
|
color: "#00e5ff",
|
|
6399
|
-
children: /* @__PURE__ */ e(
|
|
6456
|
+
children: /* @__PURE__ */ e(nt, { status: "online", scale: 1.5 })
|
|
6400
6457
|
}
|
|
6401
6458
|
),
|
|
6402
6459
|
/* @__PURE__ */ e(
|
|
@@ -6415,11 +6472,11 @@ function ui({ config: t }) {
|
|
|
6415
6472
|
name: "WEB-DISP",
|
|
6416
6473
|
status: r,
|
|
6417
6474
|
context: { traffic: 78 },
|
|
6418
|
-
subComponents:
|
|
6419
|
-
graphSeries:
|
|
6475
|
+
subComponents: Rt(r),
|
|
6476
|
+
graphSeries: Pt({ traffic: 78 })
|
|
6420
6477
|
},
|
|
6421
6478
|
children: /* @__PURE__ */ e(
|
|
6422
|
-
|
|
6479
|
+
ot,
|
|
6423
6480
|
{
|
|
6424
6481
|
rotateY: o,
|
|
6425
6482
|
autoRotate: i,
|
|
@@ -6448,11 +6505,11 @@ function ui({ config: t }) {
|
|
|
6448
6505
|
name: "MSG-SRV",
|
|
6449
6506
|
status: a,
|
|
6450
6507
|
context: { queueDepth: 45 },
|
|
6451
|
-
subComponents:
|
|
6452
|
-
graphSeries:
|
|
6508
|
+
subComponents: gi(a),
|
|
6509
|
+
graphSeries: yi({ queueDepth: 45 })
|
|
6453
6510
|
},
|
|
6454
6511
|
children: /* @__PURE__ */ e(
|
|
6455
|
-
|
|
6512
|
+
wt,
|
|
6456
6513
|
{
|
|
6457
6514
|
rotateY: -o,
|
|
6458
6515
|
autoRotate: i,
|
|
@@ -6482,11 +6539,11 @@ function ui({ config: t }) {
|
|
|
6482
6539
|
name: "APP-01",
|
|
6483
6540
|
status: s,
|
|
6484
6541
|
context: { cpuLoad: 67, memLoad: 72 },
|
|
6485
|
-
subComponents:
|
|
6486
|
-
graphSeries:
|
|
6542
|
+
subComponents: Pe(s, "APP-01", { cpuLoad: 67, memLoad: 72 }),
|
|
6543
|
+
graphSeries: Ce({ cpuLoad: 67, memLoad: 72 })
|
|
6487
6544
|
},
|
|
6488
6545
|
children: /* @__PURE__ */ e(
|
|
6489
|
-
|
|
6546
|
+
he,
|
|
6490
6547
|
{
|
|
6491
6548
|
rotateY: o,
|
|
6492
6549
|
autoRotate: i,
|
|
@@ -6515,11 +6572,11 @@ function ui({ config: t }) {
|
|
|
6515
6572
|
name: "APP-02",
|
|
6516
6573
|
status: l,
|
|
6517
6574
|
context: { cpuLoad: 89, memLoad: 91 },
|
|
6518
|
-
subComponents:
|
|
6519
|
-
graphSeries:
|
|
6575
|
+
subComponents: Pe(l, "APP-02", { cpuLoad: 89, memLoad: 91 }),
|
|
6576
|
+
graphSeries: Ce({ cpuLoad: 89, memLoad: 91 })
|
|
6520
6577
|
},
|
|
6521
6578
|
children: /* @__PURE__ */ e(
|
|
6522
|
-
|
|
6579
|
+
he,
|
|
6523
6580
|
{
|
|
6524
6581
|
rotateY: o,
|
|
6525
6582
|
autoRotate: i,
|
|
@@ -6548,11 +6605,11 @@ function ui({ config: t }) {
|
|
|
6548
6605
|
name: "APP-03",
|
|
6549
6606
|
status: h,
|
|
6550
6607
|
context: { cpuLoad: 45, memLoad: 63 },
|
|
6551
|
-
subComponents:
|
|
6552
|
-
graphSeries:
|
|
6608
|
+
subComponents: Pe(h, "APP-03", { cpuLoad: 45, memLoad: 63 }),
|
|
6609
|
+
graphSeries: Ce({ cpuLoad: 45, memLoad: 63 })
|
|
6553
6610
|
},
|
|
6554
6611
|
children: /* @__PURE__ */ e(
|
|
6555
|
-
|
|
6612
|
+
he,
|
|
6556
6613
|
{
|
|
6557
6614
|
rotateY: o,
|
|
6558
6615
|
autoRotate: i,
|
|
@@ -6581,11 +6638,11 @@ function ui({ config: t }) {
|
|
|
6581
6638
|
name: "DB-PRI",
|
|
6582
6639
|
status: c,
|
|
6583
6640
|
context: { capacity: 72 },
|
|
6584
|
-
subComponents:
|
|
6585
|
-
graphSeries:
|
|
6641
|
+
subComponents: Fe(c, "DB-PRI", { capacity: 72 }),
|
|
6642
|
+
graphSeries: He({ capacity: 72 })
|
|
6586
6643
|
},
|
|
6587
6644
|
children: /* @__PURE__ */ e(
|
|
6588
|
-
|
|
6645
|
+
Ne,
|
|
6589
6646
|
{
|
|
6590
6647
|
rotateY: -o,
|
|
6591
6648
|
autoRotate: i,
|
|
@@ -6614,11 +6671,11 @@ function ui({ config: t }) {
|
|
|
6614
6671
|
name: "DB-STB",
|
|
6615
6672
|
status: p,
|
|
6616
6673
|
context: { capacity: 72 },
|
|
6617
|
-
subComponents:
|
|
6618
|
-
graphSeries:
|
|
6674
|
+
subComponents: Fe(p, "DB-STB", { capacity: 72 }),
|
|
6675
|
+
graphSeries: He({ capacity: 72 })
|
|
6619
6676
|
},
|
|
6620
6677
|
children: /* @__PURE__ */ e(
|
|
6621
|
-
|
|
6678
|
+
Ne,
|
|
6622
6679
|
{
|
|
6623
6680
|
rotateY: o,
|
|
6624
6681
|
autoRotate: i,
|
|
@@ -6641,14 +6698,14 @@ function ui({ config: t }) {
|
|
|
6641
6698
|
visibleAtPhase: 6,
|
|
6642
6699
|
fixedScale: 1,
|
|
6643
6700
|
bare: !0,
|
|
6644
|
-
children: /* @__PURE__ */ e(
|
|
6701
|
+
children: /* @__PURE__ */ e(vt, { synced: f, latencyMs: f ? 8 : 342 })
|
|
6645
6702
|
}
|
|
6646
6703
|
),
|
|
6647
|
-
/* @__PURE__ */ e(
|
|
6704
|
+
/* @__PURE__ */ e(vi, { config: t })
|
|
6648
6705
|
] });
|
|
6649
6706
|
}
|
|
6650
|
-
function
|
|
6651
|
-
const n =
|
|
6707
|
+
function vi({ config: t }) {
|
|
6708
|
+
const n = j.useContext(ue), { wdStatus: o, msStatus: i, srv1Status: r, srv2Status: a, srv3Status: s, pdbStatus: l, sdbStatus: h, dbSync: c } = t, p = n?.isSelected && n?.isExpandedPos;
|
|
6652
6709
|
return n?.isSelected ? /* @__PURE__ */ d("div", { style: { pointerEvents: "none" }, children: [
|
|
6653
6710
|
/* @__PURE__ */ e(
|
|
6654
6711
|
W,
|
|
@@ -6772,19 +6829,19 @@ function bi({ config: t }) {
|
|
|
6772
6829
|
)
|
|
6773
6830
|
] }) : null;
|
|
6774
6831
|
}
|
|
6775
|
-
function
|
|
6832
|
+
function Fi({ config: t, ...n }) {
|
|
6776
6833
|
return /* @__PURE__ */ e(
|
|
6777
|
-
|
|
6834
|
+
xt,
|
|
6778
6835
|
{
|
|
6779
6836
|
name: t.name,
|
|
6780
|
-
status:
|
|
6781
|
-
connections:
|
|
6837
|
+
status: at(t),
|
|
6838
|
+
connections: mi,
|
|
6782
6839
|
...n,
|
|
6783
|
-
children: /* @__PURE__ */ e(
|
|
6840
|
+
children: /* @__PURE__ */ e(xi, { config: t })
|
|
6784
6841
|
}
|
|
6785
6842
|
);
|
|
6786
6843
|
}
|
|
6787
|
-
function
|
|
6844
|
+
function lt(t) {
|
|
6788
6845
|
const n = [
|
|
6789
6846
|
t.dispStatus,
|
|
6790
6847
|
t.srv1Status,
|
|
@@ -6795,8 +6852,8 @@ function ot(t) {
|
|
|
6795
6852
|
];
|
|
6796
6853
|
return n.includes("critical") ? "critical" : n.includes("warning") ? "warning" : n.includes("offline") ? "offline" : "online";
|
|
6797
6854
|
}
|
|
6798
|
-
function
|
|
6799
|
-
const n =
|
|
6855
|
+
function Hi(t) {
|
|
6856
|
+
const n = lt(t), o = n === "critical" || n === "offline", i = n === "warning";
|
|
6800
6857
|
return [
|
|
6801
6858
|
{
|
|
6802
6859
|
label: "Uptime",
|
|
@@ -6817,8 +6874,8 @@ function Mi(t) {
|
|
|
6817
6874
|
}
|
|
6818
6875
|
];
|
|
6819
6876
|
}
|
|
6820
|
-
function
|
|
6821
|
-
const n =
|
|
6877
|
+
function Ui(t) {
|
|
6878
|
+
const n = lt(t), o = n === "critical" || n === "offline", i = n === "warning";
|
|
6822
6879
|
return [
|
|
6823
6880
|
...t.dbSync ? [] : [{ level: "warning", message: "DB Replication Lag Detected" }],
|
|
6824
6881
|
...o ? [{ level: "critical", message: "Critical Component Failure" }] : [],
|
|
@@ -6826,7 +6883,7 @@ function zi(t) {
|
|
|
6826
6883
|
...!o && !i && t.dbSync ? [{ level: "info", message: "All Systems Nominal" }] : []
|
|
6827
6884
|
];
|
|
6828
6885
|
}
|
|
6829
|
-
const
|
|
6886
|
+
const wi = [
|
|
6830
6887
|
{ from: [330, 120], to: [330, 260], visibleAtPhase: 3 },
|
|
6831
6888
|
{ from: [330, 260], to: [165, 390], visibleAtPhase: 4 },
|
|
6832
6889
|
{ from: [330, 260], to: [330, 390], visibleAtPhase: 4 },
|
|
@@ -6835,9 +6892,9 @@ const gi = [
|
|
|
6835
6892
|
{ from: [330, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" },
|
|
6836
6893
|
{ from: [495, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" }
|
|
6837
6894
|
];
|
|
6838
|
-
function
|
|
6839
|
-
const n =
|
|
6840
|
-
return /* @__PURE__ */ d(
|
|
6895
|
+
function Si({ config: t }) {
|
|
6896
|
+
const n = j.useContext(ue), o = n?.rotateY ?? 20, i = n?.autoRotateComponents ?? !0, { dispStatus: r, srv1Status: a, srv2Status: s, srv3Status: l, pdbStatus: h, sdbStatus: c, dbSync: p } = t;
|
|
6897
|
+
return /* @__PURE__ */ d(Ee, { children: [
|
|
6841
6898
|
/* @__PURE__ */ e(
|
|
6842
6899
|
A,
|
|
6843
6900
|
{
|
|
@@ -6847,7 +6904,7 @@ function yi({ config: t }) {
|
|
|
6847
6904
|
zIndex: 10,
|
|
6848
6905
|
visibleAtPhase: 2,
|
|
6849
6906
|
color: "#00e5ff",
|
|
6850
|
-
children: /* @__PURE__ */ e(
|
|
6907
|
+
children: /* @__PURE__ */ e(nt, { status: "online", scale: 1.5 })
|
|
6851
6908
|
}
|
|
6852
6909
|
),
|
|
6853
6910
|
/* @__PURE__ */ e(
|
|
@@ -6866,11 +6923,11 @@ function yi({ config: t }) {
|
|
|
6866
6923
|
name: "DISP-01",
|
|
6867
6924
|
status: r,
|
|
6868
6925
|
context: { traffic: 78 },
|
|
6869
|
-
subComponents:
|
|
6870
|
-
graphSeries:
|
|
6926
|
+
subComponents: Rt(r),
|
|
6927
|
+
graphSeries: Pt({ traffic: 78 })
|
|
6871
6928
|
},
|
|
6872
6929
|
children: /* @__PURE__ */ e(
|
|
6873
|
-
|
|
6930
|
+
ot,
|
|
6874
6931
|
{
|
|
6875
6932
|
rotateY: o,
|
|
6876
6933
|
autoRotate: i,
|
|
@@ -6899,11 +6956,11 @@ function yi({ config: t }) {
|
|
|
6899
6956
|
name: "APP-01",
|
|
6900
6957
|
status: a,
|
|
6901
6958
|
context: { cpuLoad: 67, memLoad: 72 },
|
|
6902
|
-
subComponents:
|
|
6903
|
-
graphSeries:
|
|
6959
|
+
subComponents: Pe(a, "APP-01", { cpuLoad: 67, memLoad: 72 }),
|
|
6960
|
+
graphSeries: Ce({ cpuLoad: 67, memLoad: 72 })
|
|
6904
6961
|
},
|
|
6905
6962
|
children: /* @__PURE__ */ e(
|
|
6906
|
-
|
|
6963
|
+
he,
|
|
6907
6964
|
{
|
|
6908
6965
|
rotateY: o,
|
|
6909
6966
|
autoRotate: i,
|
|
@@ -6932,11 +6989,11 @@ function yi({ config: t }) {
|
|
|
6932
6989
|
name: "APP-02",
|
|
6933
6990
|
status: s,
|
|
6934
6991
|
context: { cpuLoad: 89, memLoad: 91 },
|
|
6935
|
-
subComponents:
|
|
6936
|
-
graphSeries:
|
|
6992
|
+
subComponents: Pe(s, "APP-02", { cpuLoad: 89, memLoad: 91 }),
|
|
6993
|
+
graphSeries: Ce({ cpuLoad: 89, memLoad: 91 })
|
|
6937
6994
|
},
|
|
6938
6995
|
children: /* @__PURE__ */ e(
|
|
6939
|
-
|
|
6996
|
+
he,
|
|
6940
6997
|
{
|
|
6941
6998
|
rotateY: o,
|
|
6942
6999
|
autoRotate: i,
|
|
@@ -6965,11 +7022,11 @@ function yi({ config: t }) {
|
|
|
6965
7022
|
name: "APP-03",
|
|
6966
7023
|
status: l,
|
|
6967
7024
|
context: { cpuLoad: 45, memLoad: 63 },
|
|
6968
|
-
subComponents:
|
|
6969
|
-
graphSeries:
|
|
7025
|
+
subComponents: Pe(l, "APP-03", { cpuLoad: 45, memLoad: 63 }),
|
|
7026
|
+
graphSeries: Ce({ cpuLoad: 45, memLoad: 63 })
|
|
6970
7027
|
},
|
|
6971
7028
|
children: /* @__PURE__ */ e(
|
|
6972
|
-
|
|
7029
|
+
he,
|
|
6973
7030
|
{
|
|
6974
7031
|
rotateY: o,
|
|
6975
7032
|
autoRotate: i,
|
|
@@ -6998,11 +7055,11 @@ function yi({ config: t }) {
|
|
|
6998
7055
|
name: "DB-PRI",
|
|
6999
7056
|
status: h,
|
|
7000
7057
|
context: { capacity: 72 },
|
|
7001
|
-
subComponents:
|
|
7002
|
-
graphSeries:
|
|
7058
|
+
subComponents: Fe(h, "DB-PRI", { capacity: 72 }),
|
|
7059
|
+
graphSeries: He({ capacity: 72 })
|
|
7003
7060
|
},
|
|
7004
7061
|
children: /* @__PURE__ */ e(
|
|
7005
|
-
|
|
7062
|
+
Ne,
|
|
7006
7063
|
{
|
|
7007
7064
|
rotateY: -o,
|
|
7008
7065
|
autoRotate: i,
|
|
@@ -7031,11 +7088,11 @@ function yi({ config: t }) {
|
|
|
7031
7088
|
name: "DB-STB",
|
|
7032
7089
|
status: c,
|
|
7033
7090
|
context: { capacity: 72 },
|
|
7034
|
-
subComponents:
|
|
7035
|
-
graphSeries:
|
|
7091
|
+
subComponents: Fe(c, "DB-STB", { capacity: 72 }),
|
|
7092
|
+
graphSeries: He({ capacity: 72 })
|
|
7036
7093
|
},
|
|
7037
7094
|
children: /* @__PURE__ */ e(
|
|
7038
|
-
|
|
7095
|
+
Ne,
|
|
7039
7096
|
{
|
|
7040
7097
|
rotateY: o,
|
|
7041
7098
|
autoRotate: i,
|
|
@@ -7058,14 +7115,14 @@ function yi({ config: t }) {
|
|
|
7058
7115
|
visibleAtPhase: 6,
|
|
7059
7116
|
fixedScale: 1,
|
|
7060
7117
|
bare: !0,
|
|
7061
|
-
children: /* @__PURE__ */ e(
|
|
7118
|
+
children: /* @__PURE__ */ e(vt, { synced: p, latencyMs: p ? 8 : 342 })
|
|
7062
7119
|
}
|
|
7063
7120
|
),
|
|
7064
|
-
/* @__PURE__ */ e(
|
|
7121
|
+
/* @__PURE__ */ e($i, { config: t })
|
|
7065
7122
|
] });
|
|
7066
7123
|
}
|
|
7067
|
-
function
|
|
7068
|
-
const n =
|
|
7124
|
+
function $i({ config: t }) {
|
|
7125
|
+
const n = j.useContext(ue), { dispStatus: o, srv1Status: i, srv2Status: r, srv3Status: a, pdbStatus: s, sdbStatus: l, dbSync: h } = t, c = n?.isSelected && n?.isExpandedPos;
|
|
7069
7126
|
return n?.isSelected ? /* @__PURE__ */ d("div", { style: { pointerEvents: "none" }, children: [
|
|
7070
7127
|
/* @__PURE__ */ e(
|
|
7071
7128
|
W,
|
|
@@ -7174,78 +7231,80 @@ function mi({ config: t }) {
|
|
|
7174
7231
|
)
|
|
7175
7232
|
] }) : null;
|
|
7176
7233
|
}
|
|
7177
|
-
function
|
|
7234
|
+
function Yi({ config: t, ...n }) {
|
|
7178
7235
|
return /* @__PURE__ */ e(
|
|
7179
|
-
|
|
7236
|
+
xt,
|
|
7180
7237
|
{
|
|
7181
7238
|
name: t.name,
|
|
7182
|
-
status:
|
|
7183
|
-
connections:
|
|
7239
|
+
status: lt(t),
|
|
7240
|
+
connections: wi,
|
|
7184
7241
|
...n,
|
|
7185
|
-
children: /* @__PURE__ */ e(
|
|
7242
|
+
children: /* @__PURE__ */ e(Si, { config: t })
|
|
7186
7243
|
}
|
|
7187
7244
|
);
|
|
7188
7245
|
}
|
|
7189
7246
|
export {
|
|
7190
|
-
|
|
7191
|
-
|
|
7192
|
-
|
|
7193
|
-
|
|
7194
|
-
|
|
7195
|
-
|
|
7196
|
-
|
|
7197
|
-
|
|
7198
|
-
|
|
7199
|
-
|
|
7200
|
-
|
|
7201
|
-
|
|
7202
|
-
|
|
7203
|
-
|
|
7204
|
-
|
|
7205
|
-
|
|
7206
|
-
|
|
7207
|
-
|
|
7208
|
-
|
|
7209
|
-
|
|
7210
|
-
|
|
7211
|
-
|
|
7212
|
-
|
|
7213
|
-
|
|
7214
|
-
|
|
7247
|
+
Mi as AIOPsDashboard,
|
|
7248
|
+
ze as CPU3D,
|
|
7249
|
+
Ft as Carousel,
|
|
7250
|
+
et as CarouselContext,
|
|
7251
|
+
tt as CarouselItemContext,
|
|
7252
|
+
Mt as ComponentDialog,
|
|
7253
|
+
Ni as ComponentDrillView,
|
|
7254
|
+
bi as DataProvider,
|
|
7255
|
+
Ne as Database3D,
|
|
7256
|
+
Ii as DatabaseNode,
|
|
7257
|
+
Re as DriveBay3D,
|
|
7258
|
+
wi as EXCHANGE_CONNECTIONS,
|
|
7259
|
+
Yi as ExchangeService,
|
|
7260
|
+
Ci as HOLO_BLUE,
|
|
7261
|
+
Pi as HOLO_CYAN,
|
|
7262
|
+
Ze as HOLO_GLASS,
|
|
7263
|
+
Te as HOLO_SURFACE,
|
|
7264
|
+
oi as HistoricalGraphPanel,
|
|
7265
|
+
Yt as HoloBase,
|
|
7266
|
+
nt as Human3D,
|
|
7267
|
+
Oi as HumanNode,
|
|
7268
|
+
Be as Memory3D,
|
|
7269
|
+
wt as MessageServer3D,
|
|
7270
|
+
Di as MessageServerNode,
|
|
7271
|
+
$t as NetworkBlock3D,
|
|
7215
7272
|
W as NodeCallout,
|
|
7216
|
-
|
|
7217
|
-
|
|
7218
|
-
|
|
7219
|
-
|
|
7220
|
-
|
|
7221
|
-
|
|
7222
|
-
|
|
7223
|
-
|
|
7224
|
-
|
|
7225
|
-
|
|
7273
|
+
Me as Platter3D,
|
|
7274
|
+
F as Port3D,
|
|
7275
|
+
Fi as SAPService,
|
|
7276
|
+
mi as SAP_CONNECTIONS,
|
|
7277
|
+
P as STATUS_CFG,
|
|
7278
|
+
he as Server3D,
|
|
7279
|
+
Ti as ServerNode,
|
|
7280
|
+
xt as Service,
|
|
7281
|
+
ue as ServiceContext,
|
|
7282
|
+
Nt as ServiceDialog,
|
|
7226
7283
|
A as ServiceNode,
|
|
7227
|
-
|
|
7228
|
-
|
|
7284
|
+
Ht as SvgConnection,
|
|
7285
|
+
vt as SyncBridge,
|
|
7229
7286
|
M as ThreadPool3D,
|
|
7230
|
-
|
|
7231
|
-
|
|
7232
|
-
|
|
7233
|
-
|
|
7234
|
-
|
|
7235
|
-
|
|
7236
|
-
|
|
7237
|
-
|
|
7238
|
-
|
|
7239
|
-
|
|
7240
|
-
|
|
7241
|
-
|
|
7242
|
-
|
|
7243
|
-
|
|
7244
|
-
|
|
7245
|
-
|
|
7246
|
-
|
|
7247
|
-
|
|
7248
|
-
|
|
7249
|
-
|
|
7250
|
-
|
|
7287
|
+
ot as WebDispatcher3D,
|
|
7288
|
+
Li as WebDispatcherNode,
|
|
7289
|
+
Ui as computeExchangeDialogAlerts,
|
|
7290
|
+
Hi as computeExchangeDialogMetrics,
|
|
7291
|
+
lt as computeExchangeServiceStatus,
|
|
7292
|
+
Bi as computeSAPDialogAlerts,
|
|
7293
|
+
zi as computeSAPDialogMetrics,
|
|
7294
|
+
at as computeSAPServiceStatus,
|
|
7295
|
+
ui as defaultDataTransform,
|
|
7296
|
+
He as getDatabaseGraphSeries,
|
|
7297
|
+
Fe as getDatabaseSubComponents,
|
|
7298
|
+
Pt as getDispatcherGraphSeries,
|
|
7299
|
+
Rt as getDispatcherSubComponents,
|
|
7300
|
+
yi as getMessageServerGraphSeries,
|
|
7301
|
+
gi as getMessageServerSubComponents,
|
|
7302
|
+
Ce as getServerGraphSeries,
|
|
7303
|
+
Pe as getServerSubComponents,
|
|
7304
|
+
Je as makeFaceStyles,
|
|
7305
|
+
pi as useAIOpsData,
|
|
7306
|
+
fi as useAIOpsDataOptional,
|
|
7307
|
+
Ei as useCarouselContext,
|
|
7308
|
+
Ai as useCarouselItemContext,
|
|
7309
|
+
Wi as useQueryResult
|
|
7251
7310
|
};
|