tuikit-atomicx-vue3 4.5.1 → 4.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-jPzZ5INK.js → MessageInput.vue_vue_type_script_setup_true_lang-3RVYOdkv.js} +38 -38
- package/dist/{PopoverPortal-DghpKKm8.js → PopoverPortal-DV6zFXcf.js} +3 -3
- package/dist/{PopoverTrigger-BajjNkGO.js → PopoverTrigger-DIjW4PKa.js} +4 -4
- package/dist/{PopperContent-SLoFuK7k.js → PopperContent-D__dbwpA.js} +1 -1
- package/dist/{Teleport-DFrneqLM.js → Teleport-98QrIYDI.js} +278 -268
- package/dist/baseComp/Modal/Modal.js +3 -3
- package/dist/components/AudioSettingPanel/index.js +14 -14
- package/dist/components/BarrageInput/EmojiPicker/EmojiPicker.js +2 -2
- package/dist/components/BarrageInput/TextEditor/CharacterCountExtension.js +1 -1
- package/dist/components/BarrageInput/TextEditor/EditorCore.js +4 -4
- package/dist/components/ConversationList/ConversationActions/ConversationActions.js +53 -50
- package/dist/components/ConversationList/ConversationActions/ConversationActions.vue.d.ts +2 -0
- package/dist/components/ConversationList/ConversationCreate/ConversationCreate.js +25 -25
- package/dist/components/ConversationList/ConversationList.vue.d.ts +16 -0
- package/dist/components/ConversationList/ConversationPreview/ConversationPreview.vue.d.ts +16 -0
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewAbstract.js +18 -18
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewTimestamp.js +13 -13
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewTitle.js +11 -11
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewUI.js +84 -75
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewUI.vue.d.ts +4 -0
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewUnread.js +14 -14
- package/dist/components/ConversationList/i18n/en-US.d.ts +1 -0
- package/dist/components/ConversationList/i18n/en-US.js +2 -1
- package/dist/components/ConversationList/i18n/zh-CN.d.ts +1 -0
- package/dist/components/ConversationList/i18n/zh-CN.js +2 -1
- package/dist/components/ConversationList/index.d.ts +48 -0
- package/dist/components/LiveScenePanel/index.js +9 -10
- package/dist/components/MessageInput/AttachmentPicker/index.js +2 -2
- package/dist/components/MessageInput/EmojiPicker/EmojiPicker.js +2 -2
- package/dist/components/MessageInput/MessageInput.js +1 -1
- package/dist/components/MessageInput/TextEditor/EditorCore.js +1 -1
- package/dist/components/MessageInput/TextEditor/extensions/MentionSuggestion.js +3 -3
- package/dist/components/MessageInput/TextEditor/extensions/characterCountExtension.js +1 -1
- package/dist/components/MessageInput/TextEditor/extensions/emojiExtension.js +1 -1
- package/dist/components/MessageInput/TextEditor/extensions/enterKeyExtension.js +1 -1
- package/dist/components/MessageInput/TextEditor/extensions/imageExtension.js +2 -2
- package/dist/components/MessageInput/TextEditor/extensions/mentionExtension.js +2 -2
- package/dist/components/MessageInput/TextEditor/index.js +1 -1
- package/dist/components/MessageInput/index.js +1 -1
- package/dist/components/MessageList/Message/MessageLayout/MessageActionDropdown/MessageActionDropdown.js +3 -3
- package/dist/components/MessageList/Message/MessageLayout/MessageMeta/MessageMeta.js +37 -28
- package/dist/components/MessageList/MessageList.js +77 -67
- package/dist/components/ScheduleRoomPanel/RoomDetail.js +22 -22
- package/dist/components/ScheduleRoomPanel/RoomEdit.js +1 -1
- package/dist/components/ScheduleRoomPanel/RoomShare.js +4 -4
- package/dist/components/ScheduleRoomPanel/ScheduleRoomPanel.js +1 -1
- package/dist/components/ScheduleRoomPanel/ScheduledRoomList.js +1 -1
- package/dist/components/UIKitModal/chatErrorModal/chatErrorModal.d.ts +72 -0
- package/dist/components/UIKitModal/chatErrorModal/chatErrorModal.js +95 -0
- package/dist/components/UIKitModal/chatErrorModal/i18n/en-US/index.d.ts +40 -0
- package/dist/components/UIKitModal/chatErrorModal/i18n/en-US/index.js +51 -0
- package/dist/components/UIKitModal/chatErrorModal/i18n/index.d.ts +4 -0
- package/dist/components/UIKitModal/chatErrorModal/i18n/index.js +6 -0
- package/dist/components/UIKitModal/chatErrorModal/i18n/zh-CN/index.d.ts +40 -0
- package/dist/components/UIKitModal/chatErrorModal/i18n/zh-CN/index.js +51 -0
- package/dist/components/UIKitModal/chatErrorModal/index.d.ts +3 -0
- package/dist/components/UIKitModal/chatErrorModal/index.js +11 -0
- package/dist/components/VideoSettingPanel/index.js +1 -1
- package/dist/hooks/useReadReceipt/useReadReceipt.js +44 -41
- package/dist/index-CTthrJb2.js +1461 -0
- package/dist/{index-CzCDLp99.js → index-DXC5bPY4.js} +32 -32
- package/dist/{index-C8Jw_xE4.js → index-DuAffztD.js} +1731 -1648
- package/dist/{index-CiYL_XsE.js → index-hHVD-MG2.js} +1 -1
- package/dist/index.js +59 -58
- package/dist/states/GroupSettingState/GroupSettingState.js +109 -102
- package/dist/states/LoginState.js +43 -43
- package/dist/states/MessageInputState/MessageInputState.js +75 -78
- package/dist/states/MessageListState/MessageListState.js +26 -23
- package/dist/states/RoomParticipantState/index.js +83 -24
- package/dist/states/RoomParticipantState/participantEventManager.d.ts +2 -2
- package/dist/states/RoomParticipantState/participantEventManager.js +217 -205
- package/dist/states/RoomParticipantState/participantManager.d.ts +4 -0
- package/dist/states/RoomParticipantState/participantManager.js +159 -127
- package/dist/states/RoomState/callManager.d.ts +3 -3
- package/dist/states/RoomState/callManager.js +20 -20
- package/dist/states/RoomState/common.d.ts +3 -2
- package/dist/states/RoomState/common.js +34 -24
- package/dist/states/RoomState/roomManager.d.ts +0 -1
- package/dist/states/RoomState/roomManager.js +21 -27
- package/dist/states/RoomState/scheduleManager.js +2 -2
- package/dist/styles/index.css +1 -1
- package/dist/subEntry/chat/chat.d.ts +48 -0
- package/dist/subEntry/live/index.js +46 -45
- package/dist/subEntry/room/index.js +39 -38
- package/dist/types/beauty.d.ts +20 -0
- package/dist/types/index.js +37 -36
- package/dist/types/participant.d.ts +2 -0
- package/dist/types/room.d.ts +45 -1
- package/dist/types/room.js +4 -3
- package/dist/{useId-D5WE76CM.js → useId-B1VwPJLm.js} +1 -1
- package/dist/utils/call.js +77 -71
- package/dist/{utils-CttDpxqz.js → utils-BU8IkP_V.js} +1 -1
- package/package.json +5 -6
- package/src/components/AudioSettingPanel/index.vue +4 -5
- package/src/components/ConversationList/ConversationActions/ConversationActions.vue +7 -1
- package/src/components/ConversationList/ConversationCreate/ConversationCreate.vue +5 -1
- package/src/components/ConversationList/ConversationList.vue +0 -1
- package/src/components/ConversationList/ConversationPreview/ConversationPreview.scss +2 -2
- package/src/components/ConversationList/ConversationPreview/ConversationPreviewUI.vue +15 -0
- package/src/components/ConversationList/i18n/en-US.ts +1 -0
- package/src/components/ConversationList/i18n/zh-CN.ts +1 -0
- package/src/components/LiveScenePanel/index.vue +0 -1
- package/src/components/MessageInput/MessageInput.module.scss +1 -0
- package/src/components/MessageList/Message/MessageLayout/MessageMeta/MessageMeta.vue +12 -3
- package/src/components/MessageList/MessageList.vue +14 -0
- package/src/components/ScheduleRoomPanel/RoomDetail.vue +1 -0
- package/src/components/ScheduleRoomPanel/RoomEdit.vue +2 -1
- package/src/components/ScheduleRoomPanel/RoomShare.vue +1 -0
- package/src/components/ScheduleRoomPanel/ScheduleRoomPanel.vue +1 -0
- package/src/components/ScheduleRoomPanel/ScheduledRoomList.vue +1 -0
- package/src/components/UIKitModal/chatErrorModal/chatErrorModal.ts +205 -0
- package/src/components/UIKitModal/chatErrorModal/i18n/en-US/index.ts +56 -0
- package/src/components/UIKitModal/chatErrorModal/i18n/index.ts +4 -0
- package/src/components/UIKitModal/chatErrorModal/i18n/zh-CN/index.ts +56 -0
- package/src/components/UIKitModal/chatErrorModal/index.ts +16 -0
- package/src/components/VideoSettingPanel/index.vue +1 -0
- package/src/hooks/useReadReceipt/useReadReceipt.ts +5 -4
- package/src/types/beauty.ts +20 -0
- package/src/types/participant.ts +3 -0
- package/src/types/room.ts +49 -1
- package/src/utils/call.ts +8 -0
- 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
|
|
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
|
|
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((
|
|
27
|
+
return t.forEach((i) => {
|
|
28
28
|
var l;
|
|
29
|
-
const a = (l =
|
|
30
|
-
a && a >= 1 && a <= 3 && (f =
|
|
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) => (
|
|
33
|
+
return (e, t) => (s(), _("div", {
|
|
34
34
|
class: c(e.$style.conversationPreview__abstract)
|
|
35
35
|
}, [
|
|
36
|
-
P.value ? (
|
|
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)) : (
|
|
42
|
-
w.value ? (
|
|
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 = "
|
|
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--
|
|
53
|
-
"conversationPreview--pin": "_conversationPreview--
|
|
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-
|
|
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-
|
|
66
|
-
conversationPreview__actions:
|
|
67
|
-
},
|
|
68
|
-
$style:
|
|
69
|
-
}, W = /* @__PURE__ */ U(h, [["__cssModules",
|
|
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
|
};
|
package/dist/components/ConversationList/ConversationPreview/ConversationPreviewTimestamp.js
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
import { defineComponent as
|
|
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__ */
|
|
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(),
|
|
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) => (
|
|
18
|
+
return (e, o) => (v(), s("div", {
|
|
19
19
|
class: c(e.$style.conversationPreview__time)
|
|
20
|
-
}, w(
|
|
20
|
+
}, w(r.value), 3));
|
|
21
21
|
}
|
|
22
|
-
}), l = "
|
|
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--
|
|
25
|
-
"conversationPreview--pin": "_conversationPreview--
|
|
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:
|
|
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-
|
|
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-
|
|
37
|
+
"unread-count": "_unread-count_3f9qu_101",
|
|
38
38
|
conversationPreview__actions: C
|
|
39
39
|
}, B = {
|
|
40
40
|
$style: k
|
|
41
|
-
},
|
|
41
|
+
}, E = /* @__PURE__ */ f(m, [["__cssModules", B]]);
|
|
42
42
|
export {
|
|
43
|
-
|
|
43
|
+
E as default
|
|
44
44
|
};
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import { defineComponent as
|
|
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__ */
|
|
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, _ =
|
|
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) => (
|
|
14
|
-
class:
|
|
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 = "
|
|
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--
|
|
20
|
-
"conversationPreview--pin": "_conversationPreview--
|
|
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:
|
|
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-
|
|
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-
|
|
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
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import { useMouseHover as
|
|
10
|
-
import { useLongPress as
|
|
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
|
|
13
|
-
import { _ as
|
|
14
|
-
const
|
|
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: () =>
|
|
21
|
-
Title: { default: () =>
|
|
22
|
-
LastMessageAbstract: { default: () =>
|
|
23
|
-
LastMessageTimestamp: { default: () =>
|
|
24
|
-
Unread: { default: () =>
|
|
25
|
-
ConversationActions: { type: [Object, Function], default: () =>
|
|
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:
|
|
34
|
-
const
|
|
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
|
-
}),
|
|
37
|
-
|
|
38
|
-
|
|
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
|
|
41
|
-
|
|
42
|
-
},
|
|
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,
|
|
46
|
-
var
|
|
47
|
-
return
|
|
48
|
-
c("div",
|
|
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:
|
|
56
|
+
ref: d,
|
|
51
57
|
class: [
|
|
52
58
|
n.$style.conversationPreview,
|
|
53
59
|
e.className,
|
|
54
|
-
|
|
55
|
-
(e.isSelected || ((
|
|
56
|
-
!((
|
|
57
|
-
((
|
|
58
|
-
((
|
|
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
|
-
},
|
|
62
|
-
|
|
63
|
-
var v,
|
|
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:
|
|
72
|
+
class: _(n.$style.conversationPreview__avatar)
|
|
67
73
|
}, [
|
|
68
|
-
(
|
|
69
|
-
src: (
|
|
70
|
-
unreadCount: (
|
|
71
|
-
isDotUnreadCount: ((
|
|
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:
|
|
81
|
+
class: _(n.$style.conversationPreview__content)
|
|
76
82
|
}, [
|
|
77
|
-
(
|
|
78
|
-
(
|
|
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:
|
|
87
|
+
class: _(n.$style.conversationPreview__external)
|
|
82
88
|
}, [
|
|
83
|
-
(
|
|
84
|
-
e.enableActions && r.value && !
|
|
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, {
|
|
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
|
-
|
|
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:
|
|
107
|
+
}, e.actionsConfig, { onClose: C }), null, 16, ["conversation"])) : z("", !0)
|
|
99
108
|
]);
|
|
100
109
|
};
|
|
101
110
|
}
|
|
102
|
-
}),
|
|
103
|
-
conversationPreview:
|
|
104
|
-
"conversationPreview--active": "_conversationPreview--
|
|
105
|
-
"conversationPreview--pin": "_conversationPreview--
|
|
106
|
-
conversationPreview__avatar:
|
|
107
|
-
conversationPreview__content:
|
|
108
|
-
conversationPreview__header:
|
|
109
|
-
conversationPreview__title:
|
|
110
|
-
conversationPreview__time:
|
|
111
|
-
conversationPreview__footer:
|
|
112
|
-
conversationPreview__abstract:
|
|
113
|
-
conversationPreview__abstract__drafts:
|
|
114
|
-
"conversationPreview__abstract__at-info": "_conversationPreview__abstract__at-
|
|
115
|
-
conversationPreview__external:
|
|
116
|
-
conversationPreview__unread:
|
|
117
|
-
"unread-count": "_unread-
|
|
118
|
-
conversationPreview__actions:
|
|
119
|
-
},
|
|
120
|
-
$style:
|
|
121
|
-
},
|
|
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
|
-
|
|
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;
|