@vlprojects-chat/chat 0.11.0 → 0.11.1-LD-7325-zero-pin.1
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.mjs +5 -5
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -35423,7 +35423,7 @@ const YA = {
|
|
|
35423
35423
|
}, Vse = () => {
|
|
35424
35424
|
const e = te.useContext(wS);
|
|
35425
35425
|
return e ? e.chatSnackbarContainer : null;
|
|
35426
|
-
}, Bse = "@vlprojects-chat/chat", Use = "vlprojects", Wse = "0.11.0
|
|
35426
|
+
}, Bse = "@vlprojects-chat/chat", Use = "vlprojects", Wse = "0.11.0", Hse = "vlprojects chat", Gse = "ISC", qse = "dist/index.d.ts", zse = "./dist/index.mjs", Yse = "./dist/index.mjs", Kse = [
|
|
35427
35427
|
"dist"
|
|
35428
35428
|
], Xse = {
|
|
35429
35429
|
type: "git",
|
|
@@ -54495,7 +54495,7 @@ const Tbe = (e) => {
|
|
|
54495
54495
|
zIndex: yc.HEADER
|
|
54496
54496
|
}
|
|
54497
54497
|
}), Hbe = () => {
|
|
54498
|
-
var
|
|
54498
|
+
var v;
|
|
54499
54499
|
const e = Ge(), { ui: t, chat: n, auth: r } = e, o = t.isMobile ? Wbe() : Ube(), i = String(t.params.id), s = n.channels.get(i), a = s == null ? void 0 : s.lastPinnedMessage;
|
|
54500
54500
|
if (!a)
|
|
54501
54501
|
return null;
|
|
@@ -54509,7 +54509,7 @@ const Tbe = (e) => {
|
|
|
54509
54509
|
}, p = Gs(
|
|
54510
54510
|
a.message.createdAt,
|
|
54511
54511
|
`dd MMMM ${pf(a.message.createdAt, "year") ? "" : "yyyy"} HH:mm`
|
|
54512
|
-
);
|
|
54512
|
+
), g = (v = a.message.attachments) == null ? void 0 : v[0];
|
|
54513
54513
|
return /* @__PURE__ */ h.jsxs(
|
|
54514
54514
|
ye,
|
|
54515
54515
|
{
|
|
@@ -54530,7 +54530,7 @@ const Tbe = (e) => {
|
|
|
54530
54530
|
}
|
|
54531
54531
|
),
|
|
54532
54532
|
/* @__PURE__ */ h.jsx(ae, { noWrap: !0, className: o.pinnedMessage, children: a.message.text }),
|
|
54533
|
-
|
|
54533
|
+
g && /* @__PURE__ */ h.jsx(ae, { noWrap: !0, className: o.pinnedMessage, children: g.name })
|
|
54534
54534
|
] }),
|
|
54535
54535
|
r.me.role === od.Moderator && /* @__PURE__ */ h.jsx(Hn, { onClick: l, className: o.pinButton, children: /* @__PURE__ */ h.jsx(Mhe, {}) })
|
|
54536
54536
|
]
|
|
@@ -57351,7 +57351,7 @@ const Eye = (e) => {
|
|
|
57351
57351
|
/* @__PURE__ */ h.jsx(i1e, {})
|
|
57352
57352
|
] });
|
|
57353
57353
|
};
|
|
57354
|
-
var uu = { VITE_APP_VERSION: "0.11.0
|
|
57354
|
+
var uu = { VITE_APP_VERSION: "0.11.0", VITE_APP_API_BASEURL: "https://api.livedigital.chat", VITE_APP_SENTRY_DSN: "https://445426b388f045748970982694bb1520@o1158674.ingest.sentry.io/6242013", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
|
|
57355
57355
|
const KD = (e) => {
|
|
57356
57356
|
$e.error("Chat init error", { case: "handleInitError", errorInfo: e }), Do.emit(so.App, {
|
|
57357
57357
|
event: Po.ChatInitError,
|