ahs-cti 0.0.15 → 0.0.16
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/{callHistory-PHNTU2XO.mjs → callHistory-XCN3EARD.mjs} +2 -2
- package/dist/{callHistory-PHNTU2XO.mjs.map → callHistory-XCN3EARD.mjs.map} +1 -1
- package/dist/{campaigns-CRLTSO5Z.mjs → campaigns-HYWUCA2P.mjs} +9 -9
- package/dist/{campaigns-CRLTSO5Z.mjs.map → campaigns-HYWUCA2P.mjs.map} +1 -1
- package/dist/index.js +9 -9
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist-react/{callHistory-5WHRXZSU.mjs → callHistory-7RUBUCVA.mjs} +2 -2
- package/dist-react/{callHistory-5WHRXZSU.mjs.map → callHistory-7RUBUCVA.mjs.map} +1 -1
- package/dist-react/{campaigns-5XNAI7JM.mjs → campaigns-6WLCKIGO.mjs} +9 -9
- package/dist-react/{campaigns-5XNAI7JM.mjs.map → campaigns-6WLCKIGO.mjs.map} +1 -1
- package/dist-react/index.js +9 -9
- package/dist-react/index.js.map +1 -1
- package/dist-react/index.mjs +2 -2
- package/package.json +1 -1
package/dist-react/index.js
CHANGED
|
@@ -13019,7 +13019,7 @@ function CallRow({
|
|
|
13019
13019
|
) }),
|
|
13020
13020
|
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_material10.TableCell, { sx: cellSx2, children: new Date(row.start_time).toLocaleString() }),
|
|
13021
13021
|
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_material10.TableCell, { sx: cellSx2, children: row.end_time ? new Date(row.end_time).toLocaleString() : "\u2014" }),
|
|
13022
|
-
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_material10.TableCell, { align: "center", sx: cellSx2, children: (_a2 = row.
|
|
13022
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_material10.TableCell, { align: "center", sx: cellSx2, children: (_a2 = row.user_id) != null ? _a2 : "" }),
|
|
13023
13023
|
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_material10.TableCell, { align: "center", sx: cellSx2, children: row.recording.available ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
13024
13024
|
import_material10.IconButton,
|
|
13025
13025
|
{
|
|
@@ -16546,17 +16546,17 @@ var init_campaigns = __esm({
|
|
|
16546
16546
|
const { chip: prioChip, label: prioLabel } = leadPriorityChipSx(lead.priority);
|
|
16547
16547
|
const isManualPreview = ((leadsMeta == null ? void 0 : leadsMeta.dialingMode) || (sc == null ? void 0 : sc.dialingMode) || "").toUpperCase() === "PREVIEW";
|
|
16548
16548
|
return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(import_material12.TableRow, { sx: tableRowSx, children: [
|
|
16549
|
-
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_material12.TableCell, { sx: bodyCellSx, children: isManualPreview
|
|
16549
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_material12.TableCell, { sx: bodyCellSx, children: isManualPreview ? /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_material12.Tooltip, { title: dialTooltip, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
|
16550
16550
|
import_material12.Box,
|
|
16551
16551
|
{
|
|
16552
16552
|
component: "span",
|
|
16553
|
-
onClick: () => handleDialPreview(lead.id),
|
|
16553
|
+
onClick: isDialable ? () => handleDialPreview(lead.id) : void 0,
|
|
16554
16554
|
sx: {
|
|
16555
|
-
color: "#1A5F6C",
|
|
16556
|
-
fontWeight: 600,
|
|
16557
|
-
cursor: "pointer",
|
|
16558
|
-
textDecoration: "underline",
|
|
16559
|
-
"&:hover": { color: "#12454f" }
|
|
16555
|
+
color: isDialable ? "#1A5F6C" : "inherit",
|
|
16556
|
+
fontWeight: isDialable ? 600 : "inherit",
|
|
16557
|
+
cursor: isDialable ? "pointer" : "default",
|
|
16558
|
+
textDecoration: isDialable ? "underline" : "none",
|
|
16559
|
+
"&:hover": isDialable ? { color: "#12454f" } : void 0
|
|
16560
16560
|
},
|
|
16561
16561
|
children: lead.phoneNumber
|
|
16562
16562
|
}
|
|
@@ -16576,7 +16576,7 @@ var init_campaigns = __esm({
|
|
|
16576
16576
|
import_material12.IconButton,
|
|
16577
16577
|
{
|
|
16578
16578
|
size: "small",
|
|
16579
|
-
onClick: () => handleDialPreview(lead.id),
|
|
16579
|
+
onClick: isDialable ? () => handleDialPreview(lead.id) : void 0,
|
|
16580
16580
|
disabled: !isDialable,
|
|
16581
16581
|
sx: {
|
|
16582
16582
|
color: isDialable ? "#2e7d32" : "#bdbdbd",
|