react-aiops 0.1.19 → 0.1.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -56,24 +56,29 @@ export interface ServiceNodeProps {
|
|
|
56
56
|
*/
|
|
57
57
|
bare?: boolean;
|
|
58
58
|
/**
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
* and
|
|
59
|
+
* Callout configuration for this node.
|
|
60
|
+
*
|
|
61
|
+
* Controls the position and (optionally) the content of the
|
|
62
|
+
* {@link NodeCallout} rendered next to this node.
|
|
63
|
+
*
|
|
64
|
+
* - **Position-only** — set `offsetX` / `offsetY` / `align` without
|
|
65
|
+
* `msg` to control where auto-generated callouts appear.
|
|
66
|
+
* - **Explicit message** — set `msg` to provide a fixed diagnostic
|
|
67
|
+
* message that takes priority when the node status is the highest
|
|
68
|
+
* severity source.
|
|
62
69
|
*
|
|
63
70
|
* @example
|
|
64
71
|
* ```tsx
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
* <Server3D ... />
|
|
71
|
-
* </ServiceNode>
|
|
72
|
+
* // Position-only (auto-generated message from status / metrics)
|
|
73
|
+
* <ServerNode alert={{ offsetX: -110, offsetY: -30, align: "left" }} ... />
|
|
74
|
+
*
|
|
75
|
+
* // Explicit message + position
|
|
76
|
+
* <ServerNode alert={{ msg: "High latency", align: "left" }} ... />
|
|
72
77
|
* ```
|
|
73
78
|
*/
|
|
74
79
|
alert?: {
|
|
75
|
-
/** Short diagnostic message shown in the callout body. */
|
|
76
|
-
msg
|
|
80
|
+
/** Short diagnostic message shown in the callout body. When omitted, an auto-generated message is used. */
|
|
81
|
+
msg?: string;
|
|
77
82
|
/** Horizontal offset (px) from the node center to the label. Defaults to `110`. */
|
|
78
83
|
offsetX?: number;
|
|
79
84
|
/** Vertical offset (px) from the node center to the label. Defaults to `-30`. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ServiceNode.d.ts","sourceRoot":"","sources":["../../src/components/ServiceNode.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AAEH,OAAO,KAAwC,MAAM,OAAO,CAAC;AAI7D,OAAO,KAAK,EAAE,iBAAiB,EAA2C,MAAM,UAAU,CAAC;AAG3F,MAAM,WAAW,gBAAgB;IAC7B,8EAA8E;IAC9E,EAAE,EAAE,MAAM,CAAC;IACX,6EAA6E;IAC7E,EAAE,EAAE,MAAM,CAAC;IACX;;;OAGG;IACH,aAAa,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IACxC,8EAA8E;IAC9E,MAAM,EAAE,MAAM,CAAC;IACf,wCAAwC;IACxC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAI1B,8DAA8D;IAC9D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,oDAAoD;IACpD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,0DAA0D;IAC1D,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,iGAAiG;IACjG,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;;;;OAOG;IACH,aAAa,CAAC,EAAE,IAAI,CAAC,iBAAiB,EAAE,IAAI,GAAG,IAAI,CAAC,GAAG;QACnD,EAAE,CAAC,EAAE,MAAM,CAAC;QACZ,EAAE,CAAC,EAAE,MAAM,CAAC;KACf,CAAC;IAIF;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IAEf
|
|
1
|
+
{"version":3,"file":"ServiceNode.d.ts","sourceRoot":"","sources":["../../src/components/ServiceNode.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AAEH,OAAO,KAAwC,MAAM,OAAO,CAAC;AAI7D,OAAO,KAAK,EAAE,iBAAiB,EAA2C,MAAM,UAAU,CAAC;AAG3F,MAAM,WAAW,gBAAgB;IAC7B,8EAA8E;IAC9E,EAAE,EAAE,MAAM,CAAC;IACX,6EAA6E;IAC7E,EAAE,EAAE,MAAM,CAAC;IACX;;;OAGG;IACH,aAAa,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IACxC,8EAA8E;IAC9E,MAAM,EAAE,MAAM,CAAC;IACf,wCAAwC;IACxC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAI1B,8DAA8D;IAC9D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,oDAAoD;IACpD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,0DAA0D;IAC1D,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,iGAAiG;IACjG,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;;;;OAOG;IACH,aAAa,CAAC,EAAE,IAAI,CAAC,iBAAiB,EAAE,IAAI,GAAG,IAAI,CAAC,GAAG;QACnD,EAAE,CAAC,EAAE,MAAM,CAAC;QACZ,EAAE,CAAC,EAAE,MAAM,CAAC;KACf,CAAC;IAIF;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IAEf;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,KAAK,CAAC,EAAE;QACJ,2GAA2G;QAC3G,GAAG,CAAC,EAAE,MAAM,CAAC;QACb,mFAAmF;QACnF,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,iFAAiF;QACjF,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,0DAA0D;QAC1D,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,KAAK,GAAG,QAAQ,CAAC;QAC5C,iEAAiE;QACjE,WAAW,CAAC,EAAE,MAAM,CAAC;KACxB,CAAC;CACL;AAuKD;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAChC,EAAE,EACF,EAAE,EACF,aAAa,EACb,MAAM,EACN,QAAQ,EACR,KAAiB,EACjB,KAAK,EACL,QAAQ,EACR,KAAY,EACZ,aAAa,EACb,cAAkB,EAClB,UAAU,EACV,IAAY,EACZ,KAAK,GACR,EAAE,gBAAgB,2CA4GlB"}
|
package/dist/index.js
CHANGED
|
@@ -258,23 +258,23 @@ function Ft({
|
|
|
258
258
|
let w;
|
|
259
259
|
if (x && x.length > 0)
|
|
260
260
|
w = x.map((b, k) => {
|
|
261
|
-
const
|
|
261
|
+
const A = b.warnAt ?? 70, $ = b.critAt ?? 85;
|
|
262
262
|
return {
|
|
263
263
|
id: b.id,
|
|
264
264
|
label: b.label,
|
|
265
265
|
sublabel: b.sublabel,
|
|
266
266
|
value: b.value,
|
|
267
267
|
unit: b.unit ?? "%",
|
|
268
|
-
status: We(l, b.value,
|
|
268
|
+
status: We(l, b.value, A, $),
|
|
269
269
|
icon: b.icon ?? "cpu",
|
|
270
270
|
delay: k,
|
|
271
271
|
colorOverride: b.color,
|
|
272
|
-
warnAt:
|
|
272
|
+
warnAt: A,
|
|
273
273
|
critAt: $
|
|
274
274
|
};
|
|
275
275
|
});
|
|
276
276
|
else {
|
|
277
|
-
const b = p.cpuLoad ?? p.traffic ?? 50, k = p.memLoad ?? p.queueDepth ?? 60,
|
|
277
|
+
const b = p.cpuLoad ?? p.traffic ?? 50, k = p.memLoad ?? p.queueDepth ?? 60, A = p.capacity ?? 72, $ = We(l, b, 70, 85), S = We(l, k, 75, 88), N = We(l, A, 75, 90);
|
|
278
278
|
w = [
|
|
279
279
|
{
|
|
280
280
|
id: "cpu",
|
|
@@ -300,7 +300,7 @@ function Ft({
|
|
|
300
300
|
id: "storage",
|
|
301
301
|
label: "STORAGE",
|
|
302
302
|
sublabel: a === "database" ? "TABLESPACE" : "DISK I/O",
|
|
303
|
-
value:
|
|
303
|
+
value: A,
|
|
304
304
|
unit: "%",
|
|
305
305
|
status: N,
|
|
306
306
|
icon: "disk",
|
|
@@ -922,7 +922,7 @@ function Yt({
|
|
|
922
922
|
onCloseDrill: w,
|
|
923
923
|
selectedSystemStatus: b = "online",
|
|
924
924
|
selectedSystemDbSync: k = !0,
|
|
925
|
-
selectedSystemMetrics:
|
|
925
|
+
selectedSystemMetrics: A,
|
|
926
926
|
selectedSystemAlerts: $
|
|
927
927
|
}) {
|
|
928
928
|
const [S, N] = R(0);
|
|
@@ -999,7 +999,7 @@ function Yt({
|
|
|
999
999
|
status: b,
|
|
1000
1000
|
dbSync: k,
|
|
1001
1001
|
visible: se && !a,
|
|
1002
|
-
metrics:
|
|
1002
|
+
metrics: A,
|
|
1003
1003
|
alerts: $
|
|
1004
1004
|
}
|
|
1005
1005
|
) }),
|
|
@@ -1320,7 +1320,7 @@ function vt({
|
|
|
1320
1320
|
_onComponentClick: x,
|
|
1321
1321
|
_containerWidth: w
|
|
1322
1322
|
}) {
|
|
1323
|
-
const b = ae(tt), k = ae(it),
|
|
1323
|
+
const b = ae(tt), k = ae(it), A = a ?? k.index, $ = s ?? b?.totalSystems ?? 1, S = l ?? b?.carouselRotation ?? 0, N = u ?? b?.viewState ?? "compact", B = c ?? b?.animPhase ?? 0, z = p ?? b?.selectedSystem ?? null, U = f ?? b?.selectedComponent ?? null, le = g ?? b?.rotateY ?? 20, se = h ?? b?.autoRotateComponents ?? !0, I = y ?? b?.componentScale ?? 0.35, H = m ?? b?.drillZoom ?? 3.3, de = v ?? b?.onSelectSystem, ce = x ?? b?.onComponentClick, Y = w ?? b?.containerWidth ?? 950, V = z === t, L = V && (N === "expanded" || N === "expanding" && B >= 1), K = !L, pe = (Y - qt) / 2, me = pt + pe, xe = A / $ * Math.PI * 2 + S, Ye = 420, Ve = 160, fe = me + Math.cos(xe) * Ye, C = 450 + Math.sin(xe) * Ve, ue = Math.round(C), te = !V && (N === "expanding" || N === "expanded"), he = te ? 0 : 1, J = K ? 0.3 + (Math.sin(xe) + 1) * 0.1 : 1, _ = K ? J : I, ve = N === "compact" || N === "collapsing" ? "none" : "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)", De = V && U, _e = De ? H : 1, At = U?.ex ?? 330, It = U?.ey ?? 300, { size: Ot = 90, color: Lt = "#00e5ff", widthRatio: Dt = 3 } = i ?? {}, Nt = {
|
|
1324
1324
|
name: t,
|
|
1325
1325
|
isSelected: V,
|
|
1326
1326
|
isExpandedPos: L,
|
|
@@ -1352,7 +1352,7 @@ function vt({
|
|
|
1352
1352
|
filter: K && Math.sin(xe) < -0.5 ? "brightness(0.5) blur(2px)" : "none",
|
|
1353
1353
|
zIndex: V ? 500 : te ? 0 : ue,
|
|
1354
1354
|
transformOrigin: `${me}px ${ft}px`,
|
|
1355
|
-
transform: De ? `translate(${-(
|
|
1355
|
+
transform: De ? `translate(${-(At - pt) * _e}px, ${-(It - ft) * _e}px) scale(${_e})` : "none"
|
|
1356
1356
|
},
|
|
1357
1357
|
children: [
|
|
1358
1358
|
K && !te && /* @__PURE__ */ e(
|
|
@@ -1519,7 +1519,7 @@ function W({
|
|
|
1519
1519
|
}
|
|
1520
1520
|
let k = "translate(0, -50%)";
|
|
1521
1521
|
u === "left" && (k = "translate(-100%, -50%)"), u === "top" && (k = "translate(-50%, -100%)"), u === "bottom" && (k = "translate(-50%, 0)");
|
|
1522
|
-
const
|
|
1522
|
+
const A = u === "left" ? -8 : u === "right" ? 8 : 0, $ = u === "top" ? -8 : u === "bottom" ? 8 : 0;
|
|
1523
1523
|
return /* @__PURE__ */ d(
|
|
1524
1524
|
"div",
|
|
1525
1525
|
{
|
|
@@ -1568,7 +1568,7 @@ function W({
|
|
|
1568
1568
|
left: x,
|
|
1569
1569
|
top: w,
|
|
1570
1570
|
transform: k,
|
|
1571
|
-
marginLeft:
|
|
1571
|
+
marginLeft: A,
|
|
1572
1572
|
marginTop: $,
|
|
1573
1573
|
background: "repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,0.03) 2px, rgba(255,255,255,0.03) 4px), rgba(2, 8, 16, 0.82)",
|
|
1574
1574
|
border: `1px solid ${h}55`,
|
|
@@ -1693,13 +1693,10 @@ function Jt(t, n) {
|
|
|
1693
1693
|
return i >= a && i > 0 ? l = {
|
|
1694
1694
|
severity: o,
|
|
1695
1695
|
msg: n?.msg ?? `Status: ${o.toUpperCase()}`,
|
|
1696
|
-
internalRef: n?.internalRef
|
|
1697
|
-
|
|
1698
|
-
offsetY: n?.offsetY,
|
|
1699
|
-
align: n?.align
|
|
1700
|
-
} : l = r, { effectiveSeverity: s, callout: l };
|
|
1696
|
+
internalRef: n?.internalRef
|
|
1697
|
+
} : l = { ...r }, n?.offsetX !== void 0 && (l.offsetX = n.offsetX), n?.offsetY !== void 0 && (l.offsetY = n.offsetY), n?.align !== void 0 && (l.align = n.align), { effectiveSeverity: s, callout: l };
|
|
1701
1698
|
}
|
|
1702
|
-
function
|
|
1699
|
+
function T({
|
|
1703
1700
|
ex: t,
|
|
1704
1701
|
ey: n,
|
|
1705
1702
|
compactOffset: o,
|
|
@@ -1725,7 +1722,7 @@ function A({
|
|
|
1725
1722
|
compactCy: w,
|
|
1726
1723
|
groupScale: b,
|
|
1727
1724
|
effectiveScale: k,
|
|
1728
|
-
transitionValue:
|
|
1725
|
+
transitionValue: A,
|
|
1729
1726
|
onComponentClick: $,
|
|
1730
1727
|
selectedComponentName: S,
|
|
1731
1728
|
expandedOffsetX: N
|
|
@@ -1754,7 +1751,7 @@ function A({
|
|
|
1754
1751
|
transform: `translate(-50%, -50%) scale(${H})`,
|
|
1755
1752
|
opacity: z,
|
|
1756
1753
|
zIndex: i,
|
|
1757
|
-
transition:
|
|
1754
|
+
transition: A || "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)",
|
|
1758
1755
|
pointerEvents: m && z >= 0.5 ? "auto" : "none"
|
|
1759
1756
|
},
|
|
1760
1757
|
children: g ? r : /* @__PURE__ */ e(
|
|
@@ -2764,7 +2761,7 @@ function zi({
|
|
|
2764
2761
|
alert: v
|
|
2765
2762
|
}) {
|
|
2766
2763
|
return /* @__PURE__ */ e(
|
|
2767
|
-
|
|
2764
|
+
T,
|
|
2768
2765
|
{
|
|
2769
2766
|
ex: t,
|
|
2770
2767
|
ey: n,
|
|
@@ -3162,7 +3159,7 @@ function Bi({
|
|
|
3162
3159
|
alert: y
|
|
3163
3160
|
}) {
|
|
3164
3161
|
return /* @__PURE__ */ e(
|
|
3165
|
-
|
|
3162
|
+
T,
|
|
3166
3163
|
{
|
|
3167
3164
|
ex: t,
|
|
3168
3165
|
ey: n,
|
|
@@ -3310,7 +3307,7 @@ function Fi({
|
|
|
3310
3307
|
visibleAtPhase: l
|
|
3311
3308
|
}) {
|
|
3312
3309
|
return /* @__PURE__ */ e(
|
|
3313
|
-
|
|
3310
|
+
T,
|
|
3314
3311
|
{
|
|
3315
3312
|
ex: t,
|
|
3316
3313
|
ey: n,
|
|
@@ -3955,7 +3952,7 @@ function Ui({
|
|
|
3955
3952
|
alert: m
|
|
3956
3953
|
}) {
|
|
3957
3954
|
return /* @__PURE__ */ e(
|
|
3958
|
-
|
|
3955
|
+
T,
|
|
3959
3956
|
{
|
|
3960
3957
|
ex: t,
|
|
3961
3958
|
ey: n,
|
|
@@ -4618,7 +4615,7 @@ function Hi({
|
|
|
4618
4615
|
alert: v
|
|
4619
4616
|
}) {
|
|
4620
4617
|
return /* @__PURE__ */ e(
|
|
4621
|
-
|
|
4618
|
+
T,
|
|
4622
4619
|
{
|
|
4623
4620
|
ex: t,
|
|
4624
4621
|
ey: n,
|
|
@@ -6166,14 +6163,14 @@ function $i({ config: t, children: n }) {
|
|
|
6166
6163
|
}).then((z) => ({ query: S, data: z.trim() }));
|
|
6167
6164
|
})
|
|
6168
6165
|
), k = {};
|
|
6169
|
-
let
|
|
6166
|
+
let A = 0;
|
|
6170
6167
|
for (const S of b)
|
|
6171
|
-
S.status === "fulfilled" ? k[S.value.query] = S.value.data :
|
|
6168
|
+
S.status === "fulfilled" ? k[S.value.query] = S.value.data : A++;
|
|
6172
6169
|
i((S) => ({ ...S, ...k }));
|
|
6173
6170
|
const $ = w.queries.length;
|
|
6174
6171
|
c(
|
|
6175
|
-
|
|
6176
|
-
),
|
|
6172
|
+
A > 0 ? `${A} of ${$} queries failed to refresh` : null
|
|
6173
|
+
), A < $ && f(/* @__PURE__ */ new Date());
|
|
6177
6174
|
} catch (b) {
|
|
6178
6175
|
const k = b instanceof Error ? b.message : "Refresh failed";
|
|
6179
6176
|
c(k);
|
|
@@ -6233,12 +6230,12 @@ function mt({
|
|
|
6233
6230
|
dataTransform: u,
|
|
6234
6231
|
children: c
|
|
6235
6232
|
}) {
|
|
6236
|
-
const p = vi(), [f] = R(20), [g] = R(!1), [h] = R(!0), [y] = R(0.45), [m] = R(3.3), [v, x] = R("compact"), [w, b] = R(0), [k,
|
|
6237
|
-
v === "compact" && (
|
|
6233
|
+
const p = vi(), [f] = R(20), [g] = R(!1), [h] = R(!0), [y] = R(0.45), [m] = R(3.3), [v, x] = R("compact"), [w, b] = R(0), [k, A] = R(null), [$, S] = R(null), [N, B] = R(0), z = (C) => {
|
|
6234
|
+
v === "compact" && (A(C), x("expanding"), b(0), setTimeout(() => b(1), 50), setTimeout(() => b(2), 800), setTimeout(() => b(3), 1200), setTimeout(() => b(4), 1600), setTimeout(() => b(5), 2e3), setTimeout(() => {
|
|
6238
6235
|
b(6), x("expanded");
|
|
6239
6236
|
}, 2400));
|
|
6240
6237
|
}, U = () => {
|
|
6241
|
-
$ ? (S(null), B(0)) : v === "expanded" && (x("collapsing"), b(0),
|
|
6238
|
+
$ ? (S(null), B(0)) : v === "expanded" && (x("collapsing"), b(0), A(null), setTimeout(() => {
|
|
6242
6239
|
x((C) => C === "collapsing" ? "compact" : C);
|
|
6243
6240
|
}, 1e3));
|
|
6244
6241
|
}, le = (C) => {
|
|
@@ -6344,7 +6341,7 @@ function P(t, n, o = 24) {
|
|
|
6344
6341
|
function Ct(t) {
|
|
6345
6342
|
return t === "critical" || t === "offline" ? "#ff2255" : t === "warning" ? "#ff8c00" : "#00e5ff";
|
|
6346
6343
|
}
|
|
6347
|
-
function
|
|
6344
|
+
function Te(t, n, o) {
|
|
6348
6345
|
const i = t === "online" ? "online" : t, r = Ct(t), a = o?.cpuLoad ?? 50, s = o?.memLoad ?? 60, l = i === "critical" || i === "warning" && a > 80 ? i : "online", u = i === "warning" && s > 85 ? "warning" : i === "critical" ? "critical" : "online", c = i === "critical" && n === "APP-03" ? "critical" : "online", p = i === "offline" ? "offline" : "online";
|
|
6349
6346
|
return [
|
|
6350
6347
|
{ id: "cpu-0", label: "CPU-0", status: l, detail: i === "critical" ? "Core overload" : i === "warning" ? "Load spike" : void 0, element: /* @__PURE__ */ e(ze, { color: r, label: "CPU-0", status: l, load: a }) },
|
|
@@ -6358,7 +6355,7 @@ function Ae(t, n, o) {
|
|
|
6358
6355
|
{ id: "network", label: "NET", status: p, element: /* @__PURE__ */ e(Et, { color: r, label: "NET", status: p }) }
|
|
6359
6356
|
];
|
|
6360
6357
|
}
|
|
6361
|
-
function
|
|
6358
|
+
function Ae(t) {
|
|
6362
6359
|
const n = t?.cpuLoad ?? 50, o = t?.memLoad ?? 60;
|
|
6363
6360
|
return [
|
|
6364
6361
|
{ id: "cpu", label: "CPU-0", unit: "%", color: "#00e5ff", data: P(n, 15) },
|
|
@@ -6386,7 +6383,7 @@ function Pt(t, n, o) {
|
|
|
6386
6383
|
{ id: "https-worker", label: "HTTPS-WORKER", status: "online", element: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "HTTPS-WORKER", status: "online" }) }
|
|
6387
6384
|
];
|
|
6388
6385
|
}
|
|
6389
|
-
function
|
|
6386
|
+
function Tt(t) {
|
|
6390
6387
|
const n = t?.traffic ?? 50;
|
|
6391
6388
|
return [
|
|
6392
6389
|
{ id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: P(n, 20) },
|
|
@@ -6498,7 +6495,7 @@ function Ci({ config: t }) {
|
|
|
6498
6495
|
const n = X.useContext(ye), o = n?.rotateY ?? 20, i = n?.autoRotateComponents ?? !0, { wdStatus: r, msStatus: a, srv1Status: s, srv2Status: l, srv3Status: u, pdbStatus: c, sdbStatus: p, dbSync: f } = t;
|
|
6499
6496
|
return /* @__PURE__ */ d(Ie, { children: [
|
|
6500
6497
|
/* @__PURE__ */ e(
|
|
6501
|
-
|
|
6498
|
+
T,
|
|
6502
6499
|
{
|
|
6503
6500
|
ex: 330,
|
|
6504
6501
|
ey: 120,
|
|
@@ -6510,7 +6507,7 @@ function Ci({ config: t }) {
|
|
|
6510
6507
|
}
|
|
6511
6508
|
),
|
|
6512
6509
|
/* @__PURE__ */ e(
|
|
6513
|
-
|
|
6510
|
+
T,
|
|
6514
6511
|
{
|
|
6515
6512
|
ex: 220,
|
|
6516
6513
|
ey: 260,
|
|
@@ -6526,7 +6523,7 @@ function Ci({ config: t }) {
|
|
|
6526
6523
|
status: r,
|
|
6527
6524
|
context: { traffic: 78 },
|
|
6528
6525
|
subComponents: Pt(r),
|
|
6529
|
-
graphSeries:
|
|
6526
|
+
graphSeries: Tt({ traffic: 78 })
|
|
6530
6527
|
},
|
|
6531
6528
|
children: /* @__PURE__ */ e(
|
|
6532
6529
|
rt,
|
|
@@ -6543,7 +6540,7 @@ function Ci({ config: t }) {
|
|
|
6543
6540
|
}
|
|
6544
6541
|
),
|
|
6545
6542
|
/* @__PURE__ */ e(
|
|
6546
|
-
|
|
6543
|
+
T,
|
|
6547
6544
|
{
|
|
6548
6545
|
ex: 440,
|
|
6549
6546
|
ey: 260,
|
|
@@ -6577,7 +6574,7 @@ function Ci({ config: t }) {
|
|
|
6577
6574
|
}
|
|
6578
6575
|
),
|
|
6579
6576
|
/* @__PURE__ */ e(
|
|
6580
|
-
|
|
6577
|
+
T,
|
|
6581
6578
|
{
|
|
6582
6579
|
ex: 165,
|
|
6583
6580
|
ey: 390,
|
|
@@ -6592,8 +6589,8 @@ function Ci({ config: t }) {
|
|
|
6592
6589
|
name: "APP-01",
|
|
6593
6590
|
status: s,
|
|
6594
6591
|
context: { cpuLoad: 67, memLoad: 72 },
|
|
6595
|
-
subComponents:
|
|
6596
|
-
graphSeries:
|
|
6592
|
+
subComponents: Te(s, "APP-01", { cpuLoad: 67, memLoad: 72 }),
|
|
6593
|
+
graphSeries: Ae({ cpuLoad: 67, memLoad: 72 })
|
|
6597
6594
|
},
|
|
6598
6595
|
children: /* @__PURE__ */ e(
|
|
6599
6596
|
ge,
|
|
@@ -6610,7 +6607,7 @@ function Ci({ config: t }) {
|
|
|
6610
6607
|
}
|
|
6611
6608
|
),
|
|
6612
6609
|
/* @__PURE__ */ e(
|
|
6613
|
-
|
|
6610
|
+
T,
|
|
6614
6611
|
{
|
|
6615
6612
|
ex: 330,
|
|
6616
6613
|
ey: 390,
|
|
@@ -6625,8 +6622,8 @@ function Ci({ config: t }) {
|
|
|
6625
6622
|
name: "APP-02",
|
|
6626
6623
|
status: l,
|
|
6627
6624
|
context: { cpuLoad: 89, memLoad: 91 },
|
|
6628
|
-
subComponents:
|
|
6629
|
-
graphSeries:
|
|
6625
|
+
subComponents: Te(l, "APP-02", { cpuLoad: 89, memLoad: 91 }),
|
|
6626
|
+
graphSeries: Ae({ cpuLoad: 89, memLoad: 91 })
|
|
6630
6627
|
},
|
|
6631
6628
|
children: /* @__PURE__ */ e(
|
|
6632
6629
|
ge,
|
|
@@ -6643,7 +6640,7 @@ function Ci({ config: t }) {
|
|
|
6643
6640
|
}
|
|
6644
6641
|
),
|
|
6645
6642
|
/* @__PURE__ */ e(
|
|
6646
|
-
|
|
6643
|
+
T,
|
|
6647
6644
|
{
|
|
6648
6645
|
ex: 495,
|
|
6649
6646
|
ey: 390,
|
|
@@ -6658,8 +6655,8 @@ function Ci({ config: t }) {
|
|
|
6658
6655
|
name: "APP-03",
|
|
6659
6656
|
status: u,
|
|
6660
6657
|
context: { cpuLoad: 45, memLoad: 63 },
|
|
6661
|
-
subComponents:
|
|
6662
|
-
graphSeries:
|
|
6658
|
+
subComponents: Te(u, "APP-03", { cpuLoad: 45, memLoad: 63 }),
|
|
6659
|
+
graphSeries: Ae({ cpuLoad: 45, memLoad: 63 })
|
|
6663
6660
|
},
|
|
6664
6661
|
children: /* @__PURE__ */ e(
|
|
6665
6662
|
ge,
|
|
@@ -6676,7 +6673,7 @@ function Ci({ config: t }) {
|
|
|
6676
6673
|
}
|
|
6677
6674
|
),
|
|
6678
6675
|
/* @__PURE__ */ e(
|
|
6679
|
-
|
|
6676
|
+
T,
|
|
6680
6677
|
{
|
|
6681
6678
|
ex: 200,
|
|
6682
6679
|
ey: 520,
|
|
@@ -6709,7 +6706,7 @@ function Ci({ config: t }) {
|
|
|
6709
6706
|
}
|
|
6710
6707
|
),
|
|
6711
6708
|
/* @__PURE__ */ e(
|
|
6712
|
-
|
|
6709
|
+
T,
|
|
6713
6710
|
{
|
|
6714
6711
|
ex: 460,
|
|
6715
6712
|
ey: 520,
|
|
@@ -6742,7 +6739,7 @@ function Ci({ config: t }) {
|
|
|
6742
6739
|
}
|
|
6743
6740
|
),
|
|
6744
6741
|
/* @__PURE__ */ e(
|
|
6745
|
-
|
|
6742
|
+
T,
|
|
6746
6743
|
{
|
|
6747
6744
|
ex: 330,
|
|
6748
6745
|
ey: 520,
|
|
@@ -6936,7 +6933,7 @@ function Ki(t) {
|
|
|
6936
6933
|
...!o && !i && t.dbSync ? [{ level: "info", message: "All Systems Nominal" }] : []
|
|
6937
6934
|
];
|
|
6938
6935
|
}
|
|
6939
|
-
const
|
|
6936
|
+
const Ti = [
|
|
6940
6937
|
{ from: [330, 120], to: [330, 260], visibleAtPhase: 3 },
|
|
6941
6938
|
{ from: [330, 260], to: [165, 390], visibleAtPhase: 4 },
|
|
6942
6939
|
{ from: [330, 260], to: [330, 390], visibleAtPhase: 4 },
|
|
@@ -6945,11 +6942,11 @@ const Ai = [
|
|
|
6945
6942
|
{ from: [330, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" },
|
|
6946
6943
|
{ from: [495, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" }
|
|
6947
6944
|
];
|
|
6948
|
-
function
|
|
6945
|
+
function Ai({ config: t }) {
|
|
6949
6946
|
const n = X.useContext(ye), o = n?.rotateY ?? 20, i = n?.autoRotateComponents ?? !0, { dispStatus: r, srv1Status: a, srv2Status: s, srv3Status: l, pdbStatus: u, sdbStatus: c, dbSync: p } = t;
|
|
6950
6947
|
return /* @__PURE__ */ d(Ie, { children: [
|
|
6951
6948
|
/* @__PURE__ */ e(
|
|
6952
|
-
|
|
6949
|
+
T,
|
|
6953
6950
|
{
|
|
6954
6951
|
ex: 330,
|
|
6955
6952
|
ey: 120,
|
|
@@ -6961,7 +6958,7 @@ function Ti({ config: t }) {
|
|
|
6961
6958
|
}
|
|
6962
6959
|
),
|
|
6963
6960
|
/* @__PURE__ */ e(
|
|
6964
|
-
|
|
6961
|
+
T,
|
|
6965
6962
|
{
|
|
6966
6963
|
ex: 330,
|
|
6967
6964
|
ey: 260,
|
|
@@ -6977,7 +6974,7 @@ function Ti({ config: t }) {
|
|
|
6977
6974
|
status: r,
|
|
6978
6975
|
context: { traffic: 78 },
|
|
6979
6976
|
subComponents: Pt(r),
|
|
6980
|
-
graphSeries:
|
|
6977
|
+
graphSeries: Tt({ traffic: 78 })
|
|
6981
6978
|
},
|
|
6982
6979
|
children: /* @__PURE__ */ e(
|
|
6983
6980
|
rt,
|
|
@@ -6994,7 +6991,7 @@ function Ti({ config: t }) {
|
|
|
6994
6991
|
}
|
|
6995
6992
|
),
|
|
6996
6993
|
/* @__PURE__ */ e(
|
|
6997
|
-
|
|
6994
|
+
T,
|
|
6998
6995
|
{
|
|
6999
6996
|
ex: 165,
|
|
7000
6997
|
ey: 390,
|
|
@@ -7009,8 +7006,8 @@ function Ti({ config: t }) {
|
|
|
7009
7006
|
name: "APP-01",
|
|
7010
7007
|
status: a,
|
|
7011
7008
|
context: { cpuLoad: 67, memLoad: 72 },
|
|
7012
|
-
subComponents:
|
|
7013
|
-
graphSeries:
|
|
7009
|
+
subComponents: Te(a, "APP-01", { cpuLoad: 67, memLoad: 72 }),
|
|
7010
|
+
graphSeries: Ae({ cpuLoad: 67, memLoad: 72 })
|
|
7014
7011
|
},
|
|
7015
7012
|
children: /* @__PURE__ */ e(
|
|
7016
7013
|
ge,
|
|
@@ -7027,7 +7024,7 @@ function Ti({ config: t }) {
|
|
|
7027
7024
|
}
|
|
7028
7025
|
),
|
|
7029
7026
|
/* @__PURE__ */ e(
|
|
7030
|
-
|
|
7027
|
+
T,
|
|
7031
7028
|
{
|
|
7032
7029
|
ex: 330,
|
|
7033
7030
|
ey: 390,
|
|
@@ -7042,8 +7039,8 @@ function Ti({ config: t }) {
|
|
|
7042
7039
|
name: "APP-02",
|
|
7043
7040
|
status: s,
|
|
7044
7041
|
context: { cpuLoad: 89, memLoad: 91 },
|
|
7045
|
-
subComponents:
|
|
7046
|
-
graphSeries:
|
|
7042
|
+
subComponents: Te(s, "APP-02", { cpuLoad: 89, memLoad: 91 }),
|
|
7043
|
+
graphSeries: Ae({ cpuLoad: 89, memLoad: 91 })
|
|
7047
7044
|
},
|
|
7048
7045
|
children: /* @__PURE__ */ e(
|
|
7049
7046
|
ge,
|
|
@@ -7060,7 +7057,7 @@ function Ti({ config: t }) {
|
|
|
7060
7057
|
}
|
|
7061
7058
|
),
|
|
7062
7059
|
/* @__PURE__ */ e(
|
|
7063
|
-
|
|
7060
|
+
T,
|
|
7064
7061
|
{
|
|
7065
7062
|
ex: 495,
|
|
7066
7063
|
ey: 390,
|
|
@@ -7075,8 +7072,8 @@ function Ti({ config: t }) {
|
|
|
7075
7072
|
name: "APP-03",
|
|
7076
7073
|
status: l,
|
|
7077
7074
|
context: { cpuLoad: 45, memLoad: 63 },
|
|
7078
|
-
subComponents:
|
|
7079
|
-
graphSeries:
|
|
7075
|
+
subComponents: Te(l, "APP-03", { cpuLoad: 45, memLoad: 63 }),
|
|
7076
|
+
graphSeries: Ae({ cpuLoad: 45, memLoad: 63 })
|
|
7080
7077
|
},
|
|
7081
7078
|
children: /* @__PURE__ */ e(
|
|
7082
7079
|
ge,
|
|
@@ -7093,7 +7090,7 @@ function Ti({ config: t }) {
|
|
|
7093
7090
|
}
|
|
7094
7091
|
),
|
|
7095
7092
|
/* @__PURE__ */ e(
|
|
7096
|
-
|
|
7093
|
+
T,
|
|
7097
7094
|
{
|
|
7098
7095
|
ex: 200,
|
|
7099
7096
|
ey: 520,
|
|
@@ -7126,7 +7123,7 @@ function Ti({ config: t }) {
|
|
|
7126
7123
|
}
|
|
7127
7124
|
),
|
|
7128
7125
|
/* @__PURE__ */ e(
|
|
7129
|
-
|
|
7126
|
+
T,
|
|
7130
7127
|
{
|
|
7131
7128
|
ex: 460,
|
|
7132
7129
|
ey: 520,
|
|
@@ -7159,7 +7156,7 @@ function Ti({ config: t }) {
|
|
|
7159
7156
|
}
|
|
7160
7157
|
),
|
|
7161
7158
|
/* @__PURE__ */ e(
|
|
7162
|
-
|
|
7159
|
+
T,
|
|
7163
7160
|
{
|
|
7164
7161
|
ex: 330,
|
|
7165
7162
|
ey: 520,
|
|
@@ -7290,9 +7287,9 @@ function Gi({ config: t, ...n }) {
|
|
|
7290
7287
|
{
|
|
7291
7288
|
name: t.name,
|
|
7292
7289
|
status: st(t),
|
|
7293
|
-
connections:
|
|
7290
|
+
connections: Ti,
|
|
7294
7291
|
...n,
|
|
7295
|
-
children: /* @__PURE__ */ e(
|
|
7292
|
+
children: /* @__PURE__ */ e(Ai, { config: t })
|
|
7296
7293
|
}
|
|
7297
7294
|
);
|
|
7298
7295
|
}
|
|
@@ -7308,7 +7305,7 @@ export {
|
|
|
7308
7305
|
Ne as Database3D,
|
|
7309
7306
|
Bi as DatabaseNode,
|
|
7310
7307
|
Pe as DriveBay3D,
|
|
7311
|
-
|
|
7308
|
+
Ti as EXCHANGE_CONNECTIONS,
|
|
7312
7309
|
Gi as ExchangeService,
|
|
7313
7310
|
Ni as HOLO_BLUE,
|
|
7314
7311
|
Di as HOLO_CYAN,
|
|
@@ -7333,7 +7330,7 @@ export {
|
|
|
7333
7330
|
vt as Service,
|
|
7334
7331
|
ye as ServiceContext,
|
|
7335
7332
|
zt as ServiceDialog,
|
|
7336
|
-
|
|
7333
|
+
T as ServiceNode,
|
|
7337
7334
|
Vt as SvgConnection,
|
|
7338
7335
|
$t as SyncBridge,
|
|
7339
7336
|
M as ThreadPool3D,
|
|
@@ -7348,12 +7345,12 @@ export {
|
|
|
7348
7345
|
Si as defaultDataTransform,
|
|
7349
7346
|
Ue as getDatabaseGraphSeries,
|
|
7350
7347
|
Fe as getDatabaseSubComponents,
|
|
7351
|
-
|
|
7348
|
+
Tt as getDispatcherGraphSeries,
|
|
7352
7349
|
Pt as getDispatcherSubComponents,
|
|
7353
7350
|
Ri as getMessageServerGraphSeries,
|
|
7354
7351
|
ki as getMessageServerSubComponents,
|
|
7355
|
-
|
|
7356
|
-
|
|
7352
|
+
Ae as getServerGraphSeries,
|
|
7353
|
+
Te as getServerSubComponents,
|
|
7357
7354
|
et as makeFaceStyles,
|
|
7358
7355
|
xi as useAIOpsData,
|
|
7359
7356
|
vi as useAIOpsDataOptional,
|