@vlprojects-chat/chat 0.9.4 → 0.9.5
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 +6 -8
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -34184,7 +34184,7 @@ const Qie = Qe(
|
|
|
34184
34184
|
},
|
|
34185
34185
|
settings: {
|
|
34186
34186
|
settings: "Settings",
|
|
34187
|
-
chatSettings: "
|
|
34187
|
+
chatSettings: "Chat settings",
|
|
34188
34188
|
slowMode: "Limit messages rate",
|
|
34189
34189
|
slowModePeriod: "Time between messages",
|
|
34190
34190
|
seconds: "seconds",
|
|
@@ -35394,7 +35394,7 @@ const qA = {
|
|
|
35394
35394
|
}, _se = () => {
|
|
35395
35395
|
const e = te.useContext(yS);
|
|
35396
35396
|
return e ? e.chatSnackbarContainer : null;
|
|
35397
|
-
}, Fse = "@vlprojects-chat/chat", Lse = "vlprojects", Vse = "0.9.
|
|
35397
|
+
}, Fse = "@vlprojects-chat/chat", Lse = "vlprojects", Vse = "0.9.5", Bse = "VLprojects chat", Use = "ISC", Wse = "dist/index.d.ts", Hse = "./dist/index.mjs", Gse = "./dist/index.mjs", qse = [
|
|
35398
35398
|
"dist"
|
|
35399
35399
|
], zse = {
|
|
35400
35400
|
type: "git",
|
|
@@ -54332,13 +54332,12 @@ const wbe = (e) => {
|
|
|
54332
54332
|
zIndex: yc.HEADER
|
|
54333
54333
|
}
|
|
54334
54334
|
}), Vbe = () => {
|
|
54335
|
-
var m, v;
|
|
54336
54335
|
const e = Ge(), { ui: t, chat: n, auth: r } = e, o = t.isMobile ? Lbe() : Fbe(), i = String(t.params.id), s = n.channels.get(i), a = s == null ? void 0 : s.lastPinnedMessage;
|
|
54337
54336
|
if (!a)
|
|
54338
54337
|
return null;
|
|
54339
54338
|
const c = a.user.current, u = new Date(a.message.createdAt), l = () => Nk(a.id), f = async () => {
|
|
54340
|
-
const
|
|
54341
|
-
|
|
54339
|
+
const m = s.findMessageIdx(a.messageId);
|
|
54340
|
+
m > -1 ? t.jumpToMessage(m) : (await Ik(e, Number(i), Number(s.sortedMessages[0].id), {
|
|
54342
54341
|
until: Number(a.messageId)
|
|
54343
54342
|
}), setTimeout(() => {
|
|
54344
54343
|
t.jumpToMessage(0);
|
|
@@ -54366,8 +54365,7 @@ const wbe = (e) => {
|
|
|
54366
54365
|
children: p
|
|
54367
54366
|
}
|
|
54368
54367
|
),
|
|
54369
|
-
/* @__PURE__ */ h.jsx(ce, { noWrap: !0, className: o.pinnedMessage, children: a.message.text })
|
|
54370
|
-
((m = a.message.attachments) == null ? void 0 : m.length) && /* @__PURE__ */ h.jsx(ce, { noWrap: !0, className: o.pinnedMessage, children: (v = a.message.attachments) == null ? void 0 : v[0].name })
|
|
54368
|
+
/* @__PURE__ */ h.jsx(ce, { noWrap: !0, className: o.pinnedMessage, children: a.message.text })
|
|
54371
54369
|
] }),
|
|
54372
54370
|
r.me.role === od.Moderator && /* @__PURE__ */ h.jsx(Jn, { onClick: l, className: o.pinButton, children: /* @__PURE__ */ h.jsx(Ihe, {}) })
|
|
54373
54371
|
]
|
|
@@ -57178,7 +57176,7 @@ const gye = (e) => {
|
|
|
57178
57176
|
/* @__PURE__ */ h.jsx(t1e, {})
|
|
57179
57177
|
] });
|
|
57180
57178
|
};
|
|
57181
|
-
var uu = { VITE_APP_VERSION: "0.9.
|
|
57179
|
+
var uu = { VITE_APP_VERSION: "0.9.5", 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 };
|
|
57182
57180
|
const zD = (e) => {
|
|
57183
57181
|
$e.error("Chat init error", { case: "handleInitError", errorInfo: e }), Do.emit(so.App, {
|
|
57184
57182
|
event: Po.ChatInitError,
|