tuikit-atomicx-vue3 4.5.1 → 4.5.2

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.
Files changed (122) hide show
  1. package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-jPzZ5INK.js → MessageInput.vue_vue_type_script_setup_true_lang-3RVYOdkv.js} +38 -38
  2. package/dist/{PopoverPortal-DghpKKm8.js → PopoverPortal-DV6zFXcf.js} +3 -3
  3. package/dist/{PopoverTrigger-BajjNkGO.js → PopoverTrigger-DIjW4PKa.js} +4 -4
  4. package/dist/{PopperContent-SLoFuK7k.js → PopperContent-D__dbwpA.js} +1 -1
  5. package/dist/{Teleport-DFrneqLM.js → Teleport-98QrIYDI.js} +278 -268
  6. package/dist/baseComp/Modal/Modal.js +3 -3
  7. package/dist/components/AudioSettingPanel/index.js +14 -14
  8. package/dist/components/BarrageInput/EmojiPicker/EmojiPicker.js +2 -2
  9. package/dist/components/BarrageInput/TextEditor/CharacterCountExtension.js +1 -1
  10. package/dist/components/BarrageInput/TextEditor/EditorCore.js +4 -4
  11. package/dist/components/ConversationList/ConversationActions/ConversationActions.js +53 -50
  12. package/dist/components/ConversationList/ConversationActions/ConversationActions.vue.d.ts +2 -0
  13. package/dist/components/ConversationList/ConversationCreate/ConversationCreate.js +25 -25
  14. package/dist/components/ConversationList/ConversationList.vue.d.ts +16 -0
  15. package/dist/components/ConversationList/ConversationPreview/ConversationPreview.vue.d.ts +16 -0
  16. package/dist/components/ConversationList/ConversationPreview/ConversationPreviewAbstract.js +18 -18
  17. package/dist/components/ConversationList/ConversationPreview/ConversationPreviewTimestamp.js +13 -13
  18. package/dist/components/ConversationList/ConversationPreview/ConversationPreviewTitle.js +11 -11
  19. package/dist/components/ConversationList/ConversationPreview/ConversationPreviewUI.js +84 -75
  20. package/dist/components/ConversationList/ConversationPreview/ConversationPreviewUI.vue.d.ts +4 -0
  21. package/dist/components/ConversationList/ConversationPreview/ConversationPreviewUnread.js +14 -14
  22. package/dist/components/ConversationList/i18n/en-US.d.ts +1 -0
  23. package/dist/components/ConversationList/i18n/en-US.js +2 -1
  24. package/dist/components/ConversationList/i18n/zh-CN.d.ts +1 -0
  25. package/dist/components/ConversationList/i18n/zh-CN.js +2 -1
  26. package/dist/components/ConversationList/index.d.ts +48 -0
  27. package/dist/components/LiveScenePanel/index.js +9 -10
  28. package/dist/components/MessageInput/AttachmentPicker/index.js +2 -2
  29. package/dist/components/MessageInput/EmojiPicker/EmojiPicker.js +2 -2
  30. package/dist/components/MessageInput/MessageInput.js +1 -1
  31. package/dist/components/MessageInput/TextEditor/EditorCore.js +1 -1
  32. package/dist/components/MessageInput/TextEditor/extensions/MentionSuggestion.js +3 -3
  33. package/dist/components/MessageInput/TextEditor/extensions/characterCountExtension.js +1 -1
  34. package/dist/components/MessageInput/TextEditor/extensions/emojiExtension.js +1 -1
  35. package/dist/components/MessageInput/TextEditor/extensions/enterKeyExtension.js +1 -1
  36. package/dist/components/MessageInput/TextEditor/extensions/imageExtension.js +2 -2
  37. package/dist/components/MessageInput/TextEditor/extensions/mentionExtension.js +2 -2
  38. package/dist/components/MessageInput/TextEditor/index.js +1 -1
  39. package/dist/components/MessageInput/index.js +1 -1
  40. package/dist/components/MessageList/Message/MessageLayout/MessageActionDropdown/MessageActionDropdown.js +3 -3
  41. package/dist/components/MessageList/Message/MessageLayout/MessageMeta/MessageMeta.js +37 -28
  42. package/dist/components/MessageList/MessageList.js +77 -67
  43. package/dist/components/ScheduleRoomPanel/RoomDetail.js +22 -22
  44. package/dist/components/ScheduleRoomPanel/RoomEdit.js +1 -1
  45. package/dist/components/ScheduleRoomPanel/RoomShare.js +4 -4
  46. package/dist/components/ScheduleRoomPanel/ScheduleRoomPanel.js +1 -1
  47. package/dist/components/ScheduleRoomPanel/ScheduledRoomList.js +1 -1
  48. package/dist/components/UIKitModal/chatErrorModal/chatErrorModal.d.ts +72 -0
  49. package/dist/components/UIKitModal/chatErrorModal/chatErrorModal.js +95 -0
  50. package/dist/components/UIKitModal/chatErrorModal/i18n/en-US/index.d.ts +40 -0
  51. package/dist/components/UIKitModal/chatErrorModal/i18n/en-US/index.js +51 -0
  52. package/dist/components/UIKitModal/chatErrorModal/i18n/index.d.ts +4 -0
  53. package/dist/components/UIKitModal/chatErrorModal/i18n/index.js +6 -0
  54. package/dist/components/UIKitModal/chatErrorModal/i18n/zh-CN/index.d.ts +40 -0
  55. package/dist/components/UIKitModal/chatErrorModal/i18n/zh-CN/index.js +51 -0
  56. package/dist/components/UIKitModal/chatErrorModal/index.d.ts +3 -0
  57. package/dist/components/UIKitModal/chatErrorModal/index.js +11 -0
  58. package/dist/components/VideoSettingPanel/index.js +1 -1
  59. package/dist/hooks/useReadReceipt/useReadReceipt.js +44 -41
  60. package/dist/index-CTthrJb2.js +1461 -0
  61. package/dist/{index-CzCDLp99.js → index-DXC5bPY4.js} +32 -32
  62. package/dist/{index-C8Jw_xE4.js → index-DuAffztD.js} +1731 -1648
  63. package/dist/{index-CiYL_XsE.js → index-hHVD-MG2.js} +1 -1
  64. package/dist/index.js +59 -58
  65. package/dist/states/GroupSettingState/GroupSettingState.js +109 -102
  66. package/dist/states/LoginState.js +43 -43
  67. package/dist/states/MessageInputState/MessageInputState.js +75 -78
  68. package/dist/states/MessageListState/MessageListState.js +26 -23
  69. package/dist/states/RoomParticipantState/index.js +83 -24
  70. package/dist/states/RoomParticipantState/participantEventManager.d.ts +2 -2
  71. package/dist/states/RoomParticipantState/participantEventManager.js +217 -205
  72. package/dist/states/RoomParticipantState/participantManager.d.ts +4 -0
  73. package/dist/states/RoomParticipantState/participantManager.js +159 -127
  74. package/dist/states/RoomState/callManager.d.ts +3 -3
  75. package/dist/states/RoomState/callManager.js +20 -20
  76. package/dist/states/RoomState/common.d.ts +3 -2
  77. package/dist/states/RoomState/common.js +34 -24
  78. package/dist/states/RoomState/roomManager.d.ts +0 -1
  79. package/dist/states/RoomState/roomManager.js +21 -27
  80. package/dist/states/RoomState/scheduleManager.js +2 -2
  81. package/dist/styles/index.css +1 -1
  82. package/dist/subEntry/chat/chat.d.ts +48 -0
  83. package/dist/subEntry/live/index.js +46 -45
  84. package/dist/subEntry/room/index.js +39 -38
  85. package/dist/types/beauty.d.ts +20 -0
  86. package/dist/types/index.js +37 -36
  87. package/dist/types/participant.d.ts +2 -0
  88. package/dist/types/room.d.ts +45 -1
  89. package/dist/types/room.js +4 -3
  90. package/dist/{useId-D5WE76CM.js → useId-B1VwPJLm.js} +1 -1
  91. package/dist/utils/call.js +77 -71
  92. package/dist/{utils-CttDpxqz.js → utils-BU8IkP_V.js} +1 -1
  93. package/package.json +5 -6
  94. package/src/components/AudioSettingPanel/index.vue +4 -5
  95. package/src/components/ConversationList/ConversationActions/ConversationActions.vue +7 -1
  96. package/src/components/ConversationList/ConversationCreate/ConversationCreate.vue +5 -1
  97. package/src/components/ConversationList/ConversationList.vue +0 -1
  98. package/src/components/ConversationList/ConversationPreview/ConversationPreview.scss +2 -2
  99. package/src/components/ConversationList/ConversationPreview/ConversationPreviewUI.vue +15 -0
  100. package/src/components/ConversationList/i18n/en-US.ts +1 -0
  101. package/src/components/ConversationList/i18n/zh-CN.ts +1 -0
  102. package/src/components/LiveScenePanel/index.vue +0 -1
  103. package/src/components/MessageInput/MessageInput.module.scss +1 -0
  104. package/src/components/MessageList/Message/MessageLayout/MessageMeta/MessageMeta.vue +12 -3
  105. package/src/components/MessageList/MessageList.vue +14 -0
  106. package/src/components/ScheduleRoomPanel/RoomDetail.vue +1 -0
  107. package/src/components/ScheduleRoomPanel/RoomEdit.vue +2 -1
  108. package/src/components/ScheduleRoomPanel/RoomShare.vue +1 -0
  109. package/src/components/ScheduleRoomPanel/ScheduleRoomPanel.vue +1 -0
  110. package/src/components/ScheduleRoomPanel/ScheduledRoomList.vue +1 -0
  111. package/src/components/UIKitModal/chatErrorModal/chatErrorModal.ts +205 -0
  112. package/src/components/UIKitModal/chatErrorModal/i18n/en-US/index.ts +56 -0
  113. package/src/components/UIKitModal/chatErrorModal/i18n/index.ts +4 -0
  114. package/src/components/UIKitModal/chatErrorModal/i18n/zh-CN/index.ts +56 -0
  115. package/src/components/UIKitModal/chatErrorModal/index.ts +16 -0
  116. package/src/components/VideoSettingPanel/index.vue +1 -0
  117. package/src/hooks/useReadReceipt/useReadReceipt.ts +5 -4
  118. package/src/types/beauty.ts +20 -0
  119. package/src/types/participant.ts +3 -0
  120. package/src/types/room.ts +49 -1
  121. package/src/utils/call.ts +8 -0
  122. package/dist/index-BvFYOUyz.js +0 -2936
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as g, ref as E, toRefs as P, renderSlot as _, unref as t, onMounted as A, createBlock as v, openBlock as m, withCtx as f, createVNode as C, mergeProps as y, createCommentVNode as h, normalizeProps as $, guardReactiveProps as T, normalizeClass as R } from "vue";
2
- import { a as k, c as N, u as D, g as I, F as S, D as L, f as q, d as K, e as F, b as V, P as U, T as W } from "../../Teleport-DFrneqLM.js";
3
- import { u as w } from "../../useId-D5WE76CM.js";
4
- import { g as z } from "../../utils-CttDpxqz.js";
2
+ import { a as k, c as N, u as D, g as I, F as S, D as L, f as q, d as K, e as F, b as V, P as U, T as W } from "../../Teleport-98QrIYDI.js";
3
+ import { u as w } from "../../useId-B1VwPJLm.js";
4
+ import { g as z } from "../../utils-BU8IkP_V.js";
5
5
  import { _ as G } from "../../_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  const [O, H] = N("DialogRoot");
7
7
  var j = /* @__PURE__ */ g({
@@ -1,7 +1,7 @@
1
1
  import { addI18n as B } from "../../i18n/index.js";
2
2
  import { resource as $ } from "./i18n/en-US/index.js";
3
3
  import { resource as q } from "./i18n/zh-CN/index.js";
4
- import { defineComponent as F, ref as _, computed as g, watch as k, createElementBlock as a, openBlock as l, createElementVNode as t, createCommentVNode as u, toDisplayString as o, unref as e, createVNode as m, createBlock as b, withCtx as y, createTextVNode as A, Fragment as j, renderList as G, normalizeClass as H } from "vue";
4
+ import { defineComponent as F, ref as _, computed as g, watch as k, createElementBlock as n, openBlock as l, createElementVNode as t, createCommentVNode as u, toDisplayString as o, unref as e, createVNode as m, createBlock as b, withCtx as y, createTextVNode as A, Fragment as j, renderList as G, normalizeClass as H } from "vue";
5
5
  import { useUIKit as J, TUIButton as P, TUISlider as x } from "@tencentcloud/uikit-base-component-vue3";
6
6
  import Q from "./MicrophoneSelect.js";
7
7
  import W from "./SpeakerSelect.js";
@@ -10,10 +10,10 @@ import { _ as Y } from "../../_plugin-vue_export-helper-CHgC5LLL.js";
10
10
  const Z = { class: "audio-setting-tab" }, ee = { class: "item-setting" }, te = { class: "title" }, se = { class: "flex" }, oe = {
11
11
  key: 0,
12
12
  class: "item-setting"
13
- }, le = { class: "title" }, ie = { class: "mic-bar-container" }, ae = {
13
+ }, le = { class: "title" }, ie = { class: "mic-bar-container" }, ne = {
14
14
  key: 1,
15
15
  class: "item-setting"
16
- }, ne = { class: "title" }, ue = { class: "flex" }, ce = { class: "volume-value" }, re = { class: "item-setting" }, de = { class: "title" }, me = { class: "flex" }, pe = {
16
+ }, ae = { class: "title" }, ue = { class: "flex" }, ce = { class: "volume-value" }, re = { class: "item-setting" }, de = { class: "title" }, me = { class: "flex" }, pe = {
17
17
  key: 2,
18
18
  class: "item-setting"
19
19
  }, ve = { class: "title" }, Ve = { class: "flex" }, _e = { class: "volume-value" }, fe = /* @__PURE__ */ F({
@@ -62,11 +62,11 @@ const Z = { class: "audio-setting-tab" }, ee = { class: "item-setting" }, te = {
62
62
  h.value ? R() : L({ filePath: "https://web.sdk.qcloud.com/trtc/electron/download/resources/media/TestSpeaker.mp3" });
63
63
  }
64
64
  const p = _(28), D = g(() => c.value ? E.value * p.value / 100 : w.value * p.value / 100), O = g(() => C.micTestVisible ? c.value : !0), v = _(f.value), V = _(S.value);
65
- return k(v, async (n) => {
66
- await I(n);
67
- }), k(V, async (n) => {
68
- await M(n);
69
- }), (n, r) => (l(), a("div", Z, [
65
+ return k(v, async (a) => {
66
+ await I(a);
67
+ }), k(V, async (a) => {
68
+ await M(a);
69
+ }), (a, r) => (l(), n("div", Z, [
70
70
  t("div", ee, [
71
71
  t("span", te, o(e(s)("AudioSettingPanel.Microphone")), 1),
72
72
  t("div", se, [
@@ -82,10 +82,10 @@ const Z = { class: "audio-setting-tab" }, ee = { class: "item-setting" }, te = {
82
82
  })) : u("", !0)
83
83
  ])
84
84
  ]),
85
- i.inputVolumeLevelVisible ? (l(), a("div", oe, [
85
+ i.inputVolumeLevelVisible ? (l(), n("div", oe, [
86
86
  t("span", le, o(e(s)("AudioSettingPanel.InputLevel")), 1),
87
87
  t("div", ie, [
88
- (l(!0), a(j, null, G(new Array(p.value).fill(""), (d, T) => (l(), a("div", {
88
+ (l(!0), n(j, null, G(new Array(p.value).fill(""), (d, T) => (l(), n("div", {
89
89
  key: T,
90
90
  class: H([
91
91
  "mic-bar",
@@ -94,8 +94,8 @@ const Z = { class: "audio-setting-tab" }, ee = { class: "item-setting" }, te = {
94
94
  }, null, 2))), 128))
95
95
  ])
96
96
  ])) : u("", !0),
97
- i.inputVolumeVisible ? (l(), a("div", ae, [
98
- t("span", ne, o(e(s)("AudioSettingPanel.InputVolume")), 1),
97
+ i.inputVolumeVisible ? (l(), n("div", ne, [
98
+ t("span", ae, o(e(s)("AudioSettingPanel.InputVolume")), 1),
99
99
  t("div", ue, [
100
100
  m(e(x), {
101
101
  modelValue: v.value,
@@ -125,7 +125,7 @@ const Z = { class: "audio-setting-tab" }, ee = { class: "item-setting" }, te = {
125
125
  })) : u("", !0)
126
126
  ])
127
127
  ]),
128
- i.outputVolumeVisible ? (l(), a("div", pe, [
128
+ i.outputVolumeVisible ? (l(), n("div", pe, [
129
129
  t("span", ve, o(e(s)("AudioSettingPanel.OutputVolume")), 1),
130
130
  t("div", Ve, [
131
131
  m(e(x), {
@@ -140,7 +140,7 @@ const Z = { class: "audio-setting-tab" }, ee = { class: "item-setting" }, te = {
140
140
  ])) : u("", !0)
141
141
  ]));
142
142
  }
143
- }), Se = /* @__PURE__ */ Y(fe, [["__scopeId", "data-v-6cabe0da"]]);
143
+ }), Se = /* @__PURE__ */ Y(fe, [["__scopeId", "data-v-5b1de05d"]]);
144
144
  B("en-US", { translation: $ });
145
145
  B("zh-CN", { translation: q });
146
146
  const Be = Se;
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as j, onMounted as x, createElementBlock as a, openBlock as c, createVNode as o, unref as e, withCtx as r, normalizeClass as i, normalizeStyle as v, createElementVNode as _, Fragment as b, renderList as E } from "vue";
2
2
  import { useUIKit as y, IconEmoji as P } from "@tencentcloud/uikit-base-component-vue3";
3
- import { P as C, a as h, b as I } from "../../../PopoverPortal-DghpKKm8.js";
4
- import { P as z } from "../../../PopoverTrigger-BajjNkGO.js";
3
+ import { P as C, a as h, b as I } from "../../../PopoverPortal-DV6zFXcf.js";
4
+ import { P as z } from "../../../PopoverTrigger-DIjW4PKa.js";
5
5
  import { emojiUrlMap as l, emojiBaseUrl as m } from "../../../constants/emoji.js";
6
6
  import { transformTextWithEmojiKeyToName as M } from "../../../utils/emoji.js";
7
7
  import { useMessageInputState as T } from "../MessageInputState.js";
@@ -1,4 +1,4 @@
1
- import { E as l, P as h, a as f } from "../../../index-C8Jw_xE4.js";
1
+ import { E as l, P as h, a as f } from "../../../index-DuAffztD.js";
2
2
  const m = l.create({
3
3
  name: "characterCount",
4
4
  addOptions() {
@@ -1,9 +1,9 @@
1
- import { I as u } from "../../../index-CiYL_XsE.js";
2
- import { S as g, P as x } from "../../../index-BvFYOUyz.js";
3
- import { E as p } from "../../../index-CzCDLp99.js";
1
+ import { I as u } from "../../../index-hHVD-MG2.js";
2
+ import { S as g, P as x } from "../../../index-CTthrJb2.js";
3
+ import { E as p } from "../../../index-DXC5bPY4.js";
4
4
  import { isMobile as y } from "../../../utils/environment.js";
5
5
  import { CharacterCount as M } from "./CharacterCountExtension.js";
6
- import { E as T } from "../../../index-C8Jw_xE4.js";
6
+ import { E as T } from "../../../index-DuAffztD.js";
7
7
  import { MessageContentType as a } from "../../../states/MessageInputState/type.js";
8
8
  function b() {
9
9
  return u.extend({
@@ -1,10 +1,10 @@
1
- import { defineComponent as g, ref as k, computed as D, watch as f, createElementBlock as r, openBlock as a, normalizeStyle as z, normalizeClass as l, unref as u, createBlock as $, withModifiers as E, Fragment as b, renderList as U, toDisplayString as h, withCtx as M, createElementVNode as B, createVNode as q } from "vue";
1
+ import { defineComponent as D, ref as k, computed as z, watch as b, createElementBlock as c, openBlock as a, normalizeStyle as $, normalizeClass as l, unref as v, createBlock as E, withModifiers as V, Fragment as h, renderList as f, toDisplayString as U, withCtx as M, createElementVNode as B, createVNode as q } from "vue";
2
2
  import N from "@tencentcloud/chat-uikit-engine";
3
- import { useUIKit as S, TUIDropdown as R, IconEllipsis as V } from "@tencentcloud/uikit-base-component-vue3";
3
+ import { useUIKit as S, TUIDropdown as w, IconEllipsis as R } from "@tencentcloud/uikit-base-component-vue3";
4
4
  import { isH5 as C } from "../../../utils/env.js";
5
5
  import { useConversationListState as L } from "../../../states/ConversationListState/ConversationListState.js";
6
6
  import { _ as K } from "../../../_plugin-vue_export-helper-CHgC5LLL.js";
7
- const O = ["onClick"], Y = ["onClick"], j = /* @__PURE__ */ g({
7
+ const O = ["onClick"], Y = ["onClick"], j = /* @__PURE__ */ D({
8
8
  __name: "ConversationActions",
9
9
  props: {
10
10
  conversation: {},
@@ -24,123 +24,126 @@ const O = ["onClick"], Y = ["onClick"], j = /* @__PURE__ */ g({
24
24
  enableDelete: { type: Boolean, default: !0 },
25
25
  enableMarkUnread: { type: Boolean, default: !0 }
26
26
  },
27
- emits: ["click", "close", "markConversationUnread", "conversationPin", "conversationMute", "conversationDelete"],
27
+ emits: ["click", "close", "dropdownVisibleChange", "markConversationUnread", "conversationPin", "conversationMute", "conversationDelete"],
28
28
  setup(_, { emit: y }) {
29
- const o = _, c = y, { t: i } = S(), { markConversationUnread: I } = L(), v = k(!0), d = k({}), p = D(() => Object.entries(d.value).filter(([, e]) => e.enable !== !1).reduce((e, [n, t]) => (e[n] = t, e), {})), P = () => ({
29
+ const o = _, r = y, { t: s } = S(), { markConversationUnread: g } = L(), u = k(!0), d = k({}), p = z(() => Object.entries(d.value).filter(([, e]) => e.enable !== !1).reduce((e, [n, t]) => (e[n] = t, e), {})), I = () => ({
30
30
  pin: {
31
31
  enable: !!o.enablePin,
32
- label: o.conversation.isPinned ? i("TUIConversation.Unpin") : i("TUIConversation.Pin"),
32
+ label: o.conversation.isPinned ? s("TUIConversation.Unpin") : s("TUIConversation.Pin"),
33
33
  onClick: (e, n) => {
34
- e.pinConversation(), c("conversationPin", e, n);
34
+ e.pinConversation(), r("conversationPin", e, n);
35
35
  }
36
36
  },
37
37
  mute: {
38
38
  enable: !!o.enableMute,
39
- label: o.conversation.isMuted ? i("TUIConversation.Unmute") : i("TUIConversation.Mute"),
39
+ label: o.conversation.isMuted ? s("TUIConversation.Unmute") : s("TUIConversation.Mute"),
40
40
  onClick: (e, n) => {
41
- e.muteConversation(), c("conversationMute", e, n);
41
+ e.muteConversation(), r("conversationMute", e, n);
42
42
  }
43
43
  },
44
44
  markUnread: {
45
45
  enable: !!o.enableMarkUnread,
46
- label: v.value ? i("TUIConversation.MarkRead") : i("TUIConversation.MarkUnRead"),
46
+ label: u.value ? s("TUIConversation.MarkRead") : s("TUIConversation.MarkUnRead"),
47
47
  onClick: (e, n) => {
48
- I(e.conversationID, !v.value), c("markConversationUnread", e, n);
48
+ g(e.conversationID, !u.value), r("markConversationUnread", e, n);
49
49
  }
50
50
  },
51
51
  delete: {
52
52
  enable: !!o.enableDelete,
53
- label: i("TUIConversation.Delete"),
53
+ label: s("TUIConversation.Delete"),
54
54
  onClick: (e, n) => {
55
- e.deleteConversation(), c("conversationDelete", e, n);
55
+ e.deleteConversation(), r("conversationDelete", e, n);
56
56
  }
57
57
  }
58
58
  });
59
- f(
59
+ b(
60
60
  () => o.conversation,
61
61
  (e) => {
62
62
  var n;
63
63
  if (e.unreadCount > 0)
64
- v.value = !0;
64
+ u.value = !0;
65
65
  else {
66
- const t = N.TYPES.CONV_MARK_TYPE_UNREAD, s = (n = e == null ? void 0 : e.markList) == null ? void 0 : n.includes(t);
67
- v.value = s;
66
+ const t = N.TYPES.CONV_MARK_TYPE_UNREAD, i = (n = e == null ? void 0 : e.markList) == null ? void 0 : n.includes(t);
67
+ u.value = i;
68
68
  }
69
69
  },
70
70
  { immediate: !0 }
71
- ), f(
71
+ ), b(
72
72
  [() => o.conversation, () => o.customConversationActions],
73
73
  ([e, n]) => {
74
74
  d.value = {
75
- ...P(),
75
+ ...I(),
76
76
  ...n || {}
77
77
  };
78
78
  },
79
79
  { immediate: !0, deep: !0 }
80
80
  );
81
81
  const A = (e, n) => {
82
- c("click", e, n, o.conversation);
82
+ r("click", e, n, o.conversation);
83
83
  const t = d.value[n];
84
84
  t && t.onClick(o.conversation, e), o.onClose && o.onClose();
85
- }, T = (e) => {
85
+ }, P = (e) => {
86
86
  e.stopPropagation(), e.target === e.currentTarget && C && o.onClose && o.onClose();
87
+ }, T = (e) => {
88
+ r("dropdownVisibleChange", e);
87
89
  };
88
- return (e, n) => (a(), r("div", {
90
+ return (e, n) => (a(), c("div", {
89
91
  class: l([e.$style.conversationActions, {
90
- [e.$style.conversationActions__h5]: u(C)
92
+ [e.$style.conversationActions__h5]: v(C)
91
93
  }, _.className]),
92
- style: z(_.style),
93
- onClick: T
94
+ style: $(_.style),
95
+ onClick: P
94
96
  }, [
95
- u(C) ? (a(), r("div", {
97
+ v(C) ? (a(), c("div", {
96
98
  key: 0,
97
99
  class: l(e.$style.conversationActions__h5__container),
98
- onClick: n[0] || (n[0] = E(() => {
100
+ onClick: n[0] || (n[0] = V(() => {
99
101
  }, ["stop"]))
100
102
  }, [
101
- (a(!0), r(b, null, U(p.value, (t, s) => (a(), r("div", {
102
- key: s,
103
+ (a(!0), c(h, null, f(p.value, (t, i) => (a(), c("div", {
104
+ key: i,
103
105
  class: l([e.$style.conversationActions__item, {
104
- [e.$style["conversationActions__item--delete"]]: s === "delete"
106
+ [e.$style["conversationActions__item--delete"]]: i === "delete"
105
107
  }]),
106
- onClick: (m) => A(m, s)
107
- }, h(t.label), 11, O))), 128))
108
- ], 2)) : (a(), $(u(R), {
108
+ onClick: (m) => A(m, i)
109
+ }, U(t.label), 11, O))), 128))
110
+ ], 2)) : (a(), E(v(w), {
109
111
  key: 1,
110
112
  trigger: "click",
111
- teleported: !1,
112
- placement: "bottom-end"
113
+ teleported: !0,
114
+ placement: "bottom-end",
115
+ onVisibleChange: T
113
116
  }, {
114
117
  dropdown: M(() => [
115
- (a(!0), r(b, null, U(p.value, (t, s) => (a(), r("div", {
116
- key: s,
118
+ (a(!0), c(h, null, f(p.value, (t, i) => (a(), c("div", {
119
+ key: i,
117
120
  class: l([e.$style.conversationActions__item, {
118
- [e.$style["conversationActions__item--delete"]]: s === "delete"
121
+ [e.$style["conversationActions__item--delete"]]: i === "delete"
119
122
  }]),
120
- onClick: (m) => A(m, s)
121
- }, h(t.label), 11, Y))), 128))
123
+ onClick: (m) => A(m, i)
124
+ }, U(t.label), 11, Y))), 128))
122
125
  ]),
123
126
  default: M(() => [
124
127
  B("div", {
125
128
  class: l(e.$style["conversationActions__popup-icon"])
126
129
  }, [
127
- q(u(V), { size: "18px" })
130
+ q(v(R), { size: "18px" })
128
131
  ], 2)
129
132
  ]),
130
133
  _: 1
131
134
  }))
132
135
  ], 6));
133
136
  }
134
- }), w = "_conversationActions_qrz2h_1", F = "_conversationActions__h5_qrz2h_10", H = "_conversationActions__h5__container_qrz2h_22", G = "_conversationActions__item_qrz2h_27", J = {
135
- conversationActions: w,
137
+ }), F = "_conversationActions_qrz2h_1", H = "_conversationActions__h5_qrz2h_10", G = "_conversationActions__h5__container_qrz2h_22", J = "_conversationActions__item_qrz2h_27", Q = {
138
+ conversationActions: F,
136
139
  "conversationActions__popup-icon": "_conversationActions__popup-icon_qrz2h_5",
137
- conversationActions__h5: F,
138
- conversationActions__h5__container: H,
139
- conversationActions__item: G,
140
+ conversationActions__h5: H,
141
+ conversationActions__h5__container: G,
142
+ conversationActions__item: J,
140
143
  "conversationActions__item--delete": "_conversationActions__item--delete_qrz2h_52"
141
- }, Q = {
142
- $style: J
143
- }, oe = /* @__PURE__ */ K(j, [["__cssModules", Q]]);
144
+ }, W = {
145
+ $style: Q
146
+ }, te = /* @__PURE__ */ K(j, [["__cssModules", W]]);
144
147
  export {
145
- oe as default
148
+ te as default
146
149
  };
@@ -9,6 +9,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
9
9
  click: (e: Event, key?: string | undefined, conversation?: ConversationModel | undefined) => void;
10
10
  close: () => void;
11
11
  markConversationUnread: (conversation: ConversationModel, e?: Event | undefined) => void;
12
+ dropdownVisibleChange: (visible: boolean) => void;
12
13
  conversationPin: (conversation: ConversationModel, e?: Event | undefined) => void;
13
14
  conversationMute: (conversation: ConversationModel, e?: Event | undefined) => void;
14
15
  conversationDelete: (conversation: ConversationModel, e?: Event | undefined) => void;
@@ -21,6 +22,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
21
22
  onClick?: ((e: Event, key?: string | undefined, conversation?: ConversationModel | undefined) => any) | undefined;
22
23
  onClose?: (() => any) | undefined;
23
24
  onMarkConversationUnread?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
25
+ onDropdownVisibleChange?: ((visible: boolean) => any) | undefined;
24
26
  onConversationPin?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
25
27
  onConversationMute?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
26
28
  onConversationDelete?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
@@ -1,6 +1,6 @@
1
- import { defineComponent as Q, ref as u, computed as I, createElementBlock as X, openBlock as g, normalizeClass as Z, unref as p, createVNode as h, withCtx as ee, createBlock as P } from "vue";
1
+ import { defineComponent as Q, ref as u, computed as g, createElementBlock as X, openBlock as U, normalizeClass as Z, unref as p, createVNode as h, withCtx as ee, createBlock as P } from "vue";
2
2
  import { TUIConversationService as te } from "@tencentcloud/chat-uikit-engine";
3
- import { useUIKit as oe, TUIDialog as ae, TUIToast as U } from "@tencentcloud/uikit-base-component-vue3";
3
+ import { useUIKit as oe, TUIDialog as ae, TUIToast as T } from "@tencentcloud/uikit-base-component-vue3";
4
4
  import { useLoginState as ne } from "../../../states/LoginState.js";
5
5
  import { isH5 as re } from "../../../utils/env.js";
6
6
  import { useConversation as se } from "../hooks/useConversation.js";
@@ -21,14 +21,14 @@ const G = 20, pe = /* @__PURE__ */ Q({
21
21
  conversationList: { default: () => [] }
22
22
  },
23
23
  emits: ["update:visible", "beforeCreateConversation", "conversationCreated"],
24
- setup(x, { emit: y }) {
25
- const { t: o } = oe(), { enableSearch: O } = se(), { getDefaultAvatar: S } = ie(), { loginUserInfo: d } = ne(), { createC2CConversation: b, createGroupConversation: N } = ue(), k = {
26
- avatar: S(E.WORK),
24
+ setup(y, { emit: x }) {
25
+ const { t: o } = oe(), { enableSearch: O } = se(), { getDefaultAvatar: d } = ie(), { loginUserInfo: S } = ne(), { createC2CConversation: b, createGroupConversation: N } = ue(), k = {
26
+ avatar: d(E.WORK),
27
27
  name: "",
28
28
  groupID: "",
29
29
  type: E.WORK
30
- }, s = x, T = y, m = u(!1), c = u(!1), n = u(t.USER_SELECT), l = u([]), v = u({
31
- avatar: S(E.WORK),
30
+ }, s = y, m = x, _ = u(!1), c = u(!1), n = u(t.USER_SELECT), l = u([]), v = u({
31
+ avatar: d(E.WORK),
32
32
  name: "",
33
33
  groupID: "",
34
34
  type: E.WORK
@@ -39,14 +39,14 @@ const G = 20, pe = /* @__PURE__ */ Q({
39
39
  }, w = (e) => {
40
40
  l.value = e;
41
41
  }, B = (e) => {
42
- e === ve.GROUP ? R(!0) : R(!1), m.value = !0;
42
+ e === ve.GROUP ? R(!0) : R(!1), _.value = !0;
43
43
  }, f = (e) => {
44
- m.value = e;
45
- }, _ = () => {
44
+ _.value = e;
45
+ }, I = () => {
46
46
  f(!1), v.value = k, c.value = !1, n.value = t.USER_SELECT, l.value = [];
47
47
  }, L = (e) => {
48
48
  var r;
49
- _(), te.switchConversation(e.conversationID), T("conversationCreated", e), (r = s.onConversationCreated) == null || r.call(s, e);
49
+ I(), te.switchConversation(e.conversationID), m("conversationCreated", e), (r = s.onConversationCreated) == null || r.call(s, e);
50
50
  }, K = {
51
51
  [t.USER_SELECT]: o("TUIConversation.Add Participants"),
52
52
  [t.CREATE_DETAIL]: o("TUIConversation.New group chat"),
@@ -59,17 +59,17 @@ const G = 20, pe = /* @__PURE__ */ Q({
59
59
  [t.USER_SELECT]: o("TUIConversation.Cancel"),
60
60
  [t.CREATE_DETAIL]: o("TUIConversation.Prev"),
61
61
  [t.GROUP_TYPE]: o("TUIConversation.Prev")
62
- }, F = I(() => c.value ? Y[n.value] : o("TUIConversation.Cancel")), M = I(() => c.value ? K[n.value] : o("TUIConversation.Start chat")), $ = I(() => c.value ? W[n.value] : o("TUIConversation.Start chat")), j = (e) => {
62
+ }, F = g(() => c.value ? Y[n.value] : o("TUIConversation.Cancel")), M = g(() => c.value ? K[n.value] : o("TUIConversation.Start chat")), $ = g(() => c.value ? W[n.value] : o("TUIConversation.Start chat")), j = (e) => {
63
63
  v.value = e;
64
64
  }, z = async () => {
65
65
  var r;
66
66
  const { userID: e } = l.value[0];
67
- T("beforeCreateConversation", e), (r = s.onBeforeCreateConversation) == null || r.call(s, e);
67
+ m("beforeCreateConversation", e), (r = s.onBeforeCreateConversation) == null || r.call(s, e);
68
68
  try {
69
69
  const a = await b(e);
70
70
  L(a);
71
71
  } catch (a) {
72
- U.error({ message: a.message });
72
+ T.error({ message: a.message });
73
73
  }
74
74
  }, H = async () => {
75
75
  var r;
@@ -79,49 +79,49 @@ const G = 20, pe = /* @__PURE__ */ Q({
79
79
  userID: a.userID
80
80
  }))
81
81
  };
82
- T("beforeCreateConversation", e), (r = s.onBeforeCreateConversation) == null || r.call(s, e);
82
+ m("beforeCreateConversation", e), (r = s.onBeforeCreateConversation) == null || r.call(s, e);
83
83
  try {
84
84
  const a = await N(e);
85
85
  L(a);
86
86
  } catch (a) {
87
- U.error({ message: a.message });
87
+ a.code === 10021 ? T.error({ message: o("TUIConversation.group_id_already_used") }) : T.error({ message: a.message });
88
88
  }
89
89
  }, V = (e) => {
90
90
  var A, D;
91
- const a = `${((A = d.value) == null ? void 0 : A.userName) || ((D = d.value) == null ? void 0 : D.userId) || ""}、${e.map((i) => (i == null ? void 0 : i.remark) || (i == null ? void 0 : i.nick) || (i == null ? void 0 : i.userID)).join("、")}`;
91
+ const a = `${((A = S.value) == null ? void 0 : A.userName) || ((D = S.value) == null ? void 0 : D.userId) || ""}、${e.map((i) => (i == null ? void 0 : i.remark) || (i == null ? void 0 : i.nick) || (i == null ? void 0 : i.userID)).join("、")}`;
92
92
  return a.length >= G ? a.slice(0, G) : a;
93
93
  }, q = () => {
94
94
  if (l.value.length === 0) {
95
- U.error({ message: o("TUIConversation.Participant cannot be empty") });
95
+ T.error({ message: o("TUIConversation.Participant cannot be empty") });
96
96
  return;
97
97
  }
98
98
  c.value ? n.value === t.USER_SELECT ? (v.value.name = V(l.value), C(t.CREATE_DETAIL)) : n.value === t.CREATE_DETAIL ? (H(), f(!1)) : C(t.CREATE_DETAIL) : (z(), f(!1));
99
99
  }, J = () => {
100
- n.value === t.USER_SELECT ? (f(!1), _()) : n.value === t.CREATE_DETAIL ? C(t.USER_SELECT) : n.value === t.GROUP_TYPE && C(t.CREATE_DETAIL);
100
+ n.value === t.USER_SELECT ? (f(!1), I()) : n.value === t.CREATE_DETAIL ? C(t.USER_SELECT) : n.value === t.GROUP_TYPE && C(t.CREATE_DETAIL);
101
101
  };
102
- return (e, r) => (g(), X("div", {
102
+ return (e, r) => (U(), X("div", {
103
103
  class: Z(["conversationCreate__container", { conversationCreate__detail: !p(O) }])
104
104
  }, [
105
105
  h(le, { onClick: B }),
106
106
  h(p(ae), {
107
107
  appendTo: "body",
108
- visible: m.value,
108
+ visible: _.value,
109
109
  title: M.value,
110
110
  "confirm-text": $.value,
111
111
  "cancel-text": F.value,
112
112
  "custom-classes": [p(re) ? "conversationCreate__dialog" : ""],
113
113
  onConfirm: q,
114
114
  onCancel: J,
115
- onClose: _
115
+ onClose: I
116
116
  }, {
117
117
  default: ee(() => [
118
- n.value === p(t).USER_SELECT ? (g(), P(Ce, {
118
+ n.value === p(t).USER_SELECT ? (U(), P(Ce, {
119
119
  key: 0,
120
120
  "is-create-group": c.value,
121
121
  "select-list": l.value,
122
122
  "set-select-list": w,
123
123
  "set-page-state": C
124
- }, null, 8, ["is-create-group", "select-list"])) : (g(), P(ce, {
124
+ }, null, 8, ["is-create-group", "select-list"])) : (U(), P(ce, {
125
125
  key: 1,
126
126
  "page-state": n.value,
127
127
  "profile-list": l.value,
@@ -134,7 +134,7 @@ const G = 20, pe = /* @__PURE__ */ Q({
134
134
  }, 8, ["visible", "title", "confirm-text", "cancel-text", "custom-classes"])
135
135
  ], 2));
136
136
  }
137
- }), Ge = /* @__PURE__ */ fe(pe, [["__scopeId", "data-v-4707a253"]]);
137
+ }), Ge = /* @__PURE__ */ fe(pe, [["__scopeId", "data-v-df093e81"]]);
138
138
  export {
139
139
  Ge as default
140
140
  };
@@ -438,6 +438,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
438
438
  click: (e: Event, key?: string | undefined, conversation?: ConversationModel | undefined) => void;
439
439
  close: () => void;
440
440
  markConversationUnread: (conversation: ConversationModel, e?: Event | undefined) => void;
441
+ dropdownVisibleChange: (visible: boolean) => void;
441
442
  conversationPin: (conversation: ConversationModel, e?: Event | undefined) => void;
442
443
  conversationMute: (conversation: ConversationModel, e?: Event | undefined) => void;
443
444
  conversationDelete: (conversation: ConversationModel, e?: Event | undefined) => void;
@@ -499,6 +500,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
499
500
  onClick?: ((e: Event, key?: string | undefined, conversation?: ConversationModel | undefined) => any) | undefined;
500
501
  onClose?: (() => any) | undefined;
501
502
  onMarkConversationUnread?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
503
+ onDropdownVisibleChange?: ((visible: boolean) => any) | undefined;
502
504
  onConversationPin?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
503
505
  onConversationMute?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
504
506
  onConversationDelete?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
@@ -773,6 +775,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
773
775
  click: (e: Event, key?: string | undefined, conversation?: ConversationModel | undefined) => void;
774
776
  close: () => void;
775
777
  markConversationUnread: (conversation: ConversationModel, e?: Event | undefined) => void;
778
+ dropdownVisibleChange: (visible: boolean) => void;
776
779
  conversationPin: (conversation: ConversationModel, e?: Event | undefined) => void;
777
780
  conversationMute: (conversation: ConversationModel, e?: Event | undefined) => void;
778
781
  conversationDelete: (conversation: ConversationModel, e?: Event | undefined) => void;
@@ -834,6 +837,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
834
837
  onClick?: ((e: Event, key?: string | undefined, conversation?: ConversationModel | undefined) => any) | undefined;
835
838
  onClose?: (() => any) | undefined;
836
839
  onMarkConversationUnread?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
840
+ onDropdownVisibleChange?: ((visible: boolean) => any) | undefined;
837
841
  onConversationPin?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
838
842
  onConversationMute?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
839
843
  onConversationDelete?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
@@ -1103,6 +1107,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1103
1107
  click: (e: Event, key?: string | undefined, conversation?: ConversationModel | undefined) => void;
1104
1108
  close: () => void;
1105
1109
  markConversationUnread: (conversation: ConversationModel, e?: Event | undefined) => void;
1110
+ dropdownVisibleChange: (visible: boolean) => void;
1106
1111
  conversationPin: (conversation: ConversationModel, e?: Event | undefined) => void;
1107
1112
  conversationMute: (conversation: ConversationModel, e?: Event | undefined) => void;
1108
1113
  conversationDelete: (conversation: ConversationModel, e?: Event | undefined) => void;
@@ -1164,6 +1169,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1164
1169
  onClick?: ((e: Event, key?: string | undefined, conversation?: ConversationModel | undefined) => any) | undefined;
1165
1170
  onClose?: (() => any) | undefined;
1166
1171
  onMarkConversationUnread?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
1172
+ onDropdownVisibleChange?: ((visible: boolean) => any) | undefined;
1167
1173
  onConversationPin?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
1168
1174
  onConversationMute?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
1169
1175
  onConversationDelete?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
@@ -3438,6 +3444,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
3438
3444
  click: (e: Event, key?: string | undefined, conversation?: ConversationModel | undefined) => void;
3439
3445
  close: () => void;
3440
3446
  markConversationUnread: (conversation: ConversationModel, e?: Event | undefined) => void;
3447
+ dropdownVisibleChange: (visible: boolean) => void;
3441
3448
  conversationPin: (conversation: ConversationModel, e?: Event | undefined) => void;
3442
3449
  conversationMute: (conversation: ConversationModel, e?: Event | undefined) => void;
3443
3450
  conversationDelete: (conversation: ConversationModel, e?: Event | undefined) => void;
@@ -3499,6 +3506,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
3499
3506
  onClick?: ((e: Event, key?: string | undefined, conversation?: ConversationModel | undefined) => any) | undefined;
3500
3507
  onClose?: (() => any) | undefined;
3501
3508
  onMarkConversationUnread?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
3509
+ onDropdownVisibleChange?: ((visible: boolean) => any) | undefined;
3502
3510
  onConversationPin?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
3503
3511
  onConversationMute?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
3504
3512
  onConversationDelete?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
@@ -4047,6 +4055,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
4047
4055
  click: (e: Event, key?: string | undefined, conversation?: ConversationModel | undefined) => void;
4048
4056
  close: () => void;
4049
4057
  markConversationUnread: (conversation: ConversationModel, e?: Event | undefined) => void;
4058
+ dropdownVisibleChange: (visible: boolean) => void;
4050
4059
  conversationPin: (conversation: ConversationModel, e?: Event | undefined) => void;
4051
4060
  conversationMute: (conversation: ConversationModel, e?: Event | undefined) => void;
4052
4061
  conversationDelete: (conversation: ConversationModel, e?: Event | undefined) => void;
@@ -4108,6 +4117,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
4108
4117
  onClick?: ((e: Event, key?: string | undefined, conversation?: ConversationModel | undefined) => any) | undefined;
4109
4118
  onClose?: (() => any) | undefined;
4110
4119
  onMarkConversationUnread?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
4120
+ onDropdownVisibleChange?: ((visible: boolean) => any) | undefined;
4111
4121
  onConversationPin?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
4112
4122
  onConversationMute?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
4113
4123
  onConversationDelete?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
@@ -4382,6 +4392,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
4382
4392
  click: (e: Event, key?: string | undefined, conversation?: ConversationModel | undefined) => void;
4383
4393
  close: () => void;
4384
4394
  markConversationUnread: (conversation: ConversationModel, e?: Event | undefined) => void;
4395
+ dropdownVisibleChange: (visible: boolean) => void;
4385
4396
  conversationPin: (conversation: ConversationModel, e?: Event | undefined) => void;
4386
4397
  conversationMute: (conversation: ConversationModel, e?: Event | undefined) => void;
4387
4398
  conversationDelete: (conversation: ConversationModel, e?: Event | undefined) => void;
@@ -4443,6 +4454,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
4443
4454
  onClick?: ((e: Event, key?: string | undefined, conversation?: ConversationModel | undefined) => any) | undefined;
4444
4455
  onClose?: (() => any) | undefined;
4445
4456
  onMarkConversationUnread?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
4457
+ onDropdownVisibleChange?: ((visible: boolean) => any) | undefined;
4446
4458
  onConversationPin?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
4447
4459
  onConversationMute?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
4448
4460
  onConversationDelete?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
@@ -4712,6 +4724,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
4712
4724
  click: (e: Event, key?: string | undefined, conversation?: ConversationModel | undefined) => void;
4713
4725
  close: () => void;
4714
4726
  markConversationUnread: (conversation: ConversationModel, e?: Event | undefined) => void;
4727
+ dropdownVisibleChange: (visible: boolean) => void;
4715
4728
  conversationPin: (conversation: ConversationModel, e?: Event | undefined) => void;
4716
4729
  conversationMute: (conversation: ConversationModel, e?: Event | undefined) => void;
4717
4730
  conversationDelete: (conversation: ConversationModel, e?: Event | undefined) => void;
@@ -4773,6 +4786,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
4773
4786
  onClick?: ((e: Event, key?: string | undefined, conversation?: ConversationModel | undefined) => any) | undefined;
4774
4787
  onClose?: (() => any) | undefined;
4775
4788
  onMarkConversationUnread?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
4789
+ onDropdownVisibleChange?: ((visible: boolean) => any) | undefined;
4776
4790
  onConversationPin?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
4777
4791
  onConversationMute?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
4778
4792
  onConversationDelete?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
@@ -7047,6 +7061,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
7047
7061
  click: (e: Event, key?: string | undefined, conversation?: ConversationModel | undefined) => void;
7048
7062
  close: () => void;
7049
7063
  markConversationUnread: (conversation: ConversationModel, e?: Event | undefined) => void;
7064
+ dropdownVisibleChange: (visible: boolean) => void;
7050
7065
  conversationPin: (conversation: ConversationModel, e?: Event | undefined) => void;
7051
7066
  conversationMute: (conversation: ConversationModel, e?: Event | undefined) => void;
7052
7067
  conversationDelete: (conversation: ConversationModel, e?: Event | undefined) => void;
@@ -7108,6 +7123,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
7108
7123
  onClick?: ((e: Event, key?: string | undefined, conversation?: ConversationModel | undefined) => any) | undefined;
7109
7124
  onClose?: (() => any) | undefined;
7110
7125
  onMarkConversationUnread?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
7126
+ onDropdownVisibleChange?: ((visible: boolean) => any) | undefined;
7111
7127
  onConversationPin?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
7112
7128
  onConversationMute?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
7113
7129
  onConversationDelete?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;