@bcc-code/vue-bcc-chat-ui 7.1.47 → 7.1.48
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/style.css +1 -1
- package/dist/vue-bcc-chat-ui.js +134 -104
- package/dist/vue-bcc-chat-ui.js.map +1 -1
- package/package.json +1 -1
package/dist/vue-bcc-chat-ui.js
CHANGED
|
@@ -6143,7 +6143,7 @@ F([() => Q.value?.conversations.value, () => Hl.value], async () => {
|
|
|
6143
6143
|
async function Ql(e, t) {
|
|
6144
6144
|
Pl.value = t.loggerCallback, _t(t.language ?? "en"), Bl(t.themeMode);
|
|
6145
6145
|
let n = e.config.globalProperties.$primevue;
|
|
6146
|
-
n && (n.config.ripple = !0, n.config.inputVariant = "filled"), e.component("BccChat",
|
|
6146
|
+
n && (n.config.ripple = !0, n.config.inputVariant = "filled"), e.component("BccChat", hh), e.provide("theme", { theme: El });
|
|
6147
6147
|
let r = Vl(t.environment);
|
|
6148
6148
|
zl(Ol.INFO, "Initializing chat", {
|
|
6149
6149
|
environment: t.environment,
|
|
@@ -7974,27 +7974,47 @@ function ef(e) {
|
|
|
7974
7974
|
y: 0
|
|
7975
7975
|
};
|
|
7976
7976
|
}
|
|
7977
|
-
function _(e, t) {
|
|
7977
|
+
async function _(e, t) {
|
|
7978
7978
|
if (o.value) {
|
|
7979
7979
|
let t = g(e);
|
|
7980
7980
|
return {
|
|
7981
7981
|
x: t.x + 2,
|
|
7982
|
-
y: t.y + 2
|
|
7982
|
+
y: t.y + 2,
|
|
7983
|
+
element: void 0
|
|
7983
7984
|
};
|
|
7984
|
-
}
|
|
7985
|
-
|
|
7985
|
+
}
|
|
7986
|
+
if (typeof window < "u") {
|
|
7987
|
+
let n = null, r = null;
|
|
7988
|
+
e.target instanceof HTMLElement && (n = e.target.closest(".message-item"), r = n?.querySelector(".message-bubble--spotlight .message-bubble"));
|
|
7989
|
+
let i = t.isOwn ? window.innerWidth * 2 / 3 : window.innerWidth / 3, a = window.innerHeight / 2;
|
|
7990
|
+
if (r) {
|
|
7991
|
+
await new Promise((e) => requestAnimationFrame(() => e()));
|
|
7992
|
+
let e = r.getBoundingClientRect();
|
|
7993
|
+
a = e.top + e.height;
|
|
7994
|
+
} else if (n) {
|
|
7995
|
+
let e = n ? n.getBoundingClientRect().height : 0;
|
|
7996
|
+
a = window.innerHeight / 2 + e / 2;
|
|
7997
|
+
}
|
|
7986
7998
|
return {
|
|
7987
|
-
x:
|
|
7988
|
-
y:
|
|
7999
|
+
x: i,
|
|
8000
|
+
y: a,
|
|
8001
|
+
element: r ?? n ?? void 0
|
|
7989
8002
|
};
|
|
7990
8003
|
}
|
|
7991
8004
|
return {
|
|
7992
8005
|
x: 0,
|
|
7993
|
-
y: 0
|
|
8006
|
+
y: 0,
|
|
8007
|
+
element: void 0
|
|
7994
8008
|
};
|
|
7995
8009
|
}
|
|
7996
8010
|
async function v(n, i, a) {
|
|
7997
|
-
e.canUseMessageActions()
|
|
8011
|
+
if (!e.canUseMessageActions() || a === "contextmenu" && !o.value || a === "tap" && o.value) return;
|
|
8012
|
+
i.preventDefault(), i.stopPropagation(), e.onMenuOpen?.(), r.value = n, await h();
|
|
8013
|
+
let { x: s, y: c, element: l } = await _(i, n);
|
|
8014
|
+
t.value?.show(i, l ? void 0 : {
|
|
8015
|
+
x: s,
|
|
8016
|
+
y: c
|
|
8017
|
+
}, l);
|
|
7998
8018
|
}
|
|
7999
8019
|
function y(e, t) {
|
|
8000
8020
|
v(e, t, "contextmenu");
|
|
@@ -8900,7 +8920,7 @@ var df = { class: "w-full" }, ff = {
|
|
|
8900
8920
|
"id",
|
|
8901
8921
|
"data-message-id",
|
|
8902
8922
|
"data-message-kind"
|
|
8903
|
-
], Lp = { class: "message-item__footer body-sm text-subtlest mt-0.5 flex items-end justify-between gap-2" }, Rp = { class: "message-
|
|
8923
|
+
], Lp = { class: "message-item__footer body-sm text-subtlest mt-0.5 flex items-end justify-between gap-2" }, Rp = { class: "message-item__footer body-sm text-subtlest mt-0.5 flex items-end justify-between gap-2" }, zp = /* @__PURE__ */ $(/* @__PURE__ */ u({
|
|
8904
8924
|
__name: "MessageItem",
|
|
8905
8925
|
props: {
|
|
8906
8926
|
message: {},
|
|
@@ -8932,13 +8952,19 @@ var df = { class: "w-full" }, ff = {
|
|
|
8932
8952
|
function m(e) {
|
|
8933
8953
|
return e instanceof Element ? !!e.closest("button, a, input, textarea, select, label, summary, video, audio") : !1;
|
|
8934
8954
|
}
|
|
8935
|
-
function
|
|
8955
|
+
function _(e) {
|
|
8936
8956
|
m(e.target) || u("contextmenu", e);
|
|
8937
8957
|
}
|
|
8938
|
-
function
|
|
8958
|
+
function y(e) {
|
|
8939
8959
|
m(e.target) || u("tap", e);
|
|
8940
8960
|
}
|
|
8941
|
-
|
|
8961
|
+
let b = N("originalBubble"), x = w("0px");
|
|
8962
|
+
F(() => c.contextMenuOpen && c.isTouchUi, async (e) => {
|
|
8963
|
+
if (!e || (await h(), !b.value)) return;
|
|
8964
|
+
let t = b.value.getBoundingClientRect(), n = Math.min(t.top, window.innerHeight - 50 - t.height);
|
|
8965
|
+
x.value = `${Math.max(0, n - 32)}px`;
|
|
8966
|
+
}, { immediate: !0 });
|
|
8967
|
+
function C() {
|
|
8942
8968
|
let e = c.message.replyTo?.messageId?.trim();
|
|
8943
8969
|
e && u("openReferencedMessage", e);
|
|
8944
8970
|
}
|
|
@@ -8960,10 +8986,11 @@ var df = { class: "w-full" }, ff = {
|
|
|
8960
8986
|
class: "mb-1 shrink-0 self-end"
|
|
8961
8987
|
}, null, 8, ["image", "label"])) : i("", !0),
|
|
8962
8988
|
o("div", {
|
|
8989
|
+
ref: "originalBubble",
|
|
8963
8990
|
"data-testid": "message-bubble",
|
|
8964
8991
|
class: g(["message-bubble", f.value]),
|
|
8965
|
-
onContextmenu:
|
|
8966
|
-
onClick:
|
|
8992
|
+
onContextmenu: _,
|
|
8993
|
+
onClick: y
|
|
8967
8994
|
}, [
|
|
8968
8995
|
!t.message.isOwn || t.message.scheduled?.scheduleDate ? (S(), r(hp, {
|
|
8969
8996
|
key: 0,
|
|
@@ -8972,7 +8999,7 @@ var df = { class: "w-full" }, ff = {
|
|
|
8972
8999
|
t.message.replyTo ? (S(), r(Np, {
|
|
8973
9000
|
key: 1,
|
|
8974
9001
|
message: t.message,
|
|
8975
|
-
onOpen:
|
|
9002
|
+
onOpen: C
|
|
8976
9003
|
}, null, 8, ["message"])) : i("", !0),
|
|
8977
9004
|
t.message.kind === "poll" && t.message.poll ? (S(), r(Ap, {
|
|
8978
9005
|
key: 2,
|
|
@@ -9008,7 +9035,10 @@ var df = { class: "w-full" }, ff = {
|
|
|
9008
9035
|
t.contextMenuOpen && t.isTouchUi ? (S(), a("div", {
|
|
9009
9036
|
key: 1,
|
|
9010
9037
|
class: g(["message-bubble--spotlight", f.value])
|
|
9011
|
-
}, [o("div",
|
|
9038
|
+
}, [o("div", {
|
|
9039
|
+
class: "message-bubble-wrapper",
|
|
9040
|
+
style: v({ top: x.value })
|
|
9041
|
+
}, [o("div", { class: g(["message-bubble", f.value]) }, [
|
|
9012
9042
|
!t.message.isOwn || t.message.scheduled?.scheduleDate ? (S(), r(hp, {
|
|
9013
9043
|
key: 0,
|
|
9014
9044
|
message: t.message
|
|
@@ -9016,7 +9046,7 @@ var df = { class: "w-full" }, ff = {
|
|
|
9016
9046
|
t.message.replyTo ? (S(), r(Np, {
|
|
9017
9047
|
key: 1,
|
|
9018
9048
|
message: t.message,
|
|
9019
|
-
onOpen:
|
|
9049
|
+
onOpen: C
|
|
9020
9050
|
}, null, 8, ["message"])) : i("", !0),
|
|
9021
9051
|
t.message.kind === "poll" && t.message.poll ? (S(), r(Ap, {
|
|
9022
9052
|
key: 2,
|
|
@@ -9037,7 +9067,7 @@ var df = { class: "w-full" }, ff = {
|
|
|
9037
9067
|
message: t.message,
|
|
9038
9068
|
onAnchorclick: s[7] ||= (e, t) => n.$emit("anchorclick", e, t)
|
|
9039
9069
|
}, null, 8, ["message"])),
|
|
9040
|
-
o("div",
|
|
9070
|
+
o("div", Rp, [l(xp, {
|
|
9041
9071
|
message: t.message,
|
|
9042
9072
|
"can-react": t.canReact,
|
|
9043
9073
|
"can-open-thread": t.canOpenThread,
|
|
@@ -9048,20 +9078,20 @@ var df = { class: "w-full" }, ff = {
|
|
|
9048
9078
|
"can-react",
|
|
9049
9079
|
"can-open-thread"
|
|
9050
9080
|
]), l(fp, { message: t.message }, null, 8, ["message"])])
|
|
9051
|
-
], 2)])], 2)) : i("", !0)
|
|
9081
|
+
], 2)], 4)], 2)) : i("", !0)
|
|
9052
9082
|
], 64))], 10, Ip));
|
|
9053
9083
|
}
|
|
9054
|
-
}), [["__scopeId", "data-v-
|
|
9084
|
+
}), [["__scopeId", "data-v-02761d2e"]]), Bp = [
|
|
9055
9085
|
"👍",
|
|
9056
9086
|
"❤️",
|
|
9057
9087
|
"🔥",
|
|
9058
9088
|
"😂",
|
|
9059
9089
|
"🙏",
|
|
9060
9090
|
"🎉"
|
|
9061
|
-
],
|
|
9091
|
+
], Vp = /* @__PURE__ */ "👏.😍.🤯.😮.😢.😡.👀.✅.💯.🙌.🤝.👌.💪.🤔.🫶.😅.🥳.💛.🌟.🚀.💥.🎯.📌.💡.🕊️.☀️.🌈.🍀.🎶.🫡".split("."), Hp = { class: "shadow-overlay bg-elevation-surface-raised-default mx-auto flex w-max max-w-full items-center gap-1 rounded-full px-3 py-1" }, Up = ["disabled", "onClick"], Wp = ["disabled"], Gp = {
|
|
9062
9092
|
key: 0,
|
|
9063
9093
|
class: "bg-elevation-surface-raised-default shadow-overlay m-0 grid grid-cols-6 gap-1 rounded-lg p-1.5"
|
|
9064
|
-
},
|
|
9094
|
+
}, Kp = ["onClick"], qp = /* @__PURE__ */ $(/* @__PURE__ */ u({
|
|
9065
9095
|
__name: "MessageItemMenuReactions",
|
|
9066
9096
|
props: {
|
|
9067
9097
|
message: {},
|
|
@@ -9073,20 +9103,20 @@ var df = { class: "w-full" }, ff = {
|
|
|
9073
9103
|
F(() => c.message.id, () => {
|
|
9074
9104
|
u.value = !1;
|
|
9075
9105
|
});
|
|
9076
|
-
let d = n(() =>
|
|
9106
|
+
let d = n(() => Vp);
|
|
9077
9107
|
function f(e) {
|
|
9078
9108
|
return (c.message.reactions ?? []).some((t) => t.emoji === e);
|
|
9079
9109
|
}
|
|
9080
9110
|
function p() {
|
|
9081
9111
|
c.canReact && (u.value = !u.value);
|
|
9082
9112
|
}
|
|
9083
|
-
return (n, s) => (S(), a(e, null, [o("div",
|
|
9113
|
+
return (n, s) => (S(), a(e, null, [o("div", Hp, [(S(!0), a(e, null, T(j(Bp), (e) => (S(), a("button", {
|
|
9084
9114
|
key: `${t.message.id}-${e}-common`,
|
|
9085
9115
|
type: "button",
|
|
9086
9116
|
class: g(["message-reaction-button", f(e) ? "bg-background-success-default" : "bg-transparent"]),
|
|
9087
9117
|
disabled: !t.canReact,
|
|
9088
9118
|
onClick: (t) => l("react", e)
|
|
9089
|
-
}, k(e), 11,
|
|
9119
|
+
}, k(e), 11, Up))), 128)), o("button", {
|
|
9090
9120
|
type: "button",
|
|
9091
9121
|
class: "message-reaction-more",
|
|
9092
9122
|
disabled: !t.canReact,
|
|
@@ -9094,14 +9124,14 @@ var df = { class: "w-full" }, ff = {
|
|
|
9094
9124
|
}, [(S(), r(D(u.value ? j(De) : j(Ee)), {
|
|
9095
9125
|
class: "size-7",
|
|
9096
9126
|
"aria-hidden": "true"
|
|
9097
|
-
}))], 8,
|
|
9127
|
+
}))], 8, Wp)]), u.value && t.canReact ? (S(), a("div", Gp, [(S(!0), a(e, null, T(d.value, (e) => (S(), a("button", {
|
|
9098
9128
|
key: `${t.message.id}-${e}-extended`,
|
|
9099
9129
|
type: "button",
|
|
9100
9130
|
class: g(["message-expanded-reaction-button", f(e) ? "bg-background-success-default" : "bg-transparent"]),
|
|
9101
9131
|
onClick: (t) => l("react", e)
|
|
9102
|
-
}, k(e), 11,
|
|
9132
|
+
}, k(e), 11, Kp))), 128))])) : i("", !0)], 64));
|
|
9103
9133
|
}
|
|
9104
|
-
}), [["__scopeId", "data-v-0a11761a"]]),
|
|
9134
|
+
}), [["__scopeId", "data-v-0a11761a"]]), Jp = /* @__PURE__ */ $(/* @__PURE__ */ u({
|
|
9105
9135
|
__name: "MessageItemMenu",
|
|
9106
9136
|
props: {
|
|
9107
9137
|
message: {},
|
|
@@ -9125,16 +9155,16 @@ var df = { class: "w-full" }, ff = {
|
|
|
9125
9155
|
let e = m.y + 10 + a.height <= n + i - 12;
|
|
9126
9156
|
h = Math.min(Math.max(m.x - a.width / 2, o), d), g = e ? Math.min(m.y + 10, l) : Math.max(m.y - a.height - 10, c);
|
|
9127
9157
|
} else if (p) {
|
|
9128
|
-
let e = p.getBoundingClientRect(), t = e.left + e.width / 2, r = e.
|
|
9129
|
-
h = Math.min(Math.max(t - a.width / 2, o), d), g =
|
|
9158
|
+
let e = p.getBoundingClientRect(), t = e.left + e.width / 2, r = n + i, s = e.bottom + 10, u = e.top - a.height - 10, f = s + a.height <= r - 12, m = u >= c, _ = r - 12 - e.bottom - 10, v = e.top - c - 10;
|
|
9159
|
+
h = Math.min(Math.max(t - a.width / 2, o), d), g = f ? Math.min(s, l) : m ? Math.min(u, l) : v >= _ ? c : l;
|
|
9130
9160
|
}
|
|
9131
9161
|
f.value = {
|
|
9132
9162
|
left: h,
|
|
9133
9163
|
top: g
|
|
9134
9164
|
};
|
|
9135
9165
|
}
|
|
9136
|
-
async function b(e, t) {
|
|
9137
|
-
p = g(e), m = t ?? null, !(!p && !m) && (d.value = !0, await h(), await _());
|
|
9166
|
+
async function b(e, t, n) {
|
|
9167
|
+
p = n ?? g(e), m = t ?? null, !(!p && !m) && (d.value = !0, await h(), await _());
|
|
9138
9168
|
}
|
|
9139
9169
|
function x() {
|
|
9140
9170
|
d.value && (d.value = !1, p = null, m = null, c("hide"));
|
|
@@ -9144,7 +9174,7 @@ var df = { class: "w-full" }, ff = {
|
|
|
9144
9174
|
let t = e.target;
|
|
9145
9175
|
if (!u.value?.contains(t)) {
|
|
9146
9176
|
if (p) {
|
|
9147
|
-
if (p.closest(".message-item")?.contains(t) && t instanceof HTMLElement && t.classList.contains("message-bubble--spotlight")) {
|
|
9177
|
+
if (p.closest(".message-item")?.contains(t) && t instanceof HTMLElement && (t.classList.contains("message-bubble--spotlight") || t.classList.contains("message-bubble-wrapper"))) {
|
|
9148
9178
|
setTimeout(() => {
|
|
9149
9179
|
x();
|
|
9150
9180
|
}, 100);
|
|
@@ -9177,19 +9207,19 @@ var df = { class: "w-full" }, ff = {
|
|
|
9177
9207
|
top: `${f.value.top}px`
|
|
9178
9208
|
}),
|
|
9179
9209
|
"data-testid": "message-action-popover-shell"
|
|
9180
|
-
}, [l(
|
|
9210
|
+
}, [l(qp, {
|
|
9181
9211
|
message: e.message,
|
|
9182
9212
|
"can-react": e.canReact,
|
|
9183
9213
|
onReact: o[0] ||= (e) => c("react", e)
|
|
9184
9214
|
}, null, 8, ["message", "can-react"]), l(j(ae), { model: e.actionItems }, null, 8, ["model"])], 4)) : i("", !0)]));
|
|
9185
9215
|
}
|
|
9186
|
-
}), [["__scopeId", "data-v-
|
|
9216
|
+
}), [["__scopeId", "data-v-4cf0e796"]]), Yp = { class: "chat-header border-default bg-elevation-surface-default sticky top-0 z-10 flex items-center justify-between gap-3 border-b px-4 py-3 max-md:px-4 max-md:pb-3 sm:px-5 sm:py-3.5" }, Xp = {
|
|
9187
9217
|
key: 0,
|
|
9188
9218
|
class: "chat-header__identity flex min-w-0 items-center gap-3"
|
|
9189
|
-
},
|
|
9219
|
+
}, Zp = { class: "chat-header__text min-w-0" }, Qp = { class: "chat-header__title heading-md text-default sm:heading-lg truncate" }, $p = { class: "chat-header__subtitle body-sm text-subtle sm:body-md truncate" }, em = { key: 0 }, tm = { key: 1 }, nm = { class: "chat-header__actions flex items-center gap-2" }, rm = {
|
|
9190
9220
|
key: 0,
|
|
9191
9221
|
class: "chat-header__tags hidden flex-wrap gap-2 md:flex"
|
|
9192
|
-
},
|
|
9222
|
+
}, im = /* @__PURE__ */ u({
|
|
9193
9223
|
__name: "MessageListHeader",
|
|
9194
9224
|
props: {
|
|
9195
9225
|
conversation: {},
|
|
@@ -9197,28 +9227,28 @@ var df = { class: "w-full" }, ff = {
|
|
|
9197
9227
|
},
|
|
9198
9228
|
setup(t) {
|
|
9199
9229
|
let { t: n } = K();
|
|
9200
|
-
return (s, c) => (S(), a("header",
|
|
9230
|
+
return (s, c) => (S(), a("header", Yp, [t.conversation ? (S(), a("div", Xp, [l(j(R), {
|
|
9201
9231
|
image: t.conversation.avatar,
|
|
9202
9232
|
label: t.conversation.avatar ? void 0 : t.conversation.title.slice(0, 1).toUpperCase(),
|
|
9203
9233
|
shape: "circle",
|
|
9204
9234
|
class: "chat-header__avatar shrink-0"
|
|
9205
|
-
}, null, 8, ["image", "label"]), o("div",
|
|
9235
|
+
}, null, 8, ["image", "label"]), o("div", Zp, [o("p", Qp, k(t.parentMessage ? j(n)("thread") : t.conversation.title), 1), o("p", $p, [t.parentMessage ? (S(), a("span", em, k(t.parentMessage.senderName), 1)) : (S(), a("span", tm, k(t.conversation.memberCount ? j(n)("members", { count: t.conversation.memberCount }) : j(n)("groupChat")), 1))])])])) : i("", !0), o("div", nm, [t.conversation?.tags?.length ? (S(), a("div", rm, [(S(!0), a(e, null, T(t.conversation.tags.slice(0, 3), (e) => (S(), r(j(V), {
|
|
9206
9236
|
key: e,
|
|
9207
9237
|
text: e,
|
|
9208
9238
|
context: "secondary",
|
|
9209
9239
|
rounded: ""
|
|
9210
9240
|
}, null, 8, ["text"]))), 128))])) : i("", !0)])]));
|
|
9211
9241
|
}
|
|
9212
|
-
}),
|
|
9242
|
+
}), am = {
|
|
9213
9243
|
key: 1,
|
|
9214
9244
|
class: "message-list__empty-state"
|
|
9215
|
-
},
|
|
9245
|
+
}, om = { class: "space-y-2" }, sm = {
|
|
9216
9246
|
key: 0,
|
|
9217
9247
|
class: "message-list__thread-root"
|
|
9218
|
-
},
|
|
9248
|
+
}, cm = { class: "body-sm text-subtlest truncate font-semibold uppercase" }, lm = { class: "body-md text-default mt-1 line-clamp-2" }, um = {
|
|
9219
9249
|
key: 1,
|
|
9220
9250
|
class: "surface-default text-subtle rounded-2xl p-5 text-center"
|
|
9221
|
-
},
|
|
9251
|
+
}, dm = /* @__PURE__ */ $(/* @__PURE__ */ u({
|
|
9222
9252
|
__name: "MessageList",
|
|
9223
9253
|
props: {
|
|
9224
9254
|
target: {},
|
|
@@ -9311,7 +9341,7 @@ var df = { class: "w-full" }, ff = {
|
|
|
9311
9341
|
title: D.value,
|
|
9312
9342
|
subtitle: O.value,
|
|
9313
9343
|
memberCount: A.value
|
|
9314
|
-
}, () => [l(
|
|
9344
|
+
}, () => [l(im, {
|
|
9315
9345
|
conversation: j(u).conversation.value,
|
|
9316
9346
|
"parent-message": _.value
|
|
9317
9347
|
}, null, 8, ["conversation", "parent-message"])], !0) : i("", !0), j(u).conversation.value ? (S(), a("div", {
|
|
@@ -9322,12 +9352,12 @@ var df = { class: "w-full" }, ff = {
|
|
|
9322
9352
|
ref: te,
|
|
9323
9353
|
class: g(["message-list__scroll min-h-0 flex-1", F.value ? "p-0" : P.value ? "px-5 py-4" : "px-2 pt-2 pb-3"]),
|
|
9324
9354
|
onScroll: n[2] ||= (...e) => j(L) && j(L)(...e)
|
|
9325
|
-
}, [o("div",
|
|
9326
|
-
_.value ? (S(), a("div",
|
|
9355
|
+
}, [o("div", om, [
|
|
9356
|
+
_.value ? (S(), a("div", sm, [o("p", cm, k(_.value.senderName), 1), o("p", lm, k(j(Ws)(_.value, j(c)("message"), j(u).mentionNameByUid.value)), 1)])) : i("", !0),
|
|
9327
9357
|
(S(!0), a(e, null, T(m.value, (o, c) => (S(), a(e, { key: o.id }, [de(c) ? (S(), r(Af, {
|
|
9328
9358
|
key: 0,
|
|
9329
9359
|
date: o.sentAt
|
|
9330
|
-
}, null, 8, ["date"])) : i("", !0), l(
|
|
9360
|
+
}, null, 8, ["date"])) : i("", !0), l(zp, {
|
|
9331
9361
|
message: o,
|
|
9332
9362
|
"current-user-id": j(u).currentUserId.value,
|
|
9333
9363
|
"can-react": j(u).canReact.value,
|
|
@@ -9336,7 +9366,7 @@ var df = { class: "w-full" }, ff = {
|
|
|
9336
9366
|
"pending-option-key": ee.value,
|
|
9337
9367
|
"action-message-class": s.actionMessageClass,
|
|
9338
9368
|
"action-message-row-class": s.actionMessageRowClass,
|
|
9339
|
-
"context-menu-open": j(z)?.id === o.id
|
|
9369
|
+
"context-menu-open": j(z)?.id === o.id,
|
|
9340
9370
|
"is-touch-ui": j(se),
|
|
9341
9371
|
onContextmenu: (e) => j(ne)(o, e),
|
|
9342
9372
|
onTap: (e) => j(B)(o, e),
|
|
@@ -9363,13 +9393,13 @@ var df = { class: "w-full" }, ff = {
|
|
|
9363
9393
|
"onToggleReaction",
|
|
9364
9394
|
"onOpenThread"
|
|
9365
9395
|
])], 64))), 128)),
|
|
9366
|
-
m.value.length === 0 && C.value && !h.value ? (S(), a("div",
|
|
9367
|
-
])], 34), o("footer", { class: g(["message-list__composer flex shrink-0 flex-col", P.value ? F.value ? "bg-transparent p-0" : "message-list__composer--thread" : "bg-transparent p-0"]) }, [E(t.$slots, "composer", {}, void 0, !0)], 2)], 2)) : (S(), a("div",
|
|
9396
|
+
m.value.length === 0 && C.value && !h.value ? (S(), a("div", um, k(j(c)("noMessagesYetInThisGroup")), 1)) : i("", !0)
|
|
9397
|
+
])], 34), o("footer", { class: g(["message-list__composer flex shrink-0 flex-col", P.value ? F.value ? "bg-transparent p-0" : "message-list__composer--thread" : "bg-transparent p-0"]) }, [E(t.$slots, "composer", {}, void 0, !0)], 2)], 2)) : (S(), a("div", am, k(j(c)("selectConversationToStart")), 1))], 2),
|
|
9368
9398
|
l(Df, {
|
|
9369
9399
|
attachment: M.value,
|
|
9370
9400
|
onClose: U
|
|
9371
9401
|
}, null, 8, ["attachment"]),
|
|
9372
|
-
l(
|
|
9402
|
+
l(Jp, {
|
|
9373
9403
|
ref_key: "actionMenuRef",
|
|
9374
9404
|
ref: R,
|
|
9375
9405
|
message: j(z),
|
|
@@ -9385,13 +9415,13 @@ var df = { class: "w-full" }, ff = {
|
|
|
9385
9415
|
])
|
|
9386
9416
|
], 64));
|
|
9387
9417
|
}
|
|
9388
|
-
}), [["__scopeId", "data-v-
|
|
9418
|
+
}), [["__scopeId", "data-v-5df7d69f"]]), fm = { class: "receipt-section" }, pm = { class: "receipt-section__header" }, mm = { class: "heading-sm text-default" }, hm = { class: "body-sm text-subtlest" }, gm = {
|
|
9389
9419
|
key: 0,
|
|
9390
9420
|
class: "space-y-2"
|
|
9391
|
-
},
|
|
9421
|
+
}, _m = { class: "flex min-w-0 items-center gap-3" }, vm = { class: "min-w-0" }, ym = { class: "heading-sm text-default truncate" }, bm = { class: "body-sm text-subtle truncate" }, xm = { class: "body-sm text-subtle shrink-0" }, Sm = {
|
|
9392
9422
|
key: 1,
|
|
9393
9423
|
class: "receipt-section__empty"
|
|
9394
|
-
},
|
|
9424
|
+
}, Cm = /* @__PURE__ */ $(/* @__PURE__ */ u({
|
|
9395
9425
|
__name: "ReceiptSection",
|
|
9396
9426
|
props: {
|
|
9397
9427
|
title: {},
|
|
@@ -9400,29 +9430,29 @@ var df = { class: "w-full" }, ff = {
|
|
|
9400
9430
|
formatDateTime: { type: Function }
|
|
9401
9431
|
},
|
|
9402
9432
|
setup(t) {
|
|
9403
|
-
return (n, r) => (S(), a("section",
|
|
9433
|
+
return (n, r) => (S(), a("section", fm, [o("div", pm, [o("p", mm, k(t.title), 1), o("span", hm, k(t.receipts.length), 1)]), t.receipts.length ? (S(), a("div", gm, [(S(!0), a(e, null, T(t.receipts, (e) => (S(), a("div", {
|
|
9404
9434
|
key: `${e.kind}-${e.user.uid}`,
|
|
9405
9435
|
class: "receipt-section__row"
|
|
9406
|
-
}, [o("div",
|
|
9436
|
+
}, [o("div", _m, [l(j(R), {
|
|
9407
9437
|
image: e.user.avatar,
|
|
9408
9438
|
label: e.user.avatar ? void 0 : e.user.name.slice(0, 1).toUpperCase(),
|
|
9409
9439
|
shape: "circle",
|
|
9410
9440
|
class: "shrink-0"
|
|
9411
|
-
}, null, 8, ["image", "label"]), o("div",
|
|
9441
|
+
}, null, 8, ["image", "label"]), o("div", vm, [o("p", ym, k(e.user.name), 1), o("p", bm, k(e.user.uid), 1)])]), o("p", xm, k(t.formatDateTime(e.timestamp)), 1)]))), 128))])) : (S(), a("div", Sm, k(t.emptyLabel), 1))]));
|
|
9412
9442
|
}
|
|
9413
|
-
}), [["__scopeId", "data-v-2b2f0a3e"]]),
|
|
9443
|
+
}), [["__scopeId", "data-v-2b2f0a3e"]]), wm = {
|
|
9414
9444
|
key: 0,
|
|
9415
9445
|
class: "message-info-dialog-content space-y-5 overflow-y-auto"
|
|
9416
|
-
},
|
|
9446
|
+
}, Tm = { class: "message-info-summary px-4 py-4 sm:px-6 sm:py-5" }, Em = { class: "body-md text-default wrap-break-word whitespace-pre-wrap" }, Dm = { class: "mt-4 grid gap-3 sm:grid-cols-3" }, Om = { class: "message-info-metric px-3 py-3" }, km = { class: "body-sm text-subtlest font-semibold uppercase" }, Am = { class: "heading-sm text-default mt-1" }, jm = { class: "message-info-metric px-3 py-3" }, Mm = { class: "flex items-center gap-2" }, Nm = { class: "body-sm text-subtlest font-semibold uppercase" }, Pm = { class: "heading-sm text-default mt-1" }, Fm = { class: "message-info-metric px-3 py-3" }, Im = { class: "flex items-center gap-2" }, Lm = { class: "body-sm text-subtlest font-semibold uppercase" }, Rm = { class: "heading-sm text-default mt-1" }, zm = {
|
|
9417
9447
|
key: 0,
|
|
9418
9448
|
class: "flex items-center justify-center px-4 py-8 sm:px-6"
|
|
9419
|
-
},
|
|
9449
|
+
}, Bm = {
|
|
9420
9450
|
key: 1,
|
|
9421
9451
|
class: "message-info-error body-md mx-4 rounded-xl px-4 py-3 sm:mx-6"
|
|
9422
|
-
},
|
|
9452
|
+
}, Vm = {
|
|
9423
9453
|
key: 2,
|
|
9424
9454
|
class: "space-y-4 pb-4 sm:pb-5"
|
|
9425
|
-
},
|
|
9455
|
+
}, Hm = /* @__PURE__ */ $(/* @__PURE__ */ u({
|
|
9426
9456
|
__name: "MessageInfoDialog",
|
|
9427
9457
|
props: {
|
|
9428
9458
|
open: { type: Boolean },
|
|
@@ -9451,27 +9481,27 @@ var df = { class: "w-full" }, ff = {
|
|
|
9451
9481
|
"close-label": j(d)("close"),
|
|
9452
9482
|
onClose: n[0] ||= (e) => c("close")
|
|
9453
9483
|
}, {
|
|
9454
|
-
default: I(() => [e.message ? (S(), a("div",
|
|
9455
|
-
o("div",
|
|
9456
|
-
o("div",
|
|
9484
|
+
default: I(() => [e.message ? (S(), a("div", wm, [o("div", Tm, [o("p", Em, k(j(Ws)(e.message, j(d)("message"), j(f).mentionNameByUid.value)), 1), o("div", Dm, [
|
|
9485
|
+
o("div", Om, [o("p", km, k(j(d)("sent")), 1), o("p", Am, k(g(e.message.sentAt)), 1)]),
|
|
9486
|
+
o("div", jm, [o("div", Mm, [o("p", Nm, k(j(d)("deliveredToAll")), 1), h.value.length ? (S(), r(j(V), {
|
|
9457
9487
|
key: 0,
|
|
9458
9488
|
text: String(h.value.length),
|
|
9459
9489
|
context: "secondary",
|
|
9460
9490
|
rounded: ""
|
|
9461
|
-
}, null, 8, ["text"])) : i("", !0)]), o("p",
|
|
9462
|
-
o("div",
|
|
9491
|
+
}, null, 8, ["text"])) : i("", !0)]), o("p", Pm, k(_(e.message.receipts.deliveredAt, h.value.length)), 1)]),
|
|
9492
|
+
o("div", Fm, [o("div", Im, [o("p", Lm, k(j(d)("readByAll")), 1), m.value.length ? (S(), r(j(V), {
|
|
9463
9493
|
key: 0,
|
|
9464
9494
|
text: String(m.value.length),
|
|
9465
9495
|
context: "success",
|
|
9466
9496
|
rounded: ""
|
|
9467
|
-
}, null, 8, ["text"])) : i("", !0)]), o("p",
|
|
9468
|
-
])]), e.loading ? (S(), a("div",
|
|
9497
|
+
}, null, 8, ["text"])) : i("", !0)]), o("p", Rm, k(_(e.message.receipts.readAt, m.value.length)), 1)])
|
|
9498
|
+
])]), e.loading ? (S(), a("div", zm, [l(j(se), {
|
|
9469
9499
|
style: {
|
|
9470
9500
|
width: "2.5rem",
|
|
9471
9501
|
height: "2.5rem"
|
|
9472
9502
|
},
|
|
9473
9503
|
"stroke-width": "5"
|
|
9474
|
-
})])) : e.error ? (S(), a("div",
|
|
9504
|
+
})])) : e.error ? (S(), a("div", Bm, k(e.error), 1)) : (S(), a("div", Vm, [l(Cm, {
|
|
9475
9505
|
title: j(d)("readBy"),
|
|
9476
9506
|
receipts: m.value,
|
|
9477
9507
|
"empty-label": j(d)("nobodyHasReadThisMessageYet"),
|
|
@@ -9480,7 +9510,7 @@ var df = { class: "w-full" }, ff = {
|
|
|
9480
9510
|
"title",
|
|
9481
9511
|
"receipts",
|
|
9482
9512
|
"empty-label"
|
|
9483
|
-
]), l(
|
|
9513
|
+
]), l(Cm, {
|
|
9484
9514
|
title: j(d)("deliveredNotYetRead"),
|
|
9485
9515
|
receipts: p.value,
|
|
9486
9516
|
"empty-label": j(d)("noRecipientsDeliveredStageYet"),
|
|
@@ -9498,34 +9528,34 @@ var df = { class: "w-full" }, ff = {
|
|
|
9498
9528
|
"close-label"
|
|
9499
9529
|
]));
|
|
9500
9530
|
}
|
|
9501
|
-
}), [["__scopeId", "data-v-30ce65f1"]]),
|
|
9531
|
+
}), [["__scopeId", "data-v-30ce65f1"]]), Um = { class: "min-h-0 flex-1 overflow-y-auto" }, Wm = {
|
|
9502
9532
|
key: 0,
|
|
9503
9533
|
class: "flex h-full min-h-64 items-center justify-center"
|
|
9504
|
-
},
|
|
9534
|
+
}, Gm = {
|
|
9505
9535
|
key: 1,
|
|
9506
9536
|
class: "bg-elevation-surface-sunken-default body-md flex h-full min-h-64 items-center justify-center rounded-xl px-6 text-center"
|
|
9507
|
-
},
|
|
9537
|
+
}, Km = {
|
|
9508
9538
|
key: 2,
|
|
9509
9539
|
class: "space-y-3"
|
|
9510
|
-
},
|
|
9540
|
+
}, qm = { class: "flex flex-wrap items-start justify-between gap-3" }, Jm = { class: "w-full space-y-2" }, Ym = { class: "center between gap-2" }, Xm = { class: "" }, Zm = { class: "space-y-1" }, Qm = { class: "heading-sm text-default" }, $m = {
|
|
9511
9541
|
key: 0,
|
|
9512
9542
|
class: "body-md text-default"
|
|
9513
|
-
},
|
|
9543
|
+
}, eh = {
|
|
9514
9544
|
key: 1,
|
|
9515
9545
|
class: "body-md text-default wrap-break-word whitespace-pre-wrap"
|
|
9516
|
-
},
|
|
9546
|
+
}, th = {
|
|
9517
9547
|
key: 0,
|
|
9518
9548
|
class: "max-w-sm"
|
|
9519
|
-
},
|
|
9549
|
+
}, nh = { class: "flex flex-wrap items-center gap-1" }, rh = {
|
|
9520
9550
|
key: 0,
|
|
9521
9551
|
class: "bg-elevation-surface-sunken-default mt-4 flex flex-col gap-3 rounded-xl p-3 sm:flex-row sm:items-center"
|
|
9522
|
-
},
|
|
9552
|
+
}, ih = { class: "grid w-full grid-cols-1 gap-2 sm:grid-cols-[1fr_8rem]" }, ah = { class: "flex items-center gap-2" }, oh = {
|
|
9523
9553
|
key: 1,
|
|
9524
9554
|
class: "bg-elevation-surface-sunken-default mt-4 flex flex-col gap-3 rounded-xl p-3"
|
|
9525
|
-
},
|
|
9555
|
+
}, sh = {
|
|
9526
9556
|
key: 0,
|
|
9527
9557
|
class: "relative max-w-sm"
|
|
9528
|
-
},
|
|
9558
|
+
}, ch = { class: "absolute top-2 right-2" }, lh = ["placeholder"], uh = { class: "flex items-center justify-end gap-2" }, dh = /* @__PURE__ */ $(/* @__PURE__ */ u({
|
|
9529
9559
|
__name: "ScheduledMessagesDialog",
|
|
9530
9560
|
props: {
|
|
9531
9561
|
open: { type: Boolean },
|
|
@@ -9614,17 +9644,17 @@ var df = { class: "w-full" }, ff = {
|
|
|
9614
9644
|
"close-label": j(v)("close"),
|
|
9615
9645
|
onClose: s[3] ||= (e) => u("close")
|
|
9616
9646
|
}, {
|
|
9617
|
-
default: I(() => [o("div",
|
|
9647
|
+
default: I(() => [o("div", Um, [t.loading ? (S(), a("div", Wm, [l(j(se), {
|
|
9618
9648
|
style: {
|
|
9619
9649
|
width: "2.75rem",
|
|
9620
9650
|
height: "2.75rem"
|
|
9621
9651
|
},
|
|
9622
9652
|
"stroke-width": "6"
|
|
9623
|
-
})])) : y.value.length === 0 ? (S(), a("div",
|
|
9653
|
+
})])) : y.value.length === 0 ? (S(), a("div", Gm, k(j(v)("noScheduledMessagesForConversation")), 1)) : (S(), a("div", Km, [(S(!0), a(e, null, T(y.value, (e) => (S(), a("article", {
|
|
9624
9654
|
key: e.id,
|
|
9625
9655
|
class: "border-default rounded-lg border px-4 py-3"
|
|
9626
|
-
}, [o("div",
|
|
9627
|
-
o("div",
|
|
9656
|
+
}, [o("div", qm, [o("div", Jm, [
|
|
9657
|
+
o("div", Ym, [o("div", Xm, [e.kind === "poll" ? (S(), r(j(V), {
|
|
9628
9658
|
key: 0,
|
|
9629
9659
|
text: j(v)("poll"),
|
|
9630
9660
|
context: "info",
|
|
@@ -9645,9 +9675,9 @@ var df = { class: "w-full" }, ff = {
|
|
|
9645
9675
|
size: "small",
|
|
9646
9676
|
onClick: (t) => B(e)
|
|
9647
9677
|
}, null, 8, ["icon", "onClick"])]),
|
|
9648
|
-
o("div",
|
|
9649
|
-
L(e) && !(d.value === e.id && f.value === "text") ? (S(), a("div",
|
|
9650
|
-
]), o("div",
|
|
9678
|
+
o("div", Zm, [o("p", Qm, k(x(e.scheduled?.scheduleDate)), 1), e.kind === "poll" && e.poll ? (S(), a("p", $m, k(e.poll.question), 1)) : (S(), a("p", eh, k(j(Ws)(e, j(v)("attachment"))), 1))]),
|
|
9679
|
+
L(e) && !(d.value === e.id && f.value === "text") ? (S(), a("div", th, [l(lp, { message: N(e) }, null, 8, ["message"])])) : i("", !0)
|
|
9680
|
+
]), o("div", nh, [e.kind === "poll" ? i("", !0) : (S(), r(j(z), {
|
|
9651
9681
|
key: 0,
|
|
9652
9682
|
label: j(v)("edit"),
|
|
9653
9683
|
icon: j(ye),
|
|
@@ -9669,7 +9699,7 @@ var df = { class: "w-full" }, ff = {
|
|
|
9669
9699
|
"label",
|
|
9670
9700
|
"icon",
|
|
9671
9701
|
"onClick"
|
|
9672
|
-
])) : i("", !0)])]), d.value === e.id && f.value === "reschedule" ? (S(), a("div",
|
|
9702
|
+
])) : i("", !0)])]), d.value === e.id && f.value === "reschedule" ? (S(), a("div", rh, [o("div", ih, [te(o("input", {
|
|
9673
9703
|
"onUpdate:modelValue": s[0] ||= (e) => m.value = e,
|
|
9674
9704
|
type: "date",
|
|
9675
9705
|
class: "surface-input body-md w-full rounded-xl p-2 ring-0 outline-none"
|
|
@@ -9681,7 +9711,7 @@ var df = { class: "w-full" }, ff = {
|
|
|
9681
9711
|
pattern: "^([01]\\d|2[0-3]):([0-5]\\d)$",
|
|
9682
9712
|
"aria-label": "Time (24-hour)",
|
|
9683
9713
|
class: "surface-input body-md w-full rounded-xl p-2 ring-0 outline-none"
|
|
9684
|
-
}, null, 512), [[ee, h.value]])]), o("div",
|
|
9714
|
+
}, null, 512), [[ee, h.value]])]), o("div", ah, [l(j(z), {
|
|
9685
9715
|
label: j(v)("save"),
|
|
9686
9716
|
size: "small",
|
|
9687
9717
|
disabled: !m.value || !b.value,
|
|
@@ -9695,8 +9725,8 @@ var df = { class: "w-full" }, ff = {
|
|
|
9695
9725
|
size: "small",
|
|
9696
9726
|
text: "",
|
|
9697
9727
|
onClick: M
|
|
9698
|
-
}, null, 8, ["label"])])])) : d.value === e.id && f.value === "text" ? (S(), a("div",
|
|
9699
|
-
L(e) ? (S(), a("div",
|
|
9728
|
+
}, null, 8, ["label"])])])) : d.value === e.id && f.value === "text" ? (S(), a("div", oh, [
|
|
9729
|
+
L(e) ? (S(), a("div", sh, [l(lp, { message: N(e) }, null, 8, ["message"]), o("div", ch, [l(j(z), {
|
|
9700
9730
|
icon: j(fe),
|
|
9701
9731
|
"aria-label": j(v)("remove"),
|
|
9702
9732
|
text: "",
|
|
@@ -9710,8 +9740,8 @@ var df = { class: "w-full" }, ff = {
|
|
|
9710
9740
|
rows: "3",
|
|
9711
9741
|
class: "surface-input body-md w-full rounded-xl px-3 py-2 ring-0 outline-none",
|
|
9712
9742
|
placeholder: j(v)("writeMessage")
|
|
9713
|
-
}, null, 8,
|
|
9714
|
-
o("div",
|
|
9743
|
+
}, null, 8, lh), [[ee, g.value]]),
|
|
9744
|
+
o("div", uh, [l(j(z), {
|
|
9715
9745
|
label: j(v)("cancel"),
|
|
9716
9746
|
size: "small",
|
|
9717
9747
|
text: "",
|
|
@@ -9735,7 +9765,7 @@ var df = { class: "w-full" }, ff = {
|
|
|
9735
9765
|
"close-label"
|
|
9736
9766
|
]));
|
|
9737
9767
|
}
|
|
9738
|
-
}), [["__scopeId", "data-v-0bb2dc95"]]),
|
|
9768
|
+
}), [["__scopeId", "data-v-0bb2dc95"]]), fh = { class: "chat-status-overlay" }, ph = { class: "chat-status-overlay__card" }, mh = /* @__PURE__ */ $(/* @__PURE__ */ u({
|
|
9739
9769
|
__name: "ChatStatusOverlay",
|
|
9740
9770
|
props: {
|
|
9741
9771
|
visible: { type: Boolean },
|
|
@@ -9768,9 +9798,9 @@ var df = { class: "w-full" }, ff = {
|
|
|
9768
9798
|
message: t.messages.connecting,
|
|
9769
9799
|
slotName: "connecting"
|
|
9770
9800
|
} : null);
|
|
9771
|
-
return (e, t) => r.value ? E(e.$slots, r.value.slotName, { key: 0 }, () => [o("div",
|
|
9801
|
+
return (e, t) => r.value ? E(e.$slots, r.value.slotName, { key: 0 }, () => [o("div", fh, [o("div", ph, [E(e.$slots, `${r.value.slotName}-content`, {}, () => [o("span", null, k(r.value.message), 1)], !0)])])], !0) : i("", !0);
|
|
9772
9802
|
}
|
|
9773
|
-
}), [["__scopeId", "data-v-7749aec9"]]),
|
|
9803
|
+
}), [["__scopeId", "data-v-7749aec9"]]), hh = /* @__PURE__ */ u({
|
|
9774
9804
|
__name: "BccChat",
|
|
9775
9805
|
props: {
|
|
9776
9806
|
client: { default: null },
|
|
@@ -10001,7 +10031,7 @@ var df = { class: "w-full" }, ff = {
|
|
|
10001
10031
|
_: 1
|
|
10002
10032
|
})]) : i("", !0),
|
|
10003
10033
|
T.value ? (S(), a(e, { key: 1 }, [
|
|
10004
|
-
l(
|
|
10034
|
+
l(dm, {
|
|
10005
10035
|
target: "main",
|
|
10006
10036
|
class: g(["h-full", t.containerClass]),
|
|
10007
10037
|
"hide-group-actions": t.hideGroupActions,
|
|
@@ -10035,7 +10065,7 @@ var df = { class: "w-full" }, ff = {
|
|
|
10035
10065
|
"close-aria-label": j(m)("closeThread"),
|
|
10036
10066
|
onClose: r[0] ||= (e) => j(re).emit("ui:closeThread")
|
|
10037
10067
|
}, {
|
|
10038
|
-
default: I(() => [l(
|
|
10068
|
+
default: I(() => [l(dm, {
|
|
10039
10069
|
target: "thread",
|
|
10040
10070
|
class: "min-h-0 flex-1",
|
|
10041
10071
|
"action-message-class": t.actionMessageClass,
|
|
@@ -10056,7 +10086,7 @@ var df = { class: "w-full" }, ff = {
|
|
|
10056
10086
|
"close-label",
|
|
10057
10087
|
"close-aria-label"
|
|
10058
10088
|
]),
|
|
10059
|
-
l(
|
|
10089
|
+
l(dh, {
|
|
10060
10090
|
open: j(R).showScheduledMessages.value,
|
|
10061
10091
|
loading: j(R).loadingScheduledMessages.value,
|
|
10062
10092
|
messages: j(R).scheduledMessages.value,
|
|
@@ -10071,7 +10101,7 @@ var df = { class: "w-full" }, ff = {
|
|
|
10071
10101
|
"messages",
|
|
10072
10102
|
"conversation-title"
|
|
10073
10103
|
]),
|
|
10074
|
-
l(
|
|
10104
|
+
l(Hm, {
|
|
10075
10105
|
open: !!j(R).infoMessage.value,
|
|
10076
10106
|
message: j(R).infoMessage.value,
|
|
10077
10107
|
receipts: j(R).infoMessageReceipts.value,
|
|
@@ -10086,7 +10116,7 @@ var df = { class: "w-full" }, ff = {
|
|
|
10086
10116
|
"error"
|
|
10087
10117
|
])
|
|
10088
10118
|
], 64)) : i("", !0),
|
|
10089
|
-
l(
|
|
10119
|
+
l(mh, {
|
|
10090
10120
|
visible: D.value && (T.value?.offlineMode.value || !T.value?.connected.value || x.value && !te.value || v.value || C.value || t.displayNoMessagesText && j(P).isChatEmpty.value),
|
|
10091
10121
|
"offline-mode": !!(T.value?.offlineMode.value && !O.value),
|
|
10092
10122
|
connected: !!(T.value?.connected.value || O.value),
|
|
@@ -10126,6 +10156,6 @@ var df = { class: "w-full" }, ff = {
|
|
|
10126
10156
|
}
|
|
10127
10157
|
});
|
|
10128
10158
|
//#endregion
|
|
10129
|
-
export {
|
|
10159
|
+
export { hh as BccChat, hh as BccChatMessageList, Ol as LogSeverity, gu as chat, gu as default, cc as createChatClient };
|
|
10130
10160
|
|
|
10131
10161
|
//# sourceMappingURL=vue-bcc-chat-ui.js.map
|