ahs-cti 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agentDetailReport-CP7WYOIX.mjs +12 -0
- package/dist/{agentPerformanceReport-UT6QZWYD.mjs → agentPerformanceReport-F52KNRKW.mjs} +9 -9
- package/dist/{agentPerformanceReport-UT6QZWYD.mjs.map → agentPerformanceReport-F52KNRKW.mjs.map} +1 -1
- package/dist/{auditReport-R67BYA4Z.mjs → auditReport-CJ23LXIZ.mjs} +4 -4
- package/dist/{callHistory-PHGY224F.mjs → callHistory-ZA3SCD7K.mjs} +3 -3
- package/dist/{campaigns-JSMYHHDF.mjs → campaigns-PIXRNMM4.mjs} +6 -6
- package/dist/campaigns-PIXRNMM4.mjs.map +1 -0
- package/dist/{caroQualityAuditDashboard-7X44HRZL.mjs → caroQualityAuditDashboard-NRWY6SEC.mjs} +2 -2
- package/dist/{caroVoiceAI-OZAB7LK4.mjs → caroVoiceAI-Z5BDDDSY.mjs} +2 -2
- package/dist/{cdrReport-44LN5VUX.mjs → cdrReport-7TKZERRX.mjs} +10 -10
- package/dist/{cdrReport-44LN5VUX.mjs.map → cdrReport-7TKZERRX.mjs.map} +1 -1
- package/dist/{chunk-FVXHNBYV.mjs → chunk-BU6FMNBY.mjs} +2 -2
- package/dist/{chunk-O2XGWZLT.mjs → chunk-DBSNJ3QH.mjs} +2 -2
- package/dist/chunk-GC3WM33W.mjs +5783 -0
- package/dist/chunk-GC3WM33W.mjs.map +1 -0
- package/dist/{chunk-G6KDIN5W.mjs → chunk-JAAPNDP2.mjs} +7 -7
- package/dist/{chunk-G6KDIN5W.mjs.map → chunk-JAAPNDP2.mjs.map} +1 -1
- package/dist/{chunk-WWWM33FY.mjs → chunk-L4LLUMYA.mjs} +3 -3
- package/dist/{chunk-GGACEO3I.mjs → chunk-NQL4VODC.mjs} +2 -2
- package/dist/{chunk-UZF5Q3GR.mjs → chunk-NUYGQI7D.mjs} +3 -3
- package/dist/chunk-UB5HSUGK.mjs +65 -0
- package/dist/{chunk-HRM6S6J2.mjs → chunk-VZCHJLAW.mjs} +2 -2
- package/dist/chunk-X376SOIZ.mjs +17125 -0
- package/dist/chunk-X376SOIZ.mjs.map +1 -0
- package/dist/index.js +26387 -1215
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +18 -18
- package/dist/{liveStatus-AHKS4XLW.mjs → liveStatus-IQIEZZE5.mjs} +5 -5
- package/dist/{loginReport-7GBMZP55.mjs → loginReport-A4GUPW3G.mjs} +8 -8
- package/dist/{loginReport-7GBMZP55.mjs.map → loginReport-A4GUPW3G.mjs.map} +1 -1
- package/dist/{managementDashboard-TYON77NW.mjs → managementDashboard-345DQMNO.mjs} +7 -7
- package/dist/{managementDashboard-TYON77NW.mjs.map → managementDashboard-345DQMNO.mjs.map} +1 -1
- package/dist/{qualityAuditDashboard-AGJH5VVN.mjs → qualityAuditDashboard-ZJEEAMBS.mjs} +2 -2
- package/package.json +1 -1
- package/dist/agentDetailReport-XSBMOUMW.mjs +0 -12
- package/dist/campaigns-JSMYHHDF.mjs.map +0 -1
- package/dist/chunk-CXULBAK6.mjs +0 -493
- package/dist/chunk-CXULBAK6.mjs.map +0 -1
- package/dist/chunk-JOZ4YQMR.mjs +0 -116
- package/dist/chunk-JOZ4YQMR.mjs.map +0 -1
- package/dist/chunk-VQCHBU2Q.mjs +0 -27
- /package/dist/{agentDetailReport-XSBMOUMW.mjs.map → agentDetailReport-CP7WYOIX.mjs.map} +0 -0
- /package/dist/{auditReport-R67BYA4Z.mjs.map → auditReport-CJ23LXIZ.mjs.map} +0 -0
- /package/dist/{callHistory-PHGY224F.mjs.map → callHistory-ZA3SCD7K.mjs.map} +0 -0
- /package/dist/{caroQualityAuditDashboard-7X44HRZL.mjs.map → caroQualityAuditDashboard-NRWY6SEC.mjs.map} +0 -0
- /package/dist/{caroVoiceAI-OZAB7LK4.mjs.map → caroVoiceAI-Z5BDDDSY.mjs.map} +0 -0
- /package/dist/{chunk-FVXHNBYV.mjs.map → chunk-BU6FMNBY.mjs.map} +0 -0
- /package/dist/{chunk-O2XGWZLT.mjs.map → chunk-DBSNJ3QH.mjs.map} +0 -0
- /package/dist/{chunk-WWWM33FY.mjs.map → chunk-L4LLUMYA.mjs.map} +0 -0
- /package/dist/{chunk-GGACEO3I.mjs.map → chunk-NQL4VODC.mjs.map} +0 -0
- /package/dist/{chunk-UZF5Q3GR.mjs.map → chunk-NUYGQI7D.mjs.map} +0 -0
- /package/dist/{chunk-VQCHBU2Q.mjs.map → chunk-UB5HSUGK.mjs.map} +0 -0
- /package/dist/{chunk-HRM6S6J2.mjs.map → chunk-VZCHJLAW.mjs.map} +0 -0
- /package/dist/{liveStatus-AHKS4XLW.mjs.map → liveStatus-IQIEZZE5.mjs.map} +0 -0
- /package/dist/{qualityAuditDashboard-AGJH5VVN.mjs.map → qualityAuditDashboard-ZJEEAMBS.mjs.map} +0 -0
package/dist/chunk-JOZ4YQMR.mjs
DELETED
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
// call-control-sdk/lib/pages/common/components/PageHeader.tsx
|
|
2
|
-
import { Box, Typography, IconButton } from "@mui/material";
|
|
3
|
-
import ArrowBackIcon from "@mui/icons-material/ArrowBack";
|
|
4
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
-
function PageHeader({
|
|
6
|
-
title,
|
|
7
|
-
subtitle,
|
|
8
|
-
avatar,
|
|
9
|
-
showBack = false,
|
|
10
|
-
onBack,
|
|
11
|
-
actions,
|
|
12
|
-
count,
|
|
13
|
-
countLabel = "items"
|
|
14
|
-
}) {
|
|
15
|
-
const handleBack = () => onBack == null ? void 0 : onBack();
|
|
16
|
-
return /* @__PURE__ */ jsx(Box, { sx: { px: { xs: 2, md: 2.5 }, py: "14px" }, children: /* @__PURE__ */ jsxs(
|
|
17
|
-
Box,
|
|
18
|
-
{
|
|
19
|
-
sx: {
|
|
20
|
-
display: "flex",
|
|
21
|
-
alignItems: { xs: "flex-start", sm: "center" },
|
|
22
|
-
justifyContent: "space-between",
|
|
23
|
-
flexDirection: { xs: "column", sm: "row" },
|
|
24
|
-
gap: 1
|
|
25
|
-
},
|
|
26
|
-
children: [
|
|
27
|
-
/* @__PURE__ */ jsxs(Box, { sx: { display: "flex", alignItems: "center", gap: 1.25, minWidth: 0 }, children: [
|
|
28
|
-
showBack && /* @__PURE__ */ jsx(
|
|
29
|
-
IconButton,
|
|
30
|
-
{
|
|
31
|
-
onClick: handleBack,
|
|
32
|
-
size: "small",
|
|
33
|
-
sx: {
|
|
34
|
-
width: 30,
|
|
35
|
-
height: 30,
|
|
36
|
-
flexShrink: 0,
|
|
37
|
-
border: "none",
|
|
38
|
-
borderRadius: "6px",
|
|
39
|
-
backgroundColor: "action.hover",
|
|
40
|
-
color: "text.secondary",
|
|
41
|
-
"&:hover": { backgroundColor: "action.selected", color: "text.primary" },
|
|
42
|
-
transition: "all 0.15s ease"
|
|
43
|
-
},
|
|
44
|
-
children: /* @__PURE__ */ jsx(ArrowBackIcon, { sx: { fontSize: 15 } })
|
|
45
|
-
}
|
|
46
|
-
),
|
|
47
|
-
avatar,
|
|
48
|
-
/* @__PURE__ */ jsxs(Box, { children: [
|
|
49
|
-
/* @__PURE__ */ jsx(
|
|
50
|
-
Typography,
|
|
51
|
-
{
|
|
52
|
-
sx: {
|
|
53
|
-
fontWeight: 700,
|
|
54
|
-
fontSize: { xs: "1.25rem", sm: "1.5rem", lg: "1.75rem" },
|
|
55
|
-
color: "text.primary",
|
|
56
|
-
lineHeight: 1.3,
|
|
57
|
-
whiteSpace: "nowrap",
|
|
58
|
-
overflow: "hidden",
|
|
59
|
-
textOverflow: "ellipsis",
|
|
60
|
-
pl: !showBack ? 0 : 2
|
|
61
|
-
},
|
|
62
|
-
children: title
|
|
63
|
-
}
|
|
64
|
-
),
|
|
65
|
-
subtitle && /* @__PURE__ */ jsx(
|
|
66
|
-
Typography,
|
|
67
|
-
{
|
|
68
|
-
sx: {
|
|
69
|
-
fontSize: "0.78rem",
|
|
70
|
-
color: "text.secondary",
|
|
71
|
-
pl: !showBack ? 0 : 2,
|
|
72
|
-
mt: 0.2,
|
|
73
|
-
lineHeight: 1.4
|
|
74
|
-
},
|
|
75
|
-
children: subtitle
|
|
76
|
-
}
|
|
77
|
-
)
|
|
78
|
-
] })
|
|
79
|
-
] }),
|
|
80
|
-
/* @__PURE__ */ jsxs(Box, { sx: { display: "flex", alignItems: "center", gap: 1, flexShrink: 0 }, children: [
|
|
81
|
-
count !== void 0 && /* @__PURE__ */ jsxs(
|
|
82
|
-
Box,
|
|
83
|
-
{
|
|
84
|
-
sx: {
|
|
85
|
-
display: "flex",
|
|
86
|
-
alignItems: "center",
|
|
87
|
-
gap: "5px",
|
|
88
|
-
px: "10px",
|
|
89
|
-
height: 32,
|
|
90
|
-
border: "1px solid",
|
|
91
|
-
borderColor: "divider",
|
|
92
|
-
borderRadius: "6px",
|
|
93
|
-
backgroundColor: "background.paper",
|
|
94
|
-
whiteSpace: "nowrap"
|
|
95
|
-
},
|
|
96
|
-
children: [
|
|
97
|
-
/* @__PURE__ */ jsx(Box, { sx: { width: 6, height: 6, borderRadius: "50%", backgroundColor: "#1A5F6C", flexShrink: 0 } }),
|
|
98
|
-
/* @__PURE__ */ jsxs(Typography, { sx: { fontSize: "0.75rem", color: "text.secondary" }, children: [
|
|
99
|
-
count,
|
|
100
|
-
" ",
|
|
101
|
-
countLabel
|
|
102
|
-
] })
|
|
103
|
-
]
|
|
104
|
-
}
|
|
105
|
-
),
|
|
106
|
-
actions
|
|
107
|
-
] })
|
|
108
|
-
]
|
|
109
|
-
}
|
|
110
|
-
) });
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
export {
|
|
114
|
-
PageHeader
|
|
115
|
-
};
|
|
116
|
-
//# sourceMappingURL=chunk-JOZ4YQMR.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../call-control-sdk/lib/pages/common/components/PageHeader.tsx"],"sourcesContent":["import React from \"react\";\r\nimport { Box, Typography, IconButton } from \"@mui/material\";\r\nimport ArrowBackIcon from \"@mui/icons-material/ArrowBack\";\r\n\r\ninterface PageHeaderProps {\r\n title: string;\r\n subtitle?: React.ReactNode;\r\n avatar?: React.ReactNode;\r\n showBack?: boolean;\r\n onBack?: () => void;\r\n actions?: React.ReactNode;\r\n count?: number;\r\n countLabel?: string;\r\n}\r\n\r\nexport default function PageHeader({\r\n title,\r\n subtitle,\r\n avatar,\r\n showBack = false,\r\n onBack,\r\n actions,\r\n count,\r\n countLabel = \"items\",\r\n}: PageHeaderProps) {\r\n const handleBack = () => onBack?.();\r\n\r\n return (\r\n <Box sx={{ px: { xs: 2, md: 2.5 }, py: \"14px\" }}>\r\n <Box\r\n sx={{\r\n display: \"flex\",\r\n alignItems: { xs: \"flex-start\", sm: \"center\" },\r\n justifyContent: \"space-between\",\r\n flexDirection: { xs: \"column\", sm: \"row\" },\r\n gap: 1,\r\n }}\r\n >\r\n <Box sx={{ display: \"flex\", alignItems: \"center\", gap: 1.25, minWidth: 0 }}>\r\n {showBack && (\r\n <IconButton\r\n onClick={handleBack}\r\n size=\"small\"\r\n sx={{\r\n width: 30,\r\n height: 30,\r\n flexShrink: 0,\r\n border: \"none\",\r\n borderRadius: \"6px\",\r\n backgroundColor: \"action.hover\",\r\n color: \"text.secondary\",\r\n \"&:hover\": { backgroundColor: \"action.selected\", color: \"text.primary\" },\r\n transition: \"all 0.15s ease\",\r\n }}\r\n >\r\n <ArrowBackIcon sx={{ fontSize: 15 }} />\r\n </IconButton>\r\n )}\r\n {avatar}\r\n <Box>\r\n <Typography\r\n sx={{\r\n fontWeight: 700,\r\n fontSize: { xs: \"1.25rem\", sm: \"1.5rem\", lg: \"1.75rem\" },\r\n color: \"text.primary\",\r\n lineHeight: 1.3,\r\n whiteSpace: \"nowrap\",\r\n overflow: \"hidden\",\r\n textOverflow: \"ellipsis\",\r\n pl: !showBack ? 0 : 2,\r\n }}\r\n >\r\n {title}\r\n </Typography>\r\n {subtitle && (\r\n <Typography\r\n sx={{\r\n fontSize: \"0.78rem\",\r\n color: \"text.secondary\",\r\n pl: !showBack ? 0 : 2,\r\n mt: 0.2,\r\n lineHeight: 1.4,\r\n }}\r\n >\r\n {subtitle}\r\n </Typography>\r\n )}\r\n </Box>\r\n </Box>\r\n <Box sx={{ display: \"flex\", alignItems: \"center\", gap: 1, flexShrink: 0 }}>\r\n {count !== undefined && (\r\n <Box\r\n sx={{\r\n display: \"flex\",\r\n alignItems: \"center\",\r\n gap: \"5px\",\r\n px: \"10px\",\r\n height: 32,\r\n border: \"1px solid\",\r\n borderColor: \"divider\",\r\n borderRadius: \"6px\",\r\n backgroundColor: \"background.paper\",\r\n whiteSpace: \"nowrap\",\r\n }}\r\n >\r\n <Box sx={{ width: 6, height: 6, borderRadius: \"50%\", backgroundColor: \"#1A5F6C\", flexShrink: 0 }} />\r\n <Typography sx={{ fontSize: \"0.75rem\", color: \"text.secondary\" }}>\r\n {count} {countLabel}\r\n </Typography>\r\n </Box>\r\n )}\r\n {actions}\r\n </Box>\r\n </Box>\r\n </Box>\r\n );\r\n}\r\n"],"mappings":";AACA,SAAS,KAAK,YAAY,kBAAkB;AAC5C,OAAO,mBAAmB;AAqDZ,cAIJ,YAJI;AAxCC,SAAR,WAA4B;AAAA,EACjC;AAAA,EACA;AAAA,EACA;AAAA,EACA,WAAW;AAAA,EACX;AAAA,EACA;AAAA,EACA;AAAA,EACA,aAAa;AACf,GAAoB;AAClB,QAAM,aAAa,MAAM;AAEzB,SACE,oBAAC,OAAI,IAAI,EAAE,IAAI,EAAE,IAAI,GAAG,IAAI,IAAI,GAAG,IAAI,OAAO,GAC5C;AAAA,IAAC;AAAA;AAAA,MACC,IAAI;AAAA,QACF,SAAS;AAAA,QACT,YAAY,EAAE,IAAI,cAAc,IAAI,SAAS;AAAA,QAC7C,gBAAgB;AAAA,QAChB,eAAe,EAAE,IAAI,UAAU,IAAI,MAAM;AAAA,QACzC,KAA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,KAAK;AAAA,gBACL,IAAI;AAAA,gBACJ,QAAQ;AAAA,gBACR,QAAQ;AAAA,gBACR,aAAa;AAAA,gBACb,cAAc;AAAA,gBACd,iBAAiB;AAAA,gBACjB,YAAY;AAAA,cACd;AAAA,cAEA;AAAA,oCAAC,OAAI,IAAI,EAAE,OAAO,GAAG,QAAQ,GAAG,cAAc,OAAO,iBAAiB,WAAW,YAAY,EAAE,GAAG;AAAA,gBAClG,qBAAC,cAAW,IAAI,EAAE,UAAU,WAAW,OAAO,iBAAiB,GAC5D;AAAA;AAAA,kBAAM;AAAA,kBAAE;AAAA,mBACX;AAAA;AAAA;AAAA,UACF;AAAA,UAED;AAAA,WACH;AAAA;AAAA;AAAA,EACF,GACF;AAEJ;","names":[]}
|
package/dist/chunk-VQCHBU2Q.mjs
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __defProps = Object.defineProperties;
|
|
3
|
-
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
4
|
-
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
7
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
8
|
-
var __spreadValues = (a, b) => {
|
|
9
|
-
for (var prop in b || (b = {}))
|
|
10
|
-
if (__hasOwnProp.call(b, prop))
|
|
11
|
-
__defNormalProp(a, prop, b[prop]);
|
|
12
|
-
if (__getOwnPropSymbols)
|
|
13
|
-
for (var prop of __getOwnPropSymbols(b)) {
|
|
14
|
-
if (__propIsEnum.call(b, prop))
|
|
15
|
-
__defNormalProp(a, prop, b[prop]);
|
|
16
|
-
}
|
|
17
|
-
return a;
|
|
18
|
-
};
|
|
19
|
-
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
|
-
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
21
|
-
|
|
22
|
-
export {
|
|
23
|
-
__spreadValues,
|
|
24
|
-
__spreadProps,
|
|
25
|
-
__publicField
|
|
26
|
-
};
|
|
27
|
-
//# sourceMappingURL=chunk-VQCHBU2Q.mjs.map
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{qualityAuditDashboard-AGJH5VVN.mjs.map → qualityAuditDashboard-ZJEEAMBS.mjs.map}
RENAMED
|
File without changes
|