customer-module-frontend 1.0.0-beta.35 → 1.0.0-beta.38

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.
@@ -23665,7 +23665,7 @@ const Su = (e) => {
23665
23665
  /* @__PURE__ */ ce("div", { className: "cm:flex cm:flex-col cm:items-start cm:w-full", children: [
23666
23666
  e === "email" && i && /* @__PURE__ */ w("div", { className: `cm:flex ${t === "small" ? "cm:gap-2" : "cm:gap-3"} cm:items-center cm:w-full`, children: /* @__PURE__ */ w("div", { className: `cm:flex-1 cm:flex cm:flex-col cm:font-normal cm:justify-center cm:leading-none cm:overflow-hidden ${p.fontSize.body} cm:text-slate-text-body`, children: /* @__PURE__ */ w("p", { className: "cm:leading-5 cm:text-left cm:overflow-ellipsis cm:overflow-hidden", children: i }) }) }),
23667
23667
  /* @__PURE__ */ ce("div", { className: `cm:flex ${t === "small" ? "cm:flex-col cm:gap-1" : "cm:flex-row cm:items-center cm:justify-between"} cm:w-full`, children: [
23668
- /* @__PURE__ */ w("p", { className: `cm:font-normal cm:leading-5 cm:overflow-ellipsis cm:overflow-hidden ${p.fontSize.body} cm:text-slate-text-subtle cm:whitespace-nowrap ${t === "small" ? "cm:w-full" : "cm:max-w-[560px]"}`, children: o }),
23668
+ /* @__PURE__ */ w("p", { className: `cm:font-normal cm:leading-5 cm:overflow-ellipsis cm:overflow-hidden ${p.fontSize.body} cm:text-slate-text-subtle cm:whitespace-nowrap ${t === "small" ? "cm:w-full" : "cm:max-w-[560px]"}`, children: e === "email" ? o : i }),
23669
23669
  S && /* @__PURE__ */ ce("div", { className: `cm:flex ${t === "small" ? "cm:gap-2 cm:w-full" : "cm:gap-2.5"} cm:items-center cm:shrink-0`, children: [
23670
23670
  S.sm_name && /* @__PURE__ */ ce(sr, { children: [
23671
23671
  /* @__PURE__ */ ce("div", { className: "cm:flex cm:gap-1 cm:items-center cm:justify-center cm:py-0.5 cm:rounded cm:shrink-0", children: [
@@ -26220,7 +26220,7 @@ const c6 = async (e, n) => (await ur.patch(
26220
26220
  o = o % 12, o = o || 12;
26221
26221
  const c = o.toString().padStart(2, "0");
26222
26222
  return `${a} ${r}, ${c}:${i} ${l}`;
26223
- }, b1 = (e) => e === "whatsapp" ? "chat" : "email", y1 = (e, n, t) => {
26223
+ }, b1 = (e) => e === "whatsapp" || e === "chat" ? "chat" : "email", y1 = (e, n, t) => {
26224
26224
  const a = e.sm_details || [], r = a[0], o = a.length > 0 ? a[a.length - 1] : null;
26225
26225
  return {
26226
26226
  type: b1(e.channel),