@3sc/common-component 0.0.80 → 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 +5 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
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) =>
|
|
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",
|