react-aiops 0.1.2 → 0.1.4
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/ComponentDialog.d.ts.map +1 -1
- package/dist/components/NodeCallout.d.ts.map +1 -1
- package/dist/components/Server3D.d.ts +3 -1
- package/dist/components/Server3D.d.ts.map +1 -1
- package/dist/components/ServiceNode.d.ts.map +1 -1
- package/dist/components/index.d.ts +2 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/index.js +613 -545
- package/dist/types.d.ts +40 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as d, jsx as e, Fragment as Ce } from "react/jsx-runtime";
|
|
2
|
-
import J, { createContext as Xe, useContext as ve, useState as
|
|
2
|
+
import J, { createContext as Xe, useContext as ve, useState as I, useEffect as Ee, useMemo as Et, useRef as ee } from "react";
|
|
3
3
|
const Tt = {
|
|
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: "⚠️" },
|
|
@@ -13,7 +13,7 @@ function At({
|
|
|
13
13
|
metrics: r,
|
|
14
14
|
alerts: a
|
|
15
15
|
}) {
|
|
16
|
-
const s = n === "critical" || n === "offline", l = n === "warning",
|
|
16
|
+
const s = n === "critical" || n === "offline", l = n === "warning", h = r ?? [
|
|
17
17
|
{
|
|
18
18
|
label: "Uptime",
|
|
19
19
|
value: s ? "92.14%" : "99.98%",
|
|
@@ -115,10 +115,10 @@ function At({
|
|
|
115
115
|
fontSize: 13,
|
|
116
116
|
color: "#a0b0c0"
|
|
117
117
|
},
|
|
118
|
-
children:
|
|
118
|
+
children: h.map((p, f) => /* @__PURE__ */ d("div", { style: { display: "flex", justifyContent: "space-between" }, children: [
|
|
119
119
|
/* @__PURE__ */ e("span", { children: p.label }),
|
|
120
120
|
/* @__PURE__ */ e("span", { style: { color: p.color }, children: p.value })
|
|
121
|
-
] },
|
|
121
|
+
] }, f))
|
|
122
122
|
}
|
|
123
123
|
),
|
|
124
124
|
/* @__PURE__ */ d(
|
|
@@ -145,8 +145,8 @@ function At({
|
|
|
145
145
|
children: "SYSTEM ALERTS"
|
|
146
146
|
}
|
|
147
147
|
),
|
|
148
|
-
c.map((p,
|
|
149
|
-
const
|
|
148
|
+
c.map((p, f) => {
|
|
149
|
+
const y = Tt[p.level];
|
|
150
150
|
return /* @__PURE__ */ d(
|
|
151
151
|
"div",
|
|
152
152
|
{
|
|
@@ -154,20 +154,20 @@ function At({
|
|
|
154
154
|
display: "flex",
|
|
155
155
|
gap: 8,
|
|
156
156
|
alignItems: "flex-start",
|
|
157
|
-
color:
|
|
157
|
+
color: y.color,
|
|
158
158
|
fontSize: 12,
|
|
159
|
-
background:
|
|
159
|
+
background: y.bg,
|
|
160
160
|
padding: "6px 10px",
|
|
161
161
|
borderRadius: 4,
|
|
162
|
-
borderLeft: `2px solid ${
|
|
162
|
+
borderLeft: `2px solid ${y.border}`
|
|
163
163
|
},
|
|
164
164
|
children: [
|
|
165
|
-
/* @__PURE__ */ e("span", { children:
|
|
165
|
+
/* @__PURE__ */ e("span", { children: y.icon }),
|
|
166
166
|
" ",
|
|
167
167
|
/* @__PURE__ */ e("span", { children: p.message })
|
|
168
168
|
]
|
|
169
169
|
},
|
|
170
|
-
|
|
170
|
+
f
|
|
171
171
|
);
|
|
172
172
|
})
|
|
173
173
|
]
|
|
@@ -177,7 +177,7 @@ function At({
|
|
|
177
177
|
}
|
|
178
178
|
);
|
|
179
179
|
}
|
|
180
|
-
const
|
|
180
|
+
const w = {
|
|
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,12 +235,12 @@ function qe(t, n, o) {
|
|
|
235
235
|
}
|
|
236
236
|
const Ve = "cubic-bezier(0.34, 1.56, 0.64, 1)", _e = "cubic-bezier(0.16, 1, 0.3, 1)";
|
|
237
237
|
function st(t) {
|
|
238
|
-
return
|
|
238
|
+
return w[t]?.color ?? w.online.color;
|
|
239
239
|
}
|
|
240
240
|
function Lt(t, n, o) {
|
|
241
241
|
return t >= o ? "#ff2255" : t >= n ? "#ff8c00" : "#00e5ff";
|
|
242
242
|
}
|
|
243
|
-
function
|
|
243
|
+
function Le(t, n, o, i) {
|
|
244
244
|
return t === "offline" ? "offline" : t === "critical" && n >= i ? "critical" : (t === "critical" || t === "warning") && n >= o ? "warning" : "online";
|
|
245
245
|
}
|
|
246
246
|
function It({
|
|
@@ -250,42 +250,64 @@ function It({
|
|
|
250
250
|
sceneWidth: i = 660,
|
|
251
251
|
sceneHeight: r = 600
|
|
252
252
|
}) {
|
|
253
|
-
const { type: a, name: s, status: l, ex:
|
|
253
|
+
const { type: a, name: s, status: l, ex: h, ey: c, context: p = {} } = t, f = st(l), y = h >= i / 2, u = c >= r / 2, g = {
|
|
254
254
|
position: "fixed",
|
|
255
|
-
...
|
|
255
|
+
...y ? { right: 28 } : { left: 28 },
|
|
256
256
|
...u ? { bottom: 110 } : { top: 72 }
|
|
257
|
-
}, m =
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
257
|
+
}, m = y ? 40 : -40, x = u ? 30 : -30, v = t.dialogMetrics ?? p.dialogMetrics;
|
|
258
|
+
let $;
|
|
259
|
+
if (v && v.length > 0)
|
|
260
|
+
$ = v.map((b, k) => {
|
|
261
|
+
const A = b.warnAt ?? 70, R = b.critAt ?? 85;
|
|
262
|
+
return {
|
|
263
|
+
id: b.id,
|
|
264
|
+
label: b.label,
|
|
265
|
+
sublabel: b.sublabel,
|
|
266
|
+
value: b.value,
|
|
267
|
+
unit: b.unit ?? "%",
|
|
268
|
+
status: Le(l, b.value, A, R),
|
|
269
|
+
icon: b.icon ?? "cpu",
|
|
270
|
+
delay: k,
|
|
271
|
+
colorOverride: b.color,
|
|
272
|
+
warnAt: A,
|
|
273
|
+
critAt: R
|
|
274
|
+
};
|
|
275
|
+
});
|
|
276
|
+
else {
|
|
277
|
+
const b = p.cpuLoad ?? p.traffic ?? 50, k = p.memLoad ?? p.queueDepth ?? 60, A = p.capacity ?? 72, R = Le(l, b, 70, 85), L = Le(l, k, 75, 88), z = Le(l, A, 75, 90);
|
|
278
|
+
$ = [
|
|
279
|
+
{
|
|
280
|
+
id: "cpu",
|
|
281
|
+
label: a === "dispatcher" ? "TRAFFIC" : a === "messageServer" ? "QUEUE" : "CPU",
|
|
282
|
+
sublabel: a === "dispatcher" ? "PORT LOAD" : a === "messageServer" ? "QUEUE DEPTH" : "PROCESSOR",
|
|
283
|
+
value: b,
|
|
284
|
+
unit: "%",
|
|
285
|
+
status: R,
|
|
286
|
+
icon: "cpu",
|
|
287
|
+
delay: 0
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
id: "mem",
|
|
291
|
+
label: "MEMORY",
|
|
292
|
+
sublabel: a === "database" ? "BUFFER POOL" : "HEAP USAGE",
|
|
293
|
+
value: k,
|
|
294
|
+
unit: "%",
|
|
295
|
+
status: L,
|
|
296
|
+
icon: "mem",
|
|
297
|
+
delay: 1
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
id: "storage",
|
|
301
|
+
label: "STORAGE",
|
|
302
|
+
sublabel: a === "database" ? "TABLESPACE" : "DISK I/O",
|
|
303
|
+
value: A,
|
|
304
|
+
unit: "%",
|
|
305
|
+
status: z,
|
|
306
|
+
icon: "disk",
|
|
307
|
+
delay: 2
|
|
308
|
+
}
|
|
309
|
+
];
|
|
310
|
+
}
|
|
289
311
|
return /* @__PURE__ */ d(
|
|
290
312
|
"div",
|
|
291
313
|
{
|
|
@@ -295,7 +317,7 @@ function It({
|
|
|
295
317
|
background: "linear-gradient(170deg, rgba(2, 10, 22, 0.96) 0%, rgba(2, 6, 14, 0.98) 100%)",
|
|
296
318
|
backdropFilter: "blur(20px)",
|
|
297
319
|
WebkitBackdropFilter: "blur(20px)",
|
|
298
|
-
border: `1.5px solid ${
|
|
320
|
+
border: `1.5px solid ${f}44`,
|
|
299
321
|
borderRadius: 14,
|
|
300
322
|
fontFamily: "'Courier New', monospace",
|
|
301
323
|
overflow: "hidden",
|
|
@@ -305,9 +327,9 @@ function It({
|
|
|
305
327
|
pointerEvents: o ? "auto" : "none",
|
|
306
328
|
zIndex: 9999,
|
|
307
329
|
animation: o ? "comp-dialog-border-glow 3s ease-in-out infinite" : "none",
|
|
308
|
-
"--dialog-color":
|
|
330
|
+
"--dialog-color": f
|
|
309
331
|
},
|
|
310
|
-
onClick: (
|
|
332
|
+
onClick: (b) => b.stopPropagation(),
|
|
311
333
|
children: [
|
|
312
334
|
/* @__PURE__ */ e(
|
|
313
335
|
"div",
|
|
@@ -318,8 +340,8 @@ function It({
|
|
|
318
340
|
left: 0,
|
|
319
341
|
right: 0,
|
|
320
342
|
height: 2,
|
|
321
|
-
background: `linear-gradient(90deg, transparent 2%, ${
|
|
322
|
-
boxShadow: `0 0 12px ${
|
|
343
|
+
background: `linear-gradient(90deg, transparent 2%, ${f}aa 30%, #fff 50%, ${f}aa 70%, transparent 98%)`,
|
|
344
|
+
boxShadow: `0 0 12px ${f}, 0 0 24px ${f}44`,
|
|
323
345
|
animation: o ? "holo-scan 3.5s linear infinite" : "none",
|
|
324
346
|
pointerEvents: "none",
|
|
325
347
|
zIndex: 10
|
|
@@ -333,8 +355,8 @@ function It({
|
|
|
333
355
|
position: "absolute",
|
|
334
356
|
inset: 0,
|
|
335
357
|
backgroundImage: `
|
|
336
|
-
linear-gradient(${
|
|
337
|
-
linear-gradient(90deg, ${
|
|
358
|
+
linear-gradient(${f}06 1px, transparent 1px),
|
|
359
|
+
linear-gradient(90deg, ${f}06 1px, transparent 1px)
|
|
338
360
|
`,
|
|
339
361
|
backgroundSize: "20px 20px",
|
|
340
362
|
pointerEvents: "none",
|
|
@@ -346,37 +368,37 @@ function It({
|
|
|
346
368
|
{
|
|
347
369
|
top: 0,
|
|
348
370
|
left: 0,
|
|
349
|
-
borderTop: `2px solid ${
|
|
350
|
-
borderLeft: `2px solid ${
|
|
371
|
+
borderTop: `2px solid ${f}66`,
|
|
372
|
+
borderLeft: `2px solid ${f}66`,
|
|
351
373
|
borderRadius: "14px 0 0 0"
|
|
352
374
|
},
|
|
353
375
|
{
|
|
354
376
|
top: 0,
|
|
355
377
|
right: 0,
|
|
356
|
-
borderTop: `2px solid ${
|
|
357
|
-
borderRight: `2px solid ${
|
|
378
|
+
borderTop: `2px solid ${f}66`,
|
|
379
|
+
borderRight: `2px solid ${f}66`,
|
|
358
380
|
borderRadius: "0 14px 0 0"
|
|
359
381
|
},
|
|
360
382
|
{
|
|
361
383
|
bottom: 0,
|
|
362
384
|
left: 0,
|
|
363
|
-
borderBottom: `2px solid ${
|
|
364
|
-
borderLeft: `2px solid ${
|
|
385
|
+
borderBottom: `2px solid ${f}66`,
|
|
386
|
+
borderLeft: `2px solid ${f}66`,
|
|
365
387
|
borderRadius: "0 0 0 14px"
|
|
366
388
|
},
|
|
367
389
|
{
|
|
368
390
|
bottom: 0,
|
|
369
391
|
right: 0,
|
|
370
|
-
borderBottom: `2px solid ${
|
|
371
|
-
borderRight: `2px solid ${
|
|
392
|
+
borderBottom: `2px solid ${f}66`,
|
|
393
|
+
borderRight: `2px solid ${f}66`,
|
|
372
394
|
borderRadius: "0 0 14px 0"
|
|
373
395
|
}
|
|
374
|
-
].map((
|
|
396
|
+
].map((b, k) => /* @__PURE__ */ e(
|
|
375
397
|
"div",
|
|
376
398
|
{
|
|
377
|
-
style: { position: "absolute", width: 18, height: 18, pointerEvents: "none", ...
|
|
399
|
+
style: { position: "absolute", width: 18, height: 18, pointerEvents: "none", ...b }
|
|
378
400
|
},
|
|
379
|
-
|
|
401
|
+
k
|
|
380
402
|
)),
|
|
381
403
|
/* @__PURE__ */ d(
|
|
382
404
|
"div",
|
|
@@ -386,8 +408,8 @@ function It({
|
|
|
386
408
|
alignItems: "center",
|
|
387
409
|
justifyContent: "space-between",
|
|
388
410
|
padding: "18px 22px",
|
|
389
|
-
borderBottom: `1px solid ${
|
|
390
|
-
background: `linear-gradient(180deg, ${
|
|
411
|
+
borderBottom: `1px solid ${f}22`,
|
|
412
|
+
background: `linear-gradient(180deg, ${f}12 0%, transparent 100%)`,
|
|
391
413
|
position: "relative",
|
|
392
414
|
zIndex: 2
|
|
393
415
|
},
|
|
@@ -401,8 +423,8 @@ function It({
|
|
|
401
423
|
width: 10,
|
|
402
424
|
height: 10,
|
|
403
425
|
borderRadius: "50%",
|
|
404
|
-
background:
|
|
405
|
-
boxShadow: `0 0 12px ${
|
|
426
|
+
background: f,
|
|
427
|
+
boxShadow: `0 0 12px ${f}, 0 0 24px ${f}66`,
|
|
406
428
|
animation: l === "warning" || l === "critical" ? "holo-led-blink 1.5s infinite" : "none"
|
|
407
429
|
}
|
|
408
430
|
}
|
|
@@ -414,7 +436,7 @@ function It({
|
|
|
414
436
|
position: "absolute",
|
|
415
437
|
inset: -4,
|
|
416
438
|
borderRadius: "50%",
|
|
417
|
-
border: `1px solid ${
|
|
439
|
+
border: `1px solid ${f}44`,
|
|
418
440
|
animation: l === "warning" || l === "critical" ? "holo-ring-pulse 2s ease-in-out infinite" : "none"
|
|
419
441
|
}
|
|
420
442
|
}
|
|
@@ -427,13 +449,13 @@ function It({
|
|
|
427
449
|
style: {
|
|
428
450
|
fontSize: 16,
|
|
429
451
|
fontWeight: 700,
|
|
430
|
-
color:
|
|
452
|
+
color: f,
|
|
431
453
|
letterSpacing: "0.12em",
|
|
432
454
|
textTransform: "uppercase",
|
|
433
455
|
whiteSpace: "nowrap",
|
|
434
456
|
overflow: "hidden",
|
|
435
457
|
textOverflow: "ellipsis",
|
|
436
|
-
textShadow: `0 0 10px ${
|
|
458
|
+
textShadow: `0 0 10px ${f}88, 0 0 20px ${f}44`
|
|
437
459
|
},
|
|
438
460
|
children: s
|
|
439
461
|
}
|
|
@@ -443,7 +465,7 @@ function It({
|
|
|
443
465
|
{
|
|
444
466
|
style: {
|
|
445
467
|
fontSize: 9,
|
|
446
|
-
color: `${
|
|
468
|
+
color: `${f}88`,
|
|
447
469
|
letterSpacing: "0.2em",
|
|
448
470
|
textTransform: "uppercase"
|
|
449
471
|
},
|
|
@@ -455,16 +477,16 @@ function It({
|
|
|
455
477
|
/* @__PURE__ */ e(
|
|
456
478
|
"button",
|
|
457
479
|
{
|
|
458
|
-
onClick: (
|
|
459
|
-
|
|
480
|
+
onClick: (b) => {
|
|
481
|
+
b.stopPropagation(), n();
|
|
460
482
|
},
|
|
461
483
|
style: {
|
|
462
484
|
width: 34,
|
|
463
485
|
height: 34,
|
|
464
486
|
borderRadius: 8,
|
|
465
|
-
border: `1px solid ${
|
|
466
|
-
background: `linear-gradient(135deg, rgba(0,0,0,0.5) 0%, ${
|
|
467
|
-
color:
|
|
487
|
+
border: `1px solid ${f}44`,
|
|
488
|
+
background: `linear-gradient(135deg, rgba(0,0,0,0.5) 0%, ${f}08 100%)`,
|
|
489
|
+
color: f,
|
|
468
490
|
fontSize: 18,
|
|
469
491
|
cursor: "pointer",
|
|
470
492
|
display: "flex",
|
|
@@ -474,11 +496,11 @@ function It({
|
|
|
474
496
|
lineHeight: 1,
|
|
475
497
|
flexShrink: 0
|
|
476
498
|
},
|
|
477
|
-
onMouseEnter: (
|
|
478
|
-
|
|
499
|
+
onMouseEnter: (b) => {
|
|
500
|
+
b.currentTarget.style.background = `${f}22`, b.currentTarget.style.boxShadow = `0 0 12px ${f}44`;
|
|
479
501
|
},
|
|
480
|
-
onMouseLeave: (
|
|
481
|
-
|
|
502
|
+
onMouseLeave: (b) => {
|
|
503
|
+
b.currentTarget.style.background = `linear-gradient(135deg, rgba(0,0,0,0.5) 0%, ${f}08 100%)`, b.currentTarget.style.boxShadow = "none";
|
|
482
504
|
},
|
|
483
505
|
children: "×"
|
|
484
506
|
}
|
|
@@ -497,7 +519,7 @@ function It({
|
|
|
497
519
|
position: "relative",
|
|
498
520
|
zIndex: 2
|
|
499
521
|
},
|
|
500
|
-
children:
|
|
522
|
+
children: $.map((b) => /* @__PURE__ */ e(Ot, { metric: b, visible: o, accentColor: f }, b.id))
|
|
501
523
|
}
|
|
502
524
|
),
|
|
503
525
|
/* @__PURE__ */ d(
|
|
@@ -505,14 +527,14 @@ function It({
|
|
|
505
527
|
{
|
|
506
528
|
style: {
|
|
507
529
|
padding: "12px 22px",
|
|
508
|
-
borderTop: `1px solid ${
|
|
509
|
-
background: `${
|
|
530
|
+
borderTop: `1px solid ${f}18`,
|
|
531
|
+
background: `${f}06`,
|
|
510
532
|
display: "flex",
|
|
511
533
|
alignItems: "center",
|
|
512
534
|
justifyContent: "space-between",
|
|
513
535
|
fontSize: 9,
|
|
514
536
|
letterSpacing: "0.18em",
|
|
515
|
-
color: `${
|
|
537
|
+
color: `${f}66`,
|
|
516
538
|
textTransform: "uppercase",
|
|
517
539
|
position: "relative",
|
|
518
540
|
zIndex: 2
|
|
@@ -531,8 +553,8 @@ function It({
|
|
|
531
553
|
width: 5,
|
|
532
554
|
height: 5,
|
|
533
555
|
borderRadius: "50%",
|
|
534
|
-
background: l === "online" ? "#00ff88" :
|
|
535
|
-
boxShadow: `0 0 6px ${l === "online" ? "#00ff88" :
|
|
556
|
+
background: l === "online" ? "#00ff88" : f,
|
|
557
|
+
boxShadow: `0 0 6px ${l === "online" ? "#00ff88" : f}`,
|
|
536
558
|
animation: l === "warning" || l === "critical" ? "holo-led-blink 1.5s infinite" : "none"
|
|
537
559
|
}
|
|
538
560
|
}
|
|
@@ -551,7 +573,18 @@ function Ot({
|
|
|
551
573
|
visible: n,
|
|
552
574
|
accentColor: o
|
|
553
575
|
}) {
|
|
554
|
-
const {
|
|
576
|
+
const {
|
|
577
|
+
label: i,
|
|
578
|
+
sublabel: r,
|
|
579
|
+
value: a,
|
|
580
|
+
unit: s,
|
|
581
|
+
status: l,
|
|
582
|
+
icon: h,
|
|
583
|
+
delay: c,
|
|
584
|
+
colorOverride: p,
|
|
585
|
+
warnAt: f = 70,
|
|
586
|
+
critAt: y = 85
|
|
587
|
+
} = t, u = p ?? Lt(a, f, y), g = p ?? st(l);
|
|
555
588
|
return /* @__PURE__ */ d(
|
|
556
589
|
"div",
|
|
557
590
|
{
|
|
@@ -571,8 +604,8 @@ function Ot({
|
|
|
571
604
|
width: 52,
|
|
572
605
|
height: 52,
|
|
573
606
|
borderRadius: 12,
|
|
574
|
-
border: `1px solid ${
|
|
575
|
-
background: `linear-gradient(135deg, ${
|
|
607
|
+
border: `1px solid ${g}44`,
|
|
608
|
+
background: `linear-gradient(135deg, ${g}0c 0%, ${g}04 100%)`,
|
|
576
609
|
display: "flex",
|
|
577
610
|
alignItems: "center",
|
|
578
611
|
justifyContent: "center",
|
|
@@ -582,7 +615,7 @@ function Ot({
|
|
|
582
615
|
animation: n ? `comp-dialog-icon-pop 0.5s ${Ve} ${0.35 + c * 0.12}s both` : "none"
|
|
583
616
|
},
|
|
584
617
|
children: [
|
|
585
|
-
/* @__PURE__ */ e(Dt, { type:
|
|
618
|
+
/* @__PURE__ */ e(Dt, { type: h, color: g }),
|
|
586
619
|
(l === "warning" || l === "critical") && /* @__PURE__ */ e(
|
|
587
620
|
"div",
|
|
588
621
|
{
|
|
@@ -593,8 +626,8 @@ function Ot({
|
|
|
593
626
|
width: 5,
|
|
594
627
|
height: 5,
|
|
595
628
|
borderRadius: "50%",
|
|
596
|
-
background:
|
|
597
|
-
boxShadow: `0 0 6px ${
|
|
629
|
+
background: g,
|
|
630
|
+
boxShadow: `0 0 6px ${g}`,
|
|
598
631
|
animation: "holo-led-blink 1.2s infinite"
|
|
599
632
|
}
|
|
600
633
|
}
|
|
@@ -645,8 +678,8 @@ function Ot({
|
|
|
645
678
|
style: {
|
|
646
679
|
fontSize: 20,
|
|
647
680
|
fontWeight: 700,
|
|
648
|
-
color:
|
|
649
|
-
textShadow: `0 0 8px ${
|
|
681
|
+
color: u,
|
|
682
|
+
textShadow: `0 0 8px ${u}44`,
|
|
650
683
|
fontFamily: "'Courier New', monospace"
|
|
651
684
|
},
|
|
652
685
|
children: [
|
|
@@ -678,8 +711,8 @@ function Ot({
|
|
|
678
711
|
width: `${a}%`,
|
|
679
712
|
height: "100%",
|
|
680
713
|
borderRadius: 3,
|
|
681
|
-
background: `linear-gradient(90deg, ${
|
|
682
|
-
boxShadow: `0 0 8px ${
|
|
714
|
+
background: `linear-gradient(90deg, ${u}66, ${u})`,
|
|
715
|
+
boxShadow: `0 0 8px ${u}44`,
|
|
683
716
|
transformOrigin: "left center",
|
|
684
717
|
animation: n ? `comp-dialog-metric-fill 0.8s ${_e} ${0.4 + c * 0.12}s both` : "none"
|
|
685
718
|
}
|
|
@@ -690,7 +723,7 @@ function Ot({
|
|
|
690
723
|
{
|
|
691
724
|
style: {
|
|
692
725
|
position: "absolute",
|
|
693
|
-
left:
|
|
726
|
+
left: `${f}%`,
|
|
694
727
|
top: 0,
|
|
695
728
|
bottom: 0,
|
|
696
729
|
width: 1,
|
|
@@ -703,7 +736,7 @@ function Ot({
|
|
|
703
736
|
{
|
|
704
737
|
style: {
|
|
705
738
|
position: "absolute",
|
|
706
|
-
left:
|
|
739
|
+
left: `${y}%`,
|
|
707
740
|
top: 0,
|
|
708
741
|
bottom: 0,
|
|
709
742
|
width: 1,
|
|
@@ -714,16 +747,30 @@ function Ot({
|
|
|
714
747
|
]
|
|
715
748
|
}
|
|
716
749
|
),
|
|
717
|
-
/* @__PURE__ */ d("div", { style: {
|
|
718
|
-
/* @__PURE__ */ e("span", { style: { fontSize: 6, color: "rgba(255,255,255,0.15)", letterSpacing: "0.1em" }, children: "0" }),
|
|
750
|
+
/* @__PURE__ */ d("div", { style: { position: "relative", height: 10, marginTop: 2 }, children: [
|
|
719
751
|
/* @__PURE__ */ e(
|
|
720
752
|
"span",
|
|
721
753
|
{
|
|
722
754
|
style: {
|
|
755
|
+
position: "absolute",
|
|
756
|
+
left: 0,
|
|
757
|
+
fontSize: 6,
|
|
758
|
+
color: "rgba(255,255,255,0.15)",
|
|
759
|
+
letterSpacing: "0.1em"
|
|
760
|
+
},
|
|
761
|
+
children: "0"
|
|
762
|
+
}
|
|
763
|
+
),
|
|
764
|
+
/* @__PURE__ */ e(
|
|
765
|
+
"span",
|
|
766
|
+
{
|
|
767
|
+
style: {
|
|
768
|
+
position: "absolute",
|
|
769
|
+
left: `${f}%`,
|
|
770
|
+
transform: "translateX(-50%)",
|
|
723
771
|
fontSize: 6,
|
|
724
772
|
color: "rgba(255,140,0,0.3)",
|
|
725
|
-
letterSpacing: "0.1em"
|
|
726
|
-
marginRight: "18%"
|
|
773
|
+
letterSpacing: "0.1em"
|
|
727
774
|
},
|
|
728
775
|
children: "WARN"
|
|
729
776
|
}
|
|
@@ -732,15 +779,29 @@ function Ot({
|
|
|
732
779
|
"span",
|
|
733
780
|
{
|
|
734
781
|
style: {
|
|
782
|
+
position: "absolute",
|
|
783
|
+
left: `${y}%`,
|
|
784
|
+
transform: "translateX(-50%)",
|
|
735
785
|
fontSize: 6,
|
|
736
786
|
color: "rgba(255,34,85,0.3)",
|
|
737
|
-
letterSpacing: "0.1em"
|
|
738
|
-
marginRight: "6%"
|
|
787
|
+
letterSpacing: "0.1em"
|
|
739
788
|
},
|
|
740
789
|
children: "CRIT"
|
|
741
790
|
}
|
|
742
791
|
),
|
|
743
|
-
/* @__PURE__ */ e(
|
|
792
|
+
/* @__PURE__ */ e(
|
|
793
|
+
"span",
|
|
794
|
+
{
|
|
795
|
+
style: {
|
|
796
|
+
position: "absolute",
|
|
797
|
+
right: 0,
|
|
798
|
+
fontSize: 6,
|
|
799
|
+
color: "rgba(255,255,255,0.15)",
|
|
800
|
+
letterSpacing: "0.1em"
|
|
801
|
+
},
|
|
802
|
+
children: "100"
|
|
803
|
+
}
|
|
804
|
+
)
|
|
744
805
|
] })
|
|
745
806
|
] })
|
|
746
807
|
]
|
|
@@ -848,63 +909,63 @@ function Wt({
|
|
|
848
909
|
selectedComponent: a,
|
|
849
910
|
drillAnimPhase: s,
|
|
850
911
|
rotateY: l = 20,
|
|
851
|
-
autoRotateComponents:
|
|
912
|
+
autoRotateComponents: h = !0,
|
|
852
913
|
componentScale: c = 0.35,
|
|
853
914
|
drillZoom: p = 3.3,
|
|
854
|
-
autoRotateCarousel:
|
|
855
|
-
carouselSpeed:
|
|
915
|
+
autoRotateCarousel: f = !0,
|
|
916
|
+
carouselSpeed: y = 6e-3,
|
|
856
917
|
width: u = 950,
|
|
857
918
|
height: g = 790,
|
|
858
919
|
onSelectSystem: m,
|
|
859
920
|
onBackgroundClick: x,
|
|
860
|
-
onComponentClick:
|
|
861
|
-
onCloseDrill:
|
|
862
|
-
selectedSystemStatus:
|
|
863
|
-
selectedSystemDbSync:
|
|
864
|
-
selectedSystemMetrics:
|
|
865
|
-
selectedSystemAlerts:
|
|
921
|
+
onComponentClick: v,
|
|
922
|
+
onCloseDrill: $,
|
|
923
|
+
selectedSystemStatus: b = "online",
|
|
924
|
+
selectedSystemDbSync: k = !0,
|
|
925
|
+
selectedSystemMetrics: A,
|
|
926
|
+
selectedSystemAlerts: R
|
|
866
927
|
}) {
|
|
867
|
-
const [
|
|
928
|
+
const [L, z] = I(0);
|
|
868
929
|
Ee(() => {
|
|
869
|
-
let
|
|
870
|
-
if ((o === "compact" || o === "collapsing") &&
|
|
871
|
-
const
|
|
872
|
-
|
|
930
|
+
let D;
|
|
931
|
+
if ((o === "compact" || o === "collapsing") && f) {
|
|
932
|
+
const H = () => {
|
|
933
|
+
z((ne) => ne + y), D = requestAnimationFrame(H);
|
|
873
934
|
};
|
|
874
|
-
|
|
935
|
+
D = requestAnimationFrame(H);
|
|
875
936
|
}
|
|
876
|
-
return () => cancelAnimationFrame(
|
|
877
|
-
}, [o,
|
|
878
|
-
const
|
|
937
|
+
return () => cancelAnimationFrame(D);
|
|
938
|
+
}, [o, f, y]);
|
|
939
|
+
const F = J.Children.toArray(t), X = F.length, M = Et(() => ({
|
|
879
940
|
totalSystems: X,
|
|
880
|
-
carouselRotation:
|
|
941
|
+
carouselRotation: L,
|
|
881
942
|
viewState: o,
|
|
882
943
|
animPhase: i,
|
|
883
944
|
selectedSystem: r,
|
|
884
945
|
selectedComponent: a,
|
|
885
946
|
rotateY: l,
|
|
886
|
-
autoRotateComponents:
|
|
947
|
+
autoRotateComponents: h,
|
|
887
948
|
componentScale: c,
|
|
888
949
|
drillZoom: p,
|
|
889
950
|
onSelectSystem: m,
|
|
890
|
-
onComponentClick:
|
|
951
|
+
onComponentClick: v,
|
|
891
952
|
containerWidth: u
|
|
892
953
|
}), [
|
|
893
954
|
X,
|
|
894
|
-
|
|
955
|
+
L,
|
|
895
956
|
o,
|
|
896
957
|
i,
|
|
897
958
|
r,
|
|
898
959
|
a,
|
|
899
960
|
l,
|
|
900
|
-
|
|
961
|
+
h,
|
|
901
962
|
c,
|
|
902
963
|
p,
|
|
903
964
|
m,
|
|
904
|
-
|
|
965
|
+
v,
|
|
905
966
|
u
|
|
906
|
-
]), te =
|
|
907
|
-
return /* @__PURE__ */ d(Ge.Provider, { value:
|
|
967
|
+
]), te = F.map((D, H) => /* @__PURE__ */ e(Ke.Provider, { value: { index: H }, children: D }, H)), ie = o === "expanded" || o === "expanding" && i >= 4;
|
|
968
|
+
return /* @__PURE__ */ d(Ge.Provider, { value: M, children: [
|
|
908
969
|
/* @__PURE__ */ d("div", { style: { position: "relative", width: u, height: g, margin: "0 auto", flexShrink: 0 }, children: [
|
|
909
970
|
n && (o === "compact" || o === "collapsing") && /* @__PURE__ */ e(
|
|
910
971
|
"img",
|
|
@@ -928,22 +989,22 @@ function Wt({
|
|
|
928
989
|
),
|
|
929
990
|
te
|
|
930
991
|
] }),
|
|
931
|
-
r && /* @__PURE__ */ e("div", { onClick: (
|
|
992
|
+
r && /* @__PURE__ */ e("div", { onClick: (D) => D.stopPropagation(), children: /* @__PURE__ */ e(
|
|
932
993
|
At,
|
|
933
994
|
{
|
|
934
995
|
name: r,
|
|
935
|
-
status:
|
|
936
|
-
dbSync:
|
|
996
|
+
status: b,
|
|
997
|
+
dbSync: k,
|
|
937
998
|
visible: ie && !a,
|
|
938
|
-
metrics:
|
|
939
|
-
alerts:
|
|
999
|
+
metrics: A,
|
|
1000
|
+
alerts: R
|
|
940
1001
|
}
|
|
941
1002
|
) }),
|
|
942
|
-
a && /* @__PURE__ */ e("div", { onClick: (
|
|
1003
|
+
a && /* @__PURE__ */ e("div", { onClick: (D) => D.stopPropagation(), children: /* @__PURE__ */ e(
|
|
943
1004
|
It,
|
|
944
1005
|
{
|
|
945
1006
|
component: a,
|
|
946
|
-
onClose:
|
|
1007
|
+
onClose: $,
|
|
947
1008
|
visible: s >= 0.3,
|
|
948
1009
|
sceneWidth: u,
|
|
949
1010
|
sceneHeight: g
|
|
@@ -1018,14 +1079,14 @@ function zt({
|
|
|
1018
1079
|
] })
|
|
1019
1080
|
] });
|
|
1020
1081
|
}
|
|
1021
|
-
const
|
|
1082
|
+
const Mt = [
|
|
1022
1083
|
{ scale: 1, op: 1, delay: "0.0s", bw: "2px", glow: 1 },
|
|
1023
1084
|
{ scale: 0.82, op: 0.88, delay: "0.5s", bw: "1.5px", glow: 0.7 },
|
|
1024
1085
|
{ scale: 0.64, op: 0.72, delay: "1.0s", bw: "1px", glow: 0.5 },
|
|
1025
1086
|
{ scale: 0.47, op: 0.58, delay: "1.5s", bw: "1px", glow: 0.35 },
|
|
1026
1087
|
{ scale: 0.3, op: 0.45, delay: "2.0s", bw: "1px", glow: 0.25 }
|
|
1027
1088
|
];
|
|
1028
|
-
function
|
|
1089
|
+
function Nt({
|
|
1029
1090
|
children: t,
|
|
1030
1091
|
size: n = 230,
|
|
1031
1092
|
widthRatio: o = 1,
|
|
@@ -1191,7 +1252,7 @@ function Mt({
|
|
|
1191
1252
|
background: `radial-gradient(ellipse, ${i}88 0%, ${i}33 40%, transparent 72%)`,
|
|
1192
1253
|
filter: "blur(12px)"
|
|
1193
1254
|
} }),
|
|
1194
|
-
|
|
1255
|
+
Mt.map((s, l) => /* @__PURE__ */ e("div", { style: {
|
|
1195
1256
|
position: "absolute",
|
|
1196
1257
|
width: a * s.scale,
|
|
1197
1258
|
height: n * s.scale,
|
|
@@ -1244,24 +1305,24 @@ function dt({
|
|
|
1244
1305
|
_index: a,
|
|
1245
1306
|
_totalSystems: s,
|
|
1246
1307
|
_carouselRotation: l,
|
|
1247
|
-
_viewState:
|
|
1308
|
+
_viewState: h,
|
|
1248
1309
|
_animPhase: c,
|
|
1249
1310
|
_selectedSystem: p,
|
|
1250
|
-
_selectedComponent:
|
|
1251
|
-
_rotateY:
|
|
1311
|
+
_selectedComponent: f,
|
|
1312
|
+
_rotateY: y,
|
|
1252
1313
|
_autoRotateComponents: u,
|
|
1253
1314
|
_componentScale: g,
|
|
1254
1315
|
_drillZoom: m,
|
|
1255
1316
|
_onSelectSystem: x,
|
|
1256
|
-
_onComponentClick:
|
|
1257
|
-
_containerWidth:
|
|
1317
|
+
_onComponentClick: v,
|
|
1318
|
+
_containerWidth: $
|
|
1258
1319
|
}) {
|
|
1259
|
-
const
|
|
1320
|
+
const b = ve(Ge), k = ve(Ke), A = a ?? k.index, R = s ?? b?.totalSystems ?? 1, L = l ?? b?.carouselRotation ?? 0, z = h ?? b?.viewState ?? "compact", F = c ?? b?.animPhase ?? 0, X = p ?? b?.selectedSystem ?? null, M = f ?? b?.selectedComponent ?? null, te = y ?? b?.rotateY ?? 20, ie = u ?? b?.autoRotateComponents ?? !0, D = g ?? b?.componentScale ?? 0.35, H = m ?? b?.drillZoom ?? 3.3, ne = x ?? b?.onSelectSystem, Se = v ?? b?.onComponentClick, $e = $ ?? b?.containerWidth ?? 950, Q = X === t, N = Q && (z === "expanded" || z === "expanding" && F >= 1), C = !N, ke = ($e - Ft) / 2, oe = it + ke, le = A / R * Math.PI * 2 + L, Ne = 420, Te = 160, Re = oe + Math.cos(le) * Ne, se = 450 + Math.sin(le) * Te, mt = Math.round(se), Be = !Q && (z === "expanding" || z === "expanded"), xt = Be ? 0 : 1, Pe = C ? 0.3 + (Math.sin(le) + 1) * 0.1 : 1, vt = C ? Pe : D, Ae = z === "compact" || z === "collapsing" ? "none" : "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)", tt = Q && M, Fe = tt ? H : 1, wt = M?.ex ?? 330, St = M?.ey ?? 300, { size: $t = 90, color: kt = "#00e5ff", widthRatio: Rt = 3 } = i ?? {}, Pt = {
|
|
1260
1321
|
name: t,
|
|
1261
1322
|
isSelected: Q,
|
|
1262
1323
|
isExpandedPos: N,
|
|
1263
1324
|
isCompact: C,
|
|
1264
|
-
animPhase:
|
|
1325
|
+
animPhase: F,
|
|
1265
1326
|
compactCx: Re,
|
|
1266
1327
|
compactCy: se,
|
|
1267
1328
|
groupScale: Pe,
|
|
@@ -1270,7 +1331,7 @@ function dt({
|
|
|
1270
1331
|
rotateY: te,
|
|
1271
1332
|
autoRotateComponents: ie,
|
|
1272
1333
|
onComponentClick: Se,
|
|
1273
|
-
selectedComponentName:
|
|
1334
|
+
selectedComponentName: M?.name ?? null,
|
|
1274
1335
|
expandedOffsetX: ke
|
|
1275
1336
|
};
|
|
1276
1337
|
return /* @__PURE__ */ e(ae.Provider, { value: Pt, children: /* @__PURE__ */ d(
|
|
@@ -1286,12 +1347,12 @@ function dt({
|
|
|
1286
1347
|
opacity: xt,
|
|
1287
1348
|
transition: `opacity 0.8s ease, filter 0.5s ease, transform 0.6s ${Bt}`,
|
|
1288
1349
|
filter: C && Math.sin(le) < -0.5 ? "brightness(0.5) blur(2px)" : "none",
|
|
1289
|
-
zIndex: Q ? 500 :
|
|
1350
|
+
zIndex: Q ? 500 : Be ? 0 : mt,
|
|
1290
1351
|
transformOrigin: `${oe}px ${nt}px`,
|
|
1291
|
-
transform: tt ? `translate(${-(wt - it) *
|
|
1352
|
+
transform: tt ? `translate(${-(wt - it) * Fe}px, ${-(St - nt) * Fe}px) scale(${Fe})` : "none"
|
|
1292
1353
|
},
|
|
1293
1354
|
children: [
|
|
1294
|
-
C && !
|
|
1355
|
+
C && !Be && /* @__PURE__ */ e(
|
|
1295
1356
|
"div",
|
|
1296
1357
|
{
|
|
1297
1358
|
style: {
|
|
@@ -1403,7 +1464,7 @@ function dt({
|
|
|
1403
1464
|
y1: j.from[1],
|
|
1404
1465
|
x2: j.to[0],
|
|
1405
1466
|
y2: j.to[1],
|
|
1406
|
-
show: Q &&
|
|
1467
|
+
show: Q && F >= (j.visibleAtPhase ?? 0),
|
|
1407
1468
|
color: j.color,
|
|
1408
1469
|
dur: j.duration
|
|
1409
1470
|
},
|
|
@@ -1422,7 +1483,7 @@ function dt({
|
|
|
1422
1483
|
transition: Ae,
|
|
1423
1484
|
zIndex: 1
|
|
1424
1485
|
},
|
|
1425
|
-
children: /* @__PURE__ */ e(
|
|
1486
|
+
children: /* @__PURE__ */ e(Nt, { size: $t, color: kt, widthRatio: Rt, children: /* @__PURE__ */ e("div", { className: "base-hotspot" }) })
|
|
1426
1487
|
}
|
|
1427
1488
|
),
|
|
1428
1489
|
r
|
|
@@ -1439,11 +1500,11 @@ function T({
|
|
|
1439
1500
|
color: a = "#00e5ff",
|
|
1440
1501
|
label: s,
|
|
1441
1502
|
subLabel: l,
|
|
1442
|
-
delay:
|
|
1503
|
+
delay: h = "0s",
|
|
1443
1504
|
componentInfo: c,
|
|
1444
1505
|
visibleAtPhase: p = 0,
|
|
1445
|
-
fixedScale:
|
|
1446
|
-
bare:
|
|
1506
|
+
fixedScale: f,
|
|
1507
|
+
bare: y = !1
|
|
1447
1508
|
}) {
|
|
1448
1509
|
const u = ve(ae);
|
|
1449
1510
|
if (!u)
|
|
@@ -1452,20 +1513,21 @@ function T({
|
|
|
1452
1513
|
isExpandedPos: g,
|
|
1453
1514
|
animPhase: m,
|
|
1454
1515
|
compactCx: x,
|
|
1455
|
-
compactCy:
|
|
1456
|
-
groupScale:
|
|
1457
|
-
effectiveScale:
|
|
1458
|
-
transitionValue:
|
|
1459
|
-
onComponentClick:
|
|
1460
|
-
selectedComponentName:
|
|
1461
|
-
expandedOffsetX:
|
|
1462
|
-
} = u,
|
|
1516
|
+
compactCy: v,
|
|
1517
|
+
groupScale: $,
|
|
1518
|
+
effectiveScale: b,
|
|
1519
|
+
transitionValue: k,
|
|
1520
|
+
onComponentClick: A,
|
|
1521
|
+
selectedComponentName: R,
|
|
1522
|
+
expandedOffsetX: L
|
|
1523
|
+
} = u, F = p === 0 || u.isSelected && m >= p ? 1 : 0, X = x + o.x, M = v + o.y, te = g ? t + L : X, ie = g ? n : M, D = f !== void 0 ? f : u.isCompact ? $ : b, H = !!c && !!R && c.name === R, ne = c?.status ? w[c.status]?.color ?? a : a, Se = c?.status === "offline" ? "#4a6a8a" : ne, $e = c && g && A ? () => A({
|
|
1463
1524
|
type: c.type,
|
|
1464
1525
|
name: c.name,
|
|
1465
1526
|
status: c.status,
|
|
1466
1527
|
ex: c.ex ?? t,
|
|
1467
1528
|
ey: c.ey ?? n,
|
|
1468
1529
|
context: c.context,
|
|
1530
|
+
dialogMetrics: c.dialogMetrics,
|
|
1469
1531
|
subComponents: c.subComponents,
|
|
1470
1532
|
graphSeries: c.graphSeries
|
|
1471
1533
|
}) : void 0;
|
|
@@ -1476,23 +1538,23 @@ function T({
|
|
|
1476
1538
|
position: "absolute",
|
|
1477
1539
|
left: te,
|
|
1478
1540
|
top: ie,
|
|
1479
|
-
transform: `translate(-50%, -50%) scale(${
|
|
1480
|
-
opacity:
|
|
1541
|
+
transform: `translate(-50%, -50%) scale(${D})`,
|
|
1542
|
+
opacity: F,
|
|
1481
1543
|
zIndex: i,
|
|
1482
|
-
transition:
|
|
1483
|
-
pointerEvents: g &&
|
|
1544
|
+
transition: k || "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)",
|
|
1545
|
+
pointerEvents: g && F >= 0.5 ? "auto" : "none"
|
|
1484
1546
|
},
|
|
1485
|
-
children:
|
|
1547
|
+
children: y ? r : /* @__PURE__ */ e(
|
|
1486
1548
|
Ht,
|
|
1487
1549
|
{
|
|
1488
1550
|
statusColor: Se,
|
|
1489
1551
|
label: s,
|
|
1490
1552
|
subLabel: l,
|
|
1491
|
-
delay:
|
|
1553
|
+
delay: h,
|
|
1492
1554
|
showLabels: g,
|
|
1493
1555
|
isCompact: u.isCompact,
|
|
1494
1556
|
onClick: $e,
|
|
1495
|
-
isSelected:
|
|
1557
|
+
isSelected: H,
|
|
1496
1558
|
children: r
|
|
1497
1559
|
}
|
|
1498
1560
|
)
|
|
@@ -1508,20 +1570,20 @@ function Ht({
|
|
|
1508
1570
|
showLabels: a = !0,
|
|
1509
1571
|
isCompact: s = !1,
|
|
1510
1572
|
onClick: l,
|
|
1511
|
-
isSelected:
|
|
1573
|
+
isSelected: h = !1
|
|
1512
1574
|
}) {
|
|
1513
|
-
const [c, p] =
|
|
1575
|
+
const [c, p] = I(!1), f = h ? `brightness(1.5) drop-shadow(0 0 24px ${n}cc) drop-shadow(0 0 8px ${n}88)` : c && l ? `brightness(1.2) drop-shadow(0 0 12px ${n}77)` : "";
|
|
1514
1576
|
return /* @__PURE__ */ d(
|
|
1515
1577
|
"div",
|
|
1516
1578
|
{
|
|
1517
1579
|
className: `float-node${l ? " float-node--interactive" : ""}`,
|
|
1518
|
-
onClick: (
|
|
1519
|
-
l && (
|
|
1580
|
+
onClick: (y) => {
|
|
1581
|
+
l && (y.stopPropagation(), l());
|
|
1520
1582
|
},
|
|
1521
1583
|
style: {
|
|
1522
1584
|
cursor: l ? "pointer" : void 0,
|
|
1523
1585
|
transition: "filter 0.3s ease",
|
|
1524
|
-
filter:
|
|
1586
|
+
filter: f
|
|
1525
1587
|
},
|
|
1526
1588
|
onMouseEnter: () => p(!0),
|
|
1527
1589
|
onMouseLeave: () => p(!1),
|
|
@@ -1595,7 +1657,7 @@ function ct({ synced: t, latencyMs: n }) {
|
|
|
1595
1657
|
] })
|
|
1596
1658
|
] });
|
|
1597
1659
|
}
|
|
1598
|
-
function
|
|
1660
|
+
function W({
|
|
1599
1661
|
ex: t,
|
|
1600
1662
|
ey: n,
|
|
1601
1663
|
status: o,
|
|
@@ -1604,23 +1666,23 @@ function O({
|
|
|
1604
1666
|
offsetX: a,
|
|
1605
1667
|
offsetY: s,
|
|
1606
1668
|
isVisible: l,
|
|
1607
|
-
align:
|
|
1669
|
+
align: h = "right",
|
|
1608
1670
|
internalRef: c
|
|
1609
1671
|
}) {
|
|
1610
|
-
const
|
|
1672
|
+
const p = ve(ae), f = p?.expandedOffsetX ?? 0;
|
|
1611
1673
|
if (o === "online") return null;
|
|
1612
|
-
const
|
|
1613
|
-
let
|
|
1614
|
-
if (
|
|
1615
|
-
const
|
|
1616
|
-
|
|
1674
|
+
const y = l && !!p?.isExpandedPos, u = w[o]?.color ?? w.warning.color, g = Math.abs(a) > Math.abs(s), m = t + f + (g ? Math.sign(a) * 45 : 0), x = n + (g ? 0 : Math.sign(s) * 40), v = t + f + a, $ = n + s;
|
|
1675
|
+
let b = "";
|
|
1676
|
+
if (g) {
|
|
1677
|
+
const L = m + (v - m) / 2;
|
|
1678
|
+
b = `M ${m} ${x} L ${L} ${x} L ${L} ${$} L ${v} ${$}`;
|
|
1617
1679
|
} else {
|
|
1618
|
-
const
|
|
1619
|
-
|
|
1680
|
+
const L = x + ($ - x) / 2;
|
|
1681
|
+
b = `M ${m} ${x} L ${m} ${L} L ${v} ${L} L ${v} ${$}`;
|
|
1620
1682
|
}
|
|
1621
|
-
let
|
|
1622
|
-
|
|
1623
|
-
const
|
|
1683
|
+
let k = "translate(0, -50%)";
|
|
1684
|
+
h === "left" && (k = "translate(-100%, -50%)"), h === "top" && (k = "translate(-50%, -100%)"), h === "bottom" && (k = "translate(-50%, 0)");
|
|
1685
|
+
const A = h === "left" ? -8 : h === "right" ? 8 : 0, R = h === "top" ? -8 : h === "bottom" ? 8 : 0;
|
|
1624
1686
|
return /* @__PURE__ */ d(
|
|
1625
1687
|
"div",
|
|
1626
1688
|
{
|
|
@@ -1631,7 +1693,7 @@ function O({
|
|
|
1631
1693
|
width: "100%",
|
|
1632
1694
|
height: "100%",
|
|
1633
1695
|
pointerEvents: "none",
|
|
1634
|
-
opacity:
|
|
1696
|
+
opacity: y ? 1 : 0,
|
|
1635
1697
|
transition: "opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.8s",
|
|
1636
1698
|
zIndex: 150
|
|
1637
1699
|
},
|
|
@@ -1651,12 +1713,12 @@ function O({
|
|
|
1651
1713
|
children: /* @__PURE__ */ e(
|
|
1652
1714
|
"path",
|
|
1653
1715
|
{
|
|
1654
|
-
d:
|
|
1716
|
+
d: b,
|
|
1655
1717
|
fill: "none",
|
|
1656
|
-
stroke:
|
|
1718
|
+
stroke: u,
|
|
1657
1719
|
strokeWidth: "1.5",
|
|
1658
1720
|
strokeDasharray: "5 4",
|
|
1659
|
-
style: { filter: `drop-shadow(0 0 4px ${
|
|
1721
|
+
style: { filter: `drop-shadow(0 0 4px ${u})`, opacity: 0.55 }
|
|
1660
1722
|
}
|
|
1661
1723
|
)
|
|
1662
1724
|
}
|
|
@@ -1666,14 +1728,14 @@ function O({
|
|
|
1666
1728
|
{
|
|
1667
1729
|
style: {
|
|
1668
1730
|
position: "absolute",
|
|
1669
|
-
left:
|
|
1670
|
-
top:
|
|
1671
|
-
transform:
|
|
1672
|
-
marginLeft:
|
|
1673
|
-
marginTop:
|
|
1731
|
+
left: v,
|
|
1732
|
+
top: $,
|
|
1733
|
+
transform: k,
|
|
1734
|
+
marginLeft: A,
|
|
1735
|
+
marginTop: R,
|
|
1674
1736
|
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)",
|
|
1675
|
-
border: `1px solid ${
|
|
1676
|
-
borderLeft: `2px solid ${
|
|
1737
|
+
border: `1px solid ${u}55`,
|
|
1738
|
+
borderLeft: `2px solid ${u}`,
|
|
1677
1739
|
backdropFilter: "blur(8px)",
|
|
1678
1740
|
WebkitBackdropFilter: "blur(8px)",
|
|
1679
1741
|
padding: "6px 10px",
|
|
@@ -1681,7 +1743,7 @@ function O({
|
|
|
1681
1743
|
color: "#fff",
|
|
1682
1744
|
fontFamily: "'Courier New', monospace",
|
|
1683
1745
|
width: 140,
|
|
1684
|
-
boxShadow: `0 4px 12px rgba(0,0,0,0.4), 0 0 8px ${
|
|
1746
|
+
boxShadow: `0 4px 12px rgba(0,0,0,0.4), 0 0 8px ${u}22 inset`
|
|
1685
1747
|
},
|
|
1686
1748
|
children: [
|
|
1687
1749
|
/* @__PURE__ */ d(
|
|
@@ -1701,8 +1763,8 @@ function O({
|
|
|
1701
1763
|
width: 4,
|
|
1702
1764
|
height: 4,
|
|
1703
1765
|
borderRadius: "50%",
|
|
1704
|
-
background:
|
|
1705
|
-
boxShadow: `0 0 6px ${
|
|
1766
|
+
background: u,
|
|
1767
|
+
boxShadow: `0 0 6px ${u}`,
|
|
1706
1768
|
animation: "holo-led-blink 1.5s infinite"
|
|
1707
1769
|
}
|
|
1708
1770
|
}
|
|
@@ -1711,12 +1773,12 @@ function O({
|
|
|
1711
1773
|
"div",
|
|
1712
1774
|
{
|
|
1713
1775
|
style: {
|
|
1714
|
-
color:
|
|
1776
|
+
color: u,
|
|
1715
1777
|
fontWeight: "600",
|
|
1716
1778
|
fontSize: 10,
|
|
1717
1779
|
letterSpacing: "1px",
|
|
1718
1780
|
textTransform: "uppercase",
|
|
1719
|
-
textShadow: `0 0 4px ${
|
|
1781
|
+
textShadow: `0 0 4px ${u}88`
|
|
1720
1782
|
},
|
|
1721
1783
|
children: c ? `${i} · ${c}` : i
|
|
1722
1784
|
}
|
|
@@ -1742,16 +1804,17 @@ function O({
|
|
|
1742
1804
|
}
|
|
1743
1805
|
);
|
|
1744
1806
|
}
|
|
1745
|
-
const q = 140,
|
|
1807
|
+
const q = 140, U = 240, Z = 160, de = qe(q, U, Z);
|
|
1746
1808
|
function Ut({
|
|
1747
1809
|
cfg: t,
|
|
1748
1810
|
name: n,
|
|
1749
1811
|
cpuLoad: o,
|
|
1750
1812
|
memLoad: i,
|
|
1751
1813
|
status: r,
|
|
1752
|
-
compact: a
|
|
1814
|
+
compact: a,
|
|
1815
|
+
brandLabel: s
|
|
1753
1816
|
}) {
|
|
1754
|
-
const
|
|
1817
|
+
const l = Math.ceil(o / 100 * 3), h = r === "offline" ? "#4a6a8a" : t.color, c = [
|
|
1755
1818
|
{ color: t.color, on: r !== "offline", label: "PWR" },
|
|
1756
1819
|
{ color: t.color, on: r === "online" || r === "warning", label: "NET" },
|
|
1757
1820
|
{ color: t.color, on: o > 15, label: "DSK" },
|
|
@@ -1762,7 +1825,7 @@ function Ut({
|
|
|
1762
1825
|
{
|
|
1763
1826
|
style: {
|
|
1764
1827
|
width: q,
|
|
1765
|
-
height:
|
|
1828
|
+
height: U,
|
|
1766
1829
|
background: a ? we : Qe,
|
|
1767
1830
|
position: "relative",
|
|
1768
1831
|
overflow: "hidden",
|
|
@@ -1801,7 +1864,7 @@ function Ut({
|
|
|
1801
1864
|
},
|
|
1802
1865
|
children: [
|
|
1803
1866
|
/* @__PURE__ */ d("div", { style: { display: "flex", justifyContent: "space-between", alignItems: "center" }, children: [
|
|
1804
|
-
/* @__PURE__ */ e("span", { style: { fontSize: 7, color: t.color + "55", letterSpacing: "0.22em" }, children:
|
|
1867
|
+
/* @__PURE__ */ e("span", { style: { fontSize: 7, color: t.color + "55", letterSpacing: "0.22em" }, children: s }),
|
|
1805
1868
|
/* @__PURE__ */ e(
|
|
1806
1869
|
"div",
|
|
1807
1870
|
{
|
|
@@ -1837,26 +1900,26 @@ function Ut({
|
|
|
1837
1900
|
{
|
|
1838
1901
|
style: {
|
|
1839
1902
|
fontSize: 7,
|
|
1840
|
-
color:
|
|
1903
|
+
color: h,
|
|
1841
1904
|
letterSpacing: "0.08em",
|
|
1842
|
-
textShadow: `0 0 4px ${
|
|
1905
|
+
textShadow: `0 0 4px ${h}66`
|
|
1843
1906
|
},
|
|
1844
1907
|
children: n
|
|
1845
1908
|
}
|
|
1846
1909
|
),
|
|
1847
|
-
/* @__PURE__ */ e("div", { style: { display: "flex", gap: 5 }, children:
|
|
1910
|
+
/* @__PURE__ */ e("div", { style: { display: "flex", gap: 5 }, children: c.map((p, f) => /* @__PURE__ */ e(
|
|
1848
1911
|
"div",
|
|
1849
1912
|
{
|
|
1850
1913
|
style: {
|
|
1851
1914
|
width: 4,
|
|
1852
1915
|
height: 4,
|
|
1853
1916
|
borderRadius: "50%",
|
|
1854
|
-
background:
|
|
1855
|
-
boxShadow:
|
|
1856
|
-
animation:
|
|
1917
|
+
background: p.on ? p.color : "#0a1830",
|
|
1918
|
+
boxShadow: p.on ? `0 0 6px ${p.color}, 0 0 12px ${p.color}88` : "none",
|
|
1919
|
+
animation: p.on && f === 1 ? "holo-led-blink 2.5s linear infinite" : "none"
|
|
1857
1920
|
}
|
|
1858
1921
|
},
|
|
1859
|
-
|
|
1922
|
+
f
|
|
1860
1923
|
)) })
|
|
1861
1924
|
] })
|
|
1862
1925
|
]
|
|
@@ -1923,8 +1986,8 @@ function Ut({
|
|
|
1923
1986
|
}
|
|
1924
1987
|
}
|
|
1925
1988
|
),
|
|
1926
|
-
Array.from({ length: 3 }, (
|
|
1927
|
-
const
|
|
1989
|
+
Array.from({ length: 3 }, (p, f) => {
|
|
1990
|
+
const y = f < l;
|
|
1928
1991
|
return /* @__PURE__ */ d(
|
|
1929
1992
|
"div",
|
|
1930
1993
|
{
|
|
@@ -1932,7 +1995,7 @@ function Ut({
|
|
|
1932
1995
|
position: "absolute",
|
|
1933
1996
|
left: 8,
|
|
1934
1997
|
right: 8,
|
|
1935
|
-
top: 75 +
|
|
1998
|
+
top: 75 + f * 31,
|
|
1936
1999
|
height: 27,
|
|
1937
2000
|
background: "linear-gradient(90deg, #040a16, #030710, #040a16)",
|
|
1938
2001
|
border: "1px solid #1a2d40",
|
|
@@ -1951,8 +2014,8 @@ function Ut({
|
|
|
1951
2014
|
height: 5,
|
|
1952
2015
|
borderRadius: "50%",
|
|
1953
2016
|
flexShrink: 0,
|
|
1954
|
-
background:
|
|
1955
|
-
boxShadow:
|
|
2017
|
+
background: y ? t.color : "#08142a",
|
|
2018
|
+
boxShadow: y ? `0 0 6px ${t.color}, 0 0 12px ${t.color}66` : "none"
|
|
1956
2019
|
}
|
|
1957
2020
|
}
|
|
1958
2021
|
),
|
|
@@ -1968,7 +2031,7 @@ function Ut({
|
|
|
1968
2031
|
position: "relative",
|
|
1969
2032
|
overflow: "hidden"
|
|
1970
2033
|
},
|
|
1971
|
-
children:
|
|
2034
|
+
children: y && /* @__PURE__ */ e(
|
|
1972
2035
|
"div",
|
|
1973
2036
|
{
|
|
1974
2037
|
style: {
|
|
@@ -1976,7 +2039,7 @@ function Ut({
|
|
|
1976
2039
|
top: 0,
|
|
1977
2040
|
left: 0,
|
|
1978
2041
|
bottom: 0,
|
|
1979
|
-
width: `${30 + o / 100 * 45 +
|
|
2042
|
+
width: `${30 + o / 100 * 45 + f * 8}%`,
|
|
1980
2043
|
background: `linear-gradient(90deg, ${t.color}22, transparent)`
|
|
1981
2044
|
}
|
|
1982
2045
|
}
|
|
@@ -1999,7 +2062,7 @@ function Ut({
|
|
|
1999
2062
|
)
|
|
2000
2063
|
]
|
|
2001
2064
|
},
|
|
2002
|
-
|
|
2065
|
+
f
|
|
2003
2066
|
);
|
|
2004
2067
|
}),
|
|
2005
2068
|
/* @__PURE__ */ e(
|
|
@@ -2028,7 +2091,7 @@ function Ut({
|
|
|
2028
2091
|
alignItems: "center"
|
|
2029
2092
|
},
|
|
2030
2093
|
children: [
|
|
2031
|
-
[0, 1].map((
|
|
2094
|
+
[0, 1].map((p) => /* @__PURE__ */ e(
|
|
2032
2095
|
"div",
|
|
2033
2096
|
{
|
|
2034
2097
|
style: {
|
|
@@ -2039,7 +2102,7 @@ function Ut({
|
|
|
2039
2102
|
borderRadius: "1px 1px 2px 2px"
|
|
2040
2103
|
}
|
|
2041
2104
|
},
|
|
2042
|
-
|
|
2105
|
+
p
|
|
2043
2106
|
)),
|
|
2044
2107
|
/* @__PURE__ */ e(
|
|
2045
2108
|
"div",
|
|
@@ -2069,7 +2132,7 @@ function Ut({
|
|
|
2069
2132
|
/* @__PURE__ */ e("div", { style: { flex: 1, display: "flex", flexDirection: "column", gap: 4 }, children: [
|
|
2070
2133
|
{ val: o, color: t.color },
|
|
2071
2134
|
{ val: i, color: t.color + "bb" }
|
|
2072
|
-
].map((
|
|
2135
|
+
].map((p, f) => /* @__PURE__ */ e(
|
|
2073
2136
|
"div",
|
|
2074
2137
|
{
|
|
2075
2138
|
style: {
|
|
@@ -2082,15 +2145,15 @@ function Ut({
|
|
|
2082
2145
|
"div",
|
|
2083
2146
|
{
|
|
2084
2147
|
style: {
|
|
2085
|
-
width: `${
|
|
2148
|
+
width: `${p.val}%`,
|
|
2086
2149
|
height: "100%",
|
|
2087
|
-
background: `linear-gradient(90deg, ${
|
|
2150
|
+
background: `linear-gradient(90deg, ${p.color}55, ${p.color})`,
|
|
2088
2151
|
borderRadius: 1.5
|
|
2089
2152
|
}
|
|
2090
2153
|
}
|
|
2091
2154
|
)
|
|
2092
2155
|
},
|
|
2093
|
-
|
|
2156
|
+
f
|
|
2094
2157
|
)) })
|
|
2095
2158
|
]
|
|
2096
2159
|
}
|
|
@@ -2123,7 +2186,7 @@ function Ut({
|
|
|
2123
2186
|
overflow: "hidden",
|
|
2124
2187
|
opacity: 0.22
|
|
2125
2188
|
},
|
|
2126
|
-
children: Array.from({ length: 100 }).map((
|
|
2189
|
+
children: Array.from({ length: 100 }).map((p, f) => /* @__PURE__ */ e(
|
|
2127
2190
|
"div",
|
|
2128
2191
|
{
|
|
2129
2192
|
style: {
|
|
@@ -2133,7 +2196,7 @@ function Ut({
|
|
|
2133
2196
|
background: "#2a6090"
|
|
2134
2197
|
}
|
|
2135
2198
|
},
|
|
2136
|
-
|
|
2199
|
+
f
|
|
2137
2200
|
))
|
|
2138
2201
|
}
|
|
2139
2202
|
),
|
|
@@ -2160,7 +2223,7 @@ function Yt() {
|
|
|
2160
2223
|
{
|
|
2161
2224
|
style: {
|
|
2162
2225
|
width: q,
|
|
2163
|
-
height:
|
|
2226
|
+
height: U,
|
|
2164
2227
|
background: "linear-gradient(180deg, #040c1a 0%, #030810 100%)",
|
|
2165
2228
|
position: "relative",
|
|
2166
2229
|
overflow: "hidden",
|
|
@@ -2268,15 +2331,15 @@ function Yt() {
|
|
|
2268
2331
|
}
|
|
2269
2332
|
);
|
|
2270
2333
|
}
|
|
2271
|
-
function ot({ side: t, color: n }) {
|
|
2272
|
-
const
|
|
2334
|
+
function ot({ side: t, color: n, brandLabel: o }) {
|
|
2335
|
+
const i = t === "right";
|
|
2273
2336
|
return /* @__PURE__ */ d(
|
|
2274
2337
|
"div",
|
|
2275
2338
|
{
|
|
2276
2339
|
style: {
|
|
2277
2340
|
width: Z,
|
|
2278
|
-
height:
|
|
2279
|
-
background:
|
|
2341
|
+
height: U,
|
|
2342
|
+
background: i ? "linear-gradient(90deg, #040c1c 0%, #071428 60%, #040c1c 100%)" : "linear-gradient(90deg, #040c1c 0%, #071428 40%, #040c1c 100%)",
|
|
2280
2343
|
position: "relative",
|
|
2281
2344
|
overflow: "hidden"
|
|
2282
2345
|
},
|
|
@@ -2294,13 +2357,13 @@ function ot({ side: t, color: n }) {
|
|
|
2294
2357
|
}
|
|
2295
2358
|
}
|
|
2296
2359
|
),
|
|
2297
|
-
[8,
|
|
2360
|
+
[8, U - 20].map((r) => /* @__PURE__ */ e(
|
|
2298
2361
|
"div",
|
|
2299
2362
|
{
|
|
2300
2363
|
style: {
|
|
2301
2364
|
position: "absolute",
|
|
2302
|
-
top:
|
|
2303
|
-
left:
|
|
2365
|
+
top: r,
|
|
2366
|
+
left: i ? 10 : Z - 18,
|
|
2304
2367
|
width: 8,
|
|
2305
2368
|
height: 8,
|
|
2306
2369
|
borderRadius: 1,
|
|
@@ -2309,23 +2372,23 @@ function ot({ side: t, color: n }) {
|
|
|
2309
2372
|
boxShadow: "inset 0 1px 2px rgba(0,0,0,0.8)"
|
|
2310
2373
|
}
|
|
2311
2374
|
},
|
|
2312
|
-
|
|
2375
|
+
r
|
|
2313
2376
|
)),
|
|
2314
2377
|
/* @__PURE__ */ e(
|
|
2315
2378
|
"div",
|
|
2316
2379
|
{
|
|
2317
2380
|
style: {
|
|
2318
2381
|
position: "absolute",
|
|
2319
|
-
top:
|
|
2320
|
-
bottom:
|
|
2321
|
-
left:
|
|
2322
|
-
right:
|
|
2382
|
+
top: U * 0.35,
|
|
2383
|
+
bottom: U * 0.15,
|
|
2384
|
+
left: i ? 22 : 18,
|
|
2385
|
+
right: i ? 18 : 22,
|
|
2323
2386
|
display: "flex",
|
|
2324
2387
|
flexDirection: "column",
|
|
2325
2388
|
gap: 5,
|
|
2326
2389
|
justifyContent: "center"
|
|
2327
2390
|
},
|
|
2328
|
-
children: Array.from({ length: 6 }).map((
|
|
2391
|
+
children: Array.from({ length: 6 }).map((r, a) => /* @__PURE__ */ e(
|
|
2329
2392
|
"div",
|
|
2330
2393
|
{
|
|
2331
2394
|
style: {
|
|
@@ -2336,17 +2399,17 @@ function ot({ side: t, color: n }) {
|
|
|
2336
2399
|
boxShadow: "inset 0 1px 2px rgba(0,0,0,0.5)"
|
|
2337
2400
|
}
|
|
2338
2401
|
},
|
|
2339
|
-
|
|
2402
|
+
a
|
|
2340
2403
|
))
|
|
2341
2404
|
}
|
|
2342
2405
|
),
|
|
2343
|
-
/* @__PURE__ */
|
|
2406
|
+
/* @__PURE__ */ d(
|
|
2344
2407
|
"div",
|
|
2345
2408
|
{
|
|
2346
2409
|
style: {
|
|
2347
2410
|
position: "absolute",
|
|
2348
|
-
top:
|
|
2349
|
-
left:
|
|
2411
|
+
top: U * 0.18,
|
|
2412
|
+
left: i ? 12 : Z - 78,
|
|
2350
2413
|
fontSize: 7,
|
|
2351
2414
|
color: "#1a3050",
|
|
2352
2415
|
letterSpacing: "0.2em",
|
|
@@ -2354,7 +2417,10 @@ function ot({ side: t, color: n }) {
|
|
|
2354
2417
|
whiteSpace: "nowrap",
|
|
2355
2418
|
fontFamily: "'Courier New', monospace"
|
|
2356
2419
|
},
|
|
2357
|
-
children:
|
|
2420
|
+
children: [
|
|
2421
|
+
o,
|
|
2422
|
+
" SYS"
|
|
2423
|
+
]
|
|
2358
2424
|
}
|
|
2359
2425
|
)
|
|
2360
2426
|
]
|
|
@@ -2450,29 +2516,30 @@ function ue({
|
|
|
2450
2516
|
status: a = "online",
|
|
2451
2517
|
name: s = "SRV-001",
|
|
2452
2518
|
cpuLoad: l = 67,
|
|
2453
|
-
memLoad:
|
|
2454
|
-
|
|
2519
|
+
memLoad: h = 82,
|
|
2520
|
+
brandLabel: c = "BUSAUD",
|
|
2521
|
+
_compact: p
|
|
2455
2522
|
}) {
|
|
2456
|
-
const [
|
|
2523
|
+
const [f, y] = I(n), u = ee(0), g = ee(0);
|
|
2457
2524
|
Ee(() => {
|
|
2458
2525
|
if (!r) {
|
|
2459
|
-
|
|
2526
|
+
y(n);
|
|
2460
2527
|
return;
|
|
2461
2528
|
}
|
|
2462
|
-
const
|
|
2463
|
-
|
|
2529
|
+
const x = (v) => {
|
|
2530
|
+
g.current && y(($) => $ + (v - g.current) * 0.027), g.current = v, u.current = requestAnimationFrame(x);
|
|
2464
2531
|
};
|
|
2465
|
-
return
|
|
2466
|
-
cancelAnimationFrame(
|
|
2532
|
+
return u.current = requestAnimationFrame(x), () => {
|
|
2533
|
+
cancelAnimationFrame(u.current), g.current = 0;
|
|
2467
2534
|
};
|
|
2468
2535
|
}, [r, n]);
|
|
2469
|
-
const
|
|
2536
|
+
const m = w[a] ?? w.online;
|
|
2470
2537
|
return /* @__PURE__ */ d(
|
|
2471
2538
|
"div",
|
|
2472
2539
|
{
|
|
2473
2540
|
style: {
|
|
2474
2541
|
width: q * i,
|
|
2475
|
-
height:
|
|
2542
|
+
height: U * i,
|
|
2476
2543
|
position: "relative",
|
|
2477
2544
|
display: "flex",
|
|
2478
2545
|
alignItems: "center",
|
|
@@ -2490,17 +2557,17 @@ function ue({
|
|
|
2490
2557
|
zIndex: 110,
|
|
2491
2558
|
pointerEvents: "none",
|
|
2492
2559
|
animation: "holo-led-blink 1.5s infinite",
|
|
2493
|
-
filter: `drop-shadow(0 0 10px ${
|
|
2560
|
+
filter: `drop-shadow(0 0 10px ${m.color})`
|
|
2494
2561
|
},
|
|
2495
2562
|
children: /* @__PURE__ */ d("svg", { width: "44", height: "44", viewBox: "0 0 28 28", fill: "none", children: [
|
|
2496
2563
|
/* @__PURE__ */ e(
|
|
2497
2564
|
"path",
|
|
2498
2565
|
{
|
|
2499
2566
|
d: "M14 3L1.5 25.5h25L14 3z",
|
|
2500
|
-
stroke:
|
|
2567
|
+
stroke: m.color,
|
|
2501
2568
|
strokeWidth: "2",
|
|
2502
2569
|
strokeLinejoin: "round",
|
|
2503
|
-
fill:
|
|
2570
|
+
fill: m.color + "22"
|
|
2504
2571
|
}
|
|
2505
2572
|
),
|
|
2506
2573
|
/* @__PURE__ */ e(
|
|
@@ -2510,12 +2577,12 @@ function ue({
|
|
|
2510
2577
|
y1: "11",
|
|
2511
2578
|
x2: "14",
|
|
2512
2579
|
y2: "18",
|
|
2513
|
-
stroke:
|
|
2580
|
+
stroke: m.color,
|
|
2514
2581
|
strokeWidth: "2.5",
|
|
2515
2582
|
strokeLinecap: "round"
|
|
2516
2583
|
}
|
|
2517
2584
|
),
|
|
2518
|
-
/* @__PURE__ */ e("circle", { cx: "14", cy: "21.5", r: "1.5", fill:
|
|
2585
|
+
/* @__PURE__ */ e("circle", { cx: "14", cy: "21.5", r: "1.5", fill: m.color })
|
|
2519
2586
|
] })
|
|
2520
2587
|
}
|
|
2521
2588
|
),
|
|
@@ -2525,8 +2592,8 @@ function ue({
|
|
|
2525
2592
|
style: {
|
|
2526
2593
|
position: "absolute",
|
|
2527
2594
|
width: q * 1.4 * i,
|
|
2528
|
-
height:
|
|
2529
|
-
background: `radial-gradient(ellipse, ${
|
|
2595
|
+
height: U * 0.8 * i,
|
|
2596
|
+
background: `radial-gradient(ellipse, ${m.glow} 0%, transparent 65%)`,
|
|
2530
2597
|
filter: `blur(${Math.round(45 * i)}px)`,
|
|
2531
2598
|
pointerEvents: "none",
|
|
2532
2599
|
top: "40%",
|
|
@@ -2549,27 +2616,28 @@ function ue({
|
|
|
2549
2616
|
{
|
|
2550
2617
|
style: {
|
|
2551
2618
|
width: q,
|
|
2552
|
-
height:
|
|
2619
|
+
height: U,
|
|
2553
2620
|
position: "relative",
|
|
2554
2621
|
transformStyle: "preserve-3d",
|
|
2555
|
-
transform: `rotateX(${t}deg) rotateY(${
|
|
2622
|
+
transform: `rotateX(${t}deg) rotateY(${f}deg) rotateZ(${o}deg)`,
|
|
2556
2623
|
transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
|
|
2557
2624
|
},
|
|
2558
2625
|
children: [
|
|
2559
2626
|
/* @__PURE__ */ e("div", { style: de.front, children: /* @__PURE__ */ e(
|
|
2560
2627
|
Ut,
|
|
2561
2628
|
{
|
|
2562
|
-
cfg:
|
|
2629
|
+
cfg: m,
|
|
2563
2630
|
name: s,
|
|
2564
2631
|
cpuLoad: l,
|
|
2565
|
-
memLoad:
|
|
2632
|
+
memLoad: h,
|
|
2566
2633
|
status: a,
|
|
2567
|
-
compact:
|
|
2634
|
+
compact: p,
|
|
2635
|
+
brandLabel: c
|
|
2568
2636
|
}
|
|
2569
2637
|
) }),
|
|
2570
2638
|
/* @__PURE__ */ e("div", { style: de.back, children: /* @__PURE__ */ e(Yt, {}) }),
|
|
2571
|
-
/* @__PURE__ */ e("div", { style: de.left, children: /* @__PURE__ */ e(ot, { side: "left", color:
|
|
2572
|
-
/* @__PURE__ */ e("div", { style: de.right, children: /* @__PURE__ */ e(ot, { side: "right", color:
|
|
2639
|
+
/* @__PURE__ */ e("div", { style: de.left, children: /* @__PURE__ */ e(ot, { side: "left", color: m.color, brandLabel: c }) }),
|
|
2640
|
+
/* @__PURE__ */ e("div", { style: de.right, children: /* @__PURE__ */ e(ot, { side: "right", color: m.color, brandLabel: c }) }),
|
|
2573
2641
|
/* @__PURE__ */ e("div", { style: de.top, children: /* @__PURE__ */ e(Vt, { cpuLoad: l }) }),
|
|
2574
2642
|
/* @__PURE__ */ e("div", { style: de.bottom, children: /* @__PURE__ */ e(
|
|
2575
2643
|
"div",
|
|
@@ -2604,7 +2672,7 @@ function _t({
|
|
|
2604
2672
|
}) {
|
|
2605
2673
|
return /* @__PURE__ */ d(Ce, { children: [
|
|
2606
2674
|
Ue.map((s, l) => {
|
|
2607
|
-
const
|
|
2675
|
+
const h = Ye(s), c = l === 0, p = Math.round(4 + h * 9), f = Math.round(12 + h * 22), y = Math.round(28 + h * 44), u = Math.round(h * 0.55 * 255).toString(16).padStart(2, "0");
|
|
2608
2676
|
return /* @__PURE__ */ e(
|
|
2609
2677
|
"div",
|
|
2610
2678
|
{
|
|
@@ -2616,7 +2684,7 @@ function _t({
|
|
|
2616
2684
|
top: t,
|
|
2617
2685
|
transform: `rotateY(${s}deg) translateZ(${re}px)`,
|
|
2618
2686
|
backfaceVisibility: "hidden",
|
|
2619
|
-
background: c ? a ? "linear-gradient(180deg, rgb(0,28,62), rgb(0,18,44))" : "linear-gradient(180deg, rgba(0,28,62,0.70), rgba(0,18,44,0.76))" : `rgb(${p},${
|
|
2687
|
+
background: c ? a ? "linear-gradient(180deg, rgb(0,28,62), rgb(0,18,44))" : "linear-gradient(180deg, rgba(0,28,62,0.70), rgba(0,18,44,0.76))" : `rgb(${p},${f},${y})`,
|
|
2620
2688
|
borderLeft: `1px solid ${o.color}${u}`,
|
|
2621
2689
|
boxShadow: c ? `inset 0 0 18px ${o.color}28` : "none"
|
|
2622
2690
|
},
|
|
@@ -2762,7 +2830,7 @@ function _t({
|
|
|
2762
2830
|
}
|
|
2763
2831
|
),
|
|
2764
2832
|
i && Ue.map((s, l) => {
|
|
2765
|
-
const
|
|
2833
|
+
const h = Ye(s);
|
|
2766
2834
|
return /* @__PURE__ */ e(
|
|
2767
2835
|
"div",
|
|
2768
2836
|
{
|
|
@@ -2776,14 +2844,14 @@ function _t({
|
|
|
2776
2844
|
backfaceVisibility: "hidden",
|
|
2777
2845
|
background: o.color,
|
|
2778
2846
|
boxShadow: `0 0 8px ${o.color}, 0 0 18px ${o.color}aa, 0 0 30px ${o.glow}`,
|
|
2779
|
-
opacity:
|
|
2847
|
+
opacity: h * 0.9
|
|
2780
2848
|
}
|
|
2781
2849
|
},
|
|
2782
2850
|
`rng${n}${l}`
|
|
2783
2851
|
);
|
|
2784
2852
|
}),
|
|
2785
2853
|
i && Ue.map((s, l) => {
|
|
2786
|
-
const
|
|
2854
|
+
const h = Ye(s), c = Math.round(2 + h * 4), p = Math.round(5 + h * 10), f = Math.round(12 + h * 20);
|
|
2787
2855
|
return /* @__PURE__ */ e(
|
|
2788
2856
|
"div",
|
|
2789
2857
|
{
|
|
@@ -2795,7 +2863,7 @@ function _t({
|
|
|
2795
2863
|
top: t + he,
|
|
2796
2864
|
transform: `rotateY(${s}deg) translateZ(${re}px)`,
|
|
2797
2865
|
backfaceVisibility: "hidden",
|
|
2798
|
-
background: `rgb(${c},${p},${
|
|
2866
|
+
background: `rgb(${c},${p},${f})`
|
|
2799
2867
|
}
|
|
2800
2868
|
},
|
|
2801
2869
|
`gap${n}${l}`
|
|
@@ -2803,7 +2871,7 @@ function _t({
|
|
|
2803
2871
|
})
|
|
2804
2872
|
] });
|
|
2805
2873
|
}
|
|
2806
|
-
function
|
|
2874
|
+
function Oe({
|
|
2807
2875
|
rotateX: t = -22,
|
|
2808
2876
|
rotateY: n = -15,
|
|
2809
2877
|
rotateZ: o = 0,
|
|
@@ -2815,20 +2883,20 @@ function Ie({
|
|
|
2815
2883
|
// connections = 284,
|
|
2816
2884
|
_compact: l
|
|
2817
2885
|
}) {
|
|
2818
|
-
const [
|
|
2886
|
+
const [h, c] = I(n), p = ee(0), f = ee(0);
|
|
2819
2887
|
Ee(() => {
|
|
2820
2888
|
if (!r) {
|
|
2821
2889
|
c(n);
|
|
2822
2890
|
return;
|
|
2823
2891
|
}
|
|
2824
2892
|
const u = (g) => {
|
|
2825
|
-
|
|
2893
|
+
f.current && c((m) => m + (g - f.current) * 0.027), f.current = g, p.current = requestAnimationFrame(u);
|
|
2826
2894
|
};
|
|
2827
2895
|
return p.current = requestAnimationFrame(u), () => {
|
|
2828
|
-
cancelAnimationFrame(p.current),
|
|
2896
|
+
cancelAnimationFrame(p.current), f.current = 0;
|
|
2829
2897
|
};
|
|
2830
2898
|
}, [r, n]);
|
|
2831
|
-
const
|
|
2899
|
+
const y = w[a] ?? w.online;
|
|
2832
2900
|
return /* @__PURE__ */ d(
|
|
2833
2901
|
"div",
|
|
2834
2902
|
{
|
|
@@ -2896,7 +2964,7 @@ function Ie({
|
|
|
2896
2964
|
position: "absolute",
|
|
2897
2965
|
width: _ * 2.8 * i,
|
|
2898
2966
|
height: He * 0.85 * i,
|
|
2899
|
-
background: `radial-gradient(ellipse, ${
|
|
2967
|
+
background: `radial-gradient(ellipse, ${y.glow} 0%, transparent 65%)`,
|
|
2900
2968
|
filter: `blur(${Math.round(50 * i)}px)`,
|
|
2901
2969
|
pointerEvents: "none",
|
|
2902
2970
|
top: "45%",
|
|
@@ -2922,7 +2990,7 @@ function Ie({
|
|
|
2922
2990
|
height: He,
|
|
2923
2991
|
position: "relative",
|
|
2924
2992
|
transformStyle: "preserve-3d",
|
|
2925
|
-
transform: `rotateX(${t}deg) rotateY(${
|
|
2993
|
+
transform: `rotateX(${t}deg) rotateY(${h}deg) rotateZ(${o}deg)`,
|
|
2926
2994
|
transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
|
|
2927
2995
|
},
|
|
2928
2996
|
children: [0, 1, 2].map((u) => /* @__PURE__ */ e(
|
|
@@ -2930,7 +2998,7 @@ function Ie({
|
|
|
2930
2998
|
{
|
|
2931
2999
|
diskY: u * (he + Ze),
|
|
2932
3000
|
diskIdx: u,
|
|
2933
|
-
cfg:
|
|
3001
|
+
cfg: y,
|
|
2934
3002
|
hasRingBelow: u < 2,
|
|
2935
3003
|
capacity: s,
|
|
2936
3004
|
compact: l
|
|
@@ -2945,7 +3013,7 @@ function Ie({
|
|
|
2945
3013
|
}
|
|
2946
3014
|
);
|
|
2947
3015
|
}
|
|
2948
|
-
const G = 190,
|
|
3016
|
+
const G = 190, Y = 72, be = 120, pe = qe(G, Y, be);
|
|
2949
3017
|
function jt({
|
|
2950
3018
|
cfg: t,
|
|
2951
3019
|
name: n,
|
|
@@ -2959,7 +3027,7 @@ function jt({
|
|
|
2959
3027
|
{
|
|
2960
3028
|
style: {
|
|
2961
3029
|
width: G,
|
|
2962
|
-
height:
|
|
3030
|
+
height: Y,
|
|
2963
3031
|
background: r ? we : Qe,
|
|
2964
3032
|
position: "relative",
|
|
2965
3033
|
overflow: "hidden",
|
|
@@ -3045,8 +3113,8 @@ function jt({
|
|
|
3045
3113
|
gap: 10
|
|
3046
3114
|
},
|
|
3047
3115
|
children: [
|
|
3048
|
-
/* @__PURE__ */ e("div", { style: { display: "flex", gap: 3, alignItems: "center" }, children: Array.from({ length: 8 }, (l,
|
|
3049
|
-
const c =
|
|
3116
|
+
/* @__PURE__ */ e("div", { style: { display: "flex", gap: 3, alignItems: "center" }, children: Array.from({ length: 8 }, (l, h) => {
|
|
3117
|
+
const c = h < a, p = s[h];
|
|
3050
3118
|
return /* @__PURE__ */ d(
|
|
3051
3119
|
"div",
|
|
3052
3120
|
{
|
|
@@ -3098,13 +3166,13 @@ function jt({
|
|
|
3098
3166
|
background: c ? t.color : "#0a1830",
|
|
3099
3167
|
boxShadow: c ? `0 0 5px ${t.color}` : "none",
|
|
3100
3168
|
animation: c ? "holo-led-blink 1.8s linear infinite" : "none",
|
|
3101
|
-
animationDelay: `${
|
|
3169
|
+
animationDelay: `${h * 0.2}s`
|
|
3102
3170
|
}
|
|
3103
3171
|
}
|
|
3104
3172
|
)
|
|
3105
3173
|
]
|
|
3106
3174
|
},
|
|
3107
|
-
|
|
3175
|
+
h
|
|
3108
3176
|
);
|
|
3109
3177
|
}) }),
|
|
3110
3178
|
/* @__PURE__ */ e(
|
|
@@ -3214,7 +3282,7 @@ function Xt() {
|
|
|
3214
3282
|
{
|
|
3215
3283
|
style: {
|
|
3216
3284
|
width: G,
|
|
3217
|
-
height:
|
|
3285
|
+
height: Y,
|
|
3218
3286
|
background: "linear-gradient(180deg, #040c1a, #030810)",
|
|
3219
3287
|
position: "relative",
|
|
3220
3288
|
overflow: "hidden",
|
|
@@ -3229,7 +3297,7 @@ function Xt() {
|
|
|
3229
3297
|
{
|
|
3230
3298
|
style: {
|
|
3231
3299
|
width: 40,
|
|
3232
|
-
height:
|
|
3300
|
+
height: Y - 16,
|
|
3233
3301
|
background: "#020710",
|
|
3234
3302
|
border: "1px solid #1a2d40",
|
|
3235
3303
|
borderRadius: 2,
|
|
@@ -3285,7 +3353,7 @@ function Xt() {
|
|
|
3285
3353
|
style: {
|
|
3286
3354
|
marginLeft: "auto",
|
|
3287
3355
|
width: 12,
|
|
3288
|
-
height:
|
|
3356
|
+
height: Y - 16,
|
|
3289
3357
|
background: "#020710",
|
|
3290
3358
|
border: "1px solid #1a3050",
|
|
3291
3359
|
borderRadius: 1
|
|
@@ -3302,7 +3370,7 @@ function rt({ side: t, color: n }) {
|
|
|
3302
3370
|
{
|
|
3303
3371
|
style: {
|
|
3304
3372
|
width: be,
|
|
3305
|
-
height:
|
|
3373
|
+
height: Y,
|
|
3306
3374
|
background: t === "right" ? "linear-gradient(90deg, #04091a 0%, #071428 60%, #040c1c 100%)" : "linear-gradient(90deg, #040c1c 0%, #071428 40%, #04091a 100%)",
|
|
3307
3375
|
position: "relative",
|
|
3308
3376
|
overflow: "hidden"
|
|
@@ -3326,8 +3394,8 @@ function rt({ side: t, color: n }) {
|
|
|
3326
3394
|
{
|
|
3327
3395
|
style: {
|
|
3328
3396
|
position: "absolute",
|
|
3329
|
-
top:
|
|
3330
|
-
bottom:
|
|
3397
|
+
top: Y * 0.25,
|
|
3398
|
+
bottom: Y * 0.25,
|
|
3331
3399
|
left: 14,
|
|
3332
3400
|
right: 14,
|
|
3333
3401
|
display: "flex",
|
|
@@ -3421,29 +3489,29 @@ function pt({
|
|
|
3421
3489
|
status: a = "online",
|
|
3422
3490
|
name: s = "WEB-DISP-01",
|
|
3423
3491
|
traffic: l = 78,
|
|
3424
|
-
activeRoutes:
|
|
3492
|
+
activeRoutes: h = 12,
|
|
3425
3493
|
_compact: c
|
|
3426
3494
|
}) {
|
|
3427
|
-
const [p,
|
|
3495
|
+
const [p, f] = I(n), y = ee(0), u = ee(0);
|
|
3428
3496
|
Ee(() => {
|
|
3429
3497
|
if (!r) {
|
|
3430
|
-
|
|
3498
|
+
f(n);
|
|
3431
3499
|
return;
|
|
3432
3500
|
}
|
|
3433
3501
|
const m = (x) => {
|
|
3434
|
-
u.current &&
|
|
3502
|
+
u.current && f((v) => v + (x - u.current) * 0.027), u.current = x, y.current = requestAnimationFrame(m);
|
|
3435
3503
|
};
|
|
3436
|
-
return
|
|
3437
|
-
cancelAnimationFrame(
|
|
3504
|
+
return y.current = requestAnimationFrame(m), () => {
|
|
3505
|
+
cancelAnimationFrame(y.current), u.current = 0;
|
|
3438
3506
|
};
|
|
3439
3507
|
}, [r, n]);
|
|
3440
|
-
const g =
|
|
3508
|
+
const g = w[a] ?? w.online;
|
|
3441
3509
|
return /* @__PURE__ */ d(
|
|
3442
3510
|
"div",
|
|
3443
3511
|
{
|
|
3444
3512
|
style: {
|
|
3445
3513
|
width: G * i,
|
|
3446
|
-
height:
|
|
3514
|
+
height: Y * i,
|
|
3447
3515
|
position: "relative",
|
|
3448
3516
|
display: "flex",
|
|
3449
3517
|
alignItems: "center",
|
|
@@ -3504,7 +3572,7 @@ function pt({
|
|
|
3504
3572
|
style: {
|
|
3505
3573
|
position: "absolute",
|
|
3506
3574
|
width: G * 1.3 * i,
|
|
3507
|
-
height:
|
|
3575
|
+
height: Y * 2 * i,
|
|
3508
3576
|
background: `radial-gradient(ellipse, ${g.glow} 0%, transparent 65%)`,
|
|
3509
3577
|
filter: `blur(${Math.round(40 * i)}px)`,
|
|
3510
3578
|
pointerEvents: "none",
|
|
@@ -3528,7 +3596,7 @@ function pt({
|
|
|
3528
3596
|
{
|
|
3529
3597
|
style: {
|
|
3530
3598
|
width: G,
|
|
3531
|
-
height:
|
|
3599
|
+
height: Y,
|
|
3532
3600
|
position: "relative",
|
|
3533
3601
|
transformStyle: "preserve-3d",
|
|
3534
3602
|
transform: `rotateX(${t}deg) rotateY(${p}deg) rotateZ(${o}deg)`,
|
|
@@ -3541,7 +3609,7 @@ function pt({
|
|
|
3541
3609
|
cfg: g,
|
|
3542
3610
|
name: s,
|
|
3543
3611
|
traffic: l,
|
|
3544
|
-
activeRoutes:
|
|
3612
|
+
activeRoutes: h,
|
|
3545
3613
|
compact: c
|
|
3546
3614
|
}
|
|
3547
3615
|
) }),
|
|
@@ -3559,7 +3627,7 @@ function pt({
|
|
|
3559
3627
|
}
|
|
3560
3628
|
);
|
|
3561
3629
|
}
|
|
3562
|
-
const K = 190,
|
|
3630
|
+
const K = 190, V = 72, ge = 120, fe = qe(K, V, ge), at = {
|
|
3563
3631
|
online: { color: "#bb55ff", glow: "rgba(187,85,255,0.50)" },
|
|
3564
3632
|
warning: { color: "#ff8c00", glow: "rgba(255,140,0,0.50)" },
|
|
3565
3633
|
critical: { color: "#ff2255", glow: "rgba(255,34,85,0.50)" },
|
|
@@ -3579,7 +3647,7 @@ function qt({
|
|
|
3579
3647
|
{
|
|
3580
3648
|
style: {
|
|
3581
3649
|
width: K,
|
|
3582
|
-
height:
|
|
3650
|
+
height: V,
|
|
3583
3651
|
background: a ? we : Qe,
|
|
3584
3652
|
position: "relative",
|
|
3585
3653
|
overflow: "hidden",
|
|
@@ -3665,7 +3733,7 @@ function qt({
|
|
|
3665
3733
|
gap: 10
|
|
3666
3734
|
},
|
|
3667
3735
|
children: [
|
|
3668
|
-
/* @__PURE__ */ e("div", { style: { display: "flex", gap: 3, alignItems: "center" }, children: Array.from({ length: 5 }, (
|
|
3736
|
+
/* @__PURE__ */ e("div", { style: { display: "flex", gap: 3, alignItems: "center" }, children: Array.from({ length: 5 }, (h, c) => {
|
|
3669
3737
|
const p = c < r;
|
|
3670
3738
|
return /* @__PURE__ */ d(
|
|
3671
3739
|
"div",
|
|
@@ -3797,14 +3865,14 @@ function qt({
|
|
|
3797
3865
|
{ label: "INST", val: r, unit: "conn" },
|
|
3798
3866
|
{ label: "ENQUEUE", val: Math.round(o * 2.4), unit: "msgs" },
|
|
3799
3867
|
{ label: "DISP", val: Math.round(i * 0.1), unit: "/s" }
|
|
3800
|
-
].map((
|
|
3801
|
-
/* @__PURE__ */ e("span", { style: { fontSize: 6, color: "#1e3a5a", letterSpacing: "0.08em" }, children:
|
|
3868
|
+
].map((h) => /* @__PURE__ */ d("div", { style: { display: "flex", gap: 3 }, children: [
|
|
3869
|
+
/* @__PURE__ */ e("span", { style: { fontSize: 6, color: "#1e3a5a", letterSpacing: "0.08em" }, children: h.label }),
|
|
3802
3870
|
/* @__PURE__ */ d("span", { style: { fontSize: 6, color: s + "88" }, children: [
|
|
3803
|
-
|
|
3871
|
+
h.val,
|
|
3804
3872
|
" ",
|
|
3805
|
-
|
|
3873
|
+
h.unit
|
|
3806
3874
|
] })
|
|
3807
|
-
] },
|
|
3875
|
+
] }, h.label))
|
|
3808
3876
|
}
|
|
3809
3877
|
),
|
|
3810
3878
|
/* @__PURE__ */ e(
|
|
@@ -3830,7 +3898,7 @@ function Gt() {
|
|
|
3830
3898
|
{
|
|
3831
3899
|
style: {
|
|
3832
3900
|
width: K,
|
|
3833
|
-
height:
|
|
3901
|
+
height: V,
|
|
3834
3902
|
background: "linear-gradient(180deg, #040c1a, #030810)",
|
|
3835
3903
|
position: "relative",
|
|
3836
3904
|
overflow: "hidden",
|
|
@@ -3845,7 +3913,7 @@ function Gt() {
|
|
|
3845
3913
|
{
|
|
3846
3914
|
style: {
|
|
3847
3915
|
width: 40,
|
|
3848
|
-
height:
|
|
3916
|
+
height: V - 16,
|
|
3849
3917
|
background: "#020710",
|
|
3850
3918
|
border: "1px solid #1a2d40",
|
|
3851
3919
|
borderRadius: 2,
|
|
@@ -3901,7 +3969,7 @@ function Gt() {
|
|
|
3901
3969
|
style: {
|
|
3902
3970
|
marginLeft: "auto",
|
|
3903
3971
|
width: 12,
|
|
3904
|
-
height:
|
|
3972
|
+
height: V - 16,
|
|
3905
3973
|
background: "#020710",
|
|
3906
3974
|
border: "1px solid #1a3050",
|
|
3907
3975
|
borderRadius: 1
|
|
@@ -3918,7 +3986,7 @@ function lt({ side: t, color: n }) {
|
|
|
3918
3986
|
{
|
|
3919
3987
|
style: {
|
|
3920
3988
|
width: ge,
|
|
3921
|
-
height:
|
|
3989
|
+
height: V,
|
|
3922
3990
|
background: t === "right" ? "linear-gradient(90deg, #04091a 0%, #071428 60%, #040c1c 100%)" : "linear-gradient(90deg, #040c1c 0%, #071428 40%, #04091a 100%)",
|
|
3923
3991
|
position: "relative",
|
|
3924
3992
|
overflow: "hidden"
|
|
@@ -3942,8 +4010,8 @@ function lt({ side: t, color: n }) {
|
|
|
3942
4010
|
{
|
|
3943
4011
|
style: {
|
|
3944
4012
|
position: "absolute",
|
|
3945
|
-
top:
|
|
3946
|
-
bottom:
|
|
4013
|
+
top: V * 0.25,
|
|
4014
|
+
bottom: V * 0.25,
|
|
3947
4015
|
left: 14,
|
|
3948
4016
|
right: 14,
|
|
3949
4017
|
display: "flex",
|
|
@@ -4037,18 +4105,18 @@ function Zt({
|
|
|
4037
4105
|
status: a = "online",
|
|
4038
4106
|
name: s = "MSG-SRV-01",
|
|
4039
4107
|
queueDepth: l = 45,
|
|
4040
|
-
msgsPerSec:
|
|
4108
|
+
msgsPerSec: h = 230,
|
|
4041
4109
|
instances: c = 3,
|
|
4042
4110
|
_compact: p
|
|
4043
4111
|
}) {
|
|
4044
|
-
const [
|
|
4112
|
+
const [f, y] = I(n), u = ee(0), g = ee(0);
|
|
4045
4113
|
Ee(() => {
|
|
4046
4114
|
if (!r) {
|
|
4047
|
-
|
|
4115
|
+
y(n);
|
|
4048
4116
|
return;
|
|
4049
4117
|
}
|
|
4050
|
-
const x = (
|
|
4051
|
-
g.current &&
|
|
4118
|
+
const x = (v) => {
|
|
4119
|
+
g.current && y(($) => $ + (v - g.current) * 0.027), g.current = v, u.current = requestAnimationFrame(x);
|
|
4052
4120
|
};
|
|
4053
4121
|
return u.current = requestAnimationFrame(x), () => {
|
|
4054
4122
|
cancelAnimationFrame(u.current), g.current = 0;
|
|
@@ -4060,7 +4128,7 @@ function Zt({
|
|
|
4060
4128
|
{
|
|
4061
4129
|
style: {
|
|
4062
4130
|
width: K * i,
|
|
4063
|
-
height:
|
|
4131
|
+
height: V * i,
|
|
4064
4132
|
position: "relative",
|
|
4065
4133
|
display: "flex",
|
|
4066
4134
|
alignItems: "center",
|
|
@@ -4121,7 +4189,7 @@ function Zt({
|
|
|
4121
4189
|
style: {
|
|
4122
4190
|
position: "absolute",
|
|
4123
4191
|
width: K * 1.3 * i,
|
|
4124
|
-
height:
|
|
4192
|
+
height: V * 2 * i,
|
|
4125
4193
|
background: `radial-gradient(ellipse, ${m.glow} 0%, transparent 65%)`,
|
|
4126
4194
|
filter: `blur(${Math.round(40 * i)}px)`,
|
|
4127
4195
|
pointerEvents: "none",
|
|
@@ -4145,10 +4213,10 @@ function Zt({
|
|
|
4145
4213
|
{
|
|
4146
4214
|
style: {
|
|
4147
4215
|
width: K,
|
|
4148
|
-
height:
|
|
4216
|
+
height: V,
|
|
4149
4217
|
position: "relative",
|
|
4150
4218
|
transformStyle: "preserve-3d",
|
|
4151
|
-
transform: `rotateX(${t}deg) rotateY(${
|
|
4219
|
+
transform: `rotateX(${t}deg) rotateY(${f}deg) rotateZ(${o}deg)`,
|
|
4152
4220
|
transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
|
|
4153
4221
|
},
|
|
4154
4222
|
children: [
|
|
@@ -4158,7 +4226,7 @@ function Zt({
|
|
|
4158
4226
|
cfg: m,
|
|
4159
4227
|
name: s,
|
|
4160
4228
|
queueDepth: l,
|
|
4161
|
-
msgsPerSec:
|
|
4229
|
+
msgsPerSec: h,
|
|
4162
4230
|
instances: c,
|
|
4163
4231
|
compact: p
|
|
4164
4232
|
}
|
|
@@ -4178,7 +4246,7 @@ function Zt({
|
|
|
4178
4246
|
);
|
|
4179
4247
|
}
|
|
4180
4248
|
function ft({ status: t = "online", scale: n = 1 }) {
|
|
4181
|
-
const i = (
|
|
4249
|
+
const i = (w[t] ?? w.online).color;
|
|
4182
4250
|
return /* @__PURE__ */ e(
|
|
4183
4251
|
"div",
|
|
4184
4252
|
{
|
|
@@ -4289,15 +4357,15 @@ function ft({ status: t = "online", scale: n = 1 }) {
|
|
|
4289
4357
|
}
|
|
4290
4358
|
);
|
|
4291
4359
|
}
|
|
4292
|
-
function
|
|
4360
|
+
function P(t, n, o = 24) {
|
|
4293
4361
|
return Array.from({ length: o }, (i, r) => {
|
|
4294
4362
|
const a = r / o;
|
|
4295
4363
|
return Math.min(100, Math.max(0, t + Math.sin(a * Math.PI * 2) * n + (Math.random() - 0.5) * 10));
|
|
4296
4364
|
});
|
|
4297
4365
|
}
|
|
4298
4366
|
function Jt({ data: t, color: n, height: o = 28 }) {
|
|
4299
|
-
const r = o, a = Math.max(...t, 1), s = t.map((l,
|
|
4300
|
-
const c =
|
|
4367
|
+
const r = o, a = Math.max(...t, 1), s = t.map((l, h) => {
|
|
4368
|
+
const c = h / (t.length - 1) * 120, p = r - l / a * (r - 4) - 2;
|
|
4301
4369
|
return `${c},${p}`;
|
|
4302
4370
|
}).join(" ");
|
|
4303
4371
|
return /* @__PURE__ */ e("svg", { width: 120, height: r, style: { display: "block", overflow: "visible" }, children: /* @__PURE__ */ e(
|
|
@@ -4321,7 +4389,7 @@ function ei({
|
|
|
4321
4389
|
animPhase: r,
|
|
4322
4390
|
series: a
|
|
4323
4391
|
}) {
|
|
4324
|
-
const s = i === "critical" || i === "offline" ? "#ff2255" : i === "warning" ? "#ff8c00" : "#00e5ff", l = a ? a.map((p) => ({ ...p })) : ti(t, o),
|
|
4392
|
+
const s = i === "critical" || i === "offline" ? "#ff2255" : i === "warning" ? "#ff8c00" : "#00e5ff", l = a ? a.map((p) => ({ ...p })) : ti(t, o), h = r >= 0.3 ? 0 : -280, c = r >= 0.2 ? 1 : 0;
|
|
4325
4393
|
return /* @__PURE__ */ d(
|
|
4326
4394
|
"div",
|
|
4327
4395
|
{
|
|
@@ -4335,7 +4403,7 @@ function ei({
|
|
|
4335
4403
|
display: "flex",
|
|
4336
4404
|
flexDirection: "column",
|
|
4337
4405
|
overflow: "hidden",
|
|
4338
|
-
transform: `translateX(${
|
|
4406
|
+
transform: `translateX(${h}px)`,
|
|
4339
4407
|
opacity: c,
|
|
4340
4408
|
transition: "transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease"
|
|
4341
4409
|
},
|
|
@@ -4357,7 +4425,7 @@ function ei({
|
|
|
4357
4425
|
]
|
|
4358
4426
|
}
|
|
4359
4427
|
),
|
|
4360
|
-
/* @__PURE__ */ e("div", { style: { flex: 1, overflowY: "auto", padding: "12px 10px", display: "flex", flexDirection: "column", gap: 16 }, children: l.map((p,
|
|
4428
|
+
/* @__PURE__ */ e("div", { style: { flex: 1, overflowY: "auto", padding: "12px 10px", display: "flex", flexDirection: "column", gap: 16 }, children: l.map((p, f) => /* @__PURE__ */ d(
|
|
4361
4429
|
"div",
|
|
4362
4430
|
{
|
|
4363
4431
|
style: {
|
|
@@ -4365,7 +4433,7 @@ function ei({
|
|
|
4365
4433
|
background: "rgba(0, 20, 40, 0.35)",
|
|
4366
4434
|
border: `1px solid ${p.color}22`,
|
|
4367
4435
|
borderRadius: 6,
|
|
4368
|
-
transition: `opacity 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) ${
|
|
4436
|
+
transition: `opacity 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) ${f * 0.04}s`,
|
|
4369
4437
|
opacity: r >= 0.5 ? 1 : 0
|
|
4370
4438
|
},
|
|
4371
4439
|
children: [
|
|
@@ -4389,34 +4457,34 @@ function ti(t, n) {
|
|
|
4389
4457
|
if (t === "server") {
|
|
4390
4458
|
const o = n.cpuLoad ?? 50, i = n.memLoad ?? 60;
|
|
4391
4459
|
return [
|
|
4392
|
-
{ id: "cpu", label: "CPU-0", unit: "%", color: "#00e5ff", data:
|
|
4393
|
-
{ id: "cpu1", label: "CPU-1", unit: "%", color: "#00e5ff", data:
|
|
4394
|
-
{ id: "heap0", label: "HEAP-0", unit: "%", color: "#8855ee", data:
|
|
4395
|
-
{ id: "heap1", label: "HEAP-1", unit: "%", color: "#8855ee", data:
|
|
4396
|
-
{ id: "drive1", label: "DRIVE-1 I/O", unit: "%", color: "#ff8c00", data:
|
|
4397
|
-
{ id: "drive2", label: "DRIVE-2 I/O", unit: "%", color: "#ff8c00", data:
|
|
4398
|
-
{ id: "drive3", label: "DRIVE-3 I/O", unit: "%", color: "#ff8c00", data:
|
|
4399
|
-
{ id: "thread", label: "THREAD-POOL", unit: "%", color: "#22aaff", data:
|
|
4460
|
+
{ id: "cpu", label: "CPU-0", unit: "%", color: "#00e5ff", data: P(o, 15) },
|
|
4461
|
+
{ id: "cpu1", label: "CPU-1", unit: "%", color: "#00e5ff", data: P(o * 0.7, 12) },
|
|
4462
|
+
{ id: "heap0", label: "HEAP-0", unit: "%", color: "#8855ee", data: P(i, 18) },
|
|
4463
|
+
{ id: "heap1", label: "HEAP-1", unit: "%", color: "#8855ee", data: P(i * 0.85, 14) },
|
|
4464
|
+
{ id: "drive1", label: "DRIVE-1 I/O", unit: "%", color: "#ff8c00", data: P(40, 25) },
|
|
4465
|
+
{ id: "drive2", label: "DRIVE-2 I/O", unit: "%", color: "#ff8c00", data: P(35, 20) },
|
|
4466
|
+
{ id: "drive3", label: "DRIVE-3 I/O", unit: "%", color: "#ff8c00", data: P(30, 22) },
|
|
4467
|
+
{ id: "thread", label: "THREAD-POOL", unit: "%", color: "#22aaff", data: P(55, 20) }
|
|
4400
4468
|
];
|
|
4401
4469
|
}
|
|
4402
4470
|
if (t === "dispatcher" || t === "messageServer") {
|
|
4403
4471
|
const o = n.traffic ?? n.queueDepth ?? 50;
|
|
4404
4472
|
return [
|
|
4405
|
-
{ id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data:
|
|
4406
|
-
{ id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data:
|
|
4407
|
-
{ id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data:
|
|
4408
|
-
{ id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data:
|
|
4409
|
-
{ id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data:
|
|
4473
|
+
{ id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: P(o, 20) },
|
|
4474
|
+
{ id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data: P(60, 25) },
|
|
4475
|
+
{ id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data: P(45, 20) },
|
|
4476
|
+
{ id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data: P(70, 30) },
|
|
4477
|
+
{ id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: P(o * 0.9, 15) }
|
|
4410
4478
|
];
|
|
4411
4479
|
}
|
|
4412
4480
|
if (t === "database") {
|
|
4413
4481
|
const o = n.capacity ?? 70;
|
|
4414
4482
|
return [
|
|
4415
|
-
{ id: "platter0", label: "PLATTER-0 I/O", unit: "%", color: "#ff8c00", data:
|
|
4416
|
-
{ id: "platter1", label: "PLATTER-1 I/O", unit: "%", color: "#ff8c00", data:
|
|
4417
|
-
{ id: "platter2", label: "PLATTER-2 I/O", unit: "%", color: "#ff8c00", data:
|
|
4418
|
-
{ id: "connpool", label: "CONN-POOL", unit: "%", color: "#00e5ff", data:
|
|
4419
|
-
{ id: "cache", label: "QUERY-CACHE", unit: "%", color: "#00ff88", data:
|
|
4483
|
+
{ id: "platter0", label: "PLATTER-0 I/O", unit: "%", color: "#ff8c00", data: P(40, 20) },
|
|
4484
|
+
{ id: "platter1", label: "PLATTER-1 I/O", unit: "%", color: "#ff8c00", data: P(55, 25) },
|
|
4485
|
+
{ id: "platter2", label: "PLATTER-2 I/O", unit: "%", color: "#ff8c00", data: P(35, 18) },
|
|
4486
|
+
{ id: "connpool", label: "CONN-POOL", unit: "%", color: "#00e5ff", data: P(o, 15) },
|
|
4487
|
+
{ id: "cache", label: "QUERY-CACHE", unit: "%", color: "#00ff88", data: P(75, 12) }
|
|
4420
4488
|
];
|
|
4421
4489
|
}
|
|
4422
4490
|
return [];
|
|
@@ -4430,7 +4498,7 @@ function ht({
|
|
|
4430
4498
|
delay: a = "0s",
|
|
4431
4499
|
children: s
|
|
4432
4500
|
}) {
|
|
4433
|
-
const l = r ?
|
|
4501
|
+
const l = r ? w[r]?.glow ?? "rgba(0,229,255,0.4)" : "rgba(0,229,255,0.4)";
|
|
4434
4502
|
return /* @__PURE__ */ d(
|
|
4435
4503
|
"div",
|
|
4436
4504
|
{
|
|
@@ -4471,8 +4539,8 @@ function ht({
|
|
|
4471
4539
|
width: 4,
|
|
4472
4540
|
height: 4,
|
|
4473
4541
|
borderRadius: "50%",
|
|
4474
|
-
background:
|
|
4475
|
-
boxShadow: `0 0 6px ${
|
|
4542
|
+
background: w[r]?.color,
|
|
4543
|
+
boxShadow: `0 0 6px ${w[r]?.color}`,
|
|
4476
4544
|
animation: "holo-led-blink 1.2s infinite"
|
|
4477
4545
|
}
|
|
4478
4546
|
}
|
|
@@ -4514,7 +4582,7 @@ function ht({
|
|
|
4514
4582
|
}
|
|
4515
4583
|
);
|
|
4516
4584
|
}
|
|
4517
|
-
function
|
|
4585
|
+
function De({
|
|
4518
4586
|
color: t = "#00e5ff",
|
|
4519
4587
|
label: n = "CPU-0",
|
|
4520
4588
|
status: o = "online",
|
|
@@ -4598,8 +4666,8 @@ function Oe({
|
|
|
4598
4666
|
width: 4,
|
|
4599
4667
|
height: 4,
|
|
4600
4668
|
borderRadius: "50%",
|
|
4601
|
-
background:
|
|
4602
|
-
boxShadow: `0 0 6px ${
|
|
4669
|
+
background: w[o]?.color,
|
|
4670
|
+
boxShadow: `0 0 6px ${w[o]?.color}`,
|
|
4603
4671
|
animation: "holo-led-blink 1.2s infinite"
|
|
4604
4672
|
}
|
|
4605
4673
|
}
|
|
@@ -4625,7 +4693,7 @@ function Oe({
|
|
|
4625
4693
|
)
|
|
4626
4694
|
] });
|
|
4627
4695
|
}
|
|
4628
|
-
function
|
|
4696
|
+
function We({
|
|
4629
4697
|
color: t = "#00e5ff",
|
|
4630
4698
|
label: n = "HEAP-0",
|
|
4631
4699
|
status: o = "online",
|
|
@@ -4696,7 +4764,7 @@ function De({
|
|
|
4696
4764
|
width: 3,
|
|
4697
4765
|
height: 3,
|
|
4698
4766
|
borderRadius: "50%",
|
|
4699
|
-
background:
|
|
4767
|
+
background: w[o]?.color,
|
|
4700
4768
|
animation: "holo-led-blink 1.2s infinite"
|
|
4701
4769
|
}
|
|
4702
4770
|
}
|
|
@@ -4825,14 +4893,14 @@ function ut({
|
|
|
4825
4893
|
}
|
|
4826
4894
|
);
|
|
4827
4895
|
}
|
|
4828
|
-
function
|
|
4896
|
+
function O({
|
|
4829
4897
|
color: t = "#00e5ff",
|
|
4830
4898
|
label: n = "THREAD",
|
|
4831
4899
|
status: o = "online"
|
|
4832
4900
|
}) {
|
|
4833
4901
|
return /* @__PURE__ */ e(ht, { w: 44, h: 28, color: t, label: n, status: o });
|
|
4834
4902
|
}
|
|
4835
|
-
function
|
|
4903
|
+
function Ie({
|
|
4836
4904
|
color: t = "#ff8c00",
|
|
4837
4905
|
label: n = "PLATTER-0",
|
|
4838
4906
|
status: o = "online",
|
|
@@ -4890,7 +4958,7 @@ function Le({
|
|
|
4890
4958
|
width: 4,
|
|
4891
4959
|
height: 4,
|
|
4892
4960
|
borderRadius: "50%",
|
|
4893
|
-
background:
|
|
4961
|
+
background: w[o]?.color,
|
|
4894
4962
|
animation: "holo-led-blink 1.2s infinite"
|
|
4895
4963
|
}
|
|
4896
4964
|
}
|
|
@@ -4916,7 +4984,7 @@ function Le({
|
|
|
4916
4984
|
)
|
|
4917
4985
|
] });
|
|
4918
4986
|
}
|
|
4919
|
-
function
|
|
4987
|
+
function B({
|
|
4920
4988
|
color: t = "#00e5ff",
|
|
4921
4989
|
label: n = "PORT-1",
|
|
4922
4990
|
status: o = "online"
|
|
@@ -4945,7 +5013,7 @@ function M({
|
|
|
4945
5013
|
width: 4,
|
|
4946
5014
|
height: 4,
|
|
4947
5015
|
borderRadius: "50%",
|
|
4948
|
-
background: o && o !== "online" ?
|
|
5016
|
+
background: o && o !== "online" ? w[o]?.color ?? t : t,
|
|
4949
5017
|
boxShadow: `0 0 4px ${t}`,
|
|
4950
5018
|
animation: o && o !== "online" && o !== "offline" ? "holo-led-blink 1s infinite" : "none"
|
|
4951
5019
|
}
|
|
@@ -5125,14 +5193,14 @@ function ri({
|
|
|
5125
5193
|
internal: i,
|
|
5126
5194
|
revealPhase: r
|
|
5127
5195
|
}) {
|
|
5128
|
-
const a =
|
|
5196
|
+
const a = w[n]?.color ?? w.online.color, s = "#ff8c00";
|
|
5129
5197
|
if (t === "server") {
|
|
5130
|
-
const l = o.cpuLoad ?? 50,
|
|
5198
|
+
const l = o.cpuLoad ?? 50, h = o.memLoad ?? 60, c = [
|
|
5131
5199
|
{
|
|
5132
5200
|
key: "cpu0",
|
|
5133
5201
|
delay: 0,
|
|
5134
5202
|
el: /* @__PURE__ */ e(
|
|
5135
|
-
|
|
5203
|
+
De,
|
|
5136
5204
|
{
|
|
5137
5205
|
color: a,
|
|
5138
5206
|
label: "CPU-0",
|
|
@@ -5146,7 +5214,7 @@ function ri({
|
|
|
5146
5214
|
key: "cpu1",
|
|
5147
5215
|
delay: 1,
|
|
5148
5216
|
el: /* @__PURE__ */ e(
|
|
5149
|
-
|
|
5217
|
+
De,
|
|
5150
5218
|
{
|
|
5151
5219
|
color: a,
|
|
5152
5220
|
label: "CPU-1",
|
|
@@ -5160,12 +5228,12 @@ function ri({
|
|
|
5160
5228
|
key: "heap0",
|
|
5161
5229
|
delay: 2,
|
|
5162
5230
|
el: /* @__PURE__ */ e(
|
|
5163
|
-
|
|
5231
|
+
We,
|
|
5164
5232
|
{
|
|
5165
5233
|
color: "#8855ee",
|
|
5166
5234
|
label: "HEAP-0",
|
|
5167
5235
|
status: i[2]?.status,
|
|
5168
|
-
usedPercent:
|
|
5236
|
+
usedPercent: h,
|
|
5169
5237
|
delay: "0.1s"
|
|
5170
5238
|
}
|
|
5171
5239
|
)
|
|
@@ -5174,12 +5242,12 @@ function ri({
|
|
|
5174
5242
|
key: "heap1",
|
|
5175
5243
|
delay: 3,
|
|
5176
5244
|
el: /* @__PURE__ */ e(
|
|
5177
|
-
|
|
5245
|
+
We,
|
|
5178
5246
|
{
|
|
5179
5247
|
color: "#8855ee",
|
|
5180
5248
|
label: "HEAP-1",
|
|
5181
5249
|
status: i[3]?.status,
|
|
5182
|
-
usedPercent:
|
|
5250
|
+
usedPercent: h * 0.85,
|
|
5183
5251
|
delay: "0.3s"
|
|
5184
5252
|
}
|
|
5185
5253
|
)
|
|
@@ -5218,7 +5286,7 @@ function ri({
|
|
|
5218
5286
|
{
|
|
5219
5287
|
key: "thread",
|
|
5220
5288
|
delay: 7,
|
|
5221
|
-
el: /* @__PURE__ */ e(
|
|
5289
|
+
el: /* @__PURE__ */ e(O, { color: a, label: "THREAD-POOL", status: i[7]?.status })
|
|
5222
5290
|
},
|
|
5223
5291
|
{
|
|
5224
5292
|
key: "net",
|
|
@@ -5237,15 +5305,15 @@ function ri({
|
|
|
5237
5305
|
alignItems: "center",
|
|
5238
5306
|
padding: 24
|
|
5239
5307
|
},
|
|
5240
|
-
children: c.map(({ key: p, delay:
|
|
5308
|
+
children: c.map(({ key: p, delay: f, el: y }) => /* @__PURE__ */ e(
|
|
5241
5309
|
"div",
|
|
5242
5310
|
{
|
|
5243
5311
|
style: {
|
|
5244
|
-
opacity: r >= 0.2 +
|
|
5245
|
-
transform: `scale(${r >= 0.2 +
|
|
5246
|
-
transition: `opacity 0.4s ${E} ${
|
|
5312
|
+
opacity: r >= 0.2 + f * 0.08 ? 1 : 0,
|
|
5313
|
+
transform: `scale(${r >= 0.2 + f * 0.08 ? 1 : 0.6})`,
|
|
5314
|
+
transition: `opacity 0.4s ${E} ${f * 0.06}s, transform 0.45s ${E} ${f * 0.06}s`
|
|
5247
5315
|
},
|
|
5248
|
-
children:
|
|
5316
|
+
children: y
|
|
5249
5317
|
},
|
|
5250
5318
|
p
|
|
5251
5319
|
))
|
|
@@ -5253,7 +5321,7 @@ function ri({
|
|
|
5253
5321
|
);
|
|
5254
5322
|
}
|
|
5255
5323
|
if (t === "dispatcher") {
|
|
5256
|
-
const l = Array.from({ length: 8 }, (
|
|
5324
|
+
const l = Array.from({ length: 8 }, (h, c) => {
|
|
5257
5325
|
const p = i[c];
|
|
5258
5326
|
return /* @__PURE__ */ e(
|
|
5259
5327
|
"div",
|
|
@@ -5263,7 +5331,7 @@ function ri({
|
|
|
5263
5331
|
transform: `scale(${r >= 0.25 + c * 0.04 ? 1 : 0.5})`,
|
|
5264
5332
|
transition: `opacity 0.35s ${E} ${c * 0.04}s, transform 0.4s ${E} ${c * 0.04}s`
|
|
5265
5333
|
},
|
|
5266
|
-
children: /* @__PURE__ */ e(
|
|
5334
|
+
children: /* @__PURE__ */ e(B, { color: a, label: `PORT-${c + 1}`, status: p?.status })
|
|
5267
5335
|
},
|
|
5268
5336
|
`p${c}`
|
|
5269
5337
|
);
|
|
@@ -5289,7 +5357,7 @@ function ri({
|
|
|
5289
5357
|
transform: `scale(${r >= 0.7 ? 1 : 0.6})`,
|
|
5290
5358
|
transition: `all 0.4s ${E} 0.3s`
|
|
5291
5359
|
},
|
|
5292
|
-
children: /* @__PURE__ */ e(
|
|
5360
|
+
children: /* @__PURE__ */ e(O, { color: a, label: "HTTP-WORKER", status: i[8]?.status })
|
|
5293
5361
|
}
|
|
5294
5362
|
),
|
|
5295
5363
|
/* @__PURE__ */ e(
|
|
@@ -5300,7 +5368,7 @@ function ri({
|
|
|
5300
5368
|
transform: `scale(${r >= 0.8 ? 1 : 0.6})`,
|
|
5301
5369
|
transition: `all 0.4s ${E} 0.4s`
|
|
5302
5370
|
},
|
|
5303
|
-
children: /* @__PURE__ */ e(
|
|
5371
|
+
children: /* @__PURE__ */ e(O, { color: "#bb55ff", label: "HTTPS-WORKER", status: i[9]?.status })
|
|
5304
5372
|
}
|
|
5305
5373
|
)
|
|
5306
5374
|
] })
|
|
@@ -5329,7 +5397,7 @@ function ri({
|
|
|
5329
5397
|
transform: `scale(${r >= 0.25 + l * 0.1 ? 1 : 0.6})`,
|
|
5330
5398
|
transition: `all 0.4s ${E} ${l * 0.08}s`
|
|
5331
5399
|
},
|
|
5332
|
-
children: /* @__PURE__ */ e(
|
|
5400
|
+
children: /* @__PURE__ */ e(B, { color: "#bb55ff", label: `INST-${l}`, status: i[l]?.status })
|
|
5333
5401
|
},
|
|
5334
5402
|
l
|
|
5335
5403
|
)),
|
|
@@ -5341,7 +5409,7 @@ function ri({
|
|
|
5341
5409
|
transform: `scale(${r >= 0.6 ? 1 : 0.6})`,
|
|
5342
5410
|
transition: `all 0.4s ${E} 0.25s`
|
|
5343
5411
|
},
|
|
5344
|
-
children: /* @__PURE__ */ e(
|
|
5412
|
+
children: /* @__PURE__ */ e(O, { color: "#bb55ff", label: "QUEUE-0", status: i[3]?.status })
|
|
5345
5413
|
}
|
|
5346
5414
|
),
|
|
5347
5415
|
[4, 5, 6].map((l) => /* @__PURE__ */ e(
|
|
@@ -5353,7 +5421,7 @@ function ri({
|
|
|
5353
5421
|
transition: `all 0.4s ${E} ${0.35 + (l - 4) * 0.05}s`
|
|
5354
5422
|
},
|
|
5355
5423
|
children: /* @__PURE__ */ e(
|
|
5356
|
-
|
|
5424
|
+
O,
|
|
5357
5425
|
{
|
|
5358
5426
|
color: "#bb55ff",
|
|
5359
5427
|
label: `WORKER-${l - 3}`,
|
|
@@ -5380,25 +5448,25 @@ function ri({
|
|
|
5380
5448
|
padding: 24
|
|
5381
5449
|
},
|
|
5382
5450
|
children: [
|
|
5383
|
-
[0, 1, 2].map((
|
|
5451
|
+
[0, 1, 2].map((h) => /* @__PURE__ */ e(
|
|
5384
5452
|
"div",
|
|
5385
5453
|
{
|
|
5386
5454
|
style: {
|
|
5387
|
-
opacity: r >= 0.2 +
|
|
5388
|
-
transform: `scale(${r >= 0.2 +
|
|
5389
|
-
transition: `all 0.45s ${E} ${
|
|
5455
|
+
opacity: r >= 0.2 + h * 0.12 ? 1 : 0,
|
|
5456
|
+
transform: `scale(${r >= 0.2 + h * 0.12 ? 1 : 0.5})`,
|
|
5457
|
+
transition: `all 0.45s ${E} ${h * 0.1}s`
|
|
5390
5458
|
},
|
|
5391
5459
|
children: /* @__PURE__ */ e(
|
|
5392
|
-
|
|
5460
|
+
Ie,
|
|
5393
5461
|
{
|
|
5394
5462
|
color: s,
|
|
5395
|
-
label: `PLATTER-${
|
|
5396
|
-
status: i[
|
|
5463
|
+
label: `PLATTER-${h}`,
|
|
5464
|
+
status: i[h]?.status,
|
|
5397
5465
|
capacityPercent: l
|
|
5398
5466
|
}
|
|
5399
5467
|
)
|
|
5400
5468
|
},
|
|
5401
|
-
|
|
5469
|
+
h
|
|
5402
5470
|
)),
|
|
5403
5471
|
/* @__PURE__ */ e(
|
|
5404
5472
|
"div",
|
|
@@ -5408,7 +5476,7 @@ function ri({
|
|
|
5408
5476
|
transform: `scale(${r >= 0.6 ? 1 : 0.6})`,
|
|
5409
5477
|
transition: `all 0.4s ${E} 0.3s`
|
|
5410
5478
|
},
|
|
5411
|
-
children: /* @__PURE__ */ e(
|
|
5479
|
+
children: /* @__PURE__ */ e(O, { color: s, label: "CONN-POOL", status: i[3]?.status })
|
|
5412
5480
|
}
|
|
5413
5481
|
),
|
|
5414
5482
|
/* @__PURE__ */ e(
|
|
@@ -5419,7 +5487,7 @@ function ri({
|
|
|
5419
5487
|
transform: `scale(${r >= 0.75 ? 1 : 0.6})`,
|
|
5420
5488
|
transition: `all 0.4s ${E} 0.4s`
|
|
5421
5489
|
},
|
|
5422
|
-
children: /* @__PURE__ */ e(
|
|
5490
|
+
children: /* @__PURE__ */ e(O, { color: "#00ff88", label: "QUERY-CACHE", status: i[4]?.status })
|
|
5423
5491
|
}
|
|
5424
5492
|
)
|
|
5425
5493
|
]
|
|
@@ -5438,7 +5506,7 @@ function wi({
|
|
|
5438
5506
|
subComponents: s,
|
|
5439
5507
|
graphSeries: l
|
|
5440
5508
|
}) {
|
|
5441
|
-
const
|
|
5509
|
+
const h = ii(t, n, o, a), c = w[o]?.color ?? w.online.color, p = r >= 0.1 ? 1 : r * 10, f = r >= 0.2 ? "-50%" : "0%", y = r >= 0.2 ? "50%" : "0%", u = r >= 0.25 ? Math.min(1, (r - 0.25) * 1.5) : 0;
|
|
5442
5510
|
return /* @__PURE__ */ d(
|
|
5443
5511
|
"div",
|
|
5444
5512
|
{
|
|
@@ -5511,7 +5579,7 @@ function wi({
|
|
|
5511
5579
|
background: "linear-gradient(90deg, rgba(2, 8, 20, 0.98) 0%, rgba(2, 12, 28, 0.95) 100%)",
|
|
5512
5580
|
borderRight: `2px solid ${c}44`,
|
|
5513
5581
|
boxShadow: "4px 0 32px rgba(0,0,0,0.6)",
|
|
5514
|
-
transform: `translateX(${
|
|
5582
|
+
transform: `translateX(${f})`,
|
|
5515
5583
|
transition: `transform 0.7s ${E}`
|
|
5516
5584
|
}
|
|
5517
5585
|
}
|
|
@@ -5526,7 +5594,7 @@ function wi({
|
|
|
5526
5594
|
background: "linear-gradient(90deg, rgba(2, 12, 28, 0.95) 0%, rgba(2, 8, 20, 0.98) 100%)",
|
|
5527
5595
|
borderLeft: `2px solid ${c}44`,
|
|
5528
5596
|
boxShadow: "-4px 0 32px rgba(0,0,0,0.6)",
|
|
5529
|
-
transform: `translateX(${
|
|
5597
|
+
transform: `translateX(${y})`,
|
|
5530
5598
|
transition: `transform 0.7s ${E}`
|
|
5531
5599
|
}
|
|
5532
5600
|
}
|
|
@@ -5645,7 +5713,7 @@ function wi({
|
|
|
5645
5713
|
name: n,
|
|
5646
5714
|
status: o,
|
|
5647
5715
|
context: a,
|
|
5648
|
-
internal:
|
|
5716
|
+
internal: h,
|
|
5649
5717
|
revealPhase: u
|
|
5650
5718
|
}
|
|
5651
5719
|
) })
|
|
@@ -5669,28 +5737,28 @@ function Si({
|
|
|
5669
5737
|
fontFamily: s,
|
|
5670
5738
|
children: l
|
|
5671
5739
|
}) {
|
|
5672
|
-
const [
|
|
5673
|
-
u === "compact" && (
|
|
5740
|
+
const [h] = I(20), [c] = I(!1), [p] = I(!0), [f] = I(0.45), [y] = I(3.3), [u, g] = I("compact"), [m, x] = I(0), [v, $] = I(null), [b, k] = I(null), [A, R] = I(0), L = (C) => {
|
|
5741
|
+
u === "compact" && ($(C), g("expanding"), x(0), setTimeout(() => x(1), 50), setTimeout(() => x(2), 800), setTimeout(() => x(3), 1200), setTimeout(() => x(4), 1600), setTimeout(() => x(5), 2e3), setTimeout(() => {
|
|
5674
5742
|
x(6), g("expanded");
|
|
5675
5743
|
}, 2400));
|
|
5676
|
-
},
|
|
5677
|
-
|
|
5744
|
+
}, z = () => {
|
|
5745
|
+
b ? (k(null), R(0)) : u === "expanded" && (g("collapsing"), x(0), $(null), setTimeout(() => {
|
|
5678
5746
|
g((C) => C === "collapsing" ? "compact" : C);
|
|
5679
5747
|
}, 1e3));
|
|
5680
|
-
},
|
|
5681
|
-
|
|
5748
|
+
}, F = (C) => {
|
|
5749
|
+
k(C), R(0);
|
|
5682
5750
|
};
|
|
5683
5751
|
J.useEffect(() => {
|
|
5684
|
-
if (!
|
|
5752
|
+
if (!b) return;
|
|
5685
5753
|
const C = performance.now(), ke = 1200, oe = () => {
|
|
5686
5754
|
const Ne = performance.now() - C, Te = Math.min(1, Ne / ke);
|
|
5687
|
-
|
|
5755
|
+
R(Te), Te < 1 && requestAnimationFrame(oe);
|
|
5688
5756
|
}, le = requestAnimationFrame(oe);
|
|
5689
5757
|
return () => cancelAnimationFrame(le);
|
|
5690
|
-
}, [
|
|
5758
|
+
}, [b]);
|
|
5691
5759
|
const X = () => {
|
|
5692
|
-
|
|
5693
|
-
},
|
|
5760
|
+
k(null), R(0);
|
|
5761
|
+
}, M = o.find((C) => C.name === v), te = M?.status ?? "online", ie = M?.dbSync ?? !0, D = M?.metrics, H = M?.alerts, ne = 330, Se = 340, $e = b ? 1.15 : 1, Q = b ? -(b.ex - ne) * 0.06 : 0, N = b ? -(b.ey - Se) * 0.06 : 0;
|
|
5694
5762
|
return /* @__PURE__ */ d("div", { className: "app", style: s ? { fontFamily: s } : void 0, children: [
|
|
5695
5763
|
/* @__PURE__ */ e(
|
|
5696
5764
|
"div",
|
|
@@ -5724,30 +5792,30 @@ function Si({
|
|
|
5724
5792
|
style: {
|
|
5725
5793
|
cursor: u === "expanded" ? "zoom-out" : "default"
|
|
5726
5794
|
},
|
|
5727
|
-
onClick:
|
|
5795
|
+
onClick: z,
|
|
5728
5796
|
children: /* @__PURE__ */ e(
|
|
5729
5797
|
Wt,
|
|
5730
5798
|
{
|
|
5731
5799
|
viewState: u,
|
|
5732
5800
|
animPhase: m,
|
|
5733
|
-
selectedSystem:
|
|
5734
|
-
selectedComponent:
|
|
5735
|
-
drillAnimPhase:
|
|
5736
|
-
rotateY:
|
|
5801
|
+
selectedSystem: v,
|
|
5802
|
+
selectedComponent: b,
|
|
5803
|
+
drillAnimPhase: A,
|
|
5804
|
+
rotateY: h,
|
|
5737
5805
|
autoRotateComponents: c,
|
|
5738
|
-
componentScale:
|
|
5739
|
-
drillZoom:
|
|
5806
|
+
componentScale: f,
|
|
5807
|
+
drillZoom: y,
|
|
5740
5808
|
autoRotateCarousel: p,
|
|
5741
5809
|
carouselSpeed: a,
|
|
5742
5810
|
logoUrl: r,
|
|
5743
|
-
onSelectSystem:
|
|
5744
|
-
onBackgroundClick:
|
|
5745
|
-
onComponentClick:
|
|
5811
|
+
onSelectSystem: L,
|
|
5812
|
+
onBackgroundClick: z,
|
|
5813
|
+
onComponentClick: F,
|
|
5746
5814
|
onCloseDrill: X,
|
|
5747
5815
|
selectedSystemStatus: te,
|
|
5748
5816
|
selectedSystemDbSync: ie,
|
|
5749
|
-
selectedSystemMetrics:
|
|
5750
|
-
selectedSystemAlerts:
|
|
5817
|
+
selectedSystemMetrics: D,
|
|
5818
|
+
selectedSystemAlerts: H,
|
|
5751
5819
|
children: l
|
|
5752
5820
|
}
|
|
5753
5821
|
)
|
|
@@ -5755,7 +5823,7 @@ function Si({
|
|
|
5755
5823
|
)
|
|
5756
5824
|
] });
|
|
5757
5825
|
}
|
|
5758
|
-
function
|
|
5826
|
+
function S(t, n, o = 24) {
|
|
5759
5827
|
return Array.from({ length: o }, (i, r) => {
|
|
5760
5828
|
const a = r / o;
|
|
5761
5829
|
return Math.min(100, Math.max(0, t + Math.sin(a * Math.PI * 2) * n + (Math.random() - 0.5) * 10));
|
|
@@ -5765,97 +5833,97 @@ function bt(t) {
|
|
|
5765
5833
|
return t === "critical" || t === "offline" ? "#ff2255" : t === "warning" ? "#ff8c00" : "#00e5ff";
|
|
5766
5834
|
}
|
|
5767
5835
|
function me(t, n, o) {
|
|
5768
|
-
const i = t === "online" ? "online" : t, r = bt(t), a = o?.cpuLoad ?? 50, s = o?.memLoad ?? 60, l = i === "critical" || i === "warning" && a > 80 ? i : "online",
|
|
5836
|
+
const i = t === "online" ? "online" : t, r = bt(t), a = o?.cpuLoad ?? 50, s = o?.memLoad ?? 60, l = i === "critical" || i === "warning" && a > 80 ? i : "online", h = i === "warning" && s > 85 ? "warning" : i === "critical" ? "critical" : "online", c = i === "critical" && n === "APP-03" ? "critical" : "online", p = i === "offline" ? "offline" : "online";
|
|
5769
5837
|
return [
|
|
5770
|
-
{ id: "cpu-0", label: "CPU-0", status: l, detail: i === "critical" ? "Core overload" : i === "warning" ? "Load spike" : void 0, element: /* @__PURE__ */ e(
|
|
5771
|
-
{ id: "cpu-1", label: "CPU-1", status: "online", element: /* @__PURE__ */ e(
|
|
5772
|
-
{ id: "heap-0", label: "HEAP-0", status:
|
|
5773
|
-
{ id: "heap-1", label: "HEAP-1", status: "online", element: /* @__PURE__ */ e(
|
|
5838
|
+
{ id: "cpu-0", label: "CPU-0", status: l, detail: i === "critical" ? "Core overload" : i === "warning" ? "Load spike" : void 0, element: /* @__PURE__ */ e(De, { color: r, label: "CPU-0", status: l, load: a }) },
|
|
5839
|
+
{ id: "cpu-1", label: "CPU-1", status: "online", element: /* @__PURE__ */ e(De, { color: r, label: "CPU-1", status: "online", load: a * 0.7 }) },
|
|
5840
|
+
{ id: "heap-0", label: "HEAP-0", status: h, detail: h === "warning" ? "Memory heap usage" : h === "critical" ? "OOM risk" : void 0, element: /* @__PURE__ */ e(We, { color: "#8855ee", label: "HEAP-0", status: h, usedPercent: s }) },
|
|
5841
|
+
{ id: "heap-1", label: "HEAP-1", status: "online", element: /* @__PURE__ */ e(We, { color: "#8855ee", label: "HEAP-1", status: "online", usedPercent: s * 0.85 }) },
|
|
5774
5842
|
{ id: "drive-1", label: "DRIVE-1", status: "online", element: /* @__PURE__ */ e(ye, { color: r, label: "DRIVE-1", status: "online", activity: !0 }) },
|
|
5775
5843
|
{ id: "drive-2", label: "DRIVE-2", status: "online", element: /* @__PURE__ */ e(ye, { color: r, label: "DRIVE-2", status: "online", activity: a > 30 }) },
|
|
5776
5844
|
{ id: "drive-3", label: "DRIVE-3", status: "online", element: /* @__PURE__ */ e(ye, { color: r, label: "DRIVE-3", status: "online", activity: a > 50 }) },
|
|
5777
|
-
{ id: "thread-pool", label: "THREAD-POOL", status: c, detail: c === "critical" ? "Thread exhaustion" : void 0, element: /* @__PURE__ */ e(
|
|
5845
|
+
{ id: "thread-pool", label: "THREAD-POOL", status: c, detail: c === "critical" ? "Thread exhaustion" : void 0, element: /* @__PURE__ */ e(O, { color: r, label: "THREAD-POOL", status: c }) },
|
|
5778
5846
|
{ id: "network", label: "NET", status: p, element: /* @__PURE__ */ e(ut, { color: r, label: "NET", status: p }) }
|
|
5779
5847
|
];
|
|
5780
5848
|
}
|
|
5781
5849
|
function xe(t) {
|
|
5782
5850
|
const n = t?.cpuLoad ?? 50, o = t?.memLoad ?? 60;
|
|
5783
5851
|
return [
|
|
5784
|
-
{ id: "cpu", label: "CPU-0", unit: "%", color: "#00e5ff", data:
|
|
5785
|
-
{ id: "cpu1", label: "CPU-1", unit: "%", color: "#00e5ff", data:
|
|
5786
|
-
{ id: "heap0", label: "HEAP-0", unit: "%", color: "#8855ee", data:
|
|
5787
|
-
{ id: "heap1", label: "HEAP-1", unit: "%", color: "#8855ee", data:
|
|
5788
|
-
{ id: "drive1", label: "DRIVE-1 I/O", unit: "%", color: "#ff8c00", data:
|
|
5789
|
-
{ id: "drive2", label: "DRIVE-2 I/O", unit: "%", color: "#ff8c00", data:
|
|
5790
|
-
{ id: "drive3", label: "DRIVE-3 I/O", unit: "%", color: "#ff8c00", data:
|
|
5791
|
-
{ id: "thread", label: "THREAD-POOL", unit: "%", color: "#22aaff", data:
|
|
5852
|
+
{ id: "cpu", label: "CPU-0", unit: "%", color: "#00e5ff", data: S(n, 15) },
|
|
5853
|
+
{ id: "cpu1", label: "CPU-1", unit: "%", color: "#00e5ff", data: S(n * 0.7, 12) },
|
|
5854
|
+
{ id: "heap0", label: "HEAP-0", unit: "%", color: "#8855ee", data: S(o, 18) },
|
|
5855
|
+
{ id: "heap1", label: "HEAP-1", unit: "%", color: "#8855ee", data: S(o * 0.85, 14) },
|
|
5856
|
+
{ id: "drive1", label: "DRIVE-1 I/O", unit: "%", color: "#ff8c00", data: S(40, 25) },
|
|
5857
|
+
{ id: "drive2", label: "DRIVE-2 I/O", unit: "%", color: "#ff8c00", data: S(35, 20) },
|
|
5858
|
+
{ id: "drive3", label: "DRIVE-3 I/O", unit: "%", color: "#ff8c00", data: S(30, 22) },
|
|
5859
|
+
{ id: "thread", label: "THREAD-POOL", unit: "%", color: "#22aaff", data: S(55, 20) }
|
|
5792
5860
|
];
|
|
5793
5861
|
}
|
|
5794
5862
|
function gt(t, n, o) {
|
|
5795
5863
|
const i = t === "online" ? "online" : t, r = bt(t), a = i === "critical" || i === "offline" ? i : "online", s = i === "warning" ? "warning" : "online", l = i === "critical" ? "critical" : "online";
|
|
5796
5864
|
return [
|
|
5797
|
-
{ id: "port-1", label: "PORT-1", status: "online", element: /* @__PURE__ */ e(
|
|
5798
|
-
{ id: "port-2", label: "PORT-2", status: "online", element: /* @__PURE__ */ e(
|
|
5799
|
-
{ id: "port-3", label: "PORT-3", status: a, detail: i === "critical" ? "Gateway timeout" : i === "offline" ? "Unreachable" : void 0, element: /* @__PURE__ */ e(
|
|
5800
|
-
{ id: "port-4", label: "PORT-4", status: "online", element: /* @__PURE__ */ e(
|
|
5801
|
-
{ id: "port-5", label: "PORT-5", status: s, detail: s === "warning" ? "Latency spike" : void 0, element: /* @__PURE__ */ e(
|
|
5802
|
-
{ id: "port-6", label: "PORT-6", status: "online", element: /* @__PURE__ */ e(
|
|
5803
|
-
{ id: "port-7", label: "PORT-7", status: "online", element: /* @__PURE__ */ e(
|
|
5804
|
-
{ id: "port-8", label: "PORT-8", status: "online", element: /* @__PURE__ */ e(
|
|
5805
|
-
{ id: "http-worker", label: "HTTP-WORKER", status: l, detail: l === "critical" ? "Worker timeout" : void 0, element: /* @__PURE__ */ e(
|
|
5806
|
-
{ id: "https-worker", label: "HTTPS-WORKER", status: "online", element: /* @__PURE__ */ e(
|
|
5865
|
+
{ id: "port-1", label: "PORT-1", status: "online", element: /* @__PURE__ */ e(B, { color: r, label: "PORT-1", status: "online" }) },
|
|
5866
|
+
{ id: "port-2", label: "PORT-2", status: "online", element: /* @__PURE__ */ e(B, { color: r, label: "PORT-2", status: "online" }) },
|
|
5867
|
+
{ id: "port-3", label: "PORT-3", status: a, detail: i === "critical" ? "Gateway timeout" : i === "offline" ? "Unreachable" : void 0, element: /* @__PURE__ */ e(B, { color: r, label: "PORT-3", status: a }) },
|
|
5868
|
+
{ id: "port-4", label: "PORT-4", status: "online", element: /* @__PURE__ */ e(B, { color: r, label: "PORT-4", status: "online" }) },
|
|
5869
|
+
{ id: "port-5", label: "PORT-5", status: s, detail: s === "warning" ? "Latency spike" : void 0, element: /* @__PURE__ */ e(B, { color: r, label: "PORT-5", status: s }) },
|
|
5870
|
+
{ id: "port-6", label: "PORT-6", status: "online", element: /* @__PURE__ */ e(B, { color: r, label: "PORT-6", status: "online" }) },
|
|
5871
|
+
{ id: "port-7", label: "PORT-7", status: "online", element: /* @__PURE__ */ e(B, { color: r, label: "PORT-7", status: "online" }) },
|
|
5872
|
+
{ id: "port-8", label: "PORT-8", status: "online", element: /* @__PURE__ */ e(B, { color: r, label: "PORT-8", status: "online" }) },
|
|
5873
|
+
{ id: "http-worker", label: "HTTP-WORKER", status: l, detail: l === "critical" ? "Worker timeout" : void 0, element: /* @__PURE__ */ e(O, { color: r, label: "HTTP-WORKER", status: l }) },
|
|
5874
|
+
{ id: "https-worker", label: "HTTPS-WORKER", status: "online", element: /* @__PURE__ */ e(O, { color: "#bb55ff", label: "HTTPS-WORKER", status: "online" }) }
|
|
5807
5875
|
];
|
|
5808
5876
|
}
|
|
5809
5877
|
function yt(t) {
|
|
5810
5878
|
const n = t?.traffic ?? 50;
|
|
5811
5879
|
return [
|
|
5812
|
-
{ id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data:
|
|
5813
|
-
{ id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data:
|
|
5814
|
-
{ id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data:
|
|
5815
|
-
{ id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data:
|
|
5816
|
-
{ id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data:
|
|
5880
|
+
{ id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: S(n, 20) },
|
|
5881
|
+
{ id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data: S(60, 25) },
|
|
5882
|
+
{ id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data: S(45, 20) },
|
|
5883
|
+
{ id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data: S(70, 30) },
|
|
5884
|
+
{ id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: S(n * 0.9, 15) }
|
|
5817
5885
|
];
|
|
5818
5886
|
}
|
|
5819
5887
|
function ai(t, n, o) {
|
|
5820
5888
|
const i = t === "online" ? "online" : t, r = i === "critical" ? "critical" : "online", a = i === "critical" || i === "offline" ? i : i === "warning" ? "warning" : "online", s = i === "critical" ? "critical" : "online";
|
|
5821
5889
|
return [
|
|
5822
|
-
{ id: "inst-0", label: "INST-0", status: "online", element: /* @__PURE__ */ e(
|
|
5823
|
-
{ id: "inst-1", label: "INST-1", status: "online", element: /* @__PURE__ */ e(
|
|
5824
|
-
{ id: "inst-2", label: "INST-2", status: r, detail: r === "critical" ? "Instance unreachable" : void 0, element: /* @__PURE__ */ e(
|
|
5825
|
-
{ 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(
|
|
5826
|
-
{ id: "worker-1", label: "WORKER-1", status: "online", element: /* @__PURE__ */ e(
|
|
5827
|
-
{ id: "worker-2", label: "WORKER-2", status: "online", element: /* @__PURE__ */ e(
|
|
5828
|
-
{ id: "worker-3", label: "WORKER-3", status: s, detail: s === "critical" ? "Worker timeout" : void 0, element: /* @__PURE__ */ e(
|
|
5890
|
+
{ id: "inst-0", label: "INST-0", status: "online", element: /* @__PURE__ */ e(B, { color: "#bb55ff", label: "INST-0", status: "online" }) },
|
|
5891
|
+
{ id: "inst-1", label: "INST-1", status: "online", element: /* @__PURE__ */ e(B, { color: "#bb55ff", label: "INST-1", status: "online" }) },
|
|
5892
|
+
{ id: "inst-2", label: "INST-2", status: r, detail: r === "critical" ? "Instance unreachable" : void 0, element: /* @__PURE__ */ e(B, { color: "#bb55ff", label: "INST-2", status: r }) },
|
|
5893
|
+
{ 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(O, { color: "#bb55ff", label: "QUEUE-0", status: a }) },
|
|
5894
|
+
{ id: "worker-1", label: "WORKER-1", status: "online", element: /* @__PURE__ */ e(O, { color: "#bb55ff", label: "WORKER-1", status: "online" }) },
|
|
5895
|
+
{ id: "worker-2", label: "WORKER-2", status: "online", element: /* @__PURE__ */ e(O, { color: "#bb55ff", label: "WORKER-2", status: "online" }) },
|
|
5896
|
+
{ id: "worker-3", label: "WORKER-3", status: s, detail: s === "critical" ? "Worker timeout" : void 0, element: /* @__PURE__ */ e(O, { color: "#bb55ff", label: "WORKER-3", status: s }) }
|
|
5829
5897
|
];
|
|
5830
5898
|
}
|
|
5831
5899
|
function li(t) {
|
|
5832
5900
|
const n = t?.queueDepth ?? 50;
|
|
5833
5901
|
return [
|
|
5834
|
-
{ id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data:
|
|
5835
|
-
{ id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data:
|
|
5836
|
-
{ id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data:
|
|
5837
|
-
{ id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data:
|
|
5838
|
-
{ id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data:
|
|
5902
|
+
{ id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: S(n, 20) },
|
|
5903
|
+
{ id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data: S(60, 25) },
|
|
5904
|
+
{ id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data: S(45, 20) },
|
|
5905
|
+
{ id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data: S(70, 30) },
|
|
5906
|
+
{ id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: S(n * 0.9, 15) }
|
|
5839
5907
|
];
|
|
5840
5908
|
}
|
|
5841
|
-
function
|
|
5842
|
-
const i = t === "online" ? "online" : t, r = "#ff8c00", a = o?.capacity ?? 72, s = i === "critical" || i === "offline" ? i : i === "warning" ? "warning" : "online", l = i === "warning" && n === "DB-STB" ? "warning" : "online",
|
|
5909
|
+
function ze(t, n, o) {
|
|
5910
|
+
const i = t === "online" ? "online" : t, r = "#ff8c00", a = o?.capacity ?? 72, s = i === "critical" || i === "offline" ? i : i === "warning" ? "warning" : "online", l = i === "warning" && n === "DB-STB" ? "warning" : "online", h = i === "critical" ? "critical" : "online", c = i === "warning" ? "warning" : "online";
|
|
5843
5911
|
return [
|
|
5844
|
-
{ id: "platter-0", label: "PLATTER-0", status: "online", element: /* @__PURE__ */ e(
|
|
5845
|
-
{ 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(
|
|
5846
|
-
{ id: "platter-2", label: "PLATTER-2", status: l, detail: l === "warning" ? "Replication lag" : void 0, element: /* @__PURE__ */ e(
|
|
5847
|
-
{ id: "conn-pool", label: "CONN-POOL", status:
|
|
5848
|
-
{ id: "query-cache", label: "QUERY-CACHE", status: c, detail: c === "warning" ? "Cache miss rate" : void 0, element: /* @__PURE__ */ e(
|
|
5912
|
+
{ id: "platter-0", label: "PLATTER-0", status: "online", element: /* @__PURE__ */ e(Ie, { color: r, label: "PLATTER-0", status: "online", capacityPercent: a }) },
|
|
5913
|
+
{ 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(Ie, { color: r, label: "PLATTER-1", status: s, capacityPercent: a }) },
|
|
5914
|
+
{ id: "platter-2", label: "PLATTER-2", status: l, detail: l === "warning" ? "Replication lag" : void 0, element: /* @__PURE__ */ e(Ie, { color: r, label: "PLATTER-2", status: l, capacityPercent: a }) },
|
|
5915
|
+
{ id: "conn-pool", label: "CONN-POOL", status: h, detail: h === "critical" ? "Pool exhausted" : void 0, element: /* @__PURE__ */ e(O, { color: r, label: "CONN-POOL", status: h }) },
|
|
5916
|
+
{ id: "query-cache", label: "QUERY-CACHE", status: c, detail: c === "warning" ? "Cache miss rate" : void 0, element: /* @__PURE__ */ e(O, { color: "#00ff88", label: "QUERY-CACHE", status: c }) }
|
|
5849
5917
|
];
|
|
5850
5918
|
}
|
|
5851
|
-
function
|
|
5919
|
+
function Me(t) {
|
|
5852
5920
|
const n = t?.capacity ?? 70;
|
|
5853
5921
|
return [
|
|
5854
|
-
{ id: "platter0", label: "PLATTER-0 I/O", unit: "%", color: "#ff8c00", data:
|
|
5855
|
-
{ id: "platter1", label: "PLATTER-1 I/O", unit: "%", color: "#ff8c00", data:
|
|
5856
|
-
{ id: "platter2", label: "PLATTER-2 I/O", unit: "%", color: "#ff8c00", data:
|
|
5857
|
-
{ id: "connpool", label: "CONN-POOL", unit: "%", color: "#00e5ff", data:
|
|
5858
|
-
{ id: "cache", label: "QUERY-CACHE", unit: "%", color: "#00ff88", data:
|
|
5922
|
+
{ id: "platter0", label: "PLATTER-0 I/O", unit: "%", color: "#ff8c00", data: S(40, 20) },
|
|
5923
|
+
{ id: "platter1", label: "PLATTER-1 I/O", unit: "%", color: "#ff8c00", data: S(55, 25) },
|
|
5924
|
+
{ id: "platter2", label: "PLATTER-2 I/O", unit: "%", color: "#ff8c00", data: S(35, 18) },
|
|
5925
|
+
{ id: "connpool", label: "CONN-POOL", unit: "%", color: "#00e5ff", data: S(n, 15) },
|
|
5926
|
+
{ id: "cache", label: "QUERY-CACHE", unit: "%", color: "#00ff88", data: S(75, 12) }
|
|
5859
5927
|
];
|
|
5860
5928
|
}
|
|
5861
5929
|
function Je(t) {
|
|
@@ -5915,7 +5983,7 @@ const si = [
|
|
|
5915
5983
|
{ from: [495, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" }
|
|
5916
5984
|
];
|
|
5917
5985
|
function di({ config: t }) {
|
|
5918
|
-
const n = J.useContext(ae), o = n?.rotateY ?? 20, i = n?.autoRotateComponents ?? !0, { wdStatus: r, msStatus: a, srv1Status: s, srv2Status: l, srv3Status:
|
|
5986
|
+
const n = J.useContext(ae), o = n?.rotateY ?? 20, i = n?.autoRotateComponents ?? !0, { wdStatus: r, msStatus: a, srv1Status: s, srv2Status: l, srv3Status: h, pdbStatus: c, sdbStatus: p, dbSync: f } = t;
|
|
5919
5987
|
return /* @__PURE__ */ d(Ce, { children: [
|
|
5920
5988
|
/* @__PURE__ */ e(
|
|
5921
5989
|
T,
|
|
@@ -6076,9 +6144,9 @@ function di({ config: t }) {
|
|
|
6076
6144
|
componentInfo: {
|
|
6077
6145
|
type: "server",
|
|
6078
6146
|
name: "APP-03",
|
|
6079
|
-
status:
|
|
6147
|
+
status: h,
|
|
6080
6148
|
context: { cpuLoad: 45, memLoad: 63 },
|
|
6081
|
-
subComponents: me(
|
|
6149
|
+
subComponents: me(h, "APP-03", { cpuLoad: 45, memLoad: 63 }),
|
|
6082
6150
|
graphSeries: xe({ cpuLoad: 45, memLoad: 63 })
|
|
6083
6151
|
},
|
|
6084
6152
|
children: /* @__PURE__ */ e(
|
|
@@ -6086,7 +6154,7 @@ function di({ config: t }) {
|
|
|
6086
6154
|
{
|
|
6087
6155
|
rotateY: o,
|
|
6088
6156
|
autoRotate: i,
|
|
6089
|
-
status:
|
|
6157
|
+
status: h,
|
|
6090
6158
|
name: "APP-03",
|
|
6091
6159
|
cpuLoad: 45,
|
|
6092
6160
|
memLoad: 63,
|
|
@@ -6111,11 +6179,11 @@ function di({ config: t }) {
|
|
|
6111
6179
|
name: "DB-PRI",
|
|
6112
6180
|
status: c,
|
|
6113
6181
|
context: { capacity: 72 },
|
|
6114
|
-
subComponents:
|
|
6115
|
-
graphSeries:
|
|
6182
|
+
subComponents: ze(c, "DB-PRI", { capacity: 72 }),
|
|
6183
|
+
graphSeries: Me({ capacity: 72 })
|
|
6116
6184
|
},
|
|
6117
6185
|
children: /* @__PURE__ */ e(
|
|
6118
|
-
|
|
6186
|
+
Oe,
|
|
6119
6187
|
{
|
|
6120
6188
|
rotateY: -o,
|
|
6121
6189
|
autoRotate: i,
|
|
@@ -6144,11 +6212,11 @@ function di({ config: t }) {
|
|
|
6144
6212
|
name: "DB-STB",
|
|
6145
6213
|
status: p,
|
|
6146
6214
|
context: { capacity: 72 },
|
|
6147
|
-
subComponents:
|
|
6148
|
-
graphSeries:
|
|
6215
|
+
subComponents: ze(p, "DB-STB", { capacity: 72 }),
|
|
6216
|
+
graphSeries: Me({ capacity: 72 })
|
|
6149
6217
|
},
|
|
6150
6218
|
children: /* @__PURE__ */ e(
|
|
6151
|
-
|
|
6219
|
+
Oe,
|
|
6152
6220
|
{
|
|
6153
6221
|
rotateY: o,
|
|
6154
6222
|
autoRotate: i,
|
|
@@ -6171,17 +6239,17 @@ function di({ config: t }) {
|
|
|
6171
6239
|
visibleAtPhase: 6,
|
|
6172
6240
|
fixedScale: 1,
|
|
6173
6241
|
bare: !0,
|
|
6174
|
-
children: /* @__PURE__ */ e(ct, { synced:
|
|
6242
|
+
children: /* @__PURE__ */ e(ct, { synced: f, latencyMs: f ? 8 : 342 })
|
|
6175
6243
|
}
|
|
6176
6244
|
),
|
|
6177
6245
|
/* @__PURE__ */ e(ci, { config: t })
|
|
6178
6246
|
] });
|
|
6179
6247
|
}
|
|
6180
6248
|
function ci({ config: t }) {
|
|
6181
|
-
const n = J.useContext(ae), { wdStatus: o, msStatus: i, srv1Status: r, srv2Status: a, srv3Status: s, pdbStatus: l, sdbStatus:
|
|
6249
|
+
const n = J.useContext(ae), { wdStatus: o, msStatus: i, srv1Status: r, srv2Status: a, srv3Status: s, pdbStatus: l, sdbStatus: h, dbSync: c } = t, p = n?.isSelected && n?.isExpandedPos;
|
|
6182
6250
|
return n?.isSelected ? /* @__PURE__ */ d("div", { style: { pointerEvents: "none" }, children: [
|
|
6183
6251
|
/* @__PURE__ */ e(
|
|
6184
|
-
|
|
6252
|
+
W,
|
|
6185
6253
|
{
|
|
6186
6254
|
ex: 220,
|
|
6187
6255
|
ey: 260,
|
|
@@ -6196,7 +6264,7 @@ function ci({ config: t }) {
|
|
|
6196
6264
|
}
|
|
6197
6265
|
),
|
|
6198
6266
|
/* @__PURE__ */ e(
|
|
6199
|
-
|
|
6267
|
+
W,
|
|
6200
6268
|
{
|
|
6201
6269
|
ex: 440,
|
|
6202
6270
|
ey: 260,
|
|
@@ -6211,7 +6279,7 @@ function ci({ config: t }) {
|
|
|
6211
6279
|
}
|
|
6212
6280
|
),
|
|
6213
6281
|
/* @__PURE__ */ e(
|
|
6214
|
-
|
|
6282
|
+
W,
|
|
6215
6283
|
{
|
|
6216
6284
|
ex: 165,
|
|
6217
6285
|
ey: 390,
|
|
@@ -6226,7 +6294,7 @@ function ci({ config: t }) {
|
|
|
6226
6294
|
}
|
|
6227
6295
|
),
|
|
6228
6296
|
/* @__PURE__ */ e(
|
|
6229
|
-
|
|
6297
|
+
W,
|
|
6230
6298
|
{
|
|
6231
6299
|
ex: 330,
|
|
6232
6300
|
ey: 390,
|
|
@@ -6241,7 +6309,7 @@ function ci({ config: t }) {
|
|
|
6241
6309
|
}
|
|
6242
6310
|
),
|
|
6243
6311
|
/* @__PURE__ */ e(
|
|
6244
|
-
|
|
6312
|
+
W,
|
|
6245
6313
|
{
|
|
6246
6314
|
ex: 495,
|
|
6247
6315
|
ey: 390,
|
|
@@ -6256,7 +6324,7 @@ function ci({ config: t }) {
|
|
|
6256
6324
|
}
|
|
6257
6325
|
),
|
|
6258
6326
|
/* @__PURE__ */ e(
|
|
6259
|
-
|
|
6327
|
+
W,
|
|
6260
6328
|
{
|
|
6261
6329
|
ex: 200,
|
|
6262
6330
|
ey: 520,
|
|
@@ -6271,22 +6339,22 @@ function ci({ config: t }) {
|
|
|
6271
6339
|
}
|
|
6272
6340
|
),
|
|
6273
6341
|
/* @__PURE__ */ e(
|
|
6274
|
-
|
|
6342
|
+
W,
|
|
6275
6343
|
{
|
|
6276
6344
|
ex: 460,
|
|
6277
6345
|
ey: 520,
|
|
6278
|
-
status:
|
|
6346
|
+
status: h,
|
|
6279
6347
|
title: "DB-STB",
|
|
6280
|
-
msg:
|
|
6348
|
+
msg: h === "critical" || h === "offline" ? "Sync failure." : "Replication lag.",
|
|
6281
6349
|
offsetX: 110,
|
|
6282
6350
|
offsetY: 30,
|
|
6283
6351
|
align: "right",
|
|
6284
6352
|
isVisible: !!p,
|
|
6285
|
-
internalRef:
|
|
6353
|
+
internalRef: h !== "online" ? "PLATTER-2" : void 0
|
|
6286
6354
|
}
|
|
6287
6355
|
),
|
|
6288
6356
|
!c && /* @__PURE__ */ e(
|
|
6289
|
-
|
|
6357
|
+
W,
|
|
6290
6358
|
{
|
|
6291
6359
|
ex: 330,
|
|
6292
6360
|
ey: 520,
|
|
@@ -6366,7 +6434,7 @@ const pi = [
|
|
|
6366
6434
|
{ from: [495, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" }
|
|
6367
6435
|
];
|
|
6368
6436
|
function fi({ config: t }) {
|
|
6369
|
-
const n = J.useContext(ae), o = n?.rotateY ?? 20, i = n?.autoRotateComponents ?? !0, { dispStatus: r, srv1Status: a, srv2Status: s, srv3Status: l, pdbStatus:
|
|
6437
|
+
const n = J.useContext(ae), o = n?.rotateY ?? 20, i = n?.autoRotateComponents ?? !0, { dispStatus: r, srv1Status: a, srv2Status: s, srv3Status: l, pdbStatus: h, sdbStatus: c, dbSync: p } = t;
|
|
6370
6438
|
return /* @__PURE__ */ d(Ce, { children: [
|
|
6371
6439
|
/* @__PURE__ */ e(
|
|
6372
6440
|
T,
|
|
@@ -6526,17 +6594,17 @@ function fi({ config: t }) {
|
|
|
6526
6594
|
componentInfo: {
|
|
6527
6595
|
type: "database",
|
|
6528
6596
|
name: "DB-PRI",
|
|
6529
|
-
status:
|
|
6597
|
+
status: h,
|
|
6530
6598
|
context: { capacity: 72 },
|
|
6531
|
-
subComponents:
|
|
6532
|
-
graphSeries:
|
|
6599
|
+
subComponents: ze(h, "DB-PRI", { capacity: 72 }),
|
|
6600
|
+
graphSeries: Me({ capacity: 72 })
|
|
6533
6601
|
},
|
|
6534
6602
|
children: /* @__PURE__ */ e(
|
|
6535
|
-
|
|
6603
|
+
Oe,
|
|
6536
6604
|
{
|
|
6537
6605
|
rotateY: -o,
|
|
6538
6606
|
autoRotate: i,
|
|
6539
|
-
status:
|
|
6607
|
+
status: h,
|
|
6540
6608
|
name: "DB-PRI",
|
|
6541
6609
|
capacity: 72,
|
|
6542
6610
|
connections: 284,
|
|
@@ -6561,11 +6629,11 @@ function fi({ config: t }) {
|
|
|
6561
6629
|
name: "DB-STB",
|
|
6562
6630
|
status: c,
|
|
6563
6631
|
context: { capacity: 72 },
|
|
6564
|
-
subComponents:
|
|
6565
|
-
graphSeries:
|
|
6632
|
+
subComponents: ze(c, "DB-STB", { capacity: 72 }),
|
|
6633
|
+
graphSeries: Me({ capacity: 72 })
|
|
6566
6634
|
},
|
|
6567
6635
|
children: /* @__PURE__ */ e(
|
|
6568
|
-
|
|
6636
|
+
Oe,
|
|
6569
6637
|
{
|
|
6570
6638
|
rotateY: o,
|
|
6571
6639
|
autoRotate: i,
|
|
@@ -6595,10 +6663,10 @@ function fi({ config: t }) {
|
|
|
6595
6663
|
] });
|
|
6596
6664
|
}
|
|
6597
6665
|
function hi({ config: t }) {
|
|
6598
|
-
const n = J.useContext(ae), { dispStatus: o, srv1Status: i, srv2Status: r, srv3Status: a, pdbStatus: s, sdbStatus: l, dbSync:
|
|
6666
|
+
const n = J.useContext(ae), { dispStatus: o, srv1Status: i, srv2Status: r, srv3Status: a, pdbStatus: s, sdbStatus: l, dbSync: h } = t, c = n?.isSelected && n?.isExpandedPos;
|
|
6599
6667
|
return n?.isSelected ? /* @__PURE__ */ d("div", { style: { pointerEvents: "none" }, children: [
|
|
6600
6668
|
/* @__PURE__ */ e(
|
|
6601
|
-
|
|
6669
|
+
W,
|
|
6602
6670
|
{
|
|
6603
6671
|
ex: 330,
|
|
6604
6672
|
ey: 260,
|
|
@@ -6613,7 +6681,7 @@ function hi({ config: t }) {
|
|
|
6613
6681
|
}
|
|
6614
6682
|
),
|
|
6615
6683
|
/* @__PURE__ */ e(
|
|
6616
|
-
|
|
6684
|
+
W,
|
|
6617
6685
|
{
|
|
6618
6686
|
ex: 165,
|
|
6619
6687
|
ey: 390,
|
|
@@ -6628,7 +6696,7 @@ function hi({ config: t }) {
|
|
|
6628
6696
|
}
|
|
6629
6697
|
),
|
|
6630
6698
|
/* @__PURE__ */ e(
|
|
6631
|
-
|
|
6699
|
+
W,
|
|
6632
6700
|
{
|
|
6633
6701
|
ex: 330,
|
|
6634
6702
|
ey: 390,
|
|
@@ -6643,7 +6711,7 @@ function hi({ config: t }) {
|
|
|
6643
6711
|
}
|
|
6644
6712
|
),
|
|
6645
6713
|
/* @__PURE__ */ e(
|
|
6646
|
-
|
|
6714
|
+
W,
|
|
6647
6715
|
{
|
|
6648
6716
|
ex: 495,
|
|
6649
6717
|
ey: 390,
|
|
@@ -6658,7 +6726,7 @@ function hi({ config: t }) {
|
|
|
6658
6726
|
}
|
|
6659
6727
|
),
|
|
6660
6728
|
/* @__PURE__ */ e(
|
|
6661
|
-
|
|
6729
|
+
W,
|
|
6662
6730
|
{
|
|
6663
6731
|
ex: 200,
|
|
6664
6732
|
ey: 520,
|
|
@@ -6673,7 +6741,7 @@ function hi({ config: t }) {
|
|
|
6673
6741
|
}
|
|
6674
6742
|
),
|
|
6675
6743
|
/* @__PURE__ */ e(
|
|
6676
|
-
|
|
6744
|
+
W,
|
|
6677
6745
|
{
|
|
6678
6746
|
ex: 460,
|
|
6679
6747
|
ey: 520,
|
|
@@ -6687,8 +6755,8 @@ function hi({ config: t }) {
|
|
|
6687
6755
|
internalRef: l !== "online" ? "PLATTER-2" : void 0
|
|
6688
6756
|
}
|
|
6689
6757
|
),
|
|
6690
|
-
!
|
|
6691
|
-
|
|
6758
|
+
!h && /* @__PURE__ */ e(
|
|
6759
|
+
W,
|
|
6692
6760
|
{
|
|
6693
6761
|
ex: 330,
|
|
6694
6762
|
ey: 520,
|
|
@@ -6718,13 +6786,13 @@ function Ei({ config: t, ...n }) {
|
|
|
6718
6786
|
}
|
|
6719
6787
|
export {
|
|
6720
6788
|
Si as AIOPsDashboard,
|
|
6721
|
-
|
|
6789
|
+
De as CPU3D,
|
|
6722
6790
|
Wt as Carousel,
|
|
6723
6791
|
Ge as CarouselContext,
|
|
6724
6792
|
Ke as CarouselItemContext,
|
|
6725
6793
|
It as ComponentDialog,
|
|
6726
6794
|
wi as ComponentDrillView,
|
|
6727
|
-
|
|
6795
|
+
Oe as Database3D,
|
|
6728
6796
|
ye as DriveBay3D,
|
|
6729
6797
|
pi as EXCHANGE_CONNECTIONS,
|
|
6730
6798
|
Ei as ExchangeService,
|
|
@@ -6733,17 +6801,17 @@ export {
|
|
|
6733
6801
|
Qe as HOLO_GLASS,
|
|
6734
6802
|
we as HOLO_SURFACE,
|
|
6735
6803
|
ei as HistoricalGraphPanel,
|
|
6736
|
-
|
|
6804
|
+
Nt as HoloBase,
|
|
6737
6805
|
ft as Human3D,
|
|
6738
|
-
|
|
6806
|
+
We as Memory3D,
|
|
6739
6807
|
Zt as MessageServer3D,
|
|
6740
6808
|
ut as NetworkBlock3D,
|
|
6741
|
-
|
|
6742
|
-
|
|
6743
|
-
|
|
6809
|
+
W as NodeCallout,
|
|
6810
|
+
Ie as Platter3D,
|
|
6811
|
+
B as Port3D,
|
|
6744
6812
|
Ri as SAPService,
|
|
6745
6813
|
si as SAP_CONNECTIONS,
|
|
6746
|
-
|
|
6814
|
+
w as STATUS_CFG,
|
|
6747
6815
|
ue as Server3D,
|
|
6748
6816
|
dt as Service,
|
|
6749
6817
|
ae as ServiceContext,
|
|
@@ -6751,7 +6819,7 @@ export {
|
|
|
6751
6819
|
T as ServiceNode,
|
|
6752
6820
|
zt as SvgConnection,
|
|
6753
6821
|
ct as SyncBridge,
|
|
6754
|
-
|
|
6822
|
+
O as ThreadPool3D,
|
|
6755
6823
|
pt as WebDispatcher3D,
|
|
6756
6824
|
Ci as computeExchangeDialogAlerts,
|
|
6757
6825
|
Pi as computeExchangeDialogMetrics,
|
|
@@ -6759,8 +6827,8 @@ export {
|
|
|
6759
6827
|
ki as computeSAPDialogAlerts,
|
|
6760
6828
|
$i as computeSAPDialogMetrics,
|
|
6761
6829
|
Je as computeSAPServiceStatus,
|
|
6762
|
-
|
|
6763
|
-
|
|
6830
|
+
Me as getDatabaseGraphSeries,
|
|
6831
|
+
ze as getDatabaseSubComponents,
|
|
6764
6832
|
yt as getDispatcherGraphSeries,
|
|
6765
6833
|
gt as getDispatcherSubComponents,
|
|
6766
6834
|
li as getMessageServerGraphSeries,
|