@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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, onMounted, onUnmounted, openBlock, createElementBlock, normalizeClass, unref, createVNode, createCommentVNode, createElementVNode, toDisplayString,
|
|
1
|
+
import { defineComponent, ref, onMounted, onUnmounted, openBlock, createElementBlock, normalizeClass, unref, createVNode, createCommentVNode, createElementVNode, toDisplayString, Fragment, renderList, withModifiers, pushScopeId, popScopeId } from "vue";
|
|
2
2
|
import "../../../adapter-vue.mjs";
|
|
3
3
|
import { TUIStore, StoreName, TUITranslateService } from "@tencentcloud/chat-uikit-engine";
|
|
4
4
|
import { TUIConstants } from "@tencentcloud/tui-core";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var _a, _b;
|
|
2
|
-
import Emoji
|
|
3
|
-
import Emoji from "./locales/en.mjs";
|
|
2
|
+
import Emoji from "./locales/zh_cn.mjs";
|
|
3
|
+
import Emoji$1 from "./locales/en.mjs";
|
|
4
4
|
import { EMOJI_TYPE } from "../../../constant.mjs";
|
|
5
5
|
const DEFAULT_BASIC_EMOJI_URL = "https://web.sdk.qcloud.com/im/assets/emoji-plugin/";
|
|
6
6
|
const DEFAULT_BIG_EMOJI_URL = "https://web.sdk.qcloud.com/im/assets/face-elem/";
|
|
@@ -144,10 +144,10 @@ const BIG_EMOJI_GROUP_LIST = [
|
|
|
144
144
|
];
|
|
145
145
|
const BASIC_EMOJI_NAME_TO_KEY_MAPPING = {
|
|
146
146
|
...Object.fromEntries(
|
|
147
|
-
(_a = Object.entries(Emoji
|
|
147
|
+
(_a = Object.entries(Emoji)) == null ? void 0 : _a.map(([key, val]) => [val, key])
|
|
148
148
|
),
|
|
149
149
|
...Object.fromEntries(
|
|
150
|
-
(_b = Object.entries(Emoji)) == null ? void 0 : _b.map(([key, val]) => [val, key])
|
|
150
|
+
(_b = Object.entries(Emoji$1)) == null ? void 0 : _b.map(([key, val]) => [val, key])
|
|
151
151
|
)
|
|
152
152
|
};
|
|
153
153
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TUITranslateService } from "@tencentcloud/chat-uikit-engine";
|
|
2
2
|
import { CUSTOM_BIG_EMOJI_GROUP_LIST } from "./custom-emoji.mjs";
|
|
3
3
|
import { CUSTOM_BIG_EMOJI_URL } from "./custom-emoji.mjs";
|
|
4
|
-
import {
|
|
4
|
+
import { DEFAULT_BASIC_EMOJI_URL, DEFAULT_BASIC_EMOJI_URL_MAPPING, BIG_EMOJI_GROUP_LIST, BASIC_EMOJI_NAME_TO_KEY_MAPPING } from "./default-emoji.mjs";
|
|
5
5
|
import { DEFAULT_BIG_EMOJI_URL } from "./default-emoji.mjs";
|
|
6
6
|
import Emoji from "./locales/zh_cn.mjs";
|
|
7
7
|
import { EMOJI_TYPE } from "../../../constant.mjs";
|
|
@@ -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
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, onMounted, onUnmounted, computed, openBlock, createElementBlock, createElementVNode, normalizeClass, unref, renderSlot, createCommentVNode, createVNode, toDisplayString, createBlock, Fragment } from "vue";
|
|
2
2
|
import "../../adapter-vue.mjs";
|
|
3
|
-
import TUIChatEngine, { TUIStore, StoreName,
|
|
3
|
+
import TUIChatEngine, { TUIStore, StoreName, TUITranslateService, TUIConversationService } from "@tencentcloud/chat-uikit-engine";
|
|
4
4
|
import TUICore, { TUIConstants } from "@tencentcloud/tui-core";
|
|
5
5
|
import ChatHeader from "./chat-header/index.vue.mjs";
|
|
6
6
|
import MessageList from "./message-list/index.vue.mjs";
|
|
@@ -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
|
});
|
|
@@ -3,7 +3,7 @@ import "../../../../adapter-vue.mjs";
|
|
|
3
3
|
import TUIChatEngine, { TUIStore, StoreName, TUITranslateService } from "@tencentcloud/chat-uikit-engine";
|
|
4
4
|
import Icon from "../../../common/Icon.vue.mjs";
|
|
5
5
|
import closeIcon from "../../../../assets/icon/icon-close.svg.mjs";
|
|
6
|
-
import {
|
|
6
|
+
import { isUniFrameWork, isH5 } from "../../../../utils/env.mjs";
|
|
7
7
|
import { transformTextWithKeysToEmojiNames } from "../../emoji-config/index.mjs";
|
|
8
8
|
const _hoisted_1 = { class: "input-quote-content" };
|
|
9
9
|
const _hoisted_2 = { class: "max-one-line" };
|
|
@@ -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;
|
|
@@ -7,7 +7,7 @@ import faceIconDark from "../../../../assets/icon/face-dark.svg.mjs";
|
|
|
7
7
|
import { EMOJI_TYPE } from "../../../../constant.mjs";
|
|
8
8
|
import { isPC, isUniFrameWork } from "../../../../utils/env.mjs";
|
|
9
9
|
import { isEnabledMessageReadReceiptGlobal } from "../../utils/utils.mjs";
|
|
10
|
-
import { EMOJI_GROUP_LIST,
|
|
10
|
+
import { EMOJI_GROUP_LIST, BASIC_EMOJI_URL_MAPPING, convertKeyToEmojiName } from "../../emoji-config/index.mjs";
|
|
11
11
|
import ChatConfig from "../../config.mjs";
|
|
12
12
|
const _hoisted_1 = ["onClick"];
|
|
13
13
|
const _hoisted_2 = ["src"];
|
|
@@ -2,7 +2,7 @@ import { defineComponent, ref, computed, openBlock, createBlock, unref, withCtx,
|
|
|
2
2
|
import TUIChatEngine, { TUIStore, StoreName, TUIChatService } from "@tencentcloud/chat-uikit-engine";
|
|
3
3
|
import { TUIGlobal } from "@tencentcloud/universal-api";
|
|
4
4
|
import "../../../../adapter-vue.mjs";
|
|
5
|
-
import { isUniFrameWork,
|
|
5
|
+
import { isUniFrameWork, isPC, isWeChat } from "../../../../utils/env.mjs";
|
|
6
6
|
import ToolbarItemContainer from "../toolbar-item-container/index.vue.mjs";
|
|
7
7
|
import imageIconLight from "../../../../assets/icon/image-light.svg.mjs";
|
|
8
8
|
import imageIconDark from "../../../../assets/icon/image-dark.svg.mjs";
|
|
@@ -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 { defineComponent, ref, openBlock, createBlock, unref, withCtx, createEle
|
|
|
2
2
|
import TUIChatEngine, { TUIStore, StoreName, TUIChatService } from "@tencentcloud/chat-uikit-engine";
|
|
3
3
|
import { TUIGlobal } from "@tencentcloud/universal-api";
|
|
4
4
|
import "../../../../adapter-vue.mjs";
|
|
5
|
-
import { isUniFrameWork,
|
|
5
|
+
import { isUniFrameWork, isPC, isWeChat } from "../../../../utils/env.mjs";
|
|
6
6
|
import ToolbarItemContainer from "../toolbar-item-container/index.vue.mjs";
|
|
7
7
|
import videoIconLight from "../../../../assets/icon/video-light.svg.mjs";
|
|
8
8
|
import videoIconDark from "../../../../assets/icon/video-dark.svg.mjs";
|
|
@@ -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
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent, ref, computed, onMounted,
|
|
1
|
+
import { defineComponent, ref, computed, onMounted, onUnmounted, nextTick, watch, resolveComponent, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, toDisplayString, createCommentVNode, createBlock, Fragment, renderList, createVNode, withModifiers, withCtx } from "vue";
|
|
2
2
|
import "../../../adapter-vue.mjs";
|
|
3
3
|
import TUIChatEngine, { TUIStore, StoreName, TUIChatService, TUITranslateService } from "@tencentcloud/chat-uikit-engine";
|
|
4
4
|
import TUICore, { TUIConstants } from "@tencentcloud/tui-core";
|
|
5
|
-
import { getScrollInfo, getBoundingClientRect
|
|
5
|
+
import { outsideClick, getScrollInfo, getBoundingClientRect } from "@tencentcloud/universal-api";
|
|
6
6
|
import Link from "./link/index.mjs";
|
|
7
7
|
import MessageGroupApplication from "./message-group-application/index.vue.mjs";
|
|
8
8
|
import MessageText from "./message-elements/message-text.vue.mjs";
|
|
@@ -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,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, onMounted, onUnmounted, watchEffect, openBlock, createElementBlock,
|
|
1
|
+
import { defineComponent, ref, onMounted, onUnmounted, watchEffect, openBlock, createElementBlock, normalizeClass, unref, withModifiers, createElementVNode, createVNode, normalizeStyle, toDisplayString } from "vue";
|
|
2
2
|
import "../../../../adapter-vue.mjs";
|
|
3
3
|
import Icon from "../../../common/Icon.vue.mjs";
|
|
4
4
|
import audioIcon from "../../../../assets/icon/msg-audio.svg.mjs";
|
|
@@ -4,7 +4,7 @@ import { TUITranslateService } from "@tencentcloud/chat-uikit-engine";
|
|
|
4
4
|
import Overlay from "../../../../common/Overlay/index.vue.mjs";
|
|
5
5
|
import Drawer from "../../../../common/Drawer/index.vue.mjs";
|
|
6
6
|
import SimpleMessageList from "../simple-message-list/index.vue.mjs";
|
|
7
|
-
import {
|
|
7
|
+
import { isPC, isH5, isUniFrameWork } from "../../../../../utils/env.mjs";
|
|
8
8
|
import { transformTextWithKeysToEmojiNames } from "../../../emoji-config/index.mjs";
|
|
9
9
|
const _hoisted_1 = { class: "record-title" };
|
|
10
10
|
const _hoisted_2 = { class: "record-abstract-container" };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent, ref, watch, onMounted, onUnmounted, openBlock, createElementBlock, unref, createElementVNode, toDisplayString, createCommentVNode, createVNode, withCtx,
|
|
1
|
+
import { defineComponent, ref, watch, onMounted, onUnmounted, openBlock, createElementBlock, unref, createElementVNode, toDisplayString, createCommentVNode, createVNode, withCtx, createBlock, Fragment, renderList, normalizeClass } from "vue";
|
|
2
2
|
import "../../../../adapter-vue.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import { TUIUserService, TUIStore, StoreName, TUITranslateService, TUIGroupService } from "@tencentcloud/chat-uikit-engine";
|
|
4
4
|
import Icon from "../../../common/Icon.vue.mjs";
|
|
5
5
|
import Avatar from "../../../common/Avatar/index.vue.mjs";
|
|
6
6
|
import Drawer from "../../../common/Drawer/index.vue.mjs";
|
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
|
}, [
|
|
@@ -3,7 +3,7 @@ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { en
|
|
|
3
3
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
4
|
import TUIChatEngine, { TUITranslateService, TUIStore, StoreName } from "@tencentcloud/chat-uikit-engine";
|
|
5
5
|
import { transformTextWithKeysToEmojiNames } from "../emoji-config/index.mjs";
|
|
6
|
-
import {
|
|
6
|
+
import { chatOfflinePushInfo, callOfflinePushInfo } from "./info.mjs";
|
|
7
7
|
import { PUSH_SCENE, DEFAULT_DESC } from "./const.mjs";
|
|
8
8
|
const _OfflinePushInfoManager = class _OfflinePushInfoManager {
|
|
9
9
|
constructor() {
|
|
@@ -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
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import TUIChatEngine, {
|
|
1
|
+
import TUIChatEngine, { TUIStore, StoreName, TUIChatService, TUITranslateService } from "@tencentcloud/chat-uikit-engine";
|
|
2
2
|
import { Toast } from "../../common/Toast/index.mjs";
|
|
3
3
|
import { isEnabledMessageReadReceiptGlobal } from "./utils.mjs";
|
|
4
4
|
import { enableSampleTaskStatus } from "../../../utils/enableSampleTaskStatus.mjs";
|
|
@@ -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
|
};
|