@bcc-code/vue-bcc-chat-ui 7.0.40 → 7.0.42
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 +15 -6
- package/dist/vue-bcc-chat-ui.js.map +1 -1
- package/package.json +1 -1
package/dist/vue-bcc-chat-ui.js
CHANGED
|
@@ -8322,10 +8322,19 @@ var fd = { class: "w-full" }, pd = {
|
|
|
8322
8322
|
key: 0,
|
|
8323
8323
|
preview: "",
|
|
8324
8324
|
src: n.url,
|
|
8325
|
+
imgs: t.message.attachments.filter((e) => n.url && e.kind === "image" || e.kind === "video").map((e) => ({
|
|
8326
|
+
src: e.url,
|
|
8327
|
+
alt: e.name,
|
|
8328
|
+
type: e.kind
|
|
8329
|
+
})),
|
|
8325
8330
|
alt: n.name,
|
|
8326
|
-
"image-class": "bg-elevation-surface-raised-default object-contain rounded-
|
|
8331
|
+
"image-class": "bg-elevation-surface-raised-default object-contain rounded-lg max-h-96 max-w-96",
|
|
8327
8332
|
class: "mx-auto rounded-lg"
|
|
8328
|
-
}, null, 8, [
|
|
8333
|
+
}, null, 8, [
|
|
8334
|
+
"src",
|
|
8335
|
+
"imgs",
|
|
8336
|
+
"alt"
|
|
8337
|
+
])) : n.kind === "video" && n.url ? (x(), a("div", {
|
|
8329
8338
|
key: 1,
|
|
8330
8339
|
class: "attachment-media-bleed media-surface attachment-media-frame group relative rounded-xl",
|
|
8331
8340
|
style: _(h(n))
|
|
@@ -8365,7 +8374,7 @@ var fd = { class: "w-full" }, pd = {
|
|
|
8365
8374
|
"text-class": "whitespace-normal wrap-break-word body-md text-default"
|
|
8366
8375
|
}, null, 8, ["text", "is-own"])) : i("", !0)]));
|
|
8367
8376
|
}
|
|
8368
|
-
}), [["__scopeId", "data-v-
|
|
8377
|
+
}), [["__scopeId", "data-v-874b5126"]]), pf = { class: "message-status" }, mf = { key: 0 }, hf = /* @__PURE__ */ bu(/* @__PURE__ */ u({
|
|
8369
8378
|
__name: "MessageDeliveryStatus",
|
|
8370
8379
|
props: { message: {} },
|
|
8371
8380
|
setup(e) {
|
|
@@ -8912,7 +8921,7 @@ var fd = { class: "w-full" }, pd = {
|
|
|
8912
8921
|
return e === 0 ? !0 : de(t[e].sentAt, t[e - 1].sentAt);
|
|
8913
8922
|
}
|
|
8914
8923
|
return (t, n) => (x(), a(e, null, [
|
|
8915
|
-
o("section", { class: h(["message-list-root
|
|
8924
|
+
o("section", { class: h(["message-list-root", [t.$attrs.class, te.value ? "message-list--embedded-thread" : P.value ? "message-list--thread" : "message-list--main"]]) }, [y.value ? T(t.$slots, "header", {
|
|
8916
8925
|
key: 0,
|
|
8917
8926
|
conversation: A(u).conversation.value,
|
|
8918
8927
|
parentMessage: _.value,
|
|
@@ -8929,7 +8938,7 @@ var fd = { class: "w-full" }, pd = {
|
|
|
8929
8938
|
}, [o("div", {
|
|
8930
8939
|
ref_key: "threadRef",
|
|
8931
8940
|
ref: ne,
|
|
8932
|
-
class: h(["message-list__scroll min-h-0 flex-1
|
|
8941
|
+
class: h(["message-list__scroll min-h-0 flex-1", te.value ? "p-0" : P.value ? "px-5 py-4" : "px-2 pt-2 pb-3"]),
|
|
8933
8942
|
onScroll: n[2] ||= (...e) => A(I) && A(I)(...e)
|
|
8934
8943
|
}, [o("div", cp, [
|
|
8935
8944
|
_.value ? (x(), a("div", lp, [o("p", up, O(_.value.senderName), 1), o("p", dp, O(A(No)(_.value)), 1)])) : i("", !0),
|
|
@@ -8990,7 +8999,7 @@ var fd = { class: "w-full" }, pd = {
|
|
|
8990
8999
|
])
|
|
8991
9000
|
], 64));
|
|
8992
9001
|
}
|
|
8993
|
-
}), [["__scopeId", "data-v-
|
|
9002
|
+
}), [["__scopeId", "data-v-891ae575"]]), mp = { class: "receipt-section" }, hp = { class: "receipt-section__header" }, gp = { class: "text-heading-sm text-default" }, _p = { class: "body-sm text-subtlest" }, vp = {
|
|
8994
9003
|
key: 0,
|
|
8995
9004
|
class: "space-y-2"
|
|
8996
9005
|
}, yp = { class: "flex min-w-0 items-center gap-3" }, bp = { class: "min-w-0" }, xp = { class: "heading-sm text-default truncate" }, Sp = { class: "body-sm text-subtle truncate" }, Cp = { class: "body-sm text-subtle shrink-0" }, wp = {
|