customer-module-frontend 2.6.0-beta.4 → 2.6.0-beta.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.
package/dist/customer-module.js
CHANGED
|
@@ -29610,8 +29610,9 @@ const tC = (e) => /* @__PURE__ */ i.createElement("svg", { width: 20, height: 20
|
|
|
29610
29610
|
/* @__PURE__ */ u("span", { className: "cm:text-slate-text-body", children: a })
|
|
29611
29611
|
] });
|
|
29612
29612
|
}, V3 = ({
|
|
29613
|
-
health: e
|
|
29614
|
-
|
|
29613
|
+
health: e,
|
|
29614
|
+
sentiment: n
|
|
29615
|
+
}) => e !== "at_risk" && n !== "negative" ? null : /* @__PURE__ */ u(
|
|
29615
29616
|
br,
|
|
29616
29617
|
{
|
|
29617
29618
|
content: /* @__PURE__ */ u("span", { className: "cm:text-white cm:text-sm cm:font-normal cm:leading-5 cm:whitespace-nowrap", children: "This account is at risk" }),
|
|
@@ -29625,9 +29626,9 @@ const tC = (e) => /* @__PURE__ */ i.createElement("svg", { width: 20, height: 20
|
|
|
29625
29626
|
}
|
|
29626
29627
|
)
|
|
29627
29628
|
}
|
|
29628
|
-
), yu = () => /* @__PURE__ */ u("div", { className: "cm:h-4 cm:bg-gray-200 cm:rounded cm:w-3/4 cm:animate-pulse" }), oC = ({ name: e, health: n }) => /* @__PURE__ */ I("span", { className: "cm:inline-flex cm:min-w-0 cm:items-center cm:gap-1.5", children: [
|
|
29629
|
+
), yu = () => /* @__PURE__ */ u("div", { className: "cm:h-4 cm:bg-gray-200 cm:rounded cm:w-3/4 cm:animate-pulse" }), oC = ({ name: e, health: n, sentiment: t }) => /* @__PURE__ */ I("span", { className: "cm:inline-flex cm:min-w-0 cm:items-center cm:gap-1.5", children: [
|
|
29629
29630
|
/* @__PURE__ */ u(ir, { text: e, className: "text-slate-900" }),
|
|
29630
|
-
/* @__PURE__ */ u(V3, { health: n })
|
|
29631
|
+
/* @__PURE__ */ u(V3, { health: n, sentiment: t })
|
|
29631
29632
|
] }), iC = ({ domain: e }) => /* @__PURE__ */ u(ir, { text: e, className: "text-slate-900" }), b2 = [
|
|
29632
29633
|
{
|
|
29633
29634
|
id: "name",
|
|
@@ -29672,7 +29673,8 @@ function sC({ ciEnabled: e = !1 } = {}) {
|
|
|
29672
29673
|
name: zr(
|
|
29673
29674
|
b.generated_name ? b.generated_name : b.name
|
|
29674
29675
|
),
|
|
29675
|
-
health: e ? b.account_health : void 0
|
|
29676
|
+
health: e ? b.account_health : void 0,
|
|
29677
|
+
sentiment: e ? b.account_sentiment : void 0
|
|
29676
29678
|
}
|
|
29677
29679
|
),
|
|
29678
29680
|
domainDisplay: /* @__PURE__ */ u(
|
|
@@ -41635,9 +41637,9 @@ const CA = ({
|
|
|
41635
41637
|
locked: !0,
|
|
41636
41638
|
sortable: !1,
|
|
41637
41639
|
style: { width: "300px" }
|
|
41638
|
-
}, PA = ({ name: e, health: n }) => /* @__PURE__ */ I("span", { className: "cm:inline-flex cm:min-w-0 cm:items-center cm:gap-1.5", children: [
|
|
41640
|
+
}, PA = ({ name: e, health: n, sentiment: t }) => /* @__PURE__ */ I("span", { className: "cm:inline-flex cm:min-w-0 cm:items-center cm:gap-1.5", children: [
|
|
41639
41641
|
/* @__PURE__ */ u(ir, { text: e, className: "cm:text-slate-900" }),
|
|
41640
|
-
/* @__PURE__ */ u(V3, { health: n })
|
|
41642
|
+
/* @__PURE__ */ u(V3, { health: n, sentiment: t })
|
|
41641
41643
|
] }), NA = ({ domains: e, fallback: n }) => e.length ? /* @__PURE__ */ u(K6, { values: e, maxVisible: 2 }) : /* @__PURE__ */ u(ir, { text: n, className: "cm:text-slate-900" });
|
|
41642
41644
|
function Au({ filterBy: e, tabs: n, ciEnabled: t = !1, onAtRiskCount: a, onAllCount: r } = {}) {
|
|
41643
41645
|
const o = Da(), [l, s] = Ve(!1), { companies: c, total: d, atRiskCount: m, listTotal: f, isLoading: v, hasNextPage: g, isFetchingNextPage: y, refetch: h, fetchNextPage: b } = uA(
|
|
@@ -41684,7 +41686,8 @@ function Au({ filterBy: e, tabs: n, ciEnabled: t = !1, onAtRiskCount: a, onAllCo
|
|
|
41684
41686
|
name: zr(
|
|
41685
41687
|
j.generated_name ? j.generated_name : j.name
|
|
41686
41688
|
),
|
|
41687
|
-
health: t ? j.account_health : void 0
|
|
41689
|
+
health: t ? j.account_health : void 0,
|
|
41690
|
+
sentiment: t ? j.account_sentiment : void 0
|
|
41688
41691
|
}
|
|
41689
41692
|
),
|
|
41690
41693
|
domainDisplay: /* @__PURE__ */ u(
|