@3sc/common-component 0.0.456 → 0.0.458
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 +6 -6
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -40272,19 +40272,19 @@ const g7 = ({ color: e }) => /* @__PURE__ */ m.jsx("svg", { width: "7", height:
|
|
|
40272
40272
|
return o === i ? 0 : o > i ? -1 : 1;
|
|
40273
40273
|
}).sort((n, r) => n.isRead === r.isRead ? 0 : r.isRead ? -1 : 1), cy = (e) => {
|
|
40274
40274
|
let t = 0;
|
|
40275
|
-
for (let n = 0; n < e.length; n++)
|
|
40275
|
+
for (let n = 0; n < (e == null ? void 0 : e.length); n++)
|
|
40276
40276
|
e[n].isRead || t++;
|
|
40277
40277
|
return t;
|
|
40278
40278
|
}, w7 = (e) => {
|
|
40279
40279
|
const t = [];
|
|
40280
|
-
return e.forEach((n) => {
|
|
40280
|
+
return e == null || e.forEach((n) => {
|
|
40281
40281
|
n.isRead || t.push(n.id);
|
|
40282
40282
|
}), t;
|
|
40283
40283
|
}, C7 = (e, t, n) => e == null ? void 0 : e.filter((o) => t.some((i) => {
|
|
40284
40284
|
var a, l, c;
|
|
40285
40285
|
return (c = (a = o[i]) == null ? void 0 : a.toLowerCase()) == null ? void 0 : c.includes((l = n == null ? void 0 : n.trim()) == null ? void 0 : l.toLowerCase());
|
|
40286
|
-
})), S7 = (e, t, n) => e.sort((o, i) => n === "asc" ? o[t].toLowerCase().localeCompare(i[t].toLowerCase()) : i[t].toLowerCase().localeCompare(o[t].toLowerCase())), $u = (e, t, n) => e.slice((t - 1) * n, t * n), T7 = (e) => {
|
|
40287
|
-
const t = e.reduce((r, o) => {
|
|
40286
|
+
})), S7 = (e, t, n) => e == null ? void 0 : e.sort((o, i) => n === "asc" ? o[t].toLowerCase().localeCompare(i[t].toLowerCase()) : i[t].toLowerCase().localeCompare(o[t].toLowerCase())), $u = (e, t, n) => e == null ? void 0 : e.slice((t - 1) * n, t * n), T7 = (e) => {
|
|
40287
|
+
const t = e == null ? void 0 : e.reduce((r, o) => {
|
|
40288
40288
|
const i = new Date(o == null ? void 0 : o.createdAt), a = new Intl.DateTimeFormat("en-US", {
|
|
40289
40289
|
day: "numeric",
|
|
40290
40290
|
month: "long",
|
|
@@ -46989,10 +46989,10 @@ const mz = ({
|
|
|
46989
46989
|
u,
|
|
46990
46990
|
f
|
|
46991
46991
|
);
|
|
46992
|
-
y($u(b, r, i)), c(b.length);
|
|
46992
|
+
y($u(b, r, i)), c((b == null ? void 0 : b.length) || 0);
|
|
46993
46993
|
return;
|
|
46994
46994
|
}
|
|
46995
|
-
y($u(O, r, i)), c(O.length);
|
|
46995
|
+
y($u(O, r, i)), c((O == null ? void 0 : O.length) || 0);
|
|
46996
46996
|
return;
|
|
46997
46997
|
}
|
|
46998
46998
|
y($u(e == null ? void 0 : e.notificationDetails, r, i)), c((w = e == null ? void 0 : e.notificationDetails) == null ? void 0 : w.length);
|