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