tuikit-atomicx-vue3 4.5.1 → 4.5.3

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 +1 -1
  79. package/dist/states/RoomState/roomManager.js +37 -34
  80. package/dist/states/RoomState/scheduleManager.js +21 -27
  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
@@ -185,6 +185,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
185
185
  click: (e: Event, key?: string | undefined, conversation?: ConversationModel | undefined) => void;
186
186
  close: () => void;
187
187
  markConversationUnread: (conversation: ConversationModel, e?: Event | undefined) => void;
188
+ dropdownVisibleChange: (visible: boolean) => void;
188
189
  conversationPin: (conversation: ConversationModel, e?: Event | undefined) => void;
189
190
  conversationMute: (conversation: ConversationModel, e?: Event | undefined) => void;
190
191
  conversationDelete: (conversation: ConversationModel, e?: Event | undefined) => void;
@@ -246,6 +247,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
246
247
  onClick?: ((e: Event, key?: string | undefined, conversation?: ConversationModel | undefined) => any) | undefined;
247
248
  onClose?: (() => any) | undefined;
248
249
  onMarkConversationUnread?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
250
+ onDropdownVisibleChange?: ((visible: boolean) => any) | undefined;
249
251
  onConversationPin?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
250
252
  onConversationMute?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
251
253
  onConversationDelete?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
@@ -520,6 +522,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
520
522
  click: (e: Event, key?: string | undefined, conversation?: ConversationModel | undefined) => void;
521
523
  close: () => void;
522
524
  markConversationUnread: (conversation: ConversationModel, e?: Event | undefined) => void;
525
+ dropdownVisibleChange: (visible: boolean) => void;
523
526
  conversationPin: (conversation: ConversationModel, e?: Event | undefined) => void;
524
527
  conversationMute: (conversation: ConversationModel, e?: Event | undefined) => void;
525
528
  conversationDelete: (conversation: ConversationModel, e?: Event | undefined) => void;
@@ -581,6 +584,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
581
584
  onClick?: ((e: Event, key?: string | undefined, conversation?: ConversationModel | undefined) => any) | undefined;
582
585
  onClose?: (() => any) | undefined;
583
586
  onMarkConversationUnread?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
587
+ onDropdownVisibleChange?: ((visible: boolean) => any) | undefined;
584
588
  onConversationPin?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
585
589
  onConversationMute?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
586
590
  onConversationDelete?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
@@ -850,6 +854,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
850
854
  click: (e: Event, key?: string | undefined, conversation?: ConversationModel | undefined) => void;
851
855
  close: () => void;
852
856
  markConversationUnread: (conversation: ConversationModel, e?: Event | undefined) => void;
857
+ dropdownVisibleChange: (visible: boolean) => void;
853
858
  conversationPin: (conversation: ConversationModel, e?: Event | undefined) => void;
854
859
  conversationMute: (conversation: ConversationModel, e?: Event | undefined) => void;
855
860
  conversationDelete: (conversation: ConversationModel, e?: Event | undefined) => void;
@@ -911,6 +916,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
911
916
  onClick?: ((e: Event, key?: string | undefined, conversation?: ConversationModel | undefined) => any) | undefined;
912
917
  onClose?: (() => any) | undefined;
913
918
  onMarkConversationUnread?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
919
+ onDropdownVisibleChange?: ((visible: boolean) => any) | undefined;
914
920
  onConversationPin?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
915
921
  onConversationMute?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
916
922
  onConversationDelete?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
@@ -1160,6 +1166,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
1160
1166
  click: (e: Event, key?: string | undefined, conversation?: ConversationModel | undefined) => void;
1161
1167
  close: () => void;
1162
1168
  markConversationUnread: (conversation: ConversationModel, e?: Event | undefined) => void;
1169
+ dropdownVisibleChange: (visible: boolean) => void;
1163
1170
  conversationPin: (conversation: ConversationModel, e?: Event | undefined) => void;
1164
1171
  conversationMute: (conversation: ConversationModel, e?: Event | undefined) => void;
1165
1172
  conversationDelete: (conversation: ConversationModel, e?: Event | undefined) => void;
@@ -1221,6 +1228,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
1221
1228
  onClick?: ((e: Event, key?: string | undefined, conversation?: ConversationModel | undefined) => any) | undefined;
1222
1229
  onClose?: (() => any) | undefined;
1223
1230
  onMarkConversationUnread?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
1231
+ onDropdownVisibleChange?: ((visible: boolean) => any) | undefined;
1224
1232
  onConversationPin?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
1225
1233
  onConversationMute?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
1226
1234
  onConversationDelete?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
@@ -1414,6 +1422,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
1414
1422
  click: (e: Event, key?: string | undefined, conversation?: ConversationModel | undefined) => void;
1415
1423
  close: () => void;
1416
1424
  markConversationUnread: (conversation: ConversationModel, e?: Event | undefined) => void;
1425
+ dropdownVisibleChange: (visible: boolean) => void;
1417
1426
  conversationPin: (conversation: ConversationModel, e?: Event | undefined) => void;
1418
1427
  conversationMute: (conversation: ConversationModel, e?: Event | undefined) => void;
1419
1428
  conversationDelete: (conversation: ConversationModel, e?: Event | undefined) => void;
@@ -1475,6 +1484,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
1475
1484
  onClick?: ((e: Event, key?: string | undefined, conversation?: ConversationModel | undefined) => any) | undefined;
1476
1485
  onClose?: (() => any) | undefined;
1477
1486
  onMarkConversationUnread?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
1487
+ onDropdownVisibleChange?: ((visible: boolean) => any) | undefined;
1478
1488
  onConversationPin?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
1479
1489
  onConversationMute?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
1480
1490
  onConversationDelete?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
@@ -1749,6 +1759,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
1749
1759
  click: (e: Event, key?: string | undefined, conversation?: ConversationModel | undefined) => void;
1750
1760
  close: () => void;
1751
1761
  markConversationUnread: (conversation: ConversationModel, e?: Event | undefined) => void;
1762
+ dropdownVisibleChange: (visible: boolean) => void;
1752
1763
  conversationPin: (conversation: ConversationModel, e?: Event | undefined) => void;
1753
1764
  conversationMute: (conversation: ConversationModel, e?: Event | undefined) => void;
1754
1765
  conversationDelete: (conversation: ConversationModel, e?: Event | undefined) => void;
@@ -1810,6 +1821,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
1810
1821
  onClick?: ((e: Event, key?: string | undefined, conversation?: ConversationModel | undefined) => any) | undefined;
1811
1822
  onClose?: (() => any) | undefined;
1812
1823
  onMarkConversationUnread?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
1824
+ onDropdownVisibleChange?: ((visible: boolean) => any) | undefined;
1813
1825
  onConversationPin?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
1814
1826
  onConversationMute?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
1815
1827
  onConversationDelete?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
@@ -2079,6 +2091,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
2079
2091
  click: (e: Event, key?: string | undefined, conversation?: ConversationModel | undefined) => void;
2080
2092
  close: () => void;
2081
2093
  markConversationUnread: (conversation: ConversationModel, e?: Event | undefined) => void;
2094
+ dropdownVisibleChange: (visible: boolean) => void;
2082
2095
  conversationPin: (conversation: ConversationModel, e?: Event | undefined) => void;
2083
2096
  conversationMute: (conversation: ConversationModel, e?: Event | undefined) => void;
2084
2097
  conversationDelete: (conversation: ConversationModel, e?: Event | undefined) => void;
@@ -2140,6 +2153,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
2140
2153
  onClick?: ((e: Event, key?: string | undefined, conversation?: ConversationModel | undefined) => any) | undefined;
2141
2154
  onClose?: (() => any) | undefined;
2142
2155
  onMarkConversationUnread?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
2156
+ onDropdownVisibleChange?: ((visible: boolean) => any) | undefined;
2143
2157
  onConversationPin?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
2144
2158
  onConversationMute?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
2145
2159
  onConversationDelete?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
@@ -2389,6 +2403,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
2389
2403
  click: (e: Event, key?: string | undefined, conversation?: ConversationModel | undefined) => void;
2390
2404
  close: () => void;
2391
2405
  markConversationUnread: (conversation: ConversationModel, e?: Event | undefined) => void;
2406
+ dropdownVisibleChange: (visible: boolean) => void;
2392
2407
  conversationPin: (conversation: ConversationModel, e?: Event | undefined) => void;
2393
2408
  conversationMute: (conversation: ConversationModel, e?: Event | undefined) => void;
2394
2409
  conversationDelete: (conversation: ConversationModel, e?: Event | undefined) => void;
@@ -2450,6 +2465,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
2450
2465
  onClick?: ((e: Event, key?: string | undefined, conversation?: ConversationModel | undefined) => any) | undefined;
2451
2466
  onClose?: (() => any) | undefined;
2452
2467
  onMarkConversationUnread?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
2468
+ onDropdownVisibleChange?: ((visible: boolean) => any) | undefined;
2453
2469
  onConversationPin?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
2454
2470
  onConversationMute?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
2455
2471
  onConversationDelete?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
@@ -1,4 +1,4 @@
1
- import { defineComponent as p, computed as v, createElementBlock as _, openBlock as i, normalizeClass as c, Fragment as u, createElementVNode as y, createTextVNode as m, toDisplayString as r, unref as T, createCommentVNode as C } from "vue";
1
+ import { defineComponent as p, computed as v, createElementBlock as _, openBlock as s, normalizeClass as c, Fragment as u, createElementVNode as y, createTextVNode as m, toDisplayString as r, unref as T, createCommentVNode as C } from "vue";
2
2
  import { useUIKit as I } from "@tencentcloud/uikit-base-component-vue3";
3
3
  import { getLatestMessagePreview as $ } from "./utils.js";
4
4
  import { JSONStringToParse as g } from "../../../utils/json.js";
@@ -18,28 +18,28 @@ const h = /* @__PURE__ */ p({
18
18
  const { type: e, groupAtInfoList: t } = (o == null ? void 0 : o.conversation) || {};
19
19
  if (e !== x.GROUP || !(t != null && t.length))
20
20
  return "";
21
- const z = [
21
+ const q = [
22
22
  `[${n("TUIConversation.someone_at_me")}]`,
23
23
  `[${n("TUIConversation.at_all")}]`,
24
24
  `[${n("TUIConversation.at_all")}][${n("TUIConversation.someone_at_me")}]`
25
25
  ];
26
26
  let f = "";
27
- return t.forEach((s) => {
27
+ return t.forEach((i) => {
28
28
  var l;
29
- const a = (l = s == null ? void 0 : s.atTypeArray) == null ? void 0 : l[0];
30
- a && a >= 1 && a <= 3 && (f = z[a - 1]);
29
+ const a = (l = i == null ? void 0 : i.atTypeArray) == null ? void 0 : l[0];
30
+ a && a >= 1 && a <= 3 && (f = q[a - 1]);
31
31
  }), f;
32
32
  });
33
- return (e, t) => (i(), _("div", {
33
+ return (e, t) => (s(), _("div", {
34
34
  class: c(e.$style.conversationPreview__abstract)
35
35
  }, [
36
- P.value ? (i(), _(u, { key: 0 }, [
36
+ P.value ? (s(), _(u, { key: 0 }, [
37
37
  y("label", {
38
38
  class: c(e.$style.conversationPreview__abstract__drafts)
39
39
  }, "[" + r(T(n)("TUIConversation.Drafts")) + "]", 3),
40
40
  m(" " + r(" ") + " " + r(P.value), 1)
41
- ], 64)) : (i(), _(u, { key: 1 }, [
42
- w.value ? (i(), _("label", {
41
+ ], 64)) : (s(), _(u, { key: 1 }, [
42
+ w.value ? (s(), _("label", {
43
43
  key: 0,
44
44
  class: c(e.$style["conversationPreview__abstract__at-info"])
45
45
  }, r(w.value), 3)) : C("", !0),
@@ -47,10 +47,10 @@ const h = /* @__PURE__ */ p({
47
47
  ], 64))
48
48
  ], 2));
49
49
  }
50
- }), k = "_conversationPreview_ivuzf_12", M = "_conversationPreview__avatar_ivuzf_34", N = "_conversationPreview__content_ivuzf_38", A = "_conversationPreview__header_ivuzf_42", D = "_conversationPreview__title_ivuzf_48", E = "_conversationPreview__time_ivuzf_58", S = "_conversationPreview__footer_ivuzf_65", V = "_conversationPreview__abstract_ivuzf_70", B = "_conversationPreview__abstract__drafts_ivuzf_79", L = "_conversationPreview__external_ivuzf_85", O = "_conversationPreview__unread_ivuzf_94", F = "_conversationPreview__actions_ivuzf_114", G = {
50
+ }), k = "_conversationPreview_3f9qu_12", M = "_conversationPreview__avatar_3f9qu_34", N = "_conversationPreview__content_3f9qu_38", A = "_conversationPreview__header_3f9qu_42", D = "_conversationPreview__title_3f9qu_48", E = "_conversationPreview__time_3f9qu_58", S = "_conversationPreview__footer_3f9qu_65", V = "_conversationPreview__abstract_3f9qu_70", B = "_conversationPreview__abstract__drafts_3f9qu_79", L = "_conversationPreview__external_3f9qu_85", O = "_conversationPreview__unread_3f9qu_94", z = "_conversationPreview__actions_3f9qu_114", F = {
51
51
  conversationPreview: k,
52
- "conversationPreview--active": "_conversationPreview--active_ivuzf_28",
53
- "conversationPreview--pin": "_conversationPreview--pin_ivuzf_31",
52
+ "conversationPreview--active": "_conversationPreview--active_3f9qu_28",
53
+ "conversationPreview--pin": "_conversationPreview--pin_3f9qu_31",
54
54
  conversationPreview__avatar: M,
55
55
  conversationPreview__content: N,
56
56
  conversationPreview__header: A,
@@ -59,14 +59,14 @@ const h = /* @__PURE__ */ p({
59
59
  conversationPreview__footer: S,
60
60
  conversationPreview__abstract: V,
61
61
  conversationPreview__abstract__drafts: B,
62
- "conversationPreview__abstract__at-info": "_conversationPreview__abstract__at-info_ivuzf_82",
62
+ "conversationPreview__abstract__at-info": "_conversationPreview__abstract__at-info_3f9qu_82",
63
63
  conversationPreview__external: L,
64
64
  conversationPreview__unread: O,
65
- "unread-count": "_unread-count_ivuzf_101",
66
- conversationPreview__actions: F
67
- }, J = {
68
- $style: G
69
- }, W = /* @__PURE__ */ U(h, [["__cssModules", J]]);
65
+ "unread-count": "_unread-count_3f9qu_101",
66
+ conversationPreview__actions: z
67
+ }, G = {
68
+ $style: F
69
+ }, W = /* @__PURE__ */ U(h, [["__cssModules", G]]);
70
70
  export {
71
71
  W as default
72
72
  };
@@ -1,44 +1,44 @@
1
- import { defineComponent as r, computed as a, createElementBlock as v, openBlock as s, normalizeClass as c, toDisplayString as w } from "vue";
1
+ import { defineComponent as i, computed as a, createElementBlock as s, openBlock as v, normalizeClass as c, toDisplayString as w } from "vue";
2
2
  import { useUIKit as P } from "@tencentcloud/uikit-base-component-vue3";
3
3
  import { getTimeStamp as u } from "../../../utils/time.js";
4
4
  import { _ as f } from "../../../_plugin-vue_export-helper-CHgC5LLL.js";
5
- const m = /* @__PURE__ */ r({
5
+ const m = /* @__PURE__ */ i({
6
6
  __name: "ConversationPreviewTimestamp",
7
7
  props: {
8
8
  conversation: {}
9
9
  },
10
10
  setup(t) {
11
- const n = t, { language: _ } = P(), i = a(() => {
11
+ const n = t, { language: _ } = P(), r = a(() => {
12
12
  var e, o;
13
13
  return u({
14
14
  time: Number(((o = (e = n.conversation) == null ? void 0 : e.lastMessage) == null ? void 0 : o.lastTime) || 0) * 1e3,
15
15
  language: _.value
16
16
  }) || "";
17
17
  });
18
- return (e, o) => (s(), v("div", {
18
+ return (e, o) => (v(), s("div", {
19
19
  class: c(e.$style.conversationPreview__time)
20
- }, w(i.value), 3));
20
+ }, w(r.value), 3));
21
21
  }
22
- }), l = "_conversationPreview_ivuzf_12", p = "_conversationPreview__avatar_ivuzf_34", d = "_conversationPreview__content_ivuzf_38", z = "_conversationPreview__header_ivuzf_42", b = "_conversationPreview__title_ivuzf_48", g = "_conversationPreview__time_ivuzf_58", x = "_conversationPreview__footer_ivuzf_65", h = "_conversationPreview__abstract_ivuzf_70", y = "_conversationPreview__abstract__drafts_ivuzf_79", M = "_conversationPreview__external_ivuzf_85", T = "_conversationPreview__unread_ivuzf_94", C = "_conversationPreview__actions_ivuzf_114", k = {
22
+ }), l = "_conversationPreview_3f9qu_12", p = "_conversationPreview__avatar_3f9qu_34", d = "_conversationPreview__content_3f9qu_38", q = "_conversationPreview__header_3f9qu_42", b = "_conversationPreview__title_3f9qu_48", g = "_conversationPreview__time_3f9qu_58", x = "_conversationPreview__footer_3f9qu_65", h = "_conversationPreview__abstract_3f9qu_70", y = "_conversationPreview__abstract__drafts_3f9qu_79", M = "_conversationPreview__external_3f9qu_85", T = "_conversationPreview__unread_3f9qu_94", C = "_conversationPreview__actions_3f9qu_114", k = {
23
23
  conversationPreview: l,
24
- "conversationPreview--active": "_conversationPreview--active_ivuzf_28",
25
- "conversationPreview--pin": "_conversationPreview--pin_ivuzf_31",
24
+ "conversationPreview--active": "_conversationPreview--active_3f9qu_28",
25
+ "conversationPreview--pin": "_conversationPreview--pin_3f9qu_31",
26
26
  conversationPreview__avatar: p,
27
27
  conversationPreview__content: d,
28
- conversationPreview__header: z,
28
+ conversationPreview__header: q,
29
29
  conversationPreview__title: b,
30
30
  conversationPreview__time: g,
31
31
  conversationPreview__footer: x,
32
32
  conversationPreview__abstract: h,
33
33
  conversationPreview__abstract__drafts: y,
34
- "conversationPreview__abstract__at-info": "_conversationPreview__abstract__at-info_ivuzf_82",
34
+ "conversationPreview__abstract__at-info": "_conversationPreview__abstract__at-info_3f9qu_82",
35
35
  conversationPreview__external: M,
36
36
  conversationPreview__unread: T,
37
- "unread-count": "_unread-count_ivuzf_101",
37
+ "unread-count": "_unread-count_3f9qu_101",
38
38
  conversationPreview__actions: C
39
39
  }, B = {
40
40
  $style: k
41
- }, I = /* @__PURE__ */ f(m, [["__cssModules", B]]);
41
+ }, E = /* @__PURE__ */ f(m, [["__cssModules", B]]);
42
42
  export {
43
- I as default
43
+ E as default
44
44
  };
@@ -1,35 +1,35 @@
1
- import { defineComponent as i, computed as r, createElementBlock as v, openBlock as a, normalizeClass as s, toDisplayString as c } from "vue";
1
+ import { defineComponent as r, computed as i, createElementBlock as a, openBlock as s, normalizeClass as v, toDisplayString as c } from "vue";
2
2
  import { _ as w } from "../../../_plugin-vue_export-helper-CHgC5LLL.js";
3
- const P = /* @__PURE__ */ i({
3
+ const P = /* @__PURE__ */ r({
4
4
  __name: "ConversationPreviewTitle",
5
5
  props: {
6
6
  conversation: {}
7
7
  },
8
8
  setup(t) {
9
- const n = t, _ = r(() => {
9
+ const n = t, _ = i(() => {
10
10
  var e, o;
11
11
  return ((o = (e = n == null ? void 0 : n.conversation) == null ? void 0 : e.getShowName) == null ? void 0 : o.call(e)) || "";
12
12
  });
13
- return (e, o) => (a(), v("div", {
14
- class: s([e.$style.conversationPreview__title, e.$style.textEllipsis])
13
+ return (e, o) => (s(), a("div", {
14
+ class: v([e.$style.conversationPreview__title, e.$style.textEllipsis])
15
15
  }, c(_.value), 3));
16
16
  }
17
- }), u = "_conversationPreview_ivuzf_12", f = "_conversationPreview__avatar_ivuzf_34", l = "_conversationPreview__content_ivuzf_38", d = "_conversationPreview__header_ivuzf_42", z = "_conversationPreview__title_ivuzf_48", m = "_conversationPreview__time_ivuzf_58", p = "_conversationPreview__footer_ivuzf_65", b = "_conversationPreview__abstract_ivuzf_70", h = "_conversationPreview__abstract__drafts_ivuzf_79", x = "_conversationPreview__external_ivuzf_85", y = "_conversationPreview__unread_ivuzf_94", C = "_conversationPreview__actions_ivuzf_114", $ = {
17
+ }), u = "_conversationPreview_3f9qu_12", f = "_conversationPreview__avatar_3f9qu_34", l = "_conversationPreview__content_3f9qu_38", d = "_conversationPreview__header_3f9qu_42", q = "_conversationPreview__title_3f9qu_48", m = "_conversationPreview__time_3f9qu_58", p = "_conversationPreview__footer_3f9qu_65", b = "_conversationPreview__abstract_3f9qu_70", h = "_conversationPreview__abstract__drafts_3f9qu_79", x = "_conversationPreview__external_3f9qu_85", y = "_conversationPreview__unread_3f9qu_94", C = "_conversationPreview__actions_3f9qu_114", $ = {
18
18
  conversationPreview: u,
19
- "conversationPreview--active": "_conversationPreview--active_ivuzf_28",
20
- "conversationPreview--pin": "_conversationPreview--pin_ivuzf_31",
19
+ "conversationPreview--active": "_conversationPreview--active_3f9qu_28",
20
+ "conversationPreview--pin": "_conversationPreview--pin_3f9qu_31",
21
21
  conversationPreview__avatar: f,
22
22
  conversationPreview__content: l,
23
23
  conversationPreview__header: d,
24
- conversationPreview__title: z,
24
+ conversationPreview__title: q,
25
25
  conversationPreview__time: m,
26
26
  conversationPreview__footer: p,
27
27
  conversationPreview__abstract: b,
28
28
  conversationPreview__abstract__drafts: h,
29
- "conversationPreview__abstract__at-info": "_conversationPreview__abstract__at-info_ivuzf_82",
29
+ "conversationPreview__abstract__at-info": "_conversationPreview__abstract__at-info_3f9qu_82",
30
30
  conversationPreview__external: x,
31
31
  conversationPreview__unread: y,
32
- "unread-count": "_unread-count_ivuzf_101",
32
+ "unread-count": "_unread-count_3f9qu_101",
33
33
  conversationPreview__actions: C
34
34
  }, g = {
35
35
  $style: $
@@ -1,28 +1,28 @@
1
- import { defineComponent as V, ref as $, watch as H, createElementBlock as K, openBlock as t, createElementVNode as c, createBlock as i, createCommentVNode as j, mergeProps as l, unref as o, renderSlot as F, normalizeClass as u, resolveDynamicComponent as a } from "vue";
2
- import _ from "@tencentcloud/chat-uikit-engine";
3
- import q from "../../Avatar/Avatar.js";
4
- import G from "./ConversationPreviewAbstract.js";
5
- import J from "./ConversationPreviewTimestamp.js";
6
- import Q from "./ConversationPreviewTitle.js";
7
- import W from "./ConversationPreviewUnread.js";
8
- import X from "../ConversationActions/ConversationActions.js";
9
- import { useMouseHover as Z } from "../../../hooks/useMouseHover.js";
10
- import { useLongPress as x } from "../../../hooks/useLongPress.js";
1
+ import { defineComponent as K, ref as l, watch as j, createElementBlock as F, openBlock as o, createElementVNode as c, createBlock as i, createCommentVNode as z, mergeProps as u, unref as t, renderSlot as G, normalizeClass as _, resolveDynamicComponent as a } from "vue";
2
+ import f from "@tencentcloud/chat-uikit-engine";
3
+ import J from "../../Avatar/Avatar.js";
4
+ import Q from "./ConversationPreviewAbstract.js";
5
+ import W from "./ConversationPreviewTimestamp.js";
6
+ import X from "./ConversationPreviewTitle.js";
7
+ import Z from "./ConversationPreviewUnread.js";
8
+ import x from "../ConversationActions/ConversationActions.js";
9
+ import { useMouseHover as p } from "../../../hooks/useMouseHover.js";
10
+ import { useLongPress as ee } from "../../../hooks/useLongPress.js";
11
11
  import { isH5 as s } from "../../../utils/env.js";
12
- import { useConversationListState as p } from "../../../states/ConversationListState/ConversationListState.js";
13
- import { _ as ee } from "../../../_plugin-vue_export-helper-CHgC5LLL.js";
14
- const ne = /* @__PURE__ */ V({
12
+ import { useConversationListState as ne } from "../../../states/ConversationListState/ConversationListState.js";
13
+ import { _ as oe } from "../../../_plugin-vue_export-helper-CHgC5LLL.js";
14
+ const te = /* @__PURE__ */ K({
15
15
  __name: "ConversationPreviewUI",
16
16
  props: {
17
17
  conversation: {},
18
18
  isSelected: { type: Boolean, default: !1 },
19
19
  enableActions: { type: Boolean, default: !0 },
20
- Avatar: { type: [Object, Function], default: () => q },
21
- Title: { default: () => Q },
22
- LastMessageAbstract: { default: () => G },
23
- LastMessageTimestamp: { default: () => J },
24
- Unread: { default: () => W },
25
- ConversationActions: { type: [Object, Function], default: () => X },
20
+ Avatar: { type: [Object, Function], default: () => J },
21
+ Title: { default: () => X },
22
+ LastMessageAbstract: { default: () => Q },
23
+ LastMessageTimestamp: { default: () => W },
24
+ Unread: { default: () => Z },
25
+ ConversationActions: { type: [Object, Function], default: () => x },
26
26
  onSelectConversation: {},
27
27
  actionsConfig: {},
28
28
  className: {},
@@ -30,61 +30,70 @@ const ne = /* @__PURE__ */ V({
30
30
  children: {}
31
31
  },
32
32
  emits: ["selectConversation"],
33
- setup(e, { emit: N }) {
34
- const f = e, h = N, { activeConversation: R, setActiveConversation: S } = p(), P = $(), r = $(!1), { isHovered: I } = Z(P), { getEventHandlers: Y } = x(() => {
33
+ setup(e, { emit: R }) {
34
+ const P = e, S = R, { activeConversation: I, setActiveConversation: O } = ne(), d = l(), r = l(!1), w = l(!1), { isHovered: m } = p(d), { getEventHandlers: V } = ee(() => {
35
35
  s && (r.value = !0);
36
- }), B = Y();
37
- H(I, (n) => {
38
- s || (r.value = n);
36
+ }), Y = V();
37
+ j(m, (n) => {
38
+ if (!s) {
39
+ if (!n && w.value)
40
+ return;
41
+ r.value = n;
42
+ }
39
43
  });
40
- const O = () => {
41
- h("selectConversation", f.conversation), S(f.conversation.conversationID);
42
- }, d = () => {
44
+ const B = () => {
45
+ S("selectConversation", P.conversation), O(P.conversation.conversationID);
46
+ }, C = () => {
43
47
  r.value = !1;
48
+ }, H = (n) => {
49
+ console.log("[ConversationPreview] dropdown visible changed:", n), w.value = n, !n && !m.value && (r.value = !1);
44
50
  };
45
- return (n, me) => {
46
- var m, w, C, A, y, M, b, z;
47
- return t(), K("div", null, [
48
- c("div", l({
51
+ return (n, Ce) => {
52
+ var A, y, g, b, M, q, D, E;
53
+ return o(), F("div", null, [
54
+ c("div", u({
49
55
  ref_key: "conversationPreviewRef",
50
- ref: P,
56
+ ref: d,
51
57
  class: [
52
58
  n.$style.conversationPreview,
53
59
  e.className,
54
- o(s) && [n.$style["conversationPreview--mobile"]],
55
- (e.isSelected || ((m = e.conversation) == null ? void 0 : m.conversationID) === ((w = o(R)) == null ? void 0 : w.conversationID)) && [n.$style["conversationPreview--active"]],
56
- !((C = e.conversation) != null && C.isMuted) && (((A = e.conversation) == null ? void 0 : A.unreadCount) > 0 || ((M = (y = e.conversation) == null ? void 0 : y.markList) == null ? void 0 : M.includes(o(_).TYPES.CONV_MARK_TYPE_UNREAD))) && [n.$style["conversationPreview--unread"]],
57
- ((b = e.conversation) == null ? void 0 : b.isPinned) && [n.$style["conversationPreview--pin"]],
58
- ((z = e.conversation) == null ? void 0 : z.isMuted) && [n.$style["conversationPreview--mute"]]
60
+ t(s) && [n.$style["conversationPreview--mobile"]],
61
+ (e.isSelected || ((A = e.conversation) == null ? void 0 : A.conversationID) === ((y = t(I)) == null ? void 0 : y.conversationID)) && [n.$style["conversationPreview--active"]],
62
+ !((g = e.conversation) != null && g.isMuted) && (((b = e.conversation) == null ? void 0 : b.unreadCount) > 0 || ((q = (M = e.conversation) == null ? void 0 : M.markList) == null ? void 0 : q.includes(t(f).TYPES.CONV_MARK_TYPE_UNREAD))) && [n.$style["conversationPreview--unread"]],
63
+ ((D = e.conversation) == null ? void 0 : D.isPinned) && [n.$style["conversationPreview--pin"]],
64
+ ((E = e.conversation) == null ? void 0 : E.isMuted) && [n.$style["conversationPreview--mute"]]
59
65
  ],
60
66
  style: e.style
61
- }, o(B), { onClick: O }), [
62
- F(n.$slots, "default", {}, () => {
63
- var v, g, E, D, T, k, L, U;
67
+ }, t(Y), { onClick: B }), [
68
+ G(n.$slots, "default", {}, () => {
69
+ var v, h, T, k, L, U, $, N;
64
70
  return [
65
71
  c("div", {
66
- class: u(n.$style.conversationPreview__avatar)
72
+ class: _(n.$style.conversationPreview__avatar)
67
73
  }, [
68
- (t(), i(a(e.Avatar), {
69
- src: (g = (v = e.conversation) == null ? void 0 : v.getAvatar) == null ? void 0 : g.call(v),
70
- unreadCount: (E = e.conversation) != null && E.isMuted && ((T = (D = e.conversation) == null ? void 0 : D.markList) != null && T.includes(o(_).TYPES.CONV_MARK_TYPE_UNREAD)) ? 1 : void 0,
71
- isDotUnreadCount: ((k = e.conversation) == null ? void 0 : k.isMuted) && ((U = (L = e.conversation) == null ? void 0 : L.markList) == null ? void 0 : U.includes(o(_).TYPES.CONV_MARK_TYPE_UNREAD))
74
+ (o(), i(a(e.Avatar), {
75
+ src: (h = (v = e.conversation) == null ? void 0 : v.getAvatar) == null ? void 0 : h.call(v),
76
+ unreadCount: (T = e.conversation) != null && T.isMuted && ((L = (k = e.conversation) == null ? void 0 : k.markList) != null && L.includes(t(f).TYPES.CONV_MARK_TYPE_UNREAD)) ? 1 : void 0,
77
+ isDotUnreadCount: ((U = e.conversation) == null ? void 0 : U.isMuted) && ((N = ($ = e.conversation) == null ? void 0 : $.markList) == null ? void 0 : N.includes(t(f).TYPES.CONV_MARK_TYPE_UNREAD))
72
78
  }, null, 8, ["src", "unreadCount", "isDotUnreadCount"]))
73
79
  ], 2),
74
80
  c("div", {
75
- class: u(n.$style.conversationPreview__content)
81
+ class: _(n.$style.conversationPreview__content)
76
82
  }, [
77
- (t(), i(a(e.Title), { conversation: e.conversation }, null, 8, ["conversation"])),
78
- (t(), i(a(e.LastMessageAbstract), { conversation: e.conversation }, null, 8, ["conversation"]))
83
+ (o(), i(a(e.Title), { conversation: e.conversation }, null, 8, ["conversation"])),
84
+ (o(), i(a(e.LastMessageAbstract), { conversation: e.conversation }, null, 8, ["conversation"]))
79
85
  ], 2),
80
86
  c("div", {
81
- class: u(n.$style.conversationPreview__external)
87
+ class: _(n.$style.conversationPreview__external)
82
88
  }, [
83
- (t(), i(a(e.Unread), { conversation: e.conversation }, null, 8, ["conversation"])),
84
- e.enableActions && r.value && !o(s) ? (t(), i(a(e.ConversationActions), l({
89
+ (o(), i(a(e.Unread), { conversation: e.conversation }, null, 8, ["conversation"])),
90
+ e.enableActions && r.value && !t(s) ? (o(), i(a(e.ConversationActions), u({
85
91
  key: 0,
86
92
  conversation: e.conversation
87
- }, e.actionsConfig, { onClose: d }), null, 16, ["conversation"])) : (t(), i(a(e.LastMessageTimestamp), {
93
+ }, e.actionsConfig, {
94
+ onClose: C,
95
+ onDropdownVisibleChange: H
96
+ }), null, 16, ["conversation"])) : (o(), i(a(e.LastMessageTimestamp), {
88
97
  key: 1,
89
98
  conversation: e.conversation
90
99
  }, null, 8, ["conversation"]))
@@ -92,33 +101,33 @@ const ne = /* @__PURE__ */ V({
92
101
  ];
93
102
  })
94
103
  ], 16),
95
- o(s) && e.enableActions && r.value ? (t(), i(a(e.ConversationActions), l({
104
+ t(s) && e.enableActions && r.value ? (o(), i(a(e.ConversationActions), u({
96
105
  key: 0,
97
106
  conversation: e.conversation
98
- }, e.actionsConfig, { onClose: d }), null, 16, ["conversation"])) : j("", !0)
107
+ }, e.actionsConfig, { onClose: C }), null, 16, ["conversation"])) : z("", !0)
99
108
  ]);
100
109
  };
101
110
  }
102
- }), te = "_conversationPreview_ivuzf_12", oe = "_conversationPreview__avatar_ivuzf_34", ie = "_conversationPreview__content_ivuzf_38", ae = "_conversationPreview__header_ivuzf_42", re = "_conversationPreview__title_ivuzf_48", se = "_conversationPreview__time_ivuzf_58", ve = "_conversationPreview__footer_ivuzf_65", ce = "_conversationPreview__abstract_ivuzf_70", le = "_conversationPreview__abstract__drafts_ivuzf_79", ue = "_conversationPreview__external_ivuzf_85", _e = "_conversationPreview__unread_ivuzf_94", fe = "_conversationPreview__actions_ivuzf_114", Pe = {
103
- conversationPreview: te,
104
- "conversationPreview--active": "_conversationPreview--active_ivuzf_28",
105
- "conversationPreview--pin": "_conversationPreview--pin_ivuzf_31",
106
- conversationPreview__avatar: oe,
107
- conversationPreview__content: ie,
108
- conversationPreview__header: ae,
109
- conversationPreview__title: re,
110
- conversationPreview__time: se,
111
- conversationPreview__footer: ve,
112
- conversationPreview__abstract: ce,
113
- conversationPreview__abstract__drafts: le,
114
- "conversationPreview__abstract__at-info": "_conversationPreview__abstract__at-info_ivuzf_82",
115
- conversationPreview__external: ue,
116
- conversationPreview__unread: _e,
117
- "unread-count": "_unread-count_ivuzf_101",
118
- conversationPreview__actions: fe
119
- }, de = {
120
- $style: Pe
121
- }, Ue = /* @__PURE__ */ ee(ne, [["__cssModules", de]]);
111
+ }), ie = "_conversationPreview_3f9qu_12", ae = "_conversationPreview__avatar_3f9qu_34", re = "_conversationPreview__content_3f9qu_38", se = "_conversationPreview__header_3f9qu_42", ve = "_conversationPreview__title_3f9qu_48", ce = "_conversationPreview__time_3f9qu_58", le = "_conversationPreview__footer_3f9qu_65", ue = "_conversationPreview__abstract_3f9qu_70", _e = "_conversationPreview__abstract__drafts_3f9qu_79", fe = "_conversationPreview__external_3f9qu_85", Pe = "_conversationPreview__unread_3f9qu_94", de = "_conversationPreview__actions_3f9qu_114", we = {
112
+ conversationPreview: ie,
113
+ "conversationPreview--active": "_conversationPreview--active_3f9qu_28",
114
+ "conversationPreview--pin": "_conversationPreview--pin_3f9qu_31",
115
+ conversationPreview__avatar: ae,
116
+ conversationPreview__content: re,
117
+ conversationPreview__header: se,
118
+ conversationPreview__title: ve,
119
+ conversationPreview__time: ce,
120
+ conversationPreview__footer: le,
121
+ conversationPreview__abstract: ue,
122
+ conversationPreview__abstract__drafts: _e,
123
+ "conversationPreview__abstract__at-info": "_conversationPreview__abstract__at-info_3f9qu_82",
124
+ conversationPreview__external: fe,
125
+ conversationPreview__unread: Pe,
126
+ "unread-count": "_unread-count_3f9qu_101",
127
+ conversationPreview__actions: de
128
+ }, me = {
129
+ $style: we
130
+ }, $e = /* @__PURE__ */ oe(te, [["__cssModules", me]]);
122
131
  export {
123
- Ue as default
132
+ $e as default
124
133
  };
@@ -161,6 +161,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
161
161
  click: (e: Event, key?: string | undefined, conversation?: ConversationModel | undefined) => void;
162
162
  close: () => void;
163
163
  markConversationUnread: (conversation: ConversationModel, e?: Event | undefined) => void;
164
+ dropdownVisibleChange: (visible: boolean) => void;
164
165
  conversationPin: (conversation: ConversationModel, e?: Event | undefined) => void;
165
166
  conversationMute: (conversation: ConversationModel, e?: Event | undefined) => void;
166
167
  conversationDelete: (conversation: ConversationModel, e?: Event | undefined) => void;
@@ -222,6 +223,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
222
223
  onClick?: ((e: Event, key?: string | undefined, conversation?: ConversationModel | undefined) => any) | undefined;
223
224
  onClose?: (() => any) | undefined;
224
225
  onMarkConversationUnread?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
226
+ onDropdownVisibleChange?: ((visible: boolean) => any) | undefined;
225
227
  onConversationPin?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
226
228
  onConversationMute?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
227
229
  onConversationDelete?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
@@ -435,6 +437,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
435
437
  click: (e: Event, key?: string | undefined, conversation?: ConversationModel | undefined) => void;
436
438
  close: () => void;
437
439
  markConversationUnread: (conversation: ConversationModel, e?: Event | undefined) => void;
440
+ dropdownVisibleChange: (visible: boolean) => void;
438
441
  conversationPin: (conversation: ConversationModel, e?: Event | undefined) => void;
439
442
  conversationMute: (conversation: ConversationModel, e?: Event | undefined) => void;
440
443
  conversationDelete: (conversation: ConversationModel, e?: Event | undefined) => void;
@@ -496,6 +499,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
496
499
  onClick?: ((e: Event, key?: string | undefined, conversation?: ConversationModel | undefined) => any) | undefined;
497
500
  onClose?: (() => any) | undefined;
498
501
  onMarkConversationUnread?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
502
+ onDropdownVisibleChange?: ((visible: boolean) => any) | undefined;
499
503
  onConversationPin?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
500
504
  onConversationMute?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
501
505
  onConversationDelete?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;