@bcc-code/vue-bcc-chat-ui 7.0.41 → 7.0.43
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
|
@@ -7306,8 +7306,8 @@ var gu = ["data-testid", "onClick"], _u = { class: "composer-actions-menu__icon"
|
|
|
7306
7306
|
focusEditor: de,
|
|
7307
7307
|
hideComposerActions: H
|
|
7308
7308
|
});
|
|
7309
|
-
function fe(e = "file") {
|
|
7310
|
-
_.value = e, f.value?.click();
|
|
7309
|
+
async function fe(e = "file") {
|
|
7310
|
+
_.value = e, await m(), f.value?.click();
|
|
7311
7311
|
}
|
|
7312
7312
|
function pe(e) {
|
|
7313
7313
|
g.value = e.target.files?.[0] ?? null, H();
|
|
@@ -7531,7 +7531,7 @@ var gu = ["data-testid", "onClick"], _u = { class: "composer-actions-menu__icon"
|
|
|
7531
7531
|
])
|
|
7532
7532
|
], 2));
|
|
7533
7533
|
}
|
|
7534
|
-
}), [["__scopeId", "data-v-
|
|
7534
|
+
}), [["__scopeId", "data-v-7915ccc8"]]), $u = {
|
|
7535
7535
|
key: 1,
|
|
7536
7536
|
class: "composer-readonly-notice"
|
|
7537
7537
|
}, ed = /* @__PURE__ */ bu(/* @__PURE__ */ u({
|
|
@@ -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) {
|