react-aiops 0.1.12 → 0.1.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Carousel.d.ts.map +1 -1
- package/dist/components/NodeCallout.d.ts +3 -1
- package/dist/components/NodeCallout.d.ts.map +1 -1
- package/dist/components/ServiceNode.d.ts.map +1 -1
- package/dist/data/DataProvider.d.ts.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +501 -494
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as c, jsx as e, Fragment as Me } from "react/jsx-runtime";
|
|
2
|
-
import q, { createContext as tt, useContext as
|
|
2
|
+
import q, { createContext as tt, useContext as ye, useState as R, useEffect as Re, useMemo as Tt, useRef as ie, useCallback as Ge } from "react";
|
|
3
3
|
const Ht = {
|
|
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: "⚠️" },
|
|
@@ -146,7 +146,7 @@ function Ut({
|
|
|
146
146
|
}
|
|
147
147
|
),
|
|
148
148
|
d.map((p, f) => {
|
|
149
|
-
const
|
|
149
|
+
const g = Ht[p.level];
|
|
150
150
|
return /* @__PURE__ */ c(
|
|
151
151
|
"div",
|
|
152
152
|
{
|
|
@@ -154,15 +154,15 @@ function Ut({
|
|
|
154
154
|
display: "flex",
|
|
155
155
|
gap: 8,
|
|
156
156
|
alignItems: "flex-start",
|
|
157
|
-
color:
|
|
157
|
+
color: g.color,
|
|
158
158
|
fontSize: 12,
|
|
159
|
-
background:
|
|
159
|
+
background: g.bg,
|
|
160
160
|
padding: "6px 10px",
|
|
161
161
|
borderRadius: 4,
|
|
162
|
-
borderLeft: `2px solid ${
|
|
162
|
+
borderLeft: `2px solid ${g.border}`
|
|
163
163
|
},
|
|
164
164
|
children: [
|
|
165
|
-
/* @__PURE__ */ e("span", { children:
|
|
165
|
+
/* @__PURE__ */ e("span", { children: g.icon }),
|
|
166
166
|
" ",
|
|
167
167
|
/* @__PURE__ */ e("span", { children: p.message })
|
|
168
168
|
]
|
|
@@ -177,7 +177,7 @@ function Ut({
|
|
|
177
177
|
}
|
|
178
178
|
);
|
|
179
179
|
}
|
|
180
|
-
const
|
|
180
|
+
const $ = {
|
|
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)" },
|
|
@@ -235,7 +235,7 @@ function ht(t, n, o) {
|
|
|
235
235
|
}
|
|
236
236
|
const ct = "cubic-bezier(0.34, 1.56, 0.64, 1)", qe = "cubic-bezier(0.16, 1, 0.3, 1)";
|
|
237
237
|
function Ot(t) {
|
|
238
|
-
return
|
|
238
|
+
return $[t]?.color ?? $.online.color;
|
|
239
239
|
}
|
|
240
240
|
function Yt(t, n, o) {
|
|
241
241
|
return t >= o ? "#ff2255" : t >= n ? "#ff8c00" : "#00e5ff";
|
|
@@ -250,31 +250,31 @@ function Vt({
|
|
|
250
250
|
sceneWidth: i = 660,
|
|
251
251
|
sceneHeight: r = 600
|
|
252
252
|
}) {
|
|
253
|
-
const { type: a, name: s, status: l, ex: h, ey: d, context: p = {} } = t, f = Ot(l),
|
|
253
|
+
const { type: a, name: s, status: l, ex: h, ey: d, context: p = {} } = t, f = Ot(l), g = h >= i / 2, u = d >= r / 2, b = {
|
|
254
254
|
position: "fixed",
|
|
255
|
-
...
|
|
255
|
+
...g ? { right: 28 } : { left: 28 },
|
|
256
256
|
...u ? { bottom: 110 } : { top: 72 }
|
|
257
|
-
}, m =
|
|
257
|
+
}, m = g ? 40 : -40, w = u ? 30 : -30, v = t.dialogMetrics ?? p.dialogMetrics;
|
|
258
258
|
let S;
|
|
259
259
|
if (v && v.length > 0)
|
|
260
260
|
S = v.map((y, x) => {
|
|
261
|
-
const
|
|
261
|
+
const C = y.warnAt ?? 70, k = y.critAt ?? 85;
|
|
262
262
|
return {
|
|
263
263
|
id: y.id,
|
|
264
264
|
label: y.label,
|
|
265
265
|
sublabel: y.sublabel,
|
|
266
266
|
value: y.value,
|
|
267
267
|
unit: y.unit ?? "%",
|
|
268
|
-
status: Xe(l, y.value,
|
|
268
|
+
status: Xe(l, y.value, C, k),
|
|
269
269
|
icon: y.icon ?? "cpu",
|
|
270
270
|
delay: x,
|
|
271
271
|
colorOverride: y.color,
|
|
272
|
-
warnAt:
|
|
272
|
+
warnAt: C,
|
|
273
273
|
critAt: k
|
|
274
274
|
};
|
|
275
275
|
});
|
|
276
276
|
else {
|
|
277
|
-
const y = p.cpuLoad ?? p.traffic ?? 50, x = p.memLoad ?? p.queueDepth ?? 60,
|
|
277
|
+
const y = p.cpuLoad ?? p.traffic ?? 50, x = p.memLoad ?? p.queueDepth ?? 60, C = p.capacity ?? 72, k = Xe(l, y, 70, 85), P = Xe(l, x, 75, 88), O = Xe(l, C, 75, 90);
|
|
278
278
|
S = [
|
|
279
279
|
{
|
|
280
280
|
id: "cpu",
|
|
@@ -292,7 +292,7 @@ function Vt({
|
|
|
292
292
|
sublabel: a === "database" ? "BUFFER POOL" : "HEAP USAGE",
|
|
293
293
|
value: x,
|
|
294
294
|
unit: "%",
|
|
295
|
-
status:
|
|
295
|
+
status: P,
|
|
296
296
|
icon: "mem",
|
|
297
297
|
delay: 1
|
|
298
298
|
},
|
|
@@ -300,9 +300,9 @@ function Vt({
|
|
|
300
300
|
id: "storage",
|
|
301
301
|
label: "STORAGE",
|
|
302
302
|
sublabel: a === "database" ? "TABLESPACE" : "DISK I/O",
|
|
303
|
-
value:
|
|
303
|
+
value: C,
|
|
304
304
|
unit: "%",
|
|
305
|
-
status:
|
|
305
|
+
status: O,
|
|
306
306
|
icon: "disk",
|
|
307
307
|
delay: 2
|
|
308
308
|
}
|
|
@@ -312,7 +312,7 @@ function Vt({
|
|
|
312
312
|
"div",
|
|
313
313
|
{
|
|
314
314
|
style: {
|
|
315
|
-
...
|
|
315
|
+
...b,
|
|
316
316
|
width: 420,
|
|
317
317
|
background: "linear-gradient(170deg, rgba(2, 10, 22, 0.96) 0%, rgba(2, 6, 14, 0.98) 100%)",
|
|
318
318
|
backdropFilter: "blur(20px)",
|
|
@@ -583,8 +583,8 @@ function _t({
|
|
|
583
583
|
delay: d,
|
|
584
584
|
colorOverride: p,
|
|
585
585
|
warnAt: f = 70,
|
|
586
|
-
critAt:
|
|
587
|
-
} = t, u = p ?? Yt(a, f,
|
|
586
|
+
critAt: g = 85
|
|
587
|
+
} = t, u = p ?? Yt(a, f, g), b = p ?? Ot(l);
|
|
588
588
|
return /* @__PURE__ */ c(
|
|
589
589
|
"div",
|
|
590
590
|
{
|
|
@@ -604,8 +604,8 @@ function _t({
|
|
|
604
604
|
width: 52,
|
|
605
605
|
height: 52,
|
|
606
606
|
borderRadius: 12,
|
|
607
|
-
border: `1px solid ${
|
|
608
|
-
background: `linear-gradient(135deg, ${
|
|
607
|
+
border: `1px solid ${b}44`,
|
|
608
|
+
background: `linear-gradient(135deg, ${b}0c 0%, ${b}04 100%)`,
|
|
609
609
|
display: "flex",
|
|
610
610
|
alignItems: "center",
|
|
611
611
|
justifyContent: "center",
|
|
@@ -615,7 +615,7 @@ function _t({
|
|
|
615
615
|
animation: n ? `comp-dialog-icon-pop 0.5s ${ct} ${0.35 + d * 0.12}s both` : "none"
|
|
616
616
|
},
|
|
617
617
|
children: [
|
|
618
|
-
/* @__PURE__ */ e(jt, { type: h, color:
|
|
618
|
+
/* @__PURE__ */ e(jt, { type: h, color: b }),
|
|
619
619
|
(l === "warning" || l === "critical") && /* @__PURE__ */ e(
|
|
620
620
|
"div",
|
|
621
621
|
{
|
|
@@ -626,8 +626,8 @@ function _t({
|
|
|
626
626
|
width: 5,
|
|
627
627
|
height: 5,
|
|
628
628
|
borderRadius: "50%",
|
|
629
|
-
background:
|
|
630
|
-
boxShadow: `0 0 6px ${
|
|
629
|
+
background: b,
|
|
630
|
+
boxShadow: `0 0 6px ${b}`,
|
|
631
631
|
animation: "holo-led-blink 1.2s infinite"
|
|
632
632
|
}
|
|
633
633
|
}
|
|
@@ -737,7 +737,7 @@ function _t({
|
|
|
737
737
|
{
|
|
738
738
|
style: {
|
|
739
739
|
position: "absolute",
|
|
740
|
-
left: `${
|
|
740
|
+
left: `${g}%`,
|
|
741
741
|
top: 0,
|
|
742
742
|
bottom: 0,
|
|
743
743
|
width: 1,
|
|
@@ -781,7 +781,7 @@ function _t({
|
|
|
781
781
|
{
|
|
782
782
|
style: {
|
|
783
783
|
position: "absolute",
|
|
784
|
-
left: `${
|
|
784
|
+
left: `${g}%`,
|
|
785
785
|
transform: "translateX(-50%)",
|
|
786
786
|
fontSize: 6,
|
|
787
787
|
color: "rgba(255,34,85,0.3)",
|
|
@@ -896,10 +896,10 @@ function jt({ type: t, color: n }) {
|
|
|
896
896
|
}
|
|
897
897
|
const ut = tt(null), bt = tt({ index: 0 });
|
|
898
898
|
function Ni() {
|
|
899
|
-
return
|
|
899
|
+
return ye(ut);
|
|
900
900
|
}
|
|
901
901
|
function Wi() {
|
|
902
|
-
return
|
|
902
|
+
return ye(bt);
|
|
903
903
|
}
|
|
904
904
|
function Xt({
|
|
905
905
|
children: t,
|
|
@@ -914,63 +914,66 @@ function Xt({
|
|
|
914
914
|
componentScale: d = 0.35,
|
|
915
915
|
drillZoom: p = 3.3,
|
|
916
916
|
autoRotateCarousel: f = !0,
|
|
917
|
-
carouselSpeed:
|
|
917
|
+
carouselSpeed: g = 6e-3,
|
|
918
918
|
width: u = 950,
|
|
919
|
-
height:
|
|
919
|
+
height: b = 790,
|
|
920
920
|
onSelectSystem: m,
|
|
921
921
|
onBackgroundClick: w,
|
|
922
922
|
onComponentClick: v,
|
|
923
923
|
onCloseDrill: S,
|
|
924
924
|
onComponentUpdate: y,
|
|
925
925
|
selectedSystemStatus: x = "online",
|
|
926
|
-
selectedSystemDbSync:
|
|
926
|
+
selectedSystemDbSync: C = !0,
|
|
927
927
|
selectedSystemMetrics: k,
|
|
928
|
-
selectedSystemAlerts:
|
|
928
|
+
selectedSystemAlerts: P
|
|
929
929
|
}) {
|
|
930
|
-
const [
|
|
931
|
-
|
|
932
|
-
let
|
|
930
|
+
const [O, I] = R(0);
|
|
931
|
+
Re(() => {
|
|
932
|
+
let N;
|
|
933
933
|
if ((o === "compact" || o === "collapsing") && f) {
|
|
934
934
|
const U = () => {
|
|
935
|
-
|
|
935
|
+
I((ne) => ne + g), N = requestAnimationFrame(U);
|
|
936
936
|
};
|
|
937
|
-
|
|
937
|
+
N = requestAnimationFrame(U);
|
|
938
938
|
}
|
|
939
|
-
return () => cancelAnimationFrame(
|
|
940
|
-
}, [o, f,
|
|
941
|
-
const
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
939
|
+
return () => cancelAnimationFrame(N);
|
|
940
|
+
}, [o, f, g]);
|
|
941
|
+
const z = q.Children.toArray(t), K = z.length, Z = Tt(
|
|
942
|
+
() => ({
|
|
943
|
+
totalSystems: K,
|
|
944
|
+
carouselRotation: O,
|
|
945
|
+
viewState: o,
|
|
946
|
+
animPhase: i,
|
|
947
|
+
selectedSystem: r,
|
|
948
|
+
selectedComponent: a,
|
|
949
|
+
rotateY: l,
|
|
950
|
+
autoRotateComponents: h,
|
|
951
|
+
componentScale: d,
|
|
952
|
+
drillZoom: p,
|
|
953
|
+
onSelectSystem: m,
|
|
954
|
+
onComponentClick: v,
|
|
955
|
+
onComponentUpdate: y,
|
|
956
|
+
containerWidth: u
|
|
957
|
+
}),
|
|
958
|
+
[
|
|
959
|
+
K,
|
|
960
|
+
O,
|
|
961
|
+
o,
|
|
962
|
+
i,
|
|
963
|
+
r,
|
|
964
|
+
a,
|
|
965
|
+
l,
|
|
966
|
+
h,
|
|
967
|
+
d,
|
|
968
|
+
p,
|
|
969
|
+
m,
|
|
970
|
+
v,
|
|
971
|
+
y,
|
|
972
|
+
u
|
|
973
|
+
]
|
|
974
|
+
), me = z.map((N, U) => /* @__PURE__ */ e(bt.Provider, { value: { index: U }, children: N }, U)), xe = o === "expanded" || o === "expanding" && i >= 4;
|
|
972
975
|
return /* @__PURE__ */ c(ut.Provider, { value: Z, children: [
|
|
973
|
-
/* @__PURE__ */ c("div", { style: { position: "relative", width: u, height:
|
|
976
|
+
/* @__PURE__ */ c("div", { style: { position: "relative", width: u, height: b, margin: "0 auto", flexShrink: 0 }, children: [
|
|
974
977
|
n && (o === "compact" || o === "collapsing") && /* @__PURE__ */ e(
|
|
975
978
|
"img",
|
|
976
979
|
{
|
|
@@ -991,27 +994,27 @@ function Xt({
|
|
|
991
994
|
}
|
|
992
995
|
}
|
|
993
996
|
),
|
|
994
|
-
|
|
997
|
+
me
|
|
995
998
|
] }),
|
|
996
|
-
r && /* @__PURE__ */ e("div", { onClick: (
|
|
999
|
+
r && /* @__PURE__ */ e("div", { onClick: (N) => N.stopPropagation(), children: /* @__PURE__ */ e(
|
|
997
1000
|
Ut,
|
|
998
1001
|
{
|
|
999
1002
|
name: r,
|
|
1000
1003
|
status: x,
|
|
1001
|
-
dbSync:
|
|
1002
|
-
visible:
|
|
1004
|
+
dbSync: C,
|
|
1005
|
+
visible: xe && !a,
|
|
1003
1006
|
metrics: k,
|
|
1004
|
-
alerts:
|
|
1007
|
+
alerts: P
|
|
1005
1008
|
}
|
|
1006
1009
|
) }),
|
|
1007
|
-
a && /* @__PURE__ */ e("div", { onClick: (
|
|
1010
|
+
a && /* @__PURE__ */ e("div", { onClick: (N) => N.stopPropagation(), children: /* @__PURE__ */ e(
|
|
1008
1011
|
Vt,
|
|
1009
1012
|
{
|
|
1010
1013
|
component: a,
|
|
1011
1014
|
onClose: S,
|
|
1012
1015
|
visible: s >= 0.3,
|
|
1013
1016
|
sceneWidth: u,
|
|
1014
|
-
sceneHeight:
|
|
1017
|
+
sceneHeight: b
|
|
1015
1018
|
}
|
|
1016
1019
|
) })
|
|
1017
1020
|
] });
|
|
@@ -1299,7 +1302,7 @@ function Gt({
|
|
|
1299
1302
|
}, children: r })
|
|
1300
1303
|
] });
|
|
1301
1304
|
}
|
|
1302
|
-
const
|
|
1305
|
+
const Ce = tt(null), Kt = "cubic-bezier(0.34, 1.56, 0.64, 1)", $t = 330, kt = 340, Zt = 660;
|
|
1303
1306
|
function Lt({
|
|
1304
1307
|
name: t,
|
|
1305
1308
|
status: n = "online",
|
|
@@ -1313,34 +1316,34 @@ function Lt({
|
|
|
1313
1316
|
_animPhase: d,
|
|
1314
1317
|
_selectedSystem: p,
|
|
1315
1318
|
_selectedComponent: f,
|
|
1316
|
-
_rotateY:
|
|
1319
|
+
_rotateY: g,
|
|
1317
1320
|
_autoRotateComponents: u,
|
|
1318
|
-
_componentScale:
|
|
1321
|
+
_componentScale: b,
|
|
1319
1322
|
_drillZoom: m,
|
|
1320
1323
|
_onSelectSystem: w,
|
|
1321
1324
|
_onComponentClick: v,
|
|
1322
1325
|
_onComponentUpdate: S,
|
|
1323
1326
|
_containerWidth: y
|
|
1324
1327
|
}) {
|
|
1325
|
-
const x =
|
|
1328
|
+
const x = ye(ut), C = ye(bt), k = a ?? C.index, P = s ?? x?.totalSystems ?? 1, O = l ?? x?.carouselRotation ?? 0, I = h ?? x?.viewState ?? "compact", z = d ?? x?.animPhase ?? 0, K = p ?? x?.selectedSystem ?? null, Z = f ?? x?.selectedComponent ?? null, me = g ?? x?.rotateY ?? 20, xe = u ?? x?.autoRotateComponents ?? !0, N = b ?? x?.componentScale ?? 0.35, U = m ?? x?.drillZoom ?? 3.3, ne = w ?? x?.onSelectSystem, Be = v ?? x?.onComponentClick, oe = S ?? x?.onComponentUpdate, Fe = y ?? x?.containerWidth ?? 950, J = K === t, B = J && (I === "expanded" || I === "expanding" && z >= 1), _ = !B, se = (Fe - Zt) / 2, de = $t + se, ce = k / P * Math.PI * 2 + O, it = 420, nt = 160, ve = de + Math.cos(ce) * it, pe = 450 + Math.sin(ce) * nt, ot = Math.round(pe), T = !J && (I === "expanding" || I === "expanded"), j = T ? 0 : 1, re = _ ? 0.3 + (Math.sin(ce) + 1) * 0.1 : 1, ee = _ ? re : N, ae = I === "compact" || I === "collapsing" ? "none" : "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)", we = J && Z, le = we ? U : 1, fe = Z?.ex ?? 330, F = Z?.ey ?? 300, { size: rt = 90, color: at = "#00e5ff", widthRatio: Ye = 3 } = i ?? {}, Se = {
|
|
1326
1329
|
name: t,
|
|
1327
1330
|
isSelected: J,
|
|
1328
|
-
isExpandedPos:
|
|
1331
|
+
isExpandedPos: B,
|
|
1329
1332
|
isCompact: _,
|
|
1330
|
-
animPhase:
|
|
1331
|
-
compactCx:
|
|
1332
|
-
compactCy:
|
|
1333
|
-
groupScale:
|
|
1333
|
+
animPhase: z,
|
|
1334
|
+
compactCx: ve,
|
|
1335
|
+
compactCy: pe,
|
|
1336
|
+
groupScale: re,
|
|
1334
1337
|
effectiveScale: ee,
|
|
1335
|
-
transitionValue:
|
|
1336
|
-
rotateY:
|
|
1337
|
-
autoRotateComponents:
|
|
1338
|
+
transitionValue: ae,
|
|
1339
|
+
rotateY: me,
|
|
1340
|
+
autoRotateComponents: xe,
|
|
1338
1341
|
onComponentClick: Be,
|
|
1339
|
-
onComponentUpdate:
|
|
1342
|
+
onComponentUpdate: oe,
|
|
1340
1343
|
selectedComponentName: Z?.name ?? null,
|
|
1341
1344
|
expandedOffsetX: se
|
|
1342
1345
|
};
|
|
1343
|
-
return /* @__PURE__ */ e(
|
|
1346
|
+
return /* @__PURE__ */ e(Ce.Provider, { value: Se, children: /* @__PURE__ */ c(
|
|
1344
1347
|
"div",
|
|
1345
1348
|
{
|
|
1346
1349
|
style: {
|
|
@@ -1352,10 +1355,10 @@ function Lt({
|
|
|
1352
1355
|
pointerEvents: "none",
|
|
1353
1356
|
opacity: j,
|
|
1354
1357
|
transition: `opacity 0.8s ease, filter 0.5s ease, transform 0.6s ${Kt}`,
|
|
1355
|
-
filter: _ && Math.sin(
|
|
1358
|
+
filter: _ && Math.sin(ce) < -0.5 ? "brightness(0.5) blur(2px)" : "none",
|
|
1356
1359
|
zIndex: J ? 500 : T ? 0 : ot,
|
|
1357
1360
|
transformOrigin: `${de}px ${kt}px`,
|
|
1358
|
-
transform:
|
|
1361
|
+
transform: we ? `translate(${-(fe - $t) * le}px, ${-(F - kt) * le}px) scale(${le})` : "none"
|
|
1359
1362
|
},
|
|
1360
1363
|
children: [
|
|
1361
1364
|
_ && !T && /* @__PURE__ */ e(
|
|
@@ -1363,8 +1366,8 @@ function Lt({
|
|
|
1363
1366
|
{
|
|
1364
1367
|
style: {
|
|
1365
1368
|
position: "absolute",
|
|
1366
|
-
left:
|
|
1367
|
-
top:
|
|
1369
|
+
left: ve,
|
|
1370
|
+
top: pe,
|
|
1368
1371
|
width: 160,
|
|
1369
1372
|
height: 180,
|
|
1370
1373
|
transform: "translate(-50%, -80%)",
|
|
@@ -1372,8 +1375,8 @@ function Lt({
|
|
|
1372
1375
|
cursor: "pointer",
|
|
1373
1376
|
zIndex: 101
|
|
1374
1377
|
},
|
|
1375
|
-
onClick: (
|
|
1376
|
-
|
|
1378
|
+
onClick: (H) => {
|
|
1379
|
+
H.stopPropagation(), ne?.(t);
|
|
1377
1380
|
}
|
|
1378
1381
|
}
|
|
1379
1382
|
),
|
|
@@ -1382,9 +1385,9 @@ function Lt({
|
|
|
1382
1385
|
{
|
|
1383
1386
|
style: {
|
|
1384
1387
|
position: "absolute",
|
|
1385
|
-
left:
|
|
1386
|
-
top:
|
|
1387
|
-
transform: `translate(-50%, -50%) scale(${
|
|
1388
|
+
left: ve,
|
|
1389
|
+
top: pe - 200,
|
|
1390
|
+
transform: `translate(-50%, -50%) scale(${re})`,
|
|
1388
1391
|
zIndex: 110,
|
|
1389
1392
|
pointerEvents: "none",
|
|
1390
1393
|
animation: "holo-led-blink 1.5s infinite",
|
|
@@ -1430,13 +1433,13 @@ function Lt({
|
|
|
1430
1433
|
{
|
|
1431
1434
|
style: {
|
|
1432
1435
|
position: "absolute",
|
|
1433
|
-
left:
|
|
1434
|
-
top:
|
|
1435
|
-
transform: `translate(-50%, -50%) scale(${
|
|
1436
|
+
left: B ? de : ve,
|
|
1437
|
+
top: B ? 48 : pe - 180,
|
|
1438
|
+
transform: `translate(-50%, -50%) scale(${B ? 1.2 : re * 1.5})`,
|
|
1436
1439
|
opacity: 1,
|
|
1437
1440
|
pointerEvents: "none",
|
|
1438
1441
|
zIndex: 100,
|
|
1439
|
-
transition:
|
|
1442
|
+
transition: ae,
|
|
1440
1443
|
fontSize: 36,
|
|
1441
1444
|
fontWeight: 700,
|
|
1442
1445
|
letterSpacing: "0.18em",
|
|
@@ -1456,23 +1459,23 @@ function Lt({
|
|
|
1456
1459
|
style: {
|
|
1457
1460
|
position: "absolute",
|
|
1458
1461
|
top: 0,
|
|
1459
|
-
left:
|
|
1462
|
+
left: B ? se : 0,
|
|
1460
1463
|
width: 660,
|
|
1461
1464
|
height: 640,
|
|
1462
1465
|
pointerEvents: "none",
|
|
1463
1466
|
zIndex: 0,
|
|
1464
|
-
transition:
|
|
1467
|
+
transition: ae
|
|
1465
1468
|
},
|
|
1466
|
-
children: o.map((
|
|
1469
|
+
children: o.map((H, Ve) => /* @__PURE__ */ e(
|
|
1467
1470
|
qt,
|
|
1468
1471
|
{
|
|
1469
|
-
x1:
|
|
1470
|
-
y1:
|
|
1471
|
-
x2:
|
|
1472
|
-
y2:
|
|
1473
|
-
show: J &&
|
|
1474
|
-
color:
|
|
1475
|
-
dur:
|
|
1472
|
+
x1: H.from[0],
|
|
1473
|
+
y1: H.from[1],
|
|
1474
|
+
x2: H.to[0],
|
|
1475
|
+
y2: H.to[1],
|
|
1476
|
+
show: J && z >= (H.visibleAtPhase ?? 0),
|
|
1477
|
+
color: H.color,
|
|
1478
|
+
dur: H.duration
|
|
1476
1479
|
},
|
|
1477
1480
|
Ve
|
|
1478
1481
|
))
|
|
@@ -1483,10 +1486,10 @@ function Lt({
|
|
|
1483
1486
|
{
|
|
1484
1487
|
style: {
|
|
1485
1488
|
position: "absolute",
|
|
1486
|
-
left:
|
|
1487
|
-
top:
|
|
1488
|
-
transform: `translate(-50%, -50%) scaleX(${
|
|
1489
|
-
transition:
|
|
1489
|
+
left: B ? de : ve,
|
|
1490
|
+
top: B ? 570 : pe + 70,
|
|
1491
|
+
transform: `translate(-50%, -50%) scaleX(${B ? 1 : 0.4}) scaleY(${B ? 1 : 0.6}) scale(${B ? 1 : re})`,
|
|
1492
|
+
transition: ae,
|
|
1490
1493
|
zIndex: 1
|
|
1491
1494
|
},
|
|
1492
1495
|
children: /* @__PURE__ */ e(Gt, { size: rt, color: at, widthRatio: Ye, children: /* @__PURE__ */ e("div", { className: "base-hotspot" }) })
|
|
@@ -1497,7 +1500,7 @@ function Lt({
|
|
|
1497
1500
|
}
|
|
1498
1501
|
) });
|
|
1499
1502
|
}
|
|
1500
|
-
function
|
|
1503
|
+
function W({
|
|
1501
1504
|
ex: t,
|
|
1502
1505
|
ey: n,
|
|
1503
1506
|
status: o,
|
|
@@ -1507,22 +1510,23 @@ function N({
|
|
|
1507
1510
|
offsetY: s,
|
|
1508
1511
|
isVisible: l,
|
|
1509
1512
|
align: h = "right",
|
|
1510
|
-
internalRef: d
|
|
1513
|
+
internalRef: d,
|
|
1514
|
+
forceShow: p = !1
|
|
1511
1515
|
}) {
|
|
1512
|
-
const
|
|
1513
|
-
if (o === "online") return null;
|
|
1514
|
-
const
|
|
1515
|
-
let
|
|
1516
|
-
if (
|
|
1517
|
-
const
|
|
1518
|
-
|
|
1516
|
+
const f = ye(Ce), g = f?.expandedOffsetX ?? 0;
|
|
1517
|
+
if (o === "online" && !p) return null;
|
|
1518
|
+
const u = l && !!f?.isExpandedPos, b = o === "online" ? $.warning.color : $[o]?.color ?? $.warning.color, m = Math.abs(a) > Math.abs(s), w = t + g + (m ? Math.sign(a) * 45 : 0), v = n + (m ? 0 : Math.sign(s) * 40), S = t + g + a, y = n + s;
|
|
1519
|
+
let x = "";
|
|
1520
|
+
if (m) {
|
|
1521
|
+
const O = w + (S - w) / 2;
|
|
1522
|
+
x = `M ${w} ${v} L ${O} ${v} L ${O} ${y} L ${S} ${y}`;
|
|
1519
1523
|
} else {
|
|
1520
|
-
const
|
|
1521
|
-
|
|
1524
|
+
const O = v + (y - v) / 2;
|
|
1525
|
+
x = `M ${w} ${v} L ${w} ${O} L ${S} ${O} L ${S} ${y}`;
|
|
1522
1526
|
}
|
|
1523
|
-
let
|
|
1524
|
-
h === "left" && (
|
|
1525
|
-
const
|
|
1527
|
+
let C = "translate(0, -50%)";
|
|
1528
|
+
h === "left" && (C = "translate(-100%, -50%)"), h === "top" && (C = "translate(-50%, -100%)"), h === "bottom" && (C = "translate(-50%, 0)");
|
|
1529
|
+
const k = h === "left" ? -8 : h === "right" ? 8 : 0, P = h === "top" ? -8 : h === "bottom" ? 8 : 0;
|
|
1526
1530
|
return /* @__PURE__ */ c(
|
|
1527
1531
|
"div",
|
|
1528
1532
|
{
|
|
@@ -1533,7 +1537,7 @@ function N({
|
|
|
1533
1537
|
width: "100%",
|
|
1534
1538
|
height: "100%",
|
|
1535
1539
|
pointerEvents: "none",
|
|
1536
|
-
opacity:
|
|
1540
|
+
opacity: u ? 1 : 0,
|
|
1537
1541
|
transition: "opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.8s",
|
|
1538
1542
|
zIndex: 150
|
|
1539
1543
|
},
|
|
@@ -1553,12 +1557,12 @@ function N({
|
|
|
1553
1557
|
children: /* @__PURE__ */ e(
|
|
1554
1558
|
"path",
|
|
1555
1559
|
{
|
|
1556
|
-
d:
|
|
1560
|
+
d: x,
|
|
1557
1561
|
fill: "none",
|
|
1558
|
-
stroke:
|
|
1562
|
+
stroke: b,
|
|
1559
1563
|
strokeWidth: "1.5",
|
|
1560
1564
|
strokeDasharray: "5 4",
|
|
1561
|
-
style: { filter: `drop-shadow(0 0 4px ${
|
|
1565
|
+
style: { filter: `drop-shadow(0 0 4px ${b})`, opacity: 0.55 }
|
|
1562
1566
|
}
|
|
1563
1567
|
)
|
|
1564
1568
|
}
|
|
@@ -1568,14 +1572,14 @@ function N({
|
|
|
1568
1572
|
{
|
|
1569
1573
|
style: {
|
|
1570
1574
|
position: "absolute",
|
|
1571
|
-
left:
|
|
1572
|
-
top:
|
|
1573
|
-
transform:
|
|
1574
|
-
marginLeft:
|
|
1575
|
-
marginTop:
|
|
1575
|
+
left: S,
|
|
1576
|
+
top: y,
|
|
1577
|
+
transform: C,
|
|
1578
|
+
marginLeft: k,
|
|
1579
|
+
marginTop: P,
|
|
1576
1580
|
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)",
|
|
1577
|
-
border: `1px solid ${
|
|
1578
|
-
borderLeft: `2px solid ${
|
|
1581
|
+
border: `1px solid ${b}55`,
|
|
1582
|
+
borderLeft: `2px solid ${b}`,
|
|
1579
1583
|
backdropFilter: "blur(8px)",
|
|
1580
1584
|
WebkitBackdropFilter: "blur(8px)",
|
|
1581
1585
|
padding: "6px 10px",
|
|
@@ -1583,7 +1587,7 @@ function N({
|
|
|
1583
1587
|
color: "#fff",
|
|
1584
1588
|
fontFamily: "'Courier New', monospace",
|
|
1585
1589
|
width: 140,
|
|
1586
|
-
boxShadow: `0 4px 12px rgba(0,0,0,0.4), 0 0 8px ${
|
|
1590
|
+
boxShadow: `0 4px 12px rgba(0,0,0,0.4), 0 0 8px ${b}22 inset`
|
|
1587
1591
|
},
|
|
1588
1592
|
children: [
|
|
1589
1593
|
/* @__PURE__ */ c(
|
|
@@ -1603,8 +1607,8 @@ function N({
|
|
|
1603
1607
|
width: 4,
|
|
1604
1608
|
height: 4,
|
|
1605
1609
|
borderRadius: "50%",
|
|
1606
|
-
background:
|
|
1607
|
-
boxShadow: `0 0 6px ${
|
|
1610
|
+
background: b,
|
|
1611
|
+
boxShadow: `0 0 6px ${b}`,
|
|
1608
1612
|
animation: "holo-led-blink 1.5s infinite"
|
|
1609
1613
|
}
|
|
1610
1614
|
}
|
|
@@ -1613,12 +1617,12 @@ function N({
|
|
|
1613
1617
|
"div",
|
|
1614
1618
|
{
|
|
1615
1619
|
style: {
|
|
1616
|
-
color:
|
|
1620
|
+
color: b,
|
|
1617
1621
|
fontWeight: "600",
|
|
1618
1622
|
fontSize: 10,
|
|
1619
1623
|
letterSpacing: "1px",
|
|
1620
1624
|
textTransform: "uppercase",
|
|
1621
|
-
textShadow: `0 0 4px ${
|
|
1625
|
+
textShadow: `0 0 4px ${b}88`
|
|
1622
1626
|
},
|
|
1623
1627
|
children: d ? `${i} · ${d}` : i
|
|
1624
1628
|
}
|
|
@@ -1644,7 +1648,7 @@ function N({
|
|
|
1644
1648
|
}
|
|
1645
1649
|
);
|
|
1646
1650
|
}
|
|
1647
|
-
function
|
|
1651
|
+
function A({
|
|
1648
1652
|
ex: t,
|
|
1649
1653
|
ey: n,
|
|
1650
1654
|
compactOffset: o,
|
|
@@ -1657,11 +1661,11 @@ function E({
|
|
|
1657
1661
|
componentInfo: d,
|
|
1658
1662
|
visibleAtPhase: p = 0,
|
|
1659
1663
|
fixedScale: f,
|
|
1660
|
-
bare:
|
|
1664
|
+
bare: g = !1,
|
|
1661
1665
|
alert: u
|
|
1662
1666
|
}) {
|
|
1663
|
-
const
|
|
1664
|
-
if (!
|
|
1667
|
+
const b = ye(Ce);
|
|
1668
|
+
if (!b)
|
|
1665
1669
|
throw new Error("ServiceNode must be used inside a <Service> component.");
|
|
1666
1670
|
const {
|
|
1667
1671
|
isExpandedPos: m,
|
|
@@ -1670,12 +1674,12 @@ function E({
|
|
|
1670
1674
|
compactCy: S,
|
|
1671
1675
|
groupScale: y,
|
|
1672
1676
|
effectiveScale: x,
|
|
1673
|
-
transitionValue:
|
|
1677
|
+
transitionValue: C,
|
|
1674
1678
|
onComponentClick: k,
|
|
1675
|
-
onComponentUpdate:
|
|
1676
|
-
selectedComponentName:
|
|
1677
|
-
expandedOffsetX:
|
|
1678
|
-
} =
|
|
1679
|
+
onComponentUpdate: P,
|
|
1680
|
+
selectedComponentName: O,
|
|
1681
|
+
expandedOffsetX: I
|
|
1682
|
+
} = b, K = p === 0 || b.isSelected && w >= p ? 1 : 0, Z = v + o.x, me = S + o.y, xe = m ? t + I : Z, N = m ? n : me, U = f !== void 0 ? f : b.isCompact ? y : x, ne = !!d && !!O && d.name === O, Be = d?.status ? $[d.status]?.color ?? a : a, oe = d?.status === "offline" ? "#4a6a8a" : Be, Fe = d && m && k ? () => k({
|
|
1679
1683
|
type: d.type,
|
|
1680
1684
|
name: d.name,
|
|
1681
1685
|
status: d.status,
|
|
@@ -1685,9 +1689,9 @@ function E({
|
|
|
1685
1689
|
dialogMetrics: d.dialogMetrics,
|
|
1686
1690
|
subComponents: d.subComponents,
|
|
1687
1691
|
graphSeries: d.graphSeries
|
|
1688
|
-
}) : void 0, J = JSON.stringify(d?.context ?? {}),
|
|
1689
|
-
|
|
1690
|
-
!ne || !d ||
|
|
1692
|
+
}) : void 0, J = JSON.stringify(d?.context ?? {}), B = JSON.stringify(d?.dialogMetrics ?? []);
|
|
1693
|
+
Re(() => {
|
|
1694
|
+
!ne || !d || !P || P({
|
|
1691
1695
|
type: d.type,
|
|
1692
1696
|
name: d.name,
|
|
1693
1697
|
status: d.status,
|
|
@@ -1698,31 +1702,32 @@ function E({
|
|
|
1698
1702
|
subComponents: d.subComponents,
|
|
1699
1703
|
graphSeries: d.graphSeries
|
|
1700
1704
|
});
|
|
1701
|
-
}, [ne, d?.status, J,
|
|
1702
|
-
const _ = d?.status === "warning" || d?.status === "critical", se = d?.status
|
|
1705
|
+
}, [ne, d?.status, J, B]);
|
|
1706
|
+
const _ = d?.status === "warning" || d?.status === "critical" || !!u, se = u && d?.status === "online" ? $.warning.color : oe, de = d?.status ?? "online", ce = d?.name ?? s ?? "";
|
|
1703
1707
|
return /* @__PURE__ */ c(Me, { children: [
|
|
1704
1708
|
/* @__PURE__ */ e(
|
|
1705
1709
|
"div",
|
|
1706
1710
|
{
|
|
1707
1711
|
style: {
|
|
1708
1712
|
position: "absolute",
|
|
1709
|
-
left:
|
|
1710
|
-
top:
|
|
1713
|
+
left: xe,
|
|
1714
|
+
top: N,
|
|
1711
1715
|
transform: `translate(-50%, -50%) scale(${U})`,
|
|
1712
1716
|
opacity: K,
|
|
1713
1717
|
zIndex: i,
|
|
1714
|
-
transition:
|
|
1718
|
+
transition: C || "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)",
|
|
1715
1719
|
pointerEvents: m && K >= 0.5 ? "auto" : "none"
|
|
1716
1720
|
},
|
|
1717
|
-
children:
|
|
1721
|
+
children: g ? r : /* @__PURE__ */ e(
|
|
1718
1722
|
Jt,
|
|
1719
1723
|
{
|
|
1720
|
-
statusColor:
|
|
1724
|
+
statusColor: oe,
|
|
1725
|
+
alertColor: se,
|
|
1721
1726
|
label: s,
|
|
1722
1727
|
subLabel: l,
|
|
1723
1728
|
delay: h,
|
|
1724
1729
|
showLabels: m,
|
|
1725
|
-
isCompact:
|
|
1730
|
+
isCompact: b.isCompact,
|
|
1726
1731
|
onClick: Fe,
|
|
1727
1732
|
isSelected: ne,
|
|
1728
1733
|
isAlerting: _,
|
|
@@ -1732,18 +1737,19 @@ function E({
|
|
|
1732
1737
|
}
|
|
1733
1738
|
),
|
|
1734
1739
|
u && /* @__PURE__ */ e(
|
|
1735
|
-
|
|
1740
|
+
W,
|
|
1736
1741
|
{
|
|
1737
1742
|
ex: t,
|
|
1738
1743
|
ey: n,
|
|
1739
|
-
status:
|
|
1740
|
-
title:
|
|
1744
|
+
status: de,
|
|
1745
|
+
title: ce,
|
|
1741
1746
|
msg: u.msg,
|
|
1742
1747
|
offsetX: u.offsetX ?? 110,
|
|
1743
1748
|
offsetY: u.offsetY ?? -30,
|
|
1744
1749
|
align: u.align ?? "right",
|
|
1745
1750
|
internalRef: u.internalRef,
|
|
1746
|
-
isVisible: !0
|
|
1751
|
+
isVisible: !0,
|
|
1752
|
+
forceShow: !0
|
|
1747
1753
|
}
|
|
1748
1754
|
)
|
|
1749
1755
|
] });
|
|
@@ -1751,44 +1757,45 @@ function E({
|
|
|
1751
1757
|
function Jt({
|
|
1752
1758
|
children: t,
|
|
1753
1759
|
statusColor: n,
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1760
|
+
alertColor: o,
|
|
1761
|
+
label: i,
|
|
1762
|
+
subLabel: r,
|
|
1763
|
+
delay: a = "0s",
|
|
1764
|
+
showLabels: s = !0,
|
|
1765
|
+
isCompact: l = !1,
|
|
1766
|
+
onClick: h,
|
|
1767
|
+
isSelected: d = !1,
|
|
1768
|
+
isAlerting: p = !1
|
|
1762
1769
|
}) {
|
|
1763
|
-
const [
|
|
1770
|
+
const f = o ?? n, [g, u] = R(!1), b = d ? `brightness(1.5) drop-shadow(0 0 24px ${n}cc) drop-shadow(0 0 8px ${n}88)` : g && h ? `brightness(1.2) drop-shadow(0 0 12px ${n}77)` : "";
|
|
1764
1771
|
return /* @__PURE__ */ c(
|
|
1765
1772
|
"div",
|
|
1766
1773
|
{
|
|
1767
|
-
className: `float-node${
|
|
1768
|
-
onClick: (
|
|
1769
|
-
|
|
1774
|
+
className: `float-node${h ? " float-node--interactive" : ""}`,
|
|
1775
|
+
onClick: (m) => {
|
|
1776
|
+
h && (m.stopPropagation(), h());
|
|
1770
1777
|
},
|
|
1771
1778
|
style: {
|
|
1772
|
-
cursor:
|
|
1779
|
+
cursor: h ? "pointer" : void 0,
|
|
1773
1780
|
transition: "filter 0.3s ease",
|
|
1774
1781
|
filter: b
|
|
1775
1782
|
},
|
|
1776
|
-
onMouseEnter: () =>
|
|
1777
|
-
onMouseLeave: () =>
|
|
1778
|
-
role:
|
|
1779
|
-
title:
|
|
1783
|
+
onMouseEnter: () => u(!0),
|
|
1784
|
+
onMouseLeave: () => u(!1),
|
|
1785
|
+
role: h ? "button" : void 0,
|
|
1786
|
+
title: h ? "Click to inspect internal components" : void 0,
|
|
1780
1787
|
children: [
|
|
1781
|
-
|
|
1788
|
+
p && /* @__PURE__ */ e(
|
|
1782
1789
|
"div",
|
|
1783
1790
|
{
|
|
1784
1791
|
className: "node-alert-glow",
|
|
1785
1792
|
style: {
|
|
1786
|
-
"--pulse-color":
|
|
1787
|
-
boxShadow: `0 0 20px ${
|
|
1793
|
+
"--pulse-color": f,
|
|
1794
|
+
boxShadow: `0 0 20px ${f}, 0 0 40px ${f}66`
|
|
1788
1795
|
}
|
|
1789
1796
|
}
|
|
1790
1797
|
),
|
|
1791
|
-
/* @__PURE__ */ c("div", { className: "float-body", style: { animationDelay:
|
|
1798
|
+
/* @__PURE__ */ c("div", { className: "float-body", style: { animationDelay: a }, children: [
|
|
1792
1799
|
/* @__PURE__ */ e(
|
|
1793
1800
|
"div",
|
|
1794
1801
|
{
|
|
@@ -1799,7 +1806,7 @@ function Jt({
|
|
|
1799
1806
|
}
|
|
1800
1807
|
}
|
|
1801
1808
|
),
|
|
1802
|
-
/* @__PURE__ */ e("div", { style:
|
|
1809
|
+
/* @__PURE__ */ e("div", { style: l ? { background: "#040c1a", borderRadius: 2 } : void 0, children: l && q.isValidElement(t) ? q.cloneElement(t, {
|
|
1803
1810
|
_compact: !0
|
|
1804
1811
|
}) : t })
|
|
1805
1812
|
] }),
|
|
@@ -1807,12 +1814,12 @@ function Jt({
|
|
|
1807
1814
|
"div",
|
|
1808
1815
|
{
|
|
1809
1816
|
style: {
|
|
1810
|
-
opacity:
|
|
1817
|
+
opacity: s ? 1 : 0,
|
|
1811
1818
|
transition: "opacity 0.5s ease"
|
|
1812
1819
|
},
|
|
1813
1820
|
children: [
|
|
1814
|
-
|
|
1815
|
-
|
|
1821
|
+
i && /* @__PURE__ */ e("div", { className: "node-tag", style: { color: n + "cc" }, children: i }),
|
|
1822
|
+
r && /* @__PURE__ */ e("div", { className: "node-subtag", style: { color: n + "77" }, children: r })
|
|
1816
1823
|
]
|
|
1817
1824
|
}
|
|
1818
1825
|
)
|
|
@@ -1855,7 +1862,7 @@ function It({ synced: t, latencyMs: n }) {
|
|
|
1855
1862
|
] })
|
|
1856
1863
|
] });
|
|
1857
1864
|
}
|
|
1858
|
-
const
|
|
1865
|
+
const he = 140, X = 240, ge = 160, Pe = ht(he, X, ge);
|
|
1859
1866
|
function ei({
|
|
1860
1867
|
cfg: t,
|
|
1861
1868
|
name: n,
|
|
@@ -1875,7 +1882,7 @@ function ei({
|
|
|
1875
1882
|
"div",
|
|
1876
1883
|
{
|
|
1877
1884
|
style: {
|
|
1878
|
-
width:
|
|
1885
|
+
width: he,
|
|
1879
1886
|
height: X,
|
|
1880
1887
|
background: a ? ze : ft,
|
|
1881
1888
|
position: "relative",
|
|
@@ -2038,7 +2045,7 @@ function ei({
|
|
|
2038
2045
|
}
|
|
2039
2046
|
),
|
|
2040
2047
|
Array.from({ length: 3 }, (p, f) => {
|
|
2041
|
-
const
|
|
2048
|
+
const g = f < l;
|
|
2042
2049
|
return /* @__PURE__ */ c(
|
|
2043
2050
|
"div",
|
|
2044
2051
|
{
|
|
@@ -2065,8 +2072,8 @@ function ei({
|
|
|
2065
2072
|
height: 5,
|
|
2066
2073
|
borderRadius: "50%",
|
|
2067
2074
|
flexShrink: 0,
|
|
2068
|
-
background:
|
|
2069
|
-
boxShadow:
|
|
2075
|
+
background: g ? t.color : "#08142a",
|
|
2076
|
+
boxShadow: g ? `0 0 6px ${t.color}, 0 0 12px ${t.color}66` : "none"
|
|
2070
2077
|
}
|
|
2071
2078
|
}
|
|
2072
2079
|
),
|
|
@@ -2082,7 +2089,7 @@ function ei({
|
|
|
2082
2089
|
position: "relative",
|
|
2083
2090
|
overflow: "hidden"
|
|
2084
2091
|
},
|
|
2085
|
-
children:
|
|
2092
|
+
children: g && /* @__PURE__ */ e(
|
|
2086
2093
|
"div",
|
|
2087
2094
|
{
|
|
2088
2095
|
style: {
|
|
@@ -2273,7 +2280,7 @@ function ti() {
|
|
|
2273
2280
|
"div",
|
|
2274
2281
|
{
|
|
2275
2282
|
style: {
|
|
2276
|
-
width:
|
|
2283
|
+
width: he,
|
|
2277
2284
|
height: X,
|
|
2278
2285
|
background: "linear-gradient(180deg, #040c1a 0%, #030810 100%)",
|
|
2279
2286
|
position: "relative",
|
|
@@ -2392,7 +2399,7 @@ function Rt({
|
|
|
2392
2399
|
"div",
|
|
2393
2400
|
{
|
|
2394
2401
|
style: {
|
|
2395
|
-
width:
|
|
2402
|
+
width: ge,
|
|
2396
2403
|
height: X,
|
|
2397
2404
|
background: i ? "linear-gradient(90deg, #040c1c 0%, #071428 60%, #040c1c 100%)" : "linear-gradient(90deg, #040c1c 0%, #071428 40%, #040c1c 100%)",
|
|
2398
2405
|
position: "relative",
|
|
@@ -2418,7 +2425,7 @@ function Rt({
|
|
|
2418
2425
|
style: {
|
|
2419
2426
|
position: "absolute",
|
|
2420
2427
|
top: r,
|
|
2421
|
-
left: i ? 10 :
|
|
2428
|
+
left: i ? 10 : ge - 18,
|
|
2422
2429
|
width: 8,
|
|
2423
2430
|
height: 8,
|
|
2424
2431
|
borderRadius: 1,
|
|
@@ -2464,7 +2471,7 @@ function Rt({
|
|
|
2464
2471
|
style: {
|
|
2465
2472
|
position: "absolute",
|
|
2466
2473
|
top: X * 0.18,
|
|
2467
|
-
left: i ? 12 :
|
|
2474
|
+
left: i ? 12 : ge - 78,
|
|
2468
2475
|
fontSize: 7,
|
|
2469
2476
|
color: "#1a3050",
|
|
2470
2477
|
letterSpacing: "0.2em",
|
|
@@ -2483,13 +2490,13 @@ function Rt({
|
|
|
2483
2490
|
);
|
|
2484
2491
|
}
|
|
2485
2492
|
function ii({ cpuLoad: t }) {
|
|
2486
|
-
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((
|
|
2493
|
+
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((ge - 18) / 7);
|
|
2487
2494
|
return /* @__PURE__ */ c(
|
|
2488
2495
|
"div",
|
|
2489
2496
|
{
|
|
2490
2497
|
style: {
|
|
2491
|
-
width:
|
|
2492
|
-
height:
|
|
2498
|
+
width: he,
|
|
2499
|
+
height: ge,
|
|
2493
2500
|
background: "linear-gradient(180deg, #0c1c30 0%, #070f1e 40%, #040c1a 100%)",
|
|
2494
2501
|
position: "relative",
|
|
2495
2502
|
overflow: "hidden"
|
|
@@ -2503,7 +2510,7 @@ function ii({ cpuLoad: t }) {
|
|
|
2503
2510
|
top: 0,
|
|
2504
2511
|
left: 0,
|
|
2505
2512
|
right: 0,
|
|
2506
|
-
height:
|
|
2513
|
+
height: ge * 0.4,
|
|
2507
2514
|
background: `radial-gradient(ellipse at 50% 0%, ${o} 0%, transparent 70%)`
|
|
2508
2515
|
}
|
|
2509
2516
|
}
|
|
@@ -2562,7 +2569,7 @@ function ii({ cpuLoad: t }) {
|
|
|
2562
2569
|
}
|
|
2563
2570
|
);
|
|
2564
2571
|
}
|
|
2565
|
-
function
|
|
2572
|
+
function ke({
|
|
2566
2573
|
rotateX: t = -22,
|
|
2567
2574
|
rotateY: n = 20,
|
|
2568
2575
|
rotateZ: o = 0,
|
|
@@ -2575,25 +2582,25 @@ function $e({
|
|
|
2575
2582
|
brandLabel: d = "BUSAUD",
|
|
2576
2583
|
_compact: p
|
|
2577
2584
|
}) {
|
|
2578
|
-
const [f,
|
|
2579
|
-
|
|
2585
|
+
const [f, g] = R(n), u = ie(0), b = ie(0);
|
|
2586
|
+
Re(() => {
|
|
2580
2587
|
if (!r) {
|
|
2581
|
-
|
|
2588
|
+
g(n);
|
|
2582
2589
|
return;
|
|
2583
2590
|
}
|
|
2584
2591
|
const w = (v) => {
|
|
2585
|
-
|
|
2592
|
+
b.current && g((S) => S + (v - b.current) * 0.027), b.current = v, u.current = requestAnimationFrame(w);
|
|
2586
2593
|
};
|
|
2587
2594
|
return u.current = requestAnimationFrame(w), () => {
|
|
2588
|
-
cancelAnimationFrame(u.current),
|
|
2595
|
+
cancelAnimationFrame(u.current), b.current = 0;
|
|
2589
2596
|
};
|
|
2590
2597
|
}, [r, n]);
|
|
2591
|
-
const m =
|
|
2598
|
+
const m = $[a] ?? $.online;
|
|
2592
2599
|
return /* @__PURE__ */ c(
|
|
2593
2600
|
"div",
|
|
2594
2601
|
{
|
|
2595
2602
|
style: {
|
|
2596
|
-
width:
|
|
2603
|
+
width: he * i,
|
|
2597
2604
|
height: X * i,
|
|
2598
2605
|
position: "relative",
|
|
2599
2606
|
display: "flex",
|
|
@@ -2646,7 +2653,7 @@ function $e({
|
|
|
2646
2653
|
{
|
|
2647
2654
|
style: {
|
|
2648
2655
|
position: "absolute",
|
|
2649
|
-
width:
|
|
2656
|
+
width: he * 1.4 * i,
|
|
2650
2657
|
height: X * 0.8 * i,
|
|
2651
2658
|
background: `radial-gradient(ellipse, ${m.glow} 0%, transparent 65%)`,
|
|
2652
2659
|
filter: `blur(${Math.round(45 * i)}px)`,
|
|
@@ -2670,7 +2677,7 @@ function $e({
|
|
|
2670
2677
|
"div",
|
|
2671
2678
|
{
|
|
2672
2679
|
style: {
|
|
2673
|
-
width:
|
|
2680
|
+
width: he,
|
|
2674
2681
|
height: X,
|
|
2675
2682
|
position: "relative",
|
|
2676
2683
|
transformStyle: "preserve-3d",
|
|
@@ -2698,8 +2705,8 @@ function $e({
|
|
|
2698
2705
|
"div",
|
|
2699
2706
|
{
|
|
2700
2707
|
style: {
|
|
2701
|
-
width:
|
|
2702
|
-
height:
|
|
2708
|
+
width: he,
|
|
2709
|
+
height: ge,
|
|
2703
2710
|
background: "linear-gradient(180deg, #030710, #020508)"
|
|
2704
2711
|
}
|
|
2705
2712
|
}
|
|
@@ -2726,14 +2733,14 @@ function Mi({
|
|
|
2726
2733
|
visibleAtPhase: d,
|
|
2727
2734
|
cpuLoad: p,
|
|
2728
2735
|
memLoad: f,
|
|
2729
|
-
brandLabel:
|
|
2736
|
+
brandLabel: g,
|
|
2730
2737
|
dialogMetrics: u,
|
|
2731
|
-
subComponents:
|
|
2738
|
+
subComponents: b,
|
|
2732
2739
|
graphSeries: m,
|
|
2733
2740
|
alert: w
|
|
2734
2741
|
}) {
|
|
2735
2742
|
return /* @__PURE__ */ e(
|
|
2736
|
-
|
|
2743
|
+
A,
|
|
2737
2744
|
{
|
|
2738
2745
|
ex: t,
|
|
2739
2746
|
ey: n,
|
|
@@ -2750,15 +2757,15 @@ function Mi({
|
|
|
2750
2757
|
status: a,
|
|
2751
2758
|
context: { cpuLoad: p, memLoad: f },
|
|
2752
2759
|
dialogMetrics: u,
|
|
2753
|
-
subComponents:
|
|
2760
|
+
subComponents: b,
|
|
2754
2761
|
graphSeries: m
|
|
2755
2762
|
},
|
|
2756
2763
|
alert: w,
|
|
2757
|
-
children: /* @__PURE__ */ e(
|
|
2764
|
+
children: /* @__PURE__ */ e(ke, { status: a, cpuLoad: p, memLoad: f, brandLabel: g })
|
|
2758
2765
|
}
|
|
2759
2766
|
);
|
|
2760
2767
|
}
|
|
2761
|
-
const pt = 12,
|
|
2768
|
+
const pt = 12, $e = 55, te = $e * 2, Oe = 52, gt = 10, lt = 3 * Oe + 2 * gt, Ee = 2 * Math.PI * $e / pt, st = Array.from({ length: pt }, (t, n) => n / pt * 360);
|
|
2762
2769
|
function dt(t) {
|
|
2763
2770
|
return Math.cos(t * Math.PI / 180) * 0.42 + 0.58;
|
|
2764
2771
|
}
|
|
@@ -2772,7 +2779,7 @@ function ni({
|
|
|
2772
2779
|
}) {
|
|
2773
2780
|
return /* @__PURE__ */ c(Me, { children: [
|
|
2774
2781
|
st.map((s, l) => {
|
|
2775
|
-
const h = dt(s), d = l === 0, p = Math.round(4 + h * 9), f = Math.round(12 + h * 22),
|
|
2782
|
+
const h = dt(s), d = l === 0, p = Math.round(4 + h * 9), f = Math.round(12 + h * 22), g = Math.round(28 + h * 44), u = Math.round(h * 0.55 * 255).toString(16).padStart(2, "0");
|
|
2776
2783
|
return /* @__PURE__ */ e(
|
|
2777
2784
|
"div",
|
|
2778
2785
|
{
|
|
@@ -2782,9 +2789,9 @@ function ni({
|
|
|
2782
2789
|
height: Oe,
|
|
2783
2790
|
left: (te - Ee) / 2,
|
|
2784
2791
|
top: t,
|
|
2785
|
-
transform: `rotateY(${s}deg) translateZ(${
|
|
2792
|
+
transform: `rotateY(${s}deg) translateZ(${$e}px)`,
|
|
2786
2793
|
backfaceVisibility: "hidden",
|
|
2787
|
-
background: d ? 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},${
|
|
2794
|
+
background: d ? 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})`,
|
|
2788
2795
|
borderLeft: `1px solid ${o.color}${u}`,
|
|
2789
2796
|
boxShadow: d ? `inset 0 0 18px ${o.color}28` : "none"
|
|
2790
2797
|
},
|
|
@@ -2844,7 +2851,7 @@ function ni({
|
|
|
2844
2851
|
width: te + 4,
|
|
2845
2852
|
height: te + 4,
|
|
2846
2853
|
left: -2,
|
|
2847
|
-
top: t -
|
|
2854
|
+
top: t - $e,
|
|
2848
2855
|
borderRadius: "50%",
|
|
2849
2856
|
transform: "rotateX(90deg)",
|
|
2850
2857
|
backfaceVisibility: "hidden",
|
|
@@ -2905,7 +2912,7 @@ function ni({
|
|
|
2905
2912
|
width: te + 4,
|
|
2906
2913
|
height: te + 4,
|
|
2907
2914
|
left: -2,
|
|
2908
|
-
top: t + Oe -
|
|
2915
|
+
top: t + Oe - $e,
|
|
2909
2916
|
borderRadius: "50%",
|
|
2910
2917
|
transform: "rotateX(-90deg)",
|
|
2911
2918
|
backfaceVisibility: "hidden",
|
|
@@ -2940,7 +2947,7 @@ function ni({
|
|
|
2940
2947
|
height: 6,
|
|
2941
2948
|
left: (te - Ee - 1.5) / 2,
|
|
2942
2949
|
top: t + Oe - 3,
|
|
2943
|
-
transform: `rotateY(${s}deg) translateZ(${
|
|
2950
|
+
transform: `rotateY(${s}deg) translateZ(${$e + 1.5}px)`,
|
|
2944
2951
|
backfaceVisibility: "hidden",
|
|
2945
2952
|
background: o.color,
|
|
2946
2953
|
boxShadow: `0 0 8px ${o.color}, 0 0 18px ${o.color}aa, 0 0 30px ${o.glow}`,
|
|
@@ -2961,7 +2968,7 @@ function ni({
|
|
|
2961
2968
|
height: gt,
|
|
2962
2969
|
left: (te - Ee) / 2,
|
|
2963
2970
|
top: t + Oe,
|
|
2964
|
-
transform: `rotateY(${s}deg) translateZ(${
|
|
2971
|
+
transform: `rotateY(${s}deg) translateZ(${$e}px)`,
|
|
2965
2972
|
backfaceVisibility: "hidden",
|
|
2966
2973
|
background: `rgb(${d},${p},${f})`
|
|
2967
2974
|
}
|
|
@@ -2984,19 +2991,19 @@ function Ue({
|
|
|
2984
2991
|
_compact: l
|
|
2985
2992
|
}) {
|
|
2986
2993
|
const [h, d] = R(n), p = ie(0), f = ie(0);
|
|
2987
|
-
|
|
2994
|
+
Re(() => {
|
|
2988
2995
|
if (!r) {
|
|
2989
2996
|
d(n);
|
|
2990
2997
|
return;
|
|
2991
2998
|
}
|
|
2992
|
-
const u = (
|
|
2993
|
-
f.current && d((m) => m + (
|
|
2999
|
+
const u = (b) => {
|
|
3000
|
+
f.current && d((m) => m + (b - f.current) * 0.027), f.current = b, p.current = requestAnimationFrame(u);
|
|
2994
3001
|
};
|
|
2995
3002
|
return p.current = requestAnimationFrame(u), () => {
|
|
2996
3003
|
cancelAnimationFrame(p.current), f.current = 0;
|
|
2997
3004
|
};
|
|
2998
3005
|
}, [r, n]);
|
|
2999
|
-
const
|
|
3006
|
+
const g = $[a] ?? $.online;
|
|
3000
3007
|
return /* @__PURE__ */ c(
|
|
3001
3008
|
"div",
|
|
3002
3009
|
{
|
|
@@ -3064,7 +3071,7 @@ function Ue({
|
|
|
3064
3071
|
position: "absolute",
|
|
3065
3072
|
width: te * 2.8 * i,
|
|
3066
3073
|
height: lt * 0.85 * i,
|
|
3067
|
-
background: `radial-gradient(ellipse, ${
|
|
3074
|
+
background: `radial-gradient(ellipse, ${g.glow} 0%, transparent 65%)`,
|
|
3068
3075
|
filter: `blur(${Math.round(50 * i)}px)`,
|
|
3069
3076
|
pointerEvents: "none",
|
|
3070
3077
|
top: "45%",
|
|
@@ -3098,7 +3105,7 @@ function Ue({
|
|
|
3098
3105
|
{
|
|
3099
3106
|
diskY: u * (Oe + gt),
|
|
3100
3107
|
diskIdx: u,
|
|
3101
|
-
cfg:
|
|
3108
|
+
cfg: g,
|
|
3102
3109
|
hasRingBelow: u < 2,
|
|
3103
3110
|
capacity: s,
|
|
3104
3111
|
compact: l
|
|
@@ -3126,12 +3133,12 @@ function zi({
|
|
|
3126
3133
|
visibleAtPhase: d,
|
|
3127
3134
|
capacity: p,
|
|
3128
3135
|
dialogMetrics: f,
|
|
3129
|
-
subComponents:
|
|
3136
|
+
subComponents: g,
|
|
3130
3137
|
graphSeries: u,
|
|
3131
|
-
alert:
|
|
3138
|
+
alert: b
|
|
3132
3139
|
}) {
|
|
3133
3140
|
return /* @__PURE__ */ e(
|
|
3134
|
-
|
|
3141
|
+
A,
|
|
3135
3142
|
{
|
|
3136
3143
|
ex: t,
|
|
3137
3144
|
ey: n,
|
|
@@ -3148,16 +3155,16 @@ function zi({
|
|
|
3148
3155
|
status: a,
|
|
3149
3156
|
context: { capacity: p },
|
|
3150
3157
|
dialogMetrics: f,
|
|
3151
|
-
subComponents:
|
|
3158
|
+
subComponents: g,
|
|
3152
3159
|
graphSeries: u
|
|
3153
3160
|
},
|
|
3154
|
-
alert:
|
|
3161
|
+
alert: b,
|
|
3155
3162
|
children: /* @__PURE__ */ e(Ue, { status: a, capacity: p })
|
|
3156
3163
|
}
|
|
3157
3164
|
);
|
|
3158
3165
|
}
|
|
3159
3166
|
function yt({ status: t = "online", scale: n = 1 }) {
|
|
3160
|
-
const i = (
|
|
3167
|
+
const i = ($[t] ?? $.online).color;
|
|
3161
3168
|
return /* @__PURE__ */ e(
|
|
3162
3169
|
"div",
|
|
3163
3170
|
{
|
|
@@ -3279,7 +3286,7 @@ function Bi({
|
|
|
3279
3286
|
visibleAtPhase: l
|
|
3280
3287
|
}) {
|
|
3281
3288
|
return /* @__PURE__ */ e(
|
|
3282
|
-
|
|
3289
|
+
A,
|
|
3283
3290
|
{
|
|
3284
3291
|
ex: t,
|
|
3285
3292
|
ey: n,
|
|
@@ -3291,7 +3298,7 @@ function Bi({
|
|
|
3291
3298
|
}
|
|
3292
3299
|
);
|
|
3293
3300
|
}
|
|
3294
|
-
const
|
|
3301
|
+
const ue = 190, Q = 72, Le = 120, Ae = ht(ue, Q, Le);
|
|
3295
3302
|
function oi({
|
|
3296
3303
|
cfg: t,
|
|
3297
3304
|
name: n,
|
|
@@ -3304,7 +3311,7 @@ function oi({
|
|
|
3304
3311
|
"div",
|
|
3305
3312
|
{
|
|
3306
3313
|
style: {
|
|
3307
|
-
width:
|
|
3314
|
+
width: ue,
|
|
3308
3315
|
height: Q,
|
|
3309
3316
|
background: r ? ze : ft,
|
|
3310
3317
|
position: "relative",
|
|
@@ -3559,7 +3566,7 @@ function ri() {
|
|
|
3559
3566
|
"div",
|
|
3560
3567
|
{
|
|
3561
3568
|
style: {
|
|
3562
|
-
width:
|
|
3569
|
+
width: ue,
|
|
3563
3570
|
height: Q,
|
|
3564
3571
|
background: "linear-gradient(180deg, #040c1a, #030810)",
|
|
3565
3572
|
position: "relative",
|
|
@@ -3705,7 +3712,7 @@ function ai({ traffic: t }) {
|
|
|
3705
3712
|
"div",
|
|
3706
3713
|
{
|
|
3707
3714
|
style: {
|
|
3708
|
-
width:
|
|
3715
|
+
width: ue,
|
|
3709
3716
|
height: Le,
|
|
3710
3717
|
background: "linear-gradient(180deg, #0c1c30 0%, #07101e 40%, #040c1a 100%)",
|
|
3711
3718
|
position: "relative",
|
|
@@ -3770,25 +3777,25 @@ function mt({
|
|
|
3770
3777
|
activeRoutes: h = 12,
|
|
3771
3778
|
_compact: d
|
|
3772
3779
|
}) {
|
|
3773
|
-
const [p, f] = R(n),
|
|
3774
|
-
|
|
3780
|
+
const [p, f] = R(n), g = ie(0), u = ie(0);
|
|
3781
|
+
Re(() => {
|
|
3775
3782
|
if (!r) {
|
|
3776
3783
|
f(n);
|
|
3777
3784
|
return;
|
|
3778
3785
|
}
|
|
3779
3786
|
const m = (w) => {
|
|
3780
|
-
u.current && f((v) => v + (w - u.current) * 0.027), u.current = w,
|
|
3787
|
+
u.current && f((v) => v + (w - u.current) * 0.027), u.current = w, g.current = requestAnimationFrame(m);
|
|
3781
3788
|
};
|
|
3782
|
-
return
|
|
3783
|
-
cancelAnimationFrame(
|
|
3789
|
+
return g.current = requestAnimationFrame(m), () => {
|
|
3790
|
+
cancelAnimationFrame(g.current), u.current = 0;
|
|
3784
3791
|
};
|
|
3785
3792
|
}, [r, n]);
|
|
3786
|
-
const
|
|
3793
|
+
const b = $[a] ?? $.online;
|
|
3787
3794
|
return /* @__PURE__ */ c(
|
|
3788
3795
|
"div",
|
|
3789
3796
|
{
|
|
3790
3797
|
style: {
|
|
3791
|
-
width:
|
|
3798
|
+
width: ue * i,
|
|
3792
3799
|
height: Q * i,
|
|
3793
3800
|
position: "relative",
|
|
3794
3801
|
display: "flex",
|
|
@@ -3849,9 +3856,9 @@ function mt({
|
|
|
3849
3856
|
{
|
|
3850
3857
|
style: {
|
|
3851
3858
|
position: "absolute",
|
|
3852
|
-
width:
|
|
3859
|
+
width: ue * 1.3 * i,
|
|
3853
3860
|
height: Q * 2 * i,
|
|
3854
|
-
background: `radial-gradient(ellipse, ${
|
|
3861
|
+
background: `radial-gradient(ellipse, ${b.glow} 0%, transparent 65%)`,
|
|
3855
3862
|
filter: `blur(${Math.round(40 * i)}px)`,
|
|
3856
3863
|
pointerEvents: "none",
|
|
3857
3864
|
top: "40%",
|
|
@@ -3873,7 +3880,7 @@ function mt({
|
|
|
3873
3880
|
"div",
|
|
3874
3881
|
{
|
|
3875
3882
|
style: {
|
|
3876
|
-
width:
|
|
3883
|
+
width: ue,
|
|
3877
3884
|
height: Q,
|
|
3878
3885
|
position: "relative",
|
|
3879
3886
|
transformStyle: "preserve-3d",
|
|
@@ -3884,7 +3891,7 @@ function mt({
|
|
|
3884
3891
|
/* @__PURE__ */ e("div", { style: Ae.front, children: /* @__PURE__ */ e(
|
|
3885
3892
|
oi,
|
|
3886
3893
|
{
|
|
3887
|
-
cfg:
|
|
3894
|
+
cfg: b,
|
|
3888
3895
|
name: s,
|
|
3889
3896
|
traffic: l,
|
|
3890
3897
|
activeRoutes: h,
|
|
@@ -3892,10 +3899,10 @@ function mt({
|
|
|
3892
3899
|
}
|
|
3893
3900
|
) }),
|
|
3894
3901
|
/* @__PURE__ */ e("div", { style: Ae.back, children: /* @__PURE__ */ e(ri, {}) }),
|
|
3895
|
-
/* @__PURE__ */ e("div", { style: Ae.left, children: /* @__PURE__ */ e(Ct, { side: "left", color:
|
|
3896
|
-
/* @__PURE__ */ e("div", { style: Ae.right, children: /* @__PURE__ */ e(Ct, { side: "right", color:
|
|
3902
|
+
/* @__PURE__ */ e("div", { style: Ae.left, children: /* @__PURE__ */ e(Ct, { side: "left", color: b.color }) }),
|
|
3903
|
+
/* @__PURE__ */ e("div", { style: Ae.right, children: /* @__PURE__ */ e(Ct, { side: "right", color: b.color }) }),
|
|
3897
3904
|
/* @__PURE__ */ e("div", { style: Ae.top, children: /* @__PURE__ */ e(ai, { traffic: l }) }),
|
|
3898
|
-
/* @__PURE__ */ e("div", { style: Ae.bottom, children: /* @__PURE__ */ e("div", { style: { width:
|
|
3905
|
+
/* @__PURE__ */ e("div", { style: Ae.bottom, children: /* @__PURE__ */ e("div", { style: { width: ue, height: Le, background: "#020508" } }) })
|
|
3899
3906
|
]
|
|
3900
3907
|
}
|
|
3901
3908
|
)
|
|
@@ -3918,13 +3925,13 @@ function Fi({
|
|
|
3918
3925
|
visibleAtPhase: d,
|
|
3919
3926
|
traffic: p,
|
|
3920
3927
|
activeRoutes: f,
|
|
3921
|
-
dialogMetrics:
|
|
3928
|
+
dialogMetrics: g,
|
|
3922
3929
|
subComponents: u,
|
|
3923
|
-
graphSeries:
|
|
3930
|
+
graphSeries: b,
|
|
3924
3931
|
alert: m
|
|
3925
3932
|
}) {
|
|
3926
3933
|
return /* @__PURE__ */ e(
|
|
3927
|
-
|
|
3934
|
+
A,
|
|
3928
3935
|
{
|
|
3929
3936
|
ex: t,
|
|
3930
3937
|
ey: n,
|
|
@@ -3940,16 +3947,16 @@ function Fi({
|
|
|
3940
3947
|
name: r,
|
|
3941
3948
|
status: a,
|
|
3942
3949
|
context: { traffic: p, activeRoutes: f },
|
|
3943
|
-
dialogMetrics:
|
|
3950
|
+
dialogMetrics: g,
|
|
3944
3951
|
subComponents: u,
|
|
3945
|
-
graphSeries:
|
|
3952
|
+
graphSeries: b
|
|
3946
3953
|
},
|
|
3947
3954
|
alert: m,
|
|
3948
3955
|
children: /* @__PURE__ */ e(mt, { status: a, traffic: p, activeRoutes: f })
|
|
3949
3956
|
}
|
|
3950
3957
|
);
|
|
3951
3958
|
}
|
|
3952
|
-
const
|
|
3959
|
+
const be = 190, G = 72, Ie = 120, Te = ht(be, G, Ie), Pt = {
|
|
3953
3960
|
online: { color: "#bb55ff", glow: "rgba(187,85,255,0.50)" },
|
|
3954
3961
|
warning: { color: "#ff8c00", glow: "rgba(255,140,0,0.50)" },
|
|
3955
3962
|
critical: { color: "#ff2255", glow: "rgba(255,34,85,0.50)" },
|
|
@@ -3968,7 +3975,7 @@ function li({
|
|
|
3968
3975
|
"div",
|
|
3969
3976
|
{
|
|
3970
3977
|
style: {
|
|
3971
|
-
width:
|
|
3978
|
+
width: be,
|
|
3972
3979
|
height: G,
|
|
3973
3980
|
background: a ? ze : ft,
|
|
3974
3981
|
position: "relative",
|
|
@@ -4219,7 +4226,7 @@ function si() {
|
|
|
4219
4226
|
"div",
|
|
4220
4227
|
{
|
|
4221
4228
|
style: {
|
|
4222
|
-
width:
|
|
4229
|
+
width: be,
|
|
4223
4230
|
height: G,
|
|
4224
4231
|
background: "linear-gradient(180deg, #040c1a, #030810)",
|
|
4225
4232
|
position: "relative",
|
|
@@ -4365,7 +4372,7 @@ function di({ queueDepth: t, color: n }) {
|
|
|
4365
4372
|
"div",
|
|
4366
4373
|
{
|
|
4367
4374
|
style: {
|
|
4368
|
-
width:
|
|
4375
|
+
width: be,
|
|
4369
4376
|
height: Ie,
|
|
4370
4377
|
background: "linear-gradient(180deg, #0c1c30 0%, #07101e 40%, #040c1a 100%)",
|
|
4371
4378
|
position: "relative",
|
|
@@ -4431,17 +4438,17 @@ function Dt({
|
|
|
4431
4438
|
instances: d = 3,
|
|
4432
4439
|
_compact: p
|
|
4433
4440
|
}) {
|
|
4434
|
-
const [f,
|
|
4435
|
-
|
|
4441
|
+
const [f, g] = R(n), u = ie(0), b = ie(0);
|
|
4442
|
+
Re(() => {
|
|
4436
4443
|
if (!r) {
|
|
4437
|
-
|
|
4444
|
+
g(n);
|
|
4438
4445
|
return;
|
|
4439
4446
|
}
|
|
4440
4447
|
const w = (v) => {
|
|
4441
|
-
|
|
4448
|
+
b.current && g((S) => S + (v - b.current) * 0.027), b.current = v, u.current = requestAnimationFrame(w);
|
|
4442
4449
|
};
|
|
4443
4450
|
return u.current = requestAnimationFrame(w), () => {
|
|
4444
|
-
cancelAnimationFrame(u.current),
|
|
4451
|
+
cancelAnimationFrame(u.current), b.current = 0;
|
|
4445
4452
|
};
|
|
4446
4453
|
}, [r, n]);
|
|
4447
4454
|
const m = Pt[a] ?? Pt.online;
|
|
@@ -4449,7 +4456,7 @@ function Dt({
|
|
|
4449
4456
|
"div",
|
|
4450
4457
|
{
|
|
4451
4458
|
style: {
|
|
4452
|
-
width:
|
|
4459
|
+
width: be * i,
|
|
4453
4460
|
height: G * i,
|
|
4454
4461
|
position: "relative",
|
|
4455
4462
|
display: "flex",
|
|
@@ -4510,7 +4517,7 @@ function Dt({
|
|
|
4510
4517
|
{
|
|
4511
4518
|
style: {
|
|
4512
4519
|
position: "absolute",
|
|
4513
|
-
width:
|
|
4520
|
+
width: be * 1.3 * i,
|
|
4514
4521
|
height: G * 2 * i,
|
|
4515
4522
|
background: `radial-gradient(ellipse, ${m.glow} 0%, transparent 65%)`,
|
|
4516
4523
|
filter: `blur(${Math.round(40 * i)}px)`,
|
|
@@ -4534,7 +4541,7 @@ function Dt({
|
|
|
4534
4541
|
"div",
|
|
4535
4542
|
{
|
|
4536
4543
|
style: {
|
|
4537
|
-
width:
|
|
4544
|
+
width: be,
|
|
4538
4545
|
height: G,
|
|
4539
4546
|
position: "relative",
|
|
4540
4547
|
transformStyle: "preserve-3d",
|
|
@@ -4557,7 +4564,7 @@ function Dt({
|
|
|
4557
4564
|
/* @__PURE__ */ e("div", { style: Te.left, children: /* @__PURE__ */ e(Et, { side: "left", color: m.color }) }),
|
|
4558
4565
|
/* @__PURE__ */ e("div", { style: Te.right, children: /* @__PURE__ */ e(Et, { side: "right", color: m.color }) }),
|
|
4559
4566
|
/* @__PURE__ */ e("div", { style: Te.top, children: /* @__PURE__ */ e(di, { queueDepth: l, color: m.color }) }),
|
|
4560
|
-
/* @__PURE__ */ e("div", { style: Te.bottom, children: /* @__PURE__ */ e("div", { style: { width:
|
|
4567
|
+
/* @__PURE__ */ e("div", { style: Te.bottom, children: /* @__PURE__ */ e("div", { style: { width: be, height: Ie, background: "#020508" } }) })
|
|
4561
4568
|
]
|
|
4562
4569
|
}
|
|
4563
4570
|
)
|
|
@@ -4580,14 +4587,14 @@ function Hi({
|
|
|
4580
4587
|
visibleAtPhase: d,
|
|
4581
4588
|
queueDepth: p,
|
|
4582
4589
|
msgsPerSec: f,
|
|
4583
|
-
instances:
|
|
4590
|
+
instances: g,
|
|
4584
4591
|
dialogMetrics: u,
|
|
4585
|
-
subComponents:
|
|
4592
|
+
subComponents: b,
|
|
4586
4593
|
graphSeries: m,
|
|
4587
4594
|
alert: w
|
|
4588
4595
|
}) {
|
|
4589
4596
|
return /* @__PURE__ */ e(
|
|
4590
|
-
|
|
4597
|
+
A,
|
|
4591
4598
|
{
|
|
4592
4599
|
ex: t,
|
|
4593
4600
|
ey: n,
|
|
@@ -4602,9 +4609,9 @@ function Hi({
|
|
|
4602
4609
|
type: "messageServer",
|
|
4603
4610
|
name: r,
|
|
4604
4611
|
status: a,
|
|
4605
|
-
context: { queueDepth: p, msgsPerSec: f, instances:
|
|
4612
|
+
context: { queueDepth: p, msgsPerSec: f, instances: g },
|
|
4606
4613
|
dialogMetrics: u,
|
|
4607
|
-
subComponents:
|
|
4614
|
+
subComponents: b,
|
|
4608
4615
|
graphSeries: m
|
|
4609
4616
|
},
|
|
4610
4617
|
alert: w,
|
|
@@ -4614,13 +4621,13 @@ function Hi({
|
|
|
4614
4621
|
status: a,
|
|
4615
4622
|
queueDepth: p,
|
|
4616
4623
|
msgsPerSec: f,
|
|
4617
|
-
instances:
|
|
4624
|
+
instances: g
|
|
4618
4625
|
}
|
|
4619
4626
|
)
|
|
4620
4627
|
}
|
|
4621
4628
|
);
|
|
4622
4629
|
}
|
|
4623
|
-
function
|
|
4630
|
+
function L(t, n, o = 24) {
|
|
4624
4631
|
return Array.from({ length: o }, (i, r) => {
|
|
4625
4632
|
const a = r / o;
|
|
4626
4633
|
return Math.min(100, Math.max(0, t + Math.sin(a * Math.PI * 2) * n + (Math.random() - 0.5) * 10));
|
|
@@ -4720,34 +4727,34 @@ function fi(t, n) {
|
|
|
4720
4727
|
if (t === "server") {
|
|
4721
4728
|
const o = n.cpuLoad ?? 50, i = n.memLoad ?? 60;
|
|
4722
4729
|
return [
|
|
4723
|
-
{ id: "cpu", label: "CPU-0", unit: "%", color: "#00e5ff", data:
|
|
4724
|
-
{ id: "cpu1", label: "CPU-1", unit: "%", color: "#00e5ff", data:
|
|
4725
|
-
{ id: "heap0", label: "HEAP-0", unit: "%", color: "#8855ee", data:
|
|
4726
|
-
{ id: "heap1", label: "HEAP-1", unit: "%", color: "#8855ee", data:
|
|
4727
|
-
{ id: "drive1", label: "DRIVE-1 I/O", unit: "%", color: "#ff8c00", data:
|
|
4728
|
-
{ id: "drive2", label: "DRIVE-2 I/O", unit: "%", color: "#ff8c00", data:
|
|
4729
|
-
{ id: "drive3", label: "DRIVE-3 I/O", unit: "%", color: "#ff8c00", data:
|
|
4730
|
-
{ id: "thread", label: "THREAD-POOL", unit: "%", color: "#22aaff", data:
|
|
4730
|
+
{ id: "cpu", label: "CPU-0", unit: "%", color: "#00e5ff", data: L(o, 15) },
|
|
4731
|
+
{ id: "cpu1", label: "CPU-1", unit: "%", color: "#00e5ff", data: L(o * 0.7, 12) },
|
|
4732
|
+
{ id: "heap0", label: "HEAP-0", unit: "%", color: "#8855ee", data: L(i, 18) },
|
|
4733
|
+
{ id: "heap1", label: "HEAP-1", unit: "%", color: "#8855ee", data: L(i * 0.85, 14) },
|
|
4734
|
+
{ id: "drive1", label: "DRIVE-1 I/O", unit: "%", color: "#ff8c00", data: L(40, 25) },
|
|
4735
|
+
{ id: "drive2", label: "DRIVE-2 I/O", unit: "%", color: "#ff8c00", data: L(35, 20) },
|
|
4736
|
+
{ id: "drive3", label: "DRIVE-3 I/O", unit: "%", color: "#ff8c00", data: L(30, 22) },
|
|
4737
|
+
{ id: "thread", label: "THREAD-POOL", unit: "%", color: "#22aaff", data: L(55, 20) }
|
|
4731
4738
|
];
|
|
4732
4739
|
}
|
|
4733
4740
|
if (t === "dispatcher" || t === "messageServer") {
|
|
4734
4741
|
const o = n.traffic ?? n.queueDepth ?? 50;
|
|
4735
4742
|
return [
|
|
4736
|
-
{ id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data:
|
|
4737
|
-
{ id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data:
|
|
4738
|
-
{ id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data:
|
|
4739
|
-
{ id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data:
|
|
4740
|
-
{ id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data:
|
|
4743
|
+
{ id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: L(o, 20) },
|
|
4744
|
+
{ id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data: L(60, 25) },
|
|
4745
|
+
{ id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data: L(45, 20) },
|
|
4746
|
+
{ id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data: L(70, 30) },
|
|
4747
|
+
{ id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: L(o * 0.9, 15) }
|
|
4741
4748
|
];
|
|
4742
4749
|
}
|
|
4743
4750
|
if (t === "database") {
|
|
4744
4751
|
const o = n.capacity ?? 70;
|
|
4745
4752
|
return [
|
|
4746
|
-
{ id: "platter0", label: "PLATTER-0 I/O", unit: "%", color: "#ff8c00", data:
|
|
4747
|
-
{ id: "platter1", label: "PLATTER-1 I/O", unit: "%", color: "#ff8c00", data:
|
|
4748
|
-
{ id: "platter2", label: "PLATTER-2 I/O", unit: "%", color: "#ff8c00", data:
|
|
4749
|
-
{ id: "connpool", label: "CONN-POOL", unit: "%", color: "#00e5ff", data:
|
|
4750
|
-
{ id: "cache", label: "QUERY-CACHE", unit: "%", color: "#00ff88", data:
|
|
4753
|
+
{ id: "platter0", label: "PLATTER-0 I/O", unit: "%", color: "#ff8c00", data: L(40, 20) },
|
|
4754
|
+
{ id: "platter1", label: "PLATTER-1 I/O", unit: "%", color: "#ff8c00", data: L(55, 25) },
|
|
4755
|
+
{ id: "platter2", label: "PLATTER-2 I/O", unit: "%", color: "#ff8c00", data: L(35, 18) },
|
|
4756
|
+
{ id: "connpool", label: "CONN-POOL", unit: "%", color: "#00e5ff", data: L(o, 15) },
|
|
4757
|
+
{ id: "cache", label: "QUERY-CACHE", unit: "%", color: "#00ff88", data: L(75, 12) }
|
|
4751
4758
|
];
|
|
4752
4759
|
}
|
|
4753
4760
|
return [];
|
|
@@ -4761,7 +4768,7 @@ function Nt({
|
|
|
4761
4768
|
delay: a = "0s",
|
|
4762
4769
|
children: s
|
|
4763
4770
|
}) {
|
|
4764
|
-
const l = r ?
|
|
4771
|
+
const l = r ? $[r]?.glow ?? "rgba(0,229,255,0.4)" : "rgba(0,229,255,0.4)";
|
|
4765
4772
|
return /* @__PURE__ */ c(
|
|
4766
4773
|
"div",
|
|
4767
4774
|
{
|
|
@@ -4802,8 +4809,8 @@ function Nt({
|
|
|
4802
4809
|
width: 4,
|
|
4803
4810
|
height: 4,
|
|
4804
4811
|
borderRadius: "50%",
|
|
4805
|
-
background:
|
|
4806
|
-
boxShadow: `0 0 6px ${
|
|
4812
|
+
background: $[r]?.color,
|
|
4813
|
+
boxShadow: `0 0 6px ${$[r]?.color}`,
|
|
4807
4814
|
animation: "holo-led-blink 1.2s infinite"
|
|
4808
4815
|
}
|
|
4809
4816
|
}
|
|
@@ -4929,8 +4936,8 @@ function Ke({
|
|
|
4929
4936
|
width: 4,
|
|
4930
4937
|
height: 4,
|
|
4931
4938
|
borderRadius: "50%",
|
|
4932
|
-
background:
|
|
4933
|
-
boxShadow: `0 0 6px ${
|
|
4939
|
+
background: $[o]?.color,
|
|
4940
|
+
boxShadow: `0 0 6px ${$[o]?.color}`,
|
|
4934
4941
|
animation: "holo-led-blink 1.2s infinite"
|
|
4935
4942
|
}
|
|
4936
4943
|
}
|
|
@@ -5027,7 +5034,7 @@ function Ze({
|
|
|
5027
5034
|
width: 3,
|
|
5028
5035
|
height: 3,
|
|
5029
5036
|
borderRadius: "50%",
|
|
5030
|
-
background:
|
|
5037
|
+
background: $[o]?.color,
|
|
5031
5038
|
animation: "holo-led-blink 1.2s infinite"
|
|
5032
5039
|
}
|
|
5033
5040
|
}
|
|
@@ -5156,7 +5163,7 @@ function Wt({
|
|
|
5156
5163
|
}
|
|
5157
5164
|
);
|
|
5158
5165
|
}
|
|
5159
|
-
function
|
|
5166
|
+
function M({
|
|
5160
5167
|
color: t = "#00e5ff",
|
|
5161
5168
|
label: n = "THREAD",
|
|
5162
5169
|
status: o = "online"
|
|
@@ -5221,7 +5228,7 @@ function Qe({
|
|
|
5221
5228
|
width: 4,
|
|
5222
5229
|
height: 4,
|
|
5223
5230
|
borderRadius: "50%",
|
|
5224
|
-
background:
|
|
5231
|
+
background: $[o]?.color,
|
|
5225
5232
|
animation: "holo-led-blink 1.2s infinite"
|
|
5226
5233
|
}
|
|
5227
5234
|
}
|
|
@@ -5276,7 +5283,7 @@ function Y({
|
|
|
5276
5283
|
width: 4,
|
|
5277
5284
|
height: 4,
|
|
5278
5285
|
borderRadius: "50%",
|
|
5279
|
-
background: o && o !== "online" ?
|
|
5286
|
+
background: o && o !== "online" ? $[o]?.color ?? t : t,
|
|
5280
5287
|
boxShadow: `0 0 4px ${t}`,
|
|
5281
5288
|
animation: o && o !== "online" && o !== "offline" ? "holo-led-blink 1s infinite" : "none"
|
|
5282
5289
|
}
|
|
@@ -5421,7 +5428,7 @@ function hi(t, n, o, i) {
|
|
|
5421
5428
|
}
|
|
5422
5429
|
] : [];
|
|
5423
5430
|
}
|
|
5424
|
-
const
|
|
5431
|
+
const D = "cubic-bezier(0.34, 1.56, 0.64, 1)", ui = "cubic-bezier(0.16, 1, 0.3, 1)";
|
|
5425
5432
|
function bi({ items: t, revealPhase: n }) {
|
|
5426
5433
|
return /* @__PURE__ */ e(
|
|
5427
5434
|
"div",
|
|
@@ -5440,7 +5447,7 @@ function bi({ items: t, revealPhase: n }) {
|
|
|
5440
5447
|
style: {
|
|
5441
5448
|
opacity: n >= 0.2 + i * 0.06 ? 1 : 0,
|
|
5442
5449
|
transform: `scale(${n >= 0.2 + i * 0.06 ? 1 : 0.6})`,
|
|
5443
|
-
transition: `opacity 0.4s ${
|
|
5450
|
+
transition: `opacity 0.4s ${D} ${i * 0.06}s, transform 0.45s ${D} ${i * 0.06}s`
|
|
5444
5451
|
},
|
|
5445
5452
|
children: o.element
|
|
5446
5453
|
},
|
|
@@ -5456,7 +5463,7 @@ function gi({
|
|
|
5456
5463
|
internal: i,
|
|
5457
5464
|
revealPhase: r
|
|
5458
5465
|
}) {
|
|
5459
|
-
const a =
|
|
5466
|
+
const a = $[n]?.color ?? $.online.color, s = "#ff8c00";
|
|
5460
5467
|
if (t === "server") {
|
|
5461
5468
|
const l = o.cpuLoad ?? 50, h = o.memLoad ?? 60, d = [
|
|
5462
5469
|
{
|
|
@@ -5549,7 +5556,7 @@ function gi({
|
|
|
5549
5556
|
{
|
|
5550
5557
|
key: "thread",
|
|
5551
5558
|
delay: 7,
|
|
5552
|
-
el: /* @__PURE__ */ e(
|
|
5559
|
+
el: /* @__PURE__ */ e(M, { color: a, label: "THREAD-POOL", status: i[7]?.status })
|
|
5553
5560
|
},
|
|
5554
5561
|
{
|
|
5555
5562
|
key: "net",
|
|
@@ -5568,15 +5575,15 @@ function gi({
|
|
|
5568
5575
|
alignItems: "center",
|
|
5569
5576
|
padding: 24
|
|
5570
5577
|
},
|
|
5571
|
-
children: d.map(({ key: p, delay: f, el:
|
|
5578
|
+
children: d.map(({ key: p, delay: f, el: g }) => /* @__PURE__ */ e(
|
|
5572
5579
|
"div",
|
|
5573
5580
|
{
|
|
5574
5581
|
style: {
|
|
5575
5582
|
opacity: r >= 0.2 + f * 0.08 ? 1 : 0,
|
|
5576
5583
|
transform: `scale(${r >= 0.2 + f * 0.08 ? 1 : 0.6})`,
|
|
5577
|
-
transition: `opacity 0.4s ${
|
|
5584
|
+
transition: `opacity 0.4s ${D} ${f * 0.06}s, transform 0.45s ${D} ${f * 0.06}s`
|
|
5578
5585
|
},
|
|
5579
|
-
children:
|
|
5586
|
+
children: g
|
|
5580
5587
|
},
|
|
5581
5588
|
p
|
|
5582
5589
|
))
|
|
@@ -5592,7 +5599,7 @@ function gi({
|
|
|
5592
5599
|
style: {
|
|
5593
5600
|
opacity: r >= 0.25 + d * 0.04 ? 1 : 0,
|
|
5594
5601
|
transform: `scale(${r >= 0.25 + d * 0.04 ? 1 : 0.5})`,
|
|
5595
|
-
transition: `opacity 0.35s ${
|
|
5602
|
+
transition: `opacity 0.35s ${D} ${d * 0.04}s, transform 0.4s ${D} ${d * 0.04}s`
|
|
5596
5603
|
},
|
|
5597
5604
|
children: /* @__PURE__ */ e(Y, { color: a, label: `PORT-${d + 1}`, status: p?.status })
|
|
5598
5605
|
},
|
|
@@ -5618,9 +5625,9 @@ function gi({
|
|
|
5618
5625
|
style: {
|
|
5619
5626
|
opacity: r >= 0.7 ? 1 : 0,
|
|
5620
5627
|
transform: `scale(${r >= 0.7 ? 1 : 0.6})`,
|
|
5621
|
-
transition: `all 0.4s ${
|
|
5628
|
+
transition: `all 0.4s ${D} 0.3s`
|
|
5622
5629
|
},
|
|
5623
|
-
children: /* @__PURE__ */ e(
|
|
5630
|
+
children: /* @__PURE__ */ e(M, { color: a, label: "HTTP-WORKER", status: i[8]?.status })
|
|
5624
5631
|
}
|
|
5625
5632
|
),
|
|
5626
5633
|
/* @__PURE__ */ e(
|
|
@@ -5629,9 +5636,9 @@ function gi({
|
|
|
5629
5636
|
style: {
|
|
5630
5637
|
opacity: r >= 0.8 ? 1 : 0,
|
|
5631
5638
|
transform: `scale(${r >= 0.8 ? 1 : 0.6})`,
|
|
5632
|
-
transition: `all 0.4s ${
|
|
5639
|
+
transition: `all 0.4s ${D} 0.4s`
|
|
5633
5640
|
},
|
|
5634
|
-
children: /* @__PURE__ */ e(
|
|
5641
|
+
children: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "HTTPS-WORKER", status: i[9]?.status })
|
|
5635
5642
|
}
|
|
5636
5643
|
)
|
|
5637
5644
|
] })
|
|
@@ -5658,7 +5665,7 @@ function gi({
|
|
|
5658
5665
|
style: {
|
|
5659
5666
|
opacity: r >= 0.25 + l * 0.1 ? 1 : 0,
|
|
5660
5667
|
transform: `scale(${r >= 0.25 + l * 0.1 ? 1 : 0.6})`,
|
|
5661
|
-
transition: `all 0.4s ${
|
|
5668
|
+
transition: `all 0.4s ${D} ${l * 0.08}s`
|
|
5662
5669
|
},
|
|
5663
5670
|
children: /* @__PURE__ */ e(Y, { color: "#bb55ff", label: `INST-${l}`, status: i[l]?.status })
|
|
5664
5671
|
},
|
|
@@ -5670,9 +5677,9 @@ function gi({
|
|
|
5670
5677
|
style: {
|
|
5671
5678
|
opacity: r >= 0.6 ? 1 : 0,
|
|
5672
5679
|
transform: `scale(${r >= 0.6 ? 1 : 0.6})`,
|
|
5673
|
-
transition: `all 0.4s ${
|
|
5680
|
+
transition: `all 0.4s ${D} 0.25s`
|
|
5674
5681
|
},
|
|
5675
|
-
children: /* @__PURE__ */ e(
|
|
5682
|
+
children: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "QUEUE-0", status: i[3]?.status })
|
|
5676
5683
|
}
|
|
5677
5684
|
),
|
|
5678
5685
|
[4, 5, 6].map((l) => /* @__PURE__ */ e(
|
|
@@ -5681,10 +5688,10 @@ function gi({
|
|
|
5681
5688
|
style: {
|
|
5682
5689
|
opacity: r >= 0.7 + (l - 4) * 0.08 ? 1 : 0,
|
|
5683
5690
|
transform: `scale(${r >= 0.7 ? 1 : 0.6})`,
|
|
5684
|
-
transition: `all 0.4s ${
|
|
5691
|
+
transition: `all 0.4s ${D} ${0.35 + (l - 4) * 0.05}s`
|
|
5685
5692
|
},
|
|
5686
5693
|
children: /* @__PURE__ */ e(
|
|
5687
|
-
|
|
5694
|
+
M,
|
|
5688
5695
|
{
|
|
5689
5696
|
color: "#bb55ff",
|
|
5690
5697
|
label: `WORKER-${l - 3}`,
|
|
@@ -5717,7 +5724,7 @@ function gi({
|
|
|
5717
5724
|
style: {
|
|
5718
5725
|
opacity: r >= 0.2 + h * 0.12 ? 1 : 0,
|
|
5719
5726
|
transform: `scale(${r >= 0.2 + h * 0.12 ? 1 : 0.5})`,
|
|
5720
|
-
transition: `all 0.45s ${
|
|
5727
|
+
transition: `all 0.45s ${D} ${h * 0.1}s`
|
|
5721
5728
|
},
|
|
5722
5729
|
children: /* @__PURE__ */ e(
|
|
5723
5730
|
Qe,
|
|
@@ -5737,9 +5744,9 @@ function gi({
|
|
|
5737
5744
|
style: {
|
|
5738
5745
|
opacity: r >= 0.6 ? 1 : 0,
|
|
5739
5746
|
transform: `scale(${r >= 0.6 ? 1 : 0.6})`,
|
|
5740
|
-
transition: `all 0.4s ${
|
|
5747
|
+
transition: `all 0.4s ${D} 0.3s`
|
|
5741
5748
|
},
|
|
5742
|
-
children: /* @__PURE__ */ e(
|
|
5749
|
+
children: /* @__PURE__ */ e(M, { color: s, label: "CONN-POOL", status: i[3]?.status })
|
|
5743
5750
|
}
|
|
5744
5751
|
),
|
|
5745
5752
|
/* @__PURE__ */ e(
|
|
@@ -5748,9 +5755,9 @@ function gi({
|
|
|
5748
5755
|
style: {
|
|
5749
5756
|
opacity: r >= 0.75 ? 1 : 0,
|
|
5750
5757
|
transform: `scale(${r >= 0.75 ? 1 : 0.6})`,
|
|
5751
|
-
transition: `all 0.4s ${
|
|
5758
|
+
transition: `all 0.4s ${D} 0.4s`
|
|
5752
5759
|
},
|
|
5753
|
-
children: /* @__PURE__ */ e(
|
|
5760
|
+
children: /* @__PURE__ */ e(M, { color: "#00ff88", label: "QUERY-CACHE", status: i[4]?.status })
|
|
5754
5761
|
}
|
|
5755
5762
|
)
|
|
5756
5763
|
]
|
|
@@ -5769,7 +5776,7 @@ function Ui({
|
|
|
5769
5776
|
subComponents: s,
|
|
5770
5777
|
graphSeries: l
|
|
5771
5778
|
}) {
|
|
5772
|
-
const h = hi(t, n, o, a), d =
|
|
5779
|
+
const h = hi(t, n, o, a), d = $[o]?.color ?? $.online.color, p = r >= 0.1 ? 1 : r * 10, f = r >= 0.2 ? "-50%" : "0%", g = r >= 0.2 ? "50%" : "0%", u = r >= 0.25 ? Math.min(1, (r - 0.25) * 1.5) : 0;
|
|
5773
5780
|
return /* @__PURE__ */ c(
|
|
5774
5781
|
"div",
|
|
5775
5782
|
{
|
|
@@ -5781,7 +5788,7 @@ function Ui({
|
|
|
5781
5788
|
flexDirection: "row",
|
|
5782
5789
|
pointerEvents: "auto"
|
|
5783
5790
|
},
|
|
5784
|
-
onClick: (
|
|
5791
|
+
onClick: (b) => b.stopPropagation(),
|
|
5785
5792
|
children: [
|
|
5786
5793
|
/* @__PURE__ */ e(
|
|
5787
5794
|
"div",
|
|
@@ -5843,7 +5850,7 @@ function Ui({
|
|
|
5843
5850
|
borderRight: `2px solid ${d}44`,
|
|
5844
5851
|
boxShadow: "4px 0 32px rgba(0,0,0,0.6)",
|
|
5845
5852
|
transform: `translateX(${f})`,
|
|
5846
|
-
transition: `transform 0.7s ${
|
|
5853
|
+
transition: `transform 0.7s ${D}`
|
|
5847
5854
|
}
|
|
5848
5855
|
}
|
|
5849
5856
|
),
|
|
@@ -5857,8 +5864,8 @@ function Ui({
|
|
|
5857
5864
|
background: "linear-gradient(90deg, rgba(2, 12, 28, 0.95) 0%, rgba(2, 8, 20, 0.98) 100%)",
|
|
5858
5865
|
borderLeft: `2px solid ${d}44`,
|
|
5859
5866
|
boxShadow: "-4px 0 32px rgba(0,0,0,0.6)",
|
|
5860
|
-
transform: `translateX(${
|
|
5861
|
-
transition: `transform 0.7s ${
|
|
5867
|
+
transform: `translateX(${g})`,
|
|
5868
|
+
transition: `transform 0.7s ${D}`
|
|
5862
5869
|
}
|
|
5863
5870
|
}
|
|
5864
5871
|
)
|
|
@@ -5881,7 +5888,7 @@ function Ui({
|
|
|
5881
5888
|
display: "flex",
|
|
5882
5889
|
flexDirection: "column",
|
|
5883
5890
|
opacity: u >= 0.1 ? 1 : 0,
|
|
5884
|
-
transition: `opacity 0.5s ${
|
|
5891
|
+
transition: `opacity 0.5s ${D} 0.2s`
|
|
5885
5892
|
},
|
|
5886
5893
|
children: [
|
|
5887
5894
|
/* @__PURE__ */ c(
|
|
@@ -6083,13 +6090,13 @@ function yi({ onSubmit: t }) {
|
|
|
6083
6090
|
}
|
|
6084
6091
|
const xt = tt(null);
|
|
6085
6092
|
function mi() {
|
|
6086
|
-
const t =
|
|
6093
|
+
const t = ye(xt);
|
|
6087
6094
|
if (!t)
|
|
6088
6095
|
throw new Error("useAIOpsData must be used within an AIOPsDashboard with dataEndpoint configured");
|
|
6089
6096
|
return t;
|
|
6090
6097
|
}
|
|
6091
6098
|
function xi() {
|
|
6092
|
-
return
|
|
6099
|
+
return ye(xt);
|
|
6093
6100
|
}
|
|
6094
6101
|
function Yi(t) {
|
|
6095
6102
|
const { data: n } = mi();
|
|
@@ -6111,38 +6118,38 @@ function wi(t) {
|
|
|
6111
6118
|
return t;
|
|
6112
6119
|
}
|
|
6113
6120
|
function Si({ config: t, children: n }) {
|
|
6114
|
-
const [o, i] = R({}), [r, a] = R(null), [s, l] = R(!1), [h, d] = R(null), [p, f] = R(null),
|
|
6115
|
-
|
|
6121
|
+
const [o, i] = R({}), [r, a] = R(null), [s, l] = R(!1), [h, d] = R(null), [p, f] = R(null), g = ie(t);
|
|
6122
|
+
g.current = t;
|
|
6116
6123
|
const u = ie(r);
|
|
6117
6124
|
u.current = r;
|
|
6118
|
-
const
|
|
6119
|
-
const v = u.current, S =
|
|
6125
|
+
const b = Ge(async () => {
|
|
6126
|
+
const v = u.current, S = g.current;
|
|
6120
6127
|
if (v) {
|
|
6121
6128
|
l(!0);
|
|
6122
6129
|
try {
|
|
6123
6130
|
const y = await Promise.allSettled(
|
|
6124
|
-
S.queries.map((
|
|
6125
|
-
const
|
|
6126
|
-
return fetch(
|
|
6131
|
+
S.queries.map((P) => {
|
|
6132
|
+
const O = S.endpoint.includes("?") ? "&" : "?", I = `${S.endpoint}${O}query=${encodeURIComponent(P)}`;
|
|
6133
|
+
return fetch(I, {
|
|
6127
6134
|
method: "GET",
|
|
6128
6135
|
headers: {
|
|
6129
6136
|
"access-key": v.accessKey,
|
|
6130
6137
|
"access-secret-key": v.secretKey
|
|
6131
6138
|
}
|
|
6132
|
-
}).then((
|
|
6133
|
-
if (!
|
|
6134
|
-
return
|
|
6135
|
-
}).then((
|
|
6139
|
+
}).then((z) => {
|
|
6140
|
+
if (!z.ok) throw new Error(`HTTP ${z.status}`);
|
|
6141
|
+
return z.text();
|
|
6142
|
+
}).then((z) => ({ query: P, data: z.trim() }));
|
|
6136
6143
|
})
|
|
6137
6144
|
), x = {};
|
|
6138
|
-
let
|
|
6139
|
-
for (const
|
|
6140
|
-
|
|
6141
|
-
i((
|
|
6145
|
+
let C = 0;
|
|
6146
|
+
for (const P of y)
|
|
6147
|
+
P.status === "fulfilled" ? x[P.value.query] = P.value.data : C++;
|
|
6148
|
+
i((P) => ({ ...P, ...x }));
|
|
6142
6149
|
const k = S.queries.length;
|
|
6143
6150
|
d(
|
|
6144
|
-
|
|
6145
|
-
),
|
|
6151
|
+
C > 0 ? `${C} of ${k} queries failed to refresh` : null
|
|
6152
|
+
), C < k && f(/* @__PURE__ */ new Date());
|
|
6146
6153
|
} catch (y) {
|
|
6147
6154
|
const x = y instanceof Error ? y.message : "Refresh failed";
|
|
6148
6155
|
d(x);
|
|
@@ -6151,12 +6158,12 @@ function Si({ config: t, children: n }) {
|
|
|
6151
6158
|
}
|
|
6152
6159
|
}
|
|
6153
6160
|
}, []);
|
|
6154
|
-
|
|
6161
|
+
Re(() => {
|
|
6155
6162
|
if (!r) return;
|
|
6156
|
-
|
|
6157
|
-
const v =
|
|
6163
|
+
b();
|
|
6164
|
+
const v = g.current.refreshInterval ?? 6e4, S = window.setInterval(b, v);
|
|
6158
6165
|
return () => clearInterval(S);
|
|
6159
|
-
}, [r,
|
|
6166
|
+
}, [r, b]);
|
|
6160
6167
|
const m = Ge((v) => {
|
|
6161
6168
|
a(v);
|
|
6162
6169
|
}, []), w = {
|
|
@@ -6202,30 +6209,30 @@ function At({
|
|
|
6202
6209
|
dataTransform: h,
|
|
6203
6210
|
children: d
|
|
6204
6211
|
}) {
|
|
6205
|
-
const p = xi(), [f] = R(20), [
|
|
6206
|
-
w === "compact" && (
|
|
6212
|
+
const p = xi(), [f] = R(20), [g] = R(!1), [u] = R(!0), [b] = R(0.45), [m] = R(3.3), [w, v] = R("compact"), [S, y] = R(0), [x, C] = R(null), [k, P] = R(null), [O, I] = R(0), z = (T) => {
|
|
6213
|
+
w === "compact" && (C(T), v("expanding"), y(0), setTimeout(() => y(1), 50), setTimeout(() => y(2), 800), setTimeout(() => y(3), 1200), setTimeout(() => y(4), 1600), setTimeout(() => y(5), 2e3), setTimeout(() => {
|
|
6207
6214
|
y(6), v("expanded");
|
|
6208
6215
|
}, 2400));
|
|
6209
6216
|
}, K = () => {
|
|
6210
|
-
k ? (
|
|
6217
|
+
k ? (P(null), I(0)) : w === "expanded" && (v("collapsing"), y(0), C(null), setTimeout(() => {
|
|
6211
6218
|
v((T) => T === "collapsing" ? "compact" : T);
|
|
6212
6219
|
}, 1e3));
|
|
6213
6220
|
}, Z = Ge((T) => {
|
|
6214
|
-
|
|
6215
|
-
}, []),
|
|
6216
|
-
|
|
6221
|
+
P(T), I(0);
|
|
6222
|
+
}, []), me = Ge((T) => {
|
|
6223
|
+
P(T);
|
|
6217
6224
|
}, []);
|
|
6218
6225
|
q.useEffect(() => {
|
|
6219
6226
|
if (!k) return;
|
|
6220
|
-
const T = performance.now(), j = 1200,
|
|
6221
|
-
const V = performance.now() - T,
|
|
6222
|
-
|
|
6223
|
-
}, ee = requestAnimationFrame(
|
|
6227
|
+
const T = performance.now(), j = 1200, re = () => {
|
|
6228
|
+
const V = performance.now() - T, ae = Math.min(1, V / j);
|
|
6229
|
+
I(ae), ae < 1 && requestAnimationFrame(re);
|
|
6230
|
+
}, ee = requestAnimationFrame(re);
|
|
6224
6231
|
return () => cancelAnimationFrame(ee);
|
|
6225
6232
|
}, [k]);
|
|
6226
|
-
const
|
|
6227
|
-
|
|
6228
|
-
},
|
|
6233
|
+
const xe = () => {
|
|
6234
|
+
P(null), I(0);
|
|
6235
|
+
}, N = h ?? wi, U = p?.data, { enhancedChildren: ne, liveAlerts: Be } = Tt(() => {
|
|
6229
6236
|
const T = {};
|
|
6230
6237
|
if (!U || !l) return { enhancedChildren: d, liveAlerts: T };
|
|
6231
6238
|
const j = {};
|
|
@@ -6233,28 +6240,28 @@ function At({
|
|
|
6233
6240
|
if (!q.isValidElement(ee)) return ee;
|
|
6234
6241
|
const V = ee.props.name;
|
|
6235
6242
|
if (!V || !l[V]) return ee;
|
|
6236
|
-
const
|
|
6237
|
-
for (const [
|
|
6238
|
-
const rt = typeof
|
|
6243
|
+
const ae = l[V], we = {}, le = {};
|
|
6244
|
+
for (const [fe, F] of Object.entries(ae)) {
|
|
6245
|
+
const rt = typeof F == "string" ? F : F.query, at = typeof F == "object" && F.transform ? F.transform : N, Ye = U[rt];
|
|
6239
6246
|
if (Ye === void 0) continue;
|
|
6240
|
-
const
|
|
6241
|
-
if (
|
|
6242
|
-
const { prop:
|
|
6243
|
-
if (
|
|
6244
|
-
const He =
|
|
6245
|
-
(!He || He.severity < 2) && (
|
|
6247
|
+
const Se = at(Ye);
|
|
6248
|
+
if (we[fe] = Se, typeof F == "object" && F.alert && typeof Se == "number") {
|
|
6249
|
+
const { prop: H, warnAt: Ve = 70, critAt: St = 85, label: Ft } = F.alert, _e = Ft ?? fe, je = Math.round(Se);
|
|
6250
|
+
if (Se >= St) {
|
|
6251
|
+
const He = le[H];
|
|
6252
|
+
(!He || He.severity < 2) && (le[H] = {
|
|
6246
6253
|
msg: `${_e} critical — ${je}%`,
|
|
6247
|
-
internalRef:
|
|
6254
|
+
internalRef: fe,
|
|
6248
6255
|
severity: 2
|
|
6249
6256
|
}), j[V] || (j[V] = []), j[V].push({
|
|
6250
6257
|
level: "critical",
|
|
6251
6258
|
message: `${_e} at ${je}% — exceeds critical threshold (${St}%)`
|
|
6252
6259
|
});
|
|
6253
|
-
} else if (
|
|
6254
|
-
const He =
|
|
6255
|
-
(!He || He.severity < 1) && (
|
|
6260
|
+
} else if (Se >= Ve) {
|
|
6261
|
+
const He = le[H];
|
|
6262
|
+
(!He || He.severity < 1) && (le[H] = {
|
|
6256
6263
|
msg: `${_e} elevated — ${je}%`,
|
|
6257
|
-
internalRef:
|
|
6264
|
+
internalRef: fe,
|
|
6258
6265
|
severity: 1
|
|
6259
6266
|
}), j[V] || (j[V] = []), j[V].push({
|
|
6260
6267
|
level: "warning",
|
|
@@ -6263,11 +6270,11 @@ function At({
|
|
|
6263
6270
|
}
|
|
6264
6271
|
}
|
|
6265
6272
|
}
|
|
6266
|
-
for (const [
|
|
6267
|
-
|
|
6268
|
-
return Object.keys(
|
|
6273
|
+
for (const [fe, F] of Object.entries(le))
|
|
6274
|
+
we[fe] = { msg: F.msg, internalRef: F.internalRef };
|
|
6275
|
+
return Object.keys(we).length > 0 ? q.cloneElement(ee, we) : ee;
|
|
6269
6276
|
}), liveAlerts: j };
|
|
6270
|
-
}, [d, U, l,
|
|
6277
|
+
}, [d, U, l, N]), oe = o.find((T) => T.name === x), Fe = oe?.status ?? "online", J = oe?.dbSync ?? !0, B = oe?.metrics, _ = Be[x ?? ""] ?? [], se = oe?.alerts ?? [], de = _.length > 0 ? [..._, ...se.filter((T) => T.level !== "info")] : se, ce = p?.lastRefreshError ?? null, it = 330, nt = 340, ve = k ? 1.15 : 1, pe = k ? -(k.ex - it) * 0.06 : 0, ot = k ? -(k.ey - nt) * 0.06 : 0;
|
|
6271
6278
|
return /* @__PURE__ */ c("div", { className: "app", style: s ? { fontFamily: s } : void 0, children: [
|
|
6272
6279
|
/* @__PURE__ */ e(
|
|
6273
6280
|
"div",
|
|
@@ -6282,7 +6289,7 @@ function At({
|
|
|
6282
6289
|
backgroundPosition: "center center",
|
|
6283
6290
|
backgroundRepeat: "no-repeat",
|
|
6284
6291
|
transition: "transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1)",
|
|
6285
|
-
transform: `translate(${
|
|
6292
|
+
transform: `translate(${pe}px, ${ot}px) scale(${ve})`,
|
|
6286
6293
|
willChange: "transform"
|
|
6287
6294
|
}
|
|
6288
6295
|
}
|
|
@@ -6293,7 +6300,7 @@ function At({
|
|
|
6293
6300
|
/* @__PURE__ */ e("span", { className: "brand-text", children: t })
|
|
6294
6301
|
] }),
|
|
6295
6302
|
/* @__PURE__ */ c("div", { className: "hdr-right", children: [
|
|
6296
|
-
|
|
6303
|
+
ce && /* @__PURE__ */ c("div", { className: "hdr-refresh-error", children: [
|
|
6297
6304
|
/* @__PURE__ */ e("span", { className: "refresh-error-dot" }),
|
|
6298
6305
|
/* @__PURE__ */ e("span", { className: "refresh-error-text", children: "DATA REFRESH FAILED" })
|
|
6299
6306
|
] }),
|
|
@@ -6315,22 +6322,22 @@ function At({
|
|
|
6315
6322
|
animPhase: S,
|
|
6316
6323
|
selectedSystem: x,
|
|
6317
6324
|
selectedComponent: k,
|
|
6318
|
-
drillAnimPhase:
|
|
6325
|
+
drillAnimPhase: O,
|
|
6319
6326
|
rotateY: f,
|
|
6320
|
-
autoRotateComponents:
|
|
6321
|
-
componentScale:
|
|
6327
|
+
autoRotateComponents: g,
|
|
6328
|
+
componentScale: b,
|
|
6322
6329
|
drillZoom: m,
|
|
6323
6330
|
autoRotateCarousel: u,
|
|
6324
6331
|
carouselSpeed: a,
|
|
6325
6332
|
logoUrl: r,
|
|
6326
|
-
onSelectSystem:
|
|
6333
|
+
onSelectSystem: z,
|
|
6327
6334
|
onBackgroundClick: K,
|
|
6328
6335
|
onComponentClick: Z,
|
|
6329
|
-
onComponentUpdate:
|
|
6330
|
-
onCloseDrill:
|
|
6336
|
+
onComponentUpdate: me,
|
|
6337
|
+
onCloseDrill: xe,
|
|
6331
6338
|
selectedSystemStatus: Fe,
|
|
6332
6339
|
selectedSystemDbSync: J,
|
|
6333
|
-
selectedSystemMetrics:
|
|
6340
|
+
selectedSystemMetrics: B,
|
|
6334
6341
|
selectedSystemAlerts: de,
|
|
6335
6342
|
children: ne
|
|
6336
6343
|
}
|
|
@@ -6339,7 +6346,7 @@ function At({
|
|
|
6339
6346
|
)
|
|
6340
6347
|
] });
|
|
6341
6348
|
}
|
|
6342
|
-
function
|
|
6349
|
+
function E(t, n, o = 24) {
|
|
6343
6350
|
return Array.from({ length: o }, (i, r) => {
|
|
6344
6351
|
const a = r / o;
|
|
6345
6352
|
return Math.min(100, Math.max(0, t + Math.sin(a * Math.PI * 2) * n + (Math.random() - 0.5) * 10));
|
|
@@ -6358,21 +6365,21 @@ function Ne(t, n, o) {
|
|
|
6358
6365
|
{ id: "drive-1", label: "DRIVE-1", status: "online", element: /* @__PURE__ */ e(De, { color: r, label: "DRIVE-1", status: "online", activity: !0 }) },
|
|
6359
6366
|
{ id: "drive-2", label: "DRIVE-2", status: "online", element: /* @__PURE__ */ e(De, { color: r, label: "DRIVE-2", status: "online", activity: a > 30 }) },
|
|
6360
6367
|
{ id: "drive-3", label: "DRIVE-3", status: "online", element: /* @__PURE__ */ e(De, { color: r, label: "DRIVE-3", status: "online", activity: a > 50 }) },
|
|
6361
|
-
{ id: "thread-pool", label: "THREAD-POOL", status: d, detail: d === "critical" ? "Thread exhaustion" : void 0, element: /* @__PURE__ */ e(
|
|
6368
|
+
{ id: "thread-pool", label: "THREAD-POOL", status: d, detail: d === "critical" ? "Thread exhaustion" : void 0, element: /* @__PURE__ */ e(M, { color: r, label: "THREAD-POOL", status: d }) },
|
|
6362
6369
|
{ id: "network", label: "NET", status: p, element: /* @__PURE__ */ e(Wt, { color: r, label: "NET", status: p }) }
|
|
6363
6370
|
];
|
|
6364
6371
|
}
|
|
6365
6372
|
function We(t) {
|
|
6366
6373
|
const n = t?.cpuLoad ?? 50, o = t?.memLoad ?? 60;
|
|
6367
6374
|
return [
|
|
6368
|
-
{ id: "cpu", label: "CPU-0", unit: "%", color: "#00e5ff", data:
|
|
6369
|
-
{ id: "cpu1", label: "CPU-1", unit: "%", color: "#00e5ff", data:
|
|
6370
|
-
{ id: "heap0", label: "HEAP-0", unit: "%", color: "#8855ee", data:
|
|
6371
|
-
{ id: "heap1", label: "HEAP-1", unit: "%", color: "#8855ee", data:
|
|
6372
|
-
{ id: "drive1", label: "DRIVE-1 I/O", unit: "%", color: "#ff8c00", data:
|
|
6373
|
-
{ id: "drive2", label: "DRIVE-2 I/O", unit: "%", color: "#ff8c00", data:
|
|
6374
|
-
{ id: "drive3", label: "DRIVE-3 I/O", unit: "%", color: "#ff8c00", data:
|
|
6375
|
-
{ id: "thread", label: "THREAD-POOL", unit: "%", color: "#22aaff", data:
|
|
6375
|
+
{ id: "cpu", label: "CPU-0", unit: "%", color: "#00e5ff", data: E(n, 15) },
|
|
6376
|
+
{ id: "cpu1", label: "CPU-1", unit: "%", color: "#00e5ff", data: E(n * 0.7, 12) },
|
|
6377
|
+
{ id: "heap0", label: "HEAP-0", unit: "%", color: "#8855ee", data: E(o, 18) },
|
|
6378
|
+
{ id: "heap1", label: "HEAP-1", unit: "%", color: "#8855ee", data: E(o * 0.85, 14) },
|
|
6379
|
+
{ id: "drive1", label: "DRIVE-1 I/O", unit: "%", color: "#ff8c00", data: E(40, 25) },
|
|
6380
|
+
{ id: "drive2", label: "DRIVE-2 I/O", unit: "%", color: "#ff8c00", data: E(35, 20) },
|
|
6381
|
+
{ id: "drive3", label: "DRIVE-3 I/O", unit: "%", color: "#ff8c00", data: E(30, 22) },
|
|
6382
|
+
{ id: "thread", label: "THREAD-POOL", unit: "%", color: "#22aaff", data: E(55, 20) }
|
|
6376
6383
|
];
|
|
6377
6384
|
}
|
|
6378
6385
|
function zt(t, n, o) {
|
|
@@ -6386,18 +6393,18 @@ function zt(t, n, o) {
|
|
|
6386
6393
|
{ id: "port-6", label: "PORT-6", status: "online", element: /* @__PURE__ */ e(Y, { color: r, label: "PORT-6", status: "online" }) },
|
|
6387
6394
|
{ id: "port-7", label: "PORT-7", status: "online", element: /* @__PURE__ */ e(Y, { color: r, label: "PORT-7", status: "online" }) },
|
|
6388
6395
|
{ id: "port-8", label: "PORT-8", status: "online", element: /* @__PURE__ */ e(Y, { color: r, label: "PORT-8", status: "online" }) },
|
|
6389
|
-
{ id: "http-worker", label: "HTTP-WORKER", status: l, detail: l === "critical" ? "Worker timeout" : void 0, element: /* @__PURE__ */ e(
|
|
6390
|
-
{ id: "https-worker", label: "HTTPS-WORKER", status: "online", element: /* @__PURE__ */ e(
|
|
6396
|
+
{ 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 }) },
|
|
6397
|
+
{ id: "https-worker", label: "HTTPS-WORKER", status: "online", element: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "HTTPS-WORKER", status: "online" }) }
|
|
6391
6398
|
];
|
|
6392
6399
|
}
|
|
6393
6400
|
function Bt(t) {
|
|
6394
6401
|
const n = t?.traffic ?? 50;
|
|
6395
6402
|
return [
|
|
6396
|
-
{ id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data:
|
|
6397
|
-
{ id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data:
|
|
6398
|
-
{ id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data:
|
|
6399
|
-
{ id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data:
|
|
6400
|
-
{ id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data:
|
|
6403
|
+
{ id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: E(n, 20) },
|
|
6404
|
+
{ id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data: E(60, 25) },
|
|
6405
|
+
{ id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data: E(45, 20) },
|
|
6406
|
+
{ id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data: E(70, 30) },
|
|
6407
|
+
{ id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: E(n * 0.9, 15) }
|
|
6401
6408
|
];
|
|
6402
6409
|
}
|
|
6403
6410
|
function $i(t, n, o) {
|
|
@@ -6406,20 +6413,20 @@ function $i(t, n, o) {
|
|
|
6406
6413
|
{ id: "inst-0", label: "INST-0", status: "online", element: /* @__PURE__ */ e(Y, { color: "#bb55ff", label: "INST-0", status: "online" }) },
|
|
6407
6414
|
{ id: "inst-1", label: "INST-1", status: "online", element: /* @__PURE__ */ e(Y, { color: "#bb55ff", label: "INST-1", status: "online" }) },
|
|
6408
6415
|
{ id: "inst-2", label: "INST-2", status: r, detail: r === "critical" ? "Instance unreachable" : void 0, element: /* @__PURE__ */ e(Y, { color: "#bb55ff", label: "INST-2", status: r }) },
|
|
6409
|
-
{ 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(
|
|
6410
|
-
{ id: "worker-1", label: "WORKER-1", status: "online", element: /* @__PURE__ */ e(
|
|
6411
|
-
{ id: "worker-2", label: "WORKER-2", status: "online", element: /* @__PURE__ */ e(
|
|
6412
|
-
{ id: "worker-3", label: "WORKER-3", status: s, detail: s === "critical" ? "Worker timeout" : void 0, element: /* @__PURE__ */ e(
|
|
6416
|
+
{ 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 }) },
|
|
6417
|
+
{ id: "worker-1", label: "WORKER-1", status: "online", element: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "WORKER-1", status: "online" }) },
|
|
6418
|
+
{ id: "worker-2", label: "WORKER-2", status: "online", element: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "WORKER-2", status: "online" }) },
|
|
6419
|
+
{ 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 }) }
|
|
6413
6420
|
];
|
|
6414
6421
|
}
|
|
6415
6422
|
function ki(t) {
|
|
6416
6423
|
const n = t?.queueDepth ?? 50;
|
|
6417
6424
|
return [
|
|
6418
|
-
{ id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data:
|
|
6419
|
-
{ id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data:
|
|
6420
|
-
{ id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data:
|
|
6421
|
-
{ id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data:
|
|
6422
|
-
{ id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data:
|
|
6425
|
+
{ id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: E(n, 20) },
|
|
6426
|
+
{ id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data: E(60, 25) },
|
|
6427
|
+
{ id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data: E(45, 20) },
|
|
6428
|
+
{ id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data: E(70, 30) },
|
|
6429
|
+
{ id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: E(n * 0.9, 15) }
|
|
6423
6430
|
];
|
|
6424
6431
|
}
|
|
6425
6432
|
function Je(t, n, o) {
|
|
@@ -6428,18 +6435,18 @@ function Je(t, n, o) {
|
|
|
6428
6435
|
{ id: "platter-0", label: "PLATTER-0", status: "online", element: /* @__PURE__ */ e(Qe, { color: r, label: "PLATTER-0", status: "online", capacityPercent: a }) },
|
|
6429
6436
|
{ id: "platter-1", label: "PLATTER-1", status: s, detail: i === "critical" ? "I/O failure" : i === "offline" ? "Connection lost" : i === "warning" ? "Slow queries" : void 0, element: /* @__PURE__ */ e(Qe, { color: r, label: "PLATTER-1", status: s, capacityPercent: a }) },
|
|
6430
6437
|
{ id: "platter-2", label: "PLATTER-2", status: l, detail: l === "warning" ? "Replication lag" : void 0, element: /* @__PURE__ */ e(Qe, { color: r, label: "PLATTER-2", status: l, capacityPercent: a }) },
|
|
6431
|
-
{ id: "conn-pool", label: "CONN-POOL", status: h, detail: h === "critical" ? "Pool exhausted" : void 0, element: /* @__PURE__ */ e(
|
|
6432
|
-
{ id: "query-cache", label: "QUERY-CACHE", status: d, detail: d === "warning" ? "Cache miss rate" : void 0, element: /* @__PURE__ */ e(
|
|
6438
|
+
{ id: "conn-pool", label: "CONN-POOL", status: h, detail: h === "critical" ? "Pool exhausted" : void 0, element: /* @__PURE__ */ e(M, { color: r, label: "CONN-POOL", status: h }) },
|
|
6439
|
+
{ id: "query-cache", label: "QUERY-CACHE", status: d, detail: d === "warning" ? "Cache miss rate" : void 0, element: /* @__PURE__ */ e(M, { color: "#00ff88", label: "QUERY-CACHE", status: d }) }
|
|
6433
6440
|
];
|
|
6434
6441
|
}
|
|
6435
6442
|
function et(t) {
|
|
6436
6443
|
const n = t?.capacity ?? 70;
|
|
6437
6444
|
return [
|
|
6438
|
-
{ id: "platter0", label: "PLATTER-0 I/O", unit: "%", color: "#ff8c00", data:
|
|
6439
|
-
{ id: "platter1", label: "PLATTER-1 I/O", unit: "%", color: "#ff8c00", data:
|
|
6440
|
-
{ id: "platter2", label: "PLATTER-2 I/O", unit: "%", color: "#ff8c00", data:
|
|
6441
|
-
{ id: "connpool", label: "CONN-POOL", unit: "%", color: "#00e5ff", data:
|
|
6442
|
-
{ id: "cache", label: "QUERY-CACHE", unit: "%", color: "#00ff88", data:
|
|
6445
|
+
{ id: "platter0", label: "PLATTER-0 I/O", unit: "%", color: "#ff8c00", data: E(40, 20) },
|
|
6446
|
+
{ id: "platter1", label: "PLATTER-1 I/O", unit: "%", color: "#ff8c00", data: E(55, 25) },
|
|
6447
|
+
{ id: "platter2", label: "PLATTER-2 I/O", unit: "%", color: "#ff8c00", data: E(35, 18) },
|
|
6448
|
+
{ id: "connpool", label: "CONN-POOL", unit: "%", color: "#00e5ff", data: E(n, 15) },
|
|
6449
|
+
{ id: "cache", label: "QUERY-CACHE", unit: "%", color: "#00ff88", data: E(75, 12) }
|
|
6443
6450
|
];
|
|
6444
6451
|
}
|
|
6445
6452
|
function vt(t) {
|
|
@@ -6499,10 +6506,10 @@ const Ri = [
|
|
|
6499
6506
|
{ from: [495, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" }
|
|
6500
6507
|
];
|
|
6501
6508
|
function Ci({ config: t }) {
|
|
6502
|
-
const n = q.useContext(
|
|
6509
|
+
const n = q.useContext(Ce), o = n?.rotateY ?? 20, i = n?.autoRotateComponents ?? !0, { wdStatus: r, msStatus: a, srv1Status: s, srv2Status: l, srv3Status: h, pdbStatus: d, sdbStatus: p, dbSync: f } = t;
|
|
6503
6510
|
return /* @__PURE__ */ c(Me, { children: [
|
|
6504
6511
|
/* @__PURE__ */ e(
|
|
6505
|
-
|
|
6512
|
+
A,
|
|
6506
6513
|
{
|
|
6507
6514
|
ex: 330,
|
|
6508
6515
|
ey: 120,
|
|
@@ -6514,7 +6521,7 @@ function Ci({ config: t }) {
|
|
|
6514
6521
|
}
|
|
6515
6522
|
),
|
|
6516
6523
|
/* @__PURE__ */ e(
|
|
6517
|
-
|
|
6524
|
+
A,
|
|
6518
6525
|
{
|
|
6519
6526
|
ex: 220,
|
|
6520
6527
|
ey: 260,
|
|
@@ -6547,7 +6554,7 @@ function Ci({ config: t }) {
|
|
|
6547
6554
|
}
|
|
6548
6555
|
),
|
|
6549
6556
|
/* @__PURE__ */ e(
|
|
6550
|
-
|
|
6557
|
+
A,
|
|
6551
6558
|
{
|
|
6552
6559
|
ex: 440,
|
|
6553
6560
|
ey: 260,
|
|
@@ -6581,7 +6588,7 @@ function Ci({ config: t }) {
|
|
|
6581
6588
|
}
|
|
6582
6589
|
),
|
|
6583
6590
|
/* @__PURE__ */ e(
|
|
6584
|
-
|
|
6591
|
+
A,
|
|
6585
6592
|
{
|
|
6586
6593
|
ex: 165,
|
|
6587
6594
|
ey: 390,
|
|
@@ -6600,7 +6607,7 @@ function Ci({ config: t }) {
|
|
|
6600
6607
|
graphSeries: We({ cpuLoad: 67, memLoad: 72 })
|
|
6601
6608
|
},
|
|
6602
6609
|
children: /* @__PURE__ */ e(
|
|
6603
|
-
|
|
6610
|
+
ke,
|
|
6604
6611
|
{
|
|
6605
6612
|
rotateY: o,
|
|
6606
6613
|
autoRotate: i,
|
|
@@ -6614,7 +6621,7 @@ function Ci({ config: t }) {
|
|
|
6614
6621
|
}
|
|
6615
6622
|
),
|
|
6616
6623
|
/* @__PURE__ */ e(
|
|
6617
|
-
|
|
6624
|
+
A,
|
|
6618
6625
|
{
|
|
6619
6626
|
ex: 330,
|
|
6620
6627
|
ey: 390,
|
|
@@ -6633,7 +6640,7 @@ function Ci({ config: t }) {
|
|
|
6633
6640
|
graphSeries: We({ cpuLoad: 89, memLoad: 91 })
|
|
6634
6641
|
},
|
|
6635
6642
|
children: /* @__PURE__ */ e(
|
|
6636
|
-
|
|
6643
|
+
ke,
|
|
6637
6644
|
{
|
|
6638
6645
|
rotateY: o,
|
|
6639
6646
|
autoRotate: i,
|
|
@@ -6647,7 +6654,7 @@ function Ci({ config: t }) {
|
|
|
6647
6654
|
}
|
|
6648
6655
|
),
|
|
6649
6656
|
/* @__PURE__ */ e(
|
|
6650
|
-
|
|
6657
|
+
A,
|
|
6651
6658
|
{
|
|
6652
6659
|
ex: 495,
|
|
6653
6660
|
ey: 390,
|
|
@@ -6666,7 +6673,7 @@ function Ci({ config: t }) {
|
|
|
6666
6673
|
graphSeries: We({ cpuLoad: 45, memLoad: 63 })
|
|
6667
6674
|
},
|
|
6668
6675
|
children: /* @__PURE__ */ e(
|
|
6669
|
-
|
|
6676
|
+
ke,
|
|
6670
6677
|
{
|
|
6671
6678
|
rotateY: o,
|
|
6672
6679
|
autoRotate: i,
|
|
@@ -6680,7 +6687,7 @@ function Ci({ config: t }) {
|
|
|
6680
6687
|
}
|
|
6681
6688
|
),
|
|
6682
6689
|
/* @__PURE__ */ e(
|
|
6683
|
-
|
|
6690
|
+
A,
|
|
6684
6691
|
{
|
|
6685
6692
|
ex: 200,
|
|
6686
6693
|
ey: 520,
|
|
@@ -6713,7 +6720,7 @@ function Ci({ config: t }) {
|
|
|
6713
6720
|
}
|
|
6714
6721
|
),
|
|
6715
6722
|
/* @__PURE__ */ e(
|
|
6716
|
-
|
|
6723
|
+
A,
|
|
6717
6724
|
{
|
|
6718
6725
|
ex: 460,
|
|
6719
6726
|
ey: 520,
|
|
@@ -6746,7 +6753,7 @@ function Ci({ config: t }) {
|
|
|
6746
6753
|
}
|
|
6747
6754
|
),
|
|
6748
6755
|
/* @__PURE__ */ e(
|
|
6749
|
-
|
|
6756
|
+
A,
|
|
6750
6757
|
{
|
|
6751
6758
|
ex: 330,
|
|
6752
6759
|
ey: 520,
|
|
@@ -6762,10 +6769,10 @@ function Ci({ config: t }) {
|
|
|
6762
6769
|
] });
|
|
6763
6770
|
}
|
|
6764
6771
|
function Pi({ config: t }) {
|
|
6765
|
-
const n = q.useContext(
|
|
6772
|
+
const n = q.useContext(Ce), { wdStatus: o, msStatus: i, srv1Status: r, srv2Status: a, srv3Status: s, pdbStatus: l, sdbStatus: h, dbSync: d } = t, p = n?.isSelected && n?.isExpandedPos;
|
|
6766
6773
|
return n?.isSelected ? /* @__PURE__ */ c("div", { style: { pointerEvents: "none" }, children: [
|
|
6767
6774
|
/* @__PURE__ */ e(
|
|
6768
|
-
|
|
6775
|
+
W,
|
|
6769
6776
|
{
|
|
6770
6777
|
ex: 220,
|
|
6771
6778
|
ey: 260,
|
|
@@ -6780,7 +6787,7 @@ function Pi({ config: t }) {
|
|
|
6780
6787
|
}
|
|
6781
6788
|
),
|
|
6782
6789
|
/* @__PURE__ */ e(
|
|
6783
|
-
|
|
6790
|
+
W,
|
|
6784
6791
|
{
|
|
6785
6792
|
ex: 440,
|
|
6786
6793
|
ey: 260,
|
|
@@ -6795,7 +6802,7 @@ function Pi({ config: t }) {
|
|
|
6795
6802
|
}
|
|
6796
6803
|
),
|
|
6797
6804
|
/* @__PURE__ */ e(
|
|
6798
|
-
|
|
6805
|
+
W,
|
|
6799
6806
|
{
|
|
6800
6807
|
ex: 165,
|
|
6801
6808
|
ey: 390,
|
|
@@ -6810,7 +6817,7 @@ function Pi({ config: t }) {
|
|
|
6810
6817
|
}
|
|
6811
6818
|
),
|
|
6812
6819
|
/* @__PURE__ */ e(
|
|
6813
|
-
|
|
6820
|
+
W,
|
|
6814
6821
|
{
|
|
6815
6822
|
ex: 330,
|
|
6816
6823
|
ey: 390,
|
|
@@ -6825,7 +6832,7 @@ function Pi({ config: t }) {
|
|
|
6825
6832
|
}
|
|
6826
6833
|
),
|
|
6827
6834
|
/* @__PURE__ */ e(
|
|
6828
|
-
|
|
6835
|
+
W,
|
|
6829
6836
|
{
|
|
6830
6837
|
ex: 495,
|
|
6831
6838
|
ey: 390,
|
|
@@ -6840,7 +6847,7 @@ function Pi({ config: t }) {
|
|
|
6840
6847
|
}
|
|
6841
6848
|
),
|
|
6842
6849
|
/* @__PURE__ */ e(
|
|
6843
|
-
|
|
6850
|
+
W,
|
|
6844
6851
|
{
|
|
6845
6852
|
ex: 200,
|
|
6846
6853
|
ey: 520,
|
|
@@ -6855,7 +6862,7 @@ function Pi({ config: t }) {
|
|
|
6855
6862
|
}
|
|
6856
6863
|
),
|
|
6857
6864
|
/* @__PURE__ */ e(
|
|
6858
|
-
|
|
6865
|
+
W,
|
|
6859
6866
|
{
|
|
6860
6867
|
ex: 460,
|
|
6861
6868
|
ey: 520,
|
|
@@ -6870,7 +6877,7 @@ function Pi({ config: t }) {
|
|
|
6870
6877
|
}
|
|
6871
6878
|
),
|
|
6872
6879
|
!d && /* @__PURE__ */ e(
|
|
6873
|
-
|
|
6880
|
+
W,
|
|
6874
6881
|
{
|
|
6875
6882
|
ex: 330,
|
|
6876
6883
|
ey: 520,
|
|
@@ -6950,10 +6957,10 @@ const Ei = [
|
|
|
6950
6957
|
{ from: [495, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" }
|
|
6951
6958
|
];
|
|
6952
6959
|
function Ai({ config: t }) {
|
|
6953
|
-
const n = q.useContext(
|
|
6960
|
+
const n = q.useContext(Ce), o = n?.rotateY ?? 20, i = n?.autoRotateComponents ?? !0, { dispStatus: r, srv1Status: a, srv2Status: s, srv3Status: l, pdbStatus: h, sdbStatus: d, dbSync: p } = t;
|
|
6954
6961
|
return /* @__PURE__ */ c(Me, { children: [
|
|
6955
6962
|
/* @__PURE__ */ e(
|
|
6956
|
-
|
|
6963
|
+
A,
|
|
6957
6964
|
{
|
|
6958
6965
|
ex: 330,
|
|
6959
6966
|
ey: 120,
|
|
@@ -6965,7 +6972,7 @@ function Ai({ config: t }) {
|
|
|
6965
6972
|
}
|
|
6966
6973
|
),
|
|
6967
6974
|
/* @__PURE__ */ e(
|
|
6968
|
-
|
|
6975
|
+
A,
|
|
6969
6976
|
{
|
|
6970
6977
|
ex: 330,
|
|
6971
6978
|
ey: 260,
|
|
@@ -6998,7 +7005,7 @@ function Ai({ config: t }) {
|
|
|
6998
7005
|
}
|
|
6999
7006
|
),
|
|
7000
7007
|
/* @__PURE__ */ e(
|
|
7001
|
-
|
|
7008
|
+
A,
|
|
7002
7009
|
{
|
|
7003
7010
|
ex: 165,
|
|
7004
7011
|
ey: 390,
|
|
@@ -7017,7 +7024,7 @@ function Ai({ config: t }) {
|
|
|
7017
7024
|
graphSeries: We({ cpuLoad: 67, memLoad: 72 })
|
|
7018
7025
|
},
|
|
7019
7026
|
children: /* @__PURE__ */ e(
|
|
7020
|
-
|
|
7027
|
+
ke,
|
|
7021
7028
|
{
|
|
7022
7029
|
rotateY: o,
|
|
7023
7030
|
autoRotate: i,
|
|
@@ -7031,7 +7038,7 @@ function Ai({ config: t }) {
|
|
|
7031
7038
|
}
|
|
7032
7039
|
),
|
|
7033
7040
|
/* @__PURE__ */ e(
|
|
7034
|
-
|
|
7041
|
+
A,
|
|
7035
7042
|
{
|
|
7036
7043
|
ex: 330,
|
|
7037
7044
|
ey: 390,
|
|
@@ -7050,7 +7057,7 @@ function Ai({ config: t }) {
|
|
|
7050
7057
|
graphSeries: We({ cpuLoad: 89, memLoad: 91 })
|
|
7051
7058
|
},
|
|
7052
7059
|
children: /* @__PURE__ */ e(
|
|
7053
|
-
|
|
7060
|
+
ke,
|
|
7054
7061
|
{
|
|
7055
7062
|
rotateY: o,
|
|
7056
7063
|
autoRotate: i,
|
|
@@ -7064,7 +7071,7 @@ function Ai({ config: t }) {
|
|
|
7064
7071
|
}
|
|
7065
7072
|
),
|
|
7066
7073
|
/* @__PURE__ */ e(
|
|
7067
|
-
|
|
7074
|
+
A,
|
|
7068
7075
|
{
|
|
7069
7076
|
ex: 495,
|
|
7070
7077
|
ey: 390,
|
|
@@ -7083,7 +7090,7 @@ function Ai({ config: t }) {
|
|
|
7083
7090
|
graphSeries: We({ cpuLoad: 45, memLoad: 63 })
|
|
7084
7091
|
},
|
|
7085
7092
|
children: /* @__PURE__ */ e(
|
|
7086
|
-
|
|
7093
|
+
ke,
|
|
7087
7094
|
{
|
|
7088
7095
|
rotateY: o,
|
|
7089
7096
|
autoRotate: i,
|
|
@@ -7097,7 +7104,7 @@ function Ai({ config: t }) {
|
|
|
7097
7104
|
}
|
|
7098
7105
|
),
|
|
7099
7106
|
/* @__PURE__ */ e(
|
|
7100
|
-
|
|
7107
|
+
A,
|
|
7101
7108
|
{
|
|
7102
7109
|
ex: 200,
|
|
7103
7110
|
ey: 520,
|
|
@@ -7130,7 +7137,7 @@ function Ai({ config: t }) {
|
|
|
7130
7137
|
}
|
|
7131
7138
|
),
|
|
7132
7139
|
/* @__PURE__ */ e(
|
|
7133
|
-
|
|
7140
|
+
A,
|
|
7134
7141
|
{
|
|
7135
7142
|
ex: 460,
|
|
7136
7143
|
ey: 520,
|
|
@@ -7163,7 +7170,7 @@ function Ai({ config: t }) {
|
|
|
7163
7170
|
}
|
|
7164
7171
|
),
|
|
7165
7172
|
/* @__PURE__ */ e(
|
|
7166
|
-
|
|
7173
|
+
A,
|
|
7167
7174
|
{
|
|
7168
7175
|
ex: 330,
|
|
7169
7176
|
ey: 520,
|
|
@@ -7179,10 +7186,10 @@ function Ai({ config: t }) {
|
|
|
7179
7186
|
] });
|
|
7180
7187
|
}
|
|
7181
7188
|
function Ti({ config: t }) {
|
|
7182
|
-
const n = q.useContext(
|
|
7189
|
+
const n = q.useContext(Ce), { dispStatus: o, srv1Status: i, srv2Status: r, srv3Status: a, pdbStatus: s, sdbStatus: l, dbSync: h } = t, d = n?.isSelected && n?.isExpandedPos;
|
|
7183
7190
|
return n?.isSelected ? /* @__PURE__ */ c("div", { style: { pointerEvents: "none" }, children: [
|
|
7184
7191
|
/* @__PURE__ */ e(
|
|
7185
|
-
|
|
7192
|
+
W,
|
|
7186
7193
|
{
|
|
7187
7194
|
ex: 330,
|
|
7188
7195
|
ey: 260,
|
|
@@ -7197,7 +7204,7 @@ function Ti({ config: t }) {
|
|
|
7197
7204
|
}
|
|
7198
7205
|
),
|
|
7199
7206
|
/* @__PURE__ */ e(
|
|
7200
|
-
|
|
7207
|
+
W,
|
|
7201
7208
|
{
|
|
7202
7209
|
ex: 165,
|
|
7203
7210
|
ey: 390,
|
|
@@ -7212,7 +7219,7 @@ function Ti({ config: t }) {
|
|
|
7212
7219
|
}
|
|
7213
7220
|
),
|
|
7214
7221
|
/* @__PURE__ */ e(
|
|
7215
|
-
|
|
7222
|
+
W,
|
|
7216
7223
|
{
|
|
7217
7224
|
ex: 330,
|
|
7218
7225
|
ey: 390,
|
|
@@ -7227,7 +7234,7 @@ function Ti({ config: t }) {
|
|
|
7227
7234
|
}
|
|
7228
7235
|
),
|
|
7229
7236
|
/* @__PURE__ */ e(
|
|
7230
|
-
|
|
7237
|
+
W,
|
|
7231
7238
|
{
|
|
7232
7239
|
ex: 495,
|
|
7233
7240
|
ey: 390,
|
|
@@ -7242,7 +7249,7 @@ function Ti({ config: t }) {
|
|
|
7242
7249
|
}
|
|
7243
7250
|
),
|
|
7244
7251
|
/* @__PURE__ */ e(
|
|
7245
|
-
|
|
7252
|
+
W,
|
|
7246
7253
|
{
|
|
7247
7254
|
ex: 200,
|
|
7248
7255
|
ey: 520,
|
|
@@ -7257,7 +7264,7 @@ function Ti({ config: t }) {
|
|
|
7257
7264
|
}
|
|
7258
7265
|
),
|
|
7259
7266
|
/* @__PURE__ */ e(
|
|
7260
|
-
|
|
7267
|
+
W,
|
|
7261
7268
|
{
|
|
7262
7269
|
ex: 460,
|
|
7263
7270
|
ey: 520,
|
|
@@ -7272,7 +7279,7 @@ function Ti({ config: t }) {
|
|
|
7272
7279
|
}
|
|
7273
7280
|
),
|
|
7274
7281
|
!h && /* @__PURE__ */ e(
|
|
7275
|
-
|
|
7282
|
+
W,
|
|
7276
7283
|
{
|
|
7277
7284
|
ex: 330,
|
|
7278
7285
|
ey: 520,
|
|
@@ -7326,21 +7333,21 @@ export {
|
|
|
7326
7333
|
Dt as MessageServer3D,
|
|
7327
7334
|
Hi as MessageServerNode,
|
|
7328
7335
|
Wt as NetworkBlock3D,
|
|
7329
|
-
|
|
7336
|
+
W as NodeCallout,
|
|
7330
7337
|
Qe as Platter3D,
|
|
7331
7338
|
Y as Port3D,
|
|
7332
7339
|
Xi as SAPService,
|
|
7333
7340
|
Ri as SAP_CONNECTIONS,
|
|
7334
|
-
|
|
7335
|
-
|
|
7341
|
+
$ as STATUS_CFG,
|
|
7342
|
+
ke as Server3D,
|
|
7336
7343
|
Mi as ServerNode,
|
|
7337
7344
|
Lt as Service,
|
|
7338
|
-
|
|
7345
|
+
Ce as ServiceContext,
|
|
7339
7346
|
Ut as ServiceDialog,
|
|
7340
|
-
|
|
7347
|
+
A as ServiceNode,
|
|
7341
7348
|
qt as SvgConnection,
|
|
7342
7349
|
It as SyncBridge,
|
|
7343
|
-
|
|
7350
|
+
M as ThreadPool3D,
|
|
7344
7351
|
mt as WebDispatcher3D,
|
|
7345
7352
|
Fi as WebDispatcherNode,
|
|
7346
7353
|
Qi as computeExchangeDialogAlerts,
|