ahs-cti 0.0.5 → 0.0.7

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.
Files changed (81) hide show
  1. package/dist/agentDetailReport-ZR7U2LLB.mjs +17 -0
  2. package/dist/{agentPerformanceReport-U2QGVTXF.mjs → agentPerformanceReport-JZK5DN5E.mjs} +59 -57
  3. package/dist/{agentPerformanceReport-U2QGVTXF.mjs.map → agentPerformanceReport-JZK5DN5E.mjs.map} +1 -1
  4. package/dist/{auditReport-DEVQDTDT.mjs → auditReport-6ZUJ4UFO.mjs} +5 -5
  5. package/dist/{callHistory-MRBBY3UO.mjs → callHistory-T3M76D4B.mjs} +147 -156
  6. package/dist/{callHistory-MRBBY3UO.mjs.map → callHistory-T3M76D4B.mjs.map} +1 -1
  7. package/dist/{campaigns-ERO3QM6I.mjs → campaigns-5PVHXBSD.mjs} +384 -386
  8. package/dist/{campaigns-ERO3QM6I.mjs.map → campaigns-5PVHXBSD.mjs.map} +1 -1
  9. package/dist/{caroQualityAuditDashboard-NRWY6SEC.mjs → caroQualityAuditDashboard-EUDYZ3QY.mjs} +6 -5
  10. package/dist/{caroQualityAuditDashboard-NRWY6SEC.mjs.map → caroQualityAuditDashboard-EUDYZ3QY.mjs.map} +1 -1
  11. package/dist/{caroVoiceAI-Z5BDDDSY.mjs → caroVoiceAI-GGJCVUIQ.mjs} +5 -4
  12. package/dist/{caroVoiceAI-Z5BDDDSY.mjs.map → caroVoiceAI-GGJCVUIQ.mjs.map} +1 -1
  13. package/dist/{cdrReport-EZNOCELK.mjs → cdrReport-ZMDHSZUW.mjs} +101 -100
  14. package/dist/{cdrReport-EZNOCELK.mjs.map → cdrReport-ZMDHSZUW.mjs.map} +1 -1
  15. package/dist/{chunk-53DYH64M.mjs → chunk-2M3YEXYA.mjs} +91 -64
  16. package/dist/chunk-2M3YEXYA.mjs.map +1 -0
  17. package/dist/{chunk-ISQBOS5Q.mjs → chunk-33QNSXP7.mjs} +160 -160
  18. package/dist/{chunk-ISQBOS5Q.mjs.map → chunk-33QNSXP7.mjs.map} +1 -1
  19. package/dist/{chunk-YFW47Y76.mjs → chunk-3J7KQNEU.mjs} +15 -12
  20. package/dist/{chunk-YFW47Y76.mjs.map → chunk-3J7KQNEU.mjs.map} +1 -1
  21. package/dist/{chunk-MBHP7UOP.mjs → chunk-6WLG2PXL.mjs} +2 -2
  22. package/dist/{chunk-MBXHRFGP.mjs → chunk-7LE2VTAI.mjs} +2 -2
  23. package/dist/{chunk-MFZKONNR.mjs → chunk-AOJRUZTO.mjs} +2 -2
  24. package/dist/chunk-DF5EFKXC.mjs +28690 -0
  25. package/dist/chunk-DF5EFKXC.mjs.map +1 -0
  26. package/dist/{chunk-5FSMIU5K.mjs → chunk-DJP744FF.mjs} +2 -2
  27. package/dist/{chunk-BVQNDAS6.mjs → chunk-DNTGBNZD.mjs} +18 -14
  28. package/dist/{chunk-BVQNDAS6.mjs.map → chunk-DNTGBNZD.mjs.map} +1 -1
  29. package/dist/{chunk-AJQBR3AZ.mjs → chunk-E6KYWWAI.mjs} +4243 -7804
  30. package/dist/chunk-E6KYWWAI.mjs.map +1 -0
  31. package/dist/{chunk-3DOSR6LQ.mjs → chunk-FRKV2U3I.mjs} +2 -2
  32. package/dist/{chunk-ICGEHYJL.mjs → chunk-H7GRWLYI.mjs} +5 -5
  33. package/dist/{chunk-6MURUWDX.mjs → chunk-IDZWA6HG.mjs} +154 -156
  34. package/dist/{chunk-6MURUWDX.mjs.map → chunk-IDZWA6HG.mjs.map} +1 -1
  35. package/dist/chunk-LHE4QGJJ.mjs +10920 -0
  36. package/dist/chunk-LHE4QGJJ.mjs.map +1 -0
  37. package/dist/{chunk-HBR2JS4C.mjs → chunk-NAZO4HKB.mjs} +8 -4
  38. package/dist/{chunk-HBR2JS4C.mjs.map → chunk-NAZO4HKB.mjs.map} +1 -1
  39. package/dist/{chunk-DXZIYCNQ.mjs → chunk-OHJIW3I3.mjs} +2 -2
  40. package/dist/chunk-Q6G3MPS7.mjs +37797 -0
  41. package/dist/chunk-Q6G3MPS7.mjs.map +1 -0
  42. package/dist/{chunk-QPOHVXUK.mjs → chunk-U2UDKXMB.mjs} +2 -2
  43. package/dist/{chunk-XMRM5VR4.mjs → chunk-VBIDPX5Z.mjs} +18 -14
  44. package/dist/{chunk-XMRM5VR4.mjs.map → chunk-VBIDPX5Z.mjs.map} +1 -1
  45. package/dist/{chunk-6ICPXSN6.mjs → chunk-VVDJLUYT.mjs} +8 -4
  46. package/dist/{chunk-6ICPXSN6.mjs.map → chunk-VVDJLUYT.mjs.map} +1 -1
  47. package/dist/{chunk-XA5SCAZJ.mjs → chunk-WTBVFN4H.mjs} +2 -2
  48. package/dist/{chunk-RSL5OBRQ.mjs → chunk-YAQYTUTX.mjs} +2 -2
  49. package/dist/index.js +117240 -32148
  50. package/dist/index.js.map +1 -1
  51. package/dist/index.mjs +276 -296
  52. package/dist/index.mjs.map +1 -1
  53. package/dist/{liveStatus-F6AKCC27.mjs → liveStatus-YSBYSVOO.mjs} +123 -122
  54. package/dist/{liveStatus-F6AKCC27.mjs.map → liveStatus-YSBYSVOO.mjs.map} +1 -1
  55. package/dist/{loginReport-MWTI4G6O.mjs → loginReport-YIVBJVJD.mjs} +118 -116
  56. package/dist/{loginReport-MWTI4G6O.mjs.map → loginReport-YIVBJVJD.mjs.map} +1 -1
  57. package/dist/managementDashboard-7EMQC2UA.mjs +536 -0
  58. package/dist/{managementDashboard-6UBOCLBA.mjs.map → managementDashboard-7EMQC2UA.mjs.map} +1 -1
  59. package/dist/{qualityAuditDashboard-ZJEEAMBS.mjs → qualityAuditDashboard-ENGQN2WQ.mjs} +6 -5
  60. package/dist/{qualityAuditDashboard-ZJEEAMBS.mjs.map → qualityAuditDashboard-ENGQN2WQ.mjs.map} +1 -1
  61. package/package.json +1 -1
  62. package/dist/agentDetailReport-F7XZLVVO.mjs +0 -16
  63. package/dist/chunk-53DYH64M.mjs.map +0 -1
  64. package/dist/chunk-AJQBR3AZ.mjs.map +0 -1
  65. package/dist/chunk-Q7FIRWF2.mjs +0 -1067
  66. package/dist/chunk-Q7FIRWF2.mjs.map +0 -1
  67. package/dist/chunk-UB5HSUGK.mjs +0 -65
  68. package/dist/chunk-UB5HSUGK.mjs.map +0 -1
  69. package/dist/managementDashboard-6UBOCLBA.mjs +0 -536
  70. /package/dist/{agentDetailReport-F7XZLVVO.mjs.map → agentDetailReport-ZR7U2LLB.mjs.map} +0 -0
  71. /package/dist/{auditReport-DEVQDTDT.mjs.map → auditReport-6ZUJ4UFO.mjs.map} +0 -0
  72. /package/dist/{chunk-MBHP7UOP.mjs.map → chunk-6WLG2PXL.mjs.map} +0 -0
  73. /package/dist/{chunk-MBXHRFGP.mjs.map → chunk-7LE2VTAI.mjs.map} +0 -0
  74. /package/dist/{chunk-MFZKONNR.mjs.map → chunk-AOJRUZTO.mjs.map} +0 -0
  75. /package/dist/{chunk-5FSMIU5K.mjs.map → chunk-DJP744FF.mjs.map} +0 -0
  76. /package/dist/{chunk-3DOSR6LQ.mjs.map → chunk-FRKV2U3I.mjs.map} +0 -0
  77. /package/dist/{chunk-ICGEHYJL.mjs.map → chunk-H7GRWLYI.mjs.map} +0 -0
  78. /package/dist/{chunk-DXZIYCNQ.mjs.map → chunk-OHJIW3I3.mjs.map} +0 -0
  79. /package/dist/{chunk-QPOHVXUK.mjs.map → chunk-U2UDKXMB.mjs.map} +0 -0
  80. /package/dist/{chunk-XA5SCAZJ.mjs.map → chunk-WTBVFN4H.mjs.map} +0 -0
  81. /package/dist/{chunk-RSL5OBRQ.mjs.map → chunk-YAQYTUTX.mjs.map} +0 -0
@@ -1,26 +1,29 @@
1
1
  import {
2
2
  useCallMonitoring
3
- } from "./chunk-QPOHVXUK.mjs";
3
+ } from "./chunk-U2UDKXMB.mjs";
4
4
  import {
5
5
  SDKPermissionGuard
6
- } from "./chunk-YFW47Y76.mjs";
6
+ } from "./chunk-3J7KQNEU.mjs";
7
7
  import {
8
8
  SDKProvider,
9
9
  useToast
10
- } from "./chunk-6ICPXSN6.mjs";
10
+ } from "./chunk-VVDJLUYT.mjs";
11
11
  import {
12
12
  END_POINT,
13
13
  SDK_PERMISSIONS,
14
14
  axios_default
15
- } from "./chunk-Q7FIRWF2.mjs";
15
+ } from "./chunk-LHE4QGJJ.mjs";
16
16
  import {
17
+ Box_default,
18
+ CircularProgress_default,
17
19
  __spreadProps,
18
- __spreadValues
19
- } from "./chunk-UB5HSUGK.mjs";
20
+ __spreadValues,
21
+ keyframes,
22
+ styled_default
23
+ } from "./chunk-Q6G3MPS7.mjs";
20
24
 
21
25
  // call-control-sdk/lib/pages/liveStatus/index.tsx
22
26
  import React, { useCallback as useCallback2, useState as useState2, useEffect as useEffect2 } from "react";
23
- import { Box as Box2, CircularProgress } from "@mui/material";
24
27
 
25
28
  // call-control-sdk/lib/pages/liveStatus/useLiveStatus.ts
26
29
  import { useCallback, useEffect, useRef, useState } from "react";
@@ -164,8 +167,6 @@ function useLiveStatus() {
164
167
  }
165
168
 
166
169
  // call-control-sdk/lib/pages/liveStatus/styles.ts
167
- import { Box, styled } from "@mui/material";
168
- import { keyframes } from "@mui/material/styles";
169
170
  var pulse = keyframes`
170
171
  0%, 100% { transform: scale(1); opacity: 1; }
171
172
  50% { transform: scale(1.6); opacity: 0.3; }
@@ -227,7 +228,7 @@ var STATUS_COLORS = {
227
228
  "s-break": { bg: "#ffebee", border: "rgba(204,42,42,.3)", bar: "#e53935", text: "#c62828" },
228
229
  "s-idle": { bg: "#e8f5e9", border: "rgba(46,125,50,.25)", bar: "#2e7d32", text: "#1b5e20" }
229
230
  };
230
- var WallboardRoot = styled(Box, {
231
+ var WallboardRoot = styled_default(Box_default, {
231
232
  shouldForwardProp: (prop) => prop !== "isTv"
232
233
  })(({ theme, isTv }) => ({
233
234
  display: "grid",
@@ -242,7 +243,7 @@ var WallboardRoot = styled(Box, {
242
243
  overflow: "hidden"
243
244
  }
244
245
  }));
245
- var TopBar = styled(Box)(({ theme }) => ({
246
+ var TopBar = styled_default(Box_default)(({ theme }) => ({
246
247
  background: C.navy,
247
248
  display: "flex",
248
249
  alignItems: "center",
@@ -255,7 +256,7 @@ var TopBar = styled(Box)(({ theme }) => ({
255
256
  gap: 4,
256
257
  [theme.breakpoints.up("sm")]: { padding: "0 14px", flexWrap: "nowrap" }
257
258
  }));
258
- var BrandLogo = styled(Box)({
259
+ var BrandLogo = styled_default(Box_default)({
259
260
  width: 22,
260
261
  height: 22,
261
262
  borderRadius: 4,
@@ -265,7 +266,7 @@ var BrandLogo = styled(Box)({
265
266
  justifyContent: "center",
266
267
  overflow: "hidden"
267
268
  });
268
- var LiveBadge = styled(Box)({
269
+ var LiveBadge = styled_default(Box_default)({
269
270
  display: "flex",
270
271
  alignItems: "center",
271
272
  gap: 4,
@@ -279,7 +280,7 @@ var LiveBadge = styled(Box)({
279
280
  color: "#0ef5a8",
280
281
  textTransform: "uppercase"
281
282
  });
282
- var PulseDot = styled("span")({
283
+ var PulseDot = styled_default("span")({
283
284
  width: 5,
284
285
  height: 5,
285
286
  borderRadius: "50%",
@@ -287,7 +288,7 @@ var PulseDot = styled("span")({
287
288
  display: "inline-block",
288
289
  animation: `${pulse} 1.5s ease infinite`
289
290
  });
290
- var KpiStrip = styled(Box)(({ theme }) => ({
291
+ var KpiStrip = styled_default(Box_default)(({ theme }) => ({
291
292
  display: "grid",
292
293
  gridTemplateColumns: "repeat(auto-fit, minmax(72px, 1fr))",
293
294
  background: "transparent",
@@ -296,7 +297,7 @@ var KpiStrip = styled(Box)(({ theme }) => ({
296
297
  gridTemplateColumns: "repeat(14, 1fr)"
297
298
  }
298
299
  }));
299
- var KpiCell = styled(Box)(({ accentColor }) => ({
300
+ var KpiCell = styled_default(Box_default)(({ accentColor }) => ({
300
301
  padding: "4px 0 3px 8px",
301
302
  borderRight: `1px solid ${C.b1}`,
302
303
  borderBottom: `1px solid ${C.b1}`,
@@ -314,7 +315,7 @@ var KpiCell = styled(Box)(({ accentColor }) => ({
314
315
  },
315
316
  "@media (min-width: 960px)": { padding: "5px 0 4px 6px" }
316
317
  }));
317
- var KpiValue = styled("div")(({ kcolor, theme }) => ({
318
+ var KpiValue = styled_default("div")(({ kcolor, theme }) => ({
318
319
  fontFamily: "'Poppins', Arial, sans-serif",
319
320
  fontSize: 15,
320
321
  fontWeight: 800,
@@ -323,7 +324,7 @@ var KpiValue = styled("div")(({ kcolor, theme }) => ({
323
324
  [theme.breakpoints.up("md")]: { fontSize: 17 },
324
325
  [theme.breakpoints.up("lg")]: { fontSize: 20 }
325
326
  }));
326
- var KpiLabel = styled("div")({
327
+ var KpiLabel = styled_default("div")({
327
328
  fontSize: 8,
328
329
  letterSpacing: 0.8,
329
330
  textTransform: "uppercase",
@@ -331,7 +332,7 @@ var KpiLabel = styled("div")({
331
332
  fontWeight: 600,
332
333
  marginTop: 1
333
334
  });
334
- var BodyGrid = styled(Box)(({ theme }) => ({
335
+ var BodyGrid = styled_default(Box_default)(({ theme }) => ({
335
336
  display: "grid",
336
337
  gridTemplateColumns: "1fr",
337
338
  marginTop: 0,
@@ -340,7 +341,7 @@ var BodyGrid = styled(Box)(({ theme }) => ({
340
341
  [theme.breakpoints.up("md")]: { gridTemplateColumns: "2fr 1fr" },
341
342
  [theme.breakpoints.up("lg")]: { gridTemplateColumns: "2fr 1fr", overflow: "hidden" }
342
343
  }));
343
- var Panel = styled(Box)(({ theme }) => ({
344
+ var Panel = styled_default(Box_default)(({ theme }) => ({
344
345
  display: "flex",
345
346
  flexDirection: "column",
346
347
  overflow: "auto",
@@ -348,7 +349,7 @@ var Panel = styled(Box)(({ theme }) => ({
348
349
  borderRight: `1px solid ${C.b1}`,
349
350
  [theme.breakpoints.up("lg")]: { overflow: "hidden" }
350
351
  }));
351
- var PanelHeader = styled(Box)({
352
+ var PanelHeader = styled_default(Box_default)({
352
353
  display: "flex",
353
354
  alignItems: "center",
354
355
  justifyContent: "space-between",
@@ -357,7 +358,7 @@ var PanelHeader = styled(Box)({
357
358
  borderBottom: `1px solid ${C.b1}`,
358
359
  flexShrink: 0
359
360
  });
360
- var PhTitle = styled("span")({
361
+ var PhTitle = styled_default("span")({
361
362
  fontFamily: "'Poppins', Arial, sans-serif",
362
363
  fontSize: 10,
363
364
  fontWeight: 700,
@@ -365,7 +366,7 @@ var PhTitle = styled("span")({
365
366
  textTransform: "uppercase",
366
367
  color: C.t2
367
368
  });
368
- var Badge = styled("span")(({ bg, color, border }) => ({
369
+ var Badge = styled_default("span")(({ bg, color, border }) => ({
369
370
  fontFamily: "'JetBrains Mono', monospace",
370
371
  fontSize: 9,
371
372
  fontWeight: 700,
@@ -376,19 +377,19 @@ var Badge = styled("span")(({ bg, color, border }) => ({
376
377
  color,
377
378
  border: `1px solid ${border}`
378
379
  }));
379
- var StatusDot = styled("span")(({ dotColor, animated }) => __spreadValues({
380
+ var StatusDot = styled_default("span")(({ dotColor, animated }) => __spreadValues({
380
381
  width: 5,
381
382
  height: 5,
382
383
  borderRadius: "50%",
383
384
  flexShrink: 0,
384
385
  background: dotColor
385
386
  }, animated ? { animation: `${pulse} 1.3s ease infinite` } : {}));
386
- var AgentTable = styled("table")({
387
+ var AgentTable = styled_default("table")({
387
388
  width: "100%",
388
389
  borderCollapse: "collapse",
389
390
  tableLayout: "auto"
390
391
  });
391
- var AgTh = styled("th")({
392
+ var AgTh = styled_default("th")({
392
393
  padding: "4px 8px",
393
394
  fontSize: 8,
394
395
  letterSpacing: 0.8,
@@ -403,13 +404,13 @@ var AgTh = styled("th")({
403
404
  top: 0,
404
405
  zIndex: 1
405
406
  });
406
- var AgTd = styled("td")({
407
+ var AgTd = styled_default("td")({
407
408
  padding: "4px 8px",
408
409
  fontSize: 11,
409
410
  borderBottom: `1px solid ${C.b1}`,
410
411
  verticalAlign: "middle"
411
412
  });
412
- var PageInfo = styled(Box)({
413
+ var PageInfo = styled_default(Box_default)({
413
414
  display: "flex",
414
415
  alignItems: "center",
415
416
  justifyContent: "space-between",
@@ -420,27 +421,27 @@ var PageInfo = styled(Box)({
420
421
  flexShrink: 0,
421
422
  borderTop: `1px solid ${C.b1}`
422
423
  });
423
- var QName = styled("span")({
424
+ var QName = styled_default("span")({
424
425
  fontWeight: 600,
425
426
  color: C.t1,
426
427
  fontFamily: "'Poppins', Arial, sans-serif",
427
428
  fontSize: 11,
428
429
  "@media (min-width: 1280px)": { fontSize: 12 }
429
430
  });
430
- var QNum = styled("span")(({ numColor }) => ({
431
+ var QNum = styled_default("span")(({ numColor }) => ({
431
432
  fontFamily: "'JetBrains Mono', monospace",
432
433
  fontWeight: 700,
433
434
  fontSize: 11,
434
435
  color: numColor || C.t1
435
436
  }));
436
- var QBar = styled(Box)({ height: 4, background: C.bg3, borderRadius: 2, overflow: "hidden", width: 56 });
437
- var QBarFill = styled(Box)(({ w, barColor }) => ({
437
+ var QBar = styled_default(Box_default)({ height: 4, background: C.bg3, borderRadius: 2, overflow: "hidden", width: 56 });
438
+ var QBarFill = styled_default(Box_default)(({ w, barColor }) => ({
438
439
  height: "100%",
439
440
  borderRadius: 3,
440
441
  width: `${w}%`,
441
442
  background: barColor
442
443
  }));
443
- var SbHeader = styled(Box)({
444
+ var SbHeader = styled_default(Box_default)({
444
445
  padding: "7px 12px",
445
446
  display: "flex",
446
447
  alignItems: "center",
@@ -448,14 +449,14 @@ var SbHeader = styled(Box)({
448
449
  background: C.bg2,
449
450
  borderBottom: `1px solid ${C.b1}`
450
451
  });
451
- var SbTitle = styled("span")({
452
+ var SbTitle = styled_default("span")({
452
453
  fontSize: 9,
453
454
  fontWeight: 700,
454
455
  letterSpacing: 1.5,
455
456
  textTransform: "uppercase",
456
457
  color: C.t3
457
458
  });
458
- var NoDataBox = styled(Box)({
459
+ var NoDataBox = styled_default(Box_default)({
459
460
  display: "flex",
460
461
  alignItems: "center",
461
462
  justifyContent: "center",
@@ -466,7 +467,7 @@ var NoDataBox = styled(Box)({
466
467
  letterSpacing: 0.5,
467
468
  fontFamily: "'Poppins', Arial, sans-serif"
468
469
  });
469
- var Footer = styled(Box)({
470
+ var Footer = styled_default(Box_default)({
470
471
  background: C.navy,
471
472
  borderTop: "1px solid rgba(255,255,255,.08)",
472
473
  display: "flex",
@@ -478,7 +479,7 @@ var Footer = styled(Box)({
478
479
  bottom: 0,
479
480
  zIndex: 5
480
481
  });
481
- var TickerLabel = styled("div")({
482
+ var TickerLabel = styled_default("div")({
482
483
  flexShrink: 0,
483
484
  padding: "0 8px",
484
485
  fontSize: 7,
@@ -489,13 +490,13 @@ var TickerLabel = styled("div")({
489
490
  borderRight: "1px solid rgba(255,255,255,.1)",
490
491
  whiteSpace: "nowrap"
491
492
  });
492
- var TickerTrack = styled(Box)({ flex: 1, overflow: "hidden", position: "relative" });
493
- var TickerInner = styled(Box)({
493
+ var TickerTrack = styled_default(Box_default)({ flex: 1, overflow: "hidden", position: "relative" });
494
+ var TickerInner = styled_default(Box_default)({
494
495
  display: "flex",
495
496
  animation: `${ticker} 50s linear infinite`,
496
497
  whiteSpace: "nowrap"
497
498
  });
498
- var TickerSpan = styled("span")(({ isWarn, isGood }) => ({
499
+ var TickerSpan = styled_default("span")(({ isWarn, isGood }) => ({
499
500
  fontSize: 9,
500
501
  color: "rgba(255,255,255,.55)",
501
502
  padding: "0 16px",
@@ -505,7 +506,7 @@ var TickerSpan = styled("span")(({ isWarn, isGood }) => ({
505
506
  fontWeight: 600
506
507
  }
507
508
  }));
508
- var MonitorBtn = styled("button")(({ variant }) => {
509
+ var MonitorBtn = styled_default("button")(({ variant }) => {
509
510
  const colors = {
510
511
  listen: { bg: "#e3f2fd", color: "#1976d2", hoverBg: "#bbdefb" },
511
512
  whisper: { bg: "#fff3e0", color: "#ef6c00", hoverBg: "#ffe0b2" },
@@ -530,7 +531,7 @@ var MonitorBtn = styled("button")(({ variant }) => {
530
531
  "&:disabled": { opacity: 0.5, cursor: "not-allowed" }
531
532
  };
532
533
  });
533
- var MonitorCard = styled(Box)({
534
+ var MonitorCard = styled_default(Box_default)({
534
535
  position: "fixed",
535
536
  bottom: 20,
536
537
  right: 20,
@@ -560,21 +561,21 @@ var AgentTableRow = React.memo(({
560
561
  const statusColor = isOnCall ? agent.callDirection === "OUTBOUND" ? C.blue : C.green : sc.text;
561
562
  const durColor = isLong ? C.red : statusColor;
562
563
  return /* @__PURE__ */ jsxs("tr", { style: { background: isLong ? "rgba(204,42,42,.07)" : sc.bg, transition: "background 0.3s" }, children: [
563
- /* @__PURE__ */ jsx(AgTd, { sx: { borderLeft: `2px solid ${sc.bar}`, pl: "8px", maxWidth: 160 }, children: /* @__PURE__ */ jsxs(Box2, { sx: { display: "flex", alignItems: "center", gap: "4px" }, children: [
564
- /* @__PURE__ */ jsx(Box2, { sx: { fontFamily: "'Poppins', Arial, sans-serif", fontSize: 11, fontWeight: 700, color: C.t1, whiteSpace: "nowrap", overflow: "hidden", textOverflow: "ellipsis" }, children: agent.agentName }),
565
- isLong && /* @__PURE__ */ jsx(Box2, { component: "span", sx: { fontSize: 7, fontWeight: 700, color: C.red, letterSpacing: 0.3, flexShrink: 0 }, children: "!7m" })
564
+ /* @__PURE__ */ jsx(AgTd, { sx: { borderLeft: `2px solid ${sc.bar}`, pl: "8px", maxWidth: 160 }, children: /* @__PURE__ */ jsxs(Box_default, { sx: { display: "flex", alignItems: "center", gap: "4px" }, children: [
565
+ /* @__PURE__ */ jsx(Box_default, { sx: { fontFamily: "'Poppins', Arial, sans-serif", fontSize: 11, fontWeight: 700, color: C.t1, whiteSpace: "nowrap", overflow: "hidden", textOverflow: "ellipsis" }, children: agent.agentName }),
566
+ isLong && /* @__PURE__ */ jsx(Box_default, { component: "span", sx: { fontSize: 7, fontWeight: 700, color: C.red, letterSpacing: 0.3, flexShrink: 0 }, children: "!7m" })
566
567
  ] }) }),
567
- /* @__PURE__ */ jsx(AgTd, { children: /* @__PURE__ */ jsx(Box2, { sx: { fontFamily: "'JetBrains Mono', monospace", fontSize: 9, color: C.t3 }, children: agent.extension || "\u2014" }) }),
568
- /* @__PURE__ */ jsx(AgTd, { children: /* @__PURE__ */ jsxs(Box2, { sx: { display: "flex", alignItems: "center", gap: "4px", flexWrap: "nowrap" }, children: [
568
+ /* @__PURE__ */ jsx(AgTd, { children: /* @__PURE__ */ jsx(Box_default, { sx: { fontFamily: "'JetBrains Mono', monospace", fontSize: 9, color: C.t3 }, children: agent.extension || "\u2014" }) }),
569
+ /* @__PURE__ */ jsx(AgTd, { children: /* @__PURE__ */ jsxs(Box_default, { sx: { display: "flex", alignItems: "center", gap: "4px", flexWrap: "nowrap" }, children: [
569
570
  /* @__PURE__ */ jsx(StatusDot, { dotColor: statusColor, animated: isOnCall }),
570
- /* @__PURE__ */ jsx(Box2, { sx: { fontSize: 8, fontWeight: 700, letterSpacing: 0.6, textTransform: "uppercase", color: statusColor, whiteSpace: "nowrap" }, children: agent.status })
571
+ /* @__PURE__ */ jsx(Box_default, { sx: { fontSize: 8, fontWeight: 700, letterSpacing: 0.6, textTransform: "uppercase", color: statusColor, whiteSpace: "nowrap" }, children: agent.status })
571
572
  ] }) }),
572
- /* @__PURE__ */ jsx(AgTd, { children: /* @__PURE__ */ jsx(Box2, { sx: { fontFamily: "'JetBrains Mono', monospace", fontSize: 11, fontWeight: 700, color: durColor, whiteSpace: "nowrap" }, children: fmtDur(durSecs) }) }),
573
- /* @__PURE__ */ jsx(AgTd, { children: /* @__PURE__ */ jsx(Box2, { sx: { fontFamily: "'JetBrains Mono', monospace", fontSize: 9, color: C.t3 }, children: agent.activeCallerNumber || "\u2014" }) }),
574
- /* @__PURE__ */ jsx(AgTd, { children: /* @__PURE__ */ jsx(Box2, { sx: { fontSize: 9, color: C.t3, whiteSpace: "nowrap", overflow: "hidden", textOverflow: "ellipsis", maxWidth: 110 }, children: agent.queueNames || "\u2014" }) }),
575
- /* @__PURE__ */ jsx(AgTd, { children: /* @__PURE__ */ jsx(Box2, { sx: { fontFamily: "'JetBrains Mono', monospace", fontSize: 10, fontWeight: 700, color: C.t2 }, children: agent.callsToday }) }),
576
- onMonitor !== void 0 && /* @__PURE__ */ jsx(AgTd, { children: isOnCall && onMonitor && /* @__PURE__ */ jsx(Box2, { sx: { display: "flex", gap: "3px", flexWrap: "nowrap", alignItems: "center" }, children: isBeingMonitored ? /* @__PURE__ */ jsxs(Fragment, { children: [
577
- /* @__PURE__ */ jsxs(Box2, { sx: { fontSize: 7, color: C.green, fontWeight: 600, display: "flex", alignItems: "center", gap: "2px", whiteSpace: "nowrap" }, children: [
573
+ /* @__PURE__ */ jsx(AgTd, { children: /* @__PURE__ */ jsx(Box_default, { sx: { fontFamily: "'JetBrains Mono', monospace", fontSize: 11, fontWeight: 700, color: durColor, whiteSpace: "nowrap" }, children: fmtDur(durSecs) }) }),
574
+ /* @__PURE__ */ jsx(AgTd, { children: /* @__PURE__ */ jsx(Box_default, { sx: { fontFamily: "'JetBrains Mono', monospace", fontSize: 9, color: C.t3 }, children: agent.activeCallerNumber || "\u2014" }) }),
575
+ /* @__PURE__ */ jsx(AgTd, { children: /* @__PURE__ */ jsx(Box_default, { sx: { fontSize: 9, color: C.t3, whiteSpace: "nowrap", overflow: "hidden", textOverflow: "ellipsis", maxWidth: 110 }, children: agent.queueNames || "\u2014" }) }),
576
+ /* @__PURE__ */ jsx(AgTd, { children: /* @__PURE__ */ jsx(Box_default, { sx: { fontFamily: "'JetBrains Mono', monospace", fontSize: 10, fontWeight: 700, color: C.t2 }, children: agent.callsToday }) }),
577
+ onMonitor !== void 0 && /* @__PURE__ */ jsx(AgTd, { children: isOnCall && onMonitor && /* @__PURE__ */ jsx(Box_default, { sx: { display: "flex", gap: "3px", flexWrap: "nowrap", alignItems: "center" }, children: isBeingMonitored ? /* @__PURE__ */ jsxs(Fragment, { children: [
578
+ /* @__PURE__ */ jsxs(Box_default, { sx: { fontSize: 7, color: C.green, fontWeight: 600, display: "flex", alignItems: "center", gap: "2px", whiteSpace: "nowrap" }, children: [
578
579
  /* @__PURE__ */ jsx(StatusDot, { dotColor: C.green, animated: true }),
579
580
  activeMonitoring == null ? void 0 : activeMonitoring.mode.toUpperCase()
580
581
  ] }),
@@ -689,7 +690,7 @@ function LiveStatusPageInner({ isTvDashboard = false }) {
689
690
  good: q.waitingCalls === 0
690
691
  }));
691
692
  if (isLoading) {
692
- return /* @__PURE__ */ jsxs(Box2, { sx: {
693
+ return /* @__PURE__ */ jsxs(Box_default, { sx: {
693
694
  height: "100vh",
694
695
  display: "flex",
695
696
  flexDirection: "column",
@@ -698,31 +699,31 @@ function LiveStatusPageInner({ isTvDashboard = false }) {
698
699
  background: "transparent",
699
700
  gap: 2
700
701
  }, children: [
701
- /* @__PURE__ */ jsx(CircularProgress, { size: 48, sx: { color: C.blue } }),
702
- /* @__PURE__ */ jsx(Box2, { sx: { fontFamily: "'Poppins', Arial, sans-serif", fontSize: 16, fontWeight: 600, color: C.t2, letterSpacing: 1, textTransform: "uppercase" }, children: "Loading Live Status..." })
702
+ /* @__PURE__ */ jsx(CircularProgress_default, { size: 48, sx: { color: C.blue } }),
703
+ /* @__PURE__ */ jsx(Box_default, { sx: { fontFamily: "'Poppins', Arial, sans-serif", fontSize: 16, fontWeight: 600, color: C.t2, letterSpacing: 1, textTransform: "uppercase" }, children: "Loading Live Status..." })
703
704
  ] });
704
705
  }
705
706
  return /* @__PURE__ */ jsxs(WallboardRoot, { isTv: isTvDashboard, children: [
706
707
  isTvDashboard && /* @__PURE__ */ jsxs(TopBar, { children: [
707
- /* @__PURE__ */ jsxs(Box2, { sx: { display: "flex", alignItems: "center", gap: "10px" }, children: [
708
+ /* @__PURE__ */ jsxs(Box_default, { sx: { display: "flex", alignItems: "center", gap: "10px" }, children: [
708
709
  /* @__PURE__ */ jsx(BrandLogo, { children: /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 26 26", fill: "none", width: 16, height: 16, children: [
709
710
  /* @__PURE__ */ jsx("rect", { width: "26", height: "26", rx: "5", fill: "#1A5F6C" }),
710
711
  /* @__PURE__ */ jsx("path", { d: "M5 18 Q5 8 13 8 Q21 8 21 18", stroke: "#1565c8", strokeWidth: "2.5", fill: "none", strokeLinecap: "round" }),
711
712
  /* @__PURE__ */ jsx("path", { d: "M9 18 Q9 12 13 12 Q17 12 17 18", stroke: "#0a9a62", strokeWidth: "2", fill: "none", strokeLinecap: "round" }),
712
713
  /* @__PURE__ */ jsx("circle", { cx: "13", cy: "19", r: "2", fill: "#1565c8" })
713
714
  ] }) }),
714
- /* @__PURE__ */ jsxs(Box2, { sx: { color: "#fff" }, children: [
715
- /* @__PURE__ */ jsx(Box2, { sx: { fontFamily: "'Poppins', Arial, sans-serif", fontSize: 13, fontWeight: 800, letterSpacing: 1.2, lineHeight: 1 }, children: "AHS" }),
716
- /* @__PURE__ */ jsx(Box2, { sx: { fontSize: 7.5, letterSpacing: 1, color: "rgba(255,255,255,.45)", textTransform: "uppercase" }, children: "Supervisor Wallboard" })
715
+ /* @__PURE__ */ jsxs(Box_default, { sx: { color: "#fff" }, children: [
716
+ /* @__PURE__ */ jsx(Box_default, { sx: { fontFamily: "'Poppins', Arial, sans-serif", fontSize: 13, fontWeight: 800, letterSpacing: 1.2, lineHeight: 1 }, children: "AHS" }),
717
+ /* @__PURE__ */ jsx(Box_default, { sx: { fontSize: 7.5, letterSpacing: 1, color: "rgba(255,255,255,.45)", textTransform: "uppercase" }, children: "Supervisor Wallboard" })
717
718
  ] }),
718
719
  /* @__PURE__ */ jsxs(LiveBadge, { children: [
719
720
  /* @__PURE__ */ jsx(PulseDot, {}),
720
721
  "LIVE"
721
722
  ] })
722
723
  ] }),
723
- /* @__PURE__ */ jsxs(Box2, { sx: { textAlign: "right" }, children: [
724
- /* @__PURE__ */ jsx(Box2, { sx: { fontFamily: "'JetBrains Mono', monospace", fontSize: 14, fontWeight: 700, color: "#fff", letterSpacing: 1.5, lineHeight: 1 }, children: clockStr }),
725
- /* @__PURE__ */ jsx(Box2, { sx: { fontSize: 7.5, color: "rgba(255,255,255,.4)", letterSpacing: 0.5, mt: "1px" }, children: dateStr })
724
+ /* @__PURE__ */ jsxs(Box_default, { sx: { textAlign: "right" }, children: [
725
+ /* @__PURE__ */ jsx(Box_default, { sx: { fontFamily: "'JetBrains Mono', monospace", fontSize: 14, fontWeight: 700, color: "#fff", letterSpacing: 1.5, lineHeight: 1 }, children: clockStr }),
726
+ /* @__PURE__ */ jsx(Box_default, { sx: { fontSize: 7.5, color: "rgba(255,255,255,.4)", letterSpacing: 0.5, mt: "1px" }, children: dateStr })
726
727
  ] })
727
728
  ] }),
728
729
  /* @__PURE__ */ jsxs(KpiStrip, { children: [
@@ -782,7 +783,7 @@ function LiveStatusPageInner({ isTvDashboard = false }) {
782
783
  /* @__PURE__ */ jsxs(BodyGrid, { children: [
783
784
  /* @__PURE__ */ jsxs(Panel, { children: [
784
785
  /* @__PURE__ */ jsxs(PanelHeader, { children: [
785
- /* @__PURE__ */ jsxs(Box2, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
786
+ /* @__PURE__ */ jsxs(Box_default, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
786
787
  /* @__PURE__ */ jsx(PhTitle, { children: "Agent Status" }),
787
788
  /* @__PURE__ */ jsxs(Badge, { bg: C.amberLt, color: C.amber, border: C.amberBd, children: [
788
789
  oncallCount,
@@ -797,12 +798,12 @@ function LiveStatusPageInner({ isTvDashboard = false }) {
797
798
  " Long"
798
799
  ] })
799
800
  ] }),
800
- /* @__PURE__ */ jsxs(Box2, { sx: { fontSize: 8, color: C.t3 }, children: [
801
+ /* @__PURE__ */ jsxs(Box_default, { sx: { fontSize: 8, color: C.t3 }, children: [
801
802
  agents.length,
802
803
  " agents"
803
804
  ] })
804
805
  ] }),
805
- /* @__PURE__ */ jsx(Box2, { sx: {
806
+ /* @__PURE__ */ jsx(Box_default, { sx: {
806
807
  overflowX: "auto",
807
808
  overflowY: "auto",
808
809
  flex: 1,
@@ -847,20 +848,20 @@ function LiveStatusPageInner({ isTvDashboard = false }) {
847
848
  ] }),
848
849
  /* @__PURE__ */ jsxs(Panel, { sx: { borderRight: `1px solid ${C.b1}`, maxHeight: { xs: "none", lg: "calc(100vh - 96px)" } }, children: [
849
850
  /* @__PURE__ */ jsxs(PanelHeader, { children: [
850
- /* @__PURE__ */ jsxs(Box2, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
851
+ /* @__PURE__ */ jsxs(Box_default, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
851
852
  /* @__PURE__ */ jsx(PhTitle, { children: "Queue Performance" }),
852
853
  /* @__PURE__ */ jsx(Badge, { bg: C.greenLt, color: C.green, border: C.greenBd, children: "All Healthy" })
853
854
  ] }),
854
855
  /* @__PURE__ */ jsx(Badge, { bg: C.bg2, color: C.t3, border: C.b2, children: "Live SLA" })
855
856
  ] }),
856
- /* @__PURE__ */ jsxs(Box2, { sx: {
857
+ /* @__PURE__ */ jsxs(Box_default, { sx: {
857
858
  flex: 1,
858
859
  minHeight: 0,
859
860
  "&::-webkit-scrollbar": { width: 3 },
860
861
  "&::-webkit-scrollbar-track": { background: C.bg2, borderRadius: 2 },
861
862
  "&::-webkit-scrollbar-thumb": { background: C.t4, borderRadius: 2, "&:hover": { background: C.t3 } }
862
863
  }, children: [
863
- /* @__PURE__ */ jsx(Box2, { sx: { overflowX: "auto", "&::-webkit-scrollbar": { height: 3 }, "&::-webkit-scrollbar-track": { background: C.bg2, borderRadius: 2 }, "&::-webkit-scrollbar-thumb": { background: C.t4, borderRadius: 2 } }, children: /* @__PURE__ */ jsxs(AgentTable, { children: [
864
+ /* @__PURE__ */ jsx(Box_default, { sx: { overflowX: "auto", "&::-webkit-scrollbar": { height: 3 }, "&::-webkit-scrollbar-track": { background: C.bg2, borderRadius: 2 }, "&::-webkit-scrollbar-thumb": { background: C.t4, borderRadius: 2 } }, children: /* @__PURE__ */ jsxs(AgentTable, { children: [
864
865
  /* @__PURE__ */ jsx("thead", { children: /* @__PURE__ */ jsxs("tr", { children: [
865
866
  /* @__PURE__ */ jsx(AgTh, { children: "Queue" }),
866
867
  /* @__PURE__ */ jsx(AgTh, { children: "Agents" }),
@@ -875,15 +876,15 @@ function LiveStatusPageInner({ isTvDashboard = false }) {
875
876
  const loadColor = q.loadPct > 50 ? C.red : q.loadPct > 25 ? C.amber : C.green;
876
877
  const slaColor = q.slaPct >= 95 ? C.green : q.slaPct >= 85 ? C.amber : C.red;
877
878
  const isWaitingHigh = q.waitingCalls > WAITING_THRESHOLD;
878
- return /* @__PURE__ */ jsxs(Box2, { component: "tr", sx: isWaitingHigh ? { animation: `${rowBlink} 1s ease infinite` } : q.slaPct < 90 ? { background: "rgba(204,42,42,.04)" } : {}, children: [
879
+ return /* @__PURE__ */ jsxs(Box_default, { component: "tr", sx: isWaitingHigh ? { animation: `${rowBlink} 1s ease infinite` } : q.slaPct < 90 ? { background: "rgba(204,42,42,.04)" } : {}, children: [
879
880
  /* @__PURE__ */ jsx(AgTd, { children: /* @__PURE__ */ jsx(QName, { children: q.queueName }) }),
880
881
  /* @__PURE__ */ jsx(AgTd, { children: /* @__PURE__ */ jsx(QNum, { numColor: C.blue, children: q.totalAgents }) }),
881
882
  /* @__PURE__ */ jsx(AgTd, { children: /* @__PURE__ */ jsx(QNum, { numColor: C.amber, children: q.activeAgents }) }),
882
883
  /* @__PURE__ */ jsx(AgTd, { children: /* @__PURE__ */ jsx(QNum, { numColor: isWaitingHigh ? C.red : q.waitingCalls > 0 ? C.red : C.green, children: q.waitingCalls }) }),
883
884
  /* @__PURE__ */ jsx(AgTd, { children: /* @__PURE__ */ jsx(QNum, { numColor: C.green, children: q.avgWaitFormatted }) }),
884
- /* @__PURE__ */ jsx(AgTd, { children: /* @__PURE__ */ jsxs(Box2, { sx: { display: "flex", alignItems: "center", gap: "5px" }, children: [
885
+ /* @__PURE__ */ jsx(AgTd, { children: /* @__PURE__ */ jsxs(Box_default, { sx: { display: "flex", alignItems: "center", gap: "5px" }, children: [
885
886
  /* @__PURE__ */ jsx(QBar, { children: /* @__PURE__ */ jsx(QBarFill, { w: q.loadPct, barColor: loadColor }) }),
886
- /* @__PURE__ */ jsxs(Box2, { sx: { fontFamily: "'JetBrains Mono', monospace", fontSize: 10, color: C.t3 }, children: [
887
+ /* @__PURE__ */ jsxs(Box_default, { sx: { fontFamily: "'JetBrains Mono', monospace", fontSize: 10, color: C.t3 }, children: [
887
888
  q.loadPct,
888
889
  "%"
889
890
  ] })
@@ -896,26 +897,26 @@ function LiveStatusPageInner({ isTvDashboard = false }) {
896
897
  ] }, q.queueId);
897
898
  }) : /* @__PURE__ */ jsx("tr", { children: /* @__PURE__ */ jsx(AgTd, { colSpan: 8, children: /* @__PURE__ */ jsx(NoDataBox, { children: "No data available" }) }) }) })
898
899
  ] }) }),
899
- /* @__PURE__ */ jsxs(Box2, { sx: { borderTop: `1px solid ${C.b1}` }, children: [
900
+ /* @__PURE__ */ jsxs(Box_default, { sx: { borderTop: `1px solid ${C.b1}` }, children: [
900
901
  /* @__PURE__ */ jsxs(SbHeader, { children: [
901
- /* @__PURE__ */ jsxs(Box2, { sx: { display: "flex", alignItems: "center", gap: "7px" }, children: [
902
+ /* @__PURE__ */ jsxs(Box_default, { sx: { display: "flex", alignItems: "center", gap: "7px" }, children: [
902
903
  /* @__PURE__ */ jsx("svg", { width: "11", height: "11", viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsx("path", { d: "M1 8h2l2-5 2 9 2-7 2 5 1-2h3", stroke: C.blue, strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", fill: "none" }) }),
903
904
  /* @__PURE__ */ jsx(SbTitle, { children: "Queue Pulse" })
904
905
  ] }),
905
906
  /* @__PURE__ */ jsx(Badge, { bg: C.greenLt, color: C.green, border: C.greenBd, children: "Live" })
906
907
  ] }),
907
- /* @__PURE__ */ jsx(Box2, { sx: { display: "grid", gridTemplateColumns: "1fr 1fr 1fr", borderBottom: `1px solid ${C.b1}` }, children: [
908
+ /* @__PURE__ */ jsx(Box_default, { sx: { display: "grid", gridTemplateColumns: "1fr 1fr 1fr", borderBottom: `1px solid ${C.b1}` }, children: [
908
909
  { label: "In Queue", value: (_o = queuePulse == null ? void 0 : queuePulse.runningInQueue) != null ? _o : 0, color: C.amber, bg: C.amberLt },
909
910
  { label: "Ready", value: (_p = queuePulse == null ? void 0 : queuePulse.readyAgents) != null ? _p : 0, color: C.green, bg: C.greenLt },
910
911
  { label: "Avg Wait", value: (_q = queuePulse == null ? void 0 : queuePulse.avgWaitFormatted) != null ? _q : "--:--", color: C.blue, bg: C.blueLt }
911
- ].map((s) => /* @__PURE__ */ jsxs(Box2, { sx: { p: "12px", borderRight: `1px solid ${C.b1}`, "&:last-child": { borderRight: "none" }, background: s.bg }, children: [
912
- /* @__PURE__ */ jsx(Box2, { sx: { fontFamily: "'Poppins', Arial, sans-serif", fontSize: 20, fontWeight: 800, color: s.color, lineHeight: 1 }, children: s.value }),
913
- /* @__PURE__ */ jsx(Box2, { sx: { fontSize: 8, letterSpacing: 0.8, textTransform: "uppercase", color: s.color, mt: "4px", fontWeight: 600, opacity: 0.75 }, children: s.label })
912
+ ].map((s) => /* @__PURE__ */ jsxs(Box_default, { sx: { p: "12px", borderRight: `1px solid ${C.b1}`, "&:last-child": { borderRight: "none" }, background: s.bg }, children: [
913
+ /* @__PURE__ */ jsx(Box_default, { sx: { fontFamily: "'Poppins', Arial, sans-serif", fontSize: 20, fontWeight: 800, color: s.color, lineHeight: 1 }, children: s.value }),
914
+ /* @__PURE__ */ jsx(Box_default, { sx: { fontSize: 8, letterSpacing: 0.8, textTransform: "uppercase", color: s.color, mt: "4px", fontWeight: 600, opacity: 0.75 }, children: s.label })
914
915
  ] }, s.label)) })
915
916
  ] }),
916
- /* @__PURE__ */ jsxs(Box2, { children: [
917
+ /* @__PURE__ */ jsxs(Box_default, { children: [
917
918
  /* @__PURE__ */ jsxs(SbHeader, { children: [
918
- /* @__PURE__ */ jsxs(Box2, { sx: { display: "flex", alignItems: "center", gap: "7px" }, children: [
919
+ /* @__PURE__ */ jsxs(Box_default, { sx: { display: "flex", alignItems: "center", gap: "7px" }, children: [
919
920
  /* @__PURE__ */ jsxs("svg", { width: "11", height: "11", viewBox: "0 0 16 16", fill: "none", children: [
920
921
  /* @__PURE__ */ jsx("path", { d: "M8 1.5a5 5 0 0 1 5 5v2.5l1 2H2l1-2V6.5a5 5 0 0 1 5-5z", stroke: alerts.length > 0 ? C.amber : C.t3, strokeWidth: "1.4", strokeLinejoin: "round" }),
921
922
  /* @__PURE__ */ jsx("path", { d: "M6.5 13a1.5 1.5 0 0 0 3 0", stroke: alerts.length > 0 ? C.amber : C.t3, strokeWidth: "1.4", strokeLinecap: "round" })
@@ -924,7 +925,7 @@ function LiveStatusPageInner({ isTvDashboard = false }) {
924
925
  ] }),
925
926
  /* @__PURE__ */ jsx(Badge, { bg: alerts.length > 0 ? C.amberLt : C.bg2, color: alerts.length > 0 ? C.amber : C.t3, border: alerts.length > 0 ? C.amberBd : C.b2, children: alerts.length })
926
927
  ] }),
927
- /* @__PURE__ */ jsx(Box2, { sx: {
928
+ /* @__PURE__ */ jsx(Box_default, { sx: {
928
929
  overflowY: "auto",
929
930
  maxHeight: 220,
930
931
  "&::-webkit-scrollbar": { width: 3 },
@@ -939,15 +940,15 @@ function LiveStatusPageInner({ isTvDashboard = false }) {
939
940
  blue: { bg: C.blueLt, color: C.blue }
940
941
  };
941
942
  const ac = (_c2 = ALERT_COLORS[sk]) != null ? _c2 : ALERT_COLORS.blue;
942
- return /* @__PURE__ */ jsxs(Box2, { sx: { display: "flex", gap: "10px", px: "12px", py: "9px", borderBottom: `1px solid ${C.b1}`, background: i % 2 === 0 ? "transparent" : C.bg2 }, children: [
943
- /* @__PURE__ */ jsx(Box2, { sx: { width: 8, height: 8, borderRadius: "50%", background: ac.color, flexShrink: 0, mt: "3px" } }),
944
- /* @__PURE__ */ jsxs(Box2, { sx: { flex: 1, minWidth: 0 }, children: [
945
- /* @__PURE__ */ jsx(Box2, { sx: { fontSize: 11, fontWeight: 600, color: C.t1, mb: "2px" }, children: a.alertTitle }),
946
- /* @__PURE__ */ jsx(Box2, { sx: { fontSize: 9, color: C.t3, lineHeight: 1.4 }, children: a.alertMessage })
943
+ return /* @__PURE__ */ jsxs(Box_default, { sx: { display: "flex", gap: "10px", px: "12px", py: "9px", borderBottom: `1px solid ${C.b1}`, background: i % 2 === 0 ? "transparent" : C.bg2 }, children: [
944
+ /* @__PURE__ */ jsx(Box_default, { sx: { width: 8, height: 8, borderRadius: "50%", background: ac.color, flexShrink: 0, mt: "3px" } }),
945
+ /* @__PURE__ */ jsxs(Box_default, { sx: { flex: 1, minWidth: 0 }, children: [
946
+ /* @__PURE__ */ jsx(Box_default, { sx: { fontSize: 11, fontWeight: 600, color: C.t1, mb: "2px" }, children: a.alertTitle }),
947
+ /* @__PURE__ */ jsx(Box_default, { sx: { fontSize: 9, color: C.t3, lineHeight: 1.4 }, children: a.alertMessage })
947
948
  ] }),
948
- /* @__PURE__ */ jsxs(Box2, { sx: { flexShrink: 0, display: "flex", flexDirection: "column", alignItems: "flex-end", gap: "4px" }, children: [
949
- /* @__PURE__ */ jsx(Box2, { sx: { fontSize: 7, fontWeight: 700, px: "5px", py: "1px", borderRadius: "3px", background: ac.bg, color: ac.color, textTransform: "uppercase", letterSpacing: 0.5 }, children: a.severity }),
950
- /* @__PURE__ */ jsx(Box2, { sx: { fontFamily: "'JetBrains Mono', monospace", fontSize: 9, color: C.t3 }, children: (() => {
949
+ /* @__PURE__ */ jsxs(Box_default, { sx: { flexShrink: 0, display: "flex", flexDirection: "column", alignItems: "flex-end", gap: "4px" }, children: [
950
+ /* @__PURE__ */ jsx(Box_default, { sx: { fontSize: 7, fontWeight: 700, px: "5px", py: "1px", borderRadius: "3px", background: ac.bg, color: ac.color, textTransform: "uppercase", letterSpacing: 0.5 }, children: a.severity }),
951
+ /* @__PURE__ */ jsx(Box_default, { sx: { fontFamily: "'JetBrains Mono', monospace", fontSize: 9, color: C.t3 }, children: (() => {
951
952
  try {
952
953
  const [h, m] = a.alertTime.split(":");
953
954
  const hr = parseInt(h, 10);
@@ -975,50 +976,50 @@ function LiveStatusPageInner({ isTvDashboard = false }) {
975
976
  };
976
977
  const m = modeConfig[selectedMode];
977
978
  return /* @__PURE__ */ jsxs(Fragment, { children: [
978
- /* @__PURE__ */ jsx(Box2, { onClick: handleCloseMonitorModal, sx: { position: "fixed", inset: 0, zIndex: 1e3 } }),
979
+ /* @__PURE__ */ jsx(Box_default, { onClick: handleCloseMonitorModal, sx: { position: "fixed", inset: 0, zIndex: 1e3 } }),
979
980
  /* @__PURE__ */ jsxs(MonitorCard, { children: [
980
- /* @__PURE__ */ jsx(Box2, { sx: { height: 3, background: m.accent } }),
981
- /* @__PURE__ */ jsxs(Box2, { sx: { p: "12px 14px" }, children: [
982
- /* @__PURE__ */ jsxs(Box2, { sx: { display: "flex", alignItems: "center", justifyContent: "space-between", mb: 1.5 }, children: [
983
- /* @__PURE__ */ jsxs(Box2, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
984
- /* @__PURE__ */ jsx(Box2, { sx: { width: 32, height: 32, borderRadius: "10px", background: m.accentLt, display: "flex", alignItems: "center", justifyContent: "center", fontSize: 16 }, children: m.icon }),
985
- /* @__PURE__ */ jsxs(Box2, { children: [
986
- /* @__PURE__ */ jsx(Box2, { sx: { fontWeight: 700, fontSize: 13, color: C.t1, lineHeight: 1.2 }, children: "Monitor Call" }),
987
- /* @__PURE__ */ jsxs(Box2, { sx: { fontSize: 10, color: C.t3 }, children: [
981
+ /* @__PURE__ */ jsx(Box_default, { sx: { height: 3, background: m.accent } }),
982
+ /* @__PURE__ */ jsxs(Box_default, { sx: { p: "12px 14px" }, children: [
983
+ /* @__PURE__ */ jsxs(Box_default, { sx: { display: "flex", alignItems: "center", justifyContent: "space-between", mb: 1.5 }, children: [
984
+ /* @__PURE__ */ jsxs(Box_default, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
985
+ /* @__PURE__ */ jsx(Box_default, { sx: { width: 32, height: 32, borderRadius: "10px", background: m.accentLt, display: "flex", alignItems: "center", justifyContent: "center", fontSize: 16 }, children: m.icon }),
986
+ /* @__PURE__ */ jsxs(Box_default, { children: [
987
+ /* @__PURE__ */ jsx(Box_default, { sx: { fontWeight: 700, fontSize: 13, color: C.t1, lineHeight: 1.2 }, children: "Monitor Call" }),
988
+ /* @__PURE__ */ jsxs(Box_default, { sx: { fontSize: 10, color: C.t3 }, children: [
988
989
  selectedAgent.agentName,
989
990
  " \xB7 ext ",
990
991
  selectedAgent.extension || ""
991
992
  ] })
992
993
  ] })
993
994
  ] }),
994
- /* @__PURE__ */ jsx(Box2, { component: "button", onClick: handleCloseMonitorModal, sx: { border: "none", background: "none", cursor: "pointer", color: C.t4, fontSize: 18, lineHeight: 1, p: 0, "&:hover": { color: C.t2 } }, children: "\xD7" })
995
+ /* @__PURE__ */ jsx(Box_default, { component: "button", onClick: handleCloseMonitorModal, sx: { border: "none", background: "none", cursor: "pointer", color: C.t4, fontSize: 18, lineHeight: 1, p: 0, "&:hover": { color: C.t2 } }, children: "\xD7" })
995
996
  ] }),
996
- /* @__PURE__ */ jsx(Box2, { sx: { display: "grid", gridTemplateColumns: "1fr 1fr", gap: "4px 0", background: C.bg2, borderRadius: "8px", p: "8px 10px", mb: 1.5 }, children: [
997
+ /* @__PURE__ */ jsx(Box_default, { sx: { display: "grid", gridTemplateColumns: "1fr 1fr", gap: "4px 0", background: C.bg2, borderRadius: "8px", p: "8px 10px", mb: 1.5 }, children: [
997
998
  ["Customer", selectedAgent.activeCallerNumber || "\u2014"],
998
999
  ["Duration", fmtDur(durations[selectedAgent.agentId] || 0)]
999
1000
  ].map(([label, value]) => /* @__PURE__ */ jsxs(React.Fragment, { children: [
1000
- /* @__PURE__ */ jsx(Box2, { sx: { fontSize: 10, color: C.t3, fontWeight: 500 }, children: label }),
1001
- /* @__PURE__ */ jsx(Box2, { sx: { fontSize: 10, fontWeight: 600, color: C.t1, textAlign: "right" }, children: value })
1001
+ /* @__PURE__ */ jsx(Box_default, { sx: { fontSize: 10, color: C.t3, fontWeight: 500 }, children: label }),
1002
+ /* @__PURE__ */ jsx(Box_default, { sx: { fontSize: 10, fontWeight: 600, color: C.t1, textAlign: "right" }, children: value })
1002
1003
  ] }, label)) }),
1003
- /* @__PURE__ */ jsx(Box2, { sx: { display: "flex", gap: "6px", mb: 1.5 }, children: ["listen", "whisper", "barge"].map((mode) => {
1004
+ /* @__PURE__ */ jsx(Box_default, { sx: { display: "flex", gap: "6px", mb: 1.5 }, children: ["listen", "whisper", "barge"].map((mode) => {
1004
1005
  const mc = modeConfig[mode];
1005
1006
  const active = selectedMode === mode;
1006
- return /* @__PURE__ */ jsxs(Box2, { onClick: () => setSelectedMode(mode), sx: { flex: 1, textAlign: "center", py: "5px", borderRadius: "20px", fontSize: 9, fontWeight: 700, letterSpacing: 0.4, cursor: "pointer", textTransform: "uppercase", transition: "all 0.15s", background: active ? mc.accent : C.bg2, color: active ? "#fff" : C.t3, border: `1px solid ${active ? mc.accent : "transparent"}`, "&:hover": { background: active ? mc.accent : C.bg3 } }, children: [
1007
+ return /* @__PURE__ */ jsxs(Box_default, { onClick: () => setSelectedMode(mode), sx: { flex: 1, textAlign: "center", py: "5px", borderRadius: "20px", fontSize: 9, fontWeight: 700, letterSpacing: 0.4, cursor: "pointer", textTransform: "uppercase", transition: "all 0.15s", background: active ? mc.accent : C.bg2, color: active ? "#fff" : C.t3, border: `1px solid ${active ? mc.accent : "transparent"}`, "&:hover": { background: active ? mc.accent : C.bg3 } }, children: [
1007
1008
  mc.icon,
1008
1009
  " ",
1009
1010
  mc.label
1010
1011
  ] }, mode);
1011
1012
  }) }),
1012
- /* @__PURE__ */ jsxs(Box2, { sx: { fontSize: 10, color: m.accentText, background: m.accentLt, borderRadius: "6px", px: 1.25, py: 0.75, mb: 1.5, display: "flex", alignItems: "center", gap: 0.5 }, children: [
1013
+ /* @__PURE__ */ jsxs(Box_default, { sx: { fontSize: 10, color: m.accentText, background: m.accentLt, borderRadius: "6px", px: 1.25, py: 0.75, mb: 1.5, display: "flex", alignItems: "center", gap: 0.5 }, children: [
1013
1014
  /* @__PURE__ */ jsx("span", { style: { fontSize: 11 }, children: "\u2139\uFE0F" }),
1014
1015
  " ",
1015
1016
  m.desc,
1016
1017
  " \xB7 Your dialer will ring to connect."
1017
1018
  ] }),
1018
- monitoringError && /* @__PURE__ */ jsx(Box2, { sx: { mb: 1.5, px: 1.25, py: 0.75, background: C.redLt, borderRadius: "6px", color: C.red, fontSize: 11 }, children: monitoringError }),
1019
- /* @__PURE__ */ jsxs(Box2, { sx: { display: "flex", gap: "8px" }, children: [
1020
- /* @__PURE__ */ jsx(Box2, { component: "button", onClick: handleCloseMonitorModal, sx: { flex: 1, py: "7px", border: `1px solid ${C.b2}`, borderRadius: "8px", cursor: "pointer", fontSize: 11, fontWeight: 500, background: "transparent", color: C.t2, "&:hover": { background: C.bg2 } }, children: "Cancel" }),
1021
- /* @__PURE__ */ jsx(Box2, { component: "button", onClick: handleStartMonitoring, disabled: monitoringLoading, sx: { flex: 2, py: "7px", border: "none", borderRadius: "8px", cursor: monitoringLoading ? "not-allowed" : "pointer", fontSize: 11, fontWeight: 700, background: m.accent, color: "#fff", opacity: monitoringLoading ? 0.7 : 1, transition: "opacity 0.15s", "&:hover": { opacity: monitoringLoading ? 0.7 : 0.88 } }, children: monitoringLoading ? "Starting\u2026" : `\u25B6 Start ${m.label}` })
1019
+ monitoringError && /* @__PURE__ */ jsx(Box_default, { sx: { mb: 1.5, px: 1.25, py: 0.75, background: C.redLt, borderRadius: "6px", color: C.red, fontSize: 11 }, children: monitoringError }),
1020
+ /* @__PURE__ */ jsxs(Box_default, { sx: { display: "flex", gap: "8px" }, children: [
1021
+ /* @__PURE__ */ jsx(Box_default, { component: "button", onClick: handleCloseMonitorModal, sx: { flex: 1, py: "7px", border: `1px solid ${C.b2}`, borderRadius: "8px", cursor: "pointer", fontSize: 11, fontWeight: 500, background: "transparent", color: C.t2, "&:hover": { background: C.bg2 } }, children: "Cancel" }),
1022
+ /* @__PURE__ */ jsx(Box_default, { component: "button", onClick: handleStartMonitoring, disabled: monitoringLoading, sx: { flex: 2, py: "7px", border: "none", borderRadius: "8px", cursor: monitoringLoading ? "not-allowed" : "pointer", fontSize: 11, fontWeight: 700, background: m.accent, color: "#fff", opacity: monitoringLoading ? 0.7 : 1, transition: "opacity 0.15s", "&:hover": { opacity: monitoringLoading ? 0.7 : 0.88 } }, children: monitoringLoading ? "Starting\u2026" : `\u25B6 Start ${m.label}` })
1022
1023
  ] })
1023
1024
  ] })
1024
1025
  ] })
@@ -1032,27 +1033,27 @@ function LiveStatusPageInner({ isTvDashboard = false }) {
1032
1033
  barge: { icon: "\u{1F4E2}", accent: "#c2185b", accentLt: "#fce4ec", label: "Barge" }
1033
1034
  };
1034
1035
  const sm = (_a2 = sessionModeConfig[monitoringSession.mode]) != null ? _a2 : sessionModeConfig.listen;
1035
- return /* @__PURE__ */ jsxs(Box2, { sx: { position: "fixed", bottom: 20, right: 20, width: 268, background: "#fff", borderRadius: "14px", boxShadow: "0 8px 28px rgba(13,30,53,0.16), 0 2px 6px rgba(13,30,53,0.08)", zIndex: 999, overflow: "hidden", animation: `${slideUp} 0.22s cubic-bezier(.22,.68,0,1.2)` }, children: [
1036
- /* @__PURE__ */ jsx(Box2, { sx: { height: 3, background: sm.accent } }),
1037
- /* @__PURE__ */ jsxs(Box2, { sx: { p: "10px 12px" }, children: [
1038
- /* @__PURE__ */ jsxs(Box2, { sx: { display: "flex", alignItems: "center", gap: "8px", mb: 1 }, children: [
1039
- /* @__PURE__ */ jsx(Box2, { sx: { width: 8, height: 8, borderRadius: "50%", background: C.green, flexShrink: 0, animation: `${pulse} 1.6s ease infinite` } }),
1040
- /* @__PURE__ */ jsxs(Box2, { sx: { fontWeight: 700, fontSize: 11, color: C.t1, textTransform: "uppercase", letterSpacing: 0.6 }, children: [
1036
+ return /* @__PURE__ */ jsxs(Box_default, { sx: { position: "fixed", bottom: 20, right: 20, width: 268, background: "#fff", borderRadius: "14px", boxShadow: "0 8px 28px rgba(13,30,53,0.16), 0 2px 6px rgba(13,30,53,0.08)", zIndex: 999, overflow: "hidden", animation: `${slideUp} 0.22s cubic-bezier(.22,.68,0,1.2)` }, children: [
1037
+ /* @__PURE__ */ jsx(Box_default, { sx: { height: 3, background: sm.accent } }),
1038
+ /* @__PURE__ */ jsxs(Box_default, { sx: { p: "10px 12px" }, children: [
1039
+ /* @__PURE__ */ jsxs(Box_default, { sx: { display: "flex", alignItems: "center", gap: "8px", mb: 1 }, children: [
1040
+ /* @__PURE__ */ jsx(Box_default, { sx: { width: 8, height: 8, borderRadius: "50%", background: C.green, flexShrink: 0, animation: `${pulse} 1.6s ease infinite` } }),
1041
+ /* @__PURE__ */ jsxs(Box_default, { sx: { fontWeight: 700, fontSize: 11, color: C.t1, textTransform: "uppercase", letterSpacing: 0.6 }, children: [
1041
1042
  sm.icon,
1042
1043
  " ",
1043
1044
  sm.label,
1044
1045
  " Active"
1045
1046
  ] }),
1046
- /* @__PURE__ */ jsx(Box2, { sx: { ml: "auto", fontFamily: "'JetBrains Mono', monospace", fontSize: 11, fontWeight: 600, color: sm.accent }, children: fmtDur(Math.floor((Date.now() - monitoringSession.startTime) / 1e3)) })
1047
+ /* @__PURE__ */ jsx(Box_default, { sx: { ml: "auto", fontFamily: "'JetBrains Mono', monospace", fontSize: 11, fontWeight: 600, color: sm.accent }, children: fmtDur(Math.floor((Date.now() - monitoringSession.startTime) / 1e3)) })
1047
1048
  ] }),
1048
- /* @__PURE__ */ jsxs(Box2, { sx: { fontSize: 11, color: C.t2, mb: 1, pl: "16px" }, children: [
1049
+ /* @__PURE__ */ jsxs(Box_default, { sx: { fontSize: 11, color: C.t2, mb: 1, pl: "16px" }, children: [
1049
1050
  monitoringSession.agentName,
1050
- /* @__PURE__ */ jsx(Box2, { component: "span", sx: { color: C.t4, mx: 0.5 }, children: "\xB7" }),
1051
+ /* @__PURE__ */ jsx(Box_default, { component: "span", sx: { color: C.t4, mx: 0.5 }, children: "\xB7" }),
1051
1052
  "ext ",
1052
1053
  monitoringSession.agentExt
1053
1054
  ] }),
1054
- /* @__PURE__ */ jsx(Box2, { sx: { borderTop: `1px solid ${C.b1}`, mb: 1 } }),
1055
- /* @__PURE__ */ jsxs(Box2, { sx: { display: "flex", gap: "5px" }, children: [
1055
+ /* @__PURE__ */ jsx(Box_default, { sx: { borderTop: `1px solid ${C.b1}`, mb: 1 } }),
1056
+ /* @__PURE__ */ jsxs(Box_default, { sx: { display: "flex", gap: "5px" }, children: [
1056
1057
  ["listen", "whisper", "barge"].filter((m) => m !== monitoringSession.mode).map((mode) => {
1057
1058
  const mc = sessionModeConfig[mode];
1058
1059
  return /* @__PURE__ */ jsxs(MonitorBtn, { variant: mode, onClick: () => handleChangeMode(mode), style: { flex: 1, justifyContent: "center", padding: "4px 0", fontSize: 9, borderRadius: 4 }, children: [
@@ -1074,4 +1075,4 @@ function LiveStatusPage(props) {
1074
1075
  export {
1075
1076
  LiveStatusPage as default
1076
1077
  };
1077
- //# sourceMappingURL=liveStatus-F6AKCC27.mjs.map
1078
+ //# sourceMappingURL=liveStatus-YSBYSVOO.mjs.map