ahs-cti 0.0.4 → 0.0.5

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 (68) hide show
  1. package/dist/agentDetailReport-F7XZLVVO.mjs +16 -0
  2. package/dist/{agentPerformanceReport-6RO6STKU.mjs → agentPerformanceReport-U2QGVTXF.mjs} +27 -13
  3. package/dist/agentPerformanceReport-U2QGVTXF.mjs.map +1 -0
  4. package/dist/{auditReport-PYRZU3NA.mjs → auditReport-DEVQDTDT.mjs} +4 -3
  5. package/dist/{auditReport-PYRZU3NA.mjs.map → auditReport-DEVQDTDT.mjs.map} +1 -1
  6. package/dist/{callHistory-4JI64TU7.mjs → callHistory-MRBBY3UO.mjs} +27 -15
  7. package/dist/callHistory-MRBBY3UO.mjs.map +1 -0
  8. package/dist/{campaigns-JZE22SIM.mjs → campaigns-ERO3QM6I.mjs} +108 -51
  9. package/dist/campaigns-ERO3QM6I.mjs.map +1 -0
  10. package/dist/{cdrReport-RJTURVVV.mjs → cdrReport-EZNOCELK.mjs} +35 -18
  11. package/dist/cdrReport-EZNOCELK.mjs.map +1 -0
  12. package/dist/chunk-3DOSR6LQ.mjs +14 -0
  13. package/dist/chunk-3DOSR6LQ.mjs.map +1 -0
  14. package/dist/{chunk-HAJ6SECI.mjs → chunk-53DYH64M.mjs} +10 -6
  15. package/dist/{chunk-HAJ6SECI.mjs.map → chunk-53DYH64M.mjs.map} +1 -1
  16. package/dist/{chunk-UNTGXE6T.mjs → chunk-5FSMIU5K.mjs} +2 -2
  17. package/dist/{chunk-PO6POUPL.mjs → chunk-6MURUWDX.mjs} +39 -14
  18. package/dist/chunk-6MURUWDX.mjs.map +1 -0
  19. package/dist/{chunk-RZZQ42MG.mjs → chunk-BVQNDAS6.mjs} +6 -3
  20. package/dist/{chunk-RZZQ42MG.mjs.map → chunk-BVQNDAS6.mjs.map} +1 -1
  21. package/dist/chunk-DXZIYCNQ.mjs +14 -0
  22. package/dist/chunk-DXZIYCNQ.mjs.map +1 -0
  23. package/dist/{chunk-IBFF6DJA.mjs → chunk-ICGEHYJL.mjs} +11 -3
  24. package/dist/chunk-ICGEHYJL.mjs.map +1 -0
  25. package/dist/{chunk-BDQZYTAY.mjs → chunk-ISQBOS5Q.mjs} +20 -14
  26. package/dist/chunk-ISQBOS5Q.mjs.map +1 -0
  27. package/dist/chunk-MBHP7UOP.mjs +14 -0
  28. package/dist/chunk-MBHP7UOP.mjs.map +1 -0
  29. package/dist/chunk-MBXHRFGP.mjs +14 -0
  30. package/dist/chunk-MBXHRFGP.mjs.map +1 -0
  31. package/dist/chunk-MFZKONNR.mjs +14 -0
  32. package/dist/chunk-MFZKONNR.mjs.map +1 -0
  33. package/dist/{chunk-OVC42HVH.mjs → chunk-Q7FIRWF2.mjs} +6 -2
  34. package/dist/chunk-Q7FIRWF2.mjs.map +1 -0
  35. package/dist/{chunk-ATAP77RC.mjs → chunk-QPOHVXUK.mjs} +2 -2
  36. package/dist/chunk-RSL5OBRQ.mjs +28 -0
  37. package/dist/chunk-RSL5OBRQ.mjs.map +1 -0
  38. package/dist/chunk-XA5SCAZJ.mjs +14 -0
  39. package/dist/chunk-XA5SCAZJ.mjs.map +1 -0
  40. package/dist/{chunk-JOZ4YQMR.mjs → chunk-XMRM5VR4.mjs} +6 -3
  41. package/dist/{chunk-JOZ4YQMR.mjs.map → chunk-XMRM5VR4.mjs.map} +1 -1
  42. package/dist/{chunk-FVVDDZCA.mjs → chunk-YFW47Y76.mjs} +12 -4
  43. package/dist/chunk-YFW47Y76.mjs.map +1 -0
  44. package/dist/index.js +2718 -2134
  45. package/dist/index.js.map +1 -1
  46. package/dist/index.mjs +229 -104
  47. package/dist/index.mjs.map +1 -1
  48. package/dist/{liveStatus-E7UP37FK.mjs → liveStatus-F6AKCC27.mjs} +4 -4
  49. package/dist/{loginReport-5QYHG6OM.mjs → loginReport-MWTI4G6O.mjs} +35 -16
  50. package/dist/loginReport-MWTI4G6O.mjs.map +1 -0
  51. package/dist/{managementDashboard-PARD3QHL.mjs → managementDashboard-6UBOCLBA.mjs} +15 -10
  52. package/dist/{managementDashboard-PARD3QHL.mjs.map → managementDashboard-6UBOCLBA.mjs.map} +1 -1
  53. package/package.json +1 -1
  54. package/dist/agentDetailReport-JYBV3TF6.mjs +0 -13
  55. package/dist/agentPerformanceReport-6RO6STKU.mjs.map +0 -1
  56. package/dist/callHistory-4JI64TU7.mjs.map +0 -1
  57. package/dist/campaigns-JZE22SIM.mjs.map +0 -1
  58. package/dist/cdrReport-RJTURVVV.mjs.map +0 -1
  59. package/dist/chunk-BDQZYTAY.mjs.map +0 -1
  60. package/dist/chunk-FVVDDZCA.mjs.map +0 -1
  61. package/dist/chunk-IBFF6DJA.mjs.map +0 -1
  62. package/dist/chunk-OVC42HVH.mjs.map +0 -1
  63. package/dist/chunk-PO6POUPL.mjs.map +0 -1
  64. package/dist/loginReport-5QYHG6OM.mjs.map +0 -1
  65. /package/dist/{agentDetailReport-JYBV3TF6.mjs.map → agentDetailReport-F7XZLVVO.mjs.map} +0 -0
  66. /package/dist/{chunk-UNTGXE6T.mjs.map → chunk-5FSMIU5K.mjs.map} +0 -0
  67. /package/dist/{chunk-ATAP77RC.mjs.map → chunk-QPOHVXUK.mjs.map} +0 -0
  68. /package/dist/{liveStatus-E7UP37FK.mjs.map → liveStatus-F6AKCC27.mjs.map} +0 -0
package/dist/index.mjs CHANGED
@@ -1,17 +1,30 @@
1
1
  import {
2
2
  useCallMonitoring
3
- } from "./chunk-ATAP77RC.mjs";
3
+ } from "./chunk-QPOHVXUK.mjs";
4
4
  import {
5
+ KeyboardArrowDown_default
6
+ } from "./chunk-DXZIYCNQ.mjs";
7
+ import {
8
+ Pause_default,
5
9
  useGetCallerData
6
- } from "./chunk-IBFF6DJA.mjs";
10
+ } from "./chunk-ICGEHYJL.mjs";
11
+ import {
12
+ Phone_default
13
+ } from "./chunk-MBHP7UOP.mjs";
7
14
  import {
8
15
  setAuditReportUrlResolver
9
- } from "./chunk-PO6POUPL.mjs";
16
+ } from "./chunk-6MURUWDX.mjs";
10
17
  import {
11
18
  SDKAccessDenied,
12
19
  SDKPermissionGuard,
13
20
  useSDKPermissions
14
- } from "./chunk-FVVDDZCA.mjs";
21
+ } from "./chunk-YFW47Y76.mjs";
22
+ import {
23
+ Close_default
24
+ } from "./chunk-XA5SCAZJ.mjs";
25
+ import {
26
+ PlayArrow_default
27
+ } from "./chunk-MBXHRFGP.mjs";
15
28
  import {
16
29
  SDKProvider,
17
30
  useToast
@@ -23,8 +36,9 @@ import {
23
36
  SDK_WILDCARD,
24
37
  STORAGE_KEY,
25
38
  axios_default,
39
+ createSvgIcon,
26
40
  sdkStateManager
27
- } from "./chunk-OVC42HVH.mjs";
41
+ } from "./chunk-Q7FIRWF2.mjs";
28
42
  import {
29
43
  __publicField,
30
44
  __spreadProps,
@@ -306,26 +320,105 @@ function useSDKState() {
306
320
  // call-control-sdk/lib/components/callControlPanel.tsx
307
321
  import { memo, useCallback as useCallback6 } from "react";
308
322
 
323
+ // node_modules/@mui/icons-material/CallEnd.mjs
324
+ import { jsx as _jsx } from "react/jsx-runtime";
325
+ var CallEnd_default = createSvgIcon(/* @__PURE__ */ _jsx("path", {
326
+ d: "M12 9c-1.6 0-3.15.25-4.6.72v3.1c0 .39-.23.74-.56.9-.98.49-1.87 1.12-2.66 1.85-.18.18-.43.28-.7.28-.28 0-.53-.11-.71-.29L.29 13.08c-.18-.17-.29-.42-.29-.7s.11-.53.29-.71C3.34 8.78 7.46 7 12 7s8.66 1.78 11.71 4.67c.18.18.29.43.29.71s-.11.53-.29.71l-2.48 2.48c-.18.18-.43.29-.71.29-.27 0-.52-.11-.7-.28-.79-.74-1.69-1.36-2.67-1.85-.33-.16-.56-.5-.56-.9v-3.1C15.15 9.25 13.6 9 12 9"
327
+ }), "CallEnd");
328
+
329
+ // node_modules/@mui/icons-material/DragIndicator.mjs
330
+ import { jsx as _jsx2 } from "react/jsx-runtime";
331
+ var DragIndicator_default = createSvgIcon(/* @__PURE__ */ _jsx2("path", {
332
+ d: "M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2m-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"
333
+ }), "DragIndicator");
334
+
335
+ // node_modules/@mui/icons-material/Group.mjs
336
+ import { jsx as _jsx3 } from "react/jsx-runtime";
337
+ var Group_default = createSvgIcon(/* @__PURE__ */ _jsx3("path", {
338
+ d: "M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5s-3 1.34-3 3 1.34 3 3 3m-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5 5 6.34 5 8s1.34 3 3 3m0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5m8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5"
339
+ }), "Group");
340
+
341
+ // node_modules/@mui/icons-material/Layers.mjs
342
+ import { jsx as _jsx4 } from "react/jsx-runtime";
343
+ var Layers_default = createSvgIcon(/* @__PURE__ */ _jsx4("path", {
344
+ d: "m11.99 18.54-7.37-5.73L3 14.07l9 7 9-7-1.63-1.27zM12 16l7.36-5.73L21 9l-9-7-9 7 1.63 1.27z"
345
+ }), "Layers");
346
+
347
+ // node_modules/@mui/icons-material/Mic.mjs
348
+ import { jsx as _jsx5 } from "react/jsx-runtime";
349
+ var Mic_default = createSvgIcon(/* @__PURE__ */ _jsx5("path", {
350
+ d: "M12 14c1.66 0 2.99-1.34 2.99-3L15 5c0-1.66-1.34-3-3-3S9 3.34 9 5v6c0 1.66 1.34 3 3 3m5.3-3c0 3-2.54 5.1-5.3 5.1S6.7 14 6.7 11H5c0 3.41 2.72 6.23 6 6.72V21h2v-3.28c3.28-.48 6-3.3 6-6.72z"
351
+ }), "Mic");
352
+
353
+ // node_modules/@mui/icons-material/MicOff.mjs
354
+ import { jsx as _jsx6 } from "react/jsx-runtime";
355
+ var MicOff_default = createSvgIcon(/* @__PURE__ */ _jsx6("path", {
356
+ d: "M19 11h-1.7c0 .74-.16 1.43-.43 2.05l1.23 1.23c.56-.98.9-2.09.9-3.28m-4.02.17c0-.06.02-.11.02-.17V5c0-1.66-1.34-3-3-3S9 3.34 9 5v.18zM4.27 3 3 4.27l6.01 6.01V11c0 1.66 1.33 3 2.99 3 .22 0 .44-.03.65-.08l1.66 1.66c-.71.33-1.5.52-2.31.52-2.76 0-5.3-2.1-5.3-5.1H5c0 3.41 2.72 6.23 6 6.72V21h2v-3.28c.91-.13 1.77-.45 2.54-.9L19.73 21 21 19.73z"
357
+ }), "MicOff");
358
+
359
+ // node_modules/@mui/icons-material/Pending.mjs
360
+ import { jsx as _jsx7 } from "react/jsx-runtime";
361
+ var Pending_default = createSvgIcon(/* @__PURE__ */ _jsx7("path", {
362
+ d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2M7 13.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5m5 0c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5m5 0c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5"
363
+ }), "Pending");
364
+
365
+ // node_modules/@mui/icons-material/SupportAgent.mjs
366
+ import { jsx as _jsx8 } from "react/jsx-runtime";
367
+ var SupportAgent_default = createSvgIcon([/* @__PURE__ */ _jsx8("path", {
368
+ d: "M21 12.22C21 6.73 16.74 3 12 3c-4.69 0-9 3.65-9 9.28-.6.34-1 .98-1 1.72v2c0 1.1.9 2 2 2h1v-6.1c0-3.87 3.13-7 7-7s7 3.13 7 7V19h-8v2h8c1.1 0 2-.9 2-2v-1.22c.59-.31 1-.92 1-1.64v-2.3c0-.7-.41-1.31-1-1.62"
369
+ }, "0"), /* @__PURE__ */ _jsx8("circle", {
370
+ cx: "9",
371
+ cy: "13",
372
+ r: "1"
373
+ }, "1"), /* @__PURE__ */ _jsx8("circle", {
374
+ cx: "15",
375
+ cy: "13",
376
+ r: "1"
377
+ }, "2"), /* @__PURE__ */ _jsx8("path", {
378
+ d: "M18 11.03C17.52 8.18 15.04 6 12.05 6c-3.03 0-6.29 2.51-6.03 6.45 2.47-1.01 4.33-3.21 4.86-5.89 1.31 2.63 4 4.44 7.12 4.47"
379
+ }, "3")], "SupportAgent");
380
+
381
+ // node_modules/@mui/icons-material/TransferWithinAStation.mjs
382
+ import { jsx as _jsx9 } from "react/jsx-runtime";
383
+ var TransferWithinAStation_default = createSvgIcon(/* @__PURE__ */ _jsx9("path", {
384
+ d: "M16.49 15.5v-1.75L14 16.25l2.49 2.5V17H22v-1.5zm3.02 4.25H14v1.5h5.51V23L22 20.5 19.51 18zM9.5 5.5c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2M5.75 8.9 3 23h2.1l1.75-8L9 17v6h2v-7.55L8.95 13.4l.6-3C10.85 12 12.8 13 15 13v-2c-1.85 0-3.45-1-4.35-2.45l-.95-1.6C9.35 6.35 8.7 6 8 6q-.375 0-.75.15L2 8.3V13h2V9.65z"
385
+ }), "TransferWithinAStation");
386
+
387
+ // node_modules/@mui/icons-material/Upcoming.mjs
388
+ import { jsx as _jsx10 } from "react/jsx-runtime";
389
+ var Upcoming_default = createSvgIcon(/* @__PURE__ */ _jsx10("path", {
390
+ d: "m21.16 7.26-1.41-1.41-3.56 3.55 1.41 1.41s3.45-3.52 3.56-3.55M11 3h2v5h-2zm-4.6 7.81L7.81 9.4 4.26 5.84 2.84 7.26c.11.03 3.56 3.55 3.56 3.55M20 12h-5c0 1.66-1.34 3-3 3s-3-1.34-3-3H4c-1.1 0-2 .9-2 2v5c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2v-5c0-1.1-.9-2-2-2"
391
+ }), "Upcoming");
392
+
393
+ // node_modules/@mui/icons-material/WifiCalling3.mjs
394
+ import { jsx as _jsx11 } from "react/jsx-runtime";
395
+ var WifiCalling3_default = createSvgIcon([/* @__PURE__ */ _jsx11("path", {
396
+ d: "M16.49 3c-2.21 0-4.21.9-5.66 2.34l1.06 1.06c1.18-1.18 2.8-1.91 4.59-1.91s3.42.73 4.59 1.91l1.06-1.06C20.7 3.9 18.7 3 16.49 3"
397
+ }, "0"), /* @__PURE__ */ _jsx11("path", {
398
+ d: "M20.03 7.46C19.12 6.56 17.87 6 16.49 6s-2.63.56-3.54 1.46l1.06 1.06c.63-.63 1.51-1.03 2.47-1.03s1.84.39 2.47 1.03zm-4.95 2.13L16.49 11l1.41-1.41c-.36-.37-.86-.59-1.41-.59s-1.05.22-1.41.59"
399
+ }, "1"), /* @__PURE__ */ _jsx11("path", {
400
+ d: "m15.63 14.4-2.52 2.5c-2.5-1.43-4.57-3.5-6-6l2.5-2.52c.23-.24.33-.57.27-.9L9.13 3.8c-.09-.46-.5-.8-.98-.8H4c-.56 0-1.03.47-1 1.03.17 2.89 1.05 5.6 2.43 7.97 1.58 2.73 3.85 4.99 6.57 6.57 2.37 1.37 5.08 2.26 7.97 2.43.56.03 1.03-.44 1.03-1v-4.15c0-.48-.34-.89-.8-.98l-3.67-.73c-.33-.07-.67.03-.9.26"
401
+ }, "2")], "WifiCalling3");
402
+
403
+ // node_modules/@mui/icons-material/SendRounded.mjs
404
+ import { jsx as _jsx12 } from "react/jsx-runtime";
405
+ var SendRounded_default = createSvgIcon(/* @__PURE__ */ _jsx12("path", {
406
+ d: "m3.4 20.4 17.45-7.48c.81-.35.81-1.49 0-1.84L3.4 3.6c-.66-.29-1.39.2-1.39.91L2 9.12c0 .5.37.93.87.99L17 12 2.87 13.88c-.5.07-.87.5-.87 1l.01 4.61c0 .71.73 1.2 1.39.91"
407
+ }), "SendRounded");
408
+
409
+ // node_modules/@mui/icons-material/SmsSharp.mjs
410
+ import { jsx as _jsx13 } from "react/jsx-runtime";
411
+ var SmsSharp_default = createSvgIcon(/* @__PURE__ */ _jsx13("path", {
412
+ d: "M22 2H2v20l4-4h16zM9 11H7V9h2zm4 0h-2V9h2zm4 0h-2V9h2z"
413
+ }), "SmsSharp");
414
+
415
+ // node_modules/@mui/icons-material/MoreVert.mjs
416
+ import { jsx as _jsx14 } from "react/jsx-runtime";
417
+ var MoreVert_default = createSvgIcon(/* @__PURE__ */ _jsx14("path", {
418
+ d: "M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"
419
+ }), "MoreVert");
420
+
309
421
  // call-control-sdk/lib/components/callControls.tsx
310
- import CallEnd2 from "@mui/icons-material/CallEnd";
311
- import Close2 from "@mui/icons-material/Close";
312
- import DragIndicator from "@mui/icons-material/DragIndicator";
313
- import Group from "@mui/icons-material/Group";
314
- import KeyboardArrowDown from "@mui/icons-material/KeyboardArrowDown";
315
- import Layers from "@mui/icons-material/Layers";
316
- import Mic from "@mui/icons-material/Mic";
317
- import MicOff from "@mui/icons-material/MicOff";
318
- import Pause2 from "@mui/icons-material/Pause";
319
- import Pending from "@mui/icons-material/Pending";
320
- import Phone from "@mui/icons-material/Phone";
321
- import PlayArrow2 from "@mui/icons-material/PlayArrow";
322
- import SupportAgent2 from "@mui/icons-material/SupportAgent";
323
- import TransferWithinAStation2 from "@mui/icons-material/TransferWithinAStation";
324
- import Upcoming2 from "@mui/icons-material/Upcoming";
325
- import WifiCalling3 from "@mui/icons-material/WifiCalling3";
326
- import SendRounded from "@mui/icons-material/SendRounded";
327
- import SmsSharp from "@mui/icons-material/SmsSharp";
328
- import MoreVert from "@mui/icons-material/MoreVert";
329
422
  import {
330
423
  Box as Box2,
331
424
  Button as Button2,
@@ -343,21 +436,53 @@ import {
343
436
  } from "@mui/material";
344
437
  import { useEffect as useEffect4, useRef as useRef2, useState as useState8 } from "react";
345
438
 
439
+ // node_modules/@mui/icons-material/Airlines.mjs
440
+ import { jsx as _jsx15 } from "react/jsx-runtime";
441
+ var Airlines_default = createSvgIcon(/* @__PURE__ */ _jsx15("path", {
442
+ d: "M13 4 2 20h17l3-16zm1.5 10c-1.38 0-2.5-1.12-2.5-2.5S13.12 9 14.5 9s2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5"
443
+ }), "Airlines");
444
+
445
+ // node_modules/@mui/icons-material/Call.mjs
446
+ import { jsx as _jsx16 } from "react/jsx-runtime";
447
+ var Call_default = createSvgIcon(/* @__PURE__ */ _jsx16("path", {
448
+ d: "M20.01 15.38c-1.23 0-2.42-.2-3.53-.56-.35-.12-.74-.03-1.01.24l-1.57 1.97c-2.83-1.35-5.48-3.9-6.89-6.83l1.95-1.66c.27-.28.35-.67.24-1.02-.37-1.11-.56-2.3-.56-3.53 0-.54-.45-.99-.99-.99H4.19C3.65 3 3 3.24 3 3.99 3 13.28 10.73 21 20.01 21c.71 0 .99-.63.99-1.18v-3.45c0-.54-.45-.99-.99-.99"
449
+ }), "Call");
450
+
451
+ // node_modules/@mui/icons-material/CallSplit.mjs
452
+ import { jsx as _jsx17 } from "react/jsx-runtime";
453
+ var CallSplit_default = createSvgIcon(/* @__PURE__ */ _jsx17("path", {
454
+ d: "m14 4 2.29 2.29-2.88 2.88 1.42 1.42 2.88-2.88L20 10V4zm-4 0H4v6l2.29-2.29 4.71 4.7V20h2v-8.41l-5.29-5.3z"
455
+ }), "CallSplit");
456
+
457
+ // node_modules/@mui/icons-material/MemoryOutlined.mjs
458
+ import { jsx as _jsx18 } from "react/jsx-runtime";
459
+ var MemoryOutlined_default = createSvgIcon(/* @__PURE__ */ _jsx18("path", {
460
+ d: "M15 9H9v6h6zm-2 4h-2v-2h2zm8-2V9h-2V7c0-1.1-.9-2-2-2h-2V3h-2v2h-2V3H9v2H7c-1.1 0-2 .9-2 2v2H3v2h2v2H3v2h2v2c0 1.1.9 2 2 2h2v2h2v-2h2v2h2v-2h2c1.1 0 2-.9 2-2v-2h2v-2h-2v-2zm-4 6H7V7h10z"
461
+ }), "MemoryOutlined");
462
+
463
+ // node_modules/@mui/icons-material/PhoneDisabled.mjs
464
+ import { jsx as _jsx19 } from "react/jsx-runtime";
465
+ var PhoneDisabled_default = createSvgIcon(/* @__PURE__ */ _jsx19("path", {
466
+ d: "m17.34 14.54-1.43-1.43c.56-.73 1.05-1.5 1.47-2.32l-2.2-2.2c-.28-.28-.36-.67-.25-1.02.37-1.12.57-2.32.57-3.57 0-.55.45-1 1-1H20c.55 0 1 .45 1 1 0 3.98-1.37 7.64-3.66 10.54m-2.82 2.81C11.63 19.64 7.97 21 4 21c-.55 0-1-.45-1-1v-3.49c0-.55.45-1 1-1 1.24 0 2.45-.2 3.57-.57.35-.12.75-.03 1.02.24l2.2 2.2c.81-.42 1.58-.9 2.3-1.46L1.39 4.22l1.42-1.41L21.19 21.2l-1.41 1.41z"
467
+ }), "PhoneDisabled");
468
+
469
+ // node_modules/@mui/icons-material/RecordVoiceOver.mjs
470
+ import { jsx as _jsx20 } from "react/jsx-runtime";
471
+ var RecordVoiceOver_default = createSvgIcon([/* @__PURE__ */ _jsx20("circle", {
472
+ cx: "9",
473
+ cy: "9",
474
+ r: "4"
475
+ }, "0"), /* @__PURE__ */ _jsx20("path", {
476
+ d: "M9 15c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4m7.76-9.64-1.68 1.69c.84 1.18.84 2.71 0 3.89l1.68 1.69c2.02-2.02 2.02-5.07 0-7.27M20.07 2l-1.63 1.63c2.77 3.02 2.77 7.56 0 10.74L20.07 16c3.9-3.89 3.91-9.95 0-14"
477
+ }, "1")], "RecordVoiceOver");
478
+
479
+ // node_modules/@mui/icons-material/Roofing.mjs
480
+ import { jsx as _jsx21 } from "react/jsx-runtime";
481
+ var Roofing_default = createSvgIcon(/* @__PURE__ */ _jsx21("path", {
482
+ d: "M13 18h-2v-2h2zm2-4H9v6h6zm4-4.7V4h-3v2.6L12 3 2 12h3l7-6.31L19 12h3z"
483
+ }), "Roofing");
484
+
346
485
  // call-control-sdk/lib/components/dialog.tsx
347
- import Airlines from "@mui/icons-material/Airlines";
348
- import Call from "@mui/icons-material/Call";
349
- import CallEnd from "@mui/icons-material/CallEnd";
350
- import CallSplit from "@mui/icons-material/CallSplit";
351
- import Close from "@mui/icons-material/Close";
352
- import MemoryOutlined from "@mui/icons-material/MemoryOutlined";
353
- import Pause from "@mui/icons-material/Pause";
354
- import PhoneDisabled from "@mui/icons-material/PhoneDisabled";
355
- import PlayArrow from "@mui/icons-material/PlayArrow";
356
- import RecordVoiceOver from "@mui/icons-material/RecordVoiceOver";
357
- import Roofing from "@mui/icons-material/Roofing";
358
- import SupportAgent from "@mui/icons-material/SupportAgent";
359
- import TransferWithinAStation from "@mui/icons-material/TransferWithinAStation";
360
- import Upcoming from "@mui/icons-material/Upcoming";
361
486
  import {
362
487
  Box,
363
488
  Button,
@@ -939,7 +1064,7 @@ var ConferenceTableRow = ({ each, isLineDialing }) => {
939
1064
  children: "Unhold"
940
1065
  }
941
1066
  ),
942
- conferenceCallHoldOrUnHold ? /* @__PURE__ */ jsx(CircularProgress, { size: "16px", sx: { color: theme.palette.primary.main } }) : /* @__PURE__ */ jsx(PlayArrow, {})
1067
+ conferenceCallHoldOrUnHold ? /* @__PURE__ */ jsx(CircularProgress, { size: "16px", sx: { color: theme.palette.primary.main } }) : /* @__PURE__ */ jsx(PlayArrow_default, {})
943
1068
  ]
944
1069
  }
945
1070
  ) : /* @__PURE__ */ jsxs(
@@ -961,7 +1086,7 @@ var ConferenceTableRow = ({ each, isLineDialing }) => {
961
1086
  children: "Hold"
962
1087
  }
963
1088
  ),
964
- conferenceCallHoldOrUnHold ? /* @__PURE__ */ jsx(CircularProgress, { size: "16px", sx: { color: theme.palette.primary.main } }) : /* @__PURE__ */ jsx(Pause, {})
1089
+ conferenceCallHoldOrUnHold ? /* @__PURE__ */ jsx(CircularProgress, { size: "16px", sx: { color: theme.palette.primary.main } }) : /* @__PURE__ */ jsx(Pause_default, {})
965
1090
  ]
966
1091
  }
967
1092
  )
@@ -994,7 +1119,7 @@ var ConferenceTableRow = ({ each, isLineDialing }) => {
994
1119
  },
995
1120
  disabled: callDisabled,
996
1121
  children: conferenceCallStart ? /* @__PURE__ */ jsx(CircularProgress, { size: "20px", color: "success" }) : /* @__PURE__ */ jsx(
997
- Call,
1122
+ Call_default,
998
1123
  {
999
1124
  sx: {
1000
1125
  color: callDisabled ? "default" : "#f3f2f2"
@@ -1013,7 +1138,7 @@ var ConferenceTableRow = ({ each, isLineDialing }) => {
1013
1138
  onMergeConferenceCall(each, { isMergeCall: true });
1014
1139
  },
1015
1140
  disabled: (each == null ? void 0 : each.status) !== "ONCALL" /* ONCALL */,
1016
- children: conferenceCallMerge ? /* @__PURE__ */ jsx(CircularProgress, { size: "20px" }) : /* @__PURE__ */ jsx(CallSplit, {})
1141
+ children: conferenceCallMerge ? /* @__PURE__ */ jsx(CircularProgress, { size: "20px" }) : /* @__PURE__ */ jsx(CallSplit_default, {})
1017
1142
  }
1018
1143
  ) }),
1019
1144
  (each == null ? void 0 : each.line) !== 1 && /* @__PURE__ */ jsx(Tooltip, { title: (each == null ? void 0 : each.status) !== "HOLD" /* HOLD */ ? "Hold" : "Resume", children: /* @__PURE__ */ jsx(
@@ -1029,7 +1154,7 @@ var ConferenceTableRow = ({ each, isLineDialing }) => {
1029
1154
  }
1030
1155
  },
1031
1156
  disabled: !holdEnabled,
1032
- children: conferenceCallHoldOrUnHold ? /* @__PURE__ */ jsx(CircularProgress, { size: "20px", sx: { color: theme.palette.primary.main } }) : each.status === "HOLD" /* HOLD */ ? /* @__PURE__ */ jsx(PlayArrow, {}) : /* @__PURE__ */ jsx(Pause, {})
1157
+ children: conferenceCallHoldOrUnHold ? /* @__PURE__ */ jsx(CircularProgress, { size: "20px", sx: { color: theme.palette.primary.main } }) : each.status === "HOLD" /* HOLD */ ? /* @__PURE__ */ jsx(PlayArrow_default, {}) : /* @__PURE__ */ jsx(Pause_default, {})
1033
1158
  }
1034
1159
  ) }),
1035
1160
  (each == null ? void 0 : each.line) !== 1 && /* @__PURE__ */ jsx(Tooltip, { title: "End Call", children: /* @__PURE__ */ jsx(
@@ -1058,7 +1183,7 @@ var ConferenceTableRow = ({ each, isLineDialing }) => {
1058
1183
  });
1059
1184
  },
1060
1185
  disabled: (each == null ? void 0 : each.status) === "IDLE" /* IDLE */ || (each == null ? void 0 : each.status) === "DISCONNECTED" /* DISCONNECTED */ || conferenceCallEnd,
1061
- children: conferenceCallEnd ? /* @__PURE__ */ jsx(CircularProgress, { size: "20px", color: "error" }) : /* @__PURE__ */ jsx(CallEnd, {})
1186
+ children: conferenceCallEnd ? /* @__PURE__ */ jsx(CircularProgress, { size: "20px", color: "error" }) : /* @__PURE__ */ jsx(CallEnd_default, {})
1062
1187
  }
1063
1188
  ) })
1064
1189
  ]
@@ -1171,7 +1296,7 @@ function ConferenceDialog() {
1171
1296
  {
1172
1297
  onClick: handleClose,
1173
1298
  color: "primary",
1174
- children: /* @__PURE__ */ jsx(Close, { sx: { color: "primary.main" } })
1299
+ children: /* @__PURE__ */ jsx(Close_default, { sx: { color: "primary.main" } })
1175
1300
  }
1176
1301
  ) })
1177
1302
  ]
@@ -1244,7 +1369,7 @@ function ConferenceDialog() {
1244
1369
  justifyContent: "center",
1245
1370
  borderRadius: "50%"
1246
1371
  },
1247
- children: /* @__PURE__ */ jsx(PhoneDisabled, { sx: { color: ((_m = state.sdkConfig) == null ? void 0 : _m.disableEndConference) ? "action.disabled" : "white", fontSize: "16px", fontWeight: "600" } })
1372
+ children: /* @__PURE__ */ jsx(PhoneDisabled_default, { sx: { color: ((_m = state.sdkConfig) == null ? void 0 : _m.disableEndConference) ? "action.disabled" : "white", fontSize: "16px", fontWeight: "600" } })
1248
1373
  }
1249
1374
  ),
1250
1375
  "End Conference"
@@ -1417,7 +1542,7 @@ function CallTransferDialog({ open }) {
1417
1542
  {
1418
1543
  variant: "outlined",
1419
1544
  size: "small",
1420
- startIcon: isCompleteConsultLoading ? /* @__PURE__ */ jsx(CircularProgress, { size: 14 }) : /* @__PURE__ */ jsx(TransferWithinAStation, { sx: { fontSize: 16 } }),
1545
+ startIcon: isCompleteConsultLoading ? /* @__PURE__ */ jsx(CircularProgress, { size: 14 }) : /* @__PURE__ */ jsx(TransferWithinAStation_default, { sx: { fontSize: 16 } }),
1421
1546
  disabled: isCompleteConsultLoading || isCancelConsultLoading,
1422
1547
  onClick: () => {
1423
1548
  if (state.consultInfo) {
@@ -1435,7 +1560,7 @@ function CallTransferDialog({ open }) {
1435
1560
  variant: "outlined",
1436
1561
  size: "small",
1437
1562
  color: "error",
1438
- startIcon: isCancelConsultLoading ? /* @__PURE__ */ jsx(CircularProgress, { size: 14 }) : /* @__PURE__ */ jsx(PhoneDisabled, { sx: { fontSize: 16 } }),
1563
+ startIcon: isCancelConsultLoading ? /* @__PURE__ */ jsx(CircularProgress, { size: 14 }) : /* @__PURE__ */ jsx(PhoneDisabled_default, { sx: { fontSize: 16 } }),
1439
1564
  disabled: isCancelConsultLoading || isCompleteConsultLoading,
1440
1565
  onClick: () => {
1441
1566
  if (state.consultInfo) {
@@ -1453,7 +1578,7 @@ function CallTransferDialog({ open }) {
1453
1578
  )
1454
1579
  ] })
1455
1580
  ] }),
1456
- /* @__PURE__ */ jsx(Box, { sx: { flex: 1, display: "flex", justifyContent: "flex-end" }, children: /* @__PURE__ */ jsx(IconButton, { onClick: handleClose, children: /* @__PURE__ */ jsx(Close, {}) }) })
1581
+ /* @__PURE__ */ jsx(Box, { sx: { flex: 1, display: "flex", justifyContent: "flex-end" }, children: /* @__PURE__ */ jsx(IconButton, { onClick: handleClose, children: /* @__PURE__ */ jsx(Close_default, {}) }) })
1457
1582
  ]
1458
1583
  }
1459
1584
  ),
@@ -1536,7 +1661,7 @@ function CallTransferDialog({ open }) {
1536
1661
  alignItems: "center"
1537
1662
  },
1538
1663
  children: [
1539
- /* @__PURE__ */ jsx(MemoryOutlined, { sx: { marginRight: "4px" } }),
1664
+ /* @__PURE__ */ jsx(MemoryOutlined_default, { sx: { marginRight: "4px" } }),
1540
1665
  process.process_name
1541
1666
  ]
1542
1667
  }
@@ -1551,7 +1676,7 @@ function CallTransferDialog({ open }) {
1551
1676
  },
1552
1677
  disabled: !!state.consultInfo,
1553
1678
  onClick: () => handleTransferCall(process, "PROCESS"),
1554
- children: /* @__PURE__ */ jsx(Call, {})
1679
+ children: /* @__PURE__ */ jsx(Call_default, {})
1555
1680
  }
1556
1681
  ) }) })
1557
1682
  ]
@@ -1568,7 +1693,7 @@ function CallTransferDialog({ open }) {
1568
1693
  p: 2
1569
1694
  },
1570
1695
  children: [
1571
- /* @__PURE__ */ jsx(Upcoming, { color: "primary" }),
1696
+ /* @__PURE__ */ jsx(Upcoming_default, { color: "primary" }),
1572
1697
  /* @__PURE__ */ jsx(
1573
1698
  Typography,
1574
1699
  {
@@ -1632,7 +1757,7 @@ function CallTransferDialog({ open }) {
1632
1757
  alignItems: "center"
1633
1758
  },
1634
1759
  children: [
1635
- /* @__PURE__ */ jsx(Airlines, { sx: { marginRight: "4px" } }),
1760
+ /* @__PURE__ */ jsx(Airlines_default, { sx: { marginRight: "4px" } }),
1636
1761
  queue.queue_name,
1637
1762
  ((_c2 = (_b2 = (_a2 = processAndQueuesList == null ? void 0 : processAndQueuesList.data) == null ? void 0 : _a2.process) == null ? void 0 : _b2.find(
1638
1763
  (process) => process.process_id === queue.process_id
@@ -1665,7 +1790,7 @@ function CallTransferDialog({ open }) {
1665
1790
  },
1666
1791
  disabled: !!state.consultInfo,
1667
1792
  onClick: () => handleTransferCall(queue, "QUEUE"),
1668
- children: /* @__PURE__ */ jsx(Call, {})
1793
+ children: /* @__PURE__ */ jsx(Call_default, {})
1669
1794
  }
1670
1795
  ) }) })
1671
1796
  ]
@@ -1683,7 +1808,7 @@ function CallTransferDialog({ open }) {
1683
1808
  p: 2
1684
1809
  },
1685
1810
  children: [
1686
- /* @__PURE__ */ jsx(Upcoming, { color: "primary" }),
1811
+ /* @__PURE__ */ jsx(Upcoming_default, { color: "primary" }),
1687
1812
  /* @__PURE__ */ jsx(
1688
1813
  Typography,
1689
1814
  {
@@ -1745,7 +1870,7 @@ function CallTransferDialog({ open }) {
1745
1870
  alignItems: "center"
1746
1871
  },
1747
1872
  children: [
1748
- /* @__PURE__ */ jsx(SupportAgent, { sx: { marginRight: "4px" } }),
1873
+ /* @__PURE__ */ jsx(SupportAgent_default, { sx: { marginRight: "4px" } }),
1749
1874
  agent.name
1750
1875
  ]
1751
1876
  }
@@ -1760,7 +1885,7 @@ function CallTransferDialog({ open }) {
1760
1885
  },
1761
1886
  disabled: !!state.consultInfo,
1762
1887
  onClick: (e) => handleTransferClick(e, agent, "AGENT"),
1763
- children: /* @__PURE__ */ jsx(Call, {})
1888
+ children: /* @__PURE__ */ jsx(Call_default, {})
1764
1889
  }
1765
1890
  ) }) })
1766
1891
  ]
@@ -1777,7 +1902,7 @@ function CallTransferDialog({ open }) {
1777
1902
  p: 2
1778
1903
  },
1779
1904
  children: [
1780
- /* @__PURE__ */ jsx(Upcoming, { color: "primary" }),
1905
+ /* @__PURE__ */ jsx(Upcoming_default, { color: "primary" }),
1781
1906
  /* @__PURE__ */ jsx(
1782
1907
  Typography,
1783
1908
  {
@@ -1842,7 +1967,7 @@ function CallTransferDialog({ open }) {
1842
1967
  alignItems: "center"
1843
1968
  },
1844
1969
  children: [
1845
- /* @__PURE__ */ jsx(Roofing, { sx: { marginRight: "4px" } }),
1970
+ /* @__PURE__ */ jsx(Roofing_default, { sx: { marginRight: "4px" } }),
1846
1971
  /* @__PURE__ */ jsx(Tooltip, { title: `${(_a2 = service == null ? void 0 : service.description) != null ? _a2 : ""}`, children: /* @__PURE__ */ jsxs(Box, { sx: { color: "text.secondary" }, children: [
1847
1972
  service.name,
1848
1973
  /* @__PURE__ */ jsx(
@@ -1879,7 +2004,7 @@ function CallTransferDialog({ open }) {
1879
2004
  var _a3;
1880
2005
  return handleTransferClick(e, { mobile_number: (_a3 = service == null ? void 0 : service.phone_number) != null ? _a3 : "" }, "OTHER");
1881
2006
  },
1882
- children: /* @__PURE__ */ jsx(Call, {})
2007
+ children: /* @__PURE__ */ jsx(Call_default, {})
1883
2008
  }
1884
2009
  ) }) })
1885
2010
  ]
@@ -1985,7 +2110,7 @@ function CallTransferDialog({ open }) {
1985
2110
  "&:hover": { bgcolor: "action.selected" }
1986
2111
  },
1987
2112
  onClick: (e) => handleTransferClick(e, { mobile_number: mobileNumber != null ? mobileNumber : "" }, "OTHER"),
1988
- children: /* @__PURE__ */ jsx(Call, {})
2113
+ children: /* @__PURE__ */ jsx(Call_default, {})
1989
2114
  }
1990
2115
  ) }) })
1991
2116
  ] });
@@ -2017,7 +2142,7 @@ function CallTransferDialog({ open }) {
2017
2142
  },
2018
2143
  sx: { gap: 1 },
2019
2144
  children: [
2020
- /* @__PURE__ */ jsx(TransferWithinAStation, { fontSize: "small", color: "primary" }),
2145
+ /* @__PURE__ */ jsx(TransferWithinAStation_default, { fontSize: "small", color: "primary" }),
2021
2146
  "Transfer"
2022
2147
  ]
2023
2148
  }
@@ -2031,7 +2156,7 @@ function CallTransferDialog({ open }) {
2031
2156
  },
2032
2157
  sx: { gap: 1 },
2033
2158
  children: [
2034
- /* @__PURE__ */ jsx(RecordVoiceOver, { fontSize: "small", color: "primary" }),
2159
+ /* @__PURE__ */ jsx(RecordVoiceOver_default, { fontSize: "small", color: "primary" }),
2035
2160
  "Consult then Transfer"
2036
2161
  ]
2037
2162
  }
@@ -2372,7 +2497,7 @@ function ProcessorListDialog({
2372
2497
  },
2373
2498
  children: [
2374
2499
  /* @__PURE__ */ jsx(Typography, { variant: "body1", children: " Process List" }),
2375
- /* @__PURE__ */ jsx(IconButton, { onClick: handleClose, children: /* @__PURE__ */ jsx(Close, {}) })
2500
+ /* @__PURE__ */ jsx(IconButton, { onClick: handleClose, children: /* @__PURE__ */ jsx(Close_default, {}) })
2376
2501
  ]
2377
2502
  }
2378
2503
  ),
@@ -2414,7 +2539,7 @@ function ProcessorListDialog({
2414
2539
  alignItems: "center"
2415
2540
  },
2416
2541
  children: [
2417
- /* @__PURE__ */ jsx(SupportAgent, { sx: { marginRight: "4px" } }),
2542
+ /* @__PURE__ */ jsx(SupportAgent_default, { sx: { marginRight: "4px" } }),
2418
2543
  process.process_name
2419
2544
  ]
2420
2545
  }
@@ -2453,7 +2578,7 @@ function CallHistoryDialog({ open, setOpen }) {
2453
2578
  },
2454
2579
  children: [
2455
2580
  /* @__PURE__ */ jsx(Typography, { variant: "body1", children: " Call History" }),
2456
- /* @__PURE__ */ jsx(IconButton, { onClick: handleClose, children: /* @__PURE__ */ jsx(Close, {}) })
2581
+ /* @__PURE__ */ jsx(IconButton, { onClick: handleClose, children: /* @__PURE__ */ jsx(Close_default, {}) })
2457
2582
  ]
2458
2583
  }
2459
2584
  ),
@@ -3469,7 +3594,7 @@ function CallControls({ onDataChange }) {
3469
3594
  },
3470
3595
  onMouseDown: handleMouseDown,
3471
3596
  onTouchStart: handleTouchStart,
3472
- children: /* @__PURE__ */ jsx2(DragIndicator, {})
3597
+ children: /* @__PURE__ */ jsx2(DragIndicator_default, {})
3473
3598
  }
3474
3599
  ),
3475
3600
  ((_v = state.sdkConfig) == null ? void 0 : _v.enableQueueName) && ((_w = state == null ? void 0 : state.callData) == null ? void 0 : _w.queue_name) && ((_x = state == null ? void 0 : state.callData) == null ? void 0 : _x.mode) !== "manual" && /* @__PURE__ */ jsx2(Chip, { label: (_y = state == null ? void 0 : state.callData) == null ? void 0 : _y.queue_name }),
@@ -3477,7 +3602,7 @@ function CallControls({ onDataChange }) {
3477
3602
  Button2,
3478
3603
  {
3479
3604
  variant: "outlined",
3480
- startIcon: /* @__PURE__ */ jsx2(WifiCalling3, {}),
3605
+ startIcon: /* @__PURE__ */ jsx2(WifiCalling3_default, {}),
3481
3606
  onClick: (e) => {
3482
3607
  var _a2, _b2, _c2, _d2, _e2, _f2;
3483
3608
  if (![
@@ -3530,7 +3655,7 @@ function CallControls({ onDataChange }) {
3530
3655
  "RINGING" /* RINGING */
3531
3656
  ].includes((_M = state.callData.status) == null ? void 0 : _M.toUpperCase()) || ((_N = state.sdkConfig) == null ? void 0 : _N.disabledDialButton) || ((_O = state.callData.status) == null ? void 0 : _O.toUpperCase()) === "WRAPUP" /* WRAPUP */ && !!((_P = state.sdkConfig) == null ? void 0 : _P.disableAlternateDialing),
3532
3657
  children: /* @__PURE__ */ jsx2(
3533
- WifiCalling3,
3658
+ WifiCalling3_default,
3534
3659
  {
3535
3660
  sx: {
3536
3661
  color: [
@@ -3614,7 +3739,7 @@ function CallControls({ onDataChange }) {
3614
3739
  mt: "2px"
3615
3740
  },
3616
3741
  children: [
3617
- /* @__PURE__ */ jsx2(Pause2, { sx: { fontSize: "11px" } }),
3742
+ /* @__PURE__ */ jsx2(Pause_default, { sx: { fontSize: "11px" } }),
3618
3743
  /* @__PURE__ */ jsx2(
3619
3744
  Typography2,
3620
3745
  {
@@ -3644,7 +3769,7 @@ function CallControls({ onDataChange }) {
3644
3769
  mt: "2px"
3645
3770
  },
3646
3771
  children: [
3647
- /* @__PURE__ */ jsx2(MicOff, { sx: { fontSize: "11px" } }),
3772
+ /* @__PURE__ */ jsx2(MicOff_default, { sx: { fontSize: "11px" } }),
3648
3773
  /* @__PURE__ */ jsx2(
3649
3774
  Typography2,
3650
3775
  {
@@ -3691,7 +3816,7 @@ function CallControls({ onDataChange }) {
3691
3816
  }
3692
3817
  ),
3693
3818
  onClick: handleOpenAgentStatus,
3694
- deleteIcon: /* @__PURE__ */ jsx2(KeyboardArrowDown, { color: "primary" }),
3819
+ deleteIcon: /* @__PURE__ */ jsx2(KeyboardArrowDown_default, { color: "primary" }),
3695
3820
  onDelete: handleOpenAgentStatus
3696
3821
  }
3697
3822
  )
@@ -3716,7 +3841,7 @@ function CallControls({ onDataChange }) {
3716
3841
  variant: ["BREAK" /* BREAK */, "MISSED" /* MISSED */].includes(
3717
3842
  (_aa = (_$ = state.callData) == null ? void 0 : _$.status) == null ? void 0 : _aa.toUpperCase()
3718
3843
  ) ? "outlined" : "contained",
3719
- startIcon: isVertical ? /* @__PURE__ */ jsx2(SupportAgent2, {}) : void 0,
3844
+ startIcon: isVertical ? /* @__PURE__ */ jsx2(SupportAgent_default, {}) : void 0,
3720
3845
  onClick: (e) => {
3721
3846
  var _a2, _b2;
3722
3847
  if (["BREAK" /* BREAK */, "MISSED" /* MISSED */].includes(
@@ -3735,14 +3860,14 @@ function CallControls({ onDataChange }) {
3735
3860
  (_ea = (_da = state.callData) == null ? void 0 : _da.status) == null ? void 0 : _ea.toUpperCase()
3736
3861
  ) ? outlined : enabled), isVertical && { justifyContent: "flex-start", width: "100%", px: 2 }),
3737
3862
  disabled: agentReadyLoading,
3738
- children: isVertical ? "Agent Ready" : /* @__PURE__ */ jsx2(SupportAgent2, {})
3863
+ children: isVertical ? "Agent Ready" : /* @__PURE__ */ jsx2(SupportAgent_default, {})
3739
3864
  }
3740
3865
  ) }),
3741
3866
  /* @__PURE__ */ jsx2(Tooltip2, { title: ((_fa = state.sdkConfig) == null ? void 0 : _fa.disableHoldButton) ? "Hold feature is disabled" : ((_ga = state.callData) == null ? void 0 : _ga.hold) === 1 ? "Resume" : "Hold", children: /* @__PURE__ */ jsx2(Box2, { component: "span", sx: isVertical ? { display: "block" } : {}, children: /* @__PURE__ */ jsx2(
3742
3867
  Button2,
3743
3868
  {
3744
3869
  variant: ((_ha = state.callData) == null ? void 0 : _ha.hold) === 1 && ((_ja = (_ia = state.callData) == null ? void 0 : _ia.status) == null ? void 0 : _ja.toUpperCase()) === "ONCALL" /* ONCALL */ ? "contained" : "outlined",
3745
- startIcon: isVertical ? holdOrUnHoldLoading ? void 0 : ((_ka = state.callData) == null ? void 0 : _ka.hold) === 1 ? /* @__PURE__ */ jsx2(PlayArrow2, {}) : /* @__PURE__ */ jsx2(Pause2, {}) : void 0,
3870
+ startIcon: isVertical ? holdOrUnHoldLoading ? void 0 : ((_ka = state.callData) == null ? void 0 : _ka.hold) === 1 ? /* @__PURE__ */ jsx2(PlayArrow_default, {}) : /* @__PURE__ */ jsx2(Pause_default, {}) : void 0,
3746
3871
  onClick: (e) => {
3747
3872
  var _a2;
3748
3873
  e.stopPropagation();
@@ -3758,14 +3883,14 @@ function CallControls({ onDataChange }) {
3758
3883
  size: "20px",
3759
3884
  sx: { color: theme.palette.primary.main }
3760
3885
  }
3761
- ) : isVertical ? ((_va = state.callData) == null ? void 0 : _va.hold) === 1 ? "Resume" : "Hold" : ((_wa = state.callData) == null ? void 0 : _wa.hold) === 1 ? /* @__PURE__ */ jsx2(PlayArrow2, {}) : /* @__PURE__ */ jsx2(Pause2, {})
3886
+ ) : isVertical ? ((_va = state.callData) == null ? void 0 : _va.hold) === 1 ? "Resume" : "Hold" : ((_wa = state.callData) == null ? void 0 : _wa.hold) === 1 ? /* @__PURE__ */ jsx2(PlayArrow_default, {}) : /* @__PURE__ */ jsx2(Pause_default, {})
3762
3887
  }
3763
3888
  ) }) }),
3764
3889
  /* @__PURE__ */ jsx2(Tooltip2, { title: ((_xa = state.sdkConfig) == null ? void 0 : _xa.disableMuteButton) ? "Mute feature is disabled" : ((_ya = state.callData) == null ? void 0 : _ya.mute) === 1 ? "Unmute" : "Mute", children: /* @__PURE__ */ jsx2(Box2, { component: "span", sx: isVertical ? { display: "block" } : {}, children: /* @__PURE__ */ jsx2(
3765
3890
  Button2,
3766
3891
  {
3767
3892
  variant: ((_za = state.callData) == null ? void 0 : _za.mute) === 1 && ((_Ba = (_Aa = state.callData) == null ? void 0 : _Aa.status) == null ? void 0 : _Ba.toUpperCase()) === "ONCALL" /* ONCALL */ ? "contained" : "outlined",
3768
- startIcon: isVertical ? muteOrUnMuteLoading ? void 0 : ((_Ca = state.callData) == null ? void 0 : _Ca.mute) === 1 ? /* @__PURE__ */ jsx2(MicOff, {}) : /* @__PURE__ */ jsx2(Mic, {}) : void 0,
3893
+ startIcon: isVertical ? muteOrUnMuteLoading ? void 0 : ((_Ca = state.callData) == null ? void 0 : _Ca.mute) === 1 ? /* @__PURE__ */ jsx2(MicOff_default, {}) : /* @__PURE__ */ jsx2(Mic_default, {}) : void 0,
3769
3894
  onClick: (e) => {
3770
3895
  var _a2;
3771
3896
  e.stopPropagation();
@@ -3781,14 +3906,14 @@ function CallControls({ onDataChange }) {
3781
3906
  size: "20px",
3782
3907
  sx: { color: theme.palette.primary.main }
3783
3908
  }
3784
- ) : isVertical ? ((_Pa = state.callData) == null ? void 0 : _Pa.mute) === 1 ? "Unmute" : "Mute" : ((_Qa = state.callData) == null ? void 0 : _Qa.mute) === 1 ? /* @__PURE__ */ jsx2(MicOff, {}) : /* @__PURE__ */ jsx2(Mic, {})
3909
+ ) : isVertical ? ((_Pa = state.callData) == null ? void 0 : _Pa.mute) === 1 ? "Unmute" : "Mute" : ((_Qa = state.callData) == null ? void 0 : _Qa.mute) === 1 ? /* @__PURE__ */ jsx2(MicOff_default, {}) : /* @__PURE__ */ jsx2(Mic_default, {})
3785
3910
  }
3786
3911
  ) }) }),
3787
3912
  /* @__PURE__ */ jsx2(Tooltip2, { title: ((_Ra = state.sdkConfig) == null ? void 0 : _Ra.disableCallTransferButton) ? "Transfer Call feature is disabled" : "Transfer Call", children: /* @__PURE__ */ jsx2(Box2, { component: "span", sx: isVertical ? { display: "block" } : {}, children: /* @__PURE__ */ jsx2(
3788
3913
  Button2,
3789
3914
  {
3790
3915
  variant: state.openCallTransferDialog ? "contained" : "outlined",
3791
- startIcon: isVertical ? /* @__PURE__ */ jsx2(TransferWithinAStation2, {}) : void 0,
3916
+ startIcon: isVertical ? /* @__PURE__ */ jsx2(TransferWithinAStation_default, {}) : void 0,
3792
3917
  onClick: (e) => {
3793
3918
  var _a2, _b2, _c2;
3794
3919
  if (((_b2 = (_a2 = state.callData) == null ? void 0 : _a2.status) == null ? void 0 : _b2.toUpperCase()) === "ONCALL" /* ONCALL */ && !((_c2 = state.sdkConfig) == null ? void 0 : _c2.disableCallTransferButton)) {
@@ -3798,14 +3923,14 @@ function CallControls({ onDataChange }) {
3798
3923
  },
3799
3924
  sx: state.openCallTransferDialog ? __spreadValues(__spreadValues({}, enabled), isVertical && { justifyContent: "flex-start", width: "100%", px: 2 }) : ((_Ta = (_Sa = state.callData) == null ? void 0 : _Sa.status) == null ? void 0 : _Ta.toUpperCase()) === "ONCALL" /* ONCALL */ && !((_Ua = state.sdkConfig) == null ? void 0 : _Ua.disableCallTransferButton) ? __spreadValues(__spreadValues({}, outlined), isVertical && { justifyContent: "flex-start", width: "100%", px: 2 }) : __spreadValues(__spreadValues({}, disabled), isVertical && { justifyContent: "flex-start", width: "100%", px: 2 }),
3800
3925
  disabled: ((_Wa = (_Va = state.callData) == null ? void 0 : _Va.status) == null ? void 0 : _Wa.toUpperCase()) !== "ONCALL" /* ONCALL */ || ((_Xa = state.sdkConfig) == null ? void 0 : _Xa.disableCallTransferButton),
3801
- children: isVertical ? "Transfer" : /* @__PURE__ */ jsx2(TransferWithinAStation2, {})
3926
+ children: isVertical ? "Transfer" : /* @__PURE__ */ jsx2(TransferWithinAStation_default, {})
3802
3927
  }
3803
3928
  ) }) }),
3804
3929
  /* @__PURE__ */ jsx2(Tooltip2, { title: ((_Ya = state.sdkConfig) == null ? void 0 : _Ya.disableConferenceButton) ? "Conference Call feature is disabled" : "Conference Call", children: /* @__PURE__ */ jsx2(Box2, { component: "span", sx: isVertical ? { display: "block" } : {}, children: /* @__PURE__ */ jsx2(
3805
3930
  Button2,
3806
3931
  {
3807
3932
  variant: state.openConferenceDialog ? "contained" : "outlined",
3808
- startIcon: isVertical ? /* @__PURE__ */ jsx2(Group, {}) : void 0,
3933
+ startIcon: isVertical ? /* @__PURE__ */ jsx2(Group_default, {}) : void 0,
3809
3934
  onClick: (e) => {
3810
3935
  var _a2, _b2, _c2;
3811
3936
  if (((_b2 = (_a2 = state.callData) == null ? void 0 : _a2.status) == null ? void 0 : _b2.toUpperCase()) === "ONCALL" /* ONCALL */ && !((_c2 = state.sdkConfig) == null ? void 0 : _c2.disableConferenceButton)) {
@@ -3815,14 +3940,14 @@ function CallControls({ onDataChange }) {
3815
3940
  },
3816
3941
  sx: state.openConferenceDialog ? __spreadValues(__spreadValues({}, enabled), isVertical && { justifyContent: "flex-start", width: "100%", px: 2 }) : ((__a = (_Za = state.callData) == null ? void 0 : _Za.status) == null ? void 0 : __a.toUpperCase()) === "ONCALL" /* ONCALL */ && !((_$a = state.sdkConfig) == null ? void 0 : _$a.disableConferenceButton) ? __spreadValues(__spreadValues({}, outlined), isVertical && { justifyContent: "flex-start", width: "100%", px: 2 }) : __spreadValues(__spreadValues({}, disabled), isVertical && { justifyContent: "flex-start", width: "100%", px: 2 }),
3817
3942
  disabled: ((_bb = (_ab = state.callData) == null ? void 0 : _ab.status) == null ? void 0 : _bb.toUpperCase()) !== "ONCALL" /* ONCALL */ || ((_cb = state.sdkConfig) == null ? void 0 : _cb.disableConferenceButton),
3818
- children: isVertical ? "Conference" : /* @__PURE__ */ jsx2(Group, {})
3943
+ children: isVertical ? "Conference" : /* @__PURE__ */ jsx2(Group_default, {})
3819
3944
  }
3820
3945
  ) }) }),
3821
3946
  ((_db = state.sdkConfig) == null ? void 0 : _db.enableSmsServices) && /* @__PURE__ */ jsx2(Tooltip2, { title: "Send SMS", children: /* @__PURE__ */ jsx2(
3822
3947
  Button2,
3823
3948
  {
3824
3949
  variant: Boolean(ambulanceAnchorEl) ? "contained" : "outlined",
3825
- startIcon: isVertical ? /* @__PURE__ */ jsx2(SmsSharp, {}) : void 0,
3950
+ startIcon: isVertical ? /* @__PURE__ */ jsx2(SmsSharp_default, {}) : void 0,
3826
3951
  onClick: (e) => {
3827
3952
  var _a2, _b2;
3828
3953
  if (["ONCALL" /* ONCALL */, "WRAPUP" /* WRAPUP */].includes(
@@ -3838,7 +3963,7 @@ function CallControls({ onDataChange }) {
3838
3963
  disabled: !["ONCALL" /* ONCALL */, "WRAPUP" /* WRAPUP */].includes(
3839
3964
  (_hb = (_gb = state.callData) == null ? void 0 : _gb.status) == null ? void 0 : _hb.toUpperCase()
3840
3965
  ),
3841
- children: isVertical ? "Send SMS" : /* @__PURE__ */ jsx2(SmsSharp, {})
3966
+ children: isVertical ? "Send SMS" : /* @__PURE__ */ jsx2(SmsSharp_default, {})
3842
3967
  }
3843
3968
  ) }),
3844
3969
  /* @__PURE__ */ jsx2(Tooltip2, { title: ((_ib = state.sdkConfig) == null ? void 0 : _ib.disableEndCallButton) ? "End Call feature is disabled" : "End Call", children: /* @__PURE__ */ jsx2(Box2, { component: "span", sx: isVertical ? { display: "block" } : {}, children: /* @__PURE__ */ jsx2(
@@ -3850,7 +3975,7 @@ function CallControls({ onDataChange }) {
3850
3975
  "DIALING" /* DIALING */,
3851
3976
  "WRAPUP" /* WRAPUP */
3852
3977
  ].includes((_kb = (_jb = state.callData) == null ? void 0 : _jb.status) == null ? void 0 : _kb.toUpperCase()) && !((_lb = state.sdkConfig) == null ? void 0 : _lb.disableEndCallButton) ? "contained" : "outlined",
3853
- startIcon: isVertical && !endCallLoading ? /* @__PURE__ */ jsx2(CallEnd2, {}) : void 0,
3978
+ startIcon: isVertical && !endCallLoading ? /* @__PURE__ */ jsx2(CallEnd_default, {}) : void 0,
3854
3979
  onClick: (e) => {
3855
3980
  var _a2, _b2, _c2;
3856
3981
  if ([
@@ -3893,14 +4018,14 @@ function CallControls({ onDataChange }) {
3893
4018
  "DIALING" /* DIALING */,
3894
4019
  "WRAPUP" /* WRAPUP */
3895
4020
  ].includes((_qb = (_pb = state.callData) == null ? void 0 : _pb.status) == null ? void 0 : _qb.toUpperCase()) || endCallLoading || ((_rb = state.sdkConfig) == null ? void 0 : _rb.disableEndCallButton),
3896
- children: endCallLoading ? /* @__PURE__ */ jsx2(CircularProgress2, { size: "20px", color: "error" }) : isVertical ? "End Call" : /* @__PURE__ */ jsx2(CallEnd2, {})
4021
+ children: endCallLoading ? /* @__PURE__ */ jsx2(CircularProgress2, { size: "20px", color: "error" }) : isVertical ? "End Call" : /* @__PURE__ */ jsx2(CallEnd_default, {})
3897
4022
  }
3898
4023
  ) }) }),
3899
4024
  !((_sb = state.sdkConfig) == null ? void 0 : _sb.disabledMoreOptionsButton) && processList && (processList == null ? void 0 : processList.length) > 1 && /* @__PURE__ */ jsx2(Tooltip2, { title: "Switch Process", children: /* @__PURE__ */ jsx2(
3900
4025
  Button2,
3901
4026
  {
3902
4027
  variant: Boolean(moreOptionsAnchorEl) ? "contained" : "outlined",
3903
- startIcon: isVertical ? /* @__PURE__ */ jsx2(MoreVert, {}) : void 0,
4028
+ startIcon: isVertical ? /* @__PURE__ */ jsx2(MoreVert_default, {}) : void 0,
3904
4029
  onClick: (e) => {
3905
4030
  var _a2, _b2;
3906
4031
  if (["BREAK" /* BREAK */, "IDLE" /* IDLE */].includes(
@@ -3914,7 +4039,7 @@ function CallControls({ onDataChange }) {
3914
4039
  disabled: !["BREAK" /* BREAK */, "IDLE" /* IDLE */].includes(
3915
4040
  (_ub = (_tb = state.callData) == null ? void 0 : _tb.status) == null ? void 0 : _ub.toUpperCase()
3916
4041
  ),
3917
- children: isVertical ? "Switch Process" : /* @__PURE__ */ jsx2(MoreVert, {})
4042
+ children: isVertical ? "Switch Process" : /* @__PURE__ */ jsx2(MoreVert_default, {})
3918
4043
  }
3919
4044
  ) })
3920
4045
  ]
@@ -3963,7 +4088,7 @@ function CallControls({ onDataChange }) {
3963
4088
  onTouchStart: iframeHandleTouchStart,
3964
4089
  children: [
3965
4090
  /* @__PURE__ */ jsx2(
3966
- DragIndicator,
4091
+ DragIndicator_default,
3967
4092
  {
3968
4093
  sx: {
3969
4094
  transform: "rotate(90deg)",
@@ -3973,7 +4098,7 @@ function CallControls({ onDataChange }) {
3973
4098
  ),
3974
4099
  " ",
3975
4100
  /* @__PURE__ */ jsx2(Typography2, { variant: "subtitle1", fontWeight: 600, sx: { textAlign: "center" }, children: "ahs-cti" }),
3976
- /* @__PURE__ */ jsx2(IconButton2, { onClick: () => setShowIframe(false), children: /* @__PURE__ */ jsx2(Close2, {}) })
4101
+ /* @__PURE__ */ jsx2(IconButton2, { onClick: () => setShowIframe(false), children: /* @__PURE__ */ jsx2(Close_default, {}) })
3977
4102
  ]
3978
4103
  }
3979
4104
  ),
@@ -4077,7 +4202,7 @@ function CallControls({ onDataChange }) {
4077
4202
  color: theme.palette.success.main
4078
4203
  }
4079
4204
  }
4080
- ) : /* @__PURE__ */ jsx2(Phone, { color: "success" })
4205
+ ) : /* @__PURE__ */ jsx2(Phone_default, { color: "success" })
4081
4206
  }
4082
4207
  )
4083
4208
  ]
@@ -4132,7 +4257,7 @@ function CallControls({ onDataChange }) {
4132
4257
  children: [
4133
4258
  "Send",
4134
4259
  /* @__PURE__ */ jsx2(
4135
- SendRounded,
4260
+ SendRounded_default,
4136
4261
  {
4137
4262
  sx: {
4138
4263
  marginLeft: "8px",
@@ -4269,7 +4394,7 @@ function CallControls({ onDataChange }) {
4269
4394
  /* @__PURE__ */ jsx2(
4270
4395
  Chip,
4271
4396
  {
4272
- icon: /* @__PURE__ */ jsx2(Layers, { color: "secondary" }),
4397
+ icon: /* @__PURE__ */ jsx2(Layers_default, { color: "secondary" }),
4273
4398
  variant: "outlined",
4274
4399
  label: "Waiting - 25",
4275
4400
  sx: {
@@ -4280,7 +4405,7 @@ function CallControls({ onDataChange }) {
4280
4405
  /* @__PURE__ */ jsx2(
4281
4406
  Chip,
4282
4407
  {
4283
- icon: /* @__PURE__ */ jsx2(Pending, { color: "info" }),
4408
+ icon: /* @__PURE__ */ jsx2(Pending_default, { color: "info" }),
4284
4409
  label: "Pending - 99+",
4285
4410
  variant: "outlined",
4286
4411
  sx: {
@@ -4291,7 +4416,7 @@ function CallControls({ onDataChange }) {
4291
4416
  /* @__PURE__ */ jsx2(
4292
4417
  Chip,
4293
4418
  {
4294
- icon: /* @__PURE__ */ jsx2(Upcoming2, { color: "success" }),
4419
+ icon: /* @__PURE__ */ jsx2(Upcoming_default, { color: "success" }),
4295
4420
  variant: "outlined",
4296
4421
  label: "Upcoming - 66",
4297
4422
  sx: {
@@ -4362,15 +4487,15 @@ function withGuard(menuCodes, loader) {
4362
4487
  });
4363
4488
  }
4364
4489
  var SDKPages = {
4365
- CallHistory: withGuard(SDK_MENU_CODES.CALL_HISTORY, () => import("./callHistory-4JI64TU7.mjs")),
4366
- Campaigns: withGuard(SDK_MENU_CODES.CAMPAIGNS, () => import("./campaigns-JZE22SIM.mjs")),
4367
- LoginReport: withGuard(SDK_MENU_CODES.LOGIN_REPORT, () => import("./loginReport-5QYHG6OM.mjs")),
4368
- CdrReports: withGuard(SDK_MENU_CODES.CDR_REPORT, () => import("./cdrReport-RJTURVVV.mjs")),
4369
- AuditReportPage: withGuard(SDK_MENU_CODES.CDR_REPORT, () => import("./auditReport-PYRZU3NA.mjs")),
4370
- AgentPerformanceReport: withGuard(SDK_MENU_CODES.AGENT_PERFORMANCE_REPORT, () => import("./agentPerformanceReport-6RO6STKU.mjs")),
4371
- AgentDetailReport: withGuard(SDK_MENU_CODES.AGENT_DETAIL_REPORT, () => import("./agentDetailReport-JYBV3TF6.mjs")),
4372
- LiveStatus: withGuard(SDK_MENU_CODES.LIVE_STATUS, () => import("./liveStatus-E7UP37FK.mjs")),
4373
- ManagementDashboard: withGuard(SDK_MENU_CODES.MANAGEMENT_DASHBOARD, () => import("./managementDashboard-PARD3QHL.mjs")),
4490
+ CallHistory: withGuard(SDK_MENU_CODES.CALL_HISTORY, () => import("./callHistory-MRBBY3UO.mjs")),
4491
+ Campaigns: withGuard(SDK_MENU_CODES.CAMPAIGNS, () => import("./campaigns-ERO3QM6I.mjs")),
4492
+ LoginReport: withGuard(SDK_MENU_CODES.LOGIN_REPORT, () => import("./loginReport-MWTI4G6O.mjs")),
4493
+ CdrReports: withGuard(SDK_MENU_CODES.CDR_REPORT, () => import("./cdrReport-EZNOCELK.mjs")),
4494
+ AuditReportPage: withGuard(SDK_MENU_CODES.CDR_REPORT, () => import("./auditReport-DEVQDTDT.mjs")),
4495
+ AgentPerformanceReport: withGuard(SDK_MENU_CODES.AGENT_PERFORMANCE_REPORT, () => import("./agentPerformanceReport-U2QGVTXF.mjs")),
4496
+ AgentDetailReport: withGuard(SDK_MENU_CODES.AGENT_DETAIL_REPORT, () => import("./agentDetailReport-F7XZLVVO.mjs")),
4497
+ LiveStatus: withGuard(SDK_MENU_CODES.LIVE_STATUS, () => import("./liveStatus-F6AKCC27.mjs")),
4498
+ ManagementDashboard: withGuard(SDK_MENU_CODES.MANAGEMENT_DASHBOARD, () => import("./managementDashboard-6UBOCLBA.mjs")),
4374
4499
  CaroVoiceAI: withGuard(SDK_MENU_CODES.CARO_VOICE_AI, () => import("./caroVoiceAI-Z5BDDDSY.mjs")),
4375
4500
  QualityAuditDashboard: withGuard(SDK_MENU_CODES.MANAGEMENT_DASHBOARD, () => import("./qualityAuditDashboard-ZJEEAMBS.mjs")),
4376
4501
  CaroQualityAuditDashboard: withGuard(SDK_MENU_CODES.MANAGEMENT_DASHBOARD, () => import("./caroQualityAuditDashboard-NRWY6SEC.mjs"))