@bcc-code/vue-bcc-chat-ui 7.0.41 → 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.
@@ -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-sm max-h-96 max-w-96",
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, ["src", "alt"])) : n.kind === "video" && n.url ? (x(), a("div", {
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-c82e820d"]]), pf = { class: "message-status" }, mf = { key: 0 }, hf = /* @__PURE__ */ bu(/* @__PURE__ */ u({
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) {