@bcc-code/vue-bcc-chat-ui 7.1.19 → 7.1.21

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/index.d.ts CHANGED
@@ -14,6 +14,12 @@ import { WritableComputedRef } from 'vue';
14
14
 
15
15
  declare const __VLS_base: DefineComponent<__VLS_Props, {
16
16
  scrollToMessage: typeof scrollToMessage_2;
17
+ groupMembers: ComputedRef<{
18
+ uid: string;
19
+ displayName: string;
20
+ avatar: string;
21
+ role: string;
22
+ }[]>;
17
23
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
18
24
  chatMembersFetched: (members: ParticipantInfo[]) => any;
19
25
  chatEmpty: () => any;
@@ -191,6 +197,7 @@ declare const chat: {
191
197
  getChatMembersInfo: typeof getChatMembersInfo;
192
198
  getUserChats: typeof getUserChats;
193
199
  clearChatCount: typeof clearChatCount;
200
+ refreshVisibleMessages: () => Promise<void> | undefined;
194
201
  getChatOnlineCount: typeof getChatOnlineCount;
195
202
  searchChat: (searchQuery: string, limit?: number) => SearchedItems | undefined;
196
203
  getSenderDisplayName: typeof getSenderDisplayName;
@@ -6201,6 +6201,7 @@ var gu = {
6201
6201
  getChatMembersInfo: dl,
6202
6202
  getUserChats: uu,
6203
6203
  clearChatCount: du,
6204
+ refreshVisibleMessages: () => Q.value?.refreshVisibleMessages(),
6204
6205
  getChatOnlineCount: fu,
6205
6206
  searchChat: (e, t = 25) => ul(e, t, Q.value?.currentUser.value?.uid),
6206
6207
  getSenderDisplayName: ll,
@@ -9798,7 +9799,10 @@ var uf = { class: "w-full" }, df = {
9798
9799
  async function H(e) {
9799
9800
  return await new Promise((e) => setTimeout(e, 100)), se.value ? ie(e) : (await new Promise((e) => setTimeout(e, 110)), H(e));
9800
9801
  }
9801
- return o({ scrollToMessage: H }), (n, o) => (S(), a("div", {
9802
+ return o({
9803
+ scrollToMessage: H,
9804
+ groupMembers: n(() => A.value)
9805
+ }), (n, o) => (S(), a("div", {
9802
9806
  ref_key: "chatRootRef",
9803
9807
  ref: v,
9804
9808
  class: "text-default relative h-full min-h-104"