tuikit-atomicx-vue3 4.5.0 → 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 (182) 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/{PopoverTrigger-L8abAry7.js → PopoverPortal-DV6zFXcf.js} +91 -136
  3. package/dist/PopoverTrigger-DIjW4PKa.js +54 -0
  4. package/dist/{PopperContent-XdhqL8Y2.js → PopperContent-D__dbwpA.js} +6 -6
  5. package/dist/{Teleport-CSEuZbpM.js → Teleport-98QrIYDI.js} +280 -270
  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 +10 -9
  9. package/dist/components/BarrageInput/TextEditor/CharacterCountExtension.js +1 -1
  10. package/dist/components/BarrageInput/TextEditor/EditorCore.js +16 -15
  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 +62 -40
  17. package/dist/components/ConversationList/ConversationPreview/ConversationPreviewTimestamp.js +28 -26
  18. package/dist/components/ConversationList/ConversationPreview/ConversationPreviewTitle.js +27 -23
  19. package/dist/components/ConversationList/ConversationPreview/ConversationPreviewTitle.vue.d.ts +1 -1
  20. package/dist/components/ConversationList/ConversationPreview/ConversationPreviewUI.js +81 -70
  21. package/dist/components/ConversationList/ConversationPreview/ConversationPreviewUI.vue.d.ts +4 -0
  22. package/dist/components/ConversationList/ConversationPreview/ConversationPreviewUnread.js +33 -31
  23. package/dist/components/ConversationList/ConversationPreview/utils.d.ts +2 -2
  24. package/dist/components/ConversationList/ConversationPreview/utils.js +81 -35
  25. package/dist/components/ConversationList/i18n/en-US.d.ts +11 -1
  26. package/dist/components/ConversationList/i18n/en-US.js +12 -2
  27. package/dist/components/ConversationList/i18n/zh-CN.d.ts +11 -1
  28. package/dist/components/ConversationList/i18n/zh-CN.js +12 -2
  29. package/dist/components/ConversationList/index.d.ts +48 -0
  30. package/dist/components/MessageInput/AttachmentPicker/index.js +10 -9
  31. package/dist/components/MessageInput/EmojiPicker/EmojiPicker.js +17 -16
  32. package/dist/components/MessageInput/MessageInput.js +1 -1
  33. package/dist/components/MessageInput/QuotedMessagePreview/index.js +35 -35
  34. package/dist/components/MessageInput/TextEditor/EditorCore.d.ts +13 -12
  35. package/dist/components/MessageInput/TextEditor/EditorCore.js +54 -89
  36. package/dist/components/MessageInput/TextEditor/extensions/MentionSuggestion.js +229 -0
  37. package/dist/components/MessageInput/TextEditor/extensions/MentionSuggestion.vue.d.ts +15 -0
  38. package/dist/components/MessageInput/TextEditor/extensions/characterCountExtension.js +1 -1
  39. package/dist/components/MessageInput/TextEditor/extensions/emojiExtension.d.ts +1 -0
  40. package/dist/components/MessageInput/TextEditor/extensions/emojiExtension.js +22 -0
  41. package/dist/components/MessageInput/TextEditor/extensions/enterKeyExtension.d.ts +3 -0
  42. package/dist/components/MessageInput/TextEditor/extensions/enterKeyExtension.js +15 -0
  43. package/dist/components/MessageInput/TextEditor/extensions/imageExtension.js +2 -2
  44. package/dist/components/MessageInput/TextEditor/extensions/index.d.ts +8 -0
  45. package/dist/components/MessageInput/TextEditor/extensions/index.js +12 -0
  46. package/dist/components/MessageInput/TextEditor/extensions/mentionExtension.d.ts +5 -0
  47. package/dist/components/MessageInput/TextEditor/extensions/mentionExtension.js +330 -0
  48. package/dist/components/MessageInput/TextEditor/index.js +62 -62
  49. package/dist/components/MessageInput/i18n/en-US.d.ts +3 -0
  50. package/dist/components/MessageInput/i18n/en-US.js +4 -1
  51. package/dist/components/MessageInput/i18n/index.d.ts +6 -0
  52. package/dist/components/MessageInput/i18n/zh-CN.d.ts +3 -0
  53. package/dist/components/MessageInput/i18n/zh-CN.js +4 -1
  54. package/dist/components/MessageInput/index.js +1 -1
  55. package/dist/components/MessageList/Message/ImageMessage/ImageMessage.js +119 -89
  56. package/dist/components/MessageList/Message/ImageMessage/ImagePreview.js +142 -0
  57. package/dist/components/MessageList/Message/ImageMessage/ImagePreview.vue.d.ts +20 -0
  58. package/dist/components/MessageList/Message/Message.vue.d.ts +8 -0
  59. package/dist/components/MessageList/Message/MessageLayout/MessageActionDropdown/MessageActionDropdown.js +3 -3
  60. package/dist/components/MessageList/Message/MessageLayout/MessageLayout.js +69 -58
  61. package/dist/components/MessageList/Message/MessageLayout/MessageLayout.vue.d.ts +8 -0
  62. package/dist/components/MessageList/Message/MessageLayout/MessageMeta/MessageMeta.js +37 -28
  63. package/dist/components/MessageList/Message/index.js +8 -4
  64. package/dist/components/MessageList/MessageList.js +109 -91
  65. package/dist/components/MessageList/MessageList.vue.d.ts +1 -1
  66. package/dist/components/MessageList/index.d.ts +21 -3
  67. package/dist/components/ScheduleRoomPanel/RoomDetail.js +22 -22
  68. package/dist/components/ScheduleRoomPanel/RoomEdit.js +1 -1
  69. package/dist/components/ScheduleRoomPanel/RoomShare.js +4 -4
  70. package/dist/components/ScheduleRoomPanel/ScheduleRoomPanel.js +1 -1
  71. package/dist/components/ScheduleRoomPanel/ScheduledRoomList.js +1 -1
  72. package/dist/components/Search/SearchResults/SearchResultsItem/Message/Message.js +6 -6
  73. package/dist/components/Search/SearchResults/SearchResultsItem/Message/Message.vue.d.ts +1 -1
  74. package/dist/components/UIKitModal/chatErrorModal/chatErrorModal.d.ts +72 -0
  75. package/dist/components/UIKitModal/chatErrorModal/chatErrorModal.js +95 -0
  76. package/dist/components/UIKitModal/chatErrorModal/i18n/en-US/index.d.ts +40 -0
  77. package/dist/components/UIKitModal/chatErrorModal/i18n/en-US/index.js +51 -0
  78. package/dist/components/UIKitModal/chatErrorModal/i18n/index.d.ts +4 -0
  79. package/dist/components/UIKitModal/chatErrorModal/i18n/index.js +6 -0
  80. package/dist/components/UIKitModal/chatErrorModal/i18n/zh-CN/index.d.ts +40 -0
  81. package/dist/components/UIKitModal/chatErrorModal/i18n/zh-CN/index.js +51 -0
  82. package/dist/components/UIKitModal/chatErrorModal/index.d.ts +3 -0
  83. package/dist/components/UIKitModal/chatErrorModal/index.js +11 -0
  84. package/dist/components/VideoSettingPanel/index.js +1 -1
  85. package/dist/hooks/useReadReceipt/useReadReceipt.js +44 -41
  86. package/dist/index-CTthrJb2.js +1461 -0
  87. package/dist/index-DXC5bPY4.js +2174 -0
  88. package/dist/{index-Do-2CngU.js → index-DuAffztD.js} +115 -142
  89. package/dist/{index-7vNB_Vx8.js → index-hHVD-MG2.js} +1 -1
  90. package/dist/index.d.ts +1 -1
  91. package/dist/index.js +150 -149
  92. package/dist/states/GroupSettingState/GroupSettingState.js +109 -102
  93. package/dist/states/LoginState.js +43 -43
  94. package/dist/states/MessageActionState/MessageActionState.js +83 -223
  95. package/dist/states/MessageInputState/MessageInputState.js +111 -82
  96. package/dist/states/MessageInputState/type.d.ts +36 -10
  97. package/dist/states/MessageInputState/utils.d.ts +1 -5
  98. package/dist/states/MessageListState/MessageListState.d.ts +1 -1
  99. package/dist/states/MessageListState/MessageListState.js +26 -23
  100. package/dist/states/RoomParticipantState/index.js +83 -24
  101. package/dist/states/RoomParticipantState/participantEventManager.d.ts +2 -2
  102. package/dist/states/RoomParticipantState/participantEventManager.js +217 -205
  103. package/dist/states/RoomParticipantState/participantManager.d.ts +4 -0
  104. package/dist/states/RoomParticipantState/participantManager.js +159 -127
  105. package/dist/states/RoomState/callManager.d.ts +3 -3
  106. package/dist/states/RoomState/callManager.js +20 -20
  107. package/dist/states/RoomState/common.d.ts +3 -2
  108. package/dist/states/RoomState/common.js +34 -24
  109. package/dist/states/RoomState/roomManager.d.ts +0 -1
  110. package/dist/states/RoomState/roomManager.js +21 -27
  111. package/dist/states/RoomState/scheduleManager.js +2 -2
  112. package/dist/styles/index.css +1 -1
  113. package/dist/{chat/index.d.ts → subEntry/chat/chat.d.ts} +2160 -2087
  114. package/dist/subEntry/chat/chat.js +89 -0
  115. package/dist/subEntry/chat/index.d.ts +11 -0
  116. package/dist/subEntry/chat/index.js +81 -0
  117. package/dist/{chat → subEntry/chat}/server.js +4 -4
  118. package/dist/subEntry/live/index.js +46 -45
  119. package/dist/subEntry/room/index.js +39 -38
  120. package/dist/types/beauty.d.ts +20 -0
  121. package/dist/types/index.js +37 -36
  122. package/dist/types/participant.d.ts +2 -0
  123. package/dist/types/room.d.ts +45 -1
  124. package/dist/types/room.js +4 -3
  125. package/dist/{useId-CtirfF0W.js → useId-B1VwPJLm.js} +1 -1
  126. package/dist/utils/call.js +77 -71
  127. package/dist/{utils-DaB7eSu5.js → utils-BU8IkP_V.js} +1 -1
  128. package/package.json +8 -7
  129. package/src/components/AudioSettingPanel/index.vue +4 -5
  130. package/src/components/ConversationList/ConversationActions/ConversationActions.vue +7 -1
  131. package/src/components/ConversationList/ConversationCreate/ConversationCreate.vue +5 -1
  132. package/src/components/ConversationList/ConversationList.vue +0 -1
  133. package/src/components/ConversationList/ConversationPreview/ConversationPreview.scss +10 -2
  134. package/src/components/ConversationList/ConversationPreview/ConversationPreviewAbstract.vue +32 -1
  135. package/src/components/ConversationList/ConversationPreview/ConversationPreviewTitle.vue +3 -2
  136. package/src/components/ConversationList/ConversationPreview/ConversationPreviewUI.vue +15 -0
  137. package/src/components/ConversationList/ConversationPreview/utils.ts +98 -28
  138. package/src/components/ConversationList/i18n/en-US.ts +11 -1
  139. package/src/components/ConversationList/i18n/zh-CN.ts +11 -1
  140. package/src/components/MessageInput/MessageInput.module.scss +1 -0
  141. package/src/components/MessageInput/QuotedMessagePreview/QuotedMessagePreview.vue +19 -22
  142. package/src/components/MessageInput/TextEditor/Editor.scss +25 -0
  143. package/src/components/MessageInput/TextEditor/EditorCore.ts +79 -99
  144. package/src/components/MessageInput/TextEditor/TextEditor.vue +64 -68
  145. package/src/components/MessageInput/TextEditor/extensions/MentionSuggestion.vue +449 -0
  146. package/src/components/MessageInput/TextEditor/extensions/emojiExtension.ts +22 -0
  147. package/src/components/MessageInput/TextEditor/extensions/enterKeyExtension.ts +22 -0
  148. package/src/components/MessageInput/TextEditor/extensions/index.ts +8 -0
  149. package/src/components/MessageInput/TextEditor/extensions/mentionExtension.ts +87 -0
  150. package/src/components/MessageInput/i18n/en-US.ts +3 -0
  151. package/src/components/MessageInput/i18n/zh-CN.ts +3 -0
  152. package/src/components/MessageList/Message/ImageMessage/ImageMessage.vue +49 -0
  153. package/src/components/MessageList/Message/ImageMessage/ImagePreview.vue +344 -0
  154. package/src/components/MessageList/Message/Message.vue +6 -0
  155. package/src/components/MessageList/Message/MessageLayout/MessageLayout.vue +8 -1
  156. package/src/components/MessageList/Message/MessageLayout/MessageMeta/MessageMeta.vue +12 -3
  157. package/src/components/MessageList/MessageList.vue +50 -14
  158. package/src/components/ScheduleRoomPanel/RoomDetail.vue +1 -0
  159. package/src/components/ScheduleRoomPanel/RoomEdit.vue +2 -1
  160. package/src/components/ScheduleRoomPanel/RoomShare.vue +1 -0
  161. package/src/components/ScheduleRoomPanel/ScheduleRoomPanel.vue +1 -0
  162. package/src/components/ScheduleRoomPanel/ScheduledRoomList.vue +1 -0
  163. package/src/components/Search/SearchResults/SearchResultsItem/Message/Message.vue +30 -31
  164. package/src/components/UIKitModal/chatErrorModal/chatErrorModal.ts +205 -0
  165. package/src/components/UIKitModal/chatErrorModal/i18n/en-US/index.ts +56 -0
  166. package/src/components/UIKitModal/chatErrorModal/i18n/index.ts +4 -0
  167. package/src/components/UIKitModal/chatErrorModal/i18n/zh-CN/index.ts +56 -0
  168. package/src/components/UIKitModal/chatErrorModal/index.ts +16 -0
  169. package/src/components/VideoSettingPanel/index.vue +1 -0
  170. package/src/hooks/useReadReceipt/useReadReceipt.ts +5 -4
  171. package/src/index.ts +1 -1
  172. package/src/{chat/index.ts → subEntry/chat/chat.ts} +25 -18
  173. package/src/subEntry/chat/index.ts +13 -0
  174. package/src/{chat → subEntry/chat}/server.ts +3 -3
  175. package/src/types/beauty.ts +20 -0
  176. package/src/types/participant.ts +3 -0
  177. package/src/types/room.ts +49 -1
  178. package/src/utils/call.ts +8 -0
  179. package/dist/chat/index.js +0 -59
  180. package/dist/index-ZILx4LYk.js +0 -4826
  181. package/dist/states/SearchState.d.ts +0 -314
  182. /package/dist/{chat → subEntry/chat}/server.d.ts +0 -0
@@ -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;
@@ -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,50 +1,72 @@
1
- import { defineComponent as m, computed as s, createElementBlock as r, openBlock as _, normalizeClass as v, Fragment as c, createElementVNode as u, createTextVNode as P, toDisplayString as o, unref as x } from "vue";
2
- import { useUIKit as d } from "@tencentcloud/uikit-base-component-vue3";
3
- import { getLatestMessagePreview as f } from "./utils.js";
4
- import { JSONStringToParse as p } from "../../../utils/json.js";
5
- import { _ as q } from "../../../_plugin-vue_export-helper-CHgC5LLL.js";
6
- const b = /* @__PURE__ */ m({
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
+ import { useUIKit as I } from "@tencentcloud/uikit-base-component-vue3";
3
+ import { getLatestMessagePreview as $ } from "./utils.js";
4
+ import { JSONStringToParse as g } from "../../../utils/json.js";
5
+ import { ConversationType as x } from "../../../types/engine.js";
6
+ import { _ as U } from "../../../_plugin-vue_export-helper-CHgC5LLL.js";
7
+ const h = /* @__PURE__ */ p({
7
8
  __name: "ConversationPreviewAbstract",
8
9
  props: {
9
10
  conversation: {}
10
11
  },
11
- setup(w) {
12
- const t = w, { t: a } = d(), i = s(() => {
13
- var n;
14
- const { draftText: e = "" } = (t == null ? void 0 : t.conversation) || {};
15
- return ((n = p(e)) == null ? void 0 : n.abstract) || e;
16
- }), l = s(() => f(t.conversation, a));
17
- return (e, n) => (_(), r("div", {
18
- class: v(e.$style.conversationPreview__abstract)
12
+ setup(d) {
13
+ const o = d, { t: n } = I(), P = v(() => {
14
+ var t;
15
+ const { draftText: e = "" } = (o == null ? void 0 : o.conversation) || {};
16
+ return ((t = g(e)) == null ? void 0 : t.abstract) || e;
17
+ }), b = v(() => $(o.conversation, n)), w = v(() => {
18
+ const { type: e, groupAtInfoList: t } = (o == null ? void 0 : o.conversation) || {};
19
+ if (e !== x.GROUP || !(t != null && t.length))
20
+ return "";
21
+ const q = [
22
+ `[${n("TUIConversation.someone_at_me")}]`,
23
+ `[${n("TUIConversation.at_all")}]`,
24
+ `[${n("TUIConversation.at_all")}][${n("TUIConversation.someone_at_me")}]`
25
+ ];
26
+ let f = "";
27
+ return t.forEach((i) => {
28
+ var l;
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
+ }), f;
32
+ });
33
+ return (e, t) => (s(), _("div", {
34
+ class: c(e.$style.conversationPreview__abstract)
19
35
  }, [
20
- i.value ? (_(), r(c, { key: 0 }, [
21
- u("label", {
22
- class: v(e.$style.conversationPreview__drafts)
23
- }, "[" + o(x(a)("TUIConversation.Drafts")) + "]", 3),
24
- P(" " + o(" ") + " " + o(i.value), 1)
25
- ], 64)) : (_(), r(c, { key: 1 }, [
26
- P(o(l.value), 1)
36
+ P.value ? (s(), _(u, { key: 0 }, [
37
+ y("label", {
38
+ class: c(e.$style.conversationPreview__abstract__drafts)
39
+ }, "[" + r(T(n)("TUIConversation.Drafts")) + "]", 3),
40
+ m(" " + r(" ") + " " + r(P.value), 1)
41
+ ], 64)) : (s(), _(u, { key: 1 }, [
42
+ w.value ? (s(), _("label", {
43
+ key: 0,
44
+ class: c(e.$style["conversationPreview__abstract__at-info"])
45
+ }, r(w.value), 3)) : C("", !0),
46
+ m(" " + r(b.value), 1)
27
47
  ], 64))
28
48
  ], 2));
29
49
  }
30
- }), g = "_conversationPreview_29xqv_12", y = "_conversationPreview__avatar_29xqv_34", M = "_conversationPreview__content_29xqv_38", T = "_conversationPreview__header_29xqv_42", h = "_conversationPreview__title_29xqv_48", k = "_conversationPreview__time_29xqv_58", C = "_conversationPreview__footer_29xqv_65", A = "_conversationPreview__abstract_29xqv_70", D = "_conversationPreview__external_29xqv_79", N = "_conversationPreview__unread_29xqv_88", S = "_conversationPreview__actions_29xqv_108", $ = {
31
- conversationPreview: g,
32
- "conversationPreview--active": "_conversationPreview--active_29xqv_28",
33
- "conversationPreview--pin": "_conversationPreview--pin_29xqv_31",
34
- conversationPreview__avatar: y,
35
- conversationPreview__content: M,
36
- conversationPreview__header: T,
37
- conversationPreview__title: h,
38
- conversationPreview__time: k,
39
- conversationPreview__footer: C,
40
- conversationPreview__abstract: A,
41
- conversationPreview__external: D,
42
- conversationPreview__unread: N,
43
- "unread-count": "_unread-count_29xqv_95",
44
- conversationPreview__actions: S
45
- }, B = {
46
- $style: $
47
- }, z = /* @__PURE__ */ q(b, [["__cssModules", B]]);
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
+ conversationPreview: k,
52
+ "conversationPreview--active": "_conversationPreview--active_3f9qu_28",
53
+ "conversationPreview--pin": "_conversationPreview--pin_3f9qu_31",
54
+ conversationPreview__avatar: M,
55
+ conversationPreview__content: N,
56
+ conversationPreview__header: A,
57
+ conversationPreview__title: D,
58
+ conversationPreview__time: E,
59
+ conversationPreview__footer: S,
60
+ conversationPreview__abstract: V,
61
+ conversationPreview__abstract__drafts: B,
62
+ "conversationPreview__abstract__at-info": "_conversationPreview__abstract__at-info_3f9qu_82",
63
+ conversationPreview__external: L,
64
+ conversationPreview__unread: O,
65
+ "unread-count": "_unread-count_3f9qu_101",
66
+ conversationPreview__actions: z
67
+ }, G = {
68
+ $style: F
69
+ }, W = /* @__PURE__ */ U(h, [["__cssModules", G]]);
48
70
  export {
49
- z as default
71
+ W as default
50
72
  };
@@ -1,42 +1,44 @@
1
- import { defineComponent as i, computed as v, createElementBlock as a, 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
- import { getTimeStamp as m } from "../../../utils/time.js";
4
- import { _ as l } from "../../../_plugin-vue_export-helper-CHgC5LLL.js";
5
- const u = /* @__PURE__ */ i({
3
+ import { getTimeStamp as u } from "../../../utils/time.js";
4
+ import { _ as f } from "../../../_plugin-vue_export-helper-CHgC5LLL.js";
5
+ const m = /* @__PURE__ */ i({
6
6
  __name: "ConversationPreviewTimestamp",
7
7
  props: {
8
8
  conversation: {}
9
9
  },
10
- setup(n) {
11
- const t = n, { language: r } = P(), _ = v(() => {
10
+ setup(t) {
11
+ const n = t, { language: _ } = P(), r = a(() => {
12
12
  var e, o;
13
- return m({
14
- time: Number(((o = (e = t.conversation) == null ? void 0 : e.lastMessage) == null ? void 0 : o.lastTime) || 0) * 1e3,
15
- language: r.value
13
+ return u({
14
+ time: Number(((o = (e = n.conversation) == null ? void 0 : e.lastMessage) == null ? void 0 : o.lastTime) || 0) * 1e3,
15
+ language: _.value
16
16
  }) || "";
17
17
  });
18
- return (e, o) => (s(), a("div", {
18
+ return (e, o) => (v(), s("div", {
19
19
  class: c(e.$style.conversationPreview__time)
20
- }, w(_.value), 3));
20
+ }, w(r.value), 3));
21
21
  }
22
- }), p = "_conversationPreview_29xqv_12", x = "_conversationPreview__avatar_29xqv_34", d = "_conversationPreview__content_29xqv_38", q = "_conversationPreview__header_29xqv_42", f = "_conversationPreview__title_29xqv_48", g = "_conversationPreview__time_29xqv_58", b = "_conversationPreview__footer_29xqv_65", h = "_conversationPreview__abstract_29xqv_70", y = "_conversationPreview__external_29xqv_79", M = "_conversationPreview__unread_29xqv_88", T = "_conversationPreview__actions_29xqv_108", C = {
23
- conversationPreview: p,
24
- "conversationPreview--active": "_conversationPreview--active_29xqv_28",
25
- "conversationPreview--pin": "_conversationPreview--pin_29xqv_31",
26
- conversationPreview__avatar: x,
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
+ conversationPreview: l,
24
+ "conversationPreview--active": "_conversationPreview--active_3f9qu_28",
25
+ "conversationPreview--pin": "_conversationPreview--pin_3f9qu_31",
26
+ conversationPreview__avatar: p,
27
27
  conversationPreview__content: d,
28
28
  conversationPreview__header: q,
29
- conversationPreview__title: f,
29
+ conversationPreview__title: b,
30
30
  conversationPreview__time: g,
31
- conversationPreview__footer: b,
31
+ conversationPreview__footer: x,
32
32
  conversationPreview__abstract: h,
33
- conversationPreview__external: y,
34
- conversationPreview__unread: M,
35
- "unread-count": "_unread-count_29xqv_95",
36
- conversationPreview__actions: T
37
- }, k = {
38
- $style: C
39
- }, z = /* @__PURE__ */ l(u, [["__cssModules", k]]);
33
+ conversationPreview__abstract__drafts: y,
34
+ "conversationPreview__abstract__at-info": "_conversationPreview__abstract__at-info_3f9qu_82",
35
+ conversationPreview__external: M,
36
+ conversationPreview__unread: T,
37
+ "unread-count": "_unread-count_3f9qu_101",
38
+ conversationPreview__actions: C
39
+ }, B = {
40
+ $style: k
41
+ }, E = /* @__PURE__ */ f(m, [["__cssModules", B]]);
40
42
  export {
41
- z as default
43
+ E as default
42
44
  };
@@ -1,35 +1,39 @@
1
- import { defineComponent as i, createElementBlock as v, openBlock as s, normalizeClass as a, toDisplayString as c, unref as w } from "vue";
2
- import { _ as P } from "../../../_plugin-vue_export-helper-CHgC5LLL.js";
3
- const l = /* @__PURE__ */ i({
1
+ import { defineComponent as r, computed as i, createElementBlock as a, openBlock as s, normalizeClass as v, toDisplayString as c } from "vue";
2
+ import { _ as w } from "../../../_plugin-vue_export-helper-CHgC5LLL.js";
3
+ const P = /* @__PURE__ */ r({
4
4
  __name: "ConversationPreviewTitle",
5
5
  props: {
6
6
  conversation: {}
7
7
  },
8
- setup(r) {
9
- var e, o;
10
- const n = r, _ = ((o = (e = n == null ? void 0 : n.conversation) == null ? void 0 : e.getShowName) == null ? void 0 : o.call(e)) || "";
11
- return (t, k) => (s(), v("div", {
12
- class: a([t.$style.conversationPreview__title, t.$style.textEllipsis])
13
- }, c(w(_)), 3));
8
+ setup(t) {
9
+ const n = t, _ = i(() => {
10
+ var e, o;
11
+ return ((o = (e = n == null ? void 0 : n.conversation) == null ? void 0 : e.getShowName) == null ? void 0 : o.call(e)) || "";
12
+ });
13
+ return (e, o) => (s(), a("div", {
14
+ class: v([e.$style.conversationPreview__title, e.$style.textEllipsis])
15
+ }, c(_.value), 3));
14
16
  }
15
- }), x = "_conversationPreview_29xqv_12", u = "_conversationPreview__avatar_29xqv_34", q = "_conversationPreview__content_29xqv_38", d = "_conversationPreview__header_29xqv_42", m = "_conversationPreview__title_29xqv_48", f = "_conversationPreview__time_29xqv_58", p = "_conversationPreview__footer_29xqv_65", h = "_conversationPreview__abstract_29xqv_70", y = "_conversationPreview__external_29xqv_79", b = "_conversationPreview__unread_29xqv_88", C = "_conversationPreview__actions_29xqv_108", $ = {
16
- conversationPreview: x,
17
- "conversationPreview--active": "_conversationPreview--active_29xqv_28",
18
- "conversationPreview--pin": "_conversationPreview--pin_29xqv_31",
19
- conversationPreview__avatar: u,
20
- conversationPreview__content: q,
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
+ conversationPreview: u,
19
+ "conversationPreview--active": "_conversationPreview--active_3f9qu_28",
20
+ "conversationPreview--pin": "_conversationPreview--pin_3f9qu_31",
21
+ conversationPreview__avatar: f,
22
+ conversationPreview__content: l,
21
23
  conversationPreview__header: d,
22
- conversationPreview__title: m,
23
- conversationPreview__time: f,
24
+ conversationPreview__title: q,
25
+ conversationPreview__time: m,
24
26
  conversationPreview__footer: p,
25
- conversationPreview__abstract: h,
26
- conversationPreview__external: y,
27
- conversationPreview__unread: b,
28
- "unread-count": "_unread-count_29xqv_95",
27
+ conversationPreview__abstract: b,
28
+ conversationPreview__abstract__drafts: h,
29
+ "conversationPreview__abstract__at-info": "_conversationPreview__abstract__at-info_3f9qu_82",
30
+ conversationPreview__external: x,
31
+ conversationPreview__unread: y,
32
+ "unread-count": "_unread-count_3f9qu_101",
29
33
  conversationPreview__actions: C
30
34
  }, g = {
31
35
  $style: $
32
- }, E = /* @__PURE__ */ P(l, [["__cssModules", g]]);
36
+ }, D = /* @__PURE__ */ w(P, [["__cssModules", g]]);
33
37
  export {
34
- E as default
38
+ D as default
35
39
  };
@@ -1,4 +1,4 @@
1
- import { ConversationModel } from '../../../types';
1
+ import { ConversationModel } from '../../../types/engine';
2
2
 
3
3
  declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
4
  conversation: ConversationModel;