react-aiops 0.1.18 → 0.1.20
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 +21 -15
- package/dist/components/ServiceNode.d.ts.map +1 -1
- package/dist/index.js +488 -469
- 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 Ie } from "react/jsx-runtime";
|
|
2
|
+
import X, { createContext as He, useContext as ae, useState as R, useEffect as Oe, useMemo as Ze, useRef as Z, useCallback as ct } from "react";
|
|
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: "⚠️" },
|
|
6
6
|
critical: { color: "#ff2255", bg: "rgba(255, 34, 85, 0.1)", border: "#ff2255", icon: "🛑" }
|
|
7
7
|
};
|
|
8
|
-
function
|
|
8
|
+
function zt({
|
|
9
9
|
name: t,
|
|
10
10
|
status: n,
|
|
11
11
|
dbSync: o = !0,
|
|
@@ -146,7 +146,7 @@ function Mt({
|
|
|
146
146
|
}
|
|
147
147
|
),
|
|
148
148
|
c.map((p, f) => {
|
|
149
|
-
const g =
|
|
149
|
+
const g = Mt[p.level];
|
|
150
150
|
return /* @__PURE__ */ d(
|
|
151
151
|
"div",
|
|
152
152
|
{
|
|
@@ -177,12 +177,12 @@ function Mt({
|
|
|
177
177
|
}
|
|
178
178
|
);
|
|
179
179
|
}
|
|
180
|
-
const
|
|
180
|
+
const E = {
|
|
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
|
-
},
|
|
185
|
+
}, Di = "#00e5ff", Ni = "#0055cc", Le = "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",
|
|
@@ -234,23 +234,23 @@ function et(t, n, o) {
|
|
|
234
234
|
};
|
|
235
235
|
}
|
|
236
236
|
const Qe = "cubic-bezier(0.34, 1.56, 0.64, 1)", Ke = "cubic-bezier(0.16, 1, 0.3, 1)";
|
|
237
|
-
function
|
|
238
|
-
return
|
|
237
|
+
function xt(t) {
|
|
238
|
+
return E[t]?.color ?? E.online.color;
|
|
239
239
|
}
|
|
240
|
-
function
|
|
240
|
+
function Bt(t, n, o) {
|
|
241
241
|
return t >= o ? "#ff2255" : t >= n ? "#ff8c00" : "#00e5ff";
|
|
242
242
|
}
|
|
243
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 Ft({
|
|
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: u, ey: c, context: p = {} } = t, f =
|
|
253
|
+
const { type: a, name: s, status: l, ex: u, ey: c, context: p = {} } = t, f = xt(l), g = u >= i / 2, h = c >= r / 2, y = {
|
|
254
254
|
position: "fixed",
|
|
255
255
|
...g ? { right: 28 } : { left: 28 },
|
|
256
256
|
...h ? { bottom: 110 } : { top: 72 }
|
|
@@ -258,23 +258,23 @@ function Bt({
|
|
|
258
258
|
let w;
|
|
259
259
|
if (x && x.length > 0)
|
|
260
260
|
w = x.map((b, k) => {
|
|
261
|
-
const
|
|
261
|
+
const A = 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: We(l, b.value,
|
|
268
|
+
status: We(l, b.value, A, $),
|
|
269
269
|
icon: b.icon ?? "cpu",
|
|
270
270
|
delay: k,
|
|
271
271
|
colorOverride: b.color,
|
|
272
|
-
warnAt:
|
|
272
|
+
warnAt: A,
|
|
273
273
|
critAt: $
|
|
274
274
|
};
|
|
275
275
|
});
|
|
276
276
|
else {
|
|
277
|
-
const b = p.cpuLoad ?? p.traffic ?? 50, k = p.memLoad ?? p.queueDepth ?? 60,
|
|
277
|
+
const b = p.cpuLoad ?? p.traffic ?? 50, k = p.memLoad ?? p.queueDepth ?? 60, A = p.capacity ?? 72, $ = We(l, b, 70, 85), S = We(l, k, 75, 88), N = We(l, A, 75, 90);
|
|
278
278
|
w = [
|
|
279
279
|
{
|
|
280
280
|
id: "cpu",
|
|
@@ -300,7 +300,7 @@ function Bt({
|
|
|
300
300
|
id: "storage",
|
|
301
301
|
label: "STORAGE",
|
|
302
302
|
sublabel: a === "database" ? "TABLESPACE" : "DISK I/O",
|
|
303
|
-
value:
|
|
303
|
+
value: A,
|
|
304
304
|
unit: "%",
|
|
305
305
|
status: N,
|
|
306
306
|
icon: "disk",
|
|
@@ -519,7 +519,7 @@ function Bt({
|
|
|
519
519
|
position: "relative",
|
|
520
520
|
zIndex: 2
|
|
521
521
|
},
|
|
522
|
-
children: w.map((b) => /* @__PURE__ */ e(
|
|
522
|
+
children: w.map((b) => /* @__PURE__ */ e(Ut, { metric: b, visible: o, accentColor: f }, b.id))
|
|
523
523
|
}
|
|
524
524
|
),
|
|
525
525
|
/* @__PURE__ */ d(
|
|
@@ -568,7 +568,7 @@ function Bt({
|
|
|
568
568
|
}
|
|
569
569
|
);
|
|
570
570
|
}
|
|
571
|
-
function
|
|
571
|
+
function Ut({
|
|
572
572
|
metric: t,
|
|
573
573
|
visible: n,
|
|
574
574
|
accentColor: o
|
|
@@ -584,7 +584,7 @@ function Ft({
|
|
|
584
584
|
colorOverride: p,
|
|
585
585
|
warnAt: f = 70,
|
|
586
586
|
critAt: g = 85
|
|
587
|
-
} = t, h = p ??
|
|
587
|
+
} = t, h = p ?? Bt(a, f, g), y = p ?? xt(l);
|
|
588
588
|
return /* @__PURE__ */ d(
|
|
589
589
|
"div",
|
|
590
590
|
{
|
|
@@ -615,7 +615,7 @@ function Ft({
|
|
|
615
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(Ht, { type: u, color: y }),
|
|
619
619
|
(l === "warning" || l === "critical") && /* @__PURE__ */ e(
|
|
620
620
|
"div",
|
|
621
621
|
{
|
|
@@ -808,7 +808,7 @@ function Ft({
|
|
|
808
808
|
}
|
|
809
809
|
);
|
|
810
810
|
}
|
|
811
|
-
function
|
|
811
|
+
function Ht({ 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(
|
|
@@ -894,13 +894,13 @@ function Ut({ type: t, color: n }) {
|
|
|
894
894
|
] });
|
|
895
895
|
}
|
|
896
896
|
const tt = He(null), it = He({ index: 0 });
|
|
897
|
-
function
|
|
897
|
+
function Wi() {
|
|
898
898
|
return ae(tt);
|
|
899
899
|
}
|
|
900
|
-
function
|
|
900
|
+
function Mi() {
|
|
901
901
|
return ae(it);
|
|
902
902
|
}
|
|
903
|
-
function
|
|
903
|
+
function Yt({
|
|
904
904
|
children: t,
|
|
905
905
|
logoUrl: n,
|
|
906
906
|
viewState: o,
|
|
@@ -922,21 +922,21 @@ function Ht({
|
|
|
922
922
|
onCloseDrill: w,
|
|
923
923
|
selectedSystemStatus: b = "online",
|
|
924
924
|
selectedSystemDbSync: k = !0,
|
|
925
|
-
selectedSystemMetrics:
|
|
925
|
+
selectedSystemMetrics: A,
|
|
926
926
|
selectedSystemAlerts: $
|
|
927
927
|
}) {
|
|
928
928
|
const [S, N] = R(0);
|
|
929
|
-
|
|
929
|
+
Oe(() => {
|
|
930
930
|
let I;
|
|
931
931
|
if ((o === "compact" || o === "collapsing") && f) {
|
|
932
|
-
const
|
|
933
|
-
N((de) => de + g), I = requestAnimationFrame(
|
|
932
|
+
const H = () => {
|
|
933
|
+
N((de) => de + g), I = requestAnimationFrame(H);
|
|
934
934
|
};
|
|
935
|
-
I = requestAnimationFrame(
|
|
935
|
+
I = requestAnimationFrame(H);
|
|
936
936
|
}
|
|
937
937
|
return () => cancelAnimationFrame(I);
|
|
938
938
|
}, [o, f, g]);
|
|
939
|
-
const B =
|
|
939
|
+
const B = X.Children.toArray(t), z = B.length, U = Ze(
|
|
940
940
|
() => ({
|
|
941
941
|
totalSystems: z,
|
|
942
942
|
carouselRotation: S,
|
|
@@ -967,8 +967,8 @@ function Ht({
|
|
|
967
967
|
x,
|
|
968
968
|
h
|
|
969
969
|
]
|
|
970
|
-
), le = B.map((I,
|
|
971
|
-
return /* @__PURE__ */ d(tt.Provider, { value:
|
|
970
|
+
), le = B.map((I, H) => /* @__PURE__ */ e(it.Provider, { value: { index: H }, children: I }, H)), se = o === "expanded" || o === "expanding" && i >= 4;
|
|
971
|
+
return /* @__PURE__ */ d(tt.Provider, { value: U, 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",
|
|
@@ -993,18 +993,18 @@ function Ht({
|
|
|
993
993
|
le
|
|
994
994
|
] }),
|
|
995
995
|
r && /* @__PURE__ */ e("div", { onClick: (I) => I.stopPropagation(), children: /* @__PURE__ */ e(
|
|
996
|
-
|
|
996
|
+
zt,
|
|
997
997
|
{
|
|
998
998
|
name: r,
|
|
999
999
|
status: b,
|
|
1000
1000
|
dbSync: k,
|
|
1001
1001
|
visible: se && !a,
|
|
1002
|
-
metrics:
|
|
1002
|
+
metrics: A,
|
|
1003
1003
|
alerts: $
|
|
1004
1004
|
}
|
|
1005
1005
|
) }),
|
|
1006
1006
|
a && /* @__PURE__ */ e("div", { onClick: (I) => I.stopPropagation(), children: /* @__PURE__ */ e(
|
|
1007
|
-
|
|
1007
|
+
Ft,
|
|
1008
1008
|
{
|
|
1009
1009
|
component: a,
|
|
1010
1010
|
onClose: w,
|
|
@@ -1015,7 +1015,7 @@ function Ht({
|
|
|
1015
1015
|
) })
|
|
1016
1016
|
] });
|
|
1017
1017
|
}
|
|
1018
|
-
function
|
|
1018
|
+
function Vt({
|
|
1019
1019
|
x1: t,
|
|
1020
1020
|
y1: n,
|
|
1021
1021
|
x2: o,
|
|
@@ -1062,7 +1062,7 @@ function Yt({
|
|
|
1062
1062
|
)
|
|
1063
1063
|
}
|
|
1064
1064
|
),
|
|
1065
|
-
r && /* @__PURE__ */ d(
|
|
1065
|
+
r && /* @__PURE__ */ d(Ie, { children: [
|
|
1066
1066
|
/* @__PURE__ */ e("circle", { r: "3", fill: a, opacity: 0.85, children: /* @__PURE__ */ e(
|
|
1067
1067
|
"animateMotion",
|
|
1068
1068
|
{
|
|
@@ -1082,14 +1082,14 @@ function Yt({
|
|
|
1082
1082
|
] })
|
|
1083
1083
|
] });
|
|
1084
1084
|
}
|
|
1085
|
-
const
|
|
1085
|
+
const _t = [
|
|
1086
1086
|
{ scale: 1, op: 1, delay: "0.0s", bw: "2px", glow: 1 },
|
|
1087
1087
|
{ scale: 0.82, op: 0.88, delay: "0.5s", bw: "1.5px", glow: 0.7 },
|
|
1088
1088
|
{ scale: 0.64, op: 0.72, delay: "1.0s", bw: "1px", glow: 0.5 },
|
|
1089
1089
|
{ scale: 0.47, op: 0.58, delay: "1.5s", bw: "1px", glow: 0.35 },
|
|
1090
1090
|
{ scale: 0.3, op: 0.45, delay: "2.0s", bw: "1px", glow: 0.25 }
|
|
1091
1091
|
];
|
|
1092
|
-
function
|
|
1092
|
+
function jt({
|
|
1093
1093
|
children: t,
|
|
1094
1094
|
size: n = 230,
|
|
1095
1095
|
widthRatio: o = 1,
|
|
@@ -1255,7 +1255,7 @@ function _t({
|
|
|
1255
1255
|
background: `radial-gradient(ellipse, ${i}88 0%, ${i}33 40%, transparent 72%)`,
|
|
1256
1256
|
filter: "blur(12px)"
|
|
1257
1257
|
} }),
|
|
1258
|
-
|
|
1258
|
+
_t.map((s, l) => /* @__PURE__ */ e("div", { style: {
|
|
1259
1259
|
position: "absolute",
|
|
1260
1260
|
width: a * s.scale,
|
|
1261
1261
|
height: n * s.scale,
|
|
@@ -1298,8 +1298,8 @@ function _t({
|
|
|
1298
1298
|
}, children: r })
|
|
1299
1299
|
] });
|
|
1300
1300
|
}
|
|
1301
|
-
const
|
|
1302
|
-
function
|
|
1301
|
+
const ye = He(null), Xt = "cubic-bezier(0.34, 1.56, 0.64, 1)", pt = 330, ft = 340, qt = 660;
|
|
1302
|
+
function vt({
|
|
1303
1303
|
name: t,
|
|
1304
1304
|
status: n = "online",
|
|
1305
1305
|
connections: o = [],
|
|
@@ -1320,24 +1320,24 @@ function xt({
|
|
|
1320
1320
|
_onComponentClick: x,
|
|
1321
1321
|
_containerWidth: w
|
|
1322
1322
|
}) {
|
|
1323
|
-
const b = ae(tt), k = ae(it),
|
|
1323
|
+
const b = ae(tt), k = ae(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, U = f ?? b?.selectedComponent ?? null, le = g ?? b?.rotateY ?? 20, se = h ?? b?.autoRotateComponents ?? !0, I = y ?? b?.componentScale ?? 0.35, H = m ?? b?.drillZoom ?? 3.3, de = v ?? b?.onSelectSystem, ce = x ?? b?.onComponentClick, Y = w ?? b?.containerWidth ?? 950, V = z === t, L = V && (N === "expanded" || N === "expanding" && B >= 1), K = !L, pe = (Y - qt) / 2, me = pt + pe, xe = A / $ * Math.PI * 2 + S, Ye = 420, Ve = 160, fe = me + Math.cos(xe) * Ye, C = 450 + Math.sin(xe) * Ve, ue = Math.round(C), te = !V && (N === "expanding" || N === "expanded"), he = te ? 0 : 1, J = K ? 0.3 + (Math.sin(xe) + 1) * 0.1 : 1, _ = K ? J : I, ve = N === "compact" || N === "collapsing" ? "none" : "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)", De = V && U, _e = De ? H : 1, At = U?.ex ?? 330, It = U?.ey ?? 300, { size: Ot = 90, color: Lt = "#00e5ff", widthRatio: Dt = 3 } = i ?? {}, Nt = {
|
|
1324
1324
|
name: t,
|
|
1325
|
-
isSelected:
|
|
1325
|
+
isSelected: V,
|
|
1326
1326
|
isExpandedPos: L,
|
|
1327
|
-
isCompact:
|
|
1327
|
+
isCompact: K,
|
|
1328
1328
|
animPhase: B,
|
|
1329
|
-
compactCx:
|
|
1330
|
-
compactCy:
|
|
1329
|
+
compactCx: fe,
|
|
1330
|
+
compactCy: C,
|
|
1331
1331
|
groupScale: J,
|
|
1332
|
-
effectiveScale:
|
|
1333
|
-
transitionValue:
|
|
1332
|
+
effectiveScale: _,
|
|
1333
|
+
transitionValue: ve,
|
|
1334
1334
|
rotateY: le,
|
|
1335
1335
|
autoRotateComponents: se,
|
|
1336
|
-
onComponentClick:
|
|
1337
|
-
selectedComponentName:
|
|
1338
|
-
expandedOffsetX:
|
|
1336
|
+
onComponentClick: ce,
|
|
1337
|
+
selectedComponentName: U?.name ?? null,
|
|
1338
|
+
expandedOffsetX: pe
|
|
1339
1339
|
};
|
|
1340
|
-
return /* @__PURE__ */ e(
|
|
1340
|
+
return /* @__PURE__ */ e(ye.Provider, { value: Nt, children: /* @__PURE__ */ d(
|
|
1341
1341
|
"div",
|
|
1342
1342
|
{
|
|
1343
1343
|
style: {
|
|
@@ -1347,21 +1347,21 @@ function xt({
|
|
|
1347
1347
|
width: "100%",
|
|
1348
1348
|
height: "100%",
|
|
1349
1349
|
pointerEvents: "none",
|
|
1350
|
-
opacity:
|
|
1351
|
-
transition: `opacity 0.8s ease, filter 0.5s ease, transform 0.6s ${
|
|
1352
|
-
filter:
|
|
1353
|
-
zIndex:
|
|
1354
|
-
transformOrigin: `${
|
|
1355
|
-
transform: De ? `translate(${-(At - pt) * _e}px, ${-(
|
|
1350
|
+
opacity: he,
|
|
1351
|
+
transition: `opacity 0.8s ease, filter 0.5s ease, transform 0.6s ${Xt}`,
|
|
1352
|
+
filter: K && Math.sin(xe) < -0.5 ? "brightness(0.5) blur(2px)" : "none",
|
|
1353
|
+
zIndex: V ? 500 : te ? 0 : ue,
|
|
1354
|
+
transformOrigin: `${me}px ${ft}px`,
|
|
1355
|
+
transform: De ? `translate(${-(At - pt) * _e}px, ${-(It - ft) * _e}px) scale(${_e})` : "none"
|
|
1356
1356
|
},
|
|
1357
1357
|
children: [
|
|
1358
|
-
|
|
1358
|
+
K && !te && /* @__PURE__ */ e(
|
|
1359
1359
|
"div",
|
|
1360
1360
|
{
|
|
1361
1361
|
style: {
|
|
1362
1362
|
position: "absolute",
|
|
1363
|
-
left:
|
|
1364
|
-
top:
|
|
1363
|
+
left: fe,
|
|
1364
|
+
top: C,
|
|
1365
1365
|
width: 160,
|
|
1366
1366
|
height: 180,
|
|
1367
1367
|
transform: "translate(-50%, -80%)",
|
|
@@ -1374,13 +1374,13 @@ function xt({
|
|
|
1374
1374
|
}
|
|
1375
1375
|
}
|
|
1376
1376
|
),
|
|
1377
|
-
|
|
1377
|
+
K && (n === "warning" || n === "critical") && /* @__PURE__ */ e(
|
|
1378
1378
|
"div",
|
|
1379
1379
|
{
|
|
1380
1380
|
style: {
|
|
1381
1381
|
position: "absolute",
|
|
1382
|
-
left:
|
|
1383
|
-
top:
|
|
1382
|
+
left: fe,
|
|
1383
|
+
top: C - 200,
|
|
1384
1384
|
transform: `translate(-50%, -50%) scale(${J})`,
|
|
1385
1385
|
zIndex: 110,
|
|
1386
1386
|
pointerEvents: "none",
|
|
@@ -1427,13 +1427,13 @@ function xt({
|
|
|
1427
1427
|
{
|
|
1428
1428
|
style: {
|
|
1429
1429
|
position: "absolute",
|
|
1430
|
-
left: L ?
|
|
1431
|
-
top: L ? 48 :
|
|
1430
|
+
left: L ? me : fe,
|
|
1431
|
+
top: L ? 48 : C - 180,
|
|
1432
1432
|
transform: `translate(-50%, -50%) scale(${L ? 1.2 : J * 1.5})`,
|
|
1433
1433
|
opacity: 1,
|
|
1434
1434
|
pointerEvents: "none",
|
|
1435
1435
|
zIndex: 100,
|
|
1436
|
-
transition:
|
|
1436
|
+
transition: ve,
|
|
1437
1437
|
fontSize: 36,
|
|
1438
1438
|
fontWeight: 700,
|
|
1439
1439
|
letterSpacing: "0.18em",
|
|
@@ -1453,25 +1453,25 @@ function xt({
|
|
|
1453
1453
|
style: {
|
|
1454
1454
|
position: "absolute",
|
|
1455
1455
|
top: 0,
|
|
1456
|
-
left: L ?
|
|
1456
|
+
left: L ? pe : 0,
|
|
1457
1457
|
width: 660,
|
|
1458
1458
|
height: 640,
|
|
1459
1459
|
pointerEvents: "none",
|
|
1460
1460
|
zIndex: 0,
|
|
1461
|
-
transition:
|
|
1461
|
+
transition: ve
|
|
1462
1462
|
},
|
|
1463
|
-
children: o.map((ee,
|
|
1464
|
-
|
|
1463
|
+
children: o.map((ee, Wt) => /* @__PURE__ */ e(
|
|
1464
|
+
Vt,
|
|
1465
1465
|
{
|
|
1466
1466
|
x1: ee.from[0],
|
|
1467
1467
|
y1: ee.from[1],
|
|
1468
1468
|
x2: ee.to[0],
|
|
1469
1469
|
y2: ee.to[1],
|
|
1470
|
-
show:
|
|
1470
|
+
show: V && B >= (ee.visibleAtPhase ?? 0),
|
|
1471
1471
|
color: ee.color,
|
|
1472
1472
|
dur: ee.duration
|
|
1473
1473
|
},
|
|
1474
|
-
|
|
1474
|
+
Wt
|
|
1475
1475
|
))
|
|
1476
1476
|
}
|
|
1477
1477
|
),
|
|
@@ -1480,13 +1480,13 @@ function xt({
|
|
|
1480
1480
|
{
|
|
1481
1481
|
style: {
|
|
1482
1482
|
position: "absolute",
|
|
1483
|
-
left: L ?
|
|
1484
|
-
top: L ? 570 :
|
|
1483
|
+
left: L ? me : fe,
|
|
1484
|
+
top: L ? 570 : C + 70,
|
|
1485
1485
|
transform: `translate(-50%, -50%) scaleX(${L ? 1 : 0.4}) scaleY(${L ? 1 : 0.6}) scale(${L ? 1 : J})`,
|
|
1486
|
-
transition:
|
|
1486
|
+
transition: ve,
|
|
1487
1487
|
zIndex: 1
|
|
1488
1488
|
},
|
|
1489
|
-
children: /* @__PURE__ */ e(
|
|
1489
|
+
children: /* @__PURE__ */ e(jt, { size: Ot, color: Lt, widthRatio: Dt, children: /* @__PURE__ */ e("div", { className: "base-hotspot" }) })
|
|
1490
1490
|
}
|
|
1491
1491
|
),
|
|
1492
1492
|
r
|
|
@@ -1506,9 +1506,9 @@ function W({
|
|
|
1506
1506
|
align: u = "right",
|
|
1507
1507
|
internalRef: c
|
|
1508
1508
|
}) {
|
|
1509
|
-
const p = ae(
|
|
1509
|
+
const p = ae(ye), f = p?.expandedOffsetX ?? 0;
|
|
1510
1510
|
if (o === "online") return null;
|
|
1511
|
-
const g = l && !!p?.isExpandedPos, h =
|
|
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 = "";
|
|
1513
1513
|
if (y) {
|
|
1514
1514
|
const S = m + (x - m) / 2;
|
|
@@ -1519,7 +1519,7 @@ function W({
|
|
|
1519
1519
|
}
|
|
1520
1520
|
let k = "translate(0, -50%)";
|
|
1521
1521
|
u === "left" && (k = "translate(-100%, -50%)"), u === "top" && (k = "translate(-50%, -100%)"), u === "bottom" && (k = "translate(-50%, 0)");
|
|
1522
|
-
const
|
|
1522
|
+
const A = u === "left" ? -8 : u === "right" ? 8 : 0, $ = u === "top" ? -8 : u === "bottom" ? 8 : 0;
|
|
1523
1523
|
return /* @__PURE__ */ d(
|
|
1524
1524
|
"div",
|
|
1525
1525
|
{
|
|
@@ -1568,7 +1568,7 @@ function W({
|
|
|
1568
1568
|
left: x,
|
|
1569
1569
|
top: w,
|
|
1570
1570
|
transform: k,
|
|
1571
|
-
marginLeft:
|
|
1571
|
+
marginLeft: A,
|
|
1572
1572
|
marginTop: $,
|
|
1573
1573
|
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)",
|
|
1574
1574
|
border: `1px solid ${h}55`,
|
|
@@ -1641,43 +1641,62 @@ function W({
|
|
|
1641
1641
|
}
|
|
1642
1642
|
);
|
|
1643
1643
|
}
|
|
1644
|
-
const
|
|
1645
|
-
|
|
1644
|
+
const wt = 70, St = 85, Qt = {
|
|
1645
|
+
online: 0,
|
|
1646
|
+
warning: 1,
|
|
1647
|
+
offline: 2,
|
|
1648
|
+
critical: 3
|
|
1649
|
+
};
|
|
1650
|
+
function ut(t) {
|
|
1651
|
+
return Qt[t] ?? 0;
|
|
1652
|
+
}
|
|
1653
|
+
function Kt(t) {
|
|
1646
1654
|
if (!t) return null;
|
|
1647
1655
|
const n = t.dialogMetrics ?? t.context?.dialogMetrics;
|
|
1648
|
-
return n && n.length > 0 ?
|
|
1656
|
+
return n && n.length > 0 ? Gt(n) : Zt(t.context);
|
|
1649
1657
|
}
|
|
1650
|
-
function
|
|
1658
|
+
function Gt(t) {
|
|
1651
1659
|
let n = null;
|
|
1652
1660
|
for (const r of t) {
|
|
1653
1661
|
if (r.color) continue;
|
|
1654
|
-
const a = r.critAt ??
|
|
1655
|
-
r.value >= a ? (!n || n.severity !== "critical") && (n = { metric: r, severity: "critical" }) : r.value >= s && (!n || n.severity !== "critical") && (n = { metric: r, severity: "warning" });
|
|
1662
|
+
const a = r.critAt ?? St, s = r.warnAt ?? wt;
|
|
1663
|
+
r.value >= a ? (!n || n.severity !== "critical" || r.value > n.metric.value) && (n = { metric: r, severity: "critical" }) : r.value >= s && (!n || n.severity !== "critical" && r.value > n.metric.value) && (n = { metric: r, severity: "warning" });
|
|
1656
1664
|
}
|
|
1657
1665
|
if (!n) return null;
|
|
1658
1666
|
const { metric: o, severity: i } = n;
|
|
1659
1667
|
return {
|
|
1668
|
+
severity: i,
|
|
1660
1669
|
msg: `${o.label} at ${o.value}${o.unit ?? "%"}`,
|
|
1661
|
-
internalRef: o.id.toUpperCase()
|
|
1662
|
-
status: i
|
|
1670
|
+
internalRef: o.id.toUpperCase()
|
|
1663
1671
|
};
|
|
1664
1672
|
}
|
|
1665
|
-
function
|
|
1673
|
+
function Zt(t) {
|
|
1666
1674
|
if (!t) return null;
|
|
1667
1675
|
const n = [];
|
|
1668
1676
|
t.cpuLoad !== void 0 && n.push({ label: "CPU", value: t.cpuLoad, id: "CPU" }), t.memLoad !== void 0 && n.push({ label: "MEM", value: t.memLoad, id: "HEAP" }), t.traffic !== void 0 && n.push({ label: "TRAFFIC", value: t.traffic, id: "NET" }), t.queueDepth !== void 0 && n.push({ label: "QUEUE", value: t.queueDepth, id: "QUEUE" }), t.capacity !== void 0 && n.push({ label: "CAPACITY", value: t.capacity, id: "DISK" });
|
|
1669
1677
|
let o = null;
|
|
1670
1678
|
for (const a of n)
|
|
1671
|
-
a.value >=
|
|
1679
|
+
a.value >= St ? (!o || o.severity !== "critical" || a.value > o.entry.value) && (o = { entry: a, severity: "critical" }) : a.value >= wt && (!o || o.severity !== "critical" && a.value > o.entry.value) && (o = { entry: a, severity: "warning" });
|
|
1672
1680
|
if (!o) return null;
|
|
1673
1681
|
const { entry: i, severity: r } = o;
|
|
1674
1682
|
return {
|
|
1683
|
+
severity: r,
|
|
1675
1684
|
msg: `${i.label} at ${i.value}%`,
|
|
1676
|
-
internalRef: i.id
|
|
1677
|
-
status: r
|
|
1685
|
+
internalRef: i.id
|
|
1678
1686
|
};
|
|
1679
1687
|
}
|
|
1680
|
-
function
|
|
1688
|
+
function Jt(t, n) {
|
|
1689
|
+
const o = t?.status ?? "online", i = ut(o), r = Kt(t), a = r ? ut(r.severity) : 0, s = i >= a ? o : r.severity;
|
|
1690
|
+
if (i === 0 && a === 0)
|
|
1691
|
+
return { effectiveSeverity: "online", callout: null };
|
|
1692
|
+
let l;
|
|
1693
|
+
return i >= a && i > 0 ? l = {
|
|
1694
|
+
severity: o,
|
|
1695
|
+
msg: n?.msg ?? `Status: ${o.toUpperCase()}`,
|
|
1696
|
+
internalRef: n?.internalRef
|
|
1697
|
+
} : l = { ...r }, n?.offsetX !== void 0 && (l.offsetX = n.offsetX), n?.offsetY !== void 0 && (l.offsetY = n.offsetY), n?.align !== void 0 && (l.align = n.align), { effectiveSeverity: s, callout: l };
|
|
1698
|
+
}
|
|
1699
|
+
function T({
|
|
1681
1700
|
ex: t,
|
|
1682
1701
|
ey: n,
|
|
1683
1702
|
compactOffset: o,
|
|
@@ -1693,7 +1712,7 @@ function A({
|
|
|
1693
1712
|
bare: g = !1,
|
|
1694
1713
|
alert: h
|
|
1695
1714
|
}) {
|
|
1696
|
-
const y = ae(
|
|
1715
|
+
const y = ae(ye);
|
|
1697
1716
|
if (!y)
|
|
1698
1717
|
throw new Error("ServiceNode must be used inside a <Service> component.");
|
|
1699
1718
|
const {
|
|
@@ -1703,11 +1722,14 @@ function A({
|
|
|
1703
1722
|
compactCy: w,
|
|
1704
1723
|
groupScale: b,
|
|
1705
1724
|
effectiveScale: k,
|
|
1706
|
-
transitionValue:
|
|
1725
|
+
transitionValue: A,
|
|
1707
1726
|
onComponentClick: $,
|
|
1708
1727
|
selectedComponentName: S,
|
|
1709
1728
|
expandedOffsetX: N
|
|
1710
|
-
} = y, z = p === 0 || y.isSelected && v >= p ? 1 : 0,
|
|
1729
|
+
} = y, z = p === 0 || y.isSelected && v >= p ? 1 : 0, U = x + o.x, le = w + o.y, se = m ? t + N : U, I = m ? n : le, H = f !== void 0 ? f : y.isCompact ? b : k, de = !!c && !!S && c.name === S, { effectiveSeverity: ce, callout: Y } = Ze(
|
|
1730
|
+
() => Jt(c, h),
|
|
1731
|
+
[c, h]
|
|
1732
|
+
), V = ce !== "online" ? E[ce]?.color ?? a : a, L = ce === "offline" ? "#4a6a8a" : V, K = c && m && $ ? () => $({
|
|
1711
1733
|
type: c.type,
|
|
1712
1734
|
name: c.name,
|
|
1713
1735
|
status: c.status,
|
|
@@ -1717,11 +1739,8 @@ function A({
|
|
|
1717
1739
|
dialogMetrics: c.dialogMetrics,
|
|
1718
1740
|
subComponents: c.subComponents,
|
|
1719
1741
|
graphSeries: c.graphSeries
|
|
1720
|
-
}) : void 0,
|
|
1721
|
-
|
|
1722
|
-
[h, c]
|
|
1723
|
-
), ce = h ? c?.status ?? "online" : F?.status ?? "online", U = h ?? (F ? { msg: F.msg, internalRef: F.internalRef } : null);
|
|
1724
|
-
return /* @__PURE__ */ d(Ae, { children: [
|
|
1742
|
+
}) : void 0, pe = c?.name ?? s ?? "";
|
|
1743
|
+
return /* @__PURE__ */ d(Ie, { children: [
|
|
1725
1744
|
/* @__PURE__ */ e(
|
|
1726
1745
|
"div",
|
|
1727
1746
|
{
|
|
@@ -1729,46 +1748,46 @@ function A({
|
|
|
1729
1748
|
position: "absolute",
|
|
1730
1749
|
left: se,
|
|
1731
1750
|
top: I,
|
|
1732
|
-
transform: `translate(-50%, -50%) scale(${
|
|
1751
|
+
transform: `translate(-50%, -50%) scale(${H})`,
|
|
1733
1752
|
opacity: z,
|
|
1734
1753
|
zIndex: i,
|
|
1735
|
-
transition:
|
|
1754
|
+
transition: A || "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)",
|
|
1736
1755
|
pointerEvents: m && z >= 0.5 ? "auto" : "none"
|
|
1737
1756
|
},
|
|
1738
1757
|
children: g ? r : /* @__PURE__ */ e(
|
|
1739
|
-
|
|
1758
|
+
ei,
|
|
1740
1759
|
{
|
|
1741
|
-
statusColor:
|
|
1760
|
+
statusColor: L,
|
|
1742
1761
|
label: s,
|
|
1743
1762
|
subLabel: l,
|
|
1744
1763
|
delay: u,
|
|
1745
1764
|
showLabels: m,
|
|
1746
1765
|
isCompact: y.isCompact,
|
|
1747
|
-
onClick:
|
|
1766
|
+
onClick: K,
|
|
1748
1767
|
isSelected: de,
|
|
1749
1768
|
children: r
|
|
1750
1769
|
}
|
|
1751
1770
|
)
|
|
1752
1771
|
}
|
|
1753
1772
|
),
|
|
1754
|
-
|
|
1773
|
+
Y && /* @__PURE__ */ e(
|
|
1755
1774
|
W,
|
|
1756
1775
|
{
|
|
1757
1776
|
ex: t,
|
|
1758
1777
|
ey: n,
|
|
1759
|
-
status:
|
|
1760
|
-
title:
|
|
1761
|
-
msg:
|
|
1762
|
-
offsetX:
|
|
1763
|
-
offsetY:
|
|
1764
|
-
align:
|
|
1765
|
-
internalRef:
|
|
1778
|
+
status: Y.severity,
|
|
1779
|
+
title: pe,
|
|
1780
|
+
msg: Y.msg,
|
|
1781
|
+
offsetX: Y.offsetX ?? 110,
|
|
1782
|
+
offsetY: Y.offsetY ?? -30,
|
|
1783
|
+
align: Y.align ?? "right",
|
|
1784
|
+
internalRef: Y.internalRef,
|
|
1766
1785
|
isVisible: !0
|
|
1767
1786
|
}
|
|
1768
1787
|
)
|
|
1769
1788
|
] });
|
|
1770
1789
|
}
|
|
1771
|
-
function
|
|
1790
|
+
function ei({
|
|
1772
1791
|
children: t,
|
|
1773
1792
|
statusColor: n,
|
|
1774
1793
|
label: o,
|
|
@@ -1808,7 +1827,7 @@ function Gt({
|
|
|
1808
1827
|
}
|
|
1809
1828
|
}
|
|
1810
1829
|
),
|
|
1811
|
-
/* @__PURE__ */ e("div", { style: s ? { background: "#040c1a", borderRadius: 2 } : void 0, children: s &&
|
|
1830
|
+
/* @__PURE__ */ e("div", { style: s ? { background: "#040c1a", borderRadius: 2 } : void 0, children: s && X.isValidElement(t) ? X.cloneElement(t, {
|
|
1812
1831
|
_compact: !0
|
|
1813
1832
|
}) : t })
|
|
1814
1833
|
] }),
|
|
@@ -1829,7 +1848,7 @@ function Gt({
|
|
|
1829
1848
|
}
|
|
1830
1849
|
);
|
|
1831
1850
|
}
|
|
1832
|
-
function
|
|
1851
|
+
function $t({ synced: t, latencyMs: n }) {
|
|
1833
1852
|
const o = t ? "#00ff88" : "#ff8c00";
|
|
1834
1853
|
return /* @__PURE__ */ d("div", { className: "sync-bridge", children: [
|
|
1835
1854
|
/* @__PURE__ */ d("div", { className: "sync-arrows", children: [
|
|
@@ -1864,8 +1883,8 @@ function St({ synced: t, latencyMs: n }) {
|
|
|
1864
1883
|
] })
|
|
1865
1884
|
] });
|
|
1866
1885
|
}
|
|
1867
|
-
const ie = 140,
|
|
1868
|
-
function
|
|
1886
|
+
const ie = 140, j = 240, re = 160, we = et(ie, j, re);
|
|
1887
|
+
function ti({
|
|
1869
1888
|
cfg: t,
|
|
1870
1889
|
name: n,
|
|
1871
1890
|
cpuLoad: o,
|
|
@@ -1885,8 +1904,8 @@ function Zt({
|
|
|
1885
1904
|
{
|
|
1886
1905
|
style: {
|
|
1887
1906
|
width: ie,
|
|
1888
|
-
height:
|
|
1889
|
-
background: a ?
|
|
1907
|
+
height: j,
|
|
1908
|
+
background: a ? Le : Je,
|
|
1890
1909
|
position: "relative",
|
|
1891
1910
|
overflow: "hidden",
|
|
1892
1911
|
fontFamily: "'Courier New', monospace",
|
|
@@ -2277,13 +2296,13 @@ function Zt({
|
|
|
2277
2296
|
}
|
|
2278
2297
|
);
|
|
2279
2298
|
}
|
|
2280
|
-
function
|
|
2299
|
+
function ii() {
|
|
2281
2300
|
return /* @__PURE__ */ d(
|
|
2282
2301
|
"div",
|
|
2283
2302
|
{
|
|
2284
2303
|
style: {
|
|
2285
2304
|
width: ie,
|
|
2286
|
-
height:
|
|
2305
|
+
height: j,
|
|
2287
2306
|
background: "linear-gradient(180deg, #040c1a 0%, #030810 100%)",
|
|
2288
2307
|
position: "relative",
|
|
2289
2308
|
overflow: "hidden",
|
|
@@ -2391,7 +2410,7 @@ function Jt() {
|
|
|
2391
2410
|
}
|
|
2392
2411
|
);
|
|
2393
2412
|
}
|
|
2394
|
-
function
|
|
2413
|
+
function ht({
|
|
2395
2414
|
side: t,
|
|
2396
2415
|
color: n,
|
|
2397
2416
|
brandLabel: o
|
|
@@ -2402,7 +2421,7 @@ function ut({
|
|
|
2402
2421
|
{
|
|
2403
2422
|
style: {
|
|
2404
2423
|
width: re,
|
|
2405
|
-
height:
|
|
2424
|
+
height: j,
|
|
2406
2425
|
background: i ? "linear-gradient(90deg, #040c1c 0%, #071428 60%, #040c1c 100%)" : "linear-gradient(90deg, #040c1c 0%, #071428 40%, #040c1c 100%)",
|
|
2407
2426
|
position: "relative",
|
|
2408
2427
|
overflow: "hidden"
|
|
@@ -2421,7 +2440,7 @@ function ut({
|
|
|
2421
2440
|
}
|
|
2422
2441
|
}
|
|
2423
2442
|
),
|
|
2424
|
-
[8,
|
|
2443
|
+
[8, j - 20].map((r) => /* @__PURE__ */ e(
|
|
2425
2444
|
"div",
|
|
2426
2445
|
{
|
|
2427
2446
|
style: {
|
|
@@ -2443,8 +2462,8 @@ function ut({
|
|
|
2443
2462
|
{
|
|
2444
2463
|
style: {
|
|
2445
2464
|
position: "absolute",
|
|
2446
|
-
top:
|
|
2447
|
-
bottom:
|
|
2465
|
+
top: j * 0.35,
|
|
2466
|
+
bottom: j * 0.15,
|
|
2448
2467
|
left: i ? 22 : 18,
|
|
2449
2468
|
right: i ? 18 : 22,
|
|
2450
2469
|
display: "flex",
|
|
@@ -2472,7 +2491,7 @@ function ut({
|
|
|
2472
2491
|
{
|
|
2473
2492
|
style: {
|
|
2474
2493
|
position: "absolute",
|
|
2475
|
-
top:
|
|
2494
|
+
top: j * 0.18,
|
|
2476
2495
|
left: i ? 12 : re - 78,
|
|
2477
2496
|
fontSize: 7,
|
|
2478
2497
|
color: "#1a3050",
|
|
@@ -2491,7 +2510,7 @@ function ut({
|
|
|
2491
2510
|
}
|
|
2492
2511
|
);
|
|
2493
2512
|
}
|
|
2494
|
-
function
|
|
2513
|
+
function ni({ cpuLoad: t }) {
|
|
2495
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((re - 18) / 7);
|
|
2496
2515
|
return /* @__PURE__ */ d(
|
|
2497
2516
|
"div",
|
|
@@ -2571,7 +2590,7 @@ function ei({ cpuLoad: t }) {
|
|
|
2571
2590
|
}
|
|
2572
2591
|
);
|
|
2573
2592
|
}
|
|
2574
|
-
function
|
|
2593
|
+
function ge({
|
|
2575
2594
|
rotateX: t = -22,
|
|
2576
2595
|
rotateY: n = 20,
|
|
2577
2596
|
rotateZ: o = 0,
|
|
@@ -2585,7 +2604,7 @@ function be({
|
|
|
2585
2604
|
_compact: p
|
|
2586
2605
|
}) {
|
|
2587
2606
|
const [f, g] = R(n), h = Z(0), y = Z(0);
|
|
2588
|
-
|
|
2607
|
+
Oe(() => {
|
|
2589
2608
|
if (!r) {
|
|
2590
2609
|
g(n);
|
|
2591
2610
|
return;
|
|
@@ -2597,13 +2616,13 @@ function be({
|
|
|
2597
2616
|
cancelAnimationFrame(h.current), y.current = 0;
|
|
2598
2617
|
};
|
|
2599
2618
|
}, [r, n]);
|
|
2600
|
-
const m =
|
|
2619
|
+
const m = E[a] ?? E.online;
|
|
2601
2620
|
return /* @__PURE__ */ d(
|
|
2602
2621
|
"div",
|
|
2603
2622
|
{
|
|
2604
2623
|
style: {
|
|
2605
2624
|
width: ie * i,
|
|
2606
|
-
height:
|
|
2625
|
+
height: j * i,
|
|
2607
2626
|
position: "relative",
|
|
2608
2627
|
display: "flex",
|
|
2609
2628
|
alignItems: "center",
|
|
@@ -2656,7 +2675,7 @@ function be({
|
|
|
2656
2675
|
style: {
|
|
2657
2676
|
position: "absolute",
|
|
2658
2677
|
width: ie * 1.4 * i,
|
|
2659
|
-
height:
|
|
2678
|
+
height: j * 0.8 * i,
|
|
2660
2679
|
background: `radial-gradient(ellipse, ${m.glow} 0%, transparent 65%)`,
|
|
2661
2680
|
filter: `blur(${Math.round(45 * i)}px)`,
|
|
2662
2681
|
pointerEvents: "none",
|
|
@@ -2680,15 +2699,15 @@ function be({
|
|
|
2680
2699
|
{
|
|
2681
2700
|
style: {
|
|
2682
2701
|
width: ie,
|
|
2683
|
-
height:
|
|
2702
|
+
height: j,
|
|
2684
2703
|
position: "relative",
|
|
2685
2704
|
transformStyle: "preserve-3d",
|
|
2686
2705
|
transform: `rotateX(${t}deg) rotateY(${f}deg) rotateZ(${o}deg)`,
|
|
2687
2706
|
transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
|
|
2688
2707
|
},
|
|
2689
2708
|
children: [
|
|
2690
|
-
/* @__PURE__ */ e("div", { style:
|
|
2691
|
-
|
|
2709
|
+
/* @__PURE__ */ e("div", { style: we.front, children: /* @__PURE__ */ e(
|
|
2710
|
+
ti,
|
|
2692
2711
|
{
|
|
2693
2712
|
cfg: m,
|
|
2694
2713
|
name: s,
|
|
@@ -2699,11 +2718,11 @@ function be({
|
|
|
2699
2718
|
brandLabel: c
|
|
2700
2719
|
}
|
|
2701
2720
|
) }),
|
|
2702
|
-
/* @__PURE__ */ e("div", { style:
|
|
2703
|
-
/* @__PURE__ */ e("div", { style:
|
|
2704
|
-
/* @__PURE__ */ e("div", { style:
|
|
2705
|
-
/* @__PURE__ */ e("div", { style:
|
|
2706
|
-
/* @__PURE__ */ e("div", { style:
|
|
2721
|
+
/* @__PURE__ */ e("div", { style: we.back, children: /* @__PURE__ */ e(ii, {}) }),
|
|
2722
|
+
/* @__PURE__ */ e("div", { style: we.left, children: /* @__PURE__ */ e(ht, { side: "left", color: m.color, brandLabel: c }) }),
|
|
2723
|
+
/* @__PURE__ */ e("div", { style: we.right, children: /* @__PURE__ */ e(ht, { side: "right", color: m.color, brandLabel: c }) }),
|
|
2724
|
+
/* @__PURE__ */ e("div", { style: we.top, children: /* @__PURE__ */ e(ni, { cpuLoad: l }) }),
|
|
2725
|
+
/* @__PURE__ */ e("div", { style: we.bottom, children: /* @__PURE__ */ e(
|
|
2707
2726
|
"div",
|
|
2708
2727
|
{
|
|
2709
2728
|
style: {
|
|
@@ -2722,7 +2741,7 @@ function be({
|
|
|
2722
2741
|
}
|
|
2723
2742
|
);
|
|
2724
2743
|
}
|
|
2725
|
-
function
|
|
2744
|
+
function zi({
|
|
2726
2745
|
ex: t,
|
|
2727
2746
|
ey: n,
|
|
2728
2747
|
compactOffset: o,
|
|
@@ -2742,7 +2761,7 @@ function Ni({
|
|
|
2742
2761
|
alert: v
|
|
2743
2762
|
}) {
|
|
2744
2763
|
return /* @__PURE__ */ e(
|
|
2745
|
-
|
|
2764
|
+
T,
|
|
2746
2765
|
{
|
|
2747
2766
|
ex: t,
|
|
2748
2767
|
ey: n,
|
|
@@ -2763,15 +2782,15 @@ function Ni({
|
|
|
2763
2782
|
graphSeries: m
|
|
2764
2783
|
},
|
|
2765
2784
|
alert: v,
|
|
2766
|
-
children: /* @__PURE__ */ e(
|
|
2785
|
+
children: /* @__PURE__ */ e(ge, { status: a, cpuLoad: p, memLoad: f, brandLabel: g })
|
|
2767
2786
|
}
|
|
2768
2787
|
);
|
|
2769
2788
|
}
|
|
2770
|
-
const Ge = 12,
|
|
2789
|
+
const Ge = 12, be = 55, G = be * 2, Re = 52, nt = 10, je = 3 * Re + 2 * nt, Se = 2 * Math.PI * be / Ge, Xe = Array.from({ length: Ge }, (t, n) => n / Ge * 360);
|
|
2771
2790
|
function qe(t) {
|
|
2772
2791
|
return Math.cos(t * Math.PI / 180) * 0.42 + 0.58;
|
|
2773
2792
|
}
|
|
2774
|
-
function
|
|
2793
|
+
function oi({
|
|
2775
2794
|
diskY: t,
|
|
2776
2795
|
diskIdx: n,
|
|
2777
2796
|
cfg: o,
|
|
@@ -2779,7 +2798,7 @@ function ti({
|
|
|
2779
2798
|
capacity: r,
|
|
2780
2799
|
compact: a
|
|
2781
2800
|
}) {
|
|
2782
|
-
return /* @__PURE__ */ d(
|
|
2801
|
+
return /* @__PURE__ */ d(Ie, { children: [
|
|
2783
2802
|
Xe.map((s, l) => {
|
|
2784
2803
|
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");
|
|
2785
2804
|
return /* @__PURE__ */ e(
|
|
@@ -2787,17 +2806,17 @@ function ti({
|
|
|
2787
2806
|
{
|
|
2788
2807
|
style: {
|
|
2789
2808
|
position: "absolute",
|
|
2790
|
-
width:
|
|
2791
|
-
height:
|
|
2792
|
-
left: (G -
|
|
2809
|
+
width: Se,
|
|
2810
|
+
height: Re,
|
|
2811
|
+
left: (G - Se) / 2,
|
|
2793
2812
|
top: t,
|
|
2794
|
-
transform: `rotateY(${s}deg) translateZ(${
|
|
2813
|
+
transform: `rotateY(${s}deg) translateZ(${be}px)`,
|
|
2795
2814
|
backfaceVisibility: "hidden",
|
|
2796
2815
|
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})`,
|
|
2797
2816
|
borderLeft: `1px solid ${o.color}${h}`,
|
|
2798
2817
|
boxShadow: c ? `inset 0 0 18px ${o.color}28` : "none"
|
|
2799
2818
|
},
|
|
2800
|
-
children: c && /* @__PURE__ */ d(
|
|
2819
|
+
children: c && /* @__PURE__ */ d(Ie, { children: [
|
|
2801
2820
|
/* @__PURE__ */ e(
|
|
2802
2821
|
"div",
|
|
2803
2822
|
{
|
|
@@ -2853,7 +2872,7 @@ function ti({
|
|
|
2853
2872
|
width: G + 4,
|
|
2854
2873
|
height: G + 4,
|
|
2855
2874
|
left: -2,
|
|
2856
|
-
top: t -
|
|
2875
|
+
top: t - be,
|
|
2857
2876
|
borderRadius: "50%",
|
|
2858
2877
|
transform: "rotateX(90deg)",
|
|
2859
2878
|
backfaceVisibility: "hidden",
|
|
@@ -2914,7 +2933,7 @@ function ti({
|
|
|
2914
2933
|
width: G + 4,
|
|
2915
2934
|
height: G + 4,
|
|
2916
2935
|
left: -2,
|
|
2917
|
-
top: t +
|
|
2936
|
+
top: t + Re - be,
|
|
2918
2937
|
borderRadius: "50%",
|
|
2919
2938
|
transform: "rotateX(-90deg)",
|
|
2920
2939
|
backfaceVisibility: "hidden",
|
|
@@ -2945,11 +2964,11 @@ function ti({
|
|
|
2945
2964
|
{
|
|
2946
2965
|
style: {
|
|
2947
2966
|
position: "absolute",
|
|
2948
|
-
width:
|
|
2967
|
+
width: Se + 1.5,
|
|
2949
2968
|
height: 6,
|
|
2950
|
-
left: (G -
|
|
2951
|
-
top: t +
|
|
2952
|
-
transform: `rotateY(${s}deg) translateZ(${
|
|
2969
|
+
left: (G - Se - 1.5) / 2,
|
|
2970
|
+
top: t + Re - 3,
|
|
2971
|
+
transform: `rotateY(${s}deg) translateZ(${be + 1.5}px)`,
|
|
2953
2972
|
backfaceVisibility: "hidden",
|
|
2954
2973
|
background: o.color,
|
|
2955
2974
|
boxShadow: `0 0 8px ${o.color}, 0 0 18px ${o.color}aa, 0 0 30px ${o.glow}`,
|
|
@@ -2966,11 +2985,11 @@ function ti({
|
|
|
2966
2985
|
{
|
|
2967
2986
|
style: {
|
|
2968
2987
|
position: "absolute",
|
|
2969
|
-
width:
|
|
2988
|
+
width: Se,
|
|
2970
2989
|
height: nt,
|
|
2971
|
-
left: (G -
|
|
2972
|
-
top: t +
|
|
2973
|
-
transform: `rotateY(${s}deg) translateZ(${
|
|
2990
|
+
left: (G - Se) / 2,
|
|
2991
|
+
top: t + Re,
|
|
2992
|
+
transform: `rotateY(${s}deg) translateZ(${be}px)`,
|
|
2974
2993
|
backfaceVisibility: "hidden",
|
|
2975
2994
|
background: `rgb(${c},${p},${f})`
|
|
2976
2995
|
}
|
|
@@ -2993,7 +3012,7 @@ function Ne({
|
|
|
2993
3012
|
_compact: l
|
|
2994
3013
|
}) {
|
|
2995
3014
|
const [u, c] = R(n), p = Z(0), f = Z(0);
|
|
2996
|
-
|
|
3015
|
+
Oe(() => {
|
|
2997
3016
|
if (!r) {
|
|
2998
3017
|
c(n);
|
|
2999
3018
|
return;
|
|
@@ -3005,7 +3024,7 @@ function Ne({
|
|
|
3005
3024
|
cancelAnimationFrame(p.current), f.current = 0;
|
|
3006
3025
|
};
|
|
3007
3026
|
}, [r, n]);
|
|
3008
|
-
const g =
|
|
3027
|
+
const g = E[a] ?? E.online;
|
|
3009
3028
|
return /* @__PURE__ */ d(
|
|
3010
3029
|
"div",
|
|
3011
3030
|
{
|
|
@@ -3103,9 +3122,9 @@ function Ne({
|
|
|
3103
3122
|
transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
|
|
3104
3123
|
},
|
|
3105
3124
|
children: [0, 1, 2].map((h) => /* @__PURE__ */ e(
|
|
3106
|
-
|
|
3125
|
+
oi,
|
|
3107
3126
|
{
|
|
3108
|
-
diskY: h * (
|
|
3127
|
+
diskY: h * (Re + nt),
|
|
3109
3128
|
diskIdx: h,
|
|
3110
3129
|
cfg: g,
|
|
3111
3130
|
hasRingBelow: h < 2,
|
|
@@ -3122,7 +3141,7 @@ function Ne({
|
|
|
3122
3141
|
}
|
|
3123
3142
|
);
|
|
3124
3143
|
}
|
|
3125
|
-
function
|
|
3144
|
+
function Bi({
|
|
3126
3145
|
ex: t,
|
|
3127
3146
|
ey: n,
|
|
3128
3147
|
compactOffset: o,
|
|
@@ -3140,7 +3159,7 @@ function Wi({
|
|
|
3140
3159
|
alert: y
|
|
3141
3160
|
}) {
|
|
3142
3161
|
return /* @__PURE__ */ e(
|
|
3143
|
-
|
|
3162
|
+
T,
|
|
3144
3163
|
{
|
|
3145
3164
|
ex: t,
|
|
3146
3165
|
ey: n,
|
|
@@ -3166,7 +3185,7 @@ function Wi({
|
|
|
3166
3185
|
);
|
|
3167
3186
|
}
|
|
3168
3187
|
function ot({ status: t = "online", scale: n = 1 }) {
|
|
3169
|
-
const i = (
|
|
3188
|
+
const i = (E[t] ?? E.online).color;
|
|
3170
3189
|
return /* @__PURE__ */ e(
|
|
3171
3190
|
"div",
|
|
3172
3191
|
{
|
|
@@ -3277,7 +3296,7 @@ function ot({ status: t = "online", scale: n = 1 }) {
|
|
|
3277
3296
|
}
|
|
3278
3297
|
);
|
|
3279
3298
|
}
|
|
3280
|
-
function
|
|
3299
|
+
function Fi({
|
|
3281
3300
|
ex: t,
|
|
3282
3301
|
ey: n,
|
|
3283
3302
|
compactOffset: o,
|
|
@@ -3288,7 +3307,7 @@ function Mi({
|
|
|
3288
3307
|
visibleAtPhase: l
|
|
3289
3308
|
}) {
|
|
3290
3309
|
return /* @__PURE__ */ e(
|
|
3291
|
-
|
|
3310
|
+
T,
|
|
3292
3311
|
{
|
|
3293
3312
|
ex: t,
|
|
3294
3313
|
ey: n,
|
|
@@ -3300,8 +3319,8 @@ function Mi({
|
|
|
3300
3319
|
}
|
|
3301
3320
|
);
|
|
3302
3321
|
}
|
|
3303
|
-
const ne = 190,
|
|
3304
|
-
function
|
|
3322
|
+
const ne = 190, q = 72, Ee = 120, $e = et(ne, q, Ee);
|
|
3323
|
+
function ri({
|
|
3305
3324
|
cfg: t,
|
|
3306
3325
|
name: n,
|
|
3307
3326
|
traffic: o,
|
|
@@ -3314,8 +3333,8 @@ function ii({
|
|
|
3314
3333
|
{
|
|
3315
3334
|
style: {
|
|
3316
3335
|
width: ne,
|
|
3317
|
-
height:
|
|
3318
|
-
background: r ?
|
|
3336
|
+
height: q,
|
|
3337
|
+
background: r ? Le : Je,
|
|
3319
3338
|
position: "relative",
|
|
3320
3339
|
overflow: "hidden",
|
|
3321
3340
|
fontFamily: "'Courier New', monospace",
|
|
@@ -3563,13 +3582,13 @@ function ii({
|
|
|
3563
3582
|
}
|
|
3564
3583
|
);
|
|
3565
3584
|
}
|
|
3566
|
-
function
|
|
3585
|
+
function ai() {
|
|
3567
3586
|
return /* @__PURE__ */ d(
|
|
3568
3587
|
"div",
|
|
3569
3588
|
{
|
|
3570
3589
|
style: {
|
|
3571
3590
|
width: ne,
|
|
3572
|
-
height:
|
|
3591
|
+
height: q,
|
|
3573
3592
|
background: "linear-gradient(180deg, #040c1a, #030810)",
|
|
3574
3593
|
position: "relative",
|
|
3575
3594
|
overflow: "hidden",
|
|
@@ -3584,7 +3603,7 @@ function ni() {
|
|
|
3584
3603
|
{
|
|
3585
3604
|
style: {
|
|
3586
3605
|
width: 40,
|
|
3587
|
-
height:
|
|
3606
|
+
height: q - 16,
|
|
3588
3607
|
background: "#020710",
|
|
3589
3608
|
border: "1px solid #1a2d40",
|
|
3590
3609
|
borderRadius: 2,
|
|
@@ -3640,7 +3659,7 @@ function ni() {
|
|
|
3640
3659
|
style: {
|
|
3641
3660
|
marginLeft: "auto",
|
|
3642
3661
|
width: 12,
|
|
3643
|
-
height:
|
|
3662
|
+
height: q - 16,
|
|
3644
3663
|
background: "#020710",
|
|
3645
3664
|
border: "1px solid #1a3050",
|
|
3646
3665
|
borderRadius: 1
|
|
@@ -3651,13 +3670,13 @@ function ni() {
|
|
|
3651
3670
|
}
|
|
3652
3671
|
);
|
|
3653
3672
|
}
|
|
3654
|
-
function
|
|
3673
|
+
function bt({ side: t, color: n }) {
|
|
3655
3674
|
return /* @__PURE__ */ d(
|
|
3656
3675
|
"div",
|
|
3657
3676
|
{
|
|
3658
3677
|
style: {
|
|
3659
|
-
width:
|
|
3660
|
-
height:
|
|
3678
|
+
width: Ee,
|
|
3679
|
+
height: q,
|
|
3661
3680
|
background: t === "right" ? "linear-gradient(90deg, #04091a 0%, #071428 60%, #040c1c 100%)" : "linear-gradient(90deg, #040c1c 0%, #071428 40%, #04091a 100%)",
|
|
3662
3681
|
position: "relative",
|
|
3663
3682
|
overflow: "hidden"
|
|
@@ -3681,8 +3700,8 @@ function ht({ side: t, color: n }) {
|
|
|
3681
3700
|
{
|
|
3682
3701
|
style: {
|
|
3683
3702
|
position: "absolute",
|
|
3684
|
-
top:
|
|
3685
|
-
bottom:
|
|
3703
|
+
top: q * 0.25,
|
|
3704
|
+
bottom: q * 0.25,
|
|
3686
3705
|
left: 14,
|
|
3687
3706
|
right: 14,
|
|
3688
3707
|
display: "flex",
|
|
@@ -3708,14 +3727,14 @@ function ht({ side: t, color: n }) {
|
|
|
3708
3727
|
}
|
|
3709
3728
|
);
|
|
3710
3729
|
}
|
|
3711
|
-
function
|
|
3712
|
-
const n = Math.floor((
|
|
3730
|
+
function li({ traffic: t }) {
|
|
3731
|
+
const n = Math.floor((Ee - 14) / 7);
|
|
3713
3732
|
return /* @__PURE__ */ d(
|
|
3714
3733
|
"div",
|
|
3715
3734
|
{
|
|
3716
3735
|
style: {
|
|
3717
3736
|
width: ne,
|
|
3718
|
-
height:
|
|
3737
|
+
height: Ee,
|
|
3719
3738
|
background: "linear-gradient(180deg, #0c1c30 0%, #07101e 40%, #040c1a 100%)",
|
|
3720
3739
|
position: "relative",
|
|
3721
3740
|
overflow: "hidden"
|
|
@@ -3729,7 +3748,7 @@ function oi({ traffic: t }) {
|
|
|
3729
3748
|
top: 0,
|
|
3730
3749
|
left: 0,
|
|
3731
3750
|
right: 0,
|
|
3732
|
-
height:
|
|
3751
|
+
height: Ee * 0.35,
|
|
3733
3752
|
background: `radial-gradient(ellipse at 50% 0%,
|
|
3734
3753
|
${t > 70 ? "rgba(255,34,85,0.14)" : "rgba(0,229,255,0.08)"} 0%,
|
|
3735
3754
|
transparent 70%)`
|
|
@@ -3780,7 +3799,7 @@ function rt({
|
|
|
3780
3799
|
_compact: c
|
|
3781
3800
|
}) {
|
|
3782
3801
|
const [p, f] = R(n), g = Z(0), h = Z(0);
|
|
3783
|
-
|
|
3802
|
+
Oe(() => {
|
|
3784
3803
|
if (!r) {
|
|
3785
3804
|
f(n);
|
|
3786
3805
|
return;
|
|
@@ -3792,13 +3811,13 @@ function rt({
|
|
|
3792
3811
|
cancelAnimationFrame(g.current), h.current = 0;
|
|
3793
3812
|
};
|
|
3794
3813
|
}, [r, n]);
|
|
3795
|
-
const y =
|
|
3814
|
+
const y = E[a] ?? E.online;
|
|
3796
3815
|
return /* @__PURE__ */ d(
|
|
3797
3816
|
"div",
|
|
3798
3817
|
{
|
|
3799
3818
|
style: {
|
|
3800
3819
|
width: ne * i,
|
|
3801
|
-
height:
|
|
3820
|
+
height: q * i,
|
|
3802
3821
|
position: "relative",
|
|
3803
3822
|
display: "flex",
|
|
3804
3823
|
alignItems: "center",
|
|
@@ -3859,7 +3878,7 @@ function rt({
|
|
|
3859
3878
|
style: {
|
|
3860
3879
|
position: "absolute",
|
|
3861
3880
|
width: ne * 1.3 * i,
|
|
3862
|
-
height:
|
|
3881
|
+
height: q * 2 * i,
|
|
3863
3882
|
background: `radial-gradient(ellipse, ${y.glow} 0%, transparent 65%)`,
|
|
3864
3883
|
filter: `blur(${Math.round(40 * i)}px)`,
|
|
3865
3884
|
pointerEvents: "none",
|
|
@@ -3883,15 +3902,15 @@ function rt({
|
|
|
3883
3902
|
{
|
|
3884
3903
|
style: {
|
|
3885
3904
|
width: ne,
|
|
3886
|
-
height:
|
|
3905
|
+
height: q,
|
|
3887
3906
|
position: "relative",
|
|
3888
3907
|
transformStyle: "preserve-3d",
|
|
3889
3908
|
transform: `rotateX(${t}deg) rotateY(${p}deg) rotateZ(${o}deg)`,
|
|
3890
3909
|
transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
|
|
3891
3910
|
},
|
|
3892
3911
|
children: [
|
|
3893
|
-
/* @__PURE__ */ e("div", { style:
|
|
3894
|
-
|
|
3912
|
+
/* @__PURE__ */ e("div", { style: $e.front, children: /* @__PURE__ */ e(
|
|
3913
|
+
ri,
|
|
3895
3914
|
{
|
|
3896
3915
|
cfg: y,
|
|
3897
3916
|
name: s,
|
|
@@ -3900,11 +3919,11 @@ function rt({
|
|
|
3900
3919
|
compact: c
|
|
3901
3920
|
}
|
|
3902
3921
|
) }),
|
|
3903
|
-
/* @__PURE__ */ e("div", { style:
|
|
3904
|
-
/* @__PURE__ */ e("div", { style:
|
|
3905
|
-
/* @__PURE__ */ e("div", { style:
|
|
3906
|
-
/* @__PURE__ */ e("div", { style:
|
|
3907
|
-
/* @__PURE__ */ e("div", { style:
|
|
3922
|
+
/* @__PURE__ */ e("div", { style: $e.back, children: /* @__PURE__ */ e(ai, {}) }),
|
|
3923
|
+
/* @__PURE__ */ e("div", { style: $e.left, children: /* @__PURE__ */ e(bt, { side: "left", color: y.color }) }),
|
|
3924
|
+
/* @__PURE__ */ e("div", { style: $e.right, children: /* @__PURE__ */ e(bt, { side: "right", color: y.color }) }),
|
|
3925
|
+
/* @__PURE__ */ e("div", { style: $e.top, children: /* @__PURE__ */ e(li, { traffic: l }) }),
|
|
3926
|
+
/* @__PURE__ */ e("div", { style: $e.bottom, children: /* @__PURE__ */ e("div", { style: { width: ne, height: Ee, background: "#020508" } }) })
|
|
3908
3927
|
]
|
|
3909
3928
|
}
|
|
3910
3929
|
)
|
|
@@ -3914,7 +3933,7 @@ function rt({
|
|
|
3914
3933
|
}
|
|
3915
3934
|
);
|
|
3916
3935
|
}
|
|
3917
|
-
function
|
|
3936
|
+
function Ui({
|
|
3918
3937
|
ex: t,
|
|
3919
3938
|
ey: n,
|
|
3920
3939
|
compactOffset: o,
|
|
@@ -3933,7 +3952,7 @@ function zi({
|
|
|
3933
3952
|
alert: m
|
|
3934
3953
|
}) {
|
|
3935
3954
|
return /* @__PURE__ */ e(
|
|
3936
|
-
|
|
3955
|
+
T,
|
|
3937
3956
|
{
|
|
3938
3957
|
ex: t,
|
|
3939
3958
|
ey: n,
|
|
@@ -3958,13 +3977,13 @@ function zi({
|
|
|
3958
3977
|
}
|
|
3959
3978
|
);
|
|
3960
3979
|
}
|
|
3961
|
-
const oe = 190,
|
|
3980
|
+
const oe = 190, Q = 72, Ce = 120, ke = et(oe, Q, Ce), gt = {
|
|
3962
3981
|
online: { color: "#bb55ff", glow: "rgba(187,85,255,0.50)" },
|
|
3963
3982
|
warning: { color: "#ff8c00", glow: "rgba(255,140,0,0.50)" },
|
|
3964
3983
|
critical: { color: "#ff2255", glow: "rgba(255,34,85,0.50)" },
|
|
3965
3984
|
offline: { color: "#1e3a5a", glow: "rgba(30,58,90,0.25)" }
|
|
3966
3985
|
};
|
|
3967
|
-
function
|
|
3986
|
+
function si({
|
|
3968
3987
|
cfg: t,
|
|
3969
3988
|
name: n,
|
|
3970
3989
|
queueDepth: o,
|
|
@@ -3978,8 +3997,8 @@ function ri({
|
|
|
3978
3997
|
{
|
|
3979
3998
|
style: {
|
|
3980
3999
|
width: oe,
|
|
3981
|
-
height:
|
|
3982
|
-
background: a ?
|
|
4000
|
+
height: Q,
|
|
4001
|
+
background: a ? Le : Je,
|
|
3983
4002
|
position: "relative",
|
|
3984
4003
|
overflow: "hidden",
|
|
3985
4004
|
fontFamily: "'Courier New', monospace",
|
|
@@ -4223,13 +4242,13 @@ function ri({
|
|
|
4223
4242
|
}
|
|
4224
4243
|
);
|
|
4225
4244
|
}
|
|
4226
|
-
function
|
|
4245
|
+
function di() {
|
|
4227
4246
|
return /* @__PURE__ */ d(
|
|
4228
4247
|
"div",
|
|
4229
4248
|
{
|
|
4230
4249
|
style: {
|
|
4231
4250
|
width: oe,
|
|
4232
|
-
height:
|
|
4251
|
+
height: Q,
|
|
4233
4252
|
background: "linear-gradient(180deg, #040c1a, #030810)",
|
|
4234
4253
|
position: "relative",
|
|
4235
4254
|
overflow: "hidden",
|
|
@@ -4244,7 +4263,7 @@ function ai() {
|
|
|
4244
4263
|
{
|
|
4245
4264
|
style: {
|
|
4246
4265
|
width: 40,
|
|
4247
|
-
height:
|
|
4266
|
+
height: Q - 16,
|
|
4248
4267
|
background: "#020710",
|
|
4249
4268
|
border: "1px solid #1a2d40",
|
|
4250
4269
|
borderRadius: 2,
|
|
@@ -4300,7 +4319,7 @@ function ai() {
|
|
|
4300
4319
|
style: {
|
|
4301
4320
|
marginLeft: "auto",
|
|
4302
4321
|
width: 12,
|
|
4303
|
-
height:
|
|
4322
|
+
height: Q - 16,
|
|
4304
4323
|
background: "#020710",
|
|
4305
4324
|
border: "1px solid #1a3050",
|
|
4306
4325
|
borderRadius: 1
|
|
@@ -4311,13 +4330,13 @@ function ai() {
|
|
|
4311
4330
|
}
|
|
4312
4331
|
);
|
|
4313
4332
|
}
|
|
4314
|
-
function
|
|
4333
|
+
function yt({ side: t, color: n }) {
|
|
4315
4334
|
return /* @__PURE__ */ d(
|
|
4316
4335
|
"div",
|
|
4317
4336
|
{
|
|
4318
4337
|
style: {
|
|
4319
|
-
width:
|
|
4320
|
-
height:
|
|
4338
|
+
width: Ce,
|
|
4339
|
+
height: Q,
|
|
4321
4340
|
background: t === "right" ? "linear-gradient(90deg, #04091a 0%, #071428 60%, #040c1c 100%)" : "linear-gradient(90deg, #040c1c 0%, #071428 40%, #04091a 100%)",
|
|
4322
4341
|
position: "relative",
|
|
4323
4342
|
overflow: "hidden"
|
|
@@ -4341,8 +4360,8 @@ function gt({ side: t, color: n }) {
|
|
|
4341
4360
|
{
|
|
4342
4361
|
style: {
|
|
4343
4362
|
position: "absolute",
|
|
4344
|
-
top:
|
|
4345
|
-
bottom:
|
|
4363
|
+
top: Q * 0.25,
|
|
4364
|
+
bottom: Q * 0.25,
|
|
4346
4365
|
left: 14,
|
|
4347
4366
|
right: 14,
|
|
4348
4367
|
display: "flex",
|
|
@@ -4368,14 +4387,14 @@ function gt({ side: t, color: n }) {
|
|
|
4368
4387
|
}
|
|
4369
4388
|
);
|
|
4370
4389
|
}
|
|
4371
|
-
function
|
|
4372
|
-
const o = Math.floor((
|
|
4390
|
+
function ci({ queueDepth: t, color: n }) {
|
|
4391
|
+
const o = Math.floor((Ce - 14) / 7);
|
|
4373
4392
|
return /* @__PURE__ */ d(
|
|
4374
4393
|
"div",
|
|
4375
4394
|
{
|
|
4376
4395
|
style: {
|
|
4377
4396
|
width: oe,
|
|
4378
|
-
height:
|
|
4397
|
+
height: Ce,
|
|
4379
4398
|
background: "linear-gradient(180deg, #0c1c30 0%, #07101e 40%, #040c1a 100%)",
|
|
4380
4399
|
position: "relative",
|
|
4381
4400
|
overflow: "hidden"
|
|
@@ -4389,7 +4408,7 @@ function li({ queueDepth: t, color: n }) {
|
|
|
4389
4408
|
top: 0,
|
|
4390
4409
|
left: 0,
|
|
4391
4410
|
right: 0,
|
|
4392
|
-
height:
|
|
4411
|
+
height: Ce * 0.35,
|
|
4393
4412
|
background: `radial-gradient(ellipse at 50% 0%,
|
|
4394
4413
|
${t > 70 ? "rgba(255,34,85,0.14)" : `${n}15`} 0%,
|
|
4395
4414
|
transparent 70%)`
|
|
@@ -4427,7 +4446,7 @@ function li({ queueDepth: t, color: n }) {
|
|
|
4427
4446
|
}
|
|
4428
4447
|
);
|
|
4429
4448
|
}
|
|
4430
|
-
function
|
|
4449
|
+
function kt({
|
|
4431
4450
|
rotateX: t = -20,
|
|
4432
4451
|
rotateY: n = 20,
|
|
4433
4452
|
rotateZ: o = 0,
|
|
@@ -4441,7 +4460,7 @@ function $t({
|
|
|
4441
4460
|
_compact: p
|
|
4442
4461
|
}) {
|
|
4443
4462
|
const [f, g] = R(n), h = Z(0), y = Z(0);
|
|
4444
|
-
|
|
4463
|
+
Oe(() => {
|
|
4445
4464
|
if (!r) {
|
|
4446
4465
|
g(n);
|
|
4447
4466
|
return;
|
|
@@ -4453,13 +4472,13 @@ function $t({
|
|
|
4453
4472
|
cancelAnimationFrame(h.current), y.current = 0;
|
|
4454
4473
|
};
|
|
4455
4474
|
}, [r, n]);
|
|
4456
|
-
const m =
|
|
4475
|
+
const m = gt[a] ?? gt.online;
|
|
4457
4476
|
return /* @__PURE__ */ d(
|
|
4458
4477
|
"div",
|
|
4459
4478
|
{
|
|
4460
4479
|
style: {
|
|
4461
4480
|
width: oe * i,
|
|
4462
|
-
height:
|
|
4481
|
+
height: Q * i,
|
|
4463
4482
|
position: "relative",
|
|
4464
4483
|
display: "flex",
|
|
4465
4484
|
alignItems: "center",
|
|
@@ -4520,7 +4539,7 @@ function $t({
|
|
|
4520
4539
|
style: {
|
|
4521
4540
|
position: "absolute",
|
|
4522
4541
|
width: oe * 1.3 * i,
|
|
4523
|
-
height:
|
|
4542
|
+
height: Q * 2 * i,
|
|
4524
4543
|
background: `radial-gradient(ellipse, ${m.glow} 0%, transparent 65%)`,
|
|
4525
4544
|
filter: `blur(${Math.round(40 * i)}px)`,
|
|
4526
4545
|
pointerEvents: "none",
|
|
@@ -4544,15 +4563,15 @@ function $t({
|
|
|
4544
4563
|
{
|
|
4545
4564
|
style: {
|
|
4546
4565
|
width: oe,
|
|
4547
|
-
height:
|
|
4566
|
+
height: Q,
|
|
4548
4567
|
position: "relative",
|
|
4549
4568
|
transformStyle: "preserve-3d",
|
|
4550
4569
|
transform: `rotateX(${t}deg) rotateY(${f}deg) rotateZ(${o}deg)`,
|
|
4551
4570
|
transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
|
|
4552
4571
|
},
|
|
4553
4572
|
children: [
|
|
4554
|
-
/* @__PURE__ */ e("div", { style:
|
|
4555
|
-
|
|
4573
|
+
/* @__PURE__ */ e("div", { style: ke.front, children: /* @__PURE__ */ e(
|
|
4574
|
+
si,
|
|
4556
4575
|
{
|
|
4557
4576
|
cfg: m,
|
|
4558
4577
|
name: s,
|
|
@@ -4562,11 +4581,11 @@ function $t({
|
|
|
4562
4581
|
compact: p
|
|
4563
4582
|
}
|
|
4564
4583
|
) }),
|
|
4565
|
-
/* @__PURE__ */ e("div", { style:
|
|
4566
|
-
/* @__PURE__ */ e("div", { style:
|
|
4567
|
-
/* @__PURE__ */ e("div", { style:
|
|
4568
|
-
/* @__PURE__ */ e("div", { style:
|
|
4569
|
-
/* @__PURE__ */ e("div", { style:
|
|
4584
|
+
/* @__PURE__ */ e("div", { style: ke.back, children: /* @__PURE__ */ e(di, {}) }),
|
|
4585
|
+
/* @__PURE__ */ e("div", { style: ke.left, children: /* @__PURE__ */ e(yt, { side: "left", color: m.color }) }),
|
|
4586
|
+
/* @__PURE__ */ e("div", { style: ke.right, children: /* @__PURE__ */ e(yt, { side: "right", color: m.color }) }),
|
|
4587
|
+
/* @__PURE__ */ e("div", { style: ke.top, children: /* @__PURE__ */ e(ci, { queueDepth: l, color: m.color }) }),
|
|
4588
|
+
/* @__PURE__ */ e("div", { style: ke.bottom, children: /* @__PURE__ */ e("div", { style: { width: oe, height: Ce, background: "#020508" } }) })
|
|
4570
4589
|
]
|
|
4571
4590
|
}
|
|
4572
4591
|
)
|
|
@@ -4576,7 +4595,7 @@ function $t({
|
|
|
4576
4595
|
}
|
|
4577
4596
|
);
|
|
4578
4597
|
}
|
|
4579
|
-
function
|
|
4598
|
+
function Hi({
|
|
4580
4599
|
ex: t,
|
|
4581
4600
|
ey: n,
|
|
4582
4601
|
compactOffset: o,
|
|
@@ -4596,7 +4615,7 @@ function Bi({
|
|
|
4596
4615
|
alert: v
|
|
4597
4616
|
}) {
|
|
4598
4617
|
return /* @__PURE__ */ e(
|
|
4599
|
-
|
|
4618
|
+
T,
|
|
4600
4619
|
{
|
|
4601
4620
|
ex: t,
|
|
4602
4621
|
ey: n,
|
|
@@ -4618,7 +4637,7 @@ function Bi({
|
|
|
4618
4637
|
},
|
|
4619
4638
|
alert: v,
|
|
4620
4639
|
children: /* @__PURE__ */ e(
|
|
4621
|
-
|
|
4640
|
+
kt,
|
|
4622
4641
|
{
|
|
4623
4642
|
status: a,
|
|
4624
4643
|
queueDepth: p,
|
|
@@ -4635,7 +4654,7 @@ function O(t, n, o = 24) {
|
|
|
4635
4654
|
return Math.min(100, Math.max(0, t + Math.sin(a * Math.PI * 2) * n + (Math.random() - 0.5) * 10));
|
|
4636
4655
|
});
|
|
4637
4656
|
}
|
|
4638
|
-
function
|
|
4657
|
+
function pi({ data: t, color: n, height: o = 28 }) {
|
|
4639
4658
|
const r = o, a = Math.max(...t, 1), s = t.map((l, u) => {
|
|
4640
4659
|
const c = u / (t.length - 1) * 120, p = r - l / a * (r - 4) - 2;
|
|
4641
4660
|
return `${c},${p}`;
|
|
@@ -4653,7 +4672,7 @@ function si({ data: t, color: n, height: o = 28 }) {
|
|
|
4653
4672
|
}
|
|
4654
4673
|
) });
|
|
4655
4674
|
}
|
|
4656
|
-
function
|
|
4675
|
+
function fi({
|
|
4657
4676
|
type: t,
|
|
4658
4677
|
name: n,
|
|
4659
4678
|
context: o = {},
|
|
@@ -4661,7 +4680,7 @@ function di({
|
|
|
4661
4680
|
animPhase: r,
|
|
4662
4681
|
series: a
|
|
4663
4682
|
}) {
|
|
4664
|
-
const s = i === "critical" || i === "offline" ? "#ff2255" : i === "warning" ? "#ff8c00" : "#00e5ff", l = a ? a.map((p) => ({ ...p })) :
|
|
4683
|
+
const s = i === "critical" || i === "offline" ? "#ff2255" : i === "warning" ? "#ff8c00" : "#00e5ff", l = a ? a.map((p) => ({ ...p })) : ui(t, o), u = r >= 0.3 ? 0 : -280, c = r >= 0.2 ? 1 : 0;
|
|
4665
4684
|
return /* @__PURE__ */ d(
|
|
4666
4685
|
"div",
|
|
4667
4686
|
{
|
|
@@ -4716,7 +4735,7 @@ function di({
|
|
|
4716
4735
|
p.unit
|
|
4717
4736
|
] })
|
|
4718
4737
|
] }),
|
|
4719
|
-
/* @__PURE__ */ e(
|
|
4738
|
+
/* @__PURE__ */ e(pi, { data: p.data, color: p.color, height: 26 })
|
|
4720
4739
|
]
|
|
4721
4740
|
},
|
|
4722
4741
|
p.id
|
|
@@ -4725,7 +4744,7 @@ function di({
|
|
|
4725
4744
|
}
|
|
4726
4745
|
);
|
|
4727
4746
|
}
|
|
4728
|
-
function
|
|
4747
|
+
function ui(t, n) {
|
|
4729
4748
|
if (t === "server") {
|
|
4730
4749
|
const o = n.cpuLoad ?? 50, i = n.memLoad ?? 60;
|
|
4731
4750
|
return [
|
|
@@ -4761,7 +4780,7 @@ function ci(t, n) {
|
|
|
4761
4780
|
}
|
|
4762
4781
|
return [];
|
|
4763
4782
|
}
|
|
4764
|
-
function
|
|
4783
|
+
function Rt({
|
|
4765
4784
|
w: t,
|
|
4766
4785
|
h: n,
|
|
4767
4786
|
color: o,
|
|
@@ -4770,14 +4789,14 @@ function kt({
|
|
|
4770
4789
|
delay: a = "0s",
|
|
4771
4790
|
children: s
|
|
4772
4791
|
}) {
|
|
4773
|
-
const l = r ?
|
|
4792
|
+
const l = r ? E[r]?.glow ?? "rgba(0,229,255,0.4)" : "rgba(0,229,255,0.4)";
|
|
4774
4793
|
return /* @__PURE__ */ d(
|
|
4775
4794
|
"div",
|
|
4776
4795
|
{
|
|
4777
4796
|
style: {
|
|
4778
4797
|
width: t,
|
|
4779
4798
|
height: n,
|
|
4780
|
-
background:
|
|
4799
|
+
background: Le,
|
|
4781
4800
|
position: "relative",
|
|
4782
4801
|
overflow: "hidden",
|
|
4783
4802
|
borderRadius: 2,
|
|
@@ -4811,8 +4830,8 @@ function kt({
|
|
|
4811
4830
|
width: 4,
|
|
4812
4831
|
height: 4,
|
|
4813
4832
|
borderRadius: "50%",
|
|
4814
|
-
background:
|
|
4815
|
-
boxShadow: `0 0 6px ${
|
|
4833
|
+
background: E[r]?.color,
|
|
4834
|
+
boxShadow: `0 0 6px ${E[r]?.color}`,
|
|
4816
4835
|
animation: "holo-led-blink 1.2s infinite"
|
|
4817
4836
|
}
|
|
4818
4837
|
}
|
|
@@ -4867,7 +4886,7 @@ function ze({
|
|
|
4867
4886
|
style: {
|
|
4868
4887
|
width: 52,
|
|
4869
4888
|
height: 36,
|
|
4870
|
-
background:
|
|
4889
|
+
background: Le,
|
|
4871
4890
|
position: "relative",
|
|
4872
4891
|
borderRadius: 2,
|
|
4873
4892
|
border: `1px solid ${t}55`,
|
|
@@ -4938,8 +4957,8 @@ function ze({
|
|
|
4938
4957
|
width: 4,
|
|
4939
4958
|
height: 4,
|
|
4940
4959
|
borderRadius: "50%",
|
|
4941
|
-
background:
|
|
4942
|
-
boxShadow: `0 0 6px ${
|
|
4960
|
+
background: E[o]?.color,
|
|
4961
|
+
boxShadow: `0 0 6px ${E[o]?.color}`,
|
|
4943
4962
|
animation: "holo-led-blink 1.2s infinite"
|
|
4944
4963
|
}
|
|
4945
4964
|
}
|
|
@@ -5036,7 +5055,7 @@ function Be({
|
|
|
5036
5055
|
width: 3,
|
|
5037
5056
|
height: 3,
|
|
5038
5057
|
borderRadius: "50%",
|
|
5039
|
-
background:
|
|
5058
|
+
background: E[o]?.color,
|
|
5040
5059
|
animation: "holo-led-blink 1.2s infinite"
|
|
5041
5060
|
}
|
|
5042
5061
|
}
|
|
@@ -5062,13 +5081,13 @@ function Be({
|
|
|
5062
5081
|
)
|
|
5063
5082
|
] });
|
|
5064
5083
|
}
|
|
5065
|
-
function
|
|
5084
|
+
function Pe({
|
|
5066
5085
|
color: t = "#00e5ff",
|
|
5067
5086
|
label: n = "DRIVE-1",
|
|
5068
5087
|
status: o = "online",
|
|
5069
5088
|
activity: i = !1
|
|
5070
5089
|
}) {
|
|
5071
|
-
return /* @__PURE__ */ d(
|
|
5090
|
+
return /* @__PURE__ */ d(Rt, { w: 56, h: 22, color: t, label: n, status: o, children: [
|
|
5072
5091
|
/* @__PURE__ */ e(
|
|
5073
5092
|
"div",
|
|
5074
5093
|
{
|
|
@@ -5101,7 +5120,7 @@ function Ce({
|
|
|
5101
5120
|
)
|
|
5102
5121
|
] });
|
|
5103
5122
|
}
|
|
5104
|
-
function
|
|
5123
|
+
function Et({
|
|
5105
5124
|
color: t = "#00e5ff",
|
|
5106
5125
|
label: n = "NET",
|
|
5107
5126
|
status: o = "online"
|
|
@@ -5112,7 +5131,7 @@ function Rt({
|
|
|
5112
5131
|
style: {
|
|
5113
5132
|
width: 48,
|
|
5114
5133
|
height: 28,
|
|
5115
|
-
background:
|
|
5134
|
+
background: Le,
|
|
5116
5135
|
position: "relative",
|
|
5117
5136
|
borderRadius: 2,
|
|
5118
5137
|
border: `1px solid ${t}44`,
|
|
@@ -5170,7 +5189,7 @@ function M({
|
|
|
5170
5189
|
label: n = "THREAD",
|
|
5171
5190
|
status: o = "online"
|
|
5172
5191
|
}) {
|
|
5173
|
-
return /* @__PURE__ */ e(
|
|
5192
|
+
return /* @__PURE__ */ e(Rt, { w: 44, h: 28, color: t, label: n, status: o });
|
|
5174
5193
|
}
|
|
5175
5194
|
function Me({
|
|
5176
5195
|
color: t = "#ff8c00",
|
|
@@ -5230,7 +5249,7 @@ function Me({
|
|
|
5230
5249
|
width: 4,
|
|
5231
5250
|
height: 4,
|
|
5232
5251
|
borderRadius: "50%",
|
|
5233
|
-
background:
|
|
5252
|
+
background: E[o]?.color,
|
|
5234
5253
|
animation: "holo-led-blink 1.2s infinite"
|
|
5235
5254
|
}
|
|
5236
5255
|
}
|
|
@@ -5256,7 +5275,7 @@ function Me({
|
|
|
5256
5275
|
)
|
|
5257
5276
|
] });
|
|
5258
5277
|
}
|
|
5259
|
-
function
|
|
5278
|
+
function F({
|
|
5260
5279
|
color: t = "#00e5ff",
|
|
5261
5280
|
label: n = "PORT-1",
|
|
5262
5281
|
status: o = "online"
|
|
@@ -5285,7 +5304,7 @@ function H({
|
|
|
5285
5304
|
width: 4,
|
|
5286
5305
|
height: 4,
|
|
5287
5306
|
borderRadius: "50%",
|
|
5288
|
-
background: o && o !== "online" ?
|
|
5307
|
+
background: o && o !== "online" ? E[o]?.color ?? t : t,
|
|
5289
5308
|
boxShadow: `0 0 4px ${t}`,
|
|
5290
5309
|
animation: o && o !== "online" && o !== "offline" ? "holo-led-blink 1s infinite" : "none"
|
|
5291
5310
|
}
|
|
@@ -5326,7 +5345,7 @@ function H({
|
|
|
5326
5345
|
}
|
|
5327
5346
|
);
|
|
5328
5347
|
}
|
|
5329
|
-
function
|
|
5348
|
+
function hi(t, n, o, i) {
|
|
5330
5349
|
const r = o === "online" ? "online" : o;
|
|
5331
5350
|
return t === "server" ? [
|
|
5332
5351
|
{
|
|
@@ -5430,8 +5449,8 @@ function pi(t, n, o, i) {
|
|
|
5430
5449
|
}
|
|
5431
5450
|
] : [];
|
|
5432
5451
|
}
|
|
5433
|
-
const D = "cubic-bezier(0.34, 1.56, 0.64, 1)",
|
|
5434
|
-
function
|
|
5452
|
+
const D = "cubic-bezier(0.34, 1.56, 0.64, 1)", bi = "cubic-bezier(0.16, 1, 0.3, 1)";
|
|
5453
|
+
function gi({ items: t, revealPhase: n }) {
|
|
5435
5454
|
return /* @__PURE__ */ e(
|
|
5436
5455
|
"div",
|
|
5437
5456
|
{
|
|
@@ -5458,14 +5477,14 @@ function ui({ items: t, revealPhase: n }) {
|
|
|
5458
5477
|
}
|
|
5459
5478
|
);
|
|
5460
5479
|
}
|
|
5461
|
-
function
|
|
5480
|
+
function yi({
|
|
5462
5481
|
type: t,
|
|
5463
5482
|
status: n,
|
|
5464
5483
|
context: o,
|
|
5465
5484
|
internal: i,
|
|
5466
5485
|
revealPhase: r
|
|
5467
5486
|
}) {
|
|
5468
|
-
const a =
|
|
5487
|
+
const a = E[n]?.color ?? E.online.color, s = "#ff8c00";
|
|
5469
5488
|
if (t === "server") {
|
|
5470
5489
|
const l = o.cpuLoad ?? 50, u = o.memLoad ?? 60, c = [
|
|
5471
5490
|
{
|
|
@@ -5527,13 +5546,13 @@ function hi({
|
|
|
5527
5546
|
{
|
|
5528
5547
|
key: "d1",
|
|
5529
5548
|
delay: 4,
|
|
5530
|
-
el: /* @__PURE__ */ e(
|
|
5549
|
+
el: /* @__PURE__ */ e(Pe, { color: a, label: "DRIVE-1", status: i[4]?.status, activity: !0 })
|
|
5531
5550
|
},
|
|
5532
5551
|
{
|
|
5533
5552
|
key: "d2",
|
|
5534
5553
|
delay: 5,
|
|
5535
5554
|
el: /* @__PURE__ */ e(
|
|
5536
|
-
|
|
5555
|
+
Pe,
|
|
5537
5556
|
{
|
|
5538
5557
|
color: a,
|
|
5539
5558
|
label: "DRIVE-2",
|
|
@@ -5546,7 +5565,7 @@ function hi({
|
|
|
5546
5565
|
key: "d3",
|
|
5547
5566
|
delay: 6,
|
|
5548
5567
|
el: /* @__PURE__ */ e(
|
|
5549
|
-
|
|
5568
|
+
Pe,
|
|
5550
5569
|
{
|
|
5551
5570
|
color: a,
|
|
5552
5571
|
label: "DRIVE-3",
|
|
@@ -5563,7 +5582,7 @@ function hi({
|
|
|
5563
5582
|
{
|
|
5564
5583
|
key: "net",
|
|
5565
5584
|
delay: 8,
|
|
5566
|
-
el: /* @__PURE__ */ e(
|
|
5585
|
+
el: /* @__PURE__ */ e(Et, { color: a, label: "NET", status: i[8]?.status })
|
|
5567
5586
|
}
|
|
5568
5587
|
];
|
|
5569
5588
|
return /* @__PURE__ */ e(
|
|
@@ -5603,7 +5622,7 @@ function hi({
|
|
|
5603
5622
|
transform: `scale(${r >= 0.25 + c * 0.04 ? 1 : 0.5})`,
|
|
5604
5623
|
transition: `opacity 0.35s ${D} ${c * 0.04}s, transform 0.4s ${D} ${c * 0.04}s`
|
|
5605
5624
|
},
|
|
5606
|
-
children: /* @__PURE__ */ e(
|
|
5625
|
+
children: /* @__PURE__ */ e(F, { color: a, label: `PORT-${c + 1}`, status: p?.status })
|
|
5607
5626
|
},
|
|
5608
5627
|
`p${c}`
|
|
5609
5628
|
);
|
|
@@ -5669,7 +5688,7 @@ function hi({
|
|
|
5669
5688
|
transform: `scale(${r >= 0.25 + l * 0.1 ? 1 : 0.6})`,
|
|
5670
5689
|
transition: `all 0.4s ${D} ${l * 0.08}s`
|
|
5671
5690
|
},
|
|
5672
|
-
children: /* @__PURE__ */ e(
|
|
5691
|
+
children: /* @__PURE__ */ e(F, { color: "#bb55ff", label: `INST-${l}`, status: i[l]?.status })
|
|
5673
5692
|
},
|
|
5674
5693
|
l
|
|
5675
5694
|
)),
|
|
@@ -5768,7 +5787,7 @@ function hi({
|
|
|
5768
5787
|
}
|
|
5769
5788
|
return null;
|
|
5770
5789
|
}
|
|
5771
|
-
function
|
|
5790
|
+
function Yi({
|
|
5772
5791
|
type: t,
|
|
5773
5792
|
name: n,
|
|
5774
5793
|
status: o,
|
|
@@ -5778,7 +5797,7 @@ function Fi({
|
|
|
5778
5797
|
subComponents: s,
|
|
5779
5798
|
graphSeries: l
|
|
5780
5799
|
}) {
|
|
5781
|
-
const u =
|
|
5800
|
+
const u = hi(t, n, o, a), c = E[o]?.color ?? E.online.color, p = r >= 0.1 ? 1 : r * 10, f = r >= 0.2 ? "-50%" : "0%", g = r >= 0.2 ? "50%" : "0%", h = r >= 0.25 ? Math.min(1, (r - 0.25) * 1.5) : 0;
|
|
5782
5801
|
return /* @__PURE__ */ d(
|
|
5783
5802
|
"div",
|
|
5784
5803
|
{
|
|
@@ -5802,13 +5821,13 @@ function Fi({
|
|
|
5802
5821
|
backdropFilter: "blur(10px)",
|
|
5803
5822
|
WebkitBackdropFilter: "blur(10px)",
|
|
5804
5823
|
opacity: p,
|
|
5805
|
-
transition: `opacity 0.4s ${
|
|
5824
|
+
transition: `opacity 0.4s ${bi}`
|
|
5806
5825
|
},
|
|
5807
5826
|
onClick: i
|
|
5808
5827
|
}
|
|
5809
5828
|
),
|
|
5810
5829
|
/* @__PURE__ */ e(
|
|
5811
|
-
|
|
5830
|
+
fi,
|
|
5812
5831
|
{
|
|
5813
5832
|
type: t,
|
|
5814
5833
|
name: n,
|
|
@@ -5978,8 +5997,8 @@ function Fi({
|
|
|
5978
5997
|
}
|
|
5979
5998
|
}
|
|
5980
5999
|
),
|
|
5981
|
-
/* @__PURE__ */ e("div", { style: { flex: 1, padding: "8px 0 24px" }, children: s ? /* @__PURE__ */ e(
|
|
5982
|
-
|
|
6000
|
+
/* @__PURE__ */ e("div", { style: { flex: 1, padding: "8px 0 24px" }, children: s ? /* @__PURE__ */ e(gi, { items: s, revealPhase: h }) : /* @__PURE__ */ e(
|
|
6001
|
+
yi,
|
|
5983
6002
|
{
|
|
5984
6003
|
type: t,
|
|
5985
6004
|
name: n,
|
|
@@ -5999,7 +6018,7 @@ function Fi({
|
|
|
5999
6018
|
}
|
|
6000
6019
|
);
|
|
6001
6020
|
}
|
|
6002
|
-
function
|
|
6021
|
+
function mi({ onSubmit: t }) {
|
|
6003
6022
|
const [n, o] = R(""), [i, r] = R(""), [a, s] = R(null), [l, u] = R(!1), c = n.trim().length > 0 && i.trim().length > 0;
|
|
6004
6023
|
return /* @__PURE__ */ e("div", { className: "cred-overlay", children: /* @__PURE__ */ d("form", { className: "cred-panel", onSubmit: (f) => {
|
|
6005
6024
|
f.preventDefault(), c && t({ accessKey: n.trim(), secretKey: i.trim() });
|
|
@@ -6091,27 +6110,27 @@ function bi({ onSubmit: t }) {
|
|
|
6091
6110
|
] }) });
|
|
6092
6111
|
}
|
|
6093
6112
|
const at = He(null);
|
|
6094
|
-
function
|
|
6113
|
+
function xi() {
|
|
6095
6114
|
const t = ae(at);
|
|
6096
6115
|
if (!t)
|
|
6097
6116
|
throw new Error("useAIOpsData must be used within an AIOPsDashboard with dataEndpoint configured");
|
|
6098
6117
|
return t;
|
|
6099
6118
|
}
|
|
6100
|
-
function
|
|
6119
|
+
function vi() {
|
|
6101
6120
|
return ae(at);
|
|
6102
6121
|
}
|
|
6103
|
-
function
|
|
6104
|
-
const { data: n } =
|
|
6122
|
+
function Vi(t) {
|
|
6123
|
+
const { data: n } = xi();
|
|
6105
6124
|
return n[t] ?? null;
|
|
6106
6125
|
}
|
|
6107
|
-
function
|
|
6126
|
+
function wi(t) {
|
|
6108
6127
|
const n = /* @__PURE__ */ new Set();
|
|
6109
6128
|
for (const o of Object.values(t))
|
|
6110
6129
|
for (const i of Object.values(o))
|
|
6111
6130
|
n.add(typeof i == "string" ? i : i.query);
|
|
6112
6131
|
return Array.from(n);
|
|
6113
6132
|
}
|
|
6114
|
-
function
|
|
6133
|
+
function Si(t) {
|
|
6115
6134
|
if (typeof t == "number") return t;
|
|
6116
6135
|
if (typeof t == "string") {
|
|
6117
6136
|
const n = Number(t);
|
|
@@ -6119,7 +6138,7 @@ function xi(t) {
|
|
|
6119
6138
|
}
|
|
6120
6139
|
return t;
|
|
6121
6140
|
}
|
|
6122
|
-
function
|
|
6141
|
+
function $i({ config: t, children: n }) {
|
|
6123
6142
|
const [o, i] = R({}), [r, a] = R(null), [s, l] = R(!1), [u, c] = R(null), [p, f] = R(null), g = Z(t);
|
|
6124
6143
|
g.current = t;
|
|
6125
6144
|
const h = Z(r);
|
|
@@ -6144,14 +6163,14 @@ function vi({ config: t, children: n }) {
|
|
|
6144
6163
|
}).then((z) => ({ query: S, data: z.trim() }));
|
|
6145
6164
|
})
|
|
6146
6165
|
), k = {};
|
|
6147
|
-
let
|
|
6166
|
+
let A = 0;
|
|
6148
6167
|
for (const S of b)
|
|
6149
|
-
S.status === "fulfilled" ? k[S.value.query] = S.value.data :
|
|
6168
|
+
S.status === "fulfilled" ? k[S.value.query] = S.value.data : A++;
|
|
6150
6169
|
i((S) => ({ ...S, ...k }));
|
|
6151
6170
|
const $ = w.queries.length;
|
|
6152
6171
|
c(
|
|
6153
|
-
|
|
6154
|
-
),
|
|
6172
|
+
A > 0 ? `${A} of ${$} queries failed to refresh` : null
|
|
6173
|
+
), A < $ && f(/* @__PURE__ */ new Date());
|
|
6155
6174
|
} catch (b) {
|
|
6156
6175
|
const k = b instanceof Error ? b.message : "Refresh failed";
|
|
6157
6176
|
c(k);
|
|
@@ -6160,7 +6179,7 @@ function vi({ config: t, children: n }) {
|
|
|
6160
6179
|
}
|
|
6161
6180
|
}
|
|
6162
6181
|
}, []);
|
|
6163
|
-
|
|
6182
|
+
Oe(() => {
|
|
6164
6183
|
if (!r) return;
|
|
6165
6184
|
y();
|
|
6166
6185
|
const x = g.current.refreshInterval ?? 6e4, w = window.setInterval(y, x);
|
|
@@ -6178,28 +6197,28 @@ function vi({ config: t, children: n }) {
|
|
|
6178
6197
|
};
|
|
6179
6198
|
return /* @__PURE__ */ d(at.Provider, { value: v, children: [
|
|
6180
6199
|
n,
|
|
6181
|
-
!r && /* @__PURE__ */ e(
|
|
6200
|
+
!r && /* @__PURE__ */ e(mi, { onSubmit: m })
|
|
6182
6201
|
] });
|
|
6183
6202
|
}
|
|
6184
|
-
function
|
|
6203
|
+
function _i(t) {
|
|
6185
6204
|
const { dataEndpoint: n, dataBindings: o, dataRefreshInterval: i } = t;
|
|
6186
6205
|
if (n && o) {
|
|
6187
|
-
const r =
|
|
6206
|
+
const r = wi(o);
|
|
6188
6207
|
return /* @__PURE__ */ e(
|
|
6189
|
-
|
|
6208
|
+
$i,
|
|
6190
6209
|
{
|
|
6191
6210
|
config: {
|
|
6192
6211
|
endpoint: n,
|
|
6193
6212
|
queries: r,
|
|
6194
6213
|
refreshInterval: i
|
|
6195
6214
|
},
|
|
6196
|
-
children: /* @__PURE__ */ e(
|
|
6215
|
+
children: /* @__PURE__ */ e(mt, { ...t })
|
|
6197
6216
|
}
|
|
6198
6217
|
);
|
|
6199
6218
|
}
|
|
6200
|
-
return /* @__PURE__ */ e(
|
|
6219
|
+
return /* @__PURE__ */ e(mt, { ...t });
|
|
6201
6220
|
}
|
|
6202
|
-
function
|
|
6221
|
+
function mt({
|
|
6203
6222
|
brandName: t = "BUSAUD AIOps",
|
|
6204
6223
|
brandTag: n = "3D MONITOR",
|
|
6205
6224
|
services: o = [],
|
|
@@ -6211,38 +6230,38 @@ function yt({
|
|
|
6211
6230
|
dataTransform: u,
|
|
6212
6231
|
children: c
|
|
6213
6232
|
}) {
|
|
6214
|
-
const p =
|
|
6215
|
-
v === "compact" && (
|
|
6233
|
+
const p = vi(), [f] = R(20), [g] = R(!1), [h] = R(!0), [y] = R(0.45), [m] = R(3.3), [v, x] = R("compact"), [w, b] = R(0), [k, A] = R(null), [$, S] = R(null), [N, B] = R(0), z = (C) => {
|
|
6234
|
+
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(() => {
|
|
6216
6235
|
b(6), x("expanded");
|
|
6217
6236
|
}, 2400));
|
|
6218
|
-
},
|
|
6219
|
-
$ ? (S(null), B(0)) : v === "expanded" && (x("collapsing"), b(0),
|
|
6220
|
-
x((
|
|
6237
|
+
}, U = () => {
|
|
6238
|
+
$ ? (S(null), B(0)) : v === "expanded" && (x("collapsing"), b(0), A(null), setTimeout(() => {
|
|
6239
|
+
x((C) => C === "collapsing" ? "compact" : C);
|
|
6221
6240
|
}, 1e3));
|
|
6222
|
-
}, le = (
|
|
6223
|
-
S(
|
|
6241
|
+
}, le = (C) => {
|
|
6242
|
+
S(C), B(0);
|
|
6224
6243
|
};
|
|
6225
|
-
|
|
6244
|
+
X.useEffect(() => {
|
|
6226
6245
|
if (!$) return;
|
|
6227
|
-
const
|
|
6228
|
-
const J = performance.now() -
|
|
6229
|
-
B(
|
|
6230
|
-
},
|
|
6231
|
-
return () => cancelAnimationFrame(
|
|
6246
|
+
const C = performance.now(), ue = 1200, te = () => {
|
|
6247
|
+
const J = performance.now() - C, _ = Math.min(1, J / ue);
|
|
6248
|
+
B(_), _ < 1 && requestAnimationFrame(te);
|
|
6249
|
+
}, he = requestAnimationFrame(te);
|
|
6250
|
+
return () => cancelAnimationFrame(he);
|
|
6232
6251
|
}, [$]);
|
|
6233
6252
|
const se = () => {
|
|
6234
6253
|
S(null), B(0);
|
|
6235
|
-
}, I = o.find((
|
|
6236
|
-
if (!
|
|
6237
|
-
const
|
|
6238
|
-
if (!
|
|
6239
|
-
const te = l[
|
|
6240
|
-
for (const [J,
|
|
6241
|
-
const dt = typeof
|
|
6242
|
-
De !== void 0 && (
|
|
6254
|
+
}, I = o.find((C) => C.name === k), H = I?.status ?? "online", de = I?.dbSync ?? !0, ce = I?.metrics, Y = I?.alerts, V = u ?? Si, L = p?.data, K = Ze(() => !L || !l ? c : X.Children.map(c, (C) => {
|
|
6255
|
+
if (!X.isValidElement(C)) return C;
|
|
6256
|
+
const ue = C.props.name;
|
|
6257
|
+
if (!ue || !l[ue]) return C;
|
|
6258
|
+
const te = l[ue], he = {};
|
|
6259
|
+
for (const [J, _] of Object.entries(te)) {
|
|
6260
|
+
const dt = typeof _ == "string" ? _ : _.query, ve = typeof _ == "object" && _.transform ? _.transform : V, De = L[dt];
|
|
6261
|
+
De !== void 0 && (he[J] = ve(De));
|
|
6243
6262
|
}
|
|
6244
|
-
return Object.keys(
|
|
6245
|
-
}), [c, L, l,
|
|
6263
|
+
return Object.keys(he).length > 0 ? X.cloneElement(C, he) : C;
|
|
6264
|
+
}), [c, L, l, V]), pe = p?.lastRefreshError ?? null, me = 330, xe = 340, Ye = $ ? 1.15 : 1, Ve = $ ? -($.ex - me) * 0.06 : 0, fe = $ ? -($.ey - xe) * 0.06 : 0;
|
|
6246
6265
|
return /* @__PURE__ */ d("div", { className: "app", style: s ? { fontFamily: s } : void 0, children: [
|
|
6247
6266
|
/* @__PURE__ */ e(
|
|
6248
6267
|
"div",
|
|
@@ -6257,7 +6276,7 @@ function yt({
|
|
|
6257
6276
|
backgroundPosition: "center center",
|
|
6258
6277
|
backgroundRepeat: "no-repeat",
|
|
6259
6278
|
transition: "transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1)",
|
|
6260
|
-
transform: `translate(${Ve}px, ${
|
|
6279
|
+
transform: `translate(${Ve}px, ${fe}px) scale(${Ye})`,
|
|
6261
6280
|
willChange: "transform"
|
|
6262
6281
|
}
|
|
6263
6282
|
}
|
|
@@ -6268,7 +6287,7 @@ function yt({
|
|
|
6268
6287
|
/* @__PURE__ */ e("span", { className: "brand-text", children: t })
|
|
6269
6288
|
] }),
|
|
6270
6289
|
/* @__PURE__ */ d("div", { className: "hdr-right", children: [
|
|
6271
|
-
|
|
6290
|
+
pe && /* @__PURE__ */ d("div", { className: "hdr-refresh-error", children: [
|
|
6272
6291
|
/* @__PURE__ */ e("span", { className: "refresh-error-dot" }),
|
|
6273
6292
|
/* @__PURE__ */ e("span", { className: "refresh-error-text", children: "DATA REFRESH FAILED" })
|
|
6274
6293
|
] }),
|
|
@@ -6282,9 +6301,9 @@ function yt({
|
|
|
6282
6301
|
style: {
|
|
6283
6302
|
cursor: v === "expanded" ? "zoom-out" : "default"
|
|
6284
6303
|
},
|
|
6285
|
-
onClick:
|
|
6304
|
+
onClick: U,
|
|
6286
6305
|
children: /* @__PURE__ */ e(
|
|
6287
|
-
|
|
6306
|
+
Yt,
|
|
6288
6307
|
{
|
|
6289
6308
|
viewState: v,
|
|
6290
6309
|
animPhase: w,
|
|
@@ -6299,14 +6318,14 @@ function yt({
|
|
|
6299
6318
|
carouselSpeed: a,
|
|
6300
6319
|
logoUrl: r,
|
|
6301
6320
|
onSelectSystem: z,
|
|
6302
|
-
onBackgroundClick:
|
|
6321
|
+
onBackgroundClick: U,
|
|
6303
6322
|
onComponentClick: le,
|
|
6304
6323
|
onCloseDrill: se,
|
|
6305
|
-
selectedSystemStatus:
|
|
6324
|
+
selectedSystemStatus: H,
|
|
6306
6325
|
selectedSystemDbSync: de,
|
|
6307
|
-
selectedSystemMetrics:
|
|
6308
|
-
selectedSystemAlerts:
|
|
6309
|
-
children:
|
|
6326
|
+
selectedSystemMetrics: ce,
|
|
6327
|
+
selectedSystemAlerts: Y,
|
|
6328
|
+
children: K
|
|
6310
6329
|
}
|
|
6311
6330
|
)
|
|
6312
6331
|
}
|
|
@@ -6322,21 +6341,21 @@ function P(t, n, o = 24) {
|
|
|
6322
6341
|
function Ct(t) {
|
|
6323
6342
|
return t === "critical" || t === "offline" ? "#ff2255" : t === "warning" ? "#ff8c00" : "#00e5ff";
|
|
6324
6343
|
}
|
|
6325
|
-
function
|
|
6344
|
+
function Te(t, n, o) {
|
|
6326
6345
|
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";
|
|
6327
6346
|
return [
|
|
6328
6347
|
{ 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 }) },
|
|
6329
6348
|
{ id: "cpu-1", label: "CPU-1", status: "online", element: /* @__PURE__ */ e(ze, { color: r, label: "CPU-1", status: "online", load: a * 0.7 }) },
|
|
6330
6349
|
{ id: "heap-0", label: "HEAP-0", status: u, detail: u === "warning" ? "Memory heap usage" : u === "critical" ? "OOM risk" : void 0, element: /* @__PURE__ */ e(Be, { color: "#8855ee", label: "HEAP-0", status: u, usedPercent: s }) },
|
|
6331
6350
|
{ id: "heap-1", label: "HEAP-1", status: "online", element: /* @__PURE__ */ e(Be, { color: "#8855ee", label: "HEAP-1", status: "online", usedPercent: s * 0.85 }) },
|
|
6332
|
-
{ id: "drive-1", label: "DRIVE-1", status: "online", element: /* @__PURE__ */ e(
|
|
6333
|
-
{ id: "drive-2", label: "DRIVE-2", status: "online", element: /* @__PURE__ */ e(
|
|
6334
|
-
{ id: "drive-3", label: "DRIVE-3", status: "online", element: /* @__PURE__ */ e(
|
|
6351
|
+
{ id: "drive-1", label: "DRIVE-1", status: "online", element: /* @__PURE__ */ e(Pe, { color: r, label: "DRIVE-1", status: "online", activity: !0 }) },
|
|
6352
|
+
{ id: "drive-2", label: "DRIVE-2", status: "online", element: /* @__PURE__ */ e(Pe, { color: r, label: "DRIVE-2", status: "online", activity: a > 30 }) },
|
|
6353
|
+
{ id: "drive-3", label: "DRIVE-3", status: "online", element: /* @__PURE__ */ e(Pe, { color: r, label: "DRIVE-3", status: "online", activity: a > 50 }) },
|
|
6335
6354
|
{ 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 }) },
|
|
6336
|
-
{ id: "network", label: "NET", status: p, element: /* @__PURE__ */ e(
|
|
6355
|
+
{ id: "network", label: "NET", status: p, element: /* @__PURE__ */ e(Et, { color: r, label: "NET", status: p }) }
|
|
6337
6356
|
];
|
|
6338
6357
|
}
|
|
6339
|
-
function
|
|
6358
|
+
function Ae(t) {
|
|
6340
6359
|
const n = t?.cpuLoad ?? 50, o = t?.memLoad ?? 60;
|
|
6341
6360
|
return [
|
|
6342
6361
|
{ id: "cpu", label: "CPU-0", unit: "%", color: "#00e5ff", data: P(n, 15) },
|
|
@@ -6349,22 +6368,22 @@ function Pe(t) {
|
|
|
6349
6368
|
{ id: "thread", label: "THREAD-POOL", unit: "%", color: "#22aaff", data: P(55, 20) }
|
|
6350
6369
|
];
|
|
6351
6370
|
}
|
|
6352
|
-
function
|
|
6371
|
+
function Pt(t, n, o) {
|
|
6353
6372
|
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";
|
|
6354
6373
|
return [
|
|
6355
|
-
{ id: "port-1", label: "PORT-1", status: "online", element: /* @__PURE__ */ e(
|
|
6356
|
-
{ id: "port-2", label: "PORT-2", status: "online", element: /* @__PURE__ */ e(
|
|
6357
|
-
{ id: "port-3", label: "PORT-3", status: a, detail: i === "critical" ? "Gateway timeout" : i === "offline" ? "Unreachable" : void 0, element: /* @__PURE__ */ e(
|
|
6358
|
-
{ id: "port-4", label: "PORT-4", status: "online", element: /* @__PURE__ */ e(
|
|
6359
|
-
{ id: "port-5", label: "PORT-5", status: s, detail: s === "warning" ? "Latency spike" : void 0, element: /* @__PURE__ */ e(
|
|
6360
|
-
{ id: "port-6", label: "PORT-6", status: "online", element: /* @__PURE__ */ e(
|
|
6361
|
-
{ id: "port-7", label: "PORT-7", status: "online", element: /* @__PURE__ */ e(
|
|
6362
|
-
{ id: "port-8", label: "PORT-8", status: "online", element: /* @__PURE__ */ e(
|
|
6374
|
+
{ id: "port-1", label: "PORT-1", status: "online", element: /* @__PURE__ */ e(F, { color: r, label: "PORT-1", status: "online" }) },
|
|
6375
|
+
{ id: "port-2", label: "PORT-2", status: "online", element: /* @__PURE__ */ e(F, { color: r, label: "PORT-2", status: "online" }) },
|
|
6376
|
+
{ 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 }) },
|
|
6377
|
+
{ id: "port-4", label: "PORT-4", status: "online", element: /* @__PURE__ */ e(F, { color: r, label: "PORT-4", status: "online" }) },
|
|
6378
|
+
{ 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 }) },
|
|
6379
|
+
{ id: "port-6", label: "PORT-6", status: "online", element: /* @__PURE__ */ e(F, { color: r, label: "PORT-6", status: "online" }) },
|
|
6380
|
+
{ id: "port-7", label: "PORT-7", status: "online", element: /* @__PURE__ */ e(F, { color: r, label: "PORT-7", status: "online" }) },
|
|
6381
|
+
{ id: "port-8", label: "PORT-8", status: "online", element: /* @__PURE__ */ e(F, { color: r, label: "PORT-8", status: "online" }) },
|
|
6363
6382
|
{ 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 }) },
|
|
6364
6383
|
{ id: "https-worker", label: "HTTPS-WORKER", status: "online", element: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "HTTPS-WORKER", status: "online" }) }
|
|
6365
6384
|
];
|
|
6366
6385
|
}
|
|
6367
|
-
function
|
|
6386
|
+
function Tt(t) {
|
|
6368
6387
|
const n = t?.traffic ?? 50;
|
|
6369
6388
|
return [
|
|
6370
6389
|
{ id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: P(n, 20) },
|
|
@@ -6374,19 +6393,19 @@ function Pt(t) {
|
|
|
6374
6393
|
{ id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: P(n * 0.9, 15) }
|
|
6375
6394
|
];
|
|
6376
6395
|
}
|
|
6377
|
-
function
|
|
6396
|
+
function ki(t, n, o) {
|
|
6378
6397
|
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";
|
|
6379
6398
|
return [
|
|
6380
|
-
{ id: "inst-0", label: "INST-0", status: "online", element: /* @__PURE__ */ e(
|
|
6381
|
-
{ id: "inst-1", label: "INST-1", status: "online", element: /* @__PURE__ */ e(
|
|
6382
|
-
{ id: "inst-2", label: "INST-2", status: r, detail: r === "critical" ? "Instance unreachable" : void 0, element: /* @__PURE__ */ e(
|
|
6399
|
+
{ id: "inst-0", label: "INST-0", status: "online", element: /* @__PURE__ */ e(F, { color: "#bb55ff", label: "INST-0", status: "online" }) },
|
|
6400
|
+
{ id: "inst-1", label: "INST-1", status: "online", element: /* @__PURE__ */ e(F, { color: "#bb55ff", label: "INST-1", status: "online" }) },
|
|
6401
|
+
{ 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 }) },
|
|
6383
6402
|
{ 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 }) },
|
|
6384
6403
|
{ id: "worker-1", label: "WORKER-1", status: "online", element: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "WORKER-1", status: "online" }) },
|
|
6385
6404
|
{ id: "worker-2", label: "WORKER-2", status: "online", element: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "WORKER-2", status: "online" }) },
|
|
6386
6405
|
{ 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 }) }
|
|
6387
6406
|
];
|
|
6388
6407
|
}
|
|
6389
|
-
function
|
|
6408
|
+
function Ri(t) {
|
|
6390
6409
|
const n = t?.queueDepth ?? 50;
|
|
6391
6410
|
return [
|
|
6392
6411
|
{ id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: P(n, 20) },
|
|
@@ -6428,7 +6447,7 @@ function lt(t) {
|
|
|
6428
6447
|
];
|
|
6429
6448
|
return n.includes("critical") ? "critical" : n.includes("warning") ? "warning" : n.includes("offline") ? "offline" : "online";
|
|
6430
6449
|
}
|
|
6431
|
-
function
|
|
6450
|
+
function ji(t) {
|
|
6432
6451
|
const n = lt(t), o = n === "critical" || n === "offline", i = n === "warning";
|
|
6433
6452
|
return [
|
|
6434
6453
|
{
|
|
@@ -6450,7 +6469,7 @@ function Yi(t) {
|
|
|
6450
6469
|
}
|
|
6451
6470
|
];
|
|
6452
6471
|
}
|
|
6453
|
-
function
|
|
6472
|
+
function Xi(t) {
|
|
6454
6473
|
const n = lt(t), o = n === "critical" || n === "offline", i = n === "warning";
|
|
6455
6474
|
return [
|
|
6456
6475
|
...t.dbSync ? [] : [{ level: "warning", message: "DB Replication Lag Detected" }],
|
|
@@ -6459,7 +6478,7 @@ function Vi(t) {
|
|
|
6459
6478
|
...!o && !i && t.dbSync ? [{ level: "info", message: "All Systems Nominal" }] : []
|
|
6460
6479
|
];
|
|
6461
6480
|
}
|
|
6462
|
-
const
|
|
6481
|
+
const Ei = [
|
|
6463
6482
|
{ from: [330, 120], to: [220, 260], visibleAtPhase: 3 },
|
|
6464
6483
|
{ from: [330, 120], to: [440, 260], visibleAtPhase: 3 },
|
|
6465
6484
|
{ from: [220, 260], to: [165, 390], visibleAtPhase: 4 },
|
|
@@ -6472,11 +6491,11 @@ const $i = [
|
|
|
6472
6491
|
{ from: [330, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" },
|
|
6473
6492
|
{ from: [495, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" }
|
|
6474
6493
|
];
|
|
6475
|
-
function
|
|
6476
|
-
const n =
|
|
6477
|
-
return /* @__PURE__ */ d(
|
|
6494
|
+
function Ci({ config: t }) {
|
|
6495
|
+
const n = X.useContext(ye), 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;
|
|
6496
|
+
return /* @__PURE__ */ d(Ie, { children: [
|
|
6478
6497
|
/* @__PURE__ */ e(
|
|
6479
|
-
|
|
6498
|
+
T,
|
|
6480
6499
|
{
|
|
6481
6500
|
ex: 330,
|
|
6482
6501
|
ey: 120,
|
|
@@ -6488,7 +6507,7 @@ function ki({ config: t }) {
|
|
|
6488
6507
|
}
|
|
6489
6508
|
),
|
|
6490
6509
|
/* @__PURE__ */ e(
|
|
6491
|
-
|
|
6510
|
+
T,
|
|
6492
6511
|
{
|
|
6493
6512
|
ex: 220,
|
|
6494
6513
|
ey: 260,
|
|
@@ -6503,8 +6522,8 @@ function ki({ config: t }) {
|
|
|
6503
6522
|
name: "WEB-DISP",
|
|
6504
6523
|
status: r,
|
|
6505
6524
|
context: { traffic: 78 },
|
|
6506
|
-
subComponents:
|
|
6507
|
-
graphSeries:
|
|
6525
|
+
subComponents: Pt(r),
|
|
6526
|
+
graphSeries: Tt({ traffic: 78 })
|
|
6508
6527
|
},
|
|
6509
6528
|
children: /* @__PURE__ */ e(
|
|
6510
6529
|
rt,
|
|
@@ -6521,7 +6540,7 @@ function ki({ config: t }) {
|
|
|
6521
6540
|
}
|
|
6522
6541
|
),
|
|
6523
6542
|
/* @__PURE__ */ e(
|
|
6524
|
-
|
|
6543
|
+
T,
|
|
6525
6544
|
{
|
|
6526
6545
|
ex: 440,
|
|
6527
6546
|
ey: 260,
|
|
@@ -6536,11 +6555,11 @@ function ki({ config: t }) {
|
|
|
6536
6555
|
name: "MSG-SRV",
|
|
6537
6556
|
status: a,
|
|
6538
6557
|
context: { queueDepth: 45 },
|
|
6539
|
-
subComponents:
|
|
6540
|
-
graphSeries:
|
|
6558
|
+
subComponents: ki(a),
|
|
6559
|
+
graphSeries: Ri({ queueDepth: 45 })
|
|
6541
6560
|
},
|
|
6542
6561
|
children: /* @__PURE__ */ e(
|
|
6543
|
-
|
|
6562
|
+
kt,
|
|
6544
6563
|
{
|
|
6545
6564
|
rotateY: -o,
|
|
6546
6565
|
autoRotate: i,
|
|
@@ -6555,7 +6574,7 @@ function ki({ config: t }) {
|
|
|
6555
6574
|
}
|
|
6556
6575
|
),
|
|
6557
6576
|
/* @__PURE__ */ e(
|
|
6558
|
-
|
|
6577
|
+
T,
|
|
6559
6578
|
{
|
|
6560
6579
|
ex: 165,
|
|
6561
6580
|
ey: 390,
|
|
@@ -6570,11 +6589,11 @@ function ki({ config: t }) {
|
|
|
6570
6589
|
name: "APP-01",
|
|
6571
6590
|
status: s,
|
|
6572
6591
|
context: { cpuLoad: 67, memLoad: 72 },
|
|
6573
|
-
subComponents:
|
|
6574
|
-
graphSeries:
|
|
6592
|
+
subComponents: Te(s, "APP-01", { cpuLoad: 67, memLoad: 72 }),
|
|
6593
|
+
graphSeries: Ae({ cpuLoad: 67, memLoad: 72 })
|
|
6575
6594
|
},
|
|
6576
6595
|
children: /* @__PURE__ */ e(
|
|
6577
|
-
|
|
6596
|
+
ge,
|
|
6578
6597
|
{
|
|
6579
6598
|
rotateY: o,
|
|
6580
6599
|
autoRotate: i,
|
|
@@ -6588,7 +6607,7 @@ function ki({ config: t }) {
|
|
|
6588
6607
|
}
|
|
6589
6608
|
),
|
|
6590
6609
|
/* @__PURE__ */ e(
|
|
6591
|
-
|
|
6610
|
+
T,
|
|
6592
6611
|
{
|
|
6593
6612
|
ex: 330,
|
|
6594
6613
|
ey: 390,
|
|
@@ -6603,11 +6622,11 @@ function ki({ config: t }) {
|
|
|
6603
6622
|
name: "APP-02",
|
|
6604
6623
|
status: l,
|
|
6605
6624
|
context: { cpuLoad: 89, memLoad: 91 },
|
|
6606
|
-
subComponents:
|
|
6607
|
-
graphSeries:
|
|
6625
|
+
subComponents: Te(l, "APP-02", { cpuLoad: 89, memLoad: 91 }),
|
|
6626
|
+
graphSeries: Ae({ cpuLoad: 89, memLoad: 91 })
|
|
6608
6627
|
},
|
|
6609
6628
|
children: /* @__PURE__ */ e(
|
|
6610
|
-
|
|
6629
|
+
ge,
|
|
6611
6630
|
{
|
|
6612
6631
|
rotateY: o,
|
|
6613
6632
|
autoRotate: i,
|
|
@@ -6621,7 +6640,7 @@ function ki({ config: t }) {
|
|
|
6621
6640
|
}
|
|
6622
6641
|
),
|
|
6623
6642
|
/* @__PURE__ */ e(
|
|
6624
|
-
|
|
6643
|
+
T,
|
|
6625
6644
|
{
|
|
6626
6645
|
ex: 495,
|
|
6627
6646
|
ey: 390,
|
|
@@ -6636,11 +6655,11 @@ function ki({ config: t }) {
|
|
|
6636
6655
|
name: "APP-03",
|
|
6637
6656
|
status: u,
|
|
6638
6657
|
context: { cpuLoad: 45, memLoad: 63 },
|
|
6639
|
-
subComponents:
|
|
6640
|
-
graphSeries:
|
|
6658
|
+
subComponents: Te(u, "APP-03", { cpuLoad: 45, memLoad: 63 }),
|
|
6659
|
+
graphSeries: Ae({ cpuLoad: 45, memLoad: 63 })
|
|
6641
6660
|
},
|
|
6642
6661
|
children: /* @__PURE__ */ e(
|
|
6643
|
-
|
|
6662
|
+
ge,
|
|
6644
6663
|
{
|
|
6645
6664
|
rotateY: o,
|
|
6646
6665
|
autoRotate: i,
|
|
@@ -6654,7 +6673,7 @@ function ki({ config: t }) {
|
|
|
6654
6673
|
}
|
|
6655
6674
|
),
|
|
6656
6675
|
/* @__PURE__ */ e(
|
|
6657
|
-
|
|
6676
|
+
T,
|
|
6658
6677
|
{
|
|
6659
6678
|
ex: 200,
|
|
6660
6679
|
ey: 520,
|
|
@@ -6687,7 +6706,7 @@ function ki({ config: t }) {
|
|
|
6687
6706
|
}
|
|
6688
6707
|
),
|
|
6689
6708
|
/* @__PURE__ */ e(
|
|
6690
|
-
|
|
6709
|
+
T,
|
|
6691
6710
|
{
|
|
6692
6711
|
ex: 460,
|
|
6693
6712
|
ey: 520,
|
|
@@ -6720,7 +6739,7 @@ function ki({ config: t }) {
|
|
|
6720
6739
|
}
|
|
6721
6740
|
),
|
|
6722
6741
|
/* @__PURE__ */ e(
|
|
6723
|
-
|
|
6742
|
+
T,
|
|
6724
6743
|
{
|
|
6725
6744
|
ex: 330,
|
|
6726
6745
|
ey: 520,
|
|
@@ -6729,14 +6748,14 @@ function ki({ config: t }) {
|
|
|
6729
6748
|
visibleAtPhase: 6,
|
|
6730
6749
|
fixedScale: 1,
|
|
6731
6750
|
bare: !0,
|
|
6732
|
-
children: /* @__PURE__ */ e(
|
|
6751
|
+
children: /* @__PURE__ */ e($t, { synced: f, latencyMs: f ? 8 : 342 })
|
|
6733
6752
|
}
|
|
6734
6753
|
),
|
|
6735
|
-
/* @__PURE__ */ e(
|
|
6754
|
+
/* @__PURE__ */ e(Pi, { config: t })
|
|
6736
6755
|
] });
|
|
6737
6756
|
}
|
|
6738
|
-
function
|
|
6739
|
-
const n =
|
|
6757
|
+
function Pi({ config: t }) {
|
|
6758
|
+
const n = X.useContext(ye), { wdStatus: o, msStatus: i, srv1Status: r, srv2Status: a, srv3Status: s, pdbStatus: l, sdbStatus: u, dbSync: c } = t, p = n?.isSelected && n?.isExpandedPos;
|
|
6740
6759
|
return n?.isSelected ? /* @__PURE__ */ d("div", { style: { pointerEvents: "none" }, children: [
|
|
6741
6760
|
/* @__PURE__ */ e(
|
|
6742
6761
|
W,
|
|
@@ -6860,15 +6879,15 @@ function Ri({ config: t }) {
|
|
|
6860
6879
|
)
|
|
6861
6880
|
] }) : null;
|
|
6862
6881
|
}
|
|
6863
|
-
function
|
|
6882
|
+
function qi({ config: t, ...n }) {
|
|
6864
6883
|
return /* @__PURE__ */ e(
|
|
6865
|
-
|
|
6884
|
+
vt,
|
|
6866
6885
|
{
|
|
6867
6886
|
name: t.name,
|
|
6868
6887
|
status: lt(t),
|
|
6869
|
-
connections:
|
|
6888
|
+
connections: Ei,
|
|
6870
6889
|
...n,
|
|
6871
|
-
children: /* @__PURE__ */ e(
|
|
6890
|
+
children: /* @__PURE__ */ e(Ci, { config: t })
|
|
6872
6891
|
}
|
|
6873
6892
|
);
|
|
6874
6893
|
}
|
|
@@ -6883,7 +6902,7 @@ function st(t) {
|
|
|
6883
6902
|
];
|
|
6884
6903
|
return n.includes("critical") ? "critical" : n.includes("warning") ? "warning" : n.includes("offline") ? "offline" : "online";
|
|
6885
6904
|
}
|
|
6886
|
-
function
|
|
6905
|
+
function Qi(t) {
|
|
6887
6906
|
const n = st(t), o = n === "critical" || n === "offline", i = n === "warning";
|
|
6888
6907
|
return [
|
|
6889
6908
|
{
|
|
@@ -6905,7 +6924,7 @@ function ji(t) {
|
|
|
6905
6924
|
}
|
|
6906
6925
|
];
|
|
6907
6926
|
}
|
|
6908
|
-
function
|
|
6927
|
+
function Ki(t) {
|
|
6909
6928
|
const n = st(t), o = n === "critical" || n === "offline", i = n === "warning";
|
|
6910
6929
|
return [
|
|
6911
6930
|
...t.dbSync ? [] : [{ level: "warning", message: "DB Replication Lag Detected" }],
|
|
@@ -6914,7 +6933,7 @@ function Xi(t) {
|
|
|
6914
6933
|
...!o && !i && t.dbSync ? [{ level: "info", message: "All Systems Nominal" }] : []
|
|
6915
6934
|
];
|
|
6916
6935
|
}
|
|
6917
|
-
const
|
|
6936
|
+
const Ti = [
|
|
6918
6937
|
{ from: [330, 120], to: [330, 260], visibleAtPhase: 3 },
|
|
6919
6938
|
{ from: [330, 260], to: [165, 390], visibleAtPhase: 4 },
|
|
6920
6939
|
{ from: [330, 260], to: [330, 390], visibleAtPhase: 4 },
|
|
@@ -6923,11 +6942,11 @@ const Ci = [
|
|
|
6923
6942
|
{ from: [330, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" },
|
|
6924
6943
|
{ from: [495, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" }
|
|
6925
6944
|
];
|
|
6926
|
-
function
|
|
6927
|
-
const n =
|
|
6928
|
-
return /* @__PURE__ */ d(
|
|
6945
|
+
function Ai({ config: t }) {
|
|
6946
|
+
const n = X.useContext(ye), o = n?.rotateY ?? 20, i = n?.autoRotateComponents ?? !0, { dispStatus: r, srv1Status: a, srv2Status: s, srv3Status: l, pdbStatus: u, sdbStatus: c, dbSync: p } = t;
|
|
6947
|
+
return /* @__PURE__ */ d(Ie, { children: [
|
|
6929
6948
|
/* @__PURE__ */ e(
|
|
6930
|
-
|
|
6949
|
+
T,
|
|
6931
6950
|
{
|
|
6932
6951
|
ex: 330,
|
|
6933
6952
|
ey: 120,
|
|
@@ -6939,7 +6958,7 @@ function Ei({ config: t }) {
|
|
|
6939
6958
|
}
|
|
6940
6959
|
),
|
|
6941
6960
|
/* @__PURE__ */ e(
|
|
6942
|
-
|
|
6961
|
+
T,
|
|
6943
6962
|
{
|
|
6944
6963
|
ex: 330,
|
|
6945
6964
|
ey: 260,
|
|
@@ -6954,8 +6973,8 @@ function Ei({ config: t }) {
|
|
|
6954
6973
|
name: "DISP-01",
|
|
6955
6974
|
status: r,
|
|
6956
6975
|
context: { traffic: 78 },
|
|
6957
|
-
subComponents:
|
|
6958
|
-
graphSeries:
|
|
6976
|
+
subComponents: Pt(r),
|
|
6977
|
+
graphSeries: Tt({ traffic: 78 })
|
|
6959
6978
|
},
|
|
6960
6979
|
children: /* @__PURE__ */ e(
|
|
6961
6980
|
rt,
|
|
@@ -6972,7 +6991,7 @@ function Ei({ config: t }) {
|
|
|
6972
6991
|
}
|
|
6973
6992
|
),
|
|
6974
6993
|
/* @__PURE__ */ e(
|
|
6975
|
-
|
|
6994
|
+
T,
|
|
6976
6995
|
{
|
|
6977
6996
|
ex: 165,
|
|
6978
6997
|
ey: 390,
|
|
@@ -6987,11 +7006,11 @@ function Ei({ config: t }) {
|
|
|
6987
7006
|
name: "APP-01",
|
|
6988
7007
|
status: a,
|
|
6989
7008
|
context: { cpuLoad: 67, memLoad: 72 },
|
|
6990
|
-
subComponents:
|
|
6991
|
-
graphSeries:
|
|
7009
|
+
subComponents: Te(a, "APP-01", { cpuLoad: 67, memLoad: 72 }),
|
|
7010
|
+
graphSeries: Ae({ cpuLoad: 67, memLoad: 72 })
|
|
6992
7011
|
},
|
|
6993
7012
|
children: /* @__PURE__ */ e(
|
|
6994
|
-
|
|
7013
|
+
ge,
|
|
6995
7014
|
{
|
|
6996
7015
|
rotateY: o,
|
|
6997
7016
|
autoRotate: i,
|
|
@@ -7005,7 +7024,7 @@ function Ei({ config: t }) {
|
|
|
7005
7024
|
}
|
|
7006
7025
|
),
|
|
7007
7026
|
/* @__PURE__ */ e(
|
|
7008
|
-
|
|
7027
|
+
T,
|
|
7009
7028
|
{
|
|
7010
7029
|
ex: 330,
|
|
7011
7030
|
ey: 390,
|
|
@@ -7020,11 +7039,11 @@ function Ei({ config: t }) {
|
|
|
7020
7039
|
name: "APP-02",
|
|
7021
7040
|
status: s,
|
|
7022
7041
|
context: { cpuLoad: 89, memLoad: 91 },
|
|
7023
|
-
subComponents:
|
|
7024
|
-
graphSeries:
|
|
7042
|
+
subComponents: Te(s, "APP-02", { cpuLoad: 89, memLoad: 91 }),
|
|
7043
|
+
graphSeries: Ae({ cpuLoad: 89, memLoad: 91 })
|
|
7025
7044
|
},
|
|
7026
7045
|
children: /* @__PURE__ */ e(
|
|
7027
|
-
|
|
7046
|
+
ge,
|
|
7028
7047
|
{
|
|
7029
7048
|
rotateY: o,
|
|
7030
7049
|
autoRotate: i,
|
|
@@ -7038,7 +7057,7 @@ function Ei({ config: t }) {
|
|
|
7038
7057
|
}
|
|
7039
7058
|
),
|
|
7040
7059
|
/* @__PURE__ */ e(
|
|
7041
|
-
|
|
7060
|
+
T,
|
|
7042
7061
|
{
|
|
7043
7062
|
ex: 495,
|
|
7044
7063
|
ey: 390,
|
|
@@ -7053,11 +7072,11 @@ function Ei({ config: t }) {
|
|
|
7053
7072
|
name: "APP-03",
|
|
7054
7073
|
status: l,
|
|
7055
7074
|
context: { cpuLoad: 45, memLoad: 63 },
|
|
7056
|
-
subComponents:
|
|
7057
|
-
graphSeries:
|
|
7075
|
+
subComponents: Te(l, "APP-03", { cpuLoad: 45, memLoad: 63 }),
|
|
7076
|
+
graphSeries: Ae({ cpuLoad: 45, memLoad: 63 })
|
|
7058
7077
|
},
|
|
7059
7078
|
children: /* @__PURE__ */ e(
|
|
7060
|
-
|
|
7079
|
+
ge,
|
|
7061
7080
|
{
|
|
7062
7081
|
rotateY: o,
|
|
7063
7082
|
autoRotate: i,
|
|
@@ -7071,7 +7090,7 @@ function Ei({ config: t }) {
|
|
|
7071
7090
|
}
|
|
7072
7091
|
),
|
|
7073
7092
|
/* @__PURE__ */ e(
|
|
7074
|
-
|
|
7093
|
+
T,
|
|
7075
7094
|
{
|
|
7076
7095
|
ex: 200,
|
|
7077
7096
|
ey: 520,
|
|
@@ -7104,7 +7123,7 @@ function Ei({ config: t }) {
|
|
|
7104
7123
|
}
|
|
7105
7124
|
),
|
|
7106
7125
|
/* @__PURE__ */ e(
|
|
7107
|
-
|
|
7126
|
+
T,
|
|
7108
7127
|
{
|
|
7109
7128
|
ex: 460,
|
|
7110
7129
|
ey: 520,
|
|
@@ -7137,7 +7156,7 @@ function Ei({ config: t }) {
|
|
|
7137
7156
|
}
|
|
7138
7157
|
),
|
|
7139
7158
|
/* @__PURE__ */ e(
|
|
7140
|
-
|
|
7159
|
+
T,
|
|
7141
7160
|
{
|
|
7142
7161
|
ex: 330,
|
|
7143
7162
|
ey: 520,
|
|
@@ -7146,14 +7165,14 @@ function Ei({ config: t }) {
|
|
|
7146
7165
|
visibleAtPhase: 6,
|
|
7147
7166
|
fixedScale: 1,
|
|
7148
7167
|
bare: !0,
|
|
7149
|
-
children: /* @__PURE__ */ e(
|
|
7168
|
+
children: /* @__PURE__ */ e($t, { synced: p, latencyMs: p ? 8 : 342 })
|
|
7150
7169
|
}
|
|
7151
7170
|
),
|
|
7152
|
-
/* @__PURE__ */ e(
|
|
7171
|
+
/* @__PURE__ */ e(Ii, { config: t })
|
|
7153
7172
|
] });
|
|
7154
7173
|
}
|
|
7155
|
-
function
|
|
7156
|
-
const n =
|
|
7174
|
+
function Ii({ config: t }) {
|
|
7175
|
+
const n = X.useContext(ye), { dispStatus: o, srv1Status: i, srv2Status: r, srv3Status: a, pdbStatus: s, sdbStatus: l, dbSync: u } = t, c = n?.isSelected && n?.isExpandedPos;
|
|
7157
7176
|
return n?.isSelected ? /* @__PURE__ */ d("div", { style: { pointerEvents: "none" }, children: [
|
|
7158
7177
|
/* @__PURE__ */ e(
|
|
7159
7178
|
W,
|
|
@@ -7262,80 +7281,80 @@ function Pi({ config: t }) {
|
|
|
7262
7281
|
)
|
|
7263
7282
|
] }) : null;
|
|
7264
7283
|
}
|
|
7265
|
-
function
|
|
7284
|
+
function Gi({ config: t, ...n }) {
|
|
7266
7285
|
return /* @__PURE__ */ e(
|
|
7267
|
-
|
|
7286
|
+
vt,
|
|
7268
7287
|
{
|
|
7269
7288
|
name: t.name,
|
|
7270
7289
|
status: st(t),
|
|
7271
|
-
connections:
|
|
7290
|
+
connections: Ti,
|
|
7272
7291
|
...n,
|
|
7273
|
-
children: /* @__PURE__ */ e(
|
|
7292
|
+
children: /* @__PURE__ */ e(Ai, { config: t })
|
|
7274
7293
|
}
|
|
7275
7294
|
);
|
|
7276
7295
|
}
|
|
7277
7296
|
export {
|
|
7278
|
-
|
|
7297
|
+
_i as AIOPsDashboard,
|
|
7279
7298
|
ze as CPU3D,
|
|
7280
|
-
|
|
7299
|
+
Yt as Carousel,
|
|
7281
7300
|
tt as CarouselContext,
|
|
7282
7301
|
it as CarouselItemContext,
|
|
7283
|
-
|
|
7284
|
-
|
|
7285
|
-
|
|
7302
|
+
Ft as ComponentDialog,
|
|
7303
|
+
Yi as ComponentDrillView,
|
|
7304
|
+
$i as DataProvider,
|
|
7286
7305
|
Ne as Database3D,
|
|
7287
|
-
|
|
7288
|
-
|
|
7289
|
-
|
|
7290
|
-
|
|
7291
|
-
|
|
7292
|
-
|
|
7306
|
+
Bi as DatabaseNode,
|
|
7307
|
+
Pe as DriveBay3D,
|
|
7308
|
+
Ti as EXCHANGE_CONNECTIONS,
|
|
7309
|
+
Gi as ExchangeService,
|
|
7310
|
+
Ni as HOLO_BLUE,
|
|
7311
|
+
Di as HOLO_CYAN,
|
|
7293
7312
|
Je as HOLO_GLASS,
|
|
7294
|
-
|
|
7295
|
-
|
|
7296
|
-
|
|
7313
|
+
Le as HOLO_SURFACE,
|
|
7314
|
+
fi as HistoricalGraphPanel,
|
|
7315
|
+
jt as HoloBase,
|
|
7297
7316
|
ot as Human3D,
|
|
7298
|
-
|
|
7317
|
+
Fi as HumanNode,
|
|
7299
7318
|
Be as Memory3D,
|
|
7300
|
-
|
|
7301
|
-
|
|
7302
|
-
|
|
7319
|
+
kt as MessageServer3D,
|
|
7320
|
+
Hi as MessageServerNode,
|
|
7321
|
+
Et as NetworkBlock3D,
|
|
7303
7322
|
W as NodeCallout,
|
|
7304
7323
|
Me as Platter3D,
|
|
7305
|
-
|
|
7306
|
-
|
|
7307
|
-
|
|
7308
|
-
|
|
7309
|
-
|
|
7310
|
-
|
|
7311
|
-
|
|
7312
|
-
|
|
7313
|
-
|
|
7314
|
-
|
|
7315
|
-
|
|
7316
|
-
|
|
7324
|
+
F as Port3D,
|
|
7325
|
+
qi as SAPService,
|
|
7326
|
+
Ei as SAP_CONNECTIONS,
|
|
7327
|
+
E as STATUS_CFG,
|
|
7328
|
+
ge as Server3D,
|
|
7329
|
+
zi as ServerNode,
|
|
7330
|
+
vt as Service,
|
|
7331
|
+
ye as ServiceContext,
|
|
7332
|
+
zt as ServiceDialog,
|
|
7333
|
+
T as ServiceNode,
|
|
7334
|
+
Vt as SvgConnection,
|
|
7335
|
+
$t as SyncBridge,
|
|
7317
7336
|
M as ThreadPool3D,
|
|
7318
7337
|
rt as WebDispatcher3D,
|
|
7319
|
-
|
|
7320
|
-
|
|
7321
|
-
|
|
7338
|
+
Ui as WebDispatcherNode,
|
|
7339
|
+
Ki as computeExchangeDialogAlerts,
|
|
7340
|
+
Qi as computeExchangeDialogMetrics,
|
|
7322
7341
|
st as computeExchangeServiceStatus,
|
|
7323
|
-
|
|
7324
|
-
|
|
7342
|
+
Xi as computeSAPDialogAlerts,
|
|
7343
|
+
ji as computeSAPDialogMetrics,
|
|
7325
7344
|
lt as computeSAPServiceStatus,
|
|
7326
|
-
|
|
7345
|
+
Si as defaultDataTransform,
|
|
7327
7346
|
Ue as getDatabaseGraphSeries,
|
|
7328
7347
|
Fe as getDatabaseSubComponents,
|
|
7329
|
-
|
|
7330
|
-
|
|
7331
|
-
|
|
7332
|
-
|
|
7333
|
-
|
|
7334
|
-
|
|
7348
|
+
Tt as getDispatcherGraphSeries,
|
|
7349
|
+
Pt as getDispatcherSubComponents,
|
|
7350
|
+
Ri as getMessageServerGraphSeries,
|
|
7351
|
+
ki as getMessageServerSubComponents,
|
|
7352
|
+
Ae as getServerGraphSeries,
|
|
7353
|
+
Te as getServerSubComponents,
|
|
7335
7354
|
et as makeFaceStyles,
|
|
7336
|
-
|
|
7337
|
-
|
|
7338
|
-
|
|
7339
|
-
|
|
7340
|
-
|
|
7355
|
+
xi as useAIOpsData,
|
|
7356
|
+
vi as useAIOpsDataOptional,
|
|
7357
|
+
Wi as useCarouselContext,
|
|
7358
|
+
Mi as useCarouselItemContext,
|
|
7359
|
+
Vi as useQueryResult
|
|
7341
7360
|
};
|