ahs-cti 1.0.0-uat.13 → 1.0.0-uat.15
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/index.js +8 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -4
- package/dist/index.mjs.map +1 -1
- package/dist/{leadIntegrations-E5ECRGCW.mjs → leadIntegrations-GF7HWODZ.mjs} +6 -1
- package/dist/leadIntegrations-GF7HWODZ.mjs.map +1 -0
- package/dist-react/index.js +8 -4
- package/dist-react/index.js.map +1 -1
- package/dist-react/index.mjs +3 -4
- package/dist-react/index.mjs.map +1 -1
- package/dist-react/{leadIntegrations-5PHHYP6P.mjs → leadIntegrations-H7YMJLQG.mjs} +6 -1
- package/dist-react/leadIntegrations-H7YMJLQG.mjs.map +1 -0
- package/package.json +1 -1
- package/dist/leadIntegrations-E5ECRGCW.mjs.map +0 -1
- package/dist-react/leadIntegrations-5PHHYP6P.mjs.map +0 -1
package/dist/index.js
CHANGED
|
@@ -135267,7 +135267,7 @@ function ConfirmDialog2({
|
|
|
135267
135267
|
}
|
|
135268
135268
|
);
|
|
135269
135269
|
}
|
|
135270
|
-
var import_react108, import_jsx_runtime300, INTEGRATION_COLS, CENTER_COLS2, MANAGE_PERMISSIONS, defaultIntegrationForm, defaultMappingForm, errMsg, Required, IntegrationDialog, MappingDialog, LeadIntegrationsContent, LeadIntegrations, leadIntegrations_default;
|
|
135270
|
+
var import_react108, import_jsx_runtime300, INTEGRATION_COLS, CENTER_COLS2, MANAGE_PERMISSIONS, defaultIntegrationForm, defaultMappingForm, errMsg, Required, SELECT_MENU_Z_INDEX, IntegrationDialog, MappingDialog, LeadIntegrationsContent, LeadIntegrations, leadIntegrations_default;
|
|
135271
135271
|
var init_leadIntegrations = __esm({
|
|
135272
135272
|
"call-control-sdk/lib/pages/leadIntegrations/index.tsx"() {
|
|
135273
135273
|
"use strict";
|
|
@@ -135337,6 +135337,7 @@ var init_leadIntegrations = __esm({
|
|
|
135337
135337
|
return ((_b = (_a2 = error == null ? void 0 : error.response) == null ? void 0 : _a2.data) == null ? void 0 : _b.message) || ((_d = (_c = error == null ? void 0 : error.response) == null ? void 0 : _c.data) == null ? void 0 : _d.detail) || (error == null ? void 0 : error.message) || fallback;
|
|
135338
135338
|
};
|
|
135339
135339
|
Required = () => /* @__PURE__ */ (0, import_jsx_runtime300.jsx)("span", { style: { color: "#c0392b" }, children: "*" });
|
|
135340
|
+
SELECT_MENU_Z_INDEX = 1600;
|
|
135340
135341
|
IntegrationDialog = (0, import_react108.memo)(function IntegrationDialog2({
|
|
135341
135342
|
open,
|
|
135342
135343
|
mode,
|
|
@@ -135439,6 +135440,7 @@ var init_leadIntegrations = __esm({
|
|
|
135439
135440
|
{
|
|
135440
135441
|
value: formData.sourceType,
|
|
135441
135442
|
sx: inputSx,
|
|
135443
|
+
MenuProps: { sx: { zIndex: SELECT_MENU_Z_INDEX } },
|
|
135442
135444
|
disabled: mode === "edit",
|
|
135443
135445
|
onChange: (e) => setFormData((prev2) => __spreadProps(__spreadValues({}, prev2), { sourceType: e.target.value })),
|
|
135444
135446
|
children: SOURCE_TYPE_OPTIONS.map((opt) => /* @__PURE__ */ (0, import_jsx_runtime300.jsxs)(MenuItem_default, { value: opt.value, children: [
|
|
@@ -135459,6 +135461,7 @@ var init_leadIntegrations = __esm({
|
|
|
135459
135461
|
value: (_b = formData.defaultCampaignId) != null ? _b : "",
|
|
135460
135462
|
displayEmpty: true,
|
|
135461
135463
|
sx: inputSx,
|
|
135464
|
+
MenuProps: { sx: { zIndex: SELECT_MENU_Z_INDEX } },
|
|
135462
135465
|
onChange: (e) => setFormData((prev2) => __spreadProps(__spreadValues({}, prev2), {
|
|
135463
135466
|
defaultCampaignId: e.target.value ? Number(e.target.value) : null
|
|
135464
135467
|
})),
|
|
@@ -135699,6 +135702,7 @@ var init_leadIntegrations = __esm({
|
|
|
135699
135702
|
value: formData.sourceFormId || "",
|
|
135700
135703
|
displayEmpty: true,
|
|
135701
135704
|
sx: inputSx,
|
|
135705
|
+
MenuProps: { sx: { zIndex: SELECT_MENU_Z_INDEX } },
|
|
135702
135706
|
disabled: mode === "edit",
|
|
135703
135707
|
renderValue: (selected) => {
|
|
135704
135708
|
var _a3;
|
|
@@ -135747,6 +135751,7 @@ var init_leadIntegrations = __esm({
|
|
|
135747
135751
|
value: formData.campaignId || "",
|
|
135748
135752
|
displayEmpty: true,
|
|
135749
135753
|
sx: inputSx,
|
|
135754
|
+
MenuProps: { sx: { zIndex: SELECT_MENU_Z_INDEX } },
|
|
135750
135755
|
renderValue: (selected) => {
|
|
135751
135756
|
var _a3;
|
|
135752
135757
|
return !selected ? /* @__PURE__ */ (0, import_jsx_runtime300.jsx)("span", { style: { color: "#9e9e9e" }, children: "Select Campaign" }) : ((_a3 = campaigns.find((c2) => c2.id === selected)) == null ? void 0 : _a3.name) || String(selected);
|
|
@@ -139291,7 +139296,7 @@ var formatDuration = (seconds2) => {
|
|
|
139291
139296
|
return `${mins.toString().padStart(2, "0")}:${secs.toString().padStart(2, "0")}`;
|
|
139292
139297
|
};
|
|
139293
139298
|
function CallControls({ onDataChange }) {
|
|
139294
|
-
var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I, _J, _K, _L, _M, _N, _O, _P, _Q, _R, _S, _T, _U, _V, _W, _X, _Y, _Z, __, _$, _aa, _ba, _ca, _da, _ea, _fa, _ga, _ha, _ia, _ja, _ka, _la, _ma, _na, _oa, _pa, _qa, _ra, _sa, _ta, _ua, _va, _wa, _xa, _ya, _za, _Aa, _Ba, _Ca, _Da, _Ea, _Fa, _Ga, _Ha, _Ia, _Ja, _Ka, _La, _Ma, _Na, _Oa, _Pa, _Qa, _Ra, _Sa, _Ta, _Ua, _Va, _Wa, _Xa, _Ya, _Za, __a, _$a, _ab, _bb, _cb, _db, _eb, _fb, _gb, _hb, _ib, _jb, _kb, _lb, _mb, _nb, _ob, _pb, _qb, _rb, _sb, _tb
|
|
139299
|
+
var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I, _J, _K, _L, _M, _N, _O, _P, _Q, _R, _S, _T, _U, _V, _W, _X, _Y, _Z, __, _$, _aa, _ba, _ca, _da, _ea, _fa, _ga, _ha, _ia, _ja, _ka, _la, _ma, _na, _oa, _pa, _qa, _ra, _sa, _ta, _ua, _va, _wa, _xa, _ya, _za, _Aa, _Ba, _Ca, _Da, _Ea, _Fa, _Ga, _Ha, _Ia, _Ja, _Ka, _La, _Ma, _Na, _Oa, _Pa, _Qa, _Ra, _Sa, _Ta, _Ua, _Va, _Wa, _Xa, _Ya, _Za, __a, _$a, _ab, _bb, _cb, _db, _eb, _fb, _gb, _hb, _ib, _jb, _kb, _lb, _mb, _nb, _ob, _pb, _qb, _rb, _sb, _tb;
|
|
139295
139300
|
const theme = useTheme5();
|
|
139296
139301
|
const state = useSDKState();
|
|
139297
139302
|
const { showToast } = useToast();
|
|
@@ -140535,7 +140540,7 @@ function CallControls({ onDataChange }) {
|
|
|
140535
140540
|
}
|
|
140536
140541
|
),
|
|
140537
140542
|
" ",
|
|
140538
|
-
/* @__PURE__ */ (0, import_jsx_runtime154.jsx)(Typography_default, { variant: "subtitle1",
|
|
140543
|
+
/* @__PURE__ */ (0, import_jsx_runtime154.jsx)(Typography_default, { variant: "subtitle1", sx: { textAlign: "center", fontWeight: 600 }, children: "ahs-cti" }),
|
|
140539
140544
|
/* @__PURE__ */ (0, import_jsx_runtime154.jsx)(IconButton_default, { onClick: () => setShowIframe(false), children: /* @__PURE__ */ (0, import_jsx_runtime154.jsx)(Close_default2, {}) })
|
|
140540
140545
|
]
|
|
140541
140546
|
}
|
|
@@ -140543,7 +140548,6 @@ function CallControls({ onDataChange }) {
|
|
|
140543
140548
|
/* @__PURE__ */ (0, import_jsx_runtime154.jsx)(Box_default, { children: /* @__PURE__ */ (0, import_jsx_runtime154.jsx)(
|
|
140544
140549
|
"iframe",
|
|
140545
140550
|
{
|
|
140546
|
-
src: `${(_ub = state.urlConfig) == null ? void 0 : _ub.iframeURL}/static/phone/iframe_index.html?userId=${encodeURIComponent((_vb = state.agentId) != null ? _vb : "")}&password=${encodeURIComponent((_xb = (_wb = state.urlConfig) == null ? void 0 : _wb.password) != null ? _xb : "")}&api_url=${encodeURIComponent((_zb = (_yb = state.urlConfig) == null ? void 0 : _yb.iframeAPIURL) != null ? _zb : "")}&ws_url=${encodeURIComponent((_Bb = (_Ab = state.urlConfig) == null ? void 0 : _Ab.webSocketURL) != null ? _Bb : "")}`,
|
|
140547
140551
|
height: 380,
|
|
140548
140552
|
width: 420,
|
|
140549
140553
|
allow: "camera; microphone; autoplay",
|