react-aiops 0.1.20 → 0.1.21
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/components/ServiceNode.d.ts.map +1 -1
- package/dist/index.js +355 -350
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { jsxs as d, jsx as e, Fragment as
|
|
2
|
-
import
|
|
1
|
+
import { jsxs as d, jsx as e, Fragment as Le } from "react/jsx-runtime";
|
|
2
|
+
import F, { createContext as _e, useContext as de, useState as R, useEffect as De, useMemo as Fe, useRef as J, useCallback as ct } from "react";
|
|
3
3
|
const Mt = {
|
|
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: "⚠️" },
|
|
@@ -182,7 +182,7 @@ const E = {
|
|
|
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
|
-
}, Di = "#00e5ff", Ni = "#0055cc",
|
|
185
|
+
}, Di = "#00e5ff", Ni = "#0055cc", Ne = "linear-gradient(180deg, #071428 0%, #040c1c 60%, #030810 100%)", Je = "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
186
|
function et(t, n, o) {
|
|
187
187
|
const i = {
|
|
188
188
|
position: "absolute",
|
|
@@ -233,14 +233,14 @@ function et(t, n, o) {
|
|
|
233
233
|
}
|
|
234
234
|
};
|
|
235
235
|
}
|
|
236
|
-
const
|
|
236
|
+
const Ke = "cubic-bezier(0.34, 1.56, 0.64, 1)", Ge = "cubic-bezier(0.16, 1, 0.3, 1)";
|
|
237
237
|
function xt(t) {
|
|
238
238
|
return E[t]?.color ?? E.online.color;
|
|
239
239
|
}
|
|
240
240
|
function Bt(t, n, o) {
|
|
241
241
|
return t >= o ? "#ff2255" : t >= n ? "#ff8c00" : "#00e5ff";
|
|
242
242
|
}
|
|
243
|
-
function
|
|
243
|
+
function ze(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
246
|
function Ft({
|
|
@@ -265,7 +265,7 @@ function Ft({
|
|
|
265
265
|
sublabel: b.sublabel,
|
|
266
266
|
value: b.value,
|
|
267
267
|
unit: b.unit ?? "%",
|
|
268
|
-
status:
|
|
268
|
+
status: ze(l, b.value, A, $),
|
|
269
269
|
icon: b.icon ?? "cpu",
|
|
270
270
|
delay: k,
|
|
271
271
|
colorOverride: b.color,
|
|
@@ -274,7 +274,7 @@ function Ft({
|
|
|
274
274
|
};
|
|
275
275
|
});
|
|
276
276
|
else {
|
|
277
|
-
const b = p.cpuLoad ?? p.traffic ?? 50, k = p.memLoad ?? p.queueDepth ?? 60, A = p.capacity ?? 72, $ =
|
|
277
|
+
const b = p.cpuLoad ?? p.traffic ?? 50, k = p.memLoad ?? p.queueDepth ?? 60, A = p.capacity ?? 72, $ = ze(l, b, 70, 85), S = ze(l, k, 75, 88), N = ze(l, A, 75, 90);
|
|
278
278
|
w = [
|
|
279
279
|
{
|
|
280
280
|
id: "cpu",
|
|
@@ -323,7 +323,7 @@ function Ft({
|
|
|
323
323
|
overflow: "hidden",
|
|
324
324
|
opacity: o ? 1 : 0,
|
|
325
325
|
transform: o ? "scale(1) translate(0, 0)" : `scale(0.7) translate(${m}px, ${v}px)`,
|
|
326
|
-
transition: `opacity 0.45s ${
|
|
326
|
+
transition: `opacity 0.45s ${Ge}, transform 0.55s ${Ke}`,
|
|
327
327
|
pointerEvents: o ? "auto" : "none",
|
|
328
328
|
zIndex: 9999,
|
|
329
329
|
animation: o ? "comp-dialog-border-glow 3s ease-in-out infinite" : "none",
|
|
@@ -594,7 +594,7 @@ function Ut({
|
|
|
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 ${Ke} ${0.3 + c * 0.12}s`
|
|
598
598
|
},
|
|
599
599
|
children: [
|
|
600
600
|
/* @__PURE__ */ d(
|
|
@@ -612,7 +612,7 @@ function Ut({
|
|
|
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 ${Ke} ${0.35 + c * 0.12}s both` : "none"
|
|
616
616
|
},
|
|
617
617
|
children: [
|
|
618
618
|
/* @__PURE__ */ e(Ht, { type: u, color: y }),
|
|
@@ -714,7 +714,7 @@ function Ut({
|
|
|
714
714
|
background: `linear-gradient(90deg, ${h}66, ${h})`,
|
|
715
715
|
boxShadow: `0 0 8px ${h}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
|
),
|
|
@@ -893,12 +893,12 @@ function Ht({ 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 tt =
|
|
896
|
+
const tt = _e(null), it = _e({ index: 0 });
|
|
897
897
|
function Wi() {
|
|
898
|
-
return
|
|
898
|
+
return de(tt);
|
|
899
899
|
}
|
|
900
900
|
function Mi() {
|
|
901
|
-
return
|
|
901
|
+
return de(it);
|
|
902
902
|
}
|
|
903
903
|
function Yt({
|
|
904
904
|
children: t,
|
|
@@ -926,17 +926,17 @@ function Yt({
|
|
|
926
926
|
selectedSystemAlerts: $
|
|
927
927
|
}) {
|
|
928
928
|
const [S, N] = R(0);
|
|
929
|
-
|
|
929
|
+
De(() => {
|
|
930
930
|
let I;
|
|
931
931
|
if ((o === "compact" || o === "collapsing") && f) {
|
|
932
|
-
const
|
|
933
|
-
N((
|
|
932
|
+
const Y = () => {
|
|
933
|
+
N((fe) => fe + g), I = requestAnimationFrame(Y);
|
|
934
934
|
};
|
|
935
|
-
I = requestAnimationFrame(
|
|
935
|
+
I = requestAnimationFrame(Y);
|
|
936
936
|
}
|
|
937
937
|
return () => cancelAnimationFrame(I);
|
|
938
938
|
}, [o, f, g]);
|
|
939
|
-
const B =
|
|
939
|
+
const B = F.Children.toArray(t), z = B.length, H = Fe(
|
|
940
940
|
() => ({
|
|
941
941
|
totalSystems: z,
|
|
942
942
|
carouselRotation: S,
|
|
@@ -967,8 +967,8 @@ function Yt({
|
|
|
967
967
|
x,
|
|
968
968
|
h
|
|
969
969
|
]
|
|
970
|
-
),
|
|
971
|
-
return /* @__PURE__ */ d(tt.Provider, { value:
|
|
970
|
+
), ce = B.map((I, Y) => /* @__PURE__ */ e(it.Provider, { value: { index: Y }, children: I }, Y)), pe = o === "expanded" || o === "expanding" && i >= 4;
|
|
971
|
+
return /* @__PURE__ */ d(tt.Provider, { value: H, children: [
|
|
972
972
|
/* @__PURE__ */ d("div", { style: { position: "relative", width: h, height: y, margin: "0 auto", flexShrink: 0 }, children: [
|
|
973
973
|
n && (o === "compact" || o === "collapsing") && /* @__PURE__ */ e(
|
|
974
974
|
"img",
|
|
@@ -990,7 +990,7 @@ function Yt({
|
|
|
990
990
|
}
|
|
991
991
|
}
|
|
992
992
|
),
|
|
993
|
-
|
|
993
|
+
ce
|
|
994
994
|
] }),
|
|
995
995
|
r && /* @__PURE__ */ e("div", { onClick: (I) => I.stopPropagation(), children: /* @__PURE__ */ e(
|
|
996
996
|
zt,
|
|
@@ -998,7 +998,7 @@ function Yt({
|
|
|
998
998
|
name: r,
|
|
999
999
|
status: b,
|
|
1000
1000
|
dbSync: k,
|
|
1001
|
-
visible:
|
|
1001
|
+
visible: pe && !a,
|
|
1002
1002
|
metrics: A,
|
|
1003
1003
|
alerts: $
|
|
1004
1004
|
}
|
|
@@ -1062,7 +1062,7 @@ function Vt({
|
|
|
1062
1062
|
)
|
|
1063
1063
|
}
|
|
1064
1064
|
),
|
|
1065
|
-
r && /* @__PURE__ */ d(
|
|
1065
|
+
r && /* @__PURE__ */ d(Le, { children: [
|
|
1066
1066
|
/* @__PURE__ */ e("circle", { r: "3", fill: a, opacity: 0.85, children: /* @__PURE__ */ e(
|
|
1067
1067
|
"animateMotion",
|
|
1068
1068
|
{
|
|
@@ -1298,7 +1298,7 @@ function jt({
|
|
|
1298
1298
|
}, children: r })
|
|
1299
1299
|
] });
|
|
1300
1300
|
}
|
|
1301
|
-
const
|
|
1301
|
+
const ve = _e(null), Xt = "cubic-bezier(0.34, 1.56, 0.64, 1)", pt = 330, ft = 340, qt = 660;
|
|
1302
1302
|
function vt({
|
|
1303
1303
|
name: t,
|
|
1304
1304
|
status: n = "online",
|
|
@@ -1320,24 +1320,24 @@ function vt({
|
|
|
1320
1320
|
_onComponentClick: x,
|
|
1321
1321
|
_containerWidth: w
|
|
1322
1322
|
}) {
|
|
1323
|
-
const b =
|
|
1323
|
+
const b = de(tt), k = de(it), A = a ?? k.index, $ = s ?? b?.totalSystems ?? 1, S = l ?? b?.carouselRotation ?? 0, N = u ?? b?.viewState ?? "compact", B = c ?? b?.animPhase ?? 0, z = p ?? b?.selectedSystem ?? null, H = f ?? b?.selectedComponent ?? null, ce = g ?? b?.rotateY ?? 20, pe = h ?? b?.autoRotateComponents ?? !0, I = y ?? b?.componentScale ?? 0.35, Y = m ?? b?.drillZoom ?? 3.3, fe = v ?? b?.onSelectSystem, V = x ?? b?.onComponentClick, _ = w ?? b?.containerWidth ?? 950, j = z === t, L = j && (N === "expanded" || N === "expanding" && B >= 1), G = !L, ue = (_ - qt) / 2, ne = pt + ue, ee = A / $ * Math.PI * 2 + S, we = 420, he = 160, be = ne + Math.cos(ee) * we, C = 450 + Math.sin(ee) * he, ge = Math.round(C), oe = !j && (N === "expanding" || N === "expanded"), ye = oe ? 0 : 1, te = G ? 0.3 + (Math.sin(ee) + 1) * 0.1 : 1, X = G ? te : I, Se = N === "compact" || N === "collapsing" ? "none" : "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)", We = j && H, je = We ? Y : 1, At = H?.ex ?? 330, It = H?.ey ?? 300, { size: Ot = 90, color: Lt = "#00e5ff", widthRatio: Dt = 3 } = i ?? {}, Nt = {
|
|
1324
1324
|
name: t,
|
|
1325
|
-
isSelected:
|
|
1325
|
+
isSelected: j,
|
|
1326
1326
|
isExpandedPos: L,
|
|
1327
|
-
isCompact:
|
|
1327
|
+
isCompact: G,
|
|
1328
1328
|
animPhase: B,
|
|
1329
|
-
compactCx:
|
|
1329
|
+
compactCx: be,
|
|
1330
1330
|
compactCy: C,
|
|
1331
|
-
groupScale:
|
|
1332
|
-
effectiveScale:
|
|
1333
|
-
transitionValue:
|
|
1334
|
-
rotateY:
|
|
1335
|
-
autoRotateComponents:
|
|
1336
|
-
onComponentClick:
|
|
1337
|
-
selectedComponentName:
|
|
1338
|
-
expandedOffsetX:
|
|
1331
|
+
groupScale: te,
|
|
1332
|
+
effectiveScale: X,
|
|
1333
|
+
transitionValue: Se,
|
|
1334
|
+
rotateY: ce,
|
|
1335
|
+
autoRotateComponents: pe,
|
|
1336
|
+
onComponentClick: V,
|
|
1337
|
+
selectedComponentName: H?.name ?? null,
|
|
1338
|
+
expandedOffsetX: ue
|
|
1339
1339
|
};
|
|
1340
|
-
return /* @__PURE__ */ e(
|
|
1340
|
+
return /* @__PURE__ */ e(ve.Provider, { value: Nt, children: /* @__PURE__ */ d(
|
|
1341
1341
|
"div",
|
|
1342
1342
|
{
|
|
1343
1343
|
style: {
|
|
@@ -1347,20 +1347,20 @@ function vt({
|
|
|
1347
1347
|
width: "100%",
|
|
1348
1348
|
height: "100%",
|
|
1349
1349
|
pointerEvents: "none",
|
|
1350
|
-
opacity:
|
|
1350
|
+
opacity: ye,
|
|
1351
1351
|
transition: `opacity 0.8s ease, filter 0.5s ease, transform 0.6s ${Xt}`,
|
|
1352
|
-
filter:
|
|
1353
|
-
zIndex:
|
|
1354
|
-
transformOrigin: `${
|
|
1355
|
-
transform:
|
|
1352
|
+
filter: G && Math.sin(ee) < -0.5 ? "brightness(0.5) blur(2px)" : "none",
|
|
1353
|
+
zIndex: j ? 500 : oe ? 0 : ge,
|
|
1354
|
+
transformOrigin: `${ne}px ${ft}px`,
|
|
1355
|
+
transform: We ? `translate(${-(At - pt) * je}px, ${-(It - ft) * je}px) scale(${je})` : "none"
|
|
1356
1356
|
},
|
|
1357
1357
|
children: [
|
|
1358
|
-
|
|
1358
|
+
G && !oe && /* @__PURE__ */ e(
|
|
1359
1359
|
"div",
|
|
1360
1360
|
{
|
|
1361
1361
|
style: {
|
|
1362
1362
|
position: "absolute",
|
|
1363
|
-
left:
|
|
1363
|
+
left: be,
|
|
1364
1364
|
top: C,
|
|
1365
1365
|
width: 160,
|
|
1366
1366
|
height: 180,
|
|
@@ -1369,19 +1369,19 @@ function vt({
|
|
|
1369
1369
|
cursor: "pointer",
|
|
1370
1370
|
zIndex: 101
|
|
1371
1371
|
},
|
|
1372
|
-
onClick: (
|
|
1373
|
-
|
|
1372
|
+
onClick: (ie) => {
|
|
1373
|
+
ie.stopPropagation(), fe?.(t);
|
|
1374
1374
|
}
|
|
1375
1375
|
}
|
|
1376
1376
|
),
|
|
1377
|
-
|
|
1377
|
+
G && (n === "warning" || n === "critical") && /* @__PURE__ */ e(
|
|
1378
1378
|
"div",
|
|
1379
1379
|
{
|
|
1380
1380
|
style: {
|
|
1381
1381
|
position: "absolute",
|
|
1382
|
-
left:
|
|
1382
|
+
left: be,
|
|
1383
1383
|
top: C - 200,
|
|
1384
|
-
transform: `translate(-50%, -50%) scale(${
|
|
1384
|
+
transform: `translate(-50%, -50%) scale(${te})`,
|
|
1385
1385
|
zIndex: 110,
|
|
1386
1386
|
pointerEvents: "none",
|
|
1387
1387
|
animation: "holo-led-blink 1.5s infinite",
|
|
@@ -1427,13 +1427,13 @@ function vt({
|
|
|
1427
1427
|
{
|
|
1428
1428
|
style: {
|
|
1429
1429
|
position: "absolute",
|
|
1430
|
-
left: L ?
|
|
1430
|
+
left: L ? ne : be,
|
|
1431
1431
|
top: L ? 48 : C - 180,
|
|
1432
|
-
transform: `translate(-50%, -50%) scale(${L ? 1.2 :
|
|
1432
|
+
transform: `translate(-50%, -50%) scale(${L ? 1.2 : te * 1.5})`,
|
|
1433
1433
|
opacity: 1,
|
|
1434
1434
|
pointerEvents: "none",
|
|
1435
1435
|
zIndex: 100,
|
|
1436
|
-
transition:
|
|
1436
|
+
transition: Se,
|
|
1437
1437
|
fontSize: 36,
|
|
1438
1438
|
fontWeight: 700,
|
|
1439
1439
|
letterSpacing: "0.18em",
|
|
@@ -1453,23 +1453,23 @@ function vt({
|
|
|
1453
1453
|
style: {
|
|
1454
1454
|
position: "absolute",
|
|
1455
1455
|
top: 0,
|
|
1456
|
-
left: L ?
|
|
1456
|
+
left: L ? ue : 0,
|
|
1457
1457
|
width: 660,
|
|
1458
1458
|
height: 640,
|
|
1459
1459
|
pointerEvents: "none",
|
|
1460
1460
|
zIndex: 0,
|
|
1461
|
-
transition:
|
|
1461
|
+
transition: Se
|
|
1462
1462
|
},
|
|
1463
|
-
children: o.map((
|
|
1463
|
+
children: o.map((ie, Wt) => /* @__PURE__ */ e(
|
|
1464
1464
|
Vt,
|
|
1465
1465
|
{
|
|
1466
|
-
x1:
|
|
1467
|
-
y1:
|
|
1468
|
-
x2:
|
|
1469
|
-
y2:
|
|
1470
|
-
show:
|
|
1471
|
-
color:
|
|
1472
|
-
dur:
|
|
1466
|
+
x1: ie.from[0],
|
|
1467
|
+
y1: ie.from[1],
|
|
1468
|
+
x2: ie.to[0],
|
|
1469
|
+
y2: ie.to[1],
|
|
1470
|
+
show: j && B >= (ie.visibleAtPhase ?? 0),
|
|
1471
|
+
color: ie.color,
|
|
1472
|
+
dur: ie.duration
|
|
1473
1473
|
},
|
|
1474
1474
|
Wt
|
|
1475
1475
|
))
|
|
@@ -1480,10 +1480,10 @@ function vt({
|
|
|
1480
1480
|
{
|
|
1481
1481
|
style: {
|
|
1482
1482
|
position: "absolute",
|
|
1483
|
-
left: L ?
|
|
1483
|
+
left: L ? ne : be,
|
|
1484
1484
|
top: L ? 570 : C + 70,
|
|
1485
|
-
transform: `translate(-50%, -50%) scaleX(${L ? 1 : 0.4}) scaleY(${L ? 1 : 0.6}) scale(${L ? 1 :
|
|
1486
|
-
transition:
|
|
1485
|
+
transform: `translate(-50%, -50%) scaleX(${L ? 1 : 0.4}) scaleY(${L ? 1 : 0.6}) scale(${L ? 1 : te})`,
|
|
1486
|
+
transition: Se,
|
|
1487
1487
|
zIndex: 1
|
|
1488
1488
|
},
|
|
1489
1489
|
children: /* @__PURE__ */ e(jt, { size: Ot, color: Lt, widthRatio: Dt, children: /* @__PURE__ */ e("div", { className: "base-hotspot" }) })
|
|
@@ -1506,7 +1506,7 @@ function W({
|
|
|
1506
1506
|
align: u = "right",
|
|
1507
1507
|
internalRef: c
|
|
1508
1508
|
}) {
|
|
1509
|
-
const p =
|
|
1509
|
+
const p = de(ve), f = p?.expandedOffsetX ?? 0;
|
|
1510
1510
|
if (o === "online") return null;
|
|
1511
1511
|
const g = l && !!p?.isExpandedPos, h = E[o]?.color ?? E.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;
|
|
1512
1512
|
let b = "";
|
|
@@ -1712,7 +1712,7 @@ function T({
|
|
|
1712
1712
|
bare: g = !1,
|
|
1713
1713
|
alert: h
|
|
1714
1714
|
}) {
|
|
1715
|
-
const y =
|
|
1715
|
+
const y = de(ve);
|
|
1716
1716
|
if (!y)
|
|
1717
1717
|
throw new Error("ServiceNode must be used inside a <Service> component.");
|
|
1718
1718
|
const {
|
|
@@ -1726,10 +1726,10 @@ function T({
|
|
|
1726
1726
|
onComponentClick: $,
|
|
1727
1727
|
selectedComponentName: S,
|
|
1728
1728
|
expandedOffsetX: N
|
|
1729
|
-
} = y, z = p === 0 || y.isSelected && v >= p ? 1 : 0,
|
|
1729
|
+
} = y, z = p === 0 || y.isSelected && v >= p ? 1 : 0, H = x + o.x, ce = w + o.y, pe = m ? t + N : H, I = m ? n : ce, Y = f !== void 0 ? f : y.isCompact ? b : k, fe = !!c && !!S && c.name === S, { effectiveSeverity: V, callout: _ } = Fe(
|
|
1730
1730
|
() => Jt(c, h),
|
|
1731
1731
|
[c, h]
|
|
1732
|
-
),
|
|
1732
|
+
), j = V !== "online" ? E[V]?.color ?? a : a, L = V === "offline" ? "#4a6a8a" : j, G = c && m && $ ? () => $({
|
|
1733
1733
|
type: c.type,
|
|
1734
1734
|
name: c.name,
|
|
1735
1735
|
status: c.status,
|
|
@@ -1739,22 +1739,27 @@ function T({
|
|
|
1739
1739
|
dialogMetrics: c.dialogMetrics,
|
|
1740
1740
|
subComponents: c.subComponents,
|
|
1741
1741
|
graphSeries: c.graphSeries
|
|
1742
|
-
}) : void 0,
|
|
1743
|
-
|
|
1742
|
+
}) : void 0, ue = c?.name ?? s ?? "", ne = c?.status ?? "online", ee = V !== "online" && V !== ne, we = Fe(() => ee ? F.Children.map(
|
|
1743
|
+
r,
|
|
1744
|
+
(he) => F.isValidElement(he) ? F.cloneElement(he, {
|
|
1745
|
+
status: V
|
|
1746
|
+
}) : he
|
|
1747
|
+
) : r, [r, ee, V]);
|
|
1748
|
+
return /* @__PURE__ */ d(Le, { children: [
|
|
1744
1749
|
/* @__PURE__ */ e(
|
|
1745
1750
|
"div",
|
|
1746
1751
|
{
|
|
1747
1752
|
style: {
|
|
1748
1753
|
position: "absolute",
|
|
1749
|
-
left:
|
|
1754
|
+
left: pe,
|
|
1750
1755
|
top: I,
|
|
1751
|
-
transform: `translate(-50%, -50%) scale(${
|
|
1756
|
+
transform: `translate(-50%, -50%) scale(${Y})`,
|
|
1752
1757
|
opacity: z,
|
|
1753
1758
|
zIndex: i,
|
|
1754
1759
|
transition: A || "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)",
|
|
1755
1760
|
pointerEvents: m && z >= 0.5 ? "auto" : "none"
|
|
1756
1761
|
},
|
|
1757
|
-
children: g ?
|
|
1762
|
+
children: g ? we : /* @__PURE__ */ e(
|
|
1758
1763
|
ei,
|
|
1759
1764
|
{
|
|
1760
1765
|
statusColor: L,
|
|
@@ -1763,25 +1768,25 @@ function T({
|
|
|
1763
1768
|
delay: u,
|
|
1764
1769
|
showLabels: m,
|
|
1765
1770
|
isCompact: y.isCompact,
|
|
1766
|
-
onClick:
|
|
1767
|
-
isSelected:
|
|
1768
|
-
children:
|
|
1771
|
+
onClick: G,
|
|
1772
|
+
isSelected: fe,
|
|
1773
|
+
children: we
|
|
1769
1774
|
}
|
|
1770
1775
|
)
|
|
1771
1776
|
}
|
|
1772
1777
|
),
|
|
1773
|
-
|
|
1778
|
+
_ && /* @__PURE__ */ e(
|
|
1774
1779
|
W,
|
|
1775
1780
|
{
|
|
1776
1781
|
ex: t,
|
|
1777
1782
|
ey: n,
|
|
1778
|
-
status:
|
|
1779
|
-
title:
|
|
1780
|
-
msg:
|
|
1781
|
-
offsetX:
|
|
1782
|
-
offsetY:
|
|
1783
|
-
align:
|
|
1784
|
-
internalRef:
|
|
1783
|
+
status: _.severity,
|
|
1784
|
+
title: ue,
|
|
1785
|
+
msg: _.msg,
|
|
1786
|
+
offsetX: _.offsetX ?? 110,
|
|
1787
|
+
offsetY: _.offsetY ?? -30,
|
|
1788
|
+
align: _.align ?? "right",
|
|
1789
|
+
internalRef: _.internalRef,
|
|
1785
1790
|
isVisible: !0
|
|
1786
1791
|
}
|
|
1787
1792
|
)
|
|
@@ -1827,7 +1832,7 @@ function ei({
|
|
|
1827
1832
|
}
|
|
1828
1833
|
}
|
|
1829
1834
|
),
|
|
1830
|
-
/* @__PURE__ */ e("div", { style: s ? { background: "#040c1a", borderRadius: 2 } : void 0, children: s &&
|
|
1835
|
+
/* @__PURE__ */ e("div", { style: s ? { background: "#040c1a", borderRadius: 2 } : void 0, children: s && F.isValidElement(t) ? F.cloneElement(t, {
|
|
1831
1836
|
_compact: !0
|
|
1832
1837
|
}) : t })
|
|
1833
1838
|
] }),
|
|
@@ -1883,7 +1888,7 @@ function $t({ synced: t, latencyMs: n }) {
|
|
|
1883
1888
|
] })
|
|
1884
1889
|
] });
|
|
1885
1890
|
}
|
|
1886
|
-
const
|
|
1891
|
+
const re = 140, q = 240, se = 160, $e = et(re, q, se);
|
|
1887
1892
|
function ti({
|
|
1888
1893
|
cfg: t,
|
|
1889
1894
|
name: n,
|
|
@@ -1903,9 +1908,9 @@ function ti({
|
|
|
1903
1908
|
"div",
|
|
1904
1909
|
{
|
|
1905
1910
|
style: {
|
|
1906
|
-
width:
|
|
1907
|
-
height:
|
|
1908
|
-
background: a ?
|
|
1911
|
+
width: re,
|
|
1912
|
+
height: q,
|
|
1913
|
+
background: a ? Ne : Je,
|
|
1909
1914
|
position: "relative",
|
|
1910
1915
|
overflow: "hidden",
|
|
1911
1916
|
fontFamily: "'Courier New', monospace",
|
|
@@ -2301,8 +2306,8 @@ function ii() {
|
|
|
2301
2306
|
"div",
|
|
2302
2307
|
{
|
|
2303
2308
|
style: {
|
|
2304
|
-
width:
|
|
2305
|
-
height:
|
|
2309
|
+
width: re,
|
|
2310
|
+
height: q,
|
|
2306
2311
|
background: "linear-gradient(180deg, #040c1a 0%, #030810 100%)",
|
|
2307
2312
|
position: "relative",
|
|
2308
2313
|
overflow: "hidden",
|
|
@@ -2420,8 +2425,8 @@ function ht({
|
|
|
2420
2425
|
"div",
|
|
2421
2426
|
{
|
|
2422
2427
|
style: {
|
|
2423
|
-
width:
|
|
2424
|
-
height:
|
|
2428
|
+
width: se,
|
|
2429
|
+
height: q,
|
|
2425
2430
|
background: i ? "linear-gradient(90deg, #040c1c 0%, #071428 60%, #040c1c 100%)" : "linear-gradient(90deg, #040c1c 0%, #071428 40%, #040c1c 100%)",
|
|
2426
2431
|
position: "relative",
|
|
2427
2432
|
overflow: "hidden"
|
|
@@ -2440,13 +2445,13 @@ function ht({
|
|
|
2440
2445
|
}
|
|
2441
2446
|
}
|
|
2442
2447
|
),
|
|
2443
|
-
[8,
|
|
2448
|
+
[8, q - 20].map((r) => /* @__PURE__ */ e(
|
|
2444
2449
|
"div",
|
|
2445
2450
|
{
|
|
2446
2451
|
style: {
|
|
2447
2452
|
position: "absolute",
|
|
2448
2453
|
top: r,
|
|
2449
|
-
left: i ? 10 :
|
|
2454
|
+
left: i ? 10 : se - 18,
|
|
2450
2455
|
width: 8,
|
|
2451
2456
|
height: 8,
|
|
2452
2457
|
borderRadius: 1,
|
|
@@ -2462,8 +2467,8 @@ function ht({
|
|
|
2462
2467
|
{
|
|
2463
2468
|
style: {
|
|
2464
2469
|
position: "absolute",
|
|
2465
|
-
top:
|
|
2466
|
-
bottom:
|
|
2470
|
+
top: q * 0.35,
|
|
2471
|
+
bottom: q * 0.15,
|
|
2467
2472
|
left: i ? 22 : 18,
|
|
2468
2473
|
right: i ? 18 : 22,
|
|
2469
2474
|
display: "flex",
|
|
@@ -2491,8 +2496,8 @@ function ht({
|
|
|
2491
2496
|
{
|
|
2492
2497
|
style: {
|
|
2493
2498
|
position: "absolute",
|
|
2494
|
-
top:
|
|
2495
|
-
left: i ? 12 :
|
|
2499
|
+
top: q * 0.18,
|
|
2500
|
+
left: i ? 12 : se - 78,
|
|
2496
2501
|
fontSize: 7,
|
|
2497
2502
|
color: "#1a3050",
|
|
2498
2503
|
letterSpacing: "0.2em",
|
|
@@ -2511,13 +2516,13 @@ function ht({
|
|
|
2511
2516
|
);
|
|
2512
2517
|
}
|
|
2513
2518
|
function ni({ cpuLoad: t }) {
|
|
2514
|
-
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((
|
|
2519
|
+
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((se - 18) / 7);
|
|
2515
2520
|
return /* @__PURE__ */ d(
|
|
2516
2521
|
"div",
|
|
2517
2522
|
{
|
|
2518
2523
|
style: {
|
|
2519
|
-
width:
|
|
2520
|
-
height:
|
|
2524
|
+
width: re,
|
|
2525
|
+
height: se,
|
|
2521
2526
|
background: "linear-gradient(180deg, #0c1c30 0%, #070f1e 40%, #040c1a 100%)",
|
|
2522
2527
|
position: "relative",
|
|
2523
2528
|
overflow: "hidden"
|
|
@@ -2531,7 +2536,7 @@ function ni({ cpuLoad: t }) {
|
|
|
2531
2536
|
top: 0,
|
|
2532
2537
|
left: 0,
|
|
2533
2538
|
right: 0,
|
|
2534
|
-
height:
|
|
2539
|
+
height: se * 0.4,
|
|
2535
2540
|
background: `radial-gradient(ellipse at 50% 0%, ${o} 0%, transparent 70%)`
|
|
2536
2541
|
}
|
|
2537
2542
|
}
|
|
@@ -2590,7 +2595,7 @@ function ni({ cpuLoad: t }) {
|
|
|
2590
2595
|
}
|
|
2591
2596
|
);
|
|
2592
2597
|
}
|
|
2593
|
-
function
|
|
2598
|
+
function xe({
|
|
2594
2599
|
rotateX: t = -22,
|
|
2595
2600
|
rotateY: n = 20,
|
|
2596
2601
|
rotateZ: o = 0,
|
|
@@ -2603,8 +2608,8 @@ function ge({
|
|
|
2603
2608
|
brandLabel: c = "BUSAUD",
|
|
2604
2609
|
_compact: p
|
|
2605
2610
|
}) {
|
|
2606
|
-
const [f, g] = R(n), h =
|
|
2607
|
-
|
|
2611
|
+
const [f, g] = R(n), h = J(0), y = J(0);
|
|
2612
|
+
De(() => {
|
|
2608
2613
|
if (!r) {
|
|
2609
2614
|
g(n);
|
|
2610
2615
|
return;
|
|
@@ -2621,8 +2626,8 @@ function ge({
|
|
|
2621
2626
|
"div",
|
|
2622
2627
|
{
|
|
2623
2628
|
style: {
|
|
2624
|
-
width:
|
|
2625
|
-
height:
|
|
2629
|
+
width: re * i,
|
|
2630
|
+
height: q * i,
|
|
2626
2631
|
position: "relative",
|
|
2627
2632
|
display: "flex",
|
|
2628
2633
|
alignItems: "center",
|
|
@@ -2674,8 +2679,8 @@ function ge({
|
|
|
2674
2679
|
{
|
|
2675
2680
|
style: {
|
|
2676
2681
|
position: "absolute",
|
|
2677
|
-
width:
|
|
2678
|
-
height:
|
|
2682
|
+
width: re * 1.4 * i,
|
|
2683
|
+
height: q * 0.8 * i,
|
|
2679
2684
|
background: `radial-gradient(ellipse, ${m.glow} 0%, transparent 65%)`,
|
|
2680
2685
|
filter: `blur(${Math.round(45 * i)}px)`,
|
|
2681
2686
|
pointerEvents: "none",
|
|
@@ -2698,15 +2703,15 @@ function ge({
|
|
|
2698
2703
|
"div",
|
|
2699
2704
|
{
|
|
2700
2705
|
style: {
|
|
2701
|
-
width:
|
|
2702
|
-
height:
|
|
2706
|
+
width: re,
|
|
2707
|
+
height: q,
|
|
2703
2708
|
position: "relative",
|
|
2704
2709
|
transformStyle: "preserve-3d",
|
|
2705
2710
|
transform: `rotateX(${t}deg) rotateY(${f}deg) rotateZ(${o}deg)`,
|
|
2706
2711
|
transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
|
|
2707
2712
|
},
|
|
2708
2713
|
children: [
|
|
2709
|
-
/* @__PURE__ */ e("div", { style:
|
|
2714
|
+
/* @__PURE__ */ e("div", { style: $e.front, children: /* @__PURE__ */ e(
|
|
2710
2715
|
ti,
|
|
2711
2716
|
{
|
|
2712
2717
|
cfg: m,
|
|
@@ -2718,16 +2723,16 @@ function ge({
|
|
|
2718
2723
|
brandLabel: c
|
|
2719
2724
|
}
|
|
2720
2725
|
) }),
|
|
2721
|
-
/* @__PURE__ */ e("div", { style:
|
|
2722
|
-
/* @__PURE__ */ e("div", { style:
|
|
2723
|
-
/* @__PURE__ */ e("div", { style:
|
|
2724
|
-
/* @__PURE__ */ e("div", { style:
|
|
2725
|
-
/* @__PURE__ */ e("div", { style:
|
|
2726
|
+
/* @__PURE__ */ e("div", { style: $e.back, children: /* @__PURE__ */ e(ii, {}) }),
|
|
2727
|
+
/* @__PURE__ */ e("div", { style: $e.left, children: /* @__PURE__ */ e(ht, { side: "left", color: m.color, brandLabel: c }) }),
|
|
2728
|
+
/* @__PURE__ */ e("div", { style: $e.right, children: /* @__PURE__ */ e(ht, { side: "right", color: m.color, brandLabel: c }) }),
|
|
2729
|
+
/* @__PURE__ */ e("div", { style: $e.top, children: /* @__PURE__ */ e(ni, { cpuLoad: l }) }),
|
|
2730
|
+
/* @__PURE__ */ e("div", { style: $e.bottom, children: /* @__PURE__ */ e(
|
|
2726
2731
|
"div",
|
|
2727
2732
|
{
|
|
2728
2733
|
style: {
|
|
2729
|
-
width:
|
|
2730
|
-
height:
|
|
2734
|
+
width: re,
|
|
2735
|
+
height: se,
|
|
2731
2736
|
background: "linear-gradient(180deg, #030710, #020508)"
|
|
2732
2737
|
}
|
|
2733
2738
|
}
|
|
@@ -2782,12 +2787,12 @@ function zi({
|
|
|
2782
2787
|
graphSeries: m
|
|
2783
2788
|
},
|
|
2784
2789
|
alert: v,
|
|
2785
|
-
children: /* @__PURE__ */ e(
|
|
2790
|
+
children: /* @__PURE__ */ e(xe, { status: a, cpuLoad: p, memLoad: f, brandLabel: g })
|
|
2786
2791
|
}
|
|
2787
2792
|
);
|
|
2788
2793
|
}
|
|
2789
|
-
const
|
|
2790
|
-
function
|
|
2794
|
+
const Ze = 12, me = 55, Z = me * 2, Ce = 52, nt = 10, Xe = 3 * Ce + 2 * nt, ke = 2 * Math.PI * me / Ze, qe = Array.from({ length: Ze }, (t, n) => n / Ze * 360);
|
|
2795
|
+
function Qe(t) {
|
|
2791
2796
|
return Math.cos(t * Math.PI / 180) * 0.42 + 0.58;
|
|
2792
2797
|
}
|
|
2793
2798
|
function oi({
|
|
@@ -2798,25 +2803,25 @@ function oi({
|
|
|
2798
2803
|
capacity: r,
|
|
2799
2804
|
compact: a
|
|
2800
2805
|
}) {
|
|
2801
|
-
return /* @__PURE__ */ d(
|
|
2802
|
-
|
|
2803
|
-
const u =
|
|
2806
|
+
return /* @__PURE__ */ d(Le, { children: [
|
|
2807
|
+
qe.map((s, l) => {
|
|
2808
|
+
const u = Qe(s), c = l === 0, p = Math.round(4 + u * 9), f = Math.round(12 + u * 22), g = Math.round(28 + u * 44), h = Math.round(u * 0.55 * 255).toString(16).padStart(2, "0");
|
|
2804
2809
|
return /* @__PURE__ */ e(
|
|
2805
2810
|
"div",
|
|
2806
2811
|
{
|
|
2807
2812
|
style: {
|
|
2808
2813
|
position: "absolute",
|
|
2809
|
-
width:
|
|
2810
|
-
height:
|
|
2811
|
-
left: (
|
|
2814
|
+
width: ke,
|
|
2815
|
+
height: Ce,
|
|
2816
|
+
left: (Z - ke) / 2,
|
|
2812
2817
|
top: t,
|
|
2813
|
-
transform: `rotateY(${s}deg) translateZ(${
|
|
2818
|
+
transform: `rotateY(${s}deg) translateZ(${me}px)`,
|
|
2814
2819
|
backfaceVisibility: "hidden",
|
|
2815
2820
|
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})`,
|
|
2816
2821
|
borderLeft: `1px solid ${o.color}${h}`,
|
|
2817
2822
|
boxShadow: c ? `inset 0 0 18px ${o.color}28` : "none"
|
|
2818
2823
|
},
|
|
2819
|
-
children: c && /* @__PURE__ */ d(
|
|
2824
|
+
children: c && /* @__PURE__ */ d(Le, { children: [
|
|
2820
2825
|
/* @__PURE__ */ e(
|
|
2821
2826
|
"div",
|
|
2822
2827
|
{
|
|
@@ -2869,10 +2874,10 @@ function oi({
|
|
|
2869
2874
|
{
|
|
2870
2875
|
style: {
|
|
2871
2876
|
position: "absolute",
|
|
2872
|
-
width:
|
|
2873
|
-
height:
|
|
2877
|
+
width: Z + 4,
|
|
2878
|
+
height: Z + 4,
|
|
2874
2879
|
left: -2,
|
|
2875
|
-
top: t -
|
|
2880
|
+
top: t - me,
|
|
2876
2881
|
borderRadius: "50%",
|
|
2877
2882
|
transform: "rotateX(90deg)",
|
|
2878
2883
|
backfaceVisibility: "hidden",
|
|
@@ -2930,10 +2935,10 @@ function oi({
|
|
|
2930
2935
|
{
|
|
2931
2936
|
style: {
|
|
2932
2937
|
position: "absolute",
|
|
2933
|
-
width:
|
|
2934
|
-
height:
|
|
2938
|
+
width: Z + 4,
|
|
2939
|
+
height: Z + 4,
|
|
2935
2940
|
left: -2,
|
|
2936
|
-
top: t +
|
|
2941
|
+
top: t + Ce - me,
|
|
2937
2942
|
borderRadius: "50%",
|
|
2938
2943
|
transform: "rotateX(-90deg)",
|
|
2939
2944
|
backfaceVisibility: "hidden",
|
|
@@ -2957,18 +2962,18 @@ function oi({
|
|
|
2957
2962
|
)
|
|
2958
2963
|
}
|
|
2959
2964
|
),
|
|
2960
|
-
i &&
|
|
2961
|
-
const u =
|
|
2965
|
+
i && qe.map((s, l) => {
|
|
2966
|
+
const u = Qe(s);
|
|
2962
2967
|
return /* @__PURE__ */ e(
|
|
2963
2968
|
"div",
|
|
2964
2969
|
{
|
|
2965
2970
|
style: {
|
|
2966
2971
|
position: "absolute",
|
|
2967
|
-
width:
|
|
2972
|
+
width: ke + 1.5,
|
|
2968
2973
|
height: 6,
|
|
2969
|
-
left: (
|
|
2970
|
-
top: t +
|
|
2971
|
-
transform: `rotateY(${s}deg) translateZ(${
|
|
2974
|
+
left: (Z - ke - 1.5) / 2,
|
|
2975
|
+
top: t + Ce - 3,
|
|
2976
|
+
transform: `rotateY(${s}deg) translateZ(${me + 1.5}px)`,
|
|
2972
2977
|
backfaceVisibility: "hidden",
|
|
2973
2978
|
background: o.color,
|
|
2974
2979
|
boxShadow: `0 0 8px ${o.color}, 0 0 18px ${o.color}aa, 0 0 30px ${o.glow}`,
|
|
@@ -2978,18 +2983,18 @@ function oi({
|
|
|
2978
2983
|
`rng${n}${l}`
|
|
2979
2984
|
);
|
|
2980
2985
|
}),
|
|
2981
|
-
i &&
|
|
2982
|
-
const u =
|
|
2986
|
+
i && qe.map((s, l) => {
|
|
2987
|
+
const u = Qe(s), c = Math.round(2 + u * 4), p = Math.round(5 + u * 10), f = Math.round(12 + u * 20);
|
|
2983
2988
|
return /* @__PURE__ */ e(
|
|
2984
2989
|
"div",
|
|
2985
2990
|
{
|
|
2986
2991
|
style: {
|
|
2987
2992
|
position: "absolute",
|
|
2988
|
-
width:
|
|
2993
|
+
width: ke,
|
|
2989
2994
|
height: nt,
|
|
2990
|
-
left: (
|
|
2991
|
-
top: t +
|
|
2992
|
-
transform: `rotateY(${s}deg) translateZ(${
|
|
2995
|
+
left: (Z - ke) / 2,
|
|
2996
|
+
top: t + Ce,
|
|
2997
|
+
transform: `rotateY(${s}deg) translateZ(${me}px)`,
|
|
2993
2998
|
backfaceVisibility: "hidden",
|
|
2994
2999
|
background: `rgb(${c},${p},${f})`
|
|
2995
3000
|
}
|
|
@@ -2999,7 +3004,7 @@ function oi({
|
|
|
2999
3004
|
})
|
|
3000
3005
|
] });
|
|
3001
3006
|
}
|
|
3002
|
-
function
|
|
3007
|
+
function Me({
|
|
3003
3008
|
rotateX: t = -22,
|
|
3004
3009
|
rotateY: n = -15,
|
|
3005
3010
|
rotateZ: o = 0,
|
|
@@ -3011,8 +3016,8 @@ function Ne({
|
|
|
3011
3016
|
// connections = 284,
|
|
3012
3017
|
_compact: l
|
|
3013
3018
|
}) {
|
|
3014
|
-
const [u, c] = R(n), p =
|
|
3015
|
-
|
|
3019
|
+
const [u, c] = R(n), p = J(0), f = J(0);
|
|
3020
|
+
De(() => {
|
|
3016
3021
|
if (!r) {
|
|
3017
3022
|
c(n);
|
|
3018
3023
|
return;
|
|
@@ -3029,8 +3034,8 @@ function Ne({
|
|
|
3029
3034
|
"div",
|
|
3030
3035
|
{
|
|
3031
3036
|
style: {
|
|
3032
|
-
width:
|
|
3033
|
-
height:
|
|
3037
|
+
width: Z * i,
|
|
3038
|
+
height: Xe * i,
|
|
3034
3039
|
position: "relative",
|
|
3035
3040
|
display: "flex",
|
|
3036
3041
|
alignItems: "center",
|
|
@@ -3090,8 +3095,8 @@ function Ne({
|
|
|
3090
3095
|
{
|
|
3091
3096
|
style: {
|
|
3092
3097
|
position: "absolute",
|
|
3093
|
-
width:
|
|
3094
|
-
height:
|
|
3098
|
+
width: Z * 2.8 * i,
|
|
3099
|
+
height: Xe * 0.85 * i,
|
|
3095
3100
|
background: `radial-gradient(ellipse, ${g.glow} 0%, transparent 65%)`,
|
|
3096
3101
|
filter: `blur(${Math.round(50 * i)}px)`,
|
|
3097
3102
|
pointerEvents: "none",
|
|
@@ -3114,8 +3119,8 @@ function Ne({
|
|
|
3114
3119
|
"div",
|
|
3115
3120
|
{
|
|
3116
3121
|
style: {
|
|
3117
|
-
width:
|
|
3118
|
-
height:
|
|
3122
|
+
width: Z,
|
|
3123
|
+
height: Xe,
|
|
3119
3124
|
position: "relative",
|
|
3120
3125
|
transformStyle: "preserve-3d",
|
|
3121
3126
|
transform: `rotateX(${t}deg) rotateY(${u}deg) rotateZ(${o}deg)`,
|
|
@@ -3124,7 +3129,7 @@ function Ne({
|
|
|
3124
3129
|
children: [0, 1, 2].map((h) => /* @__PURE__ */ e(
|
|
3125
3130
|
oi,
|
|
3126
3131
|
{
|
|
3127
|
-
diskY: h * (
|
|
3132
|
+
diskY: h * (Ce + nt),
|
|
3128
3133
|
diskIdx: h,
|
|
3129
3134
|
cfg: g,
|
|
3130
3135
|
hasRingBelow: h < 2,
|
|
@@ -3180,7 +3185,7 @@ function Bi({
|
|
|
3180
3185
|
graphSeries: h
|
|
3181
3186
|
},
|
|
3182
3187
|
alert: y,
|
|
3183
|
-
children: /* @__PURE__ */ e(
|
|
3188
|
+
children: /* @__PURE__ */ e(Me, { status: a, capacity: p })
|
|
3184
3189
|
}
|
|
3185
3190
|
);
|
|
3186
3191
|
}
|
|
@@ -3319,7 +3324,7 @@ function Fi({
|
|
|
3319
3324
|
}
|
|
3320
3325
|
);
|
|
3321
3326
|
}
|
|
3322
|
-
const
|
|
3327
|
+
const ae = 190, Q = 72, Pe = 120, Re = et(ae, Q, Pe);
|
|
3323
3328
|
function ri({
|
|
3324
3329
|
cfg: t,
|
|
3325
3330
|
name: n,
|
|
@@ -3332,9 +3337,9 @@ function ri({
|
|
|
3332
3337
|
"div",
|
|
3333
3338
|
{
|
|
3334
3339
|
style: {
|
|
3335
|
-
width:
|
|
3336
|
-
height:
|
|
3337
|
-
background: r ?
|
|
3340
|
+
width: ae,
|
|
3341
|
+
height: Q,
|
|
3342
|
+
background: r ? Ne : Je,
|
|
3338
3343
|
position: "relative",
|
|
3339
3344
|
overflow: "hidden",
|
|
3340
3345
|
fontFamily: "'Courier New', monospace",
|
|
@@ -3587,8 +3592,8 @@ function ai() {
|
|
|
3587
3592
|
"div",
|
|
3588
3593
|
{
|
|
3589
3594
|
style: {
|
|
3590
|
-
width:
|
|
3591
|
-
height:
|
|
3595
|
+
width: ae,
|
|
3596
|
+
height: Q,
|
|
3592
3597
|
background: "linear-gradient(180deg, #040c1a, #030810)",
|
|
3593
3598
|
position: "relative",
|
|
3594
3599
|
overflow: "hidden",
|
|
@@ -3603,7 +3608,7 @@ function ai() {
|
|
|
3603
3608
|
{
|
|
3604
3609
|
style: {
|
|
3605
3610
|
width: 40,
|
|
3606
|
-
height:
|
|
3611
|
+
height: Q - 16,
|
|
3607
3612
|
background: "#020710",
|
|
3608
3613
|
border: "1px solid #1a2d40",
|
|
3609
3614
|
borderRadius: 2,
|
|
@@ -3659,7 +3664,7 @@ function ai() {
|
|
|
3659
3664
|
style: {
|
|
3660
3665
|
marginLeft: "auto",
|
|
3661
3666
|
width: 12,
|
|
3662
|
-
height:
|
|
3667
|
+
height: Q - 16,
|
|
3663
3668
|
background: "#020710",
|
|
3664
3669
|
border: "1px solid #1a3050",
|
|
3665
3670
|
borderRadius: 1
|
|
@@ -3675,8 +3680,8 @@ function bt({ side: t, color: n }) {
|
|
|
3675
3680
|
"div",
|
|
3676
3681
|
{
|
|
3677
3682
|
style: {
|
|
3678
|
-
width:
|
|
3679
|
-
height:
|
|
3683
|
+
width: Pe,
|
|
3684
|
+
height: Q,
|
|
3680
3685
|
background: t === "right" ? "linear-gradient(90deg, #04091a 0%, #071428 60%, #040c1c 100%)" : "linear-gradient(90deg, #040c1c 0%, #071428 40%, #04091a 100%)",
|
|
3681
3686
|
position: "relative",
|
|
3682
3687
|
overflow: "hidden"
|
|
@@ -3700,8 +3705,8 @@ function bt({ side: t, color: n }) {
|
|
|
3700
3705
|
{
|
|
3701
3706
|
style: {
|
|
3702
3707
|
position: "absolute",
|
|
3703
|
-
top:
|
|
3704
|
-
bottom:
|
|
3708
|
+
top: Q * 0.25,
|
|
3709
|
+
bottom: Q * 0.25,
|
|
3705
3710
|
left: 14,
|
|
3706
3711
|
right: 14,
|
|
3707
3712
|
display: "flex",
|
|
@@ -3728,13 +3733,13 @@ function bt({ side: t, color: n }) {
|
|
|
3728
3733
|
);
|
|
3729
3734
|
}
|
|
3730
3735
|
function li({ traffic: t }) {
|
|
3731
|
-
const n = Math.floor((
|
|
3736
|
+
const n = Math.floor((Pe - 14) / 7);
|
|
3732
3737
|
return /* @__PURE__ */ d(
|
|
3733
3738
|
"div",
|
|
3734
3739
|
{
|
|
3735
3740
|
style: {
|
|
3736
|
-
width:
|
|
3737
|
-
height:
|
|
3741
|
+
width: ae,
|
|
3742
|
+
height: Pe,
|
|
3738
3743
|
background: "linear-gradient(180deg, #0c1c30 0%, #07101e 40%, #040c1a 100%)",
|
|
3739
3744
|
position: "relative",
|
|
3740
3745
|
overflow: "hidden"
|
|
@@ -3748,7 +3753,7 @@ function li({ traffic: t }) {
|
|
|
3748
3753
|
top: 0,
|
|
3749
3754
|
left: 0,
|
|
3750
3755
|
right: 0,
|
|
3751
|
-
height:
|
|
3756
|
+
height: Pe * 0.35,
|
|
3752
3757
|
background: `radial-gradient(ellipse at 50% 0%,
|
|
3753
3758
|
${t > 70 ? "rgba(255,34,85,0.14)" : "rgba(0,229,255,0.08)"} 0%,
|
|
3754
3759
|
transparent 70%)`
|
|
@@ -3798,8 +3803,8 @@ function rt({
|
|
|
3798
3803
|
activeRoutes: u = 12,
|
|
3799
3804
|
_compact: c
|
|
3800
3805
|
}) {
|
|
3801
|
-
const [p, f] = R(n), g =
|
|
3802
|
-
|
|
3806
|
+
const [p, f] = R(n), g = J(0), h = J(0);
|
|
3807
|
+
De(() => {
|
|
3803
3808
|
if (!r) {
|
|
3804
3809
|
f(n);
|
|
3805
3810
|
return;
|
|
@@ -3816,8 +3821,8 @@ function rt({
|
|
|
3816
3821
|
"div",
|
|
3817
3822
|
{
|
|
3818
3823
|
style: {
|
|
3819
|
-
width:
|
|
3820
|
-
height:
|
|
3824
|
+
width: ae * i,
|
|
3825
|
+
height: Q * i,
|
|
3821
3826
|
position: "relative",
|
|
3822
3827
|
display: "flex",
|
|
3823
3828
|
alignItems: "center",
|
|
@@ -3877,8 +3882,8 @@ function rt({
|
|
|
3877
3882
|
{
|
|
3878
3883
|
style: {
|
|
3879
3884
|
position: "absolute",
|
|
3880
|
-
width:
|
|
3881
|
-
height:
|
|
3885
|
+
width: ae * 1.3 * i,
|
|
3886
|
+
height: Q * 2 * i,
|
|
3882
3887
|
background: `radial-gradient(ellipse, ${y.glow} 0%, transparent 65%)`,
|
|
3883
3888
|
filter: `blur(${Math.round(40 * i)}px)`,
|
|
3884
3889
|
pointerEvents: "none",
|
|
@@ -3901,15 +3906,15 @@ function rt({
|
|
|
3901
3906
|
"div",
|
|
3902
3907
|
{
|
|
3903
3908
|
style: {
|
|
3904
|
-
width:
|
|
3905
|
-
height:
|
|
3909
|
+
width: ae,
|
|
3910
|
+
height: Q,
|
|
3906
3911
|
position: "relative",
|
|
3907
3912
|
transformStyle: "preserve-3d",
|
|
3908
3913
|
transform: `rotateX(${t}deg) rotateY(${p}deg) rotateZ(${o}deg)`,
|
|
3909
3914
|
transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
|
|
3910
3915
|
},
|
|
3911
3916
|
children: [
|
|
3912
|
-
/* @__PURE__ */ e("div", { style:
|
|
3917
|
+
/* @__PURE__ */ e("div", { style: Re.front, children: /* @__PURE__ */ e(
|
|
3913
3918
|
ri,
|
|
3914
3919
|
{
|
|
3915
3920
|
cfg: y,
|
|
@@ -3919,11 +3924,11 @@ function rt({
|
|
|
3919
3924
|
compact: c
|
|
3920
3925
|
}
|
|
3921
3926
|
) }),
|
|
3922
|
-
/* @__PURE__ */ e("div", { style:
|
|
3923
|
-
/* @__PURE__ */ e("div", { style:
|
|
3924
|
-
/* @__PURE__ */ e("div", { style:
|
|
3925
|
-
/* @__PURE__ */ e("div", { style:
|
|
3926
|
-
/* @__PURE__ */ e("div", { style:
|
|
3927
|
+
/* @__PURE__ */ e("div", { style: Re.back, children: /* @__PURE__ */ e(ai, {}) }),
|
|
3928
|
+
/* @__PURE__ */ e("div", { style: Re.left, children: /* @__PURE__ */ e(bt, { side: "left", color: y.color }) }),
|
|
3929
|
+
/* @__PURE__ */ e("div", { style: Re.right, children: /* @__PURE__ */ e(bt, { side: "right", color: y.color }) }),
|
|
3930
|
+
/* @__PURE__ */ e("div", { style: Re.top, children: /* @__PURE__ */ e(li, { traffic: l }) }),
|
|
3931
|
+
/* @__PURE__ */ e("div", { style: Re.bottom, children: /* @__PURE__ */ e("div", { style: { width: ae, height: Pe, background: "#020508" } }) })
|
|
3927
3932
|
]
|
|
3928
3933
|
}
|
|
3929
3934
|
)
|
|
@@ -3977,7 +3982,7 @@ function Ui({
|
|
|
3977
3982
|
}
|
|
3978
3983
|
);
|
|
3979
3984
|
}
|
|
3980
|
-
const
|
|
3985
|
+
const le = 190, K = 72, Te = 120, Ee = et(le, K, Te), gt = {
|
|
3981
3986
|
online: { color: "#bb55ff", glow: "rgba(187,85,255,0.50)" },
|
|
3982
3987
|
warning: { color: "#ff8c00", glow: "rgba(255,140,0,0.50)" },
|
|
3983
3988
|
critical: { color: "#ff2255", glow: "rgba(255,34,85,0.50)" },
|
|
@@ -3996,9 +4001,9 @@ function si({
|
|
|
3996
4001
|
"div",
|
|
3997
4002
|
{
|
|
3998
4003
|
style: {
|
|
3999
|
-
width:
|
|
4000
|
-
height:
|
|
4001
|
-
background: a ?
|
|
4004
|
+
width: le,
|
|
4005
|
+
height: K,
|
|
4006
|
+
background: a ? Ne : Je,
|
|
4002
4007
|
position: "relative",
|
|
4003
4008
|
overflow: "hidden",
|
|
4004
4009
|
fontFamily: "'Courier New', monospace",
|
|
@@ -4247,8 +4252,8 @@ function di() {
|
|
|
4247
4252
|
"div",
|
|
4248
4253
|
{
|
|
4249
4254
|
style: {
|
|
4250
|
-
width:
|
|
4251
|
-
height:
|
|
4255
|
+
width: le,
|
|
4256
|
+
height: K,
|
|
4252
4257
|
background: "linear-gradient(180deg, #040c1a, #030810)",
|
|
4253
4258
|
position: "relative",
|
|
4254
4259
|
overflow: "hidden",
|
|
@@ -4263,7 +4268,7 @@ function di() {
|
|
|
4263
4268
|
{
|
|
4264
4269
|
style: {
|
|
4265
4270
|
width: 40,
|
|
4266
|
-
height:
|
|
4271
|
+
height: K - 16,
|
|
4267
4272
|
background: "#020710",
|
|
4268
4273
|
border: "1px solid #1a2d40",
|
|
4269
4274
|
borderRadius: 2,
|
|
@@ -4319,7 +4324,7 @@ function di() {
|
|
|
4319
4324
|
style: {
|
|
4320
4325
|
marginLeft: "auto",
|
|
4321
4326
|
width: 12,
|
|
4322
|
-
height:
|
|
4327
|
+
height: K - 16,
|
|
4323
4328
|
background: "#020710",
|
|
4324
4329
|
border: "1px solid #1a3050",
|
|
4325
4330
|
borderRadius: 1
|
|
@@ -4335,8 +4340,8 @@ function yt({ side: t, color: n }) {
|
|
|
4335
4340
|
"div",
|
|
4336
4341
|
{
|
|
4337
4342
|
style: {
|
|
4338
|
-
width:
|
|
4339
|
-
height:
|
|
4343
|
+
width: Te,
|
|
4344
|
+
height: K,
|
|
4340
4345
|
background: t === "right" ? "linear-gradient(90deg, #04091a 0%, #071428 60%, #040c1c 100%)" : "linear-gradient(90deg, #040c1c 0%, #071428 40%, #04091a 100%)",
|
|
4341
4346
|
position: "relative",
|
|
4342
4347
|
overflow: "hidden"
|
|
@@ -4360,8 +4365,8 @@ function yt({ side: t, color: n }) {
|
|
|
4360
4365
|
{
|
|
4361
4366
|
style: {
|
|
4362
4367
|
position: "absolute",
|
|
4363
|
-
top:
|
|
4364
|
-
bottom:
|
|
4368
|
+
top: K * 0.25,
|
|
4369
|
+
bottom: K * 0.25,
|
|
4365
4370
|
left: 14,
|
|
4366
4371
|
right: 14,
|
|
4367
4372
|
display: "flex",
|
|
@@ -4388,13 +4393,13 @@ function yt({ side: t, color: n }) {
|
|
|
4388
4393
|
);
|
|
4389
4394
|
}
|
|
4390
4395
|
function ci({ queueDepth: t, color: n }) {
|
|
4391
|
-
const o = Math.floor((
|
|
4396
|
+
const o = Math.floor((Te - 14) / 7);
|
|
4392
4397
|
return /* @__PURE__ */ d(
|
|
4393
4398
|
"div",
|
|
4394
4399
|
{
|
|
4395
4400
|
style: {
|
|
4396
|
-
width:
|
|
4397
|
-
height:
|
|
4401
|
+
width: le,
|
|
4402
|
+
height: Te,
|
|
4398
4403
|
background: "linear-gradient(180deg, #0c1c30 0%, #07101e 40%, #040c1a 100%)",
|
|
4399
4404
|
position: "relative",
|
|
4400
4405
|
overflow: "hidden"
|
|
@@ -4408,7 +4413,7 @@ function ci({ queueDepth: t, color: n }) {
|
|
|
4408
4413
|
top: 0,
|
|
4409
4414
|
left: 0,
|
|
4410
4415
|
right: 0,
|
|
4411
|
-
height:
|
|
4416
|
+
height: Te * 0.35,
|
|
4412
4417
|
background: `radial-gradient(ellipse at 50% 0%,
|
|
4413
4418
|
${t > 70 ? "rgba(255,34,85,0.14)" : `${n}15`} 0%,
|
|
4414
4419
|
transparent 70%)`
|
|
@@ -4459,8 +4464,8 @@ function kt({
|
|
|
4459
4464
|
instances: c = 3,
|
|
4460
4465
|
_compact: p
|
|
4461
4466
|
}) {
|
|
4462
|
-
const [f, g] = R(n), h =
|
|
4463
|
-
|
|
4467
|
+
const [f, g] = R(n), h = J(0), y = J(0);
|
|
4468
|
+
De(() => {
|
|
4464
4469
|
if (!r) {
|
|
4465
4470
|
g(n);
|
|
4466
4471
|
return;
|
|
@@ -4477,8 +4482,8 @@ function kt({
|
|
|
4477
4482
|
"div",
|
|
4478
4483
|
{
|
|
4479
4484
|
style: {
|
|
4480
|
-
width:
|
|
4481
|
-
height:
|
|
4485
|
+
width: le * i,
|
|
4486
|
+
height: K * i,
|
|
4482
4487
|
position: "relative",
|
|
4483
4488
|
display: "flex",
|
|
4484
4489
|
alignItems: "center",
|
|
@@ -4538,8 +4543,8 @@ function kt({
|
|
|
4538
4543
|
{
|
|
4539
4544
|
style: {
|
|
4540
4545
|
position: "absolute",
|
|
4541
|
-
width:
|
|
4542
|
-
height:
|
|
4546
|
+
width: le * 1.3 * i,
|
|
4547
|
+
height: K * 2 * i,
|
|
4543
4548
|
background: `radial-gradient(ellipse, ${m.glow} 0%, transparent 65%)`,
|
|
4544
4549
|
filter: `blur(${Math.round(40 * i)}px)`,
|
|
4545
4550
|
pointerEvents: "none",
|
|
@@ -4562,15 +4567,15 @@ function kt({
|
|
|
4562
4567
|
"div",
|
|
4563
4568
|
{
|
|
4564
4569
|
style: {
|
|
4565
|
-
width:
|
|
4566
|
-
height:
|
|
4570
|
+
width: le,
|
|
4571
|
+
height: K,
|
|
4567
4572
|
position: "relative",
|
|
4568
4573
|
transformStyle: "preserve-3d",
|
|
4569
4574
|
transform: `rotateX(${t}deg) rotateY(${f}deg) rotateZ(${o}deg)`,
|
|
4570
4575
|
transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
|
|
4571
4576
|
},
|
|
4572
4577
|
children: [
|
|
4573
|
-
/* @__PURE__ */ e("div", { style:
|
|
4578
|
+
/* @__PURE__ */ e("div", { style: Ee.front, children: /* @__PURE__ */ e(
|
|
4574
4579
|
si,
|
|
4575
4580
|
{
|
|
4576
4581
|
cfg: m,
|
|
@@ -4581,11 +4586,11 @@ function kt({
|
|
|
4581
4586
|
compact: p
|
|
4582
4587
|
}
|
|
4583
4588
|
) }),
|
|
4584
|
-
/* @__PURE__ */ e("div", { style:
|
|
4585
|
-
/* @__PURE__ */ e("div", { style:
|
|
4586
|
-
/* @__PURE__ */ e("div", { style:
|
|
4587
|
-
/* @__PURE__ */ e("div", { style:
|
|
4588
|
-
/* @__PURE__ */ e("div", { style:
|
|
4589
|
+
/* @__PURE__ */ e("div", { style: Ee.back, children: /* @__PURE__ */ e(di, {}) }),
|
|
4590
|
+
/* @__PURE__ */ e("div", { style: Ee.left, children: /* @__PURE__ */ e(yt, { side: "left", color: m.color }) }),
|
|
4591
|
+
/* @__PURE__ */ e("div", { style: Ee.right, children: /* @__PURE__ */ e(yt, { side: "right", color: m.color }) }),
|
|
4592
|
+
/* @__PURE__ */ e("div", { style: Ee.top, children: /* @__PURE__ */ e(ci, { queueDepth: l, color: m.color }) }),
|
|
4593
|
+
/* @__PURE__ */ e("div", { style: Ee.bottom, children: /* @__PURE__ */ e("div", { style: { width: le, height: Te, background: "#020508" } }) })
|
|
4589
4594
|
]
|
|
4590
4595
|
}
|
|
4591
4596
|
)
|
|
@@ -4796,7 +4801,7 @@ function Rt({
|
|
|
4796
4801
|
style: {
|
|
4797
4802
|
width: t,
|
|
4798
4803
|
height: n,
|
|
4799
|
-
background:
|
|
4804
|
+
background: Ne,
|
|
4800
4805
|
position: "relative",
|
|
4801
4806
|
overflow: "hidden",
|
|
4802
4807
|
borderRadius: 2,
|
|
@@ -4873,7 +4878,7 @@ function Rt({
|
|
|
4873
4878
|
}
|
|
4874
4879
|
);
|
|
4875
4880
|
}
|
|
4876
|
-
function
|
|
4881
|
+
function Ue({
|
|
4877
4882
|
color: t = "#00e5ff",
|
|
4878
4883
|
label: n = "CPU-0",
|
|
4879
4884
|
status: o = "online",
|
|
@@ -4886,7 +4891,7 @@ function ze({
|
|
|
4886
4891
|
style: {
|
|
4887
4892
|
width: 52,
|
|
4888
4893
|
height: 36,
|
|
4889
|
-
background:
|
|
4894
|
+
background: Ne,
|
|
4890
4895
|
position: "relative",
|
|
4891
4896
|
borderRadius: 2,
|
|
4892
4897
|
border: `1px solid ${t}55`,
|
|
@@ -4984,7 +4989,7 @@ function ze({
|
|
|
4984
4989
|
)
|
|
4985
4990
|
] });
|
|
4986
4991
|
}
|
|
4987
|
-
function
|
|
4992
|
+
function He({
|
|
4988
4993
|
color: t = "#00e5ff",
|
|
4989
4994
|
label: n = "HEAP-0",
|
|
4990
4995
|
status: o = "online",
|
|
@@ -5081,7 +5086,7 @@ function Be({
|
|
|
5081
5086
|
)
|
|
5082
5087
|
] });
|
|
5083
5088
|
}
|
|
5084
|
-
function
|
|
5089
|
+
function Ae({
|
|
5085
5090
|
color: t = "#00e5ff",
|
|
5086
5091
|
label: n = "DRIVE-1",
|
|
5087
5092
|
status: o = "online",
|
|
@@ -5131,7 +5136,7 @@ function Et({
|
|
|
5131
5136
|
style: {
|
|
5132
5137
|
width: 48,
|
|
5133
5138
|
height: 28,
|
|
5134
|
-
background:
|
|
5139
|
+
background: Ne,
|
|
5135
5140
|
position: "relative",
|
|
5136
5141
|
borderRadius: 2,
|
|
5137
5142
|
border: `1px solid ${t}44`,
|
|
@@ -5191,7 +5196,7 @@ function M({
|
|
|
5191
5196
|
}) {
|
|
5192
5197
|
return /* @__PURE__ */ e(Rt, { w: 44, h: 28, color: t, label: n, status: o });
|
|
5193
5198
|
}
|
|
5194
|
-
function
|
|
5199
|
+
function Be({
|
|
5195
5200
|
color: t = "#ff8c00",
|
|
5196
5201
|
label: n = "PLATTER-0",
|
|
5197
5202
|
status: o = "online",
|
|
@@ -5275,7 +5280,7 @@ function Me({
|
|
|
5275
5280
|
)
|
|
5276
5281
|
] });
|
|
5277
5282
|
}
|
|
5278
|
-
function
|
|
5283
|
+
function U({
|
|
5279
5284
|
color: t = "#00e5ff",
|
|
5280
5285
|
label: n = "PORT-1",
|
|
5281
5286
|
status: o = "online"
|
|
@@ -5491,7 +5496,7 @@ function yi({
|
|
|
5491
5496
|
key: "cpu0",
|
|
5492
5497
|
delay: 0,
|
|
5493
5498
|
el: /* @__PURE__ */ e(
|
|
5494
|
-
|
|
5499
|
+
Ue,
|
|
5495
5500
|
{
|
|
5496
5501
|
color: a,
|
|
5497
5502
|
label: "CPU-0",
|
|
@@ -5505,7 +5510,7 @@ function yi({
|
|
|
5505
5510
|
key: "cpu1",
|
|
5506
5511
|
delay: 1,
|
|
5507
5512
|
el: /* @__PURE__ */ e(
|
|
5508
|
-
|
|
5513
|
+
Ue,
|
|
5509
5514
|
{
|
|
5510
5515
|
color: a,
|
|
5511
5516
|
label: "CPU-1",
|
|
@@ -5519,7 +5524,7 @@ function yi({
|
|
|
5519
5524
|
key: "heap0",
|
|
5520
5525
|
delay: 2,
|
|
5521
5526
|
el: /* @__PURE__ */ e(
|
|
5522
|
-
|
|
5527
|
+
He,
|
|
5523
5528
|
{
|
|
5524
5529
|
color: "#8855ee",
|
|
5525
5530
|
label: "HEAP-0",
|
|
@@ -5533,7 +5538,7 @@ function yi({
|
|
|
5533
5538
|
key: "heap1",
|
|
5534
5539
|
delay: 3,
|
|
5535
5540
|
el: /* @__PURE__ */ e(
|
|
5536
|
-
|
|
5541
|
+
He,
|
|
5537
5542
|
{
|
|
5538
5543
|
color: "#8855ee",
|
|
5539
5544
|
label: "HEAP-1",
|
|
@@ -5546,13 +5551,13 @@ function yi({
|
|
|
5546
5551
|
{
|
|
5547
5552
|
key: "d1",
|
|
5548
5553
|
delay: 4,
|
|
5549
|
-
el: /* @__PURE__ */ e(
|
|
5554
|
+
el: /* @__PURE__ */ e(Ae, { color: a, label: "DRIVE-1", status: i[4]?.status, activity: !0 })
|
|
5550
5555
|
},
|
|
5551
5556
|
{
|
|
5552
5557
|
key: "d2",
|
|
5553
5558
|
delay: 5,
|
|
5554
5559
|
el: /* @__PURE__ */ e(
|
|
5555
|
-
|
|
5560
|
+
Ae,
|
|
5556
5561
|
{
|
|
5557
5562
|
color: a,
|
|
5558
5563
|
label: "DRIVE-2",
|
|
@@ -5565,7 +5570,7 @@ function yi({
|
|
|
5565
5570
|
key: "d3",
|
|
5566
5571
|
delay: 6,
|
|
5567
5572
|
el: /* @__PURE__ */ e(
|
|
5568
|
-
|
|
5573
|
+
Ae,
|
|
5569
5574
|
{
|
|
5570
5575
|
color: a,
|
|
5571
5576
|
label: "DRIVE-3",
|
|
@@ -5622,7 +5627,7 @@ function yi({
|
|
|
5622
5627
|
transform: `scale(${r >= 0.25 + c * 0.04 ? 1 : 0.5})`,
|
|
5623
5628
|
transition: `opacity 0.35s ${D} ${c * 0.04}s, transform 0.4s ${D} ${c * 0.04}s`
|
|
5624
5629
|
},
|
|
5625
|
-
children: /* @__PURE__ */ e(
|
|
5630
|
+
children: /* @__PURE__ */ e(U, { color: a, label: `PORT-${c + 1}`, status: p?.status })
|
|
5626
5631
|
},
|
|
5627
5632
|
`p${c}`
|
|
5628
5633
|
);
|
|
@@ -5688,7 +5693,7 @@ function yi({
|
|
|
5688
5693
|
transform: `scale(${r >= 0.25 + l * 0.1 ? 1 : 0.6})`,
|
|
5689
5694
|
transition: `all 0.4s ${D} ${l * 0.08}s`
|
|
5690
5695
|
},
|
|
5691
|
-
children: /* @__PURE__ */ e(
|
|
5696
|
+
children: /* @__PURE__ */ e(U, { color: "#bb55ff", label: `INST-${l}`, status: i[l]?.status })
|
|
5692
5697
|
},
|
|
5693
5698
|
l
|
|
5694
5699
|
)),
|
|
@@ -5748,7 +5753,7 @@ function yi({
|
|
|
5748
5753
|
transition: `all 0.45s ${D} ${u * 0.1}s`
|
|
5749
5754
|
},
|
|
5750
5755
|
children: /* @__PURE__ */ e(
|
|
5751
|
-
|
|
5756
|
+
Be,
|
|
5752
5757
|
{
|
|
5753
5758
|
color: s,
|
|
5754
5759
|
label: `PLATTER-${u}`,
|
|
@@ -6109,15 +6114,15 @@ function mi({ onSubmit: t }) {
|
|
|
6109
6114
|
/* @__PURE__ */ e("div", { className: "cred-footer", children: "CREDENTIALS ARE STORED IN MEMORY ONLY" })
|
|
6110
6115
|
] }) });
|
|
6111
6116
|
}
|
|
6112
|
-
const at =
|
|
6117
|
+
const at = _e(null);
|
|
6113
6118
|
function xi() {
|
|
6114
|
-
const t =
|
|
6119
|
+
const t = de(at);
|
|
6115
6120
|
if (!t)
|
|
6116
6121
|
throw new Error("useAIOpsData must be used within an AIOPsDashboard with dataEndpoint configured");
|
|
6117
6122
|
return t;
|
|
6118
6123
|
}
|
|
6119
6124
|
function vi() {
|
|
6120
|
-
return
|
|
6125
|
+
return de(at);
|
|
6121
6126
|
}
|
|
6122
6127
|
function Vi(t) {
|
|
6123
6128
|
const { data: n } = xi();
|
|
@@ -6139,9 +6144,9 @@ function Si(t) {
|
|
|
6139
6144
|
return t;
|
|
6140
6145
|
}
|
|
6141
6146
|
function $i({ config: t, children: n }) {
|
|
6142
|
-
const [o, i] = R({}), [r, a] = R(null), [s, l] = R(!1), [u, c] = R(null), [p, f] = R(null), g =
|
|
6147
|
+
const [o, i] = R({}), [r, a] = R(null), [s, l] = R(!1), [u, c] = R(null), [p, f] = R(null), g = J(t);
|
|
6143
6148
|
g.current = t;
|
|
6144
|
-
const h =
|
|
6149
|
+
const h = J(r);
|
|
6145
6150
|
h.current = r;
|
|
6146
6151
|
const y = ct(async () => {
|
|
6147
6152
|
const x = h.current, w = g.current;
|
|
@@ -6179,7 +6184,7 @@ function $i({ config: t, children: n }) {
|
|
|
6179
6184
|
}
|
|
6180
6185
|
}
|
|
6181
6186
|
}, []);
|
|
6182
|
-
|
|
6187
|
+
De(() => {
|
|
6183
6188
|
if (!r) return;
|
|
6184
6189
|
y();
|
|
6185
6190
|
const x = g.current.refreshInterval ?? 6e4, w = window.setInterval(y, x);
|
|
@@ -6234,34 +6239,34 @@ function mt({
|
|
|
6234
6239
|
v === "compact" && (A(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(() => {
|
|
6235
6240
|
b(6), x("expanded");
|
|
6236
6241
|
}, 2400));
|
|
6237
|
-
},
|
|
6242
|
+
}, H = () => {
|
|
6238
6243
|
$ ? (S(null), B(0)) : v === "expanded" && (x("collapsing"), b(0), A(null), setTimeout(() => {
|
|
6239
6244
|
x((C) => C === "collapsing" ? "compact" : C);
|
|
6240
6245
|
}, 1e3));
|
|
6241
|
-
},
|
|
6246
|
+
}, ce = (C) => {
|
|
6242
6247
|
S(C), B(0);
|
|
6243
6248
|
};
|
|
6244
|
-
|
|
6249
|
+
F.useEffect(() => {
|
|
6245
6250
|
if (!$) return;
|
|
6246
|
-
const C = performance.now(),
|
|
6247
|
-
const
|
|
6248
|
-
B(
|
|
6249
|
-
},
|
|
6250
|
-
return () => cancelAnimationFrame(
|
|
6251
|
+
const C = performance.now(), ge = 1200, oe = () => {
|
|
6252
|
+
const te = performance.now() - C, X = Math.min(1, te / ge);
|
|
6253
|
+
B(X), X < 1 && requestAnimationFrame(oe);
|
|
6254
|
+
}, ye = requestAnimationFrame(oe);
|
|
6255
|
+
return () => cancelAnimationFrame(ye);
|
|
6251
6256
|
}, [$]);
|
|
6252
|
-
const
|
|
6257
|
+
const pe = () => {
|
|
6253
6258
|
S(null), B(0);
|
|
6254
|
-
}, I = o.find((C) => C.name === k),
|
|
6255
|
-
if (!
|
|
6256
|
-
const
|
|
6257
|
-
if (!
|
|
6258
|
-
const
|
|
6259
|
-
for (const [
|
|
6260
|
-
const dt = typeof
|
|
6261
|
-
|
|
6259
|
+
}, I = o.find((C) => C.name === k), Y = I?.status ?? "online", fe = I?.dbSync ?? !0, V = I?.metrics, _ = I?.alerts, j = u ?? Si, L = p?.data, G = Fe(() => !L || !l ? c : F.Children.map(c, (C) => {
|
|
6260
|
+
if (!F.isValidElement(C)) return C;
|
|
6261
|
+
const ge = C.props.name;
|
|
6262
|
+
if (!ge || !l[ge]) return C;
|
|
6263
|
+
const oe = l[ge], ye = {};
|
|
6264
|
+
for (const [te, X] of Object.entries(oe)) {
|
|
6265
|
+
const dt = typeof X == "string" ? X : X.query, Se = typeof X == "object" && X.transform ? X.transform : j, We = L[dt];
|
|
6266
|
+
We !== void 0 && (ye[te] = Se(We));
|
|
6262
6267
|
}
|
|
6263
|
-
return Object.keys(
|
|
6264
|
-
}), [c, L, l,
|
|
6268
|
+
return Object.keys(ye).length > 0 ? F.cloneElement(C, ye) : C;
|
|
6269
|
+
}), [c, L, l, j]), ue = p?.lastRefreshError ?? null, ne = 330, ee = 340, we = $ ? 1.15 : 1, he = $ ? -($.ex - ne) * 0.06 : 0, be = $ ? -($.ey - ee) * 0.06 : 0;
|
|
6265
6270
|
return /* @__PURE__ */ d("div", { className: "app", style: s ? { fontFamily: s } : void 0, children: [
|
|
6266
6271
|
/* @__PURE__ */ e(
|
|
6267
6272
|
"div",
|
|
@@ -6276,7 +6281,7 @@ function mt({
|
|
|
6276
6281
|
backgroundPosition: "center center",
|
|
6277
6282
|
backgroundRepeat: "no-repeat",
|
|
6278
6283
|
transition: "transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1)",
|
|
6279
|
-
transform: `translate(${
|
|
6284
|
+
transform: `translate(${he}px, ${be}px) scale(${we})`,
|
|
6280
6285
|
willChange: "transform"
|
|
6281
6286
|
}
|
|
6282
6287
|
}
|
|
@@ -6287,7 +6292,7 @@ function mt({
|
|
|
6287
6292
|
/* @__PURE__ */ e("span", { className: "brand-text", children: t })
|
|
6288
6293
|
] }),
|
|
6289
6294
|
/* @__PURE__ */ d("div", { className: "hdr-right", children: [
|
|
6290
|
-
|
|
6295
|
+
ue && /* @__PURE__ */ d("div", { className: "hdr-refresh-error", children: [
|
|
6291
6296
|
/* @__PURE__ */ e("span", { className: "refresh-error-dot" }),
|
|
6292
6297
|
/* @__PURE__ */ e("span", { className: "refresh-error-text", children: "DATA REFRESH FAILED" })
|
|
6293
6298
|
] }),
|
|
@@ -6301,7 +6306,7 @@ function mt({
|
|
|
6301
6306
|
style: {
|
|
6302
6307
|
cursor: v === "expanded" ? "zoom-out" : "default"
|
|
6303
6308
|
},
|
|
6304
|
-
onClick:
|
|
6309
|
+
onClick: H,
|
|
6305
6310
|
children: /* @__PURE__ */ e(
|
|
6306
6311
|
Yt,
|
|
6307
6312
|
{
|
|
@@ -6318,14 +6323,14 @@ function mt({
|
|
|
6318
6323
|
carouselSpeed: a,
|
|
6319
6324
|
logoUrl: r,
|
|
6320
6325
|
onSelectSystem: z,
|
|
6321
|
-
onBackgroundClick:
|
|
6322
|
-
onComponentClick:
|
|
6323
|
-
onCloseDrill:
|
|
6324
|
-
selectedSystemStatus:
|
|
6325
|
-
selectedSystemDbSync:
|
|
6326
|
-
selectedSystemMetrics:
|
|
6327
|
-
selectedSystemAlerts:
|
|
6328
|
-
children:
|
|
6326
|
+
onBackgroundClick: H,
|
|
6327
|
+
onComponentClick: ce,
|
|
6328
|
+
onCloseDrill: pe,
|
|
6329
|
+
selectedSystemStatus: Y,
|
|
6330
|
+
selectedSystemDbSync: fe,
|
|
6331
|
+
selectedSystemMetrics: V,
|
|
6332
|
+
selectedSystemAlerts: _,
|
|
6333
|
+
children: G
|
|
6329
6334
|
}
|
|
6330
6335
|
)
|
|
6331
6336
|
}
|
|
@@ -6341,21 +6346,21 @@ function P(t, n, o = 24) {
|
|
|
6341
6346
|
function Ct(t) {
|
|
6342
6347
|
return t === "critical" || t === "offline" ? "#ff2255" : t === "warning" ? "#ff8c00" : "#00e5ff";
|
|
6343
6348
|
}
|
|
6344
|
-
function
|
|
6349
|
+
function Ie(t, n, o) {
|
|
6345
6350
|
const i = t === "online" ? "online" : t, r = Ct(t), a = o?.cpuLoad ?? 50, s = o?.memLoad ?? 60, l = i === "critical" || i === "warning" && a > 80 ? i : "online", u = i === "warning" && s > 85 ? "warning" : i === "critical" ? "critical" : "online", c = i === "critical" && n === "APP-03" ? "critical" : "online", p = i === "offline" ? "offline" : "online";
|
|
6346
6351
|
return [
|
|
6347
|
-
{ id: "cpu-0", label: "CPU-0", status: l, detail: i === "critical" ? "Core overload" : i === "warning" ? "Load spike" : void 0, element: /* @__PURE__ */ e(
|
|
6348
|
-
{ id: "cpu-1", label: "CPU-1", status: "online", element: /* @__PURE__ */ e(
|
|
6349
|
-
{ id: "heap-0", label: "HEAP-0", status: u, detail: u === "warning" ? "Memory heap usage" : u === "critical" ? "OOM risk" : void 0, element: /* @__PURE__ */ e(
|
|
6350
|
-
{ id: "heap-1", label: "HEAP-1", status: "online", element: /* @__PURE__ */ e(
|
|
6351
|
-
{ id: "drive-1", label: "DRIVE-1", status: "online", element: /* @__PURE__ */ e(
|
|
6352
|
-
{ id: "drive-2", label: "DRIVE-2", status: "online", element: /* @__PURE__ */ e(
|
|
6353
|
-
{ id: "drive-3", label: "DRIVE-3", status: "online", element: /* @__PURE__ */ e(
|
|
6352
|
+
{ id: "cpu-0", label: "CPU-0", status: l, detail: i === "critical" ? "Core overload" : i === "warning" ? "Load spike" : void 0, element: /* @__PURE__ */ e(Ue, { color: r, label: "CPU-0", status: l, load: a }) },
|
|
6353
|
+
{ id: "cpu-1", label: "CPU-1", status: "online", element: /* @__PURE__ */ e(Ue, { color: r, label: "CPU-1", status: "online", load: a * 0.7 }) },
|
|
6354
|
+
{ id: "heap-0", label: "HEAP-0", status: u, detail: u === "warning" ? "Memory heap usage" : u === "critical" ? "OOM risk" : void 0, element: /* @__PURE__ */ e(He, { color: "#8855ee", label: "HEAP-0", status: u, usedPercent: s }) },
|
|
6355
|
+
{ id: "heap-1", label: "HEAP-1", status: "online", element: /* @__PURE__ */ e(He, { color: "#8855ee", label: "HEAP-1", status: "online", usedPercent: s * 0.85 }) },
|
|
6356
|
+
{ id: "drive-1", label: "DRIVE-1", status: "online", element: /* @__PURE__ */ e(Ae, { color: r, label: "DRIVE-1", status: "online", activity: !0 }) },
|
|
6357
|
+
{ id: "drive-2", label: "DRIVE-2", status: "online", element: /* @__PURE__ */ e(Ae, { color: r, label: "DRIVE-2", status: "online", activity: a > 30 }) },
|
|
6358
|
+
{ id: "drive-3", label: "DRIVE-3", status: "online", element: /* @__PURE__ */ e(Ae, { color: r, label: "DRIVE-3", status: "online", activity: a > 50 }) },
|
|
6354
6359
|
{ 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 }) },
|
|
6355
6360
|
{ id: "network", label: "NET", status: p, element: /* @__PURE__ */ e(Et, { color: r, label: "NET", status: p }) }
|
|
6356
6361
|
];
|
|
6357
6362
|
}
|
|
6358
|
-
function
|
|
6363
|
+
function Oe(t) {
|
|
6359
6364
|
const n = t?.cpuLoad ?? 50, o = t?.memLoad ?? 60;
|
|
6360
6365
|
return [
|
|
6361
6366
|
{ id: "cpu", label: "CPU-0", unit: "%", color: "#00e5ff", data: P(n, 15) },
|
|
@@ -6371,14 +6376,14 @@ function Ae(t) {
|
|
|
6371
6376
|
function Pt(t, n, o) {
|
|
6372
6377
|
const i = t === "online" ? "online" : t, r = Ct(t), a = i === "critical" || i === "offline" ? i : "online", s = i === "warning" ? "warning" : "online", l = i === "critical" ? "critical" : "online";
|
|
6373
6378
|
return [
|
|
6374
|
-
{ id: "port-1", label: "PORT-1", status: "online", element: /* @__PURE__ */ e(
|
|
6375
|
-
{ id: "port-2", label: "PORT-2", status: "online", element: /* @__PURE__ */ e(
|
|
6376
|
-
{ id: "port-3", label: "PORT-3", status: a, detail: i === "critical" ? "Gateway timeout" : i === "offline" ? "Unreachable" : void 0, element: /* @__PURE__ */ e(
|
|
6377
|
-
{ id: "port-4", label: "PORT-4", status: "online", element: /* @__PURE__ */ e(
|
|
6378
|
-
{ id: "port-5", label: "PORT-5", status: s, detail: s === "warning" ? "Latency spike" : void 0, element: /* @__PURE__ */ e(
|
|
6379
|
-
{ id: "port-6", label: "PORT-6", status: "online", element: /* @__PURE__ */ e(
|
|
6380
|
-
{ id: "port-7", label: "PORT-7", status: "online", element: /* @__PURE__ */ e(
|
|
6381
|
-
{ id: "port-8", label: "PORT-8", status: "online", element: /* @__PURE__ */ e(
|
|
6379
|
+
{ id: "port-1", label: "PORT-1", status: "online", element: /* @__PURE__ */ e(U, { color: r, label: "PORT-1", status: "online" }) },
|
|
6380
|
+
{ id: "port-2", label: "PORT-2", status: "online", element: /* @__PURE__ */ e(U, { color: r, label: "PORT-2", status: "online" }) },
|
|
6381
|
+
{ id: "port-3", label: "PORT-3", status: a, detail: i === "critical" ? "Gateway timeout" : i === "offline" ? "Unreachable" : void 0, element: /* @__PURE__ */ e(U, { color: r, label: "PORT-3", status: a }) },
|
|
6382
|
+
{ id: "port-4", label: "PORT-4", status: "online", element: /* @__PURE__ */ e(U, { color: r, label: "PORT-4", status: "online" }) },
|
|
6383
|
+
{ id: "port-5", label: "PORT-5", status: s, detail: s === "warning" ? "Latency spike" : void 0, element: /* @__PURE__ */ e(U, { color: r, label: "PORT-5", status: s }) },
|
|
6384
|
+
{ id: "port-6", label: "PORT-6", status: "online", element: /* @__PURE__ */ e(U, { color: r, label: "PORT-6", status: "online" }) },
|
|
6385
|
+
{ id: "port-7", label: "PORT-7", status: "online", element: /* @__PURE__ */ e(U, { color: r, label: "PORT-7", status: "online" }) },
|
|
6386
|
+
{ id: "port-8", label: "PORT-8", status: "online", element: /* @__PURE__ */ e(U, { color: r, label: "PORT-8", status: "online" }) },
|
|
6382
6387
|
{ 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 }) },
|
|
6383
6388
|
{ id: "https-worker", label: "HTTPS-WORKER", status: "online", element: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "HTTPS-WORKER", status: "online" }) }
|
|
6384
6389
|
];
|
|
@@ -6396,9 +6401,9 @@ function Tt(t) {
|
|
|
6396
6401
|
function ki(t, n, o) {
|
|
6397
6402
|
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";
|
|
6398
6403
|
return [
|
|
6399
|
-
{ id: "inst-0", label: "INST-0", status: "online", element: /* @__PURE__ */ e(
|
|
6400
|
-
{ id: "inst-1", label: "INST-1", status: "online", element: /* @__PURE__ */ e(
|
|
6401
|
-
{ id: "inst-2", label: "INST-2", status: r, detail: r === "critical" ? "Instance unreachable" : void 0, element: /* @__PURE__ */ e(
|
|
6404
|
+
{ id: "inst-0", label: "INST-0", status: "online", element: /* @__PURE__ */ e(U, { color: "#bb55ff", label: "INST-0", status: "online" }) },
|
|
6405
|
+
{ id: "inst-1", label: "INST-1", status: "online", element: /* @__PURE__ */ e(U, { color: "#bb55ff", label: "INST-1", status: "online" }) },
|
|
6406
|
+
{ id: "inst-2", label: "INST-2", status: r, detail: r === "critical" ? "Instance unreachable" : void 0, element: /* @__PURE__ */ e(U, { color: "#bb55ff", label: "INST-2", status: r }) },
|
|
6402
6407
|
{ 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 }) },
|
|
6403
6408
|
{ id: "worker-1", label: "WORKER-1", status: "online", element: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "WORKER-1", status: "online" }) },
|
|
6404
6409
|
{ id: "worker-2", label: "WORKER-2", status: "online", element: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "WORKER-2", status: "online" }) },
|
|
@@ -6415,17 +6420,17 @@ function Ri(t) {
|
|
|
6415
6420
|
{ id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: P(n * 0.9, 15) }
|
|
6416
6421
|
];
|
|
6417
6422
|
}
|
|
6418
|
-
function
|
|
6423
|
+
function Ye(t, n, o) {
|
|
6419
6424
|
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", u = i === "critical" ? "critical" : "online", c = i === "warning" ? "warning" : "online";
|
|
6420
6425
|
return [
|
|
6421
|
-
{ id: "platter-0", label: "PLATTER-0", status: "online", element: /* @__PURE__ */ e(
|
|
6422
|
-
{ 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(
|
|
6423
|
-
{ id: "platter-2", label: "PLATTER-2", status: l, detail: l === "warning" ? "Replication lag" : void 0, element: /* @__PURE__ */ e(
|
|
6426
|
+
{ id: "platter-0", label: "PLATTER-0", status: "online", element: /* @__PURE__ */ e(Be, { color: r, label: "PLATTER-0", status: "online", capacityPercent: a }) },
|
|
6427
|
+
{ 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(Be, { color: r, label: "PLATTER-1", status: s, capacityPercent: a }) },
|
|
6428
|
+
{ id: "platter-2", label: "PLATTER-2", status: l, detail: l === "warning" ? "Replication lag" : void 0, element: /* @__PURE__ */ e(Be, { color: r, label: "PLATTER-2", status: l, capacityPercent: a }) },
|
|
6424
6429
|
{ id: "conn-pool", label: "CONN-POOL", status: u, detail: u === "critical" ? "Pool exhausted" : void 0, element: /* @__PURE__ */ e(M, { color: r, label: "CONN-POOL", status: u }) },
|
|
6425
6430
|
{ 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 }) }
|
|
6426
6431
|
];
|
|
6427
6432
|
}
|
|
6428
|
-
function
|
|
6433
|
+
function Ve(t) {
|
|
6429
6434
|
const n = t?.capacity ?? 70;
|
|
6430
6435
|
return [
|
|
6431
6436
|
{ id: "platter0", label: "PLATTER-0 I/O", unit: "%", color: "#ff8c00", data: P(40, 20) },
|
|
@@ -6492,8 +6497,8 @@ const Ei = [
|
|
|
6492
6497
|
{ from: [495, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" }
|
|
6493
6498
|
];
|
|
6494
6499
|
function Ci({ config: t }) {
|
|
6495
|
-
const n =
|
|
6496
|
-
return /* @__PURE__ */ d(
|
|
6500
|
+
const n = F.useContext(ve), o = n?.rotateY ?? 20, i = n?.autoRotateComponents ?? !0, { wdStatus: r, msStatus: a, srv1Status: s, srv2Status: l, srv3Status: u, pdbStatus: c, sdbStatus: p, dbSync: f } = t;
|
|
6501
|
+
return /* @__PURE__ */ d(Le, { children: [
|
|
6497
6502
|
/* @__PURE__ */ e(
|
|
6498
6503
|
T,
|
|
6499
6504
|
{
|
|
@@ -6589,11 +6594,11 @@ function Ci({ config: t }) {
|
|
|
6589
6594
|
name: "APP-01",
|
|
6590
6595
|
status: s,
|
|
6591
6596
|
context: { cpuLoad: 67, memLoad: 72 },
|
|
6592
|
-
subComponents:
|
|
6593
|
-
graphSeries:
|
|
6597
|
+
subComponents: Ie(s, "APP-01", { cpuLoad: 67, memLoad: 72 }),
|
|
6598
|
+
graphSeries: Oe({ cpuLoad: 67, memLoad: 72 })
|
|
6594
6599
|
},
|
|
6595
6600
|
children: /* @__PURE__ */ e(
|
|
6596
|
-
|
|
6601
|
+
xe,
|
|
6597
6602
|
{
|
|
6598
6603
|
rotateY: o,
|
|
6599
6604
|
autoRotate: i,
|
|
@@ -6622,11 +6627,11 @@ function Ci({ config: t }) {
|
|
|
6622
6627
|
name: "APP-02",
|
|
6623
6628
|
status: l,
|
|
6624
6629
|
context: { cpuLoad: 89, memLoad: 91 },
|
|
6625
|
-
subComponents:
|
|
6626
|
-
graphSeries:
|
|
6630
|
+
subComponents: Ie(l, "APP-02", { cpuLoad: 89, memLoad: 91 }),
|
|
6631
|
+
graphSeries: Oe({ cpuLoad: 89, memLoad: 91 })
|
|
6627
6632
|
},
|
|
6628
6633
|
children: /* @__PURE__ */ e(
|
|
6629
|
-
|
|
6634
|
+
xe,
|
|
6630
6635
|
{
|
|
6631
6636
|
rotateY: o,
|
|
6632
6637
|
autoRotate: i,
|
|
@@ -6655,11 +6660,11 @@ function Ci({ config: t }) {
|
|
|
6655
6660
|
name: "APP-03",
|
|
6656
6661
|
status: u,
|
|
6657
6662
|
context: { cpuLoad: 45, memLoad: 63 },
|
|
6658
|
-
subComponents:
|
|
6659
|
-
graphSeries:
|
|
6663
|
+
subComponents: Ie(u, "APP-03", { cpuLoad: 45, memLoad: 63 }),
|
|
6664
|
+
graphSeries: Oe({ cpuLoad: 45, memLoad: 63 })
|
|
6660
6665
|
},
|
|
6661
6666
|
children: /* @__PURE__ */ e(
|
|
6662
|
-
|
|
6667
|
+
xe,
|
|
6663
6668
|
{
|
|
6664
6669
|
rotateY: o,
|
|
6665
6670
|
autoRotate: i,
|
|
@@ -6688,11 +6693,11 @@ function Ci({ config: t }) {
|
|
|
6688
6693
|
name: "DB-PRI",
|
|
6689
6694
|
status: c,
|
|
6690
6695
|
context: { capacity: 72 },
|
|
6691
|
-
subComponents:
|
|
6692
|
-
graphSeries:
|
|
6696
|
+
subComponents: Ye(c, "DB-PRI", { capacity: 72 }),
|
|
6697
|
+
graphSeries: Ve({ capacity: 72 })
|
|
6693
6698
|
},
|
|
6694
6699
|
children: /* @__PURE__ */ e(
|
|
6695
|
-
|
|
6700
|
+
Me,
|
|
6696
6701
|
{
|
|
6697
6702
|
rotateY: -o,
|
|
6698
6703
|
autoRotate: i,
|
|
@@ -6721,11 +6726,11 @@ function Ci({ config: t }) {
|
|
|
6721
6726
|
name: "DB-STB",
|
|
6722
6727
|
status: p,
|
|
6723
6728
|
context: { capacity: 72 },
|
|
6724
|
-
subComponents:
|
|
6725
|
-
graphSeries:
|
|
6729
|
+
subComponents: Ye(p, "DB-STB", { capacity: 72 }),
|
|
6730
|
+
graphSeries: Ve({ capacity: 72 })
|
|
6726
6731
|
},
|
|
6727
6732
|
children: /* @__PURE__ */ e(
|
|
6728
|
-
|
|
6733
|
+
Me,
|
|
6729
6734
|
{
|
|
6730
6735
|
rotateY: o,
|
|
6731
6736
|
autoRotate: i,
|
|
@@ -6755,7 +6760,7 @@ function Ci({ config: t }) {
|
|
|
6755
6760
|
] });
|
|
6756
6761
|
}
|
|
6757
6762
|
function Pi({ config: t }) {
|
|
6758
|
-
const n =
|
|
6763
|
+
const n = F.useContext(ve), { wdStatus: o, msStatus: i, srv1Status: r, srv2Status: a, srv3Status: s, pdbStatus: l, sdbStatus: u, dbSync: c } = t, p = n?.isSelected && n?.isExpandedPos;
|
|
6759
6764
|
return n?.isSelected ? /* @__PURE__ */ d("div", { style: { pointerEvents: "none" }, children: [
|
|
6760
6765
|
/* @__PURE__ */ e(
|
|
6761
6766
|
W,
|
|
@@ -6943,8 +6948,8 @@ const Ti = [
|
|
|
6943
6948
|
{ from: [495, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" }
|
|
6944
6949
|
];
|
|
6945
6950
|
function Ai({ config: t }) {
|
|
6946
|
-
const n =
|
|
6947
|
-
return /* @__PURE__ */ d(
|
|
6951
|
+
const n = F.useContext(ve), o = n?.rotateY ?? 20, i = n?.autoRotateComponents ?? !0, { dispStatus: r, srv1Status: a, srv2Status: s, srv3Status: l, pdbStatus: u, sdbStatus: c, dbSync: p } = t;
|
|
6952
|
+
return /* @__PURE__ */ d(Le, { children: [
|
|
6948
6953
|
/* @__PURE__ */ e(
|
|
6949
6954
|
T,
|
|
6950
6955
|
{
|
|
@@ -7006,11 +7011,11 @@ function Ai({ config: t }) {
|
|
|
7006
7011
|
name: "APP-01",
|
|
7007
7012
|
status: a,
|
|
7008
7013
|
context: { cpuLoad: 67, memLoad: 72 },
|
|
7009
|
-
subComponents:
|
|
7010
|
-
graphSeries:
|
|
7014
|
+
subComponents: Ie(a, "APP-01", { cpuLoad: 67, memLoad: 72 }),
|
|
7015
|
+
graphSeries: Oe({ cpuLoad: 67, memLoad: 72 })
|
|
7011
7016
|
},
|
|
7012
7017
|
children: /* @__PURE__ */ e(
|
|
7013
|
-
|
|
7018
|
+
xe,
|
|
7014
7019
|
{
|
|
7015
7020
|
rotateY: o,
|
|
7016
7021
|
autoRotate: i,
|
|
@@ -7039,11 +7044,11 @@ function Ai({ config: t }) {
|
|
|
7039
7044
|
name: "APP-02",
|
|
7040
7045
|
status: s,
|
|
7041
7046
|
context: { cpuLoad: 89, memLoad: 91 },
|
|
7042
|
-
subComponents:
|
|
7043
|
-
graphSeries:
|
|
7047
|
+
subComponents: Ie(s, "APP-02", { cpuLoad: 89, memLoad: 91 }),
|
|
7048
|
+
graphSeries: Oe({ cpuLoad: 89, memLoad: 91 })
|
|
7044
7049
|
},
|
|
7045
7050
|
children: /* @__PURE__ */ e(
|
|
7046
|
-
|
|
7051
|
+
xe,
|
|
7047
7052
|
{
|
|
7048
7053
|
rotateY: o,
|
|
7049
7054
|
autoRotate: i,
|
|
@@ -7072,11 +7077,11 @@ function Ai({ config: t }) {
|
|
|
7072
7077
|
name: "APP-03",
|
|
7073
7078
|
status: l,
|
|
7074
7079
|
context: { cpuLoad: 45, memLoad: 63 },
|
|
7075
|
-
subComponents:
|
|
7076
|
-
graphSeries:
|
|
7080
|
+
subComponents: Ie(l, "APP-03", { cpuLoad: 45, memLoad: 63 }),
|
|
7081
|
+
graphSeries: Oe({ cpuLoad: 45, memLoad: 63 })
|
|
7077
7082
|
},
|
|
7078
7083
|
children: /* @__PURE__ */ e(
|
|
7079
|
-
|
|
7084
|
+
xe,
|
|
7080
7085
|
{
|
|
7081
7086
|
rotateY: o,
|
|
7082
7087
|
autoRotate: i,
|
|
@@ -7105,11 +7110,11 @@ function Ai({ config: t }) {
|
|
|
7105
7110
|
name: "DB-PRI",
|
|
7106
7111
|
status: u,
|
|
7107
7112
|
context: { capacity: 72 },
|
|
7108
|
-
subComponents:
|
|
7109
|
-
graphSeries:
|
|
7113
|
+
subComponents: Ye(u, "DB-PRI", { capacity: 72 }),
|
|
7114
|
+
graphSeries: Ve({ capacity: 72 })
|
|
7110
7115
|
},
|
|
7111
7116
|
children: /* @__PURE__ */ e(
|
|
7112
|
-
|
|
7117
|
+
Me,
|
|
7113
7118
|
{
|
|
7114
7119
|
rotateY: -o,
|
|
7115
7120
|
autoRotate: i,
|
|
@@ -7138,11 +7143,11 @@ function Ai({ config: t }) {
|
|
|
7138
7143
|
name: "DB-STB",
|
|
7139
7144
|
status: c,
|
|
7140
7145
|
context: { capacity: 72 },
|
|
7141
|
-
subComponents:
|
|
7142
|
-
graphSeries:
|
|
7146
|
+
subComponents: Ye(c, "DB-STB", { capacity: 72 }),
|
|
7147
|
+
graphSeries: Ve({ capacity: 72 })
|
|
7143
7148
|
},
|
|
7144
7149
|
children: /* @__PURE__ */ e(
|
|
7145
|
-
|
|
7150
|
+
Me,
|
|
7146
7151
|
{
|
|
7147
7152
|
rotateY: o,
|
|
7148
7153
|
autoRotate: i,
|
|
@@ -7172,7 +7177,7 @@ function Ai({ config: t }) {
|
|
|
7172
7177
|
] });
|
|
7173
7178
|
}
|
|
7174
7179
|
function Ii({ config: t }) {
|
|
7175
|
-
const n =
|
|
7180
|
+
const n = F.useContext(ve), { dispStatus: o, srv1Status: i, srv2Status: r, srv3Status: a, pdbStatus: s, sdbStatus: l, dbSync: u } = t, c = n?.isSelected && n?.isExpandedPos;
|
|
7176
7181
|
return n?.isSelected ? /* @__PURE__ */ d("div", { style: { pointerEvents: "none" }, children: [
|
|
7177
7182
|
/* @__PURE__ */ e(
|
|
7178
7183
|
W,
|
|
@@ -7295,40 +7300,40 @@ function Gi({ config: t, ...n }) {
|
|
|
7295
7300
|
}
|
|
7296
7301
|
export {
|
|
7297
7302
|
_i as AIOPsDashboard,
|
|
7298
|
-
|
|
7303
|
+
Ue as CPU3D,
|
|
7299
7304
|
Yt as Carousel,
|
|
7300
7305
|
tt as CarouselContext,
|
|
7301
7306
|
it as CarouselItemContext,
|
|
7302
7307
|
Ft as ComponentDialog,
|
|
7303
7308
|
Yi as ComponentDrillView,
|
|
7304
7309
|
$i as DataProvider,
|
|
7305
|
-
|
|
7310
|
+
Me as Database3D,
|
|
7306
7311
|
Bi as DatabaseNode,
|
|
7307
|
-
|
|
7312
|
+
Ae as DriveBay3D,
|
|
7308
7313
|
Ti as EXCHANGE_CONNECTIONS,
|
|
7309
7314
|
Gi as ExchangeService,
|
|
7310
7315
|
Ni as HOLO_BLUE,
|
|
7311
7316
|
Di as HOLO_CYAN,
|
|
7312
7317
|
Je as HOLO_GLASS,
|
|
7313
|
-
|
|
7318
|
+
Ne as HOLO_SURFACE,
|
|
7314
7319
|
fi as HistoricalGraphPanel,
|
|
7315
7320
|
jt as HoloBase,
|
|
7316
7321
|
ot as Human3D,
|
|
7317
7322
|
Fi as HumanNode,
|
|
7318
|
-
|
|
7323
|
+
He as Memory3D,
|
|
7319
7324
|
kt as MessageServer3D,
|
|
7320
7325
|
Hi as MessageServerNode,
|
|
7321
7326
|
Et as NetworkBlock3D,
|
|
7322
7327
|
W as NodeCallout,
|
|
7323
|
-
|
|
7324
|
-
|
|
7328
|
+
Be as Platter3D,
|
|
7329
|
+
U as Port3D,
|
|
7325
7330
|
qi as SAPService,
|
|
7326
7331
|
Ei as SAP_CONNECTIONS,
|
|
7327
7332
|
E as STATUS_CFG,
|
|
7328
|
-
|
|
7333
|
+
xe as Server3D,
|
|
7329
7334
|
zi as ServerNode,
|
|
7330
7335
|
vt as Service,
|
|
7331
|
-
|
|
7336
|
+
ve as ServiceContext,
|
|
7332
7337
|
zt as ServiceDialog,
|
|
7333
7338
|
T as ServiceNode,
|
|
7334
7339
|
Vt as SvgConnection,
|
|
@@ -7343,14 +7348,14 @@ export {
|
|
|
7343
7348
|
ji as computeSAPDialogMetrics,
|
|
7344
7349
|
lt as computeSAPServiceStatus,
|
|
7345
7350
|
Si as defaultDataTransform,
|
|
7346
|
-
|
|
7347
|
-
|
|
7351
|
+
Ve as getDatabaseGraphSeries,
|
|
7352
|
+
Ye as getDatabaseSubComponents,
|
|
7348
7353
|
Tt as getDispatcherGraphSeries,
|
|
7349
7354
|
Pt as getDispatcherSubComponents,
|
|
7350
7355
|
Ri as getMessageServerGraphSeries,
|
|
7351
7356
|
ki as getMessageServerSubComponents,
|
|
7352
|
-
|
|
7353
|
-
|
|
7357
|
+
Oe as getServerGraphSeries,
|
|
7358
|
+
Ie as getServerSubComponents,
|
|
7354
7359
|
et as makeFaceStyles,
|
|
7355
7360
|
xi as useAIOpsData,
|
|
7356
7361
|
vi as useAIOpsDataOptional,
|