@bcc-code/vue-bcc-chat-ui 7.0.14 → 7.0.15
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/vue-bcc-chat-ui.js
CHANGED
|
@@ -9751,13 +9751,7 @@ const w1 = { class: "fullscreen-dialog__content" }, A1 = {
|
|
|
9751
9751
|
},
|
|
9752
9752
|
emits: ["toggleReaction", "openThread"],
|
|
9753
9753
|
setup(e, { emit: t }) {
|
|
9754
|
-
const u = e, n = t, { t: a } = Le();
|
|
9755
|
-
function r() {
|
|
9756
|
-
return a("threadReplies", { count: u.message.replyCount });
|
|
9757
|
-
}
|
|
9758
|
-
function o() {
|
|
9759
|
-
return u.canOpenThread !== !1 && u.message.replyCount > 0;
|
|
9760
|
-
}
|
|
9754
|
+
const u = e, n = t, { t: a } = Le(), r = N(() => a("threadReplies", { count: u.message.replyCount })), o = N(() => u.canOpenThread !== !1 && u.message.replyCount > 0);
|
|
9761
9755
|
return (i, s) => (M(), F("div", $2, [
|
|
9762
9756
|
ie(P2, {
|
|
9763
9757
|
message: e.message,
|
|
@@ -9765,12 +9759,12 @@ const w1 = { class: "fullscreen-dialog__content" }, A1 = {
|
|
|
9765
9759
|
compact: "",
|
|
9766
9760
|
onToggle: s[0] || (s[0] = (l) => n("toggleReaction", l))
|
|
9767
9761
|
}, null, 8, ["message", "disabled"]),
|
|
9768
|
-
o
|
|
9762
|
+
o.value ? (M(), F("button", {
|
|
9769
9763
|
key: 0,
|
|
9770
9764
|
type: "button",
|
|
9771
9765
|
class: "message-reactions__thread-button inline-flex items-center gap-1 rounded-full px-1 py-0 font-medium text-subtle transition hover:text-default",
|
|
9772
|
-
"aria-label": r
|
|
9773
|
-
title: r
|
|
9766
|
+
"aria-label": r.value,
|
|
9767
|
+
title: r.value,
|
|
9774
9768
|
onClick: s[1] || (s[1] = Vu((l) => n("openThread"), ["stop"]))
|
|
9775
9769
|
}, [
|
|
9776
9770
|
(M(), ne(rt(v(wi)), {
|