@3sc/common-component 0.0.79 → 0.0.81

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.es.js CHANGED
@@ -26404,7 +26404,11 @@ const Uk = {
26404
26404
  }, Kk = (e, t, n) => e.filter((r) => t.some((s) => {
26405
26405
  var a, l, c;
26406
26406
  return (c = (a = r[s]) == null ? void 0 : a.toLowerCase()) == null ? void 0 : c.includes((l = n == null ? void 0 : n.trim()) == null ? void 0 : l.toLowerCase());
26407
- })), qk = (e, t, n) => e.sort((r, s) => n === "asc" ? r[t].toLowerCase().localeCompare(s[t].toLowerCase()) : s[t].toLowerCase().localeCompare(r[t].toLowerCase())), Dl = (e, t, n) => e.slice((t - 1) * n, t * n), Bl = (e) => e.split("_").map((t) => t === "sku" ? "SKU" : t[0].toUpperCase() + t.substring(1)).join(" "), Qk = (e) => {
26407
+ })), qk = (e, t, n) => e.sort((r, s) => n === "asc" ? r[t].toLowerCase().localeCompare(s[t].toLowerCase()) : s[t].toLowerCase().localeCompare(r[t].toLowerCase())), Dl = (e, t, n) => e.slice((t - 1) * n, t * n), Bl = (e) => {
26408
+ var r;
26409
+ const t = JSON.parse(localStorage.getItem("configuration")), n = ((r = t == null ? void 0 : t.entities) == null ? void 0 : r.labelChannel) || "Channel";
26410
+ return e.split("_").map((s) => s === "channel" ? n : s[0].toUpperCase() + s.substring(1)).join(" ");
26411
+ }, Qk = (e) => {
26408
26412
  const t = e.reduce((o, r) => {
26409
26413
  const s = new Date(r == null ? void 0 : r.createdAt), a = new Intl.DateTimeFormat("en-US", {
26410
26414
  day: "numeric",
@@ -28764,7 +28768,7 @@ const Uv = ({ data: e, handleRead: t, handleShowDetails: n, clickId: o, mode: r,
28764
28768
  year: "numeric"
28765
28769
  }).format(l), [u, d] = Be([]), [p, h] = Be(!1), [g, m] = Be(!0), f = Pt(null), b = gt();
28766
28770
  return On(() => {
28767
- e.length && d([...e]);
28771
+ d([...e]);
28768
28772
  }, [e]), On(() => {
28769
28773
  const v = new IntersectionObserver(
28770
28774
  (T) => {