customer-module-frontend 1.0.6 → 1.0.8
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
|
@@ -27404,7 +27404,7 @@ const z6 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20wid
|
|
|
27404
27404
|
a(""), o([]), l(!1), n();
|
|
27405
27405
|
};
|
|
27406
27406
|
nn(() => {
|
|
27407
|
-
if (c.current && clearTimeout(c.current), t.trim() === "") {
|
|
27407
|
+
if (c.current && clearTimeout(c.current), t.trim() === "" || t.trim().length < 3) {
|
|
27408
27408
|
l(!1);
|
|
27409
27409
|
return;
|
|
27410
27410
|
}
|
|
@@ -27427,7 +27427,7 @@ const z6 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20wid
|
|
|
27427
27427
|
}, [t]);
|
|
27428
27428
|
const p = (g) => {
|
|
27429
27429
|
const m = g.replace(/[^a-zA-Z0-9\s\-_]/g, "");
|
|
27430
|
-
a(m), m.trim() === "" && o([]);
|
|
27430
|
+
a(m), (m.trim() === "" || m.trim().length < 3) && o([]);
|
|
27431
27431
|
};
|
|
27432
27432
|
return /* @__PURE__ */ se(Fn, { children: [
|
|
27433
27433
|
/* @__PURE__ */ h("style", { children: `
|
|
@@ -27865,7 +27865,7 @@ function t4() {
|
|
|
27865
27865
|
const g = y.data;
|
|
27866
27866
|
g.isNoDataRow || (i?.sendGainsightEvent?.(rr.ACCOUNT_ROW_CLICKED), e(`/accounts/${g.id}`));
|
|
27867
27867
|
};
|
|
27868
|
-
return
|
|
27868
|
+
return l || t && (!n || !n.companies || n.companies.length === 0) ? /* @__PURE__ */ h("div", { className: "cm:flex cm:items-center cm:justify-center cm:w-full cm:h-full", children: /* @__PURE__ */ h(gr, {}) }) : f || d.length === 0 ? /* @__PURE__ */ h("div", { className: "cm:px-12 cm:flex cm:flex-col cm:flex-1", children: /* @__PURE__ */ h(
|
|
27869
27869
|
yi,
|
|
27870
27870
|
{
|
|
27871
27871
|
title: "No accounts yet",
|