@tencentcloud/roomkit-electron-vue3 2.7.2 → 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/chat-header/index.vue2.mjs +1 -1
- package/es/components/Chat/ChatKit/components/TUIChat/emoji-config/default-emoji.mjs +4 -4
- package/es/components/Chat/ChatKit/components/TUIChat/emoji-config/index.mjs +1 -1
- 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 +24 -11
- 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/message-input-quote/index.vue2.mjs +1 -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/emoji-picker/emoji-picker-dialog.vue2.mjs +1 -1
- package/es/components/Chat/ChatKit/components/TUIChat/message-input-toolbar/image-upload/index.vue2.mjs +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-input-toolbar/video-upload/index.vue2.mjs +1 -1
- 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 +4 -4
- package/es/components/Chat/ChatKit/components/TUIChat/message-list/message-elements/message-audio.vue2.mjs +1 -1
- package/es/components/Chat/ChatKit/components/TUIChat/message-list/message-elements/message-record/index.vue2.mjs +1 -1
- package/es/components/Chat/ChatKit/components/TUIChat/message-list/message-group-application/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/offlinePushInfoManager/offlinePushInfoManager.mjs +1 -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 +3 -2
- package/es/components/Chat/ChatKit/components/common/BottomPopup/index.vue.mjs +1 -1
- package/es/components/Chat/ChatKit/components/common/BottomPopup/index.vue2.mjs +3 -3
- package/es/components/Chat/ChatKit/components/common/Dialog/index.vue2.mjs +1 -1
- package/es/components/Chat/ChatKit/components/common/Drawer/index.vue2.mjs +1 -1
- package/es/components/Chat/ChatKit/components/common/Icon.vue2.mjs +1 -1
- 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/Overlay/index.vue2.mjs +1 -1
- package/es/components/Chat/ChatKit/components/common/Toast/index.mjs +1 -1
- package/es/components/Chat/ChatKit/components/common/Toast/index.vue.d.ts +1 -1
- package/es/components/Chat/ChatKit/components/common/Toast/index.vue2.mjs +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 +4 -4
- 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 +5 -3
- 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/plugins/plugin-components/message-plugin.vue2.mjs +1 -1
- 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/index.vue2.mjs +1 -1
- package/es/components/ManageMember/MemberControl/useMemberControlHooks.d.ts +2 -2
- package/es/components/ManageMember/MemberControl/useMemberControlHooks.mjs +4 -4
- package/es/components/ManageMember/MemberInvite/MemberInvite.vue2.mjs +1 -1
- package/es/components/ManageMember/index.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 +2 -2
- package/es/components/RoomFooter/ApplyControl/MemberApplyControl.vue2.mjs +1 -1
- package/es/components/RoomFooter/AudioControl.vue2.mjs +1 -1
- package/es/components/RoomFooter/BasicBeauty.vue.mjs +1 -1
- package/es/components/RoomFooter/BasicBeauty.vue2.mjs +8 -5
- 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 +5 -7
- 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 +4 -4
- package/es/components/RoomFooter/ScreenShareControl/ScreenWindowSelectDialog.vue2.mjs +1 -1
- package/es/components/RoomFooter/VideoControl.vue2.mjs +2 -2
- package/es/components/RoomFooter/VirtualBackground.vue.mjs +1 -1
- package/es/components/RoomFooter/VirtualBackground.vue2.mjs +6 -3
- package/es/components/RoomFooter/WhiteboardControl.vue.mjs +14 -4
- 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.vue2.mjs +1 -1
- package/es/components/RoomHeader/index/LayoutControl.vue2.mjs +2 -2
- 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 +3 -4
- package/es/components/RoomInvite/InvitationNotification.vue2.mjs +2 -2
- package/es/components/RoomInvite/index.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/RoomSetting/index.vue2.mjs +1 -1
- package/es/components/RoomSidebar/index.vue.mjs +1 -1
- package/es/components/ScheduleConference/Contacts.vue2.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 +12 -8
- package/es/components/ScheduleConference/ScheduleRoomControl.vue.mjs +1 -1
- package/es/components/ScheduleConference/ScheduleRoomControl.vue2.mjs +4 -4
- package/es/components/ScheduleConference/ScheduleRoomList.vue2.mjs +2 -2
- package/es/components/ScheduleConference/ShareLink.vue2.mjs +2 -2
- 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 +18 -13
- 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/VideoProfile.vue2.mjs +1 -1
- package/es/components/common/VideoSettingTab.vue2.mjs +2 -2
- package/es/components/common/base/Button.vue.d.ts +1 -1
- package/es/components/common/base/Button.vue2.mjs +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/Dialog/index.vue2.mjs +1 -1
- 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/Input/index.vue2.mjs +1 -1
- package/es/components/common/base/Message/Message.vue.d.ts +4 -4
- package/es/components/common/base/Message/Message.vue2.mjs +1 -1
- package/es/components/common/base/MessageBox/index.vue.d.ts +1 -1
- package/es/components/common/base/MessageBox/index.vue2.mjs +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/common/base/SvgIcon.vue2.mjs +1 -1
- package/es/components/{AITools → common/widgets/AITools}/AISubtitles.vue.mjs +2 -2
- package/es/components/{AITools → common/widgets/AITools}/AISubtitles.vue2.mjs +7 -6
- package/es/components/{AITools → common/widgets/AITools}/AITranscription.vue.mjs +2 -2
- package/es/components/{AITools → common/widgets/AITools}/AITranscription.vue2.mjs +8 -7
- 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/constants/room.mjs +3 -1
- package/es/extension/RoomMessageCard/RoomMessageCard.vue2.mjs +1 -1
- package/es/extension/chatExtension.mjs +7 -4
- package/es/extension/utils/interact.mjs +1 -1
- package/es/extension/utils/setLanguage.mjs +1 -1
- package/es/hooks/useDeviceManager.mjs +1 -1
- package/es/hooks/useMasterApplyControl.mjs +2 -1
- package/es/index.d.ts +1 -0
- package/es/index.mjs +956 -1184
- 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} +111 -114
- package/es/services/manager/roomActionManager.d.ts +3 -0
- package/es/services/manager/roomActionManager.mjs +8 -1
- 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 +24 -42
- package/es/stores/basic.mjs +7 -2
- package/es/stores/room.d.ts +29 -1
- package/es/stores/room.mjs +50 -57
- package/es/utils/common/logger/index.mjs +1 -1
- 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/index.vue2.js +6 -6
- 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 +9 -9
- package/lib/components/Chat/ChatKit/components/TUIChat/message-list/message-elements/message-quote/index.vue2.js +4 -4
- 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 +11 -11
- 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 +5 -3
- 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/AudioControl.vue2.js +4 -4
- 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 +8 -8
- package/lib/components/RoomFooter/VideoControl.vue2.js +4 -4
- 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.vue2.js +1 -1
- 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 +7 -6
- package/lib/components/{AITools → common/widgets/AITools}/AITranscription.vue.js +2 -2
- package/lib/components/{AITools → common/widgets/AITools}/AITranscription.vue2.js +8 -7
- 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 +24 -34
- package/lib/constants/room.js +3 -1
- package/lib/extension/chatExtension.js +5 -2
- package/lib/extension/utils/interact.js +1 -1
- package/lib/extension/utils/setLanguage.js +1 -1
- package/lib/hooks/useMasterApplyControl.js +11 -10
- package/lib/index.d.ts +1 -0
- package/lib/index.js +956 -1184
- 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 +13 -10
- 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 -56
- 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/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 +1 -1
- package/src/TUIRoom/components/{AITools → common/widgets/AITools}/AITranscription.vue +2 -2
- 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 -68
- 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
|
@@ -40,13 +40,13 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
40
40
|
const isRenderedEmojiPicker = Vue.ref(true);
|
|
41
41
|
isRenderedEmojiPicker.value = featureConfig.InputEmoji || featureConfig.InputStickers;
|
|
42
42
|
Vue.onMounted(() => {
|
|
43
|
-
TUIChatEngine.TUIStore.watch(TUIChatEngine.StoreName.
|
|
44
|
-
|
|
43
|
+
TUIChatEngine.TUIStore.watch(TUIChatEngine.StoreName.CUSTOM, {
|
|
44
|
+
activeConversation: onActiveConversationUpdate
|
|
45
45
|
});
|
|
46
46
|
});
|
|
47
47
|
Vue.onUnmounted(() => {
|
|
48
|
-
TUIChatEngine.TUIStore.unwatch(TUIChatEngine.StoreName.
|
|
49
|
-
|
|
48
|
+
TUIChatEngine.TUIStore.unwatch(TUIChatEngine.StoreName.CUSTOM, {
|
|
49
|
+
activeConversation: onActiveConversationUpdate
|
|
50
50
|
});
|
|
51
51
|
});
|
|
52
52
|
Vue.watch(() => props.displayType, (newValue) => {
|
|
@@ -57,18 +57,18 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
57
57
|
emits("scrollToLatestMessage");
|
|
58
58
|
}
|
|
59
59
|
});
|
|
60
|
-
const
|
|
61
|
-
var _a
|
|
62
|
-
if ((conversation == null ? void 0 : conversation.conversationID) && conversation.conversationID !== ((_a = currentConversation.value) == null ? void 0 : _a.conversationID)) {
|
|
63
|
-
getExtensionList(conversation.conversationID);
|
|
64
|
-
}
|
|
65
|
-
currentConversation.value = conversation;
|
|
66
|
-
isGroup.value = ((_b = currentConversation == null ? void 0 : currentConversation.value) == null ? void 0 : _b.type) === TUIChatEngine.TYPES.CONV_GROUP;
|
|
67
|
-
};
|
|
68
|
-
const getExtensionList = (conversationID) => {
|
|
60
|
+
const onActiveConversationUpdate = (conversationID) => {
|
|
61
|
+
var _a;
|
|
69
62
|
if (!conversationID) {
|
|
70
63
|
return;
|
|
71
64
|
}
|
|
65
|
+
if (conversationID !== ((_a = currentConversation.value) == null ? void 0 : _a.conversationID)) {
|
|
66
|
+
getExtensionList();
|
|
67
|
+
currentConversation.value = TUIChatEngine.TUIStore.getData(TUIChatEngine.StoreName.CONV, "currentConversation");
|
|
68
|
+
isGroup.value = conversationID.startsWith(TUIChatEngine.TYPES.CONV_GROUP);
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
const getExtensionList = () => {
|
|
72
72
|
const chatType = config.default.getChatType();
|
|
73
73
|
const params = { chatType };
|
|
74
74
|
if (chatType === TUICore.TUIConstants.TUIChat.TYPE.CUSTOMER_SERVICE) {
|
|
@@ -4,5 +4,5 @@ const index_vue_vue_type_script_setup_true_lang = ;/* empty css */
|
|
|
4
4
|
;/* empty css */
|
|
5
5
|
;/* empty css */
|
|
6
6
|
const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.js");
|
|
7
|
-
const MessageList = /* @__PURE__ */ _pluginVue_exportHelper.default(index_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-
|
|
7
|
+
const MessageList = /* @__PURE__ */ _pluginVue_exportHelper.default(index_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-82829db6"]]);
|
|
8
8
|
exports.default = MessageList;
|
|
@@ -10,7 +10,7 @@ const index$1 = require("./message-group-application/index.vue.js");
|
|
|
10
10
|
const messageText = require("./message-elements/message-text.vue.js");
|
|
11
11
|
const messageImage = require("./message-elements/message-image.vue.js");
|
|
12
12
|
const messageAudio = require("./message-elements/message-audio.vue.js");
|
|
13
|
-
const index$
|
|
13
|
+
const index$4 = require("./message-elements/message-record/index.vue.js");
|
|
14
14
|
const messageFile = require("./message-elements/message-file.vue.js");
|
|
15
15
|
const messageFace = require("./message-elements/message-face.vue.js");
|
|
16
16
|
const messageCustom = require("./message-elements/message-custom.vue.js");
|
|
@@ -27,8 +27,8 @@ const index$a = require("./read-receipt-panel/index.vue.js");
|
|
|
27
27
|
const index$2 = require("../../../plugins/plugin-components/index.js");
|
|
28
28
|
const index$8 = require("../../common/Dialog/index.vue.js");
|
|
29
29
|
const index$9 = require("../../common/ImagePreviewer/index.vue.js");
|
|
30
|
-
const index$
|
|
31
|
-
const index$
|
|
30
|
+
const index$3 = require("../../common/ProgressMessage/index.vue.js");
|
|
31
|
+
const index$5 = require("../emoji-config/index.js");
|
|
32
32
|
const env = require("../../../utils/env.js");
|
|
33
33
|
const chatStorage = require("../utils/chatStorage.js");
|
|
34
34
|
const lodash = require("../../../utils/lodash.js");
|
|
@@ -541,7 +541,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
541
541
|
}, null, 8, ["content", "blinkMessageIDList"])) : item.isRevoked ? (Vue.openBlock(), Vue.createBlock(messageRevoked.default, {
|
|
542
542
|
key: 1,
|
|
543
543
|
isEdit: item.type === Vue.unref(TYPES).MSG_TEXT,
|
|
544
|
-
messageItem: item,
|
|
544
|
+
messageItem: Vue.unref(utils.shallowCopyMessage)(item),
|
|
545
545
|
onMessageEdit: ($event) => handleEdit(item)
|
|
546
546
|
}, null, 8, ["isEdit", "messageItem", "onMessageEdit"])) : Vue.unref(index$2.isPluginMessage)(item) ? (Vue.openBlock(), Vue.createBlock(messagePlugin.default, {
|
|
547
547
|
key: 2,
|
|
@@ -577,7 +577,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
577
577
|
item.type === Vue.unref(TYPES).MSG_TEXT ? (Vue.openBlock(), Vue.createBlock(messageText.default, {
|
|
578
578
|
key: 0,
|
|
579
579
|
content: item.getMessageContent()
|
|
580
|
-
}, null, 8, ["content"])) : item.type === Vue.unref(TYPES).MSG_IMAGE ? (Vue.openBlock(), Vue.createBlock(index$
|
|
580
|
+
}, null, 8, ["content"])) : item.type === Vue.unref(TYPES).MSG_IMAGE ? (Vue.openBlock(), Vue.createBlock(index$3.default, {
|
|
581
581
|
key: 1,
|
|
582
582
|
content: item.getMessageContent(),
|
|
583
583
|
messageItem: item
|
|
@@ -590,7 +590,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
590
590
|
}, null, 8, ["content", "messageItem"])
|
|
591
591
|
]),
|
|
592
592
|
_: 2
|
|
593
|
-
}, 1032, ["content", "messageItem"])) : item.type === Vue.unref(TYPES).MSG_VIDEO ? (Vue.openBlock(), Vue.createBlock(index$
|
|
593
|
+
}, 1032, ["content", "messageItem"])) : item.type === Vue.unref(TYPES).MSG_VIDEO ? (Vue.openBlock(), Vue.createBlock(index$3.default, {
|
|
594
594
|
key: 2,
|
|
595
595
|
content: item.getMessageContent(),
|
|
596
596
|
messageItem: item
|
|
@@ -607,7 +607,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
607
607
|
content: item.getMessageContent(),
|
|
608
608
|
messageItem: item,
|
|
609
609
|
onSetAudioPlayed: setAudioPlayed
|
|
610
|
-
}, null, 8, ["content", "messageItem"])) : item.type === Vue.unref(TYPES).MSG_FILE ? (Vue.openBlock(), Vue.createBlock(index$
|
|
610
|
+
}, null, 8, ["content", "messageItem"])) : item.type === Vue.unref(TYPES).MSG_FILE ? (Vue.openBlock(), Vue.createBlock(index$3.default, {
|
|
611
611
|
key: 4,
|
|
612
612
|
content: item.getMessageContent(),
|
|
613
613
|
messageItem: item
|
|
@@ -619,7 +619,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
619
619
|
}, null, 8, ["content", "messageItem"])
|
|
620
620
|
]),
|
|
621
621
|
_: 2
|
|
622
|
-
}, 1032, ["content", "messageItem"])) : item.type === Vue.unref(TYPES).MSG_MERGER ? (Vue.openBlock(), Vue.createBlock(index$
|
|
622
|
+
}, 1032, ["content", "messageItem"])) : item.type === Vue.unref(TYPES).MSG_MERGER ? (Vue.openBlock(), Vue.createBlock(index$4.default, {
|
|
623
623
|
key: 5,
|
|
624
624
|
renderData: item.payload,
|
|
625
625
|
messageItem: item
|
|
@@ -639,7 +639,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
639
639
|
Vue.unref(isShowEmojiPlugin) && item.reactionList.length > 0 ? (Vue.openBlock(), Vue.createBlock(_component_TUIEmojiPlugin, {
|
|
640
640
|
key: 0,
|
|
641
641
|
type: "reaction-detail",
|
|
642
|
-
emojiConfig: Vue.unref(index$
|
|
642
|
+
emojiConfig: Vue.unref(index$5.emojiConfig),
|
|
643
643
|
message: Vue.unref(utils.shallowCopyMessage)(item)
|
|
644
644
|
}, null, 8, ["emojiConfig", "message"])) : Vue.createCommentVNode("", true)
|
|
645
645
|
]),
|
|
@@ -5,9 +5,9 @@ require("../../../../../adapter-vue.js");
|
|
|
5
5
|
const TUIChatEngine = require("@tencentcloud/chat-uikit-engine");
|
|
6
6
|
const universalApi = require("@tencentcloud/universal-api");
|
|
7
7
|
const env = require("../../../../../utils/env.js");
|
|
8
|
-
const index = require("../../../../common/Toast/index.js");
|
|
8
|
+
const index$1 = require("../../../../common/Toast/index.js");
|
|
9
9
|
const _interface = require("./interface.js");
|
|
10
|
-
const index
|
|
10
|
+
const index = require("../../../emoji-config/index.js");
|
|
11
11
|
const type = require("../../../../common/Toast/type.js");
|
|
12
12
|
const _hoisted_1 = {
|
|
13
13
|
key: 0,
|
|
@@ -127,7 +127,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
127
127
|
console.error(error);
|
|
128
128
|
}
|
|
129
129
|
} else {
|
|
130
|
-
index.Toast({
|
|
130
|
+
index$1.Toast({
|
|
131
131
|
message: TUIChatEngine.TUITranslateService.t("TUIChat.无法定位到原消息"),
|
|
132
132
|
type: type.default.WARNING
|
|
133
133
|
});
|
|
@@ -142,7 +142,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
142
142
|
}),
|
|
143
143
|
onClick: scrollToOriginalMessage
|
|
144
144
|
}, [
|
|
145
|
-
Vue.unref(isMessageRevoked) ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, Vue.toDisplayString(Vue.unref(TUIChatEngine.TUITranslateService).t("TUIChat.引用内容已撤回")), 1)) : (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_2, Vue.toDisplayString(Vue.unref(messageQuoteContent).messageSender) + ": " + Vue.toDisplayString(Vue.unref(index
|
|
145
|
+
Vue.unref(isMessageRevoked) ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, Vue.toDisplayString(Vue.unref(TUIChatEngine.TUITranslateService).t("TUIChat.引用内容已撤回")), 1)) : (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_2, Vue.toDisplayString(Vue.unref(messageQuoteContent).messageSender) + ": " + Vue.toDisplayString(Vue.unref(index.transformTextWithKeysToEmojiNames)(Vue.unref(messageQuoteText))), 1))
|
|
146
146
|
], 2)) : Vue.createCommentVNode("", true);
|
|
147
147
|
};
|
|
148
148
|
}
|
package/lib/components/Chat/ChatKit/components/TUIChat/message-list/message-tool/index.vue.js
CHANGED
|
@@ -3,5 +3,5 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
|
3
3
|
const index_vue_vue_type_script_setup_true_lang = ;/* empty css */
|
|
4
4
|
;/* empty css */
|
|
5
5
|
const _pluginVue_exportHelper = require("../../../../../../../_virtual/_plugin-vue_export-helper.js");
|
|
6
|
-
const MessageTool = /* @__PURE__ */ _pluginVue_exportHelper.default(index_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-
|
|
6
|
+
const MessageTool = /* @__PURE__ */ _pluginVue_exportHelper.default(index_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-96f7d799"]]);
|
|
7
7
|
exports.default = MessageTool;
|
package/lib/components/Chat/ChatKit/components/TUIChat/message-list/message-tool/index.vue2.js
CHANGED
|
@@ -5,7 +5,7 @@ const TUIChatEngine = require("@tencentcloud/chat-uikit-engine");
|
|
|
5
5
|
const universalApi = require("@tencentcloud/universal-api");
|
|
6
6
|
require("../../../../adapter-vue.js");
|
|
7
7
|
const Icon = require("../../../common/Icon.vue.js");
|
|
8
|
-
const index
|
|
8
|
+
const index = require("../../../common/Toast/index.js");
|
|
9
9
|
const msgDel = require("../../../../assets/icon/msg-del.svg.js");
|
|
10
10
|
const msgCopy = require("../../../../assets/icon/msg-copy.svg.js");
|
|
11
11
|
const msgQuote = require("../../../../assets/icon/msg-quote.svg.js");
|
|
@@ -15,7 +15,7 @@ const translate = require("../../../../assets/icon/translate.svg.js");
|
|
|
15
15
|
const multipleSelect = require("../../../../assets/icon/multiple-select.svg.js");
|
|
16
16
|
const convertText_zh = require("../../../../assets/icon/convertText_zh.svg.js");
|
|
17
17
|
const enableSampleTaskStatus = require("../../../../utils/enableSampleTaskStatus.js");
|
|
18
|
-
const index = require("../../emoji-config/index.js");
|
|
18
|
+
const index$1 = require("../../emoji-config/index.js");
|
|
19
19
|
const env = require("../../../../utils/env.js");
|
|
20
20
|
const config = require("../../config.js");
|
|
21
21
|
const copy = require("../../utils/copy.js");
|
|
@@ -180,9 +180,9 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
180
180
|
messageModel.revokeMessage().then(() => {
|
|
181
181
|
enableSampleTaskStatus.enableSampleTaskStatus("revokeMessage");
|
|
182
182
|
}).catch((error) => {
|
|
183
|
-
if (error.code === 20016) {
|
|
183
|
+
if (error.code === 20016 || error.code === 10031) {
|
|
184
184
|
const message2 = TUIChatEngine.TUITranslateService.t("TUIChat.已过撤回时限");
|
|
185
|
-
index
|
|
185
|
+
index.Toast({
|
|
186
186
|
message: message2,
|
|
187
187
|
type: type.default.ERROR
|
|
188
188
|
});
|
|
@@ -198,7 +198,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
198
198
|
var _a, _b, _c, _d, _e;
|
|
199
199
|
if (env.isUniFrameWork) {
|
|
200
200
|
(_c = universalApi.TUIGlobal) == null ? void 0 : _c.setClipboardData({
|
|
201
|
-
data: index.transformTextWithKeysToEmojiNames((_b = (_a = message.value) == null ? void 0 : _a.payload) == null ? void 0 : _b.text)
|
|
201
|
+
data: index$1.transformTextWithKeysToEmojiNames((_b = (_a = message.value) == null ? void 0 : _a.payload) == null ? void 0 : _b.text)
|
|
202
202
|
});
|
|
203
203
|
} else {
|
|
204
204
|
copy.default.copySelection((_e = (_d = message.value) == null ? void 0 : _d.payload) == null ? void 0 : _e.text);
|
|
@@ -221,34 +221,34 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
221
221
|
function translateMessage() {
|
|
222
222
|
const enable = TUIChatEngine.TUIStore.getData(TUIChatEngine.StoreName.APP, "enabledTranslationPlugin");
|
|
223
223
|
if (!enable) {
|
|
224
|
-
index
|
|
224
|
+
index.Toast({
|
|
225
225
|
message: TUIChatEngine.TUITranslateService.t("TUIChat.请开通翻译功能"),
|
|
226
226
|
type: type.default.WARNING
|
|
227
227
|
});
|
|
228
228
|
return;
|
|
229
229
|
}
|
|
230
230
|
if (!message.value) return;
|
|
231
|
-
const
|
|
231
|
+
const index$12 = actionItems.value.findIndex((item) => item.key === "translate");
|
|
232
232
|
TUIChatEngine.TUIStore.update(TUIChatEngine.StoreName.CHAT, "translateTextInfo", {
|
|
233
233
|
conversationID: message.value.conversationID,
|
|
234
234
|
messageID: message.value.ID,
|
|
235
|
-
visible: !actionItems.value[
|
|
235
|
+
visible: !actionItems.value[index$12].visible
|
|
236
236
|
});
|
|
237
237
|
}
|
|
238
238
|
function convertVoiceToText() {
|
|
239
239
|
const enable = TUIChatEngine.TUIStore.getData(TUIChatEngine.StoreName.APP, "enabledVoiceToText");
|
|
240
240
|
if (!enable) {
|
|
241
|
-
index
|
|
241
|
+
index.Toast({
|
|
242
242
|
message: TUIChatEngine.TUITranslateService.t("TUIChat.请开通语音转文字功能")
|
|
243
243
|
});
|
|
244
244
|
return;
|
|
245
245
|
}
|
|
246
246
|
if (!message.value) return;
|
|
247
|
-
const
|
|
247
|
+
const index$12 = actionItems.value.findIndex((item) => item.key === "convert");
|
|
248
248
|
TUIChatEngine.TUIStore.update(TUIChatEngine.StoreName.CHAT, "voiceToTextInfo", {
|
|
249
249
|
conversationID: message.value.conversationID,
|
|
250
250
|
messageID: message.value.ID,
|
|
251
|
-
visible: !actionItems.value[
|
|
251
|
+
visible: !actionItems.value[index$12].visible
|
|
252
252
|
});
|
|
253
253
|
}
|
|
254
254
|
function multipleSelectMessage() {
|
|
@@ -3,5 +3,5 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
|
3
3
|
const messageRevoked_vue_vue_type_script_setup_true_lang = require("./message-revoked.vue2.js");
|
|
4
4
|
;/* empty css */
|
|
5
5
|
const _pluginVue_exportHelper = require("../../../../../../../_virtual/_plugin-vue_export-helper.js");
|
|
6
|
-
const MessageRevoked = /* @__PURE__ */ _pluginVue_exportHelper.default(messageRevoked_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-
|
|
6
|
+
const MessageRevoked = /* @__PURE__ */ _pluginVue_exportHelper.default(messageRevoked_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-f40107e2"]]);
|
|
7
7
|
exports.default = MessageRevoked;
|
package/lib/components/Chat/ChatKit/components/TUIChat/message-list/read-receipt-panel/index.vue.js
CHANGED
|
@@ -3,5 +3,5 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
|
3
3
|
const index_vue_vue_type_script_setup_true_lang = ;/* empty css */
|
|
4
4
|
;/* empty css */
|
|
5
5
|
const _pluginVue_exportHelper = require("../../../../../../../_virtual/_plugin-vue_export-helper.js");
|
|
6
|
-
const ReadReceiptPanel = /* @__PURE__ */ _pluginVue_exportHelper.default(index_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-
|
|
6
|
+
const ReadReceiptPanel = /* @__PURE__ */ _pluginVue_exportHelper.default(index_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-767e085a"]]);
|
|
7
7
|
exports.default = ReadReceiptPanel;
|
package/lib/components/Chat/ChatKit/components/TUIChat/message-list/read-receipt-panel/index.vue2.js
CHANGED
|
@@ -181,6 +181,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
181
181
|
class: Vue.normalizeClass({
|
|
182
182
|
"read-receipt-panel": true,
|
|
183
183
|
"read-receipt-panel-mobile": Vue.unref(env.isMobile),
|
|
184
|
+
"read-receipt-panel-uni": Vue.unref(env.isUniFrameWork),
|
|
184
185
|
"read-receipt-panel-close-mobile": Vue.unref(env.isMobile) && Vue.unref(isPanelClose)
|
|
185
186
|
})
|
|
186
187
|
}, [
|
|
@@ -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
|
}
|
|
@@ -12,6 +12,7 @@ class TUIChatServer {
|
|
|
12
12
|
__publicField(this, "currentMessageList", []);
|
|
13
13
|
TUICore.registerService(TUICore.TUIConstants.TUIChat.SERVICE.NAME, this);
|
|
14
14
|
TUICore.registerEvent(TUICore.TUIConstants.TUITheme.EVENT.THEME_CHANGED, TUICore.TUIConstants.TUITheme.EVENT_SUB_KEY.CHANGE_SUCCESS, this);
|
|
15
|
+
TUICore.registerEvent(TUICore.TUIConstants.TUIChat.EVENT.CHAT_TYPE_CHANGED, TUICore.TUIConstants.TUIChat.EVENT_SUB_KEY.CHANGE_SUCCESS, this);
|
|
15
16
|
TUIChatEngine.TUIStore.watch(TUIChatEngine.StoreName.CONV, {
|
|
16
17
|
currentConversationID: (id) => {
|
|
17
18
|
this.currentConversationID = id;
|
|
@@ -49,15 +50,23 @@ class TUIChatServer {
|
|
|
49
50
|
}
|
|
50
51
|
}
|
|
51
52
|
/**
|
|
52
|
-
* Listen for the success notification
|
|
53
|
+
* Listen for the success notification.
|
|
53
54
|
*/
|
|
54
55
|
onNotifyEvent(eventName, subKey, params) {
|
|
55
56
|
if (eventName === TUICore.TUIConstants.TUITheme.EVENT.THEME_CHANGED) {
|
|
56
57
|
switch (subKey) {
|
|
57
58
|
case TUICore.TUIConstants.TUITheme.EVENT_SUB_KEY.CHANGE_SUCCESS:
|
|
58
59
|
if (params == null ? void 0 : params.theme) {
|
|
59
|
-
|
|
60
|
-
|
|
60
|
+
config.default.setTheme(params.theme.toLowerCase());
|
|
61
|
+
}
|
|
62
|
+
break;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
if (eventName === TUICore.TUIConstants.TUIChat.EVENT.CHAT_TYPE_CHANGED) {
|
|
66
|
+
switch (subKey) {
|
|
67
|
+
case TUICore.TUIConstants.TUIChat.EVENT_SUB_KEY.CHANGE_SUCCESS:
|
|
68
|
+
if (params == null ? void 0 : params.chatType) {
|
|
69
|
+
config.default.setChatType(params == null ? void 0 : params.chatType);
|
|
61
70
|
}
|
|
62
71
|
break;
|
|
63
72
|
}
|
|
@@ -14,7 +14,8 @@ const sendMessageErrorCodeMap = /* @__PURE__ */ new Map([
|
|
|
14
14
|
[7005, "文件大小超出了限制,如果上传文件,最大限制是100MB"],
|
|
15
15
|
[8001, "消息长度超出限制,消息长度不要超过12K"],
|
|
16
16
|
[80001, "消息或者资料中文本存在敏感内容,发送失败"],
|
|
17
|
-
[80004, "消息中图片存在敏感内容,发送失败"]
|
|
17
|
+
[80004, "消息中图片存在敏感内容,发送失败"],
|
|
18
|
+
[10017, "您已被禁止聊天"]
|
|
18
19
|
]);
|
|
19
20
|
const sendMessages = async (messageList, currentConversation) => {
|
|
20
21
|
if (TUIChatEngine.TUIStore.getData(TUIChatEngine.StoreName.CHAT, "messageSource")) {
|
|
@@ -3,5 +3,5 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
|
3
3
|
const index_vue_vue_type_script_setup_true_lang = ;/* empty css */
|
|
4
4
|
;/* empty css */
|
|
5
5
|
const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.js");
|
|
6
|
-
const BottomPopup = /* @__PURE__ */ _pluginVue_exportHelper.default(index_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-
|
|
6
|
+
const BottomPopup = /* @__PURE__ */ _pluginVue_exportHelper.default(index_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-bd66b7e1"]]);
|
|
7
7
|
exports.default = BottomPopup;
|
|
@@ -113,9 +113,9 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
113
113
|
key: 0,
|
|
114
114
|
class: Vue.normalizeClass([
|
|
115
115
|
"bottom-popup",
|
|
116
|
-
Vue.unref(env.isUniFrameWork) && "bottom-popup-uni",
|
|
117
116
|
!Vue.unref(env.isPC) && "bottom-popup-h5",
|
|
118
|
-
!Vue.unref(env.isPC) && props.modal && "bottom-popup-modal"
|
|
117
|
+
!Vue.unref(env.isPC) && props.modal && "bottom-popup-modal",
|
|
118
|
+
Vue.unref(env.isUniFrameWork) && "bottom-popup-uni"
|
|
119
119
|
]),
|
|
120
120
|
onClick: closeBottomPopup
|
|
121
121
|
}, [
|
|
@@ -3,5 +3,5 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
|
3
3
|
const index_vue_vue_type_script_setup_true_lang = ;/* empty css */
|
|
4
4
|
;/* empty css */
|
|
5
5
|
const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.js");
|
|
6
|
-
const ImagePreviewer = /* @__PURE__ */ _pluginVue_exportHelper.default(index_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-
|
|
6
|
+
const ImagePreviewer = /* @__PURE__ */ _pluginVue_exportHelper.default(index_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-7614e4b7"]]);
|
|
7
7
|
exports.default = ImagePreviewer;
|
|
@@ -3,5 +3,5 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
|
3
3
|
const index_vue_vue_type_script_setup_true_lang = ;/* empty css */
|
|
4
4
|
;/* empty css */
|
|
5
5
|
const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.js");
|
|
6
|
-
const Overlay = /* @__PURE__ */ _pluginVue_exportHelper.default(index_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-
|
|
6
|
+
const Overlay = /* @__PURE__ */ _pluginVue_exportHelper.default(index_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-7c386a69"]]);
|
|
7
7
|
exports.default = Overlay;
|
|
@@ -3,5 +3,5 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
|
3
3
|
const index_vue_vue_type_script_setup_true_lang = ;/* empty css */
|
|
4
4
|
;/* empty css */
|
|
5
5
|
const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.js");
|
|
6
|
-
const Transfer = /* @__PURE__ */ _pluginVue_exportHelper.default(index_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-
|
|
6
|
+
const Transfer = /* @__PURE__ */ _pluginVue_exportHelper.default(index_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-6b1d6fb4"]]);
|
|
7
7
|
exports.default = Transfer;
|
|
@@ -8,7 +8,7 @@ const selected = require("../../../assets/icon/selected.svg.js");
|
|
|
8
8
|
const back = require("../../../assets/icon/back.svg.js");
|
|
9
9
|
const cancel = require("../../../assets/icon/cancel.svg.js");
|
|
10
10
|
const env = require("../../../utils/env.js");
|
|
11
|
-
const _withScopeId = (n) => (Vue.pushScopeId("data-v-
|
|
11
|
+
const _withScopeId = (n) => (Vue.pushScopeId("data-v-6b1d6fb4"), n = n(), Vue.popScopeId(), n);
|
|
12
12
|
const _hoisted_1 = {
|
|
13
13
|
key: 0,
|
|
14
14
|
class: "transfer-header transfer-h5-header"
|
|
@@ -166,7 +166,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
166
166
|
};
|
|
167
167
|
return (_ctx, _cache) => {
|
|
168
168
|
return Vue.openBlock(), Vue.createElementBlock("div", {
|
|
169
|
-
class: Vue.normalizeClass(["transfer", [!Vue.unref(env.isPC) ? "transfer-h5" : "", Vue.unref(env.
|
|
169
|
+
class: Vue.normalizeClass(["transfer", [!Vue.unref(env.isPC) ? "transfer-h5" : "", Vue.unref(env.isWeChat) ? "transfer-h5-wechat" : ""]])
|
|
170
170
|
}, [
|
|
171
171
|
!Vue.unref(env.isPC) ? (Vue.openBlock(), Vue.createElementBlock("header", _hoisted_1, [
|
|
172
172
|
!props.isHiddenBackIcon ? (Vue.openBlock(), Vue.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;
|
|
@@ -6,7 +6,7 @@ const TUIChat = {
|
|
|
6
6
|
"表情": "[Face]",
|
|
7
7
|
"查看更多": "View more",
|
|
8
8
|
"撤回": "Recall",
|
|
9
|
-
"撤回了一条消息": "recalled a message",
|
|
9
|
+
"撤回了一条消息": " recalled a message",
|
|
10
10
|
"打开": "Open",
|
|
11
11
|
"单击下载": "Click download",
|
|
12
12
|
"点此投诉": "Complain",
|
|
@@ -136,9 +136,11 @@ const TUIChat = {
|
|
|
136
136
|
"[语音]": "[Voice]",
|
|
137
137
|
"[视频]": "[Video]",
|
|
138
138
|
"[文件]": "[File]",
|
|
139
|
+
"[位置]": "[Location]",
|
|
139
140
|
"[地理位置]": "[Location]",
|
|
140
141
|
"[动画表情]": "[Animated Sticker]",
|
|
141
142
|
"[群提示]": "[Group Tip]",
|
|
143
|
+
"[群提示消息]": "[Group Notification]",
|
|
142
144
|
"[聊天记录]": "[Chat History]",
|
|
143
145
|
"引用内容已撤回": "The quoted message has been withdrawn",
|
|
144
146
|
"群聊的聊天记录": "Chat history for Group Chat",
|
|
@@ -147,6 +149,7 @@ const TUIChat = {
|
|
|
147
149
|
"请升级IMSDK到v2.10.1或更高版本查看此消息": "Please upgrade IMSDK to v2.10.1 or higher to view this message",
|
|
148
150
|
"该群聊已被解散": "The group has been dismissed",
|
|
149
151
|
"您已被管理员移出群聊": "You have been removed from the group by the admin.",
|
|
150
|
-
"您已退出该群聊": "You have left the group."
|
|
152
|
+
"您已退出该群聊": "You have left the group.",
|
|
153
|
+
"您已被禁止聊天": "you have been forbidden to speak"
|
|
151
154
|
};
|
|
152
155
|
exports.default = TUIChat;
|
|
@@ -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;
|
|
@@ -9,7 +9,7 @@ const message = {
|
|
|
9
9
|
"踢出群组": "was kicked out of the group",
|
|
10
10
|
"成为管理员": "was set as an admin",
|
|
11
11
|
"被撤销管理员": "was revoked",
|
|
12
|
-
"被禁言": " was
|
|
12
|
+
"被禁言": " was muted",
|
|
13
13
|
"被取消禁言": "cancel the prohibition",
|
|
14
14
|
"群提示消息": "group prompt message",
|
|
15
15
|
"管理员": "The admin",
|
|
@@ -55,7 +55,7 @@ const message = {
|
|
|
55
55
|
"对方忙线中": "Line busy",
|
|
56
56
|
"忙线未接听": " Line busy. Call not received.",
|
|
57
57
|
"对方无应答": "Call wasn't answered",
|
|
58
|
-
"超时无应答": "Call
|
|
58
|
+
"超时无应答": "Call not answered",
|
|
59
59
|
"对本次服务评价": "Rate this service",
|
|
60
60
|
"查看详情>>": "View details >>"
|
|
61
61
|
}
|