@tencentcloud/roomkit-electron-vue3 2.7.1 → 2.8.1
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/es/components/Chat/ChatKit/components/TUIChat/emoji-config/locales/zh_tw.d.ts +2 -0
- package/es/components/Chat/ChatKit/components/TUIChat/emoji-config/locales/zh_tw.mjs +67 -0
- package/es/components/Chat/ChatKit/components/TUIChat/index.vue.mjs +1 -1
- package/es/components/Chat/ChatKit/components/TUIChat/index.vue2.mjs +23 -10
- package/es/components/Chat/ChatKit/components/TUIChat/message-input/message-input-editor.vue.mjs +1 -1
- package/es/components/Chat/ChatKit/components/TUIChat/message-input/message-input-editor.vue2.mjs +14 -1
- package/es/components/Chat/ChatKit/components/TUIChat/message-input-toolbar/emoji-picker/emoji-picker-dialog.vue.d.ts +1 -1
- package/es/components/Chat/ChatKit/components/TUIChat/message-input-toolbar/index.vue.mjs +1 -1
- package/es/components/Chat/ChatKit/components/TUIChat/message-input-toolbar/index.vue2.mjs +13 -13
- package/es/components/Chat/ChatKit/components/TUIChat/message-list/index.vue.mjs +1 -1
- package/es/components/Chat/ChatKit/components/TUIChat/message-list/index.vue2.mjs +2 -2
- package/es/components/Chat/ChatKit/components/TUIChat/message-list/message-tool/index.vue.mjs +1 -1
- package/es/components/Chat/ChatKit/components/TUIChat/message-list/message-tool/index.vue2.mjs +1 -1
- package/es/components/Chat/ChatKit/components/TUIChat/message-list/message-tool/message-revoked.vue.mjs +1 -1
- package/es/components/Chat/ChatKit/components/TUIChat/message-list/read-receipt-panel/index.vue.mjs +1 -1
- package/es/components/Chat/ChatKit/components/TUIChat/message-list/read-receipt-panel/index.vue2.mjs +2 -1
- package/es/components/Chat/ChatKit/components/TUIChat/server.d.ts +1 -1
- package/es/components/Chat/ChatKit/components/TUIChat/server.mjs +12 -3
- package/es/components/Chat/ChatKit/components/TUIChat/utils/sendMessage.mjs +2 -1
- package/es/components/Chat/ChatKit/components/common/BottomPopup/index.vue.mjs +1 -1
- package/es/components/Chat/ChatKit/components/common/BottomPopup/index.vue2.mjs +2 -2
- package/es/components/Chat/ChatKit/components/common/ImagePreviewer/index.vue.mjs +1 -1
- package/es/components/Chat/ChatKit/components/common/Overlay/index.vue.mjs +1 -1
- package/es/components/Chat/ChatKit/components/common/Toast/index.vue.d.ts +1 -1
- package/es/components/Chat/ChatKit/components/common/Transfer/index.vue.mjs +1 -1
- package/es/components/Chat/ChatKit/components/common/Transfer/index.vue2.mjs +3 -3
- package/es/components/Chat/ChatKit/locales/en/TUIChat.d.ts +3 -0
- package/es/components/Chat/ChatKit/locales/en/TUIChat.mjs +5 -2
- package/es/components/Chat/ChatKit/locales/en/index.d.ts +3 -0
- package/es/components/Chat/ChatKit/locales/en/message.mjs +2 -2
- package/es/components/Chat/ChatKit/locales/index.d.ts +4 -1083
- package/es/components/Chat/ChatKit/locales/index.mjs +3 -1
- package/es/components/Chat/ChatKit/locales/zh_cn/TUIChat.d.ts +3 -0
- package/es/components/Chat/ChatKit/locales/zh_cn/TUIChat.mjs +4 -1
- package/es/components/Chat/ChatKit/locales/zh_cn/index.d.ts +3 -0
- package/es/components/Chat/ChatKit/locales/zh_tw/TUIChat.d.ts +153 -0
- package/es/components/Chat/ChatKit/locales/zh_tw/TUIChat.mjs +155 -0
- package/es/components/Chat/ChatKit/locales/zh_tw/TUIContact.d.ts +65 -0
- package/es/components/Chat/ChatKit/locales/zh_tw/TUIContact.mjs +67 -0
- package/es/components/Chat/ChatKit/locales/zh_tw/TUIConversation.d.ts +23 -0
- package/es/components/Chat/ChatKit/locales/zh_tw/TUIConversation.mjs +25 -0
- package/es/components/Chat/ChatKit/locales/zh_tw/TUIGroup.d.ts +86 -0
- package/es/components/Chat/ChatKit/locales/zh_tw/TUIGroup.mjs +88 -0
- package/es/components/Chat/ChatKit/locales/zh_tw/TUISearch.d.ts +40 -0
- package/es/components/Chat/ChatKit/locales/zh_tw/TUISearch.mjs +42 -0
- package/es/components/Chat/ChatKit/locales/zh_tw/component.d.ts +20 -0
- package/es/components/Chat/ChatKit/locales/zh_tw/component.mjs +22 -0
- package/es/components/Chat/ChatKit/locales/zh_tw/emoji.d.ts +3 -0
- package/es/components/Chat/ChatKit/locales/zh_tw/emoji.mjs +4 -0
- package/es/components/Chat/ChatKit/locales/zh_tw/evaluate.d.ts +10 -0
- package/es/components/Chat/ChatKit/locales/zh_tw/evaluate.mjs +12 -0
- package/es/components/Chat/ChatKit/locales/zh_tw/index.d.ts +513 -0
- package/es/components/Chat/ChatKit/locales/zh_tw/index.mjs +39 -0
- package/es/components/Chat/ChatKit/locales/zh_tw/message.d.ts +61 -0
- package/es/components/Chat/ChatKit/locales/zh_tw/message.mjs +63 -0
- package/es/components/Chat/ChatKit/locales/zh_tw/time.d.ts +36 -0
- package/es/components/Chat/ChatKit/locales/zh_tw/time.mjs +38 -0
- package/es/components/Chat/ChatKit/locales/zh_tw/translate.d.ts +163 -0
- package/es/components/Chat/ChatKit/locales/zh_tw/words.d.ts +13 -0
- package/es/components/Chat/ChatKit/locales/zh_tw/words.mjs +15 -0
- package/es/components/Chat/ChatKit/utils/riseInput.d.ts +1 -0
- package/es/components/Chat/ChatKit/utils/riseInput.mjs +45 -0
- package/es/components/Chat/index/index.vue.mjs +1 -1
- package/es/components/Chat/index/index.vue2.mjs +4 -19
- package/es/components/ManageMember/MemberControl/useMemberControlHooks.d.ts +2 -2
- package/es/components/ManageMember/MemberControl/useMemberControlHooks.mjs +3 -3
- package/es/components/ManageMember/MemberInvite/MemberInvite.vue2.mjs +1 -1
- package/es/components/PreRoom/PasswordDialog.vue.mjs +1 -1
- package/es/components/PreRoom/PasswordDialog.vue2.mjs +21 -12
- package/es/components/RoomContent/StreamContainer/index.vue.d.ts +1 -14
- package/es/components/RoomContent/StreamContainer/index.vue.mjs +1 -1
- package/es/components/RoomContent/StreamContainer/index.vue2.mjs +111 -262
- package/es/components/RoomContent/StreamContainer/useStreamContainerHooks.d.ts +2 -9
- package/es/components/RoomContent/StreamContainer/useStreamContainerHooks.mjs +11 -0
- package/es/components/RoomContent/index.vue.d.ts +1 -14
- package/es/components/RoomContent/index.vue.mjs +1 -1
- package/es/components/RoomContent/index.vue2.mjs +1 -4
- package/es/components/RoomFooter/AIControl.vue.d.ts +1 -5
- package/es/components/RoomFooter/AIControl.vue.mjs +1 -1
- package/es/components/RoomFooter/AIControl.vue2.mjs +5 -8
- package/es/components/RoomFooter/ApplyControl/MasterApplyControl/index.vue2.mjs +1 -1
- package/es/components/RoomFooter/BasicBeauty.vue.mjs +1 -1
- package/es/components/RoomFooter/BasicBeauty.vue2.mjs +6 -3
- package/es/components/RoomFooter/ChatControl.vue.mjs +2 -1
- package/es/components/RoomFooter/EndControl/index.vue.mjs +1 -1
- package/es/components/RoomFooter/EndControl/index.vue2.mjs +4 -6
- package/es/components/RoomFooter/EndControl/useEndControlHooks.mjs +8 -12
- package/es/components/RoomFooter/FullScreenControl.vue.mjs +1 -1
- package/es/components/RoomFooter/InviteControl.vue.mjs +1 -1
- package/es/components/RoomFooter/InviteControl.vue2.mjs +2 -1
- package/es/components/RoomFooter/ManageMemberControl.vue.mjs +1 -1
- package/es/components/RoomFooter/MoreControl/index.vue.mjs +1 -1
- package/es/components/RoomFooter/ScreenShareControl/Index.vue.mjs +1 -1
- package/es/components/RoomFooter/ScreenShareControl/Index.vue2.mjs +3 -3
- package/es/components/RoomFooter/VirtualBackground.vue.mjs +1 -1
- package/es/components/RoomFooter/VirtualBackground.vue2.mjs +5 -2
- package/es/components/RoomFooter/WhiteboardControl.vue.mjs +13 -3
- package/es/components/RoomFooter/index/index.vue.d.ts +1 -5
- package/es/components/RoomFooter/index/index.vue.mjs +1 -1
- package/es/components/RoomFooter/index/index.vue2.mjs +2 -8
- package/es/components/RoomHeader/UserInfo/index.vue.mjs +1 -1
- package/es/components/RoomHeader/UserInfo/index.vue2.mjs +3 -2
- package/es/components/RoomHeader/index/LayoutControl.vue2.mjs +1 -1
- package/es/components/RoomHeader/index/index.vue.d.ts +1 -5
- package/es/components/RoomHeader/index/index.vue.mjs +1 -1
- package/es/components/RoomHeader/index/index.vue2.mjs +0 -15
- package/es/components/RoomHome/RoomControl/index.vue.d.ts +0 -5
- package/es/components/RoomHome/RoomControl/index.vue.mjs +1 -1
- package/es/components/RoomHome/RoomControl/index.vue2.mjs +1 -2
- package/es/components/RoomInvite/InvitationNotification.vue2.mjs +1 -1
- package/es/components/RoomInvite/useRoomInviteHooks.mjs +2 -2
- package/es/components/RoomOverlay/RoomOverlay.vue.mjs +16 -0
- package/es/components/RoomOverlay/RoomOverlay.vue2.mjs +4 -0
- package/es/components/RoomOverlay/useRoomOverlayHooks.d.ts +15 -0
- package/es/components/RoomOverlay/useRoomOverlayHooks.mjs +30 -0
- package/es/components/RoomSidebar/index.vue.mjs +1 -1
- package/es/components/ScheduleConference/InvitePanel.vue.mjs +1 -1
- package/es/components/ScheduleConference/ScheduleConferencePanel/index.vue.mjs +1 -1
- package/es/components/ScheduleConference/ScheduleConferencePanel/index.vue2.mjs +11 -7
- package/es/components/ScheduleConference/ScheduleRoomControl.vue.mjs +1 -1
- package/es/components/ScheduleConference/ScheduleRoomControl.vue2.mjs +3 -3
- package/es/components/ScheduleConference/ScheduleRoomList.vue2.mjs +2 -2
- package/es/components/ScheduleConference/ShareLink.vue2.mjs +1 -1
- package/es/components/ScheduleConference/TimezonePicker.vue.mjs +1 -1
- package/es/components/Stream/MultiStreamView/index.vue.d.ts +33 -0
- package/es/components/{Chat/MessageList → Stream/MultiStreamView}/index.vue.mjs +2 -2
- package/es/components/Stream/MultiStreamView/index.vue2.mjs +99 -0
- package/es/components/Stream/MultiStreamView/useMultiStreamViewHook.d.ts +17 -0
- package/es/components/Stream/MultiStreamView/useMultiStreamViewHook.mjs +95 -0
- package/es/components/Stream/SingleStreamView/index.vue.d.ts +25 -0
- package/es/components/Stream/SingleStreamView/index.vue.mjs +30 -0
- package/es/components/Stream/SingleStreamView/index.vue2.mjs +4 -0
- package/es/components/{RoomContent/StreamRegion → Stream/common}/LocalScreenView/index.vue.mjs +1 -1
- package/es/components/{RoomContent/StreamRegion → Stream/common}/LocalScreenView/index.vue2.mjs +23 -58
- package/es/components/{RoomContent/StreamRegion → Stream/common}/StreamCover/index.vue.mjs +1 -1
- package/es/components/Stream/common/StreamList/index.vue.d.ts +27 -0
- package/es/components/{RoomContent → Stream/common}/StreamList/index.vue.mjs +2 -2
- package/es/components/{RoomContent → Stream/common}/StreamList/index.vue2.mjs +59 -95
- package/{lib/components/RoomContent/StreamRegion → es/components/Stream/common}/StreamPlay/index.vue.d.ts +9 -6
- package/es/components/{RoomContent/StreamRegion → Stream/common}/StreamPlay/index.vue.mjs +1 -1
- package/es/components/{RoomContent/StreamRegion → Stream/common}/StreamPlay/index.vue2.mjs +17 -12
- package/es/components/Stream/common/StreamRegion/index.vue.d.ts +25 -0
- package/es/components/{RoomContent → Stream/common}/StreamRegion/index.vue.mjs +2 -2
- package/es/components/{RoomContent → Stream/common}/StreamRegion/index.vue2.mjs +24 -27
- package/es/components/common/Language.vue.mjs +1 -1
- package/es/components/common/SwitchTheme.vue.mjs +1 -1
- package/es/components/common/base/Button.vue.d.ts +1 -1
- package/es/components/common/base/Checkbox/index.vue.d.ts +1 -1
- package/es/components/common/base/Dialog/index.vue.d.ts +4 -4
- package/es/components/common/base/IconButton.vue.d.ts +3 -3
- package/es/components/common/base/Input/index.vue.d.ts +4 -4
- package/es/components/common/base/Message/Message.vue.d.ts +4 -4
- package/es/components/common/base/MessageBox/index.vue.d.ts +1 -1
- package/es/components/common/base/Notification/index.vue.d.ts +1 -1
- package/es/components/common/base/Select/index.vue.d.ts +1 -1
- package/es/components/common/base/Select/index.vue2.mjs +1 -1
- package/es/components/common/base/Slider.vue.d.ts +1 -1
- package/es/components/{AITools → common/widgets/AITools}/AISubtitles.vue.mjs +2 -2
- package/es/components/{AITools → common/widgets/AITools}/AISubtitles.vue2.mjs +8 -7
- package/es/components/{AITools → common/widgets/AITools}/AITranscription.vue.mjs +2 -2
- package/es/components/{AITools → common/widgets/AITools}/AITranscription.vue2.mjs +9 -8
- package/es/conference.d.ts +6 -0
- package/es/conference.mjs +7 -1
- package/es/conference.vue.mjs +1 -1
- package/es/conference.vue2.mjs +14 -24
- package/es/extension/chatExtension.mjs +1 -1
- package/es/extension/utils/interact.mjs +1 -1
- package/es/extension/utils/setLanguage.mjs +1 -1
- package/es/hooks/useMasterApplyControl.mjs +2 -1
- package/es/index.d.ts +1 -0
- package/es/index.mjs +969 -1197
- package/es/locales/en-US.d.ts +2 -1
- package/es/locales/en-US.mjs +3 -2
- package/es/locales/zh-CN.d.ts +2 -1
- package/es/locales/zh-CN.mjs +2 -1
- package/es/preConference.vue.d.ts +5 -0
- package/es/preConference.vue.mjs +1 -1
- package/es/preConference.vue2.mjs +7 -4
- package/es/services/index.d.ts +1 -0
- package/es/services/manager/chatManager.d.ts +0 -2
- package/es/services/manager/chatManager.mjs +6 -12
- package/{lib/services/manager/MediaManager.d.ts → es/services/manager/mediaManager.d.ts} +16 -13
- package/es/services/manager/{MediaManager.mjs → mediaManager.mjs} +110 -113
- package/es/services/manager/roomActionManager.d.ts +3 -0
- package/es/services/manager/roomActionManager.mjs +7 -0
- package/es/services/manager/scheduleConferenceManager.d.ts +1 -0
- package/es/services/manager/scheduleConferenceManager.mjs +24 -1
- package/es/services/manager/trackingManager.d.ts +11 -0
- package/es/services/manager/trackingManager.mjs +20 -0
- package/es/services/manager/userManager.d.ts +11 -1
- package/es/services/manager/userManager.mjs +159 -9
- package/es/services/roomService.d.ts +3 -2
- package/es/services/roomService.mjs +23 -41
- package/es/stores/basic.mjs +6 -1
- package/es/stores/room.d.ts +29 -1
- package/es/stores/room.mjs +49 -59
- package/es/utils/domOperation.d.ts +4 -0
- package/es/utils/domOperation.mjs +17 -23
- package/es/utils/utils.d.ts +11 -0
- package/es/utils/utils.mjs +43 -0
- package/lib/components/Chat/ChatKit/components/TUIChat/emoji-config/locales/zh_tw.d.ts +2 -0
- package/lib/components/Chat/ChatKit/components/TUIChat/emoji-config/locales/zh_tw.js +67 -0
- package/lib/components/Chat/ChatKit/components/TUIChat/index.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/TUIChat/index.vue2.js +22 -9
- package/lib/components/Chat/ChatKit/components/TUIChat/message-input/message-input-editor.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/TUIChat/message-input/message-input-editor.vue2.js +13 -0
- package/lib/components/Chat/ChatKit/components/TUIChat/message-input-toolbar/emoji-picker/emoji-picker-dialog.vue.d.ts +1 -1
- package/lib/components/Chat/ChatKit/components/TUIChat/message-input-toolbar/index.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/TUIChat/message-input-toolbar/index.vue2.js +13 -13
- package/lib/components/Chat/ChatKit/components/TUIChat/message-list/index.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/TUIChat/message-list/index.vue2.js +1 -1
- package/lib/components/Chat/ChatKit/components/TUIChat/message-list/message-tool/index.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/TUIChat/message-list/message-tool/index.vue2.js +1 -1
- package/lib/components/Chat/ChatKit/components/TUIChat/message-list/message-tool/message-revoked.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/TUIChat/message-list/read-receipt-panel/index.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/TUIChat/message-list/read-receipt-panel/index.vue2.js +1 -0
- package/lib/components/Chat/ChatKit/components/TUIChat/server.d.ts +1 -1
- package/lib/components/Chat/ChatKit/components/TUIChat/server.js +12 -3
- package/lib/components/Chat/ChatKit/components/TUIChat/utils/sendMessage.js +2 -1
- package/lib/components/Chat/ChatKit/components/common/BottomPopup/index.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/common/BottomPopup/index.vue2.js +2 -2
- package/lib/components/Chat/ChatKit/components/common/ImagePreviewer/index.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/common/Overlay/index.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/common/Toast/index.vue.d.ts +1 -1
- package/lib/components/Chat/ChatKit/components/common/Transfer/index.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/common/Transfer/index.vue2.js +2 -2
- package/lib/components/Chat/ChatKit/locales/en/TUIChat.d.ts +3 -0
- package/lib/components/Chat/ChatKit/locales/en/TUIChat.js +5 -2
- package/lib/components/Chat/ChatKit/locales/en/index.d.ts +3 -0
- package/lib/components/Chat/ChatKit/locales/en/message.js +2 -2
- package/lib/components/Chat/ChatKit/locales/index.d.ts +4 -1083
- package/lib/components/Chat/ChatKit/locales/index.js +3 -1
- package/lib/components/Chat/ChatKit/locales/zh_cn/TUIChat.d.ts +3 -0
- package/lib/components/Chat/ChatKit/locales/zh_cn/TUIChat.js +4 -1
- package/lib/components/Chat/ChatKit/locales/zh_cn/index.d.ts +3 -0
- package/lib/components/Chat/ChatKit/locales/zh_tw/TUIChat.d.ts +153 -0
- package/lib/components/Chat/ChatKit/locales/zh_tw/TUIChat.js +155 -0
- package/lib/components/Chat/ChatKit/locales/zh_tw/TUIContact.d.ts +65 -0
- package/lib/components/Chat/ChatKit/locales/zh_tw/TUIContact.js +67 -0
- package/lib/components/Chat/ChatKit/locales/zh_tw/TUIConversation.d.ts +23 -0
- package/lib/components/Chat/ChatKit/locales/zh_tw/TUIConversation.js +25 -0
- package/lib/components/Chat/ChatKit/locales/zh_tw/TUIGroup.d.ts +86 -0
- package/lib/components/Chat/ChatKit/locales/zh_tw/TUIGroup.js +88 -0
- package/lib/components/Chat/ChatKit/locales/zh_tw/TUISearch.d.ts +40 -0
- package/lib/components/Chat/ChatKit/locales/zh_tw/TUISearch.js +42 -0
- package/lib/components/Chat/ChatKit/locales/zh_tw/component.d.ts +20 -0
- package/lib/components/Chat/ChatKit/locales/zh_tw/component.js +22 -0
- package/lib/components/Chat/ChatKit/locales/zh_tw/emoji.d.ts +3 -0
- package/lib/components/Chat/ChatKit/locales/zh_tw/emoji.js +4 -0
- package/lib/components/Chat/ChatKit/locales/zh_tw/evaluate.d.ts +10 -0
- package/lib/components/Chat/ChatKit/locales/zh_tw/evaluate.js +12 -0
- package/lib/components/Chat/ChatKit/locales/zh_tw/index.d.ts +513 -0
- package/lib/components/Chat/ChatKit/locales/zh_tw/index.js +39 -0
- package/lib/components/Chat/ChatKit/locales/zh_tw/message.d.ts +61 -0
- package/lib/components/Chat/ChatKit/locales/zh_tw/message.js +63 -0
- package/lib/components/Chat/ChatKit/locales/zh_tw/time.d.ts +36 -0
- package/lib/components/Chat/ChatKit/locales/zh_tw/time.js +38 -0
- package/lib/components/Chat/ChatKit/locales/zh_tw/translate.d.ts +163 -0
- package/lib/components/Chat/ChatKit/locales/zh_tw/words.d.ts +13 -0
- package/lib/components/Chat/ChatKit/locales/zh_tw/words.js +15 -0
- package/lib/components/Chat/ChatKit/utils/riseInput.d.ts +1 -0
- package/lib/components/Chat/ChatKit/utils/riseInput.js +45 -0
- package/lib/components/Chat/index/index.vue.js +1 -1
- package/lib/components/Chat/index/index.vue2.js +2 -17
- package/lib/components/ManageMember/MemberControl/useMemberControlHooks.d.ts +2 -2
- package/lib/components/ManageMember/MemberControl/useMemberControlHooks.js +3 -3
- package/lib/components/ManageMember/MemberInvite/MemberInvite.vue2.js +1 -1
- package/lib/components/PreRoom/PasswordDialog.vue.js +1 -1
- package/lib/components/PreRoom/PasswordDialog.vue2.js +20 -11
- package/lib/components/RoomContent/StreamContainer/index.vue.d.ts +1 -14
- package/lib/components/RoomContent/StreamContainer/index.vue.js +1 -1
- package/lib/components/RoomContent/StreamContainer/index.vue2.js +109 -260
- package/lib/components/RoomContent/StreamContainer/useStreamContainerHooks.d.ts +2 -9
- package/lib/components/RoomContent/StreamContainer/useStreamContainerHooks.js +11 -0
- package/lib/components/RoomContent/index.vue.d.ts +1 -14
- package/lib/components/RoomContent/index.vue.js +1 -1
- package/lib/components/RoomContent/index.vue2.js +1 -4
- package/lib/components/RoomFooter/AIControl.vue.d.ts +1 -5
- package/lib/components/RoomFooter/AIControl.vue.js +1 -1
- package/lib/components/RoomFooter/AIControl.vue2.js +5 -8
- package/lib/components/RoomFooter/ApplyControl/MasterApplyControl/index.vue2.js +1 -1
- package/lib/components/RoomFooter/BasicBeauty.vue.js +1 -1
- package/lib/components/RoomFooter/BasicBeauty.vue2.js +6 -3
- package/lib/components/RoomFooter/ChatControl.vue.js +2 -1
- package/lib/components/RoomFooter/EndControl/index.vue.js +1 -1
- package/lib/components/RoomFooter/EndControl/index.vue2.js +4 -6
- package/lib/components/RoomFooter/EndControl/useEndControlHooks.js +8 -12
- package/lib/components/RoomFooter/FullScreenControl.vue.js +1 -1
- package/lib/components/RoomFooter/InviteControl.vue.js +1 -1
- package/lib/components/RoomFooter/InviteControl.vue2.js +2 -1
- package/lib/components/RoomFooter/ManageMemberControl.vue.js +1 -1
- package/lib/components/RoomFooter/MoreControl/index.vue.js +1 -1
- package/lib/components/RoomFooter/ScreenShareControl/Index.vue.js +1 -1
- package/lib/components/RoomFooter/ScreenShareControl/Index.vue2.js +3 -3
- package/lib/components/RoomFooter/VirtualBackground.vue.js +1 -1
- package/lib/components/RoomFooter/VirtualBackground.vue2.js +5 -2
- package/lib/components/RoomFooter/WhiteboardControl.vue.js +13 -3
- package/lib/components/RoomFooter/index/index.vue.d.ts +1 -5
- package/lib/components/RoomFooter/index/index.vue.js +1 -1
- package/lib/components/RoomFooter/index/index.vue2.js +2 -8
- package/lib/components/RoomHeader/UserInfo/index.vue.js +1 -1
- package/lib/components/RoomHeader/UserInfo/index.vue2.js +3 -2
- package/lib/components/RoomHeader/index/LayoutControl.vue2.js +1 -1
- package/lib/components/RoomHeader/index/index.vue.d.ts +1 -5
- package/lib/components/RoomHeader/index/index.vue.js +1 -1
- package/lib/components/RoomHeader/index/index.vue2.js +0 -15
- package/lib/components/RoomHome/RoomControl/index.vue.d.ts +0 -5
- package/lib/components/RoomHome/RoomControl/index.vue.js +1 -1
- package/lib/components/RoomHome/RoomControl/index.vue2.js +1 -2
- package/lib/components/RoomInvite/InvitationNotification.vue2.js +1 -1
- package/lib/components/RoomInvite/useRoomInviteHooks.js +2 -2
- package/lib/components/RoomOverlay/RoomOverlay.vue.js +16 -0
- package/lib/components/RoomOverlay/RoomOverlay.vue2.js +4 -0
- package/lib/components/RoomOverlay/useRoomOverlayHooks.d.ts +15 -0
- package/lib/components/RoomOverlay/useRoomOverlayHooks.js +30 -0
- package/lib/components/RoomSidebar/index.vue.js +1 -1
- package/lib/components/ScheduleConference/InvitePanel.vue.js +1 -1
- package/lib/components/ScheduleConference/ScheduleConferencePanel/index.vue.js +1 -1
- package/lib/components/ScheduleConference/ScheduleConferencePanel/index.vue2.js +11 -7
- package/lib/components/ScheduleConference/ScheduleRoomControl.vue.js +1 -1
- package/lib/components/ScheduleConference/ScheduleRoomControl.vue2.js +3 -3
- package/lib/components/ScheduleConference/ScheduleRoomList.vue2.js +2 -2
- package/lib/components/ScheduleConference/ShareLink.vue2.js +1 -1
- package/lib/components/ScheduleConference/TimezonePicker.vue.js +1 -1
- package/lib/components/Stream/MultiStreamView/index.vue.d.ts +33 -0
- package/lib/components/{Chat/MessageList → Stream/MultiStreamView}/index.vue.js +2 -2
- package/lib/components/Stream/MultiStreamView/index.vue2.js +99 -0
- package/lib/components/Stream/MultiStreamView/useMultiStreamViewHook.d.ts +17 -0
- package/lib/components/Stream/MultiStreamView/useMultiStreamViewHook.js +95 -0
- package/lib/components/Stream/SingleStreamView/index.vue.d.ts +25 -0
- package/lib/components/Stream/SingleStreamView/index.vue.js +30 -0
- package/lib/components/Stream/SingleStreamView/index.vue2.js +4 -0
- package/lib/components/{RoomContent/StreamRegion → Stream/common}/LocalScreenView/index.vue.js +1 -1
- package/lib/components/{RoomContent/StreamRegion → Stream/common}/LocalScreenView/index.vue2.js +22 -57
- package/lib/components/{RoomContent/StreamRegion → Stream/common}/StreamCover/index.vue.js +1 -1
- package/lib/components/Stream/common/StreamList/index.vue.d.ts +27 -0
- package/lib/components/{RoomContent → Stream/common}/StreamList/index.vue.js +2 -2
- package/lib/components/{RoomContent → Stream/common}/StreamList/index.vue2.js +60 -96
- package/{es/components/RoomContent/StreamRegion → lib/components/Stream/common}/StreamPlay/index.vue.d.ts +9 -6
- package/lib/components/{RoomContent/StreamRegion → Stream/common}/StreamPlay/index.vue.js +1 -1
- package/lib/components/{RoomContent/StreamRegion → Stream/common}/StreamPlay/index.vue2.js +21 -16
- package/lib/components/Stream/common/StreamRegion/index.vue.d.ts +25 -0
- package/lib/components/{RoomContent → Stream/common}/StreamRegion/index.vue.js +2 -2
- package/lib/components/{RoomContent → Stream/common}/StreamRegion/index.vue2.js +24 -27
- package/lib/components/common/Language.vue.js +1 -1
- package/lib/components/common/SwitchTheme.vue.js +1 -1
- package/lib/components/common/base/Button.vue.d.ts +1 -1
- package/lib/components/common/base/Checkbox/index.vue.d.ts +1 -1
- package/lib/components/common/base/Dialog/index.vue.d.ts +4 -4
- package/lib/components/common/base/IconButton.vue.d.ts +3 -3
- package/lib/components/common/base/Input/index.vue.d.ts +4 -4
- package/lib/components/common/base/Message/Message.vue.d.ts +4 -4
- package/lib/components/common/base/MessageBox/index.vue.d.ts +1 -1
- package/lib/components/common/base/Notification/index.vue.d.ts +1 -1
- package/lib/components/common/base/Select/index.vue.d.ts +1 -1
- package/lib/components/common/base/Select/index.vue2.js +1 -1
- package/lib/components/common/base/Slider.vue.d.ts +1 -1
- package/lib/components/{AITools → common/widgets/AITools}/AISubtitles.vue.js +2 -2
- package/lib/components/{AITools → common/widgets/AITools}/AISubtitles.vue2.js +8 -7
- package/lib/components/{AITools → common/widgets/AITools}/AITranscription.vue.js +2 -2
- package/lib/components/{AITools → common/widgets/AITools}/AITranscription.vue2.js +9 -8
- package/lib/conference.d.ts +6 -0
- package/lib/conference.js +7 -1
- package/lib/conference.vue.js +1 -1
- package/lib/conference.vue2.js +14 -24
- package/lib/extension/chatExtension.js +1 -1
- package/lib/extension/utils/interact.js +1 -1
- package/lib/extension/utils/setLanguage.js +1 -1
- package/lib/hooks/useMasterApplyControl.js +2 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +969 -1197
- package/lib/locales/en-US.d.ts +2 -1
- package/lib/locales/en-US.js +3 -2
- package/lib/locales/zh-CN.d.ts +2 -1
- package/lib/locales/zh-CN.js +2 -1
- package/lib/preConference.vue.d.ts +5 -0
- package/lib/preConference.vue.js +1 -1
- package/lib/preConference.vue2.js +6 -3
- package/lib/services/index.d.ts +1 -0
- package/lib/services/manager/chatManager.d.ts +0 -2
- package/lib/services/manager/chatManager.js +6 -12
- package/{es/services/manager/MediaManager.d.ts → lib/services/manager/mediaManager.d.ts} +16 -13
- package/lib/services/manager/{MediaManager.js → mediaManager.js} +109 -112
- package/lib/services/manager/roomActionManager.d.ts +3 -0
- package/lib/services/manager/roomActionManager.js +7 -0
- package/lib/services/manager/scheduleConferenceManager.d.ts +1 -0
- package/lib/services/manager/scheduleConferenceManager.js +23 -0
- package/lib/services/manager/trackingManager.d.ts +11 -0
- package/lib/services/manager/trackingManager.js +20 -0
- package/lib/services/manager/userManager.d.ts +11 -1
- package/lib/services/manager/userManager.js +158 -8
- package/lib/services/roomService.d.ts +3 -2
- package/lib/services/roomService.js +24 -42
- package/lib/stores/basic.js +6 -1
- package/lib/stores/room.d.ts +29 -1
- package/lib/stores/room.js +49 -59
- package/lib/utils/domOperation.d.ts +4 -0
- package/lib/utils/domOperation.js +17 -23
- package/lib/utils/utils.d.ts +11 -0
- package/lib/utils/utils.js +43 -0
- package/package.json +4 -4
- package/src/TUIRoom/components/Chat/ChatKit/CHANGELOG.md +35 -0
- package/src/TUIRoom/components/Chat/ChatKit/components/TUIChat/emoji-config/locales/zh_tw.ts +66 -0
- package/src/TUIRoom/components/Chat/ChatKit/components/TUIChat/index.vue +24 -8
- package/src/TUIRoom/components/Chat/ChatKit/components/TUIChat/message-input/message-input-editor.vue +15 -1
- package/src/TUIRoom/components/Chat/ChatKit/components/TUIChat/message-input-toolbar/index.vue +13 -13
- package/src/TUIRoom/components/Chat/ChatKit/components/TUIChat/message-list/index.vue +1 -1
- package/src/TUIRoom/components/Chat/ChatKit/components/TUIChat/message-list/message-tool/index.vue +2 -1
- package/src/TUIRoom/components/Chat/ChatKit/components/TUIChat/message-list/message-tool/message-revoked.vue +4 -6
- package/src/TUIRoom/components/Chat/ChatKit/components/TUIChat/message-list/read-receipt-panel/index.vue +9 -3
- package/src/TUIRoom/components/Chat/ChatKit/components/TUIChat/server.ts +12 -3
- package/src/TUIRoom/components/Chat/ChatKit/components/TUIChat/utils/sendMessage.ts +1 -0
- package/src/TUIRoom/components/Chat/ChatKit/components/TUIContact/contact-list/index.vue +3 -1
- package/src/TUIRoom/components/Chat/ChatKit/components/TUIGroup/manage-group/index.vue +2 -2
- package/src/TUIRoom/components/Chat/ChatKit/components/common/BottomPopup/index.vue +1 -1
- package/src/TUIRoom/components/Chat/ChatKit/components/common/BottomPopup/style/h5.scss +4 -3
- package/src/TUIRoom/components/Chat/ChatKit/components/common/BottomPopup/style/modal.scss +0 -2
- package/src/TUIRoom/components/Chat/ChatKit/components/common/ImagePreviewer/index.vue +2 -2
- package/src/TUIRoom/components/Chat/ChatKit/components/common/Overlay/index.vue +5 -0
- package/src/TUIRoom/components/Chat/ChatKit/components/common/Transfer/index.vue +2 -2
- package/src/TUIRoom/components/Chat/ChatKit/locales/en/TUIChat.ts +4 -1
- package/src/TUIRoom/components/Chat/ChatKit/locales/en/message.ts +2 -2
- package/src/TUIRoom/components/Chat/ChatKit/locales/index.ts +9 -3
- package/src/TUIRoom/components/Chat/ChatKit/locales/zh_cn/TUIChat.ts +3 -0
- package/src/TUIRoom/components/Chat/ChatKit/locales/zh_tw/TUIChat.ts +154 -0
- package/src/TUIRoom/components/Chat/ChatKit/locales/zh_tw/TUIContact.ts +66 -0
- package/src/TUIRoom/components/Chat/ChatKit/locales/zh_tw/TUIConversation.ts +24 -0
- package/src/TUIRoom/components/Chat/ChatKit/locales/zh_tw/TUIGroup.ts +87 -0
- package/src/TUIRoom/components/Chat/ChatKit/locales/zh_tw/TUISearch.ts +41 -0
- package/src/TUIRoom/components/Chat/ChatKit/locales/zh_tw/component.ts +21 -0
- package/src/TUIRoom/components/Chat/ChatKit/locales/zh_tw/emoji.ts +2 -0
- package/src/TUIRoom/components/Chat/ChatKit/locales/zh_tw/evaluate.ts +11 -0
- package/src/TUIRoom/components/Chat/ChatKit/locales/zh_tw/index.ts +41 -0
- package/src/TUIRoom/components/Chat/ChatKit/locales/zh_tw/message.ts +62 -0
- package/src/TUIRoom/components/Chat/ChatKit/locales/zh_tw/time.ts +37 -0
- package/src/TUIRoom/components/Chat/ChatKit/locales/zh_tw/translate.ts +164 -0
- package/src/TUIRoom/components/Chat/ChatKit/locales/zh_tw/words.ts +14 -0
- package/src/TUIRoom/components/Chat/ChatKit/utils/riseInput.ts +53 -0
- package/src/TUIRoom/components/Chat/index/index.vue +2 -20
- package/src/TUIRoom/components/ManageMember/MemberControl/useMemberControlHooks.ts +7 -4
- package/src/TUIRoom/components/PreRoom/PasswordDialog.vue +21 -11
- package/src/TUIRoom/components/RoomContent/StreamContainer/index.vue +107 -384
- package/src/TUIRoom/components/RoomContent/StreamContainer/useStreamContainerHooks.ts +5 -112
- package/src/TUIRoom/components/RoomContent/index.vue +1 -5
- package/src/TUIRoom/components/RoomFooter/AIControl.vue +7 -6
- package/src/TUIRoom/components/RoomFooter/BasicBeauty.vue +1 -1
- package/src/TUIRoom/components/RoomFooter/ChatControl.vue +1 -0
- package/src/TUIRoom/components/RoomFooter/EndControl/index.vue +4 -3
- package/src/TUIRoom/components/RoomFooter/EndControl/useEndControlHooks.ts +4 -10
- package/src/TUIRoom/components/RoomFooter/InviteControl.vue +1 -0
- package/src/TUIRoom/components/RoomFooter/ScreenShareControl/Index.vue +3 -3
- package/src/TUIRoom/components/RoomFooter/VirtualBackground.vue +1 -1
- package/src/TUIRoom/components/RoomFooter/WhiteboardControl.vue +13 -2
- package/src/TUIRoom/components/RoomFooter/index/index.vue +0 -6
- package/src/TUIRoom/components/RoomHeader/UserInfo/index.vue +2 -5
- package/src/TUIRoom/components/RoomHeader/index/index.vue +0 -17
- package/src/TUIRoom/components/RoomHome/RoomControl/index.vue +0 -2
- package/src/TUIRoom/components/RoomInvite/useRoomInviteHooks.ts +2 -2
- package/src/TUIRoom/components/RoomOverlay/RoomOverlay.vue +13 -0
- package/src/TUIRoom/components/RoomOverlay/useRoomOverlayHooks.ts +21 -0
- package/src/TUIRoom/components/RoomSidebar/index.vue +1 -1
- package/src/TUIRoom/components/ScheduleConference/InvitePanel.vue +1 -0
- package/src/TUIRoom/components/ScheduleConference/ScheduleConferencePanel/index.vue +10 -4
- package/src/TUIRoom/components/ScheduleConference/ScheduleRoomControl.vue +1 -0
- package/src/TUIRoom/components/Stream/MultiStreamView/index.vue +161 -0
- package/src/TUIRoom/components/Stream/MultiStreamView/useMultiStreamViewHook.ts +107 -0
- package/src/TUIRoom/components/Stream/SingleStreamView/index.vue +32 -0
- package/src/TUIRoom/components/Stream/common/LocalScreenView/index.vue +150 -0
- package/src/TUIRoom/components/{RoomContent/StreamRegion → Stream/common}/StreamCover/index.vue +1 -6
- package/src/TUIRoom/components/{RoomContent → Stream/common}/StreamList/index.vue +74 -124
- package/src/TUIRoom/components/{RoomContent/StreamRegion → Stream/common}/StreamPlay/index.vue +28 -13
- package/src/TUIRoom/components/{RoomContent → Stream/common}/StreamRegion/index.vue +27 -32
- package/src/TUIRoom/components/common/base/Swiper.vue +20 -6
- package/src/TUIRoom/components/{AITools → common/widgets/AITools}/AISubtitles.vue +2 -2
- package/src/TUIRoom/components/{AITools → common/widgets/AITools}/AITranscription.vue +3 -3
- package/src/TUIRoom/conference.ts +14 -0
- package/src/TUIRoom/conference.vue +10 -23
- package/src/TUIRoom/hooks/useMasterApplyControl.ts +2 -1
- package/src/TUIRoom/index.ts +3 -1
- package/src/TUIRoom/locales/en-US.ts +4 -3
- package/src/TUIRoom/locales/zh-CN.ts +3 -1
- package/src/TUIRoom/preConference.vue +3 -1
- package/src/TUIRoom/services/index.ts +1 -0
- package/src/TUIRoom/services/manager/chatManager.ts +7 -16
- package/src/TUIRoom/services/manager/{MediaManager.ts → mediaManager.ts} +125 -136
- package/src/TUIRoom/services/manager/roomActionManager.ts +5 -0
- package/src/TUIRoom/services/manager/scheduleConferenceManager.ts +24 -1
- package/src/TUIRoom/services/manager/trackingManager.ts +22 -0
- package/src/TUIRoom/services/manager/userManager.ts +201 -7
- package/src/TUIRoom/services/roomService.ts +5 -24
- package/src/TUIRoom/stores/basic.ts +6 -0
- package/src/TUIRoom/stores/room.ts +60 -71
- package/src/TUIRoom/utils/domOperation.ts +27 -0
- package/src/TUIRoom/utils/utils.ts +61 -0
- package/es/components/Chat/ChatEditor/index.vue.mjs +0 -7
- package/es/components/Chat/ChatEditor/index.vue2.mjs +0 -45
- package/es/components/Chat/ChatEditor/useChatEditor.mjs +0 -83
- package/es/components/Chat/EditorTools/index.vue.d.ts +0 -6
- package/es/components/Chat/EditorTools/index.vue.mjs +0 -7
- package/es/components/Chat/EditorTools/index.vue2.mjs +0 -59
- package/es/components/Chat/MessageList/index.vue2.mjs +0 -101
- package/es/components/Chat/MessageList/useMessageListHook.mjs +0 -142
- package/es/components/Chat/MessageTypes/MessageText.vue.d.ts +0 -8
- package/es/components/Chat/MessageTypes/MessageText.vue.mjs +0 -7
- package/es/components/Chat/MessageTypes/MessageText.vue2.mjs +0 -31
- package/es/components/Chat/util.mjs +0 -432
- package/es/components/RoomContent/StreamList/index.vue.d.ts +0 -39
- package/es/components/RoomContent/StreamRegion/LocalScreenView/index.vue.d.ts +0 -14
- package/es/components/RoomContent/StreamRegion/index.vue.d.ts +0 -42
- package/es/components/common/icons/EmojiIcon.vue.mjs +0 -21
- package/lib/components/Chat/ChatEditor/index.vue.js +0 -7
- package/lib/components/Chat/ChatEditor/index.vue2.js +0 -45
- package/lib/components/Chat/ChatEditor/useChatEditor.js +0 -83
- package/lib/components/Chat/EditorTools/index.vue.d.ts +0 -6
- package/lib/components/Chat/EditorTools/index.vue.js +0 -7
- package/lib/components/Chat/EditorTools/index.vue2.js +0 -59
- package/lib/components/Chat/MessageList/index.vue.d.ts +0 -2
- package/lib/components/Chat/MessageList/index.vue2.js +0 -101
- package/lib/components/Chat/MessageList/useMessageListHook.js +0 -142
- package/lib/components/Chat/MessageTypes/MessageText.vue.d.ts +0 -8
- package/lib/components/Chat/MessageTypes/MessageText.vue.js +0 -7
- package/lib/components/Chat/MessageTypes/MessageText.vue2.js +0 -31
- package/lib/components/Chat/util.js +0 -432
- package/lib/components/RoomContent/StreamList/index.vue.d.ts +0 -39
- package/lib/components/RoomContent/StreamRegion/LocalScreenView/index.vue.d.ts +0 -14
- package/lib/components/RoomContent/StreamRegion/index.vue.d.ts +0 -42
- package/lib/components/common/icons/EmojiIcon.vue.d.ts +0 -2
- package/lib/components/common/icons/EmojiIcon.vue.js +0 -21
- /package/es/components/{AITools/AISubtitles.vue.d.ts → RoomOverlay/RoomOverlay.vue.d.ts} +0 -0
- /package/es/components/{Chat/ChatEditor → Stream/common/LocalScreenView}/index.vue.d.ts +0 -0
- /package/es/components/{RoomContent/StreamRegion → Stream/common}/StreamCover/index.vue.d.ts +0 -0
- /package/es/components/{RoomContent/StreamRegion → Stream/common}/StreamCover/index.vue2.mjs +0 -0
- /package/{lib/components → es/components/common/widgets}/AITools/AISubtitles.vue.d.ts +0 -0
- /package/es/components/{AITools → common/widgets/AITools}/AITranscription.vue.d.ts +0 -0
- /package/{es/components/Chat/MessageList/index.vue.d.ts → lib/components/RoomOverlay/RoomOverlay.vue.d.ts} +0 -0
- /package/lib/components/{Chat/ChatEditor → Stream/common/LocalScreenView}/index.vue.d.ts +0 -0
- /package/lib/components/{RoomContent/StreamRegion → Stream/common}/StreamCover/index.vue.d.ts +0 -0
- /package/lib/components/{RoomContent/StreamRegion → Stream/common}/StreamCover/index.vue2.js +0 -0
- /package/{es/components/common/icons/EmojiIcon.vue.d.ts → lib/components/common/widgets/AITools/AISubtitles.vue.d.ts} +0 -0
- /package/lib/components/{AITools → common/widgets/AITools}/AITranscription.vue.d.ts +0 -0
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
const Emoji = {
|
|
2
|
+
"[TUIEmoji_Smile]": "[微笑]",
|
|
3
|
+
"[TUIEmoji_Expect]": "[期待]",
|
|
4
|
+
"[TUIEmoji_Blink]": "[眨眼]",
|
|
5
|
+
"[TUIEmoji_Guffaw]": "[大笑]",
|
|
6
|
+
"[TUIEmoji_KindSmile]": "[姨母笑]",
|
|
7
|
+
"[TUIEmoji_Haha]": "[哈哈哈]",
|
|
8
|
+
"[TUIEmoji_Cheerful]": "[愉快]",
|
|
9
|
+
"[TUIEmoji_Speechless]": "[無語]",
|
|
10
|
+
"[TUIEmoji_Amazed]": "[驚訝]",
|
|
11
|
+
"[TUIEmoji_Sorrow]": "[悲傷]",
|
|
12
|
+
"[TUIEmoji_Complacent]": "[得意]",
|
|
13
|
+
"[TUIEmoji_Silly]": "[傻了]",
|
|
14
|
+
"[TUIEmoji_Lustful]": "[色]",
|
|
15
|
+
"[TUIEmoji_Giggle]": "[憨笑]",
|
|
16
|
+
"[TUIEmoji_Kiss]": "[親親]",
|
|
17
|
+
"[TUIEmoji_Wail]": "[大哭]",
|
|
18
|
+
"[TUIEmoji_TearsLaugh]": "[哭笑]",
|
|
19
|
+
"[TUIEmoji_Trapped]": "[困]",
|
|
20
|
+
"[TUIEmoji_Mask]": "[口罩]",
|
|
21
|
+
"[TUIEmoji_Fear]": "[恐懼]",
|
|
22
|
+
"[TUIEmoji_BareTeeth]": "[齜牙]",
|
|
23
|
+
"[TUIEmoji_FlareUp]": "[發怒]",
|
|
24
|
+
"[TUIEmoji_Yawn]": "[打哈欠]",
|
|
25
|
+
"[TUIEmoji_Tact]": "[機智]",
|
|
26
|
+
"[TUIEmoji_Stareyes]": "[星星眼]",
|
|
27
|
+
"[TUIEmoji_ShutUp]": "[閉嘴]",
|
|
28
|
+
"[TUIEmoji_Sigh]": "[嘆氣]",
|
|
29
|
+
"[TUIEmoji_Hehe]": "[呵呵]",
|
|
30
|
+
"[TUIEmoji_Silent]": "[收聲]",
|
|
31
|
+
"[TUIEmoji_Surprised]": "[驚喜]",
|
|
32
|
+
"[TUIEmoji_Askance]": "[白眼]",
|
|
33
|
+
"[TUIEmoji_Ok]": "[OK]",
|
|
34
|
+
"[TUIEmoji_Shit]": "[便便]",
|
|
35
|
+
"[TUIEmoji_Monster]": "[怪獸]",
|
|
36
|
+
"[TUIEmoji_Daemon]": "[惡魔]",
|
|
37
|
+
"[TUIEmoji_Rage]": "[惡魔怒]",
|
|
38
|
+
"[TUIEmoji_Fool]": "[衰]",
|
|
39
|
+
"[TUIEmoji_Pig]": "[豬]",
|
|
40
|
+
"[TUIEmoji_Cow]": "[牛]",
|
|
41
|
+
"[TUIEmoji_Ai]": "[AI]",
|
|
42
|
+
"[TUIEmoji_Skull]": "[骷髏]",
|
|
43
|
+
"[TUIEmoji_Bombs]": "[炸彈]",
|
|
44
|
+
"[TUIEmoji_Coffee]": "[咖啡]",
|
|
45
|
+
"[TUIEmoji_Cake]": "[蛋糕]",
|
|
46
|
+
"[TUIEmoji_Beer]": "[啤酒]",
|
|
47
|
+
"[TUIEmoji_Flower]": "[花]",
|
|
48
|
+
"[TUIEmoji_Watermelon]": "[瓜]",
|
|
49
|
+
"[TUIEmoji_Rich]": "[壕]",
|
|
50
|
+
"[TUIEmoji_Heart]": "[愛心]",
|
|
51
|
+
"[TUIEmoji_Moon]": "[月亮]",
|
|
52
|
+
"[TUIEmoji_Sun]": "[太陽]",
|
|
53
|
+
"[TUIEmoji_Star]": "[星星]",
|
|
54
|
+
"[TUIEmoji_RedPacket]": "[紅包]",
|
|
55
|
+
"[TUIEmoji_Celebrate]": "[慶祝]",
|
|
56
|
+
"[TUIEmoji_Bless]": "[福]",
|
|
57
|
+
"[TUIEmoji_Fortune]": "[發]",
|
|
58
|
+
"[TUIEmoji_Convinced]": "[服]",
|
|
59
|
+
"[TUIEmoji_Prohibit]": "[禁]",
|
|
60
|
+
"[TUIEmoji_666]": "[666]",
|
|
61
|
+
"[TUIEmoji_857]": "[857]",
|
|
62
|
+
"[TUIEmoji_Knife]": "[刀]",
|
|
63
|
+
"[TUIEmoji_Like]": "[讚]"
|
|
64
|
+
};
|
|
65
|
+
export {
|
|
66
|
+
Emoji as default
|
|
67
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./index.vue2.mjs";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import _export_sfc from "../../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const TUIChat = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const TUIChat = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-5c1ad570"]]);
|
|
5
5
|
export {
|
|
6
6
|
TUIChat as default
|
|
7
7
|
};
|
|
@@ -8,7 +8,7 @@ import MessageInput from "./message-input/index.vue.mjs";
|
|
|
8
8
|
import MultipleSelectPanel from "./mulitple-select-panel/index.vue.mjs";
|
|
9
9
|
import _sfc_main$1 from "./forward/index.vue.mjs";
|
|
10
10
|
import MessageInputToolbar from "./message-input-toolbar/index.vue.mjs";
|
|
11
|
-
import { isUniFrameWork, isPC, isMobile, isWeChat } from "../../utils/env.mjs";
|
|
11
|
+
import { isUniFrameWork, isPC, isMobile, isWeChat, isApp } from "../../utils/env.mjs";
|
|
12
12
|
import ChatConfig from "./config.mjs";
|
|
13
13
|
const _hoisted_1 = { class: "chat" };
|
|
14
14
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -29,13 +29,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
29
29
|
const featureConfig = ChatConfig.getFeatureConfig();
|
|
30
30
|
onMounted(() => {
|
|
31
31
|
TUIStore.watch(StoreName.CONV, {
|
|
32
|
-
currentConversationID: onCurrentConversationIDUpdate,
|
|
33
32
|
currentConversation: onCurrentConversationUpdate
|
|
34
33
|
});
|
|
35
34
|
});
|
|
36
35
|
onUnmounted(() => {
|
|
37
36
|
TUIStore.unwatch(StoreName.CONV, {
|
|
38
|
-
currentConversationID: onCurrentConversationIDUpdate,
|
|
39
37
|
currentConversation: onCurrentConversationUpdate
|
|
40
38
|
});
|
|
41
39
|
reset();
|
|
@@ -111,7 +109,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
111
109
|
var _a;
|
|
112
110
|
(_a = messageListRef.value) == null ? void 0 : _a.oneByOneForwardMessage();
|
|
113
111
|
}
|
|
114
|
-
function
|
|
112
|
+
function updateUIUserNotInGroup(conversation) {
|
|
115
113
|
if ((conversation == null ? void 0 : conversation.operationType) > 0) {
|
|
116
114
|
headerExtensionList.value = [];
|
|
117
115
|
isNotInGroup.value = true;
|
|
@@ -121,19 +119,23 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
121
119
|
notInGroupReason.value = void 0;
|
|
122
120
|
}
|
|
123
121
|
}
|
|
124
|
-
function
|
|
125
|
-
|
|
122
|
+
function onCurrentConversationUpdate(conversation) {
|
|
123
|
+
updateUIUserNotInGroup(conversation);
|
|
124
|
+
if (!conversation) {
|
|
125
|
+
return;
|
|
126
|
+
}
|
|
127
|
+
if (currentConversationID.value === (conversation == null ? void 0 : conversation.conversationID)) {
|
|
126
128
|
return;
|
|
127
129
|
}
|
|
128
130
|
isGroup.value = false;
|
|
129
131
|
let conversationType = TUIChatEngine.TYPES.CONV_C2C;
|
|
132
|
+
const conversationID = conversation.conversationID;
|
|
130
133
|
if (conversationID.startsWith(TUIChatEngine.TYPES.CONV_GROUP)) {
|
|
131
134
|
conversationType = TUIChatEngine.TYPES.CONV_GROUP;
|
|
132
135
|
isGroup.value = true;
|
|
133
136
|
groupID.value = conversationID.replace(TUIChatEngine.TYPES.CONV_GROUP, "");
|
|
134
137
|
}
|
|
135
138
|
headerExtensionList.value = [];
|
|
136
|
-
currentConversationID.value = conversationID;
|
|
137
139
|
isMultipleSelectMode.value = false;
|
|
138
140
|
ChatConfig.setChatType(conversationType);
|
|
139
141
|
TUICore.notifyEvent(TUIConstants.TUIChat.EVENT.CHAT_STATE_CHANGED, TUIConstants.TUIChat.EVENT_SUB_KEY.CHAT_OPENED, { groupID: groupID.value });
|
|
@@ -142,9 +144,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
142
144
|
method: TUIConstants.TUICustomerServicePlugin.SERVICE.METHOD.ACTIVE_CONVERSATION,
|
|
143
145
|
params: { conversationID }
|
|
144
146
|
});
|
|
147
|
+
if (ChatConfig.getChatType() === TUIConstants.TUIChat.TYPE.ROOM) {
|
|
148
|
+
if (ChatConfig.getFeatureConfig(TUIConstants.TUIChat.FEATURE.InputVoice) === true) {
|
|
149
|
+
ChatConfig.setTheme("light");
|
|
150
|
+
currentConversationID.value = "";
|
|
151
|
+
return;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
145
154
|
if (ChatConfig.getChatType() === TUIConstants.TUIChat.TYPE.GROUP) {
|
|
146
155
|
headerExtensionList.value = TUICore.getExtensionList(TUIConstants.TUIChat.EXTENSION.CHAT_HEADER.EXT_ID);
|
|
147
156
|
}
|
|
157
|
+
TUIStore.update(StoreName.CUSTOM, "activeConversation", conversationID);
|
|
158
|
+
currentConversationID.value = conversationID;
|
|
148
159
|
}
|
|
149
160
|
return (_ctx, _cache) => {
|
|
150
161
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
@@ -167,9 +178,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
167
178
|
!unref(isPC) && "tui-chat-H5-header",
|
|
168
179
|
unref(isUniFrameWork) && "tui-chat-uniapp-header"
|
|
169
180
|
]),
|
|
181
|
+
isGroup: unref(isGroup),
|
|
170
182
|
headerExtensionList: unref(headerExtensionList),
|
|
171
|
-
onCloseChat: closeChat
|
|
172
|
-
|
|
183
|
+
onCloseChat: closeChat,
|
|
184
|
+
onOpenGroupManagement: handleGroup
|
|
185
|
+
}, null, 8, ["class", "isGroup", "headerExtensionList"]),
|
|
173
186
|
createVNode(_sfc_main$1, { onToggleMultipleSelectMode: toggleMultipleSelectMode }),
|
|
174
187
|
createVNode(MessageList, {
|
|
175
188
|
ref_key: "messageListRef",
|
|
@@ -225,7 +238,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
225
238
|
}, null, 8, ["class", "enableAt", "muteText", "placeholder", "inputToolbarDisplayType"])
|
|
226
239
|
], 64))
|
|
227
240
|
], 2)) : createCommentVNode("", true),
|
|
228
|
-
!unref(isNotInGroup) && unref(isUniFrameWork) && unref(isGroup) && unref(headerExtensionList).length > 0 ? (openBlock(), createElementBlock("div", {
|
|
241
|
+
!unref(isNotInGroup) && !unref(isApp) && unref(isUniFrameWork) && unref(isGroup) && unref(headerExtensionList).length > 0 ? (openBlock(), createElementBlock("div", {
|
|
229
242
|
key: 2,
|
|
230
243
|
class: "group-profile",
|
|
231
244
|
onClick: handleGroup
|
package/es/components/Chat/ChatKit/components/TUIChat/message-input/message-input-editor.vue.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import _sfc_main from "./message-input-editor.vue2.mjs";
|
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
5
|
-
const MessageInputEditor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
5
|
+
const MessageInputEditor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-704cb70e"]]);
|
|
6
6
|
export {
|
|
7
7
|
MessageInputEditor as default
|
|
8
8
|
};
|
package/es/components/Chat/ChatKit/components/TUIChat/message-input/message-input-editor.vue2.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, toRefs, ref, onMounted, onUnmounted, watch, openBlock, createElementBlock, normalizeClass, unref, toDisplayString, createCommentVNode, withKeys } from "vue";
|
|
2
2
|
import "../../../adapter-vue.mjs";
|
|
3
3
|
import { TUIStore, StoreName } from "@tencentcloud/chat-uikit-engine";
|
|
4
|
-
import { Editor } from "@tiptap/core";
|
|
4
|
+
import { Extension, Editor } from "@tiptap/core";
|
|
5
5
|
import Document from "@tiptap/extension-document";
|
|
6
6
|
import Paragraph from "@tiptap/extension-paragraph";
|
|
7
7
|
import Placeholder from "@tiptap/extension-placeholder";
|
|
@@ -10,6 +10,7 @@ import Mention from "@tiptap/extension-mention";
|
|
|
10
10
|
import CustomImage from "./message-input-file.mjs";
|
|
11
11
|
import MessageInputAtSuggestion from "./message-input-at/index.mjs";
|
|
12
12
|
import { parseTextToRenderArray } from "../emoji-config/index.mjs";
|
|
13
|
+
import riseInput from "../../../utils/riseInput.mjs";
|
|
13
14
|
import { isPC, isH5 } from "../../../utils/env.mjs";
|
|
14
15
|
import DraftManager from "../utils/conversationDraft.mjs";
|
|
15
16
|
const _hoisted_1 = {
|
|
@@ -66,6 +67,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
66
67
|
const editorDom = ref();
|
|
67
68
|
let editor = null;
|
|
68
69
|
const fileMap = /* @__PURE__ */ new Map();
|
|
70
|
+
const DisableDefaultEnter = Extension.create({
|
|
71
|
+
addKeyboardShortcuts() {
|
|
72
|
+
return {
|
|
73
|
+
Enter: () => true
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
});
|
|
69
77
|
function onCurrentConversationIDUpdated(conversationID) {
|
|
70
78
|
if (currentConversationID.value !== conversationID) {
|
|
71
79
|
if (currentConversationID.value) {
|
|
@@ -93,6 +101,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
93
101
|
Document,
|
|
94
102
|
Paragraph,
|
|
95
103
|
Text,
|
|
104
|
+
DisableDefaultEnter,
|
|
96
105
|
Placeholder.configure({
|
|
97
106
|
emptyEditorClass: "is-editor-empty",
|
|
98
107
|
placeholder: placeholder.value
|
|
@@ -147,6 +156,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
147
156
|
isEditorBlur.value = true;
|
|
148
157
|
}
|
|
149
158
|
}) : null;
|
|
159
|
+
if (isH5) {
|
|
160
|
+
const targetBottomDom = document.querySelector(".message-input-toolbar") || editorDom.value;
|
|
161
|
+
riseInput(editorDom.value, targetBottomDom);
|
|
162
|
+
}
|
|
150
163
|
TUIStore.watch(StoreName.CONV, {
|
|
151
164
|
currentConversationID: onCurrentConversationIDUpdated
|
|
152
165
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2
|
-
onClose: (...args: any[]) => void;
|
|
3
2
|
sendMessage: (...args: any[]) => void;
|
|
3
|
+
onClose: (...args: any[]) => void;
|
|
4
4
|
insertEmoji: (...args: any[]) => void;
|
|
5
5
|
}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{}>> & {
|
|
6
6
|
onOnClose?: ((...args: any[]) => any) | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./index.vue2.mjs";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const MessageInputToolbar = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const MessageInputToolbar = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-fe51a5a7"]]);
|
|
5
5
|
export {
|
|
6
6
|
MessageInputToolbar as default
|
|
7
7
|
};
|
|
@@ -38,13 +38,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
38
38
|
const isRenderedEmojiPicker = ref(true);
|
|
39
39
|
isRenderedEmojiPicker.value = featureConfig.InputEmoji || featureConfig.InputStickers;
|
|
40
40
|
onMounted(() => {
|
|
41
|
-
TUIStore.watch(StoreName.
|
|
42
|
-
|
|
41
|
+
TUIStore.watch(StoreName.CUSTOM, {
|
|
42
|
+
activeConversation: onActiveConversationUpdate
|
|
43
43
|
});
|
|
44
44
|
});
|
|
45
45
|
onUnmounted(() => {
|
|
46
|
-
TUIStore.unwatch(StoreName.
|
|
47
|
-
|
|
46
|
+
TUIStore.unwatch(StoreName.CUSTOM, {
|
|
47
|
+
activeConversation: onActiveConversationUpdate
|
|
48
48
|
});
|
|
49
49
|
});
|
|
50
50
|
watch(() => props.displayType, (newValue) => {
|
|
@@ -55,18 +55,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
55
55
|
emits("scrollToLatestMessage");
|
|
56
56
|
}
|
|
57
57
|
});
|
|
58
|
-
const
|
|
59
|
-
var _a
|
|
60
|
-
if ((conversation == null ? void 0 : conversation.conversationID) && conversation.conversationID !== ((_a = currentConversation.value) == null ? void 0 : _a.conversationID)) {
|
|
61
|
-
getExtensionList(conversation.conversationID);
|
|
62
|
-
}
|
|
63
|
-
currentConversation.value = conversation;
|
|
64
|
-
isGroup.value = ((_b = currentConversation == null ? void 0 : currentConversation.value) == null ? void 0 : _b.type) === TUIChatEngine.TYPES.CONV_GROUP;
|
|
65
|
-
};
|
|
66
|
-
const getExtensionList = (conversationID) => {
|
|
58
|
+
const onActiveConversationUpdate = (conversationID) => {
|
|
59
|
+
var _a;
|
|
67
60
|
if (!conversationID) {
|
|
68
61
|
return;
|
|
69
62
|
}
|
|
63
|
+
if (conversationID !== ((_a = currentConversation.value) == null ? void 0 : _a.conversationID)) {
|
|
64
|
+
getExtensionList();
|
|
65
|
+
currentConversation.value = TUIStore.getData(StoreName.CONV, "currentConversation");
|
|
66
|
+
isGroup.value = conversationID.startsWith(TUIChatEngine.TYPES.CONV_GROUP);
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
const getExtensionList = () => {
|
|
70
70
|
const chatType = ChatConfig.getChatType();
|
|
71
71
|
const params = { chatType };
|
|
72
72
|
if (chatType === TUIConstants.TUIChat.TYPE.CUSTOMER_SERVICE) {
|
|
@@ -2,7 +2,7 @@ import _sfc_main from "./index.vue2.mjs";
|
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
5
|
-
const MessageList = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
5
|
+
const MessageList = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-82829db6"]]);
|
|
6
6
|
export {
|
|
7
7
|
MessageList as default
|
|
8
8
|
};
|
|
@@ -30,7 +30,7 @@ import { emojiConfig } from "../emoji-config/index.mjs";
|
|
|
30
30
|
import { isH5, isPC } from "../../../utils/env.mjs";
|
|
31
31
|
import chatStorage from "../utils/chatStorage.mjs";
|
|
32
32
|
import { throttle } from "../../../utils/lodash.mjs";
|
|
33
|
-
import { isEnabledMessageReadReceiptGlobal, isCreateGroupCustomMessage,
|
|
33
|
+
import { isEnabledMessageReadReceiptGlobal, isCreateGroupCustomMessage, shallowCopyMessage, deepCopy } from "../utils/utils.mjs";
|
|
34
34
|
const _hoisted_1 = {
|
|
35
35
|
key: 0,
|
|
36
36
|
class: "tui-chat-safe-tips"
|
|
@@ -539,7 +539,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
539
539
|
}, null, 8, ["content", "blinkMessageIDList"])) : item.isRevoked ? (openBlock(), createBlock(MessageRevoked, {
|
|
540
540
|
key: 1,
|
|
541
541
|
isEdit: item.type === unref(TYPES).MSG_TEXT,
|
|
542
|
-
messageItem: item,
|
|
542
|
+
messageItem: unref(shallowCopyMessage)(item),
|
|
543
543
|
onMessageEdit: ($event) => handleEdit(item)
|
|
544
544
|
}, null, 8, ["isEdit", "messageItem", "onMessageEdit"])) : unref(isPluginMessage)(item) ? (openBlock(), createBlock(MessagePlugin, {
|
|
545
545
|
key: 2,
|
package/es/components/Chat/ChatKit/components/TUIChat/message-list/message-tool/index.vue.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./index.vue2.mjs";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import _export_sfc from "../../../../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const MessageTool = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const MessageTool = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-96f7d799"]]);
|
|
5
5
|
export {
|
|
6
6
|
MessageTool as default
|
|
7
7
|
};
|
package/es/components/Chat/ChatKit/components/TUIChat/message-list/message-tool/index.vue2.mjs
CHANGED
|
@@ -178,7 +178,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
178
178
|
messageModel.revokeMessage().then(() => {
|
|
179
179
|
enableSampleTaskStatus("revokeMessage");
|
|
180
180
|
}).catch((error) => {
|
|
181
|
-
if (error.code === 20016) {
|
|
181
|
+
if (error.code === 20016 || error.code === 10031) {
|
|
182
182
|
const message2 = TUITranslateService.t("TUIChat.已过撤回时限");
|
|
183
183
|
Toast({
|
|
184
184
|
message: message2,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./message-revoked.vue2.mjs";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import _export_sfc from "../../../../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const MessageRevoked = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const MessageRevoked = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-f40107e2"]]);
|
|
5
5
|
export {
|
|
6
6
|
MessageRevoked as default
|
|
7
7
|
};
|
package/es/components/Chat/ChatKit/components/TUIChat/message-list/read-receipt-panel/index.vue.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./index.vue2.mjs";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import _export_sfc from "../../../../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const ReadReceiptPanel = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const ReadReceiptPanel = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-767e085a"]]);
|
|
5
5
|
export {
|
|
6
6
|
ReadReceiptPanel as default
|
|
7
7
|
};
|
package/es/components/Chat/ChatKit/components/TUIChat/message-list/read-receipt-panel/index.vue2.mjs
CHANGED
|
@@ -6,7 +6,7 @@ import Icon from "../../../common/Icon.vue.mjs";
|
|
|
6
6
|
import Overlay from "../../../common/Overlay/index.vue.mjs";
|
|
7
7
|
import Avatar from "../../../common/Avatar/index.vue.mjs";
|
|
8
8
|
import FetchMore from "../../../common/FetchMore/index.vue.mjs";
|
|
9
|
-
import { isMobile } from "../../../../utils/env.mjs";
|
|
9
|
+
import { isMobile, isUniFrameWork } from "../../../../utils/env.mjs";
|
|
10
10
|
const _hoisted_1 = { class: "header" };
|
|
11
11
|
const _hoisted_2 = { class: "header-text" };
|
|
12
12
|
const _hoisted_3 = { class: "header-close-icon" };
|
|
@@ -179,6 +179,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
179
179
|
class: normalizeClass({
|
|
180
180
|
"read-receipt-panel": true,
|
|
181
181
|
"read-receipt-panel-mobile": unref(isMobile),
|
|
182
|
+
"read-receipt-panel-uni": unref(isUniFrameWork),
|
|
182
183
|
"read-receipt-panel-close-mobile": unref(isMobile) && unref(isPanelClose)
|
|
183
184
|
})
|
|
184
185
|
}, [
|
|
@@ -6,7 +6,7 @@ export default class TUIChatServer {
|
|
|
6
6
|
constructor();
|
|
7
7
|
onCall(method: string, params: any, callback: any): any;
|
|
8
8
|
/**
|
|
9
|
-
* Listen for the success notification
|
|
9
|
+
* Listen for the success notification.
|
|
10
10
|
*/
|
|
11
11
|
onNotifyEvent(eventName: string, subKey: string, params?: Record<string, any>): void;
|
|
12
12
|
}
|
|
@@ -10,6 +10,7 @@ class TUIChatServer {
|
|
|
10
10
|
__publicField(this, "currentMessageList", []);
|
|
11
11
|
TUICore.registerService(TUIConstants.TUIChat.SERVICE.NAME, this);
|
|
12
12
|
TUICore.registerEvent(TUIConstants.TUITheme.EVENT.THEME_CHANGED, TUIConstants.TUITheme.EVENT_SUB_KEY.CHANGE_SUCCESS, this);
|
|
13
|
+
TUICore.registerEvent(TUIConstants.TUIChat.EVENT.CHAT_TYPE_CHANGED, TUIConstants.TUIChat.EVENT_SUB_KEY.CHANGE_SUCCESS, this);
|
|
13
14
|
TUIStore.watch(StoreName.CONV, {
|
|
14
15
|
currentConversationID: (id) => {
|
|
15
16
|
this.currentConversationID = id;
|
|
@@ -47,15 +48,23 @@ class TUIChatServer {
|
|
|
47
48
|
}
|
|
48
49
|
}
|
|
49
50
|
/**
|
|
50
|
-
* Listen for the success notification
|
|
51
|
+
* Listen for the success notification.
|
|
51
52
|
*/
|
|
52
53
|
onNotifyEvent(eventName, subKey, params) {
|
|
53
54
|
if (eventName === TUIConstants.TUITheme.EVENT.THEME_CHANGED) {
|
|
54
55
|
switch (subKey) {
|
|
55
56
|
case TUIConstants.TUITheme.EVENT_SUB_KEY.CHANGE_SUCCESS:
|
|
56
57
|
if (params == null ? void 0 : params.theme) {
|
|
57
|
-
|
|
58
|
-
|
|
58
|
+
ChatConfig.setTheme(params.theme.toLowerCase());
|
|
59
|
+
}
|
|
60
|
+
break;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
if (eventName === TUIConstants.TUIChat.EVENT.CHAT_TYPE_CHANGED) {
|
|
64
|
+
switch (subKey) {
|
|
65
|
+
case TUIConstants.TUIChat.EVENT_SUB_KEY.CHANGE_SUCCESS:
|
|
66
|
+
if (params == null ? void 0 : params.chatType) {
|
|
67
|
+
ChatConfig.setChatType(params == null ? void 0 : params.chatType);
|
|
59
68
|
}
|
|
60
69
|
break;
|
|
61
70
|
}
|
|
@@ -12,7 +12,8 @@ const sendMessageErrorCodeMap = /* @__PURE__ */ new Map([
|
|
|
12
12
|
[7005, "文件大小超出了限制,如果上传文件,最大限制是100MB"],
|
|
13
13
|
[8001, "消息长度超出限制,消息长度不要超过12K"],
|
|
14
14
|
[80001, "消息或者资料中文本存在敏感内容,发送失败"],
|
|
15
|
-
[80004, "消息中图片存在敏感内容,发送失败"]
|
|
15
|
+
[80004, "消息中图片存在敏感内容,发送失败"],
|
|
16
|
+
[10017, "您已被禁止聊天"]
|
|
16
17
|
]);
|
|
17
18
|
const sendMessages = async (messageList, currentConversation) => {
|
|
18
19
|
if (TUIStore.getData(StoreName.CHAT, "messageSource")) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./index.vue2.mjs";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const BottomPopup = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const BottomPopup = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-bd66b7e1"]]);
|
|
5
5
|
export {
|
|
6
6
|
BottomPopup as default
|
|
7
7
|
};
|
|
@@ -111,9 +111,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
111
111
|
key: 0,
|
|
112
112
|
class: normalizeClass([
|
|
113
113
|
"bottom-popup",
|
|
114
|
-
unref(isUniFrameWork) && "bottom-popup-uni",
|
|
115
114
|
!unref(isPC) && "bottom-popup-h5",
|
|
116
|
-
!unref(isPC) && props.modal && "bottom-popup-modal"
|
|
115
|
+
!unref(isPC) && props.modal && "bottom-popup-modal",
|
|
116
|
+
unref(isUniFrameWork) && "bottom-popup-uni"
|
|
117
117
|
]),
|
|
118
118
|
onClick: closeBottomPopup
|
|
119
119
|
}, [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./index.vue2.mjs";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const ImagePreviewer = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const ImagePreviewer = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-7614e4b7"]]);
|
|
5
5
|
export {
|
|
6
6
|
ImagePreviewer as default
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./index.vue2.mjs";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const Overlay = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const Overlay = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-7c386a69"]]);
|
|
5
5
|
export {
|
|
6
6
|
Overlay as default
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./index.vue2.mjs";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const Transfer = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const Transfer = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-6b1d6fb4"]]);
|
|
5
5
|
export {
|
|
6
6
|
Transfer as default
|
|
7
7
|
};
|
|
@@ -5,8 +5,8 @@ import Icon from "../Icon.vue.mjs";
|
|
|
5
5
|
import selectedIcon from "../../../assets/icon/selected.svg.mjs";
|
|
6
6
|
import backIcon from "../../../assets/icon/back.svg.mjs";
|
|
7
7
|
import cancelIcon from "../../../assets/icon/cancel.svg.mjs";
|
|
8
|
-
import { isPC,
|
|
9
|
-
const _withScopeId = (n) => (pushScopeId("data-v-
|
|
8
|
+
import { isPC, isWeChat, isUniFrameWork } from "../../../utils/env.mjs";
|
|
9
|
+
const _withScopeId = (n) => (pushScopeId("data-v-6b1d6fb4"), n = n(), popScopeId(), n);
|
|
10
10
|
const _hoisted_1 = {
|
|
11
11
|
key: 0,
|
|
12
12
|
class: "transfer-header transfer-h5-header"
|
|
@@ -164,7 +164,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
164
164
|
};
|
|
165
165
|
return (_ctx, _cache) => {
|
|
166
166
|
return openBlock(), createElementBlock("div", {
|
|
167
|
-
class: normalizeClass(["transfer", [!unref(isPC) ? "transfer-h5" : "", unref(
|
|
167
|
+
class: normalizeClass(["transfer", [!unref(isPC) ? "transfer-h5" : "", unref(isWeChat) ? "transfer-h5-wechat" : ""]])
|
|
168
168
|
}, [
|
|
169
169
|
!unref(isPC) ? (openBlock(), createElementBlock("header", _hoisted_1, [
|
|
170
170
|
!props.isHiddenBackIcon ? (openBlock(), createElementBlock("div", {
|
|
@@ -134,9 +134,11 @@ declare const TUIChat: {
|
|
|
134
134
|
'[\u8BED\u97F3]': string;
|
|
135
135
|
'[\u89C6\u9891]': string;
|
|
136
136
|
'[\u6587\u4EF6]': string;
|
|
137
|
+
'[\u4F4D\u7F6E]': string;
|
|
137
138
|
'[\u5730\u7406\u4F4D\u7F6E]': string;
|
|
138
139
|
'[\u52A8\u753B\u8868\u60C5]': string;
|
|
139
140
|
'[\u7FA4\u63D0\u793A]': string;
|
|
141
|
+
'[\u7FA4\u63D0\u793A\u6D88\u606F]': string;
|
|
140
142
|
'[\u804A\u5929\u8BB0\u5F55]': string;
|
|
141
143
|
引用内容已撤回: string;
|
|
142
144
|
群聊的聊天记录: string;
|
|
@@ -146,5 +148,6 @@ declare const TUIChat: {
|
|
|
146
148
|
该群聊已被解散: string;
|
|
147
149
|
您已被管理员移出群聊: string;
|
|
148
150
|
您已退出该群聊: string;
|
|
151
|
+
您已被禁止聊天: string;
|
|
149
152
|
};
|
|
150
153
|
export default TUIChat;
|
|
@@ -4,7 +4,7 @@ const TUIChat = {
|
|
|
4
4
|
"表情": "[Face]",
|
|
5
5
|
"查看更多": "View more",
|
|
6
6
|
"撤回": "Recall",
|
|
7
|
-
"撤回了一条消息": "recalled a message",
|
|
7
|
+
"撤回了一条消息": " recalled a message",
|
|
8
8
|
"打开": "Open",
|
|
9
9
|
"单击下载": "Click download",
|
|
10
10
|
"点此投诉": "Complain",
|
|
@@ -134,9 +134,11 @@ const TUIChat = {
|
|
|
134
134
|
"[语音]": "[Voice]",
|
|
135
135
|
"[视频]": "[Video]",
|
|
136
136
|
"[文件]": "[File]",
|
|
137
|
+
"[位置]": "[Location]",
|
|
137
138
|
"[地理位置]": "[Location]",
|
|
138
139
|
"[动画表情]": "[Animated Sticker]",
|
|
139
140
|
"[群提示]": "[Group Tip]",
|
|
141
|
+
"[群提示消息]": "[Group Notification]",
|
|
140
142
|
"[聊天记录]": "[Chat History]",
|
|
141
143
|
"引用内容已撤回": "The quoted message has been withdrawn",
|
|
142
144
|
"群聊的聊天记录": "Chat history for Group Chat",
|
|
@@ -145,7 +147,8 @@ const TUIChat = {
|
|
|
145
147
|
"请升级IMSDK到v2.10.1或更高版本查看此消息": "Please upgrade IMSDK to v2.10.1 or higher to view this message",
|
|
146
148
|
"该群聊已被解散": "The group has been dismissed",
|
|
147
149
|
"您已被管理员移出群聊": "You have been removed from the group by the admin.",
|
|
148
|
-
"您已退出该群聊": "You have left the group."
|
|
150
|
+
"您已退出该群聊": "You have left the group.",
|
|
151
|
+
"您已被禁止聊天": "you have been forbidden to speak"
|
|
149
152
|
};
|
|
150
153
|
export {
|
|
151
154
|
TUIChat as default
|
|
@@ -146,9 +146,11 @@ declare const messages: {
|
|
|
146
146
|
'[\u8BED\u97F3]': string;
|
|
147
147
|
'[\u89C6\u9891]': string;
|
|
148
148
|
'[\u6587\u4EF6]': string;
|
|
149
|
+
'[\u4F4D\u7F6E]': string;
|
|
149
150
|
'[\u5730\u7406\u4F4D\u7F6E]': string;
|
|
150
151
|
'[\u52A8\u753B\u8868\u60C5]': string;
|
|
151
152
|
'[\u7FA4\u63D0\u793A]': string;
|
|
153
|
+
'[\u7FA4\u63D0\u793A\u6D88\u606F]': string;
|
|
152
154
|
'[\u804A\u5929\u8BB0\u5F55]': string;
|
|
153
155
|
引用内容已撤回: string;
|
|
154
156
|
群聊的聊天记录: string;
|
|
@@ -158,6 +160,7 @@ declare const messages: {
|
|
|
158
160
|
该群聊已被解散: string;
|
|
159
161
|
您已被管理员移出群聊: string;
|
|
160
162
|
您已退出该群聊: string;
|
|
163
|
+
您已被禁止聊天: string;
|
|
161
164
|
};
|
|
162
165
|
TUIConversation: {
|
|
163
166
|
发起会话: string;
|
|
@@ -7,7 +7,7 @@ const message = {
|
|
|
7
7
|
"踢出群组": "was kicked out of the group",
|
|
8
8
|
"成为管理员": "was set as an admin",
|
|
9
9
|
"被撤销管理员": "was revoked",
|
|
10
|
-
"被禁言": " was
|
|
10
|
+
"被禁言": " was muted",
|
|
11
11
|
"被取消禁言": "cancel the prohibition",
|
|
12
12
|
"群提示消息": "group prompt message",
|
|
13
13
|
"管理员": "The admin",
|
|
@@ -53,7 +53,7 @@ const message = {
|
|
|
53
53
|
"对方忙线中": "Line busy",
|
|
54
54
|
"忙线未接听": " Line busy. Call not received.",
|
|
55
55
|
"对方无应答": "Call wasn't answered",
|
|
56
|
-
"超时无应答": "Call
|
|
56
|
+
"超时无应答": "Call not answered",
|
|
57
57
|
"对本次服务评价": "Rate this service",
|
|
58
58
|
"查看详情>>": "View details >>"
|
|
59
59
|
}
|