@tencentcloud/roomkit-electron-vue3 2.7.2 → 2.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +16 -0
- package/es/conference.mjs +17 -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 +11 -4
- 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 +16 -0
- package/lib/conference.js +17 -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 +11 -4
- 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 +39 -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 +26 -5
- 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
|
@@ -2,25 +2,26 @@
|
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
const Vue = require("vue");
|
|
4
4
|
const TUIRoomEngine = require("@tencentcloud/tuiroom-engine-electron");
|
|
5
|
-
const index$1 = require("
|
|
6
|
-
const index$2 = require("
|
|
7
|
-
const index = require("
|
|
8
|
-
const basic = require("
|
|
9
|
-
const vDblTouch = require("
|
|
10
|
-
const vTouchScale = require("
|
|
5
|
+
const index$1 = require("../StreamPlay/index.vue.js");
|
|
6
|
+
const index$2 = require("../StreamCover/index.vue.js");
|
|
7
|
+
const index = require("../LocalScreenView/index.vue.js");
|
|
8
|
+
const basic = require("../../../../stores/basic.js");
|
|
9
|
+
const vDblTouch = require("../../../../directives/vDblTouch.js");
|
|
10
|
+
const vTouchScale = require("../../../../directives/vTouchScale.js");
|
|
11
|
+
const domOperation = require("../../../../utils/domOperation.js");
|
|
11
12
|
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
12
13
|
__name: "index",
|
|
13
14
|
props: {
|
|
14
15
|
streamInfo: {},
|
|
15
|
-
|
|
16
|
+
streamPlayQuality: {},
|
|
17
|
+
streamPlayMode: {},
|
|
16
18
|
aspectRatio: {},
|
|
17
|
-
isNeedPlayStream: { type: Boolean, default: true },
|
|
18
|
-
observerViewInVisible: { type: Boolean },
|
|
19
19
|
supportTouchScale: { type: Boolean }
|
|
20
20
|
},
|
|
21
|
-
emits: ["
|
|
22
|
-
setup(__props) {
|
|
21
|
+
emits: ["stream-view-dblclick"],
|
|
22
|
+
setup(__props, { emit: __emit }) {
|
|
23
23
|
const props = __props;
|
|
24
|
+
const emits = __emit;
|
|
24
25
|
const basicStore = basic.useBasicStore();
|
|
25
26
|
const isLocalScreen = Vue.computed(
|
|
26
27
|
() => props.streamInfo && props.streamInfo.userId === basicStore.userId && props.streamInfo.streamType === TUIRoomEngine.TUIVideoStreamType.kScreenStream
|
|
@@ -43,8 +44,8 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
43
44
|
if (!streamRegionContainerRef.value) {
|
|
44
45
|
return;
|
|
45
46
|
}
|
|
46
|
-
const containerWidth = streamRegionContainerRef.value.
|
|
47
|
-
const containerHeight = streamRegionContainerRef.value.
|
|
47
|
+
const containerWidth = domOperation.getContentSize(streamRegionContainerRef.value).width;
|
|
48
|
+
const containerHeight = domOperation.getContentSize(streamRegionContainerRef.value).height;
|
|
48
49
|
let width = containerWidth;
|
|
49
50
|
let height = containerHeight;
|
|
50
51
|
if (widthRatio.value && heightRatio.value) {
|
|
@@ -62,6 +63,9 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
62
63
|
streamStyle.value.width = `${width}px`;
|
|
63
64
|
streamStyle.value.height = `${height}px`;
|
|
64
65
|
}
|
|
66
|
+
function handleStreamDblClick() {
|
|
67
|
+
emits("stream-view-dblclick", props.streamInfo);
|
|
68
|
+
}
|
|
65
69
|
const ro = new ResizeObserver(() => {
|
|
66
70
|
handleStreamRegionSize();
|
|
67
71
|
});
|
|
@@ -79,31 +83,24 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
79
83
|
}, [
|
|
80
84
|
Vue.withDirectives((Vue.openBlock(), Vue.createElementBlock("div", {
|
|
81
85
|
class: "stream-region",
|
|
82
|
-
|
|
86
|
+
onStreamViewDblclick: handleStreamDblClick,
|
|
83
87
|
style: Vue.normalizeStyle(streamStyle.value)
|
|
84
88
|
}, [
|
|
85
89
|
isLocalScreen.value ? (Vue.openBlock(), Vue.createBlock(index.default, {
|
|
86
90
|
key: 0,
|
|
87
|
-
streamInfo: _ctx.streamInfo
|
|
88
|
-
|
|
89
|
-
}, null, 8, ["streamInfo", "isMiniRegion"])) : (Vue.openBlock(), Vue.createElementBlock(Vue.Fragment, { key: 1 }, [
|
|
91
|
+
streamInfo: _ctx.streamInfo
|
|
92
|
+
}, null, 8, ["streamInfo"])) : (Vue.openBlock(), Vue.createElementBlock(Vue.Fragment, { key: 1 }, [
|
|
90
93
|
Vue.withDirectives(Vue.createVNode(index$1.default, {
|
|
91
94
|
streamInfo: _ctx.streamInfo,
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
}, null, 8, ["streamInfo", "isEnlarge", "isNeedPlayStream", "observerViewInVisible"]), [
|
|
95
|
+
"stream-play-mode": _ctx.streamPlayMode,
|
|
96
|
+
"stream-play-quality": _ctx.streamPlayQuality
|
|
97
|
+
}, null, 8, ["streamInfo", "stream-play-mode", "stream-play-quality"]), [
|
|
96
98
|
[Vue.unref(vTouchScale.default), props.supportTouchScale]
|
|
97
99
|
]),
|
|
98
100
|
Vue.createVNode(index$2.default, { streamInfo: _ctx.streamInfo }, null, 8, ["streamInfo"])
|
|
99
101
|
], 64))
|
|
100
102
|
], 36)), [
|
|
101
|
-
[
|
|
102
|
-
Vue.unref(vDblTouch.default),
|
|
103
|
-
() => {
|
|
104
|
-
_ctx.$emit("room-dblclick");
|
|
105
|
-
}
|
|
106
|
-
]
|
|
103
|
+
[Vue.unref(vDblTouch.default), handleStreamDblClick]
|
|
107
104
|
])
|
|
108
105
|
], 512);
|
|
109
106
|
};
|
|
@@ -9,10 +9,10 @@ const index = require("../../locales/index.js");
|
|
|
9
9
|
require("../../services/main.js");
|
|
10
10
|
const roomService = require("../../services/roomService.js");
|
|
11
11
|
require("@tencentcloud/tuiroom-engine-electron");
|
|
12
|
+
require("../../utils/environment.js");
|
|
12
13
|
require("mitt");
|
|
13
14
|
require("../../services/manager/roomActionManager.js");
|
|
14
15
|
require("@tencentcloud/tui-core");
|
|
15
|
-
require("../../utils/environment.js");
|
|
16
16
|
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
17
17
|
__name: "Language",
|
|
18
18
|
setup(__props) {
|
|
@@ -9,10 +9,10 @@ const index = require("../../locales/index.js");
|
|
|
9
9
|
require("../../services/main.js");
|
|
10
10
|
const roomService = require("../../services/roomService.js");
|
|
11
11
|
require("@tencentcloud/tuiroom-engine-electron");
|
|
12
|
+
require("../../utils/environment.js");
|
|
12
13
|
require("mitt");
|
|
13
14
|
require("../../services/manager/roomActionManager.js");
|
|
14
15
|
require("@tencentcloud/tui-core");
|
|
15
|
-
require("../../utils/environment.js");
|
|
16
16
|
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
17
17
|
__name: "SwitchTheme",
|
|
18
18
|
props: {
|
|
@@ -37,8 +37,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
|
|
|
37
37
|
size: "large" | "default";
|
|
38
38
|
type: "primary" | "success" | "warning" | "danger" | "info" | "text";
|
|
39
39
|
customStyle: string | false | import('vue').CSSProperties | StyleValue[] | null;
|
|
40
|
-
loading: boolean;
|
|
41
40
|
disabled: boolean;
|
|
41
|
+
loading: boolean;
|
|
42
42
|
round: boolean;
|
|
43
43
|
plain: boolean;
|
|
44
44
|
}, {}>;
|
|
@@ -18,8 +18,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
|
|
|
18
18
|
}>>> & {
|
|
19
19
|
onInput?: ((...args: any[]) => any) | undefined;
|
|
20
20
|
}, {
|
|
21
|
-
modelValue: boolean;
|
|
22
21
|
disabled: boolean;
|
|
22
|
+
modelValue: boolean;
|
|
23
23
|
}, {}>;
|
|
24
24
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
25
25
|
export default _default;
|
|
@@ -33,10 +33,10 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
|
|
|
33
33
|
cancelButton: string;
|
|
34
34
|
titleIcon: null;
|
|
35
35
|
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
36
|
-
|
|
36
|
+
cancel: (...args: any[]) => void;
|
|
37
37
|
close: (...args: any[]) => void;
|
|
38
38
|
confirm: (...args: any[]) => void;
|
|
39
|
-
|
|
39
|
+
"update:modelValue": (...args: any[]) => void;
|
|
40
40
|
}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
41
41
|
title: string;
|
|
42
42
|
modelValue: boolean;
|
|
@@ -51,10 +51,10 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
|
|
|
51
51
|
cancelButton: string;
|
|
52
52
|
titleIcon: null;
|
|
53
53
|
}>>> & {
|
|
54
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
55
54
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
56
|
-
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
57
55
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
56
|
+
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
57
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
58
58
|
}, {
|
|
59
59
|
title: string;
|
|
60
60
|
width: string | number;
|
|
@@ -45,13 +45,13 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
|
|
|
45
45
|
}, {
|
|
46
46
|
title: string;
|
|
47
47
|
icon: Component | null;
|
|
48
|
-
disabled: boolean;
|
|
49
|
-
theme: "white" | "black";
|
|
50
|
-
layout: IconButtonLayout;
|
|
51
48
|
hasMore: boolean;
|
|
52
49
|
hideHoverEffect: boolean;
|
|
50
|
+
disabled: boolean;
|
|
53
51
|
isActive: boolean;
|
|
52
|
+
layout: IconButtonLayout;
|
|
54
53
|
isNotSupport: boolean;
|
|
54
|
+
theme: "white" | "black";
|
|
55
55
|
}, {}>;
|
|
56
56
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
57
57
|
export default _default;
|
|
@@ -31,9 +31,9 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
|
|
|
31
31
|
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
32
32
|
input: (...args: any[]) => void;
|
|
33
33
|
done: (...args: any[]) => void;
|
|
34
|
-
"update:modelValue": (...args: any[]) => void;
|
|
35
|
-
focus: (...args: any[]) => void;
|
|
36
34
|
blur: (...args: any[]) => void;
|
|
35
|
+
focus: (...args: any[]) => void;
|
|
36
|
+
"update:modelValue": (...args: any[]) => void;
|
|
37
37
|
}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
38
38
|
theme: string;
|
|
39
39
|
modelValue: string;
|
|
@@ -52,14 +52,14 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
|
|
|
52
52
|
onDone?: ((...args: any[]) => any) | undefined;
|
|
53
53
|
}, {
|
|
54
54
|
type: string;
|
|
55
|
-
modelValue: string;
|
|
56
55
|
disabled: boolean;
|
|
57
56
|
theme: "white" | "black";
|
|
57
|
+
align: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start";
|
|
58
58
|
placeholder: string;
|
|
59
|
+
modelValue: string;
|
|
59
60
|
enterkeyhint: string;
|
|
60
61
|
maxlength: string;
|
|
61
62
|
border: boolean;
|
|
62
|
-
align: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start";
|
|
63
63
|
}, {}>;
|
|
64
64
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
65
65
|
export default _default;
|
|
@@ -51,11 +51,11 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
51
51
|
default: number;
|
|
52
52
|
};
|
|
53
53
|
}>>, {
|
|
54
|
-
type: "
|
|
55
|
-
zIndex: number;
|
|
56
|
-
remove: Function;
|
|
57
|
-
message: string | number;
|
|
54
|
+
type: "error" | "warning" | "success" | "info";
|
|
58
55
|
top: Record<string, any>;
|
|
56
|
+
message: string | number;
|
|
59
57
|
duration: number;
|
|
58
|
+
remove: Function;
|
|
59
|
+
zIndex: number;
|
|
60
60
|
}, {}>;
|
|
61
61
|
export default _default;
|
|
@@ -31,12 +31,12 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
31
31
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
32
32
|
}, {
|
|
33
33
|
title: string;
|
|
34
|
-
remove: Function;
|
|
35
34
|
message: string;
|
|
36
35
|
callback: BeforeCloseFn | null;
|
|
37
36
|
duration: number;
|
|
38
37
|
cancelButtonText: string;
|
|
39
38
|
confirmButtonText: string;
|
|
39
|
+
remove: Function;
|
|
40
40
|
}, {}>;
|
|
41
41
|
export default _default;
|
|
42
42
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -23,9 +23,9 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
23
23
|
}>>> & {
|
|
24
24
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
25
25
|
}, {
|
|
26
|
-
confirm: BeforeCloseFn | null;
|
|
27
26
|
cancel: BeforeCloseFn | null;
|
|
28
27
|
message: string;
|
|
28
|
+
confirm: BeforeCloseFn | null;
|
|
29
29
|
cancelButtonText: string;
|
|
30
30
|
confirmButtonText: string;
|
|
31
31
|
}, {}>;
|
|
@@ -11,8 +11,8 @@ declare function __VLS_template(): {
|
|
|
11
11
|
default?(_: {}): any;
|
|
12
12
|
};
|
|
13
13
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
|
-
"update:modelValue": (...args: any[]) => void;
|
|
15
14
|
change: (...args: any[]) => void;
|
|
15
|
+
"update:modelValue": (...args: any[]) => void;
|
|
16
16
|
}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
|
|
17
17
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
18
18
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
@@ -9,10 +9,10 @@ require("../../../../services/main.js");
|
|
|
9
9
|
const roomService = require("../../../../services/roomService.js");
|
|
10
10
|
require("../../../../locales/index.js");
|
|
11
11
|
require("@tencentcloud/tuiroom-engine-electron");
|
|
12
|
+
require("../../../../utils/environment.js");
|
|
12
13
|
require("mitt");
|
|
13
14
|
require("../../../../services/manager/roomActionManager.js");
|
|
14
15
|
require("@tencentcloud/tui-core");
|
|
15
|
-
require("../../../../utils/environment.js");
|
|
16
16
|
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
17
17
|
__name: "index",
|
|
18
18
|
props: {
|
|
@@ -45,10 +45,10 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
45
45
|
}>> & {
|
|
46
46
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
47
47
|
}, {
|
|
48
|
-
modelValue: number;
|
|
49
48
|
disabled: boolean;
|
|
50
49
|
max: number;
|
|
51
50
|
min: number;
|
|
52
51
|
step: number;
|
|
52
|
+
modelValue: number;
|
|
53
53
|
}, {}>;
|
|
54
54
|
export default _default;
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
const AISubtitles_vue_vue_type_script_setup_true_lang = require("./AISubtitles.vue2.js");
|
|
4
4
|
;/* empty css */
|
|
5
|
-
const _pluginVue_exportHelper = require("
|
|
6
|
-
const AISubtitlesOverlay = /* @__PURE__ */ _pluginVue_exportHelper.default(AISubtitles_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-
|
|
5
|
+
const _pluginVue_exportHelper = require("../../../../_virtual/_plugin-vue_export-helper.js");
|
|
6
|
+
const AISubtitlesOverlay = /* @__PURE__ */ _pluginVue_exportHelper.default(AISubtitles_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-dd3035b9"]]);
|
|
7
7
|
exports.default = AISubtitlesOverlay;
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
const Vue = require("vue");
|
|
4
|
-
require("
|
|
5
|
-
const roomService = require("
|
|
6
|
-
require("
|
|
4
|
+
require("../../../../services/main.js");
|
|
5
|
+
const roomService = require("../../../../services/roomService.js");
|
|
6
|
+
require("../../../../locales/index.js");
|
|
7
7
|
require("@tencentcloud/tuiroom-engine-electron");
|
|
8
|
+
require("../../../../utils/environment.js");
|
|
8
9
|
require("mitt");
|
|
9
|
-
require("
|
|
10
|
+
require("../../../../services/manager/roomActionManager.js");
|
|
10
11
|
require("@tencentcloud/tui-core");
|
|
11
|
-
const dataReportManager = require("
|
|
12
|
-
const aiTask = require("
|
|
12
|
+
const dataReportManager = require("../../../../services/manager/dataReportManager.js");
|
|
13
|
+
const aiTask = require("../../../../services/function/aiTask.js");
|
|
13
14
|
const _hoisted_1 = {
|
|
14
15
|
key: 0,
|
|
15
16
|
class: "ai-subtitles"
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
const AITranscription_vue_vue_type_script_setup_true_lang = require("./AITranscription.vue2.js");
|
|
4
4
|
;/* empty css */
|
|
5
|
-
const _pluginVue_exportHelper = require("
|
|
6
|
-
const AITranscription = /* @__PURE__ */ _pluginVue_exportHelper.default(AITranscription_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-
|
|
5
|
+
const _pluginVue_exportHelper = require("../../../../_virtual/_plugin-vue_export-helper.js");
|
|
6
|
+
const AITranscription = /* @__PURE__ */ _pluginVue_exportHelper.default(AITranscription_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-e459c8be"]]);
|
|
7
7
|
exports.default = AITranscription;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
const Vue = require("vue");
|
|
4
|
-
require("
|
|
5
|
-
const roomService = require("
|
|
6
|
-
require("
|
|
4
|
+
require("../../../../services/main.js");
|
|
5
|
+
const roomService = require("../../../../services/roomService.js");
|
|
6
|
+
require("../../../../locales/index.js");
|
|
7
7
|
require("@tencentcloud/tuiroom-engine-electron");
|
|
8
|
+
require("../../../../utils/environment.js");
|
|
9
|
+
const utils = require("../../../../utils/utils.js");
|
|
8
10
|
require("mitt");
|
|
9
|
-
require("
|
|
11
|
+
require("../../../../services/manager/roomActionManager.js");
|
|
10
12
|
require("@tencentcloud/tui-core");
|
|
11
|
-
const dataReportManager = require("
|
|
12
|
-
const aiTask = require("
|
|
13
|
-
const utils = require("../../utils/utils.js");
|
|
13
|
+
const dataReportManager = require("../../../../services/manager/dataReportManager.js");
|
|
14
|
+
const aiTask = require("../../../../services/function/aiTask.js");
|
|
14
15
|
const _hoisted_1 = { class: "title" };
|
|
15
16
|
const _hoisted_2 = { class: "speaker" };
|
|
16
17
|
const _hoisted_3 = { class: "timestamp" };
|
package/lib/conference.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { ChatSDK } from '@tencentcloud/chat';
|
|
2
2
|
import { StartParams, JoinParams, LanguageOption } from './services';
|
|
3
3
|
import { TUIRoomEngine } from './index';
|
|
4
|
+
import { StreamInfo, UserInfo } from './stores/room';
|
|
5
|
+
import { Comparator } from './utils/utils';
|
|
4
6
|
|
|
5
7
|
export declare enum RoomEvent {
|
|
6
8
|
ROOM_START = "RoomStart",
|
|
@@ -51,6 +53,13 @@ interface IConference {
|
|
|
51
53
|
enableVirtualBackground: () => void;
|
|
52
54
|
hideFeatureButton: (name: FeatureButton) => void;
|
|
53
55
|
replaceFriendList: (userList: Array<any>) => void;
|
|
56
|
+
setUserListSortComparator: (comparator: Comparator<UserInfo>) => void;
|
|
57
|
+
setStreamListSortComparator: (comparator: Comparator<StreamInfo>) => void;
|
|
58
|
+
setParticipants: (participants: Array<{
|
|
59
|
+
userName: string;
|
|
60
|
+
userId: string;
|
|
61
|
+
avatarUrl: string;
|
|
62
|
+
}>) => void;
|
|
54
63
|
}
|
|
55
64
|
declare class Conference implements IConference {
|
|
56
65
|
login(params: {
|
|
@@ -79,6 +88,13 @@ declare class Conference implements IConference {
|
|
|
79
88
|
enableVirtualBackground(): void;
|
|
80
89
|
hideFeatureButton(name: FeatureButton): void;
|
|
81
90
|
replaceFriendList(userList: Array<any>): void;
|
|
91
|
+
setUserListSortComparator(comparator: Comparator<UserInfo>): void;
|
|
92
|
+
setStreamListSortComparator(comparator: Comparator<StreamInfo>): void;
|
|
93
|
+
setParticipants(participants: Array<{
|
|
94
|
+
userName: string;
|
|
95
|
+
userId: string;
|
|
96
|
+
avatarUrl: string;
|
|
97
|
+
}>): void;
|
|
82
98
|
}
|
|
83
99
|
export declare const conference: Conference;
|
|
84
100
|
export {};
|
package/lib/conference.js
CHANGED
|
@@ -5,11 +5,11 @@ const roomService = require("./services/roomService.js");
|
|
|
5
5
|
const index = require("./utils/common/logger/index.js");
|
|
6
6
|
require("./locales/index.js");
|
|
7
7
|
require("@tencentcloud/tuiroom-engine-electron");
|
|
8
|
+
require("./utils/environment.js");
|
|
8
9
|
require("mitt");
|
|
9
10
|
require("./services/manager/roomActionManager.js");
|
|
10
11
|
require("@tencentcloud/tui-core");
|
|
11
12
|
const dataReportManager = require("./services/manager/dataReportManager.js");
|
|
12
|
-
require("./utils/environment.js");
|
|
13
13
|
const common = require("./utils/common.js");
|
|
14
14
|
var RoomEvent = /* @__PURE__ */ ((RoomEvent2) => {
|
|
15
15
|
RoomEvent2["ROOM_START"] = "RoomStart";
|
|
@@ -102,6 +102,22 @@ class Conference {
|
|
|
102
102
|
replaceFriendList(userList) {
|
|
103
103
|
return roomService.roomService.scheduleConferenceManager.replaceFriendList(userList);
|
|
104
104
|
}
|
|
105
|
+
setUserListSortComparator(comparator) {
|
|
106
|
+
roomService.roomService.userManager.setUserListSortComparator(comparator);
|
|
107
|
+
}
|
|
108
|
+
setStreamListSortComparator(comparator) {
|
|
109
|
+
roomService.roomService.userManager.setStreamListSortComparator(comparator);
|
|
110
|
+
}
|
|
111
|
+
setParticipants(participants) {
|
|
112
|
+
const list = participants.map((item) => {
|
|
113
|
+
const { userId, userName, avatarUrl } = item;
|
|
114
|
+
return {
|
|
115
|
+
userID: userId,
|
|
116
|
+
profile: { userID: userId, nick: userName, avatar: avatarUrl }
|
|
117
|
+
};
|
|
118
|
+
});
|
|
119
|
+
roomService.roomService.scheduleConferenceManager.replaceFriendList(list);
|
|
120
|
+
}
|
|
105
121
|
}
|
|
106
122
|
const conference = new Conference();
|
|
107
123
|
exports.FeatureButton = FeatureButton;
|
package/lib/conference.vue.js
CHANGED
|
@@ -4,5 +4,5 @@ const conference_vue_vue_type_script_setup_true_lang = require("./conference.vue
|
|
|
4
4
|
;/* empty css */
|
|
5
5
|
;/* empty css */
|
|
6
6
|
const _pluginVue_exportHelper = require("./_virtual/_plugin-vue_export-helper.js");
|
|
7
|
-
const ConferenceMainView = /* @__PURE__ */ _pluginVue_exportHelper.default(conference_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-
|
|
7
|
+
const ConferenceMainView = /* @__PURE__ */ _pluginVue_exportHelper.default(conference_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-769e2a5f"]]);
|
|
8
8
|
exports.default = ConferenceMainView;
|
package/lib/conference.vue2.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
const Vue = require("vue");
|
|
4
|
-
const index
|
|
5
|
-
const index$
|
|
4
|
+
const index = require("./components/RoomHeader/index/index.vue.js");
|
|
5
|
+
const index$2 = require("./components/RoomFooter/index/index.vue.js");
|
|
6
6
|
const index_vue_vue_type_script_setup_true_lang = require("./components/RoomSidebar/index.vue.js");
|
|
7
|
-
const index$
|
|
8
|
-
const index$
|
|
7
|
+
const index$1 = require("./components/RoomContent/index.vue.js");
|
|
8
|
+
const index$3 = require("./components/RoomSetting/index.vue.js");
|
|
9
|
+
const RoomOverlay_vue_vue_type_script_setup_true_lang = require("./components/RoomOverlay/RoomOverlay.vue.js");
|
|
9
10
|
const LoadingOverlay = require("./components/PreRoom/LoadingOverlay.vue.js");
|
|
10
11
|
const PasswordDialog = require("./components/PreRoom/PasswordDialog.vue.js");
|
|
11
|
-
const
|
|
12
|
-
const index$5 = require("./components/RoomInvite/index.vue.js");
|
|
12
|
+
const index$4 = require("./components/RoomInvite/index.vue.js");
|
|
13
13
|
const utils = require("./utils/utils.js");
|
|
14
14
|
const basic = require("./stores/basic.js");
|
|
15
15
|
const environment = require("./utils/environment.js");
|
|
16
16
|
const vTap = require("./directives/vTap.js");
|
|
17
17
|
const TUIRoomEngine = require("@tencentcloud/tuiroom-engine-electron");
|
|
18
|
-
const index = require("./components/common/base/MessageBox/index.js");
|
|
18
|
+
const index$5 = require("./components/common/base/MessageBox/index.js");
|
|
19
19
|
const Message = require("./components/common/base/Message/Message.js");
|
|
20
20
|
require("./services/main.js");
|
|
21
21
|
const roomService = require("./services/roomService.js");
|
|
@@ -25,6 +25,7 @@ require("mitt");
|
|
|
25
25
|
require("./services/manager/roomActionManager.js");
|
|
26
26
|
require("@tencentcloud/tui-core");
|
|
27
27
|
const useDeviceManager = require("./hooks/useDeviceManager.js");
|
|
28
|
+
const pinia = require("pinia");
|
|
28
29
|
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
29
30
|
__name: "conference",
|
|
30
31
|
props: {
|
|
@@ -74,7 +75,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
74
75
|
callback = () => {
|
|
75
76
|
}
|
|
76
77
|
} = data;
|
|
77
|
-
index.default({
|
|
78
|
+
index$5.default({
|
|
78
79
|
title,
|
|
79
80
|
message,
|
|
80
81
|
duration,
|
|
@@ -106,7 +107,6 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
106
107
|
roomService.roomService.on(types.EventType.ROOM_JOIN, onJoinRoom);
|
|
107
108
|
roomService.roomService.on(types.EventType.ROOM_LEAVE, onLeaveRoom);
|
|
108
109
|
roomService.roomService.on(types.EventType.ROOM_DISMISS, onDismissRoom);
|
|
109
|
-
roomService.roomService.on(types.EventType.USER_LOGOUT, onLogout);
|
|
110
110
|
roomService.roomService.on(types.EventType.ROOM_NEED_PASSWORD, onRoomNeedPassword);
|
|
111
111
|
});
|
|
112
112
|
Vue.onUnmounted(() => {
|
|
@@ -119,7 +119,6 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
119
119
|
roomService.roomService.off(types.EventType.ROOM_JOIN, onJoinRoom);
|
|
120
120
|
roomService.roomService.off(types.EventType.ROOM_LEAVE, onLeaveRoom);
|
|
121
121
|
roomService.roomService.off(types.EventType.ROOM_DISMISS, onDismissRoom);
|
|
122
|
-
roomService.roomService.off(types.EventType.USER_LOGOUT, onLogout);
|
|
123
122
|
roomService.roomService.off(types.EventType.ROOM_NEED_PASSWORD, onRoomNeedPassword);
|
|
124
123
|
roomService.roomService.resetStore();
|
|
125
124
|
});
|
|
@@ -138,10 +137,10 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
138
137
|
return roomClassList;
|
|
139
138
|
});
|
|
140
139
|
const roomContentRef = Vue.ref();
|
|
141
|
-
const showRoomTool = Vue.ref(true);
|
|
142
140
|
const roomRef = Vue.ref();
|
|
141
|
+
const { showRoomTool } = pinia.storeToRefs(basicStore);
|
|
143
142
|
function handleHideRoomTool() {
|
|
144
|
-
|
|
143
|
+
basicStore.setShowRoomTool(false);
|
|
145
144
|
}
|
|
146
145
|
Vue.watch(
|
|
147
146
|
() => roomRef.value,
|
|
@@ -158,11 +157,11 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
158
157
|
const handleHideRoomToolDebounce = utils.debounce(handleHideRoomTool, 5e3);
|
|
159
158
|
const handleHideRoomToolThrottle = utils.throttle(handleHideRoomToolDebounce, 1e3);
|
|
160
159
|
const showTool = () => {
|
|
161
|
-
|
|
160
|
+
basicStore.setShowRoomTool(true);
|
|
162
161
|
handleHideRoomToolDebounce();
|
|
163
162
|
};
|
|
164
163
|
const showToolThrottle = () => {
|
|
165
|
-
|
|
164
|
+
basicStore.setShowRoomTool(true);
|
|
166
165
|
handleHideRoomToolThrottle();
|
|
167
166
|
};
|
|
168
167
|
const hideTool = () => {
|
|
@@ -181,7 +180,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
181
180
|
container.removeEventListener("mouseleave", hideTool);
|
|
182
181
|
};
|
|
183
182
|
function handleRoomContentTap() {
|
|
184
|
-
|
|
183
|
+
basicStore.setShowRoomTool(!showRoomTool.value);
|
|
185
184
|
if (showRoomTool.value) {
|
|
186
185
|
handleHideRoomToolDebounce();
|
|
187
186
|
}
|
|
@@ -215,9 +214,6 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
215
214
|
function resetStore() {
|
|
216
215
|
roomService.roomService.resetStore();
|
|
217
216
|
}
|
|
218
|
-
const logOut = () => {
|
|
219
|
-
roomService.roomService.logOut();
|
|
220
|
-
};
|
|
221
217
|
const onStartRoom = () => {
|
|
222
218
|
isShowLoading.value = false;
|
|
223
219
|
emit("on-create-room", { code: 0, message: "create room" });
|
|
@@ -233,9 +229,6 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
233
229
|
const onDismissRoom = () => {
|
|
234
230
|
emit("on-destroy-room", { code: 0, message: "destroy room" });
|
|
235
231
|
};
|
|
236
|
-
const onLogout = () => {
|
|
237
|
-
emit("on-log-out", { code: 0, message: "user logout" });
|
|
238
|
-
};
|
|
239
232
|
const onKickedOutOfRoom = async (eventInfo) => {
|
|
240
233
|
const { roomId, reason, message } = eventInfo;
|
|
241
234
|
emit("on-kicked-out-of-room", { roomId, reason, message });
|
|
@@ -255,16 +248,13 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
255
248
|
ref: roomRef,
|
|
256
249
|
class: Vue.normalizeClass(tuiRoomClass.value)
|
|
257
250
|
}, [
|
|
258
|
-
Vue.withDirectives(Vue.createVNode(index
|
|
259
|
-
|
|
260
|
-
onLogOut: logOut
|
|
261
|
-
}, null, 512), [
|
|
262
|
-
[Vue.vShow, showRoomTool.value && Vue.unref(showHeaderTool)]
|
|
251
|
+
Vue.withDirectives(Vue.createVNode(index.default, { class: "header" }, null, 512), [
|
|
252
|
+
[Vue.vShow, Vue.unref(showRoomTool) && Vue.unref(showHeaderTool)]
|
|
263
253
|
]),
|
|
264
|
-
Vue.withDirectives(Vue.createVNode(index$
|
|
254
|
+
Vue.withDirectives(Vue.createVNode(index$1.default, {
|
|
265
255
|
ref_key: "roomContentRef",
|
|
266
256
|
ref: roomContentRef,
|
|
267
|
-
"show-room-tool": showRoomTool
|
|
257
|
+
"show-room-tool": Vue.unref(showRoomTool),
|
|
268
258
|
class: "content"
|
|
269
259
|
}, null, 8, ["show-room-tool"]), [
|
|
270
260
|
[
|
|
@@ -274,17 +264,17 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
274
264
|
{ lazy: true }
|
|
275
265
|
]
|
|
276
266
|
]),
|
|
277
|
-
Vue.withDirectives(Vue.createVNode(index$
|
|
267
|
+
Vue.withDirectives(Vue.createVNode(index$2.default, {
|
|
278
268
|
class: "footer",
|
|
279
269
|
onShowOverlay: handleShowOverlay
|
|
280
270
|
}, null, 512), [
|
|
281
|
-
[Vue.vShow, showRoomTool
|
|
271
|
+
[Vue.vShow, Vue.unref(showRoomTool)]
|
|
282
272
|
]),
|
|
283
273
|
Vue.createVNode(index_vue_vue_type_script_setup_true_lang.default),
|
|
284
|
-
Vue.createVNode(index$
|
|
285
|
-
|
|
286
|
-
overlayMap.value.RoomInviteOverlay.visible ? (Vue.openBlock(), Vue.createBlock(index$
|
|
287
|
-
isShowLoading.value ? (Vue.openBlock(), Vue.createBlock(LoadingOverlay.default, { key:
|
|
274
|
+
Vue.createVNode(index$3.default),
|
|
275
|
+
Vue.createVNode(RoomOverlay_vue_vue_type_script_setup_true_lang.default),
|
|
276
|
+
overlayMap.value.RoomInviteOverlay.visible ? (Vue.openBlock(), Vue.createBlock(index$4.default, { key: 0 })) : Vue.createCommentVNode("", true),
|
|
277
|
+
isShowLoading.value ? (Vue.openBlock(), Vue.createBlock(LoadingOverlay.default, { key: 1 })) : Vue.createCommentVNode("", true),
|
|
288
278
|
Vue.createVNode(PasswordDialog.default, {
|
|
289
279
|
visible: isShowPasswordContainer.value,
|
|
290
280
|
onJoinConference: enterRoom
|
package/lib/constants/room.js
CHANGED
|
@@ -7,7 +7,9 @@ var IconButtonLayout = /* @__PURE__ */ ((IconButtonLayout2) => {
|
|
|
7
7
|
return IconButtonLayout2;
|
|
8
8
|
})(IconButtonLayout || {});
|
|
9
9
|
({
|
|
10
|
-
videoResolution: TUIRoomEngine.TRTCVideoResolution.TRTCVideoResolution_640_360
|
|
10
|
+
videoResolution: TUIRoomEngine.TRTCVideoResolution.TRTCVideoResolution_640_360,
|
|
11
|
+
videoFps: 15,
|
|
12
|
+
videoBitrate: 800
|
|
11
13
|
});
|
|
12
14
|
var USERS_STATUS = /* @__PURE__ */ ((USERS_STATUS2) => {
|
|
13
15
|
USERS_STATUS2[USERS_STATUS2["Entered"] = 1] = "Entered";
|