@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
|
@@ -5,174 +5,115 @@ const pinia = require("pinia");
|
|
|
5
5
|
const room = require("../../../stores/room.js");
|
|
6
6
|
const basic = require("../../../stores/basic.js");
|
|
7
7
|
const render = require("../../../constants/render.js");
|
|
8
|
-
const
|
|
9
|
-
const index
|
|
10
|
-
const index = require("../../../utils/common/logger/index.js");
|
|
11
|
-
const ArrowStrokeTurnPageIcon = require("../../common/icons/ArrowStrokeTurnPageIcon.vue.js");
|
|
8
|
+
const index_vue_vue_type_script_setup_true_lang = require("../../Stream/SingleStreamView/index.vue.js");
|
|
9
|
+
const index = require("../../Stream/MultiStreamView/index.vue.js");
|
|
12
10
|
const ArrowStroke = require("../../common/ArrowStroke.vue.js");
|
|
13
|
-
const
|
|
11
|
+
const useStreamContainerHooks = require("./useStreamContainerHooks.js");
|
|
14
12
|
const TUIRoomEngine = require("@tencentcloud/tuiroom-engine-electron");
|
|
15
|
-
const useRoomEngine = require("../../../hooks/useRoomEngine.js");
|
|
16
|
-
const _hoisted_1 = {
|
|
17
|
-
key: 1,
|
|
18
|
-
class: "turn-page-container"
|
|
19
|
-
};
|
|
20
|
-
const logPrefix = "[StreamContainer]";
|
|
21
13
|
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
22
14
|
__name: "index",
|
|
23
|
-
props: {
|
|
24
|
-
showRoomTool: { type: Boolean }
|
|
25
|
-
},
|
|
26
15
|
setup(__props) {
|
|
27
|
-
const roomEngine = useRoomEngine.default();
|
|
28
16
|
const roomStore = room.useRoomStore();
|
|
29
|
-
const {
|
|
17
|
+
const {
|
|
18
|
+
localStream,
|
|
19
|
+
streamList,
|
|
20
|
+
remoteStreamList,
|
|
21
|
+
localScreenStream,
|
|
22
|
+
remoteScreenStream
|
|
23
|
+
} = pinia.storeToRefs(roomStore);
|
|
30
24
|
const basicStore = basic.useBasicStore();
|
|
31
|
-
const { layout } = pinia.storeToRefs(basicStore);
|
|
32
|
-
const
|
|
33
|
-
const
|
|
34
|
-
const
|
|
35
|
-
const
|
|
36
|
-
const currentPageIndex = Vue.ref(0);
|
|
37
|
-
const maxCountEveryPage = Vue.computed(
|
|
38
|
-
() => horizontalCount.value * verticalCount.value
|
|
39
|
-
);
|
|
40
|
-
const totalPage = Vue.computed(
|
|
41
|
-
() => Math.ceil(streamList.value.length / maxCountEveryPage.value)
|
|
42
|
-
);
|
|
43
|
-
const showTurnPageControl = Vue.computed(
|
|
44
|
-
() => layout.value === render.LAYOUT.NINE_EQUAL_POINTS && totalPage.value > 1
|
|
45
|
-
);
|
|
46
|
-
const showTurnPageLeftArrow = Vue.computed(
|
|
47
|
-
() => layout.value === render.LAYOUT.NINE_EQUAL_POINTS && currentPageIndex.value > 0
|
|
48
|
-
);
|
|
49
|
-
const showTurnPageRightArrow = Vue.computed(
|
|
50
|
-
() => layout.value === render.LAYOUT.NINE_EQUAL_POINTS && currentPageIndex.value < totalPage.value - 1
|
|
51
|
-
);
|
|
52
|
-
function handleTurnPageLeft() {
|
|
53
|
-
currentPageIndex.value = currentPageIndex.value - 1;
|
|
54
|
-
}
|
|
55
|
-
function handleTurnPageRight() {
|
|
56
|
-
currentPageIndex.value = currentPageIndex.value + 1;
|
|
57
|
-
}
|
|
58
|
-
const showStreamList = Vue.computed(() => {
|
|
25
|
+
const { showRoomTool, layout } = pinia.storeToRefs(basicStore);
|
|
26
|
+
const { getStreamKey } = useStreamContainerHooks.default();
|
|
27
|
+
const maxColumn = Vue.ref();
|
|
28
|
+
const maxRow = Vue.ref();
|
|
29
|
+
const excludeStreamInfoList = Vue.computed(() => {
|
|
59
30
|
var _a;
|
|
60
|
-
if (layout.value === render.LAYOUT.NINE_EQUAL_POINTS) {
|
|
61
|
-
return streamList.value.slice(
|
|
62
|
-
currentPageIndex.value * maxCountEveryPage.value,
|
|
63
|
-
(currentPageIndex.value + 1) * maxCountEveryPage.value
|
|
64
|
-
);
|
|
65
|
-
}
|
|
66
31
|
if (((_a = enlargeStream.value) == null ? void 0 : _a.streamType) === TUIRoomEngine.TUIVideoStreamType.kScreenStream) {
|
|
67
|
-
return
|
|
32
|
+
return [enlargeStream.value];
|
|
68
33
|
}
|
|
69
|
-
return
|
|
34
|
+
return [];
|
|
70
35
|
});
|
|
71
|
-
Vue.
|
|
72
|
-
() =>
|
|
73
|
-
(val) => {
|
|
74
|
-
if (val === 1) {
|
|
75
|
-
basicStore.setLayout(render.LAYOUT.NINE_EQUAL_POINTS);
|
|
76
|
-
enlargeStream.value = null;
|
|
77
|
-
return;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
36
|
+
const isSideListLayout = Vue.computed(
|
|
37
|
+
() => [render.LAYOUT.RIGHT_SIDE_LIST, render.LAYOUT.TOP_SIDE_LIST].indexOf(layout.value) >= 0
|
|
80
38
|
);
|
|
81
|
-
const
|
|
82
|
-
const
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
if (layout.value === render.LAYOUT.TOP_SIDE_LIST) {
|
|
86
|
-
arrowDirection2 = showSideList.value ? "up" : "down";
|
|
39
|
+
const fixedStream = Vue.ref(null);
|
|
40
|
+
const enlargeStream = Vue.computed(() => {
|
|
41
|
+
if (!isSideListLayout.value) {
|
|
42
|
+
return null;
|
|
87
43
|
}
|
|
88
|
-
if (
|
|
89
|
-
|
|
44
|
+
if (fixedStream.value) {
|
|
45
|
+
return fixedStream.value;
|
|
90
46
|
}
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
const strokePosition = Vue.computed(() => {
|
|
94
|
-
let strokePosition2 = "";
|
|
95
|
-
if (layout.value === render.LAYOUT.TOP_SIDE_LIST) {
|
|
96
|
-
strokePosition2 = "bottom";
|
|
47
|
+
if (localScreenStream.value) {
|
|
48
|
+
return localScreenStream.value;
|
|
97
49
|
}
|
|
98
|
-
if (
|
|
99
|
-
|
|
100
|
-
}
|
|
101
|
-
return strokePosition2;
|
|
102
|
-
});
|
|
103
|
-
function handleClickIcon() {
|
|
104
|
-
showSideList.value = !showSideList.value;
|
|
105
|
-
}
|
|
106
|
-
function getEnlargeStream() {
|
|
107
|
-
var _a;
|
|
108
|
-
if ((_a = roomStore.localScreenStream) == null ? void 0 : _a.hasVideoStream) {
|
|
109
|
-
return roomStore.localScreenStream;
|
|
50
|
+
if (remoteScreenStream.value) {
|
|
51
|
+
return remoteScreenStream.value;
|
|
110
52
|
}
|
|
111
53
|
if (remoteStreamList.value.length > 0) {
|
|
112
|
-
|
|
113
|
-
(stream) => stream.streamType === TUIRoomEngine.TUIVideoStreamType.kScreenStream && stream.hasVideoStream
|
|
114
|
-
);
|
|
115
|
-
return remoteScreenStream ? remoteScreenStream : remoteStreamList.value[0];
|
|
54
|
+
return remoteStreamList.value[0];
|
|
116
55
|
}
|
|
117
|
-
return
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
);
|
|
126
|
-
verticalCount.value = Math.min(
|
|
127
|
-
Math.ceil(streamList.value.length / horizontalCount.value),
|
|
128
|
-
3
|
|
129
|
-
);
|
|
130
|
-
currentPageIndex.value = 0;
|
|
131
|
-
}
|
|
132
|
-
async function handleRightSideListLayout() {
|
|
133
|
-
streamContainerClass.value = "stream-container-right";
|
|
134
|
-
horizontalCount.value = 1;
|
|
135
|
-
verticalCount.value = Infinity;
|
|
136
|
-
if (!enlargeStream.value) {
|
|
137
|
-
enlargeStream.value = getEnlargeStream();
|
|
56
|
+
return localStream.value;
|
|
57
|
+
});
|
|
58
|
+
Vue.watch(
|
|
59
|
+
() => streamList.value.length,
|
|
60
|
+
(val) => {
|
|
61
|
+
if (val === 1 && isSideListLayout.value) {
|
|
62
|
+
basicStore.setLayout(render.LAYOUT.NINE_EQUAL_POINTS);
|
|
63
|
+
}
|
|
138
64
|
}
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
65
|
+
);
|
|
66
|
+
Vue.watch(
|
|
67
|
+
() => {
|
|
68
|
+
var _a, _b;
|
|
69
|
+
return ((_a = localScreenStream.value) == null ? void 0 : _a.hasVideoStream) || ((_b = remoteScreenStream.value) == null ? void 0 : _b.hasVideoStream);
|
|
70
|
+
},
|
|
71
|
+
(val, oldVal) => {
|
|
72
|
+
if (val && !oldVal) {
|
|
73
|
+
fixedStream.value = null;
|
|
74
|
+
if (!isSideListLayout.value) {
|
|
75
|
+
basicStore.setLayout(render.LAYOUT.RIGHT_SIDE_LIST);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
146
78
|
}
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
79
|
+
);
|
|
80
|
+
Vue.watch(
|
|
81
|
+
() => streamList.value.map((stream) => getStreamKey(stream)),
|
|
82
|
+
(val, oldVal) => {
|
|
83
|
+
if (fixedStream.value) {
|
|
84
|
+
const fixedStreamKey = getStreamKey(fixedStream.value);
|
|
85
|
+
if (!val.includes(fixedStreamKey) && oldVal.includes(fixedStreamKey)) {
|
|
86
|
+
fixedStream.value = null;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
);
|
|
91
|
+
function handleStreamViewDblclick(stream) {
|
|
92
|
+
if (!isSideListLayout.value && streamList.value.length > 1) {
|
|
150
93
|
basicStore.setLayout(render.LAYOUT.RIGHT_SIDE_LIST);
|
|
151
94
|
}
|
|
152
|
-
|
|
95
|
+
fixedStream.value = stream;
|
|
153
96
|
}
|
|
97
|
+
const streamContainerClass = Vue.ref("stream-container-flatten");
|
|
154
98
|
async function handleLayout() {
|
|
155
99
|
switch (layout.value) {
|
|
156
100
|
case render.LAYOUT.NINE_EQUAL_POINTS:
|
|
157
|
-
|
|
101
|
+
streamContainerClass.value = "stream-container-flatten";
|
|
102
|
+
maxColumn.value = 3;
|
|
103
|
+
maxRow.value = 3;
|
|
158
104
|
break;
|
|
159
105
|
case render.LAYOUT.RIGHT_SIDE_LIST:
|
|
160
|
-
|
|
106
|
+
streamContainerClass.value = "stream-container-right";
|
|
107
|
+
maxColumn.value = 1;
|
|
108
|
+
maxRow.value = Infinity;
|
|
161
109
|
break;
|
|
162
110
|
case render.LAYOUT.TOP_SIDE_LIST:
|
|
163
|
-
|
|
111
|
+
streamContainerClass.value = "stream-container-top";
|
|
112
|
+
maxColumn.value = Infinity;
|
|
113
|
+
maxRow.value = 1;
|
|
164
114
|
break;
|
|
165
115
|
}
|
|
166
116
|
}
|
|
167
|
-
Vue.watch(streamNumber, (val) => {
|
|
168
|
-
if (layout.value === render.LAYOUT.NINE_EQUAL_POINTS) {
|
|
169
|
-
horizontalCount.value = Math.min(Math.ceil(Math.sqrt(val)), 3);
|
|
170
|
-
verticalCount.value = Math.min(Math.ceil(val / horizontalCount.value), 3);
|
|
171
|
-
if (currentPageIndex.value > Math.ceil(val / maxCountEveryPage.value) - 1) {
|
|
172
|
-
currentPageIndex.value = Math.ceil(val / maxCountEveryPage.value) - 1;
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
});
|
|
176
117
|
Vue.watch(
|
|
177
118
|
layout,
|
|
178
119
|
() => {
|
|
@@ -180,147 +121,55 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
180
121
|
},
|
|
181
122
|
{ immediate: true }
|
|
182
123
|
);
|
|
183
|
-
const
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
const { userId, streamType, hasVideo } = eventInfo;
|
|
189
|
-
if (streamType === TUIRoomEngine.TUIVideoStreamType.kScreenStream) {
|
|
190
|
-
if (hasVideo) {
|
|
191
|
-
enlargeStream.value = userId === basicStore.userId ? roomStore.localScreenStream : roomStore.streamInfoObj[`${userId}_${streamType}`];
|
|
192
|
-
if (enlargeStream.value && [render.LAYOUT.RIGHT_SIDE_LIST, render.LAYOUT.TOP_SIDE_LIST].indexOf(layout.value) === -1) {
|
|
193
|
-
basicStore.setLayout(render.LAYOUT.RIGHT_SIDE_LIST);
|
|
194
|
-
}
|
|
195
|
-
if (userId !== basicStore.userId) {
|
|
196
|
-
roomStore.setHasOtherScreenShare(true);
|
|
197
|
-
}
|
|
198
|
-
} else {
|
|
199
|
-
if (userId === ((_a = enlargeStream.value) == null ? void 0 : _a.userId)) {
|
|
200
|
-
handleLargeStreamLeave();
|
|
201
|
-
}
|
|
202
|
-
if (userId !== basicStore.userId) {
|
|
203
|
-
roomStore.setHasOtherScreenShare(false);
|
|
204
|
-
}
|
|
205
|
-
index.default.debug(
|
|
206
|
-
`${logPrefix} onUserVideoStateChanged: stop`,
|
|
207
|
-
userId,
|
|
208
|
-
streamType
|
|
209
|
-
);
|
|
210
|
-
(_b = roomEngine.instance) == null ? void 0 : _b.stopPlayRemoteVideo({
|
|
211
|
-
userId,
|
|
212
|
-
streamType
|
|
213
|
-
});
|
|
214
|
-
}
|
|
124
|
+
const showSideList = Vue.ref(true);
|
|
125
|
+
const arrowDirection = Vue.computed(() => {
|
|
126
|
+
let arrowDirection2 = "right";
|
|
127
|
+
if (layout.value === render.LAYOUT.TOP_SIDE_LIST) {
|
|
128
|
+
arrowDirection2 = showSideList.value ? "up" : "down";
|
|
215
129
|
}
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
var _a;
|
|
219
|
-
const { leftList } = eventInfo;
|
|
220
|
-
const leftUserIdList = leftList.map((item) => item.userId);
|
|
221
|
-
if (enlargeStream.value && leftUserIdList.includes((_a = enlargeStream.value) == null ? void 0 : _a.userId)) {
|
|
222
|
-
handleLargeStreamLeave();
|
|
130
|
+
if (layout.value === render.LAYOUT.RIGHT_SIDE_LIST) {
|
|
131
|
+
arrowDirection2 = showSideList.value ? "right" : "left";
|
|
223
132
|
}
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
if (userId === ((_a = enlargeStream.value) == null ? void 0 : _a.userId)) {
|
|
231
|
-
handleLargeStreamLeave();
|
|
133
|
+
return arrowDirection2;
|
|
134
|
+
});
|
|
135
|
+
const strokePosition = Vue.computed(() => {
|
|
136
|
+
let strokePosition2 = "";
|
|
137
|
+
if (layout.value === render.LAYOUT.TOP_SIDE_LIST) {
|
|
138
|
+
strokePosition2 = "bottom";
|
|
232
139
|
}
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
if (roomStore.remoteStreamList.length === 0) {
|
|
236
|
-
basicStore.setLayout(render.LAYOUT.NINE_EQUAL_POINTS);
|
|
237
|
-
enlargeStream.value = null;
|
|
238
|
-
} else {
|
|
239
|
-
[enlargeStream.value] = roomStore.remoteStreamList;
|
|
140
|
+
if (layout.value === render.LAYOUT.RIGHT_SIDE_LIST) {
|
|
141
|
+
strokePosition2 = "left";
|
|
240
142
|
}
|
|
241
|
-
|
|
242
|
-
TUIRoomEngine.once("ready", () => {
|
|
243
|
-
var _a, _b, _c;
|
|
244
|
-
(_a = roomEngine.instance) == null ? void 0 : _a.on(
|
|
245
|
-
TUIRoomEngine.TUIRoomEvents.onRemoteUserLeaveRoom,
|
|
246
|
-
onRemoteUserLeaveRoom
|
|
247
|
-
);
|
|
248
|
-
(_b = roomEngine.instance) == null ? void 0 : _b.on(TUIRoomEngine.TUIRoomEvents.onSeatListChanged, onSeatListChanged);
|
|
249
|
-
(_c = roomEngine.instance) == null ? void 0 : _c.on(
|
|
250
|
-
TUIRoomEngine.TUIRoomEvents.onUserVideoStateChanged,
|
|
251
|
-
onUserVideoStateChanged
|
|
252
|
-
);
|
|
253
|
-
});
|
|
254
|
-
Vue.onUnmounted(() => {
|
|
255
|
-
var _a, _b, _c;
|
|
256
|
-
(_a = roomEngine.instance) == null ? void 0 : _a.off(
|
|
257
|
-
TUIRoomEngine.TUIRoomEvents.onRemoteUserLeaveRoom,
|
|
258
|
-
onRemoteUserLeaveRoom
|
|
259
|
-
);
|
|
260
|
-
(_b = roomEngine.instance) == null ? void 0 : _b.off(TUIRoomEngine.TUIRoomEvents.onSeatListChanged, onSeatListChanged);
|
|
261
|
-
(_c = roomEngine.instance) == null ? void 0 : _c.off(
|
|
262
|
-
TUIRoomEngine.TUIRoomEvents.onUserVideoStateChanged,
|
|
263
|
-
onUserVideoStateChanged
|
|
264
|
-
);
|
|
143
|
+
return strokePosition2;
|
|
265
144
|
});
|
|
145
|
+
function handleClickIcon() {
|
|
146
|
+
showSideList.value = !showSideList.value;
|
|
147
|
+
}
|
|
266
148
|
return (_ctx, _cache) => {
|
|
267
149
|
return Vue.openBlock(), Vue.createElementBlock("div", {
|
|
268
150
|
id: "streamContainer",
|
|
269
151
|
class: Vue.normalizeClass(streamContainerClass.value)
|
|
270
152
|
}, [
|
|
271
|
-
Vue.
|
|
272
|
-
ref_key: "enlargedContainerRef",
|
|
273
|
-
ref: enlargedContainerRef,
|
|
274
|
-
class: "enlarged-stream-container"
|
|
275
|
-
}, [
|
|
276
|
-
enlargeStream.value ? (Vue.openBlock(), Vue.createBlock(index$1.default, {
|
|
277
|
-
key: 0,
|
|
278
|
-
streamInfo: enlargeStream.value,
|
|
279
|
-
aspectRatio: "16:9",
|
|
280
|
-
isEnlarge: true,
|
|
281
|
-
observerViewInVisible: true
|
|
282
|
-
}, null, 8, ["streamInfo"])) : Vue.createCommentVNode("", true)
|
|
283
|
-
], 512), [
|
|
284
|
-
[Vue.vShow, enlargeStream.value]
|
|
285
|
-
]),
|
|
286
|
-
Vue.createVNode(index$2.default, {
|
|
287
|
-
class: Vue.normalizeClass(["stream-list-container", `${showSideList.value ? "" : "hide-list"}`]),
|
|
288
|
-
streamInfoList: showStreamList.value,
|
|
289
|
-
horizontalCount: horizontalCount.value,
|
|
290
|
-
verticalCount: verticalCount.value,
|
|
291
|
-
aspectRatio: "16:9",
|
|
292
|
-
observerViewInVisible: true,
|
|
293
|
-
onRoomDblclick: handleEnlargeStreamRegion
|
|
294
|
-
}, null, 8, ["class", "streamInfoList", "horizontalCount", "verticalCount"]),
|
|
295
|
-
showIconControl.value && (_ctx.showRoomTool || showSideList.value) ? (Vue.openBlock(), Vue.createBlock(ArrowStroke.default, {
|
|
153
|
+
enlargeStream.value ? (Vue.openBlock(), Vue.createBlock(index_vue_vue_type_script_setup_true_lang.default, {
|
|
296
154
|
key: 0,
|
|
155
|
+
class: "enlarged-stream-container",
|
|
156
|
+
streamInfo: enlargeStream.value
|
|
157
|
+
}, null, 8, ["streamInfo"])) : Vue.createCommentVNode("", true),
|
|
158
|
+
Vue.createVNode(index.default, {
|
|
159
|
+
class: Vue.normalizeClass(["stream-list-container", `${showSideList.value ? "" : "hide-list"}`]),
|
|
160
|
+
maxColumn: maxColumn.value,
|
|
161
|
+
maxRow: maxRow.value,
|
|
162
|
+
excludeStreamInfoList: excludeStreamInfoList.value,
|
|
163
|
+
onStreamViewDblclick: handleStreamViewDblclick
|
|
164
|
+
}, null, 8, ["class", "maxColumn", "maxRow", "excludeStreamInfoList"]),
|
|
165
|
+
isSideListLayout.value && (Vue.unref(showRoomTool) || showSideList.value) ? (Vue.openBlock(), Vue.createBlock(ArrowStroke.default, {
|
|
166
|
+
key: 1,
|
|
297
167
|
class: Vue.normalizeClass([`arrow-stroke-${arrowDirection.value}`]),
|
|
298
168
|
"stroke-position": strokePosition.value,
|
|
299
169
|
"arrow-direction": arrowDirection.value,
|
|
300
170
|
"has-stroke": showSideList.value,
|
|
301
171
|
onClickArrow: handleClickIcon
|
|
302
|
-
}, null, 8, ["class", "stroke-position", "arrow-direction", "has-stroke"])) : Vue.createCommentVNode("", true)
|
|
303
|
-
showTurnPageControl.value && _ctx.showRoomTool ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
|
|
304
|
-
Vue.withDirectives(Vue.createElementVNode("div", {
|
|
305
|
-
class: "turn-page-arrow-container left-container",
|
|
306
|
-
onClick: handleTurnPageLeft
|
|
307
|
-
}, [
|
|
308
|
-
Vue.createVNode(SvgIcon.default, { icon: ArrowStrokeTurnPageIcon.default })
|
|
309
|
-
], 512), [
|
|
310
|
-
[Vue.vShow, showTurnPageLeftArrow.value]
|
|
311
|
-
]),
|
|
312
|
-
Vue.withDirectives(Vue.createElementVNode("div", {
|
|
313
|
-
class: "turn-page-arrow-container right-container",
|
|
314
|
-
onClick: handleTurnPageRight
|
|
315
|
-
}, [
|
|
316
|
-
Vue.createVNode(SvgIcon.default, {
|
|
317
|
-
class: "turn-page-right",
|
|
318
|
-
icon: ArrowStrokeTurnPageIcon.default
|
|
319
|
-
})
|
|
320
|
-
], 512), [
|
|
321
|
-
[Vue.vShow, showTurnPageRightArrow.value]
|
|
322
|
-
])
|
|
323
|
-
])) : Vue.createCommentVNode("", true)
|
|
172
|
+
}, null, 8, ["class", "stroke-position", "arrow-direction", "has-stroke"])) : Vue.createCommentVNode("", true)
|
|
324
173
|
], 2);
|
|
325
174
|
};
|
|
326
175
|
}
|
|
@@ -1,13 +1,6 @@
|
|
|
1
|
-
import { Ref } from 'vue';
|
|
2
1
|
import { StreamInfo } from '../../../stores/room';
|
|
3
2
|
|
|
4
3
|
export default function useStreamContainer(): {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
onUserVoiceVolumeChanged: (eventInfo: {
|
|
8
|
-
userVolumeList: any[];
|
|
9
|
-
}) => void;
|
|
10
|
-
isSameStream: (stream1: StreamInfo | null, stream2: StreamInfo | null) => boolean;
|
|
11
|
-
getStreamKey: (stream: StreamInfo | null) => string;
|
|
12
|
-
t: any;
|
|
4
|
+
isSameStream: (stream1: StreamInfo | null | undefined, stream2: StreamInfo | null | undefined) => boolean;
|
|
5
|
+
getStreamKey: (stream: StreamInfo | null | undefined) => string;
|
|
13
6
|
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
function useStreamContainer() {
|
|
4
|
+
const isSameStream = (stream1, stream2) => getStreamKey(stream1) === getStreamKey(stream2);
|
|
5
|
+
const getStreamKey = (stream) => `${stream == null ? void 0 : stream.userId}_${stream == null ? void 0 : stream.streamType}`;
|
|
6
|
+
return {
|
|
7
|
+
isSameStream,
|
|
8
|
+
getStreamKey
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
exports.default = useStreamContainer;
|
|
@@ -1,15 +1,2 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<
|
|
2
|
-
showRoomTool: boolean;
|
|
3
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
showRoomTool: boolean;
|
|
5
|
-
}>>>, {}, {}>;
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
|
|
6
2
|
export default _default;
|
|
7
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
8
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
9
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
10
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
11
|
-
} : {
|
|
12
|
-
type: import('vue').PropType<T[K]>;
|
|
13
|
-
required: true;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
@@ -3,5 +3,5 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
|
3
3
|
const index_vue_vue_type_script_setup_true_lang = ;/* empty css */
|
|
4
4
|
;/* empty css */
|
|
5
5
|
const _pluginVue_exportHelper = require("../../_virtual/_plugin-vue_export-helper.js");
|
|
6
|
-
const RoomContent = /* @__PURE__ */ _pluginVue_exportHelper.default(index_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-
|
|
6
|
+
const RoomContent = /* @__PURE__ */ _pluginVue_exportHelper.default(index_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-54e0d400"]]);
|
|
7
7
|
exports.default = RoomContent;
|
|
@@ -5,13 +5,10 @@ const index = require("./StreamContainer/index.vue.js");
|
|
|
5
5
|
const _hoisted_1 = { class: "content-container" };
|
|
6
6
|
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
7
7
|
__name: "index",
|
|
8
|
-
props: {
|
|
9
|
-
showRoomTool: { type: Boolean }
|
|
10
|
-
},
|
|
11
8
|
setup(__props) {
|
|
12
9
|
return (_ctx, _cache) => {
|
|
13
10
|
return Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
|
|
14
|
-
Vue.createVNode(index.default
|
|
11
|
+
Vue.createVNode(index.default)
|
|
15
12
|
]);
|
|
16
13
|
};
|
|
17
14
|
}
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2
|
-
"show-overlay": (...args: any[]) => void;
|
|
3
|
-
}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{}>> & {
|
|
4
|
-
"onShow-overlay"?: ((...args: any[]) => any) | undefined;
|
|
5
|
-
}, {}, {}>;
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
|
|
6
2
|
export default _default;
|
|
@@ -3,5 +3,5 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
|
3
3
|
const AIControl_vue_vue_type_script_setup_true_lang = require("./AIControl.vue2.js");
|
|
4
4
|
;/* empty css */
|
|
5
5
|
const _pluginVue_exportHelper = require("../../_virtual/_plugin-vue_export-helper.js");
|
|
6
|
-
const AIControl = /* @__PURE__ */ _pluginVue_exportHelper.default(AIControl_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-
|
|
6
|
+
const AIControl = /* @__PURE__ */ _pluginVue_exportHelper.default(AIControl_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-5bc7c4c4"]]);
|
|
7
7
|
exports.default = AIControl;
|
|
@@ -9,11 +9,12 @@ require("../../services/main.js");
|
|
|
9
9
|
const roomService = require("../../services/roomService.js");
|
|
10
10
|
const index = 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 SvgIcon = require("../common/base/SvgIcon.vue.js");
|
|
17
|
+
const useRoomOverlayHooks = require("../RoomOverlay/useRoomOverlayHooks.js");
|
|
17
18
|
const _hoisted_1 = {
|
|
18
19
|
key: 0,
|
|
19
20
|
class: "more-control-container"
|
|
@@ -26,10 +27,9 @@ const _hoisted_3 = { key: 0 };
|
|
|
26
27
|
const _hoisted_4 = { key: 1 };
|
|
27
28
|
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
28
29
|
__name: "AIControl",
|
|
29
|
-
|
|
30
|
-
|
|
30
|
+
setup(__props) {
|
|
31
|
+
const { toggleOverlayVisibility } = useRoomOverlayHooks.useRoomOverlayHooks();
|
|
31
32
|
const { t } = index.useI18n();
|
|
32
|
-
const emit = __emit;
|
|
33
33
|
const AIControlConfig = roomService.roomService.getComponentConfig("AIControl");
|
|
34
34
|
const { basicStore } = roomService.roomService;
|
|
35
35
|
const isSidebarOpen = Vue.computed(() => basicStore.isSidebarOpen);
|
|
@@ -55,10 +55,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
55
55
|
const openAISubtitles = () => {
|
|
56
56
|
showSubtitles.value = !showSubtitles.value;
|
|
57
57
|
showToolBox.value = false;
|
|
58
|
-
|
|
59
|
-
name: "AISubtitlesOverlay",
|
|
60
|
-
visible: showSubtitles.value
|
|
61
|
-
});
|
|
58
|
+
toggleOverlayVisibility(useRoomOverlayHooks.OverlayMap.AISubtitlesOverlay, showSubtitles.value);
|
|
62
59
|
};
|
|
63
60
|
return (_ctx, _cache) => {
|
|
64
61
|
return Vue.unref(AIControlConfig).visible ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
|
|
@@ -11,10 +11,10 @@ require("../../../../services/main.js");
|
|
|
11
11
|
const roomService = require("../../../../services/roomService.js");
|
|
12
12
|
require("../../../../locales/index.js");
|
|
13
13
|
require("@tencentcloud/tuiroom-engine-electron");
|
|
14
|
+
require("../../../../utils/environment.js");
|
|
14
15
|
require("mitt");
|
|
15
16
|
require("../../../../services/manager/roomActionManager.js");
|
|
16
17
|
require("@tencentcloud/tui-core");
|
|
17
|
-
require("../../../../utils/environment.js");
|
|
18
18
|
const _hoisted_1 = {
|
|
19
19
|
key: 0,
|
|
20
20
|
class: "apply-list"
|
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
|
3
3
|
const Vue = require("vue");
|
|
4
4
|
const pinia = require("pinia");
|
|
5
5
|
const Message = require("../common/base/Message/Message.js");
|
|
6
|
-
const index$
|
|
6
|
+
const index$1 = require("../common/base/Dialog/index.vue.js");
|
|
7
7
|
const room = require("../../stores/room.js");
|
|
8
8
|
const message = require("../../constants/message.js");
|
|
9
9
|
const index = require("../../locales/index.js");
|
|
@@ -13,7 +13,7 @@ const environment = require("../../utils/environment.js");
|
|
|
13
13
|
const Button = require("../common/base/Button.vue.js");
|
|
14
14
|
const AudioMediaControl = require("../common/AudioMediaControl.vue.js");
|
|
15
15
|
const basic = require("../../stores/basic.js");
|
|
16
|
-
const index$
|
|
16
|
+
const index$2 = require("../common/base/MessageBox/index.js");
|
|
17
17
|
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
18
18
|
__name: "AudioControl",
|
|
19
19
|
emits: ["click"],
|
|
@@ -61,7 +61,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
61
61
|
const microphoneList = await ((_b = roomEngine.instance) == null ? void 0 : _b.getMicDevicesList());
|
|
62
62
|
const hasMicrophoneDevice = microphoneList.length > 0;
|
|
63
63
|
if (!hasMicrophoneDevice && !environment.isWeChat) {
|
|
64
|
-
index$
|
|
64
|
+
index$2.default({
|
|
65
65
|
title: t("Note"),
|
|
66
66
|
message: t("Microphone not detected on current device"),
|
|
67
67
|
confirmButtonText: t("Sure")
|
|
@@ -135,7 +135,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
135
135
|
"audio-volume": Vue.unref(userVolumeObj)[Vue.unref(localUser).userId],
|
|
136
136
|
onClick: handleAudioMediaClick
|
|
137
137
|
}, null, 8, ["has-more", "is-muted", "is-disabled", "audio-volume"]),
|
|
138
|
-
Vue.createVNode(index$
|
|
138
|
+
Vue.createVNode(index$1.default, {
|
|
139
139
|
modelValue: showRequestOpenMicDialog.value,
|
|
140
140
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => showRequestOpenMicDialog.value = $event),
|
|
141
141
|
title: Vue.unref(t)("Tips"),
|
|
@@ -3,5 +3,5 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
|
3
3
|
const BasicBeauty_vue_vue_type_script_setup_true_lang = require("./BasicBeauty.vue2.js");
|
|
4
4
|
;/* empty css */
|
|
5
5
|
const _pluginVue_exportHelper = require("../../_virtual/_plugin-vue_export-helper.js");
|
|
6
|
-
const BasicBeauty = /* @__PURE__ */ _pluginVue_exportHelper.default(BasicBeauty_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-
|
|
6
|
+
const BasicBeauty = /* @__PURE__ */ _pluginVue_exportHelper.default(BasicBeauty_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-fe9977d2"]]);
|
|
7
7
|
exports.default = BasicBeauty;
|
|
@@ -9,12 +9,12 @@ const index = require("../../locales/index.js");
|
|
|
9
9
|
require("../../services/main.js");
|
|
10
10
|
const roomService = require("../../services/roomService.js");
|
|
11
11
|
const TUIRoomEngine = require("@tencentcloud/tuiroom-engine-electron");
|
|
12
|
+
const environment = require("../../utils/environment.js");
|
|
13
|
+
const utils = require("../../utils/utils.js");
|
|
12
14
|
require("mitt");
|
|
13
15
|
require("../../services/manager/roomActionManager.js");
|
|
14
16
|
require("@tencentcloud/tui-core");
|
|
15
17
|
const dataReportManager = require("../../services/manager/dataReportManager.js");
|
|
16
|
-
const environment = require("../../utils/environment.js");
|
|
17
|
-
const utils = require("../../utils/utils.js");
|
|
18
18
|
const index$1 = require("../common/base/Dialog/index.vue.js");
|
|
19
19
|
const Button = require("../common/base/Button.vue.js");
|
|
20
20
|
const Slider = require("../common/base/Slider.vue.js");
|
|
@@ -70,7 +70,10 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
70
70
|
const isBeautyStarted = Vue.ref(false);
|
|
71
71
|
const componentConfig = roomService.roomService.componentManager.getComponentConfig("BasicBeauty");
|
|
72
72
|
const isAllowed = Vue.computed(
|
|
73
|
-
() =>
|
|
73
|
+
() => {
|
|
74
|
+
var _a;
|
|
75
|
+
return (_a = roomService.roomService.roomStore.localStream) == null ? void 0 : _a.hasVideoStream;
|
|
76
|
+
}
|
|
74
77
|
);
|
|
75
78
|
Vue.watch(isLocalStreamMirror, async (val) => {
|
|
76
79
|
var _a;
|